From 5cffb04e71349d50645ae0165fa86adc3fb06615 Mon Sep 17 00:00:00 2001 From: buqiyuan Date: Thu, 22 Feb 2024 12:52:46 +0800 Subject: [PATCH] Update ghPages c0ebf33b5cef701a735a6b6b36755d3b138c0d48 --- .nojekyll | 0 assets/404-BxhekOaj.gif | Bin 0 -> 164227 bytes assets/404-ZIz56YbR.js | 1 + assets/404-dkXHq3Yy.css | 1 + assets/ApiSelect-L98H8cuO.css | 1 + ...ue_type_script_setup_true_lang-w2BFpwRk.js | 13 + assets/AvatarUpload-MsUMsvZC.js | 1 + ...ue_type_script_setup_true_lang-7h8-6bHo.js | 1 + assets/DeptTree-5Gz_7g65.css | 1 + assets/DeptTree-FJ_q99Vm.js | 1 + ...ue_type_script_setup_true_lang-L3JttlNa.js | 1 + assets/about-BDsUscU1.js | 8 + assets/analysis-zckrtaDd.svg | 1 + assets/button-9rgB6uRt.js | 1 + assets/columns-kpi6AGjg.js | 1 + assets/columns-obOP2Awr.js | 1 + assets/common-fvKDkUSQ.js | 1 + assets/createContextMenu-BwbhFCrW.js | 1 + assets/createContextMenu-YQzdSkq1.css | 1 + assets/custom-modal-UPq9b1pY.js | 1 + assets/dateUtil-15Jj70TU.js | 1 + assets/dynamic-table-0dDQM8_O.js | 110 +++ assets/dynamic-table-Y7KdWP5u.css | 1 + assets/en-J42figcO.js | 1 + assets/file-operate-button-list-RqzdcJuB.js | 1 + ...ue_type_script_setup_true_lang-sQvBjGwI.js | 1 + assets/file-preview-drawer-2xNH53ZO.js | 1 + ...ue_type_script_setup_true_lang-3_3G3Mxc.js | 1 + assets/file-upload-drawer-LlU4Kwn3.js | 1 + ...ue_type_script_setup_true_lang-83vk-jkp.js | 1 + assets/hero-Ph5bBoEr.js | 1 + assets/heroInfo-i73j_Vtj.js | 1 + assets/heroInfo-zp_7FV9w.css | 1 + assets/index--KWdWa89.js | 1 + assets/index-0pSooDdm.js | 1 + assets/index-3-6D8FcC.css | 1 + assets/index-8aiSs1D1.css | 1 + assets/index-A0KlD18X.js | 1 + assets/index-ATHqVlnW.js | 1 + assets/index-CfOQPmr1.css | 1 + assets/index-FiLqFnhx.js | 1 + assets/index-HRf9fHDM.js | 1 + assets/index-K1bSQcJK.js | 1 + assets/index-LRBzXtFF.js | 1 + assets/index-L_Kotna_.js | 1 + assets/index-LnaoMhdy.css | 1 + assets/index-NT0oDQzh.js | 1 + assets/index-PLq5aWFp.js | 1 + assets/index-RIWuwKgT.js | 1 + assets/index-RoB4PfEz.css | 1 + assets/index-TT1TVQwR.js | 80 ++ assets/index-V4TCvajh.js | 1 + assets/index-XKpDM12c.css | 1 + assets/index-XMdBM6P7.js | 1 + assets/index-XNNgEqZY.js | 1 + assets/index-Xpl1_HvX.css | 1 + assets/index-_D-39jgH.js | 1 + assets/index-aIlgy7Sj.js | 1 + assets/index-awA5xHyt.js | 265 +++++ assets/index-bZXEQ5I-.js | 1 + assets/index-gSFE5Rg9.js | 1 + assets/index-hFgWvCpT.css | 1 + assets/index-i93C4tM3.js | 1 + assets/index-jKO8Mi8o.js | 1 + assets/index-k4LDr97q.js | 1 + assets/index-kXf4KCLG.js | 1 + assets/index-lUu1sW0w.js | 1 + assets/index-o7qGVf84.js | 1 + assets/index-tLNSoxcf.css | 1 + assets/index-tlCQe_9C.js | 1 + assets/index-uYUabbTI.js | 1 + assets/index-vWcKVmzX.css | 1 + assets/index-veXEcSSl.js | 1 + assets/index-vw0XnvgA.js | 1 + assets/index-w_awVge1.css | 1 + assets/index-xsdEuKcx.css | 1 + assets/index-zflIvi3O.js | 1 + assets/index-zjj_i2Xu.js | 39 + ...ue_vue_type_style_index_0_lang-35qbmpIP.js | 1 + assets/input-number-range-KFOYjwqy.js | 1 + ...ue_type_script_setup_true_lang-im8GB1mJ.js | 1 + assets/login-T7DjMM4M.svg | 68 ++ assets/logo-UolfizLd.png | Bin 0 -> 60745 bytes assets/logo-b1EwzE33.js | 1 + assets/manage-nejiwtkg.js | 1 + assets/overview-NMVLNXvP.css | 1 + assets/overview-cQJ9PAJy.js | 53 + assets/overview-header-item-DQlowkAh.css | 1 + assets/overview-header-item-ipNjrsvZ.js | 1 + assets/route-one--MI9JUoE.js | 1 + assets/route-three-23-ByCpt.js | 1 + assets/route-two-DONobNfh.js | 1 + ...ue_type_script_setup_true_lang-iMSwIqZ0.js | 1 + assets/settings-54rfKkFA.js | 1 + assets/sortable.esm-6LN84u1A.js | 7 + assets/tabsView-FTMw9DEO.js | 1 + assets/tinymce.min-Syb_iDk-.js | 4 + assets/upload-modal-5oZ-dbcR.js | 1 + ...ue_type_script_setup_true_lang-n-W84fK3.js | 1 + assets/useForm-mY11uE7b.js | 1 + assets/useFormModal-Z6rDe6Nh.js | 1 + assets/useModal-L2aP7aoQ.js | 1 + assets/vendor-PZoYaLWz.js | 473 +++++++++ assets/vendor-pv9RWEag.css | 1 + assets/zh_CN-9mWnpMiF.js | 428 ++++++++ assets/zh_CN-FCtWrEP-.js | 1 + favicon.ico | Bin 0 -> 4286 bytes iconfont.js | 1 + index.html | 17 + mockServiceWorker.js | 912 ++++++++++++++++++ 110 files changed, 2569 insertions(+) create mode 100644 .nojekyll create mode 100644 assets/404-BxhekOaj.gif create mode 100644 assets/404-ZIz56YbR.js create mode 100644 assets/404-dkXHq3Yy.css create mode 100644 assets/ApiSelect-L98H8cuO.css create mode 100644 assets/ApiSelect.vue_vue_type_script_setup_true_lang-w2BFpwRk.js create mode 100644 assets/AvatarUpload-MsUMsvZC.js create mode 100644 assets/AvatarUpload.vue_vue_type_script_setup_true_lang-7h8-6bHo.js create mode 100644 assets/DeptTree-5Gz_7g65.css create mode 100644 assets/DeptTree-FJ_q99Vm.js create mode 100644 assets/Icon.vue_vue_type_script_setup_true_lang-L3JttlNa.js create mode 100644 assets/about-BDsUscU1.js create mode 100644 assets/analysis-zckrtaDd.svg create mode 100644 assets/button-9rgB6uRt.js create mode 100644 assets/columns-kpi6AGjg.js create mode 100644 assets/columns-obOP2Awr.js create mode 100644 assets/common-fvKDkUSQ.js create mode 100644 assets/createContextMenu-BwbhFCrW.js create mode 100644 assets/createContextMenu-YQzdSkq1.css create mode 100644 assets/custom-modal-UPq9b1pY.js create mode 100644 assets/dateUtil-15Jj70TU.js create mode 100644 assets/dynamic-table-0dDQM8_O.js create mode 100644 assets/dynamic-table-Y7KdWP5u.css create mode 100644 assets/en-J42figcO.js create mode 100644 assets/file-operate-button-list-RqzdcJuB.js create mode 100644 assets/file-operate-button-list.vue_vue_type_script_setup_true_lang-sQvBjGwI.js create mode 100644 assets/file-preview-drawer-2xNH53ZO.js create mode 100644 assets/file-preview-drawer.vue_vue_type_script_setup_true_lang-3_3G3Mxc.js create mode 100644 assets/file-upload-drawer-LlU4Kwn3.js create mode 100644 assets/file-upload-drawer.vue_vue_type_script_setup_true_lang-83vk-jkp.js create mode 100644 assets/hero-Ph5bBoEr.js create mode 100644 assets/heroInfo-i73j_Vtj.js create mode 100644 assets/heroInfo-zp_7FV9w.css create mode 100644 assets/index--KWdWa89.js create mode 100644 assets/index-0pSooDdm.js create mode 100644 assets/index-3-6D8FcC.css create mode 100644 assets/index-8aiSs1D1.css create mode 100644 assets/index-A0KlD18X.js create mode 100644 assets/index-ATHqVlnW.js create mode 100644 assets/index-CfOQPmr1.css create mode 100644 assets/index-FiLqFnhx.js create mode 100644 assets/index-HRf9fHDM.js create mode 100644 assets/index-K1bSQcJK.js create mode 100644 assets/index-LRBzXtFF.js create mode 100644 assets/index-L_Kotna_.js create mode 100644 assets/index-LnaoMhdy.css create mode 100644 assets/index-NT0oDQzh.js create mode 100644 assets/index-PLq5aWFp.js create mode 100644 assets/index-RIWuwKgT.js create mode 100644 assets/index-RoB4PfEz.css create mode 100644 assets/index-TT1TVQwR.js create mode 100644 assets/index-V4TCvajh.js create mode 100644 assets/index-XKpDM12c.css create mode 100644 assets/index-XMdBM6P7.js create mode 100644 assets/index-XNNgEqZY.js create mode 100644 assets/index-Xpl1_HvX.css create mode 100644 assets/index-_D-39jgH.js create mode 100644 assets/index-aIlgy7Sj.js create mode 100644 assets/index-awA5xHyt.js create mode 100644 assets/index-bZXEQ5I-.js create mode 100644 assets/index-gSFE5Rg9.js create mode 100644 assets/index-hFgWvCpT.css create mode 100644 assets/index-i93C4tM3.js create mode 100644 assets/index-jKO8Mi8o.js create mode 100644 assets/index-k4LDr97q.js create mode 100644 assets/index-kXf4KCLG.js create mode 100644 assets/index-lUu1sW0w.js create mode 100644 assets/index-o7qGVf84.js create mode 100644 assets/index-tLNSoxcf.css create mode 100644 assets/index-tlCQe_9C.js create mode 100644 assets/index-uYUabbTI.js create mode 100644 assets/index-vWcKVmzX.css create mode 100644 assets/index-veXEcSSl.js create mode 100644 assets/index-vw0XnvgA.js create mode 100644 assets/index-w_awVge1.css create mode 100644 assets/index-xsdEuKcx.css create mode 100644 assets/index-zflIvi3O.js create mode 100644 assets/index-zjj_i2Xu.js create mode 100644 assets/index.vue_vue_type_style_index_0_lang-35qbmpIP.js create mode 100644 assets/input-number-range-KFOYjwqy.js create mode 100644 assets/input-number-range.vue_vue_type_script_setup_true_lang-im8GB1mJ.js create mode 100644 assets/login-T7DjMM4M.svg create mode 100644 assets/logo-UolfizLd.png create mode 100644 assets/logo-b1EwzE33.js create mode 100644 assets/manage-nejiwtkg.js create mode 100644 assets/overview-NMVLNXvP.css create mode 100644 assets/overview-cQJ9PAJy.js create mode 100644 assets/overview-header-item-DQlowkAh.css create mode 100644 assets/overview-header-item-ipNjrsvZ.js create mode 100644 assets/route-one--MI9JUoE.js create mode 100644 assets/route-three-23-ByCpt.js create mode 100644 assets/route-two-DONobNfh.js create mode 100644 assets/schema-form.vue_vue_type_script_setup_true_lang-iMSwIqZ0.js create mode 100644 assets/settings-54rfKkFA.js create mode 100644 assets/sortable.esm-6LN84u1A.js create mode 100644 assets/tabsView-FTMw9DEO.js create mode 100644 assets/tinymce.min-Syb_iDk-.js create mode 100644 assets/upload-modal-5oZ-dbcR.js create mode 100644 assets/upload-modal.vue_vue_type_script_setup_true_lang-n-W84fK3.js create mode 100644 assets/useForm-mY11uE7b.js create mode 100644 assets/useFormModal-Z6rDe6Nh.js create mode 100644 assets/useModal-L2aP7aoQ.js create mode 100644 assets/vendor-PZoYaLWz.js create mode 100644 assets/vendor-pv9RWEag.css create mode 100644 assets/zh_CN-9mWnpMiF.js create mode 100644 assets/zh_CN-FCtWrEP-.js create mode 100644 favicon.ico create mode 100644 iconfont.js create mode 100644 index.html create mode 100644 mockServiceWorker.js diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 000000000..e69de29bb diff --git a/assets/404-BxhekOaj.gif b/assets/404-BxhekOaj.gif new file mode 100644 index 0000000000000000000000000000000000000000..cd6e0d9433421b3f29d0ec0c40f755e354728000 GIT binary patch literal 164227 zcmeFZWmH>j*Dkt}AW4u?O0nV^CJJ??B{WLN%@&ckY+J4b9iZvx<3D_n2&|&Z&h4vq*>(t`hn@MF%=w~&6z}y zqP(U8LV`?U5=a3N2|;mT9wtG40Z~4FVLkx~UI8K0^+%YW=^qEn^=Qs!7AS2+rGJcd zeI?Ce>FVl;;^T97cSpJlAsw7wUAL8x;NutM6BOjVuEFc#Y42*{!E5ir`p+H|&0S2L ztsGsg9PF9?>e1w-!)sS*mg|}ReF=7s|LWG>1^Kt-AWa?Y_&iJ;`2>*se=X^s6*V;e z->cf${j0W%tG4-n&G&!o*yV|*qdA|pxr@VVXH)a*>a2ea<%m*nHaBr~aDL+8VEfOz zsAcKk>fmDO;K-z)@Yh`vL5eUTG)zpb?Efm}`dd2<4U~$#i>ryfskw@xG|P2QNGmHd zl!SnSh`fT5khrj-kbuB_QF#SHMF}|}5d{S$1u-QFrGK_nbTEBwXKwHM&$ed&)mHdF zw*3ndc8=F0E1El7xtW_OIXl=f{cY(etN%O~f&bXwKiZo8=ebjScm6 zwKdgMmG3Ib%Sua%iwX^&K2DM^%sxR|Jju#lhtKOd5p=PoxFf|G-tjg^I&iIIVx?hY*t zH5KJ;id*D2$!?I65EH>+P(lKHJO~&B0L+(o_z-{*-~q0Wzw8o#kIUhVHnYmIEUUEL z>2%~7cePvas66mKz+rP7m3cl>P=r9bpJ-F`m$<6F(|e{Ih=<+t0+IKfs3OzHH{*M1 zNSYT8#i>kGz8+lsvLgxoiE{v;T3$iHA@1Jj2sA+YIy5#eUJg!49+`?JH%-XO&OzFw zq!l`o2IiKPXNMP6`MFlq)dy8pH~V86+Bh3h@(M9LZkB{V|mw?>p%0QGnHXw(N zY&W=islbdV0OY7VIe`tGo`3qyBN!|l*}U&WXQjlfYz|e%m9^I%upwc0O*Q>Crzq4@ z#lt2lO08awWy`u9o2}j|nWUEw5k(CPKhQ4p2^Y=eUg3HoE>>#&cJg>Tui`~-8UNPn zN2)cJk34wVl+EUv*ko!+PH))jl|SpAd#mQQpHBSd-0<`cfbPdywvGJ=nb{Zb0TGKf zmd}*84MiVi;W5z&=@U99k{;VWlQYjsR(Un{^|^??nQCea=}2(#?rgota{6I%ywPw8+ZNrUMfmMG0Dd(DLv)qSymlC zNkBb{VvN(m=<|z{9U~(T;om9Mdz_2t%lBXAd@1~t7IFT>t(dN z$fY8eJ=W>1%33TESv4o*QXGQ`(HSmTkBT$hk5xNg6uiMO9Rr2vi6YE&o)&p`!!{ISv$d06>ay_BeL5+FPHCjZk_G$V&!#>`CD3bO89yR zguEzwWysR4D{mi!AbYmm?qI#CzsPpGN090BhRm{jvl(z~d?85ES4J#Q$t)yZ^MPLY z>%pMVhGT7v*v9bEfYi@2{x-Rl94B{Cg^UybL=KIkDUjuyE1Y!Th21;jUj4-}opT6%CyY^G5hl}1ZwL%9# zMy|{F@BO!;`yP9$_6~n`+T91eVcjvhe|}!PpuOkUIc|sxem0y9G^}+n@H+Tlcj%`G z24%M!2A$x>03I;_BIq+$2zt&05lgB3-LgS{+ZYWZ#-fSP5g?f3b1=_E$8C_YI$dP$ zH&QG;oJJ8uwwMa44`zlW@Pc>)9}<`#dRg@B!NQS@_|Cebw+MzqeACes#p3r_^#pvi zD{f2AuXK`%$Ep!Gvy4LlQJjDtsVyEq>$pb>y~zF!aAqw_`+ZXo-1jKpr7%Ffm4cA$ zuK{^0&M>Y~4=Osr!d(Mb7&mm4@6Fd>3X zB=^V+(L=ZWP{0{i`{dRr$M|XKBU_&*x&)&|_XoJNlWT-@rfjY9$hoH#+0i*#s$0S; zdegT>H9)BQMKU&CQ|~}e3utazfx}Va-kL6jv+7tiLU)bWp1Ok8KCWK>?bbp~ts;um zvYkdxl>73HWah$kjR%;|=T8AY7P9hhh6;59nHh% z$fb0gY|KHVydSWI*6+aePxTdFsDY>V%d3$HJNv?908-tEPc?Jb;SvA0u17i~w`?mv zg%g1?uH1}pDQk8wVv^A-J+dIGlpGMb?EG<>dmve}>`QzbnO3A2{#R)R>pjPhXB=nl zN7C~y#fN&6@6S582Oaip)d=X;54wQ;3Lr`?XbLIb&A)koE>{bjC3Wl~L&~Y+H$OSp z&HFRAbXpu z&V2$J!aE$bo66p1cl4hX$=cV7W~q-}s-_YW=m_>8yv>;dbw9}L)!wB0rcDr$3TMeE z0u_0!bLr>2$M7K2zj_BjdoIJ@n`7T@@!(Vbq;90h5XxqC0>S>YK-A39;e^se(-z5- z<&HSvf(Ygo1dYm#|)bu^7x~5>u4l9 z#?JE2PckM3W-qF@d2nN6@V9-p#&iSa*X3Wq_50nAp20Q2DKrWoj3)-fTE0aU{sB@5$EFHtjC(<5xetF&*)v&r1y;=_LN zC3CBZF%TgVmz%@NK1d~fFm4FUMlAm5X5?J%)&4a{#dJCIP!g!P_m&#CcNO8F{zK09 z_ij4l`q!$CQ4`?pVZ`HK{d~B~4cx(LfY0yl*S;G!h5me)#^JUte1k%KalD6buQs$I zUs3)3@&=eePjH~U9-w)coC!Cz%&4e|Jlt+?py@2V$(zA@&-@@*-~J}Q6GDJQ3&1z_ zKYiux-|xe+sl}%Ih9~9ihX+o8r8lV+@Oqul{oWUAiJZWz(}2e}1MhJL%{&Vv7YiJG5XAK=NE{t>y6R2W9rVWC$E?}u z^gNjSRj?SD|84ProQ`iUyeM;zO=iw8MaEeKRq;rNX)w{@AhB=k^;hMst5pUc!eXN^RF+ zNqR)!`>AyH(&CE4Lqu+}^Nr{bCsf*h2 z2)i+%Cbi;u7XY2=3J1=Fv-!n*uZsaL+)-?AsQ59bh;S1>3{t@pp8D3AHAWPOU72~i zi4ddoj2%jj9UF+fACHcbi-q2b6V>IT6Mr`L1;hapASfm0ZsFqz^A6?5*Zw&jf@UQ8GOV_w`$><~;$eCDCz z`R412H#{e?MevScD#Dn{!`m{^c_o$)o#gHu?N*aSKau2po^;wI?YsqcRbfwnCOV(^ zI*TWj4q%Y)A+ljfdQd8lOJ5LK5Uw}{YMMO%AQ_=T8*7y^(u8sDP2^_6SY9SOOr~bh zMC3ddrF{;$QJSa#OAVSugV4_Shk+!Psa=J^me1oQYLc!HaqGqDKYP+OY0_&;qkANL z`$~C>B>XhF=&>ysBU}2BGzodBl+!Ai8|Py0R3HRo39~hs-@;;LN+Hj!;$p(6ZAz2Z ztX#wEvTDua(!=iTU1qJ*q)8dajfX|u56hOm6vL@MhtNIGKD*2Y!o8EGv$-ZxRyNZg zIAz1i-q7TT>svq;+2c2e! zE}vH#cWa*i29Oq{$Kh`(lV(be2Qo@ToX*^ZsHW%yQ!ZCi$$4_x$r6o1sFCJEcL;z54IKUF_NJ&qe#iN&@vtf~~y?`N1LmMP&K%&uOU*B|ssl(geNIWHGP?N;axY z9-WpUr0`Ji|DUPartv)m0qPC=1Qw^!n38BI*_uewDMNHvKp`Z zb;G4xX~NBA<$b8K_PKJMC%pC642BXB@2@HvUg>s*^NewB#v> zSm&z*yqnXj{8eNusQ9i6AGE|>DWy=kUiPl`zPY&zPuG2UvSA9t+0Y}}s?;xFmim%8 zZNtqU??mq#?9rB}^j7`WtHfP_mqg`-IP8}>3Pk$#oBa*h6RMunRFV9wnY6?&P+=cb zp<^JbMU;bX>{z%9a&o5EGM3B8S93I!CFwxw5a}g4)f|4cRUany}?u;WLbU%yQzx^dj7|YKzC|1y4V?FHM_0qRDt+<7#)-VDiD;G(E;V z-R)I6#_Gjun-{TmJB_a>6B%in=nfn2S~basG>Mls@eedFTJr1KNWQkQpP{f{t9pn`G|JlEr@tFWH~wCR z_;9C6!%g>)wj&AE;rqDbvs&rQU9q{gj*z(y^OKIn7bSsT^~OI`ue~U}n{J}gFSOm( z89&!aw*HLhZr6L&E;5dnM-g2?WnDPfStoR*t8crNpTi){#;KIZ7+k>%Yj1hh|MbQ$ z2cit)UXkv7oo-l?wsA!F2R92uJs3l~834~*{Mj+Ze zkf+}76)^9gNR{Y}yq8#f&tLuiB{81aFR+DozYL}yS>10N`91*k-kiAK>07@`#d|mJ z0cTrp*NXl(BLk?#eqLa}-y0G*0uJ^b6u}JMtsab&f<#wuD`$LnWE`}$uzO7 zKEYu;@jY^aJ!fKOWP)vRVw!l8m1%NJeUim^awu|=A!qXauhEhAv9riACi+np>8WtN zsn6b1h&>S9-sEw`)Yp+I#P2C#=_yf?ab69u1h3f9uVHBe(R=TPlo756MSelgnRThRWfsGpKc2E_7jqKdd++K=kBNN_D|0YKIsmBGRXYIq48PL z?(>}Br`X-kLxG>2GZBuXgRj4X+}{p*c6{;w_Jx(VU;uxH0sX=uZG`1qgAsq`HlY6H zVi%QasWHAJHOoLYJ0|5HBn?pF%|MJ*@wDo+DrOn@=d3bg4|bF@I-qUf8D1?l;QIC2PPW&j^l#XGod=TKp;iOXjftY%UJYdWyY z&vpzon`^dz1aQZ7R8EpLK>lChM$?$mMlU!*!{w zmBW5IO2-YqtPRU789y0rbk?R#<*NE0%8;=YOx9+^7~*a8#u%6&nPF4aa8tu+Gn;fP zHJS^T{%3t>d8;sMBlpiOI2q_2=@$1qTWRMy+-0ZEex1m%6Uw~P#<007#C>#gvw@T? zhGDl|W@8E19nRVqU|=&^bpL3$=X1WxYrpsTPs^Jz{Xrf=vk&3pYtZCd zH9m(#j7Q`#2OaYi%GE2kvacCqw+cy_gxNt{+U%pAB(8j2X{f-a9ihI^oJKLm25%_Gf&$Kki_m3e4m z1QOr-VU&Rh1eQwu%@q%~O>%57OLFXElwgJBd($d=WafhxX&M z^?E_>>>n1+Md@h?P*{Y=TSt<+ddnrG8!%8LzXqUb8HMhYIc@+=K~bd$0~{KbTGc4X zMH){Y+tg`85fmQM^_~@88s5;~$w1oEMlsSkSX4J%H8znjG?T&bJ-v0lu)C^nHGv_z z60^0vba1R(^6|uf{OlZk*+lshJu`bnSRIXhhDTJ^vi^{nJ{Ure{H6n!l@EJ`aIOs% zi0ap%lXRweMU<(``@;~2PyM=fEfiogV3BBkls3X6Ac4>CIjt=6nE&?aNL+5_Xzl}T zdp#}+t~g>)Qmc#VL-~&?>ZKOBjv|v|`Fb%-n{Wh>U9E?SEi|QMnJduQtGByyv(Xo^ zV4rwrBZi&hakaMS*dHpbd^w63OXuW|y7$(YB_81#AEjqh@>a(aK=_U8Aw~mXnQ%e6?)N zj@BPLGj%o#V;ybh2aCNCj1N28FHbh7%ZE@CwargPg|3SkOHEQhisSuTemib|Hl zc^aXH0my#DN~G}T&t8s_ z$}g_u+5QL4*vfSiR(?`MybQWa8#8F8UbxB3Mviucqgm)E6P-WodEMuZV1;8;*h%-? zNA1&7QW2Hg)U5{|h2bpsbhsEi{R0Hmq2@0DC_FGK+L*!HhWvR^39 zloFf)NAGgnc`bS8>f7>^Hjt*!u_|QEYo#5p*<@L}8N4x7!kPQ>so>L>)9;KbZ^9iZ zc+$(=2UW>leU7N9mwMm$`#6c@xwp$#1YnW;Dzn||#@4CxIp1O`K;ZDm=HgHt79M-Z zv*uA@R+|{5lqKipViA^N;(GQgb#ZgLK&{+xw6)>?Pn;=JFGizN*|C(U+v17l&E*LGzvIkuB}#nV(m&|F7BxKtMZi^Xlb+aWHCDNQ z&^YWq$JT1R76aa@1D3W)Nw)uqcQ$jZ`zol9Uzkql{L(}j_7;?n@)KUB^-}FN)arkbfexg`?@ZqCaiMmNGVMY zx2h`?x&IkGf^iwy!ixzKW^P&lL1dUh`bxZB)P>PVv{76gP#(0iG1cOFv{nm8J z1ELe~<6X%W!4$Mf>CN&0hwSdxcs6032yRk_xU&9b&sQ=ZRI8zfryytlZ9 zYs-@~abv5$;M#IO-iLsDGbfPJdNVhaqii!TQgnMWAKMMvDoA*l_sYeC<>tTnX>lMb*z@XI%-RU4 zo)-+S_8L7?mHBo6gxM&|X=Mtm$^7FUTCMADp;T8}Psp?JYtc8wBNEG(=F#<@# zld`f?Vhz(Xvx_24Q>_b%-vuBs?f^w)gGY6UJBYlnvD1Kovc&@w-!<^CI?oQE92{3? zaP)7R_>3~`_X5>@nHTBq_4~B2##J5pZESs)tu!iq@0hXs!`J1Ld1QUm_T}2<)%%~t z4?$qnZ}m65MF|#i075D~8{M!B#bEeul#9pYXX>bP)Jwe7fjng+#=AIYDbMhi_d(Bu+XqGr0Pn z;vBe9+~s`g3%#cGxTjN=79@Q~TC2pSta7I{Ujx`-R4N-)dvlAxhJyqK&qx(a?#RC%;s zTG(9}?e=zGRgTZ$R-(zo)fT$FvZ;)=?x6ELnV zC|AFQzeD7-Z1@BOI}ik6n;NQ#?&DL*9{P1!Jk`JTlcx?2VEBFkX|B_TW=?~tjt zhjx0BF>St~T3B)kmn)CO;zvCJTo~>}XbIoZ@Rh|*8}m;n56M5!IG|O)sr;ZKh#Von zdeY_m_+sR$QO^Vs>JehFRtrC)dPU?c%&I12*YnK?p#ome`qrU5Z;sOln`Kp(4qXgr zr>~pNY9{ociX@VEYvQW!fPPL<;5nmJb&vMPeTpJOwn7tc^mxues%2dm-c{vX(3?EY zLvI<7kx3H8pH#Q)x)*c~;xoO;l_WtkR`nimk8~=HQBW=5pKu-i_JWO7$x6e&l;^f^ zMsIXV!)DvEo$ z@CzRgdKL-M$$K+%g8#cht`(QdgjPy74oG;_tn)EieOO^(%N7F=S27#Z^E2BLV}rhy zVw}luf$$8QX(+GBJo{o1>Zr_05S;^NufPL6#K_a$#^6cO1(Irz_1&hA#e*xeFc6&e z-4qs3oOmopVKoTmuFL`JSE%Ec>4I?~L9uu+G8&o(Iq17nmZ3ry$#)Vl=+JjJ4X1ui zl0To|hm6D$yw+c&ckt++B6h@ZmH=DF;@}jyMer{n5E&6H9WV0e7EdzaiqUlkD4LKXxAm1(>_qnPgYUSycx*wvy-eoTukEtVxI(+W}js7l$8O(|Wbojm-p2=$}%l8Ng{vFfKXy&q+|qh&fx z!=Ea>ev})Nl zC?R{vp+xq?_0}tA&p=X`F+PTk_hYq(`ucO;S>DQWp0_XbH? zWge+f-|pbz?g<2T^qE#b-xOuPA9;lQFhtWf`cYB`I|NL8`j*Dj^I-1yP>ZPI|3onQr>+xSj4CXkx%PO zCLpMAVu`Y=Vu1qXM{FQmmTeMwTx;Tpo`2wT;{5(7VNcJ&P4ZV`&&f49QwL5swTR@^ z=!MIsS!LbS6=n-Ig}7Cp1k>pivOkVNmAsHsky50v)m1lGDN*py*;Q<)8ENe3+g{N! zcWKd9roEpDY4POaYQ}%2v-q46!S%ycw-~?e$-033ZgZqrW5QEAG8c)HSx?3bFHP}> z6PD$L55Ee%WfdX%T=u40=8>11?No!o!u)9ZbM$D3uRkfnb`v$w7^Yx-2)amsU>^S_}tJT5v-> zZ*dj=APr*{BV$k;Ij)YggmwrtO&)4fk?a^@SM({G2%m&l_Ieu-RlB=veY-lg3{Fga2!c>e@JBqq zY$#urhS6>);FI;GVF}Un+Hy?nXq$)rDlZogp_l%({6vSE>bGL*lC)}!gNRF<81N$b zooQffks)24haSgwq>^kyL02+)&eQ>h5g{Wacj9D6;RmrxAIw&VPZ$^(dz^ha$ujd` z4|YJHi69>O2bG!;em|In6?(7?kKC!kd{MoVKUj?poB&VrgAupSCK>NeS#M$Y2tar< z^kScs(_cU!-aAe;3*2mWgQM#Nl_7*yw|xA+#Sk0z13atm9?WR$n268WYZ*e;&Cpq% zI691iwqJ*thhfXDq_0e^Fs~D|I73{>5en9no`ZrZZrD51q1E1FyGM5CPd54$=-Wsi z7ccvLs&C(agBTrmMhQ%b#beh?5r7=utdP)8_Ale)GJG(+stNp(;<#T2^=w*i#m39Q zSEnH(2Rwg*5u~i31DA{&sA?%GGO`y`cT>2DtE;DPYe~YH7!V&h!T6dm9?Hl-5SFEz z?sYZZnxx_t#Va&n*?Is+GXP&=x`%t46G&y|2S1vSr>r&9ntRA7#-0&6^(B5=<^yEgFQlNrn6>xbUI75>0CB_$WQhf%~GcRNP1 zBJ!EtLX~a}I(R>#&Y~JOLo-A(2impE(J$#j&ekSjgwrfkkG1X#jvd9Y$#J!AqH`8@9%Tr&^<(Hi@WFt8zu5Pp-Q#frGZ=&Nhy@hIUC zZBmIe+15_~#s=c=RT*d{TadFkXUlvsQQ34NyYy}3tv z@cM#&#aG<0@TsI$*T^5&C)Z{hggx#ahM zlis_`FAe5I+1c0Zo9ytNguElDP^IGu|fYOcP z&NY`DLRKCTc#rNg{eR^g%%;moyCgZeZe@NZ~tsf>T(-6Rlu{@+obmN3*rXdhd=S+CL{8M0fZH2vo`R-zKVgsA3o*9eyJaV%CqLY9ddJ9`xQUPX z==5nQkyqh$@$4)ChnHl?r#rHzYZFCFiA8cK5&4fC%2jTEQz;z*?|y?5to?ijY3L=1 zRNNtf5sHlOkMafKYBFlXV%{6?lnp>B7IhA^gziWMzS;1x{B^>1OGaH+Gb`ruL<$vZ zydX37=0c)2BE_&v5`HM^;cnz>gombchU_zCAnS;dspxptN<(oM4z66cjK$eR-$q;3fvLCd)olF=>JAl_Z+A0q;$oQ96$RE!QRkcP} zTi2wY4inXcO1}r(mgvwNx8V9fH;(X&j@HLIPB!db(e^BDbg`hmF#!Lf^m?DEhyEvR zwIEv#ugMN26&uIVSX&t37OlK2=UB^~2OY7{bpp_0EKI3qxqoS|^LPKvrLIq~aA((k=mymXo6WoDg&0))xU>-Rp0%Nw;0*B z?8=Fm*7ksfq&rKP^xJC6<2DMYF`oJh*7nUp9{2hqHd!$YVOvXx-_W)91%_>Rt3UXJ zf?9o{KR*|cElM5@PLqp5h@lKH2pOBBlnYE;^7oxj@j&;FcDYLQiMK4!0G%2imIY%b ze0t8_*B&&$i5-2vUhJHh0H5wQ-!t9e$hfBj-hSZ+o=9dp8kGf2#v3*5Ke$Kn1dX<> zrH4^WwBK;N@s_Ma7V?;^OHIHy;O+z!o`x15EN$^k>&rV_r^V%fj6>ifmt5vw$x`I{ zK%j}NG07vc#%YnI=kSc%SN1b_a6QKmaWocR-2-grcOy)Qi3!jDf&5Lpo8h`6d6Z3q z?~z_d5yr&%)C0=>IKi}|NK5s6+Ao9sqOC_!j*4U8yq~Q@kN(CD?p@f>;XTg}Jj8Av%WQSCJ&|!n&>}-28fd<<{DS~9{Oi#By z+^8mx7`Ns4qDZM^PO2TRhM*JeP*%6vo=oSI<+#%XyXKOK$U()A-gUDj& z;BzIn;m7z}?Hf#cDg*l4kE1{TDwZWwo$wE?NjBXrlA{`)2u7Xel0}s$a;i>->-~*O zXdq>e_*h8l^G!xxF}xpA@)>6OZ_x(fb+qyGe`g5(e=oIe%oIRfzqgA zln0mSRj~vf4PEP8QpxNJ9bDMW`qn%50cQ}f++O+h;BIoyk!C-=tA~Gpr56RcCW!pS zb$&tBi!}6MI65XdMOen$2uQk)HdtccW@hJ=M5h-T`TCVsyCLIjoG5CVZIB^u;gl^{ zBN?bW2;|Z|q|sK<05lCxqF%;(gip}%`WiBeDeRYxX$@<^gS@YvCmi+-QRbx zk6ih7@ngno`}6Kk>|U$ch#c18h+$MRWfWi9bB$W5?E!yYpBV*gyDju?{?{k587WY{@qm$Egj~ zdnF&MJ|?#`F3%YIBSCB%@baN2O}_KD!d0#z)hK){Pt-BFX-1p1%#uWX-(=An>-mhU z#qBRSFaDm#ss!tDw(_cC3BRiYbc-az=MJ2N90?rrgBMO5y~#q1tG`;}V4sU`m1WUu zhTQ0F5EBE@J-9erF3mADn;_HRjE^7A35b11wKgajwz9^PQAHZhr z;~?VH%?xi@#Y>pz@P?U~VW4o#QlP4>E;v9{c7`!Tcp$9Hp{}07nbqk+FJ8RT`VZWroq;;V{aU`B)A*pnzBbG)v84SP+K2lk9pZRW%0)0WoZ$K?Y?7Srq5_<83~EgFkhP~^M^;6JcVjKLyCw@jQ0<_+!F_HX;zzd#n97Gc%d@Jhsj9&l!C1zH*u!XOI=?d& zLM*SU4YqMLILz1kYjDJ)Jza>F`Ud&QyHZzmSDxFFQ-_mmJl{jXOhUXp6Ry8A6eptD z-l}|jXl&sBB}(@lDR{Dm`%bqYd~MQ+aLZtVjus|{x=?}d z+G0!YJJmuT<-i1NSQIsE#^=-! z(lYq*qUVpgN6+nveaP(;LlV*%`RJ%c@Sv({udZ${!_{GkEO8!Lh;knb?NO+*dLDW5 zU>^tSC`>CdkD^%lJ-6ObxNiHy5hlk@o}`=zLv=qwHfp8$+ZmOSmS!Nxn1??FcdW0K zI*2-cv7e=%FIo$mPwY|hfcor+-0akZ9v2!SL0%im+Q&*ai5V29J&y5XV`Ka&t|F~d z`-d)JgzAPg*8#1yYiyvFtF((h@HW|Eo*8?U=( zpE|rOvbB$uCzE1?KyWfiXoih1Sw+!2Pax52myOitviH$^PRhuL1#M>O-*m2r1svjj z;v-IJCmBuh9H=itf77`RBa5XrRK~sLPO>gWie=89$D}-ukNXvv2jqkW{CiM94?uyz z|A)!H7MQC4p4yN)@cO&J6ayt(Gfn-G^_ReOyCb+iZA$yveISaN>g{C_EITolLa4&K4PtjN>#!o36~NTD#!7pw)AZXSg672@;}vc z?U)Q_Na7GzT&q|b>Kbh3tIX{>uF@lV<{n={H|Ee6cYn=pHCARUqN;!YdOIsnQv~{@e#f}XL!8` z9B_7r6r&EiJrW@ji8o%(|GJ2VeJpes-q%+R*_{*eJ3zMf;_WOQp{q!PS`SYHKi3@y z$SJyB*shK*Ov(lN{Br;GfPpkCgV5NUi`Wu^^EjY~_WL3bgYv-dC?GfBu|74k7e~b_ zreGt>6s8cikI#DEGVL>=;Ve@V;~`v{lg2RKTH`#JQ2(GpG#jQF{D6GB84~kH&S?dv z2!Ae*$6b-a*=H6|TL5X$Chw9zf-Vm0#%a(^#yLqdCTecIi z$U6j59MI;=*U+$Llfj6P`mL-(Br~pT(vEGjF}JcUhE5#}3Y1;sWyY_|t>(DGr&DTw zG&FF?dM6%TMM3>aU3Fkoj{KPQ=7#wZEvJGyFP!v2&%p$#O4nCv&my^%YGDmn0;^rjc=YJ5_N|E@3sco~r5 zX)NeR&($!Ex^O%bg8blc^ff+Xf(>enekaY7KL28%DlI>s3P@ipM?U`EJ-;F!ZA3`+ zM5}u`U)@FmFQ#`^?mMHSPbH4^wyR9h4C52vf*!VM?Z0W@ws-|g*@#6ivL{5Z?;<{q zDJ>W$=b%@oxc*%KNx`%+aKOcnX?M1BDHppyVt^XzUg5jb}3$(h&hYu^s!r3~4KGHkl ze_rteQ)9a}r1`xWClZg4gWaTFhXG8)xzGp7J>+SJfe7_n__M(t%GSdm{>WV7SIWJ# zbBDna&EE)|#KG%Fhaplk%w!Mv+c|YHPBL^aN6RpZH$`g*gIP`R$vEZMD;GnHoEIqq zFR=JJ0)YTt9+gAM`)QUgepHukS6;HTTzgs6Zul8h%k56_t5+00n)b}*^3>(mAp6y)A@A5wj8sFf@x%MQ0w z8L>F4O`Y&w63SQ6Fn;>C)P_LaKT{jU;se(L)1RQEb#+dX#Ou^X|9)CmAG75BP&G?} zli+jLVrcBp|6u1Y{+nyRyU}s@^&cs0y9!;35H00PgjxGvu07I}l2D!nq+11SD=+O{ z+j)Z#IsE#OxNAHAC%POJSg29;^%+0hn+g!$NBi0FlUk^PKvw<{kq;Rtp~32J??)vi z3-Ngwy(QI8xpwW-!ZUob^GYKMY%)vAs$Kag3#}`!U3)$_^mSNbOSeHFX1Te~+~?15y0_zU)3i;NPLli0(Inmd*fM3DAv{bl zWf;x#VtM!#Y*HmP=lHv;#m!e0R+3RaPE)5KK{@ZhW=yDQ1r>+Gl<+*2nCvIIvgNAP z?jptDf()|69h69Zj*D519`N-(&zJh-5}gFH+xBA(w;#^(qI5PJI&?iJYi6mcOQai7 zG-D0STmYT}RfsilKZn^+H==3Jg~r8#4EXa(F@tJ~&lvE#@uj%9tkSe61lHdmwj7-w z5PG;w6I;cs;^l?fd1W^6XFmDhg7vV9pAYQ)TSs&=L|$z4_l6<>{>GGpgU!eCXZ!U` zR%gIAK_a6sM((s#dQ0gmfY8BiqAJP_16LOTekvL3ZYI(06KDF&#LEj&>XBE zq}%Etn-6Sm-OmX(v@E5KwYZW4qPPX*A}sxf2TQW@m=N^&ZrjU6rH1|`+(5I}Q+zXe z$HHrQhaU`SUiP;EtELEaSIlCp5v5B) zx`kor9+2+t?sfoaL_lvrL>amp0RiPV?!C`B_ukKWp6mBF%yq5Ln%8@+^)(acVj!7z zVW%h<8yu=HK{v2NOO2I56gR0F$2ghCBf2F6C--?c)*Vo9Q=GR4hEwrkKV>#M9|5{e zQczESuN8Gde`i_JgNjf!Hu$rUaqMmf8bUVw@uqid@E0xYxc+Ay?bsInm;Ioi*$QVz z&==>MfF{A4Gu5E)dHgI|ME9f3y`ZRL(iZ;L!LHu7WUkjeMO{+Q&%u%4M?Mo-3rfhf z>~PVJYkL-MQzR&_)x{TF{x%iW9b$1L{;}GAMrnmjG9VmioFB*gjT@=kN!1pO#U2dN zIw_C2)7()e8U}-}pdHdmRV@O>@Yl|>m3i3t&+!r}jUJ*pXb>s?gWyfL`-i^6s4cR4 zAJ#Il?p1rwIJ?G(SJ)r~AGID|Ti)t0*^MPz5W(- zQ`pVM)DDuKRaBhglpj}I8UH5P%#OUGs>%CKl8aq%bC=8O+A^xf?stz^>8N~xK*+#^ zD~vH@tn)euC*X>aklXsqXB5lL^uMk=PR>b-O01YPu8$95} z)n)kGYxLnX9~!F6?R>HaZJ!wF42>4ZU3wPZvbwpQ(RcAodb*{~E z`+K(v(ow6+4tjpjseyv_8j|smuVM-R8etQ$*;@hp*vKd`*$?UxJ5`u#-G)pq2LISk z=!+gY1k3uWZ_Rv_xdvYNDIBhTbiVGr{3Z68s7@*1;{83)>+5zU+%(cgPbmMzoh;%UE&#g0H()RQRj^?WV{xq?FU z928b4s9s^4=WcW{2u#y~3b0ZGCi%j0>H5lTXrCnBE$~%32&$aGzC;6UnVZVUNk1jp zlV?xd>;)FLAh!iOkJij;g-FLVh(>$x=%(uBQ5DDgdz{Uv#8dKH8Ur%sU=`tvkx3`03=dr zaAF0kG>9=1+G^Ghn5mLRb|ocZUJVsvpQ*R82eP|zP?KaJM??LesrQ>JFprE-ja-qA zn^YN(4#nffK|n=nm18bZc{4W(0`~hVljqZY4UO9I7)ffqSA92Q)n;6Ocs(__=|1AS z!E8N~$$)t&dzY_GYBsFu*JA&}Mv=35_nBWxVDDPA*F3`#nGz8#66?~+rtcgC^r`*Q z`-KaMm1cmCBl?IUUwu&;h53tw0i8IU)|LbimonEB)}_dw>oJ9SD4Y|rZg!=x@XQ^` zt(MRMi~IWPC3S6X9u{ZKi}NJu&jjGl>goagMA-h3pMvRLI~Tl_Lp94MVfqieHhm*% zIw7<1^}fdo!GV6%<%uQ%P$+4o0y+J7k0RM{Zea7p@p|p`@2j(Yd|aLspD_8w2AQoyw~}iNISyj_$C+iq;Ntl@fP<5ZKQ9=CnREGFUeq@xZ7`aavfE*T` zl&pt%WQCXOHz~P!LI{XmW_EsAxse*9TS-nueN=3GaaLVJyN4)Ev#VcvN1v@IT_`Ht zrGM;+7^KHNylwoGO4m>j_OGwXg;AMQALo|^XQJm;Hdk3ctY>W<@D9u_L>!)p#wBl@ z9f($6I{i24<0mLQ8rsGsHRVdH51td+Wkjjc!rWB-R?`K$C~IorxwbYCpat>4pSz&Eh#u2s+0~&-)gd>%==WR zln>(fmHI28RHfe|`^L@8;re<^fP50%(Wqh=@Wdn2Kxx{6`5{gv<)-24)z4%ob>4&Pdm!0ld@9Ix zp{6Osi_@p#jhF3G7kqPirt#ICfB{0vv(*o!@p4@e7Z<-0(SEnzohiKnrc9x(DG2v4 zxe#LBw0j})l4T&tEseAt__9XoX>jd)6=JF@vqhdHbNc9mC90G zSmi7W0t-4n0RlA4XjR}OeM{3sRWD^6ex)jT;i?dafb=8jIsiA2aIGcOjS=Dz;_DM< zXPtR?%qUJG;a1CK>45maha_zhl>Z>%4h8EaO41S3=}H(W2ZEG%9uz)o=F#eRKr!C0 zbZzbnL?XllpUxb5P)LU_xe1dR<6kqIKqPWbsVduGs{CDd?6>x$?wIdosv_f`8vMy* zx-D)ldvzXiv&%@a3fHL5@J*6I78reE`xY-JMt@Ej=#gJsZxp3E$=&#e*-uGL0Bl!- zXM^6s9PVp?s0^_eRgIZ>ot);WdDy+Gj@RgwCo(xQQ20BYoI`$nQ@b7=2n9 z{8K0V&Zi(uj4hl6JYY*Kb3qZSoX52}mqsk;I}&4n<*NG3@Qw=JK0H6S+|POI4~Fx<947Lly+|=W8@vN>waw;6v+e6^lw?nbWoDUi@_ng% zLUl+`OPEbliO|%|FirSPU=24IsW9&NkSbVb1?RHseY`iF+O4_<2@!Ztb>oe{po5iE zHFn(5;ARG&{~CGO&)x@`H?Z6)|cAT;Ox<+YHQjhDO+xf3cf%EI07ArJte z!@mSN`s5+H04jg{OCXY#5ucr3TE!-3VKlWugKRXy0LS*dqXLtnn%LVt4ZPFz^K%?e4v)U5AucWeV0XZF_`mYSMR zufztDch0*Dj~=|Z8FZ$gJIohud^=?H;OQ36B8RG(*raxdze1j3&YHokY{*C6GL4`s@~s59wX*AKSz2H^;8)6t8cU5KMe#2Ux~;E; z!Di$NR|R`I*gMh>pts`zEUIlb6t+F&o48HBmx#WAIDB@zbb;x&6mS70WGAh3?E|^@ zFpv5$ncXz_Ata9=m?!UyJ+!g9ZV?7ZL~w*F9F+Ej3yg7(yO?D0TuzM+amM}8JNMG#z>4O!>qv?af_{Y4F$|)iM zcp=$MPl3K<(;D^?@`?13zBhIyb!+5~9p&gmmmK6O)MG9Zl<3n_&l9UeET^0h5NB49 z4~`KS$l*Ss=P!7ujo^qOmR^~#&EGP z!W4y{j=_xEN`{OY5q0!E3aa8pz=Z|-sh;iB=N)Vjx+Q_As@X=uT$Qfb)EflDYF!y{ zJ4_48pR!vNLWJ%$TRk6fWFADjiWqN+f`ZyjyO@UFtf1>fnZI{@Rr4a$r#cY$6=42~ z`KO{LqT7Udeh6EN)Yj-tk*V5&9HY^D16)m)(EfYqD;>L5bi5H?ljK@DqAQo8s}w1)A5<1G7z6QPXYu&f6k4NlqFN($No_ zZ_AT#NsWyf@4o-Ut^C}T|LNP7A79$wILWWhLwKVP_dIA}_FQ;w1tvDu1rk90AN3Lu z&sIBt#l5Q3L6Ol|)MCX^EC?4MsiO??eG}0Jo3Rd1SrA0xWUoUrXD)g-1R2;*p#{`h zo+LBoH3Wq1)4DSCW%3iCFKY%E`OuiR=069tgT&OL^ZaSD)pC__ z{nGi!)6bbT{dKio*LR8JuSI|V+$gR6eX-NJ|NHV_NbLIRWaicNuk*hf{c9R$ATh$! z7g&@9c#0(~dM@fXb&Nc>MJfE^s3V$>ULbUUwl@QCesg6Y;_Q3xFO6I(@t^HK>4uZrZ-1v= zfZyG|e@Lbr^Obf8&@1RDPWm_o$JWPidyw~5Zw#}ZIoYQTKI*~V2nYLoYU0TO(e^_! zhm$wVna*m5e^C+1RAV-cCK#vRDsLlizx3Q=fRl!|+l(sqRvP_Y{}&Y^fC6j3a! zC7^6_LyxE;D;E(j8~l8bB5nNNOAAE9qf{rZ_|ihD%&(LC=N@lTq`Qg%`LYw22~}A~ z7JWkY@W1uZSO6sdhqMcCcITMOO8%0~U26WAh?;DZ_qnsk*Zv-+{V@ICU zzw<@=j7~j+p)CJg@FQMziXUs@O+M6f3IJK39^ZU&Uiti+hFkuTpWY~ED`n>NJ^u7my1d04 z@tl^rQiy`4!j%m7ar={Tm~KY3luA{ZjeVfwY~2v0N|1}zRP&sWSY5X9|9gJys2h)PnZ6&1(nymynbzezTn7VuoK zC561v&adG$4>BCk5p-CC9&tSQW=QU@8*nvqz(K93`f9H$;uU3kxts6rU~jbjubgXi2B?D6U_7-vu#orh&qFV{AEL!ZkQf3aW;@rRcF= z2rd#}QUn*BI4kyRoXGj`a=bzv!?HJ08_At0n^Ctyp;vE|NQeeKJ$EQ6Eb@Z6B7gB1p9 zNX7;Pcu*c%81JjR84qZCS}x$_R6#_bYHTzL1hUT&luhLs5%OkObG?KyxL+uN;QIF> zLBtUJz*qIDUIhcx_#mpf$ZCU;q_+d4#73yVuiO~HjTC0%=mSXpA{1HWZyX`U_RG~=jEz8V zT8NoQ&lSN;lKGc&cTNG~72mpnF{m@!zp@^(lG1lLL_FzduSZaasbk`DTT&W(4KThp zTAJiP+JvlfAOcE)r;cHA1krA6D)AhR6iNhche8yFy~n@HVmjU zCSvZ%-bHm!_FIH8(Y^JcD8u=nAufKD>=Htc^=J5tn<(>ZM*a@Rw$j4NJfAItykSo$ zseg^x3Jig%gogy;TA&z1VNZ&^hPb}%;g|Ek!^A9|qdottnpWWW+eQBcV(tCGFJ&t5 zZraaar#>Qg6OPU^xG}2x3>#G^3mq=}zf1f7FdUq`f-ca^aUVsCFrKH{2>KzQO9W5L zgHC|&5XICI(#^9G;QxFs?uvydpPS-zWe906s$Z)hIDXL}``GFZUQ4{|1IU!s@0oFg z(`)wvSZAdfa>@dbpU~eX*Mn|QErtag=Q9{TDd&#rjZFF4Pel-Zmy^Ne)pKSv%_ZHv zISypPD=X4I#@<MUP4B*a%pR}6U_q$?P^Y1hxWCAy z!uBggU3>=-ar?>20=Gtp%I{YIldG>RBXt@V)h>|qtFNqqNDZviG)zI*l#e4F{cEQ- zsnpzx#MGzvA+Zid@d?jw2aR4~e~Ab;VN?EPwJ~a%U5d}?=zw?|v&W6su3w&L5wcPTwPvmXQ#~G-tpT!*^pzlg z3-14~a=+Cb#WPkg{r#W&+ZCxp$}TeS#3HH$%BK$4Kl|I7CaU3t09_(gNcg~?{q5U3 z4+}^D+~#Hb3qhD#1P_C-xux_FNgjr&?ddsZ!>@+j1LvP3@6y+ObEYE$PZVp_H}{mv zCAiI#xN?sqbw0fn!r$2bUeVkq1uUmlC03Z3fA691z~-mN4{F04?_zh#TkUcw4>+VT z0BU#oqSpBj?M3ymf93HpP*}U9i+c8v_LjBK7?Z=$e2XY zP{ldpLKamIABHmDI>%8kCf1on*klcZBDm@zmMBD{CRs^<+-ZGiu?$l#5$f@@Wg5i_ zxJBTd0&z9{@CwhP2KY+SJDEtUlxKs5R;l`cnfYYX23J73)zN_! zIW;ofn(47l{Ys_?Gscq9ep+KS%Qq2jBl_CF4V7v48~P~ky*2=l5g{sJ`|`~%=hCNt zg7)B41Kn7#0QbR)vXAGxP4bXYJe2p}%Ci$;WdLM{6j$JLnT69z$d@$@OF^Y)$g}jD63v$BY5T~0kJ)I)LLP2sUz@0D2}gnTdvyNu5z9N<=*#`#!&n`Gg0`Miw-AfsVmn1XQ6JGUXqNw zP|c^w#2u zt(V;VY657T7j^MP|5F01izybi(HJwDJ4$IAU-g2OkKsht6FzCd#d3!#H8ejwPBs2s zOfGO+EC26hT~@p;|3BFKRyX3mh>Jtj6MTIB+{Is5>>o1`nc^h)_+mxXV}%Stt5h_ez9FG@Vvn4)tUbcw;X zlUgQDuOB$tB5Mbe+t3QSTlV~u+NzQ7UTln64zdl#{A4~lKCe%`m#~N@E?FLl7H^Z; zrD6Wik452b@hg*6Bh&r$QE;E54Dd<8f>Odbf4UV8k?^ z%UhVqt}=e`aUcapoO}(`=R}(eLli=bN%yMAm`;is#{~CP3jNi7J`cWy5bFv#yRj$F zFf%<+3HO`&$>6#&c;DUH+y3W4sVt#9b$=HZGNq}&FQJEnueswd5u?r=tF^|>FWOFS zi!YU1vlcpBY))NqDCeiW+01FqS&xr+sd=$ZqMxJXjCPFEcY=MXnQ2l3O2V-m0(~?Ejjon#zR`fQDoJ__S^EuBpz-^Khg@qUXcG z!tCB?cPiH@Qy7hP8ra5LpEfs~U%xJ&jO+lz2BS<&Qzqn79uD&oC5Cg6u#_N|BScR< zmmvajhpc3>r?y-$B~i3W^z9tyBB;g@92<4N#mgc|PP?5TR%$T9idp|VmM8K-)PYrU zSCS7e8Gtm>T7s;`4)W$zpI2^Hm^OAf^VX8ASvLQUPiQ8pv04GL$B5L3aBcT5z ziXzK(MgS>Goe!wCY8v+WNdhP9g&9+44u?qQI!A`bxiQW?8EsnR5g2{rzJV|Xcta4; zoAINGM-Ru3KOn&(CzGmvvq3<7Nmzmvj&BOTf6RN3GUkOmpd--job7#YkHGapAH3~! zhtfM#y&L5<#x#dp2kMi{eN`&T9hrC!~{f;x3$v=f^H}vRvK^S25&T~P8uye=Mc~fuTddxDEjx>D zO1HOG-4=gsM~HF!?p)`p`gLOgEYeOtf9?PJ;PB2=z~oPS4t_-n%Q75eJFq>snKu*) z=-Cc@?roCKK1>7!jRt`fScsE#kvfhTFkKZjQ7*hs`djUjQmwojI{Z!KYdF-PN)U;k zbYFJU$*RlXMBRNDcluvK=%2(E!lm{PPC^@&gfN^aQz`v(3|$yoJ^%p|U3_(FEoNxW;5zk}*QmP)h}mO2 zEU^rVjVVg7S)@Ot);BsEUTzDi2_7V|xrf zAsNsLN$%+PFb-`2l)W3XYDR_kjZYf}M`J(ErgsemPJUUqBi0jx?=ux5=05=H@d&&q zwe{Bi4=%Cl*w&w?d-hvFyLTnE!WAhc&(JwtfMq%~HMk-RA9_6B+;(>{AB&1L=IBp8m6_ZZM)#G2{m!vHn%-bw3f z8FHB=FVEp+`cH|I=MFt-?ew2Xb(&ih{`L4_eSc!o-Nsk!Mvs|5tP&TVpTpX|v3FEw z!uAb}{Ud)$WeOu2d$ZQ|q)2Bz<*UXNa}2tYOf3yJ@G?D$Va&AVxZLm*{rOaNleHBT zGeL`MvYV_heCEPJh;*Q9(wa|vUECWquSi~X`=OlFzA%~MmFUf@w&Io1p#3ywY`f^j zRK0s$K=wOV6*gY=^*wNB#J);JVB3Agq@Tyjk0oE3{3i5e|C;=f{zt&OU+hb}V9mha z1757q9jI;iwXgiujB)^2P$nk$DBUzK1PPx7h4O2g_W3iAbD&_PDT`(i`&s84QCX8f z&gjI+{3WPZUt52KKoTS*j+fBZf`T4(OBDeB9Welk9xqcy->c}uH=AxjS?Qz{1y(7v z$sevHKeIDrN>w(hFQ#~k9#KwLjEO8xx1<81GG5h<5M(gDe8`pRE?Uk_M}H%o5B6%b z{6QvK$AafsXh8aggjdGYda|?V);uuq!l$fAg;2K7ic@M-nTXpMTh33piA&NnL9hNI|eg31`|SV+4@XKD=@0TucRM;XMx3fnoFpm(Bu!dx9; z=7QHOlcN&5oP(Oh`NC5LQ;z)5PxZSYDKR9P?H>G>L+xp0T0&6j5c%+~RAc%5lFNxl zj&I8mfI8u!IY|J?L6o@|-E~x-6CKz-Q>!TmLX^st!5ps~*y>(W40*Rw&RLdGl;!M~#32hUsOeS0;NhQ!>OQZlY< zO>zgL8;2!7_M*PZWy*Qn@TPD?;tY~TrAaWydC1i_1XC_+SzdcT*Ym0-d4z%G?R=X@s|IV~_noz_e(^Hj2z+7XOkGY1Vgukq4sP@K4dduV@K`A4qgsai{K=0WNo#&JcVxQvUie zfW3MnJS+nGJ`m1zgK+iiHj*E10O9T<62FU-W6;%Ml4M&TEDPQJ6%#_k%mGzy3#J$q z2zZ)?`(}jgqx_`%h*wzUly?YuqXpx}B1{03kf~+obtaS_{|43FxJjRb43o9sgcr@; zWPtVh#mNWL2BoNQ;vnv~X_Ohl@2Psz>bm%Q=yAe2(mKWB_F@DXEOv2_PKk?{SOu)b z`bry!k9<7tiC!T)Sb*?0Ixa3m0Z8|%bwE{c3KJJo#LcIn@wvVJAL|J$n?v{U>j}pl zmOS!bWK}!Jqv{LO1fI33f0d&0l#y84ZRuD0!eg3TMX&->{u{;kBgP~DA;!Yn-I~He zY~TJxG0O22BmWP@Pz`aW5xJH3=PP2x2reoNj1Zs|wfcu*^enohUurU2{7I(x($EmL zu6wF(qk_t7m{@l)8Y;gC(}1|tG(C)ip~;_esYs?xPC;oIH|C9XNqKF0 zXqK%>bX{vOqS4jFrR}XN0uuCsDiAwtAVyy09yv1kxFM!_>hqnk_Z}}GLo*Aabe-=2 zEx2{TFL56>c0*wOsX(fpy;IhNw3^ei@eAPLd2=VV^S3Tv&|5M_wfpGy5ZJNR9Qg2t zqT?q#+=5I5zm2>hD|mHYn>TF9Dt=AA?3=|9mVo9^5?=FvwPM@Cg%Aa*LbP3~vBZVobPZhkwr zN0>+FR6*w2D&EXQk4bg)PgpG;xOq_BYt=<~Zppx4E)>Wp?U^d&aGic zaf9=ORMQ4JDMRxn%meTPI`h1%D#bNVe-+SJ{z>#E@Qh-h!p-E%{gPn2#qIu&@--0pFp!sUgCGcGkdSi?BbG>04u+CT=LI}heL@*R7Y9({ntnZL7RJMX?MM61 z>#{}2V7v*?vRQ4QF#d`%WrCS{09TaUu)1=rjQRGO=HYRC5`;#S5=Hd<~@y+{zj&Pl-LjeVTo_!uxA7AKKc zUi3BsrUeROmWwEO?0q98sw$CQ7Cfye|Mfc2nv-eY_LbW3CvZ z*>z-1<&wo3t`I)RTdIs45op~x8bb^TH@dNKV;dN6E$rBUd(3Y{e1IYIj?-Drwei%K z{W*G)&B7MAHE8p#X}z|8K9 zvxKNH3M!!x!{NLxh&qT0)a#2Oz>(|o*Ajonq50TRq$<(?nj9SqNy(>hH_Y3&`HOxM zDg_kA>auJX*hp~|cG|EsiDM1?*Qgp7DUxJvikzY%o3wx=9EPf{)VhaOHVVDuD&V_A zE(u=Q_RFw38CiinTDkGv|{qG=tT{B?+7-d^5b@s?8xhzoJ|e-75PlY9L8?*YMo%JAvGd1414UuWjd zf91dVg=o}>m6!!gyZ;n{_AF^a2mvyW??A%){y>VBv_6hPt%jiDC$j;LX4%34P$t6c8*YLuy$xxZb?bLNl|H4 za=B?`b;D}}jg^BShbE{)}SKkW+xj&}3fAqFfCM^h!B7BH8d-E5{Z zCvP1M2R{PdYEQ=(S1{QJJREf%tlI-R8pkN8;~>*YGVuPs#b@rr~8BBb8&g8Gqq z5&SIgo%an*~$H|8Pi(d^ z!uh-f(Cyy_R|(Dwf#j6RIN{$xzupWw)8joLzha$Tu?A-tqz zW+c#^!G5%`w@d+q-KeF2UgUz0lWDmdVjeAnOY4gf3-CtANdY32!*16A@-e??NA983 zZ={Dr-AbG+O3coawu(?a!tf;XBE5K^Qei{Iu!+}Sh?BTj53JIN7QIl-M_#rE8|GEQc+*_OaydOIN@Ynt*F{m1StLr}Bg)>eGnH={Q-kK_hX0@X`A zl~hejL}hGns;_E|_8QUj*Uj17Bq_}Src7nRLl+k!(7s2HobtNjm_7<*?%`eUJlbW? z=!3EqvbHp&Q?*M2e&9rY-M1Z9k>M&x_O@?Beuou;Uj*<6_8%Wa|ClhZOQdZz$5wp5 zD?HJ4e)zSn!_iy&XoSDC>S$E>j|{h1jfahM^I=gSTI3{n0zMg210^+{SB(r#+`gH` zLi1X=Qw#DO4OENYbce#Uja5L*g4rN~hip^ZxQ?HiOFd zVH2)_NJ%D_nP0$Rxs9ooIrr^@mhZRx@1HM5@YUc8pVI#?8E%6$X<;`@L}ffzS&OQb zaT%?O4bU3B3G5C(94o!d%AljN8|!y)2J2xHy_&?Z?W-QT666x@MD9=Y1A@1AfqQbK zxe_PFq?og@nGad#XWF{)ZKraGT-S3)(?HiBFVaXGkDp^|8!nir;(n8#zv&9RxL8)X z{`BK5GpVyNcm?>&pase2yl-_Xw6LWcCU&bW-jaUu0TV2Z@7zNSy{*+tL}aZXE$M7U zd({V#mqvj{MS^%S3lN!e5r(KbLLt>JP!A-4V)T8e<|J+jpPSn39giS(pC^39j^gPM z4sE=_LgLUS%f=cP_TUXO?R|FD;oV6h^-o{vpCSfrI)GEe&tsS=4eRc8Kb<0a=5J1w zb>4nc^N_%CPKT2lYRs*!$%32f5~tZAUb8dXbxf5 ze#e*GGv{3v%f5OA!c&JLe}$QbKmesQ_wU+EhPS{!{!@E%l=0zg*`(Ef@rd)thZ2e0 zrtMeiS&;BJ^*`ZkwsAB@(h$JUqlLG?qG{omyFl(+e-3$lG;wtZ08;yp1?GB5_u#QV zISg-stzOdj8u$mqrKBo(`B(yhRDo&v1$rC2iBnXOdXEgugkhXnOKrmDF zbBA;BqJg+my!KYzn&ui#9yB`ggEktf2GH0ab^LTHm`H=!N+_S-w4TTZMenJ~HswCb z40Bd&j$D6UReq~ciZ;q4IrW}l=jj|mzxc@uCVUgmkIwO4u48ohngl zdbUo#sfkb`b~DrV;MyVy|1_}*=@=&Yd#V~KmNt=r2SFA;U7N?{<-Q$M`Os|86lj3) zXFCAhjLoA;y1tGd$%s;$@CwJy(V*`gHiyKl^DE9vDgpF19?b0&v(za!?*N%1T-T>r zr05@hQ#;wIyydW7(@x;+^zFIv9TSn;(fd2#Ser$~yG_vcta;;)CfOhBg< z6DWW#g7`X6nfqKR09K)^1l!KfUQY%l( zf<;uM#B@|VX)xmCVXt~ou$c-qM(_)z{_cpXEP!jR*7V(ovg3y_$g5VTkRnJL{CYcr zubW41aP9JU-?|5AL9A+$5H2M?5fve&X|EEemC1DE+DzQo>uej;+V9qnfr<89oo?g5 zoCy{_z+QQp0tiSM>S}4xyj_SSmh&4BLQer_(d4}vt` zT`dpHU)yrjP4{wpgt~L52*^xOaPXF9tR6D{MVTFc@}%-d=h1s3o2HaV-=BQ^*CEgG z$6rrus(*Yo_S*e1V;U}UI%}Egc>2Y*^mQ$mey6GhLeCATh7gYXc}$3s0-B~o#A2lg z+*<3TKN!G~jZ+eL{MxXQ)Rf+Dbx6d$8(0-sRhNIyWs5DOXz3iR+;L!XzFu{=&DkBb zbywuyK$6yZw-n6;$?gQzDe`=GosC)Du`J8s*?)T8P?>293_?f+8V?nM=f7oD&uq;`h1wD1lU?(?h2-21KS^AKAfEKGBqBqN zg7ar}ZU42eVm@<&|DXFR|6Je_V*y9%5fuDoysAQ1pRF15@GC84FP#{#XZ3v@;}ELX ze~-Aa0`T*6fd8QJzZwT5X*KN4po|Y=RZ9bK;D z60M^G@w7nDhsrLepsZY#)z`hWqAoSTv$nnkB~Je4WmHP*+m}Y2T>w|?khOSmQ1kFa z1}k|mKGYoZVOC)@);agff=FoGr_Z=GA;j1`pl5wgjFqMz^=W$ltnxwpr>*n#%{1J( zTdECfBj7u+xsWC1g;Xfc)Vbpw#gcSnx}cHqM*c!i7?TBX93oLvkpR@X&QJ|aEErAB zH;SW%P%{joqF&C$oF*FTWVePajss2%V{%I1bYyc0obQV{3uS*ml6i!RvO%+zFs%|5 zPh&@^MT1?VC;Ci-Ky~k1kByX8##?Bc7k60#9M%i0476)rba(-iF8#)w9zk~@UnR0= z>z6EIst>fT+7NUv(Z3ABXwxaOsxz}a)`Gq~*r;$O&h_NT)5A;&l)ZjRrhm&(AIv+y z2J>sZ`>pYHKk1~BjBeH7uOB*!a9KBDup*%v^{=0KpS^g6TXU*qpzHIFkNLzE{WFfn z$2(Q-pu2sAW-T&(KirSFJUszBnk+sK2w;W1qmOVBvOQx%fwt;Qu3={^Wed;AjiyW~ zJ~kswLkb9;7s*M?pA3b`Yj2o&as?Ec;XkPY8KecfmlaTO_C&xU3{iYsFmauP6i7>Fr-hkU+T^}*U&n5hf|U7-aeO6j+Mo6S>7_Y&d~Voq9o{^afS< zg019JLi~YoPqsyRGo&4EHP+0jgF0c++C*oV4CDGy1N+_U=2`2?-IjUJ?cLT^d~>_e z9chZK{2WjLXn)Co*-qNX!R){%bKqiSJ8`;7JqE}Fr-bR0gY_;R%grEi(yKA9w=j=9w5f{R987{u|dAmmxOwD}rYBRzRsWXX=01R6H#>9+#YPIDRj)UUfX7 z@ZacG_3ILlVBL59Iab^cS4)!7z7qr-Du8>8=on`A0SJS4ltvZc&QfhK+iHRlmQ=?9 zfbE@~pf3uf2jXq4{G^2QGoH5zXYpCXcK~gn%OB+wm$&cY@{eAJeyi+p90G*Bn!9zw zx7MhgHYPYjme$*3^PJ`F%S$}lcYEfCU`M(6$!$bDYrj~2L-M`7Hlb7Ta^bs^;=r!n zix;7LhJpbD0Onx9tGR^>MWO>k!E3Lb&vbVPj}2SML*{YHCZWf9pMMkluokPFpHK_yagaspZ}7P!rv$*OKD4wTBP}RYWlzEpuMlN z@PGYXhY0=IXX3ZwPx(itAeoi@VF8R#l{|XsAAi^RiIl3JQ>x>4JFKH90nY)b?=Ac1 zS0ffKNj^X-h=y-ymOC9pwjXBl&wvSKA^$cU(J*U5j`uB~*&*8F% z!rT}a*ZpAMuv8rz8>~?Yqx<`;%i#uVKh__RnQik zA&gXm0m_e?B3``!#4@EmPqHMk95&;+eVw7uE@agcBOKYz4Zg`M7RtafXZ#qm(wg0L z#pnQT;$e=zj%vtA4=;F>GjT-uT5ha=DiWCZ=y`L*{Dd-lm3%F_pFDoTI-|>?G zhc7Y39a-OVDgK^5QmEktbj};HnJ(7*8qqx#<@mM1Ytl)=OnL8VXS(}2*;Taa5^;Oe z?>c7LQk`h>Oru5s<}oe`Hkit=EwPk_3}-DTNQlWPv-DOK$kY05gzo~!0P zz1g=Pf_tKVT@ekN5XmKh@411dk+^Fz$c;rUQvm<<7nCef4w#z;49 z8vfW=MmeG*0g@KUmX}80D=2DR5FM(`unb|#@#YejZ5i(Olds_i#VXYtaU_Im11w_b zI0c~L+@en{J-Br2c;s%qu$u%TU&=;#zYwiAr7*n+ofC$W5?hfI8=LB-zEyHA;U)DJ z;1i-{IG_P$6fu@S$x?j6GYeNV=(8L@mDA^j=`)UGg>mPB3*8wJYeo?*4|$4x;iHkc z-ZHS1(o9r^enfhUlHlWVy1q@0%9os*xhcP8Ns4?KE=mgu(<-d0+~=YyAJsk@5E8)d zApimcI-nqM6Z6-5jmW<=&95uDb)SJ+w4Ze5w0!Z_;%qCL_hD;WiRuG1wL~om1&$S9 zceztx>W&?|Yn`;f!>#|ajD+-8s$eJs!k!8Cq0$QUqoRHfLMo$R1*Qzd2vh7w>55~0 zHA%|{l)~ow=vXo_4KR{zdsl9e^{>5krv47jtc(k!gM&bPf0I@6dj9T&GKEoJnh<^U z$+Wig?*H2|QWB6+q#l5GqNF$;k1eG&>>)U&OYn^?a z^EbTL?|$#+dF~)DBRcTi6hqUP&0C#&)UE3hBE<&X>S>O*^Z-QmyJ9e(f|LB)2yy5z zIlDOd_|3it`IpxWZesS+5Hgf`tnyM~K4UH@|VZsM#hwCc@_cR&-s( zx)Zpxf|@_ASI~Yh`EVX2%>8tOb*ESG+1*O7;XjRCJtE@^gk5Br};J{_Zbb^i`+%`gJ?$o10|M!vQrPh0)U za4u7B`aD!K{SE0TOUWa%mxfvyDO7(4O(=#up8tK$RzUoTFEt8>7P#4dyG5hy<*55f zh42CP+VU_`y?>dYRc8ph4sZZa92Z5NbbswIm8)l(z1z*6wt-sBU#fbfFxEE?0VuJ$ zKCvjq`sPSO2G!L75*vmmCaFcbnIPlH7|vpom^Puu1V4#S=(VN-89%e zVu}3tx$E0EzJ}zji|;L2h?}FSO)ETDCLtnmj#RK1uqqr(Q1&sV2&^MxMez0VHrGSAm|)ows`+Z?(kYGm&7d^(Gb{d@?#eWr8xrJLL+8X;Y9Z;7R=LWd zX#88VIr@&TS4Jl{WXDsTagh5G;uL^{J|=&#S>86a$ungw#qa#1{JFzCP-~XjfI)Mz z&<;O!da7Yxjv@ucw=eTA5~m%_z7!gHG)*nZfI>nJ@87eh*9{ewzw-x^;Q&+(?iU{q%tk>E%U} zpCtnrt$la-B`W(C>5nrF^w-zL%i%rEIbIHk)wxTDf6quHAV5`o$M8|Iwa6NT&d9~+ zE_-G3%Ww$*-5M!Ns~jjIXI2w>-?Y7G9V}9+ydLfK3&s@NNX@sdBNsQ7|4G!L-_19rc~3zV7-LLuiJQa&*= z*;?MR#4nAxl$FFpKDeYv4Z@0@$x*wL7>~Ffs_gXsT>28L`nXiRV=m5GZU7-*UCl9w z2&`a~_aL~foT!|zrfiv-GieI@Eoal11h9&1iD`|;xXt7CkJ`Rj6MSnwpR)SaakW+U zt&^pE|2YU>)58?6QQZJZ3%S}qYIbld;HxL%t>yYa%U9lA$EikVAAgs#8{PlXC}XgT zbN~n(e8qx1q$PCzdDP{RL@&^Zt0~@x!<4M!H_C&)TRq0L5z&n!j%9QHNsjgZ37WK< zKrCFq!Rc2Tofu@hjrt)F+d5tO{FB8%q!ix6FJ3N0Sm4NdkPBwc{(#i?6=6i4aol}=ciI#8a)z{b8{n_28mtT~seo5EAD)=ppUcOqvMzh0E z?h_macYh9WJ_G}NCj_!!+C^30@O^#0`7Od|%mu-n8&F7N!Z`R7-nb9AgVB=HU9uN|KX)vLdvegEhGHR^p>VdHyHI zRGomKuzK(rlgnR8*ZcPpD5>PRLlw_fzKr1Yl~WEzC_jv$%8{*p{CAZU6fpeHtz?WiT zOE?Q{@gDc-g1uD1>>drhfe` z+X%?m#}{B24wrfM_1xv*t}G6Gn2>5u@N2A#Tv^y0I-yAYjm`}$_c~E+Mh{S(82ElF zvC7-(xsAC;sj`l)a{=fWL2fn(Ma{nmCECtg0~vthz5t9g69ERJOR8g0 zji(ZHDR1Rm;8S&>SjJFn7_lf0JzL>h6b;G6=RLL>t&vWF)v$HR7O#WG&xUUHD*a{W z5|tb+q}wBpC9_q;uCsO}MK$fbH@}=7rdJbyqUG924>v-U%rmp(u|$@itJyu3L8t#X zzu)z|M)bqv&2J$RI`^$RU~DX0mH@h2+7sp(5)Y`X9IZElGTZ9?9bK?ekd-+be(=-t z?bQ&bLIcClCxRilJam=KQ=vR8Dh3gPL0=eXVU=#ikzJz{h5!kcTq9E&Pc#47>%!miqvu9#$6Tfx8t3rvwuFYPTPe~s=6_62xl}e0#BE=TmZ8KrTOr>2$~Q~) zbY2xJ;^%sx8MSo79~~`3{OHq>WP1471ke56!%^+qp1o_!<(_k($9T_Cbohx_KWHVB z|Aac5mwS)dUcdV0fJe~>GNbBoi+{?P;RBicGJUHA?~FXO)5g*9y*^4rlU9!-?|RTd zt_S$=v*5Ng_vt=9`p?J+ZiwGV0If7V{+|d?y?rFf!vx$1>P3{I)^FD0Q>sC3{BnXY zWBft-zRv@agnECM=>IQRmyWLg zy`WAi{eyMlq@hWyk^!T~%{uZj*1pSsu+E)Y;WdEx6~;MhA`Nj-0}=~{#Kys;$$T*y zQD}TdCbveiQ7SYrt1v4u$2hN`s4|2P?3h>85GfvXwK$od z#dD>OD(u)8j%YyH=i1#Z7o`#6;juE4-}IH=@(|66agZ85kx~rpLY0&mOzO#o$Tz!w zox;ui)=G9WHF!8&c$b6k{bao zU&Q7`1(gOT6`IKq0$QTFwJt_~Gu0?AH%0LQoo%ROGoCle^40 zg}td;`9;m4B>4$urMpIUwvfUU3lIlh;b3T*Nzv>Ar2!6Zvj70DD^Y?1qFTF4i<-Ae z%h;=q_V%mLxSR*oy<}F_kO#%uLAA~OyTz1IOQlw24ixacTfE6f1Os)fYUuLnIQ6?_ zh0A;Vm4yr69VA;YB0O|UbM72Zy~E^3o=V-J`+W^(-pW?^v){v|k|P*6kN^Kz7Y`!m zL!)u7jSesckSX$h!}mOtC5J_@e;&6zA@w{S;@gMAo53CcULvexk8-@rH9q86FT=~e z&maPB*-yU&?qCCNRnml@F9yWUN!7>+&MBVUatKiy5~K@I>b|oSn&}bcem-ZG{IY-g zpj#Ay%h1LWk<3@pXV>*4IbboEA5*1mduUD!fm(>>n*{m8#Ki`GVVi;kfB zeQ($;#A6inblGq3*V33jpn|~a7c>B?%?rBh@ig!hpYfaY8RqEVe?3r}jdij4Jhr1| zu}b;2`jY6t{x?eu?_b-XN>9~Hq2fIW$uLY?qscN>KVRdEl|v7HfNH7O3K zK^OHuY2C;_XhK2fj0b5{tMY6x0Z-noIH>$M^KSq?ge?qAoftTa`O zR|N$ylD&pTjju_81Y8v<u$32c%27Ae0j>%h+Oqa+x_h&-%n5muRiSK)#uLd_-Vk$=fRCV z>`?u2#PG$(j`4q$(l<4b_hExT6og*5xrubQ0ysQ_(*96c^La0KI<_399o=Gjb4puH zxnOP?IuJIk+Dc9USsWHUDa+Pp2CKXZx9;#VHu&0oY-_1ieR67MeUnF7GgDE|nc?e7 zkIj+*SY_uFlhLt{*_l{Xx?`D`WIn%Prqoc{WyZ(%Yzd7OT4LKuwRwR5ELpzv1ti`h zVE{kfT!|lTZ`(-!PT5fQ{W}u{(K=>UpGp$*%%F|OIytNdp=?I}QqQ-+@o`3Q?})gS zoxBWL8FXQ05XW9|ev;*0NwGjOGTy$k3!eS1TT}{KE59m<51AA-&1dAZw}6@D!VVHp zm8gCE;8bPFni6QuL23n=fOVaU_}h24^>#CZTn!6*Xe-!9mtp_hwWDLJmYu?~qt=5) z%n*Fs&-tH2@V}4E)(;4=zwLLGVNc9z74!C8^XozJ0zBU5{OBh0Q?9^qR$H!q zfb6Z#DXILlds$-cRC|4~q-yNL5jg_Mha<1%DH~E~0-ijZVoi!1=rgE#@;#Zq%BCU3 zT%ks&2wr9Lu)sFu&~S+fTzx)oZ_L#^CF-FiOsZ?u+&uk&@mj<^Ur9--kYge80>(@P z7fDMxY%@wZKZsB>MN>cmM8LEgD+#2ZS*?B^kPqPq3CQBpu%GxV zbvK>(^V{hX?G*$OJCoP{OVDF5V+Ya3D;4Fi<@TkP< zC8T6!Gx1TzWe_K#iX(&b^)pMV{5{JJkQlwVm5QdTvt{!KT^d<8ry}%#Vl4s)ZX6sp zgtWOkK_{jSN$Xr2W|mUF3MshqN@%-38*Yqh*@a0KmofX};6m@(a$Q z^1BaRuyVSvM2HNfOu8vrQ`e8_`3#fTw9kb{=#XLe?N*1c_%|L#LN(OnXg1#rsxo^z*A?D4Lg325pe5!y5Rn4~+{`@^R+?Qye6Oc(E5z%Zf z+~4lWbi`l8XkrpStky;?1mCRA5FU$FW)*B8G7Isx2h5$5mnw=6yV&dk4vR@_A0DFa za~>?A{fp#AS(=W6KScZ7jTvY>-JW=TMo04?@l2hK#iVj9^W@@4sAQiH`a9HDaydA8 z+`+r!=2HA~&j%Kt-*wkY$Mbf%x6f~XDgJEoM*?^x4SZ45GayWURb`HWf3i3@hmkle zW+8yWthqao%7ua|_?Ul(o~1qVN+<9U+yIL8M3X)@RH5D#D~xZ-e4SUIPz6YVy&$zt zj9)$T28-pKO(P0L_ah)yxV75Y>1EcjNs#3A8wUDQ{?zA*uOD?Yv#C~|7%>{#vNNU7 z=pBc}={C;dq^A^z8iF{YL;wWZjhkH=@4Nk`@3`yXvby@xFmCe(GpH7)M;tjb^Y}l4 z$Y#g2-rW^4R4?5v%y8M;EkgZ;UsTjs{0pyv*wM1PumXL)iPFe-X~#tn{Cazf;HK8< zGW_bf87uOxwCkR#{<#?Q+L7ECt3ut$IWD3)Z|#HI`v18AuLN-(HE$$Y9sLu(#B~ke zc-R~1-|$+(_PcQKxwNG|%>RDNO)x=K2IzWBh~z4|g;-1D^*q|^Y7m9RR2Px+wwx5w z$PHry?+I)9_C7(46yxDNJUNbh;KPp|utlIwiMX3~yN1O_2r;E?j`C-58K)RvW7sDY zBq6M7KPP^?tXWI+%0onu^o?su{YaYaVP9q2p z(jUZF&PP8`j)>^1AH@C-5v@e_s!M$fIhCFM01aVn4`_)3;^t0;M{65Fb@a6uL4CUD zPe_CY!V@C;j$?vq17dGMn4sD@RyRxl@BuOUiE&q@FO(E`jqaoVZmIylSI%yw z8{~qv{$1e*1&scabj>5G8HTg|4O-bWfqhaAbjnH5Yk$(UCklgiVgPEs`=4qf5SY+C zTkVb|KpfGt5!<#76HZ<_2d3peq$`JRM8X`Ziy>Xsl5bvVfn70u&5Ei%mGzw=E6*0{JrVOk#F~7J}>yJ41&#WQY7}mY;b&D6)vqQ50gEt#j_D;i711*V+26SF=>$q2m+o#EN#N|+81-Nb>LQfNvSSu*?Da8}(J zhnZZICMvzE%|qix2Dv0@3s=`Ryu6r72&i+~t>sT|(p+Toyt)2Gta-fh%;ApMy+V;^ zSWOZXkv3dw{0UGWFB7xazBrvB7OoF@@v9GaNOIFPpHZ)zM@?2*bVqeKK8l)Rc=Scd zbRL&(q0Qq0x@3P92JIDI<2wSmof?Ryq^BI~q@UkwEwfr4)4ka{`pja2H=YY}_r`aj z7OCQRa)X%6`M~Q8uRnWmVzZDvZu~3f=g*53edG$^)u0=8slm#vFaB1wf&Z{Ln4X`w z6##G~IeKjvRBJt$BL-;nT?uA8*p>}psx&YPjjS2_J>yCJh@(V58y>8h%F4{5tz^2H6y%A&mGX+1Vl%~@ zr7w@mbj;N(94n%B%LTiaJt)PzA=QjR_cxLiLc#K^K+x+{ct;R%glW<_YKbqt?-HcC zlbfJ!xm%EenJ@nhT5A(PZ0$#TfgTW@H-MgNWe!A zgz|A&DulWZa1&MHc)$CI@?k%?XGd~W&qT2Vk4^gSdEDbOSV=BTFh6qm?NLPVIQtoO z?WDq31m0J9?O**v29}so%@?A-`T+*4T8$*iMeL9Ag@d2?0c@x%8u9J@yWUT;Pez{f z+eYhJ+=NJdKV) zo=nk%`TS-ue|i}4d7cc5u==U>Js5=kZ`L~~VCJNW;KH3l1qX>;cDA>*Z zDu3}I3&uu4Fikf_F2jeXq@UPFwd>u+ch09srhqWgK#UK%Nu2Z~N)h9Oc6tg`Qvhl@ zV(y`@$iM-L>d+8O6ezDXLP?!6J}E1kF(vvfAP!ZOWF2K*kXc;i0x2_B_o{Akrtxf4uFMu=RayBfQ{dtuk>K6q7D0-vgn_xWvnl!i0!@_R!>J=thu6YUyn78P`OH zi6YM5$1v8!evrRS5(_0xhPze+&!L5Ztjg2Ml zAoY*;J3M}niIP$T0(87=VjSLH^%!!KWH6cCHE=M#7d_tDY_um}#*Nq6cQ(TCa5ud$ zJwW0YhtPg(rT)7J?i>0;YM^D4PDNXjoldNeh9!El#9p*FnjBi`nSHXQ7bl&qv^aBi zx4o=q57p6j`K^l8UpUE2yy0{!J@nQ1(oMj^VFNn))rZbsH&BN1|5bGQ+45YsN7;25!S)GAt$iF)qi&CJGA=O!IxPFge`u z-T+L1kcO=mUVI7P%4Uj5k_C(S>#UNkH0#FQt#tc-_HEaDio4Hn2$@i3$$FUo!5!~X z6gq=5vKmmg3!m?@Qg{W%Td* z76}oe%QI+9O8pyb5O5yoP^U#D$!;y>5!qVSu5Z0IA(}gtrhdK`V6b;tNq!PF`;7q0 z$6nhHvOFI#{7747 zO+RcAp~FA$cCdXDr^!O{VeI))dvA+)x@T1$3z6dT1jB|k)`Sd02XCLA=xD(B%K^fM zWc=yylX$IpgF1XQ)>$E_z7HHZY~;a@EYNh~2LP=-T7-z4?6h2=Ac~6RMPV@VQIh90 z9r~*!u2Rp88P$>B+AD!hzt3g@+*ixS^1uB64ow^vrBU&gEv4?uX^-X0(#yi!%Cd{7 zS}PLrv=OD51Q?%g`_z92Q_v1V>#3?^Dof1umks6u|;;Do5zi zmL)m=ebYpQftRzt%Psa1N%66%#w~v>)zNWyNwEOEu0NJC(37wf8S)qr3CJIKIm(T) zsIoju8#gav$Y6T+<+xcKN18er&}%dHE&B9CoU0cs9vRsRd-k~QQ zA25dVPmdu3_CRpK=Q-BupoICA6v{EDiPddQaLDxR&gcGp;>@E@aly;y!=q7vz#kW# zSNJ#2t!WvYunBN=g!yuK{4c3Q^Km}Gxx*wIzW58| zwT5s%gwI?<&yCYFUsXOGyrm8KMec>tpUZ%EGQ+lcw z!M>LouJg+MFs?{fQ`NX3;Yk_iA#sJ-Y@;*dG+R!yBN28=@q0a85|31Dm&r@s@U9n8 z&5S(>#pQ*E2K4O5M(SB+Pr+wA= za}2umrA&Xkv%{nK+xo3rIabHdmDL7{W@WzTb|bI_yk6HA*mALy*wuZ=Tf9r=D>;|z)vhIUXH(k%cF@2|l>5%~2s?F-RbTb*g`c zml1e1C-fhr=YKX${{=6}(rorXEJC&wwnAxm3_1lH^?WytM$Nv602@BXLaNvZhevxM z&^tsAej*C+J|4l*wM=!C1~D-S=sO$o8W zO@4B%SxJc{w@=fdM96ng|BV4$*l2N1z)6io!AXaHOGsVNqqKop>AoxXaG<7IW_9S- zH?lrXBo#KS@uXpb-=_k-5<3{u6BM@z=d;SGPG~A^v+riuSFk3=qRu!TxG0oFemK}% zkec8bR((Borl^Brpi^J&%xVq_zp02pTqTL1u$J>^yMQ-!4wPLyYFL|&*<|9_9O0B68UgQS2iR6f4+AA}(75Hc~&! z{wM;ac$b`L{}WWk|1VJShHR!JocpH~xU zJ>8ftYAVt9G49WXF`T8&i1-~mxBlkV5@M?ZfIdQoguYa>Qwnqpi;WY8yfFY!2FIso zF!@CW1ZC#M)A(BgNb}1=N!_hHV#@2B)ZPQN>RZhVQRXFWUAkmdO?};iPYaR2(vRct zf&Pg}5gO7?D?shnMRpoYMdZ>38_j1IkIj8Xqgkiw2uuN5?^7I3hPEBnJlUXCaL~^|dtAwQCfD0fs@Po2J+5cW2U=eP-`uGz zeVg15X?q|2uvYmpM2a(sNVBo7^$`$_cl5C3X|;Wwm=yYXo!t*h!8Q#(p>~c!hHBUh zUvFI$qr&%3hP9i+DG%pgmr{-Zg|fxMX9V6V+bmg)X|cRL%2%dvwBAhX=b31KP4L})$Q+sTWO z<=D;tYm#bZ>MIOEDEk5*!07hy@>pV6P)1BK8~C=hsin}OR!CPV4-8h6NK+ry1E^6i z0aS<{Ki;f*1tuuKL!a^?Q)CbZ)+AUlAM^1#q$JU|aa;5R{dI8B@P0s(OS(15!kln6 z6_#QdC+RTR4@2_(N)2v`b+fm&N#ycjAY^Qwc@;cTSWp2AGAZC zbzbsxnso~2=`Ry&osbj6v)btE5Zd!1?s@=uVwsbXCqxh8llgjR=Pw0Fu<8|;1_|wS zXves?xE$lf+hTYiSiPJzpW4!t>pGWSF7!+&i0#%BJ$v|IY4Qm;rnW~9%;)5#`3+Xz za;!voL=4ij$r=*}+q=Z`zZ-RleY;HuUr?Hg^j~`Bz38_r4XW&(@yffyvdW(C)l6ht z7kUnHA{lBz`Q3zGWk(Z~ilkV++xsiKMQA6Vx4|*5=wX^De(Hx7#O|LkEt?{Z--U|t zmyh#+hL`LHppMI3eY~#ARI_b6fnyh{|D1kk0sk94@t)d_2%-4!7d;V+W_}0)$PEy| z1+XwXnd0+Z2e~+2eA7QjA|9Rlk-)rbr#`LhN-itp5Q8LT0pM~Hc;n5j1*x45SQr@` zq6G2N0}6%4#EQ^F=$i$_rKT|?_?ri&=fpv>EWkFoB|bFKR-TyZ%LIhwyP770e3z)= z=FZnNl=YQfANnOAJx)afqlWHCfaBOCPb(4#?fAODMmpq7oU*tfxZ?DAbC0pWXLf&& z?9jXYcmukG`F%$xgz zW4ep)sR>)9A<^MKzY#POdwzW4hknz$wyPH6Gbrv=x7VReTaz7iqj48!>P z+14WjF^l9#k*(tODDm%X3*iiEFoqyT#OwTMUR20NoP_6~Nd#Pi@?)$D21$sx^-4CA zbX;~Z^dyLV>p$tqe@#Cb-fkoBn#8bg2tiYvtY%R&N|kQcA>H_CYayc0b+-5 zRWn4;n6&s8u!P;UAi`#2N8#PG-jgokps{A(d7H>*6*2Z~2>V~fJ72&Z# z^#^Z-;AR}Zee6~cmBBpK{G-cq@JW>RN;_lw{ImMY)7Gl0{z_##0xaHX8>*j6VgnUK zGzU^$3``k3?Rx^xj|dJb`OvlJLiYoEi5$8505D-;t7fK{k=2ikuF4M1pG8-zko>oF z$brkz1AhR6K09Feo+u&Cgrw8!x^9)7g=$hz`^aLS7#Q$A5b#a>ec%%eOnhZAyQ3E= zv%PXL1P`!T`^1SF&6#7X?#TbF^5{X~q>dlo(V?)Dmk;IDasasm^};I# zTa4rV!!zbFxiQP8=xRqBQ}39EB}+4*_mP)L*+qB%BSBvTg9(lQU>D^(UX#hON`LKX zqdA3$4ZwU_o`aZ?rM=Iks}Q4kOk;~P;W9n7DegzsB?Ki8WI%l#4Fr%{6LwhdBfFGRccMGmz_5!Zx11Iy z;jt_aaS5PkeFCIV)tIKEu6~aRR{MfRa;4!=q0a7G@q8;t!K$TXmsv!!&EaDE{mZ*qSl|@qfBVfiAqjz9E=y zc|e$OyK6cgKAj}ovruc0fruGl#z=ytQ#2d(k}!tR46=~Y3n2e#u6|FJp)i-6UvEn? zUV#v9Y(&#M(-#;162BjCcK1>KJuDeaD4f1BWlA!p8BQ}r?YwvS~r8WeFZ4&#~Cinjx@j2;ItM6x{0rxDn&N%Xq<%RDvHTZ^)+aEX&ac2qW8C zCzo2H+%bxta^K6XQ0GS%1t)Rr7bHyhsd~u`iDnEzace^ig8y-Oi?E@2k@n4D<`0AvrOT6ZjfA^xMJsYi_A*b zqPj-03JZZI+ZIz`S-Wm$e78-nNmsx6paFW=V$`5*;_H-CbwBaZUs~^`lKY#s}@%fEUEyr@dO9n{9p>x$s*AonTFA@>5h7NcH z?tG11XNc1fNhcjf{h~JiV>}4w7NzsCwqQ7!&v+;U-@X8pDEMh%q~uIVDhuu})y`JG zQvr~P3$e|_+|A;+~Uywe+tR*Mt!Dv3>rIHA}x8^}kI`zx44`;o^NLJ>Xo%Wah;{5&uv`Xz5$;x0nr+#I>|Jio=tY~ly z60md^Ta==>`dZ3pl&0O|dkpINUKI_8&NBbX`PA{gN5TiH--DhdyX!;_L|^@X(_`^X z(E2FC;4>-z(ka9^5y0c8Ln2*g}?7lfRhOnoLOdM_tfbdR(^T+Z?hO4Qu)P3mKCb+K7)=kovn z$TqQ;flTjN}X7YiDtlX$aKsY`=onE1|hL3&tzpp3j z2Mngu+DSI1FOCotu{C;RhRw+Zdlg1BQpk4(xWxo>tuO!c*}T9!o5H_8o7|yo&kzdL z?54j)QA6jL}<|m{ZMgEExLF(GfIvCw+WJ54LY!uzZ~EN8AU3 zB{h5VrYVfLd-|C>oBR5QXa@Ft``mT@3f%gAMoap2D@W~B5_ zE6F9x@&wyfrk91}G(^^_La9%c`x{V-Y^X>r`H z75nOGixop(tZYs^N3Hu@a!n;4$|d53;3|DxS{zcJ8us<;RHZ>r*aL;e^4U7`FPNWM zW5s-v{rXU*LQ~~po7>sm;;`#VK<9t{%=AW@Ym8F~X%x(yF{5(5PoHB)yKr6JP{yBU z(^|hINV2Q>j=4sF9U*cfPCkeqj_KF@fg7RFe|J-d#jmD7=V=;0T+dKm%QV#> z!hPE8o#*3x8r#mk!UWmR7fe(FYkfHhQnk-E?>lt9DM~RPdRz>#bV-@c;KWYrP6+Q_ zEq)te#1Bt)SWMl@cDtwD2MC_(V~@$1dQ(b*0=evkX04g`mpZ>0!Y;2l5}_!RpU~DQ zli1@3m2|E=@_)$!Pz^<(T#qFnDPO&@xT&1U~rN-{*pKas0O<2@Xd0|V%PVB=r` zXaQWDm}k`oIQ`pNo2!hCY?DrfJJ#;s5ft{=d2|3@6Lft79UE=mzal8m6gD57WNR=2 z%5qhTSV?p|=9XWQ6cHenAVQkeOm0qjeiw=-tIZ_VQP_ytUefAy|l^H7FWErKNB~f!I>wTLzV26|zo6 z;M<|NWQz=$RH3sAiy+mcp%_*VTTqcIl~7J;9Q#J7p!&y0TAQ@HqU#nC)_p zL-92y0I=p=eB%>Y*4^56g{z&J|(+_eLXrFalzh8bJYQ7{<*mg;q zEldseNo!|0+xE!MhW&25k=}iZj;><-6?8niI34WsdlM_;J$Jq<)h%)zKP1cNdnn8h zAMYq;$p)abgEF`&QKl!@bpWDV?mNn*`l1Vpjl#gW_N!n(qlS@jwgsDCSmS2#I#BD! zbE%+*Ntbi@9Ny1Ug9vdcWxZtz!2v!@VSxO&r)~z!IM@OfQn3o(aQ-gv;Vw1;A zfjUFet9YtGEj@|AgJ$D+^elMIlf8GRFvWE4MNz!vRI`*Di6F&BtWPC)!4Ri*Vk_%c zNt0<9-b#p8$m^|-H2LCm@_u1KdzZOT1IIK}J|nVqx>yWGwHJ{k(6ke;cfC?t5<6F9 zncVOj&Q{qn#DOm806B10b5ggI1*WJtaMiNMB<1R30?w3lMKLTqp}4(5S(vGN=M)cRd;;rkw*Ykl+@n1&EJlOMcUztGlc z7GhGuY{*=|43LPIQL=U@yI~=IeDy9I$t35B5`;~3a245zmQ`0P%JKe^#JXcJ5;U&u zba;_v5RHC69Ykl-IOCNO5kG!6YjN$qebuN?r$juR>zvJyjbNhq{1f5D)iAoIsWlM0 z@LVvH&DGNH+K=DX6kmC}Z7}UL;{zWvME%)7NhIC^xrJ=5$2~J_MXR+q53lzt_dkgq z)VE2B%A1z)p^vi4CY*`f_s7KYy9l1bzp)Aa5QTk)51 z>1a;iB<7ZX#J!RA>qIP~O5%F(v!2I~v1H{ZL`NSaWI??HJ`y*%XQLfI&-Sx#W5^}; z@vHBAzAt$Noe}vJ8tr={wRlA*5{j?FNAjxezqR7!oO%?KxZQ=!bim@W?p>vjr%(oN zpoTFL*lk>XPYMO1t&W=)+^Hi=f&&F)a`u8|dhW*=D2nBy#^c=lAlR=%WDejULVzy; z%0Q9km>%0JNScNXQ_pRHq!@7Xz2&I|gg2=&Aj_NaxXc{<0rGkG7u|S*o47cSuE(LJ_QwjqX@y9`Vfm2Xm027gtIRIA&DU?(n zM?!Cad~SJ)$CZ%_RR7qm+IpJ!x7v*Y9@meA4s_FM2~E&3#cCV+hn1!$oc3>_S_VR6w4vjT-%S!_yE@3pEC?7;G(9x zKvyMSz=mf5UTB5@%M*L$D3%0&rcEq4Ub#(RAYJkJa3U;`UEFDR)hOF~ zf3JgGijBvgoL zJ-4~%_b!v>mky;|1L8f3*4hd(WC@DZCM9sb2UOD!{YsbczN+egLo9k)0~IF;FnVvQ z?L`OZLe$mNCs+~CDJYacd~55uxQrj{%a8qr1JVNXm3)y}Z+RL^a-Oi5zh|H2E_hU` z1_S8W{Lm&HY)sBF1sZi&%=d1o6pA%-+cj;xT{?1U9(-Bpm^{3&C3@L15n1W%u`;=< zti8;OR3GKrj?1;oN0I*!6C55Z%-hVpqX#r5cr@vFu zO6y?`GUoAw&A%w=EeB4YFI+APfR^*KpA`RBWtBR&3_cx9nf*CU@q3H|-%FF59M3?d z`;P;^u((Ye&XM%q^@v{u(jUwZ1D{G38CXvv@BVwOkV-woTtvv--5(TOAXSIb`iu|K=eXR_x|(!X&!A_@MPh~ zt))(3Y6_)iZoQMGu|6;!WJ|&n2@=n4H1h_G^VwCTN}}LB-omQu<6F2y*gkaX%f9xw zghccdU}czG_QP+Y)dz~z*@&UUi6yW5iW8Ezcyo8;p8GIR7yDb$a+zoQ=fEje1G&qK zXoFJi$>CT)Qa8VVd3;SnJUYGZ2f=Kp=59Mit`NO&@Aee`2=?+8W=0bop*V&1n7-goskEw%x zX>pGr>$z%=9%mMEXH2u_y6L&Tg$8BqmEXQn!=4FSaA= z%`W!?rtrh*s-9jU%I!wj#a6S#L~g8a?R#FN>j0va4EGvlEaz9tjqM>kkfGhuZM#sA z;XwM$fIv7>V#Bup<&Kfm~baAqUeLOB!b92{gyJRYtwK=#~4ew@N~e(>xIx9v+Qtiv?J zRj~O@TYj3&!`kn&7FHMMl&_Ovu5|9%+`R2xb-ymDeZwcvD=TE)Zi^R7HX>`G1Fp@} zktQw8^9tVfSDVSz%|Dh>;$e?&*B!Z@x6l#>c<=R;Hc2S%1>11n97KJQyg5XYdv^nh ztQIA|wPAfLJ!&Ib5j=_cy#)F;&7j{67-<812Y<5D#(XVdpAP&90@|X}aStER6^Ans z@A*zqcITA=gZ{76y@CJ3*IW2S9j@Ek-x&rbs1b$^=>|bjNf|;)KpI3qL^>3a24NVw zyKCs~kWd^#S{xA&kp^j%7BKjYd+&43KKt{Y_n&yybKmz`*Lv5zGaXYP|NFs{i{P`W z_FR9&kG=;RyY_M*Dx^QDB#ygoP=Qoz&-eSYCEjWN9)#I{<*XDrq!JKzJ2)5-i$KDN z4>C%$fOAjx)Hb?7km{H}k8w({$QoN#b0p#p4j{|j3*pJMfM4+fQ}6C!$*~qlF#tr% zhYoM?FM@Nr1*g$TI5V0PNEw$wympNwmLFI^-(D%pJgQD>wcdgX37a+)D4!SnINHS2S~DglvK-r#{bgJrzkR_&oQZm)0TmDNxq&J<5_cr9$jY` zmHf7pSh&k2VS)y%_-M0a7y%|(M=e1#ZOT+`@AXSt0}|@ZDGy6}fm~k=YLO4nYim|F zUP)`qnk7+eyj+qQ-qXI5o#K{3Vb4UiH%>YJtl;b9lKhsHYS4fI0&0X~4@%S}Nxnt} zM=jI;M(TNzc@zYiZ&C|w-$hH#p@M$P^{H)@zq^K#4EbzRe)(>+o~$27-lYR$)u-YU z8)>Kz=C6v{7B}BZQ{c+EURKbN;q_A|9+n>oS4jm6_2#Zy0XOL?SaH$A5yrvZTE~wJ zi-8Z6Wk*o(kPuheHVMeoGhJC`M{Cf^*s1AyNjgf{blFLx(3re72xV(R8}$*D*qS@d zQ)>2f&*&cgjg$!OU<>;W(|eCS(-YEcAN|z4XIfR=l=-&C?&j#HapUEttkqr1htjhq z>C?>>^1Kcb)pf&7`X=sar9;*`rk5zD8!ork+IY%FApgT+`QbkWugfexWK4bCG=Jk? zXx9pTDIN^QeHapORf_E&$Qh$Byd#FWOaw(ff?HnAo=NJBkXY(kbBcclb0%U* zzK^_-sMFX<+9;5#_gaswEQIhk@!-r9uL|xbR@3mUl3QA*j+KSX zv;38^w|s@Ns_WbYsz()1tH^n1B!p|*SGt2FCFVt_7`oAfAGtImhQAyV0 z()^0+4(_7K4teJ*d`vJynDxVB;l(HZazmBv??D_cth1dr!(rc(lfHEZ^b7TOnemjM zNg2>+B~lah4K7~JZjjq8x>J8u5711^1nEB3KoQ(65dge06cmx5pCAP=eRUAsbvmR< zZ0s=Z>aYDba9)W66obvP2E<#>LZTPwMbuNJ-Km$$+5&y=9|Yx5Scp^89_`wVSC0p1 z5ga_wco?OYs7BD&>%dhb9dg&}QxAS9O2W-{K%T-DuO*yGD0!NkKfC8X*PPWW0Df?) zg|OX}^e9OB0d?tOvz_wiHt1OlRJeD8%XyJ9Vy^7y>&;K`tJ=OZaf+7VK`u{zt8Nf` z4jM1oKlN+LNM#p%i{7fbOm`hbv@6K&THlfXxqCU(lJw1H303H%COrfa6+r*i3;aQUJ3_Z*84Oo~8 z2qG~QMR=7E^6HcWcAvBBQubb`fL0;mFGRt*&q0qnpS^@v9&mzfQZ8pZ6@q}2qnX1vFm%sy@#PXGa zL8UezDuN;o9-R_`SlWw^rvTGa;)iv-XkxPdPr>`|j>dlsiyC@O87Y(bUsc6hA*n7I z?7C>MK;|7=umP#B%{qL2NRt}%6dGq(3NGmYYvsG=nC$Th%Hy>eBCn-B5$U^pZ5VTn zf+I+f$9{ewOIw5jlO2{?KC9j_F8tCUbvjj9J}Xn5BlSb**Hn^U2x-Dq3Ls8Mj-QE) zaF?FUkebr9@YWX&J$mEAC7jacCgOK1f3V%v2#&8kz}3!P4mR22=i-lGxgp3$Si??D8*}$MBX{F*5 zwD*0sQiJPKSda&%np?&Bx3QCEW_oa`Td1?TUe*-*5M8|G?;Z=^s7aYBI@0H)Yjlt$ zW5aK)q~OFVft^{N$Zz^U{1mUvgEJGTQCnEpZ_uNs9iQ%dO{Ygp*;;us&Dv+5v{Y!< zI+={lPJb&b@pP|svA^?qwv)cC?Kj@uxpKx_Xuqk(&=fkbJ@S9(eIxtkChjsfWV52rrB%YfCPl-#^iXQyi@^kCX z)6use9;yUZBDc3XTIBO62}l1kZ)`}Y5JJsD5uic@hb1I>()$NQ!|3CavU7BOiP-DR zN4X`X()m%wg;`~_bzBv$w$;V;ZKYKH4zRe^7q1ggG?fldYw$xJP8MnQ0A~2TXGgyW z&8vw|Hoa3GG49>7E9l84@0Qgq1^T{q@5RCG1K}@kH)amcgb}d$@0jHyII8Du9*4pb znGma@;>Tj=efp}=)w_uh3=Qc)_35}NK6Z8HX$uL5vQpxq$^|oPs5qCVV~XmmqT7LO zXQnXpy@w+$la7BV&*X09*YdKw%TebZFnFc@Q=wpXk8{cUlj?iP#;vUq8?OuRCrKwd z)@DpM)G_AP^@XTwJ@MU z`dBO4g)SkrSw6p)+{Ml+rw|bTdGG$_3 z&CRrY?1N3(xW2lQ7=r2`N#?bI@uZ9@`eFg&Kx96gSKk-vCtx)^mZ>zbS)8$Dlwpfl z)|OU+Dixjekx|w(@FDD?-O6+2*TTQ#cJvHygxbVc_7<>kZLQ;E`|n|aXW5y($+0IL zAwayUUK*!FVsr8MLScW zgJn4DrBBbR$xmQ84#)xaQKf4m-DZwV{4Na=bDAsf7$=b=kY z;-XBnHqp+&RuzXB^OtOArCjL+iMm(IPWL0bs*Q9(Y-dUnoOmgih#o0}xHuMsG)I@b zzQV)-?q@K>;pGtKRuat1poS+r+-gafKH5STRUZ`jjRq-1g?X3{z^dCMd^5tRXK=UC z{MqGRn0&$=Ud0%?YB3IC3`^kUG7bdOKVvjPhs!Xu0m5AVjD#1c*NDAVvk>G zgtU5b#r0zoEtK+-Jk-H+9(%cC?~kyVZK&gKuCxpGL%-X4_zAz6mh51+ZZ7jN<}-cv z77$Y+2{a%tT1{09j0mAbBBM5*nbh@N47`8&OPz!gcuuxi5pzobgi8T;ag?#Vt(R(D z%-0&T-m&bQH%=7&wb#d>^lSg|V7e?FTYnw)&_g}G7qH=Ak6Rz>5(kb%Q4d6Zd{_*Z zUz`n5s62X={RDihe~j{Nii|h+;u1r7MS@B7)T1w46T`$~ z3n}dX#qBjj><=~cvC=ewa+Pe9yL%|@E zIc|{>4k#&_BN5A^2o@ipy*087zN=!xWdx{3D&k@phD`Zb$b!{1-IM?C!S8?Tpob4W zQ9YCm6g`Bwl|4c7@Us<^L-&qNw?qc}=^A2NYJ~iy8|eh36k6e^VC09%GT;E%HHNj> zB^4L#t$5UlpeOf#Pc2$dWZ|aB%;aUEDyx9v3nKYxwc7?w#Pm8tFRhRBHpJaKS=;z z?^Dq`9T%X$;5c|3sdXZi^A2!j0{w!>$DQvI`P|Etzc^gc01Q#*l2DQg0jg4`Fp$9Y z2$L_MyJ|#p>L$2Iivwdsu=sfGDz4? zV{y>v{abcdAk4ZWO0{R)|F`Kw8U-`;lLcVbK_SEpvp0>oLI8?AGch~I-aF!+E|8Ix zTUvH2KeCW2Gp@Y8L5Qlr)c~j|Y3%H}jB2qfs(sm4PXF4TCbq7BEEthu_KYTQ^zF1e zQ-Q~e-j53o-Bs>1#Z!wL+OQS(=*i9RcbDH|*5>zq$c7(c<~mL<#6-{}yaHMB7?{D> zEQ3Ji>rkXd#Un;oMn@!2P)ibunY|tRLx3XGW{*=HLk_=?sj@%d=}v8BmHxGPz^bKw z&6#gZwXyJa9_+Z%*+M*qn!5aH*;Gmp~bmCDDIJ2^;{=^ zv)9rk;x)9|#PrT1KCH zZ@xKnxL{}V108s}Wa?h9o>QMHUP439j-jJL06iny1pr|-WrKtM5Gehx4rrX~c<+ z4S{30+XZ-dc8DJj`s+DO)lGIRW-uqSE`@_7_msWv zmsRFxAtyA7^E5{U2eWwtItl}xZVN8^ZhR742@g&tfU>bSddkVcE)JWps2iPq#X9E| z^N}fLej91oP9~M`7{Bd`Lb||DTS?VI%vF{ARG{q+NWGV=Ys9&$zf$G; z3Spssxh8)0ho3frbOLgdxw|<;mZmSF+<YQImEylm*OZRFE*a1XxouwmGgPd@!;x)7jg_tf=A*pzR_Qw%~2$PGj{yn zZqI`$?|$!QpcdXU@JKx08BHO`QFrq5_#KE*=tgV^$`vRd!3D*iqh=GV~{!4%9>mV=%cOM z^S9e9g1@eKaUqmkMbe^7LeeiaKxMuUO}n-V6XGM)GUteMcL9;KIFQI*6-kiC6upT) z%n1_Jikc(gL77+lua>3%bN`9q%%UM>8oc{Q)#)^*R0N)gkq=LnCNs?!d8C2K@=TUS z!WPB$Ki;{e)0F6f>Jf($K;o*&(hQlntKJ%zo7qXy6p3Z06;Xp~)&@B|jCR)x&NSW9 z(Ye!-oX=2+TJ#jnB>H3AV#VTP5XNg^1j%yJ%B?ZxtNcmY6&vzX_r?Vyn+y1J`I)u_ z2R++pq2FD;zz!YB0xb`3Zq41dB%-98Z_ElOFj&cQb{7al-O1qI2`aP>{YdZ8@OzqpYsz$awyJ_Nlcno- zi)1Jv#Ay%vP=^ltcDP47c)O?E%o8x;T{d|xJ}tyfhoJwm4fo12rU^gB{){b^e;a9( zGD1`CZeC3lm_68eo>mzhP(eAsVA2tuk`aEJ^PVpUV28L73UgJu#?N$*-D5iT$yAT6 zq9D-hXMg~2I#~c0;{){d(=LOh#{G!`SIVk z!vn%UZigYV^V>8GPuZe>^RTZXwH^e=xg6m=n4fDUl8`1t3hn;_`9gObszanvA*%r|krD2++Tq8YSY& z)De`-fF_%9d*Hi|!mKnNDt0I*=jV}8(F*jiM>=ZWzQl}r8h!9xGr-3wy#VKi%1XSS zn^IU=rB-ZXksDs!)O;(m&axrDrR$|E?1c;9*!k*B6;*;KakCmR@Ghpd)DQNS@G%PU zI@=!z>z`SEGBg)JV?4gHZ5H<>U}1Xa;2vr?daCj8{PrwIITZu8KYxyYP2IBMy= zW8<mYI^quiT#ebI#@)-9PPqh_$rpzP+xz^CH8j{t5X5l3W;<>6?%2oPiW) zW*=`V!cD}yvf@7V=ZJc*TkAjDv@E`9d#m=!b$ZCAR`Ytz&6up_X3|b}cNUMwo~<#t z2ftZ-thi`SPegBBIi;Qn$#V9nvkvimK{T(*=J$4be+A!kQ+PVp<-12d_@W{H&j+#_ zlb>10-2evQ?6bn;hP#zQ;M0-Qh&N=ve?#YBVD`qI3kWSEi~|m*-?t2*vL-PKRi1nw z>_<03!x)Z6o+?6rc%F_uYGfZC~kL$M_fmW71(&b zn#iSu%2Nk$5)aylJ2_3j7o2iAQXL$nYi!Mn09SB)iRG2c;^ne(kLpi1(Uj(6u+1lw zVg+?O%IICQ_sT*AA4}O^_Dpx~B!5f4KwnO;c>Wl=O zl7EC0rPI9sQVw=AQzB~Dr!AJuiF-n&S^3N=RV2|eiq&=JKsB~#LfyGmcrJS5Qu9Go zSiQ2Arb9xa9RN31&U6#cv6J= znj6&L6pDT+XVIWbN@nGP=7#Qv6;F?_Dozz-pz+c|9FVnd=aLV9z3uFVP**h&}h`_-``fU&Y+SQMJ^=_;?DDS`NJsMzrVlHin!QuS9o_ z31f511OMV}K;>h?;BLfg9>cZEv$~`rV+HVaPY{_@k|mw`B2Ao+%1)MU^!-c=IzisP zn^KQs%;h-gTVMkhm%Y$Y#BV&^=u8ExpCYK}(WBpD$SztRs|fMbRYd3z266NTiE!Y; zuT%_jL-gz-D6BdEqnGgiQ!zCKfSA%>00|98E2w=U4U)+DL3JxQlk|I9gBIpO^4=W@ zr|)SHb^N(NWw=}wkO2_~gf3TxBTlc9wxjHLr`$l4o!`^g7}vQf9kpqfuI41U*xlrf zd~2JoN9nYtB+2Fod&CUNbReR_KVh_8+212W=fGm~j(xsuh53Fi8!Ssq1le1Mu==qL z`3^YLYSth$JhJ@O!%y;bE6=FwQw3C}aJpAsUL+TAs%$7GB@&)Rql)WxH(?-Y{m`<> z@Iz+M9X%N!&CAUh?vTxCcCKTBMTHc7p1u8LLo*Jm3s4B~X~K2iQ<3rHP%v&#vsU$5 z#ACuKpI0KT3r*46Oord!b%Ks%jU=3Wps8c6rmP)_Fu5@mqWZhsxJNUpCAl@VA)vy5 zA?c%NlPB)_D`E34-B)M7k3t?A*=rxmjGSp0#Cx)0Cu#Pkxv$p zGeotNx|SsW({1BwD&|psXMWr4MP)r4v+(j|51}x<0Q?*HA+?5@-Os)mF9jj03Is2%5gS>V*dxby}obdDU&V; zN$-IAdv=`SdJ*$;R_ z6pfz|K$S_HGY#nrG);?wvdSA8#i}B008~&@XBQtLrP_`r(Cy`$PO4OQn!16vrTIAf z+WzsW`0n=(Kwtgzf*r9c2sXC3Za1^??8TRjZ$_wL>{`e76D0)GCy(Ca9~biamDShc znDHS}E0i_L?>KrR1X*{hKfL4YkKvv$a_=9%tQre;z9cmBl^dVPqIPjZ#PJ|sDJj&r zt^f3@?U>iKOVc*1>UQH1vYcnXe8o453so+djH0ep%BRXflRW%rdX%tK+4}O{8$t?? zMP3+_+Z!Z8v>v{>5ki)-G}7V};~1-n%ouFn7@GJJLI2&r%)iz4)y~IU%jUWz`gKye z>ghL&2dVPSyAo?pT;F=M_?+dM2=mZ+i={J-etr+!F;OHicy13H3ek9d)w!N{#p?El z$97#%3`K{x@^0R$zV$LgRP)T<@~+DoG_7C;o#!XKDgCgx!jjG3{@dIu2C_wqfII8! z-cNwUKkVniEL1Hoek_cH!w(my>S=Jwf!;s$Kxk<2Z+k6_0V@G?;ZNolf}nd z7_gK$*i;YZhFPs8sgqS=lOYIrR5C9zD@%@M?)Jd~la^#g5sPUn3!-?N7L`d2FW6=NKLHp!iE?ui;V@8$~26+?%VSp+#lgPFPh`^I6=ZT z%RMDa!3ZnyP#)8dB+K9kgov(%RH_nq+7`pb+!%S(`4E{g^sh$AB2>Bhzc)&X`Teu$ zVvu-tR20B~wwbM8A&mzv`B*)yV8O6L(L~0>B`PFgo^?yTSF|@6wDJ?rE-Nl8;)e!l z^7OFNA{B*B#KU2~<|uk@tBKhE8G9v(Ewqw7&o@pKklqUGXwadeQ_(Z^dF#o68Y=V*T&UZP(~2quG=D%59tXmFQ9fkZqFV_1qc z8Z^@r45WjBrM77tv$3J^t#w9PJJbt)A8T(V)yqf;qqfX=Iu?#eDCI>E$+NfdH>T>N z>1wPg$#3VTqXEBH&P6Dq&&Kbh8An;`pmt|=g3P+POuIJ1aCCNDvn?*C)P;#Qedb-d zFev?)i$*Qyp6S0I7})>>u<{>@x9ccP#l_t)^)F{BKBt!xL{vPU34t?HxgH|cy4LJz zU(wYpusSOu;q>ojbuGgtrvG`tU&X7BL8TtI{h%EDO5Ci<(le>~-vVH6y2Q zhjUR8RrUZ??Z}6CM5XJq?up4cPpY>dPk?D?e%*fhjRQ^W#y6YAR4>Ap?FG$a@A zogF3~_9hAyH@Z0P*|sYR-5np|Q<-%9K}yn=q>ETO3B11*^7F^S zr_P5q zDDt@i1nGdF-Q5yEx}G>XrlweK!wMB&R`wO?gb+S;%(tuMaM_VH z2861R5`&k~J1I$C=Q}w08JXLqec7EP^|l^J=O)q3&fNMWrLN5jN)~`)moCoO7X(29 zO`v9>JP?TJfG-6|$ar*>z+^ayZ*3R&t`zXT*B!OCBlbx}@UmZMefKj6x>gaSPy#?8 z1rOa`=LYzalF%D1)xD&?@BF5dvVa)?plFfUFpxSc`AYrZYExchJAT>cf5B=fWiv8e%UQv_+qp0Bj-6h{|={gKuJMJ@TMryd1`I(~}`uL@=aB1}*ukmSJu5Rwq>Flosq4ZE$i_Y~^dVny=?hoLTd3_!$- zY2c1Sk1CD{z2(W1$ELCG1wCNu3-MpMp+>z9#?R!E{Dz`Ko zedmy_(e33gJHcSVp8Uo`injp|6z*W)&vb$_zdzfAF)o3gaCrbTk`Gk1(fByk7Esam zQ5*>3gq6`W#PaZhShl2ZDS~_RzsXi22vBvEs>7HTWgEGt=fO7?TAq)mSZE8IzAi9J z0j_?rW?39En7o7|(RgJIo+GXQ9Cbj!p0=bDf;76qd>kfn91NJxPEuou4qiJ)qozEs}#9Wl-yX|1%Wt+s;RndxOdX^7OWv1S;Z8IU^{0N6h@#_=JRpDbm9< zEtLQ&_h;cr$thwee^-Mb`ry>Od=Er=fH5p5v7n;TpeV+arVLxv)GS@|*fcwrxbWmb zWW2Z+l+gHUpbD1h5EuMr@LdWjy2p;jx}5MS?DdETtbcYngo#+kHrBbaZIAe}?zOnJ zb7-kWLIIr^nI_rsfYct@=vLK5R`d0luYQH?8f<4D?BeZOD93B+JL=hF*r@D5#} zTx)-?*rAS4yGSl^py9e@N^5c>AacJ{HH*bjEGqRopHB3!x$4nb%0oi7vJw54a@sXq zzGlX_^9U_*86cW8tmRsDGQJz|%r;3+o*SAMJ(6>WPl;t0glNHaJgXc9I zTowWu@@6kZ{da`ir0B$S^OhWCLTh`<&yL!VI=6LudY$Oj^Ns?N7Gp75 z(N|R0)5e|ez0eU6X>tj#3#RA`V7dAAV-oKVdWN>aZ&Q6g={`0Vc0k%2Q-m+(i#v`f zFAJzY(2yTIUjLlob$6f5|8(L@Pr=RHh4b?td-aI;0^h!X^SHs)3l;$X$M**%2oJhw zH68##=+);gf@uZXIp~RL30%l5gi+-(o2h!C2=kw%Md;nkS?dgPHaaUK0mB~E~j=!$o1WG`5o(3n%YaTpe=8VTYO0pC2E%sLVHnhfrPRFY~ z*33t*riNu^U;$-TU!^qjiDlaqL6>{$Z1(wp9a5wWy`HTsX|<8(GcIV0^b5rC-qBV-wp7 zzJ_ck9J9FtABtb=n ziG1^_nQ~>|rSW^w=LkbQ9!9ss`BjDiy%*eRVgx9H+4_a+*)~>E!d~u2y9J}JS^!Tt z=fuJsU&H0d(ao%sV|t`ynJjzeY-s$I+Y|z^stt>Esd!R4iGc9uBwV{j{d8y5AvBlU zGp_n*MY>^zj!r-FQBxY2TZO>SBY1BkP30orKyb-Vk*qiSA9LOcLbmY8QO(c14+S(F zdG1i_ODgM9>)TEdJ)zGWSBrXEr{lXByg2pmxNpwfOZ}WUsGhSV$^7h)!(0ks6Bp4- zIq4d{7?cswZu!zP%*|7;nefcRKRep!a9(U0 z`H0;i&Aztg!$Y!10Bu!i1*GkU;RByg)sjE;w2b-uunS%mvnR{m!v9!KzVC9qTv(6r ztAHCF3Kv=j6aGrik89KtexJ;F{~IbeP$+dL@z0r3e-1!`P?vbT4Ch!7hy1k=k&>;A z1|r$i(feM6*B2m8%iPaBuPJ6id?*v`-ag_$uu6r3HQk{5+ZNRHK8nY1ahUv$70F_T z%q1Vp!%L`T1j6ezwfIt)cqs9-9WF&TyBGc+4c8IGW8l9FSyDtWG6PiBUN?39DFtHl z@)j8yGa&ku;!n{6AcIr9;D|2-U!Mapc-yN|qnG^n81VpNqYq8khq~|LNn9h}NRlbW zLuMX9NtV?(0sTZ8);_lKL^ZbfV36BnFe`(vqDUDM=5F(dR~|hqB&i=}8f!znW~zD; z#~GZ@S_~7_fJ&R~2U(#?srjVUb*7h7qK?p&Fde_mL7Gxz}&C~-A4Us3@#%SFR#;TxxE6sYj*v4ap9@Npu zZy61sdC>sn-a9^_)Zp8tSoP9)?}TDQ1r^9{|9opp|tIuK{G*6sd=<*9N}$(^4BGbO|SJ#E2& z_5ZlaRar~BrT3)v{@1jH+u}_E;)hBg`;Bm-kA>KmCLN2xcy+NkD%^<~H25o0N1G#G z7XX;Vy}u&GO?rER>WJv!eDusGEIdM<9(K=Mk>>iN$mEn%F24ZRyBKUzT7H28!X-`* zU~&(|RaK*lG9T-^Rn)Y!O8aLSx#d>2b-$*se_)pr@_Mih0qd|Qx|)aHr&7iCInp#w z%%&iwrXAkoeO~n$E%6v1Sle-$AM*&_-aWKkZ}6OXcl1;L+lCkFXrF~KbXGwY=A+0x zv={#Bi5DQ?qJAj?{4kJ$G}WYW6^>XyN+UNLdEg;G_Ab))B+pO}+frD+o%bIRU3?IwX&Z!qabPd0u zYKrl4!}dK#L7xXaaAzaN8UWe`UyVk&615lOhrS5nw8j1A58KPrCaJrajKKVTzpr2a zq9qD8j?PaHW#<93Lf2127dK4M4j^^g590L5>OzE;M`|3a@3FLW1F7^B4Tb4!-U(B3 zAy@@5bM-w$GEp+FNN|He)*<|Vl2@qtG-p=AK~1Ni$ZLU3iX`?+nZ-g(`VWg>SN}-C z6C7+di<9UmrLl2ZRa_W^VinXjHARXjO{T{Ewi%xt9D6fvMr!n?S$WM2J~99+uE#m* zTia2w58Ru`_432=QxSW1?emr5-S9cWNKK_AOnT!66$qClz!kGitPYA$iS8>&Wwv%K z%(OEbDif64-r~pQ@9`sP8D)eJrO6yiRk#)*Y=zwrqPnK-fIz%)9Bo6`uf(qk-zN$X zvAdGEC!~E{1;W>T7T*g7T^83>ylB2Ih{u2;;~Q$42@@X_!4n51_!r@O3}T98hPt$n z`RPmOx}Po1G$e4wraHCB^vNr1fxCCMp*<(Mk8htAH3nZk>h&Y(6lMjuB0iI1it!IR z?q7PLptU41z=sWs=ld>onxYxY;Z056zcAKPWgu|6g z%bP7X^lRrOFw|_DFR}CdEnh1a?Dpco3w)=weKUq{@~&N_V|-lqNta^jbT#pvtNL21 zLZQ^$OdYs=&HhQB??y!Vp7h0L$p?O)tr{TyT%x#sd;}=(68pK^^6|gP(Zs79+LIsX zY2@bFYuf)1C@u$qSNxHs@+^Pe_x|05_%~|Aq{XY_*j4oJ6IlpMVr1-JQ9bI3~`<2w)b7I zOFa&F#S+R`3do9;y(eK1D5f4Cx^<-rG+xwBH+U+_QYG;kV-EfU<*c5>grB}HRqGRDwlYV21XR)ffZ)~Nb7B-RVF=ZFax1t zhbLS2N!lcmAXllm#XmuDa;=d1t(DC6NCKqIkd()wQpbD5fVHHh96jZjgVmfYVm_`= z*RImf7?~`SIj*c`+17g^(_>fL{2!wb6xagJ{?{l}X04|qVu1LUTk-;*`X=~qXn+SV zFbw&J%7n?p6IEt(K02E|q5SVo&*8)M&y)>`k$e9bh4@DrM@gjmpZO3&1Bz5GmI^co zOc-&e$43uyy$eXj5qEl?egS%cvDU<$oVe0zcW}_k>J3j3hpN>bo8g#%He_RZq>UN}YUs&37M7;NDo7&nlTKVkx zWpw}4aMmnji%4oV#v@zjjeRiqXi_N^SGq>sSs2RxTg4 z-ZzN?3Kup@QbTKlsh2J_pdd>;W3lAIRA9F~JJslTpY9_#(t)#ZBXWS}Q$zVgsC39| z0JAQivZ7duKB?4!({Sbeeaa&k^dI)!&>Y$+qLW?yhq=MOHj)u#5Y!(V~Y;!C}CPfM;MG0+&az>9g_=H4@rz<{! zUrl#=26ocvrhIn^1-Ic?nWx5=*l#$rQKU`e?)EQ zC9Rdo>#YCH^w1r}TF<{Ed-%0JN9s9&7r5rw{A<&QOd9c)$>?rPc|Pz`3*OKd!7C zdV1aJz?X;C>lvMhn#$qJ_E>U{Ytq!N9?z?b8V}#gqA?G^$fJOiYK3ds(I1R{?lr+l zHXDvm59)!|2#Y(HZlFkVU5{s%T;861-c6(Q7Ibos*H}aq+=FLQDy&bGX#BB_g>H zLa3=G1aAmn*ndLPpTvZKix<1WU9bmkisf{$godippLM?u#%_N9bx2UV^80Agj z8TVOla4h0?VAtLNl zMZ(-FLM{?V^JzdyWV#`u#s5Cl4xqe827VmtVO7L*5k4R({yxecrA#)uH&DD>4{?=K zh8Q_W(kx&i9Ywg8`|-e)12-Up#payitd~mYYLu$hXG&72x_mD(KGnR0_Y#vTlTvcL zR;~?Qy?VGjmwR0FToKiYI-s|r3yPHk3DatHm}&Qf(N*#XNVsXu%LVzALprK=V6`eiHO?P8( zaNMi&FmErmTy8_-o!{(X{^?lxtsleh0?!W%07?fQ2nXRiycq}6u25poWVE?D>D}3) z3j4PNH7h^{d?lLZ0n&>l{&*Y5e21#K5^Fs-7eSYQ!XLk1Tqhz!5*c{`ydD<#YndnZ zl`@0=TISiL1=y+oB17H@XSd1d8>Q~~--B^C7zx00(3s1R9=9i1X6Q8pPbg1h?q zQ8;_xX>b2nJv~jgJq?Cvna_m{IsmYq(vM4_1MfeN5EInT5U{mp^X*&v&sNjCXx0zT zY(E`)!|Kk#s=m|lGBWbRwVvXOkw?1Q5PM0!l7?+Rb zGPsDgnhDdrnksa=iQ)^5L2IU0thKYQ+5}J!FAWl!Z{$SLVX|xKwbHXRQ4I<)-5NF2~^I*4+5= z8H0FdgNJsYh>KLN)wNKjo893vtCPd7aa50mn3`KXt;^jGcchCJ2zpctqN4TgOjFMH zb_{S?2+W&2+mL6Xq+Txb=WVm;Ry#M{f&+qGOuK(c=}g|tyy^YznlIHBONBw}IJnEJ zZSIcMyFah?Pxrt4C&likAoUWoCTJv_>Ziqr0#p>K`WU7t0Ki-Xk8unw8BnQ8^n~=O zz(_HuZR=%fay!#y6pNpaW~5vq|4L+HUd2i@&n>+rC}W+#Pz*0C0Usx|5*ZREIwGZ> zAVS!Dq=Ke8Q%_P|=USs>(aIzO-)9?a;5w@JA^^0ZW9cov$4tm%?*2_)_eXq^wpr5- zQGA>%n2z6nsN|ZZkS;i=YOONU-eZ`)O2`OV zmH*KkaAxu)lN2EDi#8N~-dRR)Qm0rFifqA8@9kc2Kr)rS`hQI46?Pl7uKo(Ae92J9 z@#cn-YsWVunW46+Z^PC0pVIfMHRtIk(69FEmL7BeIvG{!2Ic3_P@$2%DgJ(3oP$@9Q6~n_8SuvW0%F`TQ)!%>gHAh}^7j+YtS45vU_#ns0t1jv8uW zXKSe@kI%jkbJJ(*p(!gJU-BdVNMEcK`QrqN<8H`oiN?iP5(}g~(CCrNNZl7>z7gN5 zcRg5gWd&bMj4MIgxxaQa^b#3O^8+cpXz=i&IC@FVpWXFHih|HHt$P3eQTNt=QMX&a z_{@+q62s6b(xrlgAc8}uw3LW+i-1Tf4k_K;-Q6V)NVkXxNOyxYh;lyM_r3S_-t|1^ zIs1Fg>-#5MKU{0Q*IMrw`c8~t5ysEntw1DtB!=-EbbQ}usCGEJ`=Qh+CdqqV_Oi;^ z4`ET_?l=QD&HZy?{Xp|Cc2bHME{Nt8%PXoKb>%#0=wj0CpZSQV5 zRV7W2Fueq;iz|WAm@5RoS~<~xut0kN$?VsCv-01@)&xPl7H$*)ro8&5G4=KiWG~%)eErl2p6LnO z6Bs+a1@07VFan(*-~#Uz9-Wr%PKFz=t8AZ=QCMW2mGfK`;h0)nQ!8Bh*c4Gv*YchV zmfdKU{IVL|^FA)2BdojkVx{%6Nq#H*FL{=t51Bh~8&^BXB#uC<497K=(5%mF(*R3rs5Id1Wh zj#h9hx^(q|bMJ&mxMm4+1MIMuXiF;Em^_yMJGY^t2xC>{laoPsYt0M7z#jp3%fzlB z4%(00D|SZA9iY!8IIGHx-t5d|My#Gzh?qV3M9*e1VYt+9-bTB95tg{b{zWiK)B+k+ zGZ3Tor7y-Qa4om;(t)3m)5+F-TIq64Fm!Ds@1WWP z!`*3HyrFE5V8-Sd$;|t>v?6`U^W)7w+(oa#!~SBGP0<5}tVkJ<5R(WFUV6g3I?{;= z1@aYr5HKl2Ux6p%)3~dKYe9ZOujVuO=tE_dFs`TP1K^y=f3sFT+8YzV}SobFrv~*_BBtKpZzr^)bOY0%CK9=>jo@UDS4JpT)8S zc=pyPUna(&^KUkANR@>h=@4V)&8Tof`}X-5D|F`r&G|-@k`ym%#(sL))b`*$#syE! z*tM3IS-uN3!t*jOzcdb#Sh_WQWIxDNiP z%icNc4a`iF_Je#=i99g83p__y;*84SN3rLM7(z-d2GliBT6jNXR4dAEQ%2fZ z1c1?b>7Xx0?$6rrqHiT1f3@qnc{1hr<=M%!%WBEVKZ5g8L4pgu(8trEGCPmIL~4l& z4aah-v|_o7m$PD!(jV7eF2VFb;7q9FFgLi+I?xU)Y?Y<~f~O~s-e#Nf;M~%Zv9;Xb zbXP=yjcK-B-l2Dq0xKa}zyYUqmizu-XxwBuv1Zp)JtSAU>;uT6u34mVW|tdzyl{|Z zeYQfVBG5M=q1*x53Y$8uJ@793!9&{po2Y5BXNSC&6~z6DVXMntG>l=cfB~J36D4sQhH^H~;cTjSk_+7MyIGt8 zlk-PH1HKU%((WkyzKzLflFzwBX8FZ@aGrjeMl}9W0p>m$YlWf4DQUB)v7AbDZZDsf`aRyg4 z`T(^2YmLr?Et|+D3yrS2TL0yiEX!2`M}X+jHrUZX!mK@~ZrPQ1riMOt5J_OzFkin` z?KUvT-aKbUh|H}8YV?e`eR~IBwqR=R?)TQ;;wHjS3Zec8a36{mhIuGydujLrYx>C7 zZ*+l(+4TGZ7ueH;$BxOsEmp{69k_YEE{762z&NOcByTX>Qe|ZLgCmD=phf&zPJa@U z#XZab^_)TX`|g1k>v!^1LL^Vd?^E#>q~<89SDM^eXX?)4Ms6hu+M8(4w z5x19IYpKfY!;c-LZ%5UI+iwb0e&Py~jT4}ql(*_DT4YgR^yJ+dKfg6Fqt?W08xhG* zI8hGneV$svAC1%6{9AfIwgrDiKIB3G zTP}c|xoX#pyzyGtj4gRe^U+xFrEU~tdtG)M2q)PS!;y62hJ?9jarCM6RXu9&hb zc0Fq<&QDkMG!TsAQ>=aO9rMhBDQH4~6`U$6J6NsKB8Nf=)n!064>I>4mGotL6Dlpm zo*Up(IGb<3*{6K2KZTn4+iTV^&JfHJib;9foT}aC_3u5;(|2WYGV_i&N3<=r=; zKRbfbF1b(cO?MEY4%E{~x3pRyR$=Z)gSq#jooFx#m+r{o(+kYn3K&5;28LoRsCrHe z!i4thnbgB3UlZef$O+!!^upHyqtR~tmqo- zBN1`v%ImKQ0qCED=EQMmyc5d#)~+{_~zE)4TzY@33+i(fqcOIZy-- z3N~1;T)~YeH65weA=d8q69y1)0`Zzm23vr5qAQ7|Y_fv)J**p2BdW-)4^9w=SYGL&zbO452#s@zsYH+1jz+^F5}yY)C(sILpxKUz~O? z_x=5P`WFQJFT!GcNHqVkx-!LD{8n9!@RjPn7?}XKL=+f1cyHkaITE>uL(XPrtO?@| zN8-?i4~s!oNrl8C;2P*y2sT^7QwaI19CY{()dW&Zwf(o*>M+Nir#NuI4pY?Aeaz*+ zBE23n0izanxp)UJar2basesjFONjPzDpo3`fi1M7;c0^GkM6W6rAG#A9{v!jfXqmk zEIS}spi)aaGTn&F9eM=XkjolzD$t=D-dlT#t*2u3u)w3d&=!8-r&Syyy>C_8e7vz) zhQ{XHDsKn!ynm^#`vb6NP$=N%ahd)pHymBSXpr;_YO+ATT}69giIF!OI1I)ROi$Xu z;h&saYho$x%WOJyg74yt-GPBy4zaoR(3s>ld#$*v#d~ddcenmcb+xoJ+HYgYD|Tq* zsB6CS?pD`@L+za}ukKU}tiIv}G7)Sx%S3VB*$j!2ZTt84PSPx5;cC<1WbpLmjtYLij|djr+PflWRiti3^S=WxViP$At;0tAh0iC%|9;0pFdGY`keT z)!LZM_{Dj(#A`-|Dtz4@SwzD$@3$C!5`jl^)44Z{FuK7vzxjj0?DOET@qAqRBgdD{y!-k=oMpp`>X8kqWc_VR8FmqV+iGV-)xuSBl!{N5kH(9=HhV_2` z_D{^|ay@Fu?cQ$byMd}Yq^Dn|$0?+Q6R(B2wLhj+e%txrmO^MaF%z6MuDZLz?}137$*oR-nwK|iL}2kOmKt?s5eNt#E_18VC||zVLn{q+?T;Kth3nh& zzi8dA%J2#3$FF5L61Ggw&Bc-WN6ZPJ5QpcK|8B8~2NET?_Dr_qH;`+RK_96|<8@~` z5g<&ueHQm~20$6#LOS_ffd#QSOy;>bg243ZN+?7|`AQ2!N#+=llpId> zR9^Q@LP}1qbDDu!mSlB1R!!%BKfeeMC8@x>cy~x@6_b)6wrrqB zg41A1MTBSK{cTP#$nKWyD~$atvZ+&xor{LCF1Gx~cl#gv9B=G)0|fGBqoNC6O*$_uJ{RD^zyU*bR!bOUzkh zrew27Cxgjhr6&H16!WVxT=L>4l_U;)OU^5d|yYE3b|Go@! z>EA7m=>tIS(6#;U8}7g&;<|azelN{~zWu)X&#;4jo-X-=fuP&kS%4+<&5<+gX%|A|C zJuNVvFzDhrLVM}zfc5yzwi6EK;r7XlA+e5FkAQcuK(O1v_Q^sp@tjlcJ;csN_gnXA zfkk%i8L@G^Y`o3x+Z*rdFA0L4E1C4Ay$LQ{d;NXSIhTC&Sss|C%tHt)e)#NsE+~Pj z3FiUJ++ET}=gICO=rG(A^2&JL1@iubygNReJItLdR5`5?M^)fG7I^q%(EKhQ?wfaH z6G0DJAUmm-KN^Z0ZZ}iWo)&QI&7=XT>r06nV9Xuf55R@$!6hX`HN6$d$pN~H8D1@+@EWqL|#P$sB9>LOYkk-jc z?n$XU!dc3sFpPg!r}L6C&{&c2G}NLHhI>22Y6}G}9p}K^!w=QlO8RE8oFlwY5j2q% zT|}btuI0x!zYfmWl34R@3C(Y=*l?y|uP?GPWMQ&TU&VxRY02^HJIFPNld=lSb-Yg? zfH-EyuqEUPzCS8=O!C&_u=c%MT2UDj;%z!^!Kd)}4A(xODP;#lepg?#&yri0dddiT zxAdch?W{QUXryIdeZY1?!o_F*5rKh%kN#lcUY43rCr^h$*<_|aLuw2V0XQ4{%ThTo z(Ddrq_cusA*Slax&(v*#P)+`wS6FgR63qyL<7U?)+GXY|u4;MXMz~Fr5a0x&|8@8D z{-oDjo2vr}ov9nZEA(f5_Cy~@F?@Nouz2*!L&bs2J0>MH?JgN2SRLWz13>B&lB_p5 zc>tvLEy>o*y&}JBX4aWC%;C7`5?|&rRut9kxu7JEQU|m2Y7INqjDo`e z3l8sFje(gv%%J=%idx(>Fpt`KPexBh0$pB@m{m&t^n}F|hlz>qu##6e>TazUBl^!&Vi*nxQpWqdU4(& zD2+7OZr})S60hG%>EWVqr1-dZp41@}BFU@8_Tm@4(qiG4J5Foh{z} zg`Zq}&szze@zqIRe`hly$JodBsY?`}zd}t}#OCwEry(!Lq@I`XmFqv=wjP18skBa5 z#ECe55ltFkz_9D0y&K%L-hVt`_5r_jhM#J#F4X-4e%7?X;uA22`{njYNH8Z|eYn8v zkNsf(+k>ae@mU)up`@eR4)b@e&zxK?(?;8#uRj!MS;XS?-l<#@m~puWuKuF`ef_R2 z!P)A2zd_V;?$=uvd$|C`bF(?@$N6q$oap^+#{0_1^-f0R!{S?<=!*zi+~?kVqnp~` z;dhOSSzEOScJ5K~JJ^je0!~lA6V_z~-e2qQQ%1p$p0Dc`dzX(ytep6Kr9{2-Z9-n8 zlVeTtLm`)+M(Kl@9&iZ4)my35Ar#tJ5LpgwQi^m+Z0>iC(^hidi`qb%vLKh~4S7ro z6iiFD4f9oy7Ce0#mWPy}YTVSq_P>FjH7r4eK&!P(8W5$aNHQvMXhAJ9@jU6Js6>gh zREv!W3&$mh$2fxY`oZKuYf_iGp7z1Ql3=Q&wYJ-(-$Ly445=+mQG$~ZK{qiq33j`? z=n(0_RYoZI_wKF-kWC0Jy~&NLqav82a)i?%J;FT)#4Nra^2u7W9B;2%A@rNq-KCf~ z$F&{~Gemgxo#+esiS}zsBU%tWW=GRtG9E#)$PHLRirUA3^BUt5?5 z*|MO{apf=Lh+VvzARGZW{?q7Kwf`nWE_(nIr(9cMQz>=<_$o!wCU?;ovgq2XD0=u0?{t*WBOmePZe~ct?iw7^rD_0pZ;{%`dR;7CR|@gs0qfwrEaB9t8T>1VZIsVGIv}ymzHJ!!Qw!U{b%_;9kec>5b#ip0tNnnL!gA1t+J@z^gPV z_pR07WVjZ?aU>_6LXA}!^!|$0z1K8u7d}ig3)W>$7!BL058-HF=i0(8cL-2b&gbx>evH8jMQ!GiayC+jw+Hu`lJ|nzdEa zd_bnkVaxVng_8Y%uv3{MtYs4&Z3snZ$~;P6<_*WEHt~LzF^;n{)i^LBy=Q0xoodD5 z9QM55aIiX@rI4oduJLGdyvllZ@ZFyxg#Y(jSO)2D^l>~rZe76G9@L6ODyRj_A57fh z5GaKKWgtVk1qh>&Cp{AeUo%7cCj(sxXJX!88;jSBe8~X5m;VHZpFq_+}B(QDq%hVMLcRmvyhen&6FxN^9}^8DuW3olJp|pob&KtBhr8 zW2;gMDO_?18=-UGuAOq)+^(DRsj(%Rn`Gpq5Ya$T{QdEcfMTY7YM9gSP$O&)XO_m_Vc2uNSyGU)ko=~K*y21TLXN9 zN+-cqqsY4tYesYQL--4HzutfOh5s?WQ@>Hzw8Mk|XL{|Vc-C~~Bx(EW)~Od=1GW9O zNqX~Bc)&O^`%>LWV3cEbx(>jRp)RxZFk6Qieu~g~Fu+$4S`NCKdS{80PAPMl&2K03 za+%I-?X=tHZ7~{)+(SQet^9+&kRN^Q*6{|p8l5{%^U0w5R=lxxYoA`x;Q4Ci6=^Zk zICZVRz}@a*Q}|p7eMMS)wHE)B-erO;lEQ6wBJQ~;xFt-VZ9_*URXA`d?e_cQ_j#w8 z7MfwFZWsGu+z-xa?IN;l&DaUqkkWgb=rcQmmUBuFB(N>vXQ5UL9bdSVyafF&$0^2E z#GEG)Qw*f~r3ky;ZPZWzsJ_5$t?p3Q+Rp zK?Hr>(l;}QR5H|zsaH?iH(Pl^jI*=o02dBn5BX5{DdX$PF(@QjqXrH{UI_ zFwAhWe7rr`d(!(F*xkm=buJ=u9vo3gT#V=U*V%E4d7_`tEEfc3%W3Qn2ZdZjhbpbh zGiBZeR~(LFC2A`?&b;lL3yFlg_jEnh{H6gbzj18k+6EH03)p+S!cr5*pw>I$_u&;2 zKQyLK`JtWnh!4{bHH~}?TDv#m+02yG{^EEUsv5N7t7rY)O5k%<4IGl|SeIQxGf+FV zqRQ}{!Z;<5&T@|>6SRm-&AlaNc=F}fRM3ONK{em!>4Z;Gr7`kF14q_5UJ=mFN)t`0 z`u>Dv#{{LwC#~L(A`6lz!I+kpA#cXJ$(P=BFud#}e-CfM@v)zEijs4pVCSRs%<4k8 zqDWr-2<1`!oEpdMPi#TBSd5;0NRnn<;HX_mNzwId{~Ij~zxbaCk^g96y2pQwxcS9; zLlmPJV6u4FT1}2M9@mtI{O)u-d0bmRP-5%c_w~5E7We&j$>T+V+chGLe_F<2fC&H8 z{SrB%y_@&UU9J9l6ERR}6_>p-p5o4g`(Cj%OLTK!K|Bdjf?R<`SKY5q3N*4>lRUdu zf8W-gCPD1E%i!+!OMWhdl^O__7Znf~WZ`73f$$HGijEP6g&HA9_+nGj(g}QwlTy<2 z^52kTnMC9klvkJln>$=s8DKmmjvHnMqHJhx@3@=k@;s-re}ENMY=@{H{5;Uo1H|Bb z7@H{|`)FS}yIhXDFgdldl~z6RqHcQo(4+fJ-_bd0ZO;Led<ho_ zXm88iA$?n6>u{+8yR zDoN=F{O+(HdsRapGDNh_l3tLkKfH#2+5LipuTX@Lu^^J`{CS>c(tK>2Q1nreOwnb1 z48OZ-fohqJapvnPd~3Z_+vTMu_fJ~7O|Q}hpLOuq^*5UxQ?(?3O=22@d^z?M%&6PC z@7I7Rj9qVrD zYlKgGddy%(KINYh>PN|agNOV=77vr(LCYjee80^&vVf~+iCszbOfFhYbi&X;MzbKt zTw*&TCss^a6YPv_7eIoqqkDJ7T;BuQn>Z#mykc&r#JXw^gR|3OycooR`{8x2SR2dc$cSfcb#e3GIyt=4nm|3&w6$3E9(>a)Ch&I zmkJ(ow3VSJhdqm!)^v*r-rYfMRthwaue==+|Lev1|BLST4;N?N;Lm*w$CAYEBSC$z{O% z`Yo4wYUfU?ywY~V(S+^s+&ZquU=v()$E&32!GHibH{oUs- z8;#V;KThV9-`qd$XZ%^;KgCP``jnn!PV{>ZZ}_{j0OO8#C!fLRIfrl*{Pe3~9g~K=s(H{umbASzp5#oUz1EP0N zgWu+Y>CIP2fu-N~s7_lC#M=TYoQ z5!HMPm1j~tT3TbjS6G4Zj0Q!I!`>~>@)7iy6mzs+|Pf5t1zX%@gGlM~hj&=>-L*W>pDao6UIMyDHk6 z^(HOhcl2}aHT#;*5 zDyYsoVB`{s7^T~=wp03}93vCXRZCU8#7irw5R;X=U2J{+wpLO#Q*46DXL3_7kwOE3w!%Jknns zQJNkq#Wk77;uZX&@iM%`(onGU| z09kJ>dm&-3I;gh4$@h()dOGRUZKfWXxr>a7bJlibZC`4WH+?j{=2-vY$%PwE<8UGD zB@q6y@3#5)dB%=w`N5O5VE4x#18mivt+(0s)%H#AxScf3;g`8|Da`CAo;0sLEOYzP zH*?&0@@_Ar?A5Bm?D^zL%jrOw$4TGp&-0V_N)6e%pQVa4Ah=neF|wD${d3sDr>*eN zavxU3dD!FAHi|*JUNW1)CmRM*RGqi+=4*t_f0bragCHO{IQQ52lf$O3(2i^94_@w5 zU9v!o8|+k4B!N=%zw>e@)p3Ks35&+xRNe#e>S>Q^0@ zgG|yHh!=Qr)qxF35Kc-U1c`faY+O8ls80mJGazC$og`cxlnO+wqOy}!uOe2f49Ic} zKqM8_&F}8REKCsoEghYFFx*lDL`>JvFcU$YarwtDLu9RXQBC8sMK2xv2Ip2XCi{%1 zSGUtYZ5a8@>>PQZziqZ3U%XE87(0gsW9$+_+%Slh3tv(u~9E$$ANX;*@@SNarH#8t8bDB9gH-JHX0t^zav3+JyJIB z<&v?tRUM2*_SA0DZ}ZD*_F^Jc;f`lh!6m0Z@tfgVAb$9e2T4+o(RDX@7BY?bLq?s8fcBD#NZRn zTQGz%aZmfaotK>s&<6`mW4%3-rNzV*piGHS+J~4%YiRa#M-OkaX@_b$t()G~^mf6;-h%=A*Jq#%YHV6no&1(j8(MQ7uORQ7(WBK-1L)N(1Wto0 z)<~uxQN#oYN!32pSUapzU_5ceDxspXdzPTq3g1`aA?D5-1Abth154Qu9s`+Zwc1dQsZnJ zH?p%@gfEv5!Fk&Jt?28mv)w+tY8VUmN}3(+Nv=Ixg{Vj4Am9*+YI-oE#f=BPFb`52dTbe4 zam2lF@9UMMxU|}BWVL%fWRo!vskJt$*m6&r;Lm5`79Z$Z?7Z3eKI8E(eP9R;_vGRG zOmJIU0xI+^fTr*UTqM2#rZMcR(r-le1h-u+B`knxG?SvvMdFfB^`n|5CL?xNcPDG? zH;8#LiI0E1^i7tzP?vsVNV|nNVTe5V8XhCbk*utEB#(DJgp__=uv`3|TA0dx1{x{S zOd^5(i1_v_YF-K%IkEguL~l0RLA@Nd;~llMDHS%Eo?a2@k6{^wAhySH3am!qI?0ha z#E&OD^=n6B>!+e`X`OZJ1M%c7?M&QK{QX7@2MOJ;vWdM53Se;cu;Km{URw4WR+`@u zokw#8vn;zwcs_xAX!7obS;{^)>P;Ni%eya}-UUk`PMJ?$z0YqssBO!Zc0RRAyS=Xb z3R@%1g^4ZS5jt#xn9G2Nuz@>WWiZ$d)$wSF_?UZDL(ML$GRcoLq|+uoM!H2Olf7Kc zk#hstj7RrIH~)j`PyUvA8IB7$P(p)v1vy z8-wi=6JJE^^<%L?zf{{)Wa>kZJ4H3;E^{~W3D9WcdhvSgIM23RuDay zcAUUirt5$Pv)20O3@_4ZtCUfTk2;gNW~8x!!8SpyXZ>-YP5w3M$3+9DGa&JRVzsdRbIni3C!wR6mUPQ! zpD_qEu)wjSSW|8)_G9WA#JP69^GPz6t{fkzX6)|VrYXEO$JOGy&4`4tI-E>| zl|`Lv0Mi+kydIs$h7X@tvUKXaPMhPCyvg=qWWW1@DTe=Xu*nT-bZ07qbrkQqB!f(E zyI`t=kQPlLt5rhMr~8TVU5YDrk{X^8-6_SrHLP%Jmm`1BOANB0`}74fkr<|<7S>AP z3P4(D#w_1w_*I#6g#d`adA}flL=MeOU8}z$fZZfm;0Mp}bQ*@C=RG!nVscH{{}f~d z%96dY?e>0dFHWs_vhs0-+kkD+%?>1?m}(=y`W9UYkAICI(7RIRJcZ$c93JA5{ie(j zuzT}Rha@^FIpsQ;t{Nf{$eeYt3w{D*&X)S)7V0Co%WCUHVFYncalPx&t-K`7PeHP6 zJ-tjYM5SSI-$*OLkWtI0iL!w)qnDF&IiFp|=U1W!U29gieB0d!!nY5cE8GzKhv!!7 zuAsB;5T^>2{(-xmxH(%uzMw(dThXoUR-B3jM8FA+?v!@cEL{kVMB&~VVRm;Ev+U)< z+1twHZrf+tjmZfJGwLWl38Q`q9`iwaV*B&zdOPLj454eaLjI#Uz478n;#2Fnd84tI zN8IlM_tz7j>Zz)gLv!`UWA$4>+RkLAssd(TQxzozU^g3h*?nLy@VN9N8l%O*@RQvs zj^S}CX($d}Nq*3E0sS07hdxQwN;Z^D!@^f)&>g!S8zPeRPXggb<0z`<)5OJ(>pq(@ z*4lg^(|A7q!}DZ&7VUlQy3&6H0pu%VVQRt?AXu7n2DI^XRlTFK>9G~I} z0w)=d<+0ddqb;=|rZWQBDdtl3G-+DPI(jMgWL9e#{w#%SnZW`ZYgyrcMgU-*9!o-r zSe4e~w1wf;Q08!5EBwMci|d8FK8cX@@>F_GSoK(9A&j)S&>BWN)vH+gJ~wa$x1H=? zvA+MW%;5he0{AG)T5>p|cz65olZwpEqfrg5XGfp4%}b8P^qjYkz8Ji{d0a~u{j7H4 zOKQpSC(Pn-5Dc`q9eiY3w-4|CNYG#;fJ&o&&JK1G8tk_<(g zXC(*>TF&5p@9PfP5pW3z9^j?<)hid|xp7eRx)>kh75wsRH!u3^T*ezrKo17>Kb^Q| zfCi_gdtxx5&QGzMtL(vE6#WL6tb&O=B_Wnu()W9Lh|r8Yq_Cvjb$-d`J{M`Z7hrq0gCaB)zZu&HmS4#kG7 zeMf^{)ueLQ$YayhBT4PGAABZGw!_4*d;049F6wq68bgF;@mdr=1j7*p0`d$3#&|gl zKcX?{qm5yo$AvjycYHa97c=hL$x`fm!wAbpFj6OoYw%k|Mw4VPQ~LHOTG>SfZDh0Z zP{>KTqQkR%=yM)OnQ*~Lw0&Ft(`H0xeh0GvT{6gc?NDJE+^Jj88%Owarw^=C}D&_ z%GW{=xJ&1u<>zpeWpSR!Cdmyur(bRUuPQy_PnEtfP@}2kud`ll#~ad8V?%yhX z#6rXs^^qw3u@x}uos!JicL8*nwZ~1fb|rDNWnZVGmCt}#&-{hrvo}7z;$)tRxPHMQ zLb&dskx_;)0_{i9iP7GgDM{%*FiIVQgpB;xWaipw1!d(zxfRt`uwtFOnkIt?9oOd8 zwh!&P^&Q=1EjnF2gUG&|p-<^SqhACA#=lPSOis_)&CV}bE-tSbtgdfqZElb5?i~ag zj~&i^JpC?nt_dnVh0@6G4Zialy||$#%h*E>ZKPmn$~KK{HwS0P+PQqB?BXO7z9-?c zoF!{Mka(#g)T4&g5lfLp&kg;QAWn~C&2m3d-MlYVRJjGO5kH`hUqE1hm~IoO!)t1Fv* zkHWY{r&wP;|G}S_Q@_8yVzDcnu}ei|9^!qCmXiBaMa&!v7h9AG{-YIy>60PF#65sw zk-#ocMWVUvU#|Awz8Ab>F;}}JjIDPqc-xWp1A)5pWy_*FFzZQ&OZ;|gq-ZY#ZjH2K z>pS+o-gV-SEswuxB|h~@pE7qn)WmBxhf>)CEyjgQm~r(>Ue!M4Ta6ImhSU!EB(K^H5QfsTe{4@*7y7u zm0n5R(=(Y}M+}0Ar_u((bmX256eO5?4g-D7pKs;C3rD$-x`i*|5xj5#gYUuVvwe^Y z+{iAtTRJ!XbuHXV0%nDAMmUB|aykwLIZ>52T|TbQz+OZDo%T7oEzH5WZ~YDu7YO)X zZ%7E9&j@2bR~txn$P{IJFAu~^LR^O4`^4JiYc$48(7^qO`~8rPO~UW!6LW#Iw0Xv(5+KYj`@t`D?>B4u(x z7SQBpb|l!u<%#zGV^2`W>#^588(TdjR?ark%RK5{lx5KgZ;d``aoc#l8|q?mvGdbs z*XWD&#kcMtjf;3v#gfNUM2WO}`wZOW{43-fUmBq?aeMCG*qR~YkUVGl7JV2d;ogVW zY{=L8I&a=HoH1!MGhxzF&;p_Czc_T50TEqYpp@V7ro7Q_4jnd|f2%^TcK;I5)t&9| z8{Yh#@i1O|yf_Zv&GM_8&lLfC0EpI&mheyXJr)THi zFMj;I1UxcnWXscAy>W?CH&BBh81@2vem+| zg*Y~x@2 zAw4hmXz)+*c~JH@xwXap1LI9@;L#P!`UG%EYPErG$StTq76#JO5md41Xn8g^JF(CL z6&Fc=a>cvow_oc|#T=mFxIs}8DwfwUf6y8--#jq2^ogs}pr?(Ow98X)`W(T|5F$Ca zV3254szV!E#tpiVoqx|$tH}m)3paHh|YdB z9Ut)Q364)^hrDRFRRvtuF_Qw~T8yd~V5MUk;WR#uwSOiA!GR{7@V9X+&%4yd-OToH z3$n#S5y6hu$Ea)B|8b(VoN3Q^* zK%#wk;piB7Y&>)Z0H3whu&8&qL11#fc9g#;9-3bEcIdcwFvAm&F&v}XKLWx|zyrEP z&0M|+$8^cg3XzDnP{ol!d^DCOmDKT3A*bxgj^^z}E{Tet!S z#3JW4(8OS+&*{v>FB=U$S~lkMRw-DhSwAd%jJaMyd7%Z1{I@O3d~>57G7h$XZrn)CdWFpyzK zSF${P{{y&z4MZ2$Q4#Uazvq$VXp3e# z>bV885pN~{lmiilkkd%ZMG$%1qDku$$-a_?6~4)Q#Yc%qd!;T1K_m`U(XT&}6NCeT zfV2MgBd?=MEztkiup-$y|E^*EvmYtQ%UI^leEdIYSgsrZhdza@>Z)O>!5aUQ4Qqts zFF%q|KKU;{a;m%HzxOmv@?%29$iU&;$V+?-NBT$7&>bY&ljKpl0U^E`DG}y1h!{$hh;rBv zj)7W(zm>vESCJsc<6eM61ROJnFz8>ZKyK$+7>U8^yCs9M=f~SYgoq_$V&ouTqD@uH zXcQ`kH_UWRK%kyMnD?F`W6WGUZVaA?c!6Xjm*69>_>b`cEHGv98>V>b9>{rqf|23Y zL_QBWuSYL5fz}1zsvnF{2|oj?nT>q7k;+GQ2FBnSWLJ*0r7BcTQmd~w6~%)mT83P3 zx%mdswo@u&Io~<=33BWFfGm7cuRRyD3OY51K-ty`$Sa+~LFu7x-ixJH^@7Nvua5Ft zRGqNGfvCb*!{Y1-wsdPFn##n$5J&@6UvV+iVso~BY2yR3T#8ZwRnMdoUqZ-vu5B&> zQw$)f;XD-7kPc{@E5_~i`T(d`)2-VB!SBm03zl$&Ao<1`2B1>xi%tBN(?FB*Rz@ko zHlN#%kek%M;>0T_H^iUB9UMS5Z}nfN)qjE$H7pZ;cca*Ld+T5J8&0&SWc?i{-Vapi z{|zUm`F=;4S$qCFoXC7T{a2i5ms$1)PJH3r@K>D3!r5_!6F+qI2UJK54*d^tBF7(% z@YioQz6=2xp*It*YdhoLH$vzz0e}-#?{xpyIMIPes12==#7r+qnp7hm7@<6niQJ4X zhGNmCJE=TwvmUKyqA35|`>&?e|7YLs{pBSH`>&1g-%YE3xKRM&j!X_x3iub$O-BRJ z6Y)poIokY5(O8TIYnTI!NgFJTs*GrQMaEAGZBfj zNTOr35d~@xJu)6pFzX|DZoErQwlOh=om3>moGOADpOkxUMchD?2NcaZ{*ejnOjn(g z%9|O^0(GCPio(|v=RrqsBhO>SUGGulLrG;D2@~$%ZCGSnXEFe#VRIFRC#c=m6;Di* z*03bOs6X=5=5m7)CEIg+V@o3~vGgsZdUtM((=5)kMH-gKL4=v=@R2buk7~G>9OIC! zC>#kSW_yCMnTA`dO*IsdIGN(<#i9l)=bc%#lNe$(C=K`Z``GBOGBsbuve2;`jW=v7 z_5oGddl!G}#Qe^+i|*ellPW#{}{I`q)A583}G`T!N6rX~3keZY#r z>c2J2{n{HX3|N3q`X;dMpAK`bh=5=RkUBWzmtih4EamTpx$6;s`J@0^t+H1kYkp0q z+S1zDl}FJ1`!FZb@$r{WYEd!!-yY`v*(d!=Z*0akWa5cp17F4{_OzqfRz%*lZ`F5e>2SK+{TmDfPXbCfnu0Tv90YLiBAzaEw;T& zs`F8=wB3dM!%FG@SD*ARmN9|t=%=@shP5={j@&4G+U$;KFyYcCVCIE5B8 zpw5N!tHdieyF#8YujRwR&nlrNFgI+?uvB(7I9t-IF@v@HT9apZE+S0pBB?O zK)RO6uy&y~z^^78l!wF4(E-w8fDz>sowIMKlve6kOUkP8AhXDyxptIBvhc;_#31I( zCGR7IJ4(Yi9K|519<7B6m`^~SzTg~j>YJ3sKohNnV}2#T_&UY|syd5y$0<5XZo+9g zwJETnULBMV3*Tt`xLtAccoWcnBi(O-q5i_8Wek!9-mNq@^l}I+2doicm>OIhamTsn zU0h0>mz+>aMm!a)394ZmBG`L0_XCEY;*KENVc(4h>~BuJA$StKZ<<7|lI_rWY?Anf=QgZ=o9Y;?|R+JjmA2s*l@yLxJ3`~Pj2<+p#Pzdy#w zC@5MZ(vQg!eJ?0Z?d(pGdYCi(X0qJ*uFNnQmYR5hBveh>@qxi?Sy9LdQ}psEt=KvE znIU`jJH=)cC{hMj0POXTH~l5pd)PJfw5fd<)a6xphjmx!OqrLMBch_~g;Ce#L*KyO z|C4`ap;ArBU|9?{d?%9f_C!n zp__@6m0!_KLEq+>i`UwXm2X7&saAJk(aqS@n*h2ga_jp*Y$iJceuy22qOD66M^^s? z-TduuXY=!8F=dBRc94G}D0#=f(_7bMi4?EaeC7+fnX-cTif;Dy8?UI-DqBijPnzwX zDAsM57#^CuIa&2fj)e+l^srq(ZL-P;#xA_Ye3Zi8=(-D#xn;X$b< zYS>kCnNb)v5~m^bqIf`F>=KFXILKP^l7-)L$&r?{plmj+q0+1b`yN!ex{Ew4Gd`p{y5_qwXS(U*jxpE=@{-LR~ciU0#(SN7am*45#yf&Vy-Q2a$^pu{c-e ze|X(8&;Y(ZB-`+gs~lE?<7yzAL_=RT-zKOHP{mDMi;FPmz|*NZMnr5iA&=D_GJr&vbmm<`LEQD*LoqBM5=$tcKndRng^;8iETO>USX7#pTehE2 zP$AMIZb_(U-z5}ODEoE^1tVDWh_CGUq+-d`S3-f4yW`2?QrN(9-Sssrp`f;~`TC7H z$=lx&3V-33`x!CqJRn%j^!1^5zLfqod@N5Xn&DiYi*dBq|E}y z-J=>ec4^I)3X40YX;ezTrZqiaGhJx+Y@x_hhv`1nwwFPm7U<&8-y;|mLHgA1C(Me$OM|yiFpoubmem_P_PP~mUz4r0(n7I zlem*P6-PiEl%^6nsDXPyB9}tNQkoBy%6H}c*~}B{qe~=iU9Xo&JVr>^as=K`_F|45 z<><}iznT`5&hyE-7bI0wz((q}Zat2he%^^)K1cniwLG3ncu)#g(uZD9eslo}Qsm56 zC|4HGhr*9^f{No`jTT3P^@KJ3l7Q%2RP{wBUeYWmpQ9Z^lQw~B3Hm`g@=R@@>eGW2 z5eQU;ID#qcISmdHT^_qKHvobn7lz22m?*qba)+nhJcq5%U0A;E&FcCr0ANseg1%=3pdWp!FXrq z7BGCk;|oRiIBs~bjx{MuRL2AH z!JipR(TT3oLrTVfP0{JuA{2$9(zQ#6Np$auUa@vvx%bCHfq(E2^Q8=WLW<-)kpzKn zqjaR<2>P=IqNWg!;`QMZbX zQ3i#@Ca56Lrs7Bhyf+Tl1l|ieiC2J5QX^qkjn+W115imM+ma|bnjJU&a|L@)A_U&j z8x8IRvW`BnVU|guY@RXUW(btU8B!~DJa9<6h9B5B9Qa8Tqw`Vv{LG``1y%?YIs^|j zT6luMWp;@+(niDdsEcWS30<(o9gCyhrWydHpJ@|P4Bu#eQr*Cg#a0ycCPB`4Np^+e zCpaK=L+P_z>ZGWS4rqz={!xR4JIKJ8?>`1`UBa~Q+o*Zr(y=#c9)Z4$8b)%gU(tQM z{L7IeCLv?z)}UVKmHd;yZVJQSZrLV&LU}dc=1{K2;kt8znckJ{*ld9++>Dxjw^-dZ6;R9 zaklj0z!~9VetBf#NOmefYR7RFq1uWE#uFJ*!Bt95mr4G>TT^xvN90~iRYFB32OOE&{_`hZ^qgQ^+F=-|N=L9Z5=bfaPU1 zmB26~lJKZ#OY;~kHkcThoF>Mp=bVledKhNr7um%X140jn(#o33(5v5t9_r`YJ4Neu ze->ab8z>z9S?D1etTgg??`PoyueEeMM+0&*KWYW{Mzm%J`)cHL1 z>NPm}qulJDGex$3B{%yH;D6uCOs#@~Ud=h`+|v?|5~om21mjSPqfA8D(esCJ5Yh<{ zsDO#NqOA1Q1qDfdK9C;ws*qGXuhu9dDZC?)nG^>!NNlWeHf=mbD{zoF$*^`}k<4J} z0<*k|sb7(tg+-@@EJ4p;Zx-Wq%Dzm-$-$spYVp}(3V*Kx;KCZRrdTSlYOJ&1AUjAL zKcdx1Q&L%cO(xz!f}RBhcM*nz&DR1}m~cGCRSMG(qh)85{Nsy7V;~=3;QA3ZJ0DVt zSaeA@hreB|2cm}S(0(`$yHdT~zfze6?^~%pANAU&dWtX5$KE9(!B73lW_?#Z)s^n5 zo-)nDUM_8|)2t1AtkY5>2DF#KA^Lvm#IB)O)sy4p_@v{M;o4Ejd#Wb|l02;Hi6O1D zLN4(eF3{YPT)sylOI-ne2H&>+AytB#odqLU)l+W9Bv$n#Jo@1AY;ce4qbJsOORH-a z7oYy2>gn(Q3`MuJ@$Af%3uyMfrRjXpum)M3&bA1khdC&d)IVr$0k#AU>VPq@uR=RVgx}vz-lj1~|i$ zd10q84LuQzt1Hl$qlb8 zg)CV^?eAEyT2|GSu*Rf!cVuTHI|_x*n{dcMWarq{N?y4jIkXev3HnOy7ok=^6gelb z9^rv=zOP3GK~;JCFlXDoFWM!Qs{CDP9}59?J^BWIeSJ5iCmLRRY{C8&{Q61S7kV+` zi?q**ASu;6B`wn^BMYOSlN%2^pI=a_T2dBKbgrVZR{CmPqj*D8t8mM;_7m4{_z+_| zelQ2X2E|q18Z{dF0)BaP&OAH`-hDUdMJ;}l_9fB+FY(`%_Wivg|6ES5aWpVp=+gOX zrFF|WP|;jo*e>{W$d3V#_E{gtQ4V5@A_!!iq!XzAYXV~h9FE@?82@vMyyee|yzJ5- zuJsrI(;h>r&QY-u@l8hP53eLg2$1zh5onTPTFp(Q1U$`Kv>!nsCZRs^8o_bIVR7h#0e0Gt_Nl?=d>`<0u zNvHmHzK9X0K<;*Ss7upq$nA|YLXt5|coBRNXVK{AmH_n0KmEC^b4+F5j90aF+ zuV$+<{oit%Z03h{_ZLmM^u2JBFV&nSKIE>*<4dws?{!X+4ouYOt;`Bu`zlnGQ~8D~ z0YX(f)7|}L4_ESu%go^k02maeyuw|fYKFV6bY-p5)w(p8enaCm$=0@{YMu5Q--N0a z*|$c=QtZcfg{sWW8cs8hXMG<%SrDTHs@a)#7gzeVQ1$Os^H-s2fZ>21GZ>nUV*iAo zV(wJVQxc{>SGKapZB7mt0}M(I!kARu6)Ts&=sHTJ-9KIXen9(3IGN1dMu9}1640N@ z<^MU=9QkL}{3Wn`_Z-Go2IVWRMD=X6cO=?x8#pAV3U54qReVX6Yjn*Hb3mcdrHe z8vO`L+Fzh$o!@}Zb>Wu6FYT7}7r-ZAgaKZo@m~}&-jnHHDZaQpn8rN#i;`N=H74E? zy$gJ@i>7C3XJ+qLQp-^qVk&ESfp*)}d?KmE9o7aYshNm%+X1ejq6c`5=HDDC2aQ$s zO_Yw_Eg_ltrldB00PGZhrlkI}0+sVeDDPuG2GG(u`pvFm?Do`-4D^^iM z`cT0+5@BO`vc1i11$U@#7XV6X<|OAe!c>9E&%$L%v?EouHifI$!>0~(z(9@9sv|sZ$L5o>#M40-#GuSz>+m$ z`9Z1Qi2u7v{Sd~rEfKlA7a#LUzM>sx$ijdIXsm#3fKlhP{gToZ(=q~5w6d}Rw1ble zOChIwSA0V|j7qR*2cXnXZ0+pn)s5H%)-&>e2KX;4_4n78Qv^OPDF?qCiZj2@l?LI> zHEvRH2#-Z$r)aa}CH_#ds4xmmnP8!mAtFEbAnhW{ZEA8K0;vI~5;Ycvm>K!9e}Gc| zzXGgt@70&E$A({^I{T~!0-*}awT9Y#y$8gUJe>kzDJn5NC3SIs1yKR79&&KP{t7A@ z_|~DmUzFM>LZ~4R8X=hmJR(@L0JPc&9t(&9yULj`)gj0 z{T1{@%>FYQx<}2Z1SPA}d-JOLgNM0~IhYQXUIOl_KlUP^3Fl^OBsz6D6fAJ@-cjSnLvQk2?U7Axf8;p(=X5B$ zztW+;UX=QIgnp%F*cT4k5|+vvI!rD~#z_}#YV32I*@*z@mWFPp3L*QS-B=Y28F>GQ zZG3dq&t@YrjkPWBzSDwtifkqcRJZ%+#_BHIRbpWTyFp;h8sclXRjJfr`i0+h4I z^V#7O8mwiGA>t`#8pX|}8cu!JJ{y@=r$3~3ru5T;_vTg=n6rnf6lWG#uo%>mDsN@c zM7gVl>4`k-4wq)EkNdA!9{)K7cSTW5(5RepjqVVsor^j8)RRIJ-cUl z411vK&)cFBEiWB5jr(K85dbYOYG2D+E%+_!2`kt`J+UU+lGi03@i zr$)}RM-hl3MSVP3oE7@w4J3B*CQQ)_L+m_8(qZg3aZaT3XUziK*>ZK3XdH-8-sSda zo)|Ix1!re=Vm#&i89w@?(D6Og^Zx_?4!}k${#nJ9SsaE#n@1CMb(D(KwPe(^#lr-? zz8az%vIc;PgG_b0h(4MW-$%}3x3ahUw=%Y}-xk;?IR&<*yzqwnd2pghh|xLlad^&xxh=Xz9TbV84((Vc*n%va;ar)^D0@O1{5yae@c{^e*yS z=L&yRx(}lMvaG4%?G~2vpt;&NyyF~S*}yNHhx6P&7M3qjSmenFy_l$YKFWk-yEvV+ zls$-=S7jHX-se0NAgljk%+-YL>1g_{7664++~_roUDjL&_mP|bD(f$$MK0~qvQj8f z6WK24ToI4<8;H{&-a((0>qW~XYif5zLY^!rvhX;_d+utvpLqa$O)-la6MqcBp)!)t z!6FG~3Bq`nvPnK>%{>M)O!lOU8FIRNk zxAw)Vx3<;9_!CC_gZ9BxkHTp%aOtg;h+9K&zqe}FrsEwa>{MTtq!!Nx3X7=@dKnlC`e zzgEPDNhM@cmeu2r7pdM5i5d!EpDb6eFwNR@`Zq!-{y9~q`Day@hpz#L7VswNh>1`6 zX)}j|#lxLFRZ}2*v^Zwpp9FhVc58!42Or3I`YvL^URL-B+Fxike`WRmnT!xPh`};$ z9-NF{-k!d4AJBehUHq{*0}4Pp+g<%Hki>^2CZ&c&qyg>hB6wF8xV!pW_?B0(bM0AE zjO?0fiLV0U#V_q_FK0lhWp5Gdy1vV}{mq<#-xM09#K5jKMU2PzK8!fjFCL(u2~07y zz??jNzN;q=wJ@BasytUe=C`0sb;6fGirA$Dk&{GBL8D`09a*Goz!tUEg;pxlbwJ(v zx6)4jIfeE+=$KWHHWPBgFNDD*wnL7fWKmpR_z;VR9<%zy+#!0K>Fx*xdghVO$L@dqJYWD_$Lv2!MN{CvWoK)5XgD21NkMS>kVSgzE z?4MI^8h=!7D?=J;QKOw_kycuFHRQxq8Hk`D(v)!StGbj?3`?-cNa45GEq@mggA^g0 z5URb}`1@az*gC`g0eStG)~`Q}c?tkU{UYW`gc7U%+waQwnq$Ko^V>cDZ^t|tv*NMw zc>8a3qTqpeaY8_j&8?nrNnvBIcw;l^7zqJ?YWNa^94(8=&YEm#ZDAr2^4uH}Ug|%b zp7VQDh^Hf1l4gv_ zUzX@zU;;i;wl^h|V&;i>I9KC}DT1>d>px@&F^v+MlR!m_gcqUoPIm3zyl8;ZA^|7w z+r0FJ^9sJJu)p(?KUrHDIKM)y0IT$f8`!+WzNxUc`Ej(K?pT4)0fD06pk3bklJ~Dl z>sx}Dkt23uHZ~pSX}-n>@ZKCg9YBH@OAMBmygYn^3;^{@{O^3VCy2BHG9&GQ`Q0bv z7{R}*rCXobdDv>Kw8)XnwwoZfM4TdcX$@)tS{}&|%i2POo9}L37RSp34E>8#B}Jp; zp)7!wj+}Bp{vbr>==nXv&;McG`@+wqMPX6$B$(RmN1&oe=o~Jc9kT>JV}}p~M{!aL z6scXhBCRV~Q!;PQ|9QYTO5$6NA*pij0uArx7LyosAt9d$XCvun@B#^r-&c7y>Ku8$ zs=NukU5HF;SJHfw2HZMZqdQEMaoZ9XsJxF5K>r`@e+M`?tM+o@r>`G|`Uz)y7WvxA?u91n-u%W4mM;~;pt*%|av#YX4 zudjbt?I!k3i6Tn8b64gzkf4cGTxdU;7lQdOWDc%8<(QE#f0j|8RK1B6xK&>L0A$x) z2053pB56AP7b=b-`c2QrTsm+{Pn8@1_qB<(&b>~y{R>e*f1XLQD{#}1!J9fKI|hC{ zU2Qs&hpS=2O#wqbw6NxMKM>GrFl&Dx;v~nzcCF8lYzAGb#}RmQMD}^^R}-&A7m{SV z37O6fs7;t!IVc9E}XbXkEi{ZR>BLLUH6~g z`2leM;a{t~-JSoNsrnnZFYUX=zf#;d!zuQVV*t4Bp<7C! z=xaBc{2HYXMn!kUm$FLHXTn#?Dn8)bl-KYqTJIj5jV=)+w%!NVQ3Jhp=LZy}Ec@Qi z>tc;G<#z&=P4z2Wx7ZLEU*(Z06?=O{AhL|B?6G4OqjI(T!?$g;HlFG4cGDU?uLOna z5}2r63X6&54T(#XCk7{_C4sbIcIlYV$lQX{`C1-@WnR(cRs5O2D_1a~zKPLDx3Rg& z_uBPNgSM{PRGq86L+U*@3vcM$8o47qK5sJ}xV57xq1#+l?hxjcwX1`=W@9C~r@}|w_MFcss3}D^Y^Y9G}4U^PSCJv8@ zJ!KV_m}KjqnwtDAm{iQ9px8E{q`bn}Z&#wPa^Bphz9k3L+}bXZZd!DsCl1!#I~W!@ zbc-|Ce0byzE7)Ru;vOCG)P?DpJJEM%7l50)iwnzUk5_v~pRK<%eE#aKME|=FDgz&H z%$a$;KLP}k!Vh%Tmhca3^pyuAFVL5eJCSy99pto81UuwcL`U&^MKW&;cE#15-5~>q z5tB&?ahnY#>N$T2CWWsu{bz$oGnvIZ3E1e7f@Ub(fL@y;FT4>gwIV~w$8CetXSuhjoM9$Ayr*di5{?a=ttp8RD@GiWUQY>+0%~d zmnRQDUwc~Jfyeo*ribiEc-2C~(1N`_pY1cQrV(;(uJE8AFmwnIeYk(qE(@Rd-u>^4 z>{;untq&`mNBEttIp=>646#Sh{KA` z*EhCBXI<|Qs5HLX*~b~xKjbWDaqZ?POUrrU+hcd*O{VTXFunh9Ru@PNSDjyMyl1?; z(r`z2^7%{UXRqE0-+I>uGVT4aBjf}2elsF}-4Aw-TG2`_E6D`0o55y!$d63SWO(4J znKbTT>c;(*s|9j0A&EOE5jY3)&6ML?o!+G5GVN(q)N|N03l(vC-~UWjZ#5Z&mO2Xj zgqa+H2yzs%@$Yk^3_0$t=_E8LO(*$Q!m}=EB)b$%^vPUcH77N~M)Xq;|5Fwk^-G7h z^(&sv$P*jJx?d}{dvKOx`uG_QAxGxEm;-v1hM|5BZ)J^t#y{%WyV_PM^RHef{`7zG zm-u#_xa?pM%2*Fl5{|uWVSJbR(lI2je|ffbh@{|+Is;A zW?<>dtb&?4Cs=KL^QD$+ZI`i{>s@PnL_1b}!QXh^@>Us9lb*u(G%DuagYt*PV+Kzi z7fx!EEUfZXtYuE<6FqyLiqXCQD(kM!hpkTx?>_VA9sq{K4JRce)xt#ggRT%{1iLCl zpy^o^hv1ECx;C@Xk<^mm^$U&wTARzYW4EnJ{9`=t-`t1x3CcKdNXQwe=udWsp!5sf` zGhzgED%t6~23#TeD?2g0iuD-ObC>V>79T{W-hbhUKN;}i<1ITtKuMtE9T0kjOjgSe z*#D&|;}S0hC4Eh6SB=EvXMhdz3QCi_$|_@Bf$-a1tc6E@R|C%0ij9KM?%Yk`9KNMf z@H|{VgU6jKC!$p|&aeba^uh>IN zP^ zQiy{^riSDJ6c!$NWe{gCL2rQ zS*H~gXR8}%mQ-eWeeKH4EwyE>*X`QcJ1^|zknBcYjoA0-RD8`ww)Hg_yFdG+Jwpd% zHCOo%z4DB0`FUlLa@fY3w^tXGUc8%oxn1nnzPa(P8iT!|0dU4hh4x@1B^=Qk($PcTe!?RSj5=^6tgox`qW!+cB@?jUa)a zCP{Q+l9q>F0szCDrX>m2CRWcXEaEFLjw`OHq@yj@0eMz66z1gWtDCT45nwF1vB(A2$V|bnk5TQ zh8&lhES(d*03RiJ+LfrG>~$ivnB`EZ8Q5RxCRuPug9s$_VtH(rAfwVD;rTq}J3h+Vvys-0--Wn^o(hl>;)4W@6rV-jl5D{D$dYVR?J)kMKWtr7FB(+M@h<*Krw&fEY^q=!a(+i~Tmp*10?4%M1{lnVdf*2}uptV<1eu!i@kyzk)I`&8 z`fc7|O4(iwWht(BImESlkMNrCOLn>)GX83ADo>M(hrMw4?AeT7z50pQ$D*V^Jb;t; zK|;&gACIzx4LrF|x$BBo)CXc$cJ(8y5jZLAra+KMbJ_Gd^=<6A&}y!Z{GO*(_g|qgPlU{BcZj zhFR@iqg1%;xUm=8f_=zQ=}fcO3N=a#5&eL54->B;G^Wkb^giAD30- zzlYAxoO8Mzm*u&oGw&oT=1|u8a&h${w0Y#S272rCP=wX_oI}3suise0ecq>SWC3TL z-6eKFz!5nN;%O2+rGJzFraO?N{ctXv!a``k_XL}6mmjUqSVtIJ5t}J|c9Pd9thxer zG_s0%l!1_cTsJIA2!zB$M;l!bQ;>_ZXu-qGnml0fLVpQ!yq7yZE)C&*j zSXd7xbGWQ7MxXgCw3Kj?+IT7Lv`8H^l{wV&CN5*MCvE1(QpzYWohENlb|b2$3)ig+ z21?d+L0b~Ty;WDV2w?jCxprJbEQF#{PBih?&Jak0(Cd=Rdiif%KzZ(LL#4zBj}M1& zOwhue>5+<#9c3wappMddH)k49^W3bZZhV(9C#a*SgTD6Wt(kJ}o4B0aHN~#R&vzQ8 z$M5*L;8UaR0*z-Grh}`H5GYP#(+p1Ag9(+xyb0#(@g#}zq@-n&R7-1#B zmP0Emf=jaW%^L;(E_(`Uoa-dQ6+LxwP=r|tp+;mNa39w4Vi^^ypJRJ}vwSV*LUyD= zJ_r6Knq2Pwk6j=+7i!vWg;|l~WZvl&StD$Lh7hp8&CG!7eBG)pc|!D+j9}ngsOyA8 zOpObXhNTi}Qf~KLD7o{SQInL5Z}0IsMm5r)s-M5T@7T}%?t#nQi|-zKELXZyzy*e0 zKC)v{1zRypBeqCm%C2nnv2C;nQLx7#-_L6*e)d~T4A^vE(moq~YFUX11m3|xplVL7 zloVHeSgUAS|M0Y?pXcMV`n&cYpEoa8eOzyQxBl@(2mZ0`jUI9b;D{V+_4do*lP|Vk zjmjMR^m;WAGp8x^lmof*ypW<6o=36SBk4Ye|XmP;`7Ii{$o4aukSkS zeA-&B-ub-!?gele0)YYH%XUDhHqbCd41^qeFnq%g8Hs_i%61ayZvf{)F?c5jI*GhC z0_YLBFd5k{;`EI`HpN^5oq;a0){P+E$XtY_Y&X@+MzGLuE|L2{H|>Xw5ELR086w-m zK(!evtC&ZeGSI^!ycwn%nMYDA+smQ98Lm5=N7gjZ%j2~fVT{P9=$Gv?;!lrLqTN8@ za&({p9wVy%6$pp=9pnQ=w41x)eMZN3Ek_~|ZWr%}e$jbQC;e``0{Oh9e{w9GF<_M9&D22DnF0WzW{Ze);=(wMmO7|MFj7q#; z=5q0|$DT8XKAhRP0LgGuaTjzfnOMygLK340>BWW4-`UO85!0#=B%c*dUItL0(!0~fwYRDaWs(SF5+RU0`^V?EMJW28d+EJN=nfLvS!(3 zHCHcGSX9?GH7f>Ym}Molbab9{Z!-sl0VkSSX)B#TaW}`iw0bW9Cz@Lbh+Ri#W^1mw z0wMpJqMDiS33ADmvvvhMwGUe0y-&Dw# z-Og)$ldjEqy+vbCv?1u^5)H--)9~DY*gDNj8(tk)KsF%SD@YmPi8xgo(07_mr!lP| zEU+`M56Abu zXF=rrfxQn83`H>^uTa?>Ot~P;L0Ayaf7ZGXN;Aq_v~4xCiUL1-zj_K3D!g`>)UYG8 z*aSupRMy{VgND`lfSytp(h3ISlk$SZ;WvcI?U3dc)@$5&Of{Lc3|GsNNQTQgP_|=3 z^ISVLJ1rm1LYf|>*`CGIcwHKo4Db8->a4e^2^EmOWCLMpCelrt)fl{X5#ST%_PnRPs zo%AtUyaUde;^a`sedkFv1<4VrSJcN<#{621^PctJVg#KD8i=OlyhKSeF?@9tO>wc- zKt$|$^tgHe+bqWTUE<@E8Z8n+w@D zAznKx&eac2t^V9|52OKi(kN7IpQoZ`!7uVCHZH>>ac&IUXXv@O&B6Ap-J5>E7qk7! zRY*(%w^+kh8uyOvi;(qJ%NL*ikM-O}{`AdAE5&@Oy90fKt(#Gfk@?iivi-s{o6#P_ z`Lyo_`b9r%#-I@e^!RcE5>zi^Llp}c$Om_OZfs-$6RX^yy#7m|=N7P>92`{kdYOPh z6tc<44XLM(6VuLWanP|kUSIyQUy-||QMTX~t6 zyxbM-@{wfItE-GMJ%?53y1lkcc5B>7X8g&H}EVGUi;!175eW zr55E?b@i?_mJw+U*V@zwysg2o*6Y1}r$UlCK~eo9x7o?UTx&KyIk%*x+Xc~ z=F{_dsVc<3Yx&vA9S@&}&tJva1%hW@e|Xd37x589HFE(Eno3&CstX@i{GZ^%s*U}VSb71@&?44&1~ zEFzZSw@8ncbp34jM%9?wXFC2o$Ma3XyXCIw!C74j&sw;UR|ZW!x;?RzfxLSgb?^A* z{6GSy(a3(0K^a)kFemfMX){pw^{2L|MU=}OX2+Nw6?4FSdN{y0~Hg2 zJx(q2C@x`^v#EtQSux!Fu%4{I=vR{2VYGLa5s`v6!};tL?4|jqUD%cn>tySR<7%kt z`xlPZfH+Eqw1BfabQH!N_()zflg(i};h;)QL(tRmY9CCw0|75^%8`AWY8c$C&9`#6 zRv5{P|kh>gmwau(thR=zPMbKZOJmHIeNx3ea_Ue|~GrQoXK(}d2f1#0Bggb_-|+*NxII5HVVWc9W@jn$q#kaYG4__y zkPcrQqVss;ExY>*jEi&ilu|cHa3KpaTj&xCf|{Im7oQPDDhJG7gDRf8DUSLKz7u^d z%Jo5@>9hCC*~`YKb_g*k(N6bvTY2jHTV70Q3A`VkHZ&`rW`|DuTxMclYyZvqe1xi_ z9~9+hV4gPw@ClD!^gxEuPP#%aY^Ap-aU(fluJ0&p-cz*XLXR zy;lA*u|%7#>OzpbsWS1GxSVH`@J-J@a5C= zI5VvNVU)|hgDw(~>=rSLIn~rA5!gIxpvBJXRmLo$Sg2oa#5w&{W)P<6L`{e?t6f6u z3-d8t(`BS9*-sA*`l^|q~VYP+t+En}CL*52DEWZ=^ZqKxUkJ<7;k z=60!aY`Ras(;W=!x%Z^;j_1_eazj|aqmh;MOxlS>(Cmx1af5;22k$-w)5^Ubd?ll* z(k9_dz|kXl_Fk*)0meMJ1=X07VHCGPB1|0l{TxRKUAJY`2gKt@fn|NdiP!{K)@|!2 z-tiaRI(+=@WZU53NmSOEfOJ^cM)7Dii4@ftuj6zQK8l`=)Av|V*GrUAwDZHY3Wfd7 z1qn{zpQyN%X;7UWv`V4^9BqutJBP=&u18>4-FDG3rP3d*#a#0IntC!X$Q7obR91Az zsMm*PfpqR7??M*=zv5@UXD`)^Gu%O5&)##*D}bnz`qE`>V@_SriD)o}hh~n}nl<)a zWKguf){(sN_EU!A0UkP3F8z7$H^EDz`3gD8*LRn7+wYngv8O|R%L^ZAI{ZaH&A^8r zx5FBSP3JgdjjX=}I0aiMGj6_~B8Hc^1KN(qHSLaju1!m2N)Z*oayq6^8`K@vUkp6@li4AB6Vo-7Z`NiXH+*7-Gth7I~Dbl!b3&*Kipq zHo%pnXadR_Hj0jpN?VYl4Hd&9Rlf>0REOP;HE_2utS&$ic@aroubEY39a`@MsL+s2z)Ugi7-d{10giLp`_k$q^sc%8?L9;9e z7l^et329t-JNqP}Yn<9C-{o%x5UV^}$4AnkKul2HHvWT@mfM?yOo5bgH|Eb};)ma^ z^?OAkobdhOpcZ5lJj1WJDL^OipNi9ARCC@_O-Z@KCj)ZH`OfO zbiU_qTq!*&5CL@kzL_A$`z}pRE|(C)+~<5`PlgC0aiBa~v;NECTTgHdO**D|SnRtW ztCdtr!1~+79@qc1ZJWtE87tEm)!+&rtGuEu6ws1w3O!ZnVP7 z%^r0xYdp0_ykL2-{*kF8g?@XZiaKWdXziVLkj{c(!R$VqwL%CBNfb#2gzK!~lmp!3_KF zDGZ8f=Vbg9aUr0vp3T;D>0JF#|uB-}9u*&nVZfLZirOmGeU2D40fodVaSQ@8w z4h{)jCblyoj=Fhgf{V7y)tIt=@?oc5uML=Z;L%bO_lUa@?7{Mj!dcJx#f`UFcLOTk zZKvM~oG*BDL`YVr*)A2v!IW673NkvtxTc07GCmzfafgYYgg3vR6YmrYFaqRdLl}V( zu za^uvNY~sqxLKX+?=0JfL?GkIQMkf}pzqhq^Sh|`K<@p(ro=R#JESFyxdlDwlT*hgz zaRhgGVOockeGQCv(&%KR6LjN>$H0*h=HSD{nK%7$1~?Lr{muwbX>WUfVc>STk(ey# za_4#};_*hd(Kfqm!ChZ>qanY8AD&w(`>JiTV$MJ%_&Rs+@o0rG-Zb94;44I43G_%p zJl!Y!C0fRsWZ`d3+bM_bpMpb1cA7NR-Hh+vo`p`(=$;R;x0wXB< z0{O{lAqlTDWH0C7VxK{vaJe~iCb+D0SU+%*@?N*9h<@qqSP9d#%!6RmD)R|^)q#Li zOP0g)gep@V78!BW8%2Z{#^I4!2uR5i5m*skkR3DJ5`f{PmtUa)MqLSkFOL^9NsRoA zT%mxm%_>WJ9&)AVa(pRUNs)_w7uX_RKcbX3y3B^8rDx60R~WMvRZ*vZR|1#G5Ls?3 z1ez`5ZeatI_zb+N;ygD!Rl&7vTdmTVQVz3<9WXmvY`G1sAu0gesU%)`YPza}v+0qr z0N0TU38$(QV@+FGeDB&gkewS}Y)H*Z34ZaU>g-X28wH>T-HniNj}9obiC_HsMTp}v z%owym*G;%H-q}r@bFZ`ia3I&qe#)FWz5sk#>II@v!6JvFP-@KLQT})DaR!Czy{B&m z)L+H}AAg*CDMs8E1v)BqpRYbrG{dPLuJo$oQjDoIVb7gnJZjvj0^KZ0NOH1W$h2zg z^}Nbh$0)pM7dI68o^|sl!6P(Wm2XblJ-(s>(Rlhv`LWOC?j~1HqujSgp$JDA{2+~f z&IhNceM0BVQm)Y~2+Br77Q$jsr%2PEc6jWxJ~HvSxopKtv{in|{qU1DKMgZa03%oC zSZl;$V3w9esP7?%@_S?%P!GZ z^h03i?e?Pxmz{Q!A#F!L@XOo(K#cs+|K11~pVgz21tr2z!-sfBK*$bq=rQ{1N7`1^SIAhEPQux#I5yJ)<&eIA#mf< z#fH!XZ=;C6uca%0Od~tDei{DajUVzSrTmYIoU-U_)2I;{wdC4IUm$vn<*N@(k9-s7K0++w>jo5s{b0w^G+uM%b{mpC=v;kMlb53rHEdot;FN%W83Cq# zCR?k3vG@$yL30ffD;!AlVQa`-Rrl)&Be7mXjL$6{Njn`tc6F7lcr;(g%R(T$o;^H8 z!9+Og!;^*aB+X*HE-xZfdxf#d1rm58SL)TxAqL#}JCqs?%123=4y2S#$67xnIOm~K z_UJl+^!nJ=NzSY7L4^4Brw zF&yb?h+C*})vdBoe_o{iN!QD#-I0M&E#1T#SzXE-JpewF`auGN1Ix6)b|OT?)7rcc^Yrk$7o|*Rr(!& zSDFsYc~Ch0Y=8#45X6Tho){f)-jU5egpvivl>AUMuSsZUWa^MVc^=!a-|3E2|8O1x zNk;gQ1t7(NHMx@k&Oap^4&sEibVr>eU?+&Xp!m`ZF3k}JPhfvNEg7b6mowjs= zwbw_3jys3PVu*NY22f%zNSM_=ihu75qTW3XgC_sAH>-qNq&qQVvg? zR>6O^6cKd&f$Qu>H}g@%Y_jrp`LS*iTBH%q%*)(O{LM{2zJQ}JmxUp`vnj>2~E(FF^Quwa- zZ*?zA6!4s!V`QQi_A0EaZGkm?RO?((EswqYVr}8`>5X}W%C=w)oo~eEkW9DttIm!r zk>ApyHzXi<6tOK^1y)M_iz^ZF=#uC23~%Af{f}WE8Ibm3ESd?JozKx*IWQ95Ga#x; zA3VdrXYv=?q5oU7==}d)%m3r8U+-qk8E&-${G{8avRo5jFyy}C(HG7rL6W(H2OzJF zg~F!APLlC@UzqO}E|t6eb?bjOc-tp^GjnY^OKcL|5iPPlYp7b`d!Q?bZVIWMjj{B}d>X>OJXU-v;W+1)i-MLFB z3t}QIpAf(gBE(IkAQ|8p0mQvJ5l|}YxRE4h=U^nzh88lpKo$WrPfP(QsO)NOV!mBr za9vBQJ-3{F)3weny{PmX#Q%@H_kL?~-`fSBgg}ZAB3-G{yMRbXLy-=mAR;2YcLAkK zXi|kxr4xGZRX_|yx)c>eLj`4;UYK|FN58>Vfr{mc@jhg(m7gRlaR#*w&kO zgDB;7ARpaQVph`xI@*35n8*#@d_ns23;%hWoGWaOwJYB)*x5QSrbq;|TFzHi3_Rc> zm2GlDTZ9X0XCeg5oh8h1YM($9#4`mra~HIT<7{X3Gefw!65aJZj$!Bam7fl?;W zF>8$xLT)cgnqQ){=rqI83n$LgQavD=g@5+9y8<@Usjzf(usBZM$O1vRqB$!{y-Vt7f2@f8ClS>YTp{HR7qD~M zC>>Ljnxb54=5EKo$3;iU#uKg!UnGqv- zcIX%hqh(BdnQm#pGsIoKqEb1H-rP*Gk9?@Whh-e8*6D*>l!eoIWfIXvgQVe}{B97? z-ig1G%L}lTUu<6DXCWc;#}jLj{$P^I7XbKgJMv;HYWw+zaK~O4PCv!E;kx+>cHY=l zlG^EXJhpZ!IXbxY7WmYuo~-eMwg$DHs%EDib0B?cG5!5jW9_}~LqT6b2CQRaM;4s3 zpqCp8W{oHh=^j@{m{D7&j)w-pbwm{4G#5w+J@a?is##&)3A<=EKSB0BvW_Sygwkc2 z^hG3Z`=`N_hL-RVv1g*z{WpQ1R?*7coqLQ>O9KUVwekv8IAH0p_lSp6D0EW6{eACC zmrSkYwj?HRV9G`O=Pgo|M4tO&d%6@}%48K1U!}<8n3>3vZAmZMSYY!drh{A_>hY zK4MXCW`V783o^F(wpyeB8(#J1e%n2L5q>)aZx)%|Bc@S*!I8`V!VcruAPB=WFn93K zd%HalPW#$%iMQmLYvj?p!Q)8V@ps2$i$~#I*k3>21w+VE0f6lPeLKwhzZdRnY52}T zKWWnStBAbtfW(FE=yh&stw8oZvswT6NPy0AhYsHv%P?^JK;<|!tUX(!J1b?%9Z z*R*cd3y|&EQy&cwhUfeuFTui(%ABZ@Qo5sar8%IwO#J6z|1)b&S$ej`wfv8|f4TeP zt$xSj7+sWEM~KN$6DCVI$2tPr*VC-~1V zOTgpIag5VAcGL9?7Z@diol{wNNHt5V^Xz!Nm*0-Qzw=} z#}GtfM{nOv7MhGMh zSl<1*_j&Wf;m=$lb@Z)0)iEk*}nV<_h+{MH~ha> zoX-=0{dp7yFSE2iHdzRw+^y8=H~sJ-;D@0WU>x}J2i%Mn;)x|3D}q!{C^dz!_tnrJ zKixjSHr08rhN7XOK?qt0UUWF~5n&Ea5;b)yl50~09?h?)#~gERVa)8ID0^ZK@EYl! zhu~ZCM#gmRV9v!W*1aTBUd-DzPngvWRh^aIG6NA{ALZHZG%x)M;BHyvFj39OZg*ObkzR7|~&>ViC8 z@QtbBs#$ZCAjT5cYkFFz`0MQS!To63xyB8;R~EUr`LTpd=&u6^w$T@1$V;-ncA8k5>xp4ar>*$@ z3Ifw(H!Jw^K6*0X=%rX^w>`0GmQ6pMQ3uZI$WV#q9rdwJX4f)v>Ej9X27ocqauNv5 zZN*QN%ml%`G1@pbG2<R&t0K_Y0F-EFV!!4hdU7c^NJTgINRQBdPn*~yG0I^Vd!B&s*j0- z%~zOApl1c%9AZeUs=h6e_>VO+!rX*?kC*LqW3zgU@ejH`Df^FvufA2lyPem!oef#@ z^)v$(-wwPxwb|f_#}a2xKMP-%0!B&K1vt%c^D{The$Xo1bPf3Oy59fi!3~6Kwa?4y zymsCXtiQSsm(KV2ALX)*{`wx&N*O4zI~o@gtnltHRF7L=w;$azbW0Qrq|DYW%^1xt z$RmZjf_QYXFd@TM8Yg_nZ6X0lfOjeBZ+XMT)Bb~2sp-@ChYPJllIj)6Tc21s zY>XM1+%EQ?oYPxme6w!h;2!_3i#zY?!hG*TZ{ z6Igs6uAMPXE$*)kg&c`yPW6WL1VE;)%|uwgKc~f{WP&^#&+1RSu6F!@GotPjIvKhA zB-5T`=@MuKs@o>MWYo#RUYX*w5-S;}VmWspSN2L<{gKwAwGeO7wQ;)3Zz6o`zVMHR zYPOAdYKZ4gl^71W%QK3XX6HG*TN`ZUw=gae>Ux<_bKvsoiMR5%=j8zZdApEmgS=&d zoryamfc`zf3CNvujl9%NTBiVu7a8Zj+F4QVn+h9xCr5xhB*fJA*dhb2Fk;_YF93tQe4ph=(2YR4+j`p zG(tGFwpk+>e~n?$?6GXDQQ-}CT~RT31c!*2QG7n){H#=etls`Ihluzux}I>Q`_KXk zp4}R&gwwyw^HEn7OVuAr!ElQxd7}Z90C?zIY@&|u8Ftzm>Gm4wQcNO+=`A((AsKG$ z96ZUclRiUPyxXPA+z%26pK@%EM0j)WA7Odug4m}+asVfvu!7j4qL5G@i*begvrPnI zabZ^N3iF*`bM~Y;8pYV(&>w=q>O#sKW76S;MitX*<+UcdLGV6M7J%`I=t6{=sKgXX zC3r!`8kuPZkmMeH>O3Y5G4qXsNMONsmp8tNPHH{r2cNm%T6lY&jOn|=MpH6+A6l!$ zL0i8PgPWlB79EdDz*?Ti7VVDFn@$*lLr}2`;f1Z1f?vffJw2SA6SDqJ2jzyuuk_VY zqQf_8&@*UtY-y?x5j7Ca(vGy ztA~dT87XW3>ZFf**nDNN>M0Akf1oCmn7-Y5n3&|Kc(~%4_W%jn=?A~2a6sdtoD^cV>rCwjoZ}$4K@q z$KDDbb_jZ($Dx2Z^xzop@6n$HgVTTT^q1wGp#MkReg0aLa0QZ_4Q}7(4;g_-5VHx$thIU z4WO%Dz3YhZ?dhFaXqor`dHZp-_I60m*xGib}!~j@!uLW&fT^i zOp}s#w(`DEJgP*3?EIm=AF7!o8oeN%Hm;*qsC(I8a9`ZvS^!&!(U(%|;#a^yll#Qr zE5cM^WT=FUW`nV8lv7`m09|usSdr}!SLHj=DalsF*v?&|I^=oUg8QXVO-KDX^?kSk@lQQNyp(%i=Db zG-8K3kR{0vR~tNNBz1hd>HnooNcEHui2jOD-n+$PrVj#* zAMjC!j_1f6-+9@IJAA^Uc#K0t=@Bsdk!GeLujCkDA<*mIS|o5!23*)>UaH)OPjL*- zBd8L*HAxzn)VlomgRK@KMSle^AOk_cfK}Q|4H|gy2x>(s8LMlBPZ*Y3L_=C4I1-)- zmUhSMb~NP2>Vt{{rFIoynH*;o84|~fN80egod!UScs79>14zB)7Jhz_t}tV%(YefhBIF6q&9MswHrE)gC& zWYU4weF%)z7;re7Pqk}JSz=P-P>%A(WkAU@@i<6T`n;W-(7uBrv~q3j7AaZ9m=kT9 zhJzX$KJ%937}l@TCwLidcy<6*Uo_|JRI&N8vY`l^z_6NH;L5U7_TET-9c@=%}tQprl0>zfich9PBZt$U0yE4PaLKyHDZf`Hm*C8&I zcka?2_DWe4<8__;I`5fRs={G%0q{2_rtw757_NZxmRUC>o2*nF-#}pYx2+}atCUL- zxs}(iN!qvP#Y<}X9k)XvUeO}N51H-nCG2UjnER9w85n6)SpH568YzPDGK)3t=w4*? ztW-MwWD{{IY#}3GyJ^|r9^kZ=&4<0uM{wPh@v5Ot#*#icb*W|RYYqB`P$Okv%y#d; z$WguGB*-6BZ&X#ljXYS@p~u6*9h}#4OrySW6;xk3Hy@4P{vI}bwQFWy)gtg$mC(IOArXXPRXJP#-sByxUlVyvVUZhx5YDOY+~Zppk2@8 zOyA4hV9Ev}ZcJef0E+fFNd>oL6ZHI4ORZc8 zZL%(=@S7I z{{dfOqZVnsO=;o2+Rl$N4PgP-XwC`0ZwMn9zjUZ(_+om0y_&E6HMbMufZ~0drt1n- zd&?g~0O!&EAZa8)qTh#h^K+P)Y4Zt(UXp9xQA9I|uwtI#ksEEd(?ra@e|T>O!dAA= z9S7L``a-X#XBA2EXz8Qa z%p*Et46jI>$vcb)x5?xM#o{V<918A4_!uiUeUk*>nzS2!#DBOF5~CPv$w>+0K7)$q z6a2;&t0U2s>uYF({Dc%=8skC=86eeD&B)FaramQ3DFJGEtHThhgzdtNM(^A^!1Xne zWu)`VTi0o@yZGW9hIm`<+>V}Gii8OE{1pV8Y1;0596#@BK@;yFchP7M5}Skd9OEq3 z#h>9T&05>$D}y^5QI?<1(olu_wU!b|$rp_j&N7*lsZ=VSB+^+$YS!=4GvJAJ!)Jlc z+L$0Ccx7@CUhug7#ih0kD25Z)RfqAsk87AvCODyxnA>M5W*zoQt7CNql-u~n%F|kF zVop_ayLCm8upY^DvjP+B;nftd52ZEtHB0Et;or}`>V&~Df?-bstqn+ePWN@Q`Wp(L z+b!{AnKLI@EHdAPQvlytdp%0*^Vq~bfFN$sTA`A`eD!X9>cwa*z$RX#^?dXO*-wR0 z2XcA%%LuVMq@%ym=NmX=G|hpAz%$r>$jzIupk7{$M-SiXF&W>JyX{D~>1i2AcEQ6r zu;~67*ka|^S)X^EUq6^9LK{haD6-NsO!g+47fe>*__S4osdRUOZl0~CF(adiX&Th^8~fg zT74zgXs&?f2gIL9qd%3@mi_tDF*jm)m+d+(4kk+ddw%SZFH^!*ciJ&wp^4w4z&8gZ z-jK2pPolu*{dgVBfVq;BC@|nA3s5poF`@mVf8 zd8K86c+2eanpzv>LW}CUmM6L>RhtNr*3K>^^g}C%E2uZ~3N>0c55F9|=@}9A>TQcq zuPr2LdcJnz-kXKxQkGG72ytaA#q0gu{*vvlIF_dm{0gjo=PKPCjP4g%)lL5~BmH^cE)Ni>7pb@y4mcVVLcJt@M%9-!Dq96` z3&MqkZe-1Js@)Svd^gnOITR}&CA6h&a(DTt(h;(ns2-BoRCkZR)Q6>A9^xiO# za#?Z;Hwbz6>X^AER{s0b&wAY6k_Z!x@ZFE|xtC|oJw4#NUC?&9c@}xNxz{*B&wlBd zFCV1gYv+SsqDpg=D+4#pjzz$%7%_xIV>}0uDa4=wK&P&E1<@4+&oeOHXV8p*CxL4* zQZU{;u|w_J4=_}fcdh_*u%9hL0{w~|d2SNGK9YV|&w-{UD>aRg-nUzPbm>RSqS*Sm zG&7C3 z6TSKKi;-~Mw>)XGfZH;`r|vXw-tdnny!n8<14TZqF<3}qt7fF?XP|g(m9!lsgGew8 zY@l`tnvJZ|qd53WOR~$>oXHvR0E(>QY*=ovu$V%aq@nJ5B{!#;gJWwMwgLk*9HGgE zittVrEXEk;V;;EHSUK-!$WSJ<4?0!RG^|x~r?~Hi<{|`WSa)gT)xlQz0)$hmNEl{J ztwYumq~h2!4K2{~OP`X@!1enO5Y&g;VW~$)r)#^-#oG}XR$A+ynyd}wx_WHwwC>Wf zL=*2au%C~ty%)?0l$pX`-4$bIi*x#L|AMWI*@!-k*3IG0dqB{OuPs_>quo1N4Pq*K zMZ_`d*A-E(^|4R)r7>m>MxjCW$6%|8cvt{*w{YylQno=3CD~nS%+*jh~W>H5=OB_|2|9@ZnE)MQbc) zhYKGauM|9XIr>`^c*L#@!?x+mjg-6O#~Ykz_Vsfh=Ntq@*t-<=uFG<_4T*x8%AN5! zKZ<}2%AO}JYtr~nuV1MCZ+teaULuW&(yz577RJ80+#X4E=hS5!d;L}X(`kas_7F1- zIaXu;2AeOxoe9)>U?6ZxIEWToNPgzckQ=7{w{*d3_>i@XhyRNPbMYKxs8M!zy1NmV zT&(&F*8a+j>2)Hh;$OU?f5-q=WxLBHfjsu#5@OP%Tzl~Z;EFQ&?{y9|Wo``dl`I^Rno*@Y# zwEb0xQ$k7(AvrZ&H`6&6taG?gaIGjC^bDEbi!=A}t8Z<)8r)>z6Vcw?BZERzHX~}D zzZl`TH_!|`8J!$OJ+tZLU>yuKUBf_?xw*gJ}5nRZ+K z4n44+AEA&7LVS7+>EX^*lKcXk@m0GP16K?L3}&W=Oqm`rDg9dE8PD%elvF#m5s$3n zI+fyrZO!~v$N3^7$js$cq{q^g4Ed0hh}6^I`G4wITyF5SQm5BW>d~T4blGdX^7yB= zv-)FtqCoH6&uJ7{6Sa(;14vy8p||z;8TP{MMw*LHR7anR($JpQFcsyB_!3=Dcg8q0 z!v@+Ues}h{o{4nIphncBj64mLOqIKjk_N1Uesv|21B zrFO9v4^>CpiFp2LqD7)VQw=Lx<~pBlyivBe<>PY!$R!nvSoPD7Z45kd@%HRA*c9gk z5@N#LwLR{Ps@Kv3>02vl{h1F?G(c8R!gw&0mUrytxlmsZyF8TlHe=q2unS?ux+&!8 z5lYqaFSGfAXT32BLX!D%Nr4no04R`VY}-dB>(s3AR}@tq#a5JP0mNh}L2Nf^(LAa* zgL{DtWDwnYF7BV|?PTX| z@9&W(ui)ytw!NkT9lc(uw|?_^Aw zXHp>E$<8q`ksyhcAuZm^k0jq}t$c2NFLe_C)eba}$+)A08BYbMLY^#fVy>gG;bglL;6*~UV5(7-@b|M2C z-)F>!mc>7NOh}kpFzUWLW*3|q;V{eQ_Un$ zHEP^chT?^-V$k|Gm(D$GgM98Ybdmx7yJq}~?DgyChqK>cb|Xpw`#q=i^qKgum|5dH@@WlE_saG8`c61at1~dY`^|OPZ}sTdscz>qX$@Gf8!&gqSc>!< zD>$AallvHx(-SSvi*AUh6BDdo#F0Ogd4=hQpS7D)?#Jos3^uWGRD z1Xnf-lpCdXZCLw$uS31#6<#%ZL|YVZl0CF3=KkHwQKIuQg09Jz!FBw(9IX|$qI<-+ zU)DV9{pmRq$zg>Tx;Ey0o!7?{OhuGJj&ojc<`^Qt%)4yeTGnBdJ8p_w-l~K zF`PYOC71hjikU?OGW(D!lA~h9LI5@?`tdwp0-Gg;NP^kyBm5#*_Q0`^;N+1_m|Tb- z<$UryL2G*9Jw#su{~oQPatjqN?H1XUY_vQ72`?LSW{JV34!@L^P>~j#;Y8+Rnn@&< zTBdj=SQH}wY?`gmeVLWzoGKy`$PP`oZb<=QOXn32Zkk`o_huI1Ewu0^lokctN*^uC zoGvN_E10(-Fmk7;Hw6dEqHCn&nS)r;+~6gJ3LXZxAh@li&08BYHyEhMyzLr@8XtI%IAUT^vw|trhQ)>}+2j zmvx07F1_mX)h}z?bnaggEj;)6G?AnO!ND~A2qt(G)afS`vr0`BNOWePRoXCbv%m_3 z^>TX4G4+{8kdyXvq_%grIK-2a4aS#LkPJE88GiV}nJ7s1LUpYoe3bgDnFvHG?(TV} zZL&(wB)RhBeYdOYH^iNo#eYsVoTsb_o^&QBeqp(GOnX3$UEjGl)nZ|IAE_5zb06dS z9gm$RJbIx#BQuxP^;YfGqqCE44VBH5As@#Sp!73E0L(dXLZRi!4KwUVmFHeTLnSXn zzFCA{!1*|(Ys!B;UT%qZpj>=!u{D%x-d zlHQ4iLv}^od=&kR*EYk2csvQdKkFIcrUXOVfe_H!tvPaTL5(mj&PxyZx7YADuuOyEQ{o{n^ihI5jUjVR% zDnU-Rf=WCG_b`r-(~2se!C{o`*Zc|#P$2ZmZ^%yhd`gKU^*3bqp+VSOhEUOX2Y|NE zJMNxW0nO-y#3X5yhn~G-GB_^&=uUceenAAmB(Jcn+yWI_5?@hQf0YH{gl}kVlW`9= z3(Wvec-|@(`|#&O-3G3q#=|e`1FM}NUazJr44%CSdpBRu=L5O9u#(u}+qt?K)impD zH@aYF4&LJkh}!8V0tnj*a36u3r7)emh*b!7tBuE2p^+AO!BVvg_1Lqr4`STl>4u5%MkR>QvAJP+S}9&V9$LFfMU|VEUL5s2 zWV~fGl&#(NJF=@Z{o#afvE&FmHAmcShI7kRfA?)QSRJgSq!?3ZGgxLN`V|`m$c=2W z*JZq!n8W#fxol8vJAuX0uX1oFZfnhRk16iwfhTu_M8qHE0PAzi1X=7J*SHVUOh42qyuk^N8$Gnc`z44+L7&J_gH7 zn=QmPFpXJKKodkb@Sh^ai18e~{m@u79cm!ynwYqCGWDHEYb7I>TbKwFDoWBdU==MyTvn7|EONe>XtE1{;fI=fa(CNg#wmX`<0wbm+LJUn4VSV#q5 zPpgRs^^6gi-O|^9lC}EGt+Cm)NGjC4^27=Py*h6?j~n05hYKmZWJdsv0tT8>b*@sj z9FPElV}7nKlVKTyZ(VtJ+pf;M0P9NEX;+3c74>TR?~{HcAzi-lu1NSPa%G|gO@+v* zg-4|kJ+An2b2v=fsIT!Y^0Sn0+NF}AKWvz+8R~usgD+)ICF8?I0sX{UP z4W(ykjTKSD?0`1O3m;DaGVIDXSI?+i&E`ojvu-B-@*bGmdU{P^*cj{$_l@M^++9wZib!KJjf5;5hmZcZe1&MCsq*6si7{SY)H(IR*) z8UmT)`)Ve|cwSZb$){9X(Ds?>wfSwC@OK)9osg~LMap(uAj8G}Y!f-kwIU?TgfNouvS%GF+Od@@Vw(c!de9cHp7G%>;EEN>=e}8 zfyjJ`6V$G0SUY9+WC1km|KexD5z>NBs(IuF-NAZ)%@fa!i`!L?dnet+po2@-=JrXC zCMybY_j+PfDk0YabtY5K10>JQSmI4=g39aam1qLYY(UhO^>+Z!?OokGl||+dptfhY zt;q?Z`r=i6<^93eZ%aFz$EQC$?)3t4=9YZYy@|^kAv5=%eBQm!Leu9=^=a?B-lPve zbBKf`ZkpBvAqsh0F6tO{g=^ET?U2>xVFDZ$Zp}<}cRh6>myT+mziZJS&#QNArj;*R zI7Cggr|Ykt*sm@T=&(j}P4|6gmiW)oQ;3G5r*hw-CjH^p?O$X&Pf7>yjf}h~Wlyv5 zjJRk$adE1(<8@R_xnYuNe1M!R6~Azvlj$V^#%7yoJ@s|6dlTwV&|uf?x!5j z$FUFS4-dpYe3v>lm-An~I`zSnmhe5CZ0+-#n852}JOmwB6dPF06U)gE7C^rFo0Muc zAI8vO6Y}6RNVia8?w7m>mv`f37vkK-EJP+V%`HTW=%faR$c*)~i=OJTnS1mCFzk(z zLwR6hX~_7r94H7W3uuY6rKorbrkec3dh8P@pm&`wI+@R`la4n#McNwx>c3fY72PcG5I$O-J4()8?R zIh6`8+|+e>g1pBz3l|n{oeGH|Zu zEWBJ))c3ThpvrT5yC2(>6xH)P516Qp6$`G#ked!5N;h6M(a|sL_KCl7+EcpF7V5+R z+uzt5m9K~Fj|uug>J4d`J}Zy=l4B874;9{ry^;{Q(>TFzCR7KB(I!o( zt;VzWfXL{Rv)gL$2^>oVO_SN5)NKO6n_J5dBvj1ZuK_nBz+xTgsO$F}<3Zz0qF!=Z zc1{>ehJF^IsMw0m!z?DWq`F3j<-S!+ZF7rEUZ6!#3Rr~9gDST=Q`I#o)HLG1>d(0`e;mME^eWhecsd z1{MP6552BS*%gM#9~N67!*)e5c(uGEIiKIh!ua9&ceMnSez}t(WN~%PMUYV8c5g@2 z+bH=_*-iTUT*w;968I(!Lo}2iD4+kBztF13ot>nWah)KwWUf#6G8fZklys)K(AeC@ zS?@DgK5z2gQ?|`R@Qk~YIVxA?${k~Z{qu^a?xF0DPS4Gfm= z@ZUW6^kPfSBJhFruN^##|M5K7poVyWnL9>Pyx zU#@s{`LX6vSsM(XbH(5yy2BzIU)6#PwVN_C;Q#n3 z=9Zjd{a4h-S_E4-xpFi28%MPP3dVsQW;`8LJtO(vmt8kzLqGcGgGm3!Bi&s1I=PFi zy?gYSoP-93OO%ha;a6lIL3=bcf8K$f4Y2`+EZnrafKD^#f;STS@}zHNJ=yL%V-Q&x z5baSLL1zcm%8d63TyCDO-mDf9NW1#nCde)L8%gfK^>_dlc022U%eqXI#3!y%uR#OZ6tDNX`Of2RuGu* zYG+Y)^{+{U@-;U%pKn0>v6#)GqlyRI5%r-kH*3+yZ>6op_R_|{wAHhzA#NFuz~-da z=U<%G+Wi)TF(`Kdo)Il~`KkX8A`x*Y5>bpJTUw+jyY4HB+8|JO0D zCcVTNTY7)!v+olT;^?&>CkFU8mI@Id@mP4$gzTN%6>kL|<38Xqep?vrs(n`^3^YN? zIT>7y#)D24_5`C7EcZsa+`bE9xoKWxWf)i45pZC4?<*!488&zbI#EiOyqv4VW*9B;5C|Q;jmxVQ>CzIJK?T#V@`i`nSRh#~vNmotEdn&Z1(!kecluxm5Hz zMWtD*O{T$yzTEh#uiqfQ!&IV4BVg!jz&TKT`JIHdDu3k+-g14Gw#-3;$-&S1AnYZd z+f^UkUx0+1UiNzyaR$xzoUl%&0b^5tHa`wvX_TOJye-(;u==V*@8lS7Tz^wz`TH?` z4qo8YBIMQOGHWY~Cwnk)!FE9`j^lBf-?s@Q`vcj&GlUStr&mG}qrx<;h^-k{in!}p zJ%`&RO`6x@W(`P$=bmZ0QflC$NDlYbk3~$M>uv16r8dP?)jVbhYGyDDJ`R>4k09I^ z01nyc$rCKHP-vZ0orh-^+_8Z&`cv})@XY3rP!8WZNQ9hms)gdGrwER4u`X)h(Z!CB z7O_8o8jiSw2n463Bzj;Ja`~(}8j#}urWLPKMvcQ4D65kv8yni@C0`X8_{1#i4>BM& z6r$D%AzC;KN|e5?LRxC$z)6QONO04)+b==1jXo-n(hu9?Af6^{Mx>s3Kxe8vj7=pc z1*ow`(~6k!pve7ud8uP9BBKiAjLQ^@Vmf_-9{?+l-@(RmeYD_XpCtGw3&>LJ&QfEr z2uSPZSkS!+#q_Qsgzr&Ut?4GtiJt5reM59h{(ETs%lq@4$819e(cO*q%9_wdAFJ}u z&8O&s7h4qO;8o0rx$B#45-q6n?Ym{%YwhwC(OVQG;(67~UpGk=o<3fg-a^AqB@k^P zfe9j%l;zu7)QuWV+sxGO6t*$6mNvv*><|9ke)eL8-2t{!Ny3Mq+U%W)^-JJNQ(tG8dp0f`9!_CYn;!iJnB#p_Jxd@)B z!-W{h&BKp)RpD=oNjF`-{R=Grhm+;+$M|2!@jsQM{bvk`9O5r45P^r^C*aCWHHGuq z9<&&yQ-i%t!{b5-W*nBDrw@0jyB2%%rm`{Va0Cg|ET##G{jKCYAylpsnRu zbA_!p@p*M?RCn)CQDa@%@OT{EfF02F@@*)=9U?qE7r-*sy*R&Yhnlc|v$AQ|>glqz ze`m&{{>#xV7OVG5-@#oK)$mkeh$`YGB%;QgBFuw9CbI>a#}r9(A-#qHp5GhCDpe$k zs9RJCysHMX(r3iXAP?98|Kr-|i^epNp$aa*h{ zdwAhsAFrEm-&2@sk{zF@*B{=AjdHg7-+t>XPEa`RDE-B?(H9cH4Xor`B71-b`He4_ z{y9EmR1JY*NB*$im%*k#8ez!}C~(a=z4^kHo}o&y$}|s9}%x@9AfK zw8uQp5}Q258yYFsG(`en$-bFVUOKy~mcS!YT5wLsLh@r`q4E>sc(o0+Pp5UrL_VcV zGvNx2%{I^3q^)2gm!uu4O0@yogB`9%sMmaNGHr^cLg1`Z1IxB3V-YBfRew$kZQ(Cc zbdDMzEK`8^3nh7Ia-SFZxQ?wCLM>=C05h=Qw?id}72zPNPBK}=g`NOE`tUOuXJUth@`ao+a9moXJQ&z zk%ny-S&b5jyKme=<-4Y=;-Z7w>@#*eNM)LThD?(83raFAJ`eah>;Luh*AF;2SUns{ z?{YZ*|0_tvc(RlLFx_Mvdv8Sqs|ZloE+I{cWrHwp8=??n5H6KXeP0ep(^yIiYRVZ& zW@a%*vwcO8C-t+dt&<`=b)rekecs{nA9g~tdkm3MGQ)AXmW;x}#J&mSb!A$%v`Yns zt=CIqB6;E1kRpJ-j(iQ?7_E-I=HrKSf-bk z*ir|w4w;2+ei7$S7AXT+VRPEm@3!jg-D5$&-bEWNdvGu~ELcA@Jm!%TOXQ8{lSN7g z0|1QzC-1JXh}=rgDJ;5(_rGNV!YU8S*8EInbyIP!qi=J2R-;wJ)2`SjPHo-&fwfMM zs{^CnWmXkq6P|faKq}aa z*Ua(bd4d8nNxiddzlciL#p$yeNjrG0&PWEmejg9fd{wG1D?h$R#G5i8In<9O#Fx46 zXe5(A%cX`>e^d#(sD51}^2(i&xFMqScj<8?BT_t4f}FqTt!5$cC_x>SoC{Agd}xr2 z2rZ^^xP3uGh&pBQ6-U8fLIdtb7wXEjhXfl_;MM6xz{W7!E;xeqv(P+v;wcu_;L^?|7U zmQGZ*rEiA)KI8e&)}VwpLsu0{#r&0bR+69FS>c$!vwxK#_u+1DnevG?7USh@wpQ6JBO2DumLUxTK z&dHLwNa=*LxRY2!j2WKPdu22s^$S zp>8Dx{7}=4U=e?7MWr|x5uT(jwHjolZ2<0Ru!|6giSkT@0#>EjxgaRLh)5Tysqj)z zIxjIYBvoJLdNBoyeoa?$;Ld;&00GS2!MxI;*fU9F>vXc?b&;p2yES zXqsk0u8Ko5haM@Ew!||8VV30uNV)Yv%9ZnW+bPcr+xccPo8CPepi?=w2M=(b_>B)?Eid_y9B;}HBC~CNTx^3 zrDMVUzrd=h(3jWxH~(^}PFbBy-q{sb9!xtm|9SH6{|2n?{=swozwuIiyc~223qZ-t zlFF$N5HfwX8#mi<16JFmFszxC?jG=X*E$4d=U|^XH;1-T5l09^Y%f^i5OH{bx`-m= zLirh5#CB)Wz!*woW(o#BnY|l(6p$mskO_fYb-0V@oH)-ylK-S^0^k+*xZ$S>-uHyQ2Ncmx1TcK>o>nK zMnLD%04S25$$T3e=0&ll#3O3i&wA5cDDz7Z{n%oy)H{uQHZgX`P0Jtq2}r+iU%a8ShQMdE_Fvx3z!VI z)PC%fY*NhDl1^J36dkar@;2+T$-rICX%{@pzWS23lL`Bx^INR~# zsWAmfz9}8MM9ik_=^bi{1OZc%AIm#S$u3HxJORFq09bL`JR&Li)gaeL?pS9Hd&rzV zP;Tl9mGZNl{ctn-{IgrY(U-kI_}J~h`kh}p!KS!2rm-AuSZln=ac~WJznLKV(v(Ih zmBGqXFrCV|H|$uL?(-l#t|Syr8$%?*nb0W~Rt!c^oS!5wpn&ofZK4Irua!`cUeF<1 zfXQ%wdr_tq~|Kw*pEw zJQdqr1HAtj=Is;Q8$MCbUPvuh?2X8M1=TYw9JDR} z`MUgn0tSEjf*p_;D;Mk%2JCmQ`ZSmd=z#q#Z-XE$QGSq0g-jF6Mi#XpWw@G&BeoRl zsk_n8wk*&#z_lAK`{~}B*|n`6o@zO%?(ubcBIaR@vODln)om9EH@V82&hGLF~pg?by-51R8 z@T3%jN1a`8y~V#nPdS+i1wLQ{`)~L@2njXQ4hoBm(nMKD$Kj)FZaT-OJobcyr)K_- z_P)cf>FilMkPrxFAyN#uh8n6ZfD{205RoPX1wjO)N)hQbQW6L)AcWo_^w3dMKvAlS zfQuEeW2L!*iv>m3d%giR?(Xlt_bqpK@9*9JU_R$O^UR!?XXfOt%65Q-7FQ;xRxxXh zgc$L4%|{BI{8~3QpyyRSXozPtI}Y3}3b`xUJl8Lj4lgQ5+i zm-Bk#Mpj=IXIIw;{_Wt95;Q=2~zW^GQo@2Cr0Eq$XqVm zqRgo5=W_2Sz%)Oca0_Hwtme-}5W_d!Hq+kKS1h$k*v?$WByR70;a!8njU(EV;dh>_ z9cx*&hOp&G*1EfGeowY0nY1C9e z&9vAbuxvHKCBf{O(EEJnx?ucfohp>azxy2xd~~_AMccZsi+!8wxwDJ!=AI0dns=T1 zBr5!J=HWu~DL+m|tnwJA@W?X9KmT?A+Mk+wUg&p0VWKE#)N`VEiDKSPO_Y+6 zijxfLDzC}1|JvW*72Ld*z;znH`Xf%UyonwzBz~^PUuDfLT~5r?8n8f{daKVL({GGJ z^opgEn@4p0xLOBw55;i|ZC-nCy;b$On8t_;(;<{Krw*=t+5S}4`EbW%^`c1A%fpMb z6Pe144GOvDyG1LCfGeF(XiNi=A7TsTji%FrQVrthM(cO)h0Pbk6Bgq zT$yaRKD38EM^f|Dc+0|q%7%-RCu}1e&OCIgzkW6T?yPBtpw2}wABuOQP~-4o2W*Yv zQ{sdK_S27MW|?zj=lLW$!;5dd!4>|k+-+|_GssI&%5{99(asDI`+in+4K5I=joZM zF`wqS$9^~8w2Zv}Xg26M{2^OewnYMSz-v-8CBfXZJg$yMuSmXPRUYgIg@bxR7?Yhx z^VS{g;R(3emm$CZvn#cnP&LGlKQJhC)#rI-CJ}$9f!dn%Q?Yi%4TSBKJs)aY(m~rK zIBZYVrxd+nug%R?hl@7Y4hfBr&l?N??s`?*!(4)WHgKDD1Zq({<1&=C#3IB*IJ=}&xF_fM`i%R?+^>BcCwomDqF->1lU$5^THv1W%USszgOg~iktX`u-4m1WYbPm+B zK@c~T<-<%jV9y)ZhF@+{4Eq@rKK0Z&_(0(^&3BPZaak1;7h!0}LyAuUy(GFU^?+u2 zj#ab+M{d!sWQXkHa=rYD>U1%;!kPxP+Qya?UN09|=CSs*RW2bN=cJksCU*7rxYqZd zzch46tZev-{e`PHtghc2GyUoIy*u6`_lv~(Tm~K$i=B1!n^PF1gffKKCZZY0I zp0<1bA-!$#)00Z_z3$l47)84Q;sq_mH>)>1l{-e%Q5TlBfZclPd?8Ju?-?pQsRBd8 zk9@vta_P8RVYaH;=DA4$fpY~Kfz$UcwbqQ3>csNmj88DHRv2a~+7F(nyxtaveU>LrIdq&p*VWzATi@1qL5-vF;*bglb2vQp z%JmyJM{jM*+#5I+bj|ww{VN=_$Ns#7W&(Gf58eAYXvFlzobQy8!0ej~&lZCp?Rok> z_6d(8-2pDB`1IQBP8rIIsmaBwg!1#rA}U_@298x+Oq1A7TVr&*@=_+yD%ROuI$kxD zOK=%1GHR{9T=@SPr0M^AkX}pbCUc;I2%H=mkLC5aQDEZ-*F$m@nFELEh9h*HRi9#T z1hN$uYCIb+V5S$`mO;9-$f$Xn80g^(tlZfQ zco#IB@}w^NSS!42-?#RMq1lCTg^?PmhLFe@lU1qDR<09KfSN#>kfV~)H+ znfM|Iq!nO=X$`T2S>Mpu)SOw@(t6_LskZhG@#Ck@vOwC`fBr%?r^*%5pcRNu)5g+N9dpJ1k#2t?c8FqW4O79}nbAq!*7T2OW} z7X@Xfqom^}Peu8)*$M!Rd7tRY?C3o&-gDv7pj@y4ZRpC?Yb+uhyKVI2o%;_Uj6He! z?D@px)HDlYbFY5+2V>v;tn_P50xuekH=HYrJ@Rg5n~o!cal4-vsflSx?}jPIVIx|^ zF`s{UO5rdF!boW9Vm4Xm>hK25>Bs(RM;I4;@v2WJJWXOi(hwW9kd+{n<8e1ecGYVM zi63_hN;$z#gxSXD5)*fm*-H%JFcj=GES&?!^;zPVqpqGM9(CW~^!1}I@Id+!SN{-B ztcCs1@`VVndksiP!G|r-0v%}YCa7Y9rmvHp!DK zqZh-`XuB(S=BOjlqpQ<|J4Iz|z~kCx(6nppZhP}fR*k@0=$?lzMtyhBvi_+cG!e;J zxp_oPzD(F*dXZ0InX6@`cTNon1Fvgpma1r}5|{kePh2u>4KOWc$uy5?1>rs&`Vp%V zmT8@wGR6G5>Muk@)Jg&_=_?6bwv;h$EKp1;6Xr7V>C#-cU_ee8k%Mch+ouV?Z122L za`%?-&ygb&h2XW~A05L6!5AtXL`@1Y2QZqrUr|U&sfmNSZux#vO-}ewdk6X=7%NyAXUxI>72q zb35YIQH#!2jYc!wJ9F&=ip|MW(21#AefZ8ZLL82M3Fdj~NNj#23h!O)f=ny-I#}%$ zR=dad4{f3?+vG)RU}eE#F8KR9F%!QAqx#OP0Gs5vD*Lvl3ZTmajd9^QR)Ufimq>16 z+vg8W+YNXKN;ewIkGYz2Hc2&1-B5qPbzAyP6y?C~<)bpBCIj*}fTu$V#xnVP+LtDg z%i}|gp5An!+-V9cgqq;qje$QQ*j+n~YjAk6Ei@a4kuHo#266GRP-YP;APY z$XK`%Bcpebp#xeXD_@E1P^uq$!Cn4FM)7{jtQ7L);N+%^2EHzEWZDD8cdw^twJ=#^ zq8-eBlV6WaHzNPAWsw&uywrbJMX`8QwHuNhTtl!Z4o{Xz#wJ&kfOZ@h$ z?Y+e^m*_v_H|@Y&%}7(*q5@;eVMaKnGPt591Xbr+^qX^9GV17(QIk_vDe0Z|Yr4ey zEgkAW44)S>DBr%2tr<`AzvP{vO-~ivVMwSRd%?`O@)EtdIj?3iH5f4vZXY9b`*bR2 zl-l*HxkpB&Z_YPG?TUnAxO8B`GU;whTDnGgWd3ptFLA1%R8?;?uFc78pcFP!u)^@; zQB7@rfxoj5q6^BBh4Rx@Xjc)VHC>pBFzDDGTDS1`$VmkWVAenuiX@c@TIJg|OUGdf zr*+!LOOzX2pkuSmwK?;!LlFuKS98xq9k8DNU085(fqXJ2*A9ut<=Gs@2NaiANMXV& z{mPh*rHQr)zq9H`U{%7BRe&k5PxUSg*)220MUi5Din^)DhR(`>@Or`?DqsKG23r%c zKGlSKq|Eq7??$ImfmN$_+NYfaxldN!1drE|<4qS=7Da0Nv2vfKV3iyJkyw^GJevi7 zV{|biJKQ?9%!gjRU$-_{m)Q_f+7bd6{+(^miKQ;v_95KC%HA}>idF*=Y&*nak`RmW z0v6j8E>Y~%n&oKPJSHHWw`HY3c2gL)=)>;kLAAYBHRzW?o15Rm?6$h(SRM*Jbmowduq|m>|9b^`SyJfSOwFHBVAZf|8;zIXG8XaC^n$k@4^H zopRoRn11eTsPYH0w-+1aQqxkxmYg)xCNEj5Fe%ubQR3p{FYQy|ZE9Z&a<|$Bc#E%P zbXsiMZ|qy5IqH&qlT!*e8a;TPXc6z>ZHX}Nq zg0!bPytLLEF6Emf{KxmX?5pzA;lglTgEd{IC#!*B+6Q!jVJvpzV(~AgOfb70_^O4B z(r`6etT`-nDkTsx7rx~e{FoLp!Y+Rv4MO|t2aAs)qqXc~G{S%*d`o)6gK6+AmaisL zOUkr)G3BOCdl=Q$m;kAS`e=0Cv6#A(AqQL9!`aSm5cb6rVwdSekz^dKL>#uueq0Mo z?3`AL?@wrv#%Q7ppN$^UEUiq&cxkQ{y3r6qyKK4!Qj?Pgl$VEfpD;+GQe~9>zLu)k3|}7jl>KmXj1qM_Xt0^kZF5TTJIo~ znl0|OX>O>|onFws#5l0`UZi{kgt?%21;^jnRaETcSyEQ6C@daY!K|&Ui-hwwkaU|9 zTfBZ_+aXr0Ph37T(sFiGUZZ1lEmHr$TdKL7lcT)HK;`kLPWT+W-bEtCwi)k^IZ_wU zrNm=%^Hu7IH1bZiMpIYG#Qq(`k;a#2ptsCB=Pzf*cC8S55CigDyquAR)}<7g0!E;7 zNHvM~VBHba{wDYEq(*k~9fXlN4zUhy`9hhjM5NeoxRpl^SsCUDz1z*5CNb1n1T_J2 zR$ig8eP+!zE2VQj$q3yiwDbzY^Piu%6TYu-=%qM5mFs%kJj=M>MO6A>dS+&bvqzR; zhP7Y*K6GITHM~4(H@qs!ad&O#&a?)0Us$qhHQ=_mFHUMtPsiJ9U$}orCp-5g$l12= z!wp~s%iIRtWQR0f1OUy_$omK)_NB>7g~2WY$zHjIGNc~9?z0ncQU{ZVASl>Tv@o&p zmOH-WBFi=wulnr>q{?bt;^rPut09EfJ)DD z4$00-*=`zw0j);u%rX+Pq%!>QQt_|lm{|>#?Igcp@5{3Rwq0&~neN%BTDPZBM3IF=szxV0c?-x$WCkO{Wy{^ z%ZgvXX+ivw_GAVAEqkDR(>Em-%1!XrCHoAd(W-b}`?9)v?SO`egN){=)O_(%-*XD& z8W04R;~2R0;$etuseBKQn5~QA9CR-ROtA)C~Bw zP1aoU*zH!dcP0ApCcMu~(bU36k2-VB#Z8C^GSxLSP9B}8>J7bWSP)djeo38zq8SyH z8XNLxRR?y|f2~FWm399n zHIl(Uqek*dXN-}sB3zRxspH7?R^z?T33Je`0~OWj zq78|VkZ<4ZR@PtjbIh>wiFapb%$!Rn$A8bvUm5TZDyn~d3GC{halMd`?@=E`+m6t3 zafF+bE?s}c1*R9b_LETbqz;*f!iUTmn}_u%32~zI`{u9an-quW4BOeL@Bcw0FmP-^ zJ{PIvFnsP!0iRi?#;JR⋘jgFP=;s&56II*5tLII8*PlN8jx1nb5rMA@;htGb{z% zve2><;}yOubOr{5YaftlUuqy8r|o>kA;qejtE{ueLbnW3n0j!_zLM+XfD^AMUVGvQ zs}P_)1h$TeB5~k*IXhfJOx(AeZ|Q0Ax4h*Cf8H&Bm1`<*A&?!(h;qS1LlJTdyo{4a zhX)~fMUn%q^eHMa)mdlPR{nrfK?BbGyhs-zMc( z+Vp3#A1am_Mfp!_+kYe8{)=kc^L`Wx2Ru$wNSRp9DN4=yA!tFzapx2Qsff0eAn{W8 z&|4>52&Y$Yh__xJudZR7TCMU*BnyeMQ*KzXKl#T4B|mHiKMGz}*oM>(RzwcC?Tl9a zxc6PZ{?mQA>;&!zONQNqVU}Dw%E(jJg{_Ct{)2+U>^roj4~xL@DOV4LD-J?`hm8vC z%Dw0a-E(0Ne4fxddE$=NhSFPe?Q0U&2Tm+>Zsn5H+IWN#ewihgao{!QZZn)35*&>=fAf?}>!NZO63TX0YjSv+I(`#rGCgo6SD zsTnZiUf$EU7es9+yG1w;!$_F&`0m0e@^gakZKs8^6X7Xmie7d=pU%6*4$~u4Txr0ijuSyAHUDzv7)B?hg z23_hVXO`A!bKJx#S0}IoMI)Cy8WVpEEU_x65c37RK3j5+29mR`4f`#G1ES*M5255` zl4TVWzV_Vzupj!@NADMZ`Q>lkOXtOk5OgFz=*6iEZ?PoP8GYQGn;k<9D`C!DaGc{t z$tyiNj9A`l5mT@-2B)4Aja#T`cN*^bdy$~G&mu@$?vJ*X_BEYd+;NK$^tt+ZS;&gH zx~w$c+B2Gj`E`%lOuHj43We@Cj004Ks0AMvH5Y$`iK&6D9p7>?T7ZSS}-jLZX z_HdB6)DW-R&S|Xz1$I(+ycLn_Jy@KuiBPoWh{$w%#LHbws_W^f5%Ik*x2@Y32_847 z=)>AE@kdi5P)KDI3YU|UrIL~MyN38*4}ia;GD!0_FTXIc(`V{YObVYk4`#eSJLcIZzBXj+Cb$?tz!F($d5`e2~FXRh&j{eh8l zTW~Y4ga(v-`P3rpu}_a|_YGWZ<@m5;PY>)0Lf%p3C()-5;d1Pq?R_vB>^^MeQdCHF zab7L&CF{yg44g{BX~ePBylc^kl#47}2<7ky1nwLSf`k&shv=aQAjSz=uOz$TB*4X1 zw*#SlGJqJG?}q7-!1Q;NbEw94VStMORHB%)FczJghsLHzZRhn%D=W80$%~_KwYc?l zIJxQyNHO-;b+-SGxL{wXu`Hg4q`&@fscDciSl08%`<4}TCs=OnAMbQz#LmkhG)0J* zdA*n!hf}RoOidqG7WyrId}}uBJ-w)WFHF4i+$SLYP17_F&hCA;3&`*!K6KDaG+t%* ziLcOr;}^1G#dQsLvSo+X03Q#(;=?&Z1X-!vz*{D(@O8N2v(CdLi&tS`7kK;VJWE2F zVo@OjriBv|+J4xcLlCQY{xS@7#1H4b*z_JOT(MHIN&~NYjUDd0BgpXyk(fC1gJ`gg z+{Zsa3X9$-pP!FGV|k?y3hzpt%~fs{g^qZ?^;dez@X`H2hvdj7*&Y z#^#(IwO-IaOp$zr3KQbQ2@phtGKcc`Xb#GbH{*3;%oR7%yZRz46D*?Er0e?{?s~QF zwfOC3#nLCgF0zIzWZrNSqef1=;}b^gRnqv0Yes~Jk2*s%6p2xB3}Z)%6+p_PFA*jc zAO+KJnOz>X;Yd}y5!BlIBDvxftg~LJW+JjAxq2XgPOGUqtI-IpSv%)-{*Es+@a&%( zXtO^Ytmdg(^RvYSC=h7a?vIFyNlfzfk8=#7(bEs1sOrLKjH)aOS6nEk7>uVTWB^&8 z4MAMBczX#_e4_*NA13*3kHo)53hRHu&Ar`~wV7)taHfm_sTlYvmhTper$8(D@P;8TD9}p24Z4*_I!T~aC?0Uw zlbS^HjrUGWrl(sXBb9iC^YYx4^$ul}GBkD98JVDPOq_HrPJRn^-Tt!H6DlaQzJ1;1 zMr4Z~mVC0W->TO_{`{Y!r}`fhbz)bDoBj4L%TlwmkeVEyfrV`9U8GQ0(%p!<^6RH1>$ac zFf9b03CUlLo}njRp}biqjiJ3}%41^T!}BI=II;jZdd7yMi1=5!>yqo-*>aoieZ4Rz zd2Ow<7!IZWm?c%Gg~8LHsZIz-VXlrIT_wq05RS^Jj~i|JW)~vNquy!1AyX(wcONlK zOcKox6L(k)4fgRLpl;^Hn(k6iSck?2Y9wS;RuLmqgwbX=+~&sZXyHv!)u-At1KjJa z+@y^|+I#zC6vUexaNB$O|NB*)|3)~{a^M$JWIA_KI~$}^TdJLQkh}Tb4N6!VjtE^V zRX}82b|wMYuo8mdEF={g)KW^sA~IkbBE4nCGPwsjg&#?!hb3TQR~=-Q9XhF@@+iLG ze$COf7>zvZI0+ zQi&s6%1}{_AY6`FE1?4FDn8L7VGLV>p@P zlb-#R6+a^Im}H_b+GD3Wub$GvPQtb~q1+r15!^?q078%A*Mx*^=X|#hUbd4vMDQ^; zY-`Zt&1+>V9k+;ln18&V?+$x`_IoVh^COT5rCU~K*U#%-2+d(jpjVqDS)SkX+LG8- z!J19-l$VBZ*$zyw2Bos)*fwO1IM&e`St>17cf6}x?VKwn zrsvNRng4sxk;3TX>7HZ?0;d@vp>qxq&MDq2X9Pc)drTV9KdU+2Lk?4ZCCSw|cMjcH z8ak)jO;FP%i%H@>_KZqK+~&Gr9E&lKe?-Mz)s@ucm!b~wa2EtVjQbdoxAzD3RQh|= zxO(b{2U=x6K8~H&HSqlUJ%OL$u#(V@xP~PLvdl6JufAm-3{9~*UX@uV3ko=`lF4sx zTmx$2_L8oNg@|)86EmO5?%w{;$RE*ATUZ&1+Aou)ijLBvC4z6^GGwzDH6b@|%U(5J6>~JNhEslJ)n-(M6fY*n423C^ z=54G#S*3Dfw_M4oKYyC#e=^Y|Yzc~Sl+caYiQDSfwgHv3n;+dI7pl zI7ZF*GfxMNSzhm6P@ng_HUYO6r&xaCf)-{Bt~x+@w&`jQCi16#Wn##ELgKhxM?{4V zTXOt8NL)R$O4O?lPJMf1bru#0TQ&cpgeNUcY3{&0o|i7RZ613eTrT5(X1qmYSR`%m z`3chD?e+Ixv};GE+yd>wDAJw9&yLswQaG77JeHT7oMLVT6j2$O8`JI6fcjG$73+iv zEnJ$?{F}53|IQ#Oz8D*`0xcn8)O|+X7c7LgbG*8ngUN>=VJ7Kh3O!v+LZVHN@jfsW z%@3O}?D_NPI^cyPkvZnvHwE&^$WgdpKI_RkO&Py~eM# zId*DXoWTq(rJIrLL*@`NCcn~$tI=NCdxh+OHDoSosUO8FuEI`ZjQJ)QAd0A4a-KdB?rrp47%i(x!Tr5s*&Zp&cE zaAyY)47_jT>(?S-)Nbxr)0}m7^p~T;$gI_KXK%hHu4n(W?l3GJHV6a%X>fgZ{0l}O z|3>nVqW`noPMsgu)s0($?u~CG>T=xj5)%Ny9a`5dq<%Q8Wg?LY0Lv>O6Cu?!eXKxO61TqJvg~H4vHD48-H(#qEaCX99 z`euZk3NOdE+Ufu-mcti@1v=5?@iGrvlJ^YB3tHwA&C42qJNB>!XwQY(Dg!#4=g7kX zWiCwpW*dPD_~mjQRDG!SyvXUNBGQ*Ph~7E1qG(;o-PtPDbEA}>KZizoW%l#EJ zpLs0X6Z;VTELFEL=bcUR%&`WZ^5BpS_ggT#1=Y2LTS=9Pjm7b89qXF!nx`yYZ-f}b z*Z=DX2H6g*rARkK#FDZz%uMqN#U0&?NI^<_q{A60!l^a1aI_MC|*XdL^5YKrX+ai6QS(3l}erb1RpG GY5fOuZZib{ literal 0 HcmV?d00001 diff --git a/assets/404-ZIz56YbR.js b/assets/404-ZIz56YbR.js new file mode 100644 index 000000000..06df52657 --- /dev/null +++ b/assets/404-ZIz56YbR.js @@ -0,0 +1 @@ +import{d as a,I as n,Q as c,R as e,k as d,K as r,_,a3 as u,X as p,Y as i}from"./vendor-PZoYaLWz.js";import{_ as l}from"./index-zjj_i2Xu.js";const m=a({name:"NotFound"}),f="/vue3-antdv-admin/assets/404-BxhekOaj.gif",o=t=>(p("data-v-f61d4510"),t=t(),i(),t),h={class:"page-container"},v=o(()=>e("h1",null,"404",-1)),k=o(()=>e("h1",null,"OOPS!你好像走丢了...",-1)),x=o(()=>e("img",{src:f,alt:""},null,-1));function F(t,I,B,C,E,N){const s=u("RouterLink");return n(),c("div",h,[e("div",null,[v,k,d(s,{to:{path:"/",replace:!0},class:"ant-btn ant-btn-primary"},{default:r(()=>[_("回到首页")]),_:1})]),x])}const g=l(m,[["render",F],["__scopeId","data-v-f61d4510"]]);export{g as default}; diff --git a/assets/404-dkXHq3Yy.css b/assets/404-dkXHq3Yy.css new file mode 100644 index 000000000..2fc9ba662 --- /dev/null +++ b/assets/404-dkXHq3Yy.css @@ -0,0 +1 @@ +.page-container[data-v-f61d4510]{display:flex;align-items:center;justify-content:center;width:100vw;height:100vh;background-color:#fff} diff --git a/assets/ApiSelect-L98H8cuO.css b/assets/ApiSelect-L98H8cuO.css new file mode 100644 index 000000000..a65198cf3 --- /dev/null +++ b/assets/ApiSelect-L98H8cuO.css @@ -0,0 +1 @@ +.basic-help__wrap p{margin-bottom:0}[data-v-31c3215c] .ant-form-item-control-input-content{display:flex;align-items:center}[data-v-31c3215c] .ant-form-item-control-input-content>div{flex:auto}.collapse-icon[data-v-af0a3cde]{transform:rotate(var(--4cf09dcc));transition:transform .3s} diff --git a/assets/ApiSelect.vue_vue_type_script_setup_true_lang-w2BFpwRk.js b/assets/ApiSelect.vue_vue_type_script_setup_true_lang-w2BFpwRk.js new file mode 100644 index 000000000..235f89a58 --- /dev/null +++ b/assets/ApiSelect.vue_vue_type_script_setup_true_lang-w2BFpwRk.js @@ -0,0 +1,13 @@ +import{aQ as S,bw as re,bx as ne,bf as H,by as ae,bz as oe,bA as se,bc as ie,bB as R,bC as ue,bD as le,bE as ce,bF as k,bG as fe,bH as pe,bb as de,bI as U,d as ye,bJ as be,r as A,b as V,B as v,bs as ve,am as he,w as me,I as ge,J as Oe,as as je,U as we,K as D,k as X,R as _e,_ as Se,S as Te,M as Pe,bK as Fe,L as Be,bL as $e,bM as ke,af as G}from"./vendor-PZoYaLWz.js";import{C as M,h as Ae,B as Le}from"./index-zjj_i2Xu.js";const it={Input:S,InputGroup:S.Group,InputPassword:S.Password,InputSearch:S.Search,InputTextArea:S.TextArea,InputNumber:re,AutoComplete:ne,Select:H,TreeSelect:ae,Tree:oe,Switch:se,RadioGroup:ie.Group,Checkbox:R,CheckboxGroup:R.Group,Cascader:ue,Slider:le,Rate:ce,DatePicker:k,MonthPicker:k.MonthPicker,RangePicker:k.RangePicker,WeekPicker:k.WeekPicker,TimePicker:fe,Upload:pe,Divider:de};var xe=(e=>(e[e.XS=480]="XS",e[e.SM=576]="SM",e[e.MD=768]="MD",e[e.LG=992]="LG",e[e.XL=1200]="XL",e[e.XXL=1600]="XXL",e))(xe||{});const _=new Map;_.set("XS",480);_.set("SM",576);_.set("MD",768);_.set("LG",992);_.set("XL",1200);_.set("XXL",1600);const ut=Object.keys(U()),lt={...U(),layout:{type:String,default:"horizontal"},initialValues:{type:Object,default:()=>({})},labelWidth:{type:[Number,String],default:0},fieldMapToTime:{type:Array,default:()=>[]},compact:{type:Boolean},schemas:{type:[Array],default:()=>[]},mergeDynamicData:{type:Object,default:null},baseRowStyle:{type:Object},baseColProps:{type:Object},autoSetPlaceHolder:{type:Boolean,default:!0},autoSubmitOnEnter:{type:Boolean,default:!1},submitOnReset:{type:Boolean},submitOnChange:{type:Boolean},disabled:{type:Boolean},emptySpan:{type:[Number,Object],default:0},showAdvancedButton:{type:Boolean},transformDateFunc:{type:Function,default:e=>e?.format?.("YYYY-MM-DD HH:mm:ss")??e},rulesMessageJoinLabel:{type:Boolean,default:!0},autoAdvancedLine:{type:Number,default:3},alwaysShowLines:{type:Number,default:1},showActionButtonGroup:{type:Boolean,default:!0},actionColOptions:Object,showResetButton:{type:Boolean,default:!0},autoFocusFirstItem:{type:Boolean},resetButtonOptions:Object,showSubmitButton:{type:Boolean,default:!0},submitButtonOptions:Object,resetFunc:Function,submitFunc:Function,tableInstance:{type:Object},rowProps:Object},ct={register:e=>M(e),reset:e=>M(e),submit:e=>M(e),"advanced-change":()=>!0};/*! + * is-plain-object + * + * Copyright (c) 2014-2017, Jon Schlinkert. + * Released under the MIT License. + */function q(e){return Object.prototype.toString.call(e)==="[object Object]"}function De(e){var n,t;return q(e)===!1?!1:(n=e.constructor,n===void 0?!0:(t=n.prototype,!(q(t)===!1||t.hasOwnProperty("isPrototypeOf")===!1)))}function T(){return T=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(a[t]=e[t]);return a}const Me={silent:!1,logLevel:"warn"},Ne=["validator"],W=Object.prototype,E=W.toString,Ce=W.hasOwnProperty,Q=/^\s*function (\w+)/;function Y(e){var n;const t=(n=e?.type)!==null&&n!==void 0?n:e;if(t){const r=t.toString().match(Q);return r?r[1]:""}return""}const h=De,Ie=e=>e;let c=Ie;const O=(e,n)=>Ce.call(e,n),Re=Number.isInteger||function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e},j=Array.isArray||function(e){return E.call(e)==="[object Array]"},w=e=>E.call(e)==="[object Function]",L=(e,n)=>h(e)&&O(e,"_vueTypes_name")&&(!n||e._vueTypes_name===n),Z=e=>h(e)&&(O(e,"type")||["_vueTypes_name","validator","default","required"].some(n=>O(e,n)));function N(e,n){return Object.defineProperty(e.bind(n),"__original",{value:e})}function m(e,n,t=!1){let r,a=!0,o="";r=h(e)?e:{type:e};const s=L(r)?r._vueTypes_name+" - ":"";if(Z(r)&&r.type!==null){if(r.type===void 0||r.type===!0||!r.required&&n==null)return a;j(r.type)?(a=r.type.some(i=>m(i,n,!0)===!0),o=r.type.map(i=>Y(i)).join(" or ")):(o=Y(r),a=o==="Array"?j(n):o==="Object"?h(n):o==="String"||o==="Number"||o==="Boolean"||o==="Function"?function(i){if(i==null)return"";const u=i.constructor.toString().match(Q);return u?u[1].replace(/^Async/,""):""}(n)===o:n instanceof r.type)}if(!a){const i=`${s}value "${n}" should be of type "${o}"`;return t===!1?(c(i),!1):i}if(O(r,"validator")&&w(r.validator)){const i=c,u=[];if(c=l=>{u.push(l)},a=r.validator(n),c=i,!a){const l=(u.length>1?"* ":"")+u.join(` +* `);return u.length=0,t===!1?(c(l),a):l}}return a}function f(e,n){const t=Object.defineProperties(n,{_vueTypes_name:{value:e,writable:!0},isRequired:{get(){return this.required=!0,this}},def:{value(a){return a===void 0?this.type===Boolean||Array.isArray(this.type)&&this.type.includes(Boolean)?void(this.default=void 0):(O(this,"default")&&delete this.default,this):w(a)||m(this,a,!0)===!0?(this.default=j(a)?()=>[...a]:h(a)?()=>Object.assign({},a):a,this):(c(`${this._vueTypes_name} - invalid default value: "${a}"`),this)}}}),{validator:r}=t;return w(r)&&(t.validator=N(r,t)),t}function b(e,n){const t=f(e,n);return Object.defineProperty(t,"validate",{value(r){return w(this.validator)&&c(`${this._vueTypes_name} - calling .validate() will overwrite the current custom validator function. Validator info: +${JSON.stringify(this)}`),this.validator=N(r,this),this}})}function J(e,n,t){const r=function(u){const l={};return Object.getOwnPropertyNames(u).forEach(y=>{l[y]=Object.getOwnPropertyDescriptor(u,y)}),Object.defineProperties({},l)}(n);if(r._vueTypes_name=e,!h(t))return r;const{validator:a}=t,o=K(t,Ne);if(w(a)){let{validator:u}=r;u&&(u=(i=(s=u).__original)!==null&&i!==void 0?i:s),r.validator=N(u?function(l){return u.call(this,l)&&a.call(this,l)}:a,r)}var s,i;return Object.assign(r,o)}function x(e){return e.replace(/^(?!\s*$)/gm," ")}const Ve=()=>b("any",{}),Xe=()=>b("function",{type:Function}),z=()=>b("boolean",{type:Boolean}),Ge=()=>b("string",{type:String}),qe=()=>b("number",{type:Number}),Ye=()=>b("array",{type:Array}),Je=()=>b("object",{type:Object}),ze=()=>f("integer",{type:Number,validator(e){const n=Re(e);return n===!1&&c(`integer - "${e}" is not an integer`),n}}),He=()=>f("symbol",{validator(e){const n=typeof e=="symbol";return n===!1&&c(`symbol - invalid value "${e}"`),n}}),Ue=()=>Object.defineProperty({type:null,validator(e){const n=e===null;return n===!1&&c("nullable - value should be null"),n}},"_vueTypes_name",{value:"nullable"});function Ke(e,n="custom validation failed"){if(typeof e!="function")throw new TypeError("[VueTypes error]: You must provide a function as argument");return f(e.name||"<>",{type:null,validator(t){const r=e(t);return r||c(`${this._vueTypes_name} - ${n}`),r}})}function We(e){if(!j(e))throw new TypeError("[VueTypes error]: You must provide an array as argument.");const n=`oneOf - value should be one of "${e.map(r=>typeof r=="symbol"?r.toString():r).join('", "')}".`,t={validator(r){const a=e.indexOf(r)!==-1;return a||c(n),a}};if(e.indexOf(null)===-1){const r=e.reduce((a,o)=>{if(o!=null){const s=o.constructor;a.indexOf(s)===-1&&a.push(s)}return a},[]);r.length>0&&(t.type=r)}return f("oneOf",t)}function Ee(e){if(!j(e))throw new TypeError("[VueTypes error]: You must provide an array as argument");let n=!1,t=!1,r=[];for(let o=0;or.indexOf(o)===s);const a=t===!1&&r.length>0?r:null;return f("oneOfType",n?{type:a,validator(o){const s=[],i=e.some(u=>{const l=m(u,o,!0);return typeof l=="string"&&s.push(l),l===!0});return i||c(`oneOfType - provided value does not match any of the ${s.length} passed-in validators: +${x(s.join(` +`))}`),i}}:{type:a})}function Qe(e){return f("arrayOf",{type:Array,validator(n){let t="";const r=n.every(a=>(t=m(e,a,!0),t===!0));return r||c(`arrayOf - value validation error: +${x(t)}`),r}})}function Ze(e){return f("instanceOf",{type:e})}function et(e){return f("objectOf",{type:Object,validator(n){let t="";const r=Object.keys(n).every(a=>(t=m(e,n[a],!0),t===!0));return r||c(`objectOf - value validation error: +${x(t)}`),r}})}function tt(e){const n=Object.keys(e),t=n.filter(a=>{var o;return!((o=e[a])===null||o===void 0||!o.required)}),r=f("shape",{type:Object,validator(a){if(!h(a))return!1;const o=Object.keys(a);if(t.length>0&&t.some(s=>o.indexOf(s)===-1)){const s=t.filter(i=>o.indexOf(i)===-1);return c(s.length===1?`shape - required property "${s[0]}" is not defined.`:`shape - required properties "${s.join('", "')}" are not defined.`),!1}return o.every(s=>{if(n.indexOf(s)===-1)return this._vueTypes_isLoose===!0||(c(`shape - shape definition does not include a "${s}" property. Allowed keys: "${n.join('", "')}".`),!1);const i=m(e[s],a[s],!0);return typeof i=="string"&&c(`shape - "${s}" property validation error: + ${x(i)}`),i===!0})}});return Object.defineProperty(r,"_vueTypes_isLoose",{writable:!0,value:!1}),Object.defineProperty(r,"loose",{get(){return this._vueTypes_isLoose=!0,this}}),r}const rt=["name","validate","getter"],nt=(()=>{var e;return(e=class{static get any(){return Ve()}static get func(){return Xe().def(this.defaults.func)}static get bool(){return this.defaults.bool===void 0?z():z().def(this.defaults.bool)}static get string(){return Ge().def(this.defaults.string)}static get number(){return qe().def(this.defaults.number)}static get array(){return Ye().def(this.defaults.array)}static get object(){return Je().def(this.defaults.object)}static get integer(){return ze().def(this.defaults.integer)}static get symbol(){return He()}static get nullable(){return Ue()}static extend(n){if(c("VueTypes.extend is deprecated. Use the ES6+ method instead. See https://dwightjack.github.io/vue-types/advanced/extending-vue-types.html#extending-namespaced-validators-in-es6 for details."),j(n))return n.forEach(u=>this.extend(u)),this;const{name:t,validate:r=!1,getter:a=!1}=n,o=K(n,rt);if(O(this,t))throw new TypeError(`[VueTypes error]: Type "${t}" already defined`);const{type:s}=o;if(L(s))return delete o.type,Object.defineProperty(this,t,a?{get:()=>J(t,s,o)}:{value(...u){const l=J(t,s,o);return l.validator&&(l.validator=l.validator.bind(l,...u)),l}});let i;return i=a?{get(){const u=Object.assign({},o);return r?b(t,u):f(t,u)},enumerable:!0}:{value(...u){const l=Object.assign({},o);let y;return y=r?b(t,l):f(t,l),l.validator&&(y.validator=l.validator.bind(y,...u)),y},enumerable:!0},Object.defineProperty(this,t,i)}}).defaults={},e.sensibleDefaults=void 0,e.config=Me,e.custom=Ke,e.oneOf=We,e.instanceOf=Ze,e.oneOfType=Ee,e.arrayOf=Qe,e.objectOf=et,e.shape=tt,e.utils={validate:(n,t)=>m(t,n,!0)===!0,toType:(n,t,r=!1)=>r?b(n,t):f(n,t)},e})();function at(e={func:()=>{},bool:!0,string:"",number:0,array:()=>[],object:()=>({}),integer:0}){var n;return(n=class extends nt{static get sensibleDefaults(){return T({},this.defaults)}static set sensibleDefaults(t){this.defaults=t!==!1?T({},t!==!0?t:e):{}}}).defaults=T({},e),n}class g extends at(){}const ft=ye({name:"ApiSelect",inheritAttrs:!1,__name:"ApiSelect",props:{...be(),value:[Array,Object,String,Number],numberToString:g.bool,api:{type:Function,default:null},params:{type:Object,default:()=>({})},resultField:g.string.def(""),labelField:g.string.def("label"),valueField:g.string.def("value"),immediate:g.bool.def(!0),alwaysLoad:g.bool.def(!1)},emits:["options-change","change"],setup(e,{emit:n}){const t=e,r=n,a=A([]),o=A(!1),s=A(!0),i=A([]),{t:u}=Ae(),l=V(()=>t),y=V(()=>{const{labelField:p,valueField:d,numberToString:F}=t;return v(a).reduce((B,$)=>{if($){const I=$[d];B.push({...ve($,[p,d]),label:$[p],value:F?`${I}`:I})}return B},[])});he(()=>{t.immediate&&!t.alwaysLoad&&P()}),me(()=>t.params,()=>{!v(s)&&P()},{deep:!0});async function P(){const p=t.api;if(!(!p||!Le(p))){a.value=[];try{o.value=!0;const d=await p(t.params);if(Array.isArray(d)){a.value=d,C();return}t.resultField&&(a.value=Fe(d,t.resultField)||[]),C()}catch(d){console.warn(d)}finally{o.value=!1}}}async function ee(p){p&&(t.alwaysLoad?await P():!t.immediate&&v(s)&&(await P(),s.value=!1))}function C(){r("options-change",v(y))}function te(p,...d){i.value=d}return(p,d)=>(ge(),Oe(v(H),Pe(l.value,{options:y.value,onDropdownVisibleChange:ee,onChange:te}),je({_:2},[we(Object.keys(p.$slots),F=>({name:F,fn:D(B=>[Be(p.$slots,F,$e(ke(B||{})))])})),o.value?{name:"suffixIcon",fn:D(()=>[X(v(G),{spin:""})]),key:"0"}:void 0,o.value?{name:"notFoundContent",fn:D(()=>[_e("span",null,[X(v(G),{spin:"",class:"mr-1"}),Se(" "+Te(v(u)("component.form.apiSelectNotFound")),1)])]),key:"1"}:void 0]),1040,["options"]))}});export{ft as _,lt as a,ct as b,it as c,ut as d,xe as s}; diff --git a/assets/AvatarUpload-MsUMsvZC.js b/assets/AvatarUpload-MsUMsvZC.js new file mode 100644 index 000000000..398a72e24 --- /dev/null +++ b/assets/AvatarUpload-MsUMsvZC.js @@ -0,0 +1 @@ +import{_ as o}from"./AvatarUpload.vue_vue_type_script_setup_true_lang-7h8-6bHo.js";import"./index-zjj_i2Xu.js";import"./vendor-PZoYaLWz.js";export{o as default}; diff --git a/assets/AvatarUpload.vue_vue_type_script_setup_true_lang-7h8-6bHo.js b/assets/AvatarUpload.vue_vue_type_script_setup_true_lang-7h8-6bHo.js new file mode 100644 index 000000000..3b10ae806 --- /dev/null +++ b/assets/AvatarUpload.vue_vue_type_script_setup_true_lang-7h8-6bHo.js @@ -0,0 +1 @@ +import{A as B}from"./index-zjj_i2Xu.js";import{d as P,bg as M,r as n,b as V,w as k,I as c,Q as p,k as r,K as d,B as v,a7 as I,R as _,F as N,a0 as m,a1 as R,bj as q,bH as O}from"./vendor-PZoYaLWz.js";const j={key:0},F=_("div",{style:{"margin-top":"8px"}},"Upload",-1),G=["src"],z=P({name:"AvatarUpload",inheritAttrs:!1,__name:"AvatarUpload",props:{value:{},valueModifiers:{}},emits:["update:value"],setup(g){const s=M(g,"value"),a=n([]),l=n(!1),i=n(""),u=n(""),h=V(()=>"https://nest-api.buqiyuan.site"+s.value),f=k(s,e=>{e&&!a.value.length&&(a.value=[{uid:`vc-upload-${Date.now()}-1`,name:e.split("/").at(-1),status:"done",url:e}],f())}),w=e=>{const t=e.type==="image/jpeg"||e.type==="image/png";t||m.error("You can only upload JPG/PNG file!");const o=e.size/1024/1024<2;return o||m.error("Image must smaller than 2MB!"),t&&o},y=async e=>{const{filename:t}=await B.toolsUpload.uploadUpload({file:e});s.value=t},b=async e=>{await y(e.file)},U=({file:e})=>{e.status="done",a.value=[e]},x=e=>{s.value="",a.value=[]},C=()=>{l.value=!1,u.value=""},A=async e=>{!e.url&&!e.preview&&(e.preview=h.value),i.value=e.url||e.preview,l.value=!0,u.value=e.name||e.url.substring(e.url.lastIndexOf("/")+1)};return(e,t)=>{const o=R;return c(),p(N,null,[r(v(O),{"file-list":a.value,name:"avatar","list-type":"picture-card",class:"min-h-[110px]","custom-request":b,onBeforeUpload:w,onChange:U,onRemove:x,onPreview:A},{default:d(()=>[a.value.length<1?(c(),p("div",j,[r(v(q)),F])):I("",!0)]),_:1},8,["file-list"]),r(o,{open:l.value,title:u.value,footer:null,onCancel:C},{default:d(()=>[_("img",{alt:"example",style:{width:"100%"},src:i.value},null,8,G)]),_:1},8,["open","title"])],64)}}});export{z as _}; diff --git a/assets/DeptTree-5Gz_7g65.css b/assets/DeptTree-5Gz_7g65.css new file mode 100644 index 000000000..538c11ab3 --- /dev/null +++ b/assets/DeptTree-5Gz_7g65.css @@ -0,0 +1 @@ +.header[data-v-32c9ba37]{display:flex;align-items:center;margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid #eee}.title[data-v-32c9ba37]{margin-right:6px;font-size:16px;font-weight:600;white-space:nowrap} diff --git a/assets/DeptTree-FJ_q99Vm.js b/assets/DeptTree-FJ_q99Vm.js new file mode 100644 index 000000000..0611ea1a8 --- /dev/null +++ b/assets/DeptTree-FJ_q99Vm.js @@ -0,0 +1 @@ +import{_ as S}from"./Icon.vue_vue_type_script_setup_true_lang-L3JttlNa.js";import{A as z,_ as A}from"./index-zjj_i2Xu.js";import{d as B,r as d,b as C,be as N,I as V,Q as E,R as y,k as o,K as l,_ as x,F,al as L,cy as U,az as $,ay as M,bz as P,X as Q,Y as R}from"./vendor-PZoYaLWz.js";const X=c=>(Q("data-v-32c9ba37"),c=c(),R(),c),Y={style:{"--border":1},class:"header"},j=X(()=>y("div",{class:"title"},"组织架构",-1)),q=B({name:"DeptTree",__name:"DeptTree",emits:["select","init"],setup(c,{emit:g}){const i=g,p=d(""),r=d([]),a=d([]),_=d(!0),m=C(()=>v(N(r.value),p.value)),v=(t,e="")=>t.filter(n=>n.children?.length&&(n.children=v(n.children,e),n.children.length)?!0:n.name?.includes(e)),D=async()=>{r.value=await z.systemDept.deptList({}),a.value=[...a.value,...r.value.map(t=>Number(t.id))],i("init",r.value)},b=t=>{i("select",t[0])},f=(t,e=[])=>t.reduce((n,s)=>(n.push(s.id),s.children?.length&&f(s.children,n),n),e),K=()=>{a.value=f(m.value)},T=t=>{a.value=t,_.value=!1};return D(),(t,e)=>{const n=L,s=S,h=U,k=$,I=M,w=P;return V(),E(F,null,[y("div",Y,[j,o(n,{value:p.value,"onUpdate:value":e[0]||(e[0]=u=>p.value=u),size:"small",placeholder:"搜索"},null,8,["value"]),o(I,null,{overlay:l(()=>[o(k,null,{default:l(()=>[o(h,{onClick:K},{default:l(()=>[x(" 展开全部 ")]),_:1}),o(h,{onClick:e[1]||(e[1]=u=>a.value=[])},{default:l(()=>[x(" 折叠全部 ")]),_:1})]),_:1})]),default:l(()=>[o(s,{icon:"ant-design:more-outlined",size:"20",class:"flex-shrink-0"})]),_:1})]),o(w,{expandedKeys:a.value,"onUpdate:expandedKeys":e[2]||(e[2]=u=>a.value=u),"auto-expand-parent":_.value,"tree-data":m.value,"field-names":{key:"id",title:"name"},onSelect:b,onExpand:T},null,8,["expandedKeys","auto-expand-parent","tree-data"])],64)}}}),O=A(q,[["__scopeId","data-v-32c9ba37"]]);export{O as default}; diff --git a/assets/Icon.vue_vue_type_script_setup_true_lang-L3JttlNa.js b/assets/Icon.vue_vue_type_script_setup_true_lang-L3JttlNa.js new file mode 100644 index 000000000..1aec1df8b --- /dev/null +++ b/assets/Icon.vue_vue_type_script_setup_true_lang-L3JttlNa.js @@ -0,0 +1 @@ +import{I as m,z as y}from"./index-zjj_i2Xu.js";import{d,b as u,I as o,Q as g,R as h,M as a,bu as I,a2 as S,J as l,B as p,bs as $}from"./vendor-PZoYaLWz.js";const k={prefix:{type:String,default:"svg-icon"},name:{type:String,required:!0},size:{type:[Number,String],default:16}},B={value:{type:String},placeholder:String},v=["xlink:href"],b=d({name:"SvgIcon",__name:"SvgIcon",props:k,setup(r){const t=r,i=u(()=>`#${t.prefix}-${t.name}`),c=u(()=>{const{size:s}=t,e=`${s}`.replace("px","").concat("px");return{width:e,height:e}});return(s,e)=>(o(),g("svg",a(s.$attrs,{class:"svg-icon",style:c.value,"aria-hidden":"true"}),[h("use",{"xlink:href":i.value},null,8,v)],16))}}),P=d({__name:"Icon",props:{type:{default:"iconify"},icon:{},color:{},size:{default:16}},setup(r){const t=r,i=I(),c=u(()=>{const{size:e,color:n}=t;let f=e;return S(e)&&(f=parseInt(e,10)),{fontSize:`${f}px`,color:n,display:"inline-flex"}}),s=e=>{const n=i.title;e.el&&n&&(globalThis.sss=e.el,e.el.insertAdjacentHTML?.("afterbegin",`${n}`))};return(e,n)=>e.type==="svg"?(o(),l(b,a({key:0},{...e.$attrs,...t},{name:e.icon,class:"anticon"}),null,16,["name"])):e.type==="icon-font"?(o(),l(p(m),a({key:1},{...e.$attrs,...t},{type:e.icon}),null,16,["type"])):(o(),l(p(y),a({key:2},p($)({...e.$attrs,...t},["size","color"]),{style:c.value,class:"anticon",onVnodeUpdated:s}),null,16,["style"]))}});export{P as _,b as a,B as i}; diff --git a/assets/about-BDsUscU1.js b/assets/about-BDsUscU1.js new file mode 100644 index 000000000..e6420c0ee --- /dev/null +++ b/assets/about-BDsUscU1.js @@ -0,0 +1,8 @@ +import{d as j,I as c,Q as d,k as t,K as s,B as e,_ as m,S as g,F as f,U as h,R as w,b8 as u,aU as n,aV as _,J as b}from"./vendor-PZoYaLWz.js";var q={pkg:{name:"vue3-antdv-admin",version:"2.0.0",packageManager:"pnpm@8.10.2",engines:{node:">=18"},author:{name:"buqiyuan",email:"1743369777@qq.com",url:"https://github.com/buqiyuan"},scripts:{bootstrap:"pnpm install",serve:"npm run dev",dev:"vite",build:"rimraf dist && cross-env NODE_ENV=production vite build","build:watch":"rimraf dist && cross-env NODE_ENV=production vite build --watch",preview:"npm run build && vite preview","preview:dist":"vite preview",deploy:"bash deploy.sh",openapi:"npx tsx openapi.config.ts","clean:cache":"npx rimraf node_modules/.cache/ && npx rimraf node_modules/.vite","clean:lib":"npx rimraf node_modules packages/*/node_modules",format:"prettier --write .",lint:"eslint . --ext .vue,.js,.ts,.jsx,.tsx,.md,.json --max-warnings 0 && pretty-quick --check --branch main","lint:fix":"eslint --fix . --ext .vue,.js,.ts,.jsx,.tsx,.md,.json && pretty-quick --branch main","lint:eslint":'eslint --cache --max-warnings 0 "{src,mock}/**/*.{vue,ts,tsx}" --fix',"lint:prettier":'prettier --write "src/**/*.{js,json,tsx,css,less,scss,vue,html,md}"',"lint:stylelint":'stylelint --cache --fix "**/*.{vue,less,postcss,css,scss}" --cache --cache-location node_modules/.cache/stylelint/',"lint:lint-staged":"lint-staged",prepare:"husky install",release:"git push && git push origin --tags","gen:changelog":"conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md",reinstall:"rimraf pnpm-lock.yaml && rimraf package.lock.json && rimraf node_modules && npm run bootstrap","test:gzip":"npx http-server dist --cors --gzip -c-1","test:br":"npx http-server dist --cors --brotli -c-1"},dependencies:{"@admin-pkg/components":"workspace:^","@admin-pkg/vite-plugin-msw":"workspace:*","@ant-design/icons-vue":"~7.0.1","@iconify/vue":"^4.1.1","@tinymce/tinymce-vue":"^5.1.1","@vueuse/core":"~10.8.0","ant-design-vue":"~4.1.2",axios:"~1.6.7",dayjs:"~1.11.10",echarts:"^5.5.0","file-saver":"~2.0.5","lodash-es":"~4.17.21",mitt:"~3.0.1",nprogress:"~1.0.0-1",pinia:"~2.1.7","qiniu-js":"^3.4.2",qs:"~6.11.2",sortablejs:"~1.15.2",tinymce:"^6.8.3",vue:"~3.4.19","vue-echarts":"^6.6.9","vue-i18n":"9.9.1","vue-router":"~4.3.0","vue-types":"~5.1.1","vue-virtual-scroller":"2.0.0-beta.8",xlsx:"~0.18.5"},devDependencies:{"@commitlint/cli":"~18.6.0","@commitlint/config-conventional":"~18.6.0","@faker-js/faker":"^8.4.1","@iconify-json/ant-design":"^1.1.15","@iconify-json/ep":"^1.1.14","@iconify/json":"^2.2.180","@types/lodash-es":"~4.17.12","@types/node":"~20.11.16","@typescript-eslint/eslint-plugin":"~7.0.2","@typescript-eslint/parser":"~7.0.2","@umijs/openapi":"^1.10.1","@vitejs/plugin-vue":"~5.0.4","@vitejs/plugin-vue-jsx":"~3.1.0","@vue/tsconfig":"^0.5.1",commitizen:"~4.3.0","conventional-changelog-cli":"~4.1.0","core-js":"^3.36.0","cross-env":"~7.0.3",eslint:"~8.56.0","eslint-config-prettier":"~9.1.0","eslint-define-config":"~2.1.0","eslint-plugin-import":"~2.29.1","eslint-plugin-prettier":"~5.1.3","eslint-plugin-vue":"~9.21.1",husky:"~9.0.10",less:"~4.2.0",lightningcss:"^1.23.0","lint-staged":"~15.2.2",mockjs:"~1.1.0",msw:"^2.2.1",postcss:"~8.4.34","postcss-html":"~1.6.0","postcss-less":"~6.0.0",prettier:"~3.2.5","pretty-quick":"~4.0.0",rimraf:"~5.0.5",stylelint:"~16.2.1","stylelint-config-property-sort-order-smacss":"^10.0.0","stylelint-config-recommended":"~14.0.0","stylelint-config-recommended-vue":"~1.5.0","stylelint-config-standard":"~36.0.0","stylelint-order":"~6.0.4","stylelint-prettier":"^5.0.0",terser:"~5.27.2","ts-node":"^10.9.2",typescript:"~5.3.3",unocss:"^0.58.5","unplugin-vue-components":"~0.26.0",vite:"~5.1.4","vite-plugin-checker":"~0.6.4","vite-plugin-mkcert":"^1.17.3","vite-plugin-svg-icons":"~2.0.1","vue-eslint-parser":"~9.4.2","vue-tsc":"~1.8.27"},__npminstall_done:!1,repository:{type:"git",url:"https://github.com/buqiyuan/vue3-antdv-admin"},homepage:"https://buqiyuan.gitee.io/vue3-antdv-admin",keywords:["vue","ant-design-vue","vue3","ts","tsx","admin","typescript"],license:"MIT",target:"web",dependenciesMeta:{"@admin-pkg/vite-plugin-msw":{injected:!0}},pnpm:{peerDependencyRules:{ignoreMissing:["rollup"],allowedVersions:{postcss:"5"}}}},lastBuildTime:"2024-02-22 12:52:19"};const V=w("a",{href:"https://qm.qq.com/cgi-bin/qm/qr?k=ID-KcAOdPUPWVgAnsPLF3gRdHLc8GURO&jump_from=webapi",target:"_blank"}," 点击链接加入群聊 ",-1),N=j({name:"About",__name:"about",setup(D){const{pkg:i,lastBuildTime:x}=q,y={...i.dependencies,...i.devDependencies},r=({url:a="",text:v})=>{const o=/^http(s)?:/.test(a)?a:`https://www.npmjs.com/package/${a}`;return t("a",{href:o,target:"_blank"},[v])},p=a=>y[a].match(/\d+/)?.[0]||"",k=` + 的前端项目是基于 Vue${p("vue")}.x、 + Vite${p("vite")}.x、 + Ant-Design-Vue${p("ant-design-vue")}.x 、 + TypeScript${p("typescript")}.x 开发, + 内置了动态路由、权限验证、并提供了常用的功能组件,帮助你快速搭建企业级中后台产品原型。 + 原则上不会限制任何代码用于商用。 + `;return(a,v)=>(c(),d("div",null,[t(e(u),null,{default:s(()=>[t(e(u).Meta,{title:"关于"},{description:s(()=>[t(r,{url:e(i).author.url,text:e(i).name},null,8,["url","text"]),m(g(k))]),_:1})]),_:1}),t(e(u),{class:"mt-3"},{default:s(()=>[t(e(n),{title:"项目信息",column:2,bordered:""},{default:s(()=>[t(e(n).Item,{label:"版本"},{default:s(()=>[t(e(_),{color:"processing"},{default:s(()=>[m(g(e(i).version),1)]),_:1})]),_:1}),t(e(n).Item,{label:"最后编译时间"},{default:s(()=>[t(e(_),{color:"processing"},{default:s(()=>[m(g(e(x)),1)]),_:1})]),_:1}),t(e(n).Item,{label:"GitHub"},{default:s(()=>[t(r,{url:e(i).repository.url,text:"GitHub"},null,8,["url"])]),_:1}),t(e(n).Item,{label:"预览地址"},{default:s(()=>[t(r,{url:e(i).homepage,text:"预览地址"},null,8,["url"])]),_:1}),t(e(n).Item,{label:"QQ交流群","label-align":"left",align:"left"},{default:s(()=>[V]),_:1})]),_:1})]),_:1}),t(e(u),{class:"mt-3"},{default:s(()=>[t(e(n),{title:"生产环境依赖",bordered:""},{default:s(()=>[(c(!0),d(f,null,h(e(i).dependencies,(o,l)=>(c(),b(e(n).Item,{key:l,label:l},{default:s(()=>[t(r,{url:l,text:o},null,8,["url","text"])]),_:2},1032,["label"]))),128))]),_:1})]),_:1}),t(e(u),{class:"mt-3"},{default:s(()=>[t(e(n),{title:"开发环境依赖",bordered:""},{default:s(()=>[(c(!0),d(f,null,h(e(i).devDependencies,(o,l)=>(c(),b(e(n).Item,{key:l,label:l},{default:s(()=>[t(r,{url:l,text:o},null,8,["url","text"])]),_:2},1032,["label"]))),128))]),_:1})]),_:1})]))}});export{N as default}; diff --git a/assets/analysis-zckrtaDd.svg b/assets/analysis-zckrtaDd.svg new file mode 100644 index 000000000..9c2da5576 --- /dev/null +++ b/assets/analysis-zckrtaDd.svg @@ -0,0 +1 @@ +- \ No newline at end of file diff --git a/assets/button-9rgB6uRt.js b/assets/button-9rgB6uRt.js new file mode 100644 index 000000000..60bc4fb36 --- /dev/null +++ b/assets/button-9rgB6uRt.js @@ -0,0 +1 @@ +import{r as n,j as c}from"./index-zjj_i2Xu.js";import{d as m,I as o,Q as s,k as a,B as e,K as t,_ as r,F as f,U as i,ba as y,bb as u,aY as _,J as d,S as p,b8 as g}from"./vendor-PZoYaLWz.js";const v=m({name:"DemoButton",__name:"button",setup(k){return(b,h)=>(o(),s("div",null,[a(e(y),{message:"扩展antd按钮样式",type:"info","show-icon":"",style:{"margin-bottom":"12px"}}),a(e(g),null,{default:t(()=>[a(e(u),{orientation:"left"},{default:t(()=>[r("扩展按钮类型")]),_:1}),a(e(_),null,{default:t(()=>[a(e(n),{type:"primary"},{default:t(()=>[r("primary")]),_:1}),a(e(n),{type:"error"},{default:t(()=>[r("error")]),_:1}),a(e(n),{type:"warning"},{default:t(()=>[r("warning")]),_:1}),a(e(n),{type:"success"},{default:t(()=>[r("success")]),_:1})]),_:1}),a(e(u),{orientation:"left"},{default:t(()=>[r("自定义按钮颜色")]),_:1}),a(e(_),null,{default:t(()=>[(o(!0),s(f,null,i(e(c),l=>(o(),d(e(n),{key:l.key,color:l.value},{default:t(()=>[r(p(l.title),1)]),_:2},1032,["color"]))),128))]),_:1}),a(e(u),{orientation:"left"},{default:t(()=>[r("幽灵按钮")]),_:1}),a(e(_),null,{default:t(()=>[(o(!0),s(f,null,i(e(c),l=>(o(),d(e(n),{key:l.key,ghost:"",color:l.value},{default:t(()=>[r(p(l.title),1)]),_:2},1032,["color"]))),128))]),_:1})]),_:1})]))}});export{v as default}; diff --git a/assets/columns-kpi6AGjg.js b/assets/columns-kpi6AGjg.js new file mode 100644 index 000000000..b9ece3fca --- /dev/null +++ b/assets/columns-kpi6AGjg.js @@ -0,0 +1 @@ +import{w as s}from"./common-fvKDkUSQ.js";import{bl as c,k as u,aV as m}from"./vendor-PZoYaLWz.js";const d=["王路飞","王大蛇","李白","刺客伍六七"],n=(e="")=>{const a=[{label:"已售罄",value:0},{label:"热卖中",value:1}].filter(t=>t.label.includes(e));return s(2e3,a)},l=e=>e===1?[{label:"西装",value:1},{label:"领带",value:0}]:e===0?[{label:"裙子",value:1},{label:"包包",value:0}]:[],h=Array.from({length:30}).map((e,a)=>{const t=~~(Math.random()*2);return{id:a+1,date:new Date().toLocaleString(),name:d[~~(Math.random()*4)],clothes:l(t)[~~(Math.random()*2)].label,price:~~(Math.random()*1e3),gender:t,img:"https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png",status:~~(Math.random()*2)}}),f=[{title:"姓名",dataIndex:"name",sorter:!0,width:300,resizable:!0,formItemProps:{defaultValue:"李白",required:!0}},{title:"性别",dataIndex:"gender",width:120,resizable:!0,formItemProps:{component:"Select",componentProps:({formInstance:e,formModel:a,tableInstance:t})=>({options:[{label:"男",value:1},{label:"女",value:0}],onChange(){t?.reload(),e?.updateSchema({field:"clothes",componentProps:{options:l(a.gender)}}),a.clothes=""}})},customRender:({record:e})=>["女","男"][e.gender]},{title:"衣服",dataIndex:"clothes",formItemProps:{component:"Select"}},{title:"价格",dataIndex:"price",formItemProps:{component:"Select"},customRender:({record:e})=>`${e.price}元`},{title:"状态",dataIndex:"status",formItemProps:{component:"Select",componentProps:({formInstance:e,schema:a})=>({showSearch:!0,filterOption:!1,request:()=>n(),onSearch:c(async t=>{a.loading=!0;const o={field:"status",componentProps:{options:[]}};e?.updateSchema([o]);const r=await n(t).finally(()=>a.loading=!1);o.componentProps.options=r,e?.updateSchema([o])},500),onChange(t){}})},customRender:({record:e})=>u(m,{color:e.status==1?"red":"default"},{default:()=>[["已售罄","热卖中"][e.status]]})}];export{f as c,n as f,l as g,h as t}; diff --git a/assets/columns-obOP2Awr.js b/assets/columns-obOP2Awr.js new file mode 100644 index 000000000..1c595857f --- /dev/null +++ b/assets/columns-obOP2Awr.js @@ -0,0 +1 @@ +import{f as r}from"./dateUtil-15Jj70TU.js";import{k as s,aV as l,bp as d}from"./vendor-PZoYaLWz.js";function c(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!d(t)}const u=[{title:"ID",dataIndex:"id",sorter:!0,width:60},{title:"字典项键名",dataIndex:"label"},{title:"字典项值",dataIndex:"value"},{title:"排序",dataIndex:"orderNo"},{title:"状态",dataIndex:"status",width:80,customRender:({record:t})=>{const a=~~t.status===1,n=a?"green":"red",e=a?"启用":"停用";return s(l,{color:n},c(e)?e:{default:()=>[e]})}},{title:"备注",dataIndex:"remark"},{title:"更新时间",dataIndex:"updatedAt",sorter:!0,width:160,customRender:({record:t})=>r(t.createdAt)}],m=(t,o)=>[{field:"typeId",label:"字典类型",component:"Select",colProps:{span:8},componentProps:{options:t,onChange:o}},{field:"label",label:"字典项键名",component:"Input",colProps:{span:8}},{field:"value",label:"字典项值",component:"Input",colProps:{span:8}}];export{u as b,m as g}; diff --git a/assets/common-fvKDkUSQ.js b/assets/common-fvKDkUSQ.js new file mode 100644 index 000000000..677191c27 --- /dev/null +++ b/assets/common-fvKDkUSQ.js @@ -0,0 +1 @@ +import"./vendor-PZoYaLWz.js";const a=(r=100,t=!0)=>{const{promise:i,resolve:n}=Promise.withResolvers();return setTimeout(()=>{n(t)},r),i};function d(r,t,i="id",n=[]){for(const e of r){const s=[...n,e[i]];if(e.id===t)return s;if(e.children&&e.children.length>0){const o=d(e.children,t,i,s);if(o)return o}}return null}const f=(r,t=[],i=":")=>r.split(i).reduce((n,e,s,o)=>{const l=o.slice(0,s+1).join(":"),h=n.findIndex(c=>c?.path===l);if(h!==-1)return n[h].children;{const c={path:l,value:e,label:e,children:[]};return n.push(c),c.children}},t);export{d as f,f as s,a as w}; diff --git a/assets/createContextMenu-BwbhFCrW.js b/assets/createContextMenu-BwbhFCrW.js new file mode 100644 index 000000000..e7b211518 --- /dev/null +++ b/assets/createContextMenu-BwbhFCrW.js @@ -0,0 +1 @@ +import{d as g,r as C,b as E,o as L,x as M,a as _,B as v,k as l,az as b,bp as j,bb as $,F as O,bv as D}from"./vendor-PZoYaLWz.js";import{I as N,U as S}from"./index-zjj_i2Xu.js";function F(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!j(e)}const h="context-menu",P={width:{type:Number,default:156},customEvent:{type:Object,default:null},styles:{type:Object},showIcon:{type:Boolean,default:!0},axis:{type:Object,default(){return{x:0,y:0}}},items:{type:Array,default(){return[]}}},I=e=>{const{item:n}=e;return l("span",{style:"display: inline-block; width: 100%; ",class:"px-4",onClick:e.handler.bind(null,n)},[e.showIcon&&n.icon&&l(N,{class:"mr-2",type:n.icon},null),l("span",null,[n.label])])},z=g({name:"ContextMenu",props:P,setup(e){const n=C(null),m=C(!1),c=E(()=>{const{axis:t,items:s,styles:i,width:o}=e,{x:a,y:u}=t||{x:0,y:0},y=(s||[]).length*40,p=o,x=document.body,w=x.clientWidth{M(()=>m.value=!0)}),_(()=>{const t=v(n);t&&document.body.removeChild(t)});function f(t,s){const{handler:i,disabled:o}=t;o||(m.value=!1,s?.stopPropagation(),s?.preventDefault(),i?.())}function r(t){return t.filter(i=>!i.hidden).map(i=>{const{disabled:o,label:a,children:u,divider:y=!1}=i,p={item:i,handler:f,showIcon:e.showIcon};return!u||u.length===0?l(O,null,[l(b.Item,{disabled:o,class:`${h}__item`,key:a},{default:()=>[l(I,p,null)]}),y?l($,{key:`d-${a}`},null):null]):v(m)?l(b.SubMenu,{key:a,disabled:o,popupClassName:`${h}__popup`},{title:()=>l(I,p,null),default:()=>r(u)}):null})}return()=>{let t;if(!v(m))return null;const{items:s}=e;return l("div",{class:h},[l(b,{inlineIndent:12,mode:"vertical",ref:n,style:v(c)},F(t=r(s))?t:{default:()=>[t]})])}}}),d={domList:[],resolve:()=>{}},H=function(e){const{event:n}=e||{};if(n&&n?.preventDefault(),!!S)return new Promise(m=>{const c=document.body,f=document.createElement("div"),r={};e.styles&&(r.styles=e.styles),e.items&&(r.items=e.items),e.event&&(r.customEvent=n,r.axis={x:n.clientX,y:n.clientY});const t=l(z,r);D(t,f);const s=function(){d.resolve("")};d.domList.push(f);const i=function(){d.domList.forEach(o=>{try{o&&c.removeChild(o)}catch{}}),c.removeEventListener("click",s),c.removeEventListener("scroll",s)};d.resolve=function(o){i(),m(o)},i(),c.appendChild(f),c.addEventListener("click",s),c.addEventListener("scroll",s)})},R=function(){d&&(d.resolve(""),d.domList=[])};export{H as c,R as d}; diff --git a/assets/createContextMenu-YQzdSkq1.css b/assets/createContextMenu-YQzdSkq1.css new file mode 100644 index 000000000..6d7d9e077 --- /dev/null +++ b/assets/createContextMenu-YQzdSkq1.css @@ -0,0 +1 @@ +.context-menu{display:block;position:fixed;z-index:200;top:0;left:0;width:156px;margin:0;border:1px solid rgba(0,0,0,.08);border-radius:.25rem;background-clip:padding-box;background-color:var(--component-background);box-shadow:0 2px 2px #00000024,0 3px 1px -2px #0000001a,0 1px 5px #0000000f;list-style:none;user-select:none}.context-menu__item{margin:0!important}.context-menu li{display:inline-block;width:100%;height:42px!important;margin:0!important;line-height:42px!important}.context-menu li span{line-height:42px!important}.context-menu li>div{margin:0!important}.context-menu li:not(.ant-menu-item-disabled):hover{background-color:#0000000a}.context-menu .ant-divider,.context-menu__popup .ant-divider{margin:0}.context-menu__popup li{display:inline-block;width:100%;height:42px!important;margin:0!important;line-height:42px!important}.context-menu__popup li span{line-height:42px!important}.context-menu__popup li>div{margin:0!important}.context-menu__popup li:not(.ant-menu-item-disabled):hover{background-color:#0000000a}.context-menu .ant-menu-submenu-title,.context-menu .ant-menu-item{padding:0!important} diff --git a/assets/custom-modal-UPq9b1pY.js b/assets/custom-modal-UPq9b1pY.js new file mode 100644 index 000000000..fa56e506d --- /dev/null +++ b/assets/custom-modal-UPq9b1pY.js @@ -0,0 +1 @@ +import{_ as b}from"./index.vue_vue_type_style_index_0_lang-35qbmpIP.js";import{u as d}from"./useModal-L2aP7aoQ.js";import"./index-zjj_i2Xu.js";import"./ApiSelect.vue_vue_type_script_setup_true_lang-w2BFpwRk.js";import{d as v,n as k,I as h,Q as C,k as e,K as o,_ as n,B as s,R as r,a3 as y,b8 as M,ba as x,aY as g}from"./vendor-PZoYaLWz.js";import"./index-FiLqFnhx.js";const w=r("span",{class:"text-red-500"}," Tips: 如果你的弹窗依赖于App上下文(provide/inject),你应该使用`useModal组件方式` ",-1),B=r("a",{class:"text-blue-500",target:"_blank",href:"https://github.com/buqiyuan/vue3-antdv-admin/blob/main/src/views/demos/custom-modal.vue"}," 查看源码 ",-1),A=v({name:"CustomModal",__name:"custom-modal",setup(O){const[m]=d(),[i]=d(),t=k({visible:!1}),c=()=>{m.show({title:"我是hook纯函数式模态框",content:"hello"})},u=()=>{i.show({title:"我是UseModalComp",content:"嘿嘿嘿"})},_=()=>{t.visible=!1};return(U,a)=>{const l=y("a-button"),f=M;return h(),C("div",null,[e(s(x),{message:"自定义模态框",type:"info","show-icon":"",style:{"margin-bottom":"12px"}},{description:o(()=>[n(" 对ant-design-vue的modal进行二次封装,自定义一个可拖拽、可调整大小的模态框, "),w,B]),_:1}),e(f,null,{default:o(()=>[e(s(g),null,{default:o(()=>[e(l,{type:"primary",onClick:a[0]||(a[0]=p=>t.visible=!0)},{default:o(()=>[n("普通组件方式")]),_:1}),e(l,{type:"primary",onClick:u},{default:o(()=>[n("useModal组件方式")]),_:1}),e(l,{type:"primary",onClick:c},{default:o(()=>[n("hook纯函数式")]),_:1})]),_:1})]),_:1}),e(s(b),{open:t.visible,"onUpdate:open":a[1]||(a[1]=p=>t.visible=p),onOk:_},null,8,["open"]),e(s(i))])}}});export{A as default}; diff --git a/assets/dateUtil-15Jj70TU.js b/assets/dateUtil-15Jj70TU.js new file mode 100644 index 000000000..17f09c4ef --- /dev/null +++ b/assets/dateUtil-15Jj70TU.js @@ -0,0 +1 @@ +import{bR as t}from"./vendor-PZoYaLWz.js";const s="YYYY-MM-DD HH:mm:ss";function r(o,a=s){return t(o).format(a)}const e=t;export{e as d,r as f}; diff --git a/assets/dynamic-table-0dDQM8_O.js b/assets/dynamic-table-0dDQM8_O.js new file mode 100644 index 000000000..0ce1c690e --- /dev/null +++ b/assets/dynamic-table-0dDQM8_O.js @@ -0,0 +1,110 @@ +import{h as e0,K as Po,M as Li,N as Qs,O as Lo,Q as Bi,_ as r0,G as y0}from"./index-zjj_i2Xu.js";import"./ApiSelect.vue_vue_type_script_setup_true_lang-w2BFpwRk.js";import{r as Ke,w as Sa,B as ne,x as Zt,bN as A0,k as Ae,M as Ja,P as Bo,i as Mo,c as Ba,bK as C0,b as cr,am as ef,g as rf,bl as Mn,bY as Uo,n as Wo,bs as b0,a0 as Ho,be as qa,t as Vo,bZ as _a,b_ as Ln,b$ as Go,d as dt,a2 as Mi,a3 as V0,I as Ve,Q as Et,U as $t,F as Za,K as we,_ as et,S as pr,bL as va,bM as ma,J as Fr,a7 as rt,h as Un,aP as Kt,bb as G0,c0 as Xo,R as Er,ay as zo,az as En,c1 as $o,c2 as Ko,c3 as jo,L as tt,bB as Yo,c4 as tf,c5 as Jo,aG as qo,ah as Ui,aH as Zo,aT as Qo,aN as el,aY as af,j as rl,as as Bn,bP as tl,bV as al,a9 as nl,c6 as il,aB as sl,c7 as fl,c8 as cl,c9 as nf,aQ as ol,ca as ll,cb as ul,cc as hl}from"./vendor-PZoYaLWz.js";import{a as xl,s as dl,S as pl,_ as Wi}from"./schema-form.vue_vue_type_script_setup_true_lang-iMSwIqZ0.js";import{c as vl}from"./index-FiLqFnhx.js";import{_ as ml}from"./Icon.vue_vue_type_script_setup_true_lang-L3JttlNa.js";function fk(e){const t=Ke({});async function r(){await Zt();const i=ne(t);return A0(i)&&console.error("未获取表格实例!"),i}Sa(()=>e,async()=>{e&&(await Zt(),(await r())?.setProps?.(e))},{deep:!0,flush:"post"});const a=new Proxy(t,{get(i,s){return Reflect.has(i,s)?ne(i):i.value&&Reflect.has(i.value,s)?Reflect.get(i.value,s):async(...f)=>(await r())?.[s]?.(...f)}});return[(i,{attrs:s,slots:f})=>Ae(ek,Ja({ref:t},{...s,...e,...i}),f),ne(a)]}const sf=Symbol("dynamic-table");function gl(e){Bo(sf,e)}function Ca(){return Mo(sf)}var ff={exports:{}};(function(e,t){(function(r,a){a()})(Ba,function(){function r(o,l){return typeof l>"u"?l={autoBom:!1}:typeof l!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),l={autoBom:!l}),l.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(o.type)?new Blob(["\uFEFF",o],{type:o.type}):o}function a(o,l,u){var h=new XMLHttpRequest;h.open("GET",o),h.responseType="blob",h.onload=function(){c(h.response,l,u)},h.onerror=function(){console.error("could not download file")},h.send()}function n(o){var l=new XMLHttpRequest;l.open("HEAD",o,!1);try{l.send()}catch{}return 200<=l.status&&299>=l.status}function i(o){try{o.dispatchEvent(new MouseEvent("click"))}catch{var l=document.createEvent("MouseEvents");l.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),o.dispatchEvent(l)}}var s=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof Ba=="object"&&Ba.global===Ba?Ba:void 0,f=s.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),c=s.saveAs||(typeof window!="object"||window!==s?function(){}:"download"in HTMLAnchorElement.prototype&&!f?function(o,l,u){var h=s.URL||s.webkitURL,x=document.createElement("a");l=l||o.name||"download",x.download=l,x.rel="noopener",typeof o=="string"?(x.href=o,x.origin===location.origin?i(x):n(x.href)?a(o,l,u):i(x,x.target="_blank")):(x.href=h.createObjectURL(o),setTimeout(function(){h.revokeObjectURL(x.href)},4e4),setTimeout(function(){i(x)},0))}:"msSaveOrOpenBlob"in navigator?function(o,l,u){if(l=l||o.name||"download",typeof o!="string")navigator.msSaveOrOpenBlob(r(o,u),l);else if(n(o))a(o,l,u);else{var h=document.createElement("a");h.href=o,h.target="_blank",setTimeout(function(){i(h)})}}:function(o,l,u,h){if(h=h||open("","_blank"),h&&(h.document.title=h.document.body.innerText="downloading..."),typeof o=="string")return a(o,l,u);var x=o.type==="application/octet-stream",p=/constructor/i.test(s.HTMLElement)||s.safari,d=/CriOS\/[\d]+/.test(navigator.userAgent);if((d||x&&p||f)&&typeof FileReader<"u"){var v=new FileReader;v.onloadend=function(){var m=v.result;m=d?m:m.replace(/^data:[^;]*;/,"data:attachment/file;"),h?h.location.href=m:location=m,h=null},v.readAsDataURL(o)}else{var k=s.URL||s.webkitURL,_=k.createObjectURL(o);h?h.location=_:location.href=_,h=null,setTimeout(function(){k.revokeObjectURL(_)},4e4)}});s.saveAs=c.saveAs=c,e.exports=c})})(ff);var _l=ff.exports;/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */var Wn={};Wn.version="0.18.5";var cf=1252,wl=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],X0={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969},z0=function(e){wl.indexOf(e)!=-1&&(cf=X0[0]=e)};function kl(){z0(1252)}var at=function(e){z0(e)};function $0(){at(1200),kl()}function Hi(e){for(var t=[],r=0,a=e.length;r>1;++r)t[r]=String.fromCharCode(e.charCodeAt(2*r)+(e.charCodeAt(2*r+1)<<8));return t.join("")}function of(e){for(var t=[],r=0;r>1;++r)t[r]=String.fromCharCode(e.charCodeAt(2*r+1)+(e.charCodeAt(2*r)<<8));return t.join("")}var Ua=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1);return t==255&&r==254?Tl(e.slice(2)):t==254&&r==255?of(e.slice(2)):t==65279?e.slice(1):e},Sn=function(t){return String.fromCharCode(t)},Vi=function(t){return String.fromCharCode(t)},It,Ot="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function Qa(e){for(var t="",r=0,a=0,n=0,i=0,s=0,f=0,c=0,o=0;o>2,a=e.charCodeAt(o++),s=(r&3)<<4|a>>4,n=e.charCodeAt(o++),f=(a&15)<<2|n>>6,c=n&63,isNaN(a)?f=c=64:isNaN(n)&&(c=64),t+=Ot.charAt(i)+Ot.charAt(s)+Ot.charAt(f)+Ot.charAt(c);return t}function Hr(e){var t="",r=0,a=0,n=0,i=0,s=0,f=0,c=0;e=e.replace(/[^\w\+\/\=]/g,"");for(var o=0;o>4,t+=String.fromCharCode(r),f=Ot.indexOf(e.charAt(o++)),a=(s&15)<<4|f>>2,f!==64&&(t+=String.fromCharCode(a)),c=Ot.indexOf(e.charAt(o++)),n=(f&3)<<6|c,c!==64&&(t+=String.fromCharCode(n));return t}var Fe=function(){return typeof Buffer<"u"&&typeof process<"u"&&typeof process.versions<"u"&&!!process.versions.node}(),Ft=function(){if(typeof Buffer<"u"){var e=!Buffer.from;if(!e)try{Buffer.from("foo","utf8")}catch{e=!0}return e?function(t,r){return r?new Buffer(t,r):new Buffer(t)}:Buffer.from.bind(Buffer)}return function(){}}();function Lt(e){return Fe?Buffer.alloc?Buffer.alloc(e):new Buffer(e):typeof Uint8Array<"u"?new Uint8Array(e):new Array(e)}function Gi(e){return Fe?Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e):typeof Uint8Array<"u"?new Uint8Array(e):new Array(e)}var Ur=function(t){return Fe?Ft(t,"binary"):t.split("").map(function(r){return r.charCodeAt(0)&255})};function t0(e){if(typeof ArrayBuffer>"u")return Ur(e);for(var t=new ArrayBuffer(e.length),r=new Uint8Array(t),a=0;a!=e.length;++a)r[a]=e.charCodeAt(a)&255;return t}function Wt(e){if(Array.isArray(e))return e.map(function(a){return String.fromCharCode(a)}).join("");for(var t=[],r=0;r"u")throw new Error("Unsupported");return new Uint8Array(e)}function K0(e){if(typeof ArrayBuffer>"u")throw new Error("Unsupported");if(e instanceof ArrayBuffer)return K0(new Uint8Array(e));for(var t=new Array(e.length),r=0;r>6&31,n[r++]=128|s&63;else if(s>=55296&&s<57344){s=(s&1023)+64;var f=e.charCodeAt(++i)&1023;n[r++]=240|s>>8&7,n[r++]=128|s>>2&63,n[r++]=128|f>>6&15|(s&3)<<4,n[r++]=128|f&63}else n[r++]=224|s>>12&15,n[r++]=128|s>>6&63,n[r++]=128|s&63;r>a&&(t.push(n.slice(0,r)),r=0,n=Lt(65535),a=65530)}return t.push(n.slice(0,r)),hr(t)}var Or=/\u0000/g,Wa=/[\u0001-\u0006]/g;function wa(e){for(var t="",r=e.length-1;r>=0;)t+=e.charAt(r--);return t}function nt(e,t){var r=""+e;return r.length>=t?r:Je("0",t-r.length)+r}function j0(e,t){var r=""+e;return r.length>=t?r:Je(" ",t-r.length)+r}function Hn(e,t){var r=""+e;return r.length>=t?r:r+Je(" ",t-r.length)}function Fl(e,t){var r=""+Math.round(e);return r.length>=t?r:Je("0",t-r.length)+r}function yl(e,t){var r=""+e;return r.length>=t?r:Je("0",t-r.length)+r}var Xi=Math.pow(2,32);function ha(e,t){if(e>Xi||e<-Xi)return Fl(e,t);var r=Math.round(e);return yl(r,t)}function Vn(e,t){return t=t||0,e.length>=7+t&&(e.charCodeAt(t)|32)===103&&(e.charCodeAt(t+1)|32)===101&&(e.charCodeAt(t+2)|32)===110&&(e.charCodeAt(t+3)|32)===101&&(e.charCodeAt(t+4)|32)===114&&(e.charCodeAt(t+5)|32)===97&&(e.charCodeAt(t+6)|32)===108}var zi=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],h0=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];function Al(e){return e||(e={}),e[0]="General",e[1]="0",e[2]="0.00",e[3]="#,##0",e[4]="#,##0.00",e[9]="0%",e[10]="0.00%",e[11]="0.00E+00",e[12]="# ?/?",e[13]="# ??/??",e[14]="m/d/yy",e[15]="d-mmm-yy",e[16]="d-mmm",e[17]="mmm-yy",e[18]="h:mm AM/PM",e[19]="h:mm:ss AM/PM",e[20]="h:mm",e[21]="h:mm:ss",e[22]="m/d/yy h:mm",e[37]="#,##0 ;(#,##0)",e[38]="#,##0 ;[Red](#,##0)",e[39]="#,##0.00;(#,##0.00)",e[40]="#,##0.00;[Red](#,##0.00)",e[45]="mm:ss",e[46]="[h]:mm:ss",e[47]="mmss.0",e[48]="##0.0E+0",e[49]="@",e[56]='"上午/下午 "hh"時"mm"分"ss"秒 "',e}var me={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"上午/下午 "hh"時"mm"分"ss"秒 "'},$i={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},Cl={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function Gn(e,t,r){for(var a=e<0?-1:1,n=e*a,i=0,s=1,f=0,c=1,o=0,l=0,u=Math.floor(n);ot&&(o>t?(l=c,f=i):(l=o,f=s)),!r)return[0,a*f,l];var h=Math.floor(a*f/l);return[h,a*f-h*l,l]}function Rt(e,t,r){if(e>2958465||e<0)return null;var a=e|0,n=Math.floor(86400*(e-a)),i=0,s=[],f={D:a,T:n,u:86400*(e-a)-n,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(f.u)<1e-6&&(f.u=0),t&&t.date1904&&(a+=1462),f.u>.9999&&(f.u=0,++n==86400&&(f.T=n=0,++a,++f.D)),a===60)s=r?[1317,10,29]:[1900,2,29],i=3;else if(a===0)s=r?[1317,8,29]:[1900,1,0],i=6;else{a>60&&--a;var c=new Date(1900,0,1);c.setDate(c.getDate()+a-1),s=[c.getFullYear(),c.getMonth()+1,c.getDate()],i=c.getDay(),a<60&&(i=(i+6)%7),r&&(i=Nl(c,s))}return f.y=s[0],f.m=s[1],f.d=s[2],f.S=n%60,n=Math.floor(n/60),f.M=n%60,n=Math.floor(n/60),f.H=n,f.q=i,f}var lf=new Date(1899,11,31,0,0,0),bl=lf.getTime(),Dl=new Date(1900,2,1,0,0,0);function uf(e,t){var r=e.getTime();return t?r-=1461*24*60*60*1e3:e>=Dl&&(r+=24*60*60*1e3),(r-(bl+(e.getTimezoneOffset()-lf.getTimezoneOffset())*6e4))/(24*60*60*1e3)}function Y0(e){return e.indexOf(".")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function Il(e){return e.indexOf("E")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}function Ol(e){var t=e<0?12:11,r=Y0(e.toFixed(12));return r.length<=t||(r=e.toPrecision(10),r.length<=t)?r:e.toExponential(5)}function Rl(e){var t=Y0(e.toFixed(11));return t.length>(e<0?12:11)||t==="0"||t==="-0"?e.toPrecision(6):t}function en(e){var t=Math.floor(Math.log(Math.abs(e))*Math.LOG10E),r;return t>=-4&&t<=-1?r=e.toPrecision(10+t):Math.abs(t)<=9?r=Ol(e):t===10?r=e.toFixed(10).substr(0,12):r=Rl(e),Y0(Il(r.toUpperCase()))}function Qt(e,t){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(e|0)===e?e.toString(10):en(e);case"undefined":return"";case"object":if(e==null)return"";if(e instanceof Date)return Vr(14,uf(e,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+e)}function Nl(e,t){t[0]-=581;var r=e.getDay();return e<60&&(r=(r+6)%7),r}function Pl(e,t,r,a){var n="",i=0,s=0,f=r.y,c,o=0;switch(e){case 98:f=r.y+543;case 121:switch(t.length){case 1:case 2:c=f%100,o=2;break;default:c=f%1e4,o=4;break}break;case 109:switch(t.length){case 1:case 2:c=r.m,o=t.length;break;case 3:return h0[r.m-1][1];case 5:return h0[r.m-1][0];default:return h0[r.m-1][2]}break;case 100:switch(t.length){case 1:case 2:c=r.d,o=t.length;break;case 3:return zi[r.q][0];default:return zi[r.q][1]}break;case 104:switch(t.length){case 1:case 2:c=1+(r.H+11)%12,o=t.length;break;default:throw"bad hour format: "+t}break;case 72:switch(t.length){case 1:case 2:c=r.H,o=t.length;break;default:throw"bad hour format: "+t}break;case 77:switch(t.length){case 1:case 2:c=r.M,o=t.length;break;default:throw"bad minute format: "+t}break;case 115:if(t!="s"&&t!="ss"&&t!=".0"&&t!=".00"&&t!=".000")throw"bad second format: "+t;return r.u===0&&(t=="s"||t=="ss")?nt(r.S,t.length):(a>=2?s=a===3?1e3:100:s=a===1?10:1,i=Math.round(s*(r.S+r.u)),i>=60*s&&(i=0),t==="s"?i===0?"0":""+i/s:(n=nt(i,2+a),t==="ss"?n.substr(0,2):"."+n.substr(2,t.length-1)));case 90:switch(t){case"[h]":case"[hh]":c=r.D*24+r.H;break;case"[m]":case"[mm]":c=(r.D*24+r.H)*60+r.M;break;case"[s]":case"[ss]":c=((r.D*24+r.H)*60+r.M)*60+Math.round(r.S+r.u);break;default:throw"bad abstime format: "+t}o=t.length===3?1:2;break;case 101:c=f,o=1;break}var l=o>0?nt(c,o):"";return l}function Nt(e){var t=3;if(e.length<=t)return e;for(var r=e.length%t,a=e.substr(0,r);r!=e.length;r+=t)a+=(a.length>0?",":"")+e.substr(r,t);return a}var hf=/%/g;function Ll(e,t,r){var a=t.replace(hf,""),n=t.length-a.length;return kt(e,a,r*Math.pow(10,2*n))+Je("%",n)}function Bl(e,t,r){for(var a=t.length-1;t.charCodeAt(a-1)===44;)--a;return kt(e,t.substr(0,a),r/Math.pow(10,3*(t.length-a)))}function xf(e,t){var r,a=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(t==0)return"0.0E+0";if(t<0)return"-"+xf(e,-t);var n=e.indexOf(".");n===-1&&(n=e.indexOf("E"));var i=Math.floor(Math.log(t)*Math.LOG10E)%n;if(i<0&&(i+=n),r=(t/Math.pow(10,i)).toPrecision(a+1+(n+i)%n),r.indexOf("e")===-1){var s=Math.floor(Math.log(t)*Math.LOG10E);for(r.indexOf(".")===-1?r=r.charAt(0)+"."+r.substr(1)+"E+"+(s-r.length+i):r+="E+"+(s-i);r.substr(0,2)==="0.";)r=r.charAt(0)+r.substr(2,n)+"."+r.substr(2+n),r=r.replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(f,c,o,l){return c+o+l.substr(0,(n+i)%n)+"."+l.substr(i)+"E"})}else r=t.toExponential(a);return e.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),e.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}var df=/# (\?+)( ?)\/( ?)(\d+)/;function Ml(e,t,r){var a=parseInt(e[4],10),n=Math.round(t*a),i=Math.floor(n/a),s=n-i*a,f=a;return r+(i===0?"":""+i)+" "+(s===0?Je(" ",e[1].length+1+e[4].length):j0(s,e[1].length)+e[2]+"/"+e[3]+nt(f,e[4].length))}function Ul(e,t,r){return r+(t===0?"":""+t)+Je(" ",e[1].length+2+e[4].length)}var pf=/^#*0*\.([0#]+)/,vf=/\).*[0#]/,mf=/\(###\) ###\\?-####/;function Dr(e){for(var t="",r,a=0;a!=e.length;++a)switch(r=e.charCodeAt(a)){case 35:break;case 63:t+=" ";break;case 48:t+="0";break;default:t+=String.fromCharCode(r)}return t}function Ki(e,t){var r=Math.pow(10,t);return""+Math.round(e*r)/r}function ji(e,t){var r=e-Math.floor(e),a=Math.pow(10,t);return t<(""+Math.round(r*a)).length?0:Math.round(r*a)}function Wl(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?1:0}function Hl(e){return e<2147483647&&e>-2147483648?""+(e>=0?e|0:e-1|0):""+Math.floor(e)}function $r(e,t,r){if(e.charCodeAt(0)===40&&!t.match(vf)){var a=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?$r("n",a,r):"("+$r("n",a,-r)+")"}if(t.charCodeAt(t.length-1)===44)return Bl(e,t,r);if(t.indexOf("%")!==-1)return Ll(e,t,r);if(t.indexOf("E")!==-1)return xf(t,r);if(t.charCodeAt(0)===36)return"$"+$r(e,t.substr(t.charAt(1)==" "?2:1),r);var n,i,s,f,c=Math.abs(r),o=r<0?"-":"";if(t.match(/^00+$/))return o+ha(c,t.length);if(t.match(/^[#?]+$/))return n=ha(r,0),n==="0"&&(n=""),n.length>t.length?n:Dr(t.substr(0,t.length-n.length))+n;if(i=t.match(df))return Ml(i,c,o);if(t.match(/^#+0+$/))return o+ha(c,t.length-t.indexOf("0"));if(i=t.match(pf))return n=Ki(r,i[1].length).replace(/^([^\.]+)$/,"$1."+Dr(i[1])).replace(/\.$/,"."+Dr(i[1])).replace(/\.(\d*)$/,function(p,d){return"."+d+Je("0",Dr(i[1]).length-d.length)}),t.indexOf("0.")!==-1?n:n.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),i=t.match(/^(0*)\.(#*)$/))return o+Ki(c,i[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".");if(i=t.match(/^#{1,3},##0(\.?)$/))return o+Nt(ha(c,0));if(i=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+$r(e,t,-r):Nt(""+(Math.floor(r)+Wl(r,i[1].length)))+"."+nt(ji(r,i[1].length),i[1].length);if(i=t.match(/^#,#*,#0/))return $r(e,t.replace(/^#,#*,/,""),r);if(i=t.match(/^([0#]+)(\\?-([0#]+))+$/))return n=wa($r(e,t.replace(/[\\-]/g,""),r)),s=0,wa(wa(t.replace(/\\/g,"")).replace(/[0#]/g,function(p){return s=0?lt("n",a,r):"("+lt("n",a,-r)+")"}if(t.charCodeAt(t.length-1)===44)return Vl(e,t,r);if(t.indexOf("%")!==-1)return Gl(e,t,r);if(t.indexOf("E")!==-1)return gf(t,r);if(t.charCodeAt(0)===36)return"$"+lt(e,t.substr(t.charAt(1)==" "?2:1),r);var n,i,s,f,c=Math.abs(r),o=r<0?"-":"";if(t.match(/^00+$/))return o+nt(c,t.length);if(t.match(/^[#?]+$/))return n=""+r,r===0&&(n=""),n.length>t.length?n:Dr(t.substr(0,t.length-n.length))+n;if(i=t.match(df))return Ul(i,c,o);if(t.match(/^#+0+$/))return o+nt(c,t.length-t.indexOf("0"));if(i=t.match(pf))return n=(""+r).replace(/^([^\.]+)$/,"$1."+Dr(i[1])).replace(/\.$/,"."+Dr(i[1])),n=n.replace(/\.(\d*)$/,function(p,d){return"."+d+Je("0",Dr(i[1]).length-d.length)}),t.indexOf("0.")!==-1?n:n.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),i=t.match(/^(0*)\.(#*)$/))return o+(""+c).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".");if(i=t.match(/^#{1,3},##0(\.?)$/))return o+Nt(""+c);if(i=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+lt(e,t,-r):Nt(""+r)+"."+Je("0",i[1].length);if(i=t.match(/^#,#*,#0/))return lt(e,t.replace(/^#,#*,/,""),r);if(i=t.match(/^([0#]+)(\\?-([0#]+))+$/))return n=wa(lt(e,t.replace(/[\\-]/g,""),r)),s=0,wa(wa(t.replace(/\\/g,"")).replace(/[0#]/g,function(p){return s-1||r=="\\"&&e.charAt(t+1)=="-"&&"0#".indexOf(e.charAt(t+2))>-1););break;case"?":for(;e.charAt(++t)===r;);break;case"*":++t,(e.charAt(t)==" "||e.charAt(t)=="*")&&++t;break;case"(":case")":++t;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;t-1;);break;case" ":++t;break;default:++t;break}return!1}function zl(e,t,r,a){for(var n=[],i="",s=0,f="",c="t",o,l,u,h="H";s=12?"P":"A"),d.t="T",h="h",s+=3):e.substr(s,5).toUpperCase()==="AM/PM"?(o!=null&&(d.v=o.H>=12?"PM":"AM"),d.t="T",s+=5,h="h"):e.substr(s,5).toUpperCase()==="上午/下午"?(o!=null&&(d.v=o.H>=12?"下午":"上午"),d.t="T",s+=5,h="h"):(d.t="t",++s),o==null&&d.t==="T")return"";n[n.length]=d,c=f;break;case"[":for(i=f;e.charAt(s++)!=="]"&&s-1&&(i=(i.match(/\$([^-\[\]]*)/)||[])[1]||"$",ia(e)||(n[n.length]={t:"t",v:i}));break;case".":if(o!=null){for(i=f;++s-1;)i+=f;n[n.length]={t:"n",v:i};break;case"?":for(i=f;e.charAt(++s)===f;)i+=f;n[n.length]={t:f,v:i},c=f;break;case"*":++s,(e.charAt(s)==" "||e.charAt(s)=="*")&&++s;break;case"(":case")":n[n.length]={t:a===1?"t":f,v:f},++s;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(i=f;s-1;)i+=e.charAt(s);n[n.length]={t:"D",v:i};break;case" ":n[n.length]={t:f,v:f},++s;break;case"$":n[n.length]={t:"t",v:"$"},++s;break;default:if(",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(f)===-1)throw new Error("unrecognized character "+f+" in "+e);n[n.length]={t:"t",v:f},++s;break}var v=0,k=0,_;for(s=n.length-1,c="t";s>=0;--s)switch(n[s].t){case"h":case"H":n[s].t=h,c="h",v<1&&(v=1);break;case"s":(_=n[s].v.match(/\.0+$/))&&(k=Math.max(k,_[0].length-1)),v<3&&(v=3);case"d":case"y":case"M":case"e":c=n[s].t;break;case"m":c==="s"&&(n[s].t="M",v<2&&(v=2));break;case"X":break;case"Z":v<1&&n[s].v.match(/[Hh]/)&&(v=1),v<2&&n[s].v.match(/[Mm]/)&&(v=2),v<3&&n[s].v.match(/[Ss]/)&&(v=3)}switch(v){case 0:break;case 1:o.u>=.5&&(o.u=0,++o.S),o.S>=60&&(o.S=0,++o.M),o.M>=60&&(o.M=0,++o.H);break;case 2:o.u>=.5&&(o.u=0,++o.S),o.S>=60&&(o.S=0,++o.M);break}var m="",D;for(s=0;s0){m.charCodeAt(0)==40?(F=t<0&&m.charCodeAt(0)===45?-t:t,T=kt("n",m,F)):(F=t<0&&a>1?-t:t,T=kt("n",m,F),F<0&&n[0]&&n[0].t=="t"&&(T=T.substr(1),n[0].v="-"+n[0].v)),D=T.length-1;var L=n.length;for(s=0;s-1){L=s;break}var O=n.length;if(L===n.length&&T.indexOf("E")===-1){for(s=n.length-1;s>=0;--s)n[s]==null||"n?".indexOf(n[s].t)===-1||(D>=n[s].v.length-1?(D-=n[s].v.length,n[s].v=T.substr(D+1,n[s].v.length)):D<0?n[s].v="":(n[s].v=T.substr(0,D+1),D=-1),n[s].t="t",O=s);D>=0&&O=0;--s)if(!(n[s]==null||"n?".indexOf(n[s].t)===-1)){for(l=n[s].v.indexOf(".")>-1&&s===L?n[s].v.indexOf(".")-1:n[s].v.length-1,I=n[s].v.substr(l+1);l>=0;--l)D>=0&&(n[s].v.charAt(l)==="0"||n[s].v.charAt(l)==="#")&&(I=T.charAt(D--)+I);n[s].v=I,n[s].t="t",O=s}for(D>=0&&O-1&&s===L?n[s].v.indexOf(".")+1:0,I=n[s].v.substr(0,l);l-1&&(F=a>1&&t<0&&s>0&&n[s-1].v==="-"?-t:t,n[s].v=kt(n[s].t,n[s].v,F),n[s].t="t");var X="";for(s=0;s!==n.length;++s)n[s]!=null&&(X+=n[s].v);return X}var Yi=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function Ji(e,t){if(t==null)return!1;var r=parseFloat(t[2]);switch(t[1]){case"=":if(e==r)return!0;break;case">":if(e>r)return!0;break;case"<":if(e":if(e!=r)return!0;break;case">=":if(e>=r)return!0;break;case"<=":if(e<=r)return!0;break}return!1}function $l(e,t){var r=Xl(e),a=r.length,n=r[a-1].indexOf("@");if(a<4&&n>-1&&--a,r.length>4)throw new Error("cannot find right format for |"+r.join("|")+"|");if(typeof t!="number")return[4,r.length===4||n>-1?r[r.length-1]:"@"];switch(r.length){case 1:r=n>-1?["General","General","General",r[0]]:[r[0],r[0],r[0],"@"];break;case 2:r=n>-1?[r[0],r[0],r[0],r[1]]:[r[0],r[1],r[0],"@"];break;case 3:r=n>-1?[r[0],r[1],r[0],r[2]]:[r[0],r[1],r[2],"@"];break}var i=t>0?r[0]:t<0?r[1]:r[2];if(r[0].indexOf("[")===-1&&r[1].indexOf("[")===-1)return[a,i];if(r[0].match(/\[[=<>]/)!=null||r[1].match(/\[[=<>]/)!=null){var s=r[0].match(Yi),f=r[1].match(Yi);return Ji(t,s)?[a,r[0]]:Ji(t,f)?[a,r[1]]:[a,r[s!=null&&f!=null?2:1]]}return[a,i]}function Vr(e,t,r){r==null&&(r={});var a="";switch(typeof e){case"string":e=="m/d/yy"&&r.dateNF?a=r.dateNF:a=e;break;case"number":e==14&&r.dateNF?a=r.dateNF:a=(r.table!=null?r.table:me)[e],a==null&&(a=r.table&&r.table[$i[e]]||me[$i[e]]),a==null&&(a=Cl[e]||"General");break}if(Vn(a,0))return Qt(t,r);t instanceof Date&&(t=uf(t,r.date1904));var n=$l(a,t);if(Vn(n[1]))return Qt(t,r);if(t===!0)t="TRUE";else if(t===!1)t="FALSE";else if(t===""||t==null)return"";return zl(n[1],t,r,n[0])}function xt(e,t){if(typeof t!="number"){t=+t||-1;for(var r=0;r<392;++r){if(me[r]==null){t<0&&(t=r);continue}if(me[r]==e){t=r;break}}t<0&&(t=391)}return me[t]=e,t}function xn(e){for(var t=0;t!=392;++t)e[t]!==void 0&&xt(e[t],t)}function ba(){me=Al()}var wf={format:Vr,load:xt,_table:me,load_table:xn,parse_date_code:Rt,is_date:ia,get_table:function(){return wf._table=me}},Kl={5:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',23:"General",24:"General",25:"General",26:"General",27:"m/d/yy",28:"m/d/yy",29:"m/d/yy",30:"m/d/yy",31:"m/d/yy",32:"h:mm:ss",33:"h:mm:ss",34:"h:mm:ss",35:"h:mm:ss",36:"m/d/yy",41:'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',50:"m/d/yy",51:"m/d/yy",52:"m/d/yy",53:"m/d/yy",54:"m/d/yy",55:"m/d/yy",56:"m/d/yy",57:"m/d/yy",58:"m/d/yy",59:"0",60:"0.00",61:"#,##0",62:"#,##0.00",63:'"$"#,##0_);\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',67:"0%",68:"0.00%",69:"# ?/?",70:"# ??/??",71:"m/d/yy",72:"m/d/yy",73:"d-mmm-yy",74:"d-mmm",75:"mmm-yy",76:"h:mm",77:"h:mm:ss",78:"m/d/yy h:mm",79:"mm:ss",80:"[h]:mm:ss",81:"mmss.0"},kf=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function jl(e){var t=typeof e=="number"?me[e]:e;return t=t.replace(kf,"(\\d+)"),new RegExp("^"+t+"$")}function Yl(e,t,r){var a=-1,n=-1,i=-1,s=-1,f=-1,c=-1;(t.match(kf)||[]).forEach(function(u,h){var x=parseInt(r[h+1],10);switch(u.toLowerCase().charAt(0)){case"y":a=x;break;case"d":i=x;break;case"h":s=x;break;case"s":c=x;break;case"m":s>=0?f=x:n=x;break}}),c>=0&&f==-1&&n>=0&&(f=n,n=-1);var o=(""+(a>=0?a:new Date().getFullYear())).slice(-4)+"-"+("00"+(n>=1?n:1)).slice(-2)+"-"+("00"+(i>=1?i:1)).slice(-2);o.length==7&&(o="0"+o),o.length==8&&(o="20"+o);var l=("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(f>=0?f:0)).slice(-2)+":"+("00"+(c>=0?c:0)).slice(-2);return s==-1&&f==-1&&c==-1?o:a==-1&&n==-1&&i==-1?l:o+"T"+l}var Jl=function(){var e={};e.version="1.2.0";function t(){for(var T=0,L=new Array(256),O=0;O!=256;++O)T=O,T=T&1?-306674912^T>>>1:T>>>1,T=T&1?-306674912^T>>>1:T>>>1,T=T&1?-306674912^T>>>1:T>>>1,T=T&1?-306674912^T>>>1:T>>>1,T=T&1?-306674912^T>>>1:T>>>1,T=T&1?-306674912^T>>>1:T>>>1,T=T&1?-306674912^T>>>1:T>>>1,T=T&1?-306674912^T>>>1:T>>>1,L[O]=T;return typeof Int32Array<"u"?new Int32Array(L):L}var r=t();function a(T){var L=0,O=0,X=0,M=typeof Int32Array<"u"?new Int32Array(4096):new Array(4096);for(X=0;X!=256;++X)M[X]=T[X];for(X=0;X!=256;++X)for(O=T[X],L=256+X;L<4096;L+=256)O=M[L]=O>>>8^T[O&255];var P=[];for(X=1;X!=16;++X)P[X-1]=typeof Int32Array<"u"?M.subarray(X*256,X*256+256):M.slice(X*256,X*256+256);return P}var n=a(r),i=n[0],s=n[1],f=n[2],c=n[3],o=n[4],l=n[5],u=n[6],h=n[7],x=n[8],p=n[9],d=n[10],v=n[11],k=n[12],_=n[13],m=n[14];function D(T,L){for(var O=L^-1,X=0,M=T.length;X>>8^r[(O^T.charCodeAt(X++))&255];return~O}function I(T,L){for(var O=L^-1,X=T.length-15,M=0;M>8&255]^k[T[M++]^O>>16&255]^v[T[M++]^O>>>24]^d[T[M++]]^p[T[M++]]^x[T[M++]]^h[T[M++]]^u[T[M++]]^l[T[M++]]^o[T[M++]]^c[T[M++]]^f[T[M++]]^s[T[M++]]^i[T[M++]]^r[T[M++]];for(X+=15;M>>8^r[(O^T[M++])&255];return~O}function F(T,L){for(var O=L^-1,X=0,M=T.length,P=0,J=0;X>>8^r[(O^P)&255]:P<2048?(O=O>>>8^r[(O^(192|P>>6&31))&255],O=O>>>8^r[(O^(128|P&63))&255]):P>=55296&&P<57344?(P=(P&1023)+64,J=T.charCodeAt(X++)&1023,O=O>>>8^r[(O^(240|P>>8&7))&255],O=O>>>8^r[(O^(128|P>>2&63))&255],O=O>>>8^r[(O^(128|J>>6&15|(P&3)<<4))&255],O=O>>>8^r[(O^(128|J&63))&255]):(O=O>>>8^r[(O^(224|P>>12&15))&255],O=O>>>8^r[(O^(128|P>>6&63))&255],O=O>>>8^r[(O^(128|P&63))&255]);return~O}return e.table=r,e.bstr=D,e.buf=I,e.str=F,e}(),pe=function(){var t={};t.version="1.2.1";function r(g,S){for(var w=g.split("/"),E=S.split("/"),y=0,A=0,W=Math.min(w.length,E.length);y>>1,g.write_shift(2,w);var E=S.getFullYear()-1980;E=E<<4|S.getMonth()+1,E=E<<5|S.getDate(),g.write_shift(2,E)}function s(g){var S=g.read_shift(2)&65535,w=g.read_shift(2)&65535,E=new Date,y=w&31;w>>>=5;var A=w&15;w>>>=4,E.setMilliseconds(0),E.setFullYear(w+1980),E.setMonth(A-1),E.setDate(y);var W=S&31;S>>>=5;var j=S&63;return S>>>=6,E.setHours(S),E.setMinutes(j),E.setSeconds(W<<1),E}function f(g){vr(g,0);for(var S={},w=0;g.l<=g.length-4;){var E=g.read_shift(2),y=g.read_shift(2),A=g.l+y,W={};switch(E){case 21589:w=g.read_shift(1),w&1&&(W.mtime=g.read_shift(4)),y>5&&(w&2&&(W.atime=g.read_shift(4)),w&4&&(W.ctime=g.read_shift(4))),W.mtime&&(W.mt=new Date(W.mtime*1e3));break}g.l=A,S[E]=W}return S}var c;function o(){return c||(c={})}function l(g,S){if(g[0]==80&&g[1]==75)return Pi(g,S);if((g[0]|32)==109&&(g[1]|32)==105)return bo(g,S);if(g.length<512)throw new Error("CFB file size "+g.length+" < 512");var w=3,E=512,y=0,A=0,W=0,j=0,U=0,H=[],G=g.slice(0,512);vr(G,0);var Q=u(G);switch(w=Q[0],w){case 3:E=512;break;case 4:E=4096;break;case 0:if(Q[1]==0)return Pi(g,S);default:throw new Error("Major Version: Expected 3 or 4 saw "+w)}E!==512&&(G=g.slice(0,E),vr(G,28));var ce=g.slice(0,E);h(G,w);var xe=G.read_shift(4,"i");if(w===3&&xe!==0)throw new Error("# Directory Sectors: Expected 0 saw "+xe);G.l+=4,W=G.read_shift(4,"i"),G.l+=4,G.chk("00100000","Mini Stream Cutoff Size: "),j=G.read_shift(4,"i"),y=G.read_shift(4,"i"),U=G.read_shift(4,"i"),A=G.read_shift(4,"i");for(var te=-1,ue=0;ue<109&&(te=G.read_shift(4,"i"),!(te<0));++ue)H[ue]=te;var ke=x(g,E);v(U,A,ke,E,H);var ze=_(ke,W,H,E);ze[W].name="!Directory",y>0&&j!==J&&(ze[j].name="!MiniFAT"),ze[H[0]].name="!FAT",ze.fat_addrs=H,ze.ssz=E;var $e={},gr=[],Na=[],Pa=[];m(W,ze,ke,gr,y,$e,Na,j),p(Na,Pa,gr),gr.shift();var La={FileIndex:Na,FullPaths:Pa};return S&&S.raw&&(La.raw={header:ce,sectors:ke}),La}function u(g){if(g[g.l]==80&&g[g.l+1]==75)return[0,0];g.chk(le,"Header Signature: "),g.l+=16;var S=g.read_shift(2,"u");return[g.read_shift(2,"u"),S]}function h(g,S){var w=9;switch(g.l+=2,w=g.read_shift(2)){case 9:if(S!=3)throw new Error("Sector Shift: Expected 9 saw "+w);break;case 12:if(S!=4)throw new Error("Sector Shift: Expected 12 saw "+w);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+w)}g.chk("0600","Mini Sector Shift: "),g.chk("000000000000","Reserved: ")}function x(g,S){for(var w=Math.ceil(g.length/S)-1,E=[],y=1;y0&&W>=0;)A.push(S.slice(W*P,W*P+P)),y-=P,W=zt(w,W*4);return A.length===0?z(0):hr(A).slice(0,g.size)}function v(g,S,w,E,y){var A=J;if(g===J){if(S!==0)throw new Error("DIFAT chain shorter than expected")}else if(g!==-1){var W=w[g],j=(E>>>2)-1;if(!W)return;for(var U=0;U=0;){y[U]=!0,A[A.length]=U,W.push(g[U]);var G=w[Math.floor(U*4/E)];if(H=U*4&j,E<4+H)throw new Error("FAT boundary crossed: "+U+" 4 "+E);if(!g[G])break;U=zt(g[G],H)}return{nodes:A,data:cs([W])}}function _(g,S,w,E){var y=g.length,A=[],W=[],j=[],U=[],H=E-1,G=0,Q=0,ce=0,xe=0;for(G=0;G=y&&(ce-=y),!W[ce]){U=[];var te=[];for(Q=ce;Q>=0;){te[Q]=!0,W[Q]=!0,j[j.length]=Q,U.push(g[Q]);var ue=w[Math.floor(Q*4/E)];if(xe=Q*4&H,E<4+xe)throw new Error("FAT boundary crossed: "+Q+" 4 "+E);if(!g[ue]||(Q=zt(g[ue],xe),te[Q]))break}A[ce]={nodes:j,data:cs([U])}}return A}function m(g,S,w,E,y,A,W,j){for(var U=0,H=E.length?2:0,G=S[g].data,Q=0,ce=0,xe;Q0&&U!==J&&(S[U].name="!StreamData")):ue.size>=4096?(ue.storage="fat",S[ue.start]===void 0&&(S[ue.start]=k(w,ue.start,S.fat_addrs,S.ssz)),S[ue.start].name=ue.name,ue.content=S[ue.start].data.slice(0,ue.size)):(ue.storage="minifat",ue.size<0?ue.size=0:U!==J&&ue.start!==J&&S[U]&&(ue.content=d(ue,S[U].data,(S[j]||{}).data))),ue.content&&vr(ue.content,0),A[xe]=ue,W.push(ue)}}function D(g,S){return new Date((Mr(g,S+4)/1e7*Math.pow(2,32)+Mr(g,S)/1e7-11644473600)*1e3)}function I(g,S){return o(),l(c.readFileSync(g),S)}function F(g,S){var w=S&&S.type;switch(w||Fe&&Buffer.isBuffer(g)&&(w="buffer"),w||"base64"){case"file":return I(g,S);case"base64":return l(Ur(Hr(g)),S);case"binary":return l(Ur(g),S)}return l(g,S)}function T(g,S){var w=S||{},E=w.root||"Root Entry";if(g.FullPaths||(g.FullPaths=[]),g.FileIndex||(g.FileIndex=[]),g.FullPaths.length!==g.FileIndex.length)throw new Error("inconsistent CFB structure");g.FullPaths.length===0&&(g.FullPaths[0]=E+"/",g.FileIndex[0]={name:E,type:5}),w.CLSID&&(g.FileIndex[0].clsid=w.CLSID),L(g)}function L(g){var S="Sh33tJ5";if(!pe.find(g,"/"+S)){var w=z(4);w[0]=55,w[1]=w[3]=50,w[2]=54,g.FileIndex.push({name:S,type:2,content:w,size:4,L:69,R:69,C:69}),g.FullPaths.push(g.FullPaths[0]+S),O(g)}}function O(g,S){T(g);for(var w=!1,E=!1,y=g.FullPaths.length-1;y>=0;--y){var A=g.FileIndex[y];switch(A.type){case 0:E?w=!0:(g.FileIndex.pop(),g.FullPaths.pop());break;case 1:case 2:case 5:E=!0,isNaN(A.R*A.L*A.C)&&(w=!0),A.R>-1&&A.L>-1&&A.R==A.L&&(w=!0);break;default:w=!0;break}}if(!(!w&&!S)){var W=new Date(1987,1,19),j=0,U=Object.create?Object.create(null):{},H=[];for(y=0;y1?1:-1,Q.size=0,Q.type=5;else if(ce.slice(-1)=="/"){for(j=y+1;j=H.length?-1:j,j=y+1;j=H.length?-1:j,Q.type=1}else a(g.FullPaths[y+1]||"")==a(ce)&&(Q.R=y+1),Q.type=2}}}function X(g,S){var w=S||{};if(w.fileType=="mad")return Do(g,w);switch(O(g),w.fileType){case"zip":return Eo(g,w)}var E=function(xe){for(var te=0,ue=0,ke=0;ke0&&($e<4096?te+=$e+63>>6:ue+=$e+511>>9)}}for(var gr=xe.FullPaths.length+3>>2,Na=te+7>>3,Pa=te+127>>7,La=Na+ue+gr+Pa,Xt=La+127>>7,u0=Xt<=109?0:Math.ceil((Xt-109)/127);La+Xt+u0+127>>7>Xt;)u0=++Xt<=109?0:Math.ceil((Xt-109)/127);var _t=[1,u0,Xt,Pa,gr,ue,te,0];return xe.FileIndex[0].size=te<<6,_t[7]=(xe.FileIndex[0].start=_t[0]+_t[1]+_t[2]+_t[3]+_t[4]+_t[5])+(_t[6]+7>>3),_t}(g),y=z(E[7]<<9),A=0,W=0;{for(A=0;A<8;++A)y.write_shift(1,q[A]);for(A=0;A<8;++A)y.write_shift(2,0);for(y.write_shift(2,62),y.write_shift(2,3),y.write_shift(2,65534),y.write_shift(2,9),y.write_shift(2,6),A=0;A<3;++A)y.write_shift(2,0);for(y.write_shift(4,0),y.write_shift(4,E[2]),y.write_shift(4,E[0]+E[1]+E[2]+E[3]-1),y.write_shift(4,0),y.write_shift(4,4096),y.write_shift(4,E[3]?E[0]+E[1]+E[2]-1:J),y.write_shift(4,E[3]),y.write_shift(-4,E[1]?E[0]-1:J),y.write_shift(4,E[1]),A=0;A<109;++A)y.write_shift(-4,A>9)));for(j(E[6]+7>>3);y.l&511;)y.write_shift(-4,ie.ENDOFCHAIN);for(W=A=0,U=0;U=4096)&&(G.start=W,j(H+63>>6)));for(;y.l&511;)y.write_shift(-4,ie.ENDOFCHAIN);for(A=0;A=4096)if(y.l=G.start+1<<9,Fe&&Buffer.isBuffer(G.content))G.content.copy(y,y.l,0,G.size),y.l+=G.size+511&-512;else{for(U=0;U0&&G.size<4096)if(Fe&&Buffer.isBuffer(G.content))G.content.copy(y,y.l,0,G.size),y.l+=G.size+63&-64;else{for(U=0;U>16|S>>8|S)&255}for(var ee=typeof Uint8Array<"u",Z=ee?new Uint8Array(256):[],Se=0;Se<256;++Se)Z[Se]=ae(Se);function b(g,S){var w=Z[g&255];return S<=8?w>>>8-S:(w=w<<8|Z[g>>8&255],S<=16?w>>>16-S:(w=w<<8|Z[g>>16&255],w>>>24-S))}function We(g,S){var w=S&7,E=S>>>3;return(g[E]|(w<=6?0:g[E+1]<<8))>>>w&3}function Ie(g,S){var w=S&7,E=S>>>3;return(g[E]|(w<=5?0:g[E+1]<<8))>>>w&7}function Ue(g,S){var w=S&7,E=S>>>3;return(g[E]|(w<=4?0:g[E+1]<<8))>>>w&15}function De(g,S){var w=S&7,E=S>>>3;return(g[E]|(w<=3?0:g[E+1]<<8))>>>w&31}function oe(g,S){var w=S&7,E=S>>>3;return(g[E]|(w<=1?0:g[E+1]<<8))>>>w&127}function Qe(g,S,w){var E=S&7,y=S>>>3,A=(1<>>E;return w<8-E||(W|=g[y+1]<<8-E,w<16-E)||(W|=g[y+2]<<16-E,w<24-E)||(W|=g[y+3]<<24-E),W&A}function Gr(g,S,w){var E=S&7,y=S>>>3;return E<=5?g[y]|=(w&7)<>8-E),S+3}function ft(g,S,w){var E=S&7,y=S>>>3;return w=(w&1)<>>3;return w<<=E,g[y]|=w&255,w>>>=8,g[y+1]=w,S+8}function Oa(g,S,w){var E=S&7,y=S>>>3;return w<<=E,g[y]|=w&255,w>>>=8,g[y+1]=w&255,g[y+2]=w>>>8,S+16}function Ct(g,S){var w=g.length,E=2*w>S?2*w:S+5,y=0;if(w>=S)return g;if(Fe){var A=Gi(E);if(g.copy)g.copy(A);else for(;y>E-Q,W=(1<=0;--W)S[j|W<0;)U[U.l++]=j[H++]}return U.l}function W(j,U){for(var H=0,G=0,Q=ee?new Uint16Array(32768):[];G0;)U[U.l++]=j[G++];H=U.l*8;continue}H=Gr(U,H,+(G+ce==j.length)+2);for(var xe=0;ce-- >0;){var te=j[G];xe=(xe<<5^te)&32767;var ue=-1,ke=0;if((ue=Q[xe])&&(ue|=G&-32768,ue>G&&(ue-=32768),ue2){te=y[ke],te<=22?H=mt(U,H,Z[te+1]>>1)-1:(mt(U,H,3),H+=5,mt(U,H,Z[te-23]>>5),H+=3);var ze=te<8?0:te-4>>2;ze>0&&(Oa(U,H,ke-K[te]),H+=ze),te=S[G-ue],H=mt(U,H,Z[te]>>3),H-=3;var $e=te<4?0:te-2>>1;$e>0&&(Oa(U,H,G-ue-re[te]),H+=$e);for(var gr=0;gr>8-te;for(var ue=(1<<7-te)-1;ue>=0;--ue)fr[xe|ue<>>=3){case 16:for(A=3+We(g,S),S+=2,xe=ke[ke.length-1];A-- >0;)ke.push(xe);break;case 17:for(A=3+Ie(g,S),S+=3;A-- >0;)ke.push(0);break;case 18:for(A=11+oe(g,S),S+=7;A-- >0;)ke.push(0);break;default:ke.push(xe),U>>0,j=0,U=0;!(E&1);){if(E=Ie(g,w),w+=3,E>>>1)E>>1==1?(j=9,U=5):(w=wo(g,w),j=Gt,U=Oi);else{w&7&&(w+=8-(w&7));var H=g[w>>>3]|g[(w>>>3)+1]<<8;if(w+=32,H>0)for(!S&&W0;)y[A++]=g[w>>>3],w+=8;continue}for(;;){!S&&W>>1==1?bt[G]:er[G];if(w+=Q&15,Q>>>=4,!(Q>>>8&255))y[A++]=Q;else{if(Q==256)break;Q-=257;var ce=Q<8?0:Q-4>>2;ce>5&&(ce=0);var xe=A+K[Q];ce>0&&(xe+=Qe(g,w,ce),w+=ce),G=Qe(g,w,U),Q=E>>>1==1?Ra[G]:Xr[G],w+=Q&15,Q>>>=4;var te=Q<4?0:Q-2>>1,ue=re[Q];for(te>0&&(ue+=Qe(g,w,te),w+=te),!S&&W>>3]:[y.slice(0,A),w+7>>>3]}function Ri(g,S){var w=g.slice(g.l||0),E=ko(w,S);return g.l+=E[1],E[0]}function Ni(g,S){if(g)typeof console<"u"&&console.error(S);else throw new Error(S)}function Pi(g,S){var w=g;vr(w,0);var E=[],y=[],A={FileIndex:E,FullPaths:y};T(A,{root:S.root});for(var W=w.length-4;(w[W]!=80||w[W+1]!=75||w[W+2]!=5||w[W+3]!=6)&&W>=0;)--W;w.l=W+4,w.l+=4;var j=w.read_shift(2);w.l+=6;var U=w.read_shift(4);for(w.l=U,W=0;W0&&(w=w.slice(0,w.length-1),w=w.slice(0,w.lastIndexOf("/")+1),A.slice(0,w.length)!=w););var W=(E[1]||"").match(/boundary="(.*?)"/);if(!W)throw new Error("MAD cannot find boundary");var j="--"+(W[1]||""),U=[],H=[],G={FileIndex:U,FullPaths:H};T(G);var Q,ce=0;for(y=0;y=32&&xe<128&&++Q;var ue=Q>=ce*4/5;y.push(E),y.push("Content-Location: "+(w.root||"file:///C:/SheetJS/")+W),y.push("Content-Transfer-Encoding: "+(ue?"quoted-printable":"base64")),y.push("Content-Type: "+So(j,W)),y.push(""),y.push(ue?yo(G):Fo(G))}return y.push(E+`--\r +`),y.join(`\r +`)}function Io(g){var S={};return T(S,g),S}function l0(g,S,w,E){var y=E&&E.unsafe;y||T(g);var A=!y&&pe.find(g,S);if(!A){var W=g.FullPaths[0];S.slice(0,W.length)==W?W=S:(W.slice(-1)!="/"&&(W+="/"),W=(W+S).replace("//","/")),A={name:n(S),type:2},g.FileIndex.push(A),g.FullPaths.push(W),y||pe.utils.cfb_gc(g)}return A.content=w,A.size=w?w.length:0,E&&(E.CLSID&&(A.clsid=E.CLSID),E.mt&&(A.mt=E.mt),E.ct&&(A.ct=E.ct)),A}function Oo(g,S){T(g);var w=pe.find(g,S);if(w){for(var E=0;E3&&(a=!0),n[i].slice(n[i].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+n[i].slice(n[i].length-1));case"D":r*=24;case"H":r*=60;case"M":if(a)r*=60;else throw new Error("Unsupported ISO Duration Field: M")}t+=r*parseInt(n[i],10)}return t}var Qi=new Date("2017-02-19T19:06:09.000Z"),Ef=isNaN(Qi.getFullYear())?new Date("2/19/17"):Qi,tu=Ef.getFullYear()==2017;function Ge(e,t){var r=new Date(e);if(tu)return t>0?r.setTime(r.getTime()+r.getTimezoneOffset()*60*1e3):t<0&&r.setTime(r.getTime()-r.getTimezoneOffset()*60*1e3),r;if(e instanceof Date)return e;if(Ef.getFullYear()==1917&&!isNaN(r.getFullYear())){var a=r.getFullYear();return e.indexOf(""+a)>-1||r.setFullYear(r.getFullYear()+100),r}var n=e.match(/\d+/g)||["2017","2","19","0","0","0"],i=new Date(+n[0],+n[1]-1,+n[2],+n[3]||0,+n[4]||0,+n[5]||0);return e.indexOf("Z")>-1&&(i=new Date(i.getTime()-i.getTimezoneOffset()*60*1e3)),i}function ea(e,t){if(Fe&&Buffer.isBuffer(e)){if(t){if(e[0]==255&&e[1]==254)return ht(e.slice(2).toString("utf16le"));if(e[1]==254&&e[2]==255)return ht(of(e.slice(2).toString("binary")))}return e.toString("binary")}if(typeof TextDecoder<"u")try{if(t){if(e[0]==255&&e[1]==254)return ht(new TextDecoder("utf-16le").decode(e.slice(2)));if(e[0]==254&&e[1]==255)return ht(new TextDecoder("utf-16be").decode(e.slice(2)))}var r={"€":"€","‚":"‚",ƒ:"ƒ","„":"„","…":"…","†":"†","‡":"‡","ˆ":"ˆ","‰":"‰",Š:"Š","‹":"‹",Œ:"Œ",Ž:"Ž","‘":"‘","’":"’","“":"“","”":"”","•":"•","–":"–","—":"—","˜":"˜","™":"™",š:"š","›":"›",œ:"œ",ž:"ž",Ÿ:"Ÿ"};return Array.isArray(e)&&(e=new Uint8Array(e)),new TextDecoder("latin1").decode(e).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,function(i){return r[i]||i})}catch{}for(var a=[],n=0;n!=e.length;++n)a.push(String.fromCharCode(e[n]));return a.join("")}function Xe(e){if(typeof JSON<"u"&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if(typeof e!="object"||e==null)return e;if(e instanceof Date)return new Date(e.getTime());var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=Xe(e[r]));return t}function Je(e,t){for(var r="";r.length3&&au.indexOf(s)==-1)return r}else if(s.match(/[a-z]/))return r;return a<0||a>8099?r:(n>0||i>1)&&a!=101?t:e.match(/[^-0-9:,\/\\]/)?r:t}var nu=function(){var e="abacaba".split(/(:?b)/i).length==5;return function(r,a,n){if(e||typeof a=="string")return r.split(a);for(var i=r.split(a),s=[i[0]],f=1;f\r +`,su=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,rs=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/mg,fu=/<[^>]*>/g,Cr=ar.match(rs)?rs:fu,cu=/<\w*:/,ou=/<(\/?)\w+:/;function _e(e,t,r){for(var a={},n=0,i=0;n!==e.length&&!((i=e.charCodeAt(n))===32||i===10||i===13);++n);if(t||(a[0]=e.slice(0,n)),n===e.length)return a;var s=e.match(su),f=0,c="",o=0,l="",u="",h=1;if(s)for(o=0;o!=s.length;++o){for(u=s[o],i=0;i!=u.length&&u.charCodeAt(i)!==61;++i);for(l=u.slice(0,i).trim();u.charCodeAt(i+1)==32;)++i;for(h=(n=u.charCodeAt(i+1))==34||n==39?1:0,c=u.slice(i+1+h,u.length-h),f=0;f!=l.length&&l.charCodeAt(f)!==58;++f);if(f===l.length)l.indexOf("_")>0&&(l=l.slice(0,l.indexOf("_"))),a[l]=c,r||(a[l.toLowerCase()]=c);else{var x=(f===5&&l.slice(0,5)==="xmlns"?"xmlns":"")+l.slice(f+1);if(a[x]&&l.slice(f-3,f)=="ext")continue;a[x]=c,r||(a[x.toLowerCase()]=c)}}return a}function pt(e){return e.replace(ou,"<$1")}var Cf={""":'"',"'":"'",">":">","<":"<","&":"&"},Z0=a0(Cf),Oe=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/ig,t=/_x([\da-fA-F]{4})_/ig;return function r(a){var n=a+"",i=n.indexOf("-1?16:10))||f}).replace(t,function(f,c){return String.fromCharCode(parseInt(c,16))});var s=n.indexOf("]]>");return r(n.slice(0,i))+n.slice(i+9,s)+r(n.slice(s+3))}}(),Q0=/[&<>'"]/g,lu=/[\u0000-\u0008\u000b-\u001f]/g;function Be(e){var t=e+"";return t.replace(Q0,function(r){return Z0[r]}).replace(lu,function(r){return"_x"+("000"+r.charCodeAt(0).toString(16)).slice(-4)+"_"})}function ts(e){return Be(e).replace(/ /g,"_x0020_")}var bf=/[\u0000-\u001f]/g;function ei(e){var t=e+"";return t.replace(Q0,function(r){return Z0[r]}).replace(/\n/g,"
").replace(bf,function(r){return"&#x"+("000"+r.charCodeAt(0).toString(16)).slice(-4)+";"})}function uu(e){var t=e+"";return t.replace(Q0,function(r){return Z0[r]}).replace(bf,function(r){return"&#x"+r.charCodeAt(0).toString(16).toUpperCase()+";"})}var as=function(){var e=/&#(\d+);/g;function t(r,a){return String.fromCharCode(parseInt(a,10))}return function(a){return a.replace(e,t)}}();function hu(e){return e.replace(/(\r\n|[\r\n])/g," ")}function He(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}function x0(e){for(var t="",r=0,a=0,n=0,i=0,s=0,f=0;r191&&a<224){s=(a&31)<<6,s|=n&63,t+=String.fromCharCode(s);continue}if(i=e.charCodeAt(r++),a<240){t+=String.fromCharCode((a&15)<<12|(n&63)<<6|i&63);continue}s=e.charCodeAt(r++),f=((a&7)<<18|(n&63)<<12|(i&63)<<6|s&63)-65536,t+=String.fromCharCode(55296+(f>>>10&1023)),t+=String.fromCharCode(56320+(f&1023))}return t}function ns(e){var t=Lt(2*e.length),r,a,n=1,i=0,s=0,f;for(a=0;a>>10&1023),r=56320+(r&1023)),s!==0&&(t[i++]=s&255,t[i++]=s>>>8,s=0),t[i++]=r%256,t[i++]=r>>>8;return t.slice(0,i).toString("ucs2")}function is(e){return Ft(e,"binary").toString("utf8")}var Fn="foo bar baz☃🍣",Me=Fe&&(is(Fn)==x0(Fn)&&is||ns(Fn)==x0(Fn)&&ns)||x0,ht=Fe?function(e){return Ft(e,"utf8").toString("binary")}:function(e){for(var t=[],r=0,a=0,n=0;r>6))),t.push(String.fromCharCode(128+(a&63)));break;case(a>=55296&&a<57344):a-=55296,n=e.charCodeAt(r++)-56320+(a<<10),t.push(String.fromCharCode(240+(n>>18&7))),t.push(String.fromCharCode(144+(n>>12&63))),t.push(String.fromCharCode(128+(n>>6&63))),t.push(String.fromCharCode(128+(n&63)));break;default:t.push(String.fromCharCode(224+(a>>12))),t.push(String.fromCharCode(128+(a>>6&63))),t.push(String.fromCharCode(128+(a&63)))}return t.join("")},rn=function(){var e={};return function(r,a){var n=r+"|"+(a||"");return e[n]?e[n]:e[n]=new RegExp("<(?:\\w+:)?"+r+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)",a||"")}}(),Df=function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(t){return[new RegExp("&"+t[0]+";","ig"),t[1]]});return function(r){for(var a=r.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+/g,` +`).replace(/<[^>]*>/g,""),n=0;n([\\s\\S]*?)","g")}}(),du=/<\/?(?:vt:)?variant>/g,pu=/<(?:vt:)([^>]*)>([\s\S]*)"+t+""}function tn(e){return Ze(e).map(function(t){return" "+t+'="'+e[t]+'"'}).join("")}function se(e,t,r){return"<"+e+(r!=null?tn(r):"")+(t!=null?(t.match(If)?' xml:space="preserve"':"")+">"+t+""}function D0(e,t){try{return e.toISOString().replace(/\.\d*/,"")}catch(r){if(t)throw r}return""}function vu(e,t){switch(typeof e){case"string":var r=se("vt:lpwstr",Be(e));return t&&(r=r.replace(/"/g,"_x0022_")),r;case"number":return se((e|0)==e?"vt:i4":"vt:r8",Be(String(e)));case"boolean":return se("vt:bool",e?"true":"false")}if(e instanceof Date)return se("vt:filetime",D0(e));throw new Error("Unable to serialize "+e)}function ri(e){if(Fe&&Buffer.isBuffer(e))return e.toString("utf8");if(typeof e=="string")return e;if(typeof Uint8Array<"u"&&e instanceof Uint8Array)return Me(Wt(K0(e)));throw new Error("Bad input format: expected Buffer or string")}var an=/<(\/?)([^\s?>:\/]+)(?:[\s?:\/][^>]*)?>/mg,or={CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",CT:"http://schemas.openxmlformats.org/package/2006/content-types",RELS:"http://schemas.openxmlformats.org/package/2006/relationships",TCMNT:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"},sa=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"],Br={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"};function mu(e,t){for(var r=1-2*(e[t+7]>>>7),a=((e[t+7]&127)<<4)+(e[t+6]>>>4&15),n=e[t+6]&15,i=5;i>=0;--i)n=n*256+e[t+i];return a==2047?n==0?r*(1/0):NaN:(a==0?a=-1022:(a-=1023,n+=Math.pow(2,52)),r*Math.pow(2,a-52)*n)}function gu(e,t,r){var a=(t<0||1/t==-1/0?1:0)<<7,n=0,i=0,s=a?-t:t;isFinite(s)?s==0?n=i=0:(n=Math.floor(Math.log(s)/Math.LN2),i=s*Math.pow(2,52-n),n<=-1023&&(!isFinite(i)||i>4|a}var fs=function(e){for(var t=[],r=10240,a=0;a0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map(function(t){return Buffer.isBuffer(t)?t:Ft(t)})):fs(e)}:fs,os=function(e,t,r){for(var a=[],n=t;n0?pn(e,t+4,t+4+r-1):""},Nf=Rf,Pf=function(e,t){var r=Mr(e,t);return r>0?pn(e,t+4,t+4+r-1):""},Lf=Pf,Bf=function(e,t){var r=2*Mr(e,t);return r>0?pn(e,t+4,t+4+r-1):""},Mf=Bf,Uf=function(t,r){var a=Mr(t,r);return a>0?ti(t,r+4,r+4+a):""},Wf=Uf,Hf=function(e,t){var r=Mr(e,t);return r>0?pn(e,t+4,t+4+r):""},Vf=Hf,Gf=function(e,t){return mu(e,t)},zn=Gf,ai=function(t){return Array.isArray(t)||typeof Uint8Array<"u"&&t instanceof Uint8Array};Fe&&(Nf=function(t,r){if(!Buffer.isBuffer(t))return Rf(t,r);var a=t.readUInt32LE(r);return a>0?t.toString("utf8",r+4,r+4+a-1):""},Lf=function(t,r){if(!Buffer.isBuffer(t))return Pf(t,r);var a=t.readUInt32LE(r);return a>0?t.toString("utf8",r+4,r+4+a-1):""},Mf=function(t,r){if(!Buffer.isBuffer(t))return Bf(t,r);var a=2*t.readUInt32LE(r);return t.toString("utf16le",r+4,r+4+a-1)},Wf=function(t,r){if(!Buffer.isBuffer(t))return Uf(t,r);var a=t.readUInt32LE(r);return t.toString("utf16le",r+4,r+4+a)},Vf=function(t,r){if(!Buffer.isBuffer(t))return Hf(t,r);var a=t.readUInt32LE(r);return t.toString("utf8",r+4,r+4+a)},zn=function(t,r){return Buffer.isBuffer(t)?t.readDoubleLE(r):Gf(t,r)},ai=function(t){return Buffer.isBuffer(t)||Array.isArray(t)||typeof Uint8Array<"u"&&t instanceof Uint8Array});var pa=function(e,t){return e[t]},wt=function(e,t){return e[t+1]*256+e[t]},_u=function(e,t){var r=e[t+1]*256+e[t];return r<32768?r:(65535-r+1)*-1},Mr=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},zt=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},wu=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};function Va(e,t){var r="",a,n,i=[],s,f,c,o;switch(t){case"dbcs":if(o=this.l,Fe&&Buffer.isBuffer(this))r=this.slice(this.l,this.l+2*e).toString("utf16le");else for(c=0;c0?zt:wu)(this,this.l),this.l+=4,a):(n=Mr(this,this.l),this.l+=4,n);case 8:case-8:if(t==="f")return e==8?n=zn(this,this.l):n=zn([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,n;e=8;case 16:r=Of(this,this.l,e);break}}return this.l+=e,r}var ku=function(e,t,r){e[r]=t&255,e[r+1]=t>>>8&255,e[r+2]=t>>>16&255,e[r+3]=t>>>24&255},Tu=function(e,t,r){e[r]=t&255,e[r+1]=t>>8&255,e[r+2]=t>>16&255,e[r+3]=t>>24&255},Eu=function(e,t,r){e[r]=t&255,e[r+1]=t>>>8&255};function Su(e,t,r){var a=0,n=0;if(r==="dbcs"){for(n=0;n!=t.length;++n)Eu(this,t.charCodeAt(n),this.l+2*n);a=2*t.length}else if(r==="sbcs"){for(t=t.replace(/[^\x00-\x7F]/g,"_"),n=0;n!=t.length;++n)this[this.l+n]=t.charCodeAt(n)&255;a=t.length}else if(r==="hex"){for(;n>8}for(;this.l>>=8,this[this.l+1]=t&255;break;case 3:a=3,this[this.l]=t&255,t>>>=8,this[this.l+1]=t&255,t>>>=8,this[this.l+2]=t&255;break;case 4:a=4,ku(this,t,this.l);break;case 8:if(a=8,r==="f"){gu(this,t,this.l);break}case 16:break;case-4:a=4,Tu(this,t,this.l);break}return this.l+=a,this}function Xf(e,t){var r=Of(this,this.l,e.length>>1);if(r!==e)throw new Error(t+"Expected "+e+" saw "+r);this.l+=e.length>>1}function vr(e,t){e.l=t,e.read_shift=Va,e.chk=Xf,e.write_shift=Su}function Ar(e,t){e.l+=t}function z(e){var t=Lt(e);return vr(t,0),t}function yt(e,t,r){if(e){var a,n,i;vr(e,e.l||0);for(var s=e.length,f=0,c=0;e.la.l&&(a=a.slice(0,a.l),a.l=a.length),a.length>0&&e.push(a),a=null)},i=function(o){return a&&o=128?1:0)+1,a>=128&&++i,a>=16384&&++i,a>=2097152&&++i;var s=e.next(i);n<=127?s.write_shift(1,n):(s.write_shift(1,(n&127)+128),s.write_shift(1,n>>7));for(var f=0;f!=4;++f)if(a>=128)s.write_shift(1,(a&127)+128),a>>=7;else{s.write_shift(1,a);break}a>0&&ai(r)&&e.push(r)}}function Ga(e,t,r){var a=Xe(e);if(t.s?(a.cRel&&(a.c+=t.s.c),a.rRel&&(a.r+=t.s.r)):(a.cRel&&(a.c+=t.c),a.rRel&&(a.r+=t.r)),!r||r.biff<12){for(;a.c>=256;)a.c-=256;for(;a.r>=65536;)a.r-=65536}return a}function hs(e,t,r){var a=Xe(e);return a.s=Ga(a.s,t.s,r),a.e=Ga(a.e,t.s,r),a}function Xa(e,t){if(e.cRel&&e.c<0)for(e=Xe(e);e.c<0;)e.c+=t>8?16384:256;if(e.rRel&&e.r<0)for(e=Xe(e);e.r<0;)e.r+=t>8?1048576:t>5?65536:16384;var r=ge(e);return!e.cRel&&e.cRel!=null&&(r=Au(r)),!e.rRel&&e.rRel!=null&&(r=Fu(r)),r}function d0(e,t){return e.s.r==0&&!e.s.rRel&&e.e.r==(t.biff>=12?1048575:t.biff>=8?65536:16384)&&!e.e.rRel?(e.s.cRel?"":"$")+je(e.s.c)+":"+(e.e.cRel?"":"$")+je(e.e.c):e.s.c==0&&!e.s.cRel&&e.e.c==(t.biff>=12?16383:255)&&!e.e.cRel?(e.s.rRel?"":"$")+tr(e.s.r)+":"+(e.e.rRel?"":"$")+tr(e.e.r):Xa(e.s,t.biff)+":"+Xa(e.e,t.biff)}function ni(e){return parseInt(yu(e),10)-1}function tr(e){return""+(e+1)}function Fu(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function yu(e){return e.replace(/\$(\d+)$/,"$1")}function ii(e){for(var t=Cu(e),r=0,a=0;a!==t.length;++a)r=26*r+t.charCodeAt(a)-64;return r-1}function je(e){if(e<0)throw new Error("invalid column "+e);var t="";for(++e;e;e=Math.floor((e-1)/26))t=String.fromCharCode((e-1)%26+65)+t;return t}function Au(e){return e.replace(/^([A-Z])/,"$$$1")}function Cu(e){return e.replace(/^\$([A-Z])/,"$1")}function bu(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function Ye(e){for(var t=0,r=0,a=0;a=48&&n<=57?t=10*t+(n-48):n>=65&&n<=90&&(r=26*r+(n-64))}return{c:r-1,r:t-1}}function ge(e){for(var t=e.c+1,r="";t;t=(t-1)/26|0)r=String.fromCharCode((t-1)%26+65)+r;return r+(e.r+1)}function Pr(e){var t=e.indexOf(":");return t==-1?{s:Ye(e),e:Ye(e)}:{s:Ye(e.slice(0,t)),e:Ye(e.slice(t+1))}}function Te(e,t){return typeof t>"u"||typeof t=="number"?Te(e.s,e.e):(typeof e!="string"&&(e=ge(e)),typeof t!="string"&&(t=ge(t)),e==t?e:e+":"+t)}function Re(e){var t={s:{c:0,r:0},e:{c:0,r:0}},r=0,a=0,n=0,i=e.length;for(r=0;a26);++a)r=26*r+n;for(t.s.c=--r,r=0;a9);++a)r=10*r+n;if(t.s.r=--r,a===i||n!=10)return t.e.c=t.s.c,t.e.r=t.s.r,t;for(++a,r=0;a!=i&&!((n=e.charCodeAt(a)-64)<1||n>26);++a)r=26*r+n;for(t.e.c=--r,r=0;a!=i&&!((n=e.charCodeAt(a)-48)<0||n>9);++a)r=10*r+n;return t.e.r=--r,t}function xs(e,t){var r=e.t=="d"&&t instanceof Date;if(e.z!=null)try{return e.w=Vr(e.z,r?lr(t):t)}catch{}try{return e.w=Vr((e.XF||{}).numFmtId||(r?14:0),r?lr(t):t)}catch{return""+t}}function St(e,t,r){return e==null||e.t==null||e.t=="z"?"":e.w!==void 0?e.w:(e.t=="d"&&!e.z&&r&&r.dateNF&&(e.z=r.dateNF),e.t=="e"?At[e.v]||e.v:t==null?xs(e,e.v):xs(e,t))}function Ht(e,t){var r=t&&t.sheet?t.sheet:"Sheet1",a={};return a[r]=e,{SheetNames:[r],Sheets:a}}function zf(e,t,r){var a=r||{},n=e?Array.isArray(e):a.dense,i=e||(n?[]:{}),s=0,f=0;if(i&&a.origin!=null){if(typeof a.origin=="number")s=a.origin;else{var c=typeof a.origin=="string"?Ye(a.origin):a.origin;s=c.r,f=c.c}i["!ref"]||(i["!ref"]="A1:A1")}var o={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(i["!ref"]){var l=Re(i["!ref"]);o.s.c=l.s.c,o.s.r=l.s.r,o.e.c=Math.max(o.e.c,l.e.c),o.e.r=Math.max(o.e.r,l.e.r),s==-1&&(o.e.r=s=l.e.r+1)}for(var u=0;u!=t.length;++u)if(t[u]){if(!Array.isArray(t[u]))throw new Error("aoa_to_sheet expects an array of arrays");for(var h=0;h!=t[u].length;++h)if(!(typeof t[u][h]>"u")){var x={v:t[u][h]},p=s+u,d=f+h;if(o.s.r>p&&(o.s.r=p),o.s.c>d&&(o.s.c=d),o.e.r0&&t.write_shift(0,e,"dbcs"),r?t.slice(0,t.l):t}function Iu(e){return{ich:e.read_shift(2),ifnt:e.read_shift(2)}}function Ou(e,t){return t||(t=z(4)),t.write_shift(2,e.ich||0),t.write_shift(2,e.ifnt||0),t}function si(e,t){var r=e.l,a=e.read_shift(1),n=yr(e),i=[],s={t:n,h:n};if(a&1){for(var f=e.read_shift(4),c=0;c!=f;++c)i.push(Iu(e));s.r=i}else s.r=[{ich:0,ifnt:0}];return e.l=r+t,s}function Ru(e,t){var r=!1;return t==null&&(r=!0,t=z(15+4*e.t.length)),t.write_shift(1,0),xr(e.t,t),r?t.slice(0,t.l):t}var Nu=si;function Pu(e,t){var r=!1;return t==null&&(r=!0,t=z(23+4*e.t.length)),t.write_shift(1,1),xr(e.t,t),t.write_shift(4,1),Ou({ich:0,ifnt:0},t),r?t.slice(0,t.l):t}function Zr(e){var t=e.read_shift(4),r=e.read_shift(2);return r+=e.read_shift(1)<<16,e.l++,{c:t,iStyleRef:r}}function fa(e,t){return t==null&&(t=z(8)),t.write_shift(-4,e.c),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}function ca(e){var t=e.read_shift(2);return t+=e.read_shift(1)<<16,e.l++,{c:-1,iStyleRef:t}}function oa(e,t){return t==null&&(t=z(4)),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}var Lu=yr,$f=xr;function fi(e){var t=e.read_shift(4);return t===0||t===4294967295?"":e.read_shift(t,"dbcs")}function $n(e,t){var r=!1;return t==null&&(r=!0,t=z(127)),t.write_shift(4,e.length>0?e.length:4294967295),e.length>0&&t.write_shift(0,e,"dbcs"),r?t.slice(0,t.l):t}var Bu=yr,I0=fi,ci=$n;function oi(e){var t=e.slice(e.l,e.l+4),r=t[0]&1,a=t[0]&2;e.l+=4;var n=a===0?zn([0,0,0,0,t[0]&252,t[1],t[2],t[3]],0):zt(t,0)>>2;return r?n/100:n}function Kf(e,t){t==null&&(t=z(4));var r=0,a=0,n=e*100;if(e==(e|0)&&e>=-(1<<29)&&e<1<<29?a=1:n==(n|0)&&n>=-(1<<29)&&n<1<<29&&(a=1,r=1),a)t.write_shift(-4,((r?n:e)<<2)+(r+2));else throw new Error("unsupported RkNumber "+e)}function jf(e){var t={s:{},e:{}};return t.s.r=e.read_shift(4),t.e.r=e.read_shift(4),t.s.c=e.read_shift(4),t.e.c=e.read_shift(4),t}function Mu(e,t){return t||(t=z(16)),t.write_shift(4,e.s.r),t.write_shift(4,e.e.r),t.write_shift(4,e.s.c),t.write_shift(4,e.e.c),t}var la=jf,Ia=Mu;function Sr(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function ra(e,t){return(t||z(8)).write_shift(8,e,"f")}function Uu(e){var t={},r=e.read_shift(1),a=r>>>1,n=e.read_shift(1),i=e.read_shift(2,"i"),s=e.read_shift(1),f=e.read_shift(1),c=e.read_shift(1);switch(e.l++,a){case 0:t.auto=1;break;case 1:t.index=n;var o=jt[n];o&&(t.rgb=sn(o));break;case 2:t.rgb=sn([s,f,c]);break;case 3:t.theme=n;break}return i!=0&&(t.tint=i>0?i/32767:i/32768),t}function Kn(e,t){if(t||(t=z(8)),!e||e.auto)return t.write_shift(4,0),t.write_shift(4,0),t;e.index!=null?(t.write_shift(1,2),t.write_shift(1,e.index)):e.theme!=null?(t.write_shift(1,6),t.write_shift(1,e.theme)):(t.write_shift(1,5),t.write_shift(1,0));var r=e.tint||0;if(r>0?r*=32767:r<0&&(r*=32768),t.write_shift(2,r),!e.rgb||e.theme!=null)t.write_shift(2,0),t.write_shift(1,0),t.write_shift(1,0);else{var a=e.rgb||"FFFFFF";typeof a=="number"&&(a=("000000"+a.toString(16)).slice(-6)),t.write_shift(1,parseInt(a.slice(0,2),16)),t.write_shift(1,parseInt(a.slice(2,4),16)),t.write_shift(1,parseInt(a.slice(4,6),16)),t.write_shift(1,255)}return t}function Wu(e){var t=e.read_shift(1);e.l++;var r={fBold:t&1,fItalic:t&2,fUnderline:t&4,fStrikeout:t&8,fOutline:t&16,fShadow:t&32,fCondense:t&64,fExtend:t&128};return r}function Hu(e,t){t||(t=z(2));var r=(e.italic?2:0)|(e.strike?8:0)|(e.outline?16:0)|(e.shadow?32:0)|(e.condense?64:0)|(e.extend?128:0);return t.write_shift(1,r),t.write_shift(1,0),t}function Yf(e,t){var r={2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"},a=e.read_shift(4);switch(a){case 0:return"";case 4294967295:case 4294967294:return r[e.read_shift(4)]||""}if(a>400)throw new Error("Unsupported Clipboard: "+a.toString(16));return e.l-=4,e.read_shift(0,t==1?"lpstr":"lpwstr")}function Vu(e){return Yf(e,1)}function Gu(e){return Yf(e,2)}var li=2,Rr=3,yn=11,ds=12,jn=19,An=64,Xu=65,zu=71,$u=4108,Ku=4126,ur=80,Jf=81,ju=[ur,Jf],O0={1:{n:"CodePage",t:li},2:{n:"Category",t:ur},3:{n:"PresentationFormat",t:ur},4:{n:"ByteCount",t:Rr},5:{n:"LineCount",t:Rr},6:{n:"ParagraphCount",t:Rr},7:{n:"SlideCount",t:Rr},8:{n:"NoteCount",t:Rr},9:{n:"HiddenCount",t:Rr},10:{n:"MultimediaClipCount",t:Rr},11:{n:"ScaleCrop",t:yn},12:{n:"HeadingPairs",t:$u},13:{n:"TitlesOfParts",t:Ku},14:{n:"Manager",t:ur},15:{n:"Company",t:ur},16:{n:"LinksUpToDate",t:yn},17:{n:"CharacterCount",t:Rr},19:{n:"SharedDoc",t:yn},22:{n:"HyperlinksChanged",t:yn},23:{n:"AppVersion",t:Rr,p:"version"},24:{n:"DigSig",t:Xu},26:{n:"ContentType",t:ur},27:{n:"ContentStatus",t:ur},28:{n:"Language",t:ur},29:{n:"Version",t:ur},255:{},2147483648:{n:"Locale",t:jn},2147483651:{n:"Behavior",t:jn},1919054434:{}},R0={1:{n:"CodePage",t:li},2:{n:"Title",t:ur},3:{n:"Subject",t:ur},4:{n:"Author",t:ur},5:{n:"Keywords",t:ur},6:{n:"Comments",t:ur},7:{n:"Template",t:ur},8:{n:"LastAuthor",t:ur},9:{n:"RevNumber",t:ur},10:{n:"EditTime",t:An},11:{n:"LastPrinted",t:An},12:{n:"CreatedDate",t:An},13:{n:"ModifiedDate",t:An},14:{n:"PageCount",t:Rr},15:{n:"WordCount",t:Rr},16:{n:"CharCount",t:Rr},17:{n:"Thumbnail",t:zu},18:{n:"Application",t:ur},19:{n:"DocSecurity",t:Rr},255:{},2147483648:{n:"Locale",t:jn},2147483651:{n:"Behavior",t:jn},1919054434:{}},ps={1:"US",2:"CA",3:"",7:"RU",20:"EG",30:"GR",31:"NL",32:"BE",33:"FR",34:"ES",36:"HU",39:"IT",41:"CH",43:"AT",44:"GB",45:"DK",46:"SE",47:"NO",48:"PL",49:"DE",52:"MX",55:"BR",61:"AU",64:"NZ",66:"TH",81:"JP",82:"KR",84:"VN",86:"CN",90:"TR",105:"JS",213:"DZ",216:"MA",218:"LY",351:"PT",354:"IS",358:"FI",420:"CZ",886:"TW",961:"LB",962:"JO",963:"SY",964:"IQ",965:"KW",966:"SA",971:"AE",972:"IL",974:"QA",981:"IR",65535:"US"},Yu=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];function Ju(e){return e.map(function(t){return[t>>16&255,t>>8&255,t&255]})}var qu=Ju([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),jt=Xe(qu),At={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},qf={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255},N0={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"TODO","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"},Cn={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},metadata:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",xlsb:"application/vnd.ms-excel.sheetMetadata"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};function ui(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""}}function Zu(e){var t=ui();if(!e||!e.match)return t;var r={};if((e.match(Cr)||[]).forEach(function(a){var n=_e(a);switch(n[0].replace(cu,"<")){case"0?t.calcchains[0]:"",t.sst=t.strs.length>0?t.strs[0]:"",t.style=t.styles.length>0?t.styles[0]:"",t.defaults=r,delete t.calcchains,t}function Zf(e,t){var r=Ql(N0),a=[],n;a[a.length]=ar,a[a.length]=se("Types",null,{xmlns:or.CT,"xmlns:xsd":or.xsd,"xmlns:xsi":or.xsi}),a=a.concat([["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels","application/vnd.openxmlformats-package.relationships+xml"]].map(function(c){return se("Default",null,{Extension:c[0],ContentType:c[1]})}));var i=function(c){e[c]&&e[c].length>0&&(n=e[c][0],a[a.length]=se("Override",null,{PartName:(n[0]=="/"?"":"/")+n,ContentType:Cn[c][t.bookType]||Cn[c].xlsx}))},s=function(c){(e[c]||[]).forEach(function(o){a[a.length]=se("Override",null,{PartName:(o[0]=="/"?"":"/")+o,ContentType:Cn[c][t.bookType]||Cn[c].xlsx})})},f=function(c){(e[c]||[]).forEach(function(o){a[a.length]=se("Override",null,{PartName:(o[0]=="/"?"":"/")+o,ContentType:r[c][0]})})};return i("workbooks"),s("sheets"),s("charts"),f("themes"),["strs","styles"].forEach(i),["coreprops","extprops","custprops"].forEach(f),f("vba"),f("comments"),f("threadedcomments"),f("drawings"),s("metadata"),f("people"),a.length>2&&(a[a.length]="",a[1]=a[1].replace("/>",">")),a.join("")}var Ce={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function nn(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function za(e,t){var r={"!id":{}};if(!e)return r;t.charAt(0)!=="/"&&(t="/"+t);var a={};return(e.match(Cr)||[]).forEach(function(n){var i=_e(n);if(i[0]==="2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}function Le(e,t,r,a,n,i){if(n||(n={}),e["!id"]||(e["!id"]={}),e["!idx"]||(e["!idx"]=1),t<0)for(t=e["!idx"];e["!id"]["rId"+t];++t);if(e["!idx"]=t+1,n.Id="rId"+t,n.Type=a,n.Target=r,i?n.TargetMode=i:[Ce.HLINK,Ce.XPATH,Ce.XMISS].indexOf(n.Type)>-1&&(n.TargetMode="External"),e["!id"][n.Id])throw new Error("Cannot rewrite rId "+t);return e["!id"][n.Id]=n,e[("/"+n.Target).replace("//","/")]=n,t}var Qu="application/vnd.oasis.opendocument.spreadsheet";function eh(e,t){for(var r=ri(e),a,n;a=an.exec(r);)switch(a[3]){case"manifest":break;case"file-entry":if(n=_e(a[0],!1),n.path=="/"&&n.type!==Qu)throw new Error("This OpenDocument is not a spreadsheet");break;case"encryption-data":case"algorithm":case"start-key-generation":case"key-derivation":throw new Error("Unsupported ODS Encryption");default:if(t&&t.WTF)throw a}}function rh(e){var t=[ar];t.push(` +`),t.push(` +`);for(var r=0;r +`);return t.push(""),t.join("")}function vs(e,t,r){return[' +`,' +`,` +`].join("")}function th(e,t){return[' +`,' +`,` +`].join("")}function ah(e){var t=[ar];t.push(` +`);for(var r=0;r!=e.length;++r)t.push(vs(e[r][0],e[r][1])),t.push(th("",e[r][0]));return t.push(vs("","Document","pkg")),t.push(""),t.join("")}function Qf(){return'SheetJS '+Wn.version+""}var qr=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]],nh=function(){for(var e=new Array(qr.length),t=0;t]*>([\\s\\S]*?)")}return e}();function ec(e){var t={};e=Me(e);for(var r=0;r0&&(t[a[1]]=Oe(n[1])),a[2]==="date"&&t[a[1]]&&(t[a[1]]=Ge(t[a[1]]))}return t}function p0(e,t,r,a,n){n[e]!=null||t==null||t===""||(n[e]=t,t=Be(t),a[a.length]=r?se(e,t,r):mr(e,t))}function rc(e,t){var r=t||{},a=[ar,se("cp:coreProperties",null,{"xmlns:cp":or.CORE_PROPS,"xmlns:dc":or.dc,"xmlns:dcterms":or.dcterms,"xmlns:dcmitype":or.dcmitype,"xmlns:xsi":or.xsi})],n={};if(!e&&!r.Props)return a.join("");e&&(e.CreatedDate!=null&&p0("dcterms:created",typeof e.CreatedDate=="string"?e.CreatedDate:D0(e.CreatedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n),e.ModifiedDate!=null&&p0("dcterms:modified",typeof e.ModifiedDate=="string"?e.ModifiedDate:D0(e.ModifiedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n));for(var i=0;i!=qr.length;++i){var s=qr[i],f=r.Props&&r.Props[s[1]]!=null?r.Props[s[1]]:e?e[s[1]]:null;f===!0?f="1":f===!1?f="0":typeof f=="number"&&(f=String(f)),f!=null&&p0(s[0],f,null,a,n)}return a.length>2&&(a[a.length]="",a[1]=a[1].replace("/>",">")),a.join("")}var Yt=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]],tc=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function ac(e,t,r,a){var n=[];if(typeof e=="string")n=ss(e,a);else for(var i=0;i0)for(var o=0;o!==n.length;o+=2){switch(c=+n[o+1].v,n[o].v){case"Worksheets":case"工作表":case"Листы":case"أوراق العمل":case"ワークシート":case"גליונות עבודה":case"Arbeitsblätter":case"Çalışma Sayfaları":case"Feuilles de calcul":case"Fogli di lavoro":case"Folhas de cálculo":case"Planilhas":case"Regneark":case"Hojas de cálculo":case"Werkbladen":r.Worksheets=c,r.SheetNames=s.slice(f,f+c);break;case"Named Ranges":case"Rangos con nombre":case"名前付き一覧":case"Benannte Bereiche":case"Navngivne områder":r.NamedRanges=c,r.DefinedNames=s.slice(f,f+c);break;case"Charts":case"Diagramme":r.Chartsheets=c,r.ChartNames=s.slice(f,f+c);break}f+=c}}function ih(e,t,r){var a={};return t||(t={}),e=Me(e),Yt.forEach(function(n){var i=(e.match(rn(n[0]))||[])[1];switch(n[2]){case"string":i&&(t[n[1]]=Oe(i));break;case"bool":t[n[1]]=i==="true";break;case"raw":var s=e.match(new RegExp("<"+n[0]+"[^>]*>([\\s\\S]*?)"));s&&s.length>0&&(a[n[1]]=s[1]);break}}),a.HeadingPairs&&a.TitlesOfParts&&ac(a.HeadingPairs,a.TitlesOfParts,t,r),t}function nc(e){var t=[],r=se;return e||(e={}),e.Application="SheetJS",t[t.length]=ar,t[t.length]=se("Properties",null,{xmlns:or.EXT_PROPS,"xmlns:vt":or.vt}),Yt.forEach(function(a){if(e[a[1]]!==void 0){var n;switch(a[2]){case"string":n=Be(String(e[a[1]]));break;case"bool":n=e[a[1]]?"true":"false";break}n!==void 0&&(t[t.length]=r(a[0],n))}}),t[t.length]=r("HeadingPairs",r("vt:vector",r("vt:variant","Worksheets")+r("vt:variant",r("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"})),t[t.length]=r("TitlesOfParts",r("vt:vector",e.SheetNames.map(function(a){return""+Be(a)+""}).join(""),{size:e.Worksheets,baseType:"lpstr"})),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}var sh=/<[^>]+>[^<]*/g;function fh(e,t){var r={},a="",n=e.match(sh);if(n)for(var i=0;i!=n.length;++i){var s=n[i],f=_e(s);switch(f[0]){case"":a=null;break;default:if(s.indexOf(""),o=c[0].slice(4),l=c[1];switch(o){case"lpstr":case"bstr":case"lpwstr":r[a]=Oe(l);break;case"bool":r[a]=He(l);break;case"i1":case"i2":case"i4":case"i8":case"int":case"uint":r[a]=parseInt(l,10);break;case"r4":case"r8":case"decimal":r[a]=parseFloat(l);break;case"filetime":case"date":r[a]=Ge(l);break;case"cy":case"error":r[a]=Oe(l);break;default:if(o.slice(-1)=="/")break;t.WTF&&typeof console<"u"&&console.warn("Unexpected",s,o,c)}}else if(s.slice(0,2)!=="2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}var P0={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"},v0;function ch(e,t,r){v0||(v0=a0(P0)),t=v0[t]||t,e[t]=r}function oh(e,t){var r=[];return Ze(P0).map(function(a){for(var n=0;n'+n.join("")+""}function hi(e){var t=e.read_shift(4),r=e.read_shift(4);return new Date((r/1e7*Math.pow(2,32)+t/1e7-11644473600)*1e3).toISOString().replace(/\.000/,"")}function uh(e){var t=typeof e=="string"?new Date(Date.parse(e)):e,r=t.getTime()/1e3+11644473600,a=r%Math.pow(2,32),n=(r-a)/Math.pow(2,32);a*=1e7,n*=1e7;var i=a/Math.pow(2,32)|0;i>0&&(a=a%Math.pow(2,32),n+=i);var s=z(8);return s.write_shift(4,a),s.write_shift(4,n),s}function sc(e,t,r){var a=e.l,n=e.read_shift(0,"lpstr-cp");if(r)for(;e.l-a&3;)++e.l;return n}function fc(e,t,r){var a=e.read_shift(0,"lpwstr");return r&&(e.l+=4-(a.length+1&3)&3),a}function cc(e,t,r){return t===31?fc(e):sc(e,t,r)}function L0(e,t,r){return cc(e,t,r===!1?0:4)}function hh(e,t){if(!t)throw new Error("VtUnalignedString must have positive length");return cc(e,t,0)}function xh(e){for(var t=e.read_shift(4),r=[],a=0;a!=t;++a){var n=e.l;r[a]=e.read_shift(0,"lpwstr").replace(Or,""),e.l-n&2&&(e.l+=2)}return r}function dh(e){for(var t=e.read_shift(4),r=[],a=0;a!=t;++a)r[a]=e.read_shift(0,"lpstr-cp").replace(Or,"");return r}function ph(e){var t=e.l,r=Yn(e,Jf);e[e.l]==0&&e[e.l+1]==0&&e.l-t&2&&(e.l+=2);var a=Yn(e,Rr);return[r,a]}function vh(e){for(var t=e.read_shift(4),r=[],a=0;a>3<<2),a}function oc(e){var t=e.read_shift(4),r=e.slice(e.l,e.l+t);return e.l+=t,(t&3)>0&&(e.l+=4-(t&3)&3),r}function mh(e){var t={};return t.Size=e.read_shift(4),e.l+=t.Size+3-(t.Size-1)%4,t}function Yn(e,t,r){var a=e.read_shift(2),n,i=r||{};if(e.l+=2,t!==ds&&a!==t&&ju.indexOf(t)===-1&&!((t&65534)==4126&&(a&65534)==4126))throw new Error("Expected type "+t+" saw "+a);switch(t===ds?a:t){case 2:return n=e.read_shift(2,"i"),i.raw||(e.l+=2),n;case 3:return n=e.read_shift(4,"i"),n;case 11:return e.read_shift(4)!==0;case 19:return n=e.read_shift(4),n;case 30:return sc(e,a,4).replace(Or,"");case 31:return fc(e);case 64:return hi(e);case 65:return oc(e);case 71:return mh(e);case 80:return L0(e,a,!i.raw).replace(Or,"");case 81:return hh(e,a).replace(Or,"");case 4108:return vh(e);case 4126:case 4127:return a==4127?xh(e):dh(e);default:throw new Error("TypedPropertyValue unrecognized type "+t+" "+a)}}function gs(e,t){var r=z(4),a=z(4);switch(r.write_shift(4,e==80?31:e),e){case 3:a.write_shift(-4,t);break;case 5:a=z(8),a.write_shift(8,t,"f");break;case 11:a.write_shift(4,t?1:0);break;case 64:a=uh(t);break;case 31:case 80:for(a=z(4+2*(t.length+1)+(t.length%2?0:2)),a.write_shift(4,t.length+1),a.write_shift(0,t,"dbcs");a.l!=a.length;)a.write_shift(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+t)}return hr([r,a])}function _s(e,t){var r=e.l,a=e.read_shift(4),n=e.read_shift(4),i=[],s=0,f=0,c=-1,o={};for(s=0;s!=n;++s){var l=e.read_shift(4),u=e.read_shift(4);i[s]=[l,u+r]}i.sort(function(_,m){return _[1]-m[1]});var h={};for(s=0;s!=n;++s){if(e.l!==i[s][1]){var x=!0;if(s>0&&t)switch(t[i[s-1][0]].t){case 2:e.l+2===i[s][1]&&(e.l+=2,x=!1);break;case 80:e.l<=i[s][1]&&(e.l=i[s][1],x=!1);break;case 4108:e.l<=i[s][1]&&(e.l=i[s][1],x=!1);break}if((!t||s==0)&&e.l<=i[s][1]&&(x=!1,e.l=i[s][1]),x)throw new Error("Read Error: Expected address "+i[s][1]+" at "+e.l+" :"+s)}if(t){var p=t[i[s][0]];if(h[p.n]=Yn(e,p.t,{raw:!0}),p.p==="version"&&(h[p.n]=String(h[p.n]>>16)+"."+("0000"+String(h[p.n]&65535)).slice(-4)),p.n=="CodePage")switch(h[p.n]){case 0:h[p.n]=1252;case 874:case 932:case 936:case 949:case 950:case 1250:case 1251:case 1253:case 1254:case 1255:case 1256:case 1257:case 1258:case 1e4:case 1200:case 1201:case 1252:case 65e3:case-536:case 65001:case-535:at(f=h[p.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+h[p.n])}}else if(i[s][0]===1){if(f=h.CodePage=Yn(e,li),at(f),c!==-1){var d=e.l;e.l=i[c][1],o=ms(e,f),e.l=d}}else if(i[s][0]===0){if(f===0){c=s,e.l=i[s+1][1];continue}o=ms(e,f)}else{var v=o[i[s][0]],k;switch(e[e.l]){case 65:e.l+=4,k=oc(e);break;case 30:e.l+=4,k=L0(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 31:e.l+=4,k=L0(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 3:e.l+=4,k=e.read_shift(4,"i");break;case 19:e.l+=4,k=e.read_shift(4);break;case 5:e.l+=4,k=e.read_shift(8,"f");break;case 11:e.l+=4,k=rr(e,4);break;case 64:e.l+=4,k=Ge(hi(e));break;default:throw new Error("unparsed value: "+e[e.l])}h[v]=k}}return e.l=r+a,h}var lc=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function gh(e){switch(typeof e){case"boolean":return 11;case"number":return(e|0)==e?3:5;case"string":return 31;case"object":if(e instanceof Date)return 64;break}return-1}function ws(e,t,r){var a=z(8),n=[],i=[],s=8,f=0,c=z(8),o=z(8);if(c.write_shift(4,2),c.write_shift(4,1200),o.write_shift(4,1),i.push(c),n.push(o),s+=8+c.length,!t){o=z(8),o.write_shift(4,0),n.unshift(o);var l=[z(4)];for(l[0].write_shift(4,e.length),f=0;f-1||tc.indexOf(e[f][0])>-1)&&e[f][1]!=null){var h=e[f][1],x=0;if(t){x=+t[e[f][0]];var p=r[x];if(p.p=="version"&&typeof h=="string"){var d=h.split(".");h=(+d[0]<<16)+(+d[1]||0)}c=gs(p.t,h)}else{var v=gh(h);v==-1&&(v=31,h=String(h)),c=gs(v,h)}i.push(c),o=z(8),o.write_shift(4,t?x:2+f),n.push(o),s+=8+c.length}var k=8*(i.length+1);for(f=0;f=12?2:1),n="sbcs-cont";if(r&&r.biff>=8,!r||r.biff==8){var i=e.read_shift(1);i&&(n="dbcs-cont")}else r.biff==12&&(n="wstr");r.biff>=2&&r.biff<=5&&(n="cpstr");var s=a?e.read_shift(a,n):"";return s}function Th(e){var t=e.read_shift(2),r=e.read_shift(1),a=r&4,n=r&8,i=1+(r&1),s=0,f,c={};n&&(s=e.read_shift(2)),a&&(f=e.read_shift(4));var o=i==2?"dbcs-cont":"sbcs-cont",l=t===0?"":e.read_shift(t,o);return n&&(e.l+=4*s),a&&(e.l+=f),c.t=l,n||(c.raw=""+c.t+"",c.r=c.t),c}function Eh(e){var t=e.t||"",r=z(3);r.write_shift(2,t.length),r.write_shift(1,1);var a=z(2*t.length);a.write_shift(2*t.length,t,"utf16le");var n=[r,a];return hr(n)}function ta(e,t,r){var a;if(r){if(r.biff>=2&&r.biff<=5)return e.read_shift(t,"cpstr");if(r.biff>=12)return e.read_shift(t,"dbcs-cont")}var n=e.read_shift(1);return n===0?a=e.read_shift(t,"sbcs-cont"):a=e.read_shift(t,"dbcs-cont"),a}function mn(e,t,r){var a=e.read_shift(r&&r.biff==2?1:2);return a===0?(e.l++,""):ta(e,a,r)}function ua(e,t,r){if(r.biff>5)return mn(e,t,r);var a=e.read_shift(1);return a===0?(e.l++,""):e.read_shift(a,r.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function xc(e,t,r){return r||(r=z(3+2*e.length)),r.write_shift(2,e.length),r.write_shift(1,1),r.write_shift(31,e,"utf16le"),r}function Sh(e){var t=e.read_shift(1);e.l++;var r=e.read_shift(2);return e.l+=2,[t,r]}function Fh(e){var t=e.read_shift(4),r=e.l,a=!1;t>24&&(e.l+=t-24,e.read_shift(16)==="795881f43b1d7f48af2c825dc4852763"&&(a=!0),e.l=r);var n=e.read_shift((a?t-24:t)>>1,"utf16le").replace(Or,"");return a&&(e.l+=24),n}function yh(e){for(var t=e.read_shift(2),r="";t-- >0;)r+="../";var a=e.read_shift(0,"lpstr-ansi");if(e.l+=2,e.read_shift(2)!=57005)throw new Error("Bad FileMoniker");var n=e.read_shift(4);if(n===0)return r+a.replace(/\\/g,"/");var i=e.read_shift(4);if(e.read_shift(2)!=3)throw new Error("Bad FileMoniker");var s=e.read_shift(i>>1,"utf16le").replace(Or,"");return r+s}function Ah(e,t){var r=e.read_shift(16);switch(r){case"e0c9ea79f9bace118c8200aa004ba90b":return Fh(e);case"0303000000000000c000000000000046":return yh(e);default:throw new Error("Unsupported Moniker "+r)}}function bn(e){var t=e.read_shift(4),r=t>0?e.read_shift(t,"utf16le").replace(Or,""):"";return r}function Es(e,t){t||(t=z(6+e.length*2)),t.write_shift(4,1+e.length);for(var r=0;r-1?31:23;switch(a.charAt(0)){case"#":i=28;break;case".":i&=-3;break}t.write_shift(4,2),t.write_shift(4,i);var s=[8,6815827,6619237,4849780,83];for(r=0;r-1?a.slice(0,n):a;for(t.write_shift(4,2*(f.length+1)),r=0;r-1?a.slice(n+1):"",t)}else{for(s="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),r=0;r8?4:2,n=e.read_shift(a),i=e.read_shift(a,"i"),s=e.read_shift(a,"i");return[n,i,s]}function vc(e){var t=e.read_shift(2),r=oi(e);return[t,r]}function Rh(e,t,r){e.l+=4,t-=4;var a=e.l+t,n=vn(e,t,r),i=e.read_shift(2);if(a-=e.l,i!==a)throw new Error("Malformed AddinUdf: padding = "+a+" != "+i);return e.l+=i,n}function s0(e){var t=e.read_shift(2),r=e.read_shift(2),a=e.read_shift(2),n=e.read_shift(2);return{s:{c:a,r:t},e:{c:n,r}}}function mc(e,t){return t||(t=z(8)),t.write_shift(2,e.s.r),t.write_shift(2,e.e.r),t.write_shift(2,e.s.c),t.write_shift(2,e.e.c),t}function gc(e){var t=e.read_shift(2),r=e.read_shift(2),a=e.read_shift(1),n=e.read_shift(1);return{s:{c:a,r:t},e:{c:n,r}}}var Nh=gc;function _c(e){e.l+=4;var t=e.read_shift(2),r=e.read_shift(2),a=e.read_shift(2);return e.l+=12,[r,t,a]}function Ph(e){var t={};return e.l+=4,e.l+=16,t.fSharedNote=e.read_shift(2),e.l+=4,t}function Lh(e){var t={};return e.l+=4,e.cf=e.read_shift(2),t}function _r(e){e.l+=2,e.l+=e.read_shift(2)}var Bh={0:_r,4:_r,5:_r,6:_r,7:Lh,8:_r,9:_r,10:_r,11:_r,12:_r,13:Ph,14:_r,15:_r,16:_r,17:_r,18:_r,19:_r,20:_r,21:_c};function Mh(e,t){for(var r=e.l+t,a=[];e.l=2&&(r.dt=e.read_shift(2),e.l-=2),r.BIFFVer){case 1536:case 1280:case 1024:case 768:case 512:case 2:case 7:break;default:if(t>6)throw new Error("Unexpected BIFF Ver "+r.BIFFVer)}return e.read_shift(t),r}function xi(e,t,r){var a=1536,n=16;switch(r.bookType){case"biff8":break;case"biff5":a=1280,n=8;break;case"biff4":a=4,n=6;break;case"biff3":a=3,n=6;break;case"biff2":a=2,n=4;break;case"xla":break;default:throw new Error("unsupported BIFF version")}var i=z(n);return i.write_shift(2,a),i.write_shift(2,t),n>4&&i.write_shift(2,29282),n>6&&i.write_shift(2,1997),n>8&&(i.write_shift(2,49161),i.write_shift(2,1),i.write_shift(2,1798),i.write_shift(2,0)),i}function Uh(e,t){return t===0||e.read_shift(2),1200}function Wh(e,t,r){if(r.enc)return e.l+=t,"";var a=e.l,n=ua(e,0,r);return e.read_shift(t+a-e.l),n}function Hh(e,t){var r=!t||t.biff==8,a=z(r?112:54);for(a.write_shift(t.biff==8?2:1,7),r&&a.write_shift(1,0),a.write_shift(4,859007059),a.write_shift(4,5458548|(r?0:536870912));a.l=8?2:1,a=z(8+r*e.name.length);a.write_shift(4,e.pos),a.write_shift(1,e.hs||0),a.write_shift(1,e.dt),a.write_shift(1,e.name.length),t.biff>=8&&a.write_shift(1,1),a.write_shift(r*e.name.length,e.name,t.biff<8?"sbcs":"utf16le");var n=a.slice(0,a.l);return n.l=a.l,n}function zh(e,t){for(var r=e.l+t,a=e.read_shift(4),n=e.read_shift(4),i=[],s=0;s!=n&&e.l>15),n&=32767);var i={Unsynced:a&1,DyZero:(a&2)>>1,ExAsc:(a&4)>>2,ExDsc:(a&8)>>3};return[i,n]}function qh(e){var t=e.read_shift(2),r=e.read_shift(2),a=e.read_shift(2),n=e.read_shift(2),i=e.read_shift(2),s=e.read_shift(2),f=e.read_shift(2),c=e.read_shift(2),o=e.read_shift(2);return{Pos:[t,r],Dim:[a,n],Flags:i,CurTab:s,FirstTab:f,Selected:c,TabRatio:o}}function Zh(){var e=z(18);return e.write_shift(2,0),e.write_shift(2,0),e.write_shift(2,29280),e.write_shift(2,17600),e.write_shift(2,56),e.write_shift(2,0),e.write_shift(2,0),e.write_shift(2,1),e.write_shift(2,500),e}function Qh(e,t,r){if(r&&r.biff>=2&&r.biff<5)return{};var a=e.read_shift(2);return{RTL:a&64}}function e1(e){var t=z(18),r=1718;return e&&e.RTL&&(r|=64),t.write_shift(2,r),t.write_shift(4,0),t.write_shift(4,64),t.write_shift(4,0),t.write_shift(4,0),t}function r1(){}function t1(e,t,r){var a={dyHeight:e.read_shift(2),fl:e.read_shift(2)};switch(r&&r.biff||8){case 2:break;case 3:case 4:e.l+=2;break;default:e.l+=10;break}return a.name=vn(e,0,r),a}function a1(e,t){var r=e.name||"Arial",a=t&&t.biff==5,n=a?15+r.length:16+2*r.length,i=z(n);return i.write_shift(2,(e.sz||12)*20),i.write_shift(4,0),i.write_shift(2,400),i.write_shift(4,0),i.write_shift(2,0),i.write_shift(1,r.length),a||i.write_shift(1,1),i.write_shift((a?1:2)*r.length,r,a?"sbcs":"utf16le"),i}function n1(e){var t=vt(e);return t.isst=e.read_shift(4),t}function i1(e,t,r,a){var n=z(10);return aa(e,t,a,n),n.write_shift(4,r),n}function s1(e,t,r){r.biffguess&&r.biff==2&&(r.biff=5);var a=e.l+t,n=vt(e);r.biff==2&&e.l++;var i=mn(e,a-e.l,r);return n.val=i,n}function f1(e,t,r,a,n){var i=!n||n.biff==8,s=z(8+ +i+(1+i)*r.length);return aa(e,t,a,s),s.write_shift(2,r.length),i&&s.write_shift(1,1),s.write_shift((1+i)*r.length,r,i?"utf16le":"sbcs"),s}function c1(e,t,r){var a=e.read_shift(2),n=ua(e,0,r);return[a,n]}function o1(e,t,r,a){var n=r&&r.biff==5;a||(a=z(n?3+t.length:5+2*t.length)),a.write_shift(2,e),a.write_shift(n?1:2,t.length),n||a.write_shift(1,1),a.write_shift((n?1:2)*t.length,t,n?"sbcs":"utf16le");var i=a.length>a.l?a.slice(0,a.l):a;return i.l==null&&(i.l=i.length),i}var l1=ua;function Fs(e,t,r){var a=e.l+t,n=r.biff==8||!r.biff?4:2,i=e.read_shift(n),s=e.read_shift(n),f=e.read_shift(2),c=e.read_shift(2);return e.l=a,{s:{r:i,c:f},e:{r:s,c}}}function u1(e,t){var r=t.biff==8||!t.biff?4:2,a=z(2*r+6);return a.write_shift(r,e.s.r),a.write_shift(r,e.e.r+1),a.write_shift(2,e.s.c),a.write_shift(2,e.e.c+1),a.write_shift(2,0),a}function h1(e){var t=e.read_shift(2),r=e.read_shift(2),a=vc(e);return{r:t,c:r,ixfe:a[0],rknum:a[1]}}function x1(e,t){for(var r=e.l+t-2,a=e.read_shift(2),n=e.read_shift(2),i=[];e.l>26],a.cellStyles&&(n.alc=i&7,n.fWrap=i>>3&1,n.alcV=i>>4&7,n.fJustLast=i>>7&1,n.trot=i>>8&255,n.cIndent=i>>16&15,n.fShrinkToFit=i>>20&1,n.iReadOrder=i>>22&2,n.fAtrNum=i>>26&1,n.fAtrFnt=i>>27&1,n.fAtrAlc=i>>28&1,n.fAtrBdr=i>>29&1,n.fAtrPat=i>>30&1,n.fAtrProt=i>>31&1,n.dgLeft=s&15,n.dgRight=s>>4&15,n.dgTop=s>>8&15,n.dgBottom=s>>12&15,n.icvLeft=s>>16&127,n.icvRight=s>>23&127,n.grbitDiag=s>>30&3,n.icvTop=f&127,n.icvBottom=f>>7&127,n.icvDiag=f>>14&127,n.dgDiag=f>>21&15,n.icvFore=c&127,n.icvBack=c>>7&127,n.fsxButton=c>>14&1),n}function v1(e,t,r){var a={};return a.ifnt=e.read_shift(2),a.numFmtId=e.read_shift(2),a.flags=e.read_shift(2),a.fStyle=a.flags>>2&1,t-=6,a.data=p1(e,t,a.fStyle,r),a}function ys(e,t,r,a){var n=r&&r.biff==5;a||(a=z(n?16:20)),a.write_shift(2,0),e.style?(a.write_shift(2,e.numFmtId||0),a.write_shift(2,65524)):(a.write_shift(2,e.numFmtId||0),a.write_shift(2,t<<4));var i=0;return e.numFmtId>0&&n&&(i|=1024),a.write_shift(4,i),a.write_shift(4,0),n||a.write_shift(4,0),a.write_shift(2,0),a}function m1(e){e.l+=4;var t=[e.read_shift(2),e.read_shift(2)];if(t[0]!==0&&t[0]--,t[1]!==0&&t[1]--,t[0]>7||t[1]>7)throw new Error("Bad Gutters: "+t.join("|"));return t}function g1(e){var t=z(8);return t.write_shift(4,0),t.write_shift(2,e[0]?e[0]+1:0),t.write_shift(2,e[1]?e[1]+1:0),t}function As(e,t,r){var a=vt(e);(r.biff==2||t==9)&&++e.l;var n=kh(e);return a.val=n,a.t=n===!0||n===!1?"b":"e",a}function _1(e,t,r,a,n,i){var s=z(8);return aa(e,t,a,s),hc(r,i,s),s}function w1(e,t,r){r.biffguess&&r.biff==2&&(r.biff=5);var a=vt(e),n=Sr(e);return a.val=n,a}function k1(e,t,r,a){var n=z(14);return aa(e,t,a,n),ra(r,n),n}var Cs=Ih;function T1(e,t,r){var a=e.l+t,n=e.read_shift(2),i=e.read_shift(2);if(r.sbcch=i,i==1025||i==14849)return[i,n];if(i<1||i>255)throw new Error("Unexpected SupBook type: "+i);for(var s=ta(e,i),f=[];a>e.l;)f.push(mn(e));return[i,n,s,f]}function bs(e,t,r){var a=e.read_shift(2),n,i={fBuiltIn:a&1,fWantAdvise:a>>>1&1,fWantPict:a>>>2&1,fOle:a>>>3&1,fOleLink:a>>>4&1,cf:a>>>5&1023,fIcon:a>>>15&1};return r.sbcch===14849&&(n=Rh(e,t-2,r)),i.body=n||e.read_shift(t-2),typeof n=="string"&&(i.Name=n),i}var E1=["_xlnm.Consolidate_Area","_xlnm.Auto_Open","_xlnm.Auto_Close","_xlnm.Extract","_xlnm.Database","_xlnm.Criteria","_xlnm.Print_Area","_xlnm.Print_Titles","_xlnm.Recorder","_xlnm.Data_Form","_xlnm.Auto_Activate","_xlnm.Auto_Deactivate","_xlnm.Sheet_Title","_xlnm._FilterDatabase"];function Ds(e,t,r){var a=e.l+t,n=e.read_shift(2),i=e.read_shift(1),s=e.read_shift(1),f=e.read_shift(r&&r.biff==2?1:2),c=0;(!r||r.biff>=5)&&(r.biff!=5&&(e.l+=2),c=e.read_shift(2),r.biff==5&&(e.l+=2),e.l+=4);var o=ta(e,s,r);n&32&&(o=E1[o.charCodeAt(0)]);var l=a-e.l;r&&r.biff==2&&--l;var u=a==e.l||f===0||!(l>0)?[]:Mv(e,l,r,f);return{chKey:i,Name:o,itab:c,rgce:u}}function wc(e,t,r){if(r.biff<8)return S1(e,t,r);for(var a=[],n=e.l+t,i=e.read_shift(r.biff>8?4:2);i--!==0;)a.push(Oh(e,r.biff>8?12:6,r));if(e.l!=n)throw new Error("Bad ExternSheet: "+e.l+" != "+n);return a}function S1(e,t,r){e[e.l+1]==3&&e[e.l]++;var a=vn(e,t,r);return a.charCodeAt(0)==3?a.slice(1):a}function F1(e,t,r){if(r.biff<8){e.l+=t;return}var a=e.read_shift(2),n=e.read_shift(2),i=ta(e,a,r),s=ta(e,n,r);return[i,s]}function y1(e,t,r){var a=gc(e);e.l++;var n=e.read_shift(1);return t-=8,[Uv(e,t,r),n,a]}function Is(e,t,r){var a=Nh(e);switch(r.biff){case 2:e.l++,t-=7;break;case 3:case 4:e.l+=2,t-=8;break;default:e.l+=6,t-=12}return[a,Lv(e,t,r)]}function A1(e){var t=e.read_shift(4)!==0,r=e.read_shift(4)!==0,a=e.read_shift(4);return[t,r,a]}function C1(e,t,r){if(!(r.biff<8)){var a=e.read_shift(2),n=e.read_shift(2),i=e.read_shift(2),s=e.read_shift(2),f=ua(e,0,r);return r.biff<8&&e.read_shift(1),[{r:a,c:n},f,s,i]}}function b1(e,t,r){return C1(e,t,r)}function D1(e,t){for(var r=[],a=e.read_shift(2);a--;)r.push(s0(e));return r}function I1(e){var t=z(2+e.length*8);t.write_shift(2,e.length);for(var r=0;r=(l?f:2*f))break}if(n.length!==f&&n.length!==f*2)throw new Error("cchText: "+f+" != "+n.length);return e.l=a+t,{t:n}}catch{return e.l=a+t,{t:n}}}function L1(e,t){var r=s0(e);e.l+=16;var a=Ch(e,t-24);return[r,a]}function B1(e){var t=z(24),r=Ye(e[0]);t.write_shift(2,r.r),t.write_shift(2,r.r),t.write_shift(2,r.c),t.write_shift(2,r.c);for(var a="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),n=0;n<16;++n)t.write_shift(1,parseInt(a[n],16));return hr([t,bh(e[1])])}function M1(e,t){e.read_shift(2);var r=s0(e),a=e.read_shift((t-10)/2,"dbcs-cont");return a=a.replace(Or,""),[r,a]}function U1(e){var t=e[1].Tooltip,r=z(10+2*(t.length+1));r.write_shift(2,2048);var a=Ye(e[0]);r.write_shift(2,a.r),r.write_shift(2,a.r),r.write_shift(2,a.c),r.write_shift(2,a.c);for(var n=0;n0;)r.push(pc(e));return r}function G1(e){for(var t=e.read_shift(2),r=[];t-- >0;)r.push(pc(e));return r}function X1(e){e.l+=2;var t={cxfs:0,crc:0};return t.cxfs=e.read_shift(2),t.crc=e.read_shift(4),t}function kc(e,t,r){if(!r.cellStyles)return Ar(e,t);var a=r&&r.biff>=12?4:2,n=e.read_shift(a),i=e.read_shift(a),s=e.read_shift(a),f=e.read_shift(a),c=e.read_shift(2);a==2&&(e.l+=2);var o={s:n,e:i,w:s,ixfe:f,flags:c};return(r.biff>=5||!r.biff)&&(o.level=c>>8&7),o}function z1(e,t){var r=z(12);r.write_shift(2,t),r.write_shift(2,t),r.write_shift(2,e.width*256),r.write_shift(2,0);var a=0;return e.hidden&&(a|=1),r.write_shift(1,a),a=e.level||0,r.write_shift(1,a),r.write_shift(2,0),r}function $1(e,t){var r={};return t<32||(e.l+=16,r.header=Sr(e),r.footer=Sr(e),e.l+=2),r}function K1(e,t,r){var a={area:!1};if(r.biff!=5)return e.l+=t,a;var n=e.read_shift(1);return e.l+=3,n&16&&(a.area=!0),a}function j1(e){for(var t=z(2*e),r=0;r1048576&&(d=1e6),u!=2&&(v=l.read_shift(2));var k=l.read_shift(2),_=c.codepage||1252;u!=2&&(l.l+=16,l.read_shift(1),l[l.l]!==0&&(_=e[l[l.l]]),l.l+=1,l.l+=2),p&&(l.l+=36);for(var m=[],D={},I=Math.min(l.length,u==2?521:v-10-(x?264:0)),F=p?32:11;l.l0;){if(l[l.l]===42){l.l+=k;continue}for(++l.l,o[++T]=[],L=0,L=0;L!=m.length;++L){var O=l.slice(l.l,l.l+m[L].len);l.l+=m[L].len,vr(O,0);var X=It.utils.decode(_,O);switch(m[L].type){case"C":X.trim().length&&(o[T][L]=X.replace(/\s+$/,""));break;case"D":X.length===8?o[T][L]=new Date(+X.slice(0,4),+X.slice(4,6)-1,+X.slice(6,8)):o[T][L]=X;break;case"F":o[T][L]=parseFloat(X.trim());break;case"+":case"I":o[T][L]=p?O.read_shift(-4,"i")^2147483648:O.read_shift(4,"i");break;case"L":switch(X.trim().toUpperCase()){case"Y":case"T":o[T][L]=!0;break;case"N":case"F":o[T][L]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+X+"|")}break;case"M":if(!h)throw new Error("DBF Unexpected MEMO for type "+u.toString(16));o[T][L]="##MEMO##"+(p?parseInt(X.trim(),10):O.read_shift(4));break;case"N":X=X.replace(/\u0000/g,"").trim(),X&&X!="."&&(o[T][L]=+X||0);break;case"@":o[T][L]=new Date(O.read_shift(-8,"f")-621356832e5);break;case"T":o[T][L]=new Date((O.read_shift(4)-2440588)*864e5+O.read_shift(4));break;case"Y":o[T][L]=O.read_shift(4,"i")/1e4+O.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":o[T][L]=-O.read_shift(-8,"f");break;case"B":if(x&&m[L].len==8){o[T][L]=O.read_shift(8,"f");break}case"G":case"P":O.l+=m[L].len;break;case"0":if(m[L].name==="_NullFlags")break;default:throw new Error("DBF Unsupported data type "+m[L].type)}}}if(u!=2&&l.l=0&&at(+o.codepage),o.type=="string")throw new Error("Cannot write DBF to JS string");var l=Nr(),u=Zn(f,{header:1,raw:!0,cellDates:!0}),h=u[0],x=u.slice(1),p=f["!cols"]||[],d=0,v=0,k=0,_=1;for(d=0;d250&&(O=250),L=((p[d]||{}).DBF||{}).type,L=="C"&&p[d].DBF.len>O&&(O=p[d].DBF.len),T=="B"&&L=="N"&&(T="N",F[d]=p[d].DBF.dec,O=p[d].DBF.len),I[d]=T=="C"||L=="N"?O:i[T]||0,_+=I[d],D[d]=T}var M=l.next(32);for(M.write_shift(4,318902576),M.write_shift(4,x.length),M.write_shift(2,296+32*k),M.write_shift(2,_),d=0;d<4;++d)M.write_shift(4,0);for(M.write_shift(4,0|(+t[cf]||3)<<8),d=0,v=0;d":190,"?":191,"{":223},t=new RegExp("\x1BN("+Ze(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),r=function(h,x){var p=e[x];return typeof p=="number"?Vi(p):p},a=function(h,x,p){var d=x.charCodeAt(0)-32<<4|p.charCodeAt(0)-48;return d==59?h:Vi(d)};e["|"]=254;function n(h,x){switch(x.type){case"base64":return i(Hr(h),x);case"binary":return i(h,x);case"buffer":return i(Fe&&Buffer.isBuffer(h)?h.toString("binary"):Wt(h),x);case"array":return i(ea(h),x)}throw new Error("Unrecognized type "+x.type)}function i(h,x){var p=h.split(/[\n\r]+/),d=-1,v=-1,k=0,_=0,m=[],D=[],I=null,F={},T=[],L=[],O=[],X=0,M;for(+x.codepage>=0&&at(+x.codepage);k!==p.length;++k){X=0;var P=p[k].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,a).replace(t,r),J=P.replace(/;;/g,"\0").split(";").map(function(N){return N.replace(/\u0000/g,";")}),le=J[0],q;if(P.length>0)switch(le){case"ID":break;case"E":break;case"B":break;case"O":break;case"W":break;case"P":J[1].charAt(0)=="P"&&D.push(P.slice(3).replace(/;;/g,";"));break;case"C":var he=!1,ie=!1,be=!1,V=!1,de=-1,ve=-1;for(_=1;_-1&&m[de][ve];if(!B||!B[1])throw new Error("SYLK shared formula cannot find base");m[d][v][1]=Wc(B[1],{r:d-de,c:v-ve})}break;case"F":var R=0;for(_=1;_0?(T[d].hpt=X,T[d].hpx=Aa(X)):X===0&&(T[d].hidden=!0);break;default:if(x&&x.WTF)throw new Error("SYLK bad record "+P)}R<1&&(I=null);break;default:if(x&&x.WTF)throw new Error("SYLK bad record "+P)}}return T.length>0&&(F["!rows"]=T),L.length>0&&(F["!cols"]=L),x&&x.sheetRows&&(m=m.slice(0,x.sheetRows)),[m,F]}function s(h,x){var p=n(h,x),d=p[0],v=p[1],k=Da(d,x);return Ze(v).forEach(function(_){k[_]=v[_]}),k}function f(h,x){return Ht(s(h,x),x)}function c(h,x,p,d){var v="C;Y"+(p+1)+";X"+(d+1)+";K";switch(h.t){case"n":v+=h.v||0,h.f&&!h.F&&(v+=";E"+_i(h.f,{r:p,c:d}));break;case"b":v+=h.v?"TRUE":"FALSE";break;case"e":v+=h.w||h.v;break;case"d":v+='"'+(h.w||h.v)+'"';break;case"s":v+='"'+h.v.replace(/"/g,"").replace(/;/g,";;")+'"';break}return v}function o(h,x){x.forEach(function(p,d){var v="F;W"+(d+1)+" "+(d+1)+" ";p.hidden?v+="0":(typeof p.width=="number"&&!p.wpx&&(p.wpx=fn(p.width)),typeof p.wpx=="number"&&!p.wch&&(p.wch=cn(p.wpx)),typeof p.wch=="number"&&(v+=Math.round(p.wch))),v.charAt(v.length-1)!=" "&&h.push(v)})}function l(h,x){x.forEach(function(p,d){var v="F;";p.hidden?v+="M0;":p.hpt?v+="M"+20*p.hpt+";":p.hpx&&(v+="M"+20*on(p.hpx)+";"),v.length>2&&h.push(v+"R"+(d+1))})}function u(h,x){var p=["ID;PWXL;N;E"],d=[],v=Re(h["!ref"]),k,_=Array.isArray(h),m=`\r +`;p.push("P;PGeneral"),p.push("F;P0;DG0G8;M255"),h["!cols"]&&o(p,h["!cols"]),h["!rows"]&&l(p,h["!rows"]),p.push("B;Y"+(v.e.r-v.s.r+1)+";X"+(v.e.c-v.s.c+1)+";D"+[v.s.c,v.s.r,v.e.c,v.e.r].join(" "));for(var D=v.s.r;D<=v.e.r;++D)for(var I=v.s.c;I<=v.e.c;++I){var F=ge({r:D,c:I});k=_?(h[D]||[])[I]:h[F],!(!k||k.v==null&&(!k.f||k.F))&&d.push(c(k,h,D,I))}return p.join(m)+m+d.join(m)+m+"E"+m}return{to_workbook:f,to_sheet:s,from_sheet:u}}(),Ec=function(){function e(i,s){switch(s.type){case"base64":return t(Hr(i),s);case"binary":return t(i,s);case"buffer":return t(Fe&&Buffer.isBuffer(i)?i.toString("binary"):Wt(i),s);case"array":return t(ea(i),s)}throw new Error("Unrecognized type "+s.type)}function t(i,s){for(var f=i.split(` +`),c=-1,o=-1,l=0,u=[];l!==f.length;++l){if(f[l].trim()==="BOT"){u[++c]=[],o=0;continue}if(!(c<0)){var h=f[l].trim().split(","),x=h[0],p=h[1];++l;for(var d=f[l]||"";(d.match(/["]/g)||[]).length&1&&l=0&&p[d].length===0;)--d;for(var v=10,k=0,_=0;_<=d;++_)k=p[_].indexOf(" "),k==-1?k=p[_].length:k++,v=Math.max(v,k);for(_=0;_<=d;++_){x[_]=[];var m=0;for(e(p[_].slice(0,v).trim(),x,_,m,h),m=1;m<=(p[_].length-v)/10+1;++m)e(p[_].slice(v+(m-1)*10,v+m*10).trim(),x,_,m,h)}return h.sheetRows&&(x=x.slice(0,h.sheetRows)),x}var r={44:",",9:" ",59:";",124:"|"},a={44:3,9:2,59:1,124:0};function n(l){for(var u={},h=!1,x=0,p=0;x0&&X(),p["!ref"]=Te(d),p}function s(l,u){return!(u&&u.PRN)||u.FS||l.slice(0,4)=="sep="||l.indexOf(" ")>=0||l.indexOf(",")>=0||l.indexOf(";")>=0?i(l,u):Da(t(l,u),u)}function f(l,u){var h="",x=u.type=="string"?[0,0,0,0]:Ai(l,u);switch(u.type){case"base64":h=Hr(l);break;case"binary":h=l;break;case"buffer":u.codepage==65001?h=l.toString("utf8"):u.codepage&&typeof It<"u"?h=It.utils.decode(u.codepage,l):h=Fe&&Buffer.isBuffer(l)?l.toString("binary"):Wt(l);break;case"array":h=ea(l);break;case"string":h=l;break;default:throw new Error("Unrecognized type "+u.type)}return x[0]==239&&x[1]==187&&x[2]==191?h=Me(h.slice(3)):u.type!="string"&&u.type!="buffer"&&u.codepage==65001?h=Me(h):u.type=="binary"&&typeof It<"u"&&u.codepage&&(h=It.utils.decode(u.codepage,It.utils.encode(28591,h))),h.slice(0,19)=="socialcalc:version:"?Sc.to_sheet(u.type=="string"?h:Me(h),u):s(h,u)}function c(l,u){return Ht(f(l,u),u)}function o(l){for(var u=[],h=Re(l["!ref"]),x,p=Array.isArray(l),d=h.s.r;d<=h.e.r;++d){for(var v=[],k=h.s.c;k<=h.e.c;++k){var _=ge({r:d,c:k});if(x=p?(l[d]||[])[k]:l[_],!x||x.v==null){v.push(" ");continue}for(var m=(x.w||(St(x),x.w)||"").slice(0,10);m.length<10;)m+=" ";v.push(m+(k===0?" ":""))}u.push(v.join(""))}return u.join(` +`)}return{to_workbook:c,to_sheet:f,from_sheet:o}}();function cx(e,t){var r=t||{},a=!!r.WTF;r.WTF=!0;try{var n=Tc.to_workbook(e,r);return r.WTF=a,n}catch(i){if(r.WTF=a,!i.message.match(/SYLK bad record ID/)&&a)throw i;return ya.to_workbook(e,t)}}var Jt=function(){function e(C,B,R){if(C){vr(C,C.l||0);for(var N=R.Enum||de;C.l=16&&C[14]==5&&C[15]===108)throw new Error("Unsupported Works 3 for Mac file");if(C[2]==2)R.Enum=de,e(C,function(oe,Qe,Gr){switch(Gr){case 0:R.vers=oe,oe>=4096&&(R.qpro=!0);break;case 6:b=oe;break;case 204:oe&&(re=oe);break;case 222:re=oe;break;case 15:case 51:R.qpro||(oe[1].v=oe[1].v.slice(1));case 13:case 14:case 16:Gr==14&&(oe[2]&112)==112&&(oe[2]&15)>1&&(oe[2]&15)<15&&(oe[1].z=R.dateNF||me[14],R.cellDates&&(oe[1].t="d",oe[1].v=i0(oe[1].v))),R.qpro&&oe[3]>ae&&(N["!ref"]=Te(b),ee[K]=N,Z.push(K),N=R.dense?[]:{},b={s:{r:0,c:0},e:{r:0,c:0}},ae=oe[3],K=re||"Sheet"+(ae+1),re="");var ft=R.dense?(N[oe[0].r]||[])[oe[0].c]:N[ge(oe[0])];if(ft){ft.t=oe[1].t,ft.v=oe[1].v,oe[1].z!=null&&(ft.z=oe[1].z),oe[1].f!=null&&(ft.f=oe[1].f);break}R.dense?(N[oe[0].r]||(N[oe[0].r]=[]),N[oe[0].r][oe[0].c]=oe[1]):N[ge(oe[0])]=oe[1];break}},R);else if(C[2]==26||C[2]==14)R.Enum=ve,C[2]==14&&(R.qpro=!0,C.l=0),e(C,function(oe,Qe,Gr){switch(Gr){case 204:K=oe;break;case 22:oe[1].v=oe[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(oe[3]>ae&&(N["!ref"]=Te(b),ee[K]=N,Z.push(K),N=R.dense?[]:{},b={s:{r:0,c:0},e:{r:0,c:0}},ae=oe[3],K="Sheet"+(ae+1)),We>0&&oe[0].r>=We)break;R.dense?(N[oe[0].r]||(N[oe[0].r]=[]),N[oe[0].r][oe[0].c]=oe[1]):N[ge(oe[0])]=oe[1],b.e.c=0&&at(+R.codepage),R.type=="string")throw new Error("Cannot write WK1 to JS string");var N=Nr(),K=Re(C["!ref"]),re=Array.isArray(C),ae=[];fe(N,0,i(1030)),fe(N,6,c(K));for(var ee=Math.min(K.e.r,8191),Z=K.s.r;Z<=ee;++Z)for(var Se=tr(Z),b=K.s.c;b<=K.e.c;++b){Z===K.s.r&&(ae[b]=je(b));var We=ae[b]+Se,Ie=re?(C[Z]||[])[b]:C[We];if(!(!Ie||Ie.t=="z"))if(Ie.t=="n")(Ie.v|0)==Ie.v&&Ie.v>=-32768&&Ie.v<=32767?fe(N,13,x(Z,b,Ie.v)):fe(N,14,d(Z,b,Ie.v));else{var Ue=St(Ie);fe(N,15,u(Z,b,Ue.slice(0,239)))}}return fe(N,1),N.end()}function n(C,B){var R=B||{};if(+R.codepage>=0&&at(+R.codepage),R.type=="string")throw new Error("Cannot write WK3 to JS string");var N=Nr();fe(N,0,s(C));for(var K=0,re=0;K8191&&(R=8191),B.write_shift(2,R),B.write_shift(1,K),B.write_shift(1,N),B.write_shift(2,0),B.write_shift(2,0),B.write_shift(1,1),B.write_shift(1,2),B.write_shift(4,0),B.write_shift(4,0),B}function f(C,B,R){var N={s:{c:0,r:0},e:{c:0,r:0}};return B==8&&R.qpro?(N.s.c=C.read_shift(1),C.l++,N.s.r=C.read_shift(2),N.e.c=C.read_shift(1),C.l++,N.e.r=C.read_shift(2),N):(N.s.c=C.read_shift(2),N.s.r=C.read_shift(2),B==12&&R.qpro&&(C.l+=2),N.e.c=C.read_shift(2),N.e.r=C.read_shift(2),B==12&&R.qpro&&(C.l+=2),N.s.c==65535&&(N.s.c=N.e.c=N.s.r=N.e.r=0),N)}function c(C){var B=z(8);return B.write_shift(2,C.s.c),B.write_shift(2,C.s.r),B.write_shift(2,C.e.c),B.write_shift(2,C.e.r),B}function o(C,B,R){var N=[{c:0,r:0},{t:"n",v:0},0,0];return R.qpro&&R.vers!=20768?(N[0].c=C.read_shift(1),N[3]=C.read_shift(1),N[0].r=C.read_shift(2),C.l+=2):(N[2]=C.read_shift(1),N[0].c=C.read_shift(2),N[0].r=C.read_shift(2)),N}function l(C,B,R){var N=C.l+B,K=o(C,B,R);if(K[1].t="s",R.vers==20768){C.l++;var re=C.read_shift(1);return K[1].v=C.read_shift(re,"utf8"),K}return R.qpro&&C.l++,K[1].v=C.read_shift(N-C.l,"cstr"),K}function u(C,B,R){var N=z(7+R.length);N.write_shift(1,255),N.write_shift(2,B),N.write_shift(2,C),N.write_shift(1,39);for(var K=0;K=128?95:re)}return N.write_shift(1,0),N}function h(C,B,R){var N=o(C,B,R);return N[1].v=C.read_shift(2,"i"),N}function x(C,B,R){var N=z(7);return N.write_shift(1,255),N.write_shift(2,B),N.write_shift(2,C),N.write_shift(2,R,"i"),N}function p(C,B,R){var N=o(C,B,R);return N[1].v=C.read_shift(8,"f"),N}function d(C,B,R){var N=z(13);return N.write_shift(1,255),N.write_shift(2,B),N.write_shift(2,C),N.write_shift(8,R,"f"),N}function v(C,B,R){var N=C.l+B,K=o(C,B,R);if(K[1].v=C.read_shift(8,"f"),R.qpro)C.l=N;else{var re=C.read_shift(2);D(C.slice(C.l,C.l+re),K),C.l+=re}return K}function k(C,B,R){var N=B&32768;return B&=-32769,B=(N?C:0)+(B>=8192?B-16384:B),(N?"":"$")+(R?je(B):tr(B))}var _={51:["FALSE",0],52:["TRUE",0],70:["LEN",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],111:["T",1]},m=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function D(C,B){vr(C,0);for(var R=[],N=0,K="",re="",ae="",ee="";C.lR.length){console.error("WK1 bad formula parse 0x"+Z.toString(16)+":|"+R.join("|")+"|");return}var Ie=R.slice(-N);R.length-=N,R.push(_[Z][0]+"("+Ie.join(",")+")")}else return Z<=7?console.error("WK1 invalid opcode "+Z.toString(16)):Z<=24?console.error("WK1 unsupported op "+Z.toString(16)):Z<=30?console.error("WK1 invalid opcode "+Z.toString(16)):Z<=115?console.error("WK1 unsupported function opcode "+Z.toString(16)):console.error("WK1 unrecognized opcode "+Z.toString(16))}}R.length==1?B[1].f=""+R[0]:console.error("WK1 bad formula parse |"+R.join("|")+"|")}function I(C){var B=[{c:0,r:0},{t:"n",v:0},0];return B[0].r=C.read_shift(2),B[3]=C[C.l++],B[0].c=C[C.l++],B}function F(C,B){var R=I(C);return R[1].t="s",R[1].v=C.read_shift(B-4,"cstr"),R}function T(C,B,R,N){var K=z(6+N.length);K.write_shift(2,C),K.write_shift(1,R),K.write_shift(1,B),K.write_shift(1,39);for(var re=0;re=128?95:ae)}return K.write_shift(1,0),K}function L(C,B){var R=I(C);R[1].v=C.read_shift(2);var N=R[1].v>>1;if(R[1].v&1)switch(N&7){case 0:N=(N>>3)*5e3;break;case 1:N=(N>>3)*500;break;case 2:N=(N>>3)/20;break;case 3:N=(N>>3)/200;break;case 4:N=(N>>3)/2e3;break;case 5:N=(N>>3)/2e4;break;case 6:N=(N>>3)/16;break;case 7:N=(N>>3)/64;break}return R[1].v=N,R}function O(C,B){var R=I(C),N=C.read_shift(4),K=C.read_shift(4),re=C.read_shift(2);if(re==65535)return N===0&&K===3221225472?(R[1].t="e",R[1].v=15):N===0&&K===3489660928?(R[1].t="e",R[1].v=42):R[1].v=0,R;var ae=re&32768;return re=(re&32767)-16446,R[1].v=(1-ae*2)*(K*Math.pow(2,re+32)+N*Math.pow(2,re)),R}function X(C,B,R,N){var K=z(14);if(K.write_shift(2,C),K.write_shift(1,R),K.write_shift(1,B),N==0)return K.write_shift(4,0),K.write_shift(4,0),K.write_shift(2,65535),K;var re=0,ae=0,ee=0,Z=0;return N<0&&(re=1,N=-N),ae=Math.log2(N)|0,N/=Math.pow(2,ae-31),Z=N>>>0,Z&2147483648||(N/=2,++ae,Z=N>>>0),N-=Z,Z|=2147483648,Z>>>=0,N*=Math.pow(2,32),ee=N>>>0,K.write_shift(4,ee),K.write_shift(4,Z),ae+=16383+(re?32768:0),K.write_shift(2,ae),K}function M(C,B){var R=O(C);return C.l+=B-14,R}function P(C,B){var R=I(C),N=C.read_shift(4);return R[1].v=N>>6,R}function J(C,B){var R=I(C),N=C.read_shift(8,"f");return R[1].v=N,R}function le(C,B){var R=J(C);return C.l+=B-10,R}function q(C,B){return C[C.l+B-1]==0?C.read_shift(B,"cstr"):""}function he(C,B){var R=C[C.l++];R>B-1&&(R=B-1);for(var N="";N.length127?95:K}return R[R.l++]=0,R}var de={0:{n:"BOF",f:sr},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:h},14:{n:"NUMBER",f:p},15:{n:"LABEL",f:l},16:{n:"FORMULA",f:v},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:l},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:q},222:{n:"SHEETNAMELP",f:he},65535:{n:""}},ve={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:F},23:{n:"NUMBER17",f:O},24:{n:"NUMBER18",f:L},25:{n:"FORMULA19",f:M},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:be},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:P},38:{n:"??"},39:{n:"NUMBER27",f:J},40:{n:"FORMULA28",f:le},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:q},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:ie},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};return{sheet_to_wk1:a,book_to_wk3:n,to_workbook:t}}();function ox(e){var t={},r=e.match(Cr),a=0,n=!1;if(r)for(;a!=r.length;++a){var i=_e(r[a]);switch(i[0].replace(/\w*:/g,"")){case"":case"":t.shadow=1;break;case"":break;case"":case"":t.outline=1;break;case"":break;case"":case"":t.strike=1;break;case"":break;case"":case"":t.u=1;break;case"":break;case"":case"":t.b=1;break;case"":break;case"":case"":t.i=1;break;case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":break;case"":n=!1;break;default:if(i[0].charCodeAt(1)!==47&&!n)throw new Error("Unrecognized rich format "+i[0])}}return t}var lx=function(){var e=rn("t"),t=rn("rPr");function r(i){var s=i.match(e);if(!s)return{t:"s",v:""};var f={t:"s",v:Oe(s[1])},c=i.match(t);return c&&(f.s=ox(c[1])),f}var a=/<(?:\w+:)?r>/g,n=/<\/(?:\w+:)?r>/;return function(s){return s.replace(a,"").split(n).map(r).filter(function(f){return f.v})}}(),ux=function(){var t=/(\r\n|\n)/g;function r(n,i,s){var f=[];n.u&&f.push("text-decoration: underline;"),n.uval&&f.push("text-underline-style:"+n.uval+";"),n.sz&&f.push("font-size:"+n.sz+"pt;"),n.outline&&f.push("text-effect: outline;"),n.shadow&&f.push("text-shadow: auto;"),i.push(''),n.b&&(i.push(""),s.push("")),n.i&&(i.push(""),s.push("")),n.strike&&(i.push(""),s.push(""));var c=n.valign||"";return c=="superscript"||c=="super"?c="sup":c=="subscript"&&(c="sub"),c!=""&&(i.push("<"+c+">"),s.push("")),s.push(""),n}function a(n){var i=[[],n.v,[]];return n.v?(n.s&&r(n.s,i[0],i[2]),i[0].join("")+i[1].replace(t,"
")+i[2].join("")):""}return function(i){return i.map(a).join("")}}(),hx=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,xx=/<(?:\w+:)?r>/,dx=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function di(e,t){var r=t?t.cellHTML:!0,a={};return e?(e.match(/^\s*<(?:\w+:)?t[^>]*>/)?(a.t=Oe(Me(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||"")),a.r=Me(e),r&&(a.h=ei(a.t))):e.match(xx)&&(a.r=Me(e),a.t=Oe(Me((e.replace(dx,"").match(hx)||[]).join("").replace(Cr,""))),r&&(a.h=ux(lx(a.r)))),a):{t:""}}var px=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/,vx=/<(?:\w+:)?(?:si|sstItem)>/g,mx=/<\/(?:\w+:)?(?:si|sstItem)>/;function gx(e,t){var r=[],a="";if(!e)return r;var n=e.match(px);if(n){a=n[2].replace(vx,"").split(mx);for(var i=0;i!=a.length;++i){var s=di(a[i].trim(),t);s!=null&&(r[r.length]=s)}n=_e(n[1]),r.Count=n.count,r.Unique=n.uniqueCount}return r}var _x=/^\s|\s$|[\t\n\r]/;function Fc(e,t){if(!t.bookSST)return"";var r=[ar];r[r.length]=se("sst",null,{xmlns:sa[0],count:e.Count,uniqueCount:e.Unique});for(var a=0;a!=e.length;++a)if(e[a]!=null){var n=e[a],i="";n.r?i+=n.r:(i+=""),i+="",r[r.length]=i}return r.length>2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}function wx(e){return[e.read_shift(4),e.read_shift(4)]}function kx(e,t){var r=[],a=!1;return yt(e,function(i,s,f){switch(f){case 159:r.Count=i[0],r.Unique=i[1];break;case 19:r.push(i);break;case 160:return!0;case 35:a=!0;break;case 36:a=!1;break;default:if(s.T,!a||t.WTF)throw new Error("Unexpected record 0x"+f.toString(16))}}),r}function Tx(e,t){return t||(t=z(8)),t.write_shift(4,e.Count),t.write_shift(4,e.Unique),t}var Ex=Ru;function Sx(e){var t=Nr();Y(t,159,Tx(e));for(var r=0;r=4&&(e.l+=t-4),r}function Fx(e){var t={};return t.id=e.read_shift(0,"lpp4"),t.R=Tt(e,4),t.U=Tt(e,4),t.W=Tt(e,4),t}function yx(e){for(var t=e.read_shift(4),r=e.l+t-4,a={},n=e.read_shift(4),i=[];n-- >0;)i.push({t:e.read_shift(4),v:e.read_shift(0,"lpp4")});if(a.name=e.read_shift(0,"lpp4"),a.comps=i,e.l!=r)throw new Error("Bad DataSpaceMapEntry: "+e.l+" != "+r);return a}function Ax(e){var t=[];e.l+=4;for(var r=e.read_shift(4);r-- >0;)t.push(yx(e));return t}function Cx(e){var t=[];e.l+=4;for(var r=e.read_shift(4);r-- >0;)t.push(e.read_shift(0,"lpp4"));return t}function bx(e){var t={};return e.read_shift(4),e.l+=4,t.id=e.read_shift(0,"lpp4"),t.name=e.read_shift(0,"lpp4"),t.R=Tt(e,4),t.U=Tt(e,4),t.W=Tt(e,4),t}function Dx(e){var t=bx(e);if(t.ename=e.read_shift(0,"8lpp4"),t.blksz=e.read_shift(4),t.cmode=e.read_shift(4),e.read_shift(4)!=4)throw new Error("Bad !Primary record");return t}function Ac(e,t){var r=e.l+t,a={};a.Flags=e.read_shift(4)&63,e.l+=4,a.AlgID=e.read_shift(4);var n=!1;switch(a.AlgID){case 26126:case 26127:case 26128:n=a.Flags==36;break;case 26625:n=a.Flags==4;break;case 0:n=a.Flags==16||a.Flags==4||a.Flags==36;break;default:throw"Unrecognized encryption algorithm: "+a.AlgID}if(!n)throw new Error("Encryption Flags/AlgID mismatch");return a.AlgIDHash=e.read_shift(4),a.KeySize=e.read_shift(4),a.ProviderType=e.read_shift(4),e.l+=8,a.CSPName=e.read_shift(r-e.l>>1,"utf16le"),e.l=r,a}function Cc(e,t){var r={},a=e.l+t;return e.l+=4,r.Salt=e.slice(e.l,e.l+16),e.l+=16,r.Verifier=e.slice(e.l,e.l+16),e.l+=16,e.read_shift(4),r.VerifierHash=e.slice(e.l,a),e.l=a,r}function Ix(e){var t=Tt(e);switch(t.Minor){case 2:return[t.Minor,Ox(e)];case 3:return[t.Minor,Rx()];case 4:return[t.Minor,Nx(e)]}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+t.Minor)}function Ox(e){var t=e.read_shift(4);if((t&63)!=36)throw new Error("EncryptionInfo mismatch");var r=e.read_shift(4),a=Ac(e,r),n=Cc(e,e.length-e.l);return{t:"Std",h:a,v:n}}function Rx(){throw new Error("File is password-protected: ECMA-376 Extensible")}function Nx(e){var t=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];e.l+=4;var r=e.read_shift(e.length-e.l,"utf8"),a={};return r.replace(Cr,function(i){var s=_e(i);switch(pt(s[0])){case"":break;case"":case"":break;case"":break;case"4||a.Major<2)throw new Error("unrecognized major version code: "+a.Major);r.Flags=e.read_shift(4),t-=4;var n=e.read_shift(4);return t-=4,r.EncryptionHeader=Ac(e,n),t-=n,r.EncryptionVerifier=Cc(e,t),r}function Lx(e){var t={},r=t.EncryptionVersionInfo=Tt(e,4);if(r.Major!=1||r.Minor!=1)throw"unrecognized version code "+r.Major+" : "+r.Minor;return t.Salt=e.read_shift(16),t.EncryptedVerifier=e.read_shift(16),t.EncryptedVerifierHash=e.read_shift(16),t}function pi(e){var t=0,r,a=yc(e),n=a.length+1,i,s,f,c,o;for(r=Lt(n),r[0]=a.length,i=1;i!=n;++i)r[i]=a[i-1];for(i=n-1;i>=0;--i)s=r[i],f=t&16384?1:0,c=t<<1&32767,o=f|c,t=o^s;return t^52811}var bc=function(){var e=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0],t=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163],r=[44796,19929,39858,10053,20106,40212,10761,31585,63170,64933,60267,50935,40399,11199,17763,35526,1453,2906,5812,11624,23248,885,1770,3540,7080,14160,28320,56640,55369,41139,20807,41614,21821,43642,17621,28485,56970,44341,19019,38038,14605,29210,60195,50791,40175,10751,21502,43004,24537,18387,36774,3949,7898,15796,31592,63184,47201,24803,49606,37805,14203,28406,56812,17824,35648,1697,3394,6788,13576,27152,43601,17539,35078,557,1114,2228,4456,30388,60776,51953,34243,7079,14158,28316,14128,28256,56512,43425,17251,34502,7597,13105,26210,52420,35241,883,1766,3532,4129,8258,16516,33032,4657,9314,18628],a=function(s){return(s/2|s*128)&255},n=function(s,f){return a(s^f)},i=function(s){for(var f=t[s.length-1],c=104,o=s.length-1;o>=0;--o)for(var l=s[o],u=0;u!=7;++u)l&64&&(f^=r[c]),l*=2,--c;return f};return function(s){for(var f=yc(s),c=i(f),o=f.length,l=Lt(16),u=0;u!=16;++u)l[u]=0;var h,x,p;for((o&1)===1&&(h=c>>8,l[o]=n(e[0],h),--o,h=c&255,x=f[f.length-1],l[o]=n(x,h));o>0;)--o,h=c>>8,l[o]=n(f[o],h),--o,h=c&255,l[o]=n(f[o],h);for(o=15,p=15-f.length;p>0;)h=c>>8,l[o]=n(e[p],h),--o,--p,h=c&255,l[o]=n(f[o],h),--o,--p;return l}}(),Bx=function(e,t,r,a,n){n||(n=t),a||(a=bc(e));var i,s;for(i=0;i!=t.length;++i)s=t[i],s^=a[r],s=(s>>5|s<<3)&255,n[i]=s,++r;return[n,r,a]},Mx=function(e){var t=0,r=bc(e);return function(a){var n=Bx("",a,t,r);return t=n[1],n[0]}};function Ux(e,t,r,a){var n={key:sr(e),verificationBytes:sr(e)};return r.password&&(n.verifier=pi(r.password)),a.valid=n.verificationBytes===n.verifier,a.valid&&(a.insitu=Mx(r.password)),n}function Wx(e,t,r){var a=r||{};return a.Info=e.read_shift(2),e.l-=2,a.Info===1?a.Data=Lx(e):a.Data=Px(e,t),a}function Hx(e,t,r){var a={Type:r.biff>=8?e.read_shift(2):0};return a.Type?Wx(e,t-2,a):Ux(e,r.biff>=8?t:t-2,r,a),a}var Dc=function(){function e(n,i){switch(i.type){case"base64":return t(Hr(n),i);case"binary":return t(n,i);case"buffer":return t(Fe&&Buffer.isBuffer(n)?n.toString("binary"):Wt(n),i);case"array":return t(ea(n),i)}throw new Error("Unrecognized type "+i.type)}function t(n,i){var s=i||{},f=s.dense?[]:{},c=n.match(/\\trowd.*?\\row\b/g);if(!c.length)throw new Error("RTF missing table");var o={s:{c:0,r:0},e:{c:0,r:c.length-1}};return c.forEach(function(l,u){Array.isArray(f)&&(f[u]=[]);for(var h=/\\\w+\b/g,x=0,p,d=-1;p=h.exec(l);){switch(p[0]){case"\\cell":var v=l.slice(x,h.lastIndex-p[0].length);if(v[0]==" "&&(v=v.slice(1)),++d,v.length){var k={v,t:"s"};Array.isArray(f)?f[u][d]=k:f[ge({r:u,c:d})]=k}break}x=h.lastIndex}d>o.e.c&&(o.e.c=d)}),f["!ref"]=Te(o),f}function r(n,i){return Ht(e(n,i),i)}function a(n){for(var i=["{\\rtf1\\ansi"],s=Re(n["!ref"]),f,c=Array.isArray(n),o=s.s.r;o<=s.e.r;++o){i.push("\\trowd\\trautofit1");for(var l=s.s.c;l<=s.e.c;++l)i.push("\\cellx"+(l+1));for(i.push("\\pard\\intbl"),l=s.s.c;l<=s.e.c;++l){var u=ge({r:o,c:l});f=c?(n[o]||[])[l]:n[u],!(!f||f.v==null&&(!f.f||f.F))&&(i.push(" "+(f.w||(St(f),f.w))),i.push("\\cell"))}i.push("\\pard\\intbl\\row")}return i.join("")+"}"}return{to_workbook:r,to_sheet:e,from_sheet:a}}();function Vx(e){var t=e.slice(e[0]==="#"?1:0).slice(0,6);return[parseInt(t.slice(0,2),16),parseInt(t.slice(2,4),16),parseInt(t.slice(4,6),16)]}function sn(e){for(var t=0,r=1;t!=3;++t)r=r*256+(e[t]>255?255:e[t]<0?0:e[t]);return r.toString(16).toUpperCase().slice(1)}function Gx(e){var t=e[0]/255,r=e[1]/255,a=e[2]/255,n=Math.max(t,r,a),i=Math.min(t,r,a),s=n-i;if(s===0)return[0,0,t];var f=0,c=0,o=n+i;switch(c=s/(o>1?2-o:o),n){case t:f=((r-a)/s+6)%6;break;case r:f=(a-t)/s+2;break;case a:f=(t-r)/s+4;break}return[f/6,c,o/2]}function Xx(e){var t=e[0],r=e[1],a=e[2],n=r*2*(a<.5?a:1-a),i=a-n/2,s=[i,i,i],f=6*t,c;if(r!==0)switch(f|0){case 0:case 6:c=n*f,s[0]+=n,s[1]+=c;break;case 1:c=n*(2-f),s[0]+=c,s[1]+=n;break;case 2:c=n*(f-2),s[1]+=n,s[2]+=c;break;case 3:c=n*(4-f),s[1]+=c,s[2]+=n;break;case 4:c=n*(f-4),s[2]+=n,s[0]+=c;break;case 5:c=n*(6-f),s[2]+=c,s[0]+=n;break}for(var o=0;o!=3;++o)s[o]=Math.round(s[o]*255);return s}function Jn(e,t){if(t===0)return e;var r=Gx(Vx(e));return t<0?r[2]=r[2]*(1+t):r[2]=1-(1-r[2])*(1-t),sn(Xx(r))}var Ic=6,zx=15,$x=1,Tr=Ic;function fn(e){return Math.floor((e+Math.round(128/Tr)/256)*Tr)}function cn(e){return Math.floor((e-5)/Tr*100+.5)/100}function qn(e){return Math.round((e*Tr+5)/Tr*256)/256}function m0(e){return qn(cn(fn(e)))}function vi(e){var t=Math.abs(e-m0(e)),r=Tr;if(t>.005)for(Tr=$x;Tr":case"":break;case"":case"":n={},f.diagonalUp&&(n.diagonalUp=He(f.diagonalUp)),f.diagonalDown&&(n.diagonalDown=He(f.diagonalDown)),t.Borders.push(n);break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":break;case"":case"":break;case"":case"":break;case"":i=!1;break;default:if(a&&a.WTF&&!i)throw new Error("unrecognized "+f[0]+" in borders")}})}function Jx(e,t,r,a){t.Fills=[];var n={},i=!1;(e[0].match(Cr)||[]).forEach(function(s){var f=_e(s);switch(pt(f[0])){case"":case"":break;case"":case"":n={},t.Fills.push(n);break;case"":break;case"":break;case"":t.Fills.push(n),n={};break;case"":f.patternType&&(n.patternType=f.patternType);break;case"":case"":break;case"":case"":break;case"":case"":break;case"":break;case"":break;case"":break;case"":break;case"":case"":break;case"":i=!1;break;default:if(a&&a.WTF&&!i)throw new Error("unrecognized "+f[0]+" in fills")}})}function qx(e,t,r,a){t.Fonts=[];var n={},i=!1;(e[0].match(Cr)||[]).forEach(function(s){var f=_e(s);switch(pt(f[0])){case"":case"":break;case"":break;case"":case"":t.Fonts.push(n),n={};break;case"":case"":break;case"":n.bold=1;break;case"":n.italic=1;break;case"":n.underline=1;break;case"":n.strike=1;break;case"":n.outline=1;break;case"":n.shadow=1;break;case"":n.condense=1;break;case"":n.extend=1;break;case"":case"
":break;case"":case"":break;case"":case"":break;case"":case"":break;case"":case"":break;case"":i=!1;break;case"":case"":break;case"":i=!1;break;default:if(a&&a.WTF&&!i)throw new Error("unrecognized "+f[0]+" in fonts")}})}function Zx(e,t,r){t.NumberFmt=[];for(var a=Ze(me),n=0;n":case"":case"":break;case"0){if(c>392){for(c=392;c>60&&t.NumberFmt[c]!=null;--c);t.NumberFmt[c]=f}xt(f,c)}}break;case"":break;default:if(r.WTF)throw new Error("unrecognized "+s[0]+" in numFmts")}}}function Qx(e){var t=[""];return[[5,8],[23,26],[41,44],[50,392]].forEach(function(r){for(var a=r[0];a<=r[1];++a)e[a]!=null&&(t[t.length]=se("numFmt",null,{numFmtId:a,formatCode:Be(e[a])}))}),t.length===1?"":(t[t.length]="",t[0]=se("numFmts",null,{count:t.length-2}).replace("/>",">"),t.join(""))}var In=["numFmtId","fillId","fontId","borderId","xfId"],On=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];function ed(e,t,r){t.CellXf=[];var a,n=!1;(e[0].match(Cr)||[]).forEach(function(i){var s=_e(i),f=0;switch(pt(s[0])){case"":case"":case"":break;case"":for(a=s,delete a[0],f=0;f392){for(f=392;f>60;--f)if(t.NumberFmt[a.numFmtId]==t.NumberFmt[f]){a.numFmtId=f;break}}t.CellXf.push(a);break;case"":break;case"":var c={};s.vertical&&(c.vertical=s.vertical),s.horizontal&&(c.horizontal=s.horizontal),s.textRotation!=null&&(c.textRotation=s.textRotation),s.indent&&(c.indent=s.indent),s.wrapText&&(c.wrapText=He(s.wrapText)),a.alignment=c;break;case"":break;case"":case"":break;case"":n=!1;break;case"":case"":break;case"":n=!1;break;default:if(r&&r.WTF&&!n)throw new Error("unrecognized "+s[0]+" in cellXfs")}})}function rd(e){var t=[];return t[t.length]=se("cellXfs",null),e.forEach(function(r){t[t.length]=se("xf",null,r)}),t[t.length]="",t.length===2?"":(t[0]=se("cellXfs",null,{count:t.length-2}).replace("/>",">"),t.join(""))}var td=function(){var t=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/,r=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/,a=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/,n=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/,i=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function(f,c,o){var l={};if(!f)return l;f=f.replace(//mg,"").replace(//gm,"");var u;return(u=f.match(t))&&Zx(u,l,o),(u=f.match(n))&&qx(u,l,c,o),(u=f.match(a))&&Jx(u,l,c,o),(u=f.match(i))&&Yx(u,l,c,o),(u=f.match(r))&&ed(u,l,o),l}}();function Rc(e,t){var r=[ar,se("styleSheet",null,{xmlns:sa[0],"xmlns:vt":or.vt})],a;return e.SSF&&(a=Qx(e.SSF))!=null&&(r[r.length]=a),r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',(a=rd(t.cellXfs))&&(r[r.length]=a),r[r.length]='',r[r.length]='',r[r.length]='',r.length>2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}function ad(e,t){var r=e.read_shift(2),a=yr(e);return[r,a]}function nd(e,t,r){r||(r=z(6+4*t.length)),r.write_shift(2,e),xr(t,r);var a=r.length>r.l?r.slice(0,r.l):r;return r.l==null&&(r.l=r.length),a}function id(e,t,r){var a={};a.sz=e.read_shift(2)/20;var n=Wu(e);n.fItalic&&(a.italic=1),n.fCondense&&(a.condense=1),n.fExtend&&(a.extend=1),n.fShadow&&(a.shadow=1),n.fOutline&&(a.outline=1),n.fStrikeout&&(a.strike=1);var i=e.read_shift(2);switch(i===700&&(a.bold=1),e.read_shift(2)){case 1:a.vertAlign="superscript";break;case 2:a.vertAlign="subscript";break}var s=e.read_shift(1);s!=0&&(a.underline=s);var f=e.read_shift(1);f>0&&(a.family=f);var c=e.read_shift(1);switch(c>0&&(a.charset=c),e.l++,a.color=Uu(e),e.read_shift(1)){case 1:a.scheme="major";break;case 2:a.scheme="minor";break}return a.name=yr(e),a}function sd(e,t){t||(t=z(25+4*32)),t.write_shift(2,e.sz*20),Hu(e,t),t.write_shift(2,e.bold?700:400);var r=0;e.vertAlign=="superscript"?r=1:e.vertAlign=="subscript"&&(r=2),t.write_shift(2,r),t.write_shift(1,e.underline||0),t.write_shift(1,e.family||0),t.write_shift(1,e.charset||0),t.write_shift(1,0),Kn(e.color,t);var a=0;return e.scheme=="major"&&(a=1),e.scheme=="minor"&&(a=2),t.write_shift(1,a),xr(e.name,t),t.length>t.l?t.slice(0,t.l):t}var fd=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],g0,cd=Ar;function Os(e,t){t||(t=z(4*3+8*7+16*1)),g0||(g0=a0(fd));var r=g0[e.patternType];r==null&&(r=40),t.write_shift(4,r);var a=0;if(r!=40)for(Kn({auto:1},t),Kn({auto:1},t);a<12;++a)t.write_shift(4,0);else{for(;a<4;++a)t.write_shift(4,0);for(;a<12;++a)t.write_shift(4,0)}return t.length>t.l?t.slice(0,t.l):t}function od(e,t){var r=e.l+t,a=e.read_shift(2),n=e.read_shift(2);return e.l=r,{ixfe:a,numFmtId:n}}function Nc(e,t,r){r||(r=z(16)),r.write_shift(2,t||0),r.write_shift(2,e.numFmtId||0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(1,0),r.write_shift(1,0);var a=0;return r.write_shift(1,a),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(1,0),r}function Ma(e,t){return t||(t=z(10)),t.write_shift(1,0),t.write_shift(1,0),t.write_shift(4,0),t.write_shift(4,0),t}var ld=Ar;function ud(e,t){return t||(t=z(51)),t.write_shift(1,0),Ma(null,t),Ma(null,t),Ma(null,t),Ma(null,t),Ma(null,t),t.length>t.l?t.slice(0,t.l):t}function hd(e,t){return t||(t=z(12+4*10)),t.write_shift(4,e.xfId),t.write_shift(2,1),t.write_shift(1,+e.builtinId),t.write_shift(1,0),$n(e.name||"",t),t.length>t.l?t.slice(0,t.l):t}function xd(e,t,r){var a=z(2052);return a.write_shift(4,e),$n(t,a),$n(r,a),a.length>a.l?a.slice(0,a.l):a}function dd(e,t,r){var a={};a.NumberFmt=[];for(var n in me)a.NumberFmt[n]=me[n];a.CellXf=[],a.Fonts=[];var i=[],s=!1;return yt(e,function(c,o,l){switch(l){case 44:a.NumberFmt[c[0]]=c[1],xt(c[1],c[0]);break;case 43:a.Fonts.push(c),c.color.theme!=null&&t&&t.themeElements&&t.themeElements.clrScheme&&(c.color.rgb=Jn(t.themeElements.clrScheme[c.color.theme].rgb,c.color.tint||0));break;case 1025:break;case 45:break;case 46:break;case 47:i[i.length-1]==617&&a.CellXf.push(c);break;case 48:case 507:case 572:case 475:break;case 1171:case 2102:case 1130:case 512:case 2095:case 3072:break;case 35:s=!0;break;case 36:s=!1;break;case 37:i.push(l),s=!0;break;case 38:i.pop(),s=!1;break;default:if(o.T>0)i.push(l);else if(o.T<0)i.pop();else if(!s||r.WTF&&i[i.length-1]!=37)throw new Error("Unexpected record 0x"+l.toString(16))}}),a}function pd(e,t){if(t){var r=0;[[5,8],[23,26],[41,44],[50,392]].forEach(function(a){for(var n=a[0];n<=a[1];++n)t[n]!=null&&++r}),r!=0&&(Y(e,615,st(r)),[[5,8],[23,26],[41,44],[50,392]].forEach(function(a){for(var n=a[0];n<=a[1];++n)t[n]!=null&&Y(e,44,nd(n,t[n]))}),Y(e,616))}}function vd(e){var t=1;Y(e,611,st(t)),Y(e,43,sd({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),Y(e,612)}function md(e){var t=2;Y(e,603,st(t)),Y(e,45,Os({patternType:"none"})),Y(e,45,Os({patternType:"gray125"})),Y(e,604)}function gd(e){var t=1;Y(e,613,st(t)),Y(e,46,ud()),Y(e,614)}function _d(e){var t=1;Y(e,626,st(t)),Y(e,47,Nc({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),Y(e,627)}function wd(e,t){Y(e,617,st(t.length)),t.forEach(function(r){Y(e,47,Nc(r,0))}),Y(e,618)}function kd(e){var t=1;Y(e,619,st(t)),Y(e,48,hd({xfId:0,builtinId:0,name:"Normal"})),Y(e,620)}function Td(e){var t=0;Y(e,505,st(t)),Y(e,506)}function Ed(e){var t=0;Y(e,508,xd(t,"TableStyleMedium9","PivotStyleMedium4")),Y(e,509)}function Sd(e,t){var r=Nr();return Y(r,278),pd(r,e.SSF),vd(r),md(r),gd(r),_d(r),wd(r,t.cellXfs),kd(r),Td(r),Ed(r),Y(r,279),r.end()}var Fd=["","","","","","","","","","","",""];function yd(e,t,r){t.themeElements.clrScheme=[];var a={};(e[0].match(Cr)||[]).forEach(function(n){var i=_e(n);switch(i[0]){case"":break;case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":i[0].charAt(1)==="/"?(t.themeElements.clrScheme[Fd.indexOf(i[0])]=a,a={}):a.name=i[0].slice(3,i[0].length-1);break;default:if(r&&r.WTF)throw new Error("Unrecognized "+i[0]+" in clrScheme")}})}function Ad(){}function Cd(){}var bd=/]*)>[\s\S]*<\/a:clrScheme>/,Dd=/]*)>[\s\S]*<\/a:fontScheme>/,Id=/]*)>[\s\S]*<\/a:fmtScheme>/;function Od(e,t,r){t.themeElements={};var a;[["clrScheme",bd,yd],["fontScheme",Dd,Ad],["fmtScheme",Id,Cd]].forEach(function(n){if(!(a=e.match(n[1])))throw new Error(n[0]+" not found in themeElements");n[2](a,t,r)})}var Rd=/]*)>[\s\S]*<\/a:themeElements>/;function Pc(e,t){(!e||e.length===0)&&(e=mi());var r,a={};if(!(r=e.match(Rd)))throw new Error("themeElements not found in theme");return Od(r[0],a,t),a.raw=e,a}function mi(e,t){if(t&&t.themeXLSX)return t.themeXLSX;if(e&&typeof e.raw=="string")return e.raw;var r=[ar];return r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r.join("")}function Nd(e,t,r){var a=e.l+t,n=e.read_shift(4);if(n!==124226){if(!r.cellStyles){e.l=a;return}var i=e.slice(e.l);e.l=a;var s;try{s=Af(i,{type:"array"})}catch{return}var f=Wr(s,"theme/theme/theme1.xml",!0);if(f)return Pc(f,r)}}function Pd(e){return e.read_shift(4)}function Ld(e){var t={};switch(t.xclrType=e.read_shift(2),t.nTintShade=e.read_shift(2),t.xclrType){case 0:e.l+=4;break;case 1:t.xclrValue=Bd(e,4);break;case 2:t.xclrValue=dc(e);break;case 3:t.xclrValue=Pd(e);break;case 4:e.l+=4;break}return e.l+=8,t}function Bd(e,t){return Ar(e,t)}function Md(e,t){return Ar(e,t)}function Ud(e){var t=e.read_shift(2),r=e.read_shift(2)-4,a=[t];switch(t){case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 13:a[1]=Ld(e);break;case 6:a[1]=Md(e,r);break;case 14:case 15:a[1]=e.read_shift(r===1?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+t+" "+r)}return a}function Wd(e,t){var r=e.l+t;e.l+=2;var a=e.read_shift(2);e.l+=2;for(var n=e.read_shift(2),i=[];n-- >0;)i.push(Ud(e,r-e.l));return{ixfe:a,ext:i}}function Hd(e,t){t.forEach(function(r){switch(r[0]){}})}function Vd(e,t){return{flags:e.read_shift(4),version:e.read_shift(4),name:yr(e)}}function Gd(e){var t=z(12+2*e.name.length);return t.write_shift(4,e.flags),t.write_shift(4,e.version),xr(e.name,t),t.slice(0,t.l)}function Xd(e){for(var t=[],r=e.read_shift(4);r-- >0;)t.push([e.read_shift(4),e.read_shift(4)]);return t}function zd(e){var t=z(4+8*e.length);t.write_shift(4,e.length);for(var r=0;r":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":i=2;break;case"":i=2;break;case"":case"":case"":break;case"":n=!1;break;case" + + + + + + + + + + + + + + + + + +`),e.join("")}function Zd(e){var t=[];if(!e)return t;var r=1;return(e.match(Cr)||[]).forEach(function(a){var n=_e(a);switch(n[0]){case"":case"":break;case"]*r:id="([^"]*)"/)||["",""])[1];return t["!id"][r].Target}var ga=1024;function Bc(e,t){for(var r=[21600,21600],a=["m0,0l0",r[1],r[0],r[1],r[0],"0xe"].join(","),n=[se("xml",null,{"xmlns:v":Br.v,"xmlns:o":Br.o,"xmlns:x":Br.x,"xmlns:mv":Br.mv}).replace(/\/>/,">"),se("o:shapelayout",se("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),se("v:shapetype",[se("v:stroke",null,{joinstyle:"miter"}),se("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:r.join(","),path:a})];ga",o,se("v:shadow",null,l),se("v:path",null,{"o:connecttype":"none"}),'
','',"","",mr("x:Anchor",[s.c+1,0,s.r+1,0,s.c+3,20,s.r+5,20].join(",")),mr("x:AutoFill","False"),mr("x:Row",String(s.r)),mr("x:Column",String(s.c)),i[1].hidden?"":"","",""])}),n.push(""),n.join("")}function Rs(e,t,r,a){var n=Array.isArray(e),i;t.forEach(function(s){var f=Ye(s.ref);if(n?(e[f.r]||(e[f.r]=[]),i=e[f.r][f.c]):i=e[s.ref],!i){i={t:"z"},n?e[f.r][f.c]=i:e[s.ref]=i;var c=Re(e["!ref"]||"BDWGO1000001:A1");c.s.r>f.r&&(c.s.r=f.r),c.e.rf.c&&(c.s.c=f.c),c.e.c=0;--u){if(!r&&i.c[u].T)return;r&&!i.c[u].T&&i.c.splice(u,1)}if(r&&a){for(u=0;u/))return[];var r=[],a=[],n=e.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);n&&n[1]&&n[1].split(/<\/\w*:?author>/).forEach(function(s){if(!(s===""||s.trim()==="")){var f=s.match(/<(?:\w+:)?author[^>]*>(.*)/);f&&r.push(f[1])}});var i=e.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);return i&&i[1]&&i[1].split(/<\/\w*:?comment>/).forEach(function(s){if(!(s===""||s.trim()==="")){var f=s.match(/<(?:\w+:)?comment[^>]*>/);if(f){var c=_e(f[0]),o={author:c.authorId&&r[c.authorId]||"sheetjsghost",ref:c.ref,guid:c.guid},l=Ye(c.ref);if(!(t.sheetRows&&t.sheetRows<=l.r)){var u=s.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/),h=!!u&&!!u[1]&&di(u[1])||{r:"",t:"",h:""};o.r=h.r,h.r==""&&(h.t=h.h=""),o.t=(h.t||"").replace(/\r\n/g,` +`).replace(/\r/g,` +`),t.cellHTML&&(o.h=h.h),a.push(o)}}}}),a}function Mc(e){var t=[ar,se("comments",null,{xmlns:sa[0]})],r=[];return t.push(""),e.forEach(function(a){a[1].forEach(function(n){var i=Be(n.a);r.indexOf(i)==-1&&(r.push(i),t.push(""+i+"")),n.T&&n.ID&&r.indexOf("tc="+n.ID)==-1&&(r.push("tc="+n.ID),t.push("tc="+n.ID+""))})}),r.length==0&&(r.push("SheetJ5"),t.push("SheetJ5")),t.push(""),t.push(""),e.forEach(function(a){var n=0,i=[];if(a[1][0]&&a[1][0].T&&a[1][0].ID?n=r.indexOf("tc="+a[1][0].ID):a[1].forEach(function(c){c.a&&(n=r.indexOf(Be(c.a))),i.push(c.t||"")}),t.push(''),i.length<=1)t.push(mr("t",Be(i[0]||"")));else{for(var s=`Comment: + `+i[0]+` +`,f=1;f")}),t.push(""),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}function np(e,t){var r=[],a=!1,n={},i=0;return e.replace(Cr,function(f,c){var o=_e(f);switch(pt(o[0])){case"":break;case"":n.t!=null&&r.push(n);break;case"":case"":n.t=e.slice(i,c).replace(/\r\n/g,` +`).replace(/\r/g,` +`);break;case"":a=!0;break;case"":a=!1;break;case"":case"
":case"":break;case"":a=!1;break;default:if(!a&&t.WTF)throw new Error("unrecognized "+o[0]+" in threaded comments")}return f}),r}function ip(e,t,r){var a=[ar,se("ThreadedComments",null,{xmlns:or.TCMNT}).replace(/[\/]>/,">")];return e.forEach(function(n){var i="";(n[1]||[]).forEach(function(s,f){if(!s.T){delete s.ID;return}s.a&&t.indexOf(s.a)==-1&&t.push(s.a);var c={ref:n[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+r.tcid++).slice(-12)+"}"};f==0?i=c.id:c.parentId=i,s.ID=c.id,s.a&&(c.personId="{54EE7950-7262-4200-6969-"+("000000000000"+t.indexOf(s.a)).slice(-12)+"}"),a.push(se("threadedComment",mr("text",s.t||""),c))})}),a.push(""),a.join("")}function sp(e,t){var r=[],a=!1;return e.replace(Cr,function(i){var s=_e(i);switch(pt(s[0])){case"":break;case"":break;case"":case"":case"":break;case"":a=!1;break;default:if(!a&&t.WTF)throw new Error("unrecognized "+s[0]+" in threaded comments")}return i}),r}function fp(e){var t=[ar,se("personList",null,{xmlns:or.TCMNT,"xmlns:x":sa[0]}).replace(/[\/]>/,">")];return e.forEach(function(r,a){t.push(se("person",null,{displayName:r,id:"{54EE7950-7262-4200-6969-"+("000000000000"+a).slice(-12)+"}",userId:r,providerId:"None"}))}),t.push(""),t.join("")}function cp(e){var t={};t.iauthor=e.read_shift(4);var r=la(e);return t.rfx=r.s,t.ref=ge(r.s),e.l+=16,t}function op(e,t){return t==null&&(t=z(36)),t.write_shift(4,e[1].iauthor),Ia(e[0],t),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t}var lp=yr;function up(e){return xr(e.slice(0,54))}function hp(e,t){var r=[],a=[],n={},i=!1;return yt(e,function(f,c,o){switch(o){case 632:a.push(f);break;case 635:n=f;break;case 637:n.t=f.t,n.h=f.h,n.r=f.r;break;case 636:if(n.author=a[n.iauthor],delete n.iauthor,t.sheetRows&&n.rfx&&t.sheetRows<=n.rfx.r)break;n.t||(n.t=""),delete n.rfx,r.push(n);break;case 3072:break;case 35:i=!0;break;case 36:i=!1;break;case 37:break;case 38:break;default:if(!c.T){if(!i||t.WTF)throw new Error("Unexpected record 0x"+o.toString(16))}}}),r}function xp(e){var t=Nr(),r=[];return Y(t,628),Y(t,630),e.forEach(function(a){a[1].forEach(function(n){r.indexOf(n.a)>-1||(r.push(n.a.slice(0,54)),Y(t,632,up(n.a)))})}),Y(t,631),Y(t,633),e.forEach(function(a){a[1].forEach(function(n){n.iauthor=r.indexOf(n.a);var i={s:Ye(a[0]),e:Ye(a[0])};Y(t,635,op([i,n])),n.t&&n.t.length>0&&Y(t,637,Pu(n)),Y(t,636),delete n.iauthor})}),Y(t,634),Y(t,629),t.end()}var dp="application/vnd.ms-office.vbaProject";function pp(e){var t=pe.utils.cfb_new({root:"R"});return e.FullPaths.forEach(function(r,a){if(!(r.slice(-1)==="/"||!r.match(/_VBA_PROJECT_CUR/))){var n=r.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");pe.utils.cfb_add(t,n,e.FileIndex[a].content)}}),pe.write(t)}function vp(e,t){t.FullPaths.forEach(function(r,a){if(a!=0){var n=r.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");n.slice(-1)!=="/"&&pe.utils.cfb_add(e,n,t.FileIndex[a].content)}})}var Uc=["xlsb","xlsm","xlam","biff8","xla"];function mp(){return{"!type":"dialog"}}function gp(){return{"!type":"dialog"}}function _p(){return{"!type":"macro"}}function wp(){return{"!type":"macro"}}var Ta=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,t={r:0,c:0};function r(a,n,i,s){var f=!1,c=!1;i.length==0?c=!0:i.charAt(0)=="["&&(c=!0,i=i.slice(1,-1)),s.length==0?f=!0:s.charAt(0)=="["&&(f=!0,s=s.slice(1,-1));var o=i.length>0?parseInt(i,10)|0:0,l=s.length>0?parseInt(s,10)|0:0;return f?l+=t.c:--l,c?o+=t.r:--o,n+(f?"":"$")+je(l)+(c?"":"$")+tr(o)}return function(n,i){return t=i,n.replace(e,r)}}(),gi=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,_i=function(){return function(t,r){return t.replace(gi,function(a,n,i,s,f,c){var o=ii(s)-(i?0:r.c),l=ni(c)-(f?0:r.r),u=l==0?"":f?l+1:"["+l+"]",h=o==0?"":i?o+1:"["+o+"]";return n+"R"+u+"C"+h})}}();function Wc(e,t){return e.replace(gi,function(r,a,n,i,s,f){return a+(n=="$"?n+i:je(ii(i)+t.c))+(s=="$"?s+f:tr(ni(f)+t.r))})}function kp(e,t,r){var a=Pr(t),n=a.s,i=Ye(r),s={r:i.r-n.r,c:i.c-n.c};return Wc(e,s)}function Tp(e){return e.length!=1}function Ns(e){return e.replace(/_xlfn\./g,"")}function nr(e){e.l+=1}function Mt(e,t){var r=e.read_shift(t==1?1:2);return[r&16383,r>>14&1,r>>15&1]}function Hc(e,t,r){var a=2;if(r){if(r.biff>=2&&r.biff<=5)return Vc(e);r.biff==12&&(a=4)}var n=e.read_shift(a),i=e.read_shift(a),s=Mt(e,2),f=Mt(e,2);return{s:{r:n,c:s[0],cRel:s[1],rRel:s[2]},e:{r:i,c:f[0],cRel:f[1],rRel:f[2]}}}function Vc(e){var t=Mt(e,2),r=Mt(e,2),a=e.read_shift(1),n=e.read_shift(1);return{s:{r:t[0],c:a,cRel:t[1],rRel:t[2]},e:{r:r[0],c:n,cRel:r[1],rRel:r[2]}}}function Ep(e,t,r){if(r.biff<8)return Vc(e);var a=e.read_shift(r.biff==12?4:2),n=e.read_shift(r.biff==12?4:2),i=Mt(e,2),s=Mt(e,2);return{s:{r:a,c:i[0],cRel:i[1],rRel:i[2]},e:{r:n,c:s[0],cRel:s[1],rRel:s[2]}}}function Gc(e,t,r){if(r&&r.biff>=2&&r.biff<=5)return Sp(e);var a=e.read_shift(r&&r.biff==12?4:2),n=Mt(e,2);return{r:a,c:n[0],cRel:n[1],rRel:n[2]}}function Sp(e){var t=Mt(e,2),r=e.read_shift(1);return{r:t[0],c:r,cRel:t[1],rRel:t[2]}}function Fp(e){var t=e.read_shift(2),r=e.read_shift(2);return{r:t,c:r&255,fQuoted:!!(r&16384),cRel:r>>15,rRel:r>>15}}function yp(e,t,r){var a=r&&r.biff?r.biff:8;if(a>=2&&a<=5)return Ap(e);var n=e.read_shift(a>=12?4:2),i=e.read_shift(2),s=(i&16384)>>14,f=(i&32768)>>15;if(i&=16383,f==1)for(;n>524287;)n-=1048576;if(s==1)for(;i>8191;)i=i-16384;return{r:n,c:i,cRel:s,rRel:f}}function Ap(e){var t=e.read_shift(2),r=e.read_shift(1),a=(t&32768)>>15,n=(t&16384)>>14;return t&=16383,a==1&&t>=8192&&(t=t-16384),n==1&&r>=128&&(r=r-256),{r:t,c:r,cRel:n,rRel:a}}function Cp(e,t,r){var a=(e[e.l++]&96)>>5,n=Hc(e,r.biff>=2&&r.biff<=5?6:8,r);return[a,n]}function bp(e,t,r){var a=(e[e.l++]&96)>>5,n=e.read_shift(2,"i"),i=8;if(r)switch(r.biff){case 5:e.l+=12,i=6;break;case 12:i=12;break}var s=Hc(e,i,r);return[a,n,s]}function Dp(e,t,r){var a=(e[e.l++]&96)>>5;return e.l+=r&&r.biff>8?12:r.biff<8?6:8,[a]}function Ip(e,t,r){var a=(e[e.l++]&96)>>5,n=e.read_shift(2),i=8;if(r)switch(r.biff){case 5:e.l+=12,i=6;break;case 12:i=12;break}return e.l+=i,[a,n]}function Op(e,t,r){var a=(e[e.l++]&96)>>5,n=Ep(e,t-1,r);return[a,n]}function Rp(e,t,r){var a=(e[e.l++]&96)>>5;return e.l+=r.biff==2?6:r.biff==12?14:7,[a]}function Ps(e){var t=e[e.l+1]&1,r=1;return e.l+=4,[t,r]}function Np(e,t,r){e.l+=2;for(var a=e.read_shift(r&&r.biff==2?1:2),n=[],i=0;i<=a;++i)n.push(e.read_shift(r&&r.biff==2?1:2));return n}function Pp(e,t,r){var a=e[e.l+1]&255?1:0;return e.l+=2,[a,e.read_shift(r&&r.biff==2?1:2)]}function Lp(e,t,r){var a=e[e.l+1]&255?1:0;return e.l+=2,[a,e.read_shift(r&&r.biff==2?1:2)]}function Bp(e){var t=e[e.l+1]&255?1:0;return e.l+=2,[t,e.read_shift(2)]}function Mp(e,t,r){var a=e[e.l+1]&255?1:0;return e.l+=r&&r.biff==2?3:4,[a]}function Xc(e){var t=e.read_shift(1),r=e.read_shift(1);return[t,r]}function Up(e){return e.read_shift(2),Xc(e)}function Wp(e){return e.read_shift(2),Xc(e)}function Hp(e,t,r){var a=(e[e.l]&96)>>5;e.l+=1;var n=Gc(e,0,r);return[a,n]}function Vp(e,t,r){var a=(e[e.l]&96)>>5;e.l+=1;var n=yp(e,0,r);return[a,n]}function Gp(e,t,r){var a=(e[e.l]&96)>>5;e.l+=1;var n=e.read_shift(2);r&&r.biff==5&&(e.l+=12);var i=Gc(e,0,r);return[a,n,i]}function Xp(e,t,r){var a=(e[e.l]&96)>>5;e.l+=1;var n=e.read_shift(r&&r.biff<=3?1:2);return[Kv[n],Kc[n],a]}function zp(e,t,r){var a=e[e.l++],n=e.read_shift(1),i=r&&r.biff<=3?[a==88?-1:0,e.read_shift(1)]:$p(e);return[n,(i[0]===0?Kc:$v)[i[1]]]}function $p(e){return[e[e.l+1]>>7,e.read_shift(2)&32767]}function Kp(e,t,r){e.l+=r&&r.biff==2?3:4}function jp(e,t,r){if(e.l++,r&&r.biff==12)return[e.read_shift(4,"i"),0];var a=e.read_shift(2),n=e.read_shift(r&&r.biff==2?1:2);return[a,n]}function Yp(e){return e.l++,At[e.read_shift(1)]}function Jp(e){return e.l++,e.read_shift(2)}function qp(e){return e.l++,e.read_shift(1)!==0}function Zp(e){return e.l++,Sr(e)}function Qp(e,t,r){return e.l++,vn(e,t-1,r)}function ev(e,t){var r=[e.read_shift(1)];if(t==12)switch(r[0]){case 2:r[0]=4;break;case 4:r[0]=16;break;case 0:r[0]=1;break;case 1:r[0]=2;break}switch(r[0]){case 4:r[1]=rr(e,1)?"TRUE":"FALSE",t!=12&&(e.l+=7);break;case 37:case 16:r[1]=At[e[e.l]],e.l+=t==12?4:8;break;case 0:e.l+=8;break;case 1:r[1]=Sr(e);break;case 2:r[1]=ua(e,0,{biff:t>0&&t<8?2:t});break;default:throw new Error("Bad SerAr: "+r[0])}return r}function rv(e,t,r){for(var a=e.read_shift(r.biff==12?4:2),n=[],i=0;i!=a;++i)n.push((r.biff==12?la:s0)(e));return n}function tv(e,t,r){var a=0,n=0;r.biff==12?(a=e.read_shift(4),n=e.read_shift(4)):(n=1+e.read_shift(1),a=1+e.read_shift(2)),r.biff>=2&&r.biff<8&&(--a,--n==0&&(n=256));for(var i=0,s=[];i!=a&&(s[i]=[]);++i)for(var f=0;f!=n;++f)s[i][f]=ev(e,r.biff);return s}function av(e,t,r){var a=e.read_shift(1)>>>5&3,n=!r||r.biff>=8?4:2,i=e.read_shift(n);switch(r.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12;break}return[a,0,i]}function nv(e,t,r){if(r.biff==5)return iv(e);var a=e.read_shift(1)>>>5&3,n=e.read_shift(2),i=e.read_shift(4);return[a,n,i]}function iv(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2,"i");e.l+=8;var a=e.read_shift(2);return e.l+=12,[t,r,a]}function sv(e,t,r){var a=e.read_shift(1)>>>5&3;e.l+=r&&r.biff==2?3:4;var n=e.read_shift(r&&r.biff==2?1:2);return[a,n]}function fv(e,t,r){var a=e.read_shift(1)>>>5&3,n=e.read_shift(r&&r.biff==2?1:2);return[a,n]}function cv(e,t,r){var a=e.read_shift(1)>>>5&3;return e.l+=4,r.biff<8&&e.l--,r.biff==12&&(e.l+=2),[a]}function ov(e,t,r){var a=(e[e.l++]&96)>>5,n=e.read_shift(2),i=4;if(r)switch(r.biff){case 5:i=15;break;case 12:i=6;break}return e.l+=i,[a,n]}var lv=Ar,uv=Ar,hv=Ar;function gn(e,t,r){return e.l+=2,[Fp(e)]}function wi(e){return e.l+=6,[]}var xv=gn,dv=wi,pv=wi,vv=gn;function zc(e){return e.l+=2,[sr(e),e.read_shift(2)&1]}var mv=gn,gv=zc,_v=wi,wv=gn,kv=gn,Tv=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];function Ev(e){e.l+=2;var t=e.read_shift(2),r=e.read_shift(2),a=e.read_shift(4),n=e.read_shift(2),i=e.read_shift(2),s=Tv[r>>2&31];return{ixti:t,coltype:r&3,rt:s,idx:a,c:n,C:i}}function Sv(e){return e.l+=2,[e.read_shift(4)]}function Fv(e,t,r){return e.l+=5,e.l+=2,e.l+=r.biff==2?1:4,["PTGSHEET"]}function yv(e,t,r){return e.l+=r.biff==2?4:5,["PTGENDSHEET"]}function Av(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2);return[t,r]}function Cv(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2);return[t,r]}function bv(e){return e.l+=4,[0,0]}var Ls={1:{n:"PtgExp",f:jp},2:{n:"PtgTbl",f:hv},3:{n:"PtgAdd",f:nr},4:{n:"PtgSub",f:nr},5:{n:"PtgMul",f:nr},6:{n:"PtgDiv",f:nr},7:{n:"PtgPower",f:nr},8:{n:"PtgConcat",f:nr},9:{n:"PtgLt",f:nr},10:{n:"PtgLe",f:nr},11:{n:"PtgEq",f:nr},12:{n:"PtgGe",f:nr},13:{n:"PtgGt",f:nr},14:{n:"PtgNe",f:nr},15:{n:"PtgIsect",f:nr},16:{n:"PtgUnion",f:nr},17:{n:"PtgRange",f:nr},18:{n:"PtgUplus",f:nr},19:{n:"PtgUminus",f:nr},20:{n:"PtgPercent",f:nr},21:{n:"PtgParen",f:nr},22:{n:"PtgMissArg",f:nr},23:{n:"PtgStr",f:Qp},26:{n:"PtgSheet",f:Fv},27:{n:"PtgEndSheet",f:yv},28:{n:"PtgErr",f:Yp},29:{n:"PtgBool",f:qp},30:{n:"PtgInt",f:Jp},31:{n:"PtgNum",f:Zp},32:{n:"PtgArray",f:Rp},33:{n:"PtgFunc",f:Xp},34:{n:"PtgFuncVar",f:zp},35:{n:"PtgName",f:av},36:{n:"PtgRef",f:Hp},37:{n:"PtgArea",f:Cp},38:{n:"PtgMemArea",f:sv},39:{n:"PtgMemErr",f:lv},40:{n:"PtgMemNoMem",f:uv},41:{n:"PtgMemFunc",f:fv},42:{n:"PtgRefErr",f:cv},43:{n:"PtgAreaErr",f:Dp},44:{n:"PtgRefN",f:Vp},45:{n:"PtgAreaN",f:Op},46:{n:"PtgMemAreaN",f:Av},47:{n:"PtgMemNoMemN",f:Cv},57:{n:"PtgNameX",f:nv},58:{n:"PtgRef3d",f:Gp},59:{n:"PtgArea3d",f:bp},60:{n:"PtgRefErr3d",f:ov},61:{n:"PtgAreaErr3d",f:Ip},255:{}},Dv={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61},Iv={1:{n:"PtgElfLel",f:zc},2:{n:"PtgElfRw",f:wv},3:{n:"PtgElfCol",f:xv},6:{n:"PtgElfRwV",f:kv},7:{n:"PtgElfColV",f:vv},10:{n:"PtgElfRadical",f:mv},11:{n:"PtgElfRadicalS",f:_v},13:{n:"PtgElfColS",f:dv},15:{n:"PtgElfColSV",f:pv},16:{n:"PtgElfRadicalLel",f:gv},25:{n:"PtgList",f:Ev},29:{n:"PtgSxName",f:Sv},255:{}},Ov={0:{n:"PtgAttrNoop",f:bv},1:{n:"PtgAttrSemi",f:Mp},2:{n:"PtgAttrIf",f:Lp},4:{n:"PtgAttrChoose",f:Np},8:{n:"PtgAttrGoto",f:Pp},16:{n:"PtgAttrSum",f:Kp},32:{n:"PtgAttrBaxcel",f:Ps},33:{n:"PtgAttrBaxcel",f:Ps},64:{n:"PtgAttrSpace",f:Up},65:{n:"PtgAttrSpaceSemi",f:Wp},128:{n:"PtgAttrIfError",f:Bp},255:{}};function _n(e,t,r,a){if(a.biff<8)return Ar(e,t);for(var n=e.l+t,i=[],s=0;s!==r.length;++s)switch(r[s][0]){case"PtgArray":r[s][1]=tv(e,0,a),i.push(r[s][1]);break;case"PtgMemArea":r[s][2]=rv(e,r[s][1],a),i.push(r[s][2]);break;case"PtgExp":a&&a.biff==12&&(r[s][1][1]=e.read_shift(4),i.push(r[s][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+r[s][0]}return t=n-e.l,t!==0&&i.push(Ar(e,t)),i}function wn(e,t,r){for(var a=e.l+t,n,i,s=[];a!=e.l;)t=a-e.l,i=e[e.l],n=Ls[i]||Ls[Dv[i]],(i===24||i===25)&&(n=(i===24?Iv:Ov)[e[e.l+1]]),!n||!n.f?Ar(e,t):s.push([n.n,n.f(e,t,r)]);return s}function Rv(e){for(var t=[],r=0;r=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function Pv(e,t){if(!e&&!(t&&t.biff<=5&&t.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e)?"'"+e+"'":e}function $c(e,t,r){if(!e)return"SH33TJSERR0";if(r.biff>8&&(!e.XTI||!e.XTI[t]))return e.SheetNames[t];if(!e.XTI)return"SH33TJSERR6";var a=e.XTI[t];if(r.biff<8)return t>1e4&&(t-=65536),t<0&&(t=-t),t==0?"":e.XTI[t-1];if(!a)return"SH33TJSERR1";var n="";if(r.biff>8)switch(e[a[0]][0]){case 357:return n=a[1]==-1?"#REF":e.SheetNames[a[1]],a[1]==a[2]?n:n+":"+e.SheetNames[a[2]];case 358:return r.SID!=null?e.SheetNames[r.SID]:"SH33TJSSAME"+e[a[0]][0];case 355:default:return"SH33TJSSRC"+e[a[0]][0]}switch(e[a[0]][0][0]){case 1025:return n=a[1]==-1?"#REF":e.SheetNames[a[1]]||"SH33TJSERR3",a[1]==a[2]?n:n+":"+e.SheetNames[a[2]];case 14849:return e[a[0]].slice(1).map(function(i){return i.Name}).join(";;");default:return e[a[0]][0][3]?(n=a[1]==-1?"#REF":e[a[0]][0][3][a[1]]||"SH33TJSERR4",a[1]==a[2]?n:n+":"+e[a[0]][0][3][a[2]]):"SH33TJSERR2"}}function Bs(e,t,r){var a=$c(e,t,r);return a=="#REF"?a:Pv(a,r)}function kr(e,t,r,a,n){var i=n&&n.biff||8,s={s:{c:0,r:0},e:{c:0,r:0}},f=[],c,o,l,u=0,h=0,x,p="";if(!e[0]||!e[0][0])return"";for(var d=-1,v="",k=0,_=e[0].length;k<_;++k){var m=e[0][k];switch(m[0]){case"PtgUminus":f.push("-"+f.pop());break;case"PtgUplus":f.push("+"+f.pop());break;case"PtgPercent":f.push(f.pop()+"%");break;case"PtgAdd":case"PtgConcat":case"PtgDiv":case"PtgEq":case"PtgGe":case"PtgGt":case"PtgLe":case"PtgLt":case"PtgMul":case"PtgNe":case"PtgPower":case"PtgSub":if(c=f.pop(),o=f.pop(),d>=0){switch(e[0][d][1][0]){case 0:v=Je(" ",e[0][d][1][1]);break;case 1:v=Je("\r",e[0][d][1][1]);break;default:if(v="",n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][d][1][0])}o=o+v,d=-1}f.push(o+Nv[m[0]]+c);break;case"PtgIsect":c=f.pop(),o=f.pop(),f.push(o+" "+c);break;case"PtgUnion":c=f.pop(),o=f.pop(),f.push(o+","+c);break;case"PtgRange":c=f.pop(),o=f.pop(),f.push(o+":"+c);break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":l=Ga(m[1][1],s,n),f.push(Xa(l,i));break;case"PtgRefN":l=r?Ga(m[1][1],r,n):m[1][1],f.push(Xa(l,i));break;case"PtgRef3d":u=m[1][1],l=Ga(m[1][2],s,n),p=Bs(a,u,n),f.push(p+"!"+Xa(l,i));break;case"PtgFunc":case"PtgFuncVar":var D=m[1][0],I=m[1][1];D||(D=0),D&=127;var F=D==0?[]:f.slice(-D);f.length-=D,I==="User"&&(I=F.shift()),f.push(I+"("+F.join(",")+")");break;case"PtgBool":f.push(m[1]?"TRUE":"FALSE");break;case"PtgInt":f.push(m[1]);break;case"PtgNum":f.push(String(m[1]));break;case"PtgStr":f.push('"'+m[1].replace(/"/g,'""')+'"');break;case"PtgErr":f.push(m[1]);break;case"PtgAreaN":x=hs(m[1][1],r?{s:r}:s,n),f.push(d0(x,n));break;case"PtgArea":x=hs(m[1][1],s,n),f.push(d0(x,n));break;case"PtgArea3d":u=m[1][1],x=m[1][2],p=Bs(a,u,n),f.push(p+"!"+d0(x,n));break;case"PtgAttrSum":f.push("SUM("+f.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":h=m[1][2];var T=(a.names||[])[h-1]||(a[0]||[])[h],L=T?T.Name:"SH33TJSNAME"+String(h);L&&L.slice(0,6)=="_xlfn."&&!n.xlfn&&(L=L.slice(6)),f.push(L);break;case"PtgNameX":var O=m[1][1];h=m[1][2];var X;if(n.biff<=5)O<0&&(O=-O),a[O]&&(X=a[O][h]);else{var M="";if(((a[O]||[])[0]||[])[0]==14849||(((a[O]||[])[0]||[])[0]==1025?a[O][h]&&a[O][h].itab>0&&(M=a.SheetNames[a[O][h].itab-1]+"!"):M=a.SheetNames[h-1]+"!"),a[O]&&a[O][h])M+=a[O][h].Name;else if(a[0]&&a[0][h])M+=a[0][h].Name;else{var P=($c(a,O,n)||"").split(";;");P[h-1]?M=P[h-1]:M+="SH33TJSERRX"}f.push(M);break}X||(X={Name:"SH33TJSERRY"}),f.push(X.Name);break;case"PtgParen":var J="(",le=")";if(d>=0){switch(v="",e[0][d][1][0]){case 2:J=Je(" ",e[0][d][1][1])+J;break;case 3:J=Je("\r",e[0][d][1][1])+J;break;case 4:le=Je(" ",e[0][d][1][1])+le;break;case 5:le=Je("\r",e[0][d][1][1])+le;break;default:if(n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][d][1][0])}d=-1}f.push(J+f.pop()+le);break;case"PtgRefErr":f.push("#REF!");break;case"PtgRefErr3d":f.push("#REF!");break;case"PtgExp":l={c:m[1][1],r:m[1][0]};var q={c:r.c,r:r.r};if(a.sharedf[ge(l)]){var he=a.sharedf[ge(l)];f.push(kr(he,s,q,a,n))}else{var ie=!1;for(c=0;c!=a.arrayf.length;++c)if(o=a.arrayf[c],!(l.co[0].e.c)&&!(l.ro[0].e.r)){f.push(kr(o[1],s,q,a,n)),ie=!0;break}ie||f.push(m[1])}break;case"PtgArray":f.push("{"+Rv(m[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":d=k;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":f.push("");break;case"PtgAreaErr":f.push("#REF!");break;case"PtgAreaErr3d":f.push("#REF!");break;case"PtgList":f.push("Table"+m[1].idx+"[#"+m[1].rt+"]");break;case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":break;case"PtgMemFunc":break;case"PtgMemNoMem":break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");case"PtgSxName":throw new Error("Unrecognized Formula Token: "+String(m));default:throw new Error("Unrecognized Formula Token: "+String(m))}var be=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(n.biff!=3&&d>=0&&be.indexOf(e[0][k][0])==-1){m=e[0][d];var V=!0;switch(m[1][0]){case 4:V=!1;case 0:v=Je(" ",m[1][1]);break;case 5:V=!1;case 1:v=Je("\r",m[1][1]);break;default:if(v="",n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+m[1][0])}f.push((V?v:"")+f.pop()+(V?"":v)),d=-1}}if(f.length>1&&n.WTF)throw new Error("bad formula stack");return f[0]}function Lv(e,t,r){var a=e.l+t,n=r.biff==2?1:2,i,s=e.read_shift(n);if(s==65535)return[[],Ar(e,t-2)];var f=wn(e,s,r);return t!==s+n&&(i=_n(e,t-s-n,f,r)),e.l=a,[f,i]}function Bv(e,t,r){var a=e.l+t,n=r.biff==2?1:2,i,s=e.read_shift(n);if(s==65535)return[[],Ar(e,t-2)];var f=wn(e,s,r);return t!==s+n&&(i=_n(e,t-s-n,f,r)),e.l=a,[f,i]}function Mv(e,t,r,a){var n=e.l+t,i=wn(e,a,r),s;return n!==e.l&&(s=_n(e,n-e.l,i,r)),[i,s]}function Uv(e,t,r){var a=e.l+t,n,i=e.read_shift(2),s=wn(e,i,r);return i==65535?[[],Ar(e,t-2)]:(t!==i+2&&(n=_n(e,a-i-2,s,r)),[s,n])}function Wv(e){var t;if(wt(e,e.l+6)!==65535)return[Sr(e),"n"];switch(e[e.l]){case 0:return e.l+=8,["String","s"];case 1:return t=e[e.l+2]===1,e.l+=8,[t,"b"];case 2:return t=e[e.l+2],e.l+=8,[t,"e"];case 3:return e.l+=8,["","s"]}return[]}function Hv(e){if(e==null){var t=z(8);return t.write_shift(1,3),t.write_shift(1,0),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(2,65535),t}else if(typeof e=="number")return ra(e);return ra(0)}function _0(e,t,r){var a=e.l+t,n=vt(e);r.biff==2&&++e.l;var i=Wv(e),s=e.read_shift(1);r.biff!=2&&(e.read_shift(1),r.biff>=5&&e.read_shift(4));var f=Bv(e,a-e.l,r);return{cell:n,val:i[0],formula:f,shared:s>>3&1,tt:i[1]}}function Vv(e,t,r,a,n){var i=aa(t,r,n),s=Hv(e.v),f=z(6),c=33;f.write_shift(2,c),f.write_shift(4,0);for(var o=z(e.bf.length),l=0;l0?_n(e,i,n,r):null;return[n,s]}var Gv=f0,c0=f0,Xv=f0,zv=f0,$v={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},Kc={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},Kv={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};function Ms(e){return e.slice(0,3)=="of:"&&(e=e.slice(3)),e.charCodeAt(0)==61&&(e=e.slice(1),e.charCodeAt(0)==61&&(e=e.slice(1))),e=e.replace(/COM\.MICROSOFT\./g,""),e=e.replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,function(t,r){return r.replace(/\./g,"")}),e=e.replace(/\[.(#[A-Z]*[?!])\]/g,"$1"),e.replace(/[;~]/g,",").replace(/\|/g,";")}function jv(e){var t="of:="+e.replace(gi,"$1[.$2$3$4$5]").replace(/\]:\[/g,":");return t.replace(/;/g,"|").replace(/,/g,";")}function w0(e){var t=e.split(":"),r=t[0].split(".")[0];return[r,t[0].split(".")[1]+(t.length>1?":"+(t[1].split(".")[1]||t[1].split(".")[0]):"")]}function Yv(e){return e.replace(/\./,"!")}var $a={},Ea={},Ka=typeof Map<"u";function ki(e,t,r){var a=0,n=e.length;if(r){if(Ka?r.has(t):Object.prototype.hasOwnProperty.call(r,t)){for(var i=Ka?r.get(t):r[t];a-1?(r.width=qn(a),r.customWidth=1):t.width!=null&&(r.width=t.width),t.hidden&&(r.hidden=!0),t.level!=null&&(r.outlineLevel=r.level=t.level),r}function qt(e,t){if(e){var r=[.7,.7,.75,.75,.3,.3];t=="xlml"&&(r=[1,1,1,1,.5,.5]),e.left==null&&(e.left=r[0]),e.right==null&&(e.right=r[1]),e.top==null&&(e.top=r[2]),e.bottom==null&&(e.bottom=r[3]),e.header==null&&(e.header=r[4]),e.footer==null&&(e.footer=r[5])}}function Vt(e,t,r){var a=r.revssf[t.z!=null?t.z:"General"],n=60,i=e.length;if(a==null&&r.ssf){for(;n<392;++n)if(r.ssf[n]==null){xt(t.z,n),r.ssf[n]=t.z,r.revssf[t.z]=a=n;break}}for(n=0;n!=i;++n)if(e[n].numFmtId===a)return n;return e[i]={numFmtId:a,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},i}function jc(e,t,r,a,n,i){try{a.cellNF&&(e.z=me[t])}catch(f){if(a.WTF)throw f}if(!(e.t==="z"&&!a.cellStyles)){if(e.t==="d"&&typeof e.v=="string"&&(e.v=Ge(e.v)),(!a||a.cellText!==!1)&&e.t!=="z")try{if(me[t]==null&&xt(Kl[t]||"General",t),e.t==="e")e.w=e.w||At[e.v];else if(t===0)if(e.t==="n")(e.v|0)===e.v?e.w=e.v.toString(10):e.w=en(e.v);else if(e.t==="d"){var s=lr(e.v);(s|0)===s?e.w=s.toString(10):e.w=en(s)}else{if(e.v===void 0)return"";e.w=Qt(e.v,Ea)}else e.t==="d"?e.w=Vr(t,lr(e.v),Ea):e.w=Vr(t,e.v,Ea)}catch(f){if(a.WTF)throw f}if(a.cellStyles&&r!=null)try{e.s=i.Fills[r],e.s.fgColor&&e.s.fgColor.theme&&!e.s.fgColor.rgb&&(e.s.fgColor.rgb=Jn(n.themeElements.clrScheme[e.s.fgColor.theme].rgb,e.s.fgColor.tint||0),a.WTF&&(e.s.fgColor.raw_rgb=n.themeElements.clrScheme[e.s.fgColor.theme].rgb)),e.s.bgColor&&e.s.bgColor.theme&&(e.s.bgColor.rgb=Jn(n.themeElements.clrScheme[e.s.bgColor.theme].rgb,e.s.bgColor.tint||0),a.WTF&&(e.s.bgColor.raw_rgb=n.themeElements.clrScheme[e.s.bgColor.theme].rgb))}catch(f){if(a.WTF&&i.Fills)throw f}}}function Jv(e,t,r){if(e&&e["!ref"]){var a=Re(e["!ref"]);if(a.e.c=0&&r.s.c>=0&&(e["!ref"]=Te(r))}var Zv=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g,Qv=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/,em=/<(?:\w:)?hyperlink [^>]*>/mg,rm=/"(\w*:\w*)"/,tm=/<(?:\w:)?col\b[^>]*[\/]?>/g,am=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g,nm=/<(?:\w:)?pageMargins[^>]*\/>/g,Yc=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/,im=/<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/,sm=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function fm(e,t,r,a,n,i,s){if(!e)return e;a||(a={"!id":{}});var f=t.dense?[]:{},c={s:{r:2e6,c:2e6},e:{r:0,c:0}},o="",l="",u=e.match(Qv);u?(o=e.slice(0,u.index),l=e.slice(u.index+u[0].length)):o=l=e;var h=o.match(Yc);h?Ti(h[0],f,n,r):(h=o.match(im))&&om(h[0],h[1]||"",f,n,r);var x=(o.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(x>0){var p=o.slice(x,x+50).match(rm);p&&qv(f,p[1])}var d=o.match(sm);d&&d[1]&&Tm(d[1],n);var v=[];if(t.cellStyles){var k=o.match(tm);k&&mm(v,k)}u&&Fm(u[1],f,t,c,i,s);var _=l.match(am);_&&(f["!autofilter"]=_m(_[0]));var m=[],D=l.match(Zv);if(D)for(x=0;x!=D.length;++x)m[x]=Re(D[x].slice(D[x].indexOf('"')+1));var I=l.match(em);I&&dm(f,I,a);var F=l.match(nm);if(F&&(f["!margins"]=pm(_e(F[0]))),!f["!ref"]&&c.e.c>=c.s.c&&c.e.r>=c.s.r&&(f["!ref"]=Te(c)),t.sheetRows>0&&f["!ref"]){var T=Re(f["!ref"]);t.sheetRows<=+T.e.r&&(T.e.r=t.sheetRows-1,T.e.r>c.e.r&&(T.e.r=c.e.r),T.e.rc.e.c&&(T.e.c=c.e.c),T.e.c0&&(f["!cols"]=v),m.length>0&&(f["!merges"]=m),f}function cm(e){if(e.length===0)return"";for(var t='',r=0;r!=e.length;++r)t+='';return t+""}function Ti(e,t,r,a){var n=_e(e);r.Sheets[a]||(r.Sheets[a]={}),n.codeName&&(r.Sheets[a].CodeName=Oe(Me(n.codeName)))}function om(e,t,r,a,n){Ti(e.slice(0,e.indexOf(">")),r,a,n)}function lm(e,t,r,a,n){var i=!1,s={},f=null;if(a.bookType!=="xlsx"&&t.vbaraw){var c=t.SheetNames[r];try{t.Workbook&&(c=t.Workbook.Sheets[r].CodeName||c)}catch{}i=!0,s.codeName=ht(Be(c))}if(e&&e["!outline"]){var o={summaryBelow:1,summaryRight:1};e["!outline"].above&&(o.summaryBelow=0),e["!outline"].left&&(o.summaryRight=0),f=(f||"")+se("outlinePr",null,o)}!i&&!f||(n[n.length]=se("sheetPr",f,s))}var um=["objects","scenarios","selectLockedCells","selectUnlockedCells"],hm=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];function xm(e){var t={sheet:1};return um.forEach(function(r){e[r]!=null&&e[r]&&(t[r]="1")}),hm.forEach(function(r){e[r]!=null&&!e[r]&&(t[r]="0")}),e.password&&(t.password=pi(e.password).toString(16).toUpperCase()),se("sheetProtection",null,t)}function dm(e,t,r){for(var a=Array.isArray(e),n=0;n!=t.length;++n){var i=_e(Me(t[n]),!0);if(!i.ref)return;var s=((r||{})["!id"]||[])[i.id];s?(i.Target=s.Target,i.location&&(i.Target+="#"+Oe(i.location))):(i.Target="#"+Oe(i.location),s={Target:i.Target,TargetMode:"Internal"}),i.Rel=s,i.tooltip&&(i.Tooltip=i.tooltip,delete i.tooltip);for(var f=Re(i.ref),c=f.s.r;c<=f.e.r;++c)for(var o=f.s.c;o<=f.e.c;++o){var l=ge({c:o,r:c});a?(e[c]||(e[c]=[]),e[c][o]||(e[c][o]={t:"z",v:void 0}),e[c][o].l=i):(e[l]||(e[l]={t:"z",v:void 0}),e[l].l=i)}}}function pm(e){var t={};return["left","right","top","bottom","header","footer"].forEach(function(r){e[r]&&(t[r]=parseFloat(e[r]))}),t}function vm(e){return qt(e),se("pageMargins",null,e)}function mm(e,t){for(var r=!1,a=0;a!=t.length;++a){var n=_e(t[a],!0);n.hidden&&(n.hidden=He(n.hidden));var i=parseInt(n.min,10)-1,s=parseInt(n.max,10)-1;for(n.outlineLevel&&(n.level=+n.outlineLevel||0),delete n.min,delete n.max,n.width=+n.width,!r&&n.width&&(r=!0,vi(n.width)),Bt(n);i<=s;)e[i++]=Xe(n)}}function gm(e,t){for(var r=[""],a,n=0;n!=t.length;++n)(a=t[n])&&(r[r.length]=se("col",null,o0(n,a)));return r[r.length]="",r.join("")}function _m(e){var t={ref:(e.match(/ref="([^"]*)"/)||[])[1]};return t}function wm(e,t,r,a){var n=typeof e.ref=="string"?e.ref:Te(e.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var i=r.Workbook.Names,s=Pr(n);s.s.r==s.e.r&&(s.e.r=Pr(t["!ref"]).e.r,n=Te(s));for(var f=0;fa-z][^>]*)?\/?>/;function Tm(e,t){t.Views||(t.Views=[{}]),(e.match(km)||[]).forEach(function(r,a){var n=_e(r);t.Views[a]||(t.Views[a]={}),+n.zoomScale&&(t.Views[a].zoom=+n.zoomScale),He(n.rightToLeft)&&(t.Views[a].RTL=!0)})}function Em(e,t,r,a){var n={workbookViewId:"0"};return(((a||{}).Workbook||{}).Views||[])[0]&&(n.rightToLeft=a.Workbook.Views[0].RTL?"1":"0"),se("sheetViews",se("sheetView",null,n),{})}function Sm(e,t,r,a){if(e.c&&r["!comments"].push([t,e.c]),e.v===void 0&&typeof e.f!="string"||e.t==="z"&&!e.f)return"";var n="",i=e.t,s=e.v;if(e.t!=="z")switch(e.t){case"b":n=e.v?"1":"0";break;case"n":n=""+e.v;break;case"e":n=At[e.v];break;case"d":a&&a.cellDates?n=Ge(e.v,-1).toISOString():(e=Xe(e),e.t="n",n=""+(e.v=lr(Ge(e.v)))),typeof e.z>"u"&&(e.z=me[14]);break;default:n=e.v;break}var f=mr("v",Be(n)),c={r:t},o=Vt(a.cellXfs,e,a);switch(o!==0&&(c.s=o),e.t){case"n":break;case"d":c.t="d";break;case"b":c.t="b";break;case"e":c.t="e";break;case"z":break;default:if(e.v==null){delete e.t;break}if(e.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(a&&a.bookSST){f=mr("v",""+ki(a.Strings,e.v,a.revStrings)),c.t="s";break}c.t="str";break}if(e.t!=i&&(e.t=i,e.v=s),typeof e.f=="string"&&e.f){var l=e.F&&e.F.slice(0,t.length)==t?{t:"array",ref:e.F}:null;f=se("f",Be(e.f),l)+(e.v!=null?f:"")}return e.l&&r["!links"].push([t,e.l]),e.D&&(c.cm=1),se("c",f,c)}var Fm=function(){var e=/<(?:\w+:)?c[ \/>]/,t=/<\/(?:\w+:)?row>/,r=/r=["']([^"']*)["']/,a=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/,n=/ref=["']([^"']*)["']/,i=rn("v"),s=rn("f");return function(c,o,l,u,h,x){for(var p=0,d="",v=[],k=[],_=0,m=0,D=0,I="",F,T,L=0,O=0,X,M,P=0,J=0,le=Array.isArray(x.CellXf),q,he=[],ie=[],be=Array.isArray(o),V=[],de={},ve=!1,C=!!l.sheetStubs,B=c.split(t),R=0,N=B.length;R!=N;++R){d=B[R].trim();var K=d.length;if(K!==0){var re=0;e:for(p=0;p":if(d[p-1]!="/"){++p;break e}if(l&&l.cellStyles){if(T=_e(d.slice(re,p),!0),L=T.r!=null?parseInt(T.r,10):L+1,O=-1,l.sheetRows&&l.sheetRows=p)break;if(T=_e(d.slice(re,p),!0),L=T.r!=null?parseInt(T.r,10):L+1,O=-1,!(l.sheetRows&&l.sheetRowsL-1&&(u.s.r=L-1),u.e.r":"")+d,k!=null&&k.length===2){for(_=0,I=k[1],m=0;m!=I.length&&!((D=I.charCodeAt(m)-64)<1||D>26);++m)_=26*_+D;--_,O=_}else++O;for(m=0;m!=d.length&&d.charCodeAt(m)!==62;++m);if(++m,T=_e(d.slice(0,m),!0),T.r||(T.r=ge({r:L-1,c:O})),I=d.slice(m),F={t:""},(k=I.match(i))!=null&&k[1]!==""&&(F.v=Oe(k[1])),l.cellFormula){if((k=I.match(s))!=null&&k[1]!==""){if(F.f=Oe(Me(k[1])).replace(/\r\n/g,` +`),l.xlfn||(F.f=Ns(F.f)),k[0].indexOf('t="array"')>-1)F.F=(I.match(n)||[])[1],F.F.indexOf(":")>-1&&he.push([Re(F.F),F.F]);else if(k[0].indexOf('t="shared"')>-1){M=_e(k[0]);var ee=Oe(Me(k[1]));l.xlfn||(ee=Ns(ee)),ie[parseInt(M.si,10)]=[M,ee,T.r]}}else(k=I.match(/]*\/>/))&&(M=_e(k[0]),ie[M.si]&&(F.f=kp(ie[M.si][1],ie[M.si][2],T.r)));var Z=Ye(T.r);for(m=0;m=he[m][0].s.r&&Z.r<=he[m][0].e.r&&Z.c>=he[m][0].s.c&&Z.c<=he[m][0].e.c&&(F.F=he[m][1])}if(T.t==null&&F.v===void 0)if(F.f||F.F)F.v=0,F.t="n";else if(C)F.t="z";else continue;else F.t=T.t||"n";switch(u.s.c>O&&(u.s.c=O),u.e.c"u"){if(!C)continue;F.t="z"}else X=$a[parseInt(F.v,10)],F.v=X.t,F.r=X.r,l.cellHTML&&(F.h=X.h);break;case"str":F.t="s",F.v=F.v!=null?Me(F.v):"",l.cellHTML&&(F.h=ei(F.v));break;case"inlineStr":k=I.match(a),F.t="s",k!=null&&(X=di(k[1]))?(F.v=X.t,l.cellHTML&&(F.h=X.h)):F.v="";break;case"b":F.v=He(F.v);break;case"d":l.cellDates?F.v=Ge(F.v,1):(F.v=lr(Ge(F.v,1)),F.t="n");break;case"e":(!l||l.cellText!==!1)&&(F.w=F.v),F.v=qf[F.v];break}if(P=J=0,q=null,le&&T.s!==void 0&&(q=x.CellXf[T.s],q!=null&&(q.numFmtId!=null&&(P=q.numFmtId),l.cellStyles&&q.fillId!=null&&(J=q.fillId))),jc(F,P,J,l,h,x),l.cellDates&&le&&F.t=="n"&&ia(me[P])&&(F.t="d",F.v=i0(F.v)),T.cm&&l.xlmeta){var Se=(l.xlmeta.Cell||[])[+T.cm-1];Se&&Se.type=="XLDAPR"&&(F.D=!0)}if(be){var b=Ye(T.r);o[b.r]||(o[b.r]=[]),o[b.r][b.c]=F}else o[T.r]=F}}}}V.length>0&&(o["!rows"]=V)}}();function ym(e,t,r,a){var n=[],i=[],s=Re(e["!ref"]),f="",c,o="",l=[],u=0,h=0,x=e["!rows"],p=Array.isArray(e),d={r:o},v,k=-1;for(h=s.s.c;h<=s.e.c;++h)l[h]=je(h);for(u=s.s.r;u<=s.e.r;++u){for(i=[],o=tr(u),h=s.s.c;h<=s.e.c;++h){c=l[h]+o;var _=p?(e[u]||[])[h]:e[c];_!==void 0&&(f=Sm(_,c,e,t))!=null&&i.push(f)}(i.length>0||x&&x[u])&&(d={r:o},x&&x[u]&&(v=x[u],v.hidden&&(d.hidden=1),k=-1,v.hpx?k=on(v.hpx):v.hpt&&(k=v.hpt),k>-1&&(d.ht=k,d.customHeight=1),v.level&&(d.outlineLevel=v.level)),n[n.length]=se("row",i.join(""),d))}if(x)for(;u-1&&(d.ht=k,d.customHeight=1),v.level&&(d.outlineLevel=v.level),n[n.length]=se("row","",d));return n.join("")}function Jc(e,t,r,a){var n=[ar,se("worksheet",null,{xmlns:sa[0],"xmlns:r":or.r})],i=r.SheetNames[e],s=0,f="",c=r.Sheets[i];c==null&&(c={});var o=c["!ref"]||"A1",l=Re(o);if(l.e.c>16383||l.e.r>1048575){if(t.WTF)throw new Error("Range "+o+" exceeds format limit A1:XFD1048576");l.e.c=Math.min(l.e.c,16383),l.e.r=Math.min(l.e.c,1048575),o=Te(l)}a||(a={}),c["!comments"]=[];var u=[];lm(c,r,e,t,n),n[n.length]=se("dimension",null,{ref:o}),n[n.length]=Em(c,t,e,r),t.sheetFormat&&(n[n.length]=se("sheetFormatPr",null,{defaultRowHeight:t.sheetFormat.defaultRowHeight||"16",baseColWidth:t.sheetFormat.baseColWidth||"10",outlineLevelRow:t.sheetFormat.outlineLevelRow||"7"})),c["!cols"]!=null&&c["!cols"].length>0&&(n[n.length]=gm(c,c["!cols"])),n[s=n.length]="",c["!links"]=[],c["!ref"]!=null&&(f=ym(c,t),f.length>0&&(n[n.length]=f)),n.length>s+1&&(n[n.length]="",n[s]=n[s].replace("/>",">")),c["!protect"]&&(n[n.length]=xm(c["!protect"])),c["!autofilter"]!=null&&(n[n.length]=wm(c["!autofilter"],c,r,e)),c["!merges"]!=null&&c["!merges"].length>0&&(n[n.length]=cm(c["!merges"]));var h=-1,x,p=-1;return c["!links"].length>0&&(n[n.length]="",c["!links"].forEach(function(d){d[1].Target&&(x={ref:d[0]},d[1].Target.charAt(0)!="#"&&(p=Le(a,-1,Be(d[1].Target).replace(/#.*$/,""),Ce.HLINK),x["r:id"]="rId"+p),(h=d[1].Target.indexOf("#"))>-1&&(x.location=Be(d[1].Target.slice(h+1))),d[1].Tooltip&&(x.tooltip=Be(d[1].Tooltip)),n[n.length]=se("hyperlink",null,x))}),n[n.length]=""),delete c["!links"],c["!margins"]!=null&&(n[n.length]=vm(c["!margins"])),(!t||t.ignoreEC||t.ignoreEC==null)&&(n[n.length]=mr("ignoredErrors",se("ignoredError",null,{numberStoredAsText:1,sqref:o}))),u.length>0&&(p=Le(a,-1,"../drawings/drawing"+(e+1)+".xml",Ce.DRAW),n[n.length]=se("drawing",null,{"r:id":"rId"+p}),c["!drawing"]=u),c["!comments"].length>0&&(p=Le(a,-1,"../drawings/vmlDrawing"+(e+1)+".vml",Ce.VML),n[n.length]=se("legacyDrawing",null,{"r:id":"rId"+p}),c["!legacy"]=p),n.length>1&&(n[n.length]="",n[1]=n[1].replace("/>",">")),n.join("")}function Am(e,t){var r={},a=e.l+t;r.r=e.read_shift(4),e.l+=4;var n=e.read_shift(2);e.l+=1;var i=e.read_shift(1);return e.l=a,i&7&&(r.level=i&7),i&16&&(r.hidden=!0),i&32&&(r.hpt=n/20),r}function Cm(e,t,r){var a=z(145),n=(r["!rows"]||[])[e]||{};a.write_shift(4,e),a.write_shift(4,0);var i=320;n.hpx?i=on(n.hpx)*20:n.hpt&&(i=n.hpt*20),a.write_shift(2,i),a.write_shift(1,0);var s=0;n.level&&(s|=n.level),n.hidden&&(s|=16),(n.hpx||n.hpt)&&(s|=32),a.write_shift(1,s),a.write_shift(1,0);var f=0,c=a.l;a.l+=4;for(var o={r:e,c:0},l=0;l<16;++l)if(!(t.s.c>l+1<<10||t.e.ca.l?a.slice(0,a.l):a}function bm(e,t,r,a){var n=Cm(a,r,t);(n.length>17||(t["!rows"]||[])[a])&&Y(e,0,n)}var Dm=la,Im=Ia;function Om(){}function Rm(e,t){var r={},a=e[e.l];return++e.l,r.above=!(a&64),r.left=!(a&128),e.l+=18,r.name=Lu(e),r}function Nm(e,t,r){r==null&&(r=z(84+4*e.length));var a=192;t&&(t.above&&(a&=-65),t.left&&(a&=-129)),r.write_shift(1,a);for(var n=1;n<3;++n)r.write_shift(1,0);return Kn({auto:1},r),r.write_shift(-4,-1),r.write_shift(-4,-1),$f(e,r),r.slice(0,r.l)}function Pm(e){var t=Zr(e);return[t]}function Lm(e,t,r){return r==null&&(r=z(8)),fa(t,r)}function Bm(e){var t=ca(e);return[t]}function Mm(e,t,r){return r==null&&(r=z(4)),oa(t,r)}function Um(e){var t=Zr(e),r=e.read_shift(1);return[t,r,"b"]}function Wm(e,t,r){return r==null&&(r=z(9)),fa(t,r),r.write_shift(1,e.v?1:0),r}function Hm(e){var t=ca(e),r=e.read_shift(1);return[t,r,"b"]}function Vm(e,t,r){return r==null&&(r=z(5)),oa(t,r),r.write_shift(1,e.v?1:0),r}function Gm(e){var t=Zr(e),r=e.read_shift(1);return[t,r,"e"]}function Xm(e,t,r){return r==null&&(r=z(9)),fa(t,r),r.write_shift(1,e.v),r}function zm(e){var t=ca(e),r=e.read_shift(1);return[t,r,"e"]}function $m(e,t,r){return r==null&&(r=z(8)),oa(t,r),r.write_shift(1,e.v),r.write_shift(2,0),r.write_shift(1,0),r}function Km(e){var t=Zr(e),r=e.read_shift(4);return[t,r,"s"]}function jm(e,t,r){return r==null&&(r=z(12)),fa(t,r),r.write_shift(4,t.v),r}function Ym(e){var t=ca(e),r=e.read_shift(4);return[t,r,"s"]}function Jm(e,t,r){return r==null&&(r=z(8)),oa(t,r),r.write_shift(4,t.v),r}function qm(e){var t=Zr(e),r=Sr(e);return[t,r,"n"]}function Zm(e,t,r){return r==null&&(r=z(16)),fa(t,r),ra(e.v,r),r}function qc(e){var t=ca(e),r=Sr(e);return[t,r,"n"]}function Qm(e,t,r){return r==null&&(r=z(12)),oa(t,r),ra(e.v,r),r}function e2(e){var t=Zr(e),r=oi(e);return[t,r,"n"]}function r2(e,t,r){return r==null&&(r=z(12)),fa(t,r),Kf(e.v,r),r}function t2(e){var t=ca(e),r=oi(e);return[t,r,"n"]}function a2(e,t,r){return r==null&&(r=z(8)),oa(t,r),Kf(e.v,r),r}function n2(e){var t=Zr(e),r=si(e);return[t,r,"is"]}function i2(e){var t=Zr(e),r=yr(e);return[t,r,"str"]}function s2(e,t,r){return r==null&&(r=z(12+4*e.v.length)),fa(t,r),xr(e.v,r),r.length>r.l?r.slice(0,r.l):r}function f2(e){var t=ca(e),r=yr(e);return[t,r,"str"]}function c2(e,t,r){return r==null&&(r=z(8+4*e.v.length)),oa(t,r),xr(e.v,r),r.length>r.l?r.slice(0,r.l):r}function o2(e,t,r){var a=e.l+t,n=Zr(e);n.r=r["!row"];var i=e.read_shift(1),s=[n,i,"b"];if(r.cellFormula){e.l+=2;var f=c0(e,a-e.l,r);s[3]=kr(f,null,n,r.supbooks,r)}else e.l=a;return s}function l2(e,t,r){var a=e.l+t,n=Zr(e);n.r=r["!row"];var i=e.read_shift(1),s=[n,i,"e"];if(r.cellFormula){e.l+=2;var f=c0(e,a-e.l,r);s[3]=kr(f,null,n,r.supbooks,r)}else e.l=a;return s}function u2(e,t,r){var a=e.l+t,n=Zr(e);n.r=r["!row"];var i=Sr(e),s=[n,i,"n"];if(r.cellFormula){e.l+=2;var f=c0(e,a-e.l,r);s[3]=kr(f,null,n,r.supbooks,r)}else e.l=a;return s}function h2(e,t,r){var a=e.l+t,n=Zr(e);n.r=r["!row"];var i=yr(e),s=[n,i,"str"];if(r.cellFormula){e.l+=2;var f=c0(e,a-e.l,r);s[3]=kr(f,null,n,r.supbooks,r)}else e.l=a;return s}var x2=la,d2=Ia;function p2(e,t){return t==null&&(t=z(4)),t.write_shift(4,e),t}function v2(e,t){var r=e.l+t,a=la(e),n=fi(e),i=yr(e),s=yr(e),f=yr(e);e.l=r;var c={rfx:a,relId:n,loc:i,display:f};return s&&(c.Tooltip=s),c}function m2(e,t){var r=z(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));Ia({s:Ye(e[0]),e:Ye(e[0])},r),ci("rId"+t,r);var a=e[1].Target.indexOf("#"),n=a==-1?"":e[1].Target.slice(a+1);return xr(n||"",r),xr(e[1].Tooltip||"",r),xr("",r),r.slice(0,r.l)}function g2(){}function _2(e,t,r){var a=e.l+t,n=jf(e),i=e.read_shift(1),s=[n];if(s[2]=i,r.cellFormula){var f=Gv(e,a-e.l,r);s[1]=f}else e.l=a;return s}function w2(e,t,r){var a=e.l+t,n=la(e),i=[n];if(r.cellFormula){var s=zv(e,a-e.l,r);i[1]=s,e.l=a}else e.l=a;return i}function k2(e,t,r){r==null&&(r=z(18));var a=o0(e,t);r.write_shift(-4,e),r.write_shift(-4,e),r.write_shift(4,(a.width||10)*256),r.write_shift(4,0);var n=0;return t.hidden&&(n|=1),typeof a.width=="number"&&(n|=2),t.level&&(n|=t.level<<8),r.write_shift(2,n),r}var Zc=["left","right","top","bottom","header","footer"];function T2(e){var t={};return Zc.forEach(function(r){t[r]=Sr(e)}),t}function E2(e,t){return t==null&&(t=z(6*8)),qt(e),Zc.forEach(function(r){ra(e[r],t)}),t}function S2(e){var t=e.read_shift(2);return e.l+=28,{RTL:t&32}}function F2(e,t,r){r==null&&(r=z(30));var a=924;return(((t||{}).Views||[])[0]||{}).RTL&&(a|=32),r.write_shift(2,a),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(2,0),r.write_shift(2,100),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(4,0),r}function y2(e){var t=z(24);return t.write_shift(4,4),t.write_shift(4,1),Ia(e,t),t}function A2(e,t){return t==null&&(t=z(16*4+2)),t.write_shift(2,e.password?pi(e.password):0),t.write_shift(4,1),[["objects",!1],["scenarios",!1],["formatCells",!0],["formatColumns",!0],["formatRows",!0],["insertColumns",!0],["insertRows",!0],["insertHyperlinks",!0],["deleteColumns",!0],["deleteRows",!0],["selectLockedCells",!1],["sort",!0],["autoFilter",!0],["pivotTables",!0],["selectUnlockedCells",!1]].forEach(function(r){r[1]?t.write_shift(4,e[r[0]]!=null&&!e[r[0]]?1:0):t.write_shift(4,e[r[0]]!=null&&e[r[0]]?0:1)}),t}function C2(){}function b2(){}function D2(e,t,r,a,n,i,s){if(!e)return e;var f=t||{};a||(a={"!id":{}});var c=f.dense?[]:{},o,l={s:{r:2e6,c:2e6},e:{r:0,c:0}},u=!1,h=!1,x,p,d,v,k,_,m,D,I,F=[];f.biff=12,f["!row"]=0;var T=0,L=!1,O=[],X={},M=f.supbooks||n.supbooks||[[]];if(M.sharedf=X,M.arrayf=O,M.SheetNames=n.SheetNames||n.Sheets.map(function(be){return be.name}),!f.supbooks&&(f.supbooks=M,n.Names))for(var P=0;P=C[0].s.r&&x.r<=C[0].e.r&&k>=C[0].s.c&&k<=C[0].e.c&&(p.F=Te(C[0]),L=!0)}!L&&V.length>3&&(p.f=V[3])}if(l.s.r>x.r&&(l.s.r=x.r),l.s.c>k&&(l.s.c=k),l.e.rx.r&&(l.s.r=x.r),l.s.c>k&&(l.s.c=k),l.e.r=V.s;)J[V.e--]={width:V.w/256,hidden:!!(V.flags&1),level:V.level},q||(q=!0,vi(V.w/256)),Bt(J[V.e+1]);break;case 161:c["!autofilter"]={ref:Te(V)};break;case 476:c["!margins"]=V;break;case 147:n.Sheets[r]||(n.Sheets[r]={}),V.name&&(n.Sheets[r].CodeName=V.name),(V.above||V.left)&&(c["!outline"]={above:V.above,left:V.left});break;case 137:n.Views||(n.Views=[{}]),n.Views[0]||(n.Views[0]={}),V.RTL&&(n.Views[0].RTL=!0);break;case 485:break;case 64:case 1053:break;case 151:break;case 152:case 175:case 644:case 625:case 562:case 396:case 1112:case 1146:case 471:case 1050:case 649:case 1105:case 589:case 607:case 564:case 1055:case 168:case 174:case 1180:case 499:case 507:case 550:case 171:case 167:case 1177:case 169:case 1181:case 551:case 552:case 661:case 639:case 478:case 537:case 477:case 536:case 1103:case 680:case 1104:case 1024:case 663:case 535:case 678:case 504:case 1043:case 428:case 170:case 3072:case 50:case 2070:case 1045:break;case 35:u=!0;break;case 36:u=!1;break;case 37:u=!0;break;case 38:u=!1;break;default:if(!de.T){if(!u||f.WTF)throw new Error("Unexpected record 0x"+ve.toString(16))}}},f),delete f.supbooks,delete f["!row"],!c["!ref"]&&(l.s.r<2e6||o&&(o.e.r>0||o.e.c>0||o.s.r>0||o.s.c>0))&&(c["!ref"]=Te(o||l)),f.sheetRows&&c["!ref"]){var ie=Re(c["!ref"]);f.sheetRows<=+ie.e.r&&(ie.e.r=f.sheetRows-1,ie.e.r>l.e.r&&(ie.e.r=l.e.r),ie.e.rl.e.c&&(ie.e.c=l.e.c),ie.e.c0&&(c["!merges"]=F),J.length>0&&(c["!cols"]=J),le.length>0&&(c["!rows"]=le),c}function I2(e,t,r,a,n,i,s){if(t.v===void 0)return!1;var f="";switch(t.t){case"b":f=t.v?"1":"0";break;case"d":t=Xe(t),t.z=t.z||me[14],t.v=lr(Ge(t.v)),t.t="n";break;case"n":case"e":f=""+t.v;break;default:f=t.v;break}var c={r,c:a};switch(c.s=Vt(n.cellXfs,t,n),t.l&&i["!links"].push([ge(c),t.l]),t.c&&i["!comments"].push([ge(c),t.c]),t.t){case"s":case"str":return n.bookSST?(f=ki(n.Strings,t.v,n.revStrings),c.t="s",c.v=f,s?Y(e,18,Jm(t,c)):Y(e,7,jm(t,c))):(c.t="str",s?Y(e,17,c2(t,c)):Y(e,6,s2(t,c))),!0;case"n":return t.v==(t.v|0)&&t.v>-1e3&&t.v<1e3?s?Y(e,13,a2(t,c)):Y(e,2,r2(t,c)):s?Y(e,16,Qm(t,c)):Y(e,5,Zm(t,c)),!0;case"b":return c.t="b",s?Y(e,15,Vm(t,c)):Y(e,4,Wm(t,c)),!0;case"e":return c.t="e",s?Y(e,14,$m(t,c)):Y(e,3,Xm(t,c)),!0}return s?Y(e,12,Mm(t,c)):Y(e,1,Lm(t,c)),!0}function O2(e,t,r,a){var n=Re(t["!ref"]||"A1"),i,s="",f=[];Y(e,145);var c=Array.isArray(t),o=n.e.r;t["!rows"]&&(o=Math.max(n.e.r,t["!rows"].length-1));for(var l=n.s.r;l<=o;++l){s=tr(l),bm(e,t,n,l);var u=!1;if(l<=n.e.r)for(var h=n.s.c;h<=n.e.c;++h){l===n.s.r&&(f[h]=je(h)),i=f[h]+s;var x=c?(t[l]||[])[h]:t[i];if(!x){u=!1;continue}u=I2(e,x,l,h,a,t,u)}}Y(e,146)}function R2(e,t){!t||!t["!merges"]||(Y(e,177,p2(t["!merges"].length)),t["!merges"].forEach(function(r){Y(e,176,d2(r))}),Y(e,178))}function N2(e,t){!t||!t["!cols"]||(Y(e,390),t["!cols"].forEach(function(r,a){r&&Y(e,60,k2(a,r))}),Y(e,391))}function P2(e,t){!t||!t["!ref"]||(Y(e,648),Y(e,649,y2(Re(t["!ref"]))),Y(e,650))}function L2(e,t,r){t["!links"].forEach(function(a){if(a[1].Target){var n=Le(r,-1,a[1].Target.replace(/#.*$/,""),Ce.HLINK);Y(e,494,m2(a,n))}}),delete t["!links"]}function B2(e,t,r,a){if(t["!comments"].length>0){var n=Le(a,-1,"../drawings/vmlDrawing"+(r+1)+".vml",Ce.VML);Y(e,551,ci("rId"+n)),t["!legacy"]=n}}function M2(e,t,r,a){if(t["!autofilter"]){var n=t["!autofilter"],i=typeof n.ref=="string"?n.ref:Te(n.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var s=r.Workbook.Names,f=Pr(i);f.s.r==f.e.r&&(f.e.r=Pr(t["!ref"]).e.r,i=Te(f));for(var c=0;c16383||c.e.r>1048575){if(t.WTF)throw new Error("Range "+(s["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");c.e.c=Math.min(c.e.c,16383),c.e.r=Math.min(c.e.c,1048575)}return s["!links"]=[],s["!comments"]=[],Y(n,129),(r.vbaraw||s["!outline"])&&Y(n,147,Nm(f,s["!outline"])),Y(n,148,Im(c)),U2(n,s,r.Workbook),N2(n,s),O2(n,s,e,t),W2(n,s),M2(n,s,r,e),R2(n,s),L2(n,s,a),s["!margins"]&&Y(n,476,E2(s["!margins"])),(!t||t.ignoreEC||t.ignoreEC==null)&&P2(n,s),B2(n,s,e,a),Y(n,130),n.end()}function V2(e){var t=[],r=e.match(/^/),a;(e.match(/(.*?)<\/c:pt>/mg)||[]).forEach(function(i){var s=i.match(/(.*)<\/c:v><\/c:pt>/);s&&(t[+s[1]]=r?+s[2]:s[2])});var n=Oe((e.match(/([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);return(e.match(/(.*?)<\/c:f>/mg)||[]).forEach(function(i){a=i.replace(/<.*?>/g,"")}),[t,n,a]}function G2(e,t,r,a,n,i){var s=i||{"!type":"chart"};if(!e)return i;var f=0,c=0,o="A",l={s:{r:2e6,c:2e6},e:{r:0,c:0}};return(e.match(/[\s\S]*?<\/c:numCache>/gm)||[]).forEach(function(u){var h=V2(u);l.s.r=l.s.c=0,l.e.c=f,o=je(f),h[0].forEach(function(x,p){s[o+tr(p)]={t:"n",v:x,z:h[1]},c=p}),l.e.r0&&(s["!ref"]=Te(l)),s}function X2(e,t,r,a,n){if(!e)return e;a||(a={"!id":{}});var i={"!type":"chart","!drawel":null,"!rel":""},s,f=e.match(Yc);return f&&Ti(f[0],i,n,r),(s=e.match(/drawing r:id="(.*?)"/))&&(i["!rel"]=s[1]),a["!id"][i["!rel"]]&&(i["!drawel"]=a["!id"][i["!rel"]]),i}function z2(e,t){e.l+=10;var r=yr(e);return{name:r}}function $2(e,t,r,a,n){if(!e)return e;a||(a={"!id":{}});var i={"!type":"chart","!drawel":null,"!rel":""},s=!1;return yt(e,function(c,o,l){switch(l){case 550:i["!rel"]=c;break;case 651:n.Sheets[r]||(n.Sheets[r]={}),c.name&&(n.Sheets[r].CodeName=c.name);break;case 562:case 652:case 669:case 679:case 551:case 552:case 476:case 3072:break;case 35:s=!0;break;case 36:s=!1;break;case 37:break;case 38:break;default:if(!(o.T>0)){if(!(o.T<0)){if(!s||t.WTF)throw new Error("Unexpected record 0x"+l.toString(16))}}}},t),a["!id"][i["!rel"]]&&(i["!drawel"]=a["!id"][i["!rel"]]),i}var Ei=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]],K2=[["activeTab",0,"int"],["autoFilterDateGrouping",!0,"bool"],["firstSheet",0,"int"],["minimized",!1,"bool"],["showHorizontalScroll",!0,"bool"],["showSheetTabs",!0,"bool"],["showVerticalScroll",!0,"bool"],["tabRatio",600,"int"],["visibility","visible"]],j2=[],Y2=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function Us(e,t){for(var r=0;r!=e.length;++r)for(var a=e[r],n=0;n!=t.length;++n){var i=t[n];if(a[i[0]]==null)a[i[0]]=i[1];else switch(i[2]){case"bool":typeof a[i[0]]=="string"&&(a[i[0]]=He(a[i[0]]));break;case"int":typeof a[i[0]]=="string"&&(a[i[0]]=parseInt(a[i[0]],10));break}}}function Ws(e,t){for(var r=0;r!=t.length;++r){var a=t[r];if(e[a[0]]==null)e[a[0]]=a[1];else switch(a[2]){case"bool":typeof e[a[0]]=="string"&&(e[a[0]]=He(e[a[0]]));break;case"int":typeof e[a[0]]=="string"&&(e[a[0]]=parseInt(e[a[0]],10));break}}}function Qc(e){Ws(e.WBProps,Ei),Ws(e.CalcPr,Y2),Us(e.WBView,K2),Us(e.Sheets,j2),Ea.date1904=He(e.WBProps.date1904)}function J2(e){return!e.Workbook||!e.Workbook.WBProps?"false":He(e.Workbook.WBProps.date1904)?"true":"false"}var q2="][*?/\\".split("");function eo(e,t){if(e.length>31){if(t)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var r=!0;return q2.forEach(function(a){if(e.indexOf(a)!=-1){if(!t)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");r=!1}}),r}function Z2(e,t,r){e.forEach(function(a,n){eo(a);for(var i=0;i22)throw new Error("Bad Code Name: Worksheet"+s)}})}function Q2(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var t=e.Workbook&&e.Workbook.Sheets||[];Z2(e.SheetNames,t,!!e.vbaraw);for(var r=0;r":break;case"":case"":break;case"":break;case"":Ei.forEach(function(u){if(l[u[0]]!=null)switch(u[2]){case"bool":r.WBProps[u[0]]=He(l[u[0]]);break;case"int":r.WBProps[u[0]]=parseInt(l[u[0]],10);break;default:r.WBProps[u[0]]=l[u[0]]}}),l.codeName&&(r.WBProps.CodeName=Me(l.codeName));break;case"":break;case"":break;case"":case"":break;case"":delete l[0],r.WBView.push(l);break;case"":break;case"":case"":break;case"":break;case"":break;case"":case"":break;case"":break;case"":case"":a=!1;break;case"":i.Ref=Oe(Me(e.slice(s,o))),r.Names.push(i);break;case"":break;case"":delete l[0],r.CalcPr=l;break;case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":break;case"":break;case"":break;case"":case"":break;case"":case"":case"":break;case"":a=!1;break;case"":a=!0;break;case"":a=!1;break;case"0,a={codeName:"ThisWorkbook"};e.Workbook&&e.Workbook.WBProps&&(Ei.forEach(function(f){e.Workbook.WBProps[f[0]]!=null&&e.Workbook.WBProps[f[0]]!=f[1]&&(a[f[0]]=e.Workbook.WBProps[f[0]])}),e.Workbook.WBProps.CodeName&&(a.codeName=e.Workbook.WBProps.CodeName,delete a.CodeName)),t[t.length]=se("workbookPr",null,a);var n=e.Workbook&&e.Workbook.Sheets||[],i=0;if(n&&n[0]&&n[0].Hidden){for(t[t.length]="",i=0;i!=e.SheetNames.length&&!(!n[i]||!n[i].Hidden);++i);i==e.SheetNames.length&&(i=0),t[t.length]='',t[t.length]=""}for(t[t.length]="",i=0;i!=e.SheetNames.length;++i){var s={name:Be(e.SheetNames[i].slice(0,31))};if(s.sheetId=""+(i+1),s["r:id"]="rId"+(i+1),n[i])switch(n[i].Hidden){case 1:s.state="hidden";break;case 2:s.state="veryHidden";break}t[t.length]=se("sheet",null,s)}return t[t.length]="",r&&(t[t.length]="",e.Workbook&&e.Workbook.Names&&e.Workbook.Names.forEach(function(f){var c={name:f.Name};f.Comment&&(c.comment=f.Comment),f.Sheet!=null&&(c.localSheetId=""+f.Sheet),f.Hidden&&(c.hidden="1"),f.Ref&&(t[t.length]=se("definedName",Be(f.Ref),c))}),t[t.length]=""),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}function tg(e,t){var r={};return r.Hidden=e.read_shift(4),r.iTabID=e.read_shift(4),r.strRelID=I0(e),r.name=yr(e),r}function ag(e,t){return t||(t=z(127)),t.write_shift(4,e.Hidden),t.write_shift(4,e.iTabID),ci(e.strRelID,t),xr(e.name.slice(0,31),t),t.length>t.l?t.slice(0,t.l):t}function ng(e,t){var r={},a=e.read_shift(4);r.defaultThemeVersion=e.read_shift(4);var n=t>8?yr(e):"";return n.length>0&&(r.CodeName=n),r.autoCompressPictures=!!(a&65536),r.backupFile=!!(a&64),r.checkCompatibility=!!(a&4096),r.date1904=!!(a&1),r.filterPrivacy=!!(a&8),r.hidePivotFieldList=!!(a&1024),r.promptedSolutions=!!(a&16),r.publishItems=!!(a&2048),r.refreshAllConnections=!!(a&262144),r.saveExternalLinkValues=!!(a&128),r.showBorderUnselectedTables=!!(a&4),r.showInkAnnotation=!!(a&32),r.showObjects=["all","placeholders","none"][a>>13&3],r.showPivotChartFilter=!!(a&32768),r.updateLinks=["userSet","never","always"][a>>8&3],r}function ig(e,t){t||(t=z(72));var r=0;return e&&e.filterPrivacy&&(r|=8),t.write_shift(4,r),t.write_shift(4,0),$f(e&&e.CodeName||"ThisWorkbook",t),t.slice(0,t.l)}function sg(e,t){var r={};return e.read_shift(4),r.ArchID=e.read_shift(4),e.l+=t-8,r}function fg(e,t,r){var a=e.l+t;e.l+=4,e.l+=1;var n=e.read_shift(4),i=Bu(e),s=Xv(e,0,r),f=fi(e);e.l=a;var c={Name:i,Ptg:s};return n<268435455&&(c.Sheet=n),f&&(c.Comment=f),c}function cg(e,t){var r={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""},a=[],n=!1;t||(t={}),t.biff=12;var i=[],s=[[]];return s.SheetNames=[],s.XTI=[],ln[16]={n:"BrtFRTArchID$",f:sg},yt(e,function(c,o,l){switch(l){case 156:s.SheetNames.push(c.name),r.Sheets.push(c);break;case 153:r.WBProps=c;break;case 39:c.Sheet!=null&&(t.SID=c.Sheet),c.Ref=kr(c.Ptg,null,null,s,t),delete t.SID,delete c.Ptg,i.push(c);break;case 1036:break;case 357:case 358:case 355:case 667:s[0].length?s.push([l,c]):s[0]=[l,c],s[s.length-1].XTI=[];break;case 362:s.length===0&&(s[0]=[],s[0].XTI=[]),s[s.length-1].XTI=s[s.length-1].XTI.concat(c),s.XTI=s.XTI.concat(c);break;case 361:break;case 2071:case 158:case 143:case 664:case 353:break;case 3072:case 3073:case 534:case 677:case 157:case 610:case 2050:case 155:case 548:case 676:case 128:case 665:case 2128:case 2125:case 549:case 2053:case 596:case 2076:case 2075:case 2082:case 397:case 154:case 1117:case 553:case 2091:break;case 35:a.push(l),n=!0;break;case 36:a.pop(),n=!1;break;case 37:a.push(l),n=!0;break;case 38:a.pop(),n=!1;break;case 16:break;default:if(!o.T){if(!n||t.WTF&&a[a.length-1]!=37&&a[a.length-1]!=35)throw new Error("Unexpected record 0x"+l.toString(16))}}},t),Qc(r),r.Names=i,r.supbooks=s,r}function og(e,t){Y(e,143);for(var r=0;r!=t.SheetNames.length;++r){var a=t.Workbook&&t.Workbook.Sheets&&t.Workbook.Sheets[r]&&t.Workbook.Sheets[r].Hidden||0,n={Hidden:a,iTabID:r+1,strRelID:"rId"+(r+1),name:t.SheetNames[r]};Y(e,156,ag(n))}Y(e,144)}function lg(e,t){t||(t=z(127));for(var r=0;r!=4;++r)t.write_shift(4,0);return xr("SheetJS",t),xr(Wn.version,t),xr(Wn.version,t),xr("7262",t),t.length>t.l?t.slice(0,t.l):t}function ug(e,t){t||(t=z(29)),t.write_shift(-4,0),t.write_shift(-4,460),t.write_shift(4,28800),t.write_shift(4,17600),t.write_shift(4,500),t.write_shift(4,e),t.write_shift(4,e);var r=120;return t.write_shift(1,r),t.length>t.l?t.slice(0,t.l):t}function hg(e,t){if(!(!t.Workbook||!t.Workbook.Sheets)){for(var r=t.Workbook.Sheets,a=0,n=-1,i=-1;an||(Y(e,135),Y(e,158,ug(n)),Y(e,136))}}function xg(e,t){var r=Nr();return Y(r,131),Y(r,128,lg()),Y(r,153,ig(e.Workbook&&e.Workbook.WBProps||null)),hg(r,e),og(r,e),Y(r,132),r.end()}function dg(e,t,r){return t.slice(-4)===".bin"?cg(e,r):rg(e,r)}function pg(e,t,r,a,n,i,s,f){return t.slice(-4)===".bin"?D2(e,a,r,n,i,s,f):fm(e,a,r,n,i,s,f)}function vg(e,t,r,a,n,i,s,f){return t.slice(-4)===".bin"?$2(e,a,r,n,i):X2(e,a,r,n,i)}function mg(e,t,r,a,n,i,s,f){return t.slice(-4)===".bin"?_p():wp()}function gg(e,t,r,a,n,i,s,f){return t.slice(-4)===".bin"?mp():gp()}function _g(e,t,r,a){return t.slice(-4)===".bin"?dd(e,r,a):td(e,r,a)}function wg(e,t,r){return Pc(e,r)}function kg(e,t,r){return t.slice(-4)===".bin"?kx(e,r):gx(e,r)}function Tg(e,t,r){return t.slice(-4)===".bin"?hp(e,r):ap(e,r)}function Eg(e,t,r){return t.slice(-4)===".bin"?ep(e):Zd(e)}function Sg(e,t,r,a){return r.slice(-4)===".bin"?rp(e,t,r,a):void 0}function Fg(e,t,r){return t.slice(-4)===".bin"?Yd(e,t,r):qd(e,t,r)}function yg(e,t,r){return(t.slice(-4)===".bin"?xg:ro)(e)}function Ag(e,t,r,a,n){return(t.slice(-4)===".bin"?H2:Jc)(e,r,a,n)}function Cg(e,t,r){return(t.slice(-4)===".bin"?Sd:Rc)(e,r)}function bg(e,t,r){return(t.slice(-4)===".bin"?Sx:Fc)(e,r)}function Dg(e,t,r){return(t.slice(-4)===".bin"?xp:Mc)(e)}function Ig(e){return(e.slice(-4)===".bin"?Jd:Lc)()}var to=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,ao=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function Qr(e,t){var r=e.split(/\s+/),a=[];if(t||(a[0]=r[0]),r.length===1)return a;var n=e.match(to),i,s,f,c;if(n)for(c=0;c!=n.length;++c)i=n[c].match(ao),(s=i[1].indexOf(":"))===-1?a[i[1]]=i[2].slice(1,i[2].length-1):(i[1].slice(0,6)==="xmlns:"?f="xmlns"+i[1].slice(6):f=i[1].slice(s+1),a[f]=i[2].slice(1,i[2].length-1));return a}function Og(e){var t=e.split(/\s+/),r={};if(t.length===1)return r;var a=e.match(to),n,i,s,f;if(a)for(f=0;f!=a.length;++f)n=a[f].match(ao),(i=n[1].indexOf(":"))===-1?r[n[1]]=n[2].slice(1,n[2].length-1):(n[1].slice(0,6)==="xmlns:"?s="xmlns"+n[1].slice(6):s=n[1].slice(i+1),r[s]=n[2].slice(1,n[2].length-1));return r}var ja;function Rg(e,t){var r=ja[e]||Oe(e);return r==="General"?Qt(t):Vr(r,t)}function Ng(e,t,r,a){var n=a;switch((r[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":n=He(a);break;case"i2":case"int":n=parseInt(a,10);break;case"r4":case"float":n=parseFloat(a);break;case"date":case"dateTime.tz":n=Ge(a);break;case"i8":case"string":case"fixed":case"uuid":case"bin.base64":break;default:throw new Error("bad custprop:"+r[0])}e[Oe(t)]=n}function Pg(e,t,r){if(e.t!=="z"){if(!r||r.cellText!==!1)try{e.t==="e"?e.w=e.w||At[e.v]:t==="General"?e.t==="n"?(e.v|0)===e.v?e.w=e.v.toString(10):e.w=en(e.v):e.w=Qt(e.v):e.w=Rg(t||"General",e.v)}catch(i){if(r.WTF)throw i}try{var a=ja[t]||t||"General";if(r.cellNF&&(e.z=a),r.cellDates&&e.t=="n"&&ia(a)){var n=Rt(e.v);n&&(e.t="d",e.v=new Date(n.y,n.m-1,n.d,n.H,n.M,n.S,n.u))}}catch(i){if(r.WTF)throw i}}}function Lg(e,t,r){if(r.cellStyles&&t.Interior){var a=t.Interior;a.Pattern&&(a.patternType=jx[a.Pattern]||a.Pattern)}e[t.ID]=t}function Bg(e,t,r,a,n,i,s,f,c,o){var l="General",u=a.StyleID,h={};o=o||{};var x=[],p=0;for(u===void 0&&f&&(u=f.StyleID),u===void 0&&s&&(u=s.StyleID);i[u]!==void 0&&(i[u].nf&&(l=i[u].nf),i[u].Interior&&x.push(i[u].Interior),!!i[u].Parent);)u=i[u].Parent;switch(r.Type){case"Boolean":a.t="b",a.v=He(e);break;case"String":a.t="s",a.r=as(Oe(e)),a.v=e.indexOf("<")>-1?Oe(t||e).replace(/<.*?>/g,""):a.r;break;case"DateTime":e.slice(-1)!="Z"&&(e+="Z"),a.v=(Ge(e)-new Date(Date.UTC(1899,11,30)))/(24*60*60*1e3),a.v!==a.v?a.v=Oe(e):a.v<60&&(a.v=a.v-1),(!l||l=="General")&&(l="yyyy-mm-dd");case"Number":a.v===void 0&&(a.v=+e),a.t||(a.t="n");break;case"Error":a.t="e",a.v=qf[e],o.cellText!==!1&&(a.w=e);break;default:e==""&&t==""?a.t="z":(a.t="s",a.v=as(t||e));break}if(Pg(a,l,o),o.cellFormula!==!1)if(a.Formula){var d=Oe(a.Formula);d.charCodeAt(0)==61&&(d=d.slice(1)),a.f=Ta(d,n),delete a.Formula,a.ArrayRange=="RC"?a.F=Ta("RC:RC",n):a.ArrayRange&&(a.F=Ta(a.ArrayRange,n),c.push([Re(a.F),a.F]))}else for(p=0;p=c[p][0].s.r&&n.r<=c[p][0].e.r&&n.c>=c[p][0].s.c&&n.c<=c[p][0].e.c&&(a.F=c[p][1]);o.cellStyles&&(x.forEach(function(v){!h.patternType&&v.patternType&&(h.patternType=v.patternType)}),a.s=h),a.StyleID!==void 0&&(a.ixfe=a.StyleID)}function Mg(e){e.t=e.v||"",e.t=e.t.replace(/\r\n/g,` +`).replace(/\r/g,` +`),e.v=e.w=e.ixfe=void 0}function k0(e,t){var r=t||{};ba();var a=Ua(ri(e));(r.type=="binary"||r.type=="array"||r.type=="base64")&&(a=Me(a));var n=a.slice(0,1024).toLowerCase(),i=!1;if(n=n.replace(/".*?"/g,""),(n.indexOf(">")&1023)>Math.min(n.indexOf(",")&1023,n.indexOf(";")&1023)){var s=Xe(r);return s.type="string",ya.to_workbook(a,s)}if(n.indexOf("=0&&(i=!0)}),i)return E_(a,r);ja={"General Number":"General","General Date":me[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":me[15],"Short Date":me[14],"Long Time":me[19],"Medium Time":me[18],"Short Time":me[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:me[2],Standard:me[4],Percent:me[10],Scientific:me[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'};var f,c=[],o,l={},u=[],h=r.dense?[]:{},x="",p={},d={},v=Qr(''),k=0,_=0,m=0,D={s:{r:2e6,c:2e6},e:{r:0,c:0}},I={},F={},T="",L=0,O=[],X={},M={},P=0,J=[],le=[],q={},he=[],ie,be=!1,V=[],de=[],ve={},C=0,B=0,R={Sheets:[],WBProps:{date1904:!1}},N={};an.lastIndex=0,a=a.replace(//mg,"");for(var K="";f=an.exec(a);)switch(f[3]=(K=f[3]).toLowerCase()){case"data":if(K=="data"){if(f[1]==="/"){if((o=c.pop())[0]!==f[3])throw new Error("Bad state: "+o.join("|"))}else f[0].charAt(f[0].length-2)!=="/"&&c.push([f[3],!0]);break}if(c[c.length-1][1])break;f[1]==="/"?Bg(a.slice(k,f.index),T,v,c[c.length-1][0]=="comment"?q:p,{c:_,r:m},I,he[_],d,V,r):(T="",v=Qr(f[0]),k=f.index+f[0].length);break;case"cell":if(f[1]==="/")if(le.length>0&&(p.c=le),(!r.sheetRows||r.sheetRows>m)&&p.v!==void 0&&(r.dense?(h[m]||(h[m]=[]),h[m][_]=p):h[je(_)+tr(m)]=p),p.HRef&&(p.l={Target:Oe(p.HRef)},p.HRefScreenTip&&(p.l.Tooltip=p.HRefScreenTip),delete p.HRef,delete p.HRefScreenTip),(p.MergeAcross||p.MergeDown)&&(C=_+(parseInt(p.MergeAcross,10)|0),B=m+(parseInt(p.MergeDown,10)|0),O.push({s:{c:_,r:m},e:{c:C,r:B}})),!r.sheetStubs)p.MergeAcross?_=C+1:++_;else if(p.MergeAcross||p.MergeDown){for(var re=_;re<=C;++re)for(var ae=m;ae<=B;++ae)(re>_||ae>m)&&(r.dense?(h[ae]||(h[ae]=[]),h[ae][re]={t:"z"}):h[je(re)+tr(ae)]={t:"z"});_=C+1}else++_;else p=Og(f[0]),p.Index&&(_=+p.Index-1),_D.e.c&&(D.e.c=_),f[0].slice(-2)==="/>"&&++_,le=[];break;case"row":f[1]==="/"||f[0].slice(-2)==="/>"?(mD.e.r&&(D.e.r=m),f[0].slice(-2)==="/>"&&(d=Qr(f[0]),d.Index&&(m=+d.Index-1)),_=0,++m):(d=Qr(f[0]),d.Index&&(m=+d.Index-1),ve={},(d.AutoFitHeight=="0"||d.Height)&&(ve.hpx=parseInt(d.Height,10),ve.hpt=on(ve.hpx),de[m]=ve),d.Hidden=="1"&&(ve.hidden=!0,de[m]=ve));break;case"worksheet":if(f[1]==="/"){if((o=c.pop())[0]!==f[3])throw new Error("Bad state: "+o.join("|"));u.push(x),D.s.r<=D.e.r&&D.s.c<=D.e.c&&(h["!ref"]=Te(D),r.sheetRows&&r.sheetRows<=D.e.r&&(h["!fullref"]=h["!ref"],D.e.r=r.sheetRows-1,h["!ref"]=Te(D))),O.length&&(h["!merges"]=O),he.length>0&&(h["!cols"]=he),de.length>0&&(h["!rows"]=de),l[x]=h}else D={s:{r:2e6,c:2e6},e:{r:0,c:0}},m=_=0,c.push([f[3],!1]),o=Qr(f[0]),x=Oe(o.Name),h=r.dense?[]:{},O=[],V=[],de=[],N={name:x,Hidden:0},R.Sheets.push(N);break;case"table":if(f[1]==="/"){if((o=c.pop())[0]!==f[3])throw new Error("Bad state: "+o.join("|"))}else{if(f[0].slice(-2)=="/>")break;c.push([f[3],!1]),he=[],be=!1}break;case"style":f[1]==="/"?Lg(I,F,r):F=Qr(f[0]);break;case"numberformat":F.nf=Oe(Qr(f[0]).Format||"General"),ja[F.nf]&&(F.nf=ja[F.nf]);for(var ee=0;ee!=392&&me[ee]!=F.nf;++ee);if(ee==392){for(ee=57;ee!=392;++ee)if(me[ee]==null){xt(F.nf,ee);break}}break;case"column":if(c[c.length-1][0]!=="table")break;if(ie=Qr(f[0]),ie.Hidden&&(ie.hidden=!0,delete ie.Hidden),ie.Width&&(ie.wpx=parseInt(ie.Width,10)),!be&&ie.wpx>10){be=!0,Tr=Ic;for(var Z=0;Z0&&(We.Sheet=R.Sheets.length-1),R.Names.push(We);break;case"namedcell":break;case"b":break;case"i":break;case"u":break;case"s":break;case"em":break;case"h2":break;case"h3":break;case"sub":break;case"sup":break;case"span":break;case"alignment":break;case"borders":break;case"border":break;case"font":if(f[0].slice(-2)==="/>")break;f[1]==="/"?T+=a.slice(L,f.index):L=f.index+f[0].length;break;case"interior":if(!r.cellStyles)break;F.Interior=Qr(f[0]);break;case"protection":break;case"author":case"title":case"description":case"created":case"keywords":case"subject":case"category":case"company":case"lastauthor":case"lastsaved":case"lastprinted":case"version":case"revision":case"totaltime":case"hyperlinkbase":case"manager":case"contentstatus":case"identifier":case"language":case"appname":if(f[0].slice(-2)==="/>")break;f[1]==="/"?ch(X,K,a.slice(P,f.index)):P=f.index+f[0].length;break;case"paragraphs":break;case"styles":case"workbook":if(f[1]==="/"){if((o=c.pop())[0]!==f[3])throw new Error("Bad state: "+o.join("|"))}else c.push([f[3],!1]);break;case"comment":if(f[1]==="/"){if((o=c.pop())[0]!==f[3])throw new Error("Bad state: "+o.join("|"));Mg(q),le.push(q)}else c.push([f[3],!1]),o=Qr(f[0]),q={a:o.Author};break;case"autofilter":if(f[1]==="/"){if((o=c.pop())[0]!==f[3])throw new Error("Bad state: "+o.join("|"))}else if(f[0].charAt(f[0].length-2)!=="/"){var Ie=Qr(f[0]);h["!autofilter"]={ref:Ta(Ie.Range).replace(/\$/g,"")},c.push([f[3],!0])}break;case"name":break;case"datavalidation":if(f[1]==="/"){if((o=c.pop())[0]!==f[3])throw new Error("Bad state: "+o.join("|"))}else f[0].charAt(f[0].length-2)!=="/"&&c.push([f[3],!0]);break;case"pixelsperinch":break;case"componentoptions":case"documentproperties":case"customdocumentproperties":case"officedocumentsettings":case"pivottable":case"pivotcache":case"names":case"mapinfo":case"pagebreaks":case"querytable":case"sorting":case"schema":case"conditionalformatting":case"smarttagtype":case"smarttags":case"excelworkbook":case"workbookoptions":case"worksheetoptions":if(f[1]==="/"){if((o=c.pop())[0]!==f[3])throw new Error("Bad state: "+o.join("|"))}else f[0].charAt(f[0].length-2)!=="/"&&c.push([f[3],!0]);break;case"null":break;default:if(c.length==0&&f[3]=="document"||c.length==0&&f[3]=="uof")return zs(a,r);var Ue=!0;switch(c[c.length-1][0]){case"officedocumentsettings":switch(f[3]){case"allowpng":break;case"removepersonalinformation":break;case"downloadcomponents":break;case"locationofcomponents":break;case"colors":break;case"color":break;case"index":break;case"rgb":break;case"targetscreensize":break;case"readonlyrecommended":break;default:Ue=!1}break;case"componentoptions":switch(f[3]){case"toolbar":break;case"hideofficelogo":break;case"spreadsheetautofit":break;case"label":break;case"caption":break;case"maxheight":break;case"maxwidth":break;case"nextsheetnumber":break;default:Ue=!1}break;case"excelworkbook":switch(f[3]){case"date1904":R.WBProps.date1904=!0;break;case"windowheight":break;case"windowwidth":break;case"windowtopx":break;case"windowtopy":break;case"tabratio":break;case"protectstructure":break;case"protectwindow":break;case"protectwindows":break;case"activesheet":break;case"displayinknotes":break;case"firstvisiblesheet":break;case"supbook":break;case"sheetname":break;case"sheetindex":break;case"sheetindexfirst":break;case"sheetindexlast":break;case"dll":break;case"acceptlabelsinformulas":break;case"donotsavelinkvalues":break;case"iteration":break;case"maxiterations":break;case"maxchange":break;case"path":break;case"xct":break;case"count":break;case"selectedsheets":break;case"calculation":break;case"uncalced":break;case"startupprompt":break;case"crn":break;case"externname":break;case"formula":break;case"colfirst":break;case"collast":break;case"wantadvise":break;case"boolean":break;case"error":break;case"text":break;case"ole":break;case"noautorecover":break;case"publishobjects":break;case"donotcalculatebeforesave":break;case"number":break;case"refmoder1c1":break;case"embedsavesmarttags":break;default:Ue=!1}break;case"workbookoptions":switch(f[3]){case"owcversion":break;case"height":break;case"width":break;default:Ue=!1}break;case"worksheetoptions":switch(f[3]){case"visible":if(f[0].slice(-2)!=="/>")if(f[1]==="/")switch(a.slice(P,f.index)){case"SheetHidden":N.Hidden=1;break;case"SheetVeryHidden":N.Hidden=2;break}else P=f.index+f[0].length;break;case"header":h["!margins"]||qt(h["!margins"]={},"xlml"),isNaN(+_e(f[0]).Margin)||(h["!margins"].header=+_e(f[0]).Margin);break;case"footer":h["!margins"]||qt(h["!margins"]={},"xlml"),isNaN(+_e(f[0]).Margin)||(h["!margins"].footer=+_e(f[0]).Margin);break;case"pagemargins":var De=_e(f[0]);h["!margins"]||qt(h["!margins"]={},"xlml"),isNaN(+De.Top)||(h["!margins"].top=+De.Top),isNaN(+De.Left)||(h["!margins"].left=+De.Left),isNaN(+De.Right)||(h["!margins"].right=+De.Right),isNaN(+De.Bottom)||(h["!margins"].bottom=+De.Bottom);break;case"displayrighttoleft":R.Views||(R.Views=[]),R.Views[0]||(R.Views[0]={}),R.Views[0].RTL=!0;break;case"freezepanes":break;case"frozennosplit":break;case"splithorizontal":case"splitvertical":break;case"donotdisplaygridlines":break;case"activerow":break;case"activecol":break;case"toprowbottompane":break;case"leftcolumnrightpane":break;case"unsynced":break;case"print":break;case"printerrors":break;case"panes":break;case"scale":break;case"pane":break;case"number":break;case"layout":break;case"pagesetup":break;case"selected":break;case"protectobjects":break;case"enableselection":break;case"protectscenarios":break;case"validprinterinfo":break;case"horizontalresolution":break;case"verticalresolution":break;case"numberofcopies":break;case"activepane":break;case"toprowvisible":break;case"leftcolumnvisible":break;case"fittopage":break;case"rangeselection":break;case"papersizeindex":break;case"pagelayoutzoom":break;case"pagebreakzoom":break;case"filteron":break;case"fitwidth":break;case"fitheight":break;case"commentslayout":break;case"zoom":break;case"lefttoright":break;case"gridlines":break;case"allowsort":break;case"allowfilter":break;case"allowinsertrows":break;case"allowdeleterows":break;case"allowinsertcols":break;case"allowdeletecols":break;case"allowinserthyperlinks":break;case"allowformatcells":break;case"allowsizecols":break;case"allowsizerows":break;case"nosummaryrowsbelowdetail":h["!outline"]||(h["!outline"]={}),h["!outline"].above=!0;break;case"tabcolorindex":break;case"donotdisplayheadings":break;case"showpagelayoutzoom":break;case"nosummarycolumnsrightdetail":h["!outline"]||(h["!outline"]={}),h["!outline"].left=!0;break;case"blackandwhite":break;case"donotdisplayzeros":break;case"displaypagebreak":break;case"rowcolheadings":break;case"donotdisplayoutline":break;case"noorientation":break;case"allowusepivottables":break;case"zeroheight":break;case"viewablerange":break;case"selection":break;case"protectcontents":break;default:Ue=!1}break;case"pivottable":case"pivotcache":switch(f[3]){case"immediateitemsondrop":break;case"showpagemultipleitemlabel":break;case"compactrowindent":break;case"location":break;case"pivotfield":break;case"orientation":break;case"layoutform":break;case"layoutsubtotallocation":break;case"layoutcompactrow":break;case"position":break;case"pivotitem":break;case"datatype":break;case"datafield":break;case"sourcename":break;case"parentfield":break;case"ptlineitems":break;case"ptlineitem":break;case"countofsameitems":break;case"item":break;case"itemtype":break;case"ptsource":break;case"cacheindex":break;case"consolidationreference":break;case"filename":break;case"reference":break;case"nocolumngrand":break;case"norowgrand":break;case"blanklineafteritems":break;case"hidden":break;case"subtotal":break;case"basefield":break;case"mapchilditems":break;case"function":break;case"refreshonfileopen":break;case"printsettitles":break;case"mergelabels":break;case"defaultversion":break;case"refreshname":break;case"refreshdate":break;case"refreshdatecopy":break;case"versionlastrefresh":break;case"versionlastupdate":break;case"versionupdateablemin":break;case"versionrefreshablemin":break;case"calculation":break;default:Ue=!1}break;case"pagebreaks":switch(f[3]){case"colbreaks":break;case"colbreak":break;case"rowbreaks":break;case"rowbreak":break;case"colstart":break;case"colend":break;case"rowend":break;default:Ue=!1}break;case"autofilter":switch(f[3]){case"autofiltercolumn":break;case"autofiltercondition":break;case"autofilterand":break;case"autofilteror":break;default:Ue=!1}break;case"querytable":switch(f[3]){case"id":break;case"autoformatfont":break;case"autoformatpattern":break;case"querysource":break;case"querytype":break;case"enableredirections":break;case"refreshedinxl9":break;case"urlstring":break;case"htmltables":break;case"connection":break;case"commandtext":break;case"refreshinfo":break;case"notitles":break;case"nextid":break;case"columninfo":break;case"overwritecells":break;case"donotpromptforfile":break;case"textwizardsettings":break;case"source":break;case"number":break;case"decimal":break;case"thousandseparator":break;case"trailingminusnumbers":break;case"formatsettings":break;case"fieldtype":break;case"delimiters":break;case"tab":break;case"comma":break;case"autoformatname":break;case"versionlastedit":break;case"versionlastrefresh":break;default:Ue=!1}break;case"datavalidation":switch(f[3]){case"range":break;case"type":break;case"min":break;case"max":break;case"sort":break;case"descending":break;case"order":break;case"casesensitive":break;case"value":break;case"errorstyle":break;case"errormessage":break;case"errortitle":break;case"inputmessage":break;case"inputtitle":break;case"combohide":break;case"inputhide":break;case"condition":break;case"qualifier":break;case"useblank":break;case"value1":break;case"value2":break;case"format":break;case"cellrangelist":break;default:Ue=!1}break;case"sorting":case"conditionalformatting":switch(f[3]){case"range":break;case"type":break;case"min":break;case"max":break;case"sort":break;case"descending":break;case"order":break;case"casesensitive":break;case"value":break;case"errorstyle":break;case"errormessage":break;case"errortitle":break;case"cellrangelist":break;case"inputmessage":break;case"inputtitle":break;case"combohide":break;case"inputhide":break;case"condition":break;case"qualifier":break;case"useblank":break;case"value1":break;case"value2":break;case"format":break;default:Ue=!1}break;case"mapinfo":case"schema":case"data":switch(f[3]){case"map":break;case"entry":break;case"range":break;case"xpath":break;case"field":break;case"xsdtype":break;case"filteron":break;case"aggregate":break;case"elementtype":break;case"attributetype":break;case"schema":case"element":case"complextype":case"datatype":case"all":case"attribute":case"extends":break;case"row":break;default:Ue=!1}break;case"smarttags":break;default:Ue=!1;break}if(Ue||f[3].match(/!\[CDATA/))break;if(!c[c.length-1][1])throw"Unrecognized tag: "+f[3]+"|"+c.join("|");if(c[c.length-1][0]==="customdocumentproperties"){if(f[0].slice(-2)==="/>")break;f[1]==="/"?Ng(M,K,J,a.slice(P,f.index)):(J=f,P=f.index+f[0].length);break}if(r.WTF)throw"Unrecognized tag: "+f[3]+"|"+c.join("|")}var oe={};return!r.bookSheets&&!r.bookProps&&(oe.Sheets=l),oe.SheetNames=u,oe.Workbook=R,oe.SSF=Xe(me),oe.Props=X,oe.Custprops=M,oe}function M0(e,t){switch(Fi(t=t||{}),t.type||"base64"){case"base64":return k0(Hr(e),t);case"binary":case"buffer":case"file":return k0(e,t);case"array":return k0(Wt(e),t)}}function Ug(e,t){var r=[];return e.Props&&r.push(oh(e.Props,t)),e.Custprops&&r.push(lh(e.Props,e.Custprops)),r.join("")}function Wg(){return""}function Hg(e,t){var r=[''];return t.cellXfs.forEach(function(a,n){var i=[];i.push(se("NumberFormat",null,{"ss:Format":Be(me[a.numFmtId])}));var s={"ss:ID":"s"+(21+n)};r.push(se("Style",i.join(""),s))}),se("Styles",r.join(""))}function no(e){return se("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+_i(e.Ref,{r:0,c:0})})}function Vg(e){if(!((e||{}).Workbook||{}).Names)return"";for(var t=e.Workbook.Names,r=[],a=0;a"),e["!margins"].header&&n.push(se("Header",null,{"x:Margin":e["!margins"].header})),e["!margins"].footer&&n.push(se("Footer",null,{"x:Margin":e["!margins"].footer})),n.push(se("PageMargins",null,{"x:Bottom":e["!margins"].bottom||"0.75","x:Left":e["!margins"].left||"0.7","x:Right":e["!margins"].right||"0.7","x:Top":e["!margins"].top||"0.75"})),n.push("")),a&&a.Workbook&&a.Workbook.Sheets&&a.Workbook.Sheets[r])if(a.Workbook.Sheets[r].Hidden)n.push(se("Visible",a.Workbook.Sheets[r].Hidden==1?"SheetHidden":"SheetVeryHidden",{}));else{for(var i=0;i")}return((((a||{}).Workbook||{}).Views||[])[0]||{}).RTL&&n.push(""),e["!protect"]&&(n.push(mr("ProtectContents","True")),e["!protect"].objects&&n.push(mr("ProtectObjects","True")),e["!protect"].scenarios&&n.push(mr("ProtectScenarios","True")),e["!protect"].selectLockedCells!=null&&!e["!protect"].selectLockedCells?n.push(mr("EnableSelection","NoSelection")):e["!protect"].selectUnlockedCells!=null&&!e["!protect"].selectUnlockedCells&&n.push(mr("EnableSelection","UnlockedCells")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach(function(s){e["!protect"][s[0]]&&n.push("<"+s[1]+"/>")})),n.length==0?"":se("WorksheetOptions",n.join(""),{xmlns:Br.x})}function zg(e){return e.map(function(t){var r=hu(t.t||""),a=se("ss:Data",r,{xmlns:"http://www.w3.org/TR/REC-html40"});return se("Comment",a,{"ss:Author":t.a})}).join("")}function $g(e,t,r,a,n,i,s){if(!e||e.v==null&&e.f==null)return"";var f={};if(e.f&&(f["ss:Formula"]="="+Be(_i(e.f,s))),e.F&&e.F.slice(0,t.length)==t){var c=Ye(e.F.slice(t.length+1));f["ss:ArrayRange"]="RC:R"+(c.r==s.r?"":"["+(c.r-s.r)+"]")+"C"+(c.c==s.c?"":"["+(c.c-s.c)+"]")}if(e.l&&e.l.Target&&(f["ss:HRef"]=Be(e.l.Target),e.l.Tooltip&&(f["x:HRefScreenTip"]=Be(e.l.Tooltip))),r["!merges"])for(var o=r["!merges"],l=0;l!=o.length;++l)o[l].s.c!=s.c||o[l].s.r!=s.r||(o[l].e.c>o[l].s.c&&(f["ss:MergeAcross"]=o[l].e.c-o[l].s.c),o[l].e.r>o[l].s.r&&(f["ss:MergeDown"]=o[l].e.r-o[l].s.r));var u="",h="";switch(e.t){case"z":if(!a.sheetStubs)return"";break;case"n":u="Number",h=String(e.v);break;case"b":u="Boolean",h=e.v?"1":"0";break;case"e":u="Error",h=At[e.v];break;case"d":u="DateTime",h=new Date(e.v).toISOString(),e.z==null&&(e.z=e.z||me[14]);break;case"s":u="String",h=uu(e.v||"");break}var x=Vt(a.cellXfs,e,a);f["ss:StyleID"]="s"+(21+x),f["ss:Index"]=s.c+1;var p=e.v!=null?h:"",d=e.t=="z"?"":''+p+"";return(e.c||[]).length>0&&(d+=zg(e.c)),se("Cell",d,f)}function Kg(e,t){var r='"}function jg(e,t,r,a){if(!e["!ref"])return"";var n=Re(e["!ref"]),i=e["!merges"]||[],s=0,f=[];e["!cols"]&&e["!cols"].forEach(function(v,k){Bt(v);var _=!!v.width,m=o0(k,v),D={"ss:Index":k+1};_&&(D["ss:Width"]=fn(m.width)),v.hidden&&(D["ss:Hidden"]="1"),f.push(se("Column",null,D))});for(var c=Array.isArray(e),o=n.s.r;o<=n.e.r;++o){for(var l=[Kg(o,(e["!rows"]||[])[o])],u=n.s.c;u<=n.e.c;++u){var h=!1;for(s=0;s!=i.length;++s)if(!(i[s].s.c>u)&&!(i[s].s.r>o)&&!(i[s].e.c"),l.length>2&&f.push(l.join(""))}return f.join("")}function Yg(e,t,r){var a=[],n=r.SheetNames[e],i=r.Sheets[n],s=i?Gg(i,t,e,r):"";return s.length>0&&a.push(""+s+""),s=i?jg(i,t,e,r):"",s.length>0&&a.push(""+s+"
"),a.push(Xg(i,t,e,r)),a.join("")}function Jg(e,t){t||(t={}),e.SSF||(e.SSF=Xe(me)),e.SSF&&(ba(),xn(e.SSF),t.revssf=n0(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF,t.cellXfs=[],Vt(t.cellXfs,{},{revssf:{General:0}}));var r=[];r.push(Ug(e,t)),r.push(Wg()),r.push(""),r.push("");for(var a=0;a40||(r.l-=4,t.Reserved1=r.read_shift(0,"lpstr-ansi"),r.length-r.l<=4)||(a=r.read_shift(4),a!==1907505652)||(t.UnicodeClipboardFormat=Gu(r),a=r.read_shift(4),a==0||a>40))return t;r.l-=4,t.Reserved2=r.read_shift(0,"lpwstr")}var Zg=[60,1084,2066,2165,2175];function Qg(e,t,r,a,n){var i=a,s=[],f=r.slice(r.l,r.l+i);if(n&&n.enc&&n.enc.insitu&&f.length>0)switch(e){case 9:case 521:case 1033:case 2057:case 47:case 405:case 225:case 406:case 312:case 404:case 10:break;case 133:break;default:n.enc.insitu(f)}s.push(f),r.l+=i;for(var c=wt(r,r.l),o=U0[c],l=0;o!=null&&Zg.indexOf(c)>-1;)i=wt(r,r.l+2),l=r.l+4,c==2066?l+=4:(c==2165||c==2175)&&(l+=12),f=r.slice(l,r.l+4+i),s.push(f),r.l+=4+i,o=U0[c=wt(r,r.l)];var u=hr(s);vr(u,0);var h=0;u.lens=[];for(var x=0;x1)&&!(Xr.sheetRows&&ye.r>=Xr.sheetRows)){if(Xr.cellStyles&&er.XF&&er.XF.data&&X(ye,er,Xr),delete er.ixfe,delete er.XF,u=ye,h=ge(ye),(!s||!s.s||!s.e)&&(s={s:{r:0,c:0},e:{r:0,c:0}}),ye.rs.e.r&&(s.e.r=ye.r+1),ye.c+1>s.e.c&&(s.e.c=ye.c+1),Xr.cellFormula&&er.f){for(var fr=0;fr<_.length;++fr)if(!(_[fr][0].s.c>ye.c||_[fr][0].s.r>ye.r)&&!(_[fr][0].e.c>8)!==ae)throw new Error("rt mismatch: "+Se+"!="+ae);Z.r==12&&(e.l+=10,ee-=10)}var b={};if(ae===10?b=Z.f(e,ee,P):b=Qg(ae,Z,e,ee,P),ve==0&&[9,521,1033,2057].indexOf(de)===-1)continue;switch(ae){case 34:r.opts.Date1904=T.WBProps.date1904=b;break;case 134:r.opts.WriteProtect=!0;break;case 47:if(P.enc||(e.l=0),P.enc=b,!t.password)throw new Error("File is password-protected");if(b.valid==null)throw new Error("Encryption scheme unsupported");if(!b.valid)throw new Error("Password is incorrect");break;case 92:P.lastuser=b;break;case 66:var We=Number(b);switch(We){case 21010:We=1200;break;case 32768:We=1e4;break;case 32769:We=1252;break}at(P.codepage=We),K=!0;break;case 317:P.rrtabid=b;break;case 25:P.winlocked=b;break;case 439:r.opts.RefreshAll=b;break;case 12:r.opts.CalcCount=b;break;case 16:r.opts.CalcDelta=b;break;case 17:r.opts.CalcIter=b;break;case 13:r.opts.CalcMode=b;break;case 14:r.opts.CalcPrecision=b;break;case 95:r.opts.CalcSaveRecalc=b;break;case 15:P.CalcRefMode=b;break;case 2211:r.opts.FullCalc=b;break;case 129:b.fDialog&&(n["!type"]="dialog"),b.fBelow||((n["!outline"]||(n["!outline"]={})).above=!0),b.fRight||((n["!outline"]||(n["!outline"]={})).left=!0);break;case 224:I.push(b);break;case 430:V.push([b]),V[V.length-1].XTI=[];break;case 35:case 547:V[V.length-1].push(b);break;case 24:case 536:N={Name:b.Name,Ref:kr(b.rgce,s,null,V,P)},b.itab>0&&(N.Sheet=b.itab-1),V.names.push(N),V[0]||(V[0]=[],V[0].XTI=[]),V[V.length-1].push(b),b.Name=="_xlnm._FilterDatabase"&&b.itab>0&&b.rgce&&b.rgce[0]&&b.rgce[0][0]&&b.rgce[0][0][0]=="PtgArea3d"&&(R[b.itab-1]={ref:Te(b.rgce[0][0][1][2])});break;case 22:P.ExternCount=b;break;case 23:V.length==0&&(V[0]=[],V[0].XTI=[]),V[V.length-1].XTI=V[V.length-1].XTI.concat(b),V.XTI=V.XTI.concat(b);break;case 2196:if(P.biff<8)break;N!=null&&(N.Comment=b[1]);break;case 18:n["!protect"]=b;break;case 19:b!==0&&P.WTF&&console.error("Password verifier: "+b);break;case 133:i[b.pos]=b,P.snames.push(b.name);break;case 10:{if(--ve)break;if(s.e){if(s.e.r>0&&s.e.c>0){if(s.e.r--,s.e.c--,n["!ref"]=Te(s),t.sheetRows&&t.sheetRows<=s.e.r){var Ie=s.e.r;s.e.r=t.sheetRows-1,n["!fullref"]=n["!ref"],n["!ref"]=Te(s),s.e.r=Ie}s.e.r++,s.e.c++}le.length>0&&(n["!merges"]=le),q.length>0&&(n["!objects"]=q),he.length>0&&(n["!cols"]=he),ie.length>0&&(n["!rows"]=ie),T.Sheets.push(L)}o===""?l=n:a[o]=n,n=t.dense?[]:{}}break;case 9:case 521:case 1033:case 2057:{if(P.biff===8&&(P.biff={9:2,521:3,1033:4}[ae]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[b.BIFFVer]||8),P.biffguess=b.BIFFVer==0,b.BIFFVer==0&&b.dt==4096&&(P.biff=5,K=!0,at(P.codepage=28591)),P.biff==8&&b.BIFFVer==0&&b.dt==16&&(P.biff=2),ve++)break;if(n=t.dense?[]:{},P.biff<8&&!K&&(K=!0,at(P.codepage=t.codepage||1252)),P.biff<5||b.BIFFVer==0&&b.dt==4096){o===""&&(o="Sheet1"),s={s:{r:0,c:0},e:{r:0,c:0}};var Ue={pos:e.l-ee,name:o};i[Ue.pos]=Ue,P.snames.push(o)}else o=(i[re]||{name:""}).name;b.dt==32&&(n["!type"]="chart"),b.dt==64&&(n["!type"]="macro"),le=[],q=[],P.arrayf=_=[],he=[],ie=[],be=!1,L={Hidden:(i[re]||{hs:0}).hs,name:o}}break;case 515:case 3:case 2:n["!type"]=="chart"&&(t.dense?(n[b.r]||[])[b.c]:n[ge({c:b.c,r:b.r})])&&++b.c,m={ixfe:b.ixfe,XF:I[b.ixfe]||{},v:b.val,t:"n"},C>0&&(m.z=B[m.ixfe>>8&63]),ot(m,t,r.opts.Date1904),M({c:b.c,r:b.r},m,t);break;case 5:case 517:m={ixfe:b.ixfe,XF:I[b.ixfe],v:b.val,t:b.t},C>0&&(m.z=B[m.ixfe>>8&63]),ot(m,t,r.opts.Date1904),M({c:b.c,r:b.r},m,t);break;case 638:m={ixfe:b.ixfe,XF:I[b.ixfe],v:b.rknum,t:"n"},C>0&&(m.z=B[m.ixfe>>8&63]),ot(m,t,r.opts.Date1904),M({c:b.c,r:b.r},m,t);break;case 189:for(var De=b.c;De<=b.C;++De){var oe=b.rkrec[De-b.c][0];m={ixfe:oe,XF:I[oe],v:b.rkrec[De-b.c][1],t:"n"},C>0&&(m.z=B[m.ixfe>>8&63]),ot(m,t,r.opts.Date1904),M({c:De,r:b.r},m,t)}break;case 6:case 518:case 1030:{if(b.val=="String"){f=b;break}if(m=Rn(b.val,b.cell.ixfe,b.tt),m.XF=I[m.ixfe],t.cellFormula){var Qe=b.formula;if(Qe&&Qe[0]&&Qe[0][0]&&Qe[0][0][0]=="PtgExp"){var Gr=Qe[0][0][1][0],ft=Qe[0][0][1][1],mt=ge({r:Gr,c:ft});k[mt]?m.f=""+kr(b.formula,s,b.cell,V,P):m.F=((t.dense?(n[Gr]||[])[ft]:n[mt])||{}).F}else m.f=""+kr(b.formula,s,b.cell,V,P)}C>0&&(m.z=B[m.ixfe>>8&63]),ot(m,t,r.opts.Date1904),M(b.cell,m,t),f=b}break;case 7:case 519:if(f)f.val=b,m=Rn(b,f.cell.ixfe,"s"),m.XF=I[m.ixfe],t.cellFormula&&(m.f=""+kr(f.formula,s,f.cell,V,P)),C>0&&(m.z=B[m.ixfe>>8&63]),ot(m,t,r.opts.Date1904),M(f.cell,m,t),f=null;else throw new Error("String record expects Formula");break;case 33:case 545:{_.push(b);var Oa=ge(b[0].s);if(x=t.dense?(n[b[0].s.r]||[])[b[0].s.c]:n[Oa],t.cellFormula&&x){if(!f||!Oa||!x)break;x.f=""+kr(b[1],s,b[0],V,P),x.F=Te(b[0])}}break;case 1212:{if(!t.cellFormula)break;if(h){if(!f)break;k[ge(f.cell)]=b[0],x=t.dense?(n[f.cell.r]||[])[f.cell.c]:n[ge(f.cell)],(x||{}).f=""+kr(b[0],s,u,V,P)}}break;case 253:m=Rn(c[b.isst].t,b.ixfe,"s"),c[b.isst].h&&(m.h=c[b.isst].h),m.XF=I[m.ixfe],C>0&&(m.z=B[m.ixfe>>8&63]),ot(m,t,r.opts.Date1904),M({c:b.c,r:b.r},m,t);break;case 513:t.sheetStubs&&(m={ixfe:b.ixfe,XF:I[b.ixfe],t:"z"},C>0&&(m.z=B[m.ixfe>>8&63]),ot(m,t,r.opts.Date1904),M({c:b.c,r:b.r},m,t));break;case 190:if(t.sheetStubs)for(var Ct=b.c;Ct<=b.C;++Ct){var Lr=b.ixfe[Ct-b.c];m={ixfe:Lr,XF:I[Lr],t:"z"},C>0&&(m.z=B[m.ixfe>>8&63]),ot(m,t,r.opts.Date1904),M({c:Ct,r:b.r},m,t)}break;case 214:case 516:case 4:m=Rn(b.val,b.ixfe,"s"),m.XF=I[m.ixfe],C>0&&(m.z=B[m.ixfe>>8&63]),ot(m,t,r.opts.Date1904),M({c:b.c,r:b.r},m,t);break;case 0:case 512:ve===1&&(s=b);break;case 252:c=b;break;case 1054:if(P.biff==4){B[C++]=b[1];for(var gt=0;gt=163&&xt(b[1],C+163)}else xt(b[1],b[0]);break;case 30:{B[C++]=b;for(var bt=0;bt=163&&xt(b,C+163)}break;case 229:le=le.concat(b);break;case 93:q[b.cmo[0]]=P.lastobj=b;break;case 438:P.lastobj.TxO=b;break;case 127:P.lastobj.ImData=b;break;case 440:for(v=b[0].s.r;v<=b[0].e.r;++v)for(d=b[0].s.c;d<=b[0].e.c;++d)x=t.dense?(n[v]||[])[d]:n[ge({c:d,r:v})],x&&(x.l=b[1]);break;case 2048:for(v=b[0].s.r;v<=b[0].e.r;++v)for(d=b[0].s.c;d<=b[0].e.c;++d)x=t.dense?(n[v]||[])[d]:n[ge({c:d,r:v})],x&&x.l&&(x.l.Tooltip=b[1]);break;case 28:{if(P.biff<=5&&P.biff>=2)break;x=t.dense?(n[b[0].r]||[])[b[0].c]:n[ge(b[0])];var Ra=q[b[2]];x||(t.dense?(n[b[0].r]||(n[b[0].r]=[]),x=n[b[0].r][b[0].c]={t:"z"}):x=n[ge(b[0])]={t:"z"},s.e.r=Math.max(s.e.r,b[0].r),s.s.r=Math.min(s.s.r,b[0].r),s.e.c=Math.max(s.e.c,b[0].c),s.s.c=Math.min(s.s.c,b[0].c)),x.c||(x.c=[]),p={a:b[1],t:Ra.TxO.t},x.c.push(p)}break;case 2173:Hd(I[b.ixfe],b.ext);break;case 125:{if(!P.cellStyles)break;for(;b.e>=b.s;)he[b.e--]={width:b.w/256,level:b.level||0,hidden:!!(b.flags&1)},be||(be=!0,vi(b.w/256)),Bt(he[b.e+1])}break;case 520:{var br={};b.level!=null&&(ie[b.r]=br,br.level=b.level),b.hidden&&(ie[b.r]=br,br.hidden=!0),b.hpt&&(ie[b.r]=br,br.hpt=b.hpt,br.hpx=Aa(b.hpt))}break;case 38:case 39:case 40:case 41:n["!margins"]||qt(n["!margins"]={}),n["!margins"][{38:"left",39:"right",40:"top",41:"bottom"}[ae]]=b;break;case 161:n["!margins"]||qt(n["!margins"]={}),n["!margins"].header=b.header,n["!margins"].footer=b.footer;break;case 574:b.RTL&&(T.Views[0].RTL=!0);break;case 146:F=b;break;case 2198:J=b;break;case 140:D=b;break;case 442:o?L.CodeName=b||L.name:T.WBProps.CodeName=b||"ThisWorkbook";break}}else Z||console.error("Missing Info for XLS Record 0x"+ae.toString(16)),e.l+=ee}return r.SheetNames=Ze(i).sort(function(ct,ye){return Number(ct)-Number(ye)}).map(function(ct){return i[ct].name}),t.bookSheets||(r.Sheets=a),!r.SheetNames.length&&l["!ref"]?(r.SheetNames.push("Sheet1"),r.Sheets&&(r.Sheets.Sheet1=l)):r.Preamble=l,r.Sheets&&R.forEach(function(ct,ye){r.Sheets[r.SheetNames[ye]]["!autofilter"]=ct}),r.Strings=c,r.SSF=Xe(me),P.enc&&(r.Encryption=P.enc),J&&(r.Themes=J),r.Metadata={},D!==void 0&&(r.Metadata.Country=D),V.names.length>0&&(T.Names=V.names),r.Workbook=T,r}var Ya={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function r_(e,t,r){var a=pe.find(e,"/!DocumentSummaryInformation");if(a&&a.size>0)try{var n=ks(a,O0,Ya.DSI);for(var i in n)t[i]=n[i]}catch(o){if(r.WTF)throw o}var s=pe.find(e,"/!SummaryInformation");if(s&&s.size>0)try{var f=ks(s,R0,Ya.SI);for(var c in f)t[c]==null&&(t[c]=f[c])}catch(o){if(r.WTF)throw o}t.HeadingPairs&&t.TitlesOfParts&&(ac(t.HeadingPairs,t.TitlesOfParts,t,r),delete t.HeadingPairs,delete t.TitlesOfParts)}function t_(e,t){var r=[],a=[],n=[],i=0,s,f=qi(O0,"n"),c=qi(R0,"n");if(e.Props)for(s=Ze(e.Props),i=0;i-1||tc.indexOf(n[i][0])>-1||n[i][1]!=null&&o.push(n[i]);a.length&&pe.utils.cfb_add(t,"/SummaryInformation",Ts(a,Ya.SI,c,R0)),(r.length||o.length)&&pe.utils.cfb_add(t,"/DocumentSummaryInformation",Ts(r,Ya.DSI,f,O0,o.length?o:null,Ya.UDI))}function io(e,t){t||(t={}),Fi(t),$0(),t.codepage&&z0(t.codepage);var r,a;if(e.FullPaths){if(pe.find(e,"/encryption"))throw new Error("File is password-protected");r=pe.find(e,"!CompObj"),a=pe.find(e,"/Workbook")||pe.find(e,"/Book")}else{switch(t.type){case"base64":e=Ur(Hr(e));break;case"binary":e=Ur(e);break;case"buffer":break;case"array":Array.isArray(e)||(e=Array.prototype.slice.call(e));break}vr(e,0),a={content:e}}var n,i;if(r&&qg(r),t.bookProps&&!t.bookSheets)n={};else{var s=Fe?"buffer":"array";if(a&&a.content)n=e_(a.content,t);else if((i=pe.find(e,"PerfectOffice_MAIN"))&&i.content)n=Jt.to_workbook(i.content,(t.type=s,t));else if((i=pe.find(e,"NativeContent_MAIN"))&&i.content)n=Jt.to_workbook(i.content,(t.type=s,t));else throw(i=pe.find(e,"MN0"))&&i.content?new Error("Unsupported Works 4 for Mac file"):new Error("Cannot find Workbook stream");t.bookVBA&&e.FullPaths&&pe.find(e,"/_VBA_PROJECT_CUR/VBA/dir")&&(n.vbaraw=pp(e))}var f={};return e.FullPaths&&r_(e,f,t),n.Props=n.Custprops=f,t.bookFiles&&(n.cfb=e),n}function a_(e,t){var r=t||{},a=pe.utils.cfb_new({root:"R"}),n="/Workbook";switch(r.bookType||"xls"){case"xls":r.bookType="biff8";case"xla":r.bookType||(r.bookType="xla");case"biff8":n="/Workbook",r.biff=8;break;case"biff5":n="/Book",r.biff=5;break;default:throw new Error("invalid type "+r.bookType+" for XLS CFB")}return pe.utils.cfb_add(a,n,so(e,r)),r.biff==8&&(e.Props||e.Custprops)&&t_(e,a),r.biff==8&&e.vbaraw&&vp(a,pe.read(e.vbaraw,{type:typeof e.vbaraw=="string"?"binary":"buffer"})),a}var ln={0:{f:Am},1:{f:Pm},2:{f:e2},3:{f:Gm},4:{f:Um},5:{f:qm},6:{f:i2},7:{f:Km},8:{f:h2},9:{f:u2},10:{f:o2},11:{f:l2},12:{f:Bm},13:{f:t2},14:{f:zm},15:{f:Hm},16:{f:qc},17:{f:f2},18:{f:Ym},19:{f:si},20:{},21:{},22:{},23:{},24:{},25:{},26:{},27:{},28:{},29:{},30:{},31:{},32:{},33:{},34:{},35:{T:1},36:{T:-1},37:{T:1},38:{T:-1},39:{f:fg},40:{},42:{},43:{f:id},44:{f:ad},45:{f:cd},46:{f:ld},47:{f:od},48:{},49:{f:Du},50:{},51:{f:Xd},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:kc},62:{f:n2},63:{f:Qd},64:{f:C2},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:Ar,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:S2},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:Rm},148:{f:Dm,p:16},151:{f:g2},152:{},153:{f:ng},154:{},155:{},156:{f:tg},157:{},158:{},159:{T:1,f:wx},160:{T:-1},161:{T:1,f:la},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:x2},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1},322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:Vd},336:{T:-1},337:{f:Kd,T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:I0},357:{},358:{},359:{},360:{T:1},361:{},362:{f:wc},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:_2},427:{f:w2},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:T2},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:Om},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:v2},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:I0},551:{},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:lp},633:{T:1},634:{T:-1},635:{T:1,f:cp},636:{T:-1},637:{f:Nu},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:z2},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:b2},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}},U0={6:{f:_0},10:{f:Dt},12:{f:sr},13:{f:sr},14:{f:rr},15:{f:rr},16:{f:Sr},17:{f:rr},18:{f:rr},19:{f:sr},20:{f:Cs},21:{f:Cs},23:{f:wc},24:{f:Ds},25:{f:rr},26:{},27:{},28:{f:b1},29:{},34:{f:rr},35:{f:bs},38:{f:Sr},39:{f:Sr},40:{f:Sr},41:{f:Sr},42:{f:rr},43:{f:rr},47:{f:Hx},49:{f:t1},51:{f:sr},60:{},61:{f:qh},64:{f:rr},65:{f:r1},66:{f:sr},77:{},80:{},81:{},82:{},85:{f:sr},89:{},90:{},91:{},92:{f:Wh},93:{f:O1},94:{},95:{f:rr},96:{},97:{},99:{f:rr},125:{f:kc},128:{f:m1},129:{f:Vh},130:{f:sr},131:{f:rr},132:{f:rr},133:{f:Gh},134:{},140:{f:W1},141:{f:sr},144:{},146:{f:G1},151:{},152:{},153:{},154:{},155:{},156:{f:sr},157:{},158:{},160:{f:J1},161:{f:$1},174:{},175:{},176:{},177:{},178:{},180:{},181:{},182:{},184:{},185:{},189:{f:x1},190:{f:d1},193:{f:Dt},197:{},198:{},199:{},200:{},201:{},202:{f:rr},203:{},204:{},205:{},206:{},207:{},208:{},209:{},210:{},211:{},213:{},215:{},216:{},217:{},218:{f:sr},220:{},221:{f:rr},222:{},224:{f:v1},225:{f:Uh},226:{f:Dt},227:{},229:{f:D1},233:{},235:{},236:{},237:{},239:{},240:{},241:{},242:{},244:{},245:{},246:{},247:{},248:{},249:{},251:{},252:{f:zh},253:{f:n1},255:{f:Kh},256:{},259:{},290:{},311:{},312:{},315:{},317:{f:uc},318:{},319:{},320:{},330:{},331:{},333:{},334:{},335:{},336:{},337:{},338:{},339:{},340:{},351:{},352:{f:rr},353:{f:Dt},401:{},402:{},403:{},404:{},405:{},406:{},407:{},408:{},425:{},426:{},427:{},428:{},429:{},430:{f:T1},431:{f:rr},432:{},433:{},434:{},437:{},438:{f:P1},439:{f:rr},440:{f:L1},441:{},442:{f:mn},443:{},444:{f:sr},445:{},446:{},448:{f:Dt},449:{f:Jh,r:2},450:{f:Dt},512:{f:Fs},513:{f:Y1},515:{f:w1},516:{f:s1},517:{f:As},519:{f:q1},520:{f:jh},523:{},545:{f:Is},549:{f:Ss},566:{},574:{f:Qh},638:{f:h1},659:{},1048:{},1054:{f:c1},1084:{},1212:{f:y1},2048:{f:M1},2049:{},2050:{},2051:{},2052:{},2053:{},2054:{},2055:{},2056:{},2057:{f:Dn},2058:{},2059:{},2060:{},2061:{},2062:{},2063:{},2064:{},2066:{},2067:{},2128:{},2129:{},2130:{},2131:{},2132:{},2133:{},2134:{},2135:{},2136:{},2137:{},2138:{},2146:{},2147:{r:12},2148:{},2149:{},2150:{},2151:{f:Dt},2152:{},2154:{},2155:{},2156:{},2161:{},2162:{},2164:{},2165:{},2166:{},2167:{},2168:{},2169:{},2170:{},2171:{},2172:{f:X1,r:12},2173:{f:Wd,r:12},2174:{},2175:{},2180:{},2181:{},2182:{},2183:{},2184:{},2185:{},2186:{},2187:{},2188:{f:rr,r:12},2189:{},2190:{r:12},2191:{},2192:{},2194:{},2195:{},2196:{f:F1,r:12},2197:{},2198:{f:Nd,r:12},2199:{},2200:{},2201:{},2202:{f:A1,r:12},2203:{f:Dt},2204:{},2205:{},2206:{},2207:{},2211:{f:Yh},2212:{},2213:{},2214:{},2215:{},4097:{},4098:{},4099:{},4102:{},4103:{},4105:{},4106:{},4107:{},4108:{},4109:{},4116:{},4117:{},4118:{},4119:{},4120:{},4121:{},4122:{},4123:{},4124:{},4125:{},4126:{},4127:{},4128:{},4129:{},4130:{},4132:{},4133:{},4134:{f:sr},4135:{},4146:{},4147:{},4148:{},4149:{},4154:{},4156:{},4157:{},4158:{},4159:{},4160:{},4161:{},4163:{},4164:{f:K1},4165:{},4166:{},4168:{},4170:{},4171:{},4174:{},4175:{},4176:{},4177:{},4187:{},4188:{f:V1},4189:{},4191:{},4192:{},4193:{},4194:{},4195:{},4196:{},4197:{},4198:{},4199:{},4200:{},0:{f:Fs},1:{},2:{f:tx},3:{f:ex},4:{f:Q1},5:{f:As},7:{f:nx},8:{},9:{f:Dn},11:{},22:{f:sr},30:{f:l1},31:{},32:{},33:{f:Is},36:{},37:{f:Ss},50:{f:ix},62:{},52:{},67:{},68:{f:sr},69:{},86:{},126:{},127:{f:Z1},135:{},136:{},137:{},145:{},148:{},149:{},150:{},169:{},171:{},188:{},191:{},192:{},194:{},195:{},214:{f:sx},223:{},234:{},354:{},421:{},518:{f:_0},521:{f:Dn},536:{f:Ds},547:{f:bs},561:{},579:{},1030:{f:_0},1033:{f:Dn},1091:{},2157:{},2163:{},2177:{},2240:{},2241:{},2242:{},2243:{},2244:{},2245:{},2246:{},2247:{},2248:{},2249:{},2250:{},2251:{},2262:{r:12},29282:{}};function fe(e,t,r,a){var n=t;if(!isNaN(n)){var i=a||(r||[]).length||0,s=e.next(4);s.write_shift(2,n),s.write_shift(2,i),i>0&&ai(r)&&e.push(r)}}function n_(e,t,r,a){var n=a||(r||[]).length||0;if(n<=8224)return fe(e,t,r,n);var i=t;if(!isNaN(i)){for(var s=r.parts||[],f=0,c=0,o=0;o+(s[f]||8224)<=8224;)o+=s[f]||8224,f++;var l=e.next(4);for(l.write_shift(2,i),l.write_shift(2,o),e.push(r.slice(c,c+o)),c+=o;c=0&&n<65536?fe(e,2,ax(r,a,n)):fe(e,3,rx(r,a,n));return;case"b":case"e":fe(e,5,i_(r,a,t.v,t.t));return;case"s":case"str":fe(e,4,s_(r,a,(t.v||"").slice(0,255)));return}fe(e,1,kn(null,r,a))}function c_(e,t,r,a){var n=Array.isArray(t),i=Re(t["!ref"]||"A1"),s,f="",c=[];if(i.e.c>255||i.e.r>16383){if(a.WTF)throw new Error("Range "+(t["!ref"]||"A1")+" exceeds format limit A1:IV16384");i.e.c=Math.min(i.e.c,255),i.e.r=Math.min(i.e.c,16383),s=Te(i)}for(var o=i.s.r;o<=i.e.r;++o){f=tr(o);for(var l=i.s.c;l<=i.e.c;++l){o===i.s.r&&(c[l]=je(l)),s=c[l]+f;var u=n?(t[o]||[])[l]:t[s];u&&f_(e,u,o,l)}}}function o_(e,t){for(var r=t||{},a=Nr(),n=0,i=0;i255||x.e.r>=p){if(t.WTF)throw new Error("Range "+(i["!ref"]||"A1")+" exceeds format limit A1:IV16384");x.e.c=Math.min(x.e.c,255),x.e.r=Math.min(x.e.c,p-1)}fe(a,2057,xi(r,16,t)),fe(a,13,Jr(1)),fe(a,12,Jr(100)),fe(a,15,Ir(!0)),fe(a,17,Ir(!1)),fe(a,16,ra(.001)),fe(a,95,Ir(!0)),fe(a,42,Ir(!1)),fe(a,43,Ir(!1)),fe(a,130,Jr(1)),fe(a,128,g1([0,0])),fe(a,131,Ir(!1)),fe(a,132,Ir(!1)),o&&p_(a,i["!cols"]),fe(a,512,u1(x,t)),o&&(i["!links"]=[]);for(var d=x.s.r;d<=x.e.r;++d){u=tr(d);for(var v=x.s.c;v<=x.e.c;++v){d===x.s.r&&(h[v]=je(v)),l=h[v]+u;var k=c?(i[d]||[])[v]:i[l];k&&(v_(a,k,d,v,t),o&&k.l&&i["!links"].push([l,k.l]))}}var _=f.CodeName||f.name||n;return o&&fe(a,574,e1((s.Views||[])[0])),o&&(i["!merges"]||[]).length&&fe(a,229,I1(i["!merges"])),o&&d_(a,i),fe(a,442,xc(_)),o&&h_(a,i),fe(a,10),a.end()}function g_(e,t,r){var a=Nr(),n=(e||{}).Workbook||{},i=n.Sheets||[],s=n.WBProps||{},f=r.biff==8,c=r.biff==5;if(fe(a,2057,xi(e,5,r)),r.bookType=="xla"&&fe(a,135),fe(a,225,f?Jr(1200):null),fe(a,193,_h(2)),c&&fe(a,191),c&&fe(a,192),fe(a,226),fe(a,92,Hh("SheetJS",r)),fe(a,66,Jr(f?1200:1252)),f&&fe(a,353,Jr(0)),f&&fe(a,448),fe(a,317,j1(e.SheetNames.length)),f&&e.vbaraw&&fe(a,211),f&&e.vbaraw){var o=s.CodeName||"ThisWorkbook";fe(a,442,xc(o))}fe(a,156,Jr(17)),fe(a,25,Ir(!1)),fe(a,18,Ir(!1)),fe(a,19,Jr(0)),f&&fe(a,431,Ir(!1)),f&&fe(a,444,Jr(0)),fe(a,61,Zh()),fe(a,64,Ir(!1)),fe(a,141,Jr(0)),fe(a,34,Ir(J2(e)=="true")),fe(a,14,Ir(!0)),f&&fe(a,439,Ir(!1)),fe(a,218,Jr(0)),l_(a,e,r),u_(a,e.SSF,r),x_(a,r),f&&fe(a,352,Ir(!1));var l=a.end(),u=Nr();f&&fe(u,140,H1()),f&&r.Strings&&n_(u,252,$h(r.Strings)),fe(u,10);var h=u.end(),x=Nr(),p=0,d=0;for(d=0;d255&&typeof console<"u"&&console.error&&console.error("Worksheet '"+e.SheetNames[r]+"' extends beyond column IV (255). Data may be lost.")}}var i=t||{};switch(i.biff||2){case 8:case 5:return __(e,t);case 4:case 3:case 2:return o_(e,t)}throw new Error("invalid type "+i.bookType+" for BIFF")}function Hs(e,t){var r=t||{},a=r.dense?[]:{};e=e.replace(//g,"");var n=e.match(/");var i=e.match(/<\/table/i),s=n.index,f=i&&i.index||e.length,c=nu(e.slice(s,f),/(:?]*>)/i,""),o=-1,l=0,u=0,h=0,x={s:{r:1e7,c:1e7},e:{r:0,c:0}},p=[];for(s=0;s/i);for(f=0;f"))>-1;)m=m.slice(D+1);for(var I=0;I")));h=T.colspan?+T.colspan:1,((u=+T.rowspan)>1||h>1)&&p.push({s:{r:o,c:l},e:{r:o+(u||1)-1,c:l+h-1}});var L=T.t||T["data-t"]||"";if(!m.length){l+=h;continue}if(m=Df(m),x.s.r>o&&(x.s.r=o),x.e.rl&&(x.s.c=l),x.e.cr||n[o].s.c>s)&&!(n[o].e.r1&&(x.rowspan=f),c>1&&(x.colspan=c),a.editable?h=''+h+"":u&&(x["data-t"]=u&&u.t||"z",u.v!=null&&(x["data-v"]=u.v),u.z!=null&&(x["data-z"]=u.z),u.l&&(u.l.Target||"#").charAt(0)!="#"&&(h=''+h+"")),x.id=(a.id||"sjs")+"-"+l,i.push(se("td",h,x))}}var p="";return p+i.join("")+""}var k_='SheetJS Table Export',T_="";function E_(e,t){var r=e.match(/[\s\S]*?<\/table>/gi);if(!r||r.length==0)throw new Error("Invalid HTML: could not find
");if(r.length==1)return Ht(Hs(r[0],t),t);var a=Di();return r.forEach(function(n,i){Ii(a,Hs(n,t),"Sheet"+(i+1))}),a}function S_(e,t,r){var a=[];return a.join("")+""}function fo(e,t){var r=t||{},a=r.header!=null?r.header:k_,n=r.footer!=null?r.footer:T_,i=[a],s=Pr(e["!ref"]);r.dense=Array.isArray(e),i.push(S_(e,s,r));for(var f=s.s.r;f<=s.e.r;++f)i.push(w_(e,s,f,r));return i.push("
"+n),i.join("")}function co(e,t,r){var a=r||{},n=0,i=0;if(a.origin!=null)if(typeof a.origin=="number")n=a.origin;else{var s=typeof a.origin=="string"?Ye(a.origin):a.origin;n=s.r,i=s.c}var f=t.getElementsByTagName("tr"),c=Math.min(a.sheetRows||1e7,f.length),o={s:{r:0,c:0},e:{r:n,c:i}};if(e["!ref"]){var l=Pr(e["!ref"]);o.s.r=Math.min(o.s.r,l.s.r),o.s.c=Math.min(o.s.c,l.s.c),o.e.r=Math.max(o.e.r,l.e.r),o.e.c=Math.max(o.e.c,l.e.c),n==-1&&(o.e.r=n=l.e.r+1)}var u=[],h=0,x=e["!rows"]||(e["!rows"]=[]),p=0,d=0,v=0,k=0,_=0,m=0;for(e["!cols"]||(e["!cols"]=[]);p1||m>1)&&u.push({s:{r:d+n,c:k+i},e:{r:d+n+(_||1)-1,c:k+i+(m||1)-1}});var X={t:"s",v:T},M=F.getAttribute("data-t")||F.getAttribute("t")||"";T!=null&&(T.length==0?X.t=M||"z":a.raw||T.trim().length==0||M=="s"||(T==="TRUE"?X={t:"b",v:!0}:T==="FALSE"?X={t:"b",v:!1}:isNaN(it(T))?isNaN(Fa(T).getDate())||(X={t:"d",v:Ge(T)},a.cellDates||(X={t:"n",v:lr(X.v)}),X.z=a.dateNF||me[14]):X={t:"n",v:it(T)})),X.z===void 0&&L!=null&&(X.z=L);var P="",J=F.getElementsByTagName("A");if(J&&J.length)for(var le=0;le=c&&(e["!fullref"]=Te((o.e.r=f.length-p+d-1+n,o))),e}function oo(e,t){var r=t||{},a=r.dense?[]:{};return co(a,e,t)}function F_(e,t){return Ht(oo(e,t),t)}function Vs(e){var t="",r=y_(e);return r&&(t=r(e).getPropertyValue("display")),t||(t=e.style&&e.style.display),t==="none"}function y_(e){return e.ownerDocument.defaultView&&typeof e.ownerDocument.defaultView.getComputedStyle=="function"?e.ownerDocument.defaultView.getComputedStyle:typeof getComputedStyle=="function"?getComputedStyle:null}function A_(e){var t=e.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(//g," ").replace(//g,function(a,n){return Array(parseInt(n,10)+1).join(" ")}).replace(/]*\/>/g," ").replace(//g,` +`),r=Oe(t.replace(/<[^>]*>/g,""));return[r]}var Gs={day:["d","dd"],month:["m","mm"],year:["y","yy"],hours:["h","hh"],minutes:["m","mm"],seconds:["s","ss"],"am-pm":["A/P","AM/PM"],"day-of-week":["ddd","dddd"],era:["e","ee"],quarter:["\\Qm",'m\\"th quarter"']};function lo(e,t){var r=t||{},a=ri(e),n=[],i,s,f={name:""},c="",o=0,l,u,h={},x=[],p=r.dense?[]:{},d,v,k={value:""},_="",m=0,D=[],I=-1,F=-1,T={s:{r:1e6,c:1e7},e:{r:0,c:0}},L=0,O={},X=[],M={},P=0,J=0,le=[],q=1,he=1,ie=[],be={Names:[]},V={},de=["",""],ve=[],C={},B="",R=0,N=!1,K=!1,re=0;for(an.lastIndex=0,a=a.replace(//mg,"").replace(//gm,"");d=an.exec(a);)switch(d[3]=d[3].replace(/_.*$/,"")){case"table":case"工作表":d[1]==="/"?(T.e.c>=T.s.c&&T.e.r>=T.s.r?p["!ref"]=Te(T):p["!ref"]="A1:A1",r.sheetRows>0&&r.sheetRows<=T.e.r&&(p["!fullref"]=p["!ref"],T.e.r=r.sheetRows-1,p["!ref"]=Te(T)),X.length&&(p["!merges"]=X),le.length&&(p["!rows"]=le),l.name=l.名称||l.name,typeof JSON<"u"&&JSON.stringify(l),x.push(l.name),h[l.name]=p,K=!1):d[0].charAt(d[0].length-2)!=="/"&&(l=_e(d[0],!1),I=F=-1,T.s.r=T.s.c=1e7,T.e.r=T.e.c=0,p=r.dense?[]:{},X=[],le=[],K=!0);break;case"table-row-group":d[1]==="/"?--L:++L;break;case"table-row":case"行":if(d[1]==="/"){I+=q,q=1;break}if(u=_e(d[0],!1),u.行号?I=u.行号-1:I==-1&&(I=0),q=+u["number-rows-repeated"]||1,q<10)for(re=0;re0&&(le[I+re]={level:L});F=-1;break;case"covered-table-cell":d[1]!=="/"&&++F,r.sheetStubs&&(r.dense?(p[I]||(p[I]=[]),p[I][F]={t:"z"}):p[ge({r:I,c:F})]={t:"z"}),_="",D=[];break;case"table-cell":case"数据":if(d[0].charAt(d[0].length-2)==="/")++F,k=_e(d[0],!1),he=parseInt(k["number-columns-repeated"]||"1",10),v={t:"z",v:null},k.formula&&r.cellFormula!=!1&&(v.f=Ms(Oe(k.formula))),(k.数据类型||k["value-type"])=="string"&&(v.t="s",v.v=Oe(k["string-value"]||""),r.dense?(p[I]||(p[I]=[]),p[I][F]=v):p[ge({r:I,c:F})]=v),F+=he-1;else if(d[1]!=="/"){++F,_="",m=0,D=[],he=1;var ae=q?I+q-1:I;if(F>T.e.c&&(T.e.c=F),FT.e.r&&(T.e.r=ae),k=_e(d[0],!1),ve=[],C={},v={t:k.数据类型||k["value-type"],v:null},r.cellFormula)if(k.formula&&(k.formula=Oe(k.formula)),k["number-matrix-columns-spanned"]&&k["number-matrix-rows-spanned"]&&(P=parseInt(k["number-matrix-rows-spanned"],10)||0,J=parseInt(k["number-matrix-columns-spanned"],10)||0,M={s:{r:I,c:F},e:{r:I+P-1,c:F+J-1}},v.F=Te(M),ie.push([M,v.F])),k.formula)v.f=Ms(k.formula);else for(re=0;re=ie[re][0].s.r&&I<=ie[re][0].e.r&&F>=ie[re][0].s.c&&F<=ie[re][0].e.c&&(v.F=ie[re][1]);switch((k["number-columns-spanned"]||k["number-rows-spanned"])&&(P=parseInt(k["number-rows-spanned"],10)||0,J=parseInt(k["number-columns-spanned"],10)||0,M={s:{r:I,c:F},e:{r:I+P-1,c:F+J-1}},X.push(M)),k["number-columns-repeated"]&&(he=parseInt(k["number-columns-repeated"],10)),v.t){case"boolean":v.t="b",v.v=He(k["boolean-value"]);break;case"float":v.t="n",v.v=parseFloat(k.value);break;case"percentage":v.t="n",v.v=parseFloat(k.value);break;case"currency":v.t="n",v.v=parseFloat(k.value);break;case"date":v.t="d",v.v=Ge(k["date-value"]),r.cellDates||(v.t="n",v.v=lr(v.v)),v.z="m/d/yy";break;case"time":v.t="n",v.v=ru(k["time-value"])/86400,r.cellDates&&(v.t="d",v.v=i0(v.v)),v.z="HH:MM:SS";break;case"number":v.t="n",v.v=parseFloat(k.数据数值);break;default:if(v.t==="string"||v.t==="text"||!v.t)v.t="s",k["string-value"]!=null&&(_=Oe(k["string-value"]),D=[]);else throw new Error("Unsupported value type "+v.t)}}else{if(N=!1,v.t==="s"&&(v.v=_||"",D.length&&(v.R=D),N=m==0),V.Target&&(v.l=V),ve.length>0&&(v.c=ve,ve=[]),_&&r.cellText!==!1&&(v.w=_),N&&(v.t="z",delete v.v),(!N||r.sheetStubs)&&!(r.sheetRows&&r.sheetRows<=I))for(var ee=0;ee0;)p[I+ee][F+he]=Xe(v);else for(p[ge({r:I+ee,c:F})]=v;--he>0;)p[ge({r:I+ee,c:F+he})]=Xe(v);T.e.c<=F&&(T.e.c=F)}he=parseInt(k["number-columns-repeated"]||"1",10),F+=he-1,he=0,v={},_="",D=[]}V={};break;case"document":case"document-content":case"电子表格文档":case"spreadsheet":case"主体":case"scripts":case"styles":case"font-face-decls":case"master-styles":if(d[1]==="/"){if((i=n.pop())[0]!==d[3])throw"Bad state: "+i}else d[0].charAt(d[0].length-2)!=="/"&&n.push([d[3],!0]);break;case"annotation":if(d[1]==="/"){if((i=n.pop())[0]!==d[3])throw"Bad state: "+i;C.t=_,D.length&&(C.R=D),C.a=B,ve.push(C)}else d[0].charAt(d[0].length-2)!=="/"&&n.push([d[3],!1]);B="",R=0,_="",m=0,D=[];break;case"creator":d[1]==="/"?B=a.slice(R,d.index):R=d.index+d[0].length;break;case"meta":case"元数据":case"settings":case"config-item-set":case"config-item-map-indexed":case"config-item-map-entry":case"config-item-map-named":case"shapes":case"frame":case"text-box":case"image":case"data-pilot-tables":case"list-style":case"form":case"dde-links":case"event-listeners":case"chart":if(d[1]==="/"){if((i=n.pop())[0]!==d[3])throw"Bad state: "+i}else d[0].charAt(d[0].length-2)!=="/"&&n.push([d[3],!1]);_="",m=0,D=[];break;case"scientific-number":break;case"currency-symbol":break;case"currency-style":break;case"number-style":case"percentage-style":case"date-style":case"time-style":if(d[1]==="/"){if(O[f.name]=c,(i=n.pop())[0]!==d[3])throw"Bad state: "+i}else d[0].charAt(d[0].length-2)!=="/"&&(c="",f=_e(d[0],!1),n.push([d[3],!0]));break;case"script":break;case"libraries":break;case"automatic-styles":break;case"default-style":case"page-layout":break;case"style":break;case"map":break;case"font-face":break;case"paragraph-properties":break;case"table-properties":break;case"table-column-properties":break;case"table-row-properties":break;case"table-cell-properties":break;case"number":switch(n[n.length-1][0]){case"time-style":case"date-style":s=_e(d[0],!1),c+=Gs[d[3]][s.style==="long"?1:0];break}break;case"fraction":break;case"day":case"month":case"year":case"era":case"day-of-week":case"week-of-year":case"quarter":case"hours":case"minutes":case"seconds":case"am-pm":switch(n[n.length-1][0]){case"time-style":case"date-style":s=_e(d[0],!1),c+=Gs[d[3]][s.style==="long"?1:0];break}break;case"boolean-style":break;case"boolean":break;case"text-style":break;case"text":if(d[0].slice(-2)==="/>")break;if(d[1]==="/")switch(n[n.length-1][0]){case"number-style":case"date-style":case"time-style":c+=a.slice(o,d.index);break}else o=d.index+d[0].length;break;case"named-range":s=_e(d[0],!1),de=w0(s["cell-range-address"]);var Z={Name:s.name,Ref:de[0]+"!"+de[1]};K&&(Z.Sheet=x.length),be.Names.push(Z);break;case"text-content":break;case"text-properties":break;case"embedded-text":break;case"body":case"电子表格":break;case"forms":break;case"table-column":break;case"table-header-rows":break;case"table-rows":break;case"table-column-group":break;case"table-header-columns":break;case"table-columns":break;case"null-date":break;case"graphic-properties":break;case"calculation-settings":break;case"named-expressions":break;case"label-range":break;case"label-ranges":break;case"named-expression":break;case"sort":break;case"sort-by":break;case"sort-groups":break;case"tab":break;case"line-break":break;case"span":break;case"p":case"文本串":if(["master-styles"].indexOf(n[n.length-1][0])>-1)break;if(d[1]==="/"&&(!k||!k["string-value"])){var Se=A_(a.slice(m,d.index));_=(_.length>0?_+` +`:"")+Se[0]}else _e(d[0],!1),m=d.index+d[0].length;break;case"s":break;case"database-range":if(d[1]==="/")break;try{de=w0(_e(d[0])["target-range-address"]),h[de[0]]["!autofilter"]={ref:de[1]}}catch{}break;case"date":break;case"object":break;case"title":case"标题":break;case"desc":break;case"binary-data":break;case"table-source":break;case"scenario":break;case"iteration":break;case"content-validations":break;case"content-validation":break;case"help-message":break;case"error-message":break;case"database-ranges":break;case"filter":break;case"filter-and":break;case"filter-or":break;case"filter-condition":break;case"list-level-style-bullet":break;case"list-level-style-number":break;case"list-level-properties":break;case"sender-firstname":case"sender-lastname":case"sender-initials":case"sender-title":case"sender-position":case"sender-email":case"sender-phone-private":case"sender-fax":case"sender-company":case"sender-phone-work":case"sender-street":case"sender-city":case"sender-postal-code":case"sender-country":case"sender-state-or-province":case"author-name":case"author-initials":case"chapter":case"file-name":case"template-name":case"sheet-name":break;case"event-listener":break;case"initial-creator":case"creation-date":case"print-date":case"generator":case"document-statistic":case"user-defined":case"editing-duration":case"editing-cycles":break;case"config-item":break;case"page-number":break;case"page-count":break;case"time":break;case"cell-range-source":break;case"detective":break;case"operation":break;case"highlighted-range":break;case"data-pilot-table":case"source-cell-range":case"source-service":case"data-pilot-field":case"data-pilot-level":case"data-pilot-subtotals":case"data-pilot-subtotal":case"data-pilot-members":case"data-pilot-member":case"data-pilot-display-info":case"data-pilot-sort-info":case"data-pilot-layout-info":case"data-pilot-field-reference":case"data-pilot-groups":case"data-pilot-group":case"data-pilot-group-member":break;case"rect":break;case"dde-connection-decls":case"dde-connection-decl":case"dde-link":case"dde-source":break;case"properties":break;case"property":break;case"a":if(d[1]!=="/"){if(V=_e(d[0],!1),!V.href)break;V.Target=Oe(V.href),delete V.href,V.Target.charAt(0)=="#"&&V.Target.indexOf(".")>-1?(de=w0(V.Target.slice(1)),V.Target="#"+de[0]+"!"+de[1]):V.Target.match(/^\.\.[\\\/]/)&&(V.Target=V.Target.slice(3))}break;case"table-protection":break;case"data-pilot-grand-total":break;case"office-document-common-attrs":break;default:switch(d[2]){case"dc:":case"calcext:":case"loext:":case"ooo:":case"chartooo:":case"draw:":case"style:":case"chart:":case"form:":case"uof:":case"表:":case"字:":break;default:if(r.WTF)throw new Error(d)}}var b={Sheets:h,SheetNames:x,Workbook:be};return r.bookSheets&&delete b.Sheets,b}function Xs(e,t){t=t||{},Yr(e,"META-INF/manifest.xml")&&eh(ir(e,"META-INF/manifest.xml"),t);var r=Wr(e,"content.xml");if(!r)throw new Error("Missing content.xml in ODS / UOF file");var a=lo(Me(r),t);return Yr(e,"meta.xml")&&(a.Props=ec(ir(e,"meta.xml"))),a}function zs(e,t){return lo(e,t)}var C_=function(){var e=["",'',"",'',"",'',"",""].join(""),t=""+e+"";return function(){return ar+t}}(),$s=function(){var e=function(i){return Be(i).replace(/ +/g,function(s){return''}).replace(/\t/g,"").replace(/\n/g,"").replace(/^ /,"").replace(/ $/,"")},t=` +`,r=` +`,a=function(i,s,f){var c=[];c.push(' +`);var o=0,l=0,u=Pr(i["!ref"]||"A1"),h=i["!merges"]||[],x=0,p=Array.isArray(i);if(i["!cols"])for(l=0;l<=u.e.c;++l)c.push(" +`);var d="",v=i["!rows"]||[];for(o=0;o +`);for(;o<=u.e.r;++o){for(d=v[o]?' table:style-name="ro'+v[o].ods+'"':"",c.push(" +`),l=0;ll)&&!(h[x].s.r>o)&&!(h[x].e.c +`)}return c.push(` +`),c.join("")},n=function(i,s){i.push(` +`),i.push(` +`),i.push(` +`),i.push(` / +`),i.push(` +`),i.push(` / +`),i.push(` +`),i.push(` +`);var f=0;s.SheetNames.map(function(o){return s.Sheets[o]}).forEach(function(o){if(o&&o["!cols"]){for(var l=0;l +`),i.push(' +`),i.push(` +`),++f}}});var c=0;s.SheetNames.map(function(o){return s.Sheets[o]}).forEach(function(o){if(o&&o["!rows"]){for(var l=0;l +`),i.push(' +`),i.push(` +`),++c}}}),i.push(` +`),i.push(` +`),i.push(` +`),i.push(` +`),i.push(` +`)};return function(s,f){var c=[ar],o=tn({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:meta":"urn:oasis:names:tc:opendocument:xmlns:meta:1.0","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:presentation":"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:chart":"urn:oasis:names:tc:opendocument:xmlns:chart:1.0","xmlns:dr3d":"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0","xmlns:math":"http://www.w3.org/1998/Math/MathML","xmlns:form":"urn:oasis:names:tc:opendocument:xmlns:form:1.0","xmlns:script":"urn:oasis:names:tc:opendocument:xmlns:script:1.0","xmlns:ooo":"http://openoffice.org/2004/office","xmlns:ooow":"http://openoffice.org/2004/writer","xmlns:oooc":"http://openoffice.org/2004/calc","xmlns:dom":"http://www.w3.org/2001/xml-events","xmlns:xforms":"http://www.w3.org/2002/xforms","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:sheet":"urn:oasis:names:tc:opendocument:sh33tjs:1.0","xmlns:rpt":"http://openoffice.org/2005/report","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","xmlns:xhtml":"http://www.w3.org/1999/xhtml","xmlns:grddl":"http://www.w3.org/2003/g/data-view#","xmlns:tableooo":"http://openoffice.org/2009/table","xmlns:drawooo":"http://openoffice.org/2010/draw","xmlns:calcext":"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0","xmlns:loext":"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0","xmlns:field":"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0","xmlns:formx":"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0","xmlns:css3t":"http://www.w3.org/TR/css3-text/","office:version":"1.2"}),l=tn({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});f.bookType=="fods"?(c.push(" +`),c.push(Qf().replace(/office:document-meta/g,"office:meta"))):c.push(" +`),n(c,s),c.push(` +`),c.push(` +`);for(var u=0;u!=s.SheetNames.length;++u)c.push(a(s.Sheets[s.SheetNames[u]],s,u));return c.push(` +`),c.push(` +`),f.bookType=="fods"?c.push(""):c.push(""),c.join("")}}();function uo(e,t){if(t.bookType=="fods")return $s(e,t);var r=q0(),a="",n=[],i=[];return a="mimetype",Ee(r,a,"application/vnd.oasis.opendocument.spreadsheet"),a="content.xml",Ee(r,a,$s(e,t)),n.push([a,"text/xml"]),i.push([a,"ContentFile"]),a="styles.xml",Ee(r,a,C_(e,t)),n.push([a,"text/xml"]),i.push([a,"StylesFile"]),a="meta.xml",Ee(r,a,ar+Qf()),n.push([a,"text/xml"]),i.push([a,"MetadataFile"]),a="manifest.rdf",Ee(r,a,ah(i)),n.push([a,"application/rdf+xml"]),a="META-INF/manifest.xml",Ee(r,a,rh(n)),r}/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */function na(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function W0(e){return typeof TextDecoder<"u"?new TextDecoder().decode(e):Me(Wt(e))}function b_(e){return typeof TextEncoder<"u"?new TextEncoder().encode(e):Ur(ht(e))}function D_(e,t){e:for(var r=0;r<=e.length-t.length;++r){for(var a=0;a>1&1431655765,e=(e&858993459)+(e>>2&858993459),(e+(e>>4)&252645135)*16843009>>>24}function I_(e,t){for(var r=(e[t+15]&127)<<7|e[t+14]>>1,a=e[t+14]&1,n=t+13;n>=t;--n)a=a*256+e[n];return(e[t+15]&128?-a:a)*Math.pow(10,r-6176)}function O_(e,t,r){var a=Math.floor(r==0?0:Math.LOG10E*Math.log(Math.abs(r)))+6176-20,n=r/Math.pow(10,a-6176);e[t+15]|=a>>7,e[t+14]|=(a&127)<<1;for(var i=0;n>=1;++i,n/=256)e[t+i]=n&255;e[t+15]|=r>=0?0:128}function un(e,t){var r=t?t[0]:0,a=e[r]&127;e:if(e[r++]>=128&&(a|=(e[r]&127)<<7,e[r++]<128||(a|=(e[r]&127)<<14,e[r++]<128)||(a|=(e[r]&127)<<21,e[r++]<128)||(a+=(e[r]&127)*Math.pow(2,28),++r,e[r++]<128)||(a+=(e[r]&127)*Math.pow(2,35),++r,e[r++]<128)||(a+=(e[r]&127)*Math.pow(2,42),++r,e[r++]<128)))break e;return t&&(t[0]=r),a}function Pe(e){var t=new Uint8Array(7);t[0]=e&127;var r=1;e:if(e>127){if(t[r-1]|=128,t[r]=e>>7&127,++r,e<=16383||(t[r-1]|=128,t[r]=e>>14&127,++r,e<=2097151)||(t[r-1]|=128,t[r]=e>>21&127,++r,e<=268435455)||(t[r-1]|=128,t[r]=e/256>>>21&127,++r,e<=34359738367)||(t[r-1]|=128,t[r]=e/65536>>>21&127,++r,e<=4398046511103))break e;t[r-1]|=128,t[r]=e/16777216>>>21&127,++r}return t.slice(0,r)}function qe(e){var t=0,r=e[t]&127;e:if(e[t++]>=128){if(r|=(e[t]&127)<<7,e[t++]<128||(r|=(e[t]&127)<<14,e[t++]<128)||(r|=(e[t]&127)<<21,e[t++]<128))break e;r|=(e[t]&127)<<28}return r}function Ne(e){for(var t=[],r=[0];r[0]=128;);f=e.slice(c,r[0])}break;case 5:s=4,f=e.slice(r[0],r[0]+s),r[0]+=s;break;case 1:s=8,f=e.slice(r[0],r[0]+s),r[0]+=s;break;case 2:s=un(e,r),f=e.slice(r[0],r[0]+s),r[0]+=s;break;case 3:case 4:default:throw new Error("PB Type ".concat(i," for Field ").concat(n," at offset ").concat(a))}var o={data:f,type:i};t[n]==null?t[n]=[o]:t[n].push(o)}return t}function dr(e){var t=[];return e.forEach(function(r,a){r.forEach(function(n){n.data&&(t.push(Pe(a*8+n.type)),n.type==2&&t.push(Pe(n.data.length)),t.push(n.data))})}),Ut(t)}function Si(e,t){return e?.map(function(r){return t(r.data)})||[]}function Kr(e){for(var t,r=[],a=[0];a[0]>>0>0),r.push(s)}return r}function xa(e){var t=[];return e.forEach(function(r){var a=[];a[1]=[{data:Pe(r.id),type:0}],a[2]=[],r.merge!=null&&(a[3]=[{data:Pe(+!!r.merge),type:0}]);var n=[];r.messages.forEach(function(s){n.push(s.data),s.meta[3]=[{type:0,data:Pe(s.data.length)}],a[2].push({data:dr(s.meta),type:2})});var i=dr(a);t.push(Pe(i.length)),t.push(i),n.forEach(function(s){return t.push(s)})}),Ut(t)}function R_(e,t){if(e!=0)throw new Error("Unexpected Snappy chunk type ".concat(e));for(var r=[0],a=un(t,r),n=[];r[0]>2;if(s<60)++s;else{var f=s-59;s=t[r[0]],f>1&&(s|=t[r[0]+1]<<8),f>2&&(s|=t[r[0]+2]<<16),f>3&&(s|=t[r[0]+3]<<24),s>>>=0,s++,r[0]+=f}n.push(t.slice(r[0],r[0]+s)),r[0]+=s;continue}else{var c=0,o=0;if(i==1?(o=(t[r[0]]>>2&7)+4,c=(t[r[0]++]&224)<<3,c|=t[r[0]++]):(o=(t[r[0]++]>>2)+1,i==2?(c=t[r[0]]|t[r[0]+1]<<8,r[0]+=2):(c=(t[r[0]]|t[r[0]+1]<<8|t[r[0]+2]<<16|t[r[0]+3]<<24)>>>0,r[0]+=4)),n=[Ut(n)],c==0)throw new Error("Invalid offset 0");if(c>n[0].length)throw new Error("Invalid offset beyond length");if(o>=c)for(n.push(n[0].slice(-c)),o-=c;o>=n[n.length-1].length;)n.push(n[n.length-1]),o-=n[n.length-1].length;n.push(n[0].slice(-c,-c+o))}}var l=Ut(n);if(l.length!=a)throw new Error("Unexpected length: ".concat(l.length," != ").concat(a));return l}function jr(e){for(var t=[],r=0;r>8&255]))):a<=16777216?(s+=4,t.push(new Uint8Array([248,a-1&255,a-1>>8&255,a-1>>16&255]))):a<=4294967296&&(s+=5,t.push(new Uint8Array([252,a-1&255,a-1>>8&255,a-1>>16&255,a-1>>>24&255]))),t.push(e.slice(r,r+a)),s+=a,n[0]=0,n[1]=s&255,n[2]=s>>8&255,n[3]=s>>16&255,r+=a}return Ut(t)}function N_(e,t,r,a){var n=na(e),i=n.getUint32(4,!0),s=(a>1?12:8)+Ks(i&(a>1?3470:398))*4,f=-1,c=-1,o=NaN,l=new Date(2001,0,1);i&512&&(f=n.getUint32(s,!0),s+=4),s+=Ks(i&(a>1?12288:4096))*4,i&16&&(c=n.getUint32(s,!0),s+=4),i&32&&(o=n.getFloat64(s,!0),s+=8),i&64&&(l.setTime(l.getTime()+n.getFloat64(s,!0)*1e3),s+=8);var u;switch(e[2]){case 0:break;case 2:u={t:"n",v:o};break;case 3:u={t:"s",v:t[c]};break;case 5:u={t:"d",v:l};break;case 6:u={t:"b",v:o>0};break;case 7:u={t:"n",v:o/86400};break;case 8:u={t:"e",v:0};break;case 9:if(f>-1)u={t:"s",v:r[f]};else if(c>-1)u={t:"s",v:t[c]};else if(!isNaN(o))u={t:"n",v:o};else throw new Error("Unsupported cell type ".concat(e.slice(0,4)));break;default:throw new Error("Unsupported cell type ".concat(e.slice(0,4)))}return u}function P_(e,t,r){var a=na(e),n=a.getUint32(8,!0),i=12,s=-1,f=-1,c=NaN,o=NaN,l=new Date(2001,0,1);n&1&&(c=I_(e,i),i+=16),n&2&&(o=a.getFloat64(i,!0),i+=8),n&4&&(l.setTime(l.getTime()+a.getFloat64(i,!0)*1e3),i+=8),n&8&&(f=a.getUint32(i,!0),i+=4),n&16&&(s=a.getUint32(i,!0),i+=4);var u;switch(e[1]){case 0:break;case 2:u={t:"n",v:c};break;case 3:u={t:"s",v:t[f]};break;case 5:u={t:"d",v:l};break;case 6:u={t:"b",v:o>0};break;case 7:u={t:"n",v:o/86400};break;case 8:u={t:"e",v:0};break;case 9:if(s>-1)u={t:"s",v:r[s]};else throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(n&31," : ").concat(e.slice(0,4)));break;case 10:u={t:"n",v:c};break;default:throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(n&31," : ").concat(e.slice(0,4)))}return u}function T0(e,t){var r=new Uint8Array(32),a=na(r),n=12,i=0;switch(r[0]=5,e.t){case"n":r[1]=2,O_(r,n,e.v),i|=1,n+=16;break;case"b":r[1]=6,a.setFloat64(n,e.v?1:0,!0),i|=2,n+=8;break;case"s":if(t.indexOf(e.v)==-1)throw new Error("Value ".concat(e.v," missing from SST!"));r[1]=3,a.setUint32(n,t.indexOf(e.v),!0),i|=8,n+=4;break;default:throw"unsupported cell type "+e.t}return a.setUint32(8,i,!0),r.slice(0,n)}function E0(e,t){var r=new Uint8Array(32),a=na(r),n=12,i=0;switch(r[0]=3,e.t){case"n":r[2]=2,a.setFloat64(n,e.v,!0),i|=32,n+=8;break;case"b":r[2]=6,a.setFloat64(n,e.v?1:0,!0),i|=32,n+=8;break;case"s":if(t.indexOf(e.v)==-1)throw new Error("Value ".concat(e.v," missing from SST!"));r[2]=3,a.setUint32(n,t.indexOf(e.v),!0),i|=16,n+=4;break;default:throw"unsupported cell type "+e.t}return a.setUint32(4,i,!0),r.slice(0,n)}function L_(e,t,r){switch(e[0]){case 0:case 1:case 2:case 3:return N_(e,t,r,e[0]);case 5:return P_(e,t,r);default:throw new Error("Unsupported payload version ".concat(e[0]))}}function wr(e){var t=Ne(e);return un(t[1][0].data)}function js(e,t){var r=Ne(t.data),a=qe(r[1][0].data),n=r[3],i=[];return(n||[]).forEach(function(s){var f=Ne(s.data),c=qe(f[1][0].data)>>>0;switch(a){case 1:i[c]=W0(f[3][0].data);break;case 8:{var o=e[wr(f[9][0].data)][0],l=Ne(o.data),u=e[wr(l[1][0].data)][0],h=qe(u.meta[1][0].data);if(h!=2001)throw new Error("2000 unexpected reference to ".concat(h));var x=Ne(u.data);i[c]=x[3].map(function(p){return W0(p.data)}).join("")}break}}),i}function B_(e,t){var r,a,n,i,s,f,c,o,l,u,h,x,p,d,v=Ne(e),k=qe(v[1][0].data)>>>0,_=qe(v[2][0].data)>>>0,m=((a=(r=v[8])==null?void 0:r[0])==null?void 0:a.data)&&qe(v[8][0].data)>0||!1,D,I;if((i=(n=v[7])==null?void 0:n[0])!=null&&i.data&&t!=0)D=(f=(s=v[7])==null?void 0:s[0])==null?void 0:f.data,I=(o=(c=v[6])==null?void 0:c[0])==null?void 0:o.data;else if((u=(l=v[4])==null?void 0:l[0])!=null&&u.data&&t!=1)D=(x=(h=v[4])==null?void 0:h[0])==null?void 0:x.data,I=(d=(p=v[3])==null?void 0:p[0])==null?void 0:d.data;else throw"NUMBERS Tile missing ".concat(t," cell storage");for(var F=m?4:1,T=na(D),L=[],O=0;O=1&&(M[L[L.length-1][0]]=I.subarray(L[L.length-1][1]*F)),{R:k,cells:M}}function M_(e,t){var r,a=Ne(t.data),n=(r=a?.[7])!=null&&r[0]?qe(a[7][0].data)>>>0>0?1:0:-1,i=Si(a[5],function(s){return B_(s,n)});return{nrows:qe(a[4][0].data)>>>0,data:i.reduce(function(s,f){return s[f.R]||(s[f.R]=[]),f.cells.forEach(function(c,o){if(s[f.R][o])throw new Error("Duplicate cell r=".concat(f.R," c=").concat(o));s[f.R][o]=c}),s},[])}}function U_(e,t,r){var a,n=Ne(t.data),i={s:{r:0,c:0},e:{r:0,c:0}};if(i.e.r=(qe(n[6][0].data)>>>0)-1,i.e.r<0)throw new Error("Invalid row varint ".concat(n[6][0].data));if(i.e.c=(qe(n[7][0].data)>>>0)-1,i.e.c<0)throw new Error("Invalid col varint ".concat(n[7][0].data));r["!ref"]=Te(i);var s=Ne(n[4][0].data),f=js(e,e[wr(s[4][0].data)][0]),c=(a=s[17])!=null&&a[0]?js(e,e[wr(s[17][0].data)][0]):[],o=Ne(s[3][0].data),l=0;o[1].forEach(function(u){var h=Ne(u.data),x=e[wr(h[2][0].data)][0],p=qe(x.meta[1][0].data);if(p!=6002)throw new Error("6001 unexpected reference to ".concat(p));var d=M_(e,x);d.data.forEach(function(v,k){v.forEach(function(_,m){var D=ge({r:l+k,c:m}),I=L_(_,f,c);I&&(r[D]=I)})}),l+=d.nrows})}function W_(e,t){var r=Ne(t.data),a={"!ref":"A1"},n=e[wr(r[2][0].data)],i=qe(n[0].meta[1][0].data);if(i!=6001)throw new Error("6000 unexpected reference to ".concat(i));return U_(e,n[0],a),a}function H_(e,t){var r,a=Ne(t.data),n={name:(r=a[1])!=null&&r[0]?W0(a[1][0].data):"",sheets:[]},i=Si(a[2],wr);return i.forEach(function(s){e[s].forEach(function(f){var c=qe(f.meta[1][0].data);c==6e3&&n.sheets.push(W_(e,f))})}),n}function V_(e,t){var r=Di(),a=Ne(t.data),n=Si(a[1],wr);if(n.forEach(function(i){e[i].forEach(function(s){var f=qe(s.meta[1][0].data);if(f==2){var c=H_(e,s);c.sheets.forEach(function(o,l){Ii(r,o,l==0?c.name:c.name+"_"+l,!0)})}})}),r.SheetNames.length==0)throw new Error("Empty NUMBERS file");return r}function S0(e){var t,r,a,n,i={},s=[];if(e.FullPaths.forEach(function(c){if(c.match(/\.iwpv2/))throw new Error("Unsupported password protection")}),e.FileIndex.forEach(function(c){if(c.name.match(/\.iwa$/)){var o;try{o=jr(c.content)}catch(u){return console.log("?? "+c.content.length+" "+(u.message||u))}var l;try{l=Kr(o)}catch(u){return console.log("## "+(u.message||u))}l.forEach(function(u){i[u.id]=u.messages,s.push(u.id)})}}),!s.length)throw new Error("File has no messages");var f=((n=(a=(r=(t=i?.[1])==null?void 0:t[0])==null?void 0:r.meta)==null?void 0:a[1])==null?void 0:n[0].data)&&qe(i[1][0].meta[1][0].data)==1&&i[1][0];if(f||s.forEach(function(c){i[c].forEach(function(o){var l=qe(o.meta[1][0].data)>>>0;if(l==1)if(!f)f=o;else throw new Error("Document has multiple roots")})}),!f)throw new Error("Cannot find Document root");return V_(i,f)}function G_(e,t,r){var a,n,i,s;if(!((a=e[6])!=null&&a[0])||!((n=e[7])!=null&&n[0]))throw"Mutation only works on post-BNC storages!";var f=((s=(i=e[8])==null?void 0:i[0])==null?void 0:s.data)&&qe(e[8][0].data)>0||!1;if(f)throw"Math only works with normal offsets";for(var c=0,o=na(e[7][0].data),l=0,u=[],h=na(e[4][0].data),x=0,p=[],d=0;d1&&console.error("The Numbers writer currently writes only the first table");var a=Pr(r["!ref"]);a.s.r=a.s.c=0;var n=!1;a.e.c>9&&(n=!0,a.e.c=9),a.e.r>49&&(n=!0,a.e.r=49),n&&console.error("The Numbers writer is currently limited to ".concat(Te(a)));var i=Zn(r,{range:a,header:1}),s=["~Sh33tJ5~"];i.forEach(function(B){return B.forEach(function(R){typeof R=="string"&&s.push(R)})});var f={},c=[],o=pe.read(t.numbers,{type:"base64"});o.FileIndex.map(function(B,R){return[B,o.FullPaths[R]]}).forEach(function(B){var R=B[0],N=B[1];if(R.type==2&&R.name.match(/\.iwa/)){var K=R.content,re=jr(K),ae=Kr(re);ae.forEach(function(ee){c.push(ee.id),f[ee.id]={deps:[],location:N,type:qe(ee.messages[0].meta[1][0].data)}})}}),c.sort(function(B,R){return B-R});var l=c.filter(function(B){return B>1}).map(function(B){return[B,Pe(B)]});o.FileIndex.map(function(B,R){return[B,o.FullPaths[R]]}).forEach(function(B){var R=B[0];if(B[1],!!R.name.match(/\.iwa/)){var N=Kr(jr(R.content));N.forEach(function(K){K.messages.forEach(function(re){l.forEach(function(ae){K.messages.some(function(ee){return qe(ee.meta[1][0].data)!=11006&&D_(ee.data,ae[1])})&&f[ae[0]].deps.push(K.id)})})})}});for(var u=pe.find(o,f[1].location),h=Kr(jr(u.content)),x,p=0;p-1?"sheet":e==Ce.CS?"chart":e==Ce.DS?"dialog":e==Ce.MS?"macro":e&&e.length?e:"sheet"}function $_(e,t){if(!e)return 0;try{e=t.map(function(a){return a.id||(a.id=a.strRelID),[a.name,e["!id"][a.id].Target,z_(e["!id"][a.id].Type)]})}catch{return null}return!e||e.length===0?null:e}function K_(e,t,r,a,n,i,s,f,c,o,l,u){try{i[a]=za(Wr(e,r,!0),t);var h=ir(e,t),x;switch(f){case"sheet":x=pg(h,t,n,c,i[a],o,l,u);break;case"chart":if(x=vg(h,t,n,c,i[a],o,l,u),!x||!x["!drawel"])break;var p=Ha(x["!drawel"].Target,t),d=nn(p),v=tp(Wr(e,p,!0),za(Wr(e,d,!0),p)),k=Ha(v,p),_=nn(k);x=G2(Wr(e,k,!0),k,c,za(Wr(e,_,!0),k),o,x);break;case"macro":x=mg(h,t,n,c,i[a],o,l,u);break;case"dialog":x=gg(h,t,n,c,i[a],o,l,u);break;default:throw new Error("Unrecognized sheet type "+f)}s[a]=x;var m=[];i&&i[a]&&Ze(i[a]).forEach(function(D){var I="";if(i[a][D].Type==Ce.CMNT){I=Ha(i[a][D].Target,t);var F=Tg(ir(e,I,!0),I,c);if(!F||!F.length)return;Rs(x,F,!1)}i[a][D].Type==Ce.TCMNT&&(I=Ha(i[a][D].Target,t),m=m.concat(np(ir(e,I,!0),c)))}),m&&m.length&&Rs(x,m,!0,c.people||[])}catch(D){if(c.WTF)throw D}}function zr(e){return e.charAt(0)=="/"?e.slice(1):e}function j_(e,t){if(ba(),t=t||{},Fi(t),Yr(e,"META-INF/manifest.xml")||Yr(e,"objectdata.xml"))return Xs(e,t);if(Yr(e,"Index/Document.iwa")){if(typeof Uint8Array>"u")throw new Error("NUMBERS file parsing requires Uint8Array support");if(typeof S0<"u"){if(e.FileIndex)return S0(e);var r=pe.utils.cfb_new();return es(e).forEach(function(le){Ee(r,le,yf(e,le))}),S0(r)}throw new Error("Unsupported NUMBERS file")}if(!Yr(e,"[Content_Types].xml"))throw Yr(e,"index.xml.gz")?new Error("Unsupported NUMBERS 08 file"):Yr(e,"index.xml")?new Error("Unsupported NUMBERS 09 file"):new Error("Unsupported ZIP file");var a=es(e),n=Zu(Wr(e,"[Content_Types].xml")),i=!1,s,f;if(n.workbooks.length===0&&(f="xl/workbook.xml",ir(e,f,!0)&&n.workbooks.push(f)),n.workbooks.length===0){if(f="xl/workbook.bin",!ir(e,f,!0))throw new Error("Could not find workbook");n.workbooks.push(f),i=!0}n.workbooks[0].slice(-3)=="bin"&&(i=!0);var c={},o={};if(!t.bookSheets&&!t.bookProps){if($a=[],n.sst)try{$a=kg(ir(e,zr(n.sst)),n.sst,t)}catch(le){if(t.WTF)throw le}t.cellStyles&&n.themes.length&&(c=wg(Wr(e,n.themes[0].replace(/^\//,""),!0)||"",n.themes[0],t)),n.style&&(o=_g(ir(e,zr(n.style)),n.style,c,t))}n.links.map(function(le){try{var q=za(Wr(e,nn(zr(le))),le);return Sg(ir(e,zr(le)),q,le,t)}catch{}});var l=dg(ir(e,zr(n.workbooks[0])),n.workbooks[0],t),u={},h="";n.coreprops.length&&(h=ir(e,zr(n.coreprops[0]),!0),h&&(u=ec(h)),n.extprops.length!==0&&(h=ir(e,zr(n.extprops[0]),!0),h&&ih(h,u,t)));var x={};(!t.bookSheets||t.bookProps)&&n.custprops.length!==0&&(h=Wr(e,zr(n.custprops[0]),!0),h&&(x=fh(h,t)));var p={};if((t.bookSheets||t.bookProps)&&(l.Sheets?s=l.Sheets.map(function(q){return q.name}):u.Worksheets&&u.SheetNames.length>0&&(s=u.SheetNames),t.bookProps&&(p.Props=u,p.Custprops=x),t.bookSheets&&typeof s<"u"&&(p.SheetNames=s),t.bookSheets?p.SheetNames:t.bookProps))return p;s={};var d={};t.bookDeps&&n.calcchain&&(d=Eg(ir(e,zr(n.calcchain)),n.calcchain));var v=0,k={},_,m;{var D=l.Sheets;u.Worksheets=D.length,u.SheetNames=[];for(var I=0;I!=D.length;++I)u.SheetNames[I]=D[I].name}var F=i?"bin":"xml",T=n.workbooks[0].lastIndexOf("/"),L=(n.workbooks[0].slice(0,T+1)+"_rels/"+n.workbooks[0].slice(T+1)+".rels").replace(/^\//,"");Yr(e,L)||(L="xl/_rels/workbook."+F+".rels");var O=za(Wr(e,L,!0),L.replace(/_rels.*/,"s5s"));(n.metadata||[]).length>=1&&(t.xlmeta=Fg(ir(e,zr(n.metadata[0])),n.metadata[0],t)),(n.people||[]).length>=1&&(t.people=sp(ir(e,zr(n.people[0])),t)),O&&(O=$_(O,l.Sheets));var X=ir(e,"xl/worksheets/sheet.xml",!0)?1:0;e:for(v=0;v!=u.Worksheets;++v){var M="sheet";if(O&&O[v]?(_="xl/"+O[v][1].replace(/[\/]?xl\//,""),Yr(e,_)||(_=O[v][1]),Yr(e,_)||(_=L.replace(/_rels\/.*$/,"")+O[v][1]),M=O[v][2]):(_="xl/worksheets/sheet"+(v+1-X)+"."+F,_=_.replace(/sheet0\./,"sheet.")),m=_.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),t&&t.sheets!=null)switch(typeof t.sheets){case"number":if(v!=t.sheets)continue e;break;case"string":if(u.SheetNames[v].toLowerCase()!=t.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(t.sheets)){for(var P=!1,J=0;J!=t.sheets.length;++J)typeof t.sheets[J]=="number"&&t.sheets[J]==v&&(P=1),typeof t.sheets[J]=="string"&&t.sheets[J].toLowerCase()==u.SheetNames[v].toLowerCase()&&(P=1);if(!P)continue e}}K_(e,_,m,u.SheetNames[v],v,k,s,M,t,l,c,o)}return p={Directory:n,Workbook:l,Props:u,Custprops:x,Deps:d,Sheets:s,SheetNames:u.SheetNames,Strings:$a,Styles:o,Themes:c,SSF:Xe(me)},t&&t.bookFiles&&(e.files?(p.keys=a,p.files=e.files):(p.keys=[],p.files={},e.FullPaths.forEach(function(le,q){le=le.replace(/^Root Entry[\/]/,""),p.keys.push(le),p.files[le]=e.FileIndex[q]}))),t&&t.bookVBA&&(n.vba.length>0?p.vbaraw=ir(e,zr(n.vba[0]),!0):n.defaults&&n.defaults.bin===dp&&(p.vbaraw=ir(e,"xl/vbaProject.bin",!0))),p}function Y_(e,t){var r=t||{},a="Workbook",n=pe.find(e,a);try{if(a="/!DataSpaces/Version",n=pe.find(e,a),!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);if(Fx(n.content),a="/!DataSpaces/DataSpaceMap",n=pe.find(e,a),!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var i=Ax(n.content);if(i.length!==1||i[0].comps.length!==1||i[0].comps[0].t!==0||i[0].name!=="StrongEncryptionDataSpace"||i[0].comps[0].v!=="EncryptedPackage")throw new Error("ECMA-376 Encrypted file bad "+a);if(a="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace",n=pe.find(e,a),!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var s=Cx(n.content);if(s.length!=1||s[0]!="StrongEncryptionTransform")throw new Error("ECMA-376 Encrypted file bad "+a);if(a="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary",n=pe.find(e,a),!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);Dx(n.content)}catch{}if(a="/EncryptionInfo",n=pe.find(e,a),!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var f=Ix(n.content);if(a="/EncryptedPackage",n=pe.find(e,a),!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);if(f[0]==4&&typeof decrypt_agile<"u")return decrypt_agile(f[1],n.content,r.password||"",r);if(f[0]==2&&typeof decrypt_std76<"u")return decrypt_std76(f[1],n.content,r.password||"",r);throw new Error("File is password-protected")}function J_(e,t){return t.bookType=="ods"?uo(e,t):t.bookType=="numbers"?X_(e,t):t.bookType=="xlsb"?q_(e,t):Z_(e,t)}function q_(e,t){ga=1024,e&&!e.SSF&&(e.SSF=Xe(me)),e&&e.SSF&&(ba(),xn(e.SSF),t.revssf=n0(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF),t.rels={},t.wbrels={},t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,Ka?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var r=t.bookType=="xlsb"?"bin":"xml",a=Uc.indexOf(t.bookType)>-1,n=ui();yi(t=t||{});var i=q0(),s="",f=0;if(t.cellXfs=[],Vt(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),s="docProps/core.xml",Ee(i,s,rc(e.Props,t)),n.coreprops.push(s),Le(t.rels,2,s,Ce.CORE_PROPS),s="docProps/app.xml",!(e.Props&&e.Props.SheetNames))if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else{for(var c=[],o=0;o0&&(s="docProps/custom.xml",Ee(i,s,ic(e.Custprops)),n.custprops.push(s),Le(t.rels,4,s,Ce.CUST_PROPS)),f=1;f<=e.SheetNames.length;++f){var l={"!id":{}},u=e.Sheets[e.SheetNames[f-1]],h=(u||{})["!type"]||"sheet";switch(h){case"chart":default:s="xl/worksheets/sheet"+f+"."+r,Ee(i,s,Ag(f-1,s,t,e,l)),n.sheets.push(s),Le(t.wbrels,-1,"worksheets/sheet"+f+"."+r,Ce.WS[0])}if(u){var x=u["!comments"],p=!1,d="";x&&x.length>0&&(d="xl/comments"+f+"."+r,Ee(i,d,Dg(x,d)),n.comments.push(d),Le(l,-1,"../comments"+f+"."+r,Ce.CMNT),p=!0),u["!legacy"]&&p&&Ee(i,"xl/drawings/vmlDrawing"+f+".vml",Bc(f,u["!comments"])),delete u["!comments"],delete u["!legacy"]}l["!id"].rId1&&Ee(i,nn(s),ka(l))}return t.Strings!=null&&t.Strings.length>0&&(s="xl/sharedStrings."+r,Ee(i,s,bg(t.Strings,s,t)),n.strs.push(s),Le(t.wbrels,-1,"sharedStrings."+r,Ce.SST)),s="xl/workbook."+r,Ee(i,s,yg(e,s)),n.workbooks.push(s),Le(t.rels,1,s,Ce.WB),s="xl/theme/theme1.xml",Ee(i,s,mi(e.Themes,t)),n.themes.push(s),Le(t.wbrels,-1,"theme/theme1.xml",Ce.THEME),s="xl/styles."+r,Ee(i,s,Cg(e,s,t)),n.styles.push(s),Le(t.wbrels,-1,"styles."+r,Ce.STY),e.vbaraw&&a&&(s="xl/vbaProject.bin",Ee(i,s,e.vbaraw),n.vba.push(s),Le(t.wbrels,-1,"vbaProject.bin",Ce.VBA)),s="xl/metadata."+r,Ee(i,s,Ig(s)),n.metadata.push(s),Le(t.wbrels,-1,"metadata."+r,Ce.XLMETA),Ee(i,"[Content_Types].xml",Zf(n,t)),Ee(i,"_rels/.rels",ka(t.rels)),Ee(i,"xl/_rels/workbook."+r+".rels",ka(t.wbrels)),delete t.revssf,delete t.ssf,i}function Z_(e,t){ga=1024,e&&!e.SSF&&(e.SSF=Xe(me)),e&&e.SSF&&(ba(),xn(e.SSF),t.revssf=n0(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF),t.rels={},t.wbrels={},t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,Ka?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var r="xml",a=Uc.indexOf(t.bookType)>-1,n=ui();yi(t=t||{});var i=q0(),s="",f=0;if(t.cellXfs=[],Vt(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),s="docProps/core.xml",Ee(i,s,rc(e.Props,t)),n.coreprops.push(s),Le(t.rels,2,s,Ce.CORE_PROPS),s="docProps/app.xml",!(e.Props&&e.Props.SheetNames))if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else{for(var c=[],o=0;o0&&(s="docProps/custom.xml",Ee(i,s,ic(e.Custprops)),n.custprops.push(s),Le(t.rels,4,s,Ce.CUST_PROPS));var l=["SheetJ5"];for(t.tcid=0,f=1;f<=e.SheetNames.length;++f){var u={"!id":{}},h=e.Sheets[e.SheetNames[f-1]],x=(h||{})["!type"]||"sheet";switch(x){case"chart":default:s="xl/worksheets/sheet"+f+"."+r,Ee(i,s,Jc(f-1,t,e,u)),n.sheets.push(s),Le(t.wbrels,-1,"worksheets/sheet"+f+"."+r,Ce.WS[0])}if(h){var p=h["!comments"],d=!1,v="";if(p&&p.length>0){var k=!1;p.forEach(function(_){_[1].forEach(function(m){m.T==!0&&(k=!0)})}),k&&(v="xl/threadedComments/threadedComment"+f+"."+r,Ee(i,v,ip(p,l,t)),n.threadedcomments.push(v),Le(u,-1,"../threadedComments/threadedComment"+f+"."+r,Ce.TCMNT)),v="xl/comments"+f+"."+r,Ee(i,v,Mc(p)),n.comments.push(v),Le(u,-1,"../comments"+f+"."+r,Ce.CMNT),d=!0}h["!legacy"]&&d&&Ee(i,"xl/drawings/vmlDrawing"+f+".vml",Bc(f,h["!comments"])),delete h["!comments"],delete h["!legacy"]}u["!id"].rId1&&Ee(i,nn(s),ka(u))}return t.Strings!=null&&t.Strings.length>0&&(s="xl/sharedStrings."+r,Ee(i,s,Fc(t.Strings,t)),n.strs.push(s),Le(t.wbrels,-1,"sharedStrings."+r,Ce.SST)),s="xl/workbook."+r,Ee(i,s,ro(e)),n.workbooks.push(s),Le(t.rels,1,s,Ce.WB),s="xl/theme/theme1.xml",Ee(i,s,mi(e.Themes,t)),n.themes.push(s),Le(t.wbrels,-1,"theme/theme1.xml",Ce.THEME),s="xl/styles."+r,Ee(i,s,Rc(e,t)),n.styles.push(s),Le(t.wbrels,-1,"styles."+r,Ce.STY),e.vbaraw&&a&&(s="xl/vbaProject.bin",Ee(i,s,e.vbaraw),n.vba.push(s),Le(t.wbrels,-1,"vbaProject.bin",Ce.VBA)),s="xl/metadata."+r,Ee(i,s,Lc()),n.metadata.push(s),Le(t.wbrels,-1,"metadata."+r,Ce.XLMETA),l.length>1&&(s="xl/persons/person.xml",Ee(i,s,fp(l)),n.people.push(s),Le(t.wbrels,-1,"persons/person.xml",Ce.PEOPLE)),Ee(i,"[Content_Types].xml",Zf(n,t)),Ee(i,"_rels/.rels",ka(t.rels)),Ee(i,"xl/_rels/workbook."+r+".rels",ka(t.wbrels)),delete t.revssf,delete t.ssf,i}function Ai(e,t){var r="";switch((t||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":r=Hr(e.slice(0,12));break;case"binary":r=e;break;case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];default:throw new Error("Unrecognized type "+(t&&t.type||"undefined"))}return[r.charCodeAt(0),r.charCodeAt(1),r.charCodeAt(2),r.charCodeAt(3),r.charCodeAt(4),r.charCodeAt(5),r.charCodeAt(6),r.charCodeAt(7)]}function Q_(e,t){return pe.find(e,"EncryptedPackage")?Y_(e,t):io(e,t)}function ew(e,t){var r,a=e,n=t||{};return n.type||(n.type=Fe&&Buffer.isBuffer(e)?"buffer":"base64"),r=Af(a,n),j_(r,n)}function xo(e,t){var r=0;e:for(;r=2&&n[3]===0||n[2]===0&&(n[3]===8||n[3]===9)))return Jt.to_workbook(a,r);break;case 3:case 131:case 139:case 140:return B0.to_workbook(a,r);case 123:if(n[1]===92&&n[2]===114&&n[3]===116)return Dc.to_workbook(a,r);break;case 10:case 13:case 32:return rw(a,r);case 137:if(n[1]===80&&n[2]===78&&n[3]===71)throw new Error("PNG Image File is not a spreadsheet");break}return fx.indexOf(n[0])>-1&&n[2]<=12&&n[3]<=31?B0.to_workbook(a,r):F0(e,a,r,i)}function po(e,t){switch(t.type){case"base64":case"binary":break;case"buffer":case"array":t.type="";break;case"file":return dn(t.file,pe.write(e,{type:Fe?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");default:throw new Error("Unrecognized type "+t.type)}return pe.write(e,t)}function nw(e,t){var r=Xe(t||{}),a=J_(e,r);return iw(a,r)}function iw(e,t){var r={},a=Fe?"nodebuffer":typeof Uint8Array<"u"?"array":"string";if(t.compression&&(r.compression="DEFLATE"),t.password)r.type=a;else switch(t.type){case"base64":r.type="base64";break;case"binary":r.type="string";break;case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");case"buffer":case"file":r.type=a;break;default:throw new Error("Unrecognized type "+t.type)}var n=e.FullPaths?pe.write(e,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[r.type]||r.type,compression:!!t.compression}):e.generate(r);if(typeof Deno<"u"&&typeof n=="string"){if(t.type=="binary"||t.type=="base64")return n;n=new Uint8Array(t0(n))}return t.password&&typeof encrypt_agile<"u"?po(encrypt_agile(n,t.password),t):t.type==="file"?dn(t.file,n):t.type=="string"?Me(n):n}function sw(e,t){var r=t||{},a=a_(e,r);return po(a,r)}function ut(e,t,r){r||(r="");var a=r+e;switch(t.type){case"base64":return Qa(ht(a));case"binary":return ht(a);case"string":return e;case"file":return dn(t.file,a,"utf8");case"buffer":return Fe?Ft(a,"utf8"):typeof TextEncoder<"u"?new TextEncoder().encode(a):ut(a,{type:"binary"}).split("").map(function(n){return n.charCodeAt(0)})}throw new Error("Unrecognized type "+t.type)}function fw(e,t){switch(t.type){case"base64":return Qa(e);case"binary":return e;case"string":return e;case"file":return dn(t.file,e,"binary");case"buffer":return Fe?Ft(e,"binary"):e.split("").map(function(r){return r.charCodeAt(0)})}throw new Error("Unrecognized type "+t.type)}function Nn(e,t){switch(t.type){case"string":case"base64":case"binary":for(var r="",a=0;a0&&(n=0);var u=tr(c.s.r),h=[],x=[],p=0,d=0,v=Array.isArray(e),k=c.s.r,_=0,m={};v&&!e[k]&&(e[k]=[]);var D=o.skipHidden&&e["!cols"]||[],I=o.skipHidden&&e["!rows"]||[];for(_=c.s.c;_<=c.e.c;++_)if(!(D[_]||{}).hidden)switch(h[_]=je(_),r=v?e[k][_]:e[h[_]+u],a){case 1:i[_]=_-c.s.c;break;case 2:i[_]=h[_];break;case 3:i[_]=o.header[_-c.s.c];break;default:if(r==null&&(r={w:"__EMPTY",t:"s"}),f=s=St(r,null,o),d=m[s]||0,!d)m[s]=1;else{do f=s+"_"+d++;while(m[f]);m[s]=d,m[f]=1}i[_]=f}for(k=c.s.r+n;k<=c.e.r;++k)if(!(I[k]||{}).hidden){var F=ow(e,c,k,h,a,i,v,o);(F.isempty===!1||(a===1?o.blankrows!==!1:o.blankrows))&&(x[p++]=F.row)}return x.length=p,x}var Js=/"/g;function lw(e,t,r,a,n,i,s,f){for(var c=!0,o=[],l="",u=tr(r),h=t.s.c;h<=t.e.c;++h)if(a[h]){var x=f.dense?(e[r]||[])[h]:e[a[h]+u];if(x==null)l="";else if(x.v!=null){c=!1,l=""+(f.rawNumbers&&x.t=="n"?x.v:St(x,null,f));for(var p=0,d=0;p!==l.length;++p)if((d=l.charCodeAt(p))===n||d===i||d===34||f.forceQuotes){l='"'+l.replace(Js,'""')+'"';break}l=="ID"&&(l='"ID"')}else x.f!=null&&!x.F?(c=!1,l="="+x.f,l.indexOf(",")>=0&&(l='"'+l.replace(Js,'""')+'"')):l="";o.push(l)}return f.blankrows===!1&&c?null:o.join(s)}function bi(e,t){var r=[],a=t??{};if(e==null||e["!ref"]==null)return"";var n=Re(e["!ref"]),i=a.FS!==void 0?a.FS:",",s=i.charCodeAt(0),f=a.RS!==void 0?a.RS:` +`,c=f.charCodeAt(0),o=new RegExp((i=="|"?"\\|":i)+"+$"),l="",u=[];a.dense=Array.isArray(e);for(var h=a.skipHidden&&e["!cols"]||[],x=a.skipHidden&&e["!rows"]||[],p=n.s.c;p<=n.e.c;++p)(h[p]||{}).hidden||(u[p]=je(p));for(var d=0,v=n.s.r;v<=n.e.r;++v)(x[v]||{}).hidden||(l=lw(e,n,v,u,s,c,i,a),l!=null&&(a.strip&&(l=l.replace(o,"")),(l||a.blankrows!==!1)&&r.push((d++?f:"")+l)));return delete a.dense,r.join("")}function vo(e,t){t||(t={}),t.FS=" ",t.RS=` +`;var r=bi(e,t);return r}function uw(e){var t="",r,a="";if(e==null||e["!ref"]==null)return[];var n=Re(e["!ref"]),i="",s=[],f,c=[],o=Array.isArray(e);for(f=n.s.c;f<=n.e.c;++f)s[f]=je(f);for(var l=n.s.r;l<=n.e.r;++l)for(i=tr(l),f=n.s.c;f<=n.e.c;++f)if(t=s[f]+i,r=o?(e[l]||[])[f]:e[t],a="",r!==void 0){if(r.F!=null){if(t=r.F,!r.f)continue;a=r.f,t.indexOf(":")==-1&&(t=t+":"+t)}if(r.f!=null)a=r.f;else{if(r.t=="z")continue;if(r.t=="n"&&r.v!=null)a=""+r.v;else if(r.t=="b")a=r.v?"TRUE":"FALSE";else if(r.w!==void 0)a="'"+r.w;else{if(r.v===void 0)continue;r.t=="s"?a="'"+r.v:a=""+r.v}}c[c.length]=t+"="+a}return c}function mo(e,t,r){var a=r||{},n=+!a.skipHeader,i=e||{},s=0,f=0;if(i&&a.origin!=null)if(typeof a.origin=="number")s=a.origin;else{var c=typeof a.origin=="string"?Ye(a.origin):a.origin;s=c.r,f=c.c}var o,l={s:{c:0,r:0},e:{c:f,r:s+t.length-1+n}};if(i["!ref"]){var u=Re(i["!ref"]);l.e.c=Math.max(l.e.c,u.e.c),l.e.r=Math.max(l.e.r,u.e.r),s==-1&&(s=u.e.r+1,l.e.r=s+t.length-1+n)}else s==-1&&(s=0,l.e.r=t.length-1+n);var h=a.header||[],x=0;t.forEach(function(d,v){Ze(d).forEach(function(k){(x=h.indexOf(k))==-1&&(h[x=h.length]=k);var _=d[k],m="z",D="",I=ge({c:f+x,r:s+v+n});o=hn(i,I),_&&typeof _=="object"&&!(_ instanceof Date)?i[I]=_:(typeof _=="number"?m="n":typeof _=="boolean"?m="b":typeof _=="string"?m="s":_ instanceof Date?(m="d",a.cellDates||(m="n",_=lr(_)),D=a.dateNF||me[14]):_===null&&a.nullError&&(m="e",_=0),o?(o.t=m,o.v=_,delete o.w,delete o.R,D&&(o.z=D)):i[I]=o={t:m,v:_},D&&(o.z=D))})}),l.e.c=Math.max(l.e.c,f+h.length-1);var p=tr(s);if(n)for(x=0;x=0&&e.SheetNames.length>t)return t;throw new Error("Cannot find sheet # "+t)}else if(typeof t=="string"){var r=e.SheetNames.indexOf(t);if(r>-1)return r;throw new Error("Cannot find sheet name |"+t+"|")}else throw new Error("Cannot find sheet |"+t+"|")}function Di(){return{SheetNames:[],Sheets:{}}}function Ii(e,t,r,a){var n=1;if(!r)for(;n<=65535&&e.SheetNames.indexOf(r="Sheet"+n)!=-1;++n,r=void 0);if(!r||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(a&&e.SheetNames.indexOf(r)>=0){var i=r.match(/(^.*?)(\d+)$/);n=i&&+i[2]||0;var s=i&&i[1]||r;for(++n;n<=65535&&e.SheetNames.indexOf(r=s+n)!=-1;++n);}if(eo(r),e.SheetNames.indexOf(r)>=0)throw new Error("Worksheet with name |"+r+"| already exists!");return e.SheetNames.push(r),e.Sheets[r]=t,r}function dw(e,t,r){e.Workbook||(e.Workbook={}),e.Workbook.Sheets||(e.Workbook.Sheets=[]);var a=xw(e,t);switch(e.Workbook.Sheets[a]||(e.Workbook.Sheets[a]={}),r){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+r)}e.Workbook.Sheets[a].Hidden=r}function pw(e,t){return e.z=t,e}function go(e,t,r){return t?(e.l={Target:t},r&&(e.l.Tooltip=r)):delete e.l,e}function vw(e,t,r){return go(e,"#"+t,r)}function mw(e,t,r){e.c||(e.c=[]),e.c.push({t,a:r||"SheetJS"})}function gw(e,t,r,a){for(var n=typeof t!="string"?t:Re(t),i=typeof t=="string"?t:Te(t),s=n.s.r;s<=n.e.r;++s)for(var f=n.s.c;f<=n.e.c;++f){var c=hn(e,s,f);c.t="n",c.F=i,delete c.v,s==n.s.r&&f==n.s.c&&(c.f=r,a&&(c.D=!0))}return e}var H0={encode_col:je,encode_row:tr,encode_cell:ge,encode_range:Te,decode_col:ii,decode_row:ni,split_cell:bu,decode_cell:Ye,decode_range:Pr,format_cell:St,sheet_add_aoa:zf,sheet_add_json:mo,sheet_add_dom:co,aoa_to_sheet:Da,json_to_sheet:hw,table_to_sheet:oo,table_to_book:F_,sheet_to_csv:bi,sheet_to_txt:vo,sheet_to_json:Zn,sheet_to_html:fo,sheet_to_formulae:uw,sheet_to_row_object_array:Zn,sheet_get_cell:hn,book_new:Di,book_append_sheet:Ii,book_set_sheet_visibility:dw,cell_set_number_format:pw,cell_set_hyperlink:go,cell_set_internal_link:vw,cell_add_comment:mw,sheet_set_array_formula:gw,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};class _w{SheetNames=[];Sheets={}}function ww(e,t){return t&&(e+=1462),(Date.parse(e)-new Date(Date.UTC(1899,11,30)).getTime())/(24*60*60*1e3)}function kw(e){const t={},r={s:{c:1e7,r:1e7},e:{c:0,r:0}};for(let a=0;a!=e.length;++a)for(let n=0;n!=e[a].length;++n){r.s.r>a&&(r.s.r=a),r.s.c>n&&(r.s.c=n),r.e.r-1;u--)r.unshift(e[u]);const f="SheetJS",c=new _w,o=kw(r);if(n.length>0&&(o["!merges"]||(o["!merges"]=[]),n.forEach(u=>{o["!merges"].push(H0.decode_range(u))})),i){const u=r.map(x=>x.map(p=>p==null?{wch:10}:p.toString().charCodeAt(0)>255?{wch:p.toString().length*2}:{wch:p.toString().length})),h=u[0];for(let x=1;x({exportData2Excel:()=>{const{columns:n,exportFormatter:i,exportFileName:s,exportBookType:f,exportAutoWidth:c}=e,{getColumnKey:o}=r,{tableData:l}=t,u=n.filter(h=>o(h)&&o(h)!=="INDEX");if(i){const{header:h,data:x}=i(u,l.value);if(A0(h)||A0(x))return;qs({header:h,data:x,filename:s,bookType:f,autoWidth:c})}else qs({header:u.map(h=>h.title),data:l.value.map(h=>u.map(x=>C0(h,o(x)))),filename:s,bookType:f,autoWidth:c})}});var Qn=(e=>(e.ACTION="ACTION",e.INDEX="INDEX",e))(Qn||{});function Sw({tableState:e,slots:t,tableMethods:r}){const{getProps:a,loadingRef:n}=e,{getColumnKey:i,getQueryFormRef:s}=r,f=cr(()=>{const{formProps:u}=ne(a),{submitButtonOptions:h}=u||{};return{showAdvancedButton:!0,layout:"horizontal",labelWidth:100,...u,schemas:u?.schemas??ne(c),submitButtonOptions:{loading:ne(n),...h},compact:!0}}),c=cr(()=>{const u=Object.keys(Qn);return ne(a).columns.filter(h=>{const x=i(h);return!h.hideInSearch&&!!x&&!u.includes(x)}).map(h=>({field:h.searchField??i(h),component:"Input",label:h.title,colProps:{span:8},...h.formItemProps})).sort((h,x)=>Number(h?.order)-Number(x?.order))});ef(()=>s()?.setSchemaFormProps(ne(f)),{flush:"post"});const o=cr(()=>Object.keys(t).map(h=>h.startsWith("form-")?h:null).filter(h=>!!h));function l(u){return u?u?.replace?.(/form-/,"")??"":""}return{getFormProps:f,replaceFormSlotKey:l,getFormSlotKeys:o}}const Pt={fetchConfig:{pageField:"page",sizeField:"pageSize",listField:"items",totalField:"meta.totalItems"},pageSizeOptions:["10","50","80","100"],defaultPageSize:10,defaultAlign:"center",defaultSortFn:e=>{const{field:t,order:r}=e;return t&&r?{field:t,order:r}:{}},defaultFilterFn:e=>e},Fw=e=>{let t=e.offsetTop,r=e.offsetParent;for(;r!=null;)t+=r.offsetTop,r=r.offsetParent;return t},yw=({props:e})=>{const t=rf(),r=Ke(),a=cr(()=>({y:r.value,...e.scroll})),n=Mn(()=>{if(!e.autoHeight)return;const i=t?.proxy?.$el,s=i?.querySelector(".ant-table-body")||i?.querySelector(".ant-table-tbody");if(s){const f=document.documentElement.offsetHeight-Fw(s);r.value=f-30}});return setTimeout(n),window.addEventListener("resize",n),Uo(()=>{window.removeEventListener("resize",n)}),{scroll:a}},Aw=({props:e,slots:t})=>{const{t:r}=e0(),{scroll:a}=yw({props:e}),n=Ke(),i=Ke(),s=Ke(),f=Ke([]),c=Ke(),o=Ke(!1),l=Ke(!!e.loading),u=Ke({}),h=Ke(new Map),x=Ke(new Set),p=Ke(new Set),d=Wo({sortInfo:{},filterInfo:{}});Object.is(e.pagination,!1)||(o.value={current:1,pageSize:Pt.defaultPageSize,total:0,pageSizeOptions:[...Pt.pageSizeOptions],showQuickJumper:!0,showSizeChanger:!0,showTotal:_=>r("component.table.total",{total:_}),...e.pagination});const v=cr(()=>({...e,...ne(c)})),k=cr(()=>{const _=ne(v);let m={..._,rowKey:_.rowKey??"id",loading:_.loading??ne(l),pagination:ne(o),tableLayout:_.tableLayout??"fixed",scroll:ne(a)};return t.expandedRowRender&&(m=b0(m,"scroll")),m=b0(m,["class","onChange","columns"]),m});return Sa(()=>e.dataSource,_=>{_&&(f.value=_)},{immediate:!0,deep:!0}),Sa(()=>e.columns,_=>{_&&(c.value={...c.value,columns:_})},{immediate:!0,deep:!0}),{tableRef:n,editTableFormRef:s,loadingRef:l,tableData:f,queryFormRef:i,innerPropsRef:c,getProps:v,getBindValues:k,paginationRef:o,editFormModel:u,editFormErrorMsgs:h,editableCellKeys:p,editableRowKeys:x,searchState:d}},_o=({state:e,props:t})=>{const{tableData:r,editFormModel:a,editTableFormRef:n,editFormErrorMsgs:i,editableCellKeys:s,editableRowKeys:f}=e;Sa(()=>t.editableType,_=>{_==="cell"?f.value.clear():s.value.clear()});const c=(_,m)=>{Reflect.set(a.value,_,m),Zt(()=>{n.value?.setFormModel(_,m)})},o=(_,m,D)=>{const I=qa(m??r.value.find(F=>F[String(t.rowKey)]===_));return D?.forEach(F=>{const{formItemProps:T,editFormItemProps:L}=F,O=F.dataIndex||F.key;!Object.is(L?.extendSearchFormProps,!1)&&T&&Reflect.has(T,"defaultValue")&&(I[O]=T.defaultValue),L&&Reflect.has(L,"defaultValue")&&(I[O]=L.defaultValue)}),I},l=(_,m)=>{if(s.value.clear(),f.value.size>0&&t.editableType==="single")return Ho.warn(t.onlyOneLineEditorAlertMessage||"只能同时编辑一行"),!1;const D=o(_,m,t.columns);return c(_,D),f.value.add(_),!0},u=(_,m,D)=>{f.value.clear();const I=t.columns.filter(T=>T.dataIndex===m),F=o(_,D,I);s.value.add(`${_}.${m}`),c(_,{...d(_)||F,[m]:F[m]})},h=(_,m)=>{s.value.delete(`${_}.${m}`);const D=d(_),I=r.value.find(F=>F[String(t.rowKey)]===_);I&&Reflect.set(D,m,I[m]),i.value.delete(`${_}.${m}`)},x=_=>{const m=d(_);return Object.keys(m).forEach(D=>i.value.delete(`${_}.${D}`)),Zt(()=>{n.value?.delFormModel?.(_)}),f.value.delete(_),Reflect.deleteProperty(a.value,_)},p=_=>f.value.has(_),d=_=>Reflect.get(a.value,_);return{setEditFormModel:c,startEditable:l,startCellEditable:u,cancelCellEditable:h,cancelEditable:x,isEditable:p,validateRow:async _=>{const m=Object.keys(d(_)).map(I=>[String(_),I]),D=await n.value?.validateFields(m);return D?.[_]??D},validateCell:async(_,m)=>{const D=await n.value?.validateFields([[String(_),m]]);return D?.[_]??D},getEditFormModel:d}};function Cw({state:e,props:t,emit:r}){const{tableData:a}=e,n=Ke([]),i=cr(()=>{const{childrenColumnName:u="children"}=t;return a.value.some(h=>Array.isArray(h[u])&&h[u].length)}),s=cr(()=>i.value?{expandedRowKeys:ne(n),onExpandedRowsChange:u=>{n.value=u,r("expanded-rows-change",u)}}:{});function f(){const u=o();n.value=u}function c(u){i.value&&(n.value=[...n.value,...u])}function o(u){const h=[],{childrenColumnName:x,rowKey:p}=t;return Vo(u||ne(a)).forEach(d=>{h.push(d[p]);const v=d[x||"children"];v?.length&&h.push(...o(v))}),h}function l(){n.value=[]}return{getExpandOption:s,expandAll:f,expandRows:c,collapseAll:l}}const bw=({state:e,props:t,emit:r})=>{const{innerPropsRef:a,tableData:n,loadingRef:i,queryFormRef:s,paginationRef:f,editFormErrorMsgs:c,searchState:o}=e,l=_o({state:e,props:t}),u=Cw({state:e,props:t,emit:r});Sa(()=>t.searchParams,()=>{p()});const h=F=>{a.value={...ne(a),...F}},x=(F,T=1)=>{m({current:T}),p(F)},p=Mn(async(F={})=>{const{dataRequest:T,dataSource:L,fetchConfig:O,searchParams:X}=t;if(!(!T||!_a(T)||Array.isArray(L)))try{let M={};const P=ne(f),{pageField:J,sizeField:le,listField:q,totalField:he}={...Pt.fetchConfig,...O},ie=Ln(P);ie&&(M={[J]:P.current,[le]:P.pageSize});const{sortInfo:be={},filterInfo:V}=o;let de={...M,...be,...V,...X,...F};if(await Zt(),s.value){const N=await s.value.validate();de={...s.value.handleFormValues(N),...de}}i.value=!0;const ve=await T(de),C=Array.isArray(ve),B=C?ve:C0(ve,q),R=C?ve.length:Number(C0(ve,he));if(ie&&R){const{current:N=1,pageSize:K=Pt.defaultPageSize}=P,re=Math.ceil(R/K);if(N>re)return m({current:re}),await p(F)}return n.value=B,m({total:~~R}),de[J]&&m({current:de[J]||1}),n}catch(M){Po(`表格查询出错:${M}`),r("fetch-error",M),n.value=[],m({total:0})}finally{i.value=!1}}),d=(F=!1)=>{const T=ne(f);return Object.is(F,!0)&&Ln(T)&&(T.current=1),p()},v=async(...F)=>{const[T,L,O]=F,{sortFn:X,filterFn:M}=t;if(s.value&&await s.value.validate(),m(T),O&&_a(X)){const P=X(O);o.sortInfo=P}if(L&&_a(M)){const P=M(L);o.filterInfo=P}await p({}),r("change",...F)},k=F=>F?.key||F?.dataIndex,_=(F,T,L)=>{const O=Array.isArray(F)?F.join("."):F;T?c.value.delete(O):c.value.set(O,L)},m=(F=f.value)=>{Go(F)?f.value=F:Ln(f.value)&&(f.value={...f.value,...F})};return{...l,...u,setProps:h,handleSubmit:x,handleTableChange:v,getColumnKey:k,fetchData:p,getQueryFormRef:()=>s.value,reload:d,onInfiniteScroll:(F,T)=>{const L=rf()?.proxy?.$el.querySelector(".ant-table-body");vl(L,F,T)},handleEditFormValidate:_}},Zs="__TABLE_ACTION",Dw=dt({__name:"table-action",props:{actions:{type:Array,default:()=>[]},columnParams:{type:Object,default:()=>({})},divider:{type:Boolean,default:!0},rowKey:[String,Number]},setup(e){const t=(o,{slots:l})=>{const{popConfirm:u,tooltip:h}=o,x=()=>u?Un(Xo,u,{default:l.default}):l.default?.();return h?Un(Kt,c(h),{default:x}):x()},r=e,a=Ke(new Map),n=cr(()=>r.actions.filter(o=>{const l=o.auth;if(Object.is(l,void 0))return!0;if(Mi(l)){const u=Li(l);return o.disabled??=!u,o.disabled&&!u&&(o.title="对不起,您没有该操作权限!"),u}if(Ln(l)){const u=Li(l.perm),h=l.effect!=="delete";return o.disabled??=!u&&h,o.disabled&&!u&&(o.title="对不起,您没有该操作权限!"),u||h}}).map((o,l)=>{const u=o.onClick;return Qs(u)&&!i(u)?(o.onClick=Mn(async()=>{const h=f(o,l);a.value.set(h,!0),await u(r.columnParams).finally(()=>{a.value.delete(h)})}),s(o.onClick)):_a(u)&&!i(u)&&(o.onClick=Mn(u),s(o.onClick)),o.icon&&(o.icon=Ae(ml,{icon:o.icon,class:{"mr-1":!!o.label}},null)),o})),i=o=>Reflect.get(o,Zs),s=o=>{Reflect.set(o,Zs,!0)},f=(o,l)=>`${r.rowKey}${l}${o.label}`,c=o=>({getPopupContainer:()=>document.body,placement:"bottom",...Mi(o)?{title:o}:o});return(o,l)=>{const u=V0("a-button"),h=G0;return Ve(!0),Et(Za,null,$t(n.value,(x,p)=>(Ve(),Et(Za,{key:`${p}-${x.label}`},[Ae(t,va(ma(x)),{default:we(()=>[Ae(u,Ja({type:"link",size:"small",loading:a.value.get(f(x,p))},x),{default:we(()=>[et(pr(x.label),1)]),_:2},1040,["loading"])]),_:2},1040),e.divider&&p(Ve(),Fr(ne(Kt),{placement:"top"},{title:we(()=>[Er("span",null,pr(ne(t)("component.table.settingDens")),1)]),default:we(()=>[Ae(ne(zo),{placement:"bottom",trigger:["click"]},{overlay:we(()=>[Ae(ne(En),{selectedKeys:a.value,"onUpdate:selectedKeys":s[0]||(s[0]=f=>a.value=f),selectable:"",onClick:n},{default:we(()=>[Ae(ne(En).Item,{key:"large"},{default:we(()=>[Er("span",null,pr(ne(t)("component.table.settingDensDefault")),1)]),_:1}),Ae(ne(En).Item,{key:"middle"},{default:we(()=>[Er("span",null,pr(ne(t)("component.table.settingDensMiddle")),1)]),_:1}),Ae(ne(En).Item,{key:"small"},{default:we(()=>[Er("span",null,pr(ne(t)("component.table.settingDensSmall")),1)]),_:1})]),_:1},8,["selectedKeys"])]),default:we(()=>[Ae(ne($o))]),_:1})]),_:1}))}}),Ow=dt({__name:"refresh-setting",setup(e){const{t}=e0(),r=Ca();function a(){r.reload()}return(n,i)=>(Ve(),Fr(ne(Kt),{placement:"top"},{title:we(()=>[Er("span",null,pr(ne(t)("common.redo")),1)]),default:we(()=>[Ae(ne(Ko),{onClick:a})]),_:1}))}}),Pn=dt({inheritAttrs:!1,__name:"index",props:{...jo(),trueValue:{type:[Number,Boolean,String],default:!0},falseValue:{type:[Number,Boolean,String],default:!1}},emits:["update:checked","change"],setup(e,{emit:t}){const r=e,a=t,n=cr(()=>b0(r,["onUpdate:checked","onChange"])),i=cr({get(){return r.checked===r.trueValue},set(f){a("update:checked",f?r.trueValue:r.falseValue)}}),s=f=>{const c={...f,target:{...f.target,checked:f.target.checked?r.trueValue:r.falseValue}};a("change",c)};return(f,c)=>(Ve(),Fr(ne(Yo),Ja(n.value,{checked:i.value,"onUpdate:checked":c[0]||(c[0]=o=>i.value=o),onChange:s}),{default:we(()=>[tt(f.$slots,"default")]),_:3},16,["checked"]))}});function Rw(e,t){function r(){Zt(async()=>{if(!e)return;(await Lo(()=>import("./sortable.esm-6LN84u1A.js"),__vite__mapDeps([]))).default.create(ne(e),{animation:500,delay:400,delayOnTouchOnly:!0,...t})})}return{initSortable:r}}const Nw={class:"popover-title"},Pw={style:{padding:"4px 16px 8px 0"}},Lw={class:"column-fixed"},Bw=dt({__name:"column-setting",setup(e){const{t}=e0(),r=Ca();let a=!1;const n=qa(r.columns),i=!!r.showIndex,s=r.bordered,f=Ke([]),c=cr({get(){return f.value.length>0&&f.value.every(m=>!m.hideInTable)},set(m){f.value.forEach(D=>D.hideInTable=!m)}}),o=Ke(i),l=Ke(r.bordered),u=Ke(),h=()=>{f.value=qa(n),o.value=i,l.value=s,f.value.forEach(m=>m.hideInTable??=!1)};h();const x=cr(()=>f.value.length>0&&f.value.some(m=>m.hideInTable)&&f.value.some(m=>!m.hideInTable));Sa(f,m=>{r.setProps({columns:m})},{deep:!0});const p=m=>{r.setProps({showIndex:m.target.checked})},d=m=>{r.setProps({bordered:m.target.checked})},v=(m,D)=>{m.fixed=m.fixed===D?!1:D};async function k(){if(a)return;await Zt();const m=ne(u);if(!m)return;const{initSortable:D}=Rw(m,{handle:".table-column-drag-icon",onEnd:I=>{const{oldIndex:F,newIndex:T}=I;if(Bi(F)||Bi(T)||F===T)return;const L=f.value;L.splice(T,0,L.splice(F,1)[0])}});D(),a=!0}const _=()=>{h(),r.setProps({showIndex:i,bordered:s})};return(m,D)=>{const I=V0("a-button");return Ve(),Fr(ne(Kt),{placement:"top"},{title:we(()=>[Er("span",null,pr(ne(t)("component.table.settingColumn")),1)]),default:we(()=>[Ae(ne(tf),{placement:"bottomLeft",trigger:"click","overlay-class-name":"cloumn-list",onOpenChange:k},{title:we(()=>[Er("div",Nw,[Ae(Pn,{checked:c.value,"onUpdate:checked":D[0]||(D[0]=F=>c.value=F),indeterminate:x.value},{default:we(()=>[et(pr(ne(t)("component.table.settingColumnShow")),1)]),_:1},8,["checked","indeterminate"]),Ae(Pn,{checked:o.value,"onUpdate:checked":D[1]||(D[1]=F=>o.value=F),onChange:p},{default:we(()=>[et(pr(ne(t)("component.table.settingIndexColumnShow")),1)]),_:1},8,["checked"]),Ae(Pn,{checked:l.value,"onUpdate:checked":D[2]||(D[2]=F=>l.value=F),onChange:d},{default:we(()=>[et(pr(ne(t)("component.table.settingBordered")),1)]),_:1},8,["checked"]),Ae(I,{size:"small",type:"link",onClick:_},{default:we(()=>[et(pr(ne(t)("common.resetText")),1)]),_:1})])]),content:we(()=>[Er("div",{ref_key:"columnListRef",ref:u},[(Ve(!0),Et(Za,null,$t(f.value,F=>(Ve(),Et("div",{key:ne(r).getColumnKey(F),class:"check-item"},[Er("div",Pw,[Ae(ne(Jo),{class:"table-column-drag-icon pr-6px cursor-move"}),Ae(Pn,{checked:F.hideInTable,"onUpdate:checked":T=>F.hideInTable=T,"true-value":!1,"false-value":!0},{default:we(()=>[et(pr(F.title),1)]),_:2},1032,["checked","onUpdate:checked"])]),Er("div",Lw,[Ae(ne(Kt),{placement:"bottomLeft","mouse-leave-delay":.4},{title:we(()=>[et(pr(ne(t)("component.table.settingFixedLeft")),1)]),default:we(()=>[Ae(ne(qo),{class:Ui(["fixed-left",{active:F.fixed==="left"}]),onClick:T=>v(F,"left")},null,8,["class","onClick"])]),_:2},1024),Ae(ne(G0),{type:"vertical"}),Ae(ne(Kt),{placement:"bottomLeft","mouse-leave-delay":.4},{title:we(()=>[et(pr(ne(t)("component.table.settingFixedRight")),1)]),default:we(()=>[Ae(ne(Zo),{class:Ui(["fixed-right",{active:F.fixed==="right"}]),onClick:T=>v(F,"right")},null,8,["class","onClick"])]),_:2},1024)])]))),128))],512)]),default:we(()=>[Ae(ne(Qo))]),_:1})]),_:1})}}}),Mw=r0(Bw,[["__scopeId","data-v-a8477639"]]),Uw=dt({__name:"search-setting",setup(e){const{getProps:t,setProps:r,getFormProps:a,search:n}=Ca();function i(){r({search:!t.value.search})}return(s,f)=>ne(a)?.schemas?.length&&ne(n)?(Ve(),Fr(ne(Kt),{key:0,placement:"top"},{title:we(()=>[Er("span",null,pr(ne(t).search?"隐藏搜索":"显示搜索"),1)]),default:we(()=>[Ae(ne(el),{onClick:i})]),_:1})):rt("",!0)}}),Ww=dt({__name:"index",setup(e){return(t,r)=>(Ve(),Fr(ne(af),{size:8},{default:we(()=>[Ae(Uw),Ae(Ow),Ae(Mw),Ae(Iw)]),_:1}))}}),Hw={class:"flex justify-between p-16px"},Vw={class:"flex"},Gw={class:"title"},Xw=dt({name:"ToolBar",__name:"index",props:{title:{type:String,default:""},exportFileName:{type:String,default:""},titleTooltip:{type:String,default:""},showTableSetting:{type:Boolean,default:!0}},setup(e){const{exportData2Excel:t}=Ca();return(r,a)=>{const n=V0("a-button");return Ve(),Et("div",Hw,[Er("div",Vw,[tt(r.$slots,"headerTitle",{},()=>[Er("div",Gw,[et(pr(e.title)+" ",1),e.titleTooltip?(Ve(),Fr(xl,{key:0,class:"ml-6px pt-3px",text:e.titleTooltip},null,8,["text"])):rt("",!0)])],!0),tt(r.$slots,"afterHeaderTitle",{},void 0,!0)]),Er("div",null,[Ae(ne(af),null,{default:we(()=>[tt(r.$slots,"toolbar",{},void 0,!0),e.exportFileName?(Ve(),Et("span",{key:0,onClick:a[0]||(a[0]=(...i)=>ne(t)&&ne(t)(...i))},[tt(r.$slots,"export-button",{},()=>[Ae(n,{type:"primary"},{default:we(()=>[et("导出")]),_:1})],!0)])):rt("",!0)]),_:3}),r.$slots.toolbar&&e.showTableSetting?(Ve(),Fr(ne(G0),{key:0,type:"vertical"})):rt("",!0),e.showTableSetting?(Ve(),Fr(Ww,{key:1})):rt("",!0)])])}}}),zw=r0(Xw,[["__scopeId","data-v-5225dc43"]]),$w={class:"editable-cell"},Kw=dt({__name:"index",props:{...dl,rowKey:[String,Number],editableType:[String],column:[Object]},setup(e){const t=e,r=Ke(!1),a=Ke(t.column?.column?.defaultEditable),n=Ca(),{editFormModel:i,editTableFormRef:s,editFormErrorMsgs:f,editableCellKeys:c,isEditable:o,startCellEditable:l,cancelCellEditable:u,validateCell:h}=n,x=cr(()=>String(t.column?.column?.dataIndex)),p=cr(()=>{const I=t.schema.field,F=s.value?.getSchemaByFiled(I)||t.schema;return{...F,colProps:{...F.colProps,span:t.editableType==="cell"?20:24}}}),d=cr(()=>t.rowKey&&o(t.rowKey)),v=cr(()=>{const{rowKey:I}=t;return a.value&&t.editableType==="cell"&&c.value.has(`${I}.${x.value}`)}),k=cr(()=>{const I=t.schema.field;return f.value.get(I)}),_=()=>{l(t.rowKey,x.value,t.column?.record),a.value=!0},m=async()=>{const{rowKey:I,column:F}=t;await h(I,x.value),Qs(n?.onSave)&&(r.value=!0,await n.onSave(I,i.value[I],F?.record).finally(()=>r.value=!1),u(I,x.value),a.value=!1)},D=()=>{const{rowKey:I,column:F}=t;n?.onCancel?.(I,i.value[I],F?.record),a.value=!1,u(t.rowKey,x.value)};return a.value&&t.editableType==="cell"&&_(),(I,F)=>{const T=cl,L=tl,O=al,X=tf,M=nl;return Ve(),Fr(M,{spinning:r.value},{default:we(()=>[Er("div",$w,[Ae(X,{open:!!k.value?.length,placement:"topRight"},{content:we(()=>[(Ve(!0),Et(Za,null,$t(k.value,P=>(Ve(),Fr(T,{key:P,type:"danger"},{default:we(()=>[et(pr(P),1)]),_:2},1024))),128))]),default:we(()=>[Ae(O,{type:"flex",gutter:8},{default:we(()=>[(d.value||v.value)&&p.value?(Ve(),Fr(ne(pl),{key:0,"form-model":ne(i),"onUpdate:formModel":F[0]||(F[0]=P=>rl(i)?i.value=P:null),schema:p.value,"table-instance":ne(n),"table-row-key":e.rowKey},Bn({_:2},[$t(Object.keys(I.$slots),P=>({name:P,fn:we(J=>[tt(I.$slots,P,va(ma(J||{})),void 0,!0)])}))]),1032,["form-model","schema","table-instance","table-row-key"])):rt("",!0),v.value?(Ve(),Fr(L,{key:1,span:4,class:"!flex items-center"},{default:we(()=>[Ae(ne(il),{onClick:m}),Ae(ne(sl),{onClick:D})]),_:1})):rt("",!0)]),_:3})]),_:3},8,["open"]),!a.value&&e.editableType==="cell"?(Ve(),Et(Za,{key:0},[tt(I.$slots,"default",{},void 0,!0),Ae(ne(fl),{onClick:_})],64)):rt("",!0)])]),_:3},8,["spinning"])}}}),jw=r0(Kw,[["__scopeId","data-v-29a549c9"]]),Yw=({state:e,methods:t,props:r,tableAction:a})=>{const n=nf(),i=Ke(r.columns),{getColumnKey:s}=t,{getProps:f}=e,{isEditable:c}=a;ef(()=>{const u={...ne(f)},h=Object.keys(Qn),x=qa(u.columns.filter(p=>!p.hideInTable));u?.showIndex&&x.unshift({dataIndex:"ACTION",title:"序号",width:60,align:"center",fixed:"left",...u?.indexColumnProps,customRender:({index:p})=>{const d=ne(e.paginationRef);if(y0(d))return p+1;const{current:v=1,pageSize:k=10}=d;return((v<1?1:v)-1)*k+p+1}}),i.value=x.map(p=>{const d=p.customRender,v=r.rowKey,k=s(p);return p.align||=Pt.defaultAlign,p.customRender=_=>{const{record:m,index:D,text:I}=_,F=c(m[v]),T=u.editableType==="cell",L=y0(p.editable)?p.editable:p.editable?.(_)??!0;return(F||T)&&L&&!h.includes(k)?Un(jw,{schema:l(p,m),rowKey:m[v]??D,editableType:u.editableType,column:_},{default:()=>d?.(_)??I,...n}):d?.(_)},p.actions&&k===Qn.ACTION&&(p.customRender=_=>{const{record:m,index:D}=_;return Un(Dw,{actions:p.actions(_,a),rowKey:m[v]??D,columnParams:_})}),{key:p.key??p.dataIndex,dataIndex:p.dataIndex??p.key,...p}})});function o(u,h,x){if(x==="componentProps")return(...p)=>({..._a(u)?u(...p):u,..._a(h)?h(...p):h})}const l=(u,h)=>{const x=s(u),p=!Object.is(u.editFormItemProps?.extendSearchFormProps,!1);return{field:`${h[r.rowKey]}.${u.searchField??x}`,component:()=>ol,defaultValue:h[x],colProps:{span:ne(f).editableType==="cell"?20:24},formItemProps:{help:""},...p?ll(qa(u.formItemProps),u.editFormItemProps,o):u.editFormItemProps}};return{innerColumns:i}},Jw={...ul(),rowKey:{type:[String,Function],default:"id"},search:{type:Boolean,default:!0},formProps:{type:Object,default:()=>({})},columns:{type:Array,required:!0,default:()=>[]},sortFn:{type:Function,default:Pt.defaultSortFn},filterFn:{type:Function,default:Pt.defaultFilterFn},fetchConfig:{type:Object,default:()=>Pt.fetchConfig},dataRequest:{type:Function},searchParams:{type:Object},showIndex:{type:Boolean,default:!1},indexColumnProps:{type:Object,default:()=>({})},showToolBar:{type:Boolean,default:!0},showTableSetting:{type:Boolean,default:!0},headerTitle:String,titleTooltip:String,autoHeight:Boolean,exportFileName:{type:String},exportBookType:{type:String,default:"xlsx"},exportAutoWidth:{type:Boolean,default:!0},exportFormatter:{type:Function,default:null},editableType:{type:String,default:"single"},onSave:{type:Function},onCancel:{type:Function},onlyOneLineEditorAlertMessage:String},qw={change:(...e)=>e.length===4,"toggle-advanced":e=>y0(e),"fetch-error":e=>e,"update:expandedRowKeys":e=>e,"expanded-rows-change":e=>Array.isArray(e)},Zw={class:"bg-white dark:bg-black"},Qw=dt({name:"DynamicTable",inheritAttrs:!1,__name:"dynamic-table",props:Jw,emits:qw,setup(e,{expose:t,emit:r}){const a=e,n=r,i=nf(),s=Aw({props:a,slots:i}),{tableRef:f,tableData:c,queryFormRef:o,editTableFormRef:l,getProps:u,getBindValues:h,editFormModel:x}=s,p=bw({state:s,props:a,emit:n}),{setProps:d,fetchData:v,handleSubmit:k,reload:_,handleTableChange:m,handleEditFormValidate:D}=p,I=_o({props:a,state:s}),F={setProps:d,reload:_,fetchData:v,...I},{innerColumns:T}=Yw({props:a,slots:i,state:s,methods:p,tableAction:F}),L=Sw({tableState:s,tableMethods:p,slots:i}),{getFormProps:O,replaceFormSlotKey:X,getFormSlotKeys:M}=L,P=Ew({props:a,state:s,methods:p}),J={...a,...s,...L,...p,...I,...P,emit:n};gl(J),v(),t(J);const le=cr(()=>{const{getExpandOption:q}=p;return{...h.value,...q.value}});return(q,he)=>(Ve(),Et("div",null,[ne(u).search?(Ve(),Fr(ne(Wi),Ja({key:0,ref_key:"queryFormRef",ref:o,class:"bg-white dark:bg-black mb-16px !pt-24px pr-24px","submit-on-reset":""},ne(O),{"table-instance":F,onToggleAdvanced:he[0]||(he[0]=ie=>q.$emit("toggle-advanced",ie)),onSubmit:ne(k)}),Bn({_:2},[$t(ne(M),ie=>({name:ne(X)(ie),fn:we(be=>[tt(q.$slots,ie,va(ma(be||{})),void 0,!0)])}))]),1040,["onSubmit"])):rt("",!0),Er("div",Zw,[q.showToolBar?(Ve(),Fr(ne(zw),{key:0,"export-file-name":q.exportFileName,title:q.headerTitle,"title-tooltip":q.titleTooltip,"show-table-setting":q.showTableSetting},Bn({_:2},[$t(Object.keys(q.$slots),ie=>({name:ie,fn:we(be=>[tt(q.$slots,ie,va(ma(be||{})),void 0,!0)])}))]),1032,["export-file-name","title","title-tooltip","show-table-setting"])):rt("",!0),Ae(ne(Wi),{ref_key:"editTableFormRef",ref:l,"no-style":"","initial-values":ne(x),"show-action-button-group":!1,"show-advanced-button":!1,onValidate:ne(D)},{default:we(()=>[Ae(ne(hl),Ja({ref_key:"tableRef",ref:f},le.value,{columns:ne(T),"data-source":ne(c),onChange:ne(m)}),Bn({bodyCell:we(ie=>[tt(q.$slots,"bodyCell",va(ma(ie)),void 0,!0)]),_:2},[$t(q.$slots,(ie,be)=>({name:be,fn:we(V=>[tt(q.$slots,be,va(ma(V)),void 0,!0)])}))]),1040,["columns","data-source","onChange"])]),_:3},8,["initial-values","onValidate"])])]))}}),ek=r0(Qw,[["__scopeId","data-v-dc1bc273"]]);export{H0 as a,Ys as r,fk as u,ck as w}; +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = [] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} diff --git a/assets/dynamic-table-Y7KdWP5u.css b/assets/dynamic-table-Y7KdWP5u.css new file mode 100644 index 000000000..eaddaee61 --- /dev/null +++ b/assets/dynamic-table-Y7KdWP5u.css @@ -0,0 +1 @@ +.check-item[data-v-a8477639]{display:flex;justify-content:space-between}.column-fixed .fixed-right.active[data-v-a8477639],.column-fixed .fixed-left.active[data-v-a8477639],.column-fixed .fixed-right[data-v-a8477639]:hover,.column-fixed .fixed-left[data-v-a8477639]:hover{color:#1890ff}.title[data-v-5225dc43]{display:flex;align-items:center;justify-content:flex-start;font-size:16px;font-weight:500}.editable-cell[data-v-29a549c9]{position:relative}.editable-cell:hover .anticon-edit[data-v-29a549c9]{display:block}.editable-cell .anticon-edit[data-v-29a549c9]{display:none;position:absolute;top:50%;right:0;transform:translateY(-50%)}[data-v-29a549c9] .ant-form-item{margin:0}[data-v-29a549c9] .ant-form-item-explain{display:none}[data-v-29a549c9] .ant-form-item-with-help{margin:0}[data-v-dc1bc273] .ant-table-wrapper{padding:0 6px 6px}[data-v-dc1bc273] .ant-table-wrapper .ant-table .ant-table-title{display:flex}[data-v-dc1bc273] .ant-table-wrapper .ant-table .ant-image:hover{cursor:zoom-in}.actions>*[data-v-dc1bc273]{margin-right:10px} diff --git a/assets/en-J42figcO.js b/assets/en-J42figcO.js new file mode 100644 index 000000000..1c8dceaaa --- /dev/null +++ b/assets/en-J42figcO.js @@ -0,0 +1 @@ +import{av as R,aw as E}from"./vendor-PZoYaLWz.js";const e="OK",o="Close",t="Cancel",n="Loading...",a="Save",l="Delete",r="Reset",s="Search",i="Search",c="Please enter",d="Please choose",u="Refresh",m="Back",g="Light",b="Dark",I={okText:e,closeText:o,cancelText:t,loadingText:n,saveText:a,delText:l,resetText:r,searchText:s,queryText:i,inputText:c,chooseText:d,redo:u,back:m,light:g,dark:b},N=Object.freeze(Object.defineProperty({__proto__:null,back:m,cancelText:t,chooseText:d,closeText:o,dark:b,default:I,delText:l,inputText:c,light:g,loadingText:n,okText:e,queryText:i,redo:u,resetText:r,saveText:a,searchText:s},Symbol.toStringTag,{value:"Module"})),p={exportModalTitle:"Export data",fileType:"File type",fileName:"File name"},f={putAway:"Put away",unfold:"Unfold",maxTip:"The number of characters should be less than {0}",apiSelectNotFound:"Wait for data loading to complete..."},T={settingDens:"Density",settingDensDefault:"Default",settingDensMiddle:"Middle",settingDensSmall:"Compact",settingColumn:"Column settings",settingColumnShow:"Column display",settingIndexColumnShow:"Index Column",settingFixedLeft:"Fixed Left",settingFixedRight:"Fixed Right",settingFullScreen:"Full Screen",settingBordered:"Bordered",index:"Index",total:"total of {total}"},z={excel:p,form:f,table:T},H=Object.freeze(Object.defineProperty({__proto__:null,default:z,excel:p,form:f,table:T},Symbol.toStringTag,{value:"Module"})),h={onlinePreview:"Preview",onlineDocument:"Document"},_={dropdownItemDoc:"Document",dropdownItemLoginOut:"Login Out",tooltipErrorLog:"Error log",tooltipLock:"Lock screen",tooltipNotify:"Notification",tooltipEntryFull:"Full Screen",tooltipExitFull:"Exit Full Screen",lockScreenPassword:"Lock screen password",lockScreen:"Lock screen",lockScreenBtn:"Locking",home:"Home"},x={reload:"Refresh current",close:"Close current",closeLeft:"Close Left",closeRight:"Close Right",closeOther:"Close Other",closeAll:"Close All"},y={contentModeFull:"Full",contentModeFixed:"Fixed width",topMenuAlignLeft:"Left",topMenuAlignRight:"Center",topMenuAlignCenter:"Right",menuTriggerNone:"Not Show",menuTriggerBottom:"Bottom",menuTriggerTop:"Top",menuTypeSidebar:"Left menu mode",menuTypeMixSidebar:"Left menu mixed mode",menuTypeMix:"Top Menu Mix mode",menuTypeTopMenu:"Top menu mode",on:"On",off:"Off",minute:"Minute",operatingTitle:"Successful!",operatingContent:"The copy is successful, please go to src/settings/projectSetting.ts to modify the configuration!",resetSuccess:"Successfully reset!",copyBtn:"Copy",clearBtn:"Clear cache and to the login page",drawerTitle:"Configuration",darkMode:"Dark mode",navMode:"Navigation mode",interfaceFunction:"Interface function",interfaceDisplay:"Interface display",animation:"Animation",splitMenu:"Split menu",closeMixSidebarOnChange:"Switch page to close menu",sysTheme:"System theme",headerTheme:"Header theme",sidebarTheme:"Menu theme",menuDrag:"Drag Sidebar",menuSearch:"Menu search",menuAccordion:"Sidebar accordion",menuCollapse:"Collapse menu",collapseMenuDisplayName:"Collapse menu display name",topMenuLayout:"Top menu layout",menuCollapseButton:"Menu collapse button",contentMode:"Content area width",expandedMenuWidth:"Expanded menu width",breadcrumb:"Breadcrumbs",breadcrumbIcon:"Breadcrumbs Icon",tabs:"Tabs",tabDetail:"Tab Detail",tabsQuickBtn:"Tabs quick button",tabsRedoBtn:"Tabs redo button",tabsFoldBtn:"Tabs flod button",sidebar:"Sidebar",header:"Header",footer:"Footer",fullContent:"Full content",grayMode:"Gray mode",colorWeak:"Color Weak Mode",progress:"Progress",switchLoading:"Switch Loading",switchAnimation:"Switch animation",animationType:"Animation type",autoScreenLock:"Auto screen lock",notAutoScreenLock:"Not auto lock",fixedHeader:"Fixed header",fixedSideBar:"Fixed Sidebar",mixSidebarTrigger:"Mixed menu Trigger",triggerHover:"Hover",triggerClick:"Click",mixSidebarFixed:"Fixed expanded menu"},W={footer:h,header:_,multipleTab:x,setting:y},$=Object.freeze(Object.defineProperty({__proto__:null,default:W,footer:h,header:_,multipleTab:x,setting:y},Symbol.toStringTag,{value:"Module"})),S="settings",M="about",q={settings:S,about:M},K=Object.freeze(Object.defineProperty({__proto__:null,about:M,default:q,settings:S},Symbol.toStringTag,{value:"Module"})),L="Login",C="Error Log",G={login:L,errorLogList:C},Q=Object.freeze(Object.defineProperty({__proto__:null,default:G,errorLogList:C,login:L},Symbol.toStringTag,{value:"Module"})),F="Dashboard",k="About",w="Workbench",D="Analysis",U={dashboard:F,about:k,workbench:w,analysis:D},J=Object.freeze(Object.defineProperty({__proto__:null,about:k,analysis:D,dashboard:F,default:U,workbench:w},Symbol.toStringTag,{value:"Module"})),v="Demo",j="Button Extension",O="Draggable Modal",B={demo:"Form Demo",basic:"Basic Form",rule:"Rule Form",dynamic:"Dynamic Form",customForm:"Custom Form Component"},A={demo:"Table Demo",searchTable:"Search Table",editRowTable:"Editable Rows",wzry:"Honor of Kings",lol:"League of Legends"},P="Custom Icon",V={demo:v,button:j,modal:O,form:B,table:A,icon:P},X=Object.freeze(Object.defineProperty({__proto__:null,button:j,default:V,demo:v,form:B,icon:P,modal:O,table:A},Symbol.toStringTag,{value:"Module"})),Y=Object.assign({"./en/common.json":N,"./en/component.json":H,"./en/layout.json":$,"./en/routes/account.json":K,"./en/routes/basic.json":Q,"./en/routes/dashboard.json":J,"./en/routes/demo.json":X}),ee={message:{...R(Y,"en"),antdLocale:E},dateLocale:null,dateLocaleName:"en"};export{ee as default}; diff --git a/assets/file-operate-button-list-RqzdcJuB.js b/assets/file-operate-button-list-RqzdcJuB.js new file mode 100644 index 000000000..a63f59024 --- /dev/null +++ b/assets/file-operate-button-list-RqzdcJuB.js @@ -0,0 +1 @@ +import{_ as o}from"./file-operate-button-list.vue_vue_type_script_setup_true_lang-sQvBjGwI.js";import"./file-upload-drawer.vue_vue_type_script_setup_true_lang-83vk-jkp.js";import"./vendor-PZoYaLWz.js";import"./index-zjj_i2Xu.js";import"./index.vue_vue_type_style_index_0_lang-35qbmpIP.js";import"./index-FiLqFnhx.js";import"./useFormModal-Z6rDe6Nh.js";import"./useModal-L2aP7aoQ.js";import"./schema-form.vue_vue_type_script_setup_true_lang-iMSwIqZ0.js";import"./ApiSelect.vue_vue_type_script_setup_true_lang-w2BFpwRk.js";import"./index-XMdBM6P7.js";import"./dateUtil-15Jj70TU.js";export{o as default}; diff --git a/assets/file-operate-button-list.vue_vue_type_script_setup_true_lang-sQvBjGwI.js b/assets/file-operate-button-list.vue_vue_type_script_setup_true_lang-sQvBjGwI.js new file mode 100644 index 000000000..aaf70cd77 --- /dev/null +++ b/assets/file-operate-button-list.vue_vue_type_script_setup_true_lang-sQvBjGwI.js @@ -0,0 +1 @@ +import{_ as K}from"./file-upload-drawer.vue_vue_type_script_setup_true_lang-83vk-jkp.js";import{A as v}from"./index-zjj_i2Xu.js";import"./index.vue_vue_type_style_index_0_lang-35qbmpIP.js";import{u as j}from"./useFormModal-Z6rDe6Nh.js";import{d as V,r as m,b as k,bN as A,w as C,I as O,Q as E,k as a,K as t,J as R,B as l,_ as r,a7 as z,S as T,F as U,a1 as W,cd as J,a0 as D,ce as w,a3 as Q,cf as Y,ay as G,az as f,cg as H,ch as X,ci as Z,aB as x,aP as ee,cj as ae,aN as te,ck as se,cl as le,aY as ne}from"./vendor-PZoYaLWz.js";const fe=o=>[{field:"toName",component:"Input",label:`${o.type==="dir"?"文件夹":"文件"}名称`,defaultValue:o.name,rules:[{required:!0,type:"string",validator:(d,s)=>s&&s===o.name?Promise.reject("修改前后名称一致"):s&&!s.includes("/")?Promise.resolve():Promise.reject(`请输入合法${o.type==="dir"?"文件夹":"文件"}的名称`)}],componentProps:{placeholder:"输入重命名后的名称"}}],ie=[{field:"dirName",component:"Input",label:"文件夹名称",rules:[{required:!0,type:"string",validator:(o,d)=>d&&!d.includes("/")?Promise.resolve():Promise.reject("请输入合法的文件夹路径")}],componentProps:{placeholder:"请输入文件夹名称"}}],re=[{field:"key",component:"Input",label:"关键字",defaultValue:"",rules:[{required:!0,type:"string",validator:(o,d)=>d&&!d.includes("/")?Promise.resolve():Promise.reject("请输入合法的名称")}],componentProps:{placeholder:"请输入搜索关键字"}}],he=V({name:"FileOperateButtonList",__name:"file-operate-button-list",props:{selectedFileList:{type:Array,required:!0},parsePath:{type:Function,required:!0},searchKey:{type:String,required:!0},updateOperateStatus:{type:Function,required:!0}},emits:["changed","update:searchKey"],setup(o,{emit:d}){const s=o,c=d,[g]=j(),P=m(),n=m(!1),i=m(!1),h=m(""),y=m([]),F=k(()=>y.value.length>0?!1:s.selectedFileList.length<=0),S=k(()=>n.value&&h.value===s.parsePath()),b=k(()=>!A(s.searchKey));C(n,e=>{e&&(i.value&&(i.value=!1),_())}),C(i,e=>{e&&(n.value&&(n.value=!1),_())});const $=({key:e})=>{e==="copy"?i.value=!0:e==="cut"?n.value=!0:e==="delete"?W.confirm({title:"你确定要删除吗?",icon:a(J),onOk:B}):e==="cancel"&&(n.value=!1,i.value=!1,M())},_=()=>{y.value=w(s.selectedFileList),h.value=s.parsePath()},M=()=>{h.value="",y.value=[]},N=async()=>{try{s.updateOperateStatus(!0);const e={files:y.value,originPath:h.value,toPath:s.parsePath()};let u;if(n.value&&!i.value)await v.netDiskManage.netDiskManageCut(e),u="剪切",n.value=!1;else if(!n.value&&i.value)await v.netDiskManage.netDiskManageCopy(e),u="复制",i.value=!1;else throw new Error("unsupport operate");M(),D.success(`${u}成功`),c("changed")}finally{s.updateOperateStatus(!1)}},B=async()=>{const e=s.parsePath(),u=w(s.selectedFileList);await v.netDiskManage.netDiskManageDelete({path:e,files:u},{showSuccessMsg:!1}),D.success("已删除指定列表"),c("changed")},I=async()=>{if(b.value){c("update:searchKey","");return}await g({modalProps:{title:"全盘搜索",width:700,onFinish:async e=>{c("update:searchKey",e.key)}},formProps:{labelWidth:100,schemas:re}})},q=()=>{P.value?.open(s.parsePath())},L=async()=>{await g({modalProps:{title:"创建文件夹",width:700,onFinish:async e=>{await v.netDiskManage.netDiskManageMkdir({path:s.parsePath(),dirName:e.dirName}),c("changed")}},formProps:{labelWidth:100,schemas:ie}})};return(e,u)=>{const p=Q("a-button");return O(),E(U,null,[a(l(ne),null,{default:t(()=>[i.value||n.value?(O(),R(p,{key:0,disabled:S.value,onClick:N},{default:t(()=>[a(l(Y)),r("粘贴 ")]),_:1},8,["disabled"])):z("",!0),a(l(G),{size:"small"},{overlay:t(()=>[a(l(f),{onClick:$},{default:t(()=>[a(l(f).Item,{key:"copy",disabled:!e.$auth("netdisk:manage:copy")},{default:t(()=>[a(l(H)),r(" 复制所选 ")]),_:1},8,["disabled"]),a(l(f).Item,{key:"cut",disabled:!e.$auth("netdisk:manage:cut")},{default:t(()=>[a(l(X),{rotate:-90}),r(" 剪切所选 ")]),_:1},8,["disabled"]),a(l(f).Item,{key:"delete",disabled:!e.$auth("netdisk:manage:delete")},{default:t(()=>[a(l(Z)),r(" 删除所选 ")]),_:1},8,["disabled"]),a(l(f).Item,{key:"cancel",divider:"",disabled:!i.value&&!n.value},{default:t(()=>[a(l(x)),r(" 取消粘贴 ")]),_:1},8,["disabled"])]),_:1})]),default:t(()=>[a(l(ee),{title:"注意:复制或剪切时会覆盖重名文件",placement:"top"},{default:t(()=>[a(p,{color:"#e6a23c",disabled:F.value},{icon:t(()=>[a(l(ae))]),default:t(()=>[r(" 批量操作 ")]),_:1},8,["disabled"])]),_:1})]),_:1}),a(p,{type:"success",disabled:!e.$auth("netdisk:manage:list"),onClick:I},{icon:t(()=>[a(l(te))]),default:t(()=>[r(" "+T(b.value?"取消搜索":"全盘搜索"),1)]),_:1},8,["disabled"]),a(p,{type:"primary",disabled:!e.$auth("netdisk:manage:token"),onClick:q},{icon:t(()=>[a(l(se))]),default:t(()=>[r(" 上传文件 ")]),_:1},8,["disabled"]),a(p,{onClick:L},{icon:t(()=>[a(l(le))]),default:t(()=>[r(" 创建文件夹 ")]),_:1})]),_:1}),a(K,{ref_key:"uploadDrawerRef",ref:P,onChanged:u[0]||(u[0]=oe=>e.$emit("changed"))},null,512)],64)}}});export{he as _,fe as g}; diff --git a/assets/file-preview-drawer-2xNH53ZO.js b/assets/file-preview-drawer-2xNH53ZO.js new file mode 100644 index 000000000..445efb316 --- /dev/null +++ b/assets/file-preview-drawer-2xNH53ZO.js @@ -0,0 +1 @@ +import{_ as o}from"./file-preview-drawer.vue_vue_type_script_setup_true_lang-3_3G3Mxc.js";import"./index-XMdBM6P7.js";import"./index-zjj_i2Xu.js";import"./vendor-PZoYaLWz.js";import"./dateUtil-15Jj70TU.js";export{o as default}; diff --git a/assets/file-preview-drawer.vue_vue_type_script_setup_true_lang-3_3G3Mxc.js b/assets/file-preview-drawer.vue_vue_type_script_setup_true_lang-3_3G3Mxc.js new file mode 100644 index 000000000..5f9356514 --- /dev/null +++ b/assets/file-preview-drawer.vue_vue_type_script_setup_true_lang-3_3G3Mxc.js @@ -0,0 +1 @@ +import{f as z}from"./index-XMdBM6P7.js";import{A as h,M as C}from"./index-zjj_i2Xu.js";import{f as F}from"./dateUtil-15Jj70TU.js";import{d as R,r as t,b as D,bN as T,I as A,J as S,K as l,k as s,B as e,Z as J,Q as V,U as L,F as P,_ as E,x as U,a0 as q,a3 as N,a9 as H,aY as k,bk as W,aU as I,S as j,aQ as X,aX as Z}from"./vendor-PZoYaLWz.js";const K="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIIAAABVCAMAAACy5sxYAAAAgVBMVEXg4ODt7e3n5+fo6Ojj4+PX19fLy8vw8PDh4eG+vr7q6urr6+vHx8fd3d3BwcHv7+/Y2NjU1NTR0dHu7u7l5eXOzs7s7Oza2trg4ODm5ubi4uLExMTp6enk5OTQ0NDf39/AwMDFxcXJycnNzc3S0tLW1tbKysrZ2dnMzMzGxsbCwsIuTMdIAAAAAXRSTlOWWYruFwAABSdJREFUaN7tmgtzojwUhpuYBE8M4aIIitW2u/vd/v8P/E4uQMBe4g5WZ8fMtJ1K4Dycy5tD8OlpeePx9LRMbjyWD4QHwgPhgfBHIRBJN8xpLNtQSb4bYbXbT7V+v1t9H8J6sX9/xdkv1t+CsKafrXt0fX2ExVeL7+LKCIR93QAwck2EQ1wXcrgaQrYbW3qmh9UWx+pAn8dHdtl1ELJNaGUjR2YyOT6aXQMhC9Pgvepbh5n6nM2PEPqAfnD9jP6GH+IRhjzYbz+etR1ctZsbIayFVZyzDvMikFHCr+K0i8yJkE0U6VMG2WvUnAhnqhznh8V8COtzAVxFpe56NoSu1hiNzMkubnQuhN4J2zAinzFsL3BDFMIiuKdIBhqfDVEIXY+UJdEMWSdj8yCsxncUx7CISdtohN0krlEM62iZ9ghex4pxBtc0jMOmcVLD5ZcMjCfJ5uNISI72inSEUAqnwkrLcKpSoTZLJSwqsM4POY6GueFM1+5EDl4jiyJfMka4H8aqqBKGhwmMEShwx1COZJ3ZaZ3eMpBJoSyCZ4BgeNMV6RBsQv5Q6k0DReut6hC4RUihMFBVHwiu5fRyZpTNUF/PokS/lA5hyIcjhLFIdSXRJSXgr/pkJ5y0vV3B/RSPIAQfIyQywZOqqnMqTAZeqkZPSSg5Nz+iZzjCKB8o4f1JuTmsXrnpuxnUPloOoQFJBT2rCKnxHmvryZQxpSxOCXVxPJqbQYSi5Q6h6P1wfBlyknZLowmE6zBOr0BMRAf3isIgoEtJ5dLBIDAthI0SEjR9ltTa/qmEM6UwmMT6FFhYm0c11EUFBRkQnJychEVICLX+x0owCC7rC0U8ArpJcUxFhWFsRe9SsH7S3F4pfWGCp5aqQ2DjWHFrWgwI2z5hWzSOZh2CMcfCMvKBMMnSAiitZe9Nk3qYuL4gTlucQ0IEyVIsyte3n2Br0wI3lI8yKF/mkJSVRfBeCNDFFAGdQ9HTovWFmRp3oVe6VRK9IMwAZX5THwsocgg1yuwzNJZym1vtgETVEwQvhfwMAQ/qwp/u3CCSGjEGhMbWkUlH7nV0UcDJIXiGxnwu2mHBzsFZRXsBQmNu4RxBYvJjVRRDgenKRLiT4q6yIWwJ/31begTLQMzpDGeQwqdjh1BWIUKpKD1DSKlq8UwFgT4WoE06+5b8PYQSGo+QWobKRBElGPHLw4BARaLx9niHQHSNa8IEQUFDCEaiVapjQJGp2jbt1hv6DkKJXlo4BPWKDDaKteHGgOYDgqkRqmi3hhE04uzTlHgEApraSFQElyrqVjOtG/QntMfaC/QUQQoo7V0d8/zXyxsKqBbGWMFMyugXe15hEWqUG95JTqPaLgopVr5DkELiARDMLZcEZRA0t+6QpQb4YS721wSBg669IuEwBhVszH+odLgEpf+hX1KAfxBSWOupUV8uAMxiWIOtLhEKNK38pQlOZ1Xa54QsRGoQ/m68ab+gk0JOepi0wHzoPpS/TCR+5nidtHIxoHjlpqrdjF6cYrqmrmWJetLp16xNbPP4O41bFMPFjdsl7Wscw7zt67iJj2OYuYkfPcpEMsz9KBM80EUyzP5ANzzWZpEM+7kfawc37C7cG57v4T5202LxO9vRsXtN/UaPvIBh1o2eYLvrAj/Mut0Vbvp9vqdJl9fa9Au3PtmNtj7vYQM4yZ5vvQ1+Dy8D7uGVyD28GLqL12P38JIwuYdXpckdvDB2/eSNX5v7zLzxlwdmHA+EB8ID4YFwjnD7777+DxThSqcWhzRiAAAAAElFTkSuQmCC",ee=R({name:"FilePreviewDrawer",__name:"file-preview-drawer",setup(O,{expose:B}){const c=new Map([["name","文件名"],["mimeType","文件类型"],["hash","文件Hash"],["md5","文件MD5"],["fsize","文件大小"],["putTime","上传时间"],["uploader","上传人员"]]),m=t(!1),f=t(!1),w=t(""),M=t(""),n=t({}),r=t(""),u=t(""),g=t(!1),v=D(()=>T(r.value)),b=D(()=>`${r.value}?imageView2/2/w/500/h/210`),Q=async(i,p)=>{f.value=!0,w.value=i,M.value=p,await U();try{m.value=!0;const d={name:i,path:p},a=await h.netDiskManage.netDiskManageInfo(d);if(u.value=a.mark,Array.from(c.keys()).forEach(o=>{o==="fsize"?n.value.fsize=z(a[o]):n.value[o]=a[o]}),n.value.putTime=F(a.putTime),n.value.name=i,n.value,C("netdisk:manage:download")&&a.mimeType.includes("image/")){const o=await h.netDiskManage.netDiskManageDownload(d);r.value=o}}catch{y()}finally{m.value=!1}},x=async()=>{try{g.value=!0,await h.netDiskManage.netDiskManageMark({name:w.value,path:M.value,mark:u.value}),q.success("已更新文件备注")}finally{g.value=!1}},y=()=>{w.value="",M.value="",r.value="",u.value="",n.value={},f.value=!1};return B({open:Q}),(i,p)=>{const d=N("a-button");return A(),S(e(Z),{title:"文件详情",width:500,visible:f.value,onClose:y},{default:l(()=>[s(e(H),{spinning:m.value,class:"preview-drawer-inner-box"},{default:l(()=>[s(e(k),{direction:"vertical"},{default:l(()=>[s(e(W),{style:J({width:v.value?"130px":"100%",height:v.value?"85px":"210px"}),src:v.value?e(K):b.value,preview:v.value?!1:{src:r.value}},null,8,["style","src","preview"]),s(e(I),{bordered:"",column:1,size:"small"},{default:l(()=>[(A(!0),V(P,null,L(e(c).keys(),a=>(A(),S(e(I).Item,{key:a,label:e(c).get(a),"label-style":{whiteSpace:"nowrap"}},{default:l(()=>[E(j(n.value[a]),1)]),_:2},1032,["label"]))),128)),s(e(I).Item,{label:"文件备注","label-style":{whiteSpace:"nowrap"}},{default:l(()=>[s(e(k),{direction:"vertical",align:"end"},{default:l(()=>[s(e(X).TextArea,{value:u.value,"onUpdate:value":p[0]||(p[0]=a=>u.value=a),disabled:!i.$auth("netdisk:manage:mark"),placeholder:"请输入文件备注",maxlength:100,rows:4,"show-count":""},null,8,["value","disabled"]),s(d,{loading:g.value,disabled:!i.$auth("netdisk:manage:mark"),type:"primary",size:"mini",onClick:x},{default:l(()=>[E("更新 ")]),_:1},8,["loading","disabled"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["spinning"])]),_:1},8,["visible"])}}});export{ee as _}; diff --git a/assets/file-upload-drawer-LlU4Kwn3.js b/assets/file-upload-drawer-LlU4Kwn3.js new file mode 100644 index 000000000..d04e64f7b --- /dev/null +++ b/assets/file-upload-drawer-LlU4Kwn3.js @@ -0,0 +1 @@ +import{_ as o}from"./file-upload-drawer.vue_vue_type_script_setup_true_lang-83vk-jkp.js";import"./vendor-PZoYaLWz.js";import"./index-zjj_i2Xu.js";export{o as default}; diff --git a/assets/file-upload-drawer.vue_vue_type_script_setup_true_lang-83vk-jkp.js b/assets/file-upload-drawer.vue_vue_type_script_setup_true_lang-83vk-jkp.js new file mode 100644 index 000000000..1438fdd66 --- /dev/null +++ b/assets/file-upload-drawer.vue_vue_type_script_setup_true_lang-83vk-jkp.js @@ -0,0 +1 @@ +import{cm as be,d as we,r as A,b as _e,bN as xe,I as Ce,Q as Se,k as $,K as J,B as W,R as Y,a1 as ke,cd as Ae,cn as te,x as Ie,_ as Fe,a9 as Ue,bH as Oe,aX as ze}from"./vendor-PZoYaLWz.js";import{A as Ee}from"./index-zjj_i2Xu.js";var le=function(){var r=function(n,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,i){o.__proto__=i}||function(o,i){for(var t in i)i.hasOwnProperty(t)&&(o[t]=i[t])},r(n,e)};return function(n,e){r(n,e);function o(){this.constructor=n}n.prototype=e===null?Object.create(e):(o.prototype=e.prototype,new o)}}(),b;(function(r){r.InvalidFile="InvalidFile",r.InvalidToken="InvalidToken",r.InvalidMetadata="InvalidMetadata",r.InvalidChunkSize="InvalidChunkSize",r.InvalidCustomVars="InvalidCustomVars",r.NotAvailableUploadHost="NotAvailableUploadHost",r.ReadCacheFailed="ReadCacheFailed",r.InvalidCacheData="InvalidCacheData",r.WriteCacheFailed="WriteCacheFailed",r.RemoveCacheFailed="RemoveCacheFailed",r.GetCanvasContextFailed="GetCanvasContextFailed",r.UnsupportedFileType="UnsupportedFileType",r.FileReaderReadFailed="FileReaderReadFailed",r.NotAvailableXMLHttpRequest="NotAvailableXMLHttpRequest",r.InvalidProgressEventTarget="InvalidProgressEventTarget",r.RequestError="RequestError"})(b||(b={}));var w=function(){function r(n,e){this.name=n,this.message=e,this.stack=new Error().stack}return r}(),M=function(r){le(n,r);function n(e,o,i,t){var f=r.call(this,b.RequestError,i)||this;return f.code=e,f.reqId=o,f.isRequestError=!0,f.data=t,f}return n}(w),Re=function(r){le(n,r);function n(e,o){return o===void 0&&(o=""),r.call(this,0,o,e)||this}return n}(M),Pe=function(){function r(n,e){this.runTask=n,this.limit=e,this.aborted=!1,this.queue=[],this.processing=[]}return r.prototype.enqueue=function(n){var e=this;return new Promise(function(o,i){e.queue.push({task:n,resolve:o,reject:i}),e.check()})},r.prototype.run=function(n){var e=this;this.queue=this.queue.filter(function(o){return o!==n}),this.processing.push(n),this.runTask(n.task).then(function(){e.processing=e.processing.filter(function(o){return o!==n}),n.resolve(),e.check()},function(o){return n.reject(o)})},r.prototype.check=function(){var n=this;if(!this.aborted){var e=this.processing.length,o=this.limit-e;this.queue.slice(0,o).forEach(function(i){n.run(i)})}},r.prototype.abort=function(){this.queue=[],this.aborted=!0},r}(),Le=function(){var r=function(n,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,i){o.__proto__=i}||function(o,i){for(var t in i)i.hasOwnProperty(t)&&(o[t]=i[t])},r(n,e)};return function(n,e){r(n,e);function o(){this.constructor=n}n.prototype=e===null?Object.create(e):(o.prototype=e.prototype,new o)}}(),B=function(){return B=Object.assign||function(r){for(var n,e=1,o=arguments.length;e"u")return"";var n=r+"",e="",o,i,t=0;o=i=0,t=n.length;for(var f=0;f127&&p<2048)v=String.fromCharCode(p>>6|192,p&63|128);else if((p&63488^55296)>0)v=String.fromCharCode(p>>12|224,p>>6&63|128,p&63|128);else{if((p&64512^55296)>0)throw new RangeError("Unmatched trail surrogate at "+f);var a=n.charCodeAt(++f);if((a&64512^56320)>0)throw new RangeError("Unmatched lead surrogate at "+(f-1));p=((p&1023)<<10)+(a&1023)+65536,v=String.fromCharCode(p>>18|240,p>>12&63|128,p>>6&63|128,p&63|128)}v!==null&&(i>o&&(e+=n.slice(o,i)),e+=v,o=i=f+1)}return i>o&&(e+=n.slice(o,t)),e}function qe(r){var n=[],e=0,o=0,i=0;for(r+="";e>10&1023)),n.push(String.fromCharCode(56320|o&1023))):n.push(String.fromCharCode(o)),e+=i}return n.join("")}function Me(r){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",e,o,i,t,f,p,v,a,h=0,g=0,_="",C=[];if(!r)return r;r=Be(r+"");do e=r.charCodeAt(h++),o=r.charCodeAt(h++),i=r.charCodeAt(h++),a=e<<16|o<<8|i,t=a>>18&63,f=a>>12&63,p=a>>6&63,v=a&63,C[g++]=n.charAt(t)+n.charAt(f)+n.charAt(p)+n.charAt(v);while(h>16&255,o=a>>8&255,i=a&255,p===64?C[g++]=String.fromCharCode(e):v===64?C[g++]=String.fromCharCode(e,o):C[g++]=String.fromCharCode(e,o,i);while(h>>25)+s|0,c+=(u&s|~u&l)+d[1]-389564586|0,c=(c<<12|c>>>20)+u|0,l+=(c&u|~c&s)+d[2]+606105819|0,l=(l<<17|l>>>15)+c|0,s+=(l&c|~l&u)+d[3]-1044525330|0,s=(s<<22|s>>>10)+l|0,u+=(s&l|~s&c)+d[4]-176418897|0,u=(u<<7|u>>>25)+s|0,c+=(u&s|~u&l)+d[5]+1200080426|0,c=(c<<12|c>>>20)+u|0,l+=(c&u|~c&s)+d[6]-1473231341|0,l=(l<<17|l>>>15)+c|0,s+=(l&c|~l&u)+d[7]-45705983|0,s=(s<<22|s>>>10)+l|0,u+=(s&l|~s&c)+d[8]+1770035416|0,u=(u<<7|u>>>25)+s|0,c+=(u&s|~u&l)+d[9]-1958414417|0,c=(c<<12|c>>>20)+u|0,l+=(c&u|~c&s)+d[10]-42063|0,l=(l<<17|l>>>15)+c|0,s+=(l&c|~l&u)+d[11]-1990404162|0,s=(s<<22|s>>>10)+l|0,u+=(s&l|~s&c)+d[12]+1804603682|0,u=(u<<7|u>>>25)+s|0,c+=(u&s|~u&l)+d[13]-40341101|0,c=(c<<12|c>>>20)+u|0,l+=(c&u|~c&s)+d[14]-1502002290|0,l=(l<<17|l>>>15)+c|0,s+=(l&c|~l&u)+d[15]+1236535329|0,s=(s<<22|s>>>10)+l|0,u+=(s&c|l&~c)+d[1]-165796510|0,u=(u<<5|u>>>27)+s|0,c+=(u&l|s&~l)+d[6]-1069501632|0,c=(c<<9|c>>>23)+u|0,l+=(c&s|u&~s)+d[11]+643717713|0,l=(l<<14|l>>>18)+c|0,s+=(l&u|c&~u)+d[0]-373897302|0,s=(s<<20|s>>>12)+l|0,u+=(s&c|l&~c)+d[5]-701558691|0,u=(u<<5|u>>>27)+s|0,c+=(u&l|s&~l)+d[10]+38016083|0,c=(c<<9|c>>>23)+u|0,l+=(c&s|u&~s)+d[15]-660478335|0,l=(l<<14|l>>>18)+c|0,s+=(l&u|c&~u)+d[4]-405537848|0,s=(s<<20|s>>>12)+l|0,u+=(s&c|l&~c)+d[9]+568446438|0,u=(u<<5|u>>>27)+s|0,c+=(u&l|s&~l)+d[14]-1019803690|0,c=(c<<9|c>>>23)+u|0,l+=(c&s|u&~s)+d[3]-187363961|0,l=(l<<14|l>>>18)+c|0,s+=(l&u|c&~u)+d[8]+1163531501|0,s=(s<<20|s>>>12)+l|0,u+=(s&c|l&~c)+d[13]-1444681467|0,u=(u<<5|u>>>27)+s|0,c+=(u&l|s&~l)+d[2]-51403784|0,c=(c<<9|c>>>23)+u|0,l+=(c&s|u&~s)+d[7]+1735328473|0,l=(l<<14|l>>>18)+c|0,s+=(l&u|c&~u)+d[12]-1926607734|0,s=(s<<20|s>>>12)+l|0,u+=(s^l^c)+d[5]-378558|0,u=(u<<4|u>>>28)+s|0,c+=(u^s^l)+d[8]-2022574463|0,c=(c<<11|c>>>21)+u|0,l+=(c^u^s)+d[11]+1839030562|0,l=(l<<16|l>>>16)+c|0,s+=(l^c^u)+d[14]-35309556|0,s=(s<<23|s>>>9)+l|0,u+=(s^l^c)+d[1]-1530992060|0,u=(u<<4|u>>>28)+s|0,c+=(u^s^l)+d[4]+1272893353|0,c=(c<<11|c>>>21)+u|0,l+=(c^u^s)+d[7]-155497632|0,l=(l<<16|l>>>16)+c|0,s+=(l^c^u)+d[10]-1094730640|0,s=(s<<23|s>>>9)+l|0,u+=(s^l^c)+d[13]+681279174|0,u=(u<<4|u>>>28)+s|0,c+=(u^s^l)+d[0]-358537222|0,c=(c<<11|c>>>21)+u|0,l+=(c^u^s)+d[3]-722521979|0,l=(l<<16|l>>>16)+c|0,s+=(l^c^u)+d[6]+76029189|0,s=(s<<23|s>>>9)+l|0,u+=(s^l^c)+d[9]-640364487|0,u=(u<<4|u>>>28)+s|0,c+=(u^s^l)+d[12]-421815835|0,c=(c<<11|c>>>21)+u|0,l+=(c^u^s)+d[15]+530742520|0,l=(l<<16|l>>>16)+c|0,s+=(l^c^u)+d[2]-995338651|0,s=(s<<23|s>>>9)+l|0,u+=(l^(s|~c))+d[0]-198630844|0,u=(u<<6|u>>>26)+s|0,c+=(s^(u|~l))+d[7]+1126891415|0,c=(c<<10|c>>>22)+u|0,l+=(u^(c|~s))+d[14]-1416354905|0,l=(l<<15|l>>>17)+c|0,s+=(c^(l|~u))+d[5]-57434055|0,s=(s<<21|s>>>11)+l|0,u+=(l^(s|~c))+d[12]+1700485571|0,u=(u<<6|u>>>26)+s|0,c+=(s^(u|~l))+d[3]-1894986606|0,c=(c<<10|c>>>22)+u|0,l+=(u^(c|~s))+d[10]-1051523|0,l=(l<<15|l>>>17)+c|0,s+=(c^(l|~u))+d[1]-2054922799|0,s=(s<<21|s>>>11)+l|0,u+=(l^(s|~c))+d[8]+1873313359|0,u=(u<<6|u>>>26)+s|0,c+=(s^(u|~l))+d[15]-30611744|0,c=(c<<10|c>>>22)+u|0,l+=(u^(c|~s))+d[6]-1560198380|0,l=(l<<15|l>>>17)+c|0,s+=(c^(l|~u))+d[13]+1309151649|0,s=(s<<21|s>>>11)+l|0,u+=(l^(s|~c))+d[4]-145523070|0,u=(u<<6|u>>>26)+s|0,c+=(s^(u|~l))+d[11]-1120210379|0,c=(c<<10|c>>>22)+u|0,l+=(u^(c|~s))+d[2]+718787259|0,l=(l<<15|l>>>17)+c|0,s+=(c^(l|~u))+d[9]-343485551|0,s=(s<<21|s>>>11)+l|0,y[0]=u+y[0]|0,y[1]=s+y[1]|0,y[2]=l+y[2]|0,y[3]=c+y[3]|0}function t(y){var d=[],u;for(u=0;u<64;u+=4)d[u>>2]=y.charCodeAt(u)+(y.charCodeAt(u+1)<<8)+(y.charCodeAt(u+2)<<16)+(y.charCodeAt(u+3)<<24);return d}function f(y){var d=[],u;for(u=0;u<64;u+=4)d[u>>2]=y[u]+(y[u+1]<<8)+(y[u+2]<<16)+(y[u+3]<<24);return d}function p(y){var d=y.length,u=[1732584193,-271733879,-1732584194,271733878],s,l,c,x,S,k;for(s=64;s<=d;s+=64)i(u,t(y.substring(s-64,s)));for(y=y.substring(s-64),l=y.length,c=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],s=0;s>2]|=y.charCodeAt(s)<<(s%4<<3);if(c[s>>2]|=128<<(s%4<<3),s>55)for(i(u,c),s=0;s<16;s+=1)c[s]=0;return x=d*8,x=x.toString(16).match(/(.*?)(.{0,8})$/),S=parseInt(x[2],16),k=parseInt(x[1],16)||0,c[14]=S,c[15]=k,i(u,c),u}function v(y){var d=y.length,u=[1732584193,-271733879,-1732584194,271733878],s,l,c,x,S,k;for(s=64;s<=d;s+=64)i(u,f(y.subarray(s-64,s)));for(y=s-64>2]|=y[s]<<(s%4<<3);if(c[s>>2]|=128<<(s%4<<3),s>55)for(i(u,c),s=0;s<16;s+=1)c[s]=0;return x=d*8,x=x.toString(16).match(/(.*?)(.{0,8})$/),S=parseInt(x[2],16),k=parseInt(x[1],16)||0,c[14]=S,c[15]=k,i(u,c),u}function a(y){var d="",u;for(u=0;u<4;u+=1)d+=o[y>>u*8+4&15]+o[y>>u*8&15];return d}function h(y){var d;for(d=0;dc?new ArrayBuffer(0):(x=c-l,S=new ArrayBuffer(x),k=new Uint8Array(S),L=new Uint8Array(this,l,x),k.set(L),S)}}();function g(y){return/[\u0080-\uFFFF]/.test(y)&&(y=unescape(encodeURIComponent(y))),y}function _(y,d){var u=y.length,s=new ArrayBuffer(u),l=new Uint8Array(s),c;for(c=0;c>2]|=d.charCodeAt(s)<<(s%4<<3);return this._finish(l,u),c=h(this._hash),y&&(c=U(c)),this.reset(),c},m.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},m.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},m.prototype.setState=function(y){return this._buff=y.buff,this._length=y.length,this._hash=y.hash,this},m.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},m.prototype._finish=function(y,d){var u=d,s,l,c;if(y[u>>2]|=128<<(u%4<<3),u>55)for(i(this._hash,y),u=0;u<16;u+=1)y[u]=0;s=this._length*8,s=s.toString(16).match(/(.*?)(.{0,8})$/),l=parseInt(s[2],16),c=parseInt(s[1],16)||0,y[14]=l,y[15]=c,i(this._hash,y)},m.hash=function(y,d){return m.hashBinary(g(y),d)},m.hashBinary=function(y,d){var u=p(y),s=h(u);return d?U(s):s},m.ArrayBuffer=function(){this.reset()},m.ArrayBuffer.prototype.append=function(y){var d=F(this._buff.buffer,y,!0),u=d.length,s;for(this._length+=y.byteLength,s=64;s<=u;s+=64)i(this._hash,f(d.subarray(s-64,s)));return this._buff=s-64>2]|=d[l]<<(l%4<<3);return this._finish(s,u),c=h(this._hash),y&&(c=U(c)),this.reset(),c},m.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},m.ArrayBuffer.prototype.getState=function(){var y=m.prototype.getState.call(this);return y.buff=C(y.buff),y},m.ArrayBuffer.prototype.setState=function(y){return y.buff=_(y.buff,!0),m.prototype.setState.call(this,y)},m.ArrayBuffer.prototype.destroy=m.prototype.destroy,m.ArrayBuffer.prototype._finish=m.prototype._finish,m.ArrayBuffer.hash=function(y,d){var u=v(new Uint8Array(y)),s=h(u);return d?U(s):s},m})})(he);var Ve=he.exports;const Ne=be(Ve);var N=function(){return N=Object.assign||function(r){for(var n,e=1,o=arguments.length;e0&&t[t.length-1])&&(a[0]===6||a[0]===2)){e=0;continue}if(a[0]===3&&(!t||a[1]>t[0]&&a[1]r.size)e=r.size;else for(;r.size>e*1e4;)e*=2;for(var o=[],i=Math.ceil(r.size/e),t=0;t3?n[1]:n[0];if(!e)throw new w(b.InvalidToken,"missing assess key field.");var o=null;try{o=JSON.parse($e(n[n.length-1]))}catch{throw new w(b.InvalidToken,"token parse failed.")}if(o==null)throw new w(b.InvalidToken,"putPolicy is null.");if(o.scope==null)throw new w(b.InvalidToken,"scope field is null.");var i=o.scope.split(":")[0];if(!i)throw new w(b.InvalidToken,"resolve bucketName failed.");return{assessKey:e,bucketName:i,scope:o.scope}}var I,E={z0:"z0",z1:"z1",z2:"z2",na0:"na0",as0:"as0",cnEast2:"cn-east-2"},st=(I={},I[E.z0]={srcUphost:["up.qiniup.com"],cdnUphost:["upload.qiniup.com"]},I[E.z1]={srcUphost:["up-z1.qiniup.com"],cdnUphost:["upload-z1.qiniup.com"]},I[E.z2]={srcUphost:["up-z2.qiniup.com"],cdnUphost:["upload-z2.qiniup.com"]},I[E.na0]={srcUphost:["up-na0.qiniup.com"],cdnUphost:["upload-na0.qiniup.com"]},I[E.as0]={srcUphost:["up-as0.qiniup.com"],cdnUphost:["upload-as0.qiniup.com"]},I[E.cnEast2]={srcUphost:["up-cn-east-2.qiniup.com"],cdnUphost:["upload-cn-east-2.qiniup.com"]},I),T=function(r){switch(typeof r){case"string":return r;case"boolean":return r?"true":"false";case"number":return isFinite(r)?r:"";default:return""}},ut=function(r,n,e,o){return n=n||"&",e=e||"=",r===null&&(r=void 0),typeof r=="object"?Object.keys(r).map(function(i){var t=encodeURIComponent(T(i))+e;return Array.isArray(r[i])?r[i].map(function(f){return t+encodeURIComponent(T(f))}).join(n):t+encodeURIComponent(T(r[i]))}).filter(Boolean).join(n):o?encodeURIComponent(T(o))+e+encodeURIComponent(T(r)):""},pe;pe=ut;var O=function(){return O=Object.assign||function(r){for(var n,e=1,o=arguments.length;e0&&t[t.length-1])&&(a[0]===6||a[0]===2)){e=0;continue}if(a[0]===3&&(!t||a[1]>t[0]&&a[1]0&&t[t.length-1])&&(a[0]===6||a[0]===2)){e=0;continue}if(a[0]===3&&(!t||a[1]>t[0]&&a[1]0)&&!(i=o.next()).done;)t.push(i.value)}catch(p){f={error:p}}finally{try{i&&!i.done&&(e=o.return)&&e.call(o)}finally{if(f)throw f.error}}return t},gt=function(){for(var r=[],n=0;n1e4*wt)return this.handleError(new w(b.InvalidFile,"file size exceed maximum value 10000G")),[2];if(this.putExtra.customVars&&!Ke(this.putExtra.customVars))return this.handleError(new w(b.InvalidCustomVars,"customVars key should start width x:")),[2];if(this.putExtra.metadata&&!We(this.putExtra.metadata))return this.handleError(new w(b.InvalidMetadata,"metadata key should start with x-qn-meta-")),[2];t.label=1;case 1:return t.trys.push([1,4,,5]),this.uploadAt=new Date().getTime(),[4,this.checkAndUpdateUploadHost()];case 2:return t.sent(),[4,this.run()];case 3:return n=t.sent(),this.onComplete(n.data),this.checkAndUnfreezeHost(),this.sendLog(n.reqId,200),[2];case 4:return e=t.sent(),this.aborted?(this.logger.warn("upload is aborted."),this.sendLog("",-2),[2]):(this.clear(),this.logger.error(e),e instanceof M&&(this.sendLog(e.reqId,e.code),this.checkAndFreezeHost(e),o=++this.retryCount<=this.config.retryCount,i=bt.includes(e.code),i&&o)?(this.logger.warn("error auto retry: "+this.retryCount+"/"+this.config.retryCount+"."),this.putFile(),[2]):(this.onError(e),[3,5]));case 5:return[2]}})})},r.prototype.clear=function(){this.xhrList.forEach(function(n){n.onreadystatechange=null,n.abort()}),this.xhrList=[],this.logger.info("cleanup uploading xhr.")},r.prototype.stop=function(){this.logger.info("aborted."),this.clear(),this.aborted=!0},r.prototype.addXhr=function(n){this.xhrList.push(n)},r.prototype.sendLog=function(n,e){var o,i;this.logger.report({code:e,reqId:n,remoteIp:"",upType:"jssdk-h5",size:this.file.size,time:Math.floor(this.uploadAt/1e3),port:ot((o=this.uploadHost)===null||o===void 0?void 0:o.getUrl()),host:at((i=this.uploadHost)===null||i===void 0?void 0:i.getUrl()),bytesSent:this.progress?this.progress.total.loaded:0,duration:Math.floor((new Date().getTime()-this.uploadAt)/1e3)})},r.prototype.getProgressInfoItem=function(n,e,o){return G({size:e,loaded:n,percent:n/e*100},o==null?{}:{fromCache:o})},r}(),_t=function(){var r=function(n,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,i){o.__proto__=i}||function(o,i){for(var t in i)i.hasOwnProperty(t)&&(o[t]=i[t])},r(n,e)};return function(n,e){r(n,e);function o(){this.constructor=n}n.prototype=e===null?Object.create(e):(o.prototype=e.prototype,new o)}}(),q=function(){return q=Object.assign||function(r){for(var n,e=1,o=arguments.length;e0&&t[t.length-1])&&(a[0]===6||a[0]===2)){e=0;continue}if(a[0]===3&&(!t||a[1]>t[0]&&a[1]1024)throw new w(b.InvalidChunkSize,"chunkSize maximum value is 1024");return[4,this.initBeforeUploadChunks()];case 1:v.sent(),e=new Pe(function(a){return H(p,void 0,void 0,function(){return D(this,function(h){switch(h.label){case 0:if(this.aborted)throw e.abort(),new Error("pool is aborted");return[4,this.uploadChunk(a)];case 1:return h.sent(),[2]}})})},this.config.concurrentRequestLimit),o=null,i=this.getLocalKey(),t=this.chunks.map(function(a,h){return e.enqueue({chunk:a,index:h})}),v.label=2;case 2:return v.trys.push([2,5,,6]),[4,Promise.all(t)];case 3:return v.sent(),[4,this.mkFileReq()];case 4:return o=v.sent(),[3,6];case 5:throw f=v.sent(),f instanceof M&&(f.code===612||f.code===400)&&Q(i,this.logger),f;case 6:return Q(i,this.logger),[2,o]}})})},n.prototype.uploadChunk=function(e){return H(this,void 0,void 0,function(){var o,i,t,f,p,v,a,h,g,_=this;return D(this,function(C){switch(C.label){case 0:return o=e.index,i=e.chunk,t=this.cachedUploadedList[o],this.logger.info("upload part "+o+", cache:",t),f=this.config.checkByMD5,p=function(){_.usedCacheList[o]=!0,_.updateChunkProgress(i.size,o),_.uploadedList[o]=t,_.updateLocalCache()},t&&!f?(p(),[2]):[4,rt(i)];case 1:return v=C.sent(),this.logger.info("computed part md5.",v),t&&v===t.md5?(p(),[2]):(this.usedCacheList[o]=!1,a=function(F){_.updateChunkProgress(F.loaded,o)},h={body:i,md5:this.config.checkByServer?v:void 0,onProgress:a,onCreate:function(F){return _.addXhr(F)}},this.logger.info("part "+o+" start uploading."),[4,dt(this.token,this.key,e.index+1,this.getUploadInfo(),h)]);case 2:return g=C.sent(),this.logger.info("part "+o+" upload completed."),a({loaded:i.size,total:i.size}),this.uploadedList[o]={etag:g.data.etag,md5:g.data.md5,size:i.size},this.updateLocalCache(),[2]}})})},n.prototype.mkFileReq=function(){return H(this,void 0,void 0,function(){var e,o,i=this;return D(this,function(t){switch(t.label){case 0:return e=q(q(q({parts:this.uploadedList.map(function(f,p){return{etag:f.etag,partNumber:p+1}}),fname:this.putExtra.fname},this.putExtra.mimeType&&{mimeType:this.putExtra.mimeType}),this.putExtra.customVars&&{customVars:this.putExtra.customVars}),this.putExtra.metadata&&{metadata:this.putExtra.metadata}),this.logger.info("parts upload completed, make file.",e),[4,pt(this.token,this.key,this.getUploadInfo(),{onCreate:function(f){return i.addXhr(f)},body:JSON.stringify(e)})];case 1:return o=t.sent(),this.logger.info("finish Resume Progress."),this.updateMkFileProgress(1),[2,o]}})})},n.prototype.initBeforeUploadChunks=function(){return H(this,void 0,void 0,function(){var e,o,i;return D(this,function(t){switch(t.label){case 0:return this.uploadedList=[],this.usedCacheList=[],e=et(this.getLocalKey(),this.logger),e?[3,2]:(this.logger.info("init upload parts from api."),[4,ht(this.token,this.bucketName,this.key,this.uploadHost.getUrl())]);case 1:return o=t.sent(),this.logger.info("initd upload parts of id: "+o.data.uploadId+"."),this.uploadId=o.data.uploadId,this.cachedUploadedList=[],[3,3];case 2:i=["resume upload parts from local cache,","total "+e.data.length+" part,","id is "+e.id+"."],this.logger.info(i.join(" ")),this.cachedUploadedList=e.data,this.uploadId=e.id,t.label=3;case 3:return this.chunks=Je(this.file,this.config.chunkSize),this.loaded={mkFileProgress:0,chunks:this.chunks.map(function(f){return 0})},this.notifyResumeProgress(),[2]}})})},n.prototype.getUploadInfo=function(){return{id:this.uploadId,url:this.uploadHost.getUrl()}},n.prototype.getLocalKey=function(){return Qe(this.file.name,this.key,this.file.size)},n.prototype.updateLocalCache=function(){Ye(this.getLocalKey(),{id:this.uploadId,data:this.uploadedList},this.logger)},n.prototype.updateChunkProgress=function(e,o){this.loaded.chunks[o]=e,this.notifyResumeProgress()},n.prototype.updateMkFileProgress=function(e){this.loaded.mkFileProgress=e,this.notifyResumeProgress()},n.prototype.notifyResumeProgress=function(){var e=this;this.progress={total:this.getProgressInfoItem(Ze(this.loaded.chunks)+this.loaded.mkFileProgress,this.file.size+1),chunks:this.chunks.map(function(o,i){var t=e.usedCacheList[i];return e.getProgressInfoItem(e.loaded.chunks[i],o.size,t)}),uploadInfo:{id:this.uploadId,url:this.uploadHost.getUrl()}},this.onData(this.progress)},n}(ge),ie=function(r,n,e,o){function i(t){return t instanceof e?t:new e(function(f){f(t)})}return new(e||(e=Promise))(function(t,f){function p(h){try{a(o.next(h))}catch(g){f(g)}}function v(h){try{a(o.throw(h))}catch(g){f(g)}}function a(h){h.done?t(h.value):i(h.value).then(p,v)}a((o=o.apply(r,n||[])).next())})},oe=function(r,n){var e={label:0,sent:function(){if(t[0]&1)throw t[1];return t[1]},trys:[],ops:[]},o,i,t,f;return f={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function p(a){return function(h){return v([a,h])}}function v(a){if(o)throw new TypeError("Generator is already executing.");for(;e;)try{if(o=1,i&&(t=a[0]&2?i.return:a[0]?i.throw||((t=i.return)&&t.call(i),0):i.next)&&!(t=t.call(i,a[1])).done)return t;switch(i=0,t&&(a=[a[0]&2,t.value]),a[0]){case 0:case 1:t=a;break;case 4:return e.label++,{value:a[1],done:!1};case 5:e.label++,i=a[1],a=[0];continue;case 7:a=e.ops.pop(),e.trys.pop();continue;default:if(t=e.trys,!(t=t.length>0&&t[t.length-1])&&(a[0]===6||a[0]===2)){e=0;continue}if(a[0]===3&&(!t||a[1]>t[0]&&a[1]>>1^3988292384:o>>>=1;n[e]=o}return n},r.prototype.append=function(n){for(var e=this.crc,o=0;o>>8^this.table[(e^n[o])&255];this.crc=e},r.prototype.compute=function(){return(this.crc^-1)>>>0},r.prototype.readAsUint8Array=function(n){return ie(this,void 0,void 0,function(){var e;return oe(this,function(o){switch(o.label){case 0:return typeof n.arrayBuffer!="function"?[3,2]:(e=Uint8Array.bind,[4,n.arrayBuffer()]);case 1:return[2,new(e.apply(Uint8Array,[void 0,o.sent()]))];case 2:return[2,new Promise(function(i,t){var f=new FileReader;f.onload=function(){if(f.result==null){t();return}if(typeof f.result=="string"){t();return}i(new Uint8Array(f.result))},f.readAsArrayBuffer(n)})]}})})},r.prototype.file=function(n){return ie(this,void 0,void 0,function(){var e,o,i,t,f,p;return oe(this,function(v){switch(v.label){case 0:return n.size<=R?(e=this.append,[4,this.readAsUint8Array(n)]):[3,2];case 1:return e.apply(this,[v.sent()]),[2,this.compute()];case 2:o=Math.ceil(n.size/R),i=0,v.label=3;case 3:return i0&&t[t.length-1])&&(a[0]===6||a[0]===2)){e=0;continue}if(a[0]===3&&(!t||a[1]>t[0]&&a[1]0&&me(r,n,e-1)};var i=[n.code||"",n.reqId||"",n.host||"",n.remoteIp||"",n.port||"",n.duration||"",n.time||"",n.bytesSent||"",n.upType||"",n.size||""].join(",");o.send(i)}var Ft=function(r,n){var e=typeof Symbol=="function"&&r[Symbol.iterator];if(!e)return r;var o=e.call(r),i,t=[],f;try{for(;(n===void 0||n-- >0)&&!(i=o.next()).done;)t.push(i.value)}catch(p){f={error:p}}finally{try{i&&!i.done&&(e=o.return)&&e.call(o)}finally{if(f)throw f.error}}return t},K=function(){for(var r=[],n=0;n0&&t[t.length-1])&&(a[0]===6||a[0]===2)){e=0;continue}if(a[0]===3&&(!t||a[1]>t[0]&&a[1]0)&&!(i=o.next()).done;)t.push(i.value)}catch(p){f={error:p}}finally{try{i&&!i.done&&(e=o.return)&&e.call(o)}finally{if(f)throw f.error}}return t},zt=function(){for(var r=[],n=0;n=n},r.prototype.freeze=function(n){n===void 0&&(n=20);var e=new Date().getTime()+n*1e3;V.set(this.host,e)},r.prototype.unfreeze=function(){V.delete(this.host)},r.prototype.getUrl=function(){return this.protocol+"://"+this.host},r.prototype.getUnfreezeTime=function(){return V.get(this.host)},r}(),Rt=function(){function r(n){n===void 0&&(n=[]),this.initHosts=n,this.cachedHostsMap=new Map}return r.prototype.register=function(n,e,o,i){this.cachedHostsMap.set(n+"@"+e,o.map(function(t){return new Et(t,i)}))},r.prototype.refresh=function(n,e,o){var i,t,f,p;return se(this,void 0,void 0,function(){var v,a,h;return ue(this,function(g){switch(g.label){case 0:return v=this.cachedHostsMap.get(n+"@"+e)||[],v.length>0?[2]:this.initHosts.length>0?(this.register(n,e,this.initHosts,o),[2]):[4,ft(n,e,o)];case 1:return a=g.sent(),a?.data!=null&&(h=zt(((t=(i=a.data.up)===null||i===void 0?void 0:i.acc)===null||t===void 0?void 0:t.main)||[],((p=(f=a.data.up)===null||f===void 0?void 0:f.acc)===null||p===void 0?void 0:p.backup)||[]),this.register(n,e,h,o)),[2]}})})},r.prototype.getUp=function(n,e,o){return se(this,void 0,void 0,function(){var i,t,f;return ue(this,function(p){switch(p.label){case 0:return[4,this.refresh(n,e,o)];case 1:return p.sent(),i=this.cachedHostsMap.get(n+"@"+e)||[],i.length===0?[2,null]:(t=i.filter(function(v){return!v.isFrozen()}),t.length>0?[2,t[0]]:(f=i.slice().sort(function(v,a){return(v.getUnfreezeTime()||0)-(a.getUnfreezeTime()||0)}),[2,f[0]]))}})})},r}();function Pt(r,n,e,o){return r.config&&r.config.forceDirect?(o.info("ues forceDirect mode."),new ae(r,n,e,o)):r.file.size>4*R?(o.info("file size over 4M, use Resume."),new Ct(r,n,e,o)):(o.info("file size less or equal than 4M, use Direct."),new ae(r,n,e,o))}function Lt(r,n,e,o,i){var t=new Ut(e,i?.disableStatisticsReport,i?.debugLogLevel,r.name),f={file:r,key:n,token:e,putExtra:o,config:Dt(i,t)},p=new Rt(f.config.uphost);return new De(function(v){var a=Pt(f,{onData:function(h){return v.next(h)},onError:function(h){return v.error(h)},onComplete:function(h){return v.complete(h)}},p,t);return a.putFile(),a.stop.bind(a)})}var P=function(){return P=Object.assign||function(r){for(var n,e=1,o=arguments.length;e0)&&!(i=o.next()).done;)t.push(i.value)}catch(p){f={error:p}}finally{try{i&&!i.done&&(e=o.return)&&e.call(o)}finally{if(f)throw f.error}}return t},Z=function(){for(var r=[],n=0;n`上传文件到${xe(p.value)?"根":p.value.substring(0,p.value.length-1)}目录`),C=s=>{p.value=s,f.value=!0,t.value=!0,Ee.netDiskManage.netDiskManageToken().then(l=>{v.value=l.token,t.value=!1}).catch(()=>{f.value=!1})},F=()=>{a.value.length>0&&a.value.length!==h.value.length?ke.confirm({title:"关闭会取消未上传的文件,确认关闭吗?",icon:$(Ae),onOk:U}):U()},U=()=>{f.value=!1,t.value=!1,p.value="",v.value="",g.value=[],u()},m=s=>{const{file:l,onProgress:c,onError:x,onSuccess:S}=s,L=Lt(l,`${p.value}${l.name}`,v.value).subscribe({next:z=>{c?.({percent:z.total.percent})},error:z=>{x?.(z),y(z,l)},complete:z=>{h.value.push(L),S?.(z),d(l)}});a.value.push(L)},y=(s,l)=>{const c=g.value.find(x=>x.originFileObj===l);c&&(c.status="error"),te.error({message:"上传进度提醒",description:`上传${l?.name}文件失败!错误信息:${s.code===614?"上传文件已存在":s.message}`,duration:0})},d=s=>{const l=g.value.find(c=>c.originFileObj===s);l&&(l.status="success"),te.success({message:`上传${l?.name}成功`})},u=async()=>{if(a.value.length<=0)return;const s=a.value,l=h.value;if(a.value=[],h.value=[],s.length!==l.length)for(let c=0;c(Ce(),Se("div",Bt,[$(W(ze),{title:_.value,width:400,visible:f.value,"mask-closable":!1,onClose:F},{default:J(()=>[$(W(Ue),{spinning:t.value,class:"upload-inner-box"},{default:J(()=>[$(W(Oe).Dragger,{ref_key:"uploadRef",ref:i,"file-list":g.value,"onUpdate:fileList":l[0]||(l[0]=c=>g.value=c),class:"upload",drag:"",action:"noaction",multiple:!0,"custom-request":m},{default:J(()=>[qt,Mt]),_:1},8,["file-list"])]),_:1},8,["spinning"])]),_:1},8,["title","visible"])]))}});export{Vt as _}; diff --git a/assets/hero-Ph5bBoEr.js b/assets/hero-Ph5bBoEr.js new file mode 100644 index 000000000..8292f0231 --- /dev/null +++ b/assets/hero-Ph5bBoEr.js @@ -0,0 +1 @@ +import{v as o}from"./index-zjj_i2Xu.js";function r(e){return o("/demo/wzry/hero_list",{method:"get",params:e})}function n(e){return o("/demo/lol/hero_list",{method:"get",params:e})}function s({id:e}){return o(`/demo/lol/hero_info/${e}`,{method:"get"})}export{n as a,r as b,s as g}; diff --git a/assets/heroInfo-i73j_Vtj.js b/assets/heroInfo-i73j_Vtj.js new file mode 100644 index 000000000..dd978f4a8 --- /dev/null +++ b/assets/heroInfo-i73j_Vtj.js @@ -0,0 +1 @@ +import{b as y,_ as w}from"./index-zjj_i2Xu.js";import{_ as m}from"./Icon.vue_vue_type_script_setup_true_lang-L3JttlNa.js";import{g as x}from"./hero-Ph5bBoEr.js";import{u as I}from"./tabsView-FTMw9DEO.js";import{d as A,r as g,o as $,I as o,J as B,K as s,k as a,R as n,B as h,Q as r,U as c,F as l,S as V,a7 as v,bm as C,bn as L,b8 as S,bo as z}from"./vendor-PZoYaLWz.js";const N={class:"custom-slick-arrow",style:{"z-index":"1",left:"10px"}},T={class:"custom-slick-arrow",style:{right:"10px"}},q=["src"],F=["href"],H=["src"],R=["src"],D={key:0,class:"grid gap-[10px]"},E=["src"],J=A({name:"LoLHeroInfo",__name:"heroInfo",setup(K){const i=y(),b=I(),e=g({}),d=g(!0);return $(async()=>{const u=await x({id:i.params.id});d.value=!1,e.value=u,b.updateTabTitle(`${i.meta.title}(${e.value.title})`)}),(u,M)=>{const _=C,k=L,f=S,p=z;return o(),B(f,{bordered:!1,loading:d.value},{default:s(()=>[a(p,{style:{width:"25%"},hoverable:!1,bordered:!1},{default:s(()=>[a(f,{class:"posters",bordered:!1,"body-style":{padding:"24px"}},{cover:s(()=>[a(_,{arrows:"",dots:!1},{prevArrow:s(()=>[n("div",N,[a(h(m),{icon:"ant-design:left-circle-outlined",size:"28"})])]),nextArrow:s(()=>[n("div",T,[a(h(m),{icon:"ant-design:right-circle-outlined",size:"28"})])]),default:s(()=>[(o(!0),r(l,null,c(e.value.posters,t=>(o(),r("img",{key:t,src:t,alt:""},null,8,q))),128))]),_:1})]),default:s(()=>[a(k,{title:`${e.value.name} ${e.value.title}`},{description:s(()=>[n("a",{href:`https://101.qq.com/#/hero-detail?heroid=${e.value.heroId}&datatype=5v5`,target:"_blank"}," 详细资料 ",8,F)]),_:1},8,["title"])]),_:1})]),_:1}),a(p,{class:"skins",style:{width:"75%"},hoverable:!1,bordered:!1},{default:s(()=>[a(_,{arrows:"",effect:"fade","dots-class":"slick-dots slick-thumb"},{customPaging:s(t=>[n("a",null,[n("img",{src:e.value.skins[t.i]},null,8,H)])]),default:s(()=>[(o(!0),r(l,null,c(e.value.skins,t=>(o(),r("div",{key:t},[n("img",{src:t},null,8,R)]))),128))]),_:1}),e.value.banAudio||e.value.selectAudio?(o(),r("figure",D,[n("figcaption",null,V(e.value.title)+"有话说:",1),(o(!0),r(l,null,c([e.value.banAudio,e.value.selectAudio],t=>(o(),r(l,{key:t},[t?(o(),r("audio",{key:0,controls:"",src:t},null,8,E)):v("",!0)],64))),128))])):v("",!0)]),_:1})]),_:1},8,["loading"])}}}),O=w(J,[["__scopeId","data-v-d755a854"]]);export{O as default}; diff --git a/assets/heroInfo-zp_7FV9w.css b/assets/heroInfo-zp_7FV9w.css new file mode 100644 index 000000000..61bb359e8 --- /dev/null +++ b/assets/heroInfo-zp_7FV9w.css @@ -0,0 +1 @@ +.skins[data-v-d755a854] .ant-carousel .slick-dots{position:relative;height:auto}.skins[data-v-d755a854] .ant-carousel .slick-slide img{display:block;max-width:80%;margin:auto;border:5px solid #fff}.skins[data-v-d755a854] .ant-carousel .slick-arrow{display:none!important}.skins[data-v-d755a854] .ant-carousel .slick-thumb{bottom:0}.skins[data-v-d755a854] .ant-carousel .slick-thumb li{width:60px;height:45px}.skins[data-v-d755a854] .ant-carousel .slick-thumb li img{display:block;width:100%;height:100%;filter:grayscale(100%)}.skins[data-v-d755a854] .ant-carousel .slick-thumb li.slick-active img{filter:grayscale(0%)}.posters[data-v-d755a854] .ant-carousel .slick-arrow.custom-slick-arrow{z-index:1;width:25px;height:25px;transition:ease all .3s;opacity:.3;background-color:#1f2d3d1c;color:#fff;font-size:25px}.posters[data-v-d755a854] .ant-carousel .slick-arrow.custom-slick-arrow:before{display:none}.posters[data-v-d755a854] .ant-carousel .slick-arrow.custom-slick-arrow:hover{opacity:.5;color:#fff} diff --git a/assets/index--KWdWa89.js b/assets/index--KWdWa89.js new file mode 100644 index 000000000..18d69c8fc --- /dev/null +++ b/assets/index--KWdWa89.js @@ -0,0 +1 @@ +import{u as m}from"./dynamic-table-0dDQM8_O.js";import{A as l}from"./index-zjj_i2Xu.js";import"./ApiSelect.vue_vue_type_script_setup_true_lang-w2BFpwRk.js";import{d as p,I as f,J as h,B as r,k as o,_ as T,aV as n,bp as x}from"./vendor-PZoYaLWz.js";import{f as _}from"./dateUtil-15Jj70TU.js";import"./schema-form.vue_vue_type_script_setup_true_lang-iMSwIqZ0.js";import"./index-XMdBM6P7.js";import"./index-FiLqFnhx.js";import"./Icon.vue_vue_type_script_setup_true_lang-L3JttlNa.js";function I(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!x(e)}const j=p({name:"SystemScheduleTaskLog",__name:"index",setup(e){const[d]=m(),i=t=>{switch(t){case 0:return"red";case 1:return"green"}},c=t=>{switch(t){case 0:return"失败";case 1:return"成功"}},u=[{title:"ID",dataIndex:"id",width:80,hideInSearch:!0},{title:"任务编号",dataIndex:["task","id"],width:80},{title:"任务名称",dataIndex:["task","name"],width:140},{title:"异常信息",dataIndex:"detail",customRender:({record:t})=>t.detail??"无"},{title:"耗时",dataIndex:"consumeTime",width:80,customRender:({record:t})=>o(n,null,{default:()=>[t.consumeTime,T("ms")]})},{title:"状态",dataIndex:"status",width:100,customRender:({record:t})=>{let a;const s=~~t.status;return o(n,{color:i(s)},I(a=c(s))?a:{default:()=>[a]})}},{title:"执行时间",dataIndex:"createdAt",width:165,customRender:({record:t})=>_(t.createdAt)}];return(t,a)=>(f(),h(r(d),{"header-title":"任务日志","data-request":r(l).systemLog.logTaskList,search:!1,columns:u,size:"middle"},null,8,["data-request"]))}});export{j as default}; diff --git a/assets/index-0pSooDdm.js b/assets/index-0pSooDdm.js new file mode 100644 index 000000000..36e12349a --- /dev/null +++ b/assets/index-0pSooDdm.js @@ -0,0 +1 @@ +import{d as v,n as b,I as y,Q as w,k as a,K as o,B as p,R as c,_ as x,ak as C,aQ as S,b5 as k,a3 as z,b6 as B,X as U,Y as A,ad as N,ab as O,b7 as R,a0 as i,a1 as V}from"./vendor-PZoYaLWz.js";import{_ as M}from"./logo-b1EwzE33.js";import{b as Q,c as T,f as q,A as E,o as F,_ as K}from"./index-zjj_i2Xu.js";const L=d=>(U("data-v-86b635f3"),d=d(),A(),d),X={class:"login-box"},Y=L(()=>c("div",{class:"login-logo"},[c("img",{src:M,width:"45"}),c("h1",{class:"mb-0 ml-2 text-3xl font-bold"},"Antd Admin")],-1)),j=["src"],D=v({__name:"index",setup(d){const e=b({loading:!1,captcha:"",formInline:{username:"admin",password:"a123456",verifyCode:"",captchaId:""}}),m=Q(),f=T(),_=q(),u=async()=>{const n=await E.captcha.captchaCaptchaByImg({width:100,height:50});e.captcha=n.img,e.formInline.captchaId=n.id};u();const g=async()=>{const{username:n,password:t,verifyCode:r}=e.formInline;if(n.trim()==""||t.trim()=="")return i.warning("用户名或密码不能为空!");if(!r)return i.warning("请输入验证码!");i.loading("登录中...",0),e.loading=!0,e.formInline;const[s]=await F(_.login(e.formInline));s?(V.error({title:()=>"提示",content:()=>s.message}),u()):(i.success("登录成功!"),setTimeout(()=>f.replace(m.query.redirect??"/"))),e.loading=!1,i.destroy()};return(n,t)=>{const r=S,s=k,h=z("a-button"),I=B;return y(),w("div",X,[Y,a(I,{layout:"horizontal",model:e.formInline,onSubmit:C(g,["prevent"])},{default:o(()=>[a(s,null,{default:o(()=>[a(r,{value:e.formInline.username,"onUpdate:value":t[0]||(t[0]=l=>e.formInline.username=l),size:"large",placeholder:"rootadmin"},{prefix:o(()=>[a(p(N),{type:"user"})]),_:1},8,["value"])]),_:1}),a(s,null,{default:o(()=>[a(r,{value:e.formInline.password,"onUpdate:value":t[1]||(t[1]=l=>e.formInline.password=l),size:"large",type:"password",placeholder:"a123456",autocomplete:"new-password"},{prefix:o(()=>[a(p(O),{type:"user"})]),_:1},8,["value"])]),_:1}),a(s,null,{default:o(()=>[a(r,{value:e.formInline.verifyCode,"onUpdate:value":t[2]||(t[2]=l=>e.formInline.verifyCode=l),placeholder:"验证码",maxlength:4,size:"large"},{prefix:o(()=>[a(p(R))]),suffix:o(()=>[c("img",{src:e.captcha,class:"absolute right-0 h-full cursor-pointer",onClick:u},null,8,j)]),_:1},8,["value"])]),_:1}),a(s,null,{default:o(()=>[a(h,{type:"primary","html-type":"submit",size:"large",loading:e.loading,block:""},{default:o(()=>[x(" 登录 ")]),_:1},8,["loading"])]),_:1})]),_:1},8,["model"])])}}}),P=K(D,[["__scopeId","data-v-86b635f3"]]);export{P as default}; diff --git a/assets/index-3-6D8FcC.css b/assets/index-3-6D8FcC.css new file mode 100644 index 000000000..807b81cff --- /dev/null +++ b/assets/index-3-6D8FcC.css @@ -0,0 +1 @@ +.draggable-modal.fullscreen .ant-modal{inset:0!important;width:100%!important;max-width:100vw!important;height:100%!important}.draggable-modal.fullscreen .ant-modal-content{width:100%!important;height:100%!important}.draggable-modal .ant-modal{position:fixed;min-width:200px;min-height:200px;padding:0}.draggable-modal .ant-modal .ant-modal-header{user-select:none}.draggable-modal .ant-modal .ant-modal-close{top:6px;right:30px;background-color:transparent;cursor:inherit}.draggable-modal .ant-modal .ant-modal-close:hover,.draggable-modal .ant-modal .ant-modal-close:focus{color:#00000073}.draggable-modal .ant-modal .ant-modal-close .ant-space-item:hover .anticon,.draggable-modal .ant-modal .ant-modal-close .ant-space-item:focus .anticon{color:#000000bf;text-decoration:none}.draggable-modal .ant-modal .ant-modal-close .ant-modal-close-x{width:50px;height:50px;line-height:44px}.draggable-modal .ant-modal .ant-modal-close .ant-modal-close-x .ant-space{width:100%;height:100%}.draggable-modal .ant-modal .ant-modal-content{display:flex;flex-direction:column;width:100%;min-width:200px;height:100%;min-height:200px;overflow:hidden}.draggable-modal .ant-modal .ant-modal-content .ant-modal-body{flex:auto;height:100%;overflow:auto} diff --git a/assets/index-8aiSs1D1.css b/assets/index-8aiSs1D1.css new file mode 100644 index 000000000..9ef0c866c --- /dev/null +++ b/assets/index-8aiSs1D1.css @@ -0,0 +1 @@ +.btn-rows button[data-v-0391eb46]{margin-right:12px} diff --git a/assets/index-A0KlD18X.js b/assets/index-A0KlD18X.js new file mode 100644 index 000000000..7b6b76b62 --- /dev/null +++ b/assets/index-A0KlD18X.js @@ -0,0 +1 @@ +import{W as N,X as S,Y as O,z as M,_ as D,A as b,Z as E}from"./index-zjj_i2Xu.js";import{i as z,_ as k}from"./Icon.vue_vue_type_script_setup_true_lang-L3JttlNa.js";import{f as B}from"./dateUtil-15Jj70TU.js";import{d as j,cs as G,bg as K,r as w,b as L,I as _,J as P,K as u,k as l,Q as R,F as U,U as Q,B as c,ah as W,M as H,as as J,ct as X,aF as Y,aQ as Z,c4 as ee,bi as te,aV as y,bp as ne,_ as h,h as T,R as oe,a3 as ae}from"./vendor-PZoYaLWz.js";import{u as se}from"./index-FiLqFnhx.js";import{f as le,s as A}from"./common-fvKDkUSQ.js";import{u as ie}from"./dynamic-table-0dDQM8_O.js";import"./ApiSelect.vue_vue_type_script_setup_true_lang-w2BFpwRk.js";import"./index.vue_vue_type_style_index_0_lang-35qbmpIP.js";import{u as re}from"./useFormModal-Z6rDe6Nh.js";import"./schema-form.vue_vue_type_script_setup_true_lang-iMSwIqZ0.js";import"./index-XMdBM6P7.js";import"./useModal-L2aP7aoQ.js";const pe=["title","onClick"],ue=j({inheritAttrs:!1,__name:"IconPicker",props:G(z,{value:{},valueModifiers:{}}),emits:["update:value"],setup(e){N();const s=K(e,"value"),n=Object.entries(S).reduce((t,[r,v])=>(t[r]=Object.keys(v.icons).map(x=>({name:`${v.prefix}:${x}`})),t),{全部:Object.values(S).flatMap(t=>Object.keys(t.icons).map(r=>({name:`${t.prefix}:${r}`})))}),i=w(!1),o=w("全部"),m=w(""),I=L(()=>n[o.value].filter(r=>r.name.includes(m.value))),a=se(t=>{m.value=t.target.value},100),f=t=>{s.value=t,i.value=!1};return(t,r)=>{const v=X,x=Y,C=Z,q=ee,F=te;return _(),P(F,null,{default:u(()=>[l(q,{open:i.value,"onUpdate:open":r[2]||(r[2]=p=>i.value=p),placement:"bottomLeft","overlay-inner-style":{paddingTop:0},trigger:"click"},{title:u(()=>[l(x,{activeKey:o.value,"onUpdate:activeKey":r[0]||(r[0]=p=>o.value=p),size:"small","tab-bar-style":{marginBottom:"8px"}},{default:u(()=>[(_(!0),R(U,null,Q(c(n),(p,g)=>(_(),P(v,{key:g,tab:g},null,8,["tab"]))),128))]),_:1},8,["activeKey"]),l(C,{autofocus:"","allow-clear":"",placeholder:`从“${o.value}”中搜索图标`,onChange:c(a)},null,8,["placeholder","onChange"])]),content:u(()=>[l(c(O),{class:"select-box",items:I.value,"key-field":"name","item-size":38,"grid-items":9,"item-secondary-size":38},{default:u(({item:p})=>[(_(),R("div",{key:p.name,title:p.name,class:W([{active:s.value==p.name},"select-box-item"]),onClick:g=>f(p.name)},[l(c(M),{icon:p.name,class:"text-[20px]"},null,8,["icon"])],10,pe))]),_:1},8,["items"])]),default:u(()=>[l(C,H(t.$attrs,{value:s.value,"onUpdate:value":r[1]||(r[1]=p=>s.value=p),placeholder:t.placeholder,"allow-clear":""}),J({_:2},[s.value?{name:"prefix",fn:u(()=>[l(c(M),{icon:s.value,class:"text-[20px]"},null,8,["icon"])]),key:"0"}:void 0]),1040,["value","placeholder"])]),_:1},8,["open"])]),_:1})}}}),ce=D(ue,[["__scopeId","data-v-04ffd2b1"]]);function V(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!ne(e)}const de=e=>{switch(e){case 0:return l(y,{color:"warning"},{default:()=>[h("目录")]});case 1:return l(y,{color:"success"},{default:()=>[h("菜单")]});case 2:return l(y,{color:"error"},{default:()=>[h("权限")]});default:return""}},me=[{title:"名称",dataIndex:"name",align:"left",fixed:"left",width:200},{title:"图标",width:40,dataIndex:"icon",hideInSearch:!0,customRender:({record:e})=>e.icon&&l(k,{icon:e.icon,size:"22"},null)},{title:"类型",width:80,dataIndex:"type",hideInSearch:!0,customRender:({record:e})=>de(e.type)},{title:"节点路由",dataIndex:"path",width:180,ellipsis:!0},{title:"文件路径",width:180,dataIndex:"component"},{title:"权限标识",width:180,dataIndex:"permission",customRender:({record:e})=>e.permission&&l(y,{color:"processing"},{default:()=>[e.permission]})},{title:"排序",width:50,dataIndex:"orderNo",hideInSearch:!0},{title:"路由缓存",dataIndex:"keepalive",width:80,hideInSearch:!0,customRender:({record:e})=>e.type===1&&(e.keepAlive?"是":"否")},{title:"是否显示",dataIndex:"show",width:80,customRender:({record:e})=>{const n=~~e.show===1,i=n?"green":"red",o=n?"显示":"隐藏";return l(y,{color:i},V(o)?o:{default:()=>[o]})}},{title:"状态",dataIndex:"status",width:80,customRender:({record:e})=>{const n=~~e.status===1,i=n?"green":"red",o=n?"启用":"停用";return l(y,{color:i},V(o)?o:{default:()=>[o]})}},{title:"更新时间",width:180,dataIndex:"updatedAt",hideInSearch:!0,customRender({text:e}){return B(e)}}],fe=e=>e===0,$=e=>e===1,d=e=>e===2,be=()=>[{field:"type",component:"RadioGroup",label:"菜单类型",defaultValue:0,rules:[{required:!0,type:"number"}],componentProps:{options:[{label:"目录",value:0},{label:"菜单",value:1},{label:"权限",value:2}]}},{field:"name",component:"Input",label:({formModel:e})=>d(e.type)?"权限名称":"节点名称",rules:[{required:!0,type:"string"}]},{field:"parentId",component:"TreeSelect",label:"上级节点",componentProps:{fieldNames:{label:"name",value:"id"},request:async({schema:e,formModel:s})=>{const n=await b.systemMenu.menuList({}),i=[-1].concat(le(n,s.parentId)||[]);return e.componentProps.treeDefaultExpandedKeys=i,[{id:-1,name:"一级菜单",children:n}]},getPopupContainer:()=>document.body},rules:[{required:!0,type:"number"}]},{field:"path",component:"Input",label:"路由地址",vIf:({formModel:e})=>!d(e.type),rules:[{required:!0,type:"string"}]},{field:"permission",component:"Input",label:"权限",helpMessage:"对应控制器中定义的权限字符,如:@Perm('system:menu:list'))",vIf:({formModel:e})=>!fe(e.type),required:({formModel:e})=>d(e.type),afterSlot:({schema:e,formInstance:s,formModel:n})=>e.component==="Input"?T(k,{icon:"ant-design:folder-open-outlined",title:"选择权限",class:"ml-[12px] cursor-pointer",onclick:async()=>{const i=await b.systemMenu.menuGetPermissions();typeof n.permission=="string"&&(n.permission=n.permission.split(":")),s.updateSchema({field:"permission",component:"Cascader",componentProps:{displayRender:({labels:o})=>o.join(":"),options:i.reduce((o,m)=>(A(m,o,":"),o),[])}})}}):T(k,{icon:"ant-design:edit-outlined",title:"手动输入",class:"ml-[12px] cursor-pointer",onclick:()=>{Array.isArray(n.permission)&&(n.permission=n.permission.join(":")),s.updateSchema({field:"permission",component:"Input"})}})},{field:"component",component:"Cascader",label:"文件路径",vIf:({formModel:e})=>$(e.type)&&!e.isExt,componentProps:{options:Object.keys(E).reduce((e,s)=>(A(s,e,"/"),e),[])},rules:[{required:!0,type:"array"}]},{field:"icon",component:()=>ce,label:"节点图标",vIf:({formModel:e})=>!d(e.type)},{field:"orderNo",component:"InputNumber",label:"排序号",defaultValue:255,componentProps:{style:{width:"100%"}}},{field:"isExt",component:"RadioGroup",label:"是否外链",defaultValue:!1,helpMessage:"选择是外链则路由地址需要以`http(s)://`开头",colProps:{span:12},componentProps:{optionType:"button",buttonStyle:"solid",options:[{label:"是",value:!0},{label:"否",value:!1}]},vIf:({formModel:e})=>!d(e.type)},{field:"extOpenMode",component:"RadioGroup",label:"打开方式",defaultValue:1,vIf:({formModel:e})=>!d(e.type)&&e.isExt,colProps:{span:12},componentProps:{optionType:"button",buttonStyle:"solid",options:[{label:"新窗口打开",value:1},{label:"内嵌页打开",value:2}]}},{field:"keepAlive",component:"RadioGroup",label:"是否缓存",defaultValue:0,vIf:({formModel:e})=>$(e.type),colProps:{span:12},componentProps:{optionType:"button",buttonStyle:"solid",options:[{label:"是",value:1},{label:"否",value:0}]}},{field:"show",component:"RadioGroup",label:"是否显示",defaultValue:1,colProps:{span:12},helpMessage:"会生成路由,但左侧菜单不可见",componentProps:{optionType:"button",buttonStyle:"solid",options:[{label:"是",value:1},{label:"否",value:0}]},vIf:({formModel:e})=>!d(e.type)},{field:"activeMenu",component:"Input",label:"高亮菜单项",colProps:{span:12},helpMessage:"值为某个的节点名称(可设置当前路由高亮的菜单项,多用于详情页)",componentProps:{placeholder:"需要高亮的菜单项(节点名称)"},vIf:({formModel:e})=>!e.show&&!d(e.type)},{field:"status",label:"状态",component:"RadioGroup",defaultValue:1,helpMessage:"不会生成路由,同时左侧菜单不可见",componentProps:{optionType:"button",buttonStyle:"solid",options:[{label:"启用",value:1},{label:"禁用",value:0}]}}],ye={class:"flex gap-2 ml-2"},Te=j({name:"SysMenu",__name:"index",setup(e){const[s,n]=ie({pagination:!1,size:"small",rowKey:"id",bordered:!0,scroll:{x:2e3}}),[i]=re(),o=async a=>{const[f]=await i({modalProps:{title:`${a.id?"编辑":"新增"}菜单`,width:700,onFinish:async t=>{a.id&&(t.menuId=a.id),Array.isArray(t.component)&&(t.component=t.component.join("/")),Array.isArray(t.permission)&&(t.permission=t.permission.join(":")),t.parentId===-1&&Reflect.deleteProperty(t,"parentId"),a.id?await b.systemMenu.menuUpdate({id:a.id},t):await b.systemMenu.menuCreate(t),n.reload()}},formProps:{labelWidth:100,schemas:be()}});f?.setFieldsValue({...a,icon:a.icon??"",parentId:a.parentId??-1,component:a.component?.split("/")})},m=async a=>{await b.systemMenu.menuDelete({id:a.id}),n.reload()},I=[...me,{title:"操作",width:140,dataIndex:"ACTION",hideInSearch:!0,fixed:"right",actions:({record:a})=>[{label:"编辑",auth:{perm:"system:menu:update",effect:"disable"},onClick:()=>o(a)},{label:"新增",auth:{perm:"system:menu:create",effect:"disable"},disabled:a.type===2,onClick:()=>o({parentId:a.id})},{label:"删除",auth:"system:menu:delete",popConfirm:{title:"你确定要删除吗?",placement:"left",onConfirm:()=>m(a)}}]}];return(a,f)=>{const t=ae("a-button");return _(),P(c(s),{"header-title":"菜单管理","data-request":c(b).systemMenu.menuList,columns:I},{afterHeaderTitle:u(()=>[oe("div",ye,[l(t,{onClick:c(n).expandAll},{default:u(()=>[h("展开全部")]),_:1},8,["onClick"]),l(t,{onClick:c(n).collapseAll},{default:u(()=>[h("折叠全部")]),_:1},8,["onClick"])])]),toolbar:u(()=>[l(t,{type:"primary",disabled:!a.$auth("system:menu:create"),onClick:f[0]||(f[0]=r=>o({}))},{default:u(()=>[h(" 新增 ")]),_:1},8,["disabled"])]),_:1},8,["data-request"])}}});export{Te as default}; diff --git a/assets/index-ATHqVlnW.js b/assets/index-ATHqVlnW.js new file mode 100644 index 000000000..3057bd24b --- /dev/null +++ b/assets/index-ATHqVlnW.js @@ -0,0 +1 @@ +import{w as I,h as C,c as T}from"./index-zjj_i2Xu.js";import{k as o,aV as g,bp as w,d as v,r as M,bk as f,F as S,g as j,a as E,I as O,Q as F,K as r,_ as p,B as i,a3 as N,ba as V,b8 as R}from"./vendor-PZoYaLWz.js";import{u as q}from"./dynamic-table-0dDQM8_O.js";import"./ApiSelect.vue_vue_type_script_setup_true_lang-w2BFpwRk.js";import{a as A}from"./hero-Ph5bBoEr.js";import{c as D,d as h}from"./createContextMenu-BwbhFCrW.js";import{a as P,j as B}from"./index-aIlgy7Sj.js";import"./index.vue_vue_type_style_index_0_lang-35qbmpIP.js";import{u as L}from"./useFormModal-Z6rDe6Nh.js";import"./schema-form.vue_vue_type_script_setup_true_lang-iMSwIqZ0.js";import"./index-XMdBM6P7.js";import"./dateUtil-15Jj70TU.js";import"./index-FiLqFnhx.js";import"./Icon.vue_vue_type_script_setup_true_lang-L3JttlNa.js";import"./useModal-L2aP7aoQ.js";function X(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!w(e)}const K=v({props:{record:Object},setup(e){const a=M(!1);return()=>o(S,null,[o(f,{src:e.record?.avatar,preview:{visible:!1},onClick:()=>a.value=!0},null),o("div",{hidden:!0},[o(f.PreviewGroup,{preview:{visible:a.value,onVisibleChange:l=>a.value=l}},{default:()=>[e.record?.posters.map(l=>o(f,{src:l,key:l},null))]})])])}}),y=[{title:"头像",width:100,hideInSearch:!0,dataIndex:"avatar",customRender:({record:e})=>o(K,{record:e,key:e.avatar},null)},{title:"英雄名称",dataIndex:"title"},{title:"英雄称号",dataIndex:"name"},{title:"定位",dataIndex:"roles",customRender:({record:e})=>o("div",null,[e.roles?.map(a=>o(g,{color:"blue",key:a},X(a)?a:{default:()=>[a]}))])},{title:"操作",width:120,dataIndex:"ACTION",actions:({record:e})=>[{label:"查看详情",onClick:()=>I.push({name:"demos-table-lol-info",params:{id:e.heroId}})}]}];function $(e=!0){return j()&&e&&E(()=>{h()}),[D,h]}const z=e=>[{field:"filename",component:"Input",label:e("component.excel.fileName"),rules:[{required:!0}]},{field:"bookType",component:"Select",label:e("component.excel.fileType"),defaultValue:"xlsx",rules:[{required:!0}],componentProps:{options:[{label:"xlsx",value:"xlsx",key:"xlsx"},{label:"html",value:"html",key:"html"},{label:"csv",value:"csv",key:"csv"},{label:"txt",value:"txt",key:"txt"}]}}],G=()=>{const{t:e}=C(),[a]=L();return{openModal:({onOk:m})=>{a({modalProps:{title:e("component.excel.exportModalTitle"),onFinish:async x=>{const{filename:c,bookType:u}=x;m({filename:`${c.split(".").shift()}.${u}`,bookType:u})}},formProps:{labelWidth:100,schemas:z(e)}})}}},ie=v({name:"DemosTablesLolTable",__name:"index",setup(e){const[a]=q(),l=T(),[m]=$(),x=G(),c=[],u=()=>{const n=y.filter(t=>t.dataIndex!=="INDEX"),s=n.map(t=>t.dataIndex);P({data:c.map(t=>s.reduce((b,d)=>(b[d]=Array.isArray(t[d])?t[d].toString():t[d],b),{})).map(t=>Object.values(t)),header:n.map(t=>t.title),filename:"二维数组方式导出excel.xlsx"})},_=()=>{x.openModal({onOk:({filename:n,bookType:s})=>{B({data:c,filename:n,write2excelOpts:{bookType:s}})}})},k=n=>({onContextmenu:s=>{m({event:s,items:[{label:"查看",handler:()=>{l.push({name:"demos-table-lol-info",params:{id:n.heroId}})}},{label:"编辑",handler:()=>{}}]})}});return(n,s)=>{const t=N("a-button");return O(),F("div",null,[o(i(V),{message:"游戏介绍",type:"info","show-icon":""},{description:r(()=>[p(" 英雄联盟 -- 根据数组格式的数据进行导出 ")]),_:1}),o(i(R),{title:"英雄列表mock数据",style:{"margin-top":"20px"}},{default:r(()=>[o(i(a),{size:"small",bordered:"","data-request":i(A),columns:i(y),"row-key":"heroid","export-file-name":"表格自带导出","custom-row":k},{"export-button":r(()=>[o(t,{type:"primary"},{default:r(()=>[p("表格自带导出")]),_:1})]),toolbar:r(()=>[o(t,{type:"primary",onClick:u},{default:r(()=>[p(" 数组格式导出 ")]),_:1}),o(t,{type:"primary",onClick:_},{default:r(()=>[p(" 自定义导出格式 ")]),_:1})]),_:1},8,["data-request","columns"])]),_:1})])}}});export{ie as default}; diff --git a/assets/index-CfOQPmr1.css b/assets/index-CfOQPmr1.css new file mode 100644 index 000000000..faee67c42 --- /dev/null +++ b/assets/index-CfOQPmr1.css @@ -0,0 +1 @@ +html.dark .split-wrapper{background-color:#000}html:not(.dark) .split-wrapper{background-color:#fff}html.dark .separator{background-color:#000}html:not(.dark) .separator{background-color:#fff}html.dark .separator{color:#000}html:not(.dark) .separator{color:#fff}.split-wrapper{display:flex;width:100%;height:100%}.split-wrapper .scalable{position:relative;width:240px;min-width:100px;max-width:50vw;overflow:auto}.split-wrapper .scalable .left-content{height:100%;padding:12px 20px 12px 12px}.split-wrapper .scalable .separator{display:flex;position:absolute;top:0;right:0;align-items:center;justify-content:center;width:14px;height:100%;box-shadow:-4px -2px 4px -5px #00000059,4px 3px 4px -5px #00000059;cursor:col-resize}.split-wrapper .scalable .separator i{width:1px;height:14px;margin:0 1px;background-color:#e9e9e9}.split-wrapper .right-content{flex:1}.split-wrapper .left-content,.split-wrapper .right-content{overflow:auto} diff --git a/assets/index-FiLqFnhx.js b/assets/index-FiLqFnhx.js new file mode 100644 index 000000000..3d422201d --- /dev/null +++ b/assets/index-FiLqFnhx.js @@ -0,0 +1 @@ +import{u as Q,v as Z,B as ee,o as K,x as P,j as te,g as H,b as F,r as _,w as j,n as k}from"./vendor-PZoYaLWz.js";function q(e){return Q()?(Z(e),!0):!1}function y(e){return typeof e=="function"?e():ee(e)}const X=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ne=e=>typeof e<"u",le=e=>e!=null,oe=Object.prototype.toString,re=e=>oe.call(e)==="[object Object]",T=()=>{};function U(e,n){function t(...r){return new Promise((o,s)=>{Promise.resolve(e(()=>n.apply(this,r),{fn:n,thisArg:this,args:r})).then(o).catch(s)})}return t}function ue(e,n={}){let t,r,o=T;const s=u=>{clearTimeout(u),o(),o=T};return u=>{const c=y(e),a=y(n.maxWait);return t&&s(t),c<=0||a!==void 0&&a<=0?(r&&(s(r),r=null),Promise.resolve(u())):new Promise((i,m)=>{o=n.rejectOnCancel?m:i,a&&!r&&(r=setTimeout(()=>{t&&s(t),r=null,i(u())},a)),t=setTimeout(()=>{r&&s(r),r=null,i(u())},c)})}}function ie(...e){let n=0,t,r=!0,o=T,s,d,u,c,a;!te(e[0])&&typeof e[0]=="object"?{delay:d,trailing:u=!0,leading:c=!0,rejectOnCancel:a=!1}=e[0]:[d,u=!0,c=!0,a=!1]=e;const i=()=>{t&&(clearTimeout(t),t=void 0,o(),o=T)};return p=>{const f=y(d),h=Date.now()-n,w=()=>s=p();return i(),f<=0?(n=Date.now(),w()):(h>f&&(c||!r)?(n=Date.now(),w()):u&&(s=new Promise((b,l)=>{o=a?l:b,t=setTimeout(()=>{n=Date.now(),r=!0,b(w()),i()},Math.max(0,f-h))})),!c&&!t&&(t=setTimeout(()=>r=!0,f)),r=!1,s)}}function se(e){return e||H()}function ce(e,n=200,t={}){return U(ue(n,t),e)}function ae(e,n=200,t=!1,r=!0,o=!1){return U(ie(n,t,r,o),e)}function fe(e,n=!0,t){se()?K(e,t):n?e():P(e)}function C(e){var n;const t=y(e);return(n=t?.$el)!=null?n:t}const R=X?window:void 0,de=X?window.document:void 0;function I(...e){let n,t,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([t,r,o]=e,n=R):[n,t,r,o]=e,!n)return T;Array.isArray(t)||(t=[t]),Array.isArray(r)||(r=[r]);const s=[],d=()=>{s.forEach(i=>i()),s.length=0},u=(i,m,p,f)=>(i.addEventListener(m,p,f),()=>i.removeEventListener(m,p,f)),c=j(()=>[C(n),y(o)],([i,m])=>{if(d(),!i)return;const p=re(m)?{...m}:m;s.push(...t.flatMap(f=>r.map(h=>u(i,f,h,p))))},{immediate:!0,flush:"post"}),a=()=>{c(),d()};return q(a),a}function ve(e){return typeof e=="function"?e:typeof e=="string"?n=>n.key===e:Array.isArray(e)?n=>e.includes(n.key):()=>!0}function ye(...e){let n,t,r={};e.length===3?(n=e[0],t=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(n=!0,t=e[0],r=e[1]):(n=e[0],t=e[1]):(n=!0,t=e[0]);const{target:o=R,eventName:s="keydown",passive:d=!1,dedupe:u=!1}=r,c=ve(n);return I(o,s,i=>{i.repeat&&y(u)||c(i)&&t(i)},d)}function me(){const e=_(!1),n=H();return n&&K(()=>{e.value=!0},n),e}function Y(e){const n=me();return F(()=>(n.value,!!e()))}function pe(e){return JSON.parse(JSON.stringify(e))}function he(e,n,t={}){const{root:r,rootMargin:o="0px",threshold:s=.1,window:d=R,immediate:u=!0}=t,c=Y(()=>d&&"IntersectionObserver"in d),a=F(()=>{const h=y(e);return(Array.isArray(h)?h:[h]).map(C).filter(le)});let i=T;const m=_(u),p=c.value?j(()=>[a.value,C(r),m.value],([h,w])=>{if(i(),!m.value||!h.length)return;const b=new IntersectionObserver(n,{root:C(w),rootMargin:o,threshold:s});h.forEach(l=>l&&b.observe(l)),i=()=>{b.disconnect(),i=T}},{immediate:u,flush:"post"}):T,f=()=>{i(),p(),m.value=!1};return q(f),{isSupported:c,isActive:m,pause(){i(),m.value=!1},resume(){m.value=!0},stop:f}}function be(e,n={}){const{window:t=R,scrollTarget:r,threshold:o=0}=n,s=_(!1);return he(e,d=>{let u=s.value,c=0;for(const a of d)a.time>=c&&(c=a.time,u=a.isIntersecting);s.value=u},{root:r,window:t,threshold:o}),s}const J=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function Ee(e,n={}){const{document:t=de,autoExit:r=!1}=n,o=F(()=>{var l;return(l=C(e))!=null?l:t?.querySelector("html")}),s=_(!1),d=F(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(l=>t&&l in t||o.value&&l in o.value)),u=F(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(l=>t&&l in t||o.value&&l in o.value)),c=F(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(l=>t&&l in t||o.value&&l in o.value)),a=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(l=>t&&l in t),i=Y(()=>o.value&&t&&d.value!==void 0&&u.value!==void 0&&c.value!==void 0),m=()=>a?t?.[a]===o.value:!1,p=()=>{if(c.value){if(t&&t[c.value]!=null)return t[c.value];{const l=o.value;if(l?.[c.value]!=null)return!!l[c.value]}}return!1};async function f(){if(!(!i.value||!s.value)){if(u.value)if(t?.[u.value]!=null)await t[u.value]();else{const l=o.value;l?.[u.value]!=null&&await l[u.value]()}s.value=!1}}async function h(){if(!i.value||s.value)return;p()&&await f();const l=o.value;d.value&&l?.[d.value]!=null&&(await l[d.value](),s.value=!0)}async function w(){await(s.value?f():h())}const b=()=>{const l=p();(!l||l&&m())&&(s.value=l)};return I(t,J,b,!1),I(()=>C(o),J,b,!1),r&&q(f),{isSupported:i,isFullscreen:s,enter:h,exit:f,toggle:w}}const G=1;function we(e,n={}){const{throttle:t=0,idle:r=200,onStop:o=T,onScroll:s=T,offset:d={left:0,right:0,top:0,bottom:0},eventListenerOptions:u={capture:!1,passive:!0},behavior:c="auto",window:a=R,onError:i=v=>{console.error(v)}}=n,m=_(0),p=_(0),f=F({get(){return m.value},set(v){w(v,void 0)}}),h=F({get(){return p.value},set(v){w(void 0,v)}});function w(v,A){var E,W,V;if(!a)return;const x=y(e);x&&((V=x instanceof Document?a.document.body:x)==null||V.scrollTo({top:(E=y(A))!=null?E:h.value,left:(W=y(v))!=null?W:f.value,behavior:y(c)}))}const b=_(!1),l=k({left:!0,right:!1,top:!0,bottom:!1}),S=k({left:!1,right:!1,top:!1,bottom:!1}),g=v=>{b.value&&(b.value=!1,S.left=!1,S.right=!1,S.top=!1,S.bottom=!1,o(v))},L=ce(g,t+r),D=v=>{var A;if(!a)return;const E=((A=v?.document)==null?void 0:A.documentElement)||v?.documentElement||C(v),{display:W,flexDirection:V}=getComputedStyle(E),x=E.scrollLeft;S.left=xm.value;const N=Math.abs(x)<=(d.left||0),z=Math.abs(x)+E.clientWidth>=E.scrollWidth-(d.right||0)-G;W==="flex"&&V==="row-reverse"?(l.left=z,l.right=N):(l.left=N,l.right=z),m.value=x;let O=E.scrollTop;v===a.document&&!O&&(O=a.document.body.scrollTop),S.top=Op.value;const $=Math.abs(O)<=(d.top||0),B=Math.abs(O)+E.clientHeight>=E.scrollHeight-(d.bottom||0)-G;W==="flex"&&V==="column-reverse"?(l.top=B,l.bottom=$):(l.top=$,l.bottom=B),p.value=O},M=v=>{var A;if(!a)return;const E=(A=v.target.documentElement)!=null?A:v.target;D(E),b.value=!0,L(v),s(v)};return I(e,"scroll",t?ae(M,t,!0,!1):M,u),fe(()=>{try{const v=y(e);if(!v)return;D(v)}catch(v){i(v)}}),I(e,"scrollend",g,u),{x:f,y:h,isScrolling:b,arrivedState:l,directions:S,measure(){const v=y(e);a&&v&&D(v)}}}function Se(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Fe(e,n,t={}){var r;const{direction:o="bottom",interval:s=100,canLoadMore:d=()=>!0}=t,u=k(we(e,{...t,offset:{[o]:(r=t.distance)!=null?r:0,...t.offset}})),c=_(),a=F(()=>!!c.value),i=F(()=>Se(y(e))),m=be(i);function p(){if(u.measure(),!i.value||!m.value||!d(i.value))return;const{scrollHeight:f,clientHeight:h,scrollWidth:w,clientWidth:b}=i.value,l=o==="bottom"||o==="top"?f<=h:w<=b;(u.arrivedState[o]||l)&&(c.value||(c.value=Promise.all([n(u),new Promise(S=>setTimeout(S,s))]).finally(()=>{c.value=null,P(()=>p())})))}return j(()=>[u.arrivedState[o],m.value],p,{immediate:!0}),{isLoading:a}}function Te(e,n,t,r={}){var o,s,d;const{clone:u=!1,passive:c=!1,eventName:a,deep:i=!1,defaultValue:m,shouldEmit:p}=r,f=H(),h=t||f?.emit||((o=f?.$emit)==null?void 0:o.bind(f))||((d=(s=f?.proxy)==null?void 0:s.$emit)==null?void 0:d.bind(f?.proxy));let w=a;n||(n="modelValue"),w=w||`update:${n.toString()}`;const b=g=>u?typeof u=="function"?u(g):pe(g):g,l=()=>ne(e[n])?b(e[n]):m,S=g=>{p?p(g)&&h(w,g):h(w,g)};if(c){const g=l(),L=_(g);let D=!1;return j(()=>e[n],M=>{D||(D=!0,L.value=b(M),P(()=>D=!1))}),j(L,M=>{!D&&(M!==e[n]||i)&&S(M)},{deep:i}),L}else return F({get(){return l()},set(g){S(g)}})}export{Ee as a,Te as b,Fe as c,ye as o,ce as u}; diff --git a/assets/index-HRf9fHDM.js b/assets/index-HRf9fHDM.js new file mode 100644 index 000000000..447c5ee3e --- /dev/null +++ b/assets/index-HRf9fHDM.js @@ -0,0 +1 @@ +import{_ as U,a as Re,b as ne,c as Q,d as he,S as oe,T as ue,e as Ke,f as se,g as X,L as ge,t as De,h as Ee,s as ke,i as Ae,j as Be,l as Fe,k as Ne,m as re,n as Ue}from"./index-zjj_i2Xu.js";import{I as r,Q as w,V as be,W as je,R as T,X as Ve,Y as qe,d as D,b as I,a3 as Y,J as b,w as G,k as t,K as a,B as e,ay as H,az as k,aA as ie,_ as x,S as O,aB as ae,aC as Z,aD as ce,ak as Ce,aE as ze,F as R,U as E,aF as de,aG as Je,aH as We,a7 as N,a4 as Ge,aI as He,a6 as Se,a0 as xe,M as Qe,n as Xe,ah as le,Z as z,aJ as Ye,aK as $e,aL as Ze,aM as et,r as B,s as tt,x as we,L as Te,aN as pe,aO as at,aP as q,aQ as lt,aR as nt,aS as st,aT as ot,aU as F,aV as me,aW as ut,aX as rt,am as it,aY as ee,aZ as ct,a_ as dt,a$ as fe,as as Me,ab as pt,b0 as mt,ae as ft,b1 as V,a1 as vt,b2 as _t,b3 as yt,b4 as ht}from"./vendor-PZoYaLWz.js";import{_ as gt}from"./logo-b1EwzE33.js";import{u as kt,b as bt}from"./tabsView-FTMw9DEO.js";import{_ as Ct,a as Oe}from"./Icon.vue_vue_type_script_setup_true_lang-L3JttlNa.js";import{o as W,u as St,a as xt}from"./index-FiLqFnhx.js";import{_ as $t}from"./index.vue_vue_type_style_index_0_lang-35qbmpIP.js";const wt=y=>(Ve("data-v-24ece0c5"),y=y(),qe(),y),Tt={class:"logo"},Mt=wt(()=>T("img",{src:gt,alt:""},null,-1)),Ot={class:"title"},It={__name:"index",props:{collapsed:{type:Boolean}},setup(y){return(d,p)=>(r(),w("div",Tt,[Mt,be(T("h2",Ot,"One Piece",512),[[je,!y.collapsed]])]))}},ve=U(It,[["__scopeId","data-v-24ece0c5"]]),J=D({__name:"index",props:{title:{type:[String,Object],required:!0,default:""}},setup(y){const d=y,p=Re(),n=I(()=>{const{title:s=""}=d;return typeof s=="object"?s?.[p.locale]??s:s});return(s,f)=>{const u=Y("i18n-t");return r(),b(u,{tag:"span",keypath:n.value,scope:"global"},null,8,["keypath"])}}}),Lt=!1,Pt={class:"tabs-view"},Rt={style:{display:"inline-block"}},Kt=D({__name:"tabs-view",setup(y){const d=ne(),p=Q(),n=kt(),s=he(),f=I(()=>n.getCurrentTab?.fullPath),u=I(()=>n.getTabsList),_=I(()=>s.list),i=o=>{const{fullPath:C,hash:A,meta:P,name:j,params:Ie,path:Le,query:Pe}=o;return{fullPath:C,hash:A,meta:P,name:j,params:Ie,path:Le,query:Pe}};let h=[];try{const o=oe.get(ue);h=o?JSON.parse(o):[i(d)]}catch{h=[i(d)]}n.initTabs(h),G(()=>d.fullPath,()=>{bt.some(o=>o===d.name)||n.addTabs(i(d))},{immediate:!0}),window.addEventListener("beforeunload",()=>{oe.set(ue,JSON.stringify([n.getCurrentTab]))});const M=o=>p.currentRoute.value.matched.some(C=>C.name===o.name),$=o=>{if(u.value.length===1)return xe.warning("这已经是最后一页,不能再关闭了!");n.closeCurrentTab(o)},L=(o,C)=>{C=="remove"&&$(u.value.find(A=>A.fullPath==o))},g=o=>{Object.is(d.fullPath,o)||p.push(o)},c=()=>{p.replace({name:Ke,params:{path:e(d).fullPath}})},K=o=>{n.closeLeftTabs(o),!M(o)&&p.replace(o.fullPath)},S=o=>{n.closeRightTabs(o),!M(o)&&p.replace(o.fullPath)},l=o=>{n.closeOtherTabs(o),!M(o)&&p.replace(o.fullPath)},v=()=>{localStorage.removeItem("routes"),n.closeAllTabs(),p.replace("/")},m=async o=>{{console.warn("仅在开发环境有效");return}};return(o,C)=>{const A=Y("router-view");return r(),w("div",Pt,[t(e(de),{"active-key":f.value,"hide-add":"",type:"editable-card",class:"tabs",onChange:g,onEdit:L},{rightExtra:a(()=>[t(e(H),{trigger:["click"],placement:"bottomRight"},{overlay:a(()=>[t(e(k),{style:{"user-select":"none"}},{default:a(()=>[t(e(k).Item,{key:"1",disabled:f.value!==e(d).fullPath,onClick:c},{default:a(()=>[t(e(ie)),x(" "+O(o.$t("layout.multipleTab.reload")),1)]),_:1},8,["disabled"]),t(e(k).Item,{key:"2",onClick:C[1]||(C[1]=P=>$(e(d)))},{default:a(()=>[t(e(ae)),x(" "+O(o.$t("layout.multipleTab.close")),1)]),_:1}),t(e(k).Divider),t(e(k).Item,{key:"5",onClick:C[2]||(C[2]=P=>l(e(d)))},{default:a(()=>[t(e(Z)),x(" "+O(o.$t("layout.multipleTab.closeOther")),1)]),_:1}),t(e(k).Item,{key:"6",onClick:v},{default:a(()=>[t(e(ce)),x(" "+O(o.$t("layout.multipleTab.closeAll")),1)]),_:1}),t(e(k).Divider)]),_:1})]),default:a(()=>[T("a",{class:"ant-dropdown-link",onClick:C[0]||(C[0]=Ce(()=>{},["prevent"]))},[t(e(ze),{style:{fontSize:"20px"}})])]),_:1})]),default:a(()=>[(r(!0),w(R,null,E(u.value,P=>(r(),b(e(de).TabPane,{key:P.fullPath},{tab:a(()=>[t(e(H),{trigger:["contextmenu"]},{overlay:a(()=>[t(e(k),{style:{"user-select":"none"}},{default:a(()=>[t(e(k).Item,{key:"1",disabled:f.value!==P.fullPath,onClick:c},{default:a(()=>[t(e(ie)),x(" "+O(o.$t("layout.multipleTab.reload")),1)]),_:2},1032,["disabled"]),t(e(k).Item,{key:"2",onClick:j=>$(P)},{default:a(()=>[t(e(ae)),x(" "+O(o.$t("layout.multipleTab.close")),1)]),_:2},1032,["onClick"]),t(e(k).Divider),t(e(k).Item,{key:"3",onClick:j=>K(P)},{default:a(()=>[t(e(Je)),x(" "+O(o.$t("layout.multipleTab.closeLeft")),1)]),_:2},1032,["onClick"]),t(e(k).Item,{key:"4",onClick:j=>S(P)},{default:a(()=>[t(e(We)),x(" "+O(o.$t("layout.multipleTab.closeRight")),1)]),_:2},1032,["onClick"]),t(e(k).Divider),t(e(k).Item,{key:"5",onClick:j=>l(P)},{default:a(()=>[t(e(Z)),x(" "+O(o.$t("layout.multipleTab.closeOther")),1)]),_:2},1032,["onClick"]),t(e(k).Item,{key:"6",onClick:v},{default:a(()=>[t(e(ce)),x(" "+O(o.$t("layout.multipleTab.closeAll")),1)]),_:1}),e(Lt)?(r(),w(R,{key:0},[t(e(k).Divider),t(e(k).Item,{key:"7",onClick:j=>m(P)},{default:a(()=>[t(e(Z)),x(" 打开页面文件 ")]),_:2},1032,["onClick"])],64)):N("",!0)]),_:2},1024)]),default:a(()=>[T("div",Rt,[t(e(J),{title:P.meta?.title},null,8,["title"])])]),_:2},1024)]),_:2},1024))),128))]),_:1},8,["active-key"]),t(A,{class:"tabs-view-content"},{default:a(({Component:P})=>[P?(r(),b(Ge,{key:0,name:Object.is(e(d).meta?.transitionName,!1)?"":"fade-transform",mode:"out-in",appear:""},{default:a(()=>[(r(),b(He,{include:_.value},[(r(),b(Se(P),{key:e(d).fullPath}))],1032,["include"]))]),_:2},1032,["name"])):N("",!0)]),_:1})])}}}),Dt=U(Kt,[["__scopeId","data-v-20c15e69"]]),_e=D({name:"MenuItemContent",__name:"menu-item-content",props:{item:{type:Object,default:()=>({})}},setup(y){return(d,p)=>(r(),w(R,null,[y.item?.meta?.icon?(r(),b(e(Ct),{key:0,icon:y.item.meta.icon},null,8,["icon"])):N("",!0),t(e(J),{title:y.item?.meta?.title},null,8,["title"])],64))}}),Et=D({name:"MyMenuItem",__name:"menu-item",props:{menus:{type:Array,default:()=>[]}},setup(y){const d=y,p=I(()=>[...d.menus].filter(f=>!f.meta?.hideInMenu).sort((f,u)=>~~f.meta?.orderNo-~~u.meta?.orderNo)),n=f=>f?.meta?.type===0||!Object.is(f?.meta?.hideChildrenInMenu,!0)&&f?.children?.length,s=f=>{const{isExt:u,extOpenMode:_}=f.meta||{};u&&_!==2&&window.open(f.path)};return(f,u)=>{const _=Y("MyMenuItem");return r(!0),w(R,null,E(p.value,i=>(r(),w(R,{key:i.name||i.fullPath},[n(i)?(r(),b(e(k).SubMenu,Qe({key:i?.name},f.$attrs),{title:a(()=>[t(_e,{item:i},null,8,["item"])]),default:a(()=>[i.children?(r(),b(_,{key:0,menus:i.children},null,8,["menus"])):N("",!0)]),_:2},1040)):(r(),b(e(k).Item,{key:i?.name,onClick:h=>s(i)},{default:a(()=>[t(_e,{item:i},null,8,["item"])]),_:2},1032,["onClick"]))],64))),128)}}}),At=D({__name:"menu",props:{collapsed:{type:Boolean},theme:{type:String}},setup(y){const d=y,p=se(),n=X(),s=ne(),f=Q(),u=Xe({openKeys:[],selectedKeys:[s.name]}),_=I(()=>p.menus);_.value;const i=I(()=>n.layoutSetting.layout==="sidemenu"),h=g=>f.getRoutes().find(c=>c.name===g),M=g=>f.getRoutes().find(c=>[c.name,c.path].includes(g)),$=()=>{const g=s.meta;return g?.activeMenu?M(g.activeMenu)?.meta?.namePath??[g?.activeMenu]:g?.hideInMenu?u?.openKeys||[]:s.meta?.namePath??s.matched.slice(1).map(c=>c.name)};G(()=>d.collapsed,g=>{u.openKeys=g?[]:$(),u.selectedKeys=[s.name]}),G(()=>s.fullPath,()=>{if(s.name===ge||d.collapsed)return;u.openKeys=$();const g=s.meta;if(g?.activeMenu){const c=M(g.activeMenu);u.selectedKeys=[c?.name??g?.activeMenu]}else u.selectedKeys=[s.meta?.activeMenu??s.name]},{immediate:!0});const L=({key:g})=>{if(g===s.name)return;const c=u.selectedKeys,K=h(g),{isExt:S,extOpenMode:l}=K?.meta||{};K&&S&&l===1?queueMicrotask(()=>{u.selectedKeys=c}):f.push({name:g})};return(g,c)=>(r(),w("div",{class:le(["menu-container",{"is-side-menu":i.value}])},[t(e(k),{"selected-keys":u.selectedKeys,"onUpdate:selectedKeys":c[0]||(c[0]=K=>u.selectedKeys=K),"open-keys":i.value?u.openKeys:[],mode:i.value?"inline":"horizontal",theme:y.theme,collapsed:d.collapsed,collapsible:"",onClick:L},{default:a(()=>[t(Et,{menus:_.value},null,8,["menus"])]),_:1},8,["selected-keys","open-keys","mode","theme","collapsed"])],2))}}),ye=U(At,[["__scopeId","data-v-40e653c9"]]),Bt={class:"pb-12px"},Ft=["onMouseenter"],Nt=D({__name:"SearchResult",props:{value:{},options:{}},emits:["update:value","enter"],setup(y,{emit:d}){const p=y,n=d,s=I({get(){return p.value},set(_){n("update:value",_)}});async function f(_){s.value=_.name}function u(){n("enter")}return(_,i)=>(r(),w("div",null,[T("div",Bt,[(r(!0),w(R,null,E(_.options,h=>(r(),w("div",{key:h.name,class:"bg-[#e5e7eb] h-56px mt-8px px-14px rounded-4px flex items-center justify-justify-between",style:z([{cursor:"pointer"},{background:h.name===s.value?"#1890ff":"",color:h.name===s.value?"#fff":""}]),onClick:u,onMouseenter:M=>f(h)},[t(e(Ye)),t(e(J),{class:"flex-1 ml-5px",title:h.meta?.title},null,8,["title"]),t(e($e),{class:"icon text-20px p-2px mr-3px"})],44,Ft))),128))])]))}}),Ut={class:"flex items-center"},jt={class:"mr-14px"},Vt={class:"mr-14px"},qt=D({__name:"SearchFooter",setup(y){return(d,p)=>(r(),w("div",Ut,[T("span",jt,[t(e($e),{class:"icon text-15px p-2px mr-3px"}),x(" 确认 ")]),T("span",Vt,[t(e(Ze),{class:"icon text-15px p-2px mr-5px"}),t(e(et),{class:"icon text-15px p-2px mr-3px"}),x(" 切换 ")]),T("span",null,[t(e(ae),{class:"icon text-15px p-2px mr-3px"}),x(" 关闭 ")])]))}}),zt=U(qt,[["__scopeId","data-v-28b7c05a"]]),Jt={class:"mt-20px"},Wt=D({__name:"index",setup(y){const d=se(),p=Q(),n=B(""),s=B(""),f=I(()=>$(d.menus)),u=tt([]),_=B(null),i=St(M,300),h=B(!1);G(h,async S=>{S&&(await we(),_.value?.focus())});function M(){u.value=f.value.filter(S=>{const l=De(S.meta?.title);return n.value&&l?.toLocaleLowerCase().includes(n.value.toLocaleLowerCase().trim())}),u.value?.length>0?s.value=u.value[0].name:s.value=""}function $(S,l=[]){return S&&S.length===0?[]:S.reduce((v,m)=>(!m.meta?.hideInMenu&&!m.children&&v.push(m),m.children&&m.children.length>0&&$(m.children,l),v),l)}function L(){h.value=!1,setTimeout(()=>{u.value=[],n.value=""},200)}function g(){const{length:S}=u.value;if(S===0)return;const l=u.value.findIndex(v=>v.name===s.value);l===0?s.value=u.value[S-1].name:s.value=u.value[l-1].name}function c(){const{length:S}=u.value;if(S===0)return;const l=u.value.findIndex(v=>v.name===s.value);l+1===S?s.value=u.value[0].name:s.value=u.value[l+1].name}function K(){const{length:S}=u.value;S===0||s.value===""||(/http(s)?:/.test(s.value)?window.open(s.value):(p.push({name:s.value}),L()))}return W("Escape",L),W("Enter",K),W("ArrowUp",g),W("ArrowDown",c),(S,l)=>{const v=lt;return r(),b(e(q),{title:S.$t("common.searchText"),placement:"bottom","mouse-enter-delay":.5},{default:a(()=>[Te(S.$slots,"default",{},()=>[t(e(pe),{onClick:l[0]||(l[0]=m=>h.value=!0)})]),t(e($t),{open:h.value,"onUpdate:open":l[3]||(l[3]=m=>h.value=m),title:"搜索菜单",keyboard:!1,onCancel:L},{footer:a(()=>[t(zt)]),default:a(()=>[t(v,{ref_key:"inputRef",ref:_,value:n.value,"onUpdate:value":l[1]||(l[1]=m=>n.value=m),clearable:"",placeholder:"请输入关键词搜索",onChange:e(i)},{prefix:a(()=>[t(e(pe),{class:"text-15px text-[#c2c2c2]"})]),_:1},8,["value","onChange"]),T("div",Jt,[u.value.length===0?(r(),b(e(at),{key:0,description:"暂无搜索结果"})):(r(),b(Nt,{key:1,value:s.value,"onUpdate:value":l[2]||(l[2]=m=>s.value=m),options:u.value,onEnter:K},null,8,["value","options"]))])]),_:1},8,["open"])]),_:3},8,["title"])}}}),Gt=D({__name:"index",setup(y){const{t:d}=Ee(),{toggle:p,isFullscreen:n}=xt(),s=I(()=>e(n)?d("layout.header.tooltipExitFull"):d("layout.header.tooltipEntryFull"));return(f,u)=>(r(),b(e(q),{title:s.value,placement:"bottom","mouse-enter-delay":.5},{default:a(()=>[T("span",{onClick:u[0]||(u[0]=(..._)=>e(p)&&e(p)(..._))},[e(n)?(r(),b(e(st),{key:1})):(r(),b(e(nt),{key:0}))])]),_:1},8,["title"]))}}),Ht=["onClick"],Qt={class:"style-checbox-item"},Xt={class:"style-checbox-item"},Yt=["onClick"],Zt=D({name:"ProjectSetting",__name:"index",setup(y){const d=X(),{layoutSetting:p}=ke(d),n=B(p.value.colorPrimary),s=B(!1),f=I(()=>({"--custom-color":n.value})),u=$=>{d.updateLayoutSetting({navTheme:$})},_=$=>{d.updateLayoutSetting({layout:$})},i=$=>{d.updateLayoutSetting({colorPrimary:$})},h=$=>p.value.colorPrimary===$?"visible":"hidden",M=()=>{s.value=!0};return($,L)=>{const g=Oe;return r(),w(R,null,[t(e(ot),{onClick:M}),t(e(rt),{open:s.value,"onUpdate:open":L[2]||(L[2]=c=>s.value=c),placement:"right",closable:!1},{default:a(()=>[t(e(F),{title:"整体风格",column:5},{default:a(()=>[(r(!0),w(R,null,E(e(Ae),c=>(r(),b(e(F).Item,{key:c.value},{default:a(()=>[t(e(q),{title:c.label},{default:a(()=>[T("div",{class:le(["style-checbox-item",{active:e(p).navTheme===c.value}]),onClick:K=>u(c.value)},[t(g,{name:c.value,size:"50"},null,8,["name"])],10,Ht)]),_:2},1032,["title"])]),_:2},1024))),128))]),_:1}),t(e(F),{title:"主题色",column:9},{default:a(()=>[(r(!0),w(R,null,E(e(Be),c=>(r(),b(e(F).Item,{key:c.key},{default:a(()=>[T("div",Qt,[t(e(q),{title:c.title},{default:a(()=>[t(e(me),{color:c.value,onClick:K=>i(c.value)},{default:a(()=>[T("span",{style:z({visibility:h(c.value)})}," ✔ ",4)]),_:2},1032,["color","onClick"])]),_:2},1032,["title"])])]),_:2},1024))),128)),t(e(F).Item,{key:"custom"},{default:a(()=>[T("div",Xt,[t(e(q),{title:"自定义"},{default:a(()=>[t(e(me),{color:n.value,class:"relative overflow-hidden"},{default:a(()=>[be(T("input",{"onUpdate:modelValue":L[0]||(L[0]=c=>n.value=c),type:"color",class:"absolute inset-0",style:z(f.value),onInput:L[1]||(L[1]=c=>i(n.value))},null,36),[[ut,n.value]]),T("span",{style:z({visibility:h(n.value)})}," ✔ ",4)]),_:1},8,["color"])]),_:1})])]),_:1})]),_:1}),t(e(F),{title:"导航模式",column:5},{default:a(()=>[(r(!0),w(R,null,E(e(Fe),c=>(r(),b(e(F).Item,{key:c.value},{default:a(()=>[T("div",{class:le(["style-checbox-item",{active:e(p).layout===c.value}]),onClick:K=>_(c.value)},[t(g,{name:c.value,size:"50"},null,8,["name"])],10,Yt)]),_:2},1024))),128))]),_:1})]),_:1},8,["open"])],64)}}}),ea=U(Zt,[["__scopeId","data-v-21593216"]]),ta={key:0,class:"ml-1"},aa={href:"javascript:;"},la=D({__name:"index",props:{showText:{type:Boolean,default:!0},reload:{type:Boolean}},setup(y){const d=y,p=B([]),{changeLocale:n,getLocale:s}=Ne(),f=I(()=>{const i=p.value[0];return i?re.find(h=>h.lang===i)?.label:""});it(()=>{p.value=[e(s)]});async function u(i){await n(i),p.value=[i],d.reload&&location.reload()}function _({key:i}){e(s)!==i&&u(i)}return(i,h)=>(r(),b(e(H),{placement:"bottomRight"},{overlay:a(()=>[t(e(k),{selectedKeys:p.value,"onUpdate:selectedKeys":h[0]||(h[0]=M=>p.value=M),onClick:_},{default:a(()=>[(r(!0),w(R,null,E(e(re),M=>(r(),b(e(k).Item,{key:M.lang},{default:a(()=>[T("a",aa,O(M.icon)+" "+O(M.label),1)]),_:2},1024))),128))]),_:1},8,["selectedKeys"])]),default:a(()=>[t(e(Oe),{name:"locale"}),y.showText?(r(),w("span",ta,O(f.value),1)):N("",!0)]),_:1}))}}),na=D({__name:"index",props:{collapsed:{type:Boolean},theme:{type:String}},emits:["update:collapsed"],setup(y,{emit:d}){const p=d,n=se(),s=X(),f=Ue(),u=he(),_=Q(),i=ne(),h=I(()=>n.userInfo),M=I(()=>{const{navTheme:l,layout:v}=s.layoutSetting,m=l==="dark"&&v==="topmenu";return{backgroundColor:l==="realDark"||m?"":"rgba(255, 255, 255, 0.85)",color:m?"rgba(255, 255, 255, 0.85)":""}}),$=I(()=>{if(i.meta?.namePath){let l=n.menus;const v=i.meta?.namePath?.map(m=>{const o=l.find(C=>C.name===m);return l=o?.children||[],o});return[{name:"__index",meta:{title:"首页"},children:n.menus},...v]}return i.matched}),L=l=>[$.value[l+1]?.name],g=l=>{if(typeof l?.redirect=="object"){const v=Object.values(l.redirect);if(l?.children?.length){const m=l.children.find(o=>v.some(C=>[o.name,o.path,o.meta?.fullPath].some(A=>A===C)));return g(m)}return v.find(m=>typeof m=="string")}else if(typeof l?.redirect=="string"){if(l?.children?.length){const v=l.children.find(m=>[m.name,m.path,m.meta?.fullPath].some(o=>o===l?.redirect));return g(v)}return l?.redirect}return l},c=l=>_.getRoutes().find(v=>v.name===l),K=l=>{const v=g(l),m=c(v?.name),{isExt:o,extOpenMode:C}=m?.meta||{};o&&C===1?window.open(v?.path):_.push({name:v?.name})},S=()=>{vt.confirm({title:"您确定要退出登录吗?",icon:t(_t,null,null),centered:!0,onOk:async()=>{n.userInfo.phone!=="13553550634"&&await n.logout(),u.clear(),localStorage.clear(),xe.success("成功退出登录"),await we(),_.replace({name:ge,query:{redirect:i.fullPath}})}})};return(l,v)=>(r(),b(e(V).Header,{style:z(M.value),class:"layout-header"},{default:a(()=>[t(e(ee),{size:20},{default:a(()=>[Te(l.$slots,"default",{},()=>[t(e(ee),{size:20},{default:a(()=>[T("span",{class:"menu-fold",onClick:v[0]||(v[0]=()=>p("update:collapsed",!y.collapsed))},[(r(),b(Se(y.collapsed?e(ct):e(dt))))]),t(e(fe),null,{default:a(()=>[(r(!0),w(R,null,E($.value,(m,o)=>(r(),b(e(fe).Item,{key:m?.name},Me({default:a(()=>[t(e(J),{title:m?.meta?.title},null,8,["title"])]),_:2},[m?.children?.length?{name:"overlay",fn:a(()=>[t(e(k),{"selected-keys":L(o)},{default:a(()=>[(r(!0),w(R,null,E(m?.children,C=>(r(),w(R,{key:C.name},[!C.meta?.hideInMenu&&!C.meta?.hideInBreadcrumb?(r(),b(e(k).Item,{key:C.name,onClick:A=>K(C)},{default:a(()=>[t(e(J),{title:C.meta?.title},null,8,["title"])]),_:2},1032,["onClick"])):N("",!0)],64))),128))]),_:2},1032,["selected-keys"])]),key:"0"}:void 0]),1024))),128))]),_:1})]),_:1})],!0)]),_:3}),t(e(ee),{size:20},{default:a(()=>[t(e(Wt)),t(e(q),{title:l.$t("layout.header.tooltipLock"),placement:"bottom"},{default:a(()=>[t(e(pt),{onClick:v[1]||(v[1]=m=>e(f).setLock(!0))})]),_:1},8,["title"]),t(e(Gt)),t(e(la)),t(e(H),{placement:"bottomRight"},{overlay:a(()=>[t(e(k),null,{default:a(()=>[t(e(k).Item,{onClick:v[2]||(v[2]=m=>l.$router.push({name:"account-about"}))},{default:a(()=>[x(O(l.$t("routes.account.about")),1)]),_:1}),t(e(k).Item,{onClick:v[3]||(v[3]=m=>l.$router.push({name:"account-settings"}))},{default:a(()=>[x(O(l.$t("routes.account.settings")),1)]),_:1}),t(e(k).Divider),t(e(k).Item,null,{default:a(()=>[T("div",{onClick:Ce(S,["prevent"])},[t(e(mt)),x(" "+O(l.$t("layout.header.dropdownItemLoginOut")),1)])]),_:1})]),_:1})]),default:a(()=>[t(e(ft),{src:h.value.avatar,alt:h.value.username},{default:a(()=>[x(O(h.value.username),1)]),_:1},8,["src","alt"])]),_:1}),t(e(ea))]),_:1})]),_:3},8,["style"]))}}),sa=U(na,[["__scopeId","data-v-0e6b714d"]]),oa="_page_footer_auaql_1",ua="_page_footer_link_auaql_7",ra="_copyright_auaql_15",te={page_footer:oa,page_footer_link:ua,copyright:ra},{Footer:ia}=V,ca=D({name:"PageFooter",components:{ALayoutFooter:ia},setup(){return()=>t(R,null,[t(Y("a-layout-footer"),{class:te.page_footer},{default:()=>[t("div",{class:te.page_footer_link},[t("a",{href:"https://github.com/vuejs/vue-next",target:"_blank"},[x("vue 3.0")]),t("a",{href:"https://github.com/buqiyuan",target:"_blank"},[t(yt,null,null)]),t("a",{href:"https://github.com/vueComponent/ant-design-vue",target:"_blank"},[" ",x("ant-design-vue 2.0")])]),t("div",{class:te.copyright},[x("Copyright "),t(ht,null,null),x(" 2020"),t("a",{href:"https://buqiyuan.gitee.io",target:"_blank"},[x("buqiyuan.gitee.io")])])]})])}}),da=D({__name:"index",setup(y){const d=X(),{layoutSetting:p}=ke(d),n=B(!1),s=I(()=>n.value?80:220),f=I(()=>p.value.navTheme==="light"?"light":"dark");return(u,_)=>(r(),b(e(V),{class:"layout"},{default:a(()=>[e(p).layout==="sidemenu"?(r(),b(e(V).Sider,{key:0,collapsed:n.value,"onUpdate:collapsed":_[0]||(_[0]=i=>n.value=i),width:s.value,trigger:null,collapsible:"",theme:f.value,class:"layout-sider"},{default:a(()=>[t(ve,{collapsed:n.value},null,8,["collapsed"]),t(ye,{collapsed:n.value,theme:f.value},null,8,["collapsed","theme"])]),_:1},8,["collapsed","width","theme"])):N("",!0),t(e(V),null,{default:a(()=>[t(sa,{collapsed:n.value,"onUpdate:collapsed":_[1]||(_[1]=i=>n.value=i),theme:f.value},Me({_:2},[e(p).layout==="topmenu"?{name:"default",fn:a(()=>[t(ve,{collapsed:n.value},null,8,["collapsed"]),t(ye,{collapsed:n.value,theme:f.value},null,8,["collapsed","theme"])]),key:"0"}:void 0]),1032,["collapsed","theme"]),t(e(V).Content,{class:"layout-content"},{default:a(()=>[t(e(Dt))]),_:1}),t(e(ca))]),_:1})]),_:1}))}}),ga=U(da,[["__scopeId","data-v-e8be4f9e"]]);export{ga as default}; diff --git a/assets/index-K1bSQcJK.js b/assets/index-K1bSQcJK.js new file mode 100644 index 000000000..e75b834d5 --- /dev/null +++ b/assets/index-K1bSQcJK.js @@ -0,0 +1 @@ +import{_,s as f,b as h}from"./upload-modal.vue_vue_type_script_setup_true_lang-n-W84fK3.js";import{u as v}from"./dynamic-table-0dDQM8_O.js";import{A as m}from"./index-zjj_i2Xu.js";import"./ApiSelect.vue_vue_type_script_setup_true_lang-w2BFpwRk.js";import{d as b,r as g,I as S,Q as y,k as s,K as r,_ as k,B as c,a3 as x,c0 as w}from"./vendor-PZoYaLWz.js";import"./dateUtil-15Jj70TU.js";import"./index.vue_vue_type_style_index_0_lang-35qbmpIP.js";import"./index-FiLqFnhx.js";import"./schema-form.vue_vue_type_script_setup_true_lang-iMSwIqZ0.js";import"./index-XMdBM6P7.js";import"./Icon.vue_vue_type_script_setup_true_lang-L3JttlNa.js";const $=b({name:"ToolsStorage",__name:"index",setup(C){const e=g([]),[d,i]=v({formProps:{schemas:f},rowSelection:{type:"checkbox",selectedRowKeys:e,onSelect:(o,l)=>{l?e.value=[...e.value,o.id]:e.value=e.value.filter(t=>t!==o.id)},onSelectAll:(o,l,t)=>{const a=t.map(n=>n.id);o?e.value=[...e.value,...a]:e.value=e.value.filter(n=>!a.includes(n))}}}),u=()=>{i?.reload()},p=async()=>{await m.toolsStorage.storageDelete({ids:e.value}),e.value=[],i?.reload()};return(o,l)=>{const t=x("a-button"),a=w;return S(),y("div",null,[s(c(d),{"row-key":"id","header-title":"存储管理","data-request":c(m).toolsStorage.storageList,columns:c(h),bordered:"",size:"small"},{toolbar:r(()=>[s(_,{onUploadSuccess:u}),s(a,{title:"你确定要删除这些数据吗?","ok-text":"确定","cancel-text":"取消",onConfirm:p},{default:r(()=>[s(t,{disabled:!o.$auth("tool:storage:delete")||!e.value.length,type:"error"},{default:r(()=>[k(" 删除 ")]),_:1},8,["disabled"])]),_:1})]),_:1},8,["data-request","columns"])])}}});export{$ as default}; diff --git a/assets/index-LRBzXtFF.js b/assets/index-LRBzXtFF.js new file mode 100644 index 000000000..777b6ce02 --- /dev/null +++ b/assets/index-LRBzXtFF.js @@ -0,0 +1 @@ +import{_ as f}from"./input-number-range.vue_vue_type_script_setup_true_lang-im8GB1mJ.js";import"./index-zjj_i2Xu.js";import"./ApiSelect.vue_vue_type_script_setup_true_lang-w2BFpwRk.js";import{d as _,I as x,Q as h,k as n,B as l,K as a,a0 as b,aQ as p,b8 as g,ba as v}from"./vendor-PZoYaLWz.js";import{u as S}from"./useForm-mY11uE7b.js";import"./schema-form.vue_vue_type_script_setup_true_lang-iMSwIqZ0.js";import"./index-XMdBM6P7.js";import"./dateUtil-15Jj70TU.js";const U=_({name:"CustomForm",__name:"index",setup(y){const i=[{field:"field0",label:"自定义组件",colProps:{span:8},rules:[{required:!0,type:"array",trigger:"change",validator(e,o){return Array.isArray(o)&&o.length===2&&o.every(Boolean)?Promise.resolve():Promise.reject("请输入数字范围")}}],component:()=>f},{field:"field1",label:"comp vnode方式",colProps:{span:8},rules:[{required:!0}],component:({formModel:e,field:o})=>n(p,{modelValue:e[o],"onUpdate:modelValue":r=>e[o]=r,placeholder:"请输入"},{prefix:()=>"component"})},{field:"field2",component:"Input",label:"render组件slot",colProps:{span:8},rules:[{required:!0}],componentSlots:e=>({prefix:()=>"prefix",suffix:()=>"suffix"})},{field:"field3",component:"Input",label:"render组件slot",colProps:{span:8},rules:[{required:!0}],componentSlots:{prefix:()=>"prefix",suffix:e=>"suffix"}},{field:"field4",component:"Input",label:"自定义Slot",slot:"f4",colProps:{span:8},rules:[{required:!0}]}],[u]=S({labelWidth:140,schemas:i,actionColOptions:{span:24}}),c=e=>{b.success(`click search,values:${JSON.stringify(e)}`)};return(e,o)=>{const r=p,m=g;return x(),h("div",null,[n(l(v),{message:"自定义表单组件示例",type:"info","show-icon":"",style:{"margin-bottom":"12px"}}),n(m,null,{default:a(()=>[n(l(u),{onSubmit:c},{f4:a(({formModel:t,field:s})=>[n(r,{value:t[s],"onUpdate:value":d=>t[s]=d,placeholder:"自定义slot"},null,8,["value","onUpdate:value"])]),_:1})]),_:1})])}}});export{U as default}; diff --git a/assets/index-L_Kotna_.js b/assets/index-L_Kotna_.js new file mode 100644 index 000000000..e34566cce --- /dev/null +++ b/assets/index-L_Kotna_.js @@ -0,0 +1 @@ +import{u as r}from"./dynamic-table-0dDQM8_O.js";import{A as i}from"./index-zjj_i2Xu.js";import"./ApiSelect.vue_vue_type_script_setup_true_lang-w2BFpwRk.js";import{d as n,I as d,J as m,B as t,k as s,aV as u}from"./vendor-PZoYaLWz.js";import{f as c}from"./dateUtil-15Jj70TU.js";import"./schema-form.vue_vue_type_script_setup_true_lang-iMSwIqZ0.js";import"./index-XMdBM6P7.js";import"./index-FiLqFnhx.js";import"./Icon.vue_vue_type_script_setup_true_lang-L3JttlNa.js";const b=n({name:"SystemMonitorLoginLog",__name:"index",setup(l){const[a]=r(),o=[{title:"ID",dataIndex:"id",width:60,hideInSearch:!0},{title:"用户名",dataIndex:"username",width:120},{title:"IP",dataIndex:"ip",width:80,customRender:({record:e})=>s(u,{color:"blue"},{default:()=>[e.ip]})},{title:"登录地点",dataIndex:"address",width:80},{title:"时间",width:120,dataIndex:"time",customRender({record:e}){return c(e.time)},formItemProps:{component:"RangePicker"}},{title:"操作系统",dataIndex:"os",width:120,hideInSearch:!0},{title:"浏览器",dataIndex:"browser",width:120,hideInSearch:!0}];return(e,p)=>(d(),m(t(a),{"header-title":"登录日志","auto-height":"","data-request":t(i).systemLog.logLoginLogPage,columns:o},null,8,["data-request"]))}});export{b as default}; diff --git a/assets/index-LnaoMhdy.css b/assets/index-LnaoMhdy.css new file mode 100644 index 000000000..d2f0c6766 --- /dev/null +++ b/assets/index-LnaoMhdy.css @@ -0,0 +1 @@ +.logo[data-v-24ece0c5]{display:flex;white-space:nowrap;overflow:hidden;align-items:center;height:64px;padding-left:24px;line-height:64px}.logo img[data-v-24ece0c5]{height:32px;margin-right:8px}.logo .title[data-v-24ece0c5]{margin-bottom:0;font-size:1.25rem;line-height:1.75rem;color:#00b96b}.dark .tabs-view[data-v-20c15e69]{border-top:1px solid black}.tabs-view[data-v-20c15e69]{border-top:1px solid #eee}.tabs-view[data-v-20c15e69] .tabs .ant-tabs-nav{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity));margin:0;padding:4px 20px 0 10px;user-select:none}.dark .tabs-view[data-v-20c15e69] .tabs .ant-tabs-nav{--un-bg-opacity:1;background-color:rgb(0 0 0 / var(--un-bg-opacity))}.tabs-view[data-v-20c15e69] .tabs .ant-tabs-tabpane{display:none}.tabs-view[data-v-20c15e69] .tabs .ant-tabs-tab-remove{display:flex;margin:0;padding:0}.tabs-view[data-v-20c15e69] .tabs .ant-tabs-tab-remove .anticon-close{padding-left:6px}.tabs-view[data-v-20c15e69] .tabs .ant-tabs-tab:not(.ant-tabs-tab-active) .ant-tabs-tab-remove{width:0}.tabs-view[data-v-20c15e69] .tabs .ant-tabs-tab:not(.ant-tabs-tab-active) .anticon-close{visibility:hidden;width:0;transition:width .3s}.tabs-view[data-v-20c15e69] .tabs .ant-tabs-tab:not(.ant-tabs-tab-active):hover .anticon-close{visibility:visible;width:16px;padding-left:6px}.tabs-view[data-v-20c15e69] .tabs .ant-tabs-tab:not(.ant-tabs-tab-active):hover .ant-tabs-tab-remove{width:unset}.tabs-view .tabs-view-content[data-v-20c15e69]{height:calc(100vh - 110px);padding:20px 14px 0;overflow:auto}.menu-container[data-v-40e653c9]{overflow:auto}.menu-container[data-v-40e653c9]::-webkit-scrollbar{width:0;height:0}.menu-container.is-side-menu[data-v-40e653c9]{height:calc(100vh - 64px)}.icon[data-v-28b7c05a]{box-shadow:inset 0 -2px #cdcde6,inset 0 0 1px 1px #fff,0 1px 2px 1px #1e235a66}.style-checbox-item[data-v-21593216]{position:relative;cursor:pointer}.style-checbox-item.active[data-v-21593216]:after{content:"✔";position:absolute;right:12px;bottom:10px;color:#00b96b}input[type=color][data-v-21593216]{width:40px;height:40px;padding:0;border:0;outline:none;appearance:none}input[type=color][data-v-21593216]::-webkit-color-swatch-wrapper{background:var(--custom-color)}input[type=color][data-v-21593216]::-webkit-color-swatch{display:none}.layout-header[data-v-0e6b714d]{display:flex;position:sticky;z-index:10;top:0;align-items:center;justify-content:space-between;height:64px;padding:0 20px}.layout-header *[data-v-0e6b714d]{cursor:pointer}._page_footer_auaql_1{text-align:center}._page_footer_auaql_1 a{color:#00000073}._page_footer_auaql_1 ._page_footer_link_auaql_7{display:flex;justify-content:center;margin-bottom:8px}._page_footer_auaql_1 ._page_footer_link_auaql_7 a:not(:last-child){margin-right:40px}._page_footer_auaql_1 ._copyright_auaql_15{color:#00000073}.layout[data-v-e8be4f9e]{display:flex;height:100vh;overflow:hidden}.layout .ant-layout[data-v-e8be4f9e]{overflow:hidden}.layout .layout-content[data-v-e8be4f9e]{flex:none} diff --git a/assets/index-NT0oDQzh.js b/assets/index-NT0oDQzh.js new file mode 100644 index 000000000..4dbbe6c5d --- /dev/null +++ b/assets/index-NT0oDQzh.js @@ -0,0 +1 @@ +import{b as T,A as s}from"./index-zjj_i2Xu.js";import{g as D,b as g}from"./columns-obOP2Awr.js";import{u as V}from"./dynamic-table-0dDQM8_O.js";import"./ApiSelect.vue_vue_type_script_setup_true_lang-w2BFpwRk.js";import{d as x,r as u,cr as S,o as k,I as N,Q as P,k as f,K as b,_ as A,B as y,a3 as q}from"./vendor-PZoYaLWz.js";import"./index.vue_vue_type_style_index_0_lang-35qbmpIP.js";import{u as M}from"./useFormModal-Z6rDe6Nh.js";import{u as R}from"./tabsView-FTMw9DEO.js";import"./dateUtil-15Jj70TU.js";import"./schema-form.vue_vue_type_script_setup_true_lang-iMSwIqZ0.js";import"./index-XMdBM6P7.js";import"./index-FiLqFnhx.js";import"./Icon.vue_vue_type_script_setup_true_lang-L3JttlNa.js";import"./useModal-L2aP7aoQ.js";const $=(n,t)=>[{field:"typeId",component:"Select",label:"所属字典类型",rules:[{required:!0,type:"number"}],defaultValue:t,componentProps:{options:n,disabled:!0}},{field:"label",component:"Input",label:"字典项名称",rules:[{required:!0,type:"string"}]},{field:"value",component:"Input",label:"字典项值",rules:[{required:!0,type:"string"}]},{field:"orderNo",component:"InputNumber",label:"排序",defaultValue:0,componentProps:{style:{width:"100%"}}},{field:"status",label:"状态",component:"RadioGroup",defaultValue:1,componentProps:{options:[{label:"启用",value:1},{label:"禁用",value:0}]}},{field:"remark",component:"InputTextArea",label:"备注",colProps:{span:24}}],Y=x({name:"SystemDictItem",__name:"index",async setup(n){let t,r;const I=R(),m=T(),a=u(Number(m.params.id)),l=u([]),d=([t,r]=S(()=>s.systemDictType.dictTypeGetAll()),t=await t,r(),t);l.value=d.map(e=>({label:e.name,value:e.id,code:e.code})),k(()=>{const e=d.find(o=>o.id===a.value);I.updateTabTitle(`${m.meta.title}(${e?.name})`)});const[h,p]=V({formProps:{schemas:D(l.value,_),initialValues:{typeId:a.value},onReset(e){Number.isInteger(e?.typeId)&&(a.value=e.typeId)}}}),[v]=M(),c=async e=>{const[o]=await v({modalProps:{title:`${e.id?"编辑":"新增"}字典项`,width:"50%",onFinish:async i=>{e.id?await s.systemDictItem.dictItemUpdate({id:e.id},i):await s.systemDictItem.dictItemCreate(i),p?.reload()}},formProps:{labelWidth:120,schemas:$(l.value,a.value)}});o?.setFieldsValue({...e})},w=async e=>{await s.systemDictItem.dictItemDelete({id:e.id}),p?.reload()};function _(e){a.value=e}const C=[...g,{title:"操作",width:130,dataIndex:"ACTION",hideInSearch:!0,fixed:"right",actions:({record:e})=>[{label:"编辑",auth:{perm:"system:dict-item:update",effect:"disable"},onClick:()=>c(e)},{label:"删除",auth:"system:dict-item:delete",popConfirm:{title:"你确定要删除吗?",placement:"left",onConfirm:()=>w(e)}}]}];return(e,o)=>{const i=q("a-button");return N(),P("div",null,[f(y(h),{"row-key":"id","header-title":"字典项管理","data-request":y(s).systemDictItem.dictItemList,columns:C,bordered:"",size:"small","search-params":{typeId:a.value}},{toolbar:b(()=>[f(i,{type:"primary",disabled:!e.$auth("system:dict-item:create"),onClick:o[0]||(o[0]=B=>c({}))},{default:b(()=>[A(" 新增 ")]),_:1},8,["disabled"])]),_:1},8,["data-request","search-params"])])}}});export{Y as default}; diff --git a/assets/index-PLq5aWFp.js b/assets/index-PLq5aWFp.js new file mode 100644 index 000000000..50298d34f --- /dev/null +++ b/assets/index-PLq5aWFp.js @@ -0,0 +1 @@ +import{t as _,c as f}from"./columns-kpi6AGjg.js";import{u as b}from"./dynamic-table-0dDQM8_O.js";import"./index-zjj_i2Xu.js";import"./ApiSelect.vue_vue_type_script_setup_true_lang-w2BFpwRk.js";import{d as y,I as n,Q as r,k as t,K as o,_ as i,B as a,F as x,S as C,a7 as h,R as w,ba as g,b8 as k}from"./vendor-PZoYaLWz.js";import{w as T}from"./common-fvKDkUSQ.js";import"./schema-form.vue_vue_type_script_setup_true_lang-iMSwIqZ0.js";import"./index-XMdBM6P7.js";import"./dateUtil-15Jj70TU.js";import"./index-FiLqFnhx.js";import"./Icon.vue_vue_type_script_setup_true_lang-L3JttlNa.js";const B=w("a",{class:"text-red-500"},"[测试bodyCell]",-1),K=y({__name:"index",setup(D){const[m,l]=b(),c=async e=>(await T(500),l?.getQueryFormRef()?.updateSchema?.([{field:"price",componentProps:{options:[{label:"0-199",value:"0-199"},{label:"200-999",value:"200-999"}]}}]),{...e,items:_}),p=(e,s)=>{s.width=e};return(e,s)=>(n(),r("div",null,[t(a(g),{message:"查询表格",type:"info","show-icon":""},{description:o(()=>[i(" 查询表格-查询表单使用示例 ")]),_:1}),t(a(k),{title:"查询表单基本使用示例",style:{"margin-top":"20px"}},{default:o(()=>[t(a(m),{size:"small",bordered:"","data-request":c,columns:a(f),"row-key":"id",onResizeColumn:p},{bodyCell:o(({column:d,record:u})=>[d.dataIndex==="name"?(n(),r(x,{key:0},[i(C(u.name)+" ",1),B],64)):h("",!0)]),_:1},8,["columns"])]),_:1})]))}});export{K as default}; diff --git a/assets/index-RIWuwKgT.js b/assets/index-RIWuwKgT.js new file mode 100644 index 000000000..62f750080 --- /dev/null +++ b/assets/index-RIWuwKgT.js @@ -0,0 +1 @@ +import{_ as U}from"./Icon.vue_vue_type_script_setup_true_lang-L3JttlNa.js";import{_ as V}from"./AvatarUpload.vue_vue_type_script_setup_true_lang-7h8-6bHo.js";import{A as b,$ as K}from"./index-zjj_i2Xu.js";import{f as R}from"./dateUtil-15Jj70TU.js";import{k as a,ae as q,aV as _,aY as L,bp as N,d as k,r as v,bt as O,I as C,Q as B,R as m,L as P,_ as p,b as M,J as j,K as i,as as F,B as I,S as X,a1 as W,cd as G,a3 as J,ba as Q}from"./vendor-PZoYaLWz.js";import Y from"./DeptTree-FJ_q99Vm.js";import{u as z}from"./dynamic-table-0dDQM8_O.js";import"./ApiSelect.vue_vue_type_script_setup_true_lang-w2BFpwRk.js";import"./index.vue_vue_type_style_index_0_lang-35qbmpIP.js";import{u as H}from"./useFormModal-Z6rDe6Nh.js";import{f as Z}from"./common-fvKDkUSQ.js";import"./schema-form.vue_vue_type_script_setup_true_lang-iMSwIqZ0.js";import"./index-XMdBM6P7.js";import"./index-FiLqFnhx.js";import"./useModal-L2aP7aoQ.js";const ee=[{field:"avatar",component:()=>V,label:"头像"},{field:"deptId",component:"TreeSelect",label:"所属部门",componentProps:{fieldNames:{label:"name",value:"id"},getPopupContainer:()=>document.body},rules:[{required:!0,type:"number"}]},{field:"roleIds",component:"Select",label:"所属角色",rules:[{required:!0,type:"array"}],componentProps:{mode:"multiple",request:async()=>{const{items:t=[]}=await b.systemRole.roleList({});return t.map(o=>({label:o.name,value:o.id}))}}},{field:"username",component:"Input",label:"用户名",rules:[{required:!0}]},{field:"password",label:"密码",component:"InputPassword",componentProps:{placeholder:"无需修改请留空"}},{field:"nickname",component:"Input",label:"呢称",colProps:{span:12}},{field:"email",component:"Input",label:"邮箱",colProps:{span:12}},{field:"phone",component:"Input",label:"手机",colProps:{span:12}},{field:"remark",component:"InputTextArea",label:"备注"},{field:"status",component:"RadioGroup",label:"状态",defaultValue:1,componentProps:{options:[{label:"启用",value:1},{label:"禁用",value:0}]}}];function te(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!N(t)}const oe=t=>/^https?:\/\//.test(t)?t:K+t,ne=[{title:"头像",width:80,dataIndex:"avatar",hideInSearch:!0,customRender:({record:t})=>a(q,{src:oe(t.avatar)},null)},{title:"用户名",width:120,dataIndex:"username"},{title:"呢称",width:120,hideInSearch:!0,dataIndex:"nickname"},{title:"所在部门",dataIndex:"dept",hideInSearch:!0,width:180,customRender:({record:t})=>a(_,null,{default:()=>[t.dept?.name]})},{title:"所属角色",dataIndex:"roleNames",hideInSearch:!0,width:220,customRender:({record:t})=>{let o;return a(L,null,te(o=t.roles.map(s=>a(_,{color:"success",key:s.id},{default:()=>[s.name]})))?o:{default:()=>[o]})}},{title:"邮箱",width:120,dataIndex:"email"},{title:"手机",width:120,dataIndex:"phone"},{title:"备注",width:120,dataIndex:"remark"},{title:"状态",dataIndex:"status",width:100,hideInSearch:!0,formItemProps:{component:"Select",componentProps:{options:[{label:"启用",value:1},{label:"禁用",value:0}]}},customRender:({record:t})=>{const o=~~t.status===1;return a(_,{color:o?"success":"red"},{default:()=>[o?"启用":"禁用"]})}},{title:"创建时间",dataIndex:"createdAt",width:120,hideInSearch:!0,customRender:({record:t})=>R(t.createdAt)},{title:"修改时间",dataIndex:"updatedAt",width:120,hideInSearch:!0,customRender:({record:t})=>R(t.createdAt)}],ae={class:"split-wrapper"},se={class:"left-content"},le=m("i",null,null,-1),re=m("i",null,null,-1),de=[le,re],ie={class:"right-content"},ce=k({__name:"index",setup(t){const o=v();let s,w;const f=O(function(l){o.value&&(o.value.style.width=`${w+l.clientX-s}px`)},20),c=()=>{document.documentElement.style.userSelect="unset",document.documentElement.removeEventListener("mousemove",f),document.documentElement.removeEventListener("mouseup",c)},r=l=>{s=l.clientX,o.value&&(w=parseInt(window.getComputedStyle(o.value).width,10)),document.documentElement.style.userSelect="none",document.documentElement.addEventListener("mousemove",f),document.documentElement.addEventListener("mouseup",c)};return(l,S)=>(C(),B("div",ae,[m("div",{ref_key:"scalable",ref:o,class:"scalable"},[m("div",se,[P(l.$slots,"left-content",{},()=>[p(" 右边内容区 ")])]),m("div",{ref:"separator",class:"separator",onMousedown:r},de,544)],512),m("div",ie,[P(l.$slots,"right-content",{},()=>[p(" 右边内容区 ")])])]))}}),Pe=k({name:"SystemUser",__name:"index",setup(t){const[o,s]=z({formProps:{autoSubmitOnEnter:!0}}),[w]=H(),f=v(),c=v([]),r=v({selectedRowKeys:[],onChange:(e,n)=>{`${e}`,r.value.selectedRowKeys=e}}),l=M(()=>r.value.selectedRowKeys.length),S=async e=>{const n=await b.systemUser.userList({...e,deptId:f.value});return r.value.selectedRowKeys=[],n},g=async(e={})=>{const{userCreate:n,userUpdate:h}=b.systemUser,y=!!e.id,[d]=await w({modalProps:{title:`${y?"编辑":"新增"}用户`,width:700,onFinish:async u=>{u.id=e.id,e.id?await h({id:e.id},u):await n(u),s?.reload()}},formProps:{labelWidth:100,schemas:ee,autoSubmitOnEnter:!0}});if(e.id){const{roles:u,dept:A}=await b.systemUser.userRead({id:e.id});d?.setFieldsValue({...e,deptId:A.id,roleIds:u.map(D=>D.id)}),d?.updateSchema([{field:"username",componentProps:{disabled:!0}},{field:"password",required:!1}])}else d?.updateSchema([{field:"username",componentProps:{disabled:!1}},{field:"password",required:!0,defaultValue:"a123456",componentProps:{placeholder:"请输入"}}]);d?.updateSchema([{field:"deptId",componentProps:{treeDefaultExpandedKeys:Z(c.value,d?.getFieldsValue().deptId)||[],treeData:c.value}}])},x=async e=>{const{userDelete:n}=b.systemUser;Array.isArray(e)?W.confirm({title:"确定要删除所选的用户吗?",icon:a(G,null,null),centered:!0,onOk:async()=>{await n({id:e.join(",")}),s?.reload()}}):await n({id:e}).finally(s?.reload)},E=e=>{f.value=e,s?.reload()},T=e=>{c.value=e},$=[...ne,{title:"操作",width:80,dataIndex:"ACTION",fixed:"right",actions:({record:e})=>[{icon:"ant-design:edit-outlined",tooltip:"编辑用户资料",auth:{perm:"system:user:update",effect:"disable"},onClick:()=>g(e)},{icon:"ant-design:delete-outlined",color:"red",tooltip:"删除此账号",auth:"system:user:delete",popConfirm:{title:"你确定要删除吗?",placement:"left",onConfirm:()=>x(e.id)}}]}];return(e,n)=>{const h=J("a-button"),y=U;return C(),j(I(ce),null,{"left-content":i(()=>[a(Y,{onSelect:E,onInit:T})]),"right-content":i(()=>[a(I(o),{"header-title":"用户管理","show-index":"","title-tooltip":"请不要随意删除用户,避免到影响其他用户的使用。","data-request":S,columns:$,scroll:{x:2e3},"row-selection":r.value},F({toolbar:i(()=>[a(h,{type:"primary",disabled:!e.$auth("system:user:create"),onClick:n[1]||(n[1]=d=>g({}))},{default:i(()=>[a(y,{icon:"ant-design:plus-outlined"}),p(" 新增 ")]),_:1},8,["disabled"]),a(h,{type:"error",disabled:!l.value||!e.$auth("system:user:delete"),onClick:n[2]||(n[2]=d=>x(r.value.selectedRowKeys))},{default:i(()=>[a(y,{icon:"ant-design:delete-outlined"}),p(" 删除 ")]),_:1},8,["disabled"])]),_:2},[l.value?{name:"title",fn:i(()=>[a(I(Q),{class:"w-full",type:"info","show-icon":""},{message:i(()=>[p(" 已选 "+X(l.value)+" 项 ",1),a(h,{type:"link",onClick:n[0]||(n[0]=d=>r.value.selectedRowKeys=[])},{default:i(()=>[p("取消选择")]),_:1})]),_:1})]),key:"0"}:void 0]),1032,["row-selection"])]),_:1})}}});export{Pe as default}; diff --git a/assets/index-RoB4PfEz.css b/assets/index-RoB4PfEz.css new file mode 100644 index 000000000..b85788a80 --- /dev/null +++ b/assets/index-RoB4PfEz.css @@ -0,0 +1 @@ +.btn-rows button[data-v-0627d608]{margin-right:12px} diff --git a/assets/index-TT1TVQwR.js b/assets/index-TT1TVQwR.js new file mode 100644 index 000000000..a6fb67dd4 --- /dev/null +++ b/assets/index-TT1TVQwR.js @@ -0,0 +1,80 @@ +import{u as Ka,R as Ze}from"./index-zjj_i2Xu.js";import"./vendor-PZoYaLWz.js";const Ja=new URL("https://nest-api.buqiyuan.site",location.origin).toString(),z=a=>Ka(Ja+a);function me(a,{message:e="ok"}={}){return{code:Ze.SUCCESS,data:a,message:e,type:"success"}}function be(a,e,i,{message:t="ok"}={}){const n=Xe(a,e,i);return{...me({items:n,meta:{currentPage:~~a,totalItems:i.length,totalPages:Math.ceil(i.length/e)}}),message:t}}function $a(a="Request failed",{code:e=Ze.ERROR,data:i=null}={}){return{code:e,data:i,message:a,type:"error"}}function Xe(a,e,i){const t=(a-1)*Number(e);return t+Number(e)>=i.length?i.slice(t,i.length):i.slice(t,t+Number(e))}function Ua({headers:a}){return a?.authorization}const se=a=>{const e=new URL(a.url);return Object.fromEntries(e.searchParams.entries())},Va=Object.freeze(Object.defineProperty({__proto__:null,getQuery:se,getRequestToken:Ua,pagination:Xe,resultError:$a,resultPageSuccess:be,resultSuccess:me,serverApi:z},Symbol.toStringTag,{value:"Module"}));var Ya=/(%?)(%([sdijo]))/g;function Za(a,e){switch(e){case"s":return a;case"d":case"i":return Number(a);case"j":return JSON.stringify(a);case"o":{if(typeof a=="string")return a;const i=JSON.stringify(a);return i==="{}"||i==="[]"||/^\[object .+?\]$/.test(i)?a:i}}}function Ee(a,...e){if(e.length===0)return a;let i=0,t=a.replace(Ya,(n,o,g,s)=>{const r=e[i],u=Za(r,s);return o?n:(i++,u)});return i{if(!a)throw new ei(e,...i)};ie.as=(a,e,i,...t)=>{if(!e){const n=t.length===0?i:Ee(i,t);let o;try{o=Reflect.construct(a,[n])}catch{o=a(n)}throw o}};const ai="[MSW]";function ve(a,...e){const i=Ee(a,...e);return`${ai} ${i}`}function ii(a,...e){console.warn(ve(a,...e))}function ti(a,...e){console.error(ve(a,...e))}const v={formatMessage:ve,warn:ii,error:ti};function ni(){ie(typeof URL<"u",v.formatMessage(`Global "URL" class is not defined. This likely means that you're running MSW in an environment that doesn't support all Node.js standard API (e.g. React Native). If that's the case, please use an appropriate polyfill for the "URL" class, like "react-native-url-polyfill".`))}var oi=class extends Error{constructor(e,i,t){super(`Possible EventEmitter memory leak detected. ${t} ${i.toString()} listeners added. Use emitter.setMaxListeners() to increase limit`),this.emitter=e,this.type=i,this.count=t,this.name="MaxListenersExceededWarning"}},Qe=class{static listenerCount(e,i){return e.listenerCount(i)}constructor(){this.events=new Map,this.maxListeners=Qe.defaultMaxListeners,this.hasWarnedAboutPotentialMemoryLeak=!1}_emitInternalEvent(e,i,t){this.emit(e,i,t)}_getListeners(e){return Array.prototype.concat.apply([],this.events.get(e))||[]}_removeListener(e,i){const t=e.indexOf(i);return t>-1&&e.splice(t,1),[]}_wrapOnceListener(e,i){const t=(...n)=>(this.removeListener(e,t),i.apply(this,n));return Object.defineProperty(t,"name",{value:i.name}),t}setMaxListeners(e){return this.maxListeners=e,this}getMaxListeners(){return this.maxListeners}eventNames(){return Array.from(this.events.keys())}emit(e,...i){const t=this._getListeners(e);return t.forEach(n=>{n.apply(this,i)}),t.length>0}addListener(e,i){this._emitInternalEvent("newListener",e,i);const t=this._getListeners(e).concat(i);if(this.events.set(e,t),this.maxListeners>0&&this.listenerCount(e)>this.maxListeners&&!this.hasWarnedAboutPotentialMemoryLeak){this.hasWarnedAboutPotentialMemoryLeak=!0;const n=new oi(this,e,this.listenerCount(e));console.warn(n)}return this}on(e,i){return this.addListener(e,i)}once(e,i){return this.addListener(e,this._wrapOnceListener(e,i))}prependListener(e,i){const t=this._getListeners(e);if(t.length>0){const n=[i].concat(t);this.events.set(e,n)}else this.events.set(e,t.concat(i));return this}prependOnceListener(e,i){return this.prependListener(e,this._wrapOnceListener(e,i))}removeListener(e,i){const t=this._getListeners(e);return t.length>0&&(this._removeListener(t,i),this.events.set(e,t),this._emitInternalEvent("removeListener",e,i)),this}off(e,i){return this.removeListener(e,i)}removeAllListeners(e){return e?this.events.delete(e):this.events.clear(),this}listeners(e){return Array.from(this._getListeners(e))}listenerCount(e){return this._getListeners(e).length}rawListeners(e){return this.listeners(e)}},ke=Qe;ke.defaultMaxListeners=10;function gi(a,e){const i=a.emit;if(i._isPiped)return;const t=function(o,...g){return e.emit(o,...g),i.call(this,o,...g)};t._isPiped=!0,a.emit=t}function si(a){const e=[...a];return Object.freeze(e),e}class ui{subscriptions=[];async dispose(){await Promise.all(this.subscriptions.map(e=>e()))}}class ri{constructor(e){this.initialHandlers=e,this.handlers=[...e]}handlers;prepend(e){this.handlers.unshift(...e)}reset(e){this.handlers=e.length>0?[...e]:[...this.initialHandlers]}currentHandlers(){return this.handlers}}class li extends ui{handlersController;emitter;publicEmitter;events;constructor(...e){super(),ie(this.validateHandlers(e),v.formatMessage("Failed to apply given request handlers: invalid input. Did you forget to spread the request handlers Array?")),this.handlersController=new ri(e),this.emitter=new ke,this.publicEmitter=new ke,gi(this.emitter,this.publicEmitter),this.events=this.createLifeCycleEvents(),this.subscriptions.push(()=>{this.emitter.removeAllListeners(),this.publicEmitter.removeAllListeners()})}validateHandlers(e){return e.every(i=>!Array.isArray(i))}use(...e){ie(this.validateHandlers(e),v.formatMessage('Failed to call "use()" with the given request handlers: invalid input. Did you forget to spread the array of request handlers?')),this.handlersController.prepend(e)}restoreHandlers(){this.handlersController.currentHandlers().forEach(e=>{e.isUsed=!1})}resetHandlers(...e){this.handlersController.reset(e)}listHandlers(){return si(this.handlersController.currentHandlers())}createLifeCycleEvents(){return{on:(...e)=>this.publicEmitter.on(...e),removeListener:(...e)=>this.publicEmitter.removeListener(...e),removeAllListeners:(...e)=>this.publicEmitter.removeAllListeners(...e)}}}const mi=/[\/\\]msw[\/\\]src[\/\\](.+)/,ci=/(node_modules)?[\/\\]lib[\/\\](core|browser|node|native|iife)[\/\\]|^[^\/\\]*$/;function pi(a){const e=a.stack;if(!e)return;const t=e.split(` +`).slice(1).find(o=>!(mi.test(o)||ci.test(o)));return t?t.replace(/\s*at [^()]*\(([^)]+)\)/,"$1").replace(/^@/,""):void 0}function di(a){return a?typeof a[Symbol.iterator]=="function":!1}class te{static cache=new WeakMap;info;isUsed;resolver;resolverGenerator;resolverGeneratorResult;options;constructor(e){this.resolver=e.resolver,this.options=e.options;const i=pi(new Error);this.info={...e.info,callFrame:i},this.isUsed=!1}async parse(e){return{}}async test(e){const i=await this.parse({request:e.request,resolutionContext:e.resolutionContext});return this.predicate({request:e.request,parsedResult:i,resolutionContext:e.resolutionContext})}extendResolverArgs(e){return{}}cloneRequestOrGetFromCache(e){const i=te.cache.get(e);if(typeof i<"u")return i;const t=e.clone();return te.cache.set(e,t),t}async run(e){if(this.isUsed&&this.options?.once)return null;const i=this.cloneRequestOrGetFromCache(e.request),t=await this.parse({request:e.request,resolutionContext:e.resolutionContext});if(!this.predicate({request:e.request,parsedResult:t,resolutionContext:e.resolutionContext})||this.isUsed&&this.options?.once)return null;this.isUsed=!0;const o=this.wrapResolver(this.resolver),g=this.extendResolverArgs({request:e.request,parsedResult:t}),r=await o({...g,requestId:e.requestId,request:e.request}).catch(l=>{if(l instanceof Response)return l;throw l});return this.createExecutionResult({request:i,requestId:e.requestId,response:r,parsedResult:t})}wrapResolver(e){return async i=>{const t=this.resolverGenerator||await e(i);if(di(t)){this.isUsed=!1;const{value:n,done:o}=t[Symbol.iterator]().next(),g=await n;return o&&(this.isUsed=!0),!g&&o?(ie(this.resolverGeneratorResult,"Failed to returned a previously stored generator response: the value is not a valid Response."),this.resolverGeneratorResult.clone()):(this.resolverGenerator||(this.resolverGenerator=t),g&&(this.resolverGeneratorResult=g?.clone()),g)}return t}}createExecutionResult(e){return{handler:this,request:e.request,requestId:e.requestId,response:e.response,parsedResult:e.parsedResult}}}function hi(a,e){return a.toLowerCase()===e.toLowerCase()}function Fi(a){return a<300?"#69AB32":a<400?"#F0BB4B":"#E95F5D"}function bi(){const a=new Date;return[a.getHours(),a.getMinutes(),a.getSeconds()].map(String).map(e=>e.slice(0,2)).map(e=>e.padStart(2,"0")).join(":")}async function ki(a){const i=await a.clone().text();return{url:new URL(a.url),method:a.method,headers:Object.fromEntries(a.headers.entries()),body:i}}var yi=Object.create,ea=Object.defineProperty,fi=Object.getOwnPropertyDescriptor,aa=Object.getOwnPropertyNames,Di=Object.getPrototypeOf,Ai=Object.prototype.hasOwnProperty,ia=(a,e)=>function(){return e||(0,a[aa(a)[0]])((e={exports:{}}).exports,e),e.exports},Ci=(a,e,i,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of aa(e))!Ai.call(a,n)&&n!==i&&ea(a,n,{get:()=>e[n],enumerable:!(t=fi(e,n))||t.enumerable});return a},Ei=(a,e,i)=>(i=a!=null?yi(Di(a)):{},Ci(e||!a||!a.__esModule?ea(i,"default",{value:a,enumerable:!0}):i,a)),vi=ia({"node_modules/statuses/codes.json"(a,e){e.exports={100:"Continue",101:"Switching Protocols",102:"Processing",103:"Early Hints",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a Teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Too Early",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}}}),wi=ia({"node_modules/statuses/index.js"(a,e){var i=vi();e.exports=s,s.message=i,s.code=t(i),s.codes=n(i),s.redirect={300:!0,301:!0,302:!0,303:!0,305:!0,307:!0,308:!0},s.empty={204:!0,205:!0,304:!0},s.retry={502:!0,503:!0,504:!0};function t(r){var u={};return Object.keys(r).forEach(function(c){var m=r[c],F=Number(c);u[m.toLowerCase()]=F}),u}function n(r){return Object.keys(r).map(function(l){return Number(l)})}function o(r){var u=r.toLowerCase();if(!Object.prototype.hasOwnProperty.call(s.code,u))throw new Error('invalid status message: "'+r+'"');return s.code[u]}function g(r){if(!Object.prototype.hasOwnProperty.call(s.message,r))throw new Error("invalid status code: "+r);return s.message[r]}function s(r){if(typeof r=="number")return g(r);if(typeof r!="string")throw new TypeError("code must be a number or string");var u=parseInt(r,10);return isNaN(u)?o(r):g(u)}}}),ji=Ei(wi(),1),ta=ji.default;/*! Bundled license information: + +statuses/index.js: + (*! + * statuses + * Copyright(c) 2014 Jonathan Ong + * Copyright(c) 2016 Douglas Christopher Wilson + * MIT Licensed + *) +*/const{message:Bi}=ta;async function Si(a){const e=a.clone(),i=await e.text(),t=e.status||200,n=e.statusText||Bi[t]||"OK";return{status:t,statusText:n,headers:Object.fromEntries(e.headers.entries()),body:i}}function Mi(a){for(var e=[],i=0;i=48&&g<=57||g>=65&&g<=90||g>=97&&g<=122||g===95){n+=a[o++];continue}break}if(!n)throw new TypeError("Missing parameter name at ".concat(i));e.push({type:"NAME",index:i,value:n}),i=o;continue}if(t==="("){var s=1,r="",o=i+1;if(a[o]==="?")throw new TypeError('Pattern cannot start with "?" at '.concat(o));for(;o)?(?!\?)/g,t=0,n=i.exec(a.source);n;)e.push({name:n[1]||t++,prefix:"",suffix:"",modifier:"",pattern:""}),n=i.exec(a.source);return a}function Pi(a,e,i){var t=a.map(function(n){return oa(n,e,i).source});return new RegExp("(?:".concat(t.join("|"),")"),na(i))}function Hi(a,e,i){return zi(xi(a,i),e,i)}function zi(a,e,i){i===void 0&&(i={});for(var t=i.strict,n=t===void 0?!1:t,o=i.start,g=o===void 0?!0:o,s=i.end,r=s===void 0?!0:s,u=i.encode,l=u===void 0?function(M){return M}:u,c=i.delimiter,m=c===void 0?"/#?":c,F=i.endsWith,p=F===void 0?"":F,h="[".concat(V(p),"]|$"),k="[".concat(V(m),"]"),f=g?"^":"",C=0,j=a;C-1:A===void 0;n||(f+="(?:".concat(k,"(?=").concat(h,"))?")),I||(f+="(?=".concat(k,"|").concat(h,")"))}return new RegExp(f,na(i))}function oa(a,e,i){return a instanceof RegExp?Li(a,e):Array.isArray(a)?Pi(a,e,i):Hi(a,e,i)}new TextEncoder;function ga(){if(typeof navigator<"u"&&navigator.product==="ReactNative")return!0;if(typeof process<"u"){const a=process.type;return a==="renderer"||a==="worker"?!1:!!(process.versions&&process.versions.node)}return!1}var Ii=Object.defineProperty,Ni=(a,e)=>{for(var i in e)Ii(a,i,{get:e[i],enumerable:!0})},qi={};Ni(qi,{blue:()=>Wi,gray:()=>_i,green:()=>Ki,red:()=>Oi,yellow:()=>Gi});function Gi(a){return`\x1B[33m${a}\x1B[0m`}function Wi(a){return`\x1B[34m${a}\x1B[0m`}function _i(a){return`\x1B[90m${a}\x1B[0m`}function Oi(a){return`\x1B[31m${a}\x1B[0m`}function Ki(a){return`\x1B[32m${a}\x1B[0m`}ga();function Ji(a,e=!0){return[e&&a.origin,a.pathname].filter(Boolean).join("")}const $i=/[\?|#].*$/g;function Ui(a){return new URL(`/${a}`,"http://localhost").searchParams}function sa(a){return a.replace($i,"")}function Vi(a){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(a)}function Yi(a,e){if(Vi(a)||a.startsWith("*"))return a;const i=e||typeof document<"u"&&document.baseURI;return i?decodeURI(new URL(encodeURI(a),i).href):a}function Zi(a,e){if(a instanceof RegExp)return a;const i=Yi(a,e);return sa(i)}function Xi(a){return a.replace(/([:a-zA-Z_-]*)(\*{1,2})+/g,(e,i,t)=>{const n="(.*)";return i?i.startsWith(":")?`${i}${t}`:`${i}${n}`:n}).replace(/([^\/])(:)(?=\d+)/,"$1\\$2").replace(/^([^\/]+)(:)(?=\/\/)/,"$1\\$2")}function Qi(a,e,i){const t=Zi(e,i),n=typeof t=="string"?Xi(t):t,o=Ji(a),g=Ti(n,{decode:decodeURIComponent})(o),s=g&&g.params||{};return{matches:g!==!1,params:s}}function ua(a){if(typeof location>"u")return a.toString();const e=a instanceof URL?a:new URL(a);return e.origin===location.origin?e.pathname:e.origin+e.pathname}var et=Object.create,ra=Object.defineProperty,at=Object.getOwnPropertyDescriptor,la=Object.getOwnPropertyNames,it=Object.getPrototypeOf,tt=Object.prototype.hasOwnProperty,nt=(a,e)=>function(){return e||(0,a[la(a)[0]])((e={exports:{}}).exports,e),e.exports},ot=(a,e,i,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of la(e))!tt.call(a,n)&&n!==i&&ra(a,n,{get:()=>e[n],enumerable:!(t=at(e,n))||t.enumerable});return a},gt=(a,e,i)=>(i=a!=null?et(it(a)):{},ot(e||!a||!a.__esModule?ra(i,"default",{value:a,enumerable:!0}):i,a)),st=nt({"node_modules/cookie/index.js"(a){a.parse=t,a.serialize=n;var e=Object.prototype.toString,i=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function t(u,l){if(typeof u!="string")throw new TypeError("argument str must be a string");for(var c={},m=l||{},F=m.decode||o,p=0;pfunction(){return e||(0,a[ca(a)[0]])((e={exports:{}}).exports,e),e.exports},dt=(a,e,i,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of ca(e))!ct.call(a,n)&&n!==i&&ma(a,n,{get:()=>e[n],enumerable:!(t=lt(e,n))||t.enumerable});return a},ht=(a,e,i)=>(i=a!=null?rt(mt(a)):{},dt(e||!a||!a.__esModule?ma(i,"default",{value:a,enumerable:!0}):i,a)),Ft=pt({"node_modules/set-cookie-parser/lib/set-cookie.js"(a,e){var i={decodeValues:!0,map:!1,silent:!1};function t(r){return typeof r=="string"&&!!r.trim()}function n(r,u){var l=r.split(";").filter(t),c=l.shift(),m=o(c),F=m.name,p=m.value;u=u?Object.assign({},i,u):i;try{p=u.decodeValues?decodeURIComponent(p):p}catch(k){console.error("set-cookie-parser encountered an error while decoding a cookie with value '"+p+"'. Set options.decodeValues to false to disable this feature.",k)}var h={name:F,value:p};return l.forEach(function(k){var f=k.split("="),C=f.shift().trimLeft().toLowerCase(),j=f.join("=");C==="expires"?h.expires=new Date(j):C==="max-age"?h.maxAge=parseInt(j,10):C==="secure"?h.secure=!0:C==="httponly"?h.httpOnly=!0:C==="samesite"?h.sameSite=j:h[C]=j}),h}function o(r){var u="",l="",c=r.split("=");return c.length>1?(u=c.shift(),l=c.join("=")):l=r,{name:u,value:l}}function g(r,u){if(u=u?Object.assign({},i,u):i,!r)return u.map?{}:[];if(r.headers)if(typeof r.headers.getSetCookie=="function")r=r.headers.getSetCookie();else if(r.headers["set-cookie"])r=r.headers["set-cookie"];else{var l=r.headers[Object.keys(r.headers).find(function(m){return m.toLowerCase()==="set-cookie"})];!l&&r.headers.cookie&&!u.silent&&console.warn("Warning: set-cookie-parser appears to have been called on a request object. It is designed to parse Set-Cookie headers from responses, not Cookie headers from requests. Set the option {silent: true} to suppress this warning."),r=l}if(Array.isArray(r)||(r=[r]),u=u?Object.assign({},i,u):i,u.map){var c={};return r.filter(t).reduce(function(m,F){var p=n(F,u);return m[p.name]=p,m},c)}else return r.filter(t).map(function(m){return n(m,u)})}function s(r){if(Array.isArray(r))return r;if(typeof r!="string")return[];var u=[],l=0,c,m,F,p,h;function k(){for(;l=r.length)&&u.push(r.substring(c,r.length))}return u}e.exports=g,e.exports.parse=g,e.exports.parseString=n,e.exports.splitCookiesString=s}}),Be=ht(Ft()),Y="MSW_COOKIE_STORE";function Se(){try{if(localStorage==null)return!1;const a=Y+"_test";return localStorage.setItem(a,"test"),localStorage.getItem(a),localStorage.removeItem(a),!0}catch{return!1}}function Me(a,e){try{return a[e],!0}catch{return!1}}var bt=class{constructor(){this.store=new Map}add(a,e){if(Me(a,"credentials")&&a.credentials==="omit")return;const i=new URL(a.url),t=e.headers.get("set-cookie");if(!t)return;const n=Date.now(),o=(0,Be.parse)(t).map(({maxAge:s,...r})=>({...r,expires:s===void 0?r.expires:new Date(n+s*1e3),maxAge:s})),g=this.store.get(i.origin)||new Map;o.forEach(s=>{this.store.set(i.origin,g.set(s.name,s))})}get(a){this.deleteExpiredCookies();const e=new URL(a.url),i=this.store.get(e.origin)||new Map;if(!Me(a,"credentials"))return i;switch(a.credentials){case"include":return typeof document>"u"||(0,Be.parse)(document.cookie).forEach(n=>{i.set(n.name,n)}),i;case"same-origin":return i;default:return new Map}}getAll(){return this.deleteExpiredCookies(),this.store}deleteAll(a){const e=new URL(a.url);this.store.delete(e.origin)}clear(){this.store.clear()}hydrate(){if(!Se())return;const a=localStorage.getItem(Y);if(a)try{JSON.parse(a).forEach(([i,t])=>{this.store.set(i,new Map(t.map(([n,{expires:o,...g}])=>[n,o===void 0?g:{...g,expires:new Date(o)}])))})}catch(e){console.warn(` +[virtual-cookie] Failed to parse a stored cookie from the localStorage (key "${Y}"). + +Stored value: +${localStorage.getItem(Y)} + +Thrown exception: +${e} + +Invalid value has been removed from localStorage to prevent subsequent failed parsing attempts.`),localStorage.removeItem(Y)}}persist(){if(!Se())return;const a=Array.from(this.store.entries()).map(([e,i])=>[e,Array.from(i.entries())]);localStorage.setItem(Y,JSON.stringify(a))}deleteExpiredCookies(){const a=Date.now();this.store.forEach((e,i)=>{e.forEach(({expires:t,name:n})=>{t!==void 0&&t.getTime()<=a&&e.delete(n)}),e.size===0&&this.store.delete(i)})}},ue=new bt;function xe(){return ye.parse(document.cookie)}function kt(a){if(typeof document>"u"||typeof location>"u")return{};switch(a.credentials){case"same-origin":{const e=new URL(a.url);return location.origin===e.origin?xe():{}}case"include":return xe();default:return{}}}function yt(a){const e=a.headers.get("cookie"),i=e?ye.parse(e):{};ue.hydrate();const t=Array.from(ue.get(a)?.entries()).reduce((g,[s,{value:r}])=>Object.assign(g,{[s.trim()]:r}),{}),o={...kt(a),...t};for(const[g,s]of Object.entries(o))a.headers.append("cookie",ye.serialize(g,s));return{...o,...i}}var G=(a=>(a.HEAD="HEAD",a.GET="GET",a.POST="POST",a.PUT="PUT",a.PATCH="PATCH",a.OPTIONS="OPTIONS",a.DELETE="DELETE",a))(G||{});class pa extends te{constructor(e,i,t,n){super({info:{header:`${e} ${i}`,path:i,method:e},resolver:t,options:n}),this.checkRedundantQueryParameters()}checkRedundantQueryParameters(){const{method:e,path:i}=this.info;if(i instanceof RegExp||sa(i)===i)return;Ui(i).forEach((o,g)=>{}),v.warn(`Found a redundant usage of query parameters in the request handler URL for "${e} ${i}". Please match against a path instead and access query parameters in the response resolver function using "req.url.searchParams".`)}async parse(e){const i=new URL(e.request.url),t=Qi(i,this.info.path,e.resolutionContext?.baseUrl),n=yt(e.request);return{match:t,cookies:n}}predicate(e){const i=this.matchMethod(e.request.method),t=e.parsedResult.match.matches;return i&&t}matchMethod(e){return this.info.method instanceof RegExp?this.info.method.test(e):hi(this.info.method,e)}extendResolverArgs(e){return{params:e.parsedResult.match?.params||{},cookies:e.parsedResult.cookies}}async log(e){const i=ua(e.request.url),t=await ki(e.request),n=await Si(e.response),o=Fi(n.status);console.groupCollapsed(v.formatMessage(`${bi()} ${e.request.method} ${i} (%c${n.status} ${n.statusText}%c)`),`color:${o}`,"color:inherit"),console.groupEnd()}}function N(a){return(e,i,t={})=>new pa(a,e,i,t)}const _={all:N(/.+/),head:N(G.HEAD),get:N(G.GET),post:N(G.POST),put:N(G.PUT),delete:N(G.DELETE),patch:N(G.PATCH),options:N(G.OPTIONS)};var ft=async a=>{try{return{error:null,data:await a().catch(i=>{throw i})}}catch(e){return{error:e,data:null}}};const Dt=async({request:a,requestId:e,handlers:i,resolutionContext:t})=>{let n=null,o=null;for(const g of i)if(o=await g.run({request:a,requestId:e,resolutionContext:t}),o!==null&&(n=g),o?.response)break;return n?{handler:n,parsedResult:o?.parsedResult,response:o?.response}:null};async function At(a,e="warn"){const i=new URL(a.url),t=ua(i),n=`intercepted a request without a matching request handler: + + • ${a.method} ${t} + +If you still wish to intercept this unhandled request, please create a request handler for it. +Read more: https://mswjs.io/docs/getting-started/mocks`;function o(g){switch(g){case"error":throw v.error("Error: %s",n),new Error(v.formatMessage('Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'));case"warn":{v.warn("Warning: %s",n);break}case"bypass":break;default:throw new Error(v.formatMessage('Failed to react to an unhandled request: unknown strategy "%s". Please provide one of the supported strategies ("bypass", "warn", "error") or a custom callback function as the value of the "onUnhandledRequest" option.',g))}}if(typeof e=="function"){e(a,{warning:o.bind(null,"warn"),error:o.bind(null,"error")});return}i.protocol!=="file:"&&o(e)}function Ct(a,e){ue.add({...a,url:a.url.toString()},e),ue.persist()}async function da(a,e,i,t,n,o){if(n.emit("request:start",{request:a,requestId:e}),a.headers.get("x-msw-intention")==="bypass"){n.emit("request:end",{request:a,requestId:e}),o?.onPassthroughResponse?.(a);return}const g=await ft(()=>Dt({request:a,requestId:e,handlers:i,resolutionContext:o?.resolutionContext}));if(g.error)throw n.emit("unhandledException",{error:g.error,request:a,requestId:e}),g.error;if(!g.data){await At(a,t.onUnhandledRequest),n.emit("request:unhandled",{request:a,requestId:e}),n.emit("request:end",{request:a,requestId:e}),o?.onPassthroughResponse?.(a);return}const{response:s}=g.data;if(!s){n.emit("request:end",{request:a,requestId:e}),o?.onPassthroughResponse?.(a);return}if(s.status===302&&s.headers.get("x-msw-intention")==="passthrough"){n.emit("request:end",{request:a,requestId:e}),o?.onPassthroughResponse?.(a);return}Ct(a,s),n.emit("request:match",{request:a,requestId:e});const r=g.data,u=o?.transformResponse?.(s)||s;return o?.onMockedResponse?.(u,r),n.emit("request:end",{request:a,requestId:e}),u}const{message:Et}=ta;function $(a={}){const e=a?.status||200,i=a?.statusText||Et[e]||"",t=new Headers(a?.headers);return{...a,headers:t,status:e,statusText:i}}function vt(a,e){if(e.type&&Object.defineProperty(a,"type",{value:e.type,enumerable:!0,writable:!1}),typeof document<"u"){const i=e.headers.get("Set-Cookie")?.split(",")||[];for(const t of i)document.cookie=t}return a}class S extends Response{constructor(e,i){const t=$(i);super(e,t),vt(this,t)}static text(e,i){const t=$(i);return t.headers.has("Content-Type")||t.headers.set("Content-Type","text/plain"),t.headers.has("Content-Length")||t.headers.set("Content-Length",e?e.length.toString():"0"),new S(e,t)}static json(e,i){const t=$(i);t.headers.has("Content-Type")||t.headers.set("Content-Type","application/json");const n=JSON.stringify(e);return t.headers.has("Content-Length")||t.headers.set("Content-Length",n?n.length.toString():"0"),new S(n,t)}static xml(e,i){const t=$(i);return t.headers.has("Content-Type")||t.headers.set("Content-Type","text/xml"),new S(e,t)}static arrayBuffer(e,i){const t=$(i);return e&&t.headers.set("Content-Length",e.byteLength.toString()),new S(e,t)}static formData(e,i){return new S(e,$(i))}}const de=2147483647,Te=100,wt=400,jt=5;function Re(){return ga()?jt:Math.floor(Math.random()*(wt-Te)+Te)}async function O(a){let e;if(typeof a=="string")switch(a){case"infinite":{e=de;break}case"real":{e=Re();break}default:throw new Error(`Failed to delay a response: unknown delay mode "${a}". Please make sure you provide one of the supported modes ("real", "infinite") or a number.`)}else if(typeof a>"u")e=Re();else{if(a>de)throw new Error(`Failed to delay a response: provided delay duration (${a}) exceeds the maximum allowed duration for "setTimeout" (${de}). This will cause the response to be returned immediately. Please use a number within the allowed range to delay the response by exact duration, or consider the "infinite" delay mode to delay the response indefinitely.`);e=a}return new Promise(i=>setTimeout(i,e))}ni();const Bt=[{title:"正义爆轰",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=105&ADTAG=pvp.storyweb",camptype:"1",heroid:"105",appointHeroid:"7",removeHeroid:"0",occupation:"坦克",num:"107",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20200428/80750919757873.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20200428/117411278918332.jpg",pinyin:"lianpo",ename:105,cname:"廉颇",new_type:0,hero_type:3,skin_name:"正义爆轰|地狱岩魂"},{title:"恋之微风",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=106&ADTAG=pvp.storyweb",camptype:"4",heroid:"106",appointHeroid:"13",removeHeroid:"1",occupation:"法师",num:"106",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/237121077716001.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20190116/1102737314499.jpg",pinyin:"xiaoqiao",ename:106,cname:"小乔",new_type:0,hero_type:2,skin_name:"恋之微风|万圣前夜|天鹅之梦|纯白花嫁|缤纷独角兽"},{title:"苍天翔龙",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=107&ADTAG=pvp.storyweb",camptype:"4",heroid:"107",appointHeroid:"1",removeHeroid:"0",occupation:"战士/刺客",num:"105",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/422841175180785.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20190116/225211269527745.jpg",pinyin:"zhaoyun",ename:107,cname:"赵云",new_type:0,hero_type:1,hero_type2:4,skin_name:"苍天翔龙|忍●炎影|未来纪元|皇家上将|嘻哈天王|白执事|引擎之心"},{title:"和平守望",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=108&ADTAG=pvp.storyweb",camptype:"1",heroid:"108",appointHeroid:"18",removeHeroid:"0",occupation:"法师/战士",num:"104",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/62651469219485.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20181025/141381416202595.jpg",pinyin:"mozi",ename:108,cname:"墨子",new_type:0,hero_type:2,hero_type2:1,skin_name:"和平守望|金属风暴|龙骑士|进击墨子号"},{title:"魅力之狐",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=109&ADTAG=pvp.storyweb",camptype:"0",heroid:"109",appointHeroid:"2",removeHeroid:"1",occupation:"法师",num:"103",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/782471528444287.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20180327/699631230814498.jpg",pinyin:"daji",ename:109,cname:"妲己",pay_type:11,new_type:0,hero_type:2,skin_name:"魅惑之狐|女仆咖啡|魅力维加斯|仙境爱丽丝|少女阿狸|热情桑巴"},{title:"王者独尊",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=110&ADTAG=pvp.storyweb",camptype:"1",heroid:"110",appointHeroid:"8",removeHeroid:"1",occupation:"法师",num:"10",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20200323/9558902611675.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20200323/278721395811583.jpg",pinyin:"yingzheng",ename:110,cname:"嬴政",new_type:0,hero_type:2,skin_name:"王者独尊|摇滚巨星|暗夜贵公子|优雅恋人|白昼王子"},{title:"千金重弩",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=111&ADTAG=pvp.storyweb",camptype:"4",heroid:"111",appointHeroid:"25",removeHeroid:"1",occupation:"射手",num:"102",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/528761277746534.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20180327/573321328636709.jpg",pinyin:"sunshangxiang",ename:111,cname:"孙尚香",new_type:0,hero_type:5,skin_name:"千金重弩|火炮千金|水果甜心|蔷薇恋人|杀手不太冷|末日机甲|沉稳之力"},{title:"机关造物",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=112&ADTAG=pvp.storyweb",camptype:"1",heroid:"112",appointHeroid:"14",removeHeroid:"1",occupation:"射手",num:"101",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/175711332695893.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20160726/43936199005239.png",pinyin:"lubanqihao",ename:112,cname:"鲁班七号",new_type:0,hero_type:5,skin_name:"机关造物|木偶奇遇记|福禄兄弟|电玩小子|星空梦想"},{title:"逍遥梦幻",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=113&ADTAG=pvp.storyweb",camptype:"1",heroid:"113",appointHeroid:"19",removeHeroid:"0",occupation:"辅助/坦克",num:"100",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/36407803861490.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20160726/77101394382651.png",pinyin:"zhuangzhou",ename:113,cname:"庄周",new_type:0,hero_type:6,hero_type2:3,skin_name:"逍遥幻梦|鲤鱼之梦|蜃楼王|云端筑梦师"},{title:"暴走机关",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=114&ADTAG=pvp.storyweb",camptype:"4",heroid:"114",appointHeroid:"26",removeHeroid:"0",occupation:"辅助/坦克",num:"14",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/6266887523314.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20190823/29306987419076.jpg",pinyin:"liushan",ename:114,cname:"刘禅",new_type:0,hero_type:6,hero_type2:3,skin_name:"暴走机关|英喵野望|绅士熊喵|天才门将"},{title:"叛逆吟游",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=115&ADTAG=pvp.storyweb",camptype:"1",heroid:"115",appointHeroid:"3",removeHeroid:"2",occupation:"法师",num:"99",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/84899525679925.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20190116/23817580712911.jpg",pinyin:"gaojianli",ename:115,cname:"高渐离",new_type:0,hero_type:2,skin_name:"叛逆吟游|金属狂潮|死亡摇滚"},{title:"信念之刃",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=116&ADTAG=pvp.storyweb",camptype:"1",heroid:"116",appointHeroid:"9",removeHeroid:"2",occupation:"刺客",num:"98",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/977331090834512.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20181025/99651112048573.jpg",pinyin:"jingke",ename:116,cname:"阿轲",new_type:0,hero_type:4,skin_name:"信念之刃|爱心护理|暗夜猫娘|致命风华|节奏热浪"},{title:"野蛮之锤",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=117&ADTAG=pvp.storyweb",camptype:"1",heroid:"117",appointHeroid:"15",removeHeroid:"0",occupation:"战士/坦克",num:"97",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/4638371386568.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20180327/35122420479789.jpg",pinyin:"zhongwuyan",ename:117,cname:"钟无艳",new_type:0,hero_type:1,hero_type2:3,skin_name:"野蛮之锤|生化警戒|王者之锤|海滩丽影"},{title:"逆流之时",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=118&ADTAG=pvp.storyweb",camptype:"1",heroid:"118",appointHeroid:"20",removeHeroid:"0",occupation:"辅助/法师",num:"16",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/70493764453797.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20190717/68582301165891.jpg",pinyin:"sunbin",ename:118,cname:"孙膑",pay_type:10,new_type:0,hero_type:6,hero_type2:2,skin_name:"逆流之时|未来旅行|天使之翼|妖精王"},{title:"善恶怪医",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=119&ADTAG=pvp.storyweb",camptype:"1",heroid:"119",appointHeroid:"27",removeHeroid:"1",occupation:"法师",num:"96",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/59618194648034.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20160726/836271081336597.png",pinyin:"bianque",ename:119,cname:"扁鹊",new_type:0,hero_type:2,skin_name:"善恶怪医|救世之瞳|化身博士|炼金王"},{title:"最终兵器",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=120&ADTAG=pvp.storyweb",camptype:"1",heroid:"120",appointHeroid:"4",removeHeroid:"1",occupation:"坦克",num:"95",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20200326/155221210224517.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20200326/6570235067207.jpg",pinyin:"baiqi",ename:120,cname:"白起",new_type:0,hero_type:3,skin_name:"最终兵器|白色死神|狰|星夜王子"},{title:"永恒之月",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=121&ADTAG=pvp.storyweb",camptype:"1",heroid:"121",appointHeroid:"37",removeHeroid:"1",occupation:"法师/坦克",num:"94",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/4519469508162.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20170613/47620969119925.jpg",pinyin:"miyue",ename:121,cname:"芈月",new_type:0,hero_type:2,hero_type2:3,skin_name:"永恒之月|红桃皇后|大秦宣太后|重明"},{title:"无双之魔",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=123&ADTAG=pvp.storyweb",camptype:"4",heroid:"123",appointHeroid:"39",removeHeroid:"2",occupation:"战士/坦克",num:"93",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/664211000977024.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20160726/321961310548288.png",pinyin:"lvbu",ename:123,cname:"吕布",new_type:0,hero_type:1,hero_type2:3,skin_name:"无双之魔|圣诞狂欢|天魔缭乱|末日机甲|猎兽之王"},{title:"铁血都督",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=124&ADTAG=pvp.storyweb",camptype:"4",heroid:"124",appointHeroid:"34",removeHeroid:"1",occupation:"法师",num:"92",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/86934792945830.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20170908/307111124323013.jpg",pinyin:"zhouyu",ename:124,cname:"周瑜",new_type:0,hero_type:2,skin_name:"铁血都督|海军大将|真爱至上"},{title:"不羁之风",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=126&ADTAG=pvp.storyweb",camptype:"4",heroid:"126",appointHeroid:"54",removeHeroid:"2",occupation:"坦克/战士",num:"61",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/7593351277808.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20180327/64439961036621.jpg",pinyin:"xiahoudun",ename:126,cname:"夏侯惇",pay_type:10,new_type:0,hero_type:3,hero_type2:1,skin_name:"不羁之风|战争骑士|乘风破浪|无限飓风号"},{title:"洛神降临",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=127&ADTAG=pvp.storyweb",camptype:"4",heroid:"127",appointHeroid:"10",removeHeroid:"2",occupation:"法师",num:"91",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/8706478784651.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20190116/126691414817402.jpg",pinyin:"zhenji",ename:127,cname:"甄姬",new_type:0,hero_type:2,skin_name:"洛神降临|冰雪圆舞曲|花好人间|游园惊梦"},{title:"鲜血枭雄",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=128&ADTAG=pvp.storyweb",camptype:"4",heroid:"128",appointHeroid:"33",removeHeroid:"2",occupation:"战士",num:"90",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/128165944821.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20160726/397691359908498.png",pinyin:"caocao",ename:128,cname:"曹操",new_type:0,hero_type:1,skin_name:"鲜血枭雄|超能战警|幽灵船长|死神来了|烛龙"},{title:"狂战士",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=129&ADTAG=pvp.storyweb",camptype:"4",heroid:"129",appointHeroid:"21",removeHeroid:"2",occupation:"战士",num:"89",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/744831059647720.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20160726/20454559634867.png",pinyin:"dianwei",ename:129,cname:"典韦",new_type:0,hero_type:1,skin_name:"狂战士|黄金武士|穷奇"},{title:"剑圣",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=130&ADTAG=pvp.storyweb",camptype:"8",heroid:"130",appointHeroid:"28",removeHeroid:"",occupation:"战士",num:"55",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/46551546090153.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20160727/941571076869491.png",pinyin:"gongbenwuzang",ename:130,cname:"宫本武藏",new_type:0,hero_type:1,skin_name:"剑圣|鬼剑武藏|未来纪元|万象初新|地狱之眼|霸王丸"},{title:"青莲剑仙",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=131&ADTAG=pvp.storyweb",camptype:"7",heroid:"131",appointHeroid:"46",removeHeroid:"0",occupation:"刺客",num:"88",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/54178532140165.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20180327/48767445393807.png",pinyin:"libai",ename:131,cname:"李白",pay_type:10,new_type:0,hero_type:4,skin_name:"青莲剑仙|范海辛|千年之狐|凤求凰|敏锐之力"},{title:"远游之枪",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=132&ADTAG=pvp.storyweb",camptype:"6",heroid:"132",appointHeroid:"56",removeHeroid:"1",occupation:"射手",num:"59",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/213931307900110.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20181029/120341325343790.jpg",pinyin:"makeboluo",ename:132,cname:"马可波罗",new_type:0,hero_type:5,skin_name:"远游之枪|激情绿茵|逐梦之星"},{title:"断案大师",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=133&ADTAG=pvp.storyweb",camptype:"7",heroid:"133",appointHeroid:"16",removeHeroid:"0",occupation:"射手",num:"87",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/5043088753153.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20181025/64476830268821.jpg",pinyin:"direnjie",ename:133,cname:"狄仁杰",pay_type:11,new_type:0,hero_type:5,skin_name:"断案大师|锦衣卫|魔术师|超时空战士|阴阳师"},{title:"拳僧",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=134&ADTAG=pvp.storyweb",camptype:"7",heroid:"134",appointHeroid:"22",removeHeroid:"0",occupation:"战士/坦克",num:"52",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/48361745905777.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20160726/28376554913969.png",pinyin:"damo",ename:134,cname:"达摩",new_type:0,hero_type:1,hero_type2:3,skin_name:"拳僧|大发明家|拳王"},{title:"霸王",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=135&ADTAG=pvp.storyweb",camptype:"3",heroid:"135",appointHeroid:"29",removeHeroid:"2",occupation:"坦克",num:"86",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/640041141757817.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20160726/35024839042519.png",pinyin:"xiangyu",ename:135,cname:"项羽",new_type:0,hero_type:3,skin_name:"霸王|帝国元帅|苍穹之光|海滩派对|职棒王牌|霸王别姬|科学大爆炸"},{title:"女帝",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=136&ADTAG=pvp.storyweb",camptype:"7",heroid:"136",appointHeroid:"5",removeHeroid:"0",occupation:"法师",num:"62",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/8645575620272.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20190627/834011412951609.jpg",pinyin:"wuzetian",ename:136,cname:"武则天",new_type:0,hero_type:2,skin_name:"女帝|东方不败|海洋之心"},{title:"万古长明",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=139&ADTAG=pvp.storyweb",camptype:"1",heroid:"139",appointHeroid:"11",removeHeroid:"0",occupation:"战士",num:"47",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/56207935501606.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20160726/58017735021814.png",pinyin:"laofuzi",ename:139,cname:"老夫子",new_type:0,hero_type:1,skin_name:"万古长明|潮流仙人|圣诞老人|功夫老勺"},{title:"一骑当千",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=140&ADTAG=pvp.storyweb",camptype:"4",heroid:"140",appointHeroid:"52",removeHeroid:"0",occupation:"战士",num:"46",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/275341569174044.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20160726/18154342091729.png",pinyin:"guanyu",ename:140,cname:"关羽",new_type:0,hero_type:1,skin_name:"一骑当千|天启骑士|冰锋战神|龙腾万里"},{title:"绝世舞姬",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=141&ADTAG=pvp.storyweb",camptype:"4",heroid:"141",appointHeroid:"38",removeHeroid:"2",occupation:"法师/刺客",num:"85",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/1559492280407.png",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20160726/55547119153305.png",pinyin:"diaochan",ename:141,cname:"貂蝉",pay_type:10,new_type:0,hero_type:2,hero_type2:4,skin_name:"绝世舞姬|异域舞娘|圣诞恋歌|逐梦之音|仲夏夜之梦"},{title:"暗夜萝莉",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=142&ADTAG=pvp.storyweb",camptype:"6",heroid:"142",appointHeroid:"32",removeHeroid:"0",occupation:"法师",num:"84",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/4412162996520.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20160726/18901316660134.png",pinyin:"anqila",ename:142,cname:"安琪拉",new_type:0,hero_type:2,skin_name:"暗夜萝莉|玩偶对对碰|魔法小厨娘|心灵骇客|如懿"},{title:"热烈之斧",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=144&ADTAG=pvp.storyweb",camptype:"7",heroid:"144",appointHeroid:"30",removeHeroid:"0",occupation:"坦克/战士",num:"83",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/632001118049593.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20160726/12835477027157.png",pinyin:"chengyaojin",ename:144,cname:"程咬金",new_type:0,hero_type:3,hero_type2:1,skin_name:"热烈之斧|爱与正义|星际陆战队|华尔街大亨|功夫厨神"},{title:"月光之女",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=146&ADTAG=pvp.storyweb",camptype:"6",heroid:"146",appointHeroid:"6",removeHeroid:"1",occupation:"战士/法师",num:"82",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/63581396650488.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20190116/119971138563496.jpg",pinyin:"luna",ename:146,cname:"露娜",new_type:0,hero_type:1,hero_type2:2,skin_name:"月光之女|哥特玫瑰|绯红之刃|紫霞仙子|一生所爱"},{title:"太古魔导",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=148&ADTAG=pvp.storyweb",camptype:"0",heroid:"148",appointHeroid:"12",removeHeroid:"1",occupation:"法师/辅助",num:"81",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/107021158349230.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20160726/21386894863581.png",pinyin:"jiangziya",ename:148,cname:"姜子牙",new_type:0,hero_type:2,skin_name:"太古魔导|时尚教父"},{title:"双面君主",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=149&ADTAG=pvp.storyweb",camptype:"3",heroid:"149",appointHeroid:"49",removeHeroid:"1",occupation:"坦克",num:"80",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/71567211286504.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20190627/1611520684982.jpg",pinyin:"liubang",ename:149,cname:"刘邦",new_type:0,hero_type:3,skin_name:"双面君主|圣殿之光|德古拉伯爵"},{title:"国士无双",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=150&ADTAG=pvp.storyweb",camptype:"3",heroid:"150",appointHeroid:"23",removeHeroid:"1",occupation:"刺客",num:"79",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/26620610693151.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20160726/558661233757564.png",pinyin:"hanxin",ename:150,cname:"韩信",new_type:0,hero_type:4,skin_name:"国士无双|街头霸王|教廷特使|白龙吟|逐梦之影"},{title:"冰雪之华",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=152&ADTAG=pvp.storyweb",camptype:"2",heroid:"152",appointHeroid:"31",removeHeroid:"0",occupation:"法师",num:"78",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/605981185208690.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20181025/28141313400127.jpg",pinyin:"wangzhaojun",ename:152,cname:"王昭君",new_type:0,hero_type:2,skin_name:"冰雪之华|精灵公主|偶像歌手|凤凰于飞|幻想奇妙夜"},{title:"暗影刀锋",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=153&ADTAG=pvp.storyweb",camptype:"9",heroid:"153",appointHeroid:"44",removeHeroid:"0",occupation:"刺客",num:"77",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20210114/34030207140278.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20210114/9912813909230.jpg",pinyin:"lanlingwang",ename:153,cname:"兰陵王",new_type:0,hero_type:4,skin_name:"暗影刀锋|隐刃|暗隐猎兽者"},{title:"传说之刃",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=154&ADTAG=pvp.storyweb",camptype:"7",heroid:"154",appointHeroid:"40",removeHeroid:"2",occupation:"战士/刺客",num:"76",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/3685977620263.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20170308/34782968648244.jpg",pinyin:"huamulan",ename:154,cname:"花木兰",new_type:0,hero_type:1,hero_type2:4,skin_name:"传说之刃|剑舞者|兔女郎|水晶猎龙者|青春决赛季|冠军飞将|瑞麟志"},{title:"言灵之书",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=156&ADTAG=pvp.storyweb",camptype:"3",heroid:"156",appointHeroid:"17",removeHeroid:"1",occupation:"法师",num:"75",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/2248336605405.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20190116/55913224991097.jpg",pinyin:"zhangliang",ename:156,cname:"张良",new_type:0,hero_type:2,skin_name:"言灵之书|天堂福音|一千零一夜|幽兰居士"},{title:"明媚烈焰",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=157&ADTAG=pvp.storyweb",camptype:"8",heroid:"157",appointHeroid:"50",removeHeroid:"",occupation:"法师/刺客",num:"74",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/579210012886.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20160726/63399584503206.png",pinyin:"buzhihuowu",ename:157,cname:"不知火舞",new_type:0,hero_type:2,hero_type2:4,skin_name:"明媚烈焰"},{title:"鹰之守护",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=162&ADTAG=pvp.storyweb",camptype:"8",heroid:"162",appointHeroid:"45",removeHeroid:"",occupation:"刺客",num:"73",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/548681020090103.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20160726/31519374723603.png",pinyin:"nakelulu",ename:162,cname:"娜可露露",new_type:0,hero_type:4,skin_name:"鹰之守护"},{title:"神梦一刀",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=163&ADTAG=pvp.storyweb",camptype:"8",heroid:"163",appointHeroid:"57",removeHeroid:"",occupation:"刺客/战士",num:"58",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/58109651771952.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20160830/20769120063270.jpg",pinyin:"juyoujing",ename:163,cname:"橘右京",new_type:0,hero_type:4,hero_type2:1,skin_name:"神梦一刀"},{title:"圣骑之力",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=166&ADTAG=pvp.storyweb",camptype:"6",heroid:"166",appointHeroid:"24",removeHeroid:"0",occupation:"战士/坦克",num:"72",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/45701468188203.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20190116/93251107128088.jpg",pinyin:"yase",ename:166,cname:"亚瑟",pay_type:11,new_type:0,hero_type:1,hero_type2:3,skin_name:"圣骑之力|死亡骑士|狮心王|心灵战警"},{title:"齐天大圣",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=167&ADTAG=pvp.storyweb",camptype:"0",heroid:"167",appointHeroid:"36",removeHeroid:"2",occupation:"刺客/战士",num:"71",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/46014866033037.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20160726/37425581339924.png",pinyin:"sunwukong",ename:167,cname:"孙悟空",new_type:0,hero_type:4,hero_type2:1,skin_name:"齐天大圣|地狱火|西部大镖客|美猴王|至尊宝|全息碎影|大圣娶亲"},{title:"精英酋长",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=168&ADTAG=pvp.storyweb",camptype:"0",heroid:"168",appointHeroid:"35",removeHeroid:"2",occupation:"辅助/坦克",num:"70",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/775111569812043.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20160726/873611252975639.png",pinyin:"niumo",ename:168,cname:"牛魔",new_type:0,hero_type:6,hero_type2:3,skin_name:"精英酋长|西部大镖客|制霸全明星"},{title:"半神之弓",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=169&ADTAG=pvp.storyweb",camptype:"0",heroid:"169",appointHeroid:"41",removeHeroid:"2",occupation:"射手",num:"69",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/64275801657630.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20181025/7521729121819.jpg",pinyin:"houyi",ename:169,cname:"后羿",new_type:0,hero_type:5,skin_name:"半神之弓|精灵王|阿尔法小队|辉光之辰|黄金射手座"},{title:"仁德义枪",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=170&ADTAG=pvp.storyweb",camptype:"4",heroid:"170",appointHeroid:"43",removeHeroid:"0",occupation:"战士",num:"68",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/980091411957883.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20160726/16495784782816.png",pinyin:"liubei",ename:170,cname:"刘备",new_type:0,hero_type:1,skin_name:"仁德义枪|万事如意|纽约教父|汉昭烈帝"},{title:"禁血狂兽",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=171&ADTAG=pvp.storyweb",camptype:"4",heroid:"171",appointHeroid:"42",removeHeroid:"0",occupation:"辅助/坦克",num:"67",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/184661526306200.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20160726/941221097359270.png",pinyin:"zhangfei",ename:171,cname:"张飞",new_type:0,hero_type:3,hero_type2:6,skin_name:"禁血狂兽|五福同心|乱世虎臣"},{title:"王都密探",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=173&ADTAG=pvp.storyweb",camptype:"7",heroid:"173",appointHeroid:"48",removeHeroid:"0",occupation:"射手",num:"66",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/536601401910051.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20181025/289431194455887.jpg",pinyin:"liyuanfang",ename:173,cname:"李元芳",pay_type:10,new_type:0,hero_type:5,skin_name:"王都密探|特种部队|黑猫爱糖果|逐浪之夏"},{title:"森之风灵",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=174&ADTAG=pvp.storyweb",camptype:"3",heroid:"174",appointHeroid:"51",removeHeroid:"2",occupation:"射手",num:"64",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/85572974862749.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20180327/75023658143716.jpg",pinyin:"yuji",ename:174,cname:"虞姬",new_type:0,hero_type:5,skin_name:"森之风灵|加勒比小姐|霸王别姬|凯尔特女王"},{title:"虚灵城判",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=175&ADTAG=pvp.storyweb",camptype:"7",heroid:"175",appointHeroid:"47",removeHeroid:"0",occupation:"法师/战士",num:"65",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/203361241905570.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20180122/79835640494001.jpg",pinyin:"zhongkui",ename:175,cname:"钟馗",new_type:0,hero_type:6,hero_type2:2,skin_name:"虚灵城判|地府判官"},{title:"苍狼末裔",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=177&ADTAG=pvp.storyweb",camptype:"2",heroid:"177",appointHeroid:"58",removeHeroid:"0",occupation:"射手",num:"57",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/669879518974.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20160918/21931014171659.jpg",pinyin:"chengjisihan",ename:177,cname:"成吉思汗",new_type:0,hero_type:5,skin_name:"苍狼末裔|维京掠夺者"},{title:"根源之目",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=178&ADTAG=pvp.storyweb",camptype:"0",heroid:"178",appointHeroid:"59",removeHeroid:"1",occupation:"战士",num:"56",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/365511150355588.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20161008/81211237899931.jpg",pinyin:"yangjian",ename:178,cname:"杨戬",new_type:0,hero_type:1,skin_name:"根源之目|埃及法老|永曜之星"},{title:"圣域余晖",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=183&ADTAG=pvp.storyweb",camptype:"6",heroid:"183",appointHeroid:"55",removeHeroid:"0",occupation:"战士",num:"60",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/44483332637077.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20190524/64614584030878.jpg",pinyin:"yadianna",ename:183,cname:"雅典娜",new_type:0,hero_type:1,skin_name:"圣域余晖|战争女神|冰冠公主|神奇女侠"},{title:"天籁弦音",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=184&ADTAG=pvp.storyweb",camptype:"4",heroid:"184",appointHeroid:"53",removeHeroid:"2",occupation:"辅助",num:"63",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/9456290393768.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20160726/8277177112204.png",pinyin:"caiwenji",ename:184,cname:"蔡文姬",new_type:0,hero_type:6,skin_name:"天籁弦音|蔷薇王座|舞动绿茵|奇迹圣诞"},{title:"炼金大师",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=186&ADTAG=pvp.storyweb",camptype:"0",heroid:"186",appointHeroid:"60",removeHeroid:"1",occupation:"辅助/坦克",num:"54",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/524241070493059.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20161124/29648640143170.jpg",pinyin:"taiyizhenren",ename:186,cname:"太乙真人",new_type:0,hero_type:6,hero_type2:3,skin_name:"炼金大师|圆桌骑士|饕餮|华丽摇滚"},{title:"桀骜炎枪",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=180&ADTAG=pvp.storyweb",camptype:"0",heroid:"180",appointHeroid:"61",removeHeroid:"1",occupation:"战士",num:"53",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/652021297028542.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20170104/952661342083635.jpg",pinyin:"nezha",ename:180,cname:"哪吒",new_type:0,hero_type:1,skin_name:"桀骜炎枪|三太子|逐梦之翼"},{title:"绝代智谋",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=190&ADTAG=pvp.storyweb",camptype:"4",heroid:"190",appointHeroid:"62",removeHeroid:"0",occupation:"法师",num:"51",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/29138566540861.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20170118/48646263962066.jpg",pinyin:"zhugeliang",ename:190,cname:"诸葛亮",new_type:0,hero_type:2,skin_name:"绝代智谋|星航指挥官|黄金分割率|武陵仙君|掌控之力"},{title:"燃魂重炮",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=192&ADTAG=pvp.storyweb",camptype:"4",heroid:"192",appointHeroid:"63",removeHeroid:"0",occupation:"射手",num:"50",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/85062883647203.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20170203/81719401485448.jpg",pinyin:"huangzhong",ename:192,cname:"黄忠",new_type:0,hero_type:5,skin_name:"燃魂重炮|芝加哥教父"},{title:"沧海之曜",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=191&ADTAG=pvp.storyweb",camptype:"4",heroid:"191",appointHeroid:"64",removeHeroid:"1",occupation:"辅助",num:"49",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/39697765755935.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20170217/62422276203551.jpg",pinyin:"daqiao",ename:191,cname:"大乔",new_type:0,hero_type:6,skin_name:"沧海之曜|伊势巫女|守护之力|猫狗日记"},{title:"噬灭日蚀",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=187&ADTAG=pvp.storyweb",camptype:"3",heroid:"187",appointHeroid:"65",removeHeroid:"0",occupation:"辅助/坦克",num:"48",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/33388656891546.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20170317/94767842334793.jpg",pinyin:"donghuangtaiyi",ename:187,cname:"东皇太一",new_type:0,hero_type:6,hero_type2:3,skin_name:"噬灭日蚀|东海龙王|逐梦之光"},{title:"淬命双剑",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=182&ADTAG=pvp.storyweb",camptype:"3",heroid:"182",appointHeroid:"66",removeHeroid:"0",occupation:"法师",num:"45",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/42817207621092.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20170524/87618567096649.jpg",pinyin:"ganjiangmoye",ename:182,cname:"干将莫邪",new_type:0,hero_type:2,skin_name:"淬命双剑|第七人偶|冰霜恋舞曲"},{title:"万物有灵",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=189&ADTAG=pvp.storyweb",camptype:"3",heroid:"189",appointHeroid:"67",removeHeroid:"0",occupation:"辅助",num:"44",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/88527151660191.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20170621/886741128494673.jpg",pinyin:"guiguzi",ename:189,cname:"鬼谷子",new_type:0,hero_type:6,skin_name:"万物有灵|阿摩司公爵|幻乐之宴"},{title:"破灭刃锋",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=193&ADTAG=pvp.storyweb",camptype:"7",heroid:"193",appointHeroid:"68",removeHeroid:"2",occupation:"战士/坦克",num:"43",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/40660475542197.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20170703/82350987230843.jpg",pinyin:"kai",ename:193,cname:"铠",new_type:0,hero_type:1,hero_type2:3,skin_name:"破灭刃锋|龙域领主|曙光守护者|青龙志"},{title:"静谧之眼",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=196&ADTAG=pvp.storyweb",camptype:"7",heroid:"196",appointHeroid:"69",removeHeroid:"2",occupation:"射手",num:"42",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/973981525713211.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20170728/457611237008978.jpg",pinyin:"bailishouyue",ename:196,cname:"百里守约",new_type:0,hero_type:5,hero_type2:4,skin_name:"静谧之眼|绝影神枪|特工魅影|朱雀志"},{title:"嚣狂之镰",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=195&ADTAG=pvp.storyweb",camptype:"7",heroid:"195",appointHeroid:"70",removeHeroid:"2",occupation:"刺客",num:"41",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/70144136701374.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20170817/84625581125048.jpg",pinyin:"bailixuance",ename:195,cname:"百里玄策",new_type:0,hero_type:4,skin_name:"嚣狂之镰|威尼斯狂欢|白虎志"},{title:"不屈铁壁",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=194&ADTAG=pvp.storyweb",camptype:"7",heroid:"194",appointHeroid:"71",removeHeroid:"2",occupation:"坦克/战士",num:"40",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/75102223449716.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20170921/73767796416726.jpg",pinyin:"sulie",ename:194,cname:"苏烈",new_type:0,hero_type:3,hero_type2:1,skin_name:"不屈铁壁|爱与和平|坚韧之力|玄武志"},{title:"入梦之灵",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=198&ADTAG=pvp.storyweb",camptype:"0",heroid:"198",appointHeroid:"72",removeHeroid:"1",occupation:"战士/坦克",num:"39",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20210510/88228768602449.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20210510/23016587216986.jpg",pinyin:"mengqi",ename:198,cname:"梦奇",new_type:0,hero_type:1,hero_type2:3,skin_name:"入梦之灵|美梦成真|胖达荣荣"},{title:"至高创世",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=179&ADTAG=pvp.storyweb",camptype:"0",heroid:"179",appointHeroid:"73",removeHeroid:"1",occupation:"法师",num:"38",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/957611093104192.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20171116/969111664137.jpg",pinyin:"nvwa",ename:179,cname:"女娲",new_type:0,hero_type:2,skin_name:"至高创世|尼罗河女神"},{title:"灵魂劫卜",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=501&ADTAG=pvp.storyweb",camptype:"7",heroid:"501",appointHeroid:"74",removeHeroid:"1",occupation:"辅助",num:"37",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/950592351878.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20171204/28305587201309.jpg",pinyin:"mingshiyin",ename:501,cname:"明世隐",new_type:0,hero_type:6,skin_name:"灵魂劫卜|占星术士|虹云星官"},{title:"幻舞玲珑",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=199&ADTAG=pvp.storyweb",camptype:"7",heroid:"199",appointHeroid:"75",removeHeroid:"1",occupation:"射手",num:"36",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/85961165268981.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20180117/403241369215383.jpg",pinyin:"gongsunli",ename:199,cname:"公孙离",new_type:0,hero_type:5,skin_name:"幻舞玲珑|花间舞|蜜橘之夏"},{title:"霓裳风华",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=176&ADTAG=pvp.storyweb",camptype:"7",heroid:"176",appointHeroid:"76",removeHeroid:"1",occupation:"法师/辅助",num:"35",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/316771484611139.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20180205/26781833129059.jpg",pinyin:"yangyuhuan",ename:176,cname:"杨玉环",new_type:0,hero_type:2,skin_name:"风华霓裳|霓裳曲|遇见飞天"},{title:"六合虎拳",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=502&ADTAG=pvp.storyweb",camptype:"7",heroid:"502",appointHeroid:"77",removeHeroid:"1",occupation:"刺客/战士",num:"26",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/69916960929378.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20180208/24328465009145.jpg",pinyin:"peiqinhu",ename:502,cname:"裴擒虎",new_type:0,hero_type:4,hero_type2:1,skin_name:"六合虎拳|街头霸王|梅西"},{title:"天元之弈",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=197&ADTAG=pvp.storyweb",camptype:"7",heroid:"197",appointHeroid:"78",removeHeroid:"1",occupation:"法师",num:"34",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20210922/84992915823949.png",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20210922/47732222929767.png",pinyin:"yixing",ename:197,cname:"弈星",new_type:0,hero_type:2,skin_name:"天元之弈|踏雪寻梅"},{title:"战车意志",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=503&ADTAG=pvp.storyweb",camptype:"6",heroid:"503",appointHeroid:"79",removeHeroid:"1",occupation:"战士",num:"33",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/7239917087550.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20180412/546911293826154.jpg",pinyin:"kuangtie",ename:503,cname:"狂铁",new_type:0,hero_type:1,skin_name:"战车意志|命运角斗场|御狮"},{title:"筑城者",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=504&ADTAG=pvp.storyweb",camptype:"6",heroid:"504",appointHeroid:"80",removeHeroid:"1",occupation:"法师",num:"32",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/46616375519675.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20180510/96802286473688.jpg",pinyin:"milaidi",ename:504,cname:"米莱狄",new_type:0,hero_type:2,skin_name:"筑城者|精准探案法|御霄"},{title:"无间傀儡",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=125&ADTAG=pvp.storyweb",camptype:"4",heroid:"125",appointHeroid:"81",removeHeroid:"0",occupation:"刺客",num:"31",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/227131284204645.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20180628/795971480753540.jpg",pinyin:"yuange",ename:125,cname:"元歌",new_type:0,hero_type:4,skin_name:"无间傀儡|午夜歌剧院"},{title:"光明之海",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=510&ADTAG=pvp.storyweb",camptype:"4",heroid:"510",appointHeroid:"82",removeHeroid:"1",occupation:"战士/坦克",num:"30",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/67846590935414.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20180717/10339910137309.jpg",pinyin:"sunce",ename:510,cname:"孙策",new_type:0,hero_type:3,hero_type2:1,skin_name:"光明之海|海之征途|猫狗日记"},{title:"寂灭之心",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=137&ADTAG=pvp.storyweb",camptype:"4",heroid:"137",appointHeroid:"83",removeHeroid:"2",occupation:"刺客/法师",num:"29",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/332921188655301.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20180816/813571069462033.jpg",pinyin:"simayi",ename:137,cname:"司马懿",new_type:0,hero_type:4,hero_type2:2,skin_name:"寂灭之心|魇语军师"},{title:"无尽之盾",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=509&ADTAG=pvp.storyweb",camptype:"7",heroid:"509",appointHeroid:"84",removeHeroid:"2",occupation:"辅助/坦克",num:"28",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/953261427583808.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20180904/71811613439812.jpg",pinyin:"dunshan",ename:509,cname:"盾山",new_type:0,hero_type:6,hero_type2:3,skin_name:"无尽之盾|极冰防御线"},{title:"破魔之箭",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=508&ADTAG=pvp.storyweb",camptype:"7",heroid:"508",appointHeroid:"85",removeHeroid:"2",occupation:"射手",num:"27",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/15595309331581.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20180921/75205278535459.jpg",pinyin:"jialuo",ename:508,cname:"伽罗",new_type:0,hero_type:5,skin_name:"破魔之箭|花见巫女"},{title:"爆弹怪猫",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=312&ADTAG=pvp.storyweb",camptype:"7",heroid:"312",appointHeroid:"86",removeHeroid:"2",occupation:"法师",num:"25",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/293661177557011.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20181019/13265340386756.jpg",pinyin:"shenmengxi",ename:312,cname:"沈梦溪",new_type:0,hero_type:2,skin_name:"爆弹怪猫|棒球奇才"},{title:"谋世之战",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=507&ADTAG=pvp.storyweb",camptype:"7",heroid:"507",appointHeroid:"87",removeHeroid:"2",occupation:"战士",num:"24",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/45330314537943.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20181120/7804990460330.jpg",pinyin:"lixin",ename:507,cname:"李信",pay_type:10,new_type:0,hero_type:1,skin_name:"谋世之战|灼热之刃"},{title:"惊鸿之笔",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=513&ADTAG=pvp.storyweb",camptype:"7",heroid:"513",appointHeroid:"88",removeHeroid:"0",occupation:"法师",num:"23",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/218171149641279.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20181211/715691338489128.jpg",pinyin:"shangguanwaner",ename:513,cname:"上官婉儿",new_type:0,hero_type:2,hero_type2:4,skin_name:"惊鸿之笔|修竹墨客"},{title:"寒月公主",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=515&ADTAG=pvp.storyweb",camptype:"0",heroid:"515",appointHeroid:"89",removeHeroid:"2",occupation:"法师/坦克",num:"22",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/353911202229544.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20190111/868981192916415.jpg",pinyin:"change",ename:515,cname:"嫦娥",new_type:0,hero_type:2,hero_type2:3,skin_name:"寒月公主|露花倒影"},{title:"无忧猛士",infourl:"//pvp.qq.com/act/a20180905herostory/index.html?id=511&ADTAG=pvp.storyweb",camptype:"0",heroid:"511",appointHeroid:"90",removeHeroid:"2",occupation:"坦克",num:"21",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/99063960055644.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20190121/59935186584184.jpg",pinyin:"zhubajie",ename:511,cname:"猪八戒",new_type:0,hero_type:3,skin_name:"无忧猛士|年年有余"},{title:"破晓之神",infourl:"https://pvp.qq.com/act/a20180905herostory/index.html?id=529&ADTAG=pvp.storyweb",camptype:"0",heroid:"529",appointHeroid:"91",removeHeroid:"1",occupation:"战士",num:"20",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/19615858476334.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20190218/16716956397489.jpg",pinyin:"pangu",ename:529,cname:"盘古",new_type:0,hero_type:1,skin_name:"破晓之神"},{title:"鹿灵守心",infourl:"https://pvp.qq.com/act/a20180905herostory/index.html?id=505&ADTAG=pvp.storyweb",camptype:"3",heroid:"505",appointHeroid:"92",removeHeroid:"0",occupation:"辅助",num:"19",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/757821175652297.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20190415/22946736869045.jpg",pinyin:"yao",ename:505,cname:"瑶",new_type:0,hero_type:6,skin_name:"森"},{title:"流云之翼",infourl:"https://pvp.qq.com/act/a20180905herostory/index.html?id=506&ADTAG=pvp.storyweb",camptype:"3",heroid:"506",appointHeroid:"93",removeHeroid:"0",occupation:"刺客/战士",num:"18",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/86214230515643.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20190510/38160378200548.jpg",pinyin:"yunzhongjun",ename:506,cname:"云中君",pay_type:10,new_type:0,hero_type:4,hero_type2:1,skin_name:"荷鲁斯之眼"},{title:"星辰之子",infourl:"https://pvp.qq.com/act/a20180905herostory/index.html?id=522&ADTAG=pvp.storyweb",camptype:"1",heroid:"522",appointHeroid:"94",removeHeroid:"0",occupation:"战士",num:"17",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/770901264838612.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20190625/86727196039895.jpg",pinyin:"yao",ename:522,cname:"曜",new_type:0,hero_type:1,skin_name:"归虚梦演"},{title:"冷晖之枪",infourl:"https://pvp.qq.com/act/a20180905herostory/index.html?id=518&ADTAG=pvp.storyweb",camptype:"4",heroid:"518",appointHeroid:"95",removeHeroid:"0",occupation:"战士",num:"15",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/33883177785525.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20190813/47880503928005.jpg",pinyin:"machao",ename:518,cname:"马超",new_type:0,hero_type:1,hero_type2:4,skin_name:"冷晖之枪|幸存者|神威"},{title:"幻纱之灵",infourl:"https://pvp.qq.com/story201904/index.html#/heroDetail/index/523?ADTAG=pvp.storyweb",camptype:"1",heroid:"523",appointHeroid:"95",removeHeroid:"0",occupation:"法师",num:"13",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191010/87864951621394.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20190920/52701914999686.jpg",pinyin:"xishi",ename:523,cname:"西施",new_type:0,hero_type:2,skin_name:"幻纱之灵|归虚梦演"},{title:"神匠",infourl:"https://pvp.qq.com/story201904/index.html#/heroDetail/index/525?ADTAG=pvp.storyweb",camptype:"1",heroid:"525",appointHeroid:"96",removeHeroid:"0",occupation:"辅助",num:"12",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191126/72226651341391.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20191126/57064767888562.jpg",pinyin:"luban",ename:525,cname:"鲁班大师",new_type:0,hero_type:6,skin_name:"神匠|归虚梦演"},{title:"烈炮小子",infourl:"https://pvp.qq.com/story201904/index.html#/heroDetail/index/524?ADTAG=pvp.storyweb",camptype:"1",heroid:"524",appointHeroid:"97",removeHeroid:"0",occupation:"射手",num:"11",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20200109/645021221580209.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20200109/769101262329107.jpg",pinyin:"mengya",ename:524,cname:"蒙犽",new_type:0,hero_type:5,skin_name:"烈炮小子|归虚梦演"},{title:"破镜之刃",infourl:"https://pvp.qq.com/story201904/index.html#/heroDetail/index/531?ADTAG=pvp.storyweb",camptype:"1",heroid:"531",appointHeroid:"98",removeHeroid:"1",occupation:"刺客",num:"9",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20200327/25718162647590.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20200327/396541250647794.jpg",pinyin:"jing",ename:531,cname:"镜",new_type:0,hero_type:4,skin_name:"破镜之刃|冰刃幻境"},{title:"秩序统将",infourl:"https://pvp.qq.com/story201904/index.html#/heroDetail/index/527?ADTAG=pvp.storyweb",camptype:"1",heroid:"527",appointHeroid:"99",removeHeroid:"1",occupation:"战士/坦克",num:"8",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20200601/79145982836583.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20200601/97479618556133.jpg",pinyin:"mengtian",ename:527,cname:"蒙恬",new_type:0,hero_type:1,hero_type2:3,skin_name:"秩序统将|秩序猎龙将"},{title:"山林之子",infourl:"https://pvp.qq.com/story201904/index.html#/heroDetail/index/533?ADTAG=pvp.storyweb",camptype:"4",heroid:"533",appointHeroid:"100",removeHeroid:"0",occupation:"坦克/辅助",num:"7",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20200730/908422776017.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20200730/2465499023977.jpg",pinyin:"aguduo",ename:533,cname:"阿古朵",new_type:0,hero_type:3,hero_type2:6,skin_name:"山林之子"},{title:"玫瑰剑士",infourl:"https://pvp.qq.com/story201904/index.html#/heroDetail/index/536?ADTAG=pvp.storyweb",camptype:"6",heroid:"536",appointHeroid:"101",removeHeroid:"0",occupation:"战士",num:"6",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20200921/27859854994324.png",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20200921/438831094577151.png",pinyin:"xialuote",ename:536,cname:"夏洛特",new_type:0,hero_type:1,skin_name:"玫瑰剑士"},{title:"鲨之猎刃",infourl:"https://pvp.qq.com/story201904/index.html#/heroDetail/index/528?ADTAG=pvp.storyweb",camptype:"4",heroid:"528",appointHeroid:"102",removeHeroid:"1",occupation:"刺客",num:"5",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20201208/35161952266060.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20201208/644721207778332.jpg",pinyin:"lan",ename:528,cname:"澜",new_type:0,hero_type:4,skin_name:"鲨之猎刃|孤猎"},{title:"雷霆之王",infourl:"https://pvp.qq.com/story201904/index.html#/heroDetail/index/537?ADTAG=pvp.storyweb",camptype:"7",heroid:"537",appointHeroid:"103",removeHeroid:"0",occupation:"战士/法师",num:"4",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20210112/85473239526448.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20210112/98246362641488.jpg",pinyin:"sikongzhen",ename:537,cname:"司空震",new_type:0,hero_type:1,hero_type2:2,skin_name:"雷霆之王|启蛰"},{title:"精灵之舞",infourl:"https://pvp.qq.com/story201904/index.html#/heroDetail/index/155?ADTAG=pvp.storyweb",camptype:"6",heroid:"155",appointHeroid:"104",removeHeroid:"0",occupation:"射手",num:"3",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20210407/384301448271504.png",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20210407/571741466946835.png",pinyin:"ailin",ename:155,cname:"艾琳",new_type:0,hero_type:5,skin_name:"精灵之舞|女武神"},{title:"燎原之心",infourl:"https://pvp.qq.com/story201904/index.html#/heroDetail/index/538?ADTAG=pvp.storyweb",camptype:"7",heroid:"538",appointHeroid:"105",removeHeroid:"0",occupation:"战士",num:"2",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20210621/45838846827439.jpg",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20210621/23553953591021.jpg",pinyin:"yunying",ename:538,cname:"云缨",new_type:0,hero_type:1,hero_type2:4,skin_name:"燎原之心|赤焰之缨"},{title:"渡世行者",infourl:"https://pvp.qq.com/story201904/index.html#/heroDetail/index/540?ADTAG=pvp.storyweb",camptype:"7",heroid:"540",appointHeroid:"106",removeHeroid:"0",occupation:"法师",num:"1",heroimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20211116/10927593674507.png",faceimg:"//ossweb-img.qq.com/upload/webplat/info/yxzj/20211115/730421262848940.png",pinyin:"jinchan",ename:540,cname:"金蝉",new_type:1,hero_type:2,hero_type2:6,skin_name:"渡世行者|前尘"}],Le=[{heroId:"1",name:"黑暗之女",alias:"Annie",title:"安妮",roles:["mage"],isWeekFree:"0",attack:"2",defense:"3",magic:"10",difficulty:"6",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/1.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/1.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"4800",couponPrice:"2000",camp:"",campId:"",keywords:"安妮,黑暗之女,火女,Annie,anni,heianzhinv,huonv,an,hazn,hn",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/1000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Annie.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big1000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big1001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big1002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big1003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big1004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big1005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big1006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big1007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big1008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big1009.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big1010.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big1011.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big1012.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big1013.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/1000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/1001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/1002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/1003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/1004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/1005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/1006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/1007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/1008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/1009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/1010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/1011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/1012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/1013.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/1000.jpg"},{heroId:"2",name:"狂战士",alias:"Olaf",title:"奥拉夫",roles:["fighter","tank"],isWeekFree:"0",attack:"9",defense:"5",magic:"3",difficulty:"3",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/2.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/2.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"1350",couponPrice:"1500",camp:"",campId:"",keywords:"狂战士,奥拉夫,kzs,alf,Olaf,kuangzhanshi,aolafu",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/2000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Olaf.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big2000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big2001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big2002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big2003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big2004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big2005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big2006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big2015.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big2016.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/2000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/2001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/2002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/2003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/2004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/2005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/2006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/2007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/2008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/2009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/2010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/2011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/2012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/2013.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/2014.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/2015.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/2016.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/2000.jpg"},{heroId:"3",name:"正义巨像",alias:"Galio",title:"加里奥",roles:["tank","mage"],isWeekFree:"0",attack:"1",defense:"10",magic:"6",difficulty:"5",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/3.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/3.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"3150",couponPrice:"2000",camp:"",campId:"",keywords:"正义巨像,加里奥,Galio,jla,zyjx,zhengyijuxiang,jialiao",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/3000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Galio.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big3000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big3001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big3002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big3003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big3004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big3005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big3006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big3013.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/3000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/3001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/3002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/3004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/3003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/3005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/3006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/3007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/3008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/3009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/3010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/3011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/3012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/3013.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/3000.jpg"},{heroId:"4",name:"卡牌大师",alias:"TwistedFate",title:"崔斯特",roles:["mage"],isWeekFree:"0",attack:"6",defense:"2",magic:"6",difficulty:"9",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/4.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/4.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"4800",couponPrice:"3000",camp:"",campId:"",keywords:"卡牌大师,崔斯特,卡牌,TwistedFate,kp,cst,kpds,kapaidashi,cuisite,kapai",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/4000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/TwistedFate.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big4000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big4001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big4002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big4004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big4003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big4005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big4007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big4006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big4008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big4009.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big4010.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big4011.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big4013.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/4000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/4001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/4002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/4003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/4004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/4005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/4006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/4007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/4008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/4009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/4010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/4011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/4013.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/4000.jpg"},{heroId:"5",name:"德邦总管",alias:"XinZhao",title:"赵信",roles:["fighter","assassin"],isWeekFree:"0",attack:"8",defense:"6",magic:"3",difficulty:"2",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/5.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/5.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"3150",couponPrice:"2500",camp:"",campId:"",keywords:"德邦总管,德邦,赵信,XinZhao,db,dbzg,zx,debangzongguan,debang,zhaoxin",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/5000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/XinZhao.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big5000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big5001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big5002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big5003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big5004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big5006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big5005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big5013.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/5000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/5001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/5002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/5003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/5004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/5005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/5006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/5007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/5008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/5009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/5010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/5011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/5012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/5013.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/5014.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/5015.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/5016.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/5017.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/5000.jpg"},{heroId:"6",name:"无畏战车",alias:"Urgot",title:"厄加特",roles:["fighter","tank"],isWeekFree:"0",attack:"8",defense:"5",magic:"3",difficulty:"8",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/6.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/6.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"改动英雄",goldPrice:"1350",couponPrice:"1000",camp:"",campId:"",keywords:"无畏战车,厄加特,ejt,wwzc,Urgot,wuweizhanche,ejiate",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/6000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Urgot.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big6000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big6001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big6002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big6003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big6009.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big6015.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/6000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/6001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/6002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/6003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/6004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/6005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/6006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/6007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/6008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/6009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/6015.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/6000.jpg"},{heroId:"7",name:"诡术妖姬",alias:"Leblanc",title:"乐芙兰",roles:["assassin","mage"],isWeekFree:"0",attack:"1",defense:"4",magic:"10",difficulty:"9",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/7.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/7.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"4800",couponPrice:"2500",camp:"",campId:"",keywords:"诡术妖姬,妖姬,乐芙兰,Leblanc,lfl,yj,gsyj,guishuyaoji,yaoji,lefulan",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/7000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Leblanc.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big7000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big7001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big7002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big7003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big7004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big7005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big7012.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/7000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/7001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/7002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/7003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/7004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/7005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/7007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/7008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/7010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/7012.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/7000.jpg"},{heroId:"8",name:"猩红收割者",alias:"Vladimir",title:"弗拉基米尔",roles:["mage"],isWeekFree:"1",attack:"2",defense:"6",magic:"8",difficulty:"7",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/8.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/8.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"3150",couponPrice:"2500",camp:"",campId:"",keywords:"猩红收割者,吸血鬼,弗拉基米尔,fljme,xxg,xhsgz,Vladimir,xinghongshougezhe,xixiegui,fulajimier",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/8000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Vladimir.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big8000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big8001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big8002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big8003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big8004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big8005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big8006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big8007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big8008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big8014.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/8000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/8001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/8002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/8003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/8004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/8005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/8006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/8008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/8007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/8009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/8010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/8011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/8012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/8013.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/8014.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/8000.jpg"},{heroId:"9",name:"远古恐惧",alias:"FiddleSticks",title:"费德提克",roles:["mage","support"],isWeekFree:"0",attack:"2",defense:"3",magic:"9",difficulty:"9",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/9.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/9.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"1350",couponPrice:"2000",camp:"",campId:"",keywords:"远古恐惧,费德提克,稻草人,FiddleSticks,yuangukongju,feidetike,daocaoren,dcr,fdtk,ygkj",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/9000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/FiddleSticks.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big9000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big9001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big9002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big9003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big9004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big9005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big9006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big9007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big9008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big9009.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/9000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/9001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/9002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/9003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/9004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/9005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/9006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/9007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/9008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/9009.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/9000.jpg"},{heroId:"10",name:"正义天使",alias:"Kayle",title:"凯尔",roles:["fighter","support"],isWeekFree:"1",attack:"6",defense:"6",magic:"7",difficulty:"7",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/10.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/10.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"改动英雄",goldPrice:"450",couponPrice:"1000",camp:"",campId:"",keywords:"正义天使,凯尔,天使,ts,zyts,ke,Kayle,zhengyitianshi,kaier,tianshi",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/10000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Kayle.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big10000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big10001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big10004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big10007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big10002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big10003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big10005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big10015.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big10006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big10008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big10009.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/10000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/10001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/10002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/10003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/10004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/10005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/10006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/10007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/10008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/10009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/10015.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/10000.jpg"},{heroId:"11",name:"无极剑圣",alias:"MasterYi",title:"易",roles:["assassin","fighter"],isWeekFree:"0",attack:"10",defense:"4",magic:"2",difficulty:"4",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/11.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/11.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"450",couponPrice:"1000",camp:"",campId:"",keywords:"无极剑圣,易,剑圣,js,y,wjjs,MasterYi,wujijiansheng,yi,jiansheng",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/11000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/MasterYi.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big11000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big11001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big11002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big11003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big11004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big11005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big11009.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big11010.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big11011.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big11017.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/11000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/11001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/11002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/11003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/11004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/11005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/11006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/11007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/11008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/11009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/11010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/11011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/11012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/11013.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/11017.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/11000.jpg"},{heroId:"12",name:"牛头酋长",alias:"Alistar",title:"阿利斯塔",roles:["tank","support"],isWeekFree:"1",attack:"6",defense:"9",magic:"5",difficulty:"7",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/12.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/12.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"1350",couponPrice:"1000",camp:"",campId:"",keywords:"阿利斯塔,牛头,牛头酋长,酋长,alisita,niutou,niutouqiuzhang,qiuzhang,Alistar,alst,nt,ntqz,qz",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/12000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Alistar.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big12001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big12000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big12002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big12003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big12004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big12005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big12006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big12008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big12007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big12009.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big12010.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/12000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/12001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/12002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/12003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/12004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/12005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/12006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/12007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/12008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/12009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/12010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/12011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/12012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/12013.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/12014.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/12015.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/12016.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/12017.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/12000.jpg"},{heroId:"13",name:"符文法师",alias:"Ryze",title:"瑞兹",roles:["mage","fighter"],isWeekFree:"1",attack:"2",defense:"2",magic:"10",difficulty:"7",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/13.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/13.ogg",isARAMweekfree:"0",ispermanentweekfree:"1",changeLabel:"无改动",goldPrice:"450",couponPrice:"1000",camp:"",campId:"",keywords:"符文法师,瑞兹,Ryze,光头,rz,fwfs,gt,fuwenfashi,ruizi,guangtou",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/13000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Ryze.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big13000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big13001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big13002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big13004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big13006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big13003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big13005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big13007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big13008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big13009.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big13010.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big13013.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big13011.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/13000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/13001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/13002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/13003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/13004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/13005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/13006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/13007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/13008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/13009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/13010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/13011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/13013.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/13000.jpg"},{heroId:"14",name:"亡灵战神",alias:"Sion",title:"赛恩",roles:["tank","fighter"],isWeekFree:"1",attack:"5",defense:"9",magic:"3",difficulty:"5",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/14.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/14.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"1350",couponPrice:"2000",camp:"",campId:"",keywords:"亡灵战神,塞恩,赛恩,se,wlzs,Sion,wanglingzhanshen,saien",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/14000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Sion.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big14000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big14001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big14002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big14004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big14003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big14005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big14014.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/14000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/14001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/14002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/14003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/14004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/14005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/14014.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/14000.jpg"},{heroId:"15",name:"战争女神",alias:"Sivir",title:"希维尔",roles:["marksman"],isWeekFree:"0",attack:"9",defense:"3",magic:"1",difficulty:"4",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/15.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/15.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"450",couponPrice:"1000",camp:"",campId:"",keywords:"战争女神,轮子妈,希维尔,lzm,xwe,zzns,Sivir,zhanzhengnvshen,lunzima,xiweier",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/15000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Sivir.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big15000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big15001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big15002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big15003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big15004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big15005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big15006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big15007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big15008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big15009.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big15010.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big15016.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/15000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/15001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/15002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/15003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/15004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/15005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/15006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/15007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/15008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/15009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/15010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/15011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/15012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/15013.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/15014.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/15015.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/15016.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/15000.jpg"},{heroId:"16",name:"众星之子",alias:"Soraka",title:"索拉卡",roles:["support","mage"],isWeekFree:"0",attack:"2",defense:"5",magic:"7",difficulty:"3",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/16.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/16.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"450",couponPrice:"1000",camp:"",campId:"",keywords:"众星之子,索拉卡,星妈,奶妈,xm,nm,slk,zxzz,Soraka,zhongxingzhizi,suolaka,xingma,naima",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/16000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Soraka.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big16001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big16002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big16000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big16006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big16005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big16003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big16004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big16007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big16017.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big16008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big16009.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big16015.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big16016.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/16000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/16001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/16002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/16003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/16004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/16005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/16006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/16007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/16008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/16009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/16015.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/16016.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/16017.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/16000.jpg"},{heroId:"17",name:"迅捷斥候",alias:"Teemo",title:"提莫",roles:["marksman","assassin"],isWeekFree:"1",attack:"5",defense:"3",magic:"7",difficulty:"6",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/17.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/17.ogg",isARAMweekfree:"0",ispermanentweekfree:"1",changeLabel:"无改动",goldPrice:"6300",couponPrice:"3500",camp:"",campId:"",keywords:"迅捷斥候,提莫,timo,Teemo,tm,xjch,xunjiechihou,timo",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/17000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Teemo.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big17000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big17004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big17002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big17003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big17005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big17001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big17006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big17007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big17008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big17014.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/17000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/17001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/17002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/17003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/17004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/17005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/17006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/17007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/17008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/17009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/17010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/17011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/17012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/17013.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/17014.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/17015.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/17016.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/17017.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/17000.jpg"},{heroId:"18",name:"麦林炮手",alias:"Tristana",title:"崔丝塔娜",roles:["marksman","assassin"],isWeekFree:"0",attack:"9",defense:"3",magic:"5",difficulty:"4",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/18.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/18.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"1350",couponPrice:"1000",camp:"",campId:"",keywords:"麦林炮手,小炮,崔丝塔娜,xp,cstn,mlps,Tristana,mailinpaoshou,xiaopao,cuisitana",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/18000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Tristana.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big18001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big18000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big18006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big18010.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big18011.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big18002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big18003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big18004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big18005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big18012.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/18000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/18001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/18002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/18003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/18004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/18005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/18006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/18007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/18008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/18009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/18010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/18011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/18012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/18013.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/18014.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/18015.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/18016.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/18017.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/18000.jpg"},{heroId:"19",name:"祖安怒兽",alias:"Warwick",title:"沃里克",roles:["fighter","tank"],isWeekFree:"0",attack:"9",defense:"5",magic:"3",difficulty:"3",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/19.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/19.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"3150",couponPrice:"2500",camp:"",campId:"",keywords:"祖安怒兽,沃里克,狼人,lr,wlk,zans,Warwick,zuannushou,wolike,langren",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/19000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Warwick.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big19003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big19000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big19001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big19002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big19004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big19010.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big19006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big19005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big19008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big19007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big19009.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big19016.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/19000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/19001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/19002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/19003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/19004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/19005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/19006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/19007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/19008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/19009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/19010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/19011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/19012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/19013.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/19014.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/19016.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/19000.jpg"},{heroId:"20",name:"雪原双子",alias:"Nunu",title:"努努和威朗普",roles:["tank","fighter"],isWeekFree:"0",attack:"4",defense:"6",magic:"7",difficulty:"4",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/20.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/20.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"450",couponPrice:"1000",camp:"",campId:"",keywords:"雪原双子,努努和威朗普,努努,雪人,Nunu,nn,xr,xysz,mmhwlp,xueyuanshuangzi,nunuheweilangpu,nunu,xueren",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/20000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Nunu.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big20005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big20003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big20000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big20001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big20002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big20004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big20006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big20007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big20008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big20016.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/20000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/20001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/20002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/20003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/20004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/20005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/20006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/20007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/20008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/20016.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/20000.jpg"},{heroId:"21",name:"赏金猎人",alias:"MissFortune",title:"厄运小姐",roles:["marksman"],isWeekFree:"1",attack:"8",defense:"2",magic:"5",difficulty:"1",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/21.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/21.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"3150",couponPrice:"2500",camp:"",campId:"",keywords:"赏金猎人,赏金,厄运小姐,MF,MissFortune,sj,sjlr,eyxj,shangjinlieren,shangjin,eyunxiaojie",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/21000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/MissFortune.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big21001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big21007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big21005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big21000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big21002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big21003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big21004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big21006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big21008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big21009.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big21015.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big21016.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big21017.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/21000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/21001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/21002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/21003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/21004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/21005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/21006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/21007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/21008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/21009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/21015.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/21016.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/21017.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/21000.jpg"},{heroId:"22",name:"寒冰射手",alias:"Ashe",title:"艾希",roles:["marksman","support"],isWeekFree:"1",attack:"7",defense:"3",magic:"2",difficulty:"4",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/22.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/22.ogg",isARAMweekfree:"0",ispermanentweekfree:"1",changeLabel:"无改动",goldPrice:"450",couponPrice:"1000",camp:"",campId:"",keywords:"艾希,寒冰,爱射,艾射,冰弓,Ashe,aixi,hanbing,aishe,aishe,binggong,ax,hb,as,bg",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/22000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Ashe.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big22006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big22000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big22003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big22001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big22002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big22004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big22005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big22007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big22008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big22009.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big22011.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big22017.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/22003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/22000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/22001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/22002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/22005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/22004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/22007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/22008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/22006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/22017.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/22011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/22009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/22010.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/22000.jpg"},{heroId:"23",name:"蛮族之王",alias:"Tryndamere",title:"泰达米尔",roles:["fighter","assassin"],isWeekFree:"0",attack:"10",defense:"5",magic:"2",difficulty:"5",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/23.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/23.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"4800",couponPrice:"3500",camp:"",campId:"",keywords:"蛮族之王,蛮王,泰达米尔,Tryndamere,tdme,mw,mzzw,manzuzhiwang,manwang,taidamier",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/23000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Tryndamere.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big23001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big23000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big23005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big23002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big23007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big23008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big23003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big23004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big23006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big23009.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big23010.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/23000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/23003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/23001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/23004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/23007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/23002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/23006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/23010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/23008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/23009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/23005.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/23000.jpg"},{heroId:"24",name:"武器大师",alias:"Jax",title:"贾克斯",roles:["fighter","assassin"],isWeekFree:"0",attack:"7",defense:"5",magic:"7",difficulty:"5",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/24.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/24.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"3150",couponPrice:"2500",camp:"",campId:"",keywords:"武器大师,贾克斯,武器,Jax,wq,jks,wqds,wuqidashi,jiakesi,wuqi",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/24000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Jax.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big24001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big24000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big24003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big24002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big24008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big24012.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big24004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big24005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big24013.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big24006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big24007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big24014.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/24000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/24002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/24001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/24003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/24007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/24006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/24005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/24004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/24008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/24009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/24012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/24010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/24011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/24014.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/24013.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/24000.jpg"},{heroId:"25",name:"堕落天使",alias:"Morgana",title:"莫甘娜",roles:["mage","support"],isWeekFree:"0",attack:"1",defense:"6",magic:"8",difficulty:"1",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/25.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/25.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"1350",couponPrice:"2000",camp:"",campId:"",keywords:"堕落天使,莫甘娜,MGN,dlts,Morgana,duoluotianshi,moganna",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/25000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Morgana.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big25001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big25000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big25002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big25003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big25004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big25005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big25011.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big25006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big25010.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big25017.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/25002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/25004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/25000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/25003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/25001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/25011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/25006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/25005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/25010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/25008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/25007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/25009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/25017.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/25000.jpg"},{heroId:"26",name:"时光守护者",alias:"Zilean",title:"基兰",roles:["support","mage"],isWeekFree:"0",attack:"2",defense:"5",magic:"8",difficulty:"6",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/26.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/26.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"450",couponPrice:"1000",camp:"",campId:"",keywords:"时光守护者,基兰,Zilean,jl,sgshz,时光老人,时光老头,shiguangshouhuzhe,jilan,shiguanglaoren,shiguanglaotou",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/26000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Zilean.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big26000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big26003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big26004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big26002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big26006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big26001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big26005.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/26006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/26004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/26002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/26001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/26005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/26000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/26003.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/26000.jpg"},{heroId:"27",name:"炼金术士",alias:"Singed",title:"辛吉德",roles:["tank","fighter"],isWeekFree:"0",attack:"4",defense:"8",magic:"7",difficulty:"5",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/27.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/27.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"1350",couponPrice:"2000",camp:"",campId:"",keywords:"炼金术士,辛吉德,炼金,lj,xjd,ljss,Singed,lianjinshushi,xinjide,lianjin",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/27000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Singed.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big27000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big27007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big27002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big27006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big27001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big27003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big27004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big27005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big27008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big27009.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big27010.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/27003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/27000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/27001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/27006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/27005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/27008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/27007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/27004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/27002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/27010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/27009.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/27000.jpg"},{heroId:"28",name:"痛苦之拥",alias:"Evelynn",title:"伊芙琳",roles:["assassin","mage"],isWeekFree:"0",attack:"4",defense:"2",magic:"7",difficulty:"10",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/28.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/28.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"1350",couponPrice:"2000",camp:"",campId:"",keywords:"痛苦之拥,伊芙琳,寡妇,Evelynn,tongkuzhiyong,yifulin,guafu,gf,tkzy,yfl",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/28000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Evelynn.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big28001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big28000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big28008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big28005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big28002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big28003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big28007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big28004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big28006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big28015.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/28000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/28001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/28004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/28005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/28008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/28003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/28007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/28006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/28002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/28015.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/28000.jpg"},{heroId:"29",name:"瘟疫之源",alias:"Twitch",title:"图奇",roles:["marksman","assassin"],isWeekFree:"0",attack:"9",defense:"2",magic:"3",difficulty:"6",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/29.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/29.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"改动英雄",goldPrice:"4800",couponPrice:"3000",camp:"",campId:"",keywords:"瘟疫之源,图奇,老鼠,Twitch,ls,tq,wyzy,wenyizhiyuan,tuqi,laoshu",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/29000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Twitch.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big29001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big29002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big29000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big29003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big29008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big29007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big29004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big29005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big29006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big29012.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/29001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/29000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/29002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/29004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/29007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/29008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/29003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/29006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/29012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/29005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/29010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/29011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/29009.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/29000.jpg"},{heroId:"30",name:"死亡颂唱者",alias:"Karthus",title:"卡尔萨斯",roles:["mage"],isWeekFree:"0",attack:"2",defense:"2",magic:"10",difficulty:"7",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/30.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/30.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"4800",couponPrice:"3000",camp:"",campId:"",keywords:"死亡颂唱者,卡尔萨斯,死歌,Karthus,sg,kess,swscz,siwangsongchangzhe,kaersasi,sige",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/30000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Karthus.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big30005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big30001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big30000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big30003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big30004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big30002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big30010.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big30009.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big30017.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/30000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/30001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/30003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/30002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/30004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/30009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/30005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/30010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/30008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/30006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/30007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/30017.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/30000.jpg"},{heroId:"31",name:"虚空恐惧",alias:"Chogath",title:"科加斯",roles:["tank","mage"],isWeekFree:"1",attack:"3",defense:"7",magic:"7",difficulty:"5",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/31.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/31.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"3150",couponPrice:"1500",camp:"",campId:"",keywords:"虚空恐惧,科加斯,大虫子,虫子,Chogath,xukongkongju,kejiasi,dachongzi,chongzi,xkkj,kjs,dcz,cz",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/31000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Chogath.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big31001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big31003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big31000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big31002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big31004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big31005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big31006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big31007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big31014.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/31001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/31000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/31003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/31006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/31004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/31002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/31005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/31007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/31014.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/31009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/31012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/31013.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/31008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/31011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/31010.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/31000.jpg"},{heroId:"32",name:"殇之木乃伊",alias:"Amumu",title:"阿木木",roles:["tank","mage"],isWeekFree:"0",attack:"2",defense:"6",magic:"8",difficulty:"3",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/32.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/32.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"1350",couponPrice:"2000",camp:"",campId:"",keywords:"阿木木,木乃伊,分头,殇之木乃伊,木木,伤之木乃伊,amumu,munaiyi,fentou,shangzhimunaiyi,amm,szmny,mny,ft,mm,mumu",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/32000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Amumu.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big32000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big32001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big32002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big32003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big32004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big32005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big32006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big32007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big32008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big32017.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/32000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/32007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/32008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/32004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/32005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/32003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/32001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/32006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/32002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/32017.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/32011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/32016.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/32010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/32012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/32014.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/32000.jpg"},{heroId:"33",name:"披甲龙龟",alias:"Rammus",title:"拉莫斯",roles:["tank","fighter"],isWeekFree:"0",attack:"4",defense:"10",magic:"5",difficulty:"5",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/33.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/33.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"3150",couponPrice:"2500",camp:"",campId:"",keywords:"披甲龙龟,拉莫斯,龙龟,lg,pjlg,lms,Rammus,pijialonggui,lamosi,longgui",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/33000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Rammus.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big33000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big33001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big33002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big33003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big33005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big33006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big33004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big33007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big33008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big33016.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big33017.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/33000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/33002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/33008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/33004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/33001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/33005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/33003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/33006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/33007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/33009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/33010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/33017.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/33016.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/33011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/33013.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/33014.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/33012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/33015.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/33000.jpg"},{heroId:"34",name:"冰晶凤凰",alias:"Anivia",title:"艾尼维亚",roles:["mage","support"],isWeekFree:"0",attack:"1",defense:"4",magic:"10",difficulty:"10",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/34.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/34.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"4800",couponPrice:"3500",camp:"",campId:"",keywords:"凤凰,冰晶凤凰,艾尼维亚,Anivia,fenghuang,bingjingfenghuang,ainiweiya,anwy,bjfh,fh",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/34000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Anivia.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big34000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big34001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big34002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big34003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big34004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big34006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big34007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big34005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big34008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big34017.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/34000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/34002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/34003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/34001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/34004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/34008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/34006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/34005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/34007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/34017.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/34000.jpg"},{heroId:"35",name:"恶魔小丑",alias:"Shaco",title:"萨科",roles:["assassin"],isWeekFree:"0",attack:"8",defense:"4",magic:"6",difficulty:"9",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/35.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/35.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"4800",couponPrice:"2000",camp:"",campId:"",keywords:"恶魔小丑,小丑,沙扣,沙口,萨科,xc,emxc,sk,emoxiaochou,xiaochou,sake,Shaco",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/35000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Shaco.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big35000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big35001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big35002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big35003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big35004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big35005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big35006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big35007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big35008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big35015.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/35004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/35000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/35003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/35006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/35001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/35007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/35005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/35002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/35015.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/35008.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/35000.jpg"},{heroId:"36",name:"祖安狂人",alias:"DrMundo",title:"蒙多医生",roles:["fighter","tank"],isWeekFree:"0",attack:"5",defense:"7",magic:"6",difficulty:"5",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/36.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/36.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"1350",couponPrice:"2000",camp:"",campId:"",keywords:"祖安狂人,蒙多医生,蒙多,DrMundo,zuankuangren,mengduoyisheng,mengduo,md,mdys,zakr",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/36000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/DrMundo.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big36000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big36001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big36002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big36003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big36004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big36005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big36006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big36010.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big36007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big36008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big36009.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/36000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/36001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/36003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/36002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/36004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/36005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/36006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/36007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/36008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/36009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/36010.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/36000.jpg"},{heroId:"37",name:"琴瑟仙女",alias:"Sona",title:"娑娜",roles:["support","mage"],isWeekFree:"0",attack:"5",defense:"2",magic:"8",difficulty:"4",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/37.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/37.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"3150",couponPrice:"2500",camp:"",campId:"",keywords:"琴瑟仙女,琴女,娑娜,sn,qn,qsxn,Sona,qinsexiannv,qinnv,suona",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/37000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Sona.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big37000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big37001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big37002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big37003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big37004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big37005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big37006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big37007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big37009.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big37017.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/37000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/37001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/37002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/37005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/37004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/37009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/37006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/37007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/37003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/37008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/37017.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/37016.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/37000.jpg"},{heroId:"38",name:"虚空行者",alias:"Kassadin",title:"卡萨丁",roles:["assassin","mage"],isWeekFree:"0",attack:"3",defense:"5",magic:"8",difficulty:"8",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/38.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/38.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"3150",couponPrice:"2500",camp:"",campId:"",keywords:"虚空行者,卡萨丁,ksd,xkxz,Kassadin,xukongxingzhe,kasading",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/38000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Kassadin.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big38000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big38001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big38002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big38003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big38004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big38005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big38006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big38014.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/38000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/38001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/38002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/38004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/38003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/38005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/38006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/38014.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/38000.jpg"},{heroId:"39",name:"刀锋舞者",alias:"Irelia",title:"艾瑞莉娅",roles:["fighter","assassin"],isWeekFree:"0",attack:"7",defense:"4",magic:"5",difficulty:"5",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/39.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/39.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4000",camp:"",campId:"",keywords:"刀锋舞者,艾瑞莉娅,女刀,女刀锋,Irelia,nd,ndf,dfwz,arly,daofengwuzhe,airuiliya,nvdao,nvdaofeng",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/39000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Irelia.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big39001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big39000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big39003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big39002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big39004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big39005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big39006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big39015.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big39016.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big39017.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/39000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/39001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/39002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/39003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/39004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/39005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/39006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/39016.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/39015.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/39017.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/39000.jpg"},{heroId:"40",name:"风暴之怒",alias:"Janna",title:"迦娜",roles:["support","mage"],isWeekFree:"0",attack:"3",defense:"5",magic:"7",difficulty:"7",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/40.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/40.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"1350",couponPrice:"2000",camp:"",campId:"",keywords:"风暴之怒,迦娜,风女,fn,jn,fbzn,Janna,fengbaozhinu,jiana,fengnv",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/40000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Janna.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big40000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big40001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big40002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big40003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big40004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big40005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big40006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big40007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big40008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big40013.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/40000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/40001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/40003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/40002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/40005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/40004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/40008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/40007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/40006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/40013.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/40011.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/40000.jpg"},{heroId:"41",name:"海洋之灾",alias:"Gangplank",title:"普朗克",roles:["fighter"],isWeekFree:"0",attack:"7",defense:"6",magic:"4",difficulty:"9",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/41.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/41.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"3150",couponPrice:"2500",camp:"",campId:"",keywords:"海洋之灾,普朗克,船长,plk,cz,hyzz,Gangplank,haiyangzhizai,pulangke,chuanzhang",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/41000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Gangplank.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big41000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big41001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big41002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big41003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big41004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big41005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big41006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big41007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big41008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big41014.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/41000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/41001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/41002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/41003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/41004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/41005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/41006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/41007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/41008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/41009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/41010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/41011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/41012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/41013.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/41014.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/41015.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/41016.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/41017.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/41000.jpg"},{heroId:"42",name:"英勇投弹手",alias:"Corki",title:"库奇",roles:["marksman"],isWeekFree:"0",attack:"8",defense:"3",magic:"6",difficulty:"6",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/42.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/42.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"3500",camp:"",campId:"",keywords:"英勇投弹手,库奇,飞机,Corki,yingyongtoudanshou,kuqi,feiji,fj,kq,yytds",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/42000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Corki.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big42000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big42001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big42002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big42004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big42003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big42005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big42006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big42007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big42008.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/42000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/42001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/42002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/42003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/42004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/42005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/42006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/42007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/42008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/42009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/42010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/42011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/42012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/42016.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/42017.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/42000.jpg"},{heroId:"43",name:"天启者",alias:"Karma",title:"卡尔玛",roles:["mage","support"],isWeekFree:"0",attack:"1",defense:"7",magic:"8",difficulty:"5",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/43.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/43.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"3150",couponPrice:"2500",camp:"",campId:"",keywords:"天启者,卡尔玛,扇子妈,Karma,szm,kem,tqz,tianqizhe,kaerma,shanzima",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/43000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Karma.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big43000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big43001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big43002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big43003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big43004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big43005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big43006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big43007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big43008.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/43000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/43001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/43002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/43003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/43004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/43005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/43006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/43007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/43008.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/43000.jpg"},{heroId:"44",name:"瓦洛兰之盾",alias:"Taric",title:"塔里克",roles:["support","fighter"],isWeekFree:"0",attack:"4",defense:"8",magic:"5",difficulty:"3",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/44.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/44.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"3150",couponPrice:"1500",camp:"",campId:"",keywords:"瓦洛兰之盾,塔里克,宝石,bs,tlk,wllzd,Taric,waluolanzhidun,talike,baoshi",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/44000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Taric.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big44000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big44001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big44002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big44003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big44004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big44009.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/44000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/44001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/44002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/44003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/44004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/44005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/44006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/44007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/44008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/44009.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/44000.jpg"},{heroId:"45",name:"邪恶小法师",alias:"Veigar",title:"维迦",roles:["mage"],isWeekFree:"0",attack:"2",defense:"2",magic:"10",difficulty:"7",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/45.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/45.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"1350",couponPrice:"2000",camp:"",campId:"",keywords:"邪恶小法师,小法师,维迦,xfs,xexfs,wj,Veigar,xieexiaofashi,xiaofashi,weijia",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/45000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Veigar.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big45000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big45001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big45002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big45003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big45004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big45005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big45006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big45007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big45008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big45009.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big45013.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/45000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/45001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/45002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/45003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/45004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/45005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/45006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/45007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/45008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/45009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/45010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/45011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/45012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/45013.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/45000.jpg"},{heroId:"48",name:"巨魔之王",alias:"Trundle",title:"特朗德尔",roles:["fighter","tank"],isWeekFree:"0",attack:"7",defense:"6",magic:"2",difficulty:"5",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/48.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/48.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"3150",couponPrice:"2500",camp:"",campId:"",keywords:"巨魔之王,巨魔,特朗德尔,Trundle,jm,jmzw,tlde,jumozhiwang,jumo,telangdeer",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/48000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Trundle.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big48000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big48001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big48002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big48004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big48003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big48005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big48006.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/48000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/48001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/48002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/48003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/48004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/48005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/48006.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/48000.jpg"},{heroId:"50",name:"诺克萨斯统领",alias:"Swain",title:"斯维因",roles:["mage","fighter"],isWeekFree:"0",attack:"2",defense:"6",magic:"9",difficulty:"8",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/50.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/50.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"4800",couponPrice:"3000",camp:"",campId:"",keywords:"诺克萨斯统领,乌鸦,斯维因,swy,wy,nksstl,Swain,nuokesasitongling,wuya,siweiyin",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/50000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Swain.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big50000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big50001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big50002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big50003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big50004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big50011.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big50012.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/50000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/50001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/50002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/50003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/50004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/50011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/50012.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/50000.jpg"},{heroId:"51",name:"皮城女警",alias:"Caitlyn",title:"凯特琳",roles:["marksman"],isWeekFree:"0",attack:"8",defense:"2",magic:"2",difficulty:"6",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/51.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/51.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"3000",camp:"",campId:"",keywords:"皮城女警,凯特琳,女警,皮城,Caitlyn,pichengnvjing,kaitelin,nvjing,picheng,pc,nj,pcnj,ctl",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/51000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Caitlyn.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big51000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big51001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big51002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big51003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big51004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big51005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big51006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big51010.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big51011.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big51013.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/51000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/51001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/51002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/51003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/51004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/51005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/51006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/51007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/51008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/51009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/51010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/51011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/51012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/51013.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/51014.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/51015.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/51016.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/51017.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/51000.jpg"},{heroId:"53",name:"蒸汽机器人",alias:"Blitzcrank",title:"布里茨",roles:["tank","fighter","support"],isWeekFree:"0",attack:"4",defense:"8",magic:"5",difficulty:"4",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/53.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/53.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"3150",couponPrice:"2500",camp:"",campId:"",keywords:"蒸汽机器人,布里茨,机器人,Blitzcrank,zhengqijiqiren,bulici,jiqiren,zqjqr,jqr,blc",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/53000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Blitzcrank.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big53000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big53001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big53002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big53003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big53004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big53005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big53006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big53007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big53011.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/53000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/53001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/53002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/53003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/53004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/53005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/53006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/53007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/53008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/53009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/53010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/53011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/53012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/53013.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/53014.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/53015.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/53000.jpg"},{heroId:"54",name:"熔岩巨兽",alias:"Malphite",title:"墨菲特",roles:["tank","fighter"],isWeekFree:"0",attack:"5",defense:"9",magic:"7",difficulty:"2",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/54.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/54.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"1350",couponPrice:"1000",camp:"",campId:"",keywords:"熔岩巨兽,墨菲特,石头人,Malphite,str,mft,ryjs,rongyanjushou,mofeite,shitouren",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/54000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Malphite.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big54000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big54001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big54004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big54002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big54003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big54005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big54006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big54007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big54016.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/54000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/54001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/54002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/54003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/54004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/54005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/54006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/54007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/54008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/54009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/54011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/54015.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/54016.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/54000.jpg"},{heroId:"55",name:"不祥之刃",alias:"Katarina",title:"卡特琳娜",roles:["assassin","mage"],isWeekFree:"0",attack:"4",defense:"3",magic:"9",difficulty:"8",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/55.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/55.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"3150",couponPrice:"2500",camp:"",campId:"",keywords:"不祥之刃,卡特琳娜,卡特,kt,ktln,bxzr,不详,bx,Katarina,buxiangzhiren,katelinna,kate,buxiang",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/55000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Katarina.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big55002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big55004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big55006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big55001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big55003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big55005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big55000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big55007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big55012.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big55008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big55010.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big55009.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/55000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/55001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/55002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/55003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/55004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/55005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/55006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/55007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/55008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/55009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/55010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/55011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/55012.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/55000.jpg"},{heroId:"56",name:"永恒梦魇",alias:"Nocturne",title:"魔腾",roles:["assassin","fighter"],isWeekFree:"0",attack:"9",defense:"5",magic:"2",difficulty:"4",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/56.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/56.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"4800",couponPrice:"3000",camp:"",campId:"",keywords:"永恒梦魇,魔腾,noc,Nocturne,梦魇,my,yhmy,mt,yonghengmengyan,moteng,mengyan",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/56000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Nocturne.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big56007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big56000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big56002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big56001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big56003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big56004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big56005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big56006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big56016.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/56000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/56001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/56002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/56003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/56004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/56005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/56006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/56007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/56016.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/56000.jpg"},{heroId:"57",name:"扭曲树精",alias:"Maokai",title:"茂凯",roles:["tank","mage"],isWeekFree:"0",attack:"3",defense:"8",magic:"6",difficulty:"3",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/57.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/57.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"4800",couponPrice:"3000",camp:"",campId:"",keywords:"扭曲树精,茂凯,大树,ds,mk,nqsj,Maokai,niuqushujing,maokai,dashu",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/57000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Maokai.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big57001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big57000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big57006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big57004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big57003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big57007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big57002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big57005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big57016.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/57000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/57001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/57002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/57003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/57004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/57005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/57006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/57007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/57008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/57009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/57010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/57011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/57012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/57013.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/57014.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/57015.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/57016.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/57000.jpg"},{heroId:"58",name:"荒漠屠夫",alias:"Renekton",title:"雷克顿",roles:["fighter","tank"],isWeekFree:"1",attack:"8",defense:"5",magic:"2",difficulty:"3",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/58.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/58.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"4800",couponPrice:"3000",camp:"",campId:"",keywords:"荒漠屠夫,鳄鱼,雷克顿,ey,lkd,mmtf,huangmotufu,eyu,leikedun",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/58000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Renekton.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big58000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big58001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big58002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big58003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big58005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big58007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big58004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big58006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big58008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big58009.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big58017.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/58000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/58001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/58002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/58003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/58004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/58005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/58006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/58007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/58008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/58009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/58010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/58011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/58012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/58013.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/58014.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/58015.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/58016.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/58017.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/58000.jpg"},{heroId:"59",name:"德玛西亚皇子",alias:"JarvanIV",title:"嘉文四世",roles:["tank","fighter"],isWeekFree:"0",attack:"6",defense:"8",magic:"3",difficulty:"5",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/59.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/59.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"4800",couponPrice:"3000",camp:"",campId:"",keywords:"德玛西亚皇子,嘉文四世,皇子,嘉文,JarvanIV,jw,hz,dmxyhz,jwss,demaxiyahuangzi,jiawensishi,huangzi,jiawen",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/59000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/JarvanIV.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big59001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big59002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big59003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big59004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big59000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big59005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big59006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big59007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big59011.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big59008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big59009.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/59000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/59001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/59002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/59003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/59004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/59005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/59006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/59007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/59008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/59009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/59011.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/59000.jpg"},{heroId:"60",name:"蜘蛛女皇",alias:"Elise",title:"伊莉丝",roles:["mage","fighter"],isWeekFree:"0",attack:"6",defense:"5",magic:"7",difficulty:"9",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/60.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/60.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"4800",couponPrice:"3000",camp:"",campId:"",keywords:"蜘蛛女皇,伊莉丝,蜘蛛,Elise,zz,zznh,yls,zhizhunvhuang,yilisi,zhizhu",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/60000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Elise.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big60000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big60005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big60003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big60002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big60001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big60004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big60006.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/60000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/60001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/60002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/60003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/60004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/60005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/60006.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/60000.jpg"},{heroId:"61",name:"发条魔灵",alias:"Orianna",title:"奥莉安娜",roles:["mage","support"],isWeekFree:"0",attack:"4",defense:"3",magic:"9",difficulty:"7",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/61.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/61.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"3000",camp:"",campId:"",keywords:"发条魔灵,奥莉安娜,发条,Orianna,ftml,ft,alan,fatiaomoling,aolianna,fatiao",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/61000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Orianna.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big61007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big61006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big61005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big61004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big61000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big61001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big61003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big61002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big61008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big61011.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/61000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/61001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/61002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/61003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/61004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/61005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/61006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/61007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/61008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/61011.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/61000.jpg"},{heroId:"62",name:"齐天大圣",alias:"MonkeyKing",title:"孙悟空",roles:["fighter","tank"],isWeekFree:"0",attack:"8",defense:"5",magic:"2",difficulty:"3",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/62.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/62.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"齐天大圣,孙悟空,MonkeyKing,猴子,hz,qtds,swk,qitiandasheng,sunwukong,houzi",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/62000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/MonkeyKing.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big62000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big62001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big62003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big62002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big62004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big62005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big62006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big62007.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/62000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/62001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/62002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/62003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/62004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/62005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/62006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/62007.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/62000.jpg"},{heroId:"63",name:"复仇焰魂",alias:"Brand",title:"布兰德",roles:["mage"],isWeekFree:"0",attack:"2",defense:"2",magic:"9",difficulty:"4",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/63.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/63.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"4800",couponPrice:"2000",camp:"",campId:"",keywords:"复仇焰魂,布兰德,火男,Brand,fuchouyanhun,bulande,huonan,cfyh,bld,hn",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/63000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Brand.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big63000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big63001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big63002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big63003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big63004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big63005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big63006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big63007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big63008.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/63000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/63001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/63002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/63003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/63004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/63005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/63006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/63007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/63008.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/63000.jpg"},{heroId:"64",name:"盲僧",alias:"LeeSin",title:"李青",roles:["fighter","assassin"],isWeekFree:"0",attack:"8",defense:"5",magic:"3",difficulty:"6",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/64.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/64.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"4800",couponPrice:"3000",camp:"",campId:"",keywords:"盲僧,瞎子,李青,lq,xz,ms,LeeSin,mangseng,xiazi,liqing",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/64000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/LeeSin.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big64000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big64001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big64004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big64002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big64006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big64003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big64005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big64011.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big64012.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big64010.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/64000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/64001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/64002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/64003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/64004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/64005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/64006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/64008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/64009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/64010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/64011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/64012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/64013.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/64014.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/64015.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/64016.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/64007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/64017.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/64000.jpg"},{heroId:"67",name:"暗夜猎手",alias:"Vayne",title:"薇恩",roles:["marksman","assassin"],isWeekFree:"0",attack:"10",defense:"1",magic:"1",difficulty:"8",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/67.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/67.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"4800",couponPrice:"3000",camp:"",campId:"",keywords:"暗夜猎手,薇恩,vn,Vayne,ve,ayls,anyelieshou,weien",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/67000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Vayne.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big67001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big67005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big67002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big67006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big67000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big67003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big67004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big67012.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big67010.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big67011.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big67013.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big67014.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big67015.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/67000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/67001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/67002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/67003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/67004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/67005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/67006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/67007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/67008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/67009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/67010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/67011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/67012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/67013.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/67014.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/67015.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/67000.jpg"},{heroId:"68",name:"机械公敌",alias:"Rumble",title:"兰博",roles:["fighter","mage"],isWeekFree:"0",attack:"3",defense:"6",magic:"8",difficulty:"10",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/68.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/68.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"4800",couponPrice:"3000",camp:"",campId:"",keywords:"机械公敌,兰博,Rumble,lb,jxgd,jixiegongdi,lanbo",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/68000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Rumble.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big68000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big68003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big68001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big68002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big68004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big68013.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/68000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/68001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/68002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/68003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/68004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/68005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/68006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/68007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/68008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/68009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/68010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/68011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/68012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/68013.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/68000.jpg"},{heroId:"69",name:"魔蛇之拥",alias:"Cassiopeia",title:"卡西奥佩娅",roles:["mage"],isWeekFree:"0",attack:"2",defense:"3",magic:"9",difficulty:"10",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/69.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/69.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"4800",couponPrice:"3500",camp:"",campId:"",keywords:"魔蛇之拥,卡西奥佩娅,蛇女,Cassiopeia,moshezhiyong,kaxiaopeiya,shenv,mszy,kxapy,sn",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/69000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Cassiopeia.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big69000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big69002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big69001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big69003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big69004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big69008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big69009.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/69000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/69001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/69002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/69003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/69004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/69005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/69006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/69007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/69008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/69009.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/69000.jpg"},{heroId:"72",name:"水晶先锋",alias:"Skarner",title:"斯卡纳",roles:["fighter","tank"],isWeekFree:"0",attack:"7",defense:"6",magic:"5",difficulty:"5",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/72.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/72.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"3150",couponPrice:"2500",camp:"",campId:"",keywords:"水晶先锋,斯卡纳,skn,sjxf,蝎子,xz,Skarner,shuijingxianfeng,sikana,xiezi",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/72000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Skarner.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big72003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big72001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big72000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big72002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big72004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big72005.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/72000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/72001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/72002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/72003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/72004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/72005.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/72000.jpg"},{heroId:"74",name:"大发明家",alias:"Heimerdinger",title:"黑默丁格",roles:["mage","support"],isWeekFree:"0",attack:"2",defense:"6",magic:"8",difficulty:"8",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/74.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/74.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"3150",couponPrice:"2500",camp:"",campId:"",keywords:"大发明家,黑默丁格,大头,Heimerdinger,dt,dfmj,hmdg,dafamingjia,heimodingge,datou",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/74000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Heimerdinger.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big74000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big74001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big74002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big74003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big74004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big74005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big74006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big74015.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/74000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/74001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/74002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/74003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/74004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/74005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/74006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/74015.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/74000.jpg"},{heroId:"75",name:"沙漠死神",alias:"Nasus",title:"内瑟斯",roles:["fighter","tank"],isWeekFree:"0",attack:"7",defense:"5",magic:"6",difficulty:"6",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/75.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/75.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"3150",couponPrice:"2500",camp:"",campId:"",keywords:"沙漠死神,内瑟斯,狗头,gt,nss,smss,Nasus,shamosishen,neisesi,goutou",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/75000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Nasus.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big75000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big75001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big75002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big75003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big75004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big75005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big75006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big75011.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big75010.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big75016.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/75000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/75001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/75002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/75003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/75004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/75005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/75006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/75007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/75008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/75009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/75010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/75011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/75012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/75013.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/75014.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/75015.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/75016.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/75000.jpg"},{heroId:"76",name:"狂野女猎手",alias:"Nidalee",title:"奈德丽",roles:["assassin","mage"],isWeekFree:"0",attack:"5",defense:"4",magic:"7",difficulty:"8",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/76.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/76.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"3500",camp:"",campId:"",keywords:"狂野女猎手,奈德丽,豹女,bn,ndl,kynls,Nidalee,kuangyenvlieshou,naideli,baonv",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/76000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Nidalee.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big76000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big76007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big76003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big76006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big76008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big76001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big76002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big76004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big76005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big76009.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big76011.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/76000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/76001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/76002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/76003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/76004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/76005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/76006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/76007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/76008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/76009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/76011.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/76000.jpg"},{heroId:"77",name:"兽灵行者",alias:"Udyr",title:"乌迪尔",roles:["fighter","tank"],isWeekFree:"0",attack:"8",defense:"7",magic:"4",difficulty:"7",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/77.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/77.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"3150",couponPrice:"2500",camp:"",campId:"",keywords:"兽灵行者,乌迪尔,Udyr,wde,slxz,UD,shoulingxingzhe,wudier",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/77000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Udyr.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big77000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big77001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big77002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big77003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big77005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big77004.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/77000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/77001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/77002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/77003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/77004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/77005.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/77000.jpg"},{heroId:"78",name:"圣锤之毅",alias:"Poppy",title:"波比",roles:["tank","fighter"],isWeekFree:"0",attack:"6",defense:"7",magic:"2",difficulty:"6",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/78.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/78.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"450",couponPrice:"1000",camp:"",campId:"",keywords:"圣锤之毅,波比,bb,sczy,Poppy,shengchuizhiyi,bobi",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/78000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Poppy.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big78005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big78004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big78000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big78001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big78006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big78002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big78003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big78014.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big78015.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big78007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big78016.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/78000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/78001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/78002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/78003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/78004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/78005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/78006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/78007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/78008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/78009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/78010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/78011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/78012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/78013.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/78014.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/78015.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/78016.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/78000.jpg"},{heroId:"79",name:"酒桶",alias:"Gragas",title:"古拉加斯",roles:["fighter","mage"],isWeekFree:"0",attack:"4",defense:"7",magic:"6",difficulty:"5",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/79.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/79.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"3150",couponPrice:"2500",camp:"",campId:"",keywords:"酒桶,古拉加斯,啤酒人,肉蛋葱鸡,Gragas,pjr,jt,gljs,rdcj,jiutong,gulajiasi,pijiuren,roudancongji",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/79000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Gragas.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big79006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big79003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big79001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big79004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big79000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big79002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big79005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big79007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big79011.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big79008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big79009.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big79010.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/79000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/79001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/79002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/79003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/79004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/79005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/79006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/79007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/79008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/79009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/79010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/79011.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/79000.jpg"},{heroId:"80",name:"不屈之枪",alias:"Pantheon",title:"潘森",roles:["fighter","assassin"],isWeekFree:"0",attack:"9",defense:"4",magic:"3",difficulty:"4",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/80.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/80.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"3150",couponPrice:"1500",camp:"",campId:"",keywords:"不屈之枪,潘森,Pantheon,PS,bqzq,buquzhiqiang,pansen",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/80000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Pantheon.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big80000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big80001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big80002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big80005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big80016.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big80006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big80007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big80004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big80003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big80008.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/80000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/80001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/80002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/80003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/80004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/80005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/80006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/80007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/80008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/80009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/80010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/80011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/80012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/80013.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/80014.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/80015.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/80016.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/80000.jpg"},{heroId:"81",name:"探险家",alias:"Ezreal",title:"伊泽瑞尔",roles:["marksman","mage"],isWeekFree:"1",attack:"7",defense:"2",magic:"6",difficulty:"7",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/81.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/81.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"4800",couponPrice:"3000",camp:"",campId:"",keywords:"探险家,伊泽瑞尔,ez,Ezreal,tanxianjia,yizeruier,txj,yzrr",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/81000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Ezreal.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big81003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big81001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big81002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big81004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big81000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big81006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big81005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big81007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big81008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big81009.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/81000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/81001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/81002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/81003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/81004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/81005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/81006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/81007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/81008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/81009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/81013.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/81014.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/81015.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/81000.jpg"},{heroId:"82",name:"铁铠冥魂",alias:"Mordekaiser",title:"莫德凯撒",roles:["fighter"],isWeekFree:"0",attack:"4",defense:"6",magic:"7",difficulty:"4",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/82.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/82.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"3150",couponPrice:"1500",camp:"",campId:"",keywords:"铁铠冥魂,莫德凯撒,铁男,Mordekaiser,tn,mdks,tkmh,tiekaiminghun,modekaisa,tienan",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/82000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Mordekaiser.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big82000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big82001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big82002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big82005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big82003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big82004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big82006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big82013.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/82000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/82001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/82002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/82003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/82004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/82005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/82006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/82013.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/82000.jpg"},{heroId:"83",name:"牧魂人",alias:"Yorick",title:"约里克",roles:["fighter","tank"],isWeekFree:"0",attack:"6",defense:"6",magic:"4",difficulty:"6",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/83.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/83.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"3150",couponPrice:"2500",camp:"",campId:"",keywords:"牧魂人,约里克,掘墓人,jmr,mhr,ylk,Yorick,muhunren,yuelike,juemuren",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/83000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Yorick.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big83000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big83001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big83002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big83003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big83004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big83012.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/83000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/83001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/83002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/83003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/83004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/83012.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/83000.jpg"},{heroId:"84",name:"离群之刺",alias:"Akali",title:"阿卡丽",roles:["assassin"],isWeekFree:"0",attack:"5",defense:"3",magic:"8",difficulty:"7",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/84.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/84.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"3150",couponPrice:"2500",camp:"",campId:"",keywords:"阿卡丽,离群之刺,akali,liqunzhici,akl,lqzc",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/84000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Akali.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big84000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big84001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big84002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big84004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big84005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big84006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big84003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big84007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big84008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big84009.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big84013.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big84014.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big84015.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/84000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/84001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/84002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/84003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/84004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/84005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/84006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/84007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/84008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/84009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/84013.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/84014.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/84015.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/84000.jpg"},{heroId:"85",name:"狂暴之心",alias:"Kennen",title:"凯南",roles:["mage","marksman"],isWeekFree:"0",attack:"6",defense:"4",magic:"7",difficulty:"4",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/85.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/85.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"4800",couponPrice:"2500",camp:"",campId:"",keywords:"狂暴之心,凯南,kn,kbzx,Kennen,kuangbaozhixin,kainan",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/85000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Kennen.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big85000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big85001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big85002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big85003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big85004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big85005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big85006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big85007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big85008.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/85000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/85001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/85002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/85003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/85004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/85005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/85006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/85007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/85008.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/85000.jpg"},{heroId:"86",name:"德玛西亚之力",alias:"Garen",title:"盖伦",roles:["fighter","tank"],isWeekFree:"1",attack:"7",defense:"7",magic:"1",difficulty:"5",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/86.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/86.ogg",isARAMweekfree:"0",ispermanentweekfree:"1",changeLabel:"无改动",goldPrice:"3150",couponPrice:"1000",camp:"",campId:"",keywords:"德玛西亚之力,盖伦,大宝剑,Garen,dbj,gl,dmxyzl,demaxiyazhili,gailun,dabaojian",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/86000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Garen.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big86000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big86001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big86002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big86003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big86004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big86005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big86006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big86010.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big86011.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big86013.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big86014.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/86000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/86001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/86002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/86003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/86004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/86005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/86006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/86007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/86008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/86009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/86010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/86011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/86012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/86013.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/86014.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/86000.jpg"},{heroId:"89",name:"曙光女神",alias:"Leona",title:"蕾欧娜",roles:["tank","support"],isWeekFree:"0",attack:"4",defense:"8",magic:"3",difficulty:"4",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/89.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/89.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"4800",couponPrice:"3000",camp:"",campId:"",keywords:"曙光女神,蕾欧娜,日女,曙光,女坦,nt,rn,sg,lon,sgns,shuguangnvshen,leiouna,rinv,shuguang,Leona,nvtan",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/89000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Leona.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big89000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big89001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big89002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big89003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big89004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big89008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big89009.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big89010.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big89011.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big89012.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/89000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/89001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/89002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/89003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/89004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/89005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/89006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/89008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/89009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/89010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/89011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/89012.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/89000.jpg"},{heroId:"90",name:"虚空先知",alias:"Malzahar",title:"玛尔扎哈",roles:["mage","assassin"],isWeekFree:"0",attack:"2",defense:"2",magic:"9",difficulty:"6",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/90.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/90.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"4800",couponPrice:"3000",camp:"",campId:"",keywords:"虚空先知,玛尔扎哈,蚂蚱,马尔扎哈,Malzahar,mz,mezh,xkxz,xukongxianzhi,maerzhaha,mazha,maerzhaha",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/90000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Malzahar.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big90000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big90001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big90002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big90003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big90004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big90005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big90006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big90007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big90009.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/90000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/90001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/90002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/90003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/90004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/90005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/90006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/90007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/90009.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/90000.jpg"},{heroId:"91",name:"刀锋之影",alias:"Talon",title:"泰隆",roles:["assassin"],isWeekFree:"0",attack:"9",defense:"3",magic:"1",difficulty:"7",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/91.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/91.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"刀锋之影,男刀,泰隆,tl,nd,dfzy,Talon,daofengzhiying,nandao,tailong",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/91000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Talon.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big91000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big91001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big91002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big91003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big91004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big91005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big91012.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/91000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/91001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/91002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/91003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/91004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/91005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/91006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/91007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/91008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/91009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/91010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/91011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/91012.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/91000.jpg"},{heroId:"92",name:"放逐之刃",alias:"Riven",title:"锐雯",roles:["fighter","assassin"],isWeekFree:"1",attack:"8",defense:"5",magic:"1",difficulty:"8",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/92.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/92.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"放逐之刃,锐雯,Riven,rw,fzzr,fangzhuzhiren,ruiwen",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/92000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Riven.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big92000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big92001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big92002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big92003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big92004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big92005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big92006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big92007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big92016.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/92000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/92001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/92002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/92003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/92004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/92005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/92006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/92007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/92008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/92009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/92010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/92011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/92012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/92013.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/92014.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/92015.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/92016.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/92017.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/92000.jpg"},{heroId:"96",name:"深渊巨口",alias:"KogMaw",title:"克格莫",roles:["marksman","mage"],isWeekFree:"0",attack:"8",defense:"2",magic:"5",difficulty:"6",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/96.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/96.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"4800",couponPrice:"2000",camp:"",campId:"",keywords:"深渊巨口,克格莫,大嘴,KogMaw,dz,kgm,syjk,shenyuanjukou,kegemo,dazui",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/96000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/KogMaw.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big96000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big96001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big96002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big96003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big96004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big96005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big96006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big96007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big96008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big96009.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big96010.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/96000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/96001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/96002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/96003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/96004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/96005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/96006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/96007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/96008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/96009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/96010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/96011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/96012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/96013.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/96014.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/96015.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/96016.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/96017.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/96000.jpg"},{heroId:"98",name:"暮光之眼",alias:"Shen",title:"慎",roles:["tank"],isWeekFree:"1",attack:"3",defense:"9",magic:"3",difficulty:"4",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/98.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/98.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"1350",couponPrice:"2000",camp:"",campId:"",keywords:"暮光之眼,慎,yaozi,s,mgzy,Shen,muguangzhiyan,shen",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/98000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Shen.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big98000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big98001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big98002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big98003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big98004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big98005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big98006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big98015.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big98016.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/98001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/98004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/98003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/98000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/98002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/98005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/98006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/98007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/98008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/98009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/98010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/98011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/98012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/98013.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/98014.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/98015.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/98016.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/98000.jpg"},{heroId:"99",name:"光辉女郎",alias:"Lux",title:"拉克丝",roles:["mage","support"],isWeekFree:"0",attack:"2",defense:"4",magic:"9",difficulty:"5",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/99.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/99.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"3150",couponPrice:"2500",camp:"",campId:"",keywords:"光辉女郎,拉克丝,光辉,lux,lks,gh,ghnl,guanghuinvlang,lakesi,guanghui",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/99000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Lux.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big99000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big99001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big99002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big99003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big99004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big99005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big99006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big99007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big99008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big99014.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big99015.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big99016.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big99017.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/99000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/99001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/99002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/99003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/99004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/99005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/99006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/99007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/99008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/99009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/99010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/99011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/99012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/99013.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/99014.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/99015.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/99016.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/99017.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/99000.jpg"},{heroId:"101",name:"远古巫灵",alias:"Xerath",title:"泽拉斯",roles:["mage"],isWeekFree:"0",attack:"1",defense:"3",magic:"10",difficulty:"8",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/101.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/101.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"4800",couponPrice:"2500",camp:"",campId:"",keywords:"远古巫灵,泽拉斯,guancaiban,gbc,zls,ygwl,Xerath,yuanguwuling,zelasi",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/101000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Xerath.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big101001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big101002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big101003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big101000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big101004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big101005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big101012.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/101000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/101001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/101002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/101003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/101004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/101005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/101012.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/101000.jpg"},{heroId:"102",name:"龙血武姬",alias:"Shyvana",title:"希瓦娜",roles:["fighter","tank"],isWeekFree:"0",attack:"8",defense:"6",magic:"3",difficulty:"4",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/102.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/102.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"4800",couponPrice:"3500",camp:"",campId:"",keywords:"龙血武姬,龙女,希瓦娜,ln,xwn,lxwj,Shyvana,longxuewuji,longnv,xiwana",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/102000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Shyvana.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big102000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big102001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big102002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big102003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big102004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big102005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big102006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big102008.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/102000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/102001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/102002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/102003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/102004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/102005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/102006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/102008.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/102000.jpg"},{heroId:"103",name:"九尾妖狐",alias:"Ahri",title:"阿狸",roles:["mage","assassin"],isWeekFree:"0",attack:"3",defense:"4",magic:"8",difficulty:"5",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/103.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/103.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"3500",camp:"",campId:"",keywords:"九尾,九尾妖狐,狐狸,阿狸,jiuwei,jiuweiyaohu,huli,ali,ahri,jwyh,al,hl,jw",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/103000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Ahri.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big103000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big103001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big103002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big103003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big103004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big103005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big103006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big103007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big103014.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big103015.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big103016.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big103017.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/103000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/103001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/103002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/103003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/103004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/103005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/103006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/103007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/103008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/103009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/103010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/103011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/103012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/103013.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/103014.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/103015.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/103016.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/103017.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/103000.jpg"},{heroId:"104",name:"法外狂徒",alias:"Graves",title:"格雷福斯",roles:["marksman"],isWeekFree:"0",attack:"8",defense:"5",magic:"3",difficulty:"3",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/104.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/104.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"法外狂徒,格雷福斯,男枪,Graves,nq,glfs,fwkt,fawaikuangtu,geleifusi,nanqiang",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/104000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Graves.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big104000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big104001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big104002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big104003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big104004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big104005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big104006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big104007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big104014.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/104000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/104001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/104002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/104003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/104004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/104005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/104006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/104007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/104011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/104012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/104014.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/104000.jpg"},{heroId:"105",name:"潮汐海灵",alias:"Fizz",title:"菲兹",roles:["assassin","fighter"],isWeekFree:"0",attack:"6",defense:"4",magic:"7",difficulty:"6",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/105.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/105.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"潮汐海灵,菲兹,小鱼人,Fizz,fz,xyr,cxhl,chaoxihailing,feizi,xiaoyuren",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/105000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Fizz.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big105000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big105001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big105002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big105003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big105004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big105008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big105009.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big105010.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big105014.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big105015.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big105016.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/105000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/105001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/105002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/105003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/105004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/105005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/105006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/105008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/105007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/105009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/105010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/105011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/105012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/105013.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/105014.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/105015.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/105016.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/105000.jpg"},{heroId:"106",name:"不灭狂雷",alias:"Volibear",title:"沃利贝尔",roles:["fighter","tank"],isWeekFree:"0",attack:"7",defense:"7",magic:"4",difficulty:"3",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/106.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/106.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"4800",couponPrice:"3500",camp:"",campId:"",keywords:"不灭狂雷,沃利贝尔,Volibear,狗熊,gx,wlbe,bmkl,bumiekuanglei,wolibeier,gouxiong",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/106000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Volibear.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big106000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big106001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big106002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big106003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big106004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big106005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big106006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big106007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big106009.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/106000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/106001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/106002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/106003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/106004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/106005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/106006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/106007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/106009.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/106000.jpg"},{heroId:"107",name:"傲之追猎者",alias:"Rengar",title:"雷恩加尔",roles:["assassin","fighter"],isWeekFree:"1",attack:"7",defense:"4",magic:"2",difficulty:"8",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/107.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/107.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"傲之追猎者,狮子狗,雷恩加尔,szg,leje,azzlz,Rengar,aozhizhuiliezhe,shizigou,leienjiaer",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/107000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Rengar.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big107000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big107001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big107002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big107003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big107008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big107015.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/107000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/107001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/107002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/107003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/107004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/107005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/107006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/107008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/107012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/107013.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/107015.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/107000.jpg"},{heroId:"110",name:"惩戒之箭",alias:"Varus",title:"韦鲁斯",roles:["marksman","mage"],isWeekFree:"0",attack:"7",defense:"3",magic:"4",difficulty:"2",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/110.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/110.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"4800",couponPrice:"3500",camp:"",campId:"",keywords:"惩戒之箭,韦鲁斯,维鲁斯,wls,cjzj,Varus,chengjiezhijian,weilusi",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/110000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Varus.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big110000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big110001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big110002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big110003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big110004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big110005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big110006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big110007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big110009.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big110016.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big110017.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/110000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/110001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/110002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/110003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/110004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/110005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/110006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/110007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/110009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/110016.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/110017.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/110000.jpg"},{heroId:"111",name:"深海泰坦",alias:"Nautilus",title:"诺提勒斯",roles:["tank","fighter"],isWeekFree:"0",attack:"4",defense:"6",magic:"6",difficulty:"6",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/111.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/111.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"4800",couponPrice:"3500",camp:"",campId:"",keywords:"深海泰坦,诺提勒斯,泰坦,Nautilus,tt,ntls,shtt,shenhaitaitan,nuotileisi,taitan",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/111000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Nautilus.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big111000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big111001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big111002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big111003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big111004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big111005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big111006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big111009.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/111000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/111001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/111002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/111003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/111004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/111005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/111006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/111009.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/111000.jpg"},{heroId:"112",name:"机械先驱",alias:"Viktor",title:"维克托",roles:["mage"],isWeekFree:"0",attack:"2",defense:"4",magic:"10",difficulty:"9",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/112.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/112.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"4800",couponPrice:"2500",camp:"",campId:"",keywords:"机械先驱,维克托,三只手,szs,wkt,jxxq,Viktor,jixiexianqu,weiketuo,sanzhishou",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/112000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Viktor.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big112000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big112002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big112001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big112003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big112004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big112005.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/112000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/112001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/112002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/112003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/112004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/112005.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/112000.jpg"},{heroId:"113",name:"北地之怒",alias:"Sejuani",title:"瑟庄妮",roles:["tank","fighter"],isWeekFree:"0",attack:"5",defense:"7",magic:"6",difficulty:"4",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/113.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/113.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"4800",couponPrice:"3500",camp:"",campId:"",keywords:"北地之怒,猪妹,瑟庄妮,zm,szn,bdzn,Sejuani,beidizhinu,zhumei,sezhuangni",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/113000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Sejuani.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big113000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big113001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big113002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big113003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big113004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big113005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big113006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big113007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big113008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big113015.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big113016.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/113000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/113001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/113002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/113003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/113004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/113005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/113006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/113007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/113008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/113015.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/113016.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/113000.jpg"},{heroId:"114",name:"无双剑姬",alias:"Fiora",title:"菲奥娜",roles:["fighter","assassin"],isWeekFree:"0",attack:"10",defense:"4",magic:"2",difficulty:"3",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/114.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/114.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"无双剑姬,菲奥娜,剑姬,Fiora,jj,wsjj,fan,wushuangjianji,feiaona,jianji",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/114000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Fiora.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big114000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big114001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big114002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big114003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big114004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big114005.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/114000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/114001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/114002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/114003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/114004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/114005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/114006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/114007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/114008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/114009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/114010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/114011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/114012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/114013.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/114017.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/114000.jpg"},{heroId:"115",name:"爆破鬼才",alias:"Ziggs",title:"吉格斯",roles:["mage"],isWeekFree:"0",attack:"2",defense:"4",magic:"9",difficulty:"4",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/115.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/115.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"爆破鬼才,炸弹人,吉格斯,Ziggs,jgs,zdr,bpgc,baopoguicai,zhadanren,jigesi",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/115000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Ziggs.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big115000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big115001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big115002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big115003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big115004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big115005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big115006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big115007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big115014.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/115000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/115001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/115002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/115003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/115004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/115005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/115006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/115007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/115014.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/115000.jpg"},{heroId:"117",name:"仙灵女巫",alias:"Lulu",title:"璐璐",roles:["support","mage"],isWeekFree:"0",attack:"4",defense:"5",magic:"7",difficulty:"5",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/117.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/117.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"4800",couponPrice:"3500",camp:"",campId:"",keywords:"仙灵女巫,璐璐,ll,xlnw,Lulu,xianlingnvwu,lulu",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/117000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Lulu.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big117000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big117001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big117002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big117003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big117004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big117005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big117006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big117014.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big117015.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/117000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/117001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/117002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/117003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/117004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/117005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/117006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/117007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/117008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/117009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/117010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/117011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/117012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/117013.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/117014.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/117015.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/117000.jpg"},{heroId:"119",name:"荣耀行刑官",alias:"Draven",title:"德莱文",roles:["marksman"],isWeekFree:"0",attack:"9",defense:"3",magic:"1",difficulty:"8",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/119.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/119.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"荣耀行刑官,德莱文,Draven,rongyaoxingxingguan,delaiwen,ryxxg,dlw",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/119000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Draven.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big119000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big119001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big119003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big119002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big119004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big119005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big119006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big119012.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big119013.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/119000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/119001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/119002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/119003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/119004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/119005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/119006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/119007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/119008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/119009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/119010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/119011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/119012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/119013.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/119000.jpg"},{heroId:"120",name:"战争之影",alias:"Hecarim",title:"赫卡里姆",roles:["fighter","tank"],isWeekFree:"0",attack:"8",defense:"6",magic:"4",difficulty:"6",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/120.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/120.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"4800",couponPrice:"3500",camp:"",campId:"",keywords:"战争之影,赫卡里姆,人马,Hecarim,rm,zzzy,hlkm,zhanzhengzhiying,hekalimu,renma",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/120000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Hecarim.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big120000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big120001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big120002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big120003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big120004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big120005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big120006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big120007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big120008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big120014.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/120000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/120001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/120002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/120003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/120004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/120005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/120006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/120007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/120008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/120014.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/120000.jpg"},{heroId:"121",name:"虚空掠夺者",alias:"Khazix",title:"卡兹克",roles:["assassin"],isWeekFree:"0",attack:"9",defense:"4",magic:"3",difficulty:"6",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/121.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/121.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"虚空掠夺者,螳螂,卡兹克,kzk,tl,xkldz,Khazix,xukonglueduozhe,tanglang,kazike",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/121000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Khazix.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big121000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big121001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big121002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big121003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big121004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big121011.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/121000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/121001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/121002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/121003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/121004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/121011.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/121000.jpg"},{heroId:"122",name:"诺克萨斯之手",alias:"Darius",title:"德莱厄斯",roles:["fighter","tank"],isWeekFree:"0",attack:"9",defense:"5",magic:"1",difficulty:"2",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/122.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/122.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"诺克萨斯之手,德莱厄斯,诺手,Darius,nuokesasizhishou,delaiesi,nuoshou,nksszs,ns,dles",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/122000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Darius.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big122003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big122004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big122008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big122001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big122000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big122002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big122014.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big122015.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big122016.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/122000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/122001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/122002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/122003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/122004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/122008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/122013.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/122014.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/122015.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/122016.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/122000.jpg"},{heroId:"126",name:"未来守护者",alias:"Jayce",title:"杰斯",roles:["fighter","marksman"],isWeekFree:"0",attack:"8",defense:"4",magic:"3",difficulty:"7",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/126.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/126.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"4800",couponPrice:"3500",camp:"",campId:"",keywords:"未来守护者,杰斯,Jayce,js,wlshz,weilaishouhuzhe,jiesi",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/126000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Jayce.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big126000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big126002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big126001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big126003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big126005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big126004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big126015.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/126000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/126001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/126002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/126003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/126004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/126005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/126015.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/126000.jpg"},{heroId:"127",name:"冰霜女巫",alias:"Lissandra",title:"丽桑卓",roles:["mage"],isWeekFree:"0",attack:"2",defense:"5",magic:"8",difficulty:"6",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/127.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/127.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"3000",camp:"",campId:"",keywords:"冰霜女巫,冰女,丽桑卓,Lissandra,bn,lsz,bsnw,bingshuangnvwu,bingnv,lisangzhuo",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/127000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Lissandra.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big127000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big127001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big127003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big127002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big127004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big127012.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/127000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/127001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/127002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/127003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/127004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/127012.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/127000.jpg"},{heroId:"131",name:"皎月女神",alias:"Diana",title:"黛安娜",roles:["fighter","mage"],isWeekFree:"0",attack:"7",defense:"6",magic:"8",difficulty:"4",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/131.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/131.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"皎月女神,黛安娜,皎月,Diana,jiaoyuenvshen,daianna,jiaoyue,jy,dan,jyns",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/131000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Diana.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big131000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big131001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big131002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big131003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big131012.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big131011.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/131000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/131001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/131002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/131003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/131006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/131009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/131011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/131012.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/131000.jpg"},{heroId:"133",name:"德玛西亚之翼",alias:"Quinn",title:"奎因",roles:["marksman","assassin"],isWeekFree:"0",attack:"9",defense:"4",magic:"2",difficulty:"5",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/133.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/133.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"德玛西亚之翼,奎因,鸟人,ky,dmxyzz,Quinn,nr,demaxiyazhiyi,kuiyin,niaoren",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/133000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Quinn.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big133001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big133004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big133000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big133002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big133003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big133005.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/133000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/133001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/133002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/133003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/133004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/133005.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/133000.jpg"},{heroId:"134",name:"暗黑元首",alias:"Syndra",title:"辛德拉",roles:["mage","support"],isWeekFree:"0",attack:"2",defense:"3",magic:"9",difficulty:"8",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/134.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/134.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"暗黑元首,球女,辛德拉,qn,xdl,ahyy,Syndra,anheiyuanshou,qiunv,xindela",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/134000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Syndra.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big134001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big134000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big134004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big134002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big134003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big134005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big134006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big134007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big134016.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/134000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/134001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/134002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/134003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/134004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/134005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/134006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/134007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/134016.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/134000.jpg"},{heroId:"136",name:"铸星龙王",alias:"AurelionSol",title:"奥瑞利安索尔",roles:["mage"],isWeekFree:"1",attack:"2",defense:"3",magic:"8",difficulty:"7",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/136.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/136.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"铸星龙王,奥瑞利安索尔,索尔,龙王,AurelionSol,zhuxinglongwang,aoruiliansuoer,suoer,longwang,zxlw,lw,se,arlasr",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/136000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/AurelionSol.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big136000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big136001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big136002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big136011.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/136000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/136001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/136002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/136011.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/136000.jpg"},{heroId:"141",name:"影流之镰",alias:"Kayn",title:"凯隐",roles:["fighter","assassin"],isWeekFree:"0",attack:"10",defense:"6",magic:"1",difficulty:"8",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/141.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/141.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"影流之镰,凯隐,ky,ylzl,Kayn,yingliuzhilian,kaiyin",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/141000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Kayn.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big141000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big141002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big141001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big141009.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big141008.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/141000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/141001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/141002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/141008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/141009.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/141000.jpg"},{heroId:"142",name:"暮光星灵",alias:"Zoe",title:"佐伊",roles:["mage","support"],isWeekFree:"0",attack:"1",defense:"7",magic:"8",difficulty:"5",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/142.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/142.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"暮光星灵,佐伊,zy,mgxl,Zoe,muguangxingling,zuoyi",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/142000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Zoe.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big142000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big142002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big142001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big142009.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/142000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/142001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/142002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/142009.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/142000.jpg"},{heroId:"143",name:"荆棘之兴",alias:"Zyra",title:"婕拉",roles:["mage","support"],isWeekFree:"0",attack:"4",defense:"3",magic:"8",difficulty:"7",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/143.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/143.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"4800",couponPrice:"3500",camp:"",campId:"",keywords:"荆棘之兴,婕拉,jl,jjzx,Zyra,jingjizhixing,jiela",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/143000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Zyra.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big143001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big143000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big143002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big143003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big143004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big143005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big143006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big143007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big143016.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/143000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/143001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/143002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/143003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/143004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/143005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/143006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/143007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/143016.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/143000.jpg"},{heroId:"145",name:"虚空之女",alias:"Kaisa",title:"卡莎",roles:["marksman"],isWeekFree:"0",attack:"8",defense:"5",magic:"3",difficulty:"6",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/145.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/145.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"虚空之女,卡莎,ks,xkzn,Kaisa,xukongzhinv,kasha",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/145000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Kaisa.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big145000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big145001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big145014.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big145015.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big145016.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big145017.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/145000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/145001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/145014.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/145015.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/145016.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/145017.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/145000.jpg"},{heroId:"147",name:"星籁歌姬",alias:"Seraphine",title:"萨勒芬妮",roles:["mage","support"],isWeekFree:"1",attack:"0",defense:"0",magic:"0",difficulty:"0",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/147.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/147.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"萨勒芬妮,星籁歌姬,Seraphine,saleifenni,xinglaigeji",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/147000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Seraphine.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big147000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big147001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big147004.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/147000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/147001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/147004.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/147000.jpg"},{heroId:"150",name:"迷失之牙",alias:"Gnar",title:"纳尔",roles:["fighter","tank"],isWeekFree:"1",attack:"6",defense:"5",magic:"5",difficulty:"8",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/150.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/150.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"迷失之牙,纳尔,Gnar,ne,mszy,mishizhiya,naer",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/150000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Gnar.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big150001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big150003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big150002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big150000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big150004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big150013.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big150014.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big150015.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/150000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/150001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/150002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/150003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/150004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/150013.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/150014.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/150015.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/150000.jpg"},{heroId:"154",name:"生化魔人",alias:"Zac",title:"扎克",roles:["tank","fighter"],isWeekFree:"0",attack:"3",defense:"7",magic:"7",difficulty:"8",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/154.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/154.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"4800",couponPrice:"3000",camp:"",campId:"",keywords:"生化魔人,扎克,Zac,shenghuamoren,zhake,zk,shmr",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/154000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Zac.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big154002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big154000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big154006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big154001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big154007.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/154000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/154001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/154002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/154006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/154007.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/154000.jpg"},{heroId:"157",name:"疾风剑豪",alias:"Yasuo",title:"亚索",roles:["fighter","assassin"],isWeekFree:"0",attack:"8",defense:"4",magic:"4",difficulty:"10",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/157.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/157.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"疾风剑豪,剑豪,亚索,Yasuo,ys,jh,jfjh,jifengjianhao,jianhao,yasuo",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/157000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Yasuo.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big157002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big157000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big157001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big157003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big157009.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big157017.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big157010.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/157000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/157001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/157002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/157003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/157009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/157010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/157017.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/157000.jpg"},{heroId:"161",name:"虚空之眼",alias:"Velkoz",title:"维克兹",roles:["mage"],isWeekFree:"0",attack:"2",defense:"2",magic:"10",difficulty:"8",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/161.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/161.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"虚空之眼,大眼,维克兹,wkz,dy,xkzy,Velkoz,xukongzhiyan,dayan,weikezi",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/161000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Velkoz.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big161001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big161000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big161002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big161003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big161004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big161011.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/161002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/161003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/161004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/161001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/161000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/161011.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/161000.jpg"},{heroId:"163",name:"岩雀",alias:"Taliyah",title:"塔莉垭",roles:["mage","support"],isWeekFree:"0",attack:"1",defense:"7",magic:"8",difficulty:"5",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/163.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/163.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"岩雀,小鸟,塔莉垭,tly,xn,yq,Taliyah,yanque,xiaoniao,taliya",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/163000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Taliyah.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big163000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big163003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big163001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big163002.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/163000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/163002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/163001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/163003.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/163000.jpg"},{heroId:"164",name:"青钢影",alias:"Camille",title:"卡蜜尔",roles:["fighter","tank"],isWeekFree:"0",attack:"8",defense:"6",magic:"3",difficulty:"4",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/164.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/164.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"改动英雄",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"青钢影,卡蜜尔,卡密尔,Camille,腿女,qinggangying,kamier,kamier,tuinv,qgy,kme,tn",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/164000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Camille.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big164000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big164001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big164002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big164010.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big164011.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/164002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/164001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/164000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/164010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/164011.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/164000.jpg"},{heroId:"166",name:"影哨",alias:"Akshan",title:"阿克尚",roles:["marksman","assassin"],isWeekFree:"0",attack:"0",defense:"0",magic:"0",difficulty:"0",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/166.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/166.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"影哨,阿克尚,阿克,阿,yingshao,akeshang,ake,a",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/166000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Akshan.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big166000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big166001.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/166000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/166001.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/166000.jpg"},{heroId:"201",name:"弗雷尔卓德之心",alias:"Braum",title:"布隆",roles:["support","tank"],isWeekFree:"0",attack:"3",defense:"9",magic:"4",difficulty:"3",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/201.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/201.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"弗雷尔卓德之心,布隆,bl,Braum,flezdzx,fuleierzhuodezhixin,bulong",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/201000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Braum.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big201000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big201001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big201010.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big201002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big201003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big201011.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/201001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/201000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/201003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/201002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/201010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/201011.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/201000.jpg"},{heroId:"202",name:"戏命师",alias:"Jhin",title:"烬",roles:["marksman","mage"],isWeekFree:"0",attack:"10",defense:"2",magic:"6",difficulty:"6",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/202.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/202.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"戏命师,烬,Jhin,j,xms,ximingshi,jin",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/202000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Jhin.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big202000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big202004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big202001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big202003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big202002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big202005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big202014.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/202000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/202002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/202001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/202004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/202005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/202003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/202014.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/202000.jpg"},{heroId:"203",name:"永猎双子",alias:"Kindred",title:"千珏",roles:["marksman"],isWeekFree:"0",attack:"8",defense:"2",magic:"2",difficulty:"4",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/203.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/203.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"永猎双子,千珏,Kindred,qj,ylsz,yonglieshuangzi,qianjue",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/203000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Kindred.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big203000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big203001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big203002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big203003.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/203000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/203002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/203003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/203001.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/203000.jpg"},{heroId:"222",name:"暴走萝莉",alias:"Jinx",title:"金克丝",roles:["marksman"],isWeekFree:"0",attack:"9",defense:"2",magic:"4",difficulty:"6",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/222.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/222.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"暴走萝莉,萝莉,金克丝,Jinx,jks,ll,bzll,baozouluoli,luoli,jinkesi,金克丝",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/222000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Jinx.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big222004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big222000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big222002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big222001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big222003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big222012.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big222013.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/222000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/222001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/222002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/222004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/222003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/222012.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/222013.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/222000.jpg"},{heroId:"223",name:"河流之王",alias:"TahmKench",title:"塔姆",roles:["support","tank"],isWeekFree:"0",attack:"3",defense:"9",magic:"6",difficulty:"5",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/223.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/223.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"河流之王,hama,塔姆,tm,hlzw,TahmKench,heliuzhiwang,tamu",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/223000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/TahmKench.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big223000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big223001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big223002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big223003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big223011.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/223002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/223000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/223003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/223001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/223011.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/223000.jpg"},{heroId:"234",name:"破败之王",alias:"Viego",title:"佛耶戈",roles:["assassin","fighter"],isWeekFree:"0",attack:"6",defense:"4",magic:"2",difficulty:"5",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/234.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/234.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"破败之王,佛耶戈,破败,佛,pobaizhiwang,fuyege,pobai,fu",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/234000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Viego.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big234000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big234001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big234010.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/234001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/234000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/234010.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/234000.jpg"},{heroId:"235",name:"涤魂圣枪",alias:"Senna",title:"赛娜",roles:["marksman","support"],isWeekFree:"0",attack:"7",defense:"2",magic:"6",difficulty:"7",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/235.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/235.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"涤魂圣枪,赛娜,奶枪,Senna,nq,sn,qhsq,dihunshengqiang,saina,naiqiang",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/235000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Senna.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big235000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big235001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big235009.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big235010.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big235016.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/235001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/235000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/235009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/235010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/235016.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/235000.jpg"},{heroId:"236",name:"圣枪游侠",alias:"Lucian",title:"卢锡安",roles:["marksman"],isWeekFree:"0",attack:"8",defense:"5",magic:"3",difficulty:"6",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/236.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/236.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"圣枪游侠,卢锡安,奥巴马,Lucian,abm,lxa,sqyx,shengqiangyouxia,luxian,aobama",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/236000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Lucian.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big236001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big236000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big236002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big236008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big236006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big236007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big236009.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/236000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/236002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/236001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/236008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/236009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/236006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/236007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/236017.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/236000.jpg"},{heroId:"238",name:"影流之主",alias:"Zed",title:"劫",roles:["assassin"],isWeekFree:"0",attack:"9",defense:"2",magic:"1",difficulty:"7",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/238.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/238.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"影流之主,劫,j,ylzz,Zed,yingliuzhizhu,jie",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/238000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Zed.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big238000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big238003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big238001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big238002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big238013.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big238011.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big238010.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big238015.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/238000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/238002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/238001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/238003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/238010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/238013.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/238011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/238015.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/238014.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/238000.jpg"},{heroId:"240",name:"暴怒骑士",alias:"Kled",title:"克烈",roles:["fighter","tank"],isWeekFree:"0",attack:"8",defense:"2",magic:"2",difficulty:"7",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/240.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/240.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"改动英雄",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"暴怒骑士,克烈,kl,bnqs,baonuqishi,kelie",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/240000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Kled.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big240000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big240001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big240002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big240009.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/240000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/240002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/240001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/240009.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/240000.jpg"},{heroId:"245",name:"时间刺客",alias:"Ekko",title:"艾克",roles:["assassin","fighter"],isWeekFree:"1",attack:"5",defense:"3",magic:"7",difficulty:"8",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/245.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/245.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"时间刺客,艾克,Ekko,shijiancike,aike,ak,sjck",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/245000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Ekko.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big245000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big245001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big245003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big245002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big245011.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big245012.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/245000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/245001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/245002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/245003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/245011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/245012.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/245000.jpg"},{heroId:"246",name:"元素女皇",alias:"Qiyana",title:"奇亚娜",roles:["assassin","fighter"],isWeekFree:"0",attack:"0",defense:"2",magic:"4",difficulty:"8",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/246.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/246.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"元素女皇,奇亚娜,qyn,ysnh,Qiyana,yuansunvhuang,qiyana",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/246000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Qiyana.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big246000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big246001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big246002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big246010.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big246011.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/246000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/246001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/246002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/246008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/246010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/246011.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/246000.jpg"},{heroId:"254",name:"皮城执法官",alias:"Vi",title:"蔚",roles:["fighter","assassin"],isWeekFree:"0",attack:"8",defense:"5",magic:"3",difficulty:"4",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/254.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/254.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"皮城执法官,拳女,蔚,v,qv,pczfg,Vi,pichengzhifaguan,quannv,wei",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/254000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Vi.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big254002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big254003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big254000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big254001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big254004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big254005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big254011.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big254012.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/254000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/254001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/254002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/254003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/254004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/254005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/254011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/254012.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/254000.jpg"},{heroId:"266",name:"暗裔剑魔",alias:"Aatrox",title:"亚托克斯",roles:["fighter","tank"],isWeekFree:"0",attack:"8",defense:"4",magic:"3",difficulty:"4",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/266.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/266.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"剑魔,亚托克斯,暗裔剑魔,jianmo,yatuokesi,anyijianmo,Aatrox,jm,ayjm,ytks",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/266000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Aatrox.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big266002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big266003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big266000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big266001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big266007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big266009.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big266008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big266011.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/266000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/266001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/266002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/266003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/266007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/266008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/266009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/266011.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/266000.jpg"},{heroId:"267",name:"唤潮鲛姬",alias:"Nami",title:"娜美",roles:["support","mage"],isWeekFree:"0",attack:"4",defense:"3",magic:"7",difficulty:"5",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/267.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/267.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"4800",couponPrice:"3500",camp:"",campId:"",keywords:"唤潮鲛姬,鲛姬,娜美,nm,jj,hcjj,Nami,huanchaojiaoji,jiaoji,namei",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/267000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Nami.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big267000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big267003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big267001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big267002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big267008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big267007.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big267009.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big267015.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/267000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/267001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/267002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/267003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/267004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/267005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/267006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/267007.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/267008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/267009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/267015.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/267000.jpg"},{heroId:"268",name:"沙漠皇帝",alias:"Azir",title:"阿兹尔",roles:["mage","marksman"],isWeekFree:"0",attack:"6",defense:"3",magic:"8",difficulty:"9",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/268.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/268.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"沙漠皇帝,阿兹尔,沙皇,Azir,shamohuangdi,azier,shahuang,smhd,aze,sh",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/268000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Azir.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big268004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big268003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big268000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big268002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big268001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big268005.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/268000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/268001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/268002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/268003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/268004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/268005.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/268000.jpg"},{heroId:"350",name:"魔法猫咪",alias:"Yuumi",title:"悠米",roles:["support","mage"],isWeekFree:"0",attack:"5",defense:"1",magic:"8",difficulty:"2",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/350.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/350.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"魔法猫咪,猫,猫咪,悠米,cat,m,mm,mfmm,ym,Yuumi,mofamaomi,mao,maomi,youmi",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/350000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Yuumi.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big350001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big350000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big350011.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/350000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/350001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/350011.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/350000.jpg"},{heroId:"360",name:"沙漠玫瑰",alias:"Samira",title:"莎弥拉",roles:["marksman"],isWeekFree:"0",attack:"8",defense:"5",magic:"3",difficulty:"6",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/360.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/360.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"莎弥拉,沙漠玫瑰,Samira,sml,smmg,shamila,shamomeigui",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/360000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Samira.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big360001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big360000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big360010.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/360000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/360001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/360010.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/360000.jpg"},{heroId:"412",name:"魂锁典狱长",alias:"Thresh",title:"锤石",roles:["support","fighter"],isWeekFree:"1",attack:"5",defense:"6",magic:"6",difficulty:"7",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/412.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/412.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"魂锁典狱长,锤石,Thresh,cs,hsdyz,hunsuodianyuzhang,chuishi",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/412000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Thresh.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big412003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big412001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big412004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big412000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big412002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big412005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big412015.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big412006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big412013.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big412014.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big412017.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/412000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/412001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/412002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/412003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/412004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/412005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/412006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/412013.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/412014.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/412015.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/412017.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/412000.jpg"},{heroId:"420",name:"海兽祭司",alias:"Illaoi",title:"俄洛伊",roles:["fighter","tank"],isWeekFree:"0",attack:"8",defense:"6",magic:"3",difficulty:"4",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/420.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/420.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"海兽祭司,俄洛伊,触手妈,Illaoi,csm,ely,hsjs,haishoujisi,eluoyi,chushouma",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/420000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Illaoi.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big420000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big420001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big420002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big420010.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/420000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/420001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/420002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/420010.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/420000.jpg"},{heroId:"421",name:"虚空遁地兽",alias:"RekSai",title:"雷克塞",roles:["fighter"],isWeekFree:"0",attack:"8",defense:"5",magic:"2",difficulty:"3",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/421.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/421.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"虚空遁地兽,挖掘机,雷克赛,雷克塞,lks,wjj,xkdds,RekSai,xukongdundishou,wajueji,leikesai,leikesai",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/421000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/RekSai.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big421002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big421001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big421000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big421009.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/421000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/421001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/421002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/421009.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/421000.jpg"},{heroId:"427",name:"翠神",alias:"Ivern",title:"艾翁",roles:["support","mage"],isWeekFree:"0",attack:"3",defense:"5",magic:"7",difficulty:"7",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/427.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/427.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"改动英雄",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"翠神,艾翁,小菊,Ivern,xj,cs,aw,cuishen,aiweng,xiaoju",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/427000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Ivern.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big427000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big427001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big427002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big427011.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/427000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/427001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/427002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/427011.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/427000.jpg"},{heroId:"429",name:"复仇之矛",alias:"Kalista",title:"卡莉丝塔",roles:["marksman"],isWeekFree:"0",attack:"8",defense:"2",magic:"4",difficulty:"7",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/429.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/429.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"复仇之矛,卡莉丝塔,Kalista,fczm,klst,fuchouzhimao,kalisita",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/429000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Kalista.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big429001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big429000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big429002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big429003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big429005.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/429000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/429001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/429002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/429003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/429005.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/429000.jpg"},{heroId:"432",name:"星界游神",alias:"Bard",title:"巴德",roles:["support","mage"],isWeekFree:"0",attack:"4",defense:"4",magic:"5",difficulty:"9",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/432.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/432.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"星界游神,巴德,Bard,xingjieyoushen,bade,xjys,bd",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/432000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Bard.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big432001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big432005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big432000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big432008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big432006.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big432017.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/432000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/432001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/432005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/432006.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/432008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/432017.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/432000.jpg"},{heroId:"497",name:"幻翎",alias:"Rakan",title:"洛",roles:["support"],isWeekFree:"0",attack:"2",defense:"4",magic:"8",difficulty:"5",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/497.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/497.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"幻翎,洛,l,hl,Rakan,huanling,luo",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/497000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Rakan.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big497005.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big497002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big497000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big497004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big497001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big497003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big497009.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/497000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/497001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/497002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/497003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/497004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/497005.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/497009.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/497000.jpg"},{heroId:"498",name:"逆羽",alias:"Xayah",title:"霞",roles:["marksman"],isWeekFree:"0",attack:"10",defense:"6",magic:"1",difficulty:"5",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/498.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/498.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"逆羽,霞,x,ny,Xayah,niyu,xia",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/498000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Xayah.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big498000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big498001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big498002.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big498003.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big498004.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big498008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big498017.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/498000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/498001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/498002.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/498003.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/498004.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/498008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/498017.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/498000.jpg"},{heroId:"516",name:"山隐之焰",alias:"Ornn",title:"奥恩",roles:["tank","fighter"],isWeekFree:"0",attack:"5",defense:"9",magic:"3",difficulty:"5",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/516.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/516.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"山隐之焰,奥恩,Ornn,an,syzy,shanyinzhiyan,aoen",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/516000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Ornn.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big516001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big516000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big516002.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/516000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/516001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/516002.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/516000.jpg"},{heroId:"517",name:"解脱者",alias:"Sylas",title:"塞拉斯",roles:["mage","assassin"],isWeekFree:"0",attack:"3",defense:"4",magic:"8",difficulty:"5",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/517.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/517.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"解脱者,塞拉斯,sls,suannan,sn,jtz,Sylas,jietuozhe,sailasi",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/517000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Sylas.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big517000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big517001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big517013.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big517008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big517014.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/517000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/517001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/517008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/517013.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/517014.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/517000.jpg"},{heroId:"518",name:"万花通灵",alias:"Neeko",title:"妮蔻",roles:["mage","support"],isWeekFree:"0",attack:"1",defense:"1",magic:"9",difficulty:"5",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/518.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/518.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"万花通灵,妮蔻,neeko,nk,whtl,wanhuatongling,nikou",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/518000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Neeko.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big518000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big518001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big518012.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big518011.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big518010.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/518000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/518001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/518010.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/518011.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/518012.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/518000.jpg"},{heroId:"523",name:"残月之肃",alias:"Aphelios",title:"厄斐琉斯",roles:["marksman"],isWeekFree:"0",attack:"6",defense:"2",magic:"1",difficulty:"10",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/523.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/523.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"残月之肃,厄斐琉斯,Aphelios,efls,cyzs,canyuezhisu,efeiliusi",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/523000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Aphelios.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big523000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big523001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big523009.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/523000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/523001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/523009.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/523000.jpg"},{heroId:"526",name:"镕铁少女",alias:"Rell",title:"芮尔",roles:["tank","support"],isWeekFree:"0",attack:"0",defense:"0",magic:"0",difficulty:"0",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/526.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/526.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"7800",couponPrice:"4500",camp:"",campId:"",keywords:"镕铁少女,芮尔,镕铁,,rongtieshaonv,ruier,rongtie",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/526000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Rell.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big526000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big526001.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/526000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/526001.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/526000.jpg"},{heroId:"555",name:"血港鬼影",alias:"Pyke",title:"派克",roles:["support","assassin"],isWeekFree:"0",attack:"9",defense:"3",magic:"1",difficulty:"7",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/555.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/555.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"血港鬼影,派克,pk,xggy,Pyke,xuegangguiying,paike",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/555000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Pyke.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big555000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big555001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big555009.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big555016.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/555000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/555001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/555009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/555016.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/555000.jpg"},{heroId:"711",name:"愁云使者",alias:"Vex",title:"薇古丝",roles:["mage"],isWeekFree:"0",attack:"0",defense:"0",magic:"0",difficulty:"0",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/711.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/711.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/711000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Vex.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big711000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big711001.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/711000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/711001.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/711000.jpg"},{heroId:"777",name:"封魔剑魂",alias:"Yone",title:"永恩",roles:["assassin","fighter"],isWeekFree:"0",attack:"8",defense:"4",magic:"4",difficulty:"8",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/777.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/777.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"永恩,封魔剑魂,ye,fmjh,Yone,yongen,fengmojianhun",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/777000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Yone.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big777000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big777001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big777010.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/777000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/777001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/777010.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/777000.jpg"},{heroId:"875",name:"腕豪",alias:"Sett",title:"瑟提",roles:["fighter","tank"],isWeekFree:"0",attack:"8",defense:"5",magic:"1",difficulty:"2",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/875.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/875.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"腕豪,瑟提,jinfu,jf,Sett,st,wh,wanhao,seti",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/875000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Sett.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big875000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big875001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big875008.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big875010.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big875009.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/875000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/875001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/875008.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/875009.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/875010.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/875000.jpg"},{heroId:"876",name:"含羞蓓蕾",alias:"Lillia",title:"莉莉娅",roles:["fighter","mage"],isWeekFree:"0",attack:"0",defense:"2",magic:"10",difficulty:"8",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/876.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/876.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"含羞蓓蕾,莉莉娅,小鹿,lly,hxbl,Lillia,hanxiubeilei,liliya,xiaolu",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/876000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Lillia.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big876000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big876001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big876010.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/876000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/876001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/876010.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/876000.jpg"},{heroId:"887",name:"灵罗娃娃",alias:"Gwen",title:"格温",roles:["fighter","assassin"],isWeekFree:"0",attack:"7",defense:"4",magic:"5",difficulty:"5",selectAudio:"https://game.gtimg.cn/images/lol/act/img/vo/choose/887.ogg",banAudio:"https://game.gtimg.cn/images/lol/act/img/vo/ban/887.ogg",isARAMweekfree:"0",ispermanentweekfree:"0",changeLabel:"无改动",goldPrice:"6300",couponPrice:"4500",camp:"",campId:"",keywords:"灵罗娃娃,格温,灵,娃wa,gw,Gw,,lingluowawa,gewen,ling,wa",bigImg:"https://game.gtimg.cn/images/lol/act/img/skinloading/887000.jpg",avatar:"https://game.gtimg.cn/images/lol/act/img/champion/Gwen.png",skins:["https://game.gtimg.cn/images/lol/act/img/skin/big887000.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big887001.jpg","https://game.gtimg.cn/images/lol/act/img/skin/big887011.jpg"],posters:["https://game.gtimg.cn/images/lol/act/img/skinloading/887000.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/887001.jpg","https://game.gtimg.cn/images/lol/act/img/skinloading/887011.jpg"],big_avatar:"https://game.gtimg.cn/images/lol/act/img/skinloading/887000.jpg"}],St=[_.get(z("/demo/wzry/hero_list"),async({request:a})=>{await O(500);const{page:e=1,pageSize:i=10,cname:t="",title:n=""}=se(a),o=Bt.filter(g=>g.cname.includes(t)&&g.title.includes(n));return S.json(be(e,i,o))}),_.get(z("/demo/lol/hero_list"),async({request:a})=>{await O(500);const{page:e=1,pageSize:i=10,title:t="",name:n=""}=se(a),o=Le.filter(g=>g.title.includes(t)&&g.name.includes(n));return S.json(be(e,i,o))}),_.get(z("/demo/lol/hero_info/:id"),async({params:a})=>{await O(300);const{id:e}=a,i=Le.find(t=>t.heroId==e);return S.json(me(i))})],Mt=Object.freeze(Object.defineProperty({__proto__:null,default:St},Symbol.toStringTag,{value:"Module"})),xt=(a,e=20)=>{const i=[];for(let t=0;t{await O(1e3);const{keyword:e,count:i}=se(a);return S.json(me(xt(e,i)))})],Rt=Object.freeze(Object.defineProperty({__proto__:null,default:Tt},Symbol.toStringTag,{value:"Module"}));var Lt=[{name:"Aegean Airlines",iataCode:"A3"},{name:"Aeroflot",iataCode:"SU"},{name:"Aerolineas Argentinas",iataCode:"AR"},{name:"Aeromexico",iataCode:"AM"},{name:"Air Algerie",iataCode:"AH"},{name:"Air Arabia",iataCode:"G9"},{name:"Air Canada",iataCode:"AC"},{name:"Air China",iataCode:"CA"},{name:"Air Europa",iataCode:"UX"},{name:"Air France-KLM",iataCode:"AF"},{name:"Air India",iataCode:"AI"},{name:"Air Mauritius",iataCode:"MK"},{name:"Air New Zealand",iataCode:"NZ"},{name:"Air Niugini",iataCode:"PX"},{name:"Air Tahiti",iataCode:"VT"},{name:"Air Tahiti Nui",iataCode:"TN"},{name:"Air Transat",iataCode:"TS"},{name:"AirAsia X",iataCode:"D7"},{name:"AirAsia",iataCode:"AK"},{name:"Aircalin",iataCode:"SB"},{name:"Alaska Airlines",iataCode:"AS"},{name:"Alitalia",iataCode:"AZ"},{name:"All Nippon Airways",iataCode:"NH"},{name:"Allegiant Air",iataCode:"G4"},{name:"American Airlines",iataCode:"AA"},{name:"Asiana Airlines",iataCode:"OZ"},{name:"Avianca",iataCode:"AV"},{name:"Azul Linhas Aereas Brasileiras",iataCode:"AD"},{name:"Azur Air",iataCode:"ZF"},{name:"Beijing Capital Airlines",iataCode:"JD"},{name:"Boliviana de Aviacion",iataCode:"OB"},{name:"British Airways",iataCode:"BA"},{name:"Cathay Pacific",iataCode:"CX"},{name:"Cebu Pacific Air",iataCode:"5J"},{name:"China Airlines",iataCode:"CI"},{name:"China Eastern Airlines",iataCode:"MU"},{name:"China Southern Airlines",iataCode:"CZ"},{name:"Condor",iataCode:"DE"},{name:"Copa Airlines",iataCode:"CM"},{name:"Delta Air Lines",iataCode:"DL"},{name:"Easyfly",iataCode:"VE"},{name:"EasyJet",iataCode:"U2"},{name:"EcoJet",iataCode:"8J"},{name:"Egyptair",iataCode:"MS"},{name:"El Al",iataCode:"LY"},{name:"Emirates Airlines",iataCode:"EK"},{name:"Ethiopian Airlines",iataCode:"ET"},{name:"Etihad Airways",iataCode:"EY"},{name:"EVA Air",iataCode:"BR"},{name:"Fiji Airways",iataCode:"FJ"},{name:"Finnair",iataCode:"AY"},{name:"Flybondi",iataCode:"FO"},{name:"Flydubai",iataCode:"FZ"},{name:"FlySafair",iataCode:"FA"},{name:"Frontier Airlines",iataCode:"F9"},{name:"Garuda Indonesia",iataCode:"GA"},{name:"Go First",iataCode:"G8"},{name:"Gol Linhas Aereas Inteligentes",iataCode:"G3"},{name:"Hainan Airlines",iataCode:"HU"},{name:"Hawaiian Airlines",iataCode:"HA"},{name:"IndiGo Airlines",iataCode:"6E"},{name:"Japan Airlines",iataCode:"JL"},{name:"Jeju Air",iataCode:"7C"},{name:"Jet2",iataCode:"LS"},{name:"JetBlue Airways",iataCode:"B6"},{name:"JetSMART",iataCode:"JA"},{name:"Juneyao Airlines",iataCode:"HO"},{name:"Kenya Airways",iataCode:"KQ"},{name:"Korean Air",iataCode:"KE"},{name:"Kulula.com",iataCode:"MN"},{name:"LATAM Airlines",iataCode:"LA"},{name:"Lion Air",iataCode:"JT"},{name:"LOT Polish Airlines",iataCode:"LO"},{name:"Lufthansa",iataCode:"LH"},{name:"Libyan Airlines",iataCode:"LN"},{name:"Linea Aerea Amaszonas",iataCode:"Z8"},{name:"Malaysia Airlines",iataCode:"MH"},{name:"Nordwind Airlines",iataCode:"N4"},{name:"Norwegian Air Shuttle",iataCode:"DY"},{name:"Oman Air",iataCode:"WY"},{name:"Pakistan International Airlines",iataCode:"PK"},{name:"Pegasus Airlines",iataCode:"PC"},{name:"Philippine Airlines",iataCode:"PR"},{name:"Qantas Group",iataCode:"QF"},{name:"Qatar Airways",iataCode:"QR"},{name:"Republic Airways",iataCode:"YX"},{name:"Royal Air Maroc",iataCode:"AT"},{name:"Ryanair",iataCode:"FR"},{name:"S7 Airlines",iataCode:"S7"},{name:"SAS",iataCode:"SK"},{name:"Satena",iataCode:"9R"},{name:"Saudia",iataCode:"SV"},{name:"Shandong Airlines",iataCode:"SC"},{name:"Sichuan Airlines",iataCode:"3U"},{name:"Singapore Airlines",iataCode:"SQ"},{name:"Sky Airline",iataCode:"H2"},{name:"SkyWest Airlines",iataCode:"OO"},{name:"South African Airways",iataCode:"SA"},{name:"Southwest Airlines",iataCode:"WN"},{name:"SpiceJet",iataCode:"SG"},{name:"Spirit Airlines",iataCode:"NK"},{name:"Spring Airlines",iataCode:"9S"},{name:"SriLankan Airlines",iataCode:"UL"},{name:"Star Peru",iataCode:"2I"},{name:"Sun Country Airlines",iataCode:"SY"},{name:"SunExpress",iataCode:"XQ"},{name:"TAP Air Portugal",iataCode:"TP"},{name:"Thai AirAsia",iataCode:"FD"},{name:"Thai Airways",iataCode:"TG"},{name:"TUI Airways",iataCode:"BY"},{name:"Tunisair",iataCode:"TU"},{name:"Turkish Airlines",iataCode:"TK"},{name:"Ukraine International",iataCode:"PS"},{name:"United Airlines",iataCode:"UA"},{name:"Ural Airlines",iataCode:"U6"},{name:"VietJet Air",iataCode:"VJ"},{name:"Vietnam Airlines",iataCode:"VN"},{name:"Virgin Atlantic Airways",iataCode:"VS"},{name:"Virgin Australia",iataCode:"VA"},{name:"VivaAerobus",iataCode:"VB"},{name:"VOEPASS Linhas Aereas",iataCode:"2Z"},{name:"Volaris",iataCode:"Y4"},{name:"WestJet",iataCode:"WS"},{name:"Wingo",iataCode:"P5"},{name:"Wizz Air",iataCode:"W6"}],Pt=[{name:"Aerospatiale/BAC Concorde",iataTypeCode:"SSC"},{name:"Airbus A300",iataTypeCode:"AB3"},{name:"Airbus A310",iataTypeCode:"310"},{name:"Airbus A310-200",iataTypeCode:"312"},{name:"Airbus A310-300",iataTypeCode:"313"},{name:"Airbus A318",iataTypeCode:"318"},{name:"Airbus A319",iataTypeCode:"319"},{name:"Airbus A319neo",iataTypeCode:"31N"},{name:"Airbus A320",iataTypeCode:"320"},{name:"Airbus A320neo",iataTypeCode:"32N"},{name:"Airbus A321",iataTypeCode:"321"},{name:"Airbus A321neo",iataTypeCode:"32Q"},{name:"Airbus A330",iataTypeCode:"330"},{name:"Airbus A330-200",iataTypeCode:"332"},{name:"Airbus A330-300",iataTypeCode:"333"},{name:"Airbus A330-800neo",iataTypeCode:"338"},{name:"Airbus A330-900neo",iataTypeCode:"339"},{name:"Airbus A340",iataTypeCode:"340"},{name:"Airbus A340-200",iataTypeCode:"342"},{name:"Airbus A340-300",iataTypeCode:"343"},{name:"Airbus A340-500",iataTypeCode:"345"},{name:"Airbus A340-600",iataTypeCode:"346"},{name:"Airbus A350",iataTypeCode:"350"},{name:"Airbus A350-900",iataTypeCode:"359"},{name:"Airbus A350-1000",iataTypeCode:"351"},{name:"Airbus A380",iataTypeCode:"380"},{name:"Airbus A380-800",iataTypeCode:"388"},{name:"Antonov An-12",iataTypeCode:"ANF"},{name:"Antonov An-24",iataTypeCode:"AN4"},{name:"Antonov An-26",iataTypeCode:"A26"},{name:"Antonov An-28",iataTypeCode:"A28"},{name:"Antonov An-30",iataTypeCode:"A30"},{name:"Antonov An-32",iataTypeCode:"A32"},{name:"Antonov An-72",iataTypeCode:"AN7"},{name:"Antonov An-124 Ruslan",iataTypeCode:"A4F"},{name:"Antonov An-140",iataTypeCode:"A40"},{name:"Antonov An-148",iataTypeCode:"A81"},{name:"Antonov An-158",iataTypeCode:"A58"},{name:"Antonov An-225 Mriya",iataTypeCode:"A5F"},{name:"Boeing 707",iataTypeCode:"703"},{name:"Boeing 717",iataTypeCode:"717"},{name:"Boeing 720B",iataTypeCode:"B72"},{name:"Boeing 727",iataTypeCode:"727"},{name:"Boeing 727-100",iataTypeCode:"721"},{name:"Boeing 727-200",iataTypeCode:"722"},{name:"Boeing 737 MAX 7",iataTypeCode:"7M7"},{name:"Boeing 737 MAX 8",iataTypeCode:"7M8"},{name:"Boeing 737 MAX 9",iataTypeCode:"7M9"},{name:"Boeing 737 MAX 10",iataTypeCode:"7MJ"},{name:"Boeing 737",iataTypeCode:"737"},{name:"Boeing 737-100",iataTypeCode:"731"},{name:"Boeing 737-200",iataTypeCode:"732"},{name:"Boeing 737-300",iataTypeCode:"733"},{name:"Boeing 737-400",iataTypeCode:"734"},{name:"Boeing 737-500",iataTypeCode:"735"},{name:"Boeing 737-600",iataTypeCode:"736"},{name:"Boeing 737-700",iataTypeCode:"73G"},{name:"Boeing 737-800",iataTypeCode:"738"},{name:"Boeing 737-900",iataTypeCode:"739"},{name:"Boeing 747",iataTypeCode:"747"},{name:"Boeing 747-100",iataTypeCode:"741"},{name:"Boeing 747-200",iataTypeCode:"742"},{name:"Boeing 747-300",iataTypeCode:"743"},{name:"Boeing 747-400",iataTypeCode:"744"},{name:"Boeing 747-400D",iataTypeCode:"74J"},{name:"Boeing 747-8",iataTypeCode:"748"},{name:"Boeing 747SP",iataTypeCode:"74L"},{name:"Boeing 747SR",iataTypeCode:"74R"},{name:"Boeing 757",iataTypeCode:"757"},{name:"Boeing 757-200",iataTypeCode:"752"},{name:"Boeing 757-300",iataTypeCode:"753"},{name:"Boeing 767",iataTypeCode:"767"},{name:"Boeing 767-200",iataTypeCode:"762"},{name:"Boeing 767-300",iataTypeCode:"763"},{name:"Boeing 767-400",iataTypeCode:"764"},{name:"Boeing 777",iataTypeCode:"777"},{name:"Boeing 777-200",iataTypeCode:"772"},{name:"Boeing 777-200LR",iataTypeCode:"77L"},{name:"Boeing 777-300",iataTypeCode:"773"},{name:"Boeing 777-300ER",iataTypeCode:"77W"},{name:"Boeing 787",iataTypeCode:"787"},{name:"Boeing 787-8",iataTypeCode:"788"},{name:"Boeing 787-9",iataTypeCode:"789"},{name:"Boeing 787-10",iataTypeCode:"781"},{name:"Canadair Challenger",iataTypeCode:"CCJ"},{name:"Canadair CL-44",iataTypeCode:"CL4"},{name:"Canadair Regional Jet 100",iataTypeCode:"CR1"},{name:"Canadair Regional Jet 200",iataTypeCode:"CR2"},{name:"Canadair Regional Jet 700",iataTypeCode:"CR7"},{name:"Canadair Regional Jet 705",iataTypeCode:"CRA"},{name:"Canadair Regional Jet 900",iataTypeCode:"CR9"},{name:"Canadair Regional Jet 1000",iataTypeCode:"CRK"},{name:"De Havilland Canada DHC-2 Beaver",iataTypeCode:"DHP"},{name:"De Havilland Canada DHC-2 Turbo-Beaver",iataTypeCode:"DHR"},{name:"De Havilland Canada DHC-3 Otter",iataTypeCode:"DHL"},{name:"De Havilland Canada DHC-4 Caribou",iataTypeCode:"DHC"},{name:"De Havilland Canada DHC-6 Twin Otter",iataTypeCode:"DHT"},{name:"De Havilland Canada DHC-7 Dash 7",iataTypeCode:"DH7"},{name:"De Havilland Canada DHC-8-100 Dash 8 / 8Q",iataTypeCode:"DH1"},{name:"De Havilland Canada DHC-8-200 Dash 8 / 8Q",iataTypeCode:"DH2"},{name:"De Havilland Canada DHC-8-300 Dash 8 / 8Q",iataTypeCode:"DH3"},{name:"De Havilland Canada DHC-8-400 Dash 8Q",iataTypeCode:"DH4"},{name:"De Havilland DH.104 Dove",iataTypeCode:"DHD"},{name:"De Havilland DH.114 Heron",iataTypeCode:"DHH"},{name:"Douglas DC-3",iataTypeCode:"D3F"},{name:"Douglas DC-6",iataTypeCode:"D6F"},{name:"Douglas DC-8-50",iataTypeCode:"D8T"},{name:"Douglas DC-8-62",iataTypeCode:"D8L"},{name:"Douglas DC-8-72",iataTypeCode:"D8Q"},{name:"Douglas DC-9-10",iataTypeCode:"D91"},{name:"Douglas DC-9-20",iataTypeCode:"D92"},{name:"Douglas DC-9-30",iataTypeCode:"D93"},{name:"Douglas DC-9-40",iataTypeCode:"D94"},{name:"Douglas DC-9-50",iataTypeCode:"D95"},{name:"Douglas DC-10",iataTypeCode:"D10"},{name:"Douglas DC-10-10",iataTypeCode:"D1X"},{name:"Douglas DC-10-30",iataTypeCode:"D1Y"},{name:"Embraer 170",iataTypeCode:"E70"},{name:"Embraer 175",iataTypeCode:"E75"},{name:"Embraer 190",iataTypeCode:"E90"},{name:"Embraer 195",iataTypeCode:"E95"},{name:"Embraer E190-E2",iataTypeCode:"290"},{name:"Embraer E195-E2",iataTypeCode:"295"},{name:"Embraer EMB.110 Bandeirante",iataTypeCode:"EMB"},{name:"Embraer EMB.120 Brasilia",iataTypeCode:"EM2"},{name:"Embraer Legacy 600",iataTypeCode:"ER3"},{name:"Embraer Phenom 100",iataTypeCode:"EP1"},{name:"Embraer Phenom 300",iataTypeCode:"EP3"},{name:"Embraer RJ135",iataTypeCode:"ER3"},{name:"Embraer RJ140",iataTypeCode:"ERD"},{name:"Embraer RJ145 Amazon",iataTypeCode:"ER4"},{name:"Ilyushin IL18",iataTypeCode:"IL8"},{name:"Ilyushin IL62",iataTypeCode:"IL6"},{name:"Ilyushin IL76",iataTypeCode:"IL7"},{name:"Ilyushin IL86",iataTypeCode:"ILW"},{name:"Ilyushin IL96-300",iataTypeCode:"I93"},{name:"Ilyushin IL114",iataTypeCode:"I14"},{name:"Lockheed L-182 / 282 / 382 (L-100) Hercules",iataTypeCode:"LOH"},{name:"Lockheed L-188 Electra",iataTypeCode:"LOE"},{name:"Lockheed L-1011 Tristar",iataTypeCode:"L10"},{name:"Lockheed L-1049 Super Constellation",iataTypeCode:"L49"},{name:"McDonnell Douglas MD11",iataTypeCode:"M11"},{name:"McDonnell Douglas MD80",iataTypeCode:"M80"},{name:"McDonnell Douglas MD81",iataTypeCode:"M81"},{name:"McDonnell Douglas MD82",iataTypeCode:"M82"},{name:"McDonnell Douglas MD83",iataTypeCode:"M83"},{name:"McDonnell Douglas MD87",iataTypeCode:"M87"},{name:"McDonnell Douglas MD88",iataTypeCode:"M88"},{name:"McDonnell Douglas MD90",iataTypeCode:"M90"},{name:"Sukhoi Superjet 100-95",iataTypeCode:"SU9"},{name:"Tupolev Tu-134",iataTypeCode:"TU3"},{name:"Tupolev Tu-154",iataTypeCode:"TU5"},{name:"Tupolev Tu-204",iataTypeCode:"T20"},{name:"Yakovlev Yak-40",iataTypeCode:"YK4"},{name:"Yakovlev Yak-42",iataTypeCode:"YK2"}],Ht=[{name:"Adelaide International Airport",iataCode:"ADL"},{name:"Adolfo Suarez Madrid-Barajas Airport",iataCode:"MAD"},{name:"Aeroparque Jorge Newbery Airport",iataCode:"AEP"},{name:"Afonso Pena International Airport",iataCode:"CWB"},{name:"Alfonso Bonilla Aragon International Airport",iataCode:"CLO"},{name:"Amsterdam Airport Schiphol",iataCode:"AMS"},{name:"Arturo Merino Benitez International Airport",iataCode:"SCL"},{name:"Auckland International Airport",iataCode:"AKL"},{name:"Beijing Capital International Airport",iataCode:"PEK"},{name:"Belem Val de Cans International Airport",iataCode:"BEL"},{name:"Belo Horizonte Tancredo Neves International Airport",iataCode:"CNF"},{name:"Berlin-Tegel Airport",iataCode:"TXL"},{name:"Bole International Airport",iataCode:"ADD"},{name:"Brasilia-Presidente Juscelino Kubitschek International Airport",iataCode:"BSB"},{name:"Brisbane International Airport",iataCode:"BNE"},{name:"Brussels Airport",iataCode:"BRU"},{name:"Cairns Airport",iataCode:"CNS"},{name:"Cairo International Airport",iataCode:"CAI"},{name:"Canberra Airport",iataCode:"CBR"},{name:"Capetown International Airport",iataCode:"CPT"},{name:"Charles de Gaulle International Airport",iataCode:"CDG"},{name:"Charlotte Douglas International Airport",iataCode:"CLT"},{name:"Chengdu Shuangliu International Airport",iataCode:"CTU"},{name:"Chhatrapati Shivaji International Airport",iataCode:"BOM"},{name:"Chicago O'Hare International Airport",iataCode:"ORD"},{name:"Chongqing Jiangbei International Airport",iataCode:"CKG"},{name:"Christchurch International Airport",iataCode:"CHC"},{name:"Copenhagen Kastrup Airport",iataCode:"CPH"},{name:"Dallas Fort Worth International Airport",iataCode:"DFW"},{name:"Daniel K. Inouye International Airport",iataCode:"HNL"},{name:"Denver International Airport",iataCode:"DEN"},{name:"Don Mueang International Airport",iataCode:"DMK"},{name:"Dubai International Airport",iataCode:"DXB"},{name:"Dublin Airport",iataCode:"DUB"},{name:"Dusseldorf Airport",iataCode:"DUS"},{name:"El Dorado International Airport",iataCode:"BOG"},{name:"Eleftherios Venizelos International Airport",iataCode:"ATH"},{name:"Faa'a International Airport",iataCode:"PPT"},{name:"Fort Lauderdale Hollywood International Airport",iataCode:"FLL"},{name:"Fortaleza Pinto Martins International Airport",iataCode:"FOR"},{name:"Frankfurt am Main Airport",iataCode:"FRA"},{name:"George Bush Intercontinental Houston Airport",iataCode:"IAH"},{name:"Gold Coast Airport",iataCode:"OOL"},{name:"Guarulhos - Governador Andre Franco Montoro International Airport",iataCode:"GRU"},{name:"Hartsfield-Jackson Atlanta International Airport",iataCode:"ATL"},{name:"Helsinki Vantaa Airport",iataCode:"HEL"},{name:"Hobart International Airport",iataCode:"HBA"},{name:"Hong Kong International Airport",iataCode:"HKG"},{name:"Houari Boumediene Airport",iataCode:"ALG"},{name:"Hurgada International Airport",iataCode:"HRG"},{name:"Incheon International Airport",iataCode:"ICN"},{name:"Indira Gandhi International Airport",iataCode:"DEL"},{name:"Istanbul Airport",iataCode:"IST"},{name:"Jacksons International Airport",iataCode:"POM"},{name:"Jeju International Airport",iataCode:"CJU"},{name:"John F Kennedy International Airport",iataCode:"JFK"},{name:"Jorge Chavez International Airport",iataCode:"LIM"},{name:"Jose Maria Cordova International Airport",iataCode:"MDE"},{name:"Josep Tarradellas Barcelona-El Prat Airport",iataCode:"BCN"},{name:"Kahului Airport",iataCode:"OGG"},{name:"King Abdulaziz International Airport",iataCode:"JED"},{name:"Kuala Lumpur International Airport",iataCode:"KUL"},{name:"Kunming Changshui International Airport",iataCode:"KMG"},{name:"La Tontouta International Airport",iataCode:"NOU"},{name:"Leonardo da Vinci-Fiumicino Airport",iataCode:"FCO"},{name:"London Heathrow Airport",iataCode:"LHR"},{name:"Los Angeles International Airport",iataCode:"LAX"},{name:"McCarran International Airport",iataCode:"LAS"},{name:"Melbourne International Airport",iataCode:"MEL"},{name:"Mexico City International Airport",iataCode:"MEX"},{name:"Miami International Airport",iataCode:"MIA"},{name:"Ministro Pistarini International Airport",iataCode:"EZE"},{name:"Minneapolis-St Paul International/Wold-Chamberlain Airport",iataCode:"MSP"},{name:"Mohammed V International Airport",iataCode:"CMN"},{name:"Moscow Domodedovo Airport",iataCode:"DME"},{name:"Munich Airport",iataCode:"MUC"},{name:"Murtala Muhammed International Airport",iataCode:"LOS"},{name:"Nadi International Airport",iataCode:"NAN"},{name:"Nairobi Jomo Kenyatta International Airport",iataCode:"NBO"},{name:"Narita International Airport",iataCode:"NRT"},{name:"Newark Liberty International Airport",iataCode:"EWR"},{name:"Ninoy Aquino International Airport",iataCode:"MNL"},{name:"Noumea Magenta Airport",iataCode:"GEA"},{name:"O. R. Tambo International Airport",iataCode:"JNB"},{name:"Orlando International Airport",iataCode:"MCO"},{name:"Oslo Lufthavn",iataCode:"OSL"},{name:"Perth Airport",iataCode:"PER"},{name:"Phoenix Sky Harbor International Airport",iataCode:"PHX"},{name:"Recife Guararapes-Gilberto Freyre International Airport",iataCode:"REC"},{name:"Rio de Janeiro Galeao International Airport",iataCode:"GIG"},{name:"Salgado Filho International Airport",iataCode:"POA"},{name:"Salvador Deputado Luis Eduardo Magalhaes International Airport",iataCode:"SSA"},{name:"San Francisco International Airport",iataCode:"SFO"},{name:"Santos Dumont Airport",iataCode:"SDU"},{name:"Sao Paulo-Congonhas Airport",iataCode:"CGH"},{name:"Seattle Tacoma International Airport",iataCode:"SEA"},{name:"Shanghai Hongqiao International Airport",iataCode:"SHA"},{name:"Shanghai Pudong International Airport",iataCode:"PVG"},{name:"Shenzhen Bao'an International Airport",iataCode:"SZX"},{name:"Sheremetyevo International Airport",iataCode:"SVO"},{name:"Singapore Changi Airport",iataCode:"SIN"},{name:"Soekarno-Hatta International Airport",iataCode:"CGK"},{name:'Stockholm-Arlanda Airport"',iataCode:"ARN"},{name:"Suvarnabhumi Airport",iataCode:"BKK"},{name:"Sydney Kingsford Smith International Airport",iataCode:"SYD"},{name:"Taiwan Taoyuan International Airport",iataCode:"TPE"},{name:"Tan Son Nhat International Airport",iataCode:"SGN"},{name:"Tokyo Haneda International Airport",iataCode:"HND"},{name:"Toronto Pearson International Airport",iataCode:"YYZ"},{name:"Tunis Carthage International Airport",iataCode:"TUN"},{name:"Vancouver International Airport",iataCode:"YVR"},{name:"Vienna International Airport",iataCode:"VIE"},{name:"Viracopos International Airport",iataCode:"VCP"},{name:"Vnukovo International Airport",iataCode:"VKO"},{name:"Wellington International Airport",iataCode:"WLG"},{name:"Xi'an Xianyang International Airport",iataCode:"XIY"},{name:"Zhukovsky International Airport",iataCode:"ZIA"},{name:"Zurich Airport",iataCode:"ZRH"}],zt={airline:Lt,airplane:Pt,airport:Ht},It=zt,Nt=["Giant panda","Spectacled bear","Sun bear","Sloth bear","American black bear","Asian black bear","Brown bear","Polar bear"],qt=["Red-throated Loon","Arctic Loon","Pacific Loon","Common Loon","Yellow-billed Loon","Least Grebe","Pied-billed Grebe","Horned Grebe","Red-necked Grebe","Eared Grebe","Western Grebe","Clark's Grebe","Yellow-nosed Albatross","Shy Albatross","Black-browed Albatross","Wandering Albatross","Laysan Albatross","Black-footed Albatross","Short-tailed Albatross","Northern Fulmar","Herald Petrel","Murphy's Petrel","Mottled Petrel","Black-capped Petrel","Cook's Petrel","Stejneger's Petrel","White-chinned Petrel","Streaked Shearwater","Cory's Shearwater","Pink-footed Shearwater","Flesh-footed Shearwater","Greater Shearwater","Wedge-tailed Shearwater","Buller's Shearwater","Sooty Shearwater","Short-tailed Shearwater","Manx Shearwater","Black-vented Shearwater","Audubon's Shearwater","Little Shearwater","Wilson's Storm-Petrel","White-faced Storm-Petrel","European Storm-Petrel","Fork-tailed Storm-Petrel","Leach's Storm-Petrel","Ashy Storm-Petrel","Band-rumped Storm-Petrel","Wedge-rumped Storm-Petrel","Black Storm-Petrel","Least Storm-Petrel","White-tailed Tropicbird","Red-billed Tropicbird","Red-tailed Tropicbird","Masked Booby","Blue-footed Booby","Brown Booby","Red-footed Booby","Northern Gannet","American White Pelican","Brown Pelican","Brandt's Cormorant","Neotropic Cormorant","Double-crested Cormorant","Great Cormorant","Red-faced Cormorant","Pelagic Cormorant","Anhinga","Magnificent Frigatebird","Great Frigatebird","Lesser Frigatebird","American Bittern","Yellow Bittern","Least Bittern","Great Blue Heron","Great Egret","Chinese Egret","Little Egret","Western Reef-Heron","Snowy Egret","Little Blue Heron","Tricolored Heron","Reddish Egret","Cattle Egret","Green Heron","Black-crowned Night-Heron","Yellow-crowned Night-Heron","White Ibis","Scarlet Ibis","Glossy Ibis","White-faced Ibis","Roseate Spoonbill","Jabiru","Wood Stork","Black Vulture","Turkey Vulture","California Condor","Greater Flamingo","Black-bellied Whistling-Duck","Fulvous Whistling-Duck","Bean Goose","Pink-footed Goose","Greater White-fronted Goose","Lesser White-fronted Goose","Emperor Goose","Snow Goose","Ross's Goose","Canada Goose","Brant","Barnacle Goose","Mute Swan","Trumpeter Swan","Tundra Swan","Whooper Swan","Muscovy Duck","Wood Duck","Gadwall","Falcated Duck","Eurasian Wigeon","American Wigeon","American Black Duck","Mallard","Mottled Duck","Spot-billed Duck","Blue-winged Teal","Cinnamon Teal","Northern Shoveler","White-cheeked Pintail","Northern Pintail","Garganey","Baikal Teal","Green-winged Teal","Canvasback","Redhead","Common Pochard","Ring-necked Duck","Tufted Duck","Greater Scaup","Lesser Scaup","Steller's Eider","Spectacled Eider","King Eider","Common Eider","Harlequin Duck","Labrador Duck","Surf Scoter","White-winged Scoter","Black Scoter","Oldsquaw","Bufflehead","Common Goldeneye","Barrow's Goldeneye","Smew","Hooded Merganser","Common Merganser","Red-breasted Merganser","Masked Duck","Ruddy Duck","Osprey","Hook-billed Kite","Swallow-tailed Kite","White-tailed Kite","Snail Kite","Mississippi Kite","Bald Eagle","White-tailed Eagle","Steller's Sea-Eagle","Northern Harrier","Sharp-shinned Hawk","Cooper's Hawk","Northern Goshawk","Crane Hawk","Gray Hawk","Common Black-Hawk","Harris's Hawk","Roadside Hawk","Red-shouldered Hawk","Broad-winged Hawk","Short-tailed Hawk","Swainson's Hawk","White-tailed Hawk","Zone-tailed Hawk","Red-tailed Hawk","Ferruginous Hawk","Rough-legged Hawk","Golden Eagle","Collared Forest-Falcon","Crested Caracara","Eurasian Kestrel","American Kestrel","Merlin","Eurasian Hobby","Aplomado Falcon","Gyrfalcon","Peregrine Falcon","Prairie Falcon","Plain Chachalaca","Chukar","Himalayan Snowcock","Gray Partridge","Ring-necked Pheasant","Ruffed Grouse","Sage Grouse","Spruce Grouse","Willow Ptarmigan","Rock Ptarmigan","White-tailed Ptarmigan","Blue Grouse","Sharp-tailed Grouse","Greater Prairie-chicken","Lesser Prairie-chicken","Wild Turkey","Mountain Quail","Scaled Quail","California Quail","Gambel's Quail","Northern Bobwhite","Montezuma Quail","Yellow Rail","Black Rail","Corn Crake","Clapper Rail","King Rail","Virginia Rail","Sora","Paint-billed Crake","Spotted Rail","Purple Gallinule","Azure Gallinule","Common Moorhen","Eurasian Coot","American Coot","Limpkin","Sandhill Crane","Common Crane","Whooping Crane","Double-striped Thick-knee","Northern Lapwing","Black-bellied Plover","European Golden-Plover","American Golden-Plover","Pacific Golden-Plover","Mongolian Plover","Collared Plover","Snowy Plover","Wilson's Plover","Common Ringed Plover","Semipalmated Plover","Piping Plover","Little Ringed Plover","Killdeer","Mountain Plover","Eurasian Dotterel","Eurasian Oystercatcher","American Oystercatcher","Black Oystercatcher","Black-winged Stilt","Black-necked Stilt","American Avocet","Northern Jacana","Common Greenshank","Greater Yellowlegs","Lesser Yellowlegs","Marsh Sandpiper","Spotted Redshank","Wood Sandpiper","Green Sandpiper","Solitary Sandpiper","Willet","Wandering Tattler","Gray-tailed Tattler","Common Sandpiper","Spotted Sandpiper","Terek Sandpiper","Upland Sandpiper","Little Curlew","Eskimo Curlew","Whimbrel","Bristle-thighed Curlew","Far Eastern Curlew","Slender-billed Curlew","Eurasian Curlew","Long-billed Curlew","Black-tailed Godwit","Hudsonian Godwit","Bar-tailed Godwit","Marbled Godwit","Ruddy Turnstone","Black Turnstone","Surfbird","Great Knot","Red Knot","Sanderling","Semipalmated Sandpiper","Western Sandpiper","Red-necked Stint","Little Stint","Temminck's Stint","Long-toed Stint","Least Sandpiper","White-rumped Sandpiper","Baird's Sandpiper","Pectoral Sandpiper","Sharp-tailed Sandpiper","Purple Sandpiper","Rock Sandpiper","Dunlin","Curlew Sandpiper","Stilt Sandpiper","Spoonbill Sandpiper","Broad-billed Sandpiper","Buff-breasted Sandpiper","Ruff","Short-billed Dowitcher","Long-billed Dowitcher","Jack Snipe","Common Snipe","Pin-tailed Snipe","Eurasian Woodcock","American Woodcock","Wilson's Phalarope","Red-necked Phalarope","Red Phalarope","Oriental Pratincole","Great Skua","South Polar Skua","Pomarine Jaeger","Parasitic Jaeger","Long-tailed Jaeger","Laughing Gull","Franklin's Gull","Little Gull","Black-headed Gull","Bonaparte's Gull","Heermann's Gull","Band-tailed Gull","Black-tailed Gull","Mew Gull","Ring-billed Gull","California Gull","Herring Gull","Yellow-legged Gull","Thayer's Gull","Iceland Gull","Lesser Black-backed Gull","Slaty-backed Gull","Yellow-footed Gull","Western Gull","Glaucous-winged Gull","Glaucous Gull","Great Black-backed Gull","Sabine's Gull","Black-legged Kittiwake","Red-legged Kittiwake","Ross's Gull","Ivory Gull","Gull-billed Tern","Caspian Tern","Royal Tern","Elegant Tern","Sandwich Tern","Roseate Tern","Common Tern","Arctic Tern","Forster's Tern","Least Tern","Aleutian Tern","Bridled Tern","Sooty Tern","Large-billed Tern","White-winged Tern","Whiskered Tern","Black Tern","Brown Noddy","Black Noddy","Black Skimmer","Dovekie","Common Murre","Thick-billed Murre","Razorbill","Great Auk","Black Guillemot","Pigeon Guillemot","Long-billed Murrelet","Marbled Murrelet","Kittlitz's Murrelet","Xantus's Murrelet","Craveri's Murrelet","Ancient Murrelet","Cassin's Auklet","Parakeet Auklet","Least Auklet","Whiskered Auklet","Crested Auklet","Rhinoceros Auklet","Atlantic Puffin","Horned Puffin","Tufted Puffin","Rock Dove","Scaly-naped Pigeon","White-crowned Pigeon","Red-billed Pigeon","Band-tailed Pigeon","Oriental Turtle-Dove","European Turtle-Dove","Eurasian Collared-Dove","Spotted Dove","White-winged Dove","Zenaida Dove","Mourning Dove","Passenger Pigeon","Inca Dove","Common Ground-Dove","Ruddy Ground-Dove","White-tipped Dove","Key West Quail-Dove","Ruddy Quail-Dove","Budgerigar","Monk Parakeet","Carolina Parakeet","Thick-billed Parrot","White-winged Parakeet","Red-crowned Parrot","Common Cuckoo","Oriental Cuckoo","Black-billed Cuckoo","Yellow-billed Cuckoo","Mangrove Cuckoo","Greater Roadrunner","Smooth-billed Ani","Groove-billed Ani","Barn Owl","Flammulated Owl","Oriental Scops-Owl","Western Screech-Owl","Eastern Screech-Owl","Whiskered Screech-Owl","Great Horned Owl","Snowy Owl","Northern Hawk Owl","Northern Pygmy-Owl","Ferruginous Pygmy-Owl","Elf Owl","Burrowing Owl","Mottled Owl","Spotted Owl","Barred Owl","Great Gray Owl","Long-eared Owl","Short-eared Owl","Boreal Owl","Northern Saw-whet Owl","Lesser Nighthawk","Common Nighthawk","Antillean Nighthawk","Common Pauraque","Common Poorwill","Chuck-will's-widow","Buff-collared Nightjar","Whip-poor-will","Jungle Nightjar","Black Swift","White-collared Swift","Chimney Swift","Vaux's Swift","White-throated Needletail","Common Swift","Fork-tailed Swift","White-throated Swift","Antillean Palm Swift","Green Violet-ear","Green-breasted Mango","Broad-billed Hummingbird","White-eared Hummingbird","Xantus's Hummingbird","Berylline Hummingbird","Buff-bellied Hummingbird","Cinnamon Hummingbird","Violet-crowned Hummingbird","Blue-throated Hummingbird","Magnificent Hummingbird","Plain-capped Starthroat","Bahama Woodstar","Lucifer Hummingbird","Ruby-throated Hummingbird","Black-chinned Hummingbird","Anna's Hummingbird","Costa's Hummingbird","Calliope Hummingbird","Bumblebee Hummingbird","Broad-tailed Hummingbird","Rufous Hummingbird","Allen's Hummingbird","Elegant Trogon","Eared Trogon","Hoopoe","Ringed Kingfisher","Belted Kingfisher","Green Kingfisher","Eurasian Wryneck","Lewis's Woodpecker","Red-headed Woodpecker","Acorn Woodpecker","Gila Woodpecker","Golden-fronted Woodpecker","Red-bellied Woodpecker","Williamson's Sapsucker","Yellow-bellied Sapsucker","Red-naped Sapsucker","Red-breasted Sapsucker","Great Spotted Woodpecker","Ladder-backed Woodpecker","Nuttall's Woodpecker","Downy Woodpecker","Hairy Woodpecker","Strickland's Woodpecker","Red-cockaded Woodpecker","White-headed Woodpecker","Three-toed Woodpecker","Black-backed Woodpecker","Northern Flicker","Gilded Flicker","Pileated Woodpecker","Ivory-billed Woodpecker","Northern Beardless-Tyrannulet","Greenish Elaenia","Caribbean Elaenia","Tufted Flycatcher","Olive-sided Flycatcher","Greater Pewee","Western Wood-Pewee","Eastern Wood-Pewee","Yellow-bellied Flycatcher","Acadian Flycatcher","Alder Flycatcher","Willow Flycatcher","Least Flycatcher","Hammond's Flycatcher","Dusky Flycatcher","Gray Flycatcher","Pacific-slope Flycatcher","Cordilleran Flycatcher","Buff-breasted Flycatcher","Black Phoebe","Eastern Phoebe","Say's Phoebe","Vermilion Flycatcher","Dusky-capped Flycatcher","Ash-throated Flycatcher","Nutting's Flycatcher","Great Crested Flycatcher","Brown-crested Flycatcher","La Sagra's Flycatcher","Great Kiskadee","Sulphur-bellied Flycatcher","Variegated Flycatcher","Tropical Kingbird","Couch's Kingbird","Cassin's Kingbird","Thick-billed Kingbird","Western Kingbird","Eastern Kingbird","Gray Kingbird","Loggerhead Kingbird","Scissor-tailed Flycatcher","Fork-tailed Flycatcher","Rose-throated Becard","Masked Tityra","Brown Shrike","Loggerhead Shrike","Northern Shrike","White-eyed Vireo","Thick-billed Vireo","Bell's Vireo","Black-capped Vireo","Gray Vireo","Yellow-throated Vireo","Plumbeous Vireo","Cassin's Vireo","Blue-headed Vireo","Hutton's Vireo","Warbling Vireo","Philadelphia Vireo","Red-eyed Vireo","Yellow-green Vireo","Black-whiskered Vireo","Yucatan Vireo","Gray Jay","Steller's Jay","Blue Jay","Green Jay","Brown Jay","Florida Scrub-Jay","Island Scrub-Jay","Western Scrub-Jay","Mexican Jay","Pinyon Jay","Clark's Nutcracker","Black-billed Magpie","Yellow-billed Magpie","Eurasian Jackdaw","American Crow","Northwestern Crow","Tamaulipas Crow","Fish Crow","Chihuahuan Raven","Common Raven","Sky Lark","Horned Lark","Purple Martin","Cuban Martin","Gray-breasted Martin","Southern Martin","Brown-chested Martin","Tree Swallow","Violet-green Swallow","Bahama Swallow","Northern Rough-winged Swallow","Bank Swallow","Cliff Swallow","Cave Swallow","Barn Swallow","Common House-Martin","Carolina Chickadee","Black-capped Chickadee","Mountain Chickadee","Mexican Chickadee","Chestnut-backed Chickadee","Boreal Chickadee","Gray-headed Chickadee","Bridled Titmouse","Oak Titmouse","Juniper Titmouse","Tufted Titmouse","Verdin","Bushtit","Red-breasted Nuthatch","White-breasted Nuthatch","Pygmy Nuthatch","Brown-headed Nuthatch","Brown Creeper","Cactus Wren","Rock Wren","Canyon Wren","Carolina Wren","Bewick's Wren","House Wren","Winter Wren","Sedge Wren","Marsh Wren","American Dipper","Red-whiskered Bulbul","Golden-crowned Kinglet","Ruby-crowned Kinglet","Middendorff's Grasshopper-Warbler","Lanceolated Warbler","Wood Warbler","Dusky Warbler","Arctic Warbler","Blue-gray Gnatcatcher","California Gnatcatcher","Black-tailed Gnatcatcher","Black-capped Gnatcatcher","Narcissus Flycatcher","Mugimaki Flycatcher","Red-breasted Flycatcher","Siberian Flycatcher","Gray-spotted Flycatcher","Asian Brown Flycatcher","Siberian Rubythroat","Bluethroat","Siberian Blue Robin","Red-flanked Bluetail","Northern Wheatear","Stonechat","Eastern Bluebird","Western Bluebird","Mountain Bluebird","Townsend's Solitaire","Veery","Gray-cheeked Thrush","Bicknell's Thrush","Swainson's Thrush","Hermit Thrush","Wood Thrush","Eurasian Blackbird","Eyebrowed Thrush","Dusky Thrush","Fieldfare","Redwing","Clay-colored Robin","White-throated Robin","Rufous-backed Robin","American Robin","Varied Thrush","Aztec Thrush","Wrentit","Gray Catbird","Black Catbird","Northern Mockingbird","Bahama Mockingbird","Sage Thrasher","Brown Thrasher","Long-billed Thrasher","Bendire's Thrasher","Curve-billed Thrasher","California Thrasher","Crissal Thrasher","Le Conte's Thrasher","Blue Mockingbird","European Starling","Crested Myna","Siberian Accentor","Yellow Wagtail","Citrine Wagtail","Gray Wagtail","White Wagtail","Black-backed Wagtail","Tree Pipit","Olive-backed Pipit","Pechora Pipit","Red-throated Pipit","American Pipit","Sprague's Pipit","Bohemian Waxwing","Cedar Waxwing","Gray Silky-flycatcher","Phainopepla","Olive Warbler","Bachman's Warbler","Blue-winged Warbler","Golden-winged Warbler","Tennessee Warbler","Orange-crowned Warbler","Nashville Warbler","Virginia's Warbler","Colima Warbler","Lucy's Warbler","Crescent-chested Warbler","Northern Parula","Tropical Parula","Yellow Warbler","Chestnut-sided Warbler","Magnolia Warbler","Cape May Warbler","Black-throated Blue Warbler","Yellow-rumped Warbler","Black-throated Gray Warbler","Golden-cheeked Warbler","Black-throated Green Warbler","Townsend's Warbler","Hermit Warbler","Blackburnian Warbler","Yellow-throated Warbler","Grace's Warbler","Pine Warbler","Kirtland's Warbler","Prairie Warbler","Palm Warbler","Bay-breasted Warbler","Blackpoll Warbler","Cerulean Warbler","Black-and-white Warbler","American Redstart","Prothonotary Warbler","Worm-eating Warbler","Swainson's Warbler","Ovenbird","Northern Waterthrush","Louisiana Waterthrush","Kentucky Warbler","Connecticut Warbler","Mourning Warbler","MacGillivray's Warbler","Common Yellowthroat","Gray-crowned Yellowthroat","Hooded Warbler","Wilson's Warbler","Canada Warbler","Red-faced Warbler","Painted Redstart","Slate-throated Redstart","Fan-tailed Warbler","Golden-crowned Warbler","Rufous-capped Warbler","Yellow-breasted Chat","Bananaquit","Hepatic Tanager","Summer Tanager","Scarlet Tanager","Western Tanager","Flame-colored Tanager","Stripe-headed Tanager","White-collared Seedeater","Yellow-faced Grassquit","Black-faced Grassquit","Olive Sparrow","Green-tailed Towhee","Spotted Towhee","Eastern Towhee","Canyon Towhee","California Towhee","Abert's Towhee","Rufous-winged Sparrow","Cassin's Sparrow","Bachman's Sparrow","Botteri's Sparrow","Rufous-crowned Sparrow","Five-striped Sparrow","American Tree Sparrow","Chipping Sparrow","Clay-colored Sparrow","Brewer's Sparrow","Field Sparrow","Worthen's Sparrow","Black-chinned Sparrow","Vesper Sparrow","Lark Sparrow","Black-throated Sparrow","Sage Sparrow","Lark Bunting","Savannah Sparrow","Grasshopper Sparrow","Baird's Sparrow","Henslow's Sparrow","Le Conte's Sparrow","Nelson's Sharp-tailed Sparrow","Saltmarsh Sharp-tailed Sparrow","Seaside Sparrow","Fox Sparrow","Song Sparrow","Lincoln's Sparrow","Swamp Sparrow","White-throated Sparrow","Harris's Sparrow","White-crowned Sparrow","Golden-crowned Sparrow","Dark-eyed Junco","Yellow-eyed Junco","McCown's Longspur","Lapland Longspur","Smith's Longspur","Chestnut-collared Longspur","Pine Bunting","Little Bunting","Rustic Bunting","Yellow-breasted Bunting","Gray Bunting","Pallas's Bunting","Reed Bunting","Snow Bunting","McKay's Bunting","Crimson-collared Grosbeak","Northern Cardinal","Pyrrhuloxia","Yellow Grosbeak","Rose-breasted Grosbeak","Black-headed Grosbeak","Blue Bunting","Blue Grosbeak","Lazuli Bunting","Indigo Bunting","Varied Bunting","Painted Bunting","Dickcissel","Bobolink","Red-winged Blackbird","Tricolored Blackbird","Tawny-shouldered Blackbird","Eastern Meadowlark","Western Meadowlark","Yellow-headed Blackbird","Rusty Blackbird","Brewer's Blackbird","Common Grackle","Boat-tailed Grackle","Great-tailed Grackle","Shiny Cowbird","Bronzed Cowbird","Brown-headed Cowbird","Black-vented Oriole","Orchard Oriole","Hooded Oriole","Streak-backed Oriole","Spot-breasted Oriole","Altamira Oriole","Audubon's Oriole","Baltimore Oriole","Bullock's Oriole","Scott's Oriole","Common Chaffinch","Brambling","Gray-crowned Rosy-Finch","Black Rosy-Finch","Brown-capped Rosy-Finch","Pine Grosbeak","Common Rosefinch","Purple Finch","Cassin's Finch","House Finch","Red Crossbill","White-winged Crossbill","Common Redpoll","Hoary Redpoll","Eurasian Siskin","Pine Siskin","Lesser Goldfinch","Lawrence's Goldfinch","American Goldfinch","Oriental Greenfinch","Eurasian Bullfinch","Evening Grosbeak","Hawfinch","House Sparrow","Eurasian Tree Sparrow"],Gt=["Abyssinian","American Bobtail","American Curl","American Shorthair","American Wirehair","Balinese","Bengal","Birman","Bombay","British Shorthair","Burmese","Chartreux","Chausie","Cornish Rex","Devon Rex","Donskoy","Egyptian Mau","Exotic Shorthair","Havana","Highlander","Himalayan","Japanese Bobtail","Korat","Kurilian Bobtail","LaPerm","Maine Coon","Manx","Minskin","Munchkin","Nebelung","Norwegian Forest Cat","Ocicat","Ojos Azules","Oriental","Persian","Peterbald","Pixiebob","Ragdoll","Russian Blue","Savannah","Scottish Fold","Selkirk Rex","Serengeti","Siberian","Siamese","Singapura","Snowshoe","Sokoke","Somali","Sphynx","Thai","Tonkinese","Toyger","Turkish Angora","Turkish Van"],Wt=["Blue Whale","Fin Whale","Sei Whale","Sperm Whale","Bryde’s whale","Omura’s whale","Humpback whale","Long-Beaked Common Dolphin","Short-Beaked Common Dolphin","Bottlenose Dolphin","Indo-Pacific Bottlenose Dolphin","Northern Rightwhale Dolphin","Southern Rightwhale Dolphin","Tucuxi","Costero","Indo-Pacific Hump-backed Dolphin","Chinese White Dolphin","Atlantic Humpbacked Dolphin","Atlantic Spotted Dolphin","Clymene Dolphin","Pantropical Spotted Dolphin","Spinner Dolphin","Striped Dolphin","Rough-Toothed Dolphin","Chilean Dolphin","Commerson’s Dolphin","Heaviside’s Dolphin","Hector’s Dolphin","Risso’s Dolphin","Fraser’s Dolphin","Atlantic White-Sided Dolphin","Dusky Dolphin","Hourglass Dolphin","Pacific White-Sided Dolphin","Peale’s Dolphin","White-Beaked Dolphin","Australian Snubfin Dolphin","Irrawaddy Dolphin","Melon-headed Whale","Killer Whale (Orca)","Pygmy Killer Whale","False Killer Whale","Long-finned Pilot Whale","Short-finned Pilot Whale","Guiana Dolphin","Burrunan Dolphin","Australian humpback Dolphin","Amazon River Dolphin","Chinese River Dolphin","Ganges River Dolphin","La Plata Dolphin","Southern Bottlenose Whale","Longman's Beaked Whale","Arnoux's Beaked Whale"],_t=["Aberdeen Angus","Abergele","Abigar","Abondance","Abyssinian Shorthorned Zebu","Aceh","Achham","Adamawa","Adaptaur","Afar","Africangus","Afrikaner","Agerolese","Alambadi","Alatau","Albanian","Albera","Alderney","Alentejana","Aleutian wild cattle","Aliad Dinka","Alistana-Sanabresa","Allmogekor","Alur","American","American Angus","American Beef Friesian","American Brown Swiss","American Milking Devon","American White Park","Amerifax","Amrit Mahal","Amsterdam Island cattle","Anatolian Black","Andalusian Black","Andalusian Blond","Andalusian Grey","Angeln","Angoni","Ankina","Ankole","Ankole-Watusi","Aracena","Arado","Argentine Criollo","Argentine Friesian","Armorican","Arouquesa","Arsi","Asturian Mountain","Asturian Valley","Aubrac","Aulie-Ata","Aure et Saint-Girons","Australian Braford","Australian Brangus","Australian Charbray","Australian Friesian Sahiwal","Australian Lowline","Australian Milking Zebu","Australian Shorthorn","Austrian Simmental","Austrian Yellow","Avétonou","Avileña-Negra Ibérica","Aweil Dinka","Ayrshire","Azaouak","Azebuado","Azerbaijan Zebu","Azores","Bedit","Breed","Bachaur cattle","Baherie cattle","Bakosi cattle","Balancer","Baoule","Bargur cattle","Barrosã","Barzona","Bazadaise","Beef Freisian","Beefalo","Beefmaker","Beefmaster","Begayt","Belgian Blue","Belgian Red","Belgian Red Pied","Belgian White-and-Red","Belmont Red","Belted Galloway","Bernese","Berrenda cattle","Betizu","Bianca Modenese","Blaarkop","Black Angus","Black Baldy","Black Hereford","Blanca Cacereña","Blanco Orejinegro BON","Blonde d'Aquitaine","Blue Albion","Blue Grey","Bohuskulla","Bonsmara","Boran","Boškarin","Braford","Brahman","Brahmousin","Brangus","Braunvieh","Brava","British White","British Friesian","Brown Carpathian","Brown Caucasian","Brown Swiss","Bue Lingo","Burlina","Buša cattle","Butana cattle","Bushuyev","Cedit","Cachena","Caldelana","Camargue","Campbell Island cattle","Canadian Speckle Park","Canadienne","Canaria","Canchim","Caracu","Cárdena Andaluza","Carinthian Blondvieh","Carora","Charbray","Charolais","Chateaubriand","Chiangus","Chianina","Chillingham cattle","Chinese Black Pied","Cholistani","Coloursided White Back","Commercial","Corriente","Corsican cattle","Costeño con Cuernos","Crioulo Lageano","Dedit","Dajal","Dangi cattle","Danish Black-Pied","Danish Jersey","Danish Red","Deep Red cattle","Deoni","Devon","Dexter cattle","Dhanni","Doayo cattle","Doela","Drakensberger","Dølafe","Droughtmaster","Dulong'","Dutch Belted","Dutch Friesian","Dwarf Lulu","Eedit","East Anatolian Red","Eastern Finncattle","Eastern Red Polled","Enderby Island cattle","English Longhorn","Ennstaler Bergscheck","Estonian Holstein","Estonian Native","Estonian Red cattle","Évolène cattle","Fedit","Fēng Cattle","Finnish Ayrshire","Finncattle","Finnish Holstein-Friesian","Fjäll","Fleckvieh","Florida Cracker cattle","Fogera","French Simmental","Fribourgeoise","Friesian Red and White","Fulani Sudanese","Gedit","Galician Blond","Galloway cattle","Gangatiri","Gaolao","Garvonesa","Gascon cattle","Gelbvieh","Georgian Mountain cattle","German Angus","German Black Pied cattle","German Black Pied Dairy","German Red Pied","Gir","Glan cattle","Gloucester","Gobra","Greek Shorthorn","Greek Steppe","Greyman cattle","Gudali","Guernsey cattle","Guzerá","Hedit","Hallikar4","Hanwoo","Hariana cattle","Hartón del Valle","Harzer Rotvieh","Hays Converter","Heck cattle","Hereford","Herens","Hybridmaster","Highland cattle","Hinterwald","Holando-Argentino","Holstein Friesian cattle","Horro","Huáng Cattle","Hungarian Grey","Iedit","Iberian cattle","Icelandic","Illawarra cattle","Improved Red and White","Indo-Brazilian","Irish Moiled","Israeli Holstein","Israeli Red","Istoben cattle","Istrian cattle","Jedit","Jamaica Black","Jamaica Hope","Jamaica Red","Japanese Brown","Jarmelista","Javari cattle","Jersey cattle","Jutland cattle","Kedit","Kabin Buri cattle","Kalmyk cattle","Kangayam","Kankrej","Kamphaeng Saen cattle","Karan Swiss","Kasaragod Dwarf cattle","Kathiawadi","Kazakh Whiteheaded","Kenana cattle","Kenkatha cattle","Kerry cattle","Kherigarh","Khillari cattle","Kholomogory","Korat Wagyu","Kostroma cattle","Krishna Valley cattle","Kuri","Kurgan cattle","Ledit","La Reina cattle","Lakenvelder cattle","Lampurger","Latvian Blue","Latvian Brown","Latvian Danish Red","Lebedyn","Levantina","Limia cattle","Limousin","Limpurger","Lincoln Red","Lineback","Lithuanian Black-and-White","Lithuanian Light Grey","Lithuanian Red","Lithuanian White-Backed","Lohani cattle","Lourdais","Lucerna cattle","Luing","Medit","Madagascar Zebu","Madura","Maine-Anjou","Malnad Gidda","Malvi","Mandalong Special","Mantequera Leonesa","Maramureş Brown","Marchigiana","Maremmana","Marinhoa","Maronesa","Masai","Mashona","Menorquina","Mertolenga","Meuse-Rhine-Issel","Mewati","Milking Shorthorn","Minhota","Mirandesa","Mirkadim","Mocăniţă","Mollie","Monchina","Mongolian","Montbéliarde","Morucha","Muturu","Murboden","Murnau-Werdenfels","Murray Grey","Nedit","Nagori","N'Dama","Negra Andaluza","Nelore","Nguni","Nimari","Normande","North Bengal Grey","Northern Finncattle","Northern Shorthorn","Norwegian Red","Oedit]","Ongole","Original Simmental","Pedit","Pajuna","Palmera","Pantaneiro","Parda Alpina","Parthenaise","Pasiega","Pembroke","Philippine Native","Pie Rouge des Plaines","Piedmontese cattle","Pineywoods","Pinzgauer","Pirenaica","Podolac","Podolica","Polish Black-and-White","Polish Red","Polled Hereford","Poll Shorthorn","Polled Shorthorn","Ponwar","Preta","Punganur","Pulikulam","Pustertaler Sprinzen","Qedit","Qinchaun","Queensland Miniature Boran","Redit","Ramo Grande","Randall","Raramuri Criollo","Rathi","Rätisches Grauvieh","Raya","Red Angus","Red Brangus","Red Chittagong","Red Fulani","Red Gorbatov","Red Holstein","Red Kandhari","Red Mingrelian","Red Poll","Red Polled Østland","Red Sindhi","Retinta","Riggit Galloway","Ringamåla","Rohjan","Romagnola","Romanian Bălţata","Romanian Steppe Gray","Romosinuano","Russian Black Pied","RX3","Sedit","Sahiwal","Salers","Salorn","Sanga","Sanhe","Santa Cruz","Santa Gertrudis","Sayaguesa","Schwyz","Selembu","Senepol","Serbian Pied","Serbian Steppe","Sheko","Shetland","Shorthorn","Siboney de Cuba","Simbrah","Simford","Simmental","Siri","South Devon","Spanish Fighting Bull","Speckle Park","Square Meater","Sussex","Swedish Friesian","Swedish Polled","Swedish Red Pied","Swedish Red Polled","Swedish Red-and-White","Tedit","Tabapuã","Tarentaise","Tasmanian Grey","Tauros","Telemark","Texas Longhorn","Texon","Thai Black","Thai Fighting Bull","Thai Friesian","Thai Milking Zebu","Tharparkar","Tswana","Tudanca","Tuli","Tulim","Turkish Grey Steppe","Tux-Zillertal","Tyrol Grey","Uedit","Umblachery","Ukrainian Grey","Vedit","Valdostana Castana","Valdostana Pezzata Nera","Valdostana Pezzata Rossa","Väneko","Vaynol","Vechur8","Vestland Fjord","Vestland Red Polled","Vianesa","Volinian Beef","Vorderwald","Vosgienne","Wedit","Wagyu","Waguli","Wangus","Welsh Black","Western Finncattle","White Cáceres","White Fulani","White Lamphun","White Park","Whitebred Shorthorn","Xedit","Xingjiang Brown","Yedit","Yakutian","Yanbian","Yanhuang","Yurino","Zedit","Żubroń","Zebu"],Ot=["Alligator mississippiensis","Chinese Alligator","Black Caiman","Broad-snouted Caiman","Spectacled Caiman","Yacare Caiman","Cuvier’s Dwarf Caiman","Schneider’s Smooth-fronted Caiman","African Slender-snouted Crocodile","American Crocodile","Australian Freshwater Crocodile","Cuban Crocodile","Dwarf Crocodile","Morelet’s Crocodile","Mugger Crocodile","New Guinea Freshwater Crocodile","Nile Crocodile","West African Crocodile","Orinoco Crocodile","Philippine Crocodile","Saltwater Crocodile","Siamese Crocodile","Gharial","Tomistoma"],Kt=["Affenpinscher","Afghan Hound","Aidi","Airedale Terrier","Akbash","Akita","Alano Español","Alapaha Blue Blood Bulldog","Alaskan Husky","Alaskan Klee Kai","Alaskan Malamute","Alopekis","Alpine Dachsbracke","American Bulldog","American Bully","American Cocker Spaniel","American English Coonhound","American Foxhound","American Hairless Terrier","American Pit Bull Terrier","American Staffordshire Terrier","American Water Spaniel","Andalusian Hound","Anglo-Français de Petite Vénerie","Appenzeller Sennenhund","Ariegeois","Armant","Armenian Gampr dog","Artois Hound","Australian Cattle Dog","Australian Kelpie","Australian Shepherd","Australian Stumpy Tail Cattle Dog","Australian Terrier","Austrian Black and Tan Hound","Austrian Pinscher","Azawakh","Bakharwal dog","Banjara Hound","Barbado da Terceira","Barbet","Basenji","Basque Shepherd Dog","Basset Artésien Normand","Basset Bleu de Gascogne","Basset Fauve de Bretagne","Basset Hound","Bavarian Mountain Hound","Beagle","Beagle-Harrier","Belgian Shepherd","Bearded Collie","Beauceron","Bedlington Terrier","Bergamasco Shepherd","Berger Picard","Bernese Mountain Dog","Bhotia","Bichon Frisé","Billy","Black and Tan Coonhound","Black Norwegian Elkhound","Black Russian Terrier","Black Mouth Cur","Bloodhound","Blue Lacy","Blue Picardy Spaniel","Bluetick Coonhound","Boerboel","Bohemian Shepherd","Bolognese","Border Collie","Border Terrier","Borzoi","Bosnian Coarse-haired Hound","Boston Terrier","Bouvier des Ardennes","Bouvier des Flandres","Boxer","Boykin Spaniel","Bracco Italiano","Braque d'Auvergne","Braque de l'Ariège","Braque du Bourbonnais","Braque Francais","Braque Saint-Germain","Briard","Briquet Griffon Vendéen","Brittany","Broholmer","Bruno Jura Hound","Brussels Griffon","Bucovina Shepherd Dog","Bull Arab","Bull Terrier","Bulldog","Bullmastiff","Bully Kutta","Burgos Pointer","Cairn Terrier","Campeiro Bulldog","Canaan Dog","Canadian Eskimo Dog","Cane Corso","Cane di Oropa","Cane Paratore","Cantabrian Water Dog","Can de Chira","Cão da Serra de Aires","Cão de Castro Laboreiro","Cão de Gado Transmontano","Cão Fila de São Miguel","Cardigan Welsh Corgi","Carea Castellano Manchego","Carolina Dog","Carpathian Shepherd Dog","Catahoula Leopard Dog","Catalan Sheepdog","Caucasian Shepherd Dog","Cavalier King Charles Spaniel","Central Asian Shepherd Dog","Cesky Fousek","Cesky Terrier","Chesapeake Bay Retriever","Chien Français Blanc et Noir","Chien Français Blanc et Orange","Chien Français Tricolore","Chihuahua","Chilean Terrier","Chinese Chongqing Dog","Chinese Crested Dog","Chinook","Chippiparai","Chongqing dog","Chortai","Chow Chow","Cimarrón Uruguayo","Cirneco dell'Etna","Clumber Spaniel","Colombian fino hound","Coton de Tulear","Cretan Hound","Croatian Sheepdog","Curly-Coated Retriever","Cursinu","Czechoslovakian Wolfdog","Dachshund","Dalmatian","Dandie Dinmont Terrier","Danish-Swedish Farmdog","Denmark Feist","Dingo","Doberman Pinscher","Dogo Argentino","Dogo Guatemalteco","Dogo Sardesco","Dogue Brasileiro","Dogue de Bordeaux","Drentse Patrijshond","Drever","Dunker","Dutch Shepherd","Dutch Smoushond","East Siberian Laika","East European Shepherd","English Cocker Spaniel","English Foxhound","English Mastiff","English Setter","English Shepherd","English Springer Spaniel","English Toy Terrier","Entlebucher Mountain Dog","Estonian Hound","Estrela Mountain Dog","Eurasier","Field Spaniel","Fila Brasileiro","Finnish Hound","Finnish Lapphund","Finnish Spitz","Flat-Coated Retriever","French Bulldog","French Spaniel","Galgo Español","Galician Shepherd Dog","Garafian Shepherd","Gascon Saintongeois","Georgian Shepherd","German Hound","German Longhaired Pointer","German Pinscher","German Roughhaired Pointer","German Shepherd Dog","German Shorthaired Pointer","German Spaniel","German Spitz","German Wirehaired Pointer","Giant Schnauzer","Glen of Imaal Terrier","Golden Retriever","Gończy Polski","Gordon Setter","Grand Anglo-Français Blanc et Noir","Grand Anglo-Français Blanc et Orange","Grand Anglo-Français Tricolore","Grand Basset Griffon Vendéen","Grand Bleu de Gascogne","Grand Griffon Vendéen","Great Dane","Greater Swiss Mountain Dog","Greek Harehound","Greek Shepherd","Greenland Dog","Greyhound","Griffon Bleu de Gascogne","Griffon Fauve de Bretagne","Griffon Nivernais","Gull Dong","Gull Terrier","Hällefors Elkhound","Hamiltonstövare","Hanover Hound","Harrier","Havanese","Hierran Wolfdog","Hokkaido","Hovawart","Huntaway","Hygen Hound","Ibizan Hound","Icelandic Sheepdog","Indian pariah dog","Indian Spitz","Irish Red and White Setter","Irish Setter","Irish Terrier","Irish Water Spaniel","Irish Wolfhound","Istrian Coarse-haired Hound","Istrian Shorthaired Hound","Italian Greyhound","Jack Russell Terrier","Jagdterrier","Japanese Chin","Japanese Spitz","Japanese Terrier","Jindo","Jonangi","Kai Ken","Kaikadi","Kangal Shepherd Dog","Kanni","Karakachan dog","Karelian Bear Dog","Kars","Karst Shepherd","Keeshond","Kerry Beagle","Kerry Blue Terrier","King Charles Spaniel","King Shepherd","Kintamani","Kishu","Kokoni","Kombai","Komondor","Kooikerhondje","Koolie","Koyun dog","Kromfohrländer","Kuchi","Kuvasz","Labrador Retriever","Lagotto Romagnolo","Lakeland Terrier","Lancashire Heeler","Landseer","Lapponian Herder","Large Münsterländer","Leonberger","Levriero Sardo","Lhasa Apso","Lithuanian Hound","Löwchen","Lupo Italiano","Mackenzie River Husky","Magyar agár","Mahratta Greyhound","Maltese","Manchester Terrier","Maremmano-Abruzzese Sheepdog","McNab dog","Miniature American Shepherd","Miniature Bull Terrier","Miniature Fox Terrier","Miniature Pinscher","Miniature Schnauzer","Molossus of Epirus","Montenegrin Mountain Hound","Mountain Cur","Mountain Feist","Mucuchies","Mudhol Hound","Mudi","Neapolitan Mastiff","New Guinea Singing Dog","New Zealand Heading Dog","Newfoundland","Norfolk Terrier","Norrbottenspets","Northern Inuit Dog","Norwegian Buhund","Norwegian Elkhound","Norwegian Lundehund","Norwich Terrier","Nova Scotia Duck Tolling Retriever","Old Croatian Sighthound","Old Danish Pointer","Old English Sheepdog","Old English Terrier","Olde English Bulldogge","Otterhound","Pachon Navarro","Pampas Deerhound","Paisley Terrier","Papillon","Parson Russell Terrier","Pastore della Lessinia e del Lagorai","Patagonian Sheepdog","Patterdale Terrier","Pekingese","Pembroke Welsh Corgi","Perro Majorero","Perro de Pastor Mallorquin","Perro de Presa Canario","Perro de Presa Mallorquin","Peruvian Inca Orchid","Petit Basset Griffon Vendéen","Petit Bleu de Gascogne","Phalène","Pharaoh Hound","Phu Quoc Ridgeback","Picardy Spaniel","Plummer Terrier","Plott Hound","Podenco Canario","Podenco Valenciano","Pointer","Poitevin","Polish Greyhound","Polish Hound","Polish Lowland Sheepdog","Polish Tatra Sheepdog","Pomeranian","Pont-Audemer Spaniel","Poodle","Porcelaine","Portuguese Podengo","Portuguese Pointer","Portuguese Water Dog","Posavac Hound","Pražský Krysařík","Pshdar Dog","Pudelpointer","Pug","Puli","Pumi","Pungsan Dog","Pyrenean Mastiff","Pyrenean Mountain Dog","Pyrenean Sheepdog","Rafeiro do Alentejo","Rajapalayam","Rampur Greyhound","Rat Terrier","Ratonero Bodeguero Andaluz","Ratonero Mallorquin","Ratonero Murciano de Huerta","Ratonero Valenciano","Redbone Coonhound","Rhodesian Ridgeback","Romanian Mioritic Shepherd Dog","Romanian Raven Shepherd Dog","Rottweiler","Rough Collie","Russian Spaniel","Russian Toy","Russo-European Laika","Saarloos Wolfdog","Sabueso Español","Saint Bernard","Saint Hubert Jura Hound","Saint-Usuge Spaniel","Saluki","Samoyed","Sapsali","Sarabi dog","Šarplaninac","Schapendoes","Schillerstövare","Schipperke","Schweizer Laufhund","Schweizerischer Niederlaufhund","Scottish Deerhound","Scottish Terrier","Sealyham Terrier","Segugio dell'Appennino","Segugio Italiano","Segugio Maremmano","Seppala Siberian Sleddog","Serbian Hound","Serbian Tricolour Hound","Serrano Bulldog","Shar Pei","Shetland Sheepdog","Shiba Inu","Shih Tzu","Shikoku","Shiloh Shepherd","Siberian Husky","Silken Windhound","Silky Terrier","Sinhala Hound","Skye Terrier","Sloughi","Slovakian Wirehaired Pointer","Slovenský Cuvac","Slovenský Kopov","Smalandstövare","Small Greek domestic dog","Small Münsterländer","Smooth Collie","Smooth Fox Terrier","Soft-Coated Wheaten Terrier","South Russian Ovcharka","Spanish Mastiff","Spanish Water Dog","Spinone Italiano","Sporting Lucas Terrier","Sardinian Shepherd Dog","Stabyhoun","Staffordshire Bull Terrier","Standard Schnauzer","Stephens Stock","Styrian Coarse-haired Hound","Sussex Spaniel","Swedish Elkhound","Swedish Lapphund","Swedish Vallhund","Swedish White Elkhound","Taigan","Taiwan Dog","Tamaskan Dog","Teddy Roosevelt Terrier","Telomian","Tenterfield Terrier","Terrier Brasileiro","Thai Bangkaew Dog","Thai Ridgeback","Tibetan Mastiff","Tibetan Spaniel","Tibetan Terrier","Tornjak","Tosa","Toy Fox Terrier","Toy Manchester Terrier","Transylvanian Hound","Treeing Cur","Treeing Feist","Treeing Tennessee Brindle","Treeing Walker Coonhound","Trigg Hound","Tyrolean Hound","Vikhan","Villano de Las Encartaciones","Villanuco de Las Encartaciones","Vizsla","Volpino Italiano","Weimaraner","Welsh Sheepdog","Welsh Springer Spaniel","Welsh Terrier","West Highland White Terrier","West Siberian Laika","Westphalian Dachsbracke","Wetterhoun","Whippet","White Shepherd","White Swiss Shepherd Dog","Wire Fox Terrier","Wirehaired Pointing Griffon","Wirehaired Vizsla","Xiasi Dog","Xoloitzcuintli","Yakutian Laika","Yorkshire Terrier"],Jt=["Grass carp","Peruvian anchoveta","Silver carp","Common carp","Asari","Japanese littleneck","Filipino Venus","Japanese cockle","Alaska pollock","Nile tilapia","Whiteleg shrimp","Bighead carp","Skipjack tuna","Catla","Crucian carp","Atlantic salmon","Atlantic herring","Chub mackerel","Rohu","Yellowfin tuna","Japanese anchovy","Largehead hairtail","Atlantic cod","European pilchard","Capelin","Jumbo flying squid","Milkfish","Atlantic mackerel","Rainbow trout","Araucanian herring","Wuchang bream","Gulf menhaden","Indian oil sardine","Black carp","European anchovy","Northern snakehead","Pacific cod","Pacific saury","Pacific herring","Bigeye tuna","Chilean jack mackerel","Yellow croaker","Haddock","Gazami crab","Amur catfish","Japanese common catfish","European sprat","Pink salmon","Mrigal carp","Channel catfish","Blood cockle","Blue whiting","Hilsa shad","Daggertooth pike conger","California pilchard","Cape horse mackerel","Pacific anchoveta","Japanese flying squid","Pollock","Chinese softshell turtle","Kawakawa","Indian mackerel","Asian swamp eel","Argentine hake","Short mackerel","Southern rough shrimp","Southern African anchovy","Pond loach","Iridescent shark","Mandarin fish","Chinese perch","Nile perch","Round sardinella","Japanese pilchard","Bombay-duck","Yellowhead catfish","Korean bullhead","Narrow-barred Spanish mackerel","Albacore","Madeiran sardinella","Bonga shad","Silver cyprinid","Longtail tuna","Atlantic menhaden","North Pacific hake","Atlantic horse mackerel","Japanese jack mackerel","Pacific thread herring","Bigeye scad","Yellowstripe scad","Chum salmon","Blue swimming crab","Pacific sand lance","Pacific sandlance","Goldstripe sardinella"],$t=["American Albino","Abaco Barb","Abtenauer","Abyssinian","Aegidienberger","Akhal-Teke","Albanian Horse","Altai Horse","Altèr Real","American Cream Draft","American Indian Horse","American Paint Horse","American Quarter Horse","American Saddlebred","American Warmblood","Andalusian Horse","Andravida Horse","Anglo-Arabian","Anglo-Arabo-Sardo","Anglo-Kabarda","Appaloosa","AraAppaloosa","Arabian Horse","Ardennes Horse","Arenberg-Nordkirchen","Argentine Criollo","Asian wild Horse","Assateague Horse","Asturcón","Augeron","Australian Brumby","Australian Draught Horse","Australian Stock Horse","Austrian Warmblood","Auvergne Horse","Auxois","Azerbaijan Horse","Azteca Horse","Baise Horse","Bale","Balearic Horse","Balikun Horse","Baluchi Horse","Banker Horse","Barb Horse","Bardigiano","Bashkir Curly","Basque Mountain Horse","Bavarian Warmblood","Belgian Half-blood","Belgian Horse","Belgian Warmblood ","Bhutia Horse","Black Forest Horse","Blazer Horse","Boerperd","Borana","Boulonnais Horse","Brabant","Brandenburger","Brazilian Sport Horse","Breton Horse","Brumby","Budyonny Horse","Burguete Horse","Burmese Horse","Byelorussian Harness Horse","Calabrese Horse","Camargue Horse","Camarillo White Horse","Campeiro","Campolina","Canadian Horse","Canadian Pacer","Carolina Marsh Tacky","Carthusian Horse","Caspian Horse","Castilian Horse","Castillonnais","Catria Horse","Cavallo Romano della Maremma Laziale","Cerbat Mustang","Chickasaw Horse","Chilean Corralero","Choctaw Horse","Cleveland Bay","Clydesdale Horse","Cob","Coldblood Trotter","Colonial Spanish Horse","Colorado Ranger","Comtois Horse","Corsican Horse","Costa Rican Saddle Horse","Cretan Horse","Criollo Horse","Croatian Coldblood","Cuban Criollo","Cumberland Island Horse","Curly Horse","Czech Warmblood","Daliboz","Danish Warmblood","Danube Delta Horse","Dole Gudbrandsdal","Don","Dongola Horse","Draft Trotter","Dutch Harness Horse","Dutch Heavy Draft","Dutch Warmblood","Dzungarian Horse","East Bulgarian","East Friesian Horse","Estonian Draft","Estonian Horse","Falabella","Faroese","Finnhorse","Fjord Horse","Fleuve","Florida Cracker Horse","Foutanké","Frederiksborg Horse","Freiberger","French Trotter","Friesian Cross","Friesian Horse","Friesian Sporthorse","Furioso-North Star","Galiceño","Galician Pony","Gelderland Horse","Georgian Grande Horse","German Warmblood","Giara Horse","Gidran","Groningen Horse","Gypsy Horse","Hackney Horse","Haflinger","Hanoverian Horse","Heck Horse","Heihe Horse","Henson Horse","Hequ Horse","Hirzai","Hispano-Bretón","Holsteiner Horse","Horro","Hungarian Warmblood","Icelandic Horse","Iomud","Irish Draught","Irish Sport Horse sometimes called Irish Hunter","Italian Heavy Draft","Italian Trotter","Jaca Navarra","Jeju Horse","Jutland Horse","Kabarda Horse","Kafa","Kaimanawa Horses","Kalmyk Horse","Karabair","Karabakh Horse","Karachai Horse","Karossier","Kathiawari","Kazakh Horse","Kentucky Mountain Saddle Horse","Kiger Mustang","Kinsky Horse","Kisber Felver","Kiso Horse","Kladruber","Knabstrupper","Konik","Kundudo","Kustanair","Kyrgyz Horse","Latvian Horse","Lipizzan","Lithuanian Heavy Draught","Lokai","Losino Horse","Lusitano","Lyngshest","M'Bayar","M'Par","Mallorquín","Malopolski","Mangalarga","Mangalarga Marchador","Maremmano","Marismeño Horse","Marsh Tacky","Marwari Horse","Mecklenburger","Međimurje Horse","Menorquín","Mérens Horse","Messara Horse","Metis Trotter","Mezőhegyesi Sport Horse","Miniature Horse","Misaki Horse","Missouri Fox Trotter","Monchina","Mongolian Horse","Mongolian Wild Horse","Monterufolino","Morab","Morgan Horse","Mountain Pleasure Horse","Moyle Horse","Murakoz Horse","Murgese","Mustang Horse","Namib Desert Horse","Nangchen Horse","National Show Horse","Nez Perce Horse","Nivernais Horse","Nokota Horse","Noma","Nonius Horse","Nooitgedachter","Nordlandshest","Noriker Horse","Norman Cob","North American Single-Footer Horse","North Swedish Horse","Norwegian Coldblood Trotter","Norwegian Fjord","Novokirghiz","Oberlander Horse","Ogaden","Oldenburg Horse","Orlov trotter","Ostfriesen","Paint","Pampa Horse","Paso Fino","Pentro Horse","Percheron","Persano Horse","Peruvian Paso","Pintabian","Pleven Horse","Poitevin Horse","Posavac Horse","Pottok","Pryor Mountain Mustang","Przewalski's Horse","Pura Raza Española","Purosangue Orientale","Qatgani","Quarab","Quarter Horse","Racking Horse","Retuerta Horse","Rhenish German Coldblood","Rhinelander Horse","Riwoche Horse","Rocky Mountain Horse","Romanian Sporthorse","Rottaler","Russian Don","Russian Heavy Draft","Russian Trotter","Saddlebred","Salerno Horse","Samolaco Horse","San Fratello Horse","Sarcidano Horse","Sardinian Anglo-Arab","Schleswig Coldblood","Schwarzwälder Kaltblut","Selale","Sella Italiano","Selle Français","Shagya Arabian","Shan Horse","Shire Horse","Siciliano Indigeno","Silesian Horse","Sokolsky Horse","Sorraia","South German Coldblood","Soviet Heavy Draft","Spanish Anglo-Arab","Spanish Barb","Spanish Jennet Horse","Spanish Mustang","Spanish Tarpan","Spanish-Norman Horse","Spiti Horse","Spotted Saddle Horse","Standardbred Horse","Suffolk Punch","Swedish Ardennes","Swedish coldblood trotter","Swedish Warmblood","Swiss Warmblood","Taishū Horse","Takhi","Tawleed","Tchernomor","Tennessee Walking Horse","Tersk Horse","Thoroughbred","Tiger Horse","Tinker Horse","Tolfetano","Tori Horse","Trait Du Nord","Trakehner","Tsushima","Tuigpaard","Ukrainian Riding Horse","Unmol Horse","Uzunyayla","Ventasso Horse","Virginia Highlander","Vlaamperd","Vladimir Heavy Draft","Vyatka","Waler","Waler Horse","Walkaloosa","Warlander","Warmblood","Welsh Cob","Westphalian Horse","Wielkopolski","Württemberger","Xilingol Horse","Yakutian Horse","Yili Horse","Yonaguni Horse","Zaniskari","Žemaitukas","Zhemaichu","Zweibrücker"],Ut=["Acacia-ants","Acorn-plum gall","Aerial yellowjacket","Africanized honey bee","Allegheny mound ant","Almond stone wasp","Ant","Arboreal ant","Argentine ant","Asian paper wasp","Baldfaced hornet","Bee","Bigheaded ant","Black and yellow mud dauber","Black carpenter ant","Black imported fire ant","Blue horntail woodwasp","Blue orchard bee","Braconid wasp","Bumble bee","Carpenter ant","Carpenter wasp","Chalcid wasp","Cicada killer","Citrus blackfly parasitoid","Common paper wasp","Crazy ant","Cuckoo wasp","Cynipid gall wasp","Eastern Carpenter bee","Eastern yellowjacket","Elm sawfly","Encyrtid wasp","Erythrina gall wasp","Eulophid wasp","European hornet","European imported fire ant","False honey ant","Fire ant","Forest bachac","Forest yellowjacket","German yellowjacket","Ghost ant","Giant ichneumon wasp","Giant resin bee","Giant wood wasp","Golden northern bumble bee","Golden paper wasp","Gouty oak gall","Grass Carrying Wasp","Great black wasp","Great golden digger wasp","Hackberry nipple gall parasitoid","Honey bee","Horned oak gall","Horse guard wasp","Hunting wasp","Ichneumonid wasp","Keyhole wasp","Knopper gall","Large garden bumble bee","Large oak-apple gall","Leafcutting bee","Little fire ant","Little yellow ant","Long-horned bees","Long-legged ant","Macao paper wasp","Mallow bee","Marble gall","Mossyrose gall wasp","Mud-daubers","Multiflora rose seed chalcid","Oak apple gall wasp","Oak rough bulletgall wasp","Oak saucer gall","Oak shoot sawfly","Odorous house ant","Orange-tailed bumble bee","Orangetailed potter wasp","Oriental chestnut gall wasp","Paper wasp","Pavement ant","Pigeon tremex","Pip gall wasp","Prairie yellowjacket","Pteromalid wasp","Pyramid ant","Raspberry Horntail","Red ant","Red carpenter ant","Red harvester ant","Red imported fire ant","Red wasp","Red wood ant","Red-tailed wasp","Reddish carpenter ant","Rough harvester ant","Sawfly parasitic wasp","Scale parasitoid","Silky ant","Sirex woodwasp","Siricid woodwasp","Smaller yellow ant","Southeastern blueberry bee","Southern fire ant","Southern yellowjacket","Sphecid wasp","Stony gall","Sweat bee","Texas leafcutting ant","Tiphiid wasp","Torymid wasp","Tramp ant","Valentine ant","Velvet ant","Vespid wasp","Weevil parasitoid","Western harvester ant","Western paper wasp","Western thatching ant","Western yellowjacket","White-horned horntail","Willow shoot sawfly","Woodwasp","Wool sower gall maker","Yellow and black potter wasp","Yellow Crazy Ant","Yellow-horned horntail"],Vt=["Asiatic Lion","Barbary Lion","West African Lion","Northeast Congo Lion","Masai Lion","Transvaal lion","Cape lion"],Yt=["American","American Chinchilla","American Fuzzy Lop","American Sable","Argente Brun","Belgian Hare","Beveren","Blanc de Hotot","Britannia Petite","Californian","Champagne D’Argent","Checkered Giant","Cinnamon","Crème D’Argent","Dutch","Dwarf Hotot","English Angora","English Lop","English Spot","Flemish Giant","Florida White","French Angora","French Lop","Giant Angora","Giant Chinchilla","Harlequin","Havana","Himalayan","Holland Lop","Jersey Wooly","Lilac","Lionhead","Mini Lop","Mini Rex","Mini Satin","Netherland Dwarf","New Zealand","Palomino","Polish","Rex","Rhinelander","Satin","Satin Angora","Silver","Silver Fox","Silver Marten","Standard Chinchilla","Tan","Thrianta"],Zt=["Abrocoma","Abrocoma schistacea","Aconaemys","Aconaemys porteri","African brush-tailed porcupine","Andean mountain cavy","Argentine tuco-tuco","Ashy chinchilla rat","Asiatic brush-tailed porcupine","Atherurus","Azara's agouti","Azara's tuco-tuco","Bahia porcupine","Bathyergus","Bathyergus janetta","Bathyergus suillus","Bennett's chinchilla rat","Bicolored-spined porcupine","Black agouti","Black dwarf porcupine","Black-rumped agouti","Black-tailed hairy dwarf porcupine","Bolivian chinchilla rat","Bolivian tuco-tuco","Bonetto's tuco-tuco","Brandt's yellow-toothed cavy","Brazilian guinea pig","Brazilian porcupine","Brazilian tuco-tuco","Bridge's degu","Brown hairy dwarf porcupine","Budin's chinchilla rat, A. budini","Cape porcupine","Catamarca tuco-tuco","Cavia","Central American agouti","Chacoan tuco-tuco","Chilean rock rat","Chinchilla","Coendou","Coiban agouti","Colburn's tuco-tuco","Collared tuco-tuco","Common degu","Common yellow-toothed cavy","Conover's tuco-tuco","Coruro","Crested agouti","Crested porcupine","Cryptomys","Cryptomys bocagei","Cryptomys damarensis","Cryptomys foxi","Cryptomys hottentotus","Cryptomys mechowi","Cryptomys ochraceocinereus","Cryptomys zechi","Ctenomys","Cuniculus","Cuscomys","Cuscomys ashanika","Dactylomys","Dactylomys boliviensis","Dactylomys dactylinus","Dactylomys peruanus","Dasyprocta","Domestic guinea pig","Emily's tuco-tuco","Erethizon","Famatina chinchilla rat","Frosted hairy dwarf porcupine","Fukomys","Fukomys amatus","Fukomys anselli","Fukomys bocagei","Fukomys damarensis","Fukomys darlingi","Fukomys foxi","Fukomys ilariae","Fukomys kafuensis","Fukomys mechowii","Fukomys micklemi","Fukomys occlusus","Fukomys ochraceocinereus","Fukomys whytei","Fukomys zechi","Furtive tuco-tuco","Galea","Georychus","Georychus capensis","Golden viscacha-rat","Goya tuco-tuco","Greater guinea pig","Green acouchi","Haig's tuco-tuco","Heliophobius","Heliophobius argenteocinereus","Heterocephalus","Heterocephalus glaber","Highland tuco-tuco","Hystrix","Indian porcupine","Isla Mocha degu","Kalinowski agouti","Kannabateomys","Kannabateomys amblyonyx","Lagidium","Lagostomus","Lewis' tuco-tuco","Long-tailed chinchilla","Long-tailed porcupine","Los Chalchaleros' viscacha-rat","Lowland paca","Magellanic tuco-tuco","Malayan porcupine","Maule tuco-tuco","Mendoza tuco-tuco","Mexican agouti","Mexican hairy dwarf porcupine","Microcavia","Montane guinea pig","Moon-toothed degu","Mottled tuco-tuco","Mountain degu","Mountain paca","Mountain viscacha-rat","Myoprocta","Natterer's tuco-tuco","North American porcupine","Northern viscacha","Octodon","Octodontomys","Octomys","Olallamys","Olallamys albicauda","Olallamys edax","Orinoco agouti","Paraguaian hairy dwarf porcupine","Pearson's tuco-tuco","Peruvian tuco-tuco","Philippine porcupine","Pipanacoctomys","Plains viscacha","Plains viscacha-rat","Porteous' tuco-tuco","Punta de Vacas chinchilla rat","Red acouchi","Red-rumped agouti","Reddish tuco-tuco","Rio Negro tuco-tuco","Robust tuco-tuco","Roosmalen's dwarf porcupine","Rothschild's porcupine","Ruatan Island agouti","Sage's rock rat","Salinoctomys","Salta tuco-tuco","San Luis tuco-tuco","Santa Catarina's guinea pig","Shiny guinea pig","Shipton's mountain cavy","Short-tailed chinchilla","Silky tuco-tuco","Social tuco-tuco","Southern mountain cavy","Southern tuco-tuco","Southern viscacha","Spalacopus","Spix's yellow-toothed cavy","Steinbach's tuco-tuco","Streaked dwarf porcupine","Strong tuco-tuco","Stump-tailed porcupine","Sumatran porcupine","Sunda porcupine","Talas tuco-tuco","Tawny tuco-tuco","Thick-spined porcupine","Tiny tuco-tuco","Trichys","Tucuman tuco-tuco","Tympanoctomys","Uspallata chinchilla rat","White-toothed tuco-tuco","Wolffsohn's viscacha"],Xt=["Viper Adder","Common adder","Death Adder","Desert death adder","Horned adder","Long-nosed adder","Many-horned adder","Mountain adder","Mud adder","Namaqua dwarf adder","Nightingale adder","Peringuey's adder","Puff adder","African puff adder","Rhombic night adder","Sand adder","Dwarf sand adder","Namib dwarf sand adder","Water adder","Aesculapian snake","Anaconda","Bolivian anaconda","De Schauensee's anaconda","Green anaconda","Yellow anaconda","Arafura file snake","Asp","European asp","Egyptian asp","African beaked snake","Ball Python","Bird snake","Black-headed snake","Mexican black kingsnake","Black rat snake","Black snake","Red-bellied black snake","Blind snake","Brahminy blind snake","Texas blind snake","Western blind snake","Boa","Abaco Island boa","Amazon tree boa","Boa constrictor","Cuban boa","Dumeril's boa","Dwarf boa","Emerald tree boa","Hogg Island boa","Jamaican boa","Madagascar ground boa","Madagascar tree boa","Puerto Rican boa","Rainbow boa","Red-tailed boa","Rosy boa","Rubber boa","Sand boa","Tree boa","Boiga","Boomslang","Brown snake","Eastern brown snake","Bull snake","Bushmaster","Dwarf beaked snake","Rufous beaked snake","Canebrake","Cantil","Cascabel","Cat-eyed snake","Banded cat-eyed snake","Green cat-eyed snake","Cat snake","Andaman cat snake","Beddome's cat snake","Dog-toothed cat snake","Forsten's cat snake","Gold-ringed cat snake","Gray cat snake","Many-spotted cat snake","Tawny cat snake","Chicken snake","Coachwhip snake","Cobra","Andaman cobra","Arabian cobra","Asian cobra","Banded water cobra","Black-necked cobra","Black-necked spitting cobra","Black tree cobra","Burrowing cobra","Cape cobra","Caspian cobra","Congo water cobra","Common cobra","Eastern water cobra","Egyptian cobra","Equatorial spitting cobra","False cobra","False water cobra","Forest cobra","Gold tree cobra","Indian cobra","Indochinese spitting cobra","Javan spitting cobra","King cobra","Mandalay cobra","Mozambique spitting cobra","North Philippine cobra","Nubian spitting cobra","Philippine cobra","Red spitting cobra","Rinkhals cobra","Shield-nosed cobra","Sinai desert cobra","Southern Indonesian spitting cobra","Southern Philippine cobra","Southwestern black spitting cobra","Snouted cobra","Spectacled cobra","Spitting cobra","Storm water cobra","Thai cobra","Taiwan cobra","Zebra spitting cobra","Collett's snake","Congo snake","Copperhead","American copperhead","Australian copperhead","Coral snake","Arizona coral snake","Beddome's coral snake","Brazilian coral snake","Cape coral snake","Harlequin coral snake","High Woods coral snake","Malayan long-glanded coral snake","Texas Coral Snake","Western coral snake","Corn snake","South eastern corn snake","Cottonmouth","Crowned snake","Cuban wood snake","Eastern hognose snake","Egg-eater","Eastern coral snake","Fer-de-lance","Fierce snake","Fishing snake","Flying snake","Golden tree snake","Indian flying snake","Moluccan flying snake","Ornate flying snake","Paradise flying snake","Twin-Barred tree snake","Banded Flying Snake","Fox snake, three species of Pantherophis","Forest flame snake","Garter snake","Checkered garter snake","Common garter snake","San Francisco garter snake","Texas garter snake","Cape gopher snake","Grass snake","Green snake","Rough green snake","Smooth green snake","Ground snake","Common ground snake","Three-lined ground snake","Western ground snake","Habu","Hognose snake","Blonde hognose snake","Dusty hognose snake","Jan's hognose snake","Giant Malagasy hognose snake","Mexican hognose snake","South American hognose snake","Hundred pacer","Ikaheka snake","Indigo snake","Jamaican Tree Snake","Keelback","Asian keelback","Assam keelback","Black-striped keelback","Buff striped keelback","Burmese keelback","Checkered keelback","Common keelback","Hill keelback","Himalayan keelback","Khasi Hills keelback","Modest keelback","Nicobar Island keelback","Nilgiri keelback","Orange-collared keelback","Red-necked keelback","Sikkim keelback","Speckle-bellied keelback","White-lipped keelback","Wynaad keelback","Yunnan keelback","King brown","King snake","California kingsnake","Desert kingsnake","Grey-banded kingsnake","North eastern king snake","Prairie kingsnake","Scarlet kingsnake","Speckled kingsnake","Krait","Banded krait","Blue krait","Black krait","Burmese krait","Ceylon krait","Indian krait","Lesser black krait","Malayan krait","Many-banded krait","Northeastern hill krait","Red-headed krait","Sind krait","Large shield snake","Lancehead","Common lancehead","Lora","Grey Lora","Lyre snake","Baja California lyresnake","Central American lyre snake","Texas lyre snake","Eastern lyre snake","Machete savane","Mamba","Black mamba","Green mamba","Eastern green mamba","Western green mamba","Mamushi","Mangrove snake","Milk snake","Moccasin snake","Montpellier snake","Mud snake","Eastern mud snake","Western mud snake","Mussurana","Night snake","Cat-eyed night snake","Texas night snake","Nichell snake","Narrowhead Garter Snake","Nose-horned viper","Rhinoceros viper","Vipera ammodytes","Parrot snake","Mexican parrot snake","Patchnose snake","Perrotet's shieldtail snake","Pine snake","Pipe snake","Asian pipe snake","Dwarf pipe snake","Red-tailed pipe snake","Python","African rock python","Amethystine python","Angolan python","Australian scrub python","Ball python","Bismarck ringed python","Black headed python","Blood python","Boelen python","Borneo short-tailed python","Bredl's python","Brown water python","Burmese python","Calabar python","Western carpet python","Centralian carpet python","Coastal carpet python","Inland carpet python","Jungle carpet python","New Guinea carpet python","Northwestern carpet python","Southwestern carpet python","Children's python","Dauan Island water python","Desert woma python","Diamond python","Flinders python","Green tree python","Halmahera python","Indian python","Indonesian water python","Macklot's python","Mollucan python","Oenpelli python","Olive python","Papuan python","Pygmy python","Red blood python","Reticulated python","Kayaudi dwarf reticulated python","Selayer reticulated python","Rough-scaled python","Royal python","Savu python","Spotted python","Stimson's python","Sumatran short-tailed python","Tanimbar python","Timor python","Wetar Island python","White-lipped python","Brown white-lipped python","Northern white-lipped python","Southern white-lipped python","Woma python","Western woma python","Queen snake","Racer","Bimini racer","Buttermilk racer","Eastern racer","Eastern yellowbelly sad racer","Mexican racer","Southern black racer","Tan racer","West Indian racer","Raddysnake","Southwestern blackhead snake","Rat snake","Baird's rat snake","Beauty rat snake","Great Plains rat snake","Green rat snake","Japanese forest rat snake","Japanese rat snake","King rat snake","Mandarin rat snake","Persian rat snake","Red-backed rat snake","Twin-spotted rat snake","Yellow-striped rat snake","Manchurian Black Water Snake","Rattlesnake","Arizona black rattlesnake","Aruba rattlesnake","Chihuahuan ridge-nosed rattlesnake","Coronado Island rattlesnake","Durango rock rattlesnake","Dusky pigmy rattlesnake","Eastern diamondback rattlesnake","Grand Canyon rattlesnake","Great Basin rattlesnake","Hopi rattlesnake","Lance-headed rattlesnake","Long-tailed rattlesnake","Massasauga rattlesnake","Mexican green rattlesnake","Mexican west coast rattlesnake","Midget faded rattlesnake","Mojave rattlesnake","Northern black-tailed rattlesnake","Oaxacan small-headed rattlesnake","Rattler","Red diamond rattlesnake","Southern Pacific rattlesnake","Southwestern speckled rattlesnake","Tancitaran dusky rattlesnake","Tiger rattlesnake","Timber rattlesnake","Tropical rattlesnake","Twin-spotted rattlesnake","Uracoan rattlesnake","Western diamondback rattlesnake","Ribbon snake","Rinkhals","River jack","Sea snake","Annulated sea snake","Beaked sea snake","Dubois's sea snake","Hardwicke's sea snake","Hook Nosed Sea Snake","Olive sea snake","Pelagic sea snake","Stoke's sea snake","Yellow-banded sea snake","Yellow-bellied sea snake","Yellow-lipped sea snake","Shield-tailed snake","Sidewinder","Colorado desert sidewinder","Mojave desert sidewinder","Sonoran sidewinder","Small-eyed snake","Smooth snake","Brazilian smooth snake","European smooth snake","Stiletto snake","Striped snake","Japanese striped snake","Sunbeam snake","Taipan","Central ranges taipan","Coastal taipan","Inland taipan","Paupan taipan","Tentacled snake","Tic polonga","Tiger snake","Chappell Island tiger snake","Common tiger snake","Down's tiger snake","Eastern tiger snake","King Island tiger snake","Krefft's tiger snake","Peninsula tiger snake","Tasmanian tiger snake","Western tiger snake","Tigre snake","Tree snake","Blanding's tree snake","Blunt-headed tree snake","Brown tree snake","Long-nosed tree snake","Many-banded tree snake","Northern tree snake","Trinket snake","Black-banded trinket snake","Twig snake","African twig snake","Twin Headed King Snake","Titanboa","Urutu","Vine snake","Asian Vine Snake, Whip Snake","American Vine Snake","Mexican vine snake","Viper","Asp viper","Bamboo viper","Bluntnose viper","Brazilian mud Viper","Burrowing viper","Bush viper","Great Lakes bush viper","Hairy bush viper","Nitsche's bush viper","Rough-scaled bush viper","Spiny bush viper","Carpet viper","Crossed viper","Cyclades blunt-nosed viper","Eyelash viper","False horned viper","Fea's viper","Fifty pacer","Gaboon viper","Hognosed viper","Horned desert viper","Horned viper","Jumping viper","Kaznakov's viper","Leaf-nosed viper","Leaf viper","Levant viper","Long-nosed viper","McMahon's viper","Mole viper","Palestine viper","Pallas' viper","Palm viper","Amazonian palm viper","Black-speckled palm-pitviper","Eyelash palm-pitviper","Green palm viper","Mexican palm-pitviper","Guatemalan palm viper","Honduran palm viper","Siamese palm viper","Side-striped palm-pitviper","Yellow-lined palm viper","Pit viper","Banded pitviper","Bamboo pitviper","Barbour's pit viper","Black-tailed horned pit viper","Bornean pitviper","Brongersma's pitviper","Brown spotted pitviper[4]","Cantor's pitviper","Elegant pitviper","Eyelash pit viper","Fan-Si-Pan horned pitviper","Flat-nosed pitviper","Godman's pit viper","Green tree pit viper","Habu pit viper","Hagen's pitviper","Horseshoe pitviper","Jerdon's pitviper","Kanburian pit viper","Kaulback's lance-headed pitviper","Kham Plateau pitviper","Large-eyed pitviper","Malabar rock pitviper","Malayan pit viper","Mangrove pit viper","Mangshan pitviper","Motuo bamboo pitviper","Nicobar bamboo pitviper","Philippine pitviper","Pointed-scaled pit viper[5]","Red-tailed bamboo pitviper","Schultze's pitviper","Stejneger's bamboo pitviper","Sri Lankan pit viper","Temple pit viper","Tibetan bamboo pitviper","Tiger pit viper","Undulated pit viper","Wagler's pit viper","Wirot's pit viper","Portuguese viper","Saw-scaled viper","Schlegel's viper","Sedge viper","Sharp-nosed viper","Snorkel viper","Temple viper","Tree viper","Chinese tree viper","Guatemalan tree viper","Hutton's tree viper","Indian tree viper","Large-scaled tree viper","Malcolm's tree viper","Nitsche's tree viper","Pope's tree viper","Rough-scaled tree viper","Rungwe tree viper","Sumatran tree viper","White-lipped tree viper","Ursini's viper","Western hog-nosed viper","Wart snake","Water moccasin","Water snake","Bocourt's water snake","Northern water snake","Whip snake","Long-nosed whip snake","Wolf snake","African wolf snake","Barred wolf snake","Worm snake","Common worm snake","Longnosed worm snake","Wutu","Yarara","Zebra snake"],Qt=["dog","cat","snake","bear","lion","cetacean","insect","crocodilia","cow","bird","fish","rabbit","horse"],en={bear:Nt,bird:qt,cat:Gt,cetacean:Wt,cow:_t,crocodilia:Ot,dog:Kt,fish:Jt,horse:$t,insect:Ut,lion:Vt,rabbit:Yt,rodent:Zt,snake:Xt,type:Qt},an=en,tn=["{{person.name}}","{{company.name}}"],nn=["Redhold","Treeflex","Trippledex","Kanlam","Bigtax","Daltfresh","Toughjoyfax","Mat Lam Tam","Otcom","Tres-Zap","Y-Solowarm","Tresom","Voltsillam","Biodex","Greenlam","Viva","Matsoft","Temp","Zoolab","Subin","Rank","Job","Stringtough","Tin","It","Home Ing","Zamit","Sonsing","Konklab","Alpha","Latlux","Voyatouch","Alphazap","Holdlamis","Zaam-Dox","Sub-Ex","Quo Lux","Bamity","Ventosanzap","Lotstring","Hatity","Tempsoft","Overhold","Fixflex","Konklux","Zontrax","Tampflex","Span","Namfix","Transcof","Stim","Fix San","Sonair","Stronghold","Fintone","Y-find","Opela","Lotlux","Ronstring","Zathin","Duobam","Keylex"],on=["0.#.#","0.##","#.##","#.#","#.#.#"],gn={author:tn,name:nn,version:on},sn=gn,un=["###-###-####","(###) ###-####","1-###-###-####","###.###.####"],rn={formats:un},ln=rn,mn=["red","green","blue","yellow","purple","mint green","teal","white","black","orange","pink","grey","maroon","violet","turquoise","tan","sky blue","salmon","plum","orchid","olive","magenta","lime","ivory","indigo","gold","fuchsia","cyan","azure","lavender","silver"],cn={human:mn},pn=cn,dn=["Books","Movies","Music","Games","Electronics","Computers","Home","Garden","Tools","Grocery","Health","Beauty","Toys","Kids","Baby","Clothing","Shoes","Jewelery","Sports","Outdoors","Automotive","Industrial"],hn=["Ergonomic executive chair upholstered in bonded black leather and PVC padded seat and back for all-day comfort and support","The automobile layout consists of a front-engine design, with transaxle-type transmissions mounted at the rear of the engine and four wheel drive","New ABC 13 9370, 13.3, 5th Gen CoreA5-8250U, 8GB RAM, 256GB SSD, power UHD Graphics, OS 10 Home, OS Office A & J 2016","The slim & simple Maple Gaming Keyboard from Dev Byte comes with a sleek body and 7- Color RGB LED Back-lighting for smart functionality","The Apollotech B340 is an affordable wireless mouse with reliable connectivity, 12 months battery life and modern design","The Nagasaki Lander is the trademarked name of several series of Nagasaki sport bikes, that started with the 1984 ABC800J","The Football Is Good For Training And Recreational Purposes","Carbonite web goalkeeper gloves are ergonomically designed to give easy fit","Boston's most advanced compression wear technology increases muscle oxygenation, stabilizes active muscles","New range of formal shirts are designed keeping you in mind. With fits and styling that will make you stand apart","The beautiful range of Apple Naturalé that has an exciting mix of natural ingredients. With the Goodness of 100% Natural Ingredients","Andy shoes are designed to keeping in mind durability as well as trends, the most stylish range of shoes & sandals"],Fn={adjective:["Small","Ergonomic","Electronic","Rustic","Intelligent","Gorgeous","Incredible","Elegant","Fantastic","Practical","Modern","Recycled","Sleek","Bespoke","Awesome","Generic","Handcrafted","Handmade","Oriental","Licensed","Luxurious","Refined","Unbranded","Tasty"],material:["Steel","Bronze","Wooden","Concrete","Plastic","Cotton","Granite","Rubber","Metal","Soft","Fresh","Frozen"],product:["Chair","Car","Computer","Keyboard","Mouse","Bike","Ball","Gloves","Pants","Shirt","Table","Shoes","Hat","Towels","Soap","Tuna","Chicken","Fish","Cheese","Bacon","Pizza","Salad","Sausages","Chips"]},bn={department:dn,product_description:hn,product_name:Fn},kn=bn,yn=["Adaptive","Advanced","Ameliorated","Assimilated","Automated","Balanced","Business-focused","Centralized","Cloned","Compatible","Configurable","Cross-group","Cross-platform","Customer-focused","Customizable","Decentralized","De-engineered","Devolved","Digitized","Distributed","Diverse","Down-sized","Enhanced","Enterprise-wide","Ergonomic","Exclusive","Expanded","Extended","Face to face","Focused","Front-line","Fully-configurable","Function-based","Fundamental","Future-proofed","Grass-roots","Horizontal","Implemented","Innovative","Integrated","Intuitive","Inverse","Managed","Mandatory","Monitored","Multi-channelled","Multi-lateral","Multi-layered","Multi-tiered","Networked","Object-based","Open-architected","Open-source","Operative","Optimized","Optional","Organic","Organized","Persevering","Persistent","Phased","Polarised","Pre-emptive","Proactive","Profit-focused","Profound","Programmable","Progressive","Public-key","Quality-focused","Reactive","Realigned","Re-contextualized","Re-engineered","Reduced","Reverse-engineered","Right-sized","Robust","Seamless","Secured","Self-enabling","Sharable","Stand-alone","Streamlined","Switchable","Synchronised","Synergistic","Synergized","Team-oriented","Total","Triple-buffered","Universal","Up-sized","Upgradable","User-centric","User-friendly","Versatile","Virtual","Visionary","Vision-oriented"],fn=["clicks-and-mortar","value-added","vertical","proactive","robust","revolutionary","scalable","leading-edge","innovative","intuitive","strategic","e-business","mission-critical","sticky","one-to-one","24/7","end-to-end","global","B2B","B2C","granular","frictionless","virtual","viral","dynamic","24/365","best-of-breed","killer","magnetic","bleeding-edge","web-enabled","interactive","dot-com","sexy","back-end","real-time","efficient","front-end","distributed","seamless","extensible","turn-key","world-class","open-source","cross-platform","cross-media","synergistic","bricks-and-clicks","out-of-the-box","enterprise","integrated","impactful","wireless","transparent","next-generation","cutting-edge","user-centric","visionary","customized","ubiquitous","plug-and-play","collaborative","compelling","holistic","rich"],Dn=["synergies","paradigms","markets","partnerships","infrastructures","platforms","initiatives","channels","eyeballs","communities","ROI","solutions","action-items","portals","niches","technologies","content","supply-chains","convergence","relationships","architectures","interfaces","e-markets","e-commerce","systems","bandwidth","models","mindshare","deliverables","users","schemas","networks","applications","metrics","e-business","functionalities","experiences","web services","methodologies","blockchains","lifetime value"],An=["implement","utilize","integrate","streamline","optimize","evolve","transform","embrace","enable","orchestrate","leverage","reinvent","aggregate","architect","enhance","incentivize","morph","empower","envisioneer","monetize","harness","facilitate","seize","disintermediate","synergize","strategize","deploy","brand","grow","target","syndicate","synthesize","deliver","mesh","incubate","engage","maximize","benchmark","expedite","reintermediate","whiteboard","visualize","repurpose","innovate","scale","unleash","drive","extend","engineer","revolutionize","generate","exploit","transition","e-enable","iterate","cultivate","matrix","productize","redefine","recontextualize"],Cn=["24 hour","24/7","3rd generation","4th generation","5th generation","6th generation","actuating","analyzing","asymmetric","asynchronous","attitude-oriented","background","bandwidth-monitored","bi-directional","bifurcated","bottom-line","clear-thinking","client-driven","client-server","coherent","cohesive","composite","context-sensitive","contextually-based","content-based","dedicated","demand-driven","didactic","directional","discrete","disintermediate","dynamic","eco-centric","empowering","encompassing","even-keeled","executive","explicit","exuding","fault-tolerant","foreground","fresh-thinking","full-range","global","grid-enabled","heuristic","high-level","holistic","homogeneous","human-resource","hybrid","impactful","incremental","intangible","interactive","intermediate","leading edge","local","logistical","maximized","methodical","mission-critical","mobile","modular","motivating","multimedia","multi-state","multi-tasking","national","needs-based","neutral","next generation","non-volatile","object-oriented","optimal","optimizing","radical","real-time","reciprocal","regional","responsive","scalable","secondary","solution-oriented","stable","static","systematic","systemic","system-worthy","tangible","tertiary","transitional","uniform","upward-trending","user-facing","value-added","web-enabled","well-modulated","zero administration","zero defect","zero tolerance"],En=["{{person.last_name}} {{company.suffix}}","{{person.last_name}} - {{person.last_name}}","{{person.last_name}}, {{person.last_name}} and {{person.last_name}}"],vn=["ability","access","adapter","algorithm","alliance","analyzer","application","approach","architecture","archive","artificial intelligence","array","attitude","benchmark","budgetary management","capability","capacity","challenge","circuit","collaboration","complexity","concept","conglomeration","contingency","core","customer loyalty","database","data-warehouse","definition","emulation","encoding","encryption","extranet","firmware","flexibility","focus group","forecast","frame","framework","function","functionalities","Graphic Interface","groupware","Graphical User Interface","hardware","help-desk","hierarchy","hub","implementation","info-mediaries","infrastructure","initiative","installation","instruction set","interface","internet solution","intranet","knowledge user","knowledge base","local area network","leverage","matrices","matrix","methodology","middleware","migration","model","moderator","monitoring","moratorium","neural-net","open architecture","open system","orchestration","paradigm","parallelism","policy","portal","pricing structure","process improvement","product","productivity","project","projection","protocol","secured line","service-desk","software","solution","standardization","strategy","structure","success","superstructure","support","synergy","system engine","task-force","throughput","time-frame","toolset","utilisation","website","workforce"],wn=["Inc","and Sons","LLC","Group"],jn={adjective:yn,buzz_adjective:fn,buzz_noun:Dn,buzz_verb:An,descriptor:Cn,name_pattern:En,noun:vn,suffix:wn},Bn=jn,Sn=["id","title","name","email","phone","token","group","category","password","comment","avatar","status","createdAt","updatedAt"],Mn={column:Sn},xn=Mn,Tn={wide:["January","February","March","April","May","June","July","August","September","October","November","December"],abbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]},Rn={wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],abbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},Ln={month:Tn,weekday:Rn},Pn=Ln,Hn=["Checking","Savings","Money Market","Investment","Home Loan","Credit Card","Auto Loan","Personal Loan"],zn=["34##-######-####L","37##-######-####L"],In=["30[0-5]#-######-###L","36##-######-###L","54##-####-####-###L"],Nn=["6011-####-####-###L","65##-####-####-###L","64[4-9]#-####-####-###L","6011-62##-####-####-###L","65##-62##-####-####-###L","64[4-9]#-62##-####-####-###L"],qn=["3528-####-####-###L","3529-####-####-###L","35[3-8]#-####-####-###L"],Gn=["5018-#{4}-#{4}-#{3}L","5020-#{4}-#{4}-#{3}L","5038-#{4}-#{4}-#{3}L","5893-#{4}-#{4}-#{3}L","6304-#{4}-#{4}-#{3}L","6759-#{4}-#{4}-#{3}L","676[1-3]-####-####-###L","5018#{11,15}L","5020#{11,15}L","5038#{11,15}L","5893#{11,15}L","6304#{11,15}L","6759#{11,15}L","676[1-3]#{11,15}L"],Wn=["5[1-5]##-####-####-###L","2[221-720]-####-####-###L"],_n=["4###########L","4###-####-####-###L"],On={american_express:zn,diners_club:In,discover:Nn,jcb:qn,maestro:Gn,mastercard:Wn,visa:_n},Kn=On,Jn=[{name:"UAE Dirham",code:"AED",symbol:""},{name:"Afghani",code:"AFN",symbol:"؋"},{name:"Lek",code:"ALL",symbol:"Lek"},{name:"Armenian Dram",code:"AMD",symbol:""},{name:"Netherlands Antillian Guilder",code:"ANG",symbol:"ƒ"},{name:"Kwanza",code:"AOA",symbol:""},{name:"Argentine Peso",code:"ARS",symbol:"$"},{name:"Australian Dollar",code:"AUD",symbol:"$"},{name:"Aruban Guilder",code:"AWG",symbol:"ƒ"},{name:"Azerbaijanian Manat",code:"AZN",symbol:"ман"},{name:"Convertible Marks",code:"BAM",symbol:"KM"},{name:"Barbados Dollar",code:"BBD",symbol:"$"},{name:"Taka",code:"BDT",symbol:""},{name:"Bulgarian Lev",code:"BGN",symbol:"лв"},{name:"Bahraini Dinar",code:"BHD",symbol:""},{name:"Burundi Franc",code:"BIF",symbol:""},{name:"Bermudian Dollar (customarily known as Bermuda Dollar)",code:"BMD",symbol:"$"},{name:"Brunei Dollar",code:"BND",symbol:"$"},{name:"Boliviano boliviano",code:"BOB",symbol:"Bs"},{name:"Brazilian Real",code:"BRL",symbol:"R$"},{name:"Bahamian Dollar",code:"BSD",symbol:"$"},{name:"Pula",code:"BWP",symbol:"P"},{name:"Belarusian Ruble",code:"BYN",symbol:"Rbl"},{name:"Belize Dollar",code:"BZD",symbol:"BZ$"},{name:"Canadian Dollar",code:"CAD",symbol:"$"},{name:"Congolese Franc",code:"CDF",symbol:""},{name:"Swiss Franc",code:"CHF",symbol:"CHF"},{name:"Chilean Peso",code:"CLP",symbol:"$"},{name:"Yuan Renminbi",code:"CNY",symbol:"¥"},{name:"Colombian Peso",code:"COP",symbol:"$"},{name:"Costa Rican Colon",code:"CRC",symbol:"₡"},{name:"Cuban Peso",code:"CUP",symbol:"₱"},{name:"Cape Verde Escudo",code:"CVE",symbol:""},{name:"Czech Koruna",code:"CZK",symbol:"Kč"},{name:"Djibouti Franc",code:"DJF",symbol:""},{name:"Danish Krone",code:"DKK",symbol:"kr"},{name:"Dominican Peso",code:"DOP",symbol:"RD$"},{name:"Algerian Dinar",code:"DZD",symbol:""},{name:"Egyptian Pound",code:"EGP",symbol:"£"},{name:"Nakfa",code:"ERN",symbol:""},{name:"Ethiopian Birr",code:"ETB",symbol:""},{name:"Euro",code:"EUR",symbol:"€"},{name:"Fiji Dollar",code:"FJD",symbol:"$"},{name:"Falkland Islands Pound",code:"FKP",symbol:"£"},{name:"Pound Sterling",code:"GBP",symbol:"£"},{name:"Lari",code:"GEL",symbol:""},{name:"Cedi",code:"GHS",symbol:""},{name:"Gibraltar Pound",code:"GIP",symbol:"£"},{name:"Dalasi",code:"GMD",symbol:""},{name:"Guinea Franc",code:"GNF",symbol:""},{name:"Quetzal",code:"GTQ",symbol:"Q"},{name:"Guyana Dollar",code:"GYD",symbol:"$"},{name:"Hong Kong Dollar",code:"HKD",symbol:"$"},{name:"Lempira",code:"HNL",symbol:"L"},{name:"Gourde",code:"HTG",symbol:""},{name:"Forint",code:"HUF",symbol:"Ft"},{name:"Rupiah",code:"IDR",symbol:"Rp"},{name:"New Israeli Sheqel",code:"ILS",symbol:"₪"},{name:"Bhutanese Ngultrum",code:"BTN",symbol:"Nu"},{name:"Indian Rupee",code:"INR",symbol:"₹"},{name:"Iraqi Dinar",code:"IQD",symbol:""},{name:"Iranian Rial",code:"IRR",symbol:"﷼"},{name:"Iceland Krona",code:"ISK",symbol:"kr"},{name:"Jamaican Dollar",code:"JMD",symbol:"J$"},{name:"Jordanian Dinar",code:"JOD",symbol:""},{name:"Yen",code:"JPY",symbol:"¥"},{name:"Kenyan Shilling",code:"KES",symbol:""},{name:"Som",code:"KGS",symbol:"лв"},{name:"Riel",code:"KHR",symbol:"៛"},{name:"Comoro Franc",code:"KMF",symbol:""},{name:"North Korean Won",code:"KPW",symbol:"₩"},{name:"Won",code:"KRW",symbol:"₩"},{name:"Kuwaiti Dinar",code:"KWD",symbol:""},{name:"Cayman Islands Dollar",code:"KYD",symbol:"$"},{name:"Tenge",code:"KZT",symbol:"лв"},{name:"Kip",code:"LAK",symbol:"₭"},{name:"Lebanese Pound",code:"LBP",symbol:"£"},{name:"Sri Lanka Rupee",code:"LKR",symbol:"₨"},{name:"Liberian Dollar",code:"LRD",symbol:"$"},{name:"Libyan Dinar",code:"LYD",symbol:""},{name:"Moroccan Dirham",code:"MAD",symbol:""},{name:"Moldovan Leu",code:"MDL",symbol:""},{name:"Malagasy Ariary",code:"MGA",symbol:""},{name:"Denar",code:"MKD",symbol:"ден"},{name:"Kyat",code:"MMK",symbol:""},{name:"Tugrik",code:"MNT",symbol:"₮"},{name:"Pataca",code:"MOP",symbol:""},{name:"Ouguiya",code:"MRU",symbol:""},{name:"Mauritius Rupee",code:"MUR",symbol:"₨"},{name:"Rufiyaa",code:"MVR",symbol:""},{name:"Kwacha",code:"MWK",symbol:""},{name:"Mexican Peso",code:"MXN",symbol:"$"},{name:"Malaysian Ringgit",code:"MYR",symbol:"RM"},{name:"Metical",code:"MZN",symbol:"MT"},{name:"Naira",code:"NGN",symbol:"₦"},{name:"Cordoba Oro",code:"NIO",symbol:"C$"},{name:"Norwegian Krone",code:"NOK",symbol:"kr"},{name:"Nepalese Rupee",code:"NPR",symbol:"₨"},{name:"New Zealand Dollar",code:"NZD",symbol:"$"},{name:"Rial Omani",code:"OMR",symbol:"﷼"},{name:"Balboa",code:"PAB",symbol:"B/."},{name:"Nuevo Sol",code:"PEN",symbol:"S/."},{name:"Kina",code:"PGK",symbol:""},{name:"Philippine Peso",code:"PHP",symbol:"Php"},{name:"Pakistan Rupee",code:"PKR",symbol:"₨"},{name:"Zloty",code:"PLN",symbol:"zł"},{name:"Guarani",code:"PYG",symbol:"Gs"},{name:"Qatari Rial",code:"QAR",symbol:"﷼"},{name:"New Leu",code:"RON",symbol:"lei"},{name:"Serbian Dinar",code:"RSD",symbol:"Дин."},{name:"Russian Ruble",code:"RUB",symbol:"руб"},{name:"Rwanda Franc",code:"RWF",symbol:""},{name:"Saudi Riyal",code:"SAR",symbol:"﷼"},{name:"Solomon Islands Dollar",code:"SBD",symbol:"$"},{name:"Seychelles Rupee",code:"SCR",symbol:"₨"},{name:"Sudanese Pound",code:"SDG",symbol:""},{name:"Swedish Krona",code:"SEK",symbol:"kr"},{name:"Singapore Dollar",code:"SGD",symbol:"$"},{name:"Saint Helena Pound",code:"SHP",symbol:"£"},{name:"Leone",code:"SLE",symbol:""},{name:"Somali Shilling",code:"SOS",symbol:"S"},{name:"Surinam Dollar",code:"SRD",symbol:"$"},{name:"South Sudanese pound",code:"SSP",symbol:""},{name:"Dobra",code:"STN",symbol:"Db"},{name:"Syrian Pound",code:"SYP",symbol:"£"},{name:"Lilangeni",code:"SZL",symbol:""},{name:"Baht",code:"THB",symbol:"฿"},{name:"Somoni",code:"TJS",symbol:""},{name:"Manat",code:"TMT",symbol:""},{name:"Tunisian Dinar",code:"TND",symbol:""},{name:"Pa'anga",code:"TOP",symbol:""},{name:"Turkish Lira",code:"TRY",symbol:"₺"},{name:"Trinidad and Tobago Dollar",code:"TTD",symbol:"TT$"},{name:"New Taiwan Dollar",code:"TWD",symbol:"NT$"},{name:"Tanzanian Shilling",code:"TZS",symbol:""},{name:"Hryvnia",code:"UAH",symbol:"₴"},{name:"Uganda Shilling",code:"UGX",symbol:""},{name:"US Dollar",code:"USD",symbol:"$"},{name:"Peso Uruguayo",code:"UYU",symbol:"$U"},{name:"Uzbekistan Sum",code:"UZS",symbol:"лв"},{name:"Venezuelan bolívar",code:"VES",symbol:"Bs"},{name:"Dong",code:"VND",symbol:"₫"},{name:"Vatu",code:"VUV",symbol:""},{name:"Tala",code:"WST",symbol:""},{name:"CFA Franc BEAC",code:"XAF",symbol:""},{name:"East Caribbean Dollar",code:"XCD",symbol:"$"},{name:"CFA Franc BCEAO",code:"XOF",symbol:""},{name:"CFP Franc",code:"XPF",symbol:""},{name:"Yemeni Rial",code:"YER",symbol:"﷼"},{name:"Rand",code:"ZAR",symbol:"R"},{name:"Lesotho Loti",code:"LSL",symbol:""},{name:"Namibia Dollar",code:"NAD",symbol:"N$"},{name:"Zambian Kwacha",code:"ZMW",symbol:"K"},{name:"Zimbabwe Dollar",code:"ZWL",symbol:""}],$n=["deposit","withdrawal","payment","invoice"],Un={account_type:Hn,credit_card:Kn,currency:Jn,transaction_type:$n},Vn=Un,Yn=["auxiliary","primary","back-end","digital","open-source","virtual","cross-platform","redundant","online","haptic","multi-byte","bluetooth","wireless","1080p","neural","optical","solid state","mobile"],Zn=["backing up","bypassing","hacking","overriding","compressing","copying","navigating","indexing","connecting","generating","quantifying","calculating","synthesizing","transmitting","programming","parsing"],Xn=["driver","protocol","bandwidth","panel","microchip","program","port","card","array","interface","system","sensor","firewall","hard drive","pixel","alarm","feed","monitor","application","transmitter","bus","circuit","capacitor","matrix"],Qn=["If we {{verb}} the {{noun}}, we can get to the {{abbreviation}} {{noun}} through the {{adjective}} {{abbreviation}} {{noun}}!","We need to {{verb}} the {{adjective}} {{abbreviation}} {{noun}}!","Try to {{verb}} the {{abbreviation}} {{noun}}, maybe it will {{verb}} the {{adjective}} {{noun}}!","You can't {{verb}} the {{noun}} without {{ingverb}} the {{adjective}} {{abbreviation}} {{noun}}!","Use the {{adjective}} {{abbreviation}} {{noun}}, then you can {{verb}} the {{adjective}} {{noun}}!","The {{abbreviation}} {{noun}} is down, {{verb}} the {{adjective}} {{noun}} so we can {{verb}} the {{abbreviation}} {{noun}}!","{{ingverb}} the {{noun}} won't do anything, we need to {{verb}} the {{adjective}} {{abbreviation}} {{noun}}!","I'll {{verb}} the {{adjective}} {{abbreviation}} {{noun}}, that should {{noun}} the {{abbreviation}} {{noun}}!"],eo=["back up","bypass","hack","override","compress","copy","navigate","index","connect","generate","quantify","calculate","synthesize","input","transmit","program","reboot","parse"],ao={adjective:Yn,ingverb:Zn,noun:Xn,phrase:Qn,verb:eo},io=ao,to=["com","biz","info","name","net","org"],no=["example.org","example.com","example.net"],oo=["gmail.com","yahoo.com","hotmail.com"],go={domain_suffix:to,example_email:no,free_email:oo},so=go,uo=["#####","####","###"],ro=["Abilene","Akron","Alafaya","Alameda","Albany","Albuquerque","Alexandria","Alhambra","Aliso Viejo","Allen","Allentown","Aloha","Alpharetta","Altadena","Altamonte Springs","Altoona","Amarillo","Ames","Anaheim","Anchorage","Anderson","Ankeny","Ann Arbor","Annandale","Antelope","Antioch","Apex","Apopka","Apple Valley","Appleton","Arcadia","Arden-Arcade","Arecibo","Arlington","Arlington Heights","Arvada","Ashburn","Asheville","Aspen Hill","Atascocita","Athens-Clarke County","Atlanta","Attleboro","Auburn","Augusta-Richmond County","Aurora","Austin","Avondale","Azusa","Bakersfield","Baldwin Park","Baltimore","Barnstable Town","Bartlett","Baton Rouge","Battle Creek","Bayamon","Bayonne","Baytown","Beaumont","Beavercreek","Beaverton","Bedford","Bel Air South","Bell Gardens","Belleville","Bellevue","Bellflower","Bellingham","Bend","Bentonville","Berkeley","Berwyn","Bethesda","Bethlehem","Billings","Biloxi","Binghamton","Birmingham","Bismarck","Blacksburg","Blaine","Bloomington","Blue Springs","Boca Raton","Boise City","Bolingbrook","Bonita Springs","Bossier City","Boston","Bothell","Boulder","Bountiful","Bowie","Bowling Green","Boynton Beach","Bozeman","Bradenton","Brandon","Brentwood","Bridgeport","Bristol","Brockton","Broken Arrow","Brookhaven","Brookline","Brooklyn Park","Broomfield","Brownsville","Bryan","Buckeye","Buena Park","Buffalo","Buffalo Grove","Burbank","Burien","Burke","Burleson","Burlington","Burnsville","Caguas","Caldwell","Camarillo","Cambridge","Camden","Canton","Cape Coral","Carlsbad","Carmel","Carmichael","Carolina","Carrollton","Carson","Carson City","Cary","Casa Grande","Casas Adobes","Casper","Castle Rock","Castro Valley","Catalina Foothills","Cathedral City","Catonsville","Cedar Hill","Cedar Park","Cedar Rapids","Centennial","Centreville","Ceres","Cerritos","Champaign","Chandler","Chapel Hill","Charleston","Charlotte","Charlottesville","Chattanooga","Cheektowaga","Chesapeake","Chesterfield","Cheyenne","Chicago","Chico","Chicopee","Chino","Chino Hills","Chula Vista","Cicero","Cincinnati","Citrus Heights","Clarksville","Clearwater","Cleveland","Cleveland Heights","Clifton","Clovis","Coachella","Coconut Creek","Coeur d'Alene","College Station","Collierville","Colorado Springs","Colton","Columbia","Columbus","Commerce City","Compton","Concord","Conroe","Conway","Coon Rapids","Coral Gables","Coral Springs","Corona","Corpus Christi","Corvallis","Costa Mesa","Council Bluffs","Country Club","Covina","Cranston","Cupertino","Cutler Bay","Cuyahoga Falls","Cypress","Dale City","Dallas","Daly City","Danbury","Danville","Davenport","Davie","Davis","Dayton","Daytona Beach","DeKalb","DeSoto","Dearborn","Dearborn Heights","Decatur","Deerfield Beach","Delano","Delray Beach","Deltona","Denton","Denver","Des Moines","Des Plaines","Detroit","Diamond Bar","Doral","Dothan","Downers Grove","Downey","Draper","Dublin","Dubuque","Duluth","Dundalk","Dunwoody","Durham","Eagan","East Hartford","East Honolulu","East Lansing","East Los Angeles","East Orange","East Providence","Eastvale","Eau Claire","Eden Prairie","Edina","Edinburg","Edmond","El Cajon","El Centro","El Dorado Hills","El Monte","El Paso","Elgin","Elizabeth","Elk Grove","Elkhart","Ellicott City","Elmhurst","Elyria","Encinitas","Enid","Enterprise","Erie","Escondido","Euclid","Eugene","Euless","Evanston","Evansville","Everett","Fairfield","Fall River","Fargo","Farmington","Farmington Hills","Fayetteville","Federal Way","Findlay","Fishers","Flagstaff","Flint","Florence-Graham","Florin","Florissant","Flower Mound","Folsom","Fond du Lac","Fontana","Fort Collins","Fort Lauderdale","Fort Myers","Fort Pierce","Fort Smith","Fort Wayne","Fort Worth","Fountain Valley","Fountainebleau","Framingham","Franklin","Frederick","Freeport","Fremont","Fresno","Frisco","Fullerton","Gainesville","Gaithersburg","Galveston","Garden Grove","Gardena","Garland","Gary","Gastonia","Georgetown","Germantown","Gilbert","Gilroy","Glen Burnie","Glendale","Glendora","Glenview","Goodyear","Grand Forks","Grand Island","Grand Junction","Grand Prairie","Grand Rapids","Grapevine","Great Falls","Greeley","Green Bay","Greensboro","Greenville","Greenwood","Gresham","Guaynabo","Gulfport","Hacienda Heights","Hackensack","Haltom City","Hamilton","Hammond","Hampton","Hanford","Harlingen","Harrisburg","Harrisonburg","Hartford","Hattiesburg","Haverhill","Hawthorne","Hayward","Hemet","Hempstead","Henderson","Hendersonville","Hesperia","Hialeah","Hicksville","High Point","Highland","Highlands Ranch","Hillsboro","Hilo","Hoboken","Hoffman Estates","Hollywood","Homestead","Honolulu","Hoover","Houston","Huntersville","Huntington","Huntington Beach","Huntington Park","Huntsville","Hutchinson","Idaho Falls","Independence","Indianapolis","Indio","Inglewood","Iowa City","Irondequoit","Irvine","Irving","Jackson","Jacksonville","Janesville","Jefferson City","Jeffersonville","Jersey City","Johns Creek","Johnson City","Joliet","Jonesboro","Joplin","Jupiter","Jurupa Valley","Kalamazoo","Kannapolis","Kansas City","Kearny","Keller","Kendale Lakes","Kendall","Kenner","Kennewick","Kenosha","Kent","Kentwood","Kettering","Killeen","Kingsport","Kirkland","Kissimmee","Knoxville","Kokomo","La Crosse","La Habra","La Mesa","La Mirada","Lacey","Lafayette","Laguna Niguel","Lake Charles","Lake Elsinore","Lake Forest","Lake Havasu City","Lake Ridge","Lakeland","Lakeville","Lakewood","Lancaster","Lansing","Laredo","Largo","Las Cruces","Las Vegas","Lauderhill","Lawrence","Lawton","Layton","League City","Lee's Summit","Leesburg","Lehi","Lehigh Acres","Lenexa","Levittown","Lewisville","Lexington-Fayette","Lincoln","Linden","Little Rock","Littleton","Livermore","Livonia","Lodi","Logan","Lombard","Lompoc","Long Beach","Longmont","Longview","Lorain","Los Angeles","Louisville/Jefferson County","Loveland","Lowell","Lubbock","Lynchburg","Lynn","Lynwood","Macon-Bibb County","Madera","Madison","Malden","Manchester","Manhattan","Mansfield","Manteca","Maple Grove","Margate","Maricopa","Marietta","Marysville","Mayaguez","McAllen","McKinney","McLean","Medford","Melbourne","Memphis","Menifee","Mentor","Merced","Meriden","Meridian","Mesa","Mesquite","Metairie","Methuen Town","Miami","Miami Beach","Miami Gardens","Middletown","Midland","Midwest City","Milford","Millcreek","Milpitas","Milwaukee","Minneapolis","Minnetonka","Minot","Miramar","Mishawaka","Mission","Mission Viejo","Missoula","Missouri City","Mobile","Modesto","Moline","Monroe","Montebello","Monterey Park","Montgomery","Moore","Moreno Valley","Morgan Hill","Mount Pleasant","Mount Prospect","Mount Vernon","Mountain View","Muncie","Murfreesboro","Murray","Murrieta","Nampa","Napa","Naperville","Nashua","Nashville-Davidson","National City","New Bedford","New Braunfels","New Britain","New Brunswick","New Haven","New Orleans","New Rochelle","New York","Newark","Newport Beach","Newport News","Newton","Niagara Falls","Noblesville","Norfolk","Normal","Norman","North Bethesda","North Charleston","North Highlands","North Las Vegas","North Lauderdale","North Little Rock","North Miami","North Miami Beach","North Port","North Richland Hills","Norwalk","Novato","Novi","O'Fallon","Oak Lawn","Oak Park","Oakland","Oakland Park","Ocala","Oceanside","Odessa","Ogden","Oklahoma City","Olathe","Olympia","Omaha","Ontario","Orange","Orem","Orland Park","Orlando","Oro Valley","Oshkosh","Overland Park","Owensboro","Oxnard","Palatine","Palm Bay","Palm Beach Gardens","Palm Coast","Palm Desert","Palm Harbor","Palm Springs","Palmdale","Palo Alto","Paradise","Paramount","Parker","Parma","Pasadena","Pasco","Passaic","Paterson","Pawtucket","Peabody","Pearl City","Pearland","Pembroke Pines","Pensacola","Peoria","Perris","Perth Amboy","Petaluma","Pflugerville","Pharr","Philadelphia","Phoenix","Pico Rivera","Pine Bluff","Pine Hills","Pinellas Park","Pittsburg","Pittsburgh","Pittsfield","Placentia","Plainfield","Plano","Plantation","Pleasanton","Plymouth","Pocatello","Poinciana","Pomona","Pompano Beach","Ponce","Pontiac","Port Arthur","Port Charlotte","Port Orange","Port St. Lucie","Portage","Porterville","Portland","Portsmouth","Potomac","Poway","Providence","Provo","Pueblo","Quincy","Racine","Raleigh","Rancho Cordova","Rancho Cucamonga","Rancho Palos Verdes","Rancho Santa Margarita","Rapid City","Reading","Redding","Redlands","Redmond","Redondo Beach","Redwood City","Reno","Renton","Reston","Revere","Rialto","Richardson","Richland","Richmond","Rio Rancho","Riverside","Riverton","Riverview","Roanoke","Rochester","Rochester Hills","Rock Hill","Rockford","Rocklin","Rockville","Rockwall","Rocky Mount","Rogers","Rohnert Park","Rosemead","Roseville","Roswell","Round Rock","Rowland Heights","Rowlett","Royal Oak","Sacramento","Saginaw","Salem","Salina","Salinas","Salt Lake City","Sammamish","San Angelo","San Antonio","San Bernardino","San Bruno","San Buenaventura (Ventura)","San Clemente","San Diego","San Francisco","San Jacinto","San Jose","San Juan","San Leandro","San Luis Obispo","San Marcos","San Mateo","San Rafael","San Ramon","San Tan Valley","Sandy","Sandy Springs","Sanford","Santa Ana","Santa Barbara","Santa Clara","Santa Clarita","Santa Cruz","Santa Fe","Santa Maria","Santa Monica","Santa Rosa","Santee","Sarasota","Savannah","Sayreville","Schaumburg","Schenectady","Scottsdale","Scranton","Seattle","Severn","Shawnee","Sheboygan","Shoreline","Shreveport","Sierra Vista","Silver Spring","Simi Valley","Sioux City","Sioux Falls","Skokie","Smyrna","Somerville","South Bend","South Gate","South Hill","South Jordan","South San Francisco","South Valley","South Whittier","Southaven","Southfield","Sparks","Spokane","Spokane Valley","Spring","Spring Hill","Spring Valley","Springdale","Springfield","St. Charles","St. Clair Shores","St. Cloud","St. George","St. Joseph","St. Louis","St. Louis Park","St. Paul","St. Peters","St. Petersburg","Stamford","State College","Sterling Heights","Stillwater","Stockton","Stratford","Strongsville","Suffolk","Sugar Land","Summerville","Sunnyvale","Sunrise","Sunrise Manor","Surprise","Syracuse","Tacoma","Tallahassee","Tamarac","Tamiami","Tampa","Taunton","Taylor","Taylorsville","Temecula","Tempe","Temple","Terre Haute","Texas City","The Hammocks","The Villages","The Woodlands","Thornton","Thousand Oaks","Tigard","Tinley Park","Titusville","Toledo","Toms River","Tonawanda","Topeka","Torrance","Town 'n' Country","Towson","Tracy","Trenton","Troy","Trujillo Alto","Tuckahoe","Tucson","Tulare","Tulsa","Turlock","Tuscaloosa","Tustin","Twin Falls","Tyler","Union City","University","Upland","Urbana","Urbandale","Utica","Vacaville","Valdosta","Vallejo","Vancouver","Victoria","Victorville","Vineland","Virginia Beach","Visalia","Vista","Waco","Waipahu","Waldorf","Walnut Creek","Waltham","Warner Robins","Warren","Warwick","Washington","Waterbury","Waterloo","Watsonville","Waukegan","Waukesha","Wauwatosa","Wellington","Wesley Chapel","West Allis","West Babylon","West Covina","West Des Moines","West Hartford","West Haven","West Jordan","West Lafayette","West New York","West Palm Beach","West Sacramento","West Seneca","West Valley City","Westfield","Westland","Westminster","Weston","Weymouth Town","Wheaton","White Plains","Whittier","Wichita","Wichita Falls","Wilmington","Wilson","Winston-Salem","Woodbury","Woodland","Worcester","Wylie","Wyoming","Yakima","Yonkers","Yorba Linda","York","Youngstown","Yuba City","Yucaipa","Yuma"],lo=["{{location.city_prefix}} {{person.first_name}}{{location.city_suffix}}","{{location.city_prefix}} {{person.first_name}}","{{person.first_name}}{{location.city_suffix}}","{{person.last_name}}{{location.city_suffix}}","{{location.city_name}}"],mo=["North","East","West","South","New","Lake","Port","Fort"],co=["town","ton","land","ville","berg","burgh","boro","borough","bury","view","port","mouth","stad","stead","furt","chester","cester","fort","field","haven","side","shire","worth"],po=["Afghanistan","Aland Islands","Albania","Algeria","American Samoa","Andorra","Angola","Anguilla","Antarctica","Antigua and Barbuda","Argentina","Armenia","Aruba","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bermuda","Bhutan","Bolivia","Bonaire, Sint Eustatius and Saba","Bosnia and Herzegovina","Botswana","Bouvet Island","Brazil","British Indian Ocean Territory (Chagos Archipelago)","Brunei Darussalam","Bulgaria","Burkina Faso","Burundi","Cambodia","Cameroon","Canada","Cape Verde","Cayman Islands","Central African Republic","Chad","Chile","China","Christmas Island","Cocos (Keeling) Islands","Colombia","Comoros","Congo","Cook Islands","Costa Rica","Cote d'Ivoire","Croatia","Cuba","Curacao","Cyprus","Czechia","Democratic Republic of the Congo","Denmark","Djibouti","Dominica","Dominican Republic","Ecuador","Egypt","El Salvador","Equatorial Guinea","Eritrea","Estonia","Eswatini","Ethiopia","Faroe Islands","Falkland Islands (Malvinas)","Fiji","Finland","France","French Guiana","French Polynesia","French Southern Territories","Gabon","Gambia","Georgia","Germany","Ghana","Gibraltar","Greece","Greenland","Grenada","Guadeloupe","Guam","Guatemala","Guernsey","Guinea","Guinea-Bissau","Guyana","Haiti","Heard Island and McDonald Islands","Holy See (Vatican City State)","Honduras","Hong Kong","Hungary","Iceland","India","Indonesia","Iran","Iraq","Ireland","Isle of Man","Israel","Italy","Jamaica","Japan","Jersey","Jordan","Kazakhstan","Kenya","Kiribati","Democratic People's Republic of Korea","Republic of Korea","Kuwait","Kyrgyz Republic","Lao People's Democratic Republic","Latvia","Lebanon","Lesotho","Liberia","Libyan Arab Jamahiriya","Liechtenstein","Lithuania","Luxembourg","Macao","Madagascar","Malawi","Malaysia","Maldives","Mali","Malta","Marshall Islands","Martinique","Mauritania","Mauritius","Mayotte","Mexico","Micronesia","Moldova","Monaco","Mongolia","Montenegro","Montserrat","Morocco","Mozambique","Myanmar","Namibia","Nauru","Nepal","Netherlands","New Caledonia","New Zealand","Nicaragua","Niger","Nigeria","Niue","Norfolk Island","North Macedonia","Northern Mariana Islands","Norway","Oman","Pakistan","Palau","Palestine","Panama","Papua New Guinea","Paraguay","Peru","Philippines","Pitcairn Islands","Poland","Portugal","Puerto Rico","Qatar","Reunion","Romania","Russian Federation","Rwanda","Saint Barthelemy","Saint Helena","Saint Kitts and Nevis","Saint Lucia","Saint Martin","Saint Pierre and Miquelon","Saint Vincent and the Grenadines","Samoa","San Marino","Sao Tome and Principe","Saudi Arabia","Senegal","Serbia","Seychelles","Sierra Leone","Singapore","Sint Maarten","Slovakia","Slovenia","Solomon Islands","Somalia","South Africa","South Georgia and the South Sandwich Islands","South Sudan","Spain","Sri Lanka","Sudan","Suriname","Svalbard & Jan Mayen Islands","Sweden","Switzerland","Syrian Arab Republic","Taiwan","Tajikistan","Tanzania","Thailand","Timor-Leste","Togo","Tokelau","Tonga","Trinidad and Tobago","Tunisia","Turkey","Turkmenistan","Turks and Caicos Islands","Tuvalu","Uganda","Ukraine","United Arab Emirates","United Kingdom","United States of America","United States Minor Outlying Islands","Uruguay","Uzbekistan","Vanuatu","Venezuela","Vietnam","Virgin Islands, British","Virgin Islands, U.S.","Wallis and Futuna","Western Sahara","Yemen","Zambia","Zimbabwe"],ho=["Adams County","Calhoun County","Carroll County","Clark County","Clay County","Crawford County","Douglas County","Fayette County","Franklin County","Grant County","Greene County","Hamilton County","Hancock County","Henry County","Jackson County","Jefferson County","Johnson County","Lake County","Lawrence County","Lee County","Lincoln County","Logan County","Madison County","Marion County","Marshall County","Monroe County","Montgomery County","Morgan County","Perry County","Pike County","Polk County","Scott County","Union County","Warren County","Washington County","Wayne County","Avon","Bedfordshire","Berkshire","Borders","Buckinghamshire","Cambridgeshire","Central","Cheshire","Cleveland","Clwyd","Cornwall","County Antrim","County Armagh","County Down","County Fermanagh","County Londonderry","County Tyrone","Cumbria","Derbyshire","Devon","Dorset","Dumfries and Galloway","Durham","Dyfed","East Sussex","Essex","Fife","Gloucestershire","Grampian","Greater Manchester","Gwent","Gwynedd County","Hampshire","Herefordshire","Hertfordshire","Highlands and Islands","Humberside","Isle of Wight","Kent","Lancashire","Leicestershire","Lincolnshire","Lothian","Merseyside","Mid Glamorgan","Norfolk","North Yorkshire","Northamptonshire","Northumberland","Nottinghamshire","Oxfordshire","Powys","Rutland","Shropshire","Somerset","South Glamorgan","South Yorkshire","Staffordshire","Strathclyde","Suffolk","Surrey","Tayside","Tyne and Wear","Warwickshire","West Glamorgan","West Midlands","West Sussex","West Yorkshire","Wiltshire","Worcestershire"],Fo=["United States of America"],bo=["North","East","South","West","Northeast","Northwest","Southeast","Southwest"],ko=["N","E","S","W","NE","NW","SE","SW"],yo=["#####","#####-####"],fo=["Apt. ###","Suite ###"],Do=["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","Florida","Georgia","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Ohio","Oklahoma","Oregon","Pennsylvania","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virginia","Washington","West Virginia","Wisconsin","Wyoming"],Ao=["AL","AK","AZ","AR","CA","CO","CT","DE","FL","GA","HI","ID","IL","IN","IA","KS","KY","LA","ME","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","OH","OK","OR","PA","RI","SC","SD","TN","TX","UT","VT","VA","WA","WV","WI","WY"],Co={normal:"{{location.buildingNumber}} {{location.street}}",full:"{{location.buildingNumber}} {{location.street}} {{location.secondaryAddress}}"},Eo=["10th Street","11th Street","12th Street","13th Street","14th Street","15th Street","16th Street","1st Avenue","1st Street","2nd Avenue","2nd Street","3rd Avenue","3rd Street","4th Avenue","4th Street","5th Avenue","5th Street","6th Avenue","6th Street","7th Avenue","7th Street","8th Avenue","8th Street","9th Street","A Street","Abbey Road","Adams Avenue","Adams Street","Airport Road","Albany Road","Albert Road","Albion Street","Alexandra Road","Alfred Street","Alma Street","Ash Close","Ash Grove","Ash Road","Ash Street","Aspen Close","Atlantic Avenue","Avenue Road","Back Lane","Baker Street","Balmoral Road","Barn Close","Barton Road","Bath Road","Bath Street","Bay Street","Beach Road","Bedford Road","Beech Close","Beech Drive","Beech Grove","Beech Road","Beechwood Avenue","Bell Lane","Belmont Road","Birch Avenue","Birch Close","Birch Grove","Birch Road","Blind Lane","Bluebell Close","Boundary Road","Bramble Close","Bramley Close","Bridge Road","Bridge Street","Broad Lane","Broad Street","Broadway","Broadway Avenue","Broadway Street","Brook Lane","Brook Road","Brook Street","Brookside","Buckingham Road","Cambridge Street","Canal Street","Castle Close","Castle Lane","Castle Road","Castle Street","Cavendish Road","Cedar Avenue","Cedar Close","Cedar Grove","Cedar Road","Cedar Street","Cemetery Road","Center Avenue","Center Road","Center Street","Central Avenue","Central Street","Chapel Close","Chapel Hill","Chapel Road","Chapel Street","Charles Street","Cherry Close","Cherry Street","Cherry Tree Close","Chester Road","Chestnut Close","Chestnut Drive","Chestnut Grove","Chestnut Street","Church Avenue","Church Close","Church Hill","Church Lane","Church Path","Church Road","Church Street","Church View","Church Walk","Claremont Road","Clarence Road","Clarence Street","Clarendon Road","Clark Street","Clay Lane","Cleveland Street","Cliff Road","Clifton Road","Clinton Street","College Avenue","College Street","Columbia Avenue","Commerce Street","Commercial Road","Commercial Street","Common Lane","Coronation Avenue","Coronation Road","County Line Road","County Road","Court Street","Cow Lane","Crescent Road","Cromwell Road","Cross Lane","Cross Street","Crown Street","Cumberland Street","Dale Street","Dark Lane","Davis Street","Depot Street","Derby Road","Derwent Close","Devonshire Road","Division Street","Douglas Road","Duke Street","E 10th Street","E 11th Street","E 12th Street","E 14th Street","E 1st Street","E 2nd Street","E 3rd Street","E 4th Avenue","E 4th Street","E 5th Street","E 6th Avenue","E 6th Street","E 7th Street","E 8th Street","E 9th Street","E Bridge Street","E Broad Street","E Broadway","E Broadway Street","E Cedar Street","E Center Street","E Central Avenue","E Church Street","E Elm Street","E Franklin Street","E Front Street","E Grand Avenue","E High Street","E Jackson Street","E Jefferson Street","E Main","E Main Street","E Maple Street","E Market Street","E North Street","E Oak Street","E Park Avenue","E Pine Street","E River Road","E South Street","E State Street","E Union Street","E Walnut Street","E Washington Avenue","E Washington Street","E Water Street","East Avenue","East Road","East Street","Edward Street","Elm Close","Elm Grove","Elm Road","Elm Street","Euclid Avenue","Fairfield Road","Farm Close","Ferry Road","Field Close","Field Lane","First Avenue","First Street","Fore Street","Forest Avenue","Forest Road","Fourth Avenue","Franklin Avenue","Franklin Road","Franklin Street","Front Street","Frontage Road","Garden Close","Garden Street","George Street","Gladstone Road","Glebe Close","Gloucester Road","Gordon Road","Gordon Street","Grand Avenue","Grange Avenue","Grange Close","Grange Road","Grant Street","Green Close","Green Lane","Green Street","Greenville Road","Greenway","Greenwood Road","Grove Lane","Grove Road","Grove Street","Hall Lane","Hall Street","Harrison Avenue","Harrison Street","Hawthorn Avenue","Hawthorn Close","Hazel Close","Hazel Grove","Heath Road","Heather Close","Henry Street","Heron Close","Hickory Street","High Road","High Street","Highfield Avenue","Highfield Close","Highfield Road","Highland Avenue","Hill Road","Hill Street","Hillside","Hillside Avenue","Hillside Close","Hillside Road","Holly Close","Honeysuckle Close","Howard Road","Howard Street","Jackson Avenue","Jackson Street","James Street","Jefferson Avenue","Jefferson Street","Johnson Street","Jubilee Close","Juniper Close","Kent Road","Kestrel Close","King Street","King's Road","Kingfisher Close","Kings Highway","Kingsway","Laburnum Grove","Lafayette Street","Lake Avenue","Lake Drive","Lake Road","Lake Street","Lancaster Road","Lansdowne Road","Larch Close","Laurel Close","Lawrence Street","Lee Street","Liberty Street","Lime Grove","Lincoln Avenue","Lincoln Highway","Lincoln Road","Lincoln Street","Locust Street","Lodge Close","Lodge Lane","London Road","Long Lane","Low Road","Madison Avenue","Madison Street","Main","Main Avenue","Main Road","Main Street","Main Street E","Main Street N","Main Street S","Main Street W","Manchester Road","Manor Close","Manor Drive","Manor Gardens","Manor Road","Manor Way","Maple Avenue","Maple Close","Maple Drive","Maple Road","Maple Street","Market Place","Market Square","Market Street","Marlborough Road","Marsh Lane","Martin Luther King Boulevard","Martin Luther King Drive","Martin Luther King Jr Boulevard","Mary Street","Mayfield Road","Meadow Close","Meadow Drive","Meadow Lane","Meadow View","Meadow Way","Memorial Drive","Middle Street","Mill Close","Mill Lane","Mill Road","Mill Street","Milton Road","Milton Street","Monroe Street","Moor Lane","Moss Lane","Mount Pleasant","Mount Street","Mulberry Street","N 1st Street","N 2nd Street","N 3rd Street","N 4th Street","N 5th Street","N 6th Street","N 7th Street","N 8th Street","N 9th Street","N Bridge Street","N Broad Street","N Broadway","N Broadway Street","N Cedar Street","N Center Street","N Central Avenue","N Chestnut Street","N Church Street","N College Street","N Court Street","N Division Street","N East Street","N Elm Street","N Franklin Street","N Front Street","N Harrison Street","N High Street","N Jackson Street","N Jefferson Street","N Lincoln Street","N Locust Street","N Main","N Main Avenue","N Main Street","N Maple Street","N Market Street","N Monroe Street","N Oak Street","N Park Street","N Pearl Street","N Pine Street","N Poplar Street","N Railroad Street","N State Street","N Union Street","N Walnut Street","N Washington Avenue","N Washington Street","N Water Street","Nelson Road","Nelson Street","New Lane","New Road","New Street","Newton Road","Nightingale Close","Norfolk Road","North Avenue","North Lane","North Road","North Street","Northfield Road","Oak Avenue","Oak Drive","Oak Lane","Oak Road","Oak Street","Oakfield Road","Oaklands","Old Lane","Old Military Road","Old Road","Old State Road","Orchard Drive","Orchard Lane","Orchard Road","Orchard Street","Oxford Road","Oxford Street","Park Avenue","Park Crescent","Park Drive","Park Lane","Park Place","Park Road","Park Street","Park View","Parkside","Pearl Street","Pennsylvania Avenue","Pine Close","Pine Grove","Pine Street","Pinfold Lane","Pleasant Street","Poplar Avenue","Poplar Close","Poplar Road","Poplar Street","Post Road","Pound Lane","Princes Street","Princess Street","Priory Close","Priory Road","Prospect Avenue","Prospect Place","Prospect Road","Prospect Street","Quarry Lane","Quarry Road","Queen's Road","Railroad Avenue","Railroad Street","Railway Street","Rectory Close","Rectory Lane","Richmond Close","Richmond Road","Ridge Road","River Road","River Street","Riverside","Riverside Avenue","Riverside Drive","Roman Road","Roman Way","Rowan Close","Russell Street","S 10th Street","S 14th Street","S 1st Avenue","S 1st Street","S 2nd Street","S 3rd Street","S 4th Street","S 5th Street","S 6th Street","S 7th Street","S 8th Street","S 9th Street","S Bridge Street","S Broad Street","S Broadway","S Broadway Street","S Center Street","S Central Avenue","S Chestnut Street","S Church Street","S College Street","S Division Street","S East Street","S Elm Street","S Franklin Street","S Front Street","S Grand Avenue","S High Street","S Jackson Street","S Jefferson Street","S Lincoln Street","S Main","S Main Avenue","S Main Street","S Maple Street","S Market Street","S Mill Street","S Monroe Street","S Oak Street","S Park Street","S Pine Street","S Railroad Street","S State Street","S Union Street","S Walnut Street","S Washington Avenue","S Washington Street","S Water Street","S West Street","Salisbury Road","Sandringham Road","Sandy Lane","School Close","School Lane","School Road","School Street","Second Avenue","Silver Street","Skyline Drive","Smith Street","Somerset Road","South Avenue","South Drive","South Road","South Street","South View","Spring Gardens","Spring Street","Springfield Close","Springfield Road","Spruce Street","St Andrew's Road","St Andrews Close","St George's Road","St John's Road","St Mary's Close","St Mary's Road","Stanley Road","Stanley Street","State Avenue","State Line Road","State Road","State Street","Station Road","Station Street","Stoney Lane","Sycamore Avenue","Sycamore Close","Sycamore Drive","Sycamore Street","Talbot Road","Tennyson Road","The Avenue","The Beeches","The Causeway","The Chase","The Coppice","The Copse","The Crescent","The Croft","The Dell","The Drive","The Fairway","The Glebe","The Grange","The Green","The Grove","The Hawthorns","The Lane","The Laurels","The Limes","The Maltings","The Meadows","The Mews","The Mount","The Oaks","The Orchard","The Oval","The Paddock","The Paddocks","The Poplars","The Ridgeway","The Ridings","The Rise","The Sidings","The Spinney","The Square","The Willows","The Woodlands","Third Avenue","Third Street","Tower Road","Trinity Road","Tudor Close","Union Avenue","Union Street","University Avenue","University Drive","Valley Road","Veterans Memorial Drive","Veterans Memorial Highway","Vicarage Close","Vicarage Lane","Vicarage Road","Victoria Place","Victoria Road","Victoria Street","Vine Street","W 10th Street","W 11th Street","W 12th Street","W 14th Street","W 1st Street","W 2nd Street","W 3rd Street","W 4th Avenue","W 4th Street","W 5th Street","W 6th Avenue","W 6th Street","W 7th Street","W 8th Street","W 9th Street","W Bridge Street","W Broad Street","W Broadway","W Broadway Avenue","W Broadway Street","W Center Street","W Central Avenue","W Chestnut Street","W Church Street","W Division Street","W Elm Street","W Franklin Street","W Front Street","W Grand Avenue","W High Street","W Jackson Street","W Jefferson Street","W Lake Street","W Main","W Main Street","W Maple Street","W Market Street","W Monroe Street","W North Street","W Oak Street","W Park Street","W Pine Street","W River Road","W South Street","W State Street","W Union Street","W Walnut Street","W Washington Avenue","W Washington Street","Walnut Close","Walnut Street","Warren Close","Warren Road","Washington Avenue","Washington Boulevard","Washington Road","Washington Street","Water Lane","Water Street","Waterloo Road","Waterside","Watery Lane","Waverley Road","Well Lane","Wellington Road","Wellington Street","West Avenue","West End","West Lane","West Road","West Street","West View","Western Avenue","Western Road","Westfield Road","Westgate","William Street","Willow Close","Willow Drive","Willow Grove","Willow Road","Willow Street","Windermere Road","Windmill Close","Windmill Lane","Windsor Avenue","Windsor Close","Windsor Drive","Wood Lane","Wood Street","Woodland Close","Woodland Road","Woodlands","Woodlands Avenue","Woodlands Close","Woodlands Road","Woodside","Woodside Road","Wren Close","Yew Tree Close","York Road","York Street"],vo=["{{person.first_name}} {{location.street_suffix}}","{{person.last_name}} {{location.street_suffix}}","{{location.street_name}}"],wo=["Alley","Avenue","Branch","Bridge","Brook","Brooks","Burg","Burgs","Bypass","Camp","Canyon","Cape","Causeway","Center","Centers","Circle","Circles","Cliff","Cliffs","Club","Common","Corner","Corners","Course","Court","Courts","Cove","Coves","Creek","Crescent","Crest","Crossing","Crossroad","Curve","Dale","Dam","Divide","Drive","Drives","Estate","Estates","Expressway","Extension","Extensions","Fall","Falls","Ferry","Field","Fields","Flat","Flats","Ford","Fords","Forest","Forge","Forges","Fork","Forks","Fort","Freeway","Garden","Gardens","Gateway","Glen","Glens","Green","Greens","Grove","Groves","Harbor","Harbors","Haven","Heights","Highway","Hill","Hills","Hollow","Inlet","Island","Islands","Isle","Junction","Junctions","Key","Keys","Knoll","Knolls","Lake","Lakes","Land","Landing","Lane","Light","Lights","Loaf","Lock","Locks","Lodge","Loop","Mall","Manor","Manors","Meadow","Meadows","Mews","Mill","Mills","Mission","Motorway","Mount","Mountain","Mountains","Neck","Orchard","Oval","Overpass","Park","Parks","Parkway","Parkways","Pass","Passage","Path","Pike","Pine","Pines","Place","Plain","Plains","Plaza","Point","Points","Port","Ports","Prairie","Radial","Ramp","Ranch","Rapid","Rapids","Rest","Ridge","Ridges","River","Road","Roads","Route","Row","Rue","Run","Shoal","Shoals","Shore","Shores","Skyway","Spring","Springs","Spur","Spurs","Square","Squares","Station","Stravenue","Stream","Street","Streets","Summit","Terrace","Throughway","Trace","Track","Trafficway","Trail","Tunnel","Turnpike","Underpass","Union","Unions","Valley","Valleys","Via","Viaduct","View","Views","Village","Villages","Ville","Vista","Walk","Walks","Wall","Way","Ways","Well","Wells"],jo={building_number:uo,city_name:ro,city_pattern:lo,city_prefix:mo,city_suffix:co,country:po,county:ho,default_country:Fo,direction:bo,direction_abbr:ko,postcode:yo,secondary_address:fo,state:Do,state_abbr:Ao,street_address:Co,street_name:Eo,street_pattern:vo,street_suffix:wo},Bo=jo,So=["a","ab","abbas","abduco","abeo","abscido","absconditus","absens","absorbeo","absque","abstergo","absum","abundans","abutor","accedo","accendo","acceptus","accommodo","accusamus","accusantium","accusator","acer","acerbitas","acervus","acidus","acies","acquiro","acsi","ad","adamo","adaugeo","addo","adduco","ademptio","adeo","adeptio","adfectus","adfero","adficio","adflicto","adhaero","adhuc","adicio","adimpleo","adinventitias","adipisci","adipiscor","adiuvo","administratio","admiratio","admitto","admoneo","admoveo","adnuo","adopto","adsidue","adstringo","adsuesco","adsum","adulatio","adulescens","aduro","advenio","adversus","advoco","aedificium","aeger","aegre","aegrotatio","aegrus","aeneus","aequitas","aequus","aer","aestas","aestivus","aestus","aetas","aeternus","ager","aggero","aggredior","agnitio","agnosco","ago","ait","aiunt","alias","alienus","alii","alioqui","aliqua","aliquam","aliquid","alius","allatus","alo","alter","altus","alveus","amaritudo","ambitus","ambulo","amet","amicitia","amiculum","amissio","amita","amitto","amo","amor","amoveo","amplexus","amplitudo","amplus","ancilla","angelus","angulus","angustus","animadverto","animi","animus","annus","anser","ante","antea","antepono","antiquus","aperiam","aperio","aperte","apostolus","apparatus","appello","appono","appositus","approbo","apto","aptus","apud","aqua","ara","aranea","arbitro","arbor","arbustum","arca","arceo","arcesso","architecto","arcus","argentum","argumentum","arguo","arma","armarium","aro","ars","articulus","artificiose","arto","arx","ascisco","ascit","asper","asperiores","aspernatur","aspicio","asporto","assentator","assumenda","astrum","at","atavus","ater","atque","atqui","atrocitas","atrox","attero","attollo","attonbitus","auctor","auctus","audacia","audax","audentia","audeo","audio","auditor","aufero","aureus","aurum","aut","autem","autus","auxilium","avaritia","avarus","aveho","averto","baiulus","balbus","barba","bardus","basium","beatae","beatus","bellicus","bellum","bene","beneficium","benevolentia","benigne","bestia","bibo","bis","blandior","blanditiis","bonus","bos","brevis","cado","caecus","caelestis","caelum","calamitas","calcar","calco","calculus","callide","campana","candidus","canis","canonicus","canto","capillus","capio","capitulus","capto","caput","carbo","carcer","careo","caries","cariosus","caritas","carmen","carpo","carus","casso","caste","casus","catena","caterva","cattus","cauda","causa","caute","caveo","cavus","cedo","celebrer","celer","celo","cena","cenaculum","ceno","censura","centum","cerno","cernuus","certe","certus","cervus","cetera","charisma","chirographum","cibo","cibus","cicuta","cilicium","cimentarius","ciminatio","cinis","circumvenio","cito","civis","civitas","clam","clamo","claro","clarus","claudeo","claustrum","clementia","clibanus","coadunatio","coaegresco","coepi","coerceo","cogito","cognatus","cognomen","cogo","cohaero","cohibeo","cohors","colligo","collum","colo","color","coma","combibo","comburo","comedo","comes","cometes","comis","comitatus","commemoro","comminor","commodi","commodo","communis","comparo","compello","complectus","compono","comprehendo","comptus","conatus","concedo","concido","conculco","condico","conduco","confero","confido","conforto","confugo","congregatio","conicio","coniecto","conitor","coniuratio","conor","conqueror","conscendo","consectetur","consequatur","consequuntur","conservo","considero","conspergo","constans","consuasor","contabesco","contego","contigo","contra","conturbo","conventus","convoco","copia","copiose","cornu","corona","corporis","corpus","correptius","corrigo","corroboro","corrumpo","corrupti","coruscus","cotidie","crapula","cras","crastinus","creator","creber","crebro","credo","creo","creptio","crepusculum","cresco","creta","cribro","crinis","cruciamentum","crudelis","cruentus","crur","crustulum","crux","cubicularis","cubitum","cubo","cui","cuius","culpa","culpo","cultellus","cultura","cum","cumque","cunabula","cunae","cunctatio","cupiditas","cupiditate","cupio","cuppedia","cupressus","cur","cura","curatio","curia","curiositas","curis","curo","curriculum","currus","cursim","curso","cursus","curto","curtus","curvo","custodia","damnatio","damno","dapifer","debeo","debilito","debitis","decens","decerno","decet","decimus","decipio","decor","decretum","decumbo","dedecor","dedico","deduco","defaeco","defendo","defero","defessus","defetiscor","deficio","defleo","defluo","defungo","degenero","degero","degusto","deinde","delectatio","delectus","delego","deleniti","deleo","delibero","delicate","delinquo","deludo","demens","demergo","demitto","demo","demonstro","demoror","demulceo","demum","denego","denique","dens","denuncio","denuo","deorsum","depereo","depono","depopulo","deporto","depraedor","deprecator","deprimo","depromo","depulso","deputo","derelinquo","derideo","deripio","deserunt","desidero","desino","desipio","desolo","desparatus","despecto","dicta","dignissimos","distinctio","dolor","dolore","dolorem","doloremque","dolores","doloribus","dolorum","ducimus","ea","eaque","earum","eius","eligendi","enim","eos","error","esse","est","et","eum","eveniet","ex","excepturi","exercitationem","expedita","explicabo","facere","facilis","fuga","fugiat","fugit","harum","hic","id","illo","illum","impedit","in","incidunt","infit","inflammatio","inventore","ipsa","ipsam","ipsum","iste","itaque","iure","iusto","labore","laboriosam","laborum","laudantium","libero","magnam","magni","maiores","maxime","minima","minus","modi","molestiae","molestias","mollitia","nam","natus","necessitatibus","nemo","neque","nesciunt","nihil","nisi","nobis","non","nostrum","nulla","numquam","occaecati","ocer","odio","odit","officia","officiis","omnis","optio","paens","pariatur","patior","patria","patrocinor","patruus","pauci","paulatim","pauper","pax","peccatus","pecco","pecto","pectus","pecus","peior","pel","perferendis","perspiciatis","placeat","porro","possimus","praesentium","provident","quae","quaerat","quam","quas","quasi","qui","quia","quibusdam","quidem","quis","quisquam","quo","quod","quos","ratione","recusandae","reiciendis","rem","repellat","repellendus","reprehenderit","repudiandae","rerum","saepe","sapiente","sed","sequi","similique","sint","sit","socius","sodalitas","sol","soleo","solio","solitudo","solium","sollers","sollicito","solum","solus","soluta","solutio","solvo","somniculosus","somnus","sonitus","sono","sophismata","sopor","sordeo","sortitus","spargo","speciosus","spectaculum","speculum","sperno","spero","spes","spiculum","spiritus","spoliatio","sponte","stabilis","statim","statua","stella","stillicidium","stipes","stips","sto","strenuus","strues","studio","stultus","suadeo","suasoria","sub","subito","subiungo","sublime","subnecto","subseco","substantia","subvenio","succedo","succurro","sufficio","suffoco","suffragium","suggero","sui","sulum","sum","summa","summisse","summopere","sumo","sumptus","sunt","supellex","super","suppellex","supplanto","suppono","supra","surculus","surgo","sursum","suscipio","suscipit","suspendo","sustineo","suus","synagoga","tabella","tabernus","tabesco","tabgo","tabula","taceo","tactus","taedium","talio","talis","talus","tam","tamdiu","tamen","tametsi","tamisium","tamquam","tandem","tantillus","tantum","tardus","tego","temeritas","temperantia","templum","tempora","tempore","temporibus","temptatio","tempus","tenax","tendo","teneo","tener","tenetur","tenuis","tenus","tepesco","tepidus","ter","terebro","teres","terga","tergeo","tergiversatio","tergo","tergum","termes","terminatio","tero","terra","terreo","territo","terror","tersus","tertius","testimonium","texo","textilis","textor","textus","thalassinus","theatrum","theca","thema","theologus","thermae","thesaurus","thesis","thorax","thymbra","thymum","tibi","timidus","timor","titulus","tolero","tollo","tondeo","tonsor","torqueo","torrens","tot","totam","totidem","toties","totus","tracto","trado","traho","trans","tredecim","tremo","trepide","tres","tribuo","tricesimus","triduana","tripudio","tristis","triumphus","trucido","truculenter","tubineus","tui","tum","tumultus","tunc","turba","turbo","turpis","tutamen","tutis","tyrannus","uberrime","ubi","ulciscor","ullam","ullus","ulterius","ultio","ultra","umbra","umerus","umquam","una","unde","undique","universe","unus","urbanus","urbs","uredo","usitas","usque","ustilo","ustulo","usus","ut","uter","uterque","utilis","utique","utor","utpote","utrimque","utroque","utrum","uxor","vaco","vacuus","vado","vae","valde","valens","valeo","valetudo","validus","vallum","vapulus","varietas","varius","vehemens","vel","velit","velociter","velum","velut","venia","veniam","venio","ventito","ventosus","ventus","venustas","ver","verbera","verbum","vere","verecundia","vereor","vergo","veritas","veritatis","vero","versus","verto","verumtamen","verus","vesco","vesica","vesper","vespillo","vester","vestigium","vestrum","vetus","via","vicinus","vicissitudo","victoria","victus","videlicet","video","viduo","vigilo","vigor","vilicus","vilis","vilitas","villa","vinco","vinculum","vindico","vinitor","vinum","vir","virga","virgo","viridis","viriliter","virtus","vis","viscus","vita","vitae","vitiosus","vitium","vito","vivo","vix","vobis","vociferor","voco","volaticus","volo","volubilis","voluntarius","volup","voluptas","voluptate","voluptatem","voluptates","voluptatibus","voluptatum","volutabrum","volva","vomer","vomica","vomito","vorago","vorax","voro","vos","votum","voveo","vox","vulariter","vulgaris","vulgivagus","vulgo","vulgus","vulnero","vulnus","vulpes","vulticulus","xiphias"],Mo={words:So},xo=Mo,To={title:"English",code:"en",language:"en",endonym:"English",dir:"ltr",script:"Latn"},Ro=To,Lo=["Rock","Metal","Pop","Electronic","Folk","World","Country","Jazz","Funk","Soul","Hip Hop","Classical","Latin","Reggae","Stage And Screen","Blues","Non Music","Rap"],Po=["White Christmas","Hey Jude","Every Breath You Take","Mack the Knife","Rock Around the Clock","I Want to Hold Your Hand","(I Can't Get No) Satisfaction","The Twist","(Everything I Do) I Do it For You","Bridge Over Troubled Water","When Doves Cry","Call Me","Bette Davis Eyes","I Will Always Love You","Over the Rainbow","American Pie","Flashdance. What a Feeling","The Way We Were","I Heard it Through the Grapevine","You've Lost That Lovin' Feelin'","Nothing Compares 2 U","Endless Love","Yeah!","Let's Get it On","That's What Friends Are For","You Light Up My Life","(Sittin' On) the Dock of the Bay","Joy to the World","Heartbreak Hotel","Theme From 'A Summer Place'","Aquarius/Let The Sunshine In","I Will Survive","It's Too Late","Respect","Sugar Sugar","Stayin' Alive","Maggie May","My Heart Will Go On","Eye of the Tiger","End of the Road","Another One Bites the Dust","Billie Jean","Let's Stay Together","Battle of New Orleans","Oh","Hound Dog","I Love Rock 'n' Roll","Smooth","Good Vibrations","Physical","Light My Fire","Low","Hey Ya!","Let it Be","Don't Be Cruel","Hotel California","We Belong Together","Le Freak","Raindrops Keep Falling On My Head","How High the Moon","My Girl","I Can't Stop Loving You","Killing Me Softly With His Song","Mona Lisa","In the Mood","She Loves You","The Letter","Mister Sandman","Careless Whisper","What's Love Got to Do With It?","I'm a Believer","Wooly Bully","Theme From 'Shaft'","Hot Stuff","Centerfold","Honky Tonk Woman","I'll Be There","Gangsta's Paradise","Yesterday","My Sharona","Tennessee Waltz","Reach Out (I'll Be There)","California Dreamin'","Jailhouse Rock","Irreplaceable","Dancing in the Street","Rolling In The Deep","Tie a Yellow Ribbon 'round the Old Oak Tree","Stand By Me","Sentimental Journey","The First Time Ever I Saw Your Face","Louie Louie","Another Brick in the Wall (part 2)","(Just Like) Starting Over","Night Fever","To Sir","You're So Vain","Be My Baby","Celebration","(They Long to Be) Close to You","Begin the Beguine","I Still Haven't Found What I'm Looking For","I Want You Back","Arthur's Theme (Best That You Can Do)","Boulevard of Broken Dreams","With Or Without You","Tonight's the Night (Gonna Be Alright)","Are You Lonesome Tonight?","Upside Down","Dancing Queen","Sweet Child O' Mine","Where Did Our Love Go","Unchained Melody","Rudolph","Take My Breath Away","I'll Make Love to You","Love Will Keep Us Together","When a Man Loves a Woman","Walk Like an Egyptian","Crazy in Love","Strangers in the Night","You Belong to Me","In Da Club","Say You","We Are the World","Johnny B Goode","Love Theme From 'A Star is Born' (Evergreen)","Shadow Dancing","Superstition","Beat It","Night & Day","Waterfalls","House of the Rising Sun","Paper Doll","Downtown","I Can't Help Myself (Sugar Pie","Kiss From a Rose","Believe","Ballad of the Green Berets","Proud Mary","Too Young","Umbrella","Swanee","Need You Tonight","Like a Rolling Stone","Lady","One Sweet Day","Lean On Me","Tik-Toc","Monday Monday","What'd I Say","How You Remind Me","Silly Love Songs","My Guy","Macarena","Goodnight","Just My Imagination (Running Away With Me)","The Sounds of Silence","Imagine","Me & Bobby McGee","Near You","What's Going On?","Suspicious Minds","Ode To Billie Joe","Wind Beneath My Wings","The Boy is Mine","Mr Tambourine Man","Faith","Green Onions","Mrs Robinson","How Deep is Your Love?","Hey There","Heart of Glass","Pennies From Heaven","Like a Virgin","Midnight Train to Georgia","Help!","Tossing & Turning","The Sign","Born to Be Wild","Layla","I Just Wanna Be Your Everything","War","96 Tears","I Get Around","Because You Loved Me","Summer in the City","Get Back","Secret Love","9 to 5","(Ghost) Riders in the Sky","The Loco-Motion","Play That Funky Music","Bohemian Rhapsody","Little Things Mean a Lot","Cry","All Shook Up","Up Where We Belong","Sledgehammer","Fire & Rain","Stop! in the Name of Love","Sweet Home Alabama","Another Day in Paradise","Bleeding Love","Lady Marmalade (Voulez-Vous Coucher Aver Moi Ce Soir?)","Whispering","Vogue","Under the Bridge","Sixteen Tons","Sugar Shack","Baby Love","What a Fool Believes","Lose Yourself","Hello Dolly","Brown Eyed Girl","Without You","Build Me Up Buttercup","We Found Love","Tears in Heaven","Family Affair","All I Wanna Do","Soul Man","Tequila","Rock With You","Livin' La Vida Loca","Best of My Love","Runaway","Alone Again (Naturally)","Can't Help Falling in Love","My Sweet Lord","Runaround Sue","Swinging On a Star","Gold Digger","Happy Together","Losing My Religion","Heart of Gold","Stardust","Will You Love Me Tomorrow","You Are the Sunshine of My Life","You Were Meant for Me","Take On Me","Hollaback Girl","God Bless America","I Swear","Sunshine of Your Love","Firework","Groovin'","Smells Like Teen Spirit","Big Girls Don't Cry","Jack & Diane","Addicted to Love","The Last Dance","Georgia On My Mind","Money For Nothing","Jump","Vaya Con Dios (may God Be With You)","You'll Never Know","That'll Be the Day","Girls Just Wanna Have Fun","Wheel of Fortune","When You Wish Upon a Star","Don't Fence Me In","Turn! Turn! Turn! (To Everything There is a Season)","Volare","Sweet Dreams (Are Made of This)","Whole Lotta Love","You've Got a Friend","Penny Lane","People Got to Be Free","Nature Boy","Sexyback","Crying","Single Ladies (Put A Ring On It)","Bad Girls","Too Close","I Got You Babe","We've Only Just Begun","Sh-Boom (Life Could Be a Dream)","Shining Star","Kansas City","Like a Prayer","Cheek to Cheek","Papa Was a Rolling Stone","Promiscuous","Love Shack","Funkytown","Crazy","Philadelphia Freedom","Temperature","Somebody That I Used to Know","All I Have to Do is Dream","Jessie's Girl","Rhinestone Cowboy","Blue Suede Shoes","Ebony & Ivory","I'll Never Smile Again","Keep On Loving You","Since U Been Gone","The Way You Look Tonight","Crazy Little Thing Called Love","The Great Pretender","Brown Sugar","Que sera sera (Whatever will be will be)","No One","Bad Day","Boom Boom Pow","Party Rock Anthem","Because of You","Chattanooga Choo Choo","A Whiter Shade of Pale","Love Me Tender","Higher Love","Footloose","Blurred Lines","I Just Called to Say I Love You","Come Together","It's Now Or Never","Under the Boardwalk","Don't You Want Me","You Can't Hurry Love","Fame","Fallin'","Poker Face","Bad Romance","Ruby Tuesday","All Night Long (All Night)","Baby Got Back","Whole Lotta Shakin' Goin' On","Frenesi","December 1963 (Oh What a Night)","Bad Moon Rising","Abracadabra","I Gotta Feeling","The Song From Moulin Rouge (Where Is Your Heart)","Waiting For a Girl Like You","Everybody Loves Somebody","I Can't Go For That (No Can Do)","Buttons & Bows","It's All in the Game","Love Train","Dance to the Music","Candle in the Wind '97","Honey","Kiss","I'll Take You There","Paint it Black","Band of Gold","Just the Way You Are","Spirit in the Sky","Vision of Love","Hips don't lie","Till The End of Time","Duke of Earl","YMCA","Oh My Papa (O Mein Papa)","Pistol Packin' Mama","Gonna Make You Sweat (Everybody Dance Now)","Dilemma","I Need You Now","Wanted","Jumpin' Jack Flash","Against All Odds (Take a Look At Me Now)","Tom Dooley","Goodbye Yellow Brick Road","Rhapsody in Blue","Bennie & the Jets","Call Me Maybe","You Really Got Me","God Bless the Child","I'm Sorry","Bad","I Can't Get Next to You","The Power of Love","Dreamlover","Only The Lonely (Know The Way I Feel)","We Are Family","At Last","Brand New Key","I've Heard That Song Before","Stay (I Missed You)","Do Ya Think I'm Sexy?","Tutti Frutti","This Ole House","Please Mr Postman","Good Times","Something","(I've Had) the Time of My Life","I Don't Want to Miss a Thing","Down Hearted Blues","Rag Doll","Blueberry Hill","Ain't No Sunshine","Wild Thing","Blaze of Glory","Ray of Light","The Hustle","Grenade","Cathy's Clown","Minnie the Moocher","Love Is Blue (L'Amour Est Bleu)","Iris","The Boys of Summer","The Tide is High","She Drives Me Crazy","Save the Best For Last","These Boots Are Made For Walking","I Feel Love","A Woman in Love","We Can Work it Out","The Reason","Locked Out Of Heaven","Do That to Me One More Time","That's the Way Love Goes","A Hard Day's Night","I Believe I Can Fly","Karma Chameleon","One O'Clock Jump","Mule Train","Car Wash","Rapture","Creep","Streets of Philadelphia","West End Girls","Leader of the Pack","T For Texas (Blue Yodel No 1)","Mama Told Me Not to Come","Just Dance","Mercy Mercy Me (The Ecology)","Livin' On a Prayer","Good Lovin'","50 Ways to Leave Your Lover","Stronger","I Can See Clearly Now","We Are the Champions","(I've Got a Gal In) Kalamazoo","No Scrubs","How Do You Mend a Broken Heart","I Got You (I Feel Good)","Don't Let the Stars Get in Your Eyes","The Girl From Ipanema","(Sexual) Healing","Tears of a Clown","We Will Rock You","Hold On","Bye Bye Love","Chapel of Love","White Rabbit","Rock the Boat","The Gypsy","Take The 'A' Train","Crimson & Clover","Crocodile Rock","Make Love to Me","Nothing's Gonna Stop Us Now","Say Say Say","The Christmas Song (Chestnuts Roasting On An Open Fire)","Un-Break My Heart","Cherish","I'll Be Missing You","Drops of Jupiter (Tell Me)","There goes my baby","You Send Me","If (They Made Me a King)","The Prisoner's Song","ABC","Do Wah Diddy Diddy","He's So Fine","A Boy Named Sue","Roll Over Beethoven","Sweet Georgia Brown","Earth Angel","Rehab","(You Keep Me) Hangin' On","This Diamond Ring","Be My Love","Rush Rush","You're Beautiful","Roll With It","Moonlight Serenade","Unbelievable","Peg o' My Heart","This Land is Your Land","Stranger On the Shore","Rum & Coca-Cola","Hit the Road","Without Me","Crazy For You","I Want to Know What Love Is","Bye Bye","Down Under","At the Hop","One Bad Apple","Kiss & Say Goodbye","For What It's Worth (Stop","The Long & Winding Road","Baby One More Time","Stairway to Heaven","How Do I Live?","Hello","Truly Madly Deeply","Great Balls of Fire","King of the Road","I Wanna Dance With Somebody (Who Loves Me)","Reunited","Help Me","Rags to Riches","(It's No) Sin","Say My Name","Nobody Does it Better","Paperback Writer","Don't Worry Be Happy","I Fall to Pieces","Body & Soul","You're Still the One","Stormy Weather (Keeps Rainin' All the Time)","Horse With No Name","American Woman","Chattanoogie Shoe-Shine Boy","Pick Up the Pieces","Everybody Wants to Rule the World","Blue Tango","Hurt So Good","Apologize","Let's Dance","(You're My) Soul & Inspiration","I Only Have Eyes For You","Wichita Lineman","Hanging by a Moment","Spinning Wheel","Look Away","Ironic","Don't Stop 'Til You Get Enough","Empire State Of Mind","Do You Love Me?","Jive Talkin'","You're the One That I Want","Sweet Soul Music","Hey There Delilah","A Whole New World (Aladdin's Theme)","Somethin' Stupid","Knock Three Times","Mickey","The Wanderer","Dancing in the Dark","It's Still Rock 'n' Roll to Me","Boogie Oogie Oogie","Can You Feel the Love Tonight","Harper Valley PTA","Seasons in the Sun","Come On-a My House","Viva La Vida","Walk On By","Drop it Like It's Hot","Private Eyes","Maniac","All My Lovin' (You're Never Gonna Get It)","Take a Bow","Ring of Fire","Save the Last Dance For Me","Make it With You","Don't Speak","I Shot the Sheriff","Say It Right","Sing","Twist & Shout","Walk This Way","A-Tisket A-Tasket","Let Me Love You","I Can Dream","Toxic","The Joker","Hero","In the Year 2525 (Exordium & Terminus)","Your Song","Oh Happy Day","Grease","Love In This Club","Angie","How Much is That Doggy in the Window?","Daydream Believer","Whip It","Boogie Woogie Bugle Boy","Down","Hanky Panky","Total Eclipse of the Heart","Cat's in the Cradle","Strange Fruit","Breathe","On My Own","Dizzy","Ticket to Ride","We Got The Beat","On the Atchison","Always On My Mind","Unforgettable","In the End","Music","Can't Buy Me Love","Chain of Fools","Won't Get Fooled Again","Happy Days Are Here Again","Third Man Theme","Your Cheatin' Heart","Thriller","Venus","Time After Time","That Lucky Old Sun (Just Rolls Around Heaven All Day)","E.T.","Three Coins in the Fountain","Touch Me","You Ain't Seen Nothin' Yet","Gives You Hell","Knock On Wood","One of These Nights","Again","Doo Wop (That Thing)","Whoomp! (There it Is)","Magic","I'm Walking Behind You","We Didn't Start the Fire","Lola","Ghostbusters","Winchester Cathedral","Greatest Love of All","My Love","Wannabe","Miss You","I Feel Fine","Baby Baby","TSOP (The Sound of Philadelphia)","Loving You","This Guy's in Love With You","Till I Waltz Again With You","Why Do Fools Fall in Love?","Nights in White Satin","That's the Way (I Like It)","My Prayer","(Put Another Nickel In) Music! Music! Music!","Colors of the Wind","Morning Train (Nine to Five)","I Went to Your Wedding","Kiss Me","Gypsies","Cracklin' Rosie","Maybellene","Born in the USA","Here Without You","Mony Mony","Mmmbop","You Always Hurt the One You Love","Eight Days a Week","What Goes Around Comes Around","Kung Fu Fighting","Fantasy","Sir Duke","Ain't Misbehavin'","Need You Now","Last Train to Clarksville","Yakety Yak","I'll be seeing you","Hard to Say I'm Sorry","It's My Party","Love to Love You Baby","Miss You Much","Born to Run","Instant Karma","The Rose","Purple Rain","One","Groove is in the Heart","Gimme Some Lovin'","Beautiful Day","Escape (The Pina Colada Song)","Use Somebody","Fortunate Son","Afternoon Delight","Love's Theme","Sailing","Cherry Pink & Apple Blossom White","Georgy Girl","How to Save a Life","I Walk the Line","All You Need is Love","U Can't Touch This","All Out of Love","Where is the Love?","Revolution","The Love You Save","Black Or White","This Used to Be My Playground","Living For the City","School's Out","Disturbia","Riders On the Storm","Some Enchanted Evening","Weak","Maneater","More Than Words","Time of the Season","Mrs Brown You've Got a Lovely Daughter","If You Leave Me Now","Can't Get Enough of Your Love","Na Na Hey Hey (Kiss Him Goodbye)","Mr Brightside","Black Velvet","I'm Yours","My Blue Heaven","It Had to Be You","Tha Crossroads","Ac-cent-tchu-ate the Positive","Everyday People","We Are Young","Take Me Home","Smoke! Smoke! Smoke! (That Cigarette)","In the Summertime","The Tracks of My Tears","Fly Robin Fly","Love is a Many Splendoured Thing","Another Night","Long Tall Sally","You Sexy Thing","The Morning After","Get Off of My Cloud","Roses Are Red","Thank You (Falettinme be Mice Elf Again)","Slow Poke","You Belong With Me","Ain't No Mountain High Enough","Auf Wiederseh'n Sweetheart","Beauty & the Beast","St Louis Blues","Peggy Sue","U Got it Bad","Sweet Caroline (Good Times Never Seemed So Good)","Wedding Bell Blues","Freebird","Wipe Out","California Girls","Being With You","Makin' Whoopee","Shop Around","Smoke On the Water","Hungry Heart","That's Amore","My Life","Brandy (You're A Fine Girl)","Walk Don't Run","Surfin' USA","Ball of Confusion (That's What the World is Today)","Sunshine Superman","Frankenstein","Kiss You All Over","Wishing Well","Piano Man","Ben","In the Ghetto","Hang On Sloopy","Singing The Blues","Cry Like a Baby","I Honestly Love You","Brother","Lookin' Out My Back Door","Candy Man","Burn","Stagger Lee","Moonlight Cocktail","Coming Up","Pop Muzik","As Time Goes By","My Eyes Adored You","Strawberry Fields Forever","Some of These Days","I Think I Love You","Judy in Disguise (With Glasses)","All Along the Watchtower","A Thousand Miles","Fast Car","Red Red Wine","Live & Let Die","Come On Eileen","Right Back Where We Started From","Brother Louie","Ol' Man River","Band On the Run","Rich Girl","Green River","Got to Give it Up","Behind Closed Doors","Don't Go Breaking My Heart","I'm Looking Over a Four Leaf Clover","Mr Big Stuff","Tiger Rag","Kryptonite","Hey Paula","Go Your Own Way","Big Bad John","Wake Me Up Before You Go Go","Tangerine","Wayward Wind","Disco Lady","Spanish Harlem","Wicked Game","Rosanna","Papa Don't Preach","Somebody to Love","Kokomo","Manana (Is Soon Enough For Me)","Puttin' on the Ritz","One More Try","I'll Walk Alone","Shout","Woman","Ballerina","We Built This City","19th Nervous Breakdown","Working My Way Back to You","Superstar","Foolish Games","Get Down Tonight","On Bended Knee","Magic Carpet Ride","Only You (And You Alone)","A String of Pearls","A Tree in the Meadow","So Much in Love","Every Little Thing She Does is Magic","La Bamba","Tighten Up","Three Times a Lady","Airplanes","Don't Leave Me This Way","Rock the Casbah","Feel Good Inc","Love Me Do","Kiss On My List","Give Me Everything","Have You Ever Really Loved a Woman?","Love Letters in the Sand","Ring My Bell","Love Child","I Feel For You","Bye","(Let Me Be Your) Teddy Bear","Soldier Boy","Papa's Got a Brand New Bag","Love Hangover","Spill the Wine","Royals","April Showers","Don't You (Forget About Me)","Travellin' Man","The Thing","You Make Me Feel Brand New","The Glow-Worm","You Don't Bring Me Flowers","Summertime Blues","Straight Up","Sunday","Wake Up Little Susie","She's a Lady","Over There","Little Darlin'","Rag Mop","Shake Down","Up Around the Bend","Harbour Lights","Chances Are","Mood Indigo","Pony Time","After You've Gone","I Wanna Love You","Da Doo Ron Ron (When He Walked Me Home)","If You Don't Know Me By Now","Green Tambourine","My Man","If I Didn't Care","St George & the Dragonette","Why Don't You Believe Me?","How Will I Know","Disco Duck","Lonely Boy","Never Gonna Give You Up","Before The Next Teardrop Falls","Running Scared","Let's Hear it For the Boy","Sleep Walk","Walk On the Wild Side","Memories Are Made of This","Open Arms","Stuck On You","Personality","Feel Like Making Love","Stars & Stripes Forever","Besame Mucho","Let Me Call You Sweetheart","Indian Reservation (The Lament Of The Cherokee Reservation Indian)","Cars","You Make Me Feel Like Dancing","Whatcha Say","Me & Mrs Jones","Bitter Sweet Symphony","Uncle Albert (Admiral Halsey)","More Than a Feeling","My Boyfriend's Back","People","He'll Have to Go","I Can Help","The Streak","Dreams","Hair","Cold","Nothin' on You","The End of the World","Caldonia Boogie (What Makes Your Big Head So Hard)","I Kissed A Girl","Incense & Peppermints","12th Street Rag","West End Blues","The Way You Move","Smoke Gets in Your Eyes","Want Ads","Long Cool Woman in a Black Dress","Hey Baby","(Your Love Keeps Lifting Me) Higher & Higher","He's a Rebel","Alone","Thrift Shop","Don't Let the Sun Go Down On Me","The Sweet Escape","Return to Sender","Here in My Heart","Wabash Cannonball","Ain't That a Shame","Travellin' Band","I'm Your Boogie Man","I Write the Songs","This Love","Lights","Will It Go Round In Circles","Purple Haze","Rock Your Baby","Delicado","Tammy","Check On It","Breaking Up is Hard to Do","1999","Prisoner of Love","Wild Wild West","Walk Like a Man","I Will Follow Him","Glamorous","Yellow Rose of Texas","That Old Black Magic","I'm So Lonesome I Could Cry","Up Up & Away","Baby Come Back","Let it Snow! Let it Snow! Let it Snow!","Pon De Replay","Because I Love You (The Postman Song)","Sleepy Lagoon","Baker Street","Dardanella","You Don't Have to Be a Star (To Be in My Show)","Leaving","Glory of Love","Theme From 'Greatest American Hero' (Believe It Or Not)","Shake You Down","Ole Buttermilk Sky","I Can't Get Started","Freak Me","Hot Child In The City","Man in the Mirror","Queen of Hearts","Let's Groove","Change the World","You make Me Wanna","Someday","Eve of Destruction","One of Us","Honky Tonk","Be Bop a Lula","Two Hearts","Paper Planes"],Ho={genre:Lo,song_name:Po},zo=Ho,Io=["activist","artist","author","blogger","business owner","coach","creator","designer","developer","dreamer","educator","engineer","entrepreneur","environmentalist","film lover","filmmaker","foodie","founder","friend","gamer","geek","grad","inventor","leader","model","musician","nerd","parent","patriot","person","philosopher","photographer","public speaker","scientist","singer","streamer","student","teacher","traveler","veteran","writer"],No=["{{person.bio_part}}","{{person.bio_part}}, {{person.bio_part}}","{{person.bio_part}}, {{person.bio_part}}, {{person.bio_part}}","{{person.bio_part}}, {{person.bio_part}}, {{person.bio_part}} {{internet.emoji}}","{{word.noun}} {{person.bio_supporter}}","{{word.noun}} {{person.bio_supporter}} {{internet.emoji}}","{{word.noun}} {{person.bio_supporter}}, {{person.bio_part}}","{{word.noun}} {{person.bio_supporter}}, {{person.bio_part}} {{internet.emoji}}"],qo=["advocate","devotee","enthusiast","fan","junkie","lover","supporter"],Go=["Mary","Patricia","Linda","Barbara","Elizabeth","Jennifer","Maria","Susan","Margaret","Dorothy","Lisa","Nancy","Karen","Betty","Helen","Sandra","Donna","Carol","Ruth","Sharon","Michelle","Laura","Sarah","Kimberly","Deborah","Jessica","Shirley","Cynthia","Angela","Melissa","Brenda","Amy","Anna","Rebecca","Virginia","Kathleen","Pamela","Martha","Debra","Amanda","Stephanie","Carolyn","Christine","Marie","Janet","Catherine","Frances","Ann","Joyce","Diane","Alice","Julie","Heather","Teresa","Doris","Gloria","Evelyn","Jean","Cheryl","Mildred","Katherine","Joan","Ashley","Judith","Rose","Janice","Kelly","Nicole","Judy","Christina","Kathy","Theresa","Beverly","Denise","Tammy","Irene","Jane","Lori","Rachel","Marilyn","Andrea","Kathryn","Louise","Sara","Anne","Jacqueline","Wanda","Bonnie","Julia","Ruby","Lois","Tina","Phyllis","Norma","Paula","Diana","Annie","Lillian","Emily","Robin","Peggy","Crystal","Gladys","Rita","Dawn","Connie","Florence","Tracy","Edna","Tiffany","Carmen","Rosa","Cindy","Grace","Wendy","Victoria","Edith","Kim","Sherry","Sylvia","Josephine","Thelma","Shannon","Sheila","Ethel","Ellen","Elaine","Marjorie","Carrie","Charlotte","Monica","Esther","Pauline","Emma","Juanita","Anita","Rhonda","Hazel","Amber","Eva","Debbie","April","Leslie","Clara","Lucille","Jamie","Joanne","Eleanor","Valerie","Danielle","Megan","Alicia","Suzanne","Michele","Gail","Bertha","Darlene","Veronica","Jill","Erin","Geraldine","Lauren","Cathy","Joann","Lorraine","Lynn","Sally","Regina","Erica","Beatrice","Dolores","Bernice","Audrey","Yvonne","Annette","June","Samantha","Marion","Dana","Stacy","Ana","Renee","Ida","Vivian","Roberta","Holly","Brittany","Melanie","Loretta","Yolanda","Jeanette","Laurie","Katie","Kristen","Vanessa","Alma","Sue","Elsie","Beth","Jeanne","Vicki","Carla","Tara","Rosemary","Eileen","Terri","Gertrude","Lucy","Tonya","Ella","Stacey","Wilma","Gina","Kristin","Jessie","Natalie","Agnes","Vera","Willie","Charlene","Bessie","Delores","Melinda","Pearl","Arlene","Maureen","Colleen","Allison","Tamara","Joy","Georgia","Constance","Lillie","Claudia","Jackie","Marcia","Tanya","Nellie","Minnie","Marlene","Heidi","Glenda","Lydia","Viola","Courtney","Marian","Stella","Caroline","Dora","Jo","Vickie","Mattie","Terry","Maxine","Irma","Mabel","Marsha","Myrtle","Lena","Christy","Deanna","Patsy","Hilda","Gwendolyn","Jennie","Nora","Margie","Nina","Cassandra","Leah","Penny","Kay","Priscilla","Naomi","Carole","Brandy","Olga","Billie","Dianne","Tracey","Leona","Jenny","Felicia","Sonia","Miriam","Velma","Becky","Bobbie","Violet","Kristina","Toni","Misty","Mae","Shelly","Daisy","Ramona","Sherri","Erika","Katrina","Claire","Lindsey","Lindsay","Geneva","Guadalupe","Belinda","Margarita","Sheryl","Cora","Faye","Ada","Natasha","Sabrina","Isabel","Marguerite","Hattie","Harriet","Molly","Cecilia","Kristi","Brandi","Blanche","Sandy","Rosie","Joanna","Iris","Eunice","Angie","Inez","Lynda","Madeline","Amelia","Alberta","Genevieve","Monique","Jodi","Janie","Maggie","Kayla","Sonya","Jan","Lee","Kristine","Candace","Fannie","Maryann","Opal","Alison","Yvette","Melody","Luz","Susie","Olivia","Flora","Shelley","Kristy","Mamie","Lula","Lola","Verna","Beulah","Antoinette","Candice","Juana","Jeannette","Pam","Kelli","Hannah","Whitney","Bridget","Karla","Celia","Latoya","Patty","Shelia","Gayle","Della","Vicky","Lynne","Sheri","Marianne","Kara","Jacquelyn","Erma","Blanca","Myra","Leticia","Pat","Krista","Roxanne","Angelica","Johnnie","Robyn","Francis","Adrienne","Rosalie","Alexandra","Brooke","Bethany","Sadie","Bernadette","Traci","Jody","Kendra","Jasmine","Nichole","Rachael","Chelsea","Mable","Ernestine","Muriel","Marcella","Elena","Krystal","Angelina","Nadine","Kari","Estelle","Dianna","Paulette","Lora","Mona","Doreen","Rosemarie","Angel","Desiree","Antonia","Hope","Ginger","Janis","Betsy","Christie","Freda","Mercedes","Meredith","Lynette","Teri","Cristina","Eula","Leigh","Meghan","Sophia","Eloise","Rochelle","Gretchen","Cecelia","Raquel","Henrietta","Alyssa","Jana","Kelley","Gwen","Kerry","Jenna","Tricia","Laverne","Olive","Alexis","Tasha","Silvia","Elvira","Casey","Delia","Sophie","Kate","Patti","Lorena","Kellie","Sonja","Lila","Lana","Darla","May","Mindy","Essie","Mandy","Lorene","Elsa","Josefina","Jeannie","Miranda","Dixie","Lucia","Marta","Faith","Lela","Johanna","Shari","Camille","Tami","Shawna","Elisa","Ebony","Melba","Ora","Nettie","Tabitha","Ollie","Jaime","Winifred","Kristie"],Wo=["Abigail","Adele","Alex","Alice","Alisha","Amber","Amelia","Amora","Anaïs","Angelou","Anika","Anise","Annabel","Anne","Aphrodite","Aretha","Arya","Ashton","Aster","Audrey","Avery","Bailee","Bay","Belle","Beth","Billie","Blair","Blaise","Blake","Blanche","Blue","Bree","Brielle","Brienne","Brooke","Caleen","Candice","Caprice","Carelyn","Caylen","Celine","Cerise","Cia","Claire","Claudia","Clementine","Coral","Coraline","Dahlia","Dakota","Dawn","Della","Demi","Denise","Denver","Devine","Devon","Diana","Dylan","Ebony","Eden","Eleanor","Elein","Elizabeth","Ellen","Elodie","Eloise","Ember","Emma","Erin","Eyre","Faith","Farrah","Fawn","Fayre","Fern","France","Francis","Frida","Genisis","Georgia","Grace","Gwen","Harley","Harper","Hazel","Helen","Hippolyta","Holly","Hope","Imani","Iowa","Ireland","Irene","Iris","Isa","Isla","Ivy","Jade","Jane","Jazz","Jean","Jess","Jett","Jo","Joan","Jolie","Jordan","Josie","Journey","Joy","Jules","Julien","Juliet","Juniper","Justice","Kali","Karma","Kat","Kate","Kennedy","Keva","Kylie","Lake","Lane","Lark","Layla","Lee","Leigh","Leona","Lexi","London","Lou","Louise","Love","Luna","Lux","Lynn","Lyric","Maddie","Mae","Marie","Matilda","Maude","Maybel","Meadow","Medusa","Mercy","Michelle","Mirabel","Monroe","Morgan","Nalia","Naomi","Nova","Olive","Paige","Parker","Pax","Pearl","Penelope","Phoenix","Quinn","Rae","Rain","Raven","Ray","Raye","Rebel","Reese","Reeve","Regan","Riley","River","Robin","Rory","Rose","Royal","Ruth","Rylie","Sage","Sam","Saturn","Scout","Serena","Sky","Skylar","Sofia","Sophia","Storm","Sue","Suzanne","Sydney","Taylen","Taylor","Teagan","Tempest","Tenley","Thea","Trinity","Valerie","Venus","Vera","Violet","Willow","Winter","Xena","Zaylee","Zion","Zoe"],ha=["Mrs.","Ms.","Miss","Dr."],_o=["Aaliyah","Aaron","Abagail","Abbey","Abbie","Abbigail","Abby","Abdiel","Abdul","Abdullah","Abe","Abel","Abelardo","Abigail","Abigale","Abigayle","Abner","Abraham","Ada","Adah","Adalberto","Adaline","Adam","Adan","Addie","Addison","Adela","Adelbert","Adele","Adelia","Adeline","Adell","Adella","Adelle","Aditya","Adolf","Adolfo","Adolph","Adolphus","Adonis","Adrain","Adrian","Adriana","Adrianna","Adriel","Adrien","Adrienne","Afton","Aglae","Agnes","Agustin","Agustina","Ahmad","Ahmed","Aida","Aidan","Aiden","Aileen","Aimee","Aisha","Aiyana","Akeem","Al","Alaina","Alan","Alana","Alanis","Alanna","Alayna","Alba","Albert","Alberta","Albertha","Alberto","Albin","Albina","Alda","Alden","Alec","Aleen","Alejandra","Alejandrin","Alek","Alena","Alene","Alessandra","Alessandro","Alessia","Aletha","Alex","Alexa","Alexander","Alexandra","Alexandre","Alexandrea","Alexandria","Alexandrine","Alexandro","Alexane","Alexanne","Alexie","Alexis","Alexys","Alexzander","Alf","Alfonso","Alfonzo","Alford","Alfred","Alfreda","Alfredo","Ali","Alia","Alice","Alicia","Alisa","Alisha","Alison","Alivia","Aliya","Aliyah","Aliza","Alize","Allan","Allen","Allene","Allie","Allison","Ally","Alphonso","Alta","Althea","Alva","Alvah","Alvena","Alvera","Alverta","Alvina","Alvis","Alyce","Alycia","Alysa","Alysha","Alyson","Alysson","Amalia","Amanda","Amani","Amara","Amari","Amaya","Amber","Ambrose","Amelia","Amelie","Amely","America","Americo","Amie","Amina","Amir","Amira","Amiya","Amos","Amparo","Amy","Amya","Ana","Anabel","Anabelle","Anahi","Anais","Anastacio","Anastasia","Anderson","Andre","Andreane","Andreanne","Andres","Andrew","Andy","Angel","Angela","Angelica","Angelina","Angeline","Angelita","Angelo","Angie","Angus","Anibal","Anika","Anissa","Anita","Aniya","Aniyah","Anjali","Anna","Annabel","Annabell","Annabelle","Annalise","Annamae","Annamarie","Anne","Annetta","Annette","Annie","Ansel","Ansley","Anthony","Antoinette","Antone","Antonetta","Antonette","Antonia","Antonietta","Antonina","Antonio","Antwan","Antwon","Anya","April","Ara","Araceli","Aracely","Arch","Archibald","Ardella","Arden","Ardith","Arely","Ari","Ariane","Arianna","Aric","Ariel","Arielle","Arjun","Arlene","Arlie","Arlo","Armand","Armando","Armani","Arnaldo","Arne","Arno","Arnold","Arnoldo","Arnulfo","Aron","Art","Arthur","Arturo","Arvel","Arvid","Arvilla","Aryanna","Asa","Asha","Ashlee","Ashleigh","Ashley","Ashly","Ashlynn","Ashton","Ashtyn","Asia","Assunta","Astrid","Athena","Aubree","Aubrey","Audie","Audra","Audreanne","Audrey","August","Augusta","Augustine","Augustus","Aurelia","Aurelie","Aurelio","Aurore","Austen","Austin","Austyn","Autumn","Ava","Avery","Avis","Axel","Ayana","Ayden","Ayla","Aylin","Baby","Bailee","Bailey","Barbara","Barney","Baron","Barrett","Barry","Bart","Bartholome","Barton","Baylee","Beatrice","Beau","Beaulah","Bell","Bella","Belle","Ben","Benedict","Benjamin","Bennett","Bennie","Benny","Benton","Berenice","Bernadette","Bernadine","Bernard","Bernardo","Berneice","Bernhard","Bernice","Bernie","Berniece","Bernita","Berry","Bert","Berta","Bertha","Bertram","Bertrand","Beryl","Bessie","Beth","Bethany","Bethel","Betsy","Bette","Bettie","Betty","Bettye","Beulah","Beverly","Bianka","Bill","Billie","Billy","Birdie","Blair","Blaise","Blake","Blanca","Blanche","Blaze","Bo","Bobbie","Bobby","Bonita","Bonnie","Boris","Boyd","Brad","Braden","Bradford","Bradley","Bradly","Brady","Braeden","Brain","Brandi","Brando","Brandon","Brandt","Brandy","Brandyn","Brannon","Branson","Brant","Braulio","Braxton","Brayan","Breana","Breanna","Breanne","Brenda","Brendan","Brenden","Brendon","Brenna","Brennan","Brennon","Brent","Bret","Brett","Bria","Brian","Briana","Brianne","Brice","Bridget","Bridgette","Bridie","Brielle","Brigitte","Brionna","Brisa","Britney","Brittany","Brock","Broderick","Brody","Brook","Brooke","Brooklyn","Brooks","Brown","Bruce","Bryana","Bryce","Brycen","Bryon","Buck","Bud","Buddy","Buford","Bulah","Burdette","Burley","Burnice","Buster","Cade","Caden","Caesar","Caitlyn","Cale","Caleb","Caleigh","Cali","Calista","Callie","Camden","Cameron","Camila","Camilla","Camille","Camren","Camron","Camryn","Camylle","Candace","Candelario","Candice","Candida","Candido","Cara","Carey","Carissa","Carlee","Carleton","Carley","Carli","Carlie","Carlo","Carlos","Carlotta","Carmel","Carmela","Carmella","Carmelo","Carmen","Carmine","Carol","Carolanne","Carole","Carolina","Caroline","Carolyn","Carolyne","Carrie","Carroll","Carson","Carter","Cary","Casandra","Casey","Casimer","Casimir","Casper","Cassandra","Cassandre","Cassidy","Cassie","Catalina","Caterina","Catharine","Catherine","Cathrine","Cathryn","Cathy","Cayla","Ceasar","Cecelia","Cecil","Cecile","Cecilia","Cedrick","Celestine","Celestino","Celia","Celine","Cesar","Chad","Chadd","Chadrick","Chaim","Chance","Chandler","Chanel","Chanelle","Charity","Charlene","Charles","Charley","Charlie","Charlotte","Chase","Chasity","Chauncey","Chaya","Chaz","Chelsea","Chelsey","Chelsie","Chesley","Chester","Chet","Cheyanne","Cheyenne","Chloe","Chris","Christ","Christa","Christelle","Christian","Christiana","Christina","Christine","Christop","Christophe","Christopher","Christy","Chyna","Ciara","Cicero","Cielo","Cierra","Cindy","Citlalli","Clair","Claire","Clara","Clarabelle","Clare","Clarissa","Clark","Claud","Claude","Claudia","Claudie","Claudine","Clay","Clemens","Clement","Clementina","Clementine","Clemmie","Cleo","Cleora","Cleta","Cletus","Cleve","Cleveland","Clifford","Clifton","Clint","Clinton","Clotilde","Clovis","Cloyd","Clyde","Coby","Cody","Colby","Cole","Coleman","Colin","Colleen","Collin","Colt","Colten","Colton","Columbus","Concepcion","Conner","Connie","Connor","Conor","Conrad","Constance","Constantin","Consuelo","Cooper","Cora","Coralie","Corbin","Cordelia","Cordell","Cordia","Cordie","Corene","Corine","Cornelius","Cornell","Corrine","Cortez","Cortney","Cory","Coty","Courtney","Coy","Craig","Crawford","Creola","Cristal","Cristian","Cristina","Cristobal","Cristopher","Cruz","Crystal","Crystel","Cullen","Curt","Curtis","Cydney","Cynthia","Cyril","Cyrus","Dagmar","Dahlia","Daija","Daisha","Daisy","Dakota","Dale","Dallas","Dallin","Dalton","Damaris","Dameon","Damian","Damien","Damion","Damon","Dan","Dana","Dandre","Dane","D'angelo","Dangelo","Danial","Daniela","Daniella","Danielle","Danika","Dannie","Danny","Dante","Danyka","Daphne","Daphnee","Daphney","Darby","Daren","Darian","Dariana","Darien","Dario","Darion","Darius","Darlene","Daron","Darrel","Darrell","Darren","Darrick","Darrin","Darrion","Darron","Darryl","Darwin","Daryl","Dashawn","Dasia","Dave","David","Davin","Davion","Davon","Davonte","Dawn","Dawson","Dax","Dayana","Dayna","Dayne","Dayton","Dean","Deangelo","Deanna","Deborah","Declan","Dedric","Dedrick","Dee","Deion","Deja","Dejah","Dejon","Dejuan","Delaney","Delbert","Delfina","Delia","Delilah","Dell","Della","Delmer","Delores","Delpha","Delphia","Delphine","Delta","Demarco","Demarcus","Demario","Demetris","Demetrius","Demond","Dena","Denis","Dennis","Deon","Deondre","Deontae","Deonte","Dereck","Derek","Derick","Deron","Derrick","Deshaun","Deshawn","Desiree","Desmond","Dessie","Destany","Destin","Destinee","Destiney","Destini","Destiny","Devan","Devante","Deven","Devin","Devon","Devonte","Devyn","Dewayne","Dewitt","Dexter","Diamond","Diana","Dianna","Diego","Dillan","Dillon","Dimitri","Dina","Dino","Dion","Dixie","Dock","Dolly","Dolores","Domenic","Domenica","Domenick","Domenico","Domingo","Dominic","Dominique","Don","Donald","Donato","Donavon","Donna","Donnell","Donnie","Donny","Dora","Dorcas","Dorian","Doris","Dorothea","Dorothy","Dorris","Dortha","Dorthy","Doug","Douglas","Dovie","Doyle","Drake","Drew","Duane","Dudley","Dulce","Duncan","Durward","Dustin","Dusty","Dwight","Dylan","Earl","Earlene","Earline","Earnest","Earnestine","Easter","Easton","Ebba","Ebony","Ed","Eda","Edd","Eddie","Eden","Edgar","Edgardo","Edison","Edmond","Edmund","Edna","Eduardo","Edward","Edwardo","Edwin","Edwina","Edyth","Edythe","Effie","Efrain","Efren","Eileen","Einar","Eino","Eladio","Elaina","Elbert","Elda","Eldon","Eldora","Eldred","Eldridge","Eleanora","Eleanore","Eleazar","Electa","Elena","Elenor","Elenora","Eleonore","Elfrieda","Eli","Elian","Eliane","Elias","Eliezer","Elijah","Elinor","Elinore","Elisa","Elisabeth","Elise","Eliseo","Elisha","Elissa","Eliza","Elizabeth","Ella","Ellen","Ellie","Elliot","Elliott","Ellis","Ellsworth","Elmer","Elmira","Elmo","Elmore","Elna","Elnora","Elody","Eloisa","Eloise","Elouise","Eloy","Elroy","Elsa","Else","Elsie","Elta","Elton","Elva","Elvera","Elvie","Elvis","Elwin","Elwyn","Elyse","Elyssa","Elza","Emanuel","Emelia","Emelie","Emely","Emerald","Emerson","Emery","Emie","Emil","Emile","Emilia","Emiliano","Emilie","Emilio","Emily","Emma","Emmalee","Emmanuel","Emmanuelle","Emmet","Emmett","Emmie","Emmitt","Emmy","Emory","Ena","Enid","Enoch","Enola","Enos","Enrico","Enrique","Ephraim","Era","Eriberto","Eric","Erica","Erich","Erick","Ericka","Erik","Erika","Erin","Erling","Erna","Ernest","Ernestina","Ernestine","Ernesto","Ernie","Ervin","Erwin","Eryn","Esmeralda","Esperanza","Esta","Esteban","Estefania","Estel","Estell","Estella","Estelle","Estevan","Esther","Estrella","Etha","Ethan","Ethel","Ethelyn","Ethyl","Ettie","Eudora","Eugene","Eugenia","Eula","Eulah","Eulalia","Euna","Eunice","Eusebio","Eva","Evalyn","Evan","Evangeline","Evans","Eve","Eveline","Evelyn","Everardo","Everett","Everette","Evert","Evie","Ewald","Ewell","Ezekiel","Ezequiel","Ezra","Fabian","Fabiola","Fae","Fannie","Fanny","Fatima","Faustino","Fausto","Favian","Fay","Faye","Federico","Felicia","Felicita","Felicity","Felipa","Felipe","Felix","Felton","Fermin","Fern","Fernando","Ferne","Fidel","Filiberto","Filomena","Finn","Fiona","Flavie","Flavio","Fleta","Fletcher","Flo","Florence","Florencio","Florian","Florida","Florine","Flossie","Floy","Floyd","Ford","Forest","Forrest","Foster","Frances","Francesca","Francesco","Francis","Francisca","Francisco","Franco","Frank","Frankie","Franz","Fred","Freda","Freddie","Freddy","Frederic","Frederick","Frederik","Frederique","Fredrick","Fredy","Freeda","Freeman","Freida","Frida","Frieda","Friedrich","Fritz","Furman","Gabe","Gabriel","Gabriella","Gabrielle","Gaetano","Gage","Gail","Gardner","Garett","Garfield","Garland","Garnet","Garnett","Garret","Garrett","Garrick","Garrison","Garry","Garth","Gaston","Gavin","Gayle","Gene","General","Genesis","Genevieve","Gennaro","Genoveva","Geo","Geoffrey","George","Georgette","Georgiana","Georgianna","Geovanni","Geovanny","Geovany","Gerald","Geraldine","Gerard","Gerardo","Gerda","Gerhard","Germaine","German","Gerry","Gerson","Gertrude","Gia","Gianni","Gideon","Gilbert","Gilberto","Gilda","Giles","Gillian","Gina","Gino","Giovani","Giovanna","Giovanni","Giovanny","Gisselle","Giuseppe","Gladyce","Gladys","Glen","Glenda","Glenna","Glennie","Gloria","Godfrey","Golda","Golden","Gonzalo","Gordon","Grace","Gracie","Graciela","Grady","Graham","Grant","Granville","Grayce","Grayson","Green","Greg","Gregg","Gregoria","Gregorio","Gregory","Greta","Gretchen","Greyson","Griffin","Grover","Guadalupe","Gudrun","Guido","Guillermo","Guiseppe","Gunnar","Gunner","Gus","Gussie","Gust","Gustave","Guy","Gwen","Gwendolyn","Hadley","Hailee","Hailey","Hailie","Hal","Haleigh","Haley","Halie","Halle","Hallie","Hank","Hanna","Hannah","Hans","Hardy","Harley","Harmon","Harmony","Harold","Harrison","Harry","Harvey","Haskell","Hassan","Hassie","Hattie","Haven","Hayden","Haylee","Hayley","Haylie","Hazel","Hazle","Heath","Heather","Heaven","Heber","Hector","Heidi","Helen","Helena","Helene","Helga","Hellen","Helmer","Heloise","Henderson","Henri","Henriette","Henry","Herbert","Herman","Hermann","Hermina","Herminia","Herminio","Hershel","Herta","Hertha","Hester","Hettie","Hilario","Hilbert","Hilda","Hildegard","Hillard","Hillary","Hilma","Hilton","Hipolito","Hiram","Hobart","Holden","Hollie","Hollis","Holly","Hope","Horace","Horacio","Hortense","Hosea","Houston","Howard","Howell","Hoyt","Hubert","Hudson","Hugh","Hulda","Humberto","Hunter","Hyman","Ian","Ibrahim","Icie","Ida","Idell","Idella","Ignacio","Ignatius","Ike","Ila","Ilene","Iliana","Ima","Imani","Imelda","Immanuel","Imogene","Ines","Irma","Irving","Irwin","Isaac","Isabel","Isabell","Isabella","Isabelle","Isac","Isadore","Isai","Isaiah","Isaias","Isidro","Ismael","Isobel","Isom","Israel","Issac","Itzel","Iva","Ivah","Ivory","Ivy","Izabella","Izaiah","Jabari","Jace","Jacey","Jacinthe","Jacinto","Jack","Jackeline","Jackie","Jacklyn","Jackson","Jacky","Jaclyn","Jacquelyn","Jacques","Jacynthe","Jada","Jade","Jaden","Jadon","Jadyn","Jaeden","Jaida","Jaiden","Jailyn","Jaime","Jairo","Jakayla","Jake","Jakob","Jaleel","Jalen","Jalon","Jalyn","Jamaal","Jamal","Jamar","Jamarcus","Jamel","Jameson","Jamey","Jamie","Jamil","Jamir","Jamison","Jammie","Jan","Jana","Janae","Jane","Janelle","Janessa","Janet","Janice","Janick","Janie","Janis","Janiya","Jannie","Jany","Jaquan","Jaquelin","Jaqueline","Jared","Jaren","Jarod","Jaron","Jarred","Jarrell","Jarret","Jarrett","Jarrod","Jarvis","Jasen","Jasmin","Jason","Jasper","Jaunita","Javier","Javon","Javonte","Jay","Jayce","Jaycee","Jayda","Jayde","Jayden","Jaydon","Jaylan","Jaylen","Jaylin","Jaylon","Jayme","Jayne","Jayson","Jazlyn","Jazmin","Jazmyn","Jazmyne","Jean","Jeanette","Jeanie","Jeanne","Jed","Jedediah","Jedidiah","Jeff","Jefferey","Jeffery","Jeffrey","Jeffry","Jena","Jenifer","Jennie","Jennifer","Jennings","Jennyfer","Jensen","Jerad","Jerald","Jeramie","Jeramy","Jerel","Jeremie","Jeremy","Jermain","Jermaine","Jermey","Jerod","Jerome","Jeromy","Jerrell","Jerrod","Jerrold","Jerry","Jess","Jesse","Jessica","Jessie","Jessika","Jessy","Jessyca","Jesus","Jett","Jettie","Jevon","Jewel","Jewell","Jillian","Jimmie","Jimmy","Jo","Joan","Joana","Joanie","Joanne","Joannie","Joanny","Joany","Joaquin","Jocelyn","Jodie","Jody","Joe","Joel","Joelle","Joesph","Joey","Johan","Johann","Johanna","Johathan","John","Johnathan","Johnathon","Johnnie","Johnny","Johnpaul","Johnson","Jolie","Jon","Jonas","Jonatan","Jonathan","Jonathon","Jordan","Jordane","Jordi","Jordon","Jordy","Jordyn","Jorge","Jose","Josefa","Josefina","Joseph","Josephine","Josh","Joshua","Joshuah","Josiah","Josiane","Josianne","Josie","Josue","Jovan","Jovani","Jovanny","Jovany","Joy","Joyce","Juana","Juanita","Judah","Judd","Jude","Judge","Judson","Judy","Jules","Julia","Julian","Juliana","Julianne","Julie","Julien","Juliet","Julio","Julius","June","Junior","Junius","Justen","Justice","Justina","Justine","Juston","Justus","Justyn","Juvenal","Juwan","Kacey","Kaci","Kacie","Kade","Kaden","Kadin","Kaela","Kaelyn","Kaia","Kailee","Kailey","Kailyn","Kaitlin","Kaitlyn","Kale","Kaleb","Kaleigh","Kaley","Kali","Kallie","Kameron","Kamille","Kamren","Kamron","Kamryn","Kane","Kara","Kareem","Karelle","Karen","Kari","Kariane","Karianne","Karina","Karine","Karl","Karlee","Karley","Karli","Karlie","Karolann","Karson","Kasandra","Kasey","Kassandra","Katarina","Katelin","Katelyn","Katelynn","Katharina","Katherine","Katheryn","Kathleen","Kathlyn","Kathryn","Kathryne","Katlyn","Katlynn","Katrina","Katrine","Kattie","Kavon","Kay","Kaya","Kaycee","Kayden","Kayla","Kaylah","Kaylee","Kayleigh","Kayley","Kayli","Kaylie","Kaylin","Keagan","Keanu","Keara","Keaton","Keegan","Keeley","Keely","Keenan","Keira","Keith","Kellen","Kelley","Kelli","Kellie","Kelly","Kelsi","Kelsie","Kelton","Kelvin","Ken","Kendall","Kendra","Kendrick","Kenna","Kennedi","Kennedy","Kenneth","Kennith","Kenny","Kenton","Kenya","Kenyatta","Kenyon","Keon","Keshaun","Keshawn","Keven","Kevin","Kevon","Keyon","Keyshawn","Khalid","Khalil","Kian","Kiana","Kianna","Kiara","Kiarra","Kiel","Kiera","Kieran","Kiley","Kim","Kimberly","King","Kip","Kira","Kirk","Kirsten","Kirstin","Kitty","Kobe","Koby","Kody","Kolby","Kole","Korbin","Korey","Kory","Kraig","Kris","Krista","Kristian","Kristin","Kristina","Kristofer","Kristoffer","Kristopher","Kristy","Krystal","Krystel","Krystina","Kurt","Kurtis","Kyla","Kyle","Kylee","Kyleigh","Kyler","Kylie","Kyra","Lacey","Lacy","Ladarius","Lafayette","Laila","Laisha","Lamar","Lambert","Lamont","Lance","Landen","Lane","Laney","Larissa","Laron","Larry","Larue","Laura","Laurel","Lauren","Laurence","Lauretta","Lauriane","Laurianne","Laurie","Laurine","Laury","Lauryn","Lavada","Lavern","Laverna","Laverne","Lavina","Lavinia","Lavon","Lavonne","Lawrence","Lawson","Layla","Layne","Lazaro","Lea","Leann","Leanna","Leanne","Leatha","Leda","Lee","Leif","Leila","Leilani","Lela","Lelah","Leland","Lelia","Lempi","Lemuel","Lenna","Lennie","Lenny","Lenora","Lenore","Leo","Leola","Leon","Leonard","Leonardo","Leone","Leonel","Leonie","Leonor","Leonora","Leopold","Leopoldo","Leora","Lera","Lesley","Leslie","Lesly","Lessie","Lester","Leta","Letha","Letitia","Levi","Lew","Lewis","Lexi","Lexie","Lexus","Lia","Liam","Liana","Libbie","Libby","Lila","Lilian","Liliana","Liliane","Lilla","Lillian","Lilliana","Lillie","Lilly","Lily","Lilyan","Lina","Lincoln","Linda","Lindsay","Lindsey","Linnea","Linnie","Linwood","Lionel","Lisa","Lisandro","Lisette","Litzy","Liza","Lizeth","Lizzie","Llewellyn","Lloyd","Logan","Lois","Lola","Lolita","Loma","Lon","London","Lonie","Lonnie","Lonny","Lonzo","Lora","Loraine","Loren","Lorena","Lorenz","Lorenza","Lorenzo","Lori","Lorine","Lorna","Lottie","Lou","Louie","Louisa","Lourdes","Louvenia","Lowell","Loy","Loyal","Loyce","Lucas","Luciano","Lucie","Lucienne","Lucile","Lucinda","Lucio","Lucious","Lucius","Lucy","Ludie","Ludwig","Lue","Luella","Luigi","Luis","Luisa","Lukas","Lula","Lulu","Luna","Lupe","Lura","Lurline","Luther","Luz","Lyda","Lydia","Lyla","Lynn","Lyric","Lysanne","Mabel","Mabelle","Mable","Mac","Macey","Maci","Macie","Mack","Mackenzie","Macy","Madaline","Madalyn","Maddison","Madeline","Madelyn","Madelynn","Madge","Madie","Madilyn","Madisen","Madison","Madisyn","Madonna","Madyson","Mae","Maegan","Maeve","Mafalda","Magali","Magdalen","Magdalena","Maggie","Magnolia","Magnus","Maia","Maida","Maiya","Major","Makayla","Makenna","Makenzie","Malachi","Malcolm","Malika","Malinda","Mallie","Mallory","Malvina","Mandy","Manley","Manuel","Manuela","Mara","Marc","Marcel","Marcelina","Marcelino","Marcella","Marcelle","Marcellus","Marcelo","Marcia","Marco","Marcos","Marcus","Margaret","Margarete","Margarett","Margaretta","Margarette","Margarita","Marge","Margie","Margot","Margret","Marguerite","Maria","Mariah","Mariam","Marian","Mariana","Mariane","Marianna","Marianne","Mariano","Maribel","Marie","Mariela","Marielle","Marietta","Marilie","Marilou","Marilyne","Marina","Mario","Marion","Marisa","Marisol","Maritza","Marjolaine","Marjorie","Marjory","Mark","Markus","Marlee","Marlen","Marlene","Marley","Marlin","Marlon","Marques","Marquis","Marquise","Marshall","Marta","Martin","Martina","Martine","Marty","Marvin","Mary","Maryam","Maryjane","Maryse","Mason","Mateo","Mathew","Mathias","Mathilde","Matilda","Matilde","Matt","Matteo","Mattie","Maud","Maude","Maudie","Maureen","Maurice","Mauricio","Maurine","Maverick","Mavis","Max","Maxie","Maxime","Maximilian","Maximillia","Maximillian","Maximo","Maximus","Maxine","Maxwell","May","Maya","Maybell","Maybelle","Maye","Maymie","Maynard","Mayra","Mazie","Mckayla","Mckenna","Mckenzie","Meagan","Meaghan","Meda","Megane","Meggie","Meghan","Mekhi","Melany","Melba","Melisa","Melissa","Mellie","Melody","Melvin","Melvina","Melyna","Melyssa","Mercedes","Meredith","Merl","Merle","Merlin","Merritt","Mertie","Mervin","Meta","Mia","Micaela","Micah","Michael","Michaela","Michale","Micheal","Michel","Michele","Michelle","Miguel","Mikayla","Mike","Mikel","Milan","Miles","Milford","Miller","Millie","Milo","Milton","Mina","Minerva","Minnie","Miracle","Mireille","Mireya","Misael","Missouri","Misty","Mitchel","Mitchell","Mittie","Modesta","Modesto","Mohamed","Mohammad","Mohammed","Moises","Mollie","Molly","Mona","Monica","Monique","Monroe","Monserrat","Monserrate","Montana","Monte","Monty","Morgan","Moriah","Morris","Mortimer","Morton","Mose","Moses","Moshe","Mossie","Mozell","Mozelle","Muhammad","Muriel","Murl","Murphy","Murray","Mustafa","Mya","Myah","Mylene","Myles","Myra","Myriam","Myrl","Myrna","Myron","Myrtice","Myrtie","Myrtis","Myrtle","Nadia","Nakia","Name","Nannie","Naomi","Naomie","Napoleon","Narciso","Nash","Nasir","Nat","Natalia","Natalie","Natasha","Nathan","Nathanael","Nathanial","Nathaniel","Nathen","Nayeli","Neal","Ned","Nedra","Neha","Neil","Nelda","Nella","Nelle","Nellie","Nels","Nelson","Neoma","Nestor","Nettie","Neva","Newell","Newton","Nia","Nicholas","Nicholaus","Nichole","Nick","Nicklaus","Nickolas","Nico","Nicola","Nicolas","Nicole","Nicolette","Nigel","Nikita","Nikki","Nikko","Niko","Nikolas","Nils","Nina","Noah","Noble","Noe","Noel","Noelia","Noemi","Noemie","Noemy","Nola","Nolan","Nona","Nora","Norbert","Norberto","Norene","Norma","Norris","Norval","Norwood","Nova","Novella","Nya","Nyah","Nyasia","Obie","Oceane","Ocie","Octavia","Oda","Odell","Odessa","Odie","Ofelia","Okey","Ola","Olaf","Ole","Olen","Oleta","Olga","Olin","Oliver","Ollie","Oma","Omari","Omer","Ona","Onie","Opal","Ophelia","Ora","Oral","Oran","Oren","Orie","Orin","Orion","Orland","Orlando","Orlo","Orpha","Orrin","Orval","Orville","Osbaldo","Osborne","Oscar","Osvaldo","Oswald","Oswaldo","Otha","Otho","Otilia","Otis","Ottilie","Ottis","Otto","Ova","Owen","Ozella","Pablo","Paige","Palma","Pamela","Pansy","Paolo","Paris","Parker","Pascale","Pasquale","Pat","Patience","Patricia","Patrick","Patsy","Pattie","Paul","Paula","Pauline","Paxton","Payton","Pearl","Pearlie","Pearline","Pedro","Peggie","Penelope","Percival","Percy","Perry","Pete","Peter","Petra","Peyton","Philip","Phoebe","Phyllis","Pierce","Pierre","Pietro","Pink","Pinkie","Piper","Polly","Porter","Precious","Presley","Preston","Price","Prince","Princess","Priscilla","Providenci","Prudence","Queen","Queenie","Quentin","Quincy","Quinn","Quinten","Quinton","Rachael","Rachel","Rachelle","Rae","Raegan","Rafael","Rafaela","Raheem","Rahsaan","Rahul","Raina","Raleigh","Ralph","Ramiro","Ramon","Ramona","Randal","Randall","Randi","Randy","Ransom","Raoul","Raphael","Raphaelle","Raquel","Rashad","Rashawn","Rasheed","Raul","Raven","Ray","Raymond","Raymundo","Reagan","Reanna","Reba","Rebeca","Rebecca","Rebeka","Rebekah","Reece","Reed","Reese","Regan","Reggie","Reginald","Reid","Reilly","Reina","Reinhold","Remington","Rene","Renee","Ressie","Reta","Retha","Retta","Reuben","Reva","Rex","Rey","Reyes","Reymundo","Reyna","Reynold","Rhea","Rhett","Rhianna","Rhiannon","Rhoda","Ricardo","Richard","Richie","Richmond","Rick","Rickey","Rickie","Ricky","Rico","Rigoberto","Riley","Rita","River","Robb","Robbie","Robert","Roberta","Roberto","Robin","Robyn","Rocio","Rocky","Rod","Roderick","Rodger","Rodolfo","Rodrick","Rodrigo","Roel","Rogelio","Roger","Rogers","Rolando","Rollin","Roma","Romaine","Roman","Ron","Ronaldo","Ronny","Roosevelt","Rory","Rosa","Rosalee","Rosalia","Rosalind","Rosalinda","Rosalyn","Rosamond","Rosanna","Rosario","Roscoe","Rose","Rosella","Roselyn","Rosemarie","Rosemary","Rosendo","Rosetta","Rosie","Rosina","Roslyn","Ross","Rossie","Rowan","Rowena","Rowland","Roxane","Roxanne","Roy","Royal","Royce","Rozella","Ruben","Rubie","Ruby","Rubye","Rudolph","Rudy","Rupert","Russ","Russel","Russell","Rusty","Ruth","Ruthe","Ruthie","Ryan","Ryann","Ryder","Rylan","Rylee","Ryleigh","Ryley","Sabina","Sabrina","Sabryna","Sadie","Sadye","Sage","Saige","Sallie","Sally","Salma","Salvador","Salvatore","Sam","Samanta","Samantha","Samara","Samir","Sammie","Sammy","Samson","Sandra","Sandrine","Sandy","Sanford","Santa","Santiago","Santina","Santino","Santos","Sarah","Sarai","Sarina","Sasha","Saul","Savanah","Savanna","Savannah","Savion","Scarlett","Schuyler","Scot","Scottie","Scotty","Seamus","Sean","Sebastian","Sedrick","Selena","Selina","Selmer","Serena","Serenity","Seth","Shad","Shaina","Shakira","Shana","Shane","Shanel","Shanelle","Shania","Shanie","Shaniya","Shanna","Shannon","Shanny","Shanon","Shany","Sharon","Shaun","Shawn","Shawna","Shaylee","Shayna","Shayne","Shea","Sheila","Sheldon","Shemar","Sheridan","Sherman","Sherwood","Shirley","Shyann","Shyanne","Sibyl","Sid","Sidney","Sienna","Sierra","Sigmund","Sigrid","Sigurd","Silas","Sim","Simeon","Simone","Sincere","Sister","Skye","Skyla","Skylar","Sofia","Soledad","Solon","Sonia","Sonny","Sonya","Sophia","Sophie","Spencer","Stacey","Stacy","Stan","Stanford","Stanley","Stanton","Stefan","Stefanie","Stella","Stephan","Stephania","Stephanie","Stephany","Stephen","Stephon","Sterling","Steve","Stevie","Stewart","Stone","Stuart","Summer","Sunny","Susan","Susana","Susanna","Susie","Suzanne","Sven","Syble","Sydnee","Sydney","Sydni","Sydnie","Sylvan","Sylvester","Sylvia","Tabitha","Tad","Talia","Talon","Tamara","Tamia","Tania","Tanner","Tanya","Tara","Taryn","Tate","Tatum","Tatyana","Taurean","Tavares","Taya","Taylor","Teagan","Ted","Telly","Terence","Teresa","Terrance","Terrell","Terrence","Terrill","Terry","Tess","Tessie","Tevin","Thad","Thaddeus","Thalia","Thea","Thelma","Theo","Theodora","Theodore","Theresa","Therese","Theresia","Theron","Thomas","Thora","Thurman","Tia","Tiana","Tianna","Tiara","Tierra","Tiffany","Tillman","Timmothy","Timmy","Timothy","Tina","Tito","Titus","Tobin","Toby","Tod","Tom","Tomas","Tomasa","Tommie","Toney","Toni","Tony","Torey","Torrance","Torrey","Toy","Trace","Tracey","Tracy","Travis","Travon","Tre","Tremaine","Tremayne","Trent","Trenton","Tressa","Tressie","Treva","Trever","Trevion","Trevor","Trey","Trinity","Trisha","Tristian","Tristin","Triston","Troy","Trudie","Trycia","Trystan","Turner","Twila","Tyler","Tyra","Tyree","Tyreek","Tyrel","Tyrell","Tyrese","Tyrique","Tyshawn","Tyson","Ubaldo","Ulices","Ulises","Una","Unique","Urban","Uriah","Uriel","Ursula","Vada","Valentin","Valentina","Valentine","Valerie","Vallie","Van","Vance","Vanessa","Vaughn","Veda","Velda","Vella","Velma","Velva","Vena","Verda","Verdie","Vergie","Verla","Verlie","Vern","Verna","Verner","Vernice","Vernie","Vernon","Verona","Veronica","Vesta","Vicenta","Vicente","Vickie","Vicky","Victor","Victoria","Vida","Vidal","Vilma","Vince","Vincent","Vincenza","Vincenzo","Vinnie","Viola","Violet","Violette","Virgie","Virgil","Virginia","Virginie","Vita","Vito","Viva","Vivian","Viviane","Vivianne","Vivien","Vivienne","Vladimir","Wade","Waino","Waldo","Walker","Wallace","Walter","Walton","Wanda","Ward","Warren","Watson","Wava","Waylon","Wayne","Webster","Weldon","Wellington","Wendell","Wendy","Werner","Westley","Weston","Whitney","Wilber","Wilbert","Wilburn","Wiley","Wilford","Wilfred","Wilfredo","Wilfrid","Wilhelm","Wilhelmine","Will","Willa","Willard","William","Willie","Willis","Willow","Willy","Wilma","Wilmer","Wilson","Wilton","Winfield","Winifred","Winnifred","Winona","Winston","Woodrow","Wyatt","Wyman","Xander","Xavier","Xzavier","Yadira","Yasmeen","Yasmin","Yasmine","Yazmin","Yesenia","Yessenia","Yolanda","Yoshiko","Yvette","Yvonne","Zachariah","Zachary","Zachery","Zack","Zackary","Zackery","Zakary","Zander","Zane","Zaria","Zechariah","Zelda","Zella","Zelma","Zena","Zetta","Zion","Zita","Zoe","Zoey","Zoie","Zoila","Zola","Zora","Zula"],Oo=["Agender","Androgyne","Androgynous","Bigender","Cis female","Cis male","Cis man","Cis woman","Cis","Cisgender female","Cisgender male","Cisgender man","Cisgender woman","Cisgender","Demi-boy","Demi-girl","Demi-man","Demi-woman","Demiflux","Demigender","F2M","FTM","Female to male trans man","Female to male transgender man","Female to male transsexual man","Female to male","Gender fluid","Gender neutral","Gender nonconforming","Gender questioning","Gender variant","Genderflux","Genderqueer","Hermaphrodite","Intersex man","Intersex person","Intersex woman","Intersex","M2F","MTF","Male to female trans woman","Male to female transgender woman","Male to female transsexual woman","Male to female","Man","Multigender","Neither","Neutrois","Non-binary","Omnigender","Other","Pangender","Polygender","T* man","T* woman","Trans female","Trans male","Trans man","Trans person","Trans woman","Trans","Transexual female","Transexual male","Transexual man","Transexual person","Transexual woman","Transexual","Transgender female","Transgender person","Transmasculine","Trigender","Two* person","Two-spirit person","Two-spirit","Woman","Xenogender"],Ko=["{{person.jobDescriptor}} {{person.jobArea}} {{person.jobType}}"],Jo=["Abbott","Abernathy","Abshire","Adams","Altenwerth","Anderson","Ankunding","Armstrong","Auer","Aufderhar","Bahringer","Bailey","Balistreri","Barrows","Bartell","Bartoletti","Barton","Bashirian","Batz","Bauch","Baumbach","Bayer","Beahan","Beatty","Bechtelar","Becker","Bednar","Beer","Beier","Berge","Bergnaum","Bergstrom","Bernhard","Bernier","Bins","Blanda","Blick","Block","Bode","Boehm","Bogan","Bogisich","Borer","Bosco","Botsford","Boyer","Boyle","Bradtke","Brakus","Braun","Breitenberg","Brekke","Brown","Bruen","Buckridge","Carroll","Carter","Cartwright","Casper","Cassin","Champlin","Christiansen","Cole","Collier","Collins","Conn","Connelly","Conroy","Considine","Corkery","Cormier","Corwin","Cremin","Crist","Crona","Cronin","Crooks","Cruickshank","Cummerata","Cummings","Dach","D'Amore","Daniel","Dare","Daugherty","Davis","Deckow","Denesik","Dibbert","Dickens","Dicki","Dickinson","Dietrich","Donnelly","Dooley","Douglas","Doyle","DuBuque","Durgan","Ebert","Effertz","Emard","Emmerich","Erdman","Ernser","Fadel","Fahey","Farrell","Fay","Feeney","Feest","Feil","Ferry","Fisher","Flatley","Frami","Franecki","Franey","Friesen","Fritsch","Funk","Gerhold","Gerlach","Gibson","Gislason","Gleason","Gleichner","Glover","Goldner","Goodwin","Gorczany","Gottlieb","Goyette","Grady","Graham","Grant","Green","Greenfelder","Greenholt","Grimes","Gulgowski","Gusikowski","Gutkowski","Gutmann","Haag","Hackett","Hagenes","Hahn","Haley","Halvorson","Hamill","Hammes","Hand","Hane","Hansen","Harber","Harris","Hartmann","Harvey","Hauck","Hayes","Heaney","Heathcote","Hegmann","Heidenreich","Heller","Herman","Hermann","Hermiston","Herzog","Hessel","Hettinger","Hickle","Hilll","Hills","Hilpert","Hintz","Hirthe","Hodkiewicz","Hoeger","Homenick","Hoppe","Howe","Howell","Hudson","Huel","Huels","Hyatt","Jacobi","Jacobs","Jacobson","Jakubowski","Jaskolski","Jast","Jenkins","Jerde","Johns","Johnson","Johnston","Jones","Kassulke","Kautzer","Keebler","Keeling","Kemmer","Kerluke","Kertzmann","Kessler","Kiehn","Kihn","Kilback","King","Kirlin","Klein","Kling","Klocko","Koch","Koelpin","Koepp","Kohler","Konopelski","Koss","Kovacek","Kozey","Krajcik","Kreiger","Kris","Kshlerin","Kub","Kuhic","Kuhlman","Kuhn","Kulas","Kunde","Kunze","Kuphal","Kutch","Kuvalis","Labadie","Lakin","Lang","Langosh","Langworth","Larkin","Larson","Leannon","Lebsack","Ledner","Leffler","Legros","Lehner","Lemke","Lesch","Leuschke","Lind","Lindgren","Littel","Little","Lockman","Lowe","Lubowitz","Lueilwitz","Luettgen","Lynch","Macejkovic","MacGyver","Maggio","Mann","Mante","Marks","Marquardt","Marvin","Mayer","Mayert","McClure","McCullough","McDermott","McGlynn","McKenzie","McLaughlin","Medhurst","Mertz","Metz","Miller","Mills","Mitchell","Moen","Mohr","Monahan","Moore","Morar","Morissette","Mosciski","Mraz","Mueller","Muller","Murazik","Murphy","Murray","Nader","Nicolas","Nienow","Nikolaus","Nitzsche","Nolan","Oberbrunner","O'Connell","O'Conner","O'Hara","O'Keefe","O'Kon","Okuneva","Olson","Ondricka","O'Reilly","Orn","Ortiz","Osinski","Pacocha","Padberg","Pagac","Parisian","Parker","Paucek","Pfannerstill","Pfeffer","Pollich","Pouros","Powlowski","Predovic","Price","Prohaska","Prosacco","Purdy","Quigley","Quitzon","Rath","Ratke","Rau","Raynor","Reichel","Reichert","Reilly","Reinger","Rempel","Renner","Reynolds","Rice","Rippin","Ritchie","Robel","Roberts","Rodriguez","Rogahn","Rohan","Rolfson","Romaguera","Roob","Rosenbaum","Rowe","Ruecker","Runolfsdottir","Runolfsson","Runte","Russel","Rutherford","Ryan","Sanford","Satterfield","Sauer","Sawayn","Schaden","Schaefer","Schamberger","Schiller","Schimmel","Schinner","Schmeler","Schmidt","Schmitt","Schneider","Schoen","Schowalter","Schroeder","Schulist","Schultz","Schumm","Schuppe","Schuster","Senger","Shanahan","Shields","Simonis","Sipes","Skiles","Smith","Smitham","Spencer","Spinka","Sporer","Stamm","Stanton","Stark","Stehr","Steuber","Stiedemann","Stokes","Stoltenberg","Stracke","Streich","Stroman","Strosin","Swaniawski","Swift","Terry","Thiel","Thompson","Tillman","Torp","Torphy","Towne","Toy","Trantow","Tremblay","Treutel","Tromp","Turcotte","Turner","Ullrich","Upton","Vandervort","Veum","Volkman","Von","VonRueden","Waelchi","Walker","Walsh","Walter","Ward","Waters","Watsica","Weber","Wehner","Weimann","Weissnat","Welch","West","White","Wiegand","Wilderman","Wilkinson","Will","Williamson","Willms","Windler","Wintheiser","Wisoky","Wisozk","Witting","Wiza","Wolf","Wolff","Wuckert","Wunsch","Wyman","Yost","Yundt","Zboncak","Zemlak","Ziemann","Zieme","Zulauf"],$o=[{value:"{{person.last_name}}",weight:95},{value:"{{person.last_name}}-{{person.last_name}}",weight:5}],Uo=["James","John","Robert","Michael","William","David","Richard","Charles","Joseph","Thomas","Christopher","Daniel","Paul","Mark","Donald","George","Kenneth","Steven","Edward","Brian","Ronald","Anthony","Kevin","Jason","Matthew","Gary","Timothy","Jose","Larry","Jeffrey","Frank","Scott","Eric","Stephen","Andrew","Raymond","Gregory","Joshua","Jerry","Dennis","Walter","Patrick","Peter","Harold","Douglas","Henry","Carl","Arthur","Ryan","Roger","Joe","Juan","Jack","Albert","Jonathan","Justin","Terry","Gerald","Keith","Samuel","Willie","Ralph","Lawrence","Nicholas","Roy","Benjamin","Bruce","Brandon","Adam","Harry","Fred","Wayne","Billy","Steve","Louis","Jeremy","Aaron","Randy","Howard","Eugene","Carlos","Russell","Bobby","Victor","Martin","Ernest","Phillip","Todd","Jesse","Craig","Alan","Shawn","Clarence","Sean","Philip","Chris","Johnny","Earl","Jimmy","Antonio","Danny","Bryan","Tony","Luis","Mike","Stanley","Leonard","Nathan","Dale","Manuel","Rodney","Curtis","Norman","Allen","Marvin","Vincent","Glenn","Jeffery","Travis","Jeff","Chad","Jacob","Lee","Melvin","Alfred","Kyle","Francis","Bradley","Jesus","Herbert","Frederick","Ray","Joel","Edwin","Don","Eddie","Ricky","Troy","Randall","Barry","Alexander","Bernard","Mario","Leroy","Francisco","Marcus","Micheal","Theodore","Clifford","Miguel","Oscar","Jay","Jim","Tom","Calvin","Alex","Jon","Ronnie","Bill","Lloyd","Tommy","Leon","Derek","Warren","Darrell","Jerome","Floyd","Leo","Alvin","Tim","Wesley","Gordon","Dean","Greg","Jorge","Dustin","Pedro","Derrick","Dan","Lewis","Zachary","Corey","Herman","Maurice","Vernon","Roberto","Clyde","Glen","Hector","Shane","Ricardo","Sam","Rick","Lester","Brent","Ramon","Charlie","Tyler","Gilbert","Gene","Marc","Reginald","Ruben","Brett","Angel","Nathaniel","Rafael","Leslie","Edgar","Milton","Raul","Ben","Chester","Cecil","Duane","Franklin","Andre","Elmer","Brad","Gabriel","Ron","Mitchell","Roland","Arnold","Harvey","Jared","Adrian","Karl","Cory","Claude","Erik","Darryl","Jamie","Neil","Jessie","Christian","Javier","Fernando","Clinton","Ted","Mathew","Tyrone","Darren","Lonnie","Lance","Cody","Julio","Kelly","Kurt","Allan","Nelson","Guy","Clayton","Hugh","Max","Dwayne","Dwight","Armando","Felix","Jimmie","Everett","Jordan","Ian","Wallace","Ken","Bob","Jaime","Casey","Alfredo","Alberto","Dave","Ivan","Johnnie","Sidney","Byron","Julian","Isaac","Morris","Clifton","Willard","Daryl","Ross","Virgil","Andy","Marshall","Salvador","Perry","Kirk","Sergio","Marion","Tracy","Seth","Kent","Terrance","Rene","Eduardo","Terrence","Enrique","Freddie","Wade","Austin","Stuart","Fredrick","Arturo","Alejandro","Jackie","Joey","Nick","Luther","Wendell","Jeremiah","Evan","Julius","Dana","Donnie","Otis","Shannon","Trevor","Oliver","Luke","Homer","Gerard","Doug","Kenny","Hubert","Angelo","Shaun","Lyle","Matt","Lynn","Alfonso","Orlando","Rex","Carlton","Ernesto","Cameron","Neal","Pablo","Lorenzo","Omar","Wilbur","Blake","Grant","Horace","Roderick","Kerry","Abraham","Willis","Rickey","Jean","Ira","Andres","Cesar","Johnathan","Malcolm","Rudolph","Damon","Kelvin","Rudy","Preston","Alton","Archie","Marco","Wm","Pete","Randolph","Garry","Geoffrey","Jonathon","Felipe","Bennie","Gerardo","Ed","Dominic","Robin","Loren","Delbert","Colin","Guillermo","Earnest","Lucas","Benny","Noel","Spencer","Rodolfo","Myron","Edmund","Garrett","Salvatore","Cedric","Lowell","Gregg","Sherman","Wilson","Devin","Sylvester","Kim","Roosevelt","Israel","Jermaine","Forrest","Wilbert","Leland","Simon","Guadalupe","Clark","Irving","Carroll","Bryant","Owen","Rufus","Woodrow","Sammy","Kristopher","Mack","Levi","Marcos","Gustavo","Jake","Lionel","Marty","Taylor","Ellis","Dallas","Gilberto","Clint","Nicolas","Laurence","Ismael","Orville","Drew","Jody","Ervin","Dewey","Al","Wilfred","Josh","Hugo","Ignacio","Caleb","Tomas","Sheldon","Erick","Frankie","Stewart","Doyle","Darrel","Rogelio","Terence","Santiago","Alonzo","Elias","Bert","Elbert","Ramiro","Conrad","Pat","Noah","Grady","Phil","Cornelius","Lamar","Rolando","Clay","Percy","Dexter","Bradford","Merle","Darin","Amos","Terrell","Moses","Irvin","Saul","Roman","Darnell","Randal","Tommie","Timmy","Darrin","Winston","Brendan","Toby","Van","Abel","Dominick","Boyd","Courtney","Jan","Emilio","Elijah","Cary","Domingo","Santos","Aubrey","Emmett","Marlon","Emanuel","Jerald","Edmond"],Vo=["Ace","Aiden","Alexander","Ander","Anthony","Asher","August","Aziel","Bear","Beckham","Benjamin","Buddy","Calvin","Carter","Charles","Christopher","Clyde","Cooper","Daniel","David","Dior","Dylan","Elijah","Ellis","Emerson","Ethan","Ezra","Fletcher","Flynn","Gabriel","Grayson","Gus","Hank","Harrison","Hendrix","Henry","Houston","Hudson","Hugh","Isaac","Jack","Jackson","Jacob","Jakobe","James","Jaxon","Jaxtyn","Jayden","John","Joseph","Josiah","Jude","Julian","Karsyn","Kenji","Kobe","Kylo","Lennon","Leo","Levi","Liam","Lincoln","Logan","Louis","Lucas","Lucky","Luke","Mason","Mateo","Matthew","Maverick","Michael","Monroe","Nixon","Ocean","Oliver","Otis","Otto","Owen","Ozzy","Parker","Rocky","Samuel","Sebastian","Sonny","Teddy","Theo","Theodore","Thomas","Truett","Walter","Warren","Watson","William","Wison","Wyatt","Ziggy","Zyair"],Fa=["Mr.","Dr."],Yo=["Addison","Alex","Anderson","Angel","Arden","August","Austin","Avery","Bailey","Billie","Blake","Bowie","Brooklyn","Cameron","Charlie","Corey","Dakota","Drew","Elliott","Ellis","Emerson","Finley","Gray","Greer","Harper","Hayden","Jaden","James","Jamie","Jordan","Jules","Kai","Kendall","Kennedy","Kyle","Leslie","Logan","London","Marlowe","Micah","Nico","Noah","North","Parker","Phoenix","Quinn","Reagan","Reese","Reign","Riley","River","Robin","Rory","Rowan","Ryan","Sage","Sasha","Sawyer","Shawn","Shiloh","Skyler","Taylor"],Zo=[{value:"{{person.firstName}} {{person.lastName}}",weight:49},{value:"{{person.prefix}} {{person.firstName}} {{person.lastName}}",weight:7},{value:"{{person.firstName}} {{person.lastName}} {{person.suffix}}",weight:7},{value:"{{person.prefix}} {{person.firstName}} {{person.lastName}} {{person.suffix}}",weight:1}];function Xo(...a){return[...new Set(a.flat())].sort()}var Qo=Xo(ha,Fa),eg=["female","male"],ag=["Jr.","Sr.","I","II","III","IV","V","MD","DDS","PhD","DVM"],ig={descriptor:["Lead","Senior","Direct","Corporate","Dynamic","Future","Product","National","Regional","District","Central","Global","Customer","Investor","International","Legacy","Forward","Internal","Human","Chief","Principal"],level:["Solutions","Program","Brand","Security","Research","Marketing","Directives","Implementation","Integration","Functionality","Response","Paradigm","Tactics","Identity","Markets","Group","Division","Applications","Optimization","Operations","Infrastructure","Intranet","Communications","Web","Branding","Quality","Assurance","Mobility","Accounts","Data","Creative","Configuration","Accountability","Interactions","Factors","Usability","Metrics"],job:["Supervisor","Associate","Executive","Liaison","Officer","Manager","Engineer","Specialist","Director","Coordinator","Administrator","Architect","Analyst","Designer","Planner","Orchestrator","Technician","Developer","Producer","Consultant","Assistant","Facilitator","Agent","Representative","Strategist"]},tg=["Aquarius","Pisces","Aries","Taurus","Gemini","Cancer","Leo","Virgo","Libra","Scorpio","Sagittarius","Capricorn"],ng={bio_part:Io,bio_pattern:No,bio_supporter:qo,female_first_name:Go,female_middle_name:Wo,female_prefix:ha,first_name:_o,gender:Oo,job_title_pattern:Ko,last_name:Jo,last_name_pattern:$o,male_first_name:Uo,male_middle_name:Vo,male_prefix:Fa,middle_name:Yo,name:Zo,prefix:Qo,sex:eg,suffix:ag,title:ig,western_zodiac_sign:tg},og=ng,gg=["!##-!##-####","(!##) !##-####","1-!##-!##-####","!##.!##.####","!##-!##-#### x###","(!##) !##-#### x###","1-!##-!##-#### x###","!##.!##.#### x###","!##-!##-#### x####","(!##) !##-#### x####","1-!##-!##-#### x####","!##.!##.#### x####","!##-!##-#### x#####","(!##) !##-#### x#####","1-!##-!##-#### x#####","!##.!##.#### x#####"],sg={formats:gg},ug=sg,rg=Object.freeze([{symbol:"H",name:"Hydrogen",atomicNumber:1},{symbol:"He",name:"Helium",atomicNumber:2},{symbol:"Li",name:"Lithium",atomicNumber:3},{symbol:"Be",name:"Beryllium",atomicNumber:4},{symbol:"B",name:"Boron",atomicNumber:5},{symbol:"C",name:"Carbon",atomicNumber:6},{symbol:"N",name:"Nitrogen",atomicNumber:7},{symbol:"O",name:"Oxygen",atomicNumber:8},{symbol:"F",name:"Fluorine",atomicNumber:9},{symbol:"Ne",name:"Neon",atomicNumber:10},{symbol:"Na",name:"Sodium",atomicNumber:11},{symbol:"Mg",name:"Magnesium",atomicNumber:12},{symbol:"Al",name:"Aluminium",atomicNumber:13},{symbol:"Si",name:"Silicon",atomicNumber:14},{symbol:"P",name:"Phosphorus",atomicNumber:15},{symbol:"S",name:"Sulfur",atomicNumber:16},{symbol:"Cl",name:"Chlorine",atomicNumber:17},{symbol:"Ar",name:"Argon",atomicNumber:18},{symbol:"K",name:"Potassium",atomicNumber:19},{symbol:"Ca",name:"Calcium",atomicNumber:20},{symbol:"Sc",name:"Scandium",atomicNumber:21},{symbol:"Ti",name:"Titanium",atomicNumber:22},{symbol:"V",name:"Vanadium",atomicNumber:23},{symbol:"Cr",name:"Chromium",atomicNumber:24},{symbol:"Mn",name:"Manganese",atomicNumber:25},{symbol:"Fe",name:"Iron",atomicNumber:26},{symbol:"Co",name:"Cobalt",atomicNumber:27},{symbol:"Ni",name:"Nickel",atomicNumber:28},{symbol:"Cu",name:"Copper",atomicNumber:29},{symbol:"Zn",name:"Zinc",atomicNumber:30},{symbol:"Ga",name:"Gallium",atomicNumber:31},{symbol:"Ge",name:"Germanium",atomicNumber:32},{symbol:"As",name:"Arsenic",atomicNumber:33},{symbol:"Se",name:"Selenium",atomicNumber:34},{symbol:"Br",name:"Bromine",atomicNumber:35},{symbol:"Kr",name:"Krypton",atomicNumber:36},{symbol:"Rb",name:"Rubidium",atomicNumber:37},{symbol:"Sr",name:"Strontium",atomicNumber:38},{symbol:"Y",name:"Yttrium",atomicNumber:39},{symbol:"Zr",name:"Zirconium",atomicNumber:40},{symbol:"Nb",name:"Niobium",atomicNumber:41},{symbol:"Mo",name:"Molybdenum",atomicNumber:42},{symbol:"Tc",name:"Technetium",atomicNumber:43},{symbol:"Ru",name:"Ruthenium",atomicNumber:44},{symbol:"Rh",name:"Rhodium",atomicNumber:45},{symbol:"Pd",name:"Palladium",atomicNumber:46},{symbol:"Ag",name:"Silver",atomicNumber:47},{symbol:"Cd",name:"Cadmium",atomicNumber:48},{symbol:"In",name:"Indium",atomicNumber:49},{symbol:"Sn",name:"Tin",atomicNumber:50},{symbol:"Sb",name:"Antimony",atomicNumber:51},{symbol:"Te",name:"Tellurium",atomicNumber:52},{symbol:"I",name:"Iodine",atomicNumber:53},{symbol:"Xe",name:"Xenon",atomicNumber:54},{symbol:"Cs",name:"Caesium",atomicNumber:55},{symbol:"Ba",name:"Barium",atomicNumber:56},{symbol:"La",name:"Lanthanum",atomicNumber:57},{symbol:"Ce",name:"Cerium",atomicNumber:58},{symbol:"Pr",name:"Praseodymium",atomicNumber:59},{symbol:"Nd",name:"Neodymium",atomicNumber:60},{symbol:"Pm",name:"Promethium",atomicNumber:61},{symbol:"Sm",name:"Samarium",atomicNumber:62},{symbol:"Eu",name:"Europium",atomicNumber:63},{symbol:"Gd",name:"Gadolinium",atomicNumber:64},{symbol:"Tb",name:"Terbium",atomicNumber:65},{symbol:"Dy",name:"Dysprosium",atomicNumber:66},{symbol:"Ho",name:"Holmium",atomicNumber:67},{symbol:"Er",name:"Erbium",atomicNumber:68},{symbol:"Tm",name:"Thulium",atomicNumber:69},{symbol:"Yb",name:"Ytterbium",atomicNumber:70},{symbol:"Lu",name:"Lutetium",atomicNumber:71},{symbol:"Hf",name:"Hafnium",atomicNumber:72},{symbol:"Ta",name:"Tantalum",atomicNumber:73},{symbol:"W",name:"Tungsten",atomicNumber:74},{symbol:"Re",name:"Rhenium",atomicNumber:75},{symbol:"Os",name:"Osmium",atomicNumber:76},{symbol:"Ir",name:"Iridium",atomicNumber:77},{symbol:"Pt",name:"Platinum",atomicNumber:78},{symbol:"Au",name:"Gold",atomicNumber:79},{symbol:"Hg",name:"Mercury",atomicNumber:80},{symbol:"Tl",name:"Thallium",atomicNumber:81},{symbol:"Pb",name:"Lead",atomicNumber:82},{symbol:"Bi",name:"Bismuth",atomicNumber:83},{symbol:"Po",name:"Polonium",atomicNumber:84},{symbol:"At",name:"Astatine",atomicNumber:85},{symbol:"Rn",name:"Radon",atomicNumber:86},{symbol:"Fr",name:"Francium",atomicNumber:87},{symbol:"Ra",name:"Radium",atomicNumber:88},{symbol:"Ac",name:"Actinium",atomicNumber:89},{symbol:"Th",name:"Thorium",atomicNumber:90},{symbol:"Pa",name:"Protactinium",atomicNumber:91},{symbol:"U",name:"Uranium",atomicNumber:92},{symbol:"Np",name:"Neptunium",atomicNumber:93},{symbol:"Pu",name:"Plutonium",atomicNumber:94},{symbol:"Am",name:"Americium",atomicNumber:95},{symbol:"Cm",name:"Curium",atomicNumber:96},{symbol:"Bk",name:"Berkelium",atomicNumber:97},{symbol:"Cf",name:"Californium",atomicNumber:98},{symbol:"Es",name:"Einsteinium",atomicNumber:99},{symbol:"Fm",name:"Fermium",atomicNumber:100},{symbol:"Md",name:"Mendelevium",atomicNumber:101},{symbol:"No",name:"Nobelium",atomicNumber:102},{symbol:"Lr",name:"Lawrencium",atomicNumber:103},{symbol:"Rf",name:"Rutherfordium",atomicNumber:104},{symbol:"Db",name:"Dubnium",atomicNumber:105},{symbol:"Sg",name:"Seaborgium",atomicNumber:106},{symbol:"Bh",name:"Bohrium",atomicNumber:107},{symbol:"Hs",name:"Hassium",atomicNumber:108},{symbol:"Mt",name:"Meitnerium",atomicNumber:109},{symbol:"Ds",name:"Darmstadtium",atomicNumber:110},{symbol:"Rg",name:"Roentgenium",atomicNumber:111},{symbol:"Cn",name:"Copernicium",atomicNumber:112},{symbol:"Nh",name:"Nihonium",atomicNumber:113},{symbol:"Fl",name:"Flerovium",atomicNumber:114},{symbol:"Mc",name:"Moscovium",atomicNumber:115},{symbol:"Lv",name:"Livermorium",atomicNumber:116},{symbol:"Ts",name:"Tennessine",atomicNumber:117},{symbol:"Og",name:"Oganesson",atomicNumber:118}]),lg=Object.freeze([{name:"meter",symbol:"m"},{name:"second",symbol:"s"},{name:"mole",symbol:"mol"},{name:"ampere",symbol:"A"},{name:"kelvin",symbol:"K"},{name:"candela",symbol:"cd"},{name:"kilogram",symbol:"kg"},{name:"radian",symbol:"rad"},{name:"hertz",symbol:"Hz"},{name:"newton",symbol:"N"},{name:"pascal",symbol:"Pa"},{name:"joule",symbol:"J"},{name:"watt",symbol:"W"},{name:"coulomb",symbol:"C"},{name:"volt",symbol:"V"},{name:"ohm",symbol:"Ω"},{name:"tesla",symbol:"T"},{name:"degree Celsius",symbol:"°C"},{name:"lumen",symbol:"lm"},{name:"becquerel",symbol:"Bq"},{name:"gray",symbol:"Gy"},{name:"sievert",symbol:"Sv"},{name:"steradian",symbol:"sr"},{name:"farad",symbol:"F"},{name:"siemens",symbol:"S"},{name:"weber",symbol:"Wb"},{name:"henry",symbol:"H"},{name:"lux",symbol:"lx"},{name:"katal",symbol:"kat"}]),mg={chemicalElement:rg,unit:lg},cg=mg,pg=["ants","bats","bears","bees","birds","buffalo","cats","chickens","cattle","dogs","dolphins","ducks","elephants","fishes","foxes","frogs","geese","goats","horses","kangaroos","lions","monkeys","owls","oxen","penguins","people","pigs","rabbits","sheep","tigers","whales","wolves","zebras","banshees","crows","black cats","chimeras","ghosts","conspirators","dragons","dwarves","elves","enchanters","exorcists","sons","foes","giants","gnomes","goblins","gooses","griffins","lycanthropes","nemesis","ogres","oracles","prophets","sorcerors","spiders","spirits","vampires","warlocks","vixens","werewolves","witches","worshipers","zombies","druids"],dg=["{{location.state}} {{team.creature}}"],hg={creature:pg,name:dg},Fg=hg,bg=["Adventure Road Bicycle","BMX Bicycle","City Bicycle","Cruiser Bicycle","Cyclocross Bicycle","Dual-Sport Bicycle","Fitness Bicycle","Flat-Foot Comfort Bicycle","Folding Bicycle","Hybrid Bicycle","Mountain Bicycle","Recumbent Bicycle","Road Bicycle","Tandem Bicycle","Touring Bicycle","Track/Fixed-Gear Bicycle","Triathlon/Time Trial Bicycle","Tricycle"],kg=["Diesel","Electric","Gasoline","Hybrid"],yg=["Aston Martin","Audi","Bentley","BMW","Bugatti","Cadillac","Chevrolet","Chrysler","Dodge","Ferrari","Fiat","Ford","Honda","Hyundai","Jaguar","Jeep","Kia","Lamborghini","Land Rover","Maserati","Mazda","Mercedes Benz","Mini","Nissan","Polestar","Porsche","Rolls Royce","Smart","Tesla","Toyota","Volkswagen","Volvo"],fg=["Fiesta","Focus","Taurus","Mustang","Explorer","Expedition","F-150","Model T","Ranchero","Volt","Cruze","Malibu","Impala","Camaro","Corvette","Colorado","Silverado","El Camino","CTS","XTS","ATS","Escalade","Alpine","Charger","LeBaron","PT Cruiser","Challenger","Durango","Grand Caravan","Wrangler","Grand Cherokee","Roadster","Model S","Model 3","Model X","Model Y","Camry","Prius","Land Cruiser","Accord","Civic","Element","Sentra","Altima","A8","A4","Beetle","Jetta","Golf","911","Spyder","Countach","Mercielago","Aventador","1","2","Fortwo","V90","XC90","CX-9"],Dg=["Cargo Van","Convertible","Coupe","Crew Cab Pickup","Extended Cab Pickup","Hatchback","Minivan","Passenger Van","SUV","Sedan","Wagon"],Ag={bicycle_type:bg,fuel:kg,manufacturer:yg,model:fg,type:Dg},Cg=Ag,Eg=["abandoned","able","absolute","adorable","adventurous","academic","acceptable","acclaimed","accomplished","accurate","aching","acidic","acrobatic","active","actual","adept","admirable","admired","adolescent","adored","advanced","afraid","affectionate","aged","aggravating","aggressive","agile","agitated","agonizing","agreeable","ajar","alarmed","alarming","alert","alienated","alive","all","altruistic","amazing","ambitious","ample","amused","amusing","anchored","ancient","angelic","angry","anguished","animated","annual","another","antique","anxious","any","apprehensive","appropriate","apt","arctic","arid","aromatic","artistic","ashamed","assured","astonishing","athletic","attached","attentive","attractive","austere","authentic","authorized","automatic","avaricious","average","aware","awesome","awful","awkward","babyish","bad","back","baggy","bare","barren","basic","beautiful","belated","beloved","beneficial","better","best","bewitched","big","big-hearted","biodegradable","bite-sized","bitter","black","black-and-white","bland","blank","blaring","bleak","blind","blissful","blond","blue","blushing","bogus","boiling","bold","bony","boring","bossy","both","bouncy","bountiful","bowed","brave","breakable","brief","bright","brilliant","brisk","broken","bronze","brown","bruised","bubbly","bulky","bumpy","buoyant","burdensome","burly","bustling","busy","buttery","buzzing","calculating","calm","candid","canine","capital","carefree","careful","careless","caring","cautious","cavernous","celebrated","charming","cheap","cheerful","cheery","chief","chilly","chubby","circular","classic","clean","clear","clear-cut","clever","close","closed","cloudy","clueless","clumsy","cluttered","coarse","cold","colorful","colorless","colossal","comfortable","common","compassionate","competent","complete","complex","complicated","composed","concerned","concrete","confused","conscious","considerate","constant","content","conventional","cooked","cool","cooperative","coordinated","corny","corrupt","costly","courageous","courteous","crafty","crazy","creamy","creative","creepy","criminal","crisp","critical","crooked","crowded","cruel","crushing","cuddly","cultivated","cultured","cumbersome","curly","curvy","cute","cylindrical","damaged","damp","dangerous","dapper","daring","darling","dark","dazzling","dead","deadly","deafening","dear","dearest","decent","decimal","decisive","deep","defenseless","defensive","defiant","deficient","definite","definitive","delayed","delectable","delicious","delightful","delirious","demanding","dense","dental","dependable","dependent","descriptive","deserted","detailed","determined","devoted","different","difficult","digital","diligent","dim","dimpled","direct","disastrous","discrete","disgusting","disloyal","dismal","distant","downright","dreary","dirty","disguised","dishonest","distinct","distorted","dizzy","doting","double","drab","drafty","dramatic","droopy","dry","dual","dull","dutiful","each","eager","earnest","early","easy","easy-going","ecstatic","edible","educated","elaborate","elastic","elated","elderly","electric","elegant","elementary","elliptical","embarrassed","embellished","eminent","emotional","empty","enchanted","enchanting","energetic","enlightened","enormous","enraged","entire","envious","equal","equatorial","essential","esteemed","ethical","euphoric","even","evergreen","everlasting","every","evil","exalted","excellent","exemplary","exhausted","excitable","excited","exciting","exotic","expensive","experienced","expert","extraneous","extroverted","extra-large","extra-small","fabulous","failing","faint","fair","faithful","fake","false","familiar","famous","fancy","fantastic","far","faraway","far-flung","far-off","fast","fat","fatal","fatherly","favorable","favorite","fearful","fearless","feisty","feline","female","feminine","few","fickle","filthy","fine","finished","firm","first","firsthand","fitting","fixed","flaky","flamboyant","flashy","flat","flawed","flawless","flickering","flimsy","flippant","flowery","fluffy","fluid","flustered","focused","fond","foolhardy","foolish","forceful","forked","formal","forsaken","forthright","fortunate","fragrant","frail","frank","frayed","free","french","fresh","frequent","friendly","frightened","frightening","frigid","frilly","frizzy","frivolous","front","frosty","frozen","frugal","fruitful","full","fumbling","functional","funny","fussy","fuzzy","gargantuan","gaseous","general","generous","gentle","genuine","giant","giddy","gigantic","gifted","giving","glamorous","glaring","glass","gleaming","gleeful","glistening","glittering","gloomy","glorious","glossy","glum","golden","good","good-natured","gorgeous","graceful","gracious","grand","grandiose","granular","grateful","grave","gray","great","greedy","green","gregarious","grim","grimy","gripping","grizzled","grotesque","grouchy","grounded","growing","growling","grown","grubby","gruesome","grumpy","guilty","gullible","gummy","hairy","half","handmade","handsome","handy","happy","happy-go-lucky","hard","hard-to-find","harmful","harmless","harmonious","harsh","hasty","hateful","haunting","healthy","heartfelt","hearty","heavenly","heavy","hefty","helpful","helpless","hidden","hideous","high","high-level","hilarious","hoarse","hollow","homely","honest","honorable","honored","hopeful","horrible","hospitable","hot","huge","humble","humiliating","humming","humongous","hungry","hurtful","husky","icky","icy","ideal","idealistic","identical","idle","idolized","ignorant","ill","ill-fated","ill-informed","illiterate","illustrious","imaginary","imaginative","immaculate","immaterial","immediate","immense","impassioned","impeccable","impartial","imperfect","imperturbable","impish","impolite","important","impossible","impractical","impressionable","impressive","improbable","impure","inborn","incomparable","incompatible","incomplete","inconsequential","incredible","indelible","inexperienced","indolent","infamous","infantile","infatuated","inferior","infinite","informal","innocent","insecure","insidious","insignificant","insistent","instructive","insubstantial","intelligent","intent","intentional","interesting","internal","international","intrepid","ironclad","irresponsible","irritating","itchy","jaded","jagged","jam-packed","jaunty","jealous","jittery","joint","jolly","jovial","joyful","joyous","jubilant","judicious","juicy","jumbo","junior","jumpy","juvenile","kaleidoscopic","keen","key","kind","kindhearted","kindly","klutzy","knobby","knotty","knowledgeable","knowing","known","kooky","kosher","lanky","large","last","lasting","late","lavish","lawful","lazy","leading","lean","leafy","left","legal","legitimate","light","lighthearted","likable","likely","limited","limp","limping","linear","lined","liquid","little","live","lively","livid","loathsome","lone","lonely","long","long-term","loose","lopsided","lost","loud","lovable","lovely","loving","low","loyal","lucky","lumbering","luminous","lumpy","lustrous","luxurious","mad","made-up","magnificent","majestic","major","male","mammoth","married","marvelous","masculine","massive","mature","meager","mealy","mean","measly","meaty","medical","mediocre","medium","meek","mellow","melodic","memorable","menacing","merry","messy","metallic","mild","milky","mindless","miniature","minor","minty","miserable","miserly","misguided","misty","mixed","modern","modest","moist","monstrous","monthly","monumental","moral","mortified","motherly","motionless","mountainous","muddy","muffled","multicolored","mundane","murky","mushy","musty","muted","mysterious","naive","narrow","natural","naughty","nautical","near","neat","necessary","needy","negative","neglected","negligible","neighboring","nervous","new","next","nice","nifty","nimble","nippy","nocturnal","noisy","nonstop","normal","notable","noted","noteworthy","novel","noxious","numb","nutritious","nutty","obedient","oblong","oily","obvious","occasional","odd","oddball","offbeat","offensive","official","old","old-fashioned","only","open","optimal","optimistic","opulent","orange","orderly","organic","ornate","ornery","ordinary","original","other","our","outlying","outgoing","outlandish","outrageous","outstanding","oval","overcooked","overdue","overjoyed","overlooked","palatable","pale","paltry","parallel","parched","partial","passionate","past","pastel","peaceful","peppery","perfect","perfumed","periodic","perky","personal","pertinent","pesky","pessimistic","petty","phony","physical","piercing","pink","pitiful","plain","plaintive","plastic","playful","pleasant","pleased","pleasing","plump","plush","polished","polite","political","pointed","pointless","poised","poor","popular","portly","posh","positive","possible","potable","powerful","powerless","practical","precious","present","prestigious","pretty","previous","pricey","prickly","primary","prime","pristine","private","prize","probable","productive","profitable","profuse","proper","proud","prudent","punctual","pungent","puny","pure","purple","pushy","putrid","puzzled","puzzling","quaint","qualified","quarrelsome","quarterly","queasy","querulous","questionable","quick","quick-witted","quiet","quintessential","quirky","quixotic","quizzical","radiant","ragged","rapid","rare","rash","raw","recent","reckless","rectangular","ready","real","realistic","reasonable","red","reflecting","regal","regular","reliable","relieved","remarkable","remorseful","remote","repentant","required","respectful","responsible","repulsive","revolving","rewarding","rich","rigid","right","ringed","ripe","roasted","robust","rosy","rotating","rotten","rough","round","rowdy","royal","rubbery","rundown","ruddy","rude","runny","rural","rusty","sad","safe","salty","same","sandy","sane","sarcastic","sardonic","satisfied","scaly","scarce","scared","scary","scented","scholarly","scientific","scornful","scratchy","scrawny","second","secondary","second-hand","secret","self-assured","self-reliant","selfish","sentimental","separate","serene","serious","serpentine","several","severe","shabby","shadowy","shady","shallow","shameful","shameless","sharp","shimmering","shiny","shocked","shocking","shoddy","short","short-term","showy","shrill","shy","sick","silent","silky","silly","silver","similar","simple","simplistic","sinful","single","sizzling","skeletal","skinny","sleepy","slight","slim","slimy","slippery","slow","slushy","small","smart","smoggy","smooth","smug","snappy","snarling","sneaky","sniveling","snoopy","sociable","soft","soggy","solid","somber","some","spherical","sophisticated","sore","sorrowful","soulful","soupy","sour","spanish","sparkling","sparse","specific","spectacular","speedy","spicy","spiffy","spirited","spiteful","splendid","spotless","spotted","spry","square","squeaky","squiggly","stable","staid","stained","stale","standard","starchy","stark","starry","steep","sticky","stiff","stimulating","stingy","stormy","straight","strange","steel","strict","strident","striking","striped","strong","studious","stunning","stupendous","sturdy","stylish","subdued","submissive","substantial","subtle","suburban","sudden","sugary","sunny","super","superb","superficial","superior","supportive","sure-footed","surprised","suspicious","svelte","sweaty","sweet","sweltering","swift","sympathetic","tall","talkative","tame","tan","tangible","tart","tasty","tattered","taut","tedious","teeming","tempting","tender","tense","tepid","terrible","terrific","testy","thankful","that","these","thick","thin","third","thirsty","this","thorough","thorny","those","thoughtful","threadbare","thrifty","thunderous","tidy","tight","timely","tinted","tiny","tired","torn","total","tough","traumatic","treasured","tremendous","tragic","trained","triangular","tricky","trifling","trim","trivial","troubled","true","trusting","trustworthy","trusty","truthful","turbulent","twin","ugly","ultimate","unacceptable","unaware","uncomfortable","uncommon","unconscious","understated","unequaled","uneven","unfinished","unfit","unfolded","unfortunate","unhappy","unhealthy","uniform","unimportant","unique","united","unkempt","unknown","unlawful","unlined","unlucky","unnatural","unpleasant","unrealistic","unripe","unruly","unselfish","unsightly","unsteady","unsung","untidy","untimely","untried","untrue","unused","unusual","unwelcome","unwieldy","unwilling","unwitting","unwritten","upbeat","upright","upset","urban","usable","used","useful","useless","utilized","utter","vacant","vague","vain","valid","valuable","vapid","variable","vast","velvety","venerated","vengeful","verifiable","vibrant","vicious","victorious","vigilant","vigorous","villainous","violet","violent","virtual","virtuous","visible","vital","vivacious","vivid","voluminous","wan","warlike","warm","warmhearted","warped","wary","wasteful","watchful","waterlogged","watery","wavy","wealthy","weak","weary","webbed","wee","weekly","weepy","weighty","weird","welcome","well-documented","well-groomed","well-informed","well-lit","well-made","well-off","well-to-do","well-worn","wet","which","whimsical","whirlwind","whispered","white","whole","whopping","wicked","wide","wide-eyed","wiggly","wild","willing","wilted","winding","windy","winged","wiry","wise","witty","wobbly","woeful","wonderful","wooden","woozy","wordy","worldly","worn","worried","worrisome","worse","worst","worthless","worthwhile","worthy","wrathful","wretched","writhing","wrong","wry","yawning","yearly","yellow","yellowish","young","youthful","yummy","zany","zealous","zesty","zigzag"],vg=["abnormally","absentmindedly","accidentally","acidly","actually","adventurously","afterwards","almost","always","angrily","annually","anxiously","arrogantly","awkwardly","badly","bashfully","beautifully","bitterly","bleakly","blindly","blissfully","boastfully","boldly","bravely","briefly","brightly","briskly","broadly","busily","calmly","carefully","carelessly","cautiously","certainly","cheerfully","clearly","cleverly","closely","coaxingly","colorfully","commonly","continually","coolly","correctly","courageously","crossly","cruelly","curiously","daily","daintily","dearly","deceivingly","deeply","defiantly","deliberately","delightfully","diligently","dimly","doubtfully","dreamily","easily","elegantly","energetically","enormously","enthusiastically","equally","especially","even","evenly","eventually","exactly","excitedly","extremely","fairly","faithfully","famously","far","fast","fatally","ferociously","fervently","fiercely","fondly","foolishly","fortunately","frankly","frantically","freely","frenetically","frightfully","fully","furiously","generally","generously","gently","gladly","gleefully","gracefully","gratefully","greatly","greedily","happily","hastily","healthily","heavily","helpfully","helplessly","highly","honestly","hopelessly","hourly","hungrily","immediately","innocently","inquisitively","instantly","intensely","intently","interestingly","inwardly","irritably","jaggedly","jealously","joshingly","jovially","joyfully","joyously","jubilantly","judgementally","justly","keenly","kiddingly","kindheartedly","kindly","kissingly","knavishly","knottily","knowingly","knowledgeably","kookily","lazily","less","lightly","likely","limply","lively","loftily","longingly","loosely","loudly","lovingly","loyally","madly","majestically","meaningfully","mechanically","merrily","miserably","mockingly","monthly","more","mortally","mostly","mysteriously","naturally","nearly","neatly","needily","nervously","never","nicely","noisily","not","obediently","obnoxiously","oddly","offensively","officially","often","only","openly","optimistically","overconfidently","owlishly","painfully","partially","patiently","perfectly","physically","playfully","politely","poorly","positively","potentially","powerfully","promptly","properly","punctually","quaintly","quarrelsomely","queasily","questionably","questioningly","quicker","quickly","quietly","quirkily","quizzically","rapidly","rarely","readily","really","reassuringly","recklessly","regularly","reluctantly","repeatedly","reproachfully","restfully","righteously","rightfully","rigidly","roughly","rudely","sadly","safely","scarcely","scarily","searchingly","sedately","seemingly","seldom","selfishly","separately","seriously","shakily","sharply","sheepishly","shrilly","shyly","silently","sleepily","slowly","smoothly","softly","solemnly","solidly","sometimes","soon","speedily","stealthily","sternly","strictly","successfully","suddenly","surprisingly","suspiciously","sweetly","swiftly","sympathetically","tenderly","tensely","terribly","thankfully","thoroughly","thoughtfully","tightly","tomorrow","too","tremendously","triumphantly","truly","truthfully","ultimately","unabashedly","unaccountably","unbearably","unethically","unexpectedly","unfortunately","unimpressively","unnaturally","unnecessarily","upbeat","upliftingly","upright","upside-down","upward","upwardly","urgently","usefully","uselessly","usually","utterly","vacantly","vaguely","vainly","valiantly","vastly","verbally","very","viciously","victoriously","violently","vivaciously","voluntarily","warmly","weakly","wearily","well","wetly","wholly","wildly","willfully","wisely","woefully","wonderfully","worriedly","wrongly","yawningly","yearly","yearningly","yesterday","yieldingly","youthfully"],wg=["after","although","and","as","because","before","but","consequently","even","finally","for","furthermore","hence","how","however","if","inasmuch","incidentally","indeed","instead","lest","likewise","meanwhile","nor","now","once","or","provided","since","so","supposing","than","that","though","till","unless","until","what","when","whenever","where","whereas","wherever","whether","which","while","who","whoever","whose","why","yet"],jg=["yuck","oh","phooey","blah","boo","whoa","yowza","huzzah","boohoo","fooey","geez","pfft","ew","ah","yum","brr","hm","yahoo","aha","woot","drat","gah","meh","psst","aw","ugh","yippee","eek","gee","bah","gadzooks","duh","ha","mmm","ouch","phew","ack","uh-huh","gosh","hmph","pish","zowie","er","ick","oof","um"],Bg=["ATM","CD","SUV","TV","aardvark","abacus","abbey","abbreviation","abdomen","ability","abnormality","abolishment","abrogation","absence","abundance","academics","academy","accelerant","accelerator","accent","acceptance","access","accessory","accident","accommodation","accompanist","accomplishment","accord","accordance","accordion","account","accountability","accountant","accounting","accuracy","accusation","acetate","achievement","achiever","acid","acknowledgment","acorn","acoustics","acquaintance","acquisition","acre","acrylic","act","action","activation","activist","activity","actor","actress","acupuncture","ad","adaptation","adapter","addiction","addition","address","adjective","adjustment","admin","administration","administrator","admire","admission","adobe","adoption","adrenalin","adrenaline","adult","adulthood","advance","advancement","advantage","advent","adverb","advertisement","advertising","advice","adviser","advocacy","advocate","affair","affect","affidavit","affiliate","affinity","afoul","afterlife","aftermath","afternoon","aftershave","aftershock","afterthought","age","agency","agenda","agent","aggradation","aggression","aglet","agony","agreement","agriculture","aid","aide","aim","air","airbag","airbus","aircraft","airfare","airfield","airforce","airline","airmail","airman","airplane","airport","airship","airspace","alarm","alb","albatross","album","alcohol","alcove","alder","ale","alert","alfalfa","algebra","algorithm","alias","alibi","alien","allegation","allergist","alley","alliance","alligator","allocation","allowance","alloy","alluvium","almanac","almighty","almond","alpaca","alpenglow","alpenhorn","alpha","alphabet","altar","alteration","alternative","altitude","alto","aluminium","aluminum","amazement","amazon","ambassador","amber","ambience","ambiguity","ambition","ambulance","amendment","amenity","ammunition","amnesty","amount","amusement","anagram","analgesia","analog","analogue","analogy","analysis","analyst","analytics","anarchist","anarchy","anatomy","ancestor","anchovy","android","anesthesiologist","anesthesiology","angel","anger","angina","angle","angora","angstrom","anguish","animal","anime","anise","ankle","anklet","anniversary","announcement","annual","anorak","answer","ant","anteater","antecedent","antechamber","antelope","antennae","anterior","anthropology","antibody","anticipation","anticodon","antigen","antique","antiquity","antler","antling","anxiety","anybody","anyone","anything","anywhere","apartment","ape","aperitif","apology","app","apparatus","apparel","appeal","appearance","appellation","appendix","appetiser","appetite","appetizer","applause","apple","applewood","appliance","application","appointment","appreciation","apprehension","approach","appropriation","approval","apricot","apron","apse","aquarium","aquifer","arcade","arch","arch-rival","archaeologist","archaeology","archeology","archer","architect","architecture","archives","area","arena","argument","arithmetic","ark","arm","arm-rest","armadillo","armament","armchair","armoire","armor","armour","armpit","armrest","army","arrangement","array","arrest","arrival","arrogance","arrow","art","artery","arthur","artichoke","article","artifact","artificer","artist","ascend","ascent","ascot","ash","ashram","ashtray","aside","asparagus","aspect","asphalt","aspic","assassination","assault","assembly","assertion","assessment","asset","assignment","assist","assistance","assistant","associate","association","assumption","assurance","asterisk","astrakhan","astrolabe","astrologer","astrology","astronomy","asymmetry","atelier","atheist","athlete","athletics","atmosphere","atom","atrium","attachment","attack","attacker","attainment","attempt","attendance","attendant","attention","attenuation","attic","attitude","attorney","attraction","attribute","auction","audience","audit","auditorium","aunt","authentication","authenticity","author","authorisation","authority","authorization","auto","autoimmunity","automation","automaton","autumn","availability","avalanche","avenue","average","avocado","award","awareness","awe","axis","azimuth","baboon","babushka","baby","bachelor","back","back-up","backbone","backburn","backdrop","background","backpack","backup","backyard","bacon","bacterium","badge","badger","bafflement","bag","bagel","baggage","baggie","baggy","bagpipe","bail","bait","bake","baker","bakery","bakeware","balaclava","balalaika","balance","balcony","ball","ballet","balloon","balloonist","ballot","ballpark","bamboo","ban","banana","band","bandana","bandanna","bandolier","bandwidth","bangle","banjo","bank","bankbook","banker","banking","bankruptcy","banner","banquette","banyan","baobab","bar","barbecue","barbeque","barber","bargain","barge","baritone","barium","bark","barley","barn","barometer","barracks","barrage","barrel","barrier","barstool","bartender","base","baseball","baseboard","baseline","basement","basics","basil","basin","basis","basket","basketball","bass","bassinet","bassoon","bat","bath","bather","bathhouse","bathrobe","bathroom","bathtub","battalion","batter","battery","batting","battle","battleship","bay","bayou","beach","bead","beak","beam","bean","beancurd","beanie","beanstalk","bear","beard","beast","beastie","beat","beating","beauty","beck","bed","bedrock","bedroom","bee","beech","beef","beet","beetle","beggar","beginner","beginning","begonia","behalf","behavior","behaviour","behest","behold","being","belfry","belief","believer","bell","belligerency","bellows","belly","belt","bench","bend","beneficiary","benefit","beret","berry","best-seller","bestseller","bet","beverage","beyond","bias","bibliography","bicycle","bid","bidder","bidding","bidet","bifocals","bijou","bike","bikini","bill","billboard","billing","billion","bin","binoculars","biology","biopsy","biosphere","biplane","birch","bird","bird-watcher","birdbath","birdcage","birdhouse","birth","birthday","biscuit","bit","bite","bitten","bitter","blackberry","blackbird","blackboard","blackfish","blackness","bladder","blade","blame","blank","blanket","blast","blazer","blend","blessing","blight","blind","blinker","blister","blizzard","block","blocker","blog","blogger","blood","bloodflow","bloom","bloomer","blossom","blouse","blow","blowgun","blowhole","blueberry","blush","boar","board","boat","boatload","boatyard","bob","bobcat","body","bog","bolero","bolt","bond","bonding","bondsman","bone","bonfire","bongo","bonnet","bonsai","bonus","boogeyman","book","bookcase","bookend","booking","booklet","bookmark","boolean","boom","boon","boost","booster","boot","bootie","border","bore","borrower","borrowing","boss","botany","bother","bottle","bottling","bottom","bottom-line","boudoir","bough","boulder","boulevard","boundary","bouquet","bourgeoisie","bout","boutique","bow","bower","bowl","bowler","bowling","bowtie","box","boxer","boxspring","boy","boycott","boyfriend","boyhood","boysenberry","brace","bracelet","bracket","brain","brake","bran","branch","brand","brass","bratwurst","bread","breadcrumb","breadfruit","break","breakdown","breakfast","breakpoint","breakthrough","breastplate","breath","breeze","brewer","bribery","brick","bricklaying","bride","bridge","brief","briefing","briefly","brilliant","brink","brisket","broad","broadcast","broccoli","brochure","brocolli","broiler","broker","bronchitis","bronco","bronze","brooch","brood","brook","broom","brother","brother-in-law","brow","brownie","browser","browsing","brunch","brush","brushfire","brushing","bubble","buck","bucket","buckle","buckwheat","bud","buddy","budget","buffalo","buffer","buffet","bug","buggy","bugle","builder","building","bulb","bulk","bull","bull-fighter","bulldozer","bullet","bump","bumper","bun","bunch","bungalow","bunkhouse","burden","bureau","burglar","burial","burn","burn-out","burning","burrito","burro","burrow","burst","bus","bush","business","businessman","bust","bustle","butane","butcher","butler","butter","butterfly","button","buy","buyer","buying","buzz","buzzard","c-clamp","cabana","cabbage","cabin","cabinet","cable","caboose","cacao","cactus","caddy","cadet","cafe","caffeine","caftan","cage","cake","calcification","calculation","calculator","calculus","calendar","calf","caliber","calibre","calico","call","calm","calorie","camel","cameo","camera","camp","campaign","campaigning","campanile","camper","campus","can","canal","candelabra","candidacy","candidate","candle","candy","cane","cannibal","cannon","canoe","canon","canopy","cantaloupe","canteen","canvas","cap","capability","capacity","cape","caper","capital","capitalism","capitulation","capon","cappelletti","cappuccino","captain","caption","captor","car","carabao","caramel","caravan","carbohydrate","carbon","carboxyl","card","cardboard","cardigan","care","career","cargo","caribou","carload","carnation","carnival","carol","carotene","carp","carpenter","carpet","carpeting","carport","carriage","carrier","carrot","carry","cart","cartel","carter","cartilage","cartload","cartoon","cartridge","carving","cascade","case","casement","cash","cashew","cashier","casino","casket","cassava","casserole","cassock","cast","castanet","castle","casualty","cat","catacomb","catalogue","catalysis","catalyst","catamaran","catastrophe","catch","catcher","category","caterpillar","cathedral","cation","catsup","cattle","cauliflower","causal","cause","causeway","caution","cave","caviar","cayenne","ceiling","celebration","celebrity","celeriac","celery","cell","cellar","cello","celsius","cement","cemetery","cenotaph","census","cent","center","centimeter","centre","centurion","century","cephalopod","ceramic","ceramics","cereal","ceremony","certainty","certificate","certification","cesspool","chafe","chain","chainstay","chair","chairlift","chairman","chairperson","chaise","chalet","chalice","chalk","challenge","chamber","champagne","champion","championship","chance","chandelier","change","channel","chaos","chap","chapel","chaplain","chapter","character","characteristic","characterization","chard","charge","charger","charity","charlatan","charm","charset","chart","charter","chasm","chassis","chastity","chasuble","chateau","chatter","chauffeur","chauvinist","check","checkbook","checking","checkout","checkroom","cheddar","cheek","cheer","cheese","cheesecake","cheetah","chef","chem","chemical","chemistry","chemotaxis","cheque","cherry","chess","chest","chestnut","chick","chicken","chicory","chief","chiffonier","child","childbirth","childhood","chili","chill","chime","chimpanzee","chin","chinchilla","chino","chip","chipmunk","chit-chat","chivalry","chive","chives","chocolate","choice","choir","choker","cholesterol","choosing","chop","chops","chopstick","chopsticks","chord","chorus","chow","chowder","chrome","chromolithograph","chronicle","chronograph","chronometer","chrysalis","chub","chuck","church","churn","chutney","cicada","cigarette","cilantro","cinder","cinema","cinnamon","circadian","circle","circuit","circulation","circumference","circumstance","cirrus","citizen","citizenship","citron","citrus","city","civilian","civilisation","civilization","claim","clam","clamp","clan","clank","clapboard","clarification","clarinet","clarity","clasp","class","classic","classification","classmate","classroom","clause","clave","clavicle","clavier","claw","clay","cleaner","clearance","clearing","cleat","clef","cleft","clergyman","cleric","clerk","click","client","cliff","climate","climb","clinic","clip","clipboard","clipper","cloak","cloakroom","clock","clockwork","clogs","cloister","clone","close","closet","closing","closure","cloth","clothes","clothing","cloud","cloudburst","clove","clover","cloves","club","clue","cluster","clutch","co-producer","coach","coal","coalition","coast","coaster","coat","cob","cobbler","cobweb","cockpit","cockroach","cocktail","cocoa","coconut","cod","code","codepage","codling","codon","coevolution","cofactor","coffee","coffin","cohesion","cohort","coil","coin","coincidence","coinsurance","coke","cold","coleslaw","coliseum","collaboration","collagen","collapse","collar","collard","collateral","colleague","collection","collectivisation","collectivization","collector","college","collision","colloquy","colon","colonial","colonialism","colonisation","colonization","colony","color","colorlessness","colt","column","columnist","comb","combat","combination","combine","comeback","comedy","comestible","comfort","comfortable","comic","comics","comma","command","commander","commandment","comment","commerce","commercial","commission","commitment","committee","commodity","common","commonsense","commotion","communicant","communication","communion","communist","community","commuter","company","comparison","compass","compassion","compassionate","compensation","competence","competition","competitor","complaint","complement","completion","complex","complexity","compliance","complication","complicity","compliment","component","comportment","composer","composite","composition","compost","comprehension","compress","compromise","comptroller","compulsion","computer","comradeship","con","concentrate","concentration","concept","conception","concern","concert","conclusion","concrete","condition","conditioner","condominium","condor","conduct","conductor","cone","confectionery","conference","confidence","confidentiality","configuration","confirmation","conflict","conformation","confusion","conga","congo","congregation","congress","congressman","congressperson","conifer","connection","connotation","conscience","consciousness","consensus","consent","consequence","conservation","conservative","consideration","consignment","consist","consistency","console","consonant","conspiracy","conspirator","constant","constellation","constitution","constraint","construction","consul","consulate","consulting","consumer","consumption","contact","contagion","container","content","contention","contest","context","continent","contingency","continuity","contour","contract","contractor","contrail","contrary","contrast","contribution","contributor","control","controller","controversy","convection","convenience","convention","conversation","conversion","convert","convertible","conviction","cook","cookbook","cookie","cooking","cooperation","coordination","coordinator","cop","cop-out","cope","copper","copy","copying","copyright","copywriter","coral","cord","corduroy","core","cork","cormorant","corn","corner","cornerstone","cornet","cornflakes","cornmeal","corporal","corporation","corporatism","corps","corral","correspondence","correspondent","corridor","corruption","corsage","cosset","cost","costume","cot","cottage","cotton","couch","cougar","cough","council","councilman","councilor","councilperson","counsel","counseling","counselling","counsellor","counselor","count","counter","counter-force","counterpart","countess","country","countryside","county","couple","coupon","courage","course","court","courthouse","courtroom","cousin","covariate","cover","coverage","coverall","cow","cowbell","cowboy","coyote","crab","cradle","craft","craftsman","cranberry","crane","cranky","crate","cravat","craw","crawdad","crayfish","crayon","crazy","cream","creation","creative","creativity","creator","creature","creche","credential","credenza","credibility","credit","creditor","creek","crepe","crest","crew","crewman","crewmate","crewmember","crewmen","cria","crib","cribbage","cricket","cricketer","crime","criminal","crinoline","crisis","crisp","criteria","criterion","critic","criticism","crocodile","crocus","croissant","crook","crop","cross","cross-contamination","cross-stitch","croup","crow","crowd","crown","crude","cruelty","cruise","crumb","crunch","crusader","crush","crust","cry","crystal","crystallography","cub","cube","cuckoo","cucumber","cue","cuff-link","cuisine","cultivar","cultivator","culture","culvert","cummerbund","cup","cupboard","cupcake","cupola","curd","cure","curio","curiosity","curl","curler","currant","currency","current","curriculum","curry","curse","cursor","curtailment","curtain","curve","cushion","custard","custody","custom","customer","cut","cuticle","cutlet","cutover","cutting","cyclamen","cycle","cyclone","cyclooxygenase","cygnet","cylinder","cymbal","cynic","cyst","cytokine","cytoplasm","dad","daddy","daffodil","dagger","dahlia","daikon","daily","dairy","daisy","dam","damage","dame","dance","dancer","dancing","dandelion","danger","dare","dark","darkness","darn","dart","dash","dashboard","data","database","date","daughter","dawn","day","daybed","daylight","dead","deadline","deal","dealer","dealing","dearest","death","deathwatch","debate","debris","debt","debtor","decade","decadence","decency","decimal","decision","decision-making","deck","declaration","declination","decline","decoder","decongestant","decoration","decrease","decryption","dedication","deduce","deduction","deed","deep","deer","default","defeat","defendant","defender","defense","deficit","definition","deformation","degradation","degree","delay","deliberation","delight","delivery","demand","democracy","democrat","demur","den","denim","denominator","density","dentist","deodorant","department","departure","dependency","dependent","deployment","deposit","deposition","depot","depression","depressive","depth","deputy","derby","derivation","derivative","derrick","descendant","descent","description","desert","design","designation","designer","desire","desk","desktop","dessert","destination","destiny","destroyer","destruction","detail","detainee","detainment","detection","detective","detector","detention","determination","detour","devastation","developer","developing","development","developmental","deviance","deviation","device","devil","dew","dhow","diabetes","diadem","diagnosis","diagram","dial","dialect","dialogue","diam","diamond","diaper","diaphragm","diarist","diary","dibble","dickey","dictaphone","dictator","diction","dictionary","die","diesel","diet","difference","differential","difficulty","diffuse","dig","digestion","digestive","digger","digging","digit","dignity","dilapidation","dill","dilution","dime","dimension","dimple","diner","dinghy","dining","dinner","dinosaur","dioxide","dip","diploma","diplomacy","direction","directive","director","directory","dirndl","dirt","disability","disadvantage","disagreement","disappointment","disarmament","disaster","discharge","discipline","disclaimer","disclosure","disco","disconnection","discount","discourse","discovery","discrepancy","discretion","discrimination","discussion","disdain","disease","disembodiment","disengagement","disguise","disgust","dish","dishwasher","disk","disparity","dispatch","displacement","display","disposal","disposer","disposition","dispute","disregard","disruption","dissemination","dissonance","distance","distinction","distortion","distribution","distributor","district","divalent","divan","diver","diversity","divide","dividend","divider","divine","diving","division","divorce","doc","dock","doctor","doctorate","doctrine","document","documentary","documentation","doe","dog","dogsled","dogwood","doing","doll","dollar","dollop","dolman","dolor","dolphin","domain","dome","donation","donkey","donor","donut","door","doorbell","doorknob","doorpost","doorway","dory","dose","dot","double","doubling","doubt","doubter","dough","doughnut","down","downfall","downforce","downgrade","download","downstairs","downtown","downturn","dozen","draft","drag","dragon","dragonfly","dragonfruit","dragster","drain","drainage","drake","drama","dramaturge","drapes","draw","drawbridge","drawer","drawing","dream","dreamer","dredger","dress","dresser","dressing","drill","drink","drinking","drive","driver","driveway","driving","drizzle","dromedary","drop","drudgery","drug","drum","drummer","dryer","duck","duckling","dud","dude","due","duel","dueling","duffel","dugout","dulcimer","dumbwaiter","dump","dune","dungarees","dungeon","duplexer","duration","durian","dusk","dust","duster","duty","dwell","dwelling","dynamics","dynamite","dynamo","dynasty","dysfunction","e-book","e-mail","e-reader","eagle","eaglet","ear","eardrum","earmuffs","earnings","earplug","earring","earrings","earth","earthquake","earthworm","ease","easel","east","eating","eaves","eavesdropper","ecclesia","echidna","eclipse","ecliptic","ecology","economics","economy","ecosystem","ectoderm","ectodermal","ecumenist","eddy","edge","edger","edible","editing","edition","editor","editorial","education","eel","effacement","effect","effective","effectiveness","effector","efficacy","efficiency","effort","egg","egghead","eggnog","eggplant","ego","eicosanoid","ejector","elbow","elderberry","election","electricity","electrocardiogram","electronics","element","elephant","elevation","elevator","eleventh","elf","elicit","eligibility","elimination","elite","elixir","elk","ellipse","elm","elongation","elver","email","emanate","embarrassment","embassy","embellishment","embossing","embryo","emerald","emergence","emergency","emergent","emery","emission","emitter","emotion","emphasis","empire","employ","employee","employer","employment","empowerment","emu","enactment","encirclement","enclave","enclosure","encounter","encouragement","encyclopedia","end","endive","endoderm","endorsement","endothelium","endpoint","enemy","energy","enforcement","engagement","engine","engineer","engineering","enigma","enjoyment","enquiry","enrollment","enterprise","entertainment","enthusiasm","entirety","entity","entrance","entree","entrepreneur","entry","envelope","environment","envy","enzyme","epauliere","epee","ephemera","ephemeris","ephyra","epic","episode","epithelium","epoch","eponym","epoxy","equal","equality","equation","equinox","equipment","equity","equivalent","era","eraser","erosion","error","escalator","escape","espadrille","espalier","essay","essence","essential","establishment","estate","estimate","estrogen","estuary","eternity","ethernet","ethics","ethnicity","ethyl","euphonium","eurocentrism","evaluation","evaluator","evaporation","eve","evening","evening-wear","event","everybody","everyone","everything","eviction","evidence","evil","evocation","evolution","ex-husband","ex-wife","exaggeration","exam","examination","examiner","example","exasperation","excellence","exception","excerpt","excess","exchange","excitement","exclamation","excursion","excuse","execution","executive","executor","exercise","exhaust","exhaustion","exhibit","exhibition","exile","existence","exit","exocrine","expansion","expansionism","expectancy","expectation","expedition","expense","experience","experiment","experimentation","expert","expertise","explanation","exploration","explorer","export","expose","exposition","exposure","expression","extension","extent","exterior","external","extinction","extreme","extremist","eye","eyeball","eyebrow","eyebrows","eyeglasses","eyelash","eyelashes","eyelid","eyelids","eyeliner","eyestrain","eyrie","fabric","face","facelift","facet","facility","facsimile","fact","factor","factory","faculty","fahrenheit","fail","failure","fairness","fairy","faith","faithful","fall","fallacy","falling-out","fame","familiar","familiarity","family","fan","fang","fanlight","fanny-pack","fantasy","farm","farmer","farming","farmland","farrow","fascia","fashion","fat","fate","father","father-in-law","fatigue","fatigues","faucet","fault","fav","fava","favor","favorite","fawn","fax","fear","feast","feather","feature","fedelini","federation","fedora","fee","feed","feedback","feeding","feel","feeling","fellow","felony","female","fen","fence","fencing","fender","feng","fennel","ferret","ferry","ferryboat","fertilizer","festival","fetus","few","fiber","fiberglass","fibre","fibroblast","fibrosis","ficlet","fiction","fiddle","field","fiery","fiesta","fifth","fig","fight","fighter","figure","figurine","file","filing","fill","fillet","filly","film","filter","filth","final","finance","financing","finding","fine","finer","finger","fingerling","fingernail","finish","finisher","fir","fire","fireman","fireplace","firewall","firm","first","fish","fishbone","fisherman","fishery","fishing","fishmonger","fishnet","fit","fitness","fix","fixture","flag","flair","flame","flan","flanker","flare","flash","flat","flatboat","flavor","flax","fleck","fledgling","fleece","flesh","flexibility","flick","flicker","flight","flint","flintlock","flip-flops","flock","flood","floodplain","floor","floozie","flour","flow","flower","flu","flugelhorn","fluke","flume","flung","flute","fly","flytrap","foal","foam","fob","focus","fog","fold","folder","folk","folklore","follower","following","fondue","font","food","foodstuffs","fool","foot","footage","football","footnote","footprint","footrest","footstep","footstool","footwear","forage","forager","foray","force","ford","forearm","forebear","forecast","forehead","foreigner","forelimb","forest","forestry","forever","forgery","fork","form","formal","formamide","format","formation","former","formicarium","formula","fort","forte","fortnight","fortress","fortune","forum","foundation","founder","founding","fountain","fourths","fowl","fox","foxglove","fraction","fragrance","frame","framework","fratricide","fraud","fraudster","freak","freckle","freedom","freelance","freezer","freezing","freight","freighter","frenzy","freon","frequency","fresco","friction","fridge","friend","friendship","fries","frigate","fright","fringe","fritter","frock","frog","front","frontier","frost","frosting","frown","fruit","frustration","fry","fuel","fugato","fulfillment","full","fun","function","functionality","fund","funding","fundraising","fur","furnace","furniture","fusarium","futon","future","gadget","gaffe","gaffer","gain","gaiters","gale","gall-bladder","gallery","galley","gallon","galoshes","gambling","game","gamebird","gaming","gamma-ray","gander","gang","gap","garage","garb","garbage","garden","garlic","garment","garter","gas","gasket","gasoline","gasp","gastronomy","gastropod","gate","gateway","gather","gathering","gator","gauge","gauntlet","gavel","gazebo","gazelle","gear","gearshift","geek","gel","gelatin","gelding","gem","gemsbok","gender","gene","general","generation","generator","generosity","genetics","genie","genius","genre","gentleman","geography","geology","geometry","geranium","gerbil","gesture","geyser","gherkin","ghost","giant","gift","gig","gigantism","giggle","ginger","gingerbread","ginseng","giraffe","girdle","girl","girlfriend","glacier","gladiolus","glance","gland","glass","glasses","glee","glen","glider","gliding","glimpse","globe","glockenspiel","gloom","glory","glove","glow","glucose","glue","glut","glutamate","gnat","gnu","go-kart","goal","goat","gobbler","god","goddess","godfather","godmother","godparent","goggles","going","gold","goldfish","golf","gondola","gong","good","good-bye","goodbye","goodie","goodness","goodnight","goodwill","goose","gopher","gorilla","gosling","gossip","governance","government","governor","gown","grab-bag","grace","grade","gradient","graduate","graduation","graffiti","graft","grain","gram","grammar","gran","grand","grandchild","granddaughter","grandfather","grandma","grandmom","grandmother","grandpa","grandparent","grandson","granny","granola","grant","grape","grapefruit","graph","graphic","grasp","grass","grasshopper","grassland","gratitude","gravel","gravitas","gravity","gravy","gray","grease","great-grandfather","great-grandmother","greatness","greed","green","greenhouse","greens","grenade","grey","grid","grief","grill","grin","grip","gripper","grit","grocery","ground","group","grouper","grouse","grove","growth","grub","guacamole","guarantee","guard","guava","guerrilla","guess","guest","guestbook","guidance","guide","guideline","guilder","guilt","guilty","guinea","guitar","guitarist","gum","gumshoe","gun","gunpowder","gutter","guy","gym","gymnast","gymnastics","gynaecology","gyro","habit","habitat","hacienda","hacksaw","hackwork","hail","hair","haircut","hake","half","half-brother","half-sister","halibut","hall","halloween","hallway","halt","ham","hamburger","hammer","hammock","hamster","hand","hand-holding","handball","handful","handgun","handicap","handle","handlebar","handmaiden","handover","handrail","handsaw","hanger","happening","happiness","harald","harbor","harbour","hard-hat","hardboard","hardcover","hardening","hardhat","hardship","hardware","hare","harm","harmonica","harmonise","harmonize","harmony","harp","harpooner","harpsichord","harvest","harvester","hash","hashtag","hassock","haste","hat","hatbox","hatchet","hatchling","hate","hatred","haunt","haven","haversack","havoc","hawk","hay","haze","hazel","hazelnut","head","headache","headlight","headline","headphones","headquarters","headrest","health","health-care","hearing","hearsay","heart","heart-throb","heartache","heartbeat","hearth","hearthside","heartwood","heat","heater","heating","heaven","heavy","hectare","hedge","hedgehog","heel","heifer","height","heir","heirloom","helicopter","helium","hellcat","hello","helmet","helo","help","hemisphere","hemp","hen","hepatitis","herb","herbs","heritage","hermit","hero","heroine","heron","herring","hesitation","hexagon","heyday","hiccups","hide","hierarchy","high","high-rise","highland","highlight","highway","hike","hiking","hill","hint","hip","hippodrome","hippopotamus","hire","hiring","historian","history","hit","hive","hobbit","hobby","hockey","hog","hold","holder","hole","holiday","home","homeland","homeownership","hometown","homework","homogenate","homonym","honesty","honey","honeybee","honeydew","honor","honoree","hood","hoof","hook","hop","hope","hops","horde","horizon","hormone","horn","hornet","horror","horse","horseradish","horst","hose","hosiery","hospice","hospital","hospitalisation","hospitality","hospitalization","host","hostel","hostess","hotdog","hotel","hound","hour","hourglass","house","houseboat","household","housewife","housework","housing","hovel","hovercraft","howard","howitzer","hub","hubcap","hubris","hug","hugger","hull","human","humanity","humidity","hummus","humor","humour","hundred","hunger","hunt","hunter","hunting","hurdle","hurdler","hurricane","hurry","hurt","husband","hut","hutch","hyacinth","hybridisation","hybridization","hydrant","hydraulics","hydrocarb","hydrocarbon","hydrofoil","hydrogen","hydrolyse","hydrolysis","hydrolyze","hydroxyl","hyena","hygienic","hype","hyphenation","hypochondria","hypothermia","hypothesis","ice","ice-cream","iceberg","icebreaker","icecream","icicle","icing","icon","icy","id","idea","ideal","identification","identity","ideology","idiom","igloo","ignorance","ignorant","ikebana","illiteracy","illness","illusion","illustration","image","imagination","imbalance","imitation","immigrant","immigration","immortal","impact","impairment","impala","impediment","implement","implementation","implication","import","importance","impostor","impress","impression","imprisonment","impropriety","improvement","impudence","impulse","in-joke","in-laws","inability","inauguration","inbox","incandescence","incarnation","incense","incentive","inch","incidence","incident","incision","inclusion","income","incompetence","inconvenience","increase","incubation","independence","independent","index","indication","indicator","indigence","individual","industrialisation","industrialization","industry","inequality","inevitable","infancy","infant","infarction","infection","infiltration","infinite","infix","inflammation","inflation","influence","influx","info","information","infrastructure","infusion","inglenook","ingrate","ingredient","inhabitant","inheritance","inhibition","inhibitor","initial","initialise","initialize","initiative","injunction","injury","injustice","ink","inlay","inn","innervation","innocence","innocent","innovation","input","inquiry","inscription","insect","insectarium","insert","inside","insight","insolence","insomnia","inspection","inspector","inspiration","installation","instance","instant","instinct","institute","institution","instruction","instructor","instrument","instrumentalist","instrumentation","insulation","insurance","insurgence","insurrection","integer","integral","integration","integrity","intellect","intelligence","intensity","intent","intention","intentionality","interaction","interchange","interconnection","interest","interface","interferometer","interior","interject","interloper","internet","interpretation","interpreter","interval","intervenor","intervention","interview","interviewer","intestine","introduction","intuition","invader","invasion","invention","inventor","inventory","inverse","inversion","investigation","investigator","investment","investor","invitation","invite","invoice","involvement","iridescence","iris","iron","ironclad","irony","irrigation","ischemia","island","isogloss","isolation","issue","item","itinerary","ivory","jack","jackal","jacket","jackfruit","jade","jaguar","jail","jailhouse","jalapeño","jam","jar","jasmine","jaw","jazz","jealousy","jeans","jeep","jelly","jellybeans","jellyfish","jet","jewel","jeweller","jewellery","jewelry","jicama","jiffy","job","jockey","jodhpurs","joey","jogging","joint","joke","jot","journal","journalism","journalist","journey","joy","judge","judgment","judo","jug","juggernaut","juice","julienne","jumbo","jump","jumper","jumpsuit","jungle","junior","junk","junker","junket","jury","justice","justification","jute","kale","kangaroo","karate","kayak","kazoo","kebab","keep","keeper","kendo","kennel","ketch","ketchup","kettle","kettledrum","key","keyboard","keyboarding","keystone","kick","kick-off","kid","kidney","kielbasa","kill","killer","killing","kilogram","kilometer","kilt","kimono","kinase","kind","kindness","king","kingdom","kingfish","kiosk","kiss","kit","kitchen","kite","kitsch","kitten","kitty","kiwi","knee","kneejerk","knickers","knife","knife-edge","knight","knitting","knock","knot","know-how","knowledge","knuckle","koala","kohlrabi","lab","label","labor","laboratory","laborer","labour","labourer","lace","lack","lacquerware","lad","ladder","ladle","lady","ladybug","lag","lake","lamb","lambkin","lament","lamp","lanai","land","landform","landing","landmine","landscape","lane","language","lantern","lap","laparoscope","lapdog","laptop","larch","lard","larder","lark","larva","laryngitis","lasagna","lashes","last","latency","latex","lathe","latitude","latte","latter","laugh","laughter","laundry","lava","law","lawmaker","lawn","lawsuit","lawyer","lay","layer","layout","lead","leader","leadership","leading","leaf","league","leaker","leap","learning","leash","leather","leave","leaver","lecture","leek","leeway","left","leg","legacy","legal","legend","legging","legislation","legislator","legislature","legitimacy","legume","leisure","lemon","lemonade","lemur","lender","lending","length","lens","lentil","leopard","leprosy","leptocephalus","lesson","letter","lettuce","level","lever","leverage","leveret","liability","liar","liberty","library","licence","license","licensing","licorice","lid","lie","lieu","lieutenant","life","lifestyle","lifetime","lift","ligand","light","lighting","lightning","lightscreen","ligula","likelihood","likeness","lilac","lily","limb","lime","limestone","limit","limitation","limo","line","linen","liner","linguist","linguistics","lining","link","linkage","linseed","lion","lip","lipid","lipoprotein","lipstick","liquid","liquidity","liquor","list","listening","listing","literate","literature","litigation","litmus","litter","littleneck","liver","livestock","living","lizard","llama","load","loading","loaf","loafer","loan","lobby","lobotomy","lobster","local","locality","location","lock","locker","locket","locomotive","locust","lode","loft","log","loggia","logic","login","logistics","logo","loincloth","lollipop","loneliness","longboat","longitude","look","lookout","loop","loophole","loquat","lord","loss","lot","lotion","lottery","lounge","louse","lout","love","lover","lox","loyalty","luck","luggage","lumber","lumberman","lunch","luncheonette","lunchmeat","lunchroom","lung","lunge","lute","luxury","lychee","lycra","lye","lymphocyte","lynx","lyocell","lyre","lyrics","lysine","mRNA","macadamia","macaroni","macaroon","macaw","machine","machinery","macrame","macro","macrofauna","madam","maelstrom","maestro","magazine","maggot","magic","magnet","magnitude","maid","maiden","mail","mailbox","mailer","mailing","mailman","main","mainland","mainstream","maintainer","maintenance","maize","major","major-league","majority","makeover","maker","makeup","making","male","malice","mall","mallard","mallet","malnutrition","mama","mambo","mammoth","man","manacle","management","manager","manatee","mandarin","mandate","mandolin","mangle","mango","mangrove","manhunt","maniac","manicure","manifestation","manipulation","mankind","manner","manor","mansard","manservant","mansion","mantel","mantle","mantua","manufacturer","manufacturing","many","map","maple","mapping","maracas","marathon","marble","march","mare","margarine","margin","mariachi","marimba","marines","marionberry","mark","marker","market","marketer","marketing","marketplace","marksman","markup","marmalade","marriage","marsh","marshland","marshmallow","marten","marxism","mascara","mask","masonry","mass","massage","mast","masterpiece","mastication","mastoid","mat","match","matchmaker","mate","material","maternity","math","mathematics","matrix","matter","mattock","mattress","max","maximum","maybe","mayonnaise","mayor","meadow","meal","mean","meander","meaning","means","meantime","measles","measure","measurement","meat","meatball","meatloaf","mecca","mechanic","mechanism","med","medal","media","median","medication","medicine","medium","meet","meeting","melatonin","melody","melon","member","membership","membrane","meme","memo","memorial","memory","men","menopause","menorah","mention","mentor","menu","merchandise","merchant","mercury","meridian","meringue","merit","mesenchyme","mess","message","messenger","messy","metabolite","metal","metallurgist","metaphor","meteor","meteorology","meter","methane","method","methodology","metric","metro","metronome","mezzanine","microlending","micronutrient","microphone","microwave","mid-course","midden","middle","middleman","midline","midnight","midwife","might","migrant","migration","mile","mileage","milepost","milestone","military","milk","milkshake","mill","millennium","millet","millimeter","million","millisecond","millstone","mime","mimosa","min","mincemeat","mind","mine","mineral","mineshaft","mini","mini-skirt","minibus","minimalism","minimum","mining","minion","minister","mink","minnow","minor","minor-league","minority","mint","minute","miracle","mirror","miscommunication","misfit","misnomer","misplacement","misreading","misrepresentation","miss","missile","mission","mist","mistake","mister","misunderstand","miter","mitten","mix","mixer","mixture","moai","moat","mob","mobile","mobility","mobster","moccasins","mocha","mochi","mode","model","modeling","modem","modernist","modernity","modification","molar","molasses","molding","mole","molecule","mom","moment","monastery","monasticism","money","monger","monitor","monitoring","monk","monkey","monocle","monopoly","monotheism","monsoon","monster","month","monument","mood","moody","moon","moonlight","moonscape","moose","mop","morale","morbid","morbidity","morning","morphology","morsel","mortal","mortality","mortgage","mortise","mosque","mosquito","most","motel","moth","mother","mother-in-law","motion","motivation","motive","motor","motorboat","motorcar","motorcycle","mound","mountain","mouse","mouser","mousse","moustache","mouth","mouton","movement","mover","movie","mower","mozzarella","mud","muffin","mug","mukluk","mule","multimedia","muscat","muscatel","muscle","musculature","museum","mushroom","music","music-box","music-making","musician","muskrat","mussel","mustache","mustard","mutation","mutt","mutton","mycoplasma","mystery","myth","mythology","nail","name","naming","nanoparticle","napkin","narrative","nasal","nation","nationality","native","naturalisation","nature","navigation","necessity","neck","necklace","necktie","nectar","nectarine","need","needle","neglect","negligee","negotiation","neighbor","neighborhood","neighbour","neighbourhood","neologism","neon","neonate","nephew","nerve","nest","nestling","nestmate","net","netball","netbook","netsuke","network","networking","neurobiologist","neuron","neuropathologist","neuropsychiatry","news","newsletter","newspaper","newsprint","newsstand","nexus","nibble","nicety","niche","nick","nickel","nickname","niece","night","nightclub","nightgown","nightingale","nightlife","nightlight","nightmare","ninja","nit","nitrogen","nobody","nod","node","noir","noise","nonbeliever","nonconformist","nondisclosure","nonsense","noodle","noodles","noon","norm","normal","normalisation","normalization","north","nose","notation","note","notebook","notepad","nothing","notice","notion","notoriety","nougat","noun","nourishment","novel","nucleotidase","nucleotide","nudge","nuke","number","numeracy","numeric","numismatist","nun","nurse","nursery","nursing","nurture","nut","nutmeg","nutrient","nutrition","nylon","oak","oar","oasis","oat","oatmeal","oats","obedience","obesity","obi","object","objection","objective","obligation","oboe","observation","observatory","obsession","obsidian","obstacle","occasion","occupation","occurrence","ocean","ocelot","octagon","octave","octavo","octet","octopus","odometer","odyssey","oeuvre","off-ramp","offence","offense","offer","offering","office","officer","official","offset","oil","okra","oldie","oleo","olive","omega","omelet","omission","omnivore","oncology","onion","online","onset","opening","opera","operating","operation","operator","ophthalmologist","opinion","opossum","opponent","opportunist","opportunity","opposite","opposition","optimal","optimisation","optimist","optimization","option","orange","orangutan","orator","orchard","orchestra","orchid","order","ordinary","ordination","ore","oregano","organ","organisation","organising","organization","organizing","orient","orientation","origin","original","originality","ornament","osmosis","osprey","ostrich","other","otter","ottoman","ounce","outback","outcome","outfielder","outfit","outhouse","outlaw","outlay","outlet","outline","outlook","output","outrage","outrigger","outrun","outset","outside","oval","ovary","oven","overcharge","overclocking","overcoat","overexertion","overflight","overhead","overheard","overload","overnighter","overshoot","oversight","overview","overweight","owl","owner","ownership","ox","oxford","oxygen","oyster","ozone","pace","pacemaker","pack","package","packaging","packet","pad","paddle","paddock","pagan","page","pagoda","pail","pain","paint","painter","painting","paintwork","pair","pajamas","palace","palate","palm","pamphlet","pan","pancake","pancreas","panda","panel","panic","pannier","panpipe","panther","pantologist","pantology","pantry","pants","pantsuit","pantyhose","papa","papaya","paper","paperback","paperwork","parable","parachute","parade","paradise","paragraph","parallelogram","paramecium","paramedic","parameter","paranoia","parcel","parchment","pard","pardon","parent","parenthesis","parenting","park","parka","parking","parliament","parole","parrot","parser","parsley","parsnip","part","participant","participation","particle","particular","partner","partnership","partridge","party","pass","passage","passbook","passenger","passing","passion","passive","passport","password","past","pasta","paste","pastor","pastoralist","pastry","pasture","pat","patch","pate","patent","patentee","path","pathogenesis","pathology","pathway","patience","patient","patina","patio","patriarch","patrimony","patriot","patrol","patroller","patrolling","patron","pattern","patty","pattypan","pause","pavement","pavilion","paw","pawnshop","pay","payee","payment","payoff","pea","peace","peach","peacoat","peacock","peak","peanut","pear","pearl","peasant","pecan","pedal","peek","peen","peer","peer-to-peer","pegboard","pelican","pelt","pen","penalty","pence","pencil","pendant","pendulum","penguin","penicillin","peninsula","pennant","penny","pension","pentagon","peony","people","pepper","pepperoni","percent","percentage","perception","perch","perennial","perfection","performance","perfume","period","periodical","peripheral","permafrost","permission","permit","perp","perpendicular","persimmon","person","personal","personality","personnel","perspective","pest","pet","petal","petition","petitioner","petticoat","pew","pharmacist","pharmacopoeia","phase","pheasant","phenomenon","phenotype","pheromone","philanthropy","philosopher","philosophy","phone","phosphate","photo","photodiode","photograph","photographer","photography","photoreceptor","phrase","phrasing","physical","physics","physiology","pianist","piano","piccolo","pick","pickax","pickaxe","picket","pickle","pickup","picnic","picture","picturesque","pie","piece","pier","piety","pig","pigeon","piglet","pigpen","pigsty","pike","pilaf","pile","pilgrim","pilgrimage","pill","pillar","pillbox","pillow","pilot","pimple","pin","pinafore","pince-nez","pine","pineapple","pinecone","ping","pinkie","pinot","pinstripe","pint","pinto","pinworm","pioneer","pipe","pipeline","piracy","pirate","pit","pita","pitch","pitcher","pitching","pith","pizza","place","placebo","placement","placode","plagiarism","plain","plaintiff","plan","plane","planet","planning","plant","plantation","planter","planula","plaster","plasterboard","plastic","plate","platelet","platform","platinum","platter","platypus","play","player","playground","playroom","playwright","plea","pleasure","pleat","pledge","plenty","plier","pliers","plight","plot","plough","plover","plow","plowman","plug","plugin","plum","plumber","plume","plunger","plywood","pneumonia","pocket","pocket-watch","pocketbook","pod","podcast","poem","poet","poetry","poignance","point","poison","poisoning","poker","polarisation","polarization","pole","polenta","police","policeman","policy","polish","politician","politics","poll","polliwog","pollutant","pollution","polo","polyester","polyp","pomegranate","pomelo","pompom","poncho","pond","pony","pool","poor","pop","popcorn","poppy","popsicle","popularity","population","populist","porcelain","porch","porcupine","pork","porpoise","port","porter","portfolio","porthole","portion","portrait","position","possession","possibility","possible","post","postage","postbox","poster","posterior","postfix","pot","potato","potential","pottery","potty","pouch","poultry","pound","pounding","poverty","powder","power","practice","practitioner","prairie","praise","pray","prayer","precedence","precedent","precipitation","precision","predecessor","preface","preference","prefix","pregnancy","prejudice","prelude","premeditation","premier","premise","premium","preoccupation","preparation","prescription","presence","present","presentation","preservation","preserves","presidency","president","press","pressroom","pressure","pressurisation","pressurization","prestige","presume","pretzel","prevalence","prevention","prey","price","pricing","pride","priest","priesthood","primary","primate","prince","princess","principal","principle","print","printer","printing","prior","priority","prison","prisoner","privacy","private","privilege","prize","prizefight","probability","probation","probe","problem","procedure","proceedings","process","processing","processor","proctor","procurement","produce","producer","product","production","productivity","profession","professional","professor","profile","profit","progenitor","program","programme","programming","progress","progression","prohibition","project","proliferation","promenade","promise","promotion","prompt","pronoun","pronunciation","proof","proof-reader","propane","property","prophet","proponent","proportion","proposal","proposition","proprietor","prose","prosecution","prosecutor","prospect","prosperity","prostacyclin","prostanoid","prostrate","protection","protein","protest","protocol","providence","provider","province","provision","prow","proximal","proximity","prune","pruner","pseudocode","pseudoscience","psychiatrist","psychoanalyst","psychologist","psychology","ptarmigan","pub","public","publication","publicity","publisher","publishing","pudding","puddle","puffin","pug","puggle","pulley","pulse","puma","pump","pumpernickel","pumpkin","pumpkinseed","pun","punch","punctuation","punishment","pup","pupa","pupil","puppet","puppy","purchase","puritan","purity","purpose","purr","purse","pursuit","push","pusher","put","puzzle","pyramid","pyridine","quadrant","quail","qualification","quality","quantity","quart","quarter","quartet","quartz","queen","query","quest","question","questioner","questionnaire","quiche","quicksand","quiet","quill","quilt","quince","quinoa","quit","quiver","quota","quotation","quote","rabbi","rabbit","raccoon","race","racer","racing","rack","radar","radiator","radio","radiosonde","radish","raffle","raft","rag","rage","raid","rail","railing","railroad","railway","raiment","rain","rainbow","raincoat","rainmaker","rainstorm","rainy","raise","raisin","rake","rally","ram","rambler","ramen","ramie","ranch","rancher","randomisation","randomization","range","ranger","rank","rap","raspberry","rat","rate","ratepayer","rating","ratio","rationale","rations","raven","ravioli","rawhide","ray","rayon","razor","reach","reactant","reaction","read","reader","readiness","reading","real","reality","realization","realm","reamer","rear","reason","reasoning","rebel","rebellion","reboot","recall","recapitulation","receipt","receiver","reception","receptor","recess","recession","recipe","recipient","reciprocity","reclamation","recliner","recognition","recollection","recommendation","reconsideration","record","recorder","recording","recovery","recreation","recruit","rectangle","redesign","redhead","redirect","rediscovery","reduction","reef","refectory","reference","referendum","reflection","reform","refreshments","refrigerator","refuge","refund","refusal","refuse","regard","regime","region","regionalism","register","registration","registry","regret","regulation","regulator","rehospitalisation","rehospitalization","reindeer","reinscription","reject","relation","relationship","relative","relaxation","relay","release","reliability","relief","religion","relish","reluctance","remains","remark","reminder","remnant","remote","removal","renaissance","rent","reorganisation","reorganization","repair","reparation","repayment","repeat","replacement","replica","replication","reply","report","reporter","reporting","repository","representation","representative","reprocessing","republic","republican","reputation","request","requirement","resale","rescue","research","researcher","resemblance","reservation","reserve","reservoir","reset","residence","resident","residue","resist","resistance","resolution","resolve","resort","resource","respect","respite","response","responsibility","rest","restaurant","restoration","restriction","restroom","restructuring","result","resume","retailer","retention","rethinking","retina","retirement","retouching","retreat","retrospect","retrospective","retrospectivity","return","reunion","revascularisation","revascularization","reveal","revelation","revenant","revenge","revenue","reversal","reverse","review","revitalisation","revitalization","revival","revolution","revolver","reward","rhetoric","rheumatism","rhinoceros","rhubarb","rhyme","rhythm","rib","ribbon","rice","riddle","ride","rider","ridge","riding","rifle","right","rim","ring","ringworm","riot","rip","ripple","rise","riser","risk","rite","ritual","river","riverbed","rivulet","road","roadway","roar","roast","robe","robin","robot","robotics","rock","rocker","rocket","rocket-ship","rod","role","roll","roller","romaine","romance","roof","room","roommate","rooster","root","rope","rose","rosemary","roster","rostrum","rotation","round","roundabout","route","router","routine","row","rowboat","rowing","rubber","rubbish","rubric","ruby","ruckus","rudiment","ruffle","rug","rugby","ruin","rule","ruler","ruling","rumor","run","runaway","runner","running","runway","rush","rust","rutabaga","rye","sabre","sack","saddle","sadness","safari","safe","safeguard","safety","saffron","sage","sail","sailboat","sailing","sailor","saint","sake","salad","salami","salary","sale","salesman","salmon","salon","saloon","salsa","salt","salute","samovar","sampan","sample","samurai","sanction","sanctity","sanctuary","sand","sandal","sandbar","sandpaper","sandwich","sanity","sardine","sari","sarong","sash","satellite","satin","satire","satisfaction","sauce","saucer","sauerkraut","sausage","savage","savannah","saving","savings","savior","saviour","savory","saw","saxophone","scaffold","scale","scallion","scallops","scalp","scam","scanner","scarecrow","scarf","scarification","scenario","scene","scenery","scent","schedule","scheduling","schema","scheme","schnitzel","scholar","scholarship","school","schoolhouse","schooner","science","scientist","scimitar","scissors","scooter","scope","score","scorn","scorpion","scotch","scout","scow","scrambled","scrap","scraper","scratch","screamer","screen","screening","screenwriting","screw","screw-up","screwdriver","scrim","scrip","script","scripture","scrutiny","sculpting","sculptural","sculpture","sea","seabass","seafood","seagull","seal","seaplane","search","seashore","seaside","season","seat","seaweed","second","secrecy","secret","secretariat","secretary","secretion","section","sectional","sector","security","sediment","seed","seeder","seeker","seep","segment","seizure","selection","self","self-confidence","self-control","self-esteem","seller","selling","semantics","semester","semicircle","semicolon","semiconductor","seminar","senate","senator","sender","senior","sense","sensibility","sensitive","sensitivity","sensor","sentence","sentencing","sentiment","sepal","separation","septicaemia","sequel","sequence","serial","series","sermon","serum","serval","servant","server","service","servitude","sesame","session","set","setback","setting","settlement","settler","severity","sewer","shack","shackle","shade","shadow","shadowbox","shakedown","shaker","shallot","shallows","shame","shampoo","shanty","shape","share","shareholder","shark","shaw","shawl","shear","shearling","sheath","shed","sheep","sheet","shelf","shell","shelter","sherbet","sherry","shield","shift","shin","shine","shingle","ship","shipper","shipping","shipyard","shirt","shirtdress","shoat","shock","shoe","shoe-horn","shoehorn","shoelace","shoemaker","shoes","shoestring","shofar","shoot","shootdown","shop","shopper","shopping","shore","shoreline","short","shortage","shorts","shortwave","shot","shoulder","shout","shovel","show","show-stopper","shower","shred","shrimp","shrine","shutdown","sibling","sick","sickness","side","sideboard","sideburns","sidecar","sidestream","sidewalk","siding","siege","sigh","sight","sightseeing","sign","signal","signature","signet","significance","signify","signup","silence","silica","silicon","silk","silkworm","sill","silly","silo","silver","similarity","simple","simplicity","simplification","simvastatin","sin","singer","singing","singular","sink","sinuosity","sip","sir","sister","sister-in-law","sitar","site","situation","size","skate","skating","skean","skeleton","ski","skiing","skill","skin","skirt","skull","skullcap","skullduggery","skunk","sky","skylight","skyline","skyscraper","skywalk","slang","slapstick","slash","slate","slaw","sled","sledge","sleep","sleepiness","sleeping","sleet","sleuth","slice","slide","slider","slime","slip","slipper","slippers","slope","slot","sloth","slump","smell","smelting","smile","smith","smock","smog","smoke","smoking","smolt","smuggling","snack","snail","snake","snakebite","snap","snarl","sneaker","sneakers","sneeze","sniffle","snob","snorer","snow","snowboarding","snowflake","snowman","snowmobiling","snowplow","snowstorm","snowsuit","snuck","snug","snuggle","soap","soccer","socialism","socialist","society","sociology","sock","socks","soda","sofa","softball","softdrink","softening","software","soil","soldier","sole","solicitation","solicitor","solidarity","solidity","soliloquy","solitaire","solution","solvency","sombrero","somebody","someone","someplace","somersault","something","somewhere","son","sonar","sonata","song","songbird","sonnet","soot","sophomore","soprano","sorbet","sorghum","sorrel","sorrow","sort","soul","soulmate","sound","soundness","soup","source","sourwood","sousaphone","south","southeast","souvenir","sovereignty","sow","soy","soybean","space","spacing","spaghetti","span","spandex","sparerib","spark","sparrow","spasm","spat","spatula","spawn","speaker","speakerphone","speaking","spear","spec","special","specialist","specialty","species","specification","spectacle","spectacles","spectrograph","spectrum","speculation","speech","speed","speedboat","spell","spelling","spelt","spending","sphere","sphynx","spice","spider","spiderling","spike","spill","spinach","spine","spiral","spirit","spiritual","spirituality","spit","spite","spleen","splendor","split","spokesman","spokeswoman","sponge","sponsor","sponsorship","spool","spoon","spork","sport","sportsman","spot","spotlight","spouse","sprag","sprat","spray","spread","spreadsheet","spree","spring","sprinkles","sprinter","sprout","spruce","spud","spume","spur","spy","spyglass","square","squash","squatter","squeegee","squid","squirrel","stab","stability","stable","stack","stacking","stadium","staff","stag","stage","stain","stair","staircase","stake","stalk","stall","stallion","stamen","stamina","stamp","stance","stand","standard","standardisation","standardization","standing","standoff","standpoint","star","starboard","start","starter","state","statement","statin","station","station-wagon","statistic","statistics","statue","status","statute","stay","steak","stealth","steam","steamroller","steel","steeple","stem","stench","stencil","step","step-aunt","step-brother","step-daughter","step-father","step-grandfather","step-grandmother","step-mother","step-sister","step-son","step-uncle","stepdaughter","stepmother","stepping-stone","stepson","stereo","stew","steward","stick","sticker","stiletto","still","stimulation","stimulus","sting","stinger","stir-fry","stitch","stitcher","stock","stock-in-trade","stockings","stole","stomach","stone","stonework","stool","stop","stopsign","stopwatch","storage","store","storey","storm","story","story-telling","storyboard","stot","stove","strait","strand","stranger","strap","strategy","straw","strawberry","strawman","stream","street","streetcar","strength","stress","stretch","strife","strike","string","strip","stripe","strobe","structure","strudel","struggle","stucco","stud","student","studio","study","stuff","stumbling","stump","stupidity","sturgeon","sty","style","styling","stylus","sub","subcomponent","subconscious","subcontractor","subexpression","subgroup","subject","submarine","submitter","subprime","subroutine","subscription","subsection","subset","subsidence","subsidiary","subsidy","substance","substitution","subtitle","suburb","subway","success","succotash","suede","suet","suffocation","sugar","suggestion","suit","suitcase","suite","sulfur","sultan","sum","summary","summer","summit","sun","sunbeam","sunbonnet","sundae","sunday","sundial","sunflower","sunglasses","sunlamp","sunlight","sunrise","sunroom","sunset","sunshine","superiority","supermarket","supernatural","supervision","supervisor","supper","supplement","supplier","supply","support","supporter","suppression","supreme","surface","surfboard","surge","surgeon","surgery","surname","surplus","surprise","surround","surroundings","surrounds","survey","survival","survivor","sushi","suspect","suspenders","suspension","sustainment","sustenance","swamp","swan","swanling","swath","sweat","sweater","sweatshirt","sweatshop","sweatsuit","sweets","swell","swim","swimming","swimsuit","swine","swing","switch","switchboard","switching","swivel","sword","swordfight","swordfish","sycamore","symbol","symmetry","sympathy","symptom","syndicate","syndrome","synergy","synod","synonym","synthesis","syrup","system","t-shirt","tab","tabby","tabernacle","table","tablecloth","tablet","tabletop","tachometer","tackle","taco","tactics","tactile","tadpole","tag","tail","tailbud","tailor","tailspin","take-out","takeover","tale","talent","talk","talking","tam-o'-shanter","tamale","tambour","tambourine","tan","tandem","tangerine","tank","tank-top","tanker","tankful","tap","tape","tapioca","target","taro","tarragon","tart","task","tassel","taste","tatami","tattler","tattoo","tavern","tax","taxi","taxicab","taxpayer","tea","teacher","teaching","team","teammate","teapot","tear","tech","technician","technique","technologist","technology","tectonics","teen","teenager","teepee","telephone","telescreen","teletype","television","tell","teller","temp","temper","temperature","temple","tempo","temporariness","temporary","temptation","temptress","tenant","tendency","tender","tenement","tenet","tennis","tenor","tension","tensor","tent","tentacle","tenth","tepee","teriyaki","term","terminal","termination","terminology","termite","terrace","terracotta","terrapin","terrarium","territory","test","testament","testimonial","testimony","testing","text","textbook","textual","texture","thanks","thaw","theater","theft","theism","theme","theology","theory","therapist","therapy","thermals","thermometer","thermostat","thesis","thickness","thief","thigh","thing","thinking","thirst","thistle","thong","thongs","thorn","thought","thousand","thread","threat","threshold","thrift","thrill","throne","thrush","thumb","thump","thunder","thunderbolt","thunderhead","thunderstorm","thyme","tiara","tic","tick","ticket","tide","tie","tiger","tights","tile","till","tilt","timbale","timber","time","timeline","timeout","timer","timetable","timing","timpani","tin","tinderbox","tintype","tip","tire","tissue","titanium","title","toad","toast","toaster","tobacco","today","toe","toenail","toffee","tofu","tog","toga","toilet","tolerance","tolerant","toll","tom-tom","tomatillo","tomato","tomb","tomography","tomorrow","ton","tonality","tone","tongue","tonic","tonight","tool","toot","tooth","toothbrush","toothpaste","toothpick","top","top-hat","topic","topsail","toque","toreador","tornado","torso","torte","tortellini","tortilla","tortoise","total","tote","touch","tough-guy","tour","tourism","tourist","tournament","tow-truck","towel","tower","town","townhouse","township","toy","trace","trachoma","track","tracking","tracksuit","tract","tractor","trade","trader","trading","tradition","traditionalism","traffic","trafficker","tragedy","trail","trailer","trailpatrol","train","trainer","training","trait","tram","trance","transaction","transcript","transfer","transformation","transit","transition","translation","transmission","transom","transparency","transplantation","transport","transportation","trap","trapdoor","trapezium","trapezoid","trash","travel","traveler","tray","treasure","treasury","treat","treatment","treaty","tree","trek","trellis","tremor","trench","trend","triad","trial","triangle","tribe","tributary","trick","trigger","trigonometry","trillion","trim","trinket","trip","tripod","tritone","triumph","trolley","troop","trooper","trophy","trouble","trousers","trout","trove","trowel","truck","trumpet","trunk","trust","trustee","truth","try","tsunami","tub","tuba","tube","tuber","tug","tugboat","tuition","tulip","tumbler","tummy","tuna","tune","tune-up","tunic","tunnel","turban","turf","turkey","turmeric","turn","turning","turnip","turnover","turnstile","turret","turtle","tusk","tussle","tutu","tuxedo","tweet","tweezers","twig","twilight","twine","twins","twist","twister","twitter","type","typeface","typewriter","typhoon","ukulele","ultimatum","umbrella","unblinking","uncertainty","uncle","underclothes","underestimate","underground","underneath","underpants","underpass","undershirt","understanding","understatement","undertaker","underwear","underweight","underwire","underwriting","unemployment","unibody","uniform","uniformity","union","unique","unit","unity","universe","university","update","upgrade","uplift","upper","upstairs","upward","urge","urgency","urn","usage","use","user","usher","usual","utensil","utilisation","utility","utilization","vacation","vaccine","vacuum","vagrant","valance","valentine","validate","validity","valley","valuable","value","vampire","van","vanadyl","vane","vanilla","vanity","variability","variable","variant","variation","variety","vascular","vase","vault","vaulting","veal","vector","vegetable","vegetarian","vegetarianism","vegetation","vehicle","veil","vein","veldt","vellum","velocity","velodrome","velvet","vendor","veneer","vengeance","venison","venom","venti","venture","venue","veranda","verb","verdict","verification","vermicelli","vernacular","verse","version","vertigo","verve","vessel","vest","vestment","vet","veteran","veterinarian","veto","viability","vibraphone","vibration","vibrissae","vice","vicinity","victim","victory","video","view","viewer","vignette","villa","village","vine","vinegar","vineyard","vintage","vintner","vinyl","viola","violation","violence","violet","violin","virtue","virus","visa","viscose","vise","vision","visit","visitor","visor","vista","visual","vitality","vitamin","vitro","vivo","vogue","voice","void","vol","volatility","volcano","volleyball","volume","volunteer","volunteering","vote","voter","voting","voyage","vulture","wafer","waffle","wage","wagon","waist","waistband","wait","waiter","waiting","waitress","waiver","wake","walk","walker","walking","walkway","wall","wallaby","wallet","walnut","walrus","wampum","wannabe","want","war","warden","wardrobe","warfare","warlock","warlord","warm-up","warming","warmth","warning","warrant","warren","warrior","wasabi","wash","washbasin","washcloth","washer","washtub","wasp","waste","wastebasket","wasting","watch","watcher","watchmaker","water","waterbed","watercress","waterfall","waterfront","watermelon","waterskiing","waterspout","waterwheel","wave","waveform","wax","way","weakness","wealth","weapon","wear","weasel","weather","web","webinar","webmail","webpage","website","wedding","wedge","weeder","weedkiller","week","weekend","weekender","weight","weird","welcome","welfare","well","well-being","west","western","wet-bar","wetland","wetsuit","whack","whale","wharf","wheat","wheel","whelp","whey","whip","whirlpool","whirlwind","whisker","whisper","whistle","whole","wholesale","wholesaler","whorl","wick","widget","widow","width","wife","wifi","wild","wildebeest","wilderness","wildlife","will","willingness","willow","win","wind","wind-chime","windage","window","windscreen","windshield","winery","wing","wingman","wingtip","wink","winner","winter","wire","wiretap","wiring","wisdom","wiseguy","wish","wisteria","wit","witch","witch-hunt","withdrawal","witness","wok","wolf","woman","wombat","wonder","wont","wood","woodchuck","woodland","woodshed","woodwind","wool","woolens","word","wording","work","workbench","worker","workforce","workhorse","working","workout","workplace","workshop","world","worm","worry","worship","worshiper","worth","wound","wrap","wraparound","wrapper","wrapping","wreck","wrecker","wren","wrench","wrestler","wriggler","wrinkle","wrist","writer","writing","wrong","xylophone","yacht","yahoo","yak","yam","yang","yard","yarmulke","yarn","yawl","year","yeast","yellowjacket","yesterday","yew","yin","yoga","yogurt","yoke","yolk","young","youngster","yourself","youth","yoyo","yurt","zampone","zebra","zebrafish","zen","zephyr","zero","ziggurat","zinc","zipper","zither","zombie","zone","zoo","zoologist","zoology","zoot-suit","zucchini"],Sg=["a","abaft","aboard","about","above","absent","across","afore","after","against","along","alongside","amid","amidst","among","amongst","an","anenst","anti","apropos","apud","around","as","aside","astride","at","athwart","atop","barring","before","behind","below","beneath","beside","besides","between","beyond","but","by","circa","concerning","considering","despite","down","during","except","excepting","excluding","failing","following","for","forenenst","from","given","in","including","inside","into","lest","like","mid","midst","minus","modulo","near","next","notwithstanding","of","off","on","onto","opposite","out","outside","over","pace","past","per","plus","pro","qua","regarding","round","sans","save","since","than","the","through","throughout","till","times","to","toward","towards","under","underneath","unlike","until","unto","up","upon","versus","via","vice","with","within","without","worth"],Mg=["abandon","abase","abate","abbreviate","abdicate","abduct","abet","abhor","abide","abjure","abnegate","abolish","abominate","abort","abound","abrade","abridge","abrogate","abscond","abseil","absent","absolve","absorb","abstain","abstract","abut","accede","accelerate","accent","accentuate","accept","access","accessorise","accessorize","acclaim","acclimate","acclimatise","acclimatize","accommodate","accompany","accomplish","accord","accost","account","accouter","accoutre","accredit","accrue","acculturate","accumulate","accuse","accustom","ace","ache","achieve","acidify","acknowledge","acquaint","acquiesce","acquire","acquit","act","action","activate","actualise","actualize","actuate","adapt","add","addle","address","adduce","adhere","adjoin","adjourn","adjudge","adjudicate","adjure","adjust","administer","admire","admit","admonish","adopt","adore","adorn","adsorb","adulterate","adumbrate","advance","advantage","advertise","advise","advocate","aerate","affect","affiliate","affirm","affix","afflict","afford","afforest","affront","age","agglomerate","aggravate","aggregate","agitate","agonise","agonize","agree","aid","ail","aim","air","airbrush","airdrop","airfreight","airlift","alarm","alert","alienate","alight","align","allay","allege","alleviate","allocate","allot","allow","alloy","allude","ally","alphabetise","alphabetize","alter","alternate","amalgamate","amass","amaze","amble","ambush","ameliorate","amend","amortise","amortize","amount","amplify","amputate","amuse","anaesthetise","anaesthetize","analyse","anchor","anesthetize","anger","angle","anglicise","anglicize","animate","anneal","annex","annihilate","annotate","announce","annoy","annul","anodise","anodize","anoint","anonymise","anonymize","answer","antagonise","antagonize","antedate","anthologise","anthologize","anticipate","ape","apologise","apologize","apostrophise","apostrophize","appal","appall","appeal","appear","appease","append","appertain","applaud","apply","appoint","apportion","appraise","appreciate","apprehend","apprentice","apprise","approach","appropriate","approve","approximate","aquaplane","arbitrate","arc","arch","archive","argue","arise","arm","arraign","arrange","array","arrest","arrive","arrogate","art","articulate","ascend","ascertain","ascribe","ask","asphyxiate","aspirate","aspire","assail","assassinate","assault","assay","assemble","assent","assert","assess","assign","assimilate","assist","associate","assuage","assume","assure","asterisk","astonish","astound","atomise","atomize","atone","atrophy","attach","attack","attain","attempt","attend","attenuate","attest","attract","attribute","auction","audit","audition","augment","augur","authenticate","author","authorise","authorize","autograph","automate","autosave","autowind","avail","avenge","aver","average","avert","avoid","avow","await","awake","awaken","award","awe","ax","axe","baa","babble","baby","babysit","back","backcomb","backdate","backfill","backfire","backlight","backpack","backspace","backtrack","badger","baffle","bag","bail","bait","bake","balance","bale","ball","balloon","ballot","balls","bamboozle","ban","band","bandage","bandy","banish","bank","bankroll","bankrupt","banter","baptise","baptize","bar","barbecue","bare","bargain","barge","bark","barnstorm","barrack","barrel","barricade","barter","base","bash","bask","baste","bat","batch","bath","bathe","batten","batter","battle","baulk","bawl","bay","bayonet","be","beach","beam","bean","bear","beard","beat","beatbox","beatboxer","beatify","beautify","beckon","become","bedazzle","bedeck","bedevil","beef","beep","beetle","befall","befit","befog","befriend","beg","beget","beggar","begin","begrudge","beguile","behave","behold","behoove","behove","belabor","belabour","belay","belch","belie","believe","belittle","bellow","belly","bellyache","belong","belt","bemoan","bemuse","benchmark","bend","benefit","bequeath","berate","bereave","berth","beseech","beset","besiege","besmirch","bespatter","bespeak","best","bestir","bestow","bestride","bet","betake","betide","betoken","betray","better","bewail","beware","bewilder","bewitch","bias","bicker","bicycle","bid","bide","biff","bifurcate","big","bike","bilk","bill","billet","billow","bin","bind","binge","biodegrade","bird","bisect","bite","bitmap","bivouac","bivvy","blab","blabber","blacken","blackmail","blag","blame","blanch","blank","blanket","blare","blaspheme","blast","blather","blaze","blazon","bleach","bleat","bleed","bleep","blemish","blench","blend","bless","blight","blind","blindfold","blindfolded","blindside","blink","bliss","blister","blitz","bloat","block","blockade","blog","blood","bloom","bloop","blossom","blot","blow","blub","blubber","bludge","bludgeon","bluff","blunder","blunt","blur","blurt","blush","bluster","board","boast","bob","bobble","bode","bodge","bog","boggle","boil","bolster","bolt","bomb","bombard","bond","bonk","boo","boogie","book","bookmark","boom","boomerang","boost","boot","bootleg","bop","border","bore","born","borrow","boss","botch","bother","bottle","bottleful","bottom","bounce","bound","bow","bowdlerise","bowdlerize","bowl","bowlful","box","boycott","braai","brace","braces","bracket","brag","braid","brain","brainstorm","brainwash","braise","brake","branch","brand","brandish","brave","brawl","bray","brazen","breach","break","breakfast","breathalyse","breathalyze","breathe","breed","breeze","brew","bribe","brick","bridge","bridle","brief","brighten","brim","bring","bristle","broach","broadcast","broaden","broadside","broil","broker","brood","brook","browbeat","browse","bruise","bruit","brush","brutalise","brutalize","bubble","buck","bucket","bucketful","buckle","bud","buddy","budge","budget","buff","buffer","buffet","bug","build","bulge","bulk","bulldoze","bully","bum","bumble","bump","bunch","bundle","bungle","bunk","bunker","bunt","buoy","burble","burden","burgeon","burglarize","burgle","burn","burnish","burp","burrow","burst","bury","bus","bushwhack","busk","bust","bustle","busy","butcher","butt","butter","button","buttonhole","buttress","buy","buzz","buzzing","bypass","cable","cache","cackle","caddie","cadge","cage","cajole","cake","calcify","calculate","calibrate","call","calm","calve","camouflage","camp","campaign","can","canalise","canalize","cancel","cane","cannibalise","cannibalize","cannon","cannulate","canoe","canonise","canonize","canst","cant","canter","canvass","cap","caper","capitalise","capitalize","capitulate","capsize","captain","caption","captivate","capture","caramelise","caramelize","carbonise","carbonize","carburise","carburize","card","care","careen","career","caress","caricature","carjack","carol","carom","carouse","carp","carpet","carpool","carry","cart","cartwheel","carve","cascade","case","cash","cashier","casserole","cast","castigate","catalog","catalogue","catalyse","catalyze","catapult","catch","categorise","categorize","cater","caterwaul","catnap","caucus","caulk","cause","cauterise","cauterize","caution","cave","cavil","cavort","caw","cc","cease","cede","celebrate","cement","censor","censure","centralise","centralize","centre","certificate","certify","chafe","chaff","chain","chair","chalk","challenge","champ","champion","chance","change","channel","chant","chaperon","chaperone","char","characterise","characterize","charbroil","charge","chargesheet","chargrill","charm","chart","charter","chase","chasten","chastise","chat","chatter","chauffeur","cheapen","cheat","cheater","check","checkmate","cheek","cheep","cheer","cherish","chew","chicken","chide","chill","chillax","chime","chip","chirp","chisel","chivvy","chlorinate","choke","chomp","choose","chop","choreograph","chortle","chorus","christen","chromakey","chronicle","chuck","chuckle","chunder","chunter","churn","cinch","circle","circulate","circumnavigate","circumscribe","circumvent","cite","civilise","civilize","clack","claim","clam","clamber","clamor","clamour","clamp","clang","clank","clap","clarify","clash","clasp","class","classify","clatter","claw","clean","cleanse","clear","cleave","clench","clerk","click","climb","clinch","cling","clink","clinking","clip","cloak","clobber","clock","clog","clone","clonk","close","closet","clot","clothe","cloud","clout","clown","club","cluck","clue","clump","clunk","cluster","clutch","clutter","coach","coagulate","coalesce","coarsen","coast","coat","coax","cobble","cocoon","coddle","code","codify","coerce","coexist","cogitate","cohabit","cohere","coil","coin","coincide","collaborate","collapse","collar","collate","collect","collectivise","collectivize","collide","colligate","collocate","collude","colonise","colonize","colorize","colour","comb","combat","combine","combust","come","comfort","command","commandeer","commemorate","commence","commend","comment","commentate","commercialise","commercialize","commingle","commiserate","commission","commit","commune","communicate","commute","compact","compare","compartmentalise","compartmentalize","compel","compensate","compete","compile","complain","complement","complete","complicate","compliment","comply","comport","compose","compost","compound","comprehend","compress","comprise","compromise","compute","computerise","computerize","con","conceal","concede","conceive","concentrate","conceptualise","conceptualize","concern","concertina","conciliate","conclude","concoct","concrete","concur","concuss","condemn","condense","condescend","condition","condone","conduct","cone","confer","confess","confide","configure","confine","confirm","confiscate","conflate","conflict","conform","confound","confront","confuse","confute","congeal","congratulate","congregate","conjecture","conjoin","conjugate","conjure","conk","connect","connive","connote","conquer","conscientise","conscientize","conscript","consecrate","consent","conserve","consider","consign","consist","console","consolidate","consort","conspire","constitute","constrain","constrict","construct","construe","consult","consume","consummate","contact","contain","contaminate","contemplate","contend","content","contest","contextualise","contextualize","continue","contort","contract","contradict","contraindicate","contrast","contravene","contribute","contrive","control","controvert","convalesce","convene","converge","converse","convert","convey","convict","convince","convoke","convulse","coo","cook","cool","coop","cooperate","coordinate","cop","cope","coppice","copy","copyright","cordon","core","cork","corkscrew","corner","corral","correct","correlate","correspond","corrode","corrupt","coruscate","cosh","cosset","cost","cosy","cotton","couch","cough","counsel","count","countenance","counter","counteract","counterbalance","counterfeit","countermand","counterpoint","countersign","couple","courier","course","court","covenant","cover","covet","cow","cower","cozy","crackle","cradle","craft","cram","cramp","crane","crank","crate","crave","crawl","crayon","creak","creaking","cream","crease","create","credential","credit","creep","cremate","creolise","creolize","creosote","crest","crew","crib","crick","criminalise","criminalize","crimp","cringe","crinkle","cripple","crisp","criticise","criticize","critique","croak","crochet","crook","croon","crop","cross","crouch","crow","crowd","crown","cruise","crumble","crumple","crunch","crusade","crush","cry","crystallise","crystallize","cube","cuddle","cudgel","cue","cuff","cull","culminate","cultivate","culture","cup","curate","curb","curdle","cure","curl","curry","curse","curtail","curtain","curtsy","curve","cushion","cuss","customise","customize","cut","cwtch","cycle","dab","dabble","dally","dam","damage","damp","dampen","dance","dandle","dangle","dare","darken","darn","dart","dash","date","daub","daunt","dawdle","dawn","daydream","dazzle","deactivate","deaden","deadhead","deafen","deal","debar","debase","debate","debilitate","debit","debrief","debug","debunk","debut","decamp","decant","decay","deceive","decelerate","decentralise","decentralize","decide","decimalise","decimalize","decimate","decipher","deck","declaim","declare","declassify","decline","declutter","decode","decommission","decompose","decompress","deconsecrate","deconstruct","decontaminate","decontrol","decorate","decouple","decoy","decrease","decree","decriminalise","decriminalize","decry","decrypt","dedicate","deduce","deduct","deejay","deem","deepen","deface","defame","default","defeat","defect","defend","defer","defile","define","deflate","deflect","defog","defoliate","deforest","deform","defrag","defragment","defraud","defray","defrock","defrost","defuse","defy","degenerate","deglaze","degrade","degrease","dehumanise","dehumanize","dehydrate","deify","deign","delay","delegate","delete","deliberate","delight","delimit","delineate","deliquesce","deliver","delouse","delude","deluge","delve","demand","demarcate","demean","demerge","demilitarise","demilitarize","demineralise","demineralize","demist","demo","demob","demobilise","demobilize","democratise","democratize","demolish","demonise","demonize","demonstrate","demoralise","demoralize","demote","demotivate","demur","demystify","denationalise","denationalize","denigrate","denitrify","denominate","denote","denounce","dent","denude","deny","depart","depend","depersonalise","depersonalize","depict","deplane","deplete","deplore","deploy","depopulate","deport","depose","deposit","deprave","deprecate","depreciate","depress","depressurise","depressurize","deprive","depute","deputise","deputize","deracinate","derail","dereference","deregulate","deride","derive","derogate","descale","descend","describe","descry","desecrate","desegregate","deselect","desensitise","desensitize","desert","deserve","design","designate","desire","desist","deskill","desolate","despair","despise","despoil","destabilise","destabilize","destock","destroy","detach","detail","detain","detect","deter","deteriorate","determine","detest","dethrone","detonate","detour","detoxify","detract","detrain","devalue","devastate","develop","deviate","devise","devoice","devolve","devote","devour","diagnose","dial","dice","dicker","dictate","die","diet","differ","differentiate","diffract","diffuse","dig","digest","digitalise","digitalize","digitise","digitize","dignify","digress","dilate","dilute","diluted","dim","diminish","dimple","dine","ding","dip","diphthongise","diphthongize","direct","dirty","dis","disable","disabuse","disadvantage","disaffiliate","disafforest","disagree","disallow","disambiguate","disappear","disappoint","disapprove","disarm","disarrange","disassemble","disassociate","disavow","disband","disbar","disbelieve","disburse","discard","discern","discharge","discipline","disclaim","disclose","discolor","discolour","discomfit","discomfort","discompose","disconcert","disconnect","discontinue","discount","discourage","discourse","discover","discredit","discriminate","discuss","disdain","disembark","disembowel","disenfranchise","disengage","disentangle","disestablish","disgorge","disgrace","disguise","disgust","dish","dishearten","dishonor","dishonour","disillusion","disincentivise","disincentivize","disinfect","disinherit","disinhibit","disintegrate","disinter","disinvest","dislike","dislocate","dislodge","dismantle","dismay","dismember","dismiss","dismount","disobey","disorient","disorientate","disown","disparage","dispatch","dispel","dispense","disperse","displace","display","displease","disport","dispose","dispossess","disprove","dispute","disqualify","disregard","disrespect","disrobe","disrupt","dissect","dissemble","disseminate","dissent","dissimulate","dissipate","dissociate","dissolve","dissuade","distance","distend","distil","distill","distinguish","distort","distract","distress","distribute","distrust","disturb","disunite","ditch","dither","dive","diverge","diversify","divert","divest","divide","divine","divorce","divulge","divvy","do","dob","dock","doctor","document","dodge","doff","dog","dole","doll","dollarise","dollarize","domesticate","dominate","don","donate","doodle","doom","doorstep","dop","dope","dose","doss","dot","dote","double","doubt","douse","dovetail","down","downchange","downgrade","downlink","download","downplay","downshift","downsize","dowse","doze","draft","drag","dragoon","drain","dramatise","dramatize","drape","draught","draw","drawl","dread","dream","dredge","drench","dress","dribble","drift","drill","drink","drip","drive","drivel","drizzle","drone","drool","droop","drop","drown","drowse","drug","drum","dry","dub","duck","duckie","ducks","duel","duff","dull","dumb","dumbfound","dump","dunk","dunt","dupe","duplicate","dust","dwarf","dwell","dwindle","dye","dynamite","earmark","earn","earth","ease","eat","eavesdrop","ebb","echo","eclipse","economise","economize","eddy","edge","edify","edit","editorialise","editorialize","educate","efface","effect","effectuate","egg","eject","eke","elaborate","elapse","elbow","elect","electrify","electrocute","electroplate","elevate","elicit","elide","eliminate","elongate","elope","elucidate","elude","email","emanate","emancipate","embalm","embargo","embark","embarrass","embed","embellish","embezzle","embitter","emblazon","embody","embolden","emboss","embrace","embroider","embroil","emcee","emend","emerge","emigrate","emit","emote","empathise","empathize","emphasise","emphasize","employ","empower","empty","emulate","emulsify","enable","enact","encamp","encapsulate","encase","encash","enchant","encircle","enclose","encode","encompass","encounter","encourage","encroach","encrypt","encumber","end","endanger","endear","endeavor","endeavour","endorse","endow","endure","energise","energize","enervate","enfeeble","enfold","enforce","enfranchise","engage","engender","engineer","engorge","engrave","engross","engulf","enhance","enjoin","enjoy","enlarge","enlighten","enlist","enliven","enmesh","ennoble","enquire","enrage","enrapture","enrich","enrol","enroll","ensconce","enshrine","enshroud","ensnare","ensue","ensure","entail","entangle","enter","entertain","enthral","enthrall","enthrone","enthuse","entice","entitle","entomb","entrance","entrap","entreat","entrench","entrust","entwine","enumerate","enunciate","envelop","envisage","envision","envy","epitomise","epitomize","equal","equalise","equalize","equate","equip","equivocate","eradicate","erase","erode","err","erupt","escalate","escape","eschew","espouse","espy","essay","establish","esteem","estimate","etch","eulogise","eulogize","euthanise","euthanize","evacuate","evade","evaluate","evangelise","evangelize","evaporate","even","eventuate","evict","evidence","evince","eviscerate","evoke","evolve","exacerbate","exact","exaggerate","exalt","examine","exasperate","excavate","exceed","excel","except","excerpt","exchange","excise","excite","exclaim","exclude","excommunicate","excoriate","excrete","exculpate","excuse","execute","exemplify","exempt","exercise","exert","exeunt","exfoliate","exhale","exhaust","exhibit","exhilarate","exhort","exhume","exile","exist","exit","exonerate","exorcise","exorcize","expand","expatiate","expect","expectorate","expedite","expel","expend","experience","experiment","expiate","expire","explain","explicate","explode","exploit","explore","export","expose","expostulate","expound","express","expropriate","expunge","expurgate","extemporise","extemporize","extend","exterminate","externalise","externalize","extinguish","extirpate","extol","extort","extract","extradite","extrapolate","extricate","extrude","exude","exult","eye","eyeball","eyeglasses","fabricate","face","facilitate","factor","factorise","factorize","fade","faff","fail","faint","fake","fall","falsify","falter","familiarise","familiarize","fan","fancy","fantasise","fantasize","fare","farewell","farm","farrow","fascinate","fashion","fast","fasten","father","fathom","fatten","fault","favor","favour","fawn","fax","faze","fear","feast","feather","feature","federate","feed","feel","feign","feint","fell","feminise","feminize","fence","fend","ferment","ferret","ferry","fertilise","fertilize","fess","fester","festoon","fetch","fete","fetter","feud","fib","fictionalise","fictionalize","fiddle","fidget","field","fight","figure","filch","file","filibuster","fill","fillet","film","filter","finagle","finalise","finalize","finance","find","fine","finesse","fingerprint","finish","fire","firebomb","firm","fish","fishtail","fit","fix","fizz","fizzle","flag","flagellate","flail","flake","flame","flank","flap","flare","flash","flat","flatline","flatten","flatter","flaunt","flavour","flay","fleck","flee","fleece","flesh","flex","flick","flicker","flight","flinch","fling","flip","flirt","flit","float","flock","flog","flood","floodlight","floor","flop","floss","flounce","flounder","flour","flourish","flout","flow","flower","flub","fluctuate","fluff","flummox","flunk","flush","fluster","flutter","fly","foal","foam","fob","focalise","focalize","focus","fog","foil","foist","fold","follow","foment","fool","foot","forage","forbear","forbid","force","ford","forearm","forecast","foreclose","foregather","foreground","foresee","foreshadow","foreshorten","forestall","foretell","forewarn","forfeit","forfend","forgather","forge","forget","forgive","forgo","fork","form","formalise","formalize","format","formulate","forsake","forswear","fortify","forward","forwards","fossick","fossilise","fossilize","foster","foul","found","founder","fox","fracture","fragment","frame","franchise","frank","fraternise","fraternize","fray","freak","free","freelance","freeload","freestyle","freewheel","freeze","freight","frequent","freshen","fret","frighten","fringe","frisk","fritter","frizz","frizzle","frogmarch","frolic","front","frost","froth","frown","fruit","frustrate","fry","fudge","fuel","fulfil","fulfill","fulminate","fumble","fume","fumigate","function","fund","funk","funnel","furl","furlough","furnish","furrow","further","fuse","fuss","gab","gabble","gad","gag","gain","gainsay","gall","gallivant","gallop","galumph","galvanise","galvanize","gamble","gambol","gang","gape","garage","garden","gargle","garland","garner","garnish","garrison","garrote","garrotte","gas","gash","gasp","gatecrash","gather","gauge","gawk","gawp","gaze","gazump","gazunder","gear","gee","gel","geld","gen","generalise","generalize","generate","gentrify","genuflect","germinate","gerrymander","gestate","gesticulate","gesture","get","ghost","ghostwrite","gibber","gift","giggle","gild","ginger","gird","girdle","give","gladden","glamorise","glamorize","glance","glare","glass","glaze","gleam","glean","glide","glimmer","glimmering","glimpse","glint","glisten","glister","glitter","gloat","globalise","globalize","glom","glorify","glory","gloss","glow","glower","glue","glug","glut","gnash","gnaw","go","goad","gobble","goggle","goldbrick","goof","google","goose","gore","gorge","gossip","gouge","govern","grab","grace","grade","graduate","graft","grant","grapple","grasp","grass","grate","gratify","gravitate","graze","grease","green","greet","grey","grieve","grill","grimace","grin","grind","grip","gripe","grit","grizzle","groan","grok","groom","grouch","ground","group","grouse","grout","grovel","grow","growl","grub","grudge","grumble","grunt","guarantee","guard","guess","guest","guffaw","guide","guillotine","guilt","gulp","gum","gun","gurgle","gurn","gush","gussy","gust","gut","gutter","guzzle","gybe","gyrate","hack","haemorrhage","haggle","hail","hallmark","halloo","hallucinate","halt","halve","ham","hammer","hamper","hamstring","hand","handcuff","handicap","handle","hang","hanker","happen","harangue","harass","harbor","harbour","harden","hare","hark","harm","harmonise","harmonize","harness","harp","harpoon","harrow","harrumph","harry","harvest","hash","hassle","hasten","hatch","hate","haul","haunt","have","haw","hawk","hazard","haze","head","headbutt","headhunt","headline","heal","heap","hear","hearken","hearten","heat","heave","heckle","hector","hedge","heed","heel","heft","heighten","heist","help","hem","hemorrhage","herald","herd","hesitate","hew","hex","hibernate","hiccough","hiccup","hide","hie","highball","highlight","hightail","hijack","hike","hinder","hinge","hint","hire","hiss","hit","hitch","hitchhike","hive","hoard","hoax","hobble","hobnob","hock","hog","hoick","hoist","hold","hole","holiday","holler","hollow","holster","home","homeschool","homestead","hone","honeymoon","honk","honour","hoodwink","hoof","hook","hoon","hoot","hoover","hop","hope","horn","horrify","horse","horsewhip","hose","hosepipe","hospitalise","hospitalize","host","hot","hotfoot","hound","house","hover","howl","huddle","huff","hug","hull","hum","humanise","humanize","humble","humiliate","humour","hunch","hunger","hunker","hunt","hurdle","hurl","hurry","hurt","hurtle","husband","hush","husk","hustle","hybridise","hybridize","hydrate","hydroplane","hype","hyperventilate","hyphenate","hypnotise","hypnotize","hypothesise","hypothesize","ice","iconify","idealise","idealize","ideate","identify","idle","idolise","idolize","ignite","ignore","illuminate","illumine","illustrate","imagine","imagineer","imbibe","imbue","imitate","immerse","immigrate","immobilise","immobilize","immolate","immortalise","immortalize","immunise","immunize","immure","impact","impair","impale","impanel","impart","impeach","impede","impel","imperil","impersonate","impinge","implant","implement","implicate","implode","implore","imply","import","importune","impose","impound","impoverish","impress","imprint","imprison","improve","improvise","impugn","inactivate","inaugurate","incapacitate","incarcerate","incarnate","incense","incentivise","incentivize","inch","incinerate","incise","incite","incline","include","incommode","inconvenience","incorporate","increase","incriminate","incubate","inculcate","incur","indemnify","indent","index","indicate","indict","individualise","individualize","individuate","indoctrinate","induce","induct","indulge","industrialise","industrialize","infantilise","infantilize","infect","infer","infest","infill","infiltrate","inflame","inflate","inflect","inflict","influence","inform","infringe","infuriate","infuse","ingest","ingratiate","inhabit","inhale","inhere","inherit","inhibit","initial","initialise","initialize","initiate","inject","injure","ink","inlay","innovate","inoculate","input","inscribe","insert","inset","insinuate","insist","inspect","inspire","install","instance","instigate","instil","instill","institute","institutionalise","institutionalize","instruct","insulate","insult","insure","integrate","intend","intensify","inter","interact","intercede","intercept","interchange","interconnect","intercut","interest","interface","interfere","interject","interlace","interleave","interlink","interlock","intermarry","intermesh","intermingle","intermix","intern","internalise","internalize","internationalise","internationalize","interpenetrate","interpolate","interpose","interpret","interrelate","interrogate","interrupt","intersect","intersperse","intertwine","intervene","interview","interweave","interwork","intimate","intimidate","intone","intoxicate","intrigue","introduce","intrude","intubate","intuit","inundate","inure","invade","invalid","invalidate","inveigh","inveigle","invent","inventory","invert","invest","investigate","invigilate","invigorate","invite","invoice","invoke","involve","ionise","ionize","irk","iron","irradiate","irrigate","irritate","irrupt","isolate","issue","italicise","italicize","itch","itemise","itemize","iterate","jab","jabber","jack","jackknife","jail","jam","jangle","jar","jaw","jaywalk","jazz","jeer","jell","jeopardise","jeopardize","jest","jet","jettison","jib","jibe","jiggle","jilt","jingle","jink","jinx","jive","jockey","jog","joggle","join","joint","joke","jol","jolly","jolt","josh","jostle","jot","journey","joust","judder","judge","juggle","juice","jumble","jump","junk","justify","jut","juxtapose","keel","keelhaul","keen","keep","ken","key","keyboard","kibitz","kick","kid","kindle","kip","kiss","kit","kite","klap","kludge","knacker","knead","knee","kneecap","kneel","knife","knight","knit","knock","knot","know","knuckle","kowtow","kvetch","label","labour","lace","lacerate","lack","lacquer","ladder","ladle","lag","lam","lamb","lambast","lambaste","lament","lamp","lampoon","lance","land","lands","landscape","languish","lap","lapse","lard","large","lark","lash","lasso","last","latch","lather","laud","laugh","launch","launder","lavish","lay","layer","laze","leach","lead","leaf","leaflet","leak","lean","leap","leapfrog","learn","lease","leash","leave","leaven","lecture","leer","leg","legalise","legalize","legislate","legitimise","legitimize","lend","lengthen","lessen","let","letter","letterbox","level","lever","leverage","levitate","levy","liaise","libel","liberalise","liberalize","liberate","license","lick","lie","lift","ligate","light","lighten","like","liken","limber","lime","limit","limp","line","linger","link","lionise","lionize","liquefy","liquidate","liquidise","liquidize","lisp","list","listen","litigate","litter","live","liven","load","loads","loaf","loan","loathe","lob","lobby","lobotomise","lobotomize","localise","localize","locate","lock","lodge","loft","log","loiter","loll","lollop","long","look","looks","loom","loop","loose","loosen","loot","lop","lope","lord","lose","lounge","lour","louse","love","low","lowball","lower","lubricate","luck","lug","lull","lumber","lump","lunch","lunge","lurch","lure","lurk","luxuriate","macerate","machine","madden","magic","magnetise","magnetize","magnify","mail","maim","mainline","mainstream","maintain","major","make","malfunction","malign","malinger","maltreat","man","manacle","manage","mandate","mangle","manhandle","manicure","manifest","manipulate","manoeuvre","mantle","manufacture","manure","map","mar","march","marginalise","marginalize","marinate","mark","market","maroon","marry","marshal","martyr","marvel","masculinise","masculinize","mash","mask","masquerade","mass","massacre","massage","master","mastermind","masticate","match","materialise","materialize","matriculate","matter","mature","maul","maunder","max","maximise","maximize","mean","meander","measure","mechanise","mechanize","medal","meddle","mediate","medicate","meditate","meet","meld","mellow","melt","memorialise","memorialize","memorise","memorize","menace","mend","mention","meow","mercerise","mercerize","merchandise","merge","merit","mesh","mesmerise","mesmerize","mess","message","metabolise","metabolize","metamorphose","mete","meter","methinks","mew","mewl","miaow","microblog","microchip","micromanage","microwave","micturate","migrate","militarise","militarize","militate","milk","mill","mime","mimic","mince","mind","mine","mingle","miniaturise","miniaturize","minimise","minimize","minister","minor","mint","minute","mirror","misapply","misappropriate","misbehave","miscalculate","miscast","misconceive","misconstrue","miscount","misdiagnose","misdial","misdirect","misfile","misfire","misgovern","mishandle","mishear","mishit","misinform","misinterpret","misjudge","miskey","mislay","mislead","mismanage","mismatch","misname","misplace","misplay","mispronounce","misquote","misread","misreport","misrepresent","miss","mission","misspell","misspend","mist","mistake","mistime","mistreat","mistrust","misunderstand","misuse","mitigate","mitre","mix","moan","mob","mobilise","mobilize","mock","mod","model","moderate","modernise","modernize","modify","modulate","moisten","moisturise","moisturize","mold","molder","mollify","mollycoddle","molt","monitor","monopolise","monopolize","moo","mooch","moon","moonlight","moonwalk","moor","moot","mop","mope","moralise","moralize","morph","mortar","mortgage","mortify","mosey","mosh","mothball","mother","motion","motivate","motor","mould","moulder","moult","mount","mourn","mouse","mouth","move","movies","mow","muck","muddle","muddy","muffle","mug","mulch","mull","multicast","multiply","multitask","mumble","mumbling","mummify","munch","murmur","murmuring","murmurings","muscle","muse","mushroom","muss","muster","mutate","mute","mutilate","mutiny","mutter","muzzle","mystify","nab","nag","nail","name","namecheck","nap","narrate","narrow","narrowcast","nasalise","nasalize","nationalise","nationalize","natter","naturalise","naturalize","nauseate","navigate","near","nearer","nearest","neaten","necessitate","neck","necklace","need","needle","negate","negative","neglect","negotiate","neigh","nerve","nest","nestle","net","nettle","network","neuter","neutralise","neutralize","nibble","nick","nickname","nitrify","nix","nobble","nod","nominalize","nominate","norm","normalise","normalize","nose","nosedive","nosh","notarise","notarize","notch","note","notice","notify","nourish","nudge","nuke","nullify","numb","number","nurse","nurture","nut","nuzzle","obey","obfuscate","object","objectify","oblige","obliterate","obscure","observe","obsess","obstruct","obtain","obtrude","obviate","occasion","occlude","occupy","occur","off","offend","offer","officiate","offload","offset","offshore","ogle","oil","okay","omit","ooze","open","operate","opine","oppose","oppress","opt","optimise","optimize","option","orbit","orchestrate","ordain","order","organise","organize","orient","orientate","originate","ornament","orphan","oscillate","ossify","ostracise","ostracize","oust","out","outbid","outclass","outdistance","outdo","outface","outfit","outflank","outfox","outgrow","outgun","outlast","outlaw","outline","outlive","outmaneuver","outmanoeuvre","outnumber","outpace","outperform","outplay","outpoint","output","outrage","outrank","outrun","outsell","outshine","outsmart","outsource","outstay","outstrip","outvote","outweigh","outwit","overachieve","overact","overawe","overbalance","overbook","overburden","overcharge","overcome","overcompensate","overcook","overdevelop","overdo","overdose","overdraw","overdub","overeat","overemphasize","overestimate","overexpose","overextend","overfeed","overflow","overfly","overgeneralise","overgeneralize","overgraze","overhang","overhaul","overhear","overheat","overindulge","overlap","overlay","overlie","overload","overlook","overpay","overplay","overpower","overprint","overproduce","overrate","overreach","overreact","override","overrule","overrun","oversee","oversell","overshadow","overshoot","oversimplify","oversleep","overspend","overstate","overstay","overstep","overstock","overstretch","overtake","overtax","overthrow","overtrain","overturn","overuse","overvalue","overwhelm","overwinter","overwork","overwrite","owe","own","oxidise","oxidize","oxygenate","pace","pacify","pack","package","packetise","packetize","pad","paddle","padlock","page","paginate","pailful","pain","paint","pair","pal","palatalise","palatalize","pale","pall","palliate","palm","palpate","palpitate","pamper","pan","pander","panel","panhandle","panic","pant","paper","parachute","parade","parallel","paralyse","paralyze","paraphrase","parboil","parcel","parch","pardon","pare","park","parlay","parley","parody","parole","parrot","parry","parse","part","partake","participate","particularise","particularize","partition","partner","party","pass","passivise","passivize","paste","pasteurise","pasteurize","pasture","pat","patch","patent","patrol","patronise","patronize","patter","pattern","pause","pave","paw","pawn","pay","peak","peal","pedal","peddle","pedestrianise","pedestrianize","peek","peel","peep","peer","peg","pelt","pen","penalise","penalize","pencil","pension","people","pep","pepper","perambulate","perceive","perch","percolate","perfect","perforate","perform","perfume","perish","perjure","perk","perm","permeate","permit","perpetrate","perpetuate","perplex","persecute","persevere","persist","personalise","personalize","personify","perspire","persuade","pertain","perturb","peruse","pervade","pervert","pester","pet","peter","petition","petrify","phase","philosophise","philosophize","phone","photocopy","photograph","photoshop","photosynthesise","photosynthesize","phrase","pick","picket","pickle","picnic","picture","picturise","picturize","piddle","piece","pierce","pig","pigeonhole","piggyback","pike","pile","pilfer","pill","pillage","pillory","pillow","pilot","pin","pinch","pine","ping","pinion","pink","pinpoint","pioneer","pip","pipe","pique","pirate","pirouette","pit","pitch","pity","pivot","pixelate","pixellate","placate","place","plagiarise","plagiarize","plague","plait","plan","plane","plant","plaster","plasticise","plasticize","plate","plateau","play","plead","please","pledge","plight","plod","plonk","plop","plot","plough","pluck","plug","plumb","plummet","plump","plunder","plunge","plunk","pluralise","pluralize","ply","poach","pocket","point","poise","poison","poke","polarise","polarize","pole","poleax","poleaxe","police","polish","politicise","politicize","poll","pollard","pollinate","pollute","polymerise","polymerize","ponce","ponder","pong","pontificate","pony","pooh","pool","pootle","pop","popularise","popularize","populate","pore","port","portend","portion","portray","pose","posit","position","possess","posset","post","postmark","postpone","postulate","posture","pot","potter","pounce","pound","pour","pout","powder","power","practice","practise","praise","praises","prance","prang","prate","prattle","pray","preach","precede","precipitate","precis","preclude","predate","predecease","predetermine","predicate","predict","predispose","predominate","preen","preface","prefer","prefigure","prefix","preheat","prejudge","prejudice","preload","premaster","premiere","preoccupy","prep","prepare","prepone","preregister","presage","prescind","prescribe","preselect","presell","present","preserve","preset","preside","press","pressure","pressurise","pressurize","presume","presuppose","pretend","pretest","prettify","prevail","prevaricate","prevent","preview","prey","price","prickle","pride","prime","primp","print","prioritise","prioritize","prise","privatise","privatize","privilege","prize","probate","probe","proceed","process","proclaim","procrastinate","procreate","proctor","procure","prod","produce","profane","profess","professionalise","professionalize","proffer","profile","profit","program","programme","progress","prohibit","project","proliferate","prolong","promenade","promise","promote","prompt","promulgate","pronounce","proof","proofread","prop","propagandise","propagandize","propagate","propel","prophesy","propitiate","propose","proposition","propound","proscribe","prosecute","proselytise","proselytize","prospect","prosper","prostrate","protect","protest","protrude","prove","provide","provision","provoke","prowl","prune","pry","psych","psychoanalyse","publicise","publicize","publish","pucker","puff","pull","pullulate","pulp","pulsate","pulse","pulverise","pulverize","pummel","pump","pun","punch","punctuate","puncture","punish","punt","pupate","purchase","purge","purify","purl","purloin","purport","purr","purse","pursue","purvey","push","pussyfoot","put","putrefy","putt","putter","puzzle","quack","quadruple","quaff","quail","quake","qualify","quantify","quarantine","quarrel","quarry","quarter","quarterback","quash","quaver","quell","quench","query","quest","question","queue","quibble","quicken","quiet","quieten","quintuple","quip","quirk","quit","quiver","quiz","quote","quoth","rabbit","race","rack","radiate","radicalise","radicalize","radio","raffle","rag","rage","raid","rail","railroad","rain","raise","rake","rally","ram","ramble","ramp","rampage","randomise","randomize","range","rank","rankle","ransack","ransom","rant","rap","rappel","rasp","rasterise","rasterize","rat","ratchet","rate","ratify","ration","rationalise","rationalize","rattle","ravage","rave","ravel","ravish","raze","razz","reach","reacquaint","react","reactivate","read","readdress","readies","readjust","readmit","ready","reaffirm","realign","realise","realize","reallocate","ream","reanimate","reap","reappear","reapply","reappoint","reappraise","rear","rearm","rearrange","reason","reassemble","reassert","reassess","reassign","reassure","reawaken","rebel","reboot","reborn","rebound","rebrand","rebuff","rebuild","rebuke","rebut","recall","recant","recap","recapitulate","recapture","recast","recede","receive","recess","recharge","reciprocate","recite","reckon","reclaim","reclassify","recline","recognise","recognize","recoil","recollect","recommence","recommend","recompense","reconcile","recondition","reconfigure","reconfirm","reconnect","reconnoitre","reconquer","reconsider","reconstitute","reconstruct","reconvene","record","recount","recoup","recover","recreate","recrudesce","recruit","rectify","recuperate","recur","recycle","redact","redden","redecorate","redeem","redefine","redeploy","redesign","redevelop","redial","redirect","rediscover","redistribute","redistrict","redo","redouble","redound","redraft","redraw","redress","reduce","reduplicate","reef","reek","reel","ref","refer","referee","reference","refill","refinance","refine","refit","reflate","reflect","refloat","refocus","reform","reformat","reformulate","refract","refrain","refresh","refrigerate","refuel","refund","refurbish","refuse","refute","regain","regale","regard","regenerate","register","regress","regret","regroup","regularise","regularize","regulate","regurgitate","rehabilitate","rehash","rehear","rehearse","reheat","rehome","rehouse","reign","reignite","reimburse","rein","reincarnate","reinforce","reinstate","reinterpret","reintroduce","reinvent","reinvest","reinvigorate","reissue","reiterate","reject","rejig","rejigger","rejoice","rejoin","rejuvenate","rekindle","relapse","relate","relaunch","relax","relay","release","relegate","relent","relieve","relinquish","relish","relive","reload","relocate","rely","remain","remainder","remake","remand","remap","remark","remarry","remaster","remediate","remedy","remember","remind","reminisce","remit","remix","remodel","remonstrate","remortgage","remould","remount","remove","remunerate","rename","rend","render","rendezvous","renege","renew","renounce","renovate","rent","reoccur","reoffend","reopen","reorder","reorganise","reorganize","reorient","repackage","repair","repatriate","repay","repeal","repeat","repel","repent","rephrase","replace","replay","replenish","replicate","reply","report","repose","repossess","represent","repress","reprieve","reprimand","reprint","reproach","reprocess","reproduce","reprove","repudiate","repulse","repurpose","request","require","requisition","requite","rerun","reschedule","rescind","rescue","research","researches","resect","resell","resemble","resent","reserve","reset","resettle","reshape","reshuffle","reside","resign","resist","resit","resize","reskill","resolve","resonate","resort","resound","resource","respect","respire","respond","respray","rest","restart","restate","restock","restore","restrain","restrict","restring","restructure","result","resume","resupply","resurface","resurrect","resuscitate","retail","retain","retake","retaliate","retch","retell","retest","rethink","retire","retool","retort","retouch","retrace","retract","retrain","retreat","retrench","retrieve","retrofit","retry","return","reunify","reunite","reuse","rev","revalue","revamp","reveal","revel","revenge","reverberate","revere","reverse","revert","review","revile","revise","revisit","revitalise","revitalize","revive","revivify","revoke","revolt","revolutionise","revolutionize","revolve","reward","rewind","rewire","reword","rework","rewrite","rhapsodise","rhapsodize","rhyme","rib","rick","ricochet","rid","riddle","ride","ridge","ridicule","riffle","rifle","rig","right","rightsize","rile","rim","ring","rinse","riot","rip","ripen","riposte","ripple","rise","risk","ritualise","ritualize","rival","rivet","roam","roar","roast","rob","robe","rock","rocket","roger","roll","romance","romanticise","romanticize","romp","roof","room","roost","root","rope","rosin","roster","rot","rotate","rouge","rough","roughen","roughhouse","round","rouse","roust","rout","route","rove","row","rub","rubberneck","rubbish","ruck","rue","ruffle","ruin","ruins","rule","rumble","ruminate","rummage","rumor","rumour","rumple","run","rupture","rush","rust","rustle","sabotage","sack","sacrifice","sadden","saddle","safeguard","sag","sail","salaam","salivate","sally","salt","salute","salvage","salve","sample","sanctify","sanction","sand","sandbag","sandblast","sandpaper","sandwich","sanitise","sanitize","sap","sashay","sass","sate","satiate","satirise","satirize","satisfy","saturate","saunter","savage","save","savor","savour","saw","say","scald","scale","scallop","scalp","scamper","scan","scandalise","scandalize","scapegoat","scar","scare","scarf","scarify","scarper","scatter","scattering","scavenge","scent","schedule","schematise","schematize","scheme","schlep","schlepp","schmooze","school","schtup","schuss","scoff","scold","scoop","scoot","scope","scorch","score","scorn","scotch","scour","scourge","scout","scowl","scrabble","scram","scramble","scrap","scrape","scratch","scrawl","scream","screech","screen","screw","scribble","scrimp","script","scroll","scrounge","scrub","scrummage","scrunch","scruple","scrutinise","scrutinize","scud","scuff","scuffle","scull","sculpt","scupper","scurry","scuttle","scythe","seal","sealift","sear","search","season","seat","secede","seclude","second","secrete","section","secularise","secularize","secure","sedate","see","seed","seek","seep","seethe","segment","segregate","segue","seize","select","sell","sellotape","semaphore","send","sensationalise","sensationalize","sense","sensitise","sensitize","sentence","sentimentalise","sentimentalize","separate","sequence","sequester","sequestrate","serenade","serialise","serialize","sermonise","sermonize","serve","service","set","settle","sever","sew","shack","shackle","shade","shadow","shaft","shake","shalt","sham","shamble","shame","shampoo","shanghai","shape","share","sharpen","shatter","shave","shear","sheathe","shed","sheer","shell","shellac","shelter","shelve","shepherd","shield","shift","shimmer","shimmy","shin","shine","shinny","ship","shipwreck","shirk","shiver","shock","shoe","shoehorn","shoo","shoot","shop","shoplift","shore","short","shorten","shortlist","shoulder","shout","shove","shovel","show","showboat","showcase","shower","shred","shriek","shrill","shrink","shrivel","shroom","shroud","shrug","shuck","shudder","shuffle","shun","shunt","shush","shut","shuttle","shy","sic","sick","sicken","side","sideline","sidestep","sideswipe","sidetrack","sidle","sieve","sift","sigh","sight","sightsee","sign","signal","signify","signpost","silence","silhouette","silt","silver","simmer","simper","simplify","simulate","simulcast","sin","sing","singe","single","sink","sip","siphon","sire","sit","site","situate","size","sizzle","skate","skateboard","skedaddle","sketch","skew","skewer","ski","skid","skim","skimp","skin","skip","skipper","skirmish","skirt","skitter","skive","skivvy","skulk","sky","skyjack","skyrocket","slack","slacken","slake","slam","slander","slap","slash","slate","slather","sledge","sleek","sleep","sleepwalk","sleet","slew","slice","slick","slide","slight","slim","sling","slink","slip","slit","slither","slob","slobber","slog","slop","slope","slosh","slot","slouch","slough","slow","slug","sluice","slum","slumber","slump","slur","slurp","smart","smarten","smash","smear","smell","smelt","smile","smirk","smite","smoke","smooch","smoodge","smooth","smother","smoulder","smudge","smuggle","snack","snaffle","snag","snaggle","snake","snap","snare","snarf","snarl","sneak","sneer","sneeze","snicker","sniff","sniffle","snip","snipe","snitch","snivel","snooker","snoop","snooper","snooze","snore","snorkel","snort","snow","snowball","snowplough","snowplow","snub","snuffle","snuffling","snuggle","soak","soap","soar","sober","socialise","socialize","sock","sod","soften","soil","sojourn","solace","solder","soldier","sole","solemnise","solemnize","solicit","solidify","soliloquize","solve","somersault","soothe","sorrow","sort","sough","sound","soundproof","soup","sour","source","sow","space","span","spangle","spar","spare","spark","sparkle","spatter","spattering","spawn","spay","speak","spear","spearhead","spec","specialise","specialize","specify","spectacles","spectate","speculate","speed","spell","spellcheck","spend","spew","spice","spiff","spike","spill","spin","spiral","spirit","spit","spite","splash","splatter","splay","splice","splinter","split","splosh","splurge","splutter","spoil","sponge","sponsor","spoof","spook","spool","spoon","sport","sports","spot","spotlight","spout","sprain","sprawl","spray","spread","spring","springboard","sprinkle","sprint","spritz","sprout","spruce","spur","spurn","spurt","sputter","spy","squabble","squall","squander","square","squash","squat","squawk","squeak","squeal","squeeze","squelch","squint","squirm","squirrel","squirt","squish","stab","stabilise","stabilize","stable","stables","stack","staff","stage","stagger","stagnate","stain","stake","stalk","stall","stammer","stamp","stampede","stanch","stand","standardise","standardize","staple","star","starch","stare","start","startle","starve","stash","state","statement","station","staunch","stave","stay","steady","steal","steam","steamroller","steel","steep","steepen","steer","stem","stencil","step","stereotype","sterilise","sterilize","stew","stick","stickybeak","stiff","stiffen","stifle","stigmatise","stigmatize","still","stimulate","sting","stinger","stink","stint","stipple","stipulate","stir","stitch","stock","stockpile","stoke","stomach","stomp","stone","stonewall","stoop","stop","stopper","store","storm","storyboard","stow","straddle","strafe","straggle","straighten","strain","strand","strangle","strap","stratify","stravage","stravaig","stray","streak","stream","streamline","strengthen","stress","stretch","stretcher","strew","stride","strike","string","strip","strive","stroll","structure","struggle","strum","strut","stub","stud","study","stuff","stultify","stumble","stump","stun","stunt","stupefy","stutter","style","stymie","sub","subcontract","subdivide","subdue","subedit","subject","sublet","sublimate","submerge","submit","subordinate","suborn","subpoena","subscribe","subside","subsidise","subsidize","subsist","substantiate","substitute","subsume","subtend","subtitle","subtract","subvert","succeed","succor","succour","succumb","suckle","suction","sue","suffer","suffice","suffocate","suffuse","sugar","suggest","suit","sulk","sulks","sully","sum","summarise","summarize","summon","summons","sun","sunbathe","sunder","sunset","sup","superimpose","superintend","superpose","supersede","supersize","supersized","supervene","supervise","supplant","supplement","supply","support","suppose","suppress","suppurate","surcharge","surf","surface","surge","surmise","surmount","surpass","surprise","surrender","surround","survey","survive","suspect","suspend","suspenders","suss","sustain","suture","swab","swaddle","swagger","swamp","swan","swank","swap","swarm","swat","swath","swathe","sway","swear","sweat","sweep","sweeps","sweeten","swell","swelter","swerve","swig","swill","swim","swindle","swing","swipe","swirl","swish","switch","swivel","swoon","swoop","swoosh","swot","symbolise","symbolize","sympathise","sympathize","symptomize","synchronise","synchronize","syndicate","synthesise","synthesize","syringe","systematise","systematize","tab","table","tabulate","tack","tackle","tag","tail","tailgate","tailor","taint","take","talk","tally","tame","tamp","tamper","tan","tangle","tango","tank","tankful","tantalise","tantalize","tap","tape","taper","tar","target","tarmac","tarnish","tarry","tart","task","taste","tattle","tattoo","taunt","tauten","tax","taxi","taxicab","teach","team","tear","tease","tee","teem","teeter","teethe","telecast","telecommute","teleconference","telegraph","telemeter","teleoperate","telephone","teleport","telescope","televise","telex","tell","telnet","temp","temper","temporise","temporize","tempt","tenant","tend","tender","tenderise","tenderize","tense","tension","tergiversate","term","terminate","terraform","terrify","terrorise","terrorize","test","testify","tether","text","thank","thatch","thaw","theorise","theorize","thicken","thin","think","thirst","thrash","thread","threaten","thresh","thrill","thrive","throb","throbbing","throng","throttle","throw","thud","thumb","thump","thunder","thwack","thwart","tick","ticket","tickle","tide","tidy","tie","tighten","tile","till","tilt","time","timetable","tinge","tingle","tingling","tinker","tinkling","tint","tip","tippex","tipple","tiptoe","tire","titillate","titivate","title","titrate","titter","toady","toast","toboggan","toddle","toe","tog","toggle","toil","tolerate","toll","tone","tongue","tonify","tool","toot","tootle","top","topple","torch","torment","torpedo","toss","tot","total","tote","totter","touch","tough","toughen","tour","tousle","tout","tow","towel","tower","toy","trace","track","trade","traduce","traffic","trail","train","traipse","trammel","trample","trampoline","tranquilize","tranquillize","transact","transcend","transcribe","transfer","transfigure","transfix","transform","transfuse","transgress","transit","translate","transliterate","transmit","transmogrify","transmute","transpire","transplant","transport","transpose","trap","trash","traumatise","traumatize","travel","traverse","trawl","tread","treasure","treat","treble","trek","tremble","trembling","trepan","trespass","trial","trick","trickle","trifle","trigger","trill","trim","trip","triple","triumph","trivialise","trivialize","troll","tromp","troop","trot","trouble","troubleshoot","trounce","trouser","truant","truck","trudge","trump","trumpet","truncate","trundle","truss","trust","try","tuck","tug","tugboat","tumble","tune","tunnel","turbocharge","turf","turn","tussle","tut","tutor","twang","tweak","tweet","twiddle","twig","twin","twine","twinkle","twirl","twist","twitch","twitter","twittering","type","typecast","typeset","typify","tyrannise","tyrannize","ulcerate","ululate","ump","umpire","unbalance","unban","unbend","unblock","unbuckle","unburden","unbutton","uncoil","uncork","uncouple","uncover","uncurl","undelete","underachieve","underbid","undercharge","undercook","undercut","underestimate","underestimation","underexpose","undergo","underlie","underline","undermine","underpay","underperform","underpin","underplay","underrate","underscore","undersell","undershoot","underspend","understand","understate","understudy","undertake","undervalue","underwrite","undo","undock","undress","undulate","unearth","unfasten","unfold","unfreeze","unfurl","unhand","unhinge","unhitch","unhook","unify","uninstall","unionise","unionize","unite","unlace","unlearn","unleash","unload","unlock","unloose","unloosen","unmask","unnerve","unpack","unpick","unplug","unravel","unroll","unsaddle","unscramble","unscrew","unseat","unsettle","unsubscribe","untangle","untie","unveil","unwind","unwrap","unzip","up","upbraid","upchange","upchuck","update","upend","upgrade","uphold","upholster","uplift","upload","uproot","upsell","upset","upshift","upskill","upstage","urge","use","usher","usurp","utilise","utilize","utter","vacate","vacation","vaccinate","vacillate","vacuum","valet","validate","value","vamoose","vandalise","vandalize","vanish","vanquish","vaporise","vaporize","varnish","vary","vault","veer","veg","vegetate","veil","vend","veneer","venerate","vent","ventilate","venture","verbalise","verbalize","verge","verify","versify","vest","vet","veto","vex","vibrate","victimise","victimize","vide","video","videotape","vie","view","viewing","vilify","vindicate","violate","visit","visualise","visualize","vitiate","vitrify","vocalize","voice","void","volley","volumise","volumize","volunteer","vote","vouch","vouchsafe","vow","voyage","vulgarise","vulgarize","waddle","wade","waffle","waft","wag","wage","wager","waggle","wail","wait","waive","wake","wakeboard","waken","walk","wall","wallop","wallow","wallpaper","waltz","wander","wane","wangle","want","warble","ward","warm","warn","warp","warrant","wash","wassail","waste","watch","water","waterproof","waterski","wave","waver","wax","waylay","weaken","wean","weaponise","weaponize","wear","weary","weasel","weather","weatherise","weatherize","weave","wed","wedge","weekend","weep","weigh","weight","weird","welch","welcome","weld","well","welly","wend","westernise","westernize","wet","whack","wheedle","wheel","wheeze","whelp","whet","whiff","while","whilst","whimper","whine","whinge","whinny","whip","whirl","whirr","whirring","whisk","whisper","whispering","whistle","whiten","whitewash","whittle","whoop","whoosh","whup","wick","widen","widow","wield","wig","wiggle","wildcat","will","wilt","wimp","win","wince","winch","wind","winds","windsurf","wine","wing","wink","winkle","winnow","winter","wipe","wire","wiretap","wise","wisecrack","wish","withdraw","wither","withhold","withstand","witness","witter","wobble","wolf","wonder","woo","woof","word","work","worm","worry","worsen","worship","worst","wound","wow","wowee","wrangle","wrap","wreak","wreathe","wreck","wrench","wrest","wrestle","wriggle","wring","wrinkle","writ","write","writhe","wrong","wrought","xerox","yack","yak","yap","yaw","yawn","yearn","yell","yellow","yelp","yield","yodel","yoke","yomp","yowl","yuppify","zap","zero","zigzag","zing","zip","zone","zoom"],xg={adjective:Eg,adverb:vg,conjunction:wg,interjection:jg,noun:Bg,preposition:Sg,verb:Mg},Tg=xg,Rg={airline:It,animal:an,app:sn,cell_phone:ln,color:pn,commerce:kn,company:Bn,database:xn,date:Pn,finance:Vn,hacker:io,internet:so,location:Bo,lorem:xo,metadata:Ro,music:zo,person:og,phone_number:ug,science:cg,team:Fg,vehicle:Cg,word:Tg},Lg=Rg,Pg=Object.defineProperty,Hg=(a,e,i)=>e in a?Pg(a,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):a[e]=i,y=(a,e,i)=>(Hg(a,typeof e!="symbol"?e+"":e,i),i),b=class extends Error{};function zg(a){let e=Object.getPrototypeOf(a);do{for(let i of Object.getOwnPropertyNames(e))typeof a[i]=="function"&&i!=="constructor"&&(a[i]=a[i].bind(a));e=Object.getPrototypeOf(e)}while(e!==Object.prototype)}var X=class{constructor(e){this.faker=e,zg(this)}},w=class extends X{constructor(e){super(e),this.faker=e}},ba=(a=>(a.Narrowbody="narrowbody",a.Regional="regional",a.Widebody="widebody",a))(ba||{}),Ig=["0","1","2","3","4","5","6","7","8","9"],Ng=["0","O","1","I","L"],qg={regional:20,narrowbody:35,widebody:60},Gg={regional:["A","B","C","D"],narrowbody:["A","B","C","D","E","F"],widebody:["A","B","C","D","E","F","G","H","J","K"]},Wg=class extends w{airport(){return this.faker.helpers.arrayElement(this.faker.definitions.airline.airport)}airline(){return this.faker.helpers.arrayElement(this.faker.definitions.airline.airline)}airplane(){return this.faker.helpers.arrayElement(this.faker.definitions.airline.airplane)}recordLocator(e={}){let{allowNumerics:i=!1,allowVisuallySimilarCharacters:t=!1}=e,n=[];return i||n.push(...Ig),t||n.push(...Ng),this.faker.string.alphanumeric({length:6,casing:"upper",exclude:n})}seat(e={}){let{aircraftType:i="narrowbody"}=e,t=qg[i],n=Gg[i],o=this.faker.number.int({min:1,max:t}),g=this.faker.helpers.arrayElement(n);return`${o}${g}`}aircraftType(){return this.faker.helpers.enumValue(ba)}flightNumber(e={}){let{length:i={min:1,max:4},addLeadingZeros:t=!1}=e,n=this.faker.string.numeric({length:i,allowLeadingZeros:!1});return t?n.padStart(4,"0"):n}},ka=(a=>(a.SRGB="sRGB",a.DisplayP3="display-p3",a.REC2020="rec2020",a.A98RGB="a98-rgb",a.ProphotoRGB="prophoto-rgb",a))(ka||{}),ya=(a=>(a.RGB="rgb",a.RGBA="rgba",a.HSL="hsl",a.HSLA="hsla",a.HWB="hwb",a.CMYK="cmyk",a.LAB="lab",a.LCH="lch",a.COLOR="color",a))(ya||{});function _g(a,e){let{prefix:i,casing:t}=e;switch(t){case"upper":a=a.toUpperCase();break;case"lower":a=a.toLowerCase();break}return i&&(a=i+a),a}function fa(a){return a.map(e=>{if(e%1!==0){let i=new ArrayBuffer(4);new DataView(i).setFloat32(0,e);let t=new Uint8Array(i);return fa([...t]).replace(/ /g,"")}return(e>>>0).toString(2).padStart(8,"0")}).join(" ")}function Og(a,e="rgb",i="sRGB"){let t=n=>Math.round(n*100);switch(e){case"rgba":return`rgba(${a[0]}, ${a[1]}, ${a[2]}, ${a[3]})`;case"color":return`color(${i} ${a[0]} ${a[1]} ${a[2]})`;case"cmyk":return`cmyk(${t(a[0])}%, ${t(a[1])}%, ${t(a[2])}%, ${t(a[3])}%)`;case"hsl":return`hsl(${a[0]}deg ${t(a[1])}% ${t(a[2])}%)`;case"hsla":return`hsl(${a[0]}deg ${t(a[1])}% ${t(a[2])}% / ${t(a[3])})`;case"hwb":return`hwb(${a[0]} ${t(a[1])}% ${t(a[2])}%)`;case"lab":return`lab(${t(a[0])}% ${a[1]} ${a[2]})`;case"lch":return`lch(${t(a[0])}% ${a[1]} ${a[2]})`;case"rgb":default:return`rgb(${a[0]}, ${a[1]}, ${a[2]})`}}function K(a,e,i="rgb",t="sRGB"){switch(e){case"css":return Og(a,i,t);case"binary":return fa(a);case"decimal":default:return a}}var Kg=class extends w{human(){return this.faker.helpers.arrayElement(this.faker.definitions.color.human)}space(){return this.faker.helpers.arrayElement(this.faker.definitions.color.space)}cssSupportedFunction(){return this.faker.helpers.enumValue(ya)}cssSupportedSpace(){return this.faker.helpers.enumValue(ka)}rgb(e={}){let{format:i="hex",includeAlpha:t=!1,prefix:n="#",casing:o="lower"}=e,g,s="rgb";return i==="hex"?(g=this.faker.string.hexadecimal({length:t?8:6,prefix:""}),g=_g(g,{prefix:n,casing:o}),g):(g=Array.from({length:3},()=>this.faker.number.int(255)),t&&(g.push(this.faker.number.float({multipleOf:.01})),s="rgba"),K(g,i,s))}cmyk(e){let i=Array.from({length:4},()=>this.faker.number.float({multipleOf:.01}));return K(i,e?.format||"decimal","cmyk")}hsl(e){let i=[this.faker.number.int(360)];for(let t=0;t<(e!=null&&e.includeAlpha?3:2);t++)i.push(this.faker.number.float({multipleOf:.01}));return K(i,e?.format||"decimal",e!=null&&e.includeAlpha?"hsla":"hsl")}hwb(e){let i=[this.faker.number.int(360)];for(let t=0;t<2;t++)i.push(this.faker.number.float({multipleOf:.01}));return K(i,e?.format||"decimal","hwb")}lab(e){let i=[this.faker.number.float({multipleOf:1e-6})];for(let t=0;t<2;t++)i.push(this.faker.number.float({min:-100,max:100,multipleOf:1e-4}));return K(i,e?.format||"decimal","lab")}lch(e){let i=[this.faker.number.float({multipleOf:1e-6})];for(let t=0;t<2;t++)i.push(this.faker.number.float({max:230,multipleOf:.1}));return K(i,e?.format||"decimal","lch")}colorByCSSColorSpace(e){e?.format==="css"&&!(e!=null&&e.space)&&(e={...e,space:"sRGB"});let i=Array.from({length:3},()=>this.faker.number.float({multipleOf:1e-4}));return K(i,e?.format||"decimal","color",e?.space)}},re=()=>{throw new b("You cannot edit the locale data on the faker instance")};function Jg(a){let e={};return new Proxy(a,{has(){return!0},get(i,t){return typeof t=="symbol"||t==="nodeType"?i[t]:t in e?e[t]:e[t]=$g(t,i[t])},set:re,deleteProperty:re})}function le(a,...e){if(a===null)throw new b(`The locale data for '${e.join(".")}' aren't applicable to this locale. + If you think this is a bug, please report it at: https://github.com/faker-js/faker`);if(a===void 0)throw new b(`The locale data for '${e.join(".")}' are missing in this locale. + Please contribute the missing data to the project or use a locale/Faker instance that has these data. + For more information see https://fakerjs.dev/guide/localization.html`)}function $g(a,e={}){return new Proxy(e,{has(i,t){return i[t]!=null},get(i,t){let n=i[t];return typeof t=="symbol"||t==="nodeType"||le(n,a,t.toString()),n},set:re,deleteProperty:re})}var Da=(a=>(a.Female="female",a.Male="male",a))(Da||{});function ee(a,e,i,{generic:t,female:n,male:o},g){let s;switch(i){case"female":s=n;break;case"male":s=o;break;default:s=t;break}return s==null&&(n!=null&&o!=null?s=a.helpers.arrayElement([n,o]):s=t,le(s,`person.{${g}, female_${g}, male_${g}}`)),e(s)}var Ug=class extends w{firstName(e){var i;let{first_name:t,female_first_name:n,male_first_name:o}=(i=this.faker.rawDefinitions.person)!=null?i:{};return ee(this.faker,this.faker.helpers.arrayElement,e,{generic:t,female:n,male:o},"first_name")}lastName(e){var i;let{last_name:t,female_last_name:n,male_last_name:o,last_name_pattern:g,male_last_name_pattern:s,female_last_name_pattern:r}=(i=this.faker.rawDefinitions.person)!=null?i:{};if(g!=null||s!=null||r!=null){let u=ee(this.faker,this.faker.helpers.weightedArrayElement,e,{generic:g,female:r,male:s},"last_name_pattern");return this.faker.helpers.fake(u)}return ee(this.faker,this.faker.helpers.arrayElement,e,{generic:t,female:n,male:o},"last_name")}middleName(e){var i;let{middle_name:t,female_middle_name:n,male_middle_name:o}=(i=this.faker.rawDefinitions.person)!=null?i:{};return ee(this.faker,this.faker.helpers.arrayElement,e,{generic:t,female:n,male:o},"middle_name")}fullName(e={}){let{sex:i=this.faker.helpers.arrayElement(["female","male"]),firstName:t=this.firstName(i),lastName:n=this.lastName(i)}=e,o=this.faker.helpers.weightedArrayElement(this.faker.definitions.person.name);return this.faker.helpers.mustache(o,{"person.prefix":()=>this.prefix(i),"person.firstName":()=>t,"person.middleName":()=>this.middleName(i),"person.lastName":()=>n,"person.suffix":()=>this.suffix()})}gender(){return this.faker.helpers.arrayElement(this.faker.definitions.person.gender)}sex(){return this.faker.helpers.arrayElement(this.faker.definitions.person.sex)}sexType(){return this.faker.helpers.enumValue(Da)}bio(){let{bio_pattern:e}=this.faker.definitions.person;return this.faker.helpers.fake(e)}prefix(e){var i;let{prefix:t,female_prefix:n,male_prefix:o}=(i=this.faker.rawDefinitions.person)!=null?i:{};return ee(this.faker,this.faker.helpers.arrayElement,e,{generic:t,female:n,male:o},"prefix")}suffix(){return this.faker.helpers.arrayElement(this.faker.definitions.person.suffix)}jobTitle(){return this.faker.helpers.fake(this.faker.definitions.person.job_title_pattern)}jobDescriptor(){let e=this.faker.definitions.person.title.descriptor;if(e==null)throw new b("No person.title.descriptor definitions available.");return this.faker.helpers.arrayElement(e)}jobArea(){let e=this.faker.definitions.person.title.level;if(e==null)throw new b("No person.title.area definitions available.");return this.faker.helpers.arrayElement(e)}jobType(){let e=this.faker.definitions.person.title.job;if(e==null)throw new b("No person.title.job definitions available.");return this.faker.helpers.arrayElement(e)}zodiacSign(){return this.faker.helpers.arrayElement(this.faker.definitions.person.western_zodiac_sign)}},Vg=class{constructor(){y(this,"N",624),y(this,"M",397),y(this,"MATRIX_A",2567483615),y(this,"UPPER_MASK",2147483648),y(this,"LOWER_MASK",2147483647),y(this,"mt",Array.from({length:this.N})),y(this,"mti",this.N+1),y(this,"mag01",[0,this.MATRIX_A])}unsigned32(e){return e<0?(e^this.UPPER_MASK)+this.UPPER_MASK:e}subtraction32(e,i){return e>>n&1&&(t=this.addition32(t,this.unsigned32(i<>>30)),this.mti),this.mt[this.mti]=this.unsigned32(this.mt[this.mti]&4294967295)}initByArray(e,i){this.initGenrand(19650218);let t=1,n=0,o=this.N>i?this.N:i;for(;o;o--)this.mt[t]=this.addition32(this.addition32(this.unsigned32(this.mt[t]^this.multiplication32(this.unsigned32(this.mt[t-1]^this.mt[t-1]>>>30),1664525)),e[n]),n),this.mt[t]=this.unsigned32(this.mt[t]&4294967295),t++,n++,t>=this.N&&(this.mt[0]=this.mt[this.N-1],t=1),n>=i&&(n=0);for(o=this.N-1;o;o--)this.mt[t]=this.subtraction32(this.unsigned32(this.mt[t]^this.multiplication32(this.unsigned32(this.mt[t-1]^this.mt[t-1]>>>30),1566083941)),t),this.mt[t]=this.unsigned32(this.mt[t]&4294967295),t++,t>=this.N&&(this.mt[0]=this.mt[this.N-1],t=1);this.mt[0]=2147483648}genrandInt32(){let e;if(this.mti>=this.N){let i;for(this.mti===this.N+1&&this.initGenrand(5489),i=0;i>>1^this.mag01[e&1]);for(;i>>1^this.mag01[e&1]);e=this.unsigned32(this.mt[this.N-1]&this.UPPER_MASK|this.mt[0]&this.LOWER_MASK),this.mt[this.N-1]=this.unsigned32(this.mt[this.M-1]^e>>>1^this.mag01[e&1]),this.mti=0}return e=this.mt[this.mti++],e=this.unsigned32(e^e>>>11),e=this.unsigned32(e^e<<7&2636928640),e=this.unsigned32(e^e<<15&4022730752),e=this.unsigned32(e^e>>>18),e}genrandInt31(){return this.genrandInt32()>>>1}genrandReal1(){return this.genrandInt32()*(1/4294967295)}genrandReal2(){return this.genrandInt32()*(1/4294967296)}genrandReal3(){return(this.genrandInt32()+.5)*(1/4294967296)}genrandRes53(){let e=this.genrandInt32()>>>5,i=this.genrandInt32()>>>6;return(e*67108864+i)*(1/9007199254740992)}};function Yg(){let a=new Vg;return a.initGenrand(Math.ceil(Math.random()*Number.MAX_SAFE_INTEGER)),{next(){return a.genrandReal2()},seed(e){typeof e=="number"?a.initGenrand(e):Array.isArray(e)&&a.initByArray(e,e.length)}}}function d(a){let e=`[@faker-js/faker]: ${a.deprecated} is deprecated`;a.since&&(e+=` since v${a.since}`),a.until&&(e+=` and will be removed in v${a.until}`),a.proposed&&(e+=`. Please use ${a.proposed} instead`),console.warn(`${e}.`)}var Zg=class extends X{number(e=99999){d({deprecated:"faker.datatype.number()",proposed:"faker.number.int()",since:"8.0",until:"9.0"}),typeof e=="number"&&(e={max:e});let{min:i=0,max:t=i+99999,precision:n=1}=e;return this.faker.number.float({min:i,max:t,multipleOf:n})}float(e={}){d({deprecated:"faker.datatype.float()",proposed:"faker.number.float()",since:"8.0",until:"9.0"}),typeof e=="number"&&(e={precision:e});let{min:i=0,max:t=i+99999,precision:n=.01}=e;return this.faker.number.float({min:i,max:t,multipleOf:n})}datetime(e={}){d({deprecated:"faker.datatype.datetime({ min, max })",proposed:"faker.date.between({ from, to }) or faker.date.anytime()",since:"8.0",until:"9.0"});let i=864e13,t=typeof e=="number"?void 0:e.min,n=typeof e=="number"?e:e.max;return(t==null||ti)&&(n=Date.UTC(2100,0)),this.faker.date.between({from:t,to:n})}string(e={}){d({deprecated:"faker.datatype.string()",proposed:"faker.string.sample()",since:"8.0",until:"9.0"}),typeof e=="number"&&(e={length:e});let{length:i=10}=e;return this.faker.string.sample(i)}uuid(){return d({deprecated:"faker.datatype.uuid()",proposed:"faker.string.uuid()",since:"8.0",until:"9.0"}),this.faker.string.uuid()}boolean(e={}){typeof e=="number"&&(e={probability:e});let{probability:i=.5}=e;return i<=0?!1:i>=1?!0:this.faker.number.float()this.boolean()?this.faker.string.sample():this.faker.number.int(),{count:e})}bigInt(e){return d({deprecated:"faker.datatype.bigInt()",proposed:"faker.number.bigInt()",since:"8.0",until:"9.0"}),this.faker.number.bigInt(e)}};function q(a,e){return a==null?e():(a=new Date(a),Number.isNaN(a.valueOf())&&(a=e()),a)}var Aa=class extends X{anytime(e={}){let{refDate:i}=e,t=q(i,this.faker.defaultRefDate);return this.between({from:new Date(t.getTime()-1e3*60*60*24*365),to:new Date(t.getTime()+1e3*60*60*24*365)})}past(e={},i){typeof e=="number"&&(d({deprecated:"faker.date.past(years, refDate)",proposed:"faker.date.past({ years, refDate })",since:"8.0",until:"9.0"}),e={years:e});let{years:t=1,refDate:n=i}=e;if(t<=0)throw new b("Years must be greater than 0.");let o=q(n,this.faker.defaultRefDate),g={min:1e3,max:t*365*24*3600*1e3},s=o.getTime();return s-=this.faker.number.int(g),o.setTime(s),o}future(e={},i){typeof e=="number"&&(d({deprecated:"faker.date.future(years, refDate)",proposed:"faker.date.future({ years, refDate })",since:"8.0",until:"9.0"}),e={years:e});let{years:t=1,refDate:n=i}=e;if(t<=0)throw new b("Years must be greater than 0.");let o=q(n,this.faker.defaultRefDate),g={min:1e3,max:t*365*24*3600*1e3},s=o.getTime();return s+=this.faker.number.int(g),o.setTime(s),o}between(e,i){(e instanceof Date||typeof e!="object")&&(d({deprecated:"faker.date.between(from, to)",proposed:"faker.date.between({ from, to })",since:"8.0",until:"9.0"}),e={from:e,to:i??e});let{from:t,to:n}=e,o=q(t,this.faker.defaultRefDate).getTime(),g=q(n,this.faker.defaultRefDate).getTime(),s=this.faker.number.int(g-o);return new Date(o+s)}betweens(e,i,t=3){(e instanceof Date||typeof e!="object")&&(d({deprecated:"faker.date.betweens(from, to, count)",proposed:"faker.date.betweens({ from, to, count })",since:"8.0",until:"9.0"}),e={from:e,to:i??e,count:t});let{from:n,to:o,count:g=3}=e;return this.faker.helpers.multiple(()=>this.between({from:n,to:o}),{count:g}).sort((s,r)=>s.getTime()-r.getTime())}recent(e={},i){typeof e=="number"&&(d({deprecated:"faker.date.recent(days, refDate)",proposed:"faker.date.recent({ days, refDate })",since:"8.0",until:"9.0"}),e={days:e});let{days:t=1,refDate:n=i}=e;if(t<=0)throw new b("Days must be greater than 0.");let o=q(n,this.faker.defaultRefDate),g={min:1e3,max:t*24*3600*1e3},s=o.getTime();return s-=this.faker.number.int(g),o.setTime(s),o}soon(e={},i){typeof e=="number"&&(d({deprecated:"faker.date.soon(days, refDate)",proposed:"faker.date.soon({ days, refDate })",since:"8.0",until:"9.0"}),e={days:e});let{days:t=1,refDate:n=i}=e;if(t<=0)throw new b("Days must be greater than 0.");let o=q(n,this.faker.defaultRefDate),g={min:1e3,max:t*24*3600*1e3},s=o.getTime();return s+=this.faker.number.int(g),o.setTime(s),o}birthdate(e={}){var i,t,n,o;let g=e.mode==="age"?"age":"year",s=q(e.refDate,this.faker.defaultRefDate),r=s.getUTCFullYear(),u,l;if(g==="age"?(u=new Date(s).setUTCFullYear(r-((i=e.max)!=null?i:80)-1),l=new Date(s).setUTCFullYear(r-((t=e.min)!=null?t:18))):(u=new Date(Date.UTC(0,0,2)).setUTCFullYear((n=e.min)!=null?n:r-80),l=new Date(Date.UTC(0,11,30)).setUTCFullYear((o=e.max)!=null?o:r-19)),ls!=null).map(s=>Array.isArray(s)?e.helpers.arrayElement(s):s)}while(n.length>0&&t.length>0);if(t.length===0)throw new b(`Cannot resolve expression '${a}'`);let o=t[0];return typeof o=="function"?o():o}function as(a,e){let[i,t]=is(a),n=a[i+1];switch(n){case".":case"(":case void 0:break;default:throw new b(`Expected dot ('.'), open parenthesis ('('), or nothing after function call but got '${n}'`)}return[i+(n==="."?2:1),e.map(o=>typeof o=="function"?o(...t):o)]}function is(a){let e=a.indexOf(")",1);if(e===-1)throw new b(`Missing closing parenthesis in '${a}'`);for(;e!==-1;){let t=a.substring(1,e);try{return[e,JSON.parse(`[${t}]`)]}catch{if(!t.includes("'")&&!t.includes('"'))try{return[e,JSON.parse(`["${t}"]`)]}catch{}}e=a.indexOf(")",e+1)}e=a.lastIndexOf(")");let i=a.substring(1,e);return[e,[i]]}function ts(a,e){var i,t;let n=Qg.exec(a),o=((i=n?.[0])!=null?i:"")===".",g=(t=n?.index)!=null?t:a.length,s=a.substring(0,g);if(s.length===0)throw new b(`Expression parts cannot be empty in '${a}'`);let r=a[g+1];if(o&&(r==null||r==="."||r==="("))throw new b(`Found dot without property name in '${a}'`);return[g+(o?1:0),e.map(u=>ns(u,s))]}function ns(a,e){switch(typeof a){case"function":{try{a=a()}catch{return}return a?.[e]}case"object":return a?.[e];default:return}}function os(a){let e=gs(a.replace(/L?$/,"0"));return e===0?0:10-e}function gs(a){a=a.replace(/[\s-]/g,"");let e=0,i=!1;for(let t=a.length-1;t>=0;t--){let n=Number.parseInt(a[t]);i&&(n*=2,n>9&&(n=n%10+1)),e+=n,i=!i}return e%10}function ss(a,e){return a[e]===void 0?-1:0}function Pe(a,e,i,t,n){throw console.error("Error",i),`${Object.keys(t).length}${n}`,e-a,new b(`${i} for uniqueness check. + +May not be able to generate any more unique values with current settings. +Try adjusting maxTime or maxRetries parameters for faker.helpers.unique().`)}function Ca(a,e,i={}){let t=Date.now(),{startTime:n=Date.now(),maxTime:o=50,maxRetries:g=50,currentIterations:s=0,compare:r=ss,store:u={}}=i,{exclude:l=[]}=i;if(i.currentIterations=s,Array.isArray(l)||(l=[l]),t-n>=o)return Pe(n,t,`Exceeded maxTime: ${o}`,u,s);if(s>=g)return Pe(n,t,`Exceeded maxRetries: ${g}`,u,s);let c=a(...e);return r(u,c)===-1&&!l.includes(c)?(u[c]=c,i.currentIterations=0,c):(i.currentIterations++,Ca(a,e,{...i,startTime:n,maxTime:o,maxRetries:g,compare:r,exclude:l}))}function He(a,e,i,t){let n=1;if(e)switch(e){case"?":{n=a.datatype.boolean()?0:1;break}case"*":{let o=1;for(;a.datatype.boolean();)o*=2;n=a.number.int({min:0,max:o});break}case"+":{let o=1;for(;a.datatype.boolean();)o*=2;n=a.number.int({min:1,max:o});break}default:throw new b("Unknown quantifier symbol provided.")}else i!=null&&t!=null?n=a.number.int({min:Number.parseInt(i),max:Number.parseInt(t)}):i!=null&&t==null&&(n=Number.parseInt(i));return n}function ze(a,e=""){let i=/(.)\{(\d+),(\d+)\}/,t=/(.)\{(\d+)\}/,n=/\[(\d+)-(\d+)\]/,o,g,s,r,u=i.exec(e);for(;u!=null;)o=Number.parseInt(u[2]),g=Number.parseInt(u[3]),o>g&&(s=g,g=o,o=s),r=a.number.int({min:o,max:g}),e=e.slice(0,u.index)+u[1].repeat(r)+e.slice(u.index+u[0].length),u=i.exec(e);for(u=t.exec(e);u!=null;)r=Number.parseInt(u[2]),e=e.slice(0,u.index)+u[1].repeat(r)+e.slice(u.index+u[0].length),u=t.exec(e);for(u=n.exec(e);u!=null;)o=Number.parseInt(u[1]),g=Number.parseInt(u[2]),o>g&&(s=g,g=o,o=s),e=e.slice(0,u.index)+a.number.int({min:o,max:g}).toString()+e.slice(u.index+u[0].length),u=n.exec(e);return e}function fe(a,e="",i="#"){let t="";for(let n=0;n faker.string.numeric(m.length))",since:"8.4",until:"9.0"}),fe(this.faker,e,i)}replaceSymbols(e=""){let i=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],t="";for(let n=0;n{var Q;return(Q=E.codePointAt(0))!=null?Q:Number.NaN});if(l=x[0],c=x[1],l>c)throw new b("Character range provided is out of order.");for(let E=l;E<=c;E++)if(u&&Number.isNaN(Number(String.fromCodePoint(E)))){let Q=String.fromCodePoint(E);A.push((n=Q.toUpperCase().codePointAt(0))!=null?n:Number.NaN,(o=Q.toLowerCase().codePointAt(0))!=null?o:Number.NaN)}else A.push(E)}else u&&Number.isNaN(Number(M[0]))?A.push((g=M[0].toUpperCase().codePointAt(0))!=null?g:Number.NaN,(s=M[0].toLowerCase().codePointAt(0))!=null?s:Number.NaN):A.push((r=M[0].codePointAt(0))!=null?r:Number.NaN);I=I.substring(M[0].length),M=h.exec(I)}if(m=He(this.faker,P,R,B),j){let x=-1;for(let E=48;E<=57;E++){if(x=A.indexOf(E),x>-1){A.splice(x,1);continue}A.push(E)}for(let E=65;E<=90;E++){if(x=A.indexOf(E),x>-1){A.splice(x,1);continue}A.push(E)}for(let E=97;E<=122;E++){if(x=A.indexOf(E),x>-1){A.splice(x,1);continue}A.push(E)}}let Oa=this.multiple(()=>String.fromCodePoint(this.arrayElement(A)),{count:m}).join("");e=e.slice(0,p.index)+Oa+e.slice(p.index+p[0].length),p=k.exec(e)}let f=/(.)\{(\d+),(\d+)\}/;for(p=f.exec(e);p!=null;){if(l=Number.parseInt(p[2]),c=Number.parseInt(p[3]),l>c)throw new b("Numbers out of order in {} quantifier.");m=this.faker.number.int({min:l,max:c}),e=e.slice(0,p.index)+p[1].repeat(m)+e.slice(p.index+p[0].length),p=f.exec(e)}let C=/(.)\{(\d+)\}/;for(p=C.exec(e);p!=null;)m=Number.parseInt(p[2]),e=e.slice(0,p.index)+p[1].repeat(m)+e.slice(p.index+p[0].length),p=C.exec(e);return e}shuffle(e,i={}){let{inplace:t=!1}=i;t||(e=[...e]);for(let n=e.length-1;n>0;--n){let o=this.faker.number.int(n);[e[n],e[o]]=[e[o],e[n]]}return e}uniqueArray(e,i){if(Array.isArray(e)){let n=[...new Set(e)];return this.shuffle(n).splice(0,i)}let t=new Set;try{if(typeof e=="function"){let n=1e3*i,o=0;for(;t.size1?this.faker.number.int({max:e.length-1}):0;return e[i]}weightedArrayElement(e){if(e.length===0)throw new b("weightedArrayElement expects an array with at least one element");if(!e.every(o=>o.weight>0))throw new b("weightedArrayElement expects an array of { weight, value } objects where weight is a positive number");let i=e.reduce((o,{weight:g})=>o+g,0),t=this.faker.number.float({min:0,max:i}),n=0;for(let{weight:o,value:g}of e)if(n+=o,t=e.length)return this.shuffle(e);if(t<=0)return[];let n=[...e],o=e.length,g=o-t,s,r;for(;o-- >g;)r=this.faker.number.int(o),s=n[r],n[r]=n[o],n[o]=s;return n.slice(g)}enumValue(e){let i=Object.keys(e).filter(n=>Number.isNaN(Number(n))),t=this.arrayElement(i);return e[t]}rangeToNumber(e){return typeof e=="number"?e:this.faker.number.int(e)}unique(e,i=[],t={}){d({deprecated:"faker.helpers.unique",proposed:"https://github.com/faker-js/faker/issues/1785#issuecomment-1407773744",since:"8.0",until:"9.0"});let{maxTime:n=50,maxRetries:o=50,exclude:g=[],store:s=this.uniqueStore}=t;return Ca(e,i,{...t,startTime:Date.now(),maxTime:n,maxRetries:o,currentIterations:0,exclude:g,store:s})}multiple(e,i={}){var t;let n=this.rangeToNumber((t=i.count)!=null?t:3);return n<=0?[]:Array.from({length:n},e)}},us=class extends Ea{constructor(e){super(e),this.faker=e}fake(e){e=typeof e=="string"?e:this.arrayElement(e);let i=e.search(/{{[a-z]/),t=e.indexOf("}}",i);if(i===-1||t===-1)return e;let n=e.substring(i+2,t+2).replace("}}","").replace("{{",""),o=es(n,this.faker),g=String(o),s=e.substring(0,i)+g+e.substring(t+2);return this.fake(s)}},rs=class extends X{int(e={}){typeof e=="number"&&(e={max:e});let{min:i=0,max:t=Number.MAX_SAFE_INTEGER}=e,n=Math.ceil(i),o=Math.floor(t);if(n===o)return n;if(o=i?new b(`No integer value between ${i} and ${t} found.`):new b(`Max ${t} should be greater than min ${i}.`);let g=this.faker._randomizer.next();return Math.floor(g*(o+1-n)+n)}float(e={}){typeof e=="number"&&(e={max:e});let{min:i=0,max:t=1,fractionDigits:n,precision:o,multipleOf:g=o,multipleOf:s=o??(n==null?void 0:10**-n)}=e;if(o!=null&&d({deprecated:"faker.number.float({ precision })",proposed:"faker.number.float({ multipleOf })",since:"8.4",until:"9.0"}),t===i)return i;if(tthis.faker.helpers.arrayElement(e),{count:i}).join("")}alpha(e={}){var i;typeof e=="number"&&(e={length:e});let t=this.faker.helpers.rangeToNumber((i=e.length)!=null?i:1);if(t<=0)return"";let{casing:n="mixed"}=e,{exclude:o=[]}=e;typeof o=="string"&&(o=[...o]);let g;switch(n){case"upper":g=[...oe];break;case"lower":g=[...ge];break;case"mixed":default:g=[...ge,...oe];break}return g=g.filter(s=>!o.includes(s)),this.fromCharacters(g,t)}alphanumeric(e={}){var i;typeof e=="number"&&(e={length:e});let t=this.faker.helpers.rangeToNumber((i=e.length)!=null?i:1);if(t<=0)return"";let{casing:n="mixed"}=e,{exclude:o=[]}=e;typeof o=="string"&&(o=[...o]);let g=[...Ie];switch(n){case"upper":g.push(...oe);break;case"lower":g.push(...ge);break;case"mixed":default:g.push(...ge,...oe);break}return g=g.filter(s=>!o.includes(s)),this.fromCharacters(g,t)}binary(e={}){var i;let{prefix:t="0b"}=e,n=t;return n+=this.fromCharacters(["0","1"],(i=e.length)!=null?i:1),n}octal(e={}){var i;let{prefix:t="0o"}=e,n=t;return n+=this.fromCharacters(["0","1","2","3","4","5","6","7"],(i=e.length)!=null?i:1),n}hexadecimal(e={}){var i;let{casing:t="mixed",prefix:n="0x"}=e,o=this.faker.helpers.rangeToNumber((i=e.length)!=null?i:1);if(o<=0)return n;let g=this.fromCharacters(["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f","A","B","C","D","E","F"],o);return t==="upper"?g=g.toUpperCase():t==="lower"&&(g=g.toLowerCase()),`${n}${g}`}numeric(e={}){var i;typeof e=="number"&&(e={length:e});let t=this.faker.helpers.rangeToNumber((i=e.length)!=null?i:1);if(t<=0)return"";let{allowLeadingZeros:n=!0}=e,{exclude:o=[]}=e;typeof o=="string"&&(o=[...o]);let g=Ie.filter(r=>!o.includes(r));if(g.length===0||g.length===1&&!n&&g[0]==="0")throw new b("Unable to generate numeric string, because all possible digits are excluded.");let s="";return!n&&!o.includes("0")&&(s+=this.faker.helpers.arrayElement(g.filter(r=>r!=="0"))),s+=this.fromCharacters(g,t-s.length),s}sample(e=10){e=this.faker.helpers.rangeToNumber(e);let i={min:33,max:125},t="";for(;t.lengththis.faker.number.hex({min:0,max:15})).replace(/y/g,()=>this.faker.number.hex({min:8,max:11}))}nanoid(e=21){if(e=this.faker.helpers.rangeToNumber(e),e<=0)return"";let i=[{value:()=>this.alphanumeric(1),weight:62},{value:()=>this.faker.helpers.arrayElement(["_","-"]),weight:2}],t="";for(;t.length","?","@","[","\\","]","^","_","`","{","|","}","~"],e)}},va=class{constructor(e={}){y(this,"_defaultRefDate",()=>new Date),y(this,"_randomizer"),y(this,"datatype",new Zg(this)),y(this,"date",new Aa(this)),y(this,"helpers",new Ea(this)),y(this,"number",new rs(this)),y(this,"string",new ls(this));let{randomizer:i=Yg()}=e;this._randomizer=i}get defaultRefDate(){return this._defaultRefDate}setDefaultRefDate(e=()=>new Date){typeof e=="function"?this._defaultRefDate=e:this._defaultRefDate=()=>new Date(e)}seed(e=Math.ceil(Math.random()*Number.MAX_SAFE_INTEGER)){return this._randomizer.seed(e),e}};new va;function ms(a){let e={};for(let i of a)for(let t in i){let n=i[t];e[t]===void 0?e[t]={...n}:e[t]={...n,...e[t]}}return e}var cs=class extends w{dog(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.dog)}cat(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.cat)}snake(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.snake)}bear(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.bear)}lion(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.lion)}cetacean(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.cetacean)}horse(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.horse)}bird(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.bird)}cow(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.cow)}fish(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.fish)}crocodilia(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.crocodilia)}insect(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.insect)}rabbit(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.rabbit)}rodent(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.rodent)}type(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.type)}},ps={0:[[1999999,2],[2279999,3],[2289999,4],[3689999,3],[3699999,4],[6389999,3],[6397999,4],[6399999,7],[6449999,3],[6459999,7],[6479999,3],[6489999,7],[6549999,3],[6559999,4],[6999999,3],[8499999,4],[8999999,5],[9499999,6],[9999999,7]],1:[[99999,3],[299999,2],[349999,3],[399999,4],[499999,3],[699999,2],[999999,4],[3979999,3],[5499999,4],[6499999,5],[6799999,4],[6859999,5],[7139999,4],[7169999,3],[7319999,4],[7399999,7],[7749999,5],[7753999,7],[7763999,5],[7764999,7],[7769999,5],[7782999,7],[7899999,5],[7999999,4],[8004999,5],[8049999,5],[8379999,5],[8384999,7],[8671999,5],[8675999,4],[8697999,5],[9159999,6],[9165059,7],[9168699,6],[9169079,7],[9195999,6],[9196549,7],[9729999,6],[9877999,4],[9911499,6],[9911999,7],[9989899,6],[9999999,7]]},ds=class extends w{department(){return this.faker.helpers.arrayElement(this.faker.definitions.commerce.department)}productName(){return`${this.productAdjective()} ${this.productMaterial()} ${this.product()}`}price(e={},i=1e3,t=2,n=""){typeof e=="number"&&(d({deprecated:"faker.commerce.price(min, max, dec, symbol)",proposed:"faker.commerce.price({ min, max, dec, symbol })",since:"8.0",until:"9.0"}),e={min:e,dec:t,max:i,symbol:n});let{dec:o=2,max:g=1e3,min:s=1,symbol:r=""}=e;if(s<0||g<0)return`${r}0`;let u=this.faker.number.int({min:s,max:g});return r+u.toFixed(o)}productAdjective(){return this.faker.helpers.arrayElement(this.faker.definitions.commerce.product_name.adjective)}productMaterial(){return this.faker.helpers.arrayElement(this.faker.definitions.commerce.product_name.material)}product(){return this.faker.helpers.arrayElement(this.faker.definitions.commerce.product_name.product)}productDescription(){return this.faker.helpers.arrayElement(this.faker.definitions.commerce.product_description)}isbn(e={}){var i;typeof e=="number"&&(e={variant:e});let{variant:t=13,separator:n="-"}=e,o="978",[g,s]=this.faker.helpers.objectEntry(ps),r=this.faker.string.numeric(8),u=Number.parseInt(r.slice(0,-1)),l=(i=s.find(([k])=>u<=k))==null?void 0:i[1];if(!l)throw new b(`Unable to find a registrant length for the group ${g}`);let c=r.slice(0,l),m=r.slice(l),F=[o,g,c,m];t===10&&F.shift();let p=F.join(""),h=0;for(let k=0;k{let e=0;for(let i of a)e=(e*10+ +i)%97;return e},pattern10:["01","02","03","04","05","06","07","08","09"],pattern100:["001","002","003","004","005","006","007","008","009"],toDigitString:a=>a.replace(/[A-Z]/gi,e=>{var i;return String(((i=e.toUpperCase().codePointAt(0))!=null?i:Number.NaN)-55)})},H=bs;function ks(a){let e="";for(let i=0;il.country===t):this.faker.helpers.arrayElement(H.formats);if(!o)throw new b(`Country code ${t} not supported.`);let g="",s=0;for(let l of o.bban){let c=l.count;for(s+=l.count;c>0;)l.type==="a"?g+=this.faker.helpers.arrayElement(H.alpha):l.type==="c"?this.faker.datatype.boolean(.8)?g+=this.faker.number.int(9):g+=this.faker.helpers.arrayElement(H.alpha):c>=3&&this.faker.datatype.boolean(.3)?this.faker.datatype.boolean()?(g+=this.faker.helpers.arrayElement(H.pattern100),c-=2):(g+=this.faker.helpers.arrayElement(H.pattern10),c--):g+=this.faker.number.int(9),c--;g=g.substring(0,s)}let r=98-H.mod97(H.toDigitString(`${g}${o.country}00`));r<10&&(r=`0${r}`);let u=`${o.country}${r}${g}`;return n?ks(u):u}bic(e={}){let{includeBranchCode:i=this.faker.datatype.boolean()}=e,t=this.faker.string.alpha({length:4,casing:"upper"}),n=this.faker.helpers.arrayElement(H.iso3166),o=this.faker.string.alphanumeric({length:2,casing:"upper"}),g=i?this.faker.datatype.boolean()?this.faker.string.alphanumeric({length:3,casing:"upper"}):"XXX":"";return`${t}${n}${o}${g}`}transactionDescription(){let e=this.amount(),i=this.faker.company.name(),t=this.transactionType(),n=this.accountNumber(),o=this.maskedNumber(),g=this.currencyCode();return`${t} transaction at ${i} using card ending with ***${o} for ${g} ${e} in account ***${n}`}},fs=" ",Ds=class extends w{branch(){let e=this.faker.hacker.noun().replace(" ","-"),i=this.faker.hacker.verb().replace(" ","-");return`${e}-${i}`}commitEntry(e={}){let{merge:i=this.faker.datatype.boolean({probability:.2}),eol:t="CRLF",refDate:n}=e,o=[`commit ${this.faker.git.commitSha()}`];i&&o.push(`Merge: ${this.commitSha({length:7})} ${this.commitSha({length:7})}`);let g=this.faker.person.firstName(),s=this.faker.person.lastName(),r=this.faker.person.fullName({firstName:g,lastName:s}),u=this.faker.internet.userName({firstName:g,lastName:s}),l=this.faker.helpers.arrayElement([r,u]),c=this.faker.internet.email({firstName:g,lastName:s});l=l.replace(/^[.,:;"\\']|[<>\n]|[.,:;"\\']$/g,""),o.push(`Author: ${l} <${c}>`,`Date: ${this.commitDate({refDate:n})}`,"",`${fs.repeat(4)}${this.commitMessage()}`,"");let m=t==="CRLF"?`\r +`:` +`;return o.join(m)}commitMessage(){return`${this.faker.hacker.verb()} ${this.faker.hacker.adjective()} ${this.faker.hacker.noun()}`}commitDate(e={}){let{refDate:i=this.faker.defaultRefDate()}=e,t=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],n=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],o=this.faker.date.recent({days:1,refDate:i}),g=t[o.getUTCDay()],s=n[o.getUTCMonth()],r=o.getUTCDate(),u=o.getUTCHours().toString().padStart(2,"0"),l=o.getUTCMinutes().toString().padStart(2,"0"),c=o.getUTCSeconds().toString().padStart(2,"0"),m=o.getUTCFullYear(),F=this.faker.number.int({min:-11,max:12}),p=Math.abs(F).toString().padStart(2,"0"),h="00",k=F>=0?"+":"-";return`${g} ${s} ${r} ${u}:${l}:${c} ${m} ${k}${p}${h}`}commitSha(e={}){let{length:i=40}=e;return this.faker.string.hexadecimal({length:i,casing:"lower",prefix:""})}shortSha(){return d({deprecated:"faker.git.shortSha()",proposed:"faker.git.commitSha({ length: 7 })",since:"8.0",until:"9.0"}),this.commitSha({length:7})}},As=class extends w{abbreviation(){return this.faker.helpers.arrayElement(this.faker.definitions.hacker.abbreviation)}adjective(){return this.faker.helpers.arrayElement(this.faker.definitions.hacker.adjective)}noun(){return this.faker.helpers.arrayElement(this.faker.definitions.hacker.noun)}verb(){return this.faker.helpers.arrayElement(this.faker.definitions.hacker.verb)}ingverb(){return this.faker.helpers.arrayElement(this.faker.definitions.hacker.ingverb)}phrase(){let e={abbreviation:this.abbreviation,adjective:this.adjective,ingverb:this.ingverb,noun:this.noun,verb:this.verb},i=this.faker.helpers.arrayElement(this.faker.definitions.hacker.phrase);return this.faker.helpers.mustache(i,e)}},Cs=class{constructor(e){this.faker=e}image(e,i,t,n){return d({deprecated:"faker.lorempicsum.image",proposed:"faker.image.urlPicsumPhotos",since:"8.0",until:"9.0"}),this.imageUrl(e,i,t,n)}imageGrayscale(e,i,t){return d({deprecated:"faker.lorempicsum.imageGrayscale",proposed:"faker.image.urlPicsumPhotos",since:"8.0",until:"9.0"}),this.imageUrl(e,i,t)}imageBlurred(e,i,t){return d({deprecated:"faker.lorempicsum.imageBlurred",proposed:"faker.image.urlPicsumPhotos",since:"8.0",until:"9.0"}),this.imageUrl(e,i,void 0,t)}imageRandomSeeded(e,i,t,n,o){return d({deprecated:"faker.lorempicsum.imageRandomSeeded",proposed:"faker.image.urlPicsumPhotos",since:"8.0",until:"9.0"}),this.imageUrl(e,i,t,n,o)}imageUrl(e,i,t,n,o){d({deprecated:"faker.lorempicsum.imageUrl",proposed:"faker.image.urlPicsumPhotos",since:"8.0",until:"9.0"}),e=e||640,i=i||480;let g="https://picsum.photos";return o&&(g+=`/seed/${o}`),g+=`/${e}/${i}`,t&&n?`${g}?grayscale&blur=${n}`:t?`${g}?grayscale`:n?`${g}?blur=${n}`:g}},Es=class wa{constructor(e){this.faker=e;for(let i of Object.getOwnPropertyNames(wa.prototype))i==="constructor"||typeof this[i]!="function"||(this[i]=this[i].bind(this))}imageUrl(e,i,t,n,o,g){d({deprecated:"faker.placeholder.imageUrl",proposed:"faker.image.urlPlaceholder",since:"8.0",until:"9.0"}),e=e||640,i=i||e;let s="https://via.placeholder.com";if(s+=`/${e}x${i}`,o!=null&&(s+=`/${o.replace("#","").toUpperCase()}`,g!=null&&(s+=`/${g.replace("#","").toUpperCase()}`)),n!=null&&(s+=`.${n}`),t!=null){let r=new URLSearchParams({text:t});s+=`?${r.toString()}`}return s}randomUrl(e,i,t){return d({deprecated:"faker.placeholder.randomUrl",proposed:"faker.image.urlPlaceholder",since:"8.0",until:"9.0"}),this.imageUrl(e,i,this.faker.lorem.word(),t,this.faker.color.rgb({casing:"upper",prefix:""}),this.faker.color.rgb({casing:"upper",prefix:""}))}},vs=class{constructor(e){this.faker=e}image(e,i,t){return d({deprecated:"faker.unsplash.image",proposed:"faker.image.url",since:"8.0",until:"9.0"}),this.imageUrl(e,i,void 0,t)}imageUrl(e,i,t,n){d({deprecated:"faker.unsplash.imageUrl",proposed:"faker.image.url",since:"8.0",until:"9.0"}),e=e||640,i=i||480;let o="https://source.unsplash.com";return t!=null&&(o+=`/category/${t}`),o+=`/${e}x${i}`,n!=null&&/^([A-Za-z0-9].+,[A-Za-z0-9]+)$|^([A-Za-z0-9]+)$/.test(n)&&(o+=`?${n}`),o}food(e,i,t){return d({deprecated:"faker.unsplash.food",proposed:"faker.image.url",since:"8.0",until:"9.0"}),this.faker.image.unsplash.imageUrl(e,i,"food",t)}people(e,i,t){return d({deprecated:"faker.unsplash.people",proposed:"faker.image.url",since:"8.0",until:"9.0"}),this.faker.image.unsplash.imageUrl(e,i,"people",t)}nature(e,i,t){return d({deprecated:"faker.unsplash.nature",proposed:"faker.image.url",since:"8.0",until:"9.0"}),this.faker.image.unsplash.imageUrl(e,i,"nature",t)}technology(e,i,t){return d({deprecated:"faker.unsplash.technology",proposed:"faker.image.url",since:"8.0",until:"9.0"}),this.faker.image.unsplash.imageUrl(e,i,"technology",t)}objects(e,i,t){return d({deprecated:"faker.unsplash.objects",proposed:"faker.image.url",since:"8.0",until:"9.0"}),this.faker.image.unsplash.imageUrl(e,i,"objects",t)}buildings(e,i,t){return d({deprecated:"faker.unsplash.buildings",proposed:"faker.image.url",since:"8.0",until:"9.0"}),this.faker.image.unsplash.imageUrl(e,i,"buildings",t)}},ws=class extends w{constructor(e){super(e),y(this,"unsplash"),y(this,"lorempicsum"),y(this,"placeholder"),this.unsplash=new vs(this.faker),this.lorempicsum=new Cs(this.faker),this.placeholder=new Es(this.faker)}avatar(){return this.faker.helpers.arrayElement([this.avatarLegacy,this.avatarGitHub])()}avatarGitHub(){return`https://avatars.githubusercontent.com/u/${this.faker.number.int(1e8)}`}avatarLegacy(){return`https://cloudflare-ipfs.com/ipfs/Qmd3W5DuhgHirLHGVixi6V76LhCkZUz6pnFt5AJBiyvHye/avatar/${this.faker.number.int(1249)}.jpg`}url(e={}){let{width:i=640,height:t=480}=e;return this.faker.helpers.arrayElement([this.urlLoremFlickr,this.urlPicsumPhotos])({width:i,height:t})}urlLoremFlickr(e={}){let{width:i=640,height:t=480,category:n}=e;return`https://loremflickr.com/${i}/${t}${n==null?"":`/${n}`}?lock=${this.faker.number.int()}`}urlPicsumPhotos(e={}){let{width:i=640,height:t=480,grayscale:n=!1,blur:o}=e,g=`https://picsum.photos/seed/${this.faker.string.alphanumeric({length:{min:5,max:10}})}/${i}/${t}`,s=typeof o=="number"&&o>=1&&o<=10;return(n||s)&&(g+="?",n&&(g+="grayscale"),n&&s&&(g+="&"),s&&(g+=`blur=${o}`)),g}urlPlaceholder(e={}){let{width:i=this.faker.number.int({min:1,max:3999}),height:t=this.faker.number.int({min:1,max:3999}),backgroundColor:n=this.faker.color.rgb({format:"hex",prefix:""}),textColor:o=this.faker.color.rgb({format:"hex",prefix:""}),format:g=this.faker.helpers.arrayElement(["gif","jpeg","jpg","png","webp"]),text:s=this.faker.lorem.words()}=e,r="https://via.placeholder.com";return r+=`/${i}`,r+=`x${t}`,r+=`/${n}`,r+=`/${o}`,r+=`.${g}`,r+=`?text=${encodeURIComponent(s)}`,r}dataUri(e={}){let{width:i=640,height:t=480,color:n=this.faker.color.rgb(),type:o="svg-uri"}=e,g=`${i}x${t}`;return o==="svg-uri"?`data:image/svg+xml;charset=UTF-8,${encodeURIComponent(g)}`:`data:image/svg+xml;base64,${Buffer.from(g).toString("base64")}`}image(e,i,t){d({deprecated:"faker.image.image",proposed:"faker.image.url",since:"8.0",until:"9.0"});let n=["abstract","animals","business","cats","city","food","nightlife","fashion","people","nature","sports","technics","transport"];return this[this.faker.helpers.arrayElement(n)](e,i,t)}imageUrl(e,i,t,n){d({deprecated:"faker.image.imageUrl",proposed:"faker.image.url",since:"8.0",until:"9.0"}),e=e||640,i=i||480;let o=`https://loremflickr.com/${e}/${i}`;return t!=null&&(o+=`/${t}`),n&&(o+=`?lock=${this.faker.number.int()}`),o}abstract(e,i,t){return d({deprecated:"faker.image.abstract",proposed:"faker.image.urlLoremFlickr({ category: 'abstract' }) or faker.image.url",since:"8.0",until:"9.0"}),this.imageUrl(e,i,"abstract",t)}animals(e,i,t){return d({deprecated:"faker.image.animals",proposed:"faker.image.urlLoremFlickr({ category: 'animals' }) or faker.image.url",since:"8.0",until:"9.0"}),this.imageUrl(e,i,"animals",t)}business(e,i,t){return d({deprecated:"faker.image.business",proposed:"faker.image.urlLoremFlickr({ category: 'business' }) or faker.image.url",since:"8.0",until:"9.0"}),this.imageUrl(e,i,"business",t)}cats(e,i,t){return d({deprecated:"faker.image.cats",proposed:"faker.image.urlLoremFlickr({ category: 'cats' }) or faker.image.url",since:"8.0",until:"9.0"}),this.imageUrl(e,i,"cats",t)}city(e,i,t){return d({deprecated:"faker.image.city",proposed:"faker.image.urlLoremFlickr({ category: 'city' }) or faker.image.url",since:"8.0",until:"9.0"}),this.imageUrl(e,i,"city",t)}food(e,i,t){return d({deprecated:"faker.image.food",proposed:"faker.image.urlLoremFlickr({ category: 'food' }) or faker.image.url",since:"8.0",until:"9.0"}),this.imageUrl(e,i,"food",t)}nightlife(e,i,t){return d({deprecated:"faker.image.nightlife",proposed:"faker.image.urlLoremFlickr({ category: 'nightlife' }) or faker.image.url",since:"8.0",until:"9.0"}),this.imageUrl(e,i,"nightlife",t)}fashion(e,i,t){return d({deprecated:"faker.image.fashion",proposed:"faker.image.urlLoremFlickr({ category: 'fashion' }) or faker.image.url",since:"8.0",until:"9.0"}),this.imageUrl(e,i,"fashion",t)}people(e,i,t){return d({deprecated:"faker.image.people",proposed:"faker.image.urlLoremFlickr({ category: 'people' }) or faker.image.url",since:"8.0",until:"9.0"}),this.imageUrl(e,i,"people",t)}nature(e,i,t){return d({deprecated:"faker.image.nature",proposed:"faker.image.urlLoremFlickr({ category: 'nature' }) or faker.image.url",since:"8.0",until:"9.0"}),this.imageUrl(e,i,"nature",t)}sports(e,i,t){return d({deprecated:"faker.image.sports",proposed:"faker.image.urlLoremFlickr({ category: 'sports' }) or faker.image.url",since:"8.0",until:"9.0"}),this.imageUrl(e,i,"sports",t)}technics(e,i,t){return d({deprecated:"faker.image.technics",proposed:"faker.image.urlLoremFlickr({ category: 'technics' }) or faker.image.url",since:"8.0",until:"9.0"}),this.imageUrl(e,i,"technics",t)}transport(e,i,t){return d({deprecated:"faker.image.transport",proposed:"faker.image.urlLoremFlickr({ category: 'transport' }) or faker.image.url",since:"8.0",until:"9.0"}),this.imageUrl(e,i,"transport",t)}},js=Object.fromEntries([["А","A"],["а","a"],["Б","B"],["б","b"],["В","V"],["в","v"],["Г","G"],["г","g"],["Д","D"],["д","d"],["ъе","ye"],["Ъе","Ye"],["ъЕ","yE"],["ЪЕ","YE"],["Е","E"],["е","e"],["Ё","Yo"],["ё","yo"],["Ж","Zh"],["ж","zh"],["З","Z"],["з","z"],["И","I"],["и","i"],["ый","iy"],["Ый","Iy"],["ЫЙ","IY"],["ыЙ","iY"],["Й","Y"],["й","y"],["К","K"],["к","k"],["Л","L"],["л","l"],["М","M"],["м","m"],["Н","N"],["н","n"],["О","O"],["о","o"],["П","P"],["п","p"],["Р","R"],["р","r"],["С","S"],["с","s"],["Т","T"],["т","t"],["У","U"],["у","u"],["Ф","F"],["ф","f"],["Х","Kh"],["х","kh"],["Ц","Ts"],["ц","ts"],["Ч","Ch"],["ч","ch"],["Ш","Sh"],["ш","sh"],["Щ","Sch"],["щ","sch"],["Ъ",""],["ъ",""],["Ы","Y"],["ы","y"],["Ь",""],["ь",""],["Э","E"],["э","e"],["Ю","Yu"],["ю","yu"],["Я","Ya"],["я","ya"]]),Bs=Object.fromEntries([["α","a"],["β","v"],["γ","g"],["δ","d"],["ε","e"],["ζ","z"],["η","i"],["θ","th"],["ι","i"],["κ","k"],["λ","l"],["μ","m"],["ν","n"],["ξ","ks"],["ο","o"],["π","p"],["ρ","r"],["σ","s"],["τ","t"],["υ","y"],["φ","f"],["χ","x"],["ψ","ps"],["ω","o"],["ά","a"],["έ","e"],["ί","i"],["ό","o"],["ύ","y"],["ή","i"],["ώ","o"],["ς","s"],["ϊ","i"],["ΰ","y"],["ϋ","y"],["ΐ","i"],["Α","A"],["Β","B"],["Γ","G"],["Δ","D"],["Ε","E"],["Ζ","Z"],["Η","I"],["Θ","TH"],["Ι","I"],["Κ","K"],["Λ","L"],["Μ","M"],["Ν","N"],["Ξ","KS"],["Ο","O"],["Π","P"],["Ρ","R"],["Σ","S"],["Τ","T"],["Υ","Y"],["Φ","F"],["Χ","X"],["Ψ","PS"],["Ω","O"],["Ά","A"],["Έ","E"],["Ί","I"],["Ό","O"],["Ύ","Y"],["Ή","I"],["Ώ","O"],["Ϊ","I"],["Ϋ","Y"]]),Ss=Object.fromEntries([["ء","e"],["آ","a"],["أ","a"],["ؤ","w"],["إ","i"],["ئ","y"],["ا","a"],["ب","b"],["ة","t"],["ت","t"],["ث","th"],["ج","j"],["ح","h"],["خ","kh"],["د","d"],["ذ","dh"],["ر","r"],["ز","z"],["س","s"],["ش","sh"],["ص","s"],["ض","d"],["ط","t"],["ظ","z"],["ع","e"],["غ","gh"],["ـ","_"],["ف","f"],["ق","q"],["ك","k"],["ل","l"],["م","m"],["ن","n"],["ه","h"],["و","w"],["ى","a"],["ي","y"],["َ‎","a"],["ُ","u"],["ِ‎","i"]]),Ms=Object.fromEntries([["ա","a"],["Ա","A"],["բ","b"],["Բ","B"],["գ","g"],["Գ","G"],["դ","d"],["Դ","D"],["ե","ye"],["Ե","Ye"],["զ","z"],["Զ","Z"],["է","e"],["Է","E"],["ը","y"],["Ը","Y"],["թ","t"],["Թ","T"],["ժ","zh"],["Ժ","Zh"],["ի","i"],["Ի","I"],["լ","l"],["Լ","L"],["խ","kh"],["Խ","Kh"],["ծ","ts"],["Ծ","Ts"],["կ","k"],["Կ","K"],["հ","h"],["Հ","H"],["ձ","dz"],["Ձ","Dz"],["ղ","gh"],["Ղ","Gh"],["ճ","tch"],["Ճ","Tch"],["մ","m"],["Մ","M"],["յ","y"],["Յ","Y"],["ն","n"],["Ն","N"],["շ","sh"],["Շ","Sh"],["ո","vo"],["Ո","Vo"],["չ","ch"],["Չ","Ch"],["պ","p"],["Պ","P"],["ջ","j"],["Ջ","J"],["ռ","r"],["Ռ","R"],["ս","s"],["Ս","S"],["վ","v"],["Վ","V"],["տ","t"],["Տ","T"],["ր","r"],["Ր","R"],["ց","c"],["Ց","C"],["ու","u"],["ՈՒ","U"],["Ու","U"],["փ","p"],["Փ","P"],["ք","q"],["Ք","Q"],["օ","o"],["Օ","O"],["ֆ","f"],["Ֆ","F"],["և","yev"]]),xs=Object.fromEntries([["چ","ch"],["ک","k"],["گ","g"],["پ","p"],["ژ","zh"],["ی","y"]]),Ne={...js,...Bs,...Ss,...xs,...Ms};function Ts(a){let e=()=>a.helpers.arrayElement(["AB","AF","AN","AR","AS","AZ","BE","BG","BN","BO","BR","BS","CA","CE","CO","CS","CU","CY","DA","DE","EL","EN","EO","ES","ET","EU","FA","FI","FJ","FO","FR","FY","GA","GD","GL","GV","HE","HI","HR","HT","HU","HY","ID","IS","IT","JA","JV","KA","KG","KO","KU","KW","KY","LA","LB","LI","LN","LT","LV","MG","MK","MN","MO","MS","MT","MY","NB","NE","NL","NN","NO","OC","PL","PT","RM","RO","RU","SC","SE","SK","SL","SO","SQ","SR","SV","SW","TK","TR","TY","UK","UR","UZ","VI","VO","YI","ZH"]),i=()=>{let u={chrome:["win","mac","lin"],firefox:["win","mac","lin"],opera:["win","mac","lin"],safari:["win","mac"],iexplorer:["win"]},l=a.helpers.objectKey(u),c=a.helpers.arrayElement(u[l]);return[l,c]},t=u=>a.helpers.arrayElement({lin:["i686","x86_64"],mac:["Intel","PPC","U; Intel","U; PPC"],win:["","WOW64","Win64; x64"]}[u]),n=u=>{let l="";for(let c=0;c=11?`Mozilla/5.0 (Windows NT 6.${a.number.int({min:1,max:3})}; Trident/7.0; ${a.datatype.boolean()?"Touch; ":""}rv:11.0) like Gecko`:`Mozilla/5.0 (compatible; MSIE ${u}.0; Windows NT ${o.nt()}; Trident/${o.trident()}${a.datatype.boolean()?`; .NET CLR ${o.net()}`:""})`},opera(u){let l=` Presto/${o.presto()} Version/${o.presto2()})`,c=u==="win"?`(Windows NT ${o.nt()}; U; ${e()}${l}`:u==="lin"?`(X11; Linux ${t(u)}; U; ${e()}${l}`:`(Macintosh; Intel Mac OS X ${o.osx()} U; ${e()} Presto/${o.presto()} Version/${o.presto2()})`;return`Opera/${a.number.int({min:9,max:14})}.${a.number.int(99)} ${c}`},safari(u){let l=o.safari(),c=`${a.number.int({min:4,max:7})}.${a.number.int(1)}.${a.number.int(10)}`;return`Mozilla/5.0 ${u==="mac"?`(Macintosh; ${t("mac")} Mac OS X ${o.osx("_")} rv:${a.number.int({min:2,max:6})}.0; ${e()}) `:`(Windows; U; Windows NT ${o.nt()})`}AppleWebKit/${l} (KHTML, like Gecko) Version/${c} Safari/${l}`},chrome(u){let l=o.safari();return`Mozilla/5.0 ${u==="mac"?`(Macintosh; ${t("mac")} Mac OS X ${o.osx("_")}) `:u==="win"?`(Windows; U; Windows NT ${o.nt()})`:`(X11; Linux ${t(u)}`} AppleWebKit/${l} (KHTML, like Gecko) Chrome/${o.chrome()} Safari/${l}`}},[s,r]=i();return g[s](r)}var Rs=class extends w{avatar(){return d({deprecated:"faker.internet.avatar()",proposed:"faker.image.avatarLegacy() or faker.image.avatar()",since:"8.4",until:"9.0"}),this.faker.image.avatarLegacy()}email(e={},i,t,n){var o;(typeof e=="string"||i!=null||t!=null||n!=null)&&d({deprecated:"faker.internet.email(firstName, lastName, provider, options)",proposed:"faker.internet.email({ firstName, lastName, provider, ... })",since:"8.0",until:"9.0"}),typeof e=="string"&&(e={firstName:e});let{firstName:g,lastName:s=i,provider:r=t??this.faker.helpers.arrayElement(this.faker.definitions.internet.free_email),allowSpecialCharacters:u=(o=n?.allowSpecialCharacters)!=null?o:!1}=e,l=this.userName({firstName:g,lastName:s});if(l=l.replace(/[^A-Za-z0-9._+-]+/g,""),l=l.substring(0,50),u){let c=[..."._-"],m=[...".!#$%&'*+-/=?^_`{|}~"];l=l.replace(this.faker.helpers.arrayElement(c),this.faker.helpers.arrayElement(m))}return l=l.replace(/\.{2,}/g,"."),l=l.replace(/^\./,""),l=l.replace(/\.$/,""),`${l}@${r}`}exampleEmail(e={},i,t){var n;(typeof e=="string"||i!=null||t!=null)&&d({deprecated:"faker.internet.exampleEmail(firstName, lastName, options)",proposed:"faker.internet.exampleEmail({ firstName, lastName, ... })",since:"8.0",until:"9.0"}),typeof e=="string"&&(e={firstName:e});let{firstName:o,lastName:g=i,allowSpecialCharacters:s=(n=t?.allowSpecialCharacters)!=null?n:!1}=e,r=this.faker.helpers.arrayElement(this.faker.definitions.internet.example_email);return this.email({firstName:o,lastName:g,provider:r,allowSpecialCharacters:s})}userName(e={},i){(typeof e=="string"||i!=null)&&d({deprecated:"faker.internet.userName(firstName, lastName)",proposed:"faker.internet.userName({ firstName, lastName })",since:"8.0",until:"9.0"}),typeof e=="string"&&(e={firstName:e});let{firstName:t=this.faker.person.firstName(),lastName:n=i??this.faker.person.lastName(),lastName:o=i}=e,g,s=this.faker.number.int(o?1:2),r=this.faker.helpers.arrayElement([".","_"]);switch(s){case 0:g=`${t}${r}${n}${this.faker.number.int(99)}`;break;case 1:g=`${t}${r}${n}`;break;case 2:default:g=`${t}${this.faker.number.int(99)}`;break}return g=g.normalize("NFKD").replace(/[\u0300-\u036F]/g,""),g=[...g].map(u=>{var l;if(Ne[u])return Ne[u];let c=(l=u.codePointAt(0))!=null?l:Number.NaN;return c<128?u:c.toString(36)}).join(""),g=g.toString().replace(/'/g,""),g=g.replace(/ /g,""),g}displayName(e={},i){(typeof e=="string"||i!=null)&&d({deprecated:"faker.internet.displayName(firstName, lastName)",proposed:"faker.internet.displayName({ firstName, lastName })",since:"8.0",until:"9.0"}),typeof e=="string"&&(e={firstName:e});let{firstName:t=this.faker.person.firstName(),lastName:n=i??this.faker.person.lastName()}=e,o;switch(this.faker.number.int(2)){case 0:o=`${t}${this.faker.number.int(99)}`;break;case 1:o=t+this.faker.helpers.arrayElement([".","_"])+n;break;case 2:default:o=`${t}${this.faker.helpers.arrayElement([".","_"])}${n}${this.faker.number.int(99)}`;break}return o=o.toString().replace(/'/g,""),o=o.replace(/ /g,""),o}protocol(){let e=["http","https"];return this.faker.helpers.arrayElement(e)}httpMethod(){let e=["GET","POST","PUT","DELETE","PATCH"];return this.faker.helpers.arrayElement(e)}httpStatusCode(e={}){let{types:i=Object.keys(this.faker.definitions.internet.http_status_code)}=e,t=this.faker.helpers.arrayElement(i);return this.faker.helpers.arrayElement(this.faker.definitions.internet.http_status_code[t])}url(e={}){let{appendSlash:i=this.faker.datatype.boolean(),protocol:t="https"}=e;return`${t}://${this.domainName()}${i?"/":""}`}domainName(){return`${this.domainWord()}.${this.domainSuffix()}`}domainSuffix(){return this.faker.helpers.arrayElement(this.faker.definitions.internet.domain_suffix)}domainWord(){return this.faker.helpers.slugify(`${this.faker.word.adjective()}-${this.faker.word.noun()}`).toLowerCase()}ip(){return this.faker.datatype.boolean()?this.ipv4():this.ipv6()}ipv4(){return Array.from({length:4},()=>this.faker.number.int(255)).join(".")}ipv6(){return Array.from({length:8},()=>this.faker.string.hexadecimal({length:4,casing:"lower",prefix:""})).join(":")}port(){return this.faker.number.int(65535)}userAgent(){return Ts(this.faker)}color(e={},i,t){(typeof e=="number"||t!=null||i!=null)&&d({deprecated:"faker.internet.color(redBase, greenBase, blueBase)",proposed:"faker.internet.color({ redBase, greenBase, blueBase })",since:"8.0",until:"9.0"}),typeof e=="number"&&(e={redBase:e});let{redBase:n=0,greenBase:o=i??0,blueBase:g=t??0}=e,s=c=>Math.floor((this.faker.number.int(256)+c)/2).toString(16).padStart(2,"0"),r=s(n),u=s(o),l=s(g);return`#${r}${u}${l}`}mac(e={}){typeof e=="string"&&(e={separator:e});let{separator:i=":"}=e,t,n="";for([":","-",""].includes(i)||(i=":"),t=0;t<12;t++)n+=this.faker.number.hex(15),t%2===1&&t!==11&&(n+=i);return n}password(e={},i,t,n){let o=/[aeiouAEIOU]$/,g=/[bcdfghjklmnpqrstvwxyzBCDFGHJKLMNPQRSTVWXYZ]$/,s=(m,F,p,h)=>{if(h.length>=m)return h;F&&(p=g.test(h)?o:g);let k=this.faker.number.int(94)+33,f=String.fromCodePoint(k);return F&&(f=f.toLowerCase()),p.test(f)?s(m,F,p,h+f):s(m,F,p,h)};(typeof e=="string"||i!=null||t!=null||n!=null)&&d({deprecated:"faker.internet.password(length, memorable, pattern, prefix)",proposed:"faker.internet.password({ length, memorable, pattern, prefix })",since:"8.0",until:"9.0"}),typeof e=="number"&&(e={length:e});let{length:r=15,memorable:u=i??!1,pattern:l=t??/\w/,prefix:c=n??""}=e;return s(r,u,l,c)}emoji(e={}){let{types:i=Object.keys(this.faker.definitions.internet.emoji)}=e,t=this.faker.helpers.arrayElement(i);return this.faker.helpers.arrayElement(this.faker.definitions.internet.emoji[t])}},Ls=class extends w{zipCode(e={}){typeof e=="string"&&(e={format:e});let{state:i}=e;if(i){let n=this.faker.definitions.location.postcode_by_state[i];if(n)return this.faker.helpers.fake(n);throw new b(`No zip code definition found for state "${i}"`)}let{format:t=this.faker.definitions.location.postcode}=e;return typeof t=="string"&&(t=[t]),t=this.faker.helpers.arrayElement(t),this.faker.helpers.replaceSymbols(t)}zipCodeByState(e={}){d({deprecated:"faker.location.zipCodeByState",proposed:"faker.location.zipCode({ state })",since:"8.0",until:"9.0"}),typeof e=="string"&&(e={state:e});let{state:i}=e;return this.zipCode({state:i})}city(){return this.faker.helpers.fake(this.faker.definitions.location.city_pattern)}cityName(){return d({deprecated:"faker.location.cityName",proposed:"faker.location.city",since:"8.0",until:"9.0"}),this.faker.helpers.arrayElement(this.faker.definitions.location.city_name)}buildingNumber(){return this.faker.helpers.arrayElement(this.faker.definitions.location.building_number).replace(/#+/g,e=>this.faker.string.numeric({length:e.length,allowLeadingZeros:!1}))}street(){return this.faker.helpers.fake(this.faker.definitions.location.street_pattern)}streetName(){return d({deprecated:"faker.location.streetName",proposed:"faker.location.street",since:"8.0",until:"9.0"}),this.faker.helpers.arrayElement(this.faker.definitions.location.street_name)}streetAddress(e={}){typeof e=="boolean"&&(e={useFullAddress:e});let{useFullAddress:i}=e,t=this.faker.definitions.location.street_address[i?"full":"normal"];return this.faker.helpers.fake(t)}secondaryAddress(){return this.faker.helpers.arrayElement(this.faker.definitions.location.secondary_address).replace(/#+/g,e=>this.faker.string.numeric({length:e.length,allowLeadingZeros:!1}))}county(){return this.faker.helpers.arrayElement(this.faker.definitions.location.county)}country(){return this.faker.helpers.arrayElement(this.faker.definitions.location.country)}countryCode(e={}){typeof e=="string"&&(e={variant:e});let{variant:i="alpha-2"}=e,t=(()=>{switch(i){case"numeric":return"numeric";case"alpha-3":return"alpha3";case"alpha-2":default:return"alpha2"}})();return this.faker.helpers.arrayElement(this.faker.definitions.location.country_code)[t]}state(e={}){let{abbreviated:i=!1}=e,t=i?this.faker.definitions.location.state_abbr:this.faker.definitions.location.state;return this.faker.helpers.arrayElement(t)}stateAbbr(){return d({deprecated:"faker.location.stateAbbr()",proposed:"faker.location.state({ abbreviated: true })",since:"8.0",until:"9.0"}),this.state({abbreviated:!0})}latitude(e={},i=-90,t=4){typeof e=="number"&&(d({deprecated:"faker.location.latitude(max, min, precision)",proposed:"faker.location.latitude({ max, min, precision })",since:"8.0",until:"9.0"}),e={max:e});let{max:n=90,min:o=i,precision:g=t}=e;return this.faker.number.float({min:o,max:n,fractionDigits:g})}longitude(e={},i=-180,t=4){typeof e=="number"&&(d({deprecated:"faker.location.longitude(max, min, precision)",proposed:"faker.location.longitude({ max, min, precision })",since:"8.0",until:"9.0"}),e={max:e});let{max:n=180,min:o=i,precision:g=t}=e;return this.faker.number.float({max:n,min:o,fractionDigits:g})}direction(e={}){typeof e=="boolean"&&(d({deprecated:"faker.location.direction(abbreviated)",proposed:"faker.location.direction({ abbreviated })",since:"8.0",until:"9.0"}),e={abbreviated:e});let{abbreviated:i=!1}=e;return i?this.faker.helpers.arrayElement(this.faker.definitions.location.direction_abbr):this.faker.helpers.arrayElement(this.faker.definitions.location.direction)}cardinalDirection(e={}){typeof e=="boolean"&&(d({deprecated:"faker.location.cardinalDirection(abbreviated)",proposed:"faker.location.cardinalDirection({ abbreviated })",since:"8.0",until:"9.0"}),e={abbreviated:e});let{abbreviated:i=!1}=e;return i?this.faker.helpers.arrayElement(this.faker.definitions.location.direction_abbr.slice(0,4)):this.faker.helpers.arrayElement(this.faker.definitions.location.direction.slice(0,4))}ordinalDirection(e={}){typeof e=="boolean"&&(d({deprecated:"faker.location.ordinalDirection(abbreviated)",proposed:"faker.location.ordinalDirection({ abbreviated })",since:"8.0",until:"9.0"}),e={abbreviated:e});let{abbreviated:i=!1}=e;return i?this.faker.helpers.arrayElement(this.faker.definitions.location.direction_abbr.slice(4,8)):this.faker.helpers.arrayElement(this.faker.definitions.location.direction.slice(4,8))}nearbyGPSCoordinate(e={},i=10,t=!1){Array.isArray(e)&&(d({deprecated:"faker.location.nearbyGPSCoordinate(coordinate, radius, isMetric)",proposed:"faker.location.nearbyGPSCoordinate({ origin, radius, isMetric })",since:"8.0",until:"9.0"}),e={origin:e});let{origin:n,radius:o=i,isMetric:g=t}=e;if(n==null)return[this.latitude(),this.longitude()];let s=this.faker.number.float({max:2*Math.PI,fractionDigits:5}),r=g?o:o*1.60934,u=this.faker.number.float({max:r,fractionDigits:3})*.995,l=4e4/360,c=u/l,m=[n[0]+Math.sin(s)*c,n[1]+Math.cos(s)*c];return m[0]=m[0]%180,(m[0]<-90||m[0]>90)&&(m[0]=Math.sign(m[0])*180-m[0],m[1]+=180),m[1]=(m[1]%360+540)%360-180,[m[0],m[1]]}timeZone(){return this.faker.helpers.arrayElement(this.faker.definitions.location.time_zone)}};function Ps(a,e,i=t=>t){let t={};for(let n of a){let o=e(n);t[o]===void 0&&(t[o]=[]),t[o].push(i(n))}return t}var he={fail:()=>{throw new b("No words found that match the given length.")},closest:(a,e)=>{let i=Ps(a,s=>s.length),t=Object.keys(i).map(Number),n=Math.min(...t),o=Math.max(...t),g=Math.min(e.min-n,o-e.max);return a.filter(s=>s.length===e.min-g||s.length===e.max+g)},shortest:a=>{let e=Math.min(...a.map(i=>i.length));return a.filter(i=>i.length===e)},longest:a=>{let e=Math.max(...a.map(i=>i.length));return a.filter(i=>i.length===e)},"any-length":a=>[...a]};function W(a){let{wordList:e,length:i,strategy:t="any-length"}=a;if(i){let n=typeof i=="number"?g=>g.length===i:g=>g.length>=i.min&&g.length<=i.max,o=e.filter(n);return o.length>0?o:typeof i=="number"?he[t](e,{min:i,max:i}):he[t](e,i)}else if(t==="shortest"||t==="longest")return he[t](e);return[...e]}var Hs=class extends w{word(e={}){let i=typeof e=="number"?{length:e}:e;return this.faker.helpers.arrayElement(W({...i,wordList:this.faker.definitions.lorem.words}))}words(e=3){return this.faker.helpers.multiple(()=>this.word(),{count:e}).join(" ")}sentence(e={min:3,max:10}){let i=this.words(e);return`${i.charAt(0).toUpperCase()+i.substring(1)}.`}slug(e=3){let i=this.words(e);return this.faker.helpers.slugify(i)}sentences(e={min:2,max:6},i=" "){return this.faker.helpers.multiple(()=>this.sentence(),{count:e}).join(i)}paragraph(e=3){return this.sentences(e)}paragraphs(e=3,i=` +`){return this.faker.helpers.multiple(()=>this.paragraph(),{count:e}).join(i)}text(){let e=["sentence","sentences","paragraph","paragraphs","lines"],i=this.faker.helpers.arrayElement(e);return this[i]()}lines(e={min:1,max:5}){return this.sentences(e,` +`)}},zs=class extends w{genre(){return this.faker.helpers.arrayElement(this.faker.definitions.music.genre)}songName(){return this.faker.helpers.arrayElement(this.faker.definitions.music.song_name)}},Is=class extends w{number(e){return e!=null&&d({deprecated:"faker.phone.number(format)",proposed:"faker.phone.number(), faker.string.numeric() or faker.helpers.fromRegExp()",since:"8.1",until:"9.0"}),e=e??this.faker.helpers.arrayElement(this.faker.definitions.phone_number.formats),fe(this.faker,e)}imei(){return this.faker.helpers.replaceCreditCardSymbols("##-######-######-L","#")}},Ns=class extends w{word(){d({deprecated:"faker.random.word()",proposed:"faker.lorem.word() or faker.word.sample()",since:"8.0",until:"9.0"});let e=[()=>this.faker.location.cardinalDirection(),this.faker.location.country,this.faker.location.county,()=>this.faker.location.direction(),()=>this.faker.location.ordinalDirection(),this.faker.location.state,this.faker.location.street,this.faker.color.human,this.faker.commerce.department,this.faker.commerce.product,this.faker.commerce.productAdjective,this.faker.commerce.productMaterial,this.faker.commerce.productName,this.faker.company.buzzAdjective,this.faker.company.buzzNoun,this.faker.company.buzzVerb,this.faker.company.catchPhraseAdjective,this.faker.company.catchPhraseDescriptor,this.faker.company.catchPhraseNoun,this.faker.finance.accountName,this.faker.finance.currencyName,this.faker.finance.transactionType,this.faker.hacker.abbreviation,this.faker.hacker.adjective,this.faker.hacker.ingverb,this.faker.hacker.noun,this.faker.hacker.verb,this.faker.lorem.word,this.faker.music.genre,this.faker.person.gender,this.faker.person.jobArea,this.faker.person.jobDescriptor,this.faker.person.jobTitle,this.faker.person.jobType,this.faker.person.sex,()=>this.faker.science.chemicalElement().name,()=>this.faker.science.unit().name,this.faker.vehicle.bicycle,this.faker.vehicle.color,this.faker.vehicle.fuel,this.faker.vehicle.manufacturer,this.faker.vehicle.type,this.faker.word.adjective,this.faker.word.adverb,this.faker.word.conjunction,this.faker.word.interjection,this.faker.word.noun,this.faker.word.preposition,this.faker.word.verb],i=["!","#","%","&","*",")","(","+","=",".","<",">","{","}","[","]",":",";","'",'"',"_","-"],t="",n=0;do{let o=this.faker.helpers.arrayElement(e);try{t=o()}catch{if(n++,n>100)throw new b("No matching word data available for the current locale");continue}}while(!t||i.some(o=>t.includes(o)));return this.faker.helpers.arrayElement(t.split(" "))}words(e={min:1,max:3}){return d({deprecated:"faker.random.words()",proposed:"faker.lorem.words() or faker.word.words()",since:"8.0",until:"9.0"}),this.faker.helpers.multiple(this.word,{count:e}).join(" ")}locale(){throw new b("This method has been removed. Please use `faker.helpers.objectKey(allLocales/allFakers)` instead.")}alpha(e={}){return d({deprecated:"faker.random.alpha()",proposed:"faker.string.alpha()",since:"8.0",until:"9.0"}),typeof e=="number"?this.faker.string.alpha(e):this.faker.string.alpha({length:e.count,casing:e.casing,exclude:e.bannedChars})}alphaNumeric(e=1,i={}){return d({deprecated:"faker.random.alphaNumeric()",proposed:"faker.string.alphanumeric()",since:"8.0",until:"9.0"}),this.faker.string.alphanumeric({length:e,exclude:i.bannedChars,casing:i.casing})}numeric(e=1,i={}){return d({deprecated:"faker.random.numeric()",proposed:"faker.string.numeric()",since:"8.0",until:"9.0"}),this.faker.string.numeric({length:e,allowLeadingZeros:i.allowLeadingZeros,exclude:i.bannedDigits})}},qs=class extends w{chemicalElement(){return this.faker.helpers.arrayElement(this.faker.definitions.science.chemicalElement)}unit(){return this.faker.helpers.arrayElement(this.faker.definitions.science.unit)}},Gs=["video","audio","image","text","application"],Ws=["application/pdf","audio/mpeg","audio/wav","image/png","image/jpeg","image/gif","video/mp4","video/mpeg","text/html"],_s=["en","wl","ww"],qe={index:"o",slot:"s",mac:"x",pci:"p"},Os=["SUN","MON","TUE","WED","THU","FRI","SAT"],Ks=class extends w{fileName(e={}){let{extensionCount:i=1}=e,t=this.faker.word.words().toLowerCase().replace(/\W/g,"_"),n=this.faker.helpers.multiple(()=>this.fileExt(),{count:i}).join(".");return n.length===0?t:`${t}.${n}`}commonFileName(e){return`${this.fileName({extensionCount:0})}.${e||this.commonFileExt()}`}mimeType(){let e=Object.keys(this.faker.definitions.system.mimeTypes);return this.faker.helpers.arrayElement(e)}commonFileType(){return this.faker.helpers.arrayElement(Gs)}commonFileExt(){return this.fileExt(this.faker.helpers.arrayElement(Ws))}fileType(){let e=this.faker.definitions.system.mimeTypes,i=new Set(Object.keys(e).map(t=>t.split("/")[0]));return this.faker.helpers.arrayElement([...i])}fileExt(e){let i=this.faker.definitions.system.mimeTypes;if(typeof e=="string")return this.faker.helpers.arrayElement(i[e].extensions);let t=new Set(Object.values(i).flatMap(({extensions:n})=>n));return this.faker.helpers.arrayElement([...t])}directoryPath(){let e=this.faker.definitions.system.directoryPaths;return this.faker.helpers.arrayElement(e)}filePath(){return`${this.directoryPath()}/${this.fileName()}`}semver(){return[this.faker.number.int(9),this.faker.number.int(9),this.faker.number.int(9)].join(".")}networkInterface(e={}){var i,t,n,o,g;let{interfaceType:s=this.faker.helpers.arrayElement(_s),interfaceSchema:r=this.faker.helpers.objectKey(qe)}=e,u,l="",c=()=>this.faker.string.numeric({allowLeadingZeros:!0});switch(r){case"index":u=c();break;case"slot":u=`${c()}${(i=this.faker.helpers.maybe(()=>`f${c()}`))!=null?i:""}${(t=this.faker.helpers.maybe(()=>`d${c()}`))!=null?t:""}`;break;case"mac":u=this.faker.internet.mac("");break;case"pci":l=(n=this.faker.helpers.maybe(()=>`P${c()}`))!=null?n:"",u=`${c()}s${c()}${(o=this.faker.helpers.maybe(()=>`f${c()}`))!=null?o:""}${(g=this.faker.helpers.maybe(()=>`d${c()}`))!=null?g:""}`;break}return`${l}${s}${qe[r]}${u}`}cron(e={}){let{includeYear:i=!1,includeNonStandard:t=!1}=e,n=[this.faker.number.int(59),"*"],o=[this.faker.number.int(23),"*"],g=[this.faker.number.int({min:1,max:31}),"*","?"],s=[this.faker.number.int({min:1,max:12}),"*"],r=[this.faker.number.int(6),this.faker.helpers.arrayElement(Os),"*","?"],u=[this.faker.number.int({min:1970,max:2099}),"*"],l=this.faker.helpers.arrayElement(n),c=this.faker.helpers.arrayElement(o),m=this.faker.helpers.arrayElement(g),F=this.faker.helpers.arrayElement(s),p=this.faker.helpers.arrayElement(r),h=this.faker.helpers.arrayElement(u),k=`${l} ${c} ${m} ${F} ${p}`;i&&(k+=` ${h}`);let f=["@annually","@daily","@hourly","@monthly","@reboot","@weekly","@yearly"];return!t||this.faker.datatype.boolean()?k:this.faker.helpers.arrayElement(f)}},Js=class extends w{vehicle(){return`${this.manufacturer()} ${this.model()}`}manufacturer(){return this.faker.helpers.arrayElement(this.faker.definitions.vehicle.manufacturer)}model(){return this.faker.helpers.arrayElement(this.faker.definitions.vehicle.model)}type(){return this.faker.helpers.arrayElement(this.faker.definitions.vehicle.type)}fuel(){return this.faker.helpers.arrayElement(this.faker.definitions.vehicle.fuel)}vin(){let e=["o","i","q","O","I","Q"];return`${this.faker.string.alphanumeric({length:10,casing:"upper",exclude:e})}${this.faker.string.alpha({length:1,casing:"upper",exclude:e})}${this.faker.string.alphanumeric({length:1,casing:"upper",exclude:e})}${this.faker.number.int({min:1e4,max:99999})}`}color(){return this.faker.color.human()}vrm(){return`${this.faker.string.alpha({length:2,casing:"upper"})}${this.faker.string.numeric({length:2,allowLeadingZeros:!0})}${this.faker.string.alpha({length:3,casing:"upper"})}`}bicycle(){return this.faker.helpers.arrayElement(this.faker.definitions.vehicle.bicycle_type)}},$s=class extends w{adjective(e={}){let i=typeof e=="number"?{length:e}:e;return this.faker.helpers.arrayElement(W({...i,wordList:this.faker.definitions.word.adjective}))}adverb(e={}){let i=typeof e=="number"?{length:e}:e;return this.faker.helpers.arrayElement(W({...i,wordList:this.faker.definitions.word.adverb}))}conjunction(e={}){let i=typeof e=="number"?{length:e}:e;return this.faker.helpers.arrayElement(W({...i,wordList:this.faker.definitions.word.conjunction}))}interjection(e={}){let i=typeof e=="number"?{length:e}:e;return this.faker.helpers.arrayElement(W({...i,wordList:this.faker.definitions.word.interjection}))}noun(e={}){let i=typeof e=="number"?{length:e}:e;return this.faker.helpers.arrayElement(W({...i,wordList:this.faker.definitions.word.noun}))}preposition(e={}){let i=typeof e=="number"?{length:e}:e;return this.faker.helpers.arrayElement(W({...i,wordList:this.faker.definitions.word.preposition}))}verb(e={}){let i=typeof e=="number"?{length:e}:e;return this.faker.helpers.arrayElement(W({...i,wordList:this.faker.definitions.word.verb}))}sample(e={}){let i=this.faker.helpers.shuffle([this.adjective,this.adverb,this.conjunction,this.interjection,this.noun,this.preposition,this.verb]);for(let t of i)try{return t(e)}catch{continue}throw new b("No matching word data available for the current locale")}words(e={}){typeof e=="number"&&(e={count:e});let{count:i={min:1,max:3}}=e;return this.faker.helpers.multiple(()=>this.sample(),{count:i}).join(" ")}},Us=class extends va{constructor(e){super({randomizer:e.randomizer}),y(this,"rawDefinitions"),y(this,"definitions"),y(this,"random",new Ns(this)),y(this,"airline",new Wg(this)),y(this,"animal",new cs(this)),y(this,"color",new Kg(this)),y(this,"commerce",new ds(this)),y(this,"company",new hs(this)),y(this,"database",new Fs(this)),y(this,"date",new Xg(this)),y(this,"finance",new ys(this)),y(this,"git",new Ds(this)),y(this,"hacker",new As(this)),y(this,"helpers",new us(this)),y(this,"image",new ws(this)),y(this,"internet",new Rs(this)),y(this,"location",new Ls(this)),y(this,"lorem",new Hs(this)),y(this,"music",new zs(this)),y(this,"person",new Ug(this)),y(this,"phone",new Is(this)),y(this,"science",new qs(this)),y(this,"system",new Ks(this)),y(this,"vehicle",new Js(this)),y(this,"word",new $s(this));let{locales:i}=e;if(i!=null){d({deprecated:"new Faker({ locales: {a, b}, locale: 'a', localeFallback: 'b' })",proposed:"new Faker({ locale: [a, b, ...] }) or new Faker({ locale: a })",since:"8.0",until:"9.0"});let{locale:n="en",localeFallback:o="en"}=e;e={locale:[i[n],i[o]]}}let{locale:t}=e;if(Array.isArray(t)){if(t.length===0)throw new b("The locale option must contain at least one locale definition.");t=ms(t)}this.rawDefinitions=t,this.definitions=Jg(this.rawDefinitions)}get address(){return d({deprecated:"faker.address",proposed:"faker.location",since:"8.0",until:"10.0"}),this.location}get name(){return d({deprecated:"faker.name",proposed:"faker.person",since:"8.0",until:"10.0"}),this.person}getMetadata(){var e;return(e=this.rawDefinitions.metadata)!=null?e:{}}get locales(){throw new b("The locales property has been removed. Please use the constructor instead.")}set locales(e){throw new b("The locales property has been removed. Please use the constructor instead.")}get locale(){throw new b("The locale property has been removed. Please use the constructor instead.")}set locale(e){throw new b("The locale property has been removed. Please use the constructor instead.")}get localeFallback(){throw new b("The localeFallback property has been removed. Please use the constructor instead.")}set localeFallback(e){throw new b("The localeFallback property has been removed. Please use the constructor instead.")}setLocale(){throw new b("This method has been removed. Please use the constructor instead.")}},Vs=["CIE 1931 XYZ","CIEUVW","Uniform Color Spaces (UCSs)","CIELUV","CIELAB","HSLuv","sRGB","Adobe RGB","Adobe Wide Gamut RGB","Rec. 2100","ProPhoto RGB Color Space","scRGB","DCI-P3","Display-P3","Rec. 601","Rec. 709","Academy Color Encoding System (ACES)","Rec. 2020","YPbPr","YDbDr","YIQ","xvYCC","sYCC","HSV","HSL","HWB","RGBA","HSLA","LCh","CMY","CMYK","Munsell Color System","Natural Color System (NSC)","Pantone Matching System (PMS)","RAL","Federal Standard 595C","British Standard Colour (BS)","HKS","LMS","RG","RGK"],Ys={space:Vs},Zs=Ys,Xs=["utf8_unicode_ci","utf8_general_ci","utf8_bin","ascii_bin","ascii_general_ci","cp1250_bin","cp1250_general_ci"],Qs=["InnoDB","MyISAM","MEMORY","CSV","BLACKHOLE","ARCHIVE"],eu=["int","varchar","text","date","datetime","tinyint","time","timestamp","smallint","mediumint","bigint","decimal","float","double","real","bit","boolean","serial","blob","binary","enum","set","geometry","point"],au={collation:Xs,engine:Qs,type:eu},iu=au,tu=["ADP","AGP","AI","API","ASCII","CLI","COM","CSS","DNS","DRAM","EXE","FTP","GB","HDD","HEX","HTTP","IB","IP","JBOD","JSON","OCR","PCI","PNG","RAM","RSS","SAS","SCSI","SDD","SMS","SMTP","SQL","SSD","SSL","TCP","THX","TLS","UDP","USB","UTF8","VGA","XML","XSS"],nu={abbreviation:tu},ou=nu,gu={smiley:["😀","😃","😄","😁","😆","😅","🤣","😂","🙂","🙃","😉","😊","😇","🥰","😍","🤩","😘","😗","☺️","😚","😙","🥲","😋","😛","😜","🤪","😝","🤑","🤗","🤭","🤫","🤔","🤐","🤨","😐","😑","😶","😶‍🌫️","😏","😒","🙄","😬","😮‍💨","🤥","😌","😔","😪","🤤","😴","😷","🤒","🤕","🤢","🤮","🤧","🥵","🥶","🥴","😵","😵‍💫","🤯","🤠","🥳","🥸","😎","🤓","🧐","😕","😟","🙁","☹️","😮","😯","😲","😳","🥺","😦","😧","😨","😰","😥","😢","😭","😱","😖","😣","😞","😓","😩","😫","🥱","😤","😡","😠","🤬","😈","👿","💀","☠️","💩","🤡","👹","👺","👻","👽","👾","🤖","😺","😸","😹","😻","😼","😽","🙀","😿","😾","🙈","🙉","🙊","💋","💌","💘","💝","💖","💗","💓","💞","💕","💟","❣️","💔","❤️‍🔥","❤️‍🩹","❤️","🧡","💛","💚","💙","💜","🤎","🖤","🤍","💯","💢","💥","💫","💦","💨","🕳️","💣","💬","👁️‍🗨️","🗨️","🗯️","💭","💤"],body:["👋","👋🏻","👋🏼","👋🏽","👋🏾","👋🏿","🤚","🤚🏻","🤚🏼","🤚🏽","🤚🏾","🤚🏿","🖐️","🖐🏻","🖐🏼","🖐🏽","🖐🏾","🖐🏿","✋","✋🏻","✋🏼","✋🏽","✋🏾","✋🏿","🖖","🖖🏻","🖖🏼","🖖🏽","🖖🏾","🖖🏿","👌","👌🏻","👌🏼","👌🏽","👌🏾","👌🏿","🤌","🤌🏻","🤌🏼","🤌🏽","🤌🏾","🤌🏿","🤏","🤏🏻","🤏🏼","🤏🏽","🤏🏾","🤏🏿","✌️","✌🏻","✌🏼","✌🏽","✌🏾","✌🏿","🤞","🤞🏻","🤞🏼","🤞🏽","🤞🏾","🤞🏿","🤟","🤟🏻","🤟🏼","🤟🏽","🤟🏾","🤟🏿","🤘","🤘🏻","🤘🏼","🤘🏽","🤘🏾","🤘🏿","🤙","🤙🏻","🤙🏼","🤙🏽","🤙🏾","🤙🏿","👈","👈🏻","👈🏼","👈🏽","👈🏾","👈🏿","👉","👉🏻","👉🏼","👉🏽","👉🏾","👉🏿","👆","👆🏻","👆🏼","👆🏽","👆🏾","👆🏿","🖕","🖕🏻","🖕🏼","🖕🏽","🖕🏾","🖕🏿","👇","👇🏻","👇🏼","👇🏽","👇🏾","👇🏿","☝️","☝🏻","☝🏼","☝🏽","☝🏾","☝🏿","👍","👍🏻","👍🏼","👍🏽","👍🏾","👍🏿","👎","👎🏻","👎🏼","👎🏽","👎🏾","👎🏿","✊","✊🏻","✊🏼","✊🏽","✊🏾","✊🏿","👊","👊🏻","👊🏼","👊🏽","👊🏾","👊🏿","🤛","🤛🏻","🤛🏼","🤛🏽","🤛🏾","🤛🏿","🤜","🤜🏻","🤜🏼","🤜🏽","🤜🏾","🤜🏿","👏","👏🏻","👏🏼","👏🏽","👏🏾","👏🏿","🙌","🙌🏻","🙌🏼","🙌🏽","🙌🏾","🙌🏿","👐","👐🏻","👐🏼","👐🏽","👐🏾","👐🏿","🤲","🤲🏻","🤲🏼","🤲🏽","🤲🏾","🤲🏿","🤝","🙏","🙏🏻","🙏🏼","🙏🏽","🙏🏾","🙏🏿","✍️","✍🏻","✍🏼","✍🏽","✍🏾","✍🏿","💅","💅🏻","💅🏼","💅🏽","💅🏾","💅🏿","🤳","🤳🏻","🤳🏼","🤳🏽","🤳🏾","🤳🏿","💪","💪🏻","💪🏼","💪🏽","💪🏾","💪🏿","🦾","🦿","🦵","🦵🏻","🦵🏼","🦵🏽","🦵🏾","🦵🏿","🦶","🦶🏻","🦶🏼","🦶🏽","🦶🏾","🦶🏿","👂","👂🏻","👂🏼","👂🏽","👂🏾","👂🏿","🦻","🦻🏻","🦻🏼","🦻🏽","🦻🏾","🦻🏿","👃","👃🏻","👃🏼","👃🏽","👃🏾","👃🏿","🧠","🫀","🫁","🦷","🦴","👀","👁️","👅","👄"],person:["👶","👶🏻","👶🏼","👶🏽","👶🏾","👶🏿","🧒","🧒🏻","🧒🏼","🧒🏽","🧒🏾","🧒🏿","👦","👦🏻","👦🏼","👦🏽","👦🏾","👦🏿","👧","👧🏻","👧🏼","👧🏽","👧🏾","👧🏿","🧑","🧑🏻","🧑🏼","🧑🏽","🧑🏾","🧑🏿","👱","👱🏻","👱🏼","👱🏽","👱🏾","👱🏿","👨","👨🏻","👨🏼","👨🏽","👨🏾","👨🏿","🧔","🧔🏻","🧔🏼","🧔🏽","🧔🏾","🧔🏿","🧔‍♂️","🧔🏻‍♂️","🧔🏼‍♂️","🧔🏽‍♂️","🧔🏾‍♂️","🧔🏿‍♂️","🧔‍♀️","🧔🏻‍♀️","🧔🏼‍♀️","🧔🏽‍♀️","🧔🏾‍♀️","🧔🏿‍♀️","👨‍🦰","👨🏻‍🦰","👨🏼‍🦰","👨🏽‍🦰","👨🏾‍🦰","👨🏿‍🦰","👨‍🦱","👨🏻‍🦱","👨🏼‍🦱","👨🏽‍🦱","👨🏾‍🦱","👨🏿‍🦱","👨‍🦳","👨🏻‍🦳","👨🏼‍🦳","👨🏽‍🦳","👨🏾‍🦳","👨🏿‍🦳","👨‍🦲","👨🏻‍🦲","👨🏼‍🦲","👨🏽‍🦲","👨🏾‍🦲","👨🏿‍🦲","👩","👩🏻","👩🏼","👩🏽","👩🏾","👩🏿","👩‍🦰","👩🏻‍🦰","👩🏼‍🦰","👩🏽‍🦰","👩🏾‍🦰","👩🏿‍🦰","🧑‍🦰","🧑🏻‍🦰","🧑🏼‍🦰","🧑🏽‍🦰","🧑🏾‍🦰","🧑🏿‍🦰","👩‍🦱","👩🏻‍🦱","👩🏼‍🦱","👩🏽‍🦱","👩🏾‍🦱","👩🏿‍🦱","🧑‍🦱","🧑🏻‍🦱","🧑🏼‍🦱","🧑🏽‍🦱","🧑🏾‍🦱","🧑🏿‍🦱","👩‍🦳","👩🏻‍🦳","👩🏼‍🦳","👩🏽‍🦳","👩🏾‍🦳","👩🏿‍🦳","🧑‍🦳","🧑🏻‍🦳","🧑🏼‍🦳","🧑🏽‍🦳","🧑🏾‍🦳","🧑🏿‍🦳","👩‍🦲","👩🏻‍🦲","👩🏼‍🦲","👩🏽‍🦲","👩🏾‍🦲","👩🏿‍🦲","🧑‍🦲","🧑🏻‍🦲","🧑🏼‍🦲","🧑🏽‍🦲","🧑🏾‍🦲","🧑🏿‍🦲","👱‍♀️","👱🏻‍♀️","👱🏼‍♀️","👱🏽‍♀️","👱🏾‍♀️","👱🏿‍♀️","👱‍♂️","👱🏻‍♂️","👱🏼‍♂️","👱🏽‍♂️","👱🏾‍♂️","👱🏿‍♂️","🧓","🧓🏻","🧓🏼","🧓🏽","🧓🏾","🧓🏿","👴","👴🏻","👴🏼","👴🏽","👴🏾","👴🏿","👵","👵🏻","👵🏼","👵🏽","👵🏾","👵🏿","🙍","🙍🏻","🙍🏼","🙍🏽","🙍🏾","🙍🏿","🙍‍♂️","🙍🏻‍♂️","🙍🏼‍♂️","🙍🏽‍♂️","🙍🏾‍♂️","🙍🏿‍♂️","🙍‍♀️","🙍🏻‍♀️","🙍🏼‍♀️","🙍🏽‍♀️","🙍🏾‍♀️","🙍🏿‍♀️","🙎","🙎🏻","🙎🏼","🙎🏽","🙎🏾","🙎🏿","🙎‍♂️","🙎🏻‍♂️","🙎🏼‍♂️","🙎🏽‍♂️","🙎🏾‍♂️","🙎🏿‍♂️","🙎‍♀️","🙎🏻‍♀️","🙎🏼‍♀️","🙎🏽‍♀️","🙎🏾‍♀️","🙎🏿‍♀️","🙅","🙅🏻","🙅🏼","🙅🏽","🙅🏾","🙅🏿","🙅‍♂️","🙅🏻‍♂️","🙅🏼‍♂️","🙅🏽‍♂️","🙅🏾‍♂️","🙅🏿‍♂️","🙅‍♀️","🙅🏻‍♀️","🙅🏼‍♀️","🙅🏽‍♀️","🙅🏾‍♀️","🙅🏿‍♀️","🙆","🙆🏻","🙆🏼","🙆🏽","🙆🏾","🙆🏿","🙆‍♂️","🙆🏻‍♂️","🙆🏼‍♂️","🙆🏽‍♂️","🙆🏾‍♂️","🙆🏿‍♂️","🙆‍♀️","🙆🏻‍♀️","🙆🏼‍♀️","🙆🏽‍♀️","🙆🏾‍♀️","🙆🏿‍♀️","💁","💁🏻","💁🏼","💁🏽","💁🏾","💁🏿","💁‍♂️","💁🏻‍♂️","💁🏼‍♂️","💁🏽‍♂️","💁🏾‍♂️","💁🏿‍♂️","💁‍♀️","💁🏻‍♀️","💁🏼‍♀️","💁🏽‍♀️","💁🏾‍♀️","💁🏿‍♀️","🙋","🙋🏻","🙋🏼","🙋🏽","🙋🏾","🙋🏿","🙋‍♂️","🙋🏻‍♂️","🙋🏼‍♂️","🙋🏽‍♂️","🙋🏾‍♂️","🙋🏿‍♂️","🙋‍♀️","🙋🏻‍♀️","🙋🏼‍♀️","🙋🏽‍♀️","🙋🏾‍♀️","🙋🏿‍♀️","🧏","🧏🏻","🧏🏼","🧏🏽","🧏🏾","🧏🏿","🧏‍♂️","🧏🏻‍♂️","🧏🏼‍♂️","🧏🏽‍♂️","🧏🏾‍♂️","🧏🏿‍♂️","🧏‍♀️","🧏🏻‍♀️","🧏🏼‍♀️","🧏🏽‍♀️","🧏🏾‍♀️","🧏🏿‍♀️","🙇","🙇🏻","🙇🏼","🙇🏽","🙇🏾","🙇🏿","🙇‍♂️","🙇🏻‍♂️","🙇🏼‍♂️","🙇🏽‍♂️","🙇🏾‍♂️","🙇🏿‍♂️","🙇‍♀️","🙇🏻‍♀️","🙇🏼‍♀️","🙇🏽‍♀️","🙇🏾‍♀️","🙇🏿‍♀️","🤦","🤦🏻","🤦🏼","🤦🏽","🤦🏾","🤦🏿","🤦‍♂️","🤦🏻‍♂️","🤦🏼‍♂️","🤦🏽‍♂️","🤦🏾‍♂️","🤦🏿‍♂️","🤦‍♀️","🤦🏻‍♀️","🤦🏼‍♀️","🤦🏽‍♀️","🤦🏾‍♀️","🤦🏿‍♀️","🤷","🤷🏻","🤷🏼","🤷🏽","🤷🏾","🤷🏿","🤷‍♂️","🤷🏻‍♂️","🤷🏼‍♂️","🤷🏽‍♂️","🤷🏾‍♂️","🤷🏿‍♂️","🤷‍♀️","🤷🏻‍♀️","🤷🏼‍♀️","🤷🏽‍♀️","🤷🏾‍♀️","🤷🏿‍♀️","🧑‍⚕️","🧑🏻‍⚕️","🧑🏼‍⚕️","🧑🏽‍⚕️","🧑🏾‍⚕️","🧑🏿‍⚕️","👨‍⚕️","👨🏻‍⚕️","👨🏼‍⚕️","👨🏽‍⚕️","👨🏾‍⚕️","👨🏿‍⚕️","👩‍⚕️","👩🏻‍⚕️","👩🏼‍⚕️","👩🏽‍⚕️","👩🏾‍⚕️","👩🏿‍⚕️","🧑‍🎓","🧑🏻‍🎓","🧑🏼‍🎓","🧑🏽‍🎓","🧑🏾‍🎓","🧑🏿‍🎓","👨‍🎓","👨🏻‍🎓","👨🏼‍🎓","👨🏽‍🎓","👨🏾‍🎓","👨🏿‍🎓","👩‍🎓","👩🏻‍🎓","👩🏼‍🎓","👩🏽‍🎓","👩🏾‍🎓","👩🏿‍🎓","🧑‍🏫","🧑🏻‍🏫","🧑🏼‍🏫","🧑🏽‍🏫","🧑🏾‍🏫","🧑🏿‍🏫","👨‍🏫","👨🏻‍🏫","👨🏼‍🏫","👨🏽‍🏫","👨🏾‍🏫","👨🏿‍🏫","👩‍🏫","👩🏻‍🏫","👩🏼‍🏫","👩🏽‍🏫","👩🏾‍🏫","👩🏿‍🏫","🧑‍⚖️","🧑🏻‍⚖️","🧑🏼‍⚖️","🧑🏽‍⚖️","🧑🏾‍⚖️","🧑🏿‍⚖️","👨‍⚖️","👨🏻‍⚖️","👨🏼‍⚖️","👨🏽‍⚖️","👨🏾‍⚖️","👨🏿‍⚖️","👩‍⚖️","👩🏻‍⚖️","👩🏼‍⚖️","👩🏽‍⚖️","👩🏾‍⚖️","👩🏿‍⚖️","🧑‍🌾","🧑🏻‍🌾","🧑🏼‍🌾","🧑🏽‍🌾","🧑🏾‍🌾","🧑🏿‍🌾","👨‍🌾","👨🏻‍🌾","👨🏼‍🌾","👨🏽‍🌾","👨🏾‍🌾","👨🏿‍🌾","👩‍🌾","👩🏻‍🌾","👩🏼‍🌾","👩🏽‍🌾","👩🏾‍🌾","👩🏿‍🌾","🧑‍🍳","🧑🏻‍🍳","🧑🏼‍🍳","🧑🏽‍🍳","🧑🏾‍🍳","🧑🏿‍🍳","👨‍🍳","👨🏻‍🍳","👨🏼‍🍳","👨🏽‍🍳","👨🏾‍🍳","👨🏿‍🍳","👩‍🍳","👩🏻‍🍳","👩🏼‍🍳","👩🏽‍🍳","👩🏾‍🍳","👩🏿‍🍳","🧑‍🔧","🧑🏻‍🔧","🧑🏼‍🔧","🧑🏽‍🔧","🧑🏾‍🔧","🧑🏿‍🔧","👨‍🔧","👨🏻‍🔧","👨🏼‍🔧","👨🏽‍🔧","👨🏾‍🔧","👨🏿‍🔧","👩‍🔧","👩🏻‍🔧","👩🏼‍🔧","👩🏽‍🔧","👩🏾‍🔧","👩🏿‍🔧","🧑‍🏭","🧑🏻‍🏭","🧑🏼‍🏭","🧑🏽‍🏭","🧑🏾‍🏭","🧑🏿‍🏭","👨‍🏭","👨🏻‍🏭","👨🏼‍🏭","👨🏽‍🏭","👨🏾‍🏭","👨🏿‍🏭","👩‍🏭","👩🏻‍🏭","👩🏼‍🏭","👩🏽‍🏭","👩🏾‍🏭","👩🏿‍🏭","🧑‍💼","🧑🏻‍💼","🧑🏼‍💼","🧑🏽‍💼","🧑🏾‍💼","🧑🏿‍💼","👨‍💼","👨🏻‍💼","👨🏼‍💼","👨🏽‍💼","👨🏾‍💼","👨🏿‍💼","👩‍💼","👩🏻‍💼","👩🏼‍💼","👩🏽‍💼","👩🏾‍💼","👩🏿‍💼","🧑‍🔬","🧑🏻‍🔬","🧑🏼‍🔬","🧑🏽‍🔬","🧑🏾‍🔬","🧑🏿‍🔬","👨‍🔬","👨🏻‍🔬","👨🏼‍🔬","👨🏽‍🔬","👨🏾‍🔬","👨🏿‍🔬","👩‍🔬","👩🏻‍🔬","👩🏼‍🔬","👩🏽‍🔬","👩🏾‍🔬","👩🏿‍🔬","🧑‍💻","🧑🏻‍💻","🧑🏼‍💻","🧑🏽‍💻","🧑🏾‍💻","🧑🏿‍💻","👨‍💻","👨🏻‍💻","👨🏼‍💻","👨🏽‍💻","👨🏾‍💻","👨🏿‍💻","👩‍💻","👩🏻‍💻","👩🏼‍💻","👩🏽‍💻","👩🏾‍💻","👩🏿‍💻","🧑‍🎤","🧑🏻‍🎤","🧑🏼‍🎤","🧑🏽‍🎤","🧑🏾‍🎤","🧑🏿‍🎤","👨‍🎤","👨🏻‍🎤","👨🏼‍🎤","👨🏽‍🎤","👨🏾‍🎤","👨🏿‍🎤","👩‍🎤","👩🏻‍🎤","👩🏼‍🎤","👩🏽‍🎤","👩🏾‍🎤","👩🏿‍🎤","🧑‍🎨","🧑🏻‍🎨","🧑🏼‍🎨","🧑🏽‍🎨","🧑🏾‍🎨","🧑🏿‍🎨","👨‍🎨","👨🏻‍🎨","👨🏼‍🎨","👨🏽‍🎨","👨🏾‍🎨","👨🏿‍🎨","👩‍🎨","👩🏻‍🎨","👩🏼‍🎨","👩🏽‍🎨","👩🏾‍🎨","👩🏿‍🎨","🧑‍✈️","🧑🏻‍✈️","🧑🏼‍✈️","🧑🏽‍✈️","🧑🏾‍✈️","🧑🏿‍✈️","👨‍✈️","👨🏻‍✈️","👨🏼‍✈️","👨🏽‍✈️","👨🏾‍✈️","👨🏿‍✈️","👩‍✈️","👩🏻‍✈️","👩🏼‍✈️","👩🏽‍✈️","👩🏾‍✈️","👩🏿‍✈️","🧑‍🚀","🧑🏻‍🚀","🧑🏼‍🚀","🧑🏽‍🚀","🧑🏾‍🚀","🧑🏿‍🚀","👨‍🚀","👨🏻‍🚀","👨🏼‍🚀","👨🏽‍🚀","👨🏾‍🚀","👨🏿‍🚀","👩‍🚀","👩🏻‍🚀","👩🏼‍🚀","👩🏽‍🚀","👩🏾‍🚀","👩🏿‍🚀","🧑‍🚒","🧑🏻‍🚒","🧑🏼‍🚒","🧑🏽‍🚒","🧑🏾‍🚒","🧑🏿‍🚒","👨‍🚒","👨🏻‍🚒","👨🏼‍🚒","👨🏽‍🚒","👨🏾‍🚒","👨🏿‍🚒","👩‍🚒","👩🏻‍🚒","👩🏼‍🚒","👩🏽‍🚒","👩🏾‍🚒","👩🏿‍🚒","👮","👮🏻","👮🏼","👮🏽","👮🏾","👮🏿","👮‍♂️","👮🏻‍♂️","👮🏼‍♂️","👮🏽‍♂️","👮🏾‍♂️","👮🏿‍♂️","👮‍♀️","👮🏻‍♀️","👮🏼‍♀️","👮🏽‍♀️","👮🏾‍♀️","👮🏿‍♀️","🕵️","🕵🏻","🕵🏼","🕵🏽","🕵🏾","🕵🏿","🕵️‍♂️","🕵🏻‍♂️","🕵🏼‍♂️","🕵🏽‍♂️","🕵🏾‍♂️","🕵🏿‍♂️","🕵️‍♀️","🕵🏻‍♀️","🕵🏼‍♀️","🕵🏽‍♀️","🕵🏾‍♀️","🕵🏿‍♀️","💂","💂🏻","💂🏼","💂🏽","💂🏾","💂🏿","💂‍♂️","💂🏻‍♂️","💂🏼‍♂️","💂🏽‍♂️","💂🏾‍♂️","💂🏿‍♂️","💂‍♀️","💂🏻‍♀️","💂🏼‍♀️","💂🏽‍♀️","💂🏾‍♀️","💂🏿‍♀️","🥷","🥷🏻","🥷🏼","🥷🏽","🥷🏾","🥷🏿","👷","👷🏻","👷🏼","👷🏽","👷🏾","👷🏿","👷‍♂️","👷🏻‍♂️","👷🏼‍♂️","👷🏽‍♂️","👷🏾‍♂️","👷🏿‍♂️","👷‍♀️","👷🏻‍♀️","👷🏼‍♀️","👷🏽‍♀️","👷🏾‍♀️","👷🏿‍♀️","🤴","🤴🏻","🤴🏼","🤴🏽","🤴🏾","🤴🏿","👸","👸🏻","👸🏼","👸🏽","👸🏾","👸🏿","👳","👳🏻","👳🏼","👳🏽","👳🏾","👳🏿","👳‍♂️","👳🏻‍♂️","👳🏼‍♂️","👳🏽‍♂️","👳🏾‍♂️","👳🏿‍♂️","👳‍♀️","👳🏻‍♀️","👳🏼‍♀️","👳🏽‍♀️","👳🏾‍♀️","👳🏿‍♀️","👲","👲🏻","👲🏼","👲🏽","👲🏾","👲🏿","🧕","🧕🏻","🧕🏼","🧕🏽","🧕🏾","🧕🏿","🤵","🤵🏻","🤵🏼","🤵🏽","🤵🏾","🤵🏿","🤵‍♂️","🤵🏻‍♂️","🤵🏼‍♂️","🤵🏽‍♂️","🤵🏾‍♂️","🤵🏿‍♂️","🤵‍♀️","🤵🏻‍♀️","🤵🏼‍♀️","🤵🏽‍♀️","🤵🏾‍♀️","🤵🏿‍♀️","👰","👰🏻","👰🏼","👰🏽","👰🏾","👰🏿","👰‍♂️","👰🏻‍♂️","👰🏼‍♂️","👰🏽‍♂️","👰🏾‍♂️","👰🏿‍♂️","👰‍♀️","👰🏻‍♀️","👰🏼‍♀️","👰🏽‍♀️","👰🏾‍♀️","👰🏿‍♀️","🤰","🤰🏻","🤰🏼","🤰🏽","🤰🏾","🤰🏿","🤱","🤱🏻","🤱🏼","🤱🏽","🤱🏾","🤱🏿","👩‍🍼","👩🏻‍🍼","👩🏼‍🍼","👩🏽‍🍼","👩🏾‍🍼","👩🏿‍🍼","👨‍🍼","👨🏻‍🍼","👨🏼‍🍼","👨🏽‍🍼","👨🏾‍🍼","👨🏿‍🍼","🧑‍🍼","🧑🏻‍🍼","🧑🏼‍🍼","🧑🏽‍🍼","🧑🏾‍🍼","🧑🏿‍🍼","👼","👼🏻","👼🏼","👼🏽","👼🏾","👼🏿","🎅","🎅🏻","🎅🏼","🎅🏽","🎅🏾","🎅🏿","🤶","🤶🏻","🤶🏼","🤶🏽","🤶🏾","🤶🏿","🧑‍🎄","🧑🏻‍🎄","🧑🏼‍🎄","🧑🏽‍🎄","🧑🏾‍🎄","🧑🏿‍🎄","🦸","🦸🏻","🦸🏼","🦸🏽","🦸🏾","🦸🏿","🦸‍♂️","🦸🏻‍♂️","🦸🏼‍♂️","🦸🏽‍♂️","🦸🏾‍♂️","🦸🏿‍♂️","🦸‍♀️","🦸🏻‍♀️","🦸🏼‍♀️","🦸🏽‍♀️","🦸🏾‍♀️","🦸🏿‍♀️","🦹","🦹🏻","🦹🏼","🦹🏽","🦹🏾","🦹🏿","🦹‍♂️","🦹🏻‍♂️","🦹🏼‍♂️","🦹🏽‍♂️","🦹🏾‍♂️","🦹🏿‍♂️","🦹‍♀️","🦹🏻‍♀️","🦹🏼‍♀️","🦹🏽‍♀️","🦹🏾‍♀️","🦹🏿‍♀️","🧙","🧙🏻","🧙🏼","🧙🏽","🧙🏾","🧙🏿","🧙‍♂️","🧙🏻‍♂️","🧙🏼‍♂️","🧙🏽‍♂️","🧙🏾‍♂️","🧙🏿‍♂️","🧙‍♀️","🧙🏻‍♀️","🧙🏼‍♀️","🧙🏽‍♀️","🧙🏾‍♀️","🧙🏿‍♀️","🧚","🧚🏻","🧚🏼","🧚🏽","🧚🏾","🧚🏿","🧚‍♂️","🧚🏻‍♂️","🧚🏼‍♂️","🧚🏽‍♂️","🧚🏾‍♂️","🧚🏿‍♂️","🧚‍♀️","🧚🏻‍♀️","🧚🏼‍♀️","🧚🏽‍♀️","🧚🏾‍♀️","🧚🏿‍♀️","🧛","🧛🏻","🧛🏼","🧛🏽","🧛🏾","🧛🏿","🧛‍♂️","🧛🏻‍♂️","🧛🏼‍♂️","🧛🏽‍♂️","🧛🏾‍♂️","🧛🏿‍♂️","🧛‍♀️","🧛🏻‍♀️","🧛🏼‍♀️","🧛🏽‍♀️","🧛🏾‍♀️","🧛🏿‍♀️","🧜","🧜🏻","🧜🏼","🧜🏽","🧜🏾","🧜🏿","🧜‍♂️","🧜🏻‍♂️","🧜🏼‍♂️","🧜🏽‍♂️","🧜🏾‍♂️","🧜🏿‍♂️","🧜‍♀️","🧜🏻‍♀️","🧜🏼‍♀️","🧜🏽‍♀️","🧜🏾‍♀️","🧜🏿‍♀️","🧝","🧝🏻","🧝🏼","🧝🏽","🧝🏾","🧝🏿","🧝‍♂️","🧝🏻‍♂️","🧝🏼‍♂️","🧝🏽‍♂️","🧝🏾‍♂️","🧝🏿‍♂️","🧝‍♀️","🧝🏻‍♀️","🧝🏼‍♀️","🧝🏽‍♀️","🧝🏾‍♀️","🧝🏿‍♀️","🧞","🧞‍♂️","🧞‍♀️","🧟","🧟‍♂️","🧟‍♀️","💆","💆🏻","💆🏼","💆🏽","💆🏾","💆🏿","💆‍♂️","💆🏻‍♂️","💆🏼‍♂️","💆🏽‍♂️","💆🏾‍♂️","💆🏿‍♂️","💆‍♀️","💆🏻‍♀️","💆🏼‍♀️","💆🏽‍♀️","💆🏾‍♀️","💆🏿‍♀️","💇","💇🏻","💇🏼","💇🏽","💇🏾","💇🏿","💇‍♂️","💇🏻‍♂️","💇🏼‍♂️","💇🏽‍♂️","💇🏾‍♂️","💇🏿‍♂️","💇‍♀️","💇🏻‍♀️","💇🏼‍♀️","💇🏽‍♀️","💇🏾‍♀️","💇🏿‍♀️","🚶","🚶🏻","🚶🏼","🚶🏽","🚶🏾","🚶🏿","🚶‍♂️","🚶🏻‍♂️","🚶🏼‍♂️","🚶🏽‍♂️","🚶🏾‍♂️","🚶🏿‍♂️","🚶‍♀️","🚶🏻‍♀️","🚶🏼‍♀️","🚶🏽‍♀️","🚶🏾‍♀️","🚶🏿‍♀️","🧍","🧍🏻","🧍🏼","🧍🏽","🧍🏾","🧍🏿","🧍‍♂️","🧍🏻‍♂️","🧍🏼‍♂️","🧍🏽‍♂️","🧍🏾‍♂️","🧍🏿‍♂️","🧍‍♀️","🧍🏻‍♀️","🧍🏼‍♀️","🧍🏽‍♀️","🧍🏾‍♀️","🧍🏿‍♀️","🧎","🧎🏻","🧎🏼","🧎🏽","🧎🏾","🧎🏿","🧎‍♂️","🧎🏻‍♂️","🧎🏼‍♂️","🧎🏽‍♂️","🧎🏾‍♂️","🧎🏿‍♂️","🧎‍♀️","🧎🏻‍♀️","🧎🏼‍♀️","🧎🏽‍♀️","🧎🏾‍♀️","🧎🏿‍♀️","🧑‍🦯","🧑🏻‍🦯","🧑🏼‍🦯","🧑🏽‍🦯","🧑🏾‍🦯","🧑🏿‍🦯","👨‍🦯","👨🏻‍🦯","👨🏼‍🦯","👨🏽‍🦯","👨🏾‍🦯","👨🏿‍🦯","👩‍🦯","👩🏻‍🦯","👩🏼‍🦯","👩🏽‍🦯","👩🏾‍🦯","👩🏿‍🦯","🧑‍🦼","🧑🏻‍🦼","🧑🏼‍🦼","🧑🏽‍🦼","🧑🏾‍🦼","🧑🏿‍🦼","👨‍🦼","👨🏻‍🦼","👨🏼‍🦼","👨🏽‍🦼","👨🏾‍🦼","👨🏿‍🦼","👩‍🦼","👩🏻‍🦼","👩🏼‍🦼","👩🏽‍🦼","👩🏾‍🦼","👩🏿‍🦼","🧑‍🦽","🧑🏻‍🦽","🧑🏼‍🦽","🧑🏽‍🦽","🧑🏾‍🦽","🧑🏿‍🦽","👨‍🦽","👨🏻‍🦽","👨🏼‍🦽","👨🏽‍🦽","👨🏾‍🦽","👨🏿‍🦽","👩‍🦽","👩🏻‍🦽","👩🏼‍🦽","👩🏽‍🦽","👩🏾‍🦽","👩🏿‍🦽","🏃","🏃🏻","🏃🏼","🏃🏽","🏃🏾","🏃🏿","🏃‍♂️","🏃🏻‍♂️","🏃🏼‍♂️","🏃🏽‍♂️","🏃🏾‍♂️","🏃🏿‍♂️","🏃‍♀️","🏃🏻‍♀️","🏃🏼‍♀️","🏃🏽‍♀️","🏃🏾‍♀️","🏃🏿‍♀️","💃","💃🏻","💃🏼","💃🏽","💃🏾","💃🏿","🕺","🕺🏻","🕺🏼","🕺🏽","🕺🏾","🕺🏿","🕴️","🕴🏻","🕴🏼","🕴🏽","🕴🏾","🕴🏿","👯","👯‍♂️","👯‍♀️","🧖","🧖🏻","🧖🏼","🧖🏽","🧖🏾","🧖🏿","🧖‍♂️","🧖🏻‍♂️","🧖🏼‍♂️","🧖🏽‍♂️","🧖🏾‍♂️","🧖🏿‍♂️","🧖‍♀️","🧖🏻‍♀️","🧖🏼‍♀️","🧖🏽‍♀️","🧖🏾‍♀️","🧖🏿‍♀️","🧗","🧗🏻","🧗🏼","🧗🏽","🧗🏾","🧗🏿","🧗‍♂️","🧗🏻‍♂️","🧗🏼‍♂️","🧗🏽‍♂️","🧗🏾‍♂️","🧗🏿‍♂️","🧗‍♀️","🧗🏻‍♀️","🧗🏼‍♀️","🧗🏽‍♀️","🧗🏾‍♀️","🧗🏿‍♀️","🤺","🏇","🏇🏻","🏇🏼","🏇🏽","🏇🏾","🏇🏿","⛷️","🏂","🏂🏻","🏂🏼","🏂🏽","🏂🏾","🏂🏿","🏌️","🏌🏻","🏌🏼","🏌🏽","🏌🏾","🏌🏿","🏌️‍♂️","🏌🏻‍♂️","🏌🏼‍♂️","🏌🏽‍♂️","🏌🏾‍♂️","🏌🏿‍♂️","🏌️‍♀️","🏌🏻‍♀️","🏌🏼‍♀️","🏌🏽‍♀️","🏌🏾‍♀️","🏌🏿‍♀️","🏄","🏄🏻","🏄🏼","🏄🏽","🏄🏾","🏄🏿","🏄‍♂️","🏄🏻‍♂️","🏄🏼‍♂️","🏄🏽‍♂️","🏄🏾‍♂️","🏄🏿‍♂️","🏄‍♀️","🏄🏻‍♀️","🏄🏼‍♀️","🏄🏽‍♀️","🏄🏾‍♀️","🏄🏿‍♀️","🚣","🚣🏻","🚣🏼","🚣🏽","🚣🏾","🚣🏿","🚣‍♂️","🚣🏻‍♂️","🚣🏼‍♂️","🚣🏽‍♂️","🚣🏾‍♂️","🚣🏿‍♂️","🚣‍♀️","🚣🏻‍♀️","🚣🏼‍♀️","🚣🏽‍♀️","🚣🏾‍♀️","🚣🏿‍♀️","🏊","🏊🏻","🏊🏼","🏊🏽","🏊🏾","🏊🏿","🏊‍♂️","🏊🏻‍♂️","🏊🏼‍♂️","🏊🏽‍♂️","🏊🏾‍♂️","🏊🏿‍♂️","🏊‍♀️","🏊🏻‍♀️","🏊🏼‍♀️","🏊🏽‍♀️","🏊🏾‍♀️","🏊🏿‍♀️","⛹️","⛹🏻","⛹🏼","⛹🏽","⛹🏾","⛹🏿","⛹️‍♂️","⛹🏻‍♂️","⛹🏼‍♂️","⛹🏽‍♂️","⛹🏾‍♂️","⛹🏿‍♂️","⛹️‍♀️","⛹🏻‍♀️","⛹🏼‍♀️","⛹🏽‍♀️","⛹🏾‍♀️","⛹🏿‍♀️","🏋️","🏋🏻","🏋🏼","🏋🏽","🏋🏾","🏋🏿","🏋️‍♂️","🏋🏻‍♂️","🏋🏼‍♂️","🏋🏽‍♂️","🏋🏾‍♂️","🏋🏿‍♂️","🏋️‍♀️","🏋🏻‍♀️","🏋🏼‍♀️","🏋🏽‍♀️","🏋🏾‍♀️","🏋🏿‍♀️","🚴","🚴🏻","🚴🏼","🚴🏽","🚴🏾","🚴🏿","🚴‍♂️","🚴🏻‍♂️","🚴🏼‍♂️","🚴🏽‍♂️","🚴🏾‍♂️","🚴🏿‍♂️","🚴‍♀️","🚴🏻‍♀️","🚴🏼‍♀️","🚴🏽‍♀️","🚴🏾‍♀️","🚴🏿‍♀️","🚵","🚵🏻","🚵🏼","🚵🏽","🚵🏾","🚵🏿","🚵‍♂️","🚵🏻‍♂️","🚵🏼‍♂️","🚵🏽‍♂️","🚵🏾‍♂️","🚵🏿‍♂️","🚵‍♀️","🚵🏻‍♀️","🚵🏼‍♀️","🚵🏽‍♀️","🚵🏾‍♀️","🚵🏿‍♀️","🤸","🤸🏻","🤸🏼","🤸🏽","🤸🏾","🤸🏿","🤸‍♂️","🤸🏻‍♂️","🤸🏼‍♂️","🤸🏽‍♂️","🤸🏾‍♂️","🤸🏿‍♂️","🤸‍♀️","🤸🏻‍♀️","🤸🏼‍♀️","🤸🏽‍♀️","🤸🏾‍♀️","🤸🏿‍♀️","🤼","🤼‍♂️","🤼‍♀️","🤽","🤽🏻","🤽🏼","🤽🏽","🤽🏾","🤽🏿","🤽‍♂️","🤽🏻‍♂️","🤽🏼‍♂️","🤽🏽‍♂️","🤽🏾‍♂️","🤽🏿‍♂️","🤽‍♀️","🤽🏻‍♀️","🤽🏼‍♀️","🤽🏽‍♀️","🤽🏾‍♀️","🤽🏿‍♀️","🤾","🤾🏻","🤾🏼","🤾🏽","🤾🏾","🤾🏿","🤾‍♂️","🤾🏻‍♂️","🤾🏼‍♂️","🤾🏽‍♂️","🤾🏾‍♂️","🤾🏿‍♂️","🤾‍♀️","🤾🏻‍♀️","🤾🏼‍♀️","🤾🏽‍♀️","🤾🏾‍♀️","🤾🏿‍♀️","🤹","🤹🏻","🤹🏼","🤹🏽","🤹🏾","🤹🏿","🤹‍♂️","🤹🏻‍♂️","🤹🏼‍♂️","🤹🏽‍♂️","🤹🏾‍♂️","🤹🏿‍♂️","🤹‍♀️","🤹🏻‍♀️","🤹🏼‍♀️","🤹🏽‍♀️","🤹🏾‍♀️","🤹🏿‍♀️","🧘","🧘🏻","🧘🏼","🧘🏽","🧘🏾","🧘🏿","🧘‍♂️","🧘🏻‍♂️","🧘🏼‍♂️","🧘🏽‍♂️","🧘🏾‍♂️","🧘🏿‍♂️","🧘‍♀️","🧘🏻‍♀️","🧘🏼‍♀️","🧘🏽‍♀️","🧘🏾‍♀️","🧘🏿‍♀️","🛀","🛀🏻","🛀🏼","🛀🏽","🛀🏾","🛀🏿","🛌","🛌🏻","🛌🏼","🛌🏽","🛌🏾","🛌🏿","🧑‍🤝‍🧑","🧑🏻‍🤝‍🧑🏻","🧑🏻‍🤝‍🧑🏼","🧑🏻‍🤝‍🧑🏽","🧑🏻‍🤝‍🧑🏾","🧑🏻‍🤝‍🧑🏿","🧑🏼‍🤝‍🧑🏻","🧑🏼‍🤝‍🧑🏼","🧑🏼‍🤝‍🧑🏽","🧑🏼‍🤝‍🧑🏾","🧑🏼‍🤝‍🧑🏿","🧑🏽‍🤝‍🧑🏻","🧑🏽‍🤝‍🧑🏼","🧑🏽‍🤝‍🧑🏽","🧑🏽‍🤝‍🧑🏾","🧑🏽‍🤝‍🧑🏿","🧑🏾‍🤝‍🧑🏻","🧑🏾‍🤝‍🧑🏼","🧑🏾‍🤝‍🧑🏽","🧑🏾‍🤝‍🧑🏾","🧑🏾‍🤝‍🧑🏿","🧑🏿‍🤝‍🧑🏻","🧑🏿‍🤝‍🧑🏼","🧑🏿‍🤝‍🧑🏽","🧑🏿‍🤝‍🧑🏾","🧑🏿‍🤝‍🧑🏿","👭","👭🏻","👩🏻‍🤝‍👩🏼","👩🏻‍🤝‍👩🏽","👩🏻‍🤝‍👩🏾","👩🏻‍🤝‍👩🏿","👩🏼‍🤝‍👩🏻","👭🏼","👩🏼‍🤝‍👩🏽","👩🏼‍🤝‍👩🏾","👩🏼‍🤝‍👩🏿","👩🏽‍🤝‍👩🏻","👩🏽‍🤝‍👩🏼","👭🏽","👩🏽‍🤝‍👩🏾","👩🏽‍🤝‍👩🏿","👩🏾‍🤝‍👩🏻","👩🏾‍🤝‍👩🏼","👩🏾‍🤝‍👩🏽","👭🏾","👩🏾‍🤝‍👩🏿","👩🏿‍🤝‍👩🏻","👩🏿‍🤝‍👩🏼","👩🏿‍🤝‍👩🏽","👩🏿‍🤝‍👩🏾","👭🏿","👫","👫🏻","👩🏻‍🤝‍👨🏼","👩🏻‍🤝‍👨🏽","👩🏻‍🤝‍👨🏾","👩🏻‍🤝‍👨🏿","👩🏼‍🤝‍👨🏻","👫🏼","👩🏼‍🤝‍👨🏽","👩🏼‍🤝‍👨🏾","👩🏼‍🤝‍👨🏿","👩🏽‍🤝‍👨🏻","👩🏽‍🤝‍👨🏼","👫🏽","👩🏽‍🤝‍👨🏾","👩🏽‍🤝‍👨🏿","👩🏾‍🤝‍👨🏻","👩🏾‍🤝‍👨🏼","👩🏾‍🤝‍👨🏽","👫🏾","👩🏾‍🤝‍👨🏿","👩🏿‍🤝‍👨🏻","👩🏿‍🤝‍👨🏼","👩🏿‍🤝‍👨🏽","👩🏿‍🤝‍👨🏾","👫🏿","👬","👬🏻","👨🏻‍🤝‍👨🏼","👨🏻‍🤝‍👨🏽","👨🏻‍🤝‍👨🏾","👨🏻‍🤝‍👨🏿","👨🏼‍🤝‍👨🏻","👬🏼","👨🏼‍🤝‍👨🏽","👨🏼‍🤝‍👨🏾","👨🏼‍🤝‍👨🏿","👨🏽‍🤝‍👨🏻","👨🏽‍🤝‍👨🏼","👬🏽","👨🏽‍🤝‍👨🏾","👨🏽‍🤝‍👨🏿","👨🏾‍🤝‍👨🏻","👨🏾‍🤝‍👨🏼","👨🏾‍🤝‍👨🏽","👬🏾","👨🏾‍🤝‍👨🏿","👨🏿‍🤝‍👨🏻","👨🏿‍🤝‍👨🏼","👨🏿‍🤝‍👨🏽","👨🏿‍🤝‍👨🏾","👬🏿","💏","💏🏻","💏🏼","💏🏽","💏🏾","💏🏿","🧑🏻‍❤️‍💋‍🧑🏼","🧑🏻‍❤️‍💋‍🧑🏽","🧑🏻‍❤️‍💋‍🧑🏾","🧑🏻‍❤️‍💋‍🧑🏿","🧑🏼‍❤️‍💋‍🧑🏻","🧑🏼‍❤️‍💋‍🧑🏽","🧑🏼‍❤️‍💋‍🧑🏾","🧑🏼‍❤️‍💋‍🧑🏿","🧑🏽‍❤️‍💋‍🧑🏻","🧑🏽‍❤️‍💋‍🧑🏼","🧑🏽‍❤️‍💋‍🧑🏾","🧑🏽‍❤️‍💋‍🧑🏿","🧑🏾‍❤️‍💋‍🧑🏻","🧑🏾‍❤️‍💋‍🧑🏼","🧑🏾‍❤️‍💋‍🧑🏽","🧑🏾‍❤️‍💋‍🧑🏿","🧑🏿‍❤️‍💋‍🧑🏻","🧑🏿‍❤️‍💋‍🧑🏼","🧑🏿‍❤️‍💋‍🧑🏽","🧑🏿‍❤️‍💋‍🧑🏾","👩‍❤️‍💋‍👨","👩🏻‍❤️‍💋‍👨🏻","👩🏻‍❤️‍💋‍👨🏼","👩🏻‍❤️‍💋‍👨🏽","👩🏻‍❤️‍💋‍👨🏾","👩🏻‍❤️‍💋‍👨🏿","👩🏼‍❤️‍💋‍👨🏻","👩🏼‍❤️‍💋‍👨🏼","👩🏼‍❤️‍💋‍👨🏽","👩🏼‍❤️‍💋‍👨🏾","👩🏼‍❤️‍💋‍👨🏿","👩🏽‍❤️‍💋‍👨🏻","👩🏽‍❤️‍💋‍👨🏼","👩🏽‍❤️‍💋‍👨🏽","👩🏽‍❤️‍💋‍👨🏾","👩🏽‍❤️‍💋‍👨🏿","👩🏾‍❤️‍💋‍👨🏻","👩🏾‍❤️‍💋‍👨🏼","👩🏾‍❤️‍💋‍👨🏽","👩🏾‍❤️‍💋‍👨🏾","👩🏾‍❤️‍💋‍👨🏿","👩🏿‍❤️‍💋‍👨🏻","👩🏿‍❤️‍💋‍👨🏼","👩🏿‍❤️‍💋‍👨🏽","👩🏿‍❤️‍💋‍👨🏾","👩🏿‍❤️‍💋‍👨🏿","👨‍❤️‍💋‍👨","👨🏻‍❤️‍💋‍👨🏻","👨🏻‍❤️‍💋‍👨🏼","👨🏻‍❤️‍💋‍👨🏽","👨🏻‍❤️‍💋‍👨🏾","👨🏻‍❤️‍💋‍👨🏿","👨🏼‍❤️‍💋‍👨🏻","👨🏼‍❤️‍💋‍👨🏼","👨🏼‍❤️‍💋‍👨🏽","👨🏼‍❤️‍💋‍👨🏾","👨🏼‍❤️‍💋‍👨🏿","👨🏽‍❤️‍💋‍👨🏻","👨🏽‍❤️‍💋‍👨🏼","👨🏽‍❤️‍💋‍👨🏽","👨🏽‍❤️‍💋‍👨🏾","👨🏽‍❤️‍💋‍👨🏿","👨🏾‍❤️‍💋‍👨🏻","👨🏾‍❤️‍💋‍👨🏼","👨🏾‍❤️‍💋‍👨🏽","👨🏾‍❤️‍💋‍👨🏾","👨🏾‍❤️‍💋‍👨🏿","👨🏿‍❤️‍💋‍👨🏻","👨🏿‍❤️‍💋‍👨🏼","👨🏿‍❤️‍💋‍👨🏽","👨🏿‍❤️‍💋‍👨🏾","👨🏿‍❤️‍💋‍👨🏿","👩‍❤️‍💋‍👩","👩🏻‍❤️‍💋‍👩🏻","👩🏻‍❤️‍💋‍👩🏼","👩🏻‍❤️‍💋‍👩🏽","👩🏻‍❤️‍💋‍👩🏾","👩🏻‍❤️‍💋‍👩🏿","👩🏼‍❤️‍💋‍👩🏻","👩🏼‍❤️‍💋‍👩🏼","👩🏼‍❤️‍💋‍👩🏽","👩🏼‍❤️‍💋‍👩🏾","👩🏼‍❤️‍💋‍👩🏿","👩🏽‍❤️‍💋‍👩🏻","👩🏽‍❤️‍💋‍👩🏼","👩🏽‍❤️‍💋‍👩🏽","👩🏽‍❤️‍💋‍👩🏾","👩🏽‍❤️‍💋‍👩🏿","👩🏾‍❤️‍💋‍👩🏻","👩🏾‍❤️‍💋‍👩🏼","👩🏾‍❤️‍💋‍👩🏽","👩🏾‍❤️‍💋‍👩🏾","👩🏾‍❤️‍💋‍👩🏿","👩🏿‍❤️‍💋‍👩🏻","👩🏿‍❤️‍💋‍👩🏼","👩🏿‍❤️‍💋‍👩🏽","👩🏿‍❤️‍💋‍👩🏾","👩🏿‍❤️‍💋‍👩🏿","💑","💑🏻","💑🏼","💑🏽","💑🏾","💑🏿","🧑🏻‍❤️‍🧑🏼","🧑🏻‍❤️‍🧑🏽","🧑🏻‍❤️‍🧑🏾","🧑🏻‍❤️‍🧑🏿","🧑🏼‍❤️‍🧑🏻","🧑🏼‍❤️‍🧑🏽","🧑🏼‍❤️‍🧑🏾","🧑🏼‍❤️‍🧑🏿","🧑🏽‍❤️‍🧑🏻","🧑🏽‍❤️‍🧑🏼","🧑🏽‍❤️‍🧑🏾","🧑🏽‍❤️‍🧑🏿","🧑🏾‍❤️‍🧑🏻","🧑🏾‍❤️‍🧑🏼","🧑🏾‍❤️‍🧑🏽","🧑🏾‍❤️‍🧑🏿","🧑🏿‍❤️‍🧑🏻","🧑🏿‍❤️‍🧑🏼","🧑🏿‍❤️‍🧑🏽","🧑🏿‍❤️‍🧑🏾","👩‍❤️‍👨","👩🏻‍❤️‍👨🏻","👩🏻‍❤️‍👨🏼","👩🏻‍❤️‍👨🏽","👩🏻‍❤️‍👨🏾","👩🏻‍❤️‍👨🏿","👩🏼‍❤️‍👨🏻","👩🏼‍❤️‍👨🏼","👩🏼‍❤️‍👨🏽","👩🏼‍❤️‍👨🏾","👩🏼‍❤️‍👨🏿","👩🏽‍❤️‍👨🏻","👩🏽‍❤️‍👨🏼","👩🏽‍❤️‍👨🏽","👩🏽‍❤️‍👨🏾","👩🏽‍❤️‍👨🏿","👩🏾‍❤️‍👨🏻","👩🏾‍❤️‍👨🏼","👩🏾‍❤️‍👨🏽","👩🏾‍❤️‍👨🏾","👩🏾‍❤️‍👨🏿","👩🏿‍❤️‍👨🏻","👩🏿‍❤️‍👨🏼","👩🏿‍❤️‍👨🏽","👩🏿‍❤️‍👨🏾","👩🏿‍❤️‍👨🏿","👨‍❤️‍👨","👨🏻‍❤️‍👨🏻","👨🏻‍❤️‍👨🏼","👨🏻‍❤️‍👨🏽","👨🏻‍❤️‍👨🏾","👨🏻‍❤️‍👨🏿","👨🏼‍❤️‍👨🏻","👨🏼‍❤️‍👨🏼","👨🏼‍❤️‍👨🏽","👨🏼‍❤️‍👨🏾","👨🏼‍❤️‍👨🏿","👨🏽‍❤️‍👨🏻","👨🏽‍❤️‍👨🏼","👨🏽‍❤️‍👨🏽","👨🏽‍❤️‍👨🏾","👨🏽‍❤️‍👨🏿","👨🏾‍❤️‍👨🏻","👨🏾‍❤️‍👨🏼","👨🏾‍❤️‍👨🏽","👨🏾‍❤️‍👨🏾","👨🏾‍❤️‍👨🏿","👨🏿‍❤️‍👨🏻","👨🏿‍❤️‍👨🏼","👨🏿‍❤️‍👨🏽","👨🏿‍❤️‍👨🏾","👨🏿‍❤️‍👨🏿","👩‍❤️‍👩","👩🏻‍❤️‍👩🏻","👩🏻‍❤️‍👩🏼","👩🏻‍❤️‍👩🏽","👩🏻‍❤️‍👩🏾","👩🏻‍❤️‍👩🏿","👩🏼‍❤️‍👩🏻","👩🏼‍❤️‍👩🏼","👩🏼‍❤️‍👩🏽","👩🏼‍❤️‍👩🏾","👩🏼‍❤️‍👩🏿","👩🏽‍❤️‍👩🏻","👩🏽‍❤️‍👩🏼","👩🏽‍❤️‍👩🏽","👩🏽‍❤️‍👩🏾","👩🏽‍❤️‍👩🏿","👩🏾‍❤️‍👩🏻","👩🏾‍❤️‍👩🏼","👩🏾‍❤️‍👩🏽","👩🏾‍❤️‍👩🏾","👩🏾‍❤️‍👩🏿","👩🏿‍❤️‍👩🏻","👩🏿‍❤️‍👩🏼","👩🏿‍❤️‍👩🏽","👩🏿‍❤️‍👩🏾","👩🏿‍❤️‍👩🏿","👪","👨‍👩‍👦","👨‍👩‍👧","👨‍👩‍👧‍👦","👨‍👩‍👦‍👦","👨‍👩‍👧‍👧","👨‍👨‍👦","👨‍👨‍👧","👨‍👨‍👧‍👦","👨‍👨‍👦‍👦","👨‍👨‍👧‍👧","👩‍👩‍👦","👩‍👩‍👧","👩‍👩‍👧‍👦","👩‍👩‍👦‍👦","👩‍👩‍👧‍👧","👨‍👦","👨‍👦‍👦","👨‍👧","👨‍👧‍👦","👨‍👧‍👧","👩‍👦","👩‍👦‍👦","👩‍👧","👩‍👧‍👦","👩‍👧‍👧","🗣️","👤","👥","🫂","👣"],nature:["🐵","🐒","🦍","🦧","🐶","🐕","🦮","🐕‍🦺","🐩","🐺","🦊","🦝","🐱","🐈","🐈‍⬛","🦁","🐯","🐅","🐆","🐴","🐎","🦄","🦓","🦌","🦬","🐮","🐂","🐃","🐄","🐷","🐖","🐗","🐽","🐏","🐑","🐐","🐪","🐫","🦙","🦒","🐘","🦣","🦏","🦛","🐭","🐁","🐀","🐹","🐰","🐇","🐿️","🦫","🦔","🦇","🐻","🐻‍❄️","🐨","🐼","🦥","🦦","🦨","🦘","🦡","🐾","🦃","🐔","🐓","🐣","🐤","🐥","🐦","🐧","🕊️","🦅","🦆","🦢","🦉","🦤","🪶","🦩","🦚","🦜","🐸","🐊","🐢","🦎","🐍","🐲","🐉","🦕","🦖","🐳","🐋","🐬","🦭","🐟","🐠","🐡","🦈","🐙","🐚","🐌","🦋","🐛","🐜","🐝","🪲","🐞","🦗","🪳","🕷️","🕸️","🦂","🦟","🪰","🪱","🦠","💐","🌸","💮","🏵️","🌹","🥀","🌺","🌻","🌼","🌷","🌱","🪴","🌲","🌳","🌴","🌵","🌾","🌿","☘️","🍀","🍁","🍂","🍃"],food:["🍇","🍈","🍉","🍊","🍋","🍌","🍍","🥭","🍎","🍏","🍐","🍑","🍒","🍓","🫐","🥝","🍅","🫒","🥥","🥑","🍆","🥔","🥕","🌽","🌶️","🫑","🥒","🥬","🥦","🧄","🧅","🍄","🥜","🌰","🍞","🥐","🥖","🫓","🥨","🥯","🥞","🧇","🧀","🍖","🍗","🥩","🥓","🍔","🍟","🍕","🌭","🥪","🌮","🌯","🫔","🥙","🧆","🥚","🍳","🥘","🍲","🫕","🥣","🥗","🍿","🧈","🧂","🥫","🍱","🍘","🍙","🍚","🍛","🍜","🍝","🍠","🍢","🍣","🍤","🍥","🥮","🍡","🥟","🥠","🥡","🦀","🦞","🦐","🦑","🦪","🍦","🍧","🍨","🍩","🍪","🎂","🍰","🧁","🥧","🍫","🍬","🍭","🍮","🍯","🍼","🥛","☕","🫖","🍵","🍶","🍾","🍷","🍸","🍹","🍺","🍻","🥂","🥃","🥤","🧋","🧃","🧉","🧊","🥢","🍽️","🍴","🥄","🔪","🏺"],travel:["🌍","🌎","🌏","🌐","🗺️","🗾","🧭","🏔️","⛰️","🌋","🗻","🏕️","🏖️","🏜️","🏝️","🏞️","🏟️","🏛️","🏗️","🧱","🪨","🪵","🛖","🏘️","🏚️","🏠","🏡","🏢","🏣","🏤","🏥","🏦","🏨","🏩","🏪","🏫","🏬","🏭","🏯","🏰","💒","🗼","🗽","⛪","🕌","🛕","🕍","⛩️","🕋","⛲","⛺","🌁","🌃","🏙️","🌄","🌅","🌆","🌇","🌉","♨️","🎠","🎡","🎢","💈","🎪","🚂","🚃","🚄","🚅","🚆","🚇","🚈","🚉","🚊","🚝","🚞","🚋","🚌","🚍","🚎","🚐","🚑","🚒","🚓","🚔","🚕","🚖","🚗","🚘","🚙","🛻","🚚","🚛","🚜","🏎️","🏍️","🛵","🦽","🦼","🛺","🚲","🛴","🛹","🛼","🚏","🛣️","🛤️","🛢️","⛽","🚨","🚥","🚦","🛑","🚧","⚓","⛵","🛶","🚤","🛳️","⛴️","🛥️","🚢","✈️","🛩️","🛫","🛬","🪂","💺","🚁","🚟","🚠","🚡","🛰️","🚀","🛸","🛎️","🧳","⌛","⏳","⌚","⏰","⏱️","⏲️","🕰️","🕛","🕧","🕐","🕜","🕑","🕝","🕒","🕞","🕓","🕟","🕔","🕠","🕕","🕡","🕖","🕢","🕗","🕣","🕘","🕤","🕙","🕥","🕚","🕦","🌑","🌒","🌓","🌔","🌕","🌖","🌗","🌘","🌙","🌚","🌛","🌜","🌡️","☀️","🌝","🌞","🪐","⭐","🌟","🌠","🌌","☁️","⛅","⛈️","🌤️","🌥️","🌦️","🌧️","🌨️","🌩️","🌪️","🌫️","🌬️","🌀","🌈","🌂","☂️","☔","⛱️","⚡","❄️","☃️","⛄","☄️","🔥","💧","🌊"],activity:["🎃","🎄","🎆","🎇","🧨","✨","🎈","🎉","🎊","🎋","🎍","🎎","🎏","🎐","🎑","🧧","🎀","🎁","🎗️","🎟️","🎫","🎖️","🏆","🏅","🥇","🥈","🥉","⚽","⚾","🥎","🏀","🏐","🏈","🏉","🎾","🥏","🎳","🏏","🏑","🏒","🥍","🏓","🏸","🥊","🥋","🥅","⛳","⛸️","🎣","🤿","🎽","🎿","🛷","🥌","🎯","🪀","🪁","🎱","🔮","🪄","🧿","🎮","🕹️","🎰","🎲","🧩","🧸","🪅","🪆","♠️","♥️","♦️","♣️","♟️","🃏","🀄","🎴","🎭","🖼️","🎨","🧵","🪡","🧶","🪢"],object:["👓","🕶️","🥽","🥼","🦺","👔","👕","👖","🧣","🧤","🧥","🧦","👗","👘","🥻","🩱","🩲","🩳","👙","👚","👛","👜","👝","🛍️","🎒","🩴","👞","👟","🥾","🥿","👠","👡","🩰","👢","👑","👒","🎩","🎓","🧢","🪖","⛑️","📿","💄","💍","💎","🔇","🔈","🔉","🔊","📢","📣","📯","🔔","🔕","🎼","🎵","🎶","🎙️","🎚️","🎛️","🎤","🎧","📻","🎷","🪗","🎸","🎹","🎺","🎻","🪕","🥁","🪘","📱","📲","☎️","📞","📟","📠","🔋","🔌","💻","🖥️","🖨️","⌨️","🖱️","🖲️","💽","💾","💿","📀","🧮","🎥","🎞️","📽️","🎬","📺","📷","📸","📹","📼","🔍","🔎","🕯️","💡","🔦","🏮","🪔","📔","📕","📖","📗","📘","📙","📚","📓","📒","📃","📜","📄","📰","🗞️","📑","🔖","🏷️","💰","🪙","💴","💵","💶","💷","💸","💳","🧾","💹","✉️","📧","📨","📩","📤","📥","📦","📫","📪","📬","📭","📮","🗳️","✏️","✒️","🖋️","🖊️","🖌️","🖍️","📝","💼","📁","📂","🗂️","📅","📆","🗒️","🗓️","📇","📈","📉","📊","📋","📌","📍","📎","🖇️","📏","📐","✂️","🗃️","🗄️","🗑️","🔒","🔓","🔏","🔐","🔑","🗝️","🔨","🪓","⛏️","⚒️","🛠️","🗡️","⚔️","🔫","🪃","🏹","🛡️","🪚","🔧","🪛","🔩","⚙️","🗜️","⚖️","🦯","🔗","⛓️","🪝","🧰","🧲","🪜","⚗️","🧪","🧫","🧬","🔬","🔭","📡","💉","🩸","💊","🩹","🩺","🚪","🛗","🪞","🪟","🛏️","🛋️","🪑","🚽","🪠","🚿","🛁","🪤","🪒","🧴","🧷","🧹","🧺","🧻","🪣","🧼","🪥","🧽","🧯","🛒","🚬","⚰️","🪦","⚱️","🗿","🪧"],symbol:["🏧","🚮","🚰","♿","🚹","🚺","🚻","🚼","🚾","🛂","🛃","🛄","🛅","⚠️","🚸","⛔","🚫","🚳","🚭","🚯","🚱","🚷","📵","🔞","☢️","☣️","⬆️","↗️","➡️","↘️","⬇️","↙️","⬅️","↖️","↕️","↔️","↩️","↪️","⤴️","⤵️","🔃","🔄","🔙","🔚","🔛","🔜","🔝","🛐","⚛️","🕉️","✡️","☸️","☯️","✝️","☦️","☪️","☮️","🕎","🔯","♈","♉","♊","♋","♌","♍","♎","♏","♐","♑","♒","♓","⛎","🔀","🔁","🔂","▶️","⏩","⏭️","⏯️","◀️","⏪","⏮️","🔼","⏫","🔽","⏬","⏸️","⏹️","⏺️","⏏️","🎦","🔅","🔆","📶","📳","📴","♀️","♂️","⚧️","✖️","➕","➖","➗","♾️","‼️","⁉️","❓","❔","❕","❗","〰️","💱","💲","⚕️","♻️","⚜️","🔱","📛","🔰","⭕","✅","☑️","✔️","❌","❎","➰","➿","〽️","✳️","✴️","❇️","©️","®️","™️","#️⃣","*️⃣","0️⃣","1️⃣","2️⃣","3️⃣","4️⃣","5️⃣","6️⃣","7️⃣","8️⃣","9️⃣","🔟","🔠","🔡","🔢","🔣","🔤","🅰️","🆎","🅱️","🆑","🆒","🆓","ℹ️","🆔","Ⓜ️","🆕","🆖","🅾️","🆗","🅿️","🆘","🆙","🆚","🈁","🈂️","🈷️","🈶","🈯","🉐","🈹","🈚","🈲","🉑","🈸","🈴","🈳","㊗️","㊙️","🈺","🈵","🔴","🟠","🟡","🟢","🔵","🟣","🟤","⚫","⚪","🟥","🟧","🟨","🟩","🟦","🟪","🟫","⬛","⬜","◼️","◻️","◾","◽","▪️","▫️","🔶","🔷","🔸","🔹","🔺","🔻","💠","🔘","🔳","🔲"],flag:["🏁","🚩","🎌","🏴","🏳️","🏳️‍🌈","🏳️‍⚧️","🏴‍☠️","🇦🇨","🇦🇩","🇦🇪","🇦🇫","🇦🇬","🇦🇮","🇦🇱","🇦🇲","🇦🇴","🇦🇶","🇦🇷","🇦🇸","🇦🇹","🇦🇺","🇦🇼","🇦🇽","🇦🇿","🇧🇦","🇧🇧","🇧🇩","🇧🇪","🇧🇫","🇧🇬","🇧🇭","🇧🇮","🇧🇯","🇧🇱","🇧🇲","🇧🇳","🇧🇴","🇧🇶","🇧🇷","🇧🇸","🇧🇹","🇧🇻","🇧🇼","🇧🇾","🇧🇿","🇨🇦","🇨🇨","🇨🇩","🇨🇫","🇨🇬","🇨🇭","🇨🇮","🇨🇰","🇨🇱","🇨🇲","🇨🇳","🇨🇴","🇨🇵","🇨🇷","🇨🇺","🇨🇻","🇨🇼","🇨🇽","🇨🇾","🇨🇿","🇩🇪","🇩🇬","🇩🇯","🇩🇰","🇩🇲","🇩🇴","🇩🇿","🇪🇦","🇪🇨","🇪🇪","🇪🇬","🇪🇭","🇪🇷","🇪🇸","🇪🇹","🇪🇺","🇫🇮","🇫🇯","🇫🇰","🇫🇲","🇫🇴","🇫🇷","🇬🇦","🇬🇧","🇬🇩","🇬🇪","🇬🇫","🇬🇬","🇬🇭","🇬🇮","🇬🇱","🇬🇲","🇬🇳","🇬🇵","🇬🇶","🇬🇷","🇬🇸","🇬🇹","🇬🇺","🇬🇼","🇬🇾","🇭🇰","🇭🇲","🇭🇳","🇭🇷","🇭🇹","🇭🇺","🇮🇨","🇮🇩","🇮🇪","🇮🇱","🇮🇲","🇮🇳","🇮🇴","🇮🇶","🇮🇷","🇮🇸","🇮🇹","🇯🇪","🇯🇲","🇯🇴","🇯🇵","🇰🇪","🇰🇬","🇰🇭","🇰🇮","🇰🇲","🇰🇳","🇰🇵","🇰🇷","🇰🇼","🇰🇾","🇰🇿","🇱🇦","🇱🇧","🇱🇨","🇱🇮","🇱🇰","🇱🇷","🇱🇸","🇱🇹","🇱🇺","🇱🇻","🇱🇾","🇲🇦","🇲🇨","🇲🇩","🇲🇪","🇲🇫","🇲🇬","🇲🇭","🇲🇰","🇲🇱","🇲🇲","🇲🇳","🇲🇴","🇲🇵","🇲🇶","🇲🇷","🇲🇸","🇲🇹","🇲🇺","🇲🇻","🇲🇼","🇲🇽","🇲🇾","🇲🇿","🇳🇦","🇳🇨","🇳🇪","🇳🇫","🇳🇬","🇳🇮","🇳🇱","🇳🇴","🇳🇵","🇳🇷","🇳🇺","🇳🇿","🇴🇲","🇵🇦","🇵🇪","🇵🇫","🇵🇬","🇵🇭","🇵🇰","🇵🇱","🇵🇲","🇵🇳","🇵🇷","🇵🇸","🇵🇹","🇵🇼","🇵🇾","🇶🇦","🇷🇪","🇷🇴","🇷🇸","🇷🇺","🇷🇼","🇸🇦","🇸🇧","🇸🇨","🇸🇩","🇸🇪","🇸🇬","🇸🇭","🇸🇮","🇸🇯","🇸🇰","🇸🇱","🇸🇲","🇸🇳","🇸🇴","🇸🇷","🇸🇸","🇸🇹","🇸🇻","🇸🇽","🇸🇾","🇸🇿","🇹🇦","🇹🇨","🇹🇩","🇹🇫","🇹🇬","🇹🇭","🇹🇯","🇹🇰","🇹🇱","🇹🇲","🇹🇳","🇹🇴","🇹🇷","🇹🇹","🇹🇻","🇹🇼","🇹🇿","🇺🇦","🇺🇬","🇺🇲","🇺🇳","🇺🇸","🇺🇾","🇺🇿","🇻🇦","🇻🇨","🇻🇪","🇻🇬","🇻🇮","🇻🇳","🇻🇺","🇼🇫","🇼🇸","🇽🇰","🇾🇪","🇾🇹","🇿🇦","🇿🇲","🇿🇼"]},su={informational:[100,101,102,103],success:[200,201,202,203,204,205,206,207,208,226],redirection:[300,301,302,303,304,305,306,307,308],clientError:[400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,421,422,423,424,425,426,428,429,431,451],serverError:[500,501,502,503,504,505,506,507,508,510,511]},uu={emoji:gu,http_status_code:su},ru=uu,lu=[{alpha2:"AD",alpha3:"AND",numeric:"020"},{alpha2:"AE",alpha3:"ARE",numeric:"784"},{alpha2:"AF",alpha3:"AFG",numeric:"004"},{alpha2:"AG",alpha3:"ATG",numeric:"028"},{alpha2:"AI",alpha3:"AIA",numeric:"660"},{alpha2:"AL",alpha3:"ALB",numeric:"008"},{alpha2:"AM",alpha3:"ARM",numeric:"051"},{alpha2:"AO",alpha3:"AGO",numeric:"024"},{alpha2:"AQ",alpha3:"ATA",numeric:"010"},{alpha2:"AR",alpha3:"ARG",numeric:"032"},{alpha2:"AS",alpha3:"ASM",numeric:"016"},{alpha2:"AT",alpha3:"AUT",numeric:"040"},{alpha2:"AU",alpha3:"AUS",numeric:"036"},{alpha2:"AW",alpha3:"ABW",numeric:"533"},{alpha2:"AX",alpha3:"ALA",numeric:"248"},{alpha2:"AZ",alpha3:"AZE",numeric:"031"},{alpha2:"BA",alpha3:"BIH",numeric:"070"},{alpha2:"BB",alpha3:"BRB",numeric:"052"},{alpha2:"BD",alpha3:"BGD",numeric:"050"},{alpha2:"BE",alpha3:"BEL",numeric:"056"},{alpha2:"BF",alpha3:"BFA",numeric:"854"},{alpha2:"BG",alpha3:"BGR",numeric:"100"},{alpha2:"BH",alpha3:"BHR",numeric:"048"},{alpha2:"BI",alpha3:"BDI",numeric:"108"},{alpha2:"BJ",alpha3:"BEN",numeric:"204"},{alpha2:"BL",alpha3:"BLM",numeric:"652"},{alpha2:"BM",alpha3:"BMU",numeric:"060"},{alpha2:"BN",alpha3:"BRN",numeric:"096"},{alpha2:"BO",alpha3:"BOL",numeric:"068"},{alpha2:"BQ",alpha3:"BES",numeric:"535"},{alpha2:"BR",alpha3:"BRA",numeric:"076"},{alpha2:"BS",alpha3:"BHS",numeric:"044"},{alpha2:"BT",alpha3:"BTN",numeric:"064"},{alpha2:"BV",alpha3:"BVT",numeric:"074"},{alpha2:"BW",alpha3:"BWA",numeric:"072"},{alpha2:"BY",alpha3:"BLR",numeric:"112"},{alpha2:"BZ",alpha3:"BLZ",numeric:"084"},{alpha2:"CA",alpha3:"CAN",numeric:"124"},{alpha2:"CC",alpha3:"CCK",numeric:"166"},{alpha2:"CD",alpha3:"COD",numeric:"180"},{alpha2:"CF",alpha3:"CAF",numeric:"140"},{alpha2:"CG",alpha3:"COG",numeric:"178"},{alpha2:"CH",alpha3:"CHE",numeric:"756"},{alpha2:"CI",alpha3:"CIV",numeric:"384"},{alpha2:"CK",alpha3:"COK",numeric:"184"},{alpha2:"CL",alpha3:"CHL",numeric:"152"},{alpha2:"CM",alpha3:"CMR",numeric:"120"},{alpha2:"CN",alpha3:"CHN",numeric:"156"},{alpha2:"CO",alpha3:"COL",numeric:"170"},{alpha2:"CR",alpha3:"CRI",numeric:"188"},{alpha2:"CU",alpha3:"CUB",numeric:"192"},{alpha2:"CV",alpha3:"CPV",numeric:"132"},{alpha2:"CW",alpha3:"CUW",numeric:"531"},{alpha2:"CX",alpha3:"CXR",numeric:"162"},{alpha2:"CY",alpha3:"CYP",numeric:"196"},{alpha2:"CZ",alpha3:"CZE",numeric:"203"},{alpha2:"DE",alpha3:"DEU",numeric:"276"},{alpha2:"DJ",alpha3:"DJI",numeric:"262"},{alpha2:"DK",alpha3:"DNK",numeric:"208"},{alpha2:"DM",alpha3:"DMA",numeric:"212"},{alpha2:"DO",alpha3:"DOM",numeric:"214"},{alpha2:"DZ",alpha3:"DZA",numeric:"012"},{alpha2:"EC",alpha3:"ECU",numeric:"218"},{alpha2:"EE",alpha3:"EST",numeric:"233"},{alpha2:"EG",alpha3:"EGY",numeric:"818"},{alpha2:"EH",alpha3:"ESH",numeric:"732"},{alpha2:"ER",alpha3:"ERI",numeric:"232"},{alpha2:"ES",alpha3:"ESP",numeric:"724"},{alpha2:"ET",alpha3:"ETH",numeric:"231"},{alpha2:"FI",alpha3:"FIN",numeric:"246"},{alpha2:"FJ",alpha3:"FJI",numeric:"242"},{alpha2:"FK",alpha3:"FLK",numeric:"238"},{alpha2:"FM",alpha3:"FSM",numeric:"583"},{alpha2:"FO",alpha3:"FRO",numeric:"234"},{alpha2:"FR",alpha3:"FRA",numeric:"250"},{alpha2:"GA",alpha3:"GAB",numeric:"266"},{alpha2:"GB",alpha3:"GBR",numeric:"826"},{alpha2:"GD",alpha3:"GRD",numeric:"308"},{alpha2:"GE",alpha3:"GEO",numeric:"268"},{alpha2:"GF",alpha3:"GUF",numeric:"254"},{alpha2:"GG",alpha3:"GGY",numeric:"831"},{alpha2:"GH",alpha3:"GHA",numeric:"288"},{alpha2:"GI",alpha3:"GIB",numeric:"292"},{alpha2:"GL",alpha3:"GRL",numeric:"304"},{alpha2:"GM",alpha3:"GMB",numeric:"270"},{alpha2:"GN",alpha3:"GIN",numeric:"324"},{alpha2:"GP",alpha3:"GLP",numeric:"312"},{alpha2:"GQ",alpha3:"GNQ",numeric:"226"},{alpha2:"GR",alpha3:"GRC",numeric:"300"},{alpha2:"GS",alpha3:"SGS",numeric:"239"},{alpha2:"GT",alpha3:"GTM",numeric:"320"},{alpha2:"GU",alpha3:"GUM",numeric:"316"},{alpha2:"GW",alpha3:"GNB",numeric:"624"},{alpha2:"GY",alpha3:"GUY",numeric:"328"},{alpha2:"HK",alpha3:"HKG",numeric:"344"},{alpha2:"HM",alpha3:"HMD",numeric:"334"},{alpha2:"HN",alpha3:"HND",numeric:"340"},{alpha2:"HR",alpha3:"HRV",numeric:"191"},{alpha2:"HT",alpha3:"HTI",numeric:"332"},{alpha2:"HU",alpha3:"HUN",numeric:"348"},{alpha2:"ID",alpha3:"IDN",numeric:"360"},{alpha2:"IE",alpha3:"IRL",numeric:"372"},{alpha2:"IL",alpha3:"ISR",numeric:"376"},{alpha2:"IM",alpha3:"IMN",numeric:"833"},{alpha2:"IN",alpha3:"IND",numeric:"356"},{alpha2:"IO",alpha3:"IOT",numeric:"086"},{alpha2:"IQ",alpha3:"IRQ",numeric:"368"},{alpha2:"IR",alpha3:"IRN",numeric:"364"},{alpha2:"IS",alpha3:"ISL",numeric:"352"},{alpha2:"IT",alpha3:"ITA",numeric:"380"},{alpha2:"JE",alpha3:"JEY",numeric:"832"},{alpha2:"JM",alpha3:"JAM",numeric:"388"},{alpha2:"JO",alpha3:"JOR",numeric:"400"},{alpha2:"JP",alpha3:"JPN",numeric:"392"},{alpha2:"KE",alpha3:"KEN",numeric:"404"},{alpha2:"KG",alpha3:"KGZ",numeric:"417"},{alpha2:"KH",alpha3:"KHM",numeric:"116"},{alpha2:"KI",alpha3:"KIR",numeric:"296"},{alpha2:"KM",alpha3:"COM",numeric:"174"},{alpha2:"KN",alpha3:"KNA",numeric:"659"},{alpha2:"KP",alpha3:"PRK",numeric:"408"},{alpha2:"KR",alpha3:"KOR",numeric:"410"},{alpha2:"KW",alpha3:"KWT",numeric:"414"},{alpha2:"KY",alpha3:"CYM",numeric:"136"},{alpha2:"KZ",alpha3:"KAZ",numeric:"398"},{alpha2:"LA",alpha3:"LAO",numeric:"418"},{alpha2:"LB",alpha3:"LBN",numeric:"422"},{alpha2:"LC",alpha3:"LCA",numeric:"662"},{alpha2:"LI",alpha3:"LIE",numeric:"438"},{alpha2:"LK",alpha3:"LKA",numeric:"144"},{alpha2:"LR",alpha3:"LBR",numeric:"430"},{alpha2:"LS",alpha3:"LSO",numeric:"426"},{alpha2:"LT",alpha3:"LTU",numeric:"440"},{alpha2:"LU",alpha3:"LUX",numeric:"442"},{alpha2:"LV",alpha3:"LVA",numeric:"428"},{alpha2:"LY",alpha3:"LBY",numeric:"434"},{alpha2:"MA",alpha3:"MAR",numeric:"504"},{alpha2:"MC",alpha3:"MCO",numeric:"492"},{alpha2:"MD",alpha3:"MDA",numeric:"498"},{alpha2:"ME",alpha3:"MNE",numeric:"499"},{alpha2:"MF",alpha3:"MAF",numeric:"663"},{alpha2:"MG",alpha3:"MDG",numeric:"450"},{alpha2:"MH",alpha3:"MHL",numeric:"584"},{alpha2:"MK",alpha3:"MKD",numeric:"807"},{alpha2:"ML",alpha3:"MLI",numeric:"466"},{alpha2:"MM",alpha3:"MMR",numeric:"104"},{alpha2:"MN",alpha3:"MNG",numeric:"496"},{alpha2:"MO",alpha3:"MAC",numeric:"446"},{alpha2:"MP",alpha3:"MNP",numeric:"580"},{alpha2:"MQ",alpha3:"MTQ",numeric:"474"},{alpha2:"MR",alpha3:"MRT",numeric:"478"},{alpha2:"MS",alpha3:"MSR",numeric:"500"},{alpha2:"MT",alpha3:"MLT",numeric:"470"},{alpha2:"MU",alpha3:"MUS",numeric:"480"},{alpha2:"MV",alpha3:"MDV",numeric:"462"},{alpha2:"MW",alpha3:"MWI",numeric:"454"},{alpha2:"MX",alpha3:"MEX",numeric:"484"},{alpha2:"MY",alpha3:"MYS",numeric:"458"},{alpha2:"MZ",alpha3:"MOZ",numeric:"508"},{alpha2:"NA",alpha3:"NAM",numeric:"516"},{alpha2:"NC",alpha3:"NCL",numeric:"540"},{alpha2:"NE",alpha3:"NER",numeric:"562"},{alpha2:"NF",alpha3:"NFK",numeric:"574"},{alpha2:"NG",alpha3:"NGA",numeric:"566"},{alpha2:"NI",alpha3:"NIC",numeric:"558"},{alpha2:"NL",alpha3:"NLD",numeric:"528"},{alpha2:"NO",alpha3:"NOR",numeric:"578"},{alpha2:"NP",alpha3:"NPL",numeric:"524"},{alpha2:"NR",alpha3:"NRU",numeric:"520"},{alpha2:"NU",alpha3:"NIU",numeric:"570"},{alpha2:"NZ",alpha3:"NZL",numeric:"554"},{alpha2:"OM",alpha3:"OMN",numeric:"512"},{alpha2:"PA",alpha3:"PAN",numeric:"591"},{alpha2:"PE",alpha3:"PER",numeric:"604"},{alpha2:"PF",alpha3:"PYF",numeric:"258"},{alpha2:"PG",alpha3:"PNG",numeric:"598"},{alpha2:"PH",alpha3:"PHL",numeric:"608"},{alpha2:"PK",alpha3:"PAK",numeric:"586"},{alpha2:"PL",alpha3:"POL",numeric:"616"},{alpha2:"PM",alpha3:"SPM",numeric:"666"},{alpha2:"PN",alpha3:"PCN",numeric:"612"},{alpha2:"PR",alpha3:"PRI",numeric:"630"},{alpha2:"PS",alpha3:"PSE",numeric:"275"},{alpha2:"PT",alpha3:"PRT",numeric:"620"},{alpha2:"PW",alpha3:"PLW",numeric:"585"},{alpha2:"PY",alpha3:"PRY",numeric:"600"},{alpha2:"QA",alpha3:"QAT",numeric:"634"},{alpha2:"RE",alpha3:"REU",numeric:"638"},{alpha2:"RO",alpha3:"ROU",numeric:"642"},{alpha2:"RS",alpha3:"SRB",numeric:"688"},{alpha2:"RU",alpha3:"RUS",numeric:"643"},{alpha2:"RW",alpha3:"RWA",numeric:"646"},{alpha2:"SA",alpha3:"SAU",numeric:"682"},{alpha2:"SB",alpha3:"SLB",numeric:"090"},{alpha2:"SC",alpha3:"SYC",numeric:"690"},{alpha2:"SD",alpha3:"SDN",numeric:"729"},{alpha2:"SE",alpha3:"SWE",numeric:"752"},{alpha2:"SG",alpha3:"SGP",numeric:"702"},{alpha2:"SH",alpha3:"SHN",numeric:"654"},{alpha2:"SI",alpha3:"SVN",numeric:"705"},{alpha2:"SJ",alpha3:"SJM",numeric:"744"},{alpha2:"SK",alpha3:"SVK",numeric:"703"},{alpha2:"SL",alpha3:"SLE",numeric:"694"},{alpha2:"SM",alpha3:"SMR",numeric:"674"},{alpha2:"SN",alpha3:"SEN",numeric:"686"},{alpha2:"SO",alpha3:"SOM",numeric:"706"},{alpha2:"SR",alpha3:"SUR",numeric:"740"},{alpha2:"SS",alpha3:"SSD",numeric:"728"},{alpha2:"ST",alpha3:"STP",numeric:"678"},{alpha2:"SV",alpha3:"SLV",numeric:"222"},{alpha2:"SX",alpha3:"SXM",numeric:"534"},{alpha2:"SY",alpha3:"SYR",numeric:"760"},{alpha2:"SZ",alpha3:"SWZ",numeric:"748"},{alpha2:"TC",alpha3:"TCA",numeric:"796"},{alpha2:"TD",alpha3:"TCD",numeric:"148"},{alpha2:"TF",alpha3:"ATF",numeric:"260"},{alpha2:"TG",alpha3:"TGO",numeric:"768"},{alpha2:"TH",alpha3:"THA",numeric:"764"},{alpha2:"TJ",alpha3:"TJK",numeric:"762"},{alpha2:"TK",alpha3:"TKL",numeric:"772"},{alpha2:"TL",alpha3:"TLS",numeric:"626"},{alpha2:"TM",alpha3:"TKM",numeric:"795"},{alpha2:"TN",alpha3:"TUN",numeric:"788"},{alpha2:"TO",alpha3:"TON",numeric:"776"},{alpha2:"TR",alpha3:"TUR",numeric:"792"},{alpha2:"TT",alpha3:"TTO",numeric:"780"},{alpha2:"TV",alpha3:"TUV",numeric:"798"},{alpha2:"TW",alpha3:"TWN",numeric:"158"},{alpha2:"TZ",alpha3:"TZA",numeric:"834"},{alpha2:"UA",alpha3:"UKR",numeric:"804"},{alpha2:"UG",alpha3:"UGA",numeric:"800"},{alpha2:"UM",alpha3:"UMI",numeric:"581"},{alpha2:"US",alpha3:"USA",numeric:"840"},{alpha2:"UY",alpha3:"URY",numeric:"858"},{alpha2:"UZ",alpha3:"UZB",numeric:"860"},{alpha2:"VA",alpha3:"VAT",numeric:"336"},{alpha2:"VC",alpha3:"VCT",numeric:"670"},{alpha2:"VE",alpha3:"VEN",numeric:"862"},{alpha2:"VG",alpha3:"VGB",numeric:"092"},{alpha2:"VI",alpha3:"VIR",numeric:"850"},{alpha2:"VN",alpha3:"VNM",numeric:"704"},{alpha2:"VU",alpha3:"VUT",numeric:"548"},{alpha2:"WF",alpha3:"WLF",numeric:"876"},{alpha2:"WS",alpha3:"WSM",numeric:"882"},{alpha2:"YE",alpha3:"YEM",numeric:"887"},{alpha2:"YT",alpha3:"MYT",numeric:"175"},{alpha2:"ZA",alpha3:"ZAF",numeric:"710"},{alpha2:"ZM",alpha3:"ZMB",numeric:"894"},{alpha2:"ZW",alpha3:"ZWE",numeric:"716"}],mu=["Africa/Abidjan","Africa/Accra","Africa/Addis_Ababa","Africa/Algiers","Africa/Asmara","Africa/Bamako","Africa/Bangui","Africa/Banjul","Africa/Bissau","Africa/Blantyre","Africa/Brazzaville","Africa/Bujumbura","Africa/Cairo","Africa/Casablanca","Africa/Ceuta","Africa/Conakry","Africa/Dakar","Africa/Dar_es_Salaam","Africa/Djibouti","Africa/Douala","Africa/El_Aaiun","Africa/Freetown","Africa/Gaborone","Africa/Harare","Africa/Johannesburg","Africa/Juba","Africa/Kampala","Africa/Khartoum","Africa/Kigali","Africa/Kinshasa","Africa/Lagos","Africa/Libreville","Africa/Lome","Africa/Luanda","Africa/Lubumbashi","Africa/Lusaka","Africa/Malabo","Africa/Maputo","Africa/Maseru","Africa/Mbabane","Africa/Mogadishu","Africa/Monrovia","Africa/Nairobi","Africa/Ndjamena","Africa/Niamey","Africa/Nouakchott","Africa/Ouagadougou","Africa/Porto-Novo","Africa/Sao_Tome","Africa/Tripoli","Africa/Tunis","Africa/Windhoek","America/Adak","America/Anchorage","America/Anguilla","America/Antigua","America/Araguaina","America/Argentina/Buenos_Aires","America/Argentina/Catamarca","America/Argentina/Cordoba","America/Argentina/Jujuy","America/Argentina/La_Rioja","America/Argentina/Mendoza","America/Argentina/Rio_Gallegos","America/Argentina/Salta","America/Argentina/San_Juan","America/Argentina/San_Luis","America/Argentina/Tucuman","America/Argentina/Ushuaia","America/Aruba","America/Asuncion","America/Atikokan","America/Bahia","America/Bahia_Banderas","America/Barbados","America/Belem","America/Belize","America/Blanc-Sablon","America/Boa_Vista","America/Bogota","America/Boise","America/Cambridge_Bay","America/Campo_Grande","America/Cancun","America/Caracas","America/Cayenne","America/Cayman","America/Chicago","America/Chihuahua","America/Costa_Rica","America/Creston","America/Cuiaba","America/Curacao","America/Danmarkshavn","America/Dawson","America/Dawson_Creek","America/Denver","America/Detroit","America/Dominica","America/Edmonton","America/Eirunepe","America/El_Salvador","America/Fort_Nelson","America/Fortaleza","America/Glace_Bay","America/Goose_Bay","America/Grand_Turk","America/Grenada","America/Guadeloupe","America/Guatemala","America/Guayaquil","America/Guyana","America/Halifax","America/Havana","America/Hermosillo","America/Indiana/Indianapolis","America/Indiana/Knox","America/Indiana/Marengo","America/Indiana/Petersburg","America/Indiana/Tell_City","America/Indiana/Vevay","America/Indiana/Vincennes","America/Indiana/Winamac","America/Inuvik","America/Iqaluit","America/Jamaica","America/Juneau","America/Kentucky/Louisville","America/Kentucky/Monticello","America/Kralendijk","America/La_Paz","America/Lima","America/Los_Angeles","America/Lower_Princes","America/Maceio","America/Managua","America/Manaus","America/Marigot","America/Martinique","America/Matamoros","America/Mazatlan","America/Menominee","America/Merida","America/Metlakatla","America/Mexico_City","America/Miquelon","America/Moncton","America/Monterrey","America/Montevideo","America/Montserrat","America/Nassau","America/New_York","America/Nome","America/Noronha","America/North_Dakota/Beulah","America/North_Dakota/Center","America/North_Dakota/New_Salem","America/Nuuk","America/Ojinaga","America/Panama","America/Paramaribo","America/Phoenix","America/Port-au-Prince","America/Port_of_Spain","America/Porto_Velho","America/Puerto_Rico","America/Punta_Arenas","America/Rankin_Inlet","America/Recife","America/Regina","America/Resolute","America/Rio_Branco","America/Santarem","America/Santiago","America/Santo_Domingo","America/Sao_Paulo","America/Scoresbysund","America/Sitka","America/St_Barthelemy","America/St_Johns","America/St_Kitts","America/St_Lucia","America/St_Thomas","America/St_Vincent","America/Swift_Current","America/Tegucigalpa","America/Thule","America/Tijuana","America/Toronto","America/Tortola","America/Vancouver","America/Whitehorse","America/Winnipeg","America/Yakutat","America/Yellowknife","Antarctica/Casey","Antarctica/Davis","Antarctica/DumontDUrville","Antarctica/Macquarie","Antarctica/Mawson","Antarctica/McMurdo","Antarctica/Palmer","Antarctica/Rothera","Antarctica/Syowa","Antarctica/Troll","Antarctica/Vostok","Arctic/Longyearbyen","Asia/Aden","Asia/Almaty","Asia/Amman","Asia/Anadyr","Asia/Aqtau","Asia/Aqtobe","Asia/Ashgabat","Asia/Atyrau","Asia/Baghdad","Asia/Bahrain","Asia/Baku","Asia/Bangkok","Asia/Barnaul","Asia/Beirut","Asia/Bishkek","Asia/Brunei","Asia/Chita","Asia/Choibalsan","Asia/Colombo","Asia/Damascus","Asia/Dhaka","Asia/Dili","Asia/Dubai","Asia/Dushanbe","Asia/Famagusta","Asia/Gaza","Asia/Hebron","Asia/Ho_Chi_Minh","Asia/Hong_Kong","Asia/Hovd","Asia/Irkutsk","Asia/Jakarta","Asia/Jayapura","Asia/Jerusalem","Asia/Kabul","Asia/Kamchatka","Asia/Karachi","Asia/Kathmandu","Asia/Khandyga","Asia/Kolkata","Asia/Krasnoyarsk","Asia/Kuala_Lumpur","Asia/Kuching","Asia/Kuwait","Asia/Macau","Asia/Magadan","Asia/Makassar","Asia/Manila","Asia/Muscat","Asia/Nicosia","Asia/Novokuznetsk","Asia/Novosibirsk","Asia/Omsk","Asia/Oral","Asia/Phnom_Penh","Asia/Pontianak","Asia/Pyongyang","Asia/Qatar","Asia/Qostanay","Asia/Qyzylorda","Asia/Riyadh","Asia/Sakhalin","Asia/Samarkand","Asia/Seoul","Asia/Shanghai","Asia/Singapore","Asia/Srednekolymsk","Asia/Taipei","Asia/Tashkent","Asia/Tbilisi","Asia/Tehran","Asia/Thimphu","Asia/Tokyo","Asia/Tomsk","Asia/Ulaanbaatar","Asia/Urumqi","Asia/Ust-Nera","Asia/Vientiane","Asia/Vladivostok","Asia/Yakutsk","Asia/Yangon","Asia/Yekaterinburg","Asia/Yerevan","Atlantic/Azores","Atlantic/Bermuda","Atlantic/Canary","Atlantic/Cape_Verde","Atlantic/Faroe","Atlantic/Madeira","Atlantic/Reykjavik","Atlantic/South_Georgia","Atlantic/St_Helena","Atlantic/Stanley","Australia/Adelaide","Australia/Brisbane","Australia/Broken_Hill","Australia/Darwin","Australia/Eucla","Australia/Hobart","Australia/Lindeman","Australia/Lord_Howe","Australia/Melbourne","Australia/Perth","Australia/Sydney","Europe/Amsterdam","Europe/Andorra","Europe/Astrakhan","Europe/Athens","Europe/Belgrade","Europe/Berlin","Europe/Bratislava","Europe/Brussels","Europe/Bucharest","Europe/Budapest","Europe/Busingen","Europe/Chisinau","Europe/Copenhagen","Europe/Dublin","Europe/Gibraltar","Europe/Guernsey","Europe/Helsinki","Europe/Isle_of_Man","Europe/Istanbul","Europe/Jersey","Europe/Kaliningrad","Europe/Kirov","Europe/Kyiv","Europe/Lisbon","Europe/Ljubljana","Europe/London","Europe/Luxembourg","Europe/Madrid","Europe/Malta","Europe/Mariehamn","Europe/Minsk","Europe/Monaco","Europe/Moscow","Europe/Oslo","Europe/Paris","Europe/Podgorica","Europe/Prague","Europe/Riga","Europe/Rome","Europe/Samara","Europe/San_Marino","Europe/Sarajevo","Europe/Saratov","Europe/Simferopol","Europe/Skopje","Europe/Sofia","Europe/Stockholm","Europe/Tallinn","Europe/Tirane","Europe/Ulyanovsk","Europe/Vaduz","Europe/Vatican","Europe/Vienna","Europe/Vilnius","Europe/Volgograd","Europe/Warsaw","Europe/Zagreb","Europe/Zurich","Indian/Antananarivo","Indian/Chagos","Indian/Christmas","Indian/Cocos","Indian/Comoro","Indian/Kerguelen","Indian/Mahe","Indian/Maldives","Indian/Mauritius","Indian/Mayotte","Indian/Reunion","Pacific/Apia","Pacific/Auckland","Pacific/Bougainville","Pacific/Chatham","Pacific/Chuuk","Pacific/Easter","Pacific/Efate","Pacific/Fakaofo","Pacific/Fiji","Pacific/Funafuti","Pacific/Galapagos","Pacific/Gambier","Pacific/Guadalcanal","Pacific/Guam","Pacific/Honolulu","Pacific/Kanton","Pacific/Kiritimati","Pacific/Kosrae","Pacific/Kwajalein","Pacific/Majuro","Pacific/Marquesas","Pacific/Midway","Pacific/Nauru","Pacific/Niue","Pacific/Norfolk","Pacific/Noumea","Pacific/Pago_Pago","Pacific/Palau","Pacific/Pitcairn","Pacific/Pohnpei","Pacific/Port_Moresby","Pacific/Rarotonga","Pacific/Saipan","Pacific/Tahiti","Pacific/Tarawa","Pacific/Tongatapu","Pacific/Wake","Pacific/Wallis"],cu={country_code:lu,time_zone:mu},pu=cu,du={title:"Base",code:"base"},hu=du,Fu=["/Applications","/bin","/boot","/boot/defaults","/dev","/etc","/etc/defaults","/etc/mail","/etc/namedb","/etc/periodic","/etc/ppp","/home","/home/user","/home/user/dir","/lib","/Library","/lost+found","/media","/mnt","/net","/Network","/opt","/opt/bin","/opt/include","/opt/lib","/opt/sbin","/opt/share","/private","/private/tmp","/private/var","/proc","/rescue","/root","/sbin","/selinux","/srv","/sys","/System","/tmp","/Users","/usr","/usr/X11R6","/usr/bin","/usr/include","/usr/lib","/usr/libdata","/usr/libexec","/usr/local/bin","/usr/local/src","/usr/obj","/usr/ports","/usr/sbin","/usr/share","/usr/src","/var","/var/log","/var/mail","/var/spool","/var/tmp","/var/yp"],bu={"application/epub+zip":{extensions:["epub"]},"application/gzip":{extensions:["gz"]},"application/java-archive":{extensions:["jar","war","ear"]},"application/json":{extensions:["json","map"]},"application/ld+json":{extensions:["jsonld"]},"application/msword":{extensions:["doc","dot"]},"application/octet-stream":{extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/ogg":{extensions:["ogx"]},"application/pdf":{extensions:["pdf"]},"application/rtf":{extensions:["rtf"]},"application/vnd.amazon.ebook":{extensions:["azw"]},"application/vnd.apple.installer+xml":{extensions:["mpkg"]},"application/vnd.mozilla.xul+xml":{extensions:["xul"]},"application/vnd.ms-excel":{extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-fontobject":{extensions:["eot"]},"application/vnd.ms-powerpoint":{extensions:["ppt","pps","pot"]},"application/vnd.oasis.opendocument.presentation":{extensions:["odp"]},"application/vnd.oasis.opendocument.spreadsheet":{extensions:["ods"]},"application/vnd.oasis.opendocument.text":{extensions:["odt"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{extensions:["docx"]},"application/vnd.rar":{extensions:["rar"]},"application/vnd.visio":{extensions:["vsd","vst","vss","vsw"]},"application/x-7z-compressed":{extensions:["7z"]},"application/x-abiword":{extensions:["abw"]},"application/x-bzip":{extensions:["bz"]},"application/x-bzip2":{extensions:["bz2","boz"]},"application/x-csh":{extensions:["csh"]},"application/x-freearc":{extensions:["arc"]},"application/x-httpd-php":{extensions:["php"]},"application/x-sh":{extensions:["sh"]},"application/x-tar":{extensions:["tar"]},"application/xhtml+xml":{extensions:["xhtml","xht"]},"application/xml":{extensions:["xml","xsl","xsd","rng"]},"application/zip":{extensions:["zip"]},"audio/3gpp":{extensions:["3gpp"]},"audio/3gpp2":{extensions:["3g2"]},"audio/aac":{extensions:["aac"]},"audio/midi":{extensions:["mid","midi","kar","rmi"]},"audio/mpeg":{extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/ogg":{extensions:["oga","ogg","spx","opus"]},"audio/opus":{extensions:["opus"]},"audio/wav":{extensions:["wav"]},"audio/webm":{extensions:["weba"]},"font/otf":{extensions:["otf"]},"font/ttf":{extensions:["ttf"]},"font/woff":{extensions:["woff"]},"font/woff2":{extensions:["woff2"]},"image/avif":{extensions:["avif"]},"image/bmp":{extensions:["bmp"]},"image/gif":{extensions:["gif"]},"image/jpeg":{extensions:["jpeg","jpg","jpe"]},"image/png":{extensions:["png"]},"image/svg+xml":{extensions:["svg","svgz"]},"image/tiff":{extensions:["tif","tiff"]},"image/vnd.microsoft.icon":{extensions:["ico"]},"image/webp":{extensions:["webp"]},"text/calendar":{extensions:["ics","ifb"]},"text/css":{extensions:["css"]},"text/csv":{extensions:["csv"]},"text/html":{extensions:["html","htm","shtml"]},"text/javascript":{extensions:["js","mjs"]},"text/plain":{extensions:["txt","text","conf","def","list","log","in","ini"]},"video/3gpp":{extensions:["3gp","3gpp"]},"video/3gpp2":{extensions:["3g2"]},"video/mp2t":{extensions:["ts"]},"video/mp4":{extensions:["mp4","mp4v","mpg4"]},"video/mpeg":{extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/ogg":{extensions:["ogv"]},"video/webm":{extensions:["webm"]},"video/x-msvideo":{extensions:["avi"]}},ku={directoryPaths:Fu,mimeTypes:bu},yu=ku,fu={color:Zs,database:iu,hacker:ou,internet:ru,location:pu,metadata:hu,system:yu},Du=fu,Au=[{name:"爱琴海航空公司",iataCode:"A3"},{name:"俄罗斯航空公司",iataCode:"SU"},{name:"阿根廷航空公司",iataCode:"AR"},{name:"墨西哥国际航空公司",iataCode:"AM"},{name:"阿尔及利亚航空公司",iataCode:"AH"},{name:"阿拉伯航空公司",iataCode:"G9"},{name:"加拿大航空公司",iataCode:"AC"},{name:"中国国际航空公司",iataCode:"CA"},{name:"西班牙欧洲航空公司",iataCode:"UX"},{name:"法航荷航集团",iataCode:"AF"},{name:"印度国际航空公司",iataCode:"AI"},{name:"毛里求斯航空公司",iataCode:"MK"},{name:"新西兰航空公司",iataCode:"NZ"},{name:"新几内亚航空公司",iataCode:"PX"},{name:"塔希提航空公司",iataCode:"VT"},{name:"大溪地航空公司",iataCode:"TN"},{name:"越洋航空公司",iataCode:"TS"},{name:"亚洲航空X公司",iataCode:"D7"},{name:"亚洲航空公司",iataCode:"AK"},{name:"喀里多尼亚国际航空公司",iataCode:"SB"},{name:"阿拉斯加航空公司",iataCode:"AS"},{name:"意大利航空公司",iataCode:"AZ"},{name:"全日空公司",iataCode:"NH"},{name:"忠实航空公司",iataCode:"G4"},{name:"美国航空公司",iataCode:"AA"},{name:"韩亚航空公司",iataCode:"OZ"},{name:"哥伦比亚航空公司",iataCode:"AV"},{name:"巴西蔚蓝航空公司",iataCode:"AD"},{name:"蓝色航空公司",iataCode:"ZF"},{name:"北京首都航空公司",iataCode:"JD"},{name:"玻利维亚航空公司",iataCode:"OB"},{name:"英国航空公司",iataCode:"BA"},{name:"国泰航空公司",iataCode:"CX"},{name:"宿雾太平洋航空公司",iataCode:"5J"},{name:"中华航空公司",iataCode:"CI"},{name:"中国东方航空公司",iataCode:"MU"},{name:"中国南方航空公司",iataCode:"CZ"},{name:"神鹰航空公司",iataCode:"DE"},{name:"巴拿马航空公司",iataCode:"CM"},{name:"达美航空公司",iataCode:"DL"},{name:"易飞航空公司",iataCode:"VE"},{name:"易捷航空公司",iataCode:"U2"},{name:"埃及航空公司",iataCode:"MS"},{name:"以色列艾拉航空公司",iataCode:"LY"},{name:"阿联酋航空公司",iataCode:"EK"},{name:"埃塞俄比亚航空公司",iataCode:"ET"},{name:"阿提哈德航空公司",iataCode:"EY"},{name:"长荣航空公司",iataCode:"BR"},{name:"斐济航空公司",iataCode:"FJ"},{name:"芬兰航空公司",iataCode:"AY"},{name:"迪拜航空公司公司",iataCode:"FZ"},{name:"边疆航空公司",iataCode:"F9"},{name:"印度尼西亚鹰航空公司",iataCode:"GA"},{name:"高尔航空公司",iataCode:"G3"},{name:"海南航空公司",iataCode:"HU"},{name:"夏威夷航空公司",iataCode:"HA"},{name:"靛蓝航空公司",iataCode:"6E"},{name:"日本航空公司",iataCode:"JL"},{name:"济州航空公司",iataCode:"7C"},{name:"捷特二航空公司",iataCode:"LS"},{name:"捷蓝航空公司",iataCode:"B6"},{name:"上海吉祥航空公司",iataCode:"HO"},{name:"肯尼亚航空公司",iataCode:"KQ"},{name:"大韩航空公司",iataCode:"KE"},{name:"酷路拉航空航空公司",iataCode:"MN"},{name:"南美航空公司",iataCode:"LA"},{name:"狮子航空公司",iataCode:"JT"},{name:"波兰航空公司",iataCode:"LO"},{name:"德国汉莎航空公司",iataCode:"LH"},{name:"利比亚阿拉伯航空公司",iataCode:"LN"},{name:"玻利维亚亚马孙航空公司",iataCode:"Z8"},{name:"马来西亚航空公司",iataCode:"MH"},{name:"北风航空公司",iataCode:"N4"},{name:"挪威穿梭航空公司",iataCode:"DY"},{name:"阿曼航空公司",iataCode:"WY"},{name:"巴基斯坦国际航空公司",iataCode:"PK"},{name:"飞马航空公司",iataCode:"PC"},{name:"菲律宾航空公司",iataCode:"PR"},{name:"澳洲航空公司",iataCode:"QF"},{name:"卡塔尔航空公司",iataCode:"QR"},{name:"共和航空公司",iataCode:"YX"},{name:"摩洛哥皇家航空公司",iataCode:"AT"},{name:"瑞安航空公司",iataCode:"FR"},{name:"西伯利亚航空公司",iataCode:"S7"},{name:"北欧航空公司",iataCode:"SK"},{name:"沙特阿拉伯航空公司",iataCode:"SV"},{name:"山东航空公司",iataCode:"SC"},{name:"四川航空公司",iataCode:"3U"},{name:"新加坡航空公司",iataCode:"SQ"},{name:"天空航空公司",iataCode:"H2"},{name:"天西航空公司",iataCode:"OO"},{name:"南非航空公司",iataCode:"SA"},{name:"西南航空公司",iataCode:"WN"},{name:"香料航空公司",iataCode:"SG"},{name:"精神航空公司",iataCode:"NK"},{name:"春秋航空公司",iataCode:"9S"},{name:"斯里兰卡航空公司",iataCode:"UL"},{name:"秘鲁星航空公司",iataCode:"2I"},{name:"太阳城航空公司",iataCode:"SY"},{name:"阳光快运航空",iataCode:"XQ"},{name:"葡萄牙航空公司",iataCode:"TP"},{name:"泰国亚洲航空",iataCode:"FD"},{name:"泰国航空公司",iataCode:"TG"},{name:"途易飞航空",iataCode:"BY"},{name:"突尼斯航空公司",iataCode:"TU"},{name:"土耳其航空公司",iataCode:"TK"},{name:"乌克兰国际航空公司",iataCode:"PS"},{name:"美国联合航空公司",iataCode:"UA"},{name:"乌拉航空公司",iataCode:"U6"},{name:"越南越捷航空公司",iataCode:"VJ"},{name:"越南航空公司",iataCode:"VN"},{name:"维珍航空公司",iataCode:"VS"},{name:"维珍蓝航空公司",iataCode:"VA"},{name:"万岁空中巴士航空公司",iataCode:"VB"},{name:"巴西航空公司",iataCode:"2Z"},{name:"沃拉里斯航空公司",iataCode:"Y4"},{name:"西捷航空公司",iataCode:"WS"},{name:"温戈航空公司",iataCode:"P5"},{name:"维兹航空公司",iataCode:"W6"}],Cu=[{name:"航天/BAC协和式飞机",iataTypeCode:"SSC"},{name:"空客A300",iataTypeCode:"AB3"},{name:"空客A310",iataTypeCode:"310"},{name:"空客A310-200",iataTypeCode:"312"},{name:"空客A310-300",iataTypeCode:"313"},{name:"空客A318",iataTypeCode:"318"},{name:"空客A319",iataTypeCode:"319"},{name:"空客A319neo",iataTypeCode:"31N"},{name:"空客A320",iataTypeCode:"320"},{name:"空客A320neo",iataTypeCode:"32N"},{name:"空客A321",iataTypeCode:"321"},{name:"空客A321neo",iataTypeCode:"32Q"},{name:"空客A330",iataTypeCode:"330"},{name:"空客A330-200",iataTypeCode:"332"},{name:"空客A330-300",iataTypeCode:"333"},{name:"空客A330-800neo",iataTypeCode:"338"},{name:"空客A330-900neo",iataTypeCode:"339"},{name:"空客A340",iataTypeCode:"340"},{name:"空客A340-200",iataTypeCode:"342"},{name:"空客A340-300",iataTypeCode:"343"},{name:"空客A340-500",iataTypeCode:"345"},{name:"空客A340-600",iataTypeCode:"346"},{name:"空客A350",iataTypeCode:"350"},{name:"空客A350-900",iataTypeCode:"359"},{name:"空客A350-1000",iataTypeCode:"351"},{name:"空客A380",iataTypeCode:"380"},{name:"空客A380-800",iataTypeCode:"388"},{name:"安东诺夫 安-12",iataTypeCode:"ANF"},{name:"安东诺夫 安-24",iataTypeCode:"AN4"},{name:"安东诺夫 安-26",iataTypeCode:"A26"},{name:"安东诺夫 安-28",iataTypeCode:"A28"},{name:"安东诺夫 安-30",iataTypeCode:"A30"},{name:"安东诺夫 安-32",iataTypeCode:"A32"},{name:"安东诺夫 安-72",iataTypeCode:"AN7"},{name:"安东诺夫 安-124 Ruslan",iataTypeCode:"A4F"},{name:"安东诺夫 安-140",iataTypeCode:"A40"},{name:"安东诺夫 安-148",iataTypeCode:"A81"},{name:"安东诺夫 安-158",iataTypeCode:"A58"},{name:"安东诺夫 安-225 Mriya",iataTypeCode:"A5F"},{name:"波音707",iataTypeCode:"703"},{name:"波音717",iataTypeCode:"717"},{name:"波音720B",iataTypeCode:"B72"},{name:"波音727",iataTypeCode:"727"},{name:"波音727-100",iataTypeCode:"721"},{name:"波音727-200",iataTypeCode:"722"},{name:"波音737 MAX 7",iataTypeCode:"7M7"},{name:"波音737 MAX 8",iataTypeCode:"7M8"},{name:"波音737 MAX 9",iataTypeCode:"7M9"},{name:"波音737 MAX 10",iataTypeCode:"7MJ"},{name:"波音737",iataTypeCode:"737"},{name:"波音737-100",iataTypeCode:"731"},{name:"波音737-200",iataTypeCode:"732"},{name:"波音737-300",iataTypeCode:"733"},{name:"波音737-400",iataTypeCode:"734"},{name:"波音737-500",iataTypeCode:"735"},{name:"波音737-600",iataTypeCode:"736"},{name:"波音737-700",iataTypeCode:"73G"},{name:"波音737-800",iataTypeCode:"738"},{name:"波音737-900",iataTypeCode:"739"},{name:"波音747",iataTypeCode:"747"},{name:"波音747-100",iataTypeCode:"741"},{name:"波音747-200",iataTypeCode:"742"},{name:"波音747-300",iataTypeCode:"743"},{name:"波音747-400",iataTypeCode:"744"},{name:"波音747-400D",iataTypeCode:"74J"},{name:"波音747-8",iataTypeCode:"748"},{name:"波音747SP",iataTypeCode:"74L"},{name:"波音747SR",iataTypeCode:"74R"},{name:"波音757",iataTypeCode:"757"},{name:"波音757-200",iataTypeCode:"752"},{name:"波音757-300",iataTypeCode:"753"},{name:"波音767",iataTypeCode:"767"},{name:"波音767-200",iataTypeCode:"762"},{name:"波音767-300",iataTypeCode:"763"},{name:"波音767-400",iataTypeCode:"764"},{name:"波音777",iataTypeCode:"777"},{name:"波音777-200",iataTypeCode:"772"},{name:"波音777-200LR",iataTypeCode:"77L"},{name:"波音777-300",iataTypeCode:"773"},{name:"波音777-300ER",iataTypeCode:"77W"},{name:"波音787",iataTypeCode:"787"},{name:"波音787-8",iataTypeCode:"788"},{name:"波音787-9",iataTypeCode:"789"},{name:"波音787-10",iataTypeCode:"781"},{name:"加拿大挑战者飞机",iataTypeCode:"CCJ"},{name:"加拿大CL-44",iataTypeCode:"CL4"},{name:"加拿大支线喷气机100",iataTypeCode:"CR1"},{name:"加拿大支线喷气机200",iataTypeCode:"CR2"},{name:"加拿大支线喷气机700",iataTypeCode:"CR7"},{name:"加拿大支线喷气机705",iataTypeCode:"CRA"},{name:"加拿大支线喷气机900",iataTypeCode:"CR9"},{name:"加拿大支线喷气机1000",iataTypeCode:"CRK"},{name:"加拿大德哈维兰DHC-2 Beaver",iataTypeCode:"DHP"},{name:"加拿大德哈维兰DHC-2 Turbo-Beaver",iataTypeCode:"DHR"},{name:"加拿大德哈维兰DHC-3 Otter",iataTypeCode:"DHL"},{name:"加拿大德哈维兰DHC-4 Caribou",iataTypeCode:"DHC"},{name:"加拿大德哈维兰DHC-6 Twin Otter",iataTypeCode:"DHT"},{name:"加拿大德哈维兰DHC-7 Dash 7",iataTypeCode:"DH7"},{name:"加拿大德哈维兰DHC-8-100 Dash 8 / 8Q",iataTypeCode:"DH1"},{name:"加拿大德哈维兰DHC-8-200 Dash 8 / 8Q",iataTypeCode:"DH2"},{name:"加拿大德哈维兰DHC-8-300 Dash 8 / 8Q",iataTypeCode:"DH3"},{name:"加拿大德哈维兰DHC-8-400 Dash 8Q",iataTypeCode:"DH4"},{name:"德哈维兰DH.104 Dove",iataTypeCode:"DHD"},{name:"德哈维兰DH.114 Heron",iataTypeCode:"DHH"},{name:"道格拉斯DC-3",iataTypeCode:"D3F"},{name:"道格拉斯DC-6",iataTypeCode:"D6F"},{name:"道格拉斯DC-8-50",iataTypeCode:"D8T"},{name:"道格拉斯DC-8-62",iataTypeCode:"D8L"},{name:"道格拉斯DC-8-72",iataTypeCode:"D8Q"},{name:"道格拉斯DC-9-10",iataTypeCode:"D91"},{name:"道格拉斯DC-9-20",iataTypeCode:"D92"},{name:"道格拉斯DC-9-30",iataTypeCode:"D93"},{name:"道格拉斯DC-9-40",iataTypeCode:"D94"},{name:"道格拉斯DC-9-50",iataTypeCode:"D95"},{name:"道格拉斯DC-10",iataTypeCode:"D10"},{name:"道格拉斯DC-10-10",iataTypeCode:"D1X"},{name:"道格拉斯DC-10-30",iataTypeCode:"D1Y"},{name:"巴西工业航空公司170",iataTypeCode:"E70"},{name:"巴西工业航空公司175",iataTypeCode:"E75"},{name:"巴西工业航空公司190",iataTypeCode:"E90"},{name:"巴西工业航空公司195",iataTypeCode:"E95"},{name:"巴西工业航空公司E190-E2",iataTypeCode:"290"},{name:"巴西工业航空公司E195-E2",iataTypeCode:"295"},{name:"巴西工业航空公司EMB.110 Bandeirante",iataTypeCode:"EMB"},{name:"巴西工业航空公司EMB.120 Brasilia",iataTypeCode:"EM2"},{name:"巴西工业航空公司Legacy 600",iataTypeCode:"ER3"},{name:"巴西工业航空公司Phenom 100",iataTypeCode:"EP1"},{name:"巴西工业航空公司Phenom 300",iataTypeCode:"EP3"},{name:"巴西工业航空公司RJ135",iataTypeCode:"ER3"},{name:"巴西工业航空公司RJ140",iataTypeCode:"ERD"},{name:"巴西工业航空公司RJ145 Amazon",iataTypeCode:"ER4"},{name:"伊留申IL18",iataTypeCode:"IL8"},{name:"伊留申IL62",iataTypeCode:"IL6"},{name:"伊留申IL76",iataTypeCode:"IL7"},{name:"伊留申IL86",iataTypeCode:"ILW"},{name:"伊留申IL96-300",iataTypeCode:"I93"},{name:"伊留申IL114",iataTypeCode:"I14"},{name:"洛克希德L-182 / 282 / 382 (L-100) Hercules",iataTypeCode:"LOH"},{name:"洛克希德L-188 Electra",iataTypeCode:"LOE"},{name:"洛克希德L-1011 Tristar",iataTypeCode:"L10"},{name:"洛克希德L-1049 Super Constellation",iataTypeCode:"L49"},{name:"麦克唐纳道格拉斯MD11",iataTypeCode:"M11"},{name:"麦克唐纳道格拉斯MD80",iataTypeCode:"M80"},{name:"麦克唐纳道格拉斯MD81",iataTypeCode:"M81"},{name:"麦克唐纳道格拉斯MD82",iataTypeCode:"M82"},{name:"麦克唐纳道格拉斯MD83",iataTypeCode:"M83"},{name:"麦克唐纳道格拉斯MD87",iataTypeCode:"M87"},{name:"麦克唐纳道格拉斯MD88",iataTypeCode:"M88"},{name:"麦克唐纳道格拉斯MD90",iataTypeCode:"M90"},{name:"苏霍伊超级喷气机100-95",iataTypeCode:"SU9"},{name:"图波列夫Tu-134",iataTypeCode:"TU3"},{name:"图波列夫Tu-154",iataTypeCode:"TU5"},{name:"图波列夫Tu-204",iataTypeCode:"T20"},{name:"雅科夫列夫Yak-40",iataTypeCode:"YK4"},{name:"雅科夫列夫Yak-42",iataTypeCode:"YK2"}],Eu=[{name:"阿德莱德国际机场",iataCode:"ADL"},{name:"阿道弗·苏亚雷斯马德里-巴拉哈斯机场",iataCode:"MAD"},{name:"豪尔赫纽伯里机场机场",iataCode:"AEP"},{name:"阿方索·佩纳国际机场",iataCode:"CWB"},{name:"阿方索·博尼利亚·阿拉贡国际机场",iataCode:"CLO"},{name:"阿姆斯特丹史基浦机场",iataCode:"AMS"},{name:"阿图罗·梅里诺·贝尼特斯国际机场",iataCode:"SCL"},{name:"奥克兰国际机场",iataCode:"AKL"},{name:"北京首都国际机场",iataCode:"PEK"},{name:"贝伦瓦德坎斯国际机场",iataCode:"BEL"},{name:"贝洛奥里藏特坦克雷多·内维斯国际机场",iataCode:"CNF"},{name:"柏林泰格尔机场",iataCode:"TXL"},{name:"博乐国际机场",iataCode:"ADD"},{name:"巴西利亚儒塞利诺·库比契克总统国际机场",iataCode:"BSB"},{name:"布里斯班国际机场",iataCode:"BNE"},{name:"布里斯班机场",iataCode:"BRU"},{name:"凯恩斯机场",iataCode:"CNS"},{name:"开罗国际机场",iataCode:"CAI"},{name:"堪培拉机场",iataCode:"CBR"},{name:"开普敦国际机场",iataCode:"CPT"},{name:"戴高乐国际机场",iataCode:"CDG"},{name:"夏洛特道格拉斯国际机场",iataCode:"CLT"},{name:"成都双流国际机场",iataCode:"CTU"},{name:"贾特拉帕蒂·希瓦吉国际机场",iataCode:"BOM"},{name:"芝加哥奥黑尔国际机场",iataCode:"ORD"},{name:"重庆江北国际机场",iataCode:"CKG"},{name:"基督城国际机场",iataCode:"CHC"},{name:"哥本哈根卡斯特鲁普机场",iataCode:"CPH"},{name:"达拉斯沃思堡国际机场",iataCode:"DFW"},{name:"丹尼尔·井上国际机场",iataCode:"HNL"},{name:"丹佛国际机场",iataCode:"DEN"},{name:"廊曼国际机场",iataCode:"DMK"},{name:"迪拜国际机场",iataCode:"DXB"},{name:"都柏林机场",iataCode:"DUB"},{name:"杜塞尔多夫机场",iataCode:"DUS"},{name:"埃尔多拉多国际机场",iataCode:"BOG"},{name:"埃莱夫塞里奥斯·韦尼泽洛斯国际机场",iataCode:"ATH"},{name:"法阿国际机场",iataCode:"PPT"},{name:"劳德代尔堡好莱坞国际机场",iataCode:"FLL"},{name:"福塔莱萨平托马丁斯国际机场",iataCode:"FOR"},{name:"美因河畔法兰克福机场",iataCode:"FRA"},{name:"休斯顿机场乔治·布什洲际酒店",iataCode:"IAH"},{name:"黄金海岸机场",iataCode:"OOL"},{name:"瓜鲁柳斯 - 安德烈·佛朗哥·蒙托罗州长国际机场",iataCode:"GRU"},{name:"哈兹菲尔德-杰克逊亚特兰大国际机场",iataCode:"ATL"},{name:"赫尔辛基万塔机场",iataCode:"HEL"},{name:"霍巴特国际机场",iataCode:"HBA"},{name:"香港国际机场",iataCode:"HKG"},{name:"胡阿里·布迈丁机场",iataCode:"ALG"},{name:"赫尔格达国际机场",iataCode:"HRG"},{name:"仁川国际机场",iataCode:"ICN"},{name:"英迪拉·甘地国际机场",iataCode:"DEL"},{name:"伊斯坦布尔机场",iataCode:"IST"},{name:"杰克逊国际机场",iataCode:"POM"},{name:"济州国际机场",iataCode:"CJU"},{name:"约翰肯尼迪国际机场",iataCode:"JFK"},{name:"豪尔赫·查韦斯国际机场",iataCode:"LIM"},{name:"何塞·玛丽亚·科尔多瓦国际机场",iataCode:"MDE"},{name:"何塞普·塔拉德拉斯巴塞罗那埃尔普拉特机场",iataCode:"BCN"},{name:"卡胡卢伊机场",iataCode:"OGG"},{name:"阿卜杜勒阿齐兹国王国际机场",iataCode:"JED"},{name:"吉隆坡国际机场",iataCode:"KUL"},{name:"昆明长水国际机场",iataCode:"KMG"},{name:"拉通图塔国际机场",iataCode:"NOU"},{name:"莱昂纳多达芬奇-菲乌米奇诺机场",iataCode:"FCO"},{name:"伦敦希思罗机场",iataCode:"LHR"},{name:"洛杉矶国际机场",iataCode:"LAX"},{name:"麦卡伦国际机场",iataCode:"LAS"},{name:"墨尔本国际机场",iataCode:"MEL"},{name:"墨西哥城国际机场",iataCode:"MEX"},{name:"迈阿密国际机场",iataCode:"MIA"},{name:"皮斯塔里尼部长国际机场",iataCode:"EZE"},{name:"明尼阿波利斯-圣保罗国际机场/沃尔德-张伯伦机场",iataCode:"MSP"},{name:"穆罕默德五世国际机场",iataCode:"CMN"},{name:"莫斯科多莫杰多沃机场",iataCode:"DME"},{name:"慕尼黑机场",iataCode:"MUC"},{name:"穆尔塔拉穆罕默德国际机场",iataCode:"LOS"},{name:"楠迪国际机场",iataCode:"NAN"},{name:"内罗毕乔莫肯雅塔国际机场",iataCode:"NBO"},{name:"成田国际机场",iataCode:"NRT"},{name:"纽瓦克自由国际机场",iataCode:"EWR"},{name:"尼诺·阿基诺国际机场",iataCode:"MNL"},{name:"努美阿洋红色机场",iataCode:"GEA"},{name:"奥利弗·R·坦博国际机场",iataCode:"JNB"},{name:"奥兰多国际机场",iataCode:"MCO"},{name:"奥斯陆卢夫塔文机场",iataCode:"OSL"},{name:"珀斯机场",iataCode:"PER"},{name:"凤凰城天港国际机场",iataCode:"PHX"},{name:"累西腓瓜拉拉佩斯-吉尔伯托弗雷尔国际机场",iataCode:"REC"},{name:"里约热内卢加利昂国际机场",iataCode:"GIG"},{name:"萨尔加多菲略国际机场",iataCode:"POA"},{name:"萨尔瓦多·德普塔多·路易斯·爱德华多·马加良斯国际机场",iataCode:"SSA"},{name:"旧金山国际机场",iataCode:"SFO"},{name:"桑托斯·杜蒙特机场",iataCode:"SDU"},{name:"圣保罗孔戈尼亚斯机场",iataCode:"CGH"},{name:"西雅图塔科马国际机场",iataCode:"SEA"},{name:"上海虹桥国际机场",iataCode:"SHA"},{name:"上海浦东国际机场",iataCode:"PVG"},{name:"深圳宝安国际机场",iataCode:"SZX"},{name:"谢列梅捷沃国际机场",iataCode:"SVO"},{name:"新加坡樟宜机场",iataCode:"SIN"},{name:"苏加诺-哈达国际机场",iataCode:"CGK"},{name:"斯德哥尔摩-阿兰达机场",iataCode:"ARN"},{name:"素万那普机场",iataCode:"BKK"},{name:"悉尼金斯福德史密斯国际机场",iataCode:"SYD"},{name:"台湾桃园国际机场",iataCode:"TPE"},{name:"新山一国际机场",iataCode:"SGN"},{name:"东京羽田国际机场",iataCode:"HND"},{name:"多伦多皮尔逊国际机场",iataCode:"YYZ"},{name:"突尼斯迦太基国际机场",iataCode:"TUN"},{name:"温哥华国际机场",iataCode:"YVR"},{name:"维也纳国际机场",iataCode:"VIE"},{name:"维拉科波斯国际机场",iataCode:"VCP"},{name:"伏努科沃国际机场",iataCode:"VKO"},{name:"惠灵顿国际机场",iataCode:"WLG"},{name:"西安咸阳国际机场",iataCode:"XIY"},{name:"茹科夫斯基国际机场",iataCode:"ZIA"},{name:"苏黎世机场",iataCode:"ZRH"}],vu={airline:Au,airplane:Cu,airport:Eu},wu=vu,ju=["大熊猫","眼镜熊","太阳熊","懒熊","美洲黑熊","亚洲黑熊","棕熊","北极熊"],Bu=["中华田园猫","中国狸花猫","山东狮子猫","玄猫","黑白花猫","三花猫","玳瑁猫","橘猫","四川简州猫","中国大白猫","美国短毛猫","英国短毛猫","加菲猫","波斯猫","布偶猫","苏格兰折耳猫","暹罗猫","斯芬克斯猫","德文卷毛猫","阿比西尼亚猫"],Su=["藏獒","袖狗","拉萨狮子犬","西藏狮子犬","松狮犬","中国冠毛犬","西施犬","沙皮犬","八哥犬","西藏獚","中华田园犬","下司犬","北京犬","西藏梗","柴犬","哈士奇","德国牧羊犬","边境牧羊犬","贵兵犬","秋田犬","罗威纳犬","蝴蝶犬","英国斗牛犬","阿富汗猎犬","萨摩耶犬","大白熊犬","比利时牧羊犬","美国爱斯基摩犬","彭布罗克威尔士柯基犬","墨西哥无毛犬"],Mu=["草鱼","鲶鱼","鳙鱼","鲤鱼","金鱼","胭脂鱼","中华鲟","长江白鲟","新疆大头鱼","青鱼","鲫鱼"],xu=["蒙古马","伊利马","三河马","河曲马"],Tu=["熊","猫","狗","鱼","马"],Ru={bear:ju,cat:Bu,dog:Su,fish:Mu,horse:xu,type:Tu},Lu=Ru,Pu=["红色","绿色","蓝色","黄色","紫色","薄荷绿色","蓝绿色","白色","黑色","橙色","粉红色","灰色","红褐色","蓝紫色","青绿色","棕褐色","天蓝色","浅橙色","紫红色","淡紫色","淡褐色","青柠色","乳白色","靛蓝色","金色","银色"],Hu={human:Pu},zu=Hu,Iu=["书籍","电影","音乐","游戏","电子","电脑","主页","花园","工具","杂货","健康","美丽","玩具","孩子","宝宝","服装","鞋子","珠宝","运动","户外","汽车","工业"],Nu=["人体工学椅电脑椅家用宿舍学生学习椅舒适久坐办公座椅转椅书桌椅","鼠标有线USB静音无声家用办公台式笔记本电脑家用商务电竞男","台式电脑机械硬盘SATA串口320G 500G 1TB 2T 3TB 4TB支持游戏监控","【2023新品官方旗舰正品】DERE戴睿笔记本电脑二合一新Surface Pro13平板商务办公学生教育超轻薄便携电脑本","华为笔记本电脑MateBook X Pro 2023 13代酷睿版锐炬显卡14.2英寸3.1K原色触控屏超轻薄旗舰微绒典藏1943","可选16G【M2芯片】Apple/苹果 MacBook Pro 13英寸笔记本电脑剪辑设计大学生办公专用正品分期24G","Sony/索尼 XR-55A80EK 55英寸4K超清认知智能OLED安卓摄像头电视","小米电视 Redmi A43 高清智能电视 43英寸液晶平板电视L43RA-RA","【新品享壕礼】vivo iQOO Z8x手机官方旗舰店新品上市官网正品学生大电池大内存手机iqoo z7 z7x","【至高立省300元 赠数据线】vivo Y78新品全面屏游戏拍照学生5G智能手机大电池官方旗舰店老人机Y78+ Y77"],qu={adjective:["小的","人体工程学的","电子的","质朴的","智能的","华丽的","不可思议的","优雅的","精彩绝伦的","实用的","现代的","回收的","圆滑的","定制的","贼好用的","通用的","手工的","手工制作的","东方的","已许可的","豪华的","精致的","无品牌的","好吃"],material:["钢","青铜","木制","混凝土","塑料","棉花","花岗岩","橡胶","金属","软","新鲜","冷冻"],product:["椅子","汽车","电脑","键盘","鼠标","自行车","球","手套","裤子","衬衫","桌子","鞋子","帽子","毛巾","肥皂","金枪鱼","鸡肉","鱼肉","奶酪","培根","披萨","沙拉","香肠","薯条"]},Gu={department:Iu,product_description:Nu,product_name:qu},Wu=Gu,_u=["水产","林业","矿业","建设","食品","印刷","电力","燃气","网络科技","物流","保险","旅游发展","传媒","运输"],Ou=["{{location.state}}{{person.first_name}}{{company.category}}{{company.type}}","{{location.city}}{{person.first_name}}{{company.category}}{{company.type}}"],Ku=["有限责任公司","股份有限公司","有限公司","(集团)有限公司","集团有限公司","无限公司","无限责任公司"],Ju={category:_u,name_pattern:Ou,type:Ku},$u=Ju,Uu=["标识","标题","名称","邮箱","手机","令牌","组别","类别","密码","注释","头像","状态","创建于","更新于"],Vu={column:Uu},Yu=Vu,Zu={wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],abbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]},Xu={wide:["星期天","星期一","星期二","星期三","星期四","星期五","星期六"],abbr:["周日","周一","周二","周三","周四","周五","周六"]},Qu={month:Zu,weekday:Xu},er=Qu,ar=["支票","储蓄","货币市场","投资","房屋贷款","信用卡","汽车贷款","个人贷款"],ir=["5[1-5]##-####-####-###L","2[221-720]-####-####-###L"],tr=["62#############L","67#############L","81#############L","81##############L","81###############L","81################L"],nr=["4###########L","4###-####-####-###L"],or={mastercard:ir,unionpay:tr,visa:nr},gr=or,sr=[{name:"阿联酋迪拉姆",code:"AED",symbol:""},{name:"阿富汗尼",code:"AFN",symbol:"؋"},{name:"列克",code:"ALL",symbol:"Lek"},{name:"亚美尼亚德拉姆",code:"AMD",symbol:""},{name:"荷属安的列斯盾",code:"ANG",symbol:"ƒ"},{name:"宽扎",code:"AOA",symbol:""},{name:"阿根廷比索",code:"ARS",symbol:"$"},{name:"澳大利亚元",code:"AUD",symbol:"$"},{name:"阿鲁巴弗罗林",code:"AWG",symbol:"ƒ"},{name:"阿塞拜疆马纳特",code:"AZN",symbol:"ман"},{name:"可兑换马克",code:"BAM",symbol:"KM"},{name:"巴巴多斯元",code:"BBD",symbol:"$"},{name:"孟加拉塔卡",code:"BDT",symbol:""},{name:"保加利亚列弗",code:"BGN",symbol:"лв"},{name:"巴林第纳尔",code:"BHD",symbol:""},{name:"布隆迪法郎",code:"BIF",symbol:""},{name:"百慕大元(通常称为百慕大元)",code:"BMD",symbol:"$"},{name:"文莱元",code:"BND",symbol:"$"},{name:"玻利维亚诺",code:"BOB",symbol:"Bs"},{name:"巴西雷亚尔",code:"BRL",symbol:"R$"},{name:"巴哈马元",code:"BSD",symbol:"$"},{name:"普拉",code:"BWP",symbol:"P"},{name:"白俄罗斯卢布",code:"BYN",symbol:"Rbl"},{name:"伯利兹元",code:"BZD",symbol:"BZ$"},{name:"加拿大元",code:"CAD",symbol:"$"},{name:"刚果法郎",code:"CDF",symbol:""},{name:"瑞士法郎",code:"CHF",symbol:"CHF"},{name:"智利比索",code:"CLP",symbol:"$"},{name:"人民币",code:"CNY",symbol:"¥"},{name:"哥伦比亚比索",code:"COP",symbol:"$"},{name:"哥斯达黎加科朗",code:"CRC",symbol:"₡"},{name:"古巴比索",code:"CUP",symbol:"₱"},{name:"佛得角埃斯库多",code:"CVE",symbol:""},{name:"捷克克朗",code:"CZK",symbol:"Kč"},{name:"吉布提法郎",code:"DJF",symbol:""},{name:"丹麦克朗",code:"DKK",symbol:"kr"},{name:"多米尼加比索",code:"DOP",symbol:"RD$"},{name:"阿尔及利亚第纳尔",code:"DZD",symbol:""},{name:"埃及镑",code:"EGP",symbol:"£"},{name:"纳克法",code:"ERN",symbol:""},{name:"埃塞俄比亚比尔",code:"ETB",symbol:""},{name:"欧元",code:"EUR",symbol:"€"},{name:"斐济元",code:"FJD",symbol:"$"},{name:"福克兰群岛镑",code:"FKP",symbol:"£"},{name:"英镑",code:"GBP",symbol:"£"},{name:"格鲁吉亚拉里",code:"GEL",symbol:""},{name:"塞地",code:"GHS",symbol:""},{name:"直布罗陀镑",code:"GIP",symbol:"£"},{name:"达尔西",code:"GMD",symbol:""},{name:"几内亚法郎",code:"GNF",symbol:""},{name:"格查尔",code:"GTQ",symbol:"Q"},{name:"圭亚那元",code:"GYD",symbol:"$"},{name:"港元",code:"HKD",symbol:"$"},{name:"伦皮拉",code:"HNL",symbol:"L"},{name:"古德",code:"HTG",symbol:""},{name:"福林特",code:"HUF",symbol:"Ft"},{name:"印度尼西亚卢比",code:"IDR",symbol:"Rp"},{name:"新以色列谢克尔",code:"ILS",symbol:"₪"},{name:"不丹努扎姆",code:"BTN",symbol:"Nu"},{name:"印度卢比",code:"INR",symbol:"₹"},{name:"伊拉克第纳尔",code:"IQD",symbol:""},{name:"伊朗里亚尔",code:"IRR",symbol:"﷼"},{name:"冰岛克朗",code:"ISK",symbol:"kr"},{name:"牙买加元",code:"JMD",symbol:"J$"},{name:"约旦第纳尔",code:"JOD",symbol:""},{name:"日元",code:"JPY",symbol:"¥"},{name:"肯尼亚先令",code:"KES",symbol:""},{name:"吉尔吉斯斯坦索姆",code:"KGS",symbol:"лв"},{name:"瑞尔",code:"KHR",symbol:"៛"},{name:"科摩罗法郎",code:"KMF",symbol:""},{name:"朝鲜圆",code:"KPW",symbol:"₩"},{name:"韩元",code:"KRW",symbol:"₩"},{name:"科威特第纳尔",code:"KWD",symbol:""},{name:"开曼群岛元",code:"KYD",symbol:"$"},{name:"坚戈",code:"KZT",symbol:"лв"},{name:"基普",code:"LAK",symbol:"₭"},{name:"黎巴嫩镑",code:"LBP",symbol:"£"},{name:"斯里兰卡卢比",code:"LKR",symbol:"₨"},{name:"利比里亚元",code:"LRD",symbol:"$"},{name:"利比亚第纳尔",code:"LYD",symbol:""},{name:"摩洛哥迪拉姆",code:"MAD",symbol:""},{name:"摩尔多瓦列伊",code:"MDL",symbol:""},{name:"马达加斯加阿里亚里",code:"MGA",symbol:""},{name:"马其顿代纳尔",code:"MKD",symbol:"ден"},{name:"缅甸元",code:"MMK",symbol:""},{name:"图格里克",code:"MNT",symbol:"₮"},{name:"澳门元",code:"MOP",symbol:""},{name:"乌吉亚",code:"MRU",symbol:""},{name:"毛里求斯卢比",code:"MUR",symbol:"₨"},{name:"拉菲亚",code:"MVR",symbol:""},{name:"克瓦查",code:"MWK",symbol:""},{name:"墨西哥比索",code:"MXN",symbol:"$"},{name:"马来西亚林吉特",code:"MYR",symbol:"RM"},{name:"莫桑比克梅蒂卡尔",code:"MZN",symbol:"MT"},{name:"奈拉",code:"NGN",symbol:"₦"},{name:"科多巴金科多巴",code:"NIO",symbol:"C$"},{name:"挪威克朗",code:"NOK",symbol:"kr"},{name:"尼泊尔卢比",code:"NPR",symbol:"₨"},{name:"新西兰元",code:"NZD",symbol:"$"},{name:"阿曼里亚尔",code:"OMR",symbol:"﷼"},{name:"巴尔博亚",code:"PAB",symbol:"B/."},{name:"秘鲁新索尔",code:"PEN",symbol:"S/."},{name:"基纳",code:"PGK",symbol:""},{name:"菲律宾比索",code:"PHP",symbol:"Php"},{name:"巴基斯坦卢比",code:"PKR",symbol:"₨"},{name:"兹罗提",code:"PLN",symbol:"zł"},{name:"巴拉圭瓜拉尼",code:"PYG",symbol:"Gs"},{name:"卡塔尔里亚尔",code:"QAR",symbol:"﷼"},{name:"新卢",code:"RON",symbol:"lei"},{name:"塞尔维亚第纳尔",code:"RSD",symbol:"Дин."},{name:"俄罗斯卢布",code:"RUB",symbol:"руб"},{name:"卢旺达法郎",code:"RWF",symbol:""},{name:"沙特里亚尔",code:"SAR",symbol:"﷼"},{name:"所罗门群岛元",code:"SBD",symbol:"$"},{name:"塞舌尔卢比",code:"SCR",symbol:"₨"},{name:"苏丹镑",code:"SDG",symbol:""},{name:"瑞典克朗",code:"SEK",symbol:"kr"},{name:"新加坡元",code:"SGD",symbol:"$"},{name:"圣赫勒拿镑",code:"SHP",symbol:"£"},{name:"利昂",code:"SLE",symbol:""},{name:"索马里先令",code:"SOS",symbol:"S"},{name:"苏里南元",code:"SRD",symbol:"$"},{name:"南苏丹镑",code:"SSP",symbol:""},{name:"多布拉",code:"STN",symbol:"Db"},{name:"叙利亚镑",code:"SYP",symbol:"£"},{name:"利兰吉尼",code:"SZL",symbol:""},{name:"泰铢",code:"THB",symbol:"฿"},{name:"索莫尼",code:"TJS",symbol:""},{name:"马纳特",code:"TMT",symbol:""},{name:"突尼斯第纳尔",code:"TND",symbol:""},{name:"帕安加",code:"TOP",symbol:""},{name:"土耳其里拉",code:"TRY",symbol:"₺"},{name:"特立尼达和多巴哥元",code:"TTD",symbol:"TT$"},{name:"新台币",code:"TWD",symbol:"NT$"},{name:"坦桑尼亚先令",code:"TZS",symbol:""},{name:"格里夫尼亚",code:"UAH",symbol:"₴"},{name:"乌干达先令",code:"UGX",symbol:""},{name:"美元",code:"USD",symbol:"$"},{name:"乌拉圭比索",code:"UYU",symbol:"$U"},{name:"乌兹别克索姆",code:"UZS",symbol:"лв"},{name:"委内瑞拉玻利瓦尔",code:"VES",symbol:"Bs"},{name:"越南盾",code:"VND",symbol:"₫"},{name:"瓦图",code:"VUV",symbol:""},{name:"塔拉",code:"WST",symbol:""},{name:"科姆罗尔法郎",code:"XAF",symbol:""},{name:"银",code:"XAG",symbol:"XAG"},{name:"金",code:"XAU",symbol:"XAU"},{name:"东加勒比元",code:"XCD",symbol:"$"},{name:"特别提款权",code:"XDR",symbol:"XDR"},{name:"中非金融合作法郎",code:"XOF",symbol:""},{name:"波利尼西亚法郎",code:"XPF",symbol:""},{name:"也门里亚尔",code:"YER",symbol:"﷼"},{name:"南非兰特",code:"ZAR",symbol:"R"},{name:"赞比亚克瓦查",code:"ZMW",symbol:"ZK"},{name:"津巴布韦元",code:"ZWL",symbol:"$"}],ur=["存款","取款","支付","开票"],rr={account_type:ar,credit_card:gr,currency:sr,transaction_type:ur},lr=rr,mr=["辅助","主要","后端","开源","虚拟","跨平台","冗余","在线","触控","多字节","蓝牙","无线","全高清","神经元","光学","固态","移动"],cr=["驱动","协议","带宽","面板","芯片","程序","端口","卡片","数组","接口","系统","传感器","防火墙","硬盘","像素","警报","提要","监视器","应用","发送端","总线","电路","电容器","矩阵"],pr=["倘若我们{{verb}}{{noun}},我们就可以通过{{adjective}}{{abbreviation}}{{noun}}获得{{abbreviation}}{{noun}}!","我们需要{{verb}}{{adjective}}{{abbreviation}}{{noun}}!","尝试{{verb}}{{abbreviation}}{{noun}},也许会{{verb}}{{adjective}}{{noun}}!","在没有{{verb}}{{adjective}}{{abbreviation}}{{noun}}的情况下,你不能{{verb}}{{noun}}!","使用{{adjective}}{{abbreviation}}{{noun}},然后你就能{{verb}}{{adjective}}{{noun}}!","{{abbreviation}}{{noun}}已关闭,因为{{adjective}}{{noun}}所以我们能{{verb}}{{abbreviation}}{{noun}}!","{{verb}}{{noun}}是无济于事的,我们需要{{verb}}{{adjective}}{{abbreviation}}{{noun}}!","我将{{verb}}{{adjective}}{{abbreviation}}{{noun}},那是应该{{noun}}{{abbreviation}}{{noun}}!"],dr=["备份","绕过","入侵","覆盖","压缩","复制","导航","索引","链接","生成","量化","计算","合成","输入","传输","编程","重启","解析"],hr={adjective:mr,noun:cr,phrase:pr,verb:dr},Fr=hr,br=["126.com","139.com","163.com","21cn.com","gmail.com","hotmail.com","qq.com","sina.com","sohu.com","tom.com","vip.qq.com","yahoo.cn","yahoo.com.cn","yeah.net","foxmail.com","outlook.com"],kr={free_email:br},yr=kr,fr=["#####","####","###","##","#"],Dr=["{{location.city_prefix}}{{location.city_suffix}}"],Ar=["上","包","北","南","厦","吉","太","宁","安","成","武","济","海","珠","福","衡","西","诸","贵","长"],Cr=["乡县","京市","南市","原市","口市","头市","宁市","安市","州市","徽市","林市","汉市","沙市","海市","码市","都市","门市","阳市"],Er=["中国"],vr=["######"],wr=["北京市","上海市","天津市","重庆市","黑龙江省","吉林省","辽宁省","内蒙古自治区","河北省","新疆维吾尔自治区","甘肃省","青海省","陕西省","宁夏回族自治区","河南省","山东省","山西省","安徽省","湖北省","湖南省","江苏省","四川省","贵州省","云南省","广西壮族自治区","西藏自治区","浙江省","江西省","广东省","福建省","海南省"],jr=["北京","上海","天津","重庆","黑龙江","吉林","辽阳","内蒙古","河北","新疆","甘肃","青海","陕西","宁夏","河南","山东","山西","合肥","湖北","湖南","苏州","四川","贵州","云南","广西","西藏","浙江","江西","广东","福建","海南"],Br={normal:"{{location.street}}{{location.buildingNumber}}号",full:"{{location.street}}{{location.buildingNumber}}号 {{location.secondaryAddress}}"},Sr=["{{person.last_name}}{{location.street_suffix}}"],Mr=["巷","街","路","桥","侬","旁","中心","栋"],xr={building_number:fr,city_pattern:Dr,city_prefix:Ar,city_suffix:Cr,default_country:Er,postcode:vr,state:wr,state_abbr:jr,street_address:Br,street_pattern:Sr,street_suffix:Mr},Tr=xr,Rr={title:"Chinese (China)",code:"zh_CN",country:"CN",language:"zh",endonym:"中文 (中国)",dir:"ltr",script:"Hans"},Lr=Rr,Pr=["摇滚","流行","重金属","电子","民谣","世界","乡村","爵士","放克","灵魂","嘻哈","经典","拉丁","牙买加","蓝调","非音乐","说唱","舞台与银幕"],Hr=["白月光与朱砂痣","孤勇者","稻香","起风了","纪念","晴天","兰亭序","我流泪情绪零碎","七里香","花海","反方向的钟","一路向北","蒲公英的约定","夜曲","搁浅","海底","105度的你","明明就","爱在西元前","我如此相信","枫","青花瓷","半岛铁盒","说了再见","暗号","退后","最长的电影","等你下课","烟花易冷","不该","告白气球","说好不哭","轨迹","红尘客栈","不能说的秘密","珊瑚海","给我一首歌的时间","你听得到","简单的爱","龙卷风","发如雪","园游会","听妈妈的话","夜的第七章","接口","手写从前","安静","爱情废材","以父之名","我不配","最伟大的作品","可爱女人","彩虹","回到过去","听悲伤的情话","把回忆拼好给你","东风破","黑色毛衣","本草纲目","开不了口","霍元甲","爱的飞行日记","大本钟","断了的弦","爷爷泡的茶","星晴","甜甜的","红颜如霜","粉色海洋","她的睫毛","雨下一整晚","白色风车","还在流浪","阳光宅男","算什么男人","菊花台","千里之外","错过的烟火","倒影","听见下雨的声音","黑色幽默","默","不爱我拉倒","之战之殇","布拉格广场","美人鱼","分裂","心雨","米兰的小铁匠","世界末日","一点点","外婆","画沙","哪里都是你","刀马旦","超人不会飞","牛仔很忙","周大侠","飘移","忍者","夏日妄想","铃芽之旅","玫瑰少年","大鱼","灯火里的中国","义勇军进行曲","调查中","少年","堕","在你身边","悬溺","奢香夫人","最好的安排","夏至未至","小城夏天","暖暖"],zr={genre:Pr,song_name:Hr},Ir=zr,Nr=["活动家","艺术家","作家","博主","企业家","教练","发明家","设计师","开发者","教育家","工程师","企业主","环保主义者","电影爱好者","电影制片人","美食家","创始人","朋友","玩家","极客","毕业生","创造者","领导者","模特","脑力爱好者","父母","爱国者","个人","哲学家","摄影爱好者","公众演说家","科学家","梦想家","学生","老师","旅行家","退伍军人","作者"],qr=["{{person.bio_part}}","{{person.bio_part}},{{person.bio_part}}","{{person.bio_part}},{{person.bio_part}},{{person.bio_part}}","{{person.bio_part}},{{person.bio_part}},{{person.bio_part}}{{internet.emoji}}","{{word.noun}}{{person.bio_supporter}}","{{word.noun}}{{person.bio_supporter}}{{internet.emoji}}","{{word.noun}}{{person.bio_supporter}},{{person.bio_part}}","{{word.noun}}{{person.bio_supporter}},{{person.bio_part}}{{internet.emoji}}"],Gr=["倡导者","贡献者","发烧友","粉丝","狂热者","爱好者","支持者"],Wr=["秀英","秀兰","秀珍","桂英","桂兰","玉兰","玉珍","玉英","玉梅","凤英","兰英","婷婷","国英","国珍","国华","国芳","国兰","国秀","国琴","国荣","国香","英","萍","蒙","红","丽","敏","芳","静","霞","燕","娟","艳","娜","丹","玲","婷","珈","雪","倩","悦","颖","洁","慧","开慧","丽芬","丽芳","丽萍","若汐","一诺","艺涵","依诺","梓涵","梓晨","梓馨","梓萱","梓妍","梓玥","苡沫","雨桐","欣怡","语桐","语汐","雨涵","雨欣","诗雨","婷方","美方","雅婷","紫林","天娇","万佳","子欣","海燕","乙萍","安琪","馨羽","馥君","思佳","雅鑫","静怡","晨阳","佳琪","雯静","榕融"],_r=null,Or=["乐驹","伟宸","伟泽","伟祺","伟诚","俊驰","修杰","修洁","健柏","健雄","凯瑞","博文","博涛","博超","君浩","哲瀚","嘉懿","嘉熙","天宇","天磊","天翊","子涵","子轩","子骞","子默","展鹏","峻熙","建辉","弘文","彬","志强","志泽","思","思淼","思源","思聪","思远","懿轩","振家","擎宇","擎苍","文","文博","文昊","文轩","旭尧","昊天","昊强","昊焱","昊然","明","明哲","明杰","明轩","明辉","晋鹏","晓博","晓啸","晟睿","智宸","智渊","智辉","果","梓晨","楷瑞","正豪","泽洋","浩","浩宇","浩然","浩轩","涛","潇然","炎彬","炫明","烨伟","烨华","烨磊","烨霖","煜城","煜祺","熠彤","琪","瑞霖","瑾瑜","皓轩","睿渊","立果","立诚","立轩","立辉","笑愚","绍辉","绍齐","耀杰","聪健","胤祥","致远","航","苑博","荣轩","语堂","越彬","越泽","远航","金鑫","鑫磊","鑫鹏","钰轩","锦程","雨泽","雪松","靖琪","风华","驰","鸿涛","鸿煊","鹏","鹏涛","鹏煊","鹏飞","鹤轩","鹭洋","黎昕","诗雨","婷方","美方","雅婷","紫林","天娇","万佳","子欣","海燕","乙萍","安琪","馨羽","馥君","思佳","雅鑫","静怡","晨阳","佳琪","雯静","榕融","浩辰","癸霖","一全","三锋","义轩","俊凯","子豪","振东","智杰","哲新","中海","超栋","治涛","治文","文韬","敬彪","敬阳","政君","立伟","呈轩"],Kr=["赵","钱","孙","李","周","吴","郑","王","冯","陈","褚","卫","蒋","沈","韩","杨","朱","秦","尤","许","何","吕","施","张","孔","曹","严","华","金","魏","陶","姜","戚","谢","邹","喻","柏","水","窦","章","云","苏","潘","葛","奚","范","彭","郎","鲁","韦","昌","马","苗","凤","花","方","俞","任","袁","柳","酆","鲍","史","唐","费","廉","岑","薛","雷","贺","倪","汤","滕","殷","罗","毕","郝","邬","安","常","乐","于","时","傅","皮","卞","齐","康","伍","余","元","卜","顾","孟","平","黄","和","穆","萧","尹","姚","邵","湛","汪","祁","毛","禹","狄","米","贝","明","臧","计","伏","成","戴","谈","宋","茅","庞","熊","纪","舒","屈","项","祝","董","梁","杜","阮","蓝","闵","席","季","麻","强","贾","路","娄","危","江","童","颜","郭","梅","盛","林","刁","锺","徐","邱","骆","高","夏","蔡","田","樊","胡","凌","蹇","称","诺","来","多","繁","戊","朴","回","毓","税","荤","靖","绪","愈","硕","牢","买","但","巧","枚","撒","泰","秘","亥","绍","以","壬","森","斋","释","奕","姒","朋","求","羽","用","占","真","穰","翦","闾","漆","贵","代","贯","旁","崇","栋","告","休","褒","谏","锐","皋","闳","在","歧","禾","示","是","委","钊","频","嬴","呼","大","威","昂","律","冒","保","系","抄","定","化","莱","校","么","抗","祢","綦","悟","宏","功","庚","务","敏","捷","拱","兆","丑","丙","畅","苟","随","类","卯","俟","友","答","乙","允","甲","留","尾","佼","玄","乘","裔","延","植","环","矫","赛","昔","侍","度","旷","遇","偶","前","由","咎","塞","敛","受","泷","袭","衅","叔","圣","御","夫","仆","镇","藩","邸","府","掌","首","员","焉","戏","可","智","尔","凭","悉","进","笃","厚","仁","业","肇","资","合","仍","九","衷","哀","刑","俎","仵","圭","夷","徭","蛮","汗","孛","乾","帖","罕","洛","淦","洋","邶","郸","郯","邗","邛","剑","虢","隋","蒿","茆","菅","苌","树","桐","锁","钟","机","盘","铎","斛","玉","线","针","箕","庹","绳","磨","蒉","瓮","弭","刀","疏","牵","浑","恽","势","世","仝","同","蚁","止","戢","睢","冼","种","涂","肖","己","泣","潜","卷","脱","谬","蹉","赧","浮","顿","说","次","错","念","夙","斯","完","丹","表","聊","源","姓","吾","寻","展","出","不","户","闭","才","无","书","学","愚","本","性","雪","霜","烟","寒","少","字","桥","板","斐","独","千","诗","嘉","扬","善","揭","祈","析","赤","紫","青","柔","刚","奇","拜","佛","陀","弥","阿","素","长","僧","隐","仙","隽","宇","祭","酒","淡","塔","琦","闪","始","星","南","天","接","波","碧","速","禚","腾","潮","镜","似","澄","潭","謇","纵","渠","奈","风","春","濯","沐","茂","英","兰","檀","藤","枝","检","生","折","登","驹","骑","貊","虎","肥","鹿","雀","野","禽","飞","节","宜","鲜","粟","栗","豆","帛","官","布","衣","藏","宝","钞","银","门","盈","庆","喜","及","普","建","营","巨","望","希","道","载","声","漫","犁","力","贸","勤","革","改","兴","亓","睦","修","信","闽","北","守","坚","勇","汉","练","尉","士","旅","五","令","将","旗","军","行","奉","敬","恭","仪","母","堂","丘","义","礼","慈","孝","理","伦","卿","问","永","辉","位","让","尧","依","犹","介","承","市","所","苑","杞","剧","第","零","谌","招","续","达","忻","六","鄞","战","迟","候","宛","励","粘","萨","邝","覃","辜","初","楼","城","区","局","台","原","考","妫","纳","泉","老","清","德","卑","过","麦","曲","竹","百","福","言","霍","虞","万","支","柯","昝","管","卢","莫","经","房","裘","缪","干","解","应","宗","丁","宣","贲","邓","单","杭","洪","包","诸","左","石","崔","吉","钮","龚","程","嵇","邢","滑","裴","陆","荣","翁","荀","羊","於","惠","甄","麴","家","封","芮","羿","储","靳","汲","邴","糜","松","井","段","富","巫","乌","焦","巴","弓","牧","隗","山","谷","车","侯","宓","蓬","全","郗","班","仰","秋","仲","伊","宫","宁","仇","栾","暴","甘","钭","历","戎","祖","武","符","刘","景","詹","束","龙","叶","幸","司","韶","郜","黎","蓟","溥","印","宿","白","怀","蒲","邰","召","有","舜","拉","丛","岳","寸","贰","皇","侨","彤","竭","端","赫","实","甫","集","象","翠","狂","辟","典","良","函","芒","苦","其","京","中","夕","之","从","鄂","索","咸","籍","赖","卓","蔺","屠","蒙","池","乔","阳","郁","胥","能","苍","双","闻","莘","党","翟","谭","贡","劳","逄","姬","申","扶","堵","冉","宰","郦","雍","却","璩","桑","桂","濮","牛","寿","通","边","扈","燕","冀","僪","浦","尚","农","温","别","庄","晏","柴","瞿","阎","充","慕","连","茹","习","宦","艾","鱼","容","向","古","易","慎","戈","廖","庾","终","暨","居","衡","步","都","耿","满","弘","匡","国","文","琴","况","亢","缑","帅","寇","广","禄","阙","东","欧","殳","沃","利","蔚","越","夔","隆","师","巩","厍","聂","晁","勾","敖","融","冷","訾","辛","阚","那","简","饶","空","曾","毋","沙","乜","养","鞠","须","丰","巢","关","蒯","相","查","后","荆","红","游","特","察","竺","冠","宾","香","赏","伯","佴","佘","佟","爱","年","笪","谯","哈","墨","牟","商","海","归","钦","鄢","汝","法","闫","楚","晋","督","仉","盖","逯","库","郏","逢","阴","薄","厉","稽","开","光","操","瑞","眭","泥","运","摩","伟","铁","迮","果","权","逮","盍","益","桓","公","万俟","司马","上官","欧阳","夏侯","诸葛","闻人","东方","赫连","皇甫","尉迟","公羊","澹台","公冶","宗政","濮阳","淳于","单于","太叔","申屠","公孙","仲孙","轩辕","令狐","钟离","宇文","长孙","慕容","司徒","司空","章佳","那拉","觉罗","纳喇","乌雅","范姜","碧鲁"],Jr=[{value:"{{person.last_name}}",weight:1}],$r=["建华","建国","建军","国强","国平","国良","国栋","国辉","志国","志明","勇","军","伟","强","刚","涛","斌","波","辉","磊","超","鹏","杰","浩","鑫","帅","宇","晨","诚","成","民","明","阳","瑜","熙成","熙瑶","家豪","家明","俊杰","俊熙","沐宸","浩宇","浩然","浩轩","浩晨","沐辰","茗泽","奕辰","奕泽","宇泽","宇轩","宇航","沐阳","梓诚","梓豪","梓睿","梓浩","浩辰","癸霖","一全","三锋","义轩","俊凯","子豪","振东","智杰","哲新","文昊","中海","超栋","治涛","治文","文韬","敬彪","敬阳","政君","立伟","呈轩"],Ur=null,Vr=[{value:"{{person.lastName}}{{person.firstName}}",weight:1}],Yr=null,Zr={bio_part:Nr,bio_pattern:qr,bio_supporter:Gr,female_first_name:Wr,female_prefix:_r,first_name:Or,last_name:Kr,last_name_pattern:Jr,male_first_name:$r,male_prefix:Ur,name:Vr,prefix:Yr},Xr=Zr,Qr=["0##-########","0###-########","1##########"],el={formats:Qr},al=el,il=Object.freeze([{symbol:"H",name:"氢",atomicNumber:1},{symbol:"He",name:"氦",atomicNumber:2},{symbol:"Li",name:"锂",atomicNumber:3},{symbol:"Be",name:"铍",atomicNumber:4},{symbol:"B",name:"硼",atomicNumber:5},{symbol:"C",name:"碳",atomicNumber:6},{symbol:"N",name:"氮",atomicNumber:7},{symbol:"O",name:"氧",atomicNumber:8},{symbol:"F",name:"氟",atomicNumber:9},{symbol:"Ne",name:"氖",atomicNumber:10},{symbol:"Na",name:"钠",atomicNumber:11},{symbol:"Mg",name:"镁",atomicNumber:12},{symbol:"Al",name:"铝",atomicNumber:13},{symbol:"Si",name:"硅",atomicNumber:14},{symbol:"P",name:"磷",atomicNumber:15},{symbol:"S",name:"硫",atomicNumber:16},{symbol:"Cl",name:"氯",atomicNumber:17},{symbol:"Ar",name:"氩",atomicNumber:18},{symbol:"K",name:"钾",atomicNumber:19},{symbol:"Ca",name:"钙",atomicNumber:20},{symbol:"Sc",name:"钪",atomicNumber:21},{symbol:"Ti",name:"钛",atomicNumber:22},{symbol:"V",name:"钒",atomicNumber:23},{symbol:"Cr",name:"铬",atomicNumber:24},{symbol:"Mn",name:"锰",atomicNumber:25},{symbol:"Fe",name:"铁",atomicNumber:26},{symbol:"Co",name:"钴",atomicNumber:27},{symbol:"Ni",name:"镍",atomicNumber:28},{symbol:"Cu",name:"铜",atomicNumber:29},{symbol:"Zn",name:"锌",atomicNumber:30},{symbol:"Ga",name:"镓",atomicNumber:31},{symbol:"Ge",name:"锗",atomicNumber:32},{symbol:"As",name:"砷",atomicNumber:33},{symbol:"Se",name:"硒",atomicNumber:34},{symbol:"Br",name:"溴",atomicNumber:35},{symbol:"Kr",name:"氪",atomicNumber:36},{symbol:"Rb",name:"铷",atomicNumber:37},{symbol:"Sr",name:"锶",atomicNumber:38},{symbol:"Y",name:"钇",atomicNumber:39},{symbol:"Zr",name:"锆",atomicNumber:40},{symbol:"Nb",name:"铌",atomicNumber:41},{symbol:"Mo",name:"钼",atomicNumber:42},{symbol:"Tc",name:"Technetium",atomicNumber:43},{symbol:"Ru",name:"锝",atomicNumber:44},{symbol:"Rh",name:"锝",atomicNumber:45},{symbol:"Pd",name:"钯",atomicNumber:46},{symbol:"Ag",name:"银",atomicNumber:47},{symbol:"Cd",name:"镉",atomicNumber:48},{symbol:"In",name:"铟",atomicNumber:49},{symbol:"Sn",name:"锡",atomicNumber:50},{symbol:"Sb",name:"锑",atomicNumber:51},{symbol:"Te",name:"碲",atomicNumber:52},{symbol:"I",name:"碘",atomicNumber:53},{symbol:"Xe",name:"氙",atomicNumber:54},{symbol:"Cs",name:"铯",atomicNumber:55},{symbol:"Ba",name:"钡",atomicNumber:56},{symbol:"La",name:"镧",atomicNumber:57},{symbol:"Ce",name:"铈",atomicNumber:58},{symbol:"Pr",name:"镨",atomicNumber:59},{symbol:"Nd",name:"钕",atomicNumber:60},{symbol:"Pm",name:"钷",atomicNumber:61},{symbol:"Sm",name:"钐",atomicNumber:62},{symbol:"Eu",name:"铕",atomicNumber:63},{symbol:"Gd",name:"钆",atomicNumber:64},{symbol:"Tb",name:"铽",atomicNumber:65},{symbol:"Dy",name:"钬",atomicNumber:66},{symbol:"Ho",name:"钬",atomicNumber:67},{symbol:"Er",name:"铥",atomicNumber:68},{symbol:"Tm",name:"铥",atomicNumber:69},{symbol:"Yb",name:"镱",atomicNumber:70},{symbol:"Lu",name:"镥",atomicNumber:71},{symbol:"Hf",name:"铪",atomicNumber:72},{symbol:"Ta",name:"钽",atomicNumber:73},{symbol:"W",name:"钨",atomicNumber:74},{symbol:"Re",name:"铼",atomicNumber:75},{symbol:"Os",name:"锇",atomicNumber:76},{symbol:"Ir",name:"铱",atomicNumber:77},{symbol:"Pt",name:"铂",atomicNumber:78},{symbol:"Au",name:"金",atomicNumber:79},{symbol:"Hg",name:"汞",atomicNumber:80},{symbol:"Tl",name:"铊",atomicNumber:81},{symbol:"Pb",name:"铅",atomicNumber:82},{symbol:"Bi",name:"铋",atomicNumber:83},{symbol:"Po",name:"钋",atomicNumber:84},{symbol:"At",name:"砹",atomicNumber:85},{symbol:"Rn",name:"氡",atomicNumber:86},{symbol:"Fr",name:"钫",atomicNumber:87},{symbol:"Ra",name:"镭",atomicNumber:88},{symbol:"Ac",name:"锕",atomicNumber:89},{symbol:"Th",name:"钍",atomicNumber:90},{symbol:"Pa",name:"镎",atomicNumber:91},{symbol:"U",name:"镎",atomicNumber:92},{symbol:"Np",name:"镎",atomicNumber:93},{symbol:"Pu",name:"钚",atomicNumber:94},{symbol:"Am",name:"镅",atomicNumber:95},{symbol:"Cm",name:"锔",atomicNumber:96},{symbol:"Bk",name:"锫",atomicNumber:97},{symbol:"Cf",name:"锎",atomicNumber:98},{symbol:"Es",name:"锿",atomicNumber:99},{symbol:"Fm",name:"镄",atomicNumber:100},{symbol:"Md",name:"钔",atomicNumber:101},{symbol:"No",name:"锘",atomicNumber:102},{symbol:"Lr",name:"铹",atomicNumber:103},{symbol:"Rf",name:"𬬻",atomicNumber:104},{symbol:"Db",name:"𬭊",atomicNumber:105},{symbol:"Sg",name:"𬭳",atomicNumber:106},{symbol:"Bh",name:"𬭛",atomicNumber:107},{symbol:"Hs",name:"𬭶",atomicNumber:108},{symbol:"Mt",name:"鿏",atomicNumber:109},{symbol:"Ds",name:"𫟼",atomicNumber:110},{symbol:"Rg",name:"𬬭",atomicNumber:111},{symbol:"Cn",name:"鿔",atomicNumber:112},{symbol:"Nh",name:"鿭",atomicNumber:113},{symbol:"Fl",name:"𫓧",atomicNumber:114},{symbol:"Mc",name:"镆",atomicNumber:115},{symbol:"Lv",name:"𫟷",atomicNumber:116},{symbol:"Ts",name:"钿",atomicNumber:117},{symbol:"Og",name:"鿫",atomicNumber:118}]),tl=Object.freeze([{name:"米",symbol:"m"},{name:"秒",symbol:"s"},{name:"摩尔",symbol:"mol"},{name:"安培",symbol:"A"},{name:"开尔文",symbol:"K"},{name:"坎德拉",symbol:"cd"},{name:"千克",symbol:"kg"},{name:"弧度",symbol:"rad"},{name:"赫兹",symbol:"Hz"},{name:"牛顿",symbol:"N"},{name:"帕斯卡",symbol:"Pa"},{name:"焦耳",symbol:"J"},{name:"瓦特",symbol:"W"},{name:"库伦",symbol:"C"},{name:"伏特",symbol:"V"},{name:"欧姆",symbol:"Ω"},{name:"特斯拉",symbol:"T"},{name:"摄氏度",symbol:"°C"},{name:"流明",symbol:"lm"},{name:"贝尔勒尔",symbol:"Bq"},{name:"戈瑞",symbol:"Gy"},{name:"希沃特",symbol:"Sv"},{name:"球面度",symbol:"sr"},{name:"法拉",symbol:"F"},{name:"西门子",symbol:"S"},{name:"韦伯",symbol:"Wb"},{name:"亨利",symbol:"H"},{name:"勒克斯",symbol:"lx"},{name:"开特",symbol:"kat"}]),nl={chemicalElement:il,unit:tl},ol=nl,gl=["冒险公路自行车","小轮车自行车","城市自行车","巡洋舰自行车","越野自行车","双运动自行车","健身自行车","平足舒适自行车","折叠自行车","混合动力自行车","山地自行车","卧式自行车","公路自行车","双人自行车","旅行自行车","场地/固定齿轮自行车","铁人三项/计时自行车","三轮车"],sl=["柴油","电动","汽油","混合动力"],ul=["阿斯顿·马丁","奥迪","宾利","宝马","布加迪","卡迪拉克","雪佛兰","克莱斯勒","躲闪","法拉利","菲亚特","福特","本田","现代","捷豹","吉普车","起亚","兰博基尼","路虎","玛莎拉蒂","马自达","奔驰","小型的","日产","极星","保时捷","劳斯莱斯","聪明的","特斯拉","丰田","大众汽车","沃尔沃"],rl=["货车","掀背车","面包车","客车","越野车","轿车","旅行车"],ll={bicycle_type:gl,fuel:sl,manufacturer:ul,type:rl},ml=ll,cl=["长","短","大","小","粗","细","红","绿","平坦","整齐","雪白","笔直","绿油油","血淋淋","骨碌碌","黑不溜秋","好","坏","伟大","勇敢","优秀","聪明","老实","鲁莽","大方","软","硬","苦","甜","冷","热","坚固","平常","快","慢","生动","熟练","轻松","清楚","马虎","干脆","许多","好些","全部","全","整","多","少"],pl=["都","全","单","共","光","尽","净","仅","就","只","一共","一起","一同","一道","一齐","一概","一味","统统","总共","仅仅","惟独","可","倒","一定","必定","必然","却","幸亏","难道","何尝","偏偏","索性","简直","反正","多亏","也许","大约","好在","敢情","不","没","没有","别","仿佛","渐渐","百般","特地","互相","擅自","几乎","逐渐","逐步","猛然","依然","仍然","当然","毅然","果然","差点儿","很","极","最","太","更","更加","格外","十分","极其","比较","相当","稍微","略微","多么"],dl=["打","吃","抿","做","坐","跑","跳","走","飞","爬","开","滑","切","拆","咬","吞","吐","吮","吸","啃","喝","咀","嚼","搀","抱","搂","扶","捉","擒","掐","推","拿","抽","撕","摘","拣","捡","播","击","捏","撒","按","弹","撞","提","扭","捶","持","揍","披","捣","搜","托","举","拖","擦","敲","挖","抛","掘","抬","插","扔","写","抄","抓","捧","掷","撑","摊","倒","摔","劈","画","搔","撬","挥","揽","挡","捺","抚","搡","拉","摸","拍","摇","剪","拎","拔","拧","拨","舞","握","攥","驾驶","移动","转动","操作","蠕动","启动","关闭"],hl={adjective:cl,adverb:pl,verb:dl},Fl=hl,bl={airline:wu,animal:Lu,color:zu,commerce:Wu,company:$u,database:Yu,date:er,finance:lr,hacker:Fr,internet:yr,location:Tr,metadata:Lr,music:Ir,person:Xr,phone_number:al,science:ol,vehicle:ml,word:Fl},kl=bl,T=new Us({locale:[kl,Lg,Du]});const yl=[_.get(z("/list"),async()=>(await O(1e3),S.json(Array.from({length:10}).map(()=>({fullname:T.person.fullName(),email:T.internet.email(),avatar:T.image.avatar(),address:T.location.streetAddress()}))))),_.get(z("/list"),async()=>(await O(1e3),S.json(Array.from({length:10}).map(()=>({fullname:T.person.fullName(),email:T.internet.email(),avatar:T.image.avatar(),address:T.location.streetAddress()})))))],fl=Object.freeze(Object.defineProperty({__proto__:null,default:yl},Symbol.toStringTag,{value:"Module"})),Dl=[_.get(z("/user/:id"),async()=>(await O(1e3),S.json(Array.from({length:10}).map(()=>({fullname:T.person.fullName(),email:T.internet.email(),avatar:T.image.avatar(),address:T.location.streetAddress()}))))),_.get(z("/login"),async()=>(await O(1e3),S.json({code:200,data:"登录成功"})))],Al=Object.freeze(Object.defineProperty({__proto__:null,default:Dl},Symbol.toStringTag,{value:"Module"}));function Cl(a){return{status:a.status,statusText:a.statusText,headers:Object.fromEntries(a.headers.entries())}}function Ge(a){return a!=null&&typeof a=="object"&&!Array.isArray(a)}function ja(a,e){return Object.entries(e).reduce((i,[t,n])=>{const o=i[t];return Array.isArray(o)&&Array.isArray(n)?(i[t]=o.concat(n),i):Ge(o)&&Ge(n)?(i[t]=ja(o,n),i):(i[t]=n,i)},Object.assign({},a))}var El={},vl=/(%?)(%([sdijo]))/g;function wl(a,e){switch(e){case"s":return a;case"d":case"i":return Number(a);case"j":return JSON.stringify(a);case"o":{if(typeof a=="string")return a;const i=JSON.stringify(a);return i==="{}"||i==="[]"||/^\[object .+?\]$/.test(i)?a:i}}}function ne(a,...e){if(e.length===0)return a;let i=0,t=a.replace(vl,(n,o,g,s)=>{const r=e[i],u=wl(r,s);return o?n:(i++,u)});return i{if(!a)throw new Sl(e,...i)};J.as=(a,e,i,...t)=>{if(!e){const n=t.length===0?i:ne(i,t);let o;try{o=Reflect.construct(a,[n])}catch{o=a(n)}throw o}};function we(){if(typeof navigator<"u"&&navigator.product==="ReactNative")return!0;if(typeof process<"u"){const a=process.type;return a==="renderer"||a==="worker"?!1:!!(process.versions&&process.versions.node)}return!1}var ce=async a=>{try{return{error:null,data:await a().catch(i=>{throw i})}}catch(e){return{error:e,data:null}}};function Ml(a){return new URL(a,location.href).href}function Fe(a,e,i){return[a.active,a.installing,a.waiting].filter(g=>g!=null).find(g=>i(g.scriptURL,e))||null}var xl=async(a,e={},i)=>{const t=Ml(a),n=await navigator.serviceWorker.getRegistrations().then(s=>s.filter(r=>Fe(r,t,i)));!navigator.serviceWorker.controller&&n.length>0&&location.reload();const[o]=n;if(o)return o.update().then(()=>[Fe(o,t,i),o]);const g=await ce(async()=>{const s=await navigator.serviceWorker.register(a,e);return[Fe(s,t,i),s]});if(g.error){if(g.error.message.includes("(404)")){const r=new URL(e?.scope||"/",location.href);throw new Error(v.formatMessage(`Failed to register a Service Worker for scope ('${r.href}') with script ('${t}'): Service Worker script does not exist at the given path. + +Did you forget to run "npx msw init "? + +Learn more about creating the Service Worker script: https://mswjs.io/docs/cli/init`))}throw new Error(v.formatMessage(`Failed to register the Service Worker: + +%s`,g.error.message))}return g.data};function Ba(a={}){if(a.quiet)return;const e=a.message||"Mocking enabled.";console.groupCollapsed(`%c${v.formatMessage(e)}`,"color:orangered;font-weight:bold;"),a.workerUrl&&a.workerUrl,a.workerScope&&a.workerScope,console.groupEnd()}async function Tl(a,e){if(a.workerChannel.send("MOCK_ACTIVATE"),await a.events.once("MOCKING_ENABLED"),a.isMockingEnabled){v.warn('Found a redundant "worker.start()" call. Note that starting the worker while mocking is already enabled will have no effect. Consider removing this "worker.start()" call.');return}a.isMockingEnabled=!0,Ba({quiet:e.quiet,workerScope:a.registration?.scope,workerUrl:a.worker?.scriptURL})}var Rl=class{constructor(a){this.port=a}postMessage(a,...e){const[i,t]=e;this.port.postMessage({type:a,data:i},{transfer:t})}};function Ll(a){if(!["HEAD","GET"].includes(a.method))return a.body}function Pl(a){return new Request(a.url,{...a,body:Ll(a)})}var Hl=(a,e)=>async(i,t)=>{const n=new Rl(i.ports[0]),o=t.payload.id,g=Pl(t.payload),s=g.clone(),r=g.clone();te.cache.set(g,r),a.requests.set(o,r);try{await da(g,o,a.getRequestHandlers(),e,a.emitter,{onPassthroughResponse(){n.postMessage("NOT_FOUND")},async onMockedResponse(u,{handler:l,parsedResult:c}){const m=u.clone(),F=u.clone(),p=Cl(u);if(a.supports.readableStreamTransfer){const h=u.body;n.postMessage("MOCK_RESPONSE",{...p,body:h},h?[h]:void 0)}else{const h=u.body===null?null:await m.arrayBuffer();n.postMessage("MOCK_RESPONSE",{...p,body:h})}e.quiet||a.emitter.once("response:mocked",()=>{l.log({request:s,response:F,parsedResult:c})})}})}catch(u){u instanceof Error&&(v.error(`Uncaught exception in the request handler for "%s %s": + +%s + +This exception has been gracefully handled as a 500 response, however, it's strongly recommended to resolve this error, as it indicates a mistake in your code. If you wish to mock an error response, please see this guide: https://mswjs.io/docs/recipes/mocking-error-responses`,g.method,g.url,u.stack??u),n.postMessage("MOCK_RESPONSE",{status:500,statusText:"Request Handler Error",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:u.name,message:u.message,stack:u.stack})}))}};async function zl(a,e){a.workerChannel.send("INTEGRITY_CHECK_REQUEST");const{payload:i}=await a.events.once("INTEGRITY_CHECK_RESPONSE");if(i!=="223d191a56023cd36aa88c802961b911")throw new Error(`Currently active Service Worker (${i}) is behind the latest published one (223d191a56023cd36aa88c802961b911).`);return e}var Il=new TextEncoder;function Nl(a){return Il.encode(a)}function ql(a,e){return new TextDecoder(e).decode(a)}function Gl(a){return a.buffer.slice(a.byteOffset,a.byteOffset+a.byteLength)}var Wl=new Set([101,103,204,205,304]);function Sa(a){return Wl.has(a)}var _l=Object.defineProperty,Ol=(a,e)=>{for(var i in e)_l(a,i,{get:e[i],enumerable:!0})},De={};Ol(De,{blue:()=>Jl,gray:()=>Ae,green:()=>Ul,red:()=>$l,yellow:()=>Kl});function Kl(a){return`\x1B[33m${a}\x1B[0m`}function Jl(a){return`\x1B[34m${a}\x1B[0m`}function Ae(a){return`\x1B[90m${a}\x1B[0m`}function $l(a){return`\x1B[31m${a}\x1B[0m`}function Ul(a){return`\x1B[32m${a}\x1B[0m`}var pe=we(),Ma=class{constructor(a){this.name=a,this.prefix=`[${this.name}]`;const e=We("DEBUG"),i=We("LOG_LEVEL");e==="1"||e==="true"||typeof e<"u"&&this.name.startsWith(e)?(this.debug=ae(i,"debug")?L:this.debug,this.info=ae(i,"info")?L:this.info,this.success=ae(i,"success")?L:this.success,this.warning=ae(i,"warning")?L:this.warning,this.error=ae(i,"error")?L:this.error):(this.info=L,this.success=L,this.warning=L,this.error=L,this.only=L)}prefix;extend(a){return new Ma(`${this.name}:${a}`)}debug(a,...e){this.logEntry({level:"debug",message:Ae(a),positionals:e,prefix:this.prefix,colors:{prefix:"gray"}})}info(a,...e){this.logEntry({level:"info",message:a,positionals:e,prefix:this.prefix,colors:{prefix:"blue"}});const i=new Vl;return(t,...n)=>{i.measure(),this.logEntry({level:"info",message:`${t} ${Ae(`${i.deltaTime}ms`)}`,positionals:n,prefix:this.prefix,colors:{prefix:"blue"}})}}success(a,...e){this.logEntry({level:"info",message:a,positionals:e,prefix:`✔ ${this.prefix}`,colors:{timestamp:"green",prefix:"green"}})}warning(a,...e){this.logEntry({level:"warning",message:a,positionals:e,prefix:`⚠ ${this.prefix}`,colors:{timestamp:"yellow",prefix:"yellow"}})}error(a,...e){this.logEntry({level:"error",message:a,positionals:e,prefix:`✖ ${this.prefix}`,colors:{timestamp:"red",prefix:"red"}})}only(a){a()}createEntry(a,e){return{timestamp:new Date,level:a,message:e}}logEntry(a){const{level:e,message:i,prefix:t,colors:n,positionals:o=[]}=a,g=this.createEntry(e,i),s=n?.timestamp||"gray",r=n?.prefix||"gray",u={timestamp:De[s],prefix:De[r]};this.getWriter(e)([u.timestamp(this.formatTimestamp(g.timestamp))].concat(t!=null?u.prefix(t):[]).concat(_e(i)).join(" "),...o.map(_e))}formatTimestamp(a){return`${a.toLocaleTimeString("en-GB")}:${a.getMilliseconds()}`}getWriter(a){switch(a){case"debug":case"success":case"info":return Yl;case"warning":return Zl;case"error":return Xl}}},Vl=class{startTime;endTime;deltaTime;constructor(){this.startTime=performance.now()}measure(){this.endTime=performance.now();const a=this.endTime-this.startTime;this.deltaTime=a.toFixed(2)}},L=()=>{};function Yl(a,...e){if(pe){process.stdout.write(ne(a,...e)+` +`);return}[...e]}function Zl(a,...e){if(pe){process.stderr.write(ne(a,...e)+` +`);return}console.warn(a,...e)}function Xl(a,...e){if(pe){process.stderr.write(ne(a,...e)+` +`);return}console.error(a,...e)}function We(a){return pe?El[a]:globalThis[a]?.toString()}function ae(a,e){return a!==void 0&&a!==e}function _e(a){return typeof a>"u"?"undefined":a===null?"null":typeof a=="string"?a:typeof a=="object"?JSON.stringify(a):a.toString()}var Ql=class extends Error{constructor(a,e,i){super(`Possible EventEmitter memory leak detected. ${i} ${e.toString()} listeners added. Use emitter.setMaxListeners() to increase limit`),this.emitter=a,this.type=e,this.count=i,this.name="MaxListenersExceededWarning"}},xa=class{static listenerCount(a,e){return a.listenerCount(e)}constructor(){this.events=new Map,this.maxListeners=xa.defaultMaxListeners,this.hasWarnedAboutPotentialMemoryLeak=!1}_emitInternalEvent(a,e,i){this.emit(a,e,i)}_getListeners(a){return Array.prototype.concat.apply([],this.events.get(a))||[]}_removeListener(a,e){const i=a.indexOf(e);return i>-1&&a.splice(i,1),[]}_wrapOnceListener(a,e){const i=(...t)=>(this.removeListener(a,i),e.apply(this,t));return Object.defineProperty(i,"name",{value:e.name}),i}setMaxListeners(a){return this.maxListeners=a,this}getMaxListeners(){return this.maxListeners}eventNames(){return Array.from(this.events.keys())}emit(a,...e){const i=this._getListeners(a);return i.forEach(t=>{t.apply(this,e)}),i.length>0}addListener(a,e){this._emitInternalEvent("newListener",a,e);const i=this._getListeners(a).concat(e);if(this.events.set(a,i),this.maxListeners>0&&this.listenerCount(a)>this.maxListeners&&!this.hasWarnedAboutPotentialMemoryLeak){this.hasWarnedAboutPotentialMemoryLeak=!0;const t=new Ql(this,a,this.listenerCount(a));console.warn(t)}return this}on(a,e){return this.addListener(a,e)}once(a,e){return this.addListener(a,this._wrapOnceListener(a,e))}prependListener(a,e){const i=this._getListeners(a);if(i.length>0){const t=[e].concat(i);this.events.set(a,t)}else this.events.set(a,i.concat(e));return this}prependOnceListener(a,e){return this.prependListener(a,this._wrapOnceListener(a,e))}removeListener(a,e){const i=this._getListeners(a);return i.length>0&&(this._removeListener(i,e),this.events.set(a,i),this._emitInternalEvent("removeListener",a,e)),this}off(a,e){return this.removeListener(a,e)}removeAllListeners(a){return a?this.events.delete(a):this.events.clear(),this}listeners(a){return Array.from(this._getListeners(a))}listenerCount(a){return this._getListeners(a).length}rawListeners(a){return this.listeners(a)}},Ta=xa;Ta.defaultMaxListeners=10;var Z=Symbol("isPatchedModule");function Oe(a){return globalThis[a]||void 0}function em(a,e){globalThis[a]=e}function am(a){delete globalThis[a]}var je=class{constructor(a){this.symbol=a,this.readyState="INACTIVE",this.emitter=new Ta,this.subscriptions=[],this.logger=new Ma(a.description),this.emitter.setMaxListeners(0),this.logger.info("constructing the interceptor...")}checkEnvironment(){return!0}apply(){const a=this.logger.extend("apply");if(a.info("applying the interceptor..."),this.readyState==="APPLIED"){a.info("intercepted already applied!");return}if(!this.checkEnvironment()){a.info("the interceptor cannot be applied in this environment!");return}this.readyState="APPLYING";const i=this.getInstance();if(i){a.info("found a running instance, reusing..."),this.on=(t,n)=>(a.info('proxying the "%s" listener',t),i.emitter.addListener(t,n),this.subscriptions.push(()=>{i.emitter.removeListener(t,n),a.info('removed proxied "%s" listener!',t)}),this),this.readyState="APPLIED";return}a.info("no running instance found, setting up a new instance..."),this.setup(),this.setInstance(),this.readyState="APPLIED"}setup(){}on(a,e){const i=this.logger.extend("on");return this.readyState==="DISPOSING"||this.readyState==="DISPOSED"?(i.info("cannot listen to events, already disposed!"),this):(i.info('adding "%s" event listener:',a,e),this.emitter.on(a,e),this)}once(a,e){return this.emitter.once(a,e),this}off(a,e){return this.emitter.off(a,e),this}removeAllListeners(a){return this.emitter.removeAllListeners(a),this}dispose(){const a=this.logger.extend("dispose");if(this.readyState==="DISPOSED"){a.info("cannot dispose, already disposed!");return}if(a.info("disposing the interceptor..."),this.readyState="DISPOSING",!this.getInstance()){a.info("no interceptors running, skipping dispose...");return}if(this.clearInstance(),a.info("global symbol deleted:",Oe(this.symbol)),this.subscriptions.length>0){a.info("disposing of %d subscriptions...",this.subscriptions.length);for(const e of this.subscriptions)e();this.subscriptions=[],a.info("disposed of all subscriptions!",this.subscriptions.length)}this.emitter.removeAllListeners(),a.info("destroyed the listener!"),this.readyState="DISPOSED"}getInstance(){var a;const e=Oe(this.symbol);return this.logger.info("retrieved global instance:",(a=e?.constructor)==null?void 0:a.name),e}setInstance(){em(this.symbol,this),this.logger.info("set global instance!",this.symbol.description)}clearInstance(){am(this.symbol),this.logger.info("cleared global instance!",this.symbol.description)}},Ce=class extends je{constructor(a){Ce.symbol=Symbol(a.name),super(Ce.symbol),this.interceptors=a.interceptors}setup(){const a=this.logger.extend("setup");a.info("applying all %d interceptors...",this.interceptors.length);for(const e of this.interceptors)a.info('applying "%s" interceptor...',e.constructor.name),e.apply(),a.info("adding interceptor dispose subscription"),this.subscriptions.push(()=>e.dispose())}on(a,e){for(const i of this.interceptors)i.on(a,e);return this}once(a,e){for(const i of this.interceptors)i.once(a,e);return this}off(a,e){for(const i of this.interceptors)i.off(a,e);return this}removeAllListeners(a){for(const e of this.interceptors)e.removeAllListeners(a);return this}};function im(a){return(e,i)=>{const{payload:t}=i,{requestId:n}=t,o=a.requests.get(n);if(a.requests.delete(n),t.type?.includes("opaque"))return;const g=t.status===0?Response.error():new Response(Sa(t.status)?null:t.body,t);g.url||Object.defineProperty(g,"url",{value:o.url,enumerable:!0,writable:!1}),a.emitter.emit(t.isMockedResponse?"response:mocked":"response:bypass",{response:g,request:o,requestId:t.requestId})}}function tm(a,e){!e?.quiet&&!location.href.startsWith(a.scope)&&v.warn(`Cannot intercept requests on this page because it's outside of the worker's scope ("${a.scope}"). If you wish to mock API requests on this page, you must resolve this scope issue. + +- (Recommended) Register the worker at the root level ("/") of your application. +- Set the "Service-Worker-Allowed" response header to allow out-of-scope workers.`)}var nm=a=>function(i,t){return(async()=>{a.events.removeAllListeners(),a.workerChannel.on("REQUEST",Hl(a,i)),a.workerChannel.on("RESPONSE",im(a));const g=await xl(i.serviceWorker.url,i.serviceWorker.options,i.findWorker),[s,r]=g;if(!s){const l=t?.findWorker?v.formatMessage(`Failed to locate the Service Worker registration using a custom "findWorker" predicate. + +Please ensure that the custom predicate properly locates the Service Worker registration at "%s". +More details: https://mswjs.io/docs/api/setup-worker/start#findworker +`,i.serviceWorker.url):v.formatMessage(`Failed to locate the Service Worker registration. + +This most likely means that the worker script URL "%s" cannot resolve against the actual public hostname (%s). This may happen if your application runs behind a proxy, or has a dynamic hostname. + +Please consider using a custom "serviceWorker.url" option to point to the actual worker script location, or a custom "findWorker" option to resolve the Service Worker registration manually. More details: https://mswjs.io/docs/api/setup-worker/start`,i.serviceWorker.url,location.host);throw new Error(l)}a.worker=s,a.registration=r,a.events.addListener(window,"beforeunload",()=>{s.state!=="redundant"&&a.workerChannel.send("CLIENT_CLOSED"),window.clearInterval(a.keepAliveInterval)});const u=await ce(()=>zl(a,s));return u.error&&v.error(`Detected outdated Service Worker: ${u.error.message} + +The mocking is still enabled, but it's highly recommended that you update your Service Worker by running: + +$ npx msw init + +This is necessary to ensure that the Service Worker is in sync with the library to guarantee its stability. +If this message still persists after updating, please report an issue: https://github.com/open-draft/msw/issues `),a.keepAliveInterval=window.setInterval(()=>a.workerChannel.send("KEEPALIVE_REQUEST"),5e3),tm(r,a.startOptions),r})().then(async g=>{const s=g.installing||g.waiting;return s&&await new Promise(r=>{s.addEventListener("statechange",()=>{if(s.state==="activated")return r()})}),await Tl(a,i).catch(r=>{throw new Error(`Failed to enable mocking: ${r?.message}`)}),g})};function Ra(a={}){a.quiet||`${v.formatMessage("Mocking disabled.")}`}var om=a=>function(){if(!a.isMockingEnabled){v.warn('Found a redundant "worker.stop()" call. Note that stopping the worker while mocking already stopped has no effect. Consider removing this "worker.stop()" call.');return}a.workerChannel.send("MOCK_DEACTIVATE"),a.isMockingEnabled=!1,window.clearInterval(a.keepAliveInterval),Ra({quiet:a.startOptions?.quiet})},gm={serviceWorker:{url:"/mockServiceWorker.js",options:null},quiet:!1,waitUntilReady:!0,onUnhandledRequest:"warn",findWorker(a,e){return a===e}};function sm(){const a=(e,i)=>{a.state="pending",a.resolve=t=>{if(a.state!=="pending")return;a.result=t;const n=o=>(a.state="fulfilled",o);return e(t instanceof Promise?t:Promise.resolve(t).then(n))},a.reject=t=>{if(a.state==="pending")return queueMicrotask(()=>{a.state="rejected"}),i(a.rejectionReason=t)}};return a}var La=class extends Promise{#e;resolve;reject;constructor(a=null){const e=sm();super((i,t)=>{e(i,t),a?.(e.resolve,e.reject)}),this.#e=e,this.resolve=this.#e.resolve,this.reject=this.#e.reject}get state(){return this.#e.state}get rejectionReason(){return this.#e.rejectionReason}then(a,e){return this.#a(super.then(a,e))}catch(a){return this.#a(super.catch(a))}finally(a){return this.#a(super.finally(a))}#a(a){return Object.defineProperties(a,{resolve:{configurable:!0,value:this.resolve},reject:{configurable:!0,value:this.reject}})}};function Pa(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(a){const e=Math.random()*16|0;return(a=="x"?e:e&3|8).toString(16)})}var um=class{constructor(a){this.request=a,this.responsePromise=new La}respondWith(a){J(this.responsePromise.state==="pending",'Failed to respond to "%s %s" request: the "request" event has already been responded to.',this.request.method,this.request.url),this.responsePromise.resolve(a)}};function Ha(a){const e=new um(a);return Reflect.set(a,"respondWith",e.respondWith.bind(e)),{interactiveRequest:a,requestController:e}}async function za(a,e,...i){const t=a.listeners(e);if(t.length!==0)for(const n of t)await n.apply(a,i)}function rm(a,e){try{return a[e],!0}catch{return!1}}function lm(a){try{return new URL(a),!0}catch{return!1}}var Ia=class extends je{constructor(){super(Ia.symbol)}checkEnvironment(){return typeof globalThis<"u"&&typeof globalThis.fetch<"u"}setup(){const a=globalThis.fetch;J(!a[Z],'Failed to patch the "fetch" module: already patched.'),globalThis.fetch=async(e,i)=>{var t;const n=Pa(),o=typeof e=="string"&&typeof location<"u"&&!lm(e)?new URL(e,location.origin):e,g=new Request(o,i);this.logger.info("[%s] %s",g.method,g.url);const{interactiveRequest:s,requestController:r}=Ha(g);this.logger.info('emitting the "request" event for %d listener(s)...',this.emitter.listenerCount("request")),this.emitter.once("request",({requestId:F})=>{F===n&&r.responsePromise.state==="pending"&&r.responsePromise.resolve(void 0)}),this.logger.info("awaiting for the mocked response...");const u=s.signal,l=new La;u&&u.addEventListener("abort",()=>{l.reject(u.reason)},{once:!0});const c=await ce(async()=>{const F=za(this.emitter,"request",{request:s,requestId:n});await Promise.race([l,F,r.responsePromise]),this.logger.info("all request listeners have been resolved!");const p=await r.responsePromise;return this.logger.info("event.respondWith called with:",p),p});if(l.state==="rejected")return Promise.reject(l.rejectionReason);if(c.error)return Promise.reject(Ke(c.error));const m=c.data;if(m&&!((t=g.signal)!=null&&t.aborted)){if(this.logger.info("received mocked response:",m),rm(m,"type")&&m.type==="error")return this.logger.info("received a network error response, rejecting the request promise..."),Promise.reject(Ke(m));const F=m.clone();return this.emitter.emit("response",{response:F,isMockedResponse:!0,request:s,requestId:n}),Object.defineProperty(m,"url",{writable:!1,enumerable:!0,configurable:!1,value:g.url}),m}return this.logger.info("no mocked response received!"),a(g).then(F=>{const p=F.clone();return this.logger.info("original fetch performed",p),this.emitter.emit("response",{response:p,isMockedResponse:!1,request:s,requestId:n}),F})},Object.defineProperty(globalThis.fetch,Z,{enumerable:!0,configurable:!0,value:!0}),this.subscriptions.push(()=>{Object.defineProperty(globalThis.fetch,Z,{value:void 0}),globalThis.fetch=a,this.logger.info('restored native "globalThis.fetch"!',globalThis.fetch.name)})}},Na=Ia;Na.symbol=Symbol("fetch");function Ke(a){return Object.assign(new TypeError("Failed to fetch"),{cause:a})}function mm(a,e){const i=new Uint8Array(a.byteLength+e.byteLength);return i.set(a,0),i.set(e,a.byteLength),i}var qa=class{constructor(a,e){this.AT_TARGET=0,this.BUBBLING_PHASE=0,this.CAPTURING_PHASE=0,this.NONE=0,this.type="",this.srcElement=null,this.currentTarget=null,this.eventPhase=0,this.isTrusted=!0,this.composed=!1,this.cancelable=!0,this.defaultPrevented=!1,this.bubbles=!0,this.lengthComputable=!0,this.loaded=0,this.total=0,this.cancelBubble=!1,this.returnValue=!0,this.type=a,this.target=e?.target||null,this.currentTarget=e?.currentTarget||null,this.timeStamp=Date.now()}composedPath(){return[]}initEvent(a,e,i){this.type=a,this.bubbles=!!e,this.cancelable=!!i}preventDefault(){this.defaultPrevented=!0}stopPropagation(){}stopImmediatePropagation(){}},cm=class extends qa{constructor(a,e){super(a),this.lengthComputable=e?.lengthComputable||!1,this.composed=e?.composed||!1,this.loaded=e?.loaded||0,this.total=e?.total||0}},pm=typeof ProgressEvent<"u";function dm(a,e,i){const t=["error","progress","loadstart","loadend","load","timeout","abort"],n=pm?ProgressEvent:cm;return t.includes(e)?new n(e,{lengthComputable:!0,loaded:i?.loaded||0,total:i?.total||0}):new qa(e,{target:a,currentTarget:a})}function Ga(a,e){if(!(e in a))return null;if(Object.prototype.hasOwnProperty.call(a,e))return a;const t=Reflect.getPrototypeOf(a);return t?Ga(t,e):null}function Je(a,e){return new Proxy(a,hm(e))}function hm(a){const{constructorCall:e,methodCall:i,getProperty:t,setProperty:n}=a,o={};return typeof e<"u"&&(o.construct=function(g,s,r){const u=Reflect.construct.bind(null,g,s,r);return e.call(r,s,u)}),o.set=function(g,s,r){const u=()=>{const l=Ga(g,s)||g,c=Reflect.getOwnPropertyDescriptor(l,s);return typeof c?.set<"u"?(c.set.apply(g,[r]),!0):Reflect.defineProperty(l,s,{writable:!0,enumerable:!0,configurable:!0,value:r})};return typeof n<"u"?n.call(g,[s,r],u):u()},o.get=function(g,s,r){const u=()=>g[s],l=typeof t<"u"?t.call(g,[s,r],u):u();return typeof l=="function"?(...c)=>{const m=l.bind(g,...c);return typeof i<"u"?i.call(g,[s,c],m):m()}:l},o}function Fm(a){return["application/xhtml+xml","application/xml","image/svg+xml","text/html","text/xml"].some(i=>a.startsWith(i))}function bm(a){try{return JSON.parse(a)}catch{return null}}function km(a,e){const i=Sa(a.status)?null:e;return new Response(i,{status:a.status,statusText:a.statusText,headers:ym(a.getAllResponseHeaders())})}function ym(a){const e=new Headers,i=a.split(/[\r\n]+/);for(const t of i){if(t.trim()==="")continue;const[n,...o]=t.split(": "),g=o.join(": ");e.append(n,g)}return e}var $e=Symbol("isMockedResponse"),fm=we(),Dm=class{constructor(a,e){this.initialRequest=a,this.logger=e,this.method="GET",this.url=null,this.events=new Map,this.requestId=Pa(),this.requestHeaders=new Headers,this.responseBuffer=new Uint8Array,this.request=Je(a,{setProperty:([i,t],n)=>{switch(i){case"ontimeout":{const o=i.slice(2);return this.request.addEventListener(o,t),n()}default:return n()}},methodCall:([i,t],n)=>{var o;switch(i){case"open":{const[g,s]=t;return typeof s>"u"?(this.method="GET",this.url=Ue(g)):(this.method=g,this.url=Ue(s)),this.logger=this.logger.extend(`${this.method} ${this.url.href}`),this.logger.info("open",this.method,this.url.href),n()}case"addEventListener":{const[g,s]=t;return this.registerEvent(g,s),this.logger.info("addEventListener",g,s),n()}case"setRequestHeader":{const[g,s]=t;return this.requestHeaders.set(g,s),this.logger.info("setRequestHeader",g,s),n()}case"send":{const[g]=t;g!=null&&(this.requestBody=typeof g=="string"?Nl(g):g),this.request.addEventListener("load",()=>{if(typeof this.onResponse<"u"){const u=km(this.request,this.request.response);this.onResponse.call(this,{response:u,isMockedResponse:$e in this.request,request:s,requestId:this.requestId})}});const s=this.toFetchApiRequest();(((o=this.onRequest)==null?void 0:o.call(this,{request:s,requestId:this.requestId}))||Promise.resolve()).finally(()=>{if(this.request.readyState{if(this.logger.info("getResponseHeader",o[0]),this.request.readyState{if(this.logger.info("getAllResponseHeaders"),this.request.readyState`${o}: ${g}`).join(`\r +`);return this.logger.info("resolved all response headers to",n),n}}),Object.defineProperties(this.request,{response:{enumerable:!0,configurable:!1,get:()=>this.response},responseText:{enumerable:!0,configurable:!1,get:()=>this.responseText},responseXML:{enumerable:!0,configurable:!1,get:()=>this.responseXML}});const e=a.headers.has("Content-Length")?Number(a.headers.get("Content-Length")):void 0;this.logger.info("calculated response body length",e),this.trigger("loadstart",{loaded:0,total:e}),this.setReadyState(this.request.HEADERS_RECEIVED),this.setReadyState(this.request.LOADING);const i=()=>{this.logger.info("finalizing the mocked response..."),this.setReadyState(this.request.DONE),this.trigger("load",{loaded:this.responseBuffer.byteLength,total:e}),this.trigger("loadend",{loaded:this.responseBuffer.byteLength,total:e})};if(a.body){this.logger.info("mocked response has body, streaming...");const t=a.body.getReader(),n=async()=>{const{value:o,done:g}=await t.read();if(g){this.logger.info("response body stream done!"),i();return}o&&(this.logger.info("read response body chunk:",o),this.responseBuffer=mm(this.responseBuffer,o),this.trigger("progress",{loaded:this.responseBuffer.byteLength,total:e})),n()};n()}else i()}responseBufferToText(){return ql(this.responseBuffer)}get response(){if(this.logger.info("getResponse (responseType: %s)",this.request.responseType),this.request.readyState!==this.request.DONE)return null;switch(this.request.responseType){case"json":{const a=bm(this.responseBufferToText());return this.logger.info("resolved response JSON",a),a}case"arraybuffer":{const a=Gl(this.responseBuffer);return this.logger.info("resolved response ArrayBuffer",a),a}case"blob":{const a=this.request.getResponseHeader("Content-Type")||"text/plain",e=new Blob([this.responseBufferToText()],{type:a});return this.logger.info("resolved response Blob (mime type: %s)",e,a),e}default:{const a=this.responseBufferToText();return this.logger.info('resolving "%s" response type as text',this.request.responseType,a),a}}}get responseText(){if(J(this.request.responseType===""||this.request.responseType==="text","InvalidStateError: The object is in invalid state."),this.request.readyState!==this.request.LOADING&&this.request.readyState!==this.request.DONE)return"";const a=this.responseBufferToText();return this.logger.info('getResponseText: "%s"',a),a}get responseXML(){if(J(this.request.responseType===""||this.request.responseType==="document","InvalidStateError: The object is in invalid state."),this.request.readyState!==this.request.DONE)return null;const a=this.request.getResponseHeader("Content-Type")||"";return typeof DOMParser>"u"?(console.warn("Cannot retrieve XMLHttpRequest response body as XML: DOMParser is not defined. You are likely using an environment that is not browser or does not polyfill browser globals correctly."),null):Fm(a)?new DOMParser().parseFromString(this.responseBufferToText(),a):null}errorWith(a){this.logger.info("responding with an error"),this.setReadyState(this.request.DONE),this.trigger("error"),this.trigger("loadend")}setReadyState(a){if(this.logger.info("setReadyState: %d -> %d",this.request.readyState,a),this.request.readyState===a){this.logger.info("ready state identical, skipping transition...");return}U(this.request,"readyState",a),this.logger.info("set readyState to: %d",a),a!==this.request.UNSENT&&(this.logger.info('triggerring "readystatechange" event...'),this.trigger("readystatechange"))}trigger(a,e){const i=this.request[`on${a}`],t=dm(this.request,a,e);this.logger.info('trigger "%s"',a,e||""),typeof i=="function"&&(this.logger.info('found a direct "%s" callback, calling...',a),i.call(this.request,t));for(const[n,o]of this.events)n===a&&(this.logger.info('found %d listener(s) for "%s" event, calling...',o.length,a),o.forEach(g=>g.call(this.request,t)))}toFetchApiRequest(){this.logger.info("converting request to a Fetch API Request...");const a=new Request(this.url.href,{method:this.method,headers:this.requestHeaders,credentials:this.request.withCredentials?"include":"same-origin",body:["GET","HEAD"].includes(this.method)?null:this.requestBody}),e=Je(a.headers,{methodCall:([i,t],n)=>{switch(i){case"append":case"set":{const[o,g]=t;this.request.setRequestHeader(o,g);break}case"delete":{const[o]=t;console.warn(`XMLHttpRequest: Cannot remove a "${o}" header from the Fetch API representation of the "${a.method} ${a.url}" request. XMLHttpRequest headers cannot be removed.`);break}}return n()}});return U(a,"headers",e),this.logger.info("converted request to a Fetch API Request!",a),a}};function Ue(a){return typeof location>"u"?new URL(a):new URL(a.toString(),location.href)}function U(a,e,i){Reflect.defineProperty(a,e,{writable:!0,enumerable:!0,value:i})}function Am({emitter:a,logger:e}){return new Proxy(globalThis.XMLHttpRequest,{construct(t,n,o){e.info("constructed new XMLHttpRequest");const g=Reflect.construct(t,n,o),s=Object.getOwnPropertyDescriptors(t.prototype);for(const u in s)Reflect.defineProperty(g,u,s[u]);const r=new Dm(g,e);return r.onRequest=async function({request:u,requestId:l}){const{interactiveRequest:c,requestController:m}=Ha(u);this.logger.info("awaiting mocked response..."),a.once("request",({requestId:h})=>{h===l&&m.responsePromise.state==="pending"&&m.respondWith(void 0)});const F=await ce(async()=>{this.logger.info('emitting the "request" event for %s listener(s)...',a.listenerCount("request")),await za(a,"request",{request:c,requestId:l}),this.logger.info('all "request" listeners settled!');const h=await m.responsePromise;return this.logger.info("event.respondWith called with:",h),h});if(F.error){this.logger.info("request listener threw an exception, aborting request...",F.error),r.errorWith(F.error);return}const p=F.data;if(typeof p<"u"){if(this.logger.info("received mocked response: %d %s",p.status,p.statusText),p.type==="error"){this.logger.info("received a network error response, rejecting the request promise..."),r.errorWith(new TypeError("Network error"));return}return r.respondWith(p)}this.logger.info("no mocked response received, performing request as-is...")},r.onResponse=async function({response:u,isMockedResponse:l,request:c,requestId:m}){this.logger.info('emitting the "response" event for %s listener(s)...',a.listenerCount("response")),a.emit("response",{response:u,isMockedResponse:l,request:c,requestId:m})},r.request}})}var Wa=class extends je{constructor(){super(Wa.interceptorSymbol)}checkEnvironment(){return typeof globalThis.XMLHttpRequest<"u"}setup(){const a=this.logger.extend("setup");a.info('patching "XMLHttpRequest" module...');const e=globalThis.XMLHttpRequest;J(!e[Z],'Failed to patch the "XMLHttpRequest" module: already patched.'),globalThis.XMLHttpRequest=Am({emitter:this.emitter,logger:this.logger}),a.info('native "XMLHttpRequest" module patched!',globalThis.XMLHttpRequest.name),Object.defineProperty(globalThis.XMLHttpRequest,Z,{enumerable:!0,configurable:!0,value:!0}),this.subscriptions.push(()=>{Object.defineProperty(globalThis.XMLHttpRequest,Z,{value:void 0}),globalThis.XMLHttpRequest=e,a.info('native "XMLHttpRequest" module restored!',globalThis.XMLHttpRequest.name)})}},_a=Wa;_a.interceptorSymbol=Symbol("xhr");function Cm(a,e){const i=new Ce({name:"fallback",interceptors:[new Na,new _a]});return i.on("request",async({request:t,requestId:n})=>{const o=t.clone(),g=await da(t,n,a.getRequestHandlers(),e,a.emitter,{onMockedResponse(s,{handler:r,parsedResult:u}){e.quiet||a.emitter.once("response:mocked",({response:l})=>{r.log({request:o,response:l,parsedResult:u})})}});g&&t.respondWith(g)}),i.on("response",({response:t,isMockedResponse:n,request:o,requestId:g})=>{a.emitter.emit(n?"response:mocked":"response:bypass",{response:t,request:o,requestId:g})}),i.apply(),i}function Em(a){return async function(i){a.fallbackInterceptor=Cm(a,i),Ba({message:"Mocking enabled (fallback mode).",quiet:i.quiet})}}function vm(a){return function(){a.fallbackInterceptor?.dispose(),Ra({quiet:a.startOptions?.quiet})}}function wm(){try{const a=new ReadableStream({start:i=>i.close()});return new MessageChannel().port1.postMessage(a,[a]),!0}catch{return!1}}var jm=class extends li{context;startHandler=null;stopHandler=null;listeners;constructor(...a){super(...a),J(!we(),v.formatMessage("Failed to execute `setupWorker` in a non-browser environment. Consider using `setupServer` for Node.js environment instead.")),this.listeners=[],this.context=this.createWorkerContext()}createWorkerContext(){const a={isMockingEnabled:!1,startOptions:null,worker:null,getRequestHandlers:()=>this.handlersController.currentHandlers(),registration:null,requests:new Map,emitter:this.emitter,workerChannel:{on:(e,i)=>{this.context.events.addListener(navigator.serviceWorker,"message",t=>{if(t.source!==this.context.worker)return;const n=t.data;n&&n.type===e&&i(t,n)})},send:e=>{this.context.worker?.postMessage(e)}},events:{addListener:(e,i,t)=>(e.addEventListener(i,t),this.listeners.push({eventType:i,target:e,callback:t}),()=>{e.removeEventListener(i,t)}),removeAllListeners:()=>{for(const{target:e,eventType:i,callback:t}of this.listeners)e.removeEventListener(i,t);this.listeners=[]},once:e=>{const i=[];return new Promise((t,n)=>{const o=g=>{try{const s=g.data;s.type===e&&t(s)}catch(s){n(s)}};i.push(this.context.events.addListener(navigator.serviceWorker,"message",o),this.context.events.addListener(navigator.serviceWorker,"messageerror",n))}).finally(()=>{i.forEach(t=>t())})}},supports:{serviceWorkerApi:!("serviceWorker"in navigator)||location.protocol==="file:",readableStreamTransfer:wm()}};return this.startHandler=a.supports.serviceWorkerApi?Em(a):nm(a),this.stopHandler=a.supports.serviceWorkerApi?vm(a):om(a),a}async start(a={}){return a.waitUntilReady===!0&&v.warn('The "waitUntilReady" option has been deprecated. Please remove it from this "worker.start()" call. Follow the recommended Browser integration (https://mswjs.io/docs/integrations/browser) to eliminate any race conditions between the Service Worker registration and any requests made by your application on initial render.'),this.context.startOptions=ja(gm,a),await this.startHandler(this.context.startOptions,a)}stop(){super.dispose(),this.context.events.removeAllListeners(),this.context.emitter.removeAllListeners(),this.stopHandler()}};function Bm(...a){return new jm(...a)}var Sm="@admin-pkg/vite-plugin-msw",Mm=`[${Sm}]`,xm=(...a)=>{`${Mm}`,[...a]},Ve=a=>({type:"updateMockHeaders",mockHeaders:a.map(e=>e.info.header)}),Ye=(a,e)=>{const i=a.active;i&&(i.postMessage(Ve(e)),a.addEventListener("updatefound",()=>{i.postMessage(Ve(e)),xm(`Value of updateViaCache: ${a.updateViaCache}`)}))},Tm=async(a,e)=>{const i="/vue3-antdv-admin//mockServiceWorker.js".replace(/\/{2,}/g,"/"),t=Bm(...a);globalThis.__msw_worker=t;const n=await t.start({onUnhandledRequest:"bypass",serviceWorker:{url:i,options:{updateViaCache:"none"}},...e});return n?Ye(n,a):navigator.serviceWorker&&navigator.serviceWorker.ready.then(o=>{Ye(o,a)}),n};const Rm=Object.assign({"./_util.ts":Va,"./demo/hero/index.ts":Mt,"./demo/select.ts":Rt,"./list.ts":fl,"./user.ts":Al}),Dc=async()=>{const a=Object.values(Rm).reduce((e,i)=>{const t=i?.default;return Array.isArray(t)&&t.forEach(n=>{n instanceof pa&&e.push(n)}),e},[]);await Tm(a,{quiet:!1})};export{Dc as setupMock}; diff --git a/assets/index-V4TCvajh.js b/assets/index-V4TCvajh.js new file mode 100644 index 000000000..b75215369 --- /dev/null +++ b/assets/index-V4TCvajh.js @@ -0,0 +1 @@ +import{f as h}from"./dateUtil-15Jj70TU.js";import{A as n}from"./index-zjj_i2Xu.js";import{f as y}from"./common-fvKDkUSQ.js";import{u as b}from"./dynamic-table-0dDQM8_O.js";import"./ApiSelect.vue_vue_type_script_setup_true_lang-w2BFpwRk.js";import{d as C,I,Q as _,k as d,K as o,R as w,B as r,_ as p,a3 as x}from"./vendor-PZoYaLWz.js";import"./index.vue_vue_type_style_index_0_lang-35qbmpIP.js";import{u as k}from"./useFormModal-Z6rDe6Nh.js";import"./schema-form.vue_vue_type_script_setup_true_lang-iMSwIqZ0.js";import"./index-XMdBM6P7.js";import"./index-FiLqFnhx.js";import"./Icon.vue_vue_type_script_setup_true_lang-L3JttlNa.js";import"./useModal-L2aP7aoQ.js";const D=[{title:"部门名称",dataIndex:"name",align:"left"},{title:"排序",dataIndex:"orderNo",width:50,hideInSearch:!0},{title:"创建时间",dataIndex:"createdAt",width:200,hideInSearch:!0,customRender:({record:s})=>h(s.createdAt)}],T=[{field:"name",component:"Input",label:"部门名称",rules:[{required:!0,type:"string"}]},{field:"parentId",component:"TreeSelect",label:"上级部门",componentProps:{fieldNames:{label:"name",value:"id"},getPopupContainer:()=>document.body,request:async({schema:s,formModel:l})=>{const t=await n.systemDept.deptList({});return s.componentProps.treeDefaultExpandedKeys=y(t,l.parentId),t}}},{field:"orderNo",label:"排序",component:"InputNumber",required:!0,componentProps:{style:{width:"100%"}}}],N={class:"flex gap-2 ml-2"},L=C({name:"SystemDept",__name:"index",setup(s){const[l,t]=b(),[c]=k(),m=async e=>{const[i]=await c({modalProps:{title:`${e.id?"编辑":"新增"}部门`,width:"50%",onFinish:async a=>{e.id?await n.systemDept.deptUpdate({id:e.id},a):await n.systemDept.deptCreate(a),t?.reload()}},formProps:{labelWidth:100,schemas:T}});i?.setFieldsValue({...e,parentId:e.parent?.id})},u=async e=>{await n.systemDept.deptDelete({id:e.id}),t?.reload()},f=[...D,{title:"操作",width:130,dataIndex:"ACTION",hideInSearch:!0,fixed:"right",actions:({record:e})=>[{label:"编辑",auth:{perm:"system:dept:update",effect:"disable"},onClick:()=>m(e)},{label:"删除",auth:"system:dept:delete",popConfirm:{title:"你确定要删除吗?",placement:"left",onConfirm:()=>u(e)}}]}];return(e,i)=>{const a=x("a-button");return I(),_("div",null,[d(r(l),{"row-key":"id","header-title":"部门管理","data-request":r(n).systemDept.deptList,columns:f,bordered:"",size:"small"},{afterHeaderTitle:o(()=>[w("div",N,[d(a,{onClick:r(t).expandAll},{default:o(()=>[p("展开全部")]),_:1},8,["onClick"]),d(a,{onClick:r(t).collapseAll},{default:o(()=>[p("折叠全部")]),_:1},8,["onClick"])])]),toolbar:o(()=>[d(a,{type:"primary",disabled:!e.$auth("system:dept:create"),onClick:i[0]||(i[0]=A=>m({}))},{default:o(()=>[p(" 新增 ")]),_:1},8,["disabled"])]),_:1},8,["data-request"])])}}});export{L as default}; diff --git a/assets/index-XKpDM12c.css b/assets/index-XKpDM12c.css new file mode 100644 index 000000000..b97c5f05b --- /dev/null +++ b/assets/index-XKpDM12c.css @@ -0,0 +1 @@ +.btn-rows button[data-v-59af6f80]{margin-right:12px} diff --git a/assets/index-XMdBM6P7.js b/assets/index-XMdBM6P7.js new file mode 100644 index 000000000..8b49a9729 --- /dev/null +++ b/assets/index-XMdBM6P7.js @@ -0,0 +1 @@ +import{C as p}from"./index-zjj_i2Xu.js";function f(t){return/[.]/.exec(t)?/[^.]+$/.exec(t)?.[0]:void 0}function u(t){if(!t)return"file-type-unknown";const e=f(t)?.toLowerCase();return e?["png","jpg","jpeg","ico","gif","bmp","webp"].includes(e)?"file-type-img":["markdown","md","txt"].includes(e)?"file-type-txt":["docx","doc","docm","dot","dotx"].includes(e)?"file-type-docx":["csv","xls","xlsb","xlsm","xlsx","xltx"].includes(e)?"file-type-excel":e==="pdf"?"file-type-pdf":["pptx","ppt","pptm"].includes(e)?"file-type-ppt":["zip","rar","7z","tar","gz","tgz","tar.gz","tar.xz"].includes(e)?"file-type-zip":["mp4","avi","wmv","rmvb","3gp","mov","m4v","flv","mkv"].includes(e)?"file-type-video":["mp3","wav"].includes(e)?"file-type-music":["vue","js","go","java","ts","css","html","php","c","cpp","swift","kt"].includes(e)?"file-type-code":"file-type-unknown":"file-type-unknown"}function c(t,e=2){if(t===0)return"0 Bytes";const i=1024,n=e<0?0:e,o=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],r=Math.floor(Math.log(t)/Math.log(i));return`${parseFloat((t/Math.pow(i,r)).toFixed(n))} ${o[r]}`}function l(t={},e={}){let i;for(i in e)t[i]=p(t[i])?l(t[i],e[i]):t[i]=e[i];return t}const d=(t,e)=>{const i=t;return i.install=n=>{n.component(i.name||i.displayName,t),e&&(n.config.globalProperties[e]=t)},t};export{l as d,c as f,u as p,d as w}; diff --git a/assets/index-XNNgEqZY.js b/assets/index-XNNgEqZY.js new file mode 100644 index 000000000..23e2dc269 --- /dev/null +++ b/assets/index-XNNgEqZY.js @@ -0,0 +1 @@ +import{k as t,bk as u,aV as f,bp as _,d as b,I as x,Q as y,K as o,_ as i,B as n,a3 as g,ba as h,b8 as k}from"./vendor-PZoYaLWz.js";import{u as I}from"./dynamic-table-0dDQM8_O.js";import"./index-zjj_i2Xu.js";import"./ApiSelect.vue_vue_type_script_setup_true_lang-w2BFpwRk.js";import{j as s}from"./index-aIlgy7Sj.js";import{b as T}from"./hero-Ph5bBoEr.js";import"./schema-form.vue_vue_type_script_setup_true_lang-iMSwIqZ0.js";import"./index-XMdBM6P7.js";import"./dateUtil-15Jj70TU.js";import"./index-FiLqFnhx.js";import"./Icon.vue_vue_type_script_setup_true_lang-L3JttlNa.js";import"./index.vue_vue_type_style_index_0_lang-35qbmpIP.js";function v(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!_(e)}const w=[{title:"头像",width:100,hideInSearch:!0,dataIndex:"faceimg",customRender:({record:e})=>t(u,{src:e.faceimg,preview:{src:e.heroimg},key:e.faceimg},null)},{title:"英雄名称",dataIndex:"cname"},{title:"英雄称号",dataIndex:"title"},{title:"定位",dataIndex:"occupation"},{title:"皮肤",dataIndex:"skin_name",formItemProps:{component:"Select",componentProps:{options:[{label:"皮肤1",value:"aa"},{label:"皮肤2",value:"bb"}]}},customRender:({record:e})=>t("div",null,[e.skin_name?.split("|")?.map(a=>t(f,{color:"blue",key:a},v(a)?a:{default:()=>[a]}))])},{title:"操作",width:120,dataIndex:"ACTION",actions:({record:e})=>[{label:"查看详情",onClick:()=>window.open(e.infourl)}]}],P=b({__name:"index",setup(e){const[a,l]=I();function c(){s({data:l.tableData,filename:"使用key作为默认头部.xlsx"})}function m(){s({data:l.tableData,header:{heroid:"ID",cname:"英雄名称",title:"英雄称号",occupation:"定位",skin_name:"皮肤"},filename:"自定义头部.xlsx",json2sheetOpts:{header:["cname","heroid"]}})}const d=p=>{};return(p,C)=>{const r=g("a-button");return x(),y("div",null,[t(n(h),{message:"游戏介绍",type:"info","show-icon":""},{description:o(()=>[i(" 《王者荣耀》-- 根据JSON格式的数据进行导出 ")]),_:1}),t(n(k),{title:"英雄列表mock数据",style:{"margin-top":"20px"}},{default:o(()=>[t(n(a),{ref:"dynamicTableRef",size:"small",bordered:"","data-request":n(T),columns:n(w),"row-key":"heroid",onToggleAdvanced:d},{toolbar:o(()=>[t(r,{type:"primary",onClick:c},{default:o(()=>[i(" 导出:默认头部 ")]),_:1}),t(r,{type:"primary",onClick:m},{default:o(()=>[i(" 导出:自定义头部 ")]),_:1})]),_:1},8,["data-request","columns"])]),_:1})])}}});export{P as default}; diff --git a/assets/index-Xpl1_HvX.css b/assets/index-Xpl1_HvX.css new file mode 100644 index 000000000..3335a18f4 --- /dev/null +++ b/assets/index-Xpl1_HvX.css @@ -0,0 +1 @@ +.login-box[data-v-86b635f3]{display:flex;flex-direction:column;align-items:center;width:100vw;height:100vh;padding-top:240px;background:url(/vue3-antdv-admin/assets/login-T7DjMM4M.svg);background-size:100%}.login-box .login-logo[data-v-86b635f3]{display:flex;align-items:center;margin-bottom:30px}.login-box .login-logo .svg-icon[data-v-86b635f3]{font-size:48px}.login-box[data-v-86b635f3] .ant-form{width:400px}.login-box[data-v-86b635f3] .ant-form .ant-col{width:100%}.login-box[data-v-86b635f3] .ant-form .ant-form-item-label{padding-right:6px} diff --git a/assets/index-_D-39jgH.js b/assets/index-_D-39jgH.js new file mode 100644 index 000000000..51cf7a670 --- /dev/null +++ b/assets/index-_D-39jgH.js @@ -0,0 +1 @@ +import{f as c}from"./dateUtil-15Jj70TU.js";import{k as d,aV as x,d as w,I as R,Q as k,K as f,_ as C,B as h,a3 as T}from"./vendor-PZoYaLWz.js";import{u as _}from"./dynamic-table-0dDQM8_O.js";import{A as l}from"./index-zjj_i2Xu.js";import"./ApiSelect.vue_vue_type_script_setup_true_lang-w2BFpwRk.js";import"./index.vue_vue_type_style_index_0_lang-35qbmpIP.js";import{u as g}from"./useFormModal-Z6rDe6Nh.js";import"./schema-form.vue_vue_type_script_setup_true_lang-iMSwIqZ0.js";import"./index-XMdBM6P7.js";import"./index-FiLqFnhx.js";import"./Icon.vue_vue_type_script_setup_true_lang-L3JttlNa.js";import"./useModal-L2aP7aoQ.js";const v=[{title:"#",dataIndex:"id",width:55,hideInSearch:!0},{title:"角色名称",width:200,dataIndex:"name"},{title:"角色值",width:180,dataIndex:"value"},{title:"状态",dataIndex:"status",width:80,customRender:({record:s})=>{const i=~~s.status===1;return d(x,{color:i?"green":"red"},{default:()=>[i?"启用":"停用"]})}},{title:"备注",dataIndex:"remark"},{title:"创建时间",dataIndex:"createdAt",hideInSearch:!0,customRender:({record:s})=>c(s.createdAt)},{title:"更新时间",dataIndex:"updatedAt",hideInSearch:!0,customRender:({record:s})=>c(s.createdAt)}],A=[{field:"name",component:"Input",label:"角色名称",rules:[{required:!0,type:"string"}],colProps:{span:12}},{field:"value",component:"Input",label:"角色值",rules:[{required:!0,type:"string"}],colProps:{span:12}},{field:"status",label:"状态",component:"RadioGroup",defaultValue:1,componentProps:{options:[{label:"启用",value:1},{label:"停用",value:0}]}},{field:"remark",component:"InputTextArea",label:"备注"},{field:"menuIds",component:"Tree",label:"菜单权限",componentProps:{checkable:!0,vModelKey:"checkedKeys",fieldNames:{title:"name",key:"id"},style:{height:"350px",paddingTop:"5px",overflow:"auto",borderRadius:"6px",border:"1px solid #dcdfe6",resize:"vertical"}}}],E=w({name:"SystemPermissionRole",__name:"index",setup(s){const[i,r]=_(),[y]=g(),m=(e,t,o=[])=>t.reduce((a,n)=>(n.children?.length?m(e,n.children,o):e.includes(n.id)&&a.push(n.id),a),o),u=async e=>{const[t]=await y({modalProps:{title:`${e.id?"编辑":"新增"}角色`,width:"50%",onFinish:async a=>{e.id&&(a.roleId=e.id);const n=t?.compRefMap.get("menuIds"),p={...a,menuIds:[...n.halfCheckedKeys,...n.checkedKeys]};e.id?await l.systemRole.roleUpdate({id:e.id},p):await l.systemRole.roleCreate(p),r?.reload()}},formProps:{labelWidth:100,schemas:A}}),o=await l.systemMenu.menuList({});if(t?.updateSchema([{field:"menuIds",componentProps:{treeData:o}}]),e.id){const a=await l.systemRole.roleInfo({id:e.id});t?.setFieldsValue({...e,menuIds:m(a.menuIds,o)})}},I=async e=>{await l.systemRole.roleDelete({id:e.id}),r?.reload()},b=[...v,{title:"操作",width:130,dataIndex:"ACTION",hideInSearch:!0,fixed:"right",actions:({record:e})=>[{label:"编辑",auth:{perm:"system:role:update",effect:"disable"},onClick:()=>u(e)},{label:"删除",auth:"system:role:delete",popConfirm:{title:"你确定要删除吗?",placement:"left",onConfirm:()=>I(e)}}]}];return(e,t)=>{const o=T("a-button");return R(),k("div",null,[d(h(i),{"row-key":"id","header-title":"角色管理","title-tooltip":"超级管理员默认拥有所有资源访问权限且不支持修改","data-request":h(l).systemRole.roleList,columns:b,bordered:"",size:"small"},{toolbar:f(()=>[d(o,{type:"primary",disabled:!e.$auth("system:role:create"),onClick:t[0]||(t[0]=a=>u({}))},{default:f(()=>[C(" 新增 ")]),_:1},8,["disabled"])]),_:1},8,["data-request"])])}}});export{E as default}; diff --git a/assets/index-aIlgy7Sj.js b/assets/index-aIlgy7Sj.js new file mode 100644 index 000000000..bcaeeab96 --- /dev/null +++ b/assets/index-aIlgy7Sj.js @@ -0,0 +1 @@ +import{r as v,a as m,w as _}from"./dynamic-table-0dDQM8_O.js";import{d as F}from"./dateUtil-15Jj70TU.js";import{d as C,r as g,B as w,I as E,Q as I,V as b,W as $,R as N,L as j}from"./vendor-PZoYaLWz.js";import{_ as B}from"./index-zjj_i2Xu.js";import{w as U}from"./index-XMdBM6P7.js";import"./index.vue_vue_type_style_index_0_lang-35qbmpIP.js";import"./ApiSelect.vue_vue_type_script_setup_true_lang-w2BFpwRk.js";const T=C({name:"ImportExcel",props:{dateFormat:{type:String},timeZone:{type:Number,default:8}},emits:["success","error"],setup(r,{emit:o}){const s=g(null),u=g(!1);function p(e){if(!e||!e["!ref"])return[];const t=[],n=m.decode_range(e["!ref"]),h=n.s.r;for(let a=n.s.c;a<=n.e.c;++a){const i=e[m.encode_cell({c:a,r:h})];let d=`UNKNOWN ${a}`;i&&i.t&&(d=m.format_cell(i)),t.push(d)}return t}function c(e){const t=[],{dateFormat:n,timeZone:h}=r;for(const a of e.SheetNames){const i=e.Sheets[a],d=p(i);let k=m.sheet_to_json(i,{raw:!0,dateNF:n});k=k.map(f=>{for(const y in f)f[y]instanceof Date&&(h===8&&f[y].setSeconds(f[y].getSeconds()+43),n&&(f[y]=F(f[y]).format(n)));return f}),t.push({header:d,results:k,meta:{sheetName:a}})}return t}function l(e){u.value=!0;const{promise:t,resolve:n,reject:h}=Promise.withResolvers(),a=new FileReader;return a.onload=async i=>{try{const d=i.target&&i.target.result,k=v(d,{type:"array",cellDates:!0}),f=c(k);o("success",f),n("")}catch(d){h(d),o("error")}finally{u.value=!1}},a.readAsArrayBuffer(e),t}async function x(e){const t=w(s);t&&(t.value=""),await l(e)}function S(e){const t=e&&e.target.files,n=t&&t[0];n&&x(n)}function D(){const e=w(s);e&&e.click()}return{handleUpload:D,handleInputClick:S,inputRef:s}}});function A(r,o,s,u,p,c){return E(),I("div",null,[b(N("input",{ref:"inputRef",type:"file",accept:".xlsx, .xls",onChange:o[0]||(o[0]=(...l)=>r.handleInputClick&&r.handleInputClick(...l))},null,544),[[$,!1]]),N("div",{onClick:o[1]||(o[1]=(...l)=>r.handleUpload&&r.handleUpload(...l))},[j(r.$slots,"default")])])}const H=B(T,[["render",A]]),R="excel-list.xlsx";function O({data:r,header:o,filename:s=R,json2sheetOpts:u={},write2excelOpts:p={bookType:"xlsx"}}){let c=[...r];if(o){c.unshift(o);const S=Object.keys(o);c=c.map(D=>S.reduce((e,t)=>(e[t]=D[t],e),{})),u.skipHeader=!0}const l=m.json_to_sheet(c,u),x={SheetNames:[s],Sheets:{[s]:l}};_(x,s,p)}function P({data:r,header:o,filename:s=R,write2excelOpts:u={bookType:"xlsx"}}){const p=[...r];o&&p.unshift(o);const c=m.aoa_to_sheet(p),l={SheetNames:[s],Sheets:{[s]:c}};_(l,s,u)}U(H);export{P as a,O as j}; diff --git a/assets/index-awA5xHyt.js b/assets/index-awA5xHyt.js new file mode 100644 index 000000000..f61abbf4f --- /dev/null +++ b/assets/index-awA5xHyt.js @@ -0,0 +1,265 @@ +import{w as O5,d as D5,y as hM,r as JN,x as qN,o as bM,bY as yM,cz as vM,cA as xM,h as WN,cs as wM,bg as kM,b as GN,I as N5,J as QN,M as _M,B as M5,k as kA,K as z5,R as CM,Q as SM,U as EM,F as TM,aF as zM,a9 as AM,ct as OM}from"./vendor-PZoYaLWz.js";import{k as NM,A as e6}from"./index-zjj_i2Xu.js";import"./ApiSelect.vue_vue_type_script_setup_true_lang-w2BFpwRk.js";import{u as MM}from"./useForm-mY11uE7b.js";import"./schema-form.vue_vue_type_script_setup_true_lang-iMSwIqZ0.js";import"./index-XMdBM6P7.js";import"./dateUtil-15Jj70TU.js";var DM=["onActivate","onAddUndo","onBeforeAddUndo","onBeforeExecCommand","onBeforeGetContent","onBeforeRenderUI","onBeforeSetContent","onBeforePaste","onBlur","onChange","onClearUndos","onClick","onContextMenu","onCopy","onCut","onDblclick","onDeactivate","onDirty","onDrag","onDragDrop","onDragEnd","onDragGesture","onDragOver","onDrop","onExecCommand","onFocus","onFocusIn","onFocusOut","onGetContent","onHide","onInit","onKeyDown","onKeyPress","onKeyUp","onLoadContent","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onNodeChange","onObjectResizeStart","onObjectResized","onObjectSelected","onPaste","onPostProcess","onPostRender","onPreProcess","onProgressState","onRedo","onRemove","onReset","onSaveContent","onSelectionChange","onSetAttrib","onSetContent","onShow","onSubmit","onUndo","onVisualAid"],RM=function(xo){return DM.map(function(Ko){return Ko.toLowerCase()}).indexOf(xo.toLowerCase())!==-1},BM=function(xo,Ko,Po){Object.keys(Ko).filter(RM).forEach(function(en){var tn=Ko[en];typeof tn=="function"&&(en==="onInit"?tn(xo,Po):Po.on(en.substring(2),function(to){return tn(to,Po)}))})},FM=function(xo,Ko,Po,en){var tn=xo.modelEvents?xo.modelEvents:null,to=Array.isArray(tn)?tn.join(" "):tn;O5(en,function(Lo,jt){Po&&typeof Lo=="string"&&Lo!==jt&&Lo!==Po.getContent({format:xo.outputFormat})&&Po.setContent(Lo)}),Po.on(to||"change input undo redo",function(){Ko.emit("update:modelValue",Po.getContent({format:xo.outputFormat}))})},LM=function(xo,Ko,Po,en,tn,to){en.setContent(to()),Po.attrs["onUpdate:modelValue"]&&FM(Ko,Po,en,tn),BM(xo,Po.attrs,en)},KN=0,t6=function(xo){var Ko=Date.now(),Po=Math.floor(Math.random()*1e9);return KN++,xo+"_"+Po+KN+String(Ko)},IM=function(xo){return xo!==null&&xo.tagName.toLowerCase()==="textarea"},YN=function(xo){return typeof xo>"u"||xo===""?[]:Array.isArray(xo)?xo:xo.split(" ")},PM=function(xo,Ko){return YN(xo).concat(YN(Ko))},HM=function(xo){return xo==null},XN=function(){return{listeners:[],scriptId:t6("tiny-script"),scriptLoaded:!1}},jM=function(){var xo=XN(),Ko=function(tn,to,Lo,jt){var Co=to.createElement("script");Co.referrerPolicy="origin",Co.type="application/javascript",Co.id=tn,Co.src=Lo;var Ro=function(){Co.removeEventListener("load",Ro),jt()};Co.addEventListener("load",Ro),to.head&&to.head.appendChild(Co)},Po=function(tn,to,Lo){xo.scriptLoaded?Lo():(xo.listeners.push(Lo),tn.getElementById(xo.scriptId)||Ko(xo.scriptId,tn,to,function(){xo.listeners.forEach(function(jt){return jt()}),xo.scriptLoaded=!0}))},en=function(){xo=XN()};return{load:Po,reinitialize:en}},VM=jM(),$M=function(){return typeof window<"u"?window:global},vv=function(){var xo=$M();return xo&&xo.tinymce?xo.tinymce:null},o6={apiKey:String,cloudChannel:String,id:String,init:Object,initialValue:String,inline:Boolean,modelEvents:[String,Array],plugins:[String,Array],tagName:String,toolbar:[String,Array],modelValue:String,disabled:Boolean,tinymceScriptSrc:String,outputFormat:{type:String,validator:function(xo){return xo==="html"||xo==="text"}}},Rf=function(){return Rf=Object.assign||function(xo){for(var Ko,Po=1,en=arguments.length;Po{var a;return!!n(t,o.prototype)||((a=t.constructor)===null||a===void 0?void 0:a.name)===o.name},Ro=t=>o=>(n=>{const a=typeof n;return n===null?"null":a==="object"&&Array.isArray(n)?"array":a==="object"&&Co(n,String,(i,c)=>c.isPrototypeOf(i))?"string":a})(o)===t,jo=t=>o=>typeof o===t,an=t=>o=>t===o,Ao=(t,o)=>it(t)&&Co(t,o,(n,a)=>jt(n)===a),Ue=Ro("string"),it=Ro("object"),So=t=>Ao(t,Object),co=Ro("array"),he=an(null),Dt=jo("boolean"),fo=an(void 0),me=t=>t==null,Ze=t=>!me(t),de=jo("function"),rt=jo("number"),Yo=(t,o)=>{if(co(t)){for(let n=0,a=t.length;n{},gn=(t,o)=>(...n)=>t(o.apply(null,n)),Bo=(t,o)=>n=>t(o(n)),Ct=t=>()=>t,R=t=>t,qe=(t,o)=>t===o;function Je(t,...o){return(...n)=>{const a=o.concat(n);return t.apply(null,a)}}const lt=t=>o=>!t(o),Mt=t=>()=>{throw new Error(t)},ht=t=>t(),Rt=t=>{t()},uo=Ct(!1),Bt=Ct(!0);class V{constructor(o,n){this.tag=o,this.value=n}static some(o){return new V(!0,o)}static none(){return V.singletonNone}fold(o,n){return this.tag?n(this.value):o()}isSome(){return this.tag}isNone(){return!this.tag}map(o){return this.tag?V.some(o(this.value)):V.none()}bind(o){return this.tag?o(this.value):V.none()}exists(o){return this.tag&&o(this.value)}forall(o){return!this.tag||o(this.value)}filter(o){return!this.tag||o(this.value)?this:V.none()}getOr(o){return this.tag?this.value:o}or(o){return this.tag?this:o}getOrThunk(o){return this.tag?this.value:o()}orThunk(o){return this.tag?this:o()}getOrDie(o){if(this.tag)return this.value;throw new Error(o??"Called getOrDie on None")}static from(o){return Ze(o)?V.some(o):V.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(o){this.tag&&o(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}V.singletonNone=new V(!1);const dt=Array.prototype.slice,Ie=Array.prototype.indexOf,_o=Array.prototype.push,Pt=(t,o)=>Ie.call(t,o),lo=(t,o)=>Pt(t,o)>-1,To=(t,o)=>{for(let n=0,a=t.length;n{const n=t.length,a=new Array(n);for(let i=0;i{for(let n=0,a=t.length;n{for(let n=t.length-1;n>=0;n--)o(t[n],n)},ct=(t,o)=>{const n=[],a=[];for(let i=0,c=t.length;i{const n=[];for(let a=0,i=t.length;a($e(t,(a,i)=>{n=o(n,a,i)}),n),Oe=(t,o,n)=>(Se(t,(a,i)=>{n=o(n,a,i)}),n),We=(t,o,n)=>{for(let a=0,i=t.length;aWe(t,o,uo),ge=(t,o)=>{for(let n=0,a=t.length;n{const o=[];for(let n=0,a=t.length;nMe(oo(t,o)),ze=(t,o)=>{for(let n=0,a=t.length;n{const o=dt.call(t,0);return o.reverse(),o},Gt=(t,o)=>gt(t,n=>!lo(o,n)),Vt=(t,o)=>{const n={};for(let a=0,i=t.length;a{const n=dt.call(t,0);return n.sort(o),n},$o=(t,o)=>o>=0&&o$o(t,0),Gn=t=>$o(t,t.length-1),Pn=de(Array.from)?Array.from:t=>dt.call(t),zn=(t,o)=>{for(let n=0;n{const n=ut(t);for(let a=0,i=n.length;aXt(t,(n,a)=>({k:a,v:o(n,a)})),Xt=(t,o)=>{const n={};return Ft(t,(a,i)=>{const c=o(a,i);n[c.k]=c.v}),n},Vo=t=>(o,n)=>{t[n]=o},$n=(t,o,n,a)=>{Ft(t,(i,c)=>{(o(i,c)?n:a)(i,c)})},Rr=(t,o)=>{const n={};return $n(t,o,Vo(n),$t),n},Wt=(t,o)=>{const n=[];return Ft(t,(a,i)=>{n.push(o(a,i))}),n},vr=t=>Wt(t,R),Fn=(t,o)=>ln(t,o)?V.from(t[o]):V.none(),ln=(t,o)=>zt.call(t,o),xr=(t,o)=>ln(t,o)&&t[o]!==void 0&&t[o]!==null,Ys=t=>{const o={};return Se(t,n=>{o[n]={}}),ut(o)},Yr=t=>t.length!==void 0,Pa=Array.isArray,cs=(t,o,n)=>{if(!t)return!1;if(n=n||t,Yr(t)){for(let a=0,i=t.length;a{const n=[];return cs(t,(a,i)=>{n.push(o(a,i,t))}),n},ja=(t,o)=>{const n=[];return cs(t,(a,i)=>{o&&!o(a,i,t)||n.push(a)}),n},$s=(t,o,n,a)=>{let i=fo(n)?t[0]:n;for(let c=0;c{for(let a=0,i=t.length;at[t.length-1],tt=t=>{let o,n=!1;return(...a)=>(n||(n=!0,o=t.apply(null,a)),o)},_t=()=>Mo(0,0),Mo=(t,o)=>({major:t,minor:o}),St={nu:Mo,detect:(t,o)=>{const n=String(o).toLowerCase();return t.length===0?_t():((a,i)=>{const c=((u,f)=>{for(let y=0;yNumber(i.replace(c,"$"+u));return Mo(d(1),d(2))})(t,n)},unknown:_t},zr=(t,o)=>{const n=String(o).toLowerCase();return Fe(t,a=>a.search(n))},kr=(t,o,n)=>o===""||t.length>=o.length&&t.substr(n,n+o.length)===o,Is=(t,o)=>gr(t,o)?((n,a)=>n.substring(a))(t,o.length):t,Xr=(t,o,n=0,a)=>{const i=t.indexOf(o,n);return i!==-1&&(!!fo(a)||i+o.length<=a)},gr=(t,o)=>kr(t,o,0),De=(t,o)=>kr(t,o,t.length-o.length),Ae=t=>o=>o.replace(t,""),wt=Ae(/^\s+|\s+$/g),It=Ae(/^\s+/g),dn=Ae(/\s+$/g),on=t=>t.length>0,sr=t=>!on(t),Vr=(t,o=10)=>{const n=parseInt(t,o);return isNaN(n)?V.none():V.some(n)},Br=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,Jo=t=>o=>Xr(o,t),Ce=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:t=>Xr(t,"edge/")&&Xr(t,"chrome")&&Xr(t,"safari")&&Xr(t,"applewebkit")},{name:"Chromium",brand:"Chromium",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,Br],search:t=>Xr(t,"chrome")&&!Xr(t,"chromeframe")},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:t=>Xr(t,"msie")||Xr(t,"trident")},{name:"Opera",versionRegexes:[Br,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:Jo("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:Jo("firefox")},{name:"Safari",versionRegexes:[Br,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:t=>(Xr(t,"safari")||Xr(t,"mobile/"))&&Xr(t,"applewebkit")}],Ne=[{name:"Windows",search:Jo("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:t=>Xr(t,"iphone")||Xr(t,"ipad"),versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:Jo("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"macOS",search:Jo("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:Jo("linux"),versionRegexes:[]},{name:"Solaris",search:Jo("sunos"),versionRegexes:[]},{name:"FreeBSD",search:Jo("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:Jo("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}],Zt={browsers:Ct(Ce),oses:Ct(Ne)},Io="Edge",Ho="Chromium",nn="Opera",Go="Firefox",hn="Safari",wn=t=>{const o=t.current,n=t.version,a=i=>()=>o===i;return{current:o,version:n,isEdge:a(Io),isChromium:a(Ho),isIE:a("IE"),isOpera:a(nn),isFirefox:a(Go),isSafari:a(hn)}},Un=()=>wn({current:void 0,version:St.unknown()}),Ar=wn,ra="Windows",Xs="Android",Zs="Linux",mi="macOS",Wr="Solaris",rr="FreeBSD",Sr="ChromeOS",va=t=>{const o=t.current,n=t.version,a=i=>()=>o===i;return{current:o,version:n,isWindows:a(ra),isiOS:a("iOS"),isAndroid:a(Xs),isMacOS:a(mi),isLinux:a(Zs),isSolaris:a(Wr),isFreeBSD:a(rr),isChromeOS:a(Sr)}},Cs=()=>va({current:void 0,version:St.unknown()}),za=va,ws=t=>window.matchMedia(t).matches;let As=tt(()=>((t,o,n)=>{const a=Zt.browsers(),i=Zt.oses(),c=o.bind(f=>((y,v)=>zn(v.brands,k=>{const E=k.brand.toLowerCase();return Fe(y,B=>{var O;return E===((O=B.brand)===null||O===void 0?void 0:O.toLowerCase())}).map(B=>({current:B.name,version:St.nu(parseInt(k.version,10),0)}))}))(a,f)).orThunk(()=>((f,y)=>zr(f,y).map(v=>{const k=St.detect(v.versionRegexes,y);return{current:v.name,version:k}}))(a,t)).fold(Un,Ar),d=((f,y)=>zr(f,y).map(v=>{const k=St.detect(v.versionRegexes,y);return{current:v.name,version:k}}))(i,t).fold(Cs,za),u=((f,y,v,k)=>{const E=f.isiOS()&&/ipad/i.test(v)===!0,B=f.isiOS()&&!E,O=f.isiOS()||f.isAndroid(),P=O||k("(pointer:coarse)"),M=E||!B&&O&&k("(min-device-width:768px)"),j=B||O&&!M,q=y.isSafari()&&f.isiOS()&&/safari/i.test(v)===!1,K=!j&&!M&&!q;return{isiPad:Ct(E),isiPhone:Ct(B),isTablet:Ct(M),isPhone:Ct(j),isTouch:Ct(P),isAndroid:f.isAndroid,isiOS:f.isiOS,isWebView:Ct(q),isDesktop:Ct(K)}})(d,c,t,n);return{browser:c,os:d,deviceType:u}})(navigator.userAgent,V.from(navigator.userAgentData),ws));const Aa=()=>As(),Kn=navigator.userAgent,Os=Aa(),Ma=Os.browser,Ca=Os.os,ds=Os.deviceType,xa=Kn.indexOf("Windows Phone")!==-1,Rn={transparentSrc:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",documentMode:Ma.isIE()?document.documentMode||7:10,cacheSuffix:null,container:null,canHaveCSP:!Ma.isIE(),windowsPhone:xa,browser:{current:Ma.current,version:Ma.version,isChromium:Ma.isChromium,isEdge:Ma.isEdge,isFirefox:Ma.isFirefox,isIE:Ma.isIE,isOpera:Ma.isOpera,isSafari:Ma.isSafari},os:{current:Ca.current,version:Ca.version,isAndroid:Ca.isAndroid,isChromeOS:Ca.isChromeOS,isFreeBSD:Ca.isFreeBSD,isiOS:Ca.isiOS,isLinux:Ca.isLinux,isMacOS:Ca.isMacOS,isSolaris:Ca.isSolaris,isWindows:Ca.isWindows},deviceType:{isDesktop:ds.isDesktop,isiPad:ds.isiPad,isiPhone:ds.isiPhone,isPhone:ds.isPhone,isTablet:ds.isTablet,isTouch:ds.isTouch,isWebView:ds.isWebView}},Hi=/^\s*|\s*$/g,Bn=t=>me(t)?"":(""+t).replace(Hi,""),ji=function(t,o,n,a){a=a||this,t&&(n&&(t=t[n]),cs(t,(i,c)=>o.call(a,i,c,n)!==!1&&(ji(i,o,n,a),!0)))},go={trim:Bn,isArray:Pa,is:(t,o)=>o?!(o!=="array"||!Pa(t))||typeof t===o:t!==void 0,toArray:t=>{if(Pa(t))return t;{const o=[];for(let n=0,a=t.length;n{const a=Ue(t)?t.split(o||","):t||[];let i=a.length;for(;i--;)n[a[i]]={};return n},each:cs,map:Ha,grep:ja,inArray:(t,o)=>{if(t){for(let n=0,a=t.length;n{for(let n=0;n{const n=t.split(".");for(let a=0,i=n.length;aco(t)?t:t===""?[]:Ha(t.split(o||","),Bn),_addCacheSuffix:t=>{const o=Rn.cacheSuffix;return o&&(t+=(t.indexOf("?")===-1?"?":"&")+o),t}},aa=(t,o,n=qe)=>t.exists(a=>n(a,o)),Ss=(t,o,n=qe)=>Ir(t,o,n).getOr(t.isNone()&&o.isNone()),Ir=(t,o,n)=>t.isSome()&&o.isSome()?V.some(n(t.getOrDie(),o.getOrDie())):V.none(),gi=(t,o)=>t?V.some(o):V.none(),sc=typeof window<"u"?window:Function("return this;")(),Pr=(t,o)=>((n,a)=>{let i=a??sc;for(let c=0;c{const o=Pr("ownerDocument.defaultView",t);return it(t)&&((n=>((a,i)=>{const c=((d,u)=>Pr(d,u))(a,i);if(c==null)throw new Error(a+" not available on this browser");return c})("HTMLElement",n))(o).prototype.isPrototypeOf(t)||/^HTML\w*Element$/.test(ne(t).constructor.name))},Pe=t=>t.dom.nodeName.toLowerCase(),Nt=t=>t.dom.nodeType,ho=t=>o=>Nt(o)===t,bn=t=>kn(t)&&Be(t.dom),kn=ho(1),_r=ho(3),Or=ho(9),Sa=ho(11),ma=t=>o=>kn(o)&&Pe(o)===t,Ga=(t,o,n)=>{if(!(Ue(n)||Dt(n)||rt(n)))throw console.error("Invalid call to Attribute.set. Key ",o,":: Value ",n,":: Element ",t),new Error("Attribute value was not simple");t.setAttribute(o,n+"")},Q=(t,o,n)=>{Ga(t.dom,o,n)},Ee=(t,o)=>{const n=t.dom;Ft(o,(a,i)=>{Ga(n,i,a)})},bt=(t,o)=>{const n=t.dom.getAttribute(o);return n===null?void 0:n},wo=(t,o)=>V.from(bt(t,o)),Zn=(t,o)=>{const n=t.dom;return!(!n||!n.hasAttribute)&&n.hasAttribute(o)},U=(t,o)=>{t.dom.removeAttribute(o)},oe=t=>Oe(t.dom.attributes,(o,n)=>(o[n.name]=n.value,o),{}),xe=(t,o)=>{const n=bt(t,o);return n===void 0||n===""?[]:n.split(" ")},xt=t=>t.dom.classList!==void 0,po=t=>xe(t,"class"),Yn=(t,o)=>((n,a,i)=>{const c=xe(n,a).concat([i]);return Q(n,a,c.join(" ")),!0})(t,"class",o),ga=(t,o)=>((n,a,i)=>{const c=gt(xe(n,a),d=>d!==i);return c.length>0?Q(n,a,c.join(" ")):U(n,a),!1})(t,"class",o),ks=(t,o)=>{xt(t)?t.dom.classList.add(o):Yn(t,o)},_i=t=>{(xt(t)?t.dom.classList:po(t)).length===0&&U(t,"class")},Js=(t,o)=>{xt(t)?t.dom.classList.remove(o):ga(t,o),_i(t)},Vi=(t,o)=>xt(t)&&t.dom.classList.contains(o),Qs=t=>{if(t==null)throw new Error("Node cannot be null or undefined");return{dom:t}},ic=(t,o)=>{const n=(o||document).createElement("div");if(n.innerHTML=t,!n.hasChildNodes()||n.childNodes.length>1){const a="HTML does not have a single root node";throw console.error(a,t),new Error(a)}return Qs(n.childNodes[0])},_s=(t,o)=>{const n=(o||document).createElement(t);return Qs(n)},vc=(t,o)=>{const n=(o||document).createTextNode(t);return Qs(n)},je=Qs,Ll=(t,o,n)=>V.from(t.dom.elementFromPoint(o,n)).map(Qs),pd=(t,o)=>{const n=[],a=c=>(n.push(c),o(c));let i=o(t);do i=i.bind(a);while(i.isSome());return n},Ci=(t,o)=>{const n=t.dom;if(n.nodeType!==1)return!1;{const a=n;if(a.matches!==void 0)return a.matches(o);if(a.msMatchesSelector!==void 0)return a.msMatchesSelector(o);if(a.webkitMatchesSelector!==void 0)return a.webkitMatchesSelector(o);if(a.mozMatchesSelector!==void 0)return a.mozMatchesSelector(o);throw new Error("Browser lacks native selectors")}},bp=t=>t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11||t.childElementCount===0,sa=(t,o)=>t.dom===o.dom,lc=(t,o)=>{const n=t.dom,a=o.dom;return n!==a&&n.contains(a)},ag=t=>je(t.dom.ownerDocument),Si=t=>Or(t)?t:ag(t),Gc=t=>je(Si(t).dom.defaultView),Gi=t=>V.from(t.dom.parentNode).map(je),Il=t=>V.from(t.dom.parentElement).map(je),Yl=(t,o)=>{const n=de(o)?o:uo;let a=t.dom;const i=[];for(;a.parentNode!==null&&a.parentNode!==void 0;){const c=a.parentNode,d=je(c);if(i.push(d),n(d)===!0)break;a=c}return i},Ki=t=>V.from(t.dom.previousSibling).map(je),ie=t=>V.from(t.dom.nextSibling).map(je),ve=t=>Ge(pd(t,Ki)),yt=t=>pd(t,ie),Lt=t=>oo(t.dom.childNodes,je),yn=(t,o)=>{const n=t.dom.childNodes;return V.from(n[o]).map(je)},ur=t=>yn(t,0),Ra=t=>yn(t,t.dom.childNodes.length-1),ei=t=>t.dom.childNodes.length,ia=t=>Sa(t)&&Ze(t.dom.host),pa=de(Element.prototype.attachShadow)&&de(Node.prototype.getRootNode),Ps=Ct(pa),ta=pa?t=>je(t.dom.getRootNode()):Si,cc=t=>ia(t)?t:(o=>{const n=o.dom.head;if(n==null)throw new Error("Head is not available yet");return je(n)})(Si(t)),Xl=t=>je(t.dom.host),Ei=t=>{if(Ps()&&Ze(t.target)){const o=je(t.target);if(kn(o)&&xc(o)&&t.composed&&t.composedPath){const n=t.composedPath();if(n)return Zo(n)}}return V.from(t.target)},xc=t=>Ze(t.dom.shadowRoot),Es=t=>{const o=_r(t)?t.dom.parentNode:t.dom;if(o==null||o.ownerDocument===null)return!1;const n=o.ownerDocument;return(a=>{const i=ta(a);return ia(i)?V.some(i):V.none()})(je(o)).fold(()=>n.body.contains(o),Bo(Es,Xl))};var Ba=(t,o,n,a,i)=>t(n,a)?V.some(n):de(i)&&i(n)?V.none():o(n,a,i);const Fa=(t,o,n)=>{let a=t.dom;const i=de(n)?n:uo;for(;a.parentNode;){a=a.parentNode;const c=je(a);if(o(c))return V.some(c);if(i(c))break}return V.none()},ts=(t,o,n)=>Ba((a,i)=>i(a),Fa,t,o,n),Kc=(t,o)=>{const n=a=>{for(let i=0;iFa(t,a=>Ci(a,o),n),fd=(t,o)=>((n,a)=>{const i=a===void 0?document:a.dom;return bp(i)?V.none():V.from(i.querySelector(n)).map(je)})(o,t),Yc=(t,o,n)=>Ba((a,i)=>Ci(a,i),Ua,t,o,n),nl=(t,o=!1)=>{return Es(t)?t.dom.isContentEditable:(n=t,Yc(n,"[contenteditable]")).fold(Ct(o),a=>Fr(a)==="true");var n},Fr=t=>t.dom.contentEditable,ti=t=>t.style!==void 0&&de(t.style.getPropertyValue),Zd=(t,o,n)=>{if(!Ue(n))throw console.error("Invalid call to CSS.set. Property ",o,":: Value ",n,":: Element ",t),new Error("CSS value must be a string: "+n);ti(t)&&t.style.setProperty(o,n)},hd=(t,o,n)=>{const a=t.dom;Zd(a,o,n)},qd=(t,o)=>{const n=t.dom;Ft(o,(a,i)=>{Zd(n,i,a)})},Yi=(t,o)=>{const n=t.dom,a=window.getComputedStyle(n).getPropertyValue(o);return a!==""||Es(t)?a:Mc(n,o)},Mc=(t,o)=>ti(t)?t.style.getPropertyValue(o):"",om=(t,o)=>{const n=t.dom,a=Mc(n,o);return V.from(a).filter(i=>i.length>0)},_u=t=>{const o={},n=t.dom;if(ti(n))for(let a=0;a{((n,a)=>{ti(n)&&n.style.removeProperty(a)})(t.dom,o),aa(wo(t,"style").map(wt),"")&&U(t,"style")},rl=(t,o)=>{Gi(t).each(n=>{n.dom.insertBefore(o.dom,t.dom)})},Da=(t,o)=>{ie(t).fold(()=>{Gi(t).each(n=>{os(n,o)})},n=>{rl(n,o)})},Jl=(t,o)=>{ur(t).fold(()=>{os(t,o)},n=>{t.dom.insertBefore(o.dom,n.dom)})},os=(t,o)=>{t.dom.appendChild(o.dom)},Dc=(t,o)=>{rl(t,o),os(o,t)},dc=(t,o)=>{Se(o,n=>{os(t,n)})},bd=t=>{t.dom.textContent="",Se(Lt(t),o=>{Ea(o)})},Ea=t=>{const o=t.dom;o.parentNode!==null&&o.parentNode.removeChild(o)},_l=t=>{const o=Lt(t);var n,a;o.length>0&&(n=t,Se(a=o,(i,c)=>{const d=c===0?n:a[c-1];Da(d,i)})),Ea(t)},Xc=t=>oo(t,je),yd=t=>t.dom.innerHTML,wc=(t,o)=>{const n=ag(t).dom,a=je(n.createDocumentFragment()),i=((c,d)=>{const u=(d||document).createElement("div");return u.innerHTML=c,Lt(je(u))})(o,n);dc(a,i),bd(t),os(t,a)},Jc=(t,o,n,a)=>((i,c,d,u,f)=>{const y=((v,k)=>E=>{v(E)&&k((B=>{const O=je(Ei(B).getOr(B.target)),P=()=>B.stopPropagation(),M=()=>B.preventDefault(),j=gn(M,P);return((q,K,re,ee,ke,et,st)=>({target:q,x:K,y:re,stop:ee,prevent:ke,kill:et,raw:st}))(O,B.clientX,B.clientY,P,M,j,B)})(E))})(d,u);return i.dom.addEventListener(c,y,!1),{unbind:Je(Gd,i,c,y,!1)}})(t,o,n,a),Gd=(t,o,n,a)=>{t.dom.removeEventListener(o,n,a)},vd=(t,o)=>({left:t,top:o,translate:(n,a)=>vd(t+n,o+a)}),pi=vd,Cn=(t,o)=>t!==void 0?t:o!==void 0?o:0,Ql=t=>{const o=t.dom,n=o.ownerDocument.body;return n===o?pi(n.offsetLeft,n.offsetTop):Es(t)?(a=>{const i=a.getBoundingClientRect();return pi(i.left,i.top)})(o):pi(0,0)},ec=t=>{const o=t!==void 0?t.dom:document,n=o.body.scrollLeft||o.documentElement.scrollLeft,a=o.body.scrollTop||o.documentElement.scrollTop;return pi(n,a)},yp=(t,o,n)=>{const a=(n!==void 0?n.dom:document).defaultView;a&&a.scrollTo(t,o)},Kd=(t,o)=>{Aa().browser.isSafari()&&de(t.dom.scrollIntoViewIfNeeded)?t.dom.scrollIntoViewIfNeeded(!1):t.dom.scrollIntoView(o)},Cl=(t,o,n,a)=>({x:t,y:o,width:n,height:a,right:t+n,bottom:o+a}),nm=t=>{const o=t===void 0?window:t,n=o.document,a=ec(je(n));return(i=>{const c=i===void 0?window:i;return Aa().browser.isFirefox()?V.none():V.from(c.visualViewport)})(o).fold(()=>{const i=o.document.documentElement,c=i.clientWidth,d=i.clientHeight;return Cl(a.left,a.top,c,d)},i=>Cl(Math.max(i.pageLeft,a.left),Math.max(i.pageTop,a.top),i.width,i.height))},rm=(t,o)=>{let n=[];return Se(Lt(t),a=>{o(a)&&(n=n.concat([a])),n=n.concat(rm(a,o))}),n},wa=(t,o)=>((n,a)=>{const i=a===void 0?document:a.dom;return bp(i)?[]:oo(i.querySelectorAll(n),je)})(o,t),Qc=(t,o,n)=>Ua(t,o,n).isSome();class Ns{constructor(o,n){this.node=o,this.rootNode=n,this.current=this.current.bind(this),this.next=this.next.bind(this),this.prev=this.prev.bind(this),this.prev2=this.prev2.bind(this)}current(){return this.node}next(o){return this.node=this.findSibling(this.node,"firstChild","nextSibling",o),this.node}prev(o){return this.node=this.findSibling(this.node,"lastChild","previousSibling",o),this.node}prev2(o){return this.node=this.findPreviousNode(this.node,o),this.node}findSibling(o,n,a,i){if(o){if(!i&&o[n])return o[n];if(o!==this.rootNode){let c=o[a];if(c)return c;for(let d=o.parentNode;d&&d!==this.rootNode;d=d.parentNode)if(c=d[a],c)return c}}}findPreviousNode(o,n){if(o){const a=o.previousSibling;if(this.rootNode&&a===this.rootNode)return;if(a){if(!n){for(let c=a.lastChild;c;c=c.lastChild)if(!c.lastChild)return c}return a}const i=o.parentNode;if(i&&i!==this.rootNode)return i}}}const kc=t=>o=>!!o&&o.nodeType===t,Rm=t=>!!t&&!Object.getPrototypeOf(t),rn=kc(1),Ti=t=>rn(t)&&bn(je(t)),Cu=t=>{const o=t.toLowerCase();return n=>Ze(n)&&n.nodeName.toLowerCase()===o},ka=t=>{const o=t.map(n=>n.toLowerCase());return n=>{if(n&&n.nodeName){const a=n.nodeName.toLowerCase();return lo(o,a)}return!1}},Sl=(t,o)=>{const n=o.toLowerCase().split(" ");return a=>{if(rn(a)){const i=a.ownerDocument.defaultView;if(i)for(let c=0;co=>rn(o)&&o.hasAttribute(t),El=t=>rn(t)&&t.hasAttribute("data-mce-bogus"),Ms=t=>rn(t)&&t.tagName==="TABLE",Su=t=>o=>!!(Ti(o)&&(o.contentEditable===t||o.getAttribute("data-mce-contenteditable")===t)),oi=ka(["textarea","input"]),ao=kc(3),Eu=kc(4),Yt=kc(7),ni=kc(8),xd=kc(9),us=kc(11),da=Cu("br"),ml=Cu("img"),zi=Su("true"),Oa=Su("false"),al=ka(["td","th"]),la=ka(["td","th","caption"]),$i=ka(["video","audio","object","embed"]),Yd=Cu("li"),Hs=Cu("details"),sg=Cu("summary"),Tl="\uFEFF",ns=" ",gl=t=>t===Tl,ft=((t,o)=>{const n=a=>t(a)?V.from(a.dom.nodeValue):V.none();return{get:a=>{if(!t(a))throw new Error("Can only get text value of a text node");return n(a).getOr("")},getOption:n,set:(a,i)=>{if(!t(a))throw new Error("Can only set raw text value of a text node");a.dom.nodeValue=i}}})(_r),Ai=t=>ft.get(t),wd=t=>ft.getOption(t),zl=t=>{let o;return n=>(o=o||Vt(t,Bt),ln(o,Pe(n)))},pl=t=>kn(t)&&Pe(t)==="br",ri=zl(["h1","h2","h3","h4","h5","h6","p","div","address","pre","form","blockquote","center","dir","fieldset","header","footer","article","section","hgroup","aside","nav","figure"]),hs=zl(["ul","ol","dl"]),uc=zl(["li","dd","dt"]),Bm=zl(["thead","tbody","tfoot"]),Sn=zl(["td","th"]),Ui=zl(["pre","script","textarea","style"]),Xi=()=>{const t=_s("br");return Q(t,"data-mce-bogus","1"),t},Oi=t=>{bd(t),os(t,Xi())},Za=Tl,_c=gl,qs=t=>t.replace(/\uFEFF/g,""),Tu=rn,kd=ao,Pl=t=>(kd(t)&&(t=t.parentNode),Tu(t)&&t.hasAttribute("data-mce-caret")),bs=t=>kd(t)&&_c(t.data),Ws=t=>Pl(t)||bs(t),ed=t=>t.firstChild!==t.lastChild||!da(t.firstChild),Hl=t=>{const o=t.container();return!!ao(o)&&(o.data.charAt(t.offset())===Za||t.isAtStart()&&bs(o.previousSibling))},_d=t=>{const o=t.container();return!!ao(o)&&(o.data.charAt(t.offset()-1)===Za||t.isAtEnd()&&bs(o.nextSibling))},ai=t=>kd(t)&&t.data[0]===Za,z=t=>kd(t)&&t.data[t.data.length-1]===Za,H=t=>t&&t.hasAttribute("data-mce-caret")?((o=>{var n;const a=o.getElementsByTagName("br"),i=a[a.length-1];El(i)&&((n=i.parentNode)===null||n===void 0||n.removeChild(i))})(t),t.removeAttribute("data-mce-caret"),t.removeAttribute("data-mce-bogus"),t.removeAttribute("style"),t.removeAttribute("data-mce-style"),t.removeAttribute("_moz_abspos"),t):null,J=t=>Pl(t.startContainer),Te=zi,He=Oa,ko=da,fn=ao,ir=ka(["script","style","textarea"]),Hn=ka(["img","input","textarea","hr","iframe","video","audio","object","embed"]),Tn=ka(["table"]),fa=Ws,Ka=t=>!fa(t)&&(fn(t)?!ir(t.parentNode):Hn(t)||ko(t)||Tn(t)||Ni(t)),Ni=t=>!(o=>rn(o)&&o.getAttribute("unselectable")==="true")(t)&&He(t),td=(t,o)=>Ka(t)&&((n,a)=>{for(let i=n.parentNode;i&&i!==a;i=i.parentNode){if(Ni(i))return!1;if(Te(i))return!0}return!0})(t,o),Bf=/^[ \t\r\n]*$/,ss=t=>Bf.test(t),xv=t=>{for(const o of t)if(!gl(o))return!1;return!0},Xd=t=>t===` +`||t==="\r",vp=(t,o=4,n=!0,a=!0)=>{const i=((u,f)=>f<=0?"":new Array(f+1).join(" "))(0,o),c=t.replace(/\t/g,i);return Oe(c,(u,f)=>(y=>" \f \v".indexOf(y)!==-1)(f)||f===ns?u.pcIsSpace||u.str===""&&n||u.str.length===c.length-1&&a||((y,v)=>v=0&&Xd(y[v]))(c,u.str.length+1)?{pcIsSpace:!1,str:u.str+ns}:{pcIsSpace:!0,str:u.str+" "}:{pcIsSpace:Xd(f),str:u.str+f},{pcIsSpace:!1,str:""}).str},am=(t,o)=>Ka(t)&&!((n,a)=>ao(n)&&ss(n.data)&&!((i,c)=>{const d=je(c),u=je(i);return Qc(u,"pre,code",Je(sa,d))})(n,a))(t,o)||(n=>rn(n)&&n.nodeName==="A"&&!n.hasAttribute("href")&&(n.hasAttribute("name")||n.hasAttribute("id")))(t)||Cd(t),Cd=fi("data-mce-bookmark"),fl=fi("data-mce-bogus"),Jd=t=>rn(t)&&t.getAttribute("data-mce-bogus")==="all",Fm=t=>Il(je(t)).exists(o=>!nl(o)),ys=(t,o=!0)=>((n,a)=>{let i=0;if(am(n,n))return!1;{let c=n.firstChild;if(!c)return!0;const d=new Ns(c,n);do{if(a){if(Jd(c)){c=d.next(!0);continue}if(fl(c)){c=d.next();continue}}if(zi(c)&&Fm(c))return!1;if(da(c))i++,c=d.next();else{if(am(c,n))return!1;c=d.next()}}while(c);return i<=1}})(t.dom,o),Sd=t=>t.toLowerCase()==="svg",ig=t=>Sd(t.nodeName),Lm=t=>t?.nodeName==="svg"?"svg":"html",Ff=["svg"],Im="data-mce-block",zu=t=>oo((o=>gt(ut(o),n=>!/[A-Z]/.test(n)))(t),o=>`${o}:`+oo(Ff,n=>`not(${n} ${o})`).join(":")).join(","),Au=(t,o)=>Ze(o.querySelector(t))?(o.setAttribute(Im,"true"),o.getAttribute("data-mce-selected")==="inline-boundary"&&o.removeAttribute("data-mce-selected"),!0):(o.removeAttribute(Im),!1),Rc=(t,o)=>{const n=zu(t.getTransparentElements()),a=zu(t.getBlockElements());return gt(o.querySelectorAll(n),i=>Au(a,i))},sm=(t,o)=>{var n;const a=o?"lastChild":"firstChild";for(let i=t[a];i;i=i[a])if(ys(je(i)))return void((n=i.parentNode)===null||n===void 0||n.removeChild(i))},Ou=(t,o,n)=>{const a=t.getBlockElements(),i=je(o),c=u=>Pe(u)in a,d=u=>sa(u,i);Se(Xc(n),u=>{Fa(u,c,d).each(f=>{const y=((v,k)=>gt(Lt(v),E=>c(E)&&!t.isValidChild(Pe(f),Pe(E))))(u);if(y.length>0){const v=Il(f);Se(y,k=>{Fa(k,c,d).each(E=>{((B,O)=>{const P=document.createRange(),M=B.parentNode;if(M){P.setStartBefore(B),P.setEndBefore(O);const j=P.extractContents();sm(j,!0),P.setStartAfter(O),P.setEndAfter(B);const q=P.extractContents();sm(q,!1),ys(je(j))||M.insertBefore(j,B),ys(je(O))||M.insertBefore(O,B),ys(je(q))||M.insertBefore(q,B),M.removeChild(B)}})(E.dom,k.dom)})}),v.each(k=>Rc(t,k.dom))}})})},xp=(t,o)=>{const n=Rc(t,o);Ou(t,o,n),((a,i,c)=>{Se([...c,...Ed(a,i)?[i]:[]],d=>Se(wa(je(d),d.nodeName.toLowerCase()),u=>{dg(a,u.dom)&&_l(u)}))})(t,o,n)},lg=(t,o)=>{if(im(t,o)){const n=zu(t.getBlockElements());Au(n,o)}},cg=t=>t.hasAttribute(Im),wp=(t,o)=>ln(t.getTransparentElements(),o),im=(t,o)=>rn(o)&&wp(t,o.nodeName),Ed=(t,o)=>im(t,o)&&cg(o),dg=(t,o)=>im(t,o)&&!cg(o),Pm=(t,o)=>o.type===1&&wp(t,o.name)&&Ue(o.attr(Im)),$r=Aa().browser,_n=t=>Fe(t,kn),Qd=(t,o)=>t.children&&lo(t.children,o),kp=(t,o={})=>{let n=0;const a={},i=je(t),c=Si(i),d=k=>{os(cc(i),k)},u=k=>{const E=cc(i);fd(E,"#"+k).each(Ea)},f=k=>Fn(a,k).getOrThunk(()=>({id:"mce-u"+n++,passed:[],failed:[],count:0})),y=k=>new Promise((E,B)=>{let O;const P=go._addCacheSuffix(k),M=f(P);a[P]=M,M.count++;const j=(ee,ke)=>{Se(ee,Rt),M.status=ke,M.passed=[],M.failed=[],O&&(O.onload=null,O.onerror=null,O=null)},q=()=>j(M.passed,2),K=()=>j(M.failed,3);if(E&&M.passed.push(E),B&&M.failed.push(B),M.status===1)return;if(M.status===2)return void q();if(M.status===3)return void K();M.status=1;const re=_s("link",c.dom);Ee(re,{rel:"stylesheet",type:"text/css",id:M.id}),o.contentCssCors&&Q(re,"crossOrigin","anonymous"),o.referrerPolicy&&Q(re,"referrerpolicy",o.referrerPolicy),O=re.dom,O.onload=q,O.onerror=K,d(re),Q(re,"href",P)}),v=k=>{const E=go._addCacheSuffix(k);Fn(a,E).each(B=>{--B.count==0&&(delete a[E],u(B.id))})};return{load:y,loadRawCss:(k,E)=>{const B=f(k);a[k]=B,B.count++;const O=_s("style",c.dom);Ee(O,{rel:"stylesheet",type:"text/css",id:B.id}),O.dom.innerHTML=E,d(O)},loadAll:k=>Promise.allSettled(oo(k,E=>y(E).then(Ct(E)))).then(E=>{const B=ct(E,O=>O.status==="fulfilled");return B.fail.length>0?Promise.reject(oo(B.fail,O=>O.reason)):oo(B.pass,O=>O.value)}),unload:v,unloadRawCss:k=>{Fn(a,k).each(E=>{--E.count==0&&(delete a[k],u(E.id))})},unloadAll:k=>{Se(k,E=>{v(E)})},_setReferrerPolicy:k=>{o.referrerPolicy=k},_setContentCssCors:k=>{o.contentCssCors=k}}},Hm=(()=>{const t=new WeakMap;return{forElement:(o,n)=>{const a=ta(o).dom;return V.from(t.get(a)).getOrThunk(()=>{const i=kp(a,n);return t.set(a,i),i})}}})(),Bc=(t,o,n)=>Ze(t)&&(am(t,o)||n.isInline(t.nodeName.toLowerCase())),qa=t=>(o=>o.nodeName.toLowerCase()==="span")(t)&&t.getAttribute("data-mce-type")==="bookmark",Nu=(t,o,n,a)=>{var i;const c=a||o;if(rn(o)&&qa(o))return o;const d=o.childNodes;for(let u=d.length-1;u>=0;u--)Nu(t,d[u],n,c);if(rn(o)){const u=o.childNodes;u.length===1&&qa(u[0])&&((i=o.parentNode)===null||i===void 0||i.insertBefore(u[0],o))}return(u=>us(u)||xd(u))(o)||am(o,c)||(u=>!!rn(u)&&u.childNodes.length>0)(o)||((u,f,y)=>ao(u)&&u.data.length>0&&((v,k,E)=>{const B=new Ns(v,k).prev(!1),O=new Ns(v,k).next(!1),P=fo(B)||Bc(B,k,E),M=fo(O)||Bc(O,k,E);return P&&M})(u,f,y))(o,c,n)||t.remove(o),o},_p=go.makeMap,Kt=/[&<>\"\u0060\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,lm=/[<>&\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ug=/[<>&\"\']/g,jm=/&#([a-z0-9]+);?|&([a-z0-9]+);/gi,Lf={128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},jl={'"':""","'":"'","<":"<",">":">","&":"&","`":"`"},sb={"<":"<",">":">","&":"&",""":'"',"'":"'"},Mu=(t,o)=>{const n={};if(t){const a=t.split(",");o=o||10;for(let i=0;it.replace(o?Kt:lm,n=>jl[n]||n),If=(t,o)=>t.replace(o?Kt:lm,n=>n.length>1?"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";":jl[n]||"&#"+n.charCodeAt(0)+";"),Cc=(t,o,n)=>{const a=n||La;return t.replace(o?Kt:lm,i=>jl[i]||a[i]||i)},Sc={encodeRaw:od,encodeAllRaw:t=>(""+t).replace(ug,o=>jl[o]||o),encodeNumeric:If,encodeNamed:Cc,getEncodeFunc:(t,o)=>{const n=Mu(o)||La,a=_p(t.replace(/\+/g,","));return a.named&&a.numeric?(i,c)=>i.replace(c?Kt:lm,d=>jl[d]!==void 0?jl[d]:n[d]!==void 0?n[d]:d.length>1?"&#"+(1024*(d.charCodeAt(0)-55296)+(d.charCodeAt(1)-56320)+65536)+";":"&#"+d.charCodeAt(0)+";"):a.named?o?(i,c)=>Cc(i,c,n):Cc:a.numeric?If:od},decode:t=>t.replace(jm,(o,n)=>n?(n=n.charAt(0).toLowerCase()==="x"?parseInt(n.substr(1),16):parseInt(n,10))>65535?(n-=65536,String.fromCharCode(55296+(n>>10),56320+(1023&n))):Lf[n]||String.fromCharCode(n):sb[o]||La[o]||(a=>{const i=_s("div").dom;return i.innerHTML=a,i.textContent||i.innerText||a})(o))},Ds=(t,o)=>(t=go.trim(t))?t.split(o||" "):[],Vm=t=>new RegExp("^"+t.replace(/([?+*])/g,".$1")+"$"),Fc={},eu=go.makeMap,Al=go.each,$m=go.extend,mg=go.explode,un=(t,o={})=>{const n=eu(t," ",eu(t.toUpperCase()," "));return $m(n,o)},gg=t=>un("td th li dt dd figcaption caption details summary",t.getTextBlockElements()),Cp=(t,o)=>{if(t){const n={};return Ue(t)&&(t={"*":t}),Al(t,(a,i)=>{n[i]=n[i.toUpperCase()]=o==="map"?eu(a,/[, ]/):mg(a,/[, ]/)}),n}},Du=(t={})=>{var o;const n={},a={};let i=[];const c={},d={},u=(En,Ur,Zr)=>{const Cr=t[En];if(Cr)return eu(Cr,/[, ]/,eu(Cr.toUpperCase(),/[, ]/));{let Kr=Fc[En];return Kr||(Kr=un(Ur,Zr),Fc[En]=Kr),Kr}},f=(o=t.schema)!==null&&o!==void 0?o:"html5",y=(En=>{const{globalAttributes:Ur,phrasingContent:Zr,flowContent:Cr}=(Fs=>{let dl,Dl,yc;dl="id accesskey class dir lang style tabindex title role",Dl="address blockquote div dl fieldset form h1 h2 h3 h4 h5 h6 hr menu ol p pre table ul",yc="a abbr b bdo br button cite code del dfn em embed i iframe img input ins kbd label map noscript object q s samp script select small span strong sub sup textarea u var #text #comment",Fs!=="html4"&&(dl+=" contenteditable contextmenu draggable dropzone hidden spellcheck translate",Dl+=" article aside details dialog figure main header footer hgroup section nav a ins del canvas map",yc+=" audio canvas command datalist mark meter output picture progress time wbr video ruby bdi keygen svg"),Fs!=="html5-strict"&&(dl+=" xml:lang",yc=[yc,"acronym applet basefont big font strike tt"].join(" "),Dl=[Dl,"center dir isindex noframes"].join(" "));const md=[Dl,yc].join(" ");return{globalAttributes:dl,blockContent:Dl,phrasingContent:yc,flowContent:md}})(En),Kr={},cl=(Fs,dl,Dl)=>{Kr[Fs]={attributes:Vt(dl,Ct({})),attributesOrder:dl,children:Vt(Dl,Ct({}))}},Vn=(Fs,dl="",Dl="")=>{const yc=Ds(Dl),md=Ds(Fs);let Rl=md.length;const gd=Ds([Ur,dl].join(" "));for(;Rl--;)cl(md[Rl],gd.slice(),yc)},qr=(Fs,dl)=>{const Dl=Ds(Fs),yc=Ds(dl);let md=Dl.length;for(;md--;){const Rl=Kr[Dl[md]];for(let gd=0,ul=yc.length;gd{Vn(Fs,"",Zr)}),Se(Ds("center dir isindex noframes"),Fs=>{Vn(Fs,"",Cr)})),Vn("html","manifest","head body"),Vn("head","","base command link meta noscript script style title"),Vn("title hr noscript br"),Vn("base","href target"),Vn("link","href rel media hreflang type sizes hreflang"),Vn("meta","name http-equiv content charset"),Vn("style","media type scoped"),Vn("script","src async defer type charset"),Vn("body","onafterprint onbeforeprint onbeforeunload onblur onerror onfocus onhashchange onload onmessage onoffline ononline onpagehide onpageshow onpopstate onresize onscroll onstorage onunload",Cr),Vn("dd div","",Cr),Vn("address dt caption","",En==="html4"?Zr:Cr),Vn("h1 h2 h3 h4 h5 h6 pre p abbr code var samp kbd sub sup i b u bdo span legend em strong small s cite dfn","",Zr),Vn("blockquote","cite",Cr),Vn("ol","reversed start type","li"),Vn("ul","","li"),Vn("li","value",Cr),Vn("dl","","dt dd"),Vn("a","href target rel media hreflang type",En==="html4"?Zr:Cr),Vn("q","cite",Zr),Vn("ins del","cite datetime",Cr),Vn("img","src sizes srcset alt usemap ismap width height"),Vn("iframe","src name width height",Cr),Vn("embed","src type width height"),Vn("object","data type typemustmatch name usemap form width height",[Cr,"param"].join(" ")),Vn("param","name value"),Vn("map","name",[Cr,"area"].join(" ")),Vn("area","alt coords shape href target rel media hreflang type"),Vn("table","border","caption colgroup thead tfoot tbody tr"+(En==="html4"?" col":"")),Vn("colgroup","span","col"),Vn("col","span"),Vn("tbody thead tfoot","","tr"),Vn("tr","","td th"),Vn("td","colspan rowspan headers",Cr),Vn("th","colspan rowspan headers scope abbr",Cr),Vn("form","accept-charset action autocomplete enctype method name novalidate target",Cr),Vn("fieldset","disabled form name",[Cr,"legend"].join(" ")),Vn("label","form for",Zr),Vn("input","accept alt autocomplete checked dirname disabled form formaction formenctype formmethod formnovalidate formtarget height list max maxlength min multiple name pattern readonly required size src step type value width"),Vn("button","disabled form formaction formenctype formmethod formnovalidate formtarget name type value",En==="html4"?Cr:Zr),Vn("select","disabled form multiple name required size","option optgroup"),Vn("optgroup","disabled label","option"),Vn("option","disabled label selected value"),Vn("textarea","cols dirname disabled form maxlength name readonly required rows wrap"),Vn("menu","type label",[Cr,"li"].join(" ")),Vn("noscript","",Cr),En!=="html4"&&(Vn("wbr"),Vn("ruby","",[Zr,"rt rp"].join(" ")),Vn("figcaption","",Cr),Vn("mark rt rp bdi","",Zr),Vn("summary","",[Zr,"h1 h2 h3 h4 h5 h6"].join(" ")),Vn("canvas","width height",Cr),Vn("video","src crossorigin poster preload autoplay mediagroup loop muted controls width height buffered",[Cr,"track source"].join(" ")),Vn("audio","src crossorigin preload autoplay mediagroup loop muted controls buffered volume",[Cr,"track source"].join(" ")),Vn("picture","","img source"),Vn("source","src srcset type media sizes"),Vn("track","kind src srclang label default"),Vn("datalist","",[Zr,"option"].join(" ")),Vn("article section nav aside main header footer","",Cr),Vn("hgroup","","h1 h2 h3 h4 h5 h6"),Vn("figure","",[Cr,"figcaption"].join(" ")),Vn("time","datetime",Zr),Vn("dialog","open",Cr),Vn("command","type label icon disabled checked radiogroup command"),Vn("output","for form name",Zr),Vn("progress","value max",Zr),Vn("meter","value min max low high optimum",Zr),Vn("details","open",[Cr,"summary"].join(" ")),Vn("keygen","autofocus challenge disabled form keytype name"),cl("svg","id tabindex lang xml:space class style x y width height viewBox preserveAspectRatio zoomAndPan transform".split(" "),[])),En!=="html5-strict"&&(qr("script","language xml:space"),qr("style","xml:space"),qr("object","declare classid code codebase codetype archive standby align border hspace vspace"),qr("embed","align name hspace vspace"),qr("param","valuetype type"),qr("a","charset name rev shape coords"),qr("br","clear"),qr("applet","codebase archive code object alt name width height align hspace vspace"),qr("img","name longdesc align border hspace vspace"),qr("iframe","longdesc frameborder marginwidth marginheight scrolling align"),qr("font basefont","size color face"),qr("input","usemap align"),qr("select"),qr("textarea"),qr("h1 h2 h3 h4 h5 h6 div p legend caption","align"),qr("ul","type compact"),qr("li","type"),qr("ol dl menu dir","compact"),qr("pre","width xml:space"),qr("hr","align noshade size width"),qr("isindex","prompt"),qr("table","summary width frame rules cellspacing cellpadding align bgcolor"),qr("col","width align char charoff valign"),qr("colgroup","width align char charoff valign"),qr("thead","align char charoff valign"),qr("tr","align char charoff valign bgcolor"),qr("th","axis align char charoff valign nowrap bgcolor width height"),qr("form","accept"),qr("td","abbr axis scope align char charoff valign nowrap bgcolor width height"),qr("tfoot","align char charoff valign"),qr("tbody","align char charoff valign"),qr("area","nohref"),qr("body","background bgcolor text link vlink alink")),En!=="html4"&&(qr("input button select textarea","autofocus"),qr("input textarea","placeholder"),qr("a","download"),qr("link script img","crossorigin"),qr("img","loading"),qr("iframe","sandbox seamless allow allowfullscreen loading")),En!=="html4"&&Se([Kr.video,Kr.audio],Fs=>{delete Fs.children.audio,delete Fs.children.video}),Se(Ds("a form meter progress dfn"),Fs=>{Kr[Fs]&&delete Kr[Fs].children[Fs]}),delete Kr.caption.children.table,delete Kr.script,Kr})(f);t.verify_html===!1&&(t.valid_elements="*[*]");const v=Cp(t.valid_styles),k=Cp(t.invalid_styles,"map"),E=Cp(t.valid_classes,"map"),B=u("whitespace_elements","pre script noscript style textarea video audio iframe object code"),O=u("self_closing_elements","colgroup dd dt li option p td tfoot th thead tr"),P=u("void_elements","area base basefont br col frame hr img input isindex link meta param embed source wbr track"),M=u("boolean_attributes","checked compact declare defer disabled ismap multiple nohref noresize noshade nowrap readonly selected autoplay loop controls allowfullscreen"),j="td th iframe video audio object script code",q=u("non_empty_elements",j+" pre svg",P),K=u("move_caret_before_on_enter_elements",j+" table",P),re="h1 h2 h3 h4 h5 h6",ee=u("text_block_elements",re+" p div address pre form blockquote center dir fieldset header footer article section hgroup aside main nav figure"),ke=u("block_elements","hr table tbody thead tfoot th tr td li ol ul caption dl dt dd noscript menu isindex option datalist select optgroup figcaption details summary html body multicol listing",ee),et=u("text_inline_elements","span strong b em i font s strike u var cite dfn code mark q sup sub samp"),st=u("transparent_elements","a ins del canvas map"),mt=u("wrap_block_elements","pre "+re);Al("script noscript iframe noframes noembed title style textarea xmp plaintext".split(" "),En=>{d[En]=new RegExp("]*>","gi")});const kt=En=>{const Ur=V.from(n["@"]),Zr=/[*?+]/;Se(((Cr,Kr)=>{const cl=/^([#+\-])?([^\[!\/]+)(?:\/([^\[!]+))?(?:(!?)\[([^\]]+)])?$/;return at(Ds(Kr,","),Vn=>{const qr=cl.exec(Vn);if(qr){const Fs=qr[1],dl=qr[2],Dl=qr[3],yc=qr[4],md=qr[5],Rl={attributes:{},attributesOrder:[]};if(Cr.each(gd=>((ul,ng)=>{Ft(ul.attributes,(wu,tm)=>{ng.attributes[tm]=wu}),ng.attributesOrder.push(...ul.attributesOrder)})(gd,Rl)),Fs==="#"?Rl.paddEmpty=!0:Fs==="-"&&(Rl.removeEmpty=!0),yc==="!"&&(Rl.removeEmptyAttrs=!0),md&&((gd,ul)=>{const ng=/^([!\-])?(\w+[\\:]:\w+|[^=~<]+)?(?:([=~<])(.*))?$/,wu=/[*?+]/,{attributes:tm,attributesOrder:Nf}=ul;Se(Ds(gd,"|"),Yh=>{const Xh=ng.exec(Yh);if(Xh){const qc={},jk=Xh[1],Ks=Xh[2].replace(/[\\:]:/g,":"),Dm=Xh[3],Mf=Xh[4];if(jk==="!"&&(ul.attributesRequired=ul.attributesRequired||[],ul.attributesRequired.push(Ks),qc.required=!0),jk==="-")return delete tm[Ks],void Nf.splice(go.inArray(Nf,Ks),1);if(Dm&&(Dm==="="?(ul.attributesDefault=ul.attributesDefault||[],ul.attributesDefault.push({name:Ks,value:Mf}),qc.defaultValue=Mf):Dm==="~"?(ul.attributesForced=ul.attributesForced||[],ul.attributesForced.push({name:Ks,value:Mf}),qc.forcedValue=Mf):Dm==="<"&&(qc.validValues=go.makeMap(Mf,"?"))),wu.test(Ks)){const Zy=qc;ul.attributePatterns=ul.attributePatterns||[],Zy.pattern=Vm(Ks),ul.attributePatterns.push(Zy)}else tm[Ks]||Nf.push(Ks),tm[Ks]=qc}})})(md,Rl),Dl&&(Rl.outputName=dl),dl==="@"){if(!Cr.isNone())return[];Cr=V.some(Rl)}return[Dl?{name:dl,element:Rl,aliasName:Dl}:{name:dl,element:Rl}]}return[]})})(Ur,En??""),({name:Cr,element:Kr,aliasName:cl})=>{if(cl&&(n[cl]=Kr),Zr.test(Cr)){const Vn=Kr;Vn.pattern=Vm(Cr),i.push(Vn)}else n[Cr]=Kr})},Ve=En=>{i=[],Se(ut(n),Ur=>{delete n[Ur]}),kt(En)},ot=En=>{delete Fc.text_block_elements,delete Fc.block_elements,Se((Ur=>{const Zr=/^(~)?(.+)$/;return at(Ds(Ur,","),Cr=>{const Kr=Zr.exec(Cr);if(Kr){const cl=Kr[1]==="~";return[{inline:cl,cloneName:cl?"span":"div",name:Kr[2]}]}return[]})})(En??""),({inline:Ur,name:Zr,cloneName:Cr})=>{if(a[Zr]=a[Cr],c[Zr]=Cr,q[Zr.toUpperCase()]={},q[Zr]={},Ur||(ke[Zr.toUpperCase()]={},ke[Zr]={}),!n[Zr]){let Kr=n[Cr];Kr=$m({},Kr),delete Kr.removeEmptyAttrs,delete Kr.removeEmpty,n[Zr]=Kr}Ft(a,(Kr,cl)=>{Kr[Cr]&&(a[cl]=Kr=$m({},a[cl]),Kr[Zr]=Kr[Cr])})})},pt=En=>{Se((Ur=>{const Zr=/^([+\-]?)([A-Za-z0-9_\-.\u00b7\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u037d\u037f-\u1fff\u200c-\u200d\u203f-\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]+)\[([^\]]+)]$/;return at(Ds(Ur,","),Cr=>{const Kr=Zr.exec(Cr);if(Kr){const cl=Kr[1];return[{operation:cl?(qr=>qr==="-"?"remove":"add")(cl):"replace",name:Kr[2],validChildren:Ds(Kr[3],"|")}]}return[]})})(En??""),({operation:Ur,name:Zr,validChildren:Cr})=>{const Kr=Ur==="replace"?{"#comment":{}}:a[Zr];Se(Cr,cl=>{Ur==="remove"?delete Kr[cl]:Kr[cl]={}}),a[Zr]=Kr})},Jt=En=>{const Ur=n[En];if(Ur)return Ur;let Zr=i.length;for(;Zr--;){const Cr=i[Zr];if(Cr.pattern.test(En))return Cr}};t.valid_elements?(Ve(t.valid_elements),Al(y,(En,Ur)=>{a[Ur]=En.children})):(Al(y,(En,Ur)=>{n[Ur]={attributes:En.attributes,attributesOrder:En.attributesOrder},a[Ur]=En.children}),Al(Ds("strong/b em/i"),En=>{const Ur=Ds(En,"/");n[Ur[1]].outputName=Ur[0]}),Al(et,(En,Ur)=>{n[Ur]&&(t.padd_empty_block_inline_children&&(n[Ur].paddInEmptyBlock=!0),n[Ur].removeEmpty=!0)}),Al(Ds("ol ul blockquote a table tbody"),En=>{n[En]&&(n[En].removeEmpty=!0)}),Al(Ds("p h1 h2 h3 h4 h5 h6 th td pre div address caption li summary"),En=>{n[En]&&(n[En].paddEmpty=!0)}),Al(Ds("span"),En=>{n[En].removeEmptyAttrs=!0})),delete n.svg,ot(t.custom_elements),pt(t.valid_children),kt(t.extended_valid_elements),pt("+ol[ul|ol],+ul[ul|ol]"),Al({dd:"dl",dt:"dl",li:"ul ol",td:"tr",th:"tr",tr:"tbody thead tfoot",tbody:"table",thead:"table",tfoot:"table",legend:"fieldset",area:"map",param:"video audio object"},(En,Ur)=>{n[Ur]&&(n[Ur].parentsRequired=Ds(En))}),t.invalid_elements&&Al(mg(t.invalid_elements),En=>{n[En]&&delete n[En]}),Jt("span")||kt("span[!data-mce-type|*]");const Qo=Ct(v),Fo=Ct(k),Nn=Ct(E),An=Ct(M),Jn=Ct(ke),jn=Ct(ee),cn=Ct(et),vn=Ct(Object.seal(P)),cr=Ct(O),Qe=Ct(q),nt=Ct(K),io=Ct(B),mo=Ct(st),yo=Ct(mt),xn=Ct(Object.seal(d)),Wn=(En,Ur)=>{const Zr=Jt(En);if(Zr){if(!Ur)return!0;{if(Zr.attributes[Ur])return!0;const Cr=Zr.attributePatterns;if(Cr){let Kr=Cr.length;for(;Kr--;)if(Cr[Kr].pattern.test(Ur))return!0}}}return!1},hr=En=>ln(Jn(),En),tr=En=>!gr(En,"#")&&Wn(En)&&!hr(En),Qa=Ct(c);return{type:f,children:a,elements:n,getValidStyles:Qo,getValidClasses:Nn,getBlockElements:Jn,getInvalidStyles:Fo,getVoidElements:vn,getTextBlockElements:jn,getTextInlineElements:cn,getBoolAttrs:An,getElementRule:Jt,getSelfClosingElements:cr,getNonEmptyElements:Qe,getMoveCaretBeforeOnEnterElements:nt,getWhitespaceElements:io,getTransparentElements:mo,getSpecialElements:xn,isValidChild:(En,Ur)=>{const Zr=a[En.toLowerCase()];return!(!Zr||!Zr[Ur.toLowerCase()])},isValid:Wn,isBlock:hr,isInline:tr,isWrapper:En=>ln(yo(),En)||tr(En),getCustomElements:Qa,addValidElements:kt,setValidElements:Ve,addCustomElements:ot,addValidChildren:pt}},Sp=t=>{const o=t.toString(16);return(o.length===1?"0"+o:o).toUpperCase()},C=t=>(o=>{return{value:(n=o,Is(n,"#").toUpperCase())};var n})(Sp(t.red)+Sp(t.green)+Sp(t.blue)),D=/^\s*rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)\s*$/i,G=/^\s*rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d?(?:\.\d+)?)\s*\)\s*$/i,ce=(t,o,n,a)=>({red:t,green:o,blue:n,alpha:a}),Ke=(t,o,n,a)=>{const i=parseInt(t,10),c=parseInt(o,10),d=parseInt(n,10),u=parseFloat(a);return ce(i,c,d,u)},Ut=t=>{if(t==="transparent")return V.some(ce(0,0,0,0));const o=D.exec(t);if(o!==null)return V.some(Ke(o[1],o[2],o[3],"1"));const n=G.exec(t);return n!==null?V.some(Ke(n[1],n[2],n[3],n[4])):V.none()},zo=t=>`rgba(${t.red},${t.green},${t.blue},${t.alpha})`,qo=t=>Ut(t).map(C).map(o=>"#"+o.value).getOr(t),Xn=(t={},o)=>{const n=/(?:url(?:(?:\(\s*\"([^\"]+)\"\s*\))|(?:\(\s*\'([^\']+)\'\s*\))|(?:\(\s*([^)\s]+)\s*\))))|(?:\'([^\']+)\')|(?:\"([^\"]+)\")/gi,a=/\s*([^:]+):\s*([^;]+);?/g,i=/\s+$/,c={};let d,u;const f=Tl;o&&(d=o.getValidStyles(),u=o.getInvalidStyles());const y=`\\" \\' \\; \\: ; : \uFEFF`.split(" ");for(let k=0;k{const E={};let B=!1;const O=t.url_converter,P=t.url_converter_scope||v,M=(kt,Ve,ot)=>{const pt=E[kt+"-top"+Ve];if(!pt)return;const Jt=E[kt+"-right"+Ve];if(!Jt)return;const Qo=E[kt+"-bottom"+Ve];if(!Qo)return;const Fo=E[kt+"-left"+Ve];if(!Fo)return;const Nn=[pt,Jt,Qo,Fo];let An=Nn.length-1;for(;An--&&Nn[An]===Nn[An+1];);An>-1&&ot||(E[kt+Ve]=An===-1?Nn[0]:Nn.join(" "),delete E[kt+"-top"+Ve],delete E[kt+"-right"+Ve],delete E[kt+"-bottom"+Ve],delete E[kt+"-left"+Ve])},j=kt=>{const Ve=E[kt];if(!Ve)return;const ot=Ve.indexOf(",")>-1?[Ve]:Ve.split(" ");let pt=ot.length;for(;pt--;)if(ot[pt]!==ot[0])return!1;return E[kt]=ot[0],!0},q=kt=>(B=!0,c[kt]),K=(kt,Ve)=>(B&&(kt=kt.replace(/\uFEFF[0-9]/g,ot=>c[ot])),Ve||(kt=kt.replace(/\\([\'\";:])/g,"$1")),kt),re=kt=>String.fromCharCode(parseInt(kt.slice(1),16)),ee=kt=>kt.replace(/\\[0-9a-f]+/gi,re),ke=(kt,Ve,ot,pt,Jt,Qo)=>{if(Jt=Jt||Qo)return"'"+(Jt=K(Jt)).replace(/\'/g,"\\'")+"'";if(Ve=K(Ve||ot||pt||""),!t.allow_script_urls){const Fo=Ve.replace(/[\s\r\n]+/g,"");if(/(java|vb)script:/i.test(Fo)||!t.allow_svg_data_urls&&/^data:image\/svg/i.test(Fo))return""}return O&&(Ve=O.call(P,Ve,"style")),"url('"+Ve.replace(/\'/g,"\\'")+"')"};if(k){let kt;for(k=(k=k.replace(/[\u0000-\u001F]/g,"")).replace(/\\[\"\';:\uFEFF]/g,q).replace(/\"[^\"]+\"|\'[^\']+\'/g,Ve=>Ve.replace(/[;:]/g,q));kt=a.exec(k);){a.lastIndex=kt.index+kt[0].length;let Ve=kt[1].replace(i,"").toLowerCase(),ot=kt[2].replace(i,"");if(Ve&&ot){if(Ve=ee(Ve),ot=ee(ot),Ve.indexOf(f)!==-1||Ve.indexOf('"')!==-1||!t.allow_script_urls&&(Ve==="behavior"||/expression\s*\(|\/\*|\*\//.test(ot)))continue;Ve==="font-weight"&&ot==="700"?ot="bold":Ve!=="color"&&Ve!=="background-color"||(ot=ot.toLowerCase()),Ue(t.force_hex_color)&&t.force_hex_color!=="off"&&Ut(ot).each(pt=>{t.force_hex_color!=="always"&&pt.alpha!==1||(ot=qo(zo(pt)))}),ot=ot.replace(n,ke),E[Ve]=B?K(ot,!0):ot}}M("border","",!0),M("border","-width"),M("border","-color"),M("border","-style"),M("padding",""),M("margin",""),st="border-style",mt="border-color",j(et="border-width")&&j(st)&&j(mt)&&(E.border=E[et]+" "+E[st]+" "+E[mt],delete E[et],delete E[st],delete E[mt]),E.border==="medium none"&&delete E.border,E["border-image"]==="none"&&delete E["border-image"]}var et,st,mt;return E},serialize:(k,E)=>{let B="";const O=(P,M)=>{const j=M[P];if(j)for(let q=0,K=j.length;q0?" ":"")+re+": "+ee+";")}};return E&&d?(O("*",d),O(E,d)):Ft(k,(P,M)=>{P&&((j,q)=>{if(!u||!q)return!0;let K=u["*"];return!(K&&K[j]||(K=u[q],K&&K[j]))})(M,E)&&(B+=(B.length>0?" ":"")+M+": "+P+";")}),B}};return v},pr={keyLocation:!0,layerX:!0,layerY:!0,returnValue:!0,webkitMovementX:!0,webkitMovementY:!0,keyIdentifier:!0,mozPressure:!0},is=(t,o)=>{const n=o??{};for(const a in t)ln(pr,a)||(n[a]=t[a]);return Ze(t.composedPath)&&(n.composedPath=()=>t.composedPath()),Ze(t.getModifierState)&&(n.getModifierState=a=>t.getModifierState(a)),Ze(t.getTargetRanges)&&(n.getTargetRanges=()=>t.getTargetRanges()),n},Nr=(t,o,n,a)=>{var i;const c=is(o,a);return c.type=t,me(c.target)&&(c.target=(i=c.srcElement)!==null&&i!==void 0?i:n),(d=>me(d.preventDefault)||(u=>u instanceof Event||de(u.initEvent))(d))(o)&&(c.preventDefault=()=>{c.defaultPrevented=!0,c.isDefaultPrevented=Bt,de(o.preventDefault)&&o.preventDefault()},c.stopPropagation=()=>{c.cancelBubble=!0,c.isPropagationStopped=Bt,de(o.stopPropagation)&&o.stopPropagation()},c.stopImmediatePropagation=()=>{c.isImmediatePropagationStopped=Bt,c.stopPropagation()},(d=>d.isDefaultPrevented===Bt||d.isDefaultPrevented===uo)(c)||(c.isDefaultPrevented=c.defaultPrevented===!0?Bt:uo,c.isPropagationStopped=c.cancelBubble===!0?Bt:uo,c.isImmediatePropagationStopped=uo)),c},ha=/^(?:mouse|contextmenu)|click/,Ia=(t,o,n,a)=>{t.addEventListener(o,n,a||!1)},Mi=(t,o,n,a)=>{t.removeEventListener(o,n,a||!1)},hi=(t,o)=>{const n=Nr(t.type,t,document,o);if((a=>Ze(a)&&ha.test(a.type))(t)&&fo(t.pageX)&&!fo(t.clientX)){const a=n.target.ownerDocument||document,i=a.documentElement,c=a.body,d=n;d.pageX=t.clientX+(i&&i.scrollLeft||c&&c.scrollLeft||0)-(i&&i.clientLeft||c&&c.clientLeft||0),d.pageY=t.clientY+(i&&i.scrollTop||c&&c.scrollTop||0)-(i&&i.clientTop||c&&c.clientTop||0)}return n},Td=(t,o,n)=>{const a=t.document,i={type:"ready"};if(n.domLoaded)return void o(i);const c=()=>{Mi(t,"DOMContentLoaded",c),Mi(t,"load",c),n.domLoaded||(n.domLoaded=!0,o(i)),t=null};a.readyState==="complete"||a.readyState==="interactive"&&a.body?c():Ia(t,"DOMContentLoaded",c),n.domLoaded||Ia(t,"load",c)};class zd{constructor(){this.domLoaded=!1,this.events={},this.count=1,this.expando="mce-data-"+(+new Date).toString(32),this.hasFocusIn="onfocusin"in document.documentElement,this.count=1}bind(o,n,a,i){const c=this;let d;const u=window,f=E=>{c.executeHandlers(hi(E||u.event),y)};if(!o||ao(o)||ni(o))return a;let y;o[c.expando]?y=o[c.expando]:(y=c.count++,o[c.expando]=y,c.events[y]={}),i=i||o;const v=n.split(" ");let k=v.length;for(;k--;){let E=v[k],B=f,O=!1,P=!1;E==="DOMContentLoaded"&&(E="ready"),c.domLoaded&&E==="ready"&&o.readyState==="complete"?a.call(i,hi({type:E})):(c.hasFocusIn||E!=="focusin"&&E!=="focusout"||(O=!0,P=E==="focusin"?"focus":"blur",B=M=>{const j=hi(M||u.event);j.type=j.type==="focus"?"focusin":"focusout",c.executeHandlers(j,y)}),d=c.events[y][E],d?E==="ready"&&c.domLoaded?a(hi({type:E})):d.push({func:a,scope:i}):(c.events[y][E]=d=[{func:a,scope:i}],d.fakeName=P,d.capture=O,d.nativeHandler=B,E==="ready"?Td(o,B,c):Ia(o,P||E,B,O)))}return o=d=null,a}unbind(o,n,a){if(!o||ao(o)||ni(o))return this;const i=o[this.expando];if(i){let c=this.events[i];if(n){const d=n.split(" ");let u=d.length;for(;u--;){const f=d[u],y=c[f];if(y){if(a){let v=y.length;for(;v--;)if(y[v].func===a){const k=y.nativeHandler,E=y.fakeName,B=y.capture,O=y.slice(0,v).concat(y.slice(v+1));O.nativeHandler=k,O.fakeName=E,O.capture=B,c[f]=O}}a&&y.length!==0||(delete c[f],Mi(o,y.fakeName||f,y.nativeHandler,y.capture))}}}else Ft(c,(d,u)=>{Mi(o,d.fakeName||u,d.nativeHandler,d.capture)}),c={};for(const d in c)if(ln(c,d))return this;delete this.events[i];try{delete o[this.expando]}catch{o[this.expando]=null}}return this}fire(o,n,a){return this.dispatch(o,n,a)}dispatch(o,n,a){if(!o||ao(o)||ni(o))return this;const i=hi({type:n,target:o},a);do{const c=o[this.expando];c&&this.executeHandlers(i,c),o=o.parentNode||o.ownerDocument||o.defaultView||o.parentWindow}while(o&&!i.isPropagationStopped());return this}clean(o){if(!o||ao(o)||ni(o))return this;if(o[this.expando]&&this.unbind(o),o.getElementsByTagName||(o=o.document),o&&o.getElementsByTagName){this.unbind(o);const n=o.getElementsByTagName("*");let a=n.length;for(;a--;)(o=n[a])[this.expando]&&this.unbind(o)}return this}destroy(){this.events={}}cancel(o){return o&&(o.preventDefault(),o.stopImmediatePropagation()),!1}executeHandlers(o,n){const a=this.events[n],i=a&&a[o.type];if(i)for(let c=0,d=i.length;c{me(n)||n===""?U(t,o):Q(t,o,n)},pg=t=>t.replace(/[A-Z]/g,o=>"-"+o.toLowerCase()),Fu=(t,o)=>{let n=0;if(t)for(let a=t.nodeType,i=t.previousSibling;i;i=i.previousSibling){const c=i.nodeType;(!o||!ao(i)||c!==a&&i.data.length)&&(n++,a=c)}return n},nd=(t,o)=>{const n=bt(o,"style"),a=t.serialize(t.parse(n),Pe(o));Od(o,Bu,a)},oa=(t,o,n)=>{const a=pg(o);me(n)||n===""?Wd(t,a):hd(t,a,((i,c)=>rt(i)?ln(Ad,c)?i+"":i+"px":i)(n,a))},wr=(t,o={})=>{const n={},a=window,i={};let c=0;const d=Hm.forElement(je(t),{contentCssCors:o.contentCssCors,referrerPolicy:o.referrerPolicy}),u=[],f=o.schema?o.schema:Du({}),y=Xn({url_converter:o.url_converter,url_converter_scope:o.url_converter_scope,force_hex_color:o.force_hex_color},o.schema),v=o.ownEvents?new zd:zd.Event,k=f.getBlockElements(),E=Qe=>Qe&&t&&Ue(Qe)?t.getElementById(Qe):Qe,B=Qe=>{const nt=E(Qe);return Ze(nt)?je(nt):null},O=(Qe,nt,io="")=>{let mo;const yo=B(Qe);if(Ze(yo)&&kn(yo)){const xn=cr[nt];mo=xn&&xn.get?xn.get(yo.dom,nt):bt(yo,nt)}return Ze(mo)?mo:io},P=Qe=>{const nt=E(Qe);return me(nt)?[]:nt.attributes},M=(Qe,nt,io)=>{st(Qe,mo=>{if(rn(mo)){const yo=je(mo),xn=io===""?null:io,Wn=bt(yo,nt),hr=cr[nt];hr&&hr.set?hr.set(yo.dom,xn,nt):Od(yo,nt,xn),Wn!==xn&&o.onSetAttrib&&o.onSetAttrib({attrElm:yo.dom,attrName:nt,attrValue:xn})}})},j=()=>o.root_element||t.body,q=(Qe,nt)=>((io,mo,yo)=>{let xn=0,Wn=0;const hr=io.ownerDocument;if(yo=yo||io,mo){if(yo===io&&mo.getBoundingClientRect&&Yi(je(io),"position")==="static"){const Qa=mo.getBoundingClientRect();return xn=Qa.left+(hr.documentElement.scrollLeft||io.scrollLeft)-hr.documentElement.clientLeft,Wn=Qa.top+(hr.documentElement.scrollTop||io.scrollTop)-hr.documentElement.clientTop,{x:xn,y:Wn}}let tr=mo;for(;tr&&tr!==yo&&tr.nodeType&&!Qd(tr,yo);){const Qa=tr;xn+=Qa.offsetLeft||0,Wn+=Qa.offsetTop||0,tr=Qa.offsetParent}for(tr=mo.parentNode;tr&&tr!==yo&&tr.nodeType&&!Qd(tr,yo);)xn-=tr.scrollLeft||0,Wn-=tr.scrollTop||0,tr=tr.parentNode;Wn+=(Qa=>$r.isFirefox()&&Pe(Qa)==="table"?_n(Lt(Qa)).filter(En=>Pe(En)==="caption").bind(En=>_n(yt(En)).map(Ur=>{const Zr=Ur.dom.offsetTop,Cr=En.dom.offsetTop,Kr=En.dom.offsetHeight;return Zr<=Cr?-Kr:0})).getOr(0):0)(je(mo))}return{x:xn,y:Wn}})(t.body,E(Qe),nt),K=(Qe,nt,io)=>{const mo=E(Qe);var yo;if(!me(mo)&&(Ti(mo)||rn(yo=mo)&&yo.namespaceURI==="http://www.w3.org/2000/svg"))return io?Yi(je(mo),pg(nt)):((nt=nt.replace(/-(\D)/g,(xn,Wn)=>Wn.toUpperCase()))==="float"&&(nt="cssFloat"),mo.style?mo.style[nt]:void 0)},re=Qe=>{const nt=E(Qe);if(!nt)return{w:0,h:0};let io=K(nt,"width"),mo=K(nt,"height");return io&&io.indexOf("px")!==-1||(io="0"),mo&&mo.indexOf("px")!==-1||(mo="0"),{w:parseInt(io,10)||nt.offsetWidth||nt.clientWidth,h:parseInt(mo,10)||nt.offsetHeight||nt.clientHeight}},ee=(Qe,nt)=>{if(!Qe)return!1;const io=co(Qe)?Qe:[Qe];return To(io,mo=>Ci(je(mo),nt))},ke=(Qe,nt,io,mo)=>{const yo=[];let xn=E(Qe);mo=mo===void 0;const Wn=io||(j().nodeName!=="BODY"?j().parentNode:null);if(Ue(nt))if(nt==="*")nt=rn;else{const hr=nt;nt=tr=>ee(tr,hr)}for(;xn&&!(xn===Wn||me(xn.nodeType)||xd(xn)||us(xn));){if(!nt||nt(xn)){if(!mo)return[xn];yo.push(xn)}xn=xn.parentNode}return mo?yo:null},et=(Qe,nt,io)=>{let mo=nt;if(Qe){Ue(nt)&&(mo=yo=>ee(yo,nt));for(let yo=Qe[io];yo;yo=yo[io])if(de(mo)&&mo(yo))return yo}return null},st=function(Qe,nt,io){const mo=io??this;if(co(Qe)){const yo=[];return cm(Qe,(xn,Wn)=>{const hr=E(xn);hr&&yo.push(nt.call(mo,hr,Wn))}),yo}{const yo=E(Qe);return!!yo&&nt.call(mo,yo)}},mt=(Qe,nt)=>{st(Qe,io=>{Ft(nt,(mo,yo)=>{M(io,yo,mo)})})},kt=(Qe,nt)=>{st(Qe,io=>{const mo=je(io);wc(mo,nt)})},Ve=(Qe,nt,io,mo,yo)=>st(Qe,xn=>{const Wn=Ue(nt)?t.createElement(nt):nt;return Ze(io)&&mt(Wn,io),mo&&(!Ue(mo)&&mo.nodeType?Wn.appendChild(mo):Ue(mo)&&kt(Wn,mo)),yo?Wn:xn.appendChild(Wn)}),ot=(Qe,nt,io)=>Ve(t.createElement(Qe),Qe,nt,io,!0),pt=Sc.encodeAllRaw,Jt=(Qe,nt)=>st(Qe,io=>{const mo=je(io);return nt&&Se(Lt(mo),yo=>{_r(yo)&&yo.dom.length===0?Ea(yo):rl(mo,yo)}),Ea(mo),mo.dom}),Qo=(Qe,nt,io)=>{st(Qe,mo=>{if(rn(mo)){const yo=je(mo),xn=nt.split(" ");Se(xn,Wn=>{Ze(io)?(io?ks:Js)(yo,Wn):((hr,tr)=>{xt(hr)?hr.dom.classList.toggle(tr):((Qa,En)=>lo(po(Qa),En)?ga(Qa,En):Yn(Qa,En))(hr,tr),_i(hr)})(yo,Wn)})}})},Fo=(Qe,nt,io)=>st(nt,mo=>{var yo;const xn=co(nt)?Qe.cloneNode(!0):Qe;return io&&cm(Ru(mo.childNodes),Wn=>{xn.appendChild(Wn)}),(yo=mo.parentNode)===null||yo===void 0||yo.replaceChild(xn,mo),mo}),Nn=Qe=>{if(rn(Qe)){const nt=Qe.nodeName.toLowerCase()==="a"&&!O(Qe,"href")&&O(Qe,"id");if(O(Qe,"name")||O(Qe,"data-mce-bookmark")||nt)return!0}return!1},An=()=>t.createRange(),Jn=(Qe,nt,io,mo)=>{if(co(Qe)){let yo=Qe.length;const xn=[];for(;yo--;)xn[yo]=Jn(Qe[yo],nt,io,mo);return xn}return!o.collect||Qe!==t&&Qe!==a||u.push([Qe,nt,io,mo]),v.bind(Qe,nt,io,mo||vn)},jn=(Qe,nt,io)=>{if(co(Qe)){let mo=Qe.length;const yo=[];for(;mo--;)yo[mo]=jn(Qe[mo],nt,io);return yo}if(u.length>0&&(Qe===t||Qe===a)){let mo=u.length;for(;mo--;){const[yo,xn,Wn]=u[mo];Qe!==yo||nt&&nt!==xn||io&&io!==Wn||v.unbind(yo,xn,Wn)}}return v.unbind(Qe,nt,io)},cn=Qe=>{if(Qe&&Ti(Qe)){const nt=Qe.getAttribute("data-mce-contenteditable");return nt&&nt!=="inherit"?nt:Qe.contentEditable!=="inherit"?Qe.contentEditable:null}return null},vn={doc:t,settings:o,win:a,files:i,stdMode:!0,boxModel:!0,styleSheetLoader:d,boundEvents:u,styles:y,schema:f,events:v,isBlock:Qe=>Ue(Qe)?ln(k,Qe):rn(Qe)&&(ln(k,Qe.nodeName)||Ed(f,Qe)),root:null,clone:(Qe,nt)=>Qe.cloneNode(nt),getRoot:j,getViewPort:Qe=>{const nt=nm(Qe);return{x:nt.x,y:nt.y,w:nt.width,h:nt.height}},getRect:Qe=>{const nt=E(Qe),io=q(nt),mo=re(nt);return{x:io.x,y:io.y,w:mo.w,h:mo.h}},getSize:re,getParent:(Qe,nt,io)=>{const mo=ke(Qe,nt,io,!1);return mo&&mo.length>0?mo[0]:null},getParents:ke,get:E,getNext:(Qe,nt)=>et(Qe,nt,"nextSibling"),getPrev:(Qe,nt)=>et(Qe,nt,"previousSibling"),select:(Qe,nt)=>{var io,mo;const yo=(mo=(io=E(nt))!==null&&io!==void 0?io:o.root_element)!==null&&mo!==void 0?mo:t;return de(yo.querySelectorAll)?Pn(yo.querySelectorAll(Qe)):[]},is:ee,add:Ve,create:ot,createHTML:(Qe,nt,io="")=>{let mo="<"+Qe;for(const yo in nt)xr(nt,yo)&&(mo+=" "+yo+'="'+pt(nt[yo])+'"');return sr(io)&&ln(f.getVoidElements(),Qe)?mo+" />":mo+">"+io+""},createFragment:Qe=>{const nt=t.createElement("div"),io=t.createDocumentFragment();let mo;for(io.appendChild(nt),Qe&&(nt.innerHTML=Qe);mo=nt.firstChild;)io.appendChild(mo);return io.removeChild(nt),io},remove:Jt,setStyle:(Qe,nt,io)=>{st(Qe,mo=>{const yo=je(mo);oa(yo,nt,io),o.update_styles&&nd(y,yo)})},getStyle:K,setStyles:(Qe,nt)=>{st(Qe,io=>{const mo=je(io);Ft(nt,(yo,xn)=>{oa(mo,xn,yo)}),o.update_styles&&nd(y,mo)})},removeAllAttribs:Qe=>st(Qe,nt=>{const io=nt.attributes;for(let mo=io.length-1;mo>=0;mo--)nt.removeAttributeNode(io.item(mo))}),setAttrib:M,setAttribs:mt,getAttrib:O,getPos:q,parseStyle:Qe=>y.parse(Qe),serializeStyle:(Qe,nt)=>y.serialize(Qe,nt),addStyle:Qe=>{if(vn!==wr.DOM&&t===document){if(n[Qe])return;n[Qe]=!0}let nt=t.getElementById("mceDefaultStyles");if(!nt){nt=t.createElement("style"),nt.id="mceDefaultStyles",nt.type="text/css";const io=t.head;io.firstChild?io.insertBefore(nt,io.firstChild):io.appendChild(nt)}nt.styleSheet?nt.styleSheet.cssText+=Qe:nt.appendChild(t.createTextNode(Qe))},loadCSS:Qe=>{Qe||(Qe=""),Se(Qe.split(","),nt=>{i[nt]=!0,d.load(nt).catch($t)})},addClass:(Qe,nt)=>{Qo(Qe,nt,!0)},removeClass:(Qe,nt)=>{Qo(Qe,nt,!1)},hasClass:(Qe,nt)=>{const io=B(Qe),mo=nt.split(" ");return Ze(io)&&ze(mo,yo=>Vi(io,yo))},toggleClass:Qo,show:Qe=>{st(Qe,nt=>Wd(je(nt),"display"))},hide:Qe=>{st(Qe,nt=>hd(je(nt),"display","none"))},isHidden:Qe=>{const nt=B(Qe);return Ze(nt)&&aa(om(nt,"display"),"none")},uniqueId:Qe=>(Qe||"mce_")+c++,setHTML:kt,getOuterHTML:Qe=>{const nt=B(Qe);return Ze(nt)?rn(nt.dom)?nt.dom.outerHTML:(io=>{const mo=_s("div"),yo=je(io.dom.cloneNode(!0));return os(mo,yo),yd(mo)})(nt):""},setOuterHTML:(Qe,nt)=>{st(Qe,io=>{rn(io)&&(io.outerHTML=nt)})},decode:Sc.decode,encode:pt,insertAfter:(Qe,nt)=>{const io=E(nt);return st(Qe,mo=>{const yo=io?.parentNode,xn=io?.nextSibling;return yo&&(xn?yo.insertBefore(mo,xn):yo.appendChild(mo)),mo})},replace:Fo,rename:(Qe,nt)=>{if(Qe.nodeName!==nt.toUpperCase()){const io=ot(nt);return cm(P(Qe),mo=>{M(io,mo.nodeName,O(Qe,mo.nodeName))}),Fo(io,Qe,!0),io}return Qe},findCommonAncestor:(Qe,nt)=>{let io=Qe;for(;io;){let mo=nt;for(;mo&&io!==mo;)mo=mo.parentNode;if(io===mo)break;io=io.parentNode}return!io&&Qe.ownerDocument?Qe.ownerDocument.documentElement:io},run:st,getAttribs:P,isEmpty:(Qe,nt,io)=>{let mo=0;if(Nn(Qe))return!1;const yo=Qe.firstChild;if(yo){const xn=new Ns(yo,Qe),Wn=f?f.getWhitespaceElements():{},hr=nt||(f?f.getNonEmptyElements():null);let tr=yo;do{if(rn(tr)){const Qa=tr.getAttribute("data-mce-bogus");if(Qa){tr=xn.next(Qa==="all");continue}const En=tr.nodeName.toLowerCase();if(hr&&hr[En]){if(En==="br"){mo++,tr=xn.next();continue}return!1}if(Nn(tr))return!1}if(ni(tr)||ao(tr)&&!ss(tr.data)&&(!io?.includeZwsp||!xv(tr.data))||ao(tr)&&tr.parentNode&&Wn[tr.parentNode.nodeName]&&ss(tr.data))return!1;tr=xn.next()}while(tr)}return mo<=1},createRng:An,nodeIndex:Fu,split:(Qe,nt,io)=>{let mo,yo,xn=An();if(Qe&&nt&&Qe.parentNode&&nt.parentNode){const Wn=Qe.parentNode;return xn.setStart(Wn,Fu(Qe)),xn.setEnd(nt.parentNode,Fu(nt)),mo=xn.extractContents(),xn=An(),xn.setStart(nt.parentNode,Fu(nt)+1),xn.setEnd(Wn,Fu(Qe)+1),yo=xn.extractContents(),Wn.insertBefore(Nu(vn,mo,f),Qe),io?Wn.insertBefore(io,Qe):Wn.insertBefore(nt,Qe),Wn.insertBefore(Nu(vn,yo,f),Qe),Jt(Qe),io||nt}},bind:Jn,unbind:jn,fire:(Qe,nt,io)=>v.dispatch(Qe,nt,io),dispatch:(Qe,nt,io)=>v.dispatch(Qe,nt,io),getContentEditable:cn,getContentEditableParent:Qe=>{const nt=j();let io=null;for(let mo=Qe;mo&&mo!==nt&&(io=cn(mo),io===null);mo=mo.parentNode);return io},isEditable:Qe=>{if(Ze(Qe)){const nt=rn(Qe)?Qe:Qe.parentElement;return Ze(nt)&&Ti(nt)&&nl(je(nt))}return!1},destroy:()=>{if(u.length>0){let Qe=u.length;for(;Qe--;){const[nt,io,mo]=u[Qe];v.unbind(nt,io,mo)}}Ft(i,(Qe,nt)=>{d.unload(nt),delete i[nt]})},isChildOf:(Qe,nt)=>Qe===nt||nt.contains(Qe),dumpRng:Qe=>"startContainer: "+Qe.startContainer.nodeName+", startOffset: "+Qe.startOffset+", endContainer: "+Qe.endContainer.nodeName+", endOffset: "+Qe.endOffset},cr=((Qe,nt,io)=>{const mo=nt.keep_values,yo={set:(Wn,hr,tr)=>{const Qa=je(Wn);de(nt.url_converter)&&Ze(hr)&&(hr=nt.url_converter.call(nt.url_converter_scope||io(),String(hr),tr,Wn)),Od(Qa,"data-mce-"+tr,hr),Od(Qa,tr,hr)},get:(Wn,hr)=>{const tr=je(Wn);return bt(tr,"data-mce-"+hr)||bt(tr,hr)}},xn={style:{set:(Wn,hr)=>{const tr=je(Wn);mo&&Od(tr,Bu,hr),U(tr,"style"),Ue(hr)&&qd(tr,Qe.parse(hr))},get:Wn=>{const hr=je(Wn),tr=bt(hr,Bu)||bt(hr,"style");return Qe.serialize(Qe.parse(tr),Pe(hr))}}};return mo&&(xn.href=xn.src=yo),xn})(y,o,Ct(vn));return vn};wr.DOM=wr(document),wr.nodeIndex=Fu;const hl=wr.DOM;class Jr{constructor(o={}){this.states={},this.queue=[],this.scriptLoadedCallbacks={},this.queueLoadedCallbacks=[],this.loading=!1,this.settings=o}_setReferrerPolicy(o){this.settings.referrerPolicy=o}loadScript(o){return new Promise((n,a)=>{const i=hl;let c;const d=()=>{i.remove(u),c&&(c.onerror=c.onload=c=null)},u=i.uniqueId();c=document.createElement("script"),c.id=u,c.type="text/javascript",c.src=go._addCacheSuffix(o),this.settings.referrerPolicy&&i.setAttrib(c,"referrerpolicy",this.settings.referrerPolicy),c.onload=()=>{d(),n()},c.onerror=()=>{d(),a("Failed to load script: "+o)},(document.getElementsByTagName("head")[0]||document.body).appendChild(c)})}isDone(o){return this.states[o]===2}markDone(o){this.states[o]=2}add(o){const n=this;return n.queue.push(o),n.states[o]===void 0&&(n.states[o]=0),new Promise((a,i)=>{n.scriptLoadedCallbacks[o]||(n.scriptLoadedCallbacks[o]=[]),n.scriptLoadedCallbacks[o].push({resolve:a,reject:i})})}load(o){return this.add(o)}remove(o){delete this.states[o],delete this.scriptLoadedCallbacks[o]}loadQueue(){const o=this.queue;return this.queue=[],this.loadScripts(o)}loadScripts(o){const n=this,a=(f,y)=>{Fn(n.scriptLoadedCallbacks,y).each(v=>{Se(v,k=>k[f](y))}),delete n.scriptLoadedCallbacks[y]},i=f=>{const y=gt(f,v=>v.status==="rejected");return y.length>0?Promise.reject(at(y,({reason:v})=>co(v)?v:[v])):Promise.resolve()},c=f=>Promise.allSettled(oo(f,y=>n.states[y]===2?(a("resolve",y),Promise.resolve()):n.states[y]===3?(a("reject",y),Promise.reject(y)):(n.states[y]=1,n.loadScript(y).then(()=>{n.states[y]=2,a("resolve",y);const v=n.queue;return v.length>0?(n.queue=[],c(v).then(i)):Promise.resolve()},()=>(n.states[y]=3,a("reject",y),Promise.reject(y)))))),d=f=>(n.loading=!0,c(f).then(y=>{n.loading=!1;const v=n.queueLoadedCallbacks.shift();return V.from(v).each(Rt),i(y)})),u=Ys(o);return n.loading?new Promise((f,y)=>{n.queueLoadedCallbacks.push(()=>{d(u).then(f,y)})}):d(u)}}Jr.ScriptLoader=new Jr;const bi=t=>{let o=t;return{get:()=>o,set:n=>{o=n}}},rs={},Di=bi("en"),Lc=()=>Fn(rs,Di.get()),Zi={getData:()=>vo(rs,t=>({...t})),setCode:t=>{t&&Di.set(t)},getCode:()=>Di.get(),add:(t,o)=>{let n=rs[t];n||(rs[t]=n={});const a=oo(ut(o),i=>i.toLowerCase());Ft(o,(i,c)=>{const d=c.toLowerCase();d!==c&&((u,f)=>{const y=u.indexOf(f);return y!==-1&&u.indexOf(f,y+1)>y})(a,d)?(ln(o,d)||(n[d]=i),n[c]=i):n[d]=i})},translate:t=>{const o=Lc().getOr({}),n=u=>de(u)?Object.prototype.toString.call(u):a(u)?"":""+u,a=u=>u===""||u==null,i=u=>{const f=n(u);return ln(o,f)?n(o[f]):Fn(o,f.toLowerCase()).map(n).getOr(f)},c=u=>u.replace(/{context:\w+}$/,"");if(a(t))return"";if(it(d=t)&&ln(d,"raw"))return n(t.raw);var d;if((u=>co(u)&&u.length>1)(t)){const u=t.slice(1);return c(i(t[0]).replace(/\{([0-9]+)\}/g,(f,y)=>ln(u,y)?n(u[y]):f))}return c(i(t))},isRtl:()=>Lc().bind(t=>Fn(t,"_dir")).exists(t=>t==="rtl"),hasCode:t=>ln(rs,t)},bl=()=>{const t=[],o={},n={},a=[],i=(f,y)=>{const v=gt(a,k=>k.name===f&&k.state===y);Se(v,k=>k.resolve())},c=f=>ln(o,f),d=(f,y)=>{const v=Zi.getCode();!v||y&&(","+(y||"")+",").indexOf(","+v+",")===-1||Jr.ScriptLoader.add(o[f]+"/langs/"+v+".js")},u=(f,y="added")=>y==="added"&&(v=>ln(n,v))(f)||y==="loaded"&&c(f)?Promise.resolve():new Promise(v=>{a.push({name:f,state:y,resolve:v})});return{items:t,urls:o,lookup:n,get:f=>{if(n[f])return n[f].instance},requireLangPack:(f,y)=>{bl.languageLoad!==!1&&(c(f)?d(f,y):u(f,"loaded").then(()=>d(f,y)))},add:(f,y)=>(t.push(y),n[f]={instance:y},i(f,"added"),y),remove:f=>{delete o[f],delete n[f]},createUrl:(f,y)=>Ue(y)?Ue(f)?{prefix:"",resource:y,suffix:""}:{prefix:f.prefix,resource:y,suffix:f.suffix}:y,load:(f,y)=>{if(o[f])return Promise.resolve();let v=Ue(y)?y:y.prefix+y.resource+y.suffix;v.indexOf("/")!==0&&v.indexOf("://")===-1&&(v=bl.baseURL+"/"+v),o[f]=v.substring(0,v.lastIndexOf("/"));const k=()=>(i(f,"loaded"),Promise.resolve());return n[f]?k():Jr.ScriptLoader.add(v).then(k)},waitFor:u}};bl.languageLoad=!0,bl.baseURL="",bl.PluginManager=bl(),bl.ThemeManager=bl(),bl.ModelManager=bl();const Lu=t=>{const o=bi(V.none()),n=()=>o.get().each(a=>clearInterval(a));return{clear:()=>{n(),o.set(V.none())},isSet:()=>o.get().isSome(),get:()=>o.get(),set:a=>{n(),o.set(V.some(setInterval(a,t)))}}},Ec=()=>{const t=(o=>{const n=bi(V.none()),a=()=>n.get().each(o);return{clear:()=>{a(),n.set(V.none())},isSet:()=>n.get().isSome(),get:()=>n.get(),set:i=>{a(),n.set(V.some(i))}}})($t);return{...t,on:o=>t.get().each(o)}},Ep=(t,o)=>{let n=null;return{cancel:()=>{he(n)||(clearTimeout(n),n=null)},throttle:(...a)=>{he(n)&&(n=setTimeout(()=>{n=null,t.apply(null,a)},o))}}},Iu=(t,o)=>{let n=null;const a=()=>{he(n)||(clearTimeout(n),n=null)};return{cancel:a,throttle:(...i)=>{a(),n=setTimeout(()=>{n=null,t.apply(null,i)},o)}}},tu=Ct("mce-annotation"),dm=Ct("data-mce-annotation"),Tp=Ct("data-mce-annotation-uid"),fg=Ct("data-mce-annotation-active"),zp=Ct("data-mce-annotation-classes"),Ya=Ct("data-mce-annotation-attrs"),ib=t=>o=>sa(o,t),Jy=(t,o)=>{const n=t.selection.getRng(),a=je(n.startContainer),i=je(t.getBody()),c=o.fold(()=>"."+tu(),u=>`[${dm()}="${u}"]`),d=yn(a,n.startOffset).getOr(a);return Yc(d,c,ib(i)).bind(u=>wo(u,`${Tp()}`).bind(f=>wo(u,`${dm()}`).map(y=>{const v=yl(t,f);return{uid:f,name:y,elements:v}})))},Pf=(t,o)=>Zn(t,"data-mce-bogus")||Qc(t,'[data-mce-bogus="all"]',ib(o)),yl=(t,o)=>{const n=je(t.getBody()),a=wa(n,`[${Tp()}="${o}"]`);return gt(a,i=>!Pf(i,n))},Tc=(t,o)=>{const n=je(t.getBody()),a=wa(n,`[${dm()}="${o}"]`),i={};return Se(a,c=>{if(!Pf(c,n)){const d=bt(c,Tp()),u=Fn(i,d).getOr([]);i[d]=u.concat([c])}}),i};let rd=0;const hg=t=>{const o=new Date().getTime(),n=Math.floor(1e9*Math.random());return rd++,t+"_"+n+rd+String(o)},lb=(t,o)=>je(t.dom.cloneNode(o)),Um=t=>lb(t,!1),Hf=t=>lb(t,!0),ou=(t,o,n=uo)=>{const a=new Ns(t,o),i=c=>{let d;do d=a[c]();while(d&&!ao(d)&&!n(d));return V.from(d).filter(ao)};return{current:()=>V.from(a.current()).filter(ao),next:()=>i("next"),prev:()=>i("prev"),prev2:()=>i("prev2")}},um=(t,o)=>{const n=o||(i=>t.isBlock(i)||da(i)||Oa(i)),a=(i,c,d,u)=>{if(ao(i)){const f=u(i,c,i.data);if(f!==-1)return V.some({container:i,offset:f})}return d().bind(f=>a(f.container,f.offset,d,u))};return{backwards:(i,c,d,u)=>{const f=ou(i,u??t.getRoot(),n);return a(i,c,()=>f.prev().map(y=>({container:y,offset:y.length})),d).getOrNull()},forwards:(i,c,d,u)=>{const f=ou(i,u??t.getRoot(),n);return a(i,c,()=>f.next().map(y=>({container:y,offset:0})),d).getOrNull()}}},vs=Math.round,Vl=t=>t?{left:vs(t.left),top:vs(t.top),bottom:vs(t.bottom),right:vs(t.right),width:vs(t.width),height:vs(t.height)}:{left:0,top:0,bottom:0,right:0,width:0,height:0},bg=(t,o)=>(t=Vl(t),o||(t.left=t.left+t.width),t.right=t.left,t.width=0,t),Ap=(t,o,n)=>t>=0&&t<=Math.min(o.height,n.height)/2,si=(t,o)=>{const n=Math.min(o.height/2,t.height/2);return t.bottom-no.bottom)&&Ap(o.top-t.bottom,t,o)},ad=(t,o)=>t.top>o.bottom||!(t.bottom{const a=Math.max(Math.min(o,t.left+t.width),t.left),i=Math.max(Math.min(n,t.top+t.height),t.top);return Math.sqrt((o-a)*(o-a)+(n-i)*(n-i))},cb=t=>{const o=t.startContainer,n=t.startOffset;return o===t.endContainer&&o.hasChildNodes()&&t.endOffset===n+1?o.childNodes[n]:null},Pu=(t,o)=>{if(rn(t)&&t.hasChildNodes()){const n=t.childNodes,a=((i,c,d)=>Math.min(Math.max(i,0),d))(o,0,n.length-1);return n[a]}return t},e_=new RegExp("[̀-ͯ҃-҇҈-҉֑-ֽֿׁ-ׂׄ-ׇׅؐ-ًؚ-ٰٟۖ-ۜ۟-ۤۧ-۪ۨ-ܑۭܰ-݊ަ-ް߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࣣ-ंऺ़ु-ै्॑-ॗॢ-ॣঁ়াু-ৄ্ৗৢ-ৣਁ-ਂ਼ੁ-ੂੇ-ੈੋ-੍ੑੰ-ੱੵઁ-ં઼ુ-ૅે-ૈ્ૢ-ૣଁ଼ାିୁ-ୄ୍ୖୗୢ-ୣஂாீ்ௗఀా-ీె-ైొ-్ౕ-ౖౢ-ౣಁ಼ಿೂೆೌ-್ೕ-ೖೢ-ೣഁാു-ൄ്ൗൢ-ൣ්ාි-ුූෟัิ-ฺ็-๎ັິ-ູົ-ຼ່-ໍ༘-ཱ༹༙༵༷-ཾྀ-྄྆-྇ྍ-ྗྙ-ྼ࿆ိ-ူဲ-့္-်ွ-ှၘ-ၙၞ-ၠၱ-ၴႂႅ-ႆႍႝ፝-፟ᜒ-᜔ᜲ-᜴ᝒ-ᝓᝲ-ᝳ឴-឵ិ-ួំ៉-៓៝᠋-᠍ᢩᤠ-ᤢᤧ-ᤨᤲ᤹-᤻ᨗ-ᨘᨛᩖᩘ-ᩞ᩠ᩢᩥ-ᩬᩳ-᩿᩼᪰-᪽᪾ᬀ-ᬃ᬴ᬶ-ᬺᬼᭂ᭫-᭳ᮀ-ᮁᮢ-ᮥᮨ-ᮩ᮫-ᮭ᯦ᯨ-ᯩᯭᯯ-ᯱᰬ-ᰳᰶ-᰷᳐-᳔᳒-᳢᳠-᳨᳭᳴᳸-᳹᷀-᷵᷼-᷿‌-‍⃐-⃜⃝-⃠⃡⃢-⃤⃥-⃰⳯-⵿⳱ⷠ-〪ⷿ-〭〮-゙〯-゚꙯꙰-꙲ꙴ-꙽ꚞ-ꚟ꛰-꛱ꠂ꠆ꠋꠥ-ꠦ꣄꣠-꣱ꤦ-꤭ꥇ-ꥑꦀ-ꦂ꦳ꦶ-ꦹꦼꧥꨩ-ꨮꨱ-ꨲꨵ-ꨶꩃꩌꩼꪰꪲ-ꪴꪷ-ꪸꪾ-꪿꫁ꫬ-ꫭ꫶ꯥꯨ꯭ﬞ︀-️︠-゙︯-゚]"),Np=t=>Ue(t)&&t.charCodeAt(0)>=768&&e_.test(t),Mp=rn,Qy=Ka,e1=Sl("display","block table"),jf=Sl("float","left right"),Nd=((...t)=>o=>{for(let n=0;no<0&&rn(t)&&t.hasChildNodes()?void 0:Pu(t,o),as=t=>t?t.createRange():wr.DOM.createRng(),db=t=>Ue(t)&&/[\r\n\t ]/.test(t),t1=t=>!!t.setStart&&!!t.setEnd,Ji=t=>{const o=t.startContainer,n=t.startOffset;if(db(t.toString())&&Vf(o.parentNode)&&ao(o)){const a=o.data;if(db(a[n-1])||db(a[n+1]))return!0}return!1},mm=t=>t.left===0&&t.right===0&&t.top===0&&t.bottom===0,ru=t=>{var o;let n;const a=t.getClientRects();return n=a.length>0?Vl(a[0]):Vl(t.getBoundingClientRect()),!t1(t)&&Ol(t)&&mm(n)?(i=>{const c=i.ownerDocument,d=as(c),u=c.createTextNode(ns),f=i.parentNode;f.insertBefore(u,i),d.setStart(u,0),d.setEnd(u,1);const y=Vl(d.getBoundingClientRect());return f.removeChild(u),y})(t):mm(n)&&t1(t)&&(o=(i=>{const c=i.startContainer,d=i.endContainer,u=i.startOffset,f=i.endOffset;if(c===d&&ao(d)&&u===0&&f===1){const y=i.cloneRange();return y.setEndAfter(d),ru(y)}return null})(t))!==null&&o!==void 0?o:n},gm=(t,o)=>{const n=bg(t,o);return n.width=1,n.right=n.left+1,n},Ht=(t,o,n)=>{const a=()=>(n||(n=(i=>{const c=[],d=v=>{var k,E;v.height!==0&&(c.length>0&&(k=v,E=c[c.length-1],k.left===E.left&&k.top===E.top&&k.bottom===E.bottom&&k.right===E.right)||c.push(v))},u=(v,k)=>{const E=as(v.ownerDocument);if(k0&&(E.setStart(v,k-1),E.setEnd(v,k),Ji(E)||d(gm(ru(E),!1))),k{const i=as(t.ownerDocument);return i.setStart(t,o),i.setEnd(t,o),i},getClientRects:a,isVisible:()=>a().length>0,isAtStart:()=>(Hr(t),o===0),isAtEnd:()=>Hr(t)?o>=t.data.length:o>=t.childNodes.length,isEqual:i=>i&&t===i.container()&&o===i.offset(),getNode:i=>Dp(t,i?o-1:o)}};Ht.fromRangeStart=t=>Ht(t.startContainer,t.startOffset),Ht.fromRangeEnd=t=>Ht(t.endContainer,t.endOffset),Ht.after=t=>Ht(t.parentNode,nu(t)+1),Ht.before=t=>Ht(t.parentNode,nu(t)),Ht.isAbove=(t,o)=>Ir(Zo(o.getClientRects()),Gn(t.getClientRects()),si).getOr(!1),Ht.isBelow=(t,o)=>Ir(Gn(o.getClientRects()),Zo(t.getClientRects()),ad).getOr(!1),Ht.isAtStart=t=>!!t&&t.isAtStart(),Ht.isAtEnd=t=>!!t&&t.isAtEnd(),Ht.isTextPosition=t=>!!t&&ao(t.container()),Ht.isElementPosition=t=>!Ht.isTextPosition(t);const Rp=(t,o)=>{ao(o)&&o.data.length===0&&t.remove(o)},ub=(t,o,n)=>{us(n)?((a,i,c)=>{const d=V.from(c.firstChild),u=V.from(c.lastChild);i.insertNode(c),d.each(f=>Rp(a,f.previousSibling)),u.each(f=>Rp(a,f.nextSibling))})(t,o,n):((a,i,c)=>{i.insertNode(c),Rp(a,c.previousSibling),Rp(a,c.nextSibling)})(t,o,n)},Md=ao,o1=El,n1=wr.nodeIndex,yg=t=>{const o=t.parentNode;return o1(o)?yg(o):o},mc=t=>t?$s(t.childNodes,(o,n)=>(o1(n)&&n.nodeName!=="BR"?o=o.concat(mc(n)):o.push(n),o),[]):[],sl=t=>o=>t===o,pm=t=>(Md(t)?"text()":t.nodeName.toLowerCase())+"["+(o=>{let n,a;n=mc(yg(o)),a=Us(n,sl(o),o),n=n.slice(0,a+1);const i=$s(n,(c,d,u)=>(Md(d)&&Md(n[u-1])&&c++,c),0);return n=ja(n,ka([o.nodeName])),a=Us(n,sl(o),o),a-i})(t)+"]",r1=(t,o)=>{let n,a=[],i=o.container(),c=o.offset();if(Md(i))n=((u,f)=>{let y=u;for(;(y=y.previousSibling)&&Md(y);)f+=y.data.length;return f})(i,c);else{const u=i.childNodes;c>=u.length?(n="after",c=u.length-1):n="before",i=u[c]}a.push(pm(i));let d=((u,f,y)=>{const v=[];for(let k=f.parentNode;k&&k!==u;k=k.parentNode)v.push(k);return v})(t,i);return d=ja(d,lt(El)),a=a.concat(Ha(d,u=>pm(u))),a.reverse().join("/")+","+n},a1=(t,o)=>{if(!o)return null;const n=o.split(","),a=n[0].split("/"),i=n.length>1?n[1]:"before",c=$s(a,(d,u)=>{const f=/([\w\-\(\)]+)\[([0-9]+)\]/.exec(u);return f?(f[1]==="text()"&&(f[1]="#text"),((y,v,k)=>{let E=mc(y);return E=ja(E,(B,O)=>!Md(B)||!Md(E[O-1])),E=ja(E,ka([v])),E[k]})(d,f[1],parseInt(f[2],10))):null},t);if(!c)return null;if(!Md(c)&&c.parentNode){let d;return d=i==="after"?n1(c)+1:n1(c),Ht(c.parentNode,d)}return((d,u)=>{let f=d,y=0;for(;Md(f);){const v=f.data.length;if(u>=y&&u<=y+v){d=f,u-=y;break}if(!Md(f.nextSibling)){d=f,u=v;break}y+=v,f=f.nextSibling}return Md(d)&&u>d.data.length&&(u=d.data.length),Ht(d,u)})(c,parseInt(i,10))},$f=Oa,mb=(t,o,n,a,i)=>{const c=i?a.startContainer:a.endContainer;let d=i?a.startOffset:a.endOffset;const u=[],f=t.getRoot();if(ao(c))u.push(n?((y,v,k)=>{let E=y(v.data.slice(0,k)).length;for(let B=v.previousSibling;B&&ao(B);B=B.previousSibling)E+=y(B.data).length;return E})(o,c,d):d);else{let y=0;const v=c.childNodes;d>=v.length&&v.length&&(y=1,d=Math.max(0,v.length-1)),u.push(t.nodeIndex(v[d],n)+y)}for(let y=c;y&&y!==f;y=y.parentNode)u.push(t.nodeIndex(y,n));return u},Uf=(t,o,n)=>{let a=0;return go.each(t.select(o),i=>i.getAttribute("data-mce-bogus")==="all"?void 0:i!==n&&void a++),a},gb=(t,o)=>{let n=o?t.startContainer:t.endContainer,a=o?t.startOffset:t.endOffset;if(rn(n)&&n.nodeName==="TR"){const i=n.childNodes;n=i[Math.min(o?a:a-1,i.length-1)],n&&(a=o?0:n.childNodes.length,o?t.setStart(n,a):t.setEnd(n,a))}},Qi=t=>(gb(t,!0),gb(t,!1),t),Gs=(t,o)=>{if(rn(t)&&(t=Pu(t,o),$f(t)))return t;if(Ws(t)){ao(t)&&Pl(t)&&(t=t.parentNode);let n=t.previousSibling;if($f(n)||(n=t.nextSibling,$f(n)))return n}},vl=(t,o,n)=>{const a=n.getNode(),i=n.getRng();if(a.nodeName==="IMG"||$f(a)){const d=a.nodeName;return{name:d,index:Uf(n.dom,d,a)}}const c=(d=>Gs(d.startContainer,d.startOffset)||Gs(d.endContainer,d.endOffset))(i);if(c){const d=c.tagName;return{name:d,index:Uf(n.dom,d,c)}}return((d,u,f,y)=>{const v=u.dom,k=mb(v,d,f,y,!0),E=u.isForward(),B=J(y)?{isFakeCaret:!0}:{};return u.isCollapsed()?{start:k,forward:E,...B}:{start:k,end:mb(v,d,f,y,!1),forward:E,...B}})(t,n,o,i)},Wa=(t,o,n)=>{const a={"data-mce-type":"bookmark",id:o,style:"overflow:hidden;line-height:0px"};return n?t.create("span",a,""):t.create("span",a)},Nl=(t,o)=>{const n=t.dom;let a=t.getRng();const i=n.uniqueId(),c=t.isCollapsed(),d=t.getNode(),u=d.nodeName,f=t.isForward();if(u==="IMG")return{name:u,index:Uf(n,u,d)};const y=Qi(a.cloneRange());if(!c){y.collapse(!1);const k=Wa(n,i+"_end",o);ub(n,y,k)}a=Qi(a),a.collapse(!0);const v=Wa(n,i+"_start",o);return ub(n,a,v),t.moveToBookmark({id:i,keep:!0,forward:f}),{id:i,forward:f}},yi=Je(vl,R,!0),pb=t=>{const o=c=>c(t),n=Ct(t),a=()=>i,i={tag:!0,inner:t,fold:(c,d)=>d(t),isValue:Bt,isError:uo,map:c=>$l.value(c(t)),mapError:a,bind:o,exists:o,forall:o,getOr:n,or:a,getOrThunk:n,orThunk:a,getOrDie:n,each:c=>{c(t)},toOptional:()=>V.some(t)};return i},Zf=t=>{const o=()=>n,n={tag:!1,inner:t,fold:(a,i)=>a(t),isValue:uo,isError:Bt,map:o,mapError:a=>$l.error(a(t)),bind:o,exists:uo,forall:Bt,getOr:R,or:R,getOrThunk:ht,orThunk:ht,getOrDie:Mt(String(t)),each:$t,toOptional:V.none};return n},$l={value:pb,error:Zf,fromOption:(t,o)=>t.fold(()=>Zf(o),pb)},zc=t=>{if(!co(t))throw new Error("cases must be an array");if(t.length===0)throw new Error("there must be at least one case");const o=[],n={};return Se(t,(a,i)=>{const c=ut(a);if(c.length!==1)throw new Error("one and only one name per case");const d=c[0],u=a[d];if(n[d]!==void 0)throw new Error("duplicate key detected:"+d);if(d==="cata")throw new Error("cannot have a case named cata (sorry)");if(!co(u))throw new Error("case arguments must be an array");o.push(d),n[d]=(...f)=>{const y=f.length;if(y!==u.length)throw new Error("Wrong number of arguments to case "+d+". Expected "+u.length+" ("+u+"), got "+y);return{fold:(...v)=>{if(v.length!==t.length)throw new Error("Wrong number of arguments to fold. Expected "+t.length+", got "+v.length);return v[i].apply(null,f)},match:v=>{const k=ut(v);if(o.length!==k.length)throw new Error("Wrong number of arguments to match. Expected: "+o.join(",")+` +Actual: `+k.join(","));if(!ze(o,E=>lo(k,E)))throw new Error("Not all branches were specified when using match. Specified: "+k.join(", ")+` +Required: `+o.join(", "));return v[d].apply(null,f)},log:v=>{}}}}),n};zc([{bothErrors:["error1","error2"]},{firstError:["error1","value2"]},{secondError:["value1","error2"]},{bothValues:["value1","value2"]}]);const s1=t=>t.type==="inline-command"||t.type==="inline-format",Zm=t=>t.type==="block-command"||t.type==="block-format",fb=t=>{const o=a=>$l.error({message:a,pattern:t}),n=(a,i,c)=>{if(t.format!==void 0){let d;if(co(t.format)){if(!ze(t.format,Ue))return o(a+" pattern has non-string items in the `format` array");d=t.format}else{if(!Ue(t.format))return o(a+" pattern has non-string `format` parameter");d=[t.format]}return $l.value(i(d))}return t.cmd!==void 0?Ue(t.cmd)?$l.value(c(t.cmd,t.value)):o(a+" pattern has non-string `cmd` parameter"):o(a+" pattern is missing both `format` and `cmd` parameters")};if(!it(t))return o("Raw pattern is not an object");if(!Ue(t.start))return o("Raw pattern is missing `start` parameter");if(t.end!==void 0){if(!Ue(t.end))return o("Inline pattern has non-string `end` parameter");if(t.start.length===0&&t.end.length===0)return o("Inline pattern has empty `start` and `end` parameters");let a=t.start,i=t.end;return i.length===0&&(i=a,a=""),n("Inline",c=>({type:"inline-format",start:a,end:i,format:c}),(c,d)=>({type:"inline-command",start:a,end:i,cmd:c,value:d}))}return t.replacement!==void 0?Ue(t.replacement)?t.start.length===0?o("Replacement pattern has empty `start` parameter"):$l.value({type:"inline-command",start:"",end:t.start,cmd:"mceInsertContent",value:t.replacement}):o("Replacement pattern has non-string `replacement` parameter"):t.start.length===0?o("Block pattern has empty `start` parameter"):n("Block",a=>({type:"block-format",start:t.start,format:a[0]}),(a,i)=>({type:"block-command",start:t.start,cmd:a,value:i}))},Bp=t=>gt(t,Zm),wv=t=>gt(t,s1),kv=t=>{const o=(n=>{const a=[],i=[];return Se(n,c=>{c.fold(d=>{a.push(d)},d=>{i.push(d)})}),{errors:a,values:i}})(oo(t,fb));return Se(o.errors,n=>console.error(n.message,n.pattern)),o.values},qf=Aa().deviceType,_v=qf.isTouch(),i1=wr.DOM,Oo=t=>Ao(t,RegExp),sn=t=>o=>o.options.get(t),Ri=t=>Ue(t)||it(t),Wf=(t,o="")=>n=>{const a=Ue(n);if(a){if(n.indexOf("=")!==-1){const i=(c=>{const d=c.indexOf("=")>0?c.split(/[;,](?![^=;,]*(?:[;,]|$))/):c.split(",");return Oe(d,(u,f)=>{const y=f.split("="),v=y[0],k=y.length>1?y[1]:v;return u[wt(v)]=wt(k),u},{})})(n);return{value:Fn(i,t.id).getOr(o),valid:a}}return{value:n,valid:a}}return{valid:!1,message:"Must be a string."}},Fp=sn("iframe_attrs"),l1=sn("doctype"),tc=sn("document_base_url"),t_=sn("body_id"),sd=sn("body_class"),hb=sn("content_security_policy"),Gf=sn("br_in_pre"),Ts=sn("forced_root_block"),gc=sn("forced_root_block_attrs"),Kf=sn("newline_behavior"),Ic=sn("br_newline_selector"),c1=sn("no_newline_selector"),Yf=sn("keep_styles"),d1=sn("end_container_on_empty_block"),bb=sn("automatic_uploads"),Xf=sn("images_reuse_filename"),o_=sn("images_replace_blob_uris"),yb=sn("icons"),Cv=sn("icons_url"),n_=sn("images_upload_url"),Jf=sn("images_upload_base_path"),Sv=sn("images_upload_credentials"),Lp=sn("images_upload_handler"),oc=sn("content_css_cors"),Hu=sn("referrer_policy"),vg=sn("language"),ms=sn("language_url"),u1=sn("indent_use_margin"),Ul=sn("indentation"),Qf=sn("content_css"),Ev=sn("content_style"),xg=sn("font_css"),eh=sn("directionality"),Tv=sn("inline_boundaries_selector"),th=sn("object_resizing"),Ip=sn("resize_img_proportional"),wg=sn("placeholder"),vb=sn("event_root"),xb=sn("service_message"),kg=sn("theme"),au=sn("theme_url"),_g=sn("model"),fm=sn("model_url"),su=sn("inline_boundaries"),r_=sn("formats"),ju=sn("preview_styles"),oh=sn("format_empty_lines"),zv=sn("format_noneditable_selector"),hm=sn("custom_ui_selector"),Cg=sn("inline"),wb=sn("hidden_input"),Av=sn("submit_patch"),m1=sn("add_form_submit_trigger"),kb=sn("add_unload_trigger"),a_=sn("custom_undo_redo_levels"),Sg=sn("disable_nodechange"),nh=sn("readonly"),g1=sn("editable_root"),Ov=sn("content_css_cors"),qm=sn("plugins"),Pp=sn("external_plugins"),p1=sn("block_unsupported_drop"),_b=sn("visual"),Cb=sn("visual_table_class"),rh=sn("visual_anchor_class"),Nv=sn("iframe_aria_text"),iu=sn("setup"),Hp=sn("init_instance_callback"),Mv=sn("urlconverter_callback"),Sb=sn("auto_focus"),f1=sn("browser_spellcheck"),Eg=sn("protect"),Dv=sn("paste_block_drop"),Tg=sn("paste_data_images"),h1=sn("paste_preprocess"),Zl=sn("paste_postprocess"),Rv=sn("newdocument_content"),Bv=sn("paste_webkit_styles"),b1=sn("paste_remove_styles_if_webkit"),s_=sn("paste_merge_formats"),Eb=sn("smart_paste"),y1=sn("paste_as_text"),ah=sn("paste_tab_spaces"),sh=sn("allow_html_data_urls"),Fv=sn("text_patterns"),Tb=sn("text_patterns_lookup"),zb=sn("noneditable_class"),v1=sn("editable_class"),zg=sn("noneditable_regexp"),Ab=sn("preserve_cdata"),ih=sn("highlight_on_focus"),bm=sn("xss_sanitization"),Lv=sn("init_content_sync"),x1=t=>go.explode(t.options.get("images_file_types")),lh=sn("table_tab_navigation"),Ag=sn("details_initial_state"),i_=sn("details_serialized_state"),Ob=sn("force_hex_color"),jp=sn("sandbox_iframes"),Iv=rn,Nb=ao,Mb=t=>{const o=t.parentNode;o&&o.removeChild(t)},w1=t=>{const o=qs(t);return{count:t.length-o.length,text:o}},xl=t=>{let o;for(;(o=t.data.lastIndexOf(Za))!==-1;)t.deleteData(o,1)},ch=(t,o)=>(Dd(t),o),dh=(t,o)=>Ht.isTextPosition(o)?((n,a)=>Nb(n)&&a.container()===n?((i,c)=>{const d=w1(i.data.substr(0,c.offset())),u=w1(i.data.substr(c.offset()));return(d.text+u.text).length>0?(xl(i),Ht(i,c.offset()-d.count)):c})(n,a):ch(n,a))(t,o):((n,a)=>a.container()===n.parentNode?((i,c)=>{const d=c.container(),u=((f,y)=>{const v=Pt(f,y);return v===-1?V.none():V.some(v)})(Pn(d.childNodes),i).map(f=>f{Iv(t)&&Ws(t)&&(ed(t)?t.removeAttribute("data-mce-caret"):Mb(t)),Nb(t)&&(xl(t),t.data.length===0&&Mb(t))},k1=Oa,uh=$i,Og=al,ym=(t,o,n)=>{const a=bg(o.getBoundingClientRect(),n);let i,c;if(t.tagName==="BODY"){const u=t.ownerDocument.documentElement;i=t.scrollLeft||u.scrollLeft,c=t.scrollTop||u.scrollTop}else{const u=t.getBoundingClientRect();i=t.scrollLeft-u.left,c=t.scrollTop-u.top}a.left+=i,a.right+=i,a.top+=c,a.bottom+=c,a.width=1;let d=o.offsetWidth-o.clientWidth;return d>0&&(n&&(d*=-1),a.left+=d,a.right+=d),a},Db=(t,o,n,a)=>{const i=Ec();let c,d;const u=Ts(t),f=t.dom,y=()=>{(v=>{var k,E;const B=wa(je(v),"*[contentEditable=false],video,audio,embed,object");for(let O=0;O{f.remove(v.caret),i.clear()}),c&&(clearInterval(c),c=void 0)};return{show:(v,k)=>{let E;if(y(),Og(k))return null;if(!n(k))return d=((B,O)=>{var P;const M=((P=B.ownerDocument)!==null&&P!==void 0?P:document).createTextNode(Za),j=B.parentNode;if(O){const q=B.previousSibling;if(kd(q)){if(Ws(q))return q;if(z(q))return q.splitText(q.data.length-1)}j?.insertBefore(M,B)}else{const q=B.nextSibling;if(kd(q)){if(Ws(q))return q;if(ai(q))return q.splitText(1),q}B.nextSibling?j?.insertBefore(M,B.nextSibling):j?.appendChild(M)}return M})(k,v),E=k.ownerDocument.createRange(),id(d.nextSibling)?(E.setStart(d,0),E.setEnd(d,0)):(E.setStart(d,1),E.setEnd(d,1)),E;{const B=((M,j,q)=>{var K;const re=((K=j.ownerDocument)!==null&&K!==void 0?K:document).createElement(M);re.setAttribute("data-mce-caret",q?"before":"after"),re.setAttribute("data-mce-bogus","all"),re.appendChild(Xi().dom);const ee=j.parentNode;return q?ee?.insertBefore(re,j):j.nextSibling?ee?.insertBefore(re,j.nextSibling):ee?.appendChild(re),re})(u,k,v),O=ym(o,k,v);f.setStyle(B,"top",O.top),d=B;const P=f.create("div",{class:"mce-visual-caret","data-mce-bogus":"all"});f.setStyles(P,{...O}),f.add(o,P),i.set({caret:P,element:k,before:v}),v&&f.addClass(P,"mce-visual-caret-before"),c=setInterval(()=>{i.on(M=>{a()?f.toggleClass(M.caret,"mce-visual-caret-hidden"):f.addClass(M.caret,"mce-visual-caret-hidden")})},500),E=k.ownerDocument.createRange(),E.setStart(B,0),E.setEnd(B,0)}return E},hide:y,getCss:()=>".mce-visual-caret {position: absolute;background-color: black;background-color: currentcolor;}.mce-visual-caret-hidden {display: none;}*[data-mce-caret] {position: absolute;left: -1000px;right: auto;top: 0;margin: 0;padding: 0;}",reposition:()=>{i.on(v=>{const k=ym(o,v.element,v.before);f.setStyles(v.caret,{...k})})},destroy:()=>clearInterval(c)}},Rb=()=>Rn.browser.isFirefox(),id=t=>k1(t)||uh(t),lu=t=>(id(t)||Ms(t)&&Rb())&&Il(je(t)).exists(nl),mh=zi,Vp=Oa,Pv=$i,Hv=Sl("display","block table table-cell table-caption list-item"),Bb=Ws,_1=Pl,jv=rn,Ng=ao,$p=Ka,vm=t=>t>0,Mg=t=>t<0,Ac=(t,o)=>{let n;for(;n=t(o);)if(!_1(n))return n;return null},cu=(t,o,n,a,i)=>{const c=new Ns(t,a),d=Vp(t)||_1(t);let u;if(Mg(o)){if(d&&(u=Ac(c.prev.bind(c),!0),n(u)))return u;for(;u=Ac(c.prev.bind(c),i);)if(n(u))return u}if(vm(o)){if(d&&(u=Ac(c.next.bind(c),!0),n(u)))return u;for(;u=Ac(c.next.bind(c),i);)if(n(u))return u}return null},Rd=(t,o)=>{for(;t&&t!==o;){if(Hv(t))return t;t=t.parentNode}return null},Lr=(t,o,n)=>Rd(t.container(),n)===Rd(o.container(),n),Bd=(t,o)=>{if(!o)return V.none();const n=o.container(),a=o.offset();return jv(n)?V.from(n.childNodes[a+t]):V.none()},Dg=(t,o)=>{var n;const a=((n=o.ownerDocument)!==null&&n!==void 0?n:document).createRange();return t?(a.setStartBefore(o),a.setEndBefore(o)):(a.setStartAfter(o),a.setEndAfter(o)),a},C1=(t,o,n)=>Rd(o,t)===Rd(n,t),Vv=(t,o,n)=>{const a=t?"previousSibling":"nextSibling";let i=n;for(;i&&i!==o;){let c=i[a];if(c&&Bb(c)&&(c=c[a]),Vp(c)||Pv(c)){if(C1(o,c,i))return c;break}if($p(c))break;i=i.parentNode}return null},Rg=Je(Dg,!0),Up=Je(Dg,!1),Zp=(t,o,n)=>{let a;const i=Je(Vv,!0,o),c=Je(Vv,!1,o),d=n.startContainer,u=n.startOffset;if(Pl(d)){const f=Ng(d)?d.parentNode:d,y=f.getAttribute("data-mce-caret");if(y==="before"&&(a=f.nextSibling,lu(a)))return Rg(a);if(y==="after"&&(a=f.previousSibling,lu(a)))return Up(a)}if(!n.collapsed)return n;if(ao(d)){if(Bb(d)){if(t===1){if(a=c(d),a)return Rg(a);if(a=i(d),a)return Up(a)}if(t===-1){if(a=i(d),a)return Up(a);if(a=c(d),a)return Rg(a)}return n}if(z(d)&&u>=d.data.length-1)return t===1&&(a=c(d),a)?Rg(a):n;if(ai(d)&&u<=1)return t===-1&&(a=i(d),a)?Up(a):n;if(u===d.data.length)return a=c(d),a?Rg(a):n;if(u===0)return a=i(d),a?Up(a):n}return n},Fb=(t,o)=>Bd(t?0:-1,o).filter(Vp),xm=(t,o,n)=>{const a=Zp(t,o,n);return t===-1?Ht.fromRangeStart(a):Ht.fromRangeEnd(a)},qp=t=>V.from(t.getNode()).map(je),Lb=(t,o)=>{let n=o;for(;n=t(n);)if(n.isVisible())return n;return n},Wp=(t,o)=>{const n=Lr(t,o);return!(n||!da(t.getNode()))||n};var Bi;(function(t){t[t.Backwards=-1]="Backwards",t[t.Forwards=1]="Forwards"})(Bi||(Bi={}));const $v=Oa,du=ao,Ib=rn,Pb=da,Gp=Ka,Uv=t=>Hn(t)||(o=>!!Ni(o)&&!Oe(Pn(o.getElementsByTagName("*")),(n,a)=>n||Te(a),!1))(t),Wo=td,qi=(t,o)=>t.hasChildNodes()&&o{if(vm(t)){if(Gp(o.previousSibling)&&!du(o.previousSibling))return Ht.before(o);if(du(o))return Ht(o,0)}if(Mg(t)){if(Gp(o.nextSibling)&&!du(o.nextSibling))return Ht.after(o);if(du(o))return Ht(o,o.data.length)}return Mg(t)?Pb(o)?Ht.before(o):Ht.after(o):Ht.before(o)},Fi=(t,o,n)=>{let a,i,c,d;if(!Ib(n)||!o)return null;if(o.isEqual(Ht.after(n))&&n.lastChild){if(d=Ht.after(n.lastChild),Mg(t)&&Gp(n.lastChild)&&Ib(n.lastChild))return Pb(n.lastChild)?Ht.before(n.lastChild):d}else d=o;const u=d.container();let f=d.offset();if(du(u)){if(Mg(t)&&f>0)return Ht(u,--f);if(vm(t)&&f0&&(i=qi(u,f-1),Gp(i)))return!Uv(i)&&(c=cu(i,t,Wo,i),c)?du(c)?Ht(c,c.data.length):Ht.after(c):du(i)?Ht(i,i.data.length):Ht.before(i);if(vm(t)&&f{const E=k.nextSibling;return E&&Gp(E)?du(E)?Ht(E,0):Ht.before(E):Fi(Bi.Forwards,Ht.after(k),v)})(n,i):!Uv(i)&&(c=cu(i,t,Wo,i),c)?du(c)?Ht(c,0):Ht.before(c):du(i)?Ht(i,0):Ht.after(i);a=i||d.getNode()}if(a&&(vm(t)&&d.isAtEnd()||Mg(t)&&d.isAtStart())&&(a=cu(a,t,Bt,n,!0),Wo(a,n)))return Hb(t,a);i=a&&cu(a,t,Wo,n);const y=_a(gt(((v,k)=>{const E=[];let B=v;for(;B&&B!==k;)E.push(B),B=B.parentNode;return E})(u,n),$v));return!y||i&&y.contains(i)?i?Hb(t,i):null:(d=vm(t)?Ht.after(y):Ht.before(y),d)},nc=t=>({next:o=>Fi(Bi.Forwards,o,t),prev:o=>Fi(Bi.Backwards,o,t)}),Bg=t=>Ht.isTextPosition(t)?t.offset()===0:Ka(t.getNode()),S1=t=>{if(Ht.isTextPosition(t)){const o=t.container();return t.offset()===o.data.length}return Ka(t.getNode(!0))},gh=(t,o)=>!Ht.isTextPosition(t)&&!Ht.isTextPosition(o)&&t.getNode()===o.getNode(!0),p=(t,o,n)=>{const a=nc(o);return V.from(t?a.next(n):a.prev(n))},b=(t,o,n)=>p(t,o,n).bind(a=>Lr(n,a,o)&&((i,c,d)=>{return i?!gh(c,d)&&(u=c,!(!Ht.isTextPosition(u)&&da(u.getNode())))&&S1(c)&&Bg(d):!gh(d,c)&&Bg(c)&&S1(d);var u})(t,n,a)?p(t,o,a):V.some(a)),_=(t,o,n,a)=>b(t,o,n).bind(i=>a(i)?_(t,o,i,a):V.some(i)),T=(t,o)=>{const n=t?o.firstChild:o.lastChild;return ao(n)?V.some(Ht(n,t?0:n.data.length)):n?Ka(n)?V.some(t?Ht.before(n):da(a=n)?Ht.before(a):Ht.after(a)):((i,c,d)=>{const u=i?Ht.before(d):Ht.after(d);return p(i,c,u)})(t,o,n):V.none();var a},L=Je(p,!0),I=Je(p,!1),Z=Je(T,!0),Y=Je(T,!1),ae="_mce_caret",be=t=>rn(t)&&t.id===ae,Le=(t,o)=>{let n=o;for(;n&&n!==t;){if(be(n))return n;n=n.parentNode}return null},_e=t=>ln(t,"name"),Re=t=>go.isArray(t.start),Xe=t=>!(!_e(t)&&Dt(t.forward))||t.forward,Et=(t,o)=>(rn(o)&&t.isBlock(o)&&!o.innerHTML&&(o.innerHTML='
'),o),vt=(t,o)=>Y(t).fold(uo,n=>(o.setStart(n.container(),n.offset()),o.setEnd(n.container(),n.offset()),!0)),qt=(t,o,n)=>!(!(a=>!a.hasChildNodes())(o)||!Le(t,o)||(((a,i)=>{var c;const d=((c=a.ownerDocument)!==null&&c!==void 0?c:document).createTextNode(Za);a.appendChild(d),i.setStart(d,0),i.setEnd(d,0)})(o,n),0)),eo=(t,o,n,a)=>{const i=n[o?"start":"end"],c=t.getRoot();if(i){let d=c,u=i[0];for(let f=i.length-1;d&&f>=1;f--){const y=d.childNodes;if(qt(c,d,a))return!0;if(i[f]>y.length-1)return!!qt(c,d,a)||vt(d,a);d=y[i[f]]}ao(d)&&(u=Math.min(i[0],d.data.length)),rn(d)&&(u=Math.min(i[0],d.childNodes.length)),o?a.setStart(d,u):a.setEnd(d,u)}return!0},bo=t=>ao(t)&&t.data.length>0,so=(t,o,n)=>{const a=t.get(n.id+"_"+o),i=a?.parentNode,c=n.keep;if(a&&i){let d,u;if(o==="start"?c?a.hasChildNodes()?(d=a.firstChild,u=1):bo(a.nextSibling)?(d=a.nextSibling,u=0):bo(a.previousSibling)?(d=a.previousSibling,u=a.previousSibling.data.length):(d=i,u=t.nodeIndex(a)+1):(d=i,u=t.nodeIndex(a)):c?a.hasChildNodes()?(d=a.firstChild,u=1):bo(a.previousSibling)?(d=a.previousSibling,u=a.previousSibling.data.length):(d=i,u=t.nodeIndex(a)):(d=i,u=t.nodeIndex(a)),!c){const f=a.previousSibling,y=a.nextSibling;let v;for(go.each(go.grep(a.childNodes),k=>{ao(k)&&(k.data=k.data.replace(/\uFEFF/g,""))});v=t.get(n.id+"_"+o);)t.remove(v,!0);if(ao(y)&&ao(f)&&!Rn.browser.isOpera()){const k=f.data.length;f.appendData(y.data),t.remove(y),d=f,u=k}}return V.some(Ht(d,u))}return V.none()},Eo=(t,o,n)=>((a,i,c=!1)=>i===2?vl(qs,c,a):i===3?(d=>{const u=d.getRng();return{start:r1(d.dom.getRoot(),Ht.fromRangeStart(u)),end:r1(d.dom.getRoot(),Ht.fromRangeEnd(u)),forward:d.isForward()}})(a):i?(d=>({rng:d.getRng(),forward:d.isForward()}))(a):Nl(a,!1))(t,o,n),Do=(t,o)=>{((n,a)=>{const i=n.dom;if(a){if(Re(a))return((c,d)=>{const u=c.createRng();return eo(c,!0,d,u)&&eo(c,!1,d,u)?V.some({range:u,forward:Xe(d)}):V.none()})(i,a);if((c=>Ue(c.start))(a))return((c,d)=>{const u=V.from(a1(c.getRoot(),d.start)),f=V.from(a1(c.getRoot(),d.end));return Ir(u,f,(y,v)=>{const k=c.createRng();return k.setStart(y.container(),y.offset()),k.setEnd(v.container(),v.offset()),{range:k,forward:Xe(d)}})})(i,a);if((c=>ln(c,"id"))(a))return((c,d)=>{const u=so(c,"start",d),f=so(c,"end",d);return Ir(u,f.or(u),(y,v)=>{const k=c.createRng();return k.setStart(Et(c,y.container()),y.offset()),k.setEnd(Et(c,v.container()),v.offset()),{range:k,forward:Xe(d)}})})(i,a);if(_e(a))return((c,d)=>V.from(c.select(d.name)[d.index]).map(u=>{const f=c.createRng();return f.selectNode(u),{range:f,forward:!0}}))(i,a);if((c=>ln(c,"rng"))(a))return V.some({range:a.rng,forward:Xe(a)})}return V.none()})(t,o).each(({range:n,forward:a})=>{t.setRng(n,a)})},No=t=>rn(t)&&t.tagName==="SPAN"&&t.getAttribute("data-mce-type")==="bookmark",Ln=(qn=ns,t=>qn===t);var qn;const Qr=t=>t!==""&&` \f +\r \v`.indexOf(t)!==-1,or=t=>!Qr(t)&&!Ln(t)&&!gl(t),Mr=t=>{const o=[];if(t)for(let n=0;n{const n=wa(o,"td[data-mce-selected],th[data-mce-selected]");return n.length>0?n:(a=>gt((i=>at(i,c=>{const d=cb(c);return d?[je(d)]:[]}))(a),Sn))(t)},ca=t=>Er(Mr(t.selection.getSel()),je(t.getBody())),zs=(t,o)=>Ua(t,"table",o),il=t=>ur(t).fold(Ct([t]),o=>[t].concat(il(o))),ii=t=>Ra(t).fold(Ct([t]),o=>Pe(o)==="br"?Ki(o).map(n=>[t].concat(ii(n))).getOr([]):[t].concat(ii(o))),ql=(t,o)=>Ir((n=>{const a=n.startContainer,i=n.startOffset;return ao(a)?i===0?V.some(je(a)):V.none():V.from(a.childNodes[i]).map(je)})(o),(n=>{const a=n.endContainer,i=n.endOffset;return ao(a)?i===a.data.length?V.some(je(a)):V.none():V.from(a.childNodes[i-1]).map(je)})(o),(n,a)=>{const i=Fe(il(t),Je(sa,n)),c=Fe(ii(t),Je(sa,a));return i.isSome()&&c.isSome()}).getOr(!1),ua=(t,o,n,a)=>{const i=n,c=new Ns(n,i),d=Rr(t.schema.getMoveCaretBeforeOnEnterElements(),(f,y)=>!lo(["td","th","table"],y.toLowerCase()));let u=n;do{if(ao(u)&&go.trim(u.data).length!==0)return void(a?o.setStart(u,0):o.setEnd(u,u.data.length));if(d[u.nodeName])return void(a?o.setStartBefore(u):u.nodeName==="BR"?o.setEndBefore(u):o.setEndAfter(u))}while(u=a?c.next():c.prev());i.nodeName==="BODY"&&(a?o.setStart(i,0):o.setEnd(i,i.childNodes.length))},li=t=>{const o=t.selection.getSel();return Ze(o)&&o.rangeCount>0},Vu=(t,o)=>{const n=ca(t);n.length>0?Se(n,a=>{const i=a.dom,c=t.dom.createRng();c.setStartBefore(i),c.setEndAfter(i),o(c,!0)}):o(t.selection.getRng(),!1)},Kp=(t,o,n)=>{const a=Nl(t,o);n(a),t.moveToBookmark(a)},wm=t=>rt(t?.nodeType),Fg=t=>rn(t)&&!No(t)&&!be(t)&&!El(t),Yp=(t,o,n)=>{const{selection:a,dom:i}=t,c=a.getNode(),d=Oa(c);Kp(a,!0,()=>{o()}),d&&Oa(c)&&i.isChildOf(c,t.getBody())?t.selection.select(c):n(a.getStart())&&Xp(i,a)},Xp=(t,o)=>{var n,a;const i=o.getRng(),{startContainer:c,startOffset:d}=i;if(!((u,f)=>{if(Fg(f)&&!/^(TD|TH)$/.test(f.nodeName)){const y=u.getAttrib(f,"data-mce-selected"),v=parseInt(y,10);return!isNaN(v)&&v>0}return!1})(t,o.getNode())&&rn(c)){const u=c.childNodes,f=t.getRoot();let y;if(d{if(t){const a=o?"nextSibling":"previousSibling";for(t=n?t:t[a];t;t=t[a])if(rn(t)||!qv(t))return t}},Zv=(t,o)=>!!t.getTextBlockElements()[o.nodeName.toLowerCase()]||Ed(t,o),Jp=(t,o,n)=>t.schema.isValidChild(o,n),qv=(t,o=!1)=>{if(Ze(t)&&ao(t)){const n=o?t.data.replace(/ /g," "):t.data;return ss(n)}return!1},O3=(t,o)=>{const n=t.dom;return Fg(o)&&n.getContentEditable(o)==="false"&&((a,i)=>{const c="[data-mce-cef-wrappable]",d=zv(a),u=sr(d)?c:`${c},${d}`;return Ci(je(i),u)})(t,o)&&n.select('[contenteditable="true"]',o).length===0},Qp=(t,o)=>de(t)?t(o):(Ze(o)&&(t=t.replace(/%(\w+)/g,(n,a)=>o[a]||n)),t),Pc=(t,o)=>(o=o||"",t=""+((t=t||"").nodeName||t),o=""+(o.nodeName||o),t.toLowerCase()===o.toLowerCase()),Wl=(t,o)=>{if(me(t))return null;{let n=String(t);return o!=="color"&&o!=="backgroundColor"||(n=qo(n)),o==="fontWeight"&&t===700&&(n="bold"),o==="fontFamily"&&(n=n.replace(/[\'\"]/g,"").replace(/,\s+/g,",")),n}},Lg=(t,o,n)=>{const a=t.getStyle(o,n);return Wl(a,n)},N3=(t,o)=>{let n;return t.getParent(o,a=>!!rn(a)&&(n=t.getStyle(a,"text-decoration"),!!n&&n!=="none")),n},Wv=(t,o,n)=>t.getParents(o,n,t.getRoot()),Gr=(t,o,n)=>{const a=t.formatter.get(o);return Ze(a)&&To(a,n)},Wm=t=>xr(t,"block"),Fd=t=>xr(t,"selector"),el=t=>xr(t,"inline"),l_=t=>Fd(t)&&t.expand!==!1&&!el(t),M3=t=>(o=>{const n=[];let a=o;for(;a;){if(ao(a)&&a.data!==Za||a.childNodes.length>1)return[];rn(a)&&n.push(a),a=a.firstChild}return n})(t).length>0,c_=t=>be(t.dom)&&M3(t.dom),jb=No,Gv=Wv,Kv=qv,D3=Zv,R3=(t,o)=>{let n=o;for(;n;){if(rn(n)&&t.getContentEditable(n))return t.getContentEditable(n)==="false"?n:o;n=n.parentNode}return o},B3=(t,o,n,a)=>{const i=o.data;if(t){for(let c=n;c>0;c--)if(a(i.charAt(c-1)))return c}else for(let c=n;cB3(t,o,n,a=>Ln(a)||Qr(a)),Qn=(t,o,n)=>B3(t,o,n,or),d_=(t,o,n,a,i,c)=>{let d;const u=t.getParent(n,t.isBlock)||o,f=(y,v,k)=>{const E=um(t),B=i?E.backwards:E.forwards;return V.from(B(y,v,(O,P)=>jb(O.parentNode)?-1:(d=O,k(i,O,P)),u))};return f(n,a,_A).bind(y=>c?f(y.container,y.offset+(i?-1:0),Qn):V.some(y)).orThunk(()=>d?V.some({container:d,offset:i?0:d.length}):V.none())},Vb=(t,o,n,a,i)=>{const c=a[i];ao(a)&&sr(a.data)&&c&&(a=c);const d=Gv(t,a);for(let u=0;u{var i;let c=n;const d=t.getRoot(),u=o[0];if(Wm(u)&&(c=u.wrapper?null:t.getParent(n,u.block,d)),!c){const f=(i=t.getParent(n,"LI,TD,TH,SUMMARY"))!==null&&i!==void 0?i:d;c=t.getParent(ao(n)?n.parentNode:n,y=>y!==d&&D3(t.schema,y),f)}if(c&&Wm(u)&&u.wrapper&&(c=Gv(t,c,"ul,ol").reverse()[0]||c),!c)for(c=n;c&&c[a]&&!t.isBlock(c[a])&&(c=c[a],!Pc(c,"br")););return c||n},u_=(t,o,n,a)=>{const i=n.parentNode;return!Ze(n[a])&&(!(i!==o&&!me(i)&&!t.isBlock(i))||u_(t,o,i,a))},E1=(t,o,n,a,i)=>{let c=n;const d=i?"previousSibling":"nextSibling",u=t.getRoot();if(ao(n)&&!Kv(n)&&(i?a>0:ajb(t.parentNode)||jb(t),ef=(t,o,n,a=!1)=>{let{startContainer:i,startOffset:c,endContainer:d,endOffset:u}=o;const f=n[0];return rn(i)&&i.hasChildNodes()&&(i=Pu(i,c),ao(i)&&(c=0)),rn(d)&&d.hasChildNodes()&&(d=Pu(d,o.collapsed?u:u-1),ao(d)&&(u=d.data.length)),i=R3(t,i),d=R3(t,d),m_(i)&&(i=jb(i)?i:i.parentNode,i=o.collapsed?i.previousSibling||i:i.nextSibling||i,ao(i)&&(c=o.collapsed?i.length:0)),m_(d)&&(d=jb(d)?d:d.parentNode,d=o.collapsed?d.nextSibling||d:d.previousSibling||d,ao(d)&&(u=o.collapsed?0:d.length)),o.collapsed&&(d_(t,t.getRoot(),i,c,!0,a).each(({container:y,offset:v})=>{i=y,c=v}),d_(t,t.getRoot(),d,u,!1,a).each(({container:y,offset:v})=>{d=y,u=v})),(el(f)||f.block_expand)&&(el(f)&&ao(i)&&c!==0||(i=E1(t,n,i,c,!0)),el(f)&&ao(d)&&u!==d.data.length||(d=E1(t,n,d,u,!1))),l_(f)&&(i=Vb(t,n,o,i,"previousSibling"),d=Vb(t,n,o,d,"nextSibling")),(Wm(f)||Fd(f))&&(i=Yv(t,n,i,"previousSibling"),d=Yv(t,n,d,"nextSibling"),Wm(f)&&(t.isBlock(i)||(i=E1(t,n,i,c,!0)),t.isBlock(d)||(d=E1(t,n,d,u,!1)))),rn(i)&&i.parentNode&&(c=t.nodeIndex(i),i=i.parentNode),rn(d)&&d.parentNode&&(u=t.nodeIndex(d)+1,d=d.parentNode),{startContainer:i,startOffset:c,endContainer:d,endOffset:u}},T1=(t,o,n)=>{var a;const i=o.startOffset,c=Pu(o.startContainer,i),d=o.endOffset,u=Pu(o.endContainer,d-1),f=M=>{const j=M[0];ao(j)&&j===c&&i>=j.data.length&&M.splice(0,1);const q=M[M.length-1];return d===0&&M.length>0&&q===u&&ao(q)&&M.splice(M.length-1,1),M},y=(M,j,q)=>{const K=[];for(;M&&M!==q;M=M[j])K.push(M);return K},v=(M,j)=>t.getParent(M,q=>q.parentNode===j,j),k=(M,j,q)=>{const K=q?"nextSibling":"previousSibling";for(let re=M,ee=re.parentNode;re&&re!==j;re=ee){ee=re.parentNode;const ke=y(re===M?re:re[K],K);ke.length&&(q||ke.reverse(),n(f(ke)))}};if(c===u)return n(f([c]));const E=(a=t.findCommonAncestor(c,u))!==null&&a!==void 0?a:t.getRoot();if(t.isChildOf(c,u))return k(c,E,!0);if(t.isChildOf(u,c))return k(u,E);const B=v(c,E)||c,O=v(u,E)||u;k(c,B,!0);const P=y(B===c?B:B.nextSibling,"nextSibling",O===u?O.nextSibling:O);P.length&&n(f(P)),k(u,O)},CA=['pre[class*=language-][contenteditable="false"]',"figure.image","div[data-ephox-embed-iri]","div.tiny-pageembed","div.mce-toc","div[data-mce-toc]"],ba=(t,o,n,a,i,c)=>{const{uid:d=o,...u}=n;ks(t,tu()),Q(t,`${Tp()}`,d),Q(t,`${dm()}`,a);const{attributes:f={},classes:y=[]}=i(d,u);if(Ee(t,f),((v,k)=>{Se(k,E=>{ks(v,E)})})(t,y),c){y.length>0&&Q(t,`${zp()}`,y.join(","));const v=ut(f);v.length>0&&Q(t,`${Ya()}`,v.join(","))}},F3=(t,o,n,a,i)=>{const c=_s("span",t);return ba(c,o,n,a,i,!1),c},Ig=(t,o,n,a,i,c)=>{const d=[],u=F3(t.getDoc(),n,c,a,i),f=Ec(),y=()=>{f.clear()},v=E=>{Se(E,k)},k=E=>{switch(((B,O,P,M)=>Gi(O).fold(()=>"skipping",j=>M==="br"||(q=>_r(q)&&Ai(q)===Za)(O)?"valid":(q=>kn(q)&&Vi(q,tu()))(O)?"existing":be(O.dom)?"caret":To(CA,q=>Ci(O,q))?"valid-block":Jp(B,P,M)&&Jp(B,Pe(j),P)?"valid":"invalid-child"))(t,E,"span",Pe(E))){case"invalid-child":{y();const B=Lt(E);v(B),y();break}case"valid-block":y(),ba(E,n,c,a,i,!0);break;case"valid":{const B=f.get().getOrThunk(()=>{const O=Um(u);return d.push(O),f.set(O),O});Dc(E,B);break}}};return T1(t.dom,o,E=>{y(),(B=>{const O=oo(B,je);v(O)})(E)}),d},km=t=>{const o=(()=>{const c={};return{register:(d,u)=>{c[d]={name:d,settings:u}},lookup:d=>Fn(c,d).map(u=>u.settings),getNames:()=>ut(c)}})();((c,d)=>{const u=dm(),f=v=>V.from(v.attr(u)).bind(d.lookup),y=v=>{var k,E;v.attr(Tp(),null),v.attr(dm(),null),v.attr(fg(),null);const B=V.from(v.attr(Ya())).map(j=>j.split(",")).getOr([]),O=V.from(v.attr(zp())).map(j=>j.split(",")).getOr([]);Se(B,j=>v.attr(j,null));const P=(E=(k=v.attr("class"))===null||k===void 0?void 0:k.split(" "))!==null&&E!==void 0?E:[],M=Gt(P,[tu()].concat(O));v.attr("class",M.length>0?M.join(" "):null),v.attr(zp(),null),v.attr(Ya(),null)};c.serializer.addTempAttr(fg()),c.serializer.addAttributeFilter(u,v=>{for(const k of v)f(k).each(E=>{E.persistent===!1&&(k.name==="span"?k.unwrap():y(k))})})})(t,o);const n=((c,d)=>{const u=bi({}),f=()=>({listeners:[],previous:Ec()}),y=(B,O)=>{v(B,P=>(O(P),P))},v=(B,O)=>{const P=u.get(),M=O(Fn(P,B).getOrThunk(f));P[B]=M,u.set(P)},k=(B,O)=>{Se(yl(c,B),P=>{O?Q(P,fg(),"true"):U(P,fg())})},E=Iu(()=>{const B=Xo(d.getNames());Se(B,O=>{v(O,P=>{const M=P.previous.get();return Jy(c,V.some(O)).fold(()=>{M.each(j=>{(q=>{y(q,K=>{Se(K.listeners,re=>re(!1,q))})})(O),P.previous.clear(),k(j,!1)})},({uid:j,name:q,elements:K})=>{aa(M,j)||(M.each(re=>k(re,!1)),((re,ee,ke)=>{y(re,et=>{Se(et.listeners,st=>st(!0,re,{uid:ee,nodes:oo(ke,mt=>mt.dom)}))})})(q,j,K),P.previous.set(j),k(j,!0))}),{previous:P.previous,listeners:P.listeners}})})},30);return c.on("remove",()=>{E.cancel()}),c.on("NodeChange",()=>{E.throttle()}),{addListener:(B,O)=>{v(B,P=>({previous:P.previous,listeners:P.listeners.concat([O])}))}}})(t,o),a=ma("span"),i=c=>{Se(c,d=>{a(d)?_l(d):(u=>{Js(u,tu()),U(u,`${Tp()}`),U(u,`${dm()}`),U(u,`${fg()}`);const f=wo(u,`${Ya()}`).map(k=>k.split(",")).getOr([]),y=wo(u,`${zp()}`).map(k=>k.split(",")).getOr([]);var v;Se(f,k=>U(u,k)),v=u,Se(y,k=>{Js(v,k)}),U(u,`${zp()}`),U(u,`${Ya()}`)})(d)})};return{register:(c,d)=>{o.register(c,d)},annotate:(c,d)=>{o.lookup(c).each(u=>{((f,y,v,k)=>{f.undoManager.transact(()=>{const E=f.selection,B=E.getRng(),O=ca(f).length>0,P=hg("mce-annotation");if(B.collapsed&&!O&&((M,j)=>{const q=ef(M.dom,j,[{inline:"span"}]);j.setStart(q.startContainer,q.startOffset),j.setEnd(q.endContainer,q.endOffset),M.selection.setRng(j)})(f,B),E.getRng().collapsed&&!O){const M=F3(f.getDoc(),P,k,y,v.decorate);wc(M,ns),E.getRng().insertNode(M.dom),E.select(M.dom)}else Kp(E,!1,()=>{Vu(f,M=>{Ig(f,M,P,y,v.decorate,k)})})})})(t,c,u,d)})},annotationChanged:(c,d)=>{n.addListener(c,d)},remove:c=>{Jy(t,V.some(c)).each(({elements:d})=>{const u=t.selection.getBookmark();i(d),t.selection.moveToBookmark(u)})},removeAll:c=>{const d=t.selection.getBookmark();Ft(Tc(t,c),(u,f)=>{i(u)}),t.selection.moveToBookmark(d)},getAll:c=>{const d=Tc(t,c);return vo(d,u=>oo(u,f=>f.dom))}}},tf=t=>({getBookmark:Je(Eo,t),moveToBookmark:Je(Do,t)});tf.isBookmarkNode=No;const Hc=(t,o,n)=>!n.collapsed&&To(n.getClientRects(),a=>((i,c,d)=>c>=i.left&&c<=i.right&&d>=i.top&&d<=i.bottom)(a,t,o)),z1=(t,o,n)=>{t.dispatch(o,n)},$b=(t,o,n,a)=>{t.dispatch("FormatApply",{format:o,node:n,vars:a})},A1=(t,o,n,a)=>{t.dispatch("FormatRemove",{format:o,node:n,vars:a})},ph=(t,o)=>t.dispatch("SetContent",o),L3=(t,o)=>t.dispatch("GetContent",o),I3=(t,o)=>t.dispatch("PastePlainTextToggle",{state:o}),mn={BACKSPACE:8,DELETE:46,DOWN:40,ENTER:13,ESC:27,LEFT:37,RIGHT:39,SPACEBAR:32,TAB:9,UP:38,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,modifierPressed:t=>t.shiftKey||t.ctrlKey||t.altKey||mn.metaKeyPressed(t),metaKeyPressed:t=>Rn.os.isMacOS()||Rn.os.isiOS()?t.metaKey:t.ctrlKey&&!t.altKey},fh="data-mce-selected",ea=Math.abs,Ld=Math.round,Pg={nw:[0,0,-1,-1],ne:[1,0,1,-1],se:[1,1,1,1],sw:[0,1,-1,1]},P3=(t,o)=>{const n=o.dom,a=o.getDoc(),i=document,c=o.getBody();let d,u,f,y,v,k,E,B,O,P,M,j,q,K,re;const ee=cn=>Ze(cn)&&(ml(cn)||n.is(cn,"figure.image")),ke=cn=>$i(cn)||n.hasClass(cn,"mce-preview-object"),et=cn=>{const vn=cn.target;((cr,Qe)=>{if((nt=>nt.type==="longpress"||nt.type.indexOf("touch")===0)(cr)){const nt=cr.touches[0];return ee(cr.target)&&!Hc(nt.clientX,nt.clientY,Qe)}return ee(cr.target)&&!Hc(cr.clientX,cr.clientY,Qe)})(cn,o.selection.getRng())&&!cn.isDefaultPrevented()&&o.selection.select(vn)},st=cn=>n.hasClass(cn,"mce-preview-object")&&Ze(cn.firstElementChild)?[cn,cn.firstElementChild]:n.is(cn,"figure.image")?[cn.querySelector("img")]:[cn],mt=cn=>{const vn=th(o);return!!vn&&cn.getAttribute("data-mce-resize")!=="false"&&cn!==o.getBody()&&(n.hasClass(cn,"mce-preview-object")&&Ze(cn.firstElementChild)?Ci(je(cn.firstElementChild),vn):Ci(je(cn),vn))},kt=(cn,vn,cr)=>{if(Ze(cr)){const Qe=st(cn);Se(Qe,nt=>{nt.style[vn]||!o.schema.isValid(nt.nodeName.toLowerCase(),vn)?n.setStyle(nt,vn,cr):n.setAttrib(nt,vn,""+cr)})}},Ve=(cn,vn,cr)=>{kt(cn,"width",vn),kt(cn,"height",cr)},ot=cn=>{let vn,cr,Qe,nt,io;vn=cn.screenX-k,cr=cn.screenY-E,j=vn*y[2]+B,q=cr*y[3]+O,j=j<5?5:j,q=q<5?5:q,Qe=(ee(d)||ke(d))&&Ip(o)!==!1?!mn.modifierPressed(cn):mn.modifierPressed(cn),Qe&&(ea(vn)>ea(cr)?(q=Ld(j*P),j=Ld(q/P)):(j=Ld(q/P),q=Ld(j*P))),Ve(u,j,q),nt=y.startPos.x+vn,io=y.startPos.y+cr,nt=nt>0?nt:0,io=io>0?io:0,n.setStyles(f,{left:nt,top:io,display:"block"}),f.innerHTML=j+" × "+q,y[2]<0&&u.clientWidth<=j&&n.setStyle(u,"left",void 0+(B-j)),y[3]<0&&u.clientHeight<=q&&n.setStyle(u,"top",void 0+(O-q)),vn=c.scrollWidth-K,cr=c.scrollHeight-re,vn+cr!==0&&n.setStyles(f,{left:nt-vn,top:io-cr}),M||(((mo,yo,xn,Wn,hr)=>{mo.dispatch("ObjectResizeStart",{target:yo,width:xn,height:Wn,origin:hr})})(o,d,B,O,"corner-"+y.name),M=!0)},pt=()=>{const cn=M;M=!1,cn&&(kt(d,"width",j),kt(d,"height",q)),n.unbind(a,"mousemove",ot),n.unbind(a,"mouseup",pt),i!==a&&(n.unbind(i,"mousemove",ot),n.unbind(i,"mouseup",pt)),n.remove(u),n.remove(f),n.remove(v),Jt(d),cn&&(((vn,cr,Qe,nt,io)=>{vn.dispatch("ObjectResized",{target:cr,width:Qe,height:nt,origin:io})})(o,d,j,q,"corner-"+y.name),n.setAttrib(d,"style",n.getAttrib(d,"style"))),o.nodeChanged()},Jt=cn=>{Jn();const vn=n.getPos(cn,c),cr=vn.x,Qe=vn.y,nt=cn.getBoundingClientRect(),io=nt.width||nt.right-nt.left,mo=nt.height||nt.bottom-nt.top;d!==cn&&(Fo(),d=cn,j=q=0);const yo=o.dispatch("ObjectSelected",{target:cn});mt(cn)&&!yo.isDefaultPrevented()?Ft(Pg,(xn,Wn)=>{let hr=n.get("mceResizeHandle"+Wn);hr&&n.remove(hr),hr=n.add(c,"div",{id:"mceResizeHandle"+Wn,"data-mce-bogus":"all",class:"mce-resizehandle",unselectable:!0,style:"cursor:"+Wn+"-resize; margin:0; padding:0"}),n.bind(hr,"mousedown",tr=>{tr.stopImmediatePropagation(),tr.preventDefault(),(Qa=>{const En=st(d)[0];var Ur;k=Qa.screenX,E=Qa.screenY,B=En.clientWidth,O=En.clientHeight,P=O/B,y=xn,y.name=Wn,y.startPos={x:io*xn[0]+cr,y:mo*xn[1]+Qe},K=c.scrollWidth,re=c.scrollHeight,v=n.add(c,"div",{class:"mce-resize-backdrop","data-mce-bogus":"all"}),n.setStyles(v,{position:"fixed",left:"0",top:"0",width:"100%",height:"100%"}),u=ke(Ur=d)?n.create("img",{src:Rn.transparentSrc}):Ur.cloneNode(!0),n.addClass(u,"mce-clonedresizable"),n.setAttrib(u,"data-mce-bogus","all"),u.contentEditable="false",n.setStyles(u,{left:cr,top:Qe,margin:0}),Ve(u,io,mo),u.removeAttribute(fh),c.appendChild(u),n.bind(a,"mousemove",ot),n.bind(a,"mouseup",pt),i!==a&&(n.bind(i,"mousemove",ot),n.bind(i,"mouseup",pt)),f=n.add(c,"div",{class:"mce-resize-helper","data-mce-bogus":"all"},B+" × "+O)})(tr)}),xn.elm=hr,n.setStyles(hr,{left:io*xn[0]+cr-hr.offsetWidth/2,top:mo*xn[1]+Qe-hr.offsetHeight/2})}):Fo(!1)},Qo=Ep(Jt,0),Fo=(cn=!0)=>{Qo.cancel(),Jn(),d&&cn&&d.removeAttribute(fh),Ft(Pg,(vn,cr)=>{const Qe=n.get("mceResizeHandle"+cr);Qe&&(n.unbind(Qe),n.remove(Qe))})},Nn=(cn,vn)=>n.isChildOf(cn,vn),An=cn=>{if(M||o.removed||o.composing)return;const vn=cn.type==="mousedown"?cn.target:t.getNode(),cr=Yc(je(vn),"table,img,figure.image,hr,video,span.mce-preview-object,details").map(nt=>nt.dom).filter(nt=>n.isEditable(nt.parentElement)||nt.nodeName==="IMG"&&n.isEditable(nt)).getOrUndefined(),Qe=Ze(cr)?n.getAttrib(cr,fh,"1"):"1";if(Se(n.select(`img[${fh}],hr[${fh}]`),nt=>{nt.removeAttribute(fh)}),Ze(cr)&&Nn(cr,c)&&o.hasFocus()){jn();const nt=t.getStart(!0);if(Nn(nt,cr)&&Nn(t.getEnd(!0),cr))return n.setAttrib(cr,fh,Qe),void Qo.throttle(cr)}Fo()},Jn=()=>{Ft(Pg,cn=>{cn.elm&&(n.unbind(cn.elm),delete cn.elm)})},jn=()=>{try{o.getDoc().execCommand("enableObjectResizing",!1,"false")}catch{}};return o.on("init",()=>{jn(),o.on("NodeChange ResizeEditor ResizeWindow ResizeContent drop",An),o.on("keyup compositionend",cn=>{d&&d.nodeName==="TABLE"&&An(cn)}),o.on("hide blur",Fo),o.on("contextmenu longpress",et,!0)}),o.on("remove",Jn),{isResizable:mt,showResizeRect:Jt,hideResizeRect:Fo,updateResizeRect:An,destroy:()=>{Qo.cancel(),d=u=v=null}}},Ub=(t,o,n)=>{const a=t.document.createRange();var i;return i=a,o.fold(c=>{i.setStartBefore(c.dom)},(c,d)=>{i.setStart(c.dom,d)},c=>{i.setStartAfter(c.dom)}),((c,d)=>{d.fold(u=>{c.setEndBefore(u.dom)},(u,f)=>{c.setEnd(u.dom,f)},u=>{c.setEndAfter(u.dom)})})(a,n),a},na=(t,o,n,a,i)=>{const c=t.document.createRange();return c.setStart(o.dom,n),c.setEnd(a.dom,i),c},Zb=zc([{ltr:["start","soffset","finish","foffset"]},{rtl:["start","soffset","finish","foffset"]}]),Xv=(t,o,n)=>o(je(n.startContainer),n.startOffset,je(n.endContainer),n.endOffset);Zb.ltr,Zb.rtl;const H3=(t,o,n,a)=>({start:t,soffset:o,finish:n,foffset:a}),qb=document.caretPositionFromPoint?(t,o,n)=>{var a,i;return V.from((i=(a=t.dom).caretPositionFromPoint)===null||i===void 0?void 0:i.call(a,o,n)).bind(c=>{if(c.offsetNode===null)return V.none();const d=t.dom.createRange();return d.setStart(c.offsetNode,c.offset),d.collapse(),V.some(d)})}:document.caretRangeFromPoint?(t,o,n)=>{var a,i;return V.from((i=(a=t.dom).caretRangeFromPoint)===null||i===void 0?void 0:i.call(a,o,n))}:V.none,Hg=zc([{before:["element"]},{on:["element","offset"]},{after:["element"]}]),Gm={before:Hg.before,on:Hg.on,after:Hg.after,cata:(t,o,n,a)=>t.fold(o,n,a),getStart:t=>t.fold(R,R,R)},Jv=zc([{domRange:["rng"]},{relative:["startSitu","finishSitu"]},{exact:["start","soffset","finish","foffset"]}]),Wb={domRange:Jv.domRange,relative:Jv.relative,exact:Jv.exact,exactFromRange:t=>Jv.exact(t.start,t.soffset,t.finish,t.foffset),getWin:t=>{const o=(n=>n.match({domRange:a=>je(a.startContainer),relative:(a,i)=>Gm.getStart(a),exact:(a,i,c,d)=>a}))(t);return Gc(o)},range:H3},of=(t,o)=>{const n=Pe(t);return n==="input"?Gm.after(t):lo(["br","img"],n)?o===0?Gm.before(t):Gm.after(t):Gm.on(t,o)},Gb=(t,o)=>{const n=t.fold(Gm.before,of,Gm.after),a=o.fold(Gm.before,of,Gm.after);return Wb.relative(n,a)},j3=(t,o,n,a)=>{const i=of(t,o),c=of(n,a);return Wb.relative(i,c)},Qv=(t,o)=>{const n=(o||document).createDocumentFragment();return Se(t,a=>{n.appendChild(a.dom)}),je(n)},SA=t=>{const o=Wb.getWin(t).dom,n=(i,c,d,u)=>na(o,i,c,d,u),a=(i=>i.match({domRange:c=>{const d=je(c.startContainer),u=je(c.endContainer);return j3(d,c.startOffset,u,c.endOffset)},relative:Gb,exact:j3}))(t);return((i,c)=>{const d=((u,f)=>f.match({domRange:y=>({ltr:Ct(y),rtl:V.none}),relative:(y,v)=>({ltr:tt(()=>Ub(u,y,v)),rtl:tt(()=>V.some(Ub(u,v,y)))}),exact:(y,v,k,E)=>({ltr:tt(()=>na(u,y,v,k,E)),rtl:tt(()=>V.some(na(u,k,E,y,v)))})}))(i,c);return((u,f)=>{const y=f.ltr();return y.collapsed?f.rtl().filter(v=>v.collapsed===!1).map(v=>Zb.rtl(je(v.endContainer),v.endOffset,je(v.startContainer),v.startOffset)).getOrThunk(()=>Xv(0,Zb.ltr,y)):Xv(0,Zb.ltr,y)})(0,d)})(o,a).match({ltr:n,rtl:n})},g_=(t,o,n)=>((a,i,c)=>((d,u,f)=>{const y=je(d.document);return qb(y,u,f).map(v=>H3(je(v.startContainer),v.startOffset,je(v.endContainer),v.endOffset))})(a,i,c))(Gc(je(n)).dom,t,o).map(a=>{const i=n.createRange();return i.setStart(a.start.dom,a.soffset),i.setEnd(a.finish.dom,a.foffset),i}).getOrUndefined(),p_=(t,o)=>Ze(t)&&Ze(o)&&t.startContainer===o.startContainer&&t.startOffset===o.startOffset&&t.endContainer===o.endContainer&&t.endOffset===o.endOffset,f_=(t,o,n)=>((a,i,c)=>{let d=a;for(;d&&d!==i;){if(c(d))return d;d=d.parentNode}return null})(t,o,n)!==null,h_=(t,o,n)=>f_(t,o,a=>a.nodeName===n),b_=(t,o)=>Ws(t)&&!f_(t,o,be),ex=(t,o,n)=>{const a=o.parentNode;if(a){const i=new Ns(o,t.getParent(a,t.isBlock)||t.getRoot());let c;for(;c=i[n?"prev":"next"]();)if(da(c))return!0}return!1},tx=(t,o,n,a,i)=>{const c=t.getRoot(),d=t.schema.getNonEmptyElements(),u=i.parentNode;let f,y;if(!u)return V.none();const v=t.getParent(u,t.isBlock)||c;if(a&&da(i)&&o&&t.isEmpty(v))return V.some(Ht(u,t.nodeIndex(i)));const k=new Ns(i,v);for(;y=k[a?"prev":"next"]();){if(t.getContentEditableParent(y)==="false"||b_(y,c))return V.none();if(ao(y)&&y.data.length>0)return h_(y,c,"A")?V.none():V.some(Ht(y,a?y.data.length:0));if(t.isBlock(y)||d[y.nodeName.toLowerCase()])return V.none();f=y}return ni(f)?V.none():n&&f?V.some(Ht(f,0)):V.none()},y_=(t,o,n,a)=>{const i=t.getRoot();let c,d=!1,u=n?a.startContainer:a.endContainer,f=n?a.startOffset:a.endOffset;const y=rn(u)&&f===u.childNodes.length,v=t.schema.getNonEmptyElements();let k=n;if(Ws(u))return V.none();if(rn(u)&&f>u.childNodes.length-1&&(k=!1),xd(u)&&(u=i,f=0),u===i){if(k&&(c=u.childNodes[f>0?f-1:0],c)&&(Ws(c)||v[c.nodeName]||Ms(c)))return V.none();if(u.hasChildNodes()){if(f=Math.min(!k&&f>0?f-1:f,u.childNodes.length-1),u=u.childNodes[f],f=ao(u)&&y?u.data.length:0,!o&&u===i.lastChild&&Ms(u)||((E,B)=>{let O=B;for(;O&&O!==E;){if(Oa(O))return!0;O=O.parentNode}return!1})(i,u)||Ws(u)||Hs(u))return V.none();if(u.hasChildNodes()&&!Ms(u)){c=u;const E=new Ns(u,i);do{if(Oa(c)||Ws(c)){d=!1;break}if(ao(c)&&c.data.length>0){f=k?0:c.data.length,u=c,d=!0;break}if(v[c.nodeName.toLowerCase()]&&!la(c)){f=t.nodeIndex(c),u=c.parentNode,k||f++,d=!0;break}}while(c=k?E.next():E.prev())}}}return o&&(ao(u)&&f===0&&tx(t,y,o,!0,u).each(E=>{u=E.container(),f=E.offset(),d=!0}),rn(u)&&(c=u.childNodes[f],c||(c=u.childNodes[f-1]),!c||!da(c)||((E,B)=>{var O;return((O=E.previousSibling)===null||O===void 0?void 0:O.nodeName)==="A"})(c)||ex(t,c,!1)||ex(t,c,!0)||tx(t,y,o,!0,c).each(E=>{u=E.container(),f=E.offset(),d=!0}))),k&&!o&&ao(u)&&f===u.data.length&&tx(t,y,o,!1,u).each(E=>{u=E.container(),f=E.offset(),d=!0}),d&&u?V.some(Ht(u,f)):V.none()},O1=(t,o)=>{const n=o.collapsed,a=o.cloneRange(),i=Ht.fromRangeStart(o);return y_(t,n,!0,a).each(c=>{n&&Ht.isAbove(i,c)||a.setStart(c.container(),c.offset())}),n||y_(t,n,!1,a).each(c=>{a.setEnd(c.container(),c.offset())}),n&&a.collapse(!0),p_(o,a)?V.none():V.some(a)},hh=(t,o)=>t.splitText(o),N1=t=>{let o=t.startContainer,n=t.startOffset,a=t.endContainer,i=t.endOffset;if(o===a&&ao(o)){if(n>0&&nn){i-=n;const c=hh(a,i).previousSibling;o=a=c,i=c.data.length,n=0}else i=0}else if(ao(o)&&n>0&&n0&&i({walk:(o,n)=>T1(t,o,n),split:N1,expand:(o,n={type:"word"})=>{if(n.type==="word"){const a=ef(t,o,[{inline:"span"}]),i=t.createRng();return i.setStart(a.startContainer,a.startOffset),i.setEnd(a.endContainer,a.endOffset),i}return o},normalize:o=>O1(t,o).fold(uo,n=>(o.setStart(n.startContainer,n.startOffset),o.setEnd(n.endContainer,n.endOffset),!0))});nf.compareRanges=p_,nf.getCaretRangeFromPoint=g_,nf.getSelectedNode=cb,nf.getNode=Pu;const V3=((t,o)=>{const n=i=>{const c=(d=>{const u=d.dom;return Es(d)?u.getBoundingClientRect().height:u.offsetHeight})(i);if(c<=0||c===null){const d=Yi(i,t);return parseFloat(d)||0}return c},a=(i,c)=>Oe(c,(d,u)=>{const f=Yi(i,u),y=f===void 0?0:parseInt(f,10);return isNaN(y)?d:d+y},0);return{set:(i,c)=>{if(!rt(c)&&!c.match(/^[0-9]+$/))throw new Error(t+".set accepts only positive integer values. Value was "+c);const d=i.dom;ti(d)&&(d.style[t]=c+"px")},get:n,getOuter:n,aggregate:a,max:(i,c,d)=>{const u=a(i,d);return c>u?c-u:0}}})("height"),v_=()=>je(document),x_=(t,o)=>t.view(o).fold(Ct([]),n=>{const a=t.owner(n),i=x_(t,a);return[n].concat(i)});var $3=Object.freeze({__proto__:null,view:t=>{var o;return(t.dom===document?V.none():V.from((o=t.dom.defaultView)===null||o===void 0?void 0:o.frameElement)).map(je)},owner:t=>Si(t)});const w_=t=>Pe(t)==="textarea",U3=(t,o)=>{const n=(i=>{const c=i.dom.ownerDocument,d=c.body,u=c.defaultView,f=c.documentElement;if(d===i.dom)return pi(d.offsetLeft,d.offsetTop);const y=Cn(u?.pageYOffset,f.scrollTop),v=Cn(u?.pageXOffset,f.scrollLeft),k=Cn(f.clientTop,d.clientTop),E=Cn(f.clientLeft,d.clientLeft);return Ql(i).translate(v-E,y-k)})(t),a=(i=>V3.get(i))(t);return{element:t,bottom:n.top+a,height:a,pos:n,cleanup:o}},M1=(t,o,n,a)=>{EA(t,(i,c)=>Z3(t,o,n,a),n)},k_=(t,o,n,a,i)=>{const c={elm:a.element.dom,alignToTop:i};((d,u)=>d.dispatch("ScrollIntoView",u).isDefaultPrevented())(t,c)||(n(t,o,ec(o).top,a,i),((d,u)=>{d.dispatch("AfterScrollIntoView",u)})(t,c))},Z3=(t,o,n,a)=>{const i=je(t.getBody()),c=je(t.getDoc());i.dom.offsetWidth;const d=((u,f)=>{const y=((k,E)=>{const B=Lt(k);if(B.length===0||w_(k))return{element:k,offset:E};if(E\uFEFF');return rl(y.element,v),U3(v,()=>Ea(v))})(je(n.startContainer),n.startOffset);k_(t,c,o,d,a),d.cleanup()},__=(t,o,n,a)=>{const i=je(t.getDoc());k_(t,i,n,(c=>U3(je(c),$t))(o),a)},EA=(t,o,n)=>{const a=n.startContainer,i=n.startOffset,c=n.endContainer,d=n.endOffset;o(je(a),je(c));const u=t.dom.createRng();u.setStart(a,i),u.setEnd(c,d),t.selection.setRng(n)},C_=(t,o,n,a,i)=>{const c=o.pos;if(a)yp(c.left,c.top,i);else{const d=c.top-n+o.height;yp(-t.getBody().getBoundingClientRect().left,d,i)}},q3=(t,o,n,a,i,c)=>{const d=a+n,u=i.pos.top,f=i.bottom,y=f-u>=a;ud?C_(t,i,a,y?c!==!1:c===!0,o):f>d&&!y&&C_(t,i,a,c===!0,o)},W3=(t,o,n,a,i)=>{const c=Gc(o).dom.innerHeight;q3(t,o,n,c,a,i)},G3=(t,o,n,a,i)=>{const c=Gc(o).dom.innerHeight;q3(t,o,n,c,a,i);const d=(f=>{const y=v_(),v=ec(y),k=((O,P)=>{const M=P.owner(O);return x_(P,M)})(f,$3),E=Ql(f),B=pe(k,(O,P)=>{const M=Ql(P);return{left:O.left+M.left,top:O.top+M.top}},{left:0,top:0});return pi(B.left+E.left+v.left,B.top+E.top+v.top)})(a.element),u=nm(window);d.topu.bottom&&Kd(a.element,i===!0)},K3=(t,o,n)=>M1(t,W3,o,n),Y3=(t,o,n)=>__(t,o,W3,n),ox=(t,o,n)=>M1(t,G3,o,n),TA=(t,o,n)=>__(t,o,G3,n),bh=(t,o,n)=>{(t.inline?K3:ox)(t,o,n)},X3=(t,o=!1)=>t.dom.focus({preventScroll:o}),S_=t=>{const o=ta(t).dom;return t.dom===o.activeElement},nx=(t=v_())=>V.from(t.dom.activeElement).map(je),E_=(t,o)=>{const n=_r(o)?Ai(o).length:Lt(o).length+1;return t>n?n:t<0?0:t},zA=t=>Wb.range(t.start,E_(t.soffset,t.start),t.finish,E_(t.foffset,t.finish)),J3=(t,o)=>!Rm(o.dom)&&(lc(t,o)||sa(t,o)),D1=t=>o=>J3(t,o.start)&&J3(t,o.finish),Q3=t=>Wb.range(je(t.startContainer),t.startOffset,je(t.endContainer),t.endOffset),e4=t=>{const o=document.createRange();try{return o.setStart(t.start.dom,t.soffset),o.setEnd(t.finish.dom,t.foffset),V.some(o)}catch{return V.none()}},rx=t=>{const o=(a=>a.inline||Rn.browser.isFirefox())(t)?(n=je(t.getBody()),(a=>{const i=a.getSelection();return(i&&i.rangeCount!==0?V.from(i.getRangeAt(0)):V.none()).map(Q3)})(Gc(n).dom).filter(D1(n))):V.none();var n;t.bookmark=o.isSome()?o:t.bookmark},ax=t=>(t.bookmark?t.bookmark:V.none()).bind(o=>{return n=je(t.getBody()),a=o,V.from(a).filter(D1(n)).map(zA);var n,a}).bind(e4),t4={isEditorUIElement:t=>{const o=t.className.toString();return o.indexOf("tox-")!==-1||o.indexOf("mce-")!==-1}},uu={setEditorTimeout:(t,o,n)=>((a,i)=>(rt(i)||(i=0),setTimeout(a,i)))(()=>{t.removed||o()},n),setEditorInterval:(t,o,n)=>{const a=((i,c)=>(rt(c)||(c=0),setInterval(i,c)))(()=>{t.removed?clearInterval(a):o()},n);return a}};let jg;const sx=wr.DOM,ix=t=>{const o=t.classList;return o!==void 0&&(o.contains("tox-edit-area")||o.contains("tox-edit-area__iframe")||o.contains("mce-content-body"))},lx=(t,o)=>{const n=hm(t);return sx.getParent(o,i=>(c=>rn(c)&&t4.isEditorUIElement(c))(i)||!!n&&t.dom.is(i,n))!==null},T_=t=>{try{const o=ta(je(t.getElement()));return nx(o).fold(()=>document.body,n=>n.dom)}catch{return document.body}},AA=(t,o)=>{const n=o.editor;(i=>{const c=Ep(()=>{rx(i)},0);i.on("init",()=>{i.inline&&((d,u)=>{const f=()=>{u.throttle()};wr.DOM.bind(document,"mouseup",f),d.on("remove",()=>{wr.DOM.unbind(document,"mouseup",f)})})(i,c),((d,u)=>{((f,y)=>{f.on("mouseup touchend",v=>{y.throttle()})})(d,u),d.on("keyup NodeChange AfterSetSelectionRange",f=>{(y=>y.type==="nodechange"&&y.selectionChange)(f)||rx(d)})})(i,c)}),i.on("remove",()=>{c.cancel()})})(n);const a=(i,c)=>{ih(i)&&i.inline!==!0&&c(je(i.getContainer()),"tox-edit-focus")};n.on("focusin",()=>{const i=t.focusedEditor;ix(T_(n))&&a(n,ks),i!==n&&(i&&i.dispatch("blur",{focusedEditor:n}),t.setActive(n),t.focusedEditor=n,n.dispatch("focus",{blurredEditor:i}),n.focus(!0))}),n.on("focusout",()=>{uu.setEditorTimeout(n,()=>{const i=t.focusedEditor;ix(T_(n))&&i===n||a(n,Js),lx(n,T_(n))||i!==n||(n.dispatch("blur",{focusedEditor:null}),t.focusedEditor=null)})}),jg||(jg=i=>{const c=t.activeEditor;c&&Ei(i).each(d=>{const u=d;u.ownerDocument===document&&(u===document.body||lx(c,u)||t.focusedEditor!==c||(c.dispatch("blur",{focusedEditor:null}),t.focusedEditor=null))})},sx.bind(document,"focusin",jg))},OA=(t,o)=>{t.focusedEditor===o.editor&&(t.focusedEditor=null),!t.activeEditor&&jg&&(sx.unbind(document,"focusin",jg),jg=null)},o4=(t,o)=>{((n,a)=>(i=>i.collapsed?V.from(Pu(i.startContainer,i.startOffset)).map(je):V.none())(a).bind(i=>Bm(i)?V.some(i):lc(n,i)?V.none():V.some(n)))(je(t.getBody()),o).bind(n=>Z(n.dom)).fold(()=>{t.selection.normalize()},n=>t.selection.setRng(n.toRange()))},z_=t=>{if(t.setActive)try{t.setActive()}catch{t.focus()}else t.focus()},rf=t=>t.inline?(o=>{const n=o.getBody();return n&&(a=je(n),S_(a)||(i=a,nx(ta(i)).filter(c=>i.dom.contains(c.dom))).isSome());var a,i})(t):(o=>Ze(o.iframeElement)&&S_(je(o.iframeElement)))(t),n4=t=>rf(t)||(o=>{const n=ta(je(o.getElement()));return nx(n).filter(a=>!ix(a.dom)&&lx(o,a.dom)).isSome()})(t),cx=t=>t.editorManager.setActive(t),A_=(t,o)=>o.collapsed?t.isEditable(o.startContainer):t.isEditable(o.startContainer)&&t.isEditable(o.endContainer),r4=(t,o,n,a,i)=>{const c=n?o.startContainer:o.endContainer,d=n?o.startOffset:o.endOffset;return V.from(c).map(je).map(u=>a&&o.collapsed?u:yn(u,i(u,d)).getOr(u)).bind(u=>kn(u)?V.some(u):Gi(u).filter(kn)).map(u=>u.dom).getOr(t)},a4=(t,o,n=!1)=>r4(t,o,!0,n,(a,i)=>Math.min(ei(a),i)),s4=(t,o,n=!1)=>r4(t,o,!1,n,(a,i)=>i>0?i-1:i),i4=(t,o)=>{const n=t;for(;t&&ao(t)&&t.length===0;)t=o?t.nextSibling:t.previousSibling;return t||n},O_=(t,o)=>oo(o,n=>{const a=t.dispatch("GetSelectionRange",{range:n});return a.range!==n?a.range:n}),NA=["img","br"],l4=t=>wd(t).filter(n=>n.trim().length!==0||n.indexOf(ns)>-1).isSome()||lo(NA,Pe(t))||(n=>bn(n)&&bt(n,"contenteditable")==="false")(t),c4="[data-mce-autocompleter]",MA=(t,o)=>{if(d4(je(t.getBody())).isNone()){const a=ic('',t.getDoc());os(a,je(o.extractContents())),o.insertNode(a.dom),Gi(a).each(i=>i.dom.normalize()),(n=a,((i,c)=>{const d=u=>{const f=Lt(u);for(let y=f.length-1;y>=0;y--){const v=f[y];if(c(v))return V.some(v);const k=d(v);if(k.isSome())return k}return V.none()};return d(i)})(n,l4)).map(i=>{t.selection.setCursorLocation(i.dom,(c=>Pe(c)==="img"?1:wd(c).fold(()=>Lt(c).length,d=>d.length))(i))})}var n},d4=t=>fd(t,c4),DA={"#text":3,"#comment":8,"#cdata":4,"#pi":7,"#doctype":10,"#document-fragment":11},dx=(t,o,n)=>{const a=n?"lastChild":"firstChild",i=n?"prev":"next";if(t[a])return t[a];if(t!==o){let c=t[i];if(c)return c;for(let d=t.parent;d&&d!==o;d=d.parent)if(c=d[i],c)return c}},RA=t=>{var o;const n=(o=t.value)!==null&&o!==void 0?o:"";if(!ss(n))return!1;const a=t.parent;return!a||a.name==="span"&&!a.attr("style")||!/^[ ]+$/.test(n)},Dn=t=>{const o=t.name==="a"&&!t.attr("href")&&t.attr("id");return t.attr("name")||t.attr("id")&&!t.firstChild||t.attr("data-mce-bookmark")||o};class pc{static create(o,n){const a=new pc(o,DA[o]||1);return n&&Ft(n,(i,c)=>{a.attr(c,i)}),a}constructor(o,n){this.name=o,this.type=n,n===1&&(this.attributes=[],this.attributes.map={})}replace(o){const n=this;return o.parent&&o.remove(),n.insert(o,n),n.remove(),n}attr(o,n){const a=this;if(!Ue(o))return Ze(o)&&Ft(o,(c,d)=>{a.attr(d,c)}),a;const i=a.attributes;if(i){if(n!==void 0){if(n===null){if(o in i.map){delete i.map[o];let c=i.length;for(;c--;)if(i[c].name===o)return i.splice(c,1),a}return a}if(o in i.map){let c=i.length;for(;c--;)if(i[c].name===o){i[c].value=n;break}}else i.push({name:o,value:n});return i.map[o]=n,a}return i.map[o]}}clone(){const o=this,n=new pc(o.name,o.type),a=o.attributes;if(a){const i=[];i.map={};for(let c=0,d=a.length;cUe(t.nodeValue)&&t.nodeValue.includes(Za),ux=t=>(t.length===0?"":`${oo(t,o=>`[${o}]`).join(",")},`)+'[data-mce-bogus="all"]',g4=t=>document.createTreeWalker(t,NodeFilter.SHOW_COMMENT,o=>m4(o)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP),R1=t=>document.createTreeWalker(t,NodeFilter.SHOW_TEXT,o=>{if(m4(o)){const n=o.parentNode;return n&&ln(u4,n.nodeName)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}return NodeFilter.FILTER_SKIP}),p4=t=>g4(t).nextNode()!==null,BA=t=>R1(t).nextNode()!==null,fr=(t,o)=>o.querySelector(ux(t))!==null,Tr=(t,o)=>{Se(((n,a)=>a.querySelectorAll(ux(n)))(t,o),n=>{const a=je(n);bt(a,"data-mce-bogus")==="all"?Ea(a):Se(t,i=>{Zn(a,i)&&U(a,i)})})},N_=t=>{let o=t.nextNode();for(;o!==null;)o.nodeValue=null,o=t.nextNode()},FA=gn(N_,g4),LA=gn(N_,R1),f4=(t,o)=>{const n=[{condition:Je(fr,o),action:Je(Tr,o)},{condition:p4,action:FA},{condition:BA,action:LA}];let a=t,i=!1;return Se(n,({condition:c,action:d})=>{c(a)&&(i||(a=t.cloneNode(!0),i=!0),d(a))}),a},er=t=>{const o=wa(t,"[data-mce-bogus]");Se(o,n=>{bt(n,"data-mce-bogus")==="all"?Ea(n):pl(n)?(rl(n,vc(Tl)),Ea(n)):_l(n)})},Kb=t=>{const o=wa(t,"input");Se(o,n=>{U(n,"name")})},h4=(t,o,n)=>{let a;return a=o.format==="raw"?go.trim(qs(f4(n,t.serializer.getTempAttrs()).innerHTML)):o.format==="text"?((i,c)=>{const d=i.getDoc(),u=ta(je(i.getBody())),f=_s("div",d);Q(f,"data-mce-bogus","all"),qd(f,{position:"fixed",left:"-9999999px",top:"0"}),wc(f,c.innerHTML),er(f),Kb(f);const y=(k=>ia(k)?k:je(Si(k).dom.body))(u);os(y,f);const v=qs(f.dom.innerText);return Ea(f),v})(t,n):o.format==="tree"?t.serializer.serialize(n,o):((i,c)=>{const d=Ts(i),u=new RegExp(`^(<${d}[^>]*>( | |\\s| |
|)<\\/${d}>[\r +]*|
[\r +]*)$`);return c.replace(u,"")})(t,t.serializer.serialize(n,o)),o.format!=="text"&&!Ui(je(n))&&Ue(a)?go.trim(a):a},M_=go.makeMap,b4=t=>{const o=[],n=(t=t||{}).indent,a=M_(t.indent_before||""),i=M_(t.indent_after||""),c=Sc.getEncodeFunc(t.entity_encoding||"raw",t.entities),d=t.element_format!=="xhtml";return{start:(u,f,y)=>{if(n&&a[u]&&o.length>0){const v=o[o.length-1];v.length>0&&v!==` +`&&o.push(` +`)}if(o.push("<",u),f)for(let v=0,k=f.length;v":" />",y&&n&&i[u]&&o.length>0){const v=o[o.length-1];v.length>0&&v!==` +`&&o.push(` +`)}},end:u=>{let f;o.push(""),n&&i[u]&&o.length>0&&(f=o[o.length-1],f.length>0&&f!==` +`&&o.push(` +`))},text:(u,f)=>{u.length>0&&(o[o.length]=f?u:c(u))},cdata:u=>{o.push("")},comment:u=>{o.push("")},pi:(u,f)=>{f?o.push(""):o.push(""),n&&o.push(` +`)},doctype:u=>{o.push("",n?` +`:"")},reset:()=>{o.length=0},getContent:()=>o.join("").replace(/\n$/,"")}},af=(t={},o=Du())=>{const n=b4(t);return t.validate=!("validate"in t)||t.validate,{serialize:a=>{const i=t.validate,c={3:u=>{var f;n.text((f=u.value)!==null&&f!==void 0?f:"",u.raw)},8:u=>{var f;n.comment((f=u.value)!==null&&f!==void 0?f:"")},7:u=>{n.pi(u.name,u.value)},10:u=>{var f;n.doctype((f=u.value)!==null&&f!==void 0?f:"")},4:u=>{var f;n.cdata((f=u.value)!==null&&f!==void 0?f:"")},11:u=>{let f=u;if(f=f.firstChild)do d(f);while(f=f.next)}};n.reset();const d=u=>{var f;const y=c[u.type];if(y)y(u);else{const v=u.name,k=v in o.getVoidElements();let E=u.attributes;if(i&&E&&E.length>1){const B=[];B.map={};const O=o.getElementRule(u.name);if(O){for(let P=0,M=O.attributesOrder.length;P{D_.add(t)});const y4=["font","text-decoration","text-emphasis"],Dr=(t,o)=>ut(t.parseStyle(t.getAttrib(o,"style"))),v4=(t,o,n)=>{const a=Dr(t,o),i=Dr(t,n),c=d=>{var u,f;const y=(u=t.getStyle(o,d))!==null&&u!==void 0?u:"",v=(f=t.getStyle(n,d))!==null&&f!==void 0?f:"";return on(y)&&on(v)&&y!==v};return To(a,d=>{const u=f=>To(f,y=>y===d);if(!u(i)&&u(y4)){const f=gt(i,y=>To(y4,v=>gr(y,v)));return To(f,c)}return c(d)})},B1=(t,o,n)=>V.from(n.container()).filter(ao).exists(a=>{const i=t?0:-1;return o(a.data.charAt(n.offset()+i))}),mx=Je(B1,!0,Qr),gx=Je(B1,!1,Qr),x4=t=>{const o=t.container();return ao(o)&&(o.data.length===0||_c(o.data)&&tf.isBookmarkNode(o.parentNode))},Vg=(t,o)=>n=>Bd(t?0:-1,n).filter(o).isSome(),R_=t=>ml(t)&&Yi(je(t),"display")==="block",B_=t=>Oa(t)&&!(o=>rn(o)&&o.getAttribute("data-mce-bogus")==="all")(t),IA=Vg(!0,R_),PA=Vg(!1,R_),F1=Vg(!0,$i),L1=Vg(!1,$i),w4=Vg(!0,Ms),px=Vg(!1,Ms),Km=Vg(!0,B_),sf=Vg(!1,B_),k4=(t,o)=>((n,a,i)=>lc(a,n)?Yl(n,c=>i(c)||sa(c,a)).slice(0,-1):[])(t,o,uo),$g=(t,o)=>[t].concat(k4(t,o)),F_=(t,o,n)=>_(t,o,n,x4),L_=(t,o,n)=>Fe($g(je(o.container()),t),(a=>i=>a.isBlock(Pe(i)))(n)),lf=(t,o,n,a)=>F_(t,o.dom,n).forall(i=>L_(o,n,a).fold(()=>!Lr(i,n,o.dom),c=>!Lr(i,n,o.dom)&&lc(c,je(i.container())))),I_=(t,o,n,a)=>L_(o,n,a).fold(()=>F_(t,o.dom,n).forall(i=>!Lr(i,n,o.dom)),i=>F_(t,i.dom,n).isNone()),fx=Je(I_,!1),_4=Je(I_,!0),HA=Je(lf,!1),C4=Je(lf,!0),S4=t=>qp(t).exists(pl),Gl=(t,o,n,a)=>{const i=gt($g(je(n.container()),o),d=>a.isBlock(Pe(d))),c=Zo(i).getOr(o);return p(t,c.dom,n).filter(S4)},P_=(t,o,n)=>qp(o).exists(pl)||Gl(!0,t,o,n).isSome(),Ug=(t,o,n)=>(a=>V.from(a.getNode(!0)).map(je))(o).exists(pl)||Gl(!1,t,o,n).isSome(),Rs=Je(Gl,!1),hx=Je(Gl,!0),wl=t=>Ht.isTextPosition(t)&&!t.isAtStart()&&!t.isAtEnd(),Ym=(t,o,n)=>{const a=gt($g(je(o.container()),t),i=>n.isBlock(Pe(i)));return Zo(a).getOr(t)},Ta=(t,o,n)=>wl(o)?gx(o):gx(o)||I(Ym(t,o,n).dom,o).exists(gx),H_=(t,o,n)=>wl(o)?mx(o):mx(o)||L(Ym(t,o,n).dom,o).exists(mx),bx=t=>qp(t).bind(o=>ts(o,kn)).exists(o=>(n=>lo(["pre","pre-wrap"],n))(Yi(o,"white-space"))),E4=(t,o)=>n=>{return a=new Ns(n,t)[o](),Ze(a)&&Oa(a)&&Hv(a);var a},T4=(t,o,n)=>!bx(o)&&(((a,i,c)=>((d,u)=>I(d.dom,u).isNone())(a,i)||((d,u)=>L(d.dom,u).isNone())(a,i)||fx(a,i,c)||_4(a,i,c)||Ug(a,i,c)||P_(a,i,c))(t,o,n)||Ta(t,o,n)||H_(t,o,n)),I1=(t,o,n)=>!bx(o)&&(fx(t,o,n)||HA(t,o,n)||Ug(t,o,n)||Ta(t,o,n)||((a,i)=>{const c=I(a.dom,i).getOr(i),d=E4(a.dom,"prev");return i.isAtStart()&&(d(i.container())||d(c.container()))})(t,o)),rc=(t,o,n)=>!bx(o)&&(_4(t,o,n)||C4(t,o,n)||P_(t,o,n)||H_(t,o,n)||((a,i)=>{const c=L(a.dom,i).getOr(i),d=E4(a.dom,"next");return i.isAtEnd()&&(d(i.container())||d(c.container()))})(t,o)),mu=(t,o,n)=>I1(t,o,n)||rc(t,(a=>{const i=a.container(),c=a.offset();return ao(i)&&cLn(t.charAt(o)),yx=(t,o)=>Qr(t.charAt(o)),vx=(t,o,n,a)=>{const i=o.data,c=Ht(o,0);return n||!z4(i,0)||mu(t,c,a)?!!(n&&yx(i,0)&&I1(t,c,a))&&(o.data=ns+i.slice(1),!0):(o.data=" "+i.slice(1),!0)},A4=(t,o,n,a)=>{const i=o.data,c=Ht(o,i.length-1);return n||!z4(i,i.length-1)||mu(t,c,a)?!!(n&&yx(i,i.length-1)&&rc(t,c,a))&&(o.data=i.slice(0,-1)+ns,!0):(o.data=i.slice(0,-1)+" ",!0)},jA=(t,o,n)=>{const a=o.container();if(!ao(a))return V.none();if((i=>{const c=i.container();return ao(c)&&Xr(c.data,ns)})(o)){const i=vx(t,a,!1,n)||(c=>{const d=c.data,u=(f=>{const y=f.split("");return oo(y,(v,k)=>Ln(v)&&k>0&&k{if(n===0)return;const i=je(t),c=Fa(i,y=>a.isBlock(Pe(y))).getOr(i),d=t.data.slice(o,o+n),u=o+n>=t.data.length&&rc(c,Ht(t,t.data.length),a),f=o===0&&I1(c,Ht(t,0),a);t.replaceData(o,n,vp(d,4,f,u))},yh=(t,o,n)=>{const a=t.data.slice(o),i=a.length-It(a).length;Yb(t,o,i,n)},P1=(t,o,n)=>{const a=t.data.slice(0,o),i=a.length-dn(a).length;Yb(t,o-i,i,n)},j_=(t,o,n,a,i=!0)=>{const c=dn(t.data).length,d=i?t:o,u=i?o:t;return i?d.appendData(u.data):d.insertData(0,u.data),Ea(je(u)),a&&yh(d,c,n),d},_m=(t,o)=>((n,a)=>{const i=n.container(),c=n.offset();return!Ht.isTextPosition(n)&&i===a.parentNode&&c>Ht.before(a).offset()})(o,t)?Ht(o.container(),o.offset()-1):o,O4=t=>{return Ka(t.previousSibling)?V.some((o=t.previousSibling,ao(o)?Ht(o,o.data.length):Ht.after(o))):t.previousSibling?Y(t.previousSibling):V.none();var o},N4=t=>{return Ka(t.nextSibling)?V.some((o=t.nextSibling,ao(o)?Ht(o,0):Ht.before(o))):t.nextSibling?Z(t.nextSibling):V.none();var o},gu=(t,o,n)=>((a,i,c)=>a?((d,u)=>N4(u).orThunk(()=>O4(u)).orThunk(()=>((f,y)=>L(f,Ht.after(y)).orThunk(()=>I(f,Ht.before(y))))(d,u)))(i,c):((d,u)=>O4(u).orThunk(()=>N4(u)).orThunk(()=>((f,y)=>V.from(y.previousSibling?y.previousSibling:y.parentNode).bind(v=>I(f,Ht.before(v))).orThunk(()=>L(f,Ht.after(y))))(d,u)))(i,c))(t,o,n).map(Je(_m,n)),Xb=(t,o,n)=>{n.fold(()=>{t.focus()},a=>{t.selection.setRng(a.toRange(),o)})},M4=(t,o)=>o&&ln(t.schema.getBlockElements(),Pe(o)),fc=(t,o,n,a=!0,i=!1)=>{const c=gu(o,t.getBody(),n.dom),d=Fa(n,Je(M4,t),(u=t.getBody(),y=>y.dom===u));var u;const f=((y,v,k,E)=>{const B=Ki(y).filter(_r),O=ie(y).filter(_r);return Ea(y),(P=B,M=O,j=v,q=(K,re,ee)=>{const ke=K.dom,et=re.dom,st=ke.data.length;return j_(ke,et,k,E),ee.container()===et?Ht(ke,st):ee},P.isSome()&&M.isSome()&&j.isSome()?V.some(q(P.getOrDie(),M.getOrDie(),j.getOrDie())):V.none()).orThunk(()=>(E&&(B.each(K=>P1(K.dom,K.dom.length,k)),O.each(K=>yh(K.dom,0,k))),v));var P,M,j,q})(n,c,t.schema,((y,v)=>ln(y.schema.getTextInlineElements(),Pe(v)))(t,n));t.dom.isEmpty(t.getBody())?(t.setContent(""),t.selection.setCursorLocation()):d.bind(y=>((v,k)=>{if(ys(v)){const E=ic('
');return k?Se(Lt(v),B=>{c_(B)||Ea(B)}):bd(v),os(v,E),V.some(Ht.before(E.dom))}return V.none()})(y,i)).fold(()=>{a&&Xb(t,o,f)},y=>{a&&Xb(t,o,V.some(y))})},Va=/[\u0591-\u07FF\uFB1D-\uFDFF\uFE70-\uFEFC]/,$u=(t,o)=>Ci(je(o),Tv(t))&&!Ed(t.schema,o)&&t.dom.isEditable(o),H1=t=>{var o;return wr.DOM.getStyle(t,"direction",!0)==="rtl"||(n=>Va.test(n))((o=t.textContent)!==null&&o!==void 0?o:"")},Zg=(t,o,n)=>{const a=((i,c,d)=>gt(wr.DOM.getParents(d.container(),"*",c),i))(t,o,n);return V.from(a[a.length-1])},ld=(t,o)=>{const n=o.container(),a=o.offset();return t?bs(n)?ao(n.nextSibling)?Ht(n.nextSibling,0):Ht.after(n):Hl(o)?Ht(n,a+1):o:bs(n)?ao(n.previousSibling)?Ht(n.previousSibling,n.previousSibling.data.length):Ht.before(n):_d(o)?Ht(n,a-1):o},xx=Je(ld,!0),D4=Je(ld,!1),wx=(t,o)=>{const n=a=>a.stopImmediatePropagation();t.on("beforeinput input",n,!0),t.getDoc().execCommand(o),t.off("beforeinput input",n)},V_=t=>wx(t,"Delete"),R4=t=>ri(t)||uc(t),j1=(t,o)=>lc(t,o)?ts(o,R4,(n=>a=>aa(Gi(a),n,sa))(t)):V.none(),V1=(t,o=!0)=>{t.dom.isEmpty(t.getBody())&&t.setContent("",{no_selection:!o})},$_=(t,o,n)=>Ir(Z(n),Y(n),(a,i)=>{const c=ld(!0,a),d=ld(!1,i),u=ld(!1,o);return t?L(n,u).exists(f=>f.isEqual(d)&&o.isEqual(c)):I(n,u).exists(f=>f.isEqual(c)&&o.isEqual(d))}).getOr(!0),$1=t=>{var o;return(Nt(o=t)===8||Pe(o)==="#comment"?Ki(t):Ra(t)).bind($1).orThunk(()=>V.some(t))},B4=(t,o,n,a=!0)=>{var i;o.deleteContents();const c=$1(n).getOr(n),d=je((i=t.dom.getParent(c.dom,t.dom.isBlock))!==null&&i!==void 0?i:n.dom);if(d.dom===t.getBody()?V1(t,a):ys(d)&&(Oi(d),a&&t.selection.setCursorLocation(d.dom,0)),!sa(n,d)){const f=aa(Gi(d),n)?[]:Gi(u=d).map(Lt).map(y=>gt(y,v=>!sa(u,v))).getOr([]);Se(f.concat(Lt(n)),y=>{sa(y,d)||lc(y,d)||!ys(y)||Ea(y)})}var u},VA=(t,o)=>((n,a)=>{const i=n.dom;return i.parentNode?((c,d)=>Fe(c.dom.childNodes,u=>d(je(u))).map(je))(je(i.parentNode),c=>!sa(n,c)&&a(c)):V.none()})(t,o).isSome(),F4=(t,o)=>Kc(t,o).isSome(),U_=t=>wa(t,"td,th"),L4=(t,o)=>zs(je(t),o),kx=(t,o)=>({start:t,end:o}),U1=zc([{singleCellTable:["rng","cell"]},{fullTable:["table"]},{partialTable:["cells","outsideDetails"]},{multiTable:["startTableCells","endTableCells","betweenRng"]}]),_x=(t,o)=>Yc(je(t),"td,th",o),Z_=t=>!sa(t.start,t.end),q_=(t,o)=>zs(t.start,o).bind(n=>zs(t.end,o).bind(a=>gi(sa(n,a),n))),W_=t=>o=>q_(o,t).map(n=>((a,i,c)=>({rng:a,table:i,cells:c}))(o,n,U_(n))),I4=(t,o,n,a)=>{if(n.collapsed||!t.forall(Z_))return V.none();if(o.isSameTable){const i=t.bind(W_(a));return V.some({start:i,end:i})}{const i=_x(n.startContainer,a),c=_x(n.endContainer,a),d=i.bind((f=>y=>zs(y,f).bind(v=>Gn(U_(v)).map(k=>kx(y,k))))(a)).bind(W_(a)),u=c.bind((f=>y=>zs(y,f).bind(v=>Zo(U_(v)).map(k=>kx(k,y))))(a)).bind(W_(a));return V.some({start:d,end:u})}},G_=(t,o)=>ge(t,n=>sa(n,o)),jc=t=>Ir(G_(t.cells,t.rng.start),G_(t.cells,t.rng.end),(o,n)=>t.cells.slice(o,n+1)),P4=(t,o)=>{const{startTable:n,endTable:a}=o,i=t.cloneRange();return n.each(c=>i.setStartAfter(c.dom)),a.each(c=>i.setEndBefore(c.dom)),i},H4=(t,o)=>{const n=(c=>d=>sa(c,d))(t),a=((c,d)=>{const u=_x(c.startContainer,d),f=_x(c.endContainer,d);return Ir(u,f,kx)})(o,n),i=((c,d)=>{const u=L4(c.startContainer,d),f=L4(c.endContainer,d),y=u.isSome(),v=f.isSome(),k=Ir(u,f,sa).getOr(!1);return(E=>Ir(E.startTable,E.endTable,(B,O)=>{const P=F4(B,j=>sa(j,O)),M=F4(O,j=>sa(j,B));return P||M?{...E,startTable:P?V.none():E.startTable,endTable:M?V.none():E.endTable,isSameTable:!1,isMultiTable:!1}:E}).getOr(E))({startTable:u,endTable:f,isStartInTable:y,isEndInTable:v,isSameTable:k,isMultiTable:!k&&y&&v})})(o,n);return((c,d,u)=>c.exists(f=>((y,v)=>!Z_(y)&&q_(y,v).exists(k=>{const E=k.dom.rows;return E.length===1&&E[0].cells.length===1}))(f,u)&&ql(f.start,d)))(a,o,n)?a.map(c=>U1.singleCellTable(o,c.start)):i.isMultiTable?((c,d,u,f)=>I4(c,d,u,f).bind(({start:y,end:v})=>{const k=y.bind(jc).getOr([]),E=v.bind(jc).getOr([]);if(k.length>0&&E.length>0){const B=P4(u,d);return V.some(U1.multiTable(k,E,B))}return V.none()}))(a,i,o,n):((c,d,u,f)=>I4(c,d,u,f).bind(({start:y,end:v})=>y.or(v)).bind(y=>{const{isSameTable:v}=d,k=jc(y).getOr([]);if(v&&y.cells.length===k.length)return V.some(U1.fullTable(y.table));if(k.length>0){if(v)return V.some(U1.partialTable(k,V.none()));{const E=P4(u,d);return V.some(U1.partialTable(k,V.some({...d,rng:E})))}}return V.none()}))(a,i,o,n)},Cx=t=>Se(t,o=>{U(o,"contenteditable"),Oi(o)}),Z1=(t,o,n,a)=>{const i=n.cloneRange();a?(i.setStart(n.startContainer,n.startOffset),i.setEndAfter(o.dom.lastChild)):(i.setStartBefore(o.dom.firstChild),i.setEnd(n.endContainer,n.endOffset)),Sx(t,i,o,!1).each(c=>c())},K_=t=>{const o=ca(t),n=je(t.selection.getNode());al(n.dom)&&ys(n)?t.selection.setCursorLocation(n.dom,0):t.selection.collapse(!0),o.length>1&&To(o,a=>sa(a,n))&&Q(n,"data-mce-selected","1")},Y_=(t,o,n)=>V.some(()=>{const a=t.selection.getRng(),i=n.bind(({rng:c,isStartInTable:d})=>{const u=((y,v)=>V.from(y.dom.getParent(v,y.dom.isBlock)).map(je))(t,d?c.endContainer:c.startContainer);c.deleteContents(),((y,v,k)=>{k.each(E=>{v?Ea(E):(Oi(E),y.selection.setCursorLocation(E.dom,0))})})(t,d,u.filter(ys));const f=d?o[0]:o[o.length-1];return Z1(t,f,a,d),ys(f)?V.none():V.some(d?o.slice(1):o.slice(0,-1))}).getOr(o);Cx(i),K_(t)}),X_=(t,o,n,a)=>V.some(()=>{const i=t.selection.getRng(),c=o[0],d=n[n.length-1];Z1(t,c,i,!0),Z1(t,d,i,!1);const u=ys(c)?o:o.slice(1),f=ys(d)?n:n.slice(0,-1);Cx(u.concat(f)),a.deleteContents(),K_(t)}),Sx=(t,o,n,a=!0)=>V.some(()=>{B4(t,o,n,a)}),Uu=(t,o)=>V.some(()=>fc(t,!1,o)),j4=(t,o)=>Fe($g(o,t),Sn),q1=(t,o)=>Fe($g(o,t),ma("caption")),Vc=(t,o)=>V.some(()=>{Oi(o),t.selection.setCursorLocation(o.dom,0)}),Jb=(t,o)=>t?w4(o):px(o),Qb=(t,o,n)=>{const a=je(t.getBody());return q1(a,n).fold(()=>((i,c,d,u)=>{const f=Ht.fromRangeStart(i.selection.getRng());return j4(d,u).bind(y=>ys(y)?Vc(i,y):((v,k,E,B,O)=>b(E,v.getBody(),O).bind(P=>j4(k,je(P.getNode())).bind(M=>sa(M,B)?V.none():V.some($t))))(i,d,c,y,f))})(t,o,a,n).orThunk(()=>gi(((i,c)=>{const d=Ht.fromRangeStart(i.selection.getRng());return Jb(c,d)||p(c,i.getBody(),d).exists(u=>Jb(c,u))})(t,o),$t)),i=>((c,d,u,f)=>{const y=Ht.fromRangeStart(c.selection.getRng());return ys(f)?Vc(c,f):((v,k,E,B,O)=>b(E,v.getBody(),O).fold(()=>V.some($t),P=>((M,j,q,K)=>Z(M.dom).bind(re=>Y(M.dom).map(ee=>j?q.isEqual(re)&&K.isEqual(ee):q.isEqual(ee)&&K.isEqual(re))).getOr(!0))(B,E,O,P)?((M,j)=>Vc(M,j))(v,B):((M,j,q)=>q1(M,je(q.getNode())).fold(()=>V.some($t),K=>gi(!sa(K,j),$t)))(k,B,P)))(c,u,d,f,y)})(t,o,a,i))},J_=(t,o)=>{const n=je(t.selection.getStart(!0)),a=ca(t);return t.selection.isCollapsed()&&a.length===0?Qb(t,o,n):((i,c,d)=>{const u=je(i.getBody()),f=i.selection.getRng();return d.length!==0?Y_(i,d,V.none()):((y,v,k,E)=>q1(v,E).fold(()=>((B,O,P)=>H4(O,P).bind(M=>M.fold(Je(Sx,B),Je(Uu,B),Je(Y_,B),Je(X_,B))))(y,v,k),B=>((O,P)=>Vc(O,P))(y,B)))(i,u,f,c)})(t,n,a)},Zu=(t,o)=>{let n=o;for(;n&&n!==t;){if(zi(n)||Oa(n))return n;n=n.parentNode}return null},Xa=["data-ephox-","data-mce-","data-alloy-","data-snooker-","_"],W1=go.each,Ex=t=>{const o=t.dom,n=new Set(t.serializer.getTempAttrs()),a=i=>To(Xa,c=>gr(i,c))||n.has(i);return{compare:(i,c)=>{if(i.nodeName!==c.nodeName||i.nodeType!==c.nodeType)return!1;const d=f=>{const y={};return W1(o.getAttribs(f),v=>{const k=v.nodeName.toLowerCase();k==="style"||a(k)||(y[k]=o.getAttrib(f,k))}),y},u=(f,y)=>{for(const v in f)if(ln(f,v)){const k=y[v];if(fo(k)||f[v]!==k)return!1;delete y[v]}for(const v in y)if(ln(y,v))return!1;return!0};return rn(i)&&rn(c)&&(!u(d(i),d(c))||!u(o.parseStyle(o.getAttrib(i,"style")),o.parseStyle(o.getAttrib(c,"style"))))?!1:!No(i)&&!No(c)},isAttributeInternal:a}},Q_=t=>["h1","h2","h3","h4","h5","h6"].includes(t.name),Tx=(t,o,n,a)=>{const i=n.name;for(let c=0,d=t.length;c{const n=(a,i)=>{Ft(a,c=>{const d=Pn(c.nodes);Se(c.filter.callbacks,u=>{for(let f=d.length-1;f>=0;f--){const y=d[f];(i?y.attr(c.filter.name)!==void 0:y.name===c.filter.name)&&!me(y.parent)||d.splice(f,1)}d.length>0&&u(d,c.filter.name,o)})})};n(t.nodes,!1),n(t.attributes,!0)},Ax=(t,o,n,a={})=>{const i=((c,d,u)=>{const f={nodes:{},attributes:{}};return u.firstChild&&((y,v)=>{let k=y;for(;k=k.walk();)Tx(c,d,k,f)})(u),f})(t,o,n);zx(i,a)},G1=(t,o,n,a)=>{if((t.pad_empty_with_br||o.insert)&&n(a)){const i=new pc("br",1);o.insert&&i.attr("data-mce-bogus","1"),a.empty().append(i)}else a.empty().append(new pc("#text",3)).value=ns},K1=(t,o)=>{const n=t?.firstChild;return Ze(n)&&n===t.lastChild&&n.name===o},vh=(t,o,n,a)=>a.isEmpty(o,n,i=>((c,d)=>{const u=c.getElementRule(d.name);return u?.paddEmpty===!0})(t,i)),V4=t=>{let o;for(let n=t;n;n=n.parent){const a=n.attr("contenteditable");if(a==="false")break;a==="true"&&(o=n)}return V.from(o)},Ox=(t,o,n=t.parent)=>{if(o.getSpecialElements()[t.name])t.empty().remove();else{const a=t.children();for(const i of a)n&&!o.isValidChild(n.name,i.name)&&Ox(i,o,n);t.unwrap()}},Nx=(t,o,n,a=$t)=>{const i=o.getTextBlockElements(),c=o.getNonEmptyElements(),d=o.getWhitespaceElements(),u=go.makeMap("tr,td,th,tbody,thead,tfoot,table,summary"),f=new Set,y=v=>v!==n&&!u[v.name];for(let v=0;v1)if(Mx(o,k,E))Ox(k,o);else{P.reverse(),B=P[0].clone(),a(B);let M=B;for(let j=0;j0?(O=P[j].clone(),a(O),M.append(O)):O=M;for(let q=P[j].firstChild;q&&q!==P[j+1];){const K=q.next;O.append(q),q=K}M=O}vh(o,c,d,B)?E.insert(k,P[0],!0):(E.insert(B,P[0],!0),E.insert(k,B)),E=P[0],(vh(o,c,d,E)||K1(E,"br"))&&E.empty().remove()}else if(k.parent){if(k.name==="li"){let M=k.prev;if(M&&(M.name==="ul"||M.name==="ol")){M.append(k);continue}if(M=k.next,M&&(M.name==="ul"||M.name==="ol")&&M.firstChild){M.insert(k,M.firstChild,!0);continue}const j=new pc("ul",1);a(j),k.wrap(j);continue}if(o.isValidChild(k.parent.name,"div")&&o.isValidChild("div",k.name)){const M=new pc("div",1);a(M),k.wrap(M)}else Ox(k,o)}}},Mx=(t,o,n=o.parent)=>!(!n||(!t.children[o.name]||t.isValidChild(n.name,o.name))&&(o.name!=="a"||!((a,i)=>{let c=a;for(;c;){if(c.name==="a")return!0;c=c.parent}return!1})(n))&&(!(a=>a.name==="summary")(n)||!Q_(o)||n?.firstChild===o&&n?.lastChild===o)),Dx=t=>t.collapsed?t:(o=>{const n=Ht.fromRangeStart(o),a=Ht.fromRangeEnd(o),i=o.commonAncestorContainer;return p(!1,i,a).map(c=>!Lr(n,a,i)&&Lr(n,c,i)?((d,u,f,y)=>{const v=document.createRange();return v.setStart(d,u),v.setEnd(f,y),v})(n.container(),n.offset(),c.container(),c.offset()):o).getOr(o)})(t),ey=(t,o)=>{let n=o.firstChild,a=o.lastChild;return n&&n.name==="meta"&&(n=n.next),a&&a.attr("id")==="mce_marker"&&(a=a.prev),((i,c)=>{const d=i.getNonEmptyElements();return Ze(c)&&(c.isEmpty(d)||((u,f)=>u.getBlockElements()[f.name]&&(y=>Ze(y.firstChild)&&y.firstChild===y.lastChild)(f)&&(y=>y.name==="br"||y.value===ns)(f.firstChild))(i,c))})(t,a)&&(a=a?.prev),!(!n||n!==a||n.name!=="ul"&&n.name!=="ol")},$4=t=>{return t.length>0&&(!(n=t[t.length-1]).firstChild||Ze((o=n)==null?void 0:o.firstChild)&&o.firstChild===o.lastChild&&(a=>a.data===ns||da(a))(o.firstChild))?t.slice(0,-1):t;var o,n},Y1=(t,o)=>{const n=t.getParent(o,t.isBlock);return n&&n.nodeName==="LI"?n:null},U4=(t,o)=>{const n=Ht.after(t),a=nc(o).prev(n);return a?a.toRange():null},$A=(t,o,n,a)=>{const i=((k,E,B)=>{const O=E.serialize(B);return(P=>{var M,j;const q=P.firstChild,K=P.lastChild;return q&&q.nodeName==="META"&&((M=q.parentNode)===null||M===void 0||M.removeChild(q)),K&&K.id==="mce_marker"&&((j=K.parentNode)===null||j===void 0||j.removeChild(K)),P})(k.createFragment(O))})(o,t,a),c=Y1(o,n.startContainer),d=$4((u=i.firstChild,gt((f=u?.childNodes)!==null&&f!==void 0?f:[],k=>k.nodeName==="LI")));var u,f;const y=o.getRoot(),v=k=>{const E=Ht.fromRangeStart(n),B=nc(o.getRoot()),O=k===1?B.prev(E):B.next(E),P=O?.getNode();return!P||Y1(o,P)!==c};return c?v(1)?((k,E,B)=>{const O=k.parentNode;return O&&go.each(E,P=>{O.insertBefore(P,k)}),((P,M)=>{const j=Ht.before(P),q=nc(M).next(j);return q?q.toRange():null})(k,B)})(c,d,y):v(2)?((k,E,B,O)=>(O.insertAfter(E.reverse(),k),U4(E[0],B)))(c,d,y,o):((k,E,B,O)=>{const P=((j,q)=>{const K=q.cloneRange(),re=q.cloneRange();return K.setStartBefore(j),re.setEndAfter(j),[K.cloneContents(),re.cloneContents()]})(k,O),M=k.parentNode;return M&&(M.insertBefore(P[0],k),go.each(E,j=>{M.insertBefore(j,k)}),M.insertBefore(P[1],k),M.removeChild(k)),U4(E[E.length-1],B)})(c,d,y,n):null},Z4=["pre"],Rx=al,q4=(t,o,n)=>{var a,i;const c=t.selection,d=t.dom,u=t.parser,f=n.merge,y=af({validate:!0},t.schema),v='';n.preserve_zwsp||(o=qs(o)),o.indexOf("{$caret}")===-1&&(o+="{$caret}"),o=o.replace(/\{\$caret\}/,v);let k=c.getRng();const E=k.startContainer,B=t.getBody();E===B&&c.isCollapsed()&&d.isBlock(B.firstChild)&&((K,re)=>Ze(re)&&!K.schema.getVoidElements()[re.nodeName])(t,B.firstChild)&&d.isEmpty(B.firstChild)&&(k=d.createRng(),k.setStart(B.firstChild,0),k.setEnd(B.firstChild,0),c.setRng(k)),c.isCollapsed()||(K=>{const re=K.dom,ee=Dx(K.selection.getRng());K.selection.setRng(ee);const ke=re.getParent(ee.startContainer,Rx);((et,st,mt)=>!!Ze(mt)&&mt===et.getParent(st.endContainer,Rx)&&ql(je(mt),st))(re,ee,ke)?Sx(K,ee,je(ke)):ee.startContainer===ee.endContainer&&ee.endOffset-ee.startOffset==1&&ao(ee.startContainer.childNodes[ee.startOffset])?ee.deleteContents():K.getDoc().execCommand("Delete",!1)})(t);const O=c.getNode(),P={context:O.nodeName.toLowerCase(),data:n.data,insert:!0},M=u.parse(o,P);if(n.paste===!0&&ey(t.schema,M)&&((K,re)=>!!Y1(K,re))(d,O))return k=$A(y,d,c.getRng(),M),k&&c.setRng(k),o;n.paste===!0&&((K,re,ee,ke)=>{var et;const st=re.firstChild,mt=re.lastChild,kt=st===(mt.attr("data-mce-type")==="bookmark"?mt.prev:mt),Ve=lo(Z4,st.name);if(kt&&Ve){const ot=st.attr("contenteditable")!=="false",pt=((et=K.getParent(ee,K.isBlock))===null||et===void 0?void 0:et.nodeName.toLowerCase())===st.name,Jt=V.from(Zu(ke,ee)).forall(zi);return ot&&pt&&Jt}return!1})(d,M,O,t.getBody())&&((a=M.firstChild)===null||a===void 0||a.unwrap()),(K=>{let re=K;for(;re=re.walk();)re.type===1&&re.attr("data-mce-fragment","1")})(M);let j=M.lastChild;if(j&&j.attr("id")==="mce_marker"){const K=j;for(j=j.prev;j;j=j.walk(!0))if(j.type===3||!d.isBlock(j.name)){j.parent&&t.schema.isValidChild(j.parent.name,"span")&&j.parent.insert(K,j,j.name==="br");break}}if(t._selectionOverrides.showBlockCaretContainer(O),P.invalid||((K,re,ee)=>{var ke;return To(ee.children(),Q_)&&((ke=K.getParent(re,K.isBlock))===null||ke===void 0?void 0:ke.nodeName)==="SUMMARY"})(d,O,M)){t.selection.setContent(v);let K,re=c.getNode();const ee=t.getBody();for(xd(re)?re=K=ee:K=re;K&&K!==ee;)re=K,K=K.parentNode;o=re===ee?ee.innerHTML:d.getOuterHTML(re);const ke=u.parse(o),et=(ot=>{for(let pt=ot;pt;pt=pt.walk())if(pt.attr("id")==="mce_marker")return V.some(pt);return V.none()})(ke),st=et.bind(V4).getOr(ke);et.each(ot=>ot.replace(M));const mt=M.children(),kt=(i=M.parent)!==null&&i!==void 0?i:ke;M.unwrap();const Ve=gt(mt,ot=>Mx(t.schema,ot,kt));Nx(Ve,t.schema,st),Ax(u.getNodeFilters(),u.getAttributeFilters(),ke),o=y.serialize(ke),re===ee?d.setHTML(ee,o):d.setOuterHTML(re,o)}else o=y.serialize(M),((K,re,ee)=>{var ke;if(ee.getAttribute("data-mce-bogus")==="all")(ke=ee.parentNode)===null||ke===void 0||ke.insertBefore(K.dom.createFragment(re),ee);else{const et=ee.firstChild,st=ee.lastChild;!et||et===st&&et.nodeName==="BR"?K.dom.setHTML(ee,re):K.selection.setContent(re,{no_events:!0})}})(t,o,O);var q;return((K,re)=>{const ee=K.schema.getTextInlineElements(),ke=K.dom;if(re){const et=K.getBody(),st=Ex(K);go.each(ke.select("*[data-mce-fragment]"),mt=>{if(Ze(ee[mt.nodeName.toLowerCase()])&&((kt,Ve)=>ze(Dr(kt,Ve),ot=>!(pt=>D_.has(pt))(ot)))(ke,mt)){for(let kt=mt.parentElement;Ze(kt)&&kt!==et&&!v4(ke,mt,kt);kt=kt.parentElement)if(st.compare(kt,mt)){ke.remove(mt,!0);break}}})}})(t,f),((K,re)=>{var ee,ke,et;let st;const mt=K.dom,kt=K.selection;if(!re)return;kt.scrollIntoView(re);const Ve=Zu(K.getBody(),re);if(Ve&&mt.getContentEditable(Ve)==="false")return mt.remove(re),void kt.select(Ve);let ot=mt.createRng();const pt=re.previousSibling;if(ao(pt)){ot.setStart(pt,(ke=(ee=pt.nodeValue)===null||ee===void 0?void 0:ee.length)!==null&&ke!==void 0?ke:0);const Qo=re.nextSibling;ao(Qo)&&(pt.appendData(Qo.data),(et=Qo.parentNode)===null||et===void 0||et.removeChild(Qo))}else ot.setStartBefore(re),ot.setEndBefore(re);const Jt=mt.getParent(re,mt.isBlock);if(mt.remove(re),Jt&&mt.isEmpty(Jt)){const Qo=Rx(Jt);bd(je(Jt)),ot.setStart(Jt,0),ot.setEnd(Jt,0),Qo||(Fo=>!!Fo.getAttribute("data-mce-fragment"))(Jt)||!(st=(Fo=>{let Nn=Ht.fromRangeStart(Fo);return Nn=nc(K.getBody()).next(Nn),Nn?.toRange()})(ot))?mt.add(Jt,mt.create("br",Qo?{}:{"data-mce-bogus":"1"})):(ot=st,mt.remove(Jt))}kt.setRng(ot)})(t,d.get("mce_marker")),q=t.getBody(),go.each(q.getElementsByTagName("*"),K=>{K.removeAttribute("data-mce-fragment")}),((K,re,ee)=>{V.from(K.getParent(re,"td,th")).map(je).each(ke=>((et,st)=>{Ra(et).each(mt=>{Ki(mt).each(kt=>{st.isBlock(Pe(et))&&pl(mt)&&st.isBlock(Pe(kt))&&Ea(mt)})})})(ke,ee))})(d,c.getStart(),t.schema),((K,re,ee)=>{const ke=Yl(je(ee),et=>sa(et,je(re)));$o(ke,ke.length-2).filter(kn).fold(()=>xp(K,re),et=>xp(K,et.dom))})(t.schema,t.getBody(),c.getStart()),o},xh=t=>t instanceof pc,Bx=(t,o,n)=>{t.dom.setHTML(t.getBody(),o),n!==!0&&(a=>{rf(a)&&Z(a.getBody()).each(i=>{const c=i.getNode(),d=Ms(c)?Z(c).getOr(i):i;a.selection.setRng(d.toRange())})})(t)},e2=t=>de(t)?t:uo,Fx=(t,o,n)=>{const a=o(t),i=e2(n);return a.orThunk(()=>i(t)?V.none():((c,d,u)=>{let f=c.dom;const y=e2(u);for(;f.parentNode;){f=f.parentNode;const v=je(f),k=d(v);if(k.isSome())return k;if(y(v))break}return V.none()})(t,o,i))},Lx=Pc,t2=(t,o,n)=>{const a=t.formatter.get(n);if(a)for(let i=0;i{const c=t.dom.getRoot();if(o===c)return!1;const d=t.dom.getParent(o,u=>!!t2(t,u,n)||u.parentNode===c||!!Cm(t,u,n,a,!0));return!!Cm(t,d,n,a,i)},X1=(t,o,n)=>!(!el(n)||!Lx(o,n.inline))||!(!Wm(n)||!Lx(o,n.block))||!!Fd(n)&&rn(o)&&t.is(o,n.selector),o2=(t,o,n,a,i,c)=>{const d=n[a],u=a==="attributes";if(de(n.onmatch))return n.onmatch(o,n,a);if(d){if(Yr(d)){for(let f=0;f{const c=t.formatter.get(n),d=t.dom;if(c&&rn(o))for(let u=0;u{if(a)return Ix(t,a,o,n,i);if(a=t.selection.getNode(),Ix(t,a,o,n,i))return!0;const c=t.selection.getStart();return!(c===a||!Ix(t,c,o,n,i))},wh=Za,n2=t=>{if(t){const o=new Ns(t,t);for(let n=o.current();n;n=o.next())if(ao(n))return n}return null},Hx=t=>{const o=_s("span");return Ee(o,{id:ae,"data-mce-bogus":"1","data-mce-type":"format-caret"}),t&&os(o,vc(wh)),o},jx=(t,o,n)=>{const a=t.dom,i=t.selection;if(M3(o))fc(t,!1,je(o),n,!0);else{const c=i.getRng(),d=a.getParent(o,a.isBlock),u=c.startContainer,f=c.startOffset,y=c.endContainer,v=c.endOffset,k=(E=>{const B=n2(E);return B&&B.data.charAt(0)===wh&&B.deleteData(0,1),B})(o);a.remove(o,!0),u===k&&f>0&&c.setStart(k,f-1),y===k&&v>0&&c.setEnd(k,v-1),d&&a.isEmpty(d)&&Oi(je(d)),i.setRng(c)}},Vx=(t,o,n)=>{const a=t.dom,i=t.selection;if(o)jx(t,o,n);else if(!(o=Le(t.getBody(),i.getStart())))for(;o=a.get(ae);)jx(t,o,n)},r2=(t,o)=>(t.appendChild(o),o),a2=(t,o)=>{var n;const a=pe(t,(c,d)=>r2(c,d.cloneNode(!1)),o),i=(n=a.ownerDocument)!==null&&n!==void 0?n:document;return r2(a,i.createTextNode(wh))},s2=(t,o,n,a)=>{const i=t.dom,c=t.selection;let d=!1;const u=t.formatter.get(o);if(!u)return;const f=c.getRng(),y=f.startContainer,v=f.startOffset;let k=y;ao(y)&&(v!==y.data.length&&(d=!0),k=k.parentNode);const E=[];let B;for(;k;){if(Cm(t,k,o,n,a)){B=k;break}k.nextSibling&&(d=!0),E.push(k),k=k.parentNode}if(B)if(d){const O=c.getBookmark();f.collapse(!0);let P=ef(i,f,u,!0);P=N1(P),t.formatter.remove(o,n,P,a),c.moveToBookmark(O)}else{const O=Le(t.getBody(),B),P=Ze(O)?i.getParents(B.parentNode,Bt,O):[],M=Hx(!1).dom;((K,re,ee)=>{var ke,et;const st=K.dom,mt=st.getParent(ee,Je(Zv,K.schema));mt&&st.isEmpty(mt)?(ke=ee.parentNode)===null||ke===void 0||ke.replaceChild(re,ee):((kt=>{const Ve=wa(kt,"br"),ot=gt((pt=>{const Jt=[];let Qo=pt.dom;for(;Qo;)Jt.push(je(Qo)),Qo=Qo.lastChild;return Jt})(kt).slice(-1),pl);Ve.length===ot.length&&Se(ot,Ea)})(je(ee)),st.isEmpty(ee)?(et=ee.parentNode)===null||et===void 0||et.replaceChild(re,ee):st.insertAfter(re,ee))})(t,M,O??B);const j=((K,re,ee,ke,et,st)=>{const mt=K.formatter,kt=K.dom,Ve=gt(ut(mt.get()),pt=>pt!==ke&&!Xr(pt,"removeformat")),ot=((pt,Jt,Qo)=>Oe(Qo,(Fo,Nn)=>{const An=((Jn,jn)=>Gr(Jn,jn,cn=>{const vn=cr=>de(cr)||cr.length>1&&cr.charAt(0)==="%";return To(["styles","attributes"],cr=>Fn(cn,cr).exists(Qe=>{const nt=co(Qe)?Qe:vr(Qe);return To(nt,vn)}))}))(pt,Nn);return pt.formatter.matchNode(Jt,Nn,{},An)?Fo.concat([Nn]):Fo},[]))(K,ee,Ve);if(gt(ot,pt=>!((Jt,Qo,Fo)=>{const Nn=["inline","block","selector","attributes","styles","classes"],An=Jn=>Rr(Jn,(jn,cn)=>To(Nn,vn=>vn===cn));return Gr(Jt,Qo,Jn=>{const jn=An(Jn);return Gr(Jt,Fo,cn=>{const vn=An(cn);return((cr,Qe,nt=Lo)=>to(nt).eq(cr,Qe))(jn,vn)})})})(K,pt,ke)).length>0){const pt=ee.cloneNode(!1);return kt.add(re,pt),mt.remove(ke,et,pt,st),kt.remove(pt),V.some(pt)}return V.none()})(t,M,B,o,n,a),q=a2([...E,...j.toArray(),...P],M);O&&jx(t,O,Ze(O)),c.setCursorLocation(q,1),i.isEmpty(B)&&i.remove(B)}},J1=t=>{const o=Hx(!1),n=a2(t,o.dom);return{caretContainer:o,caretPosition:Ht(n,0)}},Q1=(t,o)=>{const{caretContainer:n,caretPosition:a}=J1(o);return rl(je(t),n),Ea(je(t)),a},e0=(t,o)=>{if(be(o.dom))return!1;const n=t.schema.getTextInlineElements();return ln(n,Pe(o))&&!be(o.dom)&&!El(o.dom)},ty={},t0=ka(["pre"]);((t,o)=>{ty[t]||(ty[t]=[]),ty[t].push(n=>{if(!n.selection.getRng().collapsed){const a=n.selection.getSelectedBlocks(),i=gt(gt(a,t0),(c=>d=>{const u=d.previousSibling;return t0(u)&&lo(c,u)})(a));Se(i,c=>{((d,u)=>{const f=je(u),y=Si(f).dom;Ea(f),dc(je(d),[_s("br",y),_s("br",y),...Lt(f)])})(c.previousSibling,c)})}})})("pre");const $x=["fontWeight","fontStyle","color","fontSize","fontFamily"],oy=(t,o)=>{const n=t.get(o);return co(n)?Fe(n,a=>el(a)&&a.inline==="span"&&(i=>it(i.styles)&&To(ut(i.styles),c=>lo($x,c)))(a)):V.none()},Ux=(t,o)=>I(o,Ht.fromRangeStart(t)).isNone(),i2=(t,o)=>L(o,Ht.fromRangeEnd(t)).exists(n=>!da(n.getNode())||L(o,n).isSome())===!1,kh=t=>o=>Yd(o)&&t.isEditable(o),Zx=t=>gt(t.getSelectedBlocks(),kh(t.dom)),o0=go.each,_h=t=>rn(t)&&!No(t)&&!be(t)&&!El(t),qg=(t,o)=>{for(let n=t;n;n=n[o]){if(ao(n)&&on(n.data))return t;if(rn(n)&&!No(n))return n}return t},l2=(t,o,n)=>{const a=Ex(t),i=Ti(o)&&t.dom.isEditable(o),c=Ti(n)&&t.dom.isEditable(n);if(i&&c){const d=qg(o,"previousSibling"),u=qg(n,"nextSibling");if(a.compare(d,u)){for(let f=d.nextSibling;f&&f!==u;){const y=f;f=f.nextSibling,d.appendChild(y)}return t.dom.remove(u),go.each(go.grep(u.childNodes),f=>{d.appendChild(f)}),d}}return n},W4=(t,o,n,a)=>{var i;if(a&&o.merge_siblings!==!1){const c=(i=l2(t,A3(a),a))!==null&&i!==void 0?i:a;l2(t,c,A3(c,!0))}},qx=(t,o,n)=>{o0(t.childNodes,a=>{_h(a)&&(o(a)&&n(a),a.hasChildNodes()&&qx(a,o,n))})},c2=(t,o)=>n=>!(!n||!Lg(t,n,o)),Wx=(t,o,n)=>a=>{t.setStyle(a,o,n),a.getAttribute("style")===""&&a.removeAttribute("style"),((i,c)=>{c.nodeName==="SPAN"&&i.getAttribs(c).length===0&&i.remove(c,!0)})(t,a)},Oc=zc([{keep:[]},{rename:["name"]},{removed:[]}]),d2=/^(src|href|style)$/,ny=go.each,n0=Pc,G4=(t,o,n)=>t.isChildOf(o,n)&&o!==n&&!t.isBlock(n),u2=(t,o,n)=>{let a=o[n?"startContainer":"endContainer"],i=o[n?"startOffset":"endOffset"];if(rn(a)){const c=a.childNodes.length-1;!n&&i&&i--,a=a.childNodes[i>c?c:i]}return ao(a)&&n&&i>=a.data.length&&(a=new Ns(a,t.getBody()).next()||a),ao(a)&&!n&&i===0&&(a=new Ns(a,t.getBody()).prev()||a),a},m2=(t,o)=>{const n=o?"firstChild":"lastChild",a=t[n];return(i=>/^(TR|TH|TD)$/.test(i.nodeName))(t)&&a?t.nodeName==="TR"&&a[n]||a:t},r0=(t,o,n,a)=>{var i;const c=t.create(n,a);return(i=o.parentNode)===null||i===void 0||i.insertBefore(c,o),c.appendChild(o),c},g2=(t,o,n,a,i)=>{const c=je(o),d=je(t.create(a,i)),u=n?yt(c):ve(c);return dc(d,u),n?(rl(c,d),Jl(d,c)):(Da(c,d),os(d,c)),d.dom},ry=(t,o,n)=>{const a=o.parentNode;let i;const c=t.dom,d=Ts(t);Wm(n)&&a===c.getRoot()&&(n.list_block&&n0(o,n.list_block)||Se(Pn(o.childNodes),u=>{Jp(t,d,u.nodeName.toLowerCase())?i?i.appendChild(u):(i=r0(c,u,d),c.setAttribs(i,gc(t))):i=null})),(u=>Fd(u)&&el(u)&&aa(Fn(u,"mixed"),!0))(n)&&!n0(n.inline,o)||c.remove(o,!0)},p2=(t,o,n)=>rt(t)?{name:o,value:null}:{name:t,value:Qp(o,n)},f2=(t,o)=>{t.getAttrib(o,"style")===""&&(o.removeAttribute("style"),o.removeAttribute("data-mce-style"))},h2=(t,o,n,a,i)=>{let c=!1;ny(n.styles,(d,u)=>{const{name:f,value:y}=p2(u,d,a),v=Wl(y,f);(n.remove_similar||he(y)||!rn(i)||n0(Lg(t,i,f),v))&&t.setStyle(o,f,""),c=!0}),c&&f2(t,o)},K4=(t,o,n,a,i)=>{const c=t.dom,d=Ex(t),u=t.schema;if(el(o)&&wp(u,o.inline)&&Ed(u,a)&&a.parentElement===t.getBody())return ry(t,a,o),Oc.removed();if(!o.ceFalseOverride&&a&&c.getContentEditableParent(a)==="false"||a&&!X1(c,a,o)&&!((v,k)=>k.links&&v.nodeName==="A")(a,o))return Oc.keep();const f=a,y=o.preserve_attributes;if(el(o)&&o.remove==="all"&&co(y)){const v=gt(c.getAttribs(f),k=>lo(y,k.name.toLowerCase()));if(c.removeAllAttribs(f),Se(v,k=>c.setAttrib(f,k.name,k.value)),v.length>0)return Oc.rename("span")}if(o.remove!=="all"){h2(c,f,o,n,i),ny(o.attributes,(k,E)=>{const{name:B,value:O}=p2(E,k,n);if(o.remove_similar||he(O)||!rn(i)||n0(c.getAttrib(i,B),O)){if(B==="class"){const P=c.getAttrib(f,B);if(P){let M="";if(Se(P.split(/\s+/),j=>{/mce\-\w+/.test(j)&&(M+=(M?" ":"")+j)}),M)return void c.setAttrib(f,B,M)}}if(d2.test(B)&&f.removeAttribute("data-mce-"+B),B==="style"&&ka(["li"])(f)&&c.getStyle(f,"list-style-type")==="none")return f.removeAttribute(B),void c.setStyle(f,"list-style-type","none");B==="class"&&f.removeAttribute("className"),f.removeAttribute(B)}}),ny(o.classes,k=>{k=Qp(k,n),rn(i)&&!c.hasClass(i,k)||c.removeClass(f,k)});const v=c.getAttribs(f);for(let k=0;kK4(t,o,n,a,a).fold(Ct(a),i=>(t.dom.createFragment().appendChild(a),t.dom.rename(a,i)),Ct(null)),cf=(t,o,n,a,i)=>{(a||t.selection.isEditable())&&((c,d,u,f,y)=>{const v=c.formatter.get(d),k=v[0],E=c.dom,B=c.selection,O=K=>{const re=((ee,ke,et,st,mt)=>{let kt;return ke.parentNode&&Se(Wv(ee.dom,ke.parentNode).reverse(),Ve=>{if(!kt&&rn(Ve)&&Ve.id!=="_start"&&Ve.id!=="_end"){const ot=Cm(ee,Ve,et,st,mt);ot&&ot.split!==!1&&(kt=Ve)}}),kt})(c,K,d,u,y);return((ee,ke,et,st,mt,kt,Ve,ot)=>{var pt,Jt;let Qo,Fo;const Nn=ee.dom;if(et){const An=et.parentNode;for(let Jn=st.parentNode;Jn&&Jn!==An;Jn=Jn.parentNode){let jn=Nn.clone(Jn,!1);for(let cn=0;cnTo(v,re=>a0(c,re,u,K,K)),M=K=>{const re=Pn(K.childNodes),ee=P(K)||To(v,et=>X1(E,K,et)),ke=K.parentNode;if(!ee&&Ze(ke)&&l_(k)&&P(ke),k.deep&&re.length)for(let et=0;et{rn(K)&&c.dom.getStyle(K,"text-decoration")===et&&K.parentNode&&N3(E,K.parentNode)===et&&a0(c,{deep:!1,exact:!0,inline:"span",styles:{textDecoration:et}},void 0,K)})},j=K=>{const re=E.get(K?"_start":"_end");if(re){let ee=re[K?"firstChild":"lastChild"];return(ke=>No(ke)&&rn(ke)&&(ke.id==="_start"||ke.id==="_end"))(ee)&&(ee=ee[K?"firstChild":"lastChild"]),ao(ee)&&ee.data.length===0&&(ee=K?re.previousSibling||re.nextSibling:re.nextSibling||re.previousSibling),E.remove(re,!0),ee}return null},q=K=>{let re,ee,ke=ef(E,K,v,K.collapsed);if(k.split){if(ke=N1(ke),re=u2(c,ke,!0),ee=u2(c,ke),re!==ee){if(re=m2(re,!0),ee=m2(ee,!1),G4(E,re,ee)){const st=V.from(re.firstChild).getOr(re);return O(g2(E,st,!0,"span",{id:"_start","data-mce-type":"bookmark"})),void j(!0)}if(G4(E,ee,re)){const st=V.from(ee.lastChild).getOr(ee);return O(g2(E,st,!1,"span",{id:"_end","data-mce-type":"bookmark"})),void j(!1)}re=r0(E,re,"span",{id:"_start","data-mce-type":"bookmark"}),ee=r0(E,ee,"span",{id:"_end","data-mce-type":"bookmark"});const et=E.createRng();et.setStartAfter(re),et.setEndBefore(ee),T1(E,et,st=>{Se(st,mt=>{No(mt)||No(mt.parentNode)||O(mt)})}),O(re),O(ee),re=j(!0),ee=j()}else re=ee=O(re);ke.startContainer=re.parentNode?re.parentNode:re,ke.startOffset=E.nodeIndex(re),ke.endContainer=ee.parentNode?ee.parentNode:ee,ke.endOffset=E.nodeIndex(ee)+1}T1(E,ke,et=>{Se(et,M)})};if(f){if(wm(f)){const K=E.createRng();K.setStartBefore(f),K.setEndAfter(f),q(K)}else q(f);A1(c,d,f,u)}else B.isCollapsed()&&el(k)&&!ca(c).length?s2(c,d,u,y):(Yp(c,()=>Vu(c,q),K=>el(k)&&Px(c,d,u,K)),c.nodeChanged()),((K,re,ee)=>{re==="removeformat"?Se(Zx(K.selection),ke=>{Se($x,et=>K.dom.setStyle(ke,et,"")),f2(K.dom,ke)}):oy(K.formatter,re).each(ke=>{Se(Zx(K.selection),et=>h2(K.dom,et,ke,ee,null))})})(c,d,u),A1(c,d,f,u)})(t,o,n,a,i)},a0=(t,o,n,a,i)=>K4(t,o,n,a,i).fold(uo,c=>(t.dom.rename(a,c),!0),Bt),Y4=go.each,Ch=go.each,y2=(t,o,n,a)=>{if(Ch(n.styles,(i,c)=>{t.setStyle(o,c,Qp(i,a))}),n.styles){const i=t.getAttrib(o,"style");i&&t.setAttrib(o,"data-mce-style",i)}},X4=(t,o,n,a)=>{const i=t.formatter.get(o),c=i[0],d=!a&&t.selection.isCollapsed(),u=t.dom,f=t.selection,y=(O,P=c)=>{de(P.onformat)&&P.onformat(O,P,n,a),y2(u,O,P,n),Ch(P.attributes,(M,j)=>{u.setAttrib(O,j,Qp(M,n))}),Ch(P.classes,M=>{const j=Qp(M,n);u.hasClass(O,j)||u.addClass(O,j)})},v=(O,P)=>{let M=!1;return Ch(O,j=>!(!Fd(j)||(u.getContentEditable(P)!=="false"||j.ceFalseOverride)&&(!Ze(j.collapsed)||j.collapsed===d)&&u.is(P,j.selector)&&!be(P)&&(y(P,j),M=!0,1))),M},k=O=>{if(Ue(O)){const P=u.create(O);return y(P),P}return null},E=(O,P,M)=>{const j=[];let q=!0;const K=c.inline||c.block,re=k(K);T1(O,P,ee=>{let ke;const et=st=>{let mt=!1,kt=q,Ve=!1;const ot=st.parentNode,pt=ot.nodeName.toLowerCase(),Jt=O.getContentEditable(st);Ze(Jt)&&(kt=q,q=Jt==="true",mt=!0,Ve=O3(t,st));const Qo=q&&!mt;if(da(st)&&!((Fo,Nn,An,Jn)=>{if(oh(Fo)&&el(Nn)&&An.parentNode){const jn=gg(Fo.schema),cn=VA(je(An),vn=>be(vn.dom));return xr(jn,Jn)&&ys(je(An.parentNode),!1)&&!cn}return!1})(t,c,st,pt))return ke=null,void(Wm(c)&&O.remove(st));if((Fo=>(Nn=>Wm(Nn)&&Nn.wrapper===!0)(c)&&Cm(t,Fo,o,n))(st))ke=null;else{if(((Fo,Nn,An)=>{const Jn=(jn=>Wm(jn)&&jn.wrapper!==!0)(c)&&Zv(t.schema,Fo)&&Jp(t,Nn,K);return An&&Jn})(st,pt,Qo)){const Fo=O.rename(st,K);return y(Fo),j.push(Fo),void(ke=null)}if(Fd(c)){let Fo=v(i,st);if(!Fo&&Ze(ot)&&l_(c)&&(Fo=v(i,ot)),!el(c)||Fo)return void(ke=null)}Ze(re)&&((Fo,Nn,An,Jn)=>{const jn=Fo.nodeName.toLowerCase(),cn=Jp(t,K,jn)&&Jp(t,Nn,K),vn=!M&&ao(Fo)&&_c(Fo.data),cr=be(Fo),Qe=!el(c)||!O.isBlock(Fo);return(An||Jn)&&cn&&!vn&&!cr&&Qe})(st,pt,Qo,Ve)?(ke||(ke=O.clone(re,!1),ot.insertBefore(ke,st),j.push(ke)),Ve&&mt&&(q=kt),ke.appendChild(st)):(ke=null,Se(Pn(st.childNodes),et),mt&&(q=kt),ke=null)}};Se(ee,et)}),c.links===!0&&Se(j,ee=>{const ke=et=>{et.nodeName==="A"&&y(et,c),Se(Pn(et.childNodes),ke)};ke(ee)}),Se(j,ee=>{const ke=(et=>{let st=0;return Se(et.childNodes,mt=>{(kt=>Ze(kt)&&ao(kt)&&kt.length===0)(mt)||No(mt)||st++}),st})(ee);!(j.length>1)&&O.isBlock(ee)||ke!==0?(el(c)||Wm(c)&&c.wrapper)&&(c.exact||ke!==1||(ee=(et=>Fe(et.childNodes,Fg).filter(mt=>O.getContentEditable(mt)!=="false"&&X1(O,mt,c)).map(mt=>{const kt=O.clone(mt,!1);return y(kt),O.replace(kt,et,!0),O.remove(mt,!0),kt}).getOr(et))(ee)),((et,st,mt,kt)=>{Y4(st,Ve=>{el(Ve)&&Y4(et.dom.select(Ve.inline,kt),ot=>{_h(ot)&&a0(et,Ve,mt,ot,Ve.exact?ot:null)}),((ot,pt,Jt)=>{if(pt.clear_child_styles){const Qo=pt.links?"*:not(a)":"*";o0(ot.select(Qo,Jt),Fo=>{_h(Fo)&&ot.isEditable(Fo)&&o0(pt.styles,(Nn,An)=>{ot.setStyle(Fo,An,"")})})}})(et.dom,Ve,kt)})})(t,i,n,ee),((et,st,mt,kt,Ve)=>{const ot=Ve.parentNode;Cm(et,ot,mt,kt)&&a0(et,st,kt,Ve)||st.merge_with_parents&&ot&&et.dom.getParent(ot,pt=>!!Cm(et,pt,mt,kt)&&(a0(et,st,kt,Ve),!0))})(t,c,o,n,ee),((et,st,mt,kt)=>{if(st.styles&&st.styles.backgroundColor){const Ve=c2(et,"fontSize");qx(kt,ot=>Ve(ot)&&et.isEditable(ot),Wx(et,"backgroundColor",Qp(st.styles.backgroundColor,mt)))}})(O,c,n,ee),((et,st,mt,kt)=>{const Ve=ot=>{if(Ti(ot)&&rn(ot.parentNode)&&et.isEditable(ot)){const pt=N3(et,ot.parentNode);et.getStyle(ot,"color")&&pt?et.setStyle(ot,"text-decoration",pt):et.getStyle(ot,"text-decoration")===pt&&et.setStyle(ot,"text-decoration",null)}};st.styles&&(st.styles.color||st.styles.textDecoration)&&(go.walk(kt,Ve,"childNodes"),Ve(kt))})(O,c,0,ee),((et,st,mt,kt)=>{if(el(st)&&(st.inline==="sub"||st.inline==="sup")){const Ve=c2(et,"fontSize");qx(kt,pt=>Ve(pt)&&et.isEditable(pt),Wx(et,"fontSize",""));const ot=gt(et.select(st.inline==="sup"?"sub":"sup",kt),et.isEditable);et.remove(ot,!0)}})(O,c,0,ee),W4(t,c,0,ee)):O.remove(ee,!0)})},B=wm(a)?a:f.getNode();if(u.getContentEditable(B)==="false"&&!O3(t,B))return v(i,a=B),void $b(t,o,a,n);if(c){if(a)if(wm(a)){if(!v(i,a)){const O=u.createRng();O.setStartBefore(a),O.setEndAfter(a),E(u,ef(u,O,i),!0)}}else E(u,a,!0);else d&&el(c)&&!ca(t).length?((O,P,M)=>{let j;const q=O.selection,K=O.formatter.get(P);if(!K)return;const re=q.getRng();let ee=re.startOffset;const ke=re.startContainer.nodeValue;j=Le(O.getBody(),q.getStart());const et=/[^\s\u00a0\u00ad\u200b\ufeff]/;if(ke&&ee>0&&ee{Vu(t,(O,P)=>{const M=P?O:ef(u,O,i);E(u,M,!1)})},Bt),t.nodeChanged()),oy(t.formatter,o).each(O=>{Se((P=>gt((M=>{const j=M.getSelectedBlocks(),q=M.getRng();if(M.isCollapsed())return[];if(j.length===1)return Ux(q,j[0])&&i2(q,j[0])?j:[];{const K=Zo(j).filter(ke=>Ux(q,ke)).toArray(),re=Gn(j).filter(ke=>i2(q,ke)).toArray(),ee=j.slice(1,-1);return K.concat(ee).concat(re)}})(P),kh(P.dom)))(t.selection),P=>y2(u,P,O,n))});((O,P)=>{ln(ty,O)&&Se(ty[O],M=>{M(P)})})(o,t)}$b(t,o,a,n)},J4=(t,o,n,a)=>{(a||t.selection.isEditable())&&X4(t,o,n,a)},v2=t=>ln(t,"vars"),df=t=>t.selection.getStart(),x2=(t,o,n,a,i)=>We(o,c=>{const d=t.formatter.matchNode(c,n,i??{},a);return!fo(d)},c=>!!t2(t,c,n)||!a&&Ze(t.formatter.matchNode(c,n,i,!0))),w2=(t,o)=>{const n=o??df(t);return gt(Wv(t.dom,n),a=>rn(a)&&!El(a))},k2=(t,o,n)=>{const a=w2(t,o);Ft(n,(i,c)=>{const d=u=>{const f=x2(t,a,c,u.similar,v2(u)?u.vars:void 0),y=f.isSome();if(u.state.get()!==y){u.state.set(y);const v=f.getOr(o);v2(u)?u.callback(y,{node:v,format:c,parents:a}):Se(u.callbacks,k=>k(y,{node:v,format:c,parents:a}))}};Se([i.withSimilar,i.withoutSimilar],d),Se(i.withVars,d)})},s0=go.explode,_2=()=>{const t={};return{addFilter:(o,n)=>{Se(s0(o),a=>{ln(t,a)||(t[a]={name:a,callbacks:[]}),t[a].callbacks.push(n)})},getFilters:()=>vr(t),removeFilter:(o,n)=>{Se(s0(o),a=>{if(ln(t,a))if(Ze(n)){const i=t[a],c=gt(i.callbacks,d=>d!==n);c.length>0?i.callbacks=c:delete t[a]}else delete t[a]})}}},Q4=(t,o,n)=>{var a;const i=Xn();o.convert_fonts_to_spans&&((c,d,u)=>{c.addNodeFilter("font",f=>{Se(f,y=>{const v=d.parse(y.attr("style")),k=y.attr("color"),E=y.attr("face"),B=y.attr("size");k&&(v.color=k),E&&(v["font-family"]=E),B&&Vr(B).each(O=>{v["font-size"]=u[O-1]}),y.name="span",y.attr("style",d.serialize(v)),((O,P)=>{Se(["color","face","size"],M=>{O.attr(M,null)})})(y)})})})(t,i,go.explode((a=o.font_size_legacy_values)!==null&&a!==void 0?a:"")),((c,d,u)=>{c.addNodeFilter("strike",f=>{const y=d.type!=="html4";Se(f,v=>{if(y)v.name="s";else{const k=u.parse(v.attr("style"));k["text-decoration"]="line-through",v.name="span",v.attr("style",u.serialize(k))}})})})(t,n,i)},eE=(t,o,n)=>{o.addNodeFilter("br",(a,i,c)=>{const d=go.extend({},n.getBlockElements()),u=n.getNonEmptyElements(),f=n.getWhitespaceElements();d.body=1;const y=v=>v.name in d||Pm(n,v);for(let v=0,k=a.length;v{const[o,...n]=t.split(","),a=n.join(","),i=/data:([^/]+\/[^;]+)(;.+)?/.exec(o);if(i){const c=i[2]===";base64",d=c?(u=>{const f=/([a-z0-9+\/=\s]+)/i.exec(u);return f?f[1]:""})(a):decodeURIComponent(a);return V.some({type:i[1],data:d,base64Encoded:c})}return V.none()},C2=(t,o,n=!0)=>{let a=o;if(n)try{a=atob(o)}catch{return V.none()}const i=new Uint8Array(a.length);for(let c=0;cnew Promise((o,n)=>{const a=new FileReader;a.onloadend=()=>{o(a.result)},a.onerror=()=>{var i;n((i=a.error)===null||i===void 0?void 0:i.message)},a.readAsDataURL(t)});let tE=0;const Kx=(t,o,n)=>ay(t).bind(({data:a,type:i,base64Encoded:c})=>{if(o&&!c)return V.none();{const d=c?a:btoa(a);return n(d,i)}}),S2=(t,o,n)=>{const a=t.create("blobid"+tE++,o,n);return t.add(a),a},i0=(t,o,n=!1)=>Kx(o,n,(a,i)=>V.from(t.getByData(a,i)).orThunk(()=>C2(i,a).map(c=>S2(t,c,a)))),Sm=(t,o)=>gr(t,`${o}/`),UA=(t,o)=>{const n=t.schema;o.remove_trailing_brs&&eE(o,t,n),t.addAttributeFilter("href",i=>{let c=i.length;const d=u=>{const f=u?go.trim(u):"";return/\b(noopener)\b/g.test(f)?f:(y=>y.split(" ").filter(v=>v.length>0).concat(["noopener"]).sort().join(" "))(f)};if(!o.allow_unsafe_link_target)for(;c--;){const u=i[c];u.name==="a"&&u.attr("target")==="_blank"&&u.attr("rel",d(u.attr("rel")))}}),o.allow_html_in_named_anchor||t.addAttributeFilter("id,name",i=>{let c,d,u,f,y=i.length;for(;y--;)if(f=i[y],f.name==="a"&&f.firstChild&&!f.attr("href"))for(u=f.parent,c=f.lastChild;c&&u;)d=c.prev,u.insert(c,f),c=d}),o.fix_list_elements&&t.addNodeFilter("ul,ol",i=>{let c,d,u=i.length;for(;u--;)if(c=i[u],d=c.parent,d&&(d.name==="ul"||d.name==="ol"))if(c.prev&&c.prev.name==="li")c.prev.append(c);else{const f=new pc("li",1);f.attr("style","list-style-type: none"),c.wrap(f)}});const a=n.getValidClasses();o.validate&&a&&t.addAttributeFilter("class",i=>{var c;let d=i.length;for(;d--;){const u=i[d],f=(c=u.attr("class"))!==null&&c!==void 0?c:"",y=go.explode(f," ");let v="";for(let k=0;k{const{blob_cache:d}=c;if(d){const u=f=>{const y=f.attr("src");(v=>v.attr("src")===Rn.transparentSrc||Ze(v.attr("data-mce-placeholder")))(f)||(v=>Ze(v.attr("data-mce-bogus")))(f)||me(y)||i0(d,y,!0).each(v=>{f.attr("src",v.blobUri())})};i.addAttributeFilter("src",f=>Se(f,u))}})(t,o),o.convert_unsafe_embeds&&t.addNodeFilter("object,embed",i=>Se(i,c=>{c.replace(((d,u,f,y,v)=>{let k;k=fo(d)?"iframe":Sm(d,"image")?"img":Sm(d,"video")?"video":Sm(d,"audio")?"audio":"iframe";const E=new pc(k,1);return E.attr(k==="audio"?{src:u}:{src:u,width:f,height:y}),k!=="audio"&&k!=="video"||E.attr("controls",""),k==="iframe"&&v&&E.attr("sandbox",""),E})(c.attr("type"),c.name==="object"?c.attr("data"):c.attr("src"),c.attr("width"),c.attr("height"),o.sandbox_iframes))})),o.sandbox_iframes&&t.addNodeFilter("iframe",i=>Se(i,c=>c.attr("sandbox","")))},{entries:Yx,setPrototypeOf:ci,isFrozen:E2,getPrototypeOf:T2,getOwnPropertyDescriptor:Wg}=Object;let{freeze:$c,seal:qu,create:l0}=Object,{apply:z2,construct:A2}=typeof Reflect<"u"&&Reflect;z2||(z2=function(t,o,n){return t.apply(o,n)}),$c||($c=function(t){return t}),qu||(qu=function(t){return t}),A2||(A2=function(t,o){return new t(...o)});const sy=ll(Array.prototype.forEach),ZA=ll(Array.prototype.pop),Em=ll(Array.prototype.push),Xx=ll(String.prototype.toLowerCase),Xm=ll(String.prototype.toString),pu=ll(String.prototype.match),Id=ll(String.prototype.replace),O2=ll(String.prototype.indexOf),qA=ll(String.prototype.trim),fu=ll(RegExp.prototype.test),uf=(oE=TypeError,function(){for(var t=arguments.length,o=new Array(t),n=0;n1?n-1:0),i=1;i/gm),GA=qu(/\${[\w\W]*}/gm),KA=qu(/^data-[\-\w.\u00B7-\uFFFF]/),YA=qu(/^aria-[\-\w]+$/),iE=qu(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),XA=qu(/^(?:\w+script|data):/i),JA=qu(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),lE=qu(/^html$/i);var cE=Object.freeze({__proto__:null,MUSTACHE_EXPR:sE,ERB_EXPR:WA,TMPLIT_EXPR:GA,DATA_ATTR:KA,ARIA_ATTR:YA,IS_ALLOWED_URI:iE,IS_SCRIPT_OR_DATA:XA,ATTR_WHITESPACE:JA,DOCTYPE_NAME:lE});const QA=()=>typeof window>"u"?null:window;var dE=function t(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:QA();const n=At=>t(At);if(n.version="3.0.5",n.removed=[],!o||!o.document||o.document.nodeType!==9)return n.isSupported=!1,n;const a=o.document,i=a.currentScript;let{document:c}=o;const{DocumentFragment:d,HTMLTemplateElement:u,Node:f,Element:y,NodeFilter:v,NamedNodeMap:k=o.NamedNodeMap||o.MozNamedAttrMap,HTMLFormElement:E,DOMParser:B,trustedTypes:O}=o,P=y.prototype,M=iy(P,"cloneNode"),j=iy(P,"nextSibling"),q=iy(P,"childNodes"),K=iy(P,"parentNode");if(typeof u=="function"){const At=c.createElement("template");At.content&&At.content.ownerDocument&&(c=At.content.ownerDocument)}let re,ee="";const{implementation:ke,createNodeIterator:et,createDocumentFragment:st,getElementsByTagName:mt}=c,{importNode:kt}=a;let Ve={};n.isSupported=typeof Yx=="function"&&typeof K=="function"&&ke&&ke.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:ot,ERB_EXPR:pt,TMPLIT_EXPR:Jt,DATA_ATTR:Qo,ARIA_ATTR:Fo,IS_SCRIPT_OR_DATA:Nn,ATTR_WHITESPACE:An}=cE;let{IS_ALLOWED_URI:Jn}=cE,jn=null;const cn=Na({},[...Jx,...Gg,...c0,...N2,...rE]);let vn=null;const cr=Na({},[...M2,...u0,...aE,...m0]);let Qe=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),nt=null,io=null,mo=!0,yo=!0,xn=!1,Wn=!0,hr=!1,tr=!1,Qa=!1,En=!1,Ur=!1,Zr=!1,Cr=!1,Kr=!0,cl=!1,Vn=!0,qr=!1,Fs={},dl=null;const Dl=Na({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let yc=null;const md=Na({},["audio","video","img","source","image","track"]);let Rl=null;const gd=Na({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ul="http://www.w3.org/1998/Math/MathML",ng="http://www.w3.org/2000/svg",wu="http://www.w3.org/1999/xhtml";let tm=wu,Nf=!1,Yh=null;const Xh=Na({},[ul,ng,wu],Xm);let qc;const jk=["application/xhtml+xml","text/html"];let Ks,Dm=null;const Mf=c.createElement("form"),Zy=function(At){return At instanceof RegExp||At instanceof Function},v3=function(At){if(!Dm||Dm!==At){if(At&&typeof At=="object"||(At={}),At=Sh(At),qc=qc=jk.indexOf(At.PARSER_MEDIA_TYPE)===-1?"text/html":At.PARSER_MEDIA_TYPE,Ks=qc==="application/xhtml+xml"?Xm:Xx,jn="ALLOWED_TAGS"in At?Na({},At.ALLOWED_TAGS,Ks):cn,vn="ALLOWED_ATTR"in At?Na({},At.ALLOWED_ATTR,Ks):cr,Yh="ALLOWED_NAMESPACES"in At?Na({},At.ALLOWED_NAMESPACES,Xm):Xh,Rl="ADD_URI_SAFE_ATTR"in At?Na(Sh(gd),At.ADD_URI_SAFE_ATTR,Ks):gd,yc="ADD_DATA_URI_TAGS"in At?Na(Sh(md),At.ADD_DATA_URI_TAGS,Ks):md,dl="FORBID_CONTENTS"in At?Na({},At.FORBID_CONTENTS,Ks):Dl,nt="FORBID_TAGS"in At?Na({},At.FORBID_TAGS,Ks):{},io="FORBID_ATTR"in At?Na({},At.FORBID_ATTR,Ks):{},Fs="USE_PROFILES"in At&&At.USE_PROFILES,mo=At.ALLOW_ARIA_ATTR!==!1,yo=At.ALLOW_DATA_ATTR!==!1,xn=At.ALLOW_UNKNOWN_PROTOCOLS||!1,Wn=At.ALLOW_SELF_CLOSE_IN_ATTR!==!1,hr=At.SAFE_FOR_TEMPLATES||!1,tr=At.WHOLE_DOCUMENT||!1,Ur=At.RETURN_DOM||!1,Zr=At.RETURN_DOM_FRAGMENT||!1,Cr=At.RETURN_TRUSTED_TYPE||!1,En=At.FORCE_BODY||!1,Kr=At.SANITIZE_DOM!==!1,cl=At.SANITIZE_NAMED_PROPS||!1,Vn=At.KEEP_CONTENT!==!1,qr=At.IN_PLACE||!1,Jn=At.ALLOWED_URI_REGEXP||iE,tm=At.NAMESPACE||wu,Qe=At.CUSTOM_ELEMENT_HANDLING||{},At.CUSTOM_ELEMENT_HANDLING&&Zy(At.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Qe.tagNameCheck=At.CUSTOM_ELEMENT_HANDLING.tagNameCheck),At.CUSTOM_ELEMENT_HANDLING&&Zy(At.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Qe.attributeNameCheck=At.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),At.CUSTOM_ELEMENT_HANDLING&&typeof At.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(Qe.allowCustomizedBuiltInElements=At.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),hr&&(yo=!1),Zr&&(Ur=!0),Fs&&(jn=Na({},[...rE]),vn=[],Fs.html===!0&&(Na(jn,Jx),Na(vn,M2)),Fs.svg===!0&&(Na(jn,Gg),Na(vn,u0),Na(vn,m0)),Fs.svgFilters===!0&&(Na(jn,c0),Na(vn,u0),Na(vn,m0)),Fs.mathMl===!0&&(Na(jn,N2),Na(vn,aE),Na(vn,m0))),At.ADD_TAGS&&(jn===cn&&(jn=Sh(jn)),Na(jn,At.ADD_TAGS,Ks)),At.ADD_ATTR&&(vn===cr&&(vn=Sh(vn)),Na(vn,At.ADD_ATTR,Ks)),At.ADD_URI_SAFE_ATTR&&Na(Rl,At.ADD_URI_SAFE_ATTR,Ks),At.FORBID_CONTENTS&&(dl===Dl&&(dl=Sh(dl)),Na(dl,At.FORBID_CONTENTS,Ks)),Vn&&(jn["#text"]=!0),tr&&Na(jn,["html","head","body"]),jn.table&&(Na(jn,["tbody"]),delete nt.tbody),At.TRUSTED_TYPES_POLICY){if(typeof At.TRUSTED_TYPES_POLICY.createHTML!="function")throw uf('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof At.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw uf('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');re=At.TRUSTED_TYPES_POLICY,ee=re.createHTML("")}else re===void 0&&(re=function(On,nr){if(typeof On!="object"||typeof On.createPolicy!="function")return null;let $a=null;const es="data-tt-policy-suffix";nr&&nr.hasAttribute(es)&&($a=nr.getAttribute(es));const Ls="dompurify"+($a?"#"+$a:"");try{return On.createPolicy(Ls,{createHTML:xs=>xs,createScriptURL:xs=>xs})}catch{return console.warn("TrustedTypes policy "+Ls+" could not be created."),null}}(O,i)),re!==null&&typeof ee=="string"&&(ee=re.createHTML(""));$c&&$c(At),Dm=At}},x3=Na({},["mi","mo","mn","ms","mtext"]),qy=Na({},["foreignobject","desc","title","annotation-xml"]),dA=Na({},["title","style","font","a","script"]),Vk=Na({},Gg);Na(Vk,c0),Na(Vk,nE);const $k=Na({},N2);Na($k,d0);const Df=function(At){Em(n.removed,{element:At});try{At.parentNode.removeChild(At)}catch{At.remove()}},uv=function(At,On){try{Em(n.removed,{attribute:On.getAttributeNode(At),from:On})}catch{Em(n.removed,{attribute:null,from:On})}if(On.removeAttribute(At),At==="is"&&!vn[At])if(Ur||Zr)try{Df(On)}catch{}else try{On.setAttribute(At,"")}catch{}},uA=function(At){let On,nr;if(En)At=""+At;else{const Ls=pu(At,/^[\r\n\t ]+/);nr=Ls&&Ls[0]}qc==="application/xhtml+xml"&&tm===wu&&(At=''+At+"");const $a=re?re.createHTML(At):At;if(tm===wu)try{On=new B().parseFromString($a,qc)}catch{}if(!On||!On.documentElement){On=ke.createDocument(tm,"template",null);try{On.documentElement.innerHTML=Nf?ee:$a}catch{}}const es=On.body||On.documentElement;return At&&nr&&es.insertBefore(c.createTextNode(nr),es.childNodes[0]||null),tm===wu?mt.call(On,tr?"html":"body")[0]:tr?On.documentElement:es},mA=function(At){return et.call(At.ownerDocument||At,At,v.SHOW_ELEMENT|v.SHOW_COMMENT|v.SHOW_TEXT,null,!1)},Uk=function(At){return typeof f=="object"?At instanceof f:At&&typeof At=="object"&&typeof At.nodeType=="number"&&typeof At.nodeName=="string"},rg=function(At,On,nr){Ve[At]&&sy(Ve[At],$a=>{$a.call(n,On,nr,Dm)})},Zk=function(At){let On;if(rg("beforeSanitizeElements",At,null),(nr=At)instanceof E&&(typeof nr.nodeName!="string"||typeof nr.textContent!="string"||typeof nr.removeChild!="function"||!(nr.attributes instanceof k)||typeof nr.removeAttribute!="function"||typeof nr.setAttribute!="function"||typeof nr.namespaceURI!="string"||typeof nr.insertBefore!="function"||typeof nr.hasChildNodes!="function"))return Df(At),!0;var nr;const $a=Ks(At.nodeName);if(rg("uponSanitizeElement",At,{tagName:$a,allowedTags:jn}),At.hasChildNodes()&&!Uk(At.firstElementChild)&&(!Uk(At.content)||!Uk(At.content.firstElementChild))&&fu(/<[/\w]/g,At.innerHTML)&&fu(/<[/\w]/g,At.textContent))return Df(At),!0;if(!jn[$a]||nt[$a]){if(!nt[$a]&&k3($a)&&(Qe.tagNameCheck instanceof RegExp&&fu(Qe.tagNameCheck,$a)||Qe.tagNameCheck instanceof Function&&Qe.tagNameCheck($a)))return!1;if(Vn&&!dl[$a]){const es=K(At)||At.parentNode,Ls=q(At)||At.childNodes;if(Ls&&es)for(let xs=Ls.length-1;xs>=0;--xs)es.insertBefore(M(Ls[xs],!0),j(At))}return Df(At),!0}return At instanceof y&&!function(es){let Ls=K(es);Ls&&Ls.tagName||(Ls={namespaceURI:tm,tagName:"template"});const xs=Xx(es.tagName),xi=Xx(Ls.tagName);return!!Yh[es.namespaceURI]&&(es.namespaceURI===ng?Ls.namespaceURI===wu?xs==="svg":Ls.namespaceURI===ul?xs==="svg"&&(xi==="annotation-xml"||x3[xi]):!!Vk[xs]:es.namespaceURI===ul?Ls.namespaceURI===wu?xs==="math":Ls.namespaceURI===ng?xs==="math"&&qy[xi]:!!$k[xs]:es.namespaceURI===wu?!(Ls.namespaceURI===ng&&!qy[xi])&&!(Ls.namespaceURI===ul&&!x3[xi])&&!$k[xs]&&(dA[xs]||!Vk[xs]):!(qc!=="application/xhtml+xml"||!Yh[es.namespaceURI]))}(At)?(Df(At),!0):$a!=="noscript"&&$a!=="noembed"&&$a!=="noframes"||!fu(/<\/no(script|embed|frames)/i,At.innerHTML)?(hr&&At.nodeType===3&&(On=At.textContent,On=Id(On,ot," "),On=Id(On,pt," "),On=Id(On,Jt," "),At.textContent!==On&&(Em(n.removed,{element:At.cloneNode()}),At.textContent=On)),rg("afterSanitizeElements",At,null),!1):(Df(At),!0)},w3=function(At,On,nr){if(Kr&&(On==="id"||On==="name")&&(nr in c||nr in Mf))return!1;if(!(yo&&!io[On]&&fu(Qo,On))){if(!(mo&&fu(Fo,On))){if(!vn[On]||io[On]){if(!(k3(At)&&(Qe.tagNameCheck instanceof RegExp&&fu(Qe.tagNameCheck,At)||Qe.tagNameCheck instanceof Function&&Qe.tagNameCheck(At))&&(Qe.attributeNameCheck instanceof RegExp&&fu(Qe.attributeNameCheck,On)||Qe.attributeNameCheck instanceof Function&&Qe.attributeNameCheck(On))||On==="is"&&Qe.allowCustomizedBuiltInElements&&(Qe.tagNameCheck instanceof RegExp&&fu(Qe.tagNameCheck,nr)||Qe.tagNameCheck instanceof Function&&Qe.tagNameCheck(nr))))return!1}else if(!Rl[On]){if(!fu(Jn,Id(nr,An,""))){if((On!=="src"&&On!=="xlink:href"&&On!=="href"||At==="script"||O2(nr,"data:")!==0||!yc[At])&&!(xn&&!fu(Nn,Id(nr,An,"")))){if(nr)return!1}}}}}return!0},k3=function(At){return At.indexOf("-")>0},_3=function(At){let On,nr,$a,es;rg("beforeSanitizeAttributes",At,null);const{attributes:Ls}=At;if(!Ls)return;const xs={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:vn};for(es=Ls.length;es--;){On=Ls[es];const{name:xi,namespaceURI:Jh}=On;nr=xi==="value"?On.value:qA(On.value);const C3=nr;if($a=Ks(xi),xs.attrName=$a,xs.attrValue=nr,xs.keepAttr=!0,xs.forceKeepAttr=void 0,rg("uponSanitizeAttribute",At,xs),nr=xs.attrValue,xs.forceKeepAttr)continue;if(!xs.keepAttr){uv(xi,At);continue}if(!Wn&&fu(/\/>/i,nr)){uv(xi,At);continue}hr&&(nr=Id(nr,ot," "),nr=Id(nr,pt," "),nr=Id(nr,Jt," "));const mv=Ks(At.nodeName);if(w3(mv,$a,nr)){if(!cl||$a!=="id"&&$a!=="name"||(uv(xi,At),nr="user-content-"+nr),re&&typeof O=="object"&&typeof O.getAttributeType=="function"&&!Jh)switch(O.getAttributeType(mv,$a)){case"TrustedHTML":nr=re.createHTML(nr);break;case"TrustedScriptURL":nr=re.createScriptURL(nr)}if(nr!==C3)try{Jh?At.setAttributeNS(Jh,xi,nr):At.setAttribute(xi,nr)}catch{uv(xi,At)}}else uv(xi,At)}rg("afterSanitizeAttributes",At,null)},gA=function At(On){let nr;const $a=mA(On);for(rg("beforeSanitizeShadowDOM",On,null);nr=$a.nextNode();)rg("uponSanitizeShadowNode",nr,null),Zk(nr)||(nr.content instanceof d&&At(nr.content),_3(nr));rg("afterSanitizeShadowDOM",On,null)};return n.sanitize=function(At){let On,nr,$a,es,Ls=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(Nf=!At,Nf&&(At=""),typeof At!="string"&&!Uk(At)){if(typeof At.toString!="function")throw uf("toString is not a function");if(typeof(At=At.toString())!="string")throw uf("dirty is not a string, aborting")}if(!n.isSupported)return At;if(Qa||v3(Ls),n.removed=[],typeof At=="string"&&(qr=!1),qr){if(At.nodeName){const Jh=Ks(At.nodeName);if(!jn[Jh]||nt[Jh])throw uf("root node is forbidden and cannot be sanitized in-place")}}else if(At instanceof f)On=uA(""),nr=On.ownerDocument.importNode(At,!0),nr.nodeType===1&&nr.nodeName==="BODY"||nr.nodeName==="HTML"?On=nr:On.appendChild(nr);else{if(!Ur&&!hr&&!tr&&At.indexOf("<")===-1)return re&&Cr?re.createHTML(At):At;if(On=uA(At),!On)return Ur?null:Cr?ee:""}On&&En&&Df(On.firstChild);const xs=mA(qr?At:On);for(;$a=xs.nextNode();)Zk($a)||($a.content instanceof d&&gA($a.content),_3($a));if(qr)return At;if(Ur){if(Zr)for(es=st.call(On.ownerDocument);On.firstChild;)es.appendChild(On.firstChild);else es=On;return(vn.shadowroot||vn.shadowrootmode)&&(es=kt.call(a,es,!0)),es}let xi=tr?On.outerHTML:On.innerHTML;return tr&&jn["!doctype"]&&On.ownerDocument&&On.ownerDocument.doctype&&On.ownerDocument.doctype.name&&fu(lE,On.ownerDocument.doctype.name)&&(xi=" +`+xi),hr&&(xi=Id(xi,ot," "),xi=Id(xi,pt," "),xi=Id(xi,Jt," ")),re&&Cr?re.createHTML(xi):xi},n.setConfig=function(At){v3(At),Qa=!0},n.clearConfig=function(){Dm=null,Qa=!1},n.isValidAttribute=function(At,On,nr){Dm||v3({});const $a=Ks(At),es=Ks(On);return w3($a,es,nr)},n.addHook=function(At,On){typeof On=="function"&&(Ve[At]=Ve[At]||[],Em(Ve[At],On))},n.removeHook=function(At){if(Ve[At])return ZA(Ve[At])},n.removeHooks=function(At){Ve[At]&&(Ve[At]=[])},n.removeAllHooks=function(){Ve={}},n}();const D2=go.each,eO=go.trim,ly=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],tO={ftp:21,http:80,https:443,mailto:25},oO=["img","video"],R2=(t,o,n)=>{const a=(i=>{try{return decodeURIComponent(i)}catch{return unescape(i)}})(o).replace(/\s/g,"");return!t.allow_script_urls&&(!!/((java|vb)script|mhtml):/i.test(a)||!t.allow_html_data_urls&&(/^data:image\//i.test(a)?((i,c)=>Ze(i)?!i:!Ze(c)||!lo(oO,c))(t.allow_svg_data_urls,n)&&/^data:image\/svg\+xml/i.test(a):/^data:/i.test(a)))};class Wu{static parseDataUri(o){let n;const a=decodeURIComponent(o).split(","),i=/data:([^;]+)/.exec(a[0]);return i&&(n=i[1]),{type:n,data:a[1]}}static isDomSafe(o,n,a={}){if(a.allow_script_urls)return!0;{const i=Sc.decode(o).replace(/[\s\u0000-\u001F]+/g,"");return!R2(a,i,n)}}static getDocumentBaseUrl(o){var n;let a;return a=o.protocol.indexOf("http")!==0&&o.protocol!=="file:"?(n=o.href)!==null&&n!==void 0?n:"":o.protocol+"//"+o.host+o.pathname,/^[^:]+:\/\/\/?[^\/]+\//.test(a)&&(a=a.replace(/[\?#].*$/,"").replace(/[\/\\][^\/]+$/,""),/[\/\\]$/.test(a)||(a+="/")),a}constructor(o,n={}){this.path="",this.directory="",o=eO(o),this.settings=n;const a=n.base_uri,i=this;if(/^([\w\-]+):([^\/]{2})/i.test(o)||/^\s*#/.test(o))return void(i.source=o);const c=o.indexOf("//")===0;if(o.indexOf("/")!==0||c||(o=(a&&a.protocol||"http")+"://mce_host"+o),!/^[\w\-]*:?\/\//.test(o)){const u=a?a.path:new Wu(document.location.href).directory;if(a?.protocol==="")o="//mce_host"+i.toAbsPath(u,o);else{const f=/([^#?]*)([#?]?.*)/.exec(o);f&&(o=(a&&a.protocol||"http")+"://mce_host"+i.toAbsPath(u,f[1])+f[2])}}o=o.replace(/@@/g,"(mce_at)");const d=/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@\/]*):?([^:@\/]*))?@)?(\[[a-zA-Z0-9:.%]+\]|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/.exec(o);d&&D2(ly,(u,f)=>{let y=d[f];y&&(y=y.replace(/\(mce_at\)/g,"@@")),i[u]=y}),a&&(i.protocol||(i.protocol=a.protocol),i.userInfo||(i.userInfo=a.userInfo),i.port||i.host!=="mce_host"||(i.port=a.port),i.host&&i.host!=="mce_host"||(i.host=a.host),i.source=""),c&&(i.protocol="")}setPath(o){const n=/^(.*?)\/?(\w+)?$/.exec(o);n&&(this.path=n[0],this.directory=n[1],this.file=n[2]),this.source="",this.getURI()}toRelative(o){if(o==="./")return o;const n=new Wu(o,{base_uri:this});if(n.host!=="mce_host"&&this.host!==n.host&&n.host||this.port!==n.port||this.protocol!==n.protocol&&n.protocol!=="")return n.getURI();const a=this.getURI(),i=n.getURI();if(a===i||a.charAt(a.length-1)==="/"&&a.substr(0,a.length-1)===i)return a;let c=this.toRelPath(this.path,n.path);return n.query&&(c+="?"+n.query),n.anchor&&(c+="#"+n.anchor),c}toAbsolute(o,n){const a=new Wu(o,{base_uri:this});return a.getURI(n&&this.isSameOrigin(a))}isSameOrigin(o){if(this.host==o.host&&this.protocol==o.protocol){if(this.port==o.port)return!0;const n=this.protocol?tO[this.protocol]:null;if(n&&(this.port||n)==(o.port||n))return!0}return!1}toRelPath(o,n){let a,i,c=0,d="";const u=o.substring(0,o.lastIndexOf("/")).split("/"),f=n.split("/");if(u.length>=f.length){for(a=0,i=u.length;a=f.length||u[a]!==f[a]){c=a+1;break}}if(u.length=u.length||u[a]!==f[a]){c=a+1;break}}if(c===1)return n;for(a=0,i=u.length-(c-1);a{k&&u.push(k)});const f=[];for(let k=d.length-1;k>=0;k--)d[k].length!==0&&d[k]!=="."&&(d[k]!==".."?a>0?a--:f.push(d[k]):a++);const y=u.length-a;let v;return v=y<=0?Ge(f).join("/"):u.slice(0,y).join("/")+"/"+Ge(f).join("/"),v.indexOf("/")!==0&&(v="/"+v),i&&v.lastIndexOf("/")!==v.length-1&&(v+=i),v}getURI(o=!1){let n;return this.source&&!o||(n="",o||(this.protocol?n+=this.protocol+"://":n+="//",this.userInfo&&(n+=this.userInfo+"@"),this.host&&(n+=this.host),this.port&&(n+=":"+this.port)),this.path&&(n+=this.path),this.query&&(n+="?"+this.query),this.anchor&&(n+="#"+this.anchor),this.source=n),this.source}}const nO=go.makeMap("src,href,data,background,action,formaction,poster,xlink:href"),B2="data-mce-type";let uE=0;const mE=(t,o,n,a,i)=>{var c,d,u,f;const y=o.validate,v=n.getSpecialElements();t.nodeType===8&&!o.allow_conditional_comments&&/^\[if/i.test((c=t.nodeValue)!==null&&c!==void 0?c:"")&&(t.nodeValue=" "+t.nodeValue);const k=(d=i?.tagName)!==null&&d!==void 0?d:t.nodeName.toLowerCase();if(a!=="html"&&n.isValid(a))return void(Ze(i)&&(i.allowedTags[k]=!0));if(t.nodeType!==1||k==="body")return;const E=je(t),B=Zn(E,B2),O=bt(E,"data-mce-bogus");if(!B&&Ue(O))return void(O==="all"?Ea(E):_l(E));const P=n.getElementRule(k);if(!y||P){if(Ze(i)&&(i.allowedTags[k]=!0),y&&P&&!B){if(Se((u=P.attributesForced)!==null&&u!==void 0?u:[],M=>{Q(E,M.name,M.value==="{$uid}"?"mce_"+uE++:M.value)}),Se((f=P.attributesDefault)!==null&&f!==void 0?f:[],M=>{Zn(E,M.name)||Q(E,M.name,M.value==="{$uid}"?"mce_"+uE++:M.value)}),P.attributesRequired&&!To(P.attributesRequired,M=>Zn(E,M))||P.removeEmptyAttrs&&(M=>{const j=M.dom.attributes;return j==null||j.length===0})(E))return void _l(E);P.outputName&&P.outputName!==k&&((M,j)=>{const q=((re,ee)=>{const ke=_s(ee),et=oe(re);return Ee(ke,et),ke})(M,j);Da(M,q);const K=Lt(M);dc(q,K),Ea(M)})(E,P.outputName)}}else ln(v,k)?Ea(E):_l(E)},gE=(t,o,n,a,i,c)=>n!=="html"&&!Sd(a)||!(i in nO&&R2(t,c,a))&&(!t.validate||o.isValid(a,i)||gr(i,"data-")||gr(i,"aria-")),Qx=(t,o)=>t.hasAttribute(B2)&&(o==="id"||o==="class"||o==="style"),cy=(t,o)=>t in o.getBoolAttrs(),pE=(t,o,n,a)=>{const{attributes:i}=t;for(let c=i.length-1;c>=0;c--){const d=i[c],u=d.name,f=d.value;gE(o,n,a,t.tagName.toLowerCase(),u,f)||Qx(t,u)?cy(u,n)&&t.setAttribute(u,u):t.removeAttribute(u)}},g0=(t,o,n)=>{const a=dE();return a.addHook("uponSanitizeElement",(i,c)=>{mE(i,t,o,n.track(i),c)}),a.addHook("uponSanitizeAttribute",(i,c)=>{((d,u,f,y,v)=>{const k=d.tagName.toLowerCase(),{attrName:E,attrValue:B}=v;v.keepAttr=gE(u,f,y,k,E,B),v.keepAttr?(v.allowedAttributes[E]=!0,cy(E,f)&&(v.attrValue=E),u.allow_svg_data_urls&&gr(B,"data:image/svg+xml")&&(v.forceKeepAttr=!0)):Qx(d,E)&&(v.forceKeepAttr=!0)})(i,t,o,n.current(),c)}),a},p0=t=>{const o=["type","href","role","arcrole","title","show","actuate","label","from","to"].map(a=>`xlink:${a}`),n={IN_PLACE:!0,USE_PROFILES:{html:!0,svg:!0,svgFilters:!0},ALLOWED_ATTR:o};return dE().sanitize(t,n),t.innerHTML},F2=go.makeMap,fE=go.extend,hE=(t,o,n,a)=>{const i=t.name,c=i in n&&i!=="title"&&i!=="textarea",d=o.childNodes;for(let u=0,f=d.length;u{const n=_2(),a=_2(),i={validate:!0,root_name:"body",sanitize:!0,...t},c=new DOMParser,d=((P,M)=>{const j=(()=>{let q=[];const K=()=>q[q.length-1];return{track:re=>{ig(re)&&q.push(re);let ee=K();return ee&&!ee.contains(re)&&(q.pop(),ee=K()),Lm(ee)},current:()=>Lm(K()),reset:()=>{q=[]}}})();if(P.sanitize){const q=g0(P,M,j);return{sanitizeHtmlElement:(re,ee)=>{q.sanitize(re,((ke,et)=>{const st={IN_PLACE:!0,ALLOW_UNKNOWN_PROTOCOLS:!0,ALLOWED_TAGS:["#comment","#cdata-section","body"],ALLOWED_ATTR:[]};return st.PARSER_MEDIA_TYPE=et,ke.allow_script_urls?st.ALLOWED_URI_REGEXP=/.*/:ke.allow_html_data_urls&&(st.ALLOWED_URI_REGEXP=/^(?!(\w+script|mhtml):)/i),st})(P,ee)),q.removed=[],j.reset()},sanitizeNamespaceElement:p0}}return{sanitizeHtmlElement:(q,K)=>{const re=document.createNodeIterator(q,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_COMMENT|NodeFilter.SHOW_TEXT);let ee;for(;ee=re.nextNode();){const ke=j.track(ee);mE(ee,P,M,ke),rn(ee)&&pE(ee,P,M,ke)}j.reset()},sanitizeNamespaceElement:$t}})(i,o),u=n.addFilter,f=n.getFilters,y=n.removeFilter,v=a.addFilter,k=a.getFilters,E=a.removeFilter,B=(P,M)=>{const j=Ue(M.attr(B2)),q=M.type===1&&!ln(P,M.name)&&!Pm(o,M)&&!Sd(M.name);return M.type===3||q&&!j},O={schema:o,addAttributeFilter:v,getAttributeFilters:k,removeAttributeFilter:E,addNodeFilter:u,getNodeFilters:f,removeNodeFilter:y,parse:(P,M={})=>{var j;const q=i.validate,K=(j=M.context)!==null&&j!==void 0?j:i.root_name,re=((pt,Jt,Qo="html")=>{const Fo=Qo==="xhtml"?"application/xhtml+xml":"text/html",Nn=ln(o.getSpecialElements(),Jt.toLowerCase()),An=Nn?`<${Jt}>${pt}`:pt,Jn=Qo==="xhtml"?`${An}`:`${An}`,jn=c.parseFromString(Jn,Fo).body;return d.sanitizeHtmlElement(jn,Fo),Nn?jn.firstChild:jn})(P,K,M.format);xp(o,re);const ee=new pc(K,11);hE(ee,re,o.getSpecialElements(),d.sanitizeNamespaceElement),re.innerHTML="";const[ke,et]=((pt,Jt,Qo,Fo)=>{const Nn=Qo.validate,An=Jt.getNonEmptyElements(),Jn=Jt.getWhitespaceElements(),jn=fE(F2("script,style,head,html,body,title,meta,param"),Jt.getBlockElements()),cn=gg(Jt),vn=/[ \t\r\n]+/g,cr=/^[ \t\r\n]+/,Qe=/[ \t\r\n]+$/,nt=yo=>{let xn=yo.parent;for(;Ze(xn);){if(xn.name in Jn)return!0;xn=xn.parent}return!1},io=yo=>yo.name in jn||Pm(Jt,yo)||Sd(yo.name)&&yo.parent===pt,mo=(yo,xn)=>{const Wn=xn?yo.prev:yo.next;return!Ze(Wn)&&!me(yo.parent)&&io(yo.parent)&&(yo.parent!==pt||Fo.isRootContent===!0)};return[yo=>{var xn;if(yo.type===3&&!nt(yo)){let Wn=(xn=yo.value)!==null&&xn!==void 0?xn:"";Wn=Wn.replace(vn," "),(((hr,tr)=>Ze(hr)&&(tr(hr)||hr.name==="br"))(yo.prev,io)||mo(yo,!0))&&(Wn=Wn.replace(cr,"")),Wn.length===0?yo.remove():yo.value=Wn}},yo=>{var xn;if(yo.type===1){const Wn=Jt.getElementRule(yo.name);if(Nn&&Wn){const hr=vh(Jt,An,Jn,yo);Wn.paddInEmptyBlock&&hr&&(tr=>{let Qa=tr;for(;Ze(Qa);){if(Qa.name in cn)return vh(Jt,An,Jn,Qa);Qa=Qa.parent}return!1})(yo)?G1(Qo,Fo,io,yo):Wn.removeEmpty&&hr?io(yo)?yo.remove():yo.unwrap():Wn.paddEmpty&&(hr||(tr=>{var Qa;return K1(tr,"#text")&&((Qa=tr?.firstChild)===null||Qa===void 0?void 0:Qa.value)===ns})(yo))&&G1(Qo,Fo,io,yo)}}else if(yo.type===3&&!nt(yo)){let Wn=(xn=yo.value)!==null&&xn!==void 0?xn:"";(yo.next&&io(yo.next)||mo(yo,!1))&&(Wn=Wn.replace(Qe,"")),Wn.length===0?yo.remove():yo.value=Wn}}]})(ee,o,i,M),st=[],mt=q?pt=>((Jt,Qo)=>{Mx(o,Jt)&&Qo.push(Jt)})(pt,st):$t,kt={nodes:{},attributes:{}},Ve=pt=>Tx(f(),k(),pt,kt);if(((pt,Jt,Qo)=>{const Fo=[];for(let Nn=pt,An=Nn;Nn;An=Nn,Nn=Nn.walk()){const Jn=Nn;Se(Jt,jn=>jn(Jn)),me(Jn.parent)&&Jn!==pt?Nn=An:Fo.push(Jn)}for(let Nn=Fo.length-1;Nn>=0;Nn--){const An=Fo[Nn];Se(Qo,Jn=>Jn(An))}})(ee,[ke,Ve],[et,mt]),st.reverse(),q&&st.length>0)if(M.context){const{pass:pt,fail:Jt}=ct(st,Qo=>Qo.parent===ee);Nx(Jt,o,ee,Ve),M.invalid=pt.length>0}else Nx(st,o,ee,Ve);const ot=((pt,Jt)=>{var Qo;const Fo=(Qo=Jt.forced_root_block)!==null&&Qo!==void 0?Qo:pt.forced_root_block;return Fo===!1?"":Fo===!0?"p":Fo})(i,M);return ot&&(ee.name==="body"||M.isRootContent)&&((pt,Jt)=>{const Qo=fE(F2("script,style,head,html,body,title,meta,param"),o.getBlockElements()),Fo=/^[ \t\r\n]+/,Nn=/[ \t\r\n]+$/;let An=pt.firstChild,Jn=null;const jn=cn=>{var vn,cr;cn&&(An=cn.firstChild,An&&An.type===3&&(An.value=(vn=An.value)===null||vn===void 0?void 0:vn.replace(Fo,"")),An=cn.lastChild,An&&An.type===3&&(An.value=(cr=An.value)===null||cr===void 0?void 0:cr.replace(Nn,"")))};if(o.isValidChild(pt.name,Jt.toLowerCase())){for(;An;){const cn=An.next;B(Qo,An)?(Jn||(Jn=new pc(Jt,1),Jn.attr(i.forced_root_block_attrs),pt.insert(Jn,An)),Jn.append(An)):(jn(Jn),Jn=null),An=cn}jn(Jn)}})(ee,ot),M.invalid||zx(kt,M),ee}};return UA(O,i),((P,M,j)=>{M.inline_styles&&Q4(P,M,j)})(O,i,o),O},bE=(t,o,n)=>{const a=(c=>xh(c)?af({validate:!1}).serialize(c):c)(t),i=o(a);if(i.isDefaultPrevented())return i;if(xh(t)){if(i.content!==a){const c=dy({validate:!1,forced_root_block:!1,...n}).parse(i.content,{context:t.name});return{...i,content:c}}return{...i,content:t}}return i},L2=(t,o)=>{if(o.no_events)return $l.value(o);{const n=((a,i)=>a.dispatch("BeforeGetContent",i))(t,o);return n.isDefaultPrevented()?$l.error(L3(t,{content:"",...n}).content):$l.value(n)}},I2=(t,o,n)=>n.no_events?o:bE(o,i=>L3(t,{...n,content:i}),{sanitize:bm(t),sandbox_iframes:jp(t)}).content,P2=(t,o)=>{if(o.no_events)return $l.value(o);{const n=bE(o.content,a=>((i,c)=>i.dispatch("BeforeSetContent",c))(t,{...o,content:a}),{sanitize:bm(t),sandbox_iframes:jp(t)});return n.isDefaultPrevented()?(ph(t,n),$l.error(void 0)):$l.value(n)}},uy=(t,o,n)=>{n.no_events||ph(t,{...n,content:o})},ew=(t,o,n)=>({element:t,width:o,rows:n}),Wi=(t,o)=>({element:t,cells:o}),my=(t,o)=>({x:t,y:o}),H2=(t,o)=>wo(t,o).bind(Vr).getOr(1),j2=(t,o,n)=>{const a=t.rows;return!!(a[n]?a[n].cells:[])[o]},f0=t=>Oe(t,(o,n)=>n.cells.length>o?n.cells.length:o,0),Kg=(t,o)=>{const n=t.rows;for(let a=0;a{const c=[],d=t.rows;for(let u=n;u<=i;u++){const f=d[u].cells,y=o((o,n)=>{const a=Um(o.element),i=_s("tbody");return dc(i,n),os(a,i),a})(t,(o=>oo(o.rows,n=>{const a=oo(n.cells,c=>{const d=Hf(c);return U(d,"colspan"),U(d,"rowspan"),d}),i=Um(n.element);return dc(i,a),i}))(t)),aO=(t,o,n)=>{const a=je(o.commonAncestorContainer),i=$g(a,t),c=gt(i,f=>n.isWrapper(Pe(f))),d=((f,y)=>Fe(f,v=>Pe(v)==="li"&&ql(v,y)).fold(Ct([]),v=>(k=>Fe(k,E=>Pe(E)==="ul"||Pe(E)==="ol"))(f).map(k=>{const E=_s(Pe(k)),B=Rr(_u(k),(O,P)=>gr(P,"list-style"));return qd(E,B),[_s("li"),E]}).getOr([])))(i,o),u=c.concat(d.length?d:(f=>uc(f)?Gi(f).filter(hs).fold(Ct([]),y=>[f,y]):hs(f)?[f]:[])(a));return oo(u,Um)},Eh=()=>Qv([]),gy=(t,o)=>((n,a)=>Ua(a,"table",Je(sa,n)))(t,o[0]).bind(n=>{const a=o[0],i=o[o.length-1],c=(d=>{const u=ew(Um(d),0,[]);return Se(wa(d,"tr"),(f,y)=>{Se(wa(f,"td,th"),(v,k)=>{((E,B,O,P,M)=>{const j=H2(M,"rowspan"),q=H2(M,"colspan"),K=E.rows;for(let re=O;re{for(;j2(E,B,O);)B++;return B})(u,k,y),y,f,v)})}),ew(u.element,f0(u.rows),u.rows)})(n);return((d,u,f)=>Kg(d,u).bind(y=>Kg(d,f).map(v=>((k,E,B)=>{const O=E.x,P=E.y,M=B.x,j=B.y,q=PQv([rO(d)]))}).getOrThunk(Eh),py=(t,o,n)=>{const a=Er(o,t);return a.length>0?gy(t,a):((i,c,d)=>c.length>0&&c[0].collapsed?Eh():((u,f,y)=>((v,k)=>{const E=Oe(k,(B,O)=>(os(O,B),O),v);return k.length>0?Qv([E]):E})(je(f.cloneContents()),aO(u,f,y)))(i,c[0],d))(t,o,n)},h0=(t,o)=>o>=0&&oqs(t.innerText),V2=t=>rn(t)?t.outerHTML:ao(t)?Sc.encodeRaw(t.data,!1):ni(t)?"":"",yE=(t,o)=>(((n,a)=>{let i=0;Se(n,c=>{c[0]===0?i++:c[0]===1?(((d,u,f)=>{const y=(v=>{let k;const E=document.createElement("div"),B=document.createDocumentFragment();for(v&&(E.innerHTML=v);k=E.firstChild;)B.appendChild(k);return B})(u);if(d.hasChildNodes()&&f{if(d.hasChildNodes()&&u{const i=n.length+a.length+2,c=new Array(i),d=new Array(i),u=(k,E,B,O,P)=>{const M=y(k,E,B,O);if(M===null||M.start===E&&M.diag===E-O||M.end===k&&M.diag===k-B){let j=k,q=B;for(;jO-B?(P.push([2,n[j]]),++j):(P.push([1,a[q]]),++q)}else{u(k,M.start,B,M.start-M.diag,P);for(let j=M.start;j{let P=k;for(;P-E({start:M,end:j,diag:q}))(k,P,E)},y=(k,E,B,O)=>{const P=E-k,M=O-B;if(P===0||M===0)return null;const j=P-M,q=M+P,K=(q%2==0?q:q+1)/2;let re,ee,ke,et,st;for(c[1+K]=k,d[1+K]=E+1,re=0;re<=K;++re){for(ee=-re;ee<=re;ee+=2){for(ke=ee+K,ee===-re||ee!==re&&c[ke-1]=k&&st>=B&&n[et]===a[st];)d[ke]=et--,st--;if(j%2==0&&-re<=ee&&ee<=re&&d[ke]<=c[ke+j])return f(d[ke],ee+k-B,E,O)}}return null},v=[];return u(0,n.length,0,a.length,v),v})(oo(Pn(o.childNodes),V2),t),o),o),sO=tt(()=>document.implementation.createHTMLDocument("undo")),ow=t=>{const o=t.serializer.getTempAttrs(),n=f4(t.getBody(),o);return(a=>a.querySelector("iframe")!==null)(n)?{type:"fragmented",fragments:gt(oo(Pn(n.childNodes),gn(qs,V2)),a=>a.length>0),content:"",bookmark:null,beforeBookmark:null}:{type:"complete",fragments:null,content:qs(n.innerHTML),bookmark:null,beforeBookmark:null}},nw=(t,o,n)=>{const a=n?o.beforeBookmark:o.bookmark;o.type==="fragmented"?yE(o.fragments,t.getBody()):t.setContent(o.content,{format:"raw",no_selection:!Ze(a)||!Re(a)||!a.isFakeCaret}),a&&(t.selection.moveToBookmark(a),t.selection.scrollIntoView())},rw=t=>t.type==="fragmented"?t.fragments.join(""):t.content,fy=t=>{const o=_s("body",sO());return wc(o,rw(t)),Se(wa(o,"*[data-mce-bogus]"),_l),yd(o)},aw=(t,o)=>!(!t||!o)&&(!!((n,a)=>rw(n)===rw(a))(t,o)||((n,a)=>fy(n)===fy(a))(t,o)),sw=t=>t.get()===0,b0=(t,o,n)=>{sw(n)&&(t.typing=o)},$2=(t,o)=>{t.typing&&(b0(t,!1,o),t.add())},U2=t=>({init:{bindEvents:$t},undoManager:{beforeChange:(o,n)=>((a,i,c)=>{sw(i)&&c.set(yi(a.selection))})(t,o,n),add:(o,n,a,i,c,d)=>((u,f,y,v,k,E,B)=>{const O=ow(u),P=go.extend(E||{},O);if(!sw(v)||u.removed)return null;const M=f.data[y.get()];if(u.dispatch("BeforeAddUndo",{level:P,lastLevel:M,originalEvent:B}).isDefaultPrevented()||M&&aw(M,P))return null;f.data[y.get()]&&k.get().each(K=>{f.data[y.get()].beforeBookmark=K});const j=a_(u);if(j&&f.data.length>j){for(let K=0;K0?(u.setDirty(!0),u.dispatch("AddUndo",q),u.dispatch("change",q)):u.dispatch("AddUndo",q),P})(t,o,n,a,i,c,d),undo:(o,n,a)=>((i,c,d,u)=>{let f;return c.typing&&(c.add(),c.typing=!1,b0(c,!1,d)),u.get()>0&&(u.set(u.get()-1),f=c.data[u.get()],nw(i,f,!0),i.setDirty(!0),i.dispatch("Undo",{level:f})),f})(t,o,n,a),redo:(o,n)=>((a,i,c)=>{let d;return i.get()((a,i,c)=>{i.data=[],c.set(0),i.typing=!1,a.dispatch("ClearUndos")})(t,o,n),reset:o=>(n=>{n.clear(),n.add()})(o),hasUndo:(o,n)=>((a,i,c)=>c.get()>0||i.typing&&i.data[0]&&!aw(ow(a),i.data[0]))(t,o,n),hasRedo:(o,n)=>((a,i)=>i.get()((i,c,d)=>($2(i,c),i.beforeChange(),i.ignore(d),i.add()))(o,n,a),ignore:(o,n)=>((a,i)=>{try{a.set(a.get()+1),i()}finally{a.set(a.get()-1)}})(o,n),extra:(o,n,a,i)=>((c,d,u,f,y)=>{if(d.transact(f)){const v=d.data[u.get()].bookmark,k=d.data[u.get()-1];nw(c,k,!0),d.transact(y)&&(d.data[u.get()-1].beforeBookmark=v)}})(t,o,n,a,i)},formatter:{match:(o,n,a,i)=>Px(t,o,n,a,i),matchAll:(o,n)=>((a,i,c)=>{const d=[],u={},f=a.selection.getStart();return a.dom.getParent(f,y=>{for(let v=0;vCm(t,o,n,a,i),canApply:o=>((n,a)=>{const i=n.formatter.get(a),c=n.dom;if(i&&n.selection.isEditable()){const d=n.selection.getStart(),u=Wv(c,d);for(let f=i.length-1;f>=0;f--){const y=i[f];if(!Fd(y))return!0;for(let v=u.length-1;v>=0;v--)if(c.is(u[v],y.selector))return!0}}return!1})(t,o),closest:o=>((n,a)=>{const i=c=>sa(c,je(n.getBody()));return V.from(n.selection.getStart(!0)).bind(c=>Fx(je(c),d=>zn(a,u=>((f,y)=>Cm(n,f.dom,y)?V.some(y):V.none())(d,u)),i)).getOrNull()})(t,o),apply:(o,n,a)=>J4(t,o,n,a),remove:(o,n,a,i)=>cf(t,o,n,a,i),toggle:(o,n,a)=>((i,c,d,u)=>{const f=i.formatter.get(c);f&&(!Px(i,c,d,u)||"toggle"in f[0]&&!f[0].toggle?J4(i,c,d,u):cf(i,c,d,u))})(t,o,n,a),formatChanged:(o,n,a,i,c)=>((d,u,f,y,v,k)=>(((E,B,O,P,M,j)=>{const q=B.get();Se(O.split(","),K=>{const re=Fn(q,K).getOrThunk(()=>{const ke={withSimilar:{state:bi(!1),similar:!0,callbacks:[]},withoutSimilar:{state:bi(!1),similar:!1,callbacks:[]},withVars:[]};return q[K]=ke,ke}),ee=()=>{const ke=w2(E);return x2(E,ke,K,M,j).isSome()};if(fo(j)){const ke=M?re.withSimilar:re.withoutSimilar;ke.callbacks.push(P),ke.callbacks.length===1&&ke.state.set(ee())}else re.withVars.push({state:bi(ee()),similar:M,vars:j,callback:P})}),B.set(q)})(d,u,f,y,v,k),{unbind:()=>((E,B,O)=>{const P=E.get();Se(B.split(","),M=>Fn(P,M).each(j=>{P[M]={withSimilar:{...j.withSimilar,callbacks:gt(j.withSimilar.callbacks,q=>q!==O)},withoutSimilar:{...j.withoutSimilar,callbacks:gt(j.withoutSimilar.callbacks,q=>q!==O)},withVars:gt(j.withVars,q=>q.callback!==O)}})),E.set(P)})(u,f,y)}))(t,o,n,a,i,c)},editor:{getContent:o=>((n,a)=>V.from(n.getBody()).fold(Ct(a.format==="tree"?new pc("body",11):""),i=>h4(n,a,i)))(t,o),setContent:(o,n)=>((a,i,c)=>V.from(a.getBody()).map(d=>xh(i)?((u,f,y,v)=>{Ax(u.parser.getNodeFilters(),u.parser.getAttributeFilters(),y);const k=af({validate:!1},u.schema).serialize(y),E=qs(Ui(je(f))?k:go.trim(k));return Bx(u,E,v.no_selection),{content:y,html:E}})(a,d,i,c):((u,f,y,v)=>{if((y=qs(y)).length===0||/^\s+$/.test(y)){const k='
';f.nodeName==="TABLE"?y=""+k+"":/^(UL|OL)$/.test(f.nodeName)&&(y="
  • "+k+"
  • ");const E=Ts(u);return u.schema.isValidChild(f.nodeName.toLowerCase(),E.toLowerCase())?(y=k,y=u.dom.createHTML(E,gc(u),y)):y||(y=k),Bx(u,y,v.no_selection),{content:y,html:y}}{v.format!=="raw"&&(y=af({validate:!1},u.schema).serialize(u.parser.parse(y,{isRootContent:!0,insert:!0})));const k=Ui(je(f))?y:go.trim(y);return Bx(u,k,v.no_selection),{content:k,html:k}}})(a,d,i,c)).getOr({content:i,html:xh(c.content)?"":c.content}))(t,o,n),insertContent:(o,n)=>q4(t,o,n),addVisual:o=>((n,a)=>{const i=n.dom,c=Ze(a)?a:n.getBody();Se(i.select("table,a",c),d=>{switch(d.nodeName){case"TABLE":const u=Cb(n),f=i.getAttrib(d,"border");f&&f!=="0"||!n.hasVisual?i.removeClass(d,u):i.addClass(d,u);break;case"A":if(!i.getAttrib(d,"href")){const y=i.getAttrib(d,"name")||d.id,v=rh(n);y&&n.hasVisual?i.addClass(d,v):i.removeClass(d,v)}}}),n.dispatch("VisualAid",{element:a,hasVisual:n.hasVisual})})(t,o)},selection:{getContent:(o,n)=>((a,i,c={})=>{const d=((u,f)=>({...u,format:f,get:!0,selection:!0,getInner:!0}))(c,i);return L2(a,d).fold(R,u=>{const f=((y,v)=>{if(v.format==="text")return(k=>V.from(k.selection.getRng()).map(E=>{var B;const O=V.from(k.dom.getParent(E.commonAncestorContainer,k.dom.isBlock)),P=k.getBody(),M=(ee=>ee.map(ke=>ke.nodeName).getOr("div").toLowerCase())(O),j=je(E.cloneContents());er(j),Kb(j);const q=k.dom.add(P,M,{"data-mce-bogus":"all",style:"overflow: hidden; opacity: 0;"},j.dom),K=tw(q),re=qs((B=q.textContent)!==null&&B!==void 0?B:"");if(k.dom.remove(q),h0(re,0)||h0(re,re.length-1)){const ee=O.getOr(P),ke=tw(ee),et=ke.indexOf(K);return et===-1?K:(h0(ke,et-1)?" ":"")+K+(h0(ke,et+K.length)?" ":"")}return K}).getOr(""))(y);{const k=((E,B)=>{const O=E.selection.getRng(),P=E.dom.create("body"),M=E.selection.getSel(),j=O_(E,Mr(M)),q=B.contextual?py(je(E.getBody()),j,E.schema).dom:O.cloneContents();return q&&P.appendChild(q),E.selection.serializer.serialize(P,B)})(y,v);return v.format==="tree"?k:y.selection.isCollapsed()?"":k}})(a,u);return I2(a,f,u)})})(t,o,n)},autocompleter:{addDecoration:o=>MA(t,o),removeDecoration:()=>((o,n)=>d4(n).each(a=>{const i=o.selection.getBookmark();_l(a),o.selection.moveToBookmark(i)}))(t,je(t.getBody()))},raw:{getModel:()=>V.none()}}),Tm=t=>ln(t.plugins,"rtc"),iw=t=>t.rtcInstance?t.rtcInstance:U2(t),Li=t=>{const o=t.rtcInstance;if(o)return o;throw new Error("Failed to get RTC instance not yet initialized.")},Z2=t=>Li(t).init.bindEvents(),lw=t=>t.dom.length===0?(Ea(t),V.none()):V.some(t),hy=(t,o,n,a,i)=>{t.bind(c=>((a?P1:yh)(c.dom,a?c.dom.length:0,i),o.filter(_r).map(d=>((u,f,y,v,k)=>{const E=u.dom,B=f.dom,O=v?E.length:B.length;v?(j_(E,B,k,!1,!v),y.setStart(B,O)):(j_(B,E,k,!1,!v),y.setEnd(B,O))})(c,d,n,a,i)))).orThunk(()=>((d,u)=>d.filter(f=>tf.isBookmarkNode(f.dom)).bind(u?ie:Ki))(o,a).or(o).filter(_r).map(d=>((u,f,y)=>{Gi(u).each(v=>{const k=u.dom;f&&I1(v,Ht(k,0),y)?yh(k,0,y):!f&&rc(v,Ht(k,k.length),y)&&P1(k,k.length,y)})})(d,a,i)))},q2=(t,o,n)=>{if(ln(t,o)){const a=gt(t[o],i=>i!==n);a.length===0?delete t[o]:t[o]=a}},W2=t=>!(!t||!t.ownerDocument)&&lc(je(t.ownerDocument),je(t)),y0=(t,o,n,a)=>{let i,c;const{selectorChangedWithUnbind:d}=((M,j)=>{let q,K;const re=(ke,et)=>Fe(et,st=>M.is(st,ke)),ee=ke=>M.getParents(ke,void 0,M.getRoot());return{selectorChangedWithUnbind:(ke,et)=>(q||(q={},K={},j.on("NodeChange",st=>{const mt=st.element,kt=ee(mt),Ve={};Ft(q,(ot,pt)=>{re(pt,kt).each(Jt=>{K[pt]||(Se(ot,Qo=>{Qo(!0,{node:Jt,selector:pt,parents:kt})}),K[pt]=ot),Ve[pt]=ot})}),Ft(K,(ot,pt)=>{Ve[pt]||(delete K[pt],Se(ot,Jt=>{Jt(!1,{node:mt,selector:pt,parents:kt})}))})})),q[ke]||(q[ke]=[]),q[ke].push(et),re(ke,ee(j.selection.getStart())).each(()=>{K[ke]=q[ke]}),{unbind:()=>{q2(q,ke,et),q2(K,ke,et)}})}})(t,a),u=(M,j)=>((q,K,re={})=>{const ee=((ke,et)=>({format:"html",...ke,set:!0,selection:!0,content:et}))(re,K);P2(q,ee).each(ke=>{const et=((mt,kt)=>{if(kt.format!=="raw"){const Ve=mt.selection.getRng(),ot=mt.dom.getParent(Ve.commonAncestorContainer,mt.dom.isBlock),pt=ot?{context:ot.nodeName.toLowerCase()}:{},Jt=mt.parser.parse(kt.content,{forced_root_block:!1,...pt,...kt});return af({validate:!1},mt.schema).serialize(Jt)}return kt.content})(q,ke),st=q.selection.getRng();((mt,kt,Ve)=>{const ot=V.from(kt.firstChild).map(je),pt=V.from(kt.lastChild).map(je);mt.deleteContents(),mt.insertNode(kt);const Jt=ot.bind(Ki).filter(_r).bind(lw),Qo=pt.bind(ie).filter(_r).bind(lw);hy(Jt,ot,mt,!0,Ve),hy(Qo,pt,mt,!1,Ve),mt.collapse(!1)})(st,st.createContextualFragment(et),q.schema),q.selection.setRng(st),bh(q,st),uy(q,et,ke)})})(a,M,j),f=M=>{const j=v();j.collapse(!!M),k(j)},y=()=>o.getSelection?o.getSelection():o.document.selection,v=()=>{let M;const j=(K,re,ee)=>{try{return re.compareBoundaryPoints(K,ee)}catch{return-1}},q=o.document;if(Ze(a.bookmark)&&!rf(a)){const K=ax(a);if(K.isSome())return K.map(re=>O_(a,[re])[0]).getOr(q.createRange())}try{const K=y();K&&!Rm(K.anchorNode)&&(M=K.rangeCount>0?K.getRangeAt(0):q.createRange(),M=O_(a,[M])[0])}catch{}if(M||(M=q.createRange()),xd(M.startContainer)&&M.collapsed){const K=t.getRoot();M.setStart(K,0),M.setEnd(K,0)}return i&&c&&(j(M.START_TO_START,M,i)===0&&j(M.END_TO_END,M,i)===0?M=c:(i=null,c=null)),M},k=(M,j)=>{if(!(K=>!!K&&W2(K.startContainer)&&W2(K.endContainer))(M))return;const q=y();if(M=a.dispatch("SetSelectionRange",{range:M,forward:j}).range,q){c=M;try{q.removeAllRanges(),q.addRange(M)}catch{}j===!1&&q.extend&&(q.collapse(M.endContainer,M.endOffset),q.extend(M.startContainer,M.startOffset)),i=q.rangeCount>0?q.getRangeAt(0):null}if(!M.collapsed&&M.startContainer===M.endContainer&&q?.setBaseAndExtent&&M.endOffset-M.startOffset<2&&M.startContainer.hasChildNodes()){const K=M.startContainer.childNodes[M.startOffset];K&&K.nodeName==="IMG"&&(q.setBaseAndExtent(M.startContainer,M.startOffset,M.endContainer,M.endOffset),q.anchorNode===M.startContainer&&q.focusNode===M.endContainer||q.setBaseAndExtent(K,0,K,1))}a.dispatch("AfterSetSelectionRange",{range:M,forward:j})},E=()=>{const M=y(),j=M?.anchorNode,q=M?.focusNode;if(!M||!j||!q||Rm(j)||Rm(q))return!0;const K=t.createRng(),re=t.createRng();try{K.setStart(j,M.anchorOffset),K.collapse(!0),re.setStart(q,M.focusOffset),re.collapse(!0)}catch{return!0}return K.compareBoundaryPoints(K.START_TO_START,re)<=0},B={dom:t,win:o,serializer:n,editor:a,expand:(M={type:"word"})=>k(nf(t).expand(v(),M)),collapse:f,setCursorLocation:(M,j)=>{const q=t.createRng();Ze(M)&&Ze(j)?(q.setStart(M,j),q.setEnd(M,j),k(q),f(!1)):(ua(t,q,a.getBody(),!0),k(q))},getContent:M=>((j,q={})=>((K,re,ee)=>Li(K).selection.getContent(re,ee))(j,q.format?q.format:"html",q))(a,M),setContent:u,getBookmark:(M,j)=>O.getBookmark(M,j),moveToBookmark:M=>O.moveToBookmark(M),select:(M,j)=>(((q,K,re)=>V.from(K).bind(ee=>V.from(ee.parentNode).map(ke=>{const et=q.nodeIndex(ee),st=q.createRng();return st.setStart(ke,et),st.setEnd(ke,et+1),re&&(ua(q,st,ee,!0),ua(q,st,ee,!1)),st})))(t,M,j).each(k),M),isCollapsed:()=>{const M=v(),j=y();return!(!M||M.item)&&(M.compareEndPoints?M.compareEndPoints("StartToEnd",M)===0:!j||M.collapsed)},isEditable:()=>{const M=v(),j=a.getBody().querySelectorAll('[data-mce-selected="1"]');return j.length>0?ze(j,q=>t.isEditable(q.parentElement)):A_(t,M)},isForward:E,setNode:M=>(u(t.getOuterHTML(M)),M),getNode:()=>((M,j)=>{if(!j)return M;let q=j.startContainer,K=j.endContainer;const re=j.startOffset,ee=j.endOffset;let ke=j.commonAncestorContainer;j.collapsed||(q===K&&ee-re<2&&q.hasChildNodes()&&(ke=q.childNodes[re]),ao(q)&&ao(K)&&(q=q.length===re?i4(q.nextSibling,!0):q.parentNode,K=ee===0?i4(K.previousSibling,!1):K.parentNode,q&&q===K&&(ke=q)));const et=ao(ke)?ke.parentNode:ke;return Ti(et)?et:M})(a.getBody(),v()),getSel:y,setRng:k,getRng:v,getStart:M=>a4(a.getBody(),v(),M),getEnd:M=>s4(a.getBody(),v(),M),getSelectedBlocks:(M,j)=>((q,K,re,ee)=>{const ke=[],et=q.getRoot(),st=q.getParent(re||a4(et,K,K.collapsed),q.isBlock),mt=q.getParent(ee||s4(et,K,K.collapsed),q.isBlock);if(st&&st!==et&&ke.push(st),st&&mt&&st!==mt){let kt;const Ve=new Ns(st,et);for(;(kt=Ve.next())&&kt!==mt;)q.isBlock(kt)&&ke.push(kt)}return mt&&st!==mt&&mt!==et&&ke.push(mt),ke})(t,v(),M,j),normalize:()=>{const M=v(),j=y();if(!(Mr(j).length>1)&&li(a)){const q=O1(t,M);return q.each(K=>{k(K,E())}),q.getOr(M)}return M},selectorChanged:(M,j)=>(d(M,j),B),selectorChangedWithUnbind:d,getScrollContainer:()=>{let M,j=t.getRoot();for(;j&&j.nodeName!=="BODY";){if(j.scrollHeight>j.clientHeight){M=j;break}j=j.parentNode}return M},scrollIntoView:(M,j)=>{Ze(M)?((q,K,re)=>{(q.inline?Y3:TA)(q,K,re)})(a,M,j):bh(a,v(),j)},placeCaretAt:(M,j)=>k(g_(M,j,a.getDoc())),getBoundingClientRect:()=>{const M=v();return M.collapsed?Ht.fromRangeStart(M).getClientRects()[0]:M.getBoundingClientRect()},destroy:()=>{o=i=c=null,P.destroy()}},O=tf(B),P=P3(B,a);return B.bookmarkManager=O,B.controlSelection=P,B},iO=(t,o,n)=>{go.inArray(o,n)===-1&&(t.addAttributeFilter(n,(a,i)=>{let c=a.length;for(;c--;)a[c].attr(i,null)}),o.push(n))},lO=(t,o)=>{const n=["data-mce-selected"],a={entity_encoding:"named",remove_trailing_brs:!0,pad_empty_with_br:!1,...t},i=o&&o.dom?o.dom:wr.DOM,c=o&&o.schema?o.schema:Du(a),d=dy(a,c);return((u,f,y)=>{u.addAttributeFilter("data-mce-tabindex",(v,k)=>{let E=v.length;for(;E--;){const B=v[E];B.attr("tabindex",B.attr("data-mce-tabindex")),B.attr(k,null)}}),u.addAttributeFilter("src,href,style",(v,k)=>{const E="data-mce-"+k,B=f.url_converter,O=f.url_converter_scope;let P=v.length;for(;P--;){const M=v[P];let j=M.attr(E);j!==void 0?(M.attr(k,j.length>0?j:null),M.attr(E,null)):(j=M.attr(k),k==="style"?j=y.serializeStyle(y.parseStyle(j),M.name):B&&(j=B.call(O,j,k,M.name)),M.attr(k,j.length>0?j:null))}}),u.addAttributeFilter("class",v=>{let k=v.length;for(;k--;){const E=v[k];let B=E.attr("class");B&&(B=B.replace(/(?:^|\s)mce-item-\w+(?!\S)/g,""),E.attr("class",B.length>0?B:null))}}),u.addAttributeFilter("data-mce-type",(v,k,E)=>{let B=v.length;for(;B--;){const O=v[B];O.attr("data-mce-type")==="bookmark"&&!E.cleanup&&(V.from(O.firstChild).exists(M=>{var j;return!_c((j=M.value)!==null&&j!==void 0?j:"")})?O.unwrap():O.remove())}}),u.addNodeFilter("noscript",v=>{var k;let E=v.length;for(;E--;){const B=v[E].firstChild;B&&(B.value=Sc.decode((k=B.value)!==null&&k!==void 0?k:""))}}),u.addNodeFilter("script,style",(v,k)=>{var E;const B=P=>P.replace(/()/g,` +`).replace(/^[\r\n]*|[\r\n]*$/g,"").replace(/^\s*(()?|\s*\/\/\s*\]\]>(-->)?|\/\/\s*(-->)?|\]\]>|\/\*\s*-->\s*\*\/|\s*-->\s*)\s*$/g,"");let O=v.length;for(;O--;){const P=v[O],M=P.firstChild,j=(E=M?.value)!==null&&E!==void 0?E:"";if(k==="script"){const q=P.attr("type");q&&P.attr("type",q==="mce-no/type"?null:q.replace(/^mce\-/,"")),f.element_format==="xhtml"&&M&&j.length>0&&(M.value=`// `)}else f.element_format==="xhtml"&&M&&j.length>0&&(M.value=``)}}),u.addNodeFilter("#comment",v=>{let k=v.length;for(;k--;){const E=v[k],B=E.value;f.preserve_cdata&&B?.indexOf("[CDATA[")===0?(E.name="#cdata",E.type=4,E.value=y.decode(B.replace(/^\[CDATA\[|\]\]$/g,""))):B?.indexOf("mce:protected ")===0&&(E.name="#text",E.type=3,E.raw=!0,E.value=unescape(B).substr(14))}}),u.addNodeFilter("xml:namespace,input",(v,k)=>{let E=v.length;for(;E--;){const B=v[E];B.type===7?B.remove():B.type===1&&(k!=="input"||B.attr("type")||B.attr("type","text"))}}),u.addAttributeFilter("data-mce-type",v=>{Se(v,k=>{k.attr("data-mce-type")==="format-caret"&&(k.isEmpty(u.schema.getNonEmptyElements())?k.remove():k.unwrap())})}),u.addAttributeFilter("data-mce-src,data-mce-href,data-mce-style,data-mce-selected,data-mce-expando,data-mce-block,data-mce-type,data-mce-resize,data-mce-placeholder",(v,k)=>{let E=v.length;for(;E--;)v[E].attr(k,null)}),f.remove_trailing_brs&&eE(f,u,u.schema)})(d,a,i),{schema:c,addNodeFilter:d.addNodeFilter,addAttributeFilter:d.addAttributeFilter,serialize:(u,f={})=>{const y={format:"html",...f},v=((B,O,P)=>((M,j)=>Ze(M)&&M.hasEventListeners("PreProcess")&&!j.no_events)(B,P)?((M,j,q)=>{let K;const re=M.dom;let ee=j.cloneNode(!0);const ke=document.implementation;if(ke.createHTMLDocument){const et=ke.createHTMLDocument("");go.each(ee.nodeName==="BODY"?ee.childNodes:[ee],st=>{et.body.appendChild(et.importNode(st,!0))}),ee=ee.nodeName!=="BODY"?et.body.firstChild:et.body,K=re.doc,re.doc=et}return((et,st)=>{et.dispatch("PreProcess",st)})(M,{...q,node:ee}),K&&(re.doc=K),ee})(B,O,P):O)(o,u,y),k=((B,O,P)=>{const M=qs(P.getInner?O.innerHTML:B.getOuterHTML(O));return P.selection||Ui(je(O))?M:go.trim(M)})(i,v,y),E=((B,O,P)=>{const M=P.selection?{forced_root_block:!1,...P}:P,j=B.parse(O,M);return(q=>{const K=ee=>ee?.name==="br",re=q.lastChild;if(K(re)){const ee=re.prev;K(ee)&&(re.remove(),ee.remove())}})(j),j})(d,k,y);return y.format==="tree"?E:((B,O,P,M,j)=>{const q=((K,re,ee)=>af(K,re).serialize(ee))(O,P,M);return((K,re,ee)=>!re.no_events&&K?((et,st)=>et.dispatch("PostProcess",st))(K,{...re,content:ee}).content:ee)(B,j,q)})(o,a,c,E,y)},addRules:c.addValidElements,setRules:c.setValidElements,addTempAttr:Je(iO,d,n),getTempAttrs:Ct(n),getNodeFilters:d.getNodeFilters,getAttributeFilters:d.getAttributeFilters,removeNodeFilter:d.removeNodeFilter,removeAttributeFilter:d.removeAttributeFilter}},Xg=(t,o)=>{const n=lO(t,o);return{schema:n.schema,addNodeFilter:n.addNodeFilter,addAttributeFilter:n.addAttributeFilter,serialize:n.serialize,addRules:n.addRules,setRules:n.setRules,addTempAttr:n.addTempAttr,getTempAttrs:n.getTempAttrs,getNodeFilters:n.getNodeFilters,getAttributeFilters:n.getAttributeFilters,removeNodeFilter:n.removeNodeFilter,removeAttributeFilter:n.removeAttributeFilter}},v0=(t,o,n={})=>{const a=((i,c)=>({format:"html",...i,set:!0,content:c}))(n,o);return P2(t,a).map(i=>{const c=((d,u,f)=>iw(d).editor.setContent(u,f))(t,i.content,i);return uy(t,c.html,i),c.content}).getOr(o)},vE="autoresize_on_init,content_editable_state,padd_empty_with_br,block_elements,boolean_attributes,editor_deselector,editor_selector,elements,file_browser_callback_types,filepicker_validator_handler,force_hex_style_colors,force_p_newlines,gecko_spellcheck,images_dataimg_filter,media_scripts,mode,move_caret_before_on_enter_elements,non_empty_elements,self_closing_elements,short_ended_elements,special,spellchecker_select_languages,spellchecker_whitelist,tab_focus,tabfocus_elements,table_responsive_width,text_block_elements,text_inline_elements,toolbar_drawer,types,validate,whitespace_elements,paste_enable_default_filters,paste_filter_drop,paste_word_valid_elements,paste_retain_style_properties,paste_convert_word_fake_lists".split(","),x0="template_cdate_classes,template_mdate_classes,template_selected_content_classes,template_preview_replace_values,template_replace_values,templates,template_cdate_format,template_mdate_format".split(","),xE="bbcode,colorpicker,contextmenu,fullpage,legacyoutput,spellchecker,textcolor".split(","),cw=[{name:"template",replacedWith:"Advanced Template"},{name:"rtc"}],G2=(t,o)=>{const n=gt(o,a=>ln(t,a));return Xo(n)},wE=t=>{const o=G2(t,vE),n=t.forced_root_block;return n!==!1&&n!==""||o.push("forced_root_block (false only)"),Xo(o)},K2=t=>G2(t,x0),Y2=(t,o)=>{const n=go.makeMap(t.plugins," "),a=gt(o,i=>ln(n,i));return Xo(a)},cO=t=>Y2(t,xE),dw=t=>Y2(t,cw.map(o=>o.name)),hc=t=>Fe(cw,o=>o.name===t).fold(()=>t,o=>o.replacedWith?`${t}, replaced by ${o.replacedWith}`:t),Th=wr.DOM,Jm=t=>V.from(t).each(o=>o.destroy()),w0=(()=>{const t={};return{add:(o,n)=>{t[o]=n},get:o=>t[o]?t[o]:{icons:{}},has:o=>ln(t,o)}})(),Kl=bl.ModelManager,mf=(t,o)=>o.dom[t],X2=(t,o)=>parseInt(Yi(o,t),10),kE=Je(mf,"clientWidth"),_E=Je(mf,"clientHeight"),k0=Je(X2,"margin-top"),J2=Je(X2,"margin-left"),Q2=t=>{const o=[],n=()=>{const f=t.theme;return f&&f.getNotificationManagerImpl?f.getNotificationManagerImpl():(()=>{const y=()=>{throw new Error("Theme did not provide a NotificationManager implementation.")};return{open:y,close:y,getArgs:y}})()},a=()=>V.from(o[0]),i=()=>{Se(o,f=>{f.reposition()})},c=f=>{ge(o,y=>y===f).each(y=>{o.splice(y,1)})},d=(f,y=!0)=>t.removed||!(v=>{return(k=v.inline?v.getBody():v.getContentAreaContainer(),V.from(k).map(je)).map(Es).getOr(!1);var k})(t)?{}:(y&&t.dispatch("BeforeOpenNotification",{notification:f}),Fe(o,v=>{return k=n().getArgs(v),E=f,!(k.type!==E.type||k.text!==E.text||k.progressBar||k.timeout||E.progressBar||E.timeout);var k,E}).getOrThunk(()=>{t.editorManager.setActive(t);const v=n().open(f,()=>{c(v),i(),n4(t)&&a().fold(()=>t.focus(),k=>X3(je(k.getEl())))});return(k=>{o.push(k)})(v),i(),t.dispatch("OpenNotification",{notification:{...v}}),v})),u=Ct(o);return(f=>{f.on("SkinLoaded",()=>{const y=xb(f);y&&d({text:y,type:"warning",timeout:0},!1),i()}),f.on("show ResizeEditor ResizeWindow NodeChange",()=>{requestAnimationFrame(i)}),f.on("remove",()=>{Se(o.slice(),y=>{n().close(y)})})})(t),{open:d,close:()=>{a().each(f=>{n().close(f),c(f),i()})},getNotifications:u}},by=bl.PluginManager,Jg=bl.ThemeManager,uw=t=>{let o=[];const n=()=>{const d=t.theme;return d&&d.getWindowManagerImpl?d.getWindowManagerImpl():(()=>{const u=()=>{throw new Error("Theme did not provide a WindowManager implementation.")};return{open:u,openUrl:u,alert:u,confirm:u,close:u}})()},a=(d,u)=>(...f)=>u?u.apply(d,f):void 0,i=d=>{(u=>{t.dispatch("CloseWindow",{dialog:u})})(d),o=gt(o,u=>u!==d),o.length===0&&t.focus()},c=d=>{t.editorManager.setActive(t),rx(t),t.ui.show();const u=d();return(f=>{o.push(f),(y=>{t.dispatch("OpenWindow",{dialog:y})})(f)})(u),u};return t.on("remove",()=>{Se(o,d=>{n().close(d)})}),{open:(d,u)=>c(()=>n().open(d,u,i)),openUrl:d=>c(()=>n().openUrl(d,i)),alert:(d,u,f)=>{const y=n();y.alert(d,a(f||y,u))},confirm:(d,u,f)=>{const y=n();y.confirm(d,a(f||y,u))},close:()=>{V.from(o[o.length-1]).each(d=>{n().close(d),i(d)})}}},CE=(t,o)=>{t.notificationManager.open({type:"error",text:o})},hu=(t,o)=>{t._skinLoaded?CE(t,o):t.on("SkinLoaded",()=>{CE(t,o)})},zh=(t,o,n)=>{z1(t,o,{message:n}),console.error(n)},gf=(t,o,n)=>n?`Failed to load ${t}: ${n} from url ${o}`:`Failed to load ${t} url: ${o}`,yy=(t,...o)=>{const n=window.console;n&&(n.error?n.error(t,...o):n.log(t,...o))},mw=t=>"content/"+t+"/content.css",eC=(t,o)=>{const n=t.editorManager.baseURL+"/skins/content",a=`content${t.editorManager.suffix}.css`;return oo(o,i=>(c=>tinymce.Resource.has(mw(c)))(i)?i:(c=>/^[a-z0-9\-]+$/i.test(c))(i)&&!t.inline?`${n}/${i}/${a}`:t.documentBaseURI.toAbsolute(i))},SE=(t,o)=>{const n={};return{findAll:(a,i=Bt)=>{const c=gt((u=>u?Pn(u.getElementsByTagName("img")):[])(a),u=>{const f=u.src;return!u.hasAttribute("data-mce-bogus")&&!u.hasAttribute("data-mce-placeholder")&&!(!f||f===Rn.transparentSrc)&&(gr(f,"blob:")?!t.isUploaded(f)&&i(u):!!gr(f,"data:")&&i(u))}),d=oo(c,u=>{const f=u.src;if(ln(n,f))return n[f].then(y=>Ue(y)?y:{image:u,blobInfo:y.blobInfo});{const y=((v,k)=>{const E=()=>Promise.reject("Invalid data URI");if(gr(k,"blob:")){const P=v.getByUri(k);return Ze(P)?Promise.resolve(P):(B=k,gr(B,"blob:")?(M=>fetch(M).then(j=>j.ok?j.blob():Promise.reject()).catch(()=>Promise.reject({message:`Cannot convert ${M} to Blob. Resource might not exist or is inaccessible.`,uriType:"blob"})))(B):gr(B,"data:")?(O=B,new Promise((M,j)=>{ay(O).bind(({type:q,data:K,base64Encoded:re})=>C2(q,K,re)).fold(()=>j("Invalid data URI"),M)})):Promise.reject("Unknown URI format")).then(M=>Gx(M).then(j=>Kx(j,!1,q=>V.some(S2(v,M,q))).getOrThunk(E)))}var B,O;return gr(k,"data:")?i0(v,k).fold(E,P=>Promise.resolve(P)):Promise.reject("Unknown image data format")})(o,f).then(v=>(delete n[f],{image:u,blobInfo:v})).catch(v=>(delete n[f],v));return n[f]=y,y}});return Promise.all(d)}}},EE=()=>{let t={};const o=(a,i)=>({status:a,resultUri:i}),n=a=>a in t;return{hasBlobUri:n,getResultUri:a=>{const i=t[a];return i?i.resultUri:null},isPending:a=>!!n(a)&&t[a].status===1,isUploaded:a=>!!n(a)&&t[a].status===2,markPending:a=>{t[a]=o(1,null)},markUploaded:(a,i)=>{t[a]=o(2,i)},removeFailed:a=>{delete t[a]},destroy:()=>{t={}}}};let dO=0;const TE=(t,o)=>{const n={},a=(f,y)=>new Promise((v,k)=>{const E=new XMLHttpRequest;E.open("POST",o.url),E.withCredentials=o.credentials,E.upload.onprogress=O=>{y(O.loaded/O.total*100)},E.onerror=()=>{k("Image upload failed due to a XHR Transport error. Code: "+E.status)},E.onload=()=>{if(E.status<200||E.status>=300)return void k("HTTP Error: "+E.status);const O=JSON.parse(E.responseText);var P,M;O&&Ue(O.location)?v((P=o.basePath,M=O.location,P?P.replace(/\/$/,"")+"/"+M.replace(/^\//,""):M)):k("Invalid JSON: "+E.responseText)};const B=new FormData;B.append("file",f.blob(),f.filename()),E.send(B)}),i=de(o.handler)?o.handler:a,c=(f,y)=>({url:y,blobInfo:f,status:!0}),d=(f,y)=>({url:"",blobInfo:f,status:!1,error:y}),u=(f,y)=>{go.each(n[f],v=>{v(y)}),delete n[f]};return{upload:(f,y)=>o.url||i!==a?((v,k)=>(v=go.grep(v,E=>!t.isUploaded(E.blobUri())),Promise.all(go.map(v,E=>t.isPending(E.blobUri())?(B=>{const O=B.blobUri();return new Promise(P=>{n[O]=n[O]||[],n[O].push(P)})})(E):((B,O,P)=>(t.markPending(B.blobUri()),new Promise(M=>{let j,q;try{const K=()=>{j&&(j.close(),q=$t)},re=ke=>{K(),t.markUploaded(B.blobUri(),ke),u(B.blobUri(),c(B,ke)),M(c(B,ke))},ee=ke=>{K(),t.removeFailed(B.blobUri()),u(B.blobUri(),d(B,ke)),M(d(B,ke))};q=ke=>{ke<0||ke>100||V.from(j).orThunk(()=>V.from(P).map(ht)).each(et=>{j=et,et.progressBar.value(ke)})},O(B,q).then(re,ke=>{ee(Ue(ke)?{message:ke}:ke)})}catch(K){M(d(B,K))}})))(E,i,k)))))(f,y):new Promise(v=>{v([])})}},tC=t=>()=>t.notificationManager.open({text:t.translate("Image uploading..."),type:"info",timeout:-1,progressBar:!0}),gw=(t,o)=>TE(o,{url:n_(t),basePath:Jf(t),credentials:Sv(t),handler:Lp(t)}),oC=t=>{const o=(()=>{let P=[];const M=K=>{if(!K.blob||!K.base64)throw new Error("blob and base64 representations of the image are required for BlobInfo to be created");const re=K.id||"blobid"+dO+++(()=>{const st=()=>Math.round(4294967295*Math.random()).toString(36);return"s"+new Date().getTime().toString(36)+st()+st()+st()})(),ee=K.name||re,ke=K.blob;var et;return{id:Ct(re),name:Ct(ee),filename:Ct(K.filename||ee+"."+(et=ke.type,{"image/jpeg":"jpg","image/jpg":"jpg","image/gif":"gif","image/png":"png","image/apng":"apng","image/avif":"avif","image/svg+xml":"svg","image/webp":"webp","image/bmp":"bmp","image/tiff":"tiff"}[et.toLowerCase()]||"dat")),blob:Ct(ke),base64:Ct(K.base64),blobUri:Ct(K.blobUri||URL.createObjectURL(ke)),uri:Ct(K.uri)}},j=K=>Fe(P,K).getOrUndefined(),q=K=>j(re=>re.id()===K);return{create:(K,re,ee,ke,et)=>{if(Ue(K))return M({id:K,name:ke,filename:et,blob:re,base64:ee});if(it(K))return M(K);throw new Error("Unknown input type")},add:K=>{q(K.id())||P.push(K)},get:q,getByUri:K=>j(re=>re.blobUri()===K),getByData:(K,re)=>j(ee=>ee.base64()===K&&ee.blob().type===re),findFirst:j,removeByUri:K=>{P=gt(P,re=>re.blobUri()!==K||(URL.revokeObjectURL(re.blobUri()),!1))},destroy:()=>{Se(P,K=>{URL.revokeObjectURL(K.blobUri())}),P=[]}}})();let n,a;const i=EE(),c=[],d=P=>M=>t.selection?P(M):[],u=(P,M,j)=>{let q=0;do q=P.indexOf(M,q),q!==-1&&(P=P.substring(0,q)+j+P.substr(q+M.length),q+=j.length-M.length+1);while(q!==-1);return P},f=(P,M,j)=>{const q=`src="${j}"${j===Rn.transparentSrc?' data-mce-placeholder="1"':""}`;return P=u(P,`src="${M}"`,q),u(P,'data-mce-src="'+M+'"','data-mce-src="'+j+'"')},y=(P,M)=>{Se(t.undoManager.data,j=>{j.type==="fragmented"?j.fragments=oo(j.fragments,q=>f(q,P,M)):j.content=f(j.content,P,M)})},v=()=>(n||(n=gw(t,i)),B().then(d(P=>{const M=oo(P,j=>j.blobInfo);return n.upload(M,tC(t)).then(d(j=>{const q=[];let K=!1;const re=oo(j,(ee,ke)=>{const{blobInfo:et,image:st}=P[ke];let mt=!1;return ee.status&&o_(t)?(ee.url&&!Xr(st.src,ee.url)&&(K=!0),o.removeByUri(st.src),Tm(t)||((kt,Ve)=>{const ot=t.convertURL(Ve,"src");var pt;y(kt.src,Ve),Ee(je(kt),{src:Xf(t)?(pt=Ve,pt+(pt.indexOf("?")===-1?"?":"&")+new Date().getTime()):Ve,"data-mce-src":ot})})(st,ee.url)):ee.error&&(ee.error.remove&&(y(st.src,Rn.transparentSrc),q.push(st),mt=!0),((kt,Ve)=>{hu(kt,Zi.translate(["Failed to upload image: {0}",Ve]))})(t,ee.error.message)),{element:st,status:ee.status,uploadUri:ee.url,blobInfo:et,removed:mt}});return q.length>0&&!Tm(t)?t.undoManager.transact(()=>{Se(Xc(q),ee=>{const ke=Gi(ee);Ea(ee),ke.each((et=>st=>{((mt,kt)=>mt.dom.isEmpty(kt.dom)&&Ze(mt.schema.getTextBlockElements()[Pe(kt)]))(et,st)&&os(st,ic('
    '))})(t)),o.removeByUri(ee.dom.src)})}):K&&t.undoManager.dispatchChange(),re}))}))),k=()=>bb(t)?v():Promise.resolve([]),E=P=>ze(c,M=>M(P)),B=()=>(a||(a=SE(i,o)),a.findAll(t.getBody(),E).then(d(P=>{const M=gt(P,j=>Ue(j)?(hu(t,j),!1):j.uriType!=="blob");return Tm(t)||Se(M,j=>{y(j.image.src,j.blobInfo.blobUri()),j.image.src=j.blobInfo.blobUri(),j.image.removeAttribute("data-mce-src")}),M}))),O=P=>P.replace(/src="(blob:[^"]+)"/g,(M,j)=>{const q=i.getResultUri(j);if(q)return'src="'+q+'"';let K=o.getByUri(j);return K||(K=Oe(t.editorManager.get(),(re,ee)=>re||ee.editorUpload&&ee.editorUpload.blobCache.getByUri(j),void 0)),K?'src="data:'+K.blob().type+";base64,"+K.base64()+'"':M});return t.on("SetContent",()=>{bb(t)?k():B()}),t.on("RawSaveContent",P=>{P.content=O(P.content)}),t.on("GetContent",P=>{P.source_view||P.format==="raw"||P.format==="tree"||(P.content=O(P.content))}),t.on("PostRender",()=>{t.parser.addNodeFilter("img",P=>{Se(P,M=>{const j=M.attr("src");if(!j||o.getByUri(j))return;const q=i.getResultUri(j);q&&M.attr("src",q)})})}),{blobCache:o,addFilter:P=>{c.push(P)},uploadImages:v,uploadImagesAuto:k,scanForImages:B,destroy:()=>{o.destroy(),i.destroy(),a=n=null}}},nC={remove_similar:!0,inherit:!1},pf={selector:"td,th",...nC},zE={tablecellbackgroundcolor:{styles:{backgroundColor:"%value"},...pf},tablecellverticalalign:{styles:{"vertical-align":"%value"},...pf},tablecellbordercolor:{styles:{borderColor:"%value"},...pf},tablecellclass:{classes:["%value"],...pf},tableclass:{selector:"table",classes:["%value"],...nC},tablecellborderstyle:{styles:{borderStyle:"%value"},...pf},tablecellborderwidth:{styles:{borderWidth:"%value"},...pf}},AE=Ct(zE),vy=go.each,Pd=wr.DOM,pw=t=>Ze(t)&&it(t),rC=(t,o)=>{const n=o&&o.schema||Du({}),a=d=>{const u=Ue(d)?{name:d,classes:[],attrs:{}}:d,f=Pd.create(u.name);return((y,v)=>{v.classes.length>0&&Pd.addClass(y,v.classes.join(" ")),Pd.setAttribs(y,v.attrs)})(f,u),f},i=(d,u,f)=>{let y;const v=u[0],k=pw(v)?v.name:void 0,E=((P,M)=>{const j=n.getElementRule(P.nodeName.toLowerCase()),q=j?.parentsRequired;return!(!q||!q.length)&&(M&&lo(q,M)?M:q[0])})(d,k);if(E)k===E?(y=v,u=u.slice(1)):y=E;else if(v)y=v,u=u.slice(1);else if(!f)return d;const B=y?a(y):Pd.create("div");B.appendChild(d),f&&go.each(f,P=>{const M=a(P);B.insertBefore(M,d)});const O=pw(y)?y.siblings:void 0;return i(B,u,O)},c=Pd.create("div");if(t.length>0){const d=t[0],u=a(d),f=pw(d)?d.siblings:void 0;c.appendChild(i(u,t.slice(1),f))}return c},aC=t=>{let o="div";const n={name:o,classes:[],attrs:{},selector:t=go.trim(t)};return t!=="*"&&(o=t.replace(/(?:([#\.]|::?)([\w\-]+)|(\[)([^\]]+)\]?)/g,(a,i,c,d,u)=>{switch(i){case"#":n.attrs.id=c;break;case".":n.classes.push(c);break;case":":go.inArray("checked disabled enabled read-only required".split(" "),c)!==-1&&(n.attrs[c]=c)}if(d==="["){const f=u.match(/([\w\-]+)(?:\=\"([^\"]+))?/);f&&(n.attrs[f[1]]=f[2])}return""})),n.name=o||"div",n},uO=(t,o)=>{let n="",a=ju(t);if(a==="")return"";const i=B=>Ue(B)?B.replace(/%(\w+)/g,""):"",c=(B,O)=>Pd.getStyle(O??t.getBody(),B,!0);if(Ue(o)){const B=t.formatter.get(o);if(!B)return"";o=B[0]}if("preview"in o){const B=o.preview;if(B===!1)return"";a=B||a}let d,u=o.block||o.inline||"span";const f=(y=o.selector,Ue(y)?(y=(y=y.split(/\s*,\s*/)[0]).replace(/\s*(~\+|~|\+|>)\s*/g,"$1"),go.map(y.split(/(?:>|\s+(?![^\[\]]+\]))/),B=>{const O=go.map(B.split(/(?:~\+|~|\+)/),aC),P=O.pop();return O.length&&(P.siblings=O),P}).reverse()):[]);var y;f.length>0?(f[0].name||(f[0].name=u),u=o.selector,d=rC(f,t)):d=rC([u],t);const v=Pd.select(u,d)[0]||d.firstChild;vy(o.styles,(B,O)=>{const P=i(B);P&&Pd.setStyle(v,O,P)}),vy(o.attributes,(B,O)=>{const P=i(B);P&&Pd.setAttrib(v,O,P)}),vy(o.classes,B=>{const O=i(B);Pd.hasClass(v,O)||Pd.addClass(v,O)}),t.dispatch("PreviewFormats"),Pd.setStyles(d,{position:"absolute",left:-65535}),t.getBody().appendChild(d);const k=c("fontSize"),E=/px$/.test(k)?parseInt(k,10):0;return vy(a.split(" "),B=>{let O=c(B,v);if(!(B==="background-color"&&/transparent|rgba\s*\([^)]+,\s*0\)/.test(O)&&(O=c(B),qo(O).toLowerCase()==="#ffffff")||B==="color"&&qo(O).toLowerCase()==="#000000")){if(B==="font-size"&&/em|%$/.test(O)){if(E===0)return;O=parseFloat(O)/(/%$/.test(O)?100:1)*E+"px"}B==="border"&&O&&(n+="padding:0 2px;"),n+=B+":"+O+";"}}),t.dispatch("AfterPreviewFormats"),Pd.remove(d),n},_0=t=>{const o=(a=>{const i={},c=(d,u)=>{d&&(Ue(d)?(co(u)||(u=[u]),Se(u,f=>{fo(f.deep)&&(f.deep=!Fd(f)),fo(f.split)&&(f.split=!Fd(f)||el(f)),fo(f.remove)&&Fd(f)&&!el(f)&&(f.remove="none"),Fd(f)&&el(f)&&(f.mixed=!0,f.block_expand=!0),Ue(f.classes)&&(f.classes=f.classes.split(/\s+/))}),i[d]=u):Ft(d,(f,y)=>{c(y,f)}))};return c((d=>{const u=d.dom,f=d.schema.type,y={valigntop:[{selector:"td,th",styles:{verticalAlign:"top"}}],valignmiddle:[{selector:"td,th",styles:{verticalAlign:"middle"}}],valignbottom:[{selector:"td,th",styles:{verticalAlign:"bottom"}}],alignleft:[{selector:"figure.image",collapsed:!1,classes:"align-left",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li,pre",styles:{textAlign:"left"},inherit:!1,preview:!1},{selector:"img,audio,video",collapsed:!1,styles:{float:"left"},preview:"font-family font-size"},{selector:"table",collapsed:!1,styles:{marginLeft:"0px",marginRight:"auto"},onformat:v=>{u.setStyle(v,"float",null)},preview:"font-family font-size"},{selector:".mce-preview-object,[data-ephox-embed-iri]",ceFalseOverride:!0,styles:{float:"left"}}],aligncenter:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li,pre",styles:{textAlign:"center"},inherit:!1,preview:"font-family font-size"},{selector:"figure.image",collapsed:!1,classes:"align-center",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"img,audio,video",collapsed:!1,styles:{display:"block",marginLeft:"auto",marginRight:"auto"},preview:!1},{selector:"table",collapsed:!1,styles:{marginLeft:"auto",marginRight:"auto"},preview:"font-family font-size"},{selector:".mce-preview-object",ceFalseOverride:!0,styles:{display:"table",marginLeft:"auto",marginRight:"auto"},preview:!1},{selector:"[data-ephox-embed-iri]",ceFalseOverride:!0,styles:{marginLeft:"auto",marginRight:"auto"},preview:!1}],alignright:[{selector:"figure.image",collapsed:!1,classes:"align-right",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li,pre",styles:{textAlign:"right"},inherit:!1,preview:"font-family font-size"},{selector:"img,audio,video",collapsed:!1,styles:{float:"right"},preview:"font-family font-size"},{selector:"table",collapsed:!1,styles:{marginRight:"0px",marginLeft:"auto"},onformat:v=>{u.setStyle(v,"float",null)},preview:"font-family font-size"},{selector:".mce-preview-object,[data-ephox-embed-iri]",ceFalseOverride:!0,styles:{float:"right"},preview:!1}],alignjustify:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li,pre",styles:{textAlign:"justify"},inherit:!1,preview:"font-family font-size"}],bold:[{inline:"strong",remove:"all",preserve_attributes:["class","style"]},{inline:"span",styles:{fontWeight:"bold"}},{inline:"b",remove:"all",preserve_attributes:["class","style"]}],italic:[{inline:"em",remove:"all",preserve_attributes:["class","style"]},{inline:"span",styles:{fontStyle:"italic"}},{inline:"i",remove:"all",preserve_attributes:["class","style"]}],underline:[{inline:"span",styles:{textDecoration:"underline"},exact:!0},{inline:"u",remove:"all",preserve_attributes:["class","style"]}],strikethrough:(()=>{const v={inline:"span",styles:{textDecoration:"line-through"},exact:!0},k={inline:"strike",remove:"all",preserve_attributes:["class","style"]},E={inline:"s",remove:"all",preserve_attributes:["class","style"]};return f!=="html4"?[E,v,k]:[v,E,k]})(),forecolor:{inline:"span",styles:{color:"%value"},links:!0,remove_similar:!0,clear_child_styles:!0},hilitecolor:{inline:"span",styles:{backgroundColor:"%value"},links:!0,remove_similar:!0,clear_child_styles:!0},fontname:{inline:"span",toggle:!1,styles:{fontFamily:"%value"},clear_child_styles:!0},fontsize:{inline:"span",toggle:!1,styles:{fontSize:"%value"},clear_child_styles:!0},lineheight:{selector:"h1,h2,h3,h4,h5,h6,p,li,td,th,div",styles:{lineHeight:"%value"}},fontsize_class:{inline:"span",attributes:{class:"%value"}},blockquote:{block:"blockquote",wrapper:!0,remove:"all"},subscript:{inline:"sub"},superscript:{inline:"sup"},code:{inline:"code"},link:{inline:"a",selector:"a",remove:"all",split:!0,deep:!0,onmatch:(v,k,E)=>rn(v)&&v.hasAttribute("href"),onformat:(v,k,E)=>{go.each(E,(B,O)=>{u.setAttrib(v,O,B)})}},lang:{inline:"span",clear_child_styles:!0,remove_similar:!0,attributes:{lang:"%value","data-mce-lang":v=>{var k;return(k=v?.customValue)!==null&&k!==void 0?k:null}}},removeformat:[{selector:"b,strong,em,i,font,u,strike,s,sub,sup,dfn,code,samp,kbd,var,cite,mark,q,del,ins,small",remove:"all",split:!0,expand:!1,block_expand:!0,deep:!0},{selector:"span",attributes:["style","class"],remove:"empty",split:!0,expand:!1,deep:!0},{selector:"*",attributes:["style","class"],split:!1,expand:!1,deep:!0}]};return go.each("p h1 h2 h3 h4 h5 h6 div address pre dt dd samp".split(/\s/),v=>{y[v]={block:v,remove:"all"}}),y})(a)),c(AE()),c(r_(a)),{get:d=>Ze(d)?i[d]:i,has:d=>ln(i,d),register:c,unregister:d=>(d&&i[d]&&delete i[d],i)}})(t),n=bi({});return(a=>{a.addShortcut("meta+b","","Bold"),a.addShortcut("meta+i","","Italic"),a.addShortcut("meta+u","","Underline");for(let i=1;i<=6;i++)a.addShortcut("access+"+i,"",["FormatBlock",!1,"h"+i]);a.addShortcut("access+7","",["FormatBlock",!1,"p"]),a.addShortcut("access+8","",["FormatBlock",!1,"div"]),a.addShortcut("access+9","",["FormatBlock",!1,"address"])})(t),(a=>{a.on("mouseup keydown",i=>{var c;((d,u,f)=>{const y=d.selection,v=d.getBody();Vx(d,null,f),u!==8&&u!==46||!y.isCollapsed()||y.getStart().innerHTML!==wh||Vx(d,Le(v,y.getStart()),!0),u!==37&&u!==39||Vx(d,Le(v,y.getStart()),!0)})(a,i.keyCode,(c=a.selection.getRng().endContainer,ao(c)&&De(c.data,ns)))})})(t),Tm(t)||((a,i)=>{a.set({}),i.on("NodeChange",c=>{k2(i,c.element,a.get())}),i.on("FormatApply FormatRemove",c=>{const d=V.from(c.node).map(u=>wm(u)?u:u.startContainer).bind(u=>rn(u)?V.some(u):V.from(u.parentElement)).getOrThunk(()=>df(i));k2(i,d,a.get())})})(n,t),{get:o.get,has:o.has,register:o.register,unregister:o.unregister,apply:(a,i,c)=>{((d,u,f,y)=>{Li(d).formatter.apply(u,f,y)})(t,a,i,c)},remove:(a,i,c,d)=>{((u,f,y,v,k)=>{Li(u).formatter.remove(f,y,v,k)})(t,a,i,c,d)},toggle:(a,i,c)=>{((d,u,f,y)=>{Li(d).formatter.toggle(u,f,y)})(t,a,i,c)},match:(a,i,c,d)=>((u,f,y,v,k)=>Li(u).formatter.match(f,y,v,k))(t,a,i,c,d),closest:a=>((i,c)=>Li(i).formatter.closest(c))(t,a),matchAll:(a,i)=>((c,d,u)=>Li(c).formatter.matchAll(d,u))(t,a,i),matchNode:(a,i,c,d)=>((u,f,y,v,k)=>Li(u).formatter.matchNode(f,y,v,k))(t,a,i,c,d),canApply:a=>((i,c)=>Li(i).formatter.canApply(c))(t,a),formatChanged:(a,i,c,d)=>((u,f,y,v,k,E)=>Li(u).formatter.formatChanged(f,y,v,k,E))(t,n,a,i,c,d),getCssText:Je(uO,t)}},sC=t=>{switch(t.toLowerCase()){case"undo":case"redo":case"mcefocus":return!0;default:return!1}},iC=t=>{const o=Ec(),n=bi(0),a=bi(0),i={data:[],typing:!1,beforeChange:()=>{((c,d,u)=>{Li(c).undoManager.beforeChange(d,u)})(t,n,o)},add:(c,d)=>((u,f,y,v,k,E,B)=>Li(u).undoManager.add(f,y,v,k,E,B))(t,i,a,n,o,c,d),dispatchChange:()=>{t.setDirty(!0);const c=ow(t);c.bookmark=yi(t.selection),t.dispatch("change",{level:c,lastLevel:$o(i.data,a.get()).getOrUndefined()})},undo:()=>((c,d,u,f)=>Li(c).undoManager.undo(d,u,f))(t,i,n,a),redo:()=>((c,d,u)=>Li(c).undoManager.redo(d,u))(t,a,i.data),clear:()=>{((c,d,u)=>{Li(c).undoManager.clear(d,u)})(t,i,a)},reset:()=>{((c,d)=>{Li(c).undoManager.reset(d)})(t,i)},hasUndo:()=>((c,d,u)=>Li(c).undoManager.hasUndo(d,u))(t,i,a),hasRedo:()=>((c,d,u)=>Li(c).undoManager.hasRedo(d,u))(t,i,a),transact:c=>((d,u,f,y)=>Li(d).undoManager.transact(u,f,y))(t,i,n,c),ignore:c=>{((d,u,f)=>{Li(d).undoManager.ignore(u,f)})(t,n,c)},extra:(c,d)=>{((u,f,y,v,k)=>{Li(u).undoManager.extra(f,y,v,k)})(t,i,a,c,d)}};return Tm(t)||((c,d,u)=>{const f=bi(!1),y=v=>{b0(d,!1,u),d.add({},v)};c.on("init",()=>{d.add()}),c.on("BeforeExecCommand",v=>{const k=v.command;sC(k)||($2(d,u),d.beforeChange())}),c.on("ExecCommand",v=>{const k=v.command;sC(k)||y(v)}),c.on("ObjectResizeStart cut",()=>{d.beforeChange()}),c.on("SaveContent ObjectResized blur",y),c.on("dragend",y),c.on("keyup",v=>{const k=v.keyCode;if(v.isDefaultPrevented())return;const E=Rn.os.isMacOS()&&v.key==="Meta";(k>=33&&k<=36||k>=37&&k<=40||k===45||v.ctrlKey||E)&&(y(),c.nodeChanged()),k!==46&&k!==8||c.nodeChanged(),f.get()&&d.typing&&!aw(ow(c),d.data[0])&&(c.isDirty()||c.setDirty(!0),c.dispatch("TypingUndo"),f.set(!1),c.nodeChanged())}),c.on("keydown",v=>{const k=v.keyCode;if(v.isDefaultPrevented())return;if(k>=33&&k<=36||k>=37&&k<=40||k===45)return void(d.typing&&y(v));const E=v.ctrlKey&&!v.altKey||v.metaKey;if((k<16||k>20)&&k!==224&&k!==91&&!d.typing&&!E)return d.beforeChange(),b0(d,!0,u),d.add({},v),void f.set(!0);(Rn.os.isMacOS()?v.metaKey:v.ctrlKey&&!v.altKey)&&d.beforeChange()}),c.on("mousedown",v=>{d.typing&&y(v)}),c.on("input",v=>{var k;v.inputType&&(v.inputType==="insertReplacementText"||(k=v).inputType==="insertText"&&k.data===null||(E=>E.inputType==="insertFromPaste"||E.inputType==="insertFromDrop")(v))&&y(v)}),c.on("AddUndo Undo Redo ClearUndos",v=>{v.isDefaultPrevented()||c.nodeChanged()})})(t,i,n),(c=>{c.addShortcut("meta+z","","Undo"),c.addShortcut("meta+y,meta+shift+z","","Redo")})(t),i},mO=[9,27,mn.HOME,mn.END,19,20,44,144,145,33,34,45,16,17,18,91,92,93,mn.DOWN,mn.UP,mn.LEFT,mn.RIGHT].concat(Rn.browser.isFirefox()?[224]:[]),OE="data-mce-placeholder",lC=t=>t.type==="keydown"||t.type==="keyup",NE=t=>{const o=t.keyCode;return o===mn.BACKSPACE||o===mn.DELETE},ME=(t,o)=>({from:t,to:o}),cC=(t,o)=>{const n=je(t),a=je(o.container());return j1(n,a).map(i=>((c,d)=>({block:c,position:d}))(i,o))},DE=(t,o)=>ts(o,n=>Sn(n)||zi(n.dom),n=>sa(n,t)).filter(kn).getOr(t),RE=(t,o)=>{const n=((a,i)=>{const c=Lt(a);return ge(c,d=>i.isBlock(Pe(d))).fold(Ct(c),d=>c.slice(0,d))})(t,o);return Se(n,Ea),n},js=(t,o)=>{const n=$g(o,t);return Fe(n.reverse(),a=>ys(a)).each(Ea)},dC=(t,o,n,a,i)=>{if(ys(n))return Oi(n),Z(n.dom);gt(ve(i),d=>!ys(d)).length===0&&ys(o)&&rl(i,_s("br"));const c=I(n.dom,Ht.before(i.dom));return Se(RE(o,a),d=>{rl(i,d)}),js(t,o),c},gO=(t,o,n,a)=>{if(ys(n)){if(ys(o)){const c=u=>{const f=(y,v)=>ur(y).fold(()=>v,k=>((E,B)=>E.isInline(Pe(B)))(a,k)?f(k,v.concat(Um(k))):v);return f(u,[])},d=pe(c(n),(u,f)=>(Dc(u,f),f),Xi());bd(o),os(o,d)}return Ea(n),Z(o.dom)}const i=Y(n.dom);return Se(RE(o,a),c=>{os(n,c)}),js(t,o),i},BE=(t,o)=>{T(t,o.dom).bind(n=>V.from(n.getNode())).map(je).filter(pl).each(Ea)},Ah=(t,o,n,a)=>(BE(!0,o),BE(!1,n),((i,c)=>lc(c,i)?((d,u)=>{const f=$g(u,d);return V.from(f[f.length-1])})(c,i):V.none())(o,n).fold(Je(gO,t,o,n,a),Je(dC,t,o,n,a))),Qg=(t,o,n,a,i)=>o?Ah(t,a,n,i):Ah(t,n,a,i),zm=(t,o)=>{const n=je(t.getBody());return((i,c,d)=>d.collapsed?((u,f,y)=>{const v=cC(u,Ht.fromRangeStart(y)),k=v.bind(E=>p(f,u,E.position).bind(B=>cC(u,B).map(O=>((P,M,j)=>da(j.position.getNode())&&!ys(j.block)?T(!1,j.block.dom).bind(q=>q.isEqual(j.position)?p(M,P,q).bind(K=>cC(P,K)):V.some(j)).getOr(j):j)(u,f,O))));return Ir(v,k,ME).filter(E=>(B=>!sa(B.from.block,B.to.block))(E)&&((B,O)=>{const P=je(B);return sa(DE(P,O.from.block),DE(P,O.to.block))})(u,E)&&(B=>Oa(B.from.block.dom)===!1&&Oa(B.to.block.dom)===!1)(E)&&(B=>{const O=P=>ri(P)||cg(P.dom);return O(B.from.block)&&O(B.to.block)})(E))})(i,c,d):V.none())(n.dom,o,t.selection.getRng()).map(i=>()=>{Qg(n,o,i.from.block,i.to.block,t.schema).each(c=>{t.selection.setRng(c.toRange())})})},uC=(t,o)=>{const n=je(o),a=Je(sa,t);return Fa(n,Sn,a).isSome()},FE=t=>{const o=je(t.getBody());return((n,a)=>{const i=I(n.dom,Ht.fromRangeStart(a)).isNone(),c=L(n.dom,Ht.fromRangeEnd(a)).isNone();return!((d,u)=>uC(d,u.startContainer)||uC(d,u.endContainer))(n,a)&&i&&c})(o,t.selection.getRng())?(n=>V.some(()=>{n.setContent(""),n.selection.setCursorLocation()}))(t):((n,a,i)=>{const c=a.getRng();return Ir(j1(n,je(c.startContainer)),j1(n,je(c.endContainer)),(d,u)=>sa(d,u)?V.none():V.some(()=>{c.deleteContents(),Qg(n,!0,d,u,i).each(f=>{a.setRng(f.toRange())})})).getOr(V.none())})(o,t.selection,t.schema)},fw=(t,o)=>t.selection.isCollapsed()?V.none():FE(t),Gu=(t,o,n,a,i)=>V.from(o._selectionOverrides.showCaret(t,n,a,i)),C0=(t,o)=>t.dispatch("BeforeObjectSelected",{target:o}).isDefaultPrevented()?V.none():V.some((n=>{const a=n.ownerDocument.createRange();return a.selectNode(n),a})(o)),S0=(t,o,n)=>o.collapsed?((a,i,c)=>{const d=Zp(1,a.getBody(),i),u=Ht.fromRangeStart(d),f=u.getNode();if(id(f))return Gu(1,a,f,!u.isAtEnd(),!1);const y=u.getNode(!0);if(id(y))return Gu(1,a,y,!1,!1);const v=Zu(a.dom.getRoot(),u.getNode());return id(v)?Gu(1,a,v,!1,c):V.none()})(t,o,n).getOr(o):o,LE=t=>Km(t)||F1(t),IE=t=>sf(t)||L1(t),hw=(t,o,n,a,i,c)=>{Gu(a,t,c.getNode(!i),i,!0).each(d=>{if(o.collapsed){const u=o.cloneRange();i?u.setEnd(d.startContainer,d.startOffset):u.setStart(d.endContainer,d.endOffset),u.deleteContents()}else o.deleteContents();t.selection.setRng(d)}),((d,u)=>{ao(u)&&u.data.length===0&&d.remove(u)})(t.dom,n)},bw=(t,o)=>((n,a)=>{const i=n.selection.getRng();if(!ao(i.commonAncestorContainer))return V.none();const c=a?Bi.Forwards:Bi.Backwards,d=nc(n.getBody()),u=Je(Lb,a?d.next:d.prev),f=a?LE:IE,y=xm(c,n.getBody(),i),v=u(y),k=v&&ld(a,v);if(!k||!Wp(y,k))return V.none();if(f(k))return V.some(()=>hw(n,i,y.getNode(),c,a,k));const E=u(k);return E&&f(E)&&Wp(k,E)?V.some(()=>hw(n,i,y.getNode(),c,a,E)):V.none()})(t,o),E0=(t,o)=>{const n=t.getBody();return o?Z(n).filter(Km):Y(n).filter(sf)},mC=t=>{const o=t.selection.getRng();return!o.collapsed&&(E0(t,!0).exists(n=>n.isEqual(Ht.fromRangeStart(o)))||E0(t,!1).exists(n=>n.isEqual(Ht.fromRangeEnd(o))))},bu=zc([{remove:["element"]},{moveToElement:["element"]},{moveToPosition:["position"]}]),Hd=(t,o,n,a)=>p(o,t,n).bind(i=>{return c=i.getNode(),Ze(c)&&(Sn(je(c))||uc(je(c)))||((d,u,f,y,v)=>{const k=E=>v.isInline(E.nodeName.toLowerCase())&&!Lr(f,y,d);return Fb(!u,f).fold(()=>Fb(u,y).fold(uo,k),k)})(t,o,n,i,a)?V.none():o&&Oa(i.getNode())||!o&&Oa(i.getNode(!0))?((d,u,f,y)=>{const v=y.getNode(!u);return j1(je(d),je(f.getNode())).map(k=>ys(k)?bu.remove(k.dom):bu.moveToElement(v)).orThunk(()=>V.some(bu.moveToElement(v)))})(t,o,n,i):o&&sf(n)||!o&&Km(n)?V.some(bu.moveToPosition(i)):V.none();var c}),gC=(t,o)=>V.from(Zu(t.getBody(),o)),pO=(t,o)=>{const n=t.selection.getNode();return gC(t,n).filter(Oa).fold(()=>((a,i,c,d)=>{const u=Zp(i?1:-1,a,c),f=Ht.fromRangeStart(u),y=je(a);return!i&&sf(f)?V.some(bu.remove(f.getNode(!0))):i&&Km(f)?V.some(bu.remove(f.getNode())):!i&&Km(f)&&Ug(y,f,d)?Rs(y,f,d).map(v=>bu.remove(v.getNode())):i&&sf(f)&&P_(y,f,d)?hx(y,f,d).map(v=>bu.remove(v.getNode())):((v,k,E,B)=>((O,P)=>{const M=P.getNode(!O),j=O?"after":"before";return rn(M)&&M.getAttribute("data-mce-caret")===j})(k,E)?((O,P)=>me(P)?V.none():O&&Oa(P.nextSibling)?V.some(bu.moveToElement(P.nextSibling)):!O&&Oa(P.previousSibling)?V.some(bu.moveToElement(P.previousSibling)):V.none())(k,E.getNode(!k)).orThunk(()=>Hd(v,k,E,B)):Hd(v,k,E,B).bind(O=>((P,M,j)=>j.fold(q=>V.some(bu.remove(q)),q=>V.some(bu.moveToElement(q)),q=>Lr(M,q,P)?V.none():V.some(bu.moveToPosition(q))))(v,E,O)))(a,i,f,d)})(t.getBody(),o,t.selection.getRng(),t.schema).map(a=>()=>a.fold(((i,c)=>d=>(i._selectionOverrides.hideFakeCaret(),fc(i,c,je(d)),!0))(t,o),((i,c)=>d=>{const u=c?Ht.before(d):Ht.after(d);return i.selection.setRng(u.toRange()),!0})(t,o),(i=>c=>(i.selection.setRng(c.toRange()),!0))(t))),()=>V.some($t))},PE=t=>{const o=t.dom,n=t.selection,a=Zu(t.getBody(),n.getNode());if(zi(a)&&o.isBlock(a)&&o.isEmpty(a)){const i=o.create("br",{"data-mce-bogus":"1"});o.setHTML(a,""),a.appendChild(i),n.setRng(Ht.before(i).toRange())}return!0},xy=(t,o)=>t.selection.isCollapsed()?pO(t,o):((n,a)=>{const i=n.selection.getNode();return Oa(i)&&!al(i)?gC(n,i.parentNode).filter(Oa).fold(()=>V.some(()=>{var c;c=je(n.getBody()),Se(wa(c,".mce-offscreen-selection"),Ea),fc(n,a,je(n.selection.getNode())),V1(n)}),()=>V.some($t)):mC(n)?V.some(()=>{B4(n,n.selection.getRng(),je(n.getBody()))}):V.none()})(t,o),pC=(t,o)=>t.selection.isCollapsed()?((n,a)=>{const i=Ht.fromRangeStart(n.selection.getRng());return p(a,n.getBody(),i).filter(c=>a?IA(c):PA(c)).bind(c=>Bd(a?0:-1,c)).map(c=>()=>n.selection.select(c))})(t,o):V.none(),wy=ao,fC=t=>wy(t)&&t.data[0]===Za,yw=t=>wy(t)&&t.data[t.data.length-1]===Za,HE=t=>{var o;return((o=t.ownerDocument)!==null&&o!==void 0?o:document).createTextNode(Za)},vw=(t,o)=>t?(n=>{var a;if(wy(n.previousSibling))return yw(n.previousSibling)||n.previousSibling.appendData(Za),n.previousSibling;if(wy(n))return fC(n)||n.insertData(0,Za),n;{const i=HE(n);return(a=n.parentNode)===null||a===void 0||a.insertBefore(i,n),i}})(o):(n=>{var a,i;if(wy(n.nextSibling))return fC(n.nextSibling)||n.nextSibling.insertData(0,Za),n.nextSibling;if(wy(n))return yw(n)||n.appendData(Za),n;{const c=HE(n);return n.nextSibling?(a=n.parentNode)===null||a===void 0||a.insertBefore(c,n.nextSibling):(i=n.parentNode)===null||i===void 0||i.appendChild(c),c}})(o),jE=Je(vw,!0),VE=Je(vw,!1),ff=(t,o)=>ao(t.container())?vw(o,t.container()):vw(o,t.getNode()),Oh=(t,o)=>{const n=o.get();return n&&t.container()===n&&bs(n)},Nh=(t,o)=>o.fold(n=>{Dd(t.get());const a=jE(n);return t.set(a),V.some(Ht(a,a.length-1))},n=>Z(n).map(a=>{if(Oh(a,t)){const i=t.get();return Ht(i,1)}{Dd(t.get());const i=ff(a,!0);return t.set(i),Ht(i,1)}}),n=>Y(n).map(a=>{if(Oh(a,t)){const i=t.get();return Ht(i,i.length-1)}{Dd(t.get());const i=ff(a,!1);return t.set(i),Ht(i,i.length-1)}}),n=>{Dd(t.get());const a=VE(n);return t.set(a),V.some(Ht(a,1))}),hC=(t,o)=>{for(let n=0;nRd(o,t)||t,UE=(t,o,n)=>{const a=xx(n),i=$E(o,a.container());return Zg(t,i,a).fold(()=>L(i,a).bind(Je(Zg,t,i)).map(c=>bc.before(c)),V.none)},T0=(t,o)=>Le(t,o)===null,bC=(t,o,n)=>Zg(t,o,n).filter(Je(T0,o)),ZE=(t,o,n)=>{const a=D4(n);return bC(t,o,a).bind(i=>I(i,a).isNone()?V.some(bc.start(i)):V.none())},qE=(t,o,n)=>{const a=xx(n);return bC(t,o,a).bind(i=>L(i,a).isNone()?V.some(bc.end(i)):V.none())},fO=(t,o,n)=>{const a=D4(n),i=$E(o,a.container());return Zg(t,i,a).fold(()=>I(i,a).bind(Je(Zg,t,i)).map(c=>bc.after(c)),V.none)},Ku=t=>!H1(yC(t)),Yu=(t,o,n)=>hC([UE,ZE,qE,fO],[t,o,n]).filter(Ku),yC=t=>t.fold(R,R,R,R),WE=t=>t.fold(Ct("before"),Ct("start"),Ct("end"),Ct("after")),ya=t=>t.fold(bc.before,bc.before,bc.after,bc.after),vC=t=>t.fold(bc.start,bc.start,bc.end,bc.end),hO=(t,o,n,a,i,c)=>Ir(Zg(o,n,a),Zg(o,n,i),(d,u)=>d!==u&&((f,y,v)=>{const k=Rd(y,f),E=Rd(v,f);return Ze(k)&&k===E})(n,d,u)?bc.after(t?d:u):c).getOr(c),Bs=(t,o)=>t.fold(Bt,n=>{return i=o,!(WE(a=n)===WE(i)&&yC(a)===yC(i));var a,i}),bO=(t,o)=>t?o.fold(gn(V.some,bc.start),V.none,gn(V.some,bc.after),V.none):o.fold(V.none,gn(V.some,bc.before),V.none,gn(V.some,bc.end)),ky=(t,o,n)=>{const a=t?1:-1;return o.setRng(Ht(n.container(),n.offset()+a).toRange()),o.getSel().modify("move",t?"forward":"backward","word"),!0};var Qm;(function(t){t[t.Br=0]="Br",t[t.Block=1]="Block",t[t.Wrap=2]="Wrap",t[t.Eol=3]="Eol"})(Qm||(Qm={}));const z0=(t,o)=>t===Bi.Backwards?Ge(o):o,hf=(t,o,n)=>t===Bi.Forwards?o.next(n):o.prev(n),cd=(t,o,n,a)=>da(a.getNode(o===Bi.Forwards))?Qm.Br:Lr(n,a)===!1?Qm.Block:Qm.Wrap,_y=(t,o,n,a)=>{const i=nc(n);let c=a;const d=[];for(;c;){const u=hf(o,i,c);if(!u)break;if(da(u.getNode(!1)))return o===Bi.Forwards?{positions:z0(o,d).concat([u]),breakType:Qm.Br,breakAt:V.some(u)}:{positions:z0(o,d),breakType:Qm.Br,breakAt:V.some(u)};if(u.isVisible()){if(t(c,u)){const f=cd(0,o,c,u);return{positions:z0(o,d),breakType:f,breakAt:V.some(u)}}d.push(u),c=u}else c=u}return{positions:z0(o,d),breakType:Qm.Eol,breakAt:V.none()}},ep=(t,o,n,a)=>o(n,a).breakAt.map(i=>{const c=o(n,i).positions;return t===Bi.Backwards?c.concat(i):[i].concat(c)}).getOr([]),Xu=(t,o)=>Oe(t,(n,a)=>n.fold(()=>V.some(a),i=>Ir(Zo(i.getClientRects()),Zo(a.getClientRects()),(c,d)=>{const u=Math.abs(o-c.left);return Math.abs(o-d.left)<=u?a:i}).or(n)),V.none()),bf=(t,o)=>Zo(o.getClientRects()).bind(n=>Xu(t,n.left)),Mh=Je(_y,Ht.isAbove,-1),Dh=Je(_y,Ht.isBelow,1),xC=Je(ep,-1,Mh),wC=Je(ep,1,Dh),GE=(t,o)=>Mh(t,o).breakAt.isNone(),KE=(t,o)=>Dh(t,o).breakAt.isNone(),YE=(t,o)=>bf(xC(t,o),o),XE=(t,o)=>bf(wC(t,o),o),JE=Oa,kC=(t,o)=>Math.abs(t.left-o),xw=(t,o)=>Math.abs(t.right-o),QE=(t,o)=>$s(t,(n,a)=>{const i=Math.min(kC(n,o),xw(n,o)),c=Math.min(kC(a,o),xw(a,o));return c===i&&xr(a,"node")&&JE(a.node)||c{const o=n=>oo(n,a=>{const i=Vl(a);return i.node=t,i});if(rn(t))return o(t.getClientRects());if(ao(t)){const n=t.ownerDocument.createRange();return n.setStart(t,0),n.setEnd(t,t.data.length),o(n.getClientRects())}return[]},eT=t=>at(t,yO);var jd;(function(t){t[t.Up=-1]="Up",t[t.Down=1]="Down"})(jd||(jd={}));const Cy=(t,o,n,a,i,c)=>{let d=0;const u=[],f=k=>{let E=eT([k]);t===-1&&(E=E.reverse());for(let B=0;B0&&o(O,_a(u))&&d++,O.line=d,i(O))return!0;u.push(O)}}return!1},y=_a(c.getClientRects());if(!y)return u;const v=c.getNode();return v&&(f(v),((k,E,B,O)=>{let P=O;for(;P=cu(P,k,td,E);)if(B(P))return})(t,a,f,v)),u},tT=Je(Cy,jd.Up,si,ad),oT=Je(Cy,jd.Down,ad,si),_C=t=>_a(t.getClientRects()),nT=t=>o=>((n,a)=>a.line>n)(t,o),eg=t=>o=>((n,a)=>a.line===n)(t,o),tp=(t,o)=>{t.selection.setRng(o),bh(t,t.selection.getRng())},CC=(t,o,n)=>V.some(S0(t,o,n)),rT=(t,o,n,a,i,c)=>{const d=o===Bi.Forwards,u=nc(t.getBody()),f=Je(Lb,d?u.next:u.prev),y=d?a:i;if(!n.collapsed){const O=cb(n);if(c(O))return Gu(o,t,O,o===Bi.Backwards,!1);if(mC(t)){const P=n.cloneRange();return P.collapse(o===Bi.Backwards),V.from(P)}}const v=xm(o,t.getBody(),n);if(y(v))return C0(t,v.getNode(!d));let k=f(v);const E=J(n);if(!k)return E?V.some(n):V.none();if(k=ld(d,k),y(k))return Gu(o,t,k.getNode(!d),d,!1);const B=f(k);return B&&y(B)&&Wp(k,B)?Gu(o,t,B.getNode(!d),d,!1):E?CC(t,k.toRange(),!1):V.none()},aT=(t,o,n,a,i,c)=>{const d=xm(o,t.getBody(),n),u=_a(d.getClientRects()),f=o===jd.Down,y=t.getBody();if(!u)return V.none();if(mC(t)){const P=f?Ht.fromRangeEnd(n):Ht.fromRangeStart(n);return(f?XE:YE)(y,P).orThunk(()=>V.from(P)).map(M=>M.toRange())}const v=(f?oT:tT)(y,nT(1),d),k=gt(v,eg(1)),E=u.left,B=QE(k,E);if(B&&c(B.node)){const P=Math.abs(E-B.left),M=Math.abs(E-B.right);return Gu(o,t,B.node,P{const ee=nc(q);let ke,et,st,mt;const kt=[];let Ve=0;j===1?(ke=ee.next,et=ad,st=si,mt=Ht.after(re)):(ke=ee.prev,et=si,st=ad,mt=Ht.before(re));const ot=_C(mt);do{if(!mt.isVisible())continue;const pt=_C(mt);if(st(pt,ot))continue;kt.length>0&&et(pt,_a(kt))&&Ve++;const Jt=Vl(pt);if(Jt.position=mt,Jt.line=Ve,K(Jt))return kt;kt.push(Jt)}while(mt=ke(mt));return kt})(o,y,nT(1),O);let M=QE(gt(P,eg(1)),E);if(M||(M=_a(gt(P,eg(0))),M))return CC(t,M.position.toRange(),!1)}return k.length===0?SC(t,f).filter(f?i:a).map(P=>S0(t,P.toRange(),!1)):V.none()},SC=(t,o)=>{const n=t.selection.getRng(),a=o?Ht.fromRangeEnd(n):Ht.fromRangeStart(n),i=(c=a.container(),d=t.getBody(),Fa(je(c),u=>mh(u.dom),u=>u.dom===d).map(u=>u.dom).getOr(d));var c,d;if(o){const u=Dh(i,a);return Gn(u.positions)}{const u=Mh(i,a);return Zo(u.positions)}},sT=(t,o,n)=>SC(t,o).filter(n).exists(a=>(t.selection.setRng(a.toRange()),!0)),ww=(t,o)=>{const n=t.dom.createRng();n.setStart(o.container(),o.offset()),n.setEnd(o.container(),o.offset()),t.selection.setRng(n)},iT=(t,o)=>{t?o.setAttribute("data-mce-selected","inline-boundary"):o.removeAttribute("data-mce-selected")},lT=(t,o,n)=>Nh(o,n).map(a=>(ww(t,a),n)),kw=(t,o,n)=>{const a=t.getBody(),i=((c,d,u)=>{const f=Ht.fromRangeStart(c);if(c.collapsed)return f;{const y=Ht.fromRangeEnd(c);return u?I(d,y).getOr(y):L(d,f).getOr(f)}})(t.selection.getRng(),a,n);return((c,d,u,f)=>{const y=ld(c,f),v=Yu(d,u,y);return Yu(d,u,y).bind(Je(bO,c)).orThunk(()=>((k,E,B,O,P)=>{const M=ld(k,P);return p(k,B,M).map(Je(ld,k)).fold(()=>O.map(ya),j=>Yu(E,B,j).map(Je(hO,k,E,B,M,j)).filter(Je(Bs,O))).filter(Ku)})(c,d,u,v,f))})(n,Je($u,t),a,i).bind(c=>lT(t,o,c))},cT=(t,o,n)=>!!su(t)&&kw(t,o,n).isSome(),Sy=(t,o,n)=>!!su(o)&&((a,i)=>{const c=i.selection.getRng(),d=a?Ht.fromRangeEnd(c):Ht.fromRangeStart(c);return!!(u=>de(u.selection.getSel().modify))(i)&&(a&&Hl(d)?ky(!0,i.selection,d):!(a||!_d(d))&&ky(!1,i.selection,d))})(t,o),EC=t=>{const o=bi(null),n=Je($u,t);return t.on("NodeChange",a=>{su(t)&&(((i,c,d)=>{const u=oo(wa(je(c.getRoot()),'*[data-mce-selected="inline-boundary"]'),v=>v.dom),f=gt(u,i),y=gt(d,i);Se(Gt(f,y),Je(iT,!1)),Se(Gt(y,f),Je(iT,!0))})(n,t.dom,a.parents),((i,c)=>{const d=c.get();if(i.selection.isCollapsed()&&!i.composing&&d){const u=Ht.fromRangeStart(i.selection.getRng());Ht.isTextPosition(u)&&!(f=>Hl(f)||_d(f))(u)&&(ww(i,dh(d,u)),c.set(null))}})(t,o),((i,c,d,u)=>{if(c.selection.isCollapsed()){const f=gt(u,i);Se(f,y=>{const v=Ht.fromRangeStart(c.selection.getRng());Yu(i,c.getBody(),v).bind(k=>lT(c,d,k))})}})(n,t,o,a.parents))}),o},Rh=Je(Sy,!0),Bh=Je(Sy,!1),Fh=(t,o,n)=>{if(su(t)){const a=SC(t,o).getOrThunk(()=>{const i=t.selection.getRng();return o?Ht.fromRangeEnd(i):Ht.fromRangeStart(i)});return Yu(Je($u,t),t.getBody(),a).exists(i=>{const c=ya(i);return Nh(n,c).exists(d=>(ww(t,d),!0))})}return!1},A0=(t,o)=>n=>Nh(o,n).map(a=>()=>ww(t,a)),yf=(t,o,n,a)=>{const i=t.getBody(),c=Je($u,t);t.undoManager.ignore(()=>{t.selection.setRng(((d,u)=>{const f=document.createRange();return f.setStart(d.container(),d.offset()),f.setEnd(u.container(),u.offset()),f})(n,a)),V_(t),Yu(c,i,Ht.fromRangeStart(t.selection.getRng())).map(vC).bind(A0(t,o)).each(Rt)}),t.nodeChanged()},op=(t,o,n)=>{if(t.selection.isCollapsed()&&su(t)){const a=Ht.fromRangeStart(t.selection.getRng());return((i,c,d,u)=>{const f=((k,E)=>Rd(E,k)||k)(i.getBody(),u.container()),y=Je($u,i),v=Yu(y,f,u);return v.bind(k=>d?k.fold(Ct(V.some(vC(k))),V.none,Ct(V.some(ya(k))),V.none):k.fold(V.none,Ct(V.some(ya(k))),V.none,Ct(V.some(vC(k))))).map(A0(i,c)).getOrThunk(()=>{const k=b(d,f,u),E=k.bind(B=>Yu(y,f,B));return Ir(v,E,()=>Zg(y,f,u).bind(B=>(O=>Ir(Z(O),Y(O),(P,M)=>{const j=ld(!0,P),q=ld(!1,M);return L(O,j).forall(K=>K.isEqual(q))}).getOr(!0))(B)?V.some(()=>{fc(i,d,je(B))}):V.none())).getOrThunk(()=>E.bind(()=>k.map(B=>()=>{d?yf(i,c,u,B):yf(i,c,B,u)})))})})(t,o,n,a)}return V.none()},O0=(t,o)=>{const n=je(t.getBody()),a=je(t.selection.getStart()),i=$g(a,n);return ge(i,o).fold(Ct(i),c=>i.slice(0,c))},_w=t=>ei(t)===1,TC=(t,o)=>{const n=Je(e0,t);return at(o,a=>n(a)?[a.dom]:[])},Cw=t=>{const o=(n=>O0(n,a=>n.schema.isBlock(Pe(a))))(t);return TC(t,o)},zC=(t,o)=>{const n=gt((a=>O0(a,i=>a.schema.isBlock(Pe(i))||(c=>ei(c)>1)(i)))(t),_w);return Gn(n).bind(a=>{const i=Ht.fromRangeStart(t.selection.getRng());return $_(o,i,a.dom)&&!c_(a)?V.some(()=>((c,d,u,f)=>{const y=TC(d,f);if(y.length===0)fc(d,c,u);else{const v=Q1(u.dom,y);d.selection.setRng(v.toRange())}})(o,t,a,n)):V.none()})},AC=(t,o)=>{const n=t.selection.getStart(),a=((i,c)=>{const d=c.parentElement;return da(c)&&!he(d)&&i.dom.isEmpty(d)})(t,n)||c_(je(n))?Q1(n,o):((i,c)=>{const{caretContainer:d,caretPosition:u}=J1(c);return i.insertNode(d.dom),u})(t.selection.getRng(),o);t.selection.setRng(a.toRange())},OC=t=>ao(t.startContainer),Ey=t=>{const o=t.selection.getRng();return(n=>n.startOffset===0&&OC(n))(o)&&((n,a)=>{const i=a.startContainer.parentElement;return!he(i)&&e0(n,je(i))})(t,o)&&(n=>(a=>(i=>{const c=i.startContainer.parentNode,d=i.endContainer.parentNode;return!he(c)&&!he(d)&&c.isEqualNode(d)})(a)&&(i=>{const c=i.endContainer;return i.endOffset===(ao(c)?c.length:c.childNodes.length)})(a))(n)||(a=>!a.endContainer.isEqualNode(a.commonAncestorContainer))(n))(o)},Sw=(t,o)=>t.selection.isCollapsed()?zC(t,o):(n=>{if(Ey(n)){const a=Cw(n);return V.some(()=>{V_(n),((i,c)=>{const d=Gt(c,Cw(i));d.length>0&&AC(i,d)})(n,a)})}return V.none()})(t),dT=(t,o)=>Fa(t,n=>be(n.dom),n=>o.isBlock(Pe(n))).isSome(),Ty=t=>((o=>{const n=o.selection.getRng();return n.collapsed&&(OC(n)||o.dom.isEmpty(n.startContainer))&&!(a=>dT(je(a.selection.getStart()),a.schema))(o)})(t)&&AC(t,[]),!0),zy=(t,o,n)=>Ze(n)?V.some(()=>{t._selectionOverrides.hideFakeCaret(),fc(t,o,je(n))}):V.none(),Ew=(t,o)=>t.selection.isCollapsed()?((n,a)=>{const i=a?F1:L1,c=a?Bi.Forwards:Bi.Backwards,d=xm(c,n.getBody(),n.selection.getRng());return i(d)?zy(n,a,d.getNode(!a)):V.from(ld(a,d)).filter(u=>i(u)&&Wp(d,u)).bind(u=>zy(n,a,u.getNode(!a)))})(t,o):((n,a)=>{const i=n.selection.getNode();return $i(i)?zy(n,a,i):V.none()})(t,o),Tw=t=>Vr(t??"").getOr(0),NC=(t,o)=>(t||Pe(o)==="table"?"margin":"padding")+(Yi(o,"direction")==="rtl"?"-right":"-left"),MC=t=>{const o=np(t);return!t.mode.isReadOnly()&&(o.length>1||((n,a)=>ze(a,i=>{const c=NC(u1(n),i),d=om(i,c).map(Tw).getOr(0);return n.dom.getContentEditable(i.dom)!=="false"&&d>0}))(t,o))},tg=t=>hs(t)||uc(t),np=t=>gt(Xc(t.selection.getSelectedBlocks()),o=>!tg(o)&&!(n=>Gi(n).exists(tg))(o)&&ts(o,n=>zi(n.dom)||Oa(n.dom)).exists(n=>zi(n.dom))),yu=(t,o)=>{var n,a;const{dom:i}=t,c=Ul(t),d=(a=(n=/[a-z%]+$/i.exec(c))===null||n===void 0?void 0:n[0])!==null&&a!==void 0?a:"px",u=Tw(c),f=u1(t);Se(np(t),y=>{((v,k,E,B,O,P)=>{const M=NC(E,je(P)),j=Tw(v.getStyle(P,M));if(k==="outdent"){const q=Math.max(0,j-B);v.setStyle(P,M,q?q+O:"")}else{const q=j+B+O;v.setStyle(P,M,q)}})(i,o,f,u,d,y.dom)})},zw=t=>yu(t,"outdent"),Aw=t=>{if(t.selection.isCollapsed()&&MC(t)){const o=t.dom,n=t.selection.getRng(),a=Ht.fromRangeStart(n),i=o.getParent(n.startContainer,o.isBlock);if(i!==null&&fx(je(i),a,t.schema))return V.some(()=>zw(t))}return V.none()},DC=(t,o,n)=>zn([Aw,xy,bw,(a,i)=>op(a,o,i),zm,J_,pC,Ew,fw,Sw],a=>a(t,n)).filter(a=>t.selection.isEditable()),uT=(t,o)=>{t.addCommand("delete",()=>{((n,a)=>{DC(n,a,!1).fold(()=>{n.selection.isEditable()&&(V_(n),V1(n))},Rt)})(t,o)}),t.addCommand("forwardDelete",()=>{((n,a)=>{DC(n,a,!0).fold(()=>{n.selection.isEditable()&&(i=>{wx(i,"ForwardDelete")})(n)},Rt)})(t,o)})},RC=t=>t.touches===void 0||t.touches.length!==1?V.none():V.some(t.touches[0]),N0=(t,o)=>ln(t,o.nodeName),mT=(t,o)=>!!ao(o)||!!rn(o)&&!(N0(t.getBlockElements(),o)||No(o)||Ed(t,o)||ig(o)),gT=(t,o)=>{if(ao(o)){if(o.data.length===0)return!0;if(/^\s+$/.test(o.data))return!o.nextSibling||N0(t,o.nextSibling)||ig(o.nextSibling)}return!1},Ow=t=>t.dom.create(Ts(t),gc(t)),og=t=>{const o=t.dom,n=t.selection,a=t.schema,i=a.getBlockElements(),c=n.getStart(),d=t.getBody();let u,f,y=!1;const v=Ts(t);if(!c||!rn(c))return;const k=d.nodeName.toLowerCase();if(!a.isValidChild(k,v.toLowerCase())||((K,re,ee)=>To(k4(je(ee),je(re)),ke=>N0(K,ke.dom)))(i,d,c))return;const E=n.getRng(),{startContainer:B,startOffset:O,endContainer:P,endOffset:M}=E,j=rf(t);let q=d.firstChild;for(;q;)if(rn(q)&&lg(a,q),mT(a,q)){if(gT(i,q)){f=q,q=q.nextSibling,o.remove(f);continue}u||(u=Ow(t),d.insertBefore(u,q),y=!0),f=q,q=q.nextSibling,u.appendChild(f)}else u=null,q=q.nextSibling;y&&j&&(E.setStart(B,O),E.setEnd(P,M),n.setRng(E),t.nodeChanged())},vu=(t,o,n)=>{const a=je(Ow(t)),i=Xi();os(a,i),n(o,a);const c=document.createRange();return c.setStartBefore(i.dom),c.setEndBefore(i.dom),c},M0=t=>o=>(" "+o.attr("class")+" ").indexOf(t)!==-1,pT=(t,o,n)=>function(a){const i=arguments,c=i[i.length-2],d=c>0?o.charAt(c-1):"";if(d==='"')return a;if(d===">"){const u=o.lastIndexOf("<",c);if(u!==-1&&o.substring(u,c).indexOf('contenteditable="false"')!==-1)return a}return''+t.dom.encode(typeof i[1]=="string"?i[1]:i[0])+""},D0=(t,o)=>{o.hasAttribute("data-mce-caret")&&(H(o),t.selection.setRng(t.selection.getRng()),t.selection.scrollIntoView(o))},fT=(t,o)=>{const n=(a=>fd(je(a.getBody()),"*[data-mce-caret]").map(i=>i.dom).getOrNull())(t);if(n)return o.type==="compositionstart"?(o.preventDefault(),o.stopPropagation(),void D0(t,n)):void(ed(n)&&(D0(t,n),t.undoManager.add()))},BC=Oa,FC=(t,o,n)=>{const a=nc(t.getBody()),i=Je(Lb,o===1?a.next:a.prev);if(n.collapsed){const c=t.dom.getParent(n.startContainer,"PRE");if(!c)return;if(!i(Ht.fromRangeStart(n))){const d=je((u=>{const f=u.dom.create(Ts(u));return f.innerHTML='
    ',f})(t));o===1?Da(je(c),d):rl(je(c),d),t.selection.select(d.dom,!0),t.selection.collapse()}}},LC=(t,o)=>((n,a)=>{const i=a?Bi.Forwards:Bi.Backwards,c=n.selection.getRng();return((d,u,f)=>rT(u,d,f,Km,sf,BC))(i,n,c).orThunk(()=>(FC(n,i,c),V.none()))})(t,((n,a)=>{const i=a?n.getEnd(!0):n.getStart(!0);return H1(i)?!a:a})(t.selection,o)).exists(n=>(tp(t,n),!0)),IC=(t,o)=>((n,a)=>{const i=a?1:-1,c=n.selection.getRng();return((d,u,f)=>aT(u,d,f,y=>Km(y)||w4(y),y=>sf(y)||px(y),BC))(i,n,c).orThunk(()=>(FC(n,i,c),V.none()))})(t,o).exists(n=>(tp(t,n),!0)),PC=(t,o)=>sT(t,o,o?sf:Km),Lh=(t,o)=>E0(t,!o).map(n=>{const a=n.toRange(),i=t.selection.getRng();return o?a.setStart(i.startContainer,i.startOffset):a.setEnd(i.endContainer,i.endOffset),a}).exists(n=>(tp(t,n),!0)),HC=t=>lo(["figcaption"],Pe(t)),jC=(t,o)=>!!t.selection.isCollapsed()&&((n,a)=>{const i=je(n.getBody()),c=Ht.fromRangeStart(n.selection.getRng());return((d,u,f)=>{const y=Je(sa,u);return ts(je(d.container()),v=>f.isBlock(Pe(v)),y).filter(HC)})(c,i,n.schema).exists(()=>{if(((d,u,f)=>u?KE(d.dom,f):GE(d.dom,f))(i,a,c)){const d=vu(n,i,a?os:Jl);return n.selection.setRng(d),!0}return!1})})(t,o),Nw=(t,o)=>((n,a)=>a?V.from(n.dom.getParent(n.selection.getNode(),"details")).map(i=>((c,d)=>{const u=c.selection.getRng(),f=Ht.fromRangeStart(u);return!(c.getBody().lastChild!==d||!KE(d,f)||(c.execCommand("InsertNewBlockAfter"),0))})(n,i)).getOr(!1):V.from(n.dom.getParent(n.selection.getNode(),"summary")).bind(i=>V.from(n.dom.getParent(i,"details")).map(c=>((d,u,f)=>{const y=d.selection.getRng(),v=Ht.fromRangeStart(y);return!(d.getBody().firstChild!==u||!GE(f,v)||(d.execCommand("InsertNewBlockBefore"),0))})(n,c,i))).getOr(!1))(t,o),hT={shiftKey:!1,altKey:!1,ctrlKey:!1,metaKey:!1,keyCode:0},bT=(t,o)=>o.keyCode===t.keyCode&&o.shiftKey===t.shiftKey&&o.altKey===t.altKey&&o.ctrlKey===t.ctrlKey&&o.metaKey===t.metaKey,lr=(t,...o)=>()=>t.apply(null,o),R0=(t,o)=>Fe(((n,a)=>at((i=>oo(i,c=>({...hT,...c})))(n),i=>bT(i,a)?[i]:[]))(t,o),n=>n.action()),yT=(t,o)=>zn(((n,a)=>at((i=>oo(i,c=>({...hT,...c})))(n),i=>bT(i,a)?[i]:[]))(t,o),n=>n.action()),vT=(t,o)=>{const n=o?Bi.Forwards:Bi.Backwards,a=t.selection.getRng();return rT(t,n,a,F1,L1,$i).exists(i=>(tp(t,i),!0))},B0=(t,o)=>{const n=o?1:-1,a=t.selection.getRng();return aT(t,n,a,F1,L1,$i).exists(i=>(tp(t,i),!0))},Mw=(t,o)=>sT(t,o,o?L1:F1),VC=zc([{none:["current"]},{first:["current"]},{middle:["current","target"]},{last:["current"]}]),Ih={...VC,none:t=>VC.none(t)},xT=(t,o,n)=>at(Lt(t),a=>Ci(a,o)?n(a)?[a]:[]:xT(a,o,n)),wT=(t,o)=>Yc(t,"table",o),$C=(t,o,n,a,i=Bt)=>{const c=a===1;if(!c&&n<=0)return Ih.first(t[0]);if(c&&n>=t.length-1)return Ih.last(t[t.length-1]);{const d=n+a,u=t[d];return i(u)?Ih.middle(o,u):$C(t,o,d,a,i)}},kT=(t,o)=>wT(t,o).bind(n=>{const a=xT(n,"th,td",Bt);return ge(a,i=>sa(t,i)).map(i=>({index:i,all:a}))}),_T=(t,o,n,a,i)=>{const c=wa(je(n),"td,th,caption").map(u=>u.dom),d=gt(((u,f)=>at(f,y=>{const v=((k,E)=>({left:k.left-E,top:k.top-E,right:k.right+-2,bottom:k.bottom+-2,width:k.width+E,height:k.height+E}))(Vl(y.getBoundingClientRect()),-1);return[{x:v.left,y:u(v),cell:y},{x:v.right,y:u(v),cell:y}]}))(t,c),u=>o(u,i));return((u,f,y)=>Oe(u,(v,k)=>v.fold(()=>V.some(k),E=>{const B=Math.sqrt(Math.abs(E.x-f)+Math.abs(E.y-y)),O=Math.sqrt(Math.abs(k.x-f)+Math.abs(k.y-y));return V.some(Ou.cell)},vO=Je(_T,t=>t.bottom,(t,o)=>t.yt.top,(t,o)=>t.y>o),F0=(t,o,n)=>{const a=t(o,n);return(i=>i.breakType===Qm.Wrap&&i.positions.length===0)(a)||!da(n.getNode())&&(i=>i.breakType===Qm.Br&&i.positions.length===1)(a)?!((i,c,d)=>d.breakAt.exists(u=>i(c,u).breakAt.isSome()))(t,o,a):a.breakAt.isNone()},Rw=Je(F0,Mh),xO=Je(F0,Dh),wO=(t,o,n,a)=>{const i=t.selection.getRng(),c=o?1:-1;return!(!Rb()||!((d,u,f)=>{const y=Ht.fromRangeStart(u);return T(!d,f).exists(v=>v.isEqual(y))})(o,i,n)||(Gu(c,t,n,!o,!1).each(d=>{tp(t,d)}),0))},CT=(t,o,n)=>{const a=((c,d)=>{const u=d.getNode(c);return Ms(u)?V.some(u):V.none()})(!!o,n),i=o===!1;a.fold(()=>tp(t,n.toRange()),c=>T(i,t.getBody()).filter(d=>d.isEqual(n)).fold(()=>tp(t,n.toRange()),d=>((u,f,y)=>{f.undoManager.transact(()=>{const v=u?Da:rl,k=vu(f,je(y),v);tp(f,k)})})(o,t,c)))},kO=(t,o,n,a)=>{const i=t.selection.getRng(),c=Ht.fromRangeStart(i),d=t.getBody();if(!o&&Rw(a,c)){const u=((f,y,v)=>((k,E)=>Zo(E.getClientRects()).bind(B=>vO(k,B.left,B.top)).bind(B=>{return bf(Y(O=B).map(P=>Mh(O,P).positions.concat(P)).getOr([]),E);var O}))(y,v).orThunk(()=>Zo(v.getClientRects()).bind(k=>Xu(xC(f,Ht.before(y)),k.left))).getOr(Ht.before(y)))(d,n,c);return CT(t,o,u),!0}if(o&&xO(a,c)){const u=((f,y,v)=>((k,E)=>Gn(E.getClientRects()).bind(B=>Dw(k,B.left,B.top)).bind(B=>{return bf(Z(O=B).map(P=>[P].concat(Dh(O,P).positions)).getOr([]),E);var O}))(y,v).orThunk(()=>Zo(v.getClientRects()).bind(k=>Xu(wC(f,Ht.after(y)),k.left))).getOr(Ht.after(y)))(d,n,c);return CT(t,o,u),!0}return!1},ST=(t,o,n)=>V.from(t.dom.getParent(t.selection.getNode(),"td,th")).bind(a=>V.from(t.dom.getParent(a,"table")).map(i=>n(t,o,i,a))).getOr(!1),ET=(t,o)=>ST(t,o,wO),Vd=(t,o)=>ST(t,o,kO),Bw=(t,o,n)=>n.fold(V.none,V.none,(a,i)=>{return(c=i,Kc(c,l4)).map(d=>(u=>{const f=Wb.exact(u,0,u,0);return SA(f)})(d));var c},a=>(t.execCommand("mceTableInsertRowAfter"),UC(t,o,a))),UC=(t,o,n)=>{return Bw(t,o,(i=nl,kT(a=n,void 0).fold(()=>Ih.none(a),c=>$C(c.all,a,c.index,1,i))));var a,i},TT=(t,o,n)=>{return Bw(t,o,(i=nl,kT(a=n,void 0).fold(()=>Ih.none(),c=>$C(c.all,a,c.index,-1,i))));var a,i},ZC=(t,o)=>{const n=["table","li","dl"],a=je(t.getBody()),i=d=>{const u=Pe(d);return sa(d,a)||lo(n,u)},c=t.selection.getRng();return((d,u)=>((f,y,v=uo)=>v(y)?V.none():lo(f,Pe(y))?V.some(y):Ua(y,f.join(","),k=>Ci(k,"table")||v(k)))(["td","th"],d,u))(je(o?c.endContainer:c.startContainer),i).map(d=>(wT(d,i).each(u=>{t.model.table.clearSelectedCells(u.dom)}),t.selection.collapse(!o),(o?UC:TT)(t,i,d).each(u=>{t.selection.setRng(u)}),!0)).getOr(!1)},Am=(t,o)=>({container:t,offset:o}),L0=wr.DOM,Fw=t=>o=>t===o?-1:0,vf=(t,o,n)=>{if(ao(t)&&o>=0)return V.some(Am(t,o));{const a=um(L0);return V.from(a.backwards(t,o,Fw(t),n)).map(i=>Am(i.container,i.container.data.length))}},Lw=(t,o,n)=>{if(!ao(t))return V.none();const a=t.data;if(o>=0&&o<=a.length)return V.some(Am(t,o));{const i=um(L0);return V.from(i.backwards(t,o,Fw(t),n)).bind(c=>{const d=c.container.data;return Lw(c.container,o+d.length,n)})}},qC=(t,o,n)=>{if(!ao(t))return V.none();const a=t.data;if(o<=a.length)return V.some(Am(t,o));{const i=um(L0);return V.from(i.forwards(t,o,Fw(t),n)).bind(c=>qC(c.container,o-a.length,n))}},Iw=(t,o,n,a,i)=>{const c=um(t,(d=>u=>d.isBlock(u)||lo(["BR","IMG","HR","INPUT"],u.nodeName)||d.getContentEditable(u)==="false")(t));return V.from(c.backwards(o,n,a,i))},Pw=t=>qs(t.toString().replace(/\u00A0/g," ")),zT=t=>t!==""&&`  \f +\r \v`.indexOf(t)!==-1,WC=(t,o)=>t.substring(o.length),rp=(t,o,n,a=0)=>{return(i=je(o.startContainer),Yc(i,c4)).fold(()=>((c,d,u,f=0)=>{if(!(y=d).collapsed||!ao(y.startContainer))return V.none();var y;const v={text:"",offset:0},k=c.getParent(d.startContainer,c.isBlock)||c.getRoot();return Iw(c,d.startContainer,d.startOffset,(E,B,O)=>(v.text=O+v.text,v.offset+=B,((P,M,j)=>{let q;const K=j.charAt(0);for(q=M-1;q>=0;q--){const re=P.charAt(q);if(zT(re))return V.none();if(K===re&&Xr(P,j,q,M))break}return V.some(q)})(v.text,v.offset,u).getOr(B)),k).bind(E=>{const B=d.cloneRange();if(B.setStart(E.container,E.offset),B.setEnd(d.endContainer,d.endOffset),B.collapsed)return V.none();const O=Pw(B);return O.lastIndexOf(u)!==0||WC(O,u).length{const d=t.createRng();d.selectNode(c.dom);const u=Pw(d);return V.some({range:d,text:WC(u,n),trigger:n})});var i},Hw=t=>{if((o=>o.nodeType===3)(t))return Am(t,t.data.length);{const o=t.childNodes;return o.length>0?Hw(o[o.length-1]):Am(t,o.length)}},AT=(t,o)=>{const n=t.childNodes;return n.length>0&&o0&&(a=>a.nodeType===1)(t)&&n.length===o?Hw(n[n.length-1]):Am(t,o)},OT=(t,o,n,a={})=>{var i;const c=o(),d=(i=t.selection.getRng().startContainer.nodeValue)!==null&&i!==void 0?i:"",u=gt(c.lookupByTrigger(n.trigger),y=>n.text.length>=y.minChars&&y.matches.getOrThunk(()=>(v=>k=>{const E=AT(k.startContainer,k.startOffset);return!((B,O)=>{var P;const M=(P=B.getParent(O.container,B.isBlock))!==null&&P!==void 0?P:B.getRoot();return Iw(B,O.container,O.offset,(j,q)=>q===0?-1:q,M).filter(j=>{const q=j.container.data.charAt(j.offset-1);return!zT(q)}).isSome()})(v,E)})(t.dom))(n.range,d,n.text));if(u.length===0)return V.none();const f=Promise.all(oo(u,y=>y.fetch(n.text,y.maxResults,a).then(v=>({matchText:n.text,items:v,columns:y.columns,onAction:y.onAction,highlightOn:y.highlightOn}))));return V.some({lookupData:f,context:n})};var Uc;(function(t){t[t.Error=0]="Error",t[t.Value=1]="Value"})(Uc||(Uc={}));const jw=(t,o,n)=>t.stype===Uc.Error?o(t.serror):n(t.svalue),ap=t=>({stype:Uc.Value,svalue:t}),I0=t=>({stype:Uc.Error,serror:t}),_O=jw,Om=t=>it(t)&&ut(t).length>100?" removed due to size":JSON.stringify(t,null,2),Ay=(t,o)=>I0([{path:t,getErrorInfo:o}]),GC=(t,o)=>({extract:(n,a)=>Fn(a,t).fold(()=>((i,c)=>Ay(i,()=>'Choice schema did not contain choice key: "'+c+'"'))(n,t),i=>((c,d,u,f)=>Fn(u,f).fold(()=>((y,v,k)=>Ay(y,()=>'The chosen schema: "'+k+'" did not exist in branches: '+Om(v)))(c,u,f),y=>y.extract(c.concat(["branch: "+f]),d)))(n,a,o,i)),toString:()=>"chooseOn("+t+"). Possible values: "+ut(o)}),KC=t=>(...o)=>{if(o.length===0)throw new Error("Can't merge zero objects");const n={};for(let a=0;aSo(t)&&So(o)?Vw(t,o):o),YC=t=>({tag:"defaultedThunk",process:Ct(t)}),NT=t=>{const o=(a=>{const i=[],c=[];return Se(a,d=>{jw(d,u=>c.push(u),u=>i.push(u))}),{values:i,errors:c}})(t);return o.errors.length>0?(n=o.errors,gn(I0,Me)(n)):ap(o.values);var n},MT=(t,o,n)=>{switch(t.tag){case"field":return o(t.key,t.newKey,t.presence,t.prop);case"custom":return n(t.newKey,t.instantiator)}},Ph=t=>({extract:(o,n)=>{return a=t(n),i=c=>((d,u)=>Ay(d,Ct(u)))(o,c),a.stype===Uc.Error?i(a.serror):a;var a,i},toString:Ct("val")}),$w=Ph(ap),XC=(t,o,n,a)=>a(Fn(t,o).getOrThunk(()=>n(t))),DT=(t,o,n,a,i)=>{const c=u=>i.extract(o.concat([a]),u),d=u=>u.fold(()=>ap(V.none()),f=>{return v=i.extract(o.concat([a]),f),k=V.some,v.stype===Uc.Value?{stype:Uc.Value,svalue:k(v.svalue)}:v;var v,k});switch(t.tag){case"required":return((u,f,y,v)=>Fn(f,y).fold(()=>((k,E,B)=>Ay(k,()=>'Could not find valid *required* value for "'+E+'" in '+Om(B)))(u,y,f),v))(o,n,a,c);case"defaultedThunk":return XC(n,a,t.process,c);case"option":return((u,f,y)=>y(Fn(u,f)))(n,a,d);case"defaultedOptionThunk":return((u,f,y,v)=>v(Fn(u,f).map(k=>k===!0?y(u):k)))(n,a,t.process,d);case"mergeWithThunk":return XC(n,a,Ct({}),u=>{const f=Vw(t.process(n),u);return c(f)})}},Uw=t=>({extract:(o,n)=>((a,i,c)=>{const d={},u=[];for(const f of c)MT(f,(y,v,k,E)=>{const B=DT(k,a,i,y,E);_O(B,O=>{u.push(...O)},O=>{d[v]=O})},(y,v)=>{d[y]=v(i)});return u.length>0?I0(u):ap(d)})(o,n,t),toString:()=>`obj{ +`+oo(t,n=>MT(n,(a,i,c,d)=>a+" -> "+d.toString(),(a,i)=>"state("+a+")")).join(` +`)+"}"}),JC=t=>({extract:(o,n)=>{const a=oo(n,(i,c)=>t.extract(o.concat(["["+c+"]"]),i));return NT(a)},toString:()=>"array("+t.toString()+")"}),Zw=(t,o,n)=>{return a=((i,c,d)=>((u,f)=>u.stype===Uc.Error?{stype:Uc.Error,serror:f(u.serror)}:u)(c.extract([i],d),u=>({input:d,errors:u})))(t,o,n),jw(a,$l.error,$l.value);var a},qw=(t,o)=>GC(t,vo(o,Uw)),P0=Ct($w),Ww=(t,o)=>Ph(n=>{const a=typeof n;return t(n)?ap(n):I0(`Expected type: ${o} but got: ${a}`)}),RT=Ww(rt,"number"),Gw=Ww(Ue,"string"),CO=Ww(Dt,"boolean"),Kw=Ww(de,"function"),Oy=(t,o,n,a)=>({tag:"field",key:t,newKey:o,presence:n,prop:a}),BT=(t,o)=>({tag:"custom",newKey:t,instantiator:o}),QC=(t,o)=>Oy(t,t,{tag:"required",process:{}},o),xf=t=>QC(t,Gw),eS=t=>QC(t,Kw),H0=(t,o)=>Oy(t,t,{tag:"option",process:{}},o),j0=t=>H0(t,Gw),wf=(t,o,n)=>Oy(t,t,YC(o),n),sp=(t,o)=>wf(t,o,RT),tS=(t,o,n)=>wf(t,o,(a=>{return i=c=>lo(a,c)?$l.value(c):$l.error(`Unsupported value: "${c}", choose one of "${a.join(", ")}".`),Ph(c=>i(c).fold(I0,ap));var i})(n)),dd=(t,o)=>wf(t,o,CO),ip=(t,o)=>wf(t,o,Kw),oS=xf("type"),FT=eS("fetch"),nS=eS("onAction"),LT=ip("onSetup",()=>$t),Ny=j0("text"),rS=j0("icon"),IT=j0("tooltip"),PT=j0("label"),aS=dd("active",!1),SO=dd("enabled",!0),HT=dd("primary",!1),My=t=>((o,n)=>wf("type",n,Gw))(0,t),EO=Uw([oS,xf("trigger"),sp("minChars",1),((t,o)=>Oy(t,t,YC(1),P0()))("columns"),sp("maxResults",10),H0("matches",Kw),FT,nS,(ud=Gw,wf("highlightOn",[],JC(ud)))]);var ud;const V0=[SO,IT,rS,Ny,LT],sS=[aS].concat(V0),iS=[ip("predicate",uo),tS("scope","node",["node","editor"]),tS("position","selection",["node","selection","line"])],jT=V0.concat([My("contextformbutton"),HT,nS,BT("original",R)]),$0=sS.concat([My("contextformbutton"),HT,nS,BT("original",R)]),lp=V0.concat([My("contextformbutton")]),Hh=sS.concat([My("contextformtogglebutton")]),Yw=qw("type",{contextformbutton:jT,contextformtogglebutton:$0});Uw([My("contextform"),ip("initValue",Ct("")),PT,((t,o)=>Oy(t,t,{tag:"required",process:{}},JC(o)))("commands",Yw),H0("launch",qw("type",{contextformbutton:lp,contextformtogglebutton:Hh}))].concat(iS));const lS=t=>{const o=t.ui.registry.getAll().popups,n=vo(o,c=>{return(d=c,Zw("Autocompleter",EO,{trigger:d.ch,...d})).fold(u=>{throw new Error(`Errors: +`+(y=>{const v=y.length>10?y.slice(0,10).concat([{path:[],getErrorInfo:Ct("... (only showing first ten failures)")}]):y;return oo(v,k=>"Failed path: ("+k.path.join(" > ")+`) +`+k.getErrorInfo())})((f=u).errors).join(` +`)+` + +Input object: `+Om(f.input));var f},R);var d}),a=Ys(Wt(n,c=>c.trigger)),i=vr(n);return{dataset:n,triggers:a,lookupByTrigger:c=>gt(i,d=>d.trigger===c)}},cS=t=>{const o=Ec(),n=bi(!1),a=o.isSet,i=()=>{a()&&((u=>{Li(u).autocompleter.removeDecoration()})(t),(u=>{u.dispatch("AutocompleterEnd")})(t),n.set(!1),o.clear())},c=tt(()=>lS(t)),d=u=>{(f=>o.get().map(y=>rp(t.dom,t.selection.getRng(),y.trigger).bind(v=>OT(t,c,v,f))).getOrThunk(()=>((y,v)=>{const k=v(),E=y.selection.getRng();return((B,O,P)=>zn(P.triggers,M=>rp(B,O,M)))(y.dom,E,k).bind(B=>OT(y,v,B))})(t,c)))(u).fold(i,f=>{(y=>{a()||(((v,k)=>{Li(v).autocompleter.addDecoration(k)})(t,y.range),o.set({trigger:y.trigger,matchLength:y.text.length}))})(f.context),f.lookupData.then(y=>{o.get().map(v=>{const k=f.context;v.trigger===k.trigger&&(k.text.length-v.matchLength>=10?i():(o.set({...v,matchLength:k.text.length}),n.get()?((E,B)=>{E.dispatch("AutocompleterUpdate",B)})(t,{lookupData:y}):(n.set(!0),((E,B)=>{E.dispatch("AutocompleterStart",B)})(t,{lookupData:y}))))})})})};t.addCommand("mceAutocompleterReload",(u,f)=>{const y=it(f)?f.fetchOptions:{};d(y)}),t.addCommand("mceAutocompleterClose",i),((u,f)=>{const y=Iu(f.load,50);u.on("keypress compositionend",v=>{v.which!==27&&y.throttle()}),u.on("keydown",v=>{const k=v.which;k===8?y.throttle():k===27&&f.cancelIfNecessary()}),u.on("remove",y.cancel)})(t,{cancelIfNecessary:i,load:d})},VT=Aa().browser.isSafari(),$T=t=>Oi(je(t)),dS=(t,o)=>{var n;return t.startOffset===0&&t.endOffset===((n=o.textContent)===null||n===void 0?void 0:n.length)},U0=(t,o)=>V.from(t.getParent(o.container(),"details")),uS=(t,o)=>U0(t,o).isSome(),mS=(t,o)=>{const n=o.getNode();fo(n)||t.selection.setCursorLocation(n,o.offset())},UT=(t,o,n)=>{const a=t.dom.getParent(o.container(),"details");if(a&&!a.open){const i=t.dom.select("summary",a)[0];i&&(n?Z(i):Y(i)).each(c=>mS(t,c))}else mS(t,o)},ZT=(t,o,n)=>{const{dom:a,selection:i}=t,c=t.getBody();if(n==="character"){const d=Ht.fromRangeStart(i.getRng()),u=a.getParent(d.container(),a.isBlock),f=U0(a,d),y=u&&a.isEmpty(u),v=he(u?.previousSibling),k=he(u?.nextSibling);return!!(y&&(o?k:v)&&b(!o,c,d).exists(E=>uS(a,E)&&!Ss(f,U0(a,E))))||b(o,c,d).fold(uo,E=>{const B=U0(a,E);if(uS(a,E)&&!Ss(f,B)){if(o||UT(t,E,!1),u&&y){if(o&&v||!o&&k)return!0;UT(t,E,o),t.dom.remove(u)}return!0}return!1})}return!1},TO=(t,o,n,a)=>{const i=t.selection.getRng(),c=Ht.fromRangeStart(i),d=t.getBody();return a==="selection"?((u,f)=>{const y=f.startSummary.exists(E=>E.contains(u.startContainer)),v=f.startSummary.exists(E=>E.contains(u.endContainer)),k=f.startDetails.forall(E=>f.endDetails.forall(B=>E!==B));return(y||v)&&!(y&&v)||k})(i,o):n?((u,f)=>f.startSummary.exists(y=>((v,k)=>Y(k).exists(E=>da(E.getNode())&&I(k,E).exists(B=>B.isEqual(v))||E.isEqual(v)))(u,y)))(c,o)||((u,f,y)=>y.startDetails.exists(v=>L(u,f).forall(k=>!v.contains(k.container()))))(d,c,o):((u,f)=>f.startSummary.exists(y=>((v,k)=>Z(k).exists(E=>E.isEqual(v)))(u,y)))(c,o)||((u,f)=>f.startDetails.exists(y=>I(y,u).forall(v=>f.startSummary.exists(k=>!k.contains(u.container())&&k.contains(v.container())))))(c,o)},Ml=(t,o,n)=>((a,i,c)=>((d,u)=>{const f=V.from(d.getParent(u.startContainer,"details")),y=V.from(d.getParent(u.endContainer,"details"));if(f.isSome()||y.isSome()){const v=f.bind(k=>V.from(d.select("summary",k)[0]));return V.some({startSummary:v,startDetails:f,endDetails:y})}return V.none()})(a.dom,a.selection.getRng()).fold(()=>ZT(a,i,c),d=>TO(a,d,i,c)||ZT(a,i,c)))(t,o,n)||VT&&((a,i,c)=>{const d=a.selection,u=d.getNode(),f=d.getRng(),y=Ht.fromRangeStart(f);return!!sg(u)&&(c==="selection"&&dS(f,u)||$_(i,y,u)?$T(u):a.undoManager.transact(()=>{const v=d.getSel();let{anchorNode:k,anchorOffset:E,focusNode:B,focusOffset:O}=v??{};const P=()=>{Ze(k)&&Ze(E)&&Ze(B)&&Ze(O)&&v?.setBaseAndExtent(k,E,B,O)},M=(q,K)=>{Se(q.childNodes,re=>{wm(re)&&K.appendChild(re)})},j=a.dom.create("span",{"data-mce-bogus":"1"});M(u,j),u.appendChild(j),P(),c!=="word"&&c!=="line"||v==null||v.modify("extend",i?"right":"left",c),!d.isCollapsed()&&dS(d.getRng(),j)?$T(u):(a.execCommand(i?"ForwardDelete":"Delete"),k=v?.anchorNode,E=v?.anchorOffset,B=v?.focusNode,O=v?.focusOffset,M(j,u),P()),a.dom.remove(j)}),!0)})(t,o,n)?V.some($t):V.none(),gS=t=>(o,n,a={})=>{const i=o.getBody(),c={bubbles:!0,composed:!0,data:null,isComposing:!1,detail:0,view:null,target:i,currentTarget:i,eventPhase:Event.AT_TARGET,originalTarget:i,explicitOriginalTarget:i,isTrusted:!1,srcElement:i,cancelable:!1,preventDefault:$t,inputType:n},d=is(new InputEvent(t));return o.dispatch(t,{...d,...c,...a})},cp=gS("input"),Xw=gS("beforeinput"),pS=Aa(),fS=pS.os,Jw=fS.isMacOS()||fS.isiOS(),qT=pS.browser.isFirefox(),Dy=(t,o)=>{const n=t.dom,a=t.schema.getMoveCaretBeforeOnEnterElements();if(!o)return;if(/^(LI|DT|DD)$/.test(o.nodeName)){const c=(d=>{for(;d;){if(rn(d)||ao(d)&&d.data&&/[\r\n\s]/.test(d.data))return d;d=d.nextSibling}return null})(o.firstChild);c&&/^(UL|OL|DL)$/.test(c.nodeName)&&o.insertBefore(n.doc.createTextNode(ns),o.firstChild)}const i=n.createRng();if(o.normalize(),o.hasChildNodes()){const c=new Ns(o,o);let d,u=o;for(;d=c.current();){if(ao(d)){i.setStart(d,0),i.setEnd(d,0);break}if(a[d.nodeName.toLowerCase()]){i.setStartBefore(d),i.setEndBefore(d);break}u=d,d=c.next()}d||(i.setStart(u,0),i.setEnd(u,0))}else da(o)?o.nextSibling&&n.isBlock(o.nextSibling)?(i.setStartBefore(o),i.setEndBefore(o)):(i.setStartAfter(o),i.setEndAfter(o)):(i.setStart(o,0),i.setEnd(o,0));t.selection.setRng(i),bh(t,i)},Z0=(t,o)=>{const n=t.getRoot();let a,i=o;for(;i!==n&&i&&t.getContentEditable(i)!=="false";){if(t.getContentEditable(i)==="true"){a=i;break}i=i.parentNode}return i!==n?a:n},hS=t=>V.from(t.dom.getParent(t.selection.getStart(!0),t.dom.isBlock)),q0=t=>{t.innerHTML='
    '},W0=(t,o)=>{Ts(t).toLowerCase()===o.tagName.toLowerCase()&&((n,a,i)=>{const c=n.dom;V.from(i.style).map(c.parseStyle).each(v=>{const k={..._u(je(a)),...v};c.setStyles(a,k)});const d=V.from(i.class).map(v=>v.split(/\s+/)),u=V.from(a.className).map(v=>gt(v.split(/\s+/),k=>k!==""));Ir(d,u,(v,k)=>{const E=gt(k,O=>!lo(v,O)),B=[...v,...E];c.setAttrib(a,"class",B.join(" "))});const f=["style","class"],y=Rr(i,(v,k)=>!lo(f,k));c.setAttribs(a,y)})(t,o,gc(t))},WT=(t,o,n,a,i=!0,c,d)=>{const u=t.dom,f=t.schema,y=Ts(t),v=n?n.nodeName.toUpperCase():"";let k=o;const E=f.getTextInlineElements();let B;B=c||v==="TABLE"||v==="HR"?u.create(c||y,d||{}):n.cloneNode(!1);let O=B;if(i)do if(E[k.nodeName]){if(be(k)||No(k))continue;const P=k.cloneNode(!1);u.setAttrib(P,"id",""),B.hasChildNodes()?(P.appendChild(B.firstChild),B.appendChild(P)):(O=P,B.appendChild(P))}while((k=k.parentNode)&&k!==a);else u.setAttrib(B,"style",null),u.setAttrib(B,"class",null);return W0(t,B),q0(O),B},bS=(t,o)=>{const n=t?.parentNode;return Ze(n)&&n.nodeName===o},GT=t=>Ze(t)&&/^(OL|UL|LI)$/.test(t.nodeName),yS=t=>Ze(t)&&/^(LI|DT|DD)$/.test(t.nodeName),Ry=t=>{const o=t.parentNode;return yS(o)?o:t},jh=(t,o,n)=>{let a=t[n?"firstChild":"lastChild"];for(;a&&!rn(a);)a=a[n?"nextSibling":"previousSibling"];return a===o},vS=t=>Oe(Wt(_u(je(t)),(o,n)=>`${n}: ${o};`),(o,n)=>o+n,""),KT=(t,o)=>o&&o.nodeName==="A"&&t.isEmpty(o),G0=(t,o)=>t.nodeName===o||t.previousSibling&&t.previousSibling.nodeName===o,xS=(t,o)=>Ze(o)&&t.isBlock(o)&&!/^(TD|TH|CAPTION|FORM)$/.test(o.nodeName)&&!/^(fixed|absolute)/i.test(o.style.position)&&t.isEditable(o.parentNode)&&t.getContentEditable(o)!=="false",wS=(t,o,n)=>ao(o)?t?n===1&&o.data.charAt(n-1)===Za?0:n:n===o.data.length-1&&o.data.charAt(n)===Za?o.data.length:n:n,YT={insert:(t,o)=>{let n,a,i,c,d=!1;const u=t.dom,f=t.schema.getNonEmptyElements(),y=t.selection.getRng(),v=Ts(t),k=je(y.startContainer),E=yn(k,y.startOffset),B=E.exists(mt=>bn(mt)&&!nl(mt)),O=y.collapsed&&B,P=(mt,kt)=>WT(t,n,ee,re,Yf(t),mt,kt),M=mt=>{const kt=wS(mt,n,a);if(ao(n)&&(mt?kt>0:kt{let mt;return mt=/^(H[1-6]|PRE|FIGURE)$/.test(i)&&ke!=="HGROUP"?P(v):P(),((kt,Ve)=>{const ot=d1(kt);return!me(Ve)&&(Ue(ot)?lo(go.explode(ot),Ve.nodeName.toLowerCase()):ot)})(t,c)&&xS(u,c)&&u.isEmpty(ee,void 0,{includeZwsp:!0})?mt=u.split(c,ee):u.insertAfter(mt,ee),Dy(t,mt),mt};O1(u,y).each(mt=>{y.setStart(mt.startContainer,mt.startOffset),y.setEnd(mt.endContainer,mt.endOffset)}),n=y.startContainer,a=y.startOffset;const q=!(!o||!o.shiftKey),K=!(!o||!o.ctrlKey);rn(n)&&n.hasChildNodes()&&!O&&(d=a>n.childNodes.length-1,n=n.childNodes[Math.min(a,n.childNodes.length-1)]||n,a=d&&ao(n)?n.data.length:0);const re=Z0(u,n);if(!re||((mt,kt)=>{const Ve=mt.dom.getParent(kt,"ol,ul,dl");return Ve!==null&&mt.dom.getContentEditableParent(Ve)==="false"})(t,n))return;q||(n=((mt,kt,Ve,ot,pt)=>{var Jt,Qo;const Fo=mt.dom,Nn=(Jt=Z0(Fo,ot))!==null&&Jt!==void 0?Jt:Fo.getRoot();let An=Fo.getParent(ot,Fo.isBlock);if(!An||!xS(Fo,An)){if(An=An||Nn,!An.hasChildNodes()){const vn=Fo.create(kt);return W0(mt,vn),An.appendChild(vn),Ve.setStart(vn,0),Ve.setEnd(vn,0),vn}let Jn,jn=ot;for(;jn&&jn.parentNode!==An;)jn=jn.parentNode;for(;jn&&!Fo.isBlock(jn);)Jn=jn,jn=jn.previousSibling;const cn=(Qo=Jn?.parentElement)===null||Qo===void 0?void 0:Qo.nodeName;if(Jn&&cn&&mt.schema.isValidChild(cn,kt.toLowerCase())){const vn=Jn.parentNode,cr=Fo.create(kt);for(W0(mt,cr),vn.insertBefore(cr,Jn),jn=Jn;jn&&!Fo.isBlock(jn);){const Qe=jn.nextSibling;cr.appendChild(jn),jn=Qe}Ve.setStart(ot,pt),Ve.setEnd(ot,pt)}}return ot})(t,v,y,n,a));let ee=u.getParent(n,u.isBlock)||u.getRoot();c=Ze(ee?.parentNode)?u.getParent(ee.parentNode,u.isBlock):null,i=ee?ee.nodeName.toUpperCase():"";const ke=c?c.nodeName.toUpperCase():"";if(ke!=="LI"||K||(ee=c,c=c.parentNode,i=ke),rn(c)&&((mt,kt,Ve)=>!kt&&Ve.nodeName.toLowerCase()===Ts(mt)&&mt.dom.isEmpty(Ve)&&((ot,pt,Jt)=>{let Qo=pt;for(;Qo&&Qo!==ot&&he(Qo.nextSibling);){const Nn=Qo.parentElement;if(!Nn||(Fo=Nn,!ln(mt.schema.getTextBlockElements(),Fo.nodeName.toLowerCase())))return Hs(Nn);Qo=Nn}var Fo;return!1})(mt.getBody(),Ve))(t,q,ee))return((mt,kt,Ve)=>{var ot,pt,Jt;const Qo=kt(Ts(mt)),Fo=((Nn,An)=>Nn.dom.getParent(An,Hs))(mt,Ve);Fo&&(mt.dom.insertAfter(Qo,Fo),Dy(mt,Qo),((Jt=(pt=(ot=Ve.parentElement)===null||ot===void 0?void 0:ot.childNodes)===null||pt===void 0?void 0:pt.length)!==null&&Jt!==void 0?Jt:0)>1&&mt.dom.remove(Ve))})(t,P,ee);if(/^(LI|DT|DD)$/.test(i)&&rn(c)&&u.isEmpty(ee))return void((mt,kt,Ve,ot,pt)=>{const Jt=mt.dom,Qo=mt.selection.getRng(),Fo=Ve.parentNode;if(Ve===mt.getBody()||!Fo)return;var Nn;GT(Nn=Ve)&>(Nn.parentNode)&&(pt="LI");const An=yS(ot)?vS(ot):void 0;let Jn=yS(ot)&&An?kt(pt,{style:vS(ot)}):kt(pt);if(jh(Ve,ot,!0)&&jh(Ve,ot,!1))if(bS(Ve,"LI")){const jn=Ry(Ve);Jt.insertAfter(Jn,jn),(cn=>{var vn;return((vn=cn.parentNode)===null||vn===void 0?void 0:vn.firstChild)===cn})(Ve)?Jt.remove(jn):Jt.remove(Ve)}else Jt.replace(Jn,Ve);else if(jh(Ve,ot,!0))bS(Ve,"LI")?(Jt.insertAfter(Jn,Ry(Ve)),Jn.appendChild(Jt.doc.createTextNode(" ")),Jn.appendChild(Ve)):Fo.insertBefore(Jn,Ve),Jt.remove(ot);else if(jh(Ve,ot,!1))Jt.insertAfter(Jn,Ry(Ve)),Jt.remove(ot);else{Ve=Ry(Ve);const jn=Qo.cloneRange();jn.setStartAfter(ot),jn.setEndAfter(Ve);const cn=jn.extractContents();if(pt==="LI"&&((vn,cr)=>vn.firstChild&&vn.firstChild.nodeName==="LI")(cn)){const vn=gt(oo(Jn.children,je),lt(ma("br")));Jn=cn.firstChild,Jt.insertAfter(cn,Ve),Se(vn,cr=>Jl(je(Jn),cr)),An&&Jn.setAttribute("style",An)}else Jt.insertAfter(cn,Ve),Jt.insertAfter(Jn,Ve);Jt.remove(ot)}Dy(mt,Jn)})(t,P,c,ee,v);if(!(O||ee!==t.getBody()&&xS(u,ee)))return;const et=ee.parentNode;let st;if(O)st=P(v),E.fold(()=>{os(k,je(st))},mt=>{rl(mt,je(st))}),t.selection.setCursorLocation(st,0);else if(Pl(ee))st=H(ee),u.isEmpty(ee)&&q0(ee),W0(t,st),Dy(t,st);else if(M(!1))st=j();else if(M(!0)&&et){st=et.insertBefore(P(),ee);const mt=je(y.startContainer).dom.hasChildNodes()&&y.collapsed;Dy(t,G0(ee,"HR")||mt?st:ee)}else{const mt=(Ve=>{const ot=Ve.cloneRange();return ot.setStart(Ve.startContainer,wS(!0,Ve.startContainer,Ve.startOffset)),ot.setEnd(Ve.endContainer,wS(!1,Ve.endContainer,Ve.endOffset)),ot})(y).cloneRange();mt.setEndAfter(ee);const kt=mt.extractContents();(Ve=>{Se(rm(je(Ve),_r),ot=>{const pt=ot.dom;pt.nodeValue=qs(pt.data)})})(kt),(Ve=>{let ot=Ve;do ao(ot)&&(ot.data=ot.data.replace(/^[\r\n]+/,"")),ot=ot.firstChild;while(ot)})(kt),st=kt.firstChild,u.insertAfter(kt,ee),((Ve,ot,pt)=>{var Jt;const Qo=[];if(!pt)return;let Fo=pt;for(;Fo=Fo.firstChild;){if(Ve.isBlock(Fo))return;rn(Fo)&&!ot[Fo.nodeName.toLowerCase()]&&Qo.push(Fo)}let Nn=Qo.length;for(;Nn--;)Fo=Qo[Nn],(!Fo.hasChildNodes()||Fo.firstChild===Fo.lastChild&&((Jt=Fo.firstChild)===null||Jt===void 0?void 0:Jt.nodeValue)===""||KT(Ve,Fo))&&Ve.remove(Fo)})(u,f,st),((Ve,ot)=>{ot.normalize();const pt=ot.lastChild;(!pt||rn(pt)&&/^(left|right)$/gi.test(Ve.getStyle(pt,"float",!0)))&&Ve.add(ot,"br")})(u,ee),u.isEmpty(ee)&&q0(ee),st.normalize(),u.isEmpty(st)?(u.remove(st),j()):(W0(t,st),Dy(t,st))}u.setAttrib(st,"id",""),t.dispatch("NewBlock",{newBlock:st})},fakeEventName:"insertParagraph"},kf=(t,o,n)=>{const a=t.dom.createRng();n?(a.setStartBefore(o),a.setEndBefore(o)):(a.setStartAfter(o),a.setEndAfter(o)),t.selection.setRng(a),bh(t,a)},zO=(t,o)=>{const n=_s("br");rl(je(o),n),t.undoManager.add()},Qw=(t,o)=>{AO(t.getBody(),o)||Da(je(o),_s("br"));const n=_s("br");Da(je(o),n),kf(t,n.dom,!1),t.undoManager.add()},AO=(t,o)=>{return n=Ht.after(o),!!da(n.getNode())||L(t,Ht.after(o)).map(a=>da(a.getNode())).getOr(!1);var n},ek=t=>t&&t.nodeName==="A"&&"href"in t,XT=t=>t.fold(uo,ek,ek,uo),JT=(t,o)=>{o.fold($t,Je(zO,t),Je(Qw,t),$t)},kS={insert:(t,o)=>{const n=(a=>{const i=Je($u,a),c=Ht.fromRangeStart(a.selection.getRng());return Yu(i,a.getBody(),c).filter(XT)})(t);n.isSome()?n.each(Je(JT,t)):((a,i)=>{const c=a.selection,d=a.dom,u=c.getRng();let f,y=!1;O1(d,u).each(M=>{u.setStart(M.startContainer,M.startOffset),u.setEnd(M.endContainer,M.endOffset)});let v=u.startOffset,k=u.startContainer;if(rn(k)&&k.hasChildNodes()){const M=v>k.childNodes.length-1;k=k.childNodes[Math.min(v,k.childNodes.length-1)]||k,v=M&&ao(k)?k.data.length:0}let E=d.getParent(k,d.isBlock);const B=E&&E.parentNode?d.getParent(E.parentNode,d.isBlock):null,O=B?B.nodeName.toUpperCase():"",P=!(!i||!i.ctrlKey);O!=="LI"||P||(E=B),ao(k)&&v>=k.data.length&&(((M,j,q)=>{const K=new Ns(j,q);let re;const ee=M.getNonEmptyElements();for(;re=K.next();)if(ee[re.nodeName.toLowerCase()]||ao(re)&&re.length>0)return!0;return!1})(a.schema,k,E||d.getRoot())||(f=d.create("br"),u.insertNode(f),u.setStartAfter(f),u.setEndAfter(f),y=!0)),f=d.create("br"),ub(d,u,f),kf(a,f,y),a.undoManager.add()})(t,o)},fakeEventName:"insertLineBreak"},K0=(t,o)=>hS(t).filter(n=>o.length>0&&Ci(je(n),o)).isSome(),$d=zc([{br:[]},{block:[]},{none:[]}]),OO=(t,o)=>(n=>K0(n,c1(n)))(t),tk=t=>(o,n)=>(a=>hS(a).filter(i=>uc(je(i))).isSome())(o)===t,_S=(t,o)=>(n,a)=>(c=>hS(c).fold(Ct(""),d=>d.nodeName.toUpperCase()))(n)===t.toUpperCase()===o,NO=t=>{const o=Z0(t.dom,t.selection.getStart());return me(o)},Y0=t=>_S("pre",t),ok=t=>(o,n)=>Gf(o)===t,MO=(t,o)=>(n=>K0(n,Ic(n)))(t),By=(t,o)=>o,QT=t=>{const o=Ts(t),n=Z0(t.dom,t.selection.getStart());return Ze(n)&&t.schema.isValidChild(n.nodeName,o)},DO=t=>{const o=t.selection.getRng(),n=je(o.startContainer),a=yn(n,o.startOffset).map(i=>bn(i)&&!nl(i));return o.collapsed&&a.getOr(!0)},xu=(t,o)=>(n,a)=>Oe(t,(i,c)=>i&&c(n,a),!0)?V.some(o):V.none(),vi=(t,o,n)=>{o.selection.isCollapsed()||(a=>{a.execCommand("delete")})(o),Ze(n)&&Xw(o,t.fakeEventName).isDefaultPrevented()||(t.insert(o,n),Ze(n)&&cp(o,t.fakeEventName))},ez=(t,o)=>{const n=()=>vi(kS,t,o),a=()=>vi(YT,t,o),i=((c,d)=>hC([xu([OO],$d.none()),xu([Y0(!0),NO],$d.none()),xu([_S("summary",!0)],$d.br()),xu([Y0(!0),ok(!1),By],$d.br()),xu([Y0(!0),ok(!1)],$d.block()),xu([Y0(!0),ok(!0),By],$d.block()),xu([Y0(!0),ok(!0)],$d.br()),xu([tk(!0),By],$d.br()),xu([tk(!0)],$d.block()),xu([MO],$d.br()),xu([By],$d.br()),xu([QT],$d.block()),xu([DO],$d.block())],[c,!(!d||!d.shiftKey)]).getOr($d.none()))(t,o);switch(Kf(t)){case"linebreak":i.fold(n,n,$t);break;case"block":i.fold(a,a,$t);break;case"invert":i.fold(a,n,$t);break;default:i.fold(n,a,$t)}},tz=Aa(),oz=tz.os.isiOS()&&tz.browser.isSafari(),nk=(t,o)=>{var n;o.isDefaultPrevented()||(o.preventDefault(),(n=t.undoManager).typing&&(n.typing=!1,n.add()),t.undoManager.transact(()=>{ez(t,o)}))},nz=Aa(),dp=t=>t.stopImmediatePropagation(),rk=t=>t.keyCode===mn.PAGE_UP||t.keyCode===mn.PAGE_DOWN,CS=(t,o,n)=>{n&&!t.get()?o.on("NodeChange",dp,!0):!n&&t.get()&&o.off("NodeChange",dp),t.set(n)},ak=(t,o)=>{const n=o.container(),a=o.offset();return ao(n)?(n.insertData(a,t),V.some(Ht(n,a+t.length))):qp(o).map(i=>{const c=vc(t);return o.isAtEnd()?Da(i,c):rl(i,c),Ht(c.dom,t.length)})},sk=Je(ak,ns),ik=Je(ak," "),SS=t=>o=>{t.selection.setRng(o.toRange()),t.nodeChanged()},lk=t=>{const o=Ht.fromRangeStart(t.selection.getRng()),n=je(t.getBody());if(t.selection.isCollapsed()){const a=Je($u,t),i=Ht.fromRangeStart(t.selection.getRng());return Yu(a,t.getBody(),i).bind((c=>d=>d.fold(u=>I(c.dom,Ht.before(u)),u=>Z(u),u=>Y(u),u=>L(c.dom,Ht.after(u))))(n)).map(c=>()=>((d,u,f)=>y=>T4(d,y,f)?sk(u):ik(u))(n,o,t.schema)(c).each(SS(t)))}return V.none()},ck=t=>{return gi(Rn.browser.isFirefox()&&t.selection.isEditable()&&(o=t.dom,n=t.selection.getRng().startContainer,o.isEditable(o.getParent(n,"summary"))),()=>{const a=je(t.getBody());t.selection.isCollapsed()||t.getDoc().execCommand("Delete"),((i,c,d)=>T4(i,c,d)?sk(c):ik(c))(a,Ht.fromRangeStart(t.selection.getRng()),t.schema).each(SS(t))});var o,n},X0=t=>lh(t)?[{keyCode:mn.TAB,action:lr(ZC,t,!0)},{keyCode:mn.TAB,shiftKey:!0,action:lr(ZC,t,!1)}]:[],J0=t=>{if(t.addShortcut("Meta+P","","mcePrint"),cS(t),Tm(t))return bi(null);{const o=EC(t);return(n=>{n.on("beforeinput",a=>{n.selection.isEditable()&&!To(a.getTargetRanges(),i=>!A_(n.dom,i))||a.preventDefault()})})(t),(n=>{n.on("keyup compositionstart",Je(fT,n))})(t),((n,a)=>{n.on("keydown",i=>{i.isDefaultPrevented()||((c,d,u)=>{const f=Rn.os.isMacOS()||Rn.os.isiOS();R0([{keyCode:mn.RIGHT,action:lr(LC,c,!0)},{keyCode:mn.LEFT,action:lr(LC,c,!1)},{keyCode:mn.UP,action:lr(IC,c,!1)},{keyCode:mn.DOWN,action:lr(IC,c,!0)},...f?[{keyCode:mn.UP,action:lr(Lh,c,!1),metaKey:!0,shiftKey:!0},{keyCode:mn.DOWN,action:lr(Lh,c,!0),metaKey:!0,shiftKey:!0}]:[],{keyCode:mn.RIGHT,action:lr(ET,c,!0)},{keyCode:mn.LEFT,action:lr(ET,c,!1)},{keyCode:mn.UP,action:lr(Vd,c,!1)},{keyCode:mn.DOWN,action:lr(Vd,c,!0)},{keyCode:mn.UP,action:lr(Vd,c,!1)},{keyCode:mn.UP,action:lr(Nw,c,!1)},{keyCode:mn.DOWN,action:lr(Nw,c,!0)},{keyCode:mn.RIGHT,action:lr(vT,c,!0)},{keyCode:mn.LEFT,action:lr(vT,c,!1)},{keyCode:mn.UP,action:lr(B0,c,!1)},{keyCode:mn.DOWN,action:lr(B0,c,!0)},{keyCode:mn.RIGHT,action:lr(cT,c,d,!0)},{keyCode:mn.LEFT,action:lr(cT,c,d,!1)},{keyCode:mn.RIGHT,ctrlKey:!f,altKey:f,action:lr(Rh,c,d)},{keyCode:mn.LEFT,ctrlKey:!f,altKey:f,action:lr(Bh,c,d)},{keyCode:mn.UP,action:lr(jC,c,!1)},{keyCode:mn.DOWN,action:lr(jC,c,!0)}],u).each(y=>{u.preventDefault()})})(n,a,i)})})(t,o),((n,a)=>{let i=!1;n.on("keydown",c=>{i=c.keyCode===mn.BACKSPACE,c.isDefaultPrevented()||((d,u,f)=>{const y=f.keyCode===mn.BACKSPACE?"deleteContentBackward":"deleteContentForward",v=d.selection.isCollapsed(),k=v?"character":"selection",E=B=>v?B?"word":"line":"selection";yT([{keyCode:mn.BACKSPACE,action:lr(Aw,d)},{keyCode:mn.BACKSPACE,action:lr(xy,d,!1)},{keyCode:mn.DELETE,action:lr(xy,d,!0)},{keyCode:mn.BACKSPACE,action:lr(bw,d,!1)},{keyCode:mn.DELETE,action:lr(bw,d,!0)},{keyCode:mn.BACKSPACE,action:lr(op,d,u,!1)},{keyCode:mn.DELETE,action:lr(op,d,u,!0)},{keyCode:mn.BACKSPACE,action:lr(J_,d,!1)},{keyCode:mn.DELETE,action:lr(J_,d,!0)},{keyCode:mn.BACKSPACE,action:lr(Ml,d,!1,k)},{keyCode:mn.DELETE,action:lr(Ml,d,!0,k)},...Jw?[{keyCode:mn.BACKSPACE,altKey:!0,action:lr(Ml,d,!1,E(!0))},{keyCode:mn.DELETE,altKey:!0,action:lr(Ml,d,!0,E(!0))},{keyCode:mn.BACKSPACE,metaKey:!0,action:lr(Ml,d,!1,E(!1))}]:[{keyCode:mn.BACKSPACE,ctrlKey:!0,action:lr(Ml,d,!1,E(!0))},{keyCode:mn.DELETE,ctrlKey:!0,action:lr(Ml,d,!0,E(!0))}],{keyCode:mn.BACKSPACE,action:lr(pC,d,!1)},{keyCode:mn.DELETE,action:lr(pC,d,!0)},{keyCode:mn.BACKSPACE,action:lr(Ew,d,!1)},{keyCode:mn.DELETE,action:lr(Ew,d,!0)},{keyCode:mn.BACKSPACE,action:lr(fw,d,!1)},{keyCode:mn.DELETE,action:lr(fw,d,!0)},{keyCode:mn.BACKSPACE,action:lr(zm,d,!1)},{keyCode:mn.DELETE,action:lr(zm,d,!0)},{keyCode:mn.BACKSPACE,action:lr(Sw,d,!1)},{keyCode:mn.DELETE,action:lr(Sw,d,!0)}],f).filter(B=>d.selection.isEditable()).each(B=>{f.preventDefault(),Xw(d,y).isDefaultPrevented()||(B(),cp(d,y))})})(n,a,c)}),n.on("keyup",c=>{c.isDefaultPrevented()||((d,u,f)=>{R0([{keyCode:mn.BACKSPACE,action:lr(PE,d)},{keyCode:mn.DELETE,action:lr(PE,d)},...Jw?[{keyCode:mn.BACKSPACE,altKey:!0,action:lr(Ty,d)},{keyCode:mn.DELETE,altKey:!0,action:lr(Ty,d)},...f?[{keyCode:qT?224:91,action:lr(Ty,d)}]:[]]:[{keyCode:mn.BACKSPACE,ctrlKey:!0,action:lr(Ty,d)},{keyCode:mn.DELETE,ctrlKey:!0,action:lr(Ty,d)}]],u)})(n,c,i),i=!1})})(t,o),(n=>{let a=V.none();n.on("keydown",i=>{i.keyCode===mn.ENTER&&(oz&&(c=>{if(!c.collapsed)return!1;const d=c.startContainer;if(ao(d)){const u=/^[\uAC00-\uD7AF\u1100-\u11FF\u3130-\u318F\uA960-\uA97F\uD7B0-\uD7FF]$/,f=d.data.charAt(c.startOffset-1);return u.test(f)}return!1})(n.selection.getRng())?(c=>{a=V.some(c.selection.getBookmark()),c.undoManager.add()})(n):nk(n,i))}),n.on("keyup",i=>{i.keyCode===mn.ENTER&&a.each(()=>((c,d)=>{c.undoManager.undo(),a.fold($t,u=>c.selection.moveToBookmark(u)),nk(c,d),a=V.none()})(n,i))})})(t),(n=>{n.on("keydown",a=>{a.isDefaultPrevented()||((i,c)=>{yT([{keyCode:mn.SPACEBAR,action:lr(lk,i)},{keyCode:mn.SPACEBAR,action:lr(ck,i)}],c).each(d=>{c.preventDefault(),Xw(i,"insertText",{data:" "}).isDefaultPrevented()||(d(),cp(i,"insertText",{data:" "}))})})(n,a)})})(t),(n=>{n.on("input",a=>{a.isComposing||(i=>{const c=je(i.getBody());i.selection.isCollapsed()&&jA(c,Ht.fromRangeStart(i.selection.getRng()),i.schema).each(d=>{i.selection.setRng(d.toRange())})})(n)})})(t),(n=>{n.on("keydown",a=>{a.isDefaultPrevented()||((i,c)=>{R0([...X0(i)],c).each(d=>{c.preventDefault()})})(n,a)})})(t),((n,a)=>{n.on("keydown",i=>{i.isDefaultPrevented()||((c,d,u)=>{const f=Rn.os.isMacOS()||Rn.os.isiOS();R0([{keyCode:mn.END,action:lr(PC,c,!0)},{keyCode:mn.HOME,action:lr(PC,c,!1)},...f?[]:[{keyCode:mn.HOME,action:lr(Lh,c,!1),ctrlKey:!0,shiftKey:!0},{keyCode:mn.END,action:lr(Lh,c,!0),ctrlKey:!0,shiftKey:!0}],{keyCode:mn.END,action:lr(Mw,c,!0)},{keyCode:mn.HOME,action:lr(Mw,c,!1)},{keyCode:mn.END,action:lr(Fh,c,!0,d)},{keyCode:mn.HOME,action:lr(Fh,c,!1,d)}],u).each(y=>{u.preventDefault()})})(n,a,i)})})(t,o),((n,a)=>{if(nz.os.isMacOS())return;const i=bi(!1);n.on("keydown",c=>{rk(c)&&CS(i,n,!0)}),n.on("keyup",c=>{c.isDefaultPrevented()||((d,u,f)=>{R0([{keyCode:mn.PAGE_UP,action:lr(Fh,d,!1,u)},{keyCode:mn.PAGE_DOWN,action:lr(Fh,d,!0,u)}],f)})(n,a,c),rk(c)&&i.get()&&(CS(i,n,!1),n.nodeChanged())})})(t,o),o}};class Ju{constructor(o){let n;this.lastPath=[],this.editor=o;const a=this;"onselectionchange"in o.getDoc()||o.on("NodeChange click mouseup keyup focus",i=>{const c=o.selection.getRng(),d={startContainer:c.startContainer,startOffset:c.startOffset,endContainer:c.endContainer,endOffset:c.endOffset};i.type!=="nodechange"&&p_(d,n)||o.dispatch("SelectionChange"),n=d}),o.on("contextmenu",()=>{o.dispatch("SelectionChange")}),o.on("SelectionChange",()=>{const i=o.selection.getStart(!0);i&&li(o)&&!a.isSameElementPath(i)&&o.dom.isChildOf(i,o.getBody())&&o.nodeChanged({selectionChange:!0})}),o.on("mouseup",i=>{!i.isDefaultPrevented()&&li(o)&&(o.selection.getNode().nodeName==="IMG"?uu.setEditorTimeout(o,()=>{o.nodeChanged()}):o.nodeChanged())})}nodeChanged(o={}){const n=this.editor.selection;let a;if(this.editor.initialized&&n&&!Sg(this.editor)&&!this.editor.mode.isReadOnly()){const i=this.editor.getBody();a=n.getStart(!0)||i,a.ownerDocument===this.editor.getDoc()&&this.editor.dom.isChildOf(a,i)||(a=i);const c=[];this.editor.dom.getParent(a,d=>d===i||(c.push(d),!1)),this.editor.dispatch("NodeChange",{...o,element:a,parents:c})}}isSameElementPath(o){let n;const a=this.editor,i=Ge(a.dom.getParents(o,Bt,a.getBody()));if(i.length===this.lastPath.length){for(n=i.length;n>=0&&i[n]===this.lastPath[n];n--);if(n===-1)return this.lastPath=i,!0}return this.lastPath=i,!1}}const Fy=hg("image"),dk=hg("event"),Q0=t=>o=>{o[dk]=t},rz=Q0(0),az=Q0(2),RO=Q0(1),BO=t=>{const o=t;return V.from(o[dk]).exists(n=>n===0)},Vh=hg("mode"),uk=t=>o=>{o[Vh]=t},sz=(t,o)=>uk(o)(t),iz=uk(0),ES=uk(2),FO=uk(1),lz=t=>o=>{const n=o;return V.from(n[Vh]).exists(a=>a===t)},Ly=lz(0),cz=lz(1),LO=["none","copy","link","move"],IO=["none","copy","copyLink","copyMove","link","linkMove","move","all","uninitialized"],TS=()=>{const t=new window.DataTransfer;let o="move",n="all";const a={get dropEffect(){return o},set dropEffect(i){lo(LO,i)&&(o=i)},get effectAllowed(){return n},set effectAllowed(i){BO(a)&&lo(IO,i)&&(n=i)},get items(){return((i,c)=>({...c,get length(){return c.length},add:(d,u)=>{if(Ly(i)){if(!Ue(d))return c.add(d);if(!fo(u))return c.add(d,u)}return null},remove:d=>{Ly(i)&&c.remove(d)},clear:()=>{Ly(i)&&c.clear()}}))(a,t.items)},get files(){return cz(a)?Object.freeze({length:0,item:i=>null}):t.files},get types(){return t.types},setDragImage:(i,c,d)=>{var u;Ly(a)&&(u={image:i,x:c,y:d},a[Fy]=u,t.setDragImage(i,c,d))},getData:i=>cz(a)?"":t.getData(i),setData:(i,c)=>{Ly(a)&&t.setData(i,c)},clearData:i=>{Ly(a)&&t.clearData(i)}};return iz(a),a},zS=(t,o)=>t.setData("text/html",o),AS="x-tinymce/html",ev=Ct(AS),mk="",dz=t=>mk+t,OS=t=>t.indexOf(mk)!==-1,NS="%MCEPASTEBIN%",MS=t=>t.dom.get("mcepastebin"),uz=t=>Ze(t)&&t.id==="mcepastebin",mz=t=>t===NS,gz=(t,o)=>(go.each(o,n=>{t=Ao(n,RegExp)?t.replace(n,""):t.replace(n[0],n[1])}),t),DS=t=>gz(t,[/^[\s\S]*]*>\s*|\s*<\/body[^>]*>[\s\S]*$/gi,/|/g,[/( ?)\u00a0<\/span>( ?)/g,(o,n,a)=>n||a?ns:" "],/
    /g,/
    $/i]),RS=(t,o)=>({content:t,cancelled:o}),BS=(t,o)=>(t.insertContent(o,{merge:s_(t),paste:!0}),!0),gk=t=>/^https?:\/\/[\w\-\/+=.,!;:&%@^~(){}?#]+$/i.test(t),pz=(t,o,n)=>!(t.selection.isCollapsed()||!gk(o))&&((a,i,c)=>(a.undoManager.extra(()=>{c(a,i)},()=>{a.execCommand("mceInsertLink",!1,i)}),!0))(t,o,n),PO=(t,o,n)=>!!((a,i)=>gk(i)&&To(x1(a),c=>De(i.toLowerCase(),`.${c.toLowerCase()}`)))(t,o)&&((a,i,c)=>(a.undoManager.extra(()=>{c(a,i)},()=>{a.insertContent('')}),!0))(t,o,n),HO=(t=>{let o=0;return()=>"mceclip"+o++})(),jO=t=>{const o=TS();return zS(o,t),ES(o),o},fz=(t,o,n,a,i)=>{const c=((d,u,f)=>((y,v,k)=>{const E=((O,P,M)=>O.dispatch("PastePreProcess",{content:P,internal:M}))(y,v,k),B=((O,P)=>{const M=dy({sanitize:bm(O),sandbox_iframes:jp(O)},O.schema);M.addNodeFilter("meta",q=>{go.each(q,K=>{K.remove()})});const j=M.parse(P,{forced_root_block:!1,isRootContent:!0});return af({validate:!0},O.schema).serialize(j)})(y,E.content);return y.hasEventListeners("PastePostProcess")&&!E.isDefaultPrevented()?((O,P,M)=>{const j=O.dom.create("div",{style:"display:none"},P),q=((K,re,ee)=>K.dispatch("PastePostProcess",{node:re,internal:ee}))(O,j,M);return RS(q.node.innerHTML,q.isDefaultPrevented())})(y,B,k):RS(B,E.isDefaultPrevented())})(d,u,f))(t,o,n);if(!c.cancelled){const d=c.content,u=()=>((f,y,v)=>{v||!Eb(f)?BS(f,y):((k,E)=>{go.each([pz,PO,BS],B=>!B(k,E,BS))})(f,y)})(t,d,a);i?Xw(t,"insertFromPaste",{dataTransfer:jO(d)}).isDefaultPrevented()||(u(),cp(t,"insertFromPaste")):u()}},pk=(t,o,n,a)=>{const i=n||OS(o);fz(t,(c=>c.replace(mk,""))(o),i,!1,a)},Iy=(t,o,n)=>{const a=t.dom.encode(o).replace(/\r\n/g,` +`),i=((c,d,u)=>{const f=c.split(/\n\n/),y=((E,B)=>{let O="<"+E;const P=Wt(B,(M,j)=>j+'="'+Sc.encodeAllRaw(M)+'"');return P.length&&(O+=" "+P.join(" ")),O+">"})(d,u),v="",k=oo(f,E=>E.split(/\n/).join("
    "));return k.length===1?k[0]:oo(k,E=>y+E+v).join("")})(vp(a,ah(t)),Ts(t),gc(t));fz(t,i,!1,!0,n)},FS=t=>{const o={};if(t&&t.types)for(let n=0;no in t&&t[o].length>0,LS=t=>up(t,"text/html")||up(t,"text/plain"),hz=(t,o,n)=>{const a=o.type==="paste"?o.clipboardData:o.dataTransfer;var i;if(Tg(t)&&a){const c=((d,u)=>{const f=u.items?at(Pn(u.items),v=>v.kind==="file"?[v.getAsFile()]:[]):[],y=u.files?Pn(u.files):[];return gt(f.length>0?f:y,(v=>{const k=x1(v);return E=>gr(E.type,"image/")&&To(k,B=>(O=>{const P=O.toLowerCase(),M={jpg:"jpeg",jpe:"jpeg",jfi:"jpeg",jif:"jpeg",jfif:"jpeg",pjpeg:"jpeg",pjp:"jpeg",svg:"svg+xml"};return go.hasOwn(M,P)?"image/"+M[P]:"image/"+P})(B)===E.type)})(d))})(t,a);if(c.length>0)return o.preventDefault(),(i=c,Promise.all(oo(i,d=>Gx(d).then(u=>({file:d,uri:u}))))).then(d=>{n&&t.selection.setRng(n),Se(d,u=>{((f,y)=>{ay(y.uri).each(({data:v,type:k,base64Encoded:E})=>{const B=E?v:btoa(v),O=y.file,P=f.editorUpload.blobCache,M=P.getByData(B,k),j=M??((q,K,re,ee)=>{const ke=HO(),et=Xf(q)&&Ze(re.name),st=et?((Ve,ot)=>{const pt=ot.match(/([\s\S]+?)(?:\.[a-z0-9.]+)$/i);return Ze(pt)?Ve.dom.encode(pt[1]):void 0})(q,re.name):ke,mt=et?re.name:void 0,kt=K.create(ke,re,ee,st,mt);return K.add(kt),kt})(f,P,O,B);pk(f,``,!1,!0)})})(t,u)})}),!0}return!1},IS=(t,o,n,a,i)=>{let c=DS(n);const d=up(o,ev())||OS(n),u=!d&&(y=>!/<(?:\/?(?!(?:div|p|br|span)>)\w+|(?:(?!(?:span style="white-space:\s?pre;?">)|br\s?\/>))\w+\s[^>]+)>/i.test(y))(c),f=gk(c);(mz(c)||!c.length||u&&!f)&&(a=!0),(a||f)&&(c=up(o,"text/plain")&&u?o["text/plain"]:(y=>{const v=Du(),k=dy({},v);let E="";const B=v.getVoidElements(),O=go.makeMap("script noscript style textarea video audio iframe object"," "),P=v.getBlockElements(),M=j=>{const q=j.name,K=j;if(q!=="br"){if(q!=="wbr")if(B[q]&&(E+=" "),O[q])E+=" ";else{if(j.type===3&&(E+=j.value),!(j.name in v.getVoidElements())){let re=j.firstChild;if(re)do M(re);while(re=re.next)}P[q]&&K.next&&(E+=` +`,q==="p"&&(E+=` +`))}}else E+=` +`};return y=gz(y,[//g]),M(k.parse(y)),E})(c)),mz(c)||(a?Iy(t,c,i):pk(t,c,d,i))},bz=(t,o,n)=>{((a,i,c)=>{let d;a.on("keydown",u=>{(f=>mn.metaKeyPressed(f)&&f.keyCode===86||f.shiftKey&&f.keyCode===45)(u)&&!u.isDefaultPrevented()&&(d=u.shiftKey&&u.keyCode===86)}),a.on("paste",u=>{if(u.isDefaultPrevented()||(v=>{var k,E;return Rn.os.isAndroid()&&((E=(k=v.clipboardData)===null||k===void 0?void 0:k.items)===null||E===void 0?void 0:E.length)===0})(u))return;const f=c.get()==="text"||d;d=!1;const y=FS(u.clipboardData);!LS(y)&&hz(a,u,i.getLastRng()||a.selection.getRng())||(up(y,"text/html")?(u.preventDefault(),IS(a,y,y["text/html"],f,!0)):up(y,"text/plain")&&up(y,"text/uri-list")?(u.preventDefault(),IS(a,y,y["text/plain"],f,!0)):(i.create(),uu.setEditorTimeout(a,()=>{const v=i.getHtml();i.remove(),IS(a,y,v,f,!1)},0)))})})(t,o,n),(a=>{const i=d=>gr(d,"webkit-fake-url"),c=d=>gr(d,"data:");a.parser.addNodeFilter("img",(d,u,f)=>{if(!Tg(a)&&(y=>{var v;return((v=y.data)===null||v===void 0?void 0:v.paste)===!0})(f))for(const y of d){const v=y.attr("src");Ue(v)&&!y.attr("data-mce-object")&&v!==Rn.transparentSrc&&(i(v)||!sh(a)&&c(v))&&y.remove()}})})(t)},yz=(t,o,n,a)=>{((i,c,d)=>{if(!i)return!1;try{return i.clearData(),i.setData("text/html",c),i.setData("text/plain",d),i.setData(ev(),c),!0}catch{return!1}})(t.clipboardData,o.html,o.text)?(t.preventDefault(),a()):n(o.html,a)},fk=t=>(o,n)=>{const{dom:a,selection:i}=t,c=a.create("div",{contenteditable:"false","data-mce-bogus":"all"}),d=a.create("div",{contenteditable:"true"},o);a.setStyles(c,{position:"fixed",top:"0",left:"-3000px",width:"1000px",overflow:"hidden"}),c.appendChild(d),a.add(t.getBody(),c);const u=i.getRng();d.focus();const f=a.createRng();f.selectNodeContents(d),i.setRng(f),uu.setEditorTimeout(t,()=>{i.setRng(u),a.remove(c),n()},0)},PS=t=>({html:dz(t.selection.getContent({contextual:!0})),text:t.selection.getContent({format:"text"})}),vz=t=>!t.selection.isCollapsed()||(o=>!!o.dom.getParent(o.selection.getStart(),"td[data-mce-selected],th[data-mce-selected]",o.getBody()))(t),tl=(t,o)=>{var n,a;return nf.getCaretRangeFromPoint((n=o.clientX)!==null&&n!==void 0?n:0,(a=o.clientY)!==null&&a!==void 0?a:0,t.getDoc())},Nm=(t,o)=>{t.focus(),o&&t.selection.setRng(o)},VO=/rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*\)/gi,xz=t=>go.trim(t).replace(VO,qo).toLowerCase(),$O=(t,o,n)=>{const a=Bv(t);if(n||a==="all"||!b1(t))return o;const i=a?a.split(/[, ]/):[];if(i&&a!=="none"){const c=t.dom,d=t.selection.getNode();o=o.replace(/(<[^>]+) style="([^"]*)"([^>]*>)/gi,(u,f,y,v)=>{const k=c.parseStyle(c.decode(y)),E={};for(let O=0;O]+) style="([^"]*)"([^>]*>)/gi,"$1$3");return o=o.replace(/(<[^>]+) data-mce-style="([^"]+)"([^>]*>)/gi,(c,d,u,f)=>d+' style="'+u+'"'+f),o},wz=t=>{const o=bi(!1),n=bi(y1(t)?"text":"html"),a=(i=>{const c=bi(null);return{create:()=>((d,u)=>{const{dom:f,selection:y}=d,v=d.getBody();u.set(y.getRng());const k=f.add(d.getBody(),"div",{id:"mcepastebin",class:"mce-pastebin",contentEditable:!0,"data-mce-bogus":"all",style:"position: fixed; top: 50%; width: 10px; height: 10px; overflow: hidden; opacity: 0"},NS);Rn.browser.isFirefox()&&f.setStyle(k,"left",f.getStyle(v,"direction",!0)==="rtl"?65535:-65535),f.bind(k,"beforedeactivate focusin focusout",E=>{E.stopPropagation()}),k.focus(),y.select(k,!0)})(i,c),remove:()=>((d,u)=>{const f=d.dom;if(MS(d)){let y;const v=u.get();for(;y=MS(d);)f.remove(y),f.unbind(y);v&&d.selection.setRng(v)}u.set(null)})(i,c),getEl:()=>MS(i),getHtml:()=>(d=>{const u=d.dom,f=(E,B)=>{E.appendChild(B),u.remove(B,!0)},[y,...v]=gt(d.getBody().childNodes,uz);Se(v,E=>{f(y,E)});const k=u.select("div[id=mcepastebin]",y);for(let E=k.length-1;E>=0;E--){const B=u.create("div");y.insertBefore(B,k[E]),f(B,k[E])}return y?y.innerHTML:""})(i),getLastRng:c.get}})(t);(i=>{(Rn.browser.isChromium()||Rn.browser.isSafari())&&((c,d)=>{c.on("PastePreProcess",u=>{u.content=d(c,u.content,u.internal)})})(i,$O)})(t),((i,c)=>{i.addCommand("mceTogglePlainTextPaste",()=>{((d,u)=>{u.get()==="text"?(u.set("html"),I3(d,!1)):(u.set("text"),I3(d,!0)),d.focus()})(i,c)}),i.addCommand("mceInsertClipboardContent",(d,u)=>{u.html&&pk(i,u.html,u.internal,!1),u.text&&Iy(i,u.text,!1)})})(t,n),(i=>{const c=f=>y=>{f(i,y)},d=h1(i);de(d)&&i.on("PastePreProcess",c(d));const u=Zl(i);de(u)&&i.on("PastePostProcess",c(u))})(t),t.on("PreInit",()=>{(i=>{i.on("cut",(c=>d=>{!d.isDefaultPrevented()&&vz(c)&&c.selection.isEditable()&&yz(d,PS(c),fk(c),()=>{if(Rn.browser.isChromium()||Rn.browser.isFirefox()){const u=c.selection.getRng();uu.setEditorTimeout(c,()=>{c.selection.setRng(u),c.execCommand("Delete")},0)}else c.execCommand("Delete")})})(i)),i.on("copy",(c=>d=>{!d.isDefaultPrevented()&&vz(c)&&yz(d,PS(c),fk(c),$t)})(i))})(t),((i,c)=>{Dv(i)&&i.on("dragend dragover draggesture dragdrop drop drag",d=>{d.preventDefault(),d.stopPropagation()}),Tg(i)||i.on("drop",d=>{const u=d.dataTransfer;u&&(f=>To(f.files,y=>/^image\//.test(y.type)))(u)&&d.preventDefault()}),i.on("drop",d=>{if(d.isDefaultPrevented())return;const u=tl(i,d);if(me(u))return;const f=FS(d.dataTransfer),y=up(f,ev());if((!LS(f)||(O=>{const P=O["text/plain"];return!!P&&P.indexOf("file://")===0})(f))&&hz(i,d,u))return;const v=f[ev()],k=v||f["text/html"]||f["text/plain"],E=((O,P,M,j)=>{const q=O.getParent(M,K=>Ed(P,K));if(!he(O.getParent(M,"summary")))return!0;if(q&&ln(j,"text/html")){const K=new DOMParser().parseFromString(j["text/html"],"text/html").body;return!he(K.querySelector(q.nodeName.toLowerCase()))}return!1})(i.dom,i.schema,u.startContainer,f),B=c.get();B&&!E||k&&(d.preventDefault(),uu.setEditorTimeout(i,()=>{i.undoManager.transact(()=>{(v||B&&E)&&i.execCommand("Delete"),Nm(i,u);const O=DS(k);f["text/html"]?pk(i,O,y,!0):Iy(i,O,!0)})}))}),i.on("dragstart",d=>{c.set(!0)}),i.on("dragover dragend",d=>{Tg(i)&&!c.get()&&(d.preventDefault(),Nm(i,tl(i,d))),d.type==="dragend"&&c.set(!1)}),(d=>{d.on("input",u=>{const f=y=>he(y.querySelector("summary"));if(u.inputType==="deleteByDrag"){const y=gt(d.dom.select("details"),f);Se(y,v=>{da(v.firstChild)&&v.firstChild.remove();const k=d.dom.create("summary");k.appendChild(Xi().dom),v.prepend(k)})}})})(i)})(t,o),bz(t,a,n)})},Py=da,kz=ao,Mm=t=>Oa(t.dom),_z=t=>o=>sa(je(t),o),Cz=(t,o)=>ts(je(t),Mm,_z(o)),HS=(t,o,n)=>{const a=new Ns(t,o),i=n?a.next.bind(a):a.prev.bind(a);let c=t;for(let d=n?t:i();d&&!Py(d);d=i())Ka(d)&&(c=d);return c},Sz=t=>{const o=((n,a,i)=>{const c=Ht.fromRangeStart(n).getNode(),d=((v,k,E)=>ts(je(v),B=>(O=>zi(O.dom))(B)||E.isBlock(Pe(B)),_z(k)).getOr(je(k)).dom)(c,a,i),u=HS(c,d,!1),f=HS(c,d,!0),y=document.createRange();return Cz(u,d).fold(()=>{kz(u)?y.setStart(u,0):y.setStartBefore(u)},v=>y.setStartBefore(v.dom)),Cz(f,d).fold(()=>{kz(f)?y.setEnd(f,f.data.length):y.setEndAfter(f)},v=>y.setEndAfter(v.dom)),y})(t.selection.getRng(),t.getBody(),t.schema);t.selection.setRng(Dx(o))};var Hy;(function(t){t.Before="before",t.After="after"})(Hy||(Hy={}));const jS=(t,o)=>Math.abs(t.left-o),Ez=(t,o)=>Math.abs(t.right-o),UO=(t,o)=>(n=>Oe(n,(a,i)=>a.fold(()=>V.some(i),c=>{const d=Math.min(i.left,c.left),u=Math.min(i.top,c.top),f=Math.max(i.right,c.right),y=Math.max(i.bottom,c.bottom);return V.some({top:u,right:f,bottom:y,left:d,width:f-d,height:y-u})}),V.none()))(gt(t,n=>{return(a=o)>=(i=n).top&&a<=i.bottom;var a,i})).fold(()=>[[],t],n=>{const{pass:a,fail:i}=ct(t,c=>((d,u)=>{const f=((y,v)=>Math.max(0,Math.min(y.bottom,v.bottom)-Math.max(y.top,v.top)))(d,u)/Math.min(d.height,u.height);return((y,v)=>y.topv.top)(d,u)&&f>.5})(c,n));return[a,i]}),ZO=(t,o,n)=>o>t.left&&o{const i=v=>Ka(v.node)?V.some(v):rn(v.node)?hk(Pn(v.node.childNodes),o,n,!1):V.none(),c=(v,k)=>{const E=Xo(v,(B,O)=>k(B,o,n)-k(O,o,n));return zn(E,i).map(B=>a&&!ao(B.node)&&E.length>1?((O,P,M)=>i(P).filter(j=>Math.abs(M(O,o,n)-M(j,o,n))<2&&ao(j.node)))(B,E[1],k).getOr(B):B)},[d,u]=UO(eT(t),n),{pass:f,fail:y}=ct(u,v=>v.topc(y,Op)).orThunk(()=>c(f,Op))},VS=(t,o,n)=>((a,i,c)=>{const d=je(a),u=Si(d),f=Ll(u,i,c).filter(y=>lc(d,y)).getOr(d);return((y,v,k,E)=>{const B=(O,P)=>{const M=gt(O.dom.childNodes,lt(j=>rn(j)&&j.classList.contains("mce-drag-container")));return P.fold(()=>hk(M,k,E,!0),j=>{const q=gt(M,K=>K!==j.dom);return hk(q,k,E,!0)}).orThunk(()=>(sa(O,y)?V.none():Il(O)).bind(j=>B(j,V.some(O))))};return B(v,V.none())})(d,f,i,c)})(t,o,n).filter(a=>lu(a.node)).map(a=>((i,c)=>({node:i.node,position:jS(i,c){var o,n;const a=t.getBoundingClientRect(),i=t.ownerDocument,c=i.documentElement,d=i.defaultView;return{top:a.top+((o=d?.scrollY)!==null&&o!==void 0?o:0)-c.clientTop,left:a.left+((n=d?.scrollX)!==null&&n!==void 0?n:0)-c.clientLeft}},yk=t=>({target:t,srcElement:t}),$S=(t,o,n,a)=>{const i=((c,d)=>{const u=(f=>{const y=TS(),v=(k=>{const E=k;return V.from(E[Vh])})(f);return ES(f),rz(y),y.dropEffect=f.dropEffect,y.effectAllowed=f.effectAllowed,(k=>{const E=k;return V.from(E[Fy])})(f).each(k=>y.setDragImage(k.image,k.x,k.y)),Se(f.types,k=>{k!=="Files"&&y.setData(k,f.getData(k))}),Se(f.files,k=>y.items.add(k)),(k=>{const E=k;return V.from(E[dk])})(f).each(k=>{((E,B)=>{Q0(B)(E)})(y,k)}),v.each(k=>{sz(f,k),sz(y,k)}),y})(c);return d==="dragstart"?(rz(u),iz(u)):d==="drop"?(az(u),ES(u)):(RO(u),FO(u)),u})(n,t);return fo(a)?((c,d,u)=>{const f=Mt("Function not supported on simulated event.");return{bubbles:!0,cancelBubble:!1,cancelable:!0,composed:!1,currentTarget:null,defaultPrevented:!1,eventPhase:0,isTrusted:!0,returnValue:!1,timeStamp:0,type:c,composedPath:f,initEvent:f,preventDefault:$t,stopImmediatePropagation:$t,stopPropagation:$t,AT_TARGET:window.Event.AT_TARGET,BUBBLING_PHASE:window.Event.BUBBLING_PHASE,CAPTURING_PHASE:window.Event.CAPTURING_PHASE,NONE:window.Event.NONE,altKey:!1,button:0,buttons:0,clientX:0,clientY:0,ctrlKey:!1,metaKey:!1,movementX:0,movementY:0,offsetX:0,offsetY:0,pageX:0,pageY:0,relatedTarget:null,screenX:0,screenY:0,shiftKey:!1,x:0,y:0,detail:0,view:null,which:0,initUIEvent:f,initMouseEvent:f,getModifierState:f,dataTransfer:u,...yk(d)}})(t,o,i):((c,d,u,f)=>({...d,dataTransfer:f,type:c,...yk(u)}))(t,a,o,i)},vk=Oa,Tz=((...t)=>o=>{for(let n=0;n{const i=t.dom,c=o.cloneNode(!0);i.setStyles(c,{width:n,height:a}),i.setAttrib(c,"data-mce-selected",null);const d=i.create("div",{class:"mce-drag-container","data-mce-bogus":"all",unselectable:"on",contenteditable:"false"});return i.setStyles(d,{position:"absolute",opacity:.5,overflow:"hidden",border:0,padding:0,margin:0,width:n,height:a}),i.setStyles(c,{margin:0,boxSizing:"border-box"}),d.appendChild(c),d},jy=(t,o)=>n=>()=>{const a=t==="left"?n.scrollX:n.scrollY;n.scroll({[t]:a+o,behavior:"smooth"})},Az=jy("left",-32),US=jy("left",32),xk=jy("top",-32),ZS=jy("top",32),qS=t=>{t&&t.parentNode&&t.parentNode.removeChild(t)},_f=(t,o,n,a,i)=>{o==="dragstart"&&zS(a,t.dom.getOuterHTML(n));const c=$S(o,n,a,i);return t.dispatch(o,c)},Oz=(t,o)=>{const n=Ep((i,c)=>((d,u,f)=>{d._selectionOverrides.hideFakeCaret(),VS(d.getBody(),u,f).fold(()=>d.selection.placeCaretAt(u,f),y=>{const v=d._selectionOverrides.showCaret(1,y.node,y.position===Hy.Before,!1);v?d.selection.setRng(v):d.selection.placeCaretAt(u,f)})})(o,i,c),0);o.on("remove",n.cancel);const a=t;return i=>t.on(c=>{const d=Math.max(Math.abs(i.screenX-c.screenX),Math.abs(i.screenY-c.screenY));if(!c.dragging&&d>10){const y=_f(o,"dragstart",c.element,c.dataTransfer,i);if(Ze(y.dataTransfer)&&(c.dataTransfer=y.dataTransfer),y.isDefaultPrevented())return;c.dragging=!0,o.focus()}if(c.dragging){const y=i.currentTarget===o.getDoc().documentElement,v=((k,E)=>({pageX:E.pageX-k.relX,pageY:E.pageY+5}))(c,((k,E)=>{return B=(M=>M.inline?bk(M.getBody()):{left:0,top:0})(k),O=(M=>{const j=M.getBody();return M.inline?{left:j.scrollLeft,top:j.scrollTop}:{left:0,top:0}})(k),P=((M,j)=>{if(j.target.ownerDocument!==M.getDoc()){const q=bk(M.getContentAreaContainer()),K=(re=>{const ee=re.getBody(),ke=re.getDoc().documentElement,et={left:ee.scrollLeft,top:ee.scrollTop},st={left:ee.scrollLeft||ke.scrollLeft,top:ee.scrollTop||ke.scrollTop};return re.inline?et:st})(M);return{left:j.pageX-q.left+K.left,top:j.pageY-q.top+K.top}}return{left:j.pageX,top:j.pageY}})(k,E),{pageX:P.left-B.left+O.left,pageY:P.top-B.top+O.top};var B,O,P})(o,i));u=c.ghost,f=o.getBody(),u.parentNode!==f&&f.appendChild(u),((k,E,B,O,P,M,j,q,K,re,ee,ke)=>{let et=0,st=0;k.style.left=E.pageX+"px",k.style.top=E.pageY+"px",E.pageX+B>P&&(et=E.pageX+B-P),E.pageY+O>M&&(st=E.pageY+O-M),k.style.width=B-et+"px",k.style.height=O-st+"px";const mt=K.clientHeight,kt=K.clientWidth,Ve=j+K.getBoundingClientRect().top,ot=q+K.getBoundingClientRect().left;ee.on(pt=>{pt.intervalId.clear(),pt.dragging&&ke&&(j+8>=mt?pt.intervalId.set(ZS(re)):j-8<=0?pt.intervalId.set(xk(re)):q+8>=kt?pt.intervalId.set(US(re)):q-8<=0?pt.intervalId.set(Az(re)):Ve+16>=window.innerHeight?pt.intervalId.set(ZS(window)):Ve-16<=0?pt.intervalId.set(xk(window)):ot+16>=window.innerWidth?pt.intervalId.set(US(window)):ot-16<=0&&pt.intervalId.set(Az(window)))})})(c.ghost,v,c.width,c.height,c.maxX,c.maxY,i.clientY,i.clientX,o.getContentAreaContainer(),o.getWin(),a,y),n.throttle(i.clientX,i.clientY)}var u,f})},WS=(t,o,n)=>{t.on(a=>{a.intervalId.clear(),a.dragging&&n.fold(()=>_f(o,"dragend",a.element,a.dataTransfer),i=>_f(o,"dragend",a.element,a.dataTransfer,i))}),Nz(t)},Nz=t=>{t.on(o=>{o.intervalId.clear(),qS(o.ghost)}),t.clear()},qO=t=>{const o=Ec(),n=wr.DOM,a=document,i=((f,y)=>v=>{if((k=>k.button===0)(v)){const k=Fe(y.dom.getParents(v.target),Tz).getOr(null);if(Ze(k)&&((E,B,O)=>vk(O)&&O!==B&&E.isEditable(O.parentElement))(y.dom,y.getBody(),k)){const E=y.dom.getPos(k),B=y.getBody(),O=y.getDoc().documentElement;f.set({element:k,dataTransfer:TS(),dragging:!1,screenX:v.screenX,screenY:v.screenY,maxX:(y.inline?B.scrollWidth:O.offsetWidth)-2,maxY:(y.inline?B.scrollHeight:O.offsetHeight)-2,relX:v.pageX-E.x,relY:v.pageY-E.y,width:k.offsetWidth,height:k.offsetHeight,ghost:zz(y,k,k.offsetWidth,k.offsetHeight),intervalId:Lu(100)})}}})(o,t),c=Oz(o,t),d=((f,y)=>v=>{f.on(k=>{var E;if(k.intervalId.clear(),k.dragging){if(((B,O,P)=>!me(O)&&O!==P&&!B.dom.isChildOf(O,P)&&B.dom.isEditable(O))(y,(B=>{const O=B.getSel();if(Ze(O)){const P=O.getRangeAt(0).startContainer;return ao(P)?P.parentNode:P}return null})(y.selection),k.element)){const B=(E=y.getDoc().elementFromPoint(v.clientX,v.clientY))!==null&&E!==void 0?E:y.getBody();_f(y,"drop",B,k.dataTransfer,v).isDefaultPrevented()||y.undoManager.transact(()=>{((O,P)=>{const M=O.getParent(P.parentNode,O.isBlock);qS(P),M&&M!==O.getRoot()&&O.isEmpty(M)&&Oi(je(M))})(y.dom,k.element),(O=>{const P=O.getData("text/html");return P===""?V.none():V.some(P)})(k.dataTransfer).each(O=>y.insertContent(O)),y._selectionOverrides.hideFakeCaret()})}_f(y,"dragend",y.getBody(),k.dataTransfer,v)}}),Nz(f)})(o,t),u=((f,y)=>v=>WS(f,y,V.some(v)))(o,t);t.on("mousedown",i),t.on("mousemove",c),t.on("mouseup",d),n.bind(a,"mousemove",c),n.bind(a,"mouseup",u),t.on("remove",()=>{n.unbind(a,"mousemove",c),n.unbind(a,"mouseup",u)}),t.on("keydown",f=>{f.keyCode===mn.ESC&&WS(o,t,V.none())})},tv=Oa,Mz=(t,o)=>Zu(t.getBody(),o),WO=t=>{const o=t.selection,n=t.dom,a=t.getBody(),i=Db(t,a,n.isBlock,()=>rf(t)),c="sel-"+n.uniqueId(),d="data-mce-selected";let u;const f=M=>M!==a&&(tv(M)||$i(M))&&n.isChildOf(M,a)&&n.isEditable(M.parentNode),y=(M,j,q,K=!0)=>t.dispatch("ShowCaret",{target:j,direction:M,before:q}).isDefaultPrevented()?null:(K&&o.scrollIntoView(j,M===-1),i.show(q,j)),v=M=>Ws(M)||ai(M)||z(M),k=M=>v(M.startContainer)||v(M.endContainer),E=M=>{const j=t.schema.getVoidElements(),q=n.createRng(),K=M.startContainer,re=M.startOffset,ee=M.endContainer,ke=M.endOffset;return ln(j,K.nodeName.toLowerCase())?re===0?q.setStartBefore(K):q.setStartAfter(K):q.setStart(K,re),ln(j,ee.nodeName.toLowerCase())?ke===0?q.setEndBefore(ee):q.setEndAfter(ee):q.setEnd(ee,ke),q},B=(M,j)=>{if(!M)return null;if(M.collapsed){if(!k(M)){const ee=j?1:-1,ke=xm(ee,a,M),et=ke.getNode(!j);if(Ze(et)){if(lu(et))return y(ee,et,!!j&&!ke.isAtEnd(),!1);if(bs(et)&&Oa(et.nextSibling)){const mt=n.createRng();return mt.setStart(et,0),mt.setEnd(et,0),mt}}const st=ke.getNode(j);if(Ze(st)){if(lu(st))return y(ee,st,!j&&!ke.isAtEnd(),!1);if(bs(st)&&Oa(st.previousSibling)){const mt=n.createRng();return mt.setStart(st,1),mt.setEnd(st,1),mt}}}return null}let q=M.startContainer,K=M.startOffset;const re=M.endOffset;if(ao(q)&&K===0&&tv(q.parentNode)&&(q=q.parentNode,K=n.nodeIndex(q),q=q.parentNode),!rn(q))return null;if(re===K+1&&q===M.endContainer){const ee=q.childNodes[K];if(f(ee))return(ke=>{const et=ke.cloneNode(!0),st=t.dispatch("ObjectSelected",{target:ke,targetClone:et});if(st.isDefaultPrevented())return null;const mt=((Ve,ot)=>{const pt=je(t.getBody()),Jt=t.getDoc(),Qo=fd(pt,"#"+c).getOrThunk(()=>{const An=ic('
    ',Jt);return Q(An,"id",c),os(pt,An),An}),Fo=n.createRng();bd(Qo),dc(Qo,[vc(ns,Jt),je(ot),vc(ns,Jt)]),Fo.setStart(Qo.dom.firstChild,1),Fo.setEnd(Qo.dom.lastChild,0),qd(Qo,{top:n.getPos(Ve,t.getBody()).y+"px"}),X3(Qo);const Nn=o.getSel();return Nn&&(Nn.removeAllRanges(),Nn.addRange(Fo)),Fo})(ke,st.targetClone),kt=je(ke);return Se(wa(je(t.getBody()),`*[${d}]`),Ve=>{sa(kt,Ve)||U(Ve,d)}),n.getAttrib(ke,d)||ke.setAttribute(d,"1"),u=ke,P(),mt})(ee)}return null},O=()=>{u&&u.removeAttribute(d),fd(je(t.getBody()),"#"+c).each(Ea),u=null},P=()=>{i.hide()};return Tm(t)||(t.on("click",M=>{n.isEditable(M.target)||(M.preventDefault(),t.focus())}),t.on("blur NewBlock",O),t.on("ResizeWindow FullscreenStateChanged",i.reposition),t.on("tap",M=>{const j=M.target,q=Mz(t,j);tv(q)?(M.preventDefault(),C0(t,q).each(B)):f(j)&&C0(t,j).each(B)},!0),t.on("mousedown",M=>{const j=M.target;if(j!==a&&j.nodeName!=="HTML"&&!n.isChildOf(j,a)||!((K,re,ee)=>{const ke=je(K.getBody()),et=K.inline?ke:je(Si(ke).dom.documentElement),st=((mt,kt,Ve,ot)=>{const pt=(Jt=>Jt.dom.getBoundingClientRect())(kt);return{x:Ve-(mt?pt.left+kt.dom.clientLeft+J2(kt):0),y:ot-(mt?pt.top+kt.dom.clientTop+k0(kt):0)}})(K.inline,et,re,ee);return((mt,kt,Ve)=>{const ot=kE(mt),pt=_E(mt);return kt>=0&&Ve>=0&&kt<=ot&&Ve<=pt})(et,st.x,st.y)})(t,M.clientX,M.clientY))return;O(),P();const q=Mz(t,j);tv(q)?(M.preventDefault(),C0(t,q).each(B)):VS(a,M.clientX,M.clientY).each(K=>{var re;M.preventDefault(),(re=y(1,K.node,K.position===Hy.Before,!1))&&o.setRng(re),Ti(q)?q.focus():t.getBody().focus()})}),t.on("keypress",M=>{mn.modifierPressed(M)||tv(o.getNode())&&M.preventDefault()}),t.on("GetSelectionRange",M=>{let j=M.range;if(u){if(!u.parentNode)return void(u=null);j=j.cloneRange(),j.selectNode(u),M.range=j}}),t.on("SetSelectionRange",M=>{M.range=E(M.range);const j=B(M.range,M.forward);j&&(M.range=j)}),t.on("AfterSetSelectionRange",M=>{const j=M.range,q=j.startContainer.parentElement;var K;k(j)||rn(K=q)&&K.id==="mcepastebin"||P(),(re=>Ze(re)&&n.hasClass(re,"mce-offscreen-selection"))(q)||O()}),(M=>{qO(M),p1(M)&&(j=>{const q=ee=>{if(!ee.isDefaultPrevented()){const ke=ee.dataTransfer;ke&&(lo(ke.types,"Files")||ke.files.length>0)&&(ee.preventDefault(),ee.type==="drop"&&hu(j,"Dropped file type is not supported"))}},K=ee=>{lx(j,ee.target)&&q(ee)},re=()=>{const ee=wr.DOM,ke=j.dom,et=document,st=j.inline?j.getBody():j.getDoc(),mt=["drop","dragover"];Se(mt,kt=>{ee.bind(et,kt,K),ke.bind(st,kt,q)}),j.on("remove",()=>{Se(mt,kt=>{ee.unbind(et,kt,K),ke.unbind(st,kt,q)})})};j.on("init",()=>{uu.setEditorTimeout(j,re,0)})})(M)})(t),(M=>{const j=Ep(()=>{if(!M.removed&&M.getBody().contains(document.activeElement)){const q=M.selection.getRng();if(q.collapsed){const K=S0(M,q,!1);M.selection.setRng(K)}}},0);M.on("focus",()=>{j.throttle()}),M.on("blur",()=>{j.cancel()})})(t),(M=>{M.on("init",()=>{M.on("focusin",j=>{const q=j.target;if($i(q)){const K=Zu(M.getBody(),q),re=Oa(K)?K:q;M.selection.getNode()!==re&&C0(M,re).each(ee=>M.selection.setRng(ee))}})})})(t)),{showCaret:y,showBlockCaretContainer:M=>{M.hasAttribute("data-mce-caret")&&(H(M),o.scrollIntoView(M))},hideFakeCaret:P,destroy:()=>{i.destroy(),u=null}}},di=(t,o)=>{let n=o;for(let a=t.previousSibling;ao(a);a=a.previousSibling)n+=a.data.length;return n},wk=(t,o,n,a,i)=>{if(ao(n)&&(a<0||a>n.data.length))return[];const c=i&&ao(n)?[di(n,a)]:[a];let d=n;for(;d!==o&&d.parentNode;)c.push(t.nodeIndex(d,i)),d=d.parentNode;return d===o?c.reverse():[]},Qu=(t,o,n,a,i,c,d=!1)=>({start:wk(t,o,n,a,d),end:wk(t,o,i,c,d)}),GS=(t,o)=>{const n=o.slice(),a=n.pop();return rt(a)?Oe(n,(i,c)=>i.bind(d=>V.from(d.childNodes[c])),V.some(t)).bind(i=>ao(i)&&(a<0||a>i.data.length)?V.none():V.some({node:i,offset:a})):V.none()},KS=(t,o)=>GS(t,o.start).bind(({node:n,offset:a})=>GS(t,o.end).map(({node:i,offset:c})=>{const d=document.createRange();return d.setStart(n,a),d.setEnd(i,c),d})),mp=(t,o,n)=>{if(o&&t.isEmpty(o)&&!n(o)){const a=o.parentNode;t.remove(o,ao(o.firstChild)&&ss(o.firstChild.data)),mp(t,a,n)}},Vy=(t,o,n,a=!0)=>{const i=o.startContainer.parentNode,c=o.endContainer.parentNode;o.deleteContents(),a&&!n(o.startContainer)&&(ao(o.startContainer)&&o.startContainer.data.length===0&&t.remove(o.startContainer),ao(o.endContainer)&&o.endContainer.data.length===0&&t.remove(o.endContainer),mp(t,i,n),i!==c&&mp(t,c,n))},kk=(t,o)=>V.from(t.dom.getParent(o.startContainer,t.dom.isBlock)),YS=(t,o,n)=>{const a=t.dynamicPatternsLookup({text:n,block:o});return{...t,blockPatterns:Bp(a).concat(t.blockPatterns),inlinePatterns:wv(a).concat(t.inlinePatterns)}},XS=(t,o,n,a)=>{const i=t.createRng();return i.setStart(o,0),i.setEnd(n,a),i.toString()},Dz=(t,o,n)=>{((a,i,c)=>{if(ao(a)&&0>=a.length)return V.some(Am(a,0));{const d=um(L0);return V.from(d.forwards(a,0,Fw(a),c)).map(u=>Am(u.container,0))}})(o,0,o).each(a=>{const i=a.container;qC(i,n.start.length,o).each(u=>{const f=t.createRng();f.setStart(i,0),f.setEnd(u.container,u.offset),Vy(t,f,y=>y===o)});const c=je(i),d=Ai(c);/^\s[^\s]/.test(d)&&((u,f)=>{ft.set(u,f)})(c,d.slice(1))})},Rz=(t,o)=>t.create("span",{"data-mce-type":"bookmark",id:o}),_k=(t,o)=>{const n=t.createRng();return n.setStartAfter(o.start),n.setEndBefore(o.end),n},JS=(t,o,n)=>{const a=KS(t.getRoot(),n).getOrDie("Unable to resolve path range"),i=a.startContainer,c=a.endContainer,d=a.endOffset===0?c:c.splitText(a.endOffset),u=a.startOffset===0?i:i.splitText(a.startOffset),f=u.parentNode;return{prefix:o,end:d.parentNode.insertBefore(Rz(t,o+"-end"),d),start:f.insertBefore(Rz(t,o+"-start"),u)}},QS=(t,o,n)=>{mp(t,t.get(o.prefix+"-end"),n),mp(t,t.get(o.prefix+"-start"),n)},e3=t=>t.start.length===0,Ck=(t,o,n,a)=>{const i=o.start;var c;return Iw(t,a.container,a.offset,(c=i,(d,u)=>{const f=d.data.substring(0,u),y=f.lastIndexOf(c.charAt(c.length-1)),v=f.lastIndexOf(c);return v!==-1?v+c.length:y!==-1?y+1:-1}),n).bind(d=>{var u,f;const y=(f=(u=n.textContent)===null||u===void 0?void 0:u.indexOf(i))!==null&&f!==void 0?f:-1;if(y!==-1&&d.offset>=y+i.length){const v=t.createRng();return v.setStart(d.container,d.offset-i.length),v.setEnd(d.container,d.offset),V.some(v)}{const v=d.offset-i.length;return Lw(d.container,v,n).map(k=>{const E=t.createRng();return E.setStart(k.container,k.offset),E.setEnd(d.container,d.offset),E}).filter(k=>k.toString()===i).orThunk(()=>Ck(t,o,n,Am(d.container,0)))}})},Bz=(t,o,n,a)=>{const i=t.dom,c=i.getRoot(),d=n.pattern,u=n.position.container,f=n.position.offset;return Lw(u,f-n.pattern.end.length,o).bind(y=>{const v=Qu(i,c,y.container,y.offset,u,f,a);if(e3(d))return V.some({matches:[{pattern:d,startRng:v,endRng:v}],position:y});{const k=Sk(t,n.remainingPatterns,y.container,y.offset,o,a),E=k.getOr({matches:[],position:y}),B=E.position;return((P,M,j,q,K,re=!1)=>{if(M.start.length===0&&!re){const ee=P.createRng();return ee.setStart(j,q),ee.setEnd(j,q),V.some(ee)}return vf(j,q,K).bind(ee=>Ck(P,M,K,ee).bind(ke=>{var et;return re&&(ke.endContainer===ee.container&&ke.endOffset===ee.offset||ee.offset===0&&((et=ke.endContainer.textContent)===null||et===void 0?void 0:et.length)===ke.endOffset)?V.none():V.some(ke)}))})(i,d,B.container,B.offset,o,k.isNone()).map(P=>{const M=((j,q,K,re=!1)=>Qu(j,q,K.startContainer,K.startOffset,K.endContainer,K.endOffset,re))(i,c,P,a);return{matches:E.matches.concat([{pattern:d,startRng:M,endRng:v}]),position:Am(P.startContainer,P.startOffset)}})}})},Sk=(t,o,n,a,i,c)=>{const d=t.dom;return vf(n,a,d.getRoot()).bind(u=>{const f=XS(d,i,n,a);for(let y=0;y0)return Sk(t,o,n,a-1,i,c);if(E.isSome())return E}return V.none()})},t3=(t,o,n)=>{t.selection.setRng(n),o.type==="inline-format"?Se(o.format,a=>{t.formatter.apply(a)}):t.execCommand(o.cmd,!1,o.value)},Fz=(t,o,n,a,i,c)=>{var d;return((u,f)=>{const y=ze(u,v=>To(f,k=>v.pattern.start===k.pattern.start&&v.pattern.end===k.pattern.end));return u.length===f.length?y?u:f:u.length>f.length?u:f})(Sk(t,i.inlinePatterns,n,a,o,c).fold(()=>[],u=>u.matches),Sk(t,(d=i.inlinePatterns,Xo(d,(u,f)=>f.end.length-u.end.length)),n,a,o,c).fold(()=>[],u=>u.matches))},Lz=(t,o)=>{if(o.length===0)return;const n=t.dom,a=t.selection.getBookmark(),i=((c,d)=>{const u=hg("mce_textpattern"),f=pe(d,(y,v)=>{const k=JS(c,u+`_end${y.length}`,v.endRng);return y.concat([{...v,endMarker:k}])},[]);return pe(f,(y,v)=>{const k=f.length-y.length-1,E=e3(v.pattern)?v.endMarker:JS(c,u+`_start${k}`,v.startRng);return y.concat([{...v,startMarker:E}])},[])})(n,o);Se(i,c=>{const d=n.getParent(c.startMarker.start,n.isBlock),u=f=>f===d;e3(c.pattern)?((f,y,v,k)=>{const E=_k(f.dom,v);Vy(f.dom,E,k),t3(f,y,E)})(t,c.pattern,c.endMarker,u):((f,y,v,k,E)=>{const B=f.dom,O=_k(B,k),P=_k(B,v);Vy(B,P,E),Vy(B,O,E);const M={prefix:v.prefix,start:v.end,end:k.start},j=_k(B,M);t3(f,y,j)})(t,c.pattern,c.startMarker,c.endMarker,u),QS(n,c.endMarker,u),QS(n,c.startMarker,u)}),t.selection.moveToBookmark(a)},ac=(t,o)=>{const n=t.selection.getRng();return kk(t,n).map(a=>{var i;const c=Math.max(0,n.startOffset),d=YS(o,a,(i=a.textContent)!==null&&i!==void 0?i:""),u=Fz(t,a,n.startContainer,c,d,!0),f=((y,v,k,E)=>{var B;const O=y.dom,P=Ts(y);if(!O.is(v,P))return[];const M=(B=v.textContent)!==null&&B!==void 0?B:"";return((j,q)=>{const K=(ee=>Xo(ee,(ke,et)=>et.start.length-ke.start.length))(j),re=q.replace(ns," ");return Fe(K,ee=>q.indexOf(ee.start)===0||re.indexOf(ee.start)===0)})(k.blockPatterns,M).map(j=>go.trim(M).length===j.start.length?[]:[{pattern:j,range:Qu(O,O.getRoot(),v,0,v,0,!0)}]).getOr([])})(t,a,d);return(f.length>0||u.length>0)&&(t.undoManager.add(),t.undoManager.extra(()=>{t.execCommand("mceInsertNewLine")},()=>{(k=>{k.insertContent(Za,{preserve_zwsp:!0})})(t),Lz(t,u),((k,E)=>{if(E.length===0)return;const B=k.selection.getBookmark();Se(E,O=>((P,M)=>{const j=P.dom,q=M.pattern,K=KS(j.getRoot(),M.range).getOrDie("Unable to resolve path range");return kk(P,K).each(re=>{q.type==="block-format"?((ee,ke)=>{const et=ke.get(ee);return co(et)&&Zo(et).exists(st=>ln(st,"block"))})(q.format,P.formatter)&&P.undoManager.transact(()=>{Dz(P.dom,re,q),P.formatter.apply(q.format)}):q.type==="block-command"&&P.undoManager.transact(()=>{Dz(P.dom,re,q),P.execCommand(q.cmd,!1,q.value)})}),!0})(k,O)),k.selection.moveToBookmark(B)})(t,f);const y=t.selection.getRng(),v=vf(y.startContainer,y.startOffset,t.dom.getRoot());t.execCommand("mceInsertNewLine"),v.each(k=>{const E=k.container;E.data.charAt(k.offset-1)===Tl&&(E.deleteData(k.offset-1,1),mp(t.dom,E.parentNode,B=>B===t.dom.getRoot()))})}),!0)}).getOr(!1)},Iz=(t,o,n)=>{for(let a=0;a{const o=go.each,n=mn.BACKSPACE,a=mn.DELETE,i=t.dom,c=t.selection,d=t.parser,u=Rn.browser,f=u.isFirefox(),y=u.isChromium()||u.isSafari(),v=Rn.deviceType.isiPhone()||Rn.deviceType.isiPad(),k=Rn.os.isMacOS()||Rn.os.isiOS(),E=(Ve,ot)=>{try{t.getDoc().execCommand(Ve,!1,String(ot))}catch{}},B=Ve=>Ve.isDefaultPrevented(),O=()=>{t.shortcuts.add("meta+a",null,"SelectAll")},P=()=>{t.inline||i.bind(t.getDoc(),"mousedown mouseup",Ve=>{let ot;if(Ve.target===t.getDoc().documentElement)if(ot=c.getRng(),t.getBody().focus(),Ve.type==="mousedown"){if(Ws(ot.startContainer))return;c.placeCaretAt(Ve.clientX,Ve.clientY)}else c.setRng(ot)})},M=()=>{Range.prototype.getClientRects||t.on("mousedown",Ve=>{if(!B(Ve)&&Ve.target.nodeName==="HTML"){const ot=t.getBody();ot.blur(),uu.setEditorTimeout(t,()=>{ot.focus()})}})},j=()=>{const Ve=rh(t);t.on("click",ot=>{const pt=ot.target;/^(IMG|HR)$/.test(pt.nodeName)&&i.isEditable(pt)&&(ot.preventDefault(),t.selection.select(pt),t.nodeChanged()),pt.nodeName==="A"&&i.hasClass(pt,Ve)&&pt.childNodes.length===0&&i.isEditable(pt.parentNode)&&(ot.preventDefault(),c.select(pt))})},q=()=>{t.on("keydown",Ve=>{if(!B(Ve)&&Ve.keyCode===n&&c.isCollapsed()&&c.getRng().startOffset===0){const ot=c.getNode().previousSibling;if(ot&&ot.nodeName&&ot.nodeName.toLowerCase()==="table")return Ve.preventDefault(),!1}return!0})},K=()=>{nh(t)||t.on("BeforeExecCommand mousedown",()=>{E("StyleWithCSS",!1),E("enableInlineTableEditing",!1),th(t)||E("enableObjectResizing",!1)})},re=()=>{t.contentStyles.push("img:-moz-broken {-moz-force-broken-image-icon:1;min-width:24px;min-height:24px}")},ee=()=>{t.inline||t.on("keydown",()=>{document.activeElement===document.body&&t.getWin().focus()})},ke=()=>{t.inline||(t.contentStyles.push("body {min-height: 150px}"),t.on("click",Ve=>{let ot;Ve.target.nodeName==="HTML"&&(ot=t.selection.getRng(),t.getBody().focus(),t.selection.setRng(ot),t.selection.normalize(),t.nodeChanged())}))},et=()=>{k&&t.on("keydown",Ve=>{!mn.metaKeyPressed(Ve)||Ve.shiftKey||Ve.keyCode!==37&&Ve.keyCode!==39||(Ve.preventDefault(),t.selection.getSel().modify("move",Ve.keyCode===37?"backward":"forward","lineboundary"))})},st=()=>{t.on("click",Ve=>{let ot=Ve.target;do if(ot.tagName==="A")return void Ve.preventDefault();while(ot=ot.parentNode)}),t.contentStyles.push(".mce-content-body {-webkit-touch-callout: none}")},mt=()=>{t.on("init",()=>{t.dom.bind(t.getBody(),"submit",Ve=>{Ve.preventDefault()})})},kt=$t;return Tm(t)?(y&&(P(),j(),mt(),O(),v&&(ee(),ke(),st())),f&&(M(),K(),re(),et())):(t.on("keydown",Ve=>{if(B(Ve)||Ve.keyCode!==mn.BACKSPACE)return;let ot=c.getRng();const pt=ot.startContainer,Jt=ot.startOffset,Qo=i.getRoot();let Fo=pt;if(ot.collapsed&&Jt===0){for(;Fo.parentNode&&Fo.parentNode.firstChild===Fo&&Fo.parentNode!==Qo;)Fo=Fo.parentNode;Fo.nodeName==="BLOCKQUOTE"&&(t.formatter.toggle("blockquote",void 0,Fo),ot=i.createRng(),ot.setStart(pt,0),ot.setEnd(pt,0),c.setRng(ot))}}),(()=>{const Ve=ot=>{const pt=i.create("body"),Jt=ot.cloneContents();return pt.appendChild(Jt),c.serializer.serialize(pt,{format:"html"})};t.on("keydown",ot=>{const pt=ot.keyCode;if(!B(ot)&&(pt===a||pt===n)&&t.selection.isEditable()){const Jt=t.selection.isCollapsed(),Qo=t.getBody();if(Jt&&!ys(je(Qo))||!Jt&&!(Fo=>{const Nn=Ve(Fo),An=i.createRng();return An.selectNode(t.getBody()),Nn===Ve(An)})(t.selection.getRng()))return;ot.preventDefault(),t.setContent(""),Qo.firstChild&&i.isBlock(Qo.firstChild)?t.selection.setCursorLocation(Qo.firstChild,0):t.selection.setCursorLocation(Qo,0),t.nodeChanged()}})})(),Rn.windowsPhone||t.on("keyup focusin mouseup",Ve=>{mn.modifierPressed(Ve)||(ot=>{const pt=ot.getBody(),Jt=ot.selection.getRng();return Jt.startContainer===Jt.endContainer&&Jt.startContainer===pt&&Jt.startOffset===0&&Jt.endOffset===pt.childNodes.length})(t)||c.normalize()},!0),y&&(P(),j(),t.on("init",()=>{E("DefaultParagraphSeparator",Ts(t))}),mt(),q(),d.addNodeFilter("br",Ve=>{let ot=Ve.length;for(;ot--;)Ve[ot].attr("class")==="Apple-interchange-newline"&&Ve[ot].remove()}),v?(ee(),ke(),st()):O()),f&&(t.on("keydown",Ve=>{if(!B(Ve)&&Ve.keyCode===n){if(!t.getBody().getElementsByTagName("hr").length)return;if(c.isCollapsed()&&c.getRng().startOffset===0){const ot=c.getNode(),pt=ot.previousSibling;if(ot.nodeName==="HR")return i.remove(ot),void Ve.preventDefault();pt&&pt.nodeName&&pt.nodeName.toLowerCase()==="hr"&&(i.remove(pt),Ve.preventDefault())}}}),M(),(()=>{const Ve=()=>{const pt=i.getAttribs(c.getStart().cloneNode(!1));return()=>{const Jt=c.getStart();Jt!==t.getBody()&&(i.setAttrib(Jt,"style",null),o(pt,Qo=>{Jt.setAttributeNode(Qo.cloneNode(!0))}))}},ot=()=>!c.isCollapsed()&&i.getParent(c.getStart(),i.isBlock)!==i.getParent(c.getEnd(),i.isBlock);t.on("keypress",pt=>{let Jt;return!(!(B(pt)||pt.keyCode!==8&&pt.keyCode!==46)&&ot()&&(Jt=Ve(),t.getDoc().execCommand("delete",!1),Jt(),pt.preventDefault(),1))}),i.bind(t.getDoc(),"cut",pt=>{if(!B(pt)&&ot()){const Jt=Ve();uu.setEditorTimeout(t,()=>{Jt()})}})})(),K(),t.on("SetContent ExecCommand",Ve=>{Ve.type!=="setcontent"&&Ve.command!=="mceInsertLink"||o(i.select("a:not([data-mce-block])"),ot=>{var pt;let Jt=ot.parentNode;const Qo=i.getRoot();if(Jt?.lastChild===ot){for(;Jt&&!i.isBlock(Jt);){if(((pt=Jt.parentNode)===null||pt===void 0?void 0:pt.lastChild)!==Jt||Jt===Qo)return;Jt=Jt.parentNode}i.add(Jt,"br",{"data-mce-bogus":1})}})}),re(),et(),q(),t.on("drop",Ve=>{var ot;const pt=(ot=Ve.dataTransfer)===null||ot===void 0?void 0:ot.getData("text/html");Ue(pt)&&/^]*>$/.test(pt)&&t.dispatch("dragend",new window.DragEvent("dragend",Ve))}))),{refreshContentEditable:kt,isHidden:()=>{if(!f||t.removed)return!1;const Ve=t.selection.getSel();return!Ve||!Ve.rangeCount||Ve.rangeCount===0}}},o3=wr.DOM,KO=t=>t.inline?t.getElement().nodeName.toLowerCase():void 0,$y=t=>Rr(t,o=>fo(o)===!1),Pz=t=>{const o=t.options.get,n=t.editorUpload.blobCache;return $y({allow_conditional_comments:o("allow_conditional_comments"),allow_html_data_urls:o("allow_html_data_urls"),allow_svg_data_urls:o("allow_svg_data_urls"),allow_html_in_named_anchor:o("allow_html_in_named_anchor"),allow_script_urls:o("allow_script_urls"),allow_unsafe_link_target:o("allow_unsafe_link_target"),convert_unsafe_embeds:o("convert_unsafe_embeds"),convert_fonts_to_spans:o("convert_fonts_to_spans"),fix_list_elements:o("fix_list_elements"),font_size_legacy_values:o("font_size_legacy_values"),forced_root_block:o("forced_root_block"),forced_root_block_attrs:o("forced_root_block_attrs"),preserve_cdata:o("preserve_cdata"),inline_styles:o("inline_styles"),root_name:KO(t),sandbox_iframes:o("sandbox_iframes"),sanitize:o("xss_sanitization"),validate:!0,blob_cache:n,document:t.getDoc()})},Ek=t=>{const o=t.options.get;return $y({custom_elements:o("custom_elements"),extended_valid_elements:o("extended_valid_elements"),invalid_elements:o("invalid_elements"),invalid_styles:o("invalid_styles"),schema:o("schema"),valid_children:o("valid_children"),valid_classes:o("valid_classes"),valid_elements:o("valid_elements"),valid_styles:o("valid_styles"),verify_html:o("verify_html"),padd_empty_block_inline_children:o("format_empty_lines")})},ov=t=>t.inline?t.ui.styleSheetLoader:t.dom.styleSheetLoader,Hz=t=>{const o=ov(t),n=xg(t),a=t.contentCSS,i=()=>{o.unloadAll(a),t.inline||t.ui.styleSheetLoader.unloadAll(n)},c=()=>{t.removed?i():t.on("remove",i)};if(t.contentStyles.length>0){let f="";go.each(t.contentStyles,y=>{f+=y+`\r +`}),t.dom.addStyle(f)}const d=Promise.all(((f,y,v)=>{const{pass:k,fail:E}=ct(y,P=>tinymce.Resource.has(mw(P))),B=k.map(P=>{const M=tinymce.Resource.get(mw(P));return Ue(M)?Promise.resolve(ov(f).loadRawCss(P,M)):Promise.resolve()}),O=[...B,ov(f).loadAll(E)];return f.inline?O:O.concat([f.ui.styleSheetLoader.loadAll(v)])})(t,a,n)).then(c).catch(c),u=Ev(t);return u&&((f,y)=>{const v=je(f.getBody()),k=cc(ta(v)),E=_s("style");Q(E,"type","text/css"),os(E,vc(y)),os(k,E),f.on("remove",()=>{Ea(E)})})(t,u),d},n3=t=>{t.removed!==!0&&((o=>{Tm(o)||o.load({initial:!0,format:"html"}),o.startContent=o.getContent({format:"raw"})})(t),(o=>{o.bindPendingEventDelegates(),o.initialized=!0,(a=>{a.dispatch("Init")})(o),o.focus(!0),(a=>{const i=a.dom.getRoot();a.inline||li(a)&&a.selection.getStart(!0)!==i||Z(i).each(c=>{const d=c.getNode(),u=Ms(d)?Z(d).getOr(c):c;a.selection.setRng(u.toRange())})})(o),o.nodeChanged({initial:!0});const n=Hp(o);de(n)&&n.call(o,o),(a=>{const i=Sb(a);i&&uu.setEditorTimeout(a,()=>{let c;c=i===!0?a:a.editorManager.get(i),c&&!c.destroyed&&(c.focus(),c.selection.scrollIntoView())},100)})(o)})(t))},em=t=>{const o=t.getElement();let n=t.getDoc();t.inline&&(o3.addClass(o,"mce-content-body"),t.contentDocument=n=document,t.contentWindow=window,t.bodyElement=o,t.contentAreaContainer=o);const a=t.getBody();a.disabled=!0,t.readonly=nh(t),t._editableRoot=g1(t),!t.readonly&&t.hasEditableRoot()&&(t.inline&&o3.getStyle(a,"position",!0)==="static"&&(a.style.position="relative"),a.contentEditable="true"),a.disabled=!1,t.editorUpload=oC(t),t.schema=Du(Ek(t)),t.dom=wr(n,{keep_values:!0,url_converter:t.convertURL,url_converter_scope:t,update_styles:!0,root_element:t.inline?t.getBody():null,collect:t.inline,schema:t.schema,contentCssCors:oc(t),referrerPolicy:Hu(t),onSetAttrib:d=>{t.dispatch("SetAttrib",d)},force_hex_color:Ob(t)}),t.parser=(d=>{const u=dy(Pz(d),d.schema);return u.addAttributeFilter("src,href,style,tabindex",(f,y)=>{const v=d.dom,k="data-mce-"+y;let E=f.length;for(;E--;){const B=f[E];let O=B.attr(y);if(O&&!B.attr(k)){if(O.indexOf("data:")===0||O.indexOf("blob:")===0)continue;y==="style"?(O=v.serializeStyle(v.parseStyle(O),B.name),O.length||(O=null),B.attr(k,O),B.attr(y,O)):y==="tabindex"?(B.attr(k,O),B.attr(y,null)):B.attr(k,d.convertURL(O,y,B.name))}}}),u.addNodeFilter("script",f=>{let y=f.length;for(;y--;){const v=f[y],k=v.attr("type")||"no/type";k.indexOf("mce-")!==0&&v.attr("type","mce-"+k)}}),Ab(d)&&u.addNodeFilter("#cdata",f=>{var y;let v=f.length;for(;v--;){const k=f[v];k.type=8,k.name="#comment",k.value="[CDATA["+d.dom.encode((y=k.value)!==null&&y!==void 0?y:"")+"]]"}}),u.addNodeFilter("p,h1,h2,h3,h4,h5,h6,div",f=>{let y=f.length;const v=d.schema.getNonEmptyElements();for(;y--;){const k=f[y];k.isEmpty(v)&&k.getAll("br").length===0&&k.append(new pc("br",1))}}),u})(t),t.serializer=Xg((d=>{const u=d.options.get;return{...Pz(d),...Ek(d),...$y({remove_trailing_brs:u("remove_trailing_brs"),pad_empty_with_br:u("pad_empty_with_br"),url_converter:u("url_converter"),url_converter_scope:u("url_converter_scope"),element_format:u("element_format"),entities:u("entities"),entity_encoding:u("entity_encoding"),indent:u("indent"),indent_after:u("indent_after"),indent_before:u("indent_before")})}})(t),t),t.selection=y0(t.dom,t.getWin(),t.serializer,t),t.annotator=km(t),t.formatter=_0(t),t.undoManager=iC(t),t._nodeChangeDispatcher=new Ju(t),t._selectionOverrides=WO(t),(d=>{const u=Ec(),f=bi(!1),y=Iu(v=>{d.dispatch("longpress",{...v,type:"longpress"}),f.set(!0)},400);d.on("touchstart",v=>{RC(v).each(k=>{y.cancel();const E={x:k.clientX,y:k.clientY,target:v.target};y.throttle(v),f.set(!1),u.set(E)})},!0),d.on("touchmove",v=>{y.cancel(),RC(v).each(k=>{u.on(E=>{((B,O)=>{const P=Math.abs(B.clientX-O.x),M=Math.abs(B.clientY-O.y);return P>5||M>5})(k,E)&&(u.clear(),f.set(!1),d.dispatch("longpresscancel"))})})},!0),d.on("touchend touchcancel",v=>{y.cancel(),v.type!=="touchcancel"&&u.get().filter(k=>k.target.isEqualNode(v.target)).each(()=>{f.get()?v.preventDefault():d.dispatch("tap",{...v,type:"tap"})})},!0)})(t),(d=>{(u=>{u.on("click",f=>{u.dom.getParent(f.target,"details")&&f.preventDefault()})})(d),(u=>{u.parser.addNodeFilter("details",f=>{const y=Ag(u);Se(f,v=>{y==="expanded"?v.attr("open","open"):y==="collapsed"&&v.attr("open",null)})}),u.serializer.addNodeFilter("details",f=>{const y=i_(u);Se(f,v=>{y==="expanded"?v.attr("open","open"):y==="collapsed"&&v.attr("open",null)})})})(d)})(t),(d=>{const u="contenteditable",f=" "+go.trim(v1(d))+" ",y=" "+go.trim(zb(d))+" ",v=M0(f),k=M0(y),E=zg(d);E.length>0&&d.on("BeforeSetContent",B=>{((O,P,M)=>{let j=P.length,q=M.content;if(M.format!=="raw"){for(;j--;)q=q.replace(P[j],pT(O,q,zb(O)));M.content=q}})(d,E,B)}),d.parser.addAttributeFilter("class",B=>{let O=B.length;for(;O--;){const P=B[O];v(P)?P.attr(u,"true"):k(P)&&P.attr(u,"false")}}),d.serializer.addAttributeFilter(u,B=>{let O=B.length;for(;O--;){const P=B[O];(v(P)||k(P))&&(E.length>0&&P.attr("data-mce-content")?(P.name="#text",P.type=3,P.raw=!0,P.value=P.attr("data-mce-content")):P.attr(u,null))}})})(t),Tm(t)||((d=>{d.on("mousedown",u=>{u.detail>=3&&(u.preventDefault(),Sz(d))})})(t),(d=>{(u=>{const f=[",",".",";",":","!","?"],y=[32],v=()=>{return B=Fv(u),O=Tb(u),{inlinePatterns:wv(B),blockPatterns:Bp(B),dynamicPatternsLookup:O};var B,O},k=()=>(B=>B.options.isSet("text_patterns_lookup"))(u);u.on("keydown",B=>{if(B.keyCode===13&&!mn.modifierPressed(B)&&u.selection.isCollapsed()){const O=v();(O.inlinePatterns.length>0||O.blockPatterns.length>0||k())&&ac(u,O)&&B.preventDefault()}},!0);const E=()=>{if(u.selection.isCollapsed()){const B=v();(B.inlinePatterns.length>0||k())&&((O,P)=>{const M=O.selection.getRng();kk(O,M).map(j=>{const q=Math.max(0,M.startOffset-1),K=XS(O.dom,j,M.startContainer,q),re=YS(P,j,K),ee=Fz(O,j,M.startContainer,q,re,!1);ee.length>0&&O.undoManager.transact(()=>{Lz(O,ee)})})})(u,B)}};u.on("keyup",B=>{Iz(y,B,(O,P)=>O===P.keyCode&&!mn.modifierPressed(P))&&E()}),u.on("keypress",B=>{Iz(f,B,(O,P)=>O.charCodeAt(0)===P.charCode)&&uu.setEditorTimeout(u,E)})})(d)})(t));const i=J0(t);uT(t,i),(d=>{d.on("NodeChange",Je(og,d))})(t),(d=>{var u;const f=d.dom,y=Ts(d),v=(u=wg(d))!==null&&u!==void 0?u:"",k=(E,B)=>{if((M=>{if(lC(M)){const j=M.keyCode;return!NE(M)&&(mn.metaKeyPressed(M)||M.altKey||j>=112&&j<=123||lo(mO,j))}return!1})(E))return;const O=d.getBody(),P=!(M=>lC(M)&&!(NE(M)||M.type==="keyup"&&M.keyCode===229))(E)&&((M,j,q)=>{if(ys(je(j),!1)){const K=j.firstElementChild;return!K||!M.getStyle(j.firstElementChild,"padding-left")&&!M.getStyle(j.firstElementChild,"padding-right")&&q===K.nodeName.toLowerCase()}return!1})(f,O,y);(f.getAttrib(O,OE)!==""!==P||B)&&(f.setAttrib(O,OE,P?v:null),f.setAttrib(O,"aria-placeholder",P?v:null),((M,j)=>{M.dispatch("PlaceholderToggle",{state:j})})(d,P),d.on(P?"keydown":"keyup",k),d.off(P?"keyup":"keydown",k))};on(v)&&d.on("init",E=>{k(E,!0),d.on("change SetContent ExecCommand",k),d.on("paste",B=>uu.setEditorTimeout(d,()=>k(B)))})})(t),wz(t);const c=(d=>{const u=d;return(f=>Fn(f.plugins,"rtc").bind(y=>V.from(y.setup)))(d).fold(()=>(u.rtcInstance=U2(d),V.none()),f=>(u.rtcInstance=(()=>{const y=Ct(null),v=Ct("");return{init:{bindEvents:$t},undoManager:{beforeChange:$t,add:y,undo:y,redo:y,clear:$t,reset:$t,hasUndo:uo,hasRedo:uo,transact:y,ignore:$t,extra:$t},formatter:{match:uo,matchAll:Ct([]),matchNode:Ct(void 0),canApply:uo,closest:v,apply:$t,remove:$t,toggle:$t,formatChanged:Ct({unbind:$t})},editor:{getContent:v,setContent:Ct({content:"",html:""}),insertContent:Ct(""),addVisual:$t},selection:{getContent:v},autocompleter:{addDecoration:$t,removeDecoration:$t},raw:{getModel:Ct(V.none())}}})(),V.some(()=>f().then(y=>(u.rtcInstance=(v=>{const k=K=>it(K)?K:{},{init:E,undoManager:B,formatter:O,editor:P,selection:M,autocompleter:j,raw:q}=v;return{init:{bindEvents:E.bindEvents},undoManager:{beforeChange:B.beforeChange,add:B.add,undo:B.undo,redo:B.redo,clear:B.clear,reset:B.reset,hasUndo:B.hasUndo,hasRedo:B.hasRedo,transact:(K,re,ee)=>B.transact(ee),ignore:(K,re)=>B.ignore(re),extra:(K,re,ee,ke)=>B.extra(ee,ke)},formatter:{match:(K,re,ee,ke)=>O.match(K,k(re),ke),matchAll:O.matchAll,matchNode:O.matchNode,canApply:K=>O.canApply(K),closest:K=>O.closest(K),apply:(K,re,ee)=>O.apply(K,k(re)),remove:(K,re,ee,ke)=>O.remove(K,k(re)),toggle:(K,re,ee)=>O.toggle(K,k(re)),formatChanged:(K,re,ee,ke,et)=>O.formatChanged(re,ee,ke,et)},editor:{getContent:K=>P.getContent(K),setContent:(K,re)=>({content:P.setContent(K,re),html:""}),insertContent:(K,re)=>(P.insertContent(K),""),addVisual:P.addVisual},selection:{getContent:(K,re)=>M.getContent(re)},autocompleter:{addDecoration:j.addDecoration,removeDecoration:j.removeDecoration},raw:{getModel:()=>V.some(q.getRawModel())}}})(y),y.rtc.isRemote)))))})(t);(d=>{const u=d.getDoc(),f=d.getBody();(k=>{k.dispatch("PreInit")})(d),f1(d)||(u.body.spellcheck=!1,o3.setAttrib(f,"spellcheck","false")),d.quirks=GO(d),(k=>{k.dispatch("PostRender")})(d);const y=eh(d);y!==void 0&&(f.dir=y);const v=Eg(d);v&&d.on("BeforeSetContent",k=>{go.each(v,E=>{k.content=k.content.replace(E,B=>"")})}),d.on("SetContent",()=>{d.addVisual(d.getBody())}),d.on("compositionstart compositionend",k=>{d.composing=k.type==="compositionstart"})})(t),c.fold(()=>{const d=(u=>{let f=!1;const y=setTimeout(()=>{f||u.setProgressState(!0)},500);return()=>{clearTimeout(y),f=!0,u.setProgressState(!1)}})(t);Hz(t).then(()=>{n3(t),d()})},d=>{t.setProgressState(!0),Hz(t).then(()=>{d().then(u=>{t.setProgressState(!1),n3(t),Z2(t)},u=>{t.notificationManager.open({type:"error",text:String(u)}),n3(t),Z2(t)})})})},jz=Bt,r3=wr.DOM,Tk=wr.DOM,a3=(t,o)=>({editorContainer:t,iframeContainer:o,api:{}}),nv=t=>{const o=t.getElement();return t.inline?a3(null):(n=>{const a=Tk.create("div");return Tk.insertAfter(a,n),a3(a,a)})(o)},Vz=async t=>{t.dispatch("ScriptsLoaded"),(n=>{const a=go.trim(yb(n)),i=n.ui.registry.getAll().icons,c={...w0.get("default").icons,...w0.get(a).icons};Ft(c,(d,u)=>{ln(i,u)||n.ui.registry.addIcon(u,d)})})(t),(n=>{const a=kg(n);if(Ue(a)){const i=Jg.get(a);n.theme=i(n,Jg.urls[a])||{},de(n.theme.init)&&n.theme.init(n,Jg.urls[a]||n.documentBaseUrl.replace(/\/$/,""))}else n.theme={}})(t),(n=>{const a=_g(n),i=Kl.get(a);n.model=i(n,Kl.urls[a])})(t),(n=>{const a=[];Se(qm(n),i=>{((c,d,u)=>{const f=by.get(u),y=by.urls[u]||c.documentBaseUrl.replace(/\/$/,"");if(u=go.trim(u),f&&go.inArray(d,u)===-1){if(c.plugins[u])return;try{const v=f(c,y)||{};c.plugins[u]=v,de(v.init)&&(v.init(c,y),d.push(u))}catch(v){((k,E,B)=>{const O=Zi.translate(["Failed to initialize plugin: {0}",E]);z1(k,"PluginLoadError",{message:O}),yy(O,B),hu(k,O)})(c,u,v)}}})(n,a,(c=>c.replace(/^\-/,""))(i))})})(t);const o=await(n=>{const a=n.getElement();return n.orgDisplay=a.style.display,Ue(kg(n))?(i=>{const c=i.theme.renderUI;return c?c():nv(i)})(n):de(kg(n))?(i=>{const c=i.getElement(),d=kg(i)(i,c);return d.editorContainer.nodeType&&(d.editorContainer.id=d.editorContainer.id||i.id+"_parent"),d.iframeContainer&&d.iframeContainer.nodeType&&(d.iframeContainer.id=d.iframeContainer.id||i.id+"_iframecontainer"),d.height=d.iframeHeight?d.iframeHeight:c.offsetHeight,d})(n):nv(n)})(t);((n,a)=>{const i={show:V.from(a.show).getOr($t),hide:V.from(a.hide).getOr($t),isEnabled:V.from(a.isEnabled).getOr(Bt),setEnabled:c=>{n.mode.isReadOnly()||V.from(a.setEnabled).each(d=>d(c))}};n.ui={...n.ui,...i}})(t,V.from(o.api).getOr({})),t.editorContainer=o.editorContainer,(n=>{n.contentCSS=n.contentCSS.concat((a=>eC(a,Qf(a)))(n),(a=>eC(a,xg(a)))(n))})(t),t.inline?em(t):((n,a)=>{((i,c)=>{const d=i.translate("Rich Text Area"),u=wo(je(i.getElement()),"tabindex").bind(Vr),f=((y,v,k,E)=>{const B=_s("iframe");return E.each(O=>Q(B,"tabindex",O)),Ee(B,k),Ee(B,{id:y+"_ifr",frameBorder:"0",allowTransparency:"true",title:v}),ks(B,"tox-edit-area__iframe"),B})(i.id,d,Fp(i),u).dom;f.onload=()=>{f.onload=null,i.dispatch("load")},i.contentAreaContainer=c.iframeContainer,i.iframeElement=f,i.iframeHTML=(y=>{let v=l1(y)+"";tc(y)!==y.documentBaseUrl&&(v+=''),v+='';const k=t_(y),E=sd(y),B=y.translate(Nv(y));return hb(y)&&(v+=''),v+=`
    `,v})(i),r3.add(c.iframeContainer,f)})(n,a),a.editorContainer&&(a.editorContainer.style.display=n.orgDisplay,n.hidden=r3.isHidden(a.editorContainer)),n.getElement().style.display="none",r3.setAttrib(n.id,"aria-hidden","true"),n.getElement().style.visibility=n.orgVisibility,(i=>{const c=i.iframeElement,d=()=>{i.contentDocument=c.contentDocument,em(i)};if(Lv(i)||Rn.browser.isFirefox()){const f=i.getDoc();f.open(),f.write(i.iframeHTML),f.close(),d()}else{const f=(u=je(c),Jc(u,"load",jz,()=>{f.unbind(),d()}));c.srcdoc=i.iframeHTML}var u})(n)})(t,{editorContainer:o.editorContainer,iframeContainer:o.iframeContainer})},Cf=wr.DOM,s3=t=>t.charAt(0)==="-",$z=(t,o,n)=>V.from(o).filter(a=>on(a)&&!w0.has(a)).map(a=>({url:`${t.editorManager.baseURL}/icons/${a}/icons${n}.js`,name:V.some(a)})),YO=(t,o)=>{const n=Jr.ScriptLoader,a=()=>{!t.removed&&(i=>{const c=kg(i);return!Ue(c)||Ze(Jg.get(c))})(t)&&(i=>{const c=_g(i);return Ze(Kl.get(c))})(t)&&Vz(t)};((i,c)=>{const d=kg(i);if(Ue(d)&&!s3(d)&&!ln(Jg.urls,d)){const u=au(i),f=u?i.documentBaseURI.toAbsolute(u):`themes/${d}/theme${c}.js`;Jg.load(d,f).catch(()=>{((y,v,k)=>{zh(y,"ThemeLoadError",gf("theme",v,k))})(i,f,d)})}})(t,o),((i,c)=>{const d=_g(i);if(d!=="plugin"&&!ln(Kl.urls,d)){const u=fm(i),f=Ue(u)?i.documentBaseURI.toAbsolute(u):`models/${d}/model${c}.js`;Kl.load(d,f).catch(()=>{((y,v,k)=>{zh(y,"ModelLoadError",gf("model",v,k))})(i,f,d)})}})(t,o),((i,c)=>{const d=vg(c),u=ms(c);if(!Zi.hasCode(d)&&d!=="en"){const f=on(u)?u:`${c.editorManager.baseURL}/langs/${d}.js`;i.add(f).catch(()=>{((y,v,k)=>{zh(y,"LanguageLoadError",gf("language",v,k))})(c,f,d)})}})(n,t),((i,c,d)=>{const u=$z(c,"default",d),f=(y=>V.from(Cv(y)).filter(on).map(v=>({url:v,name:V.none()})))(c).orThunk(()=>$z(c,yb(c),""));Se((y=>{const v=[],k=E=>{v.push(E)};for(let E=0;E{i.add(y.url).catch(()=>{((v,k,E)=>{zh(v,"IconsLoadError",gf("icons",k,E))})(c,y.url,y.name.getOrUndefined())})})})(n,t,o),((i,c)=>{const d=(u,f)=>{by.load(u,f).catch(()=>{((y,v,k)=>{zh(y,"PluginLoadError",gf("plugin",v,k))})(i,f,u)})};Ft(Pp(i),(u,f)=>{d(f,u),i.options.set("plugins",qm(i).concat(f))}),Se(qm(i),u=>{!(u=go.trim(u))||by.urls[u]||s3(u)||d(u,`plugins/${u}/plugin${c}.js`)})})(t,o),n.loadQueue().then(a,a)},zk=Aa().deviceType,Uz=zk.isPhone(),XO=zk.isTablet(),Sf=t=>{if(me(t))return[];{const o=co(t)?t:t.split(/[ ,]/),n=oo(o,wt);return gt(n,on)}},i3=(t,o)=>{const n=((c,d)=>{const u={},f={};return $n(c,(y,v)=>lo(t,v),Vo(u),Vo(f)),{t:u,f}})(o);return a=n.t,i=n.f,{sections:Ct(a),options:Ct(i)};var a,i},rv=(t,o)=>ln(t.sections(),o),Zz=(t,o)=>({table_grid:!1,object_resizing:!1,resize:!1,toolbar_mode:Fn(t,"toolbar_mode").getOr("scrolling"),toolbar_sticky:!1,...o?{menubar:!1}:{}}),Ef=(t,o)=>{var n;const a=(n=o.external_plugins)!==null&&n!==void 0?n:{};return t&&t.external_plugins?go.extend({},t.external_plugins,a):a},JO=(t,o,n,a,i)=>{var c;const d=t?{mobile:Zz((c=i.mobile)!==null&&c!==void 0?c:{},o)}:{},u=i3(["mobile"],Vw(d,i)),f=go.extend(n,a,u.options(),((y,v)=>y&&rv(v,"mobile"))(t,u)?((y,v,k={})=>{const E=y.sections(),B=Fn(E,v).getOr({});return go.extend({},k,B)})(u,"mobile"):{},{external_plugins:Ef(a,u.options())});return((y,v,k,E)=>{const B=Sf(k.forced_plugins),O=Sf(E.plugins),P=((q,K)=>rv(q,K)?q.sections()[K]:{})(v,"mobile"),M=((q,K,re,ee)=>q&&rv(K,"mobile")?ee:re)(y,v,O,P.plugins?Sf(P.plugins):O),j=((q,K)=>[...Sf(q),...Sf(K)])(B,M);return go.extend(E,{forced_plugins:B,plugins:j})})(t,u,a,f)},QO=t=>{(o=>{const n=a=>()=>{Se("left,center,right,justify".split(","),i=>{a!==i&&o.formatter.remove("align"+i)}),a!=="none"&&((i,c)=>{o.formatter.toggle(i,void 0),o.nodeChanged()})("align"+a)};o.editorCommands.addCommands({JustifyLeft:n("left"),JustifyCenter:n("center"),JustifyRight:n("right"),JustifyFull:n("justify"),JustifyNone:n("none")})})(t),(o=>{const n=a=>()=>{const i=o.selection,c=i.isCollapsed()?[o.dom.getParent(i.getNode(),o.dom.isBlock)]:i.getSelectedBlocks();return To(c,d=>Ze(o.formatter.matchNode(d,a)))};o.editorCommands.addCommands({JustifyLeft:n("alignleft"),JustifyCenter:n("aligncenter"),JustifyRight:n("alignright"),JustifyFull:n("alignjustify")},"state")})(t)},Ak=(t,o)=>{const n=t.selection,a=t.dom;return/^ | $/.test(o)?((i,c,d,u)=>{const f=je(i.getRoot());return d=I1(f,Ht.fromRangeStart(c),u)?d.replace(/^ /," "):d.replace(/^ /," "),rc(f,Ht.fromRangeEnd(c),u)?d.replace(/( | )()?$/," "):d.replace(/ ()?$/," ")})(a,n.getRng(),o,t.schema):o},av=(t,o)=>{if(t.selection.isEditable()){const{content:n,details:a}=(i=>{if(typeof i!="string"){const c=go.extend({paste:i.paste,data:{paste:i.paste}},i);return{content:i.content,details:c}}return{content:i,details:{}}})(o);P2(t,{...a,content:Ak(t,n),format:"html",set:!1,selection:!0}).each(i=>{const c=((d,u,f)=>iw(d).editor.insertContent(u,f))(t,i.content,a);uy(t,c,i),t.addVisual()})}},qz={"font-size":"size","font-family":"face"},Wz=ma("font"),Gz=t=>(o,n)=>V.from(n).map(je).filter(kn).bind(a=>((i,c,d)=>Fx(je(d),u=>(f=>om(f,i).orThunk(()=>Wz(f)?Fn(qz,i).bind(y=>wo(f,y)):V.none()))(u),u=>sa(je(c),u)))(t,o,a.dom).or(((i,c)=>V.from(wr.DOM.getStyle(c,i,!0)))(t,a.dom))).getOr(""),e5=Gz("font-size"),Kz=gn(t=>t.replace(/[\'\"\\]/g,"").replace(/,\s+/g,","),Gz("font-family")),l3=t=>Z(t.getBody()).bind(o=>{const n=o.container();return V.from(ao(n)?n.parentNode:n)}),sv=(t,o)=>((n,a)=>(i=>V.from(i.selection.getRng()).bind(c=>{const d=i.getBody();return c.startContainer===d&&c.startOffset===0?V.none():V.from(i.selection.getStart(!0))}))(n).orThunk(Je(l3,n)).map(je).filter(kn).bind(a))(t,Bo(V.some,o)),c3=(t,o)=>{if(/^[0-9.]+$/.test(o)){const n=parseInt(o,10);if(n>=1&&n<=7){const a=(c=>go.explode(c.options.get("font_size_style_values")))(t),i=(c=>go.explode(c.options.get("font_size_classes")))(t);return i.length>0?i[n-1]||o:a[n-1]||o}return o}return o},Ok=t=>{const o=t.split(/\s*,\s*/);return oo(o,n=>n.indexOf(" ")===-1||gr(n,'"')||gr(n,"'")?n:`'${n}'`).join(",")},d3=(t,o)=>{const n=t.dom,a=t.selection.getRng(),i=o?t.selection.getStart():t.selection.getEnd(),c=o?a.startContainer:a.endContainer,d=Z0(n,c);if(!d||!d.isContentEditable)return;const u=o?rl:Da,f=Ts(t);((y,v,k,E)=>{const B=y.dom,O=M=>B.isBlock(M)&&M.parentElement===k,P=O(v)?v:B.getParent(E,O,k);return V.from(P).map(je)})(t,i,d,c).each(y=>{const v=WT(t,c,y.dom,d,!1,f);u(y,je(v)),t.selection.setCursorLocation(v,0),t.dispatch("NewBlock",{newBlock:v}),cp(t,"insertParagraph")})},Yz=t=>{QO(t),(o=>{o.editorCommands.addCommands({"Cut,Copy,Paste":n=>{const a=o.getDoc();let i;try{a.execCommand(n)}catch{i=!0}if(n!=="paste"||a.queryCommandEnabled(n)||(i=!0),i||!a.queryCommandSupported(n)){let c=o.translate("Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead.");(Rn.os.isMacOS()||Rn.os.isiOS())&&(c=c.replace(/Ctrl\+/g,"⌘+")),o.notificationManager.open({text:c,type:"error"})}}})})(t),(o=>{o.editorCommands.addCommands({mceAddUndoLevel:()=>{o.undoManager.add()},mceEndUndoLevel:()=>{o.undoManager.add()},Undo:()=>{o.undoManager.undo()},Redo:()=>{o.undoManager.redo()}})})(t),(o=>{o.editorCommands.addCommands({mceSelectNodeDepth:(n,a,i)=>{let c=0;o.dom.getParent(o.selection.getNode(),d=>!rn(d)||c++!==i||(o.selection.select(d),!1),o.getBody())},mceSelectNode:(n,a,i)=>{o.selection.select(i)},selectAll:()=>{const n=o.dom.getParent(o.selection.getStart(),zi);if(n){const a=o.dom.createRng();a.selectNodeContents(n),o.selection.setRng(a)}}})})(t),(o=>{o.editorCommands.addCommands({mceCleanup:()=>{const n=o.selection.getBookmark();o.setContent(o.getContent()),o.selection.moveToBookmark(n)},insertImage:(n,a,i)=>{av(o,o.dom.createHTML("img",{src:i}))},insertHorizontalRule:()=>{o.execCommand("mceInsertContent",!1,"
    ")},insertText:(n,a,i)=>{av(o,o.dom.encode(i))},insertHTML:(n,a,i)=>{av(o,i)},mceInsertContent:(n,a,i)=>{av(o,i)},mceSetContent:(n,a,i)=>{o.setContent(i)},mceReplaceContent:(n,a,i)=>{o.execCommand("mceInsertContent",!1,i.replace(/\{\$selection\}/g,o.selection.getContent({format:"text"})))},mceNewDocument:()=>{o.setContent(Rv(o))}})})(t),(o=>{const n=(a,i,c)=>{const d=Ue(c)?{href:c}:c,u=o.dom.getParent(o.selection.getNode(),"a");it(d)&&Ue(d.href)&&(d.href=d.href.replace(/ /g,"%20"),u&&d.href||o.formatter.remove("link"),d.href&&o.formatter.apply("link",d,u))};o.editorCommands.addCommands({unlink:()=>{if(o.selection.isEditable()){if(o.selection.isCollapsed()){const a=o.dom.getParent(o.selection.getStart(),"a");return void(a&&o.dom.remove(a,!0))}o.formatter.remove("link")}},mceInsertLink:n,createLink:n})})(t),(o=>{o.editorCommands.addCommands({Indent:()=>{(n=>{yu(n,"indent")})(o)},Outdent:()=>{zw(o)}}),o.editorCommands.addCommands({Outdent:()=>MC(o)},"state")})(t),(o=>{o.editorCommands.addCommands({InsertNewBlockBefore:()=>{(n=>{d3(n,!0)})(o)},InsertNewBlockAfter:()=>{(n=>{d3(n,!1)})(o)}})})(t),(o=>{o.editorCommands.addCommands({insertParagraph:()=>{vi(YT,o)},mceInsertNewLine:(n,a,i)=>{ez(o,i)},InsertLineBreak:(n,a,i)=>{vi(kS,o)}})})(t),(o=>{(n=>{n.editorCommands.addCommands({"InsertUnorderedList,InsertOrderedList":a=>{n.getDoc().execCommand(a);const i=n.dom.getParent(n.selection.getNode(),"ol,ul");if(i){const c=i.parentNode;if(c&&/^(H[1-6]|P|ADDRESS|PRE)$/.test(c.nodeName)){const d=n.selection.getBookmark();n.dom.split(c,i),n.selection.moveToBookmark(d)}}}})})(o),(n=>{n.editorCommands.addCommands({"InsertUnorderedList,InsertOrderedList":a=>{const i=n.dom.getParent(n.selection.getNode(),"ul,ol");return i&&(a==="insertunorderedlist"&&i.tagName==="UL"||a==="insertorderedlist"&&i.tagName==="OL")}},"state")})(o)})(t),(o=>{(n=>{const a=(i,c)=>{n.formatter.toggle(i,c),n.nodeChanged()};n.editorCommands.addCommands({"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":i=>{a(i)},"ForeColor,HiliteColor":(i,c,d)=>{a(i,{value:d})},BackColor:(i,c,d)=>{a("hilitecolor",{value:d})},FontName:(i,c,d)=>{((u,f)=>{const y=c3(u,f);u.formatter.toggle("fontname",{value:Ok(y)}),u.nodeChanged()})(n,d)},FontSize:(i,c,d)=>{((u,f)=>{u.formatter.toggle("fontsize",{value:c3(u,f)}),u.nodeChanged()})(n,d)},LineHeight:(i,c,d)=>{((u,f)=>{u.formatter.toggle("lineheight",{value:String(f)}),u.nodeChanged()})(n,d)},Lang:(i,c,d)=>{var u;a(i,{value:d.code,customValue:(u=d.customCode)!==null&&u!==void 0?u:null})},RemoveFormat:i=>{n.formatter.remove(i)},mceBlockQuote:()=>{a("blockquote")},FormatBlock:(i,c,d)=>{a(Ue(d)?d:"p")},mceToggleFormat:(i,c,d)=>{a(d)}})})(o),(n=>{const a=i=>n.formatter.match(i);n.editorCommands.addCommands({"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":i=>a(i),mceBlockQuote:()=>a("blockquote")},"state"),n.editorCommands.addQueryValueHandler("FontName",()=>(i=>sv(i,c=>Kz(i.getBody(),c.dom)).getOr(""))(n)),n.editorCommands.addQueryValueHandler("FontSize",()=>(i=>sv(i,c=>e5(i.getBody(),c.dom)).getOr(""))(n)),n.editorCommands.addQueryValueHandler("LineHeight",()=>(i=>sv(i,c=>{const d=je(i.getBody());return Fx(c,f=>om(f,"line-height"),Je(sa,d)).getOrThunk(()=>{const f=parseFloat(Yi(c,"line-height")),y=parseFloat(Yi(c,"font-size"));return String(f/y)})}).getOr(""))(n))})(o)})(t),(o=>{o.editorCommands.addCommands({mceRemoveNode:(n,a,i)=>{const c=i??o.selection.getNode();if(c!==o.getBody()){const d=o.selection.getBookmark();o.dom.remove(c,!0),o.selection.moveToBookmark(d)}},mcePrint:()=>{o.getWin().print()},mceFocus:(n,a,i)=>{((c,d)=>{c.removed||(d?cx(c):(u=>{const f=u.selection,y=u.getBody();let v=f.getRng();u.quirks.refreshContentEditable(),Ze(u.bookmark)&&!rf(u)&&ax(u).each(E=>{u.selection.setRng(E),v=E});const k=((E,B)=>E.dom.getParent(B,O=>E.dom.getContentEditable(O)==="true"))(u,f.getNode());if(k&&u.dom.isChildOf(k,y))return z_(k),o4(u,v),void cx(u);u.inline||(Rn.browser.isOpera()||z_(y),u.getWin().focus()),(Rn.browser.isFirefox()||u.inline)&&(z_(y),o4(u,v)),cx(u)})(c))})(o,i===!0)},mceToggleVisualAid:()=>{o.hasVisual=!o.hasVisual,o.addVisual()}})})(t)},t5=["toggleview"],Xz=t=>lo(t5,t.toLowerCase());class Nk{constructor(o){this.commands={state:{},exec:{},value:{}},this.editor=o}execCommand(o,n=!1,a,i){const c=this.editor,d=o.toLowerCase(),u=i?.skip_focus;if(c.removed||(d!=="mcefocus"&&(/^(mceAddUndoLevel|mceEndUndoLevel)$/i.test(d)||u?(y=>{ax(y).each(v=>y.selection.setRng(v))})(c):c.focus()),c.dispatch("BeforeExecCommand",{command:o,ui:n,value:a}).isDefaultPrevented()))return!1;const f=this.commands.exec[d];return!!de(f)&&(f(d,n,a),c.dispatch("ExecCommand",{command:o,ui:n,value:a}),!0)}queryCommandState(o){if(!Xz(o)&&this.editor.quirks.isHidden()||this.editor.removed)return!1;const n=o.toLowerCase(),a=this.commands.state[n];return!!de(a)&&a(n)}queryCommandValue(o){if(!Xz(o)&&this.editor.quirks.isHidden()||this.editor.removed)return"";const n=o.toLowerCase(),a=this.commands.value[n];return de(a)?a(n):""}addCommands(o,n="exec"){const a=this.commands;Ft(o,(i,c)=>{Se(c.toLowerCase().split(","),d=>{a[n][d]=i})})}addCommand(o,n,a){const i=o.toLowerCase();this.commands.exec[i]=(c,d,u)=>n.call(a??this.editor,d,u)}queryCommandSupported(o){const n=o.toLowerCase();return!!this.commands.exec[n]}addQueryStateHandler(o,n,a){this.commands.state[o.toLowerCase()]=()=>n.call(a??this.editor)}addQueryValueHandler(o,n,a){this.commands.value[o.toLowerCase()]=()=>n.call(a??this.editor)}}const Tf="data-mce-contenteditable",Mk=(t,o,n)=>{try{t.getDoc().execCommand(o,!1,String(n))}catch{}},Dk=(t,o)=>{t.dom.contentEditable=o?"true":"false"},$h=t=>t.readonly,Jz=t=>{t.parser.addAttributeFilter("contenteditable",o=>{$h(t)&&Se(o,n=>{n.attr(Tf,n.attr("contenteditable")),n.attr("contenteditable","false")})}),t.serializer.addAttributeFilter(Tf,o=>{$h(t)&&Se(o,n=>{n.attr("contenteditable",n.attr(Tf))})}),t.serializer.addTempAttr(Tf)},Qz=["copy"],eA=go.makeMap("focus blur focusin focusout click dblclick mousedown mouseup mousemove mouseover beforepaste paste cut copy selectionchange mouseout mouseenter mouseleave wheel keydown keypress keyup input beforeinput contextmenu dragstart dragend dragover draggesture dragdrop drop drag submit compositionstart compositionend compositionupdate touchstart touchmove touchend touchcancel"," ");class u3{static isNative(o){return!!eA[o.toLowerCase()]}constructor(o){this.bindings={},this.settings=o||{},this.scope=this.settings.scope||this,this.toggleEvent=this.settings.toggleEvent||uo}fire(o,n){return this.dispatch(o,n)}dispatch(o,n){const a=o.toLowerCase(),i=Nr(a,n??{},this.scope);this.settings.beforeFire&&this.settings.beforeFire(i);const c=this.bindings[a];if(c)for(let d=0,u=c.length;d{this.toggleEvent(f,!1),delete this.bindings[f]}),this;if(d){if(n){const u=ct(d,f=>f.func===n);d=u.fail,this.bindings[c]=d,Se(u.pass,f=>{f.removed=!0})}else d.length=0;d.length||(this.toggleEvent(o,!1),delete this.bindings[c])}}}else Ft(this.bindings,(a,i)=>{this.toggleEvent(i,!1)}),this.bindings={};return this}once(o,n,a){return this.on(o,n,a,{once:!0})}has(o){o=o.toLowerCase();const n=this.bindings[o];return!(!n||n.length===0)}}const iv=t=>(t._eventDispatcher||(t._eventDispatcher=new u3({scope:t,toggleEvent:(o,n)=>{u3.isNative(o)&&t.toggleNativeEvent&&t.toggleNativeEvent(o,n)}})),t._eventDispatcher),zf={fire(t,o,n){return this.dispatch(t,o,n)},dispatch(t,o,n){const a=this;if(a.removed&&t!=="remove"&&t!=="detach")return Nr(t.toLowerCase(),o??{},a);const i=iv(a).dispatch(t,o);if(n!==!1&&a.parent){let c=a.parent();for(;c&&!i.isPropagationStopped();)c.dispatch(t,i,!1),c=c.parent?c.parent():void 0}return i},on(t,o,n){return iv(this).on(t,o,n)},off(t,o){return iv(this).off(t,o)},once(t,o){return iv(this).once(t,o)},hasEventListeners(t){return iv(this).has(t)}},Rk=wr.DOM;let Uh;const lv=(t,o)=>{if(o==="selectionchange")return t.getDoc();if(!t.inline&&/^(?:mouse|touch|click|contextmenu|drop|dragover|dragend)/.test(o))return t.getDoc().documentElement;const n=vb(t);return n?(t.eventRoot||(t.eventRoot=Rk.select(n)[0]),t.eventRoot):t.getBody()},m3=(t,o,n)=>{(a=>!a.hidden&&!$h(a))(t)?t.dispatch(o,n):$h(t)&&((a,i)=>{if((c=>c.type==="click")(i)&&!mn.metaKeyPressed(i)){const c=je(i.target);((d,u)=>Yc(u,"a",f=>sa(f,je(d.getBody()))).bind(f=>wo(f,"href")))(a,c).each(d=>{if(i.preventDefault(),/^#/.test(d)){const u=a.dom.select(`${d},[name="${Is(d,"#")}"]`);u.length&&a.selection.scrollIntoView(u[0],!0)}else window.open(d,"_blank","rel=noopener noreferrer,menubar=yes,toolbar=yes,location=yes,status=yes,resizable=yes,scrollbars=yes")})}else(c=>lo(Qz,c.type))(i)&&a.dispatch(i.type,i)})(t,n)},cv=(t,o)=>{if(t.delegates||(t.delegates={}),t.delegates[o]||t.removed)return;const n=lv(t,o);if(vb(t)){if(Uh||(Uh={},t.editorManager.on("removeEditor",()=>{t.editorManager.activeEditor||Uh&&(Ft(Uh,(i,c)=>{t.dom.unbind(lv(t,c))}),Uh=null)})),Uh[o])return;const a=i=>{const c=i.target,d=t.editorManager.get();let u=d.length;for(;u--;){const f=d[u].getBody();(f===c||Rk.isChildOf(c,f))&&m3(d[u],o,i)}};Uh[o]=a,Rk.bind(n,o,a)}else{const a=i=>{m3(t,o,i)};Rk.bind(n,o,a),t.delegates[o]=a}},tA={...zf,bindPendingEventDelegates(){const t=this;go.each(t._pendingNativeEvents,o=>{cv(t,o)})},toggleNativeEvent(t,o){const n=this;t!=="focus"&&t!=="blur"&&(n.removed||(o?n.initialized?cv(n,t):n._pendingNativeEvents?n._pendingNativeEvents.push(t):n._pendingNativeEvents=[t]:n.initialized&&n.delegates&&(n.dom.unbind(lv(n,t),t,n.delegates[t]),delete n.delegates[t])))},unbindAllNativeEvents(){const t=this,o=t.getBody(),n=t.dom;t.delegates&&(Ft(t.delegates,(a,i)=>{t.dom.unbind(lv(t,i),i,a)}),delete t.delegates),!t.inline&&o&&n&&(o.onload=null,n.unbind(t.getWin()),n.unbind(t.getDoc())),n&&(n.unbind(o),n.unbind(t.getContainer()))}},o5=t=>Ue(t)?{value:t.split(/[ ,]/),valid:!0}:Yo(t,Ue)?{value:t,valid:!0}:{valid:!1,message:"The value must be a string[] or a comma/space separated string."},oA=(t,o)=>t+(sr(o.message)?"":`. ${o.message}`),nA=t=>t.valid,g3=(t,o,n="")=>{const a=o(t);return Dt(a)?a?{value:t,valid:!0}:{valid:!1,message:n}:a},n5=["design","readonly"],rA=(t,o,n,a)=>{const i=n[o.get()],c=n[a];try{c.activate()}catch(d){return void console.error(`problem while activating editor mode ${a}:`,d)}i.deactivate(),i.editorReadOnly!==c.editorReadOnly&&((d,u)=>{const f=je(d.getBody());((y,v,k)=>{Vi(y,v)&&!k?Js(y,v):k&&ks(y,v)})(f,"mce-content-readonly",u),u?(d.selection.controlSelection.hideResizeRect(),d._selectionOverrides.hideFakeCaret(),(y=>{V.from(y.selection.getNode()).each(v=>{v.removeAttribute("data-mce-selected")})})(d),d.readonly=!0,Dk(f,!1),Se(wa(f,'*[contenteditable="true"]'),y=>{Q(y,Tf,"true"),Dk(y,!1)})):(d.readonly=!1,d.hasEditableRoot()&&Dk(f,!0),Se(wa(f,`*[${Tf}="true"]`),y=>{U(y,Tf),Dk(y,!0)}),Mk(d,"StyleWithCSS",!1),Mk(d,"enableInlineTableEditing",!1),Mk(d,"enableObjectResizing",!1),n4(d)&&d.focus(),(y=>{y.selection.setRng(y.selection.getRng())})(d),d.nodeChanged())})(t,c.editorReadOnly),o.set(a),((d,u)=>{d.dispatch("SwitchMode",{mode:u})})(t,a)},p3=go.each,f3=go.explode,r5={f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123},Ja=go.makeMap("alt,ctrl,shift,meta,access"),aA=t=>{const o={},n=Rn.os.isMacOS()||Rn.os.isiOS();p3(f3(t.toLowerCase(),"+"),c=>{(d=>d in Ja)(c)?o[c]=!0:/^[0-9]{2,}$/.test(c)?o.keyCode=parseInt(c,10):(o.charCode=c.charCodeAt(0),o.keyCode=r5[c]||c.toUpperCase().charCodeAt(0))});const a=[o.keyCode];let i;for(i in Ja)o[i]?a.push(i):o[i]=!1;return o.id=a.join(","),o.access&&(o.alt=!0,n?o.ctrl=!0:o.shift=!0),o.meta&&(n?o.meta=!0:(o.ctrl=!0,o.meta=!1)),o};class Bk{constructor(o){this.shortcuts={},this.pendingPatterns=[],this.editor=o;const n=this;o.on("keyup keypress keydown",a=>{!n.hasModifier(a)&&!n.isFunctionKey(a)||a.isDefaultPrevented()||(p3(n.shortcuts,i=>{n.matchShortcut(a,i)&&(n.pendingPatterns=i.subpatterns.slice(0),a.type==="keydown"&&n.executeShortcutAction(i))}),n.matchShortcut(a,n.pendingPatterns[0])&&(n.pendingPatterns.length===1&&a.type==="keydown"&&n.executeShortcutAction(n.pendingPatterns[0]),n.pendingPatterns.shift()))})}add(o,n,a,i){const c=this,d=c.normalizeCommandFunc(a);return p3(f3(go.trim(o)),u=>{const f=c.createShortcut(u,n,d,i);c.shortcuts[f.id]=f}),!0}remove(o){const n=this.createShortcut(o);return!!this.shortcuts[n.id]&&(delete this.shortcuts[n.id],!0)}normalizeCommandFunc(o){const n=this,a=o;return typeof a=="string"?()=>{n.editor.execCommand(a,!1,null)}:go.isArray(a)?()=>{n.editor.execCommand(a[0],a[1],a[2])}:a}createShortcut(o,n,a,i){const c=go.map(f3(o,">"),aA);return c[c.length-1]=go.extend(c[c.length-1],{func:a,scope:i||this.editor}),go.extend(c[0],{desc:this.editor.translate(n),subpatterns:c.slice(1)})}hasModifier(o){return o.altKey||o.ctrlKey||o.metaKey}isFunctionKey(o){return o.type==="keydown"&&o.keyCode>=112&&o.keyCode<=123}matchShortcut(o,n){return!!n&&n.ctrl===o.ctrlKey&&n.meta===o.metaKey&&n.alt===o.altKey&&n.shift===o.shiftKey&&!!(o.keyCode===n.keyCode||o.charCode&&o.charCode===n.charCode)&&(o.preventDefault(),!0)}executeShortcutAction(o){return o.func?o.func.call(o.scope):null}}const sA=()=>{const t=(()=>{const o={},n={},a={},i={},c={},d={},u={},f={},y=(v,k)=>(E,B)=>{v[E.toLowerCase()]={...B,type:k}};return{addButton:y(o,"button"),addGroupToolbarButton:y(o,"grouptoolbarbutton"),addToggleButton:y(o,"togglebutton"),addMenuButton:y(o,"menubutton"),addSplitButton:y(o,"splitbutton"),addMenuItem:y(n,"menuitem"),addNestedMenuItem:y(n,"nestedmenuitem"),addToggleMenuItem:y(n,"togglemenuitem"),addAutocompleter:y(a,"autocompleter"),addContextMenu:y(c,"contextmenu"),addContextToolbar:y(d,"contexttoolbar"),addContextForm:y(d,"contextform"),addSidebar:y(u,"sidebar"),addView:y(f,"views"),addIcon:(v,k)=>i[v.toLowerCase()]=k,getAll:()=>({buttons:o,menuItems:n,icons:i,popups:a,contextMenus:c,contextToolbars:d,sidebars:u,views:f})}})();return{addAutocompleter:t.addAutocompleter,addButton:t.addButton,addContextForm:t.addContextForm,addContextMenu:t.addContextMenu,addContextToolbar:t.addContextToolbar,addIcon:t.addIcon,addMenuButton:t.addMenuButton,addMenuItem:t.addMenuItem,addNestedMenuItem:t.addNestedMenuItem,addSidebar:t.addSidebar,addSplitButton:t.addSplitButton,addToggleButton:t.addToggleButton,addGroupToolbarButton:t.addGroupToolbarButton,addToggleMenuItem:t.addToggleMenuItem,addView:t.addView,getAll:t.getAll}},Af=wr.DOM,Fk=go.extend,a5=go.each;class Lk{constructor(o,n,a){this.plugins={},this.contentCSS=[],this.contentStyles=[],this.loadedCSS={},this.isNotDirty=!1,this.composing=!1,this.destroyed=!1,this.hasHiddenInput=!1,this.iframeElement=null,this.initialized=!1,this.readonly=!1,this.removed=!1,this.startContent="",this._pendingNativeEvents=[],this._skinLoaded=!1,this._editableRoot=!0,this.editorManager=a,this.documentBaseUrl=a.documentBaseURL,Fk(this,tA);const i=this;this.id=o,this.hidden=!1;const c=((B,O)=>JO(Uz||XO,Uz,O,B,O))(a.defaultOptions,n);this.options=((B,O)=>{const P={},M={},j=(K,re,ee)=>{const ke=g3(re,ee);return nA(ke)?(M[K]=ke.value,!0):(console.warn(oA(`Invalid value passed for the ${K} option`,ke)),!1)},q=K=>ln(P,K);return{register:(K,re)=>{const ee=(et=>Ue(et.processor))(re)?(et=>{const st=(()=>{switch(et){case"array":return co;case"boolean":return Dt;case"function":return de;case"number":return rt;case"object":return it;case"string":return Ue;case"string[]":return o5;case"object[]":return mt=>Yo(mt,it);case"regexp":return mt=>Ao(mt,RegExp);default:return Bt}})();return mt=>g3(mt,st,`The value must be a ${et}.`)})(re.processor):re.processor,ke=((et,st,mt)=>{if(!fo(st)){const kt=g3(st,mt);if(nA(kt))return kt.value;console.error(oA(`Invalid default value passed for the "${et}" option`,kt))}})(K,re.default,ee);P[K]={...re,default:ke,processor:ee},Fn(M,K).orThunk(()=>Fn(O,K)).each(et=>j(K,et,ee))},isRegistered:q,get:K=>Fn(M,K).orThunk(()=>Fn(P,K).map(re=>re.default)).getOrUndefined(),set:(K,re)=>{if(q(K)){const ee=P[K];return ee.immutable?(console.error(`"${K}" is an immutable option and cannot be updated`),!1):j(K,re,ee.processor)}return console.warn(`"${K}" is not a registered option. Ensure the option has been registered before setting a value.`),!1},unset:K=>{const re=q(K);return re&&delete M[K],re},isSet:K=>ln(M,K)}})(0,c),(B=>{const O=B.options.register;O("id",{processor:"string",default:B.id}),O("selector",{processor:"string"}),O("target",{processor:"object"}),O("suffix",{processor:"string"}),O("cache_suffix",{processor:"string"}),O("base_url",{processor:"string"}),O("referrer_policy",{processor:"string",default:""}),O("language_load",{processor:"boolean",default:!0}),O("inline",{processor:"boolean",default:!1}),O("iframe_attrs",{processor:"object",default:{}}),O("doctype",{processor:"string",default:""}),O("document_base_url",{processor:"string",default:B.documentBaseUrl}),O("body_id",{processor:Wf(B,"tinymce"),default:"tinymce"}),O("body_class",{processor:Wf(B),default:""}),O("content_security_policy",{processor:"string",default:""}),O("br_in_pre",{processor:"boolean",default:!0}),O("forced_root_block",{processor:P=>{const M=Ue(P)&&on(P);return M?{value:P,valid:M}:{valid:!1,message:"Must be a non-empty string."}},default:"p"}),O("forced_root_block_attrs",{processor:"object",default:{}}),O("newline_behavior",{processor:P=>{const M=lo(["block","linebreak","invert","default"],P);return M?{value:P,valid:M}:{valid:!1,message:"Must be one of: block, linebreak, invert or default."}},default:"default"}),O("br_newline_selector",{processor:"string",default:".mce-toc h2,figcaption,caption"}),O("no_newline_selector",{processor:"string",default:""}),O("keep_styles",{processor:"boolean",default:!0}),O("end_container_on_empty_block",{processor:P=>Dt(P)||Ue(P)?{valid:!0,value:P}:{valid:!1,message:"Must be boolean or a string"},default:"blockquote"}),O("font_size_style_values",{processor:"string",default:"xx-small,x-small,small,medium,large,x-large,xx-large"}),O("font_size_legacy_values",{processor:"string",default:"xx-small,small,medium,large,x-large,xx-large,300%"}),O("font_size_classes",{processor:"string",default:""}),O("automatic_uploads",{processor:"boolean",default:!0}),O("images_reuse_filename",{processor:"boolean",default:!1}),O("images_replace_blob_uris",{processor:"boolean",default:!0}),O("icons",{processor:"string",default:""}),O("icons_url",{processor:"string",default:""}),O("images_upload_url",{processor:"string",default:""}),O("images_upload_base_path",{processor:"string",default:""}),O("images_upload_credentials",{processor:"boolean",default:!1}),O("images_upload_handler",{processor:"function"}),O("language",{processor:"string",default:"en"}),O("language_url",{processor:"string",default:""}),O("entity_encoding",{processor:"string",default:"named"}),O("indent",{processor:"boolean",default:!0}),O("indent_before",{processor:"string",default:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,details,summary,article,hgroup,aside,figure,figcaption,option,optgroup,datalist"}),O("indent_after",{processor:"string",default:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,details,summary,article,hgroup,aside,figure,figcaption,option,optgroup,datalist"}),O("indent_use_margin",{processor:"boolean",default:!1}),O("indentation",{processor:"string",default:"40px"}),O("content_css",{processor:P=>{const M=P===!1||Ue(P)||Yo(P,Ue);return M?Ue(P)?{value:oo(P.split(","),wt),valid:M}:co(P)?{value:P,valid:M}:P===!1?{value:[],valid:M}:{value:P,valid:M}:{valid:!1,message:"Must be false, a string or an array of strings."}},default:Cg(B)?[]:["default"]}),O("content_style",{processor:"string"}),O("content_css_cors",{processor:"boolean",default:!1}),O("font_css",{processor:P=>{const M=Ue(P)||Yo(P,Ue);return M?{value:co(P)?P:oo(P.split(","),wt),valid:M}:{valid:!1,message:"Must be a string or an array of strings."}},default:[]}),O("inline_boundaries",{processor:"boolean",default:!0}),O("inline_boundaries_selector",{processor:"string",default:"a[href],code,span.mce-annotation"}),O("object_resizing",{processor:P=>{const M=Dt(P)||Ue(P);return M?P===!1||qf.isiPhone()||qf.isiPad()?{value:"",valid:M}:{value:P===!0?"table,img,figure.image,div,video,iframe":P,valid:M}:{valid:!1,message:"Must be boolean or a string"}},default:!_v}),O("resize_img_proportional",{processor:"boolean",default:!0}),O("event_root",{processor:"object"}),O("service_message",{processor:"string"}),O("theme",{processor:P=>P===!1||Ue(P)||de(P),default:"silver"}),O("theme_url",{processor:"string"}),O("formats",{processor:"object"}),O("format_empty_lines",{processor:"boolean",default:!1}),O("format_noneditable_selector",{processor:"string",default:""}),O("preview_styles",{processor:P=>{const M=P===!1||Ue(P);return M?{value:P===!1?"":P,valid:M}:{valid:!1,message:"Must be false or a string"}},default:"font-family font-size font-weight font-style text-decoration text-transform color background-color border border-radius outline text-shadow"}),O("custom_ui_selector",{processor:"string",default:""}),O("hidden_input",{processor:"boolean",default:!0}),O("submit_patch",{processor:"boolean",default:!0}),O("encoding",{processor:"string"}),O("add_form_submit_trigger",{processor:"boolean",default:!0}),O("add_unload_trigger",{processor:"boolean",default:!0}),O("custom_undo_redo_levels",{processor:"number",default:0}),O("disable_nodechange",{processor:"boolean",default:!1}),O("readonly",{processor:"boolean",default:!1}),O("editable_root",{processor:"boolean",default:!0}),O("plugins",{processor:"string[]",default:[]}),O("external_plugins",{processor:"object"}),O("forced_plugins",{processor:"string[]"}),O("model",{processor:"string",default:B.hasPlugin("rtc")?"plugin":"dom"}),O("model_url",{processor:"string"}),O("block_unsupported_drop",{processor:"boolean",default:!0}),O("visual",{processor:"boolean",default:!0}),O("visual_table_class",{processor:"string",default:"mce-item-table"}),O("visual_anchor_class",{processor:"string",default:"mce-item-anchor"}),O("iframe_aria_text",{processor:"string",default:"Rich Text Area. Press ALT-0 for help."}),O("setup",{processor:"function"}),O("init_instance_callback",{processor:"function"}),O("url_converter",{processor:"function",default:B.convertURL}),O("url_converter_scope",{processor:"object",default:B}),O("urlconverter_callback",{processor:"function"}),O("allow_conditional_comments",{processor:"boolean",default:!1}),O("allow_html_data_urls",{processor:"boolean",default:!1}),O("allow_svg_data_urls",{processor:"boolean"}),O("allow_html_in_named_anchor",{processor:"boolean",default:!1}),O("allow_script_urls",{processor:"boolean",default:!1}),O("allow_unsafe_link_target",{processor:"boolean",default:!1}),O("convert_fonts_to_spans",{processor:"boolean",default:!0,deprecated:!0}),O("fix_list_elements",{processor:"boolean",default:!1}),O("preserve_cdata",{processor:"boolean",default:!1}),O("remove_trailing_brs",{processor:"boolean",default:!0}),O("pad_empty_with_br",{processor:"boolean",default:!1}),O("inline_styles",{processor:"boolean",default:!0,deprecated:!0}),O("element_format",{processor:"string",default:"html"}),O("entities",{processor:"string"}),O("schema",{processor:"string",default:"html5"}),O("convert_urls",{processor:"boolean",default:!0}),O("relative_urls",{processor:"boolean",default:!0}),O("remove_script_host",{processor:"boolean",default:!0}),O("custom_elements",{processor:"string"}),O("extended_valid_elements",{processor:"string"}),O("invalid_elements",{processor:"string"}),O("invalid_styles",{processor:Ri}),O("valid_children",{processor:"string"}),O("valid_classes",{processor:Ri}),O("valid_elements",{processor:"string"}),O("valid_styles",{processor:Ri}),O("verify_html",{processor:"boolean",default:!0}),O("auto_focus",{processor:P=>Ue(P)||P===!0}),O("browser_spellcheck",{processor:"boolean",default:!1}),O("protect",{processor:"array"}),O("images_file_types",{processor:"string",default:"jpeg,jpg,jpe,jfi,jif,jfif,png,gif,bmp,webp"}),O("deprecation_warnings",{processor:"boolean",default:!0}),O("a11y_advanced_options",{processor:"boolean",default:!1}),O("api_key",{processor:"string"}),O("paste_block_drop",{processor:"boolean",default:!1}),O("paste_data_images",{processor:"boolean",default:!0}),O("paste_preprocess",{processor:"function"}),O("paste_postprocess",{processor:"function"}),O("paste_webkit_styles",{processor:"string",default:"none"}),O("paste_remove_styles_if_webkit",{processor:"boolean",default:!0}),O("paste_merge_formats",{processor:"boolean",default:!0}),O("smart_paste",{processor:"boolean",default:!0}),O("paste_as_text",{processor:"boolean",default:!1}),O("paste_tab_spaces",{processor:"number",default:4}),O("text_patterns",{processor:P=>Yo(P,it)||P===!1?{value:kv(P===!1?[]:P),valid:!0}:{valid:!1,message:"Must be an array of objects or false."},default:[{start:"*",end:"*",format:"italic"},{start:"**",end:"**",format:"bold"},{start:"#",format:"h1"},{start:"##",format:"h2"},{start:"###",format:"h3"},{start:"####",format:"h4"},{start:"#####",format:"h5"},{start:"######",format:"h6"},{start:"1. ",cmd:"InsertOrderedList"},{start:"* ",cmd:"InsertUnorderedList"},{start:"- ",cmd:"InsertUnorderedList"}]}),O("text_patterns_lookup",{processor:P=>{return de(P)?{value:(M=P,j=>{const q=M(j);return kv(q)}),valid:!0}:{valid:!1,message:"Must be a single function"};var M},default:P=>[]}),O("noneditable_class",{processor:"string",default:"mceNonEditable"}),O("editable_class",{processor:"string",default:"mceEditable"}),O("noneditable_regexp",{processor:P=>Yo(P,Oo)?{value:P,valid:!0}:Oo(P)?{value:[P],valid:!0}:{valid:!1,message:"Must be a RegExp or an array of RegExp."},default:[]}),O("table_tab_navigation",{processor:"boolean",default:!0}),O("highlight_on_focus",{processor:"boolean",default:!1}),O("xss_sanitization",{processor:"boolean",default:!0}),O("details_initial_state",{processor:P=>{const M=lo(["inherited","collapsed","expanded"],P);return M?{value:P,valid:M}:{valid:!1,message:"Must be one of: inherited, collapsed, or expanded."}},default:"inherited"}),O("details_serialized_state",{processor:P=>{const M=lo(["inherited","collapsed","expanded"],P);return M?{value:P,valid:M}:{valid:!1,message:"Must be one of: inherited, collapsed, or expanded."}},default:"inherited"}),O("init_content_sync",{processor:"boolean",default:!1}),O("newdocument_content",{processor:"string",default:""}),O("force_hex_color",{processor:P=>{const M=["always","rgb_only","off"],j=lo(M,P);return j?{value:P,valid:j}:{valid:!1,message:`Must be one of: ${M.join(", ")}.`}},default:"off"}),O("sandbox_iframes",{processor:"boolean",default:!1}),O("convert_unsafe_embeds",{processor:"boolean",default:!1}),B.on("ScriptsLoaded",()=>{O("directionality",{processor:"string",default:Zi.isRtl()?"rtl":void 0}),O("placeholder",{processor:"string",default:i1.getAttrib(B.getElement(),"placeholder")})})})(i);const d=this.options.get;d("deprecation_warnings")&&((B,O)=>{((P,M)=>{const j=wE(P),q=cO(M),K=q.length>0,re=j.length>0,ee=M.theme==="mobile";if(K||re||ee){const ke=` +- `,et=ee?` + +Themes:${ke}mobile`:"",st=K?` + +Plugins:${ke}${q.join(ke)}`:"",mt=re?` + +Options:${ke}${j.join(ke)}`:"";console.warn("The following deprecated features are currently enabled and have been removed in TinyMCE 6.0. These features will no longer work and should be removed from the TinyMCE configuration. See https://www.tiny.cloud/docs/tinymce/6/migration-from-5x/ for more information."+et+st+mt)}})(B,O),((P,M)=>{const j=K2(P),q=dw(M),K=q.length>0,re=j.length>0;if(K||re){const ee=` +- `,ke=K?` + +Plugins:${ee}${q.map(hc).join(ee)}`:"",et=re?` + +Options:${ee}${j.join(ee)}`:"";console.warn("The following deprecated features are currently enabled but will be removed soon."+ke+et)}})(B,O)})(n,c);const u=d("suffix");u&&(a.suffix=u),this.suffix=a.suffix;const f=d("base_url");f&&a._setBaseUrl(f),this.baseUri=a.baseURI;const y=Hu(i);y&&(Jr.ScriptLoader._setReferrerPolicy(y),wr.DOM.styleSheetLoader._setReferrerPolicy(y));const v=Ov(i);Ze(v)&&wr.DOM.styleSheetLoader._setContentCssCors(v),bl.languageLoad=d("language_load"),bl.baseURL=a.baseURL,this.setDirty(!1),this.documentBaseURI=new Wu(tc(i),{base_uri:this.baseUri}),this.baseURI=this.baseUri,this.inline=Cg(i),this.hasVisual=_b(i),this.shortcuts=new Bk(this),this.editorCommands=new Nk(this),Yz(this);const k=d("cache_suffix");k&&(Rn.cacheSuffix=k.replace(/^[\?\&]+/,"")),this.ui={registry:sA(),styleSheetLoader:void 0,show:$t,hide:$t,setEnabled:$t,isEnabled:Bt},this.mode=(B=>{const O=bi("design"),P=bi({design:{activate:$t,deactivate:$t,editorReadOnly:!1},readonly:{activate:$t,deactivate:$t,editorReadOnly:!0}});return(M=>{M.serializer?Jz(M):M.on("PreInit",()=>{Jz(M)})})(B),(M=>{M.on("ShowCaret",j=>{$h(M)&&j.preventDefault()}),M.on("ObjectSelected",j=>{$h(M)&&j.preventDefault()})})(B),{isReadOnly:()=>$h(B),set:M=>((j,q,K,re)=>{if(re!==K.get()){if(!ln(q,re))throw new Error(`Editor mode '${re}' is invalid`);j.initialized?rA(j,K,q,re):j.on("init",()=>rA(j,K,q,re))}})(B,P.get(),O,M),get:()=>O.get(),register:(M,j)=>{P.set(((q,K,re)=>{if(lo(n5,K))throw new Error(`Cannot override default mode ${K}`);return{...q,[K]:{...re,deactivate:()=>{try{re.deactivate()}catch(ee){console.error(`problem while deactivating editor mode ${K}:`,ee)}}}}})(P.get(),M,j))}}})(i),a.dispatch("SetupEditor",{editor:this});const E=iu(i);de(E)&&E.call(i,i)}render(){(o=>{const n=o.id;Zi.setCode(vg(o));const a=()=>{Cf.unbind(window,"ready",a),o.render()};if(!zd.Event.domLoaded)return void Cf.bind(window,"ready",a);if(!o.getElement())return;const i=je(o.getElement()),c=oe(i);o.on("remove",()=>{$e(i.dom.attributes,u=>U(i,u.name)),Ee(i,c)}),o.ui.styleSheetLoader=((u,f)=>Hm.forElement(u,{contentCssCors:Ov(f),referrerPolicy:Hu(f)}))(i,o),Cg(o)?o.inline=!0:(o.orgVisibility=o.getElement().style.visibility,o.getElement().style.visibility="hidden");const d=o.getElement().form||Cf.getParent(n,"form");d&&(o.formElement=d,wb(o)&&!oi(o.getElement())&&(Cf.insertAfter(Cf.create("input",{type:"hidden",name:n}),n),o.hasHiddenInput=!0),o.formEventDelegate=u=>{o.dispatch(u.type,u)},Cf.bind(d,"submit reset",o.formEventDelegate),o.on("reset",()=>{o.resetContent()}),!Av(o)||d.submit.nodeType||d.submit.length||d._mceOldSubmit||(d._mceOldSubmit=d.submit,d.submit=()=>(o.editorManager.triggerSave(),o.setDirty(!1),d._mceOldSubmit(d)))),o.windowManager=uw(o),o.notificationManager=Q2(o),(u=>u.options.get("encoding")==="xml")(o)&&o.on("GetContent",u=>{u.save&&(u.content=Cf.encode(u.content))}),m1(o)&&o.on("submit",()=>{o.initialized&&o.save()}),kb(o)&&(o._beforeUnload=()=>{!o.initialized||o.destroyed||o.isHidden()||o.save({format:"raw",no_events:!0,set_dirty:!1})},o.editorManager.on("BeforeUnload",o._beforeUnload)),o.editorManager.add(o),YO(o,o.suffix)})(this)}focus(o){this.execCommand("mceFocus",!1,o)}hasFocus(){return rf(this)}translate(o){return Zi.translate(o)}getParam(o,n,a){const i=this.options;return i.isRegistered(o)||(Ze(a)?i.register(o,{processor:a,default:n}):i.register(o,{processor:Bt,default:n})),i.isSet(o)||fo(n)?i.get(o):n}hasPlugin(o,n){return!(!lo(qm(this),o)||n&&by.get(o)===void 0)}nodeChanged(o){this._nodeChangeDispatcher.nodeChanged(o)}addCommand(o,n,a){this.editorCommands.addCommand(o,n,a)}addQueryStateHandler(o,n,a){this.editorCommands.addQueryStateHandler(o,n,a)}addQueryValueHandler(o,n,a){this.editorCommands.addQueryValueHandler(o,n,a)}addShortcut(o,n,a,i){this.shortcuts.add(o,n,a,i)}execCommand(o,n,a,i){return this.editorCommands.execCommand(o,n,a,i)}queryCommandState(o){return this.editorCommands.queryCommandState(o)}queryCommandValue(o){return this.editorCommands.queryCommandValue(o)}queryCommandSupported(o){return this.editorCommands.queryCommandSupported(o)}show(){const o=this;o.hidden&&(o.hidden=!1,o.inline?o.getBody().contentEditable="true":(Af.show(o.getContainer()),Af.hide(o.id)),o.load(),o.dispatch("show"))}hide(){const o=this;o.hidden||(o.save(),o.inline?(o.getBody().contentEditable="false",o===o.editorManager.focusedEditor&&(o.editorManager.focusedEditor=null)):(Af.hide(o.getContainer()),Af.setStyle(o.id,"display",o.orgDisplay)),o.hidden=!0,o.dispatch("hide"))}isHidden(){return this.hidden}setProgressState(o,n){this.dispatch("ProgressState",{state:o,time:n})}load(o={}){const n=this,a=n.getElement();if(n.removed)return"";if(a){const i={...o,load:!0},c=oi(a)?a.value:a.innerHTML,d=n.setContent(c,i);return i.no_events||n.dispatch("LoadContent",{...i,element:a}),d}return""}save(o={}){const n=this;let a=n.getElement();if(!a||!n.initialized||n.removed)return"";const i={...o,save:!0,element:a};let c=n.getContent(i);const d={...i,content:c};if(d.no_events||n.dispatch("SaveContent",d),d.format==="raw"&&n.dispatch("RawSaveContent",d),c=d.content,oi(a))a.value=c;else{!o.is_removing&&n.inline||(a.innerHTML=c);const u=Af.getParent(n.id,"form");u&&a5(u.elements,f=>f.name!==n.id||(f.value=c,!1))}return d.element=i.element=a=null,d.set_dirty!==!1&&n.setDirty(!1),c}setContent(o,n){return v0(this,o,n)}getContent(o){return((n,a={})=>{const i=((c,d)=>({...c,format:d,get:!0,getInner:!0}))(a,a.format?a.format:"html");return L2(n,i).fold(R,c=>{const d=((u,f)=>iw(u).editor.getContent(f))(n,c);return I2(n,d,c)})})(this,o)}insertContent(o,n){n&&(o=Fk({content:o},n)),this.execCommand("mceInsertContent",!1,o)}resetContent(o){o===void 0?v0(this,this.startContent,{format:"raw"}):v0(this,o),this.undoManager.reset(),this.setDirty(!1),this.nodeChanged()}isDirty(){return!this.isNotDirty}setDirty(o){const n=!this.isNotDirty;this.isNotDirty=!o,o&&o!==n&&this.dispatch("dirty")}getContainer(){const o=this;return o.container||(o.container=o.editorContainer||Af.get(o.id+"_parent")),o.container}getContentAreaContainer(){return this.contentAreaContainer}getElement(){return this.targetElm||(this.targetElm=Af.get(this.id)),this.targetElm}getWin(){const o=this;if(!o.contentWindow){const n=o.iframeElement;n&&(o.contentWindow=n.contentWindow)}return o.contentWindow}getDoc(){const o=this;if(!o.contentDocument){const n=o.getWin();n&&(o.contentDocument=n.document)}return o.contentDocument}getBody(){var o,n;const a=this.getDoc();return(n=(o=this.bodyElement)!==null&&o!==void 0?o:a?.body)!==null&&n!==void 0?n:null}convertURL(o,n,a){const i=this,c=i.options.get,d=Mv(i);if(de(d))return d.call(i,o,a,!0,n);if(!c("convert_urls")||a==="link"||it(a)&&a.nodeName==="LINK"||o.indexOf("file:")===0||o.length===0)return o;const u=new Wu(o);return u.protocol!=="http"&&u.protocol!=="https"&&u.protocol!==""?o:c("relative_urls")?i.documentBaseURI.toRelative(o):o=i.documentBaseURI.toAbsolute(o,c("remove_script_host"))}addVisual(o){((n,a)=>{((i,c)=>{Li(i).editor.addVisual(c)})(n,a)})(this,o)}setEditableRoot(o){((n,a)=>{n._editableRoot!==a&&(n._editableRoot=a,n.readonly||(n.getBody().contentEditable=String(n.hasEditableRoot()),n.nodeChanged()),((i,c)=>{i.dispatch("EditableRootStateChange",{state:c})})(n,a))})(this,o)}hasEditableRoot(){return this._editableRoot}remove(){(o=>{if(!o.removed){const{_selectionOverrides:n,editorUpload:a}=o,i=o.getBody(),c=o.getElement();i&&o.save({is_removing:!0}),o.removed=!0,o.unbindAllNativeEvents(),o.hasHiddenInput&&Ze(c?.nextSibling)&&Th.remove(c.nextSibling),(d=>{d.dispatch("remove")})(o),o.editorManager.remove(o),!o.inline&&i&&(d=>{Th.setStyle(d.id,"display",d.orgDisplay)})(o),(d=>{d.dispatch("detach")})(o),Th.remove(o.getContainer()),Jm(n),Jm(a),o.destroy()}})(this)}destroy(o){((n,a)=>{const{selection:i,dom:c}=n;n.destroyed||(a||n.removed?(a||(n.editorManager.off("beforeunload",n._beforeUnload),n.theme&&n.theme.destroy&&n.theme.destroy(),Jm(i),Jm(c)),(d=>{const u=d.formElement;u&&(u._mceOldSubmit&&(u.submit=u._mceOldSubmit,delete u._mceOldSubmit),Th.unbind(u,"submit reset",d.formEventDelegate))})(n),(d=>{const u=d;u.contentAreaContainer=u.formElement=u.container=u.editorContainer=null,u.bodyElement=u.contentDocument=u.contentWindow=null,u.iframeElement=u.targetElm=null;const f=d.selection;if(f){const y=f.dom;u.selection=f.win=f.dom=y.doc=null}})(n),n.destroyed=!0):n.remove())})(this,o)}uploadImages(){return this.editorUpload.uploadImages()}_scanForImages(){return this.editorUpload.scanForImages()}}const Zh=wr.DOM,Ik=go.each;let Pk,qh=!1,Zc=[];const gp=t=>{const o=t.type;Ik(pp.get(),n=>{switch(o){case"scroll":n.dispatch("ScrollWindow",t);break;case"resize":n.dispatch("ResizeWindow",t)}})},Uy=t=>{if(t!==qh){const o=wr.DOM;t?(o.bind(window,"resize",gp),o.bind(window,"scroll",gp)):(o.unbind(window,"resize",gp),o.unbind(window,"scroll",gp)),qh=t}},Wh=t=>{const o=Zc;return Zc=gt(Zc,n=>t!==n),pp.activeEditor===t&&(pp.activeEditor=Zc.length>0?Zc[0]:null),pp.focusedEditor===t&&(pp.focusedEditor=null),o.length!==Zc.length},h3=document.compatMode!=="CSS1Compat",pp={...zf,baseURI:null,baseURL:null,defaultOptions:{},documentBaseURL:null,suffix:null,majorVersion:"6",minorVersion:"8.3",releaseDate:"2024-02-08",i18n:Zi,activeEditor:null,focusedEditor:null,setup(){const t=this;let o="",n="",a=Wu.getDocumentBaseUrl(document.location);/^[^:]+:\/\/\/?[^\/]+\//.test(a)&&(a=a.replace(/[\?#].*$/,"").replace(/[\/\\][^\/]+$/,""),/[\/\\]$/.test(a)||(a+="/"));const i=window.tinymce||window.tinyMCEPreInit;if(i)o=i.base||i.baseURL,n=i.suffix;else{const d=document.getElementsByTagName("script");for(let u=0;u{bl.PluginManager.urls[c]=i})},init(t){const o=this;let n;const a=go.makeMap("area base basefont br col frame hr img input isindex link meta param embed source wbr track colgroup option table tbody tfoot thead tr th td script noscript style textarea video audio iframe object menu"," ");let i=d=>{n=d};const c=()=>{let d=0;const u=[];let f;Zh.unbind(window,"ready",c),(y=>{const v=t.onpageload;v&&v.apply(o,[])})(),f=((y,v)=>{const k=[],E=de(v)?B=>To(k,O=>v(O,B)):B=>lo(k,B);for(let B=0,O=y.length;BRn.browser.isIE()||Rn.browser.isEdge()?(yy("TinyMCE does not support the browser you are using. For a list of supported browsers please see: https://www.tiny.cloud/docs/tinymce/6/support/#supportedwebbrowsers"),[]):h3?(yy("Failed to initialize the editor as the document is not in standards mode. TinyMCE requires standards mode."),[]):Ue(y.selector)?Zh.select(y.selector):Ze(y.target)?[y.target]:[])(t)),go.each(f,y=>{var v;(v=o.get(y.id))&&v.initialized&&!(v.getContainer()||v.getBody()).parentNode&&(Wh(v),v.unbindAllNativeEvents(),v.destroy(!0),v.removed=!0)}),f=go.grep(f,y=>!o.get(y.id)),f.length===0?i([]):Ik(f,y=>{((v,k)=>v.inline&&k.tagName.toLowerCase()in a)(t,y)?yy("Could not initialize inline editor on invalid inline target element",y):((v,k,E)=>{const B=new Lk(v,k,o);u.push(B),B.on("init",()=>{++d===f.length&&i(u)}),B.targetElm=B.targetElm||E,B.render()})((v=>{let k=v.id;return k||(k=Fn(v,"name").filter(E=>!Zh.get(E)).getOrThunk(Zh.uniqueId),v.setAttribute("id",k)),k})(y),t,y)})};return Zh.bind(window,"ready",c),new Promise(d=>{n?d(n):i=u=>{d(u)}})},get(t){return arguments.length===0?Zc.slice(0):Ue(t)?Fe(Zc,o=>o.id===t).getOr(null):rt(t)&&Zc[t]?Zc[t]:null},add(t){const o=this,n=o.get(t.id);return n===t||(n===null&&Zc.push(t),Uy(!0),o.activeEditor=t,o.dispatch("AddEditor",{editor:t}),Pk||(Pk=a=>{const i=o.dispatch("BeforeUnload");if(i.returnValue)return a.preventDefault(),a.returnValue=i.returnValue,i.returnValue},window.addEventListener("beforeunload",Pk))),t},createEditor(t,o){return this.add(new Lk(t,o,this))},remove(t){const o=this;let n;if(t){if(!Ue(t))return n=t,he(o.get(n.id))?null:(Wh(n)&&o.dispatch("RemoveEditor",{editor:n}),Zc.length===0&&window.removeEventListener("beforeunload",Pk),n.remove(),Uy(Zc.length>0),n);Ik(Zh.select(t),a=>{n=o.get(a.id),n&&o.remove(n)})}else for(let a=Zc.length-1;a>=0;a--)o.remove(Zc[a])},execCommand(t,o,n){var a;const i=this,c=it(n)?(a=n.id)!==null&&a!==void 0?a:n.index:n;switch(t){case"mceAddEditor":if(!i.get(c)){const d=n.options;new Lk(c,d,i).render()}return!0;case"mceRemoveEditor":{const d=i.get(c);return d&&d.remove(),!0}case"mceToggleEditor":{const d=i.get(c);return d?(d.isHidden()?d.show():d.hide(),!0):(i.execCommand("mceAddEditor",!1,n),!0)}}return!!i.activeEditor&&i.activeEditor.execCommand(t,o,n)},triggerSave:()=>{Ik(Zc,t=>{t.save()})},addI18n:(t,o)=>{Zi.add(t,o)},translate:t=>Zi.translate(t),setActive(t){const o=this.activeEditor;this.activeEditor!==t&&(o&&o.dispatch("deactivate",{relatedTarget:t}),t.dispatch("activate",{relatedTarget:o})),this.activeEditor=t},_setBaseUrl(t){this.baseURL=new Wu(this.documentBaseURL).toAbsolute(t.replace(/\/+$/,"")),this.baseURI=new Wu(this.baseURL)}};pp.setup();const iA=(()=>{const t=Ec();return{FakeClipboardItem:o=>({items:o,types:ut(o),getType:n=>Fn(o,n).getOrUndefined()}),write:o=>{t.set(o)},read:()=>t.get().getOrUndefined(),clear:t.clear}})(),Hk=Math.min,Gh=Math.max,dv=Math.round,b3=(t,o,n)=>{let a=o.x,i=o.y;const c=t.w,d=t.h,u=o.w,f=o.h,y=(n||"").split("");return y[0]==="b"&&(i+=f),y[1]==="r"&&(a+=u),y[0]==="c"&&(i+=dv(f/2)),y[1]==="c"&&(a+=dv(u/2)),y[3]==="b"&&(i-=d),y[4]==="r"&&(a-=c),y[3]==="c"&&(i-=dv(d/2)),y[4]==="c"&&(a-=dv(c/2)),Of(a,i,c,d)},Of=(t,o,n,a)=>({x:t,y:o,w:n,h:a}),lA={inflate:(t,o,n)=>Of(t.x-o,t.y-n,t.w+2*o,t.h+2*n),relativePosition:b3,findBestRelativePosition:(t,o,n,a)=>{for(let i=0;i=n.x&&c.x+c.w<=n.w+n.x&&c.y>=n.y&&c.y+c.h<=n.h+n.y)return a[i]}return null},intersect:(t,o)=>{const n=Gh(t.x,o.x),a=Gh(t.y,o.y),i=Hk(t.x+t.w,o.x+o.w),c=Hk(t.y+t.h,o.y+o.h);return i-n<0||c-a<0?null:Of(n,a,i-n,c-a)},clamp:(t,o,n)=>{let a=t.x,i=t.y,c=t.x+t.w,d=t.y+t.h;const u=o.x+o.w,f=o.y+o.h,y=Gh(0,o.x-a),v=Gh(0,o.y-i),k=Gh(0,c-u),E=Gh(0,d-f);return a+=y,i+=v,n&&(c+=y,d+=v,a-=k,i-=E),c-=k,d-=E,Of(a,i,c-a,d-i)},create:Of,fromClientRect:t=>Of(t.left,t.top,t.width,t.height)},cA=(()=>{const t={},o={},n={};return{load:(a,i)=>{const c=`Script at URL "${i}" failed to load`,d=`Script at URL "${i}" did not call \`tinymce.Resource.add('${a}', data)\` within 1 second`;if(t[a]!==void 0)return t[a];{const u=new Promise((f,y)=>{const v=((k,E,B=1e3)=>{let O=!1,P=null;const M=K=>(...re)=>{O||(O=!0,P!==null&&(clearTimeout(P),P=null),K.apply(null,re))},j=M(k),q=M(E);return{start:(...K)=>{O||P!==null||(P=setTimeout(()=>q.apply(null,K),B))},resolve:j,reject:q}})(f,y);o[a]=v.resolve,Jr.ScriptLoader.loadScript(i).then(()=>v.start(d),()=>v.reject(c))});return t[a]=u,u}},add:(a,i)=>{o[a]!==void 0&&(o[a](i),delete o[a]),t[a]=Promise.resolve(i),n[a]=i},has:a=>a in n,get:a=>n[a],unload:a=>{delete t[a]}}})();let Kh;try{const t="__storage_test__";Kh=window.localStorage,Kh.setItem(t,t),Kh.removeItem(t)}catch{Kh=(()=>{let o={},n=[];const a={getItem:i=>o[i]||null,setItem:(i,c)=>{n.push(i),o[i]=String(c)},key:i=>n[i],removeItem:i=>{n=n.filter(c=>c===i),delete o[i]},clear:()=>{n=[],o={}},length:0};return Object.defineProperty(a,"length",{get:()=>n.length,configurable:!1,enumerable:!1}),a})()}const s5={geom:{Rect:lA},util:{Delay:uu,Tools:go,VK:mn,URI:Wu,EventDispatcher:u3,Observable:zf,I18n:Zi,LocalStorage:Kh,ImageUploader:t=>{const o=EE(),n=gw(t,o);return{upload:(a,i=!0)=>n.upload(a,i?tC(t):void 0)}}},dom:{EventUtils:zd,TreeWalker:Ns,TextSeeker:um,DOMUtils:wr,ScriptLoader:Jr,RangeUtils:nf,Serializer:Xg,StyleSheetLoader:kp,ControlSelection:P3,BookmarkManager:tf,Selection:y0,Event:zd.Event},html:{Styles:Xn,Entities:Sc,Node:pc,Schema:Du,DomParser:dy,Writer:b4,Serializer:af},Env:Rn,AddOnManager:bl,Annotator:km,Formatter:_0,UndoManager:iC,EditorCommands:Nk,WindowManager:uw,NotificationManager:Q2,EditorObservable:tA,Shortcuts:Bk,Editor:Lk,FocusManager:t4,EditorManager:pp,DOM:wr.DOM,ScriptLoader:Jr.ScriptLoader,PluginManager:by,ThemeManager:Jg,ModelManager:Kl,IconManager:w0,Resource:cA,FakeClipboard:iA,trim:go.trim,isArray:go.isArray,is:go.is,toArray:go.toArray,makeMap:go.makeMap,each:go.each,map:go.map,grep:go.grep,inArray:go.inArray,extend:go.extend,walk:go.walk,resolve:go.resolve,explode:go.explode,_addCacheSuffix:go._addCacheSuffix},y3=go.extend(pp,s5);(t=>{window.tinymce=t,window.tinyMCE=t})(y3),(t=>{try{xo.exports=t}catch{}})(y3)})()})(GM);tinymce.IconManager.add("default",{icons:{"accessibility-check":'',"accordion-toggle":'',accordion:'',"action-next":'',"action-prev":'',addtag:'',"ai-prompt":'',ai:'',"align-center":'',"align-justify":'',"align-left":'',"align-none":'',"align-right":'',"arrow-left":'',"arrow-right":'',bold:'',bookmark:'',"border-style":'',"border-width":'',brightness:'',browse:'',cancel:'',"cell-background-color":'',"cell-border-color":'',"change-case":'',"character-count":'',"checklist-rtl":'',checklist:'',checkmark:'',"chevron-down":'',"chevron-left":'',"chevron-right":'',"chevron-up":'',close:'',"code-sample":'',"color-levels":'',"color-picker":'',"color-swatch-remove-color":'',"color-swatch":'',"comment-add":'',comment:'',contrast:'',copy:'',crop:'',"cut-column":'',"cut-row":'',cut:'',"document-properties":'',drag:'',"duplicate-column":'',"duplicate-row":'',duplicate:'',"edit-block":'',"edit-image":'',"embed-page":'',embed:'',emoji:'',export:'',fill:'',"flip-horizontally":'',"flip-vertically":'',footnote:'',"format-painter":'',format:'',fullscreen:'',gallery:'',gamma:'',help:'',"highlight-bg-color":'',home:'',"horizontal-rule":'',"image-options":'',image:'',indent:'',info:'',"insert-character":'',"insert-time":'',invert:'',italic:'',language:'',"line-height":'',line:'',link:'',"list-bull-circle":'',"list-bull-default":'',"list-bull-square":'',"list-num-default-rtl":'',"list-num-default":'',"list-num-lower-alpha-rtl":'',"list-num-lower-alpha":'',"list-num-lower-greek-rtl":'',"list-num-lower-greek":'',"list-num-lower-roman-rtl":'',"list-num-lower-roman":'',"list-num-upper-alpha-rtl":'',"list-num-upper-alpha":'',"list-num-upper-roman-rtl":'',"list-num-upper-roman":'',lock:'',ltr:'',minus:'',"more-drawer":'',"new-document":'',"new-tab":'',"non-breaking":'',notice:'',"ordered-list-rtl":'',"ordered-list":'',orientation:'',outdent:'',"page-break":'',paragraph:'',"paste-column-after":'',"paste-column-before":'',"paste-row-after":'',"paste-row-before":'',"paste-text":'',paste:'',"permanent-pen":'',plus:'',preferences:'',preview:'',print:'',quote:'',redo:'',reload:'',"remove-formatting":'',remove:'',"resize-handle":'',resize:'',"restore-draft":'',"rotate-left":'',"rotate-right":'',rtl:'',save:'',search:'',"select-all":'',selected:'',send:'',settings:'',sharpen:'',sourcecode:'',"spell-check":'',"strike-through":'',subscript:'',superscript:'',"table-caption":'',"table-cell-classes":'',"table-cell-properties":'',"table-cell-select-all":'',"table-cell-select-inner":'',"table-classes":'',"table-delete-column":'',"table-delete-row":'',"table-delete-table":'',"table-insert-column-after":'',"table-insert-column-before":'',"table-insert-row-above":'',"table-insert-row-after":'',"table-left-header":'',"table-merge-cells":'',"table-row-numbering-rtl":'',"table-row-numbering":'',"table-row-properties":'',"table-split-cells":'',"table-top-header":'',table:'',"template-add":'',template:'',"temporary-placeholder":'',"text-color":'',"text-size-decrease":'',"text-size-increase":'',toc:'',translate:'',typography:'',underline:'',undo:'',unlink:'',unlock:'',"unordered-list":'',unselected:'',upload:'',user:'',"vertical-align":'',visualblocks:'',visualchars:'',warning:'',"zoom-in":'',"zoom-out":''}});(function(){const xo=Object.getPrototypeOf,Ko=(e,r,s)=>{var l;return!!s(e,r.prototype)||((l=e.constructor)===null||l===void 0?void 0:l.name)===r.name},Po=e=>r=>(s=>{const l=typeof s;return s===null?"null":l==="object"&&Array.isArray(s)?"array":l==="object"&&Ko(s,String,(m,g)=>g.isPrototypeOf(m))?"string":l})(r)===e,en=e=>r=>typeof r===e,tn=e=>r=>e===r,to=Po("string"),Lo=Po("object"),jt=e=>((r,s)=>Lo(r)&&Ko(r,s,(l,m)=>xo(l)===m))(e,Object),Co=Po("array"),Ro=tn(null),jo=en("boolean"),an=tn(void 0),Ao=e=>e==null,Ue=e=>!Ao(e),it=en("function"),So=en("number"),co=(e,r)=>{if(Co(e)){for(let s=0,l=e.length;s{},Dt=e=>()=>e(),fo=(e,r)=>(...s)=>e(r.apply(null,s)),me=e=>()=>e,Ze=e=>e,de=(e,r)=>e===r;function rt(e,...r){return(...s)=>{const l=r.concat(s);return e.apply(null,l)}}const Yo=e=>r=>!e(r),$t=e=>()=>{throw new Error(e)},gn=e=>e(),Bo=me(!1),Ct=me(!0);class R{constructor(r,s){this.tag=r,this.value=s}static some(r){return new R(!0,r)}static none(){return R.singletonNone}fold(r,s){return this.tag?s(this.value):r()}isSome(){return this.tag}isNone(){return!this.tag}map(r){return this.tag?R.some(r(this.value)):R.none()}bind(r){return this.tag?r(this.value):R.none()}exists(r){return this.tag&&r(this.value)}forall(r){return!this.tag||r(this.value)}filter(r){return!this.tag||r(this.value)?this:R.none()}getOr(r){return this.tag?this.value:r}or(r){return this.tag?this:r}getOrThunk(r){return this.tag?this.value:r()}orThunk(r){return this.tag?this:r()}getOrDie(r){if(this.tag)return this.value;throw new Error(r??"Called getOrDie on None")}static from(r){return Ue(r)?R.some(r):R.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(r){this.tag&&r(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}R.singletonNone=new R(!1);const qe=Array.prototype.slice,Je=Array.prototype.indexOf,lt=Array.prototype.push,Mt=(e,r)=>Je.call(e,r),ht=(e,r)=>{const s=Mt(e,r);return s===-1?R.none():R.some(s)},Rt=(e,r)=>Mt(e,r)>-1,uo=(e,r)=>{for(let s=0,l=e.length;s{const s=[];for(let l=0;l{const s=[];for(let l=0;l{const s=e.length,l=new Array(s);for(let m=0;m{for(let s=0,l=e.length;s{const s=[],l=[];for(let m=0,g=e.length;m{const s=[];for(let l=0,m=e.length;l(((l,m)=>{for(let g=l.length-1;g>=0;g--)m(l[g],g)})(e,(l,m)=>{s=r(s,l,m)}),s),To=(e,r,s)=>(Ie(e,(l,m)=>{s=r(s,l,m)}),s),oo=(e,r)=>((s,l,m)=>{for(let g=0,h=s.length;g{for(let s=0,l=e.length;s{const r=[];for(let s=0,l=e.length;s$e(dt(e,r)),gt=(e,r)=>{for(let s=0,l=e.length;s{const r=qe.call(e,0);return r.reverse(),r},Oe=(e,r)=>Pt(e,s=>!Rt(r,s)),We=(e,r)=>{const s={};for(let l=0,m=e.length;l[e],ge=(e,r)=>{const s=qe.call(e,0);return s.sort(r),s},Me=(e,r)=>r>=0&&rMe(e,0),ze=e=>Me(e,e.length-1),Ge=it(Array.from)?Array.from:e=>qe.call(e),Gt=(e,r)=>{for(let s=0;s{const s=Vt(e);for(let l=0,m=s.length;lGn(e,(s,l)=>({k:l,v:r(s,l)})),Gn=(e,r)=>{const s={};return $o(e,(l,m)=>{const g=r(l,m);s[g.k]=g.v}),s},Pn=e=>(r,s)=>{e[s]=r},zn=(e,r,s,l)=>{$o(e,(m,g)=>{(r(m,g)?s:l)(m,g)})},ut=(e,r)=>{const s={};return zn(e,r,Pn(s),he),s},zt=(e,r)=>{const s=[];return $o(e,(l,m)=>{s.push(r(l,m))}),s},Ft=(e,r)=>{const s=Vt(e);for(let l=0,m=s.length;lzt(e,Ze),Xt=(e,r)=>Vo(e,r)?R.from(e[r]):R.none(),Vo=(e,r)=>Xo.call(e,r),$n=(e,r)=>Vo(e,r)&&e[r]!==void 0&&e[r]!==null,Rr=(e,r,s=de)=>e.exists(l=>s(l,r)),Wt=e=>{const r=[],s=l=>{r.push(l)};for(let l=0;le.isSome()&&r.isSome()?R.some(s(e.getOrDie(),r.getOrDie())):R.none(),Fn=(e,r)=>e!=null?R.some(r(e)):R.none(),ln=(e,r)=>e?R.some(r):R.none(),xr=(e,r,s)=>r===""||e.length>=r.length&&e.substr(s,s+r.length)===r,Ys=(e,r)=>Pa(e,r)?((s,l)=>s.substring(l))(e,r.length):e,Yr=(e,r,s=0,l)=>{const m=e.indexOf(r,s);return m!==-1&&(!!an(l)||m+r.length<=l)},Pa=(e,r)=>xr(e,r,0),cs=(e,r)=>xr(e,r,e.length-r.length),Ha=(Gi=/^\s+|\s+$/g,e=>e.replace(Gi,"")),ja=e=>e.length>0,$s=e=>!ja(e),Us=e=>e.style!==void 0&&it(e.style.getPropertyValue),_a=e=>{if(e==null)throw new Error("Node cannot be null or undefined");return{dom:e}},tt=(e,r)=>{const s=(r||document).createElement("div");if(s.innerHTML=e,!s.hasChildNodes()||s.childNodes.length>1){const l="HTML does not have a single root node";throw console.error(l,e),new Error(l)}return _a(s.childNodes[0])},_t=(e,r)=>{const s=(r||document).createElement(e);return _a(s)},Mo=(e,r)=>{const s=(r||document).createTextNode(e);return _a(s)},St=_a,zr=typeof window<"u"?window:Function("return this;")(),kr=(e,r)=>((s,l)=>{let m=l??zr;for(let g=0;g{const r=kr("ownerDocument.defaultView",e);return Lo(e)&&((s=>((l,m)=>{const g=((h,x)=>kr(h,x))(l,m);if(g==null)throw new Error(l+" not available on this browser");return g})("HTMLElement",s))(r).prototype.isPrototypeOf(e)||/^HTML\w*Element$/.test(Is(e).constructor.name))},gr=e=>e.dom.nodeName.toLowerCase(),De=e=>r=>(s=>s.dom.nodeType)(r)===e,Ae=e=>wt(e)&&Xr(e.dom),wt=De(1),It=De(3),dn=De(9),on=De(11),sr=e=>r=>wt(r)&&gr(r)===e,Vr=(e,r)=>{const s=e.dom;if(s.nodeType!==1)return!1;{const l=s;if(l.matches!==void 0)return l.matches(r);if(l.msMatchesSelector!==void 0)return l.msMatchesSelector(r);if(l.webkitMatchesSelector!==void 0)return l.webkitMatchesSelector(r);if(l.mozMatchesSelector!==void 0)return l.mozMatchesSelector(r);throw new Error("Browser lacks native selectors")}},Br=e=>e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11||e.childElementCount===0,Jo=(e,r)=>e.dom===r.dom,Ce=(e,r)=>{const s=e.dom,l=r.dom;return s!==l&&s.contains(l)},Ne=e=>St(e.dom.ownerDocument),Zt=e=>dn(e)?e:Ne(e),Io=e=>St(Zt(e).dom.documentElement),Ho=e=>St(Zt(e).dom.defaultView),nn=e=>R.from(e.dom.parentNode).map(St),Go=e=>R.from(e.dom.parentElement).map(St),hn=e=>R.from(e.dom.offsetParent).map(St),wn=e=>dt(e.dom.childNodes,St),Un=(e,r)=>{const s=e.dom.childNodes;return R.from(s[r]).map(St)},Ar=e=>Un(e,0),ra=(e,r)=>({element:e,offset:r}),Xs=(e,r)=>{const s=wn(e);return s.length>0&&ron(e)&&Ue(e.dom.host),mi=it(Element.prototype.attachShadow)&&it(Node.prototype.getRootNode),Wr=me(mi),rr=mi?e=>St(e.dom.getRootNode()):Zt,Sr=e=>Zs(e)?e:St(Zt(e).dom.body),va=e=>{const r=rr(e);return Zs(r)?R.some(r):R.none()},Cs=e=>St(e.dom.host),za=e=>{const r=It(e)?e.dom.parentNode:e.dom;if(r==null||r.ownerDocument===null)return!1;const s=r.ownerDocument;return va(St(r)).fold(()=>s.body.contains(r),(l=za,m=Cs,g=>l(m(g))));var l,m},ws=()=>As(St(document)),As=e=>{const r=e.dom.body;if(r==null)throw new Error("Body is not available yet");return St(r)},Aa=(e,r,s)=>{if(!(to(s)||jo(s)||So(s)))throw console.error("Invalid call to Attribute.set. Key ",r,":: Value ",s,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(r,s+"")},Kn=(e,r,s)=>{Aa(e.dom,r,s)},Os=(e,r)=>{const s=e.dom;$o(r,(l,m)=>{Aa(s,m,l)})},Ma=(e,r)=>{const s=e.dom.getAttribute(r);return s===null?void 0:s},Ca=(e,r)=>R.from(Ma(e,r)),ds=(e,r)=>{const s=e.dom;return!(!s||!s.hasAttribute)&&s.hasAttribute(r)},xa=(e,r)=>{e.dom.removeAttribute(r)},Rn=(e,r,s)=>{if(!to(s))throw console.error("Invalid call to CSS.set. Property ",r,":: Value ",s,":: Element ",e),new Error("CSS value must be a string: "+s);Us(e)&&e.style.setProperty(r,s)},Hi=(e,r)=>{Us(e)&&e.style.removeProperty(r)},Bn=(e,r,s)=>{const l=e.dom;Rn(l,r,s)},ji=(e,r)=>{const s=e.dom;$o(r,(l,m)=>{Rn(s,m,l)})},go=(e,r)=>{const s=e.dom;$o(r,(l,m)=>{l.fold(()=>{Hi(s,m)},g=>{Rn(s,m,g)})})},aa=(e,r)=>{const s=e.dom,l=window.getComputedStyle(s).getPropertyValue(r);return l!==""||za(e)?l:Ss(s,r)},Ss=(e,r)=>Us(e)?e.style.getPropertyValue(r):"",Ir=(e,r)=>{const s=e.dom,l=Ss(s,r);return R.from(l).filter(m=>m.length>0)},gi=e=>{const r={},s=e.dom;if(Us(s))for(let l=0;l{const l=_t(e);return Bn(l,r,s),Ir(l,r).isSome()},Pr=(e,r)=>{const s=e.dom;Hi(s,r),Rr(Ca(e,"style").map(Ha),"")&&xa(e,"style")},ne=e=>e.dom.offsetWidth,Be=(e,r)=>{const s=m=>{const g=r(m);if(g<=0||g===null){const h=aa(m,e);return parseFloat(h)||0}return g},l=(m,g)=>To(g,(h,x)=>{const w=aa(m,x),S=w===void 0?0:parseInt(w,10);return isNaN(S)?h:h+S},0);return{set:(m,g)=>{if(!So(g)&&!g.match(/^[0-9]+$/))throw new Error(e+".set accepts only positive integer values. Value was "+g);const h=m.dom;Us(h)&&(h.style[e]=g+"px")},get:s,getOuter:s,aggregate:l,max:(m,g,h)=>{const x=l(m,h);return g>x?g-x:0}}},Pe=Be("height",e=>{const r=e.dom;return za(e)?r.getBoundingClientRect().height:r.offsetHeight}),Nt=e=>Pe.get(e),ho=e=>Pe.getOuter(e),bn=(e,r)=>({left:e,top:r,translate:(s,l)=>bn(e+s,r+l)}),kn=bn,_r=(e,r)=>e!==void 0?e:r!==void 0?r:0,Or=e=>{const r=e.dom.ownerDocument,s=r.body,l=r.defaultView,m=r.documentElement;if(s===e.dom)return kn(s.offsetLeft,s.offsetTop);const g=_r(l?.pageYOffset,m.scrollTop),h=_r(l?.pageXOffset,m.scrollLeft),x=_r(m.clientTop,s.clientTop),w=_r(m.clientLeft,s.clientLeft);return Sa(e).translate(h-w,g-x)},Sa=e=>{const r=e.dom,s=r.ownerDocument.body;return s===r?kn(s.offsetLeft,s.offsetTop):za(e)?(l=>{const m=l.getBoundingClientRect();return kn(m.left,m.top)})(r):kn(0,0)},ma=Be("width",e=>e.dom.offsetWidth),Ga=e=>ma.get(e),Q=e=>ma.getOuter(e),Ee=e=>{let r,s=!1;return(...l)=>(s||(s=!0,r=e.apply(null,l)),r)},bt=()=>wo(0,0),wo=(e,r)=>({major:e,minor:r}),Zn={nu:wo,detect:(e,r)=>{const s=String(r).toLowerCase();return e.length===0?bt():((l,m)=>{const g=((x,w)=>{for(let S=0;SNumber(m.replace(g,"$"+x));return wo(h(1),h(2))})(e,s)},unknown:bt},U=(e,r)=>{const s=String(r).toLowerCase();return oo(e,l=>l.search(s))},oe=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,xe=e=>r=>Yr(r,e),xt=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:e=>Yr(e,"edge/")&&Yr(e,"chrome")&&Yr(e,"safari")&&Yr(e,"applewebkit")},{name:"Chromium",brand:"Chromium",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,oe],search:e=>Yr(e,"chrome")&&!Yr(e,"chromeframe")},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:e=>Yr(e,"msie")||Yr(e,"trident")},{name:"Opera",versionRegexes:[oe,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:xe("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:xe("firefox")},{name:"Safari",versionRegexes:[oe,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:e=>(Yr(e,"safari")||Yr(e,"mobile/"))&&Yr(e,"applewebkit")}],po=[{name:"Windows",search:xe("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:e=>Yr(e,"iphone")||Yr(e,"ipad"),versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:xe("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"macOS",search:xe("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:xe("linux"),versionRegexes:[]},{name:"Solaris",search:xe("sunos"),versionRegexes:[]},{name:"FreeBSD",search:xe("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:xe("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}],Yn={browsers:me(xt),oses:me(po)},ga="Edge",ks="Chromium",_i="Opera",Js="Firefox",Vi="Safari",Qs=e=>{const r=e.current,s=e.version,l=m=>()=>r===m;return{current:r,version:s,isEdge:l(ga),isChromium:l(ks),isIE:l("IE"),isOpera:l(_i),isFirefox:l(Js),isSafari:l(Vi)}},ic=()=>Qs({current:void 0,version:Zn.unknown()}),_s=Qs,vc="Windows",je="Android",Ll="Linux",pd="macOS",Ci="Solaris",bp="FreeBSD",sa="ChromeOS",lc=e=>{const r=e.current,s=e.version,l=m=>()=>r===m;return{current:r,version:s,isWindows:l(vc),isiOS:l("iOS"),isAndroid:l(je),isMacOS:l(pd),isLinux:l(Ll),isSolaris:l(Ci),isFreeBSD:l(bp),isChromeOS:l(sa)}},ag=()=>lc({current:void 0,version:Zn.unknown()}),Si=lc,Gc=e=>window.matchMedia(e).matches;var Gi;let Il=Ee(()=>((e,r,s)=>{const l=Yn.browsers(),m=Yn.oses(),g=r.bind(w=>((S,A)=>Gt(A.brands,N=>{const F=N.brand.toLowerCase();return oo(S,$=>{var W;return F===((W=$.brand)===null||W===void 0?void 0:W.toLowerCase())}).map($=>({current:$.name,version:Zn.nu(parseInt(N.version,10),0)}))}))(l,w)).orThunk(()=>((w,S)=>U(w,S).map(A=>{const N=Zn.detect(A.versionRegexes,S);return{current:A.name,version:N}}))(l,e)).fold(ic,_s),h=((w,S)=>U(w,S).map(A=>{const N=Zn.detect(A.versionRegexes,S);return{current:A.name,version:N}}))(m,e).fold(ag,Si),x=((w,S,A,N)=>{const F=w.isiOS()&&/ipad/i.test(A)===!0,$=w.isiOS()&&!F,W=w.isiOS()||w.isAndroid(),se=W||N("(pointer:coarse)"),le=F||!$&&W&&N("(min-device-width:768px)"),fe=$||W&&!le,te=S.isSafari()&&w.isiOS()&&/safari/i.test(A)===!1,X=!fe&&!le&&!te;return{isiPad:me(F),isiPhone:me($),isTablet:me(le),isPhone:me(fe),isTouch:me(se),isAndroid:w.isAndroid,isiOS:w.isiOS,isWebView:me(te),isDesktop:me(X)}})(h,g,e,s);return{browser:g,os:h,deviceType:x}})(navigator.userAgent,R.from(navigator.userAgentData),Gc));const Yl=()=>Il(),Ki=e=>{const r=St((g=>{if(Wr()&&Ue(g.target)){const h=St(g.target);if(wt(h)&&(x=>Ue(x.dom.shadowRoot))(h)&&g.composed&&g.composedPath){const x=g.composedPath();if(x)return at(x)}}return R.from(g.target)})(e).getOr(e.target)),s=()=>e.stopPropagation(),l=()=>e.preventDefault(),m=fo(l,s);return((g,h,x,w,S,A,N)=>({target:g,x:h,y:x,stop:w,prevent:S,kill:A,raw:N}))(r,e.clientX,e.clientY,s,l,m,e)},ie=(e,r,s,l,m)=>{const g=((h,x)=>w=>{h(w)&&x(Ki(w))})(s,l);return e.dom.addEventListener(r,g,m),{unbind:rt(ve,e,r,g,m)}},ve=(e,r,s,l)=>{e.dom.removeEventListener(r,s,l)},yt=(e,r)=>{nn(e).each(s=>{s.dom.insertBefore(r.dom,e.dom)})},Lt=(e,r)=>{(l=>R.from(l.dom.nextSibling).map(St))(e).fold(()=>{nn(e).each(l=>{ur(l,r)})},l=>{yt(l,r)})},yn=(e,r)=>{Ar(e).fold(()=>{ur(e,r)},s=>{e.dom.insertBefore(r.dom,s.dom)})},ur=(e,r)=>{e.dom.appendChild(r.dom)},Ra=(e,r)=>{Ie(r,s=>{ur(e,s)})},ei=e=>{e.dom.textContent="",Ie(wn(e),r=>{ia(r)})},ia=e=>{const r=e.dom;r.parentNode!==null&&r.parentNode.removeChild(r)},pa=e=>{const r=e!==void 0?e.dom:document,s=r.body.scrollLeft||r.documentElement.scrollLeft,l=r.body.scrollTop||r.documentElement.scrollTop;return kn(s,l)},Ps=(e,r,s)=>{const l=(s!==void 0?s.dom:document).defaultView;l&&l.scrollTo(e,r)},ta=(e,r,s,l)=>({x:e,y:r,width:s,height:l,right:e+s,bottom:r+l}),cc=e=>{const r=e===void 0?window:e,s=r.document,l=pa(St(s));return(m=>{const g=m===void 0?window:m;return Yl().browser.isFirefox()?R.none():R.from(g.visualViewport)})(r).fold(()=>{const m=r.document.documentElement,g=m.clientWidth,h=m.clientHeight;return ta(l.left,l.top,g,h)},m=>ta(Math.max(m.pageLeft,l.left),Math.max(m.pageTop,l.top),m.width,m.height))},Xl=()=>St(document),Ei=(e,r)=>e.view(r).fold(me([]),s=>{const l=e.owner(s),m=Ei(e,l);return[s].concat(m)});var xc=Object.freeze({__proto__:null,view:e=>{var r;return(e.dom===document?R.none():R.from((r=e.dom.defaultView)===null||r===void 0?void 0:r.frameElement)).map(St)},owner:e=>Ne(e)});const Es=e=>{const r=Xl(),s=pa(r);return((m,g)=>{const h=g.owner(m),x=Ei(g,h);return R.some(x)})(e,xc).fold(rt(Or,e),m=>{const g=Sa(e),h=lo(m,(x,w)=>{const S=Sa(w);return{left:x.left+S.left,top:x.top+S.top}},{left:0,top:0});return kn(h.left+g.left+s.left,h.top+g.top+s.top)})},Ba=(e,r,s,l)=>({x:e,y:r,width:s,height:l,right:e+s,bottom:r+l}),Fa=e=>{const r=Or(e),s=Q(e),l=ho(e);return Ba(r.left,r.top,s,l)},ts=e=>{const r=Es(e),s=Q(e),l=ho(e);return Ba(r.left,r.top,s,l)},Kc=(e,r)=>{const s=Math.max(e.x,r.x),l=Math.max(e.y,r.y),m=Math.min(e.right,r.right),g=Math.min(e.bottom,r.bottom);return Ba(s,l,m-s,g-l)},Ua=()=>cc(window);var fd=tinymce.util.Tools.resolve("tinymce.ThemeManager");const Yc=e=>{const r=g=>g(e),s=me(e),l=()=>m,m={tag:!0,inner:e,fold:(g,h)=>h(e),isValue:Ct,isError:Bo,map:g=>Fr.value(g(e)),mapError:l,bind:r,exists:r,forall:r,getOr:s,or:l,getOrThunk:s,orThunk:l,getOrDie:s,each:g=>{g(e)},toOptional:()=>R.some(e)};return m},nl=e=>{const r=()=>s,s={tag:!1,inner:e,fold:(l,m)=>l(e),isValue:Bo,isError:Ct,map:r,mapError:l=>Fr.error(l(e)),bind:r,exists:Bo,forall:Ct,getOr:Ze,or:Ze,getOrThunk:gn,orThunk:gn,getOrDie:$t(String(e)),each:he,toOptional:R.none};return s},Fr={value:Yc,error:nl,fromOption:(e,r)=>e.fold(()=>nl(r),Yc)};var ti;(function(e){e[e.Error=0]="Error",e[e.Value=1]="Value"})(ti||(ti={}));const Zd=(e,r,s)=>e.stype===ti.Error?r(e.serror):s(e.svalue),hd=e=>({stype:ti.Value,svalue:e}),qd=e=>({stype:ti.Error,serror:e}),Yi=hd,Mc=qd,om=Zd,_u=(e,r,s,l)=>({tag:"field",key:e,newKey:r,presence:s,prop:l}),Wd=(e,r,s)=>{switch(e.tag){case"field":return r(e.key,e.newKey,e.presence,e.prop);case"custom":return s(e.newKey,e.instantiator)}},rl=e=>(...r)=>{if(r.length===0)throw new Error("Can't merge zero objects");const s={};for(let l=0;ljt(e)&&jt(r)?Da(e,r):r),Jl=rl((e,r)=>r),os=e=>({tag:"defaultedThunk",process:e}),Dc=e=>os(me(e)),dc=e=>({tag:"mergeWithThunk",process:e}),bd=e=>{const r=(l=>{const m=[],g=[];return Ie(l,h=>{Zd(h,x=>g.push(x),x=>m.push(x))}),{values:m,errors:g}})(e);return r.errors.length>0?(s=r.errors,fo(Mc,$e)(s)):Yi(r.values);var s},Ea=e=>Lo(e)&&Vt(e).length>100?" removed due to size":JSON.stringify(e,null,2),_l=(e,r)=>Mc([{path:e,getErrorInfo:r}]),Xc=e=>({extract:(r,s)=>((l,m)=>l.stype===ti.Error?m(l.serror):l)(e(s),l=>((m,g)=>_l(m,me(g)))(r,l)),toString:me("val")}),yd=Xc(Yi),wc=(e,r,s,l)=>l(Xt(e,r).getOrThunk(()=>s(e))),Jc=(e,r,s,l,m)=>{const g=x=>m.extract(r.concat([l]),x),h=x=>x.fold(()=>Yi(R.none()),w=>((S,A)=>S.stype===ti.Value?{stype:ti.Value,svalue:A(S.svalue)}:S)(m.extract(r.concat([l]),w),R.some));switch(e.tag){case"required":return((x,w,S,A)=>Xt(w,S).fold(()=>((N,F,$)=>_l(N,()=>'Could not find valid *required* value for "'+F+'" in '+Ea($)))(x,S,w),A))(r,s,l,g);case"defaultedThunk":return wc(s,l,e.process,g);case"option":return((x,w,S)=>S(Xt(x,w)))(s,l,h);case"defaultedOptionThunk":return((x,w,S,A)=>A(Xt(x,w).map(N=>N===!0?S(x):N)))(s,l,e.process,h);case"mergeWithThunk":return wc(s,l,me({}),x=>{const w=Da(e.process(s),x);return g(w)})}},Gd=e=>({extract:(r,s)=>e().extract(r,s),toString:()=>e().toString()}),vd=e=>Vt(ut(e,Ue)),pi=e=>{const r=Cn(e),s=lo(e,(l,m)=>Wd(m,g=>Da(l,{[g]:!0}),me(l)),{});return{extract:(l,m)=>{const g=jo(m)?[]:vd(m),h=Pt(g,x=>!$n(s,x));return h.length===0?r.extract(l,m):((x,w)=>_l(x,()=>"There are unsupported fields: ["+w.join(", ")+"] specified"))(l,h)},toString:r.toString}},Cn=e=>({extract:(r,s)=>((l,m,g)=>{const h={},x=[];for(const w of g)Wd(w,(S,A,N,F)=>{const $=Jc(N,l,m,S,F);om($,W=>{x.push(...W)},W=>{h[A]=W})},(S,A)=>{h[S]=A(m)});return x.length>0?Mc(x):Yi(h)})(r,s,e),toString:()=>`obj{ +`+dt(e,s=>Wd(s,(l,m,g,h)=>l+" -> "+h.toString(),(l,m)=>"state("+l+")")).join(` +`)+"}"}),Ql=e=>({extract:(r,s)=>{const l=dt(s,(m,g)=>e.extract(r.concat(["["+g+"]"]),m));return bd(l)},toString:()=>"array("+e.toString()+")"}),ec=(e,r)=>{const s=r!==void 0?r:Ze;return{extract:(l,m)=>{const g=[];for(const h of e){const x=h.extract(l,m);if(x.stype===ti.Value)return{stype:ti.Value,svalue:s(x.svalue)};g.push(x)}return bd(g)},toString:()=>"oneOf("+dt(e,l=>l.toString()).join(", ")+")"}},yp=(e,r)=>({extract:(s,l)=>{const m=Vt(l),g=((h,x)=>Ql(Xc(e)).extract(h,x))(s,m);return((h,x)=>h.stype===ti.Value?x(h.svalue):h)(g,h=>{const x=dt(h,w=>_u(w,w,{tag:"required",process:{}},r));return Cn(x).extract(s,l)})},toString:()=>"setOf("+r.toString()+")"}),Kd=fo(Ql,Cn),Cl=me(yd),nm=(e,r)=>Xc(s=>{const l=typeof s;return e(s)?Yi(s):Mc(`Expected type: ${r} but got: ${l}`)}),rm=nm(So,"number"),wa=nm(to,"string"),Qc=nm(jo,"boolean"),Ns=nm(it,"function"),kc=e=>{if(Object(e)!==e)return!0;switch({}.toString.call(e).slice(8,-1)){case"Boolean":case"Number":case"String":case"Date":case"RegExp":case"Blob":case"FileList":case"ImageData":case"ImageBitmap":case"ArrayBuffer":return!0;case"Array":case"Object":return Object.keys(e).every(r=>kc(e[r]));default:return!1}},Rm=Xc(e=>kc(e)?Yi(e):Mc("Expected value to be acceptable for sending via postMessage")),rn=(e,r)=>({extract:(s,l)=>Xt(l,e).fold(()=>((m,g)=>_l(m,()=>'Choice schema did not contain choice key: "'+g+'"'))(s,e),m=>((g,h,x,w)=>Xt(x,w).fold(()=>((S,A,N)=>_l(S,()=>'The chosen schema: "'+N+'" did not exist in branches: '+Ea(A)))(g,x,w),S=>S.extract(g.concat(["branch: "+w]),h)))(s,l,r,m)),toString:()=>"chooseOn("+e+"). Possible values: "+Vt(r)}),Ti=e=>Xc(r=>e(r).fold(Mc,Yi)),Cu=(e,r)=>yp(s=>e(s).fold(qd,hd),r),ka=(e,r,s)=>{return l=((m,g,h)=>((x,w)=>x.stype===ti.Error?{stype:ti.Error,serror:w(x.serror)}:x)(g.extract([m],h),x=>({input:h,errors:x})))(e,r,s),Zd(l,Fr.error,Fr.value);var l},Sl=e=>e.fold(r=>{throw new Error(El(r))},Ze),fi=(e,r,s)=>Sl(ka(e,r,s)),El=e=>`Errors: +`+(r=>{const s=r.length>10?r.slice(0,10).concat([{path:[],getErrorInfo:me("... (only showing first ten failures)")}]):r;return dt(s,l=>"Failed path: ("+l.path.join(" > ")+`) +`+l.getErrorInfo())})(e.errors).join(` +`)+` + +Input object: `+Ea(e.input),Ms=(e,r)=>rn(e,Zo(r,Cn)),Su=(e,r)=>((s,l)=>{const m=Ee(l);return{extract:(g,h)=>m().extract(g,h),toString:()=>m().toString()}})(0,r),oi=_u,ao=(e,r)=>({tag:"custom",newKey:e,instantiator:r}),Eu=e=>Ti(r=>Rt(e,r)?Fr.value(r):Fr.error(`Unsupported value: "${r}", choose one of "${e.join(", ")}".`)),Yt=e=>oi(e,e,{tag:"required",process:{}},Cl()),ni=(e,r)=>oi(e,e,{tag:"required",process:{}},r),xd=e=>ni(e,rm),us=e=>ni(e,wa),da=(e,r)=>oi(e,e,{tag:"required",process:{}},Eu(r)),ml=e=>ni(e,Ns),zi=(e,r)=>oi(e,e,{tag:"required",process:{}},Cn(r)),Oa=(e,r)=>oi(e,e,{tag:"required",process:{}},Kd(r)),al=(e,r)=>oi(e,e,{tag:"required",process:{}},Ql(r)),la=e=>oi(e,e,{tag:"option",process:{}},Cl()),$i=(e,r)=>oi(e,e,{tag:"option",process:{}},r),Yd=e=>$i(e,rm),Hs=e=>$i(e,wa),sg=(e,r)=>$i(e,Eu(r)),Tl=e=>$i(e,Ns),ns=(e,r)=>$i(e,Ql(r)),gl=(e,r)=>$i(e,Cn(r)),ft=(e,r)=>oi(e,e,Dc(r),Cl()),Ai=(e,r,s)=>oi(e,e,Dc(r),s),wd=(e,r)=>Ai(e,r,rm),zl=(e,r)=>Ai(e,r,wa),pl=(e,r,s)=>Ai(e,r,Eu(s)),ri=(e,r)=>Ai(e,r,Qc),hs=(e,r)=>Ai(e,r,Ns),uc=(e,r,s)=>Ai(e,r,Ql(s)),Bm=(e,r,s)=>Ai(e,r,Cn(s)),Sn=e=>{let r=e;return{get:()=>r,set:s=>{r=s}}},Ui=e=>{if(!Co(e))throw new Error("cases must be an array");if(e.length===0)throw new Error("there must be at least one case");const r=[],s={};return Ie(e,(l,m)=>{const g=Vt(l);if(g.length!==1)throw new Error("one and only one name per case");const h=g[0],x=l[h];if(s[h]!==void 0)throw new Error("duplicate key detected:"+h);if(h==="cata")throw new Error("cannot have a case named cata (sorry)");if(!Co(x))throw new Error("case arguments must be an array");r.push(h),s[h]=(...w)=>{const S=w.length;if(S!==x.length)throw new Error("Wrong number of arguments to case "+h+". Expected "+x.length+" ("+x+"), got "+S);return{fold:(...A)=>{if(A.length!==e.length)throw new Error("Wrong number of arguments to fold. Expected "+e.length+", got "+A.length);return A[m].apply(null,w)},match:A=>{const N=Vt(A);if(r.length!==N.length)throw new Error("Wrong number of arguments to match. Expected: "+r.join(",")+` +Actual: `+N.join(","));if(!gt(r,F=>Rt(N,F)))throw new Error("Not all branches were specified when using match. Specified: "+N.join(", ")+` +Required: `+r.join(", "));return A[h].apply(null,w)},log:A=>{}}}}),s};Ui([{bothErrors:["error1","error2"]},{firstError:["error1","value2"]},{secondError:["value1","error2"]},{bothValues:["value1","value2"]}]);const Xi=(e,r)=>((s,l)=>({[s]:l}))(e,r),Oi=e=>(r=>{const s={};return Ie(r,l=>{s[l.key]=l.value}),s})(e),Za=e=>it(e)?e:Bo,_c=(e,r,s)=>{let l=e.dom;const m=Za(s);for(;l.parentNode;){l=l.parentNode;const g=St(l),h=r(g);if(h.isSome())return h;if(m(g))break}return R.none()},qs=(e,r,s)=>{const l=r(e),m=Za(s);return l.orThunk(()=>m(e)?R.none():_c(e,r,m))},Tu=(e,r)=>Jo(e.element,r.event.target),kd={can:Ct,abort:Bo,run:he},Pl=e=>{if(!$n(e,"can")&&!$n(e,"abort")&&!$n(e,"run"))throw new Error("EventHandler defined by: "+JSON.stringify(e,null,2)+" does not have can, abort, or run!");return{...kd,...e}},bs=me,Ws=bs("touchstart"),ed=bs("touchmove"),Hl=bs("touchend"),_d=bs("touchcancel"),ai=bs("mousedown"),z=bs("mousemove"),H=bs("mouseout"),J=bs("mouseup"),Te=bs("mouseover"),He=bs("focusin"),ko=bs("focusout"),fn=bs("keydown"),ir=bs("keyup"),Hn=bs("input"),Tn=bs("change"),fa=bs("click"),Ka=bs("transitioncancel"),Ni=bs("transitionend"),td=bs("transitionstart"),Bf=bs("selectstart"),ss=e=>me("alloy."+e),xv={tap:ss("tap")},Xd=ss("focus"),vp=ss("blur.post"),am=ss("paste.post"),Cd=ss("receive"),fl=ss("execute"),Jd=ss("focus.item"),Fm=xv.tap,ys=ss("longpress"),Sd=ss("sandbox.close"),ig=ss("typeahead.cancel"),Lm=ss("system.init"),Ff=ss("system.touchmove"),Im=ss("system.touchend"),zu=ss("system.scroll"),Au=ss("system.resize"),Rc=ss("system.attached"),sm=ss("system.detached"),Ou=ss("system.dismissRequested"),xp=ss("system.repositionRequested"),lg=ss("focusmanager.shifted"),cg=ss("slotcontainer.visibility"),wp=ss("system.external.element.scroll"),im=ss("change.tab"),Ed=ss("dismiss.tab"),dg=ss("highlight"),Pm=ss("dehighlight"),$r=(e,r)=>{Hm(e,e.element,r,{})},_n=(e,r,s)=>{Hm(e,e.element,r,s)},Qd=e=>{$r(e,fl())},kp=(e,r,s)=>{Hm(e,r,s,{})},Hm=(e,r,s,l)=>{const m={target:r,...l};e.getSystem().triggerEvent(s,r,m)},Bc=(e,r,s,l)=>{e.getSystem().triggerEvent(s,r,l.event)},qa=e=>Oi(e),Nu=(e,r)=>({key:e,value:Pl({abort:r})}),_p=e=>({key:e,value:Pl({run:(r,s)=>{s.event.prevent()}})}),Kt=(e,r)=>({key:e,value:Pl({run:r})}),lm=(e,r,s)=>({key:e,value:Pl({run:(l,m)=>{r.apply(void 0,[l,m].concat(s))}})}),ug=e=>r=>({key:e,value:Pl({run:(s,l)=>{Tu(s,l)&&r(s,l)}})}),jm=(e,r,s)=>((l,m)=>Kt(l,(g,h)=>{g.getSystem().getByUid(m).each(x=>{Bc(x,x.element,l,h)})}))(e,r.partUids[s]),Lf=(e,r)=>Kt(e,(s,l)=>{const m=l.event,g=s.getSystem().getByDom(m.target).getOrThunk(()=>qs(m.target,h=>s.getSystem().getByDom(h).toOptional(),Bo).getOr(s));r(s,g,l)}),jl=e=>Kt(e,(r,s)=>{s.cut()}),sb=e=>Kt(e,(r,s)=>{s.stop()}),Mu=(e,r)=>ug(e)(r),La=ug(Rc()),od=ug(sm()),If=ug(Lm()),Cc=(Al=fl(),e=>Kt(Al,e)),Sc=e=>e.dom.innerHTML,Ds=(e,r)=>{const s=Ne(e).dom,l=St(s.createDocumentFragment()),m=((g,h)=>{const x=(h||document).createElement("div");return x.innerHTML=g,wn(St(x))})(r,s);Ra(l,m),ei(e),ur(e,l)},Vm=(e,r)=>St(e.dom.cloneNode(r)),Fc=e=>(r=>{if(Zs(r))return"#shadow-root";{const s=(l=>Vm(l,!1))(r);return(l=>{const m=_t("div"),g=St(l.dom.cloneNode(!0));return ur(m,g),Sc(m)})(s)}})(e),eu=qa([((e,r)=>({key:e,value:Pl({can:(s,l)=>{const m=l.event,g=m.originator,h=m.target;return!((x,w,S)=>Jo(w,x.element)&&!Jo(w,S))(s,g,h)||(console.warn(Xd()+` did not get interpreted by the desired target. +Originator: `+Fc(g)+` +Target: `+Fc(h)+` +Check the `+Xd()+" event handlers"),!1)}})}))(Xd())]);var Al,$m=Object.freeze({__proto__:null,events:eu});let mg=0;const un=e=>{const r=new Date().getTime(),s=Math.floor(1e9*Math.random());return mg++,e+"_"+s+mg+String(r)},gg=me("alloy-id-"),Cp=me("data-alloy-id"),Du=gg(),Sp=Cp(),C=(e,r)=>{Object.defineProperty(e.dom,Sp,{value:r,writable:!0})},D=e=>{const r=wt(e)?e.dom[Sp]:null;return R.from(r)},G=e=>un(e),ce=Ze,Ke=e=>{const r=m=>`The component must be in a context to execute: ${m}`+(e?` +`+Fc(e().element)+" is not in context.":""),s=m=>()=>{throw new Error(r(m))},l=m=>()=>{console.warn(r(m))};return{debugInfo:me("fake"),triggerEvent:l("triggerEvent"),triggerFocus:l("triggerFocus"),triggerEscape:l("triggerEscape"),broadcast:l("broadcast"),broadcastOn:l("broadcastOn"),broadcastEvent:l("broadcastEvent"),build:s("build"),buildOrPatch:s("buildOrPatch"),addToWorld:s("addToWorld"),removeFromWorld:s("removeFromWorld"),addToGui:s("addToGui"),removeFromGui:s("removeFromGui"),getByUid:s("getByUid"),getByDom:s("getByDom"),isConnected:Bo}},Ut=Ke(),zo=e=>dt(e,r=>cs(r,"/*")?r.substring(0,r.length-2):r),qo=(e,r)=>{const s=e.toString(),l=s.indexOf(")")+1,m=s.indexOf("("),g=s.substring(m+1,l-1).split(/,\s*/);return e.toFunctionAnnotation=()=>({name:r,parameters:zo(g)}),e},Xn=un("alloy-premade"),pr=e=>(Object.defineProperty(e.element.dom,Xn,{value:e.uid,writable:!0}),Xi(Xn,e)),is=e=>Xt(e,Xn),Nr=e=>((r,s)=>{const l=s.toString(),m=l.indexOf(")")+1,g=l.indexOf("("),h=l.substring(g+1,m-1).split(/,\s*/);return r.toFunctionAnnotation=()=>({name:"OVERRIDE",parameters:zo(h.slice(1))}),r})((r,...s)=>e(r.getApis(),r,...s),e),ha={init:()=>Ia({readState:me("No State required")})},Ia=e=>e,Mi=(e,r)=>{const s={};return $o(e,(l,m)=>{$o(l,(g,h)=>{const x=Xt(s,h).getOr([]);s[h]=x.concat([r(m,g)])})}),s},hi=e=>({classes:an(e.classes)?[]:e.classes,attributes:an(e.attributes)?{}:e.attributes,styles:an(e.styles)?{}:e.styles}),Td=e=>e.cHandler,zd=(e,r)=>({name:e,handler:r}),cm=(e,r)=>{const s={};return Ie(e,l=>{s[l.name()]=l.handlers(r)}),s},Ru=(e,r,s)=>{const l=r[s];return l?((m,g,h,x)=>{try{const w=ge(h,(S,A)=>{const N=S[g],F=A[g],$=x.indexOf(N),W=x.indexOf(F);if($===-1)throw new Error("The ordering for "+m+" does not have an entry for "+N+`. +Order specified: `+JSON.stringify(x,null,2));if(W===-1)throw new Error("The ordering for "+m+" does not have an entry for "+F+`. +Order specified: `+JSON.stringify(x,null,2));return $(g=>({can:((w,S)=>(...A)=>To(w,(N,F)=>N&&($=>$.can)(F).apply(void 0,A),!0))(g),abort:((w,S)=>(...A)=>To(w,(N,F)=>N||($=>$.abort)(F).apply(void 0,A),!1))(g),run:(...w)=>{Ie(g,S=>{S.run.apply(void 0,w)})}}))(dt(m,g=>g.handler))):((m,g)=>Fr.error(["The event ("+m+`) has more than one behaviour that listens to it. +When this occurs, you must specify an event ordering for the behaviours in your spec (e.g. [ "listing", "toggling" ]). +The behaviours that can trigger it are: `+JSON.stringify(dt(g,h=>h.name),null,2)]))(s,e)},Bu=(e,r)=>((s,l)=>{const m=(h=>{const x=[],w=[];return Ie(h,S=>{S.fold(A=>{x.push(A)},A=>{w.push(A)})}),{errors:x,values:w}})(s);return m.errors.length>0?(g=m.errors,Fr.error($e(g))):((h,x)=>h.length===0?Fr.value(x):Fr.value(Da(x,Jl.apply(void 0,h))))(m.values,l);var g})(zt(e,(s,l)=>(s.length===1?Fr.value(s[0].handler):Ru(s,r,l)).map(m=>{const g=(x=>{const w=(S=>it(S)?{can:Ct,abort:Bo,run:S}:S)(x);return(S,A,...N)=>{const F=[S,A].concat(N);w.abort.apply(void 0,F)?A.stop():w.can.apply(void 0,F)&&w.run.apply(void 0,F)}})(m),h=s.length>1?Pt(r[l],x=>uo(s,w=>w.name===x)).join(" > "):s[0].name;return Xi(l,((x,w)=>({handler:x,purpose:w}))(g,h))})),{}),Ad="alloy.base.behaviour",Od=Cn([oi("dom","dom",{tag:"required",process:{}},Cn([Yt("tag"),ft("styles",{}),ft("classes",[]),ft("attributes",{}),la("value"),la("innerHtml")])),Yt("components"),Yt("uid"),ft("events",{}),ft("apis",{}),oi("eventOrder","eventOrder",(rd={[fl()]:["disabling",Ad,"toggling","typeaheadevents"],[Xd()]:[Ad,"focusing","keying"],[Lm()]:[Ad,"disabling","toggling","representing"],[Hn()]:[Ad,"representing","streaming","invalidating"],[sm()]:[Ad,"representing","item-events","tooltipping"],[ai()]:["focusing",Ad,"item-type-events"],[Ws()]:["focusing",Ad,"item-type-events"],[Te()]:["item-type-events","tooltipping"],[Cd()]:["receiving","reflecting","tooltipping"]},dc(me(rd))),Cl()),la("domModification")]),pg=e=>e.events,Fu=(e,r)=>{const s=Ma(e,r);return s===void 0||s===""?[]:s.split(" ")},nd=e=>e.dom.classList!==void 0,oa=e=>Fu(e,"class"),wr=(e,r)=>((s,l,m)=>{const g=Fu(s,l).concat([m]);return Kn(s,l,g.join(" ")),!0})(e,"class",r),hl=(e,r)=>((s,l,m)=>{const g=Pt(Fu(s,l),h=>h!==m);return g.length>0?Kn(s,l,g.join(" ")):xa(s,l),!1})(e,"class",r),Jr=(e,r)=>{nd(e)?e.dom.classList.add(r):wr(e,r)},bi=e=>{(nd(e)?e.dom.classList:oa(e)).length===0&&xa(e,"class")},rs=(e,r)=>{nd(e)?e.dom.classList.remove(r):hl(e,r),bi(e)},Di=(e,r)=>nd(e)&&e.dom.classList.contains(r),Lc=(e,r)=>{Ie(r,s=>{Jr(e,s)})},Zi=(e,r)=>{Ie(r,s=>{rs(e,s)})},bl=e=>nd(e)?(r=>{const s=r.dom.classList,l=new Array(s.length);for(let m=0;me.dom.value,Ec=(e,r)=>{if(r===void 0)throw new Error("Value.set was undefined");e.dom.value=r},Ep=(e,r,s)=>{s.fold(()=>ur(e,r),l=>{Jo(l,r)||(yt(l,r),ia(l))})},Iu=(e,r,s)=>{const l=dt(r,s),m=wn(e);return Ie(m.slice(l.length),ia),l},tu=(e,r,s,l)=>{const m=Un(e,r),g=l(s,m),h=((x,w,S)=>Un(x,w).map(A=>{if(S.exists(N=>!Jo(N,A))){const N=S.map(gr).getOr("span"),F=_t(N);return yt(A,F),F}return A}))(e,r,m);return Ep(e,g.element,h),g},dm=(e,r)=>{const s=Vt(e),l=Vt(r),m=Oe(l,s),g=((h,x)=>{const w={},S={};return zn(h,(A,N)=>!Vo(r,N)||A!==r[N],Pn(w),Pn(S)),{t:w,f:S}})(e).t;return{toRemove:m,toSet:g}},Tp=(e,r)=>{const s=r.filter(l=>gr(l)===e.tag&&!(m=>m.innerHtml.isSome()&&m.domChildren.length>0)(e)&&!(m=>Vo(m.dom,Xn))(l)).bind(l=>((m,g)=>{try{const h=((x,w)=>{const{class:S,style:A,...N}=(ue=>To(ue.dom.attributes,(ye,we)=>(ye[we.name]=we.value,ye),{}))(w),{toSet:F,toRemove:$}=dm(x.attributes,N),W=gi(w),{toSet:se,toRemove:le}=dm(x.styles,W),fe=bl(w),te=Oe(fe,x.classes),X=Oe(x.classes,fe);return Ie($,ue=>xa(w,ue)),Os(w,F),Lc(w,X),Zi(w,te),Ie(le,ue=>Pr(w,ue)),ji(w,se),x.innerHtml.fold(()=>{const ue=x.domChildren;((ye,we)=>{Iu(ye,we,(Ye,Tt)=>{const Qt=Un(ye,Tt);return Ep(ye,Ye,Qt),Ye})})(w,ue)},ue=>{Ds(w,ue)}),(()=>{const ue=w,ye=x.value.getOrUndefined();ye!==Lu(ue)&&Ec(ue,ye??"")})(),w})(m,g);return R.some(h)}catch{return R.none()}})(e,l)).getOrThunk(()=>(l=>{const m=_t(l.tag);Os(m,l.attributes),Lc(m,l.classes),ji(m,l.styles),l.innerHtml.each(h=>Ds(m,h));const g=l.domChildren;return Ra(m,g),l.value.each(h=>{Ec(m,h)}),m})(e));return C(s,e.uid),s},fg=e=>{const r=(s=>{const l=Xt(s,"behaviours").getOr({});return ct(Vt(l),m=>{const g=l[m];return Ue(g)?[g.me]:[]})})(e);return((s,l)=>((m,g)=>{const h=dt(g,w=>gl(w.name(),[Yt("config"),ft("state",ha)])),x=ka("component.behaviours",Cn(h),m.behaviours).fold(w=>{throw new Error(El(w)+` +Complete spec: +`+JSON.stringify(m,null,2))},Ze);return{list:g,data:Zo(x,w=>{const S=w.map(A=>({config:A.config,state:A.state.init(A.config)}));return me(S)})}})(s,l))(e,r)},zp=(e,r)=>{const s=()=>F,l=Sn(Ut),m=Sl(($=>ka("custom.definition",Od,$))(e)),g=fg(e),h=($=>$.list)(g),x=($=>$.data)(g),w=(($,W,se)=>{const le={...(fe=$).dom,uid:fe.uid,domChildren:dt(fe.components,Ye=>Ye.element)};var fe;const te=(Ye=>Ye.domModification.fold(()=>hi({}),hi))($),X={"alloy.base.modification":te},ue=W.length>0?((Ye,Tt,Qt,ro)=>{const no={...Tt};Ie(Qt,jr=>{no[jr.name()]=jr.exhibit(Ye,ro)});const Uo=Mi(no,(jr,gs)=>({name:jr,modification:gs})),pn=jr=>lo(jr,(gs,Vs)=>({...Vs.modification,...gs}),{}),Mn=lo(Uo.classes,(jr,gs)=>gs.modification.concat(jr),[]),ar=pn(Uo.attributes),dr=pn(Uo.styles);return hi({classes:Mn,attributes:ar,styles:dr})})(se,X,W,le):te;return ye=le,we=ue,{...ye,attributes:{...ye.attributes,...we.attributes},styles:{...ye.styles,...we.styles},classes:ye.classes.concat(we.classes)};var ye,we})(m,h,x),S=Tp(w,r),A=(($,W,se)=>{const le={"alloy.base.behaviour":pg($)};return((fe,te,X,ue)=>{const ye=((we,Ye,Tt)=>{const Qt={...Tt,...cm(Ye,we)};return Mi(Qt,zd)})(fe,X,ue);return Bu(ye,te)})(se,$.eventOrder,W,le).getOrDie()})(m,h,x),N=Sn(m.components),F={uid:e.uid,getSystem:l.get,config:$=>{const W=x;return(it(W[$.name()])?W[$.name()]:()=>{throw new Error("Could not find "+$.name()+" in "+JSON.stringify(e,null,2))})()},hasConfigured:$=>it(x[$.name()]),spec:e,readState:$=>x[$]().map(W=>W.state.readState()).getOr("not enabled"),getApis:()=>m.apis,connect:$=>{l.set($)},disconnect:()=>{l.set(Ke(s))},element:S,syncComponents:()=>{const $=wn(S),W=ct($,se=>l.get().getByDom(se).fold(()=>[],Fe));N.set(W)},components:N.get,events:A};return F},Ya=e=>{const r=Mo(e);return ib({element:r})},ib=e=>{const r=fi("external.component",pi([Yt("element"),la("uid")]),e),s=Sn(Ke()),l=r.uid.getOrThunk(()=>G("external"));C(r.element,l);const m={uid:l,getSystem:s.get,config:R.none,hasConfigured:Bo,connect:g=>{s.set(g)},disconnect:()=>{s.set(Ke(()=>m))},getApis:()=>({}),element:r.element,spec:e,readState:me("No state"),syncComponents:he,components:me([]),events:{}};return pr(m)},Jy=G,Pf=(e,r)=>is(e).getOrThunk(()=>((s,l)=>{const{events:m,...g}=ce(s),h=((w,S)=>{const A=Xt(w,"components").getOr([]);return S.fold(()=>dt(A,yl),N=>dt(A,(F,$)=>Pf(F,Un(N,$))))})(g,l),x={...g,events:{...$m,...m},components:h};return Fr.value(zp(x,l))})((s=>Vo(s,"uid"))(e)?e:{uid:Jy(""),...e},r).getOrDie()),yl=e=>Pf(e,R.none()),Tc=pr;var rd,hg=(e,r,s,l,m)=>e(s,l)?R.some(s):it(m)&&m(s)?R.none():r(s,l,m);const lb=(e,r,s)=>{let l=e.dom;const m=it(s)?s:Bo;for(;l.parentNode;){l=l.parentNode;const g=St(l);if(r(g))return R.some(g);if(m(g))break}return R.none()},Um=(e,r,s)=>hg((l,m)=>m(l),lb,e,r,s),Hf=(e,r,s)=>Um(e,r,s).isSome(),ou=(e,r,s)=>lb(e,l=>Vr(l,r),s),um=(e,r)=>((s,l)=>oo(s.dom.childNodes,m=>{return g=St(m),Vr(g,r);var g}).map(St))(e),vs=(e,r)=>((s,l)=>{const m=l===void 0?document:l.dom;return Br(m)?R.none():R.from(m.querySelector(s)).map(St)})(r,e),Vl=(e,r,s)=>hg((l,m)=>Vr(l,m),ou,e,r,s),bg="aria-controls",Ap=()=>{const e=un(bg);return{id:e,link:r=>{Kn(r,bg,e)},unlink:r=>{xa(r,bg)}}},si=(e,r)=>Hf(r,s=>Jo(s,e.element),Bo)||((s,l)=>(m=>Um(m,g=>{if(!wt(g))return!1;const h=Ma(g,"id");return h!==void 0&&h.indexOf(bg)>-1}).bind(g=>{const h=Ma(g,"id"),x=rr(g);return vs(x,`[${bg}="${h}"]`)}))(l).exists(m=>si(s,m)))(e,r);var ad;(function(e){e[e.STOP=0]="STOP",e[e.NORMAL=1]="NORMAL",e[e.LOGGING=2]="LOGGING"})(ad||(ad={}));const Op=Sn({}),cb=["alloy/data/Fields","alloy/debugging/Debugging"],Pu=(e,r,s)=>((l,m,g)=>{switch(Xt(Op.get(),l).orThunk(()=>{const h=Vt(Op.get());return Gt(h,x=>l.indexOf(x)>-1?R.some(Op.get()[x]):R.none())}).getOr(ad.NORMAL)){case ad.NORMAL:return g(e_());case ad.LOGGING:{const h=((w,S)=>{const A=[],N=new Date().getTime();return{logEventCut:(F,$,W)=>{A.push({outcome:"cut",target:$,purpose:W})},logEventStopped:(F,$,W)=>{A.push({outcome:"stopped",target:$,purpose:W})},logNoParent:(F,$,W)=>{A.push({outcome:"no-parent",target:$,purpose:W})},logEventNoHandlers:(F,$)=>{A.push({outcome:"no-handlers-left",target:$})},logEventResponse:(F,$,W)=>{A.push({outcome:"response",purpose:W,target:$})},write:()=>{const F=new Date().getTime();Rt(["mousemove","mouseover","mouseout",Lm()],w)||(F-N,S.dom,dt(A,$=>Rt(["cut","stopped","response"],$.outcome)?"{"+$.purpose+"} "+$.outcome+" at ("+Fc($.target)+")":$.outcome))}}})(l,m),x=g(h);return h.write(),x}case ad.STOP:return!0}})(e,r,s),e_=me({logEventCut:he,logEventStopped:he,logNoParent:he,logEventNoHandlers:he,logEventResponse:he,write:he}),Np=me([Yt("menu"),Yt("selectedMenu")]),Mp=me([Yt("item"),Yt("selectedItem")]);me(Cn(Mp().concat(Np())));const Qy=me(Cn(Mp())),e1=zi("initSize",[Yt("numColumns"),Yt("numRows")]),jf=()=>zi("markers",[Yt("backgroundMenu")].concat(Np()).concat(Mp())),Nd=e=>zi("markers",dt(e,Yt)),Vf=(e,r,s)=>((()=>{const l=new Error;if(l.stack!==void 0){const m=l.stack.split(` +`);oo(m,g=>g.indexOf("alloy")>0&&!uo(cb,h=>g.indexOf(h)>-1)).getOr("unknown")}})(),oi(r,r,s,Ti(l=>Fr.value((...m)=>l.apply(void 0,m))))),Hr=e=>Vf(0,e,Dc(he)),Ol=e=>Vf(0,e,Dc(R.none)),nu=e=>Vf(0,e,{tag:"required",process:{}}),Dp=e=>Vf(0,e,{tag:"required",process:{}}),as=(e,r)=>ao(e,me(r)),db=e=>ao(e,Ze),t1=me(e1),Ji=(e,r,s,l,m,g,h,x=!1)=>({x:e,y:r,bubble:s,direction:l,placement:m,restriction:g,label:`${h}-${m}`,alwaysFit:x}),mm=Ui([{southeast:[]},{southwest:[]},{northeast:[]},{northwest:[]},{south:[]},{north:[]},{east:[]},{west:[]}]),ru=mm.southeast,gm=mm.southwest,Ht=mm.northeast,Rp=mm.northwest,ub=mm.south,Md=mm.north,o1=mm.east,n1=mm.west,yg=(e,r,s,l)=>{const m=e+r;return m>l?s:mMath.min(Math.max(e,r),s),sl=(e,r)=>We(["left","right","top","bottom"],s=>Xt(r,s).map(l=>((m,g)=>{switch(g){case 1:return m.x;case 0:return m.x+m.width;case 2:return m.y;case 3:return m.y+m.height}})(e,l))),pm="layout",r1=e=>e.x,a1=(e,r)=>e.x+e.width/2-r.width/2,$f=(e,r)=>e.x+e.width-r.width,mb=(e,r)=>e.y-r.height,Uf=e=>e.y+e.height,gb=(e,r)=>e.y+e.height/2-r.height/2,Qi=(e,r,s)=>Ji(r1(e),Uf(e),s.southeast(),ru(),"southeast",sl(e,{left:1,top:3}),pm),Gs=(e,r,s)=>Ji($f(e,r),Uf(e),s.southwest(),gm(),"southwest",sl(e,{right:0,top:3}),pm),vl=(e,r,s)=>Ji(r1(e),mb(e,r),s.northeast(),Ht(),"northeast",sl(e,{left:1,bottom:2}),pm),Wa=(e,r,s)=>Ji($f(e,r),mb(e,r),s.northwest(),Rp(),"northwest",sl(e,{right:0,bottom:2}),pm),Nl=(e,r,s)=>Ji(a1(e,r),mb(e,r),s.north(),Md(),"north",sl(e,{bottom:2}),pm),yi=(e,r,s)=>Ji(a1(e,r),Uf(e),s.south(),ub(),"south",sl(e,{top:3}),pm),pb=(e,r,s)=>Ji((l=>l.x+l.width)(e),gb(e,r),s.east(),o1(),"east",sl(e,{left:0}),pm),Zf=(e,r,s)=>Ji(((l,m)=>l.x-m.width)(e,r),gb(e,r),s.west(),n1(),"west",sl(e,{right:1}),pm),$l=()=>[Qi,Gs,vl,Wa,yi,Nl,pb,Zf],zc=()=>[Gs,Qi,Wa,vl,yi,Nl,pb,Zf],s1=()=>[vl,Wa,Qi,Gs,Nl,yi],Zm=()=>[Wa,vl,Gs,Qi,Nl,yi],fb=()=>[Qi,Gs,vl,Wa,yi,Nl],Bp=()=>[Gs,Qi,Wa,vl,yi,Nl];var wv=Object.freeze({__proto__:null,events:e=>qa([Kt(Cd(),(r,s)=>{const l=e.channels,m=Vt(l),g=s,h=((x,w)=>w.universal?x:Pt(x,S=>Rt(w.channels,S)))(m,g);Ie(h,x=>{const w=l[x],S=w.schema,A=fi("channel["+x+`] data +Receiver: `+Fc(r.element),S,g.data);w.onReceive(r,A)})})])}),kv=[ni("channels",Cu(Fr.value,pi([nu("onReceive"),ft("schema",Cl())])))];const qf=(e,r,s)=>If((l,m)=>{s(l,e,r)}),_v=e=>({key:e,value:void 0}),i1=(e,r,s,l,m,g,h)=>{const x=A=>$n(A,s)?A[s]():R.none(),w=Zo(m,(A,N)=>((F,$,W)=>((se,le,fe)=>{const te=fe.toString(),X=te.indexOf(")")+1,ue=te.indexOf("("),ye=te.substring(ue+1,X-1).split(/,\s*/);return se.toFunctionAnnotation=()=>({name:le,parameters:zo(ye.slice(0,1).concat(ye.slice(3)))}),se})((se,...le)=>{const fe=[se].concat(le);return se.config({name:me(F)}).fold(()=>{throw new Error("We could not find any behaviour configuration for: "+F+". Using API: "+W)},te=>{const X=Array.prototype.slice.call(fe,1);return $.apply(void 0,[se,te.config,te.state].concat(X))})},W,$))(s,A,N)),S={...Zo(g,(A,N)=>qo(A,N)),...w,revoke:rt(_v,s),config:A=>{const N=fi(s+"-config",e,A);return{key:s,value:{config:N,me:S,configAsRaw:Ee(()=>fi(s+"-config",e,A)),initialConfig:A,state:h}}},schema:me(r),exhibit:(A,N)=>vr(x(A),Xt(l,"exhibit"),(F,$)=>$(N,F.config,F.state)).getOrThunk(()=>hi({})),name:me(s),handlers:A=>x(A).map(N=>Xt(l,"events").getOr(()=>({}))(N.config,N.state)).getOr({})};return S},Oo=e=>Oi(e),sn=pi([Yt("fields"),Yt("name"),ft("active",{}),ft("apis",{}),ft("state",ha),ft("extra",{})]),Ri=e=>{const r=fi("Creating behaviour: "+e.name,sn,e);return((s,l,m,g,h,x)=>{const w=pi(s),S=gl(l,[(A=s,$i("config",pi(A)))]);var A;return i1(w,S,l,m,g,h,x)})(r.fields,r.name,r.active,r.apis,r.extra,r.state)},Wf=pi([Yt("branchKey"),Yt("branches"),Yt("name"),ft("active",{}),ft("apis",{}),ft("state",ha),ft("extra",{})]),Fp=e=>{const r=fi("Creating behaviour: "+e.name,Wf,e);return((s,l,m,g,h,x)=>{const w=s,S=gl(l,[$i("config",s)]);return i1(w,S,l,m,g,h,x)})(Ms(r.branchKey,r.branches),r.name,r.active,r.apis,r.extra,r.state)},l1=me(void 0),tc=Ri({fields:kv,name:"receiving",active:wv});var t_=Object.freeze({__proto__:null,exhibit:(e,r)=>hi({classes:[],styles:r.useFixed()?{}:{position:"relative"}})});const sd=(e,r=!1)=>e.dom.focus({preventScroll:r}),hb=e=>e.dom.blur(),Gf=e=>{const r=rr(e).dom;return e.dom===r.activeElement},Ts=(e=Xl())=>R.from(e.dom.activeElement).map(St),gc=e=>Ts(rr(e)).filter(r=>e.dom.contains(r.dom)),Kf=(e,r)=>{const s=rr(r),l=Ts(s).bind(g=>{const h=x=>Jo(g,x);return h(r)?R.some(r):((x,w)=>{const S=A=>{for(let N=0;N{Ts(s).filter(h=>Jo(h,g)).fold(()=>{sd(g)},he)}),m},Ic=(e,r,s,l,m)=>{const g=h=>h+"px";return{position:e,left:r.map(g),top:s.map(g),right:l.map(g),bottom:m.map(g)}},c1=(e,r)=>{go(e,(s=>({...s,position:R.some(s.position)}))(r))},Yf=Ui([{none:[]},{relative:["x","y","width","height"]},{fixed:["x","y","width","height"]}]),d1=(e,r,s,l,m,g)=>{const h=r.rect,x=h.x-s,w=h.y-l,S=m-(x+h.width),A=g-(w+h.height),N=R.some(x),F=R.some(w),$=R.some(S),W=R.some(A),se=R.none();return r.direction.fold(()=>Ic(e,N,F,se,se),()=>Ic(e,se,F,$,se),()=>Ic(e,N,se,se,W),()=>Ic(e,se,se,$,W),()=>Ic(e,N,F,se,se),()=>Ic(e,N,se,se,W),()=>Ic(e,N,F,se,se),()=>Ic(e,se,F,$,se))},bb=(e,r)=>e.fold(()=>{const s=r.rect;return Ic("absolute",R.some(s.x),R.some(s.y),R.none(),R.none())},(s,l,m,g)=>d1("absolute",r,s,l,m,g),(s,l,m,g)=>d1("fixed",r,s,l,m,g)),Xf=(e,r)=>{const s=rt(Es,r),l=e.fold(s,s,()=>{const h=pa();return Es(r).translate(-h.left,-h.top)}),m=Q(r),g=ho(r);return Ba(l.left,l.top,m,g)},o_=(e,r)=>r.fold(()=>e.fold(Ua,Ua,Ba),s=>e.fold(me(s),me(s),()=>{const l=yb(e,s.x,s.y);return Ba(l.left,l.top,s.width,s.height)})),yb=(e,r,s)=>{const l=kn(r,s);return e.fold(me(l),me(l),()=>{const m=pa();return l.translate(-m.left,-m.top)})};Yf.none;const Cv=Yf.relative,n_=Yf.fixed,Jf="data-alloy-placement",Sv=e=>Ca(e,Jf),Lp=Ui([{fit:["reposition"]},{nofit:["reposition","visibleW","visibleH","isVisible"]}]),oc=(e,r,s,l)=>{const m=e.bubble,g=m.offset,h=((ue,ye,we)=>{const Ye=(Uo,pn)=>ye[Uo].map(Mn=>{const ar=Uo==="top"||Uo==="bottom",dr=ar?we.top:we.left,jr=(Uo==="left"||Uo==="top"?Math.max:Math.min)(Mn,pn)+dr;return ar?mc(jr,ue.y,ue.bottom):mc(jr,ue.x,ue.right)}).getOr(pn),Tt=Ye("left",ue.x),Qt=Ye("top",ue.y),ro=Ye("right",ue.right),no=Ye("bottom",ue.bottom);return Ba(Tt,Qt,ro-Tt,no-Qt)})(l,e.restriction,g),x=e.x+g.left,w=e.y+g.top,S=Ba(x,w,r,s),{originInBounds:A,sizeInBounds:N,visibleW:F,visibleH:$}=((ue,ye)=>{const{x:we,y:Ye,right:Tt,bottom:Qt}=ye,{x:ro,y:no,right:Uo,bottom:pn,width:Mn,height:ar}=ue;return{originInBounds:ro>=we&&ro<=Tt&&no>=Ye&&no<=Qt,sizeInBounds:Uo<=Tt&&Uo>=we&&pn<=Qt&&pn>=Ye,visibleW:Math.min(Mn,ro>=we?Tt-ro:Uo-we),visibleH:Math.min(ar,no>=Ye?Qt-no:pn-Ye)}})(S,h),W=A&&N,se=W?S:((ue,ye)=>{const{x:we,y:Ye,right:Tt,bottom:Qt}=ye,{x:ro,y:no,width:Uo,height:pn}=ue,Mn=Math.max(we,Tt-Uo),ar=Math.max(Ye,Qt-pn),dr=mc(ro,we,Mn),jr=mc(no,Ye,ar),gs=Math.min(dr+Uo,Tt)-dr,Vs=Math.min(jr+pn,Qt)-jr;return Ba(dr,jr,gs,Vs)})(S,h),le=se.width>0&&se.height>0,{maxWidth:fe,maxHeight:te}=((ue,ye,we)=>{const Ye=me(ye.bottom-we.y),Tt=me(we.bottom-ye.y),Qt=((pn,Mn,ar,dr)=>pn.fold(Mn,Mn,dr,dr,Mn,dr,ar,ar))(ue,Tt,Tt,Ye),ro=me(ye.right-we.x),no=me(we.right-ye.x);return{maxWidth:((pn,Mn,ar,dr)=>pn.fold(Mn,dr,Mn,dr,ar,ar,Mn,dr))(ue,no,no,ro),maxHeight:Qt}})(e.direction,se,l),X={rect:se,maxHeight:te,maxWidth:fe,direction:e.direction,placement:e.placement,classes:{on:m.classesOn,off:m.classesOff},layout:e.label,testY:w};return W||e.alwaysFit?Lp.fit(X):Lp.nofit(X,F,$,le)},Hu=e=>{const r=Sn(R.none()),s=()=>r.get().each(e);return{clear:()=>{s(),r.set(R.none())},isSet:()=>r.get().isSome(),get:()=>r.get(),set:l=>{s(),r.set(R.some(l))}}},vg=()=>Hu(e=>e.unbind()),ms=()=>{const e=Hu(he);return{...e,on:r=>e.get().each(r)}},u1=Ct,Ul=(e,r,s)=>((l,m,g,h)=>ie(l,m,g,h,!1))(e,r,u1,s),Qf=(e,r,s)=>((l,m,g,h)=>ie(l,m,g,h,!0))(e,r,u1,s),Ev=Ki,xg=["top","bottom","right","left"],eh="data-alloy-transition-timer",Tv=(e,r,s,l,m,g)=>{const h=((x,w,S)=>S.exists(A=>{const N=x.mode;return N==="all"||A[N]!==w[N]}))(l,m,g);if(h||((x,w)=>((S,A)=>gt(A,N=>Di(S,N)))(x,w.classes))(e,l)){Bn(e,"position",s.position);const x=Xf(r,e),w=bb(r,{...m,rect:x}),S=We(xg,A=>w[A]);((A,N)=>{const F=$=>parseFloat($).toFixed(3);return Ft(N,($,W)=>!((se,le,fe=de)=>vr(se,le,fe).getOr(se.isNone()&&le.isNone()))(A[W].map(F),$.map(F))).isSome()})(s,S)&&(go(e,S),h&&((A,N)=>{Lc(A,N.classes),Ca(A,eh).each(F=>{clearTimeout(parseInt(F,10)),xa(A,eh)}),((F,$)=>{const W=vg(),se=vg();let le;const fe=ye=>{var we;const Ye=(we=ye.raw.pseudoElement)!==null&&we!==void 0?we:"";return Jo(ye.target,F)&&$s(Ye)&&Rt(xg,ye.raw.propertyName)},te=ye=>{if(Ao(ye)||fe(ye)){W.clear(),se.clear();const we=ye?.raw.type;(Ao(we)||we===Ni())&&(clearTimeout(le),xa(F,eh),Zi(F,$.classes))}},X=Ul(F,td(),ye=>{fe(ye)&&(X.unbind(),W.set(Ul(F,Ni(),te)),se.set(Ul(F,Ka(),te)))}),ue=(ye=>{const we=ro=>{const no=aa(ye,ro).split(/\s*,\s*/);return Pt(no,ja)},Ye=ro=>{if(to(ro)&&/^[\d.]+/.test(ro)){const no=parseFloat(ro);return cs(ro,"ms")?no:1e3*no}return 0},Tt=we("transition-delay"),Qt=we("transition-duration");return To(Qt,(ro,no,Uo)=>{const pn=Ye(Tt[Uo])+Ye(no);return Math.max(ro,pn)},0)})(F);requestAnimationFrame(()=>{le=setTimeout(te,ue+17),Kn(F,eh,le)})})(A,N)})(e,l),ne(e))}else Zi(e,l.classes)},th=(e,r)=>{((s,l)=>{const m=Pe.max(s,l,["margin-top","border-top-width","padding-top","padding-bottom","border-bottom-width","margin-bottom"]);Bn(s,"max-height",m+"px")})(e,Math.floor(r))},Ip=me((e,r)=>{th(e,r),ji(e,{"overflow-x":"hidden","overflow-y":"auto"})}),wg=me((e,r)=>{th(e,r)}),vb=(e,r,s)=>e[r]===void 0?s:e[r],xb=(e,r,s,l)=>{const m=((g,h,x,w)=>{Pr(h,"max-height"),Pr(h,"max-width");const S={width:Q(A=h),height:ho(A)};var A;return((N,F,$,W,se,le)=>{const fe=W.width,te=W.height,X=(ue,ye,we,Ye,Tt)=>{const Qt=ue($,W,se,N,le),ro=oc(Qt,fe,te,le);return ro.fold(me(ro),(no,Uo,pn,Mn)=>(Tt===Mn?pn>Ye||Uo>we:!Tt&&Mn)?ro:Lp.nofit(ye,we,Ye,Tt))};return To(F,(ue,ye)=>{const we=rt(X,ye);return ue.fold(me(ue),we)},Lp.nofit({rect:$,maxHeight:W.height,maxWidth:W.width,direction:ru(),placement:"southeast",classes:{on:[],off:[]},layout:"none",testY:$.y},-1,-1,!1)).fold(Ze,Ze)})(h,w.preference,g,S,x,w.bounds)})(e,r,s,l);return((g,h,x)=>{const w=bb(x.origin,h);x.transition.each(S=>{Tv(g,x.origin,w,S,h,x.lastPlacement)}),c1(g,w)})(r,m,l),((g,h)=>{((x,w)=>{Kn(x,Jf,w)})(g,h.placement)})(r,m),((g,h)=>{const x=h.classes;Zi(g,x.off),Lc(g,x.on)})(r,m),((g,h,x)=>{(0,x.maxHeightFunction)(g,h.maxHeight)})(r,m,l),((g,h,x)=>{(0,x.maxWidthFunction)(g,h.maxWidth)})(r,m,l),{layout:m.layout,placement:m.placement}},kg=["valignCentre","alignLeft","alignRight","alignCentre","top","bottom","left","right","inset"],au=(e,r,s,l=1)=>{const m=e*l,g=r*l,h=w=>Xt(s,w).getOr([]),x=(w,S,A)=>{const N=Oe(kg,A);return{offset:kn(w,S),classesOn:ct(A,h),classesOff:ct(N,h)}};return{southeast:()=>x(-e,r,["top","alignLeft"]),southwest:()=>x(e,r,["top","alignRight"]),south:()=>x(-e/2,r,["top","alignCentre"]),northeast:()=>x(-e,-r,["bottom","alignLeft"]),northwest:()=>x(e,-r,["bottom","alignRight"]),north:()=>x(-e/2,-r,["bottom","alignCentre"]),east:()=>x(e,-r/2,["valignCentre","left"]),west:()=>x(-e,-r/2,["valignCentre","right"]),insetNortheast:()=>x(m,g,["top","alignLeft","inset"]),insetNorthwest:()=>x(-m,g,["top","alignRight","inset"]),insetNorth:()=>x(-m/2,g,["top","alignCentre","inset"]),insetSoutheast:()=>x(m,-g,["bottom","alignLeft","inset"]),insetSouthwest:()=>x(-m,-g,["bottom","alignRight","inset"]),insetSouth:()=>x(-m/2,-g,["bottom","alignCentre","inset"]),insetEast:()=>x(-m,-g/2,["valignCentre","right","inset"]),insetWest:()=>x(m,-g/2,["valignCentre","left","inset"])}},_g=()=>au(0,0,{}),fm=Ze,su=(e,r)=>s=>r_(s)==="rtl"?r:e,r_=e=>aa(e,"direction")==="rtl"?"rtl":"ltr";var ju;(function(e){e.TopToBottom="toptobottom",e.BottomToTop="bottomtotop"})(ju||(ju={}));const oh="data-alloy-vertical-dir",zv=e=>Hf(e,r=>wt(r)&&Ma(r,"data-alloy-vertical-dir")===ju.BottomToTop),hm=()=>gl("layouts",[Yt("onLtr"),Yt("onRtl"),la("onBottomLtr"),la("onBottomRtl")]),Cg=(e,r,s,l,m,g,h)=>{const x=h.map(zv).getOr(!1),w=r.layouts.map(F=>F.onLtr(e)),S=r.layouts.map(F=>F.onRtl(e)),A=x?r.layouts.bind(F=>F.onBottomLtr.map($=>$(e))).or(w).getOr(m):w.getOr(s),N=x?r.layouts.bind(F=>F.onBottomRtl.map($=>$(e))).or(S).getOr(g):S.getOr(l);return su(A,N)(e)};var wb=[Yt("hotspot"),la("bubble"),ft("overrides",{}),hm(),as("placement",(e,r,s)=>{const l=r.hotspot,m=Xf(s,l.element),g=Cg(e.element,r,fb(),Bp(),s1(),Zm(),R.some(r.hotspot.element));return R.some(fm({anchorBox:m,bubble:r.bubble.getOr(_g()),overrides:r.overrides,layouts:g}))})],Av=[Yt("x"),Yt("y"),ft("height",0),ft("width",0),ft("bubble",_g()),ft("overrides",{}),hm(),as("placement",(e,r,s)=>{const l=yb(s,r.x,r.y),m=Ba(l.left,l.top,r.width,r.height),g=Cg(e.element,r,$l(),zc(),$l(),zc(),R.none());return R.some(fm({anchorBox:m,bubble:r.bubble,overrides:r.overrides,layouts:g}))})];const m1=Ui([{screen:["point"]},{absolute:["point","scrollLeft","scrollTop"]}]),kb=e=>e.fold(Ze,(r,s,l)=>r.translate(-s,-l)),a_=e=>e.fold(Ze,Ze),Sg=e=>To(e,(r,s)=>r.translate(s.left,s.top),kn(0,0)),nh=e=>{const r=dt(e,a_);return Sg(r)},g1=m1.screen,Ov=m1.absolute,qm=(e,r,s)=>{const l=Ne(e.element),m=pa(l),g=((h,x,w)=>{const S=Ho(w.root).dom;return R.from(S.frameElement).map(St).filter(A=>{const N=Ne(A),F=Ne(h.element);return Jo(N,F)}).map(Or)})(e,0,s).getOr(m);return Ov(g,m.left,m.top)},Pp=(e,r,s,l)=>{const m=g1(kn(e,r));return R.some(((g,h,x)=>({point:g,width:h,height:x}))(m,s,l))},p1=(e,r,s,l,m)=>e.map(g=>{const h=[r,g.point],x=(w=()=>nh(h),S=()=>nh(h),A=()=>(X=>{const ue=dt(X,kb);return Sg(ue)})(h),l.fold(w,S,A));var w,S,A;const N=(se=x.left,le=x.top,fe=g.width,te=g.height,{x:se,y:le,width:fe,height:te}),F=s.showAbove?s1():fb(),$=s.showAbove?Zm():Bp(),W=Cg(m,s,F,$,F,$,R.none());var se,le,fe,te;return fm({anchorBox:N,bubble:s.bubble.getOr(_g()),overrides:s.overrides,layouts:W})});var _b=[Yt("node"),Yt("root"),la("bubble"),hm(),ft("overrides",{}),ft("showAbove",!1),as("placement",(e,r,s)=>{const l=qm(e,0,r);return r.node.filter(za).bind(m=>{const g=m.dom.getBoundingClientRect(),h=Pp(g.left,g.top,g.width,g.height),x=r.node.getOr(e.element);return p1(h,l,r,s,x)})})];const Cb=(e,r,s,l)=>({start:e,soffset:r,finish:s,foffset:l}),rh=Ui([{before:["element"]},{on:["element","offset"]},{after:["element"]}]),Nv=(rh.before,rh.on,rh.after,e=>e.fold(Ze,Ze,Ze)),iu=Ui([{domRange:["rng"]},{relative:["startSitu","finishSitu"]},{exact:["start","soffset","finish","foffset"]}]),Hp={domRange:iu.domRange,relative:iu.relative,exact:iu.exact,exactFromRange:e=>iu.exact(e.start,e.soffset,e.finish,e.foffset),getWin:e=>{const r=(s=>s.match({domRange:l=>St(l.startContainer),relative:(l,m)=>Nv(l),exact:(l,m,g,h)=>l}))(e);return Ho(r)},range:Cb},Mv=(e,r,s)=>{const l=e.document.createRange();var m;return m=l,r.fold(g=>{m.setStartBefore(g.dom)},(g,h)=>{m.setStart(g.dom,h)},g=>{m.setStartAfter(g.dom)}),((g,h)=>{h.fold(x=>{g.setEndBefore(x.dom)},(x,w)=>{g.setEnd(x.dom,w)},x=>{g.setEndAfter(x.dom)})})(l,s),l},Sb=(e,r,s,l,m)=>{const g=e.document.createRange();return g.setStart(r.dom,s),g.setEnd(l.dom,m),g},f1=e=>({left:e.left,top:e.top,right:e.right,bottom:e.bottom,width:e.width,height:e.height}),Eg=Ui([{ltr:["start","soffset","finish","foffset"]},{rtl:["start","soffset","finish","foffset"]}]),Dv=(e,r,s)=>r(St(s.startContainer),s.startOffset,St(s.endContainer),s.endOffset),Tg=(e,r)=>((s,l)=>{const m=((g,h)=>h.match({domRange:x=>({ltr:me(x),rtl:R.none}),relative:(x,w)=>({ltr:Ee(()=>Mv(g,x,w)),rtl:Ee(()=>R.some(Mv(g,w,x)))}),exact:(x,w,S,A)=>({ltr:Ee(()=>Sb(g,x,w,S,A)),rtl:Ee(()=>R.some(Sb(g,S,A,x,w)))})}))(s,l);return((g,h)=>{const x=h.ltr();return x.collapsed?h.rtl().filter(w=>w.collapsed===!1).map(w=>Eg.rtl(St(w.endContainer),w.endOffset,St(w.startContainer),w.startOffset)).getOrThunk(()=>Dv(0,Eg.ltr,x)):Dv(0,Eg.ltr,x)})(0,m)})(e,r).match({ltr:(s,l,m,g)=>{const h=e.document.createRange();return h.setStart(s.dom,l),h.setEnd(m.dom,g),h},rtl:(s,l,m,g)=>{const h=e.document.createRange();return h.setStart(m.dom,g),h.setEnd(s.dom,l),h}});Eg.ltr,Eg.rtl;const h1=(e,r,s)=>Pt(((l,m)=>{const g=it(m)?m:Bo;let h=l.dom;const x=[];for(;h.parentNode!==null&&h.parentNode!==void 0;){const w=h.parentNode,S=St(w);if(x.push(S),g(S)===!0)break;h=w}return x})(e,s),r),Zl=(e,r)=>((s,l)=>{const m=l===void 0?document:l.dom;return Br(m)?[]:dt(m.querySelectorAll(s),St)})(r,e),Rv=e=>{if(e.rangeCount>0){const r=e.getRangeAt(0),s=e.getRangeAt(e.rangeCount-1);return R.some(Cb(St(r.startContainer),r.startOffset,St(s.endContainer),s.endOffset))}return R.none()},Bv=e=>{if(e.anchorNode===null||e.focusNode===null)return Rv(e);{const r=St(e.anchorNode),s=St(e.focusNode);return((l,m,g,h)=>{const x=((S,A,N,F)=>{const $=Ne(S).dom.createRange();return $.setStart(S.dom,A),$.setEnd(N.dom,F),$})(l,m,g,h),w=Jo(l,g)&&m===h;return x.collapsed&&!w})(r,e.anchorOffset,s,e.focusOffset)?R.some(Cb(r,e.anchorOffset,s,e.focusOffset)):Rv(e)}},b1=(e,r)=>(s=>{const l=s.getClientRects(),m=l.length>0?l[0]:s.getBoundingClientRect();return m.width>0||m.height>0?R.some(m).map(f1):R.none()})(Tg(e,r)),s_=((e,r)=>{const s=l=>e(l)?R.from(l.dom.nodeValue):R.none();return{get:l=>{if(!e(l))throw new Error("Can only get text value of a text node");return s(l).getOr("")},getOption:s,set:(l,m)=>{if(!e(l))throw new Error("Can only set raw text value of a text node");l.dom.nodeValue=m}}})(It),Eb=(e,r)=>({element:e,offset:r}),y1=(e,r)=>It(e)?Eb(e,r):((s,l)=>{const m=wn(s);if(m.length===0)return Eb(s,l);if(ls_.get(x))(g).length:wn(g).length;return Eb(g,h)}})(e,r),ah=e=>e.foffset!==void 0,sh=(e,r)=>r.getSelection.getOrThunk(()=>()=>(s=>(l=>R.from(l.getSelection()))(s).filter(l=>l.rangeCount>0).bind(Bv))(e))().map(s=>{if(ah(s)){const l=y1(s.start,s.soffset),m=y1(s.finish,s.foffset);return Hp.range(l.element,l.offset,m.element,m.offset)}return s});var Fv=[la("getSelection"),Yt("root"),la("bubble"),hm(),ft("overrides",{}),ft("showAbove",!1),as("placement",(e,r,s)=>{const l=Ho(r.root).dom,m=qm(e,0,r),g=sh(l,r).bind(x=>{if(ah(x))return((S,A)=>(N=>{const F=N.getBoundingClientRect();return F.width>0||F.height>0?R.some(F).map(f1):R.none()})(Tg(S,A)))(l,Hp.exactFromRange(x)).orThunk(()=>{const S=Mo("\uFEFF");yt(x.start,S);const A=b1(l,Hp.exact(S,0,S,1));return ia(S),A}).bind(S=>Pp(S.left,S.top,S.width,S.height));{const w=Zo(x,A=>A.dom.getBoundingClientRect()),S={left:Math.min(w.firstCell.left,w.lastCell.left),right:Math.max(w.firstCell.right,w.lastCell.right),top:Math.min(w.firstCell.top,w.lastCell.top),bottom:Math.max(w.firstCell.bottom,w.lastCell.bottom)};return Pp(S.left,S.top,S.right-S.left,S.bottom-S.top)}}),h=sh(l,r).bind(x=>ah(x)?wt(x.start)?R.some(x.start):Go(x.start):R.some(x.firstCell)).getOr(e.element);return p1(g,m,r,s,h)})];const Tb="link-layout",zb=e=>e.x+e.width,v1=(e,r)=>e.x-r.width,zg=(e,r)=>e.y-r.height+e.height,Ab=e=>e.y,ih=(e,r,s)=>Ji(zb(e),Ab(e),s.southeast(),ru(),"southeast",sl(e,{left:0,top:2}),Tb),bm=(e,r,s)=>Ji(v1(e,r),Ab(e),s.southwest(),gm(),"southwest",sl(e,{right:1,top:2}),Tb),Lv=(e,r,s)=>Ji(zb(e),zg(e,r),s.northeast(),Ht(),"northeast",sl(e,{left:0,bottom:3}),Tb),x1=(e,r,s)=>Ji(v1(e,r),zg(e,r),s.northwest(),Rp(),"northwest",sl(e,{right:1,bottom:3}),Tb),lh=()=>[ih,bm,Lv,x1],Ag=()=>[bm,ih,x1,Lv];var i_=[Yt("item"),hm(),ft("overrides",{}),as("placement",(e,r,s)=>{const l=Xf(s,r.item.element),m=Cg(e.element,r,lh(),Ag(),lh(),Ag(),R.none());return R.some(fm({anchorBox:l,bubble:_g(),overrides:r.overrides,layouts:m}))})],Ob=Ms("type",{selection:Fv,node:_b,hotspot:wb,submenu:i_,makeshift:Av});const jp=[al("classes",wa),pl("mode","all",["all","layout","placement"])],Iv=[ft("useFixed",Bo),la("getBounds")],Nb=[ni("anchor",Ob),gl("transition",jp)],Mb=(e,r,s,l,m,g)=>{const h=fi("placement.info",Cn(Nb),m),x=h.anchor,w=l.element,S=s.get(l.uid);Kf(()=>{Bn(w,"position","fixed");const A=Ir(w,"visibility");Bn(w,"visibility","hidden");const N=r.useFixed()?(()=>{const F=document.documentElement;return n_(0,0,F.clientWidth,F.clientHeight)})():(F=>{const $=Or(F.element),W=F.element.dom.getBoundingClientRect();return Cv($.left,$.top,W.width,W.height)})(e);x.placement(e,x,N).each(F=>{const $=g.orThunk(()=>r.getBounds.map(gn)),W=((se,le,fe,te,X,ue)=>((ye,we,Ye,Tt,Qt,ro,no,Uo)=>{const pn=vb(no,"maxHeightFunction",Ip()),Mn=vb(no,"maxWidthFunction",he),ar=ye.anchorBox,dr=ye.origin,jr={bounds:o_(dr,ro),origin:dr,preference:Tt,maxHeightFunction:pn,maxWidthFunction:Mn,lastPlacement:Qt,transition:Uo};return xb(ar,we,Ye,jr)})(((ye,we)=>((Ye,Tt)=>({anchorBox:Ye,origin:Tt}))(ye,we))(le.anchorBox,se),te.element,le.bubble,le.layouts,X,fe,le.overrides,ue))(N,F,$,l,S,h.transition);s.set(l.uid,W)}),A.fold(()=>{Pr(w,"visibility")},F=>{Bn(w,"visibility",F)}),Ir(w,"left").isNone()&&Ir(w,"top").isNone()&&Ir(w,"right").isNone()&&Ir(w,"bottom").isNone()&&Rr(Ir(w,"position"),"fixed")&&Pr(w,"position")},w)};var w1=Object.freeze({__proto__:null,position:(e,r,s,l,m)=>{const g=R.none();Mb(e,r,s,l,m,g)},positionWithinBounds:Mb,getMode:(e,r,s)=>r.useFixed()?"fixed":"absolute",reset:(e,r,s,l)=>{const m=l.element;Ie(["position","left","right","top","bottom"],g=>Pr(m,g)),(g=>{xa(g,Jf)})(m),s.clear(l.uid)}});const xl=Ri({fields:Iv,name:"positioning",active:t_,apis:w1,state:Object.freeze({__proto__:null,init:()=>{let e={};return Ia({readState:()=>e,clear:r=>{Ue(r)?delete e[r]:e={}},set:(r,s)=>{e[r]=s},get:r=>Xt(e,r)})}})}),ch=e=>e.getSystem().isConnected(),dh=e=>{$r(e,sm());const r=e.components();Ie(r,dh)},Dd=e=>{const r=e.components();Ie(r,Dd),$r(e,Rc())},k1=(e,r)=>{e.getSystem().addToWorld(r),za(e.element)&&Dd(r)},uh=e=>{dh(e),e.getSystem().removeFromWorld(e)},Og=(e,r)=>{ur(e.element,r.element)},ym=(e,r)=>{Db(e,r,ur)},Db=(e,r,s)=>{e.getSystem().addToWorld(r),s(e.element,r.element),za(e.element)&&Dd(r),e.syncComponents()},Rb=e=>{dh(e),ia(e.element),e.getSystem().removeFromWorld(e)},id=e=>{const r=nn(e.element).bind(s=>e.getSystem().getByDom(s).toOptional());Rb(e),r.each(s=>{s.syncComponents()})},lu=e=>{const r=e.components();Ie(r,Rb),ei(e.element),e.syncComponents()},mh=(e,r)=>{Pv(e,r,ur)},Vp=(e,r)=>{Pv(e,r,Lt)},Pv=(e,r,s)=>{s(e,r.element);const l=wn(r.element);Ie(l,m=>{r.getByDom(m).each(Dd)})},Hv=e=>{const r=wn(e.element);Ie(r,s=>{e.getByDom(s).each(dh)}),ia(e.element)},Bb=(e,r,s,l)=>{s.get().each(h=>{lu(e)});const m=r.getAttachPoint(e);ym(m,e);const g=e.getSystem().build(l);return ym(e,g),s.set(g),g},_1=(e,r,s,l)=>{const m=Bb(e,r,s,l);return r.onOpen(e,m),m},jv=(e,r,s)=>{s.get().each(l=>{lu(e),id(e),r.onClose(e,l),s.clear()})},Ng=(e,r,s)=>s.isOpen(),$p=(e,r,s)=>{const l=r.getAttachPoint(e);Bn(e.element,"position",xl.getMode(l)),((m,g,h,x)=>{Ir(m.element,g).fold(()=>{xa(m.element,h)},w=>{Kn(m.element,h,w)}),Bn(m.element,g,"hidden")})(e,"visibility",r.cloakVisibilityAttr)},vm=(e,r,s)=>{(l=>uo(["top","left","right","bottom"],m=>Ir(l,m).isSome()))(e.element)||Pr(e.element,"position"),((l,m,g)=>{Ca(l.element,g).fold(()=>Pr(l.element,m),h=>Bn(l.element,m,h))})(e,"visibility",r.cloakVisibilityAttr)};var Mg=Object.freeze({__proto__:null,cloak:$p,decloak:vm,open:_1,openWhileCloaked:(e,r,s,l,m)=>{$p(e,r),_1(e,r,s,l),m(),vm(e,r)},close:jv,isOpen:Ng,isPartOf:(e,r,s,l)=>Ng(0,0,s)&&s.get().exists(m=>r.isPartOf(e,m,l)),getState:(e,r,s)=>s.get(),setContent:(e,r,s,l)=>s.get().map(()=>Bb(e,r,s,l))}),Ac=Object.freeze({__proto__:null,events:(e,r)=>qa([Kt(Sd(),(s,l)=>{jv(s,e,r)})])}),cu=[Hr("onOpen"),Hr("onClose"),Yt("isPartOf"),Yt("getAttachPoint"),ft("cloakVisibilityAttr","data-precloak-visibility")],Rd=Object.freeze({__proto__:null,init:()=>{const e=ms(),r=me("not-implemented");return Ia({readState:r,isOpen:e.isSet,clear:e.clear,set:e.set,get:e.get})}});const Lr=Ri({fields:cu,name:"sandboxing",active:Ac,apis:Mg,state:Rd}),Bd=me("dismiss.popups"),Dg=me("reposition.popups"),C1=me("mouse.released"),Vv=pi([ft("isExtraPart",Bo),gl("fireEventInstead",[ft("event",Ou())])]),Rg=e=>{const r=fi("Dismissal",Vv,e);return{[Bd()]:{schema:pi([Yt("target")]),onReceive:(s,l)=>{Lr.isOpen(s)&&(Lr.isPartOf(s,l.target)||r.isExtraPart(s,l.target)||r.fireEventInstead.fold(()=>Lr.close(s),m=>$r(s,m.event)))}}}},Up=pi([gl("fireEventInstead",[ft("event",xp())]),ml("doReposition")]),Zp=e=>{const r=fi("Reposition",Up,e);return{[Dg()]:{onReceive:s=>{Lr.isOpen(s)&&r.fireEventInstead.fold(()=>r.doReposition(s),l=>$r(s,l.event))}}}},Fb=(e,r,s)=>{r.store.manager.onLoad(e,r,s)},xm=(e,r,s)=>{r.store.manager.onUnload(e,r,s)};var qp=Object.freeze({__proto__:null,onLoad:Fb,onUnload:xm,setValue:(e,r,s,l)=>{r.store.manager.setValue(e,r,s,l)},getValue:(e,r,s)=>r.store.manager.getValue(e,r,s),getState:(e,r,s)=>s}),Lb=Object.freeze({__proto__:null,events:(e,r)=>{const s=e.resetOnDom?[La((l,m)=>{Fb(l,e,r)}),od((l,m)=>{xm(l,e,r)})]:[qf(e,r,Fb)];return qa(s)}});const Wp=()=>{const e=Sn(null);return Ia({set:e.set,get:e.get,isNotSet:()=>e.get()===null,clear:()=>{e.set(null)},readState:()=>({mode:"memory",value:e.get()})})},Bi=()=>{const e=Sn({}),r=Sn({});return Ia({readState:()=>({mode:"dataset",dataByValue:e.get(),dataByText:r.get()}),lookup:s=>Xt(e.get(),s).orThunk(()=>Xt(r.get(),s)),update:s=>{const l=e.get(),m=r.get(),g={},h={};Ie(s,x=>{g[x.value]=x,Xt(x,"meta").each(w=>{Xt(w,"text").each(S=>{h[S]=x})})}),e.set({...l,...g}),r.set({...m,...h})},clear:()=>{e.set({}),r.set({})}})};var $v=Object.freeze({__proto__:null,memory:Wp,dataset:Bi,manual:()=>Ia({readState:he}),init:e=>e.store.manager.state(e)});const du=(e,r,s,l)=>{const m=r.store;s.update([l]),m.setValue(e,l),r.onSetValue(e,l)};var Ib=[la("initialValue"),Yt("getFallbackEntry"),Yt("getDataKey"),Yt("setValue"),as("manager",{setValue:du,getValue:(e,r,s)=>{const l=r.store,m=l.getDataKey(e);return s.lookup(m).getOrThunk(()=>l.getFallbackEntry(m))},onLoad:(e,r,s)=>{r.store.initialValue.each(l=>{du(e,r,s,l)})},onUnload:(e,r,s)=>{s.clear()},state:Bi})],Pb=[Yt("getValue"),ft("setValue",he),la("initialValue"),as("manager",{setValue:(e,r,s,l)=>{r.store.setValue(e,l),r.onSetValue(e,l)},getValue:(e,r,s)=>r.store.getValue(e),onLoad:(e,r,s)=>{r.store.initialValue.each(l=>{r.store.setValue(e,l)})},onUnload:he,state:ha.init})],Gp=[la("initialValue"),as("manager",{setValue:(e,r,s,l)=>{s.set(l),r.onSetValue(e,l)},getValue:(e,r,s)=>s.get(),onLoad:(e,r,s)=>{r.store.initialValue.each(l=>{s.isNotSet()&&s.set(l)})},onUnload:(e,r,s)=>{s.clear()},state:Wp})],Uv=[Ai("store",{mode:"memory"},Ms("mode",{memory:Gp,manual:Pb,dataset:Ib})),Hr("onSetValue"),ft("resetOnDom",!1)];const Wo=Ri({fields:Uv,name:"representing",active:Lb,apis:qp,extra:{setValueFrom:(e,r)=>{const s=Wo.getValue(r);Wo.setValue(e,s)}},state:$v}),qi=(e,r)=>Bm(e,{},dt(r,s=>{return l=s.name(),m="Cannot configure "+s.name()+" for "+e,oi(l,l,{tag:"option",process:{}},Xc(g=>Mc("The field: "+l+" is forbidden. "+m)));var l,m}).concat([ao("dump",Ze)])),Hb=e=>e.dump,Fi=(e,r)=>({...Oo(r),...e.dump}),nc=qi,Bg=Fi,S1="placeholder",gh=Ui([{single:["required","valueThunk"]},{multiple:["required","valueThunks"]}]),p=e=>Vo(e,"uiType"),b=(e,r,s,l)=>((m,g,h,x)=>p(h)&&h.uiType===S1?((w,S,A,N)=>w.exists(F=>F!==A.owner)?gh.single(!0,me(A)):Xt(N,A.name).fold(()=>{throw new Error("Unknown placeholder component: "+A.name+` +Known: [`+Vt(N)+`] +Namespace: `+w.getOr("none")+` +Spec: `+JSON.stringify(A,null,2))},F=>F.replace()))(m,0,h,x):gh.single(!1,me(h)))(e,0,s,l).fold((m,g)=>{const h=p(s)?g(r,s.config,s.validated):g(r),x=Xt(h,"components").getOr([]),w=ct(x,S=>b(e,r,S,l));return[{...h,components:w}]},(m,g)=>{if(p(s)){const h=g(r,s.config,s.validated);return s.validated.preprocess.getOr(Ze)(h)}return g(r)}),_=gh.single,T=gh.multiple,L=me(S1),I=Ui([{required:["data"]},{external:["data"]},{optional:["data"]},{group:["data"]}]),Z=ft("factory",{sketch:Ze}),Y=ft("schema",[]),ae=Yt("name"),be=oi("pname","pname",os(e=>""),Cl()),Le=ao("schema",()=>[la("preprocess")]),_e=ft("defaults",me({})),Re=ft("overrides",me({})),Xe=Cn([Z,Y,ae,be,_e,Re]),Et=Cn([Z,Y,ae,_e,Re]),vt=Cn([Z,Y,ae,be,_e,Re]),qt=Cn([Z,Le,ae,Yt("unit"),be,_e,Re]),eo=e=>e.fold(R.some,R.none,R.some,R.some),bo=e=>{const r=s=>s.name;return e.fold(r,r,r,r)},so=(e,r)=>s=>{const l=fi("Converting part type",r,s);return e(l)},Eo=so(I.required,Xe),Do=so(I.external,Et),No=so(I.optional,vt),Ln=so(I.group,qt),qn=me("entirety");var Qr=Object.freeze({__proto__:null,required:Eo,external:Do,optional:No,group:Ln,asNamedPart:eo,name:bo,asCommon:e=>e.fold(Ze,Ze,Ze,Ze),original:qn});const or=(e,r,s,l)=>Da(r.defaults(e,s,l),s,{uid:e.partUids[r.name]},r.overrides(e,s,l)),Mr=(e,r)=>{const s={};return Ie(r,l=>{eo(l).each(m=>{const g=Er(e,m.pname);s[m.name]=h=>{const x=fi("Part: "+m.name+" in "+e,Cn(m.schema),h);return{...g,config:h,validated:x}}})}),s},Er=(e,r)=>({uiType:L(),owner:e,name:r}),ca=(e,r,s)=>({uiType:L(),owner:e,name:r,config:s,validated:{}}),zs=e=>ct(e,r=>r.fold(R.none,R.some,R.none,R.none).map(s=>zi(s.name,s.schema.concat([db(qn())]))).toArray()),il=e=>dt(e,bo),ii=(e,r,s)=>((l,m,g)=>{const h={},x={};return Ie(g,w=>{w.fold(S=>{h[S.pname]=_(!0,(A,N,F)=>S.factory.sketch(or(A,S,N,F)))},S=>{const A=m.parts[S.name];x[S.name]=me(S.factory.sketch(or(m,S,A[qn()]),A))},S=>{h[S.pname]=_(!1,(A,N,F)=>S.factory.sketch(or(A,S,N,F)))},S=>{h[S.pname]=T(!0,(A,N,F)=>{const $=A[S.name];return dt($,W=>S.factory.sketch(Da(S.defaults(A,W,F),W,S.overrides(A,W))))})})}),{internals:me(h),externals:me(x)}})(0,r,s),ql=(e,r,s)=>((l,m,g,h)=>{const x=Zo(h,(S,A)=>((N,F)=>{let $=!1;return{name:me(N),required:()=>F.fold((W,se)=>W,(W,se)=>W),used:()=>$,replace:()=>{if($)throw new Error("Trying to use the same placeholder more than once: "+N);return $=!0,F}}})(A,S)),w=((S,A,N,F)=>ct(N,$=>b(S,A,$,F)))(l,m,g,x);return $o(x,S=>{if(S.used()===!1&&S.required())throw new Error("Placeholder: "+S.name()+` was not found in components list +Namespace: `+l.getOr("none")+` +Components: `+JSON.stringify(m.components,null,2))}),w})(R.some(e),r,r.components,s),ua=(e,r,s)=>{const l=r.partUids[s];return e.getSystem().getByUid(l).toOptional()},li=(e,r,s)=>ua(e,r,s).getOrDie("Could not find part: "+s),Vu=(e,r,s)=>{const l={},m=r.partUids,g=e.getSystem();return Ie(s,h=>{l[h]=me(g.getByUid(m[h]))}),l},Kp=(e,r)=>{const s=e.getSystem();return Zo(r.partUids,(l,m)=>me(s.getByUid(l)))},wm=e=>Vt(e.partUids),Fg=(e,r,s)=>{const l={},m=r.partUids,g=e.getSystem();return Ie(s,h=>{l[h]=me(g.getByUid(m[h]).getOrDie())}),l},Yp=(e,r)=>{const s=il(r);return Oi(dt(s,l=>({key:l,value:e+"-"+l})))},Xp=e=>oi("partUids","partUids",dc(r=>Yp(r.uid,e)),Cl());var A3=Object.freeze({__proto__:null,generate:Mr,generateOne:ca,schemas:zs,names:il,substitutes:ii,components:ql,defaultUids:Yp,defaultUidsSchema:Xp,getAllParts:Kp,getAllPartNames:wm,getPart:ua,getPartOrDie:li,getParts:Vu,getPartsOrDie:Fg});const Zv=(e,r,s,l,m)=>{const g=((h,x)=>(h.length>0?[zi("parts",h)]:[]).concat([Yt("uid"),ft("dom",{}),ft("components",[]),db("originalSpec"),ft("debug.sketcher",{})]).concat(x))(l,m);return fi(e+" [SpecSchema]",pi(g.concat(r)),s)},Jp=(e,r,s,l,m)=>{const g=qv(m),h=zs(s),x=Xp(s),w=Zv(e,r,g,h,[x]),S=ii(0,w,s);return l(w,ql(e,w,S.internals()),g,S.externals())},qv=e=>(r=>Vo(r,"uid"))(e)?e:{...e,uid:G("uid")},O3=pi([Yt("name"),Yt("factory"),Yt("configFields"),ft("apis",{}),ft("extraApis",{})]),Qp=pi([Yt("name"),Yt("factory"),Yt("configFields"),Yt("partFields"),ft("apis",{}),ft("extraApis",{})]),Pc=e=>{const r=fi("Sketcher for "+e.name,O3,e),s=Zo(r.apis,Nr),l=Zo(r.extraApis,(m,g)=>qo(m,g));return{name:r.name,configFields:r.configFields,sketch:m=>((g,h,x,w)=>{const S=qv(w);return x(Zv(g,h,S,[],[]),S)})(r.name,r.configFields,r.factory,m),...s,...l}},Wl=e=>{const r=fi("Sketcher for "+e.name,Qp,e),s=Mr(r.name,r.partFields),l=Zo(r.apis,Nr),m=Zo(r.extraApis,(g,h)=>qo(g,h));return{name:r.name,partFields:r.partFields,configFields:r.configFields,sketch:g=>Jp(r.name,r.configFields,r.partFields,r.factory,g),parts:s,...l,...m}},Lg=e=>sr("input")(e)&&Ma(e,"type")!=="radio"||sr("textarea")(e);var N3=Object.freeze({__proto__:null,getCurrent:(e,r,s)=>r.find(e)});const Wv=[Yt("find")],Gr=Ri({fields:Wv,name:"composing",apis:N3}),Wm=["input","button","textarea","select"],Fd=(e,r,s)=>{(r.disabled()?Gv:Kv)(e,r)},el=(e,r)=>r.useNative===!0&&Rt(Wm,gr(e.element)),l_=e=>{Kn(e.element,"disabled","disabled")},M3=e=>{xa(e.element,"disabled")},c_=e=>{Kn(e.element,"aria-disabled","true")},jb=e=>{Kn(e.element,"aria-disabled","false")},Gv=(e,r,s)=>{r.disableClass.each(l=>{Jr(e.element,l)}),(el(e,r)?l_:c_)(e),r.onDisabled(e)},Kv=(e,r,s)=>{r.disableClass.each(l=>{rs(e.element,l)}),(el(e,r)?M3:jb)(e),r.onEnabled(e)},D3=(e,r)=>el(e,r)?(s=>ds(s.element,"disabled"))(e):(s=>Ma(s.element,"aria-disabled")==="true")(e);var R3=Object.freeze({__proto__:null,enable:Kv,disable:Gv,isDisabled:D3,onLoad:Fd,set:(e,r,s,l)=>{(l?Gv:Kv)(e,r)}}),B3=Object.freeze({__proto__:null,exhibit:(e,r)=>hi({classes:r.disabled()?r.disableClass.toArray():[]}),events:(e,r)=>qa([Nu(fl(),(s,l)=>D3(s,e)),qf(e,r,Fd)])}),_A=[hs("disabled",Bo),ft("useNative",!0),la("disableClass"),Hr("onDisabled"),Hr("onEnabled")];const Qn=Ri({fields:_A,name:"disabling",active:B3,apis:R3}),d_=(e,r,s,l)=>{const m=Zl(e.element,"."+r.highlightClass);Ie(m,g=>{uo(l,h=>Jo(h.element,g))||(rs(g,r.highlightClass),e.getSystem().getByDom(g).each(h=>{r.onDehighlight(e,h),$r(h,Pm())}))})},Vb=(e,r,s,l)=>{d_(e,r,0,[l]),Yv(e,r,s,l)||(Jr(l.element,r.highlightClass),r.onHighlight(e,l),$r(l,dg()))},Yv=(e,r,s,l)=>Di(l.element,r.highlightClass),u_=(e,r,s)=>vs(e.element,"."+r.itemClass).bind(l=>e.getSystem().getByDom(l).toOptional()),E1=(e,r,s)=>{const l=Zl(e.element,"."+r.itemClass);return(l.length>0?R.some(l[l.length-1]):R.none()).bind(m=>e.getSystem().getByDom(m).toOptional())},m_=(e,r,s,l)=>{const m=Zl(e.element,"."+r.itemClass);return Se(m,g=>Di(g,r.highlightClass)).bind(g=>{const h=yg(g,l,0,m.length-1);return e.getSystem().getByDom(m[h]).toOptional()})},ef=(e,r,s)=>{const l=Zl(e.element,"."+r.itemClass);return Wt(dt(l,m=>e.getSystem().getByDom(m).toOptional()))};var T1=Object.freeze({__proto__:null,dehighlightAll:(e,r,s)=>d_(e,r,0,[]),dehighlight:(e,r,s,l)=>{Yv(e,r,s,l)&&(rs(l.element,r.highlightClass),r.onDehighlight(e,l),$r(l,Pm()))},highlight:Vb,highlightFirst:(e,r,s)=>{u_(e,r).each(l=>{Vb(e,r,s,l)})},highlightLast:(e,r,s)=>{E1(e,r).each(l=>{Vb(e,r,s,l)})},highlightAt:(e,r,s,l)=>{((m,g,h,x)=>{const w=Zl(m.element,"."+g.itemClass);return R.from(w[x]).fold(()=>Fr.error(new Error("No element found with index "+x)),m.getSystem().getByDom)})(e,r,0,l).fold(m=>{throw m},m=>{Vb(e,r,s,m)})},highlightBy:(e,r,s,l)=>{const m=ef(e,r);oo(m,l).each(g=>{Vb(e,r,s,g)})},isHighlighted:Yv,getHighlighted:(e,r,s)=>vs(e.element,"."+r.highlightClass).bind(l=>e.getSystem().getByDom(l).toOptional()),getFirst:u_,getLast:E1,getPrevious:(e,r,s)=>m_(e,r,0,-1),getNext:(e,r,s)=>m_(e,r,0,1),getCandidates:ef}),CA=[Yt("highlightClass"),Yt("itemClass"),Hr("onHighlight"),Hr("onDehighlight")];const ba=Ri({fields:CA,name:"highlighting",apis:T1}),F3=[8],Ig=[9],km=[13],tf=[27],Hc=[32],z1=[37],$b=[38],A1=[39],ph=[40],L3=(e,r,s)=>{const l=pe(e.slice(0,r)),m=pe(e.slice(r+1));return oo(l.concat(m),s)},I3=(e,r,s)=>{const l=pe(e.slice(0,r));return oo(l,s)},mn=(e,r,s)=>{const l=e.slice(0,r),m=e.slice(r+1);return oo(m.concat(l),s)},fh=(e,r,s)=>{const l=e.slice(r+1);return oo(l,s)},ea=e=>r=>{const s=r.raw;return Rt(e,s.which)},Ld=e=>r=>gt(e,s=>s(r)),Pg=e=>e.raw.shiftKey===!0,P3=e=>e.raw.ctrlKey===!0,Ub=Yo(Pg),na=(e,r)=>({matches:e,classification:r}),Zb=(e,r,s)=>{r.exists(l=>s.exists(m=>Jo(m,l)))||_n(e,lg(),{prevFocus:r,newFocus:s})},Xv=()=>{const e=r=>gc(r.element);return{get:e,set:(r,s)=>{const l=e(r);r.getSystem().triggerFocus(s,r.element);const m=e(r);Zb(r,l,m)}}},H3=()=>{const e=r=>ba.getHighlighted(r).map(s=>s.element);return{get:e,set:(r,s)=>{const l=e(r);r.getSystem().getByDom(s).fold(he,g=>{ba.highlight(r,g)});const m=e(r);Zb(r,l,m)}}};var qb;(function(e){e.OnFocusMode="onFocus",e.OnEnterOrSpaceMode="onEnterOrSpace",e.OnApiMode="onApi"})(qb||(qb={}));const Hg=(e,r,s,l,m)=>{const g=(x,w,S,A,N)=>{return(F=S(x,w,A,N),$=w.event,oo(F,W=>W.matches($)).map(W=>W.classification)).bind(W=>W(x,w,A,N));var F,$},h={schema:()=>e.concat([ft("focusManager",Xv()),Ai("focusInside","onFocus",Ti(x=>Rt(["onFocus","onEnterOrSpace","onApi"],x)?Fr.value(x):Fr.error("Invalid value for focusInside"))),as("handler",h),as("state",r),as("sendFocusIn",m)]),processKey:g,toEvents:(x,w)=>{const S=x.focusInside!==qb.OnFocusMode?R.none():m(x).map(N=>Kt(Xd(),(F,$)=>{N(F,x,w),$.stop()})),A=[Kt(fn(),(N,F)=>{g(N,F,s,x,w).fold(()=>{(($,W)=>{const se=ea(Hc.concat(km))(W.event);x.focusInside===qb.OnEnterOrSpaceMode&&se&&Tu($,W)&&m(x).each(le=>{le($,x,w),W.stop()})})(N,F)},$=>{F.stop()})}),Kt(ir(),(N,F)=>{g(N,F,l,x,w).each($=>{F.stop()})})];return qa(S.toArray().concat(A))}};return h},Gm=e=>{const r=[la("onEscape"),la("onEnter"),ft("selector",'[data-alloy-tabstop="true"]:not(:disabled)'),ft("firstTabstop",0),ft("useTabstopAt",Ct),la("visibilitySelector")].concat([e]),s=(A,N)=>{const F=A.visibilitySelector.bind($=>Vl(N,$)).getOr(N);return Nt(F)>0},l=(A,N)=>N.focusManager.get(A).bind(F=>Vl(F,N.selector)),m=(A,N,F)=>{(($,W)=>{const se=Zl($.element,W.selector),le=Pt(se,fe=>s(W,fe));return R.from(le[W.firstTabstop])})(A,N).each($=>{N.focusManager.set(A,$)})},g=(A,N,F,$)=>{const W=Zl(A.element,F.selector);return l(A,F).bind(se=>Se(W,rt(Jo,se)).bind(le=>((fe,te,X,ue,ye)=>ye(te,X,we=>((Ye,Tt)=>s(Ye,Tt)&&Ye.useTabstopAt(Tt))(ue,we)).fold(()=>ue.cyclic?R.some(!0):R.none(),we=>(ue.focusManager.set(fe,we),R.some(!0))))(A,W,le,F,$)))},h=(A,N,F)=>{const $=F.cyclic?L3:I3;return g(A,0,F,$)},x=(A,N,F)=>{const $=F.cyclic?mn:fh;return g(A,0,F,$)},w=me([na(Ld([Pg,ea(Ig)]),h),na(ea(Ig),x),na(Ld([Ub,ea(km)]),(A,N,F)=>F.onEnter.bind($=>$(A,N)))]),S=me([na(ea(tf),(A,N,F)=>F.onEscape.bind($=>$(A,N))),na(ea(Ig),(A,N,F)=>l(A,F).filter($=>!F.useTabstopAt($)).bind($=>((W=>(se=>nn(se))(W).bind(Ar).exists(se=>Jo(se,W)))($)?h:x)(A,N,F)))]);return Hg(r,ha.init,w,S,()=>R.some(m))};var Jv=Gm(ao("cyclic",Bo)),Wb=Gm(ao("cyclic",Ct));const of=(e,r,s)=>Lg(s)&&ea(Hc)(r.event)?R.none():((l,m,g)=>(kp(l,g,fl()),R.some(!0)))(e,0,s),Gb=(e,r)=>R.some(!0),j3=[ft("execute",of),ft("useSpace",!1),ft("useEnter",!0),ft("useControlEnter",!1),ft("useDown",!1)],Qv=(e,r,s)=>s.execute(e,r,e.element);var SA=Hg(j3,ha.init,(e,r,s,l)=>{const m=s.useSpace&&!Lg(e.element)?Hc:[],g=s.useEnter?km:[],h=s.useDown?ph:[],x=m.concat(g).concat(h);return[na(ea(x),Qv)].concat(s.useControlEnter?[na(Ld([P3,ea(km)]),Qv)]:[])},(e,r,s,l)=>s.useSpace&&!Lg(e.element)?[na(ea(Hc),Gb)]:[],()=>R.none());const g_=()=>{const e=ms();return Ia({readState:()=>e.get().map(r=>({numRows:String(r.numRows),numColumns:String(r.numColumns)})).getOr({numRows:"?",numColumns:"?"}),setGridSize:(r,s)=>{e.set({numRows:r,numColumns:s})},getNumRows:()=>e.get().map(r=>r.numRows),getNumColumns:()=>e.get().map(r=>r.numColumns)})};var p_=Object.freeze({__proto__:null,flatgrid:g_,init:e=>e.state(e)});const f_=e=>(r,s,l,m)=>{const g=e(r.element);return tx(g,r,s,l,m)},h_=(e,r)=>{const s=su(e,r);return f_(s)},b_=(e,r)=>{const s=su(r,e);return f_(s)},ex=e=>(r,s,l,m)=>tx(e,r,s,l,m),tx=(e,r,s,l,m)=>l.focusManager.get(r).bind(g=>e(r.element,g,l,m)).map(g=>(l.focusManager.set(r,g),!0)),y_=ex,O1=ex,hh=ex,N1=e=>!(r=>r.offsetWidth<=0&&r.offsetHeight<=0)(e.dom),nf=(e,r,s)=>{const l=Zl(e,s);return((m,g)=>Se(m,h=>Jo(h,r)).map(h=>({index:h,candidates:m})))(Pt(l,N1))},V3=(e,r)=>Se(e,s=>Jo(r,s)),v_=(e,r,s,l)=>l(Math.floor(r/s),r%s).bind(m=>{const g=m.row*s+m.column;return g>=0&&gv_(e,r,l,(g,h)=>{const x=g===s-1?e.length-g*l:l,w=yg(h,m,0,x-1);return R.some({row:g,column:w})}),$3=(e,r,s,l,m)=>v_(e,r,l,(g,h)=>{const x=yg(g,m,0,s-1),w=x===s-1?e.length-x*l:l,S=mc(h,0,w-1);return R.some({row:x,column:S})}),w_=[Yt("selector"),ft("execute",of),Ol("onEscape"),ft("captureTab",!1),t1()],U3=(e,r,s)=>{vs(e.element,r.selector).each(l=>{r.focusManager.set(e,l)})},M1=e=>(r,s,l,m)=>nf(r,s,l.selector).bind(g=>e(g.candidates,g.index,m.getNumRows().getOr(l.initSize.numRows),m.getNumColumns().getOr(l.initSize.numColumns))),k_=(e,r,s)=>s.captureTab?R.some(!0):R.none(),Z3=M1((e,r,s,l)=>x_(e,r,s,l,-1)),__=M1((e,r,s,l)=>x_(e,r,s,l,1)),EA=M1((e,r,s,l)=>$3(e,r,s,l,-1)),C_=M1((e,r,s,l)=>$3(e,r,s,l,1)),q3=me([na(ea(z1),h_(Z3,__)),na(ea(A1),b_(Z3,__)),na(ea($b),y_(EA)),na(ea(ph),O1(C_)),na(Ld([Pg,ea(Ig)]),k_),na(Ld([Ub,ea(Ig)]),k_),na(ea(Hc.concat(km)),(e,r,s,l)=>((m,g)=>g.focusManager.get(m).bind(h=>Vl(h,g.selector)))(e,s).bind(m=>s.execute(e,r,m)))]),W3=me([na(ea(tf),(e,r,s)=>s.onEscape(e,r)),na(ea(Hc),Gb)]);var G3=Hg(w_,g_,q3,W3,()=>R.some(U3));const K3=(e,r,s,l,m)=>{const g=(h,x,w)=>m(h,x,l,0,w.length-1,w[x],S=>{return A=w[S],gr(A)==="button"&&Ma(A,"disabled")==="disabled"?g(h,S,w):R.from(w[S]);var A});return nf(e,s,r).bind(h=>{const x=h.index,w=h.candidates;return g(x,x,w)})},Y3=(e,r,s,l)=>K3(e,r,s,l,(m,g,h,x,w,S,A)=>{const N=mc(g+h,x,w);return N===m?R.from(S):A(N)}),ox=(e,r,s,l)=>K3(e,r,s,l,(m,g,h,x,w,S,A)=>{const N=yg(g,h,x,w);return N===m?R.none():A(N)}),TA=[Yt("selector"),ft("getInitial",R.none),ft("execute",of),Ol("onEscape"),ft("executeOnMove",!1),ft("allowVertical",!0),ft("allowHorizontal",!0),ft("cycles",!0)],bh=(e,r,s)=>((l,m)=>m.focusManager.get(l).bind(g=>Vl(g,m.selector)))(e,s).bind(l=>s.execute(e,r,l)),X3=(e,r,s)=>{r.getInitial(e).orThunk(()=>vs(e.element,r.selector)).each(l=>{r.focusManager.set(e,l)})},S_=(e,r,s)=>(s.cycles?ox:Y3)(e,s.selector,r,-1),nx=(e,r,s)=>(s.cycles?ox:Y3)(e,s.selector,r,1),E_=e=>(r,s,l,m)=>e(r,s,l,m).bind(()=>l.executeOnMove?bh(r,s,l):R.some(!0)),zA=me([na(ea(Hc),Gb),na(ea(tf),(e,r,s)=>s.onEscape(e,r))]);var J3=Hg(TA,ha.init,(e,r,s,l)=>{const m=[...s.allowHorizontal?z1:[]].concat(s.allowVertical?$b:[]),g=[...s.allowHorizontal?A1:[]].concat(s.allowVertical?ph:[]);return[na(ea(m),E_(h_(S_,nx))),na(ea(g),E_(b_(S_,nx))),na(ea(km),bh),na(ea(Hc),bh)]},zA,()=>R.some(X3));const D1=(e,r,s)=>R.from(e[r]).bind(l=>R.from(l[s]).map(m=>({rowIndex:r,columnIndex:s,cell:m}))),Q3=(e,r,s,l)=>{const m=e[r].length,g=yg(s,l,0,m-1);return D1(e,r,g)},e4=(e,r,s,l)=>{const m=yg(s,l,0,e.length-1),g=e[m].length,h=mc(r,0,g-1);return D1(e,m,h)},rx=(e,r,s,l)=>{const m=e[r].length,g=mc(s+l,0,m-1);return D1(e,r,g)},ax=(e,r,s,l)=>{const m=mc(s+l,0,e.length-1),g=e[m].length,h=mc(r,0,g-1);return D1(e,m,h)},t4=[zi("selectors",[Yt("row"),Yt("cell")]),ft("cycles",!0),ft("previousSelector",R.none),ft("execute",of)],uu=(e,r,s)=>{r.previousSelector(e).orThunk(()=>{const l=r.selectors;return vs(e.element,l.cell)}).each(l=>{r.focusManager.set(e,l)})},jg=(e,r)=>(s,l,m)=>{const g=m.cycles?e:r;return Vl(l,m.selectors.row).bind(h=>{const x=Zl(h,m.selectors.cell);return V3(x,l).bind(w=>{const S=Zl(s,m.selectors.row);return V3(S,h).bind(A=>{const N=((F,$)=>dt(F,W=>Zl(W,$.selectors.cell)))(S,m);return g(N,A,w).map(F=>F.cell)})})})},sx=jg((e,r,s)=>Q3(e,r,s,-1),(e,r,s)=>rx(e,r,s,-1)),ix=jg((e,r,s)=>Q3(e,r,s,1),(e,r,s)=>rx(e,r,s,1)),lx=jg((e,r,s)=>e4(e,s,r,-1),(e,r,s)=>ax(e,s,r,-1)),T_=jg((e,r,s)=>e4(e,s,r,1),(e,r,s)=>ax(e,s,r,1)),AA=me([na(ea(z1),h_(sx,ix)),na(ea(A1),b_(sx,ix)),na(ea($b),y_(lx)),na(ea(ph),O1(T_)),na(ea(Hc.concat(km)),(e,r,s)=>gc(e.element).bind(l=>s.execute(e,r,l)))]),OA=me([na(ea(Hc),Gb)]);var o4=Hg(t4,ha.init,AA,OA,()=>R.some(uu));const z_=[Yt("selector"),ft("execute",of),ft("moveOnTab",!1)],rf=(e,r,s)=>s.focusManager.get(e).bind(l=>s.execute(e,r,l)),n4=(e,r,s)=>{vs(e.element,r.selector).each(l=>{r.focusManager.set(e,l)})},cx=(e,r,s)=>ox(e,s.selector,r,-1),A_=(e,r,s)=>ox(e,s.selector,r,1),r4=me([na(ea($b),hh(cx)),na(ea(ph),hh(A_)),na(Ld([Pg,ea(Ig)]),(e,r,s,l)=>s.moveOnTab?hh(cx)(e,r,s,l):R.none()),na(Ld([Ub,ea(Ig)]),(e,r,s,l)=>s.moveOnTab?hh(A_)(e,r,s,l):R.none()),na(ea(km),rf),na(ea(Hc),rf)]),a4=me([na(ea(Hc),Gb)]);var s4=Hg(z_,ha.init,r4,a4,()=>R.some(n4));const i4=[Ol("onSpace"),Ol("onEnter"),Ol("onShiftEnter"),Ol("onLeft"),Ol("onRight"),Ol("onTab"),Ol("onShiftTab"),Ol("onUp"),Ol("onDown"),Ol("onEscape"),ft("stopSpaceKeyup",!1),la("focusIn")];var O_=Hg(i4,ha.init,(e,r,s)=>[na(ea(Hc),s.onSpace),na(Ld([Ub,ea(km)]),s.onEnter),na(Ld([Pg,ea(km)]),s.onShiftEnter),na(Ld([Pg,ea(Ig)]),s.onShiftTab),na(Ld([Ub,ea(Ig)]),s.onTab),na(ea($b),s.onUp),na(ea(ph),s.onDown),na(ea(z1),s.onLeft),na(ea(A1),s.onRight),na(ea(Hc),s.onSpace)],(e,r,s)=>[...s.stopSpaceKeyup?[na(ea(Hc),Gb)]:[],na(ea(tf),s.onEscape)],e=>e.focusIn);const NA=Jv.schema(),l4=Wb.schema(),c4=J3.schema(),MA=G3.schema(),d4=o4.schema(),DA=SA.schema(),dx=s4.schema(),RA=O_.schema(),Dn=Fp({branchKey:"mode",branches:Object.freeze({__proto__:null,acyclic:NA,cyclic:l4,flow:c4,flatgrid:MA,matrix:d4,execution:DA,menu:dx,special:RA}),name:"keying",active:{events:(e,r)=>e.handler.toEvents(e,r)},apis:{focusIn:(e,r,s)=>{r.sendFocusIn(r).fold(()=>{e.getSystem().triggerFocus(e.element,e.element)},l=>{l(e,r,s)})},setGridSize:(e,r,s,l,m)=>{(g=>$n(g,"setGridSize"))(s)?s.setGridSize(l,m):console.error("Layout does not support setGridSize")}},state:p_}),pc=(e,r)=>{Kf(()=>{((s,l,m)=>{const g=s.components();(w=>{Ie(w.components(),S=>ia(S.element)),ei(w.element),w.syncComponents()})(s);const h=m(l),x=Oe(g,h);Ie(x,w=>{dh(w),s.getSystem().removeFromWorld(w)}),Ie(h,w=>{ch(w)?Og(s,w):(s.getSystem().addToWorld(w),Og(s,w),za(s.element)&&Dd(w))}),s.syncComponents()})(e,r,()=>dt(r,e.getSystem().build))},e.element)},u4=(e,r)=>{Kf(()=>{((s,l,m)=>{const g=s.components(),h=ct(l,S=>is(S).toArray());Ie(g,S=>{Rt(h,S)||uh(S)});const x=((S,A,N)=>Iu(S,A,(F,$)=>tu(S,$,F,N)))(e.element,r,e.getSystem().buildOrPatch),w=Oe(g,x);Ie(w,S=>{ch(S)&&uh(S)}),Ie(x,S=>{ch(S)||k1(s,S)}),s.syncComponents()})(e,r)},e.element)},m4=(e,r,s,l)=>{uh(r);const m=tu(e.element,s,l,e.getSystem().buildOrPatch);k1(e,m),e.syncComponents()},ux=(e,r,s)=>{const l=e.getSystem().build(s);Db(e,l,r)},g4=(e,r,s,l)=>{id(r),ux(e,(m,g)=>((h,x,w)=>{Un(h,w).fold(()=>{ur(h,x)},S=>{yt(S,x)})})(m,g,s),l)},R1=(e,r)=>e.components(),p4=(e,r,s,l,m)=>{const g=R1(e);return R.from(g[l]).map(h=>(m.fold(()=>id(h),x=>{(r.reuseDom?m4:g4)(e,h,l,x)}),h))};var BA=Object.freeze({__proto__:null,append:(e,r,s,l)=>{ux(e,ur,l)},prepend:(e,r,s,l)=>{ux(e,yn,l)},remove:(e,r,s,l)=>{const m=R1(e);oo(m,h=>Jo(l.element,h.element)).each(id)},replaceAt:p4,replaceBy:(e,r,s,l,m)=>{const g=R1(e);return Se(g,l).bind(h=>p4(e,r,0,h,m))},set:(e,r,s,l)=>(r.reuseDom?u4:pc)(e,l),contents:R1});const fr=Ri({fields:[ri("reuseDom",!0)],name:"replacing",apis:BA}),Tr=(e,r)=>{const s=((l,m)=>{const g=qa(m);return Ri({fields:[Yt("enabled")],name:l,active:{events:me(g)}})})(e,r);return{key:e,value:{config:{},me:s,configAsRaw:me({}),initialConfig:{},state:ha}}},N_=(e,r)=>{r.ignore||(sd(e.element),r.onFocus(e))};var FA=Object.freeze({__proto__:null,focus:N_,blur:(e,r)=>{r.ignore||hb(e.element)},isFocused:e=>Gf(e.element)}),LA=Object.freeze({__proto__:null,exhibit:(e,r)=>{const s=r.ignore?{}:{attributes:{tabindex:"-1"}};return hi(s)},events:e=>qa([Kt(Xd(),(r,s)=>{N_(r,e),s.stop()})].concat(e.stopMousedown?[Kt(ai(),(r,s)=>{s.event.prevent()})]:[]))}),f4=[Hr("onFocus"),ft("stopMousedown",!1),ft("ignore",!1)];const er=Ri({fields:f4,name:"focusing",active:LA,apis:FA}),Kb=(e,r,s,l)=>{const m=s.get();s.set(l),((g,h,x)=>{h.toggleClass.each(w=>{x.get()?Jr(g.element,w):rs(g.element,w)})})(e,r,s),((g,h,x)=>{const w=h.aria;w.update(g,w,x.get())})(e,r,s),m!==l&&r.onToggled(e,l)},h4=(e,r,s)=>{Kb(e,r,s,!s.get())},M_=(e,r,s)=>{Kb(e,r,s,r.selected)};var b4=Object.freeze({__proto__:null,onLoad:M_,toggle:h4,isOn:(e,r,s)=>s.get(),on:(e,r,s)=>{Kb(e,r,s,!0)},off:(e,r,s)=>{Kb(e,r,s,!1)},set:Kb}),af=Object.freeze({__proto__:null,exhibit:()=>hi({}),events:(e,r)=>{const s=(l=e,m=r,g=h4,Cc(x=>{g(x,l,m)}));var l,m,g;const h=qf(e,r,M_);return qa($e([e.toggleOnExecute?[s]:[],[h]]))}});const D_=(e,r,s)=>{Kn(e.element,"aria-expanded",s)};var y4=[ft("selected",!1),la("toggleClass"),ft("toggleOnExecute",!0),Hr("onToggled"),Ai("aria",{mode:"none"},Ms("mode",{pressed:[ft("syncWithExpanded",!1),as("update",(e,r,s)=>{Kn(e.element,"aria-pressed",s),r.syncWithExpanded&&D_(e,0,s)})],checked:[as("update",(e,r,s)=>{Kn(e.element,"aria-checked",s)})],expanded:[as("update",D_)],selected:[as("update",(e,r,s)=>{Kn(e.element,"aria-selected",s)})],none:[as("update",he)]}))];const Dr=Ri({fields:y4,name:"toggling",active:af,apis:b4,state:{init:()=>{const e=Sn(!1);return{get:()=>e.get(),set:r=>e.set(r),clear:()=>e.set(!1),readState:()=>e.get()}}}}),v4=()=>{const e=(r,s)=>{s.stop(),Qd(r)};return[Kt(fa(),e),Kt(Fm(),e),jl(Ws()),jl(ai())]},B1=e=>qa($e([e.map(r=>Cc((s,l)=>{r(s),l.stop()})).toArray(),v4()])),mx="alloy.item-hover",gx="alloy.item-focus",x4="alloy.item-toggled",Vg=e=>{(gc(e.element).isNone()||er.isFocused(e))&&(er.isFocused(e)||er.focus(e),_n(e,mx,{item:e}))},R_=e=>{_n(e,gx,{item:e})},B_=me(mx),IA=me(gx),PA=me(x4),F1=e=>e.toggling.map(r=>r.exclusive?"menuitemradio":"menuitemcheckbox").getOr("menuitem"),L1=[Yt("data"),Yt("components"),Yt("dom"),ft("hasSubmenu",!1),la("toggling"),nc("itemBehaviours",[Dr,er,Dn,Wo]),ft("ignoreFocus",!1),ft("domModification",{}),as("builder",e=>({dom:e.dom,domModification:{...e.domModification,attributes:{role:F1(e),...e.domModification.attributes,"aria-haspopup":e.hasSubmenu,...e.hasSubmenu?{"aria-expanded":!1}:{}}},behaviours:Bg(e.itemBehaviours,[e.toggling.fold(Dr.revoke,r=>Dr.config((s=>({aria:{mode:"checked"},...ut(s,(l,m)=>m!=="exclusive"),onToggled:(l,m)=>{it(s.onToggled)&&s.onToggled(l,m),((g,h)=>{_n(g,x4,{item:g,state:h})})(l,m)}}))(r))),er.config({ignore:e.ignoreFocus,stopMousedown:e.ignoreFocus,onFocus:r=>{R_(r)}}),Dn.config({mode:"execution"}),Wo.config({store:{mode:"memory",initialValue:e.data}}),Tr("item-type-events",[...v4(),Kt(Te(),Vg),Kt(Jd(),er.focus)])]),components:e.components,eventOrder:e.eventOrder})),ft("eventOrder",{})],w4=[Yt("dom"),Yt("components"),as("builder",e=>({dom:e.dom,components:e.components,events:qa([sb(Jd())])}))],px=me("item-widget"),Km=me([Eo({name:"widget",overrides:e=>({behaviours:Oo([Wo.config({store:{mode:"manual",getValue:r=>e.data,setValue:he}})])})})]),sf=[Yt("uid"),Yt("data"),Yt("components"),Yt("dom"),ft("autofocus",!1),ft("ignoreFocus",!1),nc("widgetBehaviours",[Wo,er,Dn]),ft("domModification",{}),Xp(Km()),as("builder",e=>{const r=ii(px(),e,Km()),s=ql(px(),e,r.internals()),l=g=>ua(g,e,"widget").map(h=>(Dn.focusIn(h),h)),m=(g,h)=>(Lg(h.event.target)||e.autofocus&&h.setSource(g.element),R.none());return{dom:e.dom,components:s,domModification:e.domModification,events:qa([Cc((g,h)=>{l(g).each(x=>{h.stop()})}),Kt(Te(),Vg),Kt(Jd(),(g,h)=>{e.autofocus?l(g):er.focus(g)})]),behaviours:Bg(e.widgetBehaviours,[Wo.config({store:{mode:"memory",initialValue:e.data}}),er.config({ignore:e.ignoreFocus,onFocus:g=>{R_(g)}}),Dn.config({mode:"special",focusIn:e.autofocus?g=>{l(g)}:l1(),onLeft:m,onRight:m,onEscape:(g,h)=>er.isFocused(g)||e.autofocus?(e.autofocus&&h.setSource(g.element),R.none()):(er.focus(g),R.some(!0))})])}})],k4=Ms("type",{widget:sf,item:L1,separator:w4}),$g=me([Ln({factory:{sketch:e=>{const r=fi("menu.spec item",k4,e);return r.builder(r)}},name:"items",unit:"item",defaults:(e,r)=>Vo(r,"uid")?r:{...r,uid:G("item")},overrides:(e,r)=>({type:r.type,ignoreFocus:e.fakeFocus,domModification:{classes:[e.markers.item]}})})]),F_=me([Yt("value"),Yt("items"),Yt("dom"),Yt("components"),ft("eventOrder",{}),qi("menuBehaviours",[ba,Wo,Gr,Dn]),Ai("movement",{mode:"menu",moveOnTab:!0},Ms("mode",{grid:[t1(),as("config",(e,r)=>({mode:"flatgrid",selector:"."+e.markers.item,initSize:{numColumns:r.initSize.numColumns,numRows:r.initSize.numRows},focusManager:e.focusManager}))],matrix:[as("config",(e,r)=>({mode:"matrix",selectors:{row:r.rowSelector,cell:"."+e.markers.item},previousSelector:r.previousSelector,focusManager:e.focusManager})),Yt("rowSelector"),ft("previousSelector",R.none)],menu:[ft("moveOnTab",!0),as("config",(e,r)=>({mode:"menu",selector:"."+e.markers.item,moveOnTab:r.moveOnTab,focusManager:e.focusManager}))]})),ni("markers",Qy()),ft("fakeFocus",!1),ft("focusManager",Xv()),Hr("onHighlight"),Hr("onDehighlight")]),L_=me("alloy.menu-focus"),lf=Wl({name:"Menu",configFields:F_(),partFields:$g(),factory:(e,r,s,l)=>({uid:e.uid,dom:e.dom,markers:e.markers,behaviours:Fi(e.menuBehaviours,[ba.config({highlightClass:e.markers.selectedItem,itemClass:e.markers.item,onHighlight:e.onHighlight,onDehighlight:e.onDehighlight}),Wo.config({store:{mode:"memory",initialValue:e.value}}),Gr.config({find:R.some}),Dn.config(e.movement.config(e,e.movement))]),events:qa([Kt(IA(),(m,g)=>{const h=g.event;m.getSystem().getByDom(h.target).each(x=>{ba.highlight(m,x),g.stop(),_n(m,L_(),{menu:m,item:x})})}),Kt(B_(),(m,g)=>{const h=g.event.item;ba.highlight(m,h)}),Kt(PA(),(m,g)=>{const{item:h,state:x}=g.event;x&&Ma(h.element,"role")==="menuitemradio"&&((w,S)=>{const A=Zl(w.element,'[role="menuitemradio"][aria-checked="true"]');Ie(A,N=>{Jo(N,S.element)||w.getSystem().getByDom(N).each(F=>{Dr.off(F)})})})(m,h)})]),components:r,eventOrder:e.eventOrder,domModification:{attributes:{role:"menu"}}})}),I_=(e,r,s,l)=>Xt(s,l).bind(m=>Xt(e,m).bind(g=>{const h=I_(e,r,s,g);return R.some([g].concat(h))})).getOr([]),fx=e=>e.type==="prepared"?R.some(e.menu):R.none(),_4=()=>{const e=Sn({}),r=Sn({}),s=Sn({}),l=ms(),m=Sn({}),g=w=>h(w).bind(fx),h=w=>Xt(r.get(),w),x=w=>Xt(e.get(),w);return{setMenuBuilt:(w,S)=>{r.set({...r.get(),[w]:{type:"prepared",menu:S}})},setContents:(w,S,A,N)=>{l.set(w),e.set(A),r.set(S),m.set(N);const F=(($,W)=>{const se={};$o($,(X,ue)=>{Ie(X,ye=>{se[ye]=ue})});const le=W,fe=Gn(W,(X,ue)=>({k:X,v:ue})),te=Zo(fe,(X,ue)=>[ue].concat(I_(se,le,fe,ue)));return Zo(se,X=>Xt(te,X).getOr([X]))})(N,A);s.set(F)},expand:w=>Xt(e.get(),w).map(S=>{const A=Xt(s.get(),w).getOr([]);return[S].concat(A)}),refresh:w=>Xt(s.get(),w),collapse:w=>Xt(s.get(),w).bind(S=>S.length>1?R.some(S.slice(1)):R.none()),lookupMenu:h,lookupItem:x,otherMenus:w=>{const S=m.get();return Oe(Vt(S),w)},getPrimary:()=>l.get().bind(g),getMenus:()=>r.get(),clear:()=>{e.set({}),r.set({}),s.set({}),l.clear()},isClear:()=>l.get().isNone(),getTriggeringPath:(w,S)=>{const A=Pt(x(w).toArray(),N=>g(N).isSome());return Xt(s.get(),w).bind(N=>{const F=pe(A.concat(N));return($=>{const W=[];for(let se=0;se<$.length;se++){const le=$[se];if(!le.isSome())return R.none();W.push(le.getOrDie())}return R.some(W)})(ct(F,($,W)=>((se,le,fe)=>g(se).bind(te=>(X=>Ft(e.get(),(ue,ye)=>ue===X))(se).bind(X=>le(X).map(ue=>({triggeredMenu:te,triggeringItem:ue,triggeringPath:fe})))))($,S,F.slice(0,W+1)).fold(()=>Rr(l.get(),$)?[]:[R.none()],se=>[R.some(se)])))})}}},HA=fx,C4=un("tiered-menu-item-highlight"),S4=un("tiered-menu-item-dehighlight");var Gl;(function(e){e[e.HighlightMenuAndItem=0]="HighlightMenuAndItem",e[e.HighlightJustMenu=1]="HighlightJustMenu",e[e.HighlightNone=2]="HighlightNone"})(Gl||(Gl={}));const P_=me("collapse-item"),Ug=Pc({name:"TieredMenu",configFields:[Dp("onExecute"),Dp("onEscape"),nu("onOpenMenu"),nu("onOpenSubmenu"),Hr("onRepositionMenu"),Hr("onCollapseMenu"),ft("highlightOnOpen",Gl.HighlightMenuAndItem),zi("data",[Yt("primary"),Yt("menus"),Yt("expansions")]),ft("fakeFocus",!1),Hr("onHighlightItem"),Hr("onDehighlightItem"),Hr("onHover"),jf(),Yt("dom"),ft("navigateOnHover",!0),ft("stayInDom",!1),qi("tmenuBehaviours",[Dn,ba,Gr,fr]),ft("eventOrder",{})],apis:{collapseMenu:(e,r)=>{e.collapseMenu(r)},highlightPrimary:(e,r)=>{e.highlightPrimary(r)},repositionMenus:(e,r)=>{e.repositionMenus(r)}},factory:(e,r)=>{const s=ms(),l=_4(),m=X=>Wo.getValue(X).value,g=X=>Zo(e.data.menus,(ue,ye)=>ct(ue.items,we=>we.type==="separator"?[]:[we.data.value])),h=ba.highlight,x=(X,ue)=>{h(X,ue),ba.getHighlighted(ue).orThunk(()=>ba.getFirst(ue)).each(ye=>{e.fakeFocus?ba.highlight(ue,ye):kp(X,ye.element,Jd())})},w=(X,ue)=>Wt(dt(ue,ye=>X.lookupMenu(ye).bind(we=>we.type==="prepared"?R.some(we.menu):R.none()))),S=(X,ue,ye)=>{const we=w(ue,ue.otherMenus(ye));Ie(we,Ye=>{Zi(Ye.element,[e.markers.backgroundMenu]),e.stayInDom||fr.remove(X,Ye)})},A=(X,ue)=>{const ye=(we=>s.get().getOrThunk(()=>{const Ye={},Tt=Zl(we.element,`.${e.markers.item}`),Qt=Pt(Tt,ro=>Ma(ro,"aria-haspopup")==="true");return Ie(Qt,ro=>{we.getSystem().getByDom(ro).each(no=>{const Uo=m(no);Ye[Uo]=no})}),s.set(Ye),Ye}))(X);$o(ye,(we,Ye)=>{const Tt=Rt(ue,Ye);Kn(we.element,"aria-expanded",Tt)})},N=(X,ue,ye)=>R.from(ye[0]).bind(we=>ue.lookupMenu(we).bind(Ye=>{if(Ye.type==="notbuilt")return R.none();{const Tt=Ye.menu,Qt=w(ue,ye.slice(1));return Ie(Qt,ro=>{Jr(ro.element,e.markers.backgroundMenu)}),za(Tt.element)||fr.append(X,Tc(Tt)),Zi(Tt.element,[e.markers.backgroundMenu]),x(X,Tt),S(X,ue,ye),R.some(Tt)}}));let F;(function(X){X[X.HighlightSubmenu=0]="HighlightSubmenu",X[X.HighlightParent=1]="HighlightParent"})(F||(F={}));const $=(X,ue,ye=F.HighlightSubmenu)=>{if(ue.hasConfigured(Qn)&&Qn.isDisabled(ue))return R.some(ue);{const we=m(ue);return l.expand(we).bind(Ye=>(A(X,Ye),R.from(Ye[0]).bind(Tt=>l.lookupMenu(Tt).bind(Qt=>{const ro=((no,Uo,pn)=>{if(pn.type==="notbuilt"){const Mn=no.getSystem().build(pn.nbMenu());return l.setMenuBuilt(Uo,Mn),Mn}return pn.menu})(X,Tt,Qt);return za(ro.element)||fr.append(X,Tc(ro)),e.onOpenSubmenu(X,ue,ro,pe(Ye)),ye===F.HighlightSubmenu?(ba.highlightFirst(ro),N(X,l,Ye)):(ba.dehighlightAll(ro),R.some(ue))}))))}},W=(X,ue)=>{const ye=m(ue);return l.collapse(ye).bind(we=>(A(X,we),N(X,l,we).map(Ye=>(e.onCollapseMenu(X,ue,Ye),Ye))))},se=X=>(ue,ye)=>Vl(ye.getSource(),`.${e.markers.item}`).bind(we=>ue.getSystem().getByDom(we).toOptional().bind(Ye=>X(ue,Ye).map(Ct))),le=qa([Kt(L_(),(X,ue)=>{const ye=ue.event.item;l.lookupItem(m(ye)).each(()=>{const we=ue.event.menu;ba.highlight(X,we);const Ye=m(ue.event.item);l.refresh(Ye).each(Tt=>S(X,l,Tt))})}),Cc((X,ue)=>{const ye=ue.event.target;X.getSystem().getByDom(ye).each(we=>{m(we).indexOf("collapse-item")===0&&W(X,we),$(X,we,F.HighlightSubmenu).fold(()=>{e.onExecute(X,we)},he)})}),La((X,ue)=>{(ye=>{const we=((Tt,Qt,ro)=>Zo(ro,(no,Uo)=>{const pn=()=>lf.sketch({...no,value:Uo,markers:e.markers,fakeFocus:e.fakeFocus,onHighlight:(Mn,ar)=>{_n(Mn,C4,{menuComp:Mn,itemComp:ar})},onDehighlight:(Mn,ar)=>{_n(Mn,S4,{menuComp:Mn,itemComp:ar})},focusManager:e.fakeFocus?H3():Xv()});return Uo===Qt?{type:"prepared",menu:Tt.getSystem().build(pn())}:{type:"notbuilt",nbMenu:pn}}))(ye,e.data.primary,e.data.menus),Ye=g();return l.setContents(e.data.primary,we,e.data.expansions,Ye),l.getPrimary()})(X).each(ye=>{fr.append(X,Tc(ye)),e.onOpenMenu(X,ye),e.highlightOnOpen===Gl.HighlightMenuAndItem?x(X,ye):e.highlightOnOpen===Gl.HighlightJustMenu&&h(X,ye)})}),Kt(C4,(X,ue)=>{e.onHighlightItem(X,ue.event.menuComp,ue.event.itemComp)}),Kt(S4,(X,ue)=>{e.onDehighlightItem(X,ue.event.menuComp,ue.event.itemComp)}),...e.navigateOnHover?[Kt(B_(),(X,ue)=>{const ye=ue.event.item;((we,Ye)=>{const Tt=m(Ye);l.refresh(Tt).bind(Qt=>(A(we,Qt),N(we,l,Qt)))})(X,ye),$(X,ye,F.HighlightParent),e.onHover(X,ye)})]:[]]),fe=X=>ba.getHighlighted(X).bind(ba.getHighlighted),te={collapseMenu:X=>{fe(X).each(ue=>{W(X,ue)})},highlightPrimary:X=>{l.getPrimary().each(ue=>{x(X,ue)})},repositionMenus:X=>{l.getPrimary().bind(ye=>fe(X).bind(we=>{const Ye=m(we),Tt=vo(l.getMenus()),Qt=Wt(dt(Tt,HA));return l.getTriggeringPath(Ye,ro=>((no,Uo,pn)=>Gt(Uo,Mn=>{if(!Mn.getSystem().isConnected())return R.none();const ar=ba.getCandidates(Mn);return oo(ar,dr=>m(dr)===pn)}))(0,Qt,ro))}).map(we=>({primary:ye,triggeringPath:we}))).fold(()=>{(ye=>R.from(ye.components()[0]).filter(we=>Ma(we.element,"role")==="menu"))(X).each(ye=>{e.onRepositionMenu(X,ye,[])})},({primary:ye,triggeringPath:we})=>{e.onRepositionMenu(X,ye,we)})}};return{uid:e.uid,dom:e.dom,markers:e.markers,behaviours:Fi(e.tmenuBehaviours,[Dn.config({mode:"special",onRight:se((X,ue)=>Lg(ue.element)?R.none():$(X,ue,F.HighlightSubmenu)),onLeft:se((X,ue)=>Lg(ue.element)?R.none():W(X,ue)),onEscape:se((X,ue)=>W(X,ue).orThunk(()=>e.onEscape(X,ue).map(()=>X))),focusIn:(X,ue)=>{l.getPrimary().each(ye=>{kp(X,ye.element,Jd())})}}),ba.config({highlightClass:e.markers.selectedMenu,itemClass:e.markers.menu}),Gr.config({find:X=>ba.getHighlighted(X)}),fr.config({})]),eventOrder:e.eventOrder,apis:te,events:le}},extraApis:{tieredData:(e,r,s)=>({primary:e,menus:r,expansions:s}),singleData:(e,r)=>({primary:e,menus:Xi(e,r),expansions:{}}),collapseItem:e=>({value:un(P_()),meta:{text:e}})}}),Rs=Pc({name:"InlineView",configFields:[Yt("lazySink"),Hr("onShow"),Hr("onHide"),Tl("onEscape"),qi("inlineBehaviours",[Lr,Wo,tc]),gl("fireDismissalEventInstead",[ft("event",Ou())]),gl("fireRepositionEventInstead",[ft("event",xp())]),ft("getRelated",R.none),ft("isExtraPart",Bo),ft("eventOrder",R.none)],factory:(e,r)=>{const s=(h,x,w,S)=>{const A=e.lazySink(h).getOrDie();Lr.openWhileCloaked(h,x,()=>xl.positionWithinBounds(A,h,w,S())),Wo.setValue(h,R.some({mode:"position",config:w,getBounds:S}))},l=(h,x,w,S)=>{const A=((N,F,$,W,se)=>{const le=()=>N.lazySink(F),fe=W.type==="horizontal"?{layouts:{onLtr:()=>fb(),onRtl:()=>Bp()}}:{},te=X=>(ue=>ue.length===2)(X)?fe:{};return Ug.sketch({dom:{tag:"div"},data:W.data,markers:W.menu.markers,highlightOnOpen:W.menu.highlightOnOpen,fakeFocus:W.menu.fakeFocus,onEscape:()=>(Lr.close(F),N.onEscape.map(X=>X(F)),R.some(!0)),onExecute:()=>R.some(!0),onOpenMenu:(X,ue)=>{xl.positionWithinBounds(le().getOrDie(),ue,$,se())},onOpenSubmenu:(X,ue,ye,we)=>{const Ye=le().getOrDie();xl.position(Ye,ye,{anchor:{type:"submenu",item:ue,...te(we)}})},onRepositionMenu:(X,ue,ye)=>{const we=le().getOrDie();xl.positionWithinBounds(we,ue,$,se()),Ie(ye,Ye=>{const Tt=te(Ye.triggeringPath);xl.position(we,Ye.triggeredMenu,{anchor:{type:"submenu",item:Ye.triggeringItem,...Tt}})})}})})(e,h,x,w,S);Lr.open(h,A),Wo.setValue(h,R.some({mode:"menu",menu:A}))},m=h=>{Lr.isOpen(h)&&Wo.getValue(h).each(x=>{switch(x.mode){case"menu":Lr.getState(h).each(Ug.repositionMenus);break;case"position":const w=e.lazySink(h).getOrDie();xl.positionWithinBounds(w,h,x.config,x.getBounds())}})},g={setContent:(h,x)=>{Lr.setContent(h,x)},showAt:(h,x,w)=>{const S=R.none;s(h,x,w,S)},showWithinBounds:s,showMenuAt:(h,x,w)=>{l(h,x,w,R.none)},showMenuWithinBounds:l,hide:h=>{Lr.isOpen(h)&&(Wo.setValue(h,R.none()),Lr.close(h))},getContent:h=>Lr.getState(h),reposition:m,isOpen:Lr.isOpen};return{uid:e.uid,dom:e.dom,behaviours:Fi(e.inlineBehaviours,[Lr.config({isPartOf:(h,x,w)=>si(x,w)||((S,A)=>e.getRelated(S).exists(N=>si(N,A)))(h,w),getAttachPoint:h=>e.lazySink(h).getOrDie(),onOpen:h=>{e.onShow(h)},onClose:h=>{e.onHide(h)}}),Wo.config({store:{mode:"memory",initialValue:R.none()}}),tc.config({channels:{...Rg({isExtraPart:r.isExtraPart,...e.fireDismissalEventInstead.map(h=>({fireEventInstead:{event:h.event}})).getOr({})}),...Zp({...e.fireRepositionEventInstead.map(h=>({fireEventInstead:{event:h.event}})).getOr({}),doReposition:m})}})]),eventOrder:e.eventOrder,apis:g}},apis:{showAt:(e,r,s,l)=>{e.showAt(r,s,l)},showWithinBounds:(e,r,s,l,m)=>{e.showWithinBounds(r,s,l,m)},showMenuAt:(e,r,s,l)=>{e.showMenuAt(r,s,l)},showMenuWithinBounds:(e,r,s,l,m)=>{e.showMenuWithinBounds(r,s,l,m)},hide:(e,r)=>{e.hide(r)},isOpen:(e,r)=>e.isOpen(r),getContent:(e,r)=>e.getContent(r),setContent:(e,r,s)=>{e.setContent(r,s)},reposition:(e,r)=>{e.reposition(r)}}});var hx=tinymce.util.Tools.resolve("tinymce.util.Delay");const wl=Pc({name:"Button",factory:e=>{const r=B1(e.action),s=e.dom.tag,l=m=>Xt(e.dom,"attributes").bind(g=>Xt(g,m));return{uid:e.uid,dom:e.dom,components:e.components,events:r,behaviours:Bg(e.buttonBehaviours,[er.config({}),Dn.config({mode:"execution",useSpace:!0,useEnter:!0})]),domModification:{attributes:s==="button"?{type:l("type").getOr("button"),...l("role").map(m=>({role:m})).getOr({})}:{role:e.role.getOr(l("role").getOr("button"))}},eventOrder:e.eventOrder}},configFields:[ft("uid",void 0),Yt("dom"),ft("components",[]),nc("buttonBehaviours",[er,Dn]),la("action"),la("role"),ft("eventOrder",{})]}),Ym=e=>{const r=tt(e),s=wn(r),l=(h=>{const x=h.dom.attributes!==void 0?h.dom.attributes:[];return To(x,(w,S)=>S.name==="class"?w:{...w,[S.name]:S.value},{})})(r),m=(h=>Array.prototype.slice.call(h.dom.classList,0))(r),g=s.length===0?{}:{innerHtml:Sc(r)};return{tag:gr(r),classes:m,attributes:l,...g}},Ta=e=>{const r=(s=>s.uid!==void 0)(e)&&$n(e,"uid")?e.uid:G("memento");return{get:s=>s.getSystem().getByUid(r).getOrDie(),getOpt:s=>s.getSystem().getByUid(r).toOptional(),asSpec:()=>({...e,uid:r})}},{entries:H_,setPrototypeOf:bx,isFrozen:E4,getPrototypeOf:T4,getOwnPropertyDescriptor:I1}=Object;let{freeze:rc,seal:mu,create:z4}=Object,{apply:yx,construct:vx}=typeof Reflect<"u"&&Reflect;yx||(yx=function(e,r,s){return e.apply(r,s)}),rc||(rc=function(e){return e}),mu||(mu=function(e){return e}),vx||(vx=function(e,r){return new e(...r)});const A4=fc(Array.prototype.forEach),jA=fc(Array.prototype.pop),Yb=fc(Array.prototype.push),yh=fc(String.prototype.toLowerCase),P1=fc(String.prototype.toString),j_=fc(String.prototype.match),_m=fc(String.prototype.replace),O4=fc(String.prototype.indexOf),N4=fc(String.prototype.trim),gu=fc(RegExp.prototype.test),Xb=(M4=TypeError,function(){for(var e=arguments.length,r=new Array(e),s=0;s1?s-1:0),m=1;m/gm),F4=mu(/\${[\w\W]*}/gm),U_=mu(/^data-[\-\w.\u00B7-\uFFFF]/),L4=mu(/^aria-[\-\w]+$/),kx=mu(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),U1=mu(/^(?:\w+script|data):/i),_x=mu(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Z_=mu(/^html$/i);var q_=Object.freeze({__proto__:null,MUSTACHE_EXPR:B4,ERB_EXPR:VA,TMPLIT_EXPR:F4,DATA_ATTR:U_,ARIA_ATTR:L4,IS_ALLOWED_URI:kx,IS_SCRIPT_OR_DATA:U1,ATTR_WHITESPACE:_x,DOCTYPE_NAME:Z_});const W_=()=>typeof window>"u"?null:window;var I4=function e(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:W_();const s=Ot=>e(Ot);if(s.version="3.0.5",s.removed=[],!r||!r.document||r.document.nodeType!==9)return s.isSupported=!1,s;const l=r.document,m=l.currentScript;let{document:g}=r;const{DocumentFragment:h,HTMLTemplateElement:x,Node:w,Element:S,NodeFilter:A,NamedNodeMap:N=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:F,DOMParser:$,trustedTypes:W}=r,se=S.prototype,le=H1(se,"cloneNode"),fe=H1(se,"nextSibling"),te=H1(se,"childNodes"),X=H1(se,"parentNode");if(typeof x=="function"){const Ot=g.createElement("template");Ot.content&&Ot.content.ownerDocument&&(g=Ot.content.ownerDocument)}let ue,ye="";const{implementation:we,createNodeIterator:Ye,createDocumentFragment:Tt,getElementsByTagName:Qt}=g,{importNode:ro}=l;let no={};s.isSupported=typeof H_=="function"&&typeof X=="function"&&we&&we.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:Uo,ERB_EXPR:pn,TMPLIT_EXPR:Mn,DATA_ATTR:ar,ARIA_ATTR:dr,IS_SCRIPT_OR_DATA:jr,ATTR_WHITESPACE:gs}=q_;let{IS_ALLOWED_URI:Vs}=q_,mr=null;const Bl=Va({},[...Zg,...ld,...xx,...wx,...R4]);let br=null;const Ii=Va({},[...j1,...V1,...$_,...$1]);let ls=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Nc=null,wi=null,Fl=!0,Ud=!0,Gk=!1,Kk=!0,Gy=!1,eb=!1,S3=!1,Ky=!1,tb=!1,hv=!1,bv=!1,E3=!0,bA=!1,T3=!0,Yy=!1,ob={},nb=null;const ps=Va({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Xy=null;const hp=Va({},["audio","video","img","source","image","track"]);let _5=null;const BN=Va({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),yA="http://www.w3.org/1998/Math/MathML",vA="http://www.w3.org/2000/svg",rb="http://www.w3.org/1999/xhtml";let Yk=rb,C5=!1,S5=null;const dM=Va({},[yA,vA,rb],P1);let Xk;const uM=["application/xhtml+xml","text/html"];let Wc,Jk=null;const mM=g.createElement("form"),FN=function(Ot){return Ot instanceof RegExp||Ot instanceof Function},E5=function(Ot){if(!Jk||Jk!==Ot){if(Ot&&typeof Ot=="object"||(Ot={}),Ot=$u(Ot),Xk=Xk=uM.indexOf(Ot.PARSER_MEDIA_TYPE)===-1?"text/html":Ot.PARSER_MEDIA_TYPE,Wc=Xk==="application/xhtml+xml"?P1:yh,mr="ALLOWED_TAGS"in Ot?Va({},Ot.ALLOWED_TAGS,Wc):Bl,br="ALLOWED_ATTR"in Ot?Va({},Ot.ALLOWED_ATTR,Wc):Ii,S5="ALLOWED_NAMESPACES"in Ot?Va({},Ot.ALLOWED_NAMESPACES,P1):dM,_5="ADD_URI_SAFE_ATTR"in Ot?Va($u(BN),Ot.ADD_URI_SAFE_ATTR,Wc):BN,Xy="ADD_DATA_URI_TAGS"in Ot?Va($u(hp),Ot.ADD_DATA_URI_TAGS,Wc):hp,nb="FORBID_CONTENTS"in Ot?Va({},Ot.FORBID_CONTENTS,Wc):ps,Nc="FORBID_TAGS"in Ot?Va({},Ot.FORBID_TAGS,Wc):{},wi="FORBID_ATTR"in Ot?Va({},Ot.FORBID_ATTR,Wc):{},ob="USE_PROFILES"in Ot&&Ot.USE_PROFILES,Fl=Ot.ALLOW_ARIA_ATTR!==!1,Ud=Ot.ALLOW_DATA_ATTR!==!1,Gk=Ot.ALLOW_UNKNOWN_PROTOCOLS||!1,Kk=Ot.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Gy=Ot.SAFE_FOR_TEMPLATES||!1,eb=Ot.WHOLE_DOCUMENT||!1,tb=Ot.RETURN_DOM||!1,hv=Ot.RETURN_DOM_FRAGMENT||!1,bv=Ot.RETURN_TRUSTED_TYPE||!1,Ky=Ot.FORCE_BODY||!1,E3=Ot.SANITIZE_DOM!==!1,bA=Ot.SANITIZE_NAMED_PROPS||!1,T3=Ot.KEEP_CONTENT!==!1,Yy=Ot.IN_PLACE||!1,Vs=Ot.ALLOWED_URI_REGEXP||kx,Yk=Ot.NAMESPACE||rb,ls=Ot.CUSTOM_ELEMENT_HANDLING||{},Ot.CUSTOM_ELEMENT_HANDLING&&FN(Ot.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ls.tagNameCheck=Ot.CUSTOM_ELEMENT_HANDLING.tagNameCheck),Ot.CUSTOM_ELEMENT_HANDLING&&FN(Ot.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ls.attributeNameCheck=Ot.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),Ot.CUSTOM_ELEMENT_HANDLING&&typeof Ot.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(ls.allowCustomizedBuiltInElements=Ot.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Gy&&(Ud=!1),hv&&(tb=!0),ob&&(mr=Va({},[...R4]),br=[],ob.html===!0&&(Va(mr,Zg),Va(br,j1)),ob.svg===!0&&(Va(mr,ld),Va(br,V1),Va(br,$1)),ob.svgFilters===!0&&(Va(mr,xx),Va(br,V1),Va(br,$1)),ob.mathMl===!0&&(Va(mr,wx),Va(br,$_),Va(br,$1))),Ot.ADD_TAGS&&(mr===Bl&&(mr=$u(mr)),Va(mr,Ot.ADD_TAGS,Wc)),Ot.ADD_ATTR&&(br===Ii&&(br=$u(br)),Va(br,Ot.ADD_ATTR,Wc)),Ot.ADD_URI_SAFE_ATTR&&Va(_5,Ot.ADD_URI_SAFE_ATTR,Wc),Ot.FORBID_CONTENTS&&(nb===ps&&(nb=$u(nb)),Va(nb,Ot.FORBID_CONTENTS,Wc)),T3&&(mr["#text"]=!0),eb&&Va(mr,["html","head","body"]),mr.table&&(Va(mr,["tbody"]),delete Nc.tbody),Ot.TRUSTED_TYPES_POLICY){if(typeof Ot.TRUSTED_TYPES_POLICY.createHTML!="function")throw Xb('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof Ot.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Xb('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ue=Ot.TRUSTED_TYPES_POLICY,ye=ue.createHTML("")}else ue===void 0&&(ue=function(In,yr){if(typeof In!="object"||typeof In.createPolicy!="function")return null;let fs=null;const ui="data-tt-policy-suffix";yr&&yr.hasAttribute(ui)&&(fs=yr.getAttribute(ui));const Pi="dompurify"+(fs?"#"+fs:"");try{return In.createPolicy(Pi,{createHTML:ki=>ki,createScriptURL:ki=>ki})}catch{return console.warn("TrustedTypes policy "+Pi+" could not be created."),null}}(W,m)),ue!==null&&typeof ye=="string"&&(ye=ue.createHTML(""));rc&&rc(Ot),Jk=Ot}},LN=Va({},["mi","mo","mn","ms","mtext"]),IN=Va({},["foreignobject","desc","title","annotation-xml"]),gM=Va({},["title","style","font","a","script"]),xA=Va({},ld);Va(xA,xx),Va(xA,D4);const T5=Va({},wx);Va(T5,V_);const yv=function(Ot){Yb(s.removed,{element:Ot});try{Ot.parentNode.removeChild(Ot)}catch{Ot.remove()}},z3=function(Ot,In){try{Yb(s.removed,{attribute:In.getAttributeNode(Ot),from:In})}catch{Yb(s.removed,{attribute:null,from:In})}if(In.removeAttribute(Ot),Ot==="is"&&!br[Ot])if(tb||hv)try{yv(In)}catch{}else try{In.setAttribute(Ot,"")}catch{}},PN=function(Ot){let In,yr;if(Ky)Ot=""+Ot;else{const Pi=j_(Ot,/^[\r\n\t ]+/);yr=Pi&&Pi[0]}Xk==="application/xhtml+xml"&&Yk===rb&&(Ot=''+Ot+"");const fs=ue?ue.createHTML(Ot):Ot;if(Yk===rb)try{In=new $().parseFromString(fs,Xk)}catch{}if(!In||!In.documentElement){In=we.createDocument(Yk,"template",null);try{In.documentElement.innerHTML=C5?ye:fs}catch{}}const ui=In.body||In.documentElement;return Ot&&yr&&ui.insertBefore(g.createTextNode(yr),ui.childNodes[0]||null),Yk===rb?Qt.call(In,eb?"html":"body")[0]:eb?In.documentElement:ui},HN=function(Ot){return Ye.call(Ot.ownerDocument||Ot,Ot,A.SHOW_ELEMENT|A.SHOW_COMMENT|A.SHOW_TEXT,null,!1)},wA=function(Ot){return typeof w=="object"?Ot instanceof w:Ot&&typeof Ot=="object"&&typeof Ot.nodeType=="number"&&typeof Ot.nodeName=="string"},ab=function(Ot,In,yr){no[Ot]&&A4(no[Ot],fs=>{fs.call(s,In,yr,Jk)})},jN=function(Ot){let In;if(ab("beforeSanitizeElements",Ot,null),(yr=Ot)instanceof F&&(typeof yr.nodeName!="string"||typeof yr.textContent!="string"||typeof yr.removeChild!="function"||!(yr.attributes instanceof N)||typeof yr.removeAttribute!="function"||typeof yr.setAttribute!="function"||typeof yr.namespaceURI!="string"||typeof yr.insertBefore!="function"||typeof yr.hasChildNodes!="function"))return yv(Ot),!0;var yr;const fs=Wc(Ot.nodeName);if(ab("uponSanitizeElement",Ot,{tagName:fs,allowedTags:mr}),Ot.hasChildNodes()&&!wA(Ot.firstElementChild)&&(!wA(Ot.content)||!wA(Ot.content.firstElementChild))&&gu(/<[/\w]/g,Ot.innerHTML)&&gu(/<[/\w]/g,Ot.textContent))return yv(Ot),!0;if(!mr[fs]||Nc[fs]){if(!Nc[fs]&&$N(fs)&&(ls.tagNameCheck instanceof RegExp&&gu(ls.tagNameCheck,fs)||ls.tagNameCheck instanceof Function&&ls.tagNameCheck(fs)))return!1;if(T3&&!nb[fs]){const ui=X(Ot)||Ot.parentNode,Pi=te(Ot)||Ot.childNodes;if(Pi&&ui)for(let ki=Pi.length-1;ki>=0;--ki)ui.insertBefore(le(Pi[ki],!0),fe(Ot))}return yv(Ot),!0}return Ot instanceof S&&!function(ui){let Pi=X(ui);Pi&&Pi.tagName||(Pi={namespaceURI:Yk,tagName:"template"});const ki=yh(ui.tagName),ol=yh(Pi.tagName);return!!S5[ui.namespaceURI]&&(ui.namespaceURI===vA?Pi.namespaceURI===rb?ki==="svg":Pi.namespaceURI===yA?ki==="svg"&&(ol==="annotation-xml"||LN[ol]):!!xA[ki]:ui.namespaceURI===yA?Pi.namespaceURI===rb?ki==="math":Pi.namespaceURI===vA?ki==="math"&&IN[ol]:!!T5[ki]:ui.namespaceURI===rb?!(Pi.namespaceURI===vA&&!IN[ol])&&!(Pi.namespaceURI===yA&&!LN[ol])&&!T5[ki]&&(gM[ki]||!xA[ki]):!(Xk!=="application/xhtml+xml"||!S5[ui.namespaceURI]))}(Ot)?(yv(Ot),!0):fs!=="noscript"&&fs!=="noembed"&&fs!=="noframes"||!gu(/<\/no(script|embed|frames)/i,Ot.innerHTML)?(Gy&&Ot.nodeType===3&&(In=Ot.textContent,In=_m(In,Uo," "),In=_m(In,pn," "),In=_m(In,Mn," "),Ot.textContent!==In&&(Yb(s.removed,{element:Ot.cloneNode()}),Ot.textContent=In)),ab("afterSanitizeElements",Ot,null),!1):(yv(Ot),!0)},VN=function(Ot,In,yr){if(E3&&(In==="id"||In==="name")&&(yr in g||yr in mM))return!1;if(!(Ud&&!wi[In]&&gu(ar,In))){if(!(Fl&&gu(dr,In))){if(!br[In]||wi[In]){if(!($N(Ot)&&(ls.tagNameCheck instanceof RegExp&&gu(ls.tagNameCheck,Ot)||ls.tagNameCheck instanceof Function&&ls.tagNameCheck(Ot))&&(ls.attributeNameCheck instanceof RegExp&&gu(ls.attributeNameCheck,In)||ls.attributeNameCheck instanceof Function&&ls.attributeNameCheck(In))||In==="is"&&ls.allowCustomizedBuiltInElements&&(ls.tagNameCheck instanceof RegExp&&gu(ls.tagNameCheck,yr)||ls.tagNameCheck instanceof Function&&ls.tagNameCheck(yr))))return!1}else if(!_5[In]){if(!gu(Vs,_m(yr,gs,""))){if((In!=="src"&&In!=="xlink:href"&&In!=="href"||Ot==="script"||O4(yr,"data:")!==0||!Xy[Ot])&&!(Gk&&!gu(jr,_m(yr,gs,"")))){if(yr)return!1}}}}}return!0},$N=function(Ot){return Ot.indexOf("-")>0},UN=function(Ot){let In,yr,fs,ui;ab("beforeSanitizeAttributes",Ot,null);const{attributes:Pi}=Ot;if(!Pi)return;const ki={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:br};for(ui=Pi.length;ui--;){In=Pi[ui];const{name:ol,namespaceURI:Qk}=In;yr=ol==="value"?In.value:N4(In.value);const fM=yr;if(fs=Wc(ol),ki.attrName=fs,ki.attrValue=yr,ki.keepAttr=!0,ki.forceKeepAttr=void 0,ab("uponSanitizeAttribute",Ot,ki),yr=ki.attrValue,ki.forceKeepAttr)continue;if(!ki.keepAttr){z3(ol,Ot);continue}if(!Kk&&gu(/\/>/i,yr)){z3(ol,Ot);continue}Gy&&(yr=_m(yr,Uo," "),yr=_m(yr,pn," "),yr=_m(yr,Mn," "));const ZN=Wc(Ot.nodeName);if(VN(ZN,fs,yr)){if(!bA||fs!=="id"&&fs!=="name"||(z3(ol,Ot),yr="user-content-"+yr),ue&&typeof W=="object"&&typeof W.getAttributeType=="function"&&!Qk)switch(W.getAttributeType(ZN,fs)){case"TrustedHTML":yr=ue.createHTML(yr);break;case"TrustedScriptURL":yr=ue.createScriptURL(yr)}if(yr!==fM)try{Qk?Ot.setAttributeNS(Qk,ol,yr):Ot.setAttribute(ol,yr)}catch{z3(ol,Ot)}}else z3(ol,Ot)}ab("afterSanitizeAttributes",Ot,null)},pM=function Ot(In){let yr;const fs=HN(In);for(ab("beforeSanitizeShadowDOM",In,null);yr=fs.nextNode();)ab("uponSanitizeShadowNode",yr,null),jN(yr)||(yr.content instanceof h&&Ot(yr.content),UN(yr));ab("afterSanitizeShadowDOM",In,null)};return s.sanitize=function(Ot){let In,yr,fs,ui,Pi=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(C5=!Ot,C5&&(Ot=""),typeof Ot!="string"&&!wA(Ot)){if(typeof Ot.toString!="function")throw Xb("toString is not a function");if(typeof(Ot=Ot.toString())!="string")throw Xb("dirty is not a string, aborting")}if(!s.isSupported)return Ot;if(S3||E5(Pi),s.removed=[],typeof Ot=="string"&&(Yy=!1),Yy){if(Ot.nodeName){const Qk=Wc(Ot.nodeName);if(!mr[Qk]||Nc[Qk])throw Xb("root node is forbidden and cannot be sanitized in-place")}}else if(Ot instanceof w)In=PN(""),yr=In.ownerDocument.importNode(Ot,!0),yr.nodeType===1&&yr.nodeName==="BODY"||yr.nodeName==="HTML"?In=yr:In.appendChild(yr);else{if(!tb&&!Gy&&!eb&&Ot.indexOf("<")===-1)return ue&&bv?ue.createHTML(Ot):Ot;if(In=PN(Ot),!In)return tb?null:bv?ye:""}In&&Ky&&yv(In.firstChild);const ki=HN(Yy?Ot:In);for(;fs=ki.nextNode();)jN(fs)||(fs.content instanceof h&&pM(fs.content),UN(fs));if(Yy)return Ot;if(tb){if(hv)for(ui=Tt.call(In.ownerDocument);In.firstChild;)ui.appendChild(In.firstChild);else ui=In;return(br.shadowroot||br.shadowrootmode)&&(ui=ro.call(l,ui,!0)),ui}let ol=eb?In.outerHTML:In.innerHTML;return eb&&mr["!doctype"]&&In.ownerDocument&&In.ownerDocument.doctype&&In.ownerDocument.doctype.name&&gu(Z_,In.ownerDocument.doctype.name)&&(ol=" +`+ol),Gy&&(ol=_m(ol,Uo," "),ol=_m(ol,pn," "),ol=_m(ol,Mn," ")),ue&&bv?ue.createHTML(ol):ol},s.setConfig=function(Ot){E5(Ot),S3=!0},s.clearConfig=function(){Jk=null,S3=!1},s.isValidAttribute=function(Ot,In,yr){Jk||E5({});const fs=Wc(Ot),ui=Wc(In);return VN(fs,ui,yr)},s.addHook=function(Ot,In){typeof In=="function"&&(no[Ot]=no[Ot]||[],Yb(no[Ot],In))},s.removeHook=function(Ot){if(no[Ot])return jA(no[Ot])},s.removeHooks=function(Ot){no[Ot]&&(no[Ot]=[])},s.removeAllHooks=function(){no={}},s}();const G_=e=>I4().sanitize(e);var jc=tinymce.util.Tools.resolve("tinymce.util.I18n");const P4={indent:!0,outdent:!0,"table-insert-column-after":!0,"table-insert-column-before":!0,"paste-column-after":!0,"paste-column-before":!0,"unordered-list":!0,"list-bull-circle":!0,"list-bull-default":!0,"list-bull-square":!0},H4="temporary-placeholder",Cx=e=>()=>Xt(e,H4).getOr("!not found!"),Z1=(e,r)=>{const s=e.toLowerCase();if(jc.isRtl()){const l=((m,g)=>cs(m,g)?m:((h,x)=>h+x)(m,g))(s,"-rtl");return Vo(r,l)?l:s}return s},K_=(e,r)=>Xt(r,Z1(e,r)),Y_=(e,r)=>{const s=r();return K_(e,s).getOrThunk(Cx(s))},X_=()=>Tr("add-focusable",[La(e=>{um(e.element,"svg").each(r=>Kn(r,"focusable","false"))})]),Sx=(e,r,s,l)=>{var m,g;const h=(w=>!!jc.isRtl()&&Vo(P4,w))(r)?["tox-icon--flip"]:[],x=Xt(s,Z1(r,s)).or(l).getOrThunk(Cx(s));return{dom:{tag:e.tag,attributes:(m=e.attributes)!==null&&m!==void 0?m:{},classes:e.classes.concat(h),innerHtml:x},behaviours:Oo([...(g=e.behaviours)!==null&&g!==void 0?g:[],X_()])}},Uu=(e,r,s,l=R.none())=>Sx(r,e,s(),l),j4={success:"checkmark",error:"warning",err:"error",warning:"warning",warn:"warning",info:"info"},q1=Pc({name:"Notification",factory:e=>{const r=Ta({dom:Ym(`

    ${G_(e.translationProvider(e.text))}

    `),behaviours:Oo([fr.config({})])}),s=A=>({dom:{tag:"div",classes:["tox-bar"],styles:{width:`${A}%`}}}),l=A=>({dom:{tag:"div",classes:["tox-text"],innerHtml:`${A}%`}}),m=Ta({dom:{tag:"div",classes:e.progress?["tox-progress-bar","tox-progress-indicator"]:["tox-progress-bar"]},components:[{dom:{tag:"div",classes:["tox-bar-container"]},components:[s(0)]},l(0)],behaviours:Oo([fr.config({})])}),g={updateProgress:(A,N)=>{A.getSystem().isConnected()&&m.getOpt(A).each(F=>{fr.set(F,[{dom:{tag:"div",classes:["tox-bar-container"]},components:[s(N)]},l(N)])})},updateText:(A,N)=>{if(A.getSystem().isConnected()){const F=r.get(A);fr.set(F,[Ya(N)])}}},h=$e([e.icon.toArray(),e.level.toArray(),e.level.bind(A=>R.from(j4[A])).toArray()]),x=Ta(wl.sketch({dom:{tag:"button",classes:["tox-notification__dismiss","tox-button","tox-button--naked","tox-button--icon"]},components:[Uu("close",{tag:"span",classes:["tox-icon"],attributes:{"aria-label":e.translationProvider("Close")}},e.iconProvider)],action:A=>{e.onAction(A)}})),w=((A,N,F)=>{const $=F(),W=oo(A,se=>Vo($,Z1(se,$)));return Sx({tag:"div",classes:["tox-notification__icon"]},W.getOr(H4),$,R.none())})(h,0,e.iconProvider),S=[w,{dom:{tag:"div",classes:["tox-notification__body"]},components:[r.asSpec()],behaviours:Oo([fr.config({})])}];return{uid:e.uid,dom:{tag:"div",attributes:{role:"alert"},classes:e.level.map(A=>["tox-notification","tox-notification--in",`tox-notification--${A}`]).getOr(["tox-notification","tox-notification--in"])},behaviours:Oo([er.config({}),Tr("notification-events",[Kt(He(),A=>{x.getOpt(A).each(er.focus)})])]),components:S.concat(e.progress?[m.asSpec()]:[]).concat(e.closeButton?[x.asSpec()]:[]),apis:g}},configFields:[la("level"),Yt("progress"),la("icon"),Yt("onAction"),Yt("text"),Yt("iconProvider"),Yt("translationProvider"),ri("closeButton",!0)],apis:{updateProgress:(e,r,s)=>{e.updateProgress(r,s)},updateText:(e,r,s)=>{e.updateText(r,s)}}});var Vc,Jb,Qb=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),J_=tinymce.util.Tools.resolve("tinymce.EditorManager"),Zu=tinymce.util.Tools.resolve("tinymce.Env");(function(e){e.default="wrap",e.floating="floating",e.sliding="sliding",e.scrolling="scrolling"})(Vc||(Vc={})),function(e){e.auto="auto",e.top="top",e.bottom="bottom"}(Jb||(Jb={}));const Xa=e=>r=>r.options.get(e),W1=e=>r=>R.from(e(r)),Ex=e=>{const r=Zu.deviceType.isPhone(),s=Zu.deviceType.isTablet()||r,l=e.options.register,m=h=>to(h)||h===!1,g=h=>to(h)||So(h);l("skin",{processor:h=>to(h)||h===!1,default:"oxide"}),l("skin_url",{processor:"string"}),l("height",{processor:g,default:Math.max(e.getElement().offsetHeight,400)}),l("width",{processor:g,default:Qb.DOM.getStyle(e.getElement(),"width")}),l("min_height",{processor:"number",default:100}),l("min_width",{processor:"number"}),l("max_height",{processor:"number"}),l("max_width",{processor:"number"}),l("style_formats",{processor:"object[]"}),l("style_formats_merge",{processor:"boolean",default:!1}),l("style_formats_autohide",{processor:"boolean",default:!1}),l("line_height_formats",{processor:"string",default:"1 1.1 1.2 1.3 1.4 1.5 2"}),l("font_family_formats",{processor:"string",default:"Andale Mono=andale mono,monospace;Arial=arial,helvetica,sans-serif;Arial Black=arial black,sans-serif;Book Antiqua=book antiqua,palatino,serif;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,palatino,serif;Helvetica=helvetica,arial,sans-serif;Impact=impact,sans-serif;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco,monospace;Times New Roman=times new roman,times,serif;Trebuchet MS=trebuchet ms,geneva,sans-serif;Verdana=verdana,geneva,sans-serif;Webdings=webdings;Wingdings=wingdings,zapf dingbats"}),l("font_size_formats",{processor:"string",default:"8pt 10pt 12pt 14pt 18pt 24pt 36pt"}),l("font_size_input_default_unit",{processor:"string",default:"pt"}),l("block_formats",{processor:"string",default:"Paragraph=p;Heading 1=h1;Heading 2=h2;Heading 3=h3;Heading 4=h4;Heading 5=h5;Heading 6=h6;Preformatted=pre"}),l("content_langs",{processor:"object[]"}),l("removed_menuitems",{processor:"string",default:""}),l("menubar",{processor:h=>to(h)||jo(h),default:!r}),l("menu",{processor:"object",default:{}}),l("toolbar",{processor:h=>jo(h)||to(h)||Co(h)?{value:h,valid:!0}:{valid:!1,message:"Must be a boolean, string or array."},default:!0}),Bt(9,h=>{l("toolbar"+(h+1),{processor:"string"})}),l("toolbar_mode",{processor:"string",default:s?"scrolling":"floating"}),l("toolbar_groups",{processor:"object",default:{}}),l("toolbar_location",{processor:"string",default:Jb.auto}),l("toolbar_persist",{processor:"boolean",default:!1}),l("toolbar_sticky",{processor:"boolean",default:e.inline}),l("toolbar_sticky_offset",{processor:"number",default:0}),l("fixed_toolbar_container",{processor:"string",default:""}),l("fixed_toolbar_container_target",{processor:"object"}),l("ui_mode",{processor:"string",default:"combined"}),l("file_picker_callback",{processor:"function"}),l("file_picker_validator_handler",{processor:"function"}),l("file_picker_types",{processor:"string"}),l("typeahead_urls",{processor:"boolean",default:!0}),l("anchor_top",{processor:m,default:"#top"}),l("anchor_bottom",{processor:m,default:"#bottom"}),l("draggable_modal",{processor:"boolean",default:!1}),l("statusbar",{processor:"boolean",default:!0}),l("elementpath",{processor:"boolean",default:!0}),l("branding",{processor:"boolean",default:!0}),l("promotion",{processor:"boolean",default:!0}),l("resize",{processor:h=>h==="both"||jo(h),default:!Zu.deviceType.isTouch()}),l("sidebar_show",{processor:"string"}),l("help_accessibility",{processor:"boolean",default:e.hasPlugin("help")}),l("default_font_stack",{processor:"string[]",default:[]})},Q_=Xa("readonly"),Tx=Xa("height"),zx=Xa("width"),Ax=W1(Xa("min_width")),G1=W1(Xa("min_height")),K1=W1(Xa("max_width")),vh=W1(Xa("max_height")),V4=W1(Xa("style_formats")),Ox=Xa("style_formats_merge"),Nx=Xa("style_formats_autohide"),Mx=Xa("content_langs"),Dx=Xa("removed_menuitems"),ey=Xa("toolbar_mode"),$4=Xa("toolbar_groups"),Y1=Xa("toolbar_location"),U4=Xa("fixed_toolbar_container"),$A=Xa("fixed_toolbar_container_target"),Z4=Xa("toolbar_persist"),Rx=Xa("toolbar_sticky_offset"),q4=Xa("menubar"),xh=Xa("toolbar"),Bx=Xa("file_picker_callback"),e2=Xa("file_picker_validator_handler"),Fx=Xa("font_size_input_default_unit"),Lx=Xa("file_picker_types"),t2=Xa("typeahead_urls"),Ix=Xa("anchor_top"),X1=Xa("anchor_bottom"),o2=Xa("draggable_modal"),Cm=Xa("statusbar"),Px=Xa("elementpath"),wh=Xa("branding"),n2=Xa("resize"),Hx=Xa("paste_as_text"),jx=Xa("sidebar_show"),Vx=Xa("promotion"),r2=Xa("help_accessibility"),a2=Xa("default_font_stack"),s2=e=>e.options.get("skin")===!1,J1=e=>e.options.get("menubar")!==!1,Q1=e=>{const r=e.options.get("skin_url");if(s2(e))return r;if(r)return e.documentBaseURI.toAbsolute(r);{const s=e.options.get("skin");return J_.baseURL+"/skins/ui/"+s}},e0=e=>R.from(e.options.get("skin_url")),ty=e=>e.options.get("line_height_formats").split(" "),t0=e=>{const r=xh(e),s=to(r),l=Co(r)&&r.length>0;return!oy(e)&&(l||s||r===!0)},$x=e=>{const r=Bt(9,l=>e.options.get("toolbar"+(l+1))),s=Pt(r,to);return ln(s.length>0,s)},oy=e=>$x(e).fold(()=>{const r=xh(e);return co(r,to)&&r.length>0},Ct),Ux=e=>Y1(e)===Jb.bottom,i2=e=>{var r;if(!e.inline)return R.none();const s=(r=U4(e))!==null&&r!==void 0?r:"";if(s.length>0)return vs(ws(),s);const l=$A(e);return Ue(l)?R.some(St(l)):R.none()},kh=e=>e.inline&&i2(e).isSome(),Zx=e=>i2(e).getOrThunk(()=>Sr(rr(St(e.getElement())))),o0=e=>e.inline&&!J1(e)&&!t0(e)&&!oy(e),_h=e=>(e.options.get("toolbar_sticky")||e.inline)&&!kh(e)&&!o0(e),qg=e=>!kh(e)&&e.options.get("ui_mode")==="split",l2=e=>{const r=e.options.get("menu");return Zo(r,s=>({...s,items:s.items}))};var W4=Object.freeze({__proto__:null,get ToolbarMode(){return Vc},get ToolbarLocation(){return Jb},register:Ex,getSkinUrl:Q1,getSkinUrlOption:e0,isReadOnly:Q_,isSkinDisabled:s2,getHeightOption:Tx,getWidthOption:zx,getMinWidthOption:Ax,getMinHeightOption:G1,getMaxWidthOption:K1,getMaxHeightOption:vh,getUserStyleFormats:V4,shouldMergeStyleFormats:Ox,shouldAutoHideStyleFormats:Nx,getLineHeightFormats:ty,getContentLanguages:Mx,getRemovedMenuItems:Dx,isMenubarEnabled:J1,isMultipleToolbars:oy,isToolbarEnabled:t0,isToolbarPersist:Z4,getMultipleToolbarsOption:$x,getUiContainer:Zx,useFixedContainer:kh,isSplitUiMode:qg,getToolbarMode:ey,isDraggableModal:o2,isDistractionFree:o0,isStickyToolbar:_h,getStickyToolbarOffset:Rx,getToolbarLocation:Y1,isToolbarLocationBottom:Ux,getToolbarGroups:$4,getMenus:l2,getMenubar:q4,getToolbar:xh,getFilePickerCallback:Bx,getFilePickerTypes:Lx,useTypeaheadUrls:t2,getAnchorTop:Ix,getAnchorBottom:X1,getFilePickerValidatorHandler:e2,getFontSizeInputDefaultUnit:Fx,useStatusBar:Cm,useElementPath:Px,promotionEnabled:Vx,useBranding:wh,getResize:n2,getPasteAsText:Hx,getSidebarShow:jx,useHelpAccessibility:r2,getDefaultFontStack:a2});const qx="[data-mce-autocompleter]",c2=e=>Vl(e,qx);var Wx;(function(e){e[e.CLOSE_ON_EXECUTE=0]="CLOSE_ON_EXECUTE",e[e.BUBBLE_TO_SANDBOX=1]="BUBBLE_TO_SANDBOX"})(Wx||(Wx={}));var Oc=Wx;const d2="tox-menu-nav__js",ny="tox-collection__item",n0="tox-swatch",G4={normal:d2,color:n0},u2="tox-collection__item--enabled",m2="tox-collection__item-icon",r0="tox-collection__item-label",g2="tox-collection__item-caret",ry="tox-collection__item--active",p2="tox-collection__item-container",f2="tox-collection__item-container--row",h2=e=>Xt(G4,e).getOr(d2),K4=e=>e==="color"?"tox-swatches":"tox-menu",b2=e=>({backgroundMenu:"tox-background-menu",selectedMenu:"tox-selected-menu",selectedItem:"tox-collection__item--active",hasIcons:"tox-menu--has-icons",menu:K4(e),tieredMenu:"tox-tiered-menu"}),cf=e=>{const r=b2(e);return{backgroundMenu:r.backgroundMenu,selectedMenu:r.selectedMenu,menu:r.menu,selectedItem:r.selectedItem,item:h2(e)}},a0=(e,r,s)=>{const l=b2(s);return{tag:"div",classes:$e([[l.menu,`tox-menu-${r}-column`],e?[l.hasIcons]:[]])}},Y4=[lf.parts.items({})],Ch=(e,r,s)=>{const l=b2(s);return{dom:{tag:"div",classes:$e([[l.tieredMenu]])},markers:cf(s)}},y2=me([la("data"),ft("inputAttributes",{}),ft("inputStyles",{}),ft("tag","input"),ft("inputClasses",[]),Hr("onSetValue"),ft("styles",{}),ft("eventOrder",{}),qi("inputBehaviours",[Wo,er]),ft("selectOnFocus",!0)]),X4=e=>Oo([er.config({onFocus:e.selectOnFocus?r=>{const s=r.element,l=Lu(s);s.dom.setSelectionRange(0,l.length)}:he})]),J4=e=>({...X4(e),...Fi(e.inputBehaviours,[Wo.config({store:{mode:"manual",...e.data.map(r=>({initialValue:r})).getOr({}),getValue:r=>Lu(r.element),setValue:(r,s)=>{Lu(r.element)!==s&&Ec(r.element,s)}},onSetValue:e.onSetValue})])}),v2=e=>({tag:e.tag,attributes:{type:"text",...e.inputAttributes},styles:e.inputStyles,classes:e.inputClasses}),df=Pc({name:"Input",configFields:y2(),factory:(e,r)=>({uid:e.uid,dom:v2(e),components:[],behaviours:J4(e),eventOrder:e.eventOrder})}),x2=un("refetch-trigger-event"),w2=un("redirect-menu-item-interaction"),k2="tox-menu__searcher",s0=e=>vs(e.element,`.${k2}`).bind(r=>e.getSystem().getByDom(r).toOptional()),_2=s0,Q4=e=>({fetchPattern:Wo.getValue(e),selectionStart:e.element.dom.selectionStart,selectionEnd:e.element.dom.selectionEnd}),eE=e=>{const r=(m,g)=>(g.cut(),R.none()),s=(m,g)=>{const h={interactionEvent:g.event,eventType:g.event.raw.type};return _n(m,w2,h),R.some(!0)},l="searcher-events";return{dom:{tag:"div",classes:[ny]},components:[df.sketch({inputClasses:[k2,"tox-textfield"],inputAttributes:{...e.placeholder.map(m=>({placeholder:e.i18n(m)})).getOr({}),type:"search","aria-autocomplete":"list"},inputBehaviours:Oo([Tr(l,[Kt(Hn(),m=>{$r(m,x2)}),Kt(fn(),(m,g)=>{g.event.raw.key==="Escape"&&g.stop()})]),Dn.config({mode:"special",onLeft:r,onRight:r,onSpace:r,onEnter:s,onEscape:s,onUp:s,onDown:s})]),eventOrder:{keydown:[l,Dn.name()]}})]}},ay="tox-collection--results__js",C2=e=>{var r;return e.dom?{...e,dom:{...e.dom,attributes:{...(r=e.dom.attributes)!==null&&r!==void 0?r:{},id:un("aria-item-search-result-id"),"aria-selected":"false"}}}:e},Gx=(e,r)=>s=>{const l=V(s,r);return dt(l,m=>({dom:e,components:m}))},tE=(e,r)=>{const s=[];let l=[];return Ie(e,(m,g)=>{r(m,g)?(l.length>0&&s.push(l),l=[],(Vo(m.dom,"innerHtml")||m.components&&m.components.length>0)&&l.push(m)):l.push(m)}),l.length>0&&s.push(l),dt(s,m=>({dom:{tag:"div",classes:["tox-collection__group"]},components:m}))},Kx=(e,r,s)=>lf.parts.items({preprocess:l=>{const m=dt(l,s);return e!=="auto"&&e>1?Gx({tag:"div",classes:["tox-collection__group"]},e)(m):tE(m,(g,h)=>r[h].type==="separator")}}),S2=(e,r,s=!0)=>({dom:{tag:"div",classes:["tox-menu","tox-collection"].concat(e===1?["tox-collection--list"]:["tox-collection--grid"])},components:[Kx(e,r,Ze)]}),i0=e=>uo(e,r=>"icon"in r&&r.icon!==void 0),Sm=e=>(console.error(El(e)),R.none()),UA=(e,r,s,l,m)=>{const g=(h=s,{dom:{tag:"div",classes:["tox-collection","tox-collection--horizontal"]},components:[lf.parts.items({preprocess:x=>tE(x,(w,S)=>h[S].type==="separator")})]});var h;return{value:e,dom:g.dom,components:g.components,items:s}},Yx=(e,r,s,l,m)=>{if(m.menuType==="color"){const g=(h=>({dom:{tag:"div",classes:["tox-menu","tox-swatches-menu"]},components:[{dom:{tag:"div",classes:["tox-swatches"]},components:[lf.parts.items({preprocess:h!=="auto"?Gx({tag:"div",classes:["tox-swatches__row"]},h):Ze})]}]}))(l);return{value:e,dom:g.dom,components:g.components,items:s}}if(m.menuType==="normal"&&l==="auto"){const g=S2(l,s);return{value:e,dom:g.dom,components:g.components,items:s}}if(m.menuType==="normal"||m.menuType==="searchable"){const g=m.menuType!=="searchable"?S2(l,s):m.searchMode.searchMode==="search-with-field"?((h,x,w)=>{const S=un("aria-controls-search-results");return{dom:{tag:"div",classes:["tox-menu","tox-collection"].concat(h===1?["tox-collection--list"]:["tox-collection--grid"])},components:[eE({i18n:jc.translate,placeholder:w.placeholder}),{dom:{tag:"div",classes:[...h===1?["tox-collection--list"]:["tox-collection--grid"],ay],attributes:{id:S}},components:[Kx(h,x,C2)]}]}})(l,s,m.searchMode):((h,x,w=!0)=>{const S=un("aria-controls-search-results");return{dom:{tag:"div",classes:["tox-menu","tox-collection",ay].concat(h===1?["tox-collection--list"]:["tox-collection--grid"]),attributes:{id:S}},components:[Kx(h,x,C2)]}})(l,s);return{value:e,dom:g.dom,components:g.components,items:s}}if(m.menuType==="listpreview"&&l!=="auto"){const g=(h=>({dom:{tag:"div",classes:["tox-menu","tox-collection","tox-collection--toolbar","tox-collection--toolbar-lg"]},components:[lf.parts.items({preprocess:Gx({tag:"div",classes:["tox-collection__group"]},h)})]}))(l);return{value:e,dom:g.dom,components:g.components,items:s}}return{value:e,dom:a0(r,l,m.menuType),components:Y4,items:s}},ci=us("type"),E2=us("name"),T2=us("label"),Wg=us("text"),$c=us("title"),qu=us("icon"),l0=us("value"),z2=ml("fetch"),A2=ml("getSubmenuItems"),sy=ml("onAction"),ZA=ml("onItemAction"),Em=hs("onSetup",()=>he),Xx=Hs("name"),Xm=Hs("text"),pu=Hs("icon"),Id=Hs("tooltip"),O2=Hs("label"),qA=Hs("shortcut"),fu=Tl("select"),uf=ri("active",!1),oE=ri("borderless",!1),ll=ri("enabled",!0),Na=ri("primary",!1),Sh=e=>ft("columns",e),iy=ft("meta",{}),Jx=hs("onAction",he),Gg=e=>zl("type",e),c0=e=>oi("name","name",os(()=>un(`${e}-name`)),wa),nE=Cn([ci,Xm]),N2=Cn([Gg("autocompleteitem"),uf,ll,iy,l0,Xm,pu]),d0=[ll,Id,pu,Xm,Em],rE=Cn([ci,sy].concat(d0)),M2=e=>ka("toolbarbutton",rE,e),u0=[uf].concat(d0),aE=Cn(u0.concat([ci,sy])),m0=e=>ka("ToggleButton",aE,e),sE=[hs("predicate",Bo),pl("scope","node",["node","editor"]),pl("position","selection",["node","selection","line"])],WA=d0.concat([Gg("contextformbutton"),Na,sy,ao("original",Ze)]),GA=u0.concat([Gg("contextformbutton"),Na,sy,ao("original",Ze)]),KA=d0.concat([Gg("contextformbutton")]),YA=u0.concat([Gg("contextformtogglebutton")]),iE=Ms("type",{contextformbutton:WA,contextformtogglebutton:GA}),XA=Cn([Gg("contextform"),hs("initValue",me("")),O2,al("commands",iE),$i("launch",Ms("type",{contextformbutton:KA,contextformtogglebutton:YA}))].concat(sE)),JA=Cn([Gg("contexttoolbar"),us("items")].concat(sE)),lE=[ci,us("src"),Hs("alt"),uc("classes",[],wa)],cE=Cn(lE),QA=[ci,Wg,Xx,uc("classes",["tox-collection__item-label"],wa)],dE=Cn(QA),D2=Gd(()=>rn("type",{cardimage:cE,cardtext:dE,cardcontainer:eO})),eO=Cn([ci,zl("direction","horizontal"),zl("align","left"),zl("valign","middle"),al("items",D2)]),ly=[ll,Xm,qA,oi("value","value",os(()=>un("menuitem-value")),Cl()),iy],tO=Cn([ci,O2,al("items",D2),Em,Jx].concat(ly)),oO=Cn([ci,uf,pu].concat(ly)),R2=[ci,us("fancytype"),Jx],Wu=[ft("initData",{})].concat(R2),nO=[Tl("select"),Bm("initData",{},[ri("allowCustomColors",!0),zl("storageKey","default"),ns("colors",Cl())])].concat(R2),B2=Ms("fancytype",{inserttable:Wu,colorswatch:nO}),uE=Cn([ci,Em,Jx,pu].concat(ly)),mE=Cn([ci,A2,Em,pu].concat(ly)),gE=Cn([ci,pu,uf,Em,sy].concat(ly)),Qx=(e,r,s)=>{const l=Zl(e.element,"."+s);if(l.length>0){const m=Se(l,g=>{const h=g.dom.getBoundingClientRect().top,x=l[0].dom.getBoundingClientRect().top;return Math.abs(h-x)>r}).getOr(l.length);return R.some({numColumns:m,numRows:Math.ceil(l.length/m)})}return R.none()},cy=e=>((r,s)=>Oo([Tr(r,s)]))(un("unnamed-events"),e),pE=un("tooltip.exclusive"),g0=un("tooltip.show"),p0=un("tooltip.hide"),F2=(e,r,s)=>{e.getSystem().broadcastOn([pE],{})};var fE=Object.freeze({__proto__:null,hideAllExclusive:F2,setComponents:(e,r,s,l)=>{s.getTooltip().each(m=>{m.getSystem().isConnected()&&fr.set(m,l)})}}),hE=Object.freeze({__proto__:null,events:(e,r)=>{const s=l=>{r.getTooltip().each(m=>{id(m),e.onHide(l,m),r.clearTooltip()}),r.clearTimer()};return qa($e([[Kt(g0,l=>{r.resetTimer(()=>{(m=>{if(!r.isShowing()){F2(m);const g=e.lazySink(m).getOrDie(),h=m.getSystem().build({dom:e.tooltipDom,components:e.tooltipComponents,events:qa(e.mode==="normal"?[Kt(Te(),x=>{$r(m,g0)}),Kt(H(),x=>{$r(m,p0)})]:[]),behaviours:Oo([fr.config({})])});r.setTooltip(h),ym(g,h),e.onShow(m,h),xl.position(g,h,{anchor:e.anchor(m)})}})(l)},e.delay)}),Kt(p0,l=>{r.resetTimer(()=>{s(l)},e.delay)}),Kt(Cd(),(l,m)=>{const g=m;g.universal||Rt(g.channels,pE)&&s(l)}),od(l=>{s(l)})],e.mode==="normal"?[Kt(He(),l=>{$r(l,g0)}),Kt(vp(),l=>{$r(l,p0)}),Kt(Te(),l=>{$r(l,g0)}),Kt(H(),l=>{$r(l,p0)})]:[Kt(dg(),(l,m)=>{$r(l,g0)}),Kt(Pm(),l=>{$r(l,p0)})]]))}}),dy=[Yt("lazySink"),Yt("tooltipDom"),ft("exclusive",!0),ft("tooltipComponents",[]),ft("delay",300),pl("mode","normal",["normal","follow-highlight"]),ft("anchor",e=>({type:"hotspot",hotspot:e,layouts:{onLtr:me([yi,Nl,Qi,vl,Gs,Wa]),onRtl:me([yi,Nl,Qi,vl,Gs,Wa])}})),Hr("onHide"),Hr("onShow")],bE=Object.freeze({__proto__:null,init:()=>{const e=ms(),r=ms(),s=()=>{e.on(clearTimeout)},l=me("not-implemented");return Ia({getTooltip:r.get,isShowing:r.isSet,setTooltip:r.set,clearTooltip:r.clear,clearTimer:s,resetTimer:(m,g)=>{s(),e.set(setTimeout(m,g))},readState:l})}});const L2=Ri({fields:dy,name:"tooltipping",active:hE,state:bE,apis:fE}),I2="silver.readonly",P2=Cn([ni("readonly",Qc)]),uy=(e,r)=>{const s=e.mainUi.outerContainer.element,l=[e.mainUi.mothership,...e.uiMotherships];r&&Ie(l,m=>{m.broadcastOn([Bd()],{target:s})}),Ie(l,m=>{m.broadcastOn([I2],{readonly:r})})},ew=(e,r)=>{e.on("init",()=>{e.mode.isReadOnly()&&uy(r,!0)}),e.on("SwitchMode",()=>uy(r,e.mode.isReadOnly())),Q_(e)&&e.mode.set("readonly")},Wi=()=>tc.config({channels:{[I2]:{schema:P2,onReceive:(e,r)=>{Qn.set(e,r.readonly)}}}}),my=e=>Qn.config({disabled:e}),H2=e=>Qn.config({disabled:e,disableClass:"tox-tbtn--disabled"}),j2=e=>Qn.config({disabled:e,disableClass:"tox-tbtn--disabled",useNative:!1}),f0=(e,r)=>{const s=e.getApi(r);return l=>{l(s)}},Kg=(e,r)=>La(s=>{f0(e,s)(l=>{const m=e.onSetup(l);it(m)&&r.set(m)})}),Yg=(e,r)=>od(s=>f0(e,s)(r.get())),rO=(e,r)=>Cc((s,l)=>{f0(e,s)(e.onAction),e.triggersSubmenu||r!==Oc.CLOSE_ON_EXECUTE||(s.getSystem().isConnected()&&$r(s,Sd()),l.stop())}),aO={[fl()]:["disabling","alloy.base.behaviour","toggling","item-events"]},Eh=Wt,gy=(e,r,s,l)=>{const m=Sn(he);return{type:"item",dom:r.dom,components:Eh(r.optComponents),data:e.data,eventOrder:aO,hasSubmenu:e.triggersSubmenu,itemBehaviours:Oo([Tr("item-events",[rO(e,s),Kg(e,m),Yg(e,m)]),(g=()=>!e.enabled||l.isDisabled(),Qn.config({disabled:g,disableClass:"tox-collection__item--state-disabled"})),Wi(),fr.config({})].concat(e.itemBehaviours))};var g},py=e=>({value:e.value,meta:{text:e.text.getOr(""),...e.meta}}),h0=e=>{const r=Zu.os.isMacOS()||Zu.os.isiOS(),s=r?{alt:"⌥",ctrl:"⌃",shift:"⇧",meta:"⌘",access:"⌃⌥"}:{meta:"Ctrl",access:"Shift+Alt"},l=e.split("+"),m=dt(l,g=>{const h=g.toLowerCase().trim();return Vo(s,h)?s[h]:g});return r?m.join(""):m.join("+")},tw=(e,r,s=[m2])=>Uu(e,{tag:"div",classes:s},r),V2=e=>({dom:{tag:"div",classes:[r0]},components:[Ya(jc.translate(e))]}),yE=(e,r)=>({dom:{tag:"div",classes:r,innerHtml:e}}),sO=(e,r)=>({dom:{tag:"div",classes:[r0]},components:[{dom:{tag:e.tag,styles:e.styles},components:[Ya(jc.translate(r))]}]}),ow=e=>({dom:{tag:"div",classes:["tox-collection__item-accessory"]},components:[Ya(h0(e))]}),nw=e=>tw("checkmark",e,["tox-collection__item-checkmark"]),rw=e=>{const r=e.map(s=>({attributes:{title:jc.translate(s),id:un("menu-item")}})).getOr({});return{tag:"div",classes:[d2,ny],...r}},fy=(e,r,s,l=R.none())=>e.presets==="color"?((m,g,h)=>{const x=m.ariaLabel,w=m.value,S=m.iconContent.map(A=>((N,F,$)=>{const W=F();return K_(N,W).or($).getOrThunk(Cx(W))})(A,g.icons,h));return{dom:(()=>{const A=n0,N=S.getOr(""),F=x.map(W=>({title:g.translate(W)})).getOr({}),$={tag:"div",attributes:F,classes:[A]};return w==="custom"?{...$,tag:"button",classes:[...$.classes,"tox-swatches__picker-btn"],innerHtml:N}:w==="remove"?{...$,classes:[...$.classes,"tox-swatch--remove"],innerHtml:N}:Ue(w)?{...$,attributes:{...$.attributes,"data-mce-color":w},styles:{"background-color":w},innerHtml:N}:$})(),optComponents:[]}})(e,r,l):((m,g,h,x)=>{const w={tag:"div",classes:[m2]},S=h?m.iconContent.map($=>Uu($,w,g.icons,x)).orThunk(()=>R.some({dom:w})):R.none(),A=m.checkMark,N=R.from(m.meta).fold(()=>V2,$=>Vo($,"style")?rt(sO,$.style):V2),F=m.htmlContent.fold(()=>m.textContent.map(N),$=>R.some(yE($,[r0])));return{dom:rw(m.ariaLabel),optComponents:[S,F,m.shortcutContent.map(ow),A,m.caret]}})(e,r,s,l),aw=(e,r)=>Xt(e,"tooltipWorker").map(s=>[L2.config({lazySink:r.getSink,tooltipDom:{tag:"div",classes:["tox-tooltip-worker-container"]},tooltipComponents:[],anchor:l=>({type:"submenu",item:l,overrides:{maxHeightFunction:wg}}),mode:"follow-highlight",onShow:(l,m)=>{s(g=>{L2.setComponents(l,[ib({element:St(g)})])})}})]).getOr([]),sw=(e,r)=>{const s=(l=>Qb.DOM.encode(l))(jc.translate(e));if(r.length>0){const l=new RegExp((m=>m.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))(r),"gi");return s.replace(l,m=>`${m}`)}return s},b0=(e,r)=>dt(e,s=>{switch(s.type){case"cardcontainer":return((g,h)=>{const x=g.direction==="vertical"?"tox-collection__item-container--column":f2,w=g.align==="left"?"tox-collection__item-container--align-left":"tox-collection__item-container--align-right";return{dom:{tag:"div",classes:[p2,x,w,(()=>{switch(g.valign){case"top":return"tox-collection__item-container--valign-top";case"middle":return"tox-collection__item-container--valign-middle";case"bottom":return"tox-collection__item-container--valign-bottom"}})()]},components:h}})(s,b0(s.items,r));case"cardimage":return((g,h,x)=>({dom:{tag:"img",classes:h,attributes:{src:g,alt:x.getOr("")}}}))(s.src,s.classes,s.alt);case"cardtext":const l=s.name.exists(g=>Rt(r.cardText.highlightOn,g)),m=l?R.from(r.cardText.matchText).getOr(""):"";return yE(sw(s.text,m),s.classes)}}),$2=Mr(px(),Km()),U2=e=>({value:Z2(e)}),Tm=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,iw=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,Li=e=>Tm.test(e)||iw.test(e),Z2=e=>Ys(e,"#").toUpperCase(),lw=e=>{const r=e.toString(16);return(r.length===1?"0"+r:r).toUpperCase()},hy=e=>{const r=lw(e.red)+lw(e.green)+lw(e.blue);return U2(r)},q2=Math.min,W2=Math.max,y0=Math.round,iO=/^\s*rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)\s*$/i,lO=/^\s*rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d?(?:\.\d+)?)\s*\)\s*$/i,Xg=(e,r,s,l)=>({red:e,green:r,blue:s,alpha:l}),v0=e=>{const r=parseInt(e,10);return r.toString()===e&&r>=0&&r<=255},vE=e=>{let r,s,l;const m=(e.hue||0)%360;let g=e.saturation/100,h=e.value/100;if(g=W2(0,q2(g,1)),h=W2(0,q2(h,1)),g===0)return r=s=l=y0(255*h),Xg(r,s,l,1);const x=m/60,w=h*g,S=w*(1-Math.abs(x%2-1)),A=h-w;switch(Math.floor(x)){case 0:r=w,s=S,l=0;break;case 1:r=S,s=w,l=0;break;case 2:r=0,s=w,l=S;break;case 3:r=0,s=S,l=w;break;case 4:r=S,s=0,l=w;break;case 5:r=w,s=0,l=S;break;default:r=s=l=0}return r=y0(255*(r+A)),s=y0(255*(s+A)),l=y0(255*(l+A)),Xg(r,s,l,1)},x0=e=>{const r=(g=>{const h=(w=>({value:w.value.replace(Tm,(A,N,F,$)=>N+N+F+F+$+$)}))(g),x=iw.exec(h.value);return x===null?["FFFFFF","FF","FF","FF"]:x})(e),s=parseInt(r[1],16),l=parseInt(r[2],16),m=parseInt(r[3],16);return Xg(s,l,m,1)},xE=(e,r,s,l)=>{const m=parseInt(e,10),g=parseInt(r,10),h=parseInt(s,10),x=parseFloat(l);return Xg(m,g,h,x)},cw=e=>{if(e==="transparent")return R.some(Xg(0,0,0,0));const r=iO.exec(e);if(r!==null)return R.some(xE(r[1],r[2],r[3],"1"));const s=lO.exec(e);return s!==null?R.some(xE(s[1],s[2],s[3],s[4])):R.none()},G2=e=>`rgba(${e.red},${e.green},${e.blue},${e.alpha})`,wE=Xg(255,0,0,1),K2=(e,r)=>{e.dispatch("ResizeContent",r)},Y2=(e,r)=>{e.dispatch("TextColorChange",r)},cO=(e,r)=>e.dispatch("ResolveName",{name:r.nodeName.toLowerCase(),target:r}),dw=(e,r)=>()=>{e(),r()},hc=e=>Jm(e,"NodeChange",r=>{r.setEnabled(e.selection.isEditable())}),Th=(e,r)=>s=>{const l=hc(e)(s),m=((g,h)=>x=>{const w=vg(),S=()=>{x.setActive(g.formatter.match(h));const A=g.formatter.formatChanged(h,x.setActive);w.set(A)};return g.initialized?S():g.once("init",S),()=>{g.off("init",S),w.clear()}})(e,r)(s);return()=>{l(),m()}},Jm=(e,r,s)=>l=>{const m=()=>s(l),g=()=>{s(l),e.on(r,m)};return e.initialized?g():e.once("init",g),()=>{e.off("init",g),e.off(r,m)}},w0=e=>r=>()=>{e.undoManager.transact(()=>{e.focus(),e.execCommand("mceToggleFormat",!1,r.format)})},Kl=(e,r)=>()=>e.execCommand(r);var mf=tinymce.util.Tools.resolve("tinymce.util.LocalStorage");const X2={},kE=e=>Xt(X2,e).getOrThunk(()=>{const r=`tinymce-custom-colors-${e}`,s=mf.getItem(r);if(Ao(s)){const m=mf.getItem("tinymce-custom-colors");mf.setItem(r,Ue(m)?m:"[]")}const l=((m,g=10)=>{const h=mf.getItem(m),x=to(h)?JSON.parse(h):[],w=g-(S=x).length<0?S.slice(0,g):S;var S;const A=N=>{w.splice(N,1)};return{add:N=>{ht(w,N).each(A),w.unshift(N),w.length>g&&w.pop(),mf.setItem(m,JSON.stringify(w))},state:()=>w.slice(0)}})(r,10);return X2[e]=l,l}),_E=(e,r)=>{kE(e).add(r)},k0=(e,r,s)=>({hue:e,saturation:r,value:s}),J2=e=>{let r=0,s=0,l=0;const m=e.red/255,g=e.green/255,h=e.blue/255,x=Math.min(m,Math.min(g,h)),w=Math.max(m,Math.max(g,h));return x===w?(l=x,k0(0,0,100*l)):(r=m===x?3:h===x?1:5,r=60*(r-(m===x?g-h:h===x?m-g:h-m)/(w-x)),s=(w-x)/w,l=w,k0(Math.round(r),Math.round(100*s),Math.round(100*l)))},Q2=e=>hy(vE(e)),by=e=>{return(r=e,Li(r)?R.some({value:Z2(r)}):R.none()).orThunk(()=>cw(e).map(hy)).getOrThunk(()=>{const s=document.createElement("canvas");s.height=1,s.width=1;const l=s.getContext("2d");l.clearRect(0,0,s.width,s.height),l.fillStyle="#FFFFFF",l.fillStyle=e,l.fillRect(0,0,1,1);const m=l.getImageData(0,0,1,1).data,g=m[0],h=m[1],x=m[2],w=m[3];return hy(Xg(g,h,x,w))});var r},Jg="forecolor",uw="hilitecolor",CE=e=>{const r=[];for(let s=0;sr=>r.options.get(e),zh="#000000",gf=(e,r)=>r===Jg&&e.options.isSet("color_map_foreground")?hu("color_map_foreground")(e):r===uw&&e.options.isSet("color_map_background")?hu("color_map_background")(e):hu("color_map")(e),yy=(e,r="default")=>Math.max(5,Math.ceil(Math.sqrt(gf(e,r).length))),mw=(e,r)=>{const s=hu("color_cols")(e),l=yy(e,r);return s===yy(e)?l:s},eC=(e,r="default")=>Math.round(r===Jg?hu("color_cols_foreground")(e):r===uw?hu("color_cols_background")(e):hu("color_cols")(e)),SE=hu("custom_colors"),EE=hu("color_default_foreground"),dO=hu("color_default_background"),TE=(e,r)=>{const s=St(e.selection.getStart()),l=r==="hilitecolor"?qs(s,m=>{if(wt(m)){const g=aa(m,"background-color");return ln(cw(g).exists(h=>h.alpha!==0),g)}return R.none()}).getOr("rgba(0, 0, 0, 0)"):aa(s,"color");return cw(l).map(m=>"#"+hy(m).value)},tC=e=>{const r="choiceitem",s={type:r,text:"Remove color",icon:"color-swatch-remove-color",value:"remove"};return e?[s,{type:r,text:"Custom color",icon:"color-picker",value:"custom"}]:[s]},gw=(e,r,s,l)=>{s==="custom"?rC(e)(m=>{m.each(g=>{_E(r,g),e.execCommand("mceApplyTextcolor",r,g),l(g)})},TE(e,r).getOr(zh)):s==="remove"?(l(""),e.execCommand("mceRemoveTextcolor",r)):(l(s),e.execCommand("mceApplyTextcolor",r,s))},oC=(e,r,s)=>e.concat((l=>dt(kE(l).state(),m=>({type:"choiceitem",text:m,icon:"checkmark",value:m})))(r).concat(tC(s))),nC=(e,r,s)=>l=>{l(oC(e,r,s))},pf=(e,r,s)=>{const l=r==="forecolor"?"tox-icon-text-color__color":"tox-icon-highlight-bg-color__color";e.setIconFill(l,s)},zE=(e,r)=>{e.setTooltip(r)},AE=(e,r)=>s=>{const l=TE(e,r);return Rr(l,s.toUpperCase())},vy=(e,r,s)=>{if($s(s))return r==="forecolor"?"Text color":"Background color";const l=r==="forecolor"?"Text color {0}":"Background color {0}",m=oC(gf(e,r),r,!1),g=oo(m,h=>h.value===s).getOr({text:""}).text;return e.translate([l,e.translate(g)])},Pd=(e,r,s,l)=>{e.ui.registry.addSplitButton(r,{tooltip:vy(e,s,l.get()),presets:"color",icon:r==="forecolor"?"text-color":"highlight-bg-color",select:AE(e,s),columns:eC(e,s),fetch:nC(gf(e,s),s,SE(e)),onAction:m=>{gw(e,s,l.get(),he)},onItemAction:(m,g)=>{gw(e,s,g,h=>{l.set(h),Y2(e,{name:r,color:h})})},onSetup:m=>{pf(m,r,l.get());const g=h=>{h.name===r&&(pf(m,h.name,h.color),zE(m,vy(e,s,h.color)))};return e.on("TextColorChange",g),dw(hc(e)(m),()=>{e.off("TextColorChange",g)})}})},pw=(e,r,s,l,m)=>{e.ui.registry.addNestedMenuItem(r,{text:l,icon:r==="forecolor"?"text-color":"highlight-bg-color",onSetup:g=>(zE(g,vy(e,s,m.get())),pf(g,r,m.get()),hc(e)(g)),getSubmenuItems:()=>[{type:"fancymenuitem",fancytype:"colorswatch",select:AE(e,s),initData:{storageKey:s},onAction:g=>{gw(e,s,g.value,h=>{m.set(h),Y2(e,{name:r,color:h})})}}]})},rC=e=>(r,s)=>{let l=!1;const m={colorpicker:s};e.windowManager.open({title:"Color Picker",size:"normal",body:{type:"panel",items:[{type:"colorpicker",name:"colorpicker",label:"Color"}]},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:m,onAction:(g,h)=>{h.name==="hex-valid"&&(l=h.value)},onSubmit:g=>{const h=g.getData().colorpicker;l?(r(R.from(h)),g.close()):e.windowManager.alert(e.translate(["Invalid hex color code: {0}",h]))},onClose:he,onCancel:()=>{r(R.none())}})},aC=(e,r,s,l,m,g,h,x)=>{const w=i0(r),S=uO(r,s,l,m!=="color"?"normal":"color",g,h,x);return Yx(e,w,S,l,{menuType:m})},uO=(e,r,s,l,m,g,h)=>Wt(dt(e,x=>{return x.type==="choiceitem"?(w=x,ka("choicemenuitem",oO,w)).fold(Sm,S=>R.some(((A,N,F,$,W,se,le,fe=!0)=>{const te=fy({presets:F,textContent:N?A.text:R.none(),htmlContent:R.none(),ariaLabel:A.text,iconContent:A.icon,shortcutContent:N?A.shortcut:R.none(),checkMark:N?R.some(nw(le.icons)):R.none(),caret:R.none(),value:A.value},le,fe);return Da(gy({data:py(A),enabled:A.enabled,getApi:X=>({setActive:ue=>{Dr.set(X,ue)},isActive:()=>Dr.isOn(X),isEnabled:()=>!Qn.isDisabled(X),setEnabled:ue=>Qn.set(X,!ue)}),onAction:X=>$(A.value),onSetup:X=>(X.setActive(W),he),triggersSubmenu:!1,itemBehaviours:[]},te,se,le),{toggling:{toggleClass:u2,toggleOnExecute:!1,selected:A.active,exclusive:!0}})})(S,s===1,l,r,g(S.value),m,h,i0(e)))):R.none();var w})),_0=(e,r)=>{const s=cf(r);return e===1?{mode:"menu",moveOnTab:!0}:e==="auto"?{mode:"grid",selector:"."+s.item,initSize:{numColumns:1,numRows:1}}:{mode:"matrix",rowSelector:"."+(r==="color"?"tox-swatches__row":"tox-collection__group"),previousSelector:l=>r==="color"?vs(l.element,"[aria-checked=true]"):R.none()}},sC=un("cell-over"),iC=un("cell-execute"),mO=(e,r,s)=>{const l=g=>_n(g,iC,{row:e,col:r}),m=(g,h)=>{h.stop(),l(g)};return yl({dom:{tag:"div",attributes:{role:"button","aria-label":s}},behaviours:Oo([Tr("insert-table-picker-cell",[Kt(Te(),er.focus),Kt(fl(),l),Kt(fa(),m),Kt(Fm(),m)]),Dr.config({toggleClass:"tox-insert-table-picker__selected",toggleOnExecute:!1}),er.config({onFocus:g=>_n(g,sC,{row:e,col:r})})])})},OE=e=>ct(e,r=>dt(r,Tc)),lC=(e,r)=>Ya(`${r}x${e}`),NE={inserttable:(e,r)=>{const s=(h=>(x,w)=>h.shared.providers.translate(["{0} columns, {1} rows",w,x]))(r),l=((h,x,w)=>{const S=[];for(let A=0;A<10;A++){const N=[];for(let F=0;F<10;F++){const $=h(A+1,F+1);N.push(mO(A,F,$))}S.push(N)}return S})(s),m=lC(0,0),g=Ta({dom:{tag:"span",classes:["tox-insert-table-picker__label"]},components:[m],behaviours:Oo([fr.config({})])});return{type:"widget",data:{value:un("widget-id")},dom:{tag:"div",classes:["tox-fancymenuitem"]},autofocus:!0,components:[$2.widget({dom:{tag:"div",classes:["tox-insert-table-picker"]},components:OE(l).concat(g.asSpec()),behaviours:Oo([Tr("insert-table-picker",[La(h=>{fr.set(g.get(h),[m])}),Lf(sC,(h,x,w)=>{const{row:S,col:A}=w.event;((N,F,$,W,se)=>{for(let le=0;le<10;le++)for(let fe=0;fe<10;fe++)Dr.set(N[le][fe],le<=F&&fe<=$)})(l,S,A),fr.set(g.get(h),[lC(S+1,A+1)])}),Lf(iC,(h,x,w)=>{const{row:S,col:A}=w.event;e.onAction({numRows:S+1,numColumns:A+1}),$r(h,Sd())})]),Dn.config({initSize:{numRows:10,numColumns:10},mode:"flatgrid",selector:'[role="button"]'})])})]}},colorswatch:(e,r)=>{const s=((h,x)=>{const w=h.initData.allowCustomColors&&x.colorinput.hasCustomColors();return h.initData.colors.fold(()=>oC(x.colorinput.getColors(h.initData.storageKey),h.initData.storageKey,w),S=>S.concat(tC(w)))})(e,r),l=r.colorinput.getColorCols(e.initData.storageKey),m="color",g={...aC(un("menu-value"),s,h=>{e.onAction({value:h})},l,m,Oc.CLOSE_ON_EXECUTE,e.select.getOr(Bo),r.shared.providers),markers:cf(m),movement:_0(l,m)};return{type:"widget",data:{value:un("widget-id")},dom:{tag:"div",classes:["tox-fancymenuitem"]},autofocus:!0,components:[$2.widget(lf.sketch(g))]}}},ME=e=>({type:"separator",dom:{tag:"div",classes:[ny,"tox-collection__group-heading"]},components:e.text.map(Ya).toArray()});var cC=Object.freeze({__proto__:null,getCoupled:(e,r,s,l)=>s.getOrCreate(e,r,l),getExistingCoupled:(e,r,s,l)=>s.getExisting(e,r,l)}),DE=[ni("others",Cu(Fr.value,Cl()))],RE=Object.freeze({__proto__:null,init:()=>{const e={},r=(l,m)=>{if(Vt(l.others).length===0)throw new Error("Cannot find any known coupled components");return Xt(e,m)},s=me({});return Ia({readState:s,getExisting:(l,m,g)=>r(m,g).orThunk(()=>(Xt(m.others,g).getOrDie("No information found for coupled component: "+g),R.none())),getOrCreate:(l,m,g)=>r(m,g).getOrThunk(()=>{const h=Xt(m.others,g).getOrDie("No information found for coupled component: "+g)(l),x=l.getSystem().build(h);return e[g]=x,x})})}});const js=Ri({fields:DE,name:"coupling",apis:cC,state:RE}),dC=e=>{let r=R.none(),s=[];const l=h=>{m()?g(h):s.push(h)},m=()=>r.isSome(),g=h=>{r.each(x=>{setTimeout(()=>{h(x)},0)})};return e(h=>{m()||(r=R.some(h),Ie(s,g),s=[])}),{get:l,map:h=>dC(x=>{l(w=>{x(h(w))})}),isReady:m}},gO={nu:dC,pure:e=>dC(r=>{r(e)})},BE=e=>{setTimeout(()=>{throw e},0)},Ah=e=>{const r=s=>{e().then(s,BE)};return{map:s=>Ah(()=>e().then(s)),bind:s=>Ah(()=>e().then(l=>s(l).toPromise())),anonBind:s=>Ah(()=>e().then(()=>s.toPromise())),toLazy:()=>gO.nu(r),toCached:()=>{let s=null;return Ah(()=>(s===null&&(s=e()),s))},toPromise:e,get:r}},Qg=e=>Ah(()=>new Promise(e)),zm=e=>Ah(()=>Promise.resolve(e)),uC=me("sink"),FE=me(No({name:uC(),overrides:me({dom:{tag:"div"},behaviours:Oo([xl.config({useFixed:Ct})]),events:qa([jl(fn()),jl(ai()),jl(fa())])})})),fw=(e,r)=>{const s=e.getHotspot(r).getOr(r),l="hotspot",m=e.getAnchorOverrides();return e.layouts.fold(()=>({type:l,hotspot:s,overrides:m}),g=>({type:l,hotspot:s,overrides:m,layouts:g}))},Gu=(e,r,s,l,m,g,h)=>((w,S,A,N,F,$,W)=>{const se=((fe,te,X)=>(0,fe.fetch)(X).map(te))(w,S,N),le=LE(N,w);return se.map(fe=>fe.bind(te=>R.from(Ug.sketch({...$.menu(),uid:G(""),data:te,highlightOnOpen:W,onOpenMenu:(X,ue)=>{const ye=le().getOrDie();xl.position(ye,ue,{anchor:A}),Lr.decloak(F)},onOpenSubmenu:(X,ue,ye)=>{const we=le().getOrDie();xl.position(we,ye,{anchor:{type:"submenu",item:ue}}),Lr.decloak(F)},onRepositionMenu:(X,ue,ye)=>{const we=le().getOrDie();xl.position(we,ue,{anchor:A}),Ie(ye,Ye=>{xl.position(we,Ye.triggeredMenu,{anchor:{type:"submenu",item:Ye.triggeringItem}})})},onEscape:()=>(er.focus(N),Lr.close(F),R.some(!0))}))))})(e,r,fw(e,s),s,l,m,h).map(w=>(w.fold(()=>{Lr.isOpen(l)&&Lr.close(l)},S=>{Lr.cloak(l),Lr.open(l,S),g(l)}),l)),C0=(e,r,s,l,m,g,h)=>(Lr.close(l),zm(l)),S0=(e,r,s,l,m,g)=>{const h=js.getCoupled(s,"sandbox");return(Lr.isOpen(h)?C0:Gu)(e,r,s,h,l,m,g)},LE=(e,r)=>e.getSystem().getByUid(r.uid+"-"+uC()).map(s=>()=>Fr.value(s)).getOrThunk(()=>r.lazySink.fold(()=>()=>Fr.error(new Error("No internal sink is specified, nor could an external sink be found")),s=>()=>s(e))),IE=e=>{Lr.getState(e).each(r=>{Ug.repositionMenus(r)})},hw=(e,r,s)=>{const l=Ap(),m=LE(r,e);return{dom:{tag:"div",classes:e.sandboxClasses,attributes:{id:l.id,role:"listbox"}},behaviours:Bg(e.sandboxBehaviours,[Wo.config({store:{mode:"memory",initialValue:r}}),Lr.config({onOpen:(g,h)=>{const x=fw(e,r);l.link(r.element),e.matchWidth&&((w,S,A)=>{const N=Gr.getCurrent(S).getOr(S),F=Ga(w.element);A?Bn(N.element,"min-width",F+"px"):(($,W)=>{ma.set($,W)})(N.element,F)})(x.hotspot,h,e.useMinWidth),e.onOpen(x,g,h),s!==void 0&&s.onOpen!==void 0&&s.onOpen(g,h)},onClose:(g,h)=>{l.unlink(r.element),s!==void 0&&s.onClose!==void 0&&s.onClose(g,h)},isPartOf:(g,h,x)=>si(h,x)||si(r,x),getAttachPoint:()=>m().getOrDie()}),Gr.config({find:g=>Lr.getState(g).bind(h=>Gr.getCurrent(h))}),tc.config({channels:{...Rg({isExtraPart:Bo}),...Zp({doReposition:IE})}})])}},bw=e=>{const r=js.getCoupled(e,"sandbox");IE(r)},E0=()=>[ft("sandboxClasses",[]),nc("sandboxBehaviours",[Gr,tc,Lr,Wo])],mC=me([Yt("dom"),Yt("fetch"),Hr("onOpen"),Ol("onExecute"),ft("getHotspot",R.some),ft("getAnchorOverrides",me({})),hm(),qi("dropdownBehaviours",[Dr,js,Dn,er]),Yt("toggleClass"),ft("eventOrder",{}),la("lazySink"),ft("matchWidth",!1),ft("useMinWidth",!1),la("role")].concat(E0())),bu=me([Do({schema:[jf(),ft("fakeFocus",!1)],name:"menu",defaults:e=>({onExecute:e.onExecute})}),FE()]),Hd=Wl({name:"Dropdown",configFields:mC(),partFields:bu(),factory:(e,r,s,l)=>{const m=w=>{Lr.getState(w).each(S=>{Ug.highlightPrimary(S)})},g=(w,S,A)=>S0(e,Ze,w,l,S,A),h={expand:w=>{Dr.isOn(w)||g(w,he,Gl.HighlightNone).get(he)},open:w=>{Dr.isOn(w)||g(w,he,Gl.HighlightMenuAndItem).get(he)},refetch:w=>js.getExistingCoupled(w,"sandbox").fold(()=>g(w,he,Gl.HighlightMenuAndItem).map(he),S=>Gu(e,Ze,w,S,l,he,Gl.HighlightMenuAndItem).map(he)),isOpen:Dr.isOn,close:w=>{Dr.isOn(w)&&g(w,he,Gl.HighlightMenuAndItem).get(he)},repositionMenus:w=>{Dr.isOn(w)&&bw(w)}},x=(w,S)=>(Qd(w),R.some(!0));return{uid:e.uid,dom:e.dom,components:r,behaviours:Fi(e.dropdownBehaviours,[Dr.config({toggleClass:e.toggleClass,aria:{mode:"expanded"}}),js.config({others:{sandbox:w=>hw(e,w,{onOpen:()=>Dr.on(w),onClose:()=>Dr.off(w)})}}),Dn.config({mode:"special",onSpace:x,onEnter:x,onDown:(w,S)=>{if(Hd.isOpen(w)){const A=js.getCoupled(w,"sandbox");m(A)}else Hd.open(w);return R.some(!0)},onEscape:(w,S)=>Hd.isOpen(w)?(Hd.close(w),R.some(!0)):R.none()}),er.config({})]),events:B1(R.some(w=>{g(w,m,Gl.HighlightMenuAndItem).get(he)})),eventOrder:{...e.eventOrder,[fl()]:["disabling","toggling","alloy.base.behaviour"]},apis:h,domModification:{attributes:{"aria-haspopup":"true",...e.role.fold(()=>({}),w=>({role:w})),...e.dom.tag==="button"?{type:Xt(e.dom,"attributes").bind(w=>Xt(w,"type")).getOr("button")}:{}}}}},apis:{open:(e,r)=>e.open(r),refetch:(e,r)=>e.refetch(r),expand:(e,r)=>e.expand(r),close:(e,r)=>e.close(r),isOpen:(e,r)=>e.isOpen(r),repositionMenus:(e,r)=>e.repositionMenus(r)}}),gC=(e,r,s)=>{_2(e).each(l=>{var m;((g,h)=>{Ca(h.element,"id").each(x=>Kn(g.element,"aria-activedescendant",x))})(l,s),(Di((m=r).element,ay)?R.some(m.element):vs(m.element,"."+ay)).each(g=>{Ca(g,"id").each(h=>Kn(l.element,"aria-controls",h))})}),Kn(s.element,"aria-selected","true")},pO=(e,r,s)=>{Kn(s.element,"aria-selected","false")},PE=e=>js.getExistingCoupled(e,"sandbox").bind(s0).map(Q4).map(r=>r.fetchPattern).getOr("");var xy;(function(e){e[e.ContentFocus=0]="ContentFocus",e[e.UiFocus=1]="UiFocus"})(xy||(xy={}));const pC=(e,r,s,l,m)=>{const g=s.shared.providers,h=w=>m?{...w,shortcut:R.none(),icon:w.text.isSome()?R.none():w.icon}:w;switch(e.type){case"menuitem":return(x=e,ka("menuitem",uE,x)).fold(Sm,w=>R.some(((S,A,N,F=!0)=>{const $=fy({presets:"normal",iconContent:S.icon,textContent:S.text,htmlContent:R.none(),ariaLabel:S.text,caret:R.none(),checkMark:R.none(),shortcutContent:S.shortcut},N,F);return gy({data:py(S),getApi:W=>({isEnabled:()=>!Qn.isDisabled(W),setEnabled:se=>Qn.set(W,!se)}),enabled:S.enabled,onAction:S.onAction,onSetup:S.onSetup,triggersSubmenu:!1,itemBehaviours:[]},$,A,N)})(h(w),r,g,l)));case"nestedmenuitem":return(w=>ka("nestedmenuitem",mE,w))(e).fold(Sm,w=>R.some(((S,A,N,F=!0,$=!1)=>{const W=$?(se=N.icons,tw("chevron-down",se,[g2])):(fe=>tw("chevron-right",fe,[g2]))(N.icons);var se;const le=fy({presets:"normal",iconContent:S.icon,textContent:S.text,htmlContent:R.none(),ariaLabel:S.text,caret:R.some(W),checkMark:R.none(),shortcutContent:S.shortcut},N,F);return gy({data:py(S),getApi:fe=>({isEnabled:()=>!Qn.isDisabled(fe),setEnabled:te=>Qn.set(fe,!te),setIconFill:(te,X)=>{vs(fe.element,`svg path[class="${te}"], rect[class="${te}"]`).each(ue=>{Kn(ue,"fill",X)})},setTooltip:te=>{const X=N.translate(te);Os(fe.element,{"aria-label":X,title:X})}}),enabled:S.enabled,onAction:he,onSetup:S.onSetup,triggersSubmenu:!0,itemBehaviours:[]},le,A,N)})(h(w),r,g,l,m)));case"togglemenuitem":return(w=>ka("togglemenuitem",gE,w))(e).fold(Sm,w=>R.some(((S,A,N,F=!0)=>{const $=fy({iconContent:S.icon,textContent:S.text,htmlContent:R.none(),ariaLabel:S.text,checkMark:R.some(nw(N.icons)),caret:R.none(),shortcutContent:S.shortcut,presets:"normal",meta:S.meta},N,F);return Da(gy({data:py(S),enabled:S.enabled,getApi:W=>({setActive:se=>{Dr.set(W,se)},isActive:()=>Dr.isOn(W),isEnabled:()=>!Qn.isDisabled(W),setEnabled:se=>Qn.set(W,!se)}),onAction:S.onAction,onSetup:S.onSetup,triggersSubmenu:!1,itemBehaviours:[]},$,A,N),{toggling:{toggleClass:u2,toggleOnExecute:!1,selected:S.active}})})(h(w),r,g,l)));case"separator":return(w=>ka("separatormenuitem",nE,w))(e).fold(Sm,w=>R.some(ME(w)));case"fancymenuitem":return(w=>ka("fancymenuitem",B2,w))(e).fold(Sm,w=>((S,A)=>Xt(NE,S.fancytype).map(N=>N(S,A)))(w,s));default:return console.error("Unknown item in general menu",e),R.none()}var x},wy=(e,r,s,l,m,g,h)=>{const x=l===1,w=!x||i0(e);return Wt(dt(e,S=>{switch(S.type){case"separator":return(A=S,ka("Autocompleter.Separator",nE,A)).fold(Sm,N=>R.some(ME(N)));case"cardmenuitem":return(N=>ka("cardmenuitem",tO,N))(S).fold(Sm,N=>R.some(((F,$,W,se)=>{const le={dom:rw(F.label),optComponents:[R.some({dom:{tag:"div",classes:[p2,f2]},components:b0(F.items,se)})]};return gy({data:py({text:R.none(),...F}),enabled:F.enabled,getApi:fe=>({isEnabled:()=>!Qn.isDisabled(fe),setEnabled:te=>{Qn.set(fe,!te),Ie(Zl(fe.element,"*"),X=>{fe.getSystem().getByDom(X).each(ue=>{ue.hasConfigured(Qn)&&Qn.set(ue,!te)})})}}),onAction:F.onAction,onSetup:F.onSetup,triggersSubmenu:!1,itemBehaviours:R.from(se.itemBehaviours).getOr([])},le,$,W.providers)})({...N,onAction:F=>{N.onAction(F),s(N.value,N.meta)}},m,g,{itemBehaviours:aw(N.meta,g),cardText:{matchText:r,highlightOn:h}})));default:return(N=>ka("Autocompleter.Item",N2,N))(S).fold(Sm,N=>R.some(((F,$,W,se,le,fe,te,X=!0)=>{const ue=fy({presets:se,textContent:R.none(),htmlContent:W?F.text.map(ye=>sw(ye,$)):R.none(),ariaLabel:F.text,iconContent:F.icon,shortcutContent:R.none(),checkMark:R.none(),caret:R.none(),value:F.value},te.providers,X,F.icon);return gy({data:py(F),enabled:F.enabled,getApi:me({}),onAction:ye=>le(F.value,F.meta),onSetup:me(he),triggersSubmenu:!1,itemBehaviours:aw(F.meta,te)},ue,fe,te.providers)})(N,r,x,"normal",s,m,g,w)))}var A}))},fC=(e,r,s,l,m,g)=>{const h=i0(r),x=Wt(dt(r,S=>{const A=N=>pC(N,s,l,(F=>m?!Vo(F,"text"):h)(N),m);return S.type==="nestedmenuitem"&&S.getSubmenuItems().length<=0?A({...S,enabled:!1}):A(S)})),w=(S=>S.searchMode==="no-search"?{menuType:"normal"}:{menuType:"searchable",searchMode:S})(g);return(m?UA:Yx)(e,h,x,1,w)},yw=e=>Ug.singleData(e.value,e),HE=(e,r)=>{const s=un("autocompleter"),l=Sn(!1),m=Sn(!1),g=yl(Rs.sketch({dom:{tag:"div",classes:["tox-autocompleter"],attributes:{id:s}},components:[],fireDismissalEventInstead:{},inlineBehaviours:Oo([Tr("dismissAutocompleter",[Kt(Ou(),()=>A()),Kt(dg(),($,W)=>{Ca(W.event.target,"id").each(se=>Kn(St(e.getBody()),"aria-activedescendant",se))})])]),lazySink:r.getSink})),h=()=>Rs.isOpen(g),x=m.get,w=()=>{if(h()){Rs.hide(g),e.dom.remove(s,!1);const $=St(e.getBody());Ca($,"aria-owns").filter(W=>W===s).each(()=>{xa($,"aria-owns"),xa($,"aria-activedescendant")})}},S=()=>Rs.getContent(g).bind($=>Me($.components(),0)),A=()=>e.execCommand("mceAutocompleterClose"),N=$=>{const W=(se=>{const le=Gt(se,fe=>R.from(fe.columns)).getOr(1);return ct(se,fe=>{const te=fe.items;return wy(te,fe.matchText,(X,ue)=>{const ye=e.selection.getRng();((we,Ye)=>c2(St(Ye.startContainer)).map(Tt=>{const Qt=we.createRng();return Qt.selectNode(Tt.dom),Qt}))(e.dom,ye).each(we=>{const Ye={hide:()=>A(),reload:Tt=>{w(),e.execCommand("mceAutocompleterReload",!1,{fetchOptions:Tt})}};l.set(!0),fe.onAction(Ye,we,X,ue),l.set(!1)})},le,Oc.BUBBLE_TO_SANDBOX,r,fe.highlightOn)})})($);W.length>0?(((se,le)=>{var fe;(fe=St(e.getBody()),vs(fe,qx)).each(te=>{const X=Gt(se,ue=>R.from(ue.columns)).getOr(1);Rs.showMenuAt(g,{anchor:{type:"node",root:St(e.getBody()),node:R.from(te)}},((ue,ye,we,Ye)=>{const Tt=_0(ye,Ye),Qt=cf(Ye);return{data:yw({...ue,movement:Tt,menuBehaviours:cy(ye!=="auto"?[]:[La((ro,no)=>{Qx(ro,4,Qt.item).each(({numColumns:Uo,numRows:pn})=>{Dn.setGridSize(ro,pn,Uo)})})])}),menu:{markers:cf(Ye),fakeFocus:we===xy.ContentFocus}}})(Yx("autocompleter-value",!0,le,X,{menuType:"normal"}),X,xy.ContentFocus,"normal"))}),S().each(ba.highlightFirst)})($,W),Kn(St(e.getBody()),"aria-owns",s),e.inline||F()):w()},F=()=>{e.dom.get(s)&&e.dom.remove(s,!1);const $=e.getDoc().documentElement,W=e.selection.getNode(),se=(le=>Vm(le,!0))(g.element);ji(se,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px",top:`${W.offsetTop}px`,left:`${W.offsetLeft}px`}),e.dom.add($,se.dom),vs(se,'[role="menu"]').each(le=>{Pr(le,"position"),Pr(le,"max-height")})};e.on("AutocompleterStart",({lookupData:$})=>{m.set(!0),l.set(!1),N($)}),e.on("AutocompleterUpdate",({lookupData:$})=>N($)),e.on("AutocompleterEnd",()=>{w(),m.set(!1),l.set(!1)}),(($,W)=>{const se=(fe,te)=>{_n(fe,fn(),{raw:te})},le=()=>$.getMenu().bind(ba.getHighlighted);W.on("keydown",fe=>{const te=fe.which;$.isActive()&&($.isMenuOpen()?te===13?(le().each(Qd),fe.preventDefault()):te===40?(le().fold(()=>{$.getMenu().each(ba.highlightFirst)},X=>{se(X,fe)}),fe.preventDefault(),fe.stopImmediatePropagation()):te!==37&&te!==38&&te!==39||le().each(X=>{se(X,fe),fe.preventDefault(),fe.stopImmediatePropagation()}):te!==13&&te!==38&&te!==40||$.cancelIfNecessary())}),W.on("NodeChange",fe=>{$.isActive()&&!$.isProcessingAction()&&c2(St(fe.element)).isNone()&&$.cancelIfNecessary()})})({cancelIfNecessary:A,isMenuOpen:h,isActive:x,isProcessingAction:l.get,getMenu:S},e)},vw=["visible","hidden","clip"],jE=e=>Ha(e).length>0&&!Rt(vw,e),VE=e=>{if(Ae(e)){const r=aa(e,"overflow-x"),s=aa(e,"overflow-y");return jE(r)||jE(s)}return!1},ff=(e,r)=>qg(e)?(s=>{const l=h1(s,VE),m=l.length===0?va(s).map(Cs).map(g=>h1(g,VE)).getOr([]):l;return at(m).map(g=>({element:g,others:m.slice(1)}))})(r):R.none(),Oh=e=>{const r=[...dt(e.others,Fa),Ua()];return((s,l)=>To(l,(m,g)=>Kc(m,g),s))(Fa(e.element),r)},Nh=(e,r,s)=>Vl(e,r,s).isSome(),hC=(e,r)=>{let s=null;return{cancel:()=>{s!==null&&(clearTimeout(s),s=null)},schedule:(...l)=>{s=setTimeout(()=>{e.apply(null,l),s=null},r)}}},bc=e=>{const r=e.raw;return r.touches===void 0||r.touches.length!==1?R.none():R.some(r.touches[0])},$E=(e,r)=>{const s={stopBackspace:!0,...r},l=(N=>{const F=ms(),$=Sn(!1),W=hC(le=>{N.triggerEvent(ys(),le),$.set(!0)},400),se=Oi([{key:Ws(),value:le=>(bc(le).each(fe=>{W.cancel();const te={x:fe.clientX,y:fe.clientY,target:le.target};W.schedule(le),$.set(!1),F.set(te)}),R.none())},{key:ed(),value:le=>(W.cancel(),bc(le).each(fe=>{F.on(te=>{((X,ue)=>{const ye=Math.abs(X.clientX-ue.x),we=Math.abs(X.clientY-ue.y);return ye>5||we>5})(fe,te)&&F.clear()})}),R.none())},{key:Hl(),value:le=>(W.cancel(),F.get().filter(fe=>Jo(fe.target,le.target)).map(fe=>$.get()?(le.prevent(),!1):N.triggerEvent(Fm(),le)))}]);return{fireIfReady:(le,fe)=>Xt(se,fe).bind(te=>te(le))}})(s),m=dt(["touchstart","touchmove","touchend","touchcancel","gesturestart","mousedown","mouseup","mouseover","mousemove","mouseout","click"].concat(["selectstart","input","contextmenu","change","transitionend","transitioncancel","drag","dragstart","dragend","dragenter","dragleave","dragover","drop","keyup"]),N=>Ul(e,N,F=>{l.fireIfReady(F,N).each($=>{$&&F.kill()}),s.triggerEvent(N,F)&&F.kill()})),g=ms(),h=Ul(e,"paste",N=>{l.fireIfReady(N,"paste").each(F=>{F&&N.kill()}),s.triggerEvent("paste",N)&&N.kill(),g.set(setTimeout(()=>{s.triggerEvent(am(),N)},0))}),x=Ul(e,"keydown",N=>{s.triggerEvent("keydown",N)?N.kill():s.stopBackspace&&(F=>F.raw.which===F3[0]&&!Rt(["input","textarea"],gr(F.target))&&!Nh(F.target,'[contenteditable="true"]'))(N)&&N.prevent()}),w=Ul(e,"focusin",N=>{s.triggerEvent("focusin",N)&&N.kill()}),S=ms(),A=Ul(e,"focusout",N=>{s.triggerEvent("focusout",N)&&N.kill(),S.set(setTimeout(()=>{s.triggerEvent(vp(),N)},0))});return{unbind:()=>{Ie(m,N=>{N.unbind()}),x.unbind(),w.unbind(),A.unbind(),h.unbind(),g.on(clearTimeout),S.on(clearTimeout)}}},UE=(e,r)=>{const s=Xt(e,"target").getOr(r);return Sn(s)},T0=Ui([{stopped:[]},{resume:["element"]},{complete:[]}]),bC=(e,r,s,l,m,g)=>{const h=e(r,l),x=((w,S)=>{const A=Sn(!1),N=Sn(!1);return{stop:()=>{A.set(!0)},cut:()=>{N.set(!0)},isStopped:A.get,isCut:N.get,event:w,setSource:S.set,getSource:S.get}})(s,m);return h.fold(()=>(g.logEventNoHandlers(r,l),T0.complete()),w=>{const S=w.descHandler;return Td(S)(x),x.isStopped()?(g.logEventStopped(r,w.element,S.purpose),T0.stopped()):x.isCut()?(g.logEventCut(r,w.element,S.purpose),T0.complete()):nn(w.element).fold(()=>(g.logNoParent(r,w.element,S.purpose),T0.complete()),A=>(g.logEventResponse(r,w.element,S.purpose),T0.resume(A)))})},ZE=(e,r,s,l,m,g)=>bC(e,r,s,l,m,g).fold(Ct,h=>ZE(e,r,s,h,m,g),Bo),qE=(e,r,s,l,m)=>{const g=UE(s,l);return ZE(e,r,s,l,g,m)},fO=()=>{const e=(()=>{const l={};return{registerId:(m,g,h)=>{$o(h,(x,w)=>{const S=l[w]!==void 0?l[w]:{};S[g]=((A,N)=>({cHandler:rt.apply(void 0,[A.handler].concat(N)),purpose:A.purpose}))(x,m),l[w]=S})},unregisterId:m=>{$o(l,(g,h)=>{Vo(g,m)&&delete g[m]})},filterByType:m=>Xt(l,m).map(g=>zt(g,(h,x)=>((w,S)=>({id:w,descHandler:S}))(x,h))).getOr([]),find:(m,g,h)=>Xt(l,g).bind(x=>qs(h,w=>((S,A)=>D(A).bind(N=>Xt(S,N)).map(N=>((F,$)=>({element:F,descHandler:$}))(A,N)))(x,w),m))}})(),r={},s=l=>{D(l.element).each(m=>{delete r[m],e.unregisterId(m)})};return{find:(l,m,g)=>e.find(l,m,g),filter:l=>e.filterByType(l),register:l=>{const m=(h=>{const x=h.element;return D(x).getOrThunk(()=>((w,S)=>{const A=un(Du+"uid-");return C(S,A),A})(0,h.element))})(l);$n(r,m)&&((h,x)=>{const w=r[x];if(w!==h)throw new Error('The tagId "'+x+'" is already used by: '+Fc(w.element)+` +Cannot use it for: `+Fc(h.element)+` +The conflicting element is`+(za(w.element)?" ":" not ")+"already in the DOM");s(h)})(l,m);const g=[l];e.registerId(g,m,l.events),r[m]=l},unregister:s,getById:l=>Xt(r,l)}},Ku=Pc({name:"Container",factory:e=>{const{attributes:r,...s}=e.dom;return{uid:e.uid,dom:{tag:"div",attributes:{role:"presentation",...r},...s},components:e.components,behaviours:Hb(e.containerBehaviours),events:e.events,domModification:e.domModification,eventOrder:e.eventOrder}},configFields:[ft("components",[]),qi("containerBehaviours",[]),ft("events",{}),ft("domModification",{}),ft("eventOrder",{})]}),Yu=e=>{const r=le=>nn(e.element).fold(Ct,fe=>Jo(le,fe)),s=fO(),l=(le,fe)=>s.find(r,le,fe),m=$E(e.element,{triggerEvent:(le,fe)=>Pu(le,fe.target,te=>((X,ue,ye,we)=>qE(X,ue,ye,ye.target,we))(l,le,fe,te))}),g={debugInfo:me("real"),triggerEvent:(le,fe,te)=>{Pu(le,fe,X=>qE(l,le,te,fe,X))},triggerFocus:(le,fe)=>{D(le).fold(()=>{sd(le)},te=>{Pu(Xd(),le,X=>(((ue,ye,we,Ye,Tt)=>{const Qt=UE(we,Ye);bC(ue,ye,we,Ye,Qt,Tt)})(l,Xd(),{originator:fe,kill:he,prevent:he,target:le},le,X),!1))})},triggerEscape:(le,fe)=>{g.triggerEvent("keydown",le.element,fe.event)},getByUid:le=>W(le),getByDom:le=>se(le),build:yl,buildOrPatch:Pf,addToGui:le=>{w(le)},removeFromGui:le=>{S(le)},addToWorld:le=>{h(le)},removeFromWorld:le=>{x(le)},broadcast:le=>{N(le)},broadcastOn:(le,fe)=>{F(le,fe)},broadcastEvent:(le,fe)=>{$(le,fe)},isConnected:Ct},h=le=>{le.connect(g),It(le.element)||(s.register(le),Ie(le.components(),h),g.triggerEvent(Lm(),le.element,{target:le.element}))},x=le=>{It(le.element)||(Ie(le.components(),x),s.unregister(le)),le.disconnect()},w=le=>{ym(e,le)},S=le=>{id(le)},A=le=>{const fe=s.filter(Cd());Ie(fe,te=>{const X=te.descHandler;Td(X)(le)})},N=le=>{A({universal:!0,data:le})},F=(le,fe)=>{A({universal:!1,channels:le,data:fe})},$=(le,fe)=>((te,X,ue)=>{const ye=(we=>{const Ye=Sn(!1);return{stop:()=>{Ye.set(!0)},cut:he,isStopped:Ye.get,isCut:Bo,event:we,setSource:$t("Cannot set source of a broadcasted event"),getSource:$t("Cannot get source of a broadcasted event")}})(X);return Ie(te,we=>{const Ye=we.descHandler;Td(Ye)(ye)}),ye.isStopped()})(s.filter(le),fe),W=le=>s.getById(le).fold(()=>Fr.error(new Error('Could not find component with uid: "'+le+'" in system.')),Fr.value),se=le=>{const fe=D(le).getOr("not found");return W(fe)};return h(e),{root:e,element:e.element,destroy:()=>{m.unbind(),ia(e.element)},add:w,remove:S,getByUid:W,getByDom:se,addToWorld:h,removeFromWorld:x,broadcast:N,broadcastOn:F,broadcastEvent:$}},yC=me([ft("prefix","form-field"),qi("fieldBehaviours",[Gr,Wo])]),WE=me([No({schema:[Yt("dom")],name:"label"}),No({factory:{sketch:e=>({uid:e.uid,dom:{tag:"span",styles:{display:"none"},attributes:{"aria-hidden":"true"},innerHtml:e.text}})},schema:[Yt("text")],name:"aria-descriptor"}),Eo({factory:{sketch:e=>{const r=((s,l)=>{const m={};return $o(s,(g,h)=>{Rt(l,h)||(m[h]=g)}),m})(e,["factory"]);return e.factory.sketch(r)}},schema:[Yt("factory")],name:"field"})]),ya=Wl({name:"FormField",configFields:yC(),partFields:WE(),factory:(e,r,s,l)=>{const m=Fi(e.fieldBehaviours,[Gr.config({find:x=>ua(x,e,"field")}),Wo.config({store:{mode:"manual",getValue:x=>Gr.getCurrent(x).bind(Wo.getValue),setValue:(x,w)=>{Gr.getCurrent(x).each(S=>{Wo.setValue(S,w)})}}})]),g=qa([La((x,w)=>{const S=Vu(x,e,["label","field","aria-descriptor"]);S.field().each(A=>{const N=un(e.prefix);S.label().each(F=>{Kn(F.element,"for",N),Kn(A.element,"id",N)}),S["aria-descriptor"]().each(F=>{const $=un(e.prefix);Kn(F.element,"id",$),Kn(A.element,"aria-describedby",$)})})})]),h={getField:x=>ua(x,e,"field"),getLabel:x=>ua(x,e,"label")};return{uid:e.uid,dom:e.dom,components:r,behaviours:m,events:g,apis:h}},apis:{getField:(e,r)=>e.getField(r),getLabel:(e,r)=>e.getLabel(r)}});var vC=Object.freeze({__proto__:null,exhibit:(e,r)=>hi({attributes:Oi([{key:r.tabAttr,value:"true"}])})}),hO=[ft("tabAttr","data-alloy-tabstop")];const Bs=Ri({fields:hO,name:"tabstopping",active:vC});var bO=tinymce.util.Tools.resolve("tinymce.html.Entities");const ky=(e,r,s,l)=>{const m=Qm(e,r,s,l);return ya.sketch(m)},Qm=(e,r,s,l)=>({dom:z0(s),components:e.toArray().concat([r]),fieldBehaviours:Oo(l)}),z0=e=>({tag:"div",classes:["tox-form__group"].concat(e)}),hf=(e,r)=>ya.parts.label({dom:{tag:"label",classes:["tox-label"]},components:[Ya(r.translate(e))]}),cd=un("form-component-change"),_y=un("form-close"),ep=un("form-cancel"),Xu=un("form-action"),bf=un("form-submit"),Mh=un("form-block"),Dh=un("form-unblock"),xC=un("form-tabchange"),wC=un("form-resize"),GE=(e,r,s)=>{const l=e.label.map(N=>hf(N,r)),m=r.icons(),g=N=>(F,$)=>{Vl($.event.target,"[data-collection-item-value]").each(W=>{N(F,$,W,Ma(W,"data-collection-item-value"))})},h=g((N,F,$,W)=>{F.stop(),r.isDisabled()||_n(N,Xu,{name:e.name,value:W})}),x=[Kt(Te(),g((N,F,$)=>{sd($)})),Kt(fa(),h),Kt(Fm(),h),Kt(He(),g((N,F,$)=>{vs(N.element,"."+ry).each(W=>{rs(W,ry)}),Jr($,ry)})),Kt(ko(),g(N=>{vs(N.element,"."+ry).each(F=>{rs(F,ry)})})),Cc(g((N,F,$,W)=>{_n(N,Xu,{name:e.name,value:W})}))],w=(N,F)=>dt(Zl(N.element,".tox-collection__item"),F),S=ya.parts.field({dom:{tag:"div",classes:["tox-collection"].concat(e.columns!==1?["tox-collection--grid"]:["tox-collection--list"])},components:[],factory:{sketch:Ze},behaviours:Oo([Qn.config({disabled:r.isDisabled,onDisabled:N=>{w(N,F=>{Jr(F,"tox-collection__item--state-disabled"),Kn(F,"aria-disabled",!0)})},onEnabled:N=>{w(N,F=>{rs(F,"tox-collection__item--state-disabled"),xa(F,"aria-disabled")})}}),Wi(),fr.config({}),Wo.config({store:{mode:"memory",initialValue:s.getOr([])},onSetValue:(N,F)=>{(($,W)=>{const se=dt(W,te=>{const X=jc.translate(te.text),ue=e.columns===1?`
    ${X}
    `:"",ye=`
    ${(Tt=>{var Qt;return(Qt=m[Tt])!==null&&Qt!==void 0?Qt:Tt})(te.icon)}
    `,we={_:" "," - ":" ","-":" "},Ye=X.replace(/\_| \- |\-/g,Tt=>we[Tt]);return`
    ${ye}${ue}
    `}),le=e.columns!=="auto"&&e.columns>1?V(se,e.columns):[se],fe=dt(le,te=>`
    ${te.join("")}
    `);Ds($.element,fe.join(""))})(N,F),e.columns==="auto"&&Qx(N,5,"tox-collection__item").each(({numRows:$,numColumns:W})=>{Dn.setGridSize(N,$,W)}),$r(N,wC)}}),Bs.config({}),Dn.config((A=e.columns,A===1?{mode:"menu",moveOnTab:!1,selector:".tox-collection__item"}:A==="auto"?{mode:"flatgrid",selector:".tox-collection__item",initSize:{numColumns:1,numRows:1}}:{mode:"matrix",selectors:{row:".tox-collection__group",cell:`.${ny}`}})),Tr("collection-events",x)]),eventOrder:{[fl()]:["disabling","alloy.base.behaviour","collection-events"]}});var A;return ky(l,S,["tox-form__group--collection"],[])},KE=["input","textarea"],YE=e=>{const r=gr(e);return Rt(KE,r)},XE=(e,r)=>{const s=r.getRoot(e).getOr(e.element);rs(s,r.invalidClass),r.notify.each(l=>{YE(e.element)&&Kn(e.element,"aria-invalid",!1),l.getContainer(e).each(m=>{Ds(m,l.validHtml)}),l.onValid(e)})},JE=(e,r,s,l)=>{const m=r.getRoot(e).getOr(e.element);Jr(m,r.invalidClass),r.notify.each(g=>{YE(e.element)&&Kn(e.element,"aria-invalid",!0),g.getContainer(e).each(h=>{Ds(h,l)}),g.onInvalid(e,l)})},kC=(e,r,s)=>r.validator.fold(()=>zm(Fr.value(!0)),l=>l.validate(e)),xw=(e,r,s)=>(r.notify.each(l=>{l.onValidate(e)}),kC(e,r).map(l=>e.getSystem().isConnected()?l.fold(m=>(JE(e,r,0,m),Fr.error(m)),m=>(XE(e,r),Fr.value(m))):Fr.error("No longer in system")));var QE=Object.freeze({__proto__:null,markValid:XE,markInvalid:JE,query:kC,run:xw,isInvalid:(e,r)=>{const s=r.getRoot(e).getOr(e.element);return Di(s,r.invalidClass)}}),yO=Object.freeze({__proto__:null,events:(e,r)=>e.validator.map(s=>qa([Kt(s.onEvent,l=>{xw(l,e).get(Ze)})].concat(s.validateOnLoad?[La(l=>{xw(l,e).get(he)})]:[]))).getOr({})}),eT=[Yt("invalidClass"),ft("getRoot",R.none),gl("notify",[ft("aria","alert"),ft("getContainer",R.none),ft("validHtml",""),Hr("onValid"),Hr("onInvalid"),Hr("onValidate")]),gl("validator",[Yt("validate"),ft("onEvent","input"),ft("validateOnLoad",!0)])];const jd=Ri({fields:eT,name:"invalidating",active:yO,apis:QE,extra:{validation:e=>r=>{const s=Wo.getValue(r);return zm(e(s))}}}),Cy=Ri({fields:[],name:"unselecting",active:Object.freeze({__proto__:null,events:()=>qa([Nu(Bf(),Ct)]),exhibit:()=>hi({styles:{"-webkit-user-select":"none","user-select":"none","-ms-user-select":"none","-moz-user-select":"-moz-none"},attributes:{unselectable:"on"}})})}),tT=un("color-input-change"),oT=un("color-swatch-change"),_C=un("color-picker-cancel"),nT=No({schema:[Yt("dom")],name:"label"}),eg=e=>No({name:e+"-edge",overrides:r=>r.model.manager.edgeActions[e].fold(()=>({}),s=>({events:qa([lm(Ws(),(l,m,g)=>s(l,g),[r]),lm(ai(),(l,m,g)=>s(l,g),[r]),lm(z(),(l,m,g)=>{g.mouseIsDown.get()&&s(l,g)},[r])])}))}),tp=eg("top-left"),CC=eg("top"),rT=eg("top-right"),aT=eg("right"),SC=eg("bottom-right"),sT=eg("bottom"),ww=eg("bottom-left"),iT=eg("left"),lT=Eo({name:"thumb",defaults:me({dom:{styles:{position:"absolute"}}}),overrides:e=>({events:qa([jm(Ws(),e,"spectrum"),jm(ed(),e,"spectrum"),jm(Hl(),e,"spectrum"),jm(ai(),e,"spectrum"),jm(z(),e,"spectrum"),jm(J(),e,"spectrum")])})}),kw=e=>Pg(e.event);var cT=[nT,iT,aT,CC,sT,tp,rT,ww,SC,lT,Eo({schema:[ao("mouseIsDown",()=>Sn(!1))],name:"spectrum",overrides:e=>{const r=e.model.manager,s=(l,m)=>r.getValueFromEvent(m).map(g=>r.setValueFrom(l,e,g));return{behaviours:Oo([Dn.config({mode:"special",onLeft:(l,m)=>r.onLeft(l,e,kw(m)),onRight:(l,m)=>r.onRight(l,e,kw(m)),onUp:(l,m)=>r.onUp(l,e,kw(m)),onDown:(l,m)=>r.onDown(l,e,kw(m))}),Bs.config({}),er.config({})]),events:qa([Kt(Ws(),s),Kt(ed(),s),Kt(ai(),s),Kt(z(),(l,m)=>{e.mouseIsDown.get()&&s(l,m)})])}}})];const Sy=me("slider.change.value"),EC=e=>{const r=e.event.raw;if((s=>s.type.indexOf("touch")!==-1)(r)){const s=r;return s.touches!==void 0&&s.touches.length===1?R.some(s.touches[0]).map(l=>kn(l.clientX,l.clientY)):R.none()}{const s=r;return s.clientX!==void 0?R.some(s).map(l=>kn(l.clientX,l.clientY)):R.none()}},Rh=e=>e.model.minX,Bh=e=>e.model.minY,Fh=e=>e.model.minX-1,A0=e=>e.model.minY-1,yf=e=>e.model.maxX,op=e=>e.model.maxY,O0=e=>e.model.maxX+1,_w=e=>e.model.maxY+1,TC=(e,r,s)=>r(e)-s(e),Cw=e=>TC(e,yf,Rh),zC=e=>TC(e,op,Bh),AC=e=>Cw(e)/2,OC=e=>zC(e)/2,Ey=(e,r)=>r?e.stepSize*e.speedMultiplier:e.stepSize,Sw=e=>e.snapToGrid,dT=e=>e.snapStart,Ty=e=>e.rounded,zy=(e,r)=>e[r+"-edge"]!==void 0,Ew=e=>zy(e,"left"),Tw=e=>zy(e,"right"),NC=e=>zy(e,"top"),MC=e=>zy(e,"bottom"),tg=e=>e.model.value.get(),np=(e,r)=>({x:e,y:r}),yu=(e,r)=>{_n(e,Sy(),{value:r})},zw=(e,r,s,l)=>es?s:e===r?r-1:Math.max(r,e-l),Aw=(e,r,s,l)=>e>s?e:eMath.max(r,Math.min(s,e)),uT=e=>{const{min:r,max:s,range:l,value:m,step:g,snap:h,snapStart:x,rounded:w,hasMinEdge:S,hasMaxEdge:A,minBound:N,maxBound:F,screenRange:$}=e,W=S?r-1:r,se=A?s+1:s;if(mF)return se;{const le=((te,X,ue)=>Math.min(ue,Math.max(te,X))-X)(m,N,F),fe=DC(le/$*l+r,W,se);return h&&fe>=r&&fe<=s?((te,X,ue,ye,we)=>we.fold(()=>{const Ye=te-X,Tt=Math.round(Ye/ye)*ye;return DC(X+Tt,X-1,ue+1)},Ye=>{const Tt=(te-Ye)%ye,Qt=Math.round(Tt/ye),ro=Math.floor((te-Ye)/ye),no=Math.floor((ue-Ye)/ye),Uo=Ye+Math.min(no,ro+Qt)*ye;return Math.max(Ye,Uo)}))(fe,r,s,g,x):w?Math.round(fe):fe}},RC=e=>{const{min:r,max:s,range:l,value:m,hasMinEdge:g,hasMaxEdge:h,maxBound:x,maxOffset:w,centerMinEdge:S,centerMaxEdge:A}=e;return ms?h?x:A:(m-r)/l*w},N0="top",mT="right",gT="bottom",Ow="left",og=e=>e.element.dom.getBoundingClientRect(),vu=(e,r)=>e[r],M0=e=>{const r=og(e);return vu(r,Ow)},pT=e=>{const r=og(e);return vu(r,mT)},D0=e=>{const r=og(e);return vu(r,N0)},fT=e=>{const r=og(e);return vu(r,gT)},BC=e=>{const r=og(e);return vu(r,"width")},FC=e=>{const r=og(e);return vu(r,"height")},LC=(e,r,s)=>(e+r)/2-s,IC=(e,r)=>{const s=og(e),l=og(r),m=vu(s,Ow),g=vu(s,mT),h=vu(l,Ow);return LC(m,g,h)},PC=(e,r)=>{const s=og(e),l=og(r),m=vu(s,N0),g=vu(s,gT),h=vu(l,N0);return LC(m,g,h)},Lh=(e,r)=>{_n(e,Sy(),{value:r})},HC=(e,r,s)=>{const l={min:Rh(r),max:yf(r),range:Cw(r),value:s,step:Ey(r),snap:Sw(r),snapStart:dT(r),rounded:Ty(r),hasMinEdge:Ew(r),hasMaxEdge:Tw(r),minBound:M0(e),maxBound:pT(e),screenRange:BC(e)};return uT(l)},jC=e=>(r,s,l)=>((m,g,h,x)=>{const w=(m>0?Aw:zw)(tg(h),Rh(h),yf(h),Ey(h,x));return Lh(g,w),R.some(w)})(e,r,s,l).map(Ct),Nw=(e,r,s,l,m,g)=>{const h=((x,w,S,A,N)=>{const F=BC(x),$=A.bind(le=>R.some(IC(le,x))).getOr(0),W=N.bind(le=>R.some(IC(le,x))).getOr(F),se={min:Rh(w),max:yf(w),range:Cw(w),value:S,hasMinEdge:Ew(w),hasMaxEdge:Tw(w),minBound:M0(x),minOffset:0,maxBound:pT(x),maxOffset:F,centerMinEdge:$,centerMaxEdge:W};return RC(se)})(r,g,s,l,m);return M0(r)-M0(e)+h},hT=jC(-1),bT=jC(1),lr=R.none,R0=R.none,yT={"top-left":R.none(),top:R.none(),"top-right":R.none(),right:R.some((e,r)=>{yu(e,O0(r))}),"bottom-right":R.none(),bottom:R.none(),"bottom-left":R.none(),left:R.some((e,r)=>{yu(e,Fh(r))})};var vT=Object.freeze({__proto__:null,setValueFrom:(e,r,s)=>{const l=HC(e,r,s);return Lh(e,l),l},setToMin:(e,r)=>{const s=Rh(r);Lh(e,s)},setToMax:(e,r)=>{const s=yf(r);Lh(e,s)},findValueOfOffset:HC,getValueFromEvent:e=>EC(e).map(r=>r.left),findPositionOfValue:Nw,setPositionFromValue:(e,r,s,l)=>{const m=tg(s),g=Nw(e,l.getSpectrum(e),m,l.getLeftEdge(e),l.getRightEdge(e),s),h=Ga(r.element)/2;Bn(r.element,"left",g-h+"px")},onLeft:hT,onRight:bT,onUp:lr,onDown:R0,edgeActions:yT});const B0=(e,r)=>{_n(e,Sy(),{value:r})},Mw=(e,r,s)=>{const l={min:Bh(r),max:op(r),range:zC(r),value:s,step:Ey(r),snap:Sw(r),snapStart:dT(r),rounded:Ty(r),hasMinEdge:NC(r),hasMaxEdge:MC(r),minBound:D0(e),maxBound:fT(e),screenRange:FC(e)};return uT(l)},VC=e=>(r,s,l)=>((m,g,h,x)=>{const w=(m>0?Aw:zw)(tg(h),Bh(h),op(h),Ey(h,x));return B0(g,w),R.some(w)})(e,r,s,l).map(Ct),Ih=(e,r,s,l,m,g)=>{const h=((x,w,S,A,N)=>{const F=FC(x),$=A.bind(le=>R.some(PC(le,x))).getOr(0),W=N.bind(le=>R.some(PC(le,x))).getOr(F),se={min:Bh(w),max:op(w),range:zC(w),value:S,hasMinEdge:NC(w),hasMaxEdge:MC(w),minBound:D0(x),minOffset:0,maxBound:fT(x),maxOffset:F,centerMinEdge:$,centerMaxEdge:W};return RC(se)})(r,g,s,l,m);return D0(r)-D0(e)+h},xT=R.none,wT=R.none,$C=VC(-1),kT=VC(1),_T={"top-left":R.none(),top:R.some((e,r)=>{yu(e,A0(r))}),"top-right":R.none(),right:R.none(),"bottom-right":R.none(),bottom:R.some((e,r)=>{yu(e,_w(r))}),"bottom-left":R.none(),left:R.none()};var vO=Object.freeze({__proto__:null,setValueFrom:(e,r,s)=>{const l=Mw(e,r,s);return B0(e,l),l},setToMin:(e,r)=>{const s=Bh(r);B0(e,s)},setToMax:(e,r)=>{const s=op(r);B0(e,s)},findValueOfOffset:Mw,getValueFromEvent:e=>EC(e).map(r=>r.top),findPositionOfValue:Ih,setPositionFromValue:(e,r,s,l)=>{const m=tg(s),g=Ih(e,l.getSpectrum(e),m,l.getTopEdge(e),l.getBottomEdge(e),s),h=Nt(r.element)/2;Bn(r.element,"top",g-h+"px")},onLeft:xT,onRight:wT,onUp:$C,onDown:kT,edgeActions:_T});const Dw=(e,r)=>{_n(e,Sy(),{value:r})},F0=(e,r)=>({x:e,y:r}),Rw=(e,r)=>(s,l,m)=>((g,h,x,w,S)=>{const A=g>0?Aw:zw,N=h?tg(w).x:A(tg(w).x,Rh(w),yf(w),Ey(w,S)),F=h?A(tg(w).y,Bh(w),op(w),Ey(w,S)):tg(w).y;return Dw(x,F0(N,F)),R.some(N)})(e,r,s,l,m).map(Ct),xO=Rw(-1,!1),wO=Rw(1,!1),CT=Rw(-1,!0),kO=Rw(1,!0),ST={"top-left":R.some((e,r)=>{yu(e,np(Fh(r),A0(r)))}),top:R.some((e,r)=>{yu(e,np(AC(r),A0(r)))}),"top-right":R.some((e,r)=>{yu(e,np(O0(r),A0(r)))}),right:R.some((e,r)=>{yu(e,np(O0(r),OC(r)))}),"bottom-right":R.some((e,r)=>{yu(e,np(O0(r),_w(r)))}),bottom:R.some((e,r)=>{yu(e,np(AC(r),_w(r)))}),"bottom-left":R.some((e,r)=>{yu(e,np(Fh(r),_w(r)))}),left:R.some((e,r)=>{yu(e,np(Fh(r),OC(r)))})};var ET=Object.freeze({__proto__:null,setValueFrom:(e,r,s)=>{const l=HC(e,r,s.left),m=Mw(e,r,s.top),g=F0(l,m);return Dw(e,g),g},setToMin:(e,r)=>{const s=Rh(r),l=Bh(r);Dw(e,F0(s,l))},setToMax:(e,r)=>{const s=yf(r),l=op(r);Dw(e,F0(s,l))},getValueFromEvent:e=>EC(e),setPositionFromValue:(e,r,s,l)=>{const m=tg(s),g=Nw(e,l.getSpectrum(e),m.x,l.getLeftEdge(e),l.getRightEdge(e),s),h=Ih(e,l.getSpectrum(e),m.y,l.getTopEdge(e),l.getBottomEdge(e),s),x=Ga(r.element)/2,w=Nt(r.element)/2;Bn(r.element,"left",g-x+"px"),Bn(r.element,"top",h-w+"px")},onLeft:xO,onRight:wO,onUp:CT,onDown:kO,edgeActions:ST});const Vd=Wl({name:"Slider",configFields:[ft("stepSize",1),ft("speedMultiplier",10),ft("onChange",he),ft("onChoose",he),ft("onInit",he),ft("onDragStart",he),ft("onDragEnd",he),ft("snapToGrid",!1),ft("rounded",!0),la("snapStart"),ni("model",Ms("mode",{x:[ft("minX",0),ft("maxX",100),ao("value",e=>Sn(e.mode.minX)),Yt("getInitialValue"),as("manager",vT)],y:[ft("minY",0),ft("maxY",100),ao("value",e=>Sn(e.mode.minY)),Yt("getInitialValue"),as("manager",vO)],xy:[ft("minX",0),ft("maxX",100),ft("minY",0),ft("maxY",100),ao("value",e=>Sn({x:e.mode.minX,y:e.mode.minY})),Yt("getInitialValue"),as("manager",ET)]})),qi("sliderBehaviours",[Dn,Wo]),ao("mouseIsDown",()=>Sn(!1))],partFields:cT,factory:(e,r,s,l)=>{const m=te=>li(te,e,"thumb"),g=te=>li(te,e,"spectrum"),h=te=>ua(te,e,"left-edge"),x=te=>ua(te,e,"right-edge"),w=te=>ua(te,e,"top-edge"),S=te=>ua(te,e,"bottom-edge"),A=e.model,N=A.manager,F=(te,X)=>{N.setPositionFromValue(te,X,e,{getLeftEdge:h,getRightEdge:x,getTopEdge:w,getBottomEdge:S,getSpectrum:g})},$=(te,X)=>{A.value.set(X);const ue=m(te);F(te,ue)},W=te=>{const X=e.mouseIsDown.get();e.mouseIsDown.set(!1),X&&ua(te,e,"thumb").each(ue=>{const ye=A.value.get();e.onChoose(te,ue,ye)})},se=(te,X)=>{X.stop(),e.mouseIsDown.set(!0),e.onDragStart(te,m(te))},le=(te,X)=>{X.stop(),e.onDragEnd(te,m(te)),W(te)},fe=te=>{ua(te,e,"spectrum").map(Dn.focusIn)};return{uid:e.uid,dom:e.dom,components:r,behaviours:Fi(e.sliderBehaviours,[Dn.config({mode:"special",focusIn:fe}),Wo.config({store:{mode:"manual",getValue:te=>A.value.get(),setValue:$}}),tc.config({channels:{[C1()]:{onReceive:W}}})]),events:qa([Kt(Sy(),(te,X)=>{((ue,ye)=>{$(ue,ye);const we=m(ue);e.onChange(ue,we,ye)})(te,X.event.value)}),La((te,X)=>{const ue=A.getInitialValue();A.value.set(ue);const ye=m(te);F(te,ye);const we=g(te);e.onInit(te,ye,we,A.value.get())}),Kt(Ws(),se),Kt(Hl(),le),Kt(ai(),(te,X)=>{fe(te),se(te,X)}),Kt(J(),le)]),apis:{resetToMin:te=>{N.setToMin(te,e)},resetToMax:te=>{N.setToMax(te,e)},setValue:$,refresh:F},domModification:{styles:{position:"relative"}}}},apis:{setValue:(e,r,s)=>{e.setValue(r,s)},resetToMin:(e,r)=>{e.resetToMin(r)},resetToMax:(e,r)=>{e.resetToMax(r)},refresh:(e,r)=>{e.refresh(r)}}}),Bw=un("rgb-hex-update"),UC=un("slider-update"),TT=un("palette-update"),ZC="form",Am=[qi("formBehaviours",[Wo])],L0=e=>"",Fw=(e,r)=>({uid:e.uid,dom:e.dom,components:r,behaviours:Fi(e.formBehaviours,[Wo.config({store:{mode:"manual",getValue:s=>{const l=Kp(s,e);return Zo(l,(m,g)=>m().bind(h=>{return x=Gr.getCurrent(h),w=new Error(`Cannot find a current component to extract the value from for form part '${g}': `+Fc(h.element)),x.fold(()=>Fr.error(w),Fr.value);var x,w}).map(Wo.getValue))},setValue:(s,l)=>{$o(l,(m,g)=>{ua(s,e,g).each(h=>{Gr.getCurrent(h).each(x=>{Wo.setValue(x,m)})})})}}})]),apis:{getField:(s,l)=>ua(s,e,l).bind(Gr.getCurrent)}}),vf={getField:Nr((e,r,s)=>e.getField(r,s)),sketch:e=>{const r=(()=>{const g=[];return{field:(h,x)=>(g.push(h),ca(ZC,L0(h),x)),record:me(g)}})(),s=e(r),l=r.record(),m=dt(l,g=>Eo({name:g,pname:L0(g)}));return Jp(ZC,Am,m,Fw,s)}},Lw=un("valid-input"),qC=un("invalid-input"),Iw=un("validating-input"),Pw="colorcustom.rgb.",zT=(e,r,s,l)=>{const m=(A,N)=>jd.config({invalidClass:r("invalid"),notify:{onValidate:F=>{_n(F,Iw,{type:A})},onValid:F=>{_n(F,Lw,{type:A,value:Wo.getValue(F)})},onInvalid:F=>{_n(F,qC,{type:A,value:Wo.getValue(F)})}},validator:{validate:F=>{const $=Wo.getValue(F),W=N($)?Fr.value(!0):Fr.error(e("aria.input.invalid"));return zm(W)},validateOnLoad:!1}}),g=(A,N,F,$,W)=>{const se=e(Pw+"range"),le=ya.parts.label({dom:{tag:"label",attributes:{"aria-label":$}},components:[Ya(F)]}),fe=ya.parts.field({data:W,factory:df,inputAttributes:{type:"text",...N==="hex"?{"aria-live":"polite"}:{}},inputClasses:[r("textfield")],inputBehaviours:Oo([m(N,A),Bs.config({})]),onSetValue:ue=>{jd.isInvalid(ue)&&jd.run(ue).get(he)}}),te=[le,fe],X=N!=="hex"?[ya.parts["aria-descriptor"]({text:se})]:[];return{dom:{tag:"div",attributes:{role:"presentation"}},components:te.concat(X)}},h=(A,N)=>{const F=N.red,$=N.green,W=N.blue;Wo.setValue(A,{red:F,green:$,blue:W})},x=Ta({dom:{tag:"div",classes:[r("rgba-preview")],styles:{"background-color":"white"},attributes:{role:"presentation"}}}),w=(A,N)=>{x.getOpt(A).each(F=>{Bn(F.element,"background-color","#"+N.value)})};return Pc({factory:()=>{const A={red:Sn(R.some(255)),green:Sn(R.some(255)),blue:Sn(R.some(255)),hex:Sn(R.some("ffffff"))},N=ye=>A[ye].get(),F=(ye,we)=>{A[ye].set(we)},$=ye=>{const we=ye.red,Ye=ye.green,Tt=ye.blue;F("red",R.some(we)),F("green",R.some(Ye)),F("blue",R.some(Tt))},W=(ye,we)=>{const Ye=we.event;Ye.type!=="hex"?F(Ye.type,R.none()):l(ye)},se=(ye,we)=>{const Ye=we.event;(Tt=>Tt.type==="hex")(Ye)?((Tt,Qt)=>{s(Tt);const ro=U2(Qt);F("hex",R.some(ro.value));const no=x0(ro);h(Tt,no),$(no),_n(Tt,Bw,{hex:ro}),w(Tt,ro)})(ye,Ye.value):((Tt,Qt,ro)=>{const no=parseInt(ro,10);F(Qt,R.some(no)),N("red").bind(Uo=>N("green").bind(pn=>N("blue").map(Mn=>Xg(Uo,pn,Mn,1)))).each(Uo=>{const pn=((Mn,ar)=>{const dr=hy(ar);return vf.getField(Mn,"hex").each(jr=>{er.isFocused(jr)||Wo.setValue(Mn,{hex:dr.value})}),dr})(Tt,Uo);_n(Tt,Bw,{hex:pn}),w(Tt,pn)})})(ye,Ye.type,Ye.value)},le=ye=>({label:e(Pw+ye+".label"),description:e(Pw+ye+".description")}),fe=le("red"),te=le("green"),X=le("blue"),ue=le("hex");return Da(vf.sketch(ye=>({dom:{tag:"form",classes:[r("rgb-form")],attributes:{"aria-label":e("aria.color.picker")}},components:[ye.field("red",ya.sketch(g(v0,"red",fe.label,fe.description,255))),ye.field("green",ya.sketch(g(v0,"green",te.label,te.description,255))),ye.field("blue",ya.sketch(g(v0,"blue",X.label,X.description,255))),ye.field("hex",ya.sketch(g(Li,"hex",ue.label,ue.description,"ffffff"))),x.asSpec()],formBehaviours:Oo([jd.config({invalidClass:r("form-invalid")}),Tr("rgb-form-events",[Kt(Lw,se),Kt(qC,W),Kt(Iw,W)])])})),{apis:{updateHex:(ye,we)=>{Wo.setValue(ye,{hex:we.value}),((Ye,Tt)=>{const Qt=x0(Tt);h(Ye,Qt),$(Qt)})(ye,we),w(ye,we)}}})},name:"RgbForm",configFields:[],apis:{updateHex:(A,N,F)=>{A.updateHex(N,F)}},extraApis:{}})},WC=(e,r)=>Pc({name:"ColourPicker",configFields:[Yt("dom"),ft("onValidHex",he),ft("onInvalidHex",he)],factory:l=>{const m=zT(e,r,l.onValidHex,l.onInvalidHex),g=((se,le)=>{const fe=Vd.parts.spectrum({dom:{tag:"canvas",attributes:{role:"presentation"},classes:[le("sv-palette-spectrum")]}}),te=Vd.parts.thumb({dom:{tag:"div",attributes:{role:"presentation"},classes:[le("sv-palette-thumb")],innerHtml:``}}),X=(ue,ye)=>{const{width:we,height:Ye}=ue,Tt=ue.getContext("2d");if(Tt===null)return;Tt.fillStyle=ye,Tt.fillRect(0,0,we,Ye);const Qt=Tt.createLinearGradient(0,0,we,0);Qt.addColorStop(0,"rgba(255,255,255,1)"),Qt.addColorStop(1,"rgba(255,255,255,0)"),Tt.fillStyle=Qt,Tt.fillRect(0,0,we,Ye);const ro=Tt.createLinearGradient(0,0,0,Ye);ro.addColorStop(0,"rgba(0,0,0,0)"),ro.addColorStop(1,"rgba(0,0,0,1)"),Tt.fillStyle=ro,Tt.fillRect(0,0,we,Ye)};return Pc({factory:ue=>{const ye=me({x:0,y:0}),we=Oo([Gr.config({find:R.some}),er.config({})]);return Vd.sketch({dom:{tag:"div",attributes:{role:"slider","aria-valuetext":se(["Saturation {0}%, Brightness {1}%",0,0])},classes:[le("sv-palette")]},model:{mode:"xy",getInitialValue:ye},rounded:!1,components:[fe,te],onChange:(Ye,Tt,Qt)=>{So(Qt)||Kn(Ye.element,"aria-valuetext",se(["Saturation {0}%, Brightness {1}%",Math.floor(Qt.x),Math.floor(100-Qt.y)])),_n(Ye,TT,{value:Qt})},onInit:(Ye,Tt,Qt,ro)=>{X(Qt.element.dom,G2(wE))},sliderBehaviours:we})},name:"SaturationBrightnessPalette",configFields:[],apis:{setHue:(ue,ye,we)=>{((Ye,Tt)=>{const Qt=Ye.components()[0].element.dom,ro=k0(Tt,100,100),no=vE(ro);X(Qt,G2(no))})(ye,we)},setThumb:(ue,ye,we)=>{((Ye,Tt)=>{const Qt=J2(x0(Tt));Vd.setValue(Ye,{x:Qt.saturation,y:100-Qt.value}),Kn(Ye.element,"aria-valuetext",se(["Saturation {0}%, Brightness {1}%",Qt.saturation,Qt.value]))})(ye,we)}},extraApis:{}})})(e,r),h={paletteRgba:Sn(wE),paletteHue:Sn(0)},x=Ta(((se,le)=>{const fe=Vd.parts.spectrum({dom:{tag:"div",classes:[le("hue-slider-spectrum")],attributes:{role:"presentation"}}}),te=Vd.parts.thumb({dom:{tag:"div",classes:[le("hue-slider-thumb")],attributes:{role:"presentation"}}});return Vd.sketch({dom:{tag:"div",classes:[le("hue-slider")],attributes:{role:"slider","aria-valuemin":0,"aria-valuemax":360,"aria-valuenow":120}},rounded:!1,model:{mode:"y",getInitialValue:me(0)},components:[fe,te],sliderBehaviours:Oo([er.config({})]),onChange:(X,ue,ye)=>{Kn(X.element,"aria-valuenow",Math.floor(360-3.6*ye)),_n(X,UC,{value:ye})}})})(0,r)),w=Ta(g.sketch({})),S=Ta(m.sketch({})),A=(se,le,fe)=>{w.getOpt(se).each(te=>{g.setHue(te,fe)})},N=(se,le)=>{S.getOpt(se).each(fe=>{m.updateHex(fe,le)})},F=(se,le,fe)=>{x.getOpt(se).each(te=>{Vd.setValue(te,(X=>100-X/360*100)(fe))})},$=(se,le)=>{w.getOpt(se).each(fe=>{g.setThumb(fe,le)})},W=(se,le,fe,te)=>{((X,ue)=>{const ye=x0(X);h.paletteRgba.set(ye),h.paletteHue.set(ue)})(le,fe),Ie(te,X=>{X(se,le,fe)})};return{uid:l.uid,dom:l.dom,components:[w.asSpec(),x.asSpec(),S.asSpec()],behaviours:Oo([Tr("colour-picker-events",[Kt(Bw,(()=>{const se=[A,F,$];return(le,fe)=>{const te=fe.event.hex,X=(ue=>J2(x0(ue)))(te);W(le,te,X.hue,se)}})()),Kt(TT,(()=>{const se=[N];return(le,fe)=>{const te=fe.event.value,X=h.paletteHue.get(),ue=k0(X,te.x,100-te.y),ye=Q2(ue);W(le,ye,X,se)}})()),Kt(UC,(()=>{const se=[A,N];return(le,fe)=>{const te=(Ye=>(100-Ye)/100*360)(fe.event.value),X=h.paletteRgba.get(),ue=J2(X),ye=k0(te,ue.saturation,ue.value),we=Q2(ye);W(le,we,te,se)}})())]),Gr.config({find:se=>S.getOpt(se)}),Dn.config({mode:"acyclic"})])}}}),rp=()=>Gr.config({find:R.some}),Hw=e=>Gr.config({find:r=>Un(r.element,e).bind(s=>r.getSystem().getByDom(s).toOptional())}),AT=Cn([ft("preprocess",Ze),ft("postprocess",Ze)]),OT=(e,r)=>{const s=fi("RepresentingConfigs.memento processors",AT,r);return Wo.config({store:{mode:"manual",getValue:l=>{const m=e.get(l),g=Wo.getValue(m);return s.postprocess(g)},setValue:(l,m)=>{const g=s.preprocess(m),h=e.get(l);Wo.setValue(h,g)}}})},Uc=(e,r,s)=>Wo.config({store:{mode:"manual",...e.map(l=>({initialValue:l})).getOr({}),getValue:r,setValue:s}}),jw=(e,r,s)=>Uc(e,l=>r(l.element),(l,m)=>s(l.element,m)),ap=e=>Wo.config({store:{mode:"memory",initialValue:e}}),I0={"colorcustom.rgb.red.label":"R","colorcustom.rgb.red.description":"Red component","colorcustom.rgb.green.label":"G","colorcustom.rgb.green.description":"Green component","colorcustom.rgb.blue.label":"B","colorcustom.rgb.blue.description":"Blue component","colorcustom.rgb.hex.label":"#","colorcustom.rgb.hex.description":"Hex color code","colorcustom.rgb.range":"Range 0 to 255","aria.color.picker":"Color Picker","aria.input.invalid":"Invalid input"};var _O=tinymce.util.Tools.resolve("tinymce.Resource"),Om=tinymce.util.Tools.resolve("tinymce.util.Tools");const Ay=(e,r)=>{let s=null;const l=()=>{Ro(s)||(clearTimeout(s),s=null)};return{cancel:l,throttle:(...m)=>{l(),s=setTimeout(()=>{s=null,e.apply(null,m)},r)}}},GC=un("alloy-fake-before-tabstop"),KC=un("alloy-fake-after-tabstop"),Vw=e=>({dom:{tag:"div",styles:{width:"1px",height:"1px",outline:"none"},attributes:{tabindex:"0"},classes:e},behaviours:Oo([er.config({ignore:!0}),Bs.config({})])}),YC=(e,r)=>({dom:{tag:"div",classes:["tox-navobj",...e.getOr([])]},components:[Vw([GC]),r,Vw([KC])],behaviours:Oo([Hw(1)])}),NT=(e,r)=>{_n(e,fn(),{raw:{which:9,shiftKey:r}})},MT=(e,r)=>{const s=r.element;Di(s,GC)?NT(e,!0):Di(s,KC)&&NT(e,!1)},Ph=e=>Nh(e,["."+GC,"."+KC].join(","),Bo),$w=un("update-dialog"),XC=un("update-title"),DT=un("update-body"),Uw=un("update-footer"),JC=un("body-send-message"),Zw=un("dialog-focus-shifted"),qw=Yl().browser,P0=qw.isSafari(),Ww=qw.isFirefox(),RT=P0||Ww,Gw=qw.isChromium(),CO=({scrollTop:e,scrollHeight:r,clientHeight:s})=>Math.ceil(e)+s>=r,Kw=(e,r)=>e.scrollTo(0,r==="bottom"?99999999:r),Oy=(e,r,s)=>{const l=e.dom;R.from(l.contentDocument).fold(s,m=>{let g=0;const h=((w,S)=>{const A=w.body;return R.from(!/^1))?A:w.documentElement)})(m,r).map(w=>(g=w.scrollTop,w)).forall(CO),x=()=>{const w=l.contentWindow;Ue(w)&&(h?Kw(w,"bottom"):!h&&RT&&g!==0&&Kw(w,g))};P0&&l.addEventListener("load",x,{once:!0}),m.open(),m.write(r),m.close(),P0||x()})},BT=ln(RT,P0?500:200).map(e=>((r,s)=>{let l=null,m=null;return{cancel:()=>{Ro(l)||(clearTimeout(l),l=null,m=null)},throttle:(...g)=>{m=g,Ro(l)&&(l=setTimeout(()=>{const h=m;l=null,m=null,r.apply(null,h)},s))}}})(Oy,e)),QC=un("toolbar.button.execute"),xf=un("common-button-display-events"),eS={[fl()]:["disabling","alloy.base.behaviour","toggling","toolbar-button-events"],[Rc()]:["toolbar-button-events",xf],[ai()]:["focusing","alloy.base.behaviour",xf]},H0=e=>Bn(e.element,"width",aa(e.element,"width")),j0=(e,r,s)=>Uu(e,{tag:"span",classes:["tox-icon","tox-tbtn__icon-wrap"],behaviours:s},r),wf=(e,r)=>j0(e,r,[]),sp=(e,r)=>j0(e,r,[fr.config({})]),tS=(e,r,s)=>({dom:{tag:"span",classes:[`${r}__select-label`]},components:[Ya(s.translate(e))],behaviours:Oo([fr.config({})])}),dd=un("update-menu-text"),ip=un("update-menu-icon"),oS=(e,r,s)=>{const l=Sn(he),m=e.text.map(F=>Ta(tS(F,r,s.providers))),g=e.icon.map(F=>Ta(sp(F,s.providers.icons))),h=(F,$)=>{const W=Wo.getValue(F);return er.focus(W),_n(W,"keydown",{raw:$.event.raw}),Hd.close(W),R.some(!0)},x=e.role.fold(()=>({}),F=>({role:F})),w=e.tooltip.fold(()=>({}),F=>{const $=s.providers.translate(F);return{title:$,"aria-label":$}}),S=Uu("chevron-down",{tag:"div",classes:[`${r}__select-chevron`]},s.providers.icons),A=un("common-button-display-events");return Ta(Hd.sketch({...e.uid?{uid:e.uid}:{},...x,dom:{tag:"button",classes:[r,`${r}--select`].concat(dt(e.classes,F=>`${r}--${F}`)),attributes:{...w}},components:Eh([g.map(F=>F.asSpec()),m.map(F=>F.asSpec()),R.some(S)]),matchWidth:!0,useMinWidth:!0,onOpen:(F,$,W)=>{e.searchable&&(se=>{_2(se).each(le=>er.focus(le))})(W)},dropdownBehaviours:Oo([...e.dropdownBehaviours,my(()=>e.disabled||s.providers.isDisabled()),Wi(),Cy.config({}),fr.config({}),Tr("dropdown-events",[Kg(e,l),Yg(e,l)]),Tr(A,[La((F,$)=>H0(F))]),Tr("menubutton-update-display-text",[Kt(dd,(F,$)=>{m.bind(W=>W.getOpt(F)).each(W=>{fr.set(W,[Ya(s.providers.translate($.event.text))])})}),Kt(ip,(F,$)=>{g.bind(W=>W.getOpt(F)).each(W=>{fr.set(W,[sp($.event.icon,s.providers.icons)])})})])]),eventOrder:Da(eS,{mousedown:["focusing","alloy.base.behaviour","item-type-events","normal-dropdown-events"],[Rc()]:["toolbar-button-events","dropdown-events",A]}),sandboxBehaviours:Oo([Dn.config({mode:"special",onLeft:h,onRight:h}),Tr("dropdown-sandbox-events",[Kt(x2,(F,$)=>{(W=>{const se=Wo.getValue(W),le=s0(W).map(Q4);Hd.refetch(se).get(()=>{const fe=js.getCoupled(se,"sandbox");le.each(te=>s0(fe).each(X=>((ue,ye)=>{Wo.setValue(ue,ye.fetchPattern),ue.element.dom.selectionStart=ye.selectionStart,ue.element.dom.selectionEnd=ye.selectionEnd})(X,te)))})})(F),$.stop()}),Kt(w2,(F,$)=>{((W,se)=>{(le=>Lr.getState(le).bind(ba.getHighlighted).bind(ba.getHighlighted))(W).each(le=>{((fe,te,X,ue)=>{const ye={...ue,target:te};fe.getSystem().triggerEvent(X,te,ye)})(W,le.element,se.event.eventType,se.event.interactionEvent)})})(F,$),$.stop()})])]),lazySink:s.getSink,toggleClass:`${r}--active`,parts:{menu:{...Ch(0,e.columns,e.presets),fakeFocus:e.searchable,onHighlightItem:gC,onCollapseMenu:(F,$,W)=>{ba.getHighlighted(W).each(se=>{gC(F,W,se)})},onDehighlightItem:pO}},getAnchorOverrides:()=>({maxHeightFunction:(F,$)=>{Ip()(F,$-10)}}),fetch:F=>Qg(rt(e.fetch,F))})).asSpec()},FT=e=>e.type==="separator",nS={type:"separator"},LT=(e,r)=>{const s=((l,m)=>{const g=To(l,(h,x)=>(w=>to(w))(x)?x===""?h:x==="|"?h.length>0&&!FT(h[h.length-1])?h.concat([nS]):h:Vo(m,x.toLowerCase())?h.concat([m[x.toLowerCase()]]):h:h.concat([x]),[]);return g.length>0&&FT(g[g.length-1])&&g.pop(),g})(to(e)?e.split(" "):e,r);return lo(s,(l,m)=>{if((g=>Vo(g,"getSubmenuItems"))(m)){const g=(x=>{const w=Xt(x,"value").getOrThunk(()=>un("generated-menu-item"));return Da({value:w},x)})(m),h=((x,w)=>{const S=x.getSubmenuItems(),A=LT(S,w);return{item:x,menus:Da(A.menus,{[x.value]:A.items}),expansions:Da(A.expansions,{[x.value]:x.value})}})(g,r);return{menus:Da(l.menus,h.menus),items:[h.item,...l.items],expansions:Da(l.expansions,h.expansions)}}return{...l,items:[m,...l.items]}},{menus:{},expansions:{},items:[]})},Ny=(e,r,s,l)=>{const m=un("primary-menu"),g=LT(e,s.shared.providers.menuItems());if(g.items.length===0)return R.none();const h=(N=>N.search.fold(()=>({searchMode:"no-search"}),F=>({searchMode:"search-with-field",placeholder:F.placeholder})))(l),x=fC(m,g.items,r,s,l.isHorizontalMenu,h),w=(N=>N.search.fold(()=>({searchMode:"no-search"}),F=>({searchMode:"search-with-results"})))(l),S=Zo(g.menus,(N,F)=>fC(F,N,r,s,!1,w)),A=Da(S,Xi(m,x));return R.from(Ug.tieredData(m,A,g.expansions))},rS=e=>!Vo(e,"items"),IT="data-value",PT=(e,r,s,l)=>dt(s,m=>rS(m)?{type:"togglemenuitem",text:m.text,value:m.value,active:m.value===l,onAction:()=>{Wo.setValue(e,m.value),_n(e,cd,{name:r}),er.focus(e)}}:{type:"nestedmenuitem",text:m.text,getSubmenuItems:()=>PT(e,r,m.items,l)}),aS=(e,r)=>Gt(e,s=>rS(s)?ln(s.value===r,s):aS(s.items,r)),SO=Pc({name:"HtmlSelect",configFields:[Yt("options"),qi("selectBehaviours",[er,Wo]),ft("selectClasses",[]),ft("selectAttributes",{}),la("data")],factory:(e,r)=>{const s=dt(e.options,m=>({dom:{tag:"option",value:m.value,innerHtml:m.text}})),l=e.data.map(m=>Xi("initialValue",m)).getOr({});return{uid:e.uid,dom:{tag:"select",classes:e.selectClasses,attributes:e.selectAttributes},components:s,behaviours:Fi(e.selectBehaviours,[er.config({}),Wo.config({store:{mode:"manual",getValue:m=>Lu(m.element),setValue:(m,g)=>{const h=at(e.options);oo(e.options,x=>x.value===g).isSome()?Ec(m.element,g):m.element.dom.selectedIndex===-1&&g===""&&h.each(x=>Ec(m.element,x.value))},...l}})])}}}),HT=me([ft("field1Name","field1"),ft("field2Name","field2"),nu("onLockedChange"),Nd(["lockClass"]),ft("locked",!1),nc("coupledFieldBehaviours",[Gr,Wo])]),My=(e,r)=>Eo({factory:ya,name:e,overrides:s=>({fieldBehaviours:Oo([Tr("coupled-input-behaviour",[Kt(Hn(),l=>{((m,g,h)=>ua(m,g,h).bind(Gr.getCurrent))(l,s,r).each(m=>{ua(l,s,"lock").each(g=>{Dr.isOn(g)&&s.onLockedChange(l,m,g)})})})])])})}),EO=me([My("field1","field2"),My("field2","field1"),Eo({factory:wl,schema:[Yt("dom")],name:"lock",overrides:e=>({buttonBehaviours:Oo([Dr.config({selected:e.locked,toggleClass:e.markers.lockClass,aria:{mode:"pressed"}})])})})]),ud=Wl({name:"FormCoupledInputs",configFields:HT(),partFields:EO(),factory:(e,r,s,l)=>({uid:e.uid,dom:e.dom,components:r,behaviours:Bg(e.coupledFieldBehaviours,[Gr.config({find:R.some}),Wo.config({store:{mode:"manual",getValue:m=>{const g=Fg(m,e,["field1","field2"]);return{[e.field1Name]:Wo.getValue(g.field1()),[e.field2Name]:Wo.getValue(g.field2())}},setValue:(m,g)=>{const h=Fg(m,e,["field1","field2"]);$n(g,e.field1Name)&&Wo.setValue(h.field1(),g[e.field1Name]),$n(g,e.field2Name)&&Wo.setValue(h.field2(),g[e.field2Name])}}})]),apis:{getField1:m=>ua(m,e,"field1"),getField2:m=>ua(m,e,"field2"),getLock:m=>ua(m,e,"lock")}}),apis:{getField1:(e,r)=>e.getField1(r),getField2:(e,r)=>e.getField2(r),getLock:(e,r)=>e.getLock(r)}}),V0=e=>{const r=/^\s*(\d+(?:\.\d+)?)\s*(|cm|mm|in|px|pt|pc|em|ex|ch|rem|vw|vh|vmin|vmax|%)\s*$/.exec(e);if(r!==null){const s=parseFloat(r[1]),l=r[2];return Fr.value({value:s,unit:l})}return Fr.error(e)},sS=(e,r)=>{const s={"":96,px:96,pt:72,cm:2.54,pc:12,mm:25.4,in:1},l=m=>Vo(s,m);return e.unit===r?R.some(e.value):l(e.unit)&&l(r)?s[e.unit]===s[r]?R.some(e.value):R.some(e.value/s[e.unit]*s[r]):R.none()},iS=e=>R.none(),jT=(e,r)=>{const s=e.label.map(A=>hf(A,r)),l=[Qn.config({disabled:()=>e.disabled||r.isDisabled()}),Wi(),Dn.config({mode:"execution",useEnter:e.multiline!==!0,useControlEnter:e.multiline===!0,execute:A=>($r(A,bf),R.some(!0))}),Tr("textfield-change",[Kt(Hn(),(A,N)=>{_n(A,cd,{name:e.name})}),Kt(am(),(A,N)=>{_n(A,cd,{name:e.name})})]),Bs.config({})],m=e.validation.map(A=>jd.config({getRoot:N=>Go(N.element),invalidClass:"tox-invalid",validator:{validate:N=>{const F=Wo.getValue(N),$=A.validator(F);return zm($===!0?Fr.value(F):Fr.error($))},validateOnLoad:A.validateOnLoad}})).toArray(),g={...e.placeholder.fold(me({}),A=>({placeholder:r.translate(A)})),...e.inputMode.fold(me({}),A=>({inputmode:A}))},h=ya.parts.field({tag:e.multiline===!0?"textarea":"input",...e.data.map(A=>({data:A})).getOr({}),inputAttributes:g,inputClasses:[e.classname],inputBehaviours:Oo($e([l,m])),selectOnFocus:!1,factory:df}),x=e.multiline?{dom:{tag:"div",classes:["tox-textarea-wrap"]},components:[h]}:h,w=(e.flex?["tox-form__group--stretched"]:[]).concat(e.maximized?["tox-form-group--maximize"]:[]),S=[Qn.config({disabled:()=>e.disabled||r.isDisabled(),onDisabled:A=>{ya.getField(A).each(Qn.disable)},onEnabled:A=>{ya.getField(A).each(Qn.enable)}}),Wi()];return ky(s,x,w,S)},$0=(e,r)=>r.getAnimationRoot.fold(()=>e.element,s=>s(e)),lp=e=>e.dimension.property,Hh=(e,r)=>e.dimension.getDimension(r),Yw=(e,r)=>{const s=$0(e,r);Zi(s,[r.shrinkingClass,r.growingClass])},lS=(e,r)=>{rs(e.element,r.openClass),Jr(e.element,r.closedClass),Bn(e.element,lp(r),"0px"),ne(e.element)},cS=(e,r)=>{rs(e.element,r.closedClass),Jr(e.element,r.openClass),Pr(e.element,lp(r))},VT=(e,r,s,l)=>{s.setCollapsed(),Bn(e.element,lp(r),Hh(r,e.element)),Yw(e,r),lS(e,r),r.onStartShrink(e),r.onShrunk(e)},$T=(e,r,s,l)=>{const m=l.getOrThunk(()=>Hh(r,e.element));s.setCollapsed(),Bn(e.element,lp(r),m),ne(e.element);const g=$0(e,r);rs(g,r.growingClass),Jr(g,r.shrinkingClass),lS(e,r),r.onStartShrink(e)},dS=(e,r,s)=>{const l=Hh(r,e.element);(l==="0px"?VT:$T)(e,r,s,R.some(l))},U0=(e,r,s)=>{const l=$0(e,r),m=Di(l,r.shrinkingClass),g=Hh(r,e.element);cS(e,r);const h=Hh(r,e.element);(m?()=>{Bn(e.element,lp(r),g),ne(e.element)}:()=>{lS(e,r)})(),rs(l,r.shrinkingClass),Jr(l,r.growingClass),cS(e,r),Bn(e.element,lp(r),h),s.setExpanded(),r.onStartGrow(e)},uS=(e,r,s)=>{const l=$0(e,r);return Di(l,r.growingClass)===!0},mS=(e,r,s)=>{const l=$0(e,r);return Di(l,r.shrinkingClass)===!0};var UT=Object.freeze({__proto__:null,refresh:(e,r,s)=>{if(s.isExpanded()){Pr(e.element,lp(r));const l=Hh(r,e.element);Bn(e.element,lp(r),l)}},grow:(e,r,s)=>{s.isExpanded()||U0(e,r,s)},shrink:(e,r,s)=>{s.isExpanded()&&dS(e,r,s)},immediateShrink:(e,r,s)=>{s.isExpanded()&&VT(e,r,s)},hasGrown:(e,r,s)=>s.isExpanded(),hasShrunk:(e,r,s)=>s.isCollapsed(),isGrowing:uS,isShrinking:mS,isTransitioning:(e,r,s)=>uS(e,r)||mS(e,r),toggleGrow:(e,r,s)=>{(s.isExpanded()?dS:U0)(e,r,s)},disableTransitions:Yw,immediateGrow:(e,r,s)=>{s.isExpanded()||(cS(e,r),Bn(e.element,lp(r),Hh(r,e.element)),Yw(e,r),s.setExpanded(),r.onStartGrow(e),r.onGrown(e))}}),ZT=Object.freeze({__proto__:null,exhibit:(e,r,s)=>{const l=r.expanded;return hi(l?{classes:[r.openClass],styles:{}}:{classes:[r.closedClass],styles:Xi(r.dimension.property,"0px")})},events:(e,r)=>qa([Mu(Ni(),(s,l)=>{l.event.raw.propertyName===e.dimension.property&&(Yw(s,e),r.isExpanded()&&Pr(s.element,e.dimension.property),(r.isExpanded()?e.onGrown:e.onShrunk)(s))})])}),TO=[Yt("closedClass"),Yt("openClass"),Yt("shrinkingClass"),Yt("growingClass"),la("getAnimationRoot"),Hr("onShrunk"),Hr("onStartShrink"),Hr("onGrown"),Hr("onStartGrow"),ft("expanded",!1),ni("dimension",Ms("property",{width:[as("property","width"),as("getDimension",e=>Ga(e)+"px")],height:[as("property","height"),as("getDimension",e=>Nt(e)+"px")]}))];const Ml=Ri({fields:TO,name:"sliding",active:ZT,apis:UT,state:Object.freeze({__proto__:null,init:e=>{const r=Sn(e.expanded);return Ia({isExpanded:()=>r.get()===!0,isCollapsed:()=>r.get()===!1,setCollapsed:rt(r.set,!1),setExpanded:rt(r.set,!0),readState:()=>"expanded: "+r.get()})}})}),gS=e=>({isEnabled:()=>!Qn.isDisabled(e),setEnabled:r=>Qn.set(e,!r),setActive:r=>{const s=e.element;r?(Jr(s,"tox-tbtn--enabled"),Kn(s,"aria-pressed",!0)):(rs(s,"tox-tbtn--enabled"),xa(s,"aria-pressed"))},isActive:()=>Di(e.element,"tox-tbtn--enabled"),setText:r=>{_n(e,dd,{text:r})},setIcon:r=>_n(e,ip,{icon:r})}),cp=(e,r,s,l,m=!0)=>oS({text:e.text,icon:e.icon,tooltip:e.tooltip,searchable:e.search.isSome(),role:l,fetch:(g,h)=>{const x={pattern:e.search.isSome()?PE(g):""};e.fetch(w=>{h(Ny(w,Oc.CLOSE_ON_EXECUTE,s,{isHorizontalMenu:!1,search:e.search}))},x,gS(g))},onSetup:e.onSetup,getApi:gS,columns:1,presets:"normal",classes:[],dropdownBehaviours:[...m?[Bs.config({})]:[]]},r,s.shared),Xw=(e,r,s)=>{const l=g=>h=>{const x=!h.isActive();h.setActive(x),g.storage.set(x),s.shared.getSink().each(w=>{r().getOpt(w).each(S=>{sd(S.element),_n(S,Xu,{name:g.name,value:g.storage.get()})})})},m=g=>h=>{h.setActive(g.storage.get())};return g=>{g(dt(e,h=>{const x=h.text.fold(()=>({}),w=>({text:w}));return{type:h.type,active:!1,...x,onAction:l(h),onSetup:m(h)}}))}},pS=e=>({dom:{tag:"span",classes:["tox-tree__label"],attributes:{title:e,"aria-label":e}},components:[Ya(e)]}),fS=un("leaf-label-event-id"),Jw=({leaf:e,onLeafAction:r,visible:s,treeId:l,selectedId:m,backstage:g})=>{const h=e.menu.map(w=>cp(w,"tox-mbtn",g,R.none(),s)),x=[pS(e.title)];return h.each(w=>x.push(w)),wl.sketch({dom:{tag:"div",classes:["tox-tree--leaf__label","tox-trbtn"].concat(s?["tox-tree--leaf__label--visible"]:[])},components:x,role:"treeitem",action:w=>{r(e.id),w.getSystem().broadcastOn([`update-active-item-${l}`],{value:e.id})},eventOrder:{[fn()]:[fS,"keying"]},buttonBehaviours:Oo([...s?[Bs.config({})]:[],Dr.config({toggleClass:"tox-trbtn--enabled",toggleOnExecute:!1,aria:{mode:"selected"}}),tc.config({channels:{[`update-active-item-${l}`]:{onReceive:(w,S)=>{(S.value===e.id?Dr.on:Dr.off)(w)}}}}),Tr(fS,[La((w,S)=>{m.each(A=>{(A===e.id?Dr.on:Dr.off)(w)})}),Kt(fn(),(w,S)=>{const A=S.event.raw.code==="ArrowLeft",N=S.event.raw.code==="ArrowRight";A?(ou(w.element,".tox-tree--directory").each(F=>{w.getSystem().getByDom(F).each($=>{um(F,".tox-tree--directory__label").each(W=>{$.getSystem().getByDom(W).each(er.focus)})})}),S.stop()):N&&S.stop()})])])})},qT=un("directory-label-event-id"),Dy=({directory:e,visible:r,noChildren:s,backstage:l})=>{const m=e.menu.map(S=>cp(S,"tox-mbtn",l,R.none())),g=[{dom:{tag:"div",classes:["tox-chevron"]},components:[(h="chevron-right",x=l.shared.providers.icons,((S,A,N)=>Uu(S,{tag:"span",classes:["tox-tree__icon-wrap","tox-icon"],behaviours:[]},A))(h,x))]},pS(e.title)];var h,x;m.each(S=>{g.push(S)});const w=S=>{ou(S.element,".tox-tree--directory").each(A=>{S.getSystem().getByDom(A).each(N=>{const F=!Dr.isOn(N);Dr.toggle(N),_n(S,"expand-tree-node",{expanded:F,node:e.id})})})};return wl.sketch({dom:{tag:"div",classes:["tox-tree--directory__label","tox-trbtn"].concat(r?["tox-tree--directory__label--visible"]:[])},components:g,action:w,eventOrder:{[fn()]:[qT,"keying"]},buttonBehaviours:Oo([...r?[Bs.config({})]:[],Tr(qT,[Kt(fn(),(S,A)=>{const N=A.event.raw.code==="ArrowRight",F=A.event.raw.code==="ArrowLeft";N&&s&&A.stop(),(N||F)&&ou(S.element,".tox-tree--directory").each($=>{S.getSystem().getByDom($).each(W=>{!Dr.isOn(W)&&N||Dr.isOn(W)&&F?(w(S),A.stop()):F&&!Dr.isOn(W)&&(ou(W.element,".tox-tree--directory").each(se=>{um(se,".tox-tree--directory__label").each(le=>{W.getSystem().getByDom(le).each(er.focus)})}),A.stop())})})})])])})},Z0=({children:e,onLeafAction:r,visible:s,treeId:l,expandedIds:m,selectedId:g,backstage:h})=>({dom:{tag:"div",classes:["tox-tree--directory__children"]},components:e.map(x=>x.type==="leaf"?Jw({leaf:x,selectedId:g,onLeafAction:r,visible:s,treeId:l,backstage:h}):q0({directory:x,expandedIds:m,selectedId:g,onLeafAction:r,labelTabstopping:s,treeId:l,backstage:h})),behaviours:Oo([Ml.config({dimension:{property:"height"},closedClass:"tox-tree--directory__children--closed",openClass:"tox-tree--directory__children--open",growingClass:"tox-tree--directory__children--growing",shrinkingClass:"tox-tree--directory__children--shrinking",expanded:s}),fr.config({})])}),hS=un("directory-event-id"),q0=({directory:e,onLeafAction:r,labelTabstopping:s,treeId:l,backstage:m,expandedIds:g,selectedId:h})=>{const{children:x}=e,w=Sn(g),S=g.includes(e.id);return{dom:{tag:"div",classes:["tox-tree--directory"],attributes:{role:"treeitem"}},components:[Dy({directory:e,visible:s,noChildren:e.children.length===0,backstage:m}),Z0({children:x,expandedIds:g,selectedId:h,onLeafAction:r,visible:S,treeId:l,backstage:m})],behaviours:Oo([Tr(hS,[La((A,N)=>{Dr.set(A,S)}),Kt("expand-tree-node",(A,N)=>{const{expanded:F,node:$}=N.event;w.set(F?[...w.get(),$]:w.get().filter(W=>W!==$))})]),Dr.config({...e.children.length>0?{aria:{mode:"expanded"}}:{},toggleClass:"tox-tree--directory--expanded",onToggled:(A,N)=>{const F=A.components()[1],$=(W=N,x.map(se=>se.type==="leaf"?Jw({leaf:se,selectedId:h,onLeafAction:r,visible:W,treeId:l,backstage:m}):q0({directory:se,expandedIds:w.get(),selectedId:h,onLeafAction:r,labelTabstopping:W,treeId:l,backstage:m})));var W;N?Ml.grow(F):Ml.shrink(F),fr.set(F,$)}})])}},W0=un("tree-event-id");var WT=Object.freeze({__proto__:null,events:(e,r)=>{const s=e.stream.streams.setup(e,r);return qa([Kt(e.event,s),od(()=>r.cancel())].concat(e.cancelEvent.map(l=>[Kt(l,()=>r.cancel())]).getOr([])))}});const bS=e=>{const r=Sn(null);return Ia({readState:()=>({timer:r.get()!==null?"set":"unset"}),setTimer:s=>{r.set(s)},cancel:()=>{const s=r.get();s!==null&&s.cancel()}})};var GT=Object.freeze({__proto__:null,throttle:bS,init:e=>e.stream.streams.state(e)}),yS=[ni("stream",Ms("mode",{throttle:[Yt("delay"),ft("stopEvent",!0),as("streams",{setup:(e,r)=>{const s=e.stream,l=Ay(e.onStream,s.delay);return r.setTimer(l),(m,g)=>{l.throttle(m,g),s.stopEvent&&g.stop()}},state:bS})]})),ft("event","input"),la("cancelEvent"),nu("onStream")];const Ry=Ri({fields:yS,name:"streaming",active:WT,state:GT}),jh=(e,r,s)=>{const l=Wo.getValue(s);Wo.setValue(r,l),KT(r)},vS=(e,r)=>{const s=e.element,l=Lu(s),m=s.dom;Ma(s,"type")!=="number"&&r(m,l)},KT=e=>{vS(e,(r,s)=>r.setSelectionRange(s.length,s.length))},G0=me("alloy.typeahead.itemexecute"),xS=me([la("lazySink"),Yt("fetch"),ft("minChars",5),ft("responseTime",1e3),Hr("onOpen"),ft("getHotspot",R.some),ft("getAnchorOverrides",me({})),ft("layouts",R.none()),ft("eventOrder",{}),Bm("model",{},[ft("getDisplayText",e=>e.meta!==void 0&&e.meta.text!==void 0?e.meta.text:e.value),ft("selectsOver",!0),ft("populateFromBrowse",!0)]),Hr("onSetValue"),Ol("onExecute"),Hr("onItemExecute"),ft("inputClasses",[]),ft("inputAttributes",{}),ft("inputStyles",{}),ft("matchWidth",!0),ft("useMinWidth",!1),ft("dismissOnBlur",!0),Nd(["openClass"]),la("initialData"),qi("typeaheadBehaviours",[er,Wo,Ry,Dn,Dr,js]),ao("lazyTypeaheadComp",()=>Sn(R.none)),ao("previewing",()=>Sn(!0))].concat(y2()).concat(E0())),wS=me([Do({schema:[jf()],name:"menu",overrides:e=>({fakeFocus:!0,onHighlightItem:(r,s,l)=>{e.previewing.get()?e.lazyTypeaheadComp.get().each(m=>{((g,h,x)=>{if(g.selectsOver){const w=Wo.getValue(h),S=g.getDisplayText(w),A=Wo.getValue(x);return g.getDisplayText(A).indexOf(S)===0?R.some(()=>{jh(0,h,x),((N,F)=>{vS(N,($,W)=>$.setSelectionRange(F,W.length))})(h,S.length)}):R.none()}return R.none()})(e.model,m,l).fold(()=>{e.model.selectsOver?(ba.dehighlight(s,l),e.previewing.set(!0)):e.previewing.set(!1)},g=>{g(),e.previewing.set(!1)})}):e.lazyTypeaheadComp.get().each(m=>{e.model.populateFromBrowse&&jh(e.model,m,l),Ca(l.element,"id").each(g=>Kn(m.element,"aria-activedescendant",g))})},onExecute:(r,s)=>e.lazyTypeaheadComp.get().map(l=>(_n(l,G0(),{item:s}),!0)),onHover:(r,s)=>{e.previewing.set(!1),e.lazyTypeaheadComp.get().each(l=>{e.model.populateFromBrowse&&jh(e.model,l,s)})}})})]),YT=Wl({name:"Typeahead",configFields:xS(),partFields:wS(),factory:(e,r,s,l)=>{const m=(N,F,$)=>{e.previewing.set(!1);const W=js.getCoupled(N,"sandbox");if(Lr.isOpen(W))Gr.getCurrent(W).each(se=>{ba.getHighlighted(se).fold(()=>{$(se)},()=>{Bc(W,se.element,"keydown",F)})});else{const se=le=>{Gr.getCurrent(le).each($)};Gu(e,h(N),N,W,l,se,Gl.HighlightMenuAndItem).get(he)}},g=X4(e),h=N=>F=>F.map($=>{const W=vo($.menus),se=ct(W,le=>Pt(le.items,fe=>fe.type==="item"));return Wo.getState(N).update(dt(se,le=>le.data)),$}),x=N=>Gr.getCurrent(N),w="typeaheadevents",S=[er.config({}),Wo.config({onSetValue:e.onSetValue,store:{mode:"dataset",getDataKey:N=>Lu(N.element),getFallbackEntry:N=>({value:N,meta:{}}),setValue:(N,F)=>{Ec(N.element,e.model.getDisplayText(F))},...e.initialData.map(N=>Xi("initialValue",N)).getOr({})}}),Ry.config({stream:{mode:"throttle",delay:e.responseTime,stopEvent:!1},onStream:(N,F)=>{const $=js.getCoupled(N,"sandbox");if(er.isFocused(N)&&Lu(N.element).length>=e.minChars){const W=x($).bind(le=>ba.getHighlighted(le).map(Wo.getValue));e.previewing.set(!0);const se=le=>{x($).each(fe=>{W.fold(()=>{e.model.selectsOver&&ba.highlightFirst(fe)},te=>{ba.highlightBy(fe,X=>Wo.getValue(X).value===te.value),ba.getHighlighted(fe).orThunk(()=>(ba.highlightFirst(fe),R.none()))})})};Gu(e,h(N),N,$,l,se,Gl.HighlightJustMenu).get(he)}},cancelEvent:ig()}),Dn.config({mode:"special",onDown:(N,F)=>(m(N,F,ba.highlightFirst),R.some(!0)),onEscape:N=>{const F=js.getCoupled(N,"sandbox");return Lr.isOpen(F)?(Lr.close(F),R.some(!0)):R.none()},onUp:(N,F)=>(m(N,F,ba.highlightLast),R.some(!0)),onEnter:N=>{const F=js.getCoupled(N,"sandbox"),$=Lr.isOpen(F);if($&&!e.previewing.get())return x(F).bind(W=>ba.getHighlighted(W)).map(W=>(_n(N,G0(),{item:W}),!0));{const W=Wo.getValue(N);return $r(N,ig()),e.onExecute(F,N,W),$&&Lr.close(F),R.some(!0)}}}),Dr.config({toggleClass:e.markers.openClass,aria:{mode:"expanded"}}),js.config({others:{sandbox:N=>hw(e,N,{onOpen:()=>Dr.on(N),onClose:()=>{e.lazyTypeaheadComp.get().each(F=>xa(F.element,"aria-activedescendant")),Dr.off(N)}})}}),Tr(w,[La(N=>{e.lazyTypeaheadComp.set(R.some(N))}),od(N=>{e.lazyTypeaheadComp.set(R.none())}),Cc(N=>{const F=he;S0(e,h(N),N,l,F,Gl.HighlightMenuAndItem).get(he)}),Kt(G0(),(N,F)=>{const $=js.getCoupled(N,"sandbox");jh(e.model,N,F.event.item),$r(N,ig()),e.onItemExecute(N,$,F.event.item,Wo.getValue(N)),Lr.close($),KT(N)})].concat(e.dismissOnBlur?[Kt(vp(),N=>{const F=js.getCoupled(N,"sandbox");gc(F.element).isNone()&&Lr.close(F)})]:[]))],A={[sm()]:[Wo.name(),Ry.name(),w],...e.eventOrder};return{uid:e.uid,dom:v2(Da(e,{inputAttributes:{role:"combobox","aria-autocomplete":"list","aria-haspopup":"true"}})),behaviours:{...g,...Fi(e.typeaheadBehaviours,S)},eventOrder:A}}}),kf=e=>({...e,toCached:()=>kf(e.toCached()),bindFuture:r=>kf(e.bind(s=>s.fold(l=>zm(Fr.error(l)),l=>r(l)))),bindResult:r=>kf(e.map(s=>s.bind(r))),mapResult:r=>kf(e.map(s=>s.map(r))),mapError:r=>kf(e.map(s=>s.mapError(r))),foldResult:(r,s)=>e.map(l=>l.fold(r,s)),withTimeout:(r,s)=>kf(Qg(l=>{let m=!1;const g=setTimeout(()=>{m=!0,l(Fr.error(s()))},r);e.get(h=>{m||(clearTimeout(g),l(h))})}))}),zO=e=>kf(Qg(e)),Qw=(e,r,s=[],l,m,g)=>{const h=r.fold(()=>({}),S=>({action:S})),x={buttonBehaviours:Oo([my(()=>!e.enabled||g.isDisabled()),Wi(),Bs.config({}),Tr("button press",[_p("click"),_p("mousedown")])].concat(s)),eventOrder:{click:["button press","alloy.base.behaviour"],mousedown:["button press","alloy.base.behaviour"]},...h},w=Da(x,{dom:l});return Da(w,{components:m})},AO=(e,r,s,l=[])=>{const m={tag:"button",classes:["tox-tbtn"],attributes:e.tooltip.map(x=>({"aria-label":s.translate(x),title:s.translate(x)})).getOr({})},g=e.icon.map(x=>wf(x,s.icons)),h=Eh([g]);return Qw(e,r,l,m,h,s)},ek=e=>{switch(e){case"primary":return["tox-button"];case"toolbar":return["tox-tbtn"];default:return["tox-button","tox-button--secondary"]}},XT=(e,r,s,l=[],m=[])=>{const g=s.translate(e.text),h=e.icon.map(A=>wf(A,s.icons)),x=[h.getOrThunk(()=>Ya(g))],w=e.buttonType.getOr(e.primary||e.borderless?"primary":"secondary"),S=[...ek(w),...h.isSome()?["tox-button--icon"]:[],...e.borderless?["tox-button--naked"]:[],...m];return Qw(e,r,l,{tag:"button",classes:S,attributes:{title:g}},x,s)},JT=(e,r,s,l=[],m=[])=>{const g=XT(e,R.some(r),s,l,m);return wl.sketch(g)},kS=(e,r)=>s=>{r==="custom"?_n(s,Xu,{name:e,value:{}}):r==="submit"?$r(s,bf):r==="cancel"?$r(s,ep):console.error("Unknown button type: ",r)},K0=(e,r,s)=>{if(((l,m)=>m==="menu")(0,r)){const l=()=>h,m=e,g={...e,type:"menubutton",search:R.none(),onSetup:x=>(x.setEnabled(e.enabled),he),fetch:Xw(m.items,l,s)},h=Ta(cp(g,"tox-tbtn",s,R.none()));return h.asSpec()}if(((l,m)=>m==="custom"||m==="cancel"||m==="submit")(0,r)){const l=kS(e.name,r),m={...e,borderless:!1};return JT(m,l,s.shared.providers,[])}if(((l,m)=>m==="togglebutton")(0,r))return((l,m)=>{var g,h;const x=l.icon.map(te=>sp(te,m.icons)).map(Ta),w=l.buttonType.getOr(l.primary?"primary":"secondary"),S={...l,name:(g=l.name)!==null&&g!==void 0?g:"",primary:w==="primary",tooltip:R.from(l.tooltip),enabled:(h=l.enabled)!==null&&h!==void 0&&h,borderless:!1},A=S.tooltip.map(te=>({"aria-label":m.translate(te),title:m.translate(te)})).getOr({}),N=ek(w??"secondary"),F=l.icon.isSome()&&l.text.isSome(),$={tag:"button",classes:[...N.concat(l.icon.isSome()?["tox-button--icon"]:[]),...l.active?["tox-button--enabled"]:[],...F?["tox-button--icon-and-text"]:[]],attributes:A},W=m.translate(l.text.getOr("")),se=Ya(W),le=[...Eh([x.map(te=>te.asSpec())]),...l.text.isSome()?[se]:[]],fe=Qw(S,R.some(te=>{_n(te,Xu,{name:l.name,value:{setIcon:X=>{x.map(ue=>ue.getOpt(te).each(ye=>{fr.set(ye,[sp(X,m.icons)])}))}}})}),[],$,le,m);return wl.sketch(fe)})(e,s.shared.providers);throw console.error("Unknown footer button type: ",r),new Error("Unknown footer button type")},$d={type:"separator"},OO=e=>({type:"menuitem",value:e.url,text:e.title,meta:{attach:e.attach},onAction:he}),tk=(e,r)=>({type:"menuitem",value:r,text:e,meta:{attach:void 0},onAction:he}),_S=(e,r)=>(s=>dt(s,OO))(((s,l)=>Pt(l,m=>m.type===s))(e,r)),NO=e=>_S("header",e.targets),Y0=e=>_S("anchor",e.targets),ok=e=>R.from(e.anchorTop).map(r=>tk("",r)).toArray(),MO=e=>R.from(e.anchorBottom).map(r=>tk("",r)).toArray(),By=(e,r)=>{const s=e.toLowerCase();return Pt(r,l=>{var m;const g=l.meta!==void 0&&l.meta.text!==void 0?l.meta.text:l.text,h=(m=l.value)!==null&&m!==void 0?m:"";return Yr(g.toLowerCase(),s)||Yr(h.toLowerCase(),s)})},QT=un("aria-invalid"),DO=(e,r)=>{e.dom.checked=r},xu=e=>e.dom.checked,vi=e=>(r,s,l,m)=>Xt(s,"name").fold(()=>e(s,m,R.none()),g=>r.field(g,e(s,m,Xt(l,g)))),ez={bar:vi((e,r)=>((s,l)=>({dom:{tag:"div",classes:["tox-bar","tox-form__controls-h-stack"]},components:dt(s.items,l.interpreter)}))(e,r.shared)),collection:vi((e,r,s)=>GE(e,r.shared.providers,s)),alertbanner:vi((e,r)=>((s,l)=>{const m=Y_(s.icon,l.icons);return Ku.sketch({dom:{tag:"div",attributes:{role:"alert"},classes:["tox-notification","tox-notification--in",`tox-notification--${s.level}`]},components:[{dom:{tag:"div",classes:["tox-notification__icon"],innerHtml:s.url?void 0:m},components:s.url?[wl.sketch({dom:{tag:"button",classes:["tox-button","tox-button--naked","tox-button--icon"],innerHtml:m,attributes:{title:l.translate(s.iconTooltip)}},action:g=>_n(g,Xu,{name:"alert-banner",value:s.url}),buttonBehaviours:Oo([X_()])})]:void 0},{dom:{tag:"div",classes:["tox-notification__body"],innerHtml:l.translate(s.text)}}]})})(e,r.shared.providers)),input:vi((e,r,s)=>((l,m,g)=>jT({name:l.name,multiline:!1,label:l.label,inputMode:l.inputMode,placeholder:l.placeholder,flex:!1,disabled:!l.enabled,classname:"tox-textfield",validation:R.none(),maximized:l.maximized,data:g},m))(e,r.shared.providers,s)),textarea:vi((e,r,s)=>((l,m,g)=>jT({name:l.name,multiline:!0,label:l.label,inputMode:R.none(),placeholder:l.placeholder,flex:!0,disabled:!l.enabled,classname:"tox-textarea",validation:R.none(),maximized:l.maximized,data:g},m))(e,r.shared.providers,s)),label:vi((e,r)=>((s,l)=>{const m="tox-label";return{dom:{tag:"div",classes:["tox-form__group"]},components:[{dom:{tag:"label",classes:[m,...s.align==="center"?[`${m}--center`]:[],...s.align==="end"?[`${m}--end`]:[]]},components:[Ya(l.providers.translate(s.label))]},...dt(s.items,l.interpreter)],behaviours:Oo([rp(),fr.config({}),(g=R.none(),jw(g,Sc,Ds)),Dn.config({mode:"acyclic"})])};var g})(e,r.shared)),iframe:(Sz=(e,r,s)=>((l,m,g)=>{const h="tox-dialog__iframe",x=l.transparent?[]:[`${h}--opaque`],w=l.border?["tox-navobj-bordered"]:[],S={...l.label.map($=>({title:$})).getOr({}),...g.map($=>({srcdoc:$})).getOr({}),...l.sandboxed?{sandbox:"allow-scripts allow-same-origin"}:{}},A=(($,W)=>{const se=Sn($.getOr(""));return{getValue:le=>se.get(),setValue:(le,fe)=>{if(se.get()!==fe){const te=le.element,X=()=>Kn(te,"srcdoc",fe);W?BT.fold(me(Oy),ue=>ue.throttle)(te,fe,X):X()}se.set(fe)}}})(g,l.streamContent),N=l.label.map($=>hf($,m)),F=ya.parts.field({factory:{sketch:$=>YC(R.from(w),{uid:$.uid,dom:{tag:"iframe",attributes:S,classes:[h,...x]},behaviours:Oo([Bs.config({}),er.config({}),Uc(g,A.getValue,A.setValue),tc.config({channels:{[Zw]:{onReceive:(W,se)=>{se.newFocus.each(le=>{Go(W.element).each(fe=>{(Jo(W.element,le)?Jr:rs)(fe,"tox-navobj-bordered-focus")})})}}}})])})}});return ky(N,F,["tox-form__group--stretched"],[])})(e,r.shared.providers,s),(e,r,s,l)=>{const m=Da(r,{source:"dynamic"});return vi(Sz)(e,m,s,l)}),button:vi((e,r)=>((s,l)=>{const m=kS(s.name,"custom");return g=R.none(),h=ya.parts.field({factory:wl,...XT(s,R.some(m),l,[ap(""),rp()])}),ky(g,h,[],[]);var g,h})(e,r.shared.providers)),checkbox:vi((e,r,s)=>((l,m,g)=>{const h=N=>(N.element.dom.click(),R.some(!0)),x=ya.parts.field({factory:{sketch:Ze},dom:{tag:"input",classes:["tox-checkbox__input"],attributes:{type:"checkbox"}},behaviours:Oo([rp(),Qn.config({disabled:()=>!l.enabled||m.isDisabled(),onDisabled:N=>{Go(N.element).each(F=>Jr(F,"tox-checkbox--disabled"))},onEnabled:N=>{Go(N.element).each(F=>rs(F,"tox-checkbox--disabled"))}}),Bs.config({}),er.config({}),jw(g,xu,DO),Dn.config({mode:"special",onEnter:h,onSpace:h,stopSpaceKeyup:!0}),Tr("checkbox-events",[Kt(Tn(),(N,F)=>{_n(N,cd,{name:l.name})})])])}),w=ya.parts.label({dom:{tag:"span",classes:["tox-checkbox__label"]},components:[Ya(m.translate(l.label))],behaviours:Oo([Cy.config({})])}),S=N=>Uu(N==="checked"?"selected":"unselected",{tag:"span",classes:["tox-icon","tox-checkbox-icon__"+N]},m.icons),A=Ta({dom:{tag:"div",classes:["tox-checkbox__icons"]},components:[S("checked"),S("unchecked")]});return ya.sketch({dom:{tag:"label",classes:["tox-checkbox"]},components:[x,A.asSpec(),w],fieldBehaviours:Oo([Qn.config({disabled:()=>!l.enabled||m.isDisabled()}),Wi()])})})(e,r.shared.providers,s)),colorinput:vi((e,r,s)=>((l,m,g,h)=>{const x=ya.parts.field({factory:df,inputClasses:["tox-textfield"],data:h,onSetValue:N=>jd.run(N).get(he),inputBehaviours:Oo([Qn.config({disabled:m.providers.isDisabled}),Wi(),Bs.config({}),jd.config({invalidClass:"tox-textbox-field-invalid",getRoot:N=>Go(N.element),notify:{onValid:N=>{const F=Wo.getValue(N);_n(N,tT,{color:F})}},validator:{validateOnLoad:!1,validate:N=>{const F=Wo.getValue(N);if(F.length===0)return zm(Fr.value(!0));{const $=_t("span");Bn($,"background-color",F);const W=Ir($,"background-color").fold(()=>Fr.error("blah"),se=>Fr.value(F));return zm(W)}}}})]),selectOnFocus:!1}),w=l.label.map(N=>hf(N,m.providers)),S=(N,F)=>{_n(N,oT,{value:F})},A=Ta(((N,F)=>Hd.sketch({dom:N.dom,components:N.components,toggleClass:"mce-active",dropdownBehaviours:Oo([my(F.providers.isDisabled),Wi(),Cy.config({}),Bs.config({})]),layouts:N.layouts,sandboxClasses:["tox-dialog__popups"],lazySink:F.getSink,fetch:$=>Qg(W=>N.fetch(W)).map(W=>R.from(yw(Da(aC(un("menu-value"),W,se=>{N.onItemAction($,se)},N.columns,N.presets,Oc.CLOSE_ON_EXECUTE,Bo,F.providers),{movement:_0(N.columns,N.presets)})))),parts:{menu:Ch(0,0,N.presets)}}))({dom:{tag:"span",attributes:{"aria-label":m.providers.translate("Color swatch")}},layouts:{onRtl:()=>[Gs,Qi,yi],onLtr:()=>[Qi,Gs,yi]},components:[],fetch:nC(g.getColors(l.storageKey),l.storageKey,g.hasCustomColors()),columns:g.getColorCols(l.storageKey),presets:"color",onItemAction:(N,F)=>{A.getOpt(N).each($=>{F==="custom"?g.colorPicker(W=>{W.fold(()=>$r($,_C),se=>{S($,se),_E(l.storageKey,se)})},"#ffffff"):S($,F==="remove"?"":F)})}},m));return ya.sketch({dom:{tag:"div",classes:["tox-form__group"]},components:w.toArray().concat([{dom:{tag:"div",classes:["tox-color-input"]},components:[x,A.asSpec()]}]),fieldBehaviours:Oo([Tr("form-field-events",[Kt(tT,(N,F)=>{A.getOpt(N).each($=>{Bn($.element,"background-color",F.event.color)}),_n(N,cd,{name:l.name})}),Kt(oT,(N,F)=>{ya.getField(N).each($=>{Wo.setValue($,F.event.value),Gr.getCurrent(N).each(er.focus)})}),Kt(_C,(N,F)=>{ya.getField(N).each($=>{Gr.getCurrent(N).each(er.focus)})})])])})})(e,r.shared,r.colorinput,s)),colorpicker:vi((e,r,s)=>((l,m,g)=>{const h=S=>"tox-"+S,x=WC((S=>A=>to(A)?S.translate(I0[A]):S.translate(A))(m),h),w=Ta(x.sketch({dom:{tag:"div",classes:[h("color-picker-container")],attributes:{role:"presentation"}},onValidHex:S=>{_n(S,Xu,{name:"hex-valid",value:!0})},onInvalidHex:S=>{_n(S,Xu,{name:"hex-valid",value:!1})}}));return{dom:{tag:"div"},components:[w.asSpec()],behaviours:Oo([Uc(g,S=>{const A=w.get(S);return Gr.getCurrent(A).bind(N=>Wo.getValue(N).hex).map(N=>"#"+Ys(N,"#")).getOr("")},(S,A)=>{const N=R.from(/^#([a-fA-F0-9]{3}(?:[a-fA-F0-9]{3})?)/.exec(A)).bind($=>Me($,1)),F=w.get(S);Gr.getCurrent(F).fold(()=>{},$=>{Wo.setValue($,{hex:N.getOr("")}),vf.getField($,"hex").each(W=>{$r(W,Hn())})})}),rp()])}})(0,r.shared.providers,s)),dropzone:vi((e,r,s)=>((l,m,g)=>{const h=(W,se)=>{se.stop()},x=W=>(se,le)=>{Ie(W,fe=>{fe(se,le)})},w=(W,se)=>{var le;if(!Qn.isDisabled(W)){const fe=se.event.raw;A(W,(le=fe.dataTransfer)===null||le===void 0?void 0:le.files)}},S=(W,se)=>{const le=se.event.raw.target;A(W,le.files)},A=(W,se)=>{se&&(Wo.setValue(W,((le,fe)=>{const te=Om.explode(fe.getOption("images_file_types"));return Pt(Ge(le),X=>uo(te,ue=>cs(X.name.toLowerCase(),`.${ue.toLowerCase()}`)))})(se,m)),_n(W,cd,{name:l.name}))},N=Ta({dom:{tag:"input",attributes:{type:"file",accept:"image/*"},styles:{display:"none"}},behaviours:Oo([Tr("input-file-events",[jl(fa()),jl(Fm())])])}),F=l.label.map(W=>hf(W,m)),$=ya.parts.field({factory:{sketch:W=>({uid:W.uid,dom:{tag:"div",classes:["tox-dropzone-container"]},behaviours:Oo([ap(g.getOr([])),rp(),Qn.config({}),Dr.config({toggleClass:"dragenter",toggleOnExecute:!1}),Tr("dropzone-events",[Kt("dragenter",x([h,Dr.toggle])),Kt("dragleave",x([h,Dr.toggle])),Kt("dragover",h),Kt("drop",x([h,w])),Kt(Tn(),S)])]),components:[{dom:{tag:"div",classes:["tox-dropzone"],styles:{}},components:[{dom:{tag:"p"},components:[Ya(m.translate("Drop an image here"))]},wl.sketch({dom:{tag:"button",styles:{position:"relative"},classes:["tox-button","tox-button--secondary"]},components:[Ya(m.translate("Browse for an image")),N.asSpec()],action:se=>{N.get(se).element.dom.click()},buttonBehaviours:Oo([Bs.config({}),my(m.isDisabled),Wi()])})]}]})}});return ky(F,$,["tox-form__group--stretched"],[])})(e,r.shared.providers,s)),grid:vi((e,r)=>((s,l)=>({dom:{tag:"div",classes:["tox-form__grid",`tox-form__grid--${s.columns}col`]},components:dt(s.items,l.interpreter)}))(e,r.shared)),listbox:vi((e,r,s)=>((l,m,g)=>{const h=m.shared.providers,x=g.bind(N=>aS(l.items,N)).orThunk(()=>at(l.items).filter(rS)),w=l.label.map(N=>hf(N,h)),S=ya.parts.field({dom:{},factory:{sketch:N=>oS({uid:N.uid,text:x.map(F=>F.text),icon:R.none(),tooltip:l.label,role:R.none(),fetch:(F,$)=>{const W=PT(F,l.name,l.items,Wo.getValue(F));$(Ny(W,Oc.CLOSE_ON_EXECUTE,m,{isHorizontalMenu:!1,search:R.none()}))},onSetup:me(he),getApi:me({}),columns:1,presets:"normal",classes:[],dropdownBehaviours:[Bs.config({}),Uc(x.map(F=>F.value),F=>Ma(F.element,IT),(F,$)=>{aS(l.items,$).each(W=>{Kn(F.element,IT,W.value),_n(F,dd,{text:W.text})})})]},"tox-listbox",m.shared)}}),A={dom:{tag:"div",classes:["tox-listboxfield"]},components:[S]};return ya.sketch({dom:{tag:"div",classes:["tox-form__group"]},components:$e([w.toArray(),[A]]),fieldBehaviours:Oo([Qn.config({disabled:me(!l.enabled),onDisabled:N=>{ya.getField(N).each(Qn.disable)},onEnabled:N=>{ya.getField(N).each(Qn.enable)}})])})})(e,r,s)),selectbox:vi((e,r,s)=>((l,m,g)=>{const h=dt(l.items,N=>({text:m.translate(N.text),value:N.value})),x=l.label.map(N=>hf(N,m)),w=ya.parts.field({dom:{},...g.map(N=>({data:N})).getOr({}),selectAttributes:{size:l.size},options:h,factory:SO,selectBehaviours:Oo([Qn.config({disabled:()=>!l.enabled||m.isDisabled()}),Bs.config({}),Tr("selectbox-change",[Kt(Tn(),(N,F)=>{_n(N,cd,{name:l.name})})])])}),S=l.size>1?R.none():R.some(Uu("chevron-down",{tag:"div",classes:["tox-selectfield__icon-js"]},m.icons)),A={dom:{tag:"div",classes:["tox-selectfield"]},components:$e([[w],S.toArray()])};return ya.sketch({dom:{tag:"div",classes:["tox-form__group"]},components:$e([x.toArray(),[A]]),fieldBehaviours:Oo([Qn.config({disabled:()=>!l.enabled||m.isDisabled(),onDisabled:N=>{ya.getField(N).each(Qn.disable)},onEnabled:N=>{ya.getField(N).each(Qn.enable)}}),Wi()])})})(e,r.shared.providers,s)),sizeinput:vi((e,r)=>((s,l)=>{let m=iS;const g=un("ratio-event"),h=$=>Uu($,{tag:"span",classes:["tox-icon","tox-lock-icon__"+$]},l.icons),x=ud.parts.lock({dom:{tag:"button",classes:["tox-lock","tox-button","tox-button--naked","tox-button--icon"],attributes:{title:l.translate(s.label.getOr("Constrain proportions"))}},components:[h("lock"),h("unlock")],buttonBehaviours:Oo([Qn.config({disabled:()=>!s.enabled||l.isDisabled()}),Wi(),Bs.config({})])}),w=$=>({dom:{tag:"div",classes:["tox-form__group"]},components:$}),S=$=>ya.parts.field({factory:df,inputClasses:["tox-textfield"],inputBehaviours:Oo([Qn.config({disabled:()=>!s.enabled||l.isDisabled()}),Wi(),Bs.config({}),Tr("size-input-events",[Kt(He(),(W,se)=>{_n(W,g,{isField1:$})}),Kt(Tn(),(W,se)=>{_n(W,cd,{name:s.name})})])]),selectOnFocus:!1}),A=$=>({dom:{tag:"label",classes:["tox-label"]},components:[Ya(l.translate($))]}),N=ud.parts.field1(w([ya.parts.label(A("Width")),S(!0)])),F=ud.parts.field2(w([ya.parts.label(A("Height")),S(!1)]));return ud.sketch({dom:{tag:"div",classes:["tox-form__group"]},components:[{dom:{tag:"div",classes:["tox-form__controls-h-stack"]},components:[N,F,w([A(" "),x])]}],field1Name:"width",field2Name:"height",locked:!0,markers:{lockClass:"tox-locked"},onLockedChange:($,W,se)=>{V0(Wo.getValue($)).each(le=>{m(le).each(fe=>{Wo.setValue(W,(te=>{const X={"":0,px:0,pt:1,mm:1,pc:2,ex:2,em:2,ch:2,rem:2,cm:3,in:4,"%":4};let ue=te.value.toFixed((ye=te.unit)in X?X[ye]:1);var ye;return ue.indexOf(".")!==-1&&(ue=ue.replace(/\.?0*$/,"")),ue+te.unit})(fe))})})},coupledFieldBehaviours:Oo([Qn.config({disabled:()=>!s.enabled||l.isDisabled(),onDisabled:$=>{ud.getField1($).bind(ya.getField).each(Qn.disable),ud.getField2($).bind(ya.getField).each(Qn.disable),ud.getLock($).each(Qn.disable)},onEnabled:$=>{ud.getField1($).bind(ya.getField).each(Qn.enable),ud.getField2($).bind(ya.getField).each(Qn.enable),ud.getLock($).each(Qn.enable)}}),Wi(),Tr("size-input-events2",[Kt(g,($,W)=>{const se=W.event.isField1,le=se?ud.getField1($):ud.getField2($),fe=se?ud.getField2($):ud.getField1($),te=le.map(Wo.getValue).getOr(""),X=fe.map(Wo.getValue).getOr("");m=((ue,ye)=>{const we=V0(ue).toOptional(),Ye=V0(ye).toOptional();return vr(we,Ye,(Tt,Qt)=>sS(Tt,Qt.unit).map(ro=>Qt.value/ro).map(ro=>{return no=ro,Uo=Qt.unit,pn=>sS(pn,Uo).map(Mn=>({value:Mn*no,unit:Uo}));var no,Uo}).getOr(iS)).getOr(iS)})(te,X)})])])})})(e,r.shared.providers)),slider:vi((e,r,s)=>((l,m,g)=>{const h=Vd.parts.label({dom:{tag:"label",classes:["tox-label"]},components:[Ya(m.translate(l.label))]}),x=Vd.parts.spectrum({dom:{tag:"div",classes:["tox-slider__rail"],attributes:{role:"presentation"}}}),w=Vd.parts.thumb({dom:{tag:"div",classes:["tox-slider__handle"],attributes:{role:"presentation"}}});return Vd.sketch({dom:{tag:"div",classes:["tox-slider"],attributes:{role:"presentation"}},model:{mode:"x",minX:l.min,maxX:l.max,getInitialValue:me(g.getOrThunk(()=>(Math.abs(l.max)-Math.abs(l.min))/2))},components:[h,x,w],sliderBehaviours:Oo([rp(),er.config({})]),onChoose:(S,A,N)=>{_n(S,cd,{name:l.name,value:N})}})})(e,r.shared.providers,s)),urlinput:vi((e,r,s)=>((l,m,g,h)=>{const x=m.shared.providers,w=te=>{const X=Wo.getValue(te);g.addToHistory(X.value,l.filetype)},S={...h.map(te=>({initialData:te})).getOr({}),dismissOnBlur:!0,inputClasses:["tox-textfield"],sandboxClasses:["tox-dialog__popups"],inputAttributes:{"aria-errormessage":QT,type:"url"},minChars:0,responseTime:0,fetch:te=>{const X=((ye,we,Ye)=>{var Tt,Qt;const ro=Wo.getValue(we),no=(Qt=(Tt=ro?.meta)===null||Tt===void 0?void 0:Tt.text)!==null&&Qt!==void 0?Qt:ro.value;return Ye.getLinkInformation().fold(()=>[],Uo=>{const pn=By(no,(ar=>dt(ar,dr=>tk(dr,dr)))(Ye.getHistory(ye)));return ye==="file"?(Mn=[pn,By(no,NO(Uo)),By(no,$e([ok(Uo),Y0(Uo),MO(Uo)]))],To(Mn,(ar,dr)=>ar.length===0||dr.length===0?ar.concat(dr):ar.concat($d,dr),[])):pn;var Mn})})(l.filetype,te,g),ue=Ny(X,Oc.BUBBLE_TO_SANDBOX,m,{isHorizontalMenu:!1,search:R.none()});return zm(ue)},getHotspot:te=>le.getOpt(te),onSetValue:(te,X)=>{te.hasConfigured(jd)&&jd.run(te).get(he)},typeaheadBehaviours:Oo([...g.getValidationHandler().map(te=>jd.config({getRoot:X=>Go(X.element),invalidClass:"tox-control-wrap--status-invalid",notify:{onInvalid:(X,ue)=>{F.getOpt(X).each(ye=>{Kn(ye.element,"title",x.translate(ue))})}},validator:{validate:X=>{const ue=Wo.getValue(X);return zO(ye=>{te({type:l.filetype,url:ue.value},we=>{if(we.status==="invalid"){const Ye=Fr.error(we.message);ye(Ye)}else{const Ye=Fr.value(we.message);ye(Ye)}})})},validateOnLoad:!1}})).toArray(),Qn.config({disabled:()=>!l.enabled||x.isDisabled()}),Bs.config({}),Tr("urlinput-events",[Kt(Hn(),te=>{const X=Lu(te.element),ue=X.trim();ue!==X&&Ec(te.element,ue),l.filetype==="file"&&_n(te,cd,{name:l.name})}),Kt(Tn(),te=>{_n(te,cd,{name:l.name}),w(te)}),Kt(am(),te=>{_n(te,cd,{name:l.name}),w(te)})])]),eventOrder:{[Hn()]:["streaming","urlinput-events","invalidating"]},model:{getDisplayText:te=>te.value,selectsOver:!1,populateFromBrowse:!1},markers:{openClass:"tox-textfield--popup-open"},lazySink:m.shared.getSink,parts:{menu:Ch(0,0,"normal")},onExecute:(te,X,ue)=>{_n(X,bf,{})},onItemExecute:(te,X,ue,ye)=>{w(te),_n(te,cd,{name:l.name})}},A=ya.parts.field({...S,factory:YT}),N=l.label.map(te=>hf(te,x)),F=Ta(((te,X,ue=te,ye=te)=>Uu(ue,{tag:"div",classes:["tox-icon","tox-control-wrap__status-icon-"+te],attributes:{title:x.translate(ye),"aria-live":"polite",...X.fold(()=>({}),we=>({id:we}))}},x.icons))("invalid",R.some(QT),"warning")),$=Ta({dom:{tag:"div",classes:["tox-control-wrap__status-icon-wrap"]},components:[F.asSpec()]}),W=g.getUrlPicker(l.filetype),se=un("browser.url.event"),le=Ta({dom:{tag:"div",classes:["tox-control-wrap"]},components:[A,$.asSpec()],behaviours:Oo([Qn.config({disabled:()=>!l.enabled||x.isDisabled()})])}),fe=Ta(JT({name:l.name,icon:R.some("browse"),text:l.picker_text.or(l.label).getOr(""),enabled:l.enabled,primary:!1,buttonType:R.none(),borderless:!0},te=>$r(te,se),x,[],["tox-browse-url"]));return ya.sketch({dom:z0([]),components:N.toArray().concat([{dom:{tag:"div",classes:["tox-form__controls-h-stack"]},components:$e([[le.asSpec()],W.map(()=>fe.asSpec()).toArray()])}]),fieldBehaviours:Oo([Qn.config({disabled:()=>!l.enabled||x.isDisabled(),onDisabled:te=>{ya.getField(te).each(Qn.disable),fe.getOpt(te).each(Qn.disable)},onEnabled:te=>{ya.getField(te).each(Qn.enable),fe.getOpt(te).each(Qn.enable)}}),Wi(),Tr("url-input-events",[Kt(se,te=>{Gr.getCurrent(te).each(X=>{const ue=Wo.getValue(X),ye={fieldname:l.name,...ue};W.each(we=>{we(ye).get(Ye=>{Wo.setValue(X,Ye),_n(te,cd,{name:l.name})})})})})])])})})(e,r,r.urlinput,s)),customeditor:vi(e=>{const r=ms(),s=Ta({dom:{tag:e.tag}}),l=ms();return{dom:{tag:"div",classes:["tox-custom-editor"]},behaviours:Oo([Tr("custom-editor-events",[La(m=>{s.getOpt(m).each(g=>{((h=>Vo(h,"init"))(e)?e.init(g.element.dom):_O.load(e.scriptId,e.scriptUrl).then(h=>h(g.element.dom,e.settings))).then(h=>{l.on(x=>{h.setValue(x)}),l.clear(),r.set(h)})})})]),Uc(R.none(),()=>r.get().fold(()=>l.get().getOr(""),m=>m.getValue()),(m,g)=>{r.get().fold(()=>l.set(g),h=>h.setValue(g))}),rp()]),components:[s.asSpec()]}}),htmlpanel:vi(e=>e.presets==="presentation"?Ku.sketch({dom:{tag:"div",classes:["tox-form__group"],innerHtml:e.html}}):Ku.sketch({dom:{tag:"div",classes:["tox-form__group"],innerHtml:e.html,attributes:{role:"document"}},containerBehaviours:Oo([Bs.config({}),er.config({})])})),imagepreview:vi((e,r,s)=>((l,m)=>{const g=Sn(m.getOr({url:""})),h=Ta({dom:{tag:"img",classes:["tox-imagepreview__image"],attributes:m.map(A=>({src:A.url})).getOr({})}}),x=Ta({dom:{tag:"div",classes:["tox-imagepreview__container"],attributes:{role:"presentation"}},components:[h.asSpec()]}),w={};l.height.each(A=>w.height=A);const S=m.map(A=>({url:A.url,zoom:R.from(A.zoom),cachedWidth:R.from(A.cachedWidth),cachedHeight:R.from(A.cachedHeight)}));return{dom:{tag:"div",classes:["tox-imagepreview"],styles:w,attributes:{role:"presentation"}},components:[x.asSpec()],behaviours:Oo([rp(),Uc(S,()=>g.get(),(A,N)=>{const F={url:N.url};N.zoom.each(W=>F.zoom=W),N.cachedWidth.each(W=>F.cachedWidth=W),N.cachedHeight.each(W=>F.cachedHeight=W),g.set(F);const $=()=>{const{cachedWidth:W,cachedHeight:se,zoom:le}=F;if(!an(W)&&!an(se)){if(an(le)){const te=((X,ue,ye)=>{const we=Ga(X),Ye=Nt(X);return Math.min(we/ue,Ye/ye,1)})(A.element,W,se);F.zoom=te}const fe=((te,X,ue,ye,we)=>{const Ye=ue*we,Tt=ye*we,Qt=Math.max(0,te/2-Ye/2),ro=Math.max(0,X/2-Tt/2);return{left:Qt.toString()+"px",top:ro.toString()+"px",width:Ye.toString()+"px",height:Tt.toString()+"px"}})(Ga(A.element),Nt(A.element),W,se,F.zoom);x.getOpt(A).each(te=>{ji(te.element,fe)})}};h.getOpt(A).each(W=>{const se=W.element;var le;N.url!==Ma(se,"src")&&(Kn(se,"src",N.url),rs(A.element,"tox-imagepreview__loaded")),$(),(le=se,new Promise((fe,te)=>{const X=()=>{ye(),fe(le)},ue=[Ul(le,"load",X),Ul(le,"error",()=>{ye(),te("Unable to load data from image: "+le.dom.src)})],ye=()=>Ie(ue,we=>we.unbind());le.dom.complete&&X()})).then(fe=>{A.getSystem().isConnected()&&(Jr(A.element,"tox-imagepreview__loaded"),F.cachedWidth=fe.dom.naturalWidth,F.cachedHeight=fe.dom.naturalHeight,$())})})})])}})(e,s)),table:vi((e,r)=>((s,l)=>{const m=x=>({dom:{tag:"td",innerHtml:l.translate(x)}});return{dom:{tag:"table",classes:["tox-dialog__table"]},components:[(h=s.header,{dom:{tag:"thead"},components:[{dom:{tag:"tr"},components:dt(h,x=>({dom:{tag:"th",innerHtml:l.translate(x)}}))}]}),(g=s.cells,{dom:{tag:"tbody"},components:dt(g,x=>({dom:{tag:"tr"},components:dt(x,m)}))})],behaviours:Oo([Bs.config({}),er.config({})])};var g,h})(e,r.shared.providers)),tree:vi((e,r)=>((s,l)=>{const m=s.onLeafAction.getOr(he),g=s.onToggleExpand.getOr(he),h=s.defaultExpandedIds,x=Sn(h),w=Sn(s.defaultSelectedId),S=un("tree-id"),A=(N,F)=>s.items.map($=>$.type==="leaf"?Jw({leaf:$,selectedId:N,onLeafAction:m,visible:!0,treeId:S,backstage:l}):q0({directory:$,selectedId:N,onLeafAction:m,expandedIds:F,labelTabstopping:!0,treeId:S,backstage:l}));return{dom:{tag:"div",classes:["tox-tree"],attributes:{role:"tree"}},components:A(w.get(),x.get()),behaviours:Oo([Dn.config({mode:"flow",selector:".tox-tree--leaf__label--visible, .tox-tree--directory__label--visible",cycles:!1}),Tr(W0,[Kt("expand-tree-node",(N,F)=>{const{expanded:$,node:W}=F.event;x.set($?[...x.get(),W]:x.get().filter(se=>se!==W)),g(x.get(),{expanded:$,node:W})})]),tc.config({channels:{[`update-active-item-${S}`]:{onReceive:(N,F)=>{w.set(R.some(F.value)),fr.set(N,A(R.some(F.value),x.get()))}}}}),fr.config({})])}})(e,r)),panel:vi((e,r)=>((s,l)=>({dom:{tag:"div",classes:s.classes},components:dt(s.items,l.shared.interpreter)}))(e,r))},tz={field:(e,r)=>r,record:me([])},oz=(e,r,s,l)=>{const m=Da(l,{shared:{interpreter:g=>nk(e,g,s,m)}});return nk(e,r,s,m)},nk=(e,r,s,l)=>Xt(ez,r.type).fold(()=>(console.error(`Unknown factory type "${r.type}", defaulting to container: `,r),r),m=>m(e,r,s,l)),nz=(e,r,s)=>nk(tz,e,r,s),dp="layout-inset",rk=e=>e.x,CS=(e,r)=>e.x+e.width/2-r.width/2,ak=(e,r)=>e.x+e.width-r.width,sk=e=>e.y,ik=(e,r)=>e.y+e.height-r.height,SS=(e,r)=>e.y+e.height/2-r.height/2,lk=(e,r,s)=>Ji(ak(e,r),ik(e,r),s.insetSouthwest(),Rp(),"southwest",sl(e,{right:0,bottom:3}),dp),ck=(e,r,s)=>Ji(rk(e),ik(e,r),s.insetSoutheast(),Ht(),"southeast",sl(e,{left:1,bottom:3}),dp),X0=(e,r,s)=>Ji(ak(e,r),sk(e),s.insetNorthwest(),gm(),"northwest",sl(e,{right:0,top:2}),dp),J0=(e,r,s)=>Ji(rk(e),sk(e),s.insetNortheast(),ru(),"northeast",sl(e,{left:1,top:2}),dp),Ju=(e,r,s)=>Ji(CS(e,r),sk(e),s.insetNorth(),ub(),"north",sl(e,{top:2}),dp),Fy=(e,r,s)=>Ji(CS(e,r),ik(e,r),s.insetSouth(),Md(),"south",sl(e,{bottom:3}),dp),dk=(e,r,s)=>Ji(ak(e,r),SS(e,r),s.insetEast(),n1(),"east",sl(e,{right:0}),dp),Q0=(e,r,s)=>Ji(rk(e),SS(e,r),s.insetWest(),o1(),"west",sl(e,{left:1}),dp),rz=e=>{switch(e){case"north":return Ju;case"northeast":return J0;case"northwest":return X0;case"south":return Fy;case"southeast":return ck;case"southwest":return lk;case"east":return dk;case"west":return Q0}},az=(e,r,s,l,m)=>Sv(l).map(rz).getOr(Ju)(e,r,s,l,m),RO=e=>{switch(e){case"north":return Fy;case"northeast":return ck;case"northwest":return lk;case"south":return Ju;case"southeast":return J0;case"southwest":return X0;case"east":return Q0;case"west":return dk}},BO=(e,r,s,l,m)=>Sv(l).map(RO).getOr(Ju)(e,r,s,l,m),Vh={valignCentre:[],alignCentre:[],alignLeft:[],alignRight:[],right:[],left:[],bottom:[],top:[]},uk=(e,r,s)=>{const l={maxHeightFunction:wg()};return()=>s()?{type:"node",root:Sr(rr(e())),node:R.from(e()),bubble:au(12,12,Vh),layouts:{onRtl:()=>[J0],onLtr:()=>[X0]},overrides:l}:{type:"hotspot",hotspot:r(),bubble:au(-12,12,Vh),layouts:{onRtl:()=>[Qi,Gs,yi],onLtr:()=>[Gs,Qi,yi]},overrides:l}},sz=(e,r,s,l)=>{const m={maxHeightFunction:wg()};return()=>l()?{type:"node",root:Sr(rr(r())),node:R.from(r()),bubble:au(12,12,Vh),layouts:{onRtl:()=>[Ju],onLtr:()=>[Ju]},overrides:m}:e?{type:"node",root:Sr(rr(r())),node:R.from(r()),bubble:au(0,-ho(r()),Vh),layouts:{onRtl:()=>[Nl],onLtr:()=>[Nl]},overrides:m}:{type:"hotspot",hotspot:s(),bubble:au(0,0,Vh),layouts:{onRtl:()=>[Nl],onLtr:()=>[Nl]},overrides:m}},iz=(e,r,s)=>()=>s()?{type:"node",root:Sr(rr(e())),node:R.from(e()),layouts:{onRtl:()=>[Ju],onLtr:()=>[Ju]}}:{type:"hotspot",hotspot:r(),layouts:{onRtl:()=>[yi],onLtr:()=>[yi]}},ES=(e,r)=>()=>({type:"selection",root:r(),getSelection:()=>{const s=e.selection.getRng(),l=e.model.table.getSelectedCells();if(l.length>1){const m=l[0],g=l[l.length-1],h={firstCell:St(m),lastCell:St(g)};return R.some(h)}return R.some(Hp.range(St(s.startContainer),s.startOffset,St(s.endContainer),s.endOffset))}}),FO=e=>r=>({type:"node",root:e(),node:r}),lz=(e,r,s,l)=>{const m=kh(e),g=()=>St(e.getBody()),h=()=>St(e.getContentAreaContainer()),x=()=>m||!l();return{inlineDialog:uk(h,r,x),inlineBottomDialog:sz(e.inline,h,s,x),banner:iz(h,r,x),cursor:ES(e,g),node:FO(g)}},Ly=e=>(r,s)=>{rC(e)(r,s)},cz=e=>()=>SE(e),LO=e=>r=>gf(e,r),IO=e=>r=>eC(e,r),TS=e=>()=>o2(e),zS=e=>$n(e,"items"),AS=e=>$n(e,"format"),ev=[{title:"Headings",items:[{title:"Heading 1",format:"h1"},{title:"Heading 2",format:"h2"},{title:"Heading 3",format:"h3"},{title:"Heading 4",format:"h4"},{title:"Heading 5",format:"h5"},{title:"Heading 6",format:"h6"}]},{title:"Inline",items:[{title:"Bold",format:"bold"},{title:"Italic",format:"italic"},{title:"Underline",format:"underline"},{title:"Strikethrough",format:"strikethrough"},{title:"Superscript",format:"superscript"},{title:"Subscript",format:"subscript"},{title:"Code",format:"code"}]},{title:"Blocks",items:[{title:"Paragraph",format:"p"},{title:"Blockquote",format:"blockquote"},{title:"Div",format:"div"},{title:"Pre",format:"pre"}]},{title:"Align",items:[{title:"Left",format:"alignleft"},{title:"Center",format:"aligncenter"},{title:"Right",format:"alignright"},{title:"Justify",format:"alignjustify"}]}],mk=e=>To(e,(r,s)=>{if(Vo(s,"items")){const l=mk(s.items);return{customFormats:r.customFormats.concat(l.customFormats),formats:r.formats.concat([{title:s.title,items:l.formats}])}}if(Vo(s,"inline")||(l=>Vo(l,"block"))(s)||(l=>Vo(l,"selector"))(s)){const l=`custom-${to(s.name)?s.name:s.title.toLowerCase()}`;return{customFormats:r.customFormats.concat([{name:l,format:s}]),formats:r.formats.concat([{title:s.title,format:l,icon:s.icon}])}}return{...r,formats:r.formats.concat(s)}},{customFormats:[],formats:[]}),dz=e=>V4(e).map(r=>{const s=((l,m)=>{const g=mk(m),h=x=>{Ie(x,w=>{l.formatter.has(w.name)||l.formatter.register(w.name,w.format)})};return l.formatter?h(g.customFormats):l.on("init",()=>{h(g.customFormats)}),g.formats})(e,r);return Ox(e)?ev.concat(s):s}).getOr(ev),OS=(e,r,s)=>({...e,type:"formatter",isSelected:r(e.format),getStylePreview:s(e.format)}),NS=(e,r,s,l)=>{const m=g=>dt(g,h=>zS(h)?(x=>{const w=m(x.items);return{...x,type:"submenu",getStyleItems:me(w)}})(h):AS(h)?(x=>OS(x,s,l))(h):(x=>{const w=Vt(x);return w.length===1&&Rt(w,"title")})(h)?{...h,type:"separator"}:(x=>{const w=to(x.name)?x.name:un(x.title),S=`custom-${w}`,A={...x,type:"formatter",format:S,isSelected:s(S),getStylePreview:l(S)};return e.formatter.register(w,A),A})(h));return m(r)},MS=Om.trim,uz=e=>r=>!!((s=>Ue(s)&&s.nodeType===1)(r)&&(r.contentEditable===e||r.getAttribute("data-mce-contenteditable")===e)),mz=uz("true"),gz=uz("false"),DS=(e,r,s,l,m)=>({type:e,title:r,url:s,level:l,attach:m}),RS=e=>e.innerText||e.textContent,BS=e=>(r=>r&&r.nodeName==="A"&&(r.id||r.name)!==void 0)(e)&&pz(e),gk=e=>e&&/^(H[1-6])$/.test(e.nodeName),pz=e=>(r=>{let s=r;for(;s=s.parentNode;){const l=s.contentEditable;if(l&&l!=="inherit")return mz(s)}return!1})(e)&&!gz(e),PO=e=>gk(e)&&pz(e),HO=e=>{var r;const s=(l=>l.id?l.id:un("h"))(e);return DS("header",(r=RS(e))!==null&&r!==void 0?r:"","#"+s,(l=>gk(l)?parseInt(l.nodeName.substr(1),10):0)(e),()=>{e.id=s})},jO=e=>{const r=e.id||e.name,s=RS(e);return DS("anchor",s||"#"+r,"#"+r,0,he)},fz=e=>MS(e.title).length>0,pk=e=>{const r=(s=>dt(Zl(St(s),"h1,h2,h3,h4,h5,h6,a:not([href])"),m=>m.dom))(e);return Pt((s=>dt(Pt(s,PO),HO))(r).concat((s=>dt(Pt(s,BS),jO))(r)),fz)},Iy="tinymce-url-history",FS=e=>to(e)&&/^https?/.test(e),up=e=>Lo(e)&&Ft(e,r=>{return!(Co(s=r)&&s.length<=5&>(s,FS));var s}).isNone(),LS=()=>{const e=mf.getItem(Iy);if(e===null)return{};let r;try{r=JSON.parse(e)}catch(s){if(s instanceof SyntaxError)return""+Iy,{};throw s}return up(r)?r:(""+Iy,{})},hz=e=>{const r=LS();return Xt(r,e).getOr([])},IS=(e,r)=>{if(!FS(e))return;const s=LS(),l=Xt(s,r).getOr([]),m=Pt(l,g=>g!==e);s[r]=[e].concat(m).slice(0,5),(g=>{if(!up(g))throw new Error(`Bad format for history: +`+JSON.stringify(g));mf.setItem(Iy,JSON.stringify(g))})(s)},bz=e=>!!e,yz=e=>Zo(Om.makeMap(e,/[, ]/),bz),fk=e=>R.from(Bx(e)),PS=e=>R.from(e).filter(to).getOrUndefined(),vz=e=>({getHistory:hz,addToHistory:IS,getLinkInformation:()=>(r=>t2(r)?R.some({targets:pk(r.getBody()),anchorTop:PS(Ix(r)),anchorBottom:PS(X1(r))}):R.none())(e),getValidationHandler:()=>(r=>R.from(e2(r)))(e),getUrlPicker:r=>((s,l)=>((m,g)=>{const h=(x=>{const w=R.from(Lx(x)).filter(bz).map(yz);return fk(x).fold(Bo,S=>w.fold(Ct,A=>Vt(A).length>0&&A))})(m);return jo(h)?h?fk(m):R.none():h[g]?fk(m):R.none()})(s,l).map(m=>g=>Qg(h=>{const x={filetype:l,fieldname:g.fieldname,...R.from(g.meta).getOr({})};m.call(s,(w,S)=>{if(!to(w))throw new Error("Expected value to be string");if(S!==void 0&&!Lo(S))throw new Error("Expected meta to be a object");h({value:w,meta:S})},g.value,x)})))(e,r)}),tl=A3,Nm=Qr,VO=me([ft("shell",!1),Yt("makeItem"),ft("setupItem",he),nc("listBehaviours",[fr])]),xz=No({name:"items",overrides:()=>({behaviours:Oo([fr.config({})])})}),$O=me([xz]),wz=Wl({name:me("CustomList")(),configFields:VO(),partFields:$O(),factory:(e,r,s,l)=>{const m=e.shell?{behaviours:[fr.config({})],components:[]}:{behaviours:[],components:r};return{uid:e.uid,dom:e.dom,components:m.components,behaviours:Fi(e.listBehaviours,m.behaviours),apis:{setItems:(g,h)=>{var x;(x=g,e.shell?R.some(x):ua(x,e,"items")).fold(()=>{throw console.error("Custom List was defined to not be a shell, but no item container was specified in components"),new Error("Custom List was defined to not be a shell, but no item container was specified in components")},w=>{const S=fr.contents(w),A=h.length,N=A-S.length,F=N>0?Bt(N,()=>e.makeItem()):[],$=S.slice(A);Ie($,se=>fr.remove(w,se)),Ie(F,se=>fr.append(w,se));const W=fr.contents(w);Ie(W,(se,le)=>{e.setupItem(g,se,h[le],le)})})}}}},apis:{setItems:(e,r,s)=>{e.setItems(r,s)}}}),Py=me([Yt("dom"),ft("shell",!0),qi("toolbarBehaviours",[fr])]),kz=me([No({name:"groups",overrides:()=>({behaviours:Oo([fr.config({})])})})]),Mm=Wl({name:"Toolbar",configFields:Py(),partFields:kz(),factory:(e,r,s,l)=>{const m=e.shell?{behaviours:[fr.config({})],components:[]}:{behaviours:[],components:r};return{uid:e.uid,dom:e.dom,components:m.components,behaviours:Fi(e.toolbarBehaviours,m.behaviours),apis:{setGroups:(g,h)=>{var x;(x=g,e.shell?R.some(x):ua(x,e,"groups")).fold(()=>{throw console.error("Toolbar was defined to not be a shell, but no groups container was specified in components"),new Error("Toolbar was defined to not be a shell, but no groups container was specified in components")},w=>{fr.set(w,h)})},refresh:he},domModification:{attributes:{role:"group"}}}},apis:{setGroups:(e,r,s)=>{e.setGroups(r,s)}}}),_z=he,Cz=Bo,HS=me([]);var Sz,Hy=Object.freeze({__proto__:null,setup:_z,isDocked:Cz,getBehaviours:HS});const jS=e=>(Rr(Ir(e,"position"),"fixed")?R.none():hn(e)).orThunk(()=>{const r=_t("span");return nn(e).bind(s=>{ur(s,r);const l=hn(r);return ia(r),l})}),Ez=e=>jS(e).map(Or).getOrThunk(()=>kn(0,0)),UO=(e,r)=>{const s=e.element;Jr(s,r.transitionClass),rs(s,r.fadeOutClass),Jr(s,r.fadeInClass),r.onShow(e)},ZO=(e,r)=>{const s=e.element;Jr(s,r.transitionClass),rs(s,r.fadeInClass),Jr(s,r.fadeOutClass),r.onHide(e)},hk=(e,r)=>e.y>=r.y,VS=(e,r)=>e.bottom<=r.bottom,bk=(e,r,s)=>({location:"top",leftX:r,topY:s.bounds.y-e.y}),yk=(e,r,s)=>({location:"bottom",leftX:r,bottomY:e.bottom-s.bounds.bottom}),$S=e=>e.box.x-e.win.x,vk=(e,r,s)=>s.getInitialPos().map(l=>{const m=((g,h)=>{const x=h.optScrollEnv.fold(me(g.bounds.y),w=>w.scrollElmTop+(g.bounds.y-w.currentScrollTop));return kn(g.bounds.x,x)})(l,r);return{box:Ba(m.left,m.top,Ga(e),Nt(e)),location:l.location}}),Tz=(e,r,s,l,m)=>{const g=((x,w)=>{const S=w.optScrollEnv.fold(me(x.y),A=>x.y+A.currentScrollTop-A.scrollElmTop);return kn(x.x,S)})(r,s),h=Ba(g.left,g.top,r.width,r.height);l.setInitialPos({style:gi(e),position:aa(e,"position")||"static",bounds:h,location:m.location})},zz=(e,r,s)=>s.getInitialPos().bind(l=>{var m;switch(s.clearInitialPos(),l.position){case"static":return R.some({morph:"static"});case"absolute":const g=jS(e).getOr(ws()),h=Fa(g),x=(m=g.dom.scrollTop)!==null&&m!==void 0?m:0;return R.some({morph:"absolute",positionCss:Ic("absolute",Xt(l.style,"left").map(w=>r.x-h.x),Xt(l.style,"top").map(w=>r.y-h.y+x),Xt(l.style,"right").map(w=>h.right-r.right),Xt(l.style,"bottom").map(w=>h.bottom-r.bottom))});default:return R.none()}}),jy=e=>{switch(e.location){case"top":return R.some({morph:"fixed",positionCss:Ic("fixed",R.some(e.leftX),R.some(e.topY),R.none(),R.none())});case"bottom":return R.some({morph:"fixed",positionCss:Ic("fixed",R.some(e.leftX),R.none(),R.none(),R.some(e.bottomY))});default:return R.none()}},Az=(e,r,s)=>{const l=e.element;return Rr(Ir(l,"position"),"fixed")?((m,g,h)=>((x,w,S)=>vk(x,w,S).filter(({box:A})=>((N,F,$)=>gt(N,W=>{switch(W){case"bottom":return VS(F,$.bounds);case"top":return hk(F,$.bounds)}}))(S.getModes(),A,w)).bind(({box:A})=>zz(x,A,S)))(m,g,h).orThunk(()=>g.optScrollEnv.bind(x=>vk(m,g,h)).bind(({box:x,location:w})=>{const S=Ua(),A=$S({win:S,box:x}),N=w==="top"?bk(S,A,g):yk(S,A,g);return jy(N)})))(l,r,s):((m,g,h)=>{const x=Fa(m),w=Ua(),S=((A,N,F)=>{const $=N.win,W=N.box,se=$S(N);return Gt(A,le=>{switch(le){case"bottom":return VS(W,F.bounds)?R.none():R.some(yk($,se,F));case"top":return hk(W,F.bounds)?R.none():R.some(bk($,se,F));default:return R.none()}}).getOr({location:"no-dock"})})(h.getModes(),{win:w,box:x},g);return S.location==="top"||S.location==="bottom"?(Tz(m,x,g,h,S),jy(S)):R.none()})(l,r,s)},US=(e,r,s)=>{s.setDocked(!1),Ie(["left","right","top","bottom","position"],l=>Pr(e.element,l)),r.onUndocked(e)},xk=(e,r,s,l)=>{const m=l.position==="fixed";s.setDocked(m),c1(e.element,l),(m?r.onDocked:r.onUndocked)(e)},ZS=(e,r,s,l,m=!1)=>{r.contextual.each(g=>{g.lazyContext(e).each(h=>{const x=((w,S)=>w.yS.y)(h,l.bounds);x!==s.isVisible()&&(s.setVisible(x),m&&!x?(Lc(e.element,[g.fadeOutClass]),g.onHide(e)):(x?UO:ZO)(e,g))})})},qS=(e,r,s,l,m)=>{ZS(e,r,s,l,!0),xk(e,r,s,m.positionCss)},_f=(e,r,s)=>{e.getSystem().isConnected()&&((l,m,g)=>{const h=m.lazyViewport(l);ZS(l,m,g,h),Az(l,h,g).each(x=>{((w,S,A,N,F)=>{switch(F.morph){case"static":return US(w,S,A);case"absolute":return xk(w,S,A,F.positionCss);case"fixed":qS(w,S,A,N,F)}})(l,m,g,h,x)})})(e,r,s)},Oz=(e,r,s)=>{s.isDocked()&&((l,m,g)=>{const h=l.element;g.setDocked(!1);const x=m.lazyViewport(l);((w,S,A)=>{const N=w.element;return vk(N,S,A).bind(({box:F})=>zz(N,F,A))})(l,x,g).each(w=>{switch(w.morph){case"static":US(l,m,g);break;case"absolute":xk(l,m,g,w.positionCss)}}),g.setVisible(!0),m.contextual.each(w=>{Zi(h,[w.fadeInClass,w.fadeOutClass,w.transitionClass]),w.onShow(l)}),_f(l,m,g)})(e,r,s)},WS=e=>(r,s,l)=>{const m=s.lazyViewport(r);((g,h,x,w)=>{const S=Fa(g),A=Ua(),N=w(A,$S({win:A,box:S}),h);return N.location==="bottom"||N.location==="top"?(((F,$,W,se,le)=>{se.getInitialPos().fold(()=>Tz(F,$,W,se,le),()=>he)})(g,S,h,x,N),jy(N)):R.none()})(r.element,m,l,e).each(g=>{qS(r,s,l,m,g)})},Nz=WS(bk),qO=WS(yk);var tv=Object.freeze({__proto__:null,refresh:_f,reset:Oz,isDocked:(e,r,s)=>s.isDocked(),getModes:(e,r,s)=>s.getModes(),setModes:(e,r,s,l)=>s.setModes(l),forceDockToTop:Nz,forceDockToBottom:qO}),Mz=Object.freeze({__proto__:null,events:(e,r)=>qa([Mu(Ni(),(s,l)=>{e.contextual.each(m=>{Di(s.element,m.transitionClass)&&(Zi(s.element,[m.transitionClass,m.fadeInClass]),(r.isVisible()?m.onShown:m.onHidden)(s)),l.stop()})}),Kt(zu(),(s,l)=>{_f(s,e,r)}),Kt(wp(),(s,l)=>{_f(s,e,r)}),Kt(Au(),(s,l)=>{Oz(s,e,r)})])}),WO=[gl("contextual",[us("fadeInClass"),us("fadeOutClass"),us("transitionClass"),ml("lazyContext"),Hr("onShow"),Hr("onShown"),Hr("onHide"),Hr("onHidden")]),hs("lazyViewport",()=>({bounds:Ua(),optScrollEnv:R.none()})),uc("modes",["top","bottom"],wa),Hr("onDocked"),Hr("onUndocked")];const di=Ri({fields:WO,name:"docking",active:Mz,apis:tv,state:Object.freeze({__proto__:null,init:e=>{const r=Sn(!1),s=Sn(!0),l=ms(),m=Sn(e.modes);return Ia({isDocked:r.get,setDocked:r.set,getInitialPos:l.get,setInitialPos:l.set,clearInitialPos:l.clear,isVisible:s.get,setVisible:s.set,getModes:m.get,setModes:m.set,readState:()=>`docked: ${r.get()}, visible: ${s.get()}, modes: ${m.get().join(",")}`})}})}),wk=me(un("toolbar-height-change")),Qu={fadeInClass:"tox-editor-dock-fadein",fadeOutClass:"tox-editor-dock-fadeout",transitionClass:"tox-editor-dock-transition"},GS="tox-tinymce--toolbar-sticky-on",KS="tox-tinymce--toolbar-sticky-off",mp=(e,r)=>Rt(di.getModes(e),r),Vy=e=>{const r=e.element;Go(r).each(s=>{const l="padding-"+di.getModes(e)[0];if(di.isDocked(e)){const m=Ga(s);Bn(r,"width",m+"px"),Bn(s,l,(g=>ho(g)+(parseInt(aa(g,"margin-top"),10)||0)+(parseInt(aa(g,"margin-bottom"),10)||0))(r)+"px")}else Pr(r,"width"),Pr(s,l)})},kk=(e,r)=>{r?(rs(e,Qu.fadeOutClass),Lc(e,[Qu.transitionClass,Qu.fadeInClass])):(rs(e,Qu.fadeInClass),Lc(e,[Qu.fadeOutClass,Qu.transitionClass]))},YS=(e,r)=>{const s=St(e.getContainer());r?(Jr(s,GS),rs(s,KS)):(Jr(s,KS),rs(s,GS))},XS=(e,r)=>{const s=ms(),l=r.getSink,m=x=>{l().each(w=>x(w.element))},g=x=>{e.inline||Vy(x),YS(e,di.isDocked(x)),x.getSystem().broadcastOn([Dg()],{}),l().each(w=>w.getSystem().broadcastOn([Dg()],{}))},h=e.inline?[]:[tc.config({channels:{[wk()]:{onReceive:Vy}}})];return[er.config({}),di.config({contextual:{lazyContext:x=>{const w=ho(x.element),S=e.inline?e.getContentAreaContainer():e.getContainer();return R.from(S).map(A=>{const N=Fa(St(A));return ff(e,x.element).fold(()=>{const F=N.height-w,$=N.y+(mp(x,"top")?0:w);return Ba(N.x,$,N.width,F)},F=>{const $=Kc(N,Oh(F)),W=mp(x,"top")?$.y:$.y+w;return Ba($.x,W,$.width,$.height-w)})})},onShow:()=>{m(x=>kk(x,!0))},onShown:x=>{m(w=>Zi(w,[Qu.transitionClass,Qu.fadeInClass])),s.get().each(w=>{((S,A)=>{const N=Ne(A);Ts(N).filter(F=>!Jo(A,F)).filter(F=>Jo(F,St(N.dom.body))||Ce(S,F)).each(()=>sd(A))})(x.element,w),s.clear()})},onHide:x=>{((w,S)=>gc(w).orThunk(()=>S().toOptional().bind(A=>gc(A.element))))(x.element,l).fold(s.clear,s.set),m(w=>kk(w,!1))},onHidden:()=>{m(x=>Zi(x,[Qu.transitionClass]))},...Qu},lazyViewport:x=>ff(e,x.element).fold(()=>{const w=Ua(),S=Rx(e),A=w.y+(mp(x,"top")?S:0),N=w.height-(mp(x,"bottom")?S:0);return{bounds:Ba(w.x,A,w.width,N),optScrollEnv:R.none()}},w=>({bounds:Oh(w),optScrollEnv:R.some({currentScrollTop:w.element.dom.scrollTop,scrollElmTop:Or(w.element).top})})),modes:[r.header.getDockingMode()],onDocked:g,onUndocked:g}),...h]};var Dz=Object.freeze({__proto__:null,setup:(e,r,s)=>{e.inline||(r.header.isPositionedAtTop()||e.on("ResizeEditor",()=>{s().each(di.reset)}),e.on("ResizeWindow ResizeEditor",()=>{s().each(Vy)}),e.on("SkinLoaded",()=>{s().each(l=>{di.isDocked(l)?di.reset(l):di.refresh(l)})}),e.on("FullscreenStateChanged",()=>{s().each(di.reset)})),e.on("AfterScrollIntoView",l=>{s().each(m=>{di.refresh(m);const g=m.element;N1(g)&&((h,x)=>{const w=Ne(x),S=Ho(x).dom.innerHeight,A=pa(w),N=St(h.elm),F=ts(N),$=Nt(N),W=F.y,se=W+$,le=Or(x),fe=Nt(x),te=le.top,X=te+fe,ue=Math.abs(te-A.top)<2,ye=Math.abs(X-(A.top+S))<2;if(ue&&Wte){const we=W-S+$+fe;Ps(A.left,we,w)}})(l,g)})}),e.on("PostRender",()=>{YS(e,!1)})},isDocked:e=>e().map(di.isDocked).getOr(!1),getBehaviours:XS});const Rz=Cn([ci,ni("items",ec([Kd([E2,al("items",wa)]),wa]))].concat(d0)),_k=[Hs("text"),Hs("tooltip"),Hs("icon"),Ai("search",!1,ec([Qc,Cn([Hs("placeholder")])],e=>jo(e)?e?R.some({placeholder:R.none()}):R.none():R.some(e))),ml("fetch"),hs("onSetup",()=>he)],JS=Cn([ci,..._k]),QS=e=>ka("menubutton",JS,e),e3=Cn([ci,Id,pu,Xm,fu,z2,Em,pl("presets","normal",["normal","color","listpreview"]),Sh(1),sy,ZA]);var Ck=Pc({factory:(e,r)=>{const s={focus:Dn.focusIn,setMenus:(l,m)=>{const g=dt(m,h=>{const x={type:"menubutton",text:h.text,fetch:S=>{S(h.getItems())}},w=QS(x).mapError(S=>El(S)).getOrDie();return cp(w,"tox-mbtn",r.backstage,R.some("menuitem"))});fr.set(l,g)}};return{uid:e.uid,dom:e.dom,components:[],behaviours:Oo([fr.config({}),Tr("menubar-events",[La(l=>{e.onSetup(l)}),Kt(Te(),(l,m)=>{vs(l.element,".tox-mbtn--active").each(g=>{Vl(m.event.target,".tox-mbtn").each(h=>{Jo(g,h)||l.getSystem().getByDom(g).each(x=>{l.getSystem().getByDom(h).each(w=>{Hd.expand(w),Hd.close(x),er.focus(w)})})})})}),Kt(lg(),(l,m)=>{m.event.prevFocus.bind(g=>l.getSystem().getByDom(g).toOptional()).each(g=>{m.event.newFocus.bind(h=>l.getSystem().getByDom(h).toOptional()).each(h=>{Hd.isOpen(g)&&(Hd.expand(h),Hd.close(g))})})})]),Dn.config({mode:"flow",selector:".tox-mbtn",onEscape:l=>(e.onEscape(l),R.some(!0))}),Bs.config({})]),apis:s,domModification:{attributes:{role:"menubar"}}}},name:"silver.Menubar",configFields:[Yt("dom"),Yt("uid"),Yt("onEscape"),Yt("backstage"),ft("onSetup",he)],apis:{focus:(e,r)=>{e.focus(r)},setMenus:(e,r,s)=>{e.setMenus(r,s)}}});const Bz="container",Sk=[qi("slotBehaviours",[])],t3=e=>"",Fz=(e,r)=>{const s=A=>wm(e),l=(A,N)=>(F,$)=>ua(F,e,$).map(W=>A(W,$)).getOr(N),m=(A,N)=>Ma(A.element,"aria-hidden")!=="true",g=l(m,!1),h=l((A,N)=>{if(m(A)){const F=A.element;Bn(F,"display","none"),Kn(F,"aria-hidden","true"),_n(A,cg(),{name:N,visible:!1})}}),x=(A=>(N,F)=>{Ie(F,$=>A(N,$))})(h),w=l((A,N)=>{if(!m(A)){const F=A.element;Pr(F,"display"),xa(F,"aria-hidden"),_n(A,cg(),{name:N,visible:!0})}}),S={getSlotNames:s,getSlot:(A,N)=>ua(A,e,N),isShowing:g,hideSlot:h,hideAllSlots:A=>x(A,s()),showSlot:w};return{uid:e.uid,dom:e.dom,components:r,behaviours:Hb(e.slotBehaviours),apis:S}},Lz=Zo({getSlotNames:(e,r)=>e.getSlotNames(r),getSlot:(e,r,s)=>e.getSlot(r,s),isShowing:(e,r,s)=>e.isShowing(r,s),hideSlot:(e,r,s)=>e.hideSlot(r,s),hideAllSlots:(e,r)=>e.hideAllSlots(r),showSlot:(e,r,s)=>e.showSlot(r,s)},e=>Nr(e)),ac={...Lz,sketch:e=>{const r=(()=>{const g=[];return{slot:(h,x)=>(g.push(h),ca(Bz,t3(h),x)),record:me(g)}})(),s=e(r),l=r.record(),m=dt(l,g=>Eo({name:g,pname:t3(g)}));return Jp(Bz,Sk,m,Fz,s)}},Iz=Cn([pu,Id,hs("onShow",he),hs("onHide",he),Em]),GO=e=>({element:()=>e.element.dom}),o3=(e,r)=>{const s=dt(Vt(r),l=>{const m=r[l],g=Sl((h=>ka("sidebar",Iz,h))(m));return{name:l,getApi:GO,onSetup:g.onSetup,onShow:g.onShow,onHide:g.onHide}});return dt(s,l=>{const m=Sn(he);return e.slot(l.name,{dom:{tag:"div",classes:["tox-sidebar__pane"]},behaviours:cy([Kg(l,m),Yg(l,m),Kt(cg(),(g,h)=>{const x=h.event;oo(s,S=>S.name===x.name).each(S=>{(x.visible?S.onShow:S.onHide)(S.getApi(g))})})])})})},KO=e=>ac.sketch(r=>({dom:{tag:"div",classes:["tox-sidebar__pane-container"]},components:o3(r,e),slotBehaviours:cy([La(s=>ac.hideAllSlots(s))])})),$y=(e,r)=>{Kn(e,"role",r)},Pz=e=>Gr.getCurrent(e).bind(r=>Ml.isGrowing(r)||Ml.hasGrown(r)?Gr.getCurrent(r).bind(s=>oo(ac.getSlotNames(s),l=>ac.isShowing(s,l))):R.none()),Ek=un("FixSizeEvent"),ov=un("AutoSizeEvent");var Hz=Object.freeze({__proto__:null,block:(e,r,s,l)=>{Kn(e.element,"aria-busy",!0);const m=r.getRoot(e).getOr(e),g=Oo([Dn.config({mode:"special",onTab:()=>R.some(!0),onShiftTab:()=>R.some(!0)}),er.config({})]),h=l(m,g),x=m.getSystem().build(h);fr.append(m,Tc(x)),x.hasConfigured(Dn)&&r.focus&&Dn.focusIn(x),s.isBlocked()||r.onBlock(e),s.blockWith(()=>fr.remove(m,x))},unblock:(e,r,s)=>{xa(e.element,"aria-busy"),s.isBlocked()&&r.onUnblock(e),s.clear()},isBlocked:(e,r,s)=>s.isBlocked()}),n3=[hs("getRoot",R.none),ri("focus",!0),Hr("onBlock"),Hr("onUnblock")];const em=Ri({fields:n3,name:"blocking",apis:Hz,state:Object.freeze({__proto__:null,init:()=>{const e=Hu(r=>r.destroy());return Ia({readState:e.isSet,blockWith:r=>{e.set({destroy:r})},clear:e.clear,isBlocked:e.isSet})}})}),jz=e=>Gr.getCurrent(e).each(r=>sd(r.element,!0)),r3=(e,r,s)=>{const l=Sn(!1),m=ms(),g=x=>{var w;l.get()&&(!(S=>S.type==="focusin")(w=x)||!(w.composed?at(w.composedPath()):R.from(w.target)).map(St).filter(wt).exists(S=>Di(S,"mce-pastebin")))&&(x.preventDefault(),jz(r()),e.editorManager.setActive(e))};e.inline||e.on("PreInit",()=>{e.dom.bind(e.getWin(),"focusin",g),e.on("BeforeExecCommand",x=>{x.command.toLowerCase()==="mcefocus"&&x.value!==!0&&g(x)})});const h=x=>{x!==l.get()&&(l.set(x),((w,S,A,N)=>{const F=S.element;if((($,W)=>{const se="tabindex",le=`data-mce-${se}`;R.from($.iframeElement).map(St).each(fe=>{W?(Ca(fe,se).each(te=>Kn(fe,le,te)),Kn(fe,se,-1)):(xa(fe,se),Ca(fe,le).each(te=>{Kn(fe,se,te),xa(fe,le)}))})})(w,A),A)em.block(S,($=>(W,se)=>({dom:{tag:"div",attributes:{"aria-label":$.translate("Loading..."),tabindex:"0"},classes:["tox-throbber__busy-spinner"]},components:[{dom:Ym('
    ')}]}))(N)),Pr(F,"display"),xa(F,"aria-hidden"),w.hasFocus()&&jz(S);else{const $=Gr.getCurrent(S).exists(W=>Gf(W.element));em.unblock(S),Bn(F,"display","none"),Kn(F,"aria-hidden","true"),$&&w.focus()}})(e,r(),x,s.providers),((w,S)=>{w.dispatch("AfterProgressState",{state:S})})(e,x))};e.on("ProgressState",x=>{if(m.on(clearTimeout),So(x.time)){const w=hx.setEditorTimeout(e,()=>h(x.state),x.time);m.set(w)}else h(x.state),m.clear()})},Tk=(e,r,s)=>({within:e,extra:r,withinWidth:s}),a3=(e,r,s)=>{const l=To(e,(h,x)=>((w,S)=>{const A=s(w);return R.some({element:w,start:S,finish:S+A,width:A})})(x,h.len).fold(me(h),w=>({len:w.finish,list:h.list.concat([w])})),{len:0,list:[]}).list,m=Pt(l,h=>h.finish<=r),g=lo(m,(h,x)=>h+x.width,0);return{within:m,extra:l.slice(m.length),withinWidth:g}},nv=e=>dt(e,r=>r.element),Vz=(e,r)=>{const s=dt(r,l=>Tc(l));Mm.setGroups(e,s)},Cf=(e,r,s)=>{const l=r.builtGroups.get();if(l.length===0)return;const m=li(e,r,"primary"),g=js.getCoupled(e,"overflowGroup");Bn(m.element,"visibility","hidden");const h=l.concat([g]),x=Gt(h,S=>gc(S.element).bind(A=>S.getSystem().getByDom(A).toOptional()));s([]),Vz(m,h);const w=((S,A,N,F)=>{const $=((fe,te,X)=>{const ue=a3(te,fe,X);return ue.extra.length===0?R.some(ue):R.none()})(S,A,N).getOrThunk(()=>a3(A,S-N(F),N)),W=$.within,se=$.extra,le=$.withinWidth;return se.length===1&&se[0].width<=N(F)?((fe,te,X)=>{const ue=nv(fe.concat(te));return Tk(ue,[],X)})(W,se,le):se.length>=1?((fe,te,X,ue)=>{const ye=nv(fe).concat([X]);return Tk(ye,nv(te),ue)})(W,se,F,le):((fe,te,X)=>Tk(nv(fe),[],X))(W,0,le)})(Ga(m.element),r.builtGroups.get(),S=>Ga(S.element),g);w.extra.length===0?(fr.remove(m,g),s([])):(Vz(m,w.within),s(w.extra)),Pr(m.element,"visibility"),ne(m.element),x.each(er.focus)},s3=me([qi("splitToolbarBehaviours",[js]),ao("builtGroups",()=>Sn([]))]),$z=me([Nd(["overflowToggledClass"]),Tl("getOverflowBounds"),Yt("lazySink"),ao("overflowGroups",()=>Sn([])),Hr("onOpened"),Hr("onClosed")].concat(s3())),YO=me([Eo({factory:Mm,schema:Py(),name:"primary"}),Do({schema:Py(),name:"overflow"}),Do({name:"overflow-button"}),Do({name:"overflow-group"})]),zk=me((e,r)=>{((s,l)=>{const m=ma.max(s,l,["margin-left","border-left-width","padding-left","padding-right","border-right-width","margin-right"]);Bn(s,"max-width",m+"px")})(e,Math.floor(r))}),Uz=me([Nd(["toggledClass"]),Yt("lazySink"),ml("fetch"),Tl("getBounds"),gl("fireDismissalEventInstead",[ft("event",Ou())]),hm(),Hr("onToggled")]),XO=me([Do({name:"button",overrides:e=>({dom:{attributes:{"aria-haspopup":"true"}},buttonBehaviours:Oo([Dr.config({toggleClass:e.markers.toggledClass,aria:{mode:"expanded"},toggleOnExecute:!1,onToggled:e.onToggled})])})}),Do({factory:Mm,schema:Py(),name:"toolbar",overrides:e=>({toolbarBehaviours:Oo([Dn.config({mode:"cyclic",onEscape:r=>(ua(r,e,"button").each(er.focus),R.none())})])})})]),Sf=ms(),i3=(e,r)=>{const s=js.getCoupled(e,"toolbarSandbox");Lr.isOpen(s)?Lr.close(s):Lr.open(s,r.toolbar())},rv=(e,r,s,l)=>{const m=s.getBounds.map(h=>h()),g=s.lazySink(e).getOrDie();xl.positionWithinBounds(g,r,{anchor:{type:"hotspot",hotspot:e,layouts:l,overrides:{maxWidthFunction:zk()}}},m)},Zz=(e,r,s,l,m)=>{Mm.setGroups(r,m),rv(e,r,s,l),Dr.on(e)},Ef=Wl({name:"FloatingToolbarButton",factory:(e,r,s,l)=>({...wl.sketch({...l.button(),action:m=>{i3(m,l)},buttonBehaviours:Bg({dump:l.button().buttonBehaviours},[js.config({others:{toolbarSandbox:m=>((g,h,x)=>{const w=Ap();return{dom:{tag:"div",attributes:{id:w.id}},behaviours:Oo([Dn.config({mode:"special",onEscape:S=>(Lr.close(S),R.some(!0))}),Lr.config({onOpen:(S,A)=>{const N=Sf.get().getOr(!1);x.fetch().get(F=>{Zz(g,A,x,h.layouts,F),w.link(g.element),N||Dn.focusIn(A)})},onClose:()=>{Dr.off(g),Sf.get().getOr(!1)||er.focus(g),w.unlink(g.element)},isPartOf:(S,A,N)=>si(A,N)||si(g,N),getAttachPoint:()=>x.lazySink(g).getOrDie()}),tc.config({channels:{...Rg({isExtraPart:Bo,...x.fireDismissalEventInstead.map(S=>({fireEventInstead:{event:S.event}})).getOr({})}),...Zp({doReposition:()=>{Lr.getState(js.getCoupled(g,"toolbarSandbox")).each(S=>{rv(g,S,x,h.layouts)})}})}})])}})(m,s,e)}})])}),apis:{setGroups:(m,g)=>{Lr.getState(js.getCoupled(m,"toolbarSandbox")).each(h=>{Zz(m,h,e,s.layouts,g)})},reposition:m=>{Lr.getState(js.getCoupled(m,"toolbarSandbox")).each(g=>{rv(m,g,e,s.layouts)})},toggle:m=>{i3(m,l)},toggleWithoutFocusing:m=>{((g,h)=>{Sf.set(!0),i3(g,h),Sf.clear()})(m,l)},getToolbar:m=>Lr.getState(js.getCoupled(m,"toolbarSandbox")),isOpen:m=>Lr.isOpen(js.getCoupled(m,"toolbarSandbox"))}}),configFields:Uz(),partFields:XO(),apis:{setGroups:(e,r,s)=>{e.setGroups(r,s)},reposition:(e,r)=>{e.reposition(r)},toggle:(e,r)=>{e.toggle(r)},toggleWithoutFocusing:(e,r)=>{e.toggleWithoutFocusing(r)},getToolbar:(e,r)=>e.getToolbar(r),isOpen:(e,r)=>e.isOpen(r)}}),JO=me([Yt("items"),Nd(["itemSelector"]),qi("tgroupBehaviours",[Dn])]),QO=me([Ln({name:"items",unit:"item"})]),Ak=Wl({name:"ToolbarGroup",configFields:JO(),partFields:QO(),factory:(e,r,s,l)=>({uid:e.uid,dom:e.dom,components:r,behaviours:Fi(e.tgroupBehaviours,[Dn.config({mode:"flow",selector:e.markers.itemSelector})]),domModification:{attributes:{role:"toolbar"}}})}),av=e=>dt(e,r=>Tc(r)),qz=(e,r,s)=>{Cf(e,s,l=>{s.overflowGroups.set(l),r.getOpt(e).each(m=>{Ef.setGroups(m,av(l))})})},Wz=Wl({name:"SplitFloatingToolbar",configFields:$z(),partFields:YO(),factory:(e,r,s,l)=>{const m=Ta(Ef.sketch({fetch:()=>Qg(g=>{g(av(e.overflowGroups.get()))}),layouts:{onLtr:()=>[Gs,Qi],onRtl:()=>[Qi,Gs],onBottomLtr:()=>[Wa,vl],onBottomRtl:()=>[vl,Wa]},getBounds:s.getOverflowBounds,lazySink:e.lazySink,fireDismissalEventInstead:{},markers:{toggledClass:e.markers.overflowToggledClass},parts:{button:l["overflow-button"](),toolbar:l.overflow()},onToggled:(g,h)=>e[h?"onOpened":"onClosed"](g)}));return{uid:e.uid,dom:e.dom,components:r,behaviours:Fi(e.splitToolbarBehaviours,[js.config({others:{overflowGroup:()=>Ak.sketch({...l["overflow-group"](),items:[m.asSpec()]})}})]),apis:{setGroups:(g,h)=>{e.builtGroups.set(dt(h,g.getSystem().build)),qz(g,m,e)},refresh:g=>qz(g,m,e),toggle:g=>{m.getOpt(g).each(h=>{Ef.toggle(h)})},toggleWithoutFocusing:g=>{m.getOpt(g).each(Ef.toggleWithoutFocusing)},isOpen:g=>m.getOpt(g).map(Ef.isOpen).getOr(!1),reposition:g=>{m.getOpt(g).each(h=>{Ef.reposition(h)})},getOverflow:g=>m.getOpt(g).bind(Ef.getToolbar)},domModification:{attributes:{role:"group"}}}},apis:{setGroups:(e,r,s)=>{e.setGroups(r,s)},refresh:(e,r)=>{e.refresh(r)},reposition:(e,r)=>{e.reposition(r)},toggle:(e,r)=>{e.toggle(r)},toggleWithoutFocusing:(e,r)=>{e.toggle(r)},isOpen:(e,r)=>e.isOpen(r),getOverflow:(e,r)=>e.getOverflow(r)}}),Gz=me([Nd(["closedClass","openClass","shrinkingClass","growingClass","overflowToggledClass"]),Hr("onOpened"),Hr("onClosed")].concat(s3())),e5=me([Eo({factory:Mm,schema:Py(),name:"primary"}),Eo({factory:Mm,schema:Py(),name:"overflow",overrides:e=>({toolbarBehaviours:Oo([Ml.config({dimension:{property:"height"},closedClass:e.markers.closedClass,openClass:e.markers.openClass,shrinkingClass:e.markers.shrinkingClass,growingClass:e.markers.growingClass,onShrunk:r=>{ua(r,e,"overflow-button").each(s=>{Dr.off(s),er.focus(s)}),e.onClosed(r)},onGrown:r=>{Dn.focusIn(r),e.onOpened(r)},onStartGrow:r=>{ua(r,e,"overflow-button").each(Dr.on)}}),Dn.config({mode:"acyclic",onEscape:r=>(ua(r,e,"overflow-button").each(er.focus),R.some(!0))})])})}),Do({name:"overflow-button",overrides:e=>({buttonBehaviours:Oo([Dr.config({toggleClass:e.markers.overflowToggledClass,aria:{mode:"pressed"},toggleOnExecute:!1})])})}),Do({name:"overflow-group"})]),Kz=(e,r)=>{ua(e,r,"overflow-button").bind(()=>ua(e,r,"overflow")).each(s=>{l3(e,r),Ml.toggleGrow(s)})},l3=(e,r)=>{ua(e,r,"overflow").each(s=>{Cf(e,r,l=>{const m=dt(l,g=>Tc(g));Mm.setGroups(s,m)}),ua(e,r,"overflow-button").each(l=>{Ml.hasGrown(s)&&Dr.on(l)}),Ml.refresh(s)})},sv=Wl({name:"SplitSlidingToolbar",configFields:Gz(),partFields:e5(),factory:(e,r,s,l)=>{const m="alloy.toolbar.toggle";return{uid:e.uid,dom:e.dom,components:r,behaviours:Fi(e.splitToolbarBehaviours,[js.config({others:{overflowGroup:g=>Ak.sketch({...l["overflow-group"](),items:[wl.sketch({...l["overflow-button"](),action:h=>{$r(g,m)}})]})}}),Tr("toolbar-toggle-events",[Kt(m,g=>{Kz(g,e)})])]),apis:{setGroups:(g,h)=>{((x,w)=>{const S=dt(w,x.getSystem().build);e.builtGroups.set(S)})(g,h),l3(g,e)},refresh:g=>l3(g,e),toggle:g=>Kz(g,e),isOpen:g=>((h,x)=>ua(h,x,"overflow").map(Ml.hasGrown).getOr(!1))(g,e)},domModification:{attributes:{role:"group"}}}},apis:{setGroups:(e,r,s)=>{e.setGroups(r,s)},refresh:(e,r)=>{e.refresh(r)},toggle:(e,r)=>{e.toggle(r)},isOpen:(e,r)=>e.isOpen(r)}}),c3=e=>{const r=e.title.fold(()=>({}),s=>({attributes:{title:s}}));return{dom:{tag:"div",classes:["tox-toolbar__group"],...r},components:[Ak.parts.items({})],items:e.items,markers:{itemSelector:"*:not(.tox-split-button) > .tox-tbtn:not([disabled]), .tox-split-button:not([disabled]), .tox-toolbar-nav-js:not([disabled]), .tox-number-input:not([disabled])"},tgroupBehaviours:Oo([Bs.config({}),er.config({})])}},Ok=e=>Ak.sketch(c3(e)),d3=(e,r)=>{const s=La(l=>{const m=dt(e.initGroups,Ok);Mm.setGroups(l,m)});return Oo([j2(e.providers.isDisabled),Wi(),Dn.config({mode:r,onEscape:e.onEscape,selector:".tox-toolbar__group"}),Tr("toolbar-events",[s])])},Yz=e=>{const r=e.cyclicKeying?"cyclic":"acyclic";return{uid:e.uid,dom:{tag:"div",classes:["tox-toolbar-overlord"]},parts:{"overflow-group":c3({title:R.none(),items:[]}),"overflow-button":AO({name:"more",icon:R.some("more-drawer"),enabled:!0,tooltip:R.some("Reveal or hide additional toolbar items"),primary:!1,buttonType:R.none(),borderless:!1},R.none(),e.providers)},splitToolbarBehaviours:d3(e,r)}},t5=e=>{const r=Yz(e),s=Wz.parts.primary({dom:{tag:"div",classes:["tox-toolbar__primary"]}});return Wz.sketch({...r,lazySink:e.getSink,getOverflowBounds:()=>{const l=e.moreDrawerData.lazyHeader().element,m=ts(l),g=Io(l),h=ts(g),x=Math.max(g.dom.scrollHeight,h.height);return Ba(m.x+4,h.y,m.width-8,x)},parts:{...r.parts,overflow:{dom:{tag:"div",classes:["tox-toolbar__overflow"],attributes:e.attributes}}},components:[s],markers:{overflowToggledClass:"tox-tbtn--enabled"},onOpened:l=>e.onToggled(l,!0),onClosed:l=>e.onToggled(l,!1)})},Xz=e=>{const r=sv.parts.primary({dom:{tag:"div",classes:["tox-toolbar__primary"]}}),s=sv.parts.overflow({dom:{tag:"div",classes:["tox-toolbar__overflow"]}}),l=Yz(e);return sv.sketch({...l,components:[r,s],markers:{openClass:"tox-toolbar__overflow--open",closedClass:"tox-toolbar__overflow--closed",growingClass:"tox-toolbar__overflow--growing",shrinkingClass:"tox-toolbar__overflow--shrinking",overflowToggledClass:"tox-tbtn--enabled"},onOpened:m=>{m.getSystem().broadcastOn([wk()],{type:"opened"}),e.onToggled(m,!0)},onClosed:m=>{m.getSystem().broadcastOn([wk()],{type:"closed"}),e.onToggled(m,!1)}})},Nk=e=>{const r=e.cyclicKeying?"cyclic":"acyclic";return Mm.sketch({uid:e.uid,dom:{tag:"div",classes:["tox-toolbar"].concat(e.type===Vc.scrolling?["tox-toolbar--scrolling"]:[])},components:[Mm.parts.groups({})],toolbarBehaviours:d3(e,r)})},Tf=[Xm,pu,Hs("tooltip"),pl("buttonType","secondary",["primary","secondary"]),ri("borderless",!1),ml("onAction")],Mk={button:[...Tf,Wg,da("type",["button"])],togglebutton:[...Tf,ri("active",!1),da("type",["togglebutton"])]},Dk=[da("type",["group"]),uc("buttons",[],Ms("type",Mk))],$h=Ms("type",{...Mk,group:Dk}),Jz=Cn([uc("buttons",[],$h),ml("onShow"),ml("onHide")]),Qz=(e,r)=>((s,l)=>{var m,g;const h=s.type==="togglebutton",x=s.icon.map(te=>sp(te,l.icons)).map(Ta),w={...s,name:h?s.text.getOr(s.icon.getOr("")):(m=s.text)!==null&&m!==void 0?m:s.icon.getOr(""),primary:s.buttonType==="primary",buttonType:R.from(s.buttonType),tooltip:s.tooltip,icon:s.icon,enabled:!0,borderless:s.borderless},S=ek((g=s.buttonType)!==null&&g!==void 0?g:"secondary"),A=h?s.text.map(l.translate):R.some(l.translate(s.text)),N=A.map(Ya),F=w.tooltip.or(A).map(te=>({"aria-label":l.translate(te),title:l.translate(te)})).getOr({}),$=x.map(te=>te.asSpec()),W=Eh([$,N]),se=s.icon.isSome()&&N.isSome(),le={tag:"button",classes:S.concat(...s.icon.isSome()&&!se?["tox-button--icon"]:[]).concat(...se?["tox-button--icon-and-text"]:[]).concat(...s.borderless?["tox-button--naked"]:[]).concat(...s.type==="togglebutton"&&s.active?["tox-button--enabled"]:[]),attributes:F},fe=Qw(w,R.some(te=>{const X=ue=>{x.map(ye=>ye.getOpt(te).each(we=>{fr.set(we,[sp(ue,l.icons)])}))};return h?s.onAction({setIcon:X,setActive:ue=>{const ye=te.element;ue?(Jr(ye,"tox-button--enabled"),Kn(ye,"aria-pressed",!0)):(rs(ye,"tox-button--enabled"),xa(ye,"aria-pressed"))},isActive:()=>Di(te.element,"tox-button--enabled")}):s.type==="button"?s.onAction({setIcon:X}):void 0}),[],le,W,l);return wl.sketch(fe)})(e,r),eA=Yl().deviceType,u3=eA.isPhone(),iv=eA.isTablet();var zf=Wl({name:"silver.View",configFields:[Yt("viewConfig")],partFields:[No({factory:{sketch:e=>{let r=!1;const s=dt(e.buttons,l=>l.type==="group"?(r=!0,((m,g)=>({dom:{tag:"div",classes:["tox-view__toolbar__group"]},components:dt(m.buttons,h=>Qz(h,g))}))(l,e.providers)):Qz(l,e.providers));return{uid:e.uid,dom:{tag:"div",classes:[r?"tox-view__toolbar":"tox-view__header",...u3||iv?["tox-view--mobile","tox-view--scrolling"]:[]]},behaviours:Oo([er.config({}),Dn.config({mode:"flow",selector:"button, .tox-button",focusInside:qb.OnEnterOrSpaceMode})]),components:r?s:[Ku.sketch({dom:{tag:"div",classes:["tox-view__header-start"]},components:[]}),Ku.sketch({dom:{tag:"div",classes:["tox-view__header-end"]},components:s})]}}},schema:[Yt("buttons"),Yt("providers")],name:"header"}),No({factory:{sketch:e=>({uid:e.uid,dom:{tag:"div",classes:["tox-view__pane"]}})},schema:[],name:"pane"})],factory:(e,r,s,l)=>{const m={getPane:g=>tl.getPart(g,e,"pane"),getOnShow:g=>e.viewConfig.onShow,getOnHide:g=>e.viewConfig.onHide};return{uid:e.uid,dom:e.dom,components:r,apis:m}},apis:{getPane:(e,r)=>e.getPane(r),getOnShow:(e,r)=>e.getOnShow(r),getOnHide:(e,r)=>e.getOnHide(r)}});const Rk=(e,r,s)=>zt(r,(l,m)=>{const g=Sl(ka("view",Jz,l));return e.slot(m,zf.sketch({dom:{tag:"div",classes:["tox-view"]},viewConfig:g,components:[...g.buttons.length>0?[zf.parts.header({buttons:g.buttons,providers:s})]:[],zf.parts.pane({})]}))}),Uh=(e,r)=>ac.sketch(s=>({dom:{tag:"div",classes:["tox-view-wrap__slot-container"]},components:Rk(s,e,r),slotBehaviours:cy([La(l=>ac.hideAllSlots(l))])})),lv=e=>oo(ac.getSlotNames(e),r=>ac.isShowing(e,r)),m3=(e,r,s)=>{ac.getSlot(e,r).each(l=>{zf.getPane(l).each(m=>{var g;s(l)((g=m.element.dom,{getContainer:me(g)}))})})};var cv=Pc({factory:(e,r)=>{const s={setViews:(l,m)=>{fr.set(l,[Uh(m,r.backstage.shared.providers)])},whichView:l=>Gr.getCurrent(l).bind(lv),toggleView:(l,m,g,h)=>Gr.getCurrent(l).exists(x=>{const w=lv(x),S=w.exists(N=>h===N),A=ac.getSlot(x,h).isSome();return A&&(ac.hideAllSlots(x),S?((N=>{const F=N.element;Bn(F,"display","none"),Kn(F,"aria-hidden","true")})(l),m()):(g(),(N=>{const F=N.element;Pr(F,"display"),xa(F,"aria-hidden")})(l),ac.showSlot(x,h),((N,F)=>{m3(N,F,zf.getOnShow)})(x,h)),w.each(N=>((F,$)=>m3(F,$,zf.getOnHide))(x,N))),A})};return{uid:e.uid,dom:{tag:"div",classes:["tox-view-wrap"],attributes:{"aria-hidden":"true"},styles:{display:"none"}},components:[],behaviours:Oo([fr.config({}),Gr.config({find:l=>{const m=fr.contents(l);return at(m)}})]),apis:s}},name:"silver.ViewWrapper",configFields:[Yt("backstage")],apis:{setViews:(e,r,s)=>e.setViews(r,s),toggleView:(e,r,s,l,m)=>e.toggleView(r,s,l,m),whichView:(e,r)=>e.whichView(r)}});const tA=Nm.optional({factory:Ck,name:"menubar",schema:[Yt("backstage")]}),o5=Nm.optional({factory:{sketch:e=>wz.sketch({uid:e.uid,dom:e.dom,listBehaviours:Oo([Dn.config({mode:"acyclic",selector:".tox-toolbar"})]),makeItem:()=>Nk({type:e.type,uid:un("multiple-toolbar-item"),cyclicKeying:!1,initGroups:[],providers:e.providers,onEscape:()=>(e.onEscape(),R.some(!0))}),setupItem:(r,s,l,m)=>{Mm.setGroups(s,l)},shell:!0})},name:"multiple-toolbar",schema:[Yt("dom"),Yt("onEscape")]}),oA=Nm.optional({factory:{sketch:e=>(s=>s.type===Vc.sliding?Xz:s.type===Vc.floating?t5:Nk)(e)({type:e.type,uid:e.uid,onEscape:()=>(e.onEscape(),R.some(!0)),onToggled:(s,l)=>e.onToolbarToggled(l),cyclicKeying:!1,initGroups:[],getSink:e.getSink,providers:e.providers,moreDrawerData:{lazyToolbar:e.lazyToolbar,lazyMoreButton:e.lazyMoreButton,lazyHeader:e.lazyHeader},attributes:e.attributes})},name:"toolbar",schema:[Yt("dom"),Yt("onEscape"),Yt("getSink")]}),nA=Nm.optional({factory:{sketch:e=>{const r=e.editor,s=e.sticky?XS:HS;return{uid:e.uid,dom:e.dom,components:e.components,behaviours:Oo(s(r,e.sharedBackstage))}}},name:"header",schema:[Yt("dom")]}),g3=Nm.optional({factory:{sketch:e=>({uid:e.uid,dom:e.dom,components:[{dom:{tag:"a",attributes:{href:"https://www.tiny.cloud/tinymce-self-hosted-premium-features/?utm_campaign=self_hosted_upgrade_promo&utm_source=tiny&utm_medium=referral",rel:"noopener",target:"_blank","aria-hidden":"true"},classes:["tox-promotion-link"],innerHtml:"⚡️Upgrade"}}]})},name:"promotion",schema:[Yt("dom")]}),n5=Nm.optional({name:"socket",schema:[Yt("dom")]}),rA=Nm.optional({factory:{sketch:e=>({uid:e.uid,dom:{tag:"div",classes:["tox-sidebar"],attributes:{role:"presentation"}},components:[{dom:{tag:"div",classes:["tox-sidebar__slider"]},components:[],behaviours:Oo([Bs.config({}),er.config({}),Ml.config({dimension:{property:"width"},closedClass:"tox-sidebar--sliding-closed",openClass:"tox-sidebar--sliding-open",shrinkingClass:"tox-sidebar--sliding-shrinking",growingClass:"tox-sidebar--sliding-growing",onShrunk:r=>{Gr.getCurrent(r).each(ac.hideAllSlots),$r(r,ov)},onGrown:r=>{$r(r,ov)},onStartGrow:r=>{_n(r,Ek,{width:Ir(r.element,"width").getOr("")})},onStartShrink:r=>{_n(r,Ek,{width:Ga(r.element)+"px"})}}),fr.config({}),Gr.config({find:r=>{const s=fr.contents(r);return at(s)}})])}],behaviours:Oo([Hw(0),Tr("sidebar-sliding-events",[Kt(Ek,(r,s)=>{Bn(r.element,"width",s.event.width)}),Kt(ov,(r,s)=>{Pr(r.element,"width")})])])})},name:"sidebar",schema:[Yt("dom")]}),p3=Nm.optional({factory:{sketch:e=>({uid:e.uid,dom:{tag:"div",attributes:{"aria-hidden":"true"},classes:["tox-throbber"],styles:{display:"none"}},behaviours:Oo([fr.config({}),em.config({focus:!1}),Gr.config({find:r=>at(r.components())})]),components:[]})},name:"throbber",schema:[Yt("dom")]}),f3=Nm.optional({factory:cv,name:"viewWrapper",schema:[Yt("backstage")]}),r5=Nm.optional({factory:{sketch:e=>({uid:e.uid,dom:{tag:"div",classes:["tox-editor-container"]},components:e.components})},name:"editorContainer",schema:[]});var Ja=Wl({name:"OuterContainer",factory:(e,r,s)=>{let l=!1;const m={getSocket:g=>tl.getPart(g,e,"socket"),setSidebar:(g,h,x)=>{tl.getPart(g,e,"sidebar").each(w=>((S,A,N)=>{Gr.getCurrent(S).each(F=>{fr.set(F,[KO(A)]);const $=N?.toLowerCase();to($)&&Vo(A,$)&&Gr.getCurrent(F).each(W=>{ac.showSlot(W,$),Ml.immediateGrow(F),Pr(F.element,"width"),$y(S.element,"region")})})})(w,h,x))},toggleSidebar:(g,h)=>{tl.getPart(g,e,"sidebar").each(x=>((w,S)=>{Gr.getCurrent(w).each(A=>{Gr.getCurrent(A).each(N=>{Ml.hasGrown(A)?ac.isShowing(N,S)?(Ml.shrink(A),$y(w.element,"presentation")):(ac.hideAllSlots(N),ac.showSlot(N,S),$y(w.element,"region")):(ac.hideAllSlots(N),ac.showSlot(N,S),Ml.grow(A),$y(w.element,"region"))})})})(x,h))},whichSidebar:g=>tl.getPart(g,e,"sidebar").bind(Pz).getOrNull(),getHeader:g=>tl.getPart(g,e,"header"),getToolbar:g=>tl.getPart(g,e,"toolbar"),setToolbar:(g,h)=>{tl.getPart(g,e,"toolbar").each(x=>{const w=dt(h,Ok);x.getApis().setGroups(x,w)})},setToolbars:(g,h)=>{tl.getPart(g,e,"multiple-toolbar").each(x=>{const w=dt(h,S=>dt(S,Ok));wz.setItems(x,w)})},refreshToolbar:g=>{tl.getPart(g,e,"toolbar").each(h=>h.getApis().refresh(h))},toggleToolbarDrawer:g=>{tl.getPart(g,e,"toolbar").each(h=>{Fn(h.getApis().toggle,x=>x(h))})},toggleToolbarDrawerWithoutFocusing:g=>{tl.getPart(g,e,"toolbar").each(h=>{Fn(h.getApis().toggleWithoutFocusing,x=>x(h))})},isToolbarDrawerToggled:g=>tl.getPart(g,e,"toolbar").bind(h=>R.from(h.getApis().isOpen).map(x=>x(h))).getOr(!1),getThrobber:g=>tl.getPart(g,e,"throbber"),focusToolbar:g=>{tl.getPart(g,e,"toolbar").orThunk(()=>tl.getPart(g,e,"multiple-toolbar")).each(h=>{Dn.focusIn(h)})},setMenubar:(g,h)=>{tl.getPart(g,e,"menubar").each(x=>{Ck.setMenus(x,h)})},focusMenubar:g=>{tl.getPart(g,e,"menubar").each(h=>{Ck.focus(h)})},setViews:(g,h)=>{tl.getPart(g,e,"viewWrapper").each(x=>{cv.setViews(x,h)})},toggleView:(g,h)=>tl.getPart(g,e,"viewWrapper").exists(x=>cv.toggleView(x,()=>m.showMainView(g),()=>m.hideMainView(g),h)),whichView:g=>tl.getPart(g,e,"viewWrapper").bind(cv.whichView).getOrNull(),hideMainView:g=>{l=m.isToolbarDrawerToggled(g),l&&m.toggleToolbarDrawer(g),tl.getPart(g,e,"editorContainer").each(h=>{const x=h.element;Bn(x,"display","none"),Kn(x,"aria-hidden","true")})},showMainView:g=>{l&&m.toggleToolbarDrawer(g),tl.getPart(g,e,"editorContainer").each(h=>{const x=h.element;Pr(x,"display"),xa(x,"aria-hidden")})}};return{uid:e.uid,dom:e.dom,components:r,apis:m,behaviours:e.behaviours}},configFields:[Yt("dom"),Yt("behaviours")],partFields:[nA,tA,oA,o5,n5,rA,g3,p3,f3,r5],apis:{getSocket:(e,r)=>e.getSocket(r),setSidebar:(e,r,s,l)=>{e.setSidebar(r,s,l)},toggleSidebar:(e,r,s)=>{e.toggleSidebar(r,s)},whichSidebar:(e,r)=>e.whichSidebar(r),getHeader:(e,r)=>e.getHeader(r),getToolbar:(e,r)=>e.getToolbar(r),setToolbar:(e,r,s)=>{e.setToolbar(r,s)},setToolbars:(e,r,s)=>{e.setToolbars(r,s)},refreshToolbar:(e,r)=>e.refreshToolbar(r),toggleToolbarDrawer:(e,r)=>{e.toggleToolbarDrawer(r)},toggleToolbarDrawerWithoutFocusing:(e,r)=>{e.toggleToolbarDrawerWithoutFocusing(r)},isToolbarDrawerToggled:(e,r)=>e.isToolbarDrawerToggled(r),getThrobber:(e,r)=>e.getThrobber(r),setMenubar:(e,r,s)=>{e.setMenubar(r,s)},focusMenubar:(e,r)=>{e.focusMenubar(r)},focusToolbar:(e,r)=>{e.focusToolbar(r)},setViews:(e,r,s)=>{e.setViews(r,s)},toggleView:(e,r,s)=>e.toggleView(r,s),whichView:(e,r)=>e.whichView(r)}});const aA={file:{title:"File",items:"newdocument restoredraft | preview | export print | deleteallconversations"},edit:{title:"Edit",items:"undo redo | cut copy paste pastetext | selectall | searchreplace"},view:{title:"View",items:"code | visualaid visualchars visualblocks | spellchecker | preview fullscreen | showcomments"},insert:{title:"Insert",items:"image link media addcomment pageembed template inserttemplate codesample inserttable accordion | charmap emoticons hr | pagebreak nonbreaking anchor tableofcontents footnotes | mergetags | insertdatetime"},format:{title:"Format",items:"bold italic underline strikethrough superscript subscript codeformat | styles blocks fontfamily fontsize align lineheight | forecolor backcolor | language | removeformat"},tools:{title:"Tools",items:"aidialog aishortcuts | spellchecker spellcheckerlanguage | autocorrect capitalization | a11ycheck code typography wordcount addtemplate"},table:{title:"Table",items:"inserttable | cell row column | advtablesort | tableprops deletetable"},help:{title:"Help",items:"help"}},Bk=e=>e.split(" "),sA=(e,r)=>{const s={...aA,...r.menus},l=Vt(r.menus).length>0,m=r.menubar===void 0||r.menubar===!0?Bk("file edit view insert format tools table help"):Bk(r.menubar===!1?"":r.menubar),g=Pt(m,x=>{const w=Vo(aA,x);return l?w||Xt(r.menus,x).exists(S=>Vo(S,"items")):w}),h=dt(g,x=>{const w=s[x];return((S,A,N)=>{const F=Dx(N).split(/[ ,]/);return{text:S.title,getItems:()=>ct(S.items,$=>{const W=$.toLowerCase();return W.trim().length===0||uo(F,se=>se===W)?[]:W==="separator"||W==="|"?[{type:"separator"}]:A.menuItems[W]?[A.menuItems[W]]:[]})}})({title:w.title,items:Bk(w.items)},r,e)});return Pt(h,x=>x.getItems().length>0&&uo(x.getItems(),w=>to(w)||w.type!=="separator"))},Af=(e,r,s)=>(e.on("remove",()=>s.unload(r)),s.load(r)),Fk=(e,r,s,l)=>(e.on("remove",()=>l.unloadRawCss(r)),l.loadRawCss(r,s)),a5=async(e,r)=>{const s="ui/"+e0(e).getOr("default")+"/skin.css",l=tinymce.Resource.get(s);return to(l)?Promise.resolve(Fk(e,s,l,e.ui.styleSheetLoader)):Af(e,r+"/skin.min.css",e.ui.styleSheetLoader)},Lk=async(e,r)=>{var s;if(s=St(e.getElement()),va(s).isSome()){const l="ui/"+e0(e).getOr("default")+"/skin.shadowdom.css",m=tinymce.Resource.get(l);return to(m)?(Fk(e,l,m,Qb.DOM.styleSheetLoader),Promise.resolve()):Af(e,r+"/skin.shadowdom.min.css",Qb.DOM.styleSheetLoader)}},Zh=(e,r)=>(async(s,l)=>{e0(l).fold(()=>{const g=Q1(l);g&&l.contentCSS.push(g+(s?"/content.inline":"/content")+".min.css")},g=>{const h="ui/"+g+(s?"/content.inline":"/content")+".css",x=tinymce.Resource.get(h);if(to(x))Fk(l,h,x,l.ui.styleSheetLoader);else{const w=Q1(l);w&&l.contentCSS.push(w+(s?"/content.inline":"/content")+".min.css")}});const m=Q1(l);if(!s2(l)&&to(m))return Promise.all([a5(l,m),Lk(l,m)]).then()})(e,r).then((s=>{const l=()=>{s._skinLoaded=!0,(m=>{m.dispatch("SkinLoaded")})(s)};return()=>{s.initialized?l():s.on("init",l)}})(r),((s,l)=>()=>((m,g)=>{m.dispatch("SkinLoadError",g)})(s,{message:"Skin could not be loaded"}))(r)),Ik=rt(Zh,!1),Pk=rt(Zh,!0),qh=(e,r,s)=>e.translate([r,e.translate(s)]),Zc=(e,r)=>{const s=(g,h,x,w)=>{const S=e.shared.providers.translate(g.title);if(g.type==="separator")return R.some({type:"separator",text:S});if(g.type==="submenu"){const A=ct(g.getStyleItems(),N=>l(N,h,w));return h===0&&A.length<=0?R.none():R.some({type:"nestedmenuitem",text:S,enabled:A.length>0,getSubmenuItems:()=>ct(g.getStyleItems(),N=>l(N,h,w))})}return R.some({type:"togglemenuitem",text:S,icon:g.icon,active:g.isSelected(w),enabled:!x,onAction:r.onAction(g),...g.getStylePreview().fold(()=>({}),A=>({meta:{style:A}}))})},l=(g,h,x)=>{const w=g.type==="formatter"&&r.isInvalid(g);return h===0?w?[]:s(g,h,!1,x).toArray():s(g,h,w,x).toArray()},m=g=>{const h=r.getCurrentValue(),x=r.shouldHide?0:1;return ct(g,w=>l(w,x,h))};return{validateItems:m,getFetch:(g,h)=>(x,w)=>{const S=h(),A=m(S);w(Ny(A,Oc.CLOSE_ON_EXECUTE,g,{isHorizontalMenu:!1,search:R.none()}))}}},gp=(e,r,s)=>{const l=s.dataset,m=l.type==="basic"?()=>dt(l.data,g=>OS(g,s.isSelectedFor,s.getPreviewFor)):l.getData;return{items:Zc(r,s),getStyleItems:m}},Uy=(e,r,s,l,m)=>{const{items:g,getStyleItems:h}=gp(0,r,s);return oS({text:s.icon.isSome()?R.none():s.text,icon:s.icon,tooltip:R.from(s.tooltip),role:R.none(),fetch:g.getFetch(r,h),onSetup:x=>{const w=S=>x.setTooltip(qh(e,l,S.value));return e.on(m,w),dw(Jm(e,"NodeChange",S=>{const A=S.getComponent();s.updateText(A),Qn.set(S.getComponent(),!e.selection.isEditable())})(x),()=>e.off(m,w))},getApi:x=>({getComponent:me(x),setTooltip:w=>{const S=r.shared.providers.translate(w);Os(x.element,{"aria-label":S,title:S})}}),columns:1,presets:"normal",classes:s.icon.isSome()?[]:["bespoke"],dropdownBehaviours:[]},"tox-tbtn",r.shared)};var Wh;(function(e){e[e.SemiColon=0]="SemiColon",e[e.Space=1]="Space"})(Wh||(Wh={}));const h3=(e,r,s)=>{const l=(m=((g,h)=>h===Wh.SemiColon?g.replace(/;$/,"").split(";"):g.split(" "))(e.options.get(r),s),dt(m,g=>{let h=g,x=g;const w=g.split("=");return w.length>1&&(h=w[0],x=w[1]),{title:h,format:x}}));var m;return{type:"basic",data:l}},pp="Alignment {0}",iA="left",Hk=[{title:"Left",icon:"align-left",format:"alignleft",command:"JustifyLeft"},{title:"Center",icon:"align-center",format:"aligncenter",command:"JustifyCenter"},{title:"Right",icon:"align-right",format:"alignright",command:"JustifyRight"},{title:"Justify",icon:"align-justify",format:"alignjustify",command:"JustifyFull"}],Gh=e=>{const r={type:"basic",data:Hk};return{tooltip:qh(e,pp,iA),text:R.none(),icon:R.some("align-left"),isSelectedFor:s=>()=>e.formatter.match(s),getCurrentValue:R.none,getPreviewFor:s=>R.none,onAction:s=>()=>oo(Hk,l=>l.format===s.format).each(l=>e.execCommand(l.command)),updateText:s=>{const l=oo(Hk,m=>e.formatter.match(m.format)).fold(me(iA),m=>m.title.toLowerCase());_n(s,ip,{icon:`align-${l}`}),((m,g)=>{m.dispatch("AlignTextUpdate",g)})(e,{value:l})},dataset:r,shouldHide:!1,isInvalid:s=>!e.formatter.canApply(s.format)}},dv=(e,r)=>{const s=r(),l=dt(s,m=>m.format);return R.from(e.formatter.closest(l)).bind(m=>oo(s,g=>g.format===m)).orThunk(()=>ln(e.formatter.match("p"),{title:"Paragraph",format:"p"}))},b3="Block {0}",Of="Paragraph",lA=e=>{const r=h3(e,"block_formats",Wh.SemiColon);return{tooltip:qh(e,b3,Of),text:R.some(Of),icon:R.none(),isSelectedFor:s=>()=>e.formatter.match(s),getCurrentValue:R.none,getPreviewFor:s=>()=>{const l=e.formatter.get(s);return l?R.some({tag:l.length>0&&(l[0].inline||l[0].block)||"div",styles:e.dom.parseStyle(e.formatter.getCssText(s))}):R.none()},onAction:w0(e),updateText:s=>{const l=dv(e,()=>r.data).fold(me(Of),m=>m.title);_n(s,dd,{text:l}),((m,g)=>{m.dispatch("BlocksTextUpdate",g)})(e,{value:l})},dataset:r,shouldHide:!1,isInvalid:s=>!e.formatter.canApply(s.format)}},cA="Font {0}",Kh="System Font",s5=["-apple-system","Segoe UI","Roboto","Helvetica Neue","sans-serif"],y3=e=>{const r=e.split(/\s*,\s*/);return dt(r,s=>s.replace(/^['"]+|['"]+$/g,""))},t=(e,r)=>r.length>0&>(r,s=>e.indexOf(s.toLowerCase())>-1),o=e=>{const r=()=>{const l=S=>S?y3(S)[0]:"",m=e.queryCommandValue("FontName"),g=s.data,h=m?m.toLowerCase():"",x=a2(e);return{matchOpt:oo(g,S=>{const A=S.format;return A.toLowerCase()===h||l(A).toLowerCase()===l(h).toLowerCase()}).orThunk(()=>ln(((S,A)=>{if(S.indexOf("-apple-system")===0||A.length>0){const N=y3(S.toLowerCase());return t(N,s5)||t(N,A)}return!1})(h,x),{title:Kh,format:h})),font:m}},s=h3(e,"font_family_formats",Wh.SemiColon);return{tooltip:qh(e,cA,Kh),text:R.some(Kh),icon:R.none(),isSelectedFor:l=>m=>m.exists(g=>g.format===l),getCurrentValue:()=>{const{matchOpt:l}=r();return l},getPreviewFor:l=>()=>R.some({tag:"div",styles:l.indexOf("dings")===-1?{"font-family":l}:{}}),onAction:l=>()=>{e.undoManager.transact(()=>{e.focus(),e.execCommand("FontName",!1,l.format)})},updateText:l=>{const{matchOpt:m,font:g}=r(),h=m.fold(me(g),x=>x.title);_n(l,dd,{text:h}),((x,w)=>{x.dispatch("FontFamilyTextUpdate",w)})(e,{value:h})},dataset:s,shouldHide:!1,isInvalid:Bo}},n={unsupportedLength:["em","ex","cap","ch","ic","rem","lh","rlh","vw","vh","vi","vb","vmin","vmax","cm","mm","Q","in","pc","pt","px"],fixed:["px","pt"],relative:["%"],empty:[""]},a=(()=>{const e="[0-9]+",r="[eE][+-]?"+e,s=m=>`(?:${m})?`,l=["Infinity",e+"\\."+s(e)+s(r),"\\."+e+s(r),e+s(r)].join("|");return new RegExp(`^([+-]?(?:${l}))(.*)$`)})(),i=(e,r)=>R.from(a.exec(e)).bind(s=>{const l=Number(s[1]),m=s[2];return((g,h)=>uo(h,x=>uo(n[x],w=>g===w)))(m,r)?R.some({value:l,unit:m}):R.none()}),c={tab:me(9),escape:me(27),enter:me(13),backspace:me(8),delete:me(46),left:me(37),up:me(38),right:me(39),down:me(40),space:me(32),home:me(36),end:me(35),pageUp:me(33),pageDown:me(34)},d="Font size {0}",u="12pt",f={"8pt":"1","10pt":"2","12pt":"3","14pt":"4","18pt":"5","24pt":"6","36pt":"7"},y={"xx-small":"7pt","x-small":"8pt",small:"10pt",medium:"12pt",large:"14pt","x-large":"18pt","xx-large":"24pt"},v=(e,r)=>/[0-9.]+px$/.test(e)?((s,l)=>{const m=Math.pow(10,l);return Math.round(s*m)/m})(72*parseInt(e,10)/96,r||0)+"pt":Xt(y,e).getOr(e),k=e=>Xt(f,e).getOr(""),E=e=>{const r=()=>{let m=R.none();const g=l.data,h=e.queryCommandValue("FontSize");if(h)for(let x=3;m.isNone()&&x>=0;x--){const w=v(h,x),S=k(w);m=oo(g,A=>A.format===h||A.format===w||A.format===S)}return{matchOpt:m,size:h}},s=me(R.none),l=h3(e,"font_size_formats",Wh.Space);return{tooltip:qh(e,d,u),text:R.some(u),icon:R.none(),isSelectedFor:m=>g=>g.exists(h=>h.format===m),getPreviewFor:s,getCurrentValue:()=>{const{matchOpt:m}=r();return m},onAction:m=>()=>{e.undoManager.transact(()=>{e.focus(),e.execCommand("FontSize",!1,m.format)})},updateText:m=>{const{matchOpt:g,size:h}=r(),x=g.fold(me(h),w=>w.title);_n(m,dd,{text:x}),((w,S)=>{w.dispatch("FontSizeTextUpdate",S)})(e,{value:x})},dataset:l,shouldHide:!1,isInvalid:Bo}},B="Format {0}",O=(e,r)=>{const s="Paragraph";return{tooltip:qh(e,B,s),text:R.some(s),icon:R.none(),isSelectedFor:l=>()=>e.formatter.match(l),getCurrentValue:R.none,getPreviewFor:l=>()=>{const m=e.formatter.get(l);return m!==void 0?R.some({tag:m.length>0&&(m[0].inline||m[0].block)||"div",styles:e.dom.parseStyle(e.formatter.getCssText(l))}):R.none()},onAction:w0(e),updateText:l=>{const m=x=>zS(x)?ct(x.items,m):AS(x)?[{title:x.title,format:x.format}]:[],g=ct(dz(e),m),h=dv(e,me(g)).fold(me(s),x=>x.title);_n(l,dd,{text:h}),((x,w)=>{x.dispatch("StylesTextUpdate",w)})(e,{value:h})},shouldHide:Nx(e),isInvalid:l=>!e.formatter.canApply(l.format),dataset:r}},P=me([Yt("toggleClass"),Yt("fetch"),nu("onExecute"),ft("getHotspot",R.some),ft("getAnchorOverrides",me({})),hm(),nu("onItemExecute"),la("lazySink"),Yt("dom"),Hr("onOpen"),qi("splitDropdownBehaviours",[js,Dn,er]),ft("matchWidth",!1),ft("useMinWidth",!1),ft("eventOrder",{}),la("role")].concat(E0())),M=Eo({factory:wl,schema:[Yt("dom")],name:"arrow",defaults:()=>({buttonBehaviours:Oo([er.revoke()])}),overrides:e=>({dom:{tag:"span",attributes:{role:"presentation"}},action:r=>{r.getSystem().getByUid(e.uid).each(Qd)},buttonBehaviours:Oo([Dr.config({toggleOnExecute:!1,toggleClass:e.toggleClass})])})}),j=Eo({factory:wl,schema:[Yt("dom")],name:"button",defaults:()=>({buttonBehaviours:Oo([er.revoke()])}),overrides:e=>({dom:{tag:"span",attributes:{role:"presentation"}},action:r=>{r.getSystem().getByUid(e.uid).each(s=>{e.onExecute(s,r)})}})}),q=me([M,j,No({factory:{sketch:e=>({uid:e.uid,dom:{tag:"span",styles:{display:"none"},attributes:{"aria-hidden":"true"},innerHtml:e.text}})},schema:[Yt("text")],name:"aria-descriptor"}),Do({schema:[jf()],name:"menu",defaults:e=>({onExecute:(r,s)=>{r.getSystem().getByUid(e.uid).each(l=>{e.onItemExecute(l,r,s)})}})}),FE()]),K=Wl({name:"SplitDropdown",configFields:P(),partFields:q(),factory:(e,r,s,l)=>{const m=S=>{Gr.getCurrent(S).each(A=>{ba.highlightFirst(A),Dn.focusIn(A)})},g=S=>{S0(e,Ze,S,l,m,Gl.HighlightMenuAndItem).get(he)},h=S=>{const A=li(S,e,"button");return Qd(A),R.some(!0)},x={...qa([La((S,A)=>{ua(S,e,"aria-descriptor").each(N=>{const F=un("aria");Kn(N.element,"id",F),Kn(S.element,"aria-describedby",F)})})]),...B1(R.some(g))},w={repositionMenus:S=>{Dr.isOn(S)&&bw(S)}};return{uid:e.uid,dom:e.dom,components:r,apis:w,eventOrder:{...e.eventOrder,[fl()]:["disabling","toggling","alloy.base.behaviour"]},events:x,behaviours:Fi(e.splitDropdownBehaviours,[js.config({others:{sandbox:S=>{const A=li(S,e,"arrow");return hw(e,S,{onOpen:()=>{Dr.on(A),Dr.on(S)},onClose:()=>{Dr.off(A),Dr.off(S)}})}}}),Dn.config({mode:"special",onSpace:h,onEnter:h,onDown:S=>(g(S),R.some(!0))}),er.config({}),Dr.config({toggleOnExecute:!1,aria:{mode:"expanded"}})]),domModification:{attributes:{role:e.role.getOr("button"),"aria-haspopup":!0}}}},apis:{repositionMenus:(e,r)=>e.repositionMenus(r)}}),re=e=>({isEnabled:()=>!Qn.isDisabled(e),setEnabled:r=>Qn.set(e,!r),setText:r=>_n(e,dd,{text:r}),setIcon:r=>_n(e,ip,{icon:r})}),ee=e=>({setActive:r=>{Dr.set(e,r)},isActive:()=>Dr.isOn(e),isEnabled:()=>!Qn.isDisabled(e),setEnabled:r=>Qn.set(e,!r),setText:r=>_n(e,dd,{text:r}),setIcon:r=>_n(e,ip,{icon:r})}),ke=(e,r)=>e.map(s=>({"aria-label":r.translate(s),title:r.translate(s)})).getOr({}),et=un("focus-button"),st=(e,r,s,l,m)=>{const g=r.map(x=>Ta(tS(x,"tox-tbtn",m))),h=e.map(x=>Ta(sp(x,m.icons)));return{dom:{tag:"button",classes:["tox-tbtn"].concat(r.isSome()?["tox-tbtn--select"]:[]),attributes:ke(s,m)},components:Eh([h.map(x=>x.asSpec()),g.map(x=>x.asSpec())]),eventOrder:{[ai()]:["focusing","alloy.base.behaviour",xf],[Rc()]:[xf,"toolbar-group-button-events"]},buttonBehaviours:Oo([j2(m.isDisabled),Wi(),Tr(xf,[La((x,w)=>H0(x)),Kt(dd,(x,w)=>{g.bind(S=>S.getOpt(x)).each(S=>{fr.set(S,[Ya(m.translate(w.event.text))])})}),Kt(ip,(x,w)=>{h.bind(S=>S.getOpt(x)).each(S=>{fr.set(S,[sp(w.event.icon,m.icons)])})}),Kt(ai(),(x,w)=>{w.event.prevent(),$r(x,et)})])].concat(l.getOr([])))}},mt=(e,r,s)=>{var l;const m=Sn(he),g=st(e.icon,e.text,e.tooltip,R.none(),s);return wl.sketch({dom:g.dom,components:g.components,eventOrder:eS,buttonBehaviours:{...Oo([Tr("toolbar-button-events",[(h={onAction:e.onAction,getApi:r.getApi},Cc((x,w)=>{f0(h,x)(S=>{_n(x,QC,{buttonApi:S}),h.onAction(S)})})),Kg(r,m),Yg(r,m)]),j2(()=>!e.enabled||s.isDisabled()),Wi()].concat(r.toolbarButtonBehaviours)),[xf]:(l=g.buttonBehaviours)===null||l===void 0?void 0:l[xf]}});var h},kt=(e,r,s)=>mt(e,{toolbarButtonBehaviours:s.length>0?[Tr("toolbarButtonWith",s)]:[],getApi:re,onSetup:e.onSetup},r),Ve=(e,r,s)=>mt(e,{toolbarButtonBehaviours:[fr.config({}),Dr.config({toggleClass:"tox-tbtn--enabled",aria:{mode:"pressed"},toggleOnExecute:!1})].concat(s.length>0?[Tr("toolbarToggleButtonWith",s)]:[]),getApi:ee,onSetup:e.onSetup},r),ot=(e,r,s)=>l=>Qg(m=>r.fetch(m)).map(m=>R.from(yw(Da(aC(un("menu-value"),m,g=>{r.onItemAction(e(l),g)},r.columns,r.presets,Oc.CLOSE_ON_EXECUTE,r.select.getOr(Bo),s),{movement:_0(r.columns,r.presets),menuBehaviours:cy(r.columns!=="auto"?[]:[La((g,h)=>{Qx(g,4,h2(r.presets)).each(({numRows:x,numColumns:w})=>{Dn.setGridSize(g,x,w)})})])})))),pt=[{name:"history",items:["undo","redo"]},{name:"ai",items:["aidialog","aishortcuts"]},{name:"styles",items:["styles"]},{name:"formatting",items:["bold","italic"]},{name:"alignment",items:["alignleft","aligncenter","alignright","alignjustify"]},{name:"indentation",items:["outdent","indent"]},{name:"permanent pen",items:["permanentpen"]},{name:"comments",items:["addcomment"]}],Jt=(e,r)=>(s,l,m)=>{const g=e(s).mapError(h=>El(h)).getOrDie();return r(g,l,m)},Qo={button:Jt(M2,(e,r)=>{return s=e,l=r.shared.providers,kt(s,l,[]);var s,l}),togglebutton:Jt(m0,(e,r)=>{return s=e,l=r.shared.providers,Ve(s,l,[]);var s,l}),menubutton:Jt(QS,(e,r)=>cp(e,"tox-tbtn",r,R.none(),!1)),splitbutton:Jt(e=>ka("SplitButton",e3,e),(e,r)=>((s,l)=>{const m=x=>({isEnabled:()=>!Qn.isDisabled(x),setEnabled:w=>Qn.set(x,!w),setIconFill:(w,S)=>{vs(x.element,`svg path[class="${w}"], rect[class="${w}"]`).each(A=>{Kn(A,"fill",S)})},setActive:w=>{Kn(x.element,"aria-pressed",w),vs(x.element,"span").each(S=>{x.getSystem().getByDom(S).each(A=>Dr.set(A,w))})},isActive:()=>vs(x.element,"span").exists(w=>x.getSystem().getByDom(w).exists(Dr.isOn)),setText:w=>vs(x.element,"span").each(S=>x.getSystem().getByDom(S).each(A=>_n(A,dd,{text:w}))),setIcon:w=>vs(x.element,"span").each(S=>x.getSystem().getByDom(S).each(A=>_n(A,ip,{icon:w}))),setTooltip:w=>{const S=l.providers.translate(w);Os(x.element,{"aria-label":S,title:S})}}),g=Sn(he),h={getApi:m,onSetup:s.onSetup};return K.sketch({dom:{tag:"div",classes:["tox-split-button"],attributes:{"aria-pressed":!1,...ke(s.tooltip,l.providers)}},onExecute:x=>{const w=m(x);w.isEnabled()&&s.onAction(w)},onItemExecute:(x,w,S)=>{},splitDropdownBehaviours:Oo([H2(l.providers.isDisabled),Wi(),Tr("split-dropdown-events",[La((x,w)=>H0(x)),Kt(et,er.focus),Kg(h,g),Yg(h,g)]),Cy.config({})]),eventOrder:{[Rc()]:["alloy.base.behaviour","split-dropdown-events"]},toggleClass:"tox-tbtn--enabled",lazySink:l.getSink,fetch:ot(m,s,l.providers),parts:{menu:Ch(0,s.columns,s.presets)},components:[K.parts.button(st(s.icon,s.text,R.none(),R.some([Dr.config({toggleClass:"tox-tbtn--enabled",toggleOnExecute:!1})]),l.providers)),K.parts.arrow({dom:{tag:"button",classes:["tox-tbtn","tox-split-button__chevron"],innerHtml:Y_("chevron-down",l.providers.icons)},buttonBehaviours:Oo([H2(l.providers.isDisabled),Wi(),X_()])}),K.parts["aria-descriptor"]({text:l.providers.translate("To open the popup, press Shift+Enter")})]})})(e,r.shared)),grouptoolbarbutton:Jt(e=>ka("GroupToolbarButton",Rz,e),(e,r,s)=>{const l=s.ui.registry.getAll().buttons,m={[oh]:r.shared.header.isPositionedAtTop()?ju.TopToBottom:ju.BottomToTop};if(ey(s)===Vc.floating)return((g,h,x,w)=>{const S=h.shared,A=Sn(he),N={toolbarButtonBehaviours:[],getApi:re,onSetup:g.onSetup},F=[Tr("toolbar-group-button-events",[Kg(N,A),Yg(N,A)])];return Ef.sketch({lazySink:S.getSink,fetch:()=>Qg($=>{$(dt(x(g.items),Ok))}),markers:{toggledClass:"tox-tbtn--enabled"},parts:{button:st(g.icon,g.text,g.tooltip,R.some(F),S.providers),toolbar:{dom:{tag:"div",classes:["tox-toolbar__overflow"],attributes:w}}}})})(e,r,g=>Nn(s,{buttons:l,toolbar:g,allowToolbarGroups:!1},r,R.none()),m);throw new Error("Toolbar groups are only supported when using floating toolbar mode")})},Fo={styles:(e,r)=>{const s={type:"advanced",...r.styles};return Uy(e,r,O(e,s),B,"StylesTextUpdate")},fontsize:(e,r)=>Uy(e,r,E(e),d,"FontSizeTextUpdate"),fontsizeinput:(e,r)=>((s,l,m)=>{let g=R.none();const h=Jm(s,"NodeChange SwitchMode",X=>{const ue=X.getComponent();g=R.some(ue),m.updateInputValue(ue),Qn.set(ue,!s.selection.isEditable())}),x=X=>({getComponent:me(X)}),w=Sn(he),S=un("custom-number-input-events"),A=(X,ue,ye)=>{const we=g.map(no=>Wo.getValue(no)).getOr(""),Ye=m.getNewValue(we,X),Tt=we.length-`${Ye}`.length,Qt=g.map(no=>no.element.dom.selectionStart-Tt),ro=g.map(no=>no.element.dom.selectionEnd-Tt);m.onAction(Ye,ye),g.each(no=>{Wo.setValue(no,Ye),ue&&(Qt.each(Uo=>no.element.dom.selectionStart=Uo),ro.each(Uo=>no.element.dom.selectionEnd=Uo))})},N=(X,ue)=>A((ye,we)=>ye-we,X,ue),F=(X,ue)=>A((ye,we)=>ye+we,X,ue),$=X=>Go(X.element).fold(R.none,ue=>(sd(ue),R.some(!0))),W=X=>Gf(X.element)?(Ar(X.element).each(ue=>sd(ue)),R.some(!0)):R.none(),se=(X,ue,ye,we)=>{const Ye=Sn(he),Tt=l.shared.providers.translate(ye),Qt=un("altExecuting"),ro=Jm(s,"NodeChange SwitchMode",Uo=>{Qn.set(Uo.getComponent(),!s.selection.isEditable())}),no=Uo=>{Qn.isDisabled(Uo)||X(!0)};return wl.sketch({dom:{tag:"button",attributes:{title:Tt,"aria-label":Tt},classes:we.concat(ue)},components:[wf(ue,l.shared.providers.icons)],buttonBehaviours:Oo([Qn.config({}),Tr(Qt,[Kg({onSetup:ro,getApi:x},Ye),Yg({getApi:x},Ye),Kt(fn(),(Uo,pn)=>{pn.event.raw.keyCode!==c.space()&&pn.event.raw.keyCode!==c.enter()||Qn.isDisabled(Uo)||X(!1)}),Kt(fa(),no),Kt(Hl(),no)])]),eventOrder:{[fn()]:[Qt,"keying"],[fa()]:[Qt,"alloy.base.behaviour"],[Hl()]:[Qt,"alloy.base.behaviour"]}})},le=Ta(se(X=>N(!1,X),"minus","Decrease font size",[])),fe=Ta(se(X=>F(!1,X),"plus","Increase font size",[])),te=Ta({dom:{tag:"div",classes:["tox-input-wrapper"]},components:[df.sketch({inputBehaviours:Oo([Qn.config({}),Tr(S,[Kg({onSetup:h,getApi:x},w),Yg({getApi:x},w)]),Tr("input-update-display-text",[Kt(dd,(X,ue)=>{Wo.setValue(X,ue.event.text)}),Kt(ko(),X=>{m.onAction(Wo.getValue(X))}),Kt(Tn(),X=>{m.onAction(Wo.getValue(X))})]),Dn.config({mode:"special",onEnter:X=>(A(Ze,!0,!0),R.some(!0)),onEscape:$,onUp:X=>(F(!0,!1),R.some(!0)),onDown:X=>(N(!0,!1),R.some(!0)),onLeft:(X,ue)=>(ue.cut(),R.none()),onRight:(X,ue)=>(ue.cut(),R.none())})])})],behaviours:Oo([er.config({}),Dn.config({mode:"special",onEnter:W,onSpace:W,onEscape:$}),Tr("input-wrapper-events",[Kt(Te(),X=>{Ie([le,fe],ue=>{const ye=St(ue.get(X).element.dom);Gf(ye)&&hb(ye)})})])])});return{dom:{tag:"div",classes:["tox-number-input"]},components:[le.asSpec(),te.asSpec(),fe.asSpec()],behaviours:Oo([er.config({}),Dn.config({mode:"flow",focusInside:qb.OnEnterOrSpaceMode,cycles:!1,selector:"button, .tox-input-wrapper",onEscape:X=>Gf(X.element)?R.none():(sd(X.element),R.some(!0))})])}})(e,r,(s=>{const l=()=>s.queryCommandValue("FontSize");return{updateInputValue:m=>_n(m,dd,{text:l()}),onAction:(m,g)=>s.execCommand("FontSize",!1,m,{skip_focus:!g}),getNewValue:(m,g)=>{i(m,["unsupportedLength","empty"]);const h=l(),x=i(m,["unsupportedLength","empty"]).or(i(h,["unsupportedLength","empty"])),w=x.map($=>$.value).getOr(16),S=Fx(s),A=x.map($=>$.unit).filter($=>$!=="").getOr(S),N=g(w,($=>{var W;return(W={em:{step:.1},cm:{step:.1},in:{step:.1},pc:{step:.1},ch:{step:.1},rem:{step:.1}}[$])!==null&&W!==void 0?W:{step:1}})(A).step),F=`${($=>$>=0)(N)?N:w}${A}`;return F!==h&&(($,W)=>{$.dispatch("FontSizeInputTextUpdate",W)})(s,{value:F}),F}}})(e)),fontfamily:(e,r)=>Uy(e,r,o(e),cA,"FontFamilyTextUpdate"),blocks:(e,r)=>Uy(e,r,lA(e),b3,"BlocksTextUpdate"),align:(e,r)=>Uy(e,r,Gh(e),pp,"AlignTextUpdate")},Nn=(e,r,s,l)=>{const m=(h=>{const x=h.toolbar,w=h.buttons;return x===!1?[]:x===void 0||x===!0?(S=>{const A=dt(pt,N=>{const F=Pt(N.items,$=>Vo(S,$)||Vo(Fo,$));return{name:N.name,items:F}});return Pt(A,N=>N.items.length>0)})(w):to(x)?(S=>{const A=S.split("|");return dt(A,N=>({items:N.trim().split(" ")}))})(x):(S=>co(S,A=>Vo(A,"name")&&Vo(A,"items")))(x)?x:(console.error("Toolbar type should be string, string[], boolean or ToolbarGroup[]"),[])})(r),g=dt(m,h=>{const x=ct(h.items,w=>w.trim().length===0?[]:((S,A,N,F,$,W)=>Xt(A,N.toLowerCase()).orThunk(()=>W.bind(se=>Gt(se,le=>Xt(A,le+N.toLowerCase())))).fold(()=>Xt(Fo,N.toLowerCase()).map(se=>se(S,$)),se=>se.type!=="grouptoolbarbutton"||F?((le,fe,te)=>Xt(Qo,le.type).fold(()=>(console.error("skipping button defined by",le),R.none()),X=>R.some(X(le,fe,te))))(se,$,S):(console.warn(`Ignoring the '${N}' toolbar button. Group toolbar buttons are only supported when using floating toolbar mode and cannot be nested.`),R.none())))(e,r.buttons,w,r.allowToolbarGroups,s,l).toArray());return{title:R.from(e.translate(h.name)),items:x}});return Pt(g,h=>h.items.length>0)},An=(e,r,s,l)=>{const m=r.mainUi.outerContainer,g=s.toolbar,h=s.buttons;if(co(g,to)){const x=g.map(w=>{const S={toolbar:w,buttons:h,allowToolbarGroups:s.allowToolbarGroups};return Nn(e,S,l,R.none())});Ja.setToolbars(m,x)}else Ja.setToolbar(m,Nn(e,s,l,R.none()))},Jn=Yl(),jn=Jn.os.isiOS()&&Jn.os.version.major<=12;var cn=Object.freeze({__proto__:null,render:(e,r,s,l,m)=>{const{mainUi:g,uiMotherships:h}=r,x=Sn(0),w=g.outerContainer;Ik(e);const S=St(m.targetNode),A=Sr(rr(S));Vp(S,g.mothership),((W,se,le)=>{qg(W)&&Vp(le.mainUi.mothership.element,le.popupUi.mothership),mh(se,le.dialogUi.mothership)})(e,A,r),e.on("SkinLoaded",()=>{Ja.setSidebar(w,s.sidebar,jx(e)),An(e,r,s,l),x.set(e.getWin().innerWidth),Ja.setMenubar(w,sA(e,s)),Ja.setViews(w,s.views),((W,se)=>{const{uiMotherships:le}=se,fe=W.dom;let te=W.getWin();const X=W.getDoc().documentElement,ue=Sn(kn(te.innerWidth,te.innerHeight)),ye=Sn(kn(X.offsetWidth,X.offsetHeight)),we=()=>{const ro=ue.get();ro.left===te.innerWidth&&ro.top===te.innerHeight||(ue.set(kn(te.innerWidth,te.innerHeight)),K2(W))},Ye=()=>{const ro=W.getDoc().documentElement,no=ye.get();no.left===ro.offsetWidth&&no.top===ro.offsetHeight||(ye.set(kn(ro.offsetWidth,ro.offsetHeight)),K2(W))},Tt=ro=>{((no,Uo)=>{no.dispatch("ScrollContent",Uo)})(W,ro)};fe.bind(te,"resize",we),fe.bind(te,"scroll",Tt);const Qt=Qf(St(W.getBody()),"load",Ye);W.on("hide",()=>{Ie(le,ro=>{Bn(ro.element,"display","none")})}),W.on("show",()=>{Ie(le,ro=>{Pr(ro.element,"display")})}),W.on("NodeChange",Ye),W.on("remove",()=>{Qt.unbind(),fe.unbind(te,"resize",we),fe.unbind(te,"scroll",Tt),te=null})})(e,r)});const N=Ja.getSocket(w).getOrDie("Could not find expected socket element");if(jn){ji(N.element,{overflow:"scroll","-webkit-overflow-scrolling":"touch"});const W=((le,fe)=>{let te=null;return{cancel:()=>{Ro(te)||(clearTimeout(te),te=null)},throttle:(...X)=>{Ro(te)&&(te=setTimeout(()=>{te=null,le.apply(null,X)},20))}}})(()=>{e.dispatch("ScrollContent")}),se=Ul(N.element,"scroll",W.throttle);e.on("remove",se.unbind)}ew(e,r),e.addCommand("ToggleSidebar",(W,se)=>{Ja.toggleSidebar(w,se),e.dispatch("ToggleSidebar")}),e.addQueryValueHandler("ToggleSidebar",()=>{var W;return(W=Ja.whichSidebar(w))!==null&&W!==void 0?W:""}),e.addCommand("ToggleView",(W,se)=>{if(Ja.toggleView(w,se)){const le=w.element;g.mothership.broadcastOn([Bd()],{target:le}),Ie(h,fe=>{fe.broadcastOn([Bd()],{target:le})}),Ro(Ja.whichView(w))&&(e.focus(),e.nodeChanged(),Ja.refreshToolbar(w))}}),e.addQueryValueHandler("ToggleView",()=>{var W;return(W=Ja.whichView(w))!==null&&W!==void 0?W:""});const F=ey(e);F!==Vc.sliding&&F!==Vc.floating||e.on("ResizeWindow ResizeEditor ResizeContent",()=>{const W=e.getWin().innerWidth;W!==x.get()&&(Ja.refreshToolbar(r.mainUi.outerContainer),x.set(W))});const $={setEnabled:W=>{uy(r,!W)},isEnabled:()=>!Qn.isDisabled(w)};return{iframeContainer:N.element.dom,editorContainer:w.element.dom,api:$}}});const vn=e=>/^[0-9\.]+(|px)$/i.test(""+e)?R.some(parseInt(""+e,10)):R.none(),cr=e=>So(e)?e+"px":e,Qe=(e,r,s)=>{const l=r.filter(g=>ee>g);return l.or(m).getOr(e)},nt=e=>{const r=zx(e),s=Ax(e),l=K1(e);return vn(r).map(m=>Qe(m,s,l))},{ToolbarLocation:io,ToolbarMode:mo}=W4,yo=(e,r,s,l,m)=>{const{mainUi:g,uiMotherships:h}=s,x=Qb.DOM,w=kh(e),S=_h(e),A=K1(e).or(nt(e)),N=l.shared.header,F=N.isPositionedAtTop,$=ey(e),W=$===mo.sliding||$===mo.floating,se=Sn(!1),le=()=>se.get()&&!e.removed,fe=ye=>W?ye.fold(me(0),we=>we.components().length>1?Nt(we.components()[1].element):0):0,te=()=>{Ie(h,ye=>{ye.broadcastOn([Dg()],{})})},X=ye=>{if(!le())return;w||m.on(Ye=>{const Tt=A.getOrThunk(()=>{const Qt=vn(aa(ws(),"margin-left")).getOr(0);return Ga(ws())-Or(r).left+Qt});Bn(Ye.element,"max-width",Tt+"px")});const we=w?R.none():(()=>{if(w)return R.none();if(Or(g.outerContainer.element).left+Q(g.outerContainer.element)>=window.innerWidth-40||Ir(g.outerContainer.element,"width").isSome()){Bn(g.outerContainer.element,"position","absolute"),Bn(g.outerContainer.element,"left","0px"),Pr(g.outerContainer.element,"width");const Ye=Q(g.outerContainer.element);return R.some(Ye)}return R.none()})();W&&Ja.refreshToolbar(g.outerContainer),w||(Ye=>{m.on(Tt=>{const Qt=Ja.getToolbar(g.outerContainer),ro=fe(Qt),no=Fa(r),{top:Uo,left:pn}=((dr,jr)=>qg(dr)?jS(jr):R.none())(e,g.outerContainer.element).fold(()=>({top:F()?Math.max(no.y-Nt(Tt.element)+ro,0):no.bottom,left:no.x}),dr=>{var jr;const gs=Fa(dr),Vs=(jr=dr.dom.scrollTop)!==null&&jr!==void 0?jr:0,mr=Jo(dr,ws()),Bl=mr?Math.max(no.y-Nt(Tt.element)+ro,0):no.y-gs.y+Vs-Nt(Tt.element)+ro;return{top:F()?Bl:no.bottom,left:mr?no.x:no.x-gs.x}}),Mn={position:"absolute",left:Math.round(pn)+"px",top:Math.round(Uo)+"px"},ar=Ye.map(dr=>{const jr=pa(),gs=window.innerWidth-(pn-jr.left);return{width:Math.max(Math.min(dr,gs),150)+"px"}}).getOr({});ji(g.outerContainer.element,{...Mn,...ar})})})(we),S&&m.on(ye),te()},ue=()=>!(w||!S||!le())&&m.get().exists(ye=>{const we=N.getDockingMode(),Ye=(Qt=>{switch(Y1(e)){case io.auto:const ro=Ja.getToolbar(g.outerContainer),no=fe(ro),Uo=Nt(Qt.element)-no,pn=Fa(r);if(pn.y>Uo)return"top";{const Mn=Io(r),ar=Math.max(Mn.dom.scrollHeight,Nt(Mn));return pn.bottom{di.setModes(Qt,[Tt]),N.setDockingMode(Tt);const ro=F()?ju.TopToBottom:ju.BottomToTop;Kn(Qt.element,oh,ro)}),!0);var Tt});return{isVisible:le,isPositionedAtTop:F,show:()=>{se.set(!0),Bn(g.outerContainer.element,"display","flex"),x.addClass(e.getBody(),"mce-edit-focus"),Ie(h,ye=>{Pr(ye.element,"display")}),ue(),qg(e)?X(ye=>di.isDocked(ye)?di.reset(ye):di.refresh(ye)):X(di.refresh)},hide:()=>{se.set(!1),Bn(g.outerContainer.element,"display","none"),x.removeClass(e.getBody(),"mce-edit-focus"),Ie(h,ye=>{Bn(ye.element,"display","none")})},update:X,updateMode:()=>{ue()&&X(di.reset)},repositionPopups:te}},xn=(e,r)=>{const s=Fa(e);return{pos:r?s.y:s.bottom,bounds:s}};var Wn=Object.freeze({__proto__:null,render:(e,r,s,l,m)=>{const{mainUi:g}=r,h=ms(),x=St(m.targetNode),w=yo(e,x,r,l,h),S=Z4(e);Pk(e);const A=()=>{if(h.isSet())return void w.show();h.set(Ja.getHeader(g.outerContainer).getOrDie());const F=Zx(e);qg(e)?(Vp(x,g.mothership),Vp(x,r.popupUi.mothership)):mh(F,g.mothership),mh(F,r.dialogUi.mothership),An(e,r,s,l),Ja.setMenubar(g.outerContainer,sA(e,s)),w.show(),(($,W,se,le)=>{const fe=Sn(xn(W,se.isPositionedAtTop())),te=we=>{const{pos:Ye,bounds:Tt}=xn(W,se.isPositionedAtTop()),{pos:Qt,bounds:ro}=fe.get(),no=Tt.height!==ro.height||Tt.width!==ro.width;fe.set({pos:Ye,bounds:Tt}),no&&K2($,we),se.isVisible()&&(Qt!==Ye?se.update(di.reset):no&&(se.updateMode(),se.repositionPopups()))};le||($.on("activate",se.show),$.on("deactivate",se.hide)),$.on("SkinLoaded ResizeWindow",()=>se.update(di.reset)),$.on("NodeChange keydown",we=>{requestAnimationFrame(()=>te(we))});let X=0;const ue=Ay(()=>se.update(di.refresh),33);$.on("ScrollWindow",()=>{const we=pa().left;we!==X&&(X=we,ue.throttle()),se.updateMode()}),qg($)&&$.on("ElementScroll",we=>{se.update(di.refresh)});const ye=vg();ye.set(Qf(St($.getBody()),"load",we=>te(we.raw))),$.on("remove",()=>{ye.clear()})})(e,x,w,S),e.nodeChanged()};e.on("show",A),e.on("hide",w.hide),S||(e.on("focus",A),e.on("blur",w.hide)),e.on("init",()=>{(e.hasFocus()||S)&&A()}),ew(e,r);const N={show:A,hide:w.hide,setEnabled:F=>{uy(r,!F)},isEnabled:()=>!Qn.isDisabled(g.outerContainer)};return{editorContainer:g.outerContainer.element.dom,api:N}}});const hr="contexttoolbar-hide",tr=(e,r)=>Kt(QC,(s,l)=>{const m=(g=>({hide:()=>$r(g,Sd()),getValue:()=>Wo.getValue(g)}))(e.get(s));r.onAction(m,l.event.buttonApi)}),Qa=(e,r)=>{const s=e.label.fold(()=>({}),g=>({"aria-label":g})),l=Ta(df.sketch({inputClasses:["tox-toolbar-textfield","tox-toolbar-nav-js"],data:e.initValue(),inputAttributes:s,selectOnFocus:!0,inputBehaviours:Oo([Dn.config({mode:"special",onEnter:g=>m.findPrimary(g).map(h=>(Qd(h),!0)),onLeft:(g,h)=>(h.cut(),R.none()),onRight:(g,h)=>(h.cut(),R.none())})])})),m=((g,h,x)=>{const w=dt(h,S=>Ta(((A,N,F)=>($=>$.type==="contextformtogglebutton")(N)?(($,W,se)=>{const{primary:le,...fe}=W.original,te=Sl(m0({...fe,type:"togglebutton",onAction:he}));return Ve(te,se,[tr($,W)])})(A,N,F):(($,W,se)=>{const{primary:le,...fe}=W.original,te=Sl(M2({...fe,type:"button",onAction:he}));return kt(te,se,[tr($,W)])})(A,N,F))(g,S,x)));return{asSpecs:()=>dt(w,S=>S.asSpec()),findPrimary:S=>Gt(h,(A,N)=>A.primary?R.from(w[N]).bind(F=>F.getOpt(S)).filter(Yo(Qn.isDisabled)):R.none())}})(l,e.commands,r);return[{title:R.none(),items:[l.asSpec()]},{title:R.none(),items:m.asSpecs()}]},En=(e,r,s)=>r.bottom-e.y>=s&&e.bottom-r.y>=s,Ur=e=>{const r=(s=>{const l=s.getBoundingClientRect();if(l.height<=0&&l.width<=0){const m=Xs(St(s.startContainer),s.startOffset).element;return(It(m)?nn(m):R.some(m)).filter(wt).map(g=>g.dom.getBoundingClientRect()).getOr(l)}return l})(e.selection.getRng());if(e.inline){const s=pa();return Ba(s.left+r.left,s.top+r.top,r.width,r.height)}{const s=ts(St(e.getBody()));return Ba(s.x+r.left,s.y+r.top,r.width,r.height)}},Zr=(e,r,s,l=0)=>{const m=cc(window),g=Fa(St(e.getContentAreaContainer())),h=J1(e)||t0(e)||oy(e),{x,width:w}=((S,A,N)=>{const F=Math.max(S.x+N,A.x);return{x:F,width:Math.min(S.right-N,A.right)-F}})(g,m,l);if(e.inline&&!h)return Ba(x,m.y,w,m.height);{const S=r.header.isPositionedAtTop(),{y:A,bottom:N}=((F,$,W,se,le,fe)=>{const te=St(F.getContainer()),X=vs(te,".tox-editor-header").getOr(te),ue=Fa(X),ye=ue.y>=$.bottom,we=se&&!ye;if(F.inline&&we)return{y:Math.max(ue.bottom+fe,W.y),bottom:W.bottom};if(F.inline&&!we)return{y:W.y,bottom:Math.min(ue.y-fe,W.bottom)};const Ye=le==="line"?Fa(te):$;return we?{y:Math.max(ue.bottom+fe,W.y),bottom:Math.min(Ye.bottom-fe,W.bottom)}:{y:Math.max(Ye.y+fe,W.y),bottom:Math.min(ue.y-fe,W.bottom)}})(e,g,m,S,s,l);return Ba(x,A,w,N-A)}},Cr={valignCentre:[],alignCentre:[],alignLeft:["tox-pop--align-left"],alignRight:["tox-pop--align-right"],right:["tox-pop--right"],left:["tox-pop--left"],bottom:["tox-pop--bottom"],top:["tox-pop--top"],inset:["tox-pop--inset"]},Kr={maxHeightFunction:wg(),maxWidthFunction:zk()},cl=e=>e==="node",Vn=(e,r,s,l,m)=>{const g=Ur(e),h=l.lastElement().exists(x=>Jo(s,x));return((x,w)=>{const S=x.selection.getRng(),A=Xs(St(S.startContainer),S.startOffset);return S.startContainer===S.endContainer&&S.startOffset===S.endOffset-1&&Jo(A.element,w)})(e,s)?h?az:Ju:h?((x,w,S)=>{const A=Ir(x,"position");Bn(x,"position",w);const N=En(g,Fa(r),-20)&&!l.isReposition()?BO:az;return A.each(F=>Bn(x,"position",F)),N})(r,l.getMode()):(l.getMode()==="fixed"?m.y+pa().top:m.y)+(Nt(r)+12)<=g.y?Ju:Fy},qr=(e,r,s,l)=>{const m=h=>(x,w,S,A,N)=>({...Vn(e,A,h,s,N)({...x,y:N.y,height:N.height},w,S,A,N),alwaysFit:!0}),g=h=>cl(l)?[m(h)]:[];return r?{onLtr:h=>[yi,Qi,Gs,vl,Wa,Nl].concat(g(h)),onRtl:h=>[yi,Gs,Qi,Wa,vl,Nl].concat(g(h))}:{onLtr:h=>[Nl,yi,vl,Qi,Wa,Gs].concat(g(h)),onRtl:h=>[Nl,yi,Wa,Gs,vl,Qi].concat(g(h))}},Fs=(e,r)=>{const s=Pt(r,g=>g.predicate(e.dom)),{pass:l,fail:m}=_o(s,g=>g.type==="contexttoolbar");return{contextToolbars:l,contextForms:m}},dl=(e,r)=>{const s={},l=[],m=[],g={},h={},x=Vt(e);return Ie(x,w=>{const S=e[w];S.type==="contextform"?((A,N)=>{const F=Sl(ka("ContextForm",XA,N));s[A]=F,F.launch.map($=>{g["form:"+A]={...N.launch,type:$.type==="contextformtogglebutton"?"togglebutton":"button",onAction:()=>{r(F)}}}),F.scope==="editor"?m.push(F):l.push(F),h[A]=F})(w,S):S.type==="contexttoolbar"&&((A,N)=>{var F;(F=N,ka("ContextToolbar",JA,F)).each($=>{N.scope==="editor"?m.push($):l.push($),h[A]=$})})(w,S)}),{forms:s,inNodeScope:l,inEditorScope:m,lookupTable:h,formNavigators:g}},Dl=un("forward-slide"),yc=un("backward-slide"),md=un("change-slide-event"),Rl="tox-pop--resizing",gd="tox-pop--transition",ul=(e,r,s,l)=>{const m=l.backstage,g=m.shared,h=Yl().deviceType.isTouch,x=ms(),w=ms(),S=ms(),A=yl((we=>{const Ye=Sn([]);return Rs.sketch({dom:{tag:"div",classes:["tox-pop"]},fireDismissalEventInstead:{event:"doNotDismissYet"},onShow:Tt=>{Ye.set([]),Rs.getContent(Tt).each(Qt=>{Pr(Qt.element,"visibility")}),rs(Tt.element,Rl),Pr(Tt.element,"width")},inlineBehaviours:Oo([Tr("context-toolbar-events",[Mu(Ni(),(Tt,Qt)=>{Qt.event.raw.propertyName==="width"&&(rs(Tt.element,Rl),Pr(Tt.element,"width"))}),Kt(md,(Tt,Qt)=>{const ro=Tt.element;Pr(ro,"width");const no=Ga(ro);Rs.setContent(Tt,Qt.event.contents),Jr(ro,Rl);const Uo=Ga(ro);Bn(ro,"width",no+"px"),Rs.getContent(Tt).each(pn=>{Qt.event.focus.bind(Mn=>(sd(Mn),gc(ro))).orThunk(()=>(Dn.focusIn(pn),Ts(rr(ro))))}),setTimeout(()=>{Bn(Tt.element,"width",Uo+"px")},0)}),Kt(Dl,(Tt,Qt)=>{Rs.getContent(Tt).each(ro=>{Ye.set(Ye.get().concat([{bar:ro,focus:Ts(rr(Tt.element))}]))}),_n(Tt,md,{contents:Qt.event.forwardContents,focus:R.none()})}),Kt(yc,(Tt,Qt)=>{ze(Ye.get()).each(ro=>{Ye.set(Ye.get().slice(0,Ye.get().length-1)),_n(Tt,md,{contents:Tc(ro.bar),focus:ro.focus})})})]),Dn.config({mode:"special",onEscape:Tt=>ze(Ye.get()).fold(()=>we.onEscape(),Qt=>($r(Tt,yc),R.some(!0)))})]),lazySink:()=>Fr.value(we.sink)})})({sink:s,onEscape:()=>(e.focus(),R.some(!0))})),N=()=>{const we=S.get().getOr("node"),Ye=cl(we)?1:0;return Zr(e,g,we,Ye)},F=()=>!(e.removed||h()&&m.isContextMenuOpen()),$=()=>{if(F()){const we=N(),Ye=Rr(S.get(),"node")?((Tt,Qt)=>Qt.filter(ro=>za(ro)&&Ae(ro)).map(ts).getOrThunk(()=>Ur(Tt)))(e,x.get()):Ur(e);return we.height<=0||!En(Ye,we,.01)}return!0},W=()=>{x.clear(),w.clear(),S.clear(),Rs.hide(A)},se=()=>{if(Rs.isOpen(A)){const we=A.element;Pr(we,"display"),$()?Bn(we,"display","none"):(w.set(0),Rs.reposition(A))}},le=we=>({dom:{tag:"div",classes:["tox-pop__dialog"]},components:[we],behaviours:Oo([Dn.config({mode:"acyclic"}),Tr("pop-dialog-wrap-events",[La(Ye=>{e.shortcuts.add("ctrl+F9","focus statusbar",()=>Dn.focusIn(Ye))}),od(Ye=>{e.shortcuts.remove("ctrl+F9")})])])}),fe=Ee(()=>dl(r,we=>{const Ye=te([we]);_n(A,Dl,{forwardContents:le(Ye)})})),te=we=>{const{buttons:Ye}=e.ui.registry.getAll(),Tt={...Ye,...fe().formNavigators},Qt=ey(e)===Vc.scrolling?Vc.scrolling:Vc.default,ro=$e(dt(we,no=>no.type==="contexttoolbar"?((Uo,pn)=>Nn(e,{buttons:Uo,toolbar:pn.items,allowToolbarGroups:!1},l.backstage,R.some(["form:"])))(Tt,no):((Uo,pn)=>Qa(Uo,pn))(no,g.providers)));return Nk({type:Qt,uid:un("context-toolbar"),initGroups:ro,onEscape:R.none,cyclicKeying:!0,providers:g.providers})},X=(we,Ye)=>{if(ye.cancel(),!F())return;const Tt=te(we),Qt=we[0].position,ro=((Uo,pn)=>{const Mn=Uo==="node"?g.anchors.node(pn):g.anchors.cursor(),ar=((dr,jr,gs,Vs)=>jr==="line"?{bubble:au(12,0,Cr),layouts:{onLtr:()=>[pb],onRtl:()=>[Zf]},overrides:Kr}:{bubble:au(0,12,Cr,1/12),layouts:qr(dr,gs,Vs,jr),overrides:Kr})(e,Uo,h(),{lastElement:x.get,isReposition:()=>Rr(w.get(),0),getMode:()=>xl.getMode(s)});return Da(Mn,ar)})(Qt,Ye);S.set(Qt),w.set(1);const no=A.element;Pr(no,"display"),(Uo=>Rr(vr(Uo,x.get(),Jo),!0))(Ye)||(rs(no,gd),xl.reset(s,A)),Rs.showWithinBounds(A,le(Tt),{anchor:ro,transition:{classes:[gd],mode:"placement"}},()=>R.some(N())),Ye.fold(x.clear,x.set),$()&&Bn(no,"display","none")};let ue=!1;const ye=Ay(()=>{!e.hasFocus()||e.removed||ue||(Di(A.element,gd)?ye.throttle():((we,Ye)=>{const Tt=St(Ye.getBody()),Qt=no=>Jo(no,Tt),ro=St(Ye.selection.getNode());return(no=>!Qt(no)&&!Ce(Tt,no))(ro)?R.none():((no,Uo,pn)=>{const Mn=Fs(no,Uo);if(Mn.contextForms.length>0)return R.some({elem:no,toolbars:[Mn.contextForms[0]]});{const ar=Fs(no,pn);if(ar.contextForms.length>0)return R.some({elem:no,toolbars:[ar.contextForms[0]]});if(Mn.contextToolbars.length>0||ar.contextToolbars.length>0){const dr=(jr=>{if(jr.length<=1)return jr;{const gs=br=>uo(jr,Ii=>Ii.position===br),Vs=br=>Pt(jr,Ii=>Ii.position===br),mr=gs("selection"),Bl=gs("node");if(mr||Bl){if(Bl&&mr){const br=Vs("node"),Ii=dt(Vs("selection"),ls=>({...ls,position:"node"}));return br.concat(Ii)}return Vs(mr?"selection":"node")}return Vs("line")}})(Mn.contextToolbars.concat(ar.contextToolbars));return R.some({elem:no,toolbars:dr})}return R.none()}})(ro,we.inNodeScope,we.inEditorScope).orThunk(()=>((no,Uo,pn)=>no(Uo)?R.none():_c(Uo,Mn=>{if(wt(Mn)){const{contextToolbars:ar,contextForms:dr}=Fs(Mn,pn.inNodeScope),jr=dr.length>0?dr:(gs=>{if(gs.length<=1)return gs;{const Vs=mr=>oo(gs,Bl=>Bl.position===mr);return Vs("selection").orThunk(()=>Vs("node")).orThunk(()=>Vs("line")).map(mr=>mr.position).fold(()=>[],mr=>Pt(gs,Bl=>Bl.position===mr))}})(ar);return jr.length>0?R.some({elem:Mn,toolbars:jr}):R.none()}return R.none()},no))(Qt,ro,we))})(fe(),e).fold(W,we=>{X(we.toolbars,R.some(we.elem))}))},17);e.on("init",()=>{e.on("remove",W),e.on("ScrollContent ScrollWindow ObjectResized ResizeEditor longpress",se),e.on("click keyup focus SetContent",ye.throttle),e.on(hr,W),e.on("contexttoolbar-show",we=>{const Ye=fe();Xt(Ye.lookupTable,we.toolbarKey).each(Tt=>{X([Tt],ln(we.target!==e,we.target)),Rs.getContent(A).each(Dn.focusIn)})}),e.on("focusout",we=>{hx.setEditorTimeout(e,()=>{gc(s.element).isNone()&&gc(A.element).isNone()&&W()},0)}),e.on("SwitchMode",()=>{e.mode.isReadOnly()&&W()}),e.on("AfterProgressState",we=>{we.state?W():e.hasFocus()&&ye.throttle()}),e.on("dragstart",()=>{ue=!0}),e.on("dragend drop",()=>{ue=!1}),e.on("NodeChange",we=>{gc(A.element).fold(ye.throttle,he)})})},ng=(e,r)=>{const s=()=>{const l=r.getOptions(e),m=r.getCurrent(e).map(r.hash),g=ms();return dt(l,h=>({type:"togglemenuitem",text:r.display(h),onSetup:x=>{const w=A=>{A&&(g.on(N=>N.setActive(!1)),g.set(x)),x.setActive(A)};w(Rr(m,r.hash(h)));const S=r.watcher(e,h,w);return()=>{g.clear(),S()}},onAction:()=>r.setCurrent(e,h)}))};e.ui.registry.addMenuButton(r.name,{tooltip:r.text,icon:r.icon,fetch:l=>l(s()),onSetup:r.onToolbarSetup}),e.ui.registry.addNestedMenuItem(r.name,{type:"nestedmenuitem",text:r.text,getSubmenuItems:s,onSetup:r.onMenuSetup})},wu=e=>{ng(e,(r=>({name:"lineheight",text:"Line height",icon:"line-height",getOptions:ty,hash:s=>((l,m)=>i(l,["fixed","relative","empty"]).map(({value:g,unit:h})=>g+h))(s).getOr(s),display:Ze,watcher:(s,l,m)=>s.formatter.formatChanged("lineheight",m,!1,{value:l}).unbind,getCurrent:s=>R.from(s.queryCommandValue("LineHeight")),setCurrent:(s,l)=>s.execCommand("LineHeight",!1,l),onToolbarSetup:hc(r),onMenuSetup:hc(r)}))(e)),(r=>R.from(Mx(r)).map(s=>({name:"language",text:"Language",icon:"language",getOptions:me(s),hash:l=>an(l.customCode)?l.code:`${l.code}/${l.customCode}`,display:l=>l.title,watcher:(l,m,g)=>{var h;return l.formatter.formatChanged("lang",g,!1,{value:m.code,customValue:(h=m.customCode)!==null&&h!==void 0?h:null}).unbind},getCurrent:l=>{const m=St(l.selection.getNode());return qs(m,g=>R.some(g).filter(wt).bind(h=>Ca(h,"lang").map(x=>({code:x,customCode:Ca(h,"data-mce-lang").getOrUndefined(),title:""}))))},setCurrent:(l,m)=>l.execCommand("Lang",!1,m),onToolbarSetup:l=>{const m=vg();return l.setActive(r.formatter.match("lang",{},void 0,!0)),m.set(r.formatter.formatChanged("lang",l.setActive,!0)),dw(m.clear,hc(r)(l))},onMenuSetup:hc(r)})))(e).each(r=>ng(e,r))},tm=e=>Jm(e,"NodeChange",r=>{r.setEnabled(e.queryCommandState("outdent")&&e.selection.isEditable())}),Nf=(e,r)=>s=>{s.setActive(r.get());const l=m=>{r.set(m.state),s.setActive(m.state)};return e.on("PastePlainTextToggle",l),dw(()=>e.off("PastePlainTextToggle",l),hc(e)(s))},Yh=(e,r)=>()=>{e.execCommand("mceToggleFormat",!1,r)},Xh=e=>{(r=>{(s=>{Om.each([{name:"bold",text:"Bold",icon:"bold"},{name:"italic",text:"Italic",icon:"italic"},{name:"underline",text:"Underline",icon:"underline"},{name:"strikethrough",text:"Strikethrough",icon:"strike-through"},{name:"subscript",text:"Subscript",icon:"subscript"},{name:"superscript",text:"Superscript",icon:"superscript"}],(l,m)=>{s.ui.registry.addToggleButton(l.name,{tooltip:l.text,icon:l.icon,onSetup:Th(s,l.name),onAction:Yh(s,l.name)})});for(let l=1;l<=6;l++){const m="h"+l;s.ui.registry.addToggleButton(m,{text:m.toUpperCase(),tooltip:"Heading "+l,onSetup:Th(s,m),onAction:Yh(s,m)})}})(r),(s=>{Om.each([{name:"copy",text:"Copy",action:"Copy",icon:"copy"},{name:"help",text:"Help",action:"mceHelp",icon:"help"},{name:"selectall",text:"Select all",action:"SelectAll",icon:"select-all"},{name:"newdocument",text:"New document",action:"mceNewDocument",icon:"new-document"},{name:"print",text:"Print",action:"mcePrint",icon:"print"}],l=>{s.ui.registry.addButton(l.name,{tooltip:l.text,icon:l.icon,onAction:Kl(s,l.action)})}),Om.each([{name:"cut",text:"Cut",action:"Cut",icon:"cut"},{name:"paste",text:"Paste",action:"Paste",icon:"paste"},{name:"removeformat",text:"Clear formatting",action:"RemoveFormat",icon:"remove-formatting"},{name:"remove",text:"Remove",action:"Delete",icon:"remove"},{name:"hr",text:"Horizontal line",action:"InsertHorizontalRule",icon:"horizontal-rule"}],l=>{s.ui.registry.addButton(l.name,{tooltip:l.text,icon:l.icon,onSetup:hc(s),onAction:Kl(s,l.action)})})})(r),(s=>{Om.each([{name:"blockquote",text:"Blockquote",action:"mceBlockQuote",icon:"quote"}],l=>{s.ui.registry.addToggleButton(l.name,{tooltip:l.text,icon:l.icon,onAction:Kl(s,l.action),onSetup:Th(s,l.name)})})})(r)})(e),(r=>{Om.each([{name:"newdocument",text:"New document",action:"mceNewDocument",icon:"new-document"},{name:"copy",text:"Copy",action:"Copy",icon:"copy",shortcut:"Meta+C"},{name:"selectall",text:"Select all",action:"SelectAll",icon:"select-all",shortcut:"Meta+A"},{name:"print",text:"Print...",action:"mcePrint",icon:"print",shortcut:"Meta+P"}],s=>{r.ui.registry.addMenuItem(s.name,{text:s.text,icon:s.icon,shortcut:s.shortcut,onAction:Kl(r,s.action)})}),Om.each([{name:"bold",text:"Bold",action:"Bold",icon:"bold",shortcut:"Meta+B"},{name:"italic",text:"Italic",action:"Italic",icon:"italic",shortcut:"Meta+I"},{name:"underline",text:"Underline",action:"Underline",icon:"underline",shortcut:"Meta+U"},{name:"strikethrough",text:"Strikethrough",action:"Strikethrough",icon:"strike-through"},{name:"subscript",text:"Subscript",action:"Subscript",icon:"subscript"},{name:"superscript",text:"Superscript",action:"Superscript",icon:"superscript"},{name:"removeformat",text:"Clear formatting",action:"RemoveFormat",icon:"remove-formatting"},{name:"cut",text:"Cut",action:"Cut",icon:"cut",shortcut:"Meta+X"},{name:"paste",text:"Paste",action:"Paste",icon:"paste",shortcut:"Meta+V"},{name:"hr",text:"Horizontal line",action:"InsertHorizontalRule",icon:"horizontal-rule"}],s=>{r.ui.registry.addMenuItem(s.name,{text:s.text,icon:s.icon,shortcut:s.shortcut,onSetup:hc(r),onAction:Kl(r,s.action)})}),r.ui.registry.addMenuItem("codeformat",{text:"Code",icon:"sourcecode",onSetup:hc(r),onAction:Yh(r,"code")})})(e)},qc=(e,r)=>Jm(e,"Undo Redo AddUndo TypingUndo ClearUndos SwitchMode",s=>{s.setEnabled(!e.mode.isReadOnly()&&e.undoManager[r]())}),jk=e=>Jm(e,"VisualAid",r=>{r.setActive(e.hasVisual)}),Ks=(e,r)=>{(s=>{Ie([{name:"alignleft",text:"Align left",cmd:"JustifyLeft",icon:"align-left"},{name:"aligncenter",text:"Align center",cmd:"JustifyCenter",icon:"align-center"},{name:"alignright",text:"Align right",cmd:"JustifyRight",icon:"align-right"},{name:"alignjustify",text:"Justify",cmd:"JustifyFull",icon:"align-justify"}],l=>{s.ui.registry.addToggleButton(l.name,{tooltip:l.text,icon:l.icon,onAction:Kl(s,l.cmd),onSetup:Th(s,l.name)})}),s.ui.registry.addButton("alignnone",{tooltip:"No alignment",icon:"align-none",onSetup:hc(s),onAction:Kl(s,"JustifyNone")})})(e),Xh(e),((s,l)=>{((m,g)=>{const h=gp(0,g,Gh(m));m.ui.registry.addNestedMenuItem("align",{text:g.shared.providers.translate("Align"),onSetup:hc(m),getSubmenuItems:()=>h.items.validateItems(h.getStyleItems())})})(s,l),((m,g)=>{const h=gp(0,g,o(m));m.ui.registry.addNestedMenuItem("fontfamily",{text:g.shared.providers.translate("Fonts"),onSetup:hc(m),getSubmenuItems:()=>h.items.validateItems(h.getStyleItems())})})(s,l),((m,g)=>{const h={type:"advanced",...g.styles},x=gp(0,g,O(m,h));m.ui.registry.addNestedMenuItem("styles",{text:"Formats",onSetup:hc(m),getSubmenuItems:()=>x.items.validateItems(x.getStyleItems())})})(s,l),((m,g)=>{const h=gp(0,g,lA(m));m.ui.registry.addNestedMenuItem("blocks",{text:"Blocks",onSetup:hc(m),getSubmenuItems:()=>h.items.validateItems(h.getStyleItems())})})(s,l),((m,g)=>{const h=gp(0,g,E(m));m.ui.registry.addNestedMenuItem("fontsize",{text:"Font sizes",onSetup:hc(m),getSubmenuItems:()=>h.items.validateItems(h.getStyleItems())})})(s,l)})(e,r),(s=>{(l=>{l.ui.registry.addMenuItem("undo",{text:"Undo",icon:"undo",shortcut:"Meta+Z",onSetup:qc(l,"hasUndo"),onAction:Kl(l,"undo")}),l.ui.registry.addMenuItem("redo",{text:"Redo",icon:"redo",shortcut:"Meta+Y",onSetup:qc(l,"hasRedo"),onAction:Kl(l,"redo")})})(s),(l=>{l.ui.registry.addButton("undo",{tooltip:"Undo",icon:"undo",enabled:!1,onSetup:qc(l,"hasUndo"),onAction:Kl(l,"undo")}),l.ui.registry.addButton("redo",{tooltip:"Redo",icon:"redo",enabled:!1,onSetup:qc(l,"hasRedo"),onAction:Kl(l,"redo")})})(s)})(e),(s=>{(x=>{x.addCommand("mceApplyTextcolor",(w,S)=>{((A,N,F)=>{A.undoManager.transact(()=>{A.focus(),A.formatter.apply(N,{value:F}),A.nodeChanged()})})(x,w,S)}),x.addCommand("mceRemoveTextcolor",w=>{((S,A)=>{S.undoManager.transact(()=>{S.focus(),S.formatter.remove(A,{value:null},void 0,!0),S.nodeChanged()})})(x,w)})})(s);const l=EE(s),m=dO(s),g=Sn(l),h=Sn(m);Pd(s,"forecolor","forecolor",g),Pd(s,"backcolor","hilitecolor",h),pw(s,"forecolor","forecolor","Text color",g),pw(s,"backcolor","hilitecolor","Background color",h)})(e),(s=>{(l=>{l.ui.registry.addButton("visualaid",{tooltip:"Visual aids",text:"Visual aids",onAction:Kl(l,"mceToggleVisualAid")})})(s),(l=>{l.ui.registry.addToggleMenuItem("visualaid",{text:"Visual aids",onSetup:jk(l),onAction:Kl(l,"mceToggleVisualAid")})})(s)})(e),(s=>{(l=>{l.ui.registry.addButton("outdent",{tooltip:"Decrease indent",icon:"outdent",onSetup:tm(l),onAction:Kl(l,"outdent")}),l.ui.registry.addButton("indent",{tooltip:"Increase indent",icon:"indent",onSetup:hc(l),onAction:Kl(l,"indent")})})(s)})(e),wu(e),(s=>{const l=Sn(Hx(s)),m=()=>s.execCommand("mceTogglePlainTextPaste");s.ui.registry.addToggleButton("pastetext",{active:!1,icon:"paste-text",tooltip:"Paste as text",onAction:m,onSetup:Nf(s,l)}),s.ui.registry.addToggleMenuItem("pastetext",{text:"Paste as text",icon:"paste-text",onAction:m,onSetup:Nf(s,l)})})(e)},Dm=e=>to(e)?e.split(/[ ,]/):e,Mf=e=>r=>r.options.get(e),Zy=Mf("contextmenu_never_use_native"),v3=Mf("contextmenu_avoid_overlap"),x3=e=>{const r=e.ui.registry.getAll().contextMenus,s=e.options.get("contextmenu");return e.options.isSet("contextmenu")?s:Pt(s,l=>Vo(r,l))},qy=(e,r)=>({type:"makeshift",x:e,y:r}),dA=e=>e.type==="longpress"||e.type.indexOf("touch")===0,Vk=(e,r)=>r.type==="contextmenu"||r.type==="longpress"?e.inline?(s=>{if(dA(s)){const l=s.touches[0];return qy(l.pageX,l.pageY)}return qy(s.pageX,s.pageY)})(r):((s,l)=>{const m=Qb.DOM.getPos(s);return((g,h,x)=>qy(g.x+h,g.y+x))(l,m.x,m.y)})(e.getContentAreaContainer(),(s=>{if(dA(s)){const l=s.touches[0];return qy(l.clientX,l.clientY)}return qy(s.clientX,s.clientY)})(r)):$k(e),$k=e=>({type:"selection",root:St(e.selection.getNode())}),Df=(e,r,s)=>{switch(s){case"node":return(l=>({type:"node",node:R.some(St(l.selection.getNode())),root:St(l.getBody())}))(e);case"point":return Vk(e,r);case"selection":return $k(e)}},uv=(e,r,s,l,m,g)=>{const h=s(),x=Df(e,r,g);Ny(h,Oc.CLOSE_ON_EXECUTE,l,{isHorizontalMenu:!1,search:R.none()}).map(w=>{r.preventDefault(),Rs.showMenuAt(m,{anchor:x},{menu:{markers:cf("normal")},data:w})})},uA={onLtr:()=>[yi,Qi,Gs,vl,Wa,Nl,Ju,Fy,J0,ck,X0,lk],onRtl:()=>[yi,Gs,Qi,Wa,vl,Nl,Ju,Fy,X0,lk,J0,ck]},mA={valignCentre:[],alignCentre:[],alignLeft:["tox-pop--align-left"],alignRight:["tox-pop--align-right"],right:["tox-pop--right"],left:["tox-pop--left"],bottom:["tox-pop--bottom"],top:["tox-pop--top"]},Uk=(e,r,s,l,m,g)=>{const h=Yl(),x=h.os.isiOS(),w=h.os.isMacOS(),S=h.os.isAndroid(),A=h.deviceType.isTouch(),N=()=>{const F=s();(($,W,se,le,fe,te,X)=>{const ue=((ye,we,Ye)=>{const Tt=Df(ye,we,Ye);return{bubble:au(0,Ye==="point"?12:0,mA),layouts:uA,overrides:{maxWidthFunction:zk(),maxHeightFunction:wg()},...Tt}})($,W,te);Ny(se,Oc.CLOSE_ON_EXECUTE,le,{isHorizontalMenu:!0,search:R.none()}).map(ye=>{W.preventDefault();const we=X?Gl.HighlightMenuAndItem:Gl.HighlightNone;Rs.showMenuWithinBounds(fe,{anchor:ue},{menu:{markers:cf("normal"),highlightOnOpen:we},data:ye,type:"horizontal"},()=>R.some(Zr($,le.shared,te==="node"?"node":"selection"))),$.dispatch(hr)})})(e,r,F,l,m,g,!(S||x||w&&A))};if((w||x)&&g!=="node"){const F=()=>{($=>{const W=$.selection.getRng(),se=()=>{hx.setEditorTimeout($,()=>{$.selection.setRng(W)},10),te()};$.once("touchend",se);const le=X=>{X.preventDefault(),X.stopImmediatePropagation()};$.on("mousedown",le,!0);const fe=()=>te();$.once("longpresscancel",fe);const te=()=>{$.off("touchend",se),$.off("longpresscancel",fe),$.off("mousedown",le)}})(e),N()};(($,W)=>{const se=$.selection;if(se.isCollapsed()||W.touches.length<1)return!1;{const le=W.touches[0],fe=se.getRng();return b1($.getWin(),Hp.domRange(fe)).exists(te=>te.left<=le.clientX&&te.right>=le.clientX&&te.top<=le.clientY&&te.bottom>=le.clientY)}})(e,r)?F():(e.once("selectionchange",F),e.once("touchend",()=>e.off("selectionchange",F)))}else N()},rg=e=>to(e)?e==="|":e.type==="separator",Zk={type:"separator"},w3=e=>{const r=s=>({text:s.text,icon:s.icon,enabled:s.enabled,shortcut:s.shortcut});if(to(e))return e;switch(e.type){case"separator":return Zk;case"submenu":return{type:"nestedmenuitem",...r(e),getSubmenuItems:()=>{const l=e.getSubmenuItems();return to(l)?l:dt(l,w3)}};default:const s=e;return{type:"menuitem",...r(s),onAction:Dt(s.onAction)}}},k3=(e,r)=>{if(r.length===0)return e;const s=ze(e).filter(l=>!rg(l)).fold(()=>[],l=>[Zk]);return e.concat(s).concat(r).concat([Zk])},_3=(e,r)=>!(s=>s.type==="longpress"||Vo(s,"touches"))(r)&&(r.button!==2||r.target===e.getBody()&&r.pointerType===""),gA=(e,r)=>_3(e,r)?e.selection.getStart(!0):r.target,At=(e,r,s)=>{const l=Yl().deviceType.isTouch,m=yl(Rs.sketch({dom:{tag:"div"},lazySink:r,onEscape:()=>e.focus(),onShow:()=>s.setContextMenuState(!0),onHide:()=>s.setContextMenuState(!1),fireDismissalEventInstead:{},inlineBehaviours:Oo([Tr("dismissContextMenu",[Kt(Ou(),(x,w)=>{Lr.close(x),e.focus()})])])})),g=()=>Rs.hide(m),h=x=>{if(Zy(e)&&x.preventDefault(),((S,A)=>A.ctrlKey&&!Zy(S))(e,x)||(S=>x3(S).length===0)(e))return;const w=((S,A)=>{const N=v3(S),F=_3(S,A)?"selection":"point";if(ja(N)){const $=gA(S,A);return Nh(St($),N)?"node":F}return F})(e,x);(l()?Uk:uv)(e,x,()=>{const S=gA(e,x),A=e.ui.registry.getAll(),N=x3(e);return((F,$,W)=>{const se=To($,(le,fe)=>Xt(F,fe.toLowerCase()).map(te=>{const X=te.update(W);if(to(X)&&ja(Ha(X)))return k3(le,X.split(" "));if(Co(X)&&X.length>0){const ue=dt(X,w3);return k3(le,ue)}return le}).getOrThunk(()=>le.concat([fe])),[]);return se.length>0&&rg(se[se.length-1])&&se.pop(),se})(A.contextMenus,N,S)},s,m,w)};e.on("init",()=>{const x="ResizeEditor ScrollContent ScrollWindow longpresscancel"+(l()?"":" ResizeWindow");e.on(x,g),e.on("longpress contextmenu",h)})},On=Ui([{offset:["x","y"]},{absolute:["x","y"]},{fixed:["x","y"]}]),nr=e=>r=>r.translate(-e.left,-e.top),$a=e=>r=>r.translate(e.left,e.top),es=e=>(r,s)=>To(e,(l,m)=>m(l),kn(r,s)),Ls=(e,r,s)=>e.fold(es([$a(s),nr(r)]),es([nr(r)]),es([])),xs=(e,r,s)=>e.fold(es([$a(s)]),es([]),es([$a(r)])),xi=(e,r,s)=>e.fold(es([]),es([nr(s)]),es([$a(r),nr(s)])),Jh=(e,r,s)=>{const l=e.fold((m,g)=>({position:R.some("absolute"),left:R.some(m+"px"),top:R.some(g+"px")}),(m,g)=>({position:R.some("absolute"),left:R.some(m-s.left+"px"),top:R.some(g-s.top+"px")}),(m,g)=>({position:R.some("fixed"),left:R.some(m+"px"),top:R.some(g+"px")}));return{right:R.none(),bottom:R.none(),...l}},C3=(e,r,s,l)=>{const m=(g,h)=>(x,w)=>{const S=g(r,s,l);return h(x.getOr(S.left),w.getOr(S.top))};return e.fold(m(xi,mv),m(xs,Qh),m(Ls,gv))},mv=On.offset,Qh=On.absolute,gv=On.fixed,R5=(e,r)=>{const s=Ma(e,r);return an(s)?NaN:parseInt(s,10)},n6=(e,r,s,l,m,g)=>{const h=((S,A,N,F)=>(($,W)=>{const se=$.element,le=R5(se,W.leftAttr),fe=R5(se,W.topAttr);return isNaN(le)||isNaN(fe)?R.none():R.some(kn(le,fe))})(S,A).fold(()=>N,$=>gv($.left+F.left,$.top+F.top)))(e,r,s,l),x=r.mustSnap?r6(e,r,h,m,g):a6(e,r,h,m,g),w=Ls(h,m,g);return((S,A,N)=>{const F=S.element;Kn(F,A.leftAttr,N.left+"px"),Kn(F,A.topAttr,N.top+"px")})(e,r,w),x.fold(()=>({coord:gv(w.left,w.top),extra:R.none()}),S=>({coord:S.output,extra:S.extra}))},B5=(e,r,s,l)=>Gt(e,m=>{const g=m.sensor;return((x,w,S,A,N,F)=>{const $=xs(x,N,F),W=xs(w,N,F);return Math.abs($.left-W.left)<=S&&Math.abs($.top-W.top)<=A})(r,g,m.range.left,m.range.top,s,l)?R.some({output:C3(m.output,r,s,l),extra:m.extra}):R.none()}),r6=(e,r,s,l,m)=>{const g=r.getSnapPoints(e);return B5(g,s,l,m).orThunk(()=>To(g,(x,w)=>{const S=w.sensor,A=((N,F,$,W,se,le)=>{const fe=xs(N,se,le),te=xs(F,se,le),X=Math.abs(fe.left-te.left),ue=Math.abs(fe.top-te.top);return kn(X,ue)})(s,S,w.range.left,w.range.top,l,m);return x.deltas.fold(()=>({deltas:R.some(A),snap:R.some(w)}),N=>(A.left+A.top)/2<=(N.left+N.top)/2?{deltas:R.some(A),snap:R.some(w)}:x)},{deltas:R.none(),snap:R.none()}).snap.map(x=>({output:C3(x.output,s,l,m),extra:x.extra})))},a6=(e,r,s,l,m)=>{const g=r.getSnapPoints(e);return B5(g,s,l,m)};var s6=Object.freeze({__proto__:null,snapTo:(e,r,s,l)=>{const m=r.getTarget(e.element);if(r.repositionTarget){const g=Ne(e.element),h=pa(g),x=Ez(m),w=((A,N,F)=>({coord:C3(A.output,A.output,N,F),extra:A.extra}))(l,h,x),S=Jh(w.coord,0,x);go(m,S)}}});const i5="data-initial-z-index",F5=(e,r)=>{e.getSystem().addToGui(r),(s=>{nn(s.element).filter(wt).each(l=>{Ir(l,"z-index").each(m=>{Kn(l,i5,m)}),Bn(l,"z-index",aa(s.element,"z-index"))})})(r)},i6=e=>{(r=>{nn(r.element).filter(wt).each(s=>{Ca(s,i5).fold(()=>Pr(s,"z-index"),l=>Bn(s,"z-index",l)),xa(s,i5)})})(e),e.getSystem().removeFromGui(e)},L5=(e,r,s)=>e.getSystem().build(Ku.sketch({dom:{styles:{left:"0px",top:"0px",width:"100%",height:"100%",position:"fixed","z-index":"1000000000000000"},classes:[r]},events:s}));var l6=gl("snaps",[Yt("getSnapPoints"),Hr("onSensor"),Yt("leftAttr"),Yt("topAttr"),ft("lazyViewport",Ua),ft("mustSnap",!1)]);const l5=[ft("useFixed",Bo),Yt("blockerClass"),ft("getTarget",Ze),ft("onDrag",he),ft("repositionTarget",!0),ft("onDrop",he),hs("getBounds",Ua),l6],c6=e=>{return(r=Ir(e,"left"),s=Ir(e,"top"),l=Ir(e,"position"),r.isSome()&&s.isSome()&&l.isSome()?R.some(((m,g,h)=>(h==="fixed"?gv:mv)(parseInt(m,10),parseInt(g,10)))(r.getOrDie(),s.getOrDie(),l.getOrDie())):R.none()).getOrThunk(()=>{const m=Or(e);return Qh(m.left,m.top)});var r,s,l},I5=(e,r)=>({bounds:e.getBounds(),height:ho(r.element),width:Q(r.element)}),c5=(e,r,s,l,m)=>{const g=s.update(l,m),h=s.getStartData().getOrThunk(()=>I5(r,e));g.each(x=>{((w,S,A,N)=>{const F=S.getTarget(w.element);if(S.repositionTarget){const $=Ne(w.element),W=pa($),se=Ez(F),le=c6(F),fe=((X,ue,ye,we,Ye,Tt,Qt)=>((ro,no,Uo,pn,Mn)=>{const ar=Mn.bounds,dr=xs(no,Uo,pn),jr=mc(dr.left,ar.x,ar.x+ar.width-Mn.width),gs=mc(dr.top,ar.y,ar.y+ar.height-Mn.height),Vs=Qh(jr,gs);return no.fold(()=>{const mr=xi(Vs,Uo,pn);return mv(mr.left,mr.top)},me(Vs),()=>{const mr=Ls(Vs,Uo,pn);return gv(mr.left,mr.top)})})(0,ue.fold(()=>{const ro=(no=ye,Uo=Tt.left,pn=Tt.top,no.fold((ar,dr)=>mv(ar+Uo,dr+pn),(ar,dr)=>Qh(ar+Uo,dr+pn),(ar,dr)=>gv(ar+Uo,dr+pn)));var no,Uo,pn;const Mn=Ls(ro,we,Ye);return gv(Mn.left,Mn.top)},ro=>{const no=n6(X,ro,ye,Tt,we,Ye);return no.extra.each(Uo=>{ro.onSensor(X,Uo)}),no.coord}),we,Ye,Qt))(w,S.snaps,le,W,se,N,A),te=Jh(fe,0,se);go(F,te)}S.onDrag(w,F,N)})(e,r,h,x)})},P5=(e,r,s,l)=>{r.each(i6),s.snaps.each(g=>{((h,x)=>{((w,S)=>{const A=w.element;xa(A,S.leftAttr),xa(A,S.topAttr)})(h,x)})(e,g)});const m=s.getTarget(e.element);l.reset(),s.onDrop(e,m)},d5=e=>(r,s)=>{const l=m=>{s.setStartData(I5(r,m))};return qa([Kt(zu(),m=>{s.getStartData().each(()=>l(m))}),...e(r,s,l)])};var d6=Object.freeze({__proto__:null,getData:e=>R.from(kn(e.x,e.y)),getDelta:(e,r)=>kn(r.left-e.left,r.top-e.top)});const H5=(e,r,s)=>[Kt(ai(),(l,m)=>{if(m.event.raw.button!==0)return;m.stop();const g=()=>P5(l,R.some(w),e,r),h=hC(g,200),x={drop:g,delayDrop:h.schedule,forceDrop:g,move:S=>{h.cancel(),c5(l,e,r,d6,S)}},w=L5(l,e.blockerClass,(S=>qa([Kt(ai(),S.forceDrop),Kt(J(),S.drop),Kt(z(),(A,N)=>{S.move(N.event)}),Kt(H(),S.delayDrop)]))(x));s(l),F5(l,w)})],u6=[...l5,as("dragger",{handlers:d5(H5)})];var j5=Object.freeze({__proto__:null,getData:e=>{const r=e.raw.touches;return r.length===1?(s=>{const l=s[0];return R.some(kn(l.clientX,l.clientY))})(r):R.none()},getDelta:(e,r)=>kn(r.left-e.left,r.top-e.top)});const V5=(e,r,s)=>{const l=ms(),m=g=>{P5(g,l.get(),e,r),l.clear()};return[Kt(Ws(),(g,h)=>{h.stop();const x=()=>m(g),w={drop:x,delayDrop:he,forceDrop:x,move:A=>{c5(g,e,r,j5,A)}},S=L5(g,e.blockerClass,(A=>qa([Kt(Ws(),A.forceDrop),Kt(Hl(),A.drop),Kt(_d(),A.drop),Kt(ed(),(N,F)=>{A.move(F.event)})]))(w));l.set(S),s(g),F5(g,S)}),Kt(ed(),(g,h)=>{h.stop(),c5(g,e,r,j5,h.event)}),Kt(Hl(),(g,h)=>{h.stop(),m(g)}),Kt(_d(),m)]},m6=u6,g6=[...l5,as("dragger",{handlers:d5(V5)})],p6=[...l5,as("dragger",{handlers:d5((e,r,s)=>[...H5(e,r,s),...V5(e,r,s)])})];var f6=Object.freeze({__proto__:null,mouse:m6,touch:g6,mouseOrTouch:p6}),h6=Object.freeze({__proto__:null,init:()=>{let e=R.none(),r=R.none();const s=me({});return Ia({readState:s,reset:()=>{e=R.none(),r=R.none()},update:(l,m)=>l.getData(m).bind(g=>((h,x)=>{const w=e.map(S=>h.getDelta(S,x));return e=R.some(x),w})(l,g)),getStartData:()=>r,setStartData:l=>{r=R.some(l)}})}});const pv=Fp({branchKey:"mode",branches:f6,name:"dragging",active:{events:(e,r)=>e.dragger.handlers(e,r)},extra:{snap:e=>({sensor:e.sensor,range:e.range,output:e.output,extra:R.from(e.extra)})},state:h6,apis:s6}),$5=(e,r,s,l,m,g)=>e.fold(()=>pv.snap({sensor:Qh(s-20,l-20),range:kn(m,g),output:Qh(R.some(s),R.some(l)),extra:{td:r}}),h=>{const x=s-20,w=l-20,S=h.element.dom.getBoundingClientRect();return pv.snap({sensor:Qh(x,w),range:kn(40,40),output:Qh(R.some(s-S.width/2),R.some(l-S.height/2)),extra:{td:r}})}),U5=(e,r,s)=>({getSnapPoints:e,leftAttr:"data-drag-left",topAttr:"data-drag-top",onSensor:(l,m)=>{const g=m.td;((h,x)=>h.exists(w=>Jo(w,x)))(r.get(),g)||(r.set(g),s(g))},mustSnap:!0}),Z5=e=>Ta(wl.sketch({dom:{tag:"div",classes:["tox-selector"]},buttonBehaviours:Oo([pv.config({mode:"mouseOrTouch",blockerClass:"blocker",snaps:e}),Cy.config({})]),eventOrder:{mousedown:["dragging","alloy.base.behaviour"],touchstart:["dragging","alloy.base.behaviour"]}})),b6=(e,r)=>{const s=Sn([]),l=Sn([]),m=Sn(!1),g=ms(),h=ms(),x=te=>{const X=ts(te);return $5(N.getOpt(r),te,X.x,X.y,X.width,X.height)},w=te=>{const X=ts(te);return $5(F.getOpt(r),te,X.right,X.bottom,X.width,X.height)},S=U5(()=>dt(s.get(),te=>x(te)),g,te=>{h.get().each(X=>{e.dispatch("TableSelectorChange",{start:te,finish:X})})}),A=U5(()=>dt(l.get(),te=>w(te)),h,te=>{g.get().each(X=>{e.dispatch("TableSelectorChange",{start:X,finish:te})})}),N=Z5(S),F=Z5(A),$=yl(N.asSpec()),W=yl(F.asSpec()),se=(te,X,ue,ye)=>{const we=ue(X);pv.snapTo(te,we),((Ye,Tt,Qt,ro)=>{const no=Tt.dom.getBoundingClientRect();Pr(Ye.element,"display");const Uo=Ho(St(e.getBody())).dom.innerHeight,pn=no[ye]<0,Mn=((ar,dr)=>ar[ye]>dr)(no,Uo);(pn||Mn)&&Bn(Ye.element,"display","none")})(te,X)},le=te=>se($,te,x,"top"),fe=te=>se(W,te,w,"bottom");Yl().deviceType.isTouch()&&(e.on("TableSelectionChange",te=>{m.get()||(ym(r,$),ym(r,W),m.set(!0)),g.set(te.start),h.set(te.finish),te.otherCells.each(X=>{s.set(X.upOrLeftCells),l.set(X.downOrRightCells),le(te.start),fe(te.finish)})}),e.on("ResizeEditor ResizeWindow ScrollContent",()=>{g.get().each(le),h.get().each(fe)}),e.on("TableSelectionClear",()=>{m.get()&&(id($),id(W),m.set(!1)),g.clear(),h.clear()}))},y6=(e,r,s)=>{var l;const m=(l=r.delimiter)!==null&&l!==void 0?l:"›";return{dom:{tag:"div",classes:["tox-statusbar__path"],attributes:{role:"navigation"}},behaviours:Oo([Dn.config({mode:"flow",selector:"div[role=button]"}),Qn.config({disabled:s.isDisabled}),Wi(),Bs.config({}),fr.config({}),Tr("elementPathEvents",[La((g,h)=>{e.shortcuts.add("alt+F11","focus statusbar elementpath",()=>Dn.focusIn(g)),e.on("NodeChange",x=>{const w=(A=>{const N=[];let F=A.length;for(;F-- >0;){const W=A[F];if(W.nodeType===1&&($=W).nodeName!=="BR"&&!$.getAttribute("data-mce-bogus")&&$.getAttribute("data-mce-type")!=="bookmark"){const se=cO(e,W);if(se.isDefaultPrevented()||N.push({name:se.name,element:W}),se.isPropagationStopped())break}}var $;return N})(x.parents),S=w.length>0?To(w,(A,N,F)=>{const $=((W,se,le)=>wl.sketch({dom:{tag:"div",classes:["tox-statusbar__path-item"],attributes:{"data-index":le,"aria-level":le+1}},components:[Ya(W)],action:fe=>{e.focus(),e.selection.select(se),e.nodeChanged()},buttonBehaviours:Oo([my(s.isDisabled),Wi()])}))(N.name,N.element,F);return F===0?A.concat([$]):A.concat([{dom:{tag:"div",classes:["tox-statusbar__path-divider"],attributes:{"aria-hidden":!0}},components:[Ya(` ${m} `)]},$])},[]):[];fr.set(g,S)})})])]),components:[]}};var Wy;(function(e){e[e.None=0]="None",e[e.Both=1]="Both",e[e.Vertical=2]="Vertical"})(Wy||(Wy={}));const q5=(e,r,s)=>{const l=St(e.getContainer()),m=((g,h,x,w,S)=>{const A={height:Qe(w+h.top,G1(g),vh(g))};return x===Wy.Both&&(A.width=Qe(S+h.left,Ax(g),K1(g))),A})(e,r,s,Nt(l),Ga(l));$o(m,(g,h)=>{So(g)&&Bn(l,h,cr(g))}),(g=>{g.dispatch("ResizeEditor")})(e)},pA=(e,r,s,l)=>{const m=kn(20*s,20*l);return q5(e,m,r),R.some(!0)},v6=(e,r)=>{const s=()=>{const l=[],m=r2(e),g=Px(e),h=wh(e)||e.hasPlugin("wordcount");return g&&l.push(y6(e,{},r)),m&&l.push((()=>{const x=h0("Alt+0");return{dom:{tag:"div",classes:["tox-statusbar__help-text"]},components:[Ya(jc.translate(["Press {0} for help",x]))]}})()),h&&l.push((()=>{const x=[];return e.hasPlugin("wordcount")&&x.push(((w,S)=>{const A=(N,F,$)=>fr.set(N,[Ya(S.translate(["{0} "+$,F[$]]))]);return wl.sketch({dom:{tag:"button",classes:["tox-statusbar__wordcount"]},components:[],buttonBehaviours:Oo([my(S.isDisabled),Wi(),Bs.config({}),fr.config({}),Wo.config({store:{mode:"memory",initialValue:{mode:"words",count:{words:0,characters:0}}}}),Tr("wordcount-events",[Cc(N=>{const F=Wo.getValue(N),$=F.mode==="words"?"characters":"words";Wo.setValue(N,{mode:$,count:F.count}),A(N,F.count,$)}),La(N=>{w.on("wordCountUpdate",F=>{const{mode:$}=Wo.getValue(N);Wo.setValue(N,{mode:$,count:F.wordCount}),A(N,F.wordCount,$)})})])]),eventOrder:{[fl()]:["disabling","alloy.base.behaviour","wordcount-events"]}})})(e,r)),wh(e)&&x.push({dom:{tag:"span",classes:["tox-statusbar__branding"]},components:[{dom:{tag:"a",attributes:{href:"https://www.tiny.cloud/powered-by-tiny?utm_campaign=poweredby&utm_source=tiny&utm_medium=referral&utm_content=v6",rel:"noopener",target:"_blank","aria-label":jc.translate(["Powered by {0}","Tiny"])},innerHtml:` + + +`.trim()},behaviours:Oo([er.config({})])}]}),{dom:{tag:"div",classes:["tox-statusbar__right-container"]},components:x}})()),l.length>0?[{dom:{tag:"div",classes:["tox-statusbar__text-container",...(()=>{const x="tox-statusbar__text-container--flex-start",w="tox-statusbar__text-container--flex-end";if(m){const S="tox-statusbar__text-container-3-cols";return h||g?h&&!g?[S,w]:[S,x]:[S,"tox-statusbar__text-container--space-around"]}return[h&&!g?w:x]})()]},components:l}]:[]};return{dom:{tag:"div",classes:["tox-statusbar"]},components:(()=>{const l=s(),m=((g,h)=>{const x=(S=>{const A=n2(S);return A===!1?Wy.None:A==="both"?Wy.Both:Wy.Vertical})(g);if(x===Wy.None)return R.none();const w=x===Wy.Both?"Press the arrow keys to resize the editor.":"Press the Up and Down arrow keys to resize the editor.";return R.some(Uu("resize-handle",{tag:"div",classes:["tox-statusbar__resize-handle"],attributes:{title:h.translate("Resize"),"aria-label":h.translate(w)},behaviours:[pv.config({mode:"mouse",repositionTarget:!1,onDrag:(S,A,N)=>q5(g,N,x),blockerClass:"tox-blocker"}),Dn.config({mode:"special",onLeft:()=>pA(g,x,-1,0),onRight:()=>pA(g,x,1,0),onUp:()=>pA(g,x,0,-1),onDown:()=>pA(g,x,0,1)}),Bs.config({}),er.config({})]},h.icons))})(e,r);return l.concat(m.toArray())})()}},W5=(e,r)=>r.get().getOrDie(`UI for ${e} has not been rendered`),x6=(e,r)=>{const s=e.inline,l=s?Wn:cn,m=_h(e)?Dz:Hy,g=(()=>{const we=ms(),Ye=ms(),Tt=ms();return{dialogUi:we,popupUi:Ye,mainUi:Tt,getUiMotherships:()=>{const Qt=we.get().map(no=>no.mothership),ro=Ye.get().map(no=>no.mothership);return Qt.fold(()=>ro.toArray(),no=>ro.fold(()=>[no],Uo=>Jo(no.element,Uo.element)?[no]:[no,Uo]))},lazyGetInOuterOrDie:(Qt,ro)=>()=>Tt.get().bind(no=>ro(no.outerContainer)).getOrDie(`Could not find ${Qt} element in OuterContainer`)}})(),h=ms(),x=ms(),w=ms(),S=Yl().deviceType.isTouch()?["tox-platform-touch"]:[],A=Ux(e),N=ey(e),F=Ta({dom:{tag:"div",classes:["tox-anchorbar"]}}),$=Ta({dom:{tag:"div",classes:["tox-bottom-anchorbar"]}}),W=()=>g.mainUi.get().map(we=>we.outerContainer).bind(Ja.getHeader),se=g.lazyGetInOuterOrDie("anchor bar",F.getOpt),le=g.lazyGetInOuterOrDie("bottom anchor bar",$.getOpt),fe=g.lazyGetInOuterOrDie("toolbar",Ja.getToolbar),te=g.lazyGetInOuterOrDie("throbber",Ja.getThrobber),X=((we,Ye,Tt,Qt)=>{const ro=Sn(!1),no=(mr=>{const Bl=Sn(Ux(mr)?"bottom":"top");return{isPositionedAtTop:()=>Bl.get()==="top",getDockingMode:Bl.get,setDockingMode:Bl.set}})(Ye),Uo={icons:()=>Ye.ui.registry.getAll().icons,menuItems:()=>Ye.ui.registry.getAll().menuItems,translate:jc.translate,isDisabled:()=>Ye.mode.isReadOnly()||!Ye.ui.isEnabled(),getOption:Ye.options.get},pn=vz(Ye),Mn=(mr=>{const Bl=wi=>()=>mr.formatter.match(wi),br=wi=>()=>{const Fl=mr.formatter.get(wi);return Fl!==void 0?R.some({tag:Fl.length>0&&(Fl[0].inline||Fl[0].block)||"div",styles:mr.dom.parseStyle(mr.formatter.getCssText(wi))}):R.none()},Ii=Sn([]),ls=Sn([]),Nc=Sn(!1);return mr.on("PreInit",wi=>{const Fl=dz(mr),Ud=NS(mr,Fl,Bl,br);Ii.set(Ud)}),mr.on("addStyleModifications",wi=>{const Fl=NS(mr,wi.items,Bl,br);ls.set(Fl),Nc.set(wi.replace)}),{getData:()=>{const wi=Nc.get()?[]:Ii.get(),Fl=ls.get();return wi.concat(Fl)}}})(Ye),ar=(mr=>({colorPicker:Ly(mr),hasCustomColors:cz(mr),getColors:LO(mr),getColorCols:IO(mr)}))(Ye),dr=(mr=>({isDraggableModal:TS(mr)}))(Ye),jr={shared:{providers:Uo,anchors:lz(Ye,Tt,Qt,no.isPositionedAtTop),header:no},urlinput:pn,styles:Mn,colorinput:ar,dialog:dr,isContextMenuOpen:()=>ro.get(),setContextMenuState:mr=>ro.set(mr)},gs={...jr,shared:{...jr.shared,interpreter:mr=>nz(mr,{},gs),getSink:we.popup}},Vs={...jr,shared:{...jr.shared,interpreter:mr=>nz(mr,{},Vs),getSink:we.dialog}};return{popup:gs,dialog:Vs}})({popup:()=>Fr.fromOption(g.popupUi.get().map(we=>we.sink),"(popup) UI has not been rendered"),dialog:()=>Fr.fromOption(g.dialogUi.get().map(we=>we.sink),"UI has not been rendered")},e,se,le),ue=()=>{const we=(()=>{const jr={attributes:{[oh]:A?ju.BottomToTop:ju.TopToBottom}},gs=Ja.parts.menubar({dom:{tag:"div",classes:["tox-menubar"]},backstage:X.popup,onEscape:()=>{e.focus()}}),Vs=Ja.parts.toolbar({dom:{tag:"div",classes:["tox-toolbar"]},getSink:X.popup.shared.getSink,providers:X.popup.shared.providers,onEscape:()=>{e.focus()},onToolbarToggled:Ud=>{((Gk,Kk)=>{Gk.dispatch("ToggleToolbarDrawer",{state:Kk})})(e,Ud)},type:N,lazyToolbar:fe,lazyHeader:()=>W().getOrDie("Could not find header element"),...jr}),mr=Ja.parts["multiple-toolbar"]({dom:{tag:"div",classes:["tox-toolbar-overlord"]},providers:X.popup.shared.providers,onEscape:()=>{e.focus()},type:N}),Bl=oy(e),br=t0(e),Ii=J1(e),ls=Vx(e),Nc=Ja.parts.promotion({dom:{tag:"div",classes:["tox-promotion"]}}),wi=Bl||br||Ii,Fl=ls?[Nc,gs]:[gs];return Ja.parts.header({dom:{tag:"div",classes:["tox-editor-header"].concat(wi?[]:["tox-editor-header--empty"]),...jr},components:$e([Ii?Fl:[],Bl?[mr]:br?[Vs]:[],kh(e)?[]:[F.asSpec()]]),sticky:_h(e),editor:e,sharedBackstage:X.popup.shared})})(),Ye={dom:{tag:"div",classes:["tox-sidebar-wrap"]},components:[Ja.parts.socket({dom:{tag:"div",classes:["tox-edit-area"]}}),Ja.parts.sidebar({dom:{tag:"div",classes:["tox-sidebar"]}})]},Tt=Ja.parts.throbber({dom:{tag:"div",classes:["tox-throbber"]},backstage:X.popup}),Qt=Ja.parts.viewWrapper({backstage:X.popup}),ro=Cm(e)&&!s?R.some(v6(e,X.popup.shared.providers)):R.none(),no=$e([A?[]:[we],s?[]:[Ye],A?[we]:[]]),Uo=Ja.parts.editorContainer({components:$e([no,s?[]:[$.asSpec(),...ro.toArray()]])}),pn=o0(e),Mn={role:"application",...jc.isRtl()?{dir:"rtl"}:{},...pn?{"aria-hidden":"true"}:{}},ar=yl(Ja.sketch({dom:{tag:"div",classes:["tox","tox-tinymce"].concat(s?["tox-tinymce-inline"]:[]).concat(A?["tox-tinymce--toolbar-bottom"]:[]).concat(S),styles:{visibility:"hidden",...pn?{opacity:"0",border:"0"}:{}},attributes:Mn},components:[Uo,...s?[]:[Qt],Tt],behaviours:Oo([Wi(),Qn.config({disableClass:"tox-tinymce--disabled"}),Dn.config({mode:"cyclic",selector:".tox-menubar, .tox-toolbar, .tox-toolbar__primary, .tox-toolbar__overflow--open, .tox-sidebar__overflow--open, .tox-statusbar__path, .tox-statusbar__wordcount, .tox-statusbar__branding a, .tox-statusbar__resize-handle"})])})),dr=Yu(ar);return h.set(dr),{mothership:dr,outerContainer:ar}},ye=we=>{const Ye=cr((Qt=>(no=>{const Uo=Tx(no),pn=G1(no),Mn=vh(no);return vn(Uo).map(ar=>Qe(ar,pn,Mn))})(Qt).getOr(Tx(Qt)))(e)),Tt=cr((Qt=>nt(Qt).getOr(zx(Qt)))(e));return e.inline||(sc("div","width",Tt)&&Bn(we.element,"width",Tt),sc("div","height",Ye)?Bn(we.element,"height",Ye):Bn(we.element,"height","400px")),Ye};return{popups:{backstage:X.popup,getMothership:()=>W5("popups",w)},dialogs:{backstage:X.dialog,getMothership:()=>W5("dialogs",x)},renderUI:()=>{const we=ue(),Ye=(()=>{const Qt=Zx(e),ro=Jo(ws(),Qt)&&aa(Qt,"display")==="grid",no={dom:{tag:"div",classes:["tox","tox-silver-sink","tox-tinymce-aux"].concat(S),attributes:{...jc.isRtl()?{dir:"rtl"}:{}}},behaviours:Oo([xl.config({useFixed:()=>m.isDocked(W)})])},Uo={dom:{styles:{width:document.body.clientWidth+"px"}},events:qa([Kt(Au(),ar=>{Bn(ar.element,"width",document.body.clientWidth+"px")})])},pn=yl(Da(no,ro?Uo:{})),Mn=Yu(pn);return x.set(Mn),{sink:pn,mothership:Mn}})(),Tt=qg(e)?(()=>{const Qt={dom:{tag:"div",classes:["tox","tox-silver-sink","tox-silver-popup-sink","tox-tinymce-aux"].concat(S),attributes:{...jc.isRtl()?{dir:"rtl"}:{}}},behaviours:Oo([xl.config({useFixed:()=>m.isDocked(W),getBounds:()=>r.getPopupSinkBounds()})])},ro=yl(Qt),no=Yu(ro);return w.set(no),{sink:ro,mothership:no}})():(Qt=>(w.set(Qt.mothership),Qt))(Ye);return g.dialogUi.set(Ye),g.popupUi.set(Tt),g.mainUi.set(we),(Qt=>{const{mainUi:ro,popupUi:no,uiMotherships:Uo}=Qt;Zo($4(e),(br,Ii)=>{e.ui.registry.addGroupToolbarButton(Ii,br)});const{buttons:pn,menuItems:Mn,contextToolbars:ar,sidebars:dr,views:jr}=e.ui.registry.getAll(),gs=$x(e),Vs={menuItems:Mn,menus:l2(e),menubar:q4(e),toolbar:gs.getOrThunk(()=>xh(e)),allowToolbarGroups:N===Vc.floating,buttons:pn,sidebar:dr,views:jr};var mr;mr=ro.outerContainer,e.addShortcut("alt+F9","focus menubar",()=>{Ja.focusMenubar(mr)}),e.addShortcut("alt+F10","focus toolbar",()=>{Ja.focusToolbar(mr)}),e.addCommand("ToggleToolbarDrawer",(br,Ii)=>{Ii?.skipFocus?Ja.toggleToolbarDrawerWithoutFocusing(mr):Ja.toggleToolbarDrawer(mr)}),e.addQueryStateHandler("ToggleToolbarDrawer",()=>Ja.isToolbarDrawerToggled(mr)),((br,Ii,ls)=>{const Nc=(ps,Xy)=>{Ie([Ii,...ls],hp=>{hp.broadcastEvent(ps,Xy)})},wi=(ps,Xy)=>{Ie([Ii,...ls],hp=>{hp.broadcastOn([ps],Xy)})},Fl=ps=>wi(Bd(),{target:ps.target}),Ud=Xl(),Gk=Ul(Ud,"touchstart",Fl),Kk=Ul(Ud,"touchmove",ps=>Nc(Ff(),ps)),Gy=Ul(Ud,"touchend",ps=>Nc(Im(),ps)),eb=Ul(Ud,"mousedown",Fl),S3=Ul(Ud,"mouseup",ps=>{ps.raw.button===0&&wi(C1(),{target:ps.target})}),Ky=ps=>wi(Bd(),{target:St(ps.target)}),tb=ps=>{ps.button===0&&wi(C1(),{target:St(ps.target)})},hv=()=>{Ie(br.editorManager.get(),ps=>{br!==ps&&ps.dispatch("DismissPopups",{relatedTarget:br})})},bv=ps=>Nc(zu(),Ev(ps)),E3=ps=>{wi(Dg(),{}),Nc(Au(),Ev(ps))},bA=rr(St(br.getElement())),T3=Qf(bA,"scroll",ps=>{requestAnimationFrame(()=>{if(br.getContainer()!=null){const Xy=ff(br,Ii.element).map(hp=>[hp.element,...hp.others]).getOr([]);uo(Xy,hp=>Jo(hp,ps.target))&&(br.dispatch("ElementScroll",{target:ps.target.dom}),Nc(wp(),ps))}})}),Yy=()=>wi(Dg(),{}),ob=ps=>{ps.state&&wi(Bd(),{target:St(br.getContainer())})},nb=ps=>{wi(Bd(),{target:St(ps.relatedTarget.getContainer())})};br.on("PostRender",()=>{br.on("click",Ky),br.on("tap",Ky),br.on("mouseup",tb),br.on("mousedown",hv),br.on("ScrollWindow",bv),br.on("ResizeWindow",E3),br.on("ResizeEditor",Yy),br.on("AfterProgressState",ob),br.on("DismissPopups",nb)}),br.on("remove",()=>{br.off("click",Ky),br.off("tap",Ky),br.off("mouseup",tb),br.off("mousedown",hv),br.off("ScrollWindow",bv),br.off("ResizeWindow",E3),br.off("ResizeEditor",Yy),br.off("AfterProgressState",ob),br.off("DismissPopups",nb),eb.unbind(),Gk.unbind(),Kk.unbind(),Gy.unbind(),S3.unbind(),T3.unbind()}),br.on("detach",()=>{Ie([Ii,...ls],Hv),Ie([Ii,...ls],ps=>ps.destroy())})})(e,ro.mothership,Uo),m.setup(e,X.popup.shared,W),Ks(e,X.popup),At(e,X.popup.shared.getSink,X.popup),(br=>{const{sidebars:Ii}=br.ui.registry.getAll();Ie(Vt(Ii),ls=>{const Nc=Ii[ls],wi=()=>Rr(R.from(br.queryCommandValue("ToggleSidebar")),ls);br.ui.registry.addToggleButton(ls,{icon:Nc.icon,tooltip:Nc.tooltip,onAction:Fl=>{br.execCommand("ToggleSidebar",!1,ls),Fl.setActive(wi())},onSetup:Fl=>{Fl.setActive(wi());const Ud=()=>Fl.setActive(wi());return br.on("ToggleSidebar",Ud),()=>{br.off("ToggleSidebar",Ud)}}})})})(e),r3(e,te,X.popup.shared),ul(e,ar,no.sink,{backstage:X.popup}),b6(e,no.sink);const Bl={targetNode:e.getElement(),height:ye(ro.outerContainer)};return l.render(e,Qt,Vs,X.popup,Bl)})({popupUi:Tt,dialogUi:Ye,mainUi:we,uiMotherships:g.getUiMotherships()})}}},w6=me([Yt("lazySink"),la("dragBlockClass"),hs("getBounds",Ua),ft("useTabstopAt",Ct),ft("firstTabstop",0),ft("eventOrder",{}),qi("modalBehaviours",[Dn]),Ol("onExecute"),Dp("onEscape")]),u5={sketch:Ze},k6=me([No({name:"draghandle",overrides:(e,r)=>({behaviours:Oo([pv.config({mode:"mouse",getTarget:s=>ou(s,'[role="dialog"]').getOr(s),blockerClass:e.dragBlockClass.getOrDie(new Error(`The drag blocker class was not specified for a dialog with a drag handle: +`+JSON.stringify(r,null,2)).message),getBounds:e.getDragBounds})])})}),Eo({schema:[Yt("dom")],name:"title"}),Eo({factory:u5,schema:[Yt("dom")],name:"close"}),Eo({factory:u5,schema:[Yt("dom")],name:"body"}),No({factory:u5,schema:[Yt("dom")],name:"footer"}),Do({factory:{sketch:(e,r)=>({...e,dom:r.dom,components:r.components})},schema:[ft("dom",{tag:"div",styles:{position:"fixed",left:"0px",top:"0px",right:"0px",bottom:"0px"}}),ft("components",[])],name:"blocker"})]),kl=Wl({name:"ModalDialog",configFields:w6(),partFields:k6(),factory:(e,r,s,l)=>{const m=ms(),g=un("modal-events"),h={...e.eventOrder,[Rc()]:[g].concat(e.eventOrder["alloy.system.attached"]||[])};return{uid:e.uid,dom:e.dom,components:r,apis:{show:x=>{m.set(x);const w=e.lazySink(x).getOrDie(),S=l.blocker(),A=w.getSystem().build({...S,components:S.components.concat([Tc(x)]),behaviours:Oo([er.config({}),Tr("dialog-blocker-events",[Mu(He(),()=>{em.isBlocked(x)||Dn.focusIn(x)})])])});ym(w,A),Dn.focusIn(x)},hide:x=>{m.clear(),nn(x.element).each(w=>{x.getSystem().getByDom(w).each(S=>{id(S)})})},getBody:x=>li(x,e,"body"),getFooter:x=>ua(x,e,"footer"),setIdle:x=>{em.unblock(x)},setBusy:(x,w)=>{em.block(x,w)}},eventOrder:h,domModification:{attributes:{role:"dialog","aria-modal":"true"}},behaviours:Fi(e.modalBehaviours,[fr.config({}),Dn.config({mode:"cyclic",onEnter:e.onExecute,onEscape:e.onEscape,useTabstopAt:e.useTabstopAt,firstTabstop:e.firstTabstop}),em.config({getRoot:m.get}),Tr(g,[La(x=>{((w,S)=>{const A=Ca(w,"id").fold(()=>{const N=un("dialog-label");return Kn(S,"id",N),N},Ze);Kn(w,"aria-labelledby",A)})(x.element,li(x,e,"title").element)})])])}},apis:{show:(e,r)=>{e.show(r)},hide:(e,r)=>{e.hide(r)},getBody:(e,r)=>e.getBody(r),getFooter:(e,r)=>e.getFooter(r),setBusy:(e,r,s)=>{e.setBusy(r,s)},setIdle:(e,r)=>{e.setIdle(r)}}}),_6=Cn([ci,E2].concat(ly)),C6=Qc,m5=[c0("button"),pu,pl("align","end",["start","end"]),Na,ll,sg("buttonType",["primary","secondary"])],G5=[...m5,Wg],g5=[da("type",["submit","cancel","custom"]),...G5],S6=[da("type",["menu"]),Xm,Id,pu,al("items",_6),...m5],E6=[...m5,da("type",["togglebutton"]),us("tooltip"),pu,Xm,ri("active",!1)],T6=Ms("type",{submit:g5,cancel:g5,custom:g5,menu:S6,togglebutton:E6}),z6=[ci,Wg,da("level",["info","warn","error","success"]),qu,ft("url","")],A6=Cn(z6),O6=[ci,Wg,ll,c0("button"),pu,oE,sg("buttonType",["primary","secondary","toolbar"]),Na],N6=Cn(O6),qk=[ci,E2],fp=qk.concat([O2]),M6=qk.concat([T2,ll]),D6=Cn(M6),R6=Qc,B6=fp.concat([Sh("auto")]),F6=Cn(B6),L6=Kd([l0,Wg,qu]),I6=fp.concat([zl("storageKey","default")]),P6=Cn(I6),H6=wa,j6=Cn(fp),V6=wa,$6=qk.concat([zl("tag","textarea"),us("scriptId"),us("scriptUrl"),Ai("settings",void 0,Rm)]),U6=qk.concat([zl("tag","textarea"),ml("init")]),Z6=Ti(e=>ka("customeditor.old",pi(U6),e).orThunk(()=>ka("customeditor.new",pi($6),e))),q6=wa,W6=Cn(fp),G6=Ql(yd),K6=e=>[ci,xd("columns"),e],Y6=[ci,us("html"),pl("presets","presentation",["presentation","document"])],X6=Cn(Y6),J6=fp.concat([ri("border",!1),ri("sandboxed",!0),ri("streamContent",!1),ri("transparent",!0)]),Q6=Cn(J6),e8=wa,t8=Cn(qk.concat([Hs("height")])),o8=Cn([us("url"),Yd("zoom"),Yd("cachedWidth"),Yd("cachedHeight")]),n8=fp.concat([Hs("inputMode"),Hs("placeholder"),ri("maximized",!1),ll]),r8=Cn(n8),a8=wa,s8=e=>[ci,T2,e,pl("align","start",["start","center","end"])],i8=[Wg,l0],l8=[Wg,al("items",Su(0,()=>K5))],K5=ec([Cn(i8),Cn(l8)]),c8=fp.concat([al("items",K5),ll]),d8=Cn(c8),u8=wa,m8=fp.concat([Oa("items",[Wg,l0]),wd("size",1),ll]),g8=Cn(m8),p8=wa,f8=fp.concat([ri("constrain",!0),ll]),h8=Cn(f8),Y5=Cn([us("width"),us("height")]),b8=qk.concat([T2,wd("min",0),wd("max",0)]),y8=Cn(b8),v8=rm,x8=[ci,al("header",wa),al("cells",Ql(wa))],w8=Cn(x8),k8=fp.concat([Hs("placeholder"),ri("maximized",!1),ll]),_8=Cn(k8),C8=wa,X5=[da("type",["directory","leaf"]),$c,us("id"),$i("menu",JS)],J5=Cn(X5),S8=X5.concat([al("children",Su(0,()=>rn("type",{directory:Q5,leaf:J5})))]),Q5=Cn(S8),E8=rn("type",{directory:Q5,leaf:J5}),T8=[ci,al("items",E8),Tl("onLeafAction"),Tl("onToggleExpand"),uc("defaultExpandedIds",[],wa),Hs("defaultSelectedId")],z8=Cn(T8),A8=fp.concat([pl("filetype","file",["image","media","file"]),ll,Hs("picker_text")]),O8=Cn(A8),N8=Cn([l0,iy]),p5=e=>oi("items","items",{tag:"required",process:{}},Ql(Ti(r=>ka(`Checking item of ${e}`,f5,r).fold(s=>Fr.error(El(s)),s=>Fr.value(s))))),f5=Gd(()=>{return rn("type",{alertbanner:A6,bar:Cn((e=p5("bar"),[ci,e])),button:N6,checkbox:D6,colorinput:P6,colorpicker:j6,dropzone:W6,grid:Cn(K6(p5("grid"))),iframe:Q6,input:r8,listbox:d8,selectbox:g8,sizeinput:h8,slider:y8,textarea:_8,urlinput:O8,customeditor:Z6,htmlpanel:X6,imagepreview:t8,collection:F6,label:Cn(s8(p5("label"))),table:w8,tree:z8,panel:eN});var e}),M8=[ci,ft("classes",[]),al("items",f5)],eN=Cn(M8),D8=[c0("tab"),$c,al("items",f5)],R8=[ci,Oa("tabs",D8)],B8=Cn(R8),F8=G5,L8=T6,I8=Cn([us("title"),ni("body",rn("type",{panel:eN,tabpanel:B8})),zl("size","normal"),uc("buttons",[],L8),ft("initialData",{}),hs("onAction",he),hs("onChange",he),hs("onSubmit",he),hs("onClose",he),hs("onCancel",he),hs("onTabChange",he)]),P8=Cn([da("type",["cancel","custom"]),...F8]),H8=Cn([us("title"),us("url"),Yd("height"),Yd("width"),ns("buttons",P8),hs("onAction",he),hs("onCancel",he),hs("onClose",he),hs("onMessage",he)]),h5=e=>Lo(e)?[e].concat(ct(vo(e),h5)):Co(e)?ct(e,h5):[],j8=e=>to(e.type)&&to(e.name),V8={checkbox:R6,colorinput:H6,colorpicker:V6,dropzone:G6,input:a8,iframe:e8,imagepreview:o8,selectbox:p8,sizeinput:Y5,slider:v8,listbox:u8,size:Y5,textarea:C8,urlinput:N8,customeditor:q6,collection:L6,togglemenuitem:C6},$8=e=>{const r=(l=>Pt(h5(l),j8))(e),s=ct(r,l=>(m=>R.from(V8[m.type]))(l).fold(()=>[],m=>[ni(l.name,m)]));return Cn(s)},tN=e=>{var r;return{internalDialog:Sl(ka("dialog",I8,e)),dataValidator:$8(e),initialData:(r=e.initialData)!==null&&r!==void 0?r:{}}},fv={open:(e,r)=>{const s=tN(r);return e(s.internalDialog,s.initialData,s.dataValidator)},openUrl:(e,r)=>e(Sl(ka("dialog",H8,r))),redial:e=>tN(e)};var U8=Object.freeze({__proto__:null,events:(e,r)=>{const s=(l,m)=>{e.updateState.each(g=>{const h=g(l,m);r.set(h)}),e.renderComponents.each(g=>{const h=g(m,r.get());(e.reuseDom?u4:pc)(l,h)})};return qa([Kt(Cd(),(l,m)=>{const g=m;if(!g.universal){const h=e.channel;Rt(g.channels,h)&&s(l,g.data)}}),La((l,m)=>{e.initialData.each(g=>{s(l,g)})})])}}),Z8=Object.freeze({__proto__:null,getState:(e,r,s)=>s}),q8=[Yt("channel"),la("renderComponents"),la("updateState"),la("initialData"),ri("reuseDom",!0)];const ku=Ri({fields:q8,name:"reflecting",active:U8,apis:Z8,state:Object.freeze({__proto__:null,init:()=>{const e=Sn(R.none());return{readState:()=>e.get().getOr("none"),get:e.get,set:e.set,clear:()=>e.set(R.none())}}})}),oN=e=>{const r=[],s={};return $o(e,(l,m)=>{l.fold(()=>{r.push(m)},g=>{s[m]=g})}),r.length>0?Fr.error(r):Fr.value(s)},W8=(e,r,s)=>{const l=Ta(vf.sketch(g=>({dom:{tag:"div",classes:["tox-form"].concat(e.classes)},components:dt(e.items,h=>oz(g,h,r,s))})));return{dom:{tag:"div",classes:["tox-dialog__body"]},components:[{dom:{tag:"div",classes:["tox-dialog__body-content"]},components:[l.asSpec()]}],behaviours:Oo([Dn.config({mode:"acyclic",useTabstopAt:Yo(Ph)}),(m=l,Gr.config({find:m.getOpt})),OT(l,{postprocess:g=>oN(g).fold(h=>(console.error(h),{}),Ze)}),Tr("dialog-body-panel",[Kt(He(),(g,h)=>{g.getSystem().broadcastOn([Zw],{newFocus:R.some(h.event.target)})})])])};var m},G8=Pc({name:"TabButton",configFields:[ft("uid",void 0),Yt("value"),oi("dom","dom",dc(()=>({attributes:{role:"tab",id:un("aria"),"aria-selected":"false"}})),Cl()),la("action"),ft("domModification",{}),qi("tabButtonBehaviours",[er,Dn,Wo]),Yt("view")],factory:(e,r)=>({uid:e.uid,dom:e.dom,components:e.components,events:B1(e.action),behaviours:Fi(e.tabButtonBehaviours,[er.config({}),Dn.config({mode:"execution",useSpace:!0,useEnter:!0}),Wo.config({store:{mode:"memory",initialValue:e.value}})]),domModification:e.domModification})}),K8=me([Yt("tabs"),Yt("dom"),ft("clickToDismiss",!1),qi("tabbarBehaviours",[ba,Dn]),Nd(["tabClass","selectedClass"])]),Y8=Ln({factory:G8,name:"tabs",unit:"tab",overrides:e=>{const r=(l,m)=>{ba.dehighlight(l,m),_n(l,Ed(),{tabbar:l,button:m})},s=(l,m)=>{ba.highlight(l,m),_n(l,im(),{tabbar:l,button:m})};return{action:l=>{const m=l.getSystem().getByUid(e.uid).getOrDie(),g=ba.isHighlighted(m,l);(g&&e.clickToDismiss?r:g?he:s)(m,l)},domModification:{classes:[e.markers.tabClass]}}}}),X8=me([Y8]),nN=Wl({name:"Tabbar",configFields:K8(),partFields:X8(),factory:(e,r,s,l)=>({uid:e.uid,dom:e.dom,components:r,"debug.sketcher":"Tabbar",domModification:{attributes:{role:"tablist"}},behaviours:Fi(e.tabbarBehaviours,[ba.config({highlightClass:e.markers.selectedClass,itemClass:e.markers.tabClass,onHighlight:(m,g)=>{Kn(g.element,"aria-selected","true")},onDehighlight:(m,g)=>{Kn(g.element,"aria-selected","false")}}),Dn.config({mode:"flow",getInitial:m=>ba.getHighlighted(m).map(g=>g.element),selector:"."+e.markers.tabClass,executeOnMove:!0})])})}),J8=Pc({name:"Tabview",configFields:[qi("tabviewBehaviours",[fr])],factory:(e,r)=>({uid:e.uid,dom:e.dom,behaviours:Fi(e.tabviewBehaviours,[fr.config({})]),domModification:{attributes:{role:"tabpanel"}}})}),Q8=me([ft("selectFirst",!0),Hr("onChangeTab"),Hr("onDismissTab"),ft("tabs",[]),qi("tabSectionBehaviours",[])]),eM=Eo({factory:nN,schema:[Yt("dom"),zi("markers",[Yt("tabClass"),Yt("selectedClass")])],name:"tabbar",defaults:e=>({tabs:e.tabs})}),tM=Eo({factory:J8,name:"tabview"}),oM=me([eM,tM]),Wk=Wl({name:"TabSection",configFields:Q8(),partFields:oM(),factory:(e,r,s,l)=>{const m=(g,h)=>{ua(g,e,"tabbar").each(x=>{h(x).each(Qd)})};return{uid:e.uid,dom:e.dom,components:r,behaviours:Hb(e.tabSectionBehaviours),events:qa($e([e.selectFirst?[La((g,h)=>{m(g,ba.getFirst)})]:[],[Kt(im(),(g,h)=>{(x=>{const w=Wo.getValue(x);ua(x,e,"tabview").each(S=>{oo(e.tabs,A=>A.value===w).each(A=>{const N=A.view();Ca(x.element,"id").each(F=>{Kn(S.element,"aria-labelledby",F)}),fr.set(S,N),e.onChangeTab(S,x,N)})})})(h.event.button)}),Kt(Ed(),(g,h)=>{const x=h.event.button;e.onDismissTab(g,x)})]])),apis:{getViewItems:g=>ua(g,e,"tabview").map(h=>fr.contents(h)).getOr([]),showTab:(g,h)=>{m(g,x=>{const w=ba.getCandidates(x);return oo(w,S=>Wo.getValue(S)===h).filter(S=>!ba.isHighlighted(x,S))})}}}},apis:{getViewItems:(e,r)=>e.getViewItems(r),showTab:(e,r,s)=>{e.showTab(r,s)}}}),rN=(e,r)=>{Bn(e,"height",r+"px"),Bn(e,"flex-basis",r+"px")},fA=(e,r,s)=>{ou(e,'[role="dialog"]').each(l=>{vs(l,'[role="tablist"]').each(m=>{s.get().map(g=>(Bn(r,"height","0"),Bn(r,"flex-basis","0"),Math.min(g,((h,x,w)=>{const S=Io(h).dom,A=ou(h,".tox-dialog-wrap").getOr(h);let N;N=aa(A,"position")==="fixed"?Math.max(S.clientHeight,window.innerHeight):Math.max(S.offsetHeight,S.scrollHeight);const F=Nt(x),$=x.dom.offsetLeft>=w.dom.offsetLeft+Ga(w)?Math.max(Nt(w),F):F,W=parseInt(aa(h,"margin-top"),10)||0,se=parseInt(aa(h,"margin-bottom"),10)||0;return N-(Nt(h)+W+se-$)})(l,r,m)))).each(g=>{rN(r,g)})})})},b5=e=>vs(e,'[role="tabpanel"]'),aN="send-data-to-section",sN="send-data-to-view",nM=(e,r,s)=>{const l=Sn({}),m=S=>{const A=Wo.getValue(S),N=oN(A).getOr({}),F=l.get(),$=Da(F,N);l.set($)},g=S=>{const A=l.get();Wo.setValue(S,A)},h=Sn(null),x=dt(e.tabs,S=>({value:S.name,dom:{tag:"div",classes:["tox-dialog__body-nav-item"]},components:[Ya(s.shared.providers.translate(S.title))],view:()=>[vf.sketch(A=>({dom:{tag:"div",classes:["tox-form"]},components:dt(S.items,N=>oz(A,N,r,s)),formBehaviours:Oo([Dn.config({mode:"acyclic",useTabstopAt:Yo(Ph)}),Tr("TabView.form.events",[La(g),od(m)]),tc.config({channels:Oi([{key:aN,value:{onReceive:m}},{key:sN,value:{onReceive:g}}])})])}))]})),w=(S=>{const A=ms();return{extraEvents:[La(F=>{const $=F.element;b5($).each(W=>{Bn(W,"visibility","hidden"),F.getSystem().getByDom(W).toOptional().each(se=>{const le=((te,X,ue)=>dt(te,(ye,we)=>{fr.set(ue,te[we].view());const Ye=X.dom.getBoundingClientRect();return fr.set(ue,[]),Ye.height}))(S,W,se);(te=>at(ge(te,(X,ue)=>X>ue?-1:X{at(se).each(fe=>Wk.showTab(le,fe.value))})(S,F),requestAnimationFrame(()=>{fA($,W,A)})})}),Kt(Au(),F=>{const $=F.element;b5($).each(W=>{fA($,W,A)})}),Kt(wC,(F,$)=>{const W=F.element;b5(W).each(se=>{const le=Ts(rr(se));Bn(se,"visibility","hidden");const fe=Ir(se,"height").map(X=>parseInt(X,10));Pr(se,"height"),Pr(se,"flex-basis");const te=se.dom.getBoundingClientRect().height;fe.forall(X=>te>X)?(A.set(te),fA(W,se,A)):fe.each(X=>{rN(se,X)}),Pr(se,"visibility"),le.each(sd)})})],selectFirst:!1}})(x);return Wk.sketch({dom:{tag:"div",classes:["tox-dialog__body"]},onChangeTab:(S,A,N)=>{const F=Wo.getValue(A);_n(S,xC,{name:F,oldName:h.get()}),h.set(F)},tabs:x,components:[Wk.parts.tabbar({dom:{tag:"div",classes:["tox-dialog__body-nav"]},components:[nN.parts.tabs({})],markers:{tabClass:"tox-tab",selectedClass:"tox-dialog__body-nav-item--active"},tabbarBehaviours:Oo([Bs.config({})])}),Wk.parts.tabview({dom:{tag:"div",classes:["tox-dialog__body-content"]}})],selectFirst:w.selectFirst,tabSectionBehaviours:Oo([Tr("tabpanel",w.extraEvents),Dn.config({mode:"acyclic"}),Gr.config({find:S=>at(Wk.getViewItems(S))}),Uc(R.none(),S=>(S.getSystem().broadcastOn([aN],{}),l.get()),(S,A)=>{l.set(A),S.getSystem().broadcastOn([sN],{})})])})},iN=(e,r,s,l,m)=>({dom:{tag:"div",classes:["tox-dialog__content-js"],attributes:{...s.map(g=>({id:g})).getOr({}),...m?{"aria-live":"polite"}:{}}},components:[],behaviours:Oo([Hw(0),ku.config({channel:`${DT}-${r}`,updateState:(g,h)=>R.some({isTabPanel:()=>h.body.type==="tabpanel"}),renderComponents:g=>{const h=g.body;return h.type==="tabpanel"?[nM(h,g.initialData,l)]:[W8(h,g.initialData,l)]},initialData:e})])}),rM=Zu.deviceType.isTouch(),lN=(e,r)=>({dom:{tag:"div",styles:{display:"none"},classes:["tox-dialog__header"]},components:[e,r]}),cN=(e,r)=>kl.parts.close(wl.sketch({dom:{tag:"button",classes:["tox-button","tox-button--icon","tox-button--naked"],attributes:{type:"button","aria-label":r.translate("Close")}},action:e,buttonBehaviours:Oo([Bs.config({})])})),dN=()=>kl.parts.title({dom:{tag:"div",classes:["tox-dialog__title"],innerHtml:"",styles:{display:"none"}}}),uN=(e,r)=>kl.parts.body({dom:{tag:"div",classes:["tox-dialog__body"]},components:[{dom:{tag:"div",classes:["tox-dialog__body-content"]},components:[{dom:Ym(`

    ${G_(r.translate(e))}

    `)}]}]}),mN=e=>kl.parts.footer({dom:{tag:"div",classes:["tox-dialog__footer"]},components:e}),gN=(e,r)=>[Ku.sketch({dom:{tag:"div",classes:["tox-dialog__footer-start"]},components:e}),Ku.sketch({dom:{tag:"div",classes:["tox-dialog__footer-end"]},components:r})],y5=e=>{const r="tox-dialog",s=r+"-wrap",l=s+"__backdrop",m=r+"__disable-scroll";return kl.sketch({lazySink:e.lazySink,onEscape:g=>(e.onEscape(g),R.some(!0)),useTabstopAt:g=>!Ph(g),firstTabstop:e.firstTabstop,dom:{tag:"div",classes:[r].concat(e.extraClasses),styles:{position:"relative",...e.extraStyles}},components:[e.header,e.body,...e.footer.toArray()],parts:{blocker:{dom:Ym(`
    `),components:[{dom:{tag:"div",classes:rM?[l,l+"--opaque"]:[l]}}]}},dragBlockClass:s,modalBehaviours:Oo([er.config({}),Tr("dialog-events",e.dialogEvents.concat([Mu(He(),(g,h)=>{em.isBlocked(g)||Dn.focusIn(g)}),Kt(lg(),(g,h)=>{g.getSystem().broadcastOn([Zw],{newFocus:h.event.newFocus})})])),Tr("scroll-lock",[La(()=>{Jr(ws(),m)}),od(()=>{rs(ws(),m)})]),...e.extraBehaviours]),eventOrder:{[fl()]:["dialog-events"],[Rc()]:["scroll-lock","dialog-events","alloy.base.behaviour"],[sm()]:["alloy.base.behaviour","dialog-events","scroll-lock"],...e.eventOrder}})},pN=e=>wl.sketch({dom:{tag:"button",classes:["tox-button","tox-button--icon","tox-button--naked"],attributes:{type:"button","aria-label":e.translate("Close"),title:e.translate("Close")}},buttonBehaviours:Oo([Bs.config({})]),components:[Uu("close",{tag:"span",classes:["tox-icon"]},e.icons)],action:r=>{$r(r,ep)}}),fN=(e,r,s,l)=>({dom:{tag:"div",classes:["tox-dialog__title"],attributes:{...s.map(m=>({id:m})).getOr({})}},components:[],behaviours:Oo([ku.config({channel:`${XC}-${r}`,initialData:e,renderComponents:m=>[Ya(l.translate(m.title))]})])}),hN=()=>({dom:Ym('
    ')}),bN=(e,r,s)=>((l,m,g)=>{const h=kl.parts.title(fN(l,m,R.none(),g)),x=kl.parts.draghandle(hN()),w=kl.parts.close(pN(g)),S=[h].concat(l.draggable?[x]:[]).concat([w]);return Ku.sketch({dom:Ym('
    '),components:S})})({title:s.shared.providers.translate(e),draggable:s.dialog.isDraggableModal()},r,s.shared.providers),yN=(e,r,s,l)=>({dom:{tag:"div",classes:["tox-dialog__busy-spinner"],attributes:{"aria-label":s.translate(e)},styles:{left:"0px",right:"0px",bottom:"0px",top:`${l.getOr(0)}px`,position:"absolute"}},behaviours:r,components:[{dom:Ym('
    ')}]}),vN=(e,r,s)=>({onClose:()=>s.closeWindow(),onBlock:l=>{const m=vs(e().element,".tox-dialog__header").map(g=>Nt(g));kl.setBusy(e(),(g,h)=>yN(l.message,h,r,m))},onUnblock:()=>{kl.setIdle(e())}}),xN="tox-dialog--fullscreen",v5="tox-dialog--width-lg",x5="tox-dialog--width-md",hA=e=>{switch(e){case"large":return R.some(v5);case"medium":return R.some(x5);default:return R.none()}},wN=(e,r)=>{const s=St(r.element.dom);Di(s,xN)||(Zi(s,[v5,x5]),hA(e).each(l=>Jr(s,l)))},kN=(e,r)=>{const s=St(e.element.dom),l=bl(s),m=oo(l,g=>g===v5||g===x5).or(hA(r));((g,h)=>{Ie(h,x=>{((w,S)=>{nd(w)?w.dom.classList.toggle(S):((A,N)=>Rt(oa(A),N)?hl(A,N):wr(A,N))(w,S),bi(w)})(g,x)})})(s,[xN,...m.toArray()])},_N=(e,r,s)=>yl(y5({...e,firstTabstop:1,lazySink:s.shared.getSink,extraBehaviours:[ap({}),...e.extraBehaviours],onEscape:l=>{$r(l,ep)},dialogEvents:r,eventOrder:{[Cd()]:[ku.name(),tc.name()],[Rc()]:["scroll-lock",ku.name(),"messages","dialog-events","alloy.base.behaviour"],[sm()]:["alloy.base.behaviour","dialog-events","messages",ku.name(),"scroll-lock"]}})),w5=(e,r={})=>dt(e,s=>s.type==="menu"?(l=>{const m=dt(l.items,g=>{const h=Xt(r,g.name).getOr(Sn(!1));return{...g,storage:h}});return{...l,items:m}})(s):s),CN=e=>To(e,(r,s)=>s.type==="menu"?To(s.items,(l,m)=>(l[m.name]=m.storage,l),r):r,{}),SN=(e,r)=>[Lf(He(),MT),e(_y,(s,l,m,g)=>{Ts(rr(g.element)).fold(he,hb),r.onClose(),l.onClose()}),e(ep,(s,l,m,g)=>{l.onCancel(s),$r(g,_y)}),Kt(Dh,(s,l)=>r.onUnblock()),Kt(Mh,(s,l)=>r.onBlock(l.event))],EN=(e,r,s)=>{const l=(g,h)=>Kt(g,(x,w)=>{m(x,(S,A)=>{h(e(),S,w.event,x)})}),m=(g,h)=>{ku.getState(g).get().each(x=>{h(x.internalDialog,g)})};return[...SN(l,r),l(bf,(g,h)=>h.onSubmit(g)),l(cd,(g,h,x)=>{h.onChange(g,{name:x.name})}),l(Xu,(g,h,x,w)=>{const S=()=>w.getSystem().isConnected()?Dn.focusIn(w):void 0,A=$=>ds($,"disabled")||Ca($,"aria-disabled").exists(W=>W==="true"),N=rr(w.element),F=Ts(N);h.onAction(g,{name:x.name,value:x.value}),Ts(N).fold(S,$=>{A($)||F.exists(W=>Ce($,W)&&A(W))?S():s().toOptional().filter(W=>!Ce(W.element,$)).each(S)})}),l(xC,(g,h,x)=>{h.onTabChange(g,{newTabName:x.name,oldTabName:x.oldName})}),od(g=>{const h=e();Wo.setValue(g,h.getData())})]},aM=(e,r)=>{const s=r.map(g=>g.footerButtons).getOr([]),l=_o(s,g=>g.align==="start"),m=(g,h)=>Ku.sketch({dom:{tag:"div",classes:[`tox-dialog__footer-${g}`]},components:dt(h,x=>x.memento.asSpec())});return[m("start",l.pass),m("end",l.fail)]},TN=(e,r,s)=>({dom:Ym(''),components:[],behaviours:Oo([ku.config({channel:`${Uw}-${r}`,initialData:e,updateState:(l,m)=>{const g=dt(m.buttons,h=>{const x=Ta(((w,S)=>K0(w,w.type,S))(h,s));return{name:h.name,align:h.align,memento:x}});return R.some({lookupByName:h=>((x,w,S)=>oo(w,A=>A.name===S).bind(A=>A.memento.getOpt(x)))(l,g,h),footerButtons:g})},renderComponents:aM})])}),zN=(e,r,s)=>kl.parts.footer(TN(e,r,s)),AN=(e,r)=>{if(e.getRoot().getSystem().isConnected()){const s=Gr.getCurrent(e.getFormWrapper()).getOr(e.getFormWrapper());return vf.getField(s,r).orThunk(()=>e.getFooter().bind(m=>ku.getState(m).get()).bind(m=>m.lookupByName(r)))}return R.none()},ON=(e,r,s)=>{const l=g=>{const h=e.getRoot();h.getSystem().isConnected()&&g(h)},m={getData:()=>{const g=e.getRoot(),h=g.getSystem().isConnected()?e.getFormWrapper():g;return{...Wo.getValue(h),...Zo(s,x=>x.get())}},setData:g=>{l(h=>{const x=m.getData(),w=Da(x,g),S=((N,F)=>{const $=N.getRoot();return ku.getState($).get().map(W=>Sl(ka("data",W.dataValidator,F))).getOr(F)})(e,w),A=e.getFormWrapper();Wo.setValue(A,S),$o(s,(N,F)=>{Vo(w,F)&&N.set(w[F])})})},setEnabled:(g,h)=>{AN(e,g).each(h?Qn.enable:Qn.disable)},focus:g=>{AN(e,g).each(er.focus)},block:g=>{if(!to(g))throw new Error("The dialogInstanceAPI.block function should be passed a blocking message of type string as an argument");l(h=>{_n(h,Mh,{message:g})})},unblock:()=>{l(g=>{$r(g,Dh)})},showTab:g=>{l(h=>{const x=e.getBody();ku.getState(x).get().exists(w=>w.isTabPanel())&&Gr.getCurrent(x).each(w=>{Wk.showTab(w,g)})})},redial:g=>{l(h=>{const x=e.getId(),w=r(g),S=w5(w.internalDialog.buttons,s);h.getSystem().broadcastOn([`${$w}-${x}`],w),h.getSystem().broadcastOn([`${XC}-${x}`],w.internalDialog),h.getSystem().broadcastOn([`${DT}-${x}`],w.internalDialog),h.getSystem().broadcastOn([`${Uw}-${x}`],{...w.internalDialog,buttons:S}),m.setData(w.initialData)})},close:()=>{l(g=>{$r(g,_y)})},toggleFullscreen:e.toggleFullscreen};return m},NN=(e,r,s,l=!1,m)=>{const g=un("dialog"),h=un("dialog-label"),x=un("dialog-content"),w=e.internalDialog,S=Sn(w.size),A=hA(S.get()).toArray(),N=Ta(((X,ue,ye,we)=>Ku.sketch({dom:Ym('
    '),components:[fN(X,ue,R.some(ye),we),hN(),pN(we)],containerBehaviours:Oo([pv.config({mode:"mouse",blockerClass:"blocker",getTarget:Ye=>Vl(Ye,'[role="dialog"]').getOrDie(),snaps:{getSnapPoints:()=>[],leftAttr:"data-drag-left",topAttr:"data-drag-top"}})])}))({title:w.title,draggable:!0},g,h,s.shared.providers)),F=Ta(((X,ue,ye,we,Ye)=>iN(X,ue,R.some(ye),we,Ye))({body:w.body,initialData:w.initialData},g,x,s,l)),$=w5(w.buttons),W=CN($),se=ln($.length!==0,Ta(((X,ue,ye)=>TN(X,ue,ye))({buttons:$},g,s))),le=EN(()=>te,{onBlock:X=>{em.block(fe,(ue,ye)=>{const we=N.getOpt(fe).map(Ye=>Nt(Ye.element));return yN(X.message,ye,s.shared.providers,we)})},onUnblock:()=>{em.unblock(fe)},onClose:()=>r.closeWindow()},s.shared.getSink),fe=yl({dom:{tag:"div",classes:["tox-dialog","tox-dialog-inline",...A],attributes:{role:"dialog","aria-labelledby":h}},eventOrder:{[Cd()]:[ku.name(),tc.name()],[fl()]:["execute-on-form"],[Rc()]:["reflecting","execute-on-form"]},behaviours:Oo([Dn.config({mode:"cyclic",onEscape:X=>($r(X,_y),R.some(!0)),useTabstopAt:X=>!Ph(X)&&(gr(X)!=="button"||Ma(X,"disabled")!=="disabled"),firstTabstop:1}),ku.config({channel:`${$w}-${g}`,updateState:(X,ue)=>(S.set(ue.internalDialog.size),wN(ue.internalDialog.size,X),m(),R.some(ue)),initialData:e}),er.config({}),Tr("execute-on-form",le.concat([Mu(He(),(X,ue)=>{Dn.focusIn(X)}),Kt(lg(),(X,ue)=>{X.getSystem().broadcastOn([Zw],{newFocus:ue.event.newFocus})})])),em.config({getRoot:()=>R.some(fe)}),fr.config({}),ap({})]),components:[N.asSpec(),F.asSpec(),...se.map(X=>X.asSpec()).toArray()]}),te=ON({getId:me(g),getRoot:me(fe),getFooter:()=>se.map(X=>X.get(fe)),getBody:()=>F.get(fe),getFormWrapper:()=>{const X=F.get(fe);return Gr.getCurrent(X).getOr(X)},toggleFullscreen:()=>{kN(fe,S.get())}},r.redial,W);return{dialog:fe,instanceApi:te}};var k5=tinymce.util.Tools.resolve("tinymce.util.URI");const sM=["insertContent","setContent","execCommand","close","block","unblock"],MN=e=>Lo(e)&&sM.indexOf(e.mceAction)!==-1,iM=(e,r,s,l)=>{const m=un("dialog"),g=bN(e.title,m,l),h=(fe=>{const te={dom:{tag:"div",classes:["tox-dialog__content-js"]},components:[{dom:{tag:"div",classes:["tox-dialog__body-iframe"]},components:[YC(R.none(),{dom:{tag:"iframe",attributes:{src:fe.url}},behaviours:Oo([Bs.config({}),er.config({})])})]}],behaviours:Oo([Dn.config({mode:"acyclic",useTabstopAt:Yo(Ph)})])};return kl.parts.body(te)})(e),x=e.buttons.bind(fe=>fe.length===0?R.none():R.some(zN({buttons:fe},m,l))),w=((fe,te)=>{const X=(ye,we)=>Kt(ye,(Ye,Tt)=>{ue(Ye,(Qt,ro)=>{we(le,Qt,Tt.event,Ye)})}),ue=(ye,we)=>{ku.getState(ye).get().each(Ye=>{we(Ye,ye)})};return[...SN(X,te),X(Xu,(ye,we,Ye)=>{we.onAction(ye,{name:Ye.name})})]})(0,vN(()=>se,l.shared.providers,r)),S={...e.height.fold(()=>({}),fe=>({height:fe+"px","max-height":fe+"px"})),...e.width.fold(()=>({}),fe=>({width:fe+"px","max-width":fe+"px"}))},A=e.width.isNone()&&e.height.isNone()?["tox-dialog--width-lg"]:[],N=new k5(e.url,{base_uri:new k5(window.location.href)}),F=`${N.protocol}://${N.host}${N.port?":"+N.port:""}`,$=vg(),W=[ku.config({channel:`${$w}-${m}`,updateState:(fe,te)=>R.some(te),initialData:e}),Tr("messages",[La(()=>{const fe=Ul(St(window),"message",te=>{if(N.isSameOrigin(new k5(te.raw.origin))){const X=te.raw.data;MN(X)?((ue,ye,we)=>{switch(we.mceAction){case"insertContent":ue.insertContent(we.content);break;case"setContent":ue.setContent(we.content);break;case"execCommand":const Ye=!!jo(we.ui)&&we.ui;ue.execCommand(we.cmd,Ye,we.value);break;case"close":ye.close();break;case"block":ye.block(we.message);break;case"unblock":ye.unblock()}})(s,le,X):(ue=>!MN(ue)&&Lo(ue)&&Vo(ue,"mceAction"))(X)&&e.onMessage(le,X)}});$.set(fe)}),od($.clear)]),tc.config({channels:{[JC]:{onReceive:(fe,te)=>{vs(fe.element,"iframe").each(X=>{const ue=X.dom.contentWindow;Ue(ue)&&ue.postMessage(te,F)})}}}})],se=_N({id:m,header:g,body:h,footer:x,extraClasses:A,extraBehaviours:W,extraStyles:S},w,l),le=(fe=>{const te=X=>{fe.getSystem().isConnected()&&X(fe)};return{block:X=>{if(!to(X))throw new Error("The urlDialogInstanceAPI.block function should be passed a blocking message of type string as an argument");te(ue=>{_n(ue,Mh,{message:X})})},unblock:()=>{te(X=>{$r(X,Dh)})},close:()=>{te(X=>{$r(X,_y)})},sendMessage:X=>{te(ue=>{ue.getSystem().broadcastOn([JC],X)})}}})(se);return{dialog:se,instanceApi:le}},DN=(e,r)=>Sl(ka("data",r,e)),RN=e=>Nh(e,".tox-alert-dialog")||Nh(e,".tox-confirm-dialog"),lM=(e,r,s)=>r&&s?[]:[di.config({contextual:{lazyContext:()=>R.some(Fa(St(e.getContentAreaContainer()))),fadeInClass:"tox-dialog-dock-fadein",fadeOutClass:"tox-dialog-dock-fadeout",transitionClass:"tox-dialog-dock-transition"},modes:["top"],lazyViewport:l=>ff(e,l.element).map(m=>({bounds:Oh(m),optScrollEnv:R.some({currentScrollTop:m.element.dom.scrollTop,scrollElmTop:Or(m.element).top})})).getOrThunk(()=>({bounds:Ua(),optScrollEnv:R.none()}))})],cM=e=>{const r=e.editor,s=_h(r),l=(w=>{const S=w.shared;return{open:(A,N)=>{const F=()=>{kl.hide(le),N()},$=Ta(K0({name:"close-alert",text:"OK",primary:!0,buttonType:R.some("primary"),align:"end",enabled:!0,icon:R.none()},"cancel",w)),W=dN(),se=cN(F,S.providers),le=yl(y5({lazySink:()=>S.getSink(),header:lN(W,se),body:uN(A,S.providers),footer:R.some(mN(gN([],[$.asSpec()]))),onEscape:F,extraClasses:["tox-alert-dialog"],extraBehaviours:[],extraStyles:{},dialogEvents:[Kt(ep,F)],eventOrder:{}}));kl.show(le);const fe=$.get(le);er.focus(fe)}}})(e.backstages.dialog),m=(w=>{const S=w.shared;return{open:(A,N)=>{const F=X=>{kl.hide(fe),N(X)},$=Ta(K0({name:"yes",text:"Yes",primary:!0,buttonType:R.some("primary"),align:"end",enabled:!0,icon:R.none()},"submit",w)),W=K0({name:"no",text:"No",primary:!1,buttonType:R.some("secondary"),align:"end",enabled:!0,icon:R.none()},"cancel",w),se=dN(),le=cN(()=>F(!1),S.providers),fe=yl(y5({lazySink:()=>S.getSink(),header:lN(se,le),body:uN(A,S.providers),footer:R.some(mN(gN([],[W,$.asSpec()]))),onEscape:()=>F(!1),extraClasses:["tox-confirm-dialog"],extraBehaviours:[],extraStyles:{},dialogEvents:[Kt(ep,()=>F(!1)),Kt(bf,()=>F(!0))],eventOrder:{}}));kl.show(fe);const te=$.get(fe);er.focus(te)}}})(e.backstages.dialog),g=(w,S)=>fv.open((A,N,F)=>{const $=N,W=((se,le,fe)=>{const te=un("dialog"),X=se.internalDialog,ue=bN(X.title,te,fe),ye=Sn(X.size),we=hA(ye.get()).toArray(),Ye=((dr,jr,gs)=>{const Vs=iN(dr,jr,R.none(),gs,!1);return kl.parts.body(Vs)})({body:X.body,initialData:X.initialData},te,fe),Tt=w5(X.buttons),Qt=CN(Tt),ro=ln(Tt.length!==0,zN({buttons:Tt},te,fe)),no=EN(()=>ar,vN(()=>pn,fe.shared.providers,le),fe.shared.getSink),Uo={id:te,header:ue,body:Ye,footer:ro,extraClasses:we,extraBehaviours:[ku.config({channel:`${$w}-${te}`,updateState:(dr,jr)=>(ye.set(jr.internalDialog.size),wN(jr.internalDialog.size,dr),R.some(jr)),initialData:se})],extraStyles:{}},pn=_N(Uo,no,fe),Mn={getId:me(te),getRoot:me(pn),getBody:()=>kl.getBody(pn),getFooter:()=>kl.getFooter(pn),getFormWrapper:()=>{const dr=kl.getBody(pn);return Gr.getCurrent(dr).getOr(dr)},toggleFullscreen:()=>{kN(pn,ye.get())}},ar=ON(Mn,le.redial,Qt);return{dialog:pn,instanceApi:ar}})({dataValidator:F,initialData:$,internalDialog:A},{redial:fv.redial,closeWindow:()=>{kl.hide(W.dialog),S(W.instanceApi)}},e.backstages.dialog);return kl.show(W.dialog),W.instanceApi.setData($),W.instanceApi},w),h=(w,S,A,N)=>fv.open((F,$,W)=>{const se=DN($,W),le=ms(),fe=e.backstages.popup.shared.header.isPositionedAtTop(),te=()=>le.on(ye=>{Rs.reposition(ye),s&&fe||di.refresh(ye)}),X=NN({dataValidator:W,initialData:se,internalDialog:F},{redial:fv.redial,closeWindow:()=>{le.on(Rs.hide),r.off("ResizeEditor",te),le.clear(),A(X.instanceApi)}},e.backstages.popup,N.ariaAttrs,te),ue=yl(Rs.sketch({lazySink:e.backstages.popup.shared.getSink,dom:{tag:"div",classes:[]},fireDismissalEventInstead:N.persistent?{event:"doNotDismissYet"}:{},...fe?{}:{fireRepositionEventInstead:{}},inlineBehaviours:Oo([Tr("window-manager-inline-events",[Kt(Ou(),(ye,we)=>{$r(X.dialog,ep)})]),...lM(r,s,fe)]),isExtraPart:(ye,we)=>RN(we)}));return le.set(ue),Rs.showWithinBounds(ue,Tc(X.dialog),{anchor:S},()=>{const ye=r.inline?ws():St(r.getContainer()),we=Fa(ye);return R.some(we)}),s&&fe||(di.refresh(ue),r.on("ResizeEditor",te)),X.instanceApi.setData(se),Dn.focusIn(X.dialog),X.instanceApi},w),x=(w,S,A,N)=>fv.open((F,$,W)=>{const se=DN($,W),le=ms(),fe=e.backstages.popup.shared.header.isPositionedAtTop(),te=()=>le.on(ye=>{Rs.reposition(ye),di.refresh(ye)}),X=NN({dataValidator:W,initialData:se,internalDialog:F},{redial:fv.redial,closeWindow:()=>{le.on(Rs.hide),r.off("ResizeEditor ScrollWindow ElementScroll",te),le.clear(),A(X.instanceApi)}},e.backstages.popup,N.ariaAttrs,te),ue=yl(Rs.sketch({lazySink:e.backstages.popup.shared.getSink,dom:{tag:"div",classes:[]},fireDismissalEventInstead:N.persistent?{event:"doNotDismissYet"}:{},...fe?{}:{fireRepositionEventInstead:{}},inlineBehaviours:Oo([Tr("window-manager-inline-events",[Kt(Ou(),(ye,we)=>{$r(X.dialog,ep)})]),di.config({contextual:{lazyContext:()=>R.some(Fa(St(r.getContentAreaContainer()))),fadeInClass:"tox-dialog-dock-fadein",fadeOutClass:"tox-dialog-dock-fadeout",transitionClass:"tox-dialog-dock-transition"},modes:["top","bottom"],lazyViewport:ye=>ff(r,ye.element).map(we=>({bounds:Oh(we),optScrollEnv:R.some({currentScrollTop:we.element.dom.scrollTop,scrollElmTop:Or(we.element).top})})).getOrThunk(()=>({bounds:Ua(),optScrollEnv:R.none()}))})]),isExtraPart:(ye,we)=>RN(we)}));return le.set(ue),Rs.showWithinBounds(ue,Tc(X.dialog),{anchor:S},()=>e.backstages.popup.shared.getSink().toOptional().bind(ye=>{const we=ff(r,ye.element).map(Qt=>Oh(Qt)).getOr(Ua()),Ye=Fa(St(r.getContentAreaContainer())),Tt=Kc(Ye,we);return R.some(Ba(Tt.x,Tt.y,Tt.width,Tt.height-15))})),di.refresh(ue),r.on("ResizeEditor ScrollWindow ElementScroll ResizeWindow",te),X.instanceApi.setData(se),Dn.focusIn(X.dialog),X.instanceApi},w);return{open:(w,S,A)=>{if(!an(S)){if(S.inline==="toolbar")return h(w,e.backstages.popup.shared.anchors.inlineDialog(),A,S);if(S.inline==="bottom")return x(w,e.backstages.popup.shared.anchors.inlineBottomDialog(),A,S);if(S.inline==="cursor")return h(w,e.backstages.popup.shared.anchors.cursor(),A,S)}return g(w,A)},openUrl:(w,S)=>((A,N)=>fv.openUrl(F=>{const $=iM(F,{closeWindow:()=>{kl.hide($.dialog),N($.instanceApi)}},r,e.backstages.dialog);return kl.show($.dialog),$.instanceApi},A))(w,S),alert:(w,S)=>{l.open(w,S)},close:w=>{w.close()},confirm:(w,S)=>{m.open(w,S)}}};fd.add("silver",e=>{(h=>{Ex(h),(x=>{const w=x.options.register,S=N=>co(N,to)?{value:CE(N),valid:!0}:{valid:!1,message:"Must be an array of strings."},A=N=>So(N)&&N>0?{value:N,valid:!0}:{valid:!1,message:"Must be a positive number."};w("color_map",{processor:S,default:["#BFEDD2","Light Green","#FBEEB8","Light Yellow","#F8CAC6","Light Red","#ECCAFA","Light Purple","#C2E0F4","Light Blue","#2DC26B","Green","#F1C40F","Yellow","#E03E2D","Red","#B96AD9","Purple","#3598DB","Blue","#169179","Dark Turquoise","#E67E23","Orange","#BA372A","Dark Red","#843FA1","Dark Purple","#236FA1","Dark Blue","#ECF0F1","Light Gray","#CED4D9","Medium Gray","#95A5A6","Gray","#7E8C8D","Dark Gray","#34495E","Navy Blue","#000000","Black","#ffffff","White"]}),w("color_map_background",{processor:S}),w("color_map_foreground",{processor:S}),w("color_cols",{processor:A,default:yy(x)}),w("color_cols_foreground",{processor:A,default:mw(x,Jg)}),w("color_cols_background",{processor:A,default:mw(x,uw)}),w("custom_colors",{processor:"boolean",default:!0}),w("color_default_foreground",{processor:"string",default:zh}),w("color_default_background",{processor:"string",default:zh})})(h),(x=>{const w=x.options.register;w("contextmenu_avoid_overlap",{processor:"string",default:""}),w("contextmenu_never_use_native",{processor:"boolean",default:!1}),w("contextmenu",{processor:S=>S===!1?{value:[],valid:!0}:to(S)||co(S,to)?{value:Dm(S),valid:!0}:{valid:!1,message:"Must be false or a string."},default:"link linkchecker image editimage table spellchecker configurepermanentpen"})})(h)})(e);let r=()=>Ua();const{dialogs:s,popups:l,renderUI:m}=x6(e,{getPopupSinkBounds:()=>r()});HE(e,l.backstage.shared);const g=cM({editor:e,backstages:{popup:l.backstage,dialog:s.backstage}});return{renderUI:()=>{const h=m();return ff(e,l.getMothership().element).each(x=>{r=()=>Oh(x)}),h},getWindowManagerImpl:me(g),getNotificationManagerImpl:()=>((h,x,w)=>{const S=x.backstage.shared,A=()=>{const N=Fa(St(h.getContentAreaContainer())),F=Ua(),$=mc(F.x,N.x,N.right),W=mc(F.y,N.y,N.bottom),se=Math.max(N.right,F.right),le=Math.max(N.bottom,F.bottom);return R.some(Ba($,W,se-$,le-W))};return{open:(N,F)=>{const $=()=>{F(),Rs.hide(se)},W=yl(q1.sketch({text:N.text,level:Rt(["success","error","warning","warn","info"],N.type)?N.type:void 0,progress:N.progressBar===!0,icon:N.icon,closeButton:N.closeButton,onAction:$,iconProvider:S.providers.icons,translationProvider:S.providers.translate})),se=yl(Rs.sketch({dom:{tag:"div",classes:["tox-notifications-container"]},lazySink:S.getSink,fireDismissalEventInstead:{},...S.header.isPositionedAtTop()?{}:{fireRepositionEventInstead:{}}}));w.add(se),So(N.timeout)&&N.timeout>0&&hx.setEditorTimeout(h,()=>{$()},N.timeout);const le={close:$,reposition:()=>{const fe=Tc(W),te={maxHeightFunction:wg()},X=h.notificationManager.getNotifications();if(X[0]===le){const ue={...S.anchors.banner(),overrides:te};Rs.showWithinBounds(se,fe,{anchor:ue},A)}else ht(X,le).each(ue=>{const ye=X[ue-1].getEl(),we={type:"node",root:ws(),node:R.some(St(ye)),overrides:te,layouts:{onRtl:()=>[yi],onLtr:()=>[yi]}};Rs.showWithinBounds(se,fe,{anchor:we},A)})},text:fe=>{q1.updateText(W,fe)},settings:N,getEl:()=>W.element.dom,progressBar:{value:fe=>{q1.updateProgress(W,fe)}}};return le},close:N=>{N.close()},getArgs:N=>N.settings}})(e,{backstage:l.backstage},l.getMothership())}})})();(function(){var xo=tinymce.util.Tools.resolve("tinymce.ModelManager");const Ko=p=>b=>(_=>{const T=typeof _;return _===null?"null":T==="object"&&Array.isArray(_)?"array":T==="object"&&(L=I=_,(Z=String).prototype.isPrototypeOf(L)||((Y=I.constructor)===null||Y===void 0?void 0:Y.name)===Z.name)?"string":T;var L,I,Z,Y})(b)===p,Po=p=>b=>typeof b===p,en=p=>b=>p===b,tn=Ko("string"),to=Ko("object"),Lo=Ko("array"),jt=en(null),Co=Po("boolean"),Ro=en(void 0),jo=p=>!(b=>b==null)(p),an=Po("function"),Ao=Po("number"),Ue=()=>{},it=p=>()=>p,So=p=>p,co=(p,b)=>p===b;function he(p,...b){return(..._)=>{const T=b.concat(_);return p.apply(null,T)}}const Dt=p=>b=>!p(b),fo=p=>p(),me=it(!1),Ze=it(!0);class de{constructor(b,_){this.tag=b,this.value=_}static some(b){return new de(!0,b)}static none(){return de.singletonNone}fold(b,_){return this.tag?_(this.value):b()}isSome(){return this.tag}isNone(){return!this.tag}map(b){return this.tag?de.some(b(this.value)):de.none()}bind(b){return this.tag?b(this.value):de.none()}exists(b){return this.tag&&b(this.value)}forall(b){return!this.tag||b(this.value)}filter(b){return!this.tag||b(this.value)?this:de.none()}getOr(b){return this.tag?this.value:b}or(b){return this.tag?this:b}getOrThunk(b){return this.tag?this.value:b()}orThunk(b){return this.tag?this:b()}getOrDie(b){if(this.tag)return this.value;throw new Error(b??"Called getOrDie on None")}static from(b){return jo(b)?de.some(b):de.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(b){this.tag&&b(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}de.singletonNone=new de(!1);const rt=Array.prototype.slice,Yo=Array.prototype.indexOf,$t=Array.prototype.push,gn=(p,b)=>{return _=p,T=b,Yo.call(_,T)>-1;var _,T},Bo=(p,b)=>{for(let _=0,T=p.length;_{const _=[];for(let T=0;T{const _=p.length,T=new Array(_);for(let L=0;L<_;L++){const I=p[L];T[L]=b(I,L)}return T},qe=(p,b)=>{for(let _=0,T=p.length;_{const _=[],T=[];for(let L=0,I=p.length;L{const _=[];for(let T=0,L=p.length;T(((T,L)=>{for(let I=T.length-1;I>=0;I--)L(T[I],I)})(p,(T,L)=>{_=b(_,T,L)}),_),ht=(p,b,_)=>(qe(p,(T,L)=>{_=b(_,T,L)}),_),Rt=(p,b)=>((_,T,L)=>{for(let I=0,Z=_.length;I{for(let _=0,T=p.length;_{const b=[];for(let _=0,T=p.length;_Bt(R(p,b)),dt=(p,b)=>{for(let _=0,T=p.length;_{const _={};for(let T=0,L=p.length;Tb>=0&&b_o(p,0),lo=p=>_o(p,p.length-1),To=(p,b)=>{for(let _=0;_{const _=oo(p);for(let T=0,L=_.length;Tgt(p,(_,T)=>({k:T,v:b(_,T)})),gt=(p,b)=>{const _={};return $e(p,(T,L)=>{const I=b(T,L);_[I.k]=I.v}),_},pe=(p,b)=>{const _=[];return $e(p,(T,L)=>{_.push(b(T,L))}),_},Oe=p=>pe(p,So),We=(p,b)=>Se.call(p,b),Fe=typeof window<"u"?window:Function("return this;")(),ge=(p,b)=>((_,T)=>{let L=T??Fe;for(let I=0;I<_.length&&L!=null;++I)L=L[_[I]];return L})(p.split("."),b),Me=Object.getPrototypeOf,at=p=>{const b=ge("ownerDocument.defaultView",p);return to(p)&&((_=>((T,L)=>{const I=((Z,Y)=>ge(Z,Y))(T,L);if(I==null)throw new Error(T+" not available on this browser");return I})("HTMLElement",_))(b).prototype.isPrototypeOf(p)||/^HTML\w*Element$/.test(Me(p).constructor.name))},ze=p=>p.dom.nodeName.toLowerCase(),Ge=p=>p.dom.nodeType,Gt=p=>b=>Ge(b)===p,Vt=p=>Ge(p)===8||ze(p)==="#comment",Xo=p=>$o(p)&&at(p.dom),$o=Gt(1),Zo=Gt(3),Gn=Gt(9),Pn=Gt(11),zn=p=>b=>$o(b)&&ze(b)===p,ut=(p,b,_)=>{if(!(tn(_)||Co(_)||Ao(_)))throw console.error("Invalid call to Attribute.set. Key ",b,":: Value ",_,":: Element ",p),new Error("Attribute value was not simple");p.setAttribute(b,_+"")},zt=(p,b,_)=>{ut(p.dom,b,_)},Ft=(p,b)=>{const _=p.dom;$e(b,(T,L)=>{ut(_,L,T)})},vo=(p,b)=>{const _=p.dom.getAttribute(b);return _===null?void 0:_},Xt=(p,b)=>de.from(vo(p,b)),Vo=(p,b)=>{p.dom.removeAttribute(b)},$n=p=>ht(p.dom.attributes,(b,_)=>(b[_.name]=_.value,b),{}),Rr=p=>{if(p==null)throw new Error("Node cannot be null or undefined");return{dom:p}},Wt={fromHtml:(p,b)=>{const _=(b||document).createElement("div");if(_.innerHTML=p,!_.hasChildNodes()||_.childNodes.length>1){const T="HTML does not have a single root node";throw console.error(T,p),new Error(T)}return Rr(_.childNodes[0])},fromTag:(p,b)=>{const _=(b||document).createElement(p);return Rr(_)},fromText:(p,b)=>{const _=(b||document).createTextNode(p);return Rr(_)},fromDom:Rr,fromPoint:(p,b,_)=>de.from(p.dom.elementFromPoint(b,_)).map(Rr)},vr=(p,b)=>{const _=p.dom;if(_.nodeType!==1)return!1;{const T=_;if(T.matches!==void 0)return T.matches(b);if(T.msMatchesSelector!==void 0)return T.msMatchesSelector(b);if(T.webkitMatchesSelector!==void 0)return T.webkitMatchesSelector(b);if(T.mozMatchesSelector!==void 0)return T.mozMatchesSelector(b);throw new Error("Browser lacks native selectors")}},Fn=p=>p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11||p.childElementCount===0,ln=(p,b)=>{const _=b===void 0?document:b.dom;return Fn(_)?de.none():de.from(_.querySelector(p)).map(Wt.fromDom)},xr=(p,b)=>p.dom===b.dom,Ys=(p,b)=>{const _=p.dom,T=b.dom;return _!==T&&_.contains(T)},Yr=vr,Pa=p=>Wt.fromDom(p.dom.ownerDocument),cs=p=>Gn(p)?p:Pa(p),Ha=p=>de.from(p.dom.parentNode).map(Wt.fromDom),ja=p=>de.from(p.dom.parentElement).map(Wt.fromDom),$s=(p,b)=>{const _=an(b)?b:me;let T=p.dom;const L=[];for(;T.parentNode!==null&&T.parentNode!==void 0;){const I=T.parentNode,Z=Wt.fromDom(I);if(L.push(Z),_(Z)===!0)break;T=I}return L},Us=p=>de.from(p.dom.previousSibling).map(Wt.fromDom),_a=p=>de.from(p.dom.nextSibling).map(Wt.fromDom),tt=p=>R(p.dom.childNodes,Wt.fromDom),_t=(p,b)=>{const _=p.dom.childNodes;return de.from(_[b]).map(Wt.fromDom)},Mo=(p,b)=>{Ha(p).each(_=>{_.dom.insertBefore(b.dom,p.dom)})},St=(p,b)=>{_a(p).fold(()=>{Ha(p).each(_=>{kr(_,b)})},_=>{Mo(_,b)})},zr=(p,b)=>{(T=>_t(T,0))(p).fold(()=>{kr(p,b)},T=>{p.dom.insertBefore(b.dom,T.dom)})},kr=(p,b)=>{p.dom.appendChild(b.dom)},Is=(p,b)=>{Mo(p,b),kr(b,p)},Xr=(p,b)=>{qe(b,(_,T)=>{const L=T===0?p:b[T-1];St(L,_)})},gr=(p,b)=>{qe(b,_=>{kr(p,_)})},De=p=>{p.dom.textContent="",qe(tt(p),b=>{Ae(b)})},Ae=p=>{const b=p.dom;b.parentNode!==null&&b.parentNode.removeChild(b)},wt=p=>{const b=tt(p);b.length>0&&Xr(p,b),Ae(p)},It=(p,b)=>Wt.fromDom(p.dom.cloneNode(b)),dn=p=>It(p,!1),on=p=>It(p,!0),sr=(p,b)=>{const _=Wt.fromTag(b),T=$n(p);return Ft(_,T),_},Vr=["tfoot","thead","tbody","colgroup"],Br=(p,b,_)=>({element:p,rowspan:b,colspan:_}),Jo=(p,b,_)=>({element:p,cells:b,section:_}),Ce=(p,b,_)=>({element:p,isNew:b,isLocked:_}),Ne=(p,b,_,T)=>({element:p,cells:b,section:_,isNew:T}),Zt=an(Element.prototype.attachShadow)&&an(Node.prototype.getRootNode),Io=it(Zt),Ho=Zt?p=>Wt.fromDom(p.dom.getRootNode()):cs,nn=p=>Wt.fromDom(p.dom.host),Go=p=>{const b=Zo(p)?p.dom.parentNode:p.dom;if(b==null||b.ownerDocument===null)return!1;const _=b.ownerDocument;return(I=>{const Z=Ho(I);return Pn(Y=Z)&&jo(Y.dom.host)?de.some(Z):de.none();var Y})(Wt.fromDom(b)).fold(()=>_.body.contains(b),(T=Go,L=nn,I=>T(L(I))));var T,L},hn=p=>{const b=p.dom.body;if(b==null)throw new Error("Body is not available yet");return Wt.fromDom(b)},wn=(p,b)=>{let _=[];return qe(tt(p),T=>{b(T)&&(_=_.concat([T])),_=_.concat(wn(T,b))}),_},Un=(p,b,_)=>((T,L,I)=>lt($s(T,I),Z=>vr(Z,b)))(p,0,_),Ar=(p,b)=>((_,T)=>lt(tt(_),L=>vr(L,b)))(p),ra=(p,b)=>((_,T)=>{const L=T===void 0?document:T.dom;return Fn(L)?[]:R(L.querySelectorAll(_),Wt.fromDom)})(b,p);var Xs=(p,b,_,T,L)=>p(_,T)?de.some(_):an(L)&&L(_)?de.none():b(_,T,L);const Zs=(p,b,_)=>{let T=p.dom;const L=an(_)?_:me;for(;T.parentNode;){T=T.parentNode;const I=Wt.fromDom(T);if(b(I))return de.some(I);if(L(I))break}return de.none()},mi=(p,b,_)=>Xs((T,L)=>L(T),Zs,p,b,_),Wr=(p,b,_)=>Zs(p,T=>vr(T,b),_),rr=(p,b)=>((_,T)=>Rt(_.dom.childNodes,L=>{return I=Wt.fromDom(L),vr(I,b);var I}).map(Wt.fromDom))(p),Sr=(p,b)=>ln(b,p),va=(p,b,_)=>Xs((T,L)=>vr(T,L),Wr,p,b,_),Cs=(p,b,_=co)=>p.exists(T=>_(T,b)),za=p=>{const b=[],_=T=>{b.push(T)};for(let T=0;Tp?de.some(b):de.none(),As=(p,b,_)=>b===""||p.length>=b.length&&p.substr(_,_+b.length)===b,Aa=(p,b,_=0,T)=>{const L=p.indexOf(b,_);return L!==-1&&(!!Ro(T)||L+b.length<=T)},Kn=(p,b)=>As(p,b,0),Os=(p,b)=>As(p,b,p.length-b.length),Ma=(p=>b=>b.replace(p,""))(/^\s+|\s+$/g),Ca=p=>p.length>0,ds=p=>p.style!==void 0&&an(p.style.getPropertyValue),xa=(p,b,_)=>{if(!tn(_))throw console.error("Invalid call to CSS.set. Property ",b,":: Value ",_,":: Element ",p),new Error("CSS value must be a string: "+_);ds(p)&&p.style.setProperty(b,_)},Rn=(p,b,_)=>{const T=p.dom;xa(T,b,_)},Hi=(p,b)=>{const _=p.dom;$e(b,(T,L)=>{xa(_,L,T)})},Bn=(p,b)=>{const _=p.dom,T=window.getComputedStyle(_).getPropertyValue(b);return T!==""||Go(p)?T:ji(_,b)},ji=(p,b)=>ds(p)?p.style.getPropertyValue(b):"",go=(p,b)=>{const _=p.dom,T=ji(_,b);return de.from(T).filter(L=>L.length>0)},aa=(p,b)=>{((_,T)=>{ds(_)&&_.style.removeProperty(T)})(p.dom,b),Cs(Xt(p,"style").map(Ma),"")&&Vo(p,"style")},Ss=(p,b,_=0)=>Xt(p,b).map(T=>parseInt(T,10)).getOr(_),Ir=(p,b)=>Ss(p,b,1),gi=p=>zn("col")(p)?Ss(p,"span",1)>1:Ir(p,"colspan")>1,sc=p=>Ir(p,"rowspan")>1,Pr=(p,b)=>parseInt(Bn(p,b),10),ne=it(10),Be=it(10),Pe=(p,b)=>Nt(p,b,Ze),Nt=(p,b,_)=>V(tt(p),T=>vr(T,b)?_(T)?[T]:[]:Nt(T,b,_)),ho=(p,b)=>((_,T,L=me)=>L(T)?de.none():gn(_,ze(T))?de.some(T):Wr(T,_.join(","),I=>vr(I,"table")||L(I)))(["td","th"],p,b),bn=p=>Pe(p,"th,td"),kn=p=>vr(p,"colgroup")?Ar(p,"col"):V(Sa(p),b=>Ar(b,"col")),_r=(p,b)=>va(p,"table",b),Or=p=>Pe(p,"tr"),Sa=p=>_r(p).fold(it([]),b=>Ar(b,"colgroup")),ma=(p,b)=>R(p,_=>{if(ze(_)==="colgroup"){const T=R(kn(_),L=>{const I=Ss(L,"span",1);return Br(L,1,I)});return Jo(_,T,"colgroup")}{const T=R(bn(_),L=>{const I=Ss(L,"rowspan",1),Z=Ss(L,"colspan",1);return Br(L,I,Z)});return Jo(_,T,b(_))}}),Ga=p=>Ha(p).map(b=>{const _=ze(b);return(T=>gn(Vr,T))(_)?_:"tbody"}).getOr("tbody"),Q=p=>{const b=Or(p),_=[...Sa(p),...b];return ma(_,Ga)},Ee=p=>{let b,_=!1;return(...T)=>(_||(_=!0,b=p.apply(null,T)),b)},bt=()=>wo(0,0),wo=(p,b)=>({major:p,minor:b}),Zn={nu:wo,detect:(p,b)=>{const _=String(b).toLowerCase();return p.length===0?bt():((T,L)=>{const I=((Y,ae)=>{for(let be=0;beNumber(L.replace(I,"$"+Y));return wo(Z(1),Z(2))})(p,_)},unknown:bt},U=(p,b)=>{const _=String(b).toLowerCase();return Rt(p,T=>T.search(_))},oe=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,xe=p=>b=>Aa(b,p),xt=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:p=>Aa(p,"edge/")&&Aa(p,"chrome")&&Aa(p,"safari")&&Aa(p,"applewebkit")},{name:"Chromium",brand:"Chromium",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,oe],search:p=>Aa(p,"chrome")&&!Aa(p,"chromeframe")},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:p=>Aa(p,"msie")||Aa(p,"trident")},{name:"Opera",versionRegexes:[oe,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:xe("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:xe("firefox")},{name:"Safari",versionRegexes:[oe,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:p=>(Aa(p,"safari")||Aa(p,"mobile/"))&&Aa(p,"applewebkit")}],po=[{name:"Windows",search:xe("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:p=>Aa(p,"iphone")||Aa(p,"ipad"),versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:xe("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"macOS",search:xe("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:xe("linux"),versionRegexes:[]},{name:"Solaris",search:xe("sunos"),versionRegexes:[]},{name:"FreeBSD",search:xe("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:xe("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}],Yn={browsers:it(xt),oses:it(po)},ga="Edge",ks="Chromium",_i="Opera",Js="Firefox",Vi="Safari",Qs=p=>{const b=p.current,_=p.version,T=L=>()=>b===L;return{current:b,version:_,isEdge:T(ga),isChromium:T(ks),isIE:T("IE"),isOpera:T(_i),isFirefox:T(Js),isSafari:T(Vi)}},ic=()=>Qs({current:void 0,version:Zn.unknown()}),_s=Qs,vc="Windows",je="Android",Ll="Linux",pd="macOS",Ci="Solaris",bp="FreeBSD",sa="ChromeOS",lc=p=>{const b=p.current,_=p.version,T=L=>()=>b===L;return{current:b,version:_,isWindows:T(vc),isiOS:T("iOS"),isAndroid:T(je),isMacOS:T(pd),isLinux:T(Ll),isSolaris:T(Ci),isFreeBSD:T(bp),isChromeOS:T(sa)}},ag=()=>lc({current:void 0,version:Zn.unknown()}),Si=lc,Gc=p=>window.matchMedia(p).matches;let Gi=Ee(()=>((p,b,_)=>{const T=Yn.browsers(),L=Yn.oses(),I=b.bind(ae=>((be,Le)=>To(Le.brands,_e=>{const Re=_e.brand.toLowerCase();return Rt(be,Xe=>{var Et;return Re===((Et=Xe.brand)===null||Et===void 0?void 0:Et.toLowerCase())}).map(Xe=>({current:Xe.name,version:Zn.nu(parseInt(_e.version,10),0)}))}))(T,ae)).orThunk(()=>((ae,be)=>U(ae,be).map(Le=>{const _e=Zn.detect(Le.versionRegexes,be);return{current:Le.name,version:_e}}))(T,p)).fold(ic,_s),Z=((ae,be)=>U(ae,be).map(Le=>{const _e=Zn.detect(Le.versionRegexes,be);return{current:Le.name,version:_e}}))(L,p).fold(ag,Si),Y=((ae,be,Le,_e)=>{const Re=ae.isiOS()&&/ipad/i.test(Le)===!0,Xe=ae.isiOS()&&!Re,Et=ae.isiOS()||ae.isAndroid(),vt=Et||_e("(pointer:coarse)"),qt=Re||!Xe&&Et&&_e("(min-device-width:768px)"),eo=Xe||Et&&!qt,bo=be.isSafari()&&ae.isiOS()&&/safari/i.test(Le)===!1,so=!eo&&!qt&&!bo;return{isiPad:it(Re),isiPhone:it(Xe),isTablet:it(qt),isPhone:it(eo),isTouch:it(vt),isAndroid:ae.isAndroid,isiOS:ae.isiOS,isWebView:it(bo),isDesktop:it(so)}})(Z,I,p,_);return{browser:I,os:Z,deviceType:Y}})(navigator.userAgent,de.from(navigator.userAgentData),Gc));const Il=()=>Gi(),Yl=(p,b)=>{const _=L=>{const I=b(L);if(I<=0||I===null){const Z=Bn(L,p);return parseFloat(Z)||0}return I},T=(L,I)=>ht(I,(Z,Y)=>{const ae=Bn(L,Y),be=ae===void 0?0:parseInt(ae,10);return isNaN(be)?Z:Z+be},0);return{set:(L,I)=>{if(!Ao(I)&&!I.match(/^[0-9]+$/))throw new Error(p+".set accepts only positive integer values. Value was "+I);const Z=L.dom;ds(Z)&&(Z.style[p]=I+"px")},get:_,getOuter:_,aggregate:T,max:(L,I,Z)=>{const Y=T(L,Z);return I>Y?I-Y:0}}},Ki=(p,b,_)=>((T,L)=>(I=>{const Z=parseFloat(I);return isNaN(Z)?de.none():de.some(Z)})(T).getOr(L))(Bn(p,b),_),ie=Yl("width",p=>p.dom.offsetWidth),ve=p=>ie.get(p),yt=p=>ie.getOuter(p),Lt=p=>((b,_)=>{const T=b.dom,L=T.getBoundingClientRect().width||T.offsetWidth;return _==="border-box"?L:((I,Z,Y,ae)=>Z-Ki(I,`padding-${Y}`,0)-Ki(I,`padding-${ae}`,0)-Ki(I,`border-${Y}-width`,0)-Ki(I,`border-${ae}-width`,0))(b,L,"left","right")})(p,"content-box"),yn=(p,b,_)=>{const T=p.cells,L=T.slice(0,b),I=T.slice(b),Z=L.concat(_).concat(I);return ei(p,Z)},ur=(p,b,_)=>yn(p,b,[_]),Ra=(p,b,_)=>{p.cells[b]=_},ei=(p,b)=>Ne(p.element,b,p.section,p.isNew),ia=(p,b)=>p.cells[b],pa=(p,b)=>ia(p,b).element,Ps=p=>p.cells.length,ta=p=>{const b=Je(p,_=>_.section==="colgroup");return{rows:b.fail,cols:b.pass}},cc=(p,b,_)=>{const T=R(p.cells,_);return Ne(b(p.element),T,p.section,!0)},Xl="data-snooker-locked-cols",Ei=p=>Xt(p,Xl).bind(b=>de.from(b.match(/\d+/g))).map(b=>Ie(b,Ze)),xc=p=>{const b=ht(ta(p).rows,(T,L)=>(qe(L.cells,(I,Z)=>{I.isLocked&&(T[Z]=!0)}),T),{}),_=pe(b,(T,L)=>parseInt(L,10));return((T,L)=>{const I=rt.call(T,0);return I.sort(void 0),I})(_)},Es=(p,b)=>p+","+b,Ba=(p,b)=>{const _=V(p.all,T=>T.cells);return lt(_,b)},Fa=p=>{const b={},_=[],T=Pt(p).map(Re=>Re.element).bind(_r).bind(Ei).getOr({});let L=0,I=0,Z=0;const{pass:Y,fail:ae}=Je(p,Re=>Re.section==="colgroup");qe(ae,Re=>{const Xe=[];qe(Re.cells,Et=>{let vt=0;for(;b[Es(Z,vt)]!==void 0;)vt++;const qt=((bo,so)=>We(bo,so)&&bo[so]!==void 0&&bo[so]!==null)(T,vt.toString()),eo=((bo,so,Eo,Do,No,Ln)=>({element:bo,rowspan:so,colspan:Eo,row:Do,column:No,isLocked:Ln}))(Et.element,Et.rowspan,Et.colspan,Z,vt,qt);for(let bo=0;bo{const Xe=(vt=>{const qt={};let eo=0;return qe(vt.cells,bo=>{const so=bo.colspan;Ct(so,Eo=>{const Do=eo+Eo;qt[Do]=((No,Ln,qn)=>({element:No,colspan:Ln,column:qn}))(bo.element,so,Do)}),eo+=so}),qt})(Re);return{colgroups:[((vt,qt)=>({element:vt,columns:qt}))(Re.element,Oe(Xe))],columns:Xe}}).getOrThunk(()=>({colgroups:[],columns:{}}));return{grid:((Re,Xe)=>({rows:Re,columns:Xe}))(L,I),access:b,all:_,columns:be,colgroups:Le}},ts=p=>{const b=Q(p);return Fa(b)},Kc=Fa,Ua=(p,b,_)=>de.from(p.access[Es(b,_)]),fd=(p,b,_)=>{const T=Ba(p,L=>_(b,L.element));return T.length>0?de.some(T[0]):de.none()},Yc=Ba,nl=p=>V(p.all,b=>b.cells),Fr=p=>Oe(p.columns),ti=p=>oo(p.columns).length>0,Zd=(p,b)=>de.from(p.columns[b]),hd=(p,b=Ze)=>{const _=p.grid,T=Ct(_.columns,So),L=Ct(_.rows,So);return R(T,I=>qd(()=>V(L,Z=>Ua(p,Z,I).filter(Y=>Y.column===I).toArray()),Z=>Z.colspan===1&&b(Z.element),()=>Ua(p,0,I)))},qd=(p,b,_)=>{const T=p();return Rt(T,b).orThunk(()=>de.from(T[0]).orThunk(_)).map(L=>L.element)},Yi=p=>{const b=p.grid,_=Ct(b.rows,So),T=Ct(b.columns,So);return R(_,L=>qd(()=>V(T,I=>Ua(p,L,I).filter(Z=>Z.row===L).fold(it([]),Z=>[Z])),I=>I.rowspan===1,()=>Ua(p,L,0)))},Mc=(p,b)=>_=>om(_)==="rtl"?b:p,om=p=>Bn(p,"direction")==="rtl"?"rtl":"ltr",_u=Yl("height",p=>{const b=p.dom;return Go(p)?b.getBoundingClientRect().height:b.offsetHeight}),Wd=p=>_u.get(p),rl=p=>_u.getOuter(p),Da=(p,b)=>({left:p,top:b,translate:(_,T)=>Da(p+_,b+T)}),Jl=Da,os=(p,b)=>p!==void 0?p:b!==void 0?b:0,Dc=p=>{const b=p.dom.ownerDocument,_=b.body,T=b.defaultView,L=b.documentElement;if(_===p.dom)return Jl(_.offsetLeft,_.offsetTop);const I=os(T?.pageYOffset,L.scrollTop),Z=os(T?.pageXOffset,L.scrollLeft),Y=os(L.clientTop,_.clientTop),ae=os(L.clientLeft,_.clientLeft);return dc(p).translate(Z-ae,I-Y)},dc=p=>{const b=p.dom,_=b.ownerDocument.body;return _===b?Jl(_.offsetLeft,_.offsetTop):Go(p)?(T=>{const L=T.getBoundingClientRect();return Jl(L.left,L.top)})(b):Jl(0,0)},bd=(p,b)=>({row:p,y:b}),Ea=(p,b)=>({col:p,x:b}),_l=p=>Dc(p).left+yt(p),Xc=p=>Dc(p).left,yd=(p,b)=>Ea(p,Xc(b)),wc=(p,b)=>Ea(p,_l(b)),Jc=p=>Dc(p).top,Gd=(p,b)=>bd(p,Jc(b)),vd=(p,b)=>bd(p,Jc(b)+rl(b)),pi=(p,b,_)=>{if(_.length===0)return[];const T=R(_.slice(1),(I,Z)=>I.map(Y=>p(Z,Y))),L=_[_.length-1].map(I=>b(_.length-1,I));return T.concat([L])},Cn={delta:So,positions:p=>pi(Gd,vd,p),edge:Jc},Ql=Mc({delta:So,edge:Xc,positions:p=>pi(yd,wc,p)},{delta:p=>-p,edge:_l,positions:p=>pi(wc,yd,p)}),ec={delta:(p,b)=>Ql(b).delta(p,b),positions:(p,b)=>Ql(b).positions(p,b),edge:p=>Ql(p).edge(p)},yp={unsupportedLength:["em","ex","cap","ch","ic","rem","lh","rlh","vw","vh","vi","vb","vmin","vmax","cm","mm","Q","in","pc","pt","px"],fixed:["px","pt"],relative:["%"],empty:[""]},Kd=(()=>{const p="[0-9]+",b="[eE][+-]?"+p,_=L=>`(?:${L})?`,T=["Infinity",p+"\\."+_(p)+_(b),"\\."+p+_(b),p+_(b)].join("|");return new RegExp(`^([+-]?(?:${T}))(.*)$`)})(),Cl=/(\d+(\.\d+)?)%/,nm=/(\d+(\.\d+)?)px|em/,rm=zn("col"),wa=(p,b,_)=>{const T=ja(p).getOrThunk(()=>hn(Pa(p)));return b(p)/_(T)*100},Qc=(p,b)=>{Rn(p,"width",b+"px")},Ns=(p,b)=>{Rn(p,"width",b+"%")},kc=(p,b)=>{Rn(p,"height",b+"px")},Rm=p=>{const b=(_=>{return Ki(T=_,"height",T.dom.offsetHeight)+"px";var T})(p);return b?((_,T,L,I)=>{const Z=parseFloat(_);return Os(_,"%")&&ze(T)!=="table"?((Y,ae,be,Le)=>{const _e=_r(Y).map(Re=>{const Xe=be(Re);return Math.floor(ae/100*Xe)}).getOr(ae);return Le(Y,_e),_e})(T,Z,L,I):Z})(b,p,Wd,kc):Wd(p)},rn=(p,b)=>go(p,b).orThunk(()=>Xt(p,b).map(_=>_+"px")),Ti=p=>rn(p,"width"),Cu=p=>wa(p,ve,Lt),ka=p=>{return rm(p)?ve(p):Ki(b=p,"width",b.dom.offsetWidth);var b},Sl=p=>((b,_,T)=>T(b)/Ir(b,"rowspan"))(p,0,Rm),fi=(p,b,_)=>{Rn(p,"width",b+_)},El=p=>wa(p,ve,Lt)+"%",Ms=it(Cl),Su=zn("col"),oi=p=>Ti(p).getOrThunk(()=>ka(p)+"px"),ao=p=>{return(b=p,rn(b,"height")).getOrThunk(()=>Sl(p)+"px");var b},Eu=(p,b,_,T,L,I)=>p.filter(T).fold(()=>I(((Z,Y)=>{if(Y<0||Y>=Z.length-1)return de.none();const ae=Z[Y].fold(()=>{const Le=(_e=>{const Re=rt.call(_e,0);return Re.reverse(),Re})(Z.slice(0,Y));return To(Le,(_e,Re)=>_e.map(Xe=>({value:Xe,delta:Re+1})))},Le=>de.some({value:Le,delta:0})),be=Z[Y+1].fold(()=>{const Le=Z.slice(Y+1);return To(Le,(_e,Re)=>_e.map(Xe=>({value:Xe,delta:Re+1})))},Le=>de.some({value:Le,delta:1}));return ae.bind(Le=>be.map(_e=>{const Re=_e.delta+Le.delta;return Math.abs(_e.value-Le.value)/Re}))})(_,b)),Z=>L(Z)),Yt=(p,b,_,T)=>{const L=hd(p),I=ti(p)?(ae=>R(Fr(ae),be=>de.from(be.element)))(p):L,Z=[de.some(ec.edge(b))].concat(R(ec.positions(L,b),ae=>ae.map(be=>be.x))),Y=Dt(gi);return R(I,(ae,be)=>Eu(ae,be,Z,Y,Le=>{if((Re=>{const Xe=Il().browser,Et=Xe.isChromium()||Xe.isFirefox();return!Su(Re)||Et})(Le))return _(Le);{const Re=(_e=L[be])!=null?So(_e):de.none();return Eu(Re,be,Z,Y,Xe=>T(de.some(ve(Xe))),T)}var _e},T))},ni=p=>p.map(b=>b+"px").getOr(""),xd=(p,b,_)=>Yt(p,b,ka,T=>T.getOrThunk(_.minCellWidth)),us=(p,b,_,T,L)=>{const I=Yi(p),Z=[de.some(_.edge(b))].concat(R(_.positions(I,b),Y=>Y.map(ae=>ae.y)));return R(I,(Y,ae)=>Eu(Y,ae,Z,Dt(sc),T,L))},da=(p,b)=>()=>Go(p)?b(p):parseFloat(go(p,"width").getOr("0")),ml=p=>{const b=da(p,T=>parseFloat(El(T))),_=da(p,ve);return{width:b,pixelWidth:_,getWidths:(T,L)=>((I,Z,Y)=>Yt(I,Z,Cu,ae=>ae.fold(()=>Y.minCellWidth(),be=>be/Y.pixelWidth()*100)))(T,p,L),getCellDelta:T=>T/_()*100,singleColumnWidth:(T,L)=>[100-T],minCellWidth:()=>ne()/_()*100,setElementWidth:Ns,adjustTableWidth:T=>{const L=b();Ns(p,L+T/100*L)},isRelative:!0,label:"percent"}},zi=p=>{const b=da(p,ve);return{width:b,pixelWidth:b,getWidths:(_,T)=>xd(_,p,T),getCellDelta:So,singleColumnWidth:(_,T)=>[Math.max(ne(),_+T)-_],minCellWidth:ne,setElementWidth:Qc,adjustTableWidth:_=>{const T=b()+_;Qc(p,T)},isRelative:!1,label:"pixel"}},Oa=p=>Ti(p).fold(()=>(b=>{const _=da(b,ve),T=it(0);return{width:_,pixelWidth:_,getWidths:(L,I)=>xd(L,b,I),getCellDelta:T,singleColumnWidth:it([0]),minCellWidth:T,setElementWidth:Ue,adjustTableWidth:Ue,isRelative:!0,label:"none"}})(p),b=>((_,T)=>Ms().exec(T)!==null?ml(_):zi(_))(p,b)),al=zi,la=ml,$i=(p,b,_)=>{const T=p[_].element,L=Wt.fromTag("td");kr(L,Wt.fromTag("br")),(b?kr:zr)(T,L)},Yd=((p,b)=>{const _=T=>p(T)?de.from(T.dom.nodeValue):de.none();return{get:T=>{if(!p(T))throw new Error("Can only get text value of a text node");return _(T).getOr("")},getOption:_,set:(T,L)=>{if(!p(T))throw new Error("Can only set raw text value of a text node");T.dom.nodeValue=L}}})(Zo),Hs=p=>Yd.get(p),sg=p=>Yd.getOption(p),Tl=(p,b)=>Yd.set(p,b),ns=p=>ze(p)==="img"?1:sg(p).fold(()=>tt(p).length,b=>b.length),gl=["img","br"],ft=p=>sg(p).filter(b=>b.trim().length!==0||b.indexOf(" ")>-1).isSome()||gn(gl,ze(p))||(b=>Xo(b)&&vo(b,"contenteditable")==="false")(p),Ai=p=>((b,_)=>{const T=L=>{for(let I=0;Izl(p,ft),zl=(p,b)=>{const _=T=>{const L=tt(T);for(let I=L.length-1;I>=0;I--){const Z=L[I];if(b(Z))return de.some(Z);const Y=_(Z);if(Y.isSome())return Y}return de.none()};return _(p)},pl={scope:["row","col"]},ri=p=>()=>{const b=Wt.fromTag("td",p.dom);return kr(b,Wt.fromTag("br",p.dom)),b},hs=p=>()=>Wt.fromTag("col",p.dom),uc=p=>()=>Wt.fromTag("colgroup",p.dom),Bm=p=>()=>Wt.fromTag("tr",p.dom),Sn=(p,b,_)=>{const T=((L,I)=>{const Z=sr(L,I),Y=tt(on(L));return gr(Z,Y),Z})(p,b);return $e(_,(L,I)=>{L===null?Vo(T,I):zt(T,I,L)}),T},Ui=p=>p,Xi=(p,b,_)=>{const T=(L,I)=>{((Z,Y)=>{const ae=Z.dom,be=Y.dom;ds(ae)&&ds(be)&&(be.style.cssText=ae.style.cssText)})(L.element,I),aa(I,"height"),L.colspan!==1&&aa(I,"width")};return{col:L=>{const I=Wt.fromTag(ze(L.element),b.dom);return T(L,I),p(L.element,I),I},colgroup:uc(b),row:Bm(b),cell:L=>{const I=Wt.fromTag(ze(L.element),b.dom),Z=_.getOr(["strong","em","b","i","span","font","h1","h2","h3","h4","h5","h6","p","div"]),Y=Z.length>0?((ae,be,Le)=>Ai(ae).map(_e=>{const Re=Le.join(","),Xe=Un(_e,Re,Et=>xr(Et,ae));return Mt(Xe,(Et,vt)=>{const qt=dn(vt);return kr(Et,qt),qt},be)}).getOr(be))(L.element,I,Z):I;return kr(Y,Wt.fromTag("br")),T(L,I),((ae,be)=>{$e(pl,(Le,_e)=>Xt(ae,_e).filter(Re=>gn(Le,Re)).each(Re=>zt(be,_e,Re)))})(L.element,I),p(L.element,I),I},replace:Sn,colGap:hs(b),gap:ri(b)}},Oi=p=>({col:hs(p),colgroup:uc(p),row:Bm(p),cell:ri(p),replace:Ui,colGap:hs(p),gap:ri(p)}),Za=p=>b=>b.options.get(p),_c="100%",qs=p=>{var b;const _=p.dom,T=(b=_.getParent(p.selection.getStart(),_.isBlock))!==null&&b!==void 0?b:p.getBody();return Lt(Wt.fromDom(T))+"px"},Tu=p=>de.from(p.options.get("table_clone_elements")),kd=Za("table_header_type"),Pl=Za("table_column_resizing"),bs=p=>Pl(p)==="preservetable",Ws=p=>Pl(p)==="resizetable",ed=Za("table_sizing_mode"),Hl=p=>ed(p)==="relative",_d=p=>ed(p)==="fixed",ai=p=>ed(p)==="responsive",z=Za("table_resize_bars"),H=Za("table_style_by_css"),J=Za("table_merge_content_on_paste"),Te=p=>{const b=p.options,_=b.get("table_default_attributes");return b.isSet("table_default_attributes")?_:((T,L)=>ai(T)||H(T)?L:_d(T)?{...L,width:qs(T)}:{...L,width:_c})(p,_)},He=Za("table_use_colgroups"),ko=p=>va(p,"[contenteditable]"),fn=(p,b=!1)=>Go(p)?p.dom.isContentEditable:ko(p).fold(it(b),_=>ir(_)==="true"),ir=p=>p.dom.contentEditable,Hn=p=>Wt.fromDom(p.getBody()),Tn=p=>b=>xr(b,Hn(p)),fa=p=>{Vo(p,"data-mce-style");const b=_=>Vo(_,"data-mce-style");qe(bn(p),b),qe(kn(p),b),qe(Or(p),b)},Ka=p=>Wt.fromDom(p.selection.getStart()),Ni=p=>p.getBoundingClientRect().width,td=p=>p.getBoundingClientRect().height,Bf=p=>mi(p,zn("table")).exists(fn),ss=(p,b)=>{const _=b.column,T=b.column+b.colspan-1,L=b.row,I=b.row+b.rowspan-1;return _<=p.finishCol&&T>=p.startCol&&L<=p.finishRow&&I>=p.startRow},xv=(p,b)=>b.column>=p.startCol&&b.column+b.colspan-1<=p.finishCol&&b.row>=p.startRow&&b.row+b.rowspan-1<=p.finishRow,Xd=(p,b,_)=>{const T=fd(p,b,xr),L=fd(p,_,xr);return T.bind(I=>L.map(Z=>{return Y=I,ae=Z,{startRow:Math.min(Y.row,ae.row),startCol:Math.min(Y.column,ae.column),finishRow:Math.max(Y.row+Y.rowspan-1,ae.row+ae.rowspan-1),finishCol:Math.max(Y.column+Y.colspan-1,ae.column+ae.colspan-1)};var Y,ae}))},vp=(p,b,_)=>Xd(p,b,_).map(T=>{const L=Yc(p,he(ss,T));return R(L,I=>I.element)}),am=(p,b)=>fd(p,b,(_,T)=>Ys(T,_)).map(_=>_.element),Cd=(p,b,_)=>{const T=Jd(p);return vp(T,b,_)},fl=(p,b,_,T,L)=>{const I=Jd(p),Z=xr(p,_)?de.some(b):am(I,b),Y=xr(p,L)?de.some(T):am(I,T);return Z.bind(ae=>Y.bind(be=>vp(I,ae,be)))},Jd=ts;var Fm=["body","p","div","article","aside","figcaption","figure","footer","header","nav","section","ol","ul","li","table","thead","tbody","tfoot","caption","tr","td","th","h1","h2","h3","h4","h5","h6","blockquote","pre","address"],ys=()=>({up:it({selector:Wr,closest:va,predicate:Zs,all:$s}),down:it({selector:ra,predicate:wn}),styles:it({get:Bn,getRaw:go,set:Rn,remove:aa}),attrs:it({get:vo,set:zt,remove:Vo,copyTo:(p,b)=>{const _=$n(p);Ft(b,_)}}),insert:it({before:Mo,after:St,afterAll:Xr,append:kr,appendAll:gr,prepend:zr,wrap:Is}),remove:it({unwrap:wt,remove:Ae}),create:it({nu:Wt.fromTag,clone:p=>Wt.fromDom(p.dom.cloneNode(!1)),text:Wt.fromText}),query:it({comparePosition:(p,b)=>p.dom.compareDocumentPosition(b.dom),prevSibling:Us,nextSibling:_a}),property:it({children:tt,name:ze,parent:Ha,document:p=>cs(p).dom,isText:Zo,isComment:Vt,isElement:$o,isSpecial:p=>{const b=ze(p);return gn(["script","noscript","iframe","noframes","noembed","title","style","textarea","xmp"],b)},getLanguage:p=>$o(p)?Xt(p,"lang"):de.none(),getText:Hs,setText:Tl,isBoundary:p=>!!$o(p)&&(ze(p)==="body"||gn(Fm,ze(p))),isEmptyTag:p=>!!$o(p)&&gn(["br","img","hr","input"],ze(p)),isNonEditable:p=>$o(p)&&vo(p,"contenteditable")==="false"}),eq:xr,is:Yr});const Sd=(p,b,_,T)=>{const L=b(p,_);return Mt(T,(I,Z)=>{const Y=b(p,Z);return ig(p,I,Y)},L)},ig=(p,b,_)=>b.bind(T=>_.filter(he(p.eq,T))),Lm=ys(),Ff=(p,b)=>((_,T,L)=>L.length>0?((I,Z,Y,ae)=>ae(I,Z,Y[0],Y.slice(1)))(_,T,L,Sd):de.none())(Lm,(_,T)=>p(T),b),Im=p=>Wr(p,"table"),zu=(p,b,_)=>{const T=L=>I=>_!==void 0&&_(I)||xr(I,L);return xr(p,b)?de.some({boxes:de.some([p]),start:p,finish:b}):Im(p).bind(L=>Im(b).bind(I=>{if(xr(L,I))return de.some({boxes:Cd(L,p,b),start:p,finish:b});if(Ys(L,I)){const Z=Un(b,"td,th",T(L)),Y=Z.length>0?Z[Z.length-1]:b;return de.some({boxes:fl(L,p,L,b,I),start:p,finish:Y})}if(Ys(I,L)){const Z=Un(p,"td,th",T(I)),Y=Z.length>0?Z[Z.length-1]:p;return de.some({boxes:fl(I,p,L,b,I),start:p,finish:Y})}return((Z,Y,ae)=>((be,Le,_e,Re=me)=>{const Xe=[Le].concat(be.up().all(Le)),Et=[_e].concat(be.up().all(_e)),vt=so=>uo(so,Re).fold(()=>so,Eo=>so.slice(0,Eo+1)),qt=vt(Xe),eo=vt(Et),bo=Rt(qt,so=>Bo(eo,((Eo,Do)=>he(Eo.eq,Do))(be,so)));return{firstpath:qt,secondpath:eo,shared:bo}})(Lm,Z,Y,void 0))(p,b).shared.bind(Z=>va(Z,"table",_).bind(Y=>{const ae=Un(b,"td,th",T(Y)),be=ae.length>0?ae[ae.length-1]:b,Le=Un(p,"td,th",T(Y)),_e=Le.length>0?Le[Le.length-1]:p;return de.some({boxes:fl(Y,p,L,b,I),start:_e,finish:be})}))}))},Au=(p,b)=>{const _=ra(p,b);return _.length>0?de.some(_):de.none()},Rc=(p,b,_)=>Sr(p,b).bind(T=>Sr(p,_).bind(L=>Ff(Im,[T,L]).map(I=>({first:T,last:L,table:I})))),sm=(p,b,_,T,L)=>((I,Z)=>Rt(I,Y=>vr(Y,Z)))(p,L).bind(I=>((Z,Y,ae)=>_r(Z).bind(be=>((Le,_e,Re,Xe)=>fd(Le,_e,xr).bind(Et=>{const vt=Re>0?Et.row+Et.rowspan-1:Et.row,qt=Xe>0?Et.column+Et.colspan-1:Et.column;return Ua(Le,vt+Re,qt+Xe).map(eo=>eo.element)}))(Jd(be),Z,Y,ae)))(I,b,_).bind(Z=>((Y,ae)=>Wr(Y,"table").bind(be=>Sr(be,ae).bind(Le=>zu(Le,Y).bind(_e=>_e.boxes.map(Re=>({boxes:Re,start:_e.start,finish:_e.finish}))))))(Z,T))),Ou=(p,b)=>Au(p,b),xp=(p,b,_)=>Rc(p,b,_).bind(T=>{const L=ae=>xr(p,ae),I="thead,tfoot,tbody,table",Z=Wr(T.first,I,L),Y=Wr(T.last,I,L);return Z.bind(ae=>Y.bind(be=>xr(ae,be)?((Le,_e,Re)=>((Xe,Et,vt)=>Xd(Xe,Et,vt).bind(qt=>((eo,bo)=>{let so=!0;const Eo=he(xv,bo);for(let Do=bo.startRow;Do<=bo.finishRow;Do++)for(let No=bo.startCol;No<=bo.finishCol;No++)so=so&&Ua(eo,Do,No).exists(Eo);return so?de.some(bo):de.none()})(Xe,qt)))(Jd(Le),_e,Re))(T.table,T.first,T.last):de.none()))}),lg=So,cg=p=>{const b=(_,T)=>Xt(_,T).exists(L=>parseInt(L,10)>1);return p.length>0&&dt(p,_=>b(_,"rowspan")||b(_,"colspan"))?de.some(p):de.none()},wp=(p,b,_)=>b.length<=1?de.none():xp(p,_.firstSelectedSelector,_.lastSelectedSelector).map(T=>({bounds:T,cells:b})),im="data-mce-selected",Ed="data-mce-first-selected",dg="data-mce-last-selected",Pm="["+im+"]",$r={selected:im,selectedSelector:"td["+im+"],th["+im+"]",firstSelected:Ed,firstSelectedSelector:"td["+Ed+"],th["+Ed+"]",lastSelected:dg,lastSelectedSelector:"td["+dg+"],th["+dg+"]"},_n=(p,b,_)=>({element:_,mergable:wp(b,p,$r),unmergable:cg(p),selection:lg(p)}),Qd=p=>(b,_)=>{const T=ze(b),L=T==="col"||T==="colgroup"?_r(I=b).bind(Z=>Ou(Z,$r.firstSelectedSelector)).fold(it(I),Z=>Z[0]):b;var I;return va(L,p,_)},kp=Qd("th,td,caption"),Hm=Qd("th,td"),Bc=p=>{return b=p.model.table.getSelectedCells(),R(b,Wt.fromDom);var b},qa=(p,b)=>{p.on("BeforeGetContent",_=>{const T=L=>{_.preventDefault(),(I=>_r(I[0]).map(Z=>{const Y=((ae,be)=>{const Le=so=>vr(so.element,be),_e=on(ae),Re=Q(_e),Xe=Oa(ae),Et=Kc(Re),vt=((so,Eo)=>{const Do=so.grid.columns;let No=so.grid.rows,Ln=Do,qn=0,Qr=0;const or=[],Mr=[];return $e(so.access,Er=>{if(or.push(Er),Eo(Er)){Mr.push(Er);const ca=Er.row,zs=ca+Er.rowspan-1,il=Er.column,ii=il+Er.colspan-1;caqn&&(qn=zs),ilQr&&(Qr=ii)}}),((Er,ca,zs,il,ii,ql)=>({minRow:Er,minCol:ca,maxRow:zs,maxCol:il,allCells:ii,selectedCells:ql}))(No,Ln,qn,Qr,or,Mr)})(Et,Le),qt="th:not("+be+"),td:not("+be+")",eo=Nt(_e,"th,td",so=>vr(so,qt));qe(eo,Ae),((so,Eo,Do,No)=>{const Ln=lt(so,or=>or.section!=="colgroup"),qn=Eo.grid.columns,Qr=Eo.grid.rows;for(let or=0;orDo.maxRow||ErDo.maxCol||(Ua(Eo,or,Er).filter(No).isNone()?$i(Ln,Mr,or):Mr=!0)}})(Re,Et,vt,Le);const bo=((so,Eo,Do,No)=>{if(No.minCol===0&&Eo.grid.columns===No.maxCol+1)return 0;const Ln=xd(Eo,so,Do),qn=ht(Ln,(Mr,Er)=>Mr+Er,0),Qr=ht(Ln.slice(No.minCol,No.maxCol+1),(Mr,Er)=>Mr+Er,0),or=Qr/qn*Do.pixelWidth()-Do.pixelWidth();return Do.getCellDelta(or)})(ae,ts(ae),Xe,vt);return((so,Eo,Do,No)=>{$e(Do.columns,qn=>{(qn.columnEo.maxCol)&&Ae(qn.element)});const Ln=lt(Pe(so,"tr"),qn=>qn.dom.childElementCount===0);qe(Ln,Ae),Eo.minCol!==Eo.maxCol&&Eo.minRow!==Eo.maxRow||qe(Pe(so,"th,td"),qn=>{Vo(qn,"rowspan"),Vo(qn,"colspan")}),Vo(so,Xl),Vo(so,"data-snooker-col-series"),Oa(so).adjustTableWidth(No)})(_e,vt,Et,bo),_e})(Z,Pm);return fa(Y),[Y]}))(L).each(I=>{_.content=_.format==="text"?(Z=>R(Z,Y=>Y.dom.innerText).join(""))(I):((Z,Y)=>R(Y,ae=>Z.selection.serializer.serialize(ae.dom,{})).join(""))(p,I)})};if(_.selection===!0){const L=(I=>lt(Bc(I),Z=>vr(Z,$r.selectedSelector)))(p);L.length>=1&&T(L)}}),p.on("BeforeSetContent",_=>{if(_.selection===!0&&_.paste===!0){const T=Bc(p);Pt(T).each(L=>{_r(L).each(I=>{const Z=lt(((ae,be)=>{const Le=document.createElement("div");return Le.innerHTML=ae,tt(Wt.fromDom(Le))})(_.content),ae=>ze(ae)!=="meta"),Y=zn("table");if(J(p)&&Z.length===1&&Y(Z[0])){_.preventDefault();const ae=Wt.fromDom(p.getDoc()),be=Oi(ae),Le=((_e,Re,Xe)=>({element:_e,clipboard:Re,generators:Xe}))(L,Z[0],be);b.pasteCells(I,Le).each(()=>{p.focus()})}})})}})},Nu=(p,b)=>({element:p,offset:b}),_p=(p,b,_)=>p.property().isText(b)&&p.property().getText(b).trim().length===0||p.property().isComment(b)?_(b).bind(T=>_p(p,T,_).orThunk(()=>de.some(T))):de.none(),Kt=(p,b)=>p.property().isText(b)?p.property().getText(b).length:p.property().children(b).length,lm=(p,b)=>{const _=_p(p,b,p.query().prevSibling).getOr(b);if(p.property().isText(_))return Nu(_,Kt(p,_));const T=p.property().children(_);return T.length>0?lm(p,T[T.length-1]):Nu(_,Kt(p,_))},ug=lm,jm=ys(),Lf=(p,b)=>{gi(p)||(T=>Ti(T).bind(L=>{return I=L,Z=["fixed","relative","empty"],de.from(Kd.exec(I)).bind(Y=>{const ae=Number(Y[1]),be=Y[2];return((Le,_e)=>Bo(_e,Re=>Bo(yp[Re],Xe=>Le===Xe)))(be,Z)?de.some({value:ae,unit:be}):de.none()});var I,Z}))(p).each(T=>{const L=T.value/2;fi(p,L,T.unit),fi(b,L,T.unit)})},jl=p=>R(p,it(0)),sb=(p,b,_,T,L)=>L(p.slice(0,b)).concat(T).concat(L(p.slice(_))),Mu=p=>(b,_,T,L)=>{if(p(T)){const I=Math.max(L,b[_]-Math.abs(T)),Z=Math.abs(I-b[_]);return T>=0?Z:-Z}return T},La=Mu(p=>p<0),od=Mu(Ze),If=()=>{const p=(_,T,L,I)=>{const Z=(100+L)/100,Y=Math.max(I,(_[T]+L)/Z);return R(_,(ae,be)=>(be===T?Y:ae/Z)-ae)},b=(_,T,L,I,Z,Y)=>Y?p(_,T,I,Z):((ae,be,Le,_e,Re)=>{const Xe=La(ae,be,_e,Re);return sb(ae,be,Le+1,[Xe,0],jl)})(_,T,L,I,Z);return{resizeTable:(_,T)=>_(T),clampTableDelta:La,calcLeftEdgeDeltas:b,calcMiddleDeltas:(_,T,L,I,Z,Y,ae)=>b(_,L,I,Z,Y,ae),calcRightEdgeDeltas:(_,T,L,I,Z,Y)=>{if(Y)return p(_,L,I,Z);{const ae=La(_,L,I,Z);return jl(_.slice(0,L)).concat([ae])}},calcRedestributedWidths:(_,T,L,I)=>{if(I){const Z=(T+L)/T,Y=R(_,ae=>ae/Z);return{delta:100*Z-100,newSizes:Y}}return{delta:L,newSizes:_}}}},Cc=()=>{const p=(b,_,T,L,I)=>{const Z=od(b,L>=0?T:_,L,I);return sb(b,_,T+1,[Z,-Z],jl)};return{resizeTable:(b,_,T)=>{T&&b(_)},clampTableDelta:(b,_,T,L,I)=>{if(I){if(T>=0)return T;{const Z=ht(b,(Y,ae)=>Y+ae-L,0);return Math.max(-Z,T)}}return La(b,_,T,L)},calcLeftEdgeDeltas:p,calcMiddleDeltas:(b,_,T,L,I,Z)=>p(b,T,L,I,Z),calcRightEdgeDeltas:(b,_,T,L,I,Z)=>{if(Z)return jl(b);{const Y=L/b.length;return R(b,it(Y))}},calcRedestributedWidths:(b,_,T,L)=>({delta:0,newSizes:b})}},Sc=p=>ts(p).grid,Ds=zn("th"),Vm=p=>dt(p,b=>Ds(b.element)),Fc=(p,b)=>p&&b?"sectionCells":p?"section":"cells",eu=p=>{const b=p.section==="thead",_=Cs(Al(p.cells),"th");return p.section==="tfoot"?{type:"footer"}:b||_?{type:"header",subType:Fc(b,_)}:{type:"body"}},Al=p=>{const b=lt(p,_=>Ds(_.element));return b.length===0?de.some("td"):b.length===p.length?de.some("th"):de.none()},$m=(p,b,_)=>Ce(_(p.element,b),!0,p.isLocked),mg=(p,b)=>p.section!==b?Ne(p.element,p.cells,b,p.isNew):p,un=()=>({transformRow:mg,transformCell:(p,b,_)=>{const T=_(p.element,b),L=ze(T)!=="td"?((I,Z)=>{const Y=sr(I,"td");St(I,Y);const ae=tt(I);return gr(Y,ae),Ae(I),Y})(T):T;return Ce(L,p.isNew,p.isLocked)}}),gg=()=>({transformRow:mg,transformCell:$m}),Cp=()=>({transformRow:(p,b)=>mg(p,b==="thead"?"tbody":b),transformCell:$m}),Du=un,Sp=gg,C=Cp,D=()=>({transformRow:So,transformCell:$m}),G=(p,b,_,T)=>{_===T?Vo(p,b):zt(p,b,_)},ce=(p,b,_)=>{lo(Ar(p,b)).fold(()=>zr(p,_),T=>St(T,_))},Ke=(p,b)=>{const _=[],T=[],L=Re=>R(Re,Xe=>{Xe.isNew&&_.push(Xe.element);const Et=Xe.element;return De(Et),qe(Xe.cells,vt=>{vt.isNew&&T.push(vt.element),G(vt.element,"colspan",vt.colspan,1),G(vt.element,"rowspan",vt.rowspan,1),kr(Et,vt.element)}),Et}),I=Re=>V(Re,Xe=>R(Xe.cells,Et=>(G(Et.element,"span",Et.colspan,1),Et.element))),Z=(Re,Xe)=>{const Et=((qt,eo)=>{const bo=rr(qt,eo).getOrThunk(()=>{const so=Wt.fromTag(eo,Pa(qt).dom);return eo==="thead"?ce(qt,"caption,colgroup",so):eo==="colgroup"?ce(qt,"caption",so):kr(qt,so),so});return De(bo),bo})(p,Xe),vt=(Xe==="colgroup"?I:L)(Re);gr(Et,vt)},Y=(Re,Xe)=>{Re.length>0?Z(Re,Xe):(Et=>{rr(p,Et).each(Ae)})(Xe)},ae=[],be=[],Le=[],_e=[];return qe(b,Re=>{switch(Re.section){case"thead":ae.push(Re);break;case"tbody":be.push(Re);break;case"tfoot":Le.push(Re);break;case"colgroup":_e.push(Re)}}),Y(_e,"colgroup"),Y(ae,"thead"),Y(be,"tbody"),Y(Le,"tfoot"),{newRows:_,newCells:T}},Ut=(p,b)=>{if(p.length===0)return 0;const _=p[0];return uo(p,T=>!b(_.element,T.element)).getOr(p.length)},zo=(p,b)=>{const _=R(p,T=>R(T.cells,me));return R(p,(T,L)=>{const I=V(T.cells,(Z,Y)=>{if(_[L][Y]===!1){const Re=((Xe,Et,vt,qt)=>{const eo=((Do,No)=>Do[No])(Xe,Et),bo=eo.section==="colgroup",so=Ut(eo.cells.slice(vt),qt),Eo=bo?1:Ut(((Do,No)=>R(Do,Ln=>ia(Ln,No)))(Xe.slice(Et),vt),qt);return{colspan:so,rowspan:Eo}})(p,L,Y,b);return((Xe,Et,vt,qt)=>{for(let eo=Xe;eo({element:Z,cells:Y,section:ae,isNew:be}))(T.element,I,T.section,T.isNew)})},qo=(p,b,_)=>{const T=[];qe(p.colgroups,L=>{const I=[];for(let Z=0;ZCe(ae.element,_,!1)).getOrThunk(()=>Ce(b.colGap(),!0,!1));I.push(Y)}T.push(Ne(L.element,I,"colgroup",_))});for(let L=0;LCe(Le.element,_,Le.isLocked)).getOrThunk(()=>Ce(b.gap(),!0,!1));I.push(be)}const Z=p.all[L],Y=Ne(Z.element,I,Z.section,_);T.push(Y)}return T},Xn=p=>zo(p,xr),pr=(p,b)=>To(p.all,_=>Rt(_.cells,T=>xr(b,T.element))),is=(p,b,_)=>{const T=R(b.selection,I=>ho(I).bind(Z=>pr(p,Z)).filter(_)),L=za(T);return ws(L.length>0,L)},Nr=(p,b,_,T,L)=>(I,Z,Y,ae)=>{const be=ts(I),Le=de.from(ae?.section).getOrThunk(D);return b(be,Z).map(_e=>{const Re=((vt,qt)=>qo(vt,qt,!1))(be,Y),Xe=p(Re,_e,xr,L(Y),Le),Et=xc(Xe.grid);return{info:_e,grid:Xn(Xe.grid),cursor:Xe.cursor,lockedColumns:Et}}).bind(_e=>{const Re=Ke(I,_e.grid),Xe=de.from(ae?.sizing).getOrThunk(()=>Oa(I)),Et=de.from(ae?.resize).getOrThunk(Cc);return _(I,_e.grid,_e.info,{sizing:Xe,resize:Et,section:Le}),T(I),Vo(I,Xl),_e.lockedColumns.length>0&&zt(I,Xl,_e.lockedColumns.join(",")),de.some({cursor:_e.cursor,newRows:Re.newRows,newCells:Re.newCells})})},ha=(p,b)=>is(p,b,Ze).map(_=>({cells:_,generators:b.generators,clipboard:b.clipboard})),Ia=(p,b)=>is(p,b,Ze),Mi=(p,b)=>is(p,b,_=>!_.isLocked),hi=(p,b)=>dt(b,_=>((T,L)=>pr(T,L).exists(I=>!I.isLocked))(p,_)),Td=(p,b,_,T)=>{const L=ta(p).rows;let I=!0;for(let Z=0;Z{const b=I=>I(p),_=it(p),T=()=>L,L={tag:!0,inner:p,fold:(I,Z)=>Z(p),isValue:Ze,isError:me,map:I=>Ru.value(I(p)),mapError:T,bind:b,exists:b,forall:b,getOr:_,or:T,getOrThunk:_,orThunk:T,getOrDie:_,each:I=>{I(p)},toOptional:()=>de.some(p)};return L},cm=p=>{const b=()=>_,_={tag:!1,inner:p,fold:(L,I)=>L(p),isValue:me,isError:Ze,map:b,mapError:L=>Ru.error(L(p)),bind:b,exists:me,forall:Ze,getOr:So,or:So,getOrThunk:fo,orThunk:fo,getOrDie:(T=String(p),()=>{throw new Error(T)}),each:Ue,toOptional:de.none};var T;return _},Ru={value:zd,error:cm,fromOption:(p,b)=>p.fold(()=>cm(b),zd)},Bu=(p,b)=>({rowDelta:0,colDelta:Ps(p[0])-Ps(b[0])}),Ad=(p,b)=>({rowDelta:p.length-b.length,colDelta:0}),Od=(p,b,_,T)=>{const L=b.section==="colgroup"?_.col:_.cell;return Ct(p,I=>Ce(L(),!0,T(I)))},pg=(p,b,_,T)=>{const L=p[p.length-1];return p.concat(Ct(b,()=>{const I=L.section==="colgroup"?_.colgroup:_.row,Z=cc(L,I,So),Y=Od(Z.cells.length,Z,_,ae=>We(T,ae.toString()));return ei(Z,Y)}))},Fu=(p,b,_,T)=>R(p,L=>{const I=Od(b,L,_,me);return yn(L,T,I)}),nd=(p,b,_)=>{const T=b.colDelta<0?Fu:So,L=b.rowDelta<0?pg:So,I=xc(p),Z=Ps(p[0]),Y=Bo(I,Le=>Le===Z-1),ae=T(p,Math.abs(b.colDelta),_,Y?Z-1:Z),be=xc(ae);return L(ae,Math.abs(b.rowDelta),_,Ie(be,Ze))},oa=(p,b,_,T)=>{const L=he(T,ia(p[b],_).element),I=p[b];return p.length>1&&Ps(I)>1&&(_>0&&L(pa(I,_-1))||_0&&L(pa(p[b-1],_))||blt(_,T=>T>=p.column&&T<=Ps(b[0])+p.column),hl=(p,b,_,T,L)=>{((be,Le,_e,Re)=>{Le>0&&Le{const Et=Xe.cells[Le-1];let vt=0;const qt=Re();for(;Xe.cells.length>Le+vt&&_e(Et.element,Xe.cells[Le+vt].element);)Ra(Xe,Le+vt,Ce(qt,!0,Xe.cells[Le+vt].isLocked)),vt++})})(b,p,L,T.cell);const I=Ad(_,b),Z=nd(_,I,T),Y=Ad(b,Z),ae=nd(b,Y,T);return R(ae,(be,Le)=>yn(be,p,Z[Le].cells))},Jr=(p,b,_,T,L)=>{((bo,so,Eo,Do)=>{const No=ta(bo).rows;if(so>0&&soht(qn,(or,Mr)=>Bo(or,Er=>Qr(Er.element,Mr.element))?or:or.concat([Mr]),[]))(No[so-1].cells,Eo);qe(Ln,qn=>{let Qr=de.none();for(let or=so;or{Ra(Er,Mr,Ce(zs,!0,ca.isLocked))}))}})}})(b,p,L,T.cell);const I=xc(b),Z=Bu(b,_),Y={...Z,colDelta:Z.colDelta-I.length},ae=nd(b,Y,T),{cols:be,rows:Le}=ta(ae),_e=xc(ae),Re=Bu(_,b),Xe={...Re,colDelta:Re.colDelta+_e.length},Et=(qt=T,eo=_e,R(_,bo=>ht(eo,(so,Eo)=>{const Do=Od(1,bo,qt,Ze)[0];return ur(so,Eo,Do)},bo))),vt=nd(Et,Xe,T);var qt,eo;return[...be,...Le.slice(0,p),...vt,...Le.slice(p,Le.length)]},bi=(p,b,_,T,L)=>{const{rows:I,cols:Z}=ta(p),Y=I.slice(0,b),ae=I.slice(b);return[...Z,...Y,((be,Le,_e,Re)=>cc(be,Xe=>Re(Xe,_e),Le))(I[_],(be,Le)=>b>0&&bR(p,I=>{const Z=b>0&&b{if(Le!=="colgroup"&&_e)return ia(ae,be);{const vt=ia(ae,Re);return Ce(Et(vt.element,Xe),!0,!1)}})(I,b,I.section,Z,_,T,L);return ur(I,b,Y)}),Di=(p,b,_,T)=>((L,I,Z,Y)=>pa(L[I],Z)!==void 0&&I>0&&Y(pa(L[I-1],Z),pa(L[I],Z)))(p,b,_,T)||((L,I,Z)=>I>0&&Z(pa(L,I-1),pa(L,I)))(p[b],_,T),Lc=(p,b,_,T)=>{const L=I=>(Z=>Z==="row"?sc(b):gi(b))(I)?`${I}group`:I;return p?Ds(b)?L(_):null:T&&Ds(b)?L(_==="row"?"col":"row"):null},Zi=(p,b,_)=>Ce(_(p.element,b),!0,p.isLocked),bl=(p,b,_,T,L,I,Z)=>R(p,(Y,ae)=>((be,Le)=>{const _e=be.cells,Re=R(_e,(Xe,Et)=>{if((vt=>Bo(b,qt=>_(vt.element,qt.element)))(Xe)){const vt=Z(Xe,ae,Et)?L(Xe,_,T):Xe;return I(vt,ae,Et).each(qt=>{var eo,bo;eo=vt.element,bo={scope:de.from(qt)},$e(bo,(so,Eo)=>{so.fold(()=>{Vo(eo,Eo)},Do=>{ut(eo.dom,Eo,Do)})})}),vt}return Xe});return Ne(be.element,Re,be.section,be.isNew)})(Y)),Lu=(p,b,_)=>V(p,(T,L)=>Di(p,L,b,_)?[]:[ia(T,b)]),Ec=(p,b,_,T,L)=>{const I=ta(p).rows,Z=V(b,Le=>Lu(I,Le,T)),Y=R(I,Le=>Vm(Le.cells)),ae=((Le,_e)=>dt(_e,So)&&Vm(Le)?Ze:(Re,Xe,Et)=>!(ze(Re.element)==="th"&&_e[Xe]))(Z,Y);return bl(p,Z,T,L,Zi,((Le,_e)=>(Re,Xe)=>de.some(Lc(Le,Re.element,"row",_e[Xe])))(_,Y),ae)},Ep=(p,b,_,T)=>{const L=ta(p).rows,I=R(b,Z=>ia(L[Z.row],Z.column));return bl(p,I,_,T,Zi,de.none,Ze)},Iu=p=>{if(!Lo(p))throw new Error("cases must be an array");if(p.length===0)throw new Error("there must be at least one case");const b=[],_={};return qe(p,(T,L)=>{const I=oo(T);if(I.length!==1)throw new Error("one and only one name per case");const Z=I[0],Y=T[Z];if(_[Z]!==void 0)throw new Error("duplicate key detected:"+Z);if(Z==="cata")throw new Error("cannot have a case named cata (sorry)");if(!Lo(Y))throw new Error("case arguments must be an array");b.push(Z),_[Z]=(...ae)=>{const be=ae.length;if(be!==Y.length)throw new Error("Wrong number of arguments to case "+Z+". Expected "+Y.length+" ("+Y+"), got "+be);return{fold:(...Le)=>{if(Le.length!==p.length)throw new Error("Wrong number of arguments to fold. Expected "+p.length+", got "+Le.length);return Le[L].apply(null,ae)},match:Le=>{const _e=oo(Le);if(b.length!==_e.length)throw new Error("Wrong number of arguments to match. Expected: "+b.join(",")+` +Actual: `+_e.join(","));if(!dt(b,Re=>gn(_e,Re)))throw new Error("Not all branches were specified when using match. Specified: "+_e.join(", ")+` +Required: `+b.join(", "));return Le[Z].apply(null,ae)},log:Le=>{}}}}),_},tu={...Iu([{none:[]},{only:["index"]},{left:["index","next"]},{middle:["prev","index","next"]},{right:["prev","index"]}])},dm=(p,b,_)=>{let T=0;for(let L=p;L{const _=nl(p);return R(_,T=>{const L=dm(T.row,T.row+T.rowspan,b);return{element:T.element,height:L,rowspan:T.rowspan}})},fg=(p,b,_)=>{const T=((L,I)=>ti(L)?((Z,Y)=>{const ae=Fr(Z);return R(ae,(be,Le)=>({element:be.element,width:Y[Le],colspan:be.colspan}))})(L,I):((Z,Y)=>{const ae=nl(Z);return R(ae,be=>{const Le=dm(be.column,be.column+be.colspan,Y);return{element:be.element,width:Le,colspan:be.colspan}})})(L,I))(p,b);qe(T,L=>{_.setElementWidth(L.element,L.width)})},zp=(p,b,_,T,L)=>{const I=ts(p),Z=L.getCellDelta(b),Y=L.getWidths(I,L),ae=_===I.grid.columns-1,be=T.clampTableDelta(Y,_,Z,L.minCellWidth(),ae),Le=((Re,Xe,Et,vt,qt)=>{const eo=Re.slice(0),bo=((Eo,Do)=>Eo.length===0?tu.none():Eo.length===1?tu.only(0):Do===0?tu.left(0,1):Do===Eo.length-1?tu.right(Do-1,Do):Do>0&&Dovt.singleColumnWidth(eo[Eo],Et),(Eo,Do)=>qt.calcLeftEdgeDeltas(eo,Eo,Do,Et,vt.minCellWidth(),vt.isRelative),(Eo,Do,No)=>qt.calcMiddleDeltas(eo,Eo,Do,No,Et,vt.minCellWidth(),vt.isRelative),(Eo,Do)=>qt.calcRightEdgeDeltas(eo,Eo,Do,Et,vt.minCellWidth(),vt.isRelative))})(Y,_,be,L,T),_e=R(Le,(Re,Xe)=>Re+Y[Xe]);fg(I,_e,L),T.resizeTable(L.adjustTableWidth,be,ae)},Ya=p=>ht(p,(b,_)=>Bo(b,T=>T.column===_.column)?b:b.concat([_]),[]).sort((b,_)=>b.column-_.column),ib=zn("col"),Jy=zn("colgroup"),Pf=p=>ze(p)==="tr"||Jy(p),yl=p=>({element:p,colspan:Ss(p,"colspan",1),rowspan:Ss(p,"rowspan",1)}),Tc=p=>Xt(p,"scope").map(b=>b.substr(0,3)),rd=(p,b=yl)=>{const _=L=>{if(Pf(L))return Jy((I={element:L}).element)?p.colgroup(I):p.row(I);{const Z=L,Y=(ae=>ib(ae.element)?p.col(ae):p.cell(ae))(b(Z));return T=de.some({item:Z,replacement:Y}),Y}var I};let T=de.none();return{getOrInit:(L,I)=>T.fold(()=>_(L),Z=>I(L,Z.item)?Z.replacement:_(L))}},hg=p=>b=>{const _=[],T=L=>{const I=p==="td"?{scope:null}:{},Z=b.replace(L,p,I);return _.push({item:L,sub:Z}),Z};return{replaceOrInit:(L,I)=>{if(Pf(L)||ib(L))return L;{const Z=L;return((Y,ae)=>Rt(_,be=>ae(be.item,Y)))(Z,I).fold(()=>T(Z),Y=>I(L,Y.item)?Y.sub:T(Z))}}}},lb=p=>({unmerge:b=>{const _=Tc(b);return _.each(T=>zt(b,"scope",T)),()=>{const T=p.cell({element:b,colspan:1,rowspan:1});return aa(T,"width"),aa(b,"width"),_.each(L=>zt(T,"scope",L)),T}},merge:b=>(aa(b[0],"width"),(()=>{const _=za(R(b,Tc));if(_.length===0)return de.none();{const T=_[0],L=["row","col"];return Bo(_,I=>I!==T&&gn(L,I))?de.none():de.from(T)}})().fold(()=>Vo(b[0],"scope"),_=>zt(b[0],"scope",_+"group")),it(b[0]))}),Um=["body","p","div","article","aside","figcaption","figure","footer","header","nav","section","ol","ul","table","thead","tfoot","tbody","caption","tr","td","th","h1","h2","h3","h4","h5","h6","blockquote","pre","address"],Hf=ys(),ou=p=>((b,_)=>{const T=b.property().name(_);return gn(Um,T)})(Hf,p),um=p=>((b,_)=>{const T=b.property().name(_);return gn(["ol","ul"],T)})(Hf,p),vs=p=>{const b=zn("br"),_=L=>wd(L).bind(I=>{const Z=_a(I).map(Y=>!!ou(Y)||!!((ae,be)=>gn(["br","img","hr","input"],ae.property().name(be)))(Hf,Y)&&ze(Y)!=="img").getOr(!1);return Ha(I).map(Y=>{return Z===!0||ze(ae=Y)==="li"||Zs(ae,um).isSome()||b(I)||ou(Y)&&!xr(L,Y)?[]:[Wt.fromTag("br")];var ae})}).getOr([]),T=(()=>{const L=V(p,I=>{const Z=tt(I);return(Y=>dt(Y,ae=>b(ae)||Zo(ae)&&Hs(ae).trim().length===0))(Z)?[]:Z.concat(_(I))});return L.length===0?[Wt.fromTag("br")]:L})();De(p[0]),gr(p[0],T)},Vl=p=>fn(p,!0),bg=p=>{bn(p).length===0&&Ae(p)},Ap=(p,b)=>({grid:p,cursor:b}),si=(p,b,_)=>{const T=((L,I,Z)=>{var Y,ae;const be=ta(L).rows;return de.from((ae=(Y=be[I])===null||Y===void 0?void 0:Y.cells[Z])===null||ae===void 0?void 0:ae.element).filter(Vl).orThunk(()=>(Le=>To(Le,_e=>To(_e.cells,Re=>{const Xe=Re.element;return ws(Vl(Xe),Xe)})))(be))})(p,b,_);return Ap(p,T)},ad=p=>ht(p,(b,_)=>Bo(b,T=>T.row===_.row)?b:b.concat([_]),[]).sort((b,_)=>b.row-_.row),Op=(p,b)=>(_,T,L,I,Z)=>{const Y=ad(T),ae=R(Y,Le=>Le.row),be=((Le,_e,Re,Xe,Et,vt,qt)=>{const{cols:eo,rows:bo}=ta(Le),so=bo[_e[0]],Eo=V(_e,or=>((Mr,Er,ca)=>{const zs=Mr[Er];return V(zs.cells,(il,ii)=>Di(Mr,Er,ii,ca)?[]:[il])})(bo,or,Et)),Do=R(so.cells,(or,Mr)=>Vm(Lu(bo,Mr,Et))),No=[...bo];qe(_e,or=>{No[or]=qt.transformRow(bo[or],Re)});const Ln=[...eo,...No],qn=((or,Mr)=>dt(Mr,So)&&Vm(or.cells)?Ze:(Er,ca,zs)=>!(ze(Er.element)==="th"&&Mr[zs]))(so,Do),Qr=((or,Mr)=>(Er,ca,zs)=>de.some(Lc(or,Er.element,"col",Mr[zs])))(Xe,Do);return bl(Ln,Eo,Et,vt,qt.transformCell,Qr,qn)})(_,ae,p,b,L,I.replaceOrInit,Z);return si(be,T[0].row,T[0].column)},cb=Op("thead",!0),Pu=Op("tbody",!1),e_=Op("tfoot",!1),Np=(p,b,_)=>{const T=((I,Z)=>ma(I,()=>Z))(p,_.section),L=Kc(T);return qo(L,b,!0)},Mp=(p,b,_,T)=>((L,I,Z,Y)=>{const ae=Kc(I),be=Y.getWidths(ae,Y);fg(ae,be,Y)})(0,b,0,T.sizing),Qy=(p,b,_,T)=>((L,I,Z,Y,ae)=>{const be=Kc(I),Le=Y.getWidths(be,Y),_e=Y.pixelWidth(),{newSizes:Re,delta:Xe}=ae.calcRedestributedWidths(Le,_e,Z.pixelDelta,Y.isRelative);fg(be,Re,Y),Y.adjustTableWidth(Xe)})(0,b,_,T.sizing,T.resize),e1=(p,b)=>Bo(b,_=>_.column===0&&_.isLocked),jf=(p,b)=>Bo(b,_=>_.column+_.colspan>=p.grid.columns&&_.isLocked),Nd=(p,b)=>{const _=hd(p),T=Ya(b);return ht(T,(L,I)=>L+_[I.column].map(yt).getOr(0),0)},Vf=p=>(b,_)=>Ia(b,_).filter(T=>!(p?e1:jf)(b,T)).map(T=>({details:T,pixelDelta:Nd(b,T)})),Hr=p=>(b,_)=>ha(b,_).filter(T=>!(p?e1:jf)(b,T.cells)),Ol=hg("th"),nu=hg("td"),Dp=Nr((p,b,_,T)=>{const L=b[0].row,I=ad(b),Z=Mt(I,(Y,ae)=>({grid:bi(Y.grid,L,ae.row+Y.delta,_,T.getOrInit),delta:Y.delta+1}),{grid:p,delta:0}).grid;return si(Z,L,b[0].column)},Ia,Ue,Ue,rd),as=Nr((p,b,_,T)=>{const L=ad(b),I=L[L.length-1],Z=I.row+I.rowspan,Y=Mt(L,(ae,be)=>bi(ae,Z,be.row,_,T.getOrInit),p);return si(Y,Z,b[0].column)},Ia,Ue,Ue,rd),db=Nr((p,b,_,T)=>{const L=b.details,I=Ya(L),Z=I[0].column,Y=Mt(I,(ae,be)=>({grid:rs(ae.grid,Z,be.column+ae.delta,_,T.getOrInit),delta:ae.delta+1}),{grid:p,delta:0}).grid;return si(Y,L[0].row,Z)},Vf(!0),Qy,Ue,rd),t1=Nr((p,b,_,T)=>{const L=b.details,I=L[L.length-1],Z=I.column+I.colspan,Y=Ya(L),ae=Mt(Y,(be,Le)=>rs(be,Z,Le.column,_,T.getOrInit),p);return si(ae,L[0].row,Z)},Vf(!1),Qy,Ue,rd),Ji=Nr((p,b,_,T)=>{const L=Ya(b.details),I=((Y,ae)=>V(Y,be=>{const Le=be.cells,_e=Mt(ae,(Re,Xe)=>Xe>=0&&Xe0?[Ne(be.element,_e,be.section,be.isNew)]:[]}))(p,R(L,Y=>Y.column)),Z=I.length>0?I[0].cells.length-1:0;return si(I,L[0].row,Math.min(L[0].column,Z))},(p,b)=>Mi(p,b).map(_=>({details:_,pixelDelta:-Nd(p,_)})),Qy,bg,rd),mm=Nr((p,b,_,T)=>{const L=ad(b),I=((Y,ae,be)=>{const{rows:Le,cols:_e}=ta(Y);return[..._e,...Le.slice(0,ae),...Le.slice(be+1)]})(p,L[0].row,L[L.length-1].row),Z=I.length>0?I.length-1:0;return si(I,Math.min(b[0].row,Z),b[0].column)},Ia,Ue,bg,rd),ru=Nr((p,b,_,T)=>{const L=Ya(b),I=R(L,Y=>Y.column),Z=Ec(p,I,!0,_,T.replaceOrInit);return si(Z,b[0].row,b[0].column)},Mi,Ue,Ue,Ol),gm=Nr((p,b,_,T)=>{const L=Ya(b),I=R(L,Y=>Y.column),Z=Ec(p,I,!1,_,T.replaceOrInit);return si(Z,b[0].row,b[0].column)},Mi,Ue,Ue,nu),Ht=Nr(cb,Mi,Ue,Ue,Ol),Rp=Nr(Pu,Mi,Ue,Ue,nu),ub=Nr(e_,Mi,Ue,Ue,nu),Md=Nr((p,b,_,T)=>{const L=Ep(p,b,_,T.replaceOrInit);return si(L,b[0].row,b[0].column)},Mi,Ue,Ue,Ol),o1=Nr((p,b,_,T)=>{const L=Ep(p,b,_,T.replaceOrInit);return si(L,b[0].row,b[0].column)},Mi,Ue,Ue,nu),n1=Nr((p,b,_,T)=>{const L=b.cells;vs(L);const I=((Z,Y,ae,be)=>{const Le=ta(Z).rows;if(Le.length===0)return Z;for(let _e=Y.startRow;_e<=Y.finishRow;_e++)for(let Re=Y.startCol;Re<=Y.finishCol;Re++){const Xe=Le[_e],Et=ia(Xe,Re).isLocked;Ra(Xe,Re,Ce(be(),!1,Et))}return Z})(p,b.bounds,0,T.merge(L));return Ap(I,de.from(L[0]))},(p,b)=>((_,T)=>T.mergable)(0,b).filter(_=>hi(p,_.cells)),Mp,Ue,lb),yg=Nr((p,b,_,T)=>{const L=Mt(b,(I,Z)=>Td(I,Z,_,T.unmerge(Z)),p);return Ap(L,de.from(b[0]))},(p,b)=>((_,T)=>T.unmergable)(0,b).filter(_=>hi(p,_)),Mp,Ue,lb),mc=Nr((p,b,_,T)=>{const L=((Y,ae)=>{const be=ts(Y);return qo(be,ae,!0)})(b.clipboard,b.generators);var I,Z;return((Y,ae,be,Le,_e)=>{const Re=xc(ae),Xe=((eo,bo,so)=>{const Eo=Ps(bo[0]),Do=ta(bo).cols.length+eo.row,No=Ct(Eo-eo.column,Ln=>Ln+eo.column);return{row:Do,column:Rt(No,Ln=>dt(so,qn=>qn!==Ln)).getOr(Eo-1)}})(Y,ae,Re),Et=ta(be).rows,vt=wr(Xe,Et,Re);return((eo,bo,so)=>{if(eo.row>=bo.length||eo.column>Ps(bo[0]))return Ru.error("invalid start address out of table bounds, row: "+eo.row+", column: "+eo.column);const Eo=bo.slice(eo.row),Do=Eo[0].cells.slice(eo.column),No=Ps(so[0]),Ln=so.length;return Ru.value({rowDelta:Eo.length-Ln,colDelta:Do.length-No})})(Xe,ae,Et).map(eo=>{const bo={...eo,colDelta:eo.colDelta-vt.length},so=nd(ae,bo,Le),Eo=xc(so),Do=wr(Xe,Et,Eo);return((No,Ln,qn,Qr,or,Mr)=>{const Er=No.row,ca=No.column,zs=Er+qn.length,il=ca+Ps(qn[0])+Mr.length,ii=Ie(Mr,Ze);for(let ql=Er;qlAp(p,de.some(b.element)),Y=>si(Y,b.row,b.column))},(p,b)=>ho(b.element).bind(_=>pr(p,_).map(T=>({...T,generators:b.generators,clipboard:b.clipboard}))),Mp,Ue,rd),sl=Nr((p,b,_,T)=>{const L=ta(p).rows,I=b.cells[0].column,Z=L[b.cells[0].row],Y=Np(b.clipboard,b.generators,Z),ae=hl(I,p,Y,b.generators,_);return si(ae,b.cells[0].row,b.cells[0].column)},Hr(!0),Ue,Ue,rd),pm=Nr((p,b,_,T)=>{const L=ta(p).rows,I=b.cells[b.cells.length-1].column+b.cells[b.cells.length-1].colspan,Z=L[b.cells[0].row],Y=Np(b.clipboard,b.generators,Z),ae=hl(I,p,Y,b.generators,_);return si(ae,b.cells[0].row,b.cells[0].column)},Hr(!1),Ue,Ue,rd),r1=Nr((p,b,_,T)=>{const L=ta(p).rows,I=b.cells[0].row,Z=L[I],Y=Np(b.clipboard,b.generators,Z),ae=Jr(I,p,Y,b.generators,_);return si(ae,b.cells[0].row,b.cells[0].column)},ha,Ue,Ue,rd),a1=Nr((p,b,_,T)=>{const L=ta(p).rows,I=b.cells[b.cells.length-1].row+b.cells[b.cells.length-1].rowspan,Z=L[b.cells[0].row],Y=Np(b.clipboard,b.generators,Z),ae=Jr(I,p,Y,b.generators,_);return si(ae,b.cells[0].row,b.cells[0].column)},ha,Ue,Ue,rd),$f=(p,b)=>{const _=ts(p);return Ia(_,b).bind(T=>{const L=T[T.length-1],I=T[0].column,Z=L.column+L.colspan,Y=Bt(R(_.all,ae=>lt(ae.cells,be=>be.column>=I&&be.column{const _=ts(p);return Ia(_,b).bind(Al).getOr("")},Uf=(p,b)=>{const _=ts(p);return Ia(_,b).bind(T=>{const L=T[T.length-1],I=T[0].row,Z=L.row+L.rowspan;return(Y=>{const ae=R(Y,_e=>eu(_e).type),be=gn(ae,"header"),Le=gn(ae,"footer");if(be||Le){const _e=gn(ae,"body");return!be||_e||Le?be||_e||!Le?de.none():de.some("footer"):de.some("header")}return de.some("body")})(_.all.slice(I,Z))}).getOr("")},gb=(p,b)=>p.dispatch("NewRow",{node:b}),Qi=(p,b)=>p.dispatch("NewCell",{node:b}),Gs=(p,b,_)=>{p.dispatch("TableModified",{..._,table:b})},vl={structure:!1,style:!0},Wa={structure:!0,style:!1},Nl={structure:!0,style:!0},yi=(p,b)=>Hl(p)?la(b):_d(p)?al(b):Oa(b),pb=(p,b,_)=>{const T=Le=>ze(Hn(Le))==="table",L=Tu(p),I=Ws(p)?Ue:Lf,Z=Le=>{switch(kd(p)){case"section":return Du();case"sectionCells":return Sp();case"cells":return C();default:return((_e,Re)=>{var Xe;switch((Xe=ts(_e),To(Xe.all,Et=>{const vt=eu(Et);return vt.type==="header"?de.from(vt.subType):de.none()})).getOr(Re)){case"section":return un();case"sectionCells":return gg();case"cells":return Cp()}})(Le,"section")}},Y=(Le,_e,Re,Xe)=>(Et,vt,qt=!1)=>{fa(Et);const eo=Wt.fromDom(p.getDoc()),bo=Xi(Re,eo,L),so={sizing:yi(p,Et),resize:Ws(p)?If():Cc(),section:Z(Et)};return _e(Et)?Le(Et,vt,bo,so).bind(Eo=>{b.refresh(Et.dom),qe(Eo.newRows,No=>{gb(p,No.dom)}),qe(Eo.newCells,No=>{Qi(p,No.dom)});const Do=((No,Ln)=>Ln.cursor.fold(()=>{const qn=bn(No);return Pt(qn).filter(Go).map(Qr=>{_.clearSelectedCells(No.dom);const or=p.dom.createRng();return or.selectNode(Qr.dom),p.selection.setRng(or),zt(Qr,"data-mce-selected","1"),or})},qn=>{const Qr=ug(jm,qn),or=p.dom.createRng();return or.setStart(Qr.element.dom,Qr.offset),or.setEnd(Qr.element.dom,Qr.offset),p.selection.setRng(or),_.clearSelectedCells(No.dom),de.some(or)}))(Et,Eo);return Go(Et)&&(fa(Et),qt||Gs(p,Et.dom,Xe)),Do.map(No=>({rng:No,effect:Xe}))}):de.none()},ae=Y(mm,Le=>!T(p)||Sc(Le).rows>1,Ue,Wa),be=Y(Ji,Le=>!T(p)||Sc(Le).columns>1,Ue,Wa);return{deleteRow:ae,deleteColumn:be,insertRowsBefore:Y(Dp,Ze,Ue,Wa),insertRowsAfter:Y(as,Ze,Ue,Wa),insertColumnsBefore:Y(db,Ze,I,Wa),insertColumnsAfter:Y(t1,Ze,I,Wa),mergeCells:Y(n1,Ze,Ue,Wa),unmergeCells:Y(yg,Ze,Ue,Wa),pasteColsBefore:Y(sl,Ze,Ue,Wa),pasteColsAfter:Y(pm,Ze,Ue,Wa),pasteRowsBefore:Y(r1,Ze,Ue,Wa),pasteRowsAfter:Y(a1,Ze,Ue,Wa),pasteCells:Y(mc,Ze,Ue,Nl),makeCellsHeader:Y(Md,Ze,Ue,Wa),unmakeCellsHeader:Y(o1,Ze,Ue,Wa),makeColumnsHeader:Y(ru,Ze,Ue,Wa),unmakeColumnsHeader:Y(gm,Ze,Ue,Wa),makeRowsHeader:Y(Ht,Ze,Ue,Wa),makeRowsBody:Y(Rp,Ze,Ue,Wa),makeRowsFooter:Y(ub,Ze,Ue,Wa),getTableRowType:Uf,getTableCellType:mb,getTableColType:$f}},Zf=(p,b,_)=>{const T=Ss(p,b,1);_===1||T<=1?Vo(p,b):zt(p,b,Math.min(_,T))},$l=(p,b)=>_=>{const T=_.column+_.colspan-1,L=_.column;return T>=p&&L{const T=_.substring(0,_.length-p.length),L=parseFloat(T);return T===L.toString()?b(L):zc.invalid(_)},Zm={...zc,from:p=>Os(p,"%")?s1("%",zc.percent,p):Os(p,"px")?s1("px",zc.pixels,p):zc.invalid(p)},fb=(p,b,_)=>{const T=Zm.from(_),L=dt(p,I=>I==="0px")?((I,Z)=>{const Y=I.fold(()=>it(""),ae=>it(ae/Z+"px"),()=>it(100/Z+"%"));return Ct(Z,Y)})(T,p.length):((I,Z,Y)=>I.fold(()=>Z,ae=>((be,Le,_e)=>{const Re=_e/Le;return R(be,Xe=>Zm.from(Xe).fold(()=>Xe,Et=>Et*Re+"px",Et=>Et/100*_e+"px"))})(Z,Y,ae),ae=>((be,Le)=>R(be,_e=>Zm.from(_e).fold(()=>_e,Re=>Re/Le*100+"%",Re=>Re+"%")))(Z,Y)))(T,p,b);return kv(L)},Bp=(p,b)=>p.length===0?b:Mt(p,(_,T)=>Zm.from(T).fold(it(0),So,So)+_,0),wv=(p,b)=>Zm.from(p).fold(it(p),_=>_+b+"px",_=>_+b+"%"),kv=p=>{if(p.length===0)return p;const b=Mt(p,(T,L)=>{const I=Zm.from(L).fold(()=>({value:L,remainder:0}),Z=>((Y,ae)=>{const be=Math.floor(Y);return{value:be+"px",remainder:Y-be}})(Z),Z=>({value:Z+"%",remainder:0}));return{output:[I.value].concat(T.output),remainder:T.remainder+I.remainder}},{output:[],remainder:0}),_=b.output;return _.slice(0,_.length-1).concat([wv(_[_.length-1],Math.round(b.remainder))])},qf=Zm.from,_v=p=>qf(p).fold(it("px"),it("px"),it("%")),i1=(p,b,_)=>{const T=ts(p),L=T.all,I=nl(T),Z=Fr(T);b.each(Y=>{const ae=_v(Y),be=ve(p),Le=((Re,Xe)=>Yt(Re,Xe,oi,ni))(T,p),_e=fb(Le,be,Y);ti(T)?((Re,Xe,Et)=>{qe(Xe,(vt,qt)=>{const eo=Bp([Re[qt]],ne());Rn(vt.element,"width",eo+Et)})})(_e,Z,ae):((Re,Xe,Et)=>{qe(Xe,vt=>{const qt=Re.slice(vt.column,vt.colspan+vt.column),eo=Bp(qt,ne());Rn(vt.element,"width",eo+Et)})})(_e,I,ae),Rn(p,"width",Y)}),_.each(Y=>{const ae=_v(Y),be=Wd(p),Le=((_e,Re,Xe)=>us(_e,Re,Xe,ao,ni))(T,p,Cn);((_e,Re,Xe,Et)=>{qe(Xe,vt=>{const qt=_e.slice(vt.row,vt.rowspan+vt.row),eo=Bp(qt,Be());Rn(vt.element,"height",eo+Et)}),qe(Re,(vt,qt)=>{Rn(vt.element,"height",_e[qt])})})(fb(Le,be,Y),L,I,ae),Rn(p,"height",Y)})},Oo=p=>Ti(p).exists(b=>Cl.test(b)),sn=p=>Ti(p).exists(b=>nm.test(b)),Ri=p=>Ti(p).isNone(),Wf=p=>{Vo(p,"width")},Fp=p=>{const b=El(p);i1(p,de.some(b),de.none()),Wf(p)},l1=p=>{const b=(_=>ve(_)+"px")(p);i1(p,de.some(b),de.none()),Wf(p)},tc=p=>{aa(p,"width");const b=kn(p),_=b.length>0?b:bn(p);qe(_,T=>{aa(T,"width"),Wf(T)}),Wf(p)},t_={styles:{"border-collapse":"collapse",width:"100%"},attributes:{border:"1"},colGroups:!1},sd=(p,b,_,T)=>Ct(p,L=>((I,Z,Y,ae)=>{const be=Wt.fromTag("tr");for(let Le=0;Le{p.selection.select(b.dom,!0),p.selection.collapse(!0)},Gf=(p,b,_,T,L)=>{const I=(Y=>{const ae=Y.options,be=ae.get("table_default_styles");return ae.isSet("table_default_styles")?be:((Le,_e)=>ai(Le)||!H(Le)?_e:_d(Le)?{..._e,width:qs(Le)}:{..._e,width:_c})(Y,be)})(p),Z={styles:I,attributes:Te(p),colGroups:He(p)};return p.undoManager.ignore(()=>{const Y=((be,Le,_e,Re,Xe,Et=t_)=>{const vt=Wt.fromTag("table"),qt=Xe!=="cells";Hi(vt,Et.styles),Ft(vt,Et.attributes),Et.colGroups&&kr(vt,(Eo=>{const Do=Wt.fromTag("colgroup");return Ct(Eo,()=>kr(Do,Wt.fromTag("col"))),Do})(Le));const eo=Math.min(be,_e);if(qt&&_e>0){const Eo=Wt.fromTag("thead");kr(vt,Eo);const Do=sd(_e,Le,Xe==="sectionCells"?eo:0,Re);gr(Eo,Do)}const bo=Wt.fromTag("tbody");kr(vt,bo);const so=sd(qt?be-eo:be,Le,qt?0:_e,Re);return gr(bo,so),vt})(_,b,L,T,kd(p),Z);zt(Y,"data-mce-id","__mce");const ae=(be=>{const Le=Wt.fromTag("div"),_e=Wt.fromDom(be.dom.cloneNode(!0));return kr(Le,_e),(Re=>Re.dom.innerHTML)(Le)})(Y);p.insertContent(ae),p.addVisual()}),Sr(Hn(p),'table[data-mce-id="__mce"]').map(Y=>(_d(p)?l1(Y):ai(p)?tc(Y):(Hl(p)||(ae=>tn(ae)&&ae.indexOf("%")!==-1)(I.width))&&Fp(Y),fa(Y),Vo(Y,"data-mce-id"),((ae,be)=>{qe(ra(be,"tr"),Le=>{gb(ae,Le.dom),qe(ra(Le,"th,td"),_e=>{Qi(ae,_e.dom)})})})(p,Y),((ae,be)=>{Sr(be,"td,th").each(he(hb,ae))})(p,Y),Y.dom)).getOrNull()};var Ts=tinymce.util.Tools.resolve("tinymce.FakeClipboard");const gc="x-tinymce/dom-table-",Kf=gc+"rows",Ic=gc+"columns",c1=p=>{const b=Ts.FakeClipboardItem(p);Ts.write([b])},Yf=p=>{var b;const _=(b=Ts.read())!==null&&b!==void 0?b:[];return To(_,T=>de.from(T.getType(p)))},d1=p=>{Yf(p).isSome()&&Ts.clear()},bb=p=>{p.fold(o_,b=>c1({[Kf]:b}))},Xf=()=>Yf(Kf),o_=()=>d1(Kf),yb=p=>{p.fold(n_,b=>c1({[Ic]:b}))},Cv=()=>Yf(Ic),n_=()=>d1(Ic),Jf=p=>kp(Ka(p),Tn(p)).filter(Bf),Sv=(p,b)=>{const _=Tn(p),T=_e=>_r(_e,_),L=_e=>(Re=>Hm(Ka(Re),Tn(Re)).filter(Bf))(p).bind(Re=>T(Re).map(Xe=>_e(Xe,Re))),I=_e=>{p.focus()},Z=(_e,Re=!1)=>L((Xe,Et)=>{const vt=_n(Bc(p),Xe,Et);_e(Xe,vt,Re).each(I)}),Y=()=>L((_e,Re)=>((Xe,Et,vt)=>{const qt=ts(Xe);return Ia(qt,Et).bind(eo=>{const bo=qo(qt,vt,!1),so=ta(bo).rows.slice(eo[0].row,eo[eo.length-1].row+eo[eo.length-1].rowspan),Eo=V(so,No=>{const Ln=lt(No.cells,qn=>!qn.isLocked);return Ln.length>0?[{...No,cells:Ln}]:[]}),Do=Xn(Eo);return ws(Do.length>0,Do)}).map(eo=>R(eo,bo=>{const so=dn(bo.element);return qe(bo.cells,Eo=>{const Do=on(Eo.element);G(Do,"colspan",Eo.colspan,1),G(Do,"rowspan",Eo.rowspan,1),kr(so,Do)}),so}))})(_e,_n(Bc(p),_e,Re),Xi(Ue,Wt.fromDom(p.getDoc()),de.none()))),ae=()=>L((_e,Re)=>((Xe,Et)=>{const vt=ts(Xe);return Mi(vt,Et).map(qt=>{const eo=qt[qt.length-1],bo=qt[0].column,so=eo.column+eo.colspan,Eo=((No,Ln,qn)=>{if(ti(No)){const Qr=lt(Fr(No),$l(Ln,qn)),or=R(Qr,Er=>{const ca=on(Er.element);return Zf(ca,"span",qn-Ln),ca}),Mr=Wt.fromTag("colgroup");return gr(Mr,or),[Mr]}return[]})(vt,bo,so),Do=((No,Ln,qn)=>R(No.all,Qr=>{const or=lt(Qr.cells,$l(Ln,qn)),Mr=R(or,ca=>{const zs=on(ca.element);return Zf(zs,"colspan",qn-Ln),zs}),Er=Wt.fromTag("tr");return gr(Er,Mr),Er}))(vt,bo,so);return[...Eo,...Do]})})(_e,_n(Bc(p),_e,Re))),be=(_e,Re)=>Re().each(Xe=>{const Et=R(Xe,vt=>on(vt));L((vt,qt)=>{const eo=Oi(Wt.fromDom(p.getDoc())),bo=((so,Eo,Do,No)=>({selection:lg(so),clipboard:Do,generators:No}))(Bc(p),0,Et,eo);_e(vt,bo).each(I)})}),Le=_e=>(Re,Xe)=>((Et,vt)=>We(Et,vt)?de.from(Et[vt]):de.none())(Xe,"type").each(Et=>{Z(_e(Et),Xe.no_events)});$e({mceTableSplitCells:()=>Z(b.unmergeCells),mceTableMergeCells:()=>Z(b.mergeCells),mceTableInsertRowBefore:()=>Z(b.insertRowsBefore),mceTableInsertRowAfter:()=>Z(b.insertRowsAfter),mceTableInsertColBefore:()=>Z(b.insertColumnsBefore),mceTableInsertColAfter:()=>Z(b.insertColumnsAfter),mceTableDeleteCol:()=>Z(b.deleteColumn),mceTableDeleteRow:()=>Z(b.deleteRow),mceTableCutCol:()=>ae().each(_e=>{yb(_e),Z(b.deleteColumn)}),mceTableCutRow:()=>Y().each(_e=>{bb(_e),Z(b.deleteRow)}),mceTableCopyCol:()=>ae().each(_e=>yb(_e)),mceTableCopyRow:()=>Y().each(_e=>bb(_e)),mceTablePasteColBefore:()=>be(b.pasteColsBefore,Cv),mceTablePasteColAfter:()=>be(b.pasteColsAfter,Cv),mceTablePasteRowBefore:()=>be(b.pasteRowsBefore,Xf),mceTablePasteRowAfter:()=>be(b.pasteRowsAfter,Xf),mceTableDelete:()=>Jf(p).each(_e=>{_r(_e,_).filter(Dt(_)).each(Re=>{const Xe=Wt.fromText("");if(St(Re,Xe),Ae(Re),p.dom.isEmpty(p.getBody()))p.setContent(""),p.selection.setCursorLocation();else{const Et=p.dom.createRng();Et.setStart(Xe.dom,0),Et.setEnd(Xe.dom,0),p.selection.setRng(Et),p.nodeChanged()}})}),mceTableCellToggleClass:(_e,Re)=>{L(Xe=>{const Et=Bc(p),vt=dt(Et,eo=>p.formatter.match("tablecellclass",{value:Re},eo.dom)),qt=vt?p.formatter.remove:p.formatter.apply;qe(Et,eo=>qt("tablecellclass",{value:Re},eo.dom)),Gs(p,Xe.dom,vl)})},mceTableToggleClass:(_e,Re)=>{L(Xe=>{p.formatter.toggle("tableclass",{value:Re},Xe.dom),Gs(p,Xe.dom,vl)})},mceTableToggleCaption:()=>{Jf(p).each(_e=>{_r(_e,_).each(Re=>{rr(Re,"caption").fold(()=>{const Xe=Wt.fromTag("caption");kr(Xe,Wt.fromText("Caption")),((Et,vt,qt)=>{_t(Et,0).fold(()=>{kr(Et,vt)},eo=>{Mo(eo,vt)})})(Re,Xe),p.selection.setCursorLocation(Xe.dom,0)},Xe=>{zn("caption")(_e)&&ln("td",Re).each(Et=>p.selection.setCursorLocation(Et.dom,0)),Ae(Xe)}),Gs(p,Re.dom,Wa)})})},mceTableSizingMode:(_e,Re)=>(Xe=>Jf(p).each(Et=>{ai(p)||_d(p)||Hl(p)||_r(Et,_).each(vt=>{Xe!=="relative"||Oo(vt)?Xe!=="fixed"||sn(vt)?Xe!=="responsive"||Ri(vt)||tc(vt):l1(vt):Fp(vt),fa(vt),Gs(p,vt.dom,Wa)})}))(Re),mceTableCellType:Le(_e=>_e==="th"?b.makeCellsHeader:b.unmakeCellsHeader),mceTableColType:Le(_e=>_e==="th"?b.makeColumnsHeader:b.unmakeColumnsHeader),mceTableRowType:Le(_e=>{switch(_e){case"header":return b.makeRowsHeader;case"footer":return b.makeRowsFooter;default:return b.makeRowsBody}})},(_e,Re)=>p.addCommand(Re,_e)),p.addCommand("mceInsertTable",(_e,Re)=>{((Xe,Et,vt,qt={})=>{const eo=bo=>Ao(bo)&&bo>0;if(eo(Et)&&eo(vt)){const bo=qt.headerRows||0,so=qt.headerColumns||0;return Gf(Xe,vt,Et,so,bo)}console.error("Invalid values for mceInsertTable - rows and columns values are required to insert a table.")})(p,Re.rows,Re.columns,Re.options)}),p.addCommand("mceTableApplyCellStyle",(_e,Re)=>{const Xe=qt=>"tablecell"+qt.toLowerCase().replace("-","");if(!to(Re))return;const Et=lt(Bc(p),Bf);if(Et.length===0)return;const vt=((qt,eo)=>{const bo={};return((so,Eo,Do,No)=>{$e(so,(Ln,qn)=>{(Eo(Ln,qn)?Do:No)(Ln,qn)})})(qt,eo,(so=>(Eo,Do)=>{so[Do]=Eo})(bo),Ue),bo})(Re,(qt,eo)=>p.formatter.has(Xe(eo))&&tn(qt));(qt=>{for(const eo in qt)if(Se.call(qt,eo))return!1;return!0})(vt)||($e(vt,(qt,eo)=>{const bo=Xe(eo);qe(Et,so=>{qt===""?p.formatter.remove(bo,{value:null},so.dom,!0):p.formatter.apply(bo,{value:qt},so.dom)})}),T(Et[0]).each(qt=>Gs(p,qt.dom,vl)))})},Lp=Iu([{before:["element"]},{on:["element","offset"]},{after:["element"]}]),oc={before:Lp.before,on:Lp.on,after:Lp.after,cata:(p,b,_,T)=>p.fold(b,_,T),getStart:p=>p.fold(So,So,So)},Hu=(p,b)=>({selection:p,kill:b}),vg=(p,b)=>{const _=p.document.createRange();return _.selectNode(b.dom),_},ms=(p,b)=>{const _=p.document.createRange();return u1(_,b),_},u1=(p,b)=>p.selectNodeContents(b.dom),Ul=(p,b,_)=>{const T=p.document.createRange();var L;return L=T,b.fold(I=>{L.setStartBefore(I.dom)},(I,Z)=>{L.setStart(I.dom,Z)},I=>{L.setStartAfter(I.dom)}),((I,Z)=>{Z.fold(Y=>{I.setEndBefore(Y.dom)},(Y,ae)=>{I.setEnd(Y.dom,ae)},Y=>{I.setEndAfter(Y.dom)})})(T,_),T},Qf=(p,b,_,T,L)=>{const I=p.document.createRange();return I.setStart(b.dom,_),I.setEnd(T.dom,L),I},Ev=p=>({left:p.left,top:p.top,right:p.right,bottom:p.bottom,width:p.width,height:p.height}),xg=Iu([{ltr:["start","soffset","finish","foffset"]},{rtl:["start","soffset","finish","foffset"]}]),eh=(p,b,_)=>b(Wt.fromDom(_.startContainer),_.startOffset,Wt.fromDom(_.endContainer),_.endOffset),Tv=(p,b)=>{const _=((T,L)=>L.match({domRange:I=>({ltr:it(I),rtl:de.none}),relative:(I,Z)=>({ltr:Ee(()=>Ul(T,I,Z)),rtl:Ee(()=>de.some(Ul(T,Z,I)))}),exact:(I,Z,Y,ae)=>({ltr:Ee(()=>Qf(T,I,Z,Y,ae)),rtl:Ee(()=>de.some(Qf(T,Y,ae,I,Z)))})}))(p,b);return((T,L)=>{const I=L.ltr();return I.collapsed?L.rtl().filter(Z=>Z.collapsed===!1).map(Z=>xg.rtl(Wt.fromDom(Z.endContainer),Z.endOffset,Wt.fromDom(Z.startContainer),Z.startOffset)).getOrThunk(()=>eh(0,xg.ltr,I)):eh(0,xg.ltr,I)})(0,_)},th=(p,b)=>Tv(p,b).match({ltr:(_,T,L,I)=>{const Z=p.document.createRange();return Z.setStart(_.dom,T),Z.setEnd(L.dom,I),Z},rtl:(_,T,L,I)=>{const Z=p.document.createRange();return Z.setStart(L.dom,I),Z.setEnd(_.dom,T),Z}});xg.ltr,xg.rtl;const Ip=(p,b,_,T)=>({start:p,soffset:b,finish:_,foffset:T}),wg=(p,b,_,T)=>({start:oc.on(p,b),finish:oc.on(_,T)}),vb=(p,b)=>{const _=th(p,b);return Ip(Wt.fromDom(_.startContainer),_.startOffset,Wt.fromDom(_.endContainer),_.endOffset)},xb=wg,kg=(p,b,_,T,L)=>xr(_,T)?de.none():zu(_,T,b).bind(I=>{const Z=I.boxes.getOr([]);return Z.length>1?(L(p,Z,I.start,I.finish),de.some(Hu(de.some(xb(_,0,_,ns(_))),!0))):de.none()}),au=(p,b)=>({item:p,mode:b}),_g=(p,b,_,T=fm)=>p.property().parent(b).map(L=>au(L,T)),fm=(p,b,_,T=su)=>_.sibling(p,b).map(L=>au(L,T)),su=(p,b,_,T=su)=>{const L=p.property().children(b);return _.first(L).map(I=>au(I,T))},r_=[{current:_g,next:fm,fallback:de.none()},{current:fm,next:su,fallback:de.some(_g)},{current:su,next:su,fallback:de.some(fm)}],ju=(p,b,_,T,L=r_)=>Rt(L,I=>I.current===_).bind(I=>I.current(p,b,T,I.next).orThunk(()=>I.fallback.bind(Z=>ju(p,b,Z,T)))),oh=(p,b,_,T,L,I)=>ju(p,b,T,L).bind(Z=>I(Z.item)?de.none():_(Z.item)?de.some(Z.item):oh(p,Z.item,_,Z.mode,L,I)),zv=p=>b=>p.property().children(b).length===0,hm=(p,b,_,T)=>oh(p,b,_,fm,{sibling:(L,I)=>L.query().prevSibling(I),first:L=>L.length>0?de.some(L[L.length-1]):de.none()},T),Cg=(p,b,_,T)=>oh(p,b,_,fm,{sibling:(L,I)=>L.query().nextSibling(I),first:L=>L.length>0?de.some(L[0]):de.none()},T),wb=ys(),Av=(p,b)=>((_,T,L)=>hm(_,T,zv(_),L))(wb,p,b),m1=(p,b)=>((_,T,L)=>Cg(_,T,zv(_),L))(wb,p,b),kb=Iu([{none:["message"]},{success:[]},{failedUp:["cell"]},{failedDown:["cell"]}]),a_=p=>va(p,"tr"),Sg={...kb,verify:(p,b,_,T,L,I,Z)=>va(T,"td,th",Z).bind(Y=>va(b,"td,th",Z).map(ae=>xr(Y,ae)?xr(T,Y)&&ns(Y)===L?I(ae):kb.none("in same cell"):Ff(a_,[Y,ae]).fold(()=>((be,Le,_e)=>{const Re=be.getRect(Le),Xe=be.getRect(_e);return Xe.right>Re.left&&Xe.leftI(ae)))).getOr(kb.none("default")),cata:(p,b,_,T,L)=>p.fold(b,_,T,L)},nh=zn("br"),g1=(p,b,_)=>b(p,_).bind(T=>Zo(T)&&Hs(T).trim().length===0?g1(T,b,_):de.some(T)),Ov=(p,b,_,T)=>((L,I)=>_t(L,I).filter(nh).orThunk(()=>_t(L,I-1).filter(nh)))(b,_).bind(L=>T.traverse(L).fold(()=>g1(L,T.gather,p).map(T.relative),I=>(Z=>Ha(Z).bind(Y=>{const ae=tt(Y);return((be,Le)=>uo(be,he(xr,Le)))(ae,Z).map(be=>((Le,_e,Re,Xe)=>({parent:Le,children:_e,element:Re,index:Xe}))(Y,ae,Z,be))}))(I).map(Z=>oc.on(Z.parent,Z.index)))),qm=(p,b)=>({left:p.left,top:p.top+b,right:p.right,bottom:p.bottom+b}),Pp=(p,b)=>({left:p.left,top:p.top-b,right:p.right,bottom:p.bottom-b}),p1=(p,b,_)=>({left:p.left+b,top:p.top+_,right:p.right+b,bottom:p.bottom+_}),_b=p=>({left:p.left,top:p.top,right:p.right,bottom:p.bottom}),Cb=(p,b)=>de.some(p.getRect(b)),rh=(p,b,_)=>$o(b)?Cb(p,b).map(_b):Zo(b)?((T,L,I)=>I>=0&&I0?T.getRangedRect(L,I-1,L,I):de.none())(p,b,_).map(_b):de.none(),Nv=(p,b)=>$o(b)?Cb(p,b).map(_b):Zo(b)?p.getRangedRect(b,0,b,ns(b)).map(_b):de.none(),iu=Iu([{none:[]},{retry:["caret"]}]),Hp=(p,b,_)=>mi(b,ou).fold(me,T=>Nv(p,T).exists(L=>((I,Z)=>I.leftZ.right)(_,L))),Mv={point:p=>p.bottom,adjuster:(p,b,_,T,L)=>{const I=qm(L,5);return Math.abs(_.bottom-T.bottom)<1||_.top>L.bottom?iu.retry(I):_.top===L.bottom?iu.retry(qm(L,1)):Hp(p,b,L)?iu.retry(p1(I,5,0)):iu.none()},move:qm,gather:m1},Sb=(p,b,_,T,L)=>L===0?de.some(T):((I,Z,Y)=>I.elementFromPoint(Z,Y).filter(ae=>ze(ae)==="table").isSome())(p,T.left,b.point(T))?((I,Z,Y,ae,be)=>Sb(I,Z,Y,Z.move(ae,5),be))(p,b,_,T,L-1):p.situsFromPoint(T.left,b.point(T)).bind(I=>I.start.fold(de.none,Z=>Nv(p,Z).bind(Y=>b.adjuster(p,Z,Y,_,T).fold(de.none,ae=>Sb(p,b,_,ae,L-1))).orThunk(()=>de.some(T)),de.none)),f1=(p,b,_)=>{const T=p.move(_,5),L=Sb(b,p,_,T,100).getOr(T);return((I,Z,Y)=>I.point(Z)>Y.getInnerHeight()?de.some(I.point(Z)-Y.getInnerHeight()):I.point(Z)<0?de.some(-I.point(Z)):de.none())(p,L,b).fold(()=>b.situsFromPoint(L.left,p.point(L)),I=>(b.scrollBy(0,I),b.situsFromPoint(L.left,p.point(L)-I)))},Eg={tryUp:he(f1,{point:p=>p.top,adjuster:(p,b,_,T,L)=>{const I=Pp(L,5);return Math.abs(_.top-T.top)<1||_.bottomp.getSelection().bind(T=>((L,I,Z,Y)=>(nh(I)?((be,Le,_e)=>_e.traverse(Le).orThunk(()=>g1(Le,_e.gather,be)).map(_e.relative))(L,I,Y):Ov(L,I,Z,Y)).map(be=>({start:be,finish:be})))(b,T.finish,T.foffset,_).fold(()=>de.some(Nu(T.finish,T.foffset)),L=>{const I=p.fromSitus(L);return Z=Sg.verify(p,T.finish,T.foffset,I.finish,I.foffset,_.failure,b),Sg.cata(Z,Y=>de.none(),()=>de.none(),Y=>de.some(Nu(Y,0)),Y=>de.some(Nu(Y,ns(Y))));var Z})),Tg=(p,b,_,T,L,I)=>I===0?de.none():Rv(p,b,_,T,L).bind(Z=>{const Y=p.fromSitus(Z),ae=Sg.verify(p,_,T,Y.finish,Y.foffset,L.failure,b);return Sg.cata(ae,()=>de.none(),()=>de.some(Z),be=>xr(_,be)&&T===0?h1(p,_,T,Pp,L):Tg(p,b,be,0,L,I-1),be=>xr(_,be)&&T===ns(be)?h1(p,_,T,qm,L):Tg(p,b,be,ns(be),L,I-1))}),h1=(p,b,_,T,L)=>rh(p,b,_).bind(I=>Zl(p,L,T(I,Eg.getJumpSize()))),Zl=(p,b,_)=>{const T=Il().browser;return T.isChromium()||T.isSafari()||T.isFirefox()?b.retry(p,_):de.none()},Rv=(p,b,_,T,L)=>rh(p,_,T).bind(I=>Zl(p,L,I)),Bv=(p,b,_,T,L)=>va(T,"td,th",b).bind(I=>va(I,"table",b).bind(Z=>((Y,ae)=>Zs(Y,be=>Ha(be).exists(Le=>xr(Le,ae)),void 0).isSome())(L,Z)?((Y,ae,be)=>Dv(Y,ae,be).bind(Le=>Tg(Y,ae,Le.element,Le.offset,be,20).map(Y.fromSitus)))(p,b,_).bind(Y=>va(Y.finish,"td,th",b).map(ae=>({start:I,finish:ae,range:Y}))):de.none())),b1=(p,b,_,T,L,I)=>I(T,b).orThunk(()=>Bv(p,b,_,T,L).map(Z=>{const Y=Z.range;return Hu(de.some(xb(Y.start,Y.soffset,Y.finish,Y.foffset)),!0)})),s_=(p,b)=>va(p,"tr",b).bind(_=>va(_,"table",b).bind(T=>{const L=ra(T,"tr");return xr(_,L[0])?((I,Z,Y)=>hm(wb,I,ae=>wd(ae).isSome(),Y))(T,0,b).map(I=>{const Z=ns(I);return Hu(de.some(xb(I,Z,I,Z)),!0)}):de.none()})),Eb=(p,b)=>va(p,"tr",b).bind(_=>va(_,"table",b).bind(T=>{const L=ra(T,"tr");return xr(_,L[L.length-1])?((I,Z,Y)=>Cg(wb,I,ae=>Ai(ae).isSome(),Y))(T,0,b).map(I=>Hu(de.some(xb(I,0,I,0)),!0)):de.none()})),y1=(p,b,_,T,L,I,Z)=>Bv(p,_,T,L,I).bind(Y=>kg(b,_,Y.start,Y.finish,Z)),ah=p=>{let b=p;return{get:()=>b,set:_=>{b=_}}},sh=()=>{const p=(b=>{const _=ah(de.none()),T=()=>_.get().each(b);return{clear:()=>{T(),_.set(de.none())},isSet:()=>_.get().isSome(),get:()=>_.get(),set:L=>{T(),_.set(de.some(L))}}})(Ue);return{...p,on:b=>p.get().each(b)}},Fv=(p,b)=>va(p,"td,th",b),Tb=p=>ja(p).exists(fn),zb={traverse:_a,gather:m1,relative:oc.before,retry:Eg.tryDown,failure:Sg.failedDown},v1={traverse:Us,gather:Av,relative:oc.before,retry:Eg.tryUp,failure:Sg.failedUp},zg=p=>b=>b===p,Ab=zg(38),ih=zg(40),bm=p=>p>=37&&p<=40,Lv={isBackward:zg(37),isForward:zg(39)},x1={isBackward:zg(39),isForward:zg(37)},lh=Iu([{domRange:["rng"]},{relative:["startSitu","finishSitu"]},{exact:["start","soffset","finish","foffset"]}]),Ag={domRange:lh.domRange,relative:lh.relative,exact:lh.exact,exactFromRange:p=>lh.exact(p.start,p.soffset,p.finish,p.foffset),getWin:p=>{const b=(_=>_.match({domRange:T=>Wt.fromDom(T.startContainer),relative:(T,L)=>oc.getStart(T),exact:(T,L,I,Z)=>T}))(p);return Wt.fromDom(cs(b).dom.defaultView)},range:Ip},i_=document.caretPositionFromPoint?(p,b,_)=>{var T,L;return de.from((L=(T=p.dom).caretPositionFromPoint)===null||L===void 0?void 0:L.call(T,b,_)).bind(I=>{if(I.offsetNode===null)return de.none();const Z=p.dom.createRange();return Z.setStart(I.offsetNode,I.offset),Z.collapse(),de.some(Z)})}:document.caretRangeFromPoint?(p,b,_)=>{var T,L;return de.from((L=(T=p.dom).caretRangeFromPoint)===null||L===void 0?void 0:L.call(T,b,_))}:de.none,Ob=(p,b)=>{const _=ze(p);return _==="input"?oc.after(p):gn(["br","img"],_)?b===0?oc.before(p):oc.after(p):oc.on(p,b)},jp=p=>de.from(p.getSelection()),Iv=(p,b)=>{jp(p).each(_=>{_.removeAllRanges(),_.addRange(b)})},Nb=(p,b,_,T,L)=>{const I=Qf(p,b,_,T,L);Iv(p,I)},Mb=(p,b)=>Tv(p,b).match({ltr:(_,T,L,I)=>{Nb(p,_,T,L,I)},rtl:(_,T,L,I)=>{jp(p).each(Z=>{if(Z.setBaseAndExtent)Z.setBaseAndExtent(_.dom,T,L.dom,I);else if(Z.extend)try{((Y,ae,be,Le,_e,Re)=>{ae.collapse(be.dom,Le),ae.extend(_e.dom,Re)})(0,Z,_,T,L,I)}catch{Nb(p,L,I,_,T)}else Nb(p,L,I,_,T)})}}),w1=(p,b,_,T,L)=>{const I=((Z,Y,ae,be)=>{const Le=Ob(Z,Y),_e=Ob(ae,be);return Ag.relative(Le,_e)})(b,_,T,L);Mb(p,I)},xl=(p,b,_)=>{const T=((L,I)=>{const Z=L.fold(oc.before,Ob,oc.after),Y=I.fold(oc.before,Ob,oc.after);return Ag.relative(Z,Y)})(b,_);Mb(p,T)},ch=p=>{if(p.rangeCount>0){const b=p.getRangeAt(0),_=p.getRangeAt(p.rangeCount-1);return de.some(Ip(Wt.fromDom(b.startContainer),b.startOffset,Wt.fromDom(_.endContainer),_.endOffset))}return de.none()},dh=p=>{if(p.anchorNode===null||p.focusNode===null)return ch(p);{const b=Wt.fromDom(p.anchorNode),_=Wt.fromDom(p.focusNode);return((T,L,I,Z)=>{const Y=((be,Le,_e,Re)=>{const Xe=Pa(be).dom.createRange();return Xe.setStart(be.dom,Le),Xe.setEnd(_e.dom,Re),Xe})(T,L,I,Z),ae=xr(T,I)&&L===Z;return Y.collapsed&&!ae})(b,p.anchorOffset,_,p.focusOffset)?de.some(Ip(b,p.anchorOffset,_,p.focusOffset)):ch(p)}},Dd=(p,b,_=!0)=>{const T=(_?ms:vg)(p,b);Iv(p,T)},k1=p=>(b=>jp(b).filter(_=>_.rangeCount>0).bind(dh))(p).map(b=>Ag.exact(b.start,b.soffset,b.finish,b.foffset)),uh=p=>({elementFromPoint:(b,_)=>Wt.fromPoint(Wt.fromDom(p.document),b,_),getRect:b=>b.dom.getBoundingClientRect(),getRangedRect:(b,_,T,L)=>{const I=Ag.exact(b,_,T,L);return((Z,Y)=>(ae=>{const be=ae.getClientRects(),Le=be.length>0?be[0]:ae.getBoundingClientRect();return Le.width>0||Le.height>0?de.some(Le).map(Ev):de.none()})(th(Z,Y)))(p,I)},getSelection:()=>k1(p).map(b=>vb(p,b)),fromSitus:b=>{const _=Ag.relative(b.start,b.finish);return vb(p,_)},situsFromPoint:(b,_)=>((T,L,I)=>((Z,Y,ae)=>{const be=Wt.fromDom(Z.document);return i_(be,Y,ae).map(Le=>Ip(Wt.fromDom(Le.startContainer),Le.startOffset,Wt.fromDom(Le.endContainer),Le.endOffset))})(T,L,I))(p,b,_).map(T=>wg(T.start,T.soffset,T.finish,T.foffset)),clearSelection:()=>{(b=>{jp(b).each(_=>_.removeAllRanges())})(p)},collapseSelection:(b=!1)=>{k1(p).each(_=>_.fold(T=>T.collapse(b),(T,L)=>{const I=b?T:L;xl(p,I,I)},(T,L,I,Z)=>{const Y=b?T:I,ae=b?L:Z;w1(p,Y,ae,Y,ae)}))},setSelection:b=>{w1(p,b.start,b.soffset,b.finish,b.foffset)},setRelativeSelection:(b,_)=>{xl(p,b,_)},selectNode:b=>{Dd(p,b,!1)},selectContents:b=>{Dd(p,b)},getInnerHeight:()=>p.innerHeight,getScrollY:()=>(b=>{const _=b!==void 0?b.dom:document,T=_.body.scrollLeft||_.documentElement.scrollLeft,L=_.body.scrollTop||_.documentElement.scrollTop;return Jl(T,L)})(Wt.fromDom(p.document)).top,scrollBy:(b,_)=>{((T,L,I)=>{const Z=(I!==void 0?I.dom:document).defaultView;Z&&Z.scrollBy(T,L)})(b,_,Wt.fromDom(p.document))}}),Og=(p,b)=>({rows:p,cols:b}),ym=p=>mi(p,Xo).exists(fn),Db=(p,b)=>ym(p)||ym(b),Rb=p=>p.dom.classList!==void 0,id=(p,b)=>((_,T,L)=>{const I=((Z,Y)=>{const ae=vo(Z,Y);return ae===void 0||ae===""?[]:ae.split(" ")})(_,T).concat([L]);return zt(_,T,I.join(" ")),!0})(p,"class",b),lu=(p,b)=>{Rb(p)?p.dom.classList.add(b):id(p,b)},mh=(p,b)=>Rb(p)&&p.dom.classList.contains(b),Vp=()=>({tag:"none"}),Pv=p=>({tag:"multiple",elements:p}),Hv=p=>({tag:"single",element:p}),Bb=p=>{const b=Wt.fromDom((Y=>{if(Io()&&jo(Y.target)){const ae=Wt.fromDom(Y.target);if($o(ae)&&jo(ae.dom.shadowRoot)&&Y.composed&&Y.composedPath){const be=Y.composedPath();if(be)return Pt(be)}}return de.from(Y.target)})(p).getOr(p.target)),_=()=>p.stopPropagation(),T=()=>p.preventDefault(),L=(I=T,Z=_,(...Y)=>I(Z.apply(null,Y)));var I,Z;return((Y,ae,be,Le,_e,Re,Xe)=>({target:Y,x:ae,y:be,stop:Le,prevent:_e,kill:Re,raw:Xe}))(b,p.clientX,p.clientY,_,T,L,p)},_1=(p,b,_,T)=>{p.dom.removeEventListener(b,_,T)},jv=Ze,Ng=(p,b,_)=>((T,L,I,Z)=>((Y,ae,be,Le,_e)=>{const Re=((Xe,Et)=>vt=>{Xe(vt)&&Et(Bb(vt))})(be,Le);return Y.dom.addEventListener(ae,Re,_e),{unbind:he(_1,Y,ae,Re,_e)}})(T,L,I,Z,!1))(p,b,jv,_),$p=Bb,vm=p=>!mh(Wt.fromDom(p.target),"ephox-snooker-resizer-bar"),Mg=(p,b)=>{const _=(L=$r.selectedSelector,{get:()=>Ou(Wt.fromDom(p.getBody()),L).fold(()=>Hm(Ka(p),Tn(p)).fold(Vp,Hv),Pv)}),T=((I,Z,Y)=>{const ae=Re=>{Vo(Re,I.selected),Vo(Re,I.firstSelected),Vo(Re,I.lastSelected)},be=Re=>{zt(Re,I.selected,"1")},Le=Re=>{_e(Re),Y()},_e=Re=>{const Xe=ra(Re,`${I.selectedSelector},${I.firstSelectedSelector},${I.lastSelectedSelector}`);qe(Xe,ae)};return{clearBeforeUpdate:_e,clear:Le,selectRange:(Re,Xe,Et,vt)=>{Le(Re),qe(Xe,be),zt(Et,I.firstSelected,"1"),zt(vt,I.lastSelected,"1"),Z(Xe,Et,vt)},selectedSelector:I.selectedSelector,firstSelectedSelector:I.firstSelectedSelector,lastSelectedSelector:I.lastSelectedSelector}})($r,(I,Z,Y)=>{_r(Z).each(ae=>{const be=Tu(p),Le=Xi(Ue,Wt.fromDom(p.getDoc()),be),_e=((Re,Xe,Et)=>{const vt=ts(Re);return Ia(vt,Xe).map(qt=>{const eo=qo(vt,Et,!1),{rows:bo}=ta(eo),so=((Do,No)=>{const Ln=Do.slice(0,No[No.length-1].row+1),qn=Xn(Ln);return V(qn,Qr=>{const or=Qr.cells.slice(0,No[No.length-1].column+1);return R(or,Mr=>Mr.element)})})(bo,qt),Eo=((Do,No)=>{const Ln=Do.slice(No[0].row+No[0].rowspan-1,Do.length),qn=Xn(Ln);return V(qn,Qr=>{const or=Qr.cells.slice(No[0].column+No[0].colspan-1,Qr.cells.length);return R(or,Mr=>Mr.element)})})(bo,qt);return{upOrLeftCells:so,downOrRightCells:Eo}})})(ae,{selection:Bc(p)},Le);((Re,Xe,Et,vt,qt)=>{Re.dispatch("TableSelectionChange",{cells:Xe,start:Et,finish:vt,otherCells:qt})})(p,I,Z,Y,_e)})},()=>(I=>{I.dispatch("TableSelectionClear")})(p));var L;return p.on("init",I=>{const Z=p.getWin(),Y=Hn(p),ae=Tn(p),be=((vt,qt,eo,bo)=>{const so=((Eo,Do,No,Ln)=>{const qn=sh(),Qr=qn.clear,or=Mr=>{qn.on(Er=>{Ln.clearBeforeUpdate(Do),Fv(Mr.target,No).each(ca=>{zu(Er,ca,No).each(zs=>{const il=zs.boxes.getOr([]);if(il.length===1){const ii=il[0],ql=ir(ii)==="false",ua=Cs(ko(Mr.target),ii,xr);ql&&ua&&(Ln.selectRange(Do,il,ii,ii),Eo.selectContents(ii))}else il.length>1&&(Ln.selectRange(Do,il,zs.start,zs.finish),Eo.selectContents(ca))})})})};return{clearstate:Qr,mousedown:Mr=>{Ln.clear(Do),Fv(Mr.target,No).filter(Tb).each(qn.set)},mouseover:Mr=>{or(Mr)},mouseup:Mr=>{or(Mr),Qr()}}})(uh(vt),qt,eo,bo);return{clearstate:so.clearstate,mousedown:so.mousedown,mouseover:so.mouseover,mouseup:so.mouseup}})(Z,Y,ae,T),Le=((vt,qt,eo,bo)=>{const so=uh(vt),Eo=()=>(bo.clear(qt),de.none());return{keydown:(Do,No,Ln,qn,Qr,or)=>{const Mr=Do.raw,Er=Mr.which,ca=Mr.shiftKey===!0;return Au(qt,bo.selectedSelector).fold(()=>(bm(Er)&&!ca&&bo.clearBeforeUpdate(qt),bm(Er)&&ca&&!Db(No,qn)?de.none:ih(Er)&&ca?he(y1,so,qt,eo,zb,qn,No,bo.selectRange):Ab(Er)&&ca?he(y1,so,qt,eo,v1,qn,No,bo.selectRange):ih(Er)?he(b1,so,eo,zb,qn,No,Eb):Ab(Er)?he(b1,so,eo,v1,qn,No,s_):de.none),il=>{const ii=ql=>()=>To(ql,li=>((Vu,Kp,wm,Fg,Yp)=>sm(Fg,Vu,Kp,Yp.firstSelectedSelector,Yp.lastSelectedSelector).map(Xp=>(Yp.clearBeforeUpdate(wm),Yp.selectRange(wm,Xp.boxes,Xp.start,Xp.finish),Xp.boxes)))(li.rows,li.cols,qt,il,bo)).fold(()=>Rc(qt,bo.firstSelectedSelector,bo.lastSelectedSelector).map(li=>{const Vu=ih(Er)||or.isForward(Er)?oc.after:oc.before;return so.setRelativeSelection(oc.on(li.first,0),Vu(li.table)),bo.clear(qt),Hu(de.none(),!0)}),li=>de.some(Hu(de.none(),!0)));return bm(Er)&&ca&&!Db(No,qn)?de.none:ih(Er)&&ca?ii([Og(1,0)]):Ab(Er)&&ca?ii([Og(-1,0)]):or.isBackward(Er)&&ca?ii([Og(0,-1),Og(-1,0)]):or.isForward(Er)&&ca?ii([Og(0,1),Og(1,0)]):bm(Er)&&!ca?Eo:de.none})()},keyup:(Do,No,Ln,qn,Qr)=>Au(qt,bo.selectedSelector).fold(()=>{const or=Do.raw,Mr=or.which;return or.shiftKey===!0&&bm(Mr)&&Db(No,qn)?((Er,ca,zs,il,ii,ql,ua)=>xr(zs,ii)&&il===ql?de.none():va(zs,"td,th",ca).bind(li=>va(ii,"td,th",ca).bind(Vu=>kg(Er,ca,li,Vu,ua))))(qt,eo,No,Ln,qn,Qr,bo.selectRange):de.none()},de.none)}})(Z,Y,ae,T),_e=((vt,qt,eo,bo)=>{const so=uh(vt);return(Eo,Do)=>{bo.clearBeforeUpdate(qt),zu(Eo,Do,eo).each(No=>{const Ln=No.boxes.getOr([]);bo.selectRange(qt,Ln,No.start,No.finish),so.selectContents(Do),so.collapseSelection()})}})(Z,Y,ae,T);p.on("TableSelectorChange",vt=>_e(vt.start,vt.finish));const Re=(vt,qt)=>{(eo=>eo.raw.shiftKey===!0)(vt)&&(qt.kill&&vt.kill(),qt.selection.each(eo=>{const bo=Ag.relative(eo.start,eo.finish),so=th(Z,bo);p.selection.setRng(so)}))},Xe=vt=>vt.button===0,Et=(()=>{const vt=ah(Wt.fromDom(Y)),qt=ah(0);return{touchEnd:eo=>{const bo=Wt.fromDom(eo.target);if(zn("td")(bo)||zn("th")(bo)){const so=vt.get(),Eo=qt.get();xr(so,bo)&&eo.timeStamp-Eo<300&&(eo.preventDefault(),_e(bo,bo))}vt.set(bo),qt.set(eo.timeStamp)}}})();p.on("dragstart",vt=>{be.clearstate()}),p.on("mousedown",vt=>{Xe(vt)&&vm(vt)&&be.mousedown($p(vt))}),p.on("mouseover",vt=>{var qt;(qt=vt).buttons!==void 0&&!(1&qt.buttons)||!vm(vt)||be.mouseover($p(vt))}),p.on("mouseup",vt=>{Xe(vt)&&vm(vt)&&be.mouseup($p(vt))}),p.on("touchend",Et.touchEnd),p.on("keyup",vt=>{const qt=$p(vt);if(qt.raw.shiftKey&&bm(qt.raw.which)){const eo=p.selection.getRng(),bo=Wt.fromDom(eo.startContainer),so=Wt.fromDom(eo.endContainer);Le.keyup(qt,bo,eo.startOffset,so,eo.endOffset).each(Eo=>{Re(qt,Eo)})}}),p.on("keydown",vt=>{const qt=$p(vt);b.hide();const eo=p.selection.getRng(),bo=Wt.fromDom(eo.startContainer),so=Wt.fromDom(eo.endContainer),Eo=Mc(Lv,x1)(Wt.fromDom(p.selection.getStart()));Le.keydown(qt,bo,eo.startOffset,so,eo.endOffset,Eo).each(Do=>{Re(qt,Do)}),b.show()}),p.on("NodeChange",()=>{const vt=p.selection,qt=Wt.fromDom(vt.getStart()),eo=Wt.fromDom(vt.getEnd());Ff(_r,[qt,eo]).fold(()=>T.clear(Y),Ue)})}),p.on("PreInit",()=>{p.serializer.addTempAttr($r.firstSelected),p.serializer.addTempAttr($r.lastSelected)}),{getSelectedCells:()=>((I,Z,Y,ae)=>{switch(I.tag){case"none":return Z();case"single":return(be=>[be.dom])(I.element);case"multiple":return(be=>R(be,Le=>Le.dom))(I.elements)}})(_.get(),it([])),clearSelectedCells:I=>T.clear(Wt.fromDom(I))}},Ac=p=>{let b=[];return{bind:_=>{if(_===void 0)throw new Error("Event bind error: undefined handler");b.push(_)},unbind:_=>{b=lt(b,T=>T!==_)},trigger:(..._)=>{const T={};qe(p,(L,I)=>{T[L]=_[I]}),qe(b,L=>{L(T)})}}},cu=p=>({registry:ct(p,b=>({bind:b.bind,unbind:b.unbind})),trigger:ct(p,b=>b.trigger)}),Rd=p=>p.slice(0).sort(),Lr=(p,b)=>{const _=lt(b,T=>!gn(p,T));_.length>0&&(T=>{throw new Error("Unsupported keys for object: "+Rd(T).join(", "))})(_)},Bd=p=>((b,_)=>((T,L,I)=>{if(L.length===0)throw new Error("You must specify at least one required field.");return((Z,Y)=>{if(!Lo(Y))throw new Error("The "+Z+" fields must be an array. Was: "+Y+".");qe(Y,ae=>{if(!tn(ae))throw new Error("The value "+ae+" in the "+Z+" fields was not a string.")})})("required",L),(Z=>{const Y=Rd(Z);Rt(Y,(ae,be)=>be{throw new Error("The field: "+ae+" occurs more than once in the combined fields: ["+Y.join(", ")+"].")})})(L),Z=>{const Y=oo(Z);dt(L,be=>gn(Y,be))||((be,Le)=>{throw new Error("All required keys ("+Rd(be).join(", ")+") were not specified. Specified keys were: "+Rd(Le).join(", ")+".")})(L,Y),T(L,Y);const ae=lt(L,be=>!I.validate(Z[be],be));return ae.length>0&&((be,Le)=>{throw new Error("All values need to be of type: "+Le+". Keys ("+Rd(be).join(", ")+") were not.")})(ae,I.label),Z}})(b,_,{validate:an,label:"function"}))(Lr,p),Dg=Bd(["compare","extract","mutate","sink"]),C1=Bd(["element","start","stop","destroy"]),Vv=Bd(["forceDrop","drop","move","delayDrop"]),Rg=()=>{const p=(()=>{const T=cu({move:Ac(["info"])});return{onEvent:Ue,reset:Ue,events:T.registry}})(),b=(()=>{let T=de.none();const L=cu({move:Ac(["info"])});return{onEvent:(I,Z)=>{Z.extract(I).each(Y=>{((be,Le)=>{const _e=T.map(Re=>be.compare(Re,Le));return T=de.some(Le),_e})(Z,Y).each(be=>{L.trigger.move(be)})})},reset:()=>{T=de.none()},events:L.registry}})();let _=p;return{on:()=>{_.reset(),_=b},off:()=>{_.reset(),_=p},isOn:()=>_===b,onEvent:(T,L)=>{_.onEvent(T,L)},events:b.events}},Up=p=>{const b=p.replace(/\./g,"-");return{resolve:_=>b+"-"+_}},Zp=Up("ephox-dragster").resolve;var Fb=Dg({compare:(p,b)=>Jl(b.left-p.left,b.top-p.top),extract:p=>de.some(Jl(p.x,p.y)),sink:(p,b)=>{const _=(Y=>{const ae={layerClass:Zp("blocker"),...Y},be=Wt.fromTag("div");return zt(be,"role","presentation"),Hi(be,{position:"fixed",left:"0px",top:"0px",width:"100%",height:"100%"}),lu(be,Zp("blocker")),lu(be,ae.layerClass),{element:it(be),destroy:()=>{Ae(be)}}})(b),T=Ng(_.element(),"mousedown",p.forceDrop),L=Ng(_.element(),"mouseup",p.drop),I=Ng(_.element(),"mousemove",p.move),Z=Ng(_.element(),"mouseout",p.delayDrop);return C1({element:_.element,start:Y=>{kr(Y,_.element())},stop:()=>{Ae(_.element())},destroy:()=>{_.destroy(),L.unbind(),I.unbind(),Z.unbind(),T.unbind()}})},mutate:(p,b)=>{p.mutate(b.left,b.top)}});const xm=Up("ephox-snooker").resolve,qp=xm("resizer-bar"),Lb=xm("resizer-rows"),Wp=xm("resizer-cols"),Bi=p=>{const b=ra(p.parent(),"."+qp);qe(b,Ae)},$v=(p,b,_)=>{const T=p.origin();qe(b,L=>{L.each(I=>{const Z=_(T,I);lu(Z,qp),kr(p.parent(),Z)})})},du=(p,b,_,T,L)=>{const I=Dc(_),Z=b.isResizable,Y=T.length>0?Cn.positions(T,_):[],ae=Y.length>0?((_e,Re)=>V(_e.all,(Xe,Et)=>Re(Xe.element)?[Et]:[]))(p,Z):[];((_e,Re,Xe,Et)=>{$v(_e,Re,(vt,qt)=>{const eo=((bo,so,Eo,Do,No)=>{const Ln=Wt.fromTag("div");return Hi(Ln,{position:"absolute",left:so+"px",top:Eo-3.5+"px",height:"7px",width:Do+"px"}),Ft(Ln,{"data-row":bo,role:"presentation"}),Ln})(qt.row,Xe.left-vt.left,qt.y-vt.top,Et);return lu(eo,Lb),eo})})(b,lt(Y,(_e,Re)=>Bo(ae,Xe=>Re===Xe)),I,yt(_));const be=L.length>0?ec.positions(L,_):[],Le=be.length>0?((_e,Re)=>{const Xe=[];return Ct(_e.grid.columns,Et=>{Zd(_e,Et).map(vt=>vt.element).forall(Re)&&Xe.push(Et)}),lt(Xe,Et=>{const vt=Yc(_e,qt=>qt.column===Et);return dt(vt,qt=>Re(qt.element))})})(p,Z):[];((_e,Re,Xe,Et)=>{$v(_e,Re,(vt,qt)=>{const eo=((bo,so,Eo,Do,No)=>{const Ln=Wt.fromTag("div");return Hi(Ln,{position:"absolute",left:so-3.5+"px",top:Eo+"px",height:No+"px",width:"7px"}),Ft(Ln,{"data-column":bo,role:"presentation"}),Ln})(qt.col,qt.x-vt.left,Xe.top-vt.top,0,Et);return lu(eo,Wp),eo})})(b,lt(be,(_e,Re)=>Bo(Le,Xe=>Re===Xe)),I,rl(_))},Ib=(p,b)=>{if(Bi(p),p.isResizable(b)){const _=ts(b),T=Yi(_),L=hd(_);du(_,p,b,T,L)}},Pb=(p,b)=>{const _=ra(p.parent(),"."+qp);qe(_,b)},Gp=p=>{Pb(p,b=>{Rn(b,"display","none")})},Uv=p=>{Pb(p,b=>{Rn(b,"display","block")})},Wo=xm("resizer-bar-dragging"),qi=p=>{const b=(()=>{const _e=cu({drag:Ac(["xDelta","yDelta","target"])});let Re=de.none();const Xe=(()=>{const Et=cu({drag:Ac(["xDelta","yDelta"])});return{mutate:(vt,qt)=>{Et.trigger.drag(vt,qt)},events:Et.registry}})();return Xe.events.drag.bind(Et=>{Re.each(vt=>{_e.trigger.drag(Et.xDelta,Et.yDelta,vt)})}),{assign:Et=>{Re=de.some(Et)},get:()=>Re,mutate:Xe.mutate,events:_e.registry}})(),_=((_e,Re={})=>{var Xe;return((Et,vt,qt)=>{let eo=!1;const bo=cu({start:Ac([]),stop:Ac([])}),so=Rg(),Eo=()=>{Ln.stop(),so.isOn()&&(so.off(),bo.trigger.stop())},Do=((qn,Qr)=>{let or=null;const Mr=()=>{jt(or)||(clearTimeout(or),or=null)};return{cancel:Mr,throttle:(...Er)=>{Mr(),or=setTimeout(()=>{or=null,qn.apply(null,Er)},200)}}})(Eo);so.events.move.bind(qn=>{vt.mutate(Et,qn.info)});const No=qn=>(...Qr)=>{eo&&qn.apply(null,Qr)},Ln=vt.sink(Vv({forceDrop:Eo,drop:No(Eo),move:No(qn=>{Do.cancel(),so.onEvent(qn,vt)}),delayDrop:No(Do.throttle)}),qt);return{element:Ln.element,go:qn=>{Ln.start(qn),so.on(),bo.trigger.start()},on:()=>{eo=!0},off:()=>{eo=!1},isActive:()=>eo,destroy:()=>{Ln.destroy()},events:bo.registry}})(_e,(Xe=Re.mode)!==null&&Xe!==void 0?Xe:Fb,Re)})(b,{});let T=de.none();const L=(_e,Re)=>de.from(vo(_e,Re));b.events.drag.bind(_e=>{L(_e.target,"data-row").each(Re=>{const Xe=Pr(_e.target,"top");Rn(_e.target,"top",Xe+_e.yDelta+"px")}),L(_e.target,"data-column").each(Re=>{const Xe=Pr(_e.target,"left");Rn(_e.target,"left",Xe+_e.xDelta+"px")})});const I=(_e,Re)=>Pr(_e,Re)-Ss(_e,"data-initial-"+Re,0);_.events.stop.bind(()=>{b.get().each(_e=>{T.each(Re=>{L(_e,"data-row").each(Xe=>{const Et=I(_e,"top");Vo(_e,"data-initial-top"),Le.trigger.adjustHeight(Re,Et,parseInt(Xe,10))}),L(_e,"data-column").each(Xe=>{const Et=I(_e,"left");Vo(_e,"data-initial-left"),Le.trigger.adjustWidth(Re,Et,parseInt(Xe,10))}),Ib(p,Re)})})});const Z=(_e,Re)=>{Le.trigger.startAdjust(),b.assign(_e),zt(_e,"data-initial-"+Re,Pr(_e,Re)),lu(_e,Wo),Rn(_e,"opacity","0.2"),_.go(p.parent())},Y=Ng(p.parent(),"mousedown",_e=>{var Re;Re=_e.target,mh(Re,Lb)&&Z(_e.target,"top"),(Xe=>mh(Xe,Wp))(_e.target)&&Z(_e.target,"left")}),ae=_e=>xr(_e,p.view()),be=Ng(p.view(),"mouseover",_e=>{var Re;(Re=_e.target,va(Re,"table",ae).filter(fn)).fold(()=>{Go(_e.target)&&Bi(p)},Xe=>{_.isActive()&&(T=de.some(Xe),Ib(p,Xe))})}),Le=cu({adjustHeight:Ac(["table","delta","row"]),adjustWidth:Ac(["table","delta","column"]),startAdjust:Ac([])});return{destroy:()=>{Y.unbind(),be.unbind(),_.destroy(),Bi(p)},refresh:_e=>{Ib(p,_e)},on:_.on,off:_.off,hideBars:he(Gp,p),showBars:he(Uv,p),events:Le.registry}},Hb=(p,b,_)=>{const T=Cn,L=ec,I=qi(p),Z=cu({beforeResize:Ac(["table","type"]),afterResize:Ac(["table","type"]),startDrag:Ac([])});return I.events.adjustHeight.bind(Y=>{const ae=Y.table;Z.trigger.beforeResize(ae,"row"),((be,Le,_e,Re)=>{const Xe=ts(be),Et=((so,Eo,Do)=>us(so,Eo,Do,Sl,No=>No.getOrThunk(Be)))(Xe,be,Re),vt=R(Et,(so,Eo)=>_e===Eo?Math.max(Le+so,Be()):so),qt=Tp(Xe,vt),eo=((so,Eo)=>R(so.all,(Do,No)=>({element:Do.element,height:Eo[No]})))(Xe,vt);qe(eo,so=>{kc(so.element,so.height)}),qe(qt,so=>{kc(so.element,so.height)});const bo=Mt(vt,(so,Eo)=>so+Eo,0);kc(be,bo)})(ae,T.delta(Y.delta,ae),Y.row,T),Z.trigger.afterResize(ae,"row")}),I.events.startAdjust.bind(Y=>{Z.trigger.startDrag()}),I.events.adjustWidth.bind(Y=>{const ae=Y.table;Z.trigger.beforeResize(ae,"col");const be=L.delta(Y.delta,ae),Le=_(ae);zp(ae,be,Y.column,b,Le),Z.trigger.afterResize(ae,"col")}),{on:I.on,off:I.off,refreshBars:I.refresh,hideBars:I.hideBars,showBars:I.showBars,destroy:I.destroy,events:Z.registry}},Fi=p=>jo(p)&&p.nodeName==="TABLE",nc="bar-",Bg=p=>vo(p,"data-mce-resize")!=="false",S1=p=>{const b=sh(),_=sh(),T=sh();let L,I;const Z=ae=>yi(p,ae),Y=()=>bs(p)?Cc():If();return p.on("init",()=>{const ae=((be,Le)=>be.inline?((_e,Re,Xe)=>({parent:it(Re),view:it(_e),origin:it(Jl(0,0)),isResizable:Xe}))(Wt.fromDom(be.getBody()),(()=>{const _e=Wt.fromTag("div");return Hi(_e,{position:"static",height:"0",width:"0",padding:"0",margin:"0",border:"0"}),kr(hn(Wt.fromDom(document)),_e),_e})(),Le):((_e,Re)=>{const Xe=Gn(_e)?(Et=>Wt.fromDom(cs(Et).dom.documentElement))(_e):_e;return{parent:it(Xe),view:it(_e),origin:it(Jl(0,0)),isResizable:Re}})(Wt.fromDom(be.getDoc()),Le))(p,Bg);if(T.set(ae),(be=>{const Le=be.options.get("object_resizing");return gn(Le.split(","),"table")})(p)&&z(p)){const be=Y(),Le=Hb(ae,be,Z);Le.on(),Le.events.startDrag.bind(_e=>{b.set(p.selection.getRng())}),Le.events.beforeResize.bind(_e=>{const Re=_e.table.dom;((Xe,Et,vt,qt,eo)=>{Xe.dispatch("ObjectResizeStart",{target:Et,width:vt,height:qt,origin:eo})})(p,Re,Ni(Re),td(Re),nc+_e.type)}),Le.events.afterResize.bind(_e=>{const Re=_e.table,Xe=Re.dom;fa(Re),b.on(Et=>{p.selection.setRng(Et),p.focus()}),((Et,vt,qt,eo,bo)=>{Et.dispatch("ObjectResized",{target:vt,width:qt,height:eo,origin:bo})})(p,Xe,Ni(Xe),td(Xe),nc+_e.type),p.undoManager.add()}),_.set(Le)}}),p.on("ObjectResizeStart",ae=>{const be=ae.target;if(Fi(be)){const Le=Wt.fromDom(be);qe(p.dom.select(".mce-clonedresizable"),_e=>{p.dom.addClass(_e,"mce-"+Pl(p)+"-columns")}),!sn(Le)&&_d(p)?l1(Le):!Oo(Le)&&Hl(p)&&Fp(Le),Ri(Le)&&Kn(ae.origin,nc)&&Fp(Le),L=ae.width,I=ai(p)?"":((_e,Re)=>{const Xe=_e.dom.getStyle(Re,"width")||_e.dom.getAttrib(Re,"width");return de.from(Xe).filter(Ca)})(p,be).getOr("")}}),p.on("ObjectResized",ae=>{const be=ae.target;if(Fi(be)){const Le=Wt.fromDom(be),_e=ae.origin;Kn(_e,"corner-")&&((Re,Xe,Et)=>{const vt=Os(Xe,"e");if(I===""&&Fp(Re),Et!==L&&I!==""){Rn(Re,"width",I);const qt=Y(),eo=Z(Re),bo=bs(p)||vt?(so=>Sc(so).columns)(Re)-1:0;zp(Re,Et-L,bo,qt,eo)}else if((qt=>/^(\d+(\.\d+)?)%$/.test(qt))(I)){const qt=parseFloat(I.replace("%",""));Rn(Re,"width",Et*qt/L+"%")}(qt=>/^(\d+(\.\d+)?)px$/.test(qt))(I)&&(qt=>{const eo=ts(qt);ti(eo)||qe(bn(qt),bo=>{const so=Bn(bo,"width");Rn(bo,"width",so),Vo(bo,"width")})})(Re)})(Le,_e,ae.width),fa(Le),Gs(p,Le.dom,vl)}}),p.on("SwitchMode",()=>{_.on(ae=>{p.mode.isReadOnly()?ae.hideBars():ae.showBars()})}),p.on("dragstart dragend",ae=>{_.on(be=>{ae.type==="dragstart"?(be.hideBars(),be.off()):(be.on(),be.showBars())})}),p.on("remove",()=>{_.on(ae=>{ae.destroy()}),T.on(ae=>{((be,Le)=>{be.inline&&Ae(Le.parent())})(p,ae)})}),{refresh:ae=>{_.on(be=>be.refreshBars(Wt.fromDom(ae)))},hide:()=>{_.on(ae=>ae.hideBars())},show:()=>{_.on(ae=>ae.showBars())}}},gh=p=>{(L=>{const I=L.options.register;I("table_clone_elements",{processor:"string[]"}),I("table_use_colgroups",{processor:"boolean",default:!0}),I("table_header_type",{processor:Z=>{const Y=gn(["section","cells","sectionCells","auto"],Z);return Y?{value:Z,valid:Y}:{valid:!1,message:"Must be one of: section, cells, sectionCells or auto."}},default:"section"}),I("table_sizing_mode",{processor:"string",default:"auto"}),I("table_default_attributes",{processor:"object",default:{border:"1"}}),I("table_default_styles",{processor:"object",default:{"border-collapse":"collapse"}}),I("table_column_resizing",{processor:Z=>{const Y=gn(["preservetable","resizetable"],Z);return Y?{value:Z,valid:Y}:{valid:!1,message:"Must be preservetable, or resizetable."}},default:"preservetable"}),I("table_resize_bars",{processor:"boolean",default:!0}),I("table_style_by_css",{processor:"boolean",default:!0}),I("table_merge_content_on_paste",{processor:"boolean",default:!0})})(p);const b=S1(p),_=Mg(p,b),T=pb(p,b,_);return Sv(p,T),((L,I)=>{const Z=Tn(L),Y=ae=>Hm(Ka(L)).bind(be=>_r(be,Z).map(Le=>{const _e=_n(Bc(L),Le,be);return ae(Le,_e)})).getOr("");$e({mceTableRowType:()=>Y(I.getTableRowType),mceTableCellType:()=>Y(I.getTableCellType),mceTableColType:()=>Y(I.getTableColType)},(ae,be)=>L.addQueryValueHandler(be,ae))})(p,T),qa(p,T),{getSelectedCells:_.getSelectedCells,clearSelectedCells:_.clearSelectedCells}};xo.add("dom",p=>({table:gh(p)}))})();tinymce.Resource.add("ui/default/skin.css",`.tox{box-shadow:none;box-sizing:content-box;color:#222f3e;cursor:auto;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:normal;-webkit-tap-highlight-color:transparent;text-decoration:none;text-shadow:none;text-transform:none;vertical-align:initial;white-space:normal}.tox :not(svg):not(rect){box-sizing:inherit;color:inherit;cursor:inherit;direction:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;-webkit-tap-highlight-color:inherit;text-align:inherit;text-decoration:inherit;text-shadow:inherit;text-transform:inherit;vertical-align:inherit;white-space:inherit}.tox :not(svg):not(rect){background:0 0;border:0;box-shadow:none;float:none;height:auto;margin:0;max-width:none;outline:0;padding:0;position:static;width:auto}.tox:not([dir=rtl]){direction:ltr;text-align:left}.tox[dir=rtl]{direction:rtl;text-align:right}.tox-tinymce{border:2px solid #eee;border-radius:10px;box-shadow:none;box-sizing:border-box;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;overflow:hidden;position:relative;visibility:inherit!important}.tox.tox-tinymce-inline{border:none;box-shadow:none;overflow:initial}.tox.tox-tinymce-inline .tox-editor-container{overflow:initial}.tox.tox-tinymce-inline .tox-editor-header{background-color:#fff;border:2px solid #eee;border-radius:10px;box-shadow:none;overflow:hidden}.tox-tinymce-aux{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;z-index:1300}.tox-tinymce :focus,.tox-tinymce-aux :focus{outline:0}button::-moz-focus-inner{border:0}.tox[dir=rtl] .tox-icon--flip svg{transform:rotateY(180deg)}.tox .accessibility-issue__header{align-items:center;display:flex;margin-bottom:4px}.tox .accessibility-issue__description{align-items:stretch;border-radius:6px;display:flex;justify-content:space-between}.tox .accessibility-issue__description>div{padding-bottom:4px}.tox .accessibility-issue__description>div>div{align-items:center;display:flex;margin-bottom:4px}.tox .accessibility-issue__description>div>div .tox-icon svg{display:block}.tox .accessibility-issue__repair{margin-top:16px}.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description{background-color:rgba(0,101,216,.1);color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2{color:#006ce7}.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon svg{fill:#006ce7}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon{background-color:#006ce7;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:hover{background-color:#0060ce}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:active{background-color:#0054b4}.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description{background-color:rgba(255,165,0,.08);color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2{color:#8f5d00}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon svg{fill:#8f5d00}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon{background-color:#ffe89d;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:hover{background-color:#f2d574;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:active{background-color:#e8c657;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description{background-color:rgba(204,0,0,.1);color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2{color:#c00}.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon svg{fill:#c00}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon{background-color:#f2bfbf;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:hover{background-color:#e9a4a4;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:active{background-color:#ee9494;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description{background-color:rgba(120,171,70,.1);color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description>:last-child{display:none}.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2{color:#527530}.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon svg{fill:#527530}.tox .tox-dialog__body-content .accessibility-issue__header .tox-form__group h1,.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2{font-size:14px;margin-top:0}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-left:4px}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-left:auto}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description{padding:4px 4px 4px 8px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-right:4px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-right:auto}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description{padding:4px 8px 4px 4px}.tox .tox-advtemplate .tox-form__grid{flex:1}.tox .tox-advtemplate .tox-form__grid>div:first-child{display:flex;flex-direction:column;width:30%}.tox .tox-advtemplate .tox-form__grid>div:first-child>div:nth-child(2){flex-basis:0;flex-grow:1;overflow:auto}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-advtemplate .tox-form__grid>div:first-child{width:100%}}.tox .tox-advtemplate iframe{border-color:#eee;border-radius:10px;border-style:solid;border-width:1px;margin:0 10px}.tox .tox-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bottom-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bar{display:flex;flex:0 0 auto}.tox .tox-button{background-color:#006ce7;background-image:none;background-position:0 0;background-repeat:repeat;border-color:#006ce7;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-block;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:14px;font-style:normal;font-weight:700;letter-spacing:normal;line-height:24px;margin:0;outline:0;padding:4px 16px;position:relative;text-align:center;text-decoration:none;text-transform:none;white-space:nowrap}.tox .tox-button::before{border-radius:6px;bottom:-1px;box-shadow:inset 0 0 0 2px #fff,0 0 0 1px #006ce7,0 0 0 3px rgba(0,108,231,.25);content:'';left:-1px;opacity:0;pointer-events:none;position:absolute;right:-1px;top:-1px}.tox .tox-button[disabled]{background-color:#006ce7;background-image:none;border-color:#006ce7;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-button:focus:not(:disabled){background-color:#0060ce;background-image:none;border-color:#0060ce;box-shadow:none;color:#fff}.tox .tox-button:focus-visible:not(:disabled)::before{opacity:1}.tox .tox-button:hover:not(:disabled){background-color:#0060ce;background-image:none;border-color:#0060ce;box-shadow:none;color:#fff}.tox .tox-button:active:not(:disabled){background-color:#0054b4;background-image:none;border-color:#0054b4;box-shadow:none;color:#fff}.tox .tox-button.tox-button--enabled{background-color:#0054b4;background-image:none;border-color:#0054b4;box-shadow:none;color:#fff}.tox .tox-button.tox-button--enabled[disabled]{background-color:#0054b4;background-image:none;border-color:#0054b4;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-button.tox-button--enabled:focus:not(:disabled){background-color:#00489b;background-image:none;border-color:#00489b;box-shadow:none;color:#fff}.tox .tox-button.tox-button--enabled:hover:not(:disabled){background-color:#00489b;background-image:none;border-color:#00489b;box-shadow:none;color:#fff}.tox .tox-button.tox-button--enabled:active:not(:disabled){background-color:#003c81;background-image:none;border-color:#003c81;box-shadow:none;color:#fff}.tox .tox-button--icon-and-text,.tox .tox-button.tox-button--icon-and-text,.tox .tox-button.tox-button--secondary.tox-button--icon-and-text{display:flex;padding:5px 4px}.tox .tox-button--icon-and-text .tox-icon svg,.tox .tox-button.tox-button--icon-and-text .tox-icon svg,.tox .tox-button.tox-button--secondary.tox-button--icon-and-text .tox-icon svg{display:block;fill:currentColor}.tox .tox-button--secondary{background-color:#f0f0f0;background-image:none;background-position:0 0;background-repeat:repeat;border-color:#f0f0f0;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;color:#222f3e;font-size:14px;font-style:normal;font-weight:700;letter-spacing:normal;outline:0;padding:4px 16px;text-decoration:none;text-transform:none}.tox .tox-button--secondary[disabled]{background-color:#f0f0f0;background-image:none;border-color:#f0f0f0;box-shadow:none;color:rgba(34,47,62,.5)}.tox .tox-button--secondary:focus:not(:disabled){background-color:#e3e3e3;background-image:none;border-color:#e3e3e3;box-shadow:none;color:#222f3e}.tox .tox-button--secondary:hover:not(:disabled){background-color:#e3e3e3;background-image:none;border-color:#e3e3e3;box-shadow:none;color:#222f3e}.tox .tox-button--secondary:active:not(:disabled){background-color:#d6d6d6;background-image:none;border-color:#d6d6d6;box-shadow:none;color:#222f3e}.tox .tox-button--secondary.tox-button--enabled{background-color:#a8c8ed;background-image:none;border-color:#a8c8ed;box-shadow:none;color:#222f3e}.tox .tox-button--secondary.tox-button--enabled[disabled]{background-color:#a8c8ed;background-image:none;border-color:#a8c8ed;box-shadow:none;color:rgba(34,47,62,.5)}.tox .tox-button--secondary.tox-button--enabled:focus:not(:disabled){background-color:#93bbe9;background-image:none;border-color:#93bbe9;box-shadow:none;color:#222f3e}.tox .tox-button--secondary.tox-button--enabled:hover:not(:disabled){background-color:#93bbe9;background-image:none;border-color:#93bbe9;box-shadow:none;color:#222f3e}.tox .tox-button--secondary.tox-button--enabled:active:not(:disabled){background-color:#7daee4;background-image:none;border-color:#7daee4;box-shadow:none;color:#222f3e}.tox .tox-button--icon,.tox .tox-button.tox-button--icon,.tox .tox-button.tox-button--secondary.tox-button--icon{padding:4px}.tox .tox-button--icon .tox-icon svg,.tox .tox-button.tox-button--icon .tox-icon svg,.tox .tox-button.tox-button--secondary.tox-button--icon .tox-icon svg{display:block;fill:currentColor}.tox .tox-button-link{background:0;border:none;box-sizing:border-box;cursor:pointer;display:inline-block;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;padding:0;white-space:nowrap}.tox .tox-button-link--sm{font-size:14px}.tox .tox-button--naked{background-color:transparent;border-color:transparent;box-shadow:unset;color:#222f3e}.tox .tox-button--naked[disabled]{background-color:rgba(34,47,62,.12);border-color:transparent;box-shadow:unset;color:rgba(34,47,62,.5)}.tox .tox-button--naked:hover:not(:disabled){background-color:rgba(34,47,62,.12);border-color:transparent;box-shadow:unset;color:#222f3e}.tox .tox-button--naked:focus:not(:disabled){background-color:rgba(34,47,62,.12);border-color:transparent;box-shadow:unset;color:#222f3e}.tox .tox-button--naked:active:not(:disabled){background-color:rgba(34,47,62,.18);border-color:transparent;box-shadow:unset;color:#222f3e}.tox .tox-button--naked .tox-icon svg{fill:currentColor}.tox .tox-button--naked.tox-button--icon:hover:not(:disabled){color:#222f3e}.tox .tox-checkbox{align-items:center;border-radius:6px;cursor:pointer;display:flex;height:36px;min-width:36px}.tox .tox-checkbox__input{height:1px;overflow:hidden;position:absolute;top:auto;width:1px}.tox .tox-checkbox__icons{align-items:center;border-radius:6px;box-shadow:0 0 0 2px transparent;box-sizing:content-box;display:flex;height:24px;justify-content:center;padding:calc(4px - 1px);width:24px}.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:block;fill:rgba(34,47,62,.3)}.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:none;fill:#006ce7}.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg{display:none;fill:#006ce7}.tox .tox-checkbox--disabled{color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg{fill:rgba(34,47,62,.5)}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:rgba(34,47,62,.5)}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{fill:rgba(34,47,62,.5)}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__checked svg{display:block}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:block}.tox input.tox-checkbox__input:focus+.tox-checkbox__icons{border-radius:6px;box-shadow:inset 0 0 0 1px #006ce7;padding:calc(4px - 1px)}.tox:not([dir=rtl]) .tox-checkbox__label{margin-left:4px}.tox:not([dir=rtl]) .tox-checkbox__input{left:-10000px}.tox:not([dir=rtl]) .tox-bar .tox-checkbox{margin-left:4px}.tox[dir=rtl] .tox-checkbox__label{margin-right:4px}.tox[dir=rtl] .tox-checkbox__input{right:-10000px}.tox[dir=rtl] .tox-bar .tox-checkbox{margin-right:4px}.tox .tox-collection--toolbar .tox-collection__group{display:flex;padding:0}.tox .tox-collection--grid .tox-collection__group{display:flex;flex-wrap:wrap;max-height:208px;overflow-x:hidden;overflow-y:auto;padding:0}.tox .tox-collection--list .tox-collection__group{border-bottom-width:0;border-color:#e3e3e3;border-left-width:0;border-right-width:0;border-style:solid;border-top-width:1px;padding:4px 0}.tox .tox-collection--list .tox-collection__group:first-child{border-top-width:0}.tox .tox-collection__group-heading{background-color:#fcfcfc;color:rgba(34,47,62,.7);cursor:default;font-size:12px;font-style:normal;font-weight:400;margin-bottom:4px;margin-top:-4px;padding:4px 8px;text-transform:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.tox .tox-collection__item{align-items:center;border-radius:3px;color:#222f3e;display:flex;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.tox .tox-collection--list .tox-collection__item{padding:4px 8px}.tox .tox-collection--toolbar .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--grid .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--list .tox-collection__item--enabled{background-color:#fff;color:#222f3e}.tox .tox-collection--list .tox-collection__item--active{background-color:#cce2fa}.tox .tox-collection--toolbar .tox-collection__item--enabled{background-color:#a6ccf7;color:#222f3e}.tox .tox-collection--toolbar .tox-collection__item--active{background-color:#cce2fa}.tox .tox-collection--grid .tox-collection__item--enabled{background-color:#a6ccf7;color:#222f3e}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#cce2fa;color:#222f3e}.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){color:#222f3e}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled){color:#222f3e}.tox .tox-collection__item-checkmark,.tox .tox-collection__item-icon{align-items:center;display:flex;height:24px;justify-content:center;width:24px}.tox .tox-collection__item-checkmark svg,.tox .tox-collection__item-icon svg{fill:currentColor}.tox .tox-collection--toolbar-lg .tox-collection__item-icon{height:48px;width:48px}.tox .tox-collection__item-label{color:currentColor;display:inline-block;flex:1;font-size:14px;font-style:normal;font-weight:400;line-height:24px;max-width:100%;text-transform:none;word-break:break-all}.tox .tox-collection__item-accessory{color:rgba(34,47,62,.7);display:inline-block;font-size:14px;height:24px;line-height:24px;text-transform:none}.tox .tox-collection__item-caret{align-items:center;display:flex;min-height:24px}.tox .tox-collection__item-caret::after{content:'';font-size:0;min-height:inherit}.tox .tox-collection__item-caret svg{fill:#222f3e}.tox .tox-collection__item--state-disabled{background-color:transparent;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg{fill:rgba(34,47,62,.5)}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg{display:none}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-accessory+.tox-collection__item-checkmark{display:none}.tox .tox-collection--horizontal{background-color:#fff;border:1px solid #e3e3e3;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:nowrap;margin-bottom:0;overflow-x:auto;padding:0}.tox .tox-collection--horizontal .tox-collection__group{align-items:center;display:flex;flex-wrap:nowrap;margin:0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item{height:28px;margin:6px 1px 5px 0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item-label{white-space:nowrap}.tox .tox-collection--horizontal .tox-collection__item-caret{margin-left:4px}.tox .tox-collection__item-container{display:flex}.tox .tox-collection__item-container--row{align-items:center;flex:1 1 auto;flex-direction:row}.tox .tox-collection__item-container--row.tox-collection__item-container--align-left{margin-right:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--align-right{justify-content:flex-end;margin-left:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-top{align-items:flex-start;margin-bottom:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-middle{align-items:center}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-bottom{align-items:flex-end;margin-top:auto}.tox .tox-collection__item-container--column{align-self:center;flex:1 1 auto;flex-direction:column}.tox .tox-collection__item-container--column.tox-collection__item-container--align-left{align-items:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--align-right{align-items:flex-end}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-top{align-self:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-middle{align-self:center}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-bottom{align-self:flex-end}.tox:not([dir=rtl]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-right:1px solid transparent}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>:not(:first-child){margin-left:8px}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-left:4px}.tox:not([dir=rtl]) .tox-collection__item-accessory{margin-left:16px;text-align:right}.tox:not([dir=rtl]) .tox-collection .tox-collection__item-caret{margin-left:16px}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-left:1px solid transparent}.tox[dir=rtl] .tox-collection--list .tox-collection__item>:not(:first-child){margin-right:8px}.tox[dir=rtl] .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-right:4px}.tox[dir=rtl] .tox-collection__item-accessory{margin-right:16px;text-align:left}.tox[dir=rtl] .tox-collection .tox-collection__item-caret{margin-right:16px;transform:rotateY(180deg)}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__item-caret{margin-right:4px}.tox .tox-color-picker-container{display:flex;flex-direction:row;height:225px;margin:0}.tox .tox-sv-palette{box-sizing:border-box;display:flex;height:100%}.tox .tox-sv-palette-spectrum{height:100%}.tox .tox-sv-palette,.tox .tox-sv-palette-spectrum{width:225px}.tox .tox-sv-palette-thumb{background:0 0;border:1px solid #000;border-radius:50%;box-sizing:content-box;height:12px;position:absolute;width:12px}.tox .tox-sv-palette-inner-thumb{border:1px solid #fff;border-radius:50%;height:10px;position:absolute;width:10px}.tox .tox-hue-slider{box-sizing:border-box;height:100%;width:25px}.tox .tox-hue-slider-spectrum{background:linear-gradient(to bottom,red,#ff0080,#f0f,#8000ff,#00f,#0080ff,#0ff,#00ff80,#0f0,#80ff00,#ff0,#ff8000,red);height:100%;width:100%}.tox .tox-hue-slider,.tox .tox-hue-slider-spectrum{width:20px}.tox .tox-hue-slider-spectrum:focus,.tox .tox-sv-palette-spectrum:focus{outline:#08f solid}.tox .tox-hue-slider-thumb{background:#fff;border:1px solid #000;box-sizing:content-box;height:4px;width:100%}.tox .tox-rgb-form{display:flex;flex-direction:column;justify-content:space-between}.tox .tox-rgb-form div{align-items:center;display:flex;justify-content:space-between;margin-bottom:5px;width:inherit}.tox .tox-rgb-form input{width:6em}.tox .tox-rgb-form input.tox-invalid{border:1px solid red!important}.tox .tox-rgb-form .tox-rgba-preview{border:1px solid #000;flex-grow:2;margin-bottom:0}.tox:not([dir=rtl]) .tox-sv-palette{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider-thumb{margin-left:-1px}.tox:not([dir=rtl]) .tox-rgb-form label{margin-right:.5em}.tox[dir=rtl] .tox-sv-palette{margin-left:15px}.tox[dir=rtl] .tox-hue-slider{margin-left:15px}.tox[dir=rtl] .tox-hue-slider-thumb{margin-right:-1px}.tox[dir=rtl] .tox-rgb-form label{margin-left:.5em}.tox .tox-toolbar .tox-swatches,.tox .tox-toolbar__overflow .tox-swatches,.tox .tox-toolbar__primary .tox-swatches{margin:5px 0 6px 11px}.tox .tox-collection--list .tox-collection__group .tox-swatches-menu{border:0;margin:-4px -4px}.tox .tox-swatches__row{display:flex}.tox .tox-swatch{height:30px;transition:transform .15s,box-shadow .15s;width:30px}.tox .tox-swatch:focus,.tox .tox-swatch:hover{box-shadow:0 0 0 1px rgba(127,127,127,.3) inset;transform:scale(.8)}.tox .tox-swatch--remove{align-items:center;display:flex;justify-content:center}.tox .tox-swatch--remove svg path{stroke:#e74c3c}.tox .tox-swatches__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-swatches__picker-btn svg{fill:#222f3e;height:24px;width:24px}.tox .tox-swatches__picker-btn:hover{background:#cce2fa}.tox div.tox-swatch:not(.tox-swatch--remove) svg{display:none;fill:#222f3e;height:24px;margin:calc((30px - 24px)/ 2) calc((30px - 24px)/ 2);width:24px}.tox div.tox-swatch:not(.tox-swatch--remove) svg path{fill:#fff;paint-order:stroke;stroke:#222f3e;stroke-width:2px}.tox div.tox-swatch:not(.tox-swatch--remove).tox-collection__item--enabled svg{display:block}.tox:not([dir=rtl]) .tox-swatches__picker-btn{margin-left:auto}.tox[dir=rtl] .tox-swatches__picker-btn{margin-right:auto}.tox .tox-comment-thread{background:#fff;position:relative}.tox .tox-comment-thread>:not(:first-child){margin-top:8px}.tox .tox-comment{background:#fff;border:1px solid #eee;border-radius:6px;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);padding:8px 8px 16px 8px;position:relative}.tox .tox-comment__header{align-items:center;color:#222f3e;display:flex;justify-content:space-between}.tox .tox-comment__date{color:#222f3e;font-size:12px;line-height:18px}.tox .tox-comment__body{color:#222f3e;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;margin-top:8px;position:relative;text-transform:initial}.tox .tox-comment__body textarea{resize:none;white-space:normal;width:100%}.tox .tox-comment__expander{padding-top:8px}.tox .tox-comment__expander p{color:rgba(34,47,62,.7);font-size:14px;font-style:normal}.tox .tox-comment__body p{margin:0}.tox .tox-comment__buttonspacing{padding-top:16px;text-align:center}.tox .tox-comment-thread__overlay::after{background:#fff;bottom:0;content:"";display:flex;left:0;opacity:.9;position:absolute;right:0;top:0;z-index:5}.tox .tox-comment__reply{display:flex;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__reply>:first-child{margin-bottom:8px;width:100%}.tox .tox-comment__edit{display:flex;flex-wrap:wrap;justify-content:flex-end;margin-top:16px}.tox .tox-comment__gradient::after{background:linear-gradient(rgba(255,255,255,0),#fff);bottom:0;content:"";display:block;height:5em;margin-top:-40px;position:absolute;width:100%}.tox .tox-comment__overlay{background:#fff;bottom:0;display:flex;flex-direction:column;flex-grow:1;left:0;opacity:.9;position:absolute;right:0;text-align:center;top:0;z-index:5}.tox .tox-comment__loading-text{align-items:center;color:#222f3e;display:flex;flex-direction:column;position:relative}.tox .tox-comment__loading-text>div{padding-bottom:16px}.tox .tox-comment__overlaytext{bottom:0;flex-direction:column;font-size:14px;left:0;padding:1em;position:absolute;right:0;top:0;z-index:10}.tox .tox-comment__overlaytext p{background-color:#fff;box-shadow:0 0 8px 8px #fff;color:#222f3e;text-align:center}.tox .tox-comment__overlaytext div:nth-of-type(2){font-size:.8em}.tox .tox-comment__busy-spinner{align-items:center;background-color:#fff;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:20}.tox .tox-comment__scroll{display:flex;flex-direction:column;flex-shrink:1;overflow:auto}.tox .tox-conversations{margin:8px}.tox:not([dir=rtl]) .tox-comment__edit{margin-left:8px}.tox:not([dir=rtl]) .tox-comment__buttonspacing>:last-child,.tox:not([dir=rtl]) .tox-comment__edit>:last-child,.tox:not([dir=rtl]) .tox-comment__reply>:last-child{margin-left:8px}.tox[dir=rtl] .tox-comment__edit{margin-right:8px}.tox[dir=rtl] .tox-comment__buttonspacing>:last-child,.tox[dir=rtl] .tox-comment__edit>:last-child,.tox[dir=rtl] .tox-comment__reply>:last-child{margin-right:8px}.tox .tox-user{align-items:center;display:flex}.tox .tox-user__avatar svg{fill:rgba(34,47,62,.7)}.tox .tox-user__avatar img{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-user__name{color:#222f3e;font-size:14px;font-style:normal;font-weight:700;line-height:18px;text-transform:none}.tox:not([dir=rtl]) .tox-user__avatar img,.tox:not([dir=rtl]) .tox-user__avatar svg{margin-right:8px}.tox:not([dir=rtl]) .tox-user__avatar+.tox-user__name{margin-left:8px}.tox[dir=rtl] .tox-user__avatar img,.tox[dir=rtl] .tox-user__avatar svg{margin-left:8px}.tox[dir=rtl] .tox-user__avatar+.tox-user__name{margin-right:8px}.tox .tox-dialog-wrap{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1100}.tox .tox-dialog-wrap__backdrop{background-color:rgba(255,255,255,.75);bottom:0;left:0;position:absolute;right:0;top:0;z-index:1}.tox .tox-dialog-wrap__backdrop--opaque{background-color:#fff}.tox .tox-dialog{background-color:#fff;border-color:#eee;border-radius:10px;border-style:solid;border-width:0;box-shadow:0 16px 16px -10px rgba(34,47,62,.15),0 0 40px 1px rgba(34,47,62,.15);display:flex;flex-direction:column;max-height:100%;max-width:480px;overflow:hidden;position:relative;width:95vw;z-index:2}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog{align-self:flex-start;margin:8px auto;max-height:calc(100vh - 8px * 2);width:calc(100vw - 16px)}}.tox .tox-dialog-inline{z-index:1100}.tox .tox-dialog__header{align-items:center;background-color:#fff;border-bottom:none;color:#222f3e;display:flex;font-size:16px;justify-content:space-between;padding:8px 16px 0 16px;position:relative}.tox .tox-dialog__header .tox-button{z-index:1}.tox .tox-dialog__draghandle{cursor:grab;height:100%;left:0;position:absolute;top:0;width:100%}.tox .tox-dialog__draghandle:active{cursor:grabbing}.tox .tox-dialog__dismiss{margin-left:auto}.tox .tox-dialog__title{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:20px;font-style:normal;font-weight:400;line-height:1.3;margin:0;text-transform:none}.tox .tox-dialog__body{color:#222f3e;display:flex;flex:1;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;min-width:0;text-align:left;text-transform:none}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body{flex-direction:column}}.tox .tox-dialog__body-nav{align-items:flex-start;display:flex;flex-direction:column;flex-shrink:0;padding:16px 16px}@media only screen and (min-width:768px){.tox .tox-dialog__body-nav{max-width:11em}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body-nav{flex-direction:row;-webkit-overflow-scrolling:touch;overflow-x:auto;padding-bottom:0}}.tox .tox-dialog__body-nav-item{border-bottom:2px solid transparent;color:rgba(34,47,62,.7);display:inline-block;flex-shrink:0;font-size:14px;line-height:1.3;margin-bottom:8px;max-width:13em;text-decoration:none}.tox .tox-dialog__body-nav-item:focus{background-color:rgba(0,108,231,.1)}.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid #006ce7;color:#006ce7}.tox .tox-dialog__body-content{box-sizing:border-box;display:flex;flex:1;flex-direction:column;max-height:min(650px,calc(100vh - 110px));overflow:auto;-webkit-overflow-scrolling:touch;padding:16px 16px}.tox .tox-dialog__body-content>*{margin-bottom:0;margin-top:16px}.tox .tox-dialog__body-content>:first-child{margin-top:0}.tox .tox-dialog__body-content>:last-child{margin-bottom:0}.tox .tox-dialog__body-content>:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content a{color:#006ce7;cursor:pointer;text-decoration:underline}.tox .tox-dialog__body-content a:focus,.tox .tox-dialog__body-content a:hover{color:#003c81;text-decoration:underline}.tox .tox-dialog__body-content a:focus-visible{border-radius:1px;outline:2px solid #006ce7;outline-offset:2px}.tox .tox-dialog__body-content a:active{color:#00244e;text-decoration:underline}.tox .tox-dialog__body-content svg{fill:#222f3e}.tox .tox-dialog__body-content strong{font-weight:700}.tox .tox-dialog__body-content ul{list-style-type:disc}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{padding-inline-start:2.5rem}.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{margin-bottom:16px}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content dt,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{display:block;margin-inline-end:0;margin-inline-start:0}.tox .tox-dialog__body-content .tox-form__group h1{color:#222f3e;font-size:20px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group h2{color:#222f3e;font-size:16px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group p{margin-bottom:16px}.tox .tox-dialog__body-content .tox-form__group h1:first-child,.tox .tox-dialog__body-content .tox-form__group h2:first-child,.tox .tox-dialog__body-content .tox-form__group p:first-child{margin-top:0}.tox .tox-dialog__body-content .tox-form__group h1:last-child,.tox .tox-dialog__body-content .tox-form__group h2:last-child,.tox .tox-dialog__body-content .tox-form__group p:last-child{margin-bottom:0}.tox .tox-dialog__body-content .tox-form__group h1:only-child,.tox .tox-dialog__body-content .tox-form__group h2:only-child,.tox .tox-dialog__body-content .tox-form__group p:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--center{text-align:center}.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--end{text-align:end}.tox .tox-dialog--width-lg{height:650px;max-width:1200px}.tox .tox-dialog--fullscreen{height:100%;max-width:100%}.tox .tox-dialog--fullscreen .tox-dialog__body-content{max-height:100%}.tox .tox-dialog--width-md{max-width:800px}.tox .tox-dialog--width-md .tox-dialog__body-content{overflow:auto}.tox .tox-dialog__body-content--centered{text-align:center}.tox .tox-dialog__footer{align-items:center;background-color:#fff;border-top:none;display:flex;justify-content:space-between;padding:8px 16px}.tox .tox-dialog__footer-end,.tox .tox-dialog__footer-start{display:flex}.tox .tox-dialog__busy-spinner{align-items:center;background-color:rgba(255,255,255,.75);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:3}.tox .tox-dialog__table{border-collapse:collapse;width:100%}.tox .tox-dialog__table thead th{font-weight:700;padding-bottom:8px}.tox .tox-dialog__table thead th:first-child{padding-right:8px}.tox .tox-dialog__table tbody tr{border-bottom:1px solid #626262}.tox .tox-dialog__table tbody tr:last-child{border-bottom:none}.tox .tox-dialog__table td{padding-bottom:8px;padding-top:8px}.tox .tox-dialog__table td:first-child{padding-right:8px}.tox .tox-dialog__iframe{min-height:200px}.tox .tox-dialog__iframe.tox-dialog__iframe--opaque{background:#fff}.tox .tox-navobj-bordered{position:relative}.tox .tox-navobj-bordered::before{border:1px solid #eee;border-radius:6px;content:'';inset:0;opacity:1;pointer-events:none;position:absolute;z-index:1}.tox .tox-navobj-bordered-focus.tox-navobj-bordered::before{border-color:#006ce7;box-shadow:0 0 0 2px rgba(0,108,231,.25);outline:0}.tox .tox-dialog__popups{position:absolute;width:100%;z-index:1100}.tox .tox-dialog__body-iframe{display:flex;flex:1;flex-direction:column}.tox .tox-dialog__body-iframe .tox-navobj{display:flex;flex:1}.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2){flex:1;height:100%}.tox .tox-dialog-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-dialog-dock-fadein{opacity:1;visibility:visible}.tox .tox-dialog-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein{transition-delay:0s}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav{margin-right:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav-item:not(:first-child){margin-left:8px}}.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-end>*,.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-start>*{margin-left:8px}.tox[dir=rtl] .tox-dialog__body{text-align:right}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav{margin-left:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav-item:not(:first-child){margin-right:8px}}.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-end>*,.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-start>*{margin-right:8px}body.tox-dialog__disable-scroll{overflow:hidden}.tox .tox-dropzone-container{display:flex;flex:1}.tox .tox-dropzone{align-items:center;background:#fff;border:2px dashed #eee;box-sizing:border-box;display:flex;flex-direction:column;flex-grow:1;justify-content:center;min-height:100px;padding:10px}.tox .tox-dropzone p{color:rgba(34,47,62,.7);margin:0 0 16px 0}.tox .tox-edit-area{display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-edit-area::before{border:2px solid #2d6adf;border-radius:4px;content:'';inset:0;opacity:0;pointer-events:none;position:absolute;transition:opacity .15s;z-index:1}.tox .tox-edit-area__iframe{background-color:#fff;border:0;box-sizing:border-box;flex:1;height:100%;position:absolute;width:100%}.tox.tox-edit-focus .tox-edit-area::before{opacity:1}.tox.tox-inline-edit-area{border:1px dotted #eee}.tox .tox-editor-container{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.tox .tox-editor-header{display:grid;grid-template-columns:1fr min-content;z-index:2}.tox:not(.tox-tinymce-inline) .tox-editor-header{background-color:#fff;border-bottom:none;box-shadow:0 2px 2px -2px rgba(34,47,62,.1),0 8px 8px -4px rgba(34,47,62,.07);padding:4px 0}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(.tox-editor-dock-transition){transition:box-shadow .5s}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header{border-top:1px solid #e3e3e3;box-shadow:none}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header{background-color:#fff;box-shadow:0 2px 2px -2px rgba(34,47,62,.2),0 8px 8px -4px rgba(34,47,62,.15);padding:4px 0}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header{box-shadow:0 2px 2px -2px rgba(34,47,62,.2),0 8px 8px -4px rgba(34,47,62,.15)}.tox.tox:not(.tox-tinymce-inline) .tox-editor-header.tox-editor-header--empty{background:0 0;border:none;box-shadow:none;padding:0}.tox-editor-dock-fadeout{opacity:0;visibility:hidden}.tox-editor-dock-fadein{opacity:1;visibility:visible}.tox-editor-dock-transition{transition:visibility 0s linear .25s,opacity .25s ease}.tox-editor-dock-transition.tox-editor-dock-fadein{transition-delay:0s}.tox .tox-control-wrap{flex:1;position:relative}.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid,.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown,.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid{display:none}.tox .tox-control-wrap svg{display:block}.tox .tox-control-wrap__status-icon-wrap{position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-control-wrap__status-icon-invalid svg{fill:#c00}.tox .tox-control-wrap__status-icon-unknown svg{fill:orange}.tox .tox-control-wrap__status-icon-valid svg{fill:green}.tox:not([dir=rtl]) .tox-control-wrap--status-invalid .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-unknown .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-valid .tox-textfield{padding-right:32px}.tox:not([dir=rtl]) .tox-control-wrap__status-icon-wrap{right:4px}.tox[dir=rtl] .tox-control-wrap--status-invalid .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-unknown .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-valid .tox-textfield{padding-left:32px}.tox[dir=rtl] .tox-control-wrap__status-icon-wrap{left:4px}.tox .tox-autocompleter{max-width:25em}.tox .tox-autocompleter .tox-menu{box-sizing:border-box;max-width:25em}.tox .tox-autocompleter .tox-autocompleter-highlight{font-weight:700}.tox .tox-color-input{display:flex;position:relative;z-index:1}.tox .tox-color-input .tox-textfield{z-index:-1}.tox .tox-color-input span{border-color:rgba(34,47,62,.2);border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;height:24px;position:absolute;top:6px;width:24px}.tox .tox-color-input span:focus:not([aria-disabled=true]),.tox .tox-color-input span:hover:not([aria-disabled=true]){border-color:#006ce7;cursor:pointer}.tox .tox-color-input span::before{background-image:linear-gradient(45deg,rgba(0,0,0,.25) 25%,transparent 25%),linear-gradient(-45deg,rgba(0,0,0,.25) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.25) 75%),linear-gradient(-45deg,transparent 75%,rgba(0,0,0,.25) 75%);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px;border:1px solid #fff;border-radius:6px;box-sizing:border-box;content:'';height:24px;left:-1px;position:absolute;top:-1px;width:24px;z-index:-1}.tox .tox-color-input span[aria-disabled=true]{cursor:not-allowed}.tox:not([dir=rtl]) .tox-color-input .tox-textfield{padding-left:36px}.tox:not([dir=rtl]) .tox-color-input span{left:6px}.tox[dir=rtl] .tox-color-input .tox-textfield{padding-right:36px}.tox[dir=rtl] .tox-color-input span{right:6px}.tox .tox-label,.tox .tox-toolbar-label{color:rgba(34,47,62,.7);display:block;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;padding:0 8px 0 0;text-transform:none;white-space:nowrap}.tox .tox-toolbar-label{padding:0 8px}.tox[dir=rtl] .tox-label{padding:0 0 0 8px}.tox .tox-form{display:flex;flex:1;flex-direction:column}.tox .tox-form__group{box-sizing:border-box;margin-bottom:4px}.tox .tox-form-group--maximize{flex:1}.tox .tox-form__group--error{color:#c00}.tox .tox-form__group--collection{display:flex}.tox .tox-form__grid{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}.tox .tox-form__grid--2col>.tox-form__group{width:calc(50% - (8px / 2))}.tox .tox-form__grid--3col>.tox-form__group{width:calc(100% / 3 - (8px / 2))}.tox .tox-form__grid--4col>.tox-form__group{width:calc(25% - (8px / 2))}.tox .tox-form__controls-h-stack{align-items:center;display:flex}.tox .tox-form__group--inline{align-items:center;display:flex}.tox .tox-form__group--stretched{display:flex;flex:1;flex-direction:column}.tox .tox-form__group--stretched .tox-textarea{flex:1}.tox .tox-form__group--stretched .tox-navobj{display:flex;flex:1}.tox .tox-form__group--stretched .tox-navobj :nth-child(2){flex:1;height:100%}.tox:not([dir=rtl]) .tox-form__controls-h-stack>:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-form__controls-h-stack>:not(:first-child){margin-right:4px}.tox .tox-lock.tox-locked .tox-lock-icon__unlock,.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock{display:none}.tox .tox-listboxfield .tox-listbox--select,.tox .tox-textarea,.tox .tox-textarea-wrap .tox-textarea:focus,.tox .tox-textfield,.tox .tox-toolbar-textfield{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#eee;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#222f3e;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 5.5px;resize:none;width:100%}.tox .tox-textarea[disabled],.tox .tox-textfield[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-custom-editor:focus-within,.tox .tox-listboxfield .tox-listbox--select:focus,.tox .tox-textarea-wrap:focus-within,.tox .tox-textarea:focus,.tox .tox-textfield:focus{background-color:#fff;border-color:#006ce7;box-shadow:0 0 0 2px rgba(0,108,231,.25);outline:0}.tox .tox-toolbar-textfield{border-width:0;margin-bottom:3px;margin-top:2px;max-width:250px}.tox .tox-naked-btn{background-color:transparent;border:0;border-color:transparent;box-shadow:unset;color:#006ce7;cursor:pointer;display:block;margin:0;padding:0}.tox .tox-naked-btn svg{display:block;fill:#222f3e}.tox:not([dir=rtl]) .tox-toolbar-textfield+*{margin-left:4px}.tox[dir=rtl] .tox-toolbar-textfield+*{margin-right:4px}.tox .tox-listboxfield{cursor:pointer;position:relative}.tox .tox-listboxfield .tox-listbox--select[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-listbox__select-label{cursor:default;flex:1;margin:0 4px}.tox .tox-listbox__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-listbox__select-chevron svg{fill:#222f3e}.tox .tox-listboxfield .tox-listbox--select{align-items:center;display:flex}.tox:not([dir=rtl]) .tox-listboxfield svg{right:8px}.tox[dir=rtl] .tox-listboxfield svg{left:8px}.tox .tox-selectfield{cursor:pointer;position:relative}.tox .tox-selectfield select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#eee;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#222f3e;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 5.5px;resize:none;width:100%}.tox .tox-selectfield select[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-selectfield select::-ms-expand{display:none}.tox .tox-selectfield select:focus{background-color:#fff;border-color:#006ce7;box-shadow:0 0 0 2px rgba(0,108,231,.25);outline:0}.tox .tox-selectfield svg{pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.tox:not([dir=rtl]) .tox-selectfield select[size="0"],.tox:not([dir=rtl]) .tox-selectfield select[size="1"]{padding-right:24px}.tox:not([dir=rtl]) .tox-selectfield svg{right:8px}.tox[dir=rtl] .tox-selectfield select[size="0"],.tox[dir=rtl] .tox-selectfield select[size="1"]{padding-left:24px}.tox[dir=rtl] .tox-selectfield svg{left:8px}.tox .tox-textarea-wrap{border-color:#eee;border-radius:6px;border-style:solid;border-width:1px;display:flex;flex:1;overflow:hidden}.tox .tox-textarea{-webkit-appearance:textarea;-moz-appearance:textarea;appearance:textarea;white-space:pre-wrap}.tox .tox-textarea-wrap .tox-textarea{border:none}.tox .tox-textarea-wrap .tox-textarea:focus{border:none}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}.tox .tox-help__more-link{list-style:none;margin-top:1em}.tox .tox-imagepreview{background-color:#666;height:380px;overflow:hidden;position:relative;width:100%}.tox .tox-imagepreview.tox-imagepreview__loaded{overflow:auto}.tox .tox-imagepreview__container{display:flex;left:100vw;position:absolute;top:100vw}.tox .tox-imagepreview__image{background:url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==)}.tox .tox-image-tools .tox-spacer{flex:1}.tox .tox-image-tools .tox-bar{align-items:center;display:flex;height:60px;justify-content:center}.tox .tox-image-tools .tox-imagepreview,.tox .tox-image-tools .tox-imagepreview+.tox-bar{margin-top:8px}.tox .tox-image-tools .tox-croprect-block{background:#000;opacity:.5;position:absolute;zoom:1}.tox .tox-image-tools .tox-croprect-handle{border:2px solid #fff;height:20px;left:0;position:absolute;top:0;width:20px}.tox .tox-image-tools .tox-croprect-handle-move{border:0;cursor:move;position:absolute}.tox .tox-image-tools .tox-croprect-handle-nw{border-width:2px 0 0 2px;cursor:nw-resize;left:100px;margin:-2px 0 0 -2px;top:100px}.tox .tox-image-tools .tox-croprect-handle-ne{border-width:2px 2px 0 0;cursor:ne-resize;left:200px;margin:-2px 0 0 -20px;top:100px}.tox .tox-image-tools .tox-croprect-handle-sw{border-width:0 0 2px 2px;cursor:sw-resize;left:100px;margin:-20px 2px 0 -2px;top:200px}.tox .tox-image-tools .tox-croprect-handle-se{border-width:0 2px 2px 0;cursor:se-resize;left:200px;margin:-20px 0 0 -20px;top:200px}.tox .tox-insert-table-picker{display:flex;flex-wrap:wrap;width:170px}.tox .tox-insert-table-picker>div{border-color:#eee;border-style:solid;border-width:0 1px 1px 0;box-sizing:border-box;height:17px;width:17px}.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker{margin:-4px -4px}.tox .tox-insert-table-picker .tox-insert-table-picker__selected{background-color:rgba(0,108,231,.5);border-color:rgba(0,108,231,.5)}.tox .tox-insert-table-picker__label{color:rgba(34,47,62,.7);display:block;font-size:14px;padding:4px;text-align:center;width:100%}.tox:not([dir=rtl]) .tox-insert-table-picker>div:nth-child(10n){border-right:0}.tox[dir=rtl] .tox-insert-table-picker>div:nth-child(10n+1){border-right:0}.tox .tox-menu{background-color:#fff;border:1px solid transparent;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);display:inline-block;overflow:hidden;vertical-align:top;z-index:1150}.tox .tox-menu.tox-collection.tox-collection--list{padding:0 4px}.tox .tox-menu.tox-collection.tox-collection--toolbar{padding:8px}.tox .tox-menu.tox-collection.tox-collection--grid{padding:8px}@media only screen and (min-width:768px){.tox .tox-menu .tox-collection__item-label{overflow-wrap:break-word;word-break:normal}.tox .tox-dialog__popups .tox-menu .tox-collection__item-label{word-break:break-all}}.tox .tox-menu__label blockquote,.tox .tox-menu__label code,.tox .tox-menu__label h1,.tox .tox-menu__label h2,.tox .tox-menu__label h3,.tox .tox-menu__label h4,.tox .tox-menu__label h5,.tox .tox-menu__label h6,.tox .tox-menu__label p{margin:0}.tox .tox-menubar{background:repeating-linear-gradient(transparent 0 1px,transparent 1px 39px) center top 39px/100% calc(100% - 39px) no-repeat;background-color:#fff;display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;grid-column:1/-1;grid-row:1;padding:0 11px 0 12px}.tox .tox-promotion+.tox-menubar{grid-column:1}.tox .tox-promotion{background:repeating-linear-gradient(transparent 0 1px,transparent 1px 39px) center top 39px/100% calc(100% - 39px) no-repeat;background-color:#fff;grid-column:2;grid-row:1;padding-inline-end:8px;padding-inline-start:4px;padding-top:5px}.tox .tox-promotion-link{align-items:unsafe center;background-color:#e8f1f8;border-radius:5px;color:#086be6;cursor:pointer;display:flex;font-size:14px;height:26.6px;padding:4px 8px;white-space:nowrap}.tox .tox-promotion-link:hover{background-color:#b4d7ff}.tox .tox-promotion-link:focus{background-color:#d9edf7}.tox .tox-mbtn{align-items:center;background:0 0;border:0;border-radius:3px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;justify-content:center;margin:5px 1px 6px 0;outline:0;overflow:hidden;padding:0 4px;text-transform:none;width:auto}.tox .tox-mbtn[disabled]{background-color:transparent;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-mbtn:focus:not(:disabled){background:#cce2fa;border:0;box-shadow:none;color:#222f3e}.tox .tox-mbtn--active{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active){background:#cce2fa;border:0;box-shadow:none;color:#222f3e}.tox .tox-mbtn__select-label{cursor:default;font-weight:400;margin:0 4px}.tox .tox-mbtn[disabled] .tox-mbtn__select-label{cursor:not-allowed}.tox .tox-mbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px;display:none}.tox .tox-notification{border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;display:grid;font-size:14px;font-weight:400;grid-template-columns:minmax(40px,1fr) auto minmax(40px,1fr);margin-top:4px;opacity:0;padding:4px;transition:transform .1s ease-in,opacity 150ms ease-in}.tox .tox-notification p{font-size:14px;font-weight:400}.tox .tox-notification a{cursor:pointer;text-decoration:underline}.tox .tox-notification--in{opacity:1}.tox .tox-notification--success{background-color:#e4eeda;border-color:#d7e6c8;color:#222f3e}.tox .tox-notification--success p{color:#222f3e}.tox .tox-notification--success a{color:#517342}.tox .tox-notification--success svg{fill:#222f3e}.tox .tox-notification--error{background-color:#f5cccc;border-color:#f0b3b3;color:#222f3e}.tox .tox-notification--error p{color:#222f3e}.tox .tox-notification--error a{color:#77181f}.tox .tox-notification--error svg{fill:#222f3e}.tox .tox-notification--warn,.tox .tox-notification--warning{background-color:#fff5cc;border-color:#fff0b3;color:#222f3e}.tox .tox-notification--warn p,.tox .tox-notification--warning p{color:#222f3e}.tox .tox-notification--warn a,.tox .tox-notification--warning a{color:#7a6e25}.tox .tox-notification--warn svg,.tox .tox-notification--warning svg{fill:#222f3e}.tox .tox-notification--info{background-color:#d6e7fb;border-color:#c1dbf9;color:#222f3e}.tox .tox-notification--info p{color:#222f3e}.tox .tox-notification--info a{color:#2a64a6}.tox .tox-notification--info svg{fill:#222f3e}.tox .tox-notification__body{align-self:center;color:#222f3e;font-size:14px;grid-column-end:3;grid-column-start:2;grid-row-end:2;grid-row-start:1;text-align:center;white-space:normal;word-break:break-all;word-break:break-word}.tox .tox-notification__body>*{margin:0}.tox .tox-notification__body>*+*{margin-top:1rem}.tox .tox-notification__icon{align-self:center;grid-column-end:2;grid-column-start:1;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification__icon svg{display:block}.tox .tox-notification__dismiss{align-self:start;grid-column-end:4;grid-column-start:3;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification .tox-progress-bar{grid-column-end:4;grid-column-start:1;grid-row-end:3;grid-row-start:2;justify-self:center}.tox .tox-pop{display:inline-block;position:relative}.tox .tox-pop--resizing{transition:width .1s ease}.tox .tox-pop--resizing .tox-toolbar,.tox .tox-pop--resizing .tox-toolbar__group{flex-wrap:nowrap}.tox .tox-pop--transition{transition:.15s ease;transition-property:left,right,top,bottom}.tox .tox-pop--transition::after,.tox .tox-pop--transition::before{transition:all .15s,visibility 0s,opacity 75ms ease 75ms}.tox .tox-pop__dialog{background-color:#fff;border:1px solid #eee;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);min-width:0;overflow:hidden}.tox .tox-pop__dialog>:not(.tox-toolbar){margin:4px 4px 4px 8px}.tox .tox-pop__dialog .tox-toolbar{background-color:transparent;margin-bottom:-1px}.tox .tox-pop::after,.tox .tox-pop::before{border-style:solid;content:'';display:block;height:0;opacity:1;position:absolute;width:0}.tox .tox-pop.tox-pop--inset::after,.tox .tox-pop.tox-pop--inset::before{opacity:0;transition:all 0s .15s,visibility 0s,opacity 75ms ease}.tox .tox-pop.tox-pop--bottom::after,.tox .tox-pop.tox-pop--bottom::before{left:50%;top:100%}.tox .tox-pop.tox-pop--bottom::after{border-color:#fff transparent transparent transparent;border-width:8px;margin-left:-8px;margin-top:-1px}.tox .tox-pop.tox-pop--bottom::before{border-color:#eee transparent transparent transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--top::after,.tox .tox-pop.tox-pop--top::before{left:50%;top:0;transform:translateY(-100%)}.tox .tox-pop.tox-pop--top::after{border-color:transparent transparent #fff transparent;border-width:8px;margin-left:-8px;margin-top:1px}.tox .tox-pop.tox-pop--top::before{border-color:transparent transparent #eee transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--left::after,.tox .tox-pop.tox-pop--left::before{left:0;top:calc(50% - 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--left::after{border-color:transparent #fff transparent transparent;border-width:8px;margin-left:-15px}.tox .tox-pop.tox-pop--left::before{border-color:transparent #eee transparent transparent;border-width:10px;margin-left:-19px}.tox .tox-pop.tox-pop--right::after,.tox .tox-pop.tox-pop--right::before{left:100%;top:calc(50% + 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--right::after{border-color:transparent transparent transparent #fff;border-width:8px;margin-left:-1px}.tox .tox-pop.tox-pop--right::before{border-color:transparent transparent transparent #eee;border-width:10px;margin-left:-1px}.tox .tox-pop.tox-pop--align-left::after,.tox .tox-pop.tox-pop--align-left::before{left:20px}.tox .tox-pop.tox-pop--align-right::after,.tox .tox-pop.tox-pop--align-right::before{left:calc(100% - 20px)}.tox .tox-sidebar-wrap{display:flex;flex-direction:row;flex-grow:1;min-height:0}.tox .tox-sidebar{background-color:#fff;display:flex;flex-direction:row;justify-content:flex-end}.tox .tox-sidebar__slider{display:flex;overflow:hidden}.tox .tox-sidebar__pane-container{display:flex}.tox .tox-sidebar__pane{display:flex}.tox .tox-sidebar--sliding-closed{opacity:0}.tox .tox-sidebar--sliding-open{opacity:1}.tox .tox-sidebar--sliding-growing,.tox .tox-sidebar--sliding-shrinking{transition:width .5s ease,opacity .5s ease}.tox .tox-selector{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;display:inline-block;height:10px;position:absolute;width:10px}.tox.tox-platform-touch .tox-selector{height:12px;width:12px}.tox .tox-slider{align-items:center;display:flex;flex:1;height:24px;justify-content:center;position:relative}.tox .tox-slider__rail{background-color:transparent;border:1px solid #eee;border-radius:6px;height:10px;min-width:120px;width:100%}.tox .tox-slider__handle{background-color:#006ce7;border:2px solid #0054b4;border-radius:6px;box-shadow:none;height:24px;left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%);width:14px}.tox .tox-form__controls-h-stack>.tox-slider:not(:first-of-type){margin-inline-start:8px}.tox .tox-form__controls-h-stack>.tox-form__group+.tox-slider{margin-inline-start:32px}.tox .tox-form__controls-h-stack>.tox-slider+.tox-form__group{margin-inline-start:32px}.tox .tox-source-code{overflow:auto}.tox .tox-spinner{display:flex}.tox .tox-spinner>div{animation:tam-bouncing-dots 1.5s ease-in-out 0s infinite both;background-color:rgba(34,47,62,.7);border-radius:100%;height:8px;width:8px}.tox .tox-spinner>div:nth-child(1){animation-delay:-.32s}.tox .tox-spinner>div:nth-child(2){animation-delay:-.16s}@keyframes tam-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox:not([dir=rtl]) .tox-spinner>div:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-spinner>div:not(:first-child){margin-right:4px}.tox .tox-statusbar{align-items:center;background-color:#fff;border-top:1px solid #e3e3e3;color:rgba(34,47,62,.7);display:flex;flex:0 0 auto;font-size:14px;font-weight:400;height:25px;overflow:hidden;padding:0 8px;position:relative;text-transform:none}.tox .tox-statusbar__path{display:flex;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-statusbar__right-container{display:flex;justify-content:flex-end;white-space:nowrap}.tox .tox-statusbar__help-text{text-align:center}.tox .tox-statusbar__text-container{display:flex;flex:1 1 auto;justify-content:space-between;overflow:hidden}@media only screen and (min-width:768px){.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__help-text,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__path,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__right-container{flex:0 0 calc(100% / 3)}}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-end{justify-content:flex-end}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-start{justify-content:flex-start}.tox .tox-statusbar__text-container.tox-statusbar__text-container--space-around{justify-content:space-around}.tox .tox-statusbar__path>*{display:inline;white-space:nowrap}.tox .tox-statusbar__wordcount{flex:0 0 auto;margin-left:1ch}@media only screen and (max-width:767px){.tox .tox-statusbar__text-container .tox-statusbar__help-text{display:none}.tox .tox-statusbar__text-container .tox-statusbar__help-text:only-child{display:block}}.tox .tox-statusbar a,.tox .tox-statusbar__path-item,.tox .tox-statusbar__wordcount{color:rgba(34,47,62,.7);text-decoration:none}.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]){color:#222f3e;cursor:pointer}.tox .tox-statusbar__branding svg{fill:rgba(34,47,62,.8);height:1.14em;vertical-align:-.28em;width:3.6em}.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg,.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg{fill:#222f3e}.tox .tox-statusbar__resize-handle{align-items:flex-end;align-self:stretch;cursor:nwse-resize;display:flex;flex:0 0 auto;justify-content:flex-end;margin-left:auto;margin-right:-8px;padding-bottom:3px;padding-left:1ch;padding-right:3px}.tox .tox-statusbar__resize-handle svg{display:block;fill:rgba(34,47,62,.5)}.tox .tox-statusbar__resize-handle:focus svg{background-color:#dee0e2;border-radius:1px 1px 5px 1px;box-shadow:0 0 0 2px #dee0e2}.tox:not([dir=rtl]) .tox-statusbar__path>*{margin-right:4px}.tox:not([dir=rtl]) .tox-statusbar__branding{margin-left:2ch}.tox[dir=rtl] .tox-statusbar{flex-direction:row-reverse}.tox[dir=rtl] .tox-statusbar__path>*{margin-left:4px}.tox .tox-throbber{z-index:1299}.tox .tox-throbber__busy-spinner{align-items:center;background-color:rgba(255,255,255,.6);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.tox .tox-tbtn{align-items:center;background:0 0;border:0;border-radius:3px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;justify-content:center;margin:6px 1px 5px 0;outline:0;overflow:hidden;padding:0;text-transform:none;width:34px}.tox .tox-tbtn svg{display:block;fill:#222f3e}.tox .tox-tbtn.tox-tbtn-more{padding-left:5px;padding-right:5px;width:inherit}.tox .tox-tbtn:focus{background:#cce2fa;border:0;box-shadow:none}.tox .tox-tbtn:hover{background:#cce2fa;border:0;box-shadow:none;color:#222f3e}.tox .tox-tbtn:hover svg{fill:#222f3e}.tox .tox-tbtn:active{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-tbtn:active svg{fill:#222f3e}.tox .tox-tbtn--disabled .tox-tbtn--enabled svg{fill:rgba(34,47,62,.5)}.tox .tox-tbtn--disabled,.tox .tox-tbtn--disabled:hover,.tox .tox-tbtn:disabled,.tox .tox-tbtn:disabled:hover{background:0 0;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-tbtn--disabled svg,.tox .tox-tbtn--disabled:hover svg,.tox .tox-tbtn:disabled svg,.tox .tox-tbtn:disabled:hover svg{fill:rgba(34,47,62,.5)}.tox .tox-tbtn--enabled,.tox .tox-tbtn--enabled:hover{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-tbtn--enabled:hover>*,.tox .tox-tbtn--enabled>*{transform:none}.tox .tox-tbtn--enabled svg,.tox .tox-tbtn--enabled:hover svg{fill:#222f3e}.tox .tox-tbtn--enabled.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled:hover.tox-tbtn--disabled svg{fill:rgba(34,47,62,.5)}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){color:#222f3e}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg{fill:#222f3e}.tox .tox-tbtn:active>*{transform:none}.tox .tox-tbtn--md{height:42px;width:51px}.tox .tox-tbtn--lg{flex-direction:column;height:56px;width:68px}.tox .tox-tbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tbtn--labeled{padding:0 4px;width:unset}.tox .tox-tbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-number-input{border-radius:3px;display:flex;margin:6px 1px 5px 0;padding:0 4px;width:auto}.tox .tox-number-input .tox-input-wrapper{background:#f7f7f7;display:flex;pointer-events:none;text-align:center}.tox .tox-number-input .tox-input-wrapper:focus{background:#cce2fa}.tox .tox-number-input input{border-radius:3px;color:#222f3e;font-size:14px;margin:2px 0;pointer-events:all;width:60px}.tox .tox-number-input input:hover{background:#cce2fa;color:#222f3e}.tox .tox-number-input input:focus{background:#fff;color:#222f3e}.tox .tox-number-input input:disabled{background:0 0;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-number-input button{background:#f7f7f7;color:#222f3e;height:28px;text-align:center;width:24px}.tox .tox-number-input button svg{display:block;fill:#222f3e;margin:0 auto;transform:scale(.67)}.tox .tox-number-input button:focus{background:#cce2fa}.tox .tox-number-input button:hover{background:#cce2fa;border:0;box-shadow:none;color:#222f3e}.tox .tox-number-input button:hover svg{fill:#222f3e}.tox .tox-number-input button:active{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-number-input button:active svg{fill:#222f3e}.tox .tox-number-input button:disabled{background:0 0;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-number-input button:disabled svg{fill:rgba(34,47,62,.5)}.tox .tox-number-input button.minus{border-radius:3px 0 0 3px}.tox .tox-number-input button.plus{border-radius:0 3px 3px 0}.tox .tox-number-input:focus:not(:active)>.tox-input-wrapper,.tox .tox-number-input:focus:not(:active)>button{background:#cce2fa}.tox .tox-tbtn--select{margin:6px 1px 5px 0;padding:0 4px;width:auto}.tox .tox-tbtn__select-label{cursor:default;font-weight:400;height:initial;margin:0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-tbtn__select-chevron svg{fill:rgba(34,47,62,.5)}.tox .tox-tbtn--bespoke{background:#f7f7f7}.tox .tox-tbtn--bespoke+.tox-tbtn--bespoke{margin-inline-start:4px}.tox .tox-tbtn--bespoke .tox-tbtn__select-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:7em}.tox .tox-tbtn--disabled .tox-tbtn__select-label,.tox .tox-tbtn--select:disabled .tox-tbtn__select-label{cursor:not-allowed}.tox .tox-split-button{border:0;border-radius:3px;box-sizing:border-box;display:flex;margin:6px 1px 5px 0;overflow:hidden}.tox .tox-split-button:hover{box-shadow:0 0 0 1px #cce2fa inset}.tox .tox-split-button:focus{background:#cce2fa;box-shadow:none;color:#222f3e}.tox .tox-split-button>*{border-radius:0}.tox .tox-split-button__chevron{width:16px}.tox .tox-split-button__chevron svg{fill:rgba(34,47,62,.5)}.tox .tox-split-button .tox-tbtn{margin:0}.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:focus,.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:hover,.tox .tox-split-button.tox-tbtn--disabled:focus,.tox .tox-split-button.tox-tbtn--disabled:hover{background:0 0;box-shadow:none;color:rgba(34,47,62,.5)}.tox.tox-platform-touch .tox-split-button .tox-tbtn--select{padding:0 0}.tox.tox-platform-touch .tox-split-button .tox-tbtn:not(.tox-tbtn--select):first-child{width:30px}.tox.tox-platform-touch .tox-split-button__chevron{width:20px}.tox .tox-split-button.tox-tbtn--disabled svg #tox-icon-highlight-bg-color__color,.tox .tox-split-button.tox-tbtn--disabled svg #tox-icon-text-color__color{opacity:.6}.tox .tox-toolbar-overlord{background-color:#fff}.tox .tox-toolbar,.tox .tox-toolbar__overflow,.tox .tox-toolbar__primary{background-attachment:local;background-color:#fff;background-image:repeating-linear-gradient(#e3e3e3 0 1px,transparent 1px 39px);background-position:center top 40px;background-repeat:no-repeat;background-size:calc(100% - 11px * 2) calc(100% - 41px);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;padding:0 0;transform:perspective(1px)}.tox .tox-toolbar-overlord>.tox-toolbar,.tox .tox-toolbar-overlord>.tox-toolbar__overflow,.tox .tox-toolbar-overlord>.tox-toolbar__primary{background-position:center top 0;background-size:calc(100% - 11px * 2) calc(100% - 0px)}.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed{height:0;opacity:0;padding-bottom:0;padding-top:0;visibility:hidden}.tox .tox-toolbar__overflow--growing{transition:height .3s ease,opacity .2s linear .1s}.tox .tox-toolbar__overflow--shrinking{transition:opacity .3s ease,height .2s linear .1s,visibility 0s linear .3s}.tox .tox-anchorbar,.tox .tox-toolbar-overlord{grid-column:1/-1}.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{border-top:1px solid transparent;margin-top:-1px;padding-bottom:1px;padding-top:1px}.tox .tox-toolbar--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-pop .tox-toolbar{border-width:0}.tox .tox-toolbar--no-divider{background-image:none}.tox .tox-toolbar-overlord .tox-toolbar:not(.tox-toolbar--scrolling):first-child,.tox .tox-toolbar-overlord .tox-toolbar__primary{background-position:center top 39px}.tox .tox-editor-header>.tox-toolbar--scrolling,.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child{background-image:none}.tox.tox-tinymce-aux .tox-toolbar__overflow{background-color:#fff;background-position:center top 43px;background-size:calc(100% - 8px * 2) calc(100% - 51px);border:none;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);overscroll-behavior:none;padding:4px 0}.tox-pop .tox-pop__dialog .tox-toolbar{background-position:center top 43px;background-size:calc(100% - 11px * 2) calc(100% - 51px);padding:4px 0}.tox .tox-toolbar__group{align-items:center;display:flex;flex-wrap:wrap;margin:0 0;padding:0 11px 0 12px}.tox .tox-toolbar__group--pull-right{margin-left:auto}.tox .tox-toolbar--scrolling .tox-toolbar__group{flex-shrink:0;flex-wrap:nowrap}.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type){border-right:1px solid transparent}.tox[dir=rtl] .tox-toolbar__group:not(:last-of-type){border-left:1px solid transparent}.tox .tox-tooltip{display:inline-block;padding:8px;position:relative}.tox .tox-tooltip__body{background-color:#222f3e;border-radius:6px;box-shadow:0 2px 4px rgba(34,47,62,.3);color:rgba(255,255,255,.75);font-size:14px;font-style:normal;font-weight:400;padding:4px 8px;text-transform:none}.tox .tox-tooltip__arrow{position:absolute}.tox .tox-tooltip--down .tox-tooltip__arrow{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #222f3e;bottom:0;left:50%;position:absolute;transform:translateX(-50%)}.tox .tox-tooltip--up .tox-tooltip__arrow{border-bottom:8px solid #222f3e;border-left:8px solid transparent;border-right:8px solid transparent;left:50%;position:absolute;top:0;transform:translateX(-50%)}.tox .tox-tooltip--right .tox-tooltip__arrow{border-bottom:8px solid transparent;border-left:8px solid #222f3e;border-top:8px solid transparent;position:absolute;right:0;top:50%;transform:translateY(-50%)}.tox .tox-tooltip--left .tox-tooltip__arrow{border-bottom:8px solid transparent;border-right:8px solid #222f3e;border-top:8px solid transparent;left:0;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-tree{display:flex;flex-direction:column}.tox .tox-tree .tox-trbtn{align-items:center;background:0 0;border:0;border-radius:4px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;margin-bottom:4px;margin-top:4px;outline:0;overflow:hidden;padding:0;padding-left:8px;text-transform:none}.tox .tox-tree .tox-trbtn .tox-tree__label{cursor:default;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tree .tox-trbtn svg{display:block;fill:#222f3e}.tox .tox-tree .tox-trbtn:focus{background:#cce2fa;border:0;box-shadow:none}.tox .tox-tree .tox-trbtn:hover{background:#cce2fa;border:0;box-shadow:none;color:#222f3e}.tox .tox-tree .tox-trbtn:hover svg{fill:#222f3e}.tox .tox-tree .tox-trbtn:active{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-tree .tox-trbtn:active svg{fill:#222f3e}.tox .tox-tree .tox-trbtn--disabled,.tox .tox-tree .tox-trbtn--disabled:hover,.tox .tox-tree .tox-trbtn:disabled,.tox .tox-tree .tox-trbtn:disabled:hover{background:0 0;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-tree .tox-trbtn--disabled svg,.tox .tox-tree .tox-trbtn--disabled:hover svg,.tox .tox-tree .tox-trbtn:disabled svg,.tox .tox-tree .tox-trbtn:disabled:hover svg{fill:rgba(34,47,62,.5)}.tox .tox-tree .tox-trbtn--enabled,.tox .tox-tree .tox-trbtn--enabled:hover{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-tree .tox-trbtn--enabled:hover>*,.tox .tox-tree .tox-trbtn--enabled>*{transform:none}.tox .tox-tree .tox-trbtn--enabled svg,.tox .tox-tree .tox-trbtn--enabled:hover svg{fill:#222f3e}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled){color:#222f3e}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled) svg{fill:#222f3e}.tox .tox-tree .tox-trbtn:active>*{transform:none}.tox .tox-tree .tox-trbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tree .tox-trbtn--labeled{padding:0 4px;width:unset}.tox .tox-tree .tox-trbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-tree .tox-tree--directory{display:flex;flex-direction:column}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label{font-weight:700}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn:focus svg{fill:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:focus .tox-mbtn svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover .tox-mbtn svg{fill:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-chevron{margin-right:6px}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+.tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+.tox-tree--directory__children--shrinking) .tox-chevron{transition:transform .5s ease-in-out}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+.tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+.tox-tree--directory__children--open) .tox-chevron{transform:rotate(90deg)}.tox .tox-tree .tox-tree--leaf__label{font-weight:400}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--leaf__label .tox-mbtn:focus svg{fill:#222f3e}.tox .tox-tree .tox-tree--leaf__label:hover .tox-mbtn svg{fill:#222f3e}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#222f3e}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#222f3e}.tox .tox-tree .tox-tree--directory__children{overflow:hidden;padding-left:16px}.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--growing,.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--shrinking{transition:height .5s ease-in-out}.tox .tox-tree .tox-trbtn.tox-tree--leaf__label{display:flex;justify-content:space-between}.tox .tox-view-wrap,.tox .tox-view-wrap__slot-container{background-color:#fff;display:flex;flex:1;flex-direction:column}.tox .tox-view{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.tox .tox-view__header{align-items:center;display:flex;font-size:16px;justify-content:space-between;padding:8px 8px 0 8px;position:relative}.tox .tox-view--mobile.tox-view__header,.tox .tox-view--mobile.tox-view__toolbar{padding:8px}.tox .tox-view--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-view__toolbar{display:flex;flex-direction:row;gap:8px;justify-content:space-between;padding:8px 8px 0 8px}.tox .tox-view__toolbar__group{display:flex;flex-direction:row;gap:12px}.tox .tox-view__header-end,.tox .tox-view__header-start{display:flex}.tox .tox-view__pane{height:100%;padding:8px;width:100%}.tox .tox-view__pane_panel{border:1px solid #eee;border-radius:6px}.tox:not([dir=rtl]) .tox-view__header .tox-view__header-end>*,.tox:not([dir=rtl]) .tox-view__header .tox-view__header-start>*{margin-left:8px}.tox[dir=rtl] .tox-view__header .tox-view__header-end>*,.tox[dir=rtl] .tox-view__header .tox-view__header-start>*{margin-right:8px}.tox .tox-well{border:1px solid #eee;border-radius:6px;padding:8px;width:100%}.tox .tox-well>:first-child{margin-top:0}.tox .tox-well>:last-child{margin-bottom:0}.tox .tox-well>:only-child{margin:0}.tox .tox-custom-editor{border:1px solid #eee;border-radius:6px;display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-dialog-loading::before{background-color:rgba(0,0,0,.5);content:"";height:100%;position:absolute;width:100%;z-index:1000}.tox .tox-tab{cursor:pointer}.tox .tox-dialog__content-js{display:flex;flex:1}.tox .tox-dialog__body-content .tox-collection{display:flex;flex:1}`);(function(){var xo=tinymce.util.Tools.resolve("tinymce.PluginManager");let Ko=0;const Po=Q=>{const bt=new Date().getTime(),wo=Math.floor(Math.random()*1e9);return Ko++,Q+"_"+wo+Ko+String(bt)},en=(Q,Ee,bt)=>{var wo;return bt(Q,Ee.prototype)?!0:((wo=Q.constructor)===null||wo===void 0?void 0:wo.name)===Ee.name},tn=Q=>{const Ee=typeof Q;return Q===null?"null":Ee==="object"&&Array.isArray(Q)?"array":Ee==="object"&&en(Q,String,(bt,wo)=>wo.isPrototypeOf(bt))?"string":Ee},to=Q=>Ee=>tn(Ee)===Q,Lo=Q=>Ee=>typeof Ee===Q,jt=to("string"),Co=Lo("boolean"),Ro=Q=>Q==null,jo=Q=>!Ro(Q),an=Lo("function"),Ao=Lo("number"),Ue=(Q,Ee)=>bt=>Q(Ee(bt)),it=Q=>()=>Q,So=(Q,Ee)=>Q===Ee,co=it(!1);class he{constructor(Ee,bt){this.tag=Ee,this.value=bt}static some(Ee){return new he(!0,Ee)}static none(){return he.singletonNone}fold(Ee,bt){return this.tag?bt(this.value):Ee()}isSome(){return this.tag}isNone(){return!this.tag}map(Ee){return this.tag?he.some(Ee(this.value)):he.none()}bind(Ee){return this.tag?Ee(this.value):he.none()}exists(Ee){return this.tag&&Ee(this.value)}forall(Ee){return!this.tag||Ee(this.value)}filter(Ee){return!this.tag||Ee(this.value)?this:he.none()}getOr(Ee){return this.tag?this.value:Ee}or(Ee){return this.tag?this:Ee}getOrThunk(Ee){return this.tag?this.value:Ee()}orThunk(Ee){return this.tag?this:Ee()}getOrDie(Ee){if(this.tag)return this.value;throw new Error(Ee??"Called getOrDie on None")}static from(Ee){return jo(Ee)?he.some(Ee):he.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(Ee){this.tag&&Ee(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}he.singletonNone=new he(!1);const Dt=Array.prototype.indexOf,fo=(Q,Ee)=>Dt.call(Q,Ee),me=(Q,Ee)=>fo(Q,Ee)>-1,Ze=(Q,Ee)=>{const bt=Q.length,wo=new Array(bt);for(let Zn=0;Zn{for(let bt=0,wo=Q.length;bt{const bt=[];for(let wo=0,Zn=Q.length;wo(de(Q,(wo,Zn)=>{bt=Ee(bt,wo,Zn)}),bt),$t=Object.keys,gn=(Q,Ee)=>{const bt=$t(Q);for(let wo=0,Zn=bt.length;woQ.dom.nodeName.toLowerCase(),Mt=Q=>Q.dom.nodeType,ht=Q=>Ee=>Mt(Ee)===Q,Rt=Q=>Mt(Q)===Bo||lt(Q)==="#comment",uo=ht(qe),Bt=ht(Je),V=ht(Ct),dt=ht(R),Ie=(Q,Ee,bt)=>{if(jt(bt)||Co(bt)||Ao(bt))Q.setAttribute(Ee,bt+"");else throw console.error("Invalid call to Attribute.set. Key ",Ee,":: Value ",bt,":: Element ",Q),new Error("Attribute value was not simple")},_o=(Q,Ee,bt)=>{Ie(Q.dom,Ee,bt)},Pt=(Q,Ee)=>{const bt=Q.dom;gn(Ee,(wo,Zn)=>{Ie(bt,Zn,wo)})},lo=(Q,Ee)=>{const bt=Q.dom.getAttribute(Ee);return bt===null?void 0:bt},To=(Q,Ee)=>he.from(lo(Q,Ee)),oo=(Q,Ee)=>{Q.dom.removeAttribute(Ee)},Se=Q=>Yo(Q.dom.attributes,(Ee,bt)=>(Ee[bt.name]=bt.value,Ee),{}),$e=(Q,Ee)=>{const wo=(Ee||document).createElement("div");if(wo.innerHTML=Q,!wo.hasChildNodes()||wo.childNodes.length>1){const Zn="HTML does not have a single root node";throw console.error(Zn,Q),new Error(Zn)}return pe(wo.childNodes[0])},ct=(Q,Ee)=>{const wo=(Ee||document).createElement(Q);return pe(wo)},gt=(Q,Ee)=>{const wo=(Ee||document).createTextNode(Q);return pe(wo)},pe=Q=>{if(Q==null)throw new Error("Node cannot be null or undefined");return{dom:Q}},We={fromHtml:$e,fromTag:ct,fromText:gt,fromDom:pe,fromPoint:(Q,Ee,bt)=>he.from(Q.dom.elementFromPoint(Ee,bt)).map(pe)},Fe=(Q,Ee)=>{const bt=Q.dom;if(bt.nodeType!==qe)return!1;{const wo=bt;if(wo.matches!==void 0)return wo.matches(Ee);if(wo.msMatchesSelector!==void 0)return wo.msMatchesSelector(Ee);if(wo.webkitMatchesSelector!==void 0)return wo.webkitMatchesSelector(Ee);if(wo.mozMatchesSelector!==void 0)return wo.mozMatchesSelector(Ee);throw new Error("Browser lacks native selectors")}},ge=Q=>Q.nodeType!==qe&&Q.nodeType!==Ct&&Q.nodeType!==R||Q.childElementCount===0,Me=(Q,Ee)=>{const bt=Ee===void 0?document:Ee.dom;return ge(bt)?[]:Ze(bt.querySelectorAll(Q),We.fromDom)},at=(Q,Ee)=>{const bt=Ee===void 0?document:Ee.dom;return ge(bt)?he.none():he.from(bt.querySelector(Q)).map(We.fromDom)},ze=(Q,Ee)=>Q.dom===Ee.dom,Ge=Fe,Gt=(Q,Ee,bt=So)=>Q.exists(wo=>bt(wo,Ee)),Xo=(Q=>Ee=>Ee.replace(Q,""))(/^\s+|\s+$/g),$o=Q=>Q.style!==void 0&&an(Q.style.getPropertyValue),Zo=Q=>We.fromDom(Q.dom.ownerDocument),Gn=Q=>V(Q)?Q:Zo(Q),Pn=Q=>he.from(Q.dom.parentNode).map(We.fromDom),zn=(Q,Ee)=>{const bt=an(Ee)?Ee:co;let wo=Q.dom;const Zn=[];for(;wo.parentNode!==null&&wo.parentNode!==void 0;){const U=wo.parentNode,oe=We.fromDom(U);if(Zn.push(oe),bt(oe)===!0)break;wo=U}return Zn},ut=Q=>he.from(Q.dom.previousSibling).map(We.fromDom),zt=Q=>he.from(Q.dom.nextSibling).map(We.fromDom),Ft=Q=>Ze(Q.dom.childNodes,We.fromDom),vo=(Q,Ee)=>{const bt=Q.dom.childNodes;return he.from(bt[Ee]).map(We.fromDom)},Xt=Q=>vo(Q,0),Vo=Q=>dt(Q)&&jo(Q.dom.host),Rr=an(Element.prototype.attachShadow)&&an(Node.prototype.getRootNode)?Q=>We.fromDom(Q.dom.getRootNode()):Gn,Wt=Q=>{const Ee=Rr(Q);return Vo(Ee)?he.some(Ee):he.none()},vr=Q=>We.fromDom(Q.dom.host),Fn=Q=>{const Ee=Bt(Q)?Q.dom.parentNode:Q.dom;if(Ee==null||Ee.ownerDocument===null)return!1;const bt=Ee.ownerDocument;return Wt(We.fromDom(Ee)).fold(()=>bt.body.contains(Ee),Ue(Fn,vr))},ln=(Q,Ee,bt)=>{if(!jt(bt))throw console.error("Invalid call to CSS.set. Property ",Ee,":: Value ",bt,":: Element ",Q),new Error("CSS value must be a string: "+bt);$o(Q)&&Q.style.setProperty(Ee,bt)},xr=(Q,Ee)=>{$o(Q)&&Q.style.removeProperty(Ee)},Ys=(Q,Ee,bt)=>{const wo=Q.dom;ln(wo,Ee,bt)},Yr=(Q,Ee)=>{const bt=Q.dom,Zn=window.getComputedStyle(bt).getPropertyValue(Ee);return Zn===""&&!Fn(Q)?Pa(bt,Ee):Zn},Pa=(Q,Ee)=>$o(Q)?Q.style.getPropertyValue(Ee):"",cs=(Q,Ee)=>{const bt=Q.dom,wo=Pa(bt,Ee);return he.from(wo).filter(Zn=>Zn.length>0)},Ha=(Q,Ee)=>{const bt=Q.dom;xr(bt,Ee),Gt(To(Q,"style").map(Xo),"")&&oo(Q,"style")},ja=(Q,Ee)=>{Pn(Q).each(wo=>{wo.dom.insertBefore(Ee.dom,Q.dom)})},$s=(Q,Ee)=>{zt(Q).fold(()=>{Pn(Q).each(Zn=>{_a(Zn,Ee)})},wo=>{ja(wo,Ee)})},Us=(Q,Ee)=>{Xt(Q).fold(()=>{_a(Q,Ee)},wo=>{Q.dom.insertBefore(Ee.dom,wo.dom)})},_a=(Q,Ee)=>{Q.dom.appendChild(Ee.dom)},tt=(Q,Ee)=>{ja(Q,Ee),_a(Ee,Q)},_t=(Q,Ee)=>{de(Ee,(bt,wo)=>{const Zn=wo===0?Q:Ee[wo-1];$s(Zn,bt)})},Mo=(Q,Ee)=>{de(Ee,bt=>{_a(Q,bt)})},St=(Q,Ee)=>{let bt=[];return de(Ft(Q),wo=>{Ee(wo)&&(bt=bt.concat([wo])),bt=bt.concat(St(wo,Ee))}),bt};var zr=(Q,Ee,bt,wo,Zn)=>Q(bt,wo)?he.some(bt):an(Zn)&&Zn(bt)?he.none():Ee(bt,wo,Zn);const kr=(Q,Ee,bt)=>{let wo=Q.dom;const Zn=an(bt)?bt:co;for(;wo.parentNode;){wo=wo.parentNode;const U=We.fromDom(wo);if(Ee(U))return he.some(U);if(Zn(U))break}return he.none()},Is=Q=>{const Ee=Q.dom;Ee.parentNode!==null&&Ee.parentNode.removeChild(Ee)},Xr=Q=>{const Ee=Ft(Q);Ee.length>0&&_t(Q,Ee),Is(Q)},gr=(Q,Ee)=>Me(Ee,Q),De=(Q,Ee,bt)=>kr(Q,wo=>Fe(wo,Ee),bt),Ae=(Q,Ee)=>at(Ee,Q),wt=(Q,Ee,bt)=>zr((Zn,U)=>Fe(Zn,U),De,Q,Ee,bt),dn=((Q,Ee)=>{const bt=U=>{if(!Q(U))throw new Error("Can only get "+Ee+" value of a "+Ee+" node");return wo(U).getOr("")},wo=U=>Q(U)?he.from(U.dom.nodeValue):he.none();return{get:bt,getOption:wo,set:(U,oe)=>{if(!Q(U))throw new Error("Can only set raw "+Ee+" value of a "+Ee+" node");U.dom.nodeValue=oe}}})(Bt,"text"),on=Q=>dn.get(Q),sr=(Q,Ee)=>dn.set(Q,Ee);var Vr=["body","p","div","article","aside","figcaption","figure","footer","header","nav","section","ol","ul","li","table","thead","tbody","tfoot","caption","tr","td","th","h1","h2","h3","h4","h5","h6","blockquote","pre","address"],Br=()=>{const Q=po=>We.fromDom(po.dom.cloneNode(!1)),Ee=po=>Gn(po).dom,bt=po=>uo(po)?lt(po)==="body"?!0:me(Vr,lt(po)):!1,wo=po=>uo(po)?me(["br","img","hr","input"],lt(po)):!1,Zn=po=>uo(po)&&lo(po,"contenteditable")==="false",U=(po,Yn)=>po.dom.compareDocumentPosition(Yn.dom),oe=(po,Yn)=>{const ga=Se(po);Pt(Yn,ga)},xe=po=>{const Yn=lt(po);return me(["script","noscript","iframe","noframes","noembed","title","style","textarea","xmp"],Yn)},xt=po=>uo(po)?To(po,"lang"):he.none();return{up:it({selector:De,closest:wt,predicate:kr,all:zn}),down:it({selector:gr,predicate:St}),styles:it({get:Yr,getRaw:cs,set:Ys,remove:Ha}),attrs:it({get:lo,set:_o,remove:oo,copyTo:oe}),insert:it({before:ja,after:$s,afterAll:_t,append:_a,appendAll:Mo,prepend:Us,wrap:tt}),remove:it({unwrap:Xr,remove:Is}),create:it({nu:We.fromTag,clone:Q,text:We.fromText}),query:it({comparePosition:U,prevSibling:ut,nextSibling:zt}),property:it({children:Ft,name:lt,parent:Pn,document:Ee,isText:Bt,isComment:Rt,isElement:uo,isSpecial:xe,getLanguage:xt,getText:on,setText:sr,isBoundary:bt,isEmptyTag:wo,isNonEditable:Zn}),eq:ze,is:Ge}};const Jo=(Q,Ee)=>({element:Q,offset:Ee}),Ce=(Q,Ee,bt)=>Q.property().isText(Ee)&&Q.property().getText(Ee).trim().length===0||Q.property().isComment(Ee)?bt(Ee).bind(wo=>Ce(Q,wo,bt).orThunk(()=>he.some(wo))):he.none(),Ne=(Q,Ee)=>Q.property().isText(Ee)?Q.property().getText(Ee).length:Q.property().children(Ee).length,Zt=(Q,Ee)=>{const bt=Ce(Q,Ee,Q.query().prevSibling).getOr(Ee);if(Q.property().isText(bt))return Jo(bt,Ne(Q,bt));const wo=Q.property().children(bt);return wo.length>0?Zt(Q,wo[wo.length-1]):Jo(bt,Ne(Q,bt))},Io=Zt,Ho=Br(),nn=Q=>Io(Ho,Q),Go=(Q,Ee,bt)=>Q.dispatch("ToggledAccordion",{element:Ee,state:bt}),hn=(Q,Ee,bt)=>Q.dispatch("ToggledAllAccordions",{elements:Ee,state:bt}),wn="details",Un="mce-accordion",Ar="mce-accordion-summary",ra="mce-accordion-body",Xs="div";var Zs=tinymce.util.Tools.resolve("tinymce.util.Tools");const mi=Q=>Q?.nodeName==="SUMMARY",Wr=Q=>Q?.nodeName==="DETAILS",rr=Q=>Q.hasAttribute("open"),Sr=Q=>{const Ee=Q.selection.getNode();return mi(Ee)||!!Q.dom.getParent(Ee,mi)},va=Q=>{const Ee=Q.selection.getRng();return Wr(Ee.startContainer)&&Ee.collapsed&&Ee.startOffset===0},Cs=Q=>!Sr(Q)&&Q.dom.isEditable(Q.selection.getNode()),za=Q=>he.from(Q.dom.getParent(Q.selection.getNode(),Wr)),ws=Q=>za(Q).isSome(),As=Q=>(Q.innerHTML='
    ',Q),Aa=Q=>As(Q.dom.create("p")),Kn=Q=>As(Q.dom.create("summary")),Os=(Q,Ee)=>{const bt=Aa(Q);Ee.insertAdjacentElement("afterend",bt),Q.selection.setCursorLocation(bt,0)},Ma=(Q,Ee)=>{if(mi(Ee?.lastChild)){const bt=Aa(Q);Ee.appendChild(bt),Q.selection.setCursorLocation(bt,0)}},Ca=(Q,Ee)=>{if(!mi(Ee?.firstChild)){const bt=Kn(Q);Ee.prepend(bt),Q.selection.setCursorLocation(bt,0)}},ds=Q=>Ee=>{Ma(Q,Ee),Ca(Q,Ee)},xa=Q=>{Zs.each(Zs.grep(Q.dom.select("details",Q.getBody())),ds(Q))},Rn=Q=>{if(!Cs(Q))return;const Ee=We.fromDom(Q.getBody()),bt=Po("acc"),wo=Q.dom.encode(Q.selection.getRng().toString()||Q.translate("Accordion summary...")),Zn=Q.dom.encode(Q.translate("Accordion body...")),U=`${wo}`,oe=`<${Xs} class="${ra}">

    ${Zn}

    `;Q.undoManager.transact(()=>{Q.insertContent([`
    `,U,oe,"
    "].join("")),Ae(Ee,`[data-mce-id="${bt}"]`).each(xe=>{oo(xe,"data-mce-id"),Ae(xe,"summary").each(xt=>{const po=Q.dom.createRng(),Yn=nn(xt);po.setStart(Yn.element.dom,Yn.offset),po.setEnd(Yn.element.dom,Yn.offset),Q.selection.setRng(po)})})})},Hi=(Q,Ee)=>{const bt=Ee??!rr(Q);return bt?Q.setAttribute("open","open"):Q.removeAttribute("open"),bt},Bn=(Q,Ee)=>{za(Q).each(bt=>{Go(Q,bt,Hi(bt,Ee))})},ji=Q=>{za(Q).each(Ee=>{const{nextSibling:bt}=Ee;bt?(Q.selection.select(bt,!0),Q.selection.collapse(!0)):Os(Q,Ee),Ee.remove()})},go=(Q,Ee)=>{const bt=Array.from(Q.getBody().querySelectorAll("details"));bt.length!==0&&(de(bt,wo=>Hi(wo,Ee??!rr(wo))),hn(Q,bt,Ee))},aa=Q=>{Q.addCommand("InsertAccordion",()=>Rn(Q)),Q.addCommand("ToggleAccordion",(Ee,bt)=>Bn(Q,bt)),Q.addCommand("ToggleAllAccordions",(Ee,bt)=>go(Q,bt)),Q.addCommand("RemoveAccordion",()=>ji(Q))};var Ss=tinymce.util.Tools.resolve("tinymce.html.Node");const Ir=Q=>{var Ee,bt;return(bt=(Ee=Q.attr("class"))===null||Ee===void 0?void 0:Ee.split(" "))!==null&&bt!==void 0?bt:[]},gi=(Q,Ee)=>{const bt=new Set([...Ir(Q),...Ee]),wo=Array.from(bt);wo.length>0&&Q.attr("class",wo.join(" "))},sc=(Q,Ee)=>{const bt=rt(Ir(Q),wo=>!Ee.has(wo));Q.attr("class",bt.length>0?bt.join(" "):null)},Pr=Q=>Q.name===wn&&me(Ir(Q),Un),ne=Q=>Q.name===Xs&&me(Ir(Q),ra),Be=Q=>{const Ee=Q.children();let bt,wo;const Zn=[];for(let U=0;U{const Ee=new Ss("br",1);Ee.attr("data-mce-bogus","1"),Q.empty(),Q.append(Ee)},Nt=Q=>{Q.on("PreInit",()=>{const{serializer:Ee,parser:bt}=Q;bt.addNodeFilter(wn,wo=>{for(let Zn=0;Zn0)for(let Js=0;Js{const Zn=new Set([Ar]);for(let U=0;U{Q.on("keydown",Ee=>{(!Ee.shiftKey&&Ee.keyCode===ho.ENTER&&Sr(Q)||va(Q))&&(Ee.preventDefault(),Q.execCommand("ToggleAccordion"))})},kn=Q=>{bn(Q),Q.on("ExecCommand",Ee=>{const bt=Ee.command.toLowerCase();(bt==="delete"||bt==="forwarddelete")&&ws(Q)&&xa(Q)})};var _r=tinymce.util.Tools.resolve("tinymce.Env");const Or=Q=>{_r.browser.isSafari()&&Q.on("click",Ee=>{if(mi(Ee.target)){const bt=Ee.target,wo=Q.selection.getRng();wo.collapsed&&wo.startContainer===bt.parentNode&&wo.startOffset===0&&Q.selection.setCursorLocation(bt,0)}})},Sa=Q=>Ee=>{const bt=()=>Ee.setEnabled(Cs(Q));return Q.on("NodeChange",bt),()=>Q.off("NodeChange",bt)},ma=Q=>{const Ee=()=>Q.execCommand("InsertAccordion");Q.ui.registry.addButton("accordion",{icon:"accordion",tooltip:"Insert accordion",onSetup:Sa(Q),onAction:Ee}),Q.ui.registry.addMenuItem("accordion",{icon:"accordion",text:"Accordion",onSetup:Sa(Q),onAction:Ee}),Q.ui.registry.addToggleButton("accordiontoggle",{icon:"accordion-toggle",tooltip:"Toggle accordion",onAction:()=>Q.execCommand("ToggleAccordion")}),Q.ui.registry.addToggleButton("accordionremove",{icon:"remove",tooltip:"Delete accordion",onAction:()=>Q.execCommand("RemoveAccordion")}),Q.ui.registry.addContextToolbar("accordion",{predicate:bt=>Q.dom.is(bt,"details")&&Q.getBody().contains(bt)&&Q.dom.isEditable(bt.parentNode),items:"accordiontoggle accordionremove",scope:"node",position:"node"})};var Ga=()=>{xo.add("accordion",Q=>{ma(Q),aa(Q),kn(Q),Nt(Q),Or(Q)})};Ga()})();(function(){var xo=tinymce.util.Tools.resolve("tinymce.PluginManager");const Ko=(qe,Je,lt)=>{const Mt=Je==="UL"?"InsertUnorderedList":"InsertOrderedList";qe.execCommand(Mt,!1,lt===!1?null:{"list-style-type":lt})},Po=qe=>{qe.addCommand("ApplyUnorderedListStyle",(Je,lt)=>{Ko(qe,"UL",lt["list-style-type"])}),qe.addCommand("ApplyOrderedListStyle",(Je,lt)=>{Ko(qe,"OL",lt["list-style-type"])})},en=qe=>Je=>Je.options.get(qe),tn=qe=>{const Je=qe.options.register;Je("advlist_number_styles",{processor:"string[]",default:"default,lower-alpha,lower-greek,lower-roman,upper-alpha,upper-roman".split(",")}),Je("advlist_bullet_styles",{processor:"string[]",default:"default,circle,square".split(",")})},to=en("advlist_number_styles"),Lo=en("advlist_bullet_styles"),jt=qe=>qe==null,Co=qe=>!jt(qe);var Ro=tinymce.util.Tools.resolve("tinymce.util.Tools");class jo{constructor(Je,lt){this.tag=Je,this.value=lt}static some(Je){return new jo(!0,Je)}static none(){return jo.singletonNone}fold(Je,lt){return this.tag?lt(this.value):Je()}isSome(){return this.tag}isNone(){return!this.tag}map(Je){return this.tag?jo.some(Je(this.value)):jo.none()}bind(Je){return this.tag?Je(this.value):jo.none()}exists(Je){return this.tag&&Je(this.value)}forall(Je){return!this.tag||Je(this.value)}filter(Je){return!this.tag||Je(this.value)?this:jo.none()}getOr(Je){return this.tag?this.value:Je}or(Je){return this.tag?this:Je}getOrThunk(Je){return this.tag?this.value:Je()}orThunk(Je){return this.tag?this:Je()}getOrDie(Je){if(this.tag)return this.value;throw new Error(Je??"Called getOrDie on None")}static from(Je){return Co(Je)?jo.some(Je):jo.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(Je){this.tag&&Je(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}jo.singletonNone=new jo(!1);const an=(qe,Je,lt)=>{for(let Mt=0,ht=qe.length;Mt/\btox\-/.test(qe.className),Ue=(qe,Je)=>qe.dom.isChildOf(Je,qe.getBody()),it=qe=>Je=>Co(Je)&&qe.test(Je.nodeName),So=it(/^(OL|UL|DL)$/),co=it(/^(TH|TD)$/),he=(qe,Je,lt)=>an(Je,Mt=>So(Mt)&&!Ao(Mt),co).exists(Mt=>Mt.nodeName===lt&&Ue(qe,Mt)),Dt=qe=>{const Je=qe.dom.getParent(qe.selection.getNode(),"ol,ul"),lt=qe.dom.getStyle(Je,"listStyleType");return jo.from(lt)},fo=(qe,Je)=>Je!==null&&!qe.dom.isEditable(Je),me=(qe,Je)=>{const lt=qe.dom.getParent(Je,"ol,ul,dl");return fo(qe,lt)&&qe.selection.isEditable()},Ze=(qe,Je)=>{const lt=qe.selection.getNode();return Je({parents:qe.dom.getParents(lt),element:lt}),qe.on("NodeChange",Je),()=>qe.off("NodeChange",Je)},de=qe=>qe.replace(/\-/g," ").replace(/\b\w/g,Je=>Je.toUpperCase()),rt=qe=>jt(qe)||qe==="default"?"":qe,Yo=(qe,Je)=>lt=>{const Mt=(Rt,uo)=>{const Bt=Rt.selection.getStart(!0);lt.setActive(he(Rt,uo,Je)),lt.setEnabled(!me(Rt,Bt)&&Rt.selection.isEditable())};return Ze(qe,Rt=>Mt(qe,Rt.parents))},$t=(qe,Je,lt,Mt,ht,Rt)=>{qe.ui.registry.addSplitButton(Je,{tooltip:lt,icon:ht==="OL"?"ordered-list":"unordered-list",presets:"listpreview",columns:3,fetch:uo=>{const Bt=Ro.map(Rt,V=>{const dt=ht==="OL"?"num":"bull",Ie=V==="disc"||V==="decimal"?"default":V,_o=rt(V),Pt=de(V);return{type:"choiceitem",value:_o,icon:"list-"+dt+"-"+Ie,text:Pt}});uo(Bt)},onAction:()=>qe.execCommand(Mt),onItemAction:(uo,Bt)=>{Ko(qe,ht,Bt)},select:uo=>Dt(qe).map(V=>uo===V).getOr(!1),onSetup:Yo(qe,ht)})},gn=(qe,Je,lt,Mt,ht,Rt)=>{qe.ui.registry.addToggleButton(Je,{active:!1,tooltip:lt,icon:ht==="OL"?"ordered-list":"unordered-list",onSetup:Yo(qe,ht),onAction:()=>qe.queryCommandState(Mt)||Rt===""?qe.execCommand(Mt):Ko(qe,ht,Rt)})},Bo=(qe,Je,lt,Mt,ht,Rt)=>{Rt.length>1?$t(qe,Je,lt,Mt,ht,Rt):gn(qe,Je,lt,Mt,ht,rt(Rt[0]))},Ct=qe=>{Bo(qe,"numlist","Numbered list","InsertOrderedList","OL",to(qe)),Bo(qe,"bullist","Bullet list","InsertUnorderedList","UL",Lo(qe))};var R=()=>{xo.add("advlist",qe=>{qe.hasPlugin("lists")?(tn(qe),Ct(qe),Po(qe)):console.error("Please use the Lists plugin together with the Advanced List plugin.")})};R()})();(function(){var xo=tinymce.util.Tools.resolve("tinymce.PluginManager"),Ko=tinymce.util.Tools.resolve("tinymce.dom.RangeUtils"),Po=tinymce.util.Tools.resolve("tinymce.util.Tools");const en=qe=>Je=>Je.options.get(qe),tn=qe=>{const Je=qe.options.register;Je("allow_html_in_named_anchor",{processor:"boolean",default:!1})},to=en("allow_html_in_named_anchor"),Lo="a:not([href])",jt=qe=>!qe,Co=qe=>qe.getAttribute("id")||qe.getAttribute("name")||"",Ro=qe=>qe.nodeName.toLowerCase()==="a",jo=qe=>Ro(qe)&&!qe.getAttribute("href")&&Co(qe)!=="",an=qe=>jo(qe)&&!qe.firstChild,Ao=qe=>{const Je=qe.dom;Ko(Je).walk(qe.selection.getRng(),lt=>{Po.each(lt,Mt=>{an(Mt)&&Je.remove(Mt,!1)})})},Ue=qe=>/^[A-Za-z][A-Za-z0-9\-:._]*$/.test(qe),it=qe=>qe.dom.getParent(qe.selection.getStart(),Lo),So=qe=>{const Je=it(qe);return Je?Co(Je):""},co=(qe,Je)=>{qe.undoManager.transact(()=>{to(qe)||qe.selection.collapse(!0),qe.selection.isCollapsed()?qe.insertContent(qe.dom.createHTML("a",{id:Je})):(Ao(qe),qe.formatter.remove("namedAnchor",void 0,void 0,!0),qe.formatter.apply("namedAnchor",{value:Je}),qe.addVisual())})},he=(qe,Je,lt)=>{lt.removeAttribute("name"),lt.id=Je,qe.addVisual(),qe.undoManager.add()},Dt=(qe,Je)=>{const lt=it(qe);lt?he(qe,Je,lt):co(qe,Je),qe.focus()},fo=(qe,Je)=>Ue(Je)?(Dt(qe,Je),!0):(qe.windowManager.alert("ID should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores."),!1),me=qe=>{const Je=So(qe);qe.windowManager.open({title:"Anchor",size:"normal",body:{type:"panel",items:[{name:"id",type:"input",label:"ID",placeholder:"example"}]},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:{id:Je},onSubmit:lt=>{fo(qe,lt.getData().id)&<.close()}})},Ze=qe=>{qe.addCommand("mceAnchor",()=>{me(qe)})},de=qe=>jt(qe.attr("href"))&&!jt(qe.attr("id")||qe.attr("name")),rt=qe=>de(qe)&&!qe.firstChild,Yo=qe=>Je=>{for(let lt=0;lt{qe.on("PreInit",()=>{qe.parser.addNodeFilter("a",Yo("false")),qe.serializer.addNodeFilter("a",Yo(null))})},gn=qe=>{qe.formatter.register("namedAnchor",{inline:"a",selector:Lo,remove:"all",split:!0,deep:!0,attributes:{id:"%value"},onmatch:(Je,lt,Mt)=>jo(Je)})},Bo=qe=>Je=>{const lt=()=>{Je.setEnabled(qe.selection.isEditable())};return qe.on("NodeChange",lt),lt(),()=>{qe.off("NodeChange",lt)}},Ct=qe=>{const Je=()=>qe.execCommand("mceAnchor");qe.ui.registry.addToggleButton("anchor",{icon:"bookmark",tooltip:"Anchor",onAction:Je,onSetup:lt=>{const Mt=qe.selection.selectorChangedWithUnbind("a:not([href])",lt.setActive).unbind,ht=Bo(qe)(lt);return()=>{Mt(),ht()}}}),qe.ui.registry.addMenuItem("anchor",{icon:"bookmark",text:"Anchor...",onAction:Je,onSetup:Bo(qe)})};var R=()=>{xo.add("anchor",qe=>{tn(qe),$t(qe),Ze(qe),Ct(qe),qe.on("PreInit",()=>{gn(qe)})})};R()})();(function(){var xo=tinymce.util.Tools.resolve("tinymce.PluginManager");const Ko=()=>/(?:[A-Za-z][A-Za-z\d.+-]{0,14}:\/\/(?:[-.~*+=!&;:'%@?^${}(),\w]+@)?|www\.|[-;:&=+$,.\w]+@)[A-Za-z\d-]+(?:\.[A-Za-z\d-]+)*(?::\d+)?(?:\/(?:[-.~*+=!;:'%@$(),\/\w]*[-~*+=%@$()\/\w])?)?(?:\?(?:[-.~*+=!&;:'%@?^${}(),\/\w]+))?(?:#(?:[-.~*+=!&;:'%@?^${}(),\/\w]+))?/g,Po=Ie=>_o=>_o.options.get(Ie),en=Ie=>{const _o=Ie.options.register;_o("autolink_pattern",{processor:"regexp",default:new RegExp("^"+Ko().source+"$","i")}),_o("link_default_target",{processor:"string"}),_o("link_default_protocol",{processor:"string",default:"https"})},tn=Po("autolink_pattern"),to=Po("link_default_target"),Lo=Po("link_default_protocol"),jt=Po("allow_unsafe_link_target"),Co=(Ie,_o,Pt)=>{var lo;return Pt(Ie,_o.prototype)?!0:((lo=Ie.constructor)===null||lo===void 0?void 0:lo.name)===_o.name},Ro=Ie=>{const _o=typeof Ie;return Ie===null?"null":_o==="object"&&Array.isArray(Ie)?"array":_o==="object"&&Co(Ie,String,(Pt,lo)=>lo.isPrototypeOf(Pt))?"string":_o},jo=Ie=>_o=>Ro(_o)===Ie,an=Ie=>_o=>Ie===_o,Ao=jo("string"),Ue=an(void 0),it=Ie=>Ie==null,So=Ie=>!it(Ie),co=Ie=>_o=>!Ie(_o),he=Object.hasOwnProperty,Dt=(Ie,_o)=>he.call(Ie,_o),fo=(Ie,_o,Pt)=>_o===""||Ie.length>=_o.length&&Ie.substr(Pt,Pt+_o.length)===_o,me=(Ie,_o,Pt=0,lo)=>{const To=Ie.indexOf(_o,Pt);return To!==-1?Ue(lo)?!0:To+_o.length<=lo:!1},Ze=(Ie,_o)=>fo(Ie,_o,0),de="\uFEFF",rt=Ie=>Ie===de,Yo=Ie=>Ie.replace(/\uFEFF/g,"");var $t=tinymce.util.Tools.resolve("tinymce.dom.TextSeeker");const gn=Ie=>Ie.nodeType===3,Bo=Ie=>Ie.nodeType===1,Ct=Ie=>/^[(\[{ \u00a0]$/.test(Ie),R=Ie=>/^([A-Za-z][A-Za-z\d.+-]*:\/\/)|mailto:/.test(Ie),qe=Ie=>/[?!,.;:]/.test(Ie),Je=(Ie,_o,Pt)=>{for(let lo=_o-1;lo>=0;lo--){const To=Ie.charAt(lo);if(!rt(To)&&Pt(To))return lo}return-1},lt=(Ie,_o)=>{let Pt=Ie,lo=_o;for(;Bo(Pt)&&Pt.childNodes[lo];)Pt=Pt.childNodes[lo],lo=gn(Pt)?Pt.data.length:Pt.childNodes.length;return{container:Pt,offset:lo}},Mt=(Ie,_o)=>{var Pt;const lo=Ie.schema.getVoidElements(),To=tn(Ie),{dom:oo,selection:Se}=Ie;if(oo.getParent(Se.getNode(),"a[href]")!==null)return null;const $e=Se.getRng(),ct=$t(oo,Ge=>oo.isBlock(Ge)||Dt(lo,Ge.nodeName.toLowerCase())||oo.getContentEditable(Ge)==="false"),{container:gt,offset:pe}=lt($e.endContainer,$e.endOffset),Oe=(Pt=oo.getParent(gt,oo.isBlock))!==null&&Pt!==void 0?Pt:oo.getRoot(),We=ct.backwards(gt,pe+_o,(Ge,Gt)=>{const Vt=Ge.data,Xo=Je(Vt,Gt,co(Ct));return Xo===-1||qe(Vt[Xo])?Xo:Xo+1},Oe);if(!We)return null;let Fe=We.container;const ge=ct.backwards(We.container,We.offset,(Ge,Gt)=>{Fe=Ge;const Vt=Je(Ge.data,Gt,Ct);return Vt===-1?Vt:Vt+1},Oe),Me=oo.createRng();ge?Me.setStart(ge.container,ge.offset):Me.setStart(Fe,0),Me.setEnd(We.container,We.offset);const ze=Yo(Me.toString()).match(To);if(ze){let Ge=ze[0];return Ze(Ge,"www.")?Ge=Lo(Ie)+"://"+Ge:me(Ge,"@")&&!R(Ge)&&(Ge="mailto:"+Ge),{rng:Me,url:Ge}}else return null},ht=(Ie,_o)=>{const{dom:Pt,selection:lo}=Ie,{rng:To,url:oo}=_o,Se=lo.getBookmark();lo.setRng(To);const $e="createlink",ct={command:$e,ui:!1,value:oo};if(!Ie.dispatch("BeforeExecCommand",ct).isDefaultPrevented()){Ie.getDoc().execCommand($e,!1,oo),Ie.dispatch("ExecCommand",ct);const pe=to(Ie);if(Ao(pe)){const Oe=lo.getNode();Pt.setAttrib(Oe,"target",pe),pe==="_blank"&&!jt(Ie)&&Pt.setAttrib(Oe,"rel","noopener")}}lo.moveToBookmark(Se),Ie.nodeChanged()},Rt=Ie=>{const _o=Mt(Ie,-1);So(_o)&&ht(Ie,_o)},uo=Rt,Bt=Ie=>{const _o=Mt(Ie,0);So(_o)&&ht(Ie,_o)},V=Ie=>{Ie.on("keydown",_o=>{_o.keyCode===13&&!_o.isDefaultPrevented()&&Bt(Ie)}),Ie.on("keyup",_o=>{_o.keyCode===32?Rt(Ie):(_o.keyCode===48&&_o.shiftKey||_o.keyCode===221)&&uo(Ie)})};var dt=()=>{xo.add("autolink",Ie=>{en(Ie),V(Ie)})};dt()})();(function(){var xo=tinymce.util.Tools.resolve("tinymce.PluginManager");const Ko=(ht,Rt,uo)=>{var Bt;return uo(ht,Rt.prototype)?!0:((Bt=ht.constructor)===null||Bt===void 0?void 0:Bt.name)===Rt.name},Po=ht=>{const Rt=typeof ht;return ht===null?"null":Rt==="object"&&Array.isArray(ht)?"array":Rt==="object"&&Ko(ht,String,(uo,Bt)=>Bt.isPrototypeOf(uo))?"string":Rt},en=ht=>Rt=>Po(Rt)===ht,tn=ht=>Rt=>ht===Rt,to=en("string"),Lo=tn(void 0);var jt=tinymce.util.Tools.resolve("tinymce.util.Delay"),Co=tinymce.util.Tools.resolve("tinymce.util.LocalStorage"),Ro=tinymce.util.Tools.resolve("tinymce.util.Tools");const jo=ht=>ht.dispatch("RestoreDraft"),an=ht=>ht.dispatch("StoreDraft"),Ao=ht=>ht.dispatch("RemoveDraft"),Ue=ht=>{const Rt={s:1e3,m:6e4},uo=/^(\d+)([ms]?)$/.exec(ht);return(uo&&uo[2]?Rt[uo[2]]:1)*parseInt(ht,10)},it=ht=>Rt=>Rt.options.get(ht),So=ht=>{const Rt=ht.options.register,uo=Bt=>{const V=to(Bt);return V?{value:Ue(Bt),valid:V}:{valid:!1,message:"Must be a string."}};Rt("autosave_ask_before_unload",{processor:"boolean",default:!0}),Rt("autosave_prefix",{processor:"string",default:"tinymce-autosave-{path}{query}{hash}-{id}-"}),Rt("autosave_restore_when_empty",{processor:"boolean",default:!1}),Rt("autosave_interval",{processor:uo,default:"30s"}),Rt("autosave_retention",{processor:uo,default:"20m"})},co=it("autosave_ask_before_unload"),he=it("autosave_restore_when_empty"),Dt=it("autosave_interval"),fo=it("autosave_retention"),me=ht=>{const Rt=document.location;return ht.options.get("autosave_prefix").replace(/{path}/g,Rt.pathname).replace(/{query}/g,Rt.search).replace(/{hash}/g,Rt.hash).replace(/{id}/g,ht.id)},Ze=(ht,Rt)=>{if(Lo(Rt))return ht.dom.isEmpty(ht.getBody());{const uo=Ro.trim(Rt);if(uo==="")return!0;{const Bt=new DOMParser().parseFromString(uo,"text/html");return ht.dom.isEmpty(Bt)}}},de=ht=>{var Rt;const uo=parseInt((Rt=Co.getItem(me(ht)+"time"))!==null&&Rt!==void 0?Rt:"0",10)||0;return new Date().getTime()-uo>fo(ht)?(rt(ht,!1),!1):!0},rt=(ht,Rt)=>{const uo=me(ht);Co.removeItem(uo+"draft"),Co.removeItem(uo+"time"),Rt!==!1&&Ao(ht)},Yo=ht=>{const Rt=me(ht);!Ze(ht)&&ht.isDirty()&&(Co.setItem(Rt+"draft",ht.getContent({format:"raw",no_events:!0})),Co.setItem(Rt+"time",new Date().getTime().toString()),an(ht))},$t=ht=>{var Rt;const uo=me(ht);de(ht)&&(ht.setContent((Rt=Co.getItem(uo+"draft"))!==null&&Rt!==void 0?Rt:"",{format:"raw"}),jo(ht))},gn=ht=>{const Rt=Dt(ht);jt.setEditorInterval(ht,()=>{Yo(ht)},Rt)},Bo=ht=>{ht.undoManager.transact(()=>{$t(ht),rt(ht)}),ht.focus()},Ct=ht=>({hasDraft:()=>de(ht),storeDraft:()=>Yo(ht),restoreDraft:()=>$t(ht),removeDraft:Rt=>rt(ht,Rt),isEmpty:Rt=>Ze(ht,Rt)});var R=tinymce.util.Tools.resolve("tinymce.EditorManager");const qe=ht=>{ht.editorManager.on("BeforeUnload",Rt=>{let uo;Ro.each(R.get(),Bt=>{Bt.plugins.autosave&&Bt.plugins.autosave.storeDraft(),!uo&&Bt.isDirty()&&co(Bt)&&(uo=Bt.translate("You have unsaved changes are you sure you want to navigate away?"))}),uo&&(Rt.preventDefault(),Rt.returnValue=uo)})},Je=ht=>Rt=>{Rt.setEnabled(de(ht));const uo=()=>Rt.setEnabled(de(ht));return ht.on("StoreDraft RestoreDraft RemoveDraft",uo),()=>ht.off("StoreDraft RestoreDraft RemoveDraft",uo)},lt=ht=>{gn(ht);const Rt=()=>{Bo(ht)};ht.ui.registry.addButton("restoredraft",{tooltip:"Restore last draft",icon:"restore-draft",onAction:Rt,onSetup:Je(ht)}),ht.ui.registry.addMenuItem("restoredraft",{text:"Restore last draft",icon:"restore-draft",onAction:Rt,onSetup:Je(ht)})};var Mt=()=>{xo.add("autosave",ht=>(So(ht),qe(ht),lt(ht),ht.on("init",()=>{he(ht)&&ht.dom.isEmpty(ht.getBody())&&$t(ht)}),Ct(ht)))};Mt()})();(function(){var xo=tinymce.util.Tools.resolve("tinymce.PluginManager");const Ko=(pe,Oe)=>pe.dispatch("insertCustomChar",{chr:Oe}),Po=(pe,Oe)=>{const We=Ko(pe,Oe).chr;pe.execCommand("mceInsertContent",!1,We)},en=(pe,Oe,We)=>{var Fe;return We(pe,Oe.prototype)?!0:((Fe=pe.constructor)===null||Fe===void 0?void 0:Fe.name)===Oe.name},tn=pe=>{const Oe=typeof pe;return pe===null?"null":Oe==="object"&&Array.isArray(pe)?"array":Oe==="object"&&en(pe,String,(We,Fe)=>Fe.isPrototypeOf(We))?"string":Oe},to=pe=>Oe=>tn(Oe)===pe,Lo=pe=>Oe=>typeof Oe===pe,jt=pe=>Oe=>pe===Oe,Co=to("array"),Ro=jt(null),jo=jt(void 0),an=pe=>pe==null,Ao=pe=>!an(pe),Ue=Lo("function"),So=(pe=>()=>pe)(!1);class co{constructor(Oe,We){this.tag=Oe,this.value=We}static some(Oe){return new co(!0,Oe)}static none(){return co.singletonNone}fold(Oe,We){return this.tag?We(this.value):Oe()}isSome(){return this.tag}isNone(){return!this.tag}map(Oe){return this.tag?co.some(Oe(this.value)):co.none()}bind(Oe){return this.tag?Oe(this.value):co.none()}exists(Oe){return this.tag&&Oe(this.value)}forall(Oe){return!this.tag||Oe(this.value)}filter(Oe){return!this.tag||Oe(this.value)?this:co.none()}getOr(Oe){return this.tag?this.value:Oe}or(Oe){return this.tag?this:Oe}getOrThunk(Oe){return this.tag?this.value:Oe()}orThunk(Oe){return this.tag?this:Oe()}getOrDie(Oe){if(this.tag)return this.value;throw new Error(Oe??"Called getOrDie on None")}static from(Oe){return Ao(Oe)?co.some(Oe):co.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(Oe){this.tag&&Oe(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}co.singletonNone=new co(!1);const he=Array.prototype.push,Dt=(pe,Oe)=>{const We=pe.length,Fe=new Array(We);for(let ge=0;ge{for(let We=0,Fe=pe.length;We{for(let Fe=0,ge=pe.length;Feme(pe,Oe,So),de=pe=>{const Oe=[];for(let We=0,Fe=pe.length;Wede(Dt(pe,Oe));var Yo=tinymce.util.Tools.resolve("tinymce.util.Tools");const $t=pe=>Oe=>Oe.options.get(pe),gn=pe=>{const Oe=pe.options.register,We=Fe=>Ue(Fe)||Co(Fe);Oe("charmap",{processor:We}),Oe("charmap_append",{processor:We})},Bo=$t("charmap"),Ct=$t("charmap_append"),R=Yo.isArray,qe="User Defined",Je=()=>[{name:"Currency",characters:[[36,"dollar sign"],[162,"cent sign"],[8364,"euro sign"],[163,"pound sign"],[165,"yen sign"],[164,"currency sign"],[8352,"euro-currency sign"],[8353,"colon sign"],[8354,"cruzeiro sign"],[8355,"french franc sign"],[8356,"lira sign"],[8357,"mill sign"],[8358,"naira sign"],[8359,"peseta sign"],[8360,"rupee sign"],[8361,"won sign"],[8362,"new sheqel sign"],[8363,"dong sign"],[8365,"kip sign"],[8366,"tugrik sign"],[8367,"drachma sign"],[8368,"german penny symbol"],[8369,"peso sign"],[8370,"guarani sign"],[8371,"austral sign"],[8372,"hryvnia sign"],[8373,"cedi sign"],[8374,"livre tournois sign"],[8375,"spesmilo sign"],[8376,"tenge sign"],[8377,"indian rupee sign"],[8378,"turkish lira sign"],[8379,"nordic mark sign"],[8380,"manat sign"],[8381,"ruble sign"],[20870,"yen character"],[20803,"yuan character"],[22291,"yuan character, in hong kong and taiwan"],[22278,"yen/yuan character variant one"]]},{name:"Text",characters:[[169,"copyright sign"],[174,"registered sign"],[8482,"trade mark sign"],[8240,"per mille sign"],[181,"micro sign"],[183,"middle dot"],[8226,"bullet"],[8230,"three dot leader"],[8242,"minutes / feet"],[8243,"seconds / inches"],[167,"section sign"],[182,"paragraph sign"],[223,"sharp s / ess-zed"]]},{name:"Quotations",characters:[[8249,"single left-pointing angle quotation mark"],[8250,"single right-pointing angle quotation mark"],[171,"left pointing guillemet"],[187,"right pointing guillemet"],[8216,"left single quotation mark"],[8217,"right single quotation mark"],[8220,"left double quotation mark"],[8221,"right double quotation mark"],[8218,"single low-9 quotation mark"],[8222,"double low-9 quotation mark"],[60,"less-than sign"],[62,"greater-than sign"],[8804,"less-than or equal to"],[8805,"greater-than or equal to"],[8211,"en dash"],[8212,"em dash"],[175,"macron"],[8254,"overline"],[164,"currency sign"],[166,"broken bar"],[168,"diaeresis"],[161,"inverted exclamation mark"],[191,"turned question mark"],[710,"circumflex accent"],[732,"small tilde"],[176,"degree sign"],[8722,"minus sign"],[177,"plus-minus sign"],[247,"division sign"],[8260,"fraction slash"],[215,"multiplication sign"],[185,"superscript one"],[178,"superscript two"],[179,"superscript three"],[188,"fraction one quarter"],[189,"fraction one half"],[190,"fraction three quarters"]]},{name:"Mathematical",characters:[[402,"function / florin"],[8747,"integral"],[8721,"n-ary sumation"],[8734,"infinity"],[8730,"square root"],[8764,"similar to"],[8773,"approximately equal to"],[8776,"almost equal to"],[8800,"not equal to"],[8801,"identical to"],[8712,"element of"],[8713,"not an element of"],[8715,"contains as member"],[8719,"n-ary product"],[8743,"logical and"],[8744,"logical or"],[172,"not sign"],[8745,"intersection"],[8746,"union"],[8706,"partial differential"],[8704,"for all"],[8707,"there exists"],[8709,"diameter"],[8711,"backward difference"],[8727,"asterisk operator"],[8733,"proportional to"],[8736,"angle"]]},{name:"Extended Latin",characters:[[192,"A - grave"],[193,"A - acute"],[194,"A - circumflex"],[195,"A - tilde"],[196,"A - diaeresis"],[197,"A - ring above"],[256,"A - macron"],[198,"ligature AE"],[199,"C - cedilla"],[200,"E - grave"],[201,"E - acute"],[202,"E - circumflex"],[203,"E - diaeresis"],[274,"E - macron"],[204,"I - grave"],[205,"I - acute"],[206,"I - circumflex"],[207,"I - diaeresis"],[298,"I - macron"],[208,"ETH"],[209,"N - tilde"],[210,"O - grave"],[211,"O - acute"],[212,"O - circumflex"],[213,"O - tilde"],[214,"O - diaeresis"],[216,"O - slash"],[332,"O - macron"],[338,"ligature OE"],[352,"S - caron"],[217,"U - grave"],[218,"U - acute"],[219,"U - circumflex"],[220,"U - diaeresis"],[362,"U - macron"],[221,"Y - acute"],[376,"Y - diaeresis"],[562,"Y - macron"],[222,"THORN"],[224,"a - grave"],[225,"a - acute"],[226,"a - circumflex"],[227,"a - tilde"],[228,"a - diaeresis"],[229,"a - ring above"],[257,"a - macron"],[230,"ligature ae"],[231,"c - cedilla"],[232,"e - grave"],[233,"e - acute"],[234,"e - circumflex"],[235,"e - diaeresis"],[275,"e - macron"],[236,"i - grave"],[237,"i - acute"],[238,"i - circumflex"],[239,"i - diaeresis"],[299,"i - macron"],[240,"eth"],[241,"n - tilde"],[242,"o - grave"],[243,"o - acute"],[244,"o - circumflex"],[245,"o - tilde"],[246,"o - diaeresis"],[248,"o slash"],[333,"o macron"],[339,"ligature oe"],[353,"s - caron"],[249,"u - grave"],[250,"u - acute"],[251,"u - circumflex"],[252,"u - diaeresis"],[363,"u - macron"],[253,"y - acute"],[254,"thorn"],[255,"y - diaeresis"],[563,"y - macron"],[913,"Alpha"],[914,"Beta"],[915,"Gamma"],[916,"Delta"],[917,"Epsilon"],[918,"Zeta"],[919,"Eta"],[920,"Theta"],[921,"Iota"],[922,"Kappa"],[923,"Lambda"],[924,"Mu"],[925,"Nu"],[926,"Xi"],[927,"Omicron"],[928,"Pi"],[929,"Rho"],[931,"Sigma"],[932,"Tau"],[933,"Upsilon"],[934,"Phi"],[935,"Chi"],[936,"Psi"],[937,"Omega"],[945,"alpha"],[946,"beta"],[947,"gamma"],[948,"delta"],[949,"epsilon"],[950,"zeta"],[951,"eta"],[952,"theta"],[953,"iota"],[954,"kappa"],[955,"lambda"],[956,"mu"],[957,"nu"],[958,"xi"],[959,"omicron"],[960,"pi"],[961,"rho"],[962,"final sigma"],[963,"sigma"],[964,"tau"],[965,"upsilon"],[966,"phi"],[967,"chi"],[968,"psi"],[969,"omega"]]},{name:"Symbols",characters:[[8501,"alef symbol"],[982,"pi symbol"],[8476,"real part symbol"],[978,"upsilon - hook symbol"],[8472,"Weierstrass p"],[8465,"imaginary part"]]},{name:"Arrows",characters:[[8592,"leftwards arrow"],[8593,"upwards arrow"],[8594,"rightwards arrow"],[8595,"downwards arrow"],[8596,"left right arrow"],[8629,"carriage return"],[8656,"leftwards double arrow"],[8657,"upwards double arrow"],[8658,"rightwards double arrow"],[8659,"downwards double arrow"],[8660,"left right double arrow"],[8756,"therefore"],[8834,"subset of"],[8835,"superset of"],[8836,"not a subset of"],[8838,"subset of or equal to"],[8839,"superset of or equal to"],[8853,"circled plus"],[8855,"circled times"],[8869,"perpendicular"],[8901,"dot operator"],[8968,"left ceiling"],[8969,"right ceiling"],[8970,"left floor"],[8971,"right floor"],[9001,"left-pointing angle bracket"],[9002,"right-pointing angle bracket"],[9674,"lozenge"],[9824,"black spade suit"],[9827,"black club suit"],[9829,"black heart suit"],[9830,"black diamond suit"],[8194,"en space"],[8195,"em space"],[8201,"thin space"],[8204,"zero width non-joiner"],[8205,"zero width joiner"],[8206,"left-to-right mark"],[8207,"right-to-left mark"]]}],lt=pe=>Yo.grep(pe,Oe=>R(Oe)&&Oe.length===2),Mt=pe=>R(pe)?lt(pe):typeof pe=="function"?pe():[],ht=(pe,Oe)=>{const We=Bo(pe);We&&(Oe=[{name:qe,characters:Mt(We)}]);const Fe=Ct(pe);if(Fe){const ge=Yo.grep(Oe,Me=>Me.name===qe);return ge.length?(ge[0].characters=[...ge[0].characters,...Mt(Fe)],Oe):Oe.concat({name:qe,characters:Mt(Fe)})}return Oe},Rt=pe=>{const Oe=ht(pe,Je());return Oe.length>1?[{name:"All",characters:rt(Oe,We=>We.characters)}].concat(Oe):Oe},uo=pe=>({getCharMap:()=>Rt(pe),insertChar:Fe=>{Po(pe,Fe)}}),Bt=pe=>{let Oe=pe;return{get:()=>Oe,set:ge=>{Oe=ge}}},V=(pe,Oe)=>{let We=null;const Fe=()=>{Ro(We)||(clearTimeout(We),We=null)};return{cancel:Fe,throttle:(...Me)=>{Fe(),We=setTimeout(()=>{We=null,pe.apply(null,Me)},Oe)}}},dt=(pe,Oe,We=0,Fe)=>{const ge=pe.indexOf(Oe,We);return ge!==-1?jo(Fe)?!0:ge+Oe.length<=Fe:!1},Ie=String.fromCodePoint,_o=(pe,Oe,We)=>dt(Ie(pe).toLowerCase(),We)?!0:dt(Oe.toLowerCase(),We)||dt(Oe.toLowerCase().replace(/\s+/g,""),We),Pt=(pe,Oe)=>{const We=[],Fe=Oe.toLowerCase();return fo(pe.characters,ge=>{_o(ge[0],ge[1],Fe)&&We.push(ge)}),Dt(We,ge=>({text:ge[1],value:Ie(ge[0]),icon:Ie(ge[0])}))},lo="pattern",To=(pe,Oe)=>{const We=()=>[{label:"Search",type:"input",name:lo},{type:"collection",name:"results"}],Fe=()=>Dt(Oe,Gn=>({title:Gn.name,name:Gn.name,items:We()})),ge=()=>({type:"panel",items:We()}),Me=()=>({type:"tabpanel",tabs:Fe()}),at=Oe.length===1?Bt(qe):Bt("All"),ze=(Gn,Pn)=>{Ze(Oe,zn=>zn.name===at.get()).each(zn=>{const ut=Pt(zn,Pn);Gn.setData({results:ut})})},Gt=V(Gn=>{const Pn=Gn.getData().pattern;ze(Gn,Pn)},40),Vt=Oe.length===1?ge():Me(),Xo={pattern:"",results:Pt(Oe[0],"")},$o={title:"Special Character",size:"normal",body:Vt,buttons:[{type:"cancel",name:"close",text:"Close",primary:!0}],initialData:Xo,onAction:(Gn,Pn)=>{Pn.name==="results"&&(Po(pe,Pn.value),Gn.close())},onTabChange:(Gn,Pn)=>{at.set(Pn.newTabName),Gt.throttle(Gn)},onChange:(Gn,Pn)=>{Pn.name===lo&&Gt.throttle(Gn)}};pe.windowManager.open($o).focus(lo)},oo=(pe,Oe)=>{pe.addCommand("mceShowCharmap",()=>{To(pe,Oe)})},Se=(pe,Oe)=>{pe.ui.registry.addAutocompleter("charmap",{trigger:":",columns:"auto",minChars:2,fetch:(We,Fe)=>new Promise((ge,Me)=>{ge(Pt(Oe,We))}),onAction:(We,Fe,ge)=>{pe.selection.setRng(Fe),pe.insertContent(ge),We.hide()}})},$e=pe=>Oe=>{const We=()=>{Oe.setEnabled(pe.selection.isEditable())};return pe.on("NodeChange",We),We(),()=>{pe.off("NodeChange",We)}},ct=pe=>{const Oe=()=>pe.execCommand("mceShowCharmap");pe.ui.registry.addButton("charmap",{icon:"insert-character",tooltip:"Special character",onAction:Oe,onSetup:$e(pe)}),pe.ui.registry.addMenuItem("charmap",{icon:"insert-character",text:"Special character...",onAction:Oe,onSetup:$e(pe)})};var gt=()=>{xo.add("charmap",pe=>{gn(pe);const Oe=Rt(pe);return oo(pe,Oe),ct(pe),Se(pe,Oe[0]),uo(pe)})};gt()})();(function(){var xo=tinymce.util.Tools.resolve("tinymce.PluginManager");const Ko=(jt,Co)=>{jt.focus(),jt.undoManager.transact(()=>{jt.setContent(Co)}),jt.selection.setCursorLocation(),jt.nodeChanged()},Po=jt=>jt.getContent({source_view:!0}),en=jt=>{const Co=Po(jt);jt.windowManager.open({title:"Source Code",size:"large",body:{type:"panel",items:[{type:"textarea",name:"code"}]},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:{code:Co},onSubmit:Ro=>{Ko(jt,Ro.getData().code),Ro.close()}})},tn=jt=>{jt.addCommand("mceCodeEditor",()=>{en(jt)})},to=jt=>{const Co=()=>jt.execCommand("mceCodeEditor");jt.ui.registry.addButton("code",{icon:"sourcecode",tooltip:"Source code",onAction:Co}),jt.ui.registry.addMenuItem("code",{icon:"sourcecode",text:"Source code",onAction:Co})};var Lo=()=>{xo.add("code",jt=>(tn(jt),to(jt),{}))};Lo()})();(function(){var xo=tinymce.util.Tools.resolve("tinymce.PluginManager");const Ko=ge=>Me=>ge===Me,Po=Ko(null),en=Ko(void 0),tn=ge=>ge==null,to=ge=>!tn(ge),Lo=()=>{},Co=(ge=>()=>ge)(!1);class Ro{constructor(Me,at){this.tag=Me,this.value=at}static some(Me){return new Ro(!0,Me)}static none(){return Ro.singletonNone}fold(Me,at){return this.tag?at(this.value):Me()}isSome(){return this.tag}isNone(){return!this.tag}map(Me){return this.tag?Ro.some(Me(this.value)):Ro.none()}bind(Me){return this.tag?Me(this.value):Ro.none()}exists(Me){return this.tag&&Me(this.value)}forall(Me){return!this.tag||Me(this.value)}filter(Me){return!this.tag||Me(this.value)?this:Ro.none()}getOr(Me){return this.tag?this.value:Me}or(Me){return this.tag?this:Me}getOrThunk(Me){return this.tag?this.value:Me()}orThunk(Me){return this.tag?this:Me()}getOrDie(Me){if(this.tag)return this.value;throw new Error(Me??"Called getOrDie on None")}static from(Me){return to(Me)?Ro.some(Me):Ro.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(Me){this.tag&&Me(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}Ro.singletonNone=new Ro(!1);const jo=(ge,Me)=>{for(let at=0,ze=ge.length;at{const at=ge.length,ze=new Array(at);for(let Ge=0;Ge{for(let at=0,ze=ge.length;at{let Me=ge;return{get:()=>Me,set:Ge=>{Me=Ge}}},it=(ge,Me)=>{let at=null;const ze=()=>{Po(at)||(clearTimeout(at),at=null)};return{cancel:ze,throttle:(...Gt)=>{ze(),at=setTimeout(()=>{at=null,ge.apply(null,Gt)},Me)}}},So=(ge,Me)=>{ge.insertContent(Me)},co=Object.keys,he=Object.hasOwnProperty,Dt=(ge,Me)=>{const at=co(ge);for(let ze=0,Ge=at.length;zeme(ge,(at,ze)=>({k:ze,v:Me(at,ze)})),me=(ge,Me)=>{const at={};return Dt(ge,(ze,Ge)=>{const Gt=Me(ze,Ge);at[Gt.k]=Gt.v}),at},Ze=(ge,Me)=>he.call(ge,Me),Yo=(ge=>(...Me)=>{if(Me.length===0)throw new Error("Can't merge zero objects");const at={};for(let ze=0;zeMe),$t=ge=>{const Me=Ue(Ro.none()),at=()=>Me.get().each(ge);return{clear:()=>{at(),Me.set(Ro.none())},isSet:()=>Me.get().isSome(),get:()=>Me.get(),set:Xo=>{at(),Me.set(Ro.some(Xo))}}},gn=()=>{const ge=$t(Lo);return{...ge,on:at=>ge.get().each(at)}},Bo=(ge,Me,at)=>Me===""||ge.length>=Me.length&&ge.substr(at,at+Me.length)===Me,Ct=(ge,Me,at=0,ze)=>{const Ge=ge.indexOf(Me,at);return Ge!==-1?en(ze)?!0:Ge+Me.length<=ze:!1},R=(ge,Me)=>Bo(ge,Me,0);var qe=tinymce.util.Tools.resolve("tinymce.Resource");const Je="tinymce.plugins.emoticons",lt=ge=>Me=>Me.options.get(ge),Mt=(ge,Me)=>{const at=ge.options.register;at("emoticons_database",{processor:"string",default:"emojis"}),at("emoticons_database_url",{processor:"string",default:`${Me}/js/${ht(ge)}${ge.suffix}.js`}),at("emoticons_database_id",{processor:"string",default:Je}),at("emoticons_append",{processor:"object",default:{}}),at("emoticons_images_url",{processor:"string",default:"https://twemoji.maxcdn.com/v/13.0.1/72x72/"})},ht=lt("emoticons_database"),Rt=lt("emoticons_database_url"),uo=lt("emoticons_database_id"),Bt=lt("emoticons_append"),V=lt("emoticons_images_url"),dt="All",Ie={symbols:"Symbols",people:"People",animals_and_nature:"Animals and Nature",food_and_drink:"Food and Drink",activity:"Activity",travel_and_places:"Travel and Places",objects:"Objects",flags:"Flags",user:"User Defined"},_o=(ge,Me)=>Ze(ge,Me)?ge[Me]:Me,Pt=ge=>{const Me=Bt(ge);return fo(Me,at=>({keywords:[],category:"user",...at}))},lo=(ge,Me,at)=>{const ze=gn(),Ge=gn(),Gt=V(ge),Vt=ut=>R(ut.char,"`src="${Gt}${Ft}"`):ut.char,Xo=ut=>{const zt={},Ft=[];Dt(ut,(vo,Xt)=>{const Vo={title:Xt,keywords:vo.keywords,char:Vt(vo),category:_o(Ie,vo.category)},$n=zt[Vo.category]!==void 0?zt[Vo.category]:[];zt[Vo.category]=$n.concat([Vo]),Ft.push(Vo)}),ze.set(zt),Ge.set(Ft)};ge.on("init",()=>{qe.load(at,Me).then(ut=>{const zt=Pt(ge);Xo(Yo(ut,zt))},ut=>{`${ut}`,ze.set({}),Ge.set([])})});const $o=ut=>ut===dt?Zo():ze.get().bind(zt=>Ro.from(zt[ut])).getOr([]),Zo=()=>Ge.get().getOr([]),Gn=()=>[dt].concat(co(ze.get().getOr({}))),Pn=()=>zn()?Promise.resolve(!0):new Promise((ut,zt)=>{let Ft=15;const vo=setInterval(()=>{zn()?(clearInterval(vo),ut(!0)):(Ft--,Ft<0&&(""+Me,clearInterval(vo),zt(!1)))},100)}),zn=()=>ze.isSet()&&Ge.isSet();return{listCategories:Gn,hasLoaded:zn,waitForLoad:Pn,listAll:Zo,listCategory:$o}},To=(ge,Me)=>Ct(ge.title.toLowerCase(),Me)||jo(ge.keywords,at=>Ct(at.toLowerCase(),Me)),oo=(ge,Me,at)=>{const ze=[],Ge=Me.toLowerCase(),Gt=at.fold(()=>Co,Vt=>Xo=>Xo>=Vt);for(let Vt=0;Vt{const at={pattern:"",results:oo(Me.listAll(),"",Ro.some(300))},ze=Ue(dt),Ge=Gn=>{const Pn=Gn.getData(),zn=ze.get(),ut=Me.listCategory(zn),zt=oo(ut,Pn[Se],zn===dt?Ro.some(300):Ro.none());Gn.setData({results:zt})},Gt=it(Gn=>{Ge(Gn)},200),Vt={label:"Search",type:"input",name:Se},Xo={type:"collection",name:"results"},$o=()=>({title:"Emojis",size:"normal",body:{type:"tabpanel",tabs:an(Me.listCategories(),Pn=>({title:Pn,name:Pn,items:[Vt,Xo]}))},initialData:at,onTabChange:(Pn,zn)=>{ze.set(zn.newTabName),Gt.throttle(Pn)},onChange:Gt.throttle,onAction:(Pn,zn)=>{zn.name==="results"&&(So(ge,zn.value),Pn.close())},buttons:[{type:"cancel",text:"Close",primary:!0}]}),Zo=ge.windowManager.open($o());Zo.focus(Se),Me.hasLoaded()||(Zo.block("Loading emojis..."),Me.waitForLoad().then(()=>{Zo.redial($o()),Gt.throttle(Zo),Zo.focus(Se),Zo.unblock()}).catch(Gn=>{Zo.redial({title:"Emojis",body:{type:"panel",items:[{type:"alertbanner",level:"error",icon:"warning",text:"Could not load emojis"}]},buttons:[{type:"cancel",text:"Close",primary:!0}],initialData:{pattern:"",results:[]}}),Zo.focus(Se),Zo.unblock()}))},ct=(ge,Me)=>{ge.addCommand("mceEmoticons",()=>$e(ge,Me))},gt=ge=>{ge.on("PreInit",()=>{ge.parser.addAttributeFilter("data-emoticon",Me=>{Ao(Me,at=>{at.attr("data-mce-resize","false"),at.attr("data-mce-placeholder","1")})})})},pe=(ge,Me)=>{ge.ui.registry.addAutocompleter("emoticons",{trigger:":",columns:"auto",minChars:2,fetch:(at,ze)=>Me.waitForLoad().then(()=>{const Ge=Me.listAll();return oo(Ge,at,Ro.some(ze))}),onAction:(at,ze,Ge)=>{ge.selection.setRng(ze),ge.insertContent(Ge),at.hide()}})},Oe=ge=>Me=>{const at=()=>{Me.setEnabled(ge.selection.isEditable())};return ge.on("NodeChange",at),at(),()=>{ge.off("NodeChange",at)}},We=ge=>{const Me=()=>ge.execCommand("mceEmoticons");ge.ui.registry.addButton("emoticons",{tooltip:"Emojis",icon:"emoji",onAction:Me,onSetup:Oe(ge)}),ge.ui.registry.addMenuItem("emoticons",{text:"Emojis...",icon:"emoji",onAction:Me,onSetup:Oe(ge)})};var Fe=()=>{xo.add("emoticons",(ge,Me)=>{Mt(ge,Me);const at=Rt(ge),ze=uo(ge),Ge=lo(ge,at,ze);ct(ge,Ge),We(ge),pe(ge,Ge),gt(ge)})};Fe()})();window.tinymce.Resource.add("tinymce.plugins.emoticons",{grinning:{keywords:["face","smile","happy","joy",":D","grin"],char:"😀",fitzpatrick_scale:!1,category:"people"},grimacing:{keywords:["face","grimace","teeth"],char:"😬",fitzpatrick_scale:!1,category:"people"},grin:{keywords:["face","happy","smile","joy","kawaii"],char:"😁",fitzpatrick_scale:!1,category:"people"},joy:{keywords:["face","cry","tears","weep","happy","happytears","haha"],char:"😂",fitzpatrick_scale:!1,category:"people"},rofl:{keywords:["face","rolling","floor","laughing","lol","haha"],char:"🤣",fitzpatrick_scale:!1,category:"people"},partying:{keywords:["face","celebration","woohoo"],char:"🥳",fitzpatrick_scale:!1,category:"people"},smiley:{keywords:["face","happy","joy","haha",":D",":)","smile","funny"],char:"😃",fitzpatrick_scale:!1,category:"people"},smile:{keywords:["face","happy","joy","funny","haha","laugh","like",":D",":)"],char:"😄",fitzpatrick_scale:!1,category:"people"},sweat_smile:{keywords:["face","hot","happy","laugh","sweat","smile","relief"],char:"😅",fitzpatrick_scale:!1,category:"people"},laughing:{keywords:["happy","joy","lol","satisfied","haha","face","glad","XD","laugh"],char:"😆",fitzpatrick_scale:!1,category:"people"},innocent:{keywords:["face","angel","heaven","halo"],char:"😇",fitzpatrick_scale:!1,category:"people"},wink:{keywords:["face","happy","mischievous","secret",";)","smile","eye"],char:"😉",fitzpatrick_scale:!1,category:"people"},blush:{keywords:["face","smile","happy","flushed","crush","embarrassed","shy","joy"],char:"😊",fitzpatrick_scale:!1,category:"people"},slightly_smiling_face:{keywords:["face","smile"],char:"🙂",fitzpatrick_scale:!1,category:"people"},upside_down_face:{keywords:["face","flipped","silly","smile"],char:"🙃",fitzpatrick_scale:!1,category:"people"},relaxed:{keywords:["face","blush","massage","happiness"],char:"☺️",fitzpatrick_scale:!1,category:"people"},yum:{keywords:["happy","joy","tongue","smile","face","silly","yummy","nom","delicious","savouring"],char:"😋",fitzpatrick_scale:!1,category:"people"},relieved:{keywords:["face","relaxed","phew","massage","happiness"],char:"😌",fitzpatrick_scale:!1,category:"people"},heart_eyes:{keywords:["face","love","like","affection","valentines","infatuation","crush","heart"],char:"😍",fitzpatrick_scale:!1,category:"people"},smiling_face_with_three_hearts:{keywords:["face","love","like","affection","valentines","infatuation","crush","hearts","adore"],char:"🥰",fitzpatrick_scale:!1,category:"people"},kissing_heart:{keywords:["face","love","like","affection","valentines","infatuation","kiss"],char:"😘",fitzpatrick_scale:!1,category:"people"},kissing:{keywords:["love","like","face","3","valentines","infatuation","kiss"],char:"😗",fitzpatrick_scale:!1,category:"people"},kissing_smiling_eyes:{keywords:["face","affection","valentines","infatuation","kiss"],char:"😙",fitzpatrick_scale:!1,category:"people"},kissing_closed_eyes:{keywords:["face","love","like","affection","valentines","infatuation","kiss"],char:"😚",fitzpatrick_scale:!1,category:"people"},stuck_out_tongue_winking_eye:{keywords:["face","prank","childish","playful","mischievous","smile","wink","tongue"],char:"😜",fitzpatrick_scale:!1,category:"people"},zany:{keywords:["face","goofy","crazy"],char:"🤪",fitzpatrick_scale:!1,category:"people"},raised_eyebrow:{keywords:["face","distrust","scepticism","disapproval","disbelief","surprise"],char:"🤨",fitzpatrick_scale:!1,category:"people"},monocle:{keywords:["face","stuffy","wealthy"],char:"🧐",fitzpatrick_scale:!1,category:"people"},stuck_out_tongue_closed_eyes:{keywords:["face","prank","playful","mischievous","smile","tongue"],char:"😝",fitzpatrick_scale:!1,category:"people"},stuck_out_tongue:{keywords:["face","prank","childish","playful","mischievous","smile","tongue"],char:"😛",fitzpatrick_scale:!1,category:"people"},money_mouth_face:{keywords:["face","rich","dollar","money"],char:"🤑",fitzpatrick_scale:!1,category:"people"},nerd_face:{keywords:["face","nerdy","geek","dork"],char:"🤓",fitzpatrick_scale:!1,category:"people"},sunglasses:{keywords:["face","cool","smile","summer","beach","sunglass"],char:"😎",fitzpatrick_scale:!1,category:"people"},star_struck:{keywords:["face","smile","starry","eyes","grinning"],char:"🤩",fitzpatrick_scale:!1,category:"people"},clown_face:{keywords:["face"],char:"🤡",fitzpatrick_scale:!1,category:"people"},cowboy_hat_face:{keywords:["face","cowgirl","hat"],char:"🤠",fitzpatrick_scale:!1,category:"people"},hugs:{keywords:["face","smile","hug"],char:"🤗",fitzpatrick_scale:!1,category:"people"},smirk:{keywords:["face","smile","mean","prank","smug","sarcasm"],char:"😏",fitzpatrick_scale:!1,category:"people"},no_mouth:{keywords:["face","hellokitty"],char:"😶",fitzpatrick_scale:!1,category:"people"},neutral_face:{keywords:["indifference","meh",":|","neutral"],char:"😐",fitzpatrick_scale:!1,category:"people"},expressionless:{keywords:["face","indifferent","-_-","meh","deadpan"],char:"😑",fitzpatrick_scale:!1,category:"people"},unamused:{keywords:["indifference","bored","straight face","serious","sarcasm","unimpressed","skeptical","dubious","side_eye"],char:"😒",fitzpatrick_scale:!1,category:"people"},roll_eyes:{keywords:["face","eyeroll","frustrated"],char:"🙄",fitzpatrick_scale:!1,category:"people"},thinking:{keywords:["face","hmmm","think","consider"],char:"🤔",fitzpatrick_scale:!1,category:"people"},lying_face:{keywords:["face","lie","pinocchio"],char:"🤥",fitzpatrick_scale:!1,category:"people"},hand_over_mouth:{keywords:["face","whoops","shock","surprise"],char:"🤭",fitzpatrick_scale:!1,category:"people"},shushing:{keywords:["face","quiet","shhh"],char:"🤫",fitzpatrick_scale:!1,category:"people"},symbols_over_mouth:{keywords:["face","swearing","cursing","cussing","profanity","expletive"],char:"🤬",fitzpatrick_scale:!1,category:"people"},exploding_head:{keywords:["face","shocked","mind","blown"],char:"🤯",fitzpatrick_scale:!1,category:"people"},flushed:{keywords:["face","blush","shy","flattered"],char:"😳",fitzpatrick_scale:!1,category:"people"},disappointed:{keywords:["face","sad","upset","depressed",":("],char:"😞",fitzpatrick_scale:!1,category:"people"},worried:{keywords:["face","concern","nervous",":("],char:"😟",fitzpatrick_scale:!1,category:"people"},angry:{keywords:["mad","face","annoyed","frustrated"],char:"😠",fitzpatrick_scale:!1,category:"people"},rage:{keywords:["angry","mad","hate","despise"],char:"😡",fitzpatrick_scale:!1,category:"people"},pensive:{keywords:["face","sad","depressed","upset"],char:"😔",fitzpatrick_scale:!1,category:"people"},confused:{keywords:["face","indifference","huh","weird","hmmm",":/"],char:"😕",fitzpatrick_scale:!1,category:"people"},slightly_frowning_face:{keywords:["face","frowning","disappointed","sad","upset"],char:"🙁",fitzpatrick_scale:!1,category:"people"},frowning_face:{keywords:["face","sad","upset","frown"],char:"☹",fitzpatrick_scale:!1,category:"people"},persevere:{keywords:["face","sick","no","upset","oops"],char:"😣",fitzpatrick_scale:!1,category:"people"},confounded:{keywords:["face","confused","sick","unwell","oops",":S"],char:"😖",fitzpatrick_scale:!1,category:"people"},tired_face:{keywords:["sick","whine","upset","frustrated"],char:"😫",fitzpatrick_scale:!1,category:"people"},weary:{keywords:["face","tired","sleepy","sad","frustrated","upset"],char:"😩",fitzpatrick_scale:!1,category:"people"},pleading:{keywords:["face","begging","mercy"],char:"🥺",fitzpatrick_scale:!1,category:"people"},triumph:{keywords:["face","gas","phew","proud","pride"],char:"😤",fitzpatrick_scale:!1,category:"people"},open_mouth:{keywords:["face","surprise","impressed","wow","whoa",":O"],char:"😮",fitzpatrick_scale:!1,category:"people"},scream:{keywords:["face","munch","scared","omg"],char:"😱",fitzpatrick_scale:!1,category:"people"},fearful:{keywords:["face","scared","terrified","nervous","oops","huh"],char:"😨",fitzpatrick_scale:!1,category:"people"},cold_sweat:{keywords:["face","nervous","sweat"],char:"😰",fitzpatrick_scale:!1,category:"people"},hushed:{keywords:["face","woo","shh"],char:"😯",fitzpatrick_scale:!1,category:"people"},frowning:{keywords:["face","aw","what"],char:"😦",fitzpatrick_scale:!1,category:"people"},anguished:{keywords:["face","stunned","nervous"],char:"😧",fitzpatrick_scale:!1,category:"people"},cry:{keywords:["face","tears","sad","depressed","upset",":'("],char:"😢",fitzpatrick_scale:!1,category:"people"},disappointed_relieved:{keywords:["face","phew","sweat","nervous"],char:"😥",fitzpatrick_scale:!1,category:"people"},drooling_face:{keywords:["face"],char:"🤤",fitzpatrick_scale:!1,category:"people"},sleepy:{keywords:["face","tired","rest","nap"],char:"😪",fitzpatrick_scale:!1,category:"people"},sweat:{keywords:["face","hot","sad","tired","exercise"],char:"😓",fitzpatrick_scale:!1,category:"people"},hot:{keywords:["face","feverish","heat","red","sweating"],char:"🥵",fitzpatrick_scale:!1,category:"people"},cold:{keywords:["face","blue","freezing","frozen","frostbite","icicles"],char:"🥶",fitzpatrick_scale:!1,category:"people"},sob:{keywords:["face","cry","tears","sad","upset","depressed"],char:"😭",fitzpatrick_scale:!1,category:"people"},dizzy_face:{keywords:["spent","unconscious","xox","dizzy"],char:"😵",fitzpatrick_scale:!1,category:"people"},astonished:{keywords:["face","xox","surprised","poisoned"],char:"😲",fitzpatrick_scale:!1,category:"people"},zipper_mouth_face:{keywords:["face","sealed","zipper","secret"],char:"🤐",fitzpatrick_scale:!1,category:"people"},nauseated_face:{keywords:["face","vomit","gross","green","sick","throw up","ill"],char:"🤢",fitzpatrick_scale:!1,category:"people"},sneezing_face:{keywords:["face","gesundheit","sneeze","sick","allergy"],char:"🤧",fitzpatrick_scale:!1,category:"people"},vomiting:{keywords:["face","sick"],char:"🤮",fitzpatrick_scale:!1,category:"people"},mask:{keywords:["face","sick","ill","disease"],char:"😷",fitzpatrick_scale:!1,category:"people"},face_with_thermometer:{keywords:["sick","temperature","thermometer","cold","fever"],char:"🤒",fitzpatrick_scale:!1,category:"people"},face_with_head_bandage:{keywords:["injured","clumsy","bandage","hurt"],char:"🤕",fitzpatrick_scale:!1,category:"people"},woozy:{keywords:["face","dizzy","intoxicated","tipsy","wavy"],char:"🥴",fitzpatrick_scale:!1,category:"people"},sleeping:{keywords:["face","tired","sleepy","night","zzz"],char:"😴",fitzpatrick_scale:!1,category:"people"},zzz:{keywords:["sleepy","tired","dream"],char:"💤",fitzpatrick_scale:!1,category:"people"},poop:{keywords:["hankey","shitface","fail","turd","shit"],char:"💩",fitzpatrick_scale:!1,category:"people"},smiling_imp:{keywords:["devil","horns"],char:"😈",fitzpatrick_scale:!1,category:"people"},imp:{keywords:["devil","angry","horns"],char:"👿",fitzpatrick_scale:!1,category:"people"},japanese_ogre:{keywords:["monster","red","mask","halloween","scary","creepy","devil","demon","japanese","ogre"],char:"👹",fitzpatrick_scale:!1,category:"people"},japanese_goblin:{keywords:["red","evil","mask","monster","scary","creepy","japanese","goblin"],char:"👺",fitzpatrick_scale:!1,category:"people"},skull:{keywords:["dead","skeleton","creepy","death"],char:"💀",fitzpatrick_scale:!1,category:"people"},ghost:{keywords:["halloween","spooky","scary"],char:"👻",fitzpatrick_scale:!1,category:"people"},alien:{keywords:["UFO","paul","weird","outer_space"],char:"👽",fitzpatrick_scale:!1,category:"people"},robot:{keywords:["computer","machine","bot"],char:"🤖",fitzpatrick_scale:!1,category:"people"},smiley_cat:{keywords:["animal","cats","happy","smile"],char:"😺",fitzpatrick_scale:!1,category:"people"},smile_cat:{keywords:["animal","cats","smile"],char:"😸",fitzpatrick_scale:!1,category:"people"},joy_cat:{keywords:["animal","cats","haha","happy","tears"],char:"😹",fitzpatrick_scale:!1,category:"people"},heart_eyes_cat:{keywords:["animal","love","like","affection","cats","valentines","heart"],char:"😻",fitzpatrick_scale:!1,category:"people"},smirk_cat:{keywords:["animal","cats","smirk"],char:"😼",fitzpatrick_scale:!1,category:"people"},kissing_cat:{keywords:["animal","cats","kiss"],char:"😽",fitzpatrick_scale:!1,category:"people"},scream_cat:{keywords:["animal","cats","munch","scared","scream"],char:"🙀",fitzpatrick_scale:!1,category:"people"},crying_cat_face:{keywords:["animal","tears","weep","sad","cats","upset","cry"],char:"😿",fitzpatrick_scale:!1,category:"people"},pouting_cat:{keywords:["animal","cats"],char:"😾",fitzpatrick_scale:!1,category:"people"},palms_up:{keywords:["hands","gesture","cupped","prayer"],char:"🤲",fitzpatrick_scale:!0,category:"people"},raised_hands:{keywords:["gesture","hooray","yea","celebration","hands"],char:"🙌",fitzpatrick_scale:!0,category:"people"},clap:{keywords:["hands","praise","applause","congrats","yay"],char:"👏",fitzpatrick_scale:!0,category:"people"},wave:{keywords:["hands","gesture","goodbye","solong","farewell","hello","hi","palm"],char:"👋",fitzpatrick_scale:!0,category:"people"},call_me_hand:{keywords:["hands","gesture"],char:"🤙",fitzpatrick_scale:!0,category:"people"},"+1":{keywords:["thumbsup","yes","awesome","good","agree","accept","cool","hand","like"],char:"👍",fitzpatrick_scale:!0,category:"people"},"-1":{keywords:["thumbsdown","no","dislike","hand"],char:"👎",fitzpatrick_scale:!0,category:"people"},facepunch:{keywords:["angry","violence","fist","hit","attack","hand"],char:"👊",fitzpatrick_scale:!0,category:"people"},fist:{keywords:["fingers","hand","grasp"],char:"✊",fitzpatrick_scale:!0,category:"people"},fist_left:{keywords:["hand","fistbump"],char:"🤛",fitzpatrick_scale:!0,category:"people"},fist_right:{keywords:["hand","fistbump"],char:"🤜",fitzpatrick_scale:!0,category:"people"},v:{keywords:["fingers","ohyeah","hand","peace","victory","two"],char:"✌",fitzpatrick_scale:!0,category:"people"},ok_hand:{keywords:["fingers","limbs","perfect","ok","okay"],char:"👌",fitzpatrick_scale:!0,category:"people"},raised_hand:{keywords:["fingers","stop","highfive","palm","ban"],char:"✋",fitzpatrick_scale:!0,category:"people"},raised_back_of_hand:{keywords:["fingers","raised","backhand"],char:"🤚",fitzpatrick_scale:!0,category:"people"},open_hands:{keywords:["fingers","butterfly","hands","open"],char:"👐",fitzpatrick_scale:!0,category:"people"},muscle:{keywords:["arm","flex","hand","summer","strong","biceps"],char:"💪",fitzpatrick_scale:!0,category:"people"},pray:{keywords:["please","hope","wish","namaste","highfive"],char:"🙏",fitzpatrick_scale:!0,category:"people"},foot:{keywords:["kick","stomp"],char:"🦶",fitzpatrick_scale:!0,category:"people"},leg:{keywords:["kick","limb"],char:"🦵",fitzpatrick_scale:!0,category:"people"},handshake:{keywords:["agreement","shake"],char:"🤝",fitzpatrick_scale:!1,category:"people"},point_up:{keywords:["hand","fingers","direction","up"],char:"☝",fitzpatrick_scale:!0,category:"people"},point_up_2:{keywords:["fingers","hand","direction","up"],char:"👆",fitzpatrick_scale:!0,category:"people"},point_down:{keywords:["fingers","hand","direction","down"],char:"👇",fitzpatrick_scale:!0,category:"people"},point_left:{keywords:["direction","fingers","hand","left"],char:"👈",fitzpatrick_scale:!0,category:"people"},point_right:{keywords:["fingers","hand","direction","right"],char:"👉",fitzpatrick_scale:!0,category:"people"},fu:{keywords:["hand","fingers","rude","middle","flipping"],char:"🖕",fitzpatrick_scale:!0,category:"people"},raised_hand_with_fingers_splayed:{keywords:["hand","fingers","palm"],char:"🖐",fitzpatrick_scale:!0,category:"people"},love_you:{keywords:["hand","fingers","gesture"],char:"🤟",fitzpatrick_scale:!0,category:"people"},metal:{keywords:["hand","fingers","evil_eye","sign_of_horns","rock_on"],char:"🤘",fitzpatrick_scale:!0,category:"people"},crossed_fingers:{keywords:["good","lucky"],char:"🤞",fitzpatrick_scale:!0,category:"people"},vulcan_salute:{keywords:["hand","fingers","spock","star trek"],char:"🖖",fitzpatrick_scale:!0,category:"people"},writing_hand:{keywords:["lower_left_ballpoint_pen","stationery","write","compose"],char:"✍",fitzpatrick_scale:!0,category:"people"},selfie:{keywords:["camera","phone"],char:"🤳",fitzpatrick_scale:!0,category:"people"},nail_care:{keywords:["beauty","manicure","finger","fashion","nail"],char:"💅",fitzpatrick_scale:!0,category:"people"},lips:{keywords:["mouth","kiss"],char:"👄",fitzpatrick_scale:!1,category:"people"},tooth:{keywords:["teeth","dentist"],char:"🦷",fitzpatrick_scale:!1,category:"people"},tongue:{keywords:["mouth","playful"],char:"👅",fitzpatrick_scale:!1,category:"people"},ear:{keywords:["face","hear","sound","listen"],char:"👂",fitzpatrick_scale:!0,category:"people"},nose:{keywords:["smell","sniff"],char:"👃",fitzpatrick_scale:!0,category:"people"},eye:{keywords:["face","look","see","watch","stare"],char:"👁",fitzpatrick_scale:!1,category:"people"},eyes:{keywords:["look","watch","stalk","peek","see"],char:"👀",fitzpatrick_scale:!1,category:"people"},brain:{keywords:["smart","intelligent"],char:"🧠",fitzpatrick_scale:!1,category:"people"},bust_in_silhouette:{keywords:["user","person","human"],char:"👤",fitzpatrick_scale:!1,category:"people"},busts_in_silhouette:{keywords:["user","person","human","group","team"],char:"👥",fitzpatrick_scale:!1,category:"people"},speaking_head:{keywords:["user","person","human","sing","say","talk"],char:"🗣",fitzpatrick_scale:!1,category:"people"},baby:{keywords:["child","boy","girl","toddler"],char:"👶",fitzpatrick_scale:!0,category:"people"},child:{keywords:["gender-neutral","young"],char:"🧒",fitzpatrick_scale:!0,category:"people"},boy:{keywords:["man","male","guy","teenager"],char:"👦",fitzpatrick_scale:!0,category:"people"},girl:{keywords:["female","woman","teenager"],char:"👧",fitzpatrick_scale:!0,category:"people"},adult:{keywords:["gender-neutral","person"],char:"🧑",fitzpatrick_scale:!0,category:"people"},man:{keywords:["mustache","father","dad","guy","classy","sir","moustache"],char:"👨",fitzpatrick_scale:!0,category:"people"},woman:{keywords:["female","girls","lady"],char:"👩",fitzpatrick_scale:!0,category:"people"},blonde_woman:{keywords:["woman","female","girl","blonde","person"],char:"👱‍♀️",fitzpatrick_scale:!0,category:"people"},blonde_man:{keywords:["man","male","boy","blonde","guy","person"],char:"👱",fitzpatrick_scale:!0,category:"people"},bearded_person:{keywords:["person","bewhiskered"],char:"🧔",fitzpatrick_scale:!0,category:"people"},older_adult:{keywords:["human","elder","senior","gender-neutral"],char:"🧓",fitzpatrick_scale:!0,category:"people"},older_man:{keywords:["human","male","men","old","elder","senior"],char:"👴",fitzpatrick_scale:!0,category:"people"},older_woman:{keywords:["human","female","women","lady","old","elder","senior"],char:"👵",fitzpatrick_scale:!0,category:"people"},man_with_gua_pi_mao:{keywords:["male","boy","chinese"],char:"👲",fitzpatrick_scale:!0,category:"people"},woman_with_headscarf:{keywords:["female","hijab","mantilla","tichel"],char:"🧕",fitzpatrick_scale:!0,category:"people"},woman_with_turban:{keywords:["female","indian","hinduism","arabs","woman"],char:"👳‍♀️",fitzpatrick_scale:!0,category:"people"},man_with_turban:{keywords:["male","indian","hinduism","arabs"],char:"👳",fitzpatrick_scale:!0,category:"people"},policewoman:{keywords:["woman","police","law","legal","enforcement","arrest","911","female"],char:"👮‍♀️",fitzpatrick_scale:!0,category:"people"},policeman:{keywords:["man","police","law","legal","enforcement","arrest","911"],char:"👮",fitzpatrick_scale:!0,category:"people"},construction_worker_woman:{keywords:["female","human","wip","build","construction","worker","labor","woman"],char:"👷‍♀️",fitzpatrick_scale:!0,category:"people"},construction_worker_man:{keywords:["male","human","wip","guy","build","construction","worker","labor"],char:"👷",fitzpatrick_scale:!0,category:"people"},guardswoman:{keywords:["uk","gb","british","female","royal","woman"],char:"💂‍♀️",fitzpatrick_scale:!0,category:"people"},guardsman:{keywords:["uk","gb","british","male","guy","royal"],char:"💂",fitzpatrick_scale:!0,category:"people"},female_detective:{keywords:["human","spy","detective","female","woman"],char:"🕵️‍♀️",fitzpatrick_scale:!0,category:"people"},male_detective:{keywords:["human","spy","detective"],char:"🕵",fitzpatrick_scale:!0,category:"people"},woman_health_worker:{keywords:["doctor","nurse","therapist","healthcare","woman","human"],char:"👩‍⚕️",fitzpatrick_scale:!0,category:"people"},man_health_worker:{keywords:["doctor","nurse","therapist","healthcare","man","human"],char:"👨‍⚕️",fitzpatrick_scale:!0,category:"people"},woman_farmer:{keywords:["rancher","gardener","woman","human"],char:"👩‍🌾",fitzpatrick_scale:!0,category:"people"},man_farmer:{keywords:["rancher","gardener","man","human"],char:"👨‍🌾",fitzpatrick_scale:!0,category:"people"},woman_cook:{keywords:["chef","woman","human"],char:"👩‍🍳",fitzpatrick_scale:!0,category:"people"},man_cook:{keywords:["chef","man","human"],char:"👨‍🍳",fitzpatrick_scale:!0,category:"people"},woman_student:{keywords:["graduate","woman","human"],char:"👩‍🎓",fitzpatrick_scale:!0,category:"people"},man_student:{keywords:["graduate","man","human"],char:"👨‍🎓",fitzpatrick_scale:!0,category:"people"},woman_singer:{keywords:["rockstar","entertainer","woman","human"],char:"👩‍🎤",fitzpatrick_scale:!0,category:"people"},man_singer:{keywords:["rockstar","entertainer","man","human"],char:"👨‍🎤",fitzpatrick_scale:!0,category:"people"},woman_teacher:{keywords:["instructor","professor","woman","human"],char:"👩‍🏫",fitzpatrick_scale:!0,category:"people"},man_teacher:{keywords:["instructor","professor","man","human"],char:"👨‍🏫",fitzpatrick_scale:!0,category:"people"},woman_factory_worker:{keywords:["assembly","industrial","woman","human"],char:"👩‍🏭",fitzpatrick_scale:!0,category:"people"},man_factory_worker:{keywords:["assembly","industrial","man","human"],char:"👨‍🏭",fitzpatrick_scale:!0,category:"people"},woman_technologist:{keywords:["coder","developer","engineer","programmer","software","woman","human","laptop","computer"],char:"👩‍💻",fitzpatrick_scale:!0,category:"people"},man_technologist:{keywords:["coder","developer","engineer","programmer","software","man","human","laptop","computer"],char:"👨‍💻",fitzpatrick_scale:!0,category:"people"},woman_office_worker:{keywords:["business","manager","woman","human"],char:"👩‍💼",fitzpatrick_scale:!0,category:"people"},man_office_worker:{keywords:["business","manager","man","human"],char:"👨‍💼",fitzpatrick_scale:!0,category:"people"},woman_mechanic:{keywords:["plumber","woman","human","wrench"],char:"👩‍🔧",fitzpatrick_scale:!0,category:"people"},man_mechanic:{keywords:["plumber","man","human","wrench"],char:"👨‍🔧",fitzpatrick_scale:!0,category:"people"},woman_scientist:{keywords:["biologist","chemist","engineer","physicist","woman","human"],char:"👩‍🔬",fitzpatrick_scale:!0,category:"people"},man_scientist:{keywords:["biologist","chemist","engineer","physicist","man","human"],char:"👨‍🔬",fitzpatrick_scale:!0,category:"people"},woman_artist:{keywords:["painter","woman","human"],char:"👩‍🎨",fitzpatrick_scale:!0,category:"people"},man_artist:{keywords:["painter","man","human"],char:"👨‍🎨",fitzpatrick_scale:!0,category:"people"},woman_firefighter:{keywords:["fireman","woman","human"],char:"👩‍🚒",fitzpatrick_scale:!0,category:"people"},man_firefighter:{keywords:["fireman","man","human"],char:"👨‍🚒",fitzpatrick_scale:!0,category:"people"},woman_pilot:{keywords:["aviator","plane","woman","human"],char:"👩‍✈️",fitzpatrick_scale:!0,category:"people"},man_pilot:{keywords:["aviator","plane","man","human"],char:"👨‍✈️",fitzpatrick_scale:!0,category:"people"},woman_astronaut:{keywords:["space","rocket","woman","human"],char:"👩‍🚀",fitzpatrick_scale:!0,category:"people"},man_astronaut:{keywords:["space","rocket","man","human"],char:"👨‍🚀",fitzpatrick_scale:!0,category:"people"},woman_judge:{keywords:["justice","court","woman","human"],char:"👩‍⚖️",fitzpatrick_scale:!0,category:"people"},man_judge:{keywords:["justice","court","man","human"],char:"👨‍⚖️",fitzpatrick_scale:!0,category:"people"},woman_superhero:{keywords:["woman","female","good","heroine","superpowers"],char:"🦸‍♀️",fitzpatrick_scale:!0,category:"people"},man_superhero:{keywords:["man","male","good","hero","superpowers"],char:"🦸‍♂️",fitzpatrick_scale:!0,category:"people"},woman_supervillain:{keywords:["woman","female","evil","bad","criminal","heroine","superpowers"],char:"🦹‍♀️",fitzpatrick_scale:!0,category:"people"},man_supervillain:{keywords:["man","male","evil","bad","criminal","hero","superpowers"],char:"🦹‍♂️",fitzpatrick_scale:!0,category:"people"},mrs_claus:{keywords:["woman","female","xmas","mother christmas"],char:"🤶",fitzpatrick_scale:!0,category:"people"},santa:{keywords:["festival","man","male","xmas","father christmas"],char:"🎅",fitzpatrick_scale:!0,category:"people"},sorceress:{keywords:["woman","female","mage","witch"],char:"🧙‍♀️",fitzpatrick_scale:!0,category:"people"},wizard:{keywords:["man","male","mage","sorcerer"],char:"🧙‍♂️",fitzpatrick_scale:!0,category:"people"},woman_elf:{keywords:["woman","female"],char:"🧝‍♀️",fitzpatrick_scale:!0,category:"people"},man_elf:{keywords:["man","male"],char:"🧝‍♂️",fitzpatrick_scale:!0,category:"people"},woman_vampire:{keywords:["woman","female"],char:"🧛‍♀️",fitzpatrick_scale:!0,category:"people"},man_vampire:{keywords:["man","male","dracula"],char:"🧛‍♂️",fitzpatrick_scale:!0,category:"people"},woman_zombie:{keywords:["woman","female","undead","walking dead"],char:"🧟‍♀️",fitzpatrick_scale:!1,category:"people"},man_zombie:{keywords:["man","male","dracula","undead","walking dead"],char:"🧟‍♂️",fitzpatrick_scale:!1,category:"people"},woman_genie:{keywords:["woman","female"],char:"🧞‍♀️",fitzpatrick_scale:!1,category:"people"},man_genie:{keywords:["man","male"],char:"🧞‍♂️",fitzpatrick_scale:!1,category:"people"},mermaid:{keywords:["woman","female","merwoman","ariel"],char:"🧜‍♀️",fitzpatrick_scale:!0,category:"people"},merman:{keywords:["man","male","triton"],char:"🧜‍♂️",fitzpatrick_scale:!0,category:"people"},woman_fairy:{keywords:["woman","female"],char:"🧚‍♀️",fitzpatrick_scale:!0,category:"people"},man_fairy:{keywords:["man","male"],char:"🧚‍♂️",fitzpatrick_scale:!0,category:"people"},angel:{keywords:["heaven","wings","halo"],char:"👼",fitzpatrick_scale:!0,category:"people"},pregnant_woman:{keywords:["baby"],char:"🤰",fitzpatrick_scale:!0,category:"people"},breastfeeding:{keywords:["nursing","baby"],char:"🤱",fitzpatrick_scale:!0,category:"people"},princess:{keywords:["girl","woman","female","blond","crown","royal","queen"],char:"👸",fitzpatrick_scale:!0,category:"people"},prince:{keywords:["boy","man","male","crown","royal","king"],char:"🤴",fitzpatrick_scale:!0,category:"people"},bride_with_veil:{keywords:["couple","marriage","wedding","woman","bride"],char:"👰",fitzpatrick_scale:!0,category:"people"},man_in_tuxedo:{keywords:["couple","marriage","wedding","groom"],char:"🤵",fitzpatrick_scale:!0,category:"people"},running_woman:{keywords:["woman","walking","exercise","race","running","female"],char:"🏃‍♀️",fitzpatrick_scale:!0,category:"people"},running_man:{keywords:["man","walking","exercise","race","running"],char:"🏃",fitzpatrick_scale:!0,category:"people"},walking_woman:{keywords:["human","feet","steps","woman","female"],char:"🚶‍♀️",fitzpatrick_scale:!0,category:"people"},walking_man:{keywords:["human","feet","steps"],char:"🚶",fitzpatrick_scale:!0,category:"people"},dancer:{keywords:["female","girl","woman","fun"],char:"💃",fitzpatrick_scale:!0,category:"people"},man_dancing:{keywords:["male","boy","fun","dancer"],char:"🕺",fitzpatrick_scale:!0,category:"people"},dancing_women:{keywords:["female","bunny","women","girls"],char:"👯",fitzpatrick_scale:!1,category:"people"},dancing_men:{keywords:["male","bunny","men","boys"],char:"👯‍♂️",fitzpatrick_scale:!1,category:"people"},couple:{keywords:["pair","people","human","love","date","dating","like","affection","valentines","marriage"],char:"👫",fitzpatrick_scale:!1,category:"people"},two_men_holding_hands:{keywords:["pair","couple","love","like","bromance","friendship","people","human"],char:"👬",fitzpatrick_scale:!1,category:"people"},two_women_holding_hands:{keywords:["pair","friendship","couple","love","like","female","people","human"],char:"👭",fitzpatrick_scale:!1,category:"people"},bowing_woman:{keywords:["woman","female","girl"],char:"🙇‍♀️",fitzpatrick_scale:!0,category:"people"},bowing_man:{keywords:["man","male","boy"],char:"🙇",fitzpatrick_scale:!0,category:"people"},man_facepalming:{keywords:["man","male","boy","disbelief"],char:"🤦‍♂️",fitzpatrick_scale:!0,category:"people"},woman_facepalming:{keywords:["woman","female","girl","disbelief"],char:"🤦‍♀️",fitzpatrick_scale:!0,category:"people"},woman_shrugging:{keywords:["woman","female","girl","confused","indifferent","doubt"],char:"🤷",fitzpatrick_scale:!0,category:"people"},man_shrugging:{keywords:["man","male","boy","confused","indifferent","doubt"],char:"🤷‍♂️",fitzpatrick_scale:!0,category:"people"},tipping_hand_woman:{keywords:["female","girl","woman","human","information"],char:"💁",fitzpatrick_scale:!0,category:"people"},tipping_hand_man:{keywords:["male","boy","man","human","information"],char:"💁‍♂️",fitzpatrick_scale:!0,category:"people"},no_good_woman:{keywords:["female","girl","woman","nope"],char:"🙅",fitzpatrick_scale:!0,category:"people"},no_good_man:{keywords:["male","boy","man","nope"],char:"🙅‍♂️",fitzpatrick_scale:!0,category:"people"},ok_woman:{keywords:["women","girl","female","pink","human","woman"],char:"🙆",fitzpatrick_scale:!0,category:"people"},ok_man:{keywords:["men","boy","male","blue","human","man"],char:"🙆‍♂️",fitzpatrick_scale:!0,category:"people"},raising_hand_woman:{keywords:["female","girl","woman"],char:"🙋",fitzpatrick_scale:!0,category:"people"},raising_hand_man:{keywords:["male","boy","man"],char:"🙋‍♂️",fitzpatrick_scale:!0,category:"people"},pouting_woman:{keywords:["female","girl","woman"],char:"🙎",fitzpatrick_scale:!0,category:"people"},pouting_man:{keywords:["male","boy","man"],char:"🙎‍♂️",fitzpatrick_scale:!0,category:"people"},frowning_woman:{keywords:["female","girl","woman","sad","depressed","discouraged","unhappy"],char:"🙍",fitzpatrick_scale:!0,category:"people"},frowning_man:{keywords:["male","boy","man","sad","depressed","discouraged","unhappy"],char:"🙍‍♂️",fitzpatrick_scale:!0,category:"people"},haircut_woman:{keywords:["female","girl","woman"],char:"💇",fitzpatrick_scale:!0,category:"people"},haircut_man:{keywords:["male","boy","man"],char:"💇‍♂️",fitzpatrick_scale:!0,category:"people"},massage_woman:{keywords:["female","girl","woman","head"],char:"💆",fitzpatrick_scale:!0,category:"people"},massage_man:{keywords:["male","boy","man","head"],char:"💆‍♂️",fitzpatrick_scale:!0,category:"people"},woman_in_steamy_room:{keywords:["female","woman","spa","steamroom","sauna"],char:"🧖‍♀️",fitzpatrick_scale:!0,category:"people"},man_in_steamy_room:{keywords:["male","man","spa","steamroom","sauna"],char:"🧖‍♂️",fitzpatrick_scale:!0,category:"people"},couple_with_heart_woman_man:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"💑",fitzpatrick_scale:!1,category:"people"},couple_with_heart_woman_woman:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"👩‍❤️‍👩",fitzpatrick_scale:!1,category:"people"},couple_with_heart_man_man:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"👨‍❤️‍👨",fitzpatrick_scale:!1,category:"people"},couplekiss_man_woman:{keywords:["pair","valentines","love","like","dating","marriage"],char:"💏",fitzpatrick_scale:!1,category:"people"},couplekiss_woman_woman:{keywords:["pair","valentines","love","like","dating","marriage"],char:"👩‍❤️‍💋‍👩",fitzpatrick_scale:!1,category:"people"},couplekiss_man_man:{keywords:["pair","valentines","love","like","dating","marriage"],char:"👨‍❤️‍💋‍👨",fitzpatrick_scale:!1,category:"people"},family_man_woman_boy:{keywords:["home","parents","child","mom","dad","father","mother","people","human"],char:"👪",fitzpatrick_scale:!1,category:"people"},family_man_woman_girl:{keywords:["home","parents","people","human","child"],char:"👨‍👩‍👧",fitzpatrick_scale:!1,category:"people"},family_man_woman_girl_boy:{keywords:["home","parents","people","human","children"],char:"👨‍👩‍👧‍👦",fitzpatrick_scale:!1,category:"people"},family_man_woman_boy_boy:{keywords:["home","parents","people","human","children"],char:"👨‍👩‍👦‍👦",fitzpatrick_scale:!1,category:"people"},family_man_woman_girl_girl:{keywords:["home","parents","people","human","children"],char:"👨‍👩‍👧‍👧",fitzpatrick_scale:!1,category:"people"},family_woman_woman_boy:{keywords:["home","parents","people","human","children"],char:"👩‍👩‍👦",fitzpatrick_scale:!1,category:"people"},family_woman_woman_girl:{keywords:["home","parents","people","human","children"],char:"👩‍👩‍👧",fitzpatrick_scale:!1,category:"people"},family_woman_woman_girl_boy:{keywords:["home","parents","people","human","children"],char:"👩‍👩‍👧‍👦",fitzpatrick_scale:!1,category:"people"},family_woman_woman_boy_boy:{keywords:["home","parents","people","human","children"],char:"👩‍👩‍👦‍👦",fitzpatrick_scale:!1,category:"people"},family_woman_woman_girl_girl:{keywords:["home","parents","people","human","children"],char:"👩‍👩‍👧‍👧",fitzpatrick_scale:!1,category:"people"},family_man_man_boy:{keywords:["home","parents","people","human","children"],char:"👨‍👨‍👦",fitzpatrick_scale:!1,category:"people"},family_man_man_girl:{keywords:["home","parents","people","human","children"],char:"👨‍👨‍👧",fitzpatrick_scale:!1,category:"people"},family_man_man_girl_boy:{keywords:["home","parents","people","human","children"],char:"👨‍👨‍👧‍👦",fitzpatrick_scale:!1,category:"people"},family_man_man_boy_boy:{keywords:["home","parents","people","human","children"],char:"👨‍👨‍👦‍👦",fitzpatrick_scale:!1,category:"people"},family_man_man_girl_girl:{keywords:["home","parents","people","human","children"],char:"👨‍👨‍👧‍👧",fitzpatrick_scale:!1,category:"people"},family_woman_boy:{keywords:["home","parent","people","human","child"],char:"👩‍👦",fitzpatrick_scale:!1,category:"people"},family_woman_girl:{keywords:["home","parent","people","human","child"],char:"👩‍👧",fitzpatrick_scale:!1,category:"people"},family_woman_girl_boy:{keywords:["home","parent","people","human","children"],char:"👩‍👧‍👦",fitzpatrick_scale:!1,category:"people"},family_woman_boy_boy:{keywords:["home","parent","people","human","children"],char:"👩‍👦‍👦",fitzpatrick_scale:!1,category:"people"},family_woman_girl_girl:{keywords:["home","parent","people","human","children"],char:"👩‍👧‍👧",fitzpatrick_scale:!1,category:"people"},family_man_boy:{keywords:["home","parent","people","human","child"],char:"👨‍👦",fitzpatrick_scale:!1,category:"people"},family_man_girl:{keywords:["home","parent","people","human","child"],char:"👨‍👧",fitzpatrick_scale:!1,category:"people"},family_man_girl_boy:{keywords:["home","parent","people","human","children"],char:"👨‍👧‍👦",fitzpatrick_scale:!1,category:"people"},family_man_boy_boy:{keywords:["home","parent","people","human","children"],char:"👨‍👦‍👦",fitzpatrick_scale:!1,category:"people"},family_man_girl_girl:{keywords:["home","parent","people","human","children"],char:"👨‍👧‍👧",fitzpatrick_scale:!1,category:"people"},yarn:{keywords:["ball","crochet","knit"],char:"🧶",fitzpatrick_scale:!1,category:"people"},thread:{keywords:["needle","sewing","spool","string"],char:"🧵",fitzpatrick_scale:!1,category:"people"},coat:{keywords:["jacket"],char:"🧥",fitzpatrick_scale:!1,category:"people"},labcoat:{keywords:["doctor","experiment","scientist","chemist"],char:"🥼",fitzpatrick_scale:!1,category:"people"},womans_clothes:{keywords:["fashion","shopping_bags","female"],char:"👚",fitzpatrick_scale:!1,category:"people"},tshirt:{keywords:["fashion","cloth","casual","shirt","tee"],char:"👕",fitzpatrick_scale:!1,category:"people"},jeans:{keywords:["fashion","shopping"],char:"👖",fitzpatrick_scale:!1,category:"people"},necktie:{keywords:["shirt","suitup","formal","fashion","cloth","business"],char:"👔",fitzpatrick_scale:!1,category:"people"},dress:{keywords:["clothes","fashion","shopping"],char:"👗",fitzpatrick_scale:!1,category:"people"},bikini:{keywords:["swimming","female","woman","girl","fashion","beach","summer"],char:"👙",fitzpatrick_scale:!1,category:"people"},kimono:{keywords:["dress","fashion","women","female","japanese"],char:"👘",fitzpatrick_scale:!1,category:"people"},lipstick:{keywords:["female","girl","fashion","woman"],char:"💄",fitzpatrick_scale:!1,category:"people"},kiss:{keywords:["face","lips","love","like","affection","valentines"],char:"💋",fitzpatrick_scale:!1,category:"people"},footprints:{keywords:["feet","tracking","walking","beach"],char:"👣",fitzpatrick_scale:!1,category:"people"},flat_shoe:{keywords:["ballet","slip-on","slipper"],char:"🥿",fitzpatrick_scale:!1,category:"people"},high_heel:{keywords:["fashion","shoes","female","pumps","stiletto"],char:"👠",fitzpatrick_scale:!1,category:"people"},sandal:{keywords:["shoes","fashion","flip flops"],char:"👡",fitzpatrick_scale:!1,category:"people"},boot:{keywords:["shoes","fashion"],char:"👢",fitzpatrick_scale:!1,category:"people"},mans_shoe:{keywords:["fashion","male"],char:"👞",fitzpatrick_scale:!1,category:"people"},athletic_shoe:{keywords:["shoes","sports","sneakers"],char:"👟",fitzpatrick_scale:!1,category:"people"},hiking_boot:{keywords:["backpacking","camping","hiking"],char:"🥾",fitzpatrick_scale:!1,category:"people"},socks:{keywords:["stockings","clothes"],char:"🧦",fitzpatrick_scale:!1,category:"people"},gloves:{keywords:["hands","winter","clothes"],char:"🧤",fitzpatrick_scale:!1,category:"people"},scarf:{keywords:["neck","winter","clothes"],char:"🧣",fitzpatrick_scale:!1,category:"people"},womans_hat:{keywords:["fashion","accessories","female","lady","spring"],char:"👒",fitzpatrick_scale:!1,category:"people"},tophat:{keywords:["magic","gentleman","classy","circus"],char:"🎩",fitzpatrick_scale:!1,category:"people"},billed_hat:{keywords:["cap","baseball"],char:"🧢",fitzpatrick_scale:!1,category:"people"},rescue_worker_helmet:{keywords:["construction","build"],char:"⛑",fitzpatrick_scale:!1,category:"people"},mortar_board:{keywords:["school","college","degree","university","graduation","cap","hat","legal","learn","education"],char:"🎓",fitzpatrick_scale:!1,category:"people"},crown:{keywords:["king","kod","leader","royalty","lord"],char:"👑",fitzpatrick_scale:!1,category:"people"},school_satchel:{keywords:["student","education","bag","backpack"],char:"🎒",fitzpatrick_scale:!1,category:"people"},luggage:{keywords:["packing","travel"],char:"🧳",fitzpatrick_scale:!1,category:"people"},pouch:{keywords:["bag","accessories","shopping"],char:"👝",fitzpatrick_scale:!1,category:"people"},purse:{keywords:["fashion","accessories","money","sales","shopping"],char:"👛",fitzpatrick_scale:!1,category:"people"},handbag:{keywords:["fashion","accessory","accessories","shopping"],char:"👜",fitzpatrick_scale:!1,category:"people"},briefcase:{keywords:["business","documents","work","law","legal","job","career"],char:"💼",fitzpatrick_scale:!1,category:"people"},eyeglasses:{keywords:["fashion","accessories","eyesight","nerdy","dork","geek"],char:"👓",fitzpatrick_scale:!1,category:"people"},dark_sunglasses:{keywords:["face","cool","accessories"],char:"🕶",fitzpatrick_scale:!1,category:"people"},goggles:{keywords:["eyes","protection","safety"],char:"🥽",fitzpatrick_scale:!1,category:"people"},ring:{keywords:["wedding","propose","marriage","valentines","diamond","fashion","jewelry","gem","engagement"],char:"💍",fitzpatrick_scale:!1,category:"people"},closed_umbrella:{keywords:["weather","rain","drizzle"],char:"🌂",fitzpatrick_scale:!1,category:"people"},dog:{keywords:["animal","friend","nature","woof","puppy","pet","faithful"],char:"🐶",fitzpatrick_scale:!1,category:"animals_and_nature"},cat:{keywords:["animal","meow","nature","pet","kitten"],char:"🐱",fitzpatrick_scale:!1,category:"animals_and_nature"},mouse:{keywords:["animal","nature","cheese_wedge","rodent"],char:"🐭",fitzpatrick_scale:!1,category:"animals_and_nature"},hamster:{keywords:["animal","nature"],char:"🐹",fitzpatrick_scale:!1,category:"animals_and_nature"},rabbit:{keywords:["animal","nature","pet","spring","magic","bunny"],char:"🐰",fitzpatrick_scale:!1,category:"animals_and_nature"},fox_face:{keywords:["animal","nature","face"],char:"🦊",fitzpatrick_scale:!1,category:"animals_and_nature"},bear:{keywords:["animal","nature","wild"],char:"🐻",fitzpatrick_scale:!1,category:"animals_and_nature"},panda_face:{keywords:["animal","nature","panda"],char:"🐼",fitzpatrick_scale:!1,category:"animals_and_nature"},koala:{keywords:["animal","nature"],char:"🐨",fitzpatrick_scale:!1,category:"animals_and_nature"},tiger:{keywords:["animal","cat","danger","wild","nature","roar"],char:"🐯",fitzpatrick_scale:!1,category:"animals_and_nature"},lion:{keywords:["animal","nature"],char:"🦁",fitzpatrick_scale:!1,category:"animals_and_nature"},cow:{keywords:["beef","ox","animal","nature","moo","milk"],char:"🐮",fitzpatrick_scale:!1,category:"animals_and_nature"},pig:{keywords:["animal","oink","nature"],char:"🐷",fitzpatrick_scale:!1,category:"animals_and_nature"},pig_nose:{keywords:["animal","oink"],char:"🐽",fitzpatrick_scale:!1,category:"animals_and_nature"},frog:{keywords:["animal","nature","croak","toad"],char:"🐸",fitzpatrick_scale:!1,category:"animals_and_nature"},squid:{keywords:["animal","nature","ocean","sea"],char:"🦑",fitzpatrick_scale:!1,category:"animals_and_nature"},octopus:{keywords:["animal","creature","ocean","sea","nature","beach"],char:"🐙",fitzpatrick_scale:!1,category:"animals_and_nature"},shrimp:{keywords:["animal","ocean","nature","seafood"],char:"🦐",fitzpatrick_scale:!1,category:"animals_and_nature"},monkey_face:{keywords:["animal","nature","circus"],char:"🐵",fitzpatrick_scale:!1,category:"animals_and_nature"},gorilla:{keywords:["animal","nature","circus"],char:"🦍",fitzpatrick_scale:!1,category:"animals_and_nature"},see_no_evil:{keywords:["monkey","animal","nature","haha"],char:"🙈",fitzpatrick_scale:!1,category:"animals_and_nature"},hear_no_evil:{keywords:["animal","monkey","nature"],char:"🙉",fitzpatrick_scale:!1,category:"animals_and_nature"},speak_no_evil:{keywords:["monkey","animal","nature","omg"],char:"🙊",fitzpatrick_scale:!1,category:"animals_and_nature"},monkey:{keywords:["animal","nature","banana","circus"],char:"🐒",fitzpatrick_scale:!1,category:"animals_and_nature"},chicken:{keywords:["animal","cluck","nature","bird"],char:"🐔",fitzpatrick_scale:!1,category:"animals_and_nature"},penguin:{keywords:["animal","nature"],char:"🐧",fitzpatrick_scale:!1,category:"animals_and_nature"},bird:{keywords:["animal","nature","fly","tweet","spring"],char:"🐦",fitzpatrick_scale:!1,category:"animals_and_nature"},baby_chick:{keywords:["animal","chicken","bird"],char:"🐤",fitzpatrick_scale:!1,category:"animals_and_nature"},hatching_chick:{keywords:["animal","chicken","egg","born","baby","bird"],char:"🐣",fitzpatrick_scale:!1,category:"animals_and_nature"},hatched_chick:{keywords:["animal","chicken","baby","bird"],char:"🐥",fitzpatrick_scale:!1,category:"animals_and_nature"},duck:{keywords:["animal","nature","bird","mallard"],char:"🦆",fitzpatrick_scale:!1,category:"animals_and_nature"},eagle:{keywords:["animal","nature","bird"],char:"🦅",fitzpatrick_scale:!1,category:"animals_and_nature"},owl:{keywords:["animal","nature","bird","hoot"],char:"🦉",fitzpatrick_scale:!1,category:"animals_and_nature"},bat:{keywords:["animal","nature","blind","vampire"],char:"🦇",fitzpatrick_scale:!1,category:"animals_and_nature"},wolf:{keywords:["animal","nature","wild"],char:"🐺",fitzpatrick_scale:!1,category:"animals_and_nature"},boar:{keywords:["animal","nature"],char:"🐗",fitzpatrick_scale:!1,category:"animals_and_nature"},horse:{keywords:["animal","brown","nature"],char:"🐴",fitzpatrick_scale:!1,category:"animals_and_nature"},unicorn:{keywords:["animal","nature","mystical"],char:"🦄",fitzpatrick_scale:!1,category:"animals_and_nature"},honeybee:{keywords:["animal","insect","nature","bug","spring","honey"],char:"🐝",fitzpatrick_scale:!1,category:"animals_and_nature"},bug:{keywords:["animal","insect","nature","worm"],char:"🐛",fitzpatrick_scale:!1,category:"animals_and_nature"},butterfly:{keywords:["animal","insect","nature","caterpillar"],char:"🦋",fitzpatrick_scale:!1,category:"animals_and_nature"},snail:{keywords:["slow","animal","shell"],char:"🐌",fitzpatrick_scale:!1,category:"animals_and_nature"},beetle:{keywords:["animal","insect","nature","ladybug"],char:"🐞",fitzpatrick_scale:!1,category:"animals_and_nature"},ant:{keywords:["animal","insect","nature","bug"],char:"🐜",fitzpatrick_scale:!1,category:"animals_and_nature"},grasshopper:{keywords:["animal","cricket","chirp"],char:"🦗",fitzpatrick_scale:!1,category:"animals_and_nature"},spider:{keywords:["animal","arachnid"],char:"🕷",fitzpatrick_scale:!1,category:"animals_and_nature"},scorpion:{keywords:["animal","arachnid"],char:"🦂",fitzpatrick_scale:!1,category:"animals_and_nature"},crab:{keywords:["animal","crustacean"],char:"🦀",fitzpatrick_scale:!1,category:"animals_and_nature"},snake:{keywords:["animal","evil","nature","hiss","python"],char:"🐍",fitzpatrick_scale:!1,category:"animals_and_nature"},lizard:{keywords:["animal","nature","reptile"],char:"🦎",fitzpatrick_scale:!1,category:"animals_and_nature"},"t-rex":{keywords:["animal","nature","dinosaur","tyrannosaurus","extinct"],char:"🦖",fitzpatrick_scale:!1,category:"animals_and_nature"},sauropod:{keywords:["animal","nature","dinosaur","brachiosaurus","brontosaurus","diplodocus","extinct"],char:"🦕",fitzpatrick_scale:!1,category:"animals_and_nature"},turtle:{keywords:["animal","slow","nature","tortoise"],char:"🐢",fitzpatrick_scale:!1,category:"animals_and_nature"},tropical_fish:{keywords:["animal","swim","ocean","beach","nemo"],char:"🐠",fitzpatrick_scale:!1,category:"animals_and_nature"},fish:{keywords:["animal","food","nature"],char:"🐟",fitzpatrick_scale:!1,category:"animals_and_nature"},blowfish:{keywords:["animal","nature","food","sea","ocean"],char:"🐡",fitzpatrick_scale:!1,category:"animals_and_nature"},dolphin:{keywords:["animal","nature","fish","sea","ocean","flipper","fins","beach"],char:"🐬",fitzpatrick_scale:!1,category:"animals_and_nature"},shark:{keywords:["animal","nature","fish","sea","ocean","jaws","fins","beach"],char:"🦈",fitzpatrick_scale:!1,category:"animals_and_nature"},whale:{keywords:["animal","nature","sea","ocean"],char:"🐳",fitzpatrick_scale:!1,category:"animals_and_nature"},whale2:{keywords:["animal","nature","sea","ocean"],char:"🐋",fitzpatrick_scale:!1,category:"animals_and_nature"},crocodile:{keywords:["animal","nature","reptile","lizard","alligator"],char:"🐊",fitzpatrick_scale:!1,category:"animals_and_nature"},leopard:{keywords:["animal","nature"],char:"🐆",fitzpatrick_scale:!1,category:"animals_and_nature"},zebra:{keywords:["animal","nature","stripes","safari"],char:"🦓",fitzpatrick_scale:!1,category:"animals_and_nature"},tiger2:{keywords:["animal","nature","roar"],char:"🐅",fitzpatrick_scale:!1,category:"animals_and_nature"},water_buffalo:{keywords:["animal","nature","ox","cow"],char:"🐃",fitzpatrick_scale:!1,category:"animals_and_nature"},ox:{keywords:["animal","cow","beef"],char:"🐂",fitzpatrick_scale:!1,category:"animals_and_nature"},cow2:{keywords:["beef","ox","animal","nature","moo","milk"],char:"🐄",fitzpatrick_scale:!1,category:"animals_and_nature"},deer:{keywords:["animal","nature","horns","venison"],char:"🦌",fitzpatrick_scale:!1,category:"animals_and_nature"},dromedary_camel:{keywords:["animal","hot","desert","hump"],char:"🐪",fitzpatrick_scale:!1,category:"animals_and_nature"},camel:{keywords:["animal","nature","hot","desert","hump"],char:"🐫",fitzpatrick_scale:!1,category:"animals_and_nature"},giraffe:{keywords:["animal","nature","spots","safari"],char:"🦒",fitzpatrick_scale:!1,category:"animals_and_nature"},elephant:{keywords:["animal","nature","nose","th","circus"],char:"🐘",fitzpatrick_scale:!1,category:"animals_and_nature"},rhinoceros:{keywords:["animal","nature","horn"],char:"🦏",fitzpatrick_scale:!1,category:"animals_and_nature"},goat:{keywords:["animal","nature"],char:"🐐",fitzpatrick_scale:!1,category:"animals_and_nature"},ram:{keywords:["animal","sheep","nature"],char:"🐏",fitzpatrick_scale:!1,category:"animals_and_nature"},sheep:{keywords:["animal","nature","wool","shipit"],char:"🐑",fitzpatrick_scale:!1,category:"animals_and_nature"},racehorse:{keywords:["animal","gamble","luck"],char:"🐎",fitzpatrick_scale:!1,category:"animals_and_nature"},pig2:{keywords:["animal","nature"],char:"🐖",fitzpatrick_scale:!1,category:"animals_and_nature"},rat:{keywords:["animal","mouse","rodent"],char:"🐀",fitzpatrick_scale:!1,category:"animals_and_nature"},mouse2:{keywords:["animal","nature","rodent"],char:"🐁",fitzpatrick_scale:!1,category:"animals_and_nature"},rooster:{keywords:["animal","nature","chicken"],char:"🐓",fitzpatrick_scale:!1,category:"animals_and_nature"},turkey:{keywords:["animal","bird"],char:"🦃",fitzpatrick_scale:!1,category:"animals_and_nature"},dove:{keywords:["animal","bird"],char:"🕊",fitzpatrick_scale:!1,category:"animals_and_nature"},dog2:{keywords:["animal","nature","friend","doge","pet","faithful"],char:"🐕",fitzpatrick_scale:!1,category:"animals_and_nature"},poodle:{keywords:["dog","animal","101","nature","pet"],char:"🐩",fitzpatrick_scale:!1,category:"animals_and_nature"},cat2:{keywords:["animal","meow","pet","cats"],char:"🐈",fitzpatrick_scale:!1,category:"animals_and_nature"},rabbit2:{keywords:["animal","nature","pet","magic","spring"],char:"🐇",fitzpatrick_scale:!1,category:"animals_and_nature"},chipmunk:{keywords:["animal","nature","rodent","squirrel"],char:"🐿",fitzpatrick_scale:!1,category:"animals_and_nature"},hedgehog:{keywords:["animal","nature","spiny"],char:"🦔",fitzpatrick_scale:!1,category:"animals_and_nature"},raccoon:{keywords:["animal","nature"],char:"🦝",fitzpatrick_scale:!1,category:"animals_and_nature"},llama:{keywords:["animal","nature","alpaca"],char:"🦙",fitzpatrick_scale:!1,category:"animals_and_nature"},hippopotamus:{keywords:["animal","nature"],char:"🦛",fitzpatrick_scale:!1,category:"animals_and_nature"},kangaroo:{keywords:["animal","nature","australia","joey","hop","marsupial"],char:"🦘",fitzpatrick_scale:!1,category:"animals_and_nature"},badger:{keywords:["animal","nature","honey"],char:"🦡",fitzpatrick_scale:!1,category:"animals_and_nature"},swan:{keywords:["animal","nature","bird"],char:"🦢",fitzpatrick_scale:!1,category:"animals_and_nature"},peacock:{keywords:["animal","nature","peahen","bird"],char:"🦚",fitzpatrick_scale:!1,category:"animals_and_nature"},parrot:{keywords:["animal","nature","bird","pirate","talk"],char:"🦜",fitzpatrick_scale:!1,category:"animals_and_nature"},lobster:{keywords:["animal","nature","bisque","claws","seafood"],char:"🦞",fitzpatrick_scale:!1,category:"animals_and_nature"},mosquito:{keywords:["animal","nature","insect","malaria"],char:"🦟",fitzpatrick_scale:!1,category:"animals_and_nature"},paw_prints:{keywords:["animal","tracking","footprints","dog","cat","pet","feet"],char:"🐾",fitzpatrick_scale:!1,category:"animals_and_nature"},dragon:{keywords:["animal","myth","nature","chinese","green"],char:"🐉",fitzpatrick_scale:!1,category:"animals_and_nature"},dragon_face:{keywords:["animal","myth","nature","chinese","green"],char:"🐲",fitzpatrick_scale:!1,category:"animals_and_nature"},cactus:{keywords:["vegetable","plant","nature"],char:"🌵",fitzpatrick_scale:!1,category:"animals_and_nature"},christmas_tree:{keywords:["festival","vacation","december","xmas","celebration"],char:"🎄",fitzpatrick_scale:!1,category:"animals_and_nature"},evergreen_tree:{keywords:["plant","nature"],char:"🌲",fitzpatrick_scale:!1,category:"animals_and_nature"},deciduous_tree:{keywords:["plant","nature"],char:"🌳",fitzpatrick_scale:!1,category:"animals_and_nature"},palm_tree:{keywords:["plant","vegetable","nature","summer","beach","mojito","tropical"],char:"🌴",fitzpatrick_scale:!1,category:"animals_and_nature"},seedling:{keywords:["plant","nature","grass","lawn","spring"],char:"🌱",fitzpatrick_scale:!1,category:"animals_and_nature"},herb:{keywords:["vegetable","plant","medicine","weed","grass","lawn"],char:"🌿",fitzpatrick_scale:!1,category:"animals_and_nature"},shamrock:{keywords:["vegetable","plant","nature","irish","clover"],char:"☘",fitzpatrick_scale:!1,category:"animals_and_nature"},four_leaf_clover:{keywords:["vegetable","plant","nature","lucky","irish"],char:"🍀",fitzpatrick_scale:!1,category:"animals_and_nature"},bamboo:{keywords:["plant","nature","vegetable","panda","pine_decoration"],char:"🎍",fitzpatrick_scale:!1,category:"animals_and_nature"},tanabata_tree:{keywords:["plant","nature","branch","summer"],char:"🎋",fitzpatrick_scale:!1,category:"animals_and_nature"},leaves:{keywords:["nature","plant","tree","vegetable","grass","lawn","spring"],char:"🍃",fitzpatrick_scale:!1,category:"animals_and_nature"},fallen_leaf:{keywords:["nature","plant","vegetable","leaves"],char:"🍂",fitzpatrick_scale:!1,category:"animals_and_nature"},maple_leaf:{keywords:["nature","plant","vegetable","ca","fall"],char:"🍁",fitzpatrick_scale:!1,category:"animals_and_nature"},ear_of_rice:{keywords:["nature","plant"],char:"🌾",fitzpatrick_scale:!1,category:"animals_and_nature"},hibiscus:{keywords:["plant","vegetable","flowers","beach"],char:"🌺",fitzpatrick_scale:!1,category:"animals_and_nature"},sunflower:{keywords:["nature","plant","fall"],char:"🌻",fitzpatrick_scale:!1,category:"animals_and_nature"},rose:{keywords:["flowers","valentines","love","spring"],char:"🌹",fitzpatrick_scale:!1,category:"animals_and_nature"},wilted_flower:{keywords:["plant","nature","flower"],char:"🥀",fitzpatrick_scale:!1,category:"animals_and_nature"},tulip:{keywords:["flowers","plant","nature","summer","spring"],char:"🌷",fitzpatrick_scale:!1,category:"animals_and_nature"},blossom:{keywords:["nature","flowers","yellow"],char:"🌼",fitzpatrick_scale:!1,category:"animals_and_nature"},cherry_blossom:{keywords:["nature","plant","spring","flower"],char:"🌸",fitzpatrick_scale:!1,category:"animals_and_nature"},bouquet:{keywords:["flowers","nature","spring"],char:"💐",fitzpatrick_scale:!1,category:"animals_and_nature"},mushroom:{keywords:["plant","vegetable"],char:"🍄",fitzpatrick_scale:!1,category:"animals_and_nature"},chestnut:{keywords:["food","squirrel"],char:"🌰",fitzpatrick_scale:!1,category:"animals_and_nature"},jack_o_lantern:{keywords:["halloween","light","pumpkin","creepy","fall"],char:"🎃",fitzpatrick_scale:!1,category:"animals_and_nature"},shell:{keywords:["nature","sea","beach"],char:"🐚",fitzpatrick_scale:!1,category:"animals_and_nature"},spider_web:{keywords:["animal","insect","arachnid","silk"],char:"🕸",fitzpatrick_scale:!1,category:"animals_and_nature"},earth_americas:{keywords:["globe","world","USA","international"],char:"🌎",fitzpatrick_scale:!1,category:"animals_and_nature"},earth_africa:{keywords:["globe","world","international"],char:"🌍",fitzpatrick_scale:!1,category:"animals_and_nature"},earth_asia:{keywords:["globe","world","east","international"],char:"🌏",fitzpatrick_scale:!1,category:"animals_and_nature"},full_moon:{keywords:["nature","yellow","twilight","planet","space","night","evening","sleep"],char:"🌕",fitzpatrick_scale:!1,category:"animals_and_nature"},waning_gibbous_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep","waxing_gibbous_moon"],char:"🌖",fitzpatrick_scale:!1,category:"animals_and_nature"},last_quarter_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌗",fitzpatrick_scale:!1,category:"animals_and_nature"},waning_crescent_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌘",fitzpatrick_scale:!1,category:"animals_and_nature"},new_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌑",fitzpatrick_scale:!1,category:"animals_and_nature"},waxing_crescent_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌒",fitzpatrick_scale:!1,category:"animals_and_nature"},first_quarter_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌓",fitzpatrick_scale:!1,category:"animals_and_nature"},waxing_gibbous_moon:{keywords:["nature","night","sky","gray","twilight","planet","space","evening","sleep"],char:"🌔",fitzpatrick_scale:!1,category:"animals_and_nature"},new_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌚",fitzpatrick_scale:!1,category:"animals_and_nature"},full_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌝",fitzpatrick_scale:!1,category:"animals_and_nature"},first_quarter_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌛",fitzpatrick_scale:!1,category:"animals_and_nature"},last_quarter_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌜",fitzpatrick_scale:!1,category:"animals_and_nature"},sun_with_face:{keywords:["nature","morning","sky"],char:"🌞",fitzpatrick_scale:!1,category:"animals_and_nature"},crescent_moon:{keywords:["night","sleep","sky","evening","magic"],char:"🌙",fitzpatrick_scale:!1,category:"animals_and_nature"},star:{keywords:["night","yellow"],char:"⭐",fitzpatrick_scale:!1,category:"animals_and_nature"},star2:{keywords:["night","sparkle","awesome","good","magic"],char:"🌟",fitzpatrick_scale:!1,category:"animals_and_nature"},dizzy:{keywords:["star","sparkle","shoot","magic"],char:"💫",fitzpatrick_scale:!1,category:"animals_and_nature"},sparkles:{keywords:["stars","shine","shiny","cool","awesome","good","magic"],char:"✨",fitzpatrick_scale:!1,category:"animals_and_nature"},comet:{keywords:["space"],char:"☄",fitzpatrick_scale:!1,category:"animals_and_nature"},sunny:{keywords:["weather","nature","brightness","summer","beach","spring"],char:"☀️",fitzpatrick_scale:!1,category:"animals_and_nature"},sun_behind_small_cloud:{keywords:["weather"],char:"🌤",fitzpatrick_scale:!1,category:"animals_and_nature"},partly_sunny:{keywords:["weather","nature","cloudy","morning","fall","spring"],char:"⛅",fitzpatrick_scale:!1,category:"animals_and_nature"},sun_behind_large_cloud:{keywords:["weather"],char:"🌥",fitzpatrick_scale:!1,category:"animals_and_nature"},sun_behind_rain_cloud:{keywords:["weather"],char:"🌦",fitzpatrick_scale:!1,category:"animals_and_nature"},cloud:{keywords:["weather","sky"],char:"☁️",fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_rain:{keywords:["weather"],char:"🌧",fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_lightning_and_rain:{keywords:["weather","lightning"],char:"⛈",fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_lightning:{keywords:["weather","thunder"],char:"🌩",fitzpatrick_scale:!1,category:"animals_and_nature"},zap:{keywords:["thunder","weather","lightning bolt","fast"],char:"⚡",fitzpatrick_scale:!1,category:"animals_and_nature"},fire:{keywords:["hot","cook","flame"],char:"🔥",fitzpatrick_scale:!1,category:"animals_and_nature"},boom:{keywords:["bomb","explode","explosion","collision","blown"],char:"💥",fitzpatrick_scale:!1,category:"animals_and_nature"},snowflake:{keywords:["winter","season","cold","weather","christmas","xmas"],char:"❄️",fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_snow:{keywords:["weather"],char:"🌨",fitzpatrick_scale:!1,category:"animals_and_nature"},snowman:{keywords:["winter","season","cold","weather","christmas","xmas","frozen","without_snow"],char:"⛄",fitzpatrick_scale:!1,category:"animals_and_nature"},snowman_with_snow:{keywords:["winter","season","cold","weather","christmas","xmas","frozen"],char:"☃",fitzpatrick_scale:!1,category:"animals_and_nature"},wind_face:{keywords:["gust","air"],char:"🌬",fitzpatrick_scale:!1,category:"animals_and_nature"},dash:{keywords:["wind","air","fast","shoo","fart","smoke","puff"],char:"💨",fitzpatrick_scale:!1,category:"animals_and_nature"},tornado:{keywords:["weather","cyclone","twister"],char:"🌪",fitzpatrick_scale:!1,category:"animals_and_nature"},fog:{keywords:["weather"],char:"🌫",fitzpatrick_scale:!1,category:"animals_and_nature"},open_umbrella:{keywords:["weather","spring"],char:"☂",fitzpatrick_scale:!1,category:"animals_and_nature"},umbrella:{keywords:["rainy","weather","spring"],char:"☔",fitzpatrick_scale:!1,category:"animals_and_nature"},droplet:{keywords:["water","drip","faucet","spring"],char:"💧",fitzpatrick_scale:!1,category:"animals_and_nature"},sweat_drops:{keywords:["water","drip","oops"],char:"💦",fitzpatrick_scale:!1,category:"animals_and_nature"},ocean:{keywords:["sea","water","wave","nature","tsunami","disaster"],char:"🌊",fitzpatrick_scale:!1,category:"animals_and_nature"},green_apple:{keywords:["fruit","nature"],char:"🍏",fitzpatrick_scale:!1,category:"food_and_drink"},apple:{keywords:["fruit","mac","school"],char:"🍎",fitzpatrick_scale:!1,category:"food_and_drink"},pear:{keywords:["fruit","nature","food"],char:"🍐",fitzpatrick_scale:!1,category:"food_and_drink"},tangerine:{keywords:["food","fruit","nature","orange"],char:"🍊",fitzpatrick_scale:!1,category:"food_and_drink"},lemon:{keywords:["fruit","nature"],char:"🍋",fitzpatrick_scale:!1,category:"food_and_drink"},banana:{keywords:["fruit","food","monkey"],char:"🍌",fitzpatrick_scale:!1,category:"food_and_drink"},watermelon:{keywords:["fruit","food","picnic","summer"],char:"🍉",fitzpatrick_scale:!1,category:"food_and_drink"},grapes:{keywords:["fruit","food","wine"],char:"🍇",fitzpatrick_scale:!1,category:"food_and_drink"},strawberry:{keywords:["fruit","food","nature"],char:"🍓",fitzpatrick_scale:!1,category:"food_and_drink"},melon:{keywords:["fruit","nature","food"],char:"🍈",fitzpatrick_scale:!1,category:"food_and_drink"},cherries:{keywords:["food","fruit"],char:"🍒",fitzpatrick_scale:!1,category:"food_and_drink"},peach:{keywords:["fruit","nature","food"],char:"🍑",fitzpatrick_scale:!1,category:"food_and_drink"},pineapple:{keywords:["fruit","nature","food"],char:"🍍",fitzpatrick_scale:!1,category:"food_and_drink"},coconut:{keywords:["fruit","nature","food","palm"],char:"🥥",fitzpatrick_scale:!1,category:"food_and_drink"},kiwi_fruit:{keywords:["fruit","food"],char:"🥝",fitzpatrick_scale:!1,category:"food_and_drink"},mango:{keywords:["fruit","food","tropical"],char:"🥭",fitzpatrick_scale:!1,category:"food_and_drink"},avocado:{keywords:["fruit","food"],char:"🥑",fitzpatrick_scale:!1,category:"food_and_drink"},broccoli:{keywords:["fruit","food","vegetable"],char:"🥦",fitzpatrick_scale:!1,category:"food_and_drink"},tomato:{keywords:["fruit","vegetable","nature","food"],char:"🍅",fitzpatrick_scale:!1,category:"food_and_drink"},eggplant:{keywords:["vegetable","nature","food","aubergine"],char:"🍆",fitzpatrick_scale:!1,category:"food_and_drink"},cucumber:{keywords:["fruit","food","pickle"],char:"🥒",fitzpatrick_scale:!1,category:"food_and_drink"},carrot:{keywords:["vegetable","food","orange"],char:"🥕",fitzpatrick_scale:!1,category:"food_and_drink"},hot_pepper:{keywords:["food","spicy","chilli","chili"],char:"🌶",fitzpatrick_scale:!1,category:"food_and_drink"},potato:{keywords:["food","tuber","vegatable","starch"],char:"🥔",fitzpatrick_scale:!1,category:"food_and_drink"},corn:{keywords:["food","vegetable","plant"],char:"🌽",fitzpatrick_scale:!1,category:"food_and_drink"},leafy_greens:{keywords:["food","vegetable","plant","bok choy","cabbage","kale","lettuce"],char:"🥬",fitzpatrick_scale:!1,category:"food_and_drink"},sweet_potato:{keywords:["food","nature"],char:"🍠",fitzpatrick_scale:!1,category:"food_and_drink"},peanuts:{keywords:["food","nut"],char:"🥜",fitzpatrick_scale:!1,category:"food_and_drink"},honey_pot:{keywords:["bees","sweet","kitchen"],char:"🍯",fitzpatrick_scale:!1,category:"food_and_drink"},croissant:{keywords:["food","bread","french"],char:"🥐",fitzpatrick_scale:!1,category:"food_and_drink"},bread:{keywords:["food","wheat","breakfast","toast"],char:"🍞",fitzpatrick_scale:!1,category:"food_and_drink"},baguette_bread:{keywords:["food","bread","french"],char:"🥖",fitzpatrick_scale:!1,category:"food_and_drink"},bagel:{keywords:["food","bread","bakery","schmear"],char:"🥯",fitzpatrick_scale:!1,category:"food_and_drink"},pretzel:{keywords:["food","bread","twisted"],char:"🥨",fitzpatrick_scale:!1,category:"food_and_drink"},cheese:{keywords:["food","chadder"],char:"🧀",fitzpatrick_scale:!1,category:"food_and_drink"},egg:{keywords:["food","chicken","breakfast"],char:"🥚",fitzpatrick_scale:!1,category:"food_and_drink"},bacon:{keywords:["food","breakfast","pork","pig","meat"],char:"🥓",fitzpatrick_scale:!1,category:"food_and_drink"},steak:{keywords:["food","cow","meat","cut","chop","lambchop","porkchop"],char:"🥩",fitzpatrick_scale:!1,category:"food_and_drink"},pancakes:{keywords:["food","breakfast","flapjacks","hotcakes"],char:"🥞",fitzpatrick_scale:!1,category:"food_and_drink"},poultry_leg:{keywords:["food","meat","drumstick","bird","chicken","turkey"],char:"🍗",fitzpatrick_scale:!1,category:"food_and_drink"},meat_on_bone:{keywords:["good","food","drumstick"],char:"🍖",fitzpatrick_scale:!1,category:"food_and_drink"},bone:{keywords:["skeleton"],char:"🦴",fitzpatrick_scale:!1,category:"food_and_drink"},fried_shrimp:{keywords:["food","animal","appetizer","summer"],char:"🍤",fitzpatrick_scale:!1,category:"food_and_drink"},fried_egg:{keywords:["food","breakfast","kitchen","egg"],char:"🍳",fitzpatrick_scale:!1,category:"food_and_drink"},hamburger:{keywords:["meat","fast food","beef","cheeseburger","mcdonalds","burger king"],char:"🍔",fitzpatrick_scale:!1,category:"food_and_drink"},fries:{keywords:["chips","snack","fast food"],char:"🍟",fitzpatrick_scale:!1,category:"food_and_drink"},stuffed_flatbread:{keywords:["food","flatbread","stuffed","gyro"],char:"🥙",fitzpatrick_scale:!1,category:"food_and_drink"},hotdog:{keywords:["food","frankfurter"],char:"🌭",fitzpatrick_scale:!1,category:"food_and_drink"},pizza:{keywords:["food","party"],char:"🍕",fitzpatrick_scale:!1,category:"food_and_drink"},sandwich:{keywords:["food","lunch","bread"],char:"🥪",fitzpatrick_scale:!1,category:"food_and_drink"},canned_food:{keywords:["food","soup"],char:"🥫",fitzpatrick_scale:!1,category:"food_and_drink"},spaghetti:{keywords:["food","italian","noodle"],char:"🍝",fitzpatrick_scale:!1,category:"food_and_drink"},taco:{keywords:["food","mexican"],char:"🌮",fitzpatrick_scale:!1,category:"food_and_drink"},burrito:{keywords:["food","mexican"],char:"🌯",fitzpatrick_scale:!1,category:"food_and_drink"},green_salad:{keywords:["food","healthy","lettuce"],char:"🥗",fitzpatrick_scale:!1,category:"food_and_drink"},shallow_pan_of_food:{keywords:["food","cooking","casserole","paella"],char:"🥘",fitzpatrick_scale:!1,category:"food_and_drink"},ramen:{keywords:["food","japanese","noodle","chopsticks"],char:"🍜",fitzpatrick_scale:!1,category:"food_and_drink"},stew:{keywords:["food","meat","soup"],char:"🍲",fitzpatrick_scale:!1,category:"food_and_drink"},fish_cake:{keywords:["food","japan","sea","beach","narutomaki","pink","swirl","kamaboko","surimi","ramen"],char:"🍥",fitzpatrick_scale:!1,category:"food_and_drink"},fortune_cookie:{keywords:["food","prophecy"],char:"🥠",fitzpatrick_scale:!1,category:"food_and_drink"},sushi:{keywords:["food","fish","japanese","rice"],char:"🍣",fitzpatrick_scale:!1,category:"food_and_drink"},bento:{keywords:["food","japanese","box"],char:"🍱",fitzpatrick_scale:!1,category:"food_and_drink"},curry:{keywords:["food","spicy","hot","indian"],char:"🍛",fitzpatrick_scale:!1,category:"food_and_drink"},rice_ball:{keywords:["food","japanese"],char:"🍙",fitzpatrick_scale:!1,category:"food_and_drink"},rice:{keywords:["food","china","asian"],char:"🍚",fitzpatrick_scale:!1,category:"food_and_drink"},rice_cracker:{keywords:["food","japanese"],char:"🍘",fitzpatrick_scale:!1,category:"food_and_drink"},oden:{keywords:["food","japanese"],char:"🍢",fitzpatrick_scale:!1,category:"food_and_drink"},dango:{keywords:["food","dessert","sweet","japanese","barbecue","meat"],char:"🍡",fitzpatrick_scale:!1,category:"food_and_drink"},shaved_ice:{keywords:["hot","dessert","summer"],char:"🍧",fitzpatrick_scale:!1,category:"food_and_drink"},ice_cream:{keywords:["food","hot","dessert"],char:"🍨",fitzpatrick_scale:!1,category:"food_and_drink"},icecream:{keywords:["food","hot","dessert","summer"],char:"🍦",fitzpatrick_scale:!1,category:"food_and_drink"},pie:{keywords:["food","dessert","pastry"],char:"🥧",fitzpatrick_scale:!1,category:"food_and_drink"},cake:{keywords:["food","dessert"],char:"🍰",fitzpatrick_scale:!1,category:"food_and_drink"},cupcake:{keywords:["food","dessert","bakery","sweet"],char:"🧁",fitzpatrick_scale:!1,category:"food_and_drink"},moon_cake:{keywords:["food","autumn"],char:"🥮",fitzpatrick_scale:!1,category:"food_and_drink"},birthday:{keywords:["food","dessert","cake"],char:"🎂",fitzpatrick_scale:!1,category:"food_and_drink"},custard:{keywords:["dessert","food"],char:"🍮",fitzpatrick_scale:!1,category:"food_and_drink"},candy:{keywords:["snack","dessert","sweet","lolly"],char:"🍬",fitzpatrick_scale:!1,category:"food_and_drink"},lollipop:{keywords:["food","snack","candy","sweet"],char:"🍭",fitzpatrick_scale:!1,category:"food_and_drink"},chocolate_bar:{keywords:["food","snack","dessert","sweet"],char:"🍫",fitzpatrick_scale:!1,category:"food_and_drink"},popcorn:{keywords:["food","movie theater","films","snack"],char:"🍿",fitzpatrick_scale:!1,category:"food_and_drink"},dumpling:{keywords:["food","empanada","pierogi","potsticker"],char:"🥟",fitzpatrick_scale:!1,category:"food_and_drink"},doughnut:{keywords:["food","dessert","snack","sweet","donut"],char:"🍩",fitzpatrick_scale:!1,category:"food_and_drink"},cookie:{keywords:["food","snack","oreo","chocolate","sweet","dessert"],char:"🍪",fitzpatrick_scale:!1,category:"food_and_drink"},milk_glass:{keywords:["beverage","drink","cow"],char:"🥛",fitzpatrick_scale:!1,category:"food_and_drink"},beer:{keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],char:"🍺",fitzpatrick_scale:!1,category:"food_and_drink"},beers:{keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],char:"🍻",fitzpatrick_scale:!1,category:"food_and_drink"},clinking_glasses:{keywords:["beverage","drink","party","alcohol","celebrate","cheers","wine","champagne","toast"],char:"🥂",fitzpatrick_scale:!1,category:"food_and_drink"},wine_glass:{keywords:["drink","beverage","drunk","alcohol","booze"],char:"🍷",fitzpatrick_scale:!1,category:"food_and_drink"},tumbler_glass:{keywords:["drink","beverage","drunk","alcohol","liquor","booze","bourbon","scotch","whisky","glass","shot"],char:"🥃",fitzpatrick_scale:!1,category:"food_and_drink"},cocktail:{keywords:["drink","drunk","alcohol","beverage","booze","mojito"],char:"🍸",fitzpatrick_scale:!1,category:"food_and_drink"},tropical_drink:{keywords:["beverage","cocktail","summer","beach","alcohol","booze","mojito"],char:"🍹",fitzpatrick_scale:!1,category:"food_and_drink"},champagne:{keywords:["drink","wine","bottle","celebration"],char:"🍾",fitzpatrick_scale:!1,category:"food_and_drink"},sake:{keywords:["wine","drink","drunk","beverage","japanese","alcohol","booze"],char:"🍶",fitzpatrick_scale:!1,category:"food_and_drink"},tea:{keywords:["drink","bowl","breakfast","green","british"],char:"🍵",fitzpatrick_scale:!1,category:"food_and_drink"},cup_with_straw:{keywords:["drink","soda"],char:"🥤",fitzpatrick_scale:!1,category:"food_and_drink"},coffee:{keywords:["beverage","caffeine","latte","espresso"],char:"☕",fitzpatrick_scale:!1,category:"food_and_drink"},baby_bottle:{keywords:["food","container","milk"],char:"🍼",fitzpatrick_scale:!1,category:"food_and_drink"},salt:{keywords:["condiment","shaker"],char:"🧂",fitzpatrick_scale:!1,category:"food_and_drink"},spoon:{keywords:["cutlery","kitchen","tableware"],char:"🥄",fitzpatrick_scale:!1,category:"food_and_drink"},fork_and_knife:{keywords:["cutlery","kitchen"],char:"🍴",fitzpatrick_scale:!1,category:"food_and_drink"},plate_with_cutlery:{keywords:["food","eat","meal","lunch","dinner","restaurant"],char:"🍽",fitzpatrick_scale:!1,category:"food_and_drink"},bowl_with_spoon:{keywords:["food","breakfast","cereal","oatmeal","porridge"],char:"🥣",fitzpatrick_scale:!1,category:"food_and_drink"},takeout_box:{keywords:["food","leftovers"],char:"🥡",fitzpatrick_scale:!1,category:"food_and_drink"},chopsticks:{keywords:["food"],char:"🥢",fitzpatrick_scale:!1,category:"food_and_drink"},soccer:{keywords:["sports","football"],char:"⚽",fitzpatrick_scale:!1,category:"activity"},basketball:{keywords:["sports","balls","NBA"],char:"🏀",fitzpatrick_scale:!1,category:"activity"},football:{keywords:["sports","balls","NFL"],char:"🏈",fitzpatrick_scale:!1,category:"activity"},baseball:{keywords:["sports","balls"],char:"⚾",fitzpatrick_scale:!1,category:"activity"},softball:{keywords:["sports","balls"],char:"🥎",fitzpatrick_scale:!1,category:"activity"},tennis:{keywords:["sports","balls","green"],char:"🎾",fitzpatrick_scale:!1,category:"activity"},volleyball:{keywords:["sports","balls"],char:"🏐",fitzpatrick_scale:!1,category:"activity"},rugby_football:{keywords:["sports","team"],char:"🏉",fitzpatrick_scale:!1,category:"activity"},flying_disc:{keywords:["sports","frisbee","ultimate"],char:"🥏",fitzpatrick_scale:!1,category:"activity"},"8ball":{keywords:["pool","hobby","game","luck","magic"],char:"🎱",fitzpatrick_scale:!1,category:"activity"},golf:{keywords:["sports","business","flag","hole","summer"],char:"⛳",fitzpatrick_scale:!1,category:"activity"},golfing_woman:{keywords:["sports","business","woman","female"],char:"🏌️‍♀️",fitzpatrick_scale:!1,category:"activity"},golfing_man:{keywords:["sports","business"],char:"🏌",fitzpatrick_scale:!0,category:"activity"},ping_pong:{keywords:["sports","pingpong"],char:"🏓",fitzpatrick_scale:!1,category:"activity"},badminton:{keywords:["sports"],char:"🏸",fitzpatrick_scale:!1,category:"activity"},goal_net:{keywords:["sports"],char:"🥅",fitzpatrick_scale:!1,category:"activity"},ice_hockey:{keywords:["sports"],char:"🏒",fitzpatrick_scale:!1,category:"activity"},field_hockey:{keywords:["sports"],char:"🏑",fitzpatrick_scale:!1,category:"activity"},lacrosse:{keywords:["sports","ball","stick"],char:"🥍",fitzpatrick_scale:!1,category:"activity"},cricket:{keywords:["sports"],char:"🏏",fitzpatrick_scale:!1,category:"activity"},ski:{keywords:["sports","winter","cold","snow"],char:"🎿",fitzpatrick_scale:!1,category:"activity"},skier:{keywords:["sports","winter","snow"],char:"⛷",fitzpatrick_scale:!1,category:"activity"},snowboarder:{keywords:["sports","winter"],char:"🏂",fitzpatrick_scale:!0,category:"activity"},person_fencing:{keywords:["sports","fencing","sword"],char:"🤺",fitzpatrick_scale:!1,category:"activity"},women_wrestling:{keywords:["sports","wrestlers"],char:"🤼‍♀️",fitzpatrick_scale:!1,category:"activity"},men_wrestling:{keywords:["sports","wrestlers"],char:"🤼‍♂️",fitzpatrick_scale:!1,category:"activity"},woman_cartwheeling:{keywords:["gymnastics"],char:"🤸‍♀️",fitzpatrick_scale:!0,category:"activity"},man_cartwheeling:{keywords:["gymnastics"],char:"🤸‍♂️",fitzpatrick_scale:!0,category:"activity"},woman_playing_handball:{keywords:["sports"],char:"🤾‍♀️",fitzpatrick_scale:!0,category:"activity"},man_playing_handball:{keywords:["sports"],char:"🤾‍♂️",fitzpatrick_scale:!0,category:"activity"},ice_skate:{keywords:["sports"],char:"⛸",fitzpatrick_scale:!1,category:"activity"},curling_stone:{keywords:["sports"],char:"🥌",fitzpatrick_scale:!1,category:"activity"},skateboard:{keywords:["board"],char:"🛹",fitzpatrick_scale:!1,category:"activity"},sled:{keywords:["sleigh","luge","toboggan"],char:"🛷",fitzpatrick_scale:!1,category:"activity"},bow_and_arrow:{keywords:["sports"],char:"🏹",fitzpatrick_scale:!1,category:"activity"},fishing_pole_and_fish:{keywords:["food","hobby","summer"],char:"🎣",fitzpatrick_scale:!1,category:"activity"},boxing_glove:{keywords:["sports","fighting"],char:"🥊",fitzpatrick_scale:!1,category:"activity"},martial_arts_uniform:{keywords:["judo","karate","taekwondo"],char:"🥋",fitzpatrick_scale:!1,category:"activity"},rowing_woman:{keywords:["sports","hobby","water","ship","woman","female"],char:"🚣‍♀️",fitzpatrick_scale:!0,category:"activity"},rowing_man:{keywords:["sports","hobby","water","ship"],char:"🚣",fitzpatrick_scale:!0,category:"activity"},climbing_woman:{keywords:["sports","hobby","woman","female","rock"],char:"🧗‍♀️",fitzpatrick_scale:!0,category:"activity"},climbing_man:{keywords:["sports","hobby","man","male","rock"],char:"🧗‍♂️",fitzpatrick_scale:!0,category:"activity"},swimming_woman:{keywords:["sports","exercise","human","athlete","water","summer","woman","female"],char:"🏊‍♀️",fitzpatrick_scale:!0,category:"activity"},swimming_man:{keywords:["sports","exercise","human","athlete","water","summer"],char:"🏊",fitzpatrick_scale:!0,category:"activity"},woman_playing_water_polo:{keywords:["sports","pool"],char:"🤽‍♀️",fitzpatrick_scale:!0,category:"activity"},man_playing_water_polo:{keywords:["sports","pool"],char:"🤽‍♂️",fitzpatrick_scale:!0,category:"activity"},woman_in_lotus_position:{keywords:["woman","female","meditation","yoga","serenity","zen","mindfulness"],char:"🧘‍♀️",fitzpatrick_scale:!0,category:"activity"},man_in_lotus_position:{keywords:["man","male","meditation","yoga","serenity","zen","mindfulness"],char:"🧘‍♂️",fitzpatrick_scale:!0,category:"activity"},surfing_woman:{keywords:["sports","ocean","sea","summer","beach","woman","female"],char:"🏄‍♀️",fitzpatrick_scale:!0,category:"activity"},surfing_man:{keywords:["sports","ocean","sea","summer","beach"],char:"🏄",fitzpatrick_scale:!0,category:"activity"},bath:{keywords:["clean","shower","bathroom"],char:"🛀",fitzpatrick_scale:!0,category:"activity"},basketball_woman:{keywords:["sports","human","woman","female"],char:"⛹️‍♀️",fitzpatrick_scale:!0,category:"activity"},basketball_man:{keywords:["sports","human"],char:"⛹",fitzpatrick_scale:!0,category:"activity"},weight_lifting_woman:{keywords:["sports","training","exercise","woman","female"],char:"🏋️‍♀️",fitzpatrick_scale:!0,category:"activity"},weight_lifting_man:{keywords:["sports","training","exercise"],char:"🏋",fitzpatrick_scale:!0,category:"activity"},biking_woman:{keywords:["sports","bike","exercise","hipster","woman","female"],char:"🚴‍♀️",fitzpatrick_scale:!0,category:"activity"},biking_man:{keywords:["sports","bike","exercise","hipster"],char:"🚴",fitzpatrick_scale:!0,category:"activity"},mountain_biking_woman:{keywords:["transportation","sports","human","race","bike","woman","female"],char:"🚵‍♀️",fitzpatrick_scale:!0,category:"activity"},mountain_biking_man:{keywords:["transportation","sports","human","race","bike"],char:"🚵",fitzpatrick_scale:!0,category:"activity"},horse_racing:{keywords:["animal","betting","competition","gambling","luck"],char:"🏇",fitzpatrick_scale:!0,category:"activity"},business_suit_levitating:{keywords:["suit","business","levitate","hover","jump"],char:"🕴",fitzpatrick_scale:!0,category:"activity"},trophy:{keywords:["win","award","contest","place","ftw","ceremony"],char:"🏆",fitzpatrick_scale:!1,category:"activity"},running_shirt_with_sash:{keywords:["play","pageant"],char:"🎽",fitzpatrick_scale:!1,category:"activity"},medal_sports:{keywords:["award","winning"],char:"🏅",fitzpatrick_scale:!1,category:"activity"},medal_military:{keywords:["award","winning","army"],char:"🎖",fitzpatrick_scale:!1,category:"activity"},"1st_place_medal":{keywords:["award","winning","first"],char:"🥇",fitzpatrick_scale:!1,category:"activity"},"2nd_place_medal":{keywords:["award","second"],char:"🥈",fitzpatrick_scale:!1,category:"activity"},"3rd_place_medal":{keywords:["award","third"],char:"🥉",fitzpatrick_scale:!1,category:"activity"},reminder_ribbon:{keywords:["sports","cause","support","awareness"],char:"🎗",fitzpatrick_scale:!1,category:"activity"},rosette:{keywords:["flower","decoration","military"],char:"🏵",fitzpatrick_scale:!1,category:"activity"},ticket:{keywords:["event","concert","pass"],char:"🎫",fitzpatrick_scale:!1,category:"activity"},tickets:{keywords:["sports","concert","entrance"],char:"🎟",fitzpatrick_scale:!1,category:"activity"},performing_arts:{keywords:["acting","theater","drama"],char:"🎭",fitzpatrick_scale:!1,category:"activity"},art:{keywords:["design","paint","draw","colors"],char:"🎨",fitzpatrick_scale:!1,category:"activity"},circus_tent:{keywords:["festival","carnival","party"],char:"🎪",fitzpatrick_scale:!1,category:"activity"},woman_juggling:{keywords:["juggle","balance","skill","multitask"],char:"🤹‍♀️",fitzpatrick_scale:!0,category:"activity"},man_juggling:{keywords:["juggle","balance","skill","multitask"],char:"🤹‍♂️",fitzpatrick_scale:!0,category:"activity"},microphone:{keywords:["sound","music","PA","sing","talkshow"],char:"🎤",fitzpatrick_scale:!1,category:"activity"},headphones:{keywords:["music","score","gadgets"],char:"🎧",fitzpatrick_scale:!1,category:"activity"},musical_score:{keywords:["treble","clef","compose"],char:"🎼",fitzpatrick_scale:!1,category:"activity"},musical_keyboard:{keywords:["piano","instrument","compose"],char:"🎹",fitzpatrick_scale:!1,category:"activity"},drum:{keywords:["music","instrument","drumsticks","snare"],char:"🥁",fitzpatrick_scale:!1,category:"activity"},saxophone:{keywords:["music","instrument","jazz","blues"],char:"🎷",fitzpatrick_scale:!1,category:"activity"},trumpet:{keywords:["music","brass"],char:"🎺",fitzpatrick_scale:!1,category:"activity"},guitar:{keywords:["music","instrument"],char:"🎸",fitzpatrick_scale:!1,category:"activity"},violin:{keywords:["music","instrument","orchestra","symphony"],char:"🎻",fitzpatrick_scale:!1,category:"activity"},clapper:{keywords:["movie","film","record"],char:"🎬",fitzpatrick_scale:!1,category:"activity"},video_game:{keywords:["play","console","PS4","controller"],char:"🎮",fitzpatrick_scale:!1,category:"activity"},space_invader:{keywords:["game","arcade","play"],char:"👾",fitzpatrick_scale:!1,category:"activity"},dart:{keywords:["game","play","bar","target","bullseye"],char:"🎯",fitzpatrick_scale:!1,category:"activity"},game_die:{keywords:["dice","random","tabletop","play","luck"],char:"🎲",fitzpatrick_scale:!1,category:"activity"},chess_pawn:{keywords:["expendable"],char:"♟",fitzpatrick_scale:!1,category:"activity"},slot_machine:{keywords:["bet","gamble","vegas","fruit machine","luck","casino"],char:"🎰",fitzpatrick_scale:!1,category:"activity"},jigsaw:{keywords:["interlocking","puzzle","piece"],char:"🧩",fitzpatrick_scale:!1,category:"activity"},bowling:{keywords:["sports","fun","play"],char:"🎳",fitzpatrick_scale:!1,category:"activity"},red_car:{keywords:["red","transportation","vehicle"],char:"🚗",fitzpatrick_scale:!1,category:"travel_and_places"},taxi:{keywords:["uber","vehicle","cars","transportation"],char:"🚕",fitzpatrick_scale:!1,category:"travel_and_places"},blue_car:{keywords:["transportation","vehicle"],char:"🚙",fitzpatrick_scale:!1,category:"travel_and_places"},bus:{keywords:["car","vehicle","transportation"],char:"🚌",fitzpatrick_scale:!1,category:"travel_and_places"},trolleybus:{keywords:["bart","transportation","vehicle"],char:"🚎",fitzpatrick_scale:!1,category:"travel_and_places"},racing_car:{keywords:["sports","race","fast","formula","f1"],char:"🏎",fitzpatrick_scale:!1,category:"travel_and_places"},police_car:{keywords:["vehicle","cars","transportation","law","legal","enforcement"],char:"🚓",fitzpatrick_scale:!1,category:"travel_and_places"},ambulance:{keywords:["health","911","hospital"],char:"🚑",fitzpatrick_scale:!1,category:"travel_and_places"},fire_engine:{keywords:["transportation","cars","vehicle"],char:"🚒",fitzpatrick_scale:!1,category:"travel_and_places"},minibus:{keywords:["vehicle","car","transportation"],char:"🚐",fitzpatrick_scale:!1,category:"travel_and_places"},truck:{keywords:["cars","transportation"],char:"🚚",fitzpatrick_scale:!1,category:"travel_and_places"},articulated_lorry:{keywords:["vehicle","cars","transportation","express"],char:"🚛",fitzpatrick_scale:!1,category:"travel_and_places"},tractor:{keywords:["vehicle","car","farming","agriculture"],char:"🚜",fitzpatrick_scale:!1,category:"travel_and_places"},kick_scooter:{keywords:["vehicle","kick","razor"],char:"🛴",fitzpatrick_scale:!1,category:"travel_and_places"},motorcycle:{keywords:["race","sports","fast"],char:"🏍",fitzpatrick_scale:!1,category:"travel_and_places"},bike:{keywords:["sports","bicycle","exercise","hipster"],char:"🚲",fitzpatrick_scale:!1,category:"travel_and_places"},motor_scooter:{keywords:["vehicle","vespa","sasha"],char:"🛵",fitzpatrick_scale:!1,category:"travel_and_places"},rotating_light:{keywords:["police","ambulance","911","emergency","alert","error","pinged","law","legal"],char:"🚨",fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_police_car:{keywords:["vehicle","law","legal","enforcement","911"],char:"🚔",fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_bus:{keywords:["vehicle","transportation"],char:"🚍",fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_automobile:{keywords:["car","vehicle","transportation"],char:"🚘",fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_taxi:{keywords:["vehicle","cars","uber"],char:"🚖",fitzpatrick_scale:!1,category:"travel_and_places"},aerial_tramway:{keywords:["transportation","vehicle","ski"],char:"🚡",fitzpatrick_scale:!1,category:"travel_and_places"},mountain_cableway:{keywords:["transportation","vehicle","ski"],char:"🚠",fitzpatrick_scale:!1,category:"travel_and_places"},suspension_railway:{keywords:["vehicle","transportation"],char:"🚟",fitzpatrick_scale:!1,category:"travel_and_places"},railway_car:{keywords:["transportation","vehicle"],char:"🚃",fitzpatrick_scale:!1,category:"travel_and_places"},train:{keywords:["transportation","vehicle","carriage","public","travel"],char:"🚋",fitzpatrick_scale:!1,category:"travel_and_places"},monorail:{keywords:["transportation","vehicle"],char:"🚝",fitzpatrick_scale:!1,category:"travel_and_places"},bullettrain_side:{keywords:["transportation","vehicle"],char:"🚄",fitzpatrick_scale:!1,category:"travel_and_places"},bullettrain_front:{keywords:["transportation","vehicle","speed","fast","public","travel"],char:"🚅",fitzpatrick_scale:!1,category:"travel_and_places"},light_rail:{keywords:["transportation","vehicle"],char:"🚈",fitzpatrick_scale:!1,category:"travel_and_places"},mountain_railway:{keywords:["transportation","vehicle"],char:"🚞",fitzpatrick_scale:!1,category:"travel_and_places"},steam_locomotive:{keywords:["transportation","vehicle","train"],char:"🚂",fitzpatrick_scale:!1,category:"travel_and_places"},train2:{keywords:["transportation","vehicle"],char:"🚆",fitzpatrick_scale:!1,category:"travel_and_places"},metro:{keywords:["transportation","blue-square","mrt","underground","tube"],char:"🚇",fitzpatrick_scale:!1,category:"travel_and_places"},tram:{keywords:["transportation","vehicle"],char:"🚊",fitzpatrick_scale:!1,category:"travel_and_places"},station:{keywords:["transportation","vehicle","public"],char:"🚉",fitzpatrick_scale:!1,category:"travel_and_places"},flying_saucer:{keywords:["transportation","vehicle","ufo"],char:"🛸",fitzpatrick_scale:!1,category:"travel_and_places"},helicopter:{keywords:["transportation","vehicle","fly"],char:"🚁",fitzpatrick_scale:!1,category:"travel_and_places"},small_airplane:{keywords:["flight","transportation","fly","vehicle"],char:"🛩",fitzpatrick_scale:!1,category:"travel_and_places"},airplane:{keywords:["vehicle","transportation","flight","fly"],char:"✈️",fitzpatrick_scale:!1,category:"travel_and_places"},flight_departure:{keywords:["airport","flight","landing"],char:"🛫",fitzpatrick_scale:!1,category:"travel_and_places"},flight_arrival:{keywords:["airport","flight","boarding"],char:"🛬",fitzpatrick_scale:!1,category:"travel_and_places"},sailboat:{keywords:["ship","summer","transportation","water","sailing"],char:"⛵",fitzpatrick_scale:!1,category:"travel_and_places"},motor_boat:{keywords:["ship"],char:"🛥",fitzpatrick_scale:!1,category:"travel_and_places"},speedboat:{keywords:["ship","transportation","vehicle","summer"],char:"🚤",fitzpatrick_scale:!1,category:"travel_and_places"},ferry:{keywords:["boat","ship","yacht"],char:"⛴",fitzpatrick_scale:!1,category:"travel_and_places"},passenger_ship:{keywords:["yacht","cruise","ferry"],char:"🛳",fitzpatrick_scale:!1,category:"travel_and_places"},rocket:{keywords:["launch","ship","staffmode","NASA","outer space","outer_space","fly"],char:"🚀",fitzpatrick_scale:!1,category:"travel_and_places"},artificial_satellite:{keywords:["communication","gps","orbit","spaceflight","NASA","ISS"],char:"🛰",fitzpatrick_scale:!1,category:"travel_and_places"},seat:{keywords:["sit","airplane","transport","bus","flight","fly"],char:"💺",fitzpatrick_scale:!1,category:"travel_and_places"},canoe:{keywords:["boat","paddle","water","ship"],char:"🛶",fitzpatrick_scale:!1,category:"travel_and_places"},anchor:{keywords:["ship","ferry","sea","boat"],char:"⚓",fitzpatrick_scale:!1,category:"travel_and_places"},construction:{keywords:["wip","progress","caution","warning"],char:"🚧",fitzpatrick_scale:!1,category:"travel_and_places"},fuelpump:{keywords:["gas station","petroleum"],char:"⛽",fitzpatrick_scale:!1,category:"travel_and_places"},busstop:{keywords:["transportation","wait"],char:"🚏",fitzpatrick_scale:!1,category:"travel_and_places"},vertical_traffic_light:{keywords:["transportation","driving"],char:"🚦",fitzpatrick_scale:!1,category:"travel_and_places"},traffic_light:{keywords:["transportation","signal"],char:"🚥",fitzpatrick_scale:!1,category:"travel_and_places"},checkered_flag:{keywords:["contest","finishline","race","gokart"],char:"🏁",fitzpatrick_scale:!1,category:"travel_and_places"},ship:{keywords:["transportation","titanic","deploy"],char:"🚢",fitzpatrick_scale:!1,category:"travel_and_places"},ferris_wheel:{keywords:["photo","carnival","londoneye"],char:"🎡",fitzpatrick_scale:!1,category:"travel_and_places"},roller_coaster:{keywords:["carnival","playground","photo","fun"],char:"🎢",fitzpatrick_scale:!1,category:"travel_and_places"},carousel_horse:{keywords:["photo","carnival"],char:"🎠",fitzpatrick_scale:!1,category:"travel_and_places"},building_construction:{keywords:["wip","working","progress"],char:"🏗",fitzpatrick_scale:!1,category:"travel_and_places"},foggy:{keywords:["photo","mountain"],char:"🌁",fitzpatrick_scale:!1,category:"travel_and_places"},tokyo_tower:{keywords:["photo","japanese"],char:"🗼",fitzpatrick_scale:!1,category:"travel_and_places"},factory:{keywords:["building","industry","pollution","smoke"],char:"🏭",fitzpatrick_scale:!1,category:"travel_and_places"},fountain:{keywords:["photo","summer","water","fresh"],char:"⛲",fitzpatrick_scale:!1,category:"travel_and_places"},rice_scene:{keywords:["photo","japan","asia","tsukimi"],char:"🎑",fitzpatrick_scale:!1,category:"travel_and_places"},mountain:{keywords:["photo","nature","environment"],char:"⛰",fitzpatrick_scale:!1,category:"travel_and_places"},mountain_snow:{keywords:["photo","nature","environment","winter","cold"],char:"🏔",fitzpatrick_scale:!1,category:"travel_and_places"},mount_fuji:{keywords:["photo","mountain","nature","japanese"],char:"🗻",fitzpatrick_scale:!1,category:"travel_and_places"},volcano:{keywords:["photo","nature","disaster"],char:"🌋",fitzpatrick_scale:!1,category:"travel_and_places"},japan:{keywords:["nation","country","japanese","asia"],char:"🗾",fitzpatrick_scale:!1,category:"travel_and_places"},camping:{keywords:["photo","outdoors","tent"],char:"🏕",fitzpatrick_scale:!1,category:"travel_and_places"},tent:{keywords:["photo","camping","outdoors"],char:"⛺",fitzpatrick_scale:!1,category:"travel_and_places"},national_park:{keywords:["photo","environment","nature"],char:"🏞",fitzpatrick_scale:!1,category:"travel_and_places"},motorway:{keywords:["road","cupertino","interstate","highway"],char:"🛣",fitzpatrick_scale:!1,category:"travel_and_places"},railway_track:{keywords:["train","transportation"],char:"🛤",fitzpatrick_scale:!1,category:"travel_and_places"},sunrise:{keywords:["morning","view","vacation","photo"],char:"🌅",fitzpatrick_scale:!1,category:"travel_and_places"},sunrise_over_mountains:{keywords:["view","vacation","photo"],char:"🌄",fitzpatrick_scale:!1,category:"travel_and_places"},desert:{keywords:["photo","warm","saharah"],char:"🏜",fitzpatrick_scale:!1,category:"travel_and_places"},beach_umbrella:{keywords:["weather","summer","sunny","sand","mojito"],char:"🏖",fitzpatrick_scale:!1,category:"travel_and_places"},desert_island:{keywords:["photo","tropical","mojito"],char:"🏝",fitzpatrick_scale:!1,category:"travel_and_places"},city_sunrise:{keywords:["photo","good morning","dawn"],char:"🌇",fitzpatrick_scale:!1,category:"travel_and_places"},city_sunset:{keywords:["photo","evening","sky","buildings"],char:"🌆",fitzpatrick_scale:!1,category:"travel_and_places"},cityscape:{keywords:["photo","night life","urban"],char:"🏙",fitzpatrick_scale:!1,category:"travel_and_places"},night_with_stars:{keywords:["evening","city","downtown"],char:"🌃",fitzpatrick_scale:!1,category:"travel_and_places"},bridge_at_night:{keywords:["photo","sanfrancisco"],char:"🌉",fitzpatrick_scale:!1,category:"travel_and_places"},milky_way:{keywords:["photo","space","stars"],char:"🌌",fitzpatrick_scale:!1,category:"travel_and_places"},stars:{keywords:["night","photo"],char:"🌠",fitzpatrick_scale:!1,category:"travel_and_places"},sparkler:{keywords:["stars","night","shine"],char:"🎇",fitzpatrick_scale:!1,category:"travel_and_places"},fireworks:{keywords:["photo","festival","carnival","congratulations"],char:"🎆",fitzpatrick_scale:!1,category:"travel_and_places"},rainbow:{keywords:["nature","happy","unicorn_face","photo","sky","spring"],char:"🌈",fitzpatrick_scale:!1,category:"travel_and_places"},houses:{keywords:["buildings","photo"],char:"🏘",fitzpatrick_scale:!1,category:"travel_and_places"},european_castle:{keywords:["building","royalty","history"],char:"🏰",fitzpatrick_scale:!1,category:"travel_and_places"},japanese_castle:{keywords:["photo","building"],char:"🏯",fitzpatrick_scale:!1,category:"travel_and_places"},stadium:{keywords:["photo","place","sports","concert","venue"],char:"🏟",fitzpatrick_scale:!1,category:"travel_and_places"},statue_of_liberty:{keywords:["american","newyork"],char:"🗽",fitzpatrick_scale:!1,category:"travel_and_places"},house:{keywords:["building","home"],char:"🏠",fitzpatrick_scale:!1,category:"travel_and_places"},house_with_garden:{keywords:["home","plant","nature"],char:"🏡",fitzpatrick_scale:!1,category:"travel_and_places"},derelict_house:{keywords:["abandon","evict","broken","building"],char:"🏚",fitzpatrick_scale:!1,category:"travel_and_places"},office:{keywords:["building","bureau","work"],char:"🏢",fitzpatrick_scale:!1,category:"travel_and_places"},department_store:{keywords:["building","shopping","mall"],char:"🏬",fitzpatrick_scale:!1,category:"travel_and_places"},post_office:{keywords:["building","envelope","communication"],char:"🏣",fitzpatrick_scale:!1,category:"travel_and_places"},european_post_office:{keywords:["building","email"],char:"🏤",fitzpatrick_scale:!1,category:"travel_and_places"},hospital:{keywords:["building","health","surgery","doctor"],char:"🏥",fitzpatrick_scale:!1,category:"travel_and_places"},bank:{keywords:["building","money","sales","cash","business","enterprise"],char:"🏦",fitzpatrick_scale:!1,category:"travel_and_places"},hotel:{keywords:["building","accomodation","checkin"],char:"🏨",fitzpatrick_scale:!1,category:"travel_and_places"},convenience_store:{keywords:["building","shopping","groceries"],char:"🏪",fitzpatrick_scale:!1,category:"travel_and_places"},school:{keywords:["building","student","education","learn","teach"],char:"🏫",fitzpatrick_scale:!1,category:"travel_and_places"},love_hotel:{keywords:["like","affection","dating"],char:"🏩",fitzpatrick_scale:!1,category:"travel_and_places"},wedding:{keywords:["love","like","affection","couple","marriage","bride","groom"],char:"💒",fitzpatrick_scale:!1,category:"travel_and_places"},classical_building:{keywords:["art","culture","history"],char:"🏛",fitzpatrick_scale:!1,category:"travel_and_places"},church:{keywords:["building","religion","christ"],char:"⛪",fitzpatrick_scale:!1,category:"travel_and_places"},mosque:{keywords:["islam","worship","minaret"],char:"🕌",fitzpatrick_scale:!1,category:"travel_and_places"},synagogue:{keywords:["judaism","worship","temple","jewish"],char:"🕍",fitzpatrick_scale:!1,category:"travel_and_places"},kaaba:{keywords:["mecca","mosque","islam"],char:"🕋",fitzpatrick_scale:!1,category:"travel_and_places"},shinto_shrine:{keywords:["temple","japan","kyoto"],char:"⛩",fitzpatrick_scale:!1,category:"travel_and_places"},watch:{keywords:["time","accessories"],char:"⌚",fitzpatrick_scale:!1,category:"objects"},iphone:{keywords:["technology","apple","gadgets","dial"],char:"📱",fitzpatrick_scale:!1,category:"objects"},calling:{keywords:["iphone","incoming"],char:"📲",fitzpatrick_scale:!1,category:"objects"},computer:{keywords:["technology","laptop","screen","display","monitor"],char:"💻",fitzpatrick_scale:!1,category:"objects"},keyboard:{keywords:["technology","computer","type","input","text"],char:"⌨",fitzpatrick_scale:!1,category:"objects"},desktop_computer:{keywords:["technology","computing","screen"],char:"🖥",fitzpatrick_scale:!1,category:"objects"},printer:{keywords:["paper","ink"],char:"🖨",fitzpatrick_scale:!1,category:"objects"},computer_mouse:{keywords:["click"],char:"🖱",fitzpatrick_scale:!1,category:"objects"},trackball:{keywords:["technology","trackpad"],char:"🖲",fitzpatrick_scale:!1,category:"objects"},joystick:{keywords:["game","play"],char:"🕹",fitzpatrick_scale:!1,category:"objects"},clamp:{keywords:["tool"],char:"🗜",fitzpatrick_scale:!1,category:"objects"},minidisc:{keywords:["technology","record","data","disk","90s"],char:"💽",fitzpatrick_scale:!1,category:"objects"},floppy_disk:{keywords:["oldschool","technology","save","90s","80s"],char:"💾",fitzpatrick_scale:!1,category:"objects"},cd:{keywords:["technology","dvd","disk","disc","90s"],char:"💿",fitzpatrick_scale:!1,category:"objects"},dvd:{keywords:["cd","disk","disc"],char:"📀",fitzpatrick_scale:!1,category:"objects"},vhs:{keywords:["record","video","oldschool","90s","80s"],char:"📼",fitzpatrick_scale:!1,category:"objects"},camera:{keywords:["gadgets","photography"],char:"📷",fitzpatrick_scale:!1,category:"objects"},camera_flash:{keywords:["photography","gadgets"],char:"📸",fitzpatrick_scale:!1,category:"objects"},video_camera:{keywords:["film","record"],char:"📹",fitzpatrick_scale:!1,category:"objects"},movie_camera:{keywords:["film","record"],char:"🎥",fitzpatrick_scale:!1,category:"objects"},film_projector:{keywords:["video","tape","record","movie"],char:"📽",fitzpatrick_scale:!1,category:"objects"},film_strip:{keywords:["movie"],char:"🎞",fitzpatrick_scale:!1,category:"objects"},telephone_receiver:{keywords:["technology","communication","dial"],char:"📞",fitzpatrick_scale:!1,category:"objects"},phone:{keywords:["technology","communication","dial","telephone"],char:"☎️",fitzpatrick_scale:!1,category:"objects"},pager:{keywords:["bbcall","oldschool","90s"],char:"📟",fitzpatrick_scale:!1,category:"objects"},fax:{keywords:["communication","technology"],char:"📠",fitzpatrick_scale:!1,category:"objects"},tv:{keywords:["technology","program","oldschool","show","television"],char:"📺",fitzpatrick_scale:!1,category:"objects"},radio:{keywords:["communication","music","podcast","program"],char:"📻",fitzpatrick_scale:!1,category:"objects"},studio_microphone:{keywords:["sing","recording","artist","talkshow"],char:"🎙",fitzpatrick_scale:!1,category:"objects"},level_slider:{keywords:["scale"],char:"🎚",fitzpatrick_scale:!1,category:"objects"},control_knobs:{keywords:["dial"],char:"🎛",fitzpatrick_scale:!1,category:"objects"},compass:{keywords:["magnetic","navigation","orienteering"],char:"🧭",fitzpatrick_scale:!1,category:"objects"},stopwatch:{keywords:["time","deadline"],char:"⏱",fitzpatrick_scale:!1,category:"objects"},timer_clock:{keywords:["alarm"],char:"⏲",fitzpatrick_scale:!1,category:"objects"},alarm_clock:{keywords:["time","wake"],char:"⏰",fitzpatrick_scale:!1,category:"objects"},mantelpiece_clock:{keywords:["time"],char:"🕰",fitzpatrick_scale:!1,category:"objects"},hourglass_flowing_sand:{keywords:["oldschool","time","countdown"],char:"⏳",fitzpatrick_scale:!1,category:"objects"},hourglass:{keywords:["time","clock","oldschool","limit","exam","quiz","test"],char:"⌛",fitzpatrick_scale:!1,category:"objects"},satellite:{keywords:["communication","future","radio","space"],char:"📡",fitzpatrick_scale:!1,category:"objects"},battery:{keywords:["power","energy","sustain"],char:"🔋",fitzpatrick_scale:!1,category:"objects"},electric_plug:{keywords:["charger","power"],char:"🔌",fitzpatrick_scale:!1,category:"objects"},bulb:{keywords:["light","electricity","idea"],char:"💡",fitzpatrick_scale:!1,category:"objects"},flashlight:{keywords:["dark","camping","sight","night"],char:"🔦",fitzpatrick_scale:!1,category:"objects"},candle:{keywords:["fire","wax"],char:"🕯",fitzpatrick_scale:!1,category:"objects"},fire_extinguisher:{keywords:["quench"],char:"🧯",fitzpatrick_scale:!1,category:"objects"},wastebasket:{keywords:["bin","trash","rubbish","garbage","toss"],char:"🗑",fitzpatrick_scale:!1,category:"objects"},oil_drum:{keywords:["barrell"],char:"🛢",fitzpatrick_scale:!1,category:"objects"},money_with_wings:{keywords:["dollar","bills","payment","sale"],char:"💸",fitzpatrick_scale:!1,category:"objects"},dollar:{keywords:["money","sales","bill","currency"],char:"💵",fitzpatrick_scale:!1,category:"objects"},yen:{keywords:["money","sales","japanese","dollar","currency"],char:"💴",fitzpatrick_scale:!1,category:"objects"},euro:{keywords:["money","sales","dollar","currency"],char:"💶",fitzpatrick_scale:!1,category:"objects"},pound:{keywords:["british","sterling","money","sales","bills","uk","england","currency"],char:"💷",fitzpatrick_scale:!1,category:"objects"},moneybag:{keywords:["dollar","payment","coins","sale"],char:"💰",fitzpatrick_scale:!1,category:"objects"},credit_card:{keywords:["money","sales","dollar","bill","payment","shopping"],char:"💳",fitzpatrick_scale:!1,category:"objects"},gem:{keywords:["blue","ruby","diamond","jewelry"],char:"💎",fitzpatrick_scale:!1,category:"objects"},balance_scale:{keywords:["law","fairness","weight"],char:"⚖",fitzpatrick_scale:!1,category:"objects"},toolbox:{keywords:["tools","diy","fix","maintainer","mechanic"],char:"🧰",fitzpatrick_scale:!1,category:"objects"},wrench:{keywords:["tools","diy","ikea","fix","maintainer"],char:"🔧",fitzpatrick_scale:!1,category:"objects"},hammer:{keywords:["tools","build","create"],char:"🔨",fitzpatrick_scale:!1,category:"objects"},hammer_and_pick:{keywords:["tools","build","create"],char:"⚒",fitzpatrick_scale:!1,category:"objects"},hammer_and_wrench:{keywords:["tools","build","create"],char:"🛠",fitzpatrick_scale:!1,category:"objects"},pick:{keywords:["tools","dig"],char:"⛏",fitzpatrick_scale:!1,category:"objects"},nut_and_bolt:{keywords:["handy","tools","fix"],char:"🔩",fitzpatrick_scale:!1,category:"objects"},gear:{keywords:["cog"],char:"⚙",fitzpatrick_scale:!1,category:"objects"},brick:{keywords:["bricks"],char:"🧱",fitzpatrick_scale:!1,category:"objects"},chains:{keywords:["lock","arrest"],char:"⛓",fitzpatrick_scale:!1,category:"objects"},magnet:{keywords:["attraction","magnetic"],char:"🧲",fitzpatrick_scale:!1,category:"objects"},gun:{keywords:["violence","weapon","pistol","revolver"],char:"🔫",fitzpatrick_scale:!1,category:"objects"},bomb:{keywords:["boom","explode","explosion","terrorism"],char:"💣",fitzpatrick_scale:!1,category:"objects"},firecracker:{keywords:["dynamite","boom","explode","explosion","explosive"],char:"🧨",fitzpatrick_scale:!1,category:"objects"},hocho:{keywords:["knife","blade","cutlery","kitchen","weapon"],char:"🔪",fitzpatrick_scale:!1,category:"objects"},dagger:{keywords:["weapon"],char:"🗡",fitzpatrick_scale:!1,category:"objects"},crossed_swords:{keywords:["weapon"],char:"⚔",fitzpatrick_scale:!1,category:"objects"},shield:{keywords:["protection","security"],char:"🛡",fitzpatrick_scale:!1,category:"objects"},smoking:{keywords:["kills","tobacco","cigarette","joint","smoke"],char:"🚬",fitzpatrick_scale:!1,category:"objects"},skull_and_crossbones:{keywords:["poison","danger","deadly","scary","death","pirate","evil"],char:"☠",fitzpatrick_scale:!1,category:"objects"},coffin:{keywords:["vampire","dead","die","death","rip","graveyard","cemetery","casket","funeral","box"],char:"⚰",fitzpatrick_scale:!1,category:"objects"},funeral_urn:{keywords:["dead","die","death","rip","ashes"],char:"⚱",fitzpatrick_scale:!1,category:"objects"},amphora:{keywords:["vase","jar"],char:"🏺",fitzpatrick_scale:!1,category:"objects"},crystal_ball:{keywords:["disco","party","magic","circus","fortune_teller"],char:"🔮",fitzpatrick_scale:!1,category:"objects"},prayer_beads:{keywords:["dhikr","religious"],char:"📿",fitzpatrick_scale:!1,category:"objects"},nazar_amulet:{keywords:["bead","charm"],char:"🧿",fitzpatrick_scale:!1,category:"objects"},barber:{keywords:["hair","salon","style"],char:"💈",fitzpatrick_scale:!1,category:"objects"},alembic:{keywords:["distilling","science","experiment","chemistry"],char:"⚗",fitzpatrick_scale:!1,category:"objects"},telescope:{keywords:["stars","space","zoom","science","astronomy"],char:"🔭",fitzpatrick_scale:!1,category:"objects"},microscope:{keywords:["laboratory","experiment","zoomin","science","study"],char:"🔬",fitzpatrick_scale:!1,category:"objects"},hole:{keywords:["embarrassing"],char:"🕳",fitzpatrick_scale:!1,category:"objects"},pill:{keywords:["health","medicine","doctor","pharmacy","drug"],char:"💊",fitzpatrick_scale:!1,category:"objects"},syringe:{keywords:["health","hospital","drugs","blood","medicine","needle","doctor","nurse"],char:"💉",fitzpatrick_scale:!1,category:"objects"},dna:{keywords:["biologist","genetics","life"],char:"🧬",fitzpatrick_scale:!1,category:"objects"},microbe:{keywords:["amoeba","bacteria","germs"],char:"🦠",fitzpatrick_scale:!1,category:"objects"},petri_dish:{keywords:["bacteria","biology","culture","lab"],char:"🧫",fitzpatrick_scale:!1,category:"objects"},test_tube:{keywords:["chemistry","experiment","lab","science"],char:"🧪",fitzpatrick_scale:!1,category:"objects"},thermometer:{keywords:["weather","temperature","hot","cold"],char:"🌡",fitzpatrick_scale:!1,category:"objects"},broom:{keywords:["cleaning","sweeping","witch"],char:"🧹",fitzpatrick_scale:!1,category:"objects"},basket:{keywords:["laundry"],char:"🧺",fitzpatrick_scale:!1,category:"objects"},toilet_paper:{keywords:["roll"],char:"🧻",fitzpatrick_scale:!1,category:"objects"},label:{keywords:["sale","tag"],char:"🏷",fitzpatrick_scale:!1,category:"objects"},bookmark:{keywords:["favorite","label","save"],char:"🔖",fitzpatrick_scale:!1,category:"objects"},toilet:{keywords:["restroom","wc","washroom","bathroom","potty"],char:"🚽",fitzpatrick_scale:!1,category:"objects"},shower:{keywords:["clean","water","bathroom"],char:"🚿",fitzpatrick_scale:!1,category:"objects"},bathtub:{keywords:["clean","shower","bathroom"],char:"🛁",fitzpatrick_scale:!1,category:"objects"},soap:{keywords:["bar","bathing","cleaning","lather"],char:"🧼",fitzpatrick_scale:!1,category:"objects"},sponge:{keywords:["absorbing","cleaning","porous"],char:"🧽",fitzpatrick_scale:!1,category:"objects"},lotion_bottle:{keywords:["moisturizer","sunscreen"],char:"🧴",fitzpatrick_scale:!1,category:"objects"},key:{keywords:["lock","door","password"],char:"🔑",fitzpatrick_scale:!1,category:"objects"},old_key:{keywords:["lock","door","password"],char:"🗝",fitzpatrick_scale:!1,category:"objects"},couch_and_lamp:{keywords:["read","chill"],char:"🛋",fitzpatrick_scale:!1,category:"objects"},sleeping_bed:{keywords:["bed","rest"],char:"🛌",fitzpatrick_scale:!0,category:"objects"},bed:{keywords:["sleep","rest"],char:"🛏",fitzpatrick_scale:!1,category:"objects"},door:{keywords:["house","entry","exit"],char:"🚪",fitzpatrick_scale:!1,category:"objects"},bellhop_bell:{keywords:["service"],char:"🛎",fitzpatrick_scale:!1,category:"objects"},teddy_bear:{keywords:["plush","stuffed"],char:"🧸",fitzpatrick_scale:!1,category:"objects"},framed_picture:{keywords:["photography"],char:"🖼",fitzpatrick_scale:!1,category:"objects"},world_map:{keywords:["location","direction"],char:"🗺",fitzpatrick_scale:!1,category:"objects"},parasol_on_ground:{keywords:["weather","summer"],char:"⛱",fitzpatrick_scale:!1,category:"objects"},moyai:{keywords:["rock","easter island","moai"],char:"🗿",fitzpatrick_scale:!1,category:"objects"},shopping:{keywords:["mall","buy","purchase"],char:"🛍",fitzpatrick_scale:!1,category:"objects"},shopping_cart:{keywords:["trolley"],char:"🛒",fitzpatrick_scale:!1,category:"objects"},balloon:{keywords:["party","celebration","birthday","circus"],char:"🎈",fitzpatrick_scale:!1,category:"objects"},flags:{keywords:["fish","japanese","koinobori","carp","banner"],char:"🎏",fitzpatrick_scale:!1,category:"objects"},ribbon:{keywords:["decoration","pink","girl","bowtie"],char:"🎀",fitzpatrick_scale:!1,category:"objects"},gift:{keywords:["present","birthday","christmas","xmas"],char:"🎁",fitzpatrick_scale:!1,category:"objects"},confetti_ball:{keywords:["festival","party","birthday","circus"],char:"🎊",fitzpatrick_scale:!1,category:"objects"},tada:{keywords:["party","congratulations","birthday","magic","circus","celebration"],char:"🎉",fitzpatrick_scale:!1,category:"objects"},dolls:{keywords:["japanese","toy","kimono"],char:"🎎",fitzpatrick_scale:!1,category:"objects"},wind_chime:{keywords:["nature","ding","spring","bell"],char:"🎐",fitzpatrick_scale:!1,category:"objects"},crossed_flags:{keywords:["japanese","nation","country","border"],char:"🎌",fitzpatrick_scale:!1,category:"objects"},izakaya_lantern:{keywords:["light","paper","halloween","spooky"],char:"🏮",fitzpatrick_scale:!1,category:"objects"},red_envelope:{keywords:["gift"],char:"🧧",fitzpatrick_scale:!1,category:"objects"},email:{keywords:["letter","postal","inbox","communication"],char:"✉️",fitzpatrick_scale:!1,category:"objects"},envelope_with_arrow:{keywords:["email","communication"],char:"📩",fitzpatrick_scale:!1,category:"objects"},incoming_envelope:{keywords:["email","inbox"],char:"📨",fitzpatrick_scale:!1,category:"objects"},"e-mail":{keywords:["communication","inbox"],char:"📧",fitzpatrick_scale:!1,category:"objects"},love_letter:{keywords:["email","like","affection","envelope","valentines"],char:"💌",fitzpatrick_scale:!1,category:"objects"},postbox:{keywords:["email","letter","envelope"],char:"📮",fitzpatrick_scale:!1,category:"objects"},mailbox_closed:{keywords:["email","communication","inbox"],char:"📪",fitzpatrick_scale:!1,category:"objects"},mailbox:{keywords:["email","inbox","communication"],char:"📫",fitzpatrick_scale:!1,category:"objects"},mailbox_with_mail:{keywords:["email","inbox","communication"],char:"📬",fitzpatrick_scale:!1,category:"objects"},mailbox_with_no_mail:{keywords:["email","inbox"],char:"📭",fitzpatrick_scale:!1,category:"objects"},package:{keywords:["mail","gift","cardboard","box","moving"],char:"📦",fitzpatrick_scale:!1,category:"objects"},postal_horn:{keywords:["instrument","music"],char:"📯",fitzpatrick_scale:!1,category:"objects"},inbox_tray:{keywords:["email","documents"],char:"📥",fitzpatrick_scale:!1,category:"objects"},outbox_tray:{keywords:["inbox","email"],char:"📤",fitzpatrick_scale:!1,category:"objects"},scroll:{keywords:["documents","ancient","history","paper"],char:"📜",fitzpatrick_scale:!1,category:"objects"},page_with_curl:{keywords:["documents","office","paper"],char:"📃",fitzpatrick_scale:!1,category:"objects"},bookmark_tabs:{keywords:["favorite","save","order","tidy"],char:"📑",fitzpatrick_scale:!1,category:"objects"},receipt:{keywords:["accounting","expenses"],char:"🧾",fitzpatrick_scale:!1,category:"objects"},bar_chart:{keywords:["graph","presentation","stats"],char:"📊",fitzpatrick_scale:!1,category:"objects"},chart_with_upwards_trend:{keywords:["graph","presentation","stats","recovery","business","economics","money","sales","good","success"],char:"📈",fitzpatrick_scale:!1,category:"objects"},chart_with_downwards_trend:{keywords:["graph","presentation","stats","recession","business","economics","money","sales","bad","failure"],char:"📉",fitzpatrick_scale:!1,category:"objects"},page_facing_up:{keywords:["documents","office","paper","information"],char:"📄",fitzpatrick_scale:!1,category:"objects"},date:{keywords:["calendar","schedule"],char:"📅",fitzpatrick_scale:!1,category:"objects"},calendar:{keywords:["schedule","date","planning"],char:"📆",fitzpatrick_scale:!1,category:"objects"},spiral_calendar:{keywords:["date","schedule","planning"],char:"🗓",fitzpatrick_scale:!1,category:"objects"},card_index:{keywords:["business","stationery"],char:"📇",fitzpatrick_scale:!1,category:"objects"},card_file_box:{keywords:["business","stationery"],char:"🗃",fitzpatrick_scale:!1,category:"objects"},ballot_box:{keywords:["election","vote"],char:"🗳",fitzpatrick_scale:!1,category:"objects"},file_cabinet:{keywords:["filing","organizing"],char:"🗄",fitzpatrick_scale:!1,category:"objects"},clipboard:{keywords:["stationery","documents"],char:"📋",fitzpatrick_scale:!1,category:"objects"},spiral_notepad:{keywords:["memo","stationery"],char:"🗒",fitzpatrick_scale:!1,category:"objects"},file_folder:{keywords:["documents","business","office"],char:"📁",fitzpatrick_scale:!1,category:"objects"},open_file_folder:{keywords:["documents","load"],char:"📂",fitzpatrick_scale:!1,category:"objects"},card_index_dividers:{keywords:["organizing","business","stationery"],char:"🗂",fitzpatrick_scale:!1,category:"objects"},newspaper_roll:{keywords:["press","headline"],char:"🗞",fitzpatrick_scale:!1,category:"objects"},newspaper:{keywords:["press","headline"],char:"📰",fitzpatrick_scale:!1,category:"objects"},notebook:{keywords:["stationery","record","notes","paper","study"],char:"📓",fitzpatrick_scale:!1,category:"objects"},closed_book:{keywords:["read","library","knowledge","textbook","learn"],char:"📕",fitzpatrick_scale:!1,category:"objects"},green_book:{keywords:["read","library","knowledge","study"],char:"📗",fitzpatrick_scale:!1,category:"objects"},blue_book:{keywords:["read","library","knowledge","learn","study"],char:"📘",fitzpatrick_scale:!1,category:"objects"},orange_book:{keywords:["read","library","knowledge","textbook","study"],char:"📙",fitzpatrick_scale:!1,category:"objects"},notebook_with_decorative_cover:{keywords:["classroom","notes","record","paper","study"],char:"📔",fitzpatrick_scale:!1,category:"objects"},ledger:{keywords:["notes","paper"],char:"📒",fitzpatrick_scale:!1,category:"objects"},books:{keywords:["literature","library","study"],char:"📚",fitzpatrick_scale:!1,category:"objects"},open_book:{keywords:["book","read","library","knowledge","literature","learn","study"],char:"📖",fitzpatrick_scale:!1,category:"objects"},safety_pin:{keywords:["diaper"],char:"🧷",fitzpatrick_scale:!1,category:"objects"},link:{keywords:["rings","url"],char:"🔗",fitzpatrick_scale:!1,category:"objects"},paperclip:{keywords:["documents","stationery"],char:"📎",fitzpatrick_scale:!1,category:"objects"},paperclips:{keywords:["documents","stationery"],char:"🖇",fitzpatrick_scale:!1,category:"objects"},scissors:{keywords:["stationery","cut"],char:"✂️",fitzpatrick_scale:!1,category:"objects"},triangular_ruler:{keywords:["stationery","math","architect","sketch"],char:"📐",fitzpatrick_scale:!1,category:"objects"},straight_ruler:{keywords:["stationery","calculate","length","math","school","drawing","architect","sketch"],char:"📏",fitzpatrick_scale:!1,category:"objects"},abacus:{keywords:["calculation"],char:"🧮",fitzpatrick_scale:!1,category:"objects"},pushpin:{keywords:["stationery","mark","here"],char:"📌",fitzpatrick_scale:!1,category:"objects"},round_pushpin:{keywords:["stationery","location","map","here"],char:"📍",fitzpatrick_scale:!1,category:"objects"},triangular_flag_on_post:{keywords:["mark","milestone","place"],char:"🚩",fitzpatrick_scale:!1,category:"objects"},white_flag:{keywords:["losing","loser","lost","surrender","give up","fail"],char:"🏳",fitzpatrick_scale:!1,category:"objects"},black_flag:{keywords:["pirate"],char:"🏴",fitzpatrick_scale:!1,category:"objects"},rainbow_flag:{keywords:["flag","rainbow","pride","gay","lgbt","glbt","queer","homosexual","lesbian","bisexual","transgender"],char:"🏳️‍🌈",fitzpatrick_scale:!1,category:"objects"},closed_lock_with_key:{keywords:["security","privacy"],char:"🔐",fitzpatrick_scale:!1,category:"objects"},lock:{keywords:["security","password","padlock"],char:"🔒",fitzpatrick_scale:!1,category:"objects"},unlock:{keywords:["privacy","security"],char:"🔓",fitzpatrick_scale:!1,category:"objects"},lock_with_ink_pen:{keywords:["security","secret"],char:"🔏",fitzpatrick_scale:!1,category:"objects"},pen:{keywords:["stationery","writing","write"],char:"🖊",fitzpatrick_scale:!1,category:"objects"},fountain_pen:{keywords:["stationery","writing","write"],char:"🖋",fitzpatrick_scale:!1,category:"objects"},black_nib:{keywords:["pen","stationery","writing","write"],char:"✒️",fitzpatrick_scale:!1,category:"objects"},memo:{keywords:["write","documents","stationery","pencil","paper","writing","legal","exam","quiz","test","study","compose"],char:"📝",fitzpatrick_scale:!1,category:"objects"},pencil2:{keywords:["stationery","write","paper","writing","school","study"],char:"✏️",fitzpatrick_scale:!1,category:"objects"},crayon:{keywords:["drawing","creativity"],char:"🖍",fitzpatrick_scale:!1,category:"objects"},paintbrush:{keywords:["drawing","creativity","art"],char:"🖌",fitzpatrick_scale:!1,category:"objects"},mag:{keywords:["search","zoom","find","detective"],char:"🔍",fitzpatrick_scale:!1,category:"objects"},mag_right:{keywords:["search","zoom","find","detective"],char:"🔎",fitzpatrick_scale:!1,category:"objects"},heart:{keywords:["love","like","valentines"],char:"❤️",fitzpatrick_scale:!1,category:"symbols"},orange_heart:{keywords:["love","like","affection","valentines"],char:"🧡",fitzpatrick_scale:!1,category:"symbols"},yellow_heart:{keywords:["love","like","affection","valentines"],char:"💛",fitzpatrick_scale:!1,category:"symbols"},green_heart:{keywords:["love","like","affection","valentines"],char:"💚",fitzpatrick_scale:!1,category:"symbols"},blue_heart:{keywords:["love","like","affection","valentines"],char:"💙",fitzpatrick_scale:!1,category:"symbols"},purple_heart:{keywords:["love","like","affection","valentines"],char:"💜",fitzpatrick_scale:!1,category:"symbols"},black_heart:{keywords:["evil"],char:"🖤",fitzpatrick_scale:!1,category:"symbols"},broken_heart:{keywords:["sad","sorry","break","heart","heartbreak"],char:"💔",fitzpatrick_scale:!1,category:"symbols"},heavy_heart_exclamation:{keywords:["decoration","love"],char:"❣",fitzpatrick_scale:!1,category:"symbols"},two_hearts:{keywords:["love","like","affection","valentines","heart"],char:"💕",fitzpatrick_scale:!1,category:"symbols"},revolving_hearts:{keywords:["love","like","affection","valentines"],char:"💞",fitzpatrick_scale:!1,category:"symbols"},heartbeat:{keywords:["love","like","affection","valentines","pink","heart"],char:"💓",fitzpatrick_scale:!1,category:"symbols"},heartpulse:{keywords:["like","love","affection","valentines","pink"],char:"💗",fitzpatrick_scale:!1,category:"symbols"},sparkling_heart:{keywords:["love","like","affection","valentines"],char:"💖",fitzpatrick_scale:!1,category:"symbols"},cupid:{keywords:["love","like","heart","affection","valentines"],char:"💘",fitzpatrick_scale:!1,category:"symbols"},gift_heart:{keywords:["love","valentines"],char:"💝",fitzpatrick_scale:!1,category:"symbols"},heart_decoration:{keywords:["purple-square","love","like"],char:"💟",fitzpatrick_scale:!1,category:"symbols"},peace_symbol:{keywords:["hippie"],char:"☮",fitzpatrick_scale:!1,category:"symbols"},latin_cross:{keywords:["christianity"],char:"✝",fitzpatrick_scale:!1,category:"symbols"},star_and_crescent:{keywords:["islam"],char:"☪",fitzpatrick_scale:!1,category:"symbols"},om:{keywords:["hinduism","buddhism","sikhism","jainism"],char:"🕉",fitzpatrick_scale:!1,category:"symbols"},wheel_of_dharma:{keywords:["hinduism","buddhism","sikhism","jainism"],char:"☸",fitzpatrick_scale:!1,category:"symbols"},star_of_david:{keywords:["judaism"],char:"✡",fitzpatrick_scale:!1,category:"symbols"},six_pointed_star:{keywords:["purple-square","religion","jewish","hexagram"],char:"🔯",fitzpatrick_scale:!1,category:"symbols"},menorah:{keywords:["hanukkah","candles","jewish"],char:"🕎",fitzpatrick_scale:!1,category:"symbols"},yin_yang:{keywords:["balance"],char:"☯",fitzpatrick_scale:!1,category:"symbols"},orthodox_cross:{keywords:["suppedaneum","religion"],char:"☦",fitzpatrick_scale:!1,category:"symbols"},place_of_worship:{keywords:["religion","church","temple","prayer"],char:"🛐",fitzpatrick_scale:!1,category:"symbols"},ophiuchus:{keywords:["sign","purple-square","constellation","astrology"],char:"⛎",fitzpatrick_scale:!1,category:"symbols"},aries:{keywords:["sign","purple-square","zodiac","astrology"],char:"♈",fitzpatrick_scale:!1,category:"symbols"},taurus:{keywords:["purple-square","sign","zodiac","astrology"],char:"♉",fitzpatrick_scale:!1,category:"symbols"},gemini:{keywords:["sign","zodiac","purple-square","astrology"],char:"♊",fitzpatrick_scale:!1,category:"symbols"},cancer:{keywords:["sign","zodiac","purple-square","astrology"],char:"♋",fitzpatrick_scale:!1,category:"symbols"},leo:{keywords:["sign","purple-square","zodiac","astrology"],char:"♌",fitzpatrick_scale:!1,category:"symbols"},virgo:{keywords:["sign","zodiac","purple-square","astrology"],char:"♍",fitzpatrick_scale:!1,category:"symbols"},libra:{keywords:["sign","purple-square","zodiac","astrology"],char:"♎",fitzpatrick_scale:!1,category:"symbols"},scorpius:{keywords:["sign","zodiac","purple-square","astrology","scorpio"],char:"♏",fitzpatrick_scale:!1,category:"symbols"},sagittarius:{keywords:["sign","zodiac","purple-square","astrology"],char:"♐",fitzpatrick_scale:!1,category:"symbols"},capricorn:{keywords:["sign","zodiac","purple-square","astrology"],char:"♑",fitzpatrick_scale:!1,category:"symbols"},aquarius:{keywords:["sign","purple-square","zodiac","astrology"],char:"♒",fitzpatrick_scale:!1,category:"symbols"},pisces:{keywords:["purple-square","sign","zodiac","astrology"],char:"♓",fitzpatrick_scale:!1,category:"symbols"},id:{keywords:["purple-square","words"],char:"🆔",fitzpatrick_scale:!1,category:"symbols"},atom_symbol:{keywords:["science","physics","chemistry"],char:"⚛",fitzpatrick_scale:!1,category:"symbols"},u7a7a:{keywords:["kanji","japanese","chinese","empty","sky","blue-square"],char:"🈳",fitzpatrick_scale:!1,category:"symbols"},u5272:{keywords:["cut","divide","chinese","kanji","pink-square"],char:"🈹",fitzpatrick_scale:!1,category:"symbols"},radioactive:{keywords:["nuclear","danger"],char:"☢",fitzpatrick_scale:!1,category:"symbols"},biohazard:{keywords:["danger"],char:"☣",fitzpatrick_scale:!1,category:"symbols"},mobile_phone_off:{keywords:["mute","orange-square","silence","quiet"],char:"📴",fitzpatrick_scale:!1,category:"symbols"},vibration_mode:{keywords:["orange-square","phone"],char:"📳",fitzpatrick_scale:!1,category:"symbols"},u6709:{keywords:["orange-square","chinese","have","kanji"],char:"🈶",fitzpatrick_scale:!1,category:"symbols"},u7121:{keywords:["nothing","chinese","kanji","japanese","orange-square"],char:"🈚",fitzpatrick_scale:!1,category:"symbols"},u7533:{keywords:["chinese","japanese","kanji","orange-square"],char:"🈸",fitzpatrick_scale:!1,category:"symbols"},u55b6:{keywords:["japanese","opening hours","orange-square"],char:"🈺",fitzpatrick_scale:!1,category:"symbols"},u6708:{keywords:["chinese","month","moon","japanese","orange-square","kanji"],char:"🈷️",fitzpatrick_scale:!1,category:"symbols"},eight_pointed_black_star:{keywords:["orange-square","shape","polygon"],char:"✴️",fitzpatrick_scale:!1,category:"symbols"},vs:{keywords:["words","orange-square"],char:"🆚",fitzpatrick_scale:!1,category:"symbols"},accept:{keywords:["ok","good","chinese","kanji","agree","yes","orange-circle"],char:"🉑",fitzpatrick_scale:!1,category:"symbols"},white_flower:{keywords:["japanese","spring"],char:"💮",fitzpatrick_scale:!1,category:"symbols"},ideograph_advantage:{keywords:["chinese","kanji","obtain","get","circle"],char:"🉐",fitzpatrick_scale:!1,category:"symbols"},secret:{keywords:["privacy","chinese","sshh","kanji","red-circle"],char:"㊙️",fitzpatrick_scale:!1,category:"symbols"},congratulations:{keywords:["chinese","kanji","japanese","red-circle"],char:"㊗️",fitzpatrick_scale:!1,category:"symbols"},u5408:{keywords:["japanese","chinese","join","kanji","red-square"],char:"🈴",fitzpatrick_scale:!1,category:"symbols"},u6e80:{keywords:["full","chinese","japanese","red-square","kanji"],char:"🈵",fitzpatrick_scale:!1,category:"symbols"},u7981:{keywords:["kanji","japanese","chinese","forbidden","limit","restricted","red-square"],char:"🈲",fitzpatrick_scale:!1,category:"symbols"},a:{keywords:["red-square","alphabet","letter"],char:"🅰️",fitzpatrick_scale:!1,category:"symbols"},b:{keywords:["red-square","alphabet","letter"],char:"🅱️",fitzpatrick_scale:!1,category:"symbols"},ab:{keywords:["red-square","alphabet"],char:"🆎",fitzpatrick_scale:!1,category:"symbols"},cl:{keywords:["alphabet","words","red-square"],char:"🆑",fitzpatrick_scale:!1,category:"symbols"},o2:{keywords:["alphabet","red-square","letter"],char:"🅾️",fitzpatrick_scale:!1,category:"symbols"},sos:{keywords:["help","red-square","words","emergency","911"],char:"🆘",fitzpatrick_scale:!1,category:"symbols"},no_entry:{keywords:["limit","security","privacy","bad","denied","stop","circle"],char:"⛔",fitzpatrick_scale:!1,category:"symbols"},name_badge:{keywords:["fire","forbid"],char:"📛",fitzpatrick_scale:!1,category:"symbols"},no_entry_sign:{keywords:["forbid","stop","limit","denied","disallow","circle"],char:"🚫",fitzpatrick_scale:!1,category:"symbols"},x:{keywords:["no","delete","remove","cancel","red"],char:"❌",fitzpatrick_scale:!1,category:"symbols"},o:{keywords:["circle","round"],char:"⭕",fitzpatrick_scale:!1,category:"symbols"},stop_sign:{keywords:["stop"],char:"🛑",fitzpatrick_scale:!1,category:"symbols"},anger:{keywords:["angry","mad"],char:"💢",fitzpatrick_scale:!1,category:"symbols"},hotsprings:{keywords:["bath","warm","relax"],char:"♨️",fitzpatrick_scale:!1,category:"symbols"},no_pedestrians:{keywords:["rules","crossing","walking","circle"],char:"🚷",fitzpatrick_scale:!1,category:"symbols"},do_not_litter:{keywords:["trash","bin","garbage","circle"],char:"🚯",fitzpatrick_scale:!1,category:"symbols"},no_bicycles:{keywords:["cyclist","prohibited","circle"],char:"🚳",fitzpatrick_scale:!1,category:"symbols"},"non-potable_water":{keywords:["drink","faucet","tap","circle"],char:"🚱",fitzpatrick_scale:!1,category:"symbols"},underage:{keywords:["18","drink","pub","night","minor","circle"],char:"🔞",fitzpatrick_scale:!1,category:"symbols"},no_mobile_phones:{keywords:["iphone","mute","circle"],char:"📵",fitzpatrick_scale:!1,category:"symbols"},exclamation:{keywords:["heavy_exclamation_mark","danger","surprise","punctuation","wow","warning"],char:"❗",fitzpatrick_scale:!1,category:"symbols"},grey_exclamation:{keywords:["surprise","punctuation","gray","wow","warning"],char:"❕",fitzpatrick_scale:!1,category:"symbols"},question:{keywords:["doubt","confused"],char:"❓",fitzpatrick_scale:!1,category:"symbols"},grey_question:{keywords:["doubts","gray","huh","confused"],char:"❔",fitzpatrick_scale:!1,category:"symbols"},bangbang:{keywords:["exclamation","surprise"],char:"‼️",fitzpatrick_scale:!1,category:"symbols"},interrobang:{keywords:["wat","punctuation","surprise"],char:"⁉️",fitzpatrick_scale:!1,category:"symbols"},100:{keywords:["score","perfect","numbers","century","exam","quiz","test","pass","hundred"],char:"💯",fitzpatrick_scale:!1,category:"symbols"},low_brightness:{keywords:["sun","afternoon","warm","summer"],char:"🔅",fitzpatrick_scale:!1,category:"symbols"},high_brightness:{keywords:["sun","light"],char:"🔆",fitzpatrick_scale:!1,category:"symbols"},trident:{keywords:["weapon","spear"],char:"🔱",fitzpatrick_scale:!1,category:"symbols"},fleur_de_lis:{keywords:["decorative","scout"],char:"⚜",fitzpatrick_scale:!1,category:"symbols"},part_alternation_mark:{keywords:["graph","presentation","stats","business","economics","bad"],char:"〽️",fitzpatrick_scale:!1,category:"symbols"},warning:{keywords:["exclamation","wip","alert","error","problem","issue"],char:"⚠️",fitzpatrick_scale:!1,category:"symbols"},children_crossing:{keywords:["school","warning","danger","sign","driving","yellow-diamond"],char:"🚸",fitzpatrick_scale:!1,category:"symbols"},beginner:{keywords:["badge","shield"],char:"🔰",fitzpatrick_scale:!1,category:"symbols"},recycle:{keywords:["arrow","environment","garbage","trash"],char:"♻️",fitzpatrick_scale:!1,category:"symbols"},u6307:{keywords:["chinese","point","green-square","kanji"],char:"🈯",fitzpatrick_scale:!1,category:"symbols"},chart:{keywords:["green-square","graph","presentation","stats"],char:"💹",fitzpatrick_scale:!1,category:"symbols"},sparkle:{keywords:["stars","green-square","awesome","good","fireworks"],char:"❇️",fitzpatrick_scale:!1,category:"symbols"},eight_spoked_asterisk:{keywords:["star","sparkle","green-square"],char:"✳️",fitzpatrick_scale:!1,category:"symbols"},negative_squared_cross_mark:{keywords:["x","green-square","no","deny"],char:"❎",fitzpatrick_scale:!1,category:"symbols"},white_check_mark:{keywords:["green-square","ok","agree","vote","election","answer","tick"],char:"✅",fitzpatrick_scale:!1,category:"symbols"},diamond_shape_with_a_dot_inside:{keywords:["jewel","blue","gem","crystal","fancy"],char:"💠",fitzpatrick_scale:!1,category:"symbols"},cyclone:{keywords:["weather","swirl","blue","cloud","vortex","spiral","whirlpool","spin","tornado","hurricane","typhoon"],char:"🌀",fitzpatrick_scale:!1,category:"symbols"},loop:{keywords:["tape","cassette"],char:"➿",fitzpatrick_scale:!1,category:"symbols"},globe_with_meridians:{keywords:["earth","international","world","internet","interweb","i18n"],char:"🌐",fitzpatrick_scale:!1,category:"symbols"},m:{keywords:["alphabet","blue-circle","letter"],char:"Ⓜ️",fitzpatrick_scale:!1,category:"symbols"},atm:{keywords:["money","sales","cash","blue-square","payment","bank"],char:"🏧",fitzpatrick_scale:!1,category:"symbols"},sa:{keywords:["japanese","blue-square","katakana"],char:"🈂️",fitzpatrick_scale:!1,category:"symbols"},passport_control:{keywords:["custom","blue-square"],char:"🛂",fitzpatrick_scale:!1,category:"symbols"},customs:{keywords:["passport","border","blue-square"],char:"🛃",fitzpatrick_scale:!1,category:"symbols"},baggage_claim:{keywords:["blue-square","airport","transport"],char:"🛄",fitzpatrick_scale:!1,category:"symbols"},left_luggage:{keywords:["blue-square","travel"],char:"🛅",fitzpatrick_scale:!1,category:"symbols"},wheelchair:{keywords:["blue-square","disabled","a11y","accessibility"],char:"♿",fitzpatrick_scale:!1,category:"symbols"},no_smoking:{keywords:["cigarette","blue-square","smell","smoke"],char:"🚭",fitzpatrick_scale:!1,category:"symbols"},wc:{keywords:["toilet","restroom","blue-square"],char:"🚾",fitzpatrick_scale:!1,category:"symbols"},parking:{keywords:["cars","blue-square","alphabet","letter"],char:"🅿️",fitzpatrick_scale:!1,category:"symbols"},potable_water:{keywords:["blue-square","liquid","restroom","cleaning","faucet"],char:"🚰",fitzpatrick_scale:!1,category:"symbols"},mens:{keywords:["toilet","restroom","wc","blue-square","gender","male"],char:"🚹",fitzpatrick_scale:!1,category:"symbols"},womens:{keywords:["purple-square","woman","female","toilet","loo","restroom","gender"],char:"🚺",fitzpatrick_scale:!1,category:"symbols"},baby_symbol:{keywords:["orange-square","child"],char:"🚼",fitzpatrick_scale:!1,category:"symbols"},restroom:{keywords:["blue-square","toilet","refresh","wc","gender"],char:"🚻",fitzpatrick_scale:!1,category:"symbols"},put_litter_in_its_place:{keywords:["blue-square","sign","human","info"],char:"🚮",fitzpatrick_scale:!1,category:"symbols"},cinema:{keywords:["blue-square","record","film","movie","curtain","stage","theater"],char:"🎦",fitzpatrick_scale:!1,category:"symbols"},signal_strength:{keywords:["blue-square","reception","phone","internet","connection","wifi","bluetooth","bars"],char:"📶",fitzpatrick_scale:!1,category:"symbols"},koko:{keywords:["blue-square","here","katakana","japanese","destination"],char:"🈁",fitzpatrick_scale:!1,category:"symbols"},ng:{keywords:["blue-square","words","shape","icon"],char:"🆖",fitzpatrick_scale:!1,category:"symbols"},ok:{keywords:["good","agree","yes","blue-square"],char:"🆗",fitzpatrick_scale:!1,category:"symbols"},up:{keywords:["blue-square","above","high"],char:"🆙",fitzpatrick_scale:!1,category:"symbols"},cool:{keywords:["words","blue-square"],char:"🆒",fitzpatrick_scale:!1,category:"symbols"},new:{keywords:["blue-square","words","start"],char:"🆕",fitzpatrick_scale:!1,category:"symbols"},free:{keywords:["blue-square","words"],char:"🆓",fitzpatrick_scale:!1,category:"symbols"},zero:{keywords:["0","numbers","blue-square","null"],char:"0️⃣",fitzpatrick_scale:!1,category:"symbols"},one:{keywords:["blue-square","numbers","1"],char:"1️⃣",fitzpatrick_scale:!1,category:"symbols"},two:{keywords:["numbers","2","prime","blue-square"],char:"2️⃣",fitzpatrick_scale:!1,category:"symbols"},three:{keywords:["3","numbers","prime","blue-square"],char:"3️⃣",fitzpatrick_scale:!1,category:"symbols"},four:{keywords:["4","numbers","blue-square"],char:"4️⃣",fitzpatrick_scale:!1,category:"symbols"},five:{keywords:["5","numbers","blue-square","prime"],char:"5️⃣",fitzpatrick_scale:!1,category:"symbols"},six:{keywords:["6","numbers","blue-square"],char:"6️⃣",fitzpatrick_scale:!1,category:"symbols"},seven:{keywords:["7","numbers","blue-square","prime"],char:"7️⃣",fitzpatrick_scale:!1,category:"symbols"},eight:{keywords:["8","blue-square","numbers"],char:"8️⃣",fitzpatrick_scale:!1,category:"symbols"},nine:{keywords:["blue-square","numbers","9"],char:"9️⃣",fitzpatrick_scale:!1,category:"symbols"},keycap_ten:{keywords:["numbers","10","blue-square"],char:"🔟",fitzpatrick_scale:!1,category:"symbols"},asterisk:{keywords:["star","keycap"],char:"*⃣",fitzpatrick_scale:!1,category:"symbols"},1234:{keywords:["numbers","blue-square"],char:"🔢",fitzpatrick_scale:!1,category:"symbols"},eject_button:{keywords:["blue-square"],char:"⏏️",fitzpatrick_scale:!1,category:"symbols"},arrow_forward:{keywords:["blue-square","right","direction","play"],char:"▶️",fitzpatrick_scale:!1,category:"symbols"},pause_button:{keywords:["pause","blue-square"],char:"⏸",fitzpatrick_scale:!1,category:"symbols"},next_track_button:{keywords:["forward","next","blue-square"],char:"⏭",fitzpatrick_scale:!1,category:"symbols"},stop_button:{keywords:["blue-square"],char:"⏹",fitzpatrick_scale:!1,category:"symbols"},record_button:{keywords:["blue-square"],char:"⏺",fitzpatrick_scale:!1,category:"symbols"},play_or_pause_button:{keywords:["blue-square","play","pause"],char:"⏯",fitzpatrick_scale:!1,category:"symbols"},previous_track_button:{keywords:["backward"],char:"⏮",fitzpatrick_scale:!1,category:"symbols"},fast_forward:{keywords:["blue-square","play","speed","continue"],char:"⏩",fitzpatrick_scale:!1,category:"symbols"},rewind:{keywords:["play","blue-square"],char:"⏪",fitzpatrick_scale:!1,category:"symbols"},twisted_rightwards_arrows:{keywords:["blue-square","shuffle","music","random"],char:"🔀",fitzpatrick_scale:!1,category:"symbols"},repeat:{keywords:["loop","record"],char:"🔁",fitzpatrick_scale:!1,category:"symbols"},repeat_one:{keywords:["blue-square","loop"],char:"🔂",fitzpatrick_scale:!1,category:"symbols"},arrow_backward:{keywords:["blue-square","left","direction"],char:"◀️",fitzpatrick_scale:!1,category:"symbols"},arrow_up_small:{keywords:["blue-square","triangle","direction","point","forward","top"],char:"🔼",fitzpatrick_scale:!1,category:"symbols"},arrow_down_small:{keywords:["blue-square","direction","bottom"],char:"🔽",fitzpatrick_scale:!1,category:"symbols"},arrow_double_up:{keywords:["blue-square","direction","top"],char:"⏫",fitzpatrick_scale:!1,category:"symbols"},arrow_double_down:{keywords:["blue-square","direction","bottom"],char:"⏬",fitzpatrick_scale:!1,category:"symbols"},arrow_right:{keywords:["blue-square","next"],char:"➡️",fitzpatrick_scale:!1,category:"symbols"},arrow_left:{keywords:["blue-square","previous","back"],char:"⬅️",fitzpatrick_scale:!1,category:"symbols"},arrow_up:{keywords:["blue-square","continue","top","direction"],char:"⬆️",fitzpatrick_scale:!1,category:"symbols"},arrow_down:{keywords:["blue-square","direction","bottom"],char:"⬇️",fitzpatrick_scale:!1,category:"symbols"},arrow_upper_right:{keywords:["blue-square","point","direction","diagonal","northeast"],char:"↗️",fitzpatrick_scale:!1,category:"symbols"},arrow_lower_right:{keywords:["blue-square","direction","diagonal","southeast"],char:"↘️",fitzpatrick_scale:!1,category:"symbols"},arrow_lower_left:{keywords:["blue-square","direction","diagonal","southwest"],char:"↙️",fitzpatrick_scale:!1,category:"symbols"},arrow_upper_left:{keywords:["blue-square","point","direction","diagonal","northwest"],char:"↖️",fitzpatrick_scale:!1,category:"symbols"},arrow_up_down:{keywords:["blue-square","direction","way","vertical"],char:"↕️",fitzpatrick_scale:!1,category:"symbols"},left_right_arrow:{keywords:["shape","direction","horizontal","sideways"],char:"↔️",fitzpatrick_scale:!1,category:"symbols"},arrows_counterclockwise:{keywords:["blue-square","sync","cycle"],char:"🔄",fitzpatrick_scale:!1,category:"symbols"},arrow_right_hook:{keywords:["blue-square","return","rotate","direction"],char:"↪️",fitzpatrick_scale:!1,category:"symbols"},leftwards_arrow_with_hook:{keywords:["back","return","blue-square","undo","enter"],char:"↩️",fitzpatrick_scale:!1,category:"symbols"},arrow_heading_up:{keywords:["blue-square","direction","top"],char:"⤴️",fitzpatrick_scale:!1,category:"symbols"},arrow_heading_down:{keywords:["blue-square","direction","bottom"],char:"⤵️",fitzpatrick_scale:!1,category:"symbols"},hash:{keywords:["symbol","blue-square","twitter"],char:"#️⃣",fitzpatrick_scale:!1,category:"symbols"},information_source:{keywords:["blue-square","alphabet","letter"],char:"ℹ️",fitzpatrick_scale:!1,category:"symbols"},abc:{keywords:["blue-square","alphabet"],char:"🔤",fitzpatrick_scale:!1,category:"symbols"},abcd:{keywords:["blue-square","alphabet"],char:"🔡",fitzpatrick_scale:!1,category:"symbols"},capital_abcd:{keywords:["alphabet","words","blue-square"],char:"🔠",fitzpatrick_scale:!1,category:"symbols"},symbols:{keywords:["blue-square","music","note","ampersand","percent","glyphs","characters"],char:"🔣",fitzpatrick_scale:!1,category:"symbols"},musical_note:{keywords:["score","tone","sound"],char:"🎵",fitzpatrick_scale:!1,category:"symbols"},notes:{keywords:["music","score"],char:"🎶",fitzpatrick_scale:!1,category:"symbols"},wavy_dash:{keywords:["draw","line","moustache","mustache","squiggle","scribble"],char:"〰️",fitzpatrick_scale:!1,category:"symbols"},curly_loop:{keywords:["scribble","draw","shape","squiggle"],char:"➰",fitzpatrick_scale:!1,category:"symbols"},heavy_check_mark:{keywords:["ok","nike","answer","yes","tick"],char:"✔️",fitzpatrick_scale:!1,category:"symbols"},arrows_clockwise:{keywords:["sync","cycle","round","repeat"],char:"🔃",fitzpatrick_scale:!1,category:"symbols"},heavy_plus_sign:{keywords:["math","calculation","addition","more","increase"],char:"➕",fitzpatrick_scale:!1,category:"symbols"},heavy_minus_sign:{keywords:["math","calculation","subtract","less"],char:"➖",fitzpatrick_scale:!1,category:"symbols"},heavy_division_sign:{keywords:["divide","math","calculation"],char:"➗",fitzpatrick_scale:!1,category:"symbols"},heavy_multiplication_x:{keywords:["math","calculation"],char:"✖️",fitzpatrick_scale:!1,category:"symbols"},infinity:{keywords:["forever"],char:"♾",fitzpatrick_scale:!1,category:"symbols"},heavy_dollar_sign:{keywords:["money","sales","payment","currency","buck"],char:"💲",fitzpatrick_scale:!1,category:"symbols"},currency_exchange:{keywords:["money","sales","dollar","travel"],char:"💱",fitzpatrick_scale:!1,category:"symbols"},copyright:{keywords:["ip","license","circle","law","legal"],char:"©️",fitzpatrick_scale:!1,category:"symbols"},registered:{keywords:["alphabet","circle"],char:"®️",fitzpatrick_scale:!1,category:"symbols"},tm:{keywords:["trademark","brand","law","legal"],char:"™️",fitzpatrick_scale:!1,category:"symbols"},end:{keywords:["words","arrow"],char:"🔚",fitzpatrick_scale:!1,category:"symbols"},back:{keywords:["arrow","words","return"],char:"🔙",fitzpatrick_scale:!1,category:"symbols"},on:{keywords:["arrow","words"],char:"🔛",fitzpatrick_scale:!1,category:"symbols"},top:{keywords:["words","blue-square"],char:"🔝",fitzpatrick_scale:!1,category:"symbols"},soon:{keywords:["arrow","words"],char:"🔜",fitzpatrick_scale:!1,category:"symbols"},ballot_box_with_check:{keywords:["ok","agree","confirm","black-square","vote","election","yes","tick"],char:"☑️",fitzpatrick_scale:!1,category:"symbols"},radio_button:{keywords:["input","old","music","circle"],char:"🔘",fitzpatrick_scale:!1,category:"symbols"},white_circle:{keywords:["shape","round"],char:"⚪",fitzpatrick_scale:!1,category:"symbols"},black_circle:{keywords:["shape","button","round"],char:"⚫",fitzpatrick_scale:!1,category:"symbols"},red_circle:{keywords:["shape","error","danger"],char:"🔴",fitzpatrick_scale:!1,category:"symbols"},large_blue_circle:{keywords:["shape","icon","button"],char:"🔵",fitzpatrick_scale:!1,category:"symbols"},small_orange_diamond:{keywords:["shape","jewel","gem"],char:"🔸",fitzpatrick_scale:!1,category:"symbols"},small_blue_diamond:{keywords:["shape","jewel","gem"],char:"🔹",fitzpatrick_scale:!1,category:"symbols"},large_orange_diamond:{keywords:["shape","jewel","gem"],char:"🔶",fitzpatrick_scale:!1,category:"symbols"},large_blue_diamond:{keywords:["shape","jewel","gem"],char:"🔷",fitzpatrick_scale:!1,category:"symbols"},small_red_triangle:{keywords:["shape","direction","up","top"],char:"🔺",fitzpatrick_scale:!1,category:"symbols"},black_small_square:{keywords:["shape","icon"],char:"▪️",fitzpatrick_scale:!1,category:"symbols"},white_small_square:{keywords:["shape","icon"],char:"▫️",fitzpatrick_scale:!1,category:"symbols"},black_large_square:{keywords:["shape","icon","button"],char:"⬛",fitzpatrick_scale:!1,category:"symbols"},white_large_square:{keywords:["shape","icon","stone","button"],char:"⬜",fitzpatrick_scale:!1,category:"symbols"},small_red_triangle_down:{keywords:["shape","direction","bottom"],char:"🔻",fitzpatrick_scale:!1,category:"symbols"},black_medium_square:{keywords:["shape","button","icon"],char:"◼️",fitzpatrick_scale:!1,category:"symbols"},white_medium_square:{keywords:["shape","stone","icon"],char:"◻️",fitzpatrick_scale:!1,category:"symbols"},black_medium_small_square:{keywords:["icon","shape","button"],char:"◾",fitzpatrick_scale:!1,category:"symbols"},white_medium_small_square:{keywords:["shape","stone","icon","button"],char:"◽",fitzpatrick_scale:!1,category:"symbols"},black_square_button:{keywords:["shape","input","frame"],char:"🔲",fitzpatrick_scale:!1,category:"symbols"},white_square_button:{keywords:["shape","input"],char:"🔳",fitzpatrick_scale:!1,category:"symbols"},speaker:{keywords:["sound","volume","silence","broadcast"],char:"🔈",fitzpatrick_scale:!1,category:"symbols"},sound:{keywords:["volume","speaker","broadcast"],char:"🔉",fitzpatrick_scale:!1,category:"symbols"},loud_sound:{keywords:["volume","noise","noisy","speaker","broadcast"],char:"🔊",fitzpatrick_scale:!1,category:"symbols"},mute:{keywords:["sound","volume","silence","quiet"],char:"🔇",fitzpatrick_scale:!1,category:"symbols"},mega:{keywords:["sound","speaker","volume"],char:"📣",fitzpatrick_scale:!1,category:"symbols"},loudspeaker:{keywords:["volume","sound"],char:"📢",fitzpatrick_scale:!1,category:"symbols"},bell:{keywords:["sound","notification","christmas","xmas","chime"],char:"🔔",fitzpatrick_scale:!1,category:"symbols"},no_bell:{keywords:["sound","volume","mute","quiet","silent"],char:"🔕",fitzpatrick_scale:!1,category:"symbols"},black_joker:{keywords:["poker","cards","game","play","magic"],char:"🃏",fitzpatrick_scale:!1,category:"symbols"},mahjong:{keywords:["game","play","chinese","kanji"],char:"🀄",fitzpatrick_scale:!1,category:"symbols"},spades:{keywords:["poker","cards","suits","magic"],char:"♠️",fitzpatrick_scale:!1,category:"symbols"},clubs:{keywords:["poker","cards","magic","suits"],char:"♣️",fitzpatrick_scale:!1,category:"symbols"},hearts:{keywords:["poker","cards","magic","suits"],char:"♥️",fitzpatrick_scale:!1,category:"symbols"},diamonds:{keywords:["poker","cards","magic","suits"],char:"♦️",fitzpatrick_scale:!1,category:"symbols"},flower_playing_cards:{keywords:["game","sunset","red"],char:"🎴",fitzpatrick_scale:!1,category:"symbols"},thought_balloon:{keywords:["bubble","cloud","speech","thinking","dream"],char:"💭",fitzpatrick_scale:!1,category:"symbols"},right_anger_bubble:{keywords:["caption","speech","thinking","mad"],char:"🗯",fitzpatrick_scale:!1,category:"symbols"},speech_balloon:{keywords:["bubble","words","message","talk","chatting"],char:"💬",fitzpatrick_scale:!1,category:"symbols"},left_speech_bubble:{keywords:["words","message","talk","chatting"],char:"🗨",fitzpatrick_scale:!1,category:"symbols"},clock1:{keywords:["time","late","early","schedule"],char:"🕐",fitzpatrick_scale:!1,category:"symbols"},clock2:{keywords:["time","late","early","schedule"],char:"🕑",fitzpatrick_scale:!1,category:"symbols"},clock3:{keywords:["time","late","early","schedule"],char:"🕒",fitzpatrick_scale:!1,category:"symbols"},clock4:{keywords:["time","late","early","schedule"],char:"🕓",fitzpatrick_scale:!1,category:"symbols"},clock5:{keywords:["time","late","early","schedule"],char:"🕔",fitzpatrick_scale:!1,category:"symbols"},clock6:{keywords:["time","late","early","schedule","dawn","dusk"],char:"🕕",fitzpatrick_scale:!1,category:"symbols"},clock7:{keywords:["time","late","early","schedule"],char:"🕖",fitzpatrick_scale:!1,category:"symbols"},clock8:{keywords:["time","late","early","schedule"],char:"🕗",fitzpatrick_scale:!1,category:"symbols"},clock9:{keywords:["time","late","early","schedule"],char:"🕘",fitzpatrick_scale:!1,category:"symbols"},clock10:{keywords:["time","late","early","schedule"],char:"🕙",fitzpatrick_scale:!1,category:"symbols"},clock11:{keywords:["time","late","early","schedule"],char:"🕚",fitzpatrick_scale:!1,category:"symbols"},clock12:{keywords:["time","noon","midnight","midday","late","early","schedule"],char:"🕛",fitzpatrick_scale:!1,category:"symbols"},clock130:{keywords:["time","late","early","schedule"],char:"🕜",fitzpatrick_scale:!1,category:"symbols"},clock230:{keywords:["time","late","early","schedule"],char:"🕝",fitzpatrick_scale:!1,category:"symbols"},clock330:{keywords:["time","late","early","schedule"],char:"🕞",fitzpatrick_scale:!1,category:"symbols"},clock430:{keywords:["time","late","early","schedule"],char:"🕟",fitzpatrick_scale:!1,category:"symbols"},clock530:{keywords:["time","late","early","schedule"],char:"🕠",fitzpatrick_scale:!1,category:"symbols"},clock630:{keywords:["time","late","early","schedule"],char:"🕡",fitzpatrick_scale:!1,category:"symbols"},clock730:{keywords:["time","late","early","schedule"],char:"🕢",fitzpatrick_scale:!1,category:"symbols"},clock830:{keywords:["time","late","early","schedule"],char:"🕣",fitzpatrick_scale:!1,category:"symbols"},clock930:{keywords:["time","late","early","schedule"],char:"🕤",fitzpatrick_scale:!1,category:"symbols"},clock1030:{keywords:["time","late","early","schedule"],char:"🕥",fitzpatrick_scale:!1,category:"symbols"},clock1130:{keywords:["time","late","early","schedule"],char:"🕦",fitzpatrick_scale:!1,category:"symbols"},clock1230:{keywords:["time","late","early","schedule"],char:"🕧",fitzpatrick_scale:!1,category:"symbols"},afghanistan:{keywords:["af","flag","nation","country","banner"],char:"🇦🇫",fitzpatrick_scale:!1,category:"flags"},aland_islands:{keywords:["Åland","islands","flag","nation","country","banner"],char:"🇦🇽",fitzpatrick_scale:!1,category:"flags"},albania:{keywords:["al","flag","nation","country","banner"],char:"🇦🇱",fitzpatrick_scale:!1,category:"flags"},algeria:{keywords:["dz","flag","nation","country","banner"],char:"🇩🇿",fitzpatrick_scale:!1,category:"flags"},american_samoa:{keywords:["american","ws","flag","nation","country","banner"],char:"🇦🇸",fitzpatrick_scale:!1,category:"flags"},andorra:{keywords:["ad","flag","nation","country","banner"],char:"🇦🇩",fitzpatrick_scale:!1,category:"flags"},angola:{keywords:["ao","flag","nation","country","banner"],char:"🇦🇴",fitzpatrick_scale:!1,category:"flags"},anguilla:{keywords:["ai","flag","nation","country","banner"],char:"🇦🇮",fitzpatrick_scale:!1,category:"flags"},antarctica:{keywords:["aq","flag","nation","country","banner"],char:"🇦🇶",fitzpatrick_scale:!1,category:"flags"},antigua_barbuda:{keywords:["antigua","barbuda","flag","nation","country","banner"],char:"🇦🇬",fitzpatrick_scale:!1,category:"flags"},argentina:{keywords:["ar","flag","nation","country","banner"],char:"🇦🇷",fitzpatrick_scale:!1,category:"flags"},armenia:{keywords:["am","flag","nation","country","banner"],char:"🇦🇲",fitzpatrick_scale:!1,category:"flags"},aruba:{keywords:["aw","flag","nation","country","banner"],char:"🇦🇼",fitzpatrick_scale:!1,category:"flags"},australia:{keywords:["au","flag","nation","country","banner"],char:"🇦🇺",fitzpatrick_scale:!1,category:"flags"},austria:{keywords:["at","flag","nation","country","banner"],char:"🇦🇹",fitzpatrick_scale:!1,category:"flags"},azerbaijan:{keywords:["az","flag","nation","country","banner"],char:"🇦🇿",fitzpatrick_scale:!1,category:"flags"},bahamas:{keywords:["bs","flag","nation","country","banner"],char:"🇧🇸",fitzpatrick_scale:!1,category:"flags"},bahrain:{keywords:["bh","flag","nation","country","banner"],char:"🇧🇭",fitzpatrick_scale:!1,category:"flags"},bangladesh:{keywords:["bd","flag","nation","country","banner"],char:"🇧🇩",fitzpatrick_scale:!1,category:"flags"},barbados:{keywords:["bb","flag","nation","country","banner"],char:"🇧🇧",fitzpatrick_scale:!1,category:"flags"},belarus:{keywords:["by","flag","nation","country","banner"],char:"🇧🇾",fitzpatrick_scale:!1,category:"flags"},belgium:{keywords:["be","flag","nation","country","banner"],char:"🇧🇪",fitzpatrick_scale:!1,category:"flags"},belize:{keywords:["bz","flag","nation","country","banner"],char:"🇧🇿",fitzpatrick_scale:!1,category:"flags"},benin:{keywords:["bj","flag","nation","country","banner"],char:"🇧🇯",fitzpatrick_scale:!1,category:"flags"},bermuda:{keywords:["bm","flag","nation","country","banner"],char:"🇧🇲",fitzpatrick_scale:!1,category:"flags"},bhutan:{keywords:["bt","flag","nation","country","banner"],char:"🇧🇹",fitzpatrick_scale:!1,category:"flags"},bolivia:{keywords:["bo","flag","nation","country","banner"],char:"🇧🇴",fitzpatrick_scale:!1,category:"flags"},caribbean_netherlands:{keywords:["bonaire","flag","nation","country","banner"],char:"🇧🇶",fitzpatrick_scale:!1,category:"flags"},bosnia_herzegovina:{keywords:["bosnia","herzegovina","flag","nation","country","banner"],char:"🇧🇦",fitzpatrick_scale:!1,category:"flags"},botswana:{keywords:["bw","flag","nation","country","banner"],char:"🇧🇼",fitzpatrick_scale:!1,category:"flags"},brazil:{keywords:["br","flag","nation","country","banner"],char:"🇧🇷",fitzpatrick_scale:!1,category:"flags"},british_indian_ocean_territory:{keywords:["british","indian","ocean","territory","flag","nation","country","banner"],char:"🇮🇴",fitzpatrick_scale:!1,category:"flags"},british_virgin_islands:{keywords:["british","virgin","islands","bvi","flag","nation","country","banner"],char:"🇻🇬",fitzpatrick_scale:!1,category:"flags"},brunei:{keywords:["bn","darussalam","flag","nation","country","banner"],char:"🇧🇳",fitzpatrick_scale:!1,category:"flags"},bulgaria:{keywords:["bg","flag","nation","country","banner"],char:"🇧🇬",fitzpatrick_scale:!1,category:"flags"},burkina_faso:{keywords:["burkina","faso","flag","nation","country","banner"],char:"🇧🇫",fitzpatrick_scale:!1,category:"flags"},burundi:{keywords:["bi","flag","nation","country","banner"],char:"🇧🇮",fitzpatrick_scale:!1,category:"flags"},cape_verde:{keywords:["cabo","verde","flag","nation","country","banner"],char:"🇨🇻",fitzpatrick_scale:!1,category:"flags"},cambodia:{keywords:["kh","flag","nation","country","banner"],char:"🇰🇭",fitzpatrick_scale:!1,category:"flags"},cameroon:{keywords:["cm","flag","nation","country","banner"],char:"🇨🇲",fitzpatrick_scale:!1,category:"flags"},canada:{keywords:["ca","flag","nation","country","banner"],char:"🇨🇦",fitzpatrick_scale:!1,category:"flags"},canary_islands:{keywords:["canary","islands","flag","nation","country","banner"],char:"🇮🇨",fitzpatrick_scale:!1,category:"flags"},cayman_islands:{keywords:["cayman","islands","flag","nation","country","banner"],char:"🇰🇾",fitzpatrick_scale:!1,category:"flags"},central_african_republic:{keywords:["central","african","republic","flag","nation","country","banner"],char:"🇨🇫",fitzpatrick_scale:!1,category:"flags"},chad:{keywords:["td","flag","nation","country","banner"],char:"🇹🇩",fitzpatrick_scale:!1,category:"flags"},chile:{keywords:["flag","nation","country","banner"],char:"🇨🇱",fitzpatrick_scale:!1,category:"flags"},cn:{keywords:["china","chinese","prc","flag","country","nation","banner"],char:"🇨🇳",fitzpatrick_scale:!1,category:"flags"},christmas_island:{keywords:["christmas","island","flag","nation","country","banner"],char:"🇨🇽",fitzpatrick_scale:!1,category:"flags"},cocos_islands:{keywords:["cocos","keeling","islands","flag","nation","country","banner"],char:"🇨🇨",fitzpatrick_scale:!1,category:"flags"},colombia:{keywords:["co","flag","nation","country","banner"],char:"🇨🇴",fitzpatrick_scale:!1,category:"flags"},comoros:{keywords:["km","flag","nation","country","banner"],char:"🇰🇲",fitzpatrick_scale:!1,category:"flags"},congo_brazzaville:{keywords:["congo","flag","nation","country","banner"],char:"🇨🇬",fitzpatrick_scale:!1,category:"flags"},congo_kinshasa:{keywords:["congo","democratic","republic","flag","nation","country","banner"],char:"🇨🇩",fitzpatrick_scale:!1,category:"flags"},cook_islands:{keywords:["cook","islands","flag","nation","country","banner"],char:"🇨🇰",fitzpatrick_scale:!1,category:"flags"},costa_rica:{keywords:["costa","rica","flag","nation","country","banner"],char:"🇨🇷",fitzpatrick_scale:!1,category:"flags"},croatia:{keywords:["hr","flag","nation","country","banner"],char:"🇭🇷",fitzpatrick_scale:!1,category:"flags"},cuba:{keywords:["cu","flag","nation","country","banner"],char:"🇨🇺",fitzpatrick_scale:!1,category:"flags"},curacao:{keywords:["curaçao","flag","nation","country","banner"],char:"🇨🇼",fitzpatrick_scale:!1,category:"flags"},cyprus:{keywords:["cy","flag","nation","country","banner"],char:"🇨🇾",fitzpatrick_scale:!1,category:"flags"},czech_republic:{keywords:["cz","flag","nation","country","banner"],char:"🇨🇿",fitzpatrick_scale:!1,category:"flags"},denmark:{keywords:["dk","flag","nation","country","banner"],char:"🇩🇰",fitzpatrick_scale:!1,category:"flags"},djibouti:{keywords:["dj","flag","nation","country","banner"],char:"🇩🇯",fitzpatrick_scale:!1,category:"flags"},dominica:{keywords:["dm","flag","nation","country","banner"],char:"🇩🇲",fitzpatrick_scale:!1,category:"flags"},dominican_republic:{keywords:["dominican","republic","flag","nation","country","banner"],char:"🇩🇴",fitzpatrick_scale:!1,category:"flags"},ecuador:{keywords:["ec","flag","nation","country","banner"],char:"🇪🇨",fitzpatrick_scale:!1,category:"flags"},egypt:{keywords:["eg","flag","nation","country","banner"],char:"🇪🇬",fitzpatrick_scale:!1,category:"flags"},el_salvador:{keywords:["el","salvador","flag","nation","country","banner"],char:"🇸🇻",fitzpatrick_scale:!1,category:"flags"},equatorial_guinea:{keywords:["equatorial","gn","flag","nation","country","banner"],char:"🇬🇶",fitzpatrick_scale:!1,category:"flags"},eritrea:{keywords:["er","flag","nation","country","banner"],char:"🇪🇷",fitzpatrick_scale:!1,category:"flags"},estonia:{keywords:["ee","flag","nation","country","banner"],char:"🇪🇪",fitzpatrick_scale:!1,category:"flags"},ethiopia:{keywords:["et","flag","nation","country","banner"],char:"🇪🇹",fitzpatrick_scale:!1,category:"flags"},eu:{keywords:["european","union","flag","banner"],char:"🇪🇺",fitzpatrick_scale:!1,category:"flags"},falkland_islands:{keywords:["falkland","islands","malvinas","flag","nation","country","banner"],char:"🇫🇰",fitzpatrick_scale:!1,category:"flags"},faroe_islands:{keywords:["faroe","islands","flag","nation","country","banner"],char:"🇫🇴",fitzpatrick_scale:!1,category:"flags"},fiji:{keywords:["fj","flag","nation","country","banner"],char:"🇫🇯",fitzpatrick_scale:!1,category:"flags"},finland:{keywords:["fi","flag","nation","country","banner"],char:"🇫🇮",fitzpatrick_scale:!1,category:"flags"},fr:{keywords:["banner","flag","nation","france","french","country"],char:"🇫🇷",fitzpatrick_scale:!1,category:"flags"},french_guiana:{keywords:["french","guiana","flag","nation","country","banner"],char:"🇬🇫",fitzpatrick_scale:!1,category:"flags"},french_polynesia:{keywords:["french","polynesia","flag","nation","country","banner"],char:"🇵🇫",fitzpatrick_scale:!1,category:"flags"},french_southern_territories:{keywords:["french","southern","territories","flag","nation","country","banner"],char:"🇹🇫",fitzpatrick_scale:!1,category:"flags"},gabon:{keywords:["ga","flag","nation","country","banner"],char:"🇬🇦",fitzpatrick_scale:!1,category:"flags"},gambia:{keywords:["gm","flag","nation","country","banner"],char:"🇬🇲",fitzpatrick_scale:!1,category:"flags"},georgia:{keywords:["ge","flag","nation","country","banner"],char:"🇬🇪",fitzpatrick_scale:!1,category:"flags"},de:{keywords:["german","nation","flag","country","banner"],char:"🇩🇪",fitzpatrick_scale:!1,category:"flags"},ghana:{keywords:["gh","flag","nation","country","banner"],char:"🇬🇭",fitzpatrick_scale:!1,category:"flags"},gibraltar:{keywords:["gi","flag","nation","country","banner"],char:"🇬🇮",fitzpatrick_scale:!1,category:"flags"},greece:{keywords:["gr","flag","nation","country","banner"],char:"🇬🇷",fitzpatrick_scale:!1,category:"flags"},greenland:{keywords:["gl","flag","nation","country","banner"],char:"🇬🇱",fitzpatrick_scale:!1,category:"flags"},grenada:{keywords:["gd","flag","nation","country","banner"],char:"🇬🇩",fitzpatrick_scale:!1,category:"flags"},guadeloupe:{keywords:["gp","flag","nation","country","banner"],char:"🇬🇵",fitzpatrick_scale:!1,category:"flags"},guam:{keywords:["gu","flag","nation","country","banner"],char:"🇬🇺",fitzpatrick_scale:!1,category:"flags"},guatemala:{keywords:["gt","flag","nation","country","banner"],char:"🇬🇹",fitzpatrick_scale:!1,category:"flags"},guernsey:{keywords:["gg","flag","nation","country","banner"],char:"🇬🇬",fitzpatrick_scale:!1,category:"flags"},guinea:{keywords:["gn","flag","nation","country","banner"],char:"🇬🇳",fitzpatrick_scale:!1,category:"flags"},guinea_bissau:{keywords:["gw","bissau","flag","nation","country","banner"],char:"🇬🇼",fitzpatrick_scale:!1,category:"flags"},guyana:{keywords:["gy","flag","nation","country","banner"],char:"🇬🇾",fitzpatrick_scale:!1,category:"flags"},haiti:{keywords:["ht","flag","nation","country","banner"],char:"🇭🇹",fitzpatrick_scale:!1,category:"flags"},honduras:{keywords:["hn","flag","nation","country","banner"],char:"🇭🇳",fitzpatrick_scale:!1,category:"flags"},hong_kong:{keywords:["hong","kong","flag","nation","country","banner"],char:"🇭🇰",fitzpatrick_scale:!1,category:"flags"},hungary:{keywords:["hu","flag","nation","country","banner"],char:"🇭🇺",fitzpatrick_scale:!1,category:"flags"},iceland:{keywords:["is","flag","nation","country","banner"],char:"🇮🇸",fitzpatrick_scale:!1,category:"flags"},india:{keywords:["in","flag","nation","country","banner"],char:"🇮🇳",fitzpatrick_scale:!1,category:"flags"},indonesia:{keywords:["flag","nation","country","banner"],char:"🇮🇩",fitzpatrick_scale:!1,category:"flags"},iran:{keywords:["iran,","islamic","republic","flag","nation","country","banner"],char:"🇮🇷",fitzpatrick_scale:!1,category:"flags"},iraq:{keywords:["iq","flag","nation","country","banner"],char:"🇮🇶",fitzpatrick_scale:!1,category:"flags"},ireland:{keywords:["ie","flag","nation","country","banner"],char:"🇮🇪",fitzpatrick_scale:!1,category:"flags"},isle_of_man:{keywords:["isle","man","flag","nation","country","banner"],char:"🇮🇲",fitzpatrick_scale:!1,category:"flags"},israel:{keywords:["il","flag","nation","country","banner"],char:"🇮🇱",fitzpatrick_scale:!1,category:"flags"},it:{keywords:["italy","flag","nation","country","banner"],char:"🇮🇹",fitzpatrick_scale:!1,category:"flags"},cote_divoire:{keywords:["ivory","coast","flag","nation","country","banner"],char:"🇨🇮",fitzpatrick_scale:!1,category:"flags"},jamaica:{keywords:["jm","flag","nation","country","banner"],char:"🇯🇲",fitzpatrick_scale:!1,category:"flags"},jp:{keywords:["japanese","nation","flag","country","banner"],char:"🇯🇵",fitzpatrick_scale:!1,category:"flags"},jersey:{keywords:["je","flag","nation","country","banner"],char:"🇯🇪",fitzpatrick_scale:!1,category:"flags"},jordan:{keywords:["jo","flag","nation","country","banner"],char:"🇯🇴",fitzpatrick_scale:!1,category:"flags"},kazakhstan:{keywords:["kz","flag","nation","country","banner"],char:"🇰🇿",fitzpatrick_scale:!1,category:"flags"},kenya:{keywords:["ke","flag","nation","country","banner"],char:"🇰🇪",fitzpatrick_scale:!1,category:"flags"},kiribati:{keywords:["ki","flag","nation","country","banner"],char:"🇰🇮",fitzpatrick_scale:!1,category:"flags"},kosovo:{keywords:["xk","flag","nation","country","banner"],char:"🇽🇰",fitzpatrick_scale:!1,category:"flags"},kuwait:{keywords:["kw","flag","nation","country","banner"],char:"🇰🇼",fitzpatrick_scale:!1,category:"flags"},kyrgyzstan:{keywords:["kg","flag","nation","country","banner"],char:"🇰🇬",fitzpatrick_scale:!1,category:"flags"},laos:{keywords:["lao","democratic","republic","flag","nation","country","banner"],char:"🇱🇦",fitzpatrick_scale:!1,category:"flags"},latvia:{keywords:["lv","flag","nation","country","banner"],char:"🇱🇻",fitzpatrick_scale:!1,category:"flags"},lebanon:{keywords:["lb","flag","nation","country","banner"],char:"🇱🇧",fitzpatrick_scale:!1,category:"flags"},lesotho:{keywords:["ls","flag","nation","country","banner"],char:"🇱🇸",fitzpatrick_scale:!1,category:"flags"},liberia:{keywords:["lr","flag","nation","country","banner"],char:"🇱🇷",fitzpatrick_scale:!1,category:"flags"},libya:{keywords:["ly","flag","nation","country","banner"],char:"🇱🇾",fitzpatrick_scale:!1,category:"flags"},liechtenstein:{keywords:["li","flag","nation","country","banner"],char:"🇱🇮",fitzpatrick_scale:!1,category:"flags"},lithuania:{keywords:["lt","flag","nation","country","banner"],char:"🇱🇹",fitzpatrick_scale:!1,category:"flags"},luxembourg:{keywords:["lu","flag","nation","country","banner"],char:"🇱🇺",fitzpatrick_scale:!1,category:"flags"},macau:{keywords:["macao","flag","nation","country","banner"],char:"🇲🇴",fitzpatrick_scale:!1,category:"flags"},macedonia:{keywords:["macedonia,","flag","nation","country","banner"],char:"🇲🇰",fitzpatrick_scale:!1,category:"flags"},madagascar:{keywords:["mg","flag","nation","country","banner"],char:"🇲🇬",fitzpatrick_scale:!1,category:"flags"},malawi:{keywords:["mw","flag","nation","country","banner"],char:"🇲🇼",fitzpatrick_scale:!1,category:"flags"},malaysia:{keywords:["my","flag","nation","country","banner"],char:"🇲🇾",fitzpatrick_scale:!1,category:"flags"},maldives:{keywords:["mv","flag","nation","country","banner"],char:"🇲🇻",fitzpatrick_scale:!1,category:"flags"},mali:{keywords:["ml","flag","nation","country","banner"],char:"🇲🇱",fitzpatrick_scale:!1,category:"flags"},malta:{keywords:["mt","flag","nation","country","banner"],char:"🇲🇹",fitzpatrick_scale:!1,category:"flags"},marshall_islands:{keywords:["marshall","islands","flag","nation","country","banner"],char:"🇲🇭",fitzpatrick_scale:!1,category:"flags"},martinique:{keywords:["mq","flag","nation","country","banner"],char:"🇲🇶",fitzpatrick_scale:!1,category:"flags"},mauritania:{keywords:["mr","flag","nation","country","banner"],char:"🇲🇷",fitzpatrick_scale:!1,category:"flags"},mauritius:{keywords:["mu","flag","nation","country","banner"],char:"🇲🇺",fitzpatrick_scale:!1,category:"flags"},mayotte:{keywords:["yt","flag","nation","country","banner"],char:"🇾🇹",fitzpatrick_scale:!1,category:"flags"},mexico:{keywords:["mx","flag","nation","country","banner"],char:"🇲🇽",fitzpatrick_scale:!1,category:"flags"},micronesia:{keywords:["micronesia,","federated","states","flag","nation","country","banner"],char:"🇫🇲",fitzpatrick_scale:!1,category:"flags"},moldova:{keywords:["moldova,","republic","flag","nation","country","banner"],char:"🇲🇩",fitzpatrick_scale:!1,category:"flags"},monaco:{keywords:["mc","flag","nation","country","banner"],char:"🇲🇨",fitzpatrick_scale:!1,category:"flags"},mongolia:{keywords:["mn","flag","nation","country","banner"],char:"🇲🇳",fitzpatrick_scale:!1,category:"flags"},montenegro:{keywords:["me","flag","nation","country","banner"],char:"🇲🇪",fitzpatrick_scale:!1,category:"flags"},montserrat:{keywords:["ms","flag","nation","country","banner"],char:"🇲🇸",fitzpatrick_scale:!1,category:"flags"},morocco:{keywords:["ma","flag","nation","country","banner"],char:"🇲🇦",fitzpatrick_scale:!1,category:"flags"},mozambique:{keywords:["mz","flag","nation","country","banner"],char:"🇲🇿",fitzpatrick_scale:!1,category:"flags"},myanmar:{keywords:["mm","flag","nation","country","banner"],char:"🇲🇲",fitzpatrick_scale:!1,category:"flags"},namibia:{keywords:["na","flag","nation","country","banner"],char:"🇳🇦",fitzpatrick_scale:!1,category:"flags"},nauru:{keywords:["nr","flag","nation","country","banner"],char:"🇳🇷",fitzpatrick_scale:!1,category:"flags"},nepal:{keywords:["np","flag","nation","country","banner"],char:"🇳🇵",fitzpatrick_scale:!1,category:"flags"},netherlands:{keywords:["nl","flag","nation","country","banner"],char:"🇳🇱",fitzpatrick_scale:!1,category:"flags"},new_caledonia:{keywords:["new","caledonia","flag","nation","country","banner"],char:"🇳🇨",fitzpatrick_scale:!1,category:"flags"},new_zealand:{keywords:["new","zealand","flag","nation","country","banner"],char:"🇳🇿",fitzpatrick_scale:!1,category:"flags"},nicaragua:{keywords:["ni","flag","nation","country","banner"],char:"🇳🇮",fitzpatrick_scale:!1,category:"flags"},niger:{keywords:["ne","flag","nation","country","banner"],char:"🇳🇪",fitzpatrick_scale:!1,category:"flags"},nigeria:{keywords:["flag","nation","country","banner"],char:"🇳🇬",fitzpatrick_scale:!1,category:"flags"},niue:{keywords:["nu","flag","nation","country","banner"],char:"🇳🇺",fitzpatrick_scale:!1,category:"flags"},norfolk_island:{keywords:["norfolk","island","flag","nation","country","banner"],char:"🇳🇫",fitzpatrick_scale:!1,category:"flags"},northern_mariana_islands:{keywords:["northern","mariana","islands","flag","nation","country","banner"],char:"🇲🇵",fitzpatrick_scale:!1,category:"flags"},north_korea:{keywords:["north","korea","nation","flag","country","banner"],char:"🇰🇵",fitzpatrick_scale:!1,category:"flags"},norway:{keywords:["no","flag","nation","country","banner"],char:"🇳🇴",fitzpatrick_scale:!1,category:"flags"},oman:{keywords:["om_symbol","flag","nation","country","banner"],char:"🇴🇲",fitzpatrick_scale:!1,category:"flags"},pakistan:{keywords:["pk","flag","nation","country","banner"],char:"🇵🇰",fitzpatrick_scale:!1,category:"flags"},palau:{keywords:["pw","flag","nation","country","banner"],char:"🇵🇼",fitzpatrick_scale:!1,category:"flags"},palestinian_territories:{keywords:["palestine","palestinian","territories","flag","nation","country","banner"],char:"🇵🇸",fitzpatrick_scale:!1,category:"flags"},panama:{keywords:["pa","flag","nation","country","banner"],char:"🇵🇦",fitzpatrick_scale:!1,category:"flags"},papua_new_guinea:{keywords:["papua","new","guinea","flag","nation","country","banner"],char:"🇵🇬",fitzpatrick_scale:!1,category:"flags"},paraguay:{keywords:["py","flag","nation","country","banner"],char:"🇵🇾",fitzpatrick_scale:!1,category:"flags"},peru:{keywords:["pe","flag","nation","country","banner"],char:"🇵🇪",fitzpatrick_scale:!1,category:"flags"},philippines:{keywords:["ph","flag","nation","country","banner"],char:"🇵🇭",fitzpatrick_scale:!1,category:"flags"},pitcairn_islands:{keywords:["pitcairn","flag","nation","country","banner"],char:"🇵🇳",fitzpatrick_scale:!1,category:"flags"},poland:{keywords:["pl","flag","nation","country","banner"],char:"🇵🇱",fitzpatrick_scale:!1,category:"flags"},portugal:{keywords:["pt","flag","nation","country","banner"],char:"🇵🇹",fitzpatrick_scale:!1,category:"flags"},puerto_rico:{keywords:["puerto","rico","flag","nation","country","banner"],char:"🇵🇷",fitzpatrick_scale:!1,category:"flags"},qatar:{keywords:["qa","flag","nation","country","banner"],char:"🇶🇦",fitzpatrick_scale:!1,category:"flags"},reunion:{keywords:["réunion","flag","nation","country","banner"],char:"🇷🇪",fitzpatrick_scale:!1,category:"flags"},romania:{keywords:["ro","flag","nation","country","banner"],char:"🇷🇴",fitzpatrick_scale:!1,category:"flags"},ru:{keywords:["russian","federation","flag","nation","country","banner"],char:"🇷🇺",fitzpatrick_scale:!1,category:"flags"},rwanda:{keywords:["rw","flag","nation","country","banner"],char:"🇷🇼",fitzpatrick_scale:!1,category:"flags"},st_barthelemy:{keywords:["saint","barthélemy","flag","nation","country","banner"],char:"🇧🇱",fitzpatrick_scale:!1,category:"flags"},st_helena:{keywords:["saint","helena","ascension","tristan","cunha","flag","nation","country","banner"],char:"🇸🇭",fitzpatrick_scale:!1,category:"flags"},st_kitts_nevis:{keywords:["saint","kitts","nevis","flag","nation","country","banner"],char:"🇰🇳",fitzpatrick_scale:!1,category:"flags"},st_lucia:{keywords:["saint","lucia","flag","nation","country","banner"],char:"🇱🇨",fitzpatrick_scale:!1,category:"flags"},st_pierre_miquelon:{keywords:["saint","pierre","miquelon","flag","nation","country","banner"],char:"🇵🇲",fitzpatrick_scale:!1,category:"flags"},st_vincent_grenadines:{keywords:["saint","vincent","grenadines","flag","nation","country","banner"],char:"🇻🇨",fitzpatrick_scale:!1,category:"flags"},samoa:{keywords:["ws","flag","nation","country","banner"],char:"🇼🇸",fitzpatrick_scale:!1,category:"flags"},san_marino:{keywords:["san","marino","flag","nation","country","banner"],char:"🇸🇲",fitzpatrick_scale:!1,category:"flags"},sao_tome_principe:{keywords:["sao","tome","principe","flag","nation","country","banner"],char:"🇸🇹",fitzpatrick_scale:!1,category:"flags"},saudi_arabia:{keywords:["flag","nation","country","banner"],char:"🇸🇦",fitzpatrick_scale:!1,category:"flags"},senegal:{keywords:["sn","flag","nation","country","banner"],char:"🇸🇳",fitzpatrick_scale:!1,category:"flags"},serbia:{keywords:["rs","flag","nation","country","banner"],char:"🇷🇸",fitzpatrick_scale:!1,category:"flags"},seychelles:{keywords:["sc","flag","nation","country","banner"],char:"🇸🇨",fitzpatrick_scale:!1,category:"flags"},sierra_leone:{keywords:["sierra","leone","flag","nation","country","banner"],char:"🇸🇱",fitzpatrick_scale:!1,category:"flags"},singapore:{keywords:["sg","flag","nation","country","banner"],char:"🇸🇬",fitzpatrick_scale:!1,category:"flags"},sint_maarten:{keywords:["sint","maarten","dutch","flag","nation","country","banner"],char:"🇸🇽",fitzpatrick_scale:!1,category:"flags"},slovakia:{keywords:["sk","flag","nation","country","banner"],char:"🇸🇰",fitzpatrick_scale:!1,category:"flags"},slovenia:{keywords:["si","flag","nation","country","banner"],char:"🇸🇮",fitzpatrick_scale:!1,category:"flags"},solomon_islands:{keywords:["solomon","islands","flag","nation","country","banner"],char:"🇸🇧",fitzpatrick_scale:!1,category:"flags"},somalia:{keywords:["so","flag","nation","country","banner"],char:"🇸🇴",fitzpatrick_scale:!1,category:"flags"},south_africa:{keywords:["south","africa","flag","nation","country","banner"],char:"🇿🇦",fitzpatrick_scale:!1,category:"flags"},south_georgia_south_sandwich_islands:{keywords:["south","georgia","sandwich","islands","flag","nation","country","banner"],char:"🇬🇸",fitzpatrick_scale:!1,category:"flags"},kr:{keywords:["south","korea","nation","flag","country","banner"],char:"🇰🇷",fitzpatrick_scale:!1,category:"flags"},south_sudan:{keywords:["south","sd","flag","nation","country","banner"],char:"🇸🇸",fitzpatrick_scale:!1,category:"flags"},es:{keywords:["spain","flag","nation","country","banner"],char:"🇪🇸",fitzpatrick_scale:!1,category:"flags"},sri_lanka:{keywords:["sri","lanka","flag","nation","country","banner"],char:"🇱🇰",fitzpatrick_scale:!1,category:"flags"},sudan:{keywords:["sd","flag","nation","country","banner"],char:"🇸🇩",fitzpatrick_scale:!1,category:"flags"},suriname:{keywords:["sr","flag","nation","country","banner"],char:"🇸🇷",fitzpatrick_scale:!1,category:"flags"},swaziland:{keywords:["sz","flag","nation","country","banner"],char:"🇸🇿",fitzpatrick_scale:!1,category:"flags"},sweden:{keywords:["se","flag","nation","country","banner"],char:"🇸🇪",fitzpatrick_scale:!1,category:"flags"},switzerland:{keywords:["ch","flag","nation","country","banner"],char:"🇨🇭",fitzpatrick_scale:!1,category:"flags"},syria:{keywords:["syrian","arab","republic","flag","nation","country","banner"],char:"🇸🇾",fitzpatrick_scale:!1,category:"flags"},taiwan:{keywords:["tw","flag","nation","country","banner"],char:"🇹🇼",fitzpatrick_scale:!1,category:"flags"},tajikistan:{keywords:["tj","flag","nation","country","banner"],char:"🇹🇯",fitzpatrick_scale:!1,category:"flags"},tanzania:{keywords:["tanzania,","united","republic","flag","nation","country","banner"],char:"🇹🇿",fitzpatrick_scale:!1,category:"flags"},thailand:{keywords:["th","flag","nation","country","banner"],char:"🇹🇭",fitzpatrick_scale:!1,category:"flags"},timor_leste:{keywords:["timor","leste","flag","nation","country","banner"],char:"🇹🇱",fitzpatrick_scale:!1,category:"flags"},togo:{keywords:["tg","flag","nation","country","banner"],char:"🇹🇬",fitzpatrick_scale:!1,category:"flags"},tokelau:{keywords:["tk","flag","nation","country","banner"],char:"🇹🇰",fitzpatrick_scale:!1,category:"flags"},tonga:{keywords:["to","flag","nation","country","banner"],char:"🇹🇴",fitzpatrick_scale:!1,category:"flags"},trinidad_tobago:{keywords:["trinidad","tobago","flag","nation","country","banner"],char:"🇹🇹",fitzpatrick_scale:!1,category:"flags"},tunisia:{keywords:["tn","flag","nation","country","banner"],char:"🇹🇳",fitzpatrick_scale:!1,category:"flags"},tr:{keywords:["turkey","flag","nation","country","banner"],char:"🇹🇷",fitzpatrick_scale:!1,category:"flags"},turkmenistan:{keywords:["flag","nation","country","banner"],char:"🇹🇲",fitzpatrick_scale:!1,category:"flags"},turks_caicos_islands:{keywords:["turks","caicos","islands","flag","nation","country","banner"],char:"🇹🇨",fitzpatrick_scale:!1,category:"flags"},tuvalu:{keywords:["flag","nation","country","banner"],char:"🇹🇻",fitzpatrick_scale:!1,category:"flags"},uganda:{keywords:["ug","flag","nation","country","banner"],char:"🇺🇬",fitzpatrick_scale:!1,category:"flags"},ukraine:{keywords:["ua","flag","nation","country","banner"],char:"🇺🇦",fitzpatrick_scale:!1,category:"flags"},united_arab_emirates:{keywords:["united","arab","emirates","flag","nation","country","banner"],char:"🇦🇪",fitzpatrick_scale:!1,category:"flags"},uk:{keywords:["united","kingdom","great","britain","northern","ireland","flag","nation","country","banner","british","UK","english","england","union jack"],char:"🇬🇧",fitzpatrick_scale:!1,category:"flags"},england:{keywords:["flag","english"],char:"🏴󠁧󠁢󠁥󠁮󠁧󠁿",fitzpatrick_scale:!1,category:"flags"},scotland:{keywords:["flag","scottish"],char:"🏴󠁧󠁢󠁳󠁣󠁴󠁿",fitzpatrick_scale:!1,category:"flags"},wales:{keywords:["flag","welsh"],char:"🏴󠁧󠁢󠁷󠁬󠁳󠁿",fitzpatrick_scale:!1,category:"flags"},us:{keywords:["united","states","america","flag","nation","country","banner"],char:"🇺🇸",fitzpatrick_scale:!1,category:"flags"},us_virgin_islands:{keywords:["virgin","islands","us","flag","nation","country","banner"],char:"🇻🇮",fitzpatrick_scale:!1,category:"flags"},uruguay:{keywords:["uy","flag","nation","country","banner"],char:"🇺🇾",fitzpatrick_scale:!1,category:"flags"},uzbekistan:{keywords:["uz","flag","nation","country","banner"],char:"🇺🇿",fitzpatrick_scale:!1,category:"flags"},vanuatu:{keywords:["vu","flag","nation","country","banner"],char:"🇻🇺",fitzpatrick_scale:!1,category:"flags"},vatican_city:{keywords:["vatican","city","flag","nation","country","banner"],char:"🇻🇦",fitzpatrick_scale:!1,category:"flags"},venezuela:{keywords:["ve","bolivarian","republic","flag","nation","country","banner"],char:"🇻🇪",fitzpatrick_scale:!1,category:"flags"},vietnam:{keywords:["viet","nam","flag","nation","country","banner"],char:"🇻🇳",fitzpatrick_scale:!1,category:"flags"},wallis_futuna:{keywords:["wallis","futuna","flag","nation","country","banner"],char:"🇼🇫",fitzpatrick_scale:!1,category:"flags"},western_sahara:{keywords:["western","sahara","flag","nation","country","banner"],char:"🇪🇭",fitzpatrick_scale:!1,category:"flags"},yemen:{keywords:["ye","flag","nation","country","banner"],char:"🇾🇪",fitzpatrick_scale:!1,category:"flags"},zambia:{keywords:["zm","flag","nation","country","banner"],char:"🇿🇲",fitzpatrick_scale:!1,category:"flags"},zimbabwe:{keywords:["zw","flag","nation","country","banner"],char:"🇿🇼",fitzpatrick_scale:!1,category:"flags"},united_nations:{keywords:["un","flag","banner"],char:"🇺🇳",fitzpatrick_scale:!1,category:"flags"},pirate_flag:{keywords:["skull","crossbones","flag","banner"],char:"🏴‍☠️",fitzpatrick_scale:!1,category:"flags"}});(function(){var xo=tinymce.util.Tools.resolve("tinymce.PluginManager");const Ko=lt=>lt==null,Po=lt=>!Ko(lt),en=()=>{},tn=lt=>()=>lt;class to{constructor(Mt,ht){this.tag=Mt,this.value=ht}static some(Mt){return new to(!0,Mt)}static none(){return to.singletonNone}fold(Mt,ht){return this.tag?ht(this.value):Mt()}isSome(){return this.tag}isNone(){return!this.tag}map(Mt){return this.tag?to.some(Mt(this.value)):to.none()}bind(Mt){return this.tag?Mt(this.value):to.none()}exists(Mt){return this.tag&&Mt(this.value)}forall(Mt){return!this.tag||Mt(this.value)}filter(Mt){return!this.tag||Mt(this.value)?this:to.none()}getOr(Mt){return this.tag?this.value:Mt}or(Mt){return this.tag?this:Mt}getOrThunk(Mt){return this.tag?this.value:Mt()}orThunk(Mt){return this.tag?this:Mt()}getOrDie(Mt){if(this.tag)return this.value;throw new Error(Mt??"Called getOrDie on None")}static from(Mt){return Po(Mt)?to.some(Mt):to.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(Mt){this.tag&&Mt(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}to.singletonNone=new to(!1);const Lo=(lt,Mt)=>Mt>=0&&MtLo(lt,0);var Co=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils");const Ro=typeof window<"u"?window:Function("return this;")(),jo=function(lt,Mt,ht){const Rt=window.Prism;window.Prism={manual:!0};var uo=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{},Bt=function(V){var dt=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,Ie=0,_o={},Pt={manual:V.Prism&&V.Prism.manual,disableWorkerMessageHandler:V.Prism&&V.Prism.disableWorkerMessageHandler,util:{encode:function Fe(ge){return ge instanceof lo?new lo(ge.type,Fe(ge.content),ge.alias):Array.isArray(ge)?ge.map(Fe):ge.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document&&1<2)return document.currentScript;try{throw new Error}catch(at){var Fe=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(at.stack)||[])[1];if(Fe){var ge=document.getElementsByTagName("script");for(var Me in ge)if(ge[Me].src==Fe)return ge[Me]}return null}},isActive:function(Fe,ge,Me){for(var at="no-"+ge;Fe;){var ze=Fe.classList;if(ze.contains(ge))return!0;if(ze.contains(at))return!1;Fe=Fe.parentElement}return!!Me}},languages:{plain:_o,plaintext:_o,text:_o,txt:_o,extend:function(Fe,ge){var Me=Pt.util.clone(Pt.languages[Fe]);for(var at in ge)Me[at]=ge[at];return Me},insertBefore:function(Fe,ge,Me,at){at=at||Pt.languages;var ze=at[Fe],Ge={};for(var Gt in ze)if(ze.hasOwnProperty(Gt)){if(Gt==ge)for(var Vt in Me)Me.hasOwnProperty(Vt)&&(Ge[Vt]=Me[Vt]);Me.hasOwnProperty(Gt)||(Ge[Gt]=ze[Gt])}var Xo=at[Fe];return at[Fe]=Ge,Pt.languages.DFS(Pt.languages,function($o,Zo){Zo===Xo&&$o!=Fe&&(this[$o]=Ge)}),Ge},DFS:function Fe(ge,Me,at,ze){ze=ze||{};var Ge=Pt.util.objId;for(var Gt in ge)if(ge.hasOwnProperty(Gt)){Me.call(ge,Gt,ge[Gt],at||Gt);var Vt=ge[Gt],Xo=Pt.util.type(Vt);Xo==="Object"&&!ze[Ge(Vt)]?(ze[Ge(Vt)]=!0,Fe(Vt,Me,null,ze)):Xo==="Array"&&!ze[Ge(Vt)]&&(ze[Ge(Vt)]=!0,Fe(Vt,Me,Gt,ze))}}},plugins:{},highlightAll:function(Fe,ge){Pt.highlightAllUnder(document,Fe,ge)},highlightAllUnder:function(Fe,ge,Me){var at={callback:Me,container:Fe,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};Pt.hooks.run("before-highlightall",at),at.elements=Array.prototype.slice.apply(at.container.querySelectorAll(at.selector)),Pt.hooks.run("before-all-elements-highlight",at);for(var ze=0,Ge;Ge=at.elements[ze++];)Pt.highlightElement(Ge,ge===!0,at.callback)},highlightElement:function(Fe,ge,Me){var at=Pt.util.getLanguage(Fe),ze=Pt.languages[at];Pt.util.setLanguage(Fe,at);var Ge=Fe.parentElement;Ge&&Ge.nodeName.toLowerCase()==="pre"&&Pt.util.setLanguage(Ge,at);var Gt=Fe.textContent,Vt={element:Fe,language:at,grammar:ze,code:Gt};function Xo(Zo){Vt.highlightedCode=Zo,Pt.hooks.run("before-insert",Vt),Vt.element.innerHTML=Vt.highlightedCode,Pt.hooks.run("after-highlight",Vt),Pt.hooks.run("complete",Vt),Me&&Me.call(Vt.element)}if(Pt.hooks.run("before-sanity-check",Vt),Ge=Vt.element.parentElement,Ge&&Ge.nodeName.toLowerCase()==="pre"&&!Ge.hasAttribute("tabindex")&&Ge.setAttribute("tabindex","0"),!Vt.code){Pt.hooks.run("complete",Vt),Me&&Me.call(Vt.element);return}if(Pt.hooks.run("before-highlight",Vt),!Vt.grammar){Xo(Pt.util.encode(Vt.code));return}if(ge&&V.Worker){var $o=new Worker(Pt.filename);$o.onmessage=function(Zo){Xo(Zo.data)},$o.postMessage(JSON.stringify({language:Vt.language,code:Vt.code,immediateClose:!0}))}else Xo(Pt.highlight(Vt.code,Vt.grammar,Vt.language))},highlight:function(Fe,ge,Me){var at={code:Fe,grammar:ge,language:Me};if(Pt.hooks.run("before-tokenize",at),!at.grammar)throw new Error('The language "'+at.language+'" has no grammar.');return at.tokens=Pt.tokenize(at.code,at.grammar),Pt.hooks.run("after-tokenize",at),lo.stringify(Pt.util.encode(at.tokens),at.language)},tokenize:function(Fe,ge){var Me=ge.rest;if(Me){for(var at in Me)ge[at]=Me[at];delete ge.rest}var ze=new Se;return $e(ze,ze.head,Fe),oo(Fe,ze,ge,ze.head,0),gt(ze)},hooks:{all:{},add:function(Fe,ge){var Me=Pt.hooks.all;Me[Fe]=Me[Fe]||[],Me[Fe].push(ge)},run:function(Fe,ge){var Me=Pt.hooks.all[Fe];if(!(!Me||!Me.length))for(var at=0,ze;ze=Me[at++];)ze(ge)}},Token:lo};V.Prism=Pt;function lo(Fe,ge,Me,at){this.type=Fe,this.content=ge,this.alias=Me,this.length=(at||"").length|0}lo.stringify=function Fe(ge,Me){if(typeof ge=="string")return ge;if(Array.isArray(ge)){var at="";return ge.forEach(function(Xo){at+=Fe(Xo,Me)}),at}var ze={type:ge.type,content:Fe(ge.content,Me),tag:"span",classes:["token",ge.type],attributes:{},language:Me},Ge=ge.alias;Ge&&(Array.isArray(Ge)?Array.prototype.push.apply(ze.classes,Ge):ze.classes.push(Ge)),Pt.hooks.run("wrap",ze);var Gt="";for(var Vt in ze.attributes)Gt+=" "+Vt+'="'+(ze.attributes[Vt]||"").replace(/"/g,""")+'"';return"<"+ze.tag+' class="'+ze.classes.join(" ")+'"'+Gt+">"+ze.content+""};function To(Fe,ge,Me,at){Fe.lastIndex=ge;var ze=Fe.exec(Me);if(ze&&at&&ze[1]){var Ge=ze[1].length;ze.index+=Ge,ze[0]=ze[0].slice(Ge)}return ze}function oo(Fe,ge,Me,at,ze,Ge){for(var Gt in Me)if(!(!Me.hasOwnProperty(Gt)||!Me[Gt])){var Vt=Me[Gt];Vt=Array.isArray(Vt)?Vt:[Vt];for(var Xo=0;Xo=Ge.reach);vo+=Ft.value.length,Ft=Ft.next){var Xt=Ft.value;if(ge.length>Fe.length)return;if(!(Xt instanceof lo)){var Vo=1,$n;if(Pn){if($n=To(zt,vo,Fe,Gn),!$n||$n.index>=Fe.length)break;var Fn=$n.index,Rr=$n.index+$n[0].length,Wt=vo;for(Wt+=Ft.value.length;Fn>=Wt;)Ft=Ft.next,Wt+=Ft.value.length;if(Wt-=Ft.value.length,vo=Wt,Ft.value instanceof lo)continue;for(var vr=Ft;vr!==ge.tail&&(WtGe.reach&&(Ge.reach=Yr);var Pa=Ft.prev;xr&&(Pa=$e(ge,Pa,xr),vo+=xr.length),ct(ge,Pa,Vo);var cs=new lo(Gt,Zo?Pt.tokenize(ln,Zo):ln,zn,ln);if(Ft=$e(ge,Pa,cs),Ys&&$e(ge,Ft,Ys),Vo>1){var Ha={cause:Gt+","+Xo,reach:Yr};oo(Fe,ge,Me,Ft.prev,vo,Ha),Ge&&Ha.reach>Ge.reach&&(Ge.reach=Ha.reach)}}}}}}function Se(){var Fe={value:null,prev:null,next:null},ge={value:null,prev:Fe,next:null};Fe.next=ge,this.head=Fe,this.tail=ge,this.length=0}function $e(Fe,ge,Me){var at=ge.next,ze={value:Me,prev:ge,next:at};return ge.next=ze,at.prev=ze,Fe.length++,ze}function ct(Fe,ge,Me){for(var at=ge.next,ze=0;ze]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},function(V){function dt(Ie,_o){return"___"+Ie.toUpperCase()+_o+"___"}Object.defineProperties(V.languages["markup-templating"]={},{buildPlaceholders:{value:function(Ie,_o,Pt,lo){if(Ie.language===_o){var To=Ie.tokenStack=[];Ie.code=Ie.code.replace(Pt,function(oo){if(typeof lo=="function"&&!lo(oo))return oo;for(var Se=To.length,$e;Ie.code.indexOf($e=dt(_o,Se))!==-1;)++Se;return To[Se]=oo,$e}),Ie.grammar=V.languages.markup}}},tokenizePlaceholders:{value:function(Ie,_o){if(Ie.language!==_o||!Ie.tokenStack)return;Ie.grammar=V.languages[_o];var Pt=0,lo=Object.keys(Ie.tokenStack);function To(oo){for(var Se=0;Se=lo.length);Se++){var $e=oo[Se];if(typeof $e=="string"||$e.content&&typeof $e.content=="string"){var ct=lo[Pt],gt=Ie.tokenStack[ct],pe=typeof $e=="string"?$e:$e.content,Oe=dt(_o,ct),We=pe.indexOf(Oe);if(We>-1){++Pt;var Fe=pe.substring(0,We),ge=new V.Token(_o,V.tokenize(gt,Ie.grammar),"language-"+_o,gt),Me=pe.substring(We+Oe.length),at=[];Fe&&at.push.apply(at,To([Fe])),at.push(ge),Me&&at.push.apply(at,To([Me])),typeof $e=="string"?oo.splice.apply(oo,[Se,1].concat(at)):$e.content=at}}else $e.content&&To($e.content)}return oo}To(Ie.tokens)}}})}(Bt),Bt.languages.c=Bt.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),Bt.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),Bt.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},Bt.languages.c.string],char:Bt.languages.c.char,comment:Bt.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:Bt.languages.c}}}}),Bt.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete Bt.languages.c.boolean,function(V){var dt=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,Ie=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return dt.source});V.languages.cpp=V.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return dt.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:dt,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),V.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return Ie})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),V.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:V.languages.cpp}}}}),V.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),V.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:V.languages.extend("cpp",{})}}),V.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},V.languages.cpp["base-clause"])}(Bt),function(V){function dt($n,Rr){return $n.replace(/<<(\d+)>>/g,function(Wt,vr){return"(?:"+Rr[+vr]+")"})}function Ie($n,Rr,Wt){return RegExp(dt($n,Rr),Wt||"")}function _o($n,Rr){for(var Wt=0;Wt>/g,function(){return"(?:"+$n+")"});return $n.replace(/<>/g,"[^\\s\\S]")}var Pt={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function lo($n){return"\\b(?:"+$n.trim().replace(/ /g,"|")+")\\b"}var To=lo(Pt.typeDeclaration),oo=RegExp(lo(Pt.type+" "+Pt.typeDeclaration+" "+Pt.contextual+" "+Pt.other)),Se=lo(Pt.typeDeclaration+" "+Pt.contextual+" "+Pt.other),$e=lo(Pt.type+" "+Pt.typeDeclaration+" "+Pt.other),ct=_o(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),gt=_o(/\((?:[^()]|<>)*\)/.source,2),pe=/@?\b[A-Za-z_]\w*\b/.source,Oe=dt(/<<0>>(?:\s*<<1>>)?/.source,[pe,ct]),We=dt(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[Se,Oe]),Fe=/\[\s*(?:,\s*)*\]/.source,ge=dt(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[We,Fe]),Me=dt(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[ct,gt,Fe]),at=dt(/\(<<0>>+(?:,<<0>>+)+\)/.source,[Me]),ze=dt(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[at,We,Fe]),Ge={keyword:oo,punctuation:/[<>()?,.:[\]]/},Gt=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,Vt=/"(?:\\.|[^\\"\r\n])*"/.source,Xo=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;V.languages.csharp=V.languages.extend("clike",{string:[{pattern:Ie(/(^|[^$\\])<<0>>/.source,[Xo]),lookbehind:!0,greedy:!0},{pattern:Ie(/(^|[^@$\\])<<0>>/.source,[Vt]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:Ie(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[We]),lookbehind:!0,inside:Ge},{pattern:Ie(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[pe,ze]),lookbehind:!0,inside:Ge},{pattern:Ie(/(\busing\s+)<<0>>(?=\s*=)/.source,[pe]),lookbehind:!0},{pattern:Ie(/(\b<<0>>\s+)<<1>>/.source,[To,Oe]),lookbehind:!0,inside:Ge},{pattern:Ie(/(\bcatch\s*\(\s*)<<0>>/.source,[We]),lookbehind:!0,inside:Ge},{pattern:Ie(/(\bwhere\s+)<<0>>/.source,[pe]),lookbehind:!0},{pattern:Ie(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[ge]),lookbehind:!0,inside:Ge},{pattern:Ie(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[ze,$e,pe]),inside:Ge}],keyword:oo,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),V.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),V.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:Ie(/([(,]\s*)<<0>>(?=\s*:)/.source,[pe]),lookbehind:!0,alias:"punctuation"}}),V.languages.insertBefore("csharp","class-name",{namespace:{pattern:Ie(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[pe]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:Ie(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[gt]),lookbehind:!0,alias:"class-name",inside:Ge},"return-type":{pattern:Ie(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[ze,We]),inside:Ge,alias:"class-name"},"constructor-invocation":{pattern:Ie(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[ze]),lookbehind:!0,inside:Ge,alias:"class-name"},"generic-method":{pattern:Ie(/<<0>>\s*<<1>>(?=\s*\()/.source,[pe,ct]),inside:{function:Ie(/^<<0>>/.source,[pe]),generic:{pattern:RegExp(ct),alias:"class-name",inside:Ge}}},"type-list":{pattern:Ie(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[To,Oe,pe,ze,oo.source,gt,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:Ie(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[Oe,gt]),lookbehind:!0,greedy:!0,inside:V.languages.csharp},keyword:oo,"class-name":{pattern:RegExp(ze),greedy:!0,inside:Ge},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var $o=Vt+"|"+Gt,Zo=dt(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[$o]),Gn=_o(dt(/[^"'/()]|<<0>>|\(<>*\)/.source,[Zo]),2),Pn=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,zn=dt(/<<0>>(?:\s*\(<<1>>*\))?/.source,[We,Gn]);V.languages.insertBefore("csharp","class-name",{attribute:{pattern:Ie(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[Pn,zn]),lookbehind:!0,greedy:!0,inside:{target:{pattern:Ie(/^<<0>>(?=\s*:)/.source,[Pn]),alias:"keyword"},"attribute-arguments":{pattern:Ie(/\(<<0>>*\)/.source,[Gn]),inside:V.languages.csharp},"class-name":{pattern:RegExp(We),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var ut=/:[^}\r\n]+/.source,zt=_o(dt(/[^"'/()]|<<0>>|\(<>*\)/.source,[Zo]),2),Ft=dt(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[zt,ut]),vo=_o(dt(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[$o]),2),Xt=dt(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[vo,ut]);function Vo($n,Rr){return{interpolation:{pattern:Ie(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[$n]),lookbehind:!0,inside:{"format-string":{pattern:Ie(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[Rr,ut]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:V.languages.csharp}}},string:/[\s\S]+/}}V.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:Ie(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[Ft]),lookbehind:!0,greedy:!0,inside:Vo(Ft,zt)},{pattern:Ie(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[Xt]),lookbehind:!0,greedy:!0,inside:Vo(Xt,vo)}],char:{pattern:RegExp(Gt),greedy:!0}}),V.languages.dotnet=V.languages.cs=V.languages.csharp}(Bt),function(V){var dt=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;V.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+dt.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+dt.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+dt.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+dt.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:dt,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},V.languages.css.atrule.inside.rest=V.languages.css;var Ie=V.languages.markup;Ie&&(Ie.tag.addInlined("style","css"),Ie.tag.addAttribute("style","css"))}(Bt),function(V){var dt=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,Ie=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,_o={pattern:RegExp(/(^|[^\w.])/.source+Ie+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};V.languages.java=V.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[_o,{pattern:RegExp(/(^|[^\w.])/.source+Ie+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:_o.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+Ie+/[A-Z]\w*\b/.source),lookbehind:!0,inside:_o.inside}],keyword:dt,function:[V.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),V.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),V.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":_o,keyword:dt,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+Ie+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:_o.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+Ie+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:_o.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return dt.source})),lookbehind:!0,inside:{punctuation:/\./}}})}(Bt),Bt.languages.javascript=Bt.languages.extend("clike",{"class-name":[Bt.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Bt.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,Bt.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Bt.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Bt.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Bt.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Bt.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Bt.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Bt.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Bt.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),Bt.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),Bt.languages.markup&&(Bt.languages.markup.tag.addInlined("script","javascript"),Bt.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),Bt.languages.js=Bt.languages.javascript,Bt.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Bt.languages.markup.tag.inside["attr-value"].inside.entity=Bt.languages.markup.entity,Bt.languages.markup.doctype.inside["internal-subset"].inside=Bt.languages.markup,Bt.hooks.add("wrap",function(V){V.type==="entity"&&(V.attributes.title=V.content.replace(/&/,"&"))}),Object.defineProperty(Bt.languages.markup.tag,"addInlined",{value:function(dt,Ie){var _o={};_o["language-"+Ie]={pattern:/(^$)/i,lookbehind:!0,inside:Bt.languages[Ie]},_o.cdata=/^$/i;var Pt={"included-cdata":{pattern://i,inside:_o}};Pt["language-"+Ie]={pattern:/[\s\S]+/,inside:Bt.languages[Ie]};var lo={};lo[dt]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return dt}),"i"),lookbehind:!0,greedy:!0,inside:Pt},Bt.languages.insertBefore("markup","cdata",lo)}}),Object.defineProperty(Bt.languages.markup.tag,"addAttribute",{value:function(V,dt){Bt.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+V+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[dt,"language-"+dt],inside:Bt.languages[dt]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Bt.languages.html=Bt.languages.markup,Bt.languages.mathml=Bt.languages.markup,Bt.languages.svg=Bt.languages.markup,Bt.languages.xml=Bt.languages.extend("markup",{}),Bt.languages.ssml=Bt.languages.xml,Bt.languages.atom=Bt.languages.xml,Bt.languages.rss=Bt.languages.xml,function(V){var dt=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,Ie=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],_o=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,Pt=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,lo=/[{}\[\](),:;]/;V.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:dt,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s*)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:Ie,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:_o,operator:Pt,punctuation:lo};var To={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:V.languages.php},oo=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:To}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:To}}];V.languages.insertBefore("php","variable",{string:oo,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:dt,string:oo,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:Ie,number:_o,operator:Pt,punctuation:lo}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),V.hooks.add("before-tokenize",function(Se){if(/<\?/.test(Se.code)){var $e=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;V.languages["markup-templating"].buildPlaceholders(Se,"php",$e)}}),V.hooks.add("after-tokenize",function(Se){V.languages["markup-templating"].tokenizePlaceholders(Se,"php")})}(Bt),Bt.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Bt.languages.python["string-interpolation"].inside.interpolation.inside.rest=Bt.languages.python,Bt.languages.py=Bt.languages.python,function(V){V.languages.ruby=V.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),V.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var dt={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:V.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete V.languages.ruby.function;var Ie="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",_o=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;V.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+Ie+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:dt,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:dt,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+_o),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+_o+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),V.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+Ie),greedy:!0,inside:{interpolation:dt,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:dt,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:dt,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+Ie),greedy:!0,inside:{interpolation:dt,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:dt,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete V.languages.ruby.string,V.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),V.languages.rb=V.languages.ruby}(Bt),window.Prism=Rt,Bt}(void 0,void 0),an=lt=>Mt=>Mt.options.get(lt),Ao=lt=>{const Mt=lt.options.register;Mt("codesample_languages",{processor:"object[]"}),Mt("codesample_global_prismjs",{processor:"boolean",default:!1})},Ue=an("codesample_languages"),it=an("codesample_global_prismjs"),So=lt=>Ro.Prism&&it(lt)?Ro.Prism:jo,co=lt=>Po(lt)&<.nodeName==="PRE"&<.className.indexOf("language-")!==-1,he=lt=>{const Mt=lt.selection?lt.selection.getNode():null;return co(Mt)?to.some(Mt):to.none()},Dt=(lt,Mt,ht)=>{const Rt=lt.dom;lt.undoManager.transact(()=>{const uo=he(lt);return ht=Co.DOM.encode(ht),uo.fold(()=>{lt.insertContent('
    '+ht+"
    ");const Bt=Rt.select("#__new")[0];Rt.setAttrib(Bt,"id",null),lt.selection.select(Bt)},Bt=>{Rt.setAttrib(Bt,"class","language-"+Mt),Bt.innerHTML=ht,So(lt).highlightElement(Bt),lt.selection.select(Bt)})})},fo=lt=>he(lt).bind(ht=>to.from(ht.textContent)).getOr(""),me=lt=>{const Mt=[{text:"HTML/XML",value:"markup"},{text:"JavaScript",value:"javascript"},{text:"CSS",value:"css"},{text:"PHP",value:"php"},{text:"Ruby",value:"ruby"},{text:"Python",value:"python"},{text:"Java",value:"java"},{text:"C",value:"c"},{text:"C#",value:"csharp"},{text:"C++",value:"cpp"}],ht=Ue(lt);return ht||Mt},Ze=(lt,Mt)=>he(lt).fold(()=>Mt,Rt=>{const uo=Rt.className.match(/language-(\w+)/);return uo?uo[1]:Mt}),de=lt=>{const Mt=me(lt),ht=jt(Mt).fold(tn(""),Bt=>Bt.value),Rt=Ze(lt,ht),uo=fo(lt);lt.windowManager.open({title:"Insert/Edit Code Sample",size:"large",body:{type:"panel",items:[{type:"listbox",name:"language",label:"Language",items:Mt},{type:"textarea",name:"code",label:"Code view"}]},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:{language:Rt,code:uo},onSubmit:Bt=>{const V=Bt.getData();Dt(lt,V.language,V.code),Bt.close()}})},rt=lt=>{lt.addCommand("codesample",()=>{const Mt=lt.selection.getNode();lt.selection.isCollapsed()||co(Mt)?de(lt):lt.formatter.toggle("code")})},$t=(lt=>Mt=>Mt.replace(lt,""))(/^\s+|\s+$/g);var gn=tinymce.util.Tools.resolve("tinymce.util.Tools");const Bo=lt=>{lt.on("PreProcess",Mt=>{const ht=lt.dom,Rt=ht.select("pre[contenteditable=false]",Mt.node);gn.each(gn.grep(Rt,co),uo=>{const Bt=uo.textContent;ht.setAttrib(uo,"class",$t(ht.getAttrib(uo,"class"))),ht.setAttrib(uo,"contentEditable",null),ht.setAttrib(uo,"data-mce-highlighted",null);let V;for(;V=uo.firstChild;)uo.removeChild(V);const dt=ht.add(uo,"code");dt.textContent=Bt})}),lt.on("SetContent",()=>{const Mt=lt.dom,ht=gn.grep(Mt.select("pre"),Rt=>co(Rt)&&Mt.getAttrib(Rt,"data-mce-highlighted")!=="true");ht.length&<.undoManager.transact(()=>{gn.each(ht,Rt=>{var uo;gn.each(Mt.select("br",Rt),Bt=>{Mt.replace(lt.getDoc().createTextNode(` +`),Bt)}),Rt.innerHTML=Mt.encode((uo=Rt.textContent)!==null&&uo!==void 0?uo:""),So(lt).highlightElement(Rt),Mt.setAttrib(Rt,"data-mce-highlighted",!0),Rt.className=$t(Rt.className)})})}),lt.on("PreInit",()=>{lt.parser.addNodeFilter("pre",Mt=>{var ht;for(let Rt=0,uo=Mt.length;Rtht=>{const Rt=()=>{ht.setEnabled(lt.selection.isEditable()),Mt(ht)};return lt.on("NodeChange",Rt),Rt(),()=>{lt.off("NodeChange",Rt)}},R=lt=>{const Mt=lt.selection.getStart();return lt.dom.is(Mt,'pre[class*="language-"]')},qe=lt=>{const Mt=()=>lt.execCommand("codesample");lt.ui.registry.addToggleButton("codesample",{icon:"code-sample",tooltip:"Insert/edit code sample",onAction:Mt,onSetup:Ct(lt,ht=>{ht.setActive(R(lt))})}),lt.ui.registry.addMenuItem("codesample",{text:"Code sample...",icon:"code-sample",onAction:Mt,onSetup:Ct(lt)})};var Je=()=>{xo.add("codesample",lt=>{Ao(lt),Bo(lt),qe(lt),rt(lt),lt.on("dblclick",Mt=>{co(Mt.target)&&de(lt)})})};Je()})();(function(){var xo=tinymce.util.Tools.resolve("tinymce.PluginManager");const Ko=(ut,zt,Ft)=>{var vo;return Ft(ut,zt.prototype)?!0:((vo=ut.constructor)===null||vo===void 0?void 0:vo.name)===zt.name},Po=ut=>{const zt=typeof ut;return ut===null?"null":zt==="object"&&Array.isArray(ut)?"array":zt==="object"&&Ko(ut,String,(Ft,vo)=>vo.isPrototypeOf(Ft))?"string":zt},en=ut=>zt=>Po(zt)===ut,tn=ut=>zt=>typeof zt===ut,to=en("string"),Lo=tn("boolean"),jt=ut=>ut==null,Co=ut=>!jt(ut),Ro=tn("function"),jo=tn("number"),an=(ut,zt)=>Ft=>ut(zt(Ft)),Ue=(ut=>()=>ut)(!1);class it{constructor(zt,Ft){this.tag=zt,this.value=Ft}static some(zt){return new it(!0,zt)}static none(){return it.singletonNone}fold(zt,Ft){return this.tag?Ft(this.value):zt()}isSome(){return this.tag}isNone(){return!this.tag}map(zt){return this.tag?it.some(zt(this.value)):it.none()}bind(zt){return this.tag?zt(this.value):it.none()}exists(zt){return this.tag&&zt(this.value)}forall(zt){return!this.tag||zt(this.value)}filter(zt){return!this.tag||zt(this.value)?this:it.none()}getOr(zt){return this.tag?this.value:zt}or(zt){return this.tag?this:zt}getOrThunk(zt){return this.tag?this.value:zt()}orThunk(zt){return this.tag?this:zt()}getOrDie(zt){if(this.tag)return this.value;throw new Error(zt??"Called getOrDie on None")}static from(zt){return Co(zt)?it.some(zt):it.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(zt){this.tag&&zt(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}it.singletonNone=new it(!1);const So=(ut,zt)=>{const Ft=ut.length,vo=new Array(Ft);for(let Xt=0;Xt{for(let Ft=0,vo=ut.length;Ft{const Ft=[];for(let vo=0,Xt=ut.length;vo{const vo=(zt||document).createElement("div");if(vo.innerHTML=ut,!vo.hasChildNodes()||vo.childNodes.length>1){const Xt="HTML does not have a single root node";throw console.error(Xt,ut),new Error(Xt)}return $t(vo.childNodes[0])},rt=(ut,zt)=>{const vo=(zt||document).createElement(ut);return $t(vo)},Yo=(ut,zt)=>{const vo=(zt||document).createTextNode(ut);return $t(vo)},$t=ut=>{if(ut==null)throw new Error("Node cannot be null or undefined");return{dom:ut}},Bo={fromHtml:de,fromTag:rt,fromText:Yo,fromDom:$t,fromPoint:(ut,zt,Ft)=>it.from(ut.dom.elementFromPoint(zt,Ft)).map($t)},Ct=(ut,zt)=>{const Ft=ut.dom;if(Ft.nodeType!==me)return!1;{const vo=Ft;if(vo.matches!==void 0)return vo.matches(zt);if(vo.msMatchesSelector!==void 0)return vo.msMatchesSelector(zt);if(vo.webkitMatchesSelector!==void 0)return vo.webkitMatchesSelector(zt);if(vo.mozMatchesSelector!==void 0)return vo.mozMatchesSelector(zt);throw new Error("Browser lacks native selectors")}};typeof window<"u"||Function("return this;")();const R=ut=>ut.dom.nodeName.toLowerCase(),qe=ut=>ut.dom.nodeType,Je=ut=>zt=>qe(zt)===ut,lt=Je(me),Mt=Je(Ze),ht=Je(Dt),Rt=Je(fo),uo=ut=>zt=>lt(zt)&&R(zt)===ut,Bt=ut=>Bo.fromDom(ut.dom.ownerDocument),V=ut=>ht(ut)?ut:Bt(ut),dt=ut=>it.from(ut.dom.parentNode).map(Bo.fromDom),Ie=ut=>So(ut.dom.childNodes,Bo.fromDom),_o=(ut,zt,Ft)=>{if(to(Ft)||Lo(Ft)||jo(Ft))ut.setAttribute(zt,Ft+"");else throw console.error("Invalid call to Attribute.set. Key ",zt,":: Value ",Ft,":: Element ",ut),new Error("Attribute value was not simple")},Pt=(ut,zt,Ft)=>{_o(ut.dom,zt,Ft)},lo=(ut,zt)=>{ut.dom.removeAttribute(zt)},To=ut=>Rt(ut)&&Co(ut.dom.host),Se=Ro(Element.prototype.attachShadow)&&Ro(Node.prototype.getRootNode)?ut=>Bo.fromDom(ut.dom.getRootNode()):V,$e=ut=>{const zt=Se(ut);return To(zt)?it.some(zt):it.none()},ct=ut=>Bo.fromDom(ut.dom.host),gt=ut=>{const zt=Mt(ut)?ut.dom.parentNode:ut.dom;if(zt==null||zt.ownerDocument===null)return!1;const Ft=zt.ownerDocument;return $e(Bo.fromDom(zt)).fold(()=>Ft.body.contains(zt),an(gt,ct))},pe=(ut,zt,Ft)=>{let vo=ut.dom;const Xt=Ro(Ft)?Ft:Ue;for(;vo.parentNode;){vo=vo.parentNode;const Vo=Bo.fromDom(vo);if(zt(Vo))return it.some(Vo);if(Xt(Vo))break}return it.none()},Oe=(ut,zt,Ft)=>pe(ut,vo=>Ct(vo,zt),Ft),We=ut=>ut.style!==void 0&&Ro(ut.style.getPropertyValue),Fe=(ut,zt)=>{const Ft=ut.dom,Xt=window.getComputedStyle(Ft).getPropertyValue(zt);return Xt===""&&!gt(ut)?ge(Ft,zt):Xt},ge=(ut,zt)=>We(ut)?ut.style.getPropertyValue(zt):"",Me=ut=>Fe(ut,"direction")==="rtl"?"rtl":"ltr",at=(ut,zt)=>he(Ie(ut),zt),ze=(ut,zt)=>at(ut,Ft=>Ct(Ft,zt)),Ge=ut=>dt(ut).filter(lt),Gt=(ut,zt)=>(zt?Oe(ut,"ol,ul"):it.some(ut)).getOr(ut),Vt=uo("li"),Xo=(ut,zt,Ft)=>{co(zt,vo=>{const Xt=Bo.fromDom(vo),Vo=Vt(Xt),$n=Gt(Xt,Vo);Ge($n).each(Wt=>{if(ut.setStyle($n.dom,"direction",null),Me(Wt)===Ft?lo($n,"dir"):Pt($n,"dir",Ft),Me($n)!==Ft&&ut.setStyle($n.dom,"direction",Ft),Vo){const Fn=ze($n,"li[dir],li[style]");co(Fn,ln=>{lo(ln,"dir"),ut.setStyle(ln.dom,"direction",null)})}})})},$o=(ut,zt)=>{ut.selection.isEditable()&&(Xo(ut.dom,ut.selection.getSelectedBlocks(),zt),ut.nodeChanged())},Zo=ut=>{ut.addCommand("mceDirectionLTR",()=>{$o(ut,"ltr")}),ut.addCommand("mceDirectionRTL",()=>{$o(ut,"rtl")})},Gn=(ut,zt)=>Ft=>{const vo=Xt=>{const Vo=Bo.fromDom(Xt.element);Ft.setActive(Me(Vo)===zt),Ft.setEnabled(ut.selection.isEditable())};return ut.on("NodeChange",vo),Ft.setEnabled(ut.selection.isEditable()),()=>ut.off("NodeChange",vo)},Pn=ut=>{ut.ui.registry.addToggleButton("ltr",{tooltip:"Left to right",icon:"ltr",onAction:()=>ut.execCommand("mceDirectionLTR"),onSetup:Gn(ut,"ltr")}),ut.ui.registry.addToggleButton("rtl",{tooltip:"Right to left",icon:"rtl",onAction:()=>ut.execCommand("mceDirectionRTL"),onSetup:Gn(ut,"rtl")})};var zn=()=>{xo.add("directionality",ut=>{Zo(ut),Pn(ut)})};zn()})();(function(){const xo=ie=>{let ve=ie;return{get:()=>ve,set:yn=>{ve=yn}}};var Ko=tinymce.util.Tools.resolve("tinymce.PluginManager");const Po=ie=>({isFullscreen:()=>ie.get()!==null}),en=(ie,ve,yt)=>{var Lt;return yt(ie,ve.prototype)?!0:((Lt=ie.constructor)===null||Lt===void 0?void 0:Lt.name)===ve.name},tn=ie=>{const ve=typeof ie;return ie===null?"null":ve==="object"&&Array.isArray(ie)?"array":ve==="object"&&en(ie,String,(yt,Lt)=>Lt.isPrototypeOf(yt))?"string":ve},to=ie=>ve=>tn(ve)===ie,Lo=ie=>ve=>typeof ve===ie,jt=ie=>ve=>ie===ve,Co=to("string"),Ro=to("object"),jo=to("array"),an=jt(null),Ao=Lo("boolean"),Ue=jt(void 0),it=ie=>ie==null,So=ie=>!it(ie),co=Lo("function"),he=Lo("number"),Dt=()=>{},fo=(ie,ve)=>(...yt)=>ie(ve.apply(null,yt)),me=(ie,ve)=>yt=>ie(ve(yt)),Ze=ie=>()=>ie;function de(ie,...ve){return(...yt)=>{const Lt=ve.concat(yt);return ie.apply(null,Lt)}}const rt=Ze(!1),Yo=Ze(!0);class $t{constructor(ve,yt){this.tag=ve,this.value=yt}static some(ve){return new $t(!0,ve)}static none(){return $t.singletonNone}fold(ve,yt){return this.tag?yt(this.value):ve()}isSome(){return this.tag}isNone(){return!this.tag}map(ve){return this.tag?$t.some(ve(this.value)):$t.none()}bind(ve){return this.tag?ve(this.value):$t.none()}exists(ve){return this.tag&&ve(this.value)}forall(ve){return!this.tag||ve(this.value)}filter(ve){return!this.tag||ve(this.value)?this:$t.none()}getOr(ve){return this.tag?this.value:ve}or(ve){return this.tag?this:ve}getOrThunk(ve){return this.tag?this.value:ve()}orThunk(ve){return this.tag?this:ve()}getOrDie(ve){if(this.tag)return this.value;throw new Error(ve??"Called getOrDie on None")}static from(ve){return So(ve)?$t.some(ve):$t.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(ve){this.tag&&ve(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}$t.singletonNone=new $t(!1);const gn=Array.prototype.push,Bo=(ie,ve)=>{const yt=ie.length,Lt=new Array(yt);for(let yn=0;yn{for(let yt=0,Lt=ie.length;yt{const yt=[];for(let Lt=0,yn=ie.length;Lt{for(let Lt=0,yn=ie.length;Ltqe(ie,ve,rt),lt=ie=>{const ve=[];for(let yt=0,Lt=ie.length;ytlt(Bo(ie,ve)),ht=(ie,ve)=>ve>=0&&veht(ie,0),uo=(ie,ve)=>{for(let yt=0;ytie.isSome()&&ve.isSome()?$t.some(yt(ie.getOrDie(),ve.getOrDie())):$t.none(),V=ie=>{const ve=xo($t.none()),yt=()=>ve.get().each(ie);return{clear:()=>{yt(),ve.set($t.none())},isSet:()=>ve.get().isSome(),get:()=>ve.get(),set:ei=>{yt(),ve.set($t.some(ei))}}},dt=()=>V(ie=>ie.unbind()),Ie=()=>{const ie=V(Dt);return{...ie,on:yt=>ie.get().each(yt)}},_o=(ie,ve)=>{let yt=null;return{cancel:()=>{an(yt)||(clearTimeout(yt),yt=null)},throttle:(...ur)=>{an(yt)&&(yt=setTimeout(()=>{yt=null,ie.apply(null,ur)},ve))}}},Pt=Object.keys,lo=(ie,ve)=>{const yt=Pt(ie);for(let Lt=0,yn=yt.length;Lt{let yt=ve??To;for(let Lt=0;Lt{const yt=ie.split(".");return oo(yt,ve)},$e=(ie,ve)=>Se(ie,ve),ct=(ie,ve)=>{const yt=$e(ie,ve);if(yt==null)throw new Error(ie+" not available on this browser");return yt},gt=Object.getPrototypeOf,pe=ie=>ct("HTMLElement",ie),Oe=ie=>{const ve=Se("ownerDocument.defaultView",ie);return Ro(ie)&&(pe(ve).prototype.isPrototypeOf(ie)||/^HTML\w*Element$/.test(gt(ie).constructor.name))},We=9,Fe=11,ge=1,Me=3,at=ie=>ie.dom.nodeType,ze=ie=>ve=>at(ve)===ie,Ge=ie=>Gt(ie)&&Oe(ie.dom),Gt=ze(ge),Vt=ze(Me),Xo=ze(We),$o=ze(Fe),Zo=(ie,ve,yt)=>{if(Co(yt)||Ao(yt)||he(yt))ie.setAttribute(ve,yt+"");else throw console.error("Invalid call to Attribute.set. Key ",ve,":: Value ",yt,":: Element ",ie),new Error("Attribute value was not simple")},Gn=(ie,ve,yt)=>{Zo(ie.dom,ve,yt)},Pn=(ie,ve)=>{const yt=ie.dom.getAttribute(ve);return yt===null?void 0:yt},zn=(ie,ve)=>{ie.dom.removeAttribute(ve)},ut=ie=>ie.dom.classList!==void 0,zt=(ie,ve)=>ut(ie)&&ie.dom.classList.contains(ve),Ft=(ie,ve,yt=0,Lt)=>{const yn=ie.indexOf(ve,yt);return yn!==-1?Ue(Lt)?!0:yn+ve.length<=Lt:!1},vo=ie=>ie.style!==void 0&&co(ie.style.getPropertyValue),Xt=(ie,ve)=>{const Lt=(ve||document).createElement("div");if(Lt.innerHTML=ie,!Lt.hasChildNodes()||Lt.childNodes.length>1){const yn="HTML does not have a single root node";throw console.error(yn,ie),new Error(yn)}return Rr(Lt.childNodes[0])},Vo=(ie,ve)=>{const Lt=(ve||document).createElement(ie);return Rr(Lt)},$n=(ie,ve)=>{const Lt=(ve||document).createTextNode(ie);return Rr(Lt)},Rr=ie=>{if(ie==null)throw new Error("Node cannot be null or undefined");return{dom:ie}},vr={fromHtml:Xt,fromTag:Vo,fromText:$n,fromDom:Rr,fromPoint:(ie,ve,yt)=>$t.from(ie.dom.elementFromPoint(ve,yt)).map(Rr)},Fn=(ie,ve)=>{const yt=ie.dom;if(yt.nodeType!==ge)return!1;{const Lt=yt;if(Lt.matches!==void 0)return Lt.matches(ve);if(Lt.msMatchesSelector!==void 0)return Lt.msMatchesSelector(ve);if(Lt.webkitMatchesSelector!==void 0)return Lt.webkitMatchesSelector(ve);if(Lt.mozMatchesSelector!==void 0)return Lt.mozMatchesSelector(ve);throw new Error("Browser lacks native selectors")}},ln=ie=>ie.nodeType!==ge&&ie.nodeType!==We&&ie.nodeType!==Fe||ie.childElementCount===0,xr=(ie,ve)=>{const yt=ve===void 0?document:ve.dom;return ln(yt)?[]:Bo(yt.querySelectorAll(ie),vr.fromDom)},Ys=(ie,ve)=>ie.dom===ve.dom,Yr=ie=>vr.fromDom(ie.dom.ownerDocument),Pa=ie=>Xo(ie)?ie:Yr(ie),cs=ie=>$t.from(ie.dom.parentNode).map(vr.fromDom),Ha=(ie,ve)=>{const yt=co(ve)?ve:rt;let Lt=ie.dom;const yn=[];for(;Lt.parentNode!==null&&Lt.parentNode!==void 0;){const ur=Lt.parentNode,Ra=vr.fromDom(ur);if(yn.push(Ra),yt(Ra)===!0)break;Lt=ur}return yn},ja=ie=>{const ve=yt=>R(yt,Lt=>!Ys(ie,Lt));return cs(ie).map(Us).map(ve).getOr([])},$s=ie=>$t.from(ie.dom.nextSibling).map(vr.fromDom),Us=ie=>Bo(ie.dom.childNodes,vr.fromDom),_a=ie=>$o(ie)&&So(ie.dom.host),tt=co(Element.prototype.attachShadow)&&co(Node.prototype.getRootNode),_t=Ze(tt),Mo=tt?ie=>vr.fromDom(ie.dom.getRootNode()):Pa,St=ie=>{const ve=Mo(ie);return _a(ve)?$t.some(ve):$t.none()},zr=ie=>vr.fromDom(ie.dom.host),kr=ie=>{if(_t()&&So(ie.target)){const ve=vr.fromDom(ie.target);if(Gt(ve)&&Is(ve)&&ie.composed&&ie.composedPath){const yt=ie.composedPath();if(yt)return Rt(yt)}}return $t.from(ie.target)},Is=ie=>So(ie.dom.shadowRoot),Xr=ie=>{const ve=Vt(ie)?ie.dom.parentNode:ie.dom;if(ve==null||ve.ownerDocument===null)return!1;const yt=ve.ownerDocument;return St(vr.fromDom(ve)).fold(()=>yt.body.contains(ve),me(Xr,zr))},gr=ie=>{const ve=ie.dom.body;if(ve==null)throw new Error("Body is not available yet");return vr.fromDom(ve)},De=(ie,ve,yt)=>{if(!Co(yt))throw console.error("Invalid call to CSS.set. Property ",ve,":: Value ",yt,":: Element ",ie),new Error("CSS value must be a string: "+yt);vo(ie)&&ie.style.setProperty(ve,yt)},Ae=(ie,ve,yt)=>{const Lt=ie.dom;De(Lt,ve,yt)},wt=(ie,ve)=>{const yt=ie.dom;lo(ve,(Lt,yn)=>{De(yt,yn,Lt)})},It=(ie,ve)=>{const yt=ie.dom,yn=window.getComputedStyle(yt).getPropertyValue(ve);return yn===""&&!Xr(ie)?dn(yt,ve):yn},dn=(ie,ve)=>vo(ie)?ie.style.getPropertyValue(ve):"",on=(ie,ve,yt,Lt,yn,ur,Ra)=>({target:ie,x:ve,y:yt,stop:Lt,prevent:yn,kill:ur,raw:Ra}),sr=ie=>{const ve=vr.fromDom(kr(ie).getOr(ie.target)),yt=()=>ie.stopPropagation(),Lt=()=>ie.preventDefault(),yn=fo(Lt,yt);return on(ve,ie.clientX,ie.clientY,yt,Lt,yn,ie)},Vr=(ie,ve)=>yt=>{ie(yt)&&ve(sr(yt))},Br=(ie,ve,yt,Lt,yn)=>{const ur=Vr(yt,Lt);return ie.dom.addEventListener(ve,ur,yn),{unbind:de(Ce,ie,ve,ur,yn)}},Jo=(ie,ve,yt,Lt)=>Br(ie,ve,yt,Lt,!1),Ce=(ie,ve,yt,Lt)=>{ie.dom.removeEventListener(ve,yt,Lt)},Ne=Yo,Zt=(ie,ve,yt)=>Jo(ie,ve,Ne,yt),Io=ie=>{let ve=!1,yt;return(...Lt)=>(ve||(ve=!0,yt=ie.apply(null,Lt)),yt)},Ho=(ie,ve,yt,Lt)=>{const yn=ie.isiOS()&&/ipad/i.test(yt)===!0,ur=ie.isiOS()&&!yn,Ra=ie.isiOS()||ie.isAndroid(),ei=Ra||Lt("(pointer:coarse)"),ia=yn||!ur&&Ra&&Lt("(min-device-width:768px)"),pa=ur||Ra&&!ia,Ps=ve.isSafari()&&ie.isiOS()&&/safari/i.test(yt)===!1,ta=!pa&&!ia&&!Ps;return{isiPad:Ze(yn),isiPhone:Ze(ur),isTablet:Ze(ia),isPhone:Ze(pa),isTouch:Ze(ei),isAndroid:ie.isAndroid,isiOS:ie.isiOS,isWebView:Ze(Ps),isDesktop:Ze(ta)}},nn=(ie,ve)=>{for(let yt=0;yt{const yt=nn(ie,ve);if(!yt)return{major:0,minor:0};const Lt=yn=>Number(ve.replace(yt,"$"+yn));return Un(Lt(1),Lt(2))},hn=(ie,ve)=>{const yt=String(ve).toLowerCase();return ie.length===0?wn():Go(ie,yt)},wn=()=>Un(0,0),Un=(ie,ve)=>({major:ie,minor:ve}),Ar={nu:Un,detect:hn,unknown:wn},ra=(ie,ve)=>uo(ve.brands,yt=>{const Lt=yt.brand.toLowerCase();return Je(ie,yn=>{var ur;return Lt===((ur=yn.brand)===null||ur===void 0?void 0:ur.toLowerCase())}).map(yn=>({current:yn.name,version:Ar.nu(parseInt(yt.version,10),0)}))}),Xs=(ie,ve)=>{const yt=String(ve).toLowerCase();return Je(ie,Lt=>Lt.search(yt))},Zs=(ie,ve)=>Xs(ie,ve).map(yt=>{const Lt=Ar.detect(yt.versionRegexes,ve);return{current:yt.name,version:Lt}}),mi=(ie,ve)=>Xs(ie,ve).map(yt=>{const Lt=Ar.detect(yt.versionRegexes,ve);return{current:yt.name,version:Lt}}),Wr=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,rr=ie=>ve=>Ft(ve,ie),Sr=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:ie=>Ft(ie,"edge/")&&Ft(ie,"chrome")&&Ft(ie,"safari")&&Ft(ie,"applewebkit")},{name:"Chromium",brand:"Chromium",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,Wr],search:ie=>Ft(ie,"chrome")&&!Ft(ie,"chromeframe")},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:ie=>Ft(ie,"msie")||Ft(ie,"trident")},{name:"Opera",versionRegexes:[Wr,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:rr("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:rr("firefox")},{name:"Safari",versionRegexes:[Wr,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:ie=>(Ft(ie,"safari")||Ft(ie,"mobile/"))&&Ft(ie,"applewebkit")}],va=[{name:"Windows",search:rr("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:ie=>Ft(ie,"iphone")||Ft(ie,"ipad"),versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:rr("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"macOS",search:rr("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:rr("linux"),versionRegexes:[]},{name:"Solaris",search:rr("sunos"),versionRegexes:[]},{name:"FreeBSD",search:rr("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:rr("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}],Cs={browsers:Ze(Sr),oses:Ze(va)},za="Edge",ws="Chromium",As="IE",Aa="Opera",Kn="Firefox",Os="Safari",Ma=()=>Ca({current:void 0,version:Ar.unknown()}),Ca=ie=>{const ve=ie.current,yt=ie.version,Lt=yn=>()=>ve===yn;return{current:ve,version:yt,isEdge:Lt(za),isChromium:Lt(ws),isIE:Lt(As),isOpera:Lt(Aa),isFirefox:Lt(Kn),isSafari:Lt(Os)}},ds={unknown:Ma,nu:Ca,edge:Ze(za),chromium:Ze(ws),ie:Ze(As),opera:Ze(Aa),firefox:Ze(Kn),safari:Ze(Os)},xa="Windows",Rn="iOS",Hi="Android",Bn="Linux",ji="macOS",go="Solaris",aa="FreeBSD",Ss="ChromeOS",Ir=()=>gi({current:void 0,version:Ar.unknown()}),gi=ie=>{const ve=ie.current,yt=ie.version,Lt=yn=>()=>ve===yn;return{current:ve,version:yt,isWindows:Lt(xa),isiOS:Lt(Rn),isAndroid:Lt(Hi),isMacOS:Lt(ji),isLinux:Lt(Bn),isSolaris:Lt(go),isFreeBSD:Lt(aa),isChromeOS:Lt(Ss)}},sc={unknown:Ir,nu:gi,windows:Ze(xa),ios:Ze(Rn),android:Ze(Hi),linux:Ze(Bn),macos:Ze(ji),solaris:Ze(go),freebsd:Ze(aa),chromeos:Ze(Ss)},ne={detect:(ie,ve,yt)=>{const Lt=Cs.browsers(),yn=Cs.oses(),ur=ve.bind(ia=>ra(Lt,ia)).orThunk(()=>Zs(Lt,ie)).fold(ds.unknown,ds.nu),Ra=mi(yn,ie).fold(sc.unknown,sc.nu),ei=Ho(Ra,ur,ie,yt);return{browser:ur,os:Ra,deviceType:ei}}},Be=ie=>window.matchMedia(ie).matches;let Pe=Io(()=>ne.detect(navigator.userAgent,$t.from(navigator.userAgentData),Be));const Nt=()=>Pe(),ho=(ie,ve)=>({left:ie,top:ve,translate:(Lt,yn)=>ho(ie+Lt,ve+yn)}),bn=ho,kn=ie=>{const ve=ie!==void 0?ie.dom:document,yt=ve.body.scrollLeft||ve.documentElement.scrollLeft,Lt=ve.body.scrollTop||ve.documentElement.scrollTop;return bn(yt,Lt)},_r=ie=>{const ve=ie===void 0?window:ie;return Nt().browser.isFirefox()?$t.none():$t.from(ve.visualViewport)},Or=(ie,ve,yt,Lt)=>({x:ie,y:ve,width:yt,height:Lt,right:ie+yt,bottom:ve+Lt}),Sa=ie=>{const ve=ie===void 0?window:ie,yt=ve.document,Lt=kn(vr.fromDom(yt));return _r(ve).fold(()=>{const yn=ve.document.documentElement,ur=yn.clientWidth,Ra=yn.clientHeight;return Or(Lt.left,Lt.top,ur,Ra)},yn=>Or(Math.max(yn.pageLeft,Lt.left),Math.max(yn.pageTop,Lt.top),yn.width,yn.height))},ma=(ie,ve,yt)=>_r(yt).map(Lt=>{const yn=ur=>ve(sr(ur));return Lt.addEventListener(ie,yn),{unbind:()=>Lt.removeEventListener(ie,yn)}}).getOrThunk(()=>({unbind:Dt}));var Ga=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),Q=tinymce.util.Tools.resolve("tinymce.Env");const Ee=(ie,ve)=>{ie.dispatch("FullscreenStateChanged",{state:ve}),ie.dispatch("ResizeEditor")},bt=ie=>ve=>ve.options.get(ie),wo=ie=>{const ve=ie.options.register;ve("fullscreen_native",{processor:"boolean",default:!1})},Zn=bt("fullscreen_native"),U=ie=>{const ve=vr.fromDom(ie.getElement());return St(ve).map(zr).getOrThunk(()=>gr(Yr(ve)))},oe=ie=>ie.fullscreenElement!==void 0?ie.fullscreenElement:ie.msFullscreenElement!==void 0?ie.msFullscreenElement:ie.webkitFullscreenElement!==void 0?ie.webkitFullscreenElement:null,xe=()=>document.fullscreenElement!==void 0?"fullscreenchange":document.msFullscreenElement!==void 0?"MSFullscreenChange":document.webkitFullscreenElement!==void 0?"webkitfullscreenchange":"fullscreenchange",xt=ie=>{const ve=ie.dom;ve.requestFullscreen?ve.requestFullscreen():ve.msRequestFullscreen?ve.msRequestFullscreen():ve.webkitRequestFullScreen&&ve.webkitRequestFullScreen()},po=ie=>{const ve=ie.dom;ve.exitFullscreen?ve.exitFullscreen():ve.msExitFullscreen?ve.msExitFullscreen():ve.webkitCancelFullScreen&&ve.webkitCancelFullScreen()},Yn=ie=>ie.dom===oe(Yr(ie).dom),ga=(ie,ve,yt)=>R(Ha(ie,yt),ve),ks=(ie,ve)=>R(ja(ie),ve),_i=ie=>xr(ie),Js=(ie,ve,yt)=>ga(ie,Lt=>Fn(Lt,ve),yt),Vi=(ie,ve)=>ks(ie,yt=>Fn(yt,ve)),Qs="data-ephox-mobile-fullscreen-style",ic="display:none!important;",_s="position:absolute!important;",vc="top:0!important;left:0!important;margin:0!important;padding:0!important;width:100%!important;height:100%!important;overflow:visible!important;",je="background-color:rgb(255,255,255)!important;",Ll=Q.os.isAndroid(),pd=ie=>{const ve=It(ie,"background-color");return ve!==void 0&&ve!==""?"background-color:"+ve+"!important":je},Ci=(ie,ve,yt)=>{const Lt=pa=>Vi(pa,"*:not(.tox-silver-sink)"),yn=pa=>Ps=>{const ta=Pn(Ps,"style"),cc=ta===void 0?"no-styles":ta.trim();cc!==pa&&(Gn(Ps,Qs,cc),wt(Ps,ie.parseStyle(pa)))},ur=Js(ve,"*"),Ra=Mt(ur,Lt),ei=pd(yt);Ct(Ra,yn(ic)),Ct(ur,yn(_s+vc+ei)),yn((Ll===!0?"":_s)+vc+ei)(ve)},bp=ie=>{const ve=_i("["+Qs+"]");Ct(ve,yt=>{const Lt=Pn(yt,Qs);Lt&&Lt!=="no-styles"?wt(yt,ie.parseStyle(Lt)):zn(yt,"style"),zn(yt,Qs)})},sa=Ga.DOM,lc=()=>Sa(window),ag=ie=>window.scrollTo(ie.x,ie.y),Si=_r().fold(()=>({bind:Dt,unbind:Dt}),ie=>{const ve=Ie(),yt=dt(),Lt=dt(),yn=()=>{document.body.scrollTop=0,document.documentElement.scrollTop=0},ur=()=>{window.requestAnimationFrame(()=>{ve.on(pa=>wt(pa,{top:ie.offsetTop+"px",left:ie.offsetLeft+"px",height:ie.height+"px",width:ie.width+"px"}))})},Ra=_o(()=>{yn(),ur()},50);return{bind:pa=>{ve.set(pa),Ra.throttle(),yt.set(ma("resize",Ra.throttle)),Lt.set(ma("scroll",Ra.throttle))},unbind:()=>{ve.on(()=>{yt.clear(),Lt.clear()}),ve.clear()}}}),Gc=(ie,ve)=>{const yt=document.body,Lt=document.documentElement,yn=ie.getContainer(),ur=vr.fromDom(yn),Ra=$s(ur).filter(Es=>Ge(Es)&&zt(Es,"tox-silver-sink")),ei=U(ie),ia=ve.get(),pa=vr.fromDom(ie.getBody()),Ps=Q.deviceType.isTouch(),ta=yn.style,cc=ie.iframeElement,Xl=cc?.style,Ei=Es=>{Es(yt,"tox-fullscreen"),Es(Lt,"tox-fullscreen"),Es(yn,"tox-fullscreen"),St(ur).map(Ba=>zr(Ba).dom).each(Ba=>{Es(Ba,"tox-fullscreen"),Es(Ba,"tox-shadowhost")})},xc=()=>{Ps&&bp(ie.dom),Ei(sa.removeClass),Si.unbind(),$t.from(ve.get()).each(Es=>Es.fullscreenChangeHandler.unbind())};if(ia)ia.fullscreenChangeHandler.unbind(),Zn(ie)&&Yn(ei)&&po(Yr(ei)),Xl.width=ia.iframeWidth,Xl.height=ia.iframeHeight,ta.width=ia.containerWidth,ta.height=ia.containerHeight,ta.top=ia.containerTop,ta.left=ia.containerLeft,Bt(Ra,ia.sinkCssPosition,(Es,Ba)=>{Ae(Es,"position",Ba)}),xc(),ag(ia.scrollPos),ve.set(null),Ee(ie,!1),ie.off("remove",xc);else{const Es=Zt(Yr(ei),xe(),Fa=>{Zn(ie)&&!Yn(ei)&&ve.get()!==null&&Gc(ie,ve)}),Ba={scrollPos:lc(),containerWidth:ta.width,containerHeight:ta.height,containerTop:ta.top,containerLeft:ta.left,iframeWidth:Xl.width,iframeHeight:Xl.height,fullscreenChangeHandler:Es,sinkCssPosition:Ra.map(Fa=>It(Fa,"position"))};Ps&&Ci(ie.dom,ur,pa),Xl.width=Xl.height="100%",ta.width=ta.height="",Ei(sa.addClass),Ra.each(Fa=>{Ae(Fa,"position","fixed")}),Si.bind(ur),ie.on("remove",xc),ve.set(Ba),Zn(ie)&&xt(ei),Ee(ie,!0)}},Gi=(ie,ve)=>{ie.addCommand("mceFullScreen",()=>{Gc(ie,ve)})},Il=(ie,ve)=>yt=>{yt.setActive(ve.get()!==null);const Lt=yn=>yt.setActive(yn.state);return ie.on("FullscreenStateChanged",Lt),()=>ie.off("FullscreenStateChanged",Lt)},Yl=(ie,ve)=>{const yt=()=>ie.execCommand("mceFullScreen");ie.ui.registry.addToggleMenuItem("fullscreen",{text:"Fullscreen",icon:"fullscreen",shortcut:"Meta+Shift+F",onAction:yt,onSetup:Il(ie,ve)}),ie.ui.registry.addToggleButton("fullscreen",{tooltip:"Fullscreen",icon:"fullscreen",onAction:yt,onSetup:Il(ie,ve)})};var Ki=()=>{Ko.add("fullscreen",ie=>{const ve=xo(null);return ie.inline||(wo(ie),Gi(ie,ve),Yl(ie,ve),ie.addShortcut("Meta+Shift+F","","mceFullScreen")),Po(ve)})};Ki()})();(function(){const xo=ze=>{let Ge=ze;return{get:()=>Ge,set:Xo=>{Ge=Xo}}};var Ko=tinymce.util.Tools.resolve("tinymce.PluginManager");let Po=0;const en=ze=>{const Gt=new Date().getTime(),Vt=Math.floor(Math.random()*1e9);return Po++,ze+"_"+Vt+Po+String(Gt)},tn=ze=>({addTab:Gt=>{var Vt;const Xo=(Vt=Gt.name)!==null&&Vt!==void 0?Vt:en("tab-name"),$o=ze.get();$o[Xo]=Gt,ze.set($o)}}),to=(ze,Ge)=>{ze.addCommand("mceHelp",Ge)},Lo=ze=>Ge=>Ge.options.get(ze),jt=ze=>{const Ge=ze.options.register;Ge("help_tabs",{processor:"array"})},Co=Lo("help_tabs"),Ro=Lo("forced_plugins"),jo=(ze,Ge)=>{ze.ui.registry.addButton("help",{icon:"help",tooltip:"Help",onAction:Ge}),ze.ui.registry.addMenuItem("help",{text:"Help",icon:"help",shortcut:"Alt+0",onAction:Ge})},an=(ze,Ge,Gt)=>{var Vt;return Gt(ze,Ge.prototype)?!0:((Vt=ze.constructor)===null||Vt===void 0?void 0:Vt.name)===Ge.name},Ao=ze=>{const Ge=typeof ze;return ze===null?"null":Ge==="object"&&Array.isArray(ze)?"array":Ge==="object"&&an(ze,String,(Gt,Vt)=>Vt.isPrototypeOf(Gt))?"string":Ge},Ue=ze=>Ge=>Ao(Ge)===ze,it=ze=>Ge=>typeof Ge===ze,So=ze=>Ge=>ze===Ge,co=Ue("string"),he=So(void 0),Dt=ze=>ze==null,fo=ze=>!Dt(ze),me=it("function"),de=(ze=>()=>ze)(!1);class rt{constructor(Ge,Gt){this.tag=Ge,this.value=Gt}static some(Ge){return new rt(!0,Ge)}static none(){return rt.singletonNone}fold(Ge,Gt){return this.tag?Gt(this.value):Ge()}isSome(){return this.tag}isNone(){return!this.tag}map(Ge){return this.tag?rt.some(Ge(this.value)):rt.none()}bind(Ge){return this.tag?Ge(this.value):rt.none()}exists(Ge){return this.tag&&Ge(this.value)}forall(Ge){return!this.tag||Ge(this.value)}filter(Ge){return!this.tag||Ge(this.value)?this:rt.none()}getOr(Ge){return this.tag?this.value:Ge}or(Ge){return this.tag?this:Ge}getOrThunk(Ge){return this.tag?this.value:Ge()}orThunk(Ge){return this.tag?this:Ge()}getOrDie(Ge){if(this.tag)return this.value;throw new Error(Ge??"Called getOrDie on None")}static from(Ge){return fo(Ge)?rt.some(Ge):rt.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(Ge){this.tag&&Ge(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}rt.singletonNone=new rt(!1);const Yo=Array.prototype.slice,$t=Array.prototype.indexOf,gn=(ze,Ge)=>$t.call(ze,Ge),Bo=(ze,Ge)=>gn(ze,Ge)>-1,Ct=(ze,Ge)=>{const Gt=ze.length,Vt=new Array(Gt);for(let Xo=0;Xo{const Gt=[];for(let Vt=0,Xo=ze.length;Vt{for(let Vt=0,Xo=ze.length;Vtqe(ze,Ge,de),lt=(ze,Ge)=>{const Gt=Yo.call(ze,0);return Gt.sort(Ge),Gt},Mt=Object.keys,ht=Object.hasOwnProperty,Rt=(ze,Ge)=>uo(ze,Ge)?rt.from(ze[Ge]):rt.none(),uo=(ze,Ge)=>ht.call(ze,Ge),Bt=ze=>{const Ge=[],Gt=Vt=>{Ge.push(Vt)};for(let Vt=0;VtV.load(`tinymce.html-i18n.help-keynav.${Ge}`,`${ze}/js/i18n/keynav/${Ge}.js`),_o=ze=>Ie(ze,dt.getCode()).catch(()=>Ie(ze,"en")),Pt=(ze,Ge)=>{ze.on("init",()=>{_o(Ge)})},lo=async ze=>({name:"keyboardnav",title:"Keyboard Navigation",items:[{type:"htmlpanel",presets:"document",html:await _o(ze)}]});var To=tinymce.util.Tools.resolve("tinymce.Env");const oo=ze=>{const Ge=To.os.isMacOS()||To.os.isiOS(),Xo=Ge?{alt:"⌥",ctrl:"⌃",shift:"⇧",meta:"⌘",access:"⌃⌥"}:{meta:"Ctrl ",access:"Shift + Alt "},$o=ze.split("+"),Zo=Ct($o,Gn=>{const Pn=Gn.toLowerCase().trim();return uo(Xo,Pn)?Xo[Pn]:Gn});return Ge?Zo.join("").replace(/\s/,""):Zo.join("+")},Se=[{shortcuts:["Meta + B"],action:"Bold"},{shortcuts:["Meta + I"],action:"Italic"},{shortcuts:["Meta + U"],action:"Underline"},{shortcuts:["Meta + A"],action:"Select all"},{shortcuts:["Meta + Y","Meta + Shift + Z"],action:"Redo"},{shortcuts:["Meta + Z"],action:"Undo"},{shortcuts:["Access + 1"],action:"Heading 1"},{shortcuts:["Access + 2"],action:"Heading 2"},{shortcuts:["Access + 3"],action:"Heading 3"},{shortcuts:["Access + 4"],action:"Heading 4"},{shortcuts:["Access + 5"],action:"Heading 5"},{shortcuts:["Access + 6"],action:"Heading 6"},{shortcuts:["Access + 7"],action:"Paragraph"},{shortcuts:["Access + 8"],action:"Div"},{shortcuts:["Access + 9"],action:"Address"},{shortcuts:["Alt + 0"],action:"Open help dialog"},{shortcuts:["Alt + F9"],action:"Focus to menubar"},{shortcuts:["Alt + F10"],action:"Focus to toolbar"},{shortcuts:["Alt + F11"],action:"Focus to element path"},{shortcuts:["Ctrl + F9"],action:"Focus to contextual toolbar"},{shortcuts:["Shift + Enter"],action:"Open popup menu for split buttons"},{shortcuts:["Meta + K"],action:"Insert link (if link plugin activated)"},{shortcuts:["Meta + S"],action:"Save (if save plugin activated)"},{shortcuts:["Meta + F"],action:"Find (if searchreplace plugin activated)"},{shortcuts:["Meta + Shift + F"],action:"Switch to or from fullscreen mode"}],$e=()=>{const ze=Ct(Se,Gt=>{const Vt=Ct(Gt.shortcuts,oo).join(" or ");return[Gt.action,Vt]});return{name:"shortcuts",title:"Handy Shortcuts",items:[{type:"table",header:["Action","Shortcut"],cells:ze}]}},ct=Ct([{key:"accordion",name:"Accordion"},{key:"advlist",name:"Advanced List"},{key:"anchor",name:"Anchor"},{key:"autolink",name:"Autolink"},{key:"autoresize",name:"Autoresize"},{key:"autosave",name:"Autosave"},{key:"charmap",name:"Character Map"},{key:"code",name:"Code"},{key:"codesample",name:"Code Sample"},{key:"colorpicker",name:"Color Picker"},{key:"directionality",name:"Directionality"},{key:"emoticons",name:"Emoticons"},{key:"fullscreen",name:"Full Screen"},{key:"help",name:"Help"},{key:"image",name:"Image"},{key:"importcss",name:"Import CSS"},{key:"insertdatetime",name:"Insert Date/Time"},{key:"link",name:"Link"},{key:"lists",name:"Lists"},{key:"media",name:"Media"},{key:"nonbreaking",name:"Nonbreaking"},{key:"pagebreak",name:"Page Break"},{key:"preview",name:"Preview"},{key:"quickbars",name:"Quick Toolbars"},{key:"save",name:"Save"},{key:"searchreplace",name:"Search and Replace"},{key:"table",name:"Table"},{key:"template",name:"Template"},{key:"textcolor",name:"Text Color"},{key:"visualblocks",name:"Visual Blocks"},{key:"visualchars",name:"Visual Characters"},{key:"wordcount",name:"Word Count"},{key:"a11ychecker",name:"Accessibility Checker",type:"premium"},{key:"advcode",name:"Advanced Code Editor",type:"premium"},{key:"advtable",name:"Advanced Tables",type:"premium"},{key:"advtemplate",name:"Advanced Templates",type:"premium",slug:"advanced-templates"},{key:"ai",name:"AI Assistant",type:"premium"},{key:"casechange",name:"Case Change",type:"premium"},{key:"checklist",name:"Checklist",type:"premium"},{key:"editimage",name:"Enhanced Image Editing",type:"premium"},{key:"footnotes",name:"Footnotes",type:"premium"},{key:"typography",name:"Advanced Typography",type:"premium",slug:"advanced-typography"},{key:"mediaembed",name:"Enhanced Media Embed",type:"premium",slug:"introduction-to-mediaembed"},{key:"export",name:"Export",type:"premium"},{key:"formatpainter",name:"Format Painter",type:"premium"},{key:"inlinecss",name:"Inline CSS",type:"premium",slug:"inline-css"},{key:"linkchecker",name:"Link Checker",type:"premium"},{key:"mentions",name:"Mentions",type:"premium"},{key:"mergetags",name:"Merge Tags",type:"premium"},{key:"pageembed",name:"Page Embed",type:"premium"},{key:"permanentpen",name:"Permanent Pen",type:"premium"},{key:"powerpaste",name:"PowerPaste",type:"premium",slug:"introduction-to-powerpaste"},{key:"rtc",name:"Real-Time Collaboration",type:"premium",slug:"rtc-introduction"},{key:"tinymcespellchecker",name:"Spell Checker Pro",type:"premium",slug:"introduction-to-tiny-spellchecker"},{key:"autocorrect",name:"Spelling Autocorrect",type:"premium"},{key:"tableofcontents",name:"Table of Contents",type:"premium"},{key:"tinycomments",name:"Tiny Comments",type:"premium",slug:"introduction-to-tiny-comments"},{key:"tinydrive",name:"Tiny Drive",type:"premium",slug:"tinydrive-introduction"}],ze=>({...ze,type:ze.type||"opensource",slug:ze.slug||ze.key})),gt=ze=>{const Ge=()=>{const zn=R(ct,({type:Ft})=>Ft==="premium"),ut=lt(Ct(zn,Ft=>Ft.name),(Ft,vo)=>Ft.localeCompare(vo)),zt=Ct(ut,Ft=>`
  • ${Ft}
  • `).join("");return"

    "+dt.translate("Premium plugins:")+"

    "},Gt=zn=>`${zn.name}`,Vt=(zn,ut)=>{const zt=zn.plugins[ut].getMetadata;if(me(zt)){const Ft=zt();return{name:Ft.name,html:Gt(Ft)}}else return{name:ut,html:ut}},Xo=(zn,ut)=>Je(ct,zt=>zt.key===ut).fold(()=>Vt(zn,ut),zt=>{const Ft=zt.type==="premium"?`${zt.name}*`:zt.name,vo=Gt({name:Ft,url:`https://www.tiny.cloud/docs/tinymce/6/${zt.slug}/`});return{name:Ft,html:vo}}),$o=zn=>{const ut=Mt(zn.plugins),zt=Ro(zn);return he(zt)?ut:R(ut,Ft=>!Bo(zt,Ft))},Zo=zn=>{const ut=$o(zn),zt=lt(Ct(ut,$n=>Xo(zn,$n)),($n,Rr)=>$n.name.localeCompare(Rr.name)),Ft=Ct(zt,$n=>"
  • "+$n.html+"
  • "),vo=Ft.length,Xt=Ft.join("");return"

    "+dt.translate(["Plugins installed ({0}):",vo])+"

      "+Xt+"
    "};return{name:"plugins",title:"Plugins",items:[{type:"htmlpanel",presets:"document",html:[(zn=>zn==null?"":"
    "+Zo(zn)+"
    ")(ze),Ge()].join("")}]}};var pe=tinymce.util.Tools.resolve("tinymce.EditorManager");const Oe=()=>{const Gt='TinyMCE '+((Xo,$o)=>Xo.indexOf("@")===0?"X.X.X":Xo+"."+$o)(pe.majorVersion,pe.minorVersion)+"";return{name:"versions",title:"Version",items:[{type:"htmlpanel",html:"

    "+dt.translate(["You are using {0}",Gt])+"

    ",presets:"document"}]}},We=(ze,Ge)=>{const Gt={},Vt=Ct(ze,Xo=>{var $o;if(co(Xo))return uo(Ge,Xo)&&(Gt[Xo]=Ge[Xo]),Xo;{const Zo=($o=Xo.name)!==null&&$o!==void 0?$o:en("tab-name");return Gt[Zo]=Xo,Zo}});return{tabs:Gt,names:Vt}},Fe=ze=>{const Ge=Mt(ze),Gt=Ge.indexOf("versions");return Gt!==-1&&(Ge.splice(Gt,1),Ge.push("versions")),{tabs:ze,names:Ge}},ge=async(ze,Ge,Gt)=>{const Vt=$e(),Xo=await lo(Gt),$o=gt(ze),Zo=Oe(),Gn={[Vt.name]:Vt,[Xo.name]:Xo,[$o.name]:$o,[Zo.name]:Zo,...Ge.get()};return rt.from(Co(ze)).fold(()=>Fe(Gn),Pn=>We(Pn,Gn))},Me=(ze,Ge,Gt)=>()=>{ge(ze,Ge,Gt).then(({tabs:Vt,names:Xo})=>{const $o=Ct(Xo,Pn=>Rt(Vt,Pn)),Gn={type:"tabpanel",tabs:Bt($o)};ze.windowManager.open({title:"Help",size:"medium",body:Gn,buttons:[{type:"cancel",name:"close",text:"Close",primary:!0}],initialData:{}})})};var at=()=>{Ko.add("help",(ze,Ge)=>{const Gt=xo({}),Vt=tn(Gt);jt(ze);const Xo=Me(ze,Gt,Ge);return jo(ze,Xo),to(ze,Xo),ze.shortcuts.add("Alt+0","Open help dialog","mceHelp"),Pt(ze,Ge),Vt})};at()})();(function(){var xo=tinymce.util.Tools.resolve("tinymce.PluginManager");const Ko=Object.getPrototypeOf,Po=(U,oe,xe)=>{var xt;return xe(U,oe.prototype)?!0:((xt=U.constructor)===null||xt===void 0?void 0:xt.name)===oe.name},en=U=>{const oe=typeof U;return U===null?"null":oe==="object"&&Array.isArray(U)?"array":oe==="object"&&Po(U,String,(xe,xt)=>xt.isPrototypeOf(xe))?"string":oe},tn=U=>oe=>en(oe)===U,to=U=>oe=>typeof oe===U,Lo=U=>oe=>U===oe,jt=(U,oe)=>Ro(U)&&Po(U,oe,(xe,xt)=>Ko(xe)===xt),Co=tn("string"),Ro=tn("object"),jo=U=>jt(U,Object),an=tn("array"),Ao=Lo(null),Ue=to("boolean"),it=U=>U==null,So=U=>!it(U),co=to("function"),he=to("number"),Dt=(U,oe)=>{if(an(U)){for(let xe=0,xt=U.length;xe{};class me{constructor(oe,xe){this.tag=oe,this.value=xe}static some(oe){return new me(!0,oe)}static none(){return me.singletonNone}fold(oe,xe){return this.tag?xe(this.value):oe()}isSome(){return this.tag}isNone(){return!this.tag}map(oe){return this.tag?me.some(oe(this.value)):me.none()}bind(oe){return this.tag?oe(this.value):me.none()}exists(oe){return this.tag&&oe(this.value)}forall(oe){return!this.tag||oe(this.value)}filter(oe){return!this.tag||oe(this.value)?this:me.none()}getOr(oe){return this.tag?this.value:oe}or(oe){return this.tag?this:oe}getOrThunk(oe){return this.tag?this.value:oe()}orThunk(oe){return this.tag?this:oe()}getOrDie(oe){if(this.tag)return this.value;throw new Error(oe??"Called getOrDie on None")}static from(oe){return So(oe)?me.some(oe):me.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(oe){this.tag&&oe(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}me.singletonNone=new me(!1);const Ze=Object.keys,de=Object.hasOwnProperty,rt=(U,oe)=>{const xe=Ze(U);for(let xt=0,po=xe.length;xt(oe,xe)=>{U[xe]=oe},$t=(U,oe,xe,xt)=>{rt(U,(po,Yn)=>{(oe(po,Yn)?xe:xt)(po,Yn)})},gn=(U,oe)=>{const xe={};return $t(U,oe,Yo(xe),fo),xe},Bo=(U,oe)=>de.call(U,oe),Ct=(U,oe)=>Bo(U,oe)&&U[oe]!==void 0&&U[oe]!==null,R=Array.prototype.push,qe=U=>{const oe=[];for(let xe=0,xt=U.length;xeoe>=0&&oeJe(U,0),Mt=(U,oe)=>{for(let xe=0;xe{if(Co(xe)||Ue(xe)||he(xe))U.setAttribute(oe,xe+"");else throw console.error("Invalid call to Attribute.set. Key ",oe,":: Value ",xe,":: Element ",U),new Error("Attribute value was not simple")},Rt=(U,oe,xe)=>{ht(U.dom,oe,xe)},uo=(U,oe)=>{U.dom.removeAttribute(oe)},Bt=(U,oe)=>{const xt=(oe||document).createElement("div");if(xt.innerHTML=U,!xt.hasChildNodes()||xt.childNodes.length>1){const po="HTML does not have a single root node";throw console.error(po,U),new Error(po)}return Ie(xt.childNodes[0])},V=(U,oe)=>{const xt=(oe||document).createElement(U);return Ie(xt)},dt=(U,oe)=>{const xt=(oe||document).createTextNode(U);return Ie(xt)},Ie=U=>{if(U==null)throw new Error("Node cannot be null or undefined");return{dom:U}},Pt={fromHtml:Bt,fromTag:V,fromText:dt,fromDom:Ie,fromPoint:(U,oe,xe)=>me.from(U.dom.elementFromPoint(oe,xe)).map(Ie)};var lo=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),To=tinymce.util.Tools.resolve("tinymce.util.URI");const oo=U=>U.length>0,Se=U=>oe=>oe.options.get(U),$e=U=>{const oe=U.options.register;oe("image_dimensions",{processor:"boolean",default:!0}),oe("image_advtab",{processor:"boolean",default:!1}),oe("image_uploadtab",{processor:"boolean",default:!0}),oe("image_prepend_url",{processor:"string",default:""}),oe("image_class_list",{processor:"object[]"}),oe("image_description",{processor:"boolean",default:!0}),oe("image_title",{processor:"boolean",default:!1}),oe("image_caption",{processor:"boolean",default:!1}),oe("image_list",{processor:xe=>{const xt=xe===!1||Co(xe)||Dt(xe,Ro)||co(xe);return xt?{value:xe,valid:xt}:{valid:!1,message:"Must be false, a string, an array or a function."}},default:!1})},ct=Se("image_dimensions"),gt=Se("image_advtab"),pe=Se("image_uploadtab"),Oe=Se("image_prepend_url"),We=Se("image_class_list"),Fe=Se("image_description"),ge=Se("image_title"),Me=Se("image_caption"),at=Se("image_list"),ze=Se("a11y_advanced_options"),Ge=Se("automatic_uploads"),Gt=U=>oo(U.options.get("images_upload_url")),Vt=U=>So(U.options.get("images_upload_handler")),Xo=(U,oe)=>Math.max(parseInt(U,10),parseInt(oe,10)),$o=U=>new Promise(oe=>{const xe=document.createElement("img"),xt=Yn=>{xe.onload=xe.onerror=null,xe.parentNode&&xe.parentNode.removeChild(xe),oe(Yn)};xe.onload=()=>{const Yn=Xo(xe.width,xe.clientWidth),ga=Xo(xe.height,xe.clientHeight),ks={width:Yn,height:ga};xt(Promise.resolve(ks))},xe.onerror=()=>{xt(Promise.reject(`Failed to get image dimensions for: ${U}`))};const po=xe.style;po.visibility="hidden",po.position="fixed",po.bottom=po.left="0px",po.width=po.height="auto",document.body.appendChild(xe),xe.src=U}),Zo=U=>(U&&(U=U.replace(/px$/,"")),U),Gn=U=>(U.length>0&&/^[0-9]+$/.test(U)&&(U+="px"),U),Pn=U=>{if(U.margin){const oe=String(U.margin).split(" ");switch(oe.length){case 1:U["margin-top"]=U["margin-top"]||oe[0],U["margin-right"]=U["margin-right"]||oe[0],U["margin-bottom"]=U["margin-bottom"]||oe[0],U["margin-left"]=U["margin-left"]||oe[0];break;case 2:U["margin-top"]=U["margin-top"]||oe[0],U["margin-right"]=U["margin-right"]||oe[1],U["margin-bottom"]=U["margin-bottom"]||oe[0],U["margin-left"]=U["margin-left"]||oe[1];break;case 3:U["margin-top"]=U["margin-top"]||oe[0],U["margin-right"]=U["margin-right"]||oe[1],U["margin-bottom"]=U["margin-bottom"]||oe[2],U["margin-left"]=U["margin-left"]||oe[1];break;case 4:U["margin-top"]=U["margin-top"]||oe[0],U["margin-right"]=U["margin-right"]||oe[1],U["margin-bottom"]=U["margin-bottom"]||oe[2],U["margin-left"]=U["margin-left"]||oe[3]}delete U.margin}return U},zn=(U,oe)=>{const xe=at(U);Co(xe)?fetch(xe).then(xt=>{xt.ok&&xt.json().then(oe)}):co(xe)?xe(oe):oe(xe)},ut=(U,oe,xe)=>{const xt=()=>{xe.onload=xe.onerror=null,U.selection&&(U.selection.select(xe),U.nodeChanged())};xe.onload=()=>{!oe.width&&!oe.height&&ct(U)&&U.dom.setAttribs(xe,{width:String(xe.clientWidth),height:String(xe.clientHeight)}),xt()},xe.onerror=xt},zt=U=>new Promise((oe,xe)=>{const xt=new FileReader;xt.onload=()=>{oe(xt.result)},xt.onerror=()=>{var po;xe((po=xt.error)===null||po===void 0?void 0:po.message)},xt.readAsDataURL(U)}),Ft=U=>U.nodeName==="IMG"&&(U.hasAttribute("data-mce-object")||U.hasAttribute("data-mce-placeholder")),vo=(U,oe)=>{const xe=U.options.get;return To.isDomSafe(oe,"img",{allow_html_data_urls:xe("allow_html_data_urls"),allow_script_urls:xe("allow_script_urls"),allow_svg_data_urls:xe("allow_svg_data_urls")})},Xt=lo.DOM,Vo=U=>U.style.marginLeft&&U.style.marginRight&&U.style.marginLeft===U.style.marginRight?Zo(U.style.marginLeft):"",$n=U=>U.style.marginTop&&U.style.marginBottom&&U.style.marginTop===U.style.marginBottom?Zo(U.style.marginTop):"",Rr=U=>U.style.borderWidth?Zo(U.style.borderWidth):"",Wt=(U,oe)=>{var xe;return U.hasAttribute(oe)&&(xe=U.getAttribute(oe))!==null&&xe!==void 0?xe:""},vr=U=>U.parentNode!==null&&U.parentNode.nodeName==="FIGURE",Fn=(U,oe,xe)=>{xe===""||xe===null?U.removeAttribute(oe):U.setAttribute(oe,xe)},ln=U=>{const oe=Xt.create("figure",{class:"image"});Xt.insertAfter(oe,U),oe.appendChild(U),oe.appendChild(Xt.create("figcaption",{contentEditable:"true"},"Caption")),oe.contentEditable="false"},xr=U=>{const oe=U.parentNode;So(oe)&&(Xt.insertAfter(U,oe),Xt.remove(oe))},Ys=U=>{vr(U)?xr(U):ln(U)},Yr=(U,oe)=>{const xe=U.getAttribute("style"),xt=oe(xe!==null?xe:"");xt.length>0?(U.setAttribute("style",xt),U.setAttribute("data-mce-style",xt)):U.removeAttribute("style")},Pa=(U,oe)=>(xe,xt,po)=>{const Yn=xe.style;Yn[xt]?(Yn[xt]=Gn(po),Yr(xe,oe)):Fn(xe,xt,po)},cs=(U,oe)=>U.style[oe]?Zo(U.style[oe]):Wt(U,oe),Ha=(U,oe)=>{const xe=Gn(oe);U.style.marginLeft=xe,U.style.marginRight=xe},ja=(U,oe)=>{const xe=Gn(oe);U.style.marginTop=xe,U.style.marginBottom=xe},$s=(U,oe)=>{const xe=Gn(oe);U.style.borderWidth=xe},Us=(U,oe)=>{U.style.borderStyle=oe},_a=U=>{var oe;return(oe=U.style.borderStyle)!==null&&oe!==void 0?oe:""},tt=U=>So(U)&&U.nodeName==="FIGURE",_t=U=>U.nodeName==="IMG",Mo=U=>Xt.getAttrib(U,"alt").length===0&&Xt.getAttrib(U,"role")==="presentation",St=U=>Mo(U)?"":Wt(U,"alt"),zr=()=>({src:"",alt:"",title:"",width:"",height:"",class:"",style:"",caption:!1,hspace:"",vspace:"",border:"",borderStyle:"",isDecorative:!1}),kr=(U,oe)=>{var xe;const xt=document.createElement("img");return Fn(xt,"style",oe.style),(Vo(xt)||oe.hspace!=="")&&Ha(xt,oe.hspace),($n(xt)||oe.vspace!=="")&&ja(xt,oe.vspace),(Rr(xt)||oe.border!=="")&&$s(xt,oe.border),(_a(xt)||oe.borderStyle!=="")&&Us(xt,oe.borderStyle),U((xe=xt.getAttribute("style"))!==null&&xe!==void 0?xe:"")},Is=(U,oe)=>{const xe=document.createElement("img");if(It(U,{...oe,caption:!1},xe),De(xe,oe.alt,oe.isDecorative),oe.caption){const xt=Xt.create("figure",{class:"image"});return xt.appendChild(xe),xt.appendChild(Xt.create("figcaption",{contentEditable:"true"},"Caption")),xt.contentEditable="false",xt}else return xe},Xr=(U,oe)=>({src:Wt(oe,"src"),alt:St(oe),title:Wt(oe,"title"),width:cs(oe,"width"),height:cs(oe,"height"),class:Wt(oe,"class"),style:U(Wt(oe,"style")),caption:vr(oe),hspace:Vo(oe),vspace:$n(oe),border:Rr(oe),borderStyle:_a(oe),isDecorative:Mo(oe)}),gr=(U,oe,xe,xt,po)=>{xe[xt]!==oe[xt]&&po(U,xt,String(xe[xt]))},De=(U,oe,xe)=>{if(xe){Xt.setAttrib(U,"role","presentation");const xt=Pt.fromDom(U);Rt(xt,"alt","")}else{if(Ao(oe)){const xt=Pt.fromDom(U);uo(xt,"alt")}else{const xt=Pt.fromDom(U);Rt(xt,"alt",oe)}Xt.getAttrib(U,"role")==="presentation"&&Xt.setAttrib(U,"role","")}},Ae=(U,oe,xe)=>{(xe.alt!==oe.alt||xe.isDecorative!==oe.isDecorative)&&De(U,xe.alt,xe.isDecorative)},wt=(U,oe)=>(xe,xt,po)=>{U(xe,po),Yr(xe,oe)},It=(U,oe,xe)=>{const xt=Xr(U,xe);gr(xe,xt,oe,"caption",(po,Yn,ga)=>Ys(po)),gr(xe,xt,oe,"src",Fn),gr(xe,xt,oe,"title",Fn),gr(xe,xt,oe,"width",Pa("width",U)),gr(xe,xt,oe,"height",Pa("height",U)),gr(xe,xt,oe,"class",Fn),gr(xe,xt,oe,"style",wt((po,Yn)=>Fn(po,"style",Yn),U)),gr(xe,xt,oe,"hspace",wt(Ha,U)),gr(xe,xt,oe,"vspace",wt(ja,U)),gr(xe,xt,oe,"border",wt($s,U)),gr(xe,xt,oe,"borderStyle",wt(Us,U)),Ae(xe,xt,oe)},dn=(U,oe)=>{const xe=U.dom.styles.parse(oe),xt=Pn(xe),po=U.dom.styles.parse(U.dom.styles.serialize(xt));return U.dom.styles.serialize(po)},on=U=>{const oe=U.selection.getNode(),xe=U.dom.getParent(oe,"figure.image");return xe?U.dom.select("img",xe)[0]:oe&&(oe.nodeName!=="IMG"||Ft(oe))?null:oe},sr=(U,oe)=>{var xe;const xt=U.dom,po=gn(U.schema.getTextBlockElements(),(ga,ks)=>!U.schema.isValidChild(ks,"figure")),Yn=xt.getParent(oe.parentNode,ga=>Ct(po,ga.nodeName),U.getBody());return Yn&&(xe=xt.split(Yn,oe))!==null&&xe!==void 0?xe:oe},Vr=U=>{const oe=on(U);return oe?Xr(xe=>dn(U,xe),oe):zr()},Br=(U,oe)=>{const xe=Is(po=>dn(U,po),oe);U.dom.setAttrib(xe,"data-mce-id","__mcenew"),U.focus(),U.selection.setContent(xe.outerHTML);const xt=U.dom.select('*[data-mce-id="__mcenew"]')[0];if(U.dom.setAttrib(xt,"data-mce-id",null),tt(xt)){const po=sr(U,xt);U.selection.select(po)}else U.selection.select(xt)},Jo=(U,oe)=>{U.dom.setAttrib(oe,"src",oe.getAttribute("src"))},Ce=(U,oe)=>{if(oe){const xe=U.dom.is(oe.parentNode,"figure.image")?oe.parentNode:oe;U.dom.remove(xe),U.focus(),U.nodeChanged(),U.dom.isEmpty(U.getBody())&&(U.setContent(""),U.selection.setCursorLocation())}},Ne=(U,oe)=>{const xe=on(U);if(xe)if(It(xt=>dn(U,xt),oe,xe),Jo(U,xe),tt(xe.parentNode)){const xt=xe.parentNode;sr(U,xt),U.selection.select(xe.parentNode)}else U.selection.select(xe),ut(U,oe,xe)},Zt=(U,oe)=>{const xe=oe.src;return{...oe,src:vo(U,xe)?xe:""}},Io=(U,oe)=>{const xe=on(U);if(xe){const po={...Xr(ga=>dn(U,ga),xe),...oe},Yn=Zt(U,po);po.src?Ne(U,Yn):Ce(U,xe)}else oe.src&&Br(U,{...zr(),...oe})},Go=(U=>(...oe)=>{if(oe.length===0)throw new Error("Can't merge zero objects");const xe={};for(let xt=0;xtjo(U)&&jo(oe)?Go(U,oe):oe);var hn=tinymce.util.Tools.resolve("tinymce.util.ImageUploader"),wn=tinymce.util.Tools.resolve("tinymce.util.Tools");const Un=U=>Co(U.value)?U.value:"",Ar=U=>Co(U.text)?U.text:Co(U.title)?U.title:"",ra=(U,oe)=>{const xe=[];return wn.each(U,xt=>{const po=Ar(xt);if(xt.menu!==void 0){const Yn=ra(xt.menu,oe);xe.push({text:po,items:Yn})}else{const Yn=oe(xt);xe.push({text:po,value:Yn})}}),xe},Xs=(U=Un)=>oe=>oe?me.from(oe).map(xe=>ra(xe,U)):me.none(),Zs=U=>Xs(Un)(U),mi=U=>Bo(U,"items"),Wr=(U,oe)=>Mt(U,xe=>mi(xe)?Wr(xe.items,oe):xe.value===oe?me.some(xe):me.none()),Sr={sanitizer:Xs,sanitize:Zs,findEntry:(U,oe)=>U.bind(xe=>Wr(xe,oe))},Cs={makeTab:U=>({title:"Advanced",name:"advanced",items:[{type:"grid",columns:2,items:[{type:"input",label:"Vertical space",name:"vspace",inputMode:"numeric"},{type:"input",label:"Horizontal space",name:"hspace",inputMode:"numeric"},{type:"input",label:"Border width",name:"border",inputMode:"numeric"},{type:"listbox",name:"borderstyle",label:"Border style",items:[{text:"Select...",value:""},{text:"Solid",value:"solid"},{text:"Dotted",value:"dotted"},{text:"Dashed",value:"dashed"},{text:"Double",value:"double"},{text:"Groove",value:"groove"},{text:"Ridge",value:"ridge"},{text:"Inset",value:"inset"},{text:"Outset",value:"outset"},{text:"None",value:"none"},{text:"Hidden",value:"hidden"}]}]}]})},za=U=>{const oe=Sr.sanitizer(Ll=>U.convertURL(Ll.value||Ll.url||"","src")),xe=new Promise(Ll=>{zn(U,pd=>{Ll(oe(pd).map(Ci=>qe([[{text:"None",value:""}],Ci])))})}),xt=Sr.sanitize(We(U)),po=gt(U),Yn=pe(U),ga=Gt(U),ks=Vt(U),_i=Vr(U),Js=Fe(U),Vi=ge(U),Qs=ct(U),ic=Me(U),_s=ze(U),vc=Ge(U),je=me.some(Oe(U)).filter(Ll=>Co(Ll)&&Ll.length>0);return xe.then(Ll=>({image:_i,imageList:Ll,classList:xt,hasAdvTab:po,hasUploadTab:Yn,hasUploadUrl:ga,hasUploadHandler:ks,hasDescription:Js,hasImageTitle:Vi,hasDimensions:Qs,hasImageCaption:ic,prependURL:je,hasAccessibilityOptions:_s,automaticUploads:vc}))},ws=U=>{const oe={name:"src",type:"urlinput",filetype:"image",label:"Source",picker_text:"Browse files"},xe=U.imageList.map(Vi=>({name:"images",type:"listbox",label:"Image list",items:Vi})),xt={name:"alt",type:"input",label:"Alternative description",enabled:!(U.hasAccessibilityOptions&&U.image.isDecorative)},po={name:"title",type:"input",label:"Image title"},Yn={name:"dimensions",type:"sizeinput"},ga={type:"label",label:"Accessibility",items:[{name:"isDecorative",type:"checkbox",label:"Image is decorative"}]},ks=U.classList.map(Vi=>({name:"classes",type:"listbox",label:"Class",items:Vi})),_i={type:"label",label:"Caption",items:[{type:"checkbox",name:"caption",label:"Show caption"}]},Js=Vi=>Vi?{type:"grid",columns:2}:{type:"panel"};return qe([[oe],xe.toArray(),U.hasAccessibilityOptions&&U.hasDescription?[ga]:[],U.hasDescription?[xt]:[],U.hasImageTitle?[po]:[],U.hasDimensions?[Yn]:[],[{...Js(U.classList.isSome()&&U.hasImageCaption),items:qe([ks.toArray(),U.hasImageCaption?[_i]:[]])}]])},Aa={makeTab:U=>({title:"General",name:"general",items:ws(U)}),makeItems:ws},Os={makeTab:U=>({title:"Upload",name:"upload",items:[{type:"dropzone",name:"fileinput"}]})},Ma=U=>({prevImage:Sr.findEntry(U.imageList,U.image.src),prevAlt:U.image.alt,open:!0}),Ca=U=>({src:{value:U.src,meta:{}},images:U.src,alt:U.alt,title:U.title,dimensions:{width:U.width,height:U.height},classes:U.class,caption:U.caption,style:U.style,vspace:U.vspace,border:U.border,hspace:U.hspace,borderstyle:U.borderStyle,fileinput:[],isDecorative:U.isDecorative}),ds=(U,oe)=>({src:U.src.value,alt:(U.alt===null||U.alt.length===0)&&oe?null:U.alt,title:U.title,width:U.dimensions.width,height:U.dimensions.height,class:U.classes,style:U.style,caption:U.caption,hspace:U.hspace,vspace:U.vspace,border:U.border,borderStyle:U.borderstyle,isDecorative:U.isDecorative}),xa=(U,oe)=>/^(?:[a-zA-Z]+:)?\/\//.test(oe)?me.none():U.prependURL.bind(xe=>oe.substring(0,xe.length)!==xe?me.some(xe+oe):me.none()),Rn=(U,oe)=>{const xe=oe.getData();xa(U,xe.src.value).each(xt=>{oe.setData({src:{value:xt,meta:xe.src.meta}})})},Hi=(U,oe,xe)=>{U.hasDescription&&Co(xe.alt)&&(oe.alt=xe.alt),U.hasAccessibilityOptions&&(oe.isDecorative=xe.isDecorative||oe.isDecorative||!1),U.hasImageTitle&&Co(xe.title)&&(oe.title=xe.title),U.hasDimensions&&(Co(xe.width)&&(oe.dimensions.width=xe.width),Co(xe.height)&&(oe.dimensions.height=xe.height)),Co(xe.class)&&Sr.findEntry(U.classList,xe.class).each(xt=>{oe.classes=xt.value}),U.hasImageCaption&&Ue(xe.caption)&&(oe.caption=xe.caption),U.hasAdvTab&&(Co(xe.style)&&(oe.style=xe.style),Co(xe.vspace)&&(oe.vspace=xe.vspace),Co(xe.border)&&(oe.border=xe.border),Co(xe.hspace)&&(oe.hspace=xe.hspace),Co(xe.borderstyle)&&(oe.borderstyle=xe.borderstyle))},Bn=(U,oe)=>{const xe=oe.getData(),xt=xe.src.meta;if(xt!==void 0){const po=Go({},xe);Hi(U,po,xt),oe.setData(po)}},ji=(U,oe,xe,xt)=>{const po=xt.getData(),Yn=po.src.value,ga=po.src.meta||{};!ga.width&&!ga.height&&oe.hasDimensions&&(oo(Yn)?U.imageSize(Yn).then(ks=>{xe.open&&xt.setData({dimensions:ks})}).catch(ks=>console.error(ks)):xt.setData({dimensions:{width:"",height:""}}))},go=(U,oe,xe)=>{const xt=xe.getData(),po=Sr.findEntry(U.imageList,xt.src.value);oe.prevImage=po,xe.setData({images:po.map(Yn=>Yn.value).getOr("")})},aa=(U,oe,xe,xt)=>{Rn(oe,xt),Bn(oe,xt),ji(U,oe,xe,xt),go(oe,xe,xt)},Ss=(U,oe,xe,xt)=>{const po=xt.getData(),Yn=Sr.findEntry(oe.imageList,po.images);Yn.each(ga=>{po.alt===""||xe.prevImage.map(_i=>_i.text===po.alt).getOr(!1)?ga.value===""?xt.setData({src:ga,alt:xe.prevAlt}):xt.setData({src:ga,alt:ga.text}):xt.setData({src:ga})}),xe.prevImage=Yn,aa(U,oe,xe,xt)},Ir=(U,oe,xe,xt)=>{const po=xt.getData();xt.block("Uploading image"),lt(po.fileinput).fold(()=>{xt.unblock()},Yn=>{const ga=URL.createObjectURL(Yn),ks=()=>{xt.unblock(),URL.revokeObjectURL(ga)},_i=Js=>{xt.setData({src:{value:Js,meta:{}}}),xt.showTab("general"),aa(U,oe,xe,xt)};zt(Yn).then(Js=>{const Vi=U.createBlobCache(Yn,ga,Js);oe.automaticUploads?U.uploadImage(Vi).then(Qs=>{_i(Qs.url),ks()}).catch(Qs=>{ks(),U.alertErr(Qs)}):(U.addToBlobCache(Vi),_i(Vi.blobUri()),xt.unblock())})})},gi=(U,oe,xe)=>(xt,po)=>{po.name==="src"?aa(U,oe,xe,xt):po.name==="images"?Ss(U,oe,xe,xt):po.name==="alt"?xe.prevAlt=xt.getData().alt:po.name==="fileinput"?Ir(U,oe,xe,xt):po.name==="isDecorative"&&xt.setEnabled("alt",!xt.getData().isDecorative)},sc=U=>()=>{U.open=!1},Pr=U=>U.hasAdvTab||U.hasUploadUrl||U.hasUploadHandler?{type:"tabpanel",tabs:qe([[Aa.makeTab(U)],U.hasAdvTab?[Cs.makeTab(U)]:[],U.hasUploadTab&&(U.hasUploadUrl||U.hasUploadHandler)?[Os.makeTab(U)]:[]])}:{type:"panel",items:Aa.makeItems(U)},ne=(U,oe,xe)=>xt=>{const po=Go(Ca(oe.image),xt.getData()),Yn={...po,style:kr(xe.normalizeCss,ds(po,!1))};U.execCommand("mceUpdateImage",!1,ds(Yn,oe.hasAccessibilityOptions)),U.editorUpload.uploadImagesAuto(),xt.close()},Be=U=>oe=>vo(U,oe)?$o(U.documentBaseURI.toAbsolute(oe)).then(xe=>({width:String(xe.width),height:String(xe.height)})):Promise.resolve({width:"",height:""}),Pe=U=>(oe,xe,xt)=>{var po;return U.editorUpload.blobCache.create({blob:oe,blobUri:xe,name:(po=oe.name)===null||po===void 0?void 0:po.replace(/\.[^\.]+$/,""),filename:oe.name,base64:xt.split(",")[1]})},Nt=U=>oe=>{U.editorUpload.blobCache.add(oe)},ho=U=>oe=>{U.windowManager.alert(oe)},bn=U=>oe=>dn(U,oe),kn=U=>oe=>U.dom.parseStyle(oe),_r=U=>(oe,xe)=>U.dom.serializeStyle(oe,xe),Or=U=>oe=>hn(U).upload([oe],!1).then(xe=>{var xt;return xe.length===0?Promise.reject("Failed to upload image"):xe[0].status===!1?Promise.reject((xt=xe[0].error)===null||xt===void 0?void 0:xt.message):xe[0]}),Sa=U=>{const oe={imageSize:Be(U),addToBlobCache:Nt(U),createBlobCache:Pe(U),alertErr:ho(U),normalizeCss:bn(U),parseStyle:kn(U),serializeStyle:_r(U),uploadImage:Or(U)};return{open:()=>{za(U).then(xt=>{const po=Ma(xt);return{title:"Insert/Edit Image",size:"normal",body:Pr(xt),buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:Ca(xt.image),onSubmit:ne(U,xt,oe),onChange:gi(oe,xt,po),onClose:sc(po)}}).then(U.windowManager.open)}}},ma=U=>{U.addCommand("mceImage",Sa(U).open),U.addCommand("mceUpdateImage",(oe,xe)=>{U.undoManager.transact(()=>Io(U,xe))})},Ga=U=>{const oe=U.attr("class");return So(oe)&&/\bimage\b/.test(oe)},Q=U=>oe=>{let xe=oe.length;const xt=po=>{po.attr("contenteditable",U?"true":null)};for(;xe--;){const po=oe[xe];Ga(po)&&(po.attr("contenteditable",U?"false":null),wn.each(po.getAll("figcaption"),xt))}},Ee=U=>{U.on("PreInit",()=>{U.parser.addNodeFilter("figure",Q(!0)),U.serializer.addNodeFilter("figure",Q(!1))})},bt=U=>oe=>{const xe=()=>{oe.setEnabled(U.selection.isEditable())};return U.on("NodeChange",xe),xe(),()=>{U.off("NodeChange",xe)}},wo=U=>{U.ui.registry.addToggleButton("image",{icon:"image",tooltip:"Insert/edit image",onAction:Sa(U).open,onSetup:oe=>{oe.setActive(So(on(U)));const xe=U.selection.selectorChangedWithUnbind("img:not([data-mce-object]):not([data-mce-placeholder]),figure.image",oe.setActive).unbind,xt=bt(U)(oe);return()=>{xe(),xt()}}}),U.ui.registry.addMenuItem("image",{icon:"image",text:"Image...",onAction:Sa(U).open,onSetup:bt(U)}),U.ui.registry.addContextMenu("image",{update:oe=>U.selection.isEditable()&&(tt(oe)||_t(oe)&&!Ft(oe))?["image"]:[]})};var Zn=()=>{xo.add("image",U=>{$e(U),Ee(U),wo(U),ma(U)})};Zn()})();(function(){var xo=tinymce.util.Tools.resolve("tinymce.PluginManager");const Ko=(Se,$e,ct)=>{var gt;return ct(Se,$e.prototype)?!0:((gt=Se.constructor)===null||gt===void 0?void 0:gt.name)===$e.name},Po=Se=>{const $e=typeof Se;return Se===null?"null":$e==="object"&&Array.isArray(Se)?"array":$e==="object"&&Ko(Se,String,(ct,gt)=>gt.isPrototypeOf(ct))?"string":$e},en=Se=>$e=>Po($e)===Se,tn=Se=>$e=>typeof $e===Se,to=en("string"),Lo=en("object"),jt=en("array"),Co=tn("function");var Ro=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),jo=tinymce.util.Tools.resolve("tinymce.EditorManager"),an=tinymce.util.Tools.resolve("tinymce.Env"),Ao=tinymce.util.Tools.resolve("tinymce.util.Tools");const Ue=Se=>$e=>$e.options.get(Se),it=Se=>{const $e=Se.options.register,ct=gt=>to(gt)||Co(gt)||Lo(gt);$e("importcss_merge_classes",{processor:"boolean",default:!0}),$e("importcss_exclusive",{processor:"boolean",default:!0}),$e("importcss_selector_converter",{processor:"function"}),$e("importcss_selector_filter",{processor:ct}),$e("importcss_file_filter",{processor:ct}),$e("importcss_groups",{processor:"object[]"}),$e("importcss_append",{processor:"boolean",default:!1})},So=Ue("importcss_merge_classes"),co=Ue("importcss_exclusive"),he=Ue("importcss_selector_converter"),Dt=Ue("importcss_selector_filter"),fo=Ue("importcss_groups"),me=Ue("importcss_append"),Ze=Ue("importcss_file_filter"),de=Ue("skin"),rt=Ue("skin_url"),Yo=Array.prototype.push,$t=(Se,$e)=>{const ct=Se.length,gt=new Array(ct);for(let pe=0;pe{const $e=[];for(let ct=0,gt=Se.length;ctgn($t(Se,$e)),Ct=()=>{const Se=[],$e=[],ct={};return{addItemToGroup:(We,Fe)=>{ct[We]?ct[We].push(Fe):($e.push(We),ct[We]=[Fe])},addItem:We=>{Se.push(We)},toFormats:()=>Bo($e,Fe=>{const ge=ct[Fe];return ge.length===0?[]:[{title:Fe,items:ge}]}).concat(Se)}},R=/^\.(?:ephox|tiny-pageembed|mce)(?:[.-]+\w+)+$/,qe=Se=>{const $e=an.cacheSuffix;return to(Se)&&(Se=Se.replace("?"+$e,"").replace("&"+$e,"")),Se},Je=(Se,$e)=>{const ct=de(Se);if(ct){const gt=rt(Se),pe=gt?Se.documentBaseURI.toAbsolute(gt):jo.baseURL+"/skins/ui/"+ct,Oe=jo.baseURL+"/skins/content/";return $e===pe+"/content"+(Se.inline?".inline":"")+".min.css"||$e.indexOf(Oe)!==-1}return!1},lt=Se=>to(Se)?$e=>$e.indexOf(Se)!==-1:Se instanceof RegExp?$e=>Se.test($e):Se,Mt=Se=>Se.styleSheet,ht=Se=>Se.selectorText,Rt=(Se,$e,ct)=>{const gt=[],pe={},Oe=(We,Fe)=>{let ge=We.href,Me;if(ge=qe(ge),!(!ge||ct&&!ct(ge,Fe)||Je(Se,ge))){Ao.each(We.imports,at=>{Oe(at,!0)});try{Me=We.cssRules||We.rules}catch{}Ao.each(Me,at=>{Mt(at)&&at.styleSheet?Oe(at.styleSheet,!0):ht(at)&&Ao.each(at.selectorText.split(","),ze=>{gt.push(Ao.trim(ze))})})}};Ao.each(Se.contentCSS,We=>{pe[We]=!0}),ct||(ct=(We,Fe)=>Fe||pe[We]);try{Ao.each($e.styleSheets,We=>{Oe(We)})}catch{}return gt},uo=(Se,$e)=>{let ct={};const gt=/^(?:([a-z0-9\-_]+))?(\.[a-z0-9_\-\.]+)$/i.exec($e);if(!gt)return;const pe=gt[1],Oe=gt[2].substr(1).split(".").join(" "),We=Ao.makeMap("a,img");return gt[1]?(ct={title:$e},Se.schema.getTextBlockElements()[pe]?ct.block=pe:Se.schema.getBlockElements()[pe]||We[pe.toLowerCase()]?ct.selector=pe:ct.inline=pe):gt[2]&&(ct={inline:"span",title:$e.substr(1),classes:Oe}),So(Se)?ct.classes=Oe:ct.attributes={class:Oe},ct},Bt=(Se,$e)=>Ao.grep(Se,ct=>!ct.filter||ct.filter($e)),V=Se=>Ao.map(Se,$e=>Ao.extend({},$e,{original:$e,selectors:{},filter:lt($e.filter)})),dt=(Se,$e)=>$e===null||co(Se),Ie=(Se,$e,ct,gt)=>!(dt(Se,ct)?$e in gt:$e in ct.selectors),_o=(Se,$e,ct,gt)=>{dt(Se,ct)?gt[$e]=!0:ct.selectors[$e]=!0},Pt=(Se,$e,ct,gt)=>{let pe;const Oe=he(Se);return gt&>.selector_converter?pe=gt.selector_converter:Oe?pe=Oe:pe=()=>uo(Se,ct),pe.call($e,ct,gt)},lo=Se=>{Se.on("init",()=>{const $e=Ct(),ct={},gt=lt(Dt(Se)),pe=V(fo(Se)),Oe=(Fe,ge)=>{if(Ie(Se,Fe,ge,ct)){_o(Se,Fe,ge,ct);const Me=Pt(Se,Se.plugins.importcss,Fe,ge);if(Me){const at=Me.name||Ro.DOM.uniqueId();return Se.formatter.register(at,Me),{title:Me.title,format:at}}}return null};Ao.each(Rt(Se,Se.getDoc(),lt(Ze(Se))),Fe=>{if(!R.test(Fe)&&(!gt||gt(Fe))){const ge=Bt(pe,Fe);if(ge.length>0)Ao.each(ge,Me=>{const at=Oe(Fe,Me);at&&$e.addItemToGroup(Me.title,at)});else{const Me=Oe(Fe,null);Me&&$e.addItem(Me)}}});const We=$e.toFormats();Se.dispatch("addStyleModifications",{items:We,replace:!me(Se)})})},To=Se=>({convertSelectorToFormat:ct=>uo(Se,ct)});var oo=()=>{xo.add("importcss",Se=>(it(Se),lo(Se),To(Se)))};oo()})();(function(){var xo=tinymce.util.Tools.resolve("tinymce.PluginManager");const Ko=de=>rt=>rt.options.get(de),Po=de=>{const rt=de.options.register;rt("insertdatetime_dateformat",{processor:"string",default:de.translate("%Y-%m-%d")}),rt("insertdatetime_timeformat",{processor:"string",default:de.translate("%H:%M:%S")}),rt("insertdatetime_formats",{processor:"string[]",default:["%H:%M:%S","%Y-%m-%d","%I:%M:%S %p","%D"]}),rt("insertdatetime_element",{processor:"boolean",default:!1})},en=Ko("insertdatetime_dateformat"),tn=Ko("insertdatetime_timeformat"),to=Ko("insertdatetime_formats"),Lo=Ko("insertdatetime_element"),jt=de=>{const rt=to(de);return rt.length>0?rt[0]:tn(de)},Co="Sun Mon Tue Wed Thu Fri Sat Sun".split(" "),Ro="Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday".split(" "),jo="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),an="January February March April May June July August September October November December".split(" "),Ao=(de,rt)=>{if(de=""+de,de.length(rt=rt.replace("%D","%m/%d/%Y"),rt=rt.replace("%r","%I:%M:%S %p"),rt=rt.replace("%Y",""+Yo.getFullYear()),rt=rt.replace("%y",""+Yo.getYear()),rt=rt.replace("%m",Ao(Yo.getMonth()+1,2)),rt=rt.replace("%d",Ao(Yo.getDate(),2)),rt=rt.replace("%H",""+Ao(Yo.getHours(),2)),rt=rt.replace("%M",""+Ao(Yo.getMinutes(),2)),rt=rt.replace("%S",""+Ao(Yo.getSeconds(),2)),rt=rt.replace("%I",""+((Yo.getHours()+11)%12+1)),rt=rt.replace("%p",Yo.getHours()<12?"AM":"PM"),rt=rt.replace("%B",""+de.translate(an[Yo.getMonth()])),rt=rt.replace("%b",""+de.translate(jo[Yo.getMonth()])),rt=rt.replace("%A",""+de.translate(Ro[Yo.getDay()])),rt=rt.replace("%a",""+de.translate(Co[Yo.getDay()])),rt=rt.replace("%%","%"),rt),it=(de,rt,Yo,$t)=>{const gn=de.dom.create("time",{datetime:Yo},$t);de.dom.replace(gn,rt),de.selection.select(gn,!0),de.selection.collapse(!1)},So=(de,rt)=>{if(Lo(de)){const Yo=Ue(de,rt);let $t;/%[HMSIp]/.test(rt)?$t=Ue(de,"%Y-%m-%dT%H:%M"):$t=Ue(de,"%Y-%m-%d");const gn=de.dom.getParent(de.selection.getStart(),"time");gn?it(de,gn,$t,Yo):de.insertContent('")}else de.insertContent(Ue(de,rt))},co=de=>{de.addCommand("mceInsertDate",(rt,Yo)=>{So(de,Yo??en(de))}),de.addCommand("mceInsertTime",(rt,Yo)=>{So(de,Yo??tn(de))})},he=de=>{let rt=de;return{get:()=>rt,set:gn=>{rt=gn}}};var Dt=tinymce.util.Tools.resolve("tinymce.util.Tools");const fo=de=>rt=>{const Yo=()=>{rt.setEnabled(de.selection.isEditable())};return de.on("NodeChange",Yo),Yo(),()=>{de.off("NodeChange",Yo)}},me=de=>{const rt=to(de),Yo=he(jt(de)),$t=Bo=>de.execCommand("mceInsertDate",!1,Bo);de.ui.registry.addSplitButton("insertdatetime",{icon:"insert-time",tooltip:"Insert date/time",select:Bo=>Bo===Yo.get(),fetch:Bo=>{Bo(Dt.map(rt,Ct=>({type:"choiceitem",text:Ue(de,Ct),value:Ct})))},onAction:Bo=>{$t(Yo.get())},onItemAction:(Bo,Ct)=>{Yo.set(Ct),$t(Ct)},onSetup:fo(de)});const gn=Bo=>()=>{Yo.set(Bo),$t(Bo)};de.ui.registry.addNestedMenuItem("insertdatetime",{icon:"insert-time",text:"Date/time",getSubmenuItems:()=>Dt.map(rt,Bo=>({type:"menuitem",text:Ue(de,Bo),onAction:gn(Bo)})),onSetup:fo(de)})};var Ze=()=>{xo.add("insertdatetime",de=>{Po(de),co(de),me(de)})};Ze()})();(function(){var xo=tinymce.util.Tools.resolve("tinymce.PluginManager");const Ko=(ne,Be,Pe)=>{var Nt;return Pe(ne,Be.prototype)?!0:((Nt=ne.constructor)===null||Nt===void 0?void 0:Nt.name)===Be.name},Po=ne=>{const Be=typeof ne;return ne===null?"null":Be==="object"&&Array.isArray(ne)?"array":Be==="object"&&Ko(ne,String,(Pe,Nt)=>Nt.isPrototypeOf(Pe))?"string":Be},en=ne=>Be=>Po(Be)===ne,tn=ne=>Be=>typeof Be===ne,to=ne=>Be=>ne===Be,Lo=en("string"),jt=en("object"),Co=en("array"),Ro=to(null),jo=tn("boolean"),an=ne=>ne==null,Ao=ne=>!an(ne),Ue=tn("function"),it=(ne,Be)=>{if(Co(ne)){for(let Pe=0,Nt=ne.length;Pe{},co=ne=>()=>ne,he=(ne,Be)=>ne===Be;class Dt{constructor(Be,Pe){this.tag=Be,this.value=Pe}static some(Be){return new Dt(!0,Be)}static none(){return Dt.singletonNone}fold(Be,Pe){return this.tag?Pe(this.value):Be()}isSome(){return this.tag}isNone(){return!this.tag}map(Be){return this.tag?Dt.some(Be(this.value)):Dt.none()}bind(Be){return this.tag?Be(this.value):Dt.none()}exists(Be){return this.tag&&Be(this.value)}forall(Be){return!this.tag||Be(this.value)}filter(Be){return!this.tag||Be(this.value)?this:Dt.none()}getOr(Be){return this.tag?this.value:Be}or(Be){return this.tag?this:Be}getOrThunk(Be){return this.tag?this.value:Be()}orThunk(Be){return this.tag?this:Be()}getOrDie(Be){if(this.tag)return this.value;throw new Error(Be??"Called getOrDie on None")}static from(Be){return Ao(Be)?Dt.some(Be):Dt.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(Be){this.tag&&Be(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}Dt.singletonNone=new Dt(!1);const fo=Array.prototype.indexOf,me=Array.prototype.push,Ze=(ne,Be)=>fo.call(ne,Be),de=(ne,Be)=>Ze(ne,Be)>-1,rt=(ne,Be)=>{const Pe=ne.length,Nt=new Array(Pe);for(let ho=0;ho{for(let Pe=0,Nt=ne.length;Pe(Yo(ne,(Nt,ho)=>{Pe=Be(Pe,Nt,ho)}),Pe),gn=ne=>{const Be=[];for(let Pe=0,Nt=ne.length;Pegn(rt(ne,Be)),Ct=(ne,Be)=>{for(let Pe=0;Pene.exists(Nt=>Pe(Nt,Be)),qe=ne=>{const Be=[],Pe=Nt=>{Be.push(Nt)};for(let Nt=0;Ntne?Dt.some(Be):Dt.none(),lt=ne=>Be=>Be.options.get(ne),Mt=ne=>{const Be=ne.options.register;Be("link_assume_external_targets",{processor:Pe=>{const Nt=Lo(Pe)||jo(Pe);return Nt?Pe===!0?{value:1,valid:Nt}:Pe==="http"||Pe==="https"?{value:Pe,valid:Nt}:{value:0,valid:Nt}:{valid:!1,message:"Must be a string or a boolean."}},default:!1}),Be("link_context_toolbar",{processor:"boolean",default:!1}),Be("link_list",{processor:Pe=>Lo(Pe)||Ue(Pe)||it(Pe,jt)}),Be("link_default_target",{processor:"string"}),Be("link_default_protocol",{processor:"string",default:"https"}),Be("link_target_list",{processor:Pe=>jo(Pe)||it(Pe,jt),default:!0}),Be("link_rel_list",{processor:"object[]",default:[]}),Be("link_class_list",{processor:"object[]",default:[]}),Be("link_title",{processor:"boolean",default:!0}),Be("allow_unsafe_link_target",{processor:"boolean",default:!1}),Be("link_quicklink",{processor:"boolean",default:!1})},ht=lt("link_assume_external_targets"),Rt=lt("link_context_toolbar"),uo=lt("link_list"),Bt=lt("link_default_target"),V=lt("link_default_protocol"),dt=lt("link_target_list"),Ie=lt("link_rel_list"),_o=lt("link_class_list"),Pt=lt("link_title"),lo=lt("allow_unsafe_link_target"),To=lt("link_quicklink");var oo=tinymce.util.Tools.resolve("tinymce.util.Tools");const Se=ne=>Lo(ne.value)?ne.value:"",$e=ne=>Lo(ne.text)?ne.text:Lo(ne.title)?ne.title:"",ct=(ne,Be)=>{const Pe=[];return oo.each(ne,Nt=>{const ho=$e(Nt);if(Nt.menu!==void 0){const bn=ct(Nt.menu,Be);Pe.push({text:ho,items:bn})}else{const bn=Be(Nt);Pe.push({text:ho,value:bn})}}),Pe},gt=(ne=Se)=>Be=>Dt.from(Be).map(Pe=>ct(Pe,ne)),We={sanitize:ne=>gt(Se)(ne),sanitizeWith:gt,createUi:(ne,Be)=>Pe=>({name:ne,type:"listbox",label:Be,items:Pe}),getValue:Se},Fe=Object.keys,ge=Object.hasOwnProperty,Me=(ne,Be)=>{const Pe=Fe(ne);for(let Nt=0,ho=Pe.length;Nt(Be,Pe)=>{ne[Pe]=Be},ze=(ne,Be,Pe,Nt)=>{Me(ne,(ho,bn)=>{(Be(ho,bn)?Pe:Nt)(ho,bn)})},Ge=(ne,Be)=>{const Pe={};return ze(ne,Be,at(Pe),So),Pe},Gt=(ne,Be)=>ge.call(ne,Be),Vt=(ne,Be)=>Gt(ne,Be)&&ne[Be]!==void 0&&ne[Be]!==null;var Xo=tinymce.util.Tools.resolve("tinymce.dom.TreeWalker"),$o=tinymce.util.Tools.resolve("tinymce.util.URI");const Zo=ne=>Ao(ne)&&ne.nodeName.toLowerCase()==="a",Gn=ne=>Zo(ne)&&!!ut(ne),Pn=(ne,Be)=>{if(ne.collapsed)return[];{const Pe=ne.cloneContents(),Nt=Pe.firstChild,ho=new Xo(Nt,Pe),bn=[];let kn=Nt;do Be(kn)&&bn.push(kn);while(kn=ho.next());return bn}},zn=ne=>/^\w+:/i.test(ne),ut=ne=>{var Be,Pe;return(Pe=(Be=ne.getAttribute("data-mce-href"))!==null&&Be!==void 0?Be:ne.getAttribute("href"))!==null&&Pe!==void 0?Pe:""},zt=(ne,Be)=>{const Pe=["noopener"],Nt=ne?ne.split(/\s+/):[],ho=Or=>oo.trim(Or.sort().join(" ")),bn=Or=>(Or=kn(Or),Or.length>0?Or.concat(Pe):Pe),kn=Or=>Or.filter(Sa=>oo.inArray(Pe,Sa)===-1),_r=Be?bn(Nt):kn(Nt);return _r.length>0?ho(_r):""},Ft=ne=>ne.replace(/\uFEFF/g,""),vo=(ne,Be)=>(Be=Be||$n(ne.selection.getRng())[0]||ne.selection.getNode(),ln(Be)?Dt.from(ne.dom.select("a[href]",Be)[0]):Dt.from(ne.dom.getParent(Be,"a[href]"))),Xt=(ne,Be)=>vo(ne,Be).isSome(),Vo=(ne,Be)=>{const Pe=Be.fold(()=>ne.getContent({format:"text"}),Nt=>Nt.innerText||Nt.textContent||"");return Ft(Pe)},$n=ne=>Pn(ne,Gn),Rr=ne=>oo.grep(ne,Gn),Wt=ne=>Rr(ne).length>0,vr=ne=>$n(ne).length>0,Fn=ne=>{const Be=ne.schema.getTextInlineElements(),Pe=bn=>bn.nodeType===1&&!Zo(bn)&&!Gt(Be,bn.nodeName.toLowerCase());if(vo(ne).exists(bn=>bn.hasAttribute("data-mce-block")))return!1;const ho=ne.selection.getRng();return ho.collapsed?!0:Pn(ho,Pe).length===0},ln=ne=>Ao(ne)&&ne.nodeName==="FIGURE"&&/\bimage\b/i.test(ne.className),xr=ne=>$t(["title","rel","class","target"],(Pe,Nt)=>(ne[Nt].each(ho=>{Pe[Nt]=ho.length>0?ho:null}),Pe),{href:ne.href}),Ys=(ne,Be)=>(Be==="http"||Be==="https")&&!zn(ne)?Be+"://"+ne:ne,Yr=(ne,Be)=>{const Pe={...Be};if(Ie(ne).length===0&&!lo(ne)){const Nt=zt(Pe.rel,Pe.target==="_blank");Pe.rel=Nt||null}return Dt.from(Pe.target).isNone()&&dt(ne)===!1&&(Pe.target=Bt(ne)),Pe.href=Ys(Pe.href,ht(ne)),Pe},Pa=(ne,Be,Pe,Nt)=>{Pe.each(ho=>{Gt(Be,"innerText")?Be.innerText=ho:Be.textContent=ho}),ne.dom.setAttribs(Be,Nt),ne.selection.select(Be)},cs=(ne,Be,Pe,Nt)=>{const ho=ne.dom;ln(Be)?St(ho,Be,Nt):Pe.fold(()=>{ne.execCommand("mceInsertLink",!1,Nt)},bn=>{ne.insertContent(ho.createHTML("a",Nt,ho.encode(bn)))})},Ha=(ne,Be,Pe)=>{const Nt=ne.selection.getNode(),ho=vo(ne,Nt),bn=Yr(ne,xr(Pe));ne.undoManager.transact(()=>{Pe.href===Be.href&&Be.attach(),ho.fold(()=>{cs(ne,Nt,Pe.text,bn)},kn=>{ne.focus(),Pa(ne,kn,Pe.text,bn)})})},ja=ne=>{const Be=ne.dom,Pe=ne.selection,Nt=Pe.getBookmark(),ho=Pe.getRng().cloneRange(),bn=Be.getParent(ho.startContainer,"a[href]",ne.getBody()),kn=Be.getParent(ho.endContainer,"a[href]",ne.getBody());bn&&ho.setStartBefore(bn),kn&&ho.setEndAfter(kn),Pe.setRng(ho),ne.execCommand("unlink"),Pe.moveToBookmark(Nt)},$s=ne=>{ne.undoManager.transact(()=>{const Be=ne.selection.getNode();ln(Be)?Mo(ne,Be):ja(ne),ne.focus()})},Us=ne=>{const{class:Be,href:Pe,rel:Nt,target:ho,text:bn,title:kn}=ne;return Ge({class:Be.getOrNull(),href:Pe,rel:Nt.getOrNull(),target:ho.getOrNull(),text:bn.getOrNull(),title:kn.getOrNull()},(_r,Or)=>Ro(_r)===!1)},_a=(ne,Be)=>{const Pe=ne.options.get,Nt={allow_html_data_urls:Pe("allow_html_data_urls"),allow_script_urls:Pe("allow_script_urls"),allow_svg_data_urls:Pe("allow_svg_data_urls")},ho=Be.href;return{...Be,href:$o.isDomSafe(ho,"a",Nt)?ho:""}},tt=(ne,Be,Pe)=>{const Nt=_a(ne,Pe);ne.hasPlugin("rtc",!0)?ne.execCommand("createlink",!1,Us(Nt)):Ha(ne,Be,Nt)},_t=ne=>{ne.hasPlugin("rtc",!0)?ne.execCommand("unlink"):$s(ne)},Mo=(ne,Be)=>{var Pe;const Nt=ne.dom.select("img",Be)[0];if(Nt){const ho=ne.dom.getParents(Nt,"a[href]",Be)[0];ho&&((Pe=ho.parentNode)===null||Pe===void 0||Pe.insertBefore(Nt,ho),ne.dom.remove(ho))}},St=(ne,Be,Pe)=>{var Nt;const ho=ne.select("img",Be)[0];if(ho){const bn=ne.create("a",Pe);(Nt=ho.parentNode)===null||Nt===void 0||Nt.insertBefore(bn,ho),bn.appendChild(ho)}},zr=ne=>Vt(ne,"items"),kr=(ne,Be)=>Ct(Be,Pe=>zr(Pe)?kr(ne,Pe.items):Je(Pe.value===ne,Pe)),Is=(ne,Be,Pe,Nt)=>{const ho=Nt[Be],bn=ne.length>0;return ho!==void 0?kr(ho,Pe).map(kn=>({url:{value:kn.value,meta:{text:bn?ne:kn.text,attach:So}},text:bn?ne:kn.text})):Dt.none()},Xr=(ne,Be)=>Be==="link"?ne.link:Be==="anchor"?ne.anchor:Dt.none(),De={init:(ne,Be)=>{const Pe={text:ne.text,title:ne.title},Nt=Or=>{var Sa;return Je(Pe.title.length<=0,Dt.from((Sa=Or.meta)===null||Sa===void 0?void 0:Sa.title).getOr(""))},ho=Or=>{var Sa;return Je(Pe.text.length<=0,Dt.from((Sa=Or.meta)===null||Sa===void 0?void 0:Sa.text).getOr(Or.value))},bn=Or=>{const Sa=ho(Or.url),ma=Nt(Or.url);return Sa.isSome()||ma.isSome()?Dt.some({...Sa.map(Ga=>({text:Ga})).getOr({}),...ma.map(Ga=>({title:Ga})).getOr({})}):Dt.none()},kn=(Or,Sa)=>{const ma=Xr(Be,Sa).getOr([]);return Is(Pe.text,Sa,ma,Or)};return{onChange:(Or,Sa)=>{const ma=Sa.name;return ma==="url"?bn(Or()):de(["anchor","link"],ma)?kn(Or(),ma):((ma==="text"||ma==="title")&&(Pe[ma]=Or()[ma]),Dt.none())}}},getDelta:Is};var Ae=tinymce.util.Tools.resolve("tinymce.util.Delay");const wt=(ne,Be,Pe)=>{const Nt=ne.selection.getRng();Ae.setEditorTimeout(ne,()=>{ne.windowManager.confirm(Be,ho=>{ne.selection.setRng(Nt),Pe(ho)})})},It=ne=>{const Be=ne.href;return Be.indexOf("@")>0&&Be.indexOf("/")===-1&&Be.indexOf("mailto:")===-1?Dt.some({message:"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?",preprocess:Nt=>({...Nt,href:"mailto:"+Be})}):Dt.none()},dn=(ne,Be)=>Pe=>{const Nt=Pe.href;return ne===1&&!zn(Nt)||ne===0&&/^\s*www(\.|\d\.)/i.test(Nt)?Dt.some({message:`The URL you entered seems to be an external link. Do you want to add the required ${Be}:// prefix?`,preprocess:bn=>({...bn,href:Be+"://"+Nt})}):Dt.none()},sr={preprocess:(ne,Be)=>Ct([It,dn(ht(ne),V(ne))],Pe=>Pe(Be)).fold(()=>Promise.resolve(Be),Pe=>new Promise(Nt=>{wt(ne,Pe.message,ho=>{Nt(ho?Pe.preprocess(Be):Be)})}))},Br={getAnchors:ne=>{const Be=ne.dom.select("a:not([href])"),Pe=Bo(Be,Nt=>{const ho=Nt.name||Nt.id;return ho?[{text:ho,value:"#"+ho}]:[]});return Pe.length>0?Dt.some([{text:"None",value:""}].concat(Pe)):Dt.none()}},Ce={getClasses:ne=>{const Be=_o(ne);return Be.length>0?We.sanitize(Be):Dt.none()}},Ne=ne=>{try{return Dt.some(JSON.parse(ne))}catch{return Dt.none()}},Io={getLinks:ne=>{const Be=Nt=>ne.convertURL(Nt.value||Nt.url||"","href"),Pe=uo(ne);return new Promise(Nt=>{Lo(Pe)?fetch(Pe).then(ho=>ho.ok?ho.text().then(Ne):Promise.reject()).then(Nt,()=>Nt(Dt.none())):Ue(Pe)?Pe(ho=>Nt(Dt.some(ho))):Nt(Dt.from(Pe))}).then(Nt=>Nt.bind(We.sanitizeWith(Be)).map(ho=>ho.length>0?[{text:"None",value:""}].concat(ho):ho))}},nn={getRels:(ne,Be)=>{const Pe=Ie(ne);if(Pe.length>0){const Nt=R(Be,"_blank"),ho=lo(ne)===!1,bn=_r=>zt(We.getValue(_r),Nt);return(ho?We.sanitizeWith(bn):We.sanitize)(Pe)}return Dt.none()}},Go=[{text:"Current window",value:""},{text:"New window",value:"_blank"}],wn={getTargets:ne=>{const Be=dt(ne);return Co(Be)?We.sanitize(Be).orThunk(()=>Dt.some(Go)):Be===!1?Dt.none():Dt.some(Go)}},Un=(ne,Be,Pe)=>{const Nt=ne.getAttrib(Be,Pe);return Nt!==null&&Nt.length>0?Dt.some(Nt):Dt.none()},Ar=(ne,Be)=>{const Pe=ne.dom,ho=Fn(ne)?Dt.some(Vo(ne.selection,Be)):Dt.none(),bn=Be.bind(ma=>Dt.from(Pe.getAttrib(ma,"href"))),kn=Be.bind(ma=>Dt.from(Pe.getAttrib(ma,"target"))),_r=Be.bind(ma=>Un(Pe,ma,"rel")),Or=Be.bind(ma=>Un(Pe,ma,"class")),Sa=Be.bind(ma=>Un(Pe,ma,"title"));return{url:bn,text:ho,title:Sa,target:kn,rel:_r,linkClass:Or}},Xs={collect:(ne,Be)=>Io.getLinks(ne).then(Pe=>{const Nt=Ar(ne,Be);return{anchor:Nt,catalogs:{targets:wn.getTargets(ne),rels:nn.getRels(ne,Nt.target),classes:Ce.getClasses(ne),anchor:Br.getAnchors(ne),link:Pe},optNode:Be,flags:{titleEnabled:Pt(ne)}}})},Zs=(ne,Be)=>Pe=>{const Nt=Pe.getData();if(!Nt.url.value){_t(ne),Pe.close();return}const ho=_r=>Dt.from(Nt[_r]).filter(Or=>!R(Be.anchor[_r],Or)),bn={href:Nt.url.value,text:ho("text"),target:ho("target"),rel:ho("rel"),class:ho("linkClass"),title:ho("title")},kn={href:Nt.url.value,attach:Nt.url.meta!==void 0&&Nt.url.meta.attach?Nt.url.meta.attach:So};sr.preprocess(ne,bn).then(_r=>{tt(ne,kn,_r)}),Pe.close()},mi=ne=>{const Be=vo(ne);return Xs.collect(ne,Be)},Wr=(ne,Be)=>{const Pe=ne.anchor,Nt=Pe.url.getOr("");return{url:{value:Nt,meta:{original:{value:Nt}}},text:Pe.text.getOr(""),title:Pe.title.getOr(""),anchor:Nt,link:Nt,rel:Pe.rel.getOr(""),target:Pe.target.or(Be).getOr(""),linkClass:Pe.linkClass.getOr("")}},rr=(ne,Be,Pe)=>{const Nt=[{name:"url",type:"urlinput",filetype:"file",label:"URL",picker_text:"Browse links"}],ho=ne.anchor.text.map(()=>({name:"text",type:"input",label:"Text to display"})).toArray(),bn=ne.flags.titleEnabled?[{name:"title",type:"input",label:"Title"}]:[],kn=Dt.from(Bt(Pe)),_r=Wr(ne,kn),Or=ne.catalogs,Sa=De.init(_r,Or);return{title:"Insert/Edit Link",size:"normal",body:{type:"panel",items:gn([Nt,ho,bn,qe([Or.anchor.map(We.createUi("anchor","Anchors")),Or.rels.map(We.createUi("rel","Rel")),Or.targets.map(We.createUi("target","Open link in...")),Or.link.map(We.createUi("link","Link list")),Or.classes.map(We.createUi("linkClass","Class"))])])},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:_r,onChange:(Ga,{name:Q})=>{Sa.onChange(Ga.getData,{name:Q}).each(Ee=>{Ga.setData(Ee)})},onSubmit:Be}},Sr=ne=>{mi(ne).then(Pe=>{const Nt=Zs(ne,Pe);return rr(Pe,Nt,ne)}).then(Pe=>{ne.windowManager.open(Pe)})},va=ne=>{ne.addCommand("mceLink",(Be,Pe)=>{Pe?.dialog===!0||!To(ne)?Sr(ne):ne.dispatch("contexttoolbar-show",{toolbarKey:"quicklink"})})};var Cs=tinymce.util.Tools.resolve("tinymce.util.VK");const za=(ne,Be)=>{document.body.appendChild(ne),ne.dispatchEvent(Be),document.body.removeChild(ne)},ws=ne=>{const Be=document.createElement("a");Be.target="_blank",Be.href=ne,Be.rel="noreferrer noopener";const Pe=document.createEvent("MouseEvents");Pe.initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),za(Be,Pe)},As=(ne,Be)=>ne.dom.getParent(Be,"a[href]"),Aa=ne=>As(ne,ne.selection.getStart()),Kn=ne=>ne.altKey===!0&&ne.shiftKey===!1&&ne.ctrlKey===!1&&ne.metaKey===!1,Os=(ne,Be)=>{if(Be){const Pe=ut(Be);if(/^#/.test(Pe)){const Nt=ne.dom.select(Pe);Nt.length&&ne.selection.scrollIntoView(Nt[0],!0)}else ws(Be.href)}},Ma=ne=>()=>{ne.execCommand("mceLink",!1,{dialog:!0})},Ca=ne=>()=>{Os(ne,Aa(ne))},ds=ne=>{ne.on("click",Be=>{const Pe=As(ne,Be.target);Pe&&Cs.metaKeyPressed(Be)&&(Be.preventDefault(),Os(ne,Pe))}),ne.on("keydown",Be=>{if(!Be.isDefaultPrevented()&&Be.keyCode===13&&Kn(Be)){const Pe=Aa(ne);Pe&&(Be.preventDefault(),Os(ne,Pe))}})},xa=(ne,Be)=>(ne.on("NodeChange",Be),()=>ne.off("NodeChange",Be)),Rn=ne=>Be=>{const Pe=()=>{Be.setActive(!ne.mode.isReadOnly()&&Xt(ne,ne.selection.getNode())),Be.setEnabled(ne.selection.isEditable())};return Pe(),xa(ne,Pe)},Hi=ne=>Be=>{const Pe=()=>{Be.setEnabled(ne.selection.isEditable())};return Pe(),xa(ne,Pe)},Bn=ne=>(ne.selection.isCollapsed()?Rr(ne.dom.getParents(ne.selection.getStart())):$n(ne.selection.getRng())).length===1,ji=ne=>Be=>{const Pe=()=>Be.setEnabled(Bn(ne));return Pe(),xa(ne,Pe)},go=ne=>Be=>{const Pe=bn=>Wt(bn)||vr(ne.selection.getRng()),Nt=ne.dom.getParents(ne.selection.getStart()),ho=bn=>{Be.setEnabled(Pe(bn)&&ne.selection.isEditable())};return ho(Nt),xa(ne,bn=>ho(bn.parents))},aa=ne=>{ne.addShortcut("Meta+K","",()=>{ne.execCommand("mceLink")})},Ss=ne=>{ne.ui.registry.addToggleButton("link",{icon:"link",tooltip:"Insert/edit link",onAction:Ma(ne),onSetup:Rn(ne)}),ne.ui.registry.addButton("openlink",{icon:"new-tab",tooltip:"Open link",onAction:Ca(ne),onSetup:ji(ne)}),ne.ui.registry.addButton("unlink",{icon:"unlink",tooltip:"Remove link",onAction:()=>_t(ne),onSetup:go(ne)})},Ir=ne=>{ne.ui.registry.addMenuItem("openlink",{text:"Open link",icon:"new-tab",onAction:Ca(ne),onSetup:ji(ne)}),ne.ui.registry.addMenuItem("link",{icon:"link",text:"Link...",shortcut:"Meta+K",onSetup:Hi(ne),onAction:Ma(ne)}),ne.ui.registry.addMenuItem("unlink",{icon:"unlink",text:"Remove link",onAction:()=>_t(ne),onSetup:go(ne)})},gi=ne=>{const Be="link unlink openlink",Pe="link";ne.ui.registry.addContextMenu("link",{update:Nt=>ne.dom.isEditable(Nt)?Wt(ne.dom.getParents(Nt,"a"))?Be:Pe:""})},sc=ne=>{const Be=ho=>{ho.selection.collapse(!1)},Pe=ho=>{const bn=ne.selection.getNode();return ho.setEnabled(Xt(ne,bn)),So},Nt=ho=>{const bn=vo(ne),kn=Fn(ne);if(bn.isNone()&&kn){const _r=Vo(ne.selection,bn);return Je(_r.length===0,ho)}else return Dt.none()};ne.ui.registry.addContextForm("quicklink",{launch:{type:"contextformtogglebutton",icon:"link",tooltip:"Link",onSetup:Rn(ne)},label:"Link",predicate:ho=>Rt(ne)&&Xt(ne,ho),initValue:()=>vo(ne).fold(co(""),ut),commands:[{type:"contextformtogglebutton",icon:"link",tooltip:"Link",primary:!0,onSetup:ho=>{const bn=ne.selection.getNode();return ho.setActive(Xt(ne,bn)),Rn(ne)(ho)},onAction:ho=>{const bn=ho.getValue(),kn=Nt(bn);tt(ne,{href:bn,attach:So},{href:bn,text:kn,title:Dt.none(),rel:Dt.none(),target:Dt.none(),class:Dt.none()}),Be(ne),ho.hide()}},{type:"contextformbutton",icon:"unlink",tooltip:"Remove link",onSetup:Pe,onAction:ho=>{_t(ne),ho.hide()}},{type:"contextformbutton",icon:"new-tab",tooltip:"Open link",onSetup:Pe,onAction:ho=>{Ca(ne)(),ho.hide()}}]})};var Pr=()=>{xo.add("link",ne=>{Mt(ne),Ss(ne),Ir(ne),gi(ne),sc(ne),ds(ne),va(ne),aa(ne)})};Pr()})();(function(){var xo=tinymce.util.Tools.resolve("tinymce.PluginManager");const Ko=(z,H,J)=>{var Te;return J(z,H.prototype)?!0:((Te=z.constructor)===null||Te===void 0?void 0:Te.name)===H.name},Po=z=>{const H=typeof z;return z===null?"null":H==="object"&&Array.isArray(z)?"array":H==="object"&&Ko(z,String,(J,Te)=>Te.isPrototypeOf(J))?"string":H},en=z=>H=>Po(H)===z,tn=z=>H=>typeof H===z,to=en("string"),Lo=en("object"),jt=en("array"),Co=tn("boolean"),Ro=z=>z==null,jo=z=>!Ro(z),an=tn("function"),Ao=tn("number"),Ue=()=>{},it=(z,H)=>J=>z(H(J)),So=z=>()=>z,co=(z,H)=>z===H;function he(z,...H){return(...J)=>{const Te=H.concat(J);return z.apply(null,Te)}}const Dt=z=>H=>!z(H),fo=So(!1);class me{constructor(H,J){this.tag=H,this.value=J}static some(H){return new me(!0,H)}static none(){return me.singletonNone}fold(H,J){return this.tag?J(this.value):H()}isSome(){return this.tag}isNone(){return!this.tag}map(H){return this.tag?me.some(H(this.value)):me.none()}bind(H){return this.tag?H(this.value):me.none()}exists(H){return this.tag&&H(this.value)}forall(H){return!this.tag||H(this.value)}filter(H){return!this.tag||H(this.value)?this:me.none()}getOr(H){return this.tag?this.value:H}or(H){return this.tag?this:H}getOrThunk(H){return this.tag?this.value:H()}orThunk(H){return this.tag?this:H()}getOrDie(H){if(this.tag)return this.value;throw new Error(H??"Called getOrDie on None")}static from(H){return jo(H)?me.some(H):me.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(H){this.tag&&H(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}me.singletonNone=new me(!1);const Ze=Array.prototype.slice,de=Array.prototype.indexOf,rt=Array.prototype.push,Yo=(z,H)=>de.call(z,H),$t=(z,H)=>Yo(z,H)>-1,gn=(z,H)=>{for(let J=0,Te=z.length;J{const J=z.length,Te=new Array(J);for(let He=0;He{for(let J=0,Te=z.length;J{const J=[];for(let Te=0,He=z.length;Te{if(z.length===0)return[];{let J=H(z[0]);const Te=[];let He=[];for(let ko=0,fn=z.length;ko(Ct(z,(Te,He)=>{J=H(J,Te,He)}),J),lt=(z,H,J)=>{for(let Te=0,He=z.length;Telt(z,H,fo),ht=z=>{const H=[];for(let J=0,Te=z.length;Jht(Bo(z,H)),uo=z=>{const H=Ze.call(z,0);return H.reverse(),H},Bt=(z,H)=>H>=0&&HBt(z,0),dt=z=>Bt(z,z.length-1),Ie=(z,H)=>{const J=[],Te=an(H)?He=>gn(J,ko=>H(ko,He)):He=>$t(J,He);for(let He=0,ko=z.length;Hez.exists(Te=>J(Te,H)),Pt=(z,H,J=co)=>lo(z,H,J).getOr(z.isNone()&&H.isNone()),lo=(z,H,J)=>z.isSome()&&H.isSome()?me.some(J(z.getOrDie(),H.getOrDie())):me.none(),To=8,oo=9,Se=11,$e=1,ct=3,gt=(z,H)=>{const Te=(H||document).createElement("div");if(Te.innerHTML=z,!Te.hasChildNodes()||Te.childNodes.length>1){const He="HTML does not have a single root node";throw console.error(He,z),new Error(He)}return We(Te.childNodes[0])},pe=(z,H)=>{const Te=(H||document).createElement(z);return We(Te)},Oe=(z,H)=>{const Te=(H||document).createTextNode(z);return We(Te)},We=z=>{if(z==null)throw new Error("Node cannot be null or undefined");return{dom:z}},ge={fromHtml:gt,fromTag:pe,fromText:Oe,fromDom:We,fromPoint:(z,H,J)=>me.from(z.dom.elementFromPoint(H,J)).map(We)},Me=(z,H)=>{const J=z.dom;if(J.nodeType!==$e)return!1;{const Te=J;if(Te.matches!==void 0)return Te.matches(H);if(Te.msMatchesSelector!==void 0)return Te.msMatchesSelector(H);if(Te.webkitMatchesSelector!==void 0)return Te.webkitMatchesSelector(H);if(Te.mozMatchesSelector!==void 0)return Te.mozMatchesSelector(H);throw new Error("Browser lacks native selectors")}},at=(z,H)=>z.dom===H.dom,ze=(z,H)=>{const J=z.dom,Te=H.dom;return J===Te?!1:J.contains(Te)},Ge=Me,Gt=typeof window<"u"?window:Function("return this;")(),Vt=(z,H)=>{let J=H??Gt;for(let Te=0;Te{const J=z.split(".");return Vt(J,H)},$o=(z,H)=>Xo(z,H),Zo=(z,H)=>{const J=$o(z,H);if(J==null)throw new Error(z+" not available on this browser");return J},Gn=Object.getPrototypeOf,Pn=z=>Zo("HTMLElement",z),zn=z=>{const H=Xo("ownerDocument.defaultView",z);return Lo(z)&&(Pn(H).prototype.isPrototypeOf(z)||/^HTML\w*Element$/.test(Gn(z).constructor.name))},ut=z=>z.dom.nodeName.toLowerCase(),zt=z=>z.dom.nodeType,Ft=z=>H=>zt(H)===z,vo=z=>zt(z)===To||ut(z)==="#comment",Xt=z=>Vo(z)&&zn(z.dom),Vo=Ft($e),$n=Ft(ct),Rr=Ft(oo),Wt=Ft(Se),vr=z=>H=>Vo(H)&&ut(H)===z,Fn=z=>ge.fromDom(z.dom.ownerDocument),ln=z=>Rr(z)?z:Fn(z),xr=z=>me.from(z.dom.parentNode).map(ge.fromDom),Ys=z=>me.from(z.dom.parentElement).map(ge.fromDom),Yr=z=>me.from(z.dom.nextSibling).map(ge.fromDom),Pa=z=>Bo(z.dom.childNodes,ge.fromDom),cs=(z,H)=>{const J=z.dom.childNodes;return me.from(J[H]).map(ge.fromDom)},Ha=z=>cs(z,0),ja=z=>cs(z,z.dom.childNodes.length-1),$s=z=>Wt(z)&&jo(z.dom.host),_a=an(Element.prototype.attachShadow)&&an(Node.prototype.getRootNode)?z=>ge.fromDom(z.dom.getRootNode()):ln,tt=z=>{const H=_a(z);return $s(H)?me.some(H):me.none()},_t=z=>ge.fromDom(z.dom.host),Mo=z=>{const H=$n(z)?z.dom.parentNode:z.dom;if(H==null||H.ownerDocument===null)return!1;const J=H.ownerDocument;return tt(ge.fromDom(H)).fold(()=>J.body.contains(H),it(Mo,_t))};var St=(z,H,J,Te,He)=>z(J,Te)?me.some(J):an(He)&&He(J)?me.none():H(J,Te,He);const zr=(z,H,J)=>{let Te=z.dom;const He=an(J)?J:fo;for(;Te.parentNode;){Te=Te.parentNode;const ko=ge.fromDom(Te);if(H(ko))return me.some(ko);if(He(ko))break}return me.none()},kr=(z,H,J)=>St((He,ko)=>ko(He),zr,z,H,J),Is=(z,H,J)=>zr(z,Te=>Me(Te,H),J),Xr=(z,H,J)=>St((He,ko)=>Me(He,ko),Is,z,H,J),gr=z=>Xr(z,"[contenteditable]"),De=(z,H=!1)=>Mo(z)?z.dom.isContentEditable:gr(z).fold(So(H),J=>Ae(J)==="true"),Ae=z=>z.dom.contentEditable,wt=(z,H)=>{xr(z).each(Te=>{Te.dom.insertBefore(H.dom,z.dom)})},It=(z,H)=>{Yr(z).fold(()=>{xr(z).each(He=>{on(He,H)})},Te=>{wt(Te,H)})},dn=(z,H)=>{Ha(z).fold(()=>{on(z,H)},Te=>{z.dom.insertBefore(H.dom,Te.dom)})},on=(z,H)=>{z.dom.appendChild(H.dom)},sr=(z,H)=>{Ct(H,J=>{wt(z,J)})},Vr=(z,H)=>{Ct(H,J=>{on(z,J)})},Br=z=>{z.dom.textContent="",Ct(Pa(z),H=>{Jo(H)})},Jo=z=>{const H=z.dom;H.parentNode!==null&&H.parentNode.removeChild(H)};var Ce=tinymce.util.Tools.resolve("tinymce.dom.RangeUtils"),Ne=tinymce.util.Tools.resolve("tinymce.dom.TreeWalker"),Zt=tinymce.util.Tools.resolve("tinymce.util.VK");const Io=z=>Bo(z,ge.fromDom),Ho=Object.keys,nn=(z,H)=>{const J=Ho(z);for(let Te=0,He=J.length;Te(H,J)=>{z[J]=H},hn=(z,H,J,Te)=>{nn(z,(He,ko)=>{(H(He,ko)?J:Te)(He,ko)})},wn=(z,H)=>{const J={};return hn(z,H,Go(J),Ue),J},Un=(z,H,J)=>{if(to(J)||Co(J)||Ao(J))z.setAttribute(H,J+"");else throw console.error("Invalid call to Attribute.set. Key ",H,":: Value ",J,":: Element ",z),new Error("Attribute value was not simple")},Ar=(z,H)=>{const J=z.dom;nn(H,(Te,He)=>{Un(J,He,Te)})},ra=z=>Je(z.dom.attributes,(H,J)=>(H[J.name]=J.value,H),{}),Xs=(z,H)=>ge.fromDom(z.dom.cloneNode(H)),Zs=z=>Xs(z,!0),mi=(z,H)=>{const J=ge.fromTag(H),Te=ra(z);return Ar(J,Te),J},Wr=(z,H)=>{const J=mi(z,H);It(z,J);const Te=Pa(z);return Vr(J,Te),Jo(z),J};var rr=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),Sr=tinymce.util.Tools.resolve("tinymce.util.Tools");const va=z=>H=>jo(H)&&H.nodeName.toLowerCase()===z,Cs=z=>H=>jo(H)&&z.test(H.nodeName),za=z=>jo(z)&&z.nodeType===3,ws=z=>jo(z)&&z.nodeType===1,As=Cs(/^(OL|UL|DL)$/),Aa=Cs(/^(OL|UL)$/),Kn=va("ol"),Os=Cs(/^(LI|DT|DD)$/),Ma=Cs(/^(DT|DD)$/),Ca=Cs(/^(TH|TD)$/),ds=va("br"),xa=z=>{var H;return((H=z.parentNode)===null||H===void 0?void 0:H.firstChild)===z},Rn=(z,H)=>jo(H)&&H.nodeName in z.schema.getTextBlockElements(),Hi=(z,H)=>jo(z)&&z.nodeName in H,Bn=(z,H)=>jo(H)&&H.nodeName in z.schema.getVoidElements(),ji=(z,H)=>ds(H)?z.isBlock(H.nextSibling)&&!ds(H.previousSibling):!1,go=(z,H,J)=>{const Te=z.isEmpty(H);return J&&z.select("span[data-mce-type=bookmark]",H).length>0?!1:Te},aa=(z,H)=>z.isChildOf(H,z.getRoot()),Ss=z=>H=>H.options.get(z),Ir=z=>{const H=z.options.register;H("lists_indent_on_tab",{processor:"boolean",default:!0})},gi=Ss("lists_indent_on_tab"),sc=Ss("forced_root_block"),Pr=Ss("forced_root_block_attrs"),ne=(z,H)=>{const J=z.dom,Te=z.schema.getBlockElements(),He=J.createFragment(),ko=sc(z),fn=Pr(z);let ir,Hn,Tn=!1;for(Hn=J.create(ko,fn),Hi(H.firstChild,Te)||He.appendChild(Hn);ir=H.firstChild;){const fa=ir.nodeName;!Tn&&(fa!=="SPAN"||ir.getAttribute("data-mce-type")!=="bookmark")&&(Tn=!0),Hi(ir,Te)?(He.appendChild(ir),Hn=null):(Hn||(Hn=J.create(ko,fn),He.appendChild(Hn)),Hn.appendChild(ir))}return!Tn&&Hn&&Hn.appendChild(J.create("br",{"data-mce-bogus":"1"})),He},Be=rr.DOM,Pe=(z,H,J)=>{const Te=Tn=>{const fa=Tn.parentNode;fa&&Sr.each(He,Ka=>{fa.insertBefore(Ka,J.parentNode)}),Be.remove(Tn)},He=Be.select('span[data-mce-type="bookmark"]',H),ko=ne(z,J),fn=Be.createRng();fn.setStartAfter(J),fn.setEndAfter(H);const ir=fn.extractContents();for(let Tn=ir.firstChild;Tn;Tn=Tn.firstChild)if(Tn.nodeName==="LI"&&z.dom.isEmpty(Tn)){Be.remove(Tn);break}z.dom.isEmpty(ir)||Be.insertAfter(ir,H),Be.insertAfter(ko,H);const Hn=J.parentElement;Hn&&go(z.dom,Hn)&&Te(Hn),Be.remove(J),go(z.dom,H)&&Be.remove(H)},Nt=vr("dd"),ho=vr("dt"),bn=(z,H)=>{Nt(H)?Wr(H,"dt"):ho(H)&&Ys(H).each(J=>Pe(z,J.dom,H.dom))},kn=z=>{ho(z)&&Wr(z,"dd")},_r=(z,H,J)=>{H==="Indent"?Ct(J,kn):Ct(J,Te=>bn(z,Te))},Or=(z,H)=>{if(za(z))return{container:z,offset:H};const J=Ce.getNode(z,H);return za(J)?{container:J,offset:H>=z.childNodes.length?J.data.length:0}:J.previousSibling&&za(J.previousSibling)?{container:J.previousSibling,offset:J.previousSibling.data.length}:J.nextSibling&&za(J.nextSibling)?{container:J.nextSibling,offset:0}:{container:z,offset:H}},Sa=z=>{const H=z.cloneRange(),J=Or(z.startContainer,z.startOffset);H.setStart(J.container,J.offset);const Te=Or(z.endContainer,z.endOffset);return H.setEnd(Te.container,Te.offset),H},ma=["OL","UL","DL"],Ga=ma.join(","),Q=(z,H)=>{const J=H||z.selection.getStart(!0);return z.dom.getParent(J,Ga,po(z,J))},Ee=(z,H)=>jo(z)&&H.length===1&&H[0]===z,bt=z=>R(z.querySelectorAll(Ga),As),wo=z=>{const H=Q(z),J=z.selection.getSelectedBlocks();return Ee(H,J)?bt(H):R(J,Te=>As(Te)&&H!==Te)},Zn=(z,H)=>{const J=Sr.map(H,Te=>{const He=z.dom.getParent(Te,"li,dd,dt",po(z,Te));return He||Te});return Ie(J)},U=z=>{const H=z.selection.getSelectedBlocks();return R(Zn(z,H),Os)},oe=z=>R(U(z),Ma),xe=(z,H)=>{const J=z.dom.getParents(H,"TD,TH");return J.length>0?J[0]:z.getBody()},xt=(z,H)=>!As(H)&&!Os(H)&&gn(ma,J=>z.isValidChild(H.nodeName,J)),po=(z,H)=>{const J=z.dom.getParents(H,z.dom.isBlock);return Mt(J,He=>xt(z.schema,He)).getOr(z.getBody())},Yn=z=>xr(z).exists(H=>Os(H.dom)&&Ha(H).exists(J=>!As(J.dom))&&ja(H).exists(J=>!As(J.dom))),ga=(z,H)=>{const J=z.dom.getParents(H,"ol,ul",po(z,H));return dt(J)},ks=z=>{const H=ga(z,z.selection.getStart()),J=R(z.selection.getSelectedBlocks(),Aa);return H.toArray().concat(J)},_i=z=>{const H=z.selection.getStart();return z.dom.getParents(H,"ol,ul",po(z,H))},Js=z=>{const H=ks(z),J=_i(z);return Mt(J,Te=>Yn(ge.fromDom(Te))).fold(()=>Vi(z,H),Te=>[Te])},Vi=(z,H)=>{const J=Bo(H,Te=>ga(z,Te).getOr(Te));return Ie(J)},Qs=z=>/\btox\-/.test(z.className),ic=(z,H)=>lt(z,As,Ca).exists(J=>J.nodeName===H&&!Qs(J)),_s=(z,H)=>H!==null&&!z.dom.isEditable(H),vc=z=>{const H=Q(z);return _s(z,H)},je=(z,H)=>{const J=z.dom.getParent(H,"ol,ul,dl");return _s(z,J)},Ll=(z,H)=>{const J=z.selection.getNode();return H({parents:z.dom.getParents(J),element:J}),z.on("NodeChange",H),()=>z.off("NodeChange",H)},pd=(z,H)=>{const Te=(H||document).createDocumentFragment();return Ct(z,He=>{Te.appendChild(He.dom)}),ge.fromDom(Te)},Ci=(z,H,J)=>z.dispatch("ListMutation",{action:H,element:J}),sa=(z=>H=>H.replace(z,""))(/^\s+|\s+$/g),lc=z=>z.length>0,ag=z=>!lc(z),Si=z=>z.style!==void 0&&an(z.style.getPropertyValue),Gc=(z,H,J)=>{if(!to(J))throw console.error("Invalid call to CSS.set. Property ",H,":: Value ",J,":: Element ",z),new Error("CSS value must be a string: "+J);Si(z)&&z.style.setProperty(H,J)},Gi=(z,H,J)=>{const Te=z.dom;Gc(Te,H,J)},Il=z=>Ge(z,"OL,UL"),Yl=z=>Ge(z,"LI"),Ki=z=>Ha(z).exists(Il),ie=z=>ja(z).exists(Il),ve=z=>"listAttributes"in z,yt=z=>"isComment"in z,Lt=z=>"isFragment"in z,yn=z=>z.depth>0,ur=z=>z.isSelected,Ra=z=>{const H=Pa(z),J=ie(z)?H.slice(0,-1):H;return Bo(J,Zs)},ei=(z,H,J)=>xr(z).filter(Vo).map(Te=>({depth:H,dirty:!1,isSelected:J,content:Ra(z),itemAttributes:ra(z),listAttributes:ra(Te),listType:ut(Te),isInPreviousLi:!1})),ia=(z,H)=>{on(z.item,H.list)},pa=z=>{for(let H=1;H{lo(dt(z),V(H),ia)},ta=(z,H)=>{const J={list:ge.fromTag(H,z),item:ge.fromTag("li",z)};return on(J.list,J.item),J},cc=(z,H,J)=>{const Te=[];for(let He=0;He{for(let J=0;J{ve(H)&&(Ar(J.list,H.listAttributes),Ar(J.item,H.itemAttributes)),Vr(J.item,H.content)})},Ei=(z,H)=>{ut(z.list)!==H.listType&&(z.list=Wr(z.list,H.listType)),Ar(z.list,H.listAttributes)},xc=(z,H,J)=>{const Te=ge.fromTag("li",z);return Ar(Te,H),Vr(Te,J),Te},Es=(z,H)=>{on(z.list,H),z.item=H},Ba=(z,H,J)=>{const Te=H.slice(0,J.depth);return dt(Te).each(He=>{if(ve(J)){const ko=xc(z,J.itemAttributes,J.content);Es(He,ko),Ei(He,J)}else if(Lt(J))Vr(He.item,J.content);else{const ko=ge.fromHtml(``);on(He.list,ko)}}),Te},Fa=(z,H,J)=>{const Te=cc(z,J,J.depth-H.length);return pa(Te),Xl(Te,J),Ps(H,Te),H.concat(Te)},ts=(z,H)=>{let J=me.none();const Te=Je(H,(He,ko,fn)=>yt(ko)?fn===0?(J=me.some(ko),He):Ba(z,He,ko):ko.depth>He.length?Fa(z,He,ko):Ba(z,He,ko),[]);return J.each(He=>{const ko=ge.fromHtml(``);V(Te).each(fn=>{dn(fn.list,ko)})}),V(Te).map(He=>He.list)},Kc=(z,H)=>{switch(z){case"Indent":H.depth++;break;case"Outdent":H.depth--;break;case"Flatten":H.depth=0}H.dirty=!0},Ua=(z,H)=>{ve(z)&&ve(H)&&(z.listType=H.listType,z.listAttributes={...H.listAttributes})},fd=z=>{z.listAttributes=wn(z.listAttributes,(H,J)=>J!=="start")},Yc=(z,H)=>{const J=z[H].depth,Te=ko=>ko.depth===J&&!ko.dirty,He=ko=>ko.depthlt(z.slice(H+1),Te,He))},nl=z=>(Ct(z,(H,J)=>{Yc(z,J).fold(()=>{H.dirty&&ve(H)&&fd(H)},Te=>Ua(H,Te))}),z),Fr=z=>{let H=z;return{get:()=>H,set:He=>{H=He}}},ti=(z,H,J,Te)=>{var He;if(vo(Te))return[{depth:z+1,content:(He=Te.dom.nodeValue)!==null&&He!==void 0?He:"",dirty:!1,isSelected:!1,isComment:!0}];H.each(ir=>{at(ir.start,Te)&&J.set(!0)});const ko=ei(Te,z,J.get());H.each(ir=>{at(ir.end,Te)&&J.set(!1)});const fn=ja(Te).filter(Il).map(ir=>hd(z,H,J,ir)).getOr([]);return ko.toArray().concat(fn)},Zd=(z,H,J,Te)=>Ha(Te).filter(Il).fold(()=>ti(z,H,J,Te),He=>{const ko=Je(Pa(Te),(fn,ir,Hn)=>{if(Hn===0)return fn;if(Yl(ir))return fn.concat(ti(z,H,J,ir));{const Tn={isFragment:!0,depth:z,content:[ir],isSelected:!1,dirty:!1,parentListType:ut(He)};return fn.concat(Tn)}},[]);return hd(z,H,J,He).concat(ko)}),hd=(z,H,J,Te)=>Rt(Pa(Te),He=>{const ko=Il(He)?hd:Zd,fn=z+1;return ko(fn,H,J,He)}),qd=(z,H)=>{const J=Fr(!1),Te=0;return Bo(z,He=>({sourceList:He,entries:hd(Te,H,J,He)}))},Yi=(z,H)=>{const J=nl(H);return Bo(J,Te=>{const He=yt(Te)?pd([ge.fromHtml(``)]):pd(Te.content);return ge.fromDom(ne(z,He.dom))})},Mc=(z,H)=>{const J=nl(H);return ts(z.contentDocument,J).toArray()},om=(z,H)=>Rt(qe(H,yn),J=>V(J).exists(yn)?Mc(z,J):Yi(z,J)),_u=(z,H)=>{Ct(R(z,ur),J=>Kc(H,J))},Wd=z=>{const H=Bo(U(z),ge.fromDom);return lo(Mt(H,Dt(Ki)),Mt(uo(H),Dt(Ki)),(J,Te)=>({start:J,end:Te}))},rl=(z,H,J)=>{const Te=qd(H,Wd(z));Ct(Te,He=>{_u(He.entries,J);const ko=om(z,He.entries);Ct(ko,fn=>{Ci(z,J==="Indent"?"IndentList":"OutdentList",fn.dom)}),sr(He.sourceList,ko),Jo(He.sourceList)})},Da=(z,H)=>{const J=Io(Js(z)),Te=Io(oe(z));let He=!1;if(J.length||Te.length){const ko=z.selection.getBookmark();rl(z,J,H),_r(z,H,Te),z.selection.moveToBookmark(ko),z.selection.setRng(Sa(z.selection.getRng())),z.nodeChanged(),He=!0}return He},Jl=(z,H)=>!vc(z)&&Da(z,H),os=z=>Jl(z,"Indent"),Dc=z=>Jl(z,"Outdent"),dc=z=>Jl(z,"Flatten"),bd="\uFEFF",Ea=z=>z===bd,_l=(z,H,J)=>zr(z,H,J).isSome(),Xc=(z,H)=>_l(z,he(at,H));var yd=tinymce.util.Tools.resolve("tinymce.dom.BookmarkManager");const wc=rr.DOM,Jc=z=>{const H={},J=Te=>{let He=z[Te?"startContainer":"endContainer"],ko=z[Te?"startOffset":"endOffset"];if(ws(He)){const fn=wc.create("span",{"data-mce-type":"bookmark"});He.hasChildNodes()?(ko=Math.min(ko,He.childNodes.length-1),Te?He.insertBefore(fn,He.childNodes[ko]):wc.insertAfter(fn,He.childNodes[ko])):He.appendChild(fn),He=fn,ko=0}H[Te?"startContainer":"endContainer"]=He,H[Te?"startOffset":"endOffset"]=ko};return J(!0),z.collapsed||J(),H},Gd=z=>{const H=Te=>{const He=ir=>{var Hn;let Tn=(Hn=ir.parentNode)===null||Hn===void 0?void 0:Hn.firstChild,fa=0;for(;Tn;){if(Tn===ir)return fa;(!ws(Tn)||Tn.getAttribute("data-mce-type")!=="bookmark")&&fa++,Tn=Tn.nextSibling}return-1};let ko=z[Te?"startContainer":"endContainer"],fn=z[Te?"startOffset":"endOffset"];if(ko){if(ws(ko)&&ko.parentNode){const ir=ko;fn=He(ko),ko=ko.parentNode,wc.remove(ir),!ko.hasChildNodes()&&wc.isBlock(ko)&&ko.appendChild(wc.create("br"))}z[Te?"startContainer":"endContainer"]=ko,z[Te?"startOffset":"endOffset"]=fn}};H(!0),H();const J=wc.createRng();return J.setStart(z.startContainer,z.startOffset),z.endContainer&&J.setEnd(z.endContainer,z.endOffset),Sa(J)},vd=z=>{switch(z){case"UL":return"ToggleUlList";case"OL":return"ToggleOlList";case"DL":return"ToggleDLList"}},pi=(z,H,J)=>{const Te=J["list-style-type"]?J["list-style-type"]:null;z.setStyle(H,"list-style-type",Te)},Cn=(z,H)=>{Sr.each(H,(J,Te)=>{z.setAttribute(Te,J)})},Ql=(z,H,J)=>{Cn(H,J["list-attributes"]),Sr.each(z.select("li",H),Te=>{Cn(Te,J["list-item-attributes"])})},ec=(z,H,J)=>{pi(z,H,J),Ql(z,H,J)},yp=(z,H,J)=>{Sr.each(J,Te=>z.setStyle(H,Te,""))},Kd=(z,H)=>jo(H)&&!Hi(H,z.schema.getBlockElements()),Cl=(z,H,J,Te)=>{let He=H[J?"startContainer":"endContainer"];const ko=H[J?"startOffset":"endOffset"];ws(He)&&(He=He.childNodes[Math.min(ko,He.childNodes.length-1)]||He),!J&&ds(He.nextSibling)&&(He=He.nextSibling);const fn=Hn=>{for(;!z.dom.isBlock(Hn)&&Hn.parentNode&&Te!==Hn;)Hn=Hn.parentNode;return Hn},ir=(Hn,Tn)=>{var fa;const Ka=new Ne(Hn,fn(Hn)),Ni=Tn?"next":"prev";let td;for(;td=Ka[Ni]();)if(!(Bn(z,td)||Ea(td.textContent)||((fa=td.textContent)===null||fa===void 0?void 0:fa.length)===0))return me.some(td);return me.none()};if(J&&za(He))if(Ea(He.textContent))He=ir(He,!1).getOr(He);else for(He.parentNode!==null&&Kd(z,He.parentNode)&&(He=He.parentNode);He.previousSibling!==null&&(Kd(z,He.previousSibling)||za(He.previousSibling));)He=He.previousSibling;if(!J&&za(He))if(Ea(He.textContent))He=ir(He,!0).getOr(He);else for(He.parentNode!==null&&Kd(z,He.parentNode)&&(He=He.parentNode);He.nextSibling!==null&&(Kd(z,He.nextSibling)||za(He.nextSibling));)He=He.nextSibling;for(;He.parentNode!==Te;){const Hn=He.parentNode;if(Rn(z,He)||/^(TD|TH)$/.test(Hn.nodeName))return He;He=Hn}return He},nm=(z,H,J)=>{const Te=[],He=z.dom,ko=Cl(z,H,!0,J),fn=Cl(z,H,!1,J);let ir;const Hn=[];for(let Tn=ko;Tn&&(Hn.push(Tn),Tn!==fn);Tn=Tn.nextSibling);return Sr.each(Hn,Tn=>{var fa;if(Rn(z,Tn)){Te.push(Tn),ir=null;return}if(He.isBlock(Tn)||ds(Tn)){ds(Tn)&&He.remove(Tn),ir=null;return}const Ka=Tn.nextSibling;if(yd.isBookmarkNode(Tn)&&(As(Ka)||Rn(z,Ka)||!Ka&&Tn.parentNode===J)){ir=null;return}ir||(ir=He.create("p"),(fa=Tn.parentNode)===null||fa===void 0||fa.insertBefore(ir,Tn),Te.push(ir)),ir.appendChild(Tn)}),Te},rm=(z,H,J)=>{const Te=z.getStyle(H,"list-style-type");let He=J?J["list-style-type"]:"";return He=He===null?"":He,Te===He},wa=(z,H)=>{const J=z.selection.getStart(!0),Te=Cl(z,H,!0,z.getBody());return Xc(ge.fromDom(Te),ge.fromDom(H.commonAncestorContainer))?H.commonAncestorContainer:J},Qc=(z,H,J)=>{const Te=z.selection.getRng();let He="LI";const ko=po(z,wa(z,Te)),fn=z.dom;if(fn.getContentEditable(z.selection.getNode())==="false")return;H=H.toUpperCase(),H==="DL"&&(He="DT");const ir=Jc(Te),Hn=R(nm(z,Te,ko),z.dom.isEditable);Sr.each(Hn,Tn=>{let fa;const Ka=Tn.previousSibling,Ni=Tn.parentNode;Os(Ni)||(Ka&&As(Ka)&&Ka.nodeName===H&&rm(fn,Ka,J)?(fa=Ka,Tn=fn.rename(Tn,He),Ka.appendChild(Tn)):(fa=fn.create(H),Ni.insertBefore(fa,Tn),fa.appendChild(Tn),Tn=fn.rename(Tn,He)),yp(fn,Tn,["margin","margin-right","margin-bottom","margin-left","margin-top","padding","padding-right","padding-bottom","padding-left","padding-top"]),ec(fn,fa,J),Ti(z.dom,fa))}),z.selection.setRng(Gd(ir))},Ns=(z,H)=>As(z)&&z.nodeName===H?.nodeName,kc=(z,H,J)=>{const Te=z.getStyle(H,"list-style-type",!0),He=z.getStyle(J,"list-style-type",!0);return Te===He},Rm=(z,H)=>z.className===H.className,rn=(z,H,J)=>Ns(H,J)&&kc(z,H,J)&&Rm(H,J),Ti=(z,H)=>{let J,Te=H.nextSibling;if(rn(z,H,Te)){const He=Te;for(;J=He.firstChild;)H.appendChild(J);z.remove(He)}if(Te=H.previousSibling,rn(z,H,Te)){const He=Te;for(;J=He.lastChild;)H.insertBefore(J,H.firstChild);z.remove(He)}},Cu=(z,H,J,Te)=>{if(H.nodeName!==J){const He=z.dom.rename(H,J);ec(z.dom,He,Te),Ci(z,vd(J),He)}else ec(z.dom,H,Te),Ci(z,vd(J),H)},ka=(z,H,J,Te)=>{if(H.classList.forEach((He,ko,fn)=>{He.startsWith("tox-")&&(fn.remove(He),fn.length===0&&H.removeAttribute("class"))}),H.nodeName!==J){const He=z.dom.rename(H,J);ec(z.dom,He,Te),Ci(z,vd(J),He)}else ec(z.dom,H,Te),Ci(z,vd(J),H)},Sl=(z,H,J,Te,He)=>{const ko=As(H);if(ko&&H.nodeName===Te&&!fi(He)&&!Qs(H))dc(z);else{Qc(z,Te,He);const fn=Jc(z.selection.getRng()),ir=ko?[H,...J]:J,Hn=ko&&Qs(H)?ka:Cu;Sr.each(ir,Tn=>{Hn(z,Tn,Te,He)}),z.selection.setRng(Gd(fn))}},fi=z=>"list-style-type"in z,El=(z,H,J,Te)=>{if(H!==z.getBody())if(H)if(H.nodeName===J&&!fi(Te)&&!Qs(H))dc(z);else{const He=Jc(z.selection.getRng());Qs(H)&&H.classList.forEach((fn,ir,Hn)=>{fn.startsWith("tox-")&&(Hn.remove(fn),Hn.length===0&&H.removeAttribute("class"))}),ec(z.dom,H,Te);const ko=z.dom.rename(H,J);Ti(z.dom,ko),z.selection.setRng(Gd(He)),Qc(z,J,Te),Ci(z,vd(J),ko)}else Qc(z,J,Te),Ci(z,vd(J),H)},Ms=(z,H,J)=>{const Te=Q(z);if(je(z,Te))return;const He=wo(z),ko=Lo(J)?J:{};He.length>0?Sl(z,Te,He,H,ko):El(z,Te,H,ko)},Su=rr.DOM,oi=(z,H)=>{const J=H.parentElement;if(J&&J.nodeName==="LI"&&J.firstChild===H){const Te=J.previousSibling;Te&&Te.nodeName==="LI"?(Te.appendChild(H),go(z,J)&&Su.remove(J)):Su.setStyle(J,"listStyleType","none")}if(As(J)){const Te=J.previousSibling;Te&&Te.nodeName==="LI"&&Te.appendChild(H)}},ao=(z,H)=>{const J=Sr.grep(z.select("ol,ul",H));Sr.each(J,Te=>{oi(z,Te)})},Eu=(z,H,J,Te)=>{let He=H.startContainer;const ko=H.startOffset;if(za(He)&&(J?ko0))return He;const fn=z.schema.getNonEmptyElements();ws(He)&&(He=Ce.getNode(He,ko));const ir=new Ne(He,Te);J&&ji(z.dom,He)&&ir.next();const Hn=J?ir.next.bind(ir):ir.prev2.bind(ir);for(;He=Hn();)if(He.nodeName==="LI"&&!He.hasChildNodes()||fn[He.nodeName]||za(He)&&He.data.length>0)return He;return null},Yt=(z,H)=>{const J=H.childNodes;return J.length===1&&!As(J[0])&&z.isBlock(J[0])},ni=z=>me.from(z).map(ge.fromDom).filter(Xt).exists(H=>De(H)&&!$t(["details"],ut(H))),xd=(z,H)=>{Yt(z,H)&&ni(H.firstChild)&&z.remove(H.firstChild,!0)},us=(z,H,J)=>{let Te;const He=Yt(z,J)?J.firstChild:J;if(xd(z,H),!go(z,H,!0))for(;Te=H.firstChild;)He.appendChild(Te)},da=(z,H,J)=>{let Te;const He=H.parentNode;if(!aa(z,H)||!aa(z,J))return;As(J.lastChild)&&(Te=J.lastChild),He===J.lastChild&&ds(He.previousSibling)&&z.remove(He.previousSibling);const ko=J.lastChild;ko&&ds(ko)&&H.hasChildNodes()&&z.remove(ko),go(z,J,!0)&&Br(ge.fromDom(J)),us(z,H,J),Te&&J.appendChild(Te);const ir=ze(ge.fromDom(J),ge.fromDom(H))?z.getParents(H,As,J):[];z.remove(H),Ct(ir,Hn=>{go(z,Hn)&&Hn!==z.getRoot()&&z.remove(Hn)})},ml=(z,H,J)=>{Br(ge.fromDom(J)),da(z.dom,H,J),z.selection.setCursorLocation(J,0)},zi=(z,H,J,Te)=>{const He=z.dom;if(He.isEmpty(Te))ml(z,J,Te);else{const ko=Jc(H);da(He,J,Te),z.selection.setRng(Gd(ko))}},Oa=(z,H,J,Te)=>{const He=Jc(H);da(z.dom,J,Te);const ko=Gd(He);z.selection.setRng(ko)},al=(z,H)=>{const J=z.dom,Te=z.selection,He=Te.getStart(),ko=xe(z,He),fn=J.getParent(Te.getStart(),"LI",ko);if(fn){const ir=fn.parentElement;if(ir===z.getBody()&&go(J,ir))return!0;const Hn=Sa(Te.getRng()),Tn=J.getParent(Eu(z,Hn,H,ko),"LI",ko),fa=Tn&&(H?J.isChildOf(fn,Tn):J.isChildOf(Tn,fn));if(Tn&&Tn!==fn&&!fa)return z.undoManager.transact(()=>{H?zi(z,Hn,Tn,fn):xa(fn)?Dc(z):Oa(z,Hn,fn,Tn)}),!0;if(fa&&!H&&Tn!==fn)return z.undoManager.transact(()=>{if(Hn.commonAncestorContainer.parentElement){const Ka=Jc(Hn),Ni=Hn.commonAncestorContainer.parentElement;us(J,Hn.commonAncestorContainer.parentElement,Tn),Ni.remove();const td=Gd(Ka);z.selection.setRng(td)}}),!0;if(!Tn&&!H&&Hn.startOffset===0&&Hn.endOffset===0)return z.undoManager.transact(()=>{dc(z)}),!0}return!1},la=(z,H,J)=>{const Te=z.getParent(H.parentNode,z.isBlock,J);z.remove(H),Te&&z.isEmpty(Te)&&z.remove(Te)},$i=(z,H)=>{const J=z.dom,Te=z.selection.getStart(),He=xe(z,Te),ko=J.getParent(Te,J.isBlock,He);if(ko&&J.isEmpty(ko)){const fn=Sa(z.selection.getRng()),ir=J.getParent(Eu(z,fn,H,He),"LI",He);if(ir){const Hn=Ni=>$t(["td","th","caption"],ut(Ni)),Tn=Ni=>Ni.dom===He,fa=kr(ge.fromDom(ir),Hn,Tn),Ka=kr(ge.fromDom(fn.startContainer),Hn,Tn);return Pt(fa,Ka,at)?(z.undoManager.transact(()=>{const Ni=ir.parentNode;la(J,ko,He),Ti(J,Ni),z.selection.select(ir,!0),z.selection.collapse(H)}),!0):!1}}return!1},Yd=(z,H)=>al(z,H)||$i(z,H),Hs=z=>{const H=z.selection.getStart(),J=xe(z,H);return z.dom.getParent(H,"LI,DT,DD",J)||U(z).length>0},sg=z=>Hs(z)?(z.undoManager.transact(()=>{z.execCommand("Delete"),ao(z.dom,z.getBody())}),!0):!1,Tl=(z,H)=>{const J=z.selection;return!je(z,J.getNode())&&(J.isCollapsed()?Yd(z,H):sg(z))},ns=z=>{z.on("ExecCommand",H=>{const J=H.command.toLowerCase();(J==="delete"||J==="forwarddelete")&&Hs(z)&&ao(z.dom,z.getBody())}),z.on("keydown",H=>{H.keyCode===Zt.BACKSPACE?Tl(z,!1)&&H.preventDefault():H.keyCode===Zt.DELETE&&Tl(z,!0)&&H.preventDefault()})},gl=z=>({backspaceDelete:H=>{Tl(z,H)}}),ft=(z,H)=>{const J=Q(z);J===null||je(z,J)||z.undoManager.transact(()=>{Lo(H.styles)&&z.dom.setStyles(J,H.styles),Lo(H.attrs)&&nn(H.attrs,(Te,He)=>z.dom.setAttrib(J,He,Te))})},Ai=z=>{const H=uo(sa(z).split("")),J=Bo(H,(Te,He)=>{const ko=Te.toUpperCase().charCodeAt(0)-65+1;return Math.pow(26,He)*ko});return Je(J,(Te,He)=>Te+He,0)},wd=z=>{if(z--,z<0)return"";{const H=z%26,J=Math.floor(z/26),Te=wd(J),He=String.fromCharCode(65+H);return Te+He}},zl=z=>/^[A-Z]+$/.test(z),pl=z=>/^[a-z]+$/.test(z),ri=z=>/^[0-9]+$/.test(z),hs=z=>ri(z)?2:zl(z)?0:pl(z)?1:ag(z)?3:4,uc=z=>{switch(hs(z)){case 2:return me.some({listStyleType:me.none(),start:z});case 0:return me.some({listStyleType:me.some("upper-alpha"),start:Ai(z).toString()});case 1:return me.some({listStyleType:me.some("lower-alpha"),start:Ai(z).toString()});case 3:return me.some({listStyleType:me.none(),start:""});case 4:return me.none()}},Bm=z=>{const H=parseInt(z.start,10);return _o(z.listStyleType,"upper-alpha")?wd(H):_o(z.listStyleType,"lower-alpha")?wd(H).toLowerCase():z.start},Sn=z=>{const H=Q(z);!Kn(H)||je(z,H)||z.windowManager.open({title:"List Properties",body:{type:"panel",items:[{type:"input",name:"start",label:"Start list at number",inputMode:"numeric"}]},initialData:{start:Bm({start:z.dom.getAttrib(H,"start","1"),listStyleType:me.from(z.dom.getStyle(H,"list-style-type"))})},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],onSubmit:J=>{const Te=J.getData();uc(Te.start).each(He=>{z.execCommand("mceListUpdate",!1,{attrs:{start:He.start==="1"?"":He.start},styles:{"list-style-type":He.listStyleType.getOr("")}})}),J.close()}})},Ui=(z,H)=>()=>{const J=Q(z);return jo(J)&&J.nodeName===H},Xi=z=>{z.addCommand("mceListProps",()=>{Sn(z)})},Oi=z=>{z.on("BeforeExecCommand",H=>{const J=H.command.toLowerCase();J==="indent"?os(z):J==="outdent"&&Dc(z)}),z.addCommand("InsertUnorderedList",(H,J)=>{Ms(z,"UL",J)}),z.addCommand("InsertOrderedList",(H,J)=>{Ms(z,"OL",J)}),z.addCommand("InsertDefinitionList",(H,J)=>{Ms(z,"DL",J)}),z.addCommand("RemoveList",()=>{dc(z)}),Xi(z),z.addCommand("mceListUpdate",(H,J)=>{Lo(J)&&ft(z,J)}),z.addQueryStateHandler("InsertUnorderedList",Ui(z,"UL")),z.addQueryStateHandler("InsertOrderedList",Ui(z,"OL")),z.addQueryStateHandler("InsertDefinitionList",Ui(z,"DL"))};var Za=tinymce.util.Tools.resolve("tinymce.html.Node");const _c=z=>z.type===3,qs=z=>z.length===0,Tu=z=>{const H=(He,ko)=>{const fn=Za.create("li");Ct(He,ir=>fn.append(ir)),ko?z.insert(fn,ko,!0):z.append(fn)},J=(He,ko)=>_c(ko)?[...He,ko]:!qs(He)&&!_c(ko)?(H(He,ko),[]):He,Te=Je(z.children(),J,[]);qs(Te)||H(Te)},kd=z=>{z.on("PreInit",()=>{const{parser:H}=z;H.addNodeFilter("ul,ol",J=>Ct(J,Tu))})},Pl=z=>{z.on("keydown",H=>{H.keyCode!==Zt.TAB||Zt.metaKeyPressed(H)||z.undoManager.transact(()=>{(H.shiftKey?Dc(z):os(z))&&H.preventDefault()})})},bs=z=>{gi(z)&&Pl(z),ns(z)},Ws=(z,H)=>J=>{const Te=He=>{J.setActive(ic(He.parents,H)),J.setEnabled(!je(z,He.element)&&z.selection.isEditable())};return J.setEnabled(z.selection.isEditable()),Ll(z,Te)},ed=z=>{const H=J=>()=>z.execCommand(J);z.hasPlugin("advlist")||(z.ui.registry.addToggleButton("numlist",{icon:"ordered-list",active:!1,tooltip:"Numbered list",onAction:H("InsertOrderedList"),onSetup:Ws(z,"OL")}),z.ui.registry.addToggleButton("bullist",{icon:"unordered-list",active:!1,tooltip:"Bullet list",onAction:H("InsertUnorderedList"),onSetup:Ws(z,"UL")}))},Hl=(z,H)=>J=>Ll(z,He=>J.setEnabled(ic(He.parents,H)&&!je(z,He.element))),_d=z=>{const H={text:"List properties...",icon:"ordered-list",onAction:()=>z.execCommand("mceListProps"),onSetup:Hl(z,"OL")};z.ui.registry.addMenuItem("listprops",H),z.ui.registry.addContextMenu("lists",{update:J=>{const Te=Q(z,J);return Kn(Te)?["listprops"]:[]}})};var ai=()=>{xo.add("lists",z=>(Ir(z),kd(z),z.hasPlugin("rtc",!0)?Xi(z):(bs(z),Oi(z)),ed(z),_d(z),gl(z)))};ai()})();(function(){var xo=tinymce.util.Tools.resolve("tinymce.PluginManager");const Ko=(De,Ae,wt)=>{var It;return wt(De,Ae.prototype)?!0:((It=De.constructor)===null||It===void 0?void 0:It.name)===Ae.name},Po=De=>{const Ae=typeof De;return De===null?"null":Ae==="object"&&Array.isArray(De)?"array":Ae==="object"&&Ko(De,String,(wt,It)=>It.isPrototypeOf(wt))?"string":Ae},en=De=>Ae=>Po(Ae)===De,tn=en("string"),to=en("object"),Lo=en("array"),jt=De=>De==null,Co=De=>!jt(De);class Ro{constructor(Ae,wt){this.tag=Ae,this.value=wt}static some(Ae){return new Ro(!0,Ae)}static none(){return Ro.singletonNone}fold(Ae,wt){return this.tag?wt(this.value):Ae()}isSome(){return this.tag}isNone(){return!this.tag}map(Ae){return this.tag?Ro.some(Ae(this.value)):Ro.none()}bind(Ae){return this.tag?Ae(this.value):Ro.none()}exists(Ae){return this.tag&&Ae(this.value)}forall(Ae){return!this.tag||Ae(this.value)}filter(Ae){return!this.tag||Ae(this.value)?this:Ro.none()}getOr(Ae){return this.tag?this.value:Ae}or(Ae){return this.tag?this:Ae}getOrThunk(Ae){return this.tag?this.value:Ae()}orThunk(Ae){return this.tag?this:Ae()}getOrDie(Ae){if(this.tag)return this.value;throw new Error(Ae??"Called getOrDie on None")}static from(Ae){return Co(Ae)?Ro.some(Ae):Ro.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(Ae){this.tag&&Ae(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}Ro.singletonNone=new Ro(!1);const jo=Array.prototype.push,an=(De,Ae)=>{for(let wt=0,It=De.length;wt{const Ae=[];for(let wt=0,It=De.length;wt{let Ae=De;return{get:()=>Ae,set:dn=>{Ae=dn}}},it=Object.keys,So=Object.hasOwnProperty,co=(De,Ae)=>{const wt=it(De);for(let It=0,dn=wt.length;ItDt(De,Ae)?Ro.from(De[Ae]):Ro.none(),Dt=(De,Ae)=>So.call(De,Ae),fo=De=>Ae=>Ae.options.get(De),me=De=>{const Ae=De.options.register;Ae("audio_template_callback",{processor:"function"}),Ae("video_template_callback",{processor:"function"}),Ae("iframe_template_callback",{processor:"function"}),Ae("media_live_embeds",{processor:"boolean",default:!0}),Ae("media_filter_html",{processor:"boolean",default:!0}),Ae("media_url_resolver",{processor:"function"}),Ae("media_alt_source",{processor:"boolean",default:!0}),Ae("media_poster",{processor:"boolean",default:!0}),Ae("media_dimensions",{processor:"boolean",default:!0})},Ze=fo("audio_template_callback"),de=fo("video_template_callback"),rt=fo("iframe_template_callback"),Yo=fo("media_live_embeds"),$t=fo("media_filter_html"),gn=fo("media_url_resolver"),Bo=fo("media_alt_source"),Ct=fo("media_poster"),R=fo("media_dimensions");var qe=tinymce.util.Tools.resolve("tinymce.util.Tools"),Je=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),lt=tinymce.util.Tools.resolve("tinymce.html.DomParser");const Mt=Je.DOM,ht=De=>De.replace(/px$/,""),Rt=De=>{const Ae=De.attr("style"),wt=Ae?Mt.parseStyle(Ae):{};return{type:"ephox-embed-iri",source:De.attr("data-ephox-embed-iri"),altsource:"",poster:"",width:he(wt,"max-width").map(ht).getOr(""),height:he(wt,"max-height").map(ht).getOr("")}},uo=(De,Ae)=>{let wt={};const dn=lt({validate:!1,forced_root_block:!1},Ae).parse(De);for(let on=dn;on;on=on.walk())if(on.type===1){const sr=on.name;if(on.attr("data-ephox-embed-iri")){wt=Rt(on);break}else!wt.source&&sr==="param"&&(wt.source=on.attr("movie")),(sr==="iframe"||sr==="object"||sr==="embed"||sr==="video"||sr==="audio")&&(wt.type||(wt.type=sr),wt=qe.extend(on.attributes.map,wt)),sr==="source"&&(wt.source?wt.altsource||(wt.altsource=on.attr("src")):wt.source=on.attr("src")),sr==="img"&&!wt.poster&&(wt.poster=on.attr("src"))}return wt.source=wt.source||wt.src||"",wt.altsource=wt.altsource||"",wt.poster=wt.poster||"",wt},Bt=De=>{var Ae;const wt={mp3:"audio/mpeg",m4a:"audio/x-m4a",wav:"audio/wav",mp4:"video/mp4",webm:"video/webm",ogg:"video/ogg",swf:"application/x-shockwave-flash"},It=(Ae=De.toLowerCase().split(".").pop())!==null&&Ae!==void 0?Ae:"";return he(wt,It).getOr("")};var V=tinymce.util.Tools.resolve("tinymce.html.Node"),dt=tinymce.util.Tools.resolve("tinymce.html.Serializer");const Ie=(De,Ae={})=>lt({forced_root_block:!1,validate:!1,allow_conditional_comments:!0,...Ae},De),_o=Je.DOM,Pt=De=>/^[0-9.]+$/.test(De)?De+"px":De,lo=(De,Ae)=>{const wt=Ae.attr("style"),It=wt?_o.parseStyle(wt):{};Co(De.width)&&(It["max-width"]=Pt(De.width)),Co(De.height)&&(It["max-height"]=Pt(De.height)),Ae.attr("style",_o.serializeStyle(It))},To=["source","altsource"],oo=(De,Ae,wt,It)=>{let dn=0,on=0;const sr=Ie(It);sr.addNodeFilter("source",Br=>dn=Br.length);const Vr=sr.parse(De);for(let Br=Vr;Br;Br=Br.walk())if(Br.type===1){const Jo=Br.name;if(Br.attr("data-ephox-embed-iri")){lo(Ae,Br);break}else{switch(Jo){case"video":case"object":case"embed":case"img":case"iframe":Ae.height!==void 0&&Ae.width!==void 0&&(Br.attr("width",Ae.width),Br.attr("height",Ae.height));break}if(wt)switch(Jo){case"video":Br.attr("poster",Ae.poster),Br.attr("src",null);for(let Ne=dn;Ne<2;Ne++)if(Ae[To[Ne]]){const Zt=new V("source",1);Zt.attr("src",Ae[To[Ne]]),Zt.attr("type",Ae[To[Ne]+"mime"]||null),Br.append(Zt)}break;case"iframe":Br.attr("src",Ae.source);break;case"object":const Ce=Br.getAll("img").length>0;if(Ae.poster&&!Ce){Br.attr("src",Ae.poster);const Ne=new V("img",1);Ne.attr("src",Ae.poster),Ne.attr("width",Ae.width),Ne.attr("height",Ae.height),Br.append(Ne)}break;case"source":if(on<2&&(Br.attr("src",Ae[To[on]]),Br.attr("type",Ae[To[on]+"mime"]||null),!Ae[To[on]])){Br.remove();continue}on++;break;case"img":Ae.poster||Br.remove();break}}}return dt({},It).serialize(Vr)},Se=[{regex:/youtu\.be\/([\w\-_\?&=.]+)/i,type:"iframe",w:560,h:314,url:"www.youtube.com/embed/$1",allowFullscreen:!0},{regex:/youtube\.com(.+)v=([^&]+)(&([a-z0-9&=\-_]+))?/i,type:"iframe",w:560,h:314,url:"www.youtube.com/embed/$2?$4",allowFullscreen:!0},{regex:/youtube.com\/embed\/([a-z0-9\?&=\-_]+)/i,type:"iframe",w:560,h:314,url:"www.youtube.com/embed/$1",allowFullscreen:!0},{regex:/vimeo\.com\/([0-9]+)\?h=(\w+)/,type:"iframe",w:425,h:350,url:"player.vimeo.com/video/$1?h=$2&title=0&byline=0&portrait=0&color=8dc7dc",allowFullscreen:!0},{regex:/vimeo\.com\/(.*)\/([0-9]+)\?h=(\w+)/,type:"iframe",w:425,h:350,url:"player.vimeo.com/video/$2?h=$3&title=0&byline=0",allowFullscreen:!0},{regex:/vimeo\.com\/([0-9]+)/,type:"iframe",w:425,h:350,url:"player.vimeo.com/video/$1?title=0&byline=0&portrait=0&color=8dc7dc",allowFullscreen:!0},{regex:/vimeo\.com\/(.*)\/([0-9]+)/,type:"iframe",w:425,h:350,url:"player.vimeo.com/video/$2?title=0&byline=0",allowFullscreen:!0},{regex:/maps\.google\.([a-z]{2,3})\/maps\/(.+)msid=(.+)/,type:"iframe",w:425,h:350,url:'maps.google.com/maps/ms?msid=$2&output=embed"',allowFullscreen:!1},{regex:/dailymotion\.com\/video\/([^_]+)/,type:"iframe",w:480,h:270,url:"www.dailymotion.com/embed/video/$1",allowFullscreen:!0},{regex:/dai\.ly\/([^_]+)/,type:"iframe",w:480,h:270,url:"www.dailymotion.com/embed/video/$1",allowFullscreen:!0}],$e=De=>{const Ae=De.match(/^(https?:\/\/|www\.)(.+)$/i);return Ae&&Ae.length>1?Ae[1]==="www."?"https://":Ae[1]:"https://"},ct=(De,Ae)=>{const wt=$e(Ae),It=De.regex.exec(Ae);let dn=wt+De.url;if(Co(It))for(let on=0;onIt[on]?It[on]:"");return dn.replace(/\?$/,"")},gt=De=>{const Ae=Se.filter(wt=>wt.regex.test(De));return Ae.length>0?qe.extend({},Ae[0],{url:ct(Ae[0],De)}):null},pe=(De,Ae)=>{if(Ae)return Ae(De);{const wt=De.allowfullscreen?' allowFullscreen="1"':"";return'"}},Oe=De=>{let Ae='';return De.poster&&(Ae+=''),Ae+="",Ae},We=(De,Ae)=>Ae?Ae(De):'",Fe=(De,Ae)=>Ae?Ae(De):'",ge=(De,Ae)=>{var wt;const It=qe.extend({},Ae);if(!It.source&&(qe.extend(It,uo((wt=It.embed)!==null&&wt!==void 0?wt:"",De.schema)),!It.source))return"";It.altsource||(It.altsource=""),It.poster||(It.poster=""),It.source=De.convertURL(It.source,"source"),It.altsource=De.convertURL(It.altsource,"source"),It.sourcemime=Bt(It.source),It.altsourcemime=Bt(It.altsource),It.poster=De.convertURL(It.poster,"poster");const dn=gt(It.source);if(dn&&(It.source=dn.url,It.type=dn.type,It.allowfullscreen=dn.allowFullscreen,It.width=It.width||String(dn.w),It.height=It.height||String(dn.h)),It.embed)return oo(It.embed,It,!0,De.schema);{const on=Ze(De),sr=de(De),Vr=rt(De);return It.width=It.width||"300",It.height=It.height||"150",qe.each(It,(Br,Jo)=>{It[Jo]=De.dom.encode(""+Br)}),It.type==="iframe"?pe(It,Vr):It.sourcemime==="application/x-shockwave-flash"?Oe(It):It.sourcemime.indexOf("audio")!==-1?We(It,on):Fe(It,sr)}},Me=De=>De.hasAttribute("data-mce-object")||De.hasAttribute("data-ephox-embed-iri"),at=De=>{De.on("click keyup touchend",()=>{const Ae=De.selection.getNode();Ae&&De.dom.hasClass(Ae,"mce-preview-object")&&De.dom.getAttrib(Ae,"data-mce-selected")&&Ae.setAttribute("data-mce-selected","2")}),De.on("ObjectResized",Ae=>{const wt=Ae.target;if(wt.getAttribute("data-mce-object")){let It=wt.getAttribute("data-mce-html");It&&(It=unescape(It),wt.setAttribute("data-mce-html",escape(oo(It,{width:String(Ae.width),height:String(Ae.height)},!1,De.schema))))}})},ze={},Ge=(De,Ae,wt)=>new Promise((It,dn)=>{const on=sr=>(sr.html&&(ze[De.source]=sr),It({url:De.source,html:sr.html?sr.html:Ae(De)}));ze[De.source]?on(ze[De.source]):wt({url:De.source},on,dn)}),Gt=(De,Ae)=>Promise.resolve({html:Ae(De),url:De.source}),Vt=De=>Ae=>ge(De,Ae),Xo=(De,Ae)=>{const wt=gn(De);return wt?Ge(Ae,Vt(De),wt):Gt(Ae,Vt(De))},$o=De=>Dt(ze,De),Zo=(De,Ae)=>he(Ae,De).bind(wt=>he(wt,"meta")),Gn=(De,Ae,wt)=>It=>{const dn=()=>he(De,It),on=()=>he(Ae,It),sr=Jo=>he(Jo,"value").bind(Ce=>Ce.length>0?Ro.some(Ce):Ro.none()),Vr=()=>dn().bind(Jo=>to(Jo)?sr(Jo).orThunk(on):on().orThunk(()=>Ro.from(Jo))),Br=()=>on().orThunk(()=>dn().bind(Jo=>to(Jo)?sr(Jo):Ro.from(Jo)));return{[It]:(It===wt?Vr():Br()).getOr("")}},Pn=(De,Ae)=>{const wt={};return he(De,"dimensions").each(It=>{an(["width","height"],dn=>{he(Ae,dn).orThunk(()=>he(It,dn)).each(on=>wt[dn]=on)})}),wt},zn=(De,Ae)=>{const wt=Ae&&Ae!=="dimensions"?Zo(Ae,De).getOr({}):{},It=Gn(De,wt,Ae);return{...It("source"),...It("altsource"),...It("poster"),...It("embed"),...Pn(De,wt)}},ut=De=>{const Ae={...De,source:{value:he(De,"source").getOr("")},altsource:{value:he(De,"altsource").getOr("")},poster:{value:he(De,"poster").getOr("")}};return an(["width","height"],wt=>{he(De,wt).each(It=>{const dn=Ae.dimensions||{};dn[wt]=It,Ae.dimensions=dn})}),Ae},zt=De=>Ae=>{const wt=Ae&&Ae.msg?"Media embed handler error: "+Ae.msg:"Media embed handler threw unknown error.";De.notificationManager.open({type:"error",text:wt})},Ft=De=>{const Ae=De.selection.getNode(),wt=Me(Ae)?De.serializer.serialize(Ae,{selection:!0}):"",It=uo(wt,De.schema),on=(()=>{if($n(It.source,It.type)){const sr=De.dom.getRect(Ae);return{width:sr.w.toString().replace(/px$/,""),height:sr.h.toString().replace(/px$/,"")}}else return{}})();return{embed:wt,...It,...on}},vo=(De,Ae)=>wt=>{if(tn(wt.url)&&wt.url.trim().length>0){const It=wt.html,on={...uo(It,Ae.schema),source:wt.url,embed:It};De.setData(ut(on))}},Xt=(De,Ae)=>{const wt=De.dom.select("*[data-mce-object]");for(let It=0;It=0;dn--)Ae[It]===wt[dn]&&wt.splice(dn,1);De.selection.select(wt[0])},Vo=(De,Ae)=>{const wt=De.dom.select("*[data-mce-object]");De.insertContent(Ae),Xt(De,wt),De.nodeChanged()},$n=(De,Ae)=>Co(Ae)&&Ae==="ephox-embed-iri"&&Co(gt(De)),Rr=(De,Ae)=>((It,dn)=>It.width!==dn.width||It.height!==dn.height)(De,Ae)&&$n(Ae.source,De.type),Wt=(De,Ae,wt)=>{var It;Ae.embed=Rr(De,Ae)&&R(wt)?ge(wt,{...Ae,embed:""}):oo((It=Ae.embed)!==null&&It!==void 0?It:"",Ae,!1,wt.schema),Ae.embed&&(De.source===Ae.source||$o(Ae.source))?Vo(wt,Ae.embed):Xo(wt,Ae).then(dn=>{Vo(wt,dn.html)}).catch(zt(wt))},vr=De=>{const Ae=Ft(De),wt=Ue(Ae),It=ut(Ae),dn=(hn,wn)=>{const Un=zn(wn.getData(),"source");hn.source!==Un.source&&(vo(Go,De)({url:Un.source,html:""}),Xo(De,Un).then(vo(Go,De)).catch(zt(De)))},on=hn=>{var wn;const Un=zn(hn.getData()),Ar=uo((wn=Un.embed)!==null&&wn!==void 0?wn:"",De.schema);hn.setData(ut(Ar))},sr=(hn,wn,Un)=>{const Ar=zn(hn.getData(),wn),ra=Rr(Un,Ar)&&R(De)?{...Ar,embed:""}:Ar,Xs=ge(De,ra);hn.setData(ut({...ra,embed:Xs}))},Vr=[{name:"source",type:"urlinput",filetype:"media",label:"Source",picker_text:"Browse files"}],Br=R(De)?[{type:"sizeinput",name:"dimensions",label:"Constrain proportions",constrain:!0}]:[],Jo={title:"General",name:"general",items:Ao([Vr,Br])},Ne={title:"Embed",items:[{type:"textarea",name:"embed",label:"Paste your embed code below:"}]},Zt=[];Bo(De)&&Zt.push({name:"altsource",type:"urlinput",filetype:"media",label:"Alternative source URL"}),Ct(De)&&Zt.push({name:"poster",type:"urlinput",filetype:"image",label:"Media poster (Image URL)"});const Io={title:"Advanced",name:"advanced",items:Zt},Ho=[Jo,Ne];Zt.length>0&&Ho.push(Io);const nn={type:"tabpanel",tabs:Ho},Go=De.windowManager.open({title:"Insert/Edit Media",size:"normal",body:nn,buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],onSubmit:hn=>{const wn=zn(hn.getData());Wt(wt.get(),wn,De),hn.close()},onChange:(hn,wn)=>{switch(wn.name){case"source":dn(wt.get(),hn);break;case"embed":on(hn);break;case"dimensions":case"altsource":case"poster":sr(hn,wn.name,wt.get());break}wt.set(zn(hn.getData()))},initialData:It})},Fn=De=>({showDialog:()=>{vr(De)}}),ln=De=>{const Ae=()=>{vr(De)};De.addCommand("mceMedia",Ae)},xr=(De,Ae,wt)=>Ae===""||De.length>=Ae.length&&De.substr(wt,wt+Ae.length)===Ae,Ys=(De,Ae)=>xr(De,Ae,0);var Yr=tinymce.util.Tools.resolve("tinymce.Env");const Pa=De=>{const Ae=De.name;return Ae==="iframe"||Ae==="video"||Ae==="audio"},cs=(De,Ae,wt,It=null)=>{const dn=De.attr(wt);return Co(dn)?dn:Dt(Ae,wt)?null:It},Ha=(De,Ae,wt)=>{const It=Ae.name==="img"||De.name==="video",dn=It?"300":null,on=De.name==="audio"?"30":"150",sr=It?on:null;Ae.attr({width:cs(De,wt,"width",dn),height:cs(De,wt,"height",sr)})},ja=(De,Ae,wt,It)=>{const dn=Ie(De.schema).parse(It,{context:Ae});for(;dn.firstChild;)wt.append(dn.firstChild)},$s=(De,Ae)=>{const wt=Ae.name,It=new V("img",1);return _a(De,Ae,It),Ha(Ae,It,{}),It.attr({style:Ae.attr("style"),src:Yr.transparentSrc,"data-mce-object":wt,class:"mce-object mce-object-"+wt}),It},Us=(De,Ae)=>{var wt;const It=Ae.name,dn=new V("span",1);dn.attr({contentEditable:"false",style:Ae.attr("style"),"data-mce-object":It,class:"mce-preview-object mce-object-"+It}),_a(De,Ae,dn);const on=De.dom.parseStyle((wt=Ae.attr("style"))!==null&&wt!==void 0?wt:""),sr=new V(It,1);if(Ha(Ae,sr,on),sr.attr({src:Ae.attr("src"),style:Ae.attr("style"),class:Ae.attr("class")}),It==="iframe")sr.attr({allowfullscreen:Ae.attr("allowfullscreen"),frameborder:"0",sandbox:Ae.attr("sandbox")});else{an(["controls","crossorigin","currentTime","loop","muted","poster","preload"],Ce=>{sr.attr(Ce,Ae.attr(Ce))});const Jo=dn.attr("data-mce-html");Co(Jo)&&ja(De,It,sr,unescape(Jo))}const Vr=new V("span",1);return Vr.attr("class","mce-shim"),dn.append(sr),dn.append(Vr),dn},_a=(De,Ae,wt)=>{var It;const dn=(It=Ae.attributes)!==null&&It!==void 0?It:[];let on=dn.length;for(;on--;){const Jo=dn[on].name;let Ce=dn[on].value;Jo!=="width"&&Jo!=="height"&&Jo!=="style"&&!Ys(Jo,"data-mce-")&&((Jo==="data"||Jo==="src")&&(Ce=De.convertURL(Ce,Jo)),wt.attr("data-mce-p-"+Jo,Ce))}const sr=dt({inner:!0},De.schema),Vr=new V("div",1);an(Ae.children(),Jo=>Vr.append(Jo));const Br=sr.serialize(Vr);Br&&(wt.attr("data-mce-html",escape(Br)),wt.empty())},tt=De=>{const Ae=De.attr("class");return tn(Ae)&&/\btiny-pageembed\b/.test(Ae)},_t=De=>{let Ae=De;for(;Ae=Ae.parent;)if(Ae.attr("data-ephox-embed-iri")||tt(Ae))return!0;return!1},Mo=De=>Ae=>{let wt=Ae.length,It;for(;wt--;)It=Ae[wt],It.parent&&(It.parent.attr("data-mce-object")||(Pa(It)&&Yo(De)?_t(It)||It.replace(Us(De,It)):_t(It)||It.replace($s(De,It))))},St=(De,Ae,wt)=>{const It=De.options.get,dn=It("xss_sanitization"),on=$t(De);return Ie(De.schema,{sanitize:dn,validate:on}).parse(wt,{context:Ae})},zr=De=>{De.on("PreInit",()=>{const{schema:Ae,serializer:wt,parser:It}=De,dn=Ae.getBoolAttrs();an("webkitallowfullscreen mozallowfullscreen".split(" "),on=>{dn[on]={}}),co({embed:["wmode"]},(on,sr)=>{const Vr=Ae.getElementRule(sr);Vr&&an(on,Br=>{Vr.attributes[Br]={},Vr.attributesOrder.push(Br)})}),It.addNodeFilter("iframe,video,audio,object,embed",Mo(De)),wt.addAttributeFilter("data-mce-object",(on,sr)=>{var Vr;let Br=on.length;for(;Br--;){const Jo=on[Br];if(!Jo.parent)continue;const Ce=Jo.attr(sr),Ne=new V(Ce,1);if(Ce!=="audio"){const nn=Jo.attr("class");nn&&nn.indexOf("mce-preview-object")!==-1&&Jo.firstChild?Ne.attr({width:Jo.firstChild.attr("width"),height:Jo.firstChild.attr("height")}):Ne.attr({width:Jo.attr("width"),height:Jo.attr("height")})}Ne.attr({style:Jo.attr("style")});const Zt=(Vr=Jo.attributes)!==null&&Vr!==void 0?Vr:[];let Io=Zt.length;for(;Io--;){const nn=Zt[Io].name;nn.indexOf("data-mce-p-")===0&&Ne.attr(nn.substr(11),Zt[Io].value)}const Ho=Jo.attr("data-mce-html");if(Ho){const nn=St(De,Ce,unescape(Ho));an(nn.children(),Go=>Ne.append(Go))}Jo.replace(Ne)}})}),De.on("SetContent",()=>{const Ae=De.dom;an(Ae.select("span.mce-preview-object"),wt=>{Ae.select("span.mce-shim",wt).length===0&&Ae.add(wt,"span",{class:"mce-shim"})})})},kr=De=>{De.on("ResolveName",Ae=>{let wt;Ae.target.nodeType===1&&(wt=Ae.target.getAttribute("data-mce-object"))&&(Ae.name=wt)})},Is=De=>Ae=>{const wt=()=>{Ae.setEnabled(De.selection.isEditable())};return De.on("NodeChange",wt),wt(),()=>{De.off("NodeChange",wt)}},Xr=De=>{const Ae=()=>De.execCommand("mceMedia");De.ui.registry.addToggleButton("media",{tooltip:"Insert/edit media",icon:"embed",onAction:Ae,onSetup:wt=>{const It=De.selection;wt.setActive(Me(It.getNode()));const dn=It.selectorChangedWithUnbind("img[data-mce-object],span[data-mce-object],div[data-ephox-embed-iri]",wt.setActive).unbind,on=Is(De)(wt);return()=>{dn(),on()}}}),De.ui.registry.addMenuItem("media",{icon:"embed",text:"Media...",onAction:Ae,onSetup:Is(De)})};var gr=()=>{xo.add("media",De=>(me(De),ln(De),Xr(De),kr(De),zr(De),at(De),Fn(De)))};gr()})();(function(){var xo=tinymce.util.Tools.resolve("tinymce.PluginManager");const Ko=he=>Dt=>typeof Dt===he,Po=Ko("boolean"),en=Ko("number"),tn=he=>Dt=>Dt.options.get(he),to=he=>{const Dt=he.options.register;Dt("nonbreaking_force_tab",{processor:fo=>Po(fo)?{value:fo?3:0,valid:!0}:en(fo)?{value:fo,valid:!0}:{valid:!1,message:"Must be a boolean or number."},default:!1}),Dt("nonbreaking_wrap",{processor:"boolean",default:!0})},Lo=tn("nonbreaking_force_tab"),jt=tn("nonbreaking_wrap"),Co=(he,Dt)=>{let fo="";for(let me=0;mehe.plugins.visualchars?he.plugins.visualchars.isEnabled():!1,jo=(he,Dt)=>{const fo=()=>Ro(he)?"mce-nbsp-wrap mce-nbsp":"mce-nbsp-wrap",me=()=>`${Co(" ",Dt)}`,de=jt(he)||he.plugins.visualchars?me():Co(" ",Dt);he.undoManager.transact(()=>he.insertContent(de))},an=he=>{he.addCommand("mceNonBreaking",()=>{jo(he,1)})};var Ao=tinymce.util.Tools.resolve("tinymce.util.VK");const Ue=he=>{const Dt=Lo(he);Dt>0&&he.on("keydown",fo=>{if(fo.keyCode===Ao.TAB&&!fo.isDefaultPrevented()){if(fo.shiftKey)return;fo.preventDefault(),fo.stopImmediatePropagation(),jo(he,Dt)}})},it=he=>Dt=>{const fo=()=>{Dt.setEnabled(he.selection.isEditable())};return he.on("NodeChange",fo),fo(),()=>{he.off("NodeChange",fo)}},So=he=>{const Dt=()=>he.execCommand("mceNonBreaking");he.ui.registry.addButton("nonbreaking",{icon:"non-breaking",tooltip:"Nonbreaking space",onAction:Dt,onSetup:it(he)}),he.ui.registry.addMenuItem("nonbreaking",{icon:"non-breaking",text:"Nonbreaking space",onAction:Dt,onSetup:it(he)})};var co=()=>{xo.add("nonbreaking",he=>{to(he),an(he),So(he),Ue(he)})};co()})();(function(){var xo=tinymce.util.Tools.resolve("tinymce.PluginManager"),Ko=tinymce.util.Tools.resolve("tinymce.Env");const Po=it=>So=>So.options.get(it),en=it=>{const So=it.options.register;So("pagebreak_separator",{processor:"string",default:""}),So("pagebreak_split_block",{processor:"boolean",default:!1})},tn=Po("pagebreak_separator"),to=Po("pagebreak_split_block"),Lo="mce-pagebreak",jt=it=>{const So=``;return it?`

    ${So}

    `:So},Co=it=>{const So=tn(it),co=()=>to(it),he=new RegExp(So.replace(/[\?\.\*\[\]\(\)\{\}\+\^\$\:]/g,Dt=>"\\"+Dt),"gi");it.on("BeforeSetContent",Dt=>{Dt.content=Dt.content.replace(he,jt(co()))}),it.on("PreInit",()=>{it.serializer.addNodeFilter("img",Dt=>{let fo=Dt.length,me,Ze;for(;fo--;)if(me=Dt[fo],Ze=me.attr("class"),Ze&&Ze.indexOf(Lo)!==-1){const de=me.parent;if(de&&it.schema.getBlockElements()[de.name]&&co()){de.type=3,de.value=So,de.raw=!0,me.remove();continue}me.type=3,me.value=So,me.raw=!0}})})},Ro=it=>{it.addCommand("mcePageBreak",()=>{it.insertContent(jt(to(it)))})},jo=it=>{it.on("ResolveName",So=>{So.target.nodeName==="IMG"&&it.dom.hasClass(So.target,Lo)&&(So.name="pagebreak")})},an=it=>So=>{const co=()=>{So.setEnabled(it.selection.isEditable())};return it.on("NodeChange",co),co(),()=>{it.off("NodeChange",co)}},Ao=it=>{const So=()=>it.execCommand("mcePageBreak");it.ui.registry.addButton("pagebreak",{icon:"page-break",tooltip:"Page break",onAction:So,onSetup:an(it)}),it.ui.registry.addMenuItem("pagebreak",{text:"Page break",icon:"page-break",onAction:So,onSetup:an(it)})};var Ue=()=>{xo.add("pagebreak",it=>{en(it),Ro(it),Ao(it),Co(it),jo(it)})};Ue()})();(function(){var xo=tinymce.util.Tools.resolve("tinymce.PluginManager"),Ko=tinymce.util.Tools.resolve("tinymce.Env"),Po=tinymce.util.Tools.resolve("tinymce.util.Tools");const en=Ue=>it=>it.options.get(Ue),tn=en("content_style"),to=en("content_css_cors"),Lo=en("body_class"),jt=en("body_id"),Co=Ue=>{var it;let So="";const co=Ue.dom.encode,he=(it=tn(Ue))!==null&&it!==void 0?it:"";So+='';const Dt=to(Ue)?' crossorigin="anonymous"':"";Po.each(Ue.contentCSS,gn=>{So+='"}),he&&(So+='");const fo=jt(Ue),me=Lo(Ue),de=' + + + + + +
    + + diff --git a/mockServiceWorker.js b/mockServiceWorker.js new file mode 100644 index 000000000..5f81091ab --- /dev/null +++ b/mockServiceWorker.js @@ -0,0 +1,912 @@ +// ../../node_modules/.pnpm/outvariant@1.4.2/node_modules/outvariant/lib/index.mjs +var POSITIONALS_EXP = /(%?)(%([sdijo]))/g; +function serializePositional(positional, flag) { + switch (flag) { + case "s": + return positional; + case "d": + case "i": + return Number(positional); + case "j": + return JSON.stringify(positional); + case "o": { + if (typeof positional === "string") { + return positional; + } + const json = JSON.stringify(positional); + if (json === "{}" || json === "[]" || /^\[object .+?\]$/.test(json)) { + return positional; + } + return json; + } + } +} +function format(message, ...positionals) { + if (positionals.length === 0) { + return message; + } + let positionalIndex = 0; + let formattedMessage = message.replace( + POSITIONALS_EXP, + (match2, isEscaped, _, flag) => { + const positional = positionals[positionalIndex]; + const value = serializePositional(positional, flag); + if (!isEscaped) { + positionalIndex++; + return value; + } + return match2; + } + ); + if (positionalIndex < positionals.length) { + formattedMessage += ` ${positionals.slice(positionalIndex).join(" ")}`; + } + formattedMessage = formattedMessage.replace(/%{2,2}/g, "%"); + return formattedMessage; +} +var STACK_FRAMES_TO_IGNORE = 2; +function cleanErrorStack(error2) { + if (!error2.stack) { + return; + } + const nextStack = error2.stack.split("\n"); + nextStack.splice(1, STACK_FRAMES_TO_IGNORE); + error2.stack = nextStack.join("\n"); +} +var InvariantError = class extends Error { + constructor(message, ...positionals) { + super(message); + this.message = message; + this.name = "Invariant Violation"; + this.message = format(message, ...positionals); + cleanErrorStack(this); + } +}; +var invariant = (predicate, message, ...positionals) => { + if (!predicate) { + throw new InvariantError(message, ...positionals); + } +}; +invariant.as = (ErrorConstructor, predicate, message, ...positionals) => { + if (!predicate) { + const formatMessage2 = positionals.length === 0 ? message : format(message, positionals); + let error2; + try { + error2 = Reflect.construct(ErrorConstructor, [formatMessage2]); + } catch (err) { + error2 = ErrorConstructor(formatMessage2); + } + throw error2; + } +}; + +// ../../node_modules/.pnpm/msw@2.1.5_typescript@5.3.3/node_modules/msw/lib/core/utils/internal/devUtils.mjs +var LIBRARY_PREFIX = "[MSW]"; +function formatMessage(message, ...positionals) { + const interpolatedMessage = format(message, ...positionals); + return `${LIBRARY_PREFIX} ${interpolatedMessage}`; +} +function warn(message, ...positionals) { + console.warn(formatMessage(message, ...positionals)); +} +function error(message, ...positionals) { + console.error(formatMessage(message, ...positionals)); +} +var devUtils = { + formatMessage, + warn, + error +}; + +// ../../node_modules/.pnpm/msw@2.1.5_typescript@5.3.3/node_modules/msw/lib/core/utils/internal/checkGlobals.mjs +function checkGlobals() { + invariant( + typeof URL !== "undefined", + devUtils.formatMessage( + `Global "URL" class is not defined. This likely means that you're running MSW in an environment that doesn't support all Node.js standard API (e.g. React Native). If that's the case, please use an appropriate polyfill for the "URL" class, like "react-native-url-polyfill".` + ) + ); +} + +// ../../node_modules/.pnpm/strict-event-emitter@0.5.1/node_modules/strict-event-emitter/lib/index.mjs +var MemoryLeakError = class extends Error { + constructor(emitter, type, count) { + super( + `Possible EventEmitter memory leak detected. ${count} ${type.toString()} listeners added. Use emitter.setMaxListeners() to increase limit` + ); + this.emitter = emitter; + this.type = type; + this.count = count; + this.name = "MaxListenersExceededWarning"; + } +}; +var _Emitter = class { + static listenerCount(emitter, eventName) { + return emitter.listenerCount(eventName); + } + constructor() { + this.events = /* @__PURE__ */ new Map(); + this.maxListeners = _Emitter.defaultMaxListeners; + this.hasWarnedAboutPotentialMemoryLeak = false; + } + _emitInternalEvent(internalEventName, eventName, listener) { + this.emit( + internalEventName, + ...[eventName, listener] + ); + } + _getListeners(eventName) { + return Array.prototype.concat.apply([], this.events.get(eventName)) || []; + } + _removeListener(listeners, listener) { + const index = listeners.indexOf(listener); + if (index > -1) { + listeners.splice(index, 1); + } + return []; + } + _wrapOnceListener(eventName, listener) { + const onceListener = (...data) => { + this.removeListener(eventName, onceListener); + return listener.apply(this, data); + }; + Object.defineProperty(onceListener, "name", { value: listener.name }); + return onceListener; + } + setMaxListeners(maxListeners) { + this.maxListeners = maxListeners; + return this; + } + /** + * Returns the current max listener value for the `Emitter` which is + * either set by `emitter.setMaxListeners(n)` or defaults to + * `Emitter.defaultMaxListeners`. + */ + getMaxListeners() { + return this.maxListeners; + } + /** + * Returns an array listing the events for which the emitter has registered listeners. + * The values in the array will be strings or Symbols. + */ + eventNames() { + return Array.from(this.events.keys()); + } + /** + * Synchronously calls each of the listeners registered for the event named `eventName`, + * in the order they were registered, passing the supplied arguments to each. + * Returns `true` if the event has listeners, `false` otherwise. + * + * @example + * const emitter = new Emitter<{ hello: [string] }>() + * emitter.emit('hello', 'John') + */ + emit(eventName, ...data) { + const listeners = this._getListeners(eventName); + listeners.forEach((listener) => { + listener.apply(this, data); + }); + return listeners.length > 0; + } + addListener(eventName, listener) { + this._emitInternalEvent("newListener", eventName, listener); + const nextListeners = this._getListeners(eventName).concat(listener); + this.events.set(eventName, nextListeners); + if (this.maxListeners > 0 && this.listenerCount(eventName) > this.maxListeners && !this.hasWarnedAboutPotentialMemoryLeak) { + this.hasWarnedAboutPotentialMemoryLeak = true; + const memoryLeakWarning = new MemoryLeakError( + this, + eventName, + this.listenerCount(eventName) + ); + console.warn(memoryLeakWarning); + } + return this; + } + on(eventName, listener) { + return this.addListener(eventName, listener); + } + once(eventName, listener) { + return this.addListener( + eventName, + this._wrapOnceListener(eventName, listener) + ); + } + prependListener(eventName, listener) { + const listeners = this._getListeners(eventName); + if (listeners.length > 0) { + const nextListeners = [listener].concat(listeners); + this.events.set(eventName, nextListeners); + } else { + this.events.set(eventName, listeners.concat(listener)); + } + return this; + } + prependOnceListener(eventName, listener) { + return this.prependListener( + eventName, + this._wrapOnceListener(eventName, listener) + ); + } + removeListener(eventName, listener) { + const listeners = this._getListeners(eventName); + if (listeners.length > 0) { + this._removeListener(listeners, listener); + this.events.set(eventName, listeners); + this._emitInternalEvent("removeListener", eventName, listener); + } + return this; + } + /** + * Alias for `emitter.removeListener()`. + * + * @example + * emitter.off('hello', listener) + */ + off(eventName, listener) { + return this.removeListener(eventName, listener); + } + removeAllListeners(eventName) { + if (eventName) { + this.events.delete(eventName); + } else { + this.events.clear(); + } + return this; + } + /** + * Returns a copy of the array of listeners for the event named `eventName`. + */ + listeners(eventName) { + return Array.from(this._getListeners(eventName)); + } + /** + * Returns the number of listeners listening to the event named `eventName`. + */ + listenerCount(eventName) { + return this._getListeners(eventName).length; + } + rawListeners(eventName) { + return this.listeners(eventName); + } +}; +var Emitter = _Emitter; +Emitter.defaultMaxListeners = 10; + +// ../../node_modules/.pnpm/path-to-regexp@6.2.1/node_modules/path-to-regexp/dist.es2015/index.js +function lexer(str) { + var tokens = []; + var i = 0; + while (i < str.length) { + var char = str[i]; + if (char === "*" || char === "+" || char === "?") { + tokens.push({ type: "MODIFIER", index: i, value: str[i++] }); + continue; + } + if (char === "\\") { + tokens.push({ type: "ESCAPED_CHAR", index: i++, value: str[i++] }); + continue; + } + if (char === "{") { + tokens.push({ type: "OPEN", index: i, value: str[i++] }); + continue; + } + if (char === "}") { + tokens.push({ type: "CLOSE", index: i, value: str[i++] }); + continue; + } + if (char === ":") { + var name = ""; + var j = i + 1; + while (j < str.length) { + var code = str.charCodeAt(j); + if ( + // `0-9` + code >= 48 && code <= 57 || // `A-Z` + code >= 65 && code <= 90 || // `a-z` + code >= 97 && code <= 122 || // `_` + code === 95 + ) { + name += str[j++]; + continue; + } + break; + } + if (!name) + throw new TypeError("Missing parameter name at ".concat(i)); + tokens.push({ type: "NAME", index: i, value: name }); + i = j; + continue; + } + if (char === "(") { + var count = 1; + var pattern = ""; + var j = i + 1; + if (str[j] === "?") { + throw new TypeError('Pattern cannot start with "?" at '.concat(j)); + } + while (j < str.length) { + if (str[j] === "\\") { + pattern += str[j++] + str[j++]; + continue; + } + if (str[j] === ")") { + count--; + if (count === 0) { + j++; + break; + } + } else if (str[j] === "(") { + count++; + if (str[j + 1] !== "?") { + throw new TypeError("Capturing groups are not allowed at ".concat(j)); + } + } + pattern += str[j++]; + } + if (count) + throw new TypeError("Unbalanced pattern at ".concat(i)); + if (!pattern) + throw new TypeError("Missing pattern at ".concat(i)); + tokens.push({ type: "PATTERN", index: i, value: pattern }); + i = j; + continue; + } + tokens.push({ type: "CHAR", index: i, value: str[i++] }); + } + tokens.push({ type: "END", index: i, value: "" }); + return tokens; +} +function parse(str, options) { + if (options === void 0) { + options = {}; + } + var tokens = lexer(str); + var _a = options.prefixes, prefixes = _a === void 0 ? "./" : _a; + var defaultPattern = "[^".concat(escapeString(options.delimiter || "/#?"), "]+?"); + var result = []; + var key = 0; + var i = 0; + var path = ""; + var tryConsume = function(type) { + if (i < tokens.length && tokens[i].type === type) + return tokens[i++].value; + }; + var mustConsume = function(type) { + var value2 = tryConsume(type); + if (value2 !== void 0) + return value2; + var _a2 = tokens[i], nextType = _a2.type, index = _a2.index; + throw new TypeError("Unexpected ".concat(nextType, " at ").concat(index, ", expected ").concat(type)); + }; + var consumeText = function() { + var result2 = ""; + var value2; + while (value2 = tryConsume("CHAR") || tryConsume("ESCAPED_CHAR")) { + result2 += value2; + } + return result2; + }; + while (i < tokens.length) { + var char = tryConsume("CHAR"); + var name = tryConsume("NAME"); + var pattern = tryConsume("PATTERN"); + if (name || pattern) { + var prefix = char || ""; + if (prefixes.indexOf(prefix) === -1) { + path += prefix; + prefix = ""; + } + if (path) { + result.push(path); + path = ""; + } + result.push({ + name: name || key++, + prefix, + suffix: "", + pattern: pattern || defaultPattern, + modifier: tryConsume("MODIFIER") || "" + }); + continue; + } + var value = char || tryConsume("ESCAPED_CHAR"); + if (value) { + path += value; + continue; + } + if (path) { + result.push(path); + path = ""; + } + var open = tryConsume("OPEN"); + if (open) { + var prefix = consumeText(); + var name_1 = tryConsume("NAME") || ""; + var pattern_1 = tryConsume("PATTERN") || ""; + var suffix = consumeText(); + mustConsume("CLOSE"); + result.push({ + name: name_1 || (pattern_1 ? key++ : ""), + pattern: name_1 && !pattern_1 ? defaultPattern : pattern_1, + prefix, + suffix, + modifier: tryConsume("MODIFIER") || "" + }); + continue; + } + mustConsume("END"); + } + return result; +} +function match(str, options) { + var keys = []; + var re = pathToRegexp(str, keys, options); + return regexpToFunction(re, keys, options); +} +function regexpToFunction(re, keys, options) { + if (options === void 0) { + options = {}; + } + var _a = options.decode, decode = _a === void 0 ? function(x) { + return x; + } : _a; + return function(pathname) { + var m = re.exec(pathname); + if (!m) + return false; + var path = m[0], index = m.index; + var params = /* @__PURE__ */ Object.create(null); + var _loop_1 = function(i2) { + if (m[i2] === void 0) + return "continue"; + var key = keys[i2 - 1]; + if (key.modifier === "*" || key.modifier === "+") { + params[key.name] = m[i2].split(key.prefix + key.suffix).map(function(value) { + return decode(value, key); + }); + } else { + params[key.name] = decode(m[i2], key); + } + }; + for (var i = 1; i < m.length; i++) { + _loop_1(i); + } + return { path, index, params }; + }; +} +function escapeString(str) { + return str.replace(/([.+*?=^!:${}()[\]|/\\])/g, "\\$1"); +} +function flags(options) { + return options && options.sensitive ? "" : "i"; +} +function regexpToRegexp(path, keys) { + if (!keys) + return path; + var groupsRegex = /\((?:\?<(.*?)>)?(?!\?)/g; + var index = 0; + var execResult = groupsRegex.exec(path.source); + while (execResult) { + keys.push({ + // Use parenthesized substring match if available, index otherwise + name: execResult[1] || index++, + prefix: "", + suffix: "", + modifier: "", + pattern: "" + }); + execResult = groupsRegex.exec(path.source); + } + return path; +} +function arrayToRegexp(paths, keys, options) { + var parts = paths.map(function(path) { + return pathToRegexp(path, keys, options).source; + }); + return new RegExp("(?:".concat(parts.join("|"), ")"), flags(options)); +} +function stringToRegexp(path, keys, options) { + return tokensToRegexp(parse(path, options), keys, options); +} +function tokensToRegexp(tokens, keys, options) { + if (options === void 0) { + options = {}; + } + var _a = options.strict, strict = _a === void 0 ? false : _a, _b = options.start, start = _b === void 0 ? true : _b, _c = options.end, end = _c === void 0 ? true : _c, _d = options.encode, encode = _d === void 0 ? function(x) { + return x; + } : _d, _e = options.delimiter, delimiter = _e === void 0 ? "/#?" : _e, _f = options.endsWith, endsWith = _f === void 0 ? "" : _f; + var endsWithRe = "[".concat(escapeString(endsWith), "]|$"); + var delimiterRe = "[".concat(escapeString(delimiter), "]"); + var route = start ? "^" : ""; + for (var _i = 0, tokens_1 = tokens; _i < tokens_1.length; _i++) { + var token = tokens_1[_i]; + if (typeof token === "string") { + route += escapeString(encode(token)); + } else { + var prefix = escapeString(encode(token.prefix)); + var suffix = escapeString(encode(token.suffix)); + if (token.pattern) { + if (keys) + keys.push(token); + if (prefix || suffix) { + if (token.modifier === "+" || token.modifier === "*") { + var mod = token.modifier === "*" ? "?" : ""; + route += "(?:".concat(prefix, "((?:").concat(token.pattern, ")(?:").concat(suffix).concat(prefix, "(?:").concat(token.pattern, "))*)").concat(suffix, ")").concat(mod); + } else { + route += "(?:".concat(prefix, "(").concat(token.pattern, ")").concat(suffix, ")").concat(token.modifier); + } + } else { + if (token.modifier === "+" || token.modifier === "*") { + route += "((?:".concat(token.pattern, ")").concat(token.modifier, ")"); + } else { + route += "(".concat(token.pattern, ")").concat(token.modifier); + } + } + } else { + route += "(?:".concat(prefix).concat(suffix, ")").concat(token.modifier); + } + } + } + if (end) { + if (!strict) + route += "".concat(delimiterRe, "?"); + route += !options.endsWith ? "$" : "(?=".concat(endsWithRe, ")"); + } else { + var endToken = tokens[tokens.length - 1]; + var isEndDelimited = typeof endToken === "string" ? delimiterRe.indexOf(endToken[endToken.length - 1]) > -1 : endToken === void 0; + if (!strict) { + route += "(?:".concat(delimiterRe, "(?=").concat(endsWithRe, "))?"); + } + if (!isEndDelimited) { + route += "(?=".concat(delimiterRe, "|").concat(endsWithRe, ")"); + } + } + return new RegExp(route, flags(options)); +} +function pathToRegexp(path, keys, options) { + if (path instanceof RegExp) + return regexpToRegexp(path, keys); + if (Array.isArray(path)) + return arrayToRegexp(path, keys, options); + return stringToRegexp(path, keys, options); +} + +// ../../node_modules/.pnpm/@mswjs+interceptors@0.25.16/node_modules/@mswjs/interceptors/lib/browser/chunk-UJZOJSMP.mjs +var encoder = new TextEncoder(); + +// ../../node_modules/.pnpm/is-node-process@1.2.0/node_modules/is-node-process/lib/index.mjs +function isNodeProcess() { + if (typeof navigator !== "undefined" && navigator.product === "ReactNative") { + return true; + } + if (typeof process !== "undefined") { + const type = process.type; + if (type === "renderer" || type === "worker") { + return false; + } + return !!(process.versions && process.versions.node); + } + return false; +} + +// ../../node_modules/.pnpm/@open-draft+logger@0.3.0/node_modules/@open-draft/logger/lib/index.mjs +var __defProp = Object.defineProperty; +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var colors_exports = {}; +__export(colors_exports, { + blue: () => blue, + gray: () => gray, + green: () => green, + red: () => red, + yellow: () => yellow +}); +function yellow(text) { + return `\x1B[33m${text}\x1B[0m`; +} +function blue(text) { + return `\x1B[34m${text}\x1B[0m`; +} +function gray(text) { + return `\x1B[90m${text}\x1B[0m`; +} +function red(text) { + return `\x1B[31m${text}\x1B[0m`; +} +function green(text) { + return `\x1B[32m${text}\x1B[0m`; +} +var IS_NODE = isNodeProcess(); + +// ../../node_modules/.pnpm/@mswjs+interceptors@0.25.16/node_modules/@mswjs/interceptors/lib/browser/chunk-WZQN3FMY.mjs +var IS_PATCHED_MODULE = Symbol("isPatchedModule"); + +// ../../node_modules/.pnpm/@mswjs+interceptors@0.25.16/node_modules/@mswjs/interceptors/lib/browser/index.mjs +function getCleanUrl(url, isAbsolute = true) { + return [isAbsolute && url.origin, url.pathname].filter(Boolean).join(""); +} + +// ../../node_modules/.pnpm/msw@2.1.5_typescript@5.3.3/node_modules/msw/lib/core/utils/url/cleanUrl.mjs +var REDUNDANT_CHARACTERS_EXP = /[\?|#].*$/g; +function cleanUrl(path) { + return path.replace(REDUNDANT_CHARACTERS_EXP, ""); +} + +// ../../node_modules/.pnpm/msw@2.1.5_typescript@5.3.3/node_modules/msw/lib/core/utils/url/isAbsoluteUrl.mjs +function isAbsoluteUrl(url) { + return /^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(url); +} + +// ../../node_modules/.pnpm/msw@2.1.5_typescript@5.3.3/node_modules/msw/lib/core/utils/url/getAbsoluteUrl.mjs +function getAbsoluteUrl(path, baseUrl) { + if (isAbsoluteUrl(path)) { + return path; + } + if (path.startsWith("*")) { + return path; + } + const origin = baseUrl || typeof document !== "undefined" && document.baseURI; + return origin ? ( + // Encode and decode the path to preserve escaped characters. + decodeURI(new URL(encodeURI(path), origin).href) + ) : path; +} + +// ../../node_modules/.pnpm/msw@2.1.5_typescript@5.3.3/node_modules/msw/lib/core/utils/matching/normalizePath.mjs +function normalizePath(path, baseUrl) { + if (path instanceof RegExp) { + return path; + } + const maybeAbsoluteUrl = getAbsoluteUrl(path, baseUrl); + return cleanUrl(maybeAbsoluteUrl); +} + +// ../../node_modules/.pnpm/msw@2.1.5_typescript@5.3.3/node_modules/msw/lib/core/utils/matching/matchRequestUrl.mjs +function coercePath(path) { + return path.replace( + /([:a-zA-Z_-]*)(\*{1,2})+/g, + (_, parameterName, wildcard) => { + const expression = "(.*)"; + if (!parameterName) { + return expression; + } + return parameterName.startsWith(":") ? `${parameterName}${wildcard}` : `${parameterName}${expression}`; + } + ).replace(/([^\/])(:)(?=\d+)/, "$1\\$2").replace(/^([^\/]+)(:)(?=\/\/)/, "$1\\$2"); +} +function matchRequestUrl(url, path, baseUrl) { + const normalizedPath = normalizePath(path, baseUrl); + const cleanPath = typeof normalizedPath === "string" ? coercePath(normalizedPath) : normalizedPath; + const cleanUrl2 = getCleanUrl(url); + const result = match(cleanPath, { decode: decodeURIComponent })(cleanUrl2); + const params = result && result.params || {}; + return { + matches: result !== false, + params + }; +} + +// ../../node_modules/.pnpm/msw@2.1.5_typescript@5.3.3/node_modules/msw/lib/core/index.mjs +checkGlobals(); + +// src/utils/isMatchHandler.ts +var isStringEqual = (actual, expected) => { + return actual.toLowerCase() === expected.toLowerCase(); +}; +var matchMethod = (method, actualMethod) => { + return method instanceof RegExp ? method.test(actualMethod) : isStringEqual(method, actualMethod); +}; +var isMatchHandler = (request) => { + const url = new URL(request.url); + const mockHeaders = globalThis.mockHeaders || []; + return mockHeaders.some((n) => { + const [method, path] = n.split(" "); + const hasMatchingMethod = matchMethod(method, request.method); + const hasMatchingUrl = matchRequestUrl(url, path, url.origin).matches; + return hasMatchingMethod && hasMatchingUrl; + }); +}; + +// src/mockServiceWorker.js +var INTEGRITY_CHECKSUM = "223d191a56023cd36aa88c802961b911"; +var IS_MOCKED_RESPONSE = Symbol("isMockedResponse"); +var activeClientIds = /* @__PURE__ */ new Set(); +self.addEventListener("install", function() { + self.skipWaiting(); +}); +self.addEventListener("activate", function(event) { + event.waitUntil(self.clients.claim()); +}); +self.addEventListener("message", async function(event) { + if (event.data?.type === "updateMockHeaders") { + globalThis.mockHeaders = event.data.mockHeaders || []; + } + const clientId = event.source.id; + if (!clientId || !self.clients) { + return; + } + const client = await self.clients.get(clientId); + if (!client) { + return; + } + const allClients = await self.clients.matchAll({ + type: "window" + }); + switch (event.data) { + case "KEEPALIVE_REQUEST": { + sendToClient(client, { + type: "KEEPALIVE_RESPONSE" + }); + break; + } + case "INTEGRITY_CHECK_REQUEST": { + sendToClient(client, { + type: "INTEGRITY_CHECK_RESPONSE", + payload: INTEGRITY_CHECKSUM + }); + break; + } + case "MOCK_ACTIVATE": { + activeClientIds.add(clientId); + sendToClient(client, { + type: "MOCKING_ENABLED", + payload: true + }); + break; + } + case "MOCK_DEACTIVATE": { + activeClientIds.delete(clientId); + break; + } + case "CLIENT_CLOSED": { + activeClientIds.delete(clientId); + const remainingClients = allClients.filter((client2) => { + return client2.id !== clientId; + }); + if (remainingClients.length === 0) { + self.registration.unregister(); + } + break; + } + } +}); +self.addEventListener("fetch", function(event) { + const { request } = event; + const isMockRequest = isMatchHandler(request); + if (isMockRequest === false) { + return; + } + if (request.mode === "navigate") { + return; + } + if (request.cache === "only-if-cached" && request.mode !== "same-origin") { + return; + } + if (activeClientIds.size === 0) { + return; + } + const requestId = crypto.randomUUID(); + event.respondWith(handleRequest(event, requestId)); +}); +async function handleRequest(event, requestId) { + const client = await resolveMainClient(event); + const response = await getResponse(event, client, requestId); + if (client && activeClientIds.has(client.id)) { + ; + (async function() { + const responseClone = response.clone(); + sendToClient( + client, + { + type: "RESPONSE", + payload: { + requestId, + isMockedResponse: IS_MOCKED_RESPONSE in response, + type: responseClone.type, + status: responseClone.status, + statusText: responseClone.statusText, + body: responseClone.body, + headers: Object.fromEntries(responseClone.headers.entries()) + } + }, + [responseClone.body] + ); + })(); + } + return response; +} +async function resolveMainClient(event) { + const client = await self.clients.get(event.clientId); + if (client?.frameType === "top-level") { + return client; + } + const allClients = await self.clients.matchAll({ + type: "window" + }); + return allClients.filter((client2) => { + return client2.visibilityState === "visible"; + }).find((client2) => { + return activeClientIds.has(client2.id); + }); +} +async function getResponse(event, client, requestId) { + const { request } = event; + const requestClone = request.clone(); + function passthrough() { + const headers = Object.fromEntries(requestClone.headers.entries()); + delete headers["x-msw-intention"]; + return fetch(requestClone, { headers }); + } + if (!client) { + return passthrough(); + } + if (!activeClientIds.has(client.id)) { + return passthrough(); + } + const mswIntention = request.headers.get("x-msw-intention"); + if (["bypass", "passthrough"].includes(mswIntention)) { + return passthrough(); + } + const requestBuffer = await request.arrayBuffer(); + const clientMessage = await sendToClient( + client, + { + type: "REQUEST", + payload: { + id: requestId, + url: request.url, + mode: request.mode, + method: request.method, + headers: Object.fromEntries(request.headers.entries()), + cache: request.cache, + credentials: request.credentials, + destination: request.destination, + integrity: request.integrity, + redirect: request.redirect, + referrer: request.referrer, + referrerPolicy: request.referrerPolicy, + body: requestBuffer, + keepalive: request.keepalive + } + }, + [requestBuffer] + ); + switch (clientMessage.type) { + case "MOCK_RESPONSE": { + return respondWithMock(clientMessage.data); + } + case "MOCK_NOT_FOUND": { + return passthrough(); + } + } + return passthrough(); +} +function sendToClient(client, message, transferrables = []) { + return new Promise((resolve, reject) => { + const channel = new MessageChannel(); + channel.port1.onmessage = (event) => { + if (event.data && event.data.error) { + return reject(event.data.error); + } + resolve(event.data); + }; + client.postMessage( + message, + [channel.port2].concat(transferrables.filter(Boolean)) + ); + }); +} +async function respondWithMock(response) { + if (response.status === 0) { + return Response.error(); + } + const mockedResponse = new Response(response.body, response); + Reflect.defineProperty(mockedResponse, IS_MOCKED_RESPONSE, { + value: true, + enumerable: true + }); + return mockedResponse; +}