import{d as ur,r as lt,y as po,f as P,v as Et,F as $r,u as vn,a as Ia,e as tr,z as Cu,p as te,A as yr,B as Eu,c as ye,C as Ra,D as yu,E as be,G as Je,j as go,k as bt,H as bu,I as xu,J as wu,b as Du,K as Xn,N as Mu,g as Bn,x as Vn,h as Iu,L as Ru,l as Sr,M as Bu,O as Tu,Q as Ou,R as ho,S as Qn,T as oe,U as Kn,V as Pu,W as Gu,n as Fu,X as Nu,Y as ku}from"./index-27f38392-1715840129614.js";import{u as Ao}from"./index-618fa48e-1715840129614.js";import{N as mo}from"./Scrollbar-b72aeac2-1715840129614.js";import{d as qn}from"./teacherIcon-b8e3946d-1715840129614.js";import{F as Lu}from"./forgotPassword-6233e666-1715840129614.js";import{C as zu}from"./index-0c60b72d-1715840129614.js";import{g as Uu,o as Hu}from"./index-53b18b72-1715840129614.js";import{C as Wu}from"./index-12ac1d8a-1715840129614.js";import{T as So}from"./index-f592738f-1715840129614.js";import{u as Yu,a as Xu}from"./index-95d27d49-1715840129614.js";import{c as Vu,a as mi,g as Qu,b as Ku}from"./api-f974413a-1715840129614.js";import{s as Zt}from"./index2.module-582a9210-1715840129614.js";import{g as qu,a as Ju,u as Si}from"./index-28769104-1715840129614.js";import{P as Ci,M as ju,a as _u,T as Zu}from"./index-179890b4-1715840129614.js";import{P as $u}from"./index-4e28d06b-1715840129614.js";import{A as tl}from"./index-b49ef3da-1715840129614.js";import{T as rl}from"./index-f8f9e2e7-1715840129614.js";import"./urlUtils-a03c114e-1715840129614.js";import"./api-4261a394-1715840129614.js";import"./icon-collect-active-4272e308-1715840129614.js";import"./index-f4afcac5-1715840129614.js";import"./Slider-17a69cd3-1715840129614.js";import"./index-63751212-1715840129614.js";import"./catchData-ee7bbce5-1715840129614.js";import"./index-64303d0e-1715840129614.js";import"./sendSms-31725b91-1715840129614.js";import"./icon_default-d1bcaf5f-1715840129614.js";import"./icon-plus-t-35f4cdeb-1715840129614.js";import"./api-279396c0-1715840129614.js";import"./icon-pan-16e35a82-1715840129614.js";import"./api-642b417f-1715840129614.js";import"./ding-8e9054d5-1715840129614.js";import"./state-bac02a99-1715840129614.js";import"./searchArray-d5f42180-1715840129614.js";import"./api-0aa82bae-1715840129614.js";import"./index-717042f2-1715840129614.js";import"./api-ada3b0f5-1715840129614.js";import"./Cascader-1e2d657d-1715840129614.js";import"./index-5b211554-1715840129614.js";import"./index-28ccaf7b-1715840129614.js";import"./updateSubject-87ed0d83-1715840129614.js";import"./index.module-18dca782-1715840129614.js";const el="_wrap_vexso_1",nl="_WrapcoreView_vexso_9",al="_silder_vexso_14",il="_logoWrap_vexso_23",ol="_logo_vexso_23",sl="_sliderList_vexso_30",ul="_silderItem_vexso_40",ll="_radiusIcon_vexso_52",fl="_isActiveItem_vexso_71",cl="_Wrapcore_vexso_9",vl="_layoutTop_vexso_82",dl="_layoutLeft_vexso_92",pl="_schoolIcon_vexso_97",gl="_layoutRight_vexso_109",hl="_messageBadge_vexso_114",Al="_messageIcon_vexso_117",ml="_animation_vexso_122",Sl="_Tada_vexso_1",Cl="_messageBadgeNo_vexso_128",El="_messageBadgeHide_vexso_129",yl="_line_vexso_155",bl="_mesgWrap_vexso_161",xl="_teacherIcon_vexso_167",wl="_rotueLeft_vexso_173",Dl="_rotueRight_vexso_178",Ml="_optons_vexso_183",Il="_booxToolDisabled_vexso_194",Rl="_timerMeterClose_vexso_220",Bl="_propWrap_vexso_228",Tl="_teacherInfo_vexso_237",Ol="_teacherName_vexso_251",Pl="_propWrapList_vexso_261",Gl="_propWrapItem_vexso_266",Fl="_smallIcon_vexso_278",Nl="_smallTitle_vexso_284",kl="_logoutInfo_vexso_289",Ll="_toolboxImg_vexso_304",zl="_isDragIng_vexso_313",Ul="_booxToolWrap_vexso_323",Hl="_booxToolItem_vexso_335",Wl="_setTimeImage_vexso_360",Yl="_beatImage_vexso_366",Xl="_changePwdModal_vexso_372",Vl="_imChatModal_vexso_375",Ql="_modeWrap_vexso_378",Kl="_imGroupContainer_vexso_383",ql="_container_vexso_384",Jl="_hideModal_vexso_390",jl="_showClass_vexso_393",_l="_showModalTone_vexso_398",Zl="_studentRemove_vexso_401",$l="_suggestWrap_vexso_413",tf="_popoverClassModel_vexso_430",rf="_popBox_vexso_434",Q={wrap:el,WrapcoreView:nl,silder:al,logoWrap:il,logo:ol,sliderList:sl,silderItem:ul,radiusIcon:ll,isActiveItem:fl,Wrapcore:cl,layoutTop:vl,layoutLeft:dl,schoolIcon:pl,layoutRight:gl,messageBadge:hl,messageIcon:Al,animation:ml,Tada:Sl,messageBadgeNo:Cl,messageBadgeHide:El,line:yl,mesgWrap:bl,teacherIcon:xl,rotueLeft:wl,rotueRight:Dl,optons:Ml,booxToolDisabled:Il,timerMeterClose:Rl,propWrap:Bl,teacherInfo:Tl,teacherName:Ol,propWrapList:Pl,propWrapItem:Gl,smallIcon:Fl,smallTitle:Nl,logoutInfo:kl,toolboxImg:Ll,isDragIng:zl,booxToolWrap:Ul,booxToolItem:Hl,setTimeImage:Wl,beatImage:Yl,changePwdModal:Xl,imChatModal:Vl,modeWrap:Ql,imGroupContainer:Kl,container:ql,hideModal:Jl,showClass:jl,showModalTone:_l,studentRemove:Zl,suggestWrap:$l,popoverClassModel:tf,popBox:rf},ef=""+new URL("logo-654be404.png",import.meta.url).href,nf="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAAAXNSR0IArs4c6QAABg9JREFUaN7tmk+IVVUcxz+/c9846sxoWRY6FIiJo+mimoQgMAnb5yIkAnNT4K59C6N2Qm0iDBoMWtSmvZuEhFB3lVqYuoiY0vyvOc343j2nxZz7PPN7v3PvG5tavQOXe+a88/vd8/39/907MBiDMRiDkQxp3PF1WEfJFoSVABTJb614L9TfwiU2cJpNMmfy/CGMcJdJCsayvPQc/qLgHFvljwcD9EXYjHAYwksI4OLu3FyvFdJG+Ig1vMekzABwMqxijg8R9iGh1Rffag4gEgh8Q4sDbJXz/QM6EvYifAZhZMGBK8YuA8QGdozd7OYsLS5zA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M+89ZlOGqoNBzUMoc6k7PorX4o9NFP9d0P6eAworTjM+8D4vzEzV48J6430OdMMddPubo81DFyThphVhh5weXXjl6F41cDIcxfx68Ejl5Wey0eOh817eurfbDeHays10hPtBPYeQrGY703PZOpmJv6oTI5eF21bgLKVbsu7taOafmB6m2m25l+p99+qFAJ16tkmwXkCN1qIRitxJARALSd+4bis59+yGoncv2Q657Y1NDvZgHoVX+k38C4mhbBavSc8d6gLnnW9UOOS/mgsI0ziFzLmmA745SW0+acOEe/mPXu33KDCU7nAb0tbeBQ1q/uqUrX/B6UrFlVdV2lrembo+lBdkmnvn1YyyFEjpmgbqtsXzRoqe6SGi33xU++4y0+tgqRheOgeEbZAzLV89stRVk0HLJOO4WhJetjl0Xfkike4xVE/OI+Gh8ILyK8QWACGKUA3ozRzvIxz0P4sHFBX1OqcKuTdZCLeG4u2JNG2k43MM3g+Qn4ktfl2wf/Cr6Y8VtYwZ+cIoTtZrcbdBMnZ1nNju5H5SUYbkkBPSF/s5w9OLmwwKwssxG5SItXlxLM0gMCeFousJpJCpmikLme6FfIPQqZosXz7LQ/zf+3/3jxb8b5sJY7vEzJxvjR+AxwnB1yicEYjMEYjP9j/AOshrOJdrDqdgAAAABJRU5ErkJggg==",af="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAMAAADypuvZAAAAAXNSR0IArs4c6QAAALpQTFRFAAAA////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8hwkwQAAAD10Uk5TAAECBAUHCwwOERcYGR4iIycxMjM1Ojw9P0BJTFFTWF5mbW93goyQl5mor7O8vb/AxszR1Nnc6O3u9fj9/ikUCf8AAAFLSURBVEjH7ZZpc4IwEIYR8KQWz5YaRfBW8MAbkf//t9otQhLDCJnRfinvt312X5Ld2RkiCJlovWkIS6sGsEpB5c6i2lef0q4viv0dza62Snp012dkWSxzdeKcGE+8XHyW7aeWHc0A+jmbRM+GE5Q4BgHNM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GOdpSvvxDntpHwGrH084ycbqy3rfRUXaUrpQMpEopScrqsvM1HH3vpexpv1pfZ5W0uKnA06bhIyq5ndX0kI/FMo43Z1TigJrajYmoCmg1sf8pJggTsx6eKoZMICXVZxdDE9sYBbZIDwOY6IJW4tD/xeONRD0UpthaxmTX1Pe1850NTWY+RzmBk/ykBl2U7ca7axu/1asBJJ7NYP/oDrw1SIqINIx11jqEMnAX2pqhHnAIg5CRCkoulg5g2VkhpbI4k1+nDGDYiuqiOoQeA+Q2en+Y+H5Ju4E0ek+/H5xT8Nb0VYT7CVEh2EeB+YIGVGeM8lzxjae9gkBL7eUSOM3FNXNfu9S+4Sk49123KbgAAAABJRU5ErkJggg==",sf="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAMAAADypuvZAAAAAXNSR0IArs4c6QAAATJQTFRFAAAA////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////LddBWgAAAGV0Uk5TAAIDBAUGBwkKDhASExQVGBkdHyMmKC0uLzEyOj0+P0BGS0xNVVheYGNmaWprbHF7fYGGkZOUlZaXmZqfo6aorbC0tba5u7y9v8DBx8jKy8zN0tTb3N3f4+nq7fDx8vP3+Pn6/f6FbYleAAACEklEQVQYGdXB10IaURQF0I2IBQELdkXsSrEiSKwktomJIjYGE7HA/v9fyLkXaQIz5NG18CW5VnYuLnZWXPgPy4/UHpfRLneKFSk32jL5wBoPk2hD6JVK8f6+SOU1BDs9B9R+jQFjv6kd9MDSyC21WCdEZ4za7QgsLOWpPC/iw+IzlfwSWnHFqWWGUTGcoRZ3oamhK2r73ajRvU/taghNzD1ReVnFJ6svVJ7m8FnHdpHK3TgajN9RKW53oE6/Qe24F030HlMz+lHDn6Xyvo4W1t+pZP2oGMxSyU6hpakslewgyo6onHphwXtK5QgfJqhsOWDJsUVlAiUbFEnYSlJsoOSEZL4Ltr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1kIVGfCWLhW8rQ9I1l7SgqMFdOmXtsy2LBcCUlF/H2cphYVbRfadQNTxpWwhWTtRyO3Vcxavf6UGDs7EYNKFOn8JD3S4HEmVdIMJYqW7LmgAj4KWuOmUEHYWYtYTi6DQJymG1GqbVRtjBSGKVXUDYTQRQlGXm2NRNhqm2vnZHMHIfRPjnfIMqCsm+pWxVaZriShhVTrmdZ7m3Ec1Di9lJEsWGSrh8EnME/X7RyXqwtPiFDXWZXAHObSZEiwiQ7aL3JrpvvHd+FuK2NrOdlfVD+dfTaU4hIx8c93F3DxfURGRGZWS0XkD0NPk6e3tjdbdBh4NN89B2BlZ7belI3lwz8OFv9H7q1sbW+ken9H892z2vbO7FnG/uDg3sFFB73/JsG11UYuNr7zMXDrLQpdQxj85e3G3pXXi4fiiM5RxLurcPWdUEZGZlQOI+LtlQbaGMpQhiFSGZFZYTvwmiIis+ZXhiIiYmspI8QiRnNi4zWYTa/HNpcyEugie+PG3IDnwrImjmcaLAXJ54Qn/pmoXE1BZeSxrWTB2XVP/CNQqNBVR1X0JGGFOJ2pO6NIoFwqv3c5SViBTrZbbGIngGqsU33e3KFl7kH4ZHFl4h8BQnQ/tSBgmuWDOHpp4p/a3pgyPQ4fo1zc2zYTo6KYpEMDXiJClucPNnrwdMpL2KKEOyFLyhEaftma7GJLWLUSbsH3n/Pp6HCzT1WzfAzpMZEunxpGgp9e7DM0ItQOq7FYXl7JEIf3t9XifA9+6ydh1JPDcXmfhNCgb55/pkn2ERwvxaiuBzU/HQ+llDKUUsrZF7Tzfw/2oj4epKrFMjL0O5CAb17tIXrq7QhJH30FF35DCkmhUEiSdPvrHixaW4bMxirw63z5oNVzxbB3ypP/+hdQkdw4WB9R+AAAAABJRU5ErkJggg==",df="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAMAAADypuvZAAAAAXNSR0IArs4c6QAAAFRQTFRFAAAA////////////////////////////////////////////////////////////////////////////////////////////////////////////MF88lgAAABt0Uk5TAAgKExofJj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Sn593f3pavKxHf9n0jnT9gdnyBdbX3H71vPtzNL7BWnIm7Iufc/uBz9cKvQL7h5KV29d+jd2P5364Ru8IT+iaHTk9WmHScE2uYSUH1HY68eTZDtvGTyhxIA1vW+t6eWO0qMxNHr12DdTU1/vg29yCaG1NfeHrX+ZbE9aRkPIGxi9+R4YpYmv89EQ8obOn3d/2YvhV3590i8qQt6En3jpDeSNUcqsPSpC3tDqqjuwxc9+PesXnaGhCSdfZ5nx+zKxTTo5lP3DycyOHGZ14VESstFDw8L9ISvgKA15I/aB4MdKGarVsg1FeQ8NCdlXj2Zb/k5/yom2ydl9ZH2C/JJudtEaGhpx8lulDC2p/FopQzY79HulDNmw4LBShmoDse/Z7/6i7hSOVytmqG5z/O/yWeD3oXQhs2zbs+jEd6Wom1xWCDSUlUpI+0goJBpZtZBQVioh7SOhkGhk1UJCWalwHxNgAkyACZSVwP8hUI3VVMubnwAAAABJRU5ErkJggg==",Sf=ur({emits:["checkNavBar"],props:["item"],name:"layoutSilder",setup(t,{emit:r}){const e=a=>{r("checkNavBar",a)},n=lt(t.item);return po(()=>t.item,a=>{n.value=a},{deep:!0}),()=>P($r,null,[P("div",{onClick:()=>e(n.value),class:[Q.silderItem,n.value.isActive?Q.isActiveItem:""]},[P(Et,{width:"26",height:"26",src:n.value.isActive?n.value.activeIcon:n.value.normalIcon,"preview-disabled":!0},null),P("p",null,[n.value.name]),n.value.isActive?P(Et,{src:mf,class:Q.radiusIcon,previewDisabled:!0},null):null])])}}),Cf="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAuCAYAAABu3ppsAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAMKADAAQAAAABAAAALgAAAAAE50XvAAAJuUlEQVRoBeWaa6xcVRXH1557K7T1thRrX1KhhSpKCsW2aDShiBCiJD5INeWDAU2MCR+MX/ARi0IgSOSLxmiUxLbRoAE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Gi6bmYGMBWor1BYRp1NMYKSpRclz+X9h+kf0CYdzzm+A51Z2tBwK4EpwGUVQi3KoZRc6bN2yTN2YDD9A3pNP0b0wbIKwKCuAMzvytYsVeYdN38C9STPmIHDZAdq0ybqOGzTdNmemYXY7AqhFoVXUp64qpkB5AYHkx1ona5BdX35BmCozKQBqBOvnPPo4GGyA72iuxFdGNvVtFAzi24Op+dK9uur46pWkDyNtLCgcgWQtQCoPg+1aY4CPYiOL9vdtBW9LYL9MiapxEnKL8uZ6UMHk02htToH0X1le86XArcPYuJUyXPN0MJkA3pJn0R0S9lGoKkzPWHO8UMvqTA1A5gw9DBZgT4EfShWSVvhOd+ppJMmyrQwNJiragOTDegF/ZVcsETo245tDM0gTY2k6wG05LmydjDVgV7URgp6NKaOgd0FTEiopn0ziE2cYTkzRG42sAXec7oc0fZY/phVL/JKHL9GK1uVhuVMjWGqK/SsvktOnyg5nKlzXehuaWpE10s1W1jODANMdaBndD85bQ4UssPOt9mLEM/d0vYJVLZTx+qhmjSzTK7pE2ubjqGHc4hK7P3M/WExmuZsyGkK7EF5nwXyRZZODGWbakCnEb24pI4t4Fb46sgxinQjdNNLN3eyv9I70KHsfNJ3VS59VuvriK4tWfYkUZZwCKUb6A7O/XjlXmuY6jlkLZ7We4EbgSPcYi/gxV4/jdqjenE6arue3LH/gUa7YOUK7df5FNhGQWcE6xx3g9397F5PapPl76Lv89umPSd2XY6gPMrm+L/LJAEdpjeESfritI5m6YQ/QGmDUmmAYnt8coTNMtONmnKgH/Q4RZ1UUiaaQLM83Nq47dNGPsv1qE2l56ucYLPY1mbpKAfapysp8B5FrY9BRUto90H+tSxtfGC39ktTMHEwpZcij/OObKsMZHd/0omcoRHbtLIXVXb09zyQv/GfkfYdBZSxHOUNsTe1seOCs+3/AJ9wzWJzRtuhAAAAAElFTkSuQmCC";function xf(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!Eu(t)}const wf=ur({name:"layoutSilder",setup(){const t=Ao(),r=vn(),e=Ia(),n=tr([{activeIcon:of,name:"主页",normalIcon:sf,isActive:!0,id:1,path:"/",lightList:["/content-instruments","/content-instruments-detail","/content-musician","/content-music","/content-music-detail","/content-knowledge"]},{activeIcon:nf,name:"班级",normalIcon:af,isActive:!1,id:3,path:"/classList",lightList:["/classDetail","/classStudentRecode","/afterWorkDetail","/classStudentDetail"]},{activeIcon:pf,name:"学生",normalIcon:gf,isActive:!1,id:2,path:"/studentList",lightList:["/studentDetail"]},{activeIcon:ff,name:"备课",normalIcon:cf,isActive:!1,id:4,path:"/prepare-lessons"},{activeIcon:bf,name:"作业",normalIcon:yf,isActive:!1,id:9,path:"/homework-record",lightList:["/homework-record-detail"]},{activeIcon:Cf,name:"制谱",normalIcon:Ef,isActive:!1,id:8,path:"/notation"},{activeIcon:uf,name:"AI学练",normalIcon:lf,isActive:!1,id:5,lightList:["/xiaoku-music"],path:"/xiaoku-ai"},{activeIcon:vf,name:"资源",normalIcon:df,isActive:!1,id:6,path:"/natural-resources"},{activeIcon:hf,name:"数据",normalIcon:Af,isActive:!1,id:7,path:"/data-module"}]),a=o=>{n.forEach(s=>{s.isActive=!1,s.id==o.id&&(s.isActive=!0,o.path&&r.push(o.path))})};Cu(o=>{i(o.path)});const i=o=>{n.forEach(s=>{var u;s.isActive=!1,(s.path===o||(u=s.lightList)!=null&&u.includes(o))&&(s.isActive=!0)})};return te(()=>{i(e.path)}),()=>{let o;return P($r,null,[P("div",{class:Q.silder},[P("div",{class:Q.logoWrap},[P(Et,{class:Q.logo,src:ef,previewDisabled:!0},null)]),P(mo,{class:Q.sliderList},xf(o=n.map(s=>P(Sf,{onCheckNavBar:()=>{t.getIsEditResource?yr.emit("pageBeforeLeave",()=>a(s)):a(s)},item:s},null)))?o:{default:()=>[o]})])])}}}),Df="_isHidden_1odu5_1",Mf="_hiddenBox_1odu5_8",If="_showBox_1odu5_11",Rf="_suggestOption_1odu5_14",Bf="_updateBtnGroup_1odu5_14",Tf="_suggestSelect_1odu5_23",Of="_inBack_1odu5_86",Pf="_isAni_1odu5_95",Gf="_reversal_1odu5_1",Ff="_inBackBottom_1odu5_98",Nf="_inFront_1odu5_107",kf="_submitBtn_1odu5_114",Lf="_updatePassword_1odu5_125",zf="_forUp_1odu5_1",Uf="_isend_1odu5_128",Hf="_formWrap_1odu5_136",Wf="_sealing_1odu5_139",Yf="_messageWrap_1odu5_145",Xf="_forDown_1odu5_1",Vf="_stamp_1odu5_1",Qf="_formTitle_1odu5_181",Kf="_bgLine_1odu5_186",qf="_formWrapInfo_1odu5_196",Jf="_closeBtn_1odu5_199",jf="_countInput_1odu5_208",_f="_addInput_1odu5_233",Zf="_suggestionBtnDot_1odu5_280",$f="_suggestionBtn_1odu5_280",tc="_endRoute_1odu5_1",Ct={isHidden:Df,hiddenBox:Mf,showBox:If,suggestOption:Rf,updateBtnGroup:Bf,suggestSelect:Tf,inBack:Of,isAni:Pf,reversal:Gf,inBackBottom:Ff,inFront:Nf,submitBtn:kf,updatePassword:Lf,forUp:zf,isend:Uf,formWrap:Hf,sealing:Wf,messageWrap:Yf,forDown:Xf,stamp:Vf,formTitle:Qf,bgLine:Kf,formWrapInfo:qf,closeBtn:Jf,countInput:jf,addInput:_f,suggestionBtnDot:Zf,suggestionBtn:$f,endRoute:tc},rc="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAADlZJREFUeF7tWm2MVNUZfs7M7JewgkWLYnSBFUWwxlBFayWE+FmoJRKLNlat1f4oKg4QkyZNmibaaqoWF4oSU0tqRFNRSa0abdpaq7FardSK+FEoVYHdZT9gd77nzsxpnnPeM3P37p1lvYSsBiaZ3J2Ze2fnfc7zPu/zvucqHOYPdZjHjyMAHGHAYY7AkRQ4zAlwRAQ/Uwr8dKtubCngqayHORWFo5SGjisYFGMKWvFvBcQg78XMa+1e8zwlL8yB59przLV8DxpojqNrfAs2LmlTdx9qho4agAc/1HP/04NXFdAwPg40KCAeBxISBI9EgoDw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TWu+fDaEoOkIIQ+Ryy3pXKaXszsMY0WzIvMMFFj5QljklIFwA0BV8nDt3bmxsbKwYZfHZyEgpvwDgxvBx21jVzrtgyRTLLhELXAK2sNZ61jVGlA1IKdMAPmeR+bxSyrwG1Q0hxFG8XiH8klhYSvlvAHMsH35Vq4opCqlWMkKI24noGkvmOq31l0I+fGIul6t12cz8glKqN7h0vwNgOoMgzDTtijslOzo62nPo0KFfEdHrLB9+v1LqQRs7HNaY+cmyzOsDH67LLMycY+Zr+vr6vnesLG0K/i1btpjH8FsBjFpkS729va/ZuXPnYTNXLW1NGl9vvycz83ql1NoK4Xg8vsAU2QAGOrXgLPRNO3WDSdsANla76nCUMq6xxBRAtQ+m+i+7xQOzWHDWKsz866GhIWHeNqSU91X7xKPwyqXCpUqp+8yHup1UW5Y7XwpLm67add2PBD1gE8LPMfPagOxRhAP38H3/+vK/Asz7mWkwa9Fj1qb8r6JJAkfMWwUz3x1+yQxcgojeBOAAMz8ai8XWhV/kX9SM1uEGG6q/QvjFsKqN+R87iW1cNkR5wgAAAABJRU5ErkJggg==",Jn=""+new URL("inFront-539c64f6.png",import.meta.url).href,Co=""+new URL("inBack-8ef3e8f3.png",import.meta.url).href,jn=""+new URL("submitBtn-eeef99db.png",import.meta.url).href,_n=""+new URL("sealing-3ca78c97.png",import.meta.url).href,Zn=""+new URL("boxBg-7cf5b952.png",import.meta.url).href,uc="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAABz9JREFUeF7lW2tMVEcU/mYXFmHBhSZCaKqiUh/FVgukaGMUUbQqqa8YBYFiEYnVVNNYsFqbKKAF3xa1oVGJr1IVaw20wUdFeagBKfhIrdHaagMCKrtSFlDYaWZxb1mWZe+9u7i7MAnhx55zZr7vzpw5M3MOgYCmVFIPQprCNKBTAQwkFK9TwBugzgLMWFCUNBKgihJUAvhbApJHaZ8cd3dSx7cTwkewrr4xmLRq1oKQYEqpAx8da8kQQ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KHEsK9JMaNN8MkKMGk3+APfXKRqk6eu9vySigRKluv8LekIvDX8OgoSelPQTP/FZgFhGcoqe1rTIP+LQnAAmwOp+XhJGwITUL6y//xjvbMaanLWkwNIwxjky/334Fz3QlsdF6jxIhAJsZ+Kv5t4V16R6HQxFkIHtizgscVO7rPWvZGHcNP3FHQoOJgSMBVBFm1+Ha3bO7dCK9omvlZaTC2tJAKYAF1quau8L420ZCgM8DgE6LqXfP7xSqVEz+gHR5VYSFvf2t03xDS4AQFnnL0zkNe3rIg5mKwCkYn35pO961/X3BuHQAwAB0RsZCuwhAExUjwONZMYBQCtak04nICZ//BiAtlV0IcC8kjT1AGKayi5AjvsBIa1qowPwAaoHApBPLCkAVGvnPkDSeIvQCFDeB9gTy7EDQJNsNwGVygxFdKd2AGh8rG5AWZMW3ZPsgNsgAD0Io3tAehvyC0eytkdA7EFckLUEurCnMSVrPnRhLySHxicELrCUHQioCiEGPuybCXlkdQt82LczcnZkeQWc2A8UlNEPfANu7EeaTa+lDXRkP1QPmGgNHNmPdfMECAMvFre4AjcgDp1XG7jeDa14juaC5XIVYYNhqJhqG4cs1/u4pcVxT7iQ5if7yOppMGRBQUDmIWBucZT2TtvOdoxNllQ2mlCOp7K0eaNZ1eoCGeniuNSKRtPobHW5m23edp974OAdeXiHLt6xj3fw5B19+YbveeXHO/5/AxSd5ZH6k/LEAAAAAElFTkSuQmCC";const cc=ur({name:"imGroup",setup(){const t=ye();lt(!1);const r=lt(),e=lt(!1),n=/(localhost|192)/.test(location.host)?"https://test.kt.colexiu.com":/online.lexiaoya.cn/.test(location.href)?"https://kt.colexiu.com":location.origin,a="".concat(n,"/classroom-im/?v=").concat(+new Date,"&userID=").concat(t.getUserInfo.imUserId,"&Authorization=").concat(t.getToken,"&t=").concat(+new Date);return()=>P("div",{class:Q.imGroupContainer},[P(Ra,{show:!e.value},{default:()=>[P("iframe",{ref:r,onLoad:i=>{e.value=!0,yu(i.target)},class:[Q.container],frameborder:"0",src:a},null)]})])}}),vc=""+new URL("bg-line-7cb142ce.png",import.meta.url).href,dc="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAABGCAYAAABxLuKEAAAAAXNSR0IArs4c6QAACbpJREFUeF7tm39wFPUVwN/bzSaXEglMHA/5UdsRW9oqlNEKgre7l6N1AMkMba/+aK2OnUIVFCVip7TjpGM7TCkRFCsz1BlamFrb2KmAGMhwye53nUp/UG1pLSoUtBC8BskwCCG5232dL3OX7m32bvcud5eL5vtn9n3f973Pve93377vC8LYcCWAY1zcCYyByRIZY2A+SmBmbqdxp3tgHRAsJQQJAXYF6mDNv5fjWb9Hx4cyYia30m4iujUTArLuZlARkfzA+dCBmfoE3Wha9Ec350UB1ROrUf9ogmmlb5hEO9ycFxDvP9mMW8oCZsGCBfWJRKIRAD5BRA1EVMwovCgIwl5d1//sxxkuM6WV7rGItrnJI+Kq7mZ8yo+ugp2QZfmTRPRjAPgqAEh+FitQxgKARYZh7PMzf0TBKIoStSzrlwBQ68fYIsjsMAzjm370jBgYRVHusCzrVwBQcLT5cdAug4gtjLEf+pk3ImDC4fCnk8nka9kiBREvEhEP/WKNfkR8ORAILO/o6DjvR+mIgJFl+XdE9GWHgWcQ8VFBEPZpmnbCj/GllCk7GFVVJ5mm2e3YQj2SJM3u7Ow8WUpn7bqnPE0NmIDrLDPrgX8LATW7vpUAnwGAF12fiWCSBW93N+N/+HNf50Q4HL4+mUyuAoC7HHv/64yx58oBpYVI2PoEbCKAlVDclCDDfET8+YRpsDInmEgk8tmBgYEnAWCBi/M0ceLE+l27dp0rB5gprbTaImotx1r8sM8KRlGUJUT0HBHVZTHmXcMwriqHoXyNya30VyKaXY71EPCoKxhFUW6yLEsDgOochhw1DGN6OQzla1y5gY4DUFl+CEQ8MwSMqqoB0zTfBICPO51GxDgRvYaIfQBwijG2ooxgtgNQxhlXqrUR8cUhYEKh0EMAsNGxaI8oiss0TXM90UtloF3vtM00OdkPfyh11CDiqSqEm93A/AUArk8bhYimKIpzurq6DpYDQ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IHWZ27Z9wLAGrZqlbqAtnsd3cJ/uDHFvAfRZDWs2Kl3fIsQasmlVY1vxlkhOTe8fjv2bsARebWJPj4yQf9t/kyrKQGMAKy8XnyciaTQPOv6SJAly4jbpZ5Ucx23+cQU4cYNUstcfL6sJms5HPHnIiAatm5U9P5PAQgZ+YIbs86MQC7jP5Us+Tt4R9gsK+r8SzROIBF+6X1TGZX5v75cFfsmEBuHfIbkYTgMd0HF2NZ38dxoCLTSucT1ab+tQz5or/DJse3JekyjRwvA1NAjwSRc6QOH2rhiXgosCFxDBPRJn9J2rYwxpw77Cdz+OFdXFJ1qYTekUALsy0VUa+H4rgoTjm1gwLesUALgpYSKC6Ps5ZcoOEXXGA+8y2G3jxlioRSc29Qq9YwEqw/LPmPXiAFlYn8R0UTqBXNOCiQOq26oM2LCHwo6S/MmggdAO4jyLqvVDdx/AAgcbh8oY3A7jEOJd/UtWChSCakv5CTgPY5kKmXq1rESsA3J3E2ysD2MlM5dImg/tBLAVY77Ba5MUMYA8IVII3AEsJ3A1yvAcT2qoYwD6krlvLUWfOYx6Ar1KwAOQ4H+ZCqWoABySrejkJBXewB/dAMJfkxIBM+zJjAPuSr3Tlhlamd3fgelqYR+R7+HUgI9E6EqchaBprk3VrOflsN26F4CbLgtr2O1vXRkEDOIKvxqzNHHv0KG6AhZsIfIbALAAzwujlBnAEgEu5rN/AcR+cwyctYpYIriVQJ8B0ENMJjvYapgHsVTlN9dSq2oyNmNJ9HjPYg+kUTAGhcplMErn4s/C3Sn0xikCVCKqKv/8fYSl83YHzUrUAAAAASUVORK5CYII=",gc=t=>be.post("/edu-app/sysSuggestion/save",{data:t}),hc=t=>be.post("/edu-app/sysSuggestionType/page",{data:t}),Ac=t=>be.post("/edu-app/sysParamConfig/page",{data:t}),mc=t=>be.post("/edu-app/sysSuggestion/page",{data:t}),Sc=t=>be.get("/edu-app/sysMessage/batchSetRead",{data:t,params:t}),Cc="_suggestionList_oky89_1",Ec="_attendClassSearch_oky89_4",yc="_iconSearch_oky89_25",bc="_classList_oky89_29",xc="_listSection_oky89_34",wc="_emptySection_oky89_37",Dc="_thingItem_oky89_41",Mc="_item_oky89_62",Ic="_IMageWraps_oky89_77",Rc="_ShowImg_oky89_82",Bc="_itemResult_oky89_89",Qt={suggestionList:Cc,attendClassSearch:Ec,iconSearch:yc,classList:bc,listSection:xc,emptySection:wc,thingItem:Dc,item:Mc,IMageWraps:Ic,ShowImg:Rc,itemResult:Bc},Tc=ur({name:"suggestion-list",props:{typeList:{type:Array,default:()=>[]}},setup(t){const r=tr({suggestionTypeList:[],loading:!1,finshed:!1,pagination:{page:1,rows:20},searchGroup:{suggestionTypeId:null,timer:null},tableList:[],show:!1,item:{}}),e=async()=>{try{r.pagination.page===1&&(r.loading=!0);const{timer:o,...s}=r.searchGroup,{data:u}=await mc({...r.searchGroup,...s,...wu(o,["startTime","endTime"])});r.loading=!1;const l=u.rows||[];l.forEach(f=>{const v=f.attachmentUrls&&f.attachmentUrls.split(",")||[];f.imgList=v}),r.pagination.page===1?r.tableList=l:r.tableList.push(...l),r.finshed=u.pages<=u.current}catch(o){r.loading=!1}},n=Yu(o=>{r.pagination.page=r.pagination.page+1,r.pagination.page=1,r.tableList=[],r.searchGroup=Object.assign(r.searchGroup,o),e()},100),a=Xu(()=>{r.pagination.page=r.pagination.page+1,e()},500),i=async()=>{try{await Sc({messageType:"SYS_SUGGEST_FEEDBACK_TEACHER"}),yr.emit("onSuggestionRead")}catch(o){}};return te(()=>{t.typeList.forEach(o=>{r.suggestionTypeList.push({label:o.name,value:o.id})}),i(),e()}),()=>P("div",{class:Qt.suggestionList},[P("div",{class:Qt.attendClassSearch},[P(Je,{placeholder:"反馈类型",clearable:!0,options:[{label:"反馈类型",value:null},...r.suggestionTypeList],value:r.searchGroup.suggestionTypeId,"onUpdate:value":o=>r.searchGroup.suggestionTypeId=o},null),P(Wu,{value:r.searchGroup.timer,"onUpdate:value":o=>r.searchGroup.timer=o,separator:"至","start-placeholder":"反馈开始日期","end-placeholder":"反馈结束日期",type:"daterange",clearable:!0,timerValue:r.searchGroup.timer},null),P(go,{type:"primary",class:"searchBtn",onClick:n},{default:()=>[bt("搜索")]})]),P(mo,{class:Qt.classList,onScroll:o=>{var f,v,c;const s=(f=o.target)==null?void 0:f.clientHeight,u=(v=o.target)==null?void 0:v.scrollTop,l=(c=o.target)==null?void 0:c.scrollHeight;s+u+20>=l&&!r.finshed&&!r.loading&&a()}},{default:()=>[P(Ra,{show:r.loading},{default:()=>[P("div",{class:[Qt.listSection,!r.loading&&r.tableList.length<=0?Qt.emptySection:""]},[r.tableList.map(o=>P("div",null,[P(bu,{class:[Qt.thingItem,"isFull"]},{default:()=>[P("div",{class:Qt.item},[P("span",null,[bt("反馈类型:")]),o.suggestionTypeName]),P("div",{class:Qt.item},[P("span",null,[bt("反馈内容:")]),o.content]),o.imgList&&o.imgList.length>0&&P("div",{class:Qt.item},[P(xu,{class:Qt.IMageWraps},{default:()=>{var s;return[(s=o.imgList)==null?void 0:s.map((u,l)=>P(Et,{class:[Qt.ShowImg],src:u,objectFit:"cover"},null))]}})]),o.handleStatus&&P("div",{class:Qt.itemResult},[P("span",null,[bt("处理结果:")]),o.handleAttitude==="NO"?"感谢你对音乐数字课堂的关注与支持,我们会认真处理您的反馈,尽快修复和完善相关功能!":o.feedbackContent])]})])),!r.loading&&r.tableList.length<=0&&P(So,null,null)])]})]})])}}),Oc=ur({name:"train-update",emits:["close","submit"],setup(t,{emit:r,expose:e}){const n=Du(),a=ye(),i=tr({suggestionTypeId:null,clientType:"TEACHER",content:"",attachmentUrls:"",type:"APP",mobileNo:a.getUserInfo.phone}),o=tr([]),s=lt(!1),u=lt(!1),l=lt([]),f="https://gyt.ks3-cn-beijing.ksyuncs.com/",v=lt(),c=lt([]),d=lt(),p=lt(!1);lt();const g=lt(""),h=lt("");lt(!1);const A=lt(!1),m=async()=>{var w;(w=d.value)==null||w.validate(async O=>{if(O)return;const N=c.value.map(k=>k.url).join(",");try{const k=await gc({...i,attachmentUrls:N});s.value=!0,setTimeout(()=>{S(),A.value=!0,r("close")},3e3)}catch(k){console.log(k)}console.log("onSubmit")})},S=()=>{A.value=!1,s.value=!1,i.suggestionTypeId=null,i.clientType="TEACHER",i.content="",i.attachmentUrls="",c.value=[],i.type="APP",i.mobileNo=a.getUserInfo.phone};e({onReset:S});const C=async w=>{console.log(w,"onBeforeUpload");const O=w.file;let G=!0;const N=2;if(G=O.file.size/1024/1024{const F=o.find(U=>U.id==w.id);F.file=w,Hu({file:w,action:O,data:F,onProgress:k,onFinish:G,onError:N})},E=w=>{const O=w.file.name;"".concat(w.file.id+O)},b=async w=>{console.log(w),p.value=!1},x=async()=>{try{const w=await hc({rows:9999,page:1});l.value=w.data.rows||[]}catch(w){console.log(w)}},D=async()=>{try{const{data:w}=await Ac({page:1,rows:999,group:"OTHER"}),O=w.rows||[];g.value=O.find(G=>G.paramName=="customer_service_email").paramValue,h.value=O.find(G=>G.paramName=="customer_service_phone").paramValue,console.log(g.value,h.value)}catch(w){console.log("请求报错"),console.log(w)}};(w=>{for(let O=0;O{x(),D()}),()=>P("div",{class:[Ct.suggestOption]},[P("div",{class:[Ct.updatePassword,s.value?Ct.isAni:"",A.value?Ct.isend:null]},[P("div",{class:[Ct.formWrap,s.value?Ct.isAni:""]},[P(Et,{class:Ct.closeBtn,src:pc,previewDisabled:!0,onClick:()=>{S(),r("close")}},null),P(Et,{class:Ct.bgLine,src:vc,previewDisabled:!0},null),P("h2",{class:Ct.formTitle},[bt("意见反馈"),P(Xn,{dot:M.value,color:"#FF1036",offset:[-5,4],class:Ct.suggestionBtnDot},{default:()=>[P(go,{type:"primary",round:!0,secondary:!0,class:Ct.suggestionBtn,onClick:()=>u.value=!0},{default:()=>[bt("反馈记录")]})]})]),P("div",{class:Ct.formWrapInfo},[P(Mu,{labelAlign:"right",labelPlacement:"left",labelWidth:"auto",ref:d,model:i,requireMarkPlacement:"left"},{default:()=>[P(Bn,{rule:[{required:!0,message:"请选择反馈类型"}],path:"suggestionTypeId"},{default:()=>[P(zu,Vn({class:Ct.suggestSelect,"value-field":"id","label-field":"name",style:{width:"227px!important"}},{options:l.value,placeholder:"反馈类型(必选)",clearable:!0,inline:!0},{value:i.suggestionTypeId,"onUpdate:value":w=>i.suggestionTypeId=w}),null)]}),P(Bn,{path:"content",rule:[{required:!0,message:"请输入反馈内容"}]},{default:()=>[P(Iu,{class:Ct.countInput,type:"textarea",rows:5,placeholder:"请输入反馈内容",maxlength:200,resizable:!1,showCount:!0,value:i.content,"onUpdate:value":w=>i.content=w},null)]}),P(Bn,null,{default:()=>[P(Ru,{"list-type":"image-card",accept:".jpg,jpeg,.png",fileList:c.value,"onUpdate:fileList":w=>c.value=w,ref:v,multiple:!0,max:5,showPreviewButton:!0,action:f,customRequest:y,onBeforeUpload:w=>C(w),onRemove:w=>b(w),onFinish:w=>E(w)},{default:()=>[P("div",{class:Ct.addInput},[P(Et,{previewDisabled:!0,src:dc},null),P("p",null,[bt(" 点击上传图片")]),P("p",null,[bt("(最多五张)")])])]})]})]})])]),P("div",{class:[Ct.inBack,s.value?Ct.isAni:""]},null),P(Et,{src:Zn,class:Ct.inBackBottom,previewDisabled:!0},null),P(Et,{src:Jn,class:Ct.inFront,previewDisabled:!0},null),P(Et,{src:_n,class:[Ct.sealing,s.value?Ct.isAni:""],previewDisabled:!0},null),s.value?null:P($r,null,[P(Et,{src:jn,onClick:()=>{m()},class:Ct.submitBtn,previewDisabled:!0},null),P("div",{class:Ct.messageWrap},[h.value?P("p",null,[bt("客服电话:"),h.value]):null,g.value?P("p",null,[bt("邮箱:"),g.value]):null])])]),P(Sr,{show:u.value,"onUpdate:show":w=>u.value=w,class:["modalTitle background"],title:"反馈记录",preset:"card",closeOnEsc:!1,style:{width:"758px"}},{default:()=>[P(Tc,{typeList:l.value},null)]})])}}),Pc="_rightTeachingWrap_1u4c1_1",Gc="_rightTeachingWrapTitle_1u4c1_8",Fc="_lookMore_1u4c1_14",Nc="_classSearchList_1u4c1_30",kc="_teachListWrap_1u4c1_47",Lc="_teachListWrapWall_1u4c1_50",zc="_teachGroup_1u4c1_76",Uc="_teachGroupTitle_1u4c1_79",Hc="_teachGroupList_1u4c1_89",Wc="_teachGroupListDot_1u4c1_96",Yc="_teachGroupItemWrap_1u4c1_106",Xc="_teachGroupItemLeft_1u4c1_119",Vc="_teachGroupItemHeader_1u4c1_127",Qc="_teachGroupItemRight_1u4c1_136",Kc="_teachGroupItemName_1u4c1_139",qc="_teachGroupItemInfo_1u4c1_155",Jc="_subjectName_1u4c1_160",Ar={rightTeachingWrap:Pc,rightTeachingWrapTitle:Gc,lookMore:Fc,classSearchList:Nc,teachListWrap:kc,teachListWrapWall:Lc,teachGroup:zc,teachGroupTitle:Uc,teachGroupList:Hc,teachGroupListDot:Wc,teachGroupItemWrap:Yc,teachGroupItemLeft:Xc,teachGroupItemHeader:Vc,teachGroupItemRight:Qc,teachGroupItemName:Kc,teachGroupItemInfo:qc,subjectName:Jc},jc=ur({name:"home-teachItem",props:["item"],setup(t,{emit:r}){return()=>P($r,null,[P("div",{class:Zt.teachGroupItemWrap},[P("div",{class:Zt.teachGroupItemLeft},[P(Et,{previewDisabled:!0,src:t.item.image?t.item.image:qn,class:Zt.teachGroupItemHeader,"object-fit":"cover"},null)]),P("div",{class:Zt.teachGroupItemRight},[P("p",{class:Zt.teachGroupItemName},[t.item.teacherName,bt(" "),P("span",null,[t.item.classGroup])]),P("p",{class:Zt.teachGroupItemInfo},[t.item.subjectName&&P("span",{class:Zt.subjectName},[t.item.subjectName]),t.item.conent])])])])}}),_c=ur({props:["list","keys"],name:"home-teachGroup",setup(t,{emit:r}){return()=>P($r,null,[P("div",{class:Zt.teachGroup},[P("p",{class:Zt.teachGroupTitle},[t.keys]),P("div",{class:Zt.teachGroupList},[P("div",{class:Zt.teachGroupListDot},null),t.list.map(e=>P(jc,{item:e},null))])])])}}),Zc=ur({name:"class-modal",emits:["confirm"],setup(t,{emit:r}){const e=vn(),n=ye(),a=tr({showAttendClass:!1,studentList:[],bookVersionId:null,classGroupId:null,category:null,subjectId:null,musicTagList:[],loading:!1,list:[],unit:null,unitList:[],subjectList:[],gradeList:[],classLoading:!1,total:0,lastClassSelect:{currentClass:null,name:"",upgradeFlag:!1,gradeYear:null,gradeLevel:null},classSelect:{currentGradeNum:null,currentClass:null,name:"",upgradeFlag:!1,gradeLevel:null,gradeYear:null},popSelectOptions:[],popSelectYearList:[],popSelectLevelList:[],showGuide:!1,showPreview:!1,itemPreview:{},homeLeftHeight:"auto"}),i=lt({}),o=async()=>{try{const{data:v}=await Vu({gradeLevel:a.classSelect.gradeLevel,gradeYear:a.classSelect.gradeYear}),c=v||[],d=[],p=[];c.forEach((g,h)=>{if(h===0)if(a.lastClassSelect.currentClass)a.classSelect.currentClass=a.lastClassSelect.currentClass,a.classSelect.name=a.lastClassSelect.name,a.classSelect.upgradeFlag=a.lastClassSelect.upgradeFlag;else{const m=g.classGroupList[0];a.classSelect.currentGradeNum=g.currentGradeNum,a.classSelect.currentClass=m.id,a.classSelect.name=m.name}const A=[];g.classGroupList.forEach(m=>{A.push({label:m.currentClass+"班",value:m.id,lastStudy:m.lastStudy}),p.push({label:m.name,value:m.id,currentGradeNum:g.currentGradeNum,lastStudy:m.lastStudy})}),d.push({label:qu[g.currentGradeNum],value:g.currentGradeNum,childrens:A})}),a.popSelectOptions=p,a.gradeList=d}catch(v){}},s=async()=>{const{data:v}=await mi({page:1,rows:1,teacherId:n.getUserInfo.id});if(v.rows.length>0&&v.rows[0]){const c=v.rows[0];a.lastClassSelect={currentClass:c.classGroupId,name:c.classGroupName,upgradeFlag:c.upgradeFlag,gradeYear:c.gradeYear+"",gradeLevel:c.gradeLevel+""}}},u=async()=>{try{const{data:v}=await Qu(),c=v||[];c.forEach(d=>{d.name=d.name+"学年"}),a.popSelectYearList=c||[],c.length>0&&(a.lastClassSelect.gradeYear?a.classSelect.gradeYear=a.lastClassSelect.gradeYear:a.classSelect.gradeYear=c[0].id)}catch(v){}},l=async()=>{try{const{data:v}=await Ku(),c=v||[];c.forEach(d=>{d.name=d.name+"级"}),c.unshift({id:"",name:"全部学级"}),a.popSelectLevelList=c||[],c.length>0&&(a.lastClassSelect.gradeLevel?a.classSelect.gradeLevel=a.lastClassSelect.gradeLevel+"":a.classSelect.gradeLevel=c[0].id)}catch(v){}},f=async()=>{a.classLoading=!0;try{const{data:v}=await mi({classGroupId:a.classSelect.currentClass,gradeLevel:a.classSelect.gradeLevel,gradeYear:a.classSelect.gradeYear,page:1,rows:4,teacherId:n.getUserInfo.id}),c=v.rows||[];a.total=v.total||0;const d={};c.forEach(p=>{const g=Bu(p.classDate).format("MM-DD");d[g]||(d[g]=[]);const h=p.lessonCoursewareJson?JSON.parse(p.lessonCoursewareJson):{};d[g].push({classGroup:a.classSelect.name,teacherName:p.teacherName,conent:h.lessonCoursewareName+" | "+h.lessonCoursewareDetailName+" | "+h.lessonCoursewareKnowledgeDetailName+" | "+(h.useChapterLessonCoursewareName||""),image:p.teacherAvatar,subjectName:p.instrumentName})}),i.value=d}catch(v){console.log(v)}a.classLoading=!1};return te(async()=>{a.classLoading=!0,await s(),await u(),await l(),await o(),await f(),a.classLoading=!1}),()=>P("div",null,[P("div",{class:Ar.rightTeachingWrap},[P("div",{class:Ar.rightTeachingWrapTitle},[P("div",{class:Ar.classSearchList},[P(Je,{value:a.classSelect.gradeYear,"onUpdate:value":[v=>a.classSelect.gradeYear=v,async v=>{a.classSelect.gradeYear=v,a.lastClassSelect.currentClass=null,a.classSelect.currentClass=null,await o(),await f()}],class:Ar.lookMoreSearch,placeholder:"全部学年",options:a.popSelectYearList,labelField:"name",valueField:"id"},null),P(Je,{value:a.classSelect.gradeLevel,"onUpdate:value":[v=>a.classSelect.gradeLevel=v,async v=>{a.classSelect.gradeLevel=v,a.lastClassSelect.currentClass=null,a.classSelect.currentClass=null,await o(),await f()}],class:Ar.lookMoreSearch,placeholder:"全部学级",options:a.popSelectLevelList,labelField:"name",valueField:"id"},null),P(Je,{value:a.classSelect.currentClass,"onUpdate:value":[v=>a.classSelect.currentClass=v,v=>{a.popSelectOptions.forEach(c=>{c.value===v&&(a.classSelect.currentGradeNum=c.currentGradeNum,a.classSelect.currentClass=c.value,a.classSelect.name=c.label,a.classSelect.upgradeFlag=c.upgradeFlag,f())})}],class:Ar.lookMoreSearch,placeholder:"选择班级",options:a.popSelectOptions},null)])]),P(Ra,{show:a.classLoading,style:{minHeight:"40vh"}},{default:()=>[Object.keys(i.value).length>0&&P("div",{class:Ar.teachListWrap},[Object.keys(i.value).map(v=>P(_c,{list:i.value[v],keys:v},null))]),Object.keys(i.value).length<=0&&!a.classLoading&&P(So,null,null)]}),a.total>4&&P("div",{class:Ar.teachListWrapWall},[P("span",{onClick:()=>{r("confirm"),sessionStorage.setItem("classDetailTabs","attendclass"),e.push({path:"/classDetail",query:{name:a.classSelect.name,id:a.classSelect.currentClass,gradeYear:a.classSelect.gradeYear,upgradeFlag:a.classSelect.upgradeFlag?1:0,v:+new Date}})}},[bt("查看全部")])])])])}}),$c=ur({name:"layoutTop",setup(){const t=vn(),r=lt(0),e=lt(!1),n=lt(!1),a=lt(!0),i=lt(!1),o=ye(),s=lt(!1),{info:u}=Tu(o),l=lt(!1),f=lt(!1),v=Ao();tr({addStudentVisible:!1,activeRow:{}});const c=M=>{v.getIsEditResource?yr.emit("pageBeforeLeave",()=>M()):M()},d=()=>{l.value=!1,t.push({path:"/setting",query:{activeTab:"person"}})},p=()=>{t.push({path:"/setting",query:{activeTab:"school"}})},g=lt(),h=()=>{s.value=!0,l.value=!1},A=()=>{t.push({path:"/aboutUs"})},m=document.querySelector("body");m&&(m.className="myBody body");const S=()=>{i.value=!0,g.value&&g.value.onReset(),console.log(g.value,"suggestionOptionRef")},C=lt(!1),y=async()=>{try{const{data:M}=await Gu(),w=M||[];let O={};w.forEach(G=>{G.group==="SYSTEM"&&(O=G)}),O.number>0?C.value=O.number>0:C.value=!1}catch(M){}};te(()=>{window.addEventListener("message",E),a.value=!0,n.value=!0,y(),yr.on("onSuggestionRead",()=>{C.value&&y()}),Ou(()=>{setTimeout(()=>{n.value=!1},50),setTimeout(()=>{a.value=!1,m&&(m.className="myBody")},1e3)})});const E=M=>{M.data.api==="onImClose"?n.value=!1:M.data.api==="getNoReadMessageCount"&&(console.log(M,"onMessage"),r.value=M.data.count||0)};ho(()=>{window.removeEventListener("message",E)}),(M=>{for(let w=0;w{const M=D.path,w=["/classDetail","/classStudentDetail","/notation","/xiaoku-ai","/studentDetail","/classStudentRecode","/afterWorkDetail"];return D.path==="/setting"?T.baseListTab==="school":!w.includes(M)});return()=>{var M,w;return P($r,null,[P("div",{class:Q.layoutTop},[P("div",{class:Q.layoutLeft},[P(Et,{src:rc,class:Q.schoolIcon,previewDisabled:!0},null),P("p",null,[((M=u.value)==null?void 0:M.schoolInfos)&&((w=u.value)==null?void 0:w.schoolInfos[0].name)||""])]),P("div",{class:Q.layoutRight},[P(oe,{showArrow:!1},{trigger:()=>P("div",{class:[Q.optons,!R.value&&Q.booxToolDisabled],id:"home-1",onClick:()=>{var O;R.value&&((O=document.querySelector("#WrapcoreViewWrap"))==null||O.scrollTo(0,0),console.log(D.name,"guideInfo"),yr.emit("teacher-guideInfo",D.name))}},[P(Et,{src:lc,previewDisabled:!0},null)]),default:"功能引导"}),P(Kn,{width:380,class:Q.popoverClassModel,placement:"bottom",show:f.value,"onUpdate:show":O=>f.value=O,trigger:"click",displayDirective:"show"},{default:()=>[P(Zc,{onConfirm:()=>{f.value=!1}},null)],trigger:()=>P(oe,{showArrow:!1},{trigger:()=>P("div",{class:Q.optons},[P(Et,{src:fc,previewDisabled:!0},null)]),default:"上课记录"})}),P(oe,{showArrow:!1},{trigger:()=>P("div",{class:Q.optons,onClick:S,id:"home-2"},[P(Xn,{dot:C.value,color:"#FF1036"},{default:()=>[P(Et,{src:uc,previewDisabled:!0},null)]})]),default:"意见反馈"}),P("div",{onClick:()=>n.value=!0},[P(oe,{showArrow:!1},{trigger:()=>P(Xn,Vn({value:r.value,max:99,class:[r.value>0?"":Q.messageBadgeHide,Q.messageBadge,r.value>0?"":Q.messageBadgeNo]},{id:"home-3"},{color:"#FF1036"}),{default:()=>[P(Et,{class:[Q.messageIcon,r.value>0?Q.animation:""],"preview-disabled":!0,src:ec},null)]}),default:"聊天"})]),P("div",{class:Q.line},null),P(Kn,{"show-arrow":!1,trigger:"click",show:l.value,"onUpdate:show":[O=>l.value=O,O=>{e.value=O}],class:Q.popoverHeader,placement:"bottom-end",raw:!0},{default:()=>[P("div",{class:Q.propWrap},[P("div",{class:Q.teacherInfo},[P(Et,{class:Q.teacherIcon,src:u.value.avatar?u.value.avatar:qn,previewDisabled:!0},null),P(oe,{class:Q.nameTool},{trigger:()=>P("p",{class:Q.teacherName},[u.value.nickname]),default:()=>u.value.nickname})]),P("div",{class:Q.propWrapList},[P("div",{class:Q.propWrapItem,onClick:()=>c(d)},[P(Et,{class:Q.smallIcon,src:oc,previewDisabled:!0},null),P("p",{class:Q.smallTitle},[bt("个人信息")])]),u.value.isSuperAdmin?P("div",{class:Q.propWrapItem,onClick:()=>{c(p)}},[P(Et,{class:Q.smallIcon,src:ic,previewDisabled:!0},null),P("p",{class:Q.smallTitle},[bt("学校信息")])]):null,P("div",{class:Q.propWrapItem,onClick:()=>h()},[P(Et,{class:Q.smallIcon,src:ac,previewDisabled:!0},null),P("p",{class:Q.smallTitle},[bt("修改密码")])]),P("div",{class:Q.propWrapItem,onClick:()=>c(A)},[P(Et,{class:Q.smallIcon,src:sc,previewDisabled:!0},null),P("p",{class:Q.smallTitle},[bt("关于我们")])])]),P("div",{class:Q.logoutInfo,onClick:()=>{o.logout(),t.replace("/login")}},[P("div",{class:Q.propWrapItem},[P(Et,{class:Q.smallIcon,src:nc,previewDisabled:!0},null),P("p",{class:Q.smallTitle},[bt("退出登录")])])])])],trigger:()=>P("div",{class:Q.mesgWrap,style:{cursor:"pointer"}},[P(Et,{"preview-disabled":!0,class:Q.teacherIcon,src:u.value.avatar?u.value.avatar:qn},null),P(Pu,{class:e.value?Q.rotueLeft:Q.rotueRight},{default:()=>[P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},[P("path",{d:"M7.38 21.01c.49.49 1.28.49 1.77 0l8.31-8.31a.996.996 0 0 0 0-1.41L9.15 2.98c-.49-.49-1.28-.49-1.77 0s-.49 1.28 0 1.77L14.62 12l-7.25 7.25c-.48.48-.48 1.28.01 1.76z",fill:"currentColor"},null)])]})])}),P("div",{class:Ct.isHidden},null)]),P(Sr,{class:Q.changePwdModal,show:s.value,"onUpdate:show":O=>s.value=O,preset:"dialog",showIcon:!1,title:"修改密码"},{default:()=>[P(Lu,{phone:u.value.phone,onClose:()=>{s.value=!1}},null)]}),P(Sr,Vn({show:n.value,"onUpdate:show":O=>n.value=O,showIcon:!1,class:a.value?Q.hideModal:""},{id:"imGroupDiv"},{displayDirective:"show"}),{default:()=>[P(cc,null,null)]}),P(Sr,{class:["modalTitle","background",Q.suggestWrap],show:i.value,"onUpdate:show":O=>i.value=O,"display-directive":"show",showIcon:!1},{default:()=>[P(Oc,{ref:g,onClose:()=>i.value=!1},null)]})])])}}});function tv(t){for(var r=[],e=1;e-1?t[n]:e}var wo=function(){var t=Ae(),r=yo&&(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame);return r?r.bind(window):function(e){var n=Ae(),a=setTimeout(function(){e(n-t)},1e3/60);return a}}(),dv=function(){var t=yo&&(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.msCancelAnimationFrame);return t?t.bind(window):function(r){clearTimeout(r)}}();function pr(t){return Object.keys(t)}function pv(t){var r=pr(t);return r.map(function(e){return t[e]})}function gt(t,r){var e=xe(t),n=e.value,a=e.unit;if(nr(r)){var i=r[a];if(i){if(Ta(i))return i(n);if(Fe[a])return Fe[a](n,i)}}else if(a==="%")return n*r/100;return Fe[a]?Fe[a](n):n}function $n(t,r,e){return Math.max(r,Math.min(t,e))}function yi(t,r,e,n){return n===void 0&&(n=t[0]/t[1]),[[nt(r[0],It),nt(r[0]/n,It)],[nt(r[1]*n,It),nt(r[1],It)]].filter(function(a){return a.every(function(i,o){var s=r[o],u=nt(s,It);return e?i<=s||i<=u:i>=s||i>=u})})[0]||t}function Do(t,r,e,n){if(!n)return t.map(function(d,p){return $n(d,r[p],e[p])});var a=t[0],i=t[1],o=n===!0?a/i:n,s=yi(t,r,!1,o),u=s[0],l=s[1],f=yi(t,e,!0,o),v=f[0],c=f[1];return av||i>c)&&(a=v,i=c),[a,i]}function gv(t){for(var r=t.length,e=0,n=r-1;n>=0;--n)e+=t[n];return e}function ta(t){for(var r=t.length,e=0,n=r-1;n>=0;--n)e+=t[n];return r?e/r:0}function xt(t,r){var e=r[0]-t[0],n=r[1]-t[1],a=Math.atan2(n,e);return a>=0?a:a+Math.PI*2}function hv(t){return[0,1].map(function(r){return ta(t.map(function(e){return e[r]}))})}function bi(t){var r=hv(t),e=xt(r,t[0]),n=xt(r,t[1]);return en&&n-e<-Math.PI?1:-1}function cr(t,r){return Math.sqrt(Math.pow((r?r[0]:0)-t[0],2)+Math.pow((r?r[1]:0)-t[1],2))}function nt(t,r){if(!r)return t;var e=1/r;return Math.round(t/r)/e}function xi(t,r){return t.forEach(function(e,n){t[n]=nt(t[n],r)}),t}function Av(t){for(var r=[],e=0;e"u"?(++A,o.push(S)):p[C]=A}),l.forEach(function(m,S){var C=f.get(m);typeof C>"u"?(i.push(S),++h):(s.push([C,S]),A=p[S]||0,c.push([C-A,S-h]),d.push(S===C),C!==S&&g.push([C,S]))}),o.reverse(),new xv(t,r,i,o,g,s,c,d)}var wv=function(){function t(e,n){e===void 0&&(e=[]),this.findKeyCallback=n,this.list=[].slice.call(e)}var r=t.prototype;return r.update=function(e){var n=[].slice.call(e),a=we(this.list,n,this.findKeyCallback);return this.list=n,a},t}(),ra=function(t,r){return ra=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])},ra(t,r)};function De(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");ra(t,r);function e(){this.constructor=t}t.prototype=r===null?Object.create(r):(e.prototype=r.prototype,new e)}var ir=function(){return ir=Object.assign||function(r){for(var e,n=1,a=arguments.length;nu&&p.push(g),p},[]);return c.forEach(function(p){Me(p,p._ps,[p.o],e,n,!0)}),!1}s.o=a,s.ss(i);var d=s.ps;return Yt(a)||(s.ps=a.props,s.ref=a.ref),Na(this),s.r(e,n,s.b?d:{},i),!0},r.md=function(){this.rr()},r.ss=function(){},r.ud=function(){this.rr()},r.rr=function(){var e=this,n=e.ref,a=e.fr;n&&n(a?a.current:e.b)},t}();function Fo(){return Object.__CROACT_CURRENT_INSTNACE__}function Mv(){return Fa}function Iv(t){Fa=t}function Na(t){return Object.__CROACT_CURRENT_INSTNACE__=t,Fa=0,t}var ka=function(){function t(e,n){e===void 0&&(e={}),this.props=e,this.context=n,this.state={},this.$_timer=0,this.$_state={},this.$_subs=[],this.$_cs={}}var r=t.prototype;return r.render=function(){return null},r.shouldComponentUpdate=function(e,n){return this.props!==e||this.state!==n},r.setState=function(e,n,a){var i=this;i.$_timer||(i.$_state={}),clearTimeout(i.$_timer),i.$_timer=0,i.$_state=ir(ir({},i.$_state),e),a?i.$_setState(n,a):i.$_timer=window.setTimeout(function(){i.$_timer=0,i.$_setState(n,a)})},r.forceUpdate=function(e){this.setState({},e,!0)},r.componentDidMount=function(){},r.componentDidUpdate=function(e,n){},r.componentWillUnmount=function(){},r.$_setState=function(e,n){var a=[],i=this.$_p,o=Me(i.c,[i],[i.o],a,i._cs,ir(ir({},this.state),this.$_state),n);o&&(e&&a.push(e),Go(a),Na(null))},t}(),No=function(t){De(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}var e=r.prototype;return e.shouldComponentUpdate=function(n,a){return Ze(this.props,n)||Ze(this.state,a)},r}(ka);function ko(t){var r=function(e){r.current=e};return r.current=t,r}function Rv(t){return t._fr=!0,t}function Bv(t,r,e,n){var a,i;return!((a=t==null?void 0:t.prototype)===null||a===void 0)&&a.render?i=new t(r,e):(i=new ka(r,e),i.constructor=t,t._fr?(n.fr=ko(),i.render=function(){return this.constructor(this.props,n.fr)}):i.render=Dv),i.$_p=n,i}var Tv=function(t){De(r,t);function r(n,a,i,o,s,u,l){l===void 0&&(l={});var f=t.call(this,n,a,i,o,s,u,Tn(l,n.defaultProps))||this;return f.typ="comp",f._usefs=[],f._uefs=[],f._defs=[],f}var e=r.prototype;return e.s=function(n,a){var i=this.b;return i.shouldComponentUpdate(Tn(n,this.t.defaultProps),a||i.state)!==!1},e.r=function(n,a,i){var o,s,u=this,l=u.t;u.ps=Tn(u.ps,u.t.defaultProps);var f=u.ps,v=!u.b,c=l.contextType,d=u.b,p=c==null?void 0:c.get(u);u._cs=a,v?(d=Bv(l,f,p,u),u.b=d):(d.props=f,d.context=p);var g=d.state;u._usefs=[],u._uefs=[];var h=d.render();((s=(o=h==null?void 0:h.props)===null||o===void 0?void 0:o.children)===null||s===void 0?void 0:s.length)===0&&(h.props.children=u.ps.children);var A=ir(ir({},a),d.$_cs);Me(u,u._ps,h?[h]:[],n,A),v?u._uefs.push(function(){c==null||c.register(u),d.componentDidMount()}):u._uefs.push(function(){d.componentDidUpdate(i,g)}),n.push(function(){u._usefs.forEach(function(m){m()}),v?u.md():u.ud(),u._defs=u._uefs.map(function(m){return m()})})},e.ss=function(n){var a=this.b;!a||!n||(a.state=n)},e.un=function(){var n,a=this;a._ps.forEach(function(o){o.un()});var i=a.t;(n=i.contextType)===null||n===void 0||n.unregister(a),clearTimeout(a.b.$_timer),a._defs.forEach(function(o){o&&o()}),a.b.componentWillUnmount()},r}(gn);function Ov(t,r,e){var n=La(Mi(t),Mi(r)),a=n.added,i=n.removed,o=n.changed;for(var s in a)e.setAttribute(s,a[s]);for(var u in o)e.setAttribute(u,o[u][1]);for(var l in i)e.removeAttribute(l)}function Pv(t,r,e){var n=La(t,r),a=n.added,i=n.removed;for(var o in i)e.e(o,!0);for(var s in a)e.e(s)}function La(t,r){var e=pr(t),n=pr(r),a=we(e,n,function(u){return u}),i={},o={},s={};return a.added.forEach(function(u){var l=n[u];i[l]=r[l]}),a.removed.forEach(function(u){var l=e[u];o[l]=t[l]}),a.maintained.forEach(function(u){var l=u[0],f=e[l],v=[t[f],r[f]];t[f]!==r[f]&&(s[f]=v)}),{added:i,removed:o,changed:s}}function Gv(t,r,e){var n=e.style,a=La(t,r),i=a.added,o=a.removed,s=a.changed;for(var u in i){var l=je(u,"-");n.setProperty(l,i[u])}for(var u in s){var f=je(u,"-");n.setProperty(f,s[u][1])}for(var u in o){var v=je(u,"-");n.removeProperty(v)}}function Fv(t){return t.replace(/^on/g,"").toLowerCase()}var Nv=function(t){De(r,t);function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.typ="elem",n._es={},n._svg=!1,n}var e=r.prototype;return e.e=function(n,a){var i=this,o=i._es,s=i.b,u=Fv(n);a?(Tt(s,u,o[n]),delete o[n]):(o[n]=function(l){var f,v;(v=(f=i.ps)[n])===null||v===void 0||v.call(f,l)},Gt(s,u,o[n]))},e.s=function(n){return Ze(this.ps,n)},e.r=function(n,a,i){var o,s=this,u=!s.b,l=s.ps;if(u){var f=pn(s.c),v=!1;s._svg||s.t==="svg"?v=!0:v=f&&f.ownerSVGElement,s._svg=v;var c=(o=s._hyd)===null||o===void 0?void 0:o.splice(0,1)[0],d=s.t;if(c)s._hyd=[].slice.call(c.children||[]);else{var p=re(f);v?c=p.createElementNS("http://www.w3.org/2000/svg",d):c=p.createElement(d)}s.b=c}Me(s,s._ps,l.children,n,a);var g=s.b,h=Ii(i),A=h[0],m=h[1],S=Ii(l),C=S[0],y=S[1];return Ov(A,C,g),Pv(m,y,s),Gv(i.style||{},l.style||{},g),n.push(function(){u?s.md():s.ud()}),!0},e.un=function(){var n=this,a=n._es,i=n.b;for(var o in a)Tt(i,o,a[o]);n._ps.forEach(function(s){s.un()}),n._es={},n._sel||Po(i)},r}(gn);function me(t){if(!t||ee(t))return t;var r=t.$_p._ps;return r.length?me(r[0].b):null}function Lo(t){if(t){if(t.b&&ee(t.b))return t;var r=t._ps;return r.length?Lo(r[0]):null}}function rr(t,r){for(var e=[],n=2;n0}function Uv(t,r,e,n){e===void 0&&(e=r.__CROACT__),n===void 0&&(n={});var a=!!e;e||(e=new zo(r));var i=[];return Me(e,e._ps,t?[t]:[],i,n,void 0,void 0),Go(i),Na(null),a||(r.__CROACT__=e),e}function Bi(t,r,e){return!e&&t&&(e=new zo(r.parentElement),e._hyd=[r],e._sel=!0),Uv(t,r,e),e}function Uo(t){var r=Fo(),e=r._hs||(r._hs=[]),n=Mv(),a=e[n];if(Iv(n+1),a){if(!Ze(a.deps,t.deps))return a.updated=!1,a;e[n]=t}else e.push(t);return t.value=t.func(),t.updated=!0,t}function Hv(t,r){var e=Uo({func:t,deps:r});return e.value}function Wv(t){return Hv(function(){return ko(t)},[])}function Ho(t,r,e){var n=Fo(),a=Uo({func:function(){return t},deps:r}),i=e?n._usefs:n._uefs;a.updated?i.push(function(){return a.effect&&a.effect(),a.effect=t(),a.effect}):i.push(function(){return a.effect})}function Yv(t,r,e){Ho(function(){t==null||t(r())},e,!0)}function za(t,r){for(var e=t.length,n=0;n"u"){if(typeof navigator>"u"||!navigator)return"";r=navigator.userAgent||""}return r.toLowerCase()}function Ua(t,r){try{return new RegExp(t,"g").exec(r)}catch(e){return null}}function Xv(){if(typeof navigator>"u"||!navigator||!navigator.userAgentData)return!1;var t=navigator.userAgentData,r=t.brands||t.uaList;return!!(r&&r.length)}function Vv(t,r){var e=Ua("("+t+")((?:\\/|\\s|:)([0-9|\\.|_]+))",r);return e?e[3]:""}function ea(t){return t.replace(/_/g,".")}function ue(t,r){var e=null,n="-1";return za(t,function(a){var i=Ua("("+a.test+")((?:\\/|\\s|:)([0-9|\\.|_]+))?",r);return!i||a.brand?!1:(e=a,n=i[3]||"-1",a.versionAlias?n=a.versionAlias:a.versionTest&&(n=Vv(a.versionTest.toLowerCase(),r)||n),n=ea(n),!0)}),{preset:e,version:n}}function se(t,r){var e={brand:"",version:"-1"};return za(t,function(n){var a=Xo(r,n);return a?(e.brand=n.id,e.version=n.versionAlias||a.version,e.version!=="-1"):!1}),e}function Xo(t,r){return Wo(t,function(e){var n=e.brand;return Ua(""+r.test,n.toLowerCase())})}var na=[{test:"phantomjs",id:"phantomjs"},{test:"whale",id:"whale"},{test:"edgios|edge|edg",id:"edge"},{test:"msie|trident|windows phone",id:"ie",versionTest:"iemobile|msie|rv"},{test:"miuibrowser",id:"miui browser"},{test:"samsungbrowser",id:"samsung internet"},{test:"samsung",id:"samsung internet",versionTest:"version"},{test:"chrome|crios",id:"chrome"},{test:"firefox|fxios",id:"firefox"},{test:"android",id:"android browser",versionTest:"version"},{test:"safari|iphone|ipad|ipod",id:"safari",versionTest:"version"}],Vo=[{test:"(?=.*applewebkit/(53[0-7]|5[0-2]|[0-4]))(?=.*\\schrome)",id:"chrome",versionTest:"chrome"},{test:"chromium",id:"chrome"},{test:"whale",id:"chrome",versionAlias:"-1",brand:!0}],aa=[{test:"applewebkit",id:"webkit",versionTest:"applewebkit|safari"}],Qo=[{test:"(?=(iphone|ipad))(?!(.*version))",id:"webview"},{test:"(?=(android|iphone|ipad))(?=.*(naver|daum|; wv))",id:"webview"},{test:"webview",id:"webview"}],Ko=[{test:"windows phone",id:"windows phone"},{test:"windows 2000",id:"window",versionAlias:"5.0"},{test:"windows nt",id:"window"},{test:"win32|windows",id:"window"},{test:"iphone|ipad|ipod",id:"ios",versionTest:"iphone os|cpu os"},{test:"macos|macintel|mac os x",id:"mac"},{test:"android|linux armv81",id:"android"},{test:"tizen",id:"tizen"},{test:"webos|web0s",id:"webos"}];function qo(t){return!!ue(Qo,t).preset}function Qv(t){var r=Yo(t),e=!!/mobi/g.exec(r),n={name:"unknown",version:"-1",majorVersion:-1,webview:qo(r),chromium:!1,chromiumVersion:"-1",webkit:!1,webkitVersion:"-1"},a={name:"unknown",version:"-1",majorVersion:-1},i=ue(na,r),o=i.preset,s=i.version,u=ue(Ko,r),l=u.preset,f=u.version,v=ue(Vo,r);if(n.chromium=!!v.preset,n.chromiumVersion=v.version,!n.chromium){var c=ue(aa,r);n.webkit=!!c.preset,n.webkitVersion=c.version}return l&&(a.name=l.id,a.version=f,a.majorVersion=parseInt(f,10)),o&&(n.name=o.id,n.version=s,n.webview&&a.name==="ios"&&n.name!=="safari"&&(n.webview=!1)),n.majorVersion=parseInt(n.version,10),{browser:n,os:a,isMobile:e,isHints:!1}}function Kv(t){var r=navigator.userAgentData,e=(r.uaList||r.brands).slice(),n=t&&t.fullVersionList,a=r.mobile||!1,i=e[0],o=(t&&t.platform||r.platform||navigator.platform).toLowerCase(),s={name:i.brand,version:i.version,majorVersion:-1,webkit:!1,webkitVersion:"-1",chromium:!1,chromiumVersion:"-1",webview:!!se(Qo,e).brand||qo(Yo())},u={name:"unknown",version:"-1",majorVersion:-1};s.webkit=!s.chromium&&za(aa,function(p){return Xo(e,p)});var l=se(Vo,e);if(s.chromium=!!l.brand,s.chromiumVersion=l.version,!s.chromium){var f=se(aa,e);s.webkit=!!f.brand,s.webkitVersion=f.version}var v=Wo(Ko,function(p){return new RegExp(""+p.test,"g").exec(o)});if(u.name=v?v.id:"",t&&(u.version=t.platformVersion),n&&n.length){var c=se(na,n);s.name=c.brand||s.name,s.version=c.version||s.version}else{var d=se(na,e);s.name=d.brand||s.name,s.version=d.brand&&t?t.uaFullVersion:d.version}return s.webkit&&(u.name=a?"ios":"mac"),u.name==="ios"&&s.webview&&(s.version="-1"),u.version=ea(u.version),s.version=ea(s.version),u.majorVersion=parseInt(u.version,10),s.majorVersion=parseInt(s.version,10),{browser:s,os:u,isMobile:a,isHints:!0}}function qv(t){return typeof t>"u"&&Xv()?Kv():Qv(t)}function Jv(t,r,e,n,a,i){for(var o=0;o-1&&i.splice(o,1)}}return this},r.once=function(e,n){var a=this;return n&&this._addEvent(e,n,{once:!0}),new Promise(function(i){a._addEvent(e,i,{once:!0})})},r.emit=function(e,n){var a=this;n===void 0&&(n={});var i=this._events[e];if(!e||!i)return!0;var o=!1;return n.eventType=e,n.stop=function(){o=!0},n.currentTarget=this,ld(i).forEach(function(s){s.listener(n),s.once&&a.off(e,s.listener)}),!o},r.trigger=function(e,n){return n===void 0&&(n={}),this.emit(e,n)},r._addEvent=function(e,n,a){var i=this._events;i[e]=i[e]||[];var o=i[e];o.push(oa({listener:n},a))},t}();const hn=fd;/*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */var sa=function(t,r){return sa=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var a in n)n.hasOwnProperty(a)&&(e[a]=n[a])},sa(t,r)};function cd(t,r){sa(t,r);function e(){this.constructor=t}t.prototype=r===null?Object.create(r):(e.prototype=r.prototype,new e)}var Wr=function(){return Wr=Object.assign||function(r){for(var e,n=1,a=arguments.length;no-u?(v[1]>f.top||ov[1])&&(c[1]=1),f.left>i-u?(v[0]>f.left||iv[0])&&(c[0]=1),!c[0]&&!c[1]?!1:this._continueDrag(Wr(Wr({},a),{direction:c,inputEvent:n,isDrag:!0}))}},e.checkScroll=function(n){var a=this;if(this._isWait)return!1;var i=n.prevScrollPos,o=i===void 0?this._prevScrollPos:i,s=n.direction,u=n.throttleTime,l=u===void 0?0:u,f=n.inputEvent,v=n.isDrag,c=this._getScrollPosition(s||[0,0],n),d=c[0]-o[0],p=c[1]-o[1],g=s||[d?Math.abs(d)/d:0,p?Math.abs(p)/p:0];return this._prevScrollPos=c,this._lock=!1,!d&&!p?!1:(this.emit("move",{offsetX:g[0]?d:0,offsetY:g[1]?p:0,inputEvent:f}),l&&v&&(clearTimeout(this._timer),this._timer=window.setTimeout(function(){a._continueDrag(n)},l)),!0)},e.dragEnd=function(){this._flag=!1,this._lock=!1,clearTimeout(this._timer),this._unregisterScrollEvent()},e._getScrollPosition=function(n,a){var i=a.container,o=a.getScrollPosition,s=o===void 0?vd:o;return s({container:ke(i),direction:n})},e._continueDrag=function(n){var a=this,i,o=n.container,s=n.direction,u=n.throttleTime,l=n.useScroll,f=n.isDrag,v=n.inputEvent;if(!(!this._flag||f&&this._isWait)){var c=Ae(),d=Math.max(u+this._prevTime-c,0);if(d>0)return clearTimeout(this._timer),this._timer=window.setTimeout(function(){a._continueDrag(n)},d),!1;this._prevTime=c;var p=this._getScrollPosition(s,n);this._prevScrollPos=p,f&&(this._isWait=!0),l||(this._lock=!0);var g={container:ke(o),direction:s,inputEvent:v};return(i=n.requestScroll)===null||i===void 0||i.call(n,g),this.emit("scroll",g),this._isWait=!1,l||this.checkScroll(Wr(Wr({},n),{prevScrollPos:p,direction:s,inputEvent:v}))}},e._registerScrollEvent=function(n){this._unregisterScrollEvent();var a=n.checkScrollEvent;if(a){var i=a===!0?Oi:a,o=ke(n.container);a===!0&&(o===document.body||o===document.documentElement)?this._unregister=Oi(window,this._onScroll):this._unregister=i(o,this._onScroll)}},e._unregisterScrollEvent=function(){var n;(n=this._unregister)===null||n===void 0||n.call(this),this._unregister=null},r}(hn);const pd=dd;/*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */function gd(){for(var t=0,r=0,e=arguments.length;rn))if(h==="intersection")++c;else{if(h==="line")return;if(h==="point"){var m=Jt(A,function(y){return y[1]!==a}),S=d[g[0]],C=m[1]>a?1:-1;S?S!==C&&++c:d[g[0]]=C}}}),c%2===1}function en(t,r){var e=t[0],n=t[1],a=r[0],i=r[1],o=a-e,s=i-n;Math.abs(o)0)return[];n=[[l,o],[f,o]]}}else{var s=Math.max.apply(Math,e.map(function(v){return v[1][0]})),u=Math.min.apply(Math,e.map(function(v){return v[1][1]}));if(Wt(s-u)>0)return[];n=[[i,s],[i,u]]}}return n.length||(n=t.filter(function(v){var c=v[0],d=v[1];return e.every(function(p){return 0<=Wt(c-p[0][0])&&0<=Wt(p[0][1]-c)&&0<=Wt(d-p[1][0])&&0<=Wt(p[1][1]-d)})})),n.map(function(v){return[Wt(v[0]),Wt(v[1])]})}function la(t){return gd(t.slice(1),[t[0]]).map(function(r,e){return[t[e],r]})}function md(t,r){var e=t.slice(),n=r.slice();bi(e)===-1&&e.reverse(),bi(n)===-1&&n.reverse();var a=la(e),i=la(n),o=a.map(function(f){return en(f[0],f[1])}),s=i.map(function(f){return en(f[0],f[1])}),u=[];o.forEach(function(f,v){var c=a[v],d=[];s.forEach(function(p,g){var h=Wa(f,p),A=rs(h,[c,i[g]]);d.push.apply(d,A.map(function(m){return{index1:v,index2:g,pos:m,type:"intersection"}}))}),d.sort(function(p,g){return cr(c[0],p.pos)-cr(c[0],g.pos)}),u.push.apply(u,d),ua(c[1],n)&&u.push({index1:v,index2:-1,pos:c[1],type:"inside"})}),i.forEach(function(f,v){if(ua(f[1],e)){var c=!1,d=dr(u,function(p){var g=p.index2;return g===v?(c=!0,!1):!!c});d===-1&&(c=!1,d=dr(u,function(p){var g=p.index1,h=p.index2;return g===-1&&h+1===v?(c=!0,!1):!!c})),d===-1?u.push({index1:-1,index2:v,pos:f[1],type:"inside"}):u.splice(d,0,{index1:-1,index2:v,pos:f[1],type:"inside"})}});var l={};return u.filter(function(f){var v=f.pos,c=v[0]+"x"+v[1];return l[c]?!1:(l[c]=!0,!0)})}function Sd(t,r){var e=md(t,r);return e.map(function(n){var a=n.pos;return a})}function Cd(t,r){var e=Sd(t,r);return ts(e)}/*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */var fa=function(t,r){return fa=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var a in n)n.hasOwnProperty(a)&&(e[a]=n[a])},fa(t,r)};function Ed(t,r){fa(t,r);function e(){this.constructor=t}t.prototype=r===null?Object.create(r):(e.prototype=r.prototype,new e)}var Mt=function(){return Mt=Object.assign||function(r){for(var e,n=1,a=arguments.length;n=0?a:a+Math.PI*2}function Pn(t){return yd([t[0].clientX,t[0].clientY],[t[1].clientX,t[1].clientY])/Math.PI*180}function bd(t){return t.touches&&t.touches.length>=2}function Le(t){return t?t.touches?wd(t.touches):[es(t)]:[]}function xd(t){return t&&(t.type.indexOf("mouse")>-1||"button"in t)}function Gi(t,r,e){var n=e.length,a=ve(t,n),i=a.clientX,o=a.clientY,s=a.originalClientX,u=a.originalClientY,l=ve(r,n),f=l.clientX,v=l.clientY,c=ve(e,n),d=c.clientX,p=c.clientY,g=i-f,h=o-v,A=i-d,m=o-p;return{clientX:s,clientY:u,deltaX:g,deltaY:h,distX:A,distY:m}}function Gn(t){return Math.sqrt(Math.pow(t[0].clientX-t[1].clientX,2)+Math.pow(t[0].clientY-t[1].clientY,2))}function wd(t){for(var r=Math.min(t.length,2),e=[],n=0;n=-1;if(!(a.flag&&p)){a._isDragAPI=!0;var g=a.options,h=g.container,A=g.pinchOutside,m=g.preventWheelClick,S=g.preventRightClick,C=g.preventDefault,y=g.checkInput,E=g.dragFocusedInput,b=g.preventClickEventOnDragStart,x=g.preventClickEventOnDrag,D=g.preventClickEventByCondition,T=a._useTouch,R=!a.flag;if(a._isSecondaryButton=c.which===3||c.button===2,m&&(c.which===2||c.button===1)||S&&(c.which===3||c.button===2))return a.stop(),!1;if(R){var M=a._window.document.activeElement,w=c.target;if(w){var O=w.tagName.toLowerCase(),G=Fi.indexOf(O)>-1,N=w.isContentEditable;if(G||N){if(y||!E&&M===w)return!1;if(M&&(M===w||N&&M.isContentEditable&&M.contains(w)))if(E)w.blur();else return!1}else if((C||c.type==="touchstart")&&M){var k=M.tagName.toLowerCase();(M.isContentEditable||Fi.indexOf(k)>-1)&&M.blur()}(b||x||D)&&Gt(a._window,"click",a._onClick,!0)}a.clientStores=[new Fn(Le(c))],a._isIdle=!1,a.flag=!0,a.isDrag=!1,a._isTrusted=d,a._dragFlag=!0,a._prevInputEvent=c,a.data={},a.doubleFlag=Ae()-a.prevTime<200,a._isMouseEvent=xd(c),!a._isMouseEvent&&a._preventMouseEvent&&a._allowMouseEvent();var F=a._preventMouseEvent||a.emit("dragStart",Mt(Mt({data:a.data,datas:a.data,inputEvent:c,isMouseEvent:a._isMouseEvent,isSecondaryButton:a._isSecondaryButton,isTrusted:d,isDouble:a.doubleFlag},a.getCurrentStore().getPosition()),{preventDefault:function(){c.preventDefault()},preventDrag:function(){a._dragFlag=!1}}));F===!1&&a.stop(),a._isMouseEvent&&a.flag&&C&&c.preventDefault()}if(!a.flag)return!1;var U=0;if(R?(a._attchDragEvent(),T&&A&&(U=setTimeout(function(){Gt(h,"touchstart",a.onDragStart,{passive:!1})}))):T&&A&&Tt(h,"touchstart",a.onDragStart),a.flag&&bd(c)){if(clearTimeout(U),R&&c.touches.length!==c.changedTouches.length)return;a.pinchFlag||a.onPinchStart(c)}}}},a.onDrag=function(c,d){if(a.flag){var p=a.options.preventDefault;!a._isMouseEvent&&p&&c.preventDefault(),a._prevInputEvent=c;var g=Le(c),h=a.moveClients(g,c,!1);if(a._dragFlag){if(a.pinchFlag||h.deltaX||h.deltaY){var A=a._preventMouseEvent||a.emit("drag",Mt(Mt({},h),{isScroll:!!d,inputEvent:c}));if(A===!1){a.stop();return}}a.pinchFlag&&a.onPinch(c,g)}a.getCurrentStore().getPosition(g,!0)}},a.onDragEnd=function(c){if(a.flag){var d=a.options,p=d.pinchOutside,g=d.container,h=d.preventClickEventOnDrag,A=d.preventClickEventOnDragStart,m=d.preventClickEventByCondition,S=a.isDrag;(h||A||m)&&requestAnimationFrame(function(){a._allowClickEvent()}),!m&&!A&&h&&!S&&a._allowClickEvent(),a._useTouch&&p&&Tt(g,"touchstart",a.onDragStart),a.pinchFlag&&a.onPinchEnd(c);var C=c!=null&&c.touches?Le(c):[],y=C.length;y===0||!a.options.keepDragging?a.flag=!1:a._addStore(new Fn(C));var E=a._getPosition(),b=Ae(),x=!S&&a.doubleFlag;a._prevInputEvent=null,a.prevTime=S||x?0:b,a.flag||(a._dettachDragEvent(),a._preventMouseEvent||a.emit("dragEnd",Mt({data:a.data,datas:a.data,isDouble:x,isDrag:S,isClick:!S,isMouseEvent:a._isMouseEvent,isSecondaryButton:a._isSecondaryButton,inputEvent:c,isTrusted:a._isTrusted},E)),a.clientStores=[],a._isMouseEvent||(a._preventMouseEvent=!0,clearTimeout(a._preventMouseEventId),a._preventMouseEventId=setTimeout(function(){a._preventMouseEvent=!1},200)),a._isIdle=!0)}},a.onBlur=function(){a.onDragEnd()},a._allowClickEvent=function(){Tt(a._window,"click",a._onClick,!0)},a._onClick=function(c){a._allowClickEvent(),a._allowMouseEvent();var d=a.options.preventClickEventByCondition;d!=null&&d(c)||(c.stopPropagation(),c.preventDefault())},a._onContextMenu=function(c){var d=a.options;d.preventRightClick?a.onDragEnd(c):c.preventDefault()},a._passCallback=function(){};var i=[].concat(e),o=i[0];a._window=Bo(o)?o:br(o),a.options=Mt({checkInput:!1,container:o&&!("document"in o)?br(o):o,preventRightClick:!0,preventWheelClick:!0,preventClickEventOnDragStart:!1,preventClickEventOnDrag:!1,preventClickEventByCondition:null,preventDefault:!0,checkWindowBlur:!1,keepDragging:!1,pinchThreshold:0,events:["touch","mouse"]},n);var s=a.options,u=s.container,l=s.events,f=s.checkWindowBlur;if(a._useDrag=l.indexOf("drag")>-1,a._useTouch=l.indexOf("touch")>-1,a._useMouse=l.indexOf("mouse")>-1,a.targets=i,a._useDrag&&i.forEach(function(c){Gt(c,"dragstart",a.onDragStart)}),a._useMouse&&(i.forEach(function(c){Gt(c,"mousedown",a.onDragStart),Gt(c,"mousemove",a._passCallback)}),Gt(u,"contextmenu",a._onContextMenu)),f&&Gt(br(),"blur",a.onBlur),a._useTouch){var v={passive:!1};i.forEach(function(c){Gt(c,"touchstart",a.onDragStart,v),Gt(c,"touchmove",a._passCallback,v)})}return a}return r.prototype.stop=function(){this.isDrag=!1,this.data={},this.clientStores=[],this.pinchFlag=!1,this.doubleFlag=!1,this.prevTime=0,this.flag=!1,this._isIdle=!0,this._allowClickEvent(),this._dettachDragEvent(),this._isDragAPI=!1},r.prototype.getMovement=function(e){return this.getCurrentStore().getMovement(e)+this.clientStores.slice(1).reduce(function(n,a){return n+a.movement},0)},r.prototype.isDragging=function(){return this.isDrag},r.prototype.isIdle=function(){return this._isIdle},r.prototype.isFlag=function(){return this.flag},r.prototype.isPinchFlag=function(){return this.pinchFlag},r.prototype.isDoubleFlag=function(){return this.doubleFlag},r.prototype.isPinching=function(){return this.isPinch},r.prototype.scrollBy=function(e,n,a,i){i===void 0&&(i=!0),this.flag&&(this.clientStores[0].move(e,n),i&&this.onDrag(a,!0))},r.prototype.move=function(e,n){var a=e[0],i=e[1],o=this.getCurrentStore(),s=o.prevClients;return this.moveClients(s.map(function(u){var l=u.clientX,f=u.clientY;return{clientX:l+a,clientY:f+i,originalClientX:l,originalClientY:f}}),n,!0)},r.prototype.triggerDragStart=function(e){this.onDragStart(e,!1)},r.prototype.setEventData=function(e){var n=this.data;for(var a in e)n[a]=e[a];return this},r.prototype.setEventDatas=function(e){return this.setEventData(e)},r.prototype.getCurrentEvent=function(e){return e===void 0&&(e=this._prevInputEvent),Mt(Mt({data:this.data,datas:this.data},this._getPosition()),{movement:this.getMovement(),isDrag:this.isDrag,isPinch:this.isPinch,isScroll:!1,inputEvent:e})},r.prototype.getEventData=function(){return this.data},r.prototype.getEventDatas=function(){return this.data},r.prototype.unset=function(){var e=this,n=this.targets,a=this.options.container;this.off(),Tt(this._window,"blur",this.onBlur),this._useDrag&&n.forEach(function(i){Tt(i,"dragstart",e.onDragStart)}),this._useMouse&&(n.forEach(function(i){Tt(i,"mousedown",e.onDragStart)}),Tt(a,"contextmenu",this._onContextMenu)),this._useTouch&&(n.forEach(function(i){Tt(i,"touchstart",e.onDragStart)}),Tt(a,"touchstart",this.onDragStart)),this._prevInputEvent=null,this._allowClickEvent(),this._dettachDragEvent()},r.prototype.onPinchStart=function(e){var n=this,a=this.options.pinchThreshold;if(!(this.isDrag&&this.getMovement()>a)){var i=new Fn(Le(e));this.pinchFlag=!0,this._addStore(i);var o=this.emit("pinchStart",Mt(Mt({data:this.data,datas:this.data,angle:i.getAngle(),touches:this.getCurrentStore().getPositions()},i.getPosition()),{inputEvent:e,isTrusted:this._isTrusted,preventDefault:function(){e.preventDefault()},preventDrag:function(){n._dragFlag=!1}}));o===!1&&(this.pinchFlag=!1)}},r.prototype.onPinch=function(e,n){if(!(!this.flag||!this.pinchFlag||n.length<2)){var a=this.getCurrentStore();this.isPinch=!0,this.emit("pinch",Mt(Mt({data:this.data,datas:this.data,movement:this.getMovement(n),angle:a.getAngle(n),rotation:a.getRotation(n),touches:a.getPositions(n),scale:a.getScale(n),distance:a.getDistance(n)},a.getPosition(n)),{inputEvent:e,isTrusted:this._isTrusted}))}},r.prototype.onPinchEnd=function(e){if(this.pinchFlag){var n=this.isPinch;this.isPinch=!1,this.pinchFlag=!1;var a=this.getCurrentStore();this.emit("pinchEnd",Mt(Mt({data:this.data,datas:this.data,isPinch:n,touches:a.getPositions()},a.getPosition()),{inputEvent:e}))}},r.prototype.getCurrentStore=function(){return this.clientStores[0]},r.prototype.moveClients=function(e,n,a){var i=this._getPosition(e,a),o=this.isDrag;(i.deltaX||i.deltaY)&&(this.isDrag=!0);var s=!1;return!o&&this.isDrag&&(s=!0),Mt(Mt({data:this.data,datas:this.data},i),{movement:this.getMovement(e),isDrag:this.isDrag,isPinch:this.isPinch,isScroll:!1,isMouseEvent:this._isMouseEvent,isSecondaryButton:this._isSecondaryButton,inputEvent:n,isTrusted:this._isTrusted,isFirstDrag:s})},r.prototype._addStore=function(e){this.clientStores.splice(0,0,e)},r.prototype._getPosition=function(e,n){var a=this.getCurrentStore(),i=a.getPosition(e,n),o=this.clientStores.slice(1).reduce(function(l,f){var v=f.getPosition();return l.distX+=v.distX,l.distY+=v.distY,l},i),s=o.distX,u=o.distY;return Mt(Mt({},i),{distX:s,distY:u})},r.prototype._attchDragEvent=function(){var e=this._window,n=this.options.container,a={passive:!1};this._isDragAPI&&(Gt(n,"dragover",this.onDrag,a),Gt(e,"dragend",this.onDragEnd)),this._useMouse&&(Gt(n,"mousemove",this.onDrag),Gt(e,"mouseup",this.onDragEnd)),this._useTouch&&(Gt(n,"touchmove",this.onDrag,a),Gt(e,"touchend",this.onDragEnd,a),Gt(e,"touchcancel",this.onDragEnd,a))},r.prototype._dettachDragEvent=function(){var e=this._window,n=this.options.container;this._isDragAPI&&(Tt(n,"dragover",this.onDrag),Tt(e,"dragend",this.onDragEnd)),this._useMouse&&(Tt(n,"mousemove",this.onDrag),Tt(e,"mouseup",this.onDragEnd)),this._useTouch&&(Tt(n,"touchstart",this.onDragStart),Tt(n,"touchmove",this.onDrag),Tt(e,"touchend",this.onDragEnd),Tt(e,"touchcancel",this.onDragEnd))},r.prototype._allowMouseEvent=function(){this._preventMouseEvent=!1,clearTimeout(this._preventMouseEventId)},r}(hn);function Md(t){for(var r=5381,e=t.length;e;)r=r*33^t.charCodeAt(--e);return r>>>0}var Id=Md;function Rd(t){return Id(t).toString(36)}function Bd(t){if(t&&t.getRootNode){var r=t.getRootNode();if(r.nodeType===11)return r}}function Td(t,r,e){return e.original?r:r.replace(/([^};{\s}][^};{]*|^\s*){/mg,function(n,a){var i=a.trim();return(i?Pr(i):[""]).map(function(o){var s=o.trim();return s.indexOf("@")===0?s:s.indexOf(":global")>-1?s.replace(/\:global/g,""):s.indexOf(":host")>-1?"".concat(s.replace(/\:host/g,".".concat(t))):s?".".concat(t," ").concat(s):".".concat(t)}).join(", ")+" {"})}function Od(t,r,e,n,a){var i=re(n),o=i.createElement("style");return o.setAttribute("type","text/css"),o.setAttribute("data-styled-id",t),o.setAttribute("data-styled-count","1"),e.nonce&&o.setAttribute("nonce",e.nonce),o.innerHTML=Td(t,r,e),(a||i.head||i.body).appendChild(o),o}function Pd(t){var r="rCS"+Rd(t);return{className:r,inject:function(e,n){n===void 0&&(n={});var a=Bd(e),i=(a||e.ownerDocument||document).querySelector('style[data-styled-id="'.concat(r,'"]'));if(!i)i=Od(r,t,n,e,a);else{var o=parseFloat(i.getAttribute("data-styled-count"))||0;i.setAttribute("data-styled-count","".concat(o+1))}return{destroy:function(){var s,u=parseFloat(i.getAttribute("data-styled-count"))||0;u<=1?(i.remove?i.remove():(s=i.parentNode)===null||s===void 0||s.removeChild(i),i=null):i.setAttribute("data-styled-count","".concat(u-1))}}}}}var ca=function(){return ca=Object.assign||function(r){for(var e,n=1,a=arguments.length;n=0;s--)(o=t[s])&&(i=(a<3?o(i):a>3?o(r,e,i):o(r,e))||i);return a>3&&i&&Object.defineProperty(r,e,i),i}function kd(t){var r=typeof Symbol=="function"&&Symbol.iterator,e=r&&t[r],n=0;if(e)return e.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}function B(t,r){var e=typeof Symbol=="function"&&t[Symbol.iterator];if(!e)return t;var n=e.call(t),a,i=[],o;try{for(;(r===void 0||r-- >0)&&!(a=n.next()).done;)i.push(a.value)}catch(s){o={error:s}}finally{try{a&&!a.done&&(e=n.return)&&e.call(n)}finally{if(o)throw o.error}}return i}function W(t,r,e){if(e||arguments.length===2)for(var n=0,a=r.length,i;n')}function Ud(t){var r=zd(1,t),e=Math.round(t/45)*45%180,n="ns-resize";return e===135?n="nwse-resize":e===45?n="nesw-resize":e===90&&(n="ew-resize"),"cursor:".concat(n,";cursor: url('").concat(r,"') 16 16, ").concat(n,";")}var ne=qv(),as=ne.browser.webkit,is=as&&function(){var t=typeof window>"u"?{userAgent:""}:window.navigator,r=/applewebkit\/([^\s]+)/g.exec(t.userAgent.toLowerCase());return r?parseFloat(r[1])<605:!1}(),os=ne.browser.name,ss=parseInt(ne.browser.version,10),Hd=os==="chrome",Wd=ne.browser.chromium,Yd=parseInt(ne.browser.chromiumVersion,10)||0,Xd=Hd&&ss>=109||Wd&&Yd>=109,Vd=os==="firefox",Qd=parseInt(ne.browser.webkitVersion,10)>=612||ss>=15,Xa="moveable-",Kd=Ya.map(function(t){var r="",e="",n="center",a="center",i="calc(var(--moveable-control-padding, 20) * -1px)";return t.indexOf("n")>-1&&(r="top: ".concat(i,";"),a="bottom"),t.indexOf("s")>-1&&(r="top: 0px;",a="top"),t.indexOf("w")>-1&&(e="left: ".concat(i,";"),n="right"),t.indexOf("e")>-1&&(e="left: 0px;",n="left"),'.around-control[data-direction*="'.concat(t,'"] {\n ').concat(e).concat(r,"\n transform-origin: ").concat(n," ").concat(a,";\n }")}).join("\n"),qd="\n{\nposition: absolute;\nwidth: 1px;\nheight: 1px;\nleft: 0;\ntop: 0;\nz-index: 3000;\n--moveable-color: #4af;\n--zoom: 1;\n--zoompx: 1px;\n--moveable-line-padding: 0;\n--moveable-control-padding: 0;\nwill-change: transform;\noutline: 1px solid transparent;\n}\n.control-box {\nz-index: 0;\n}\n.line, .control {\nposition: absolute;\nleft: 0;\ntop: 0;\nwill-change: transform;\n}\n.control {\nwidth: 14px;\nheight: 14px;\nborder-radius: 50%;\nborder: 2px solid #fff;\nbox-sizing: border-box;\nbackground: #4af;\nbackground: var(--moveable-color);\nmargin-top: -7px;\nmargin-left: -7px;\nborder: 2px solid #fff;\nz-index: 10;\n}\n.around-control {\nposition: absolute;\nwill-change: transform;\nwidth: calc(var(--moveable-control-padding, 20) * 1px);\nheight: calc(var(--moveable-control-padding, 20) * 1px);\nleft: calc(var(--moveable-control-padding, 20) * -0.5px);\ntop: calc(var(--moveable-control-padding, 20) * -0.5px);\nbox-sizing: border-box;\nbackground: transparent;\nz-index: 8;\ncursor: alias;\ntransform-origin: center center;\n}\n".concat(Kd,"\n.padding {\nposition: absolute;\ntop: 0px;\nleft: 0px;\nwidth: 100px;\nheight: 100px;\ntransform-origin: 0 0;\n}\n.line {\nwidth: 1px;\nheight: 1px;\nbackground: #4af;\nbackground: var(--moveable-color);\ntransform-origin: 0px 50%;\n}\n.line.edge {\nz-index: 1;\nbackground: transparent;\n}\n.line.dashed {\nbox-sizing: border-box;\nbackground: transparent;\n}\n.line.dashed.horizontal {\nborder-top: 1px dashed #4af;\nborder-top-color: #4af;\nborder-top-color: var(--moveable-color);\n}\n.line.dashed.vertical {\nborder-left: 1px dashed #4af;\nborder-left-color: #4af;\nborder-left-color: var(--moveable-color);\n}\n.line.vertical {\ntransform: translateX(-50%);\n}\n.line.horizontal {\ntransform: translateY(-50%);\n}\n.line.vertical.bold {\nwidth: 2px;\n}\n.line.horizontal.bold {\nheight: 2px;\n}\n\n.control.origin {\nborder-color: #f55;\nbackground: #fff;\nwidth: 12px;\nheight: 12px;\nmargin-top: -6px;\nmargin-left: -6px;\npointer-events: none;\n}\n").concat([0,15,30,45,60,75,90,105,120,135,150,165].map(function(t){return'\n.direction[data-rotation="'.concat(t,'"], :global .view-control-rotation').concat(t," {\n").concat(Ud(t),"\n}\n")}).join("\n"),'\n\n.line.direction:before {\ncontent: "";\nposition: absolute;\nwidth: 100%;\nheight: calc(var(--moveable-line-padding, 0) * 1px);\nbottom: 0;\nleft: 0;\n}\n.group {\nz-index: -1;\n}\n.area {\nposition: absolute;\n}\n.area-pieces {\nposition: absolute;\ntop: 0;\nleft: 0;\ndisplay: none;\n}\n.area.avoid, .area.pass {\npointer-events: none;\n}\n.area.avoid+.area-pieces {\ndisplay: block;\n}\n.area-piece {\nposition: absolute;\n}\n\n').concat(is?':global svg *:before {\ncontent:"";\ntransform-origin: inherit;\n}':"","\n"),Jd=[[0,1,2],[1,0,3],[2,0,3],[3,1,2]],da=1e-4,Ht=1e-7,ze=1e-9,pa=Math.pow(10,10),Ni=-pa,jd={n:[0,-1],e:[1,0],s:[0,1],w:[-1,0],nw:[-1,-1],ne:[1,-1],sw:[-1,1],se:[1,1]},Va={n:[0,1],e:[1,3],s:[3,2],w:[2,0],nw:[0],ne:[1],sw:[2],se:[3]},us={n:0,s:180,w:270,e:90,nw:315,ne:45,sw:225,se:135},ls=["isMoveableElement","updateRect","updateTarget","destroy","dragStart","isInside","hitTest","setState","getRect","request","isDragging","getManager","forceUpdate","waitToChangeTarget","updateSelectors","getTargets","stopDrag","getControlBoxElement"];function Oe(t,r,e,n,a,i){var o,s;i===void 0&&(i="draggable");var u=(s=(o=r.gestos[i])===null||o===void 0?void 0:o.move(e,t.inputEvent))!==null&&s!==void 0?s:{},l=u.originalDatas||u.datas,f=l[i]||(l[i]={});return I(I({},a?Js(r,u):u),{isPinch:!!n,parentEvent:!0,datas:f,originalDatas:t.originalDatas})}var qr=function(){function t(r){var e;r===void 0&&(r="draggable"),this.ableName=r,this.prevX=0,this.prevY=0,this.startX=0,this.startY=0,this.isDrag=!1,this.isFlag=!1,this.datas={draggable:{}},this.datas=(e={},e[r]={},e)}return t.prototype.dragStart=function(r,e){this.isDrag=!1,this.isFlag=!1;var n=e.originalDatas;return this.datas=n,n[this.ableName]||(n[this.ableName]={}),I(I({},this.move(r,e.inputEvent)),{type:"dragstart"})},t.prototype.drag=function(r,e){return this.move([r[0]-this.prevX,r[1]-this.prevY],e)},t.prototype.move=function(r,e){var n,a,i=!1;if(!this.isFlag)this.prevX=r[0],this.prevY=r[1],this.startX=r[0],this.startY=r[1],n=r[0],a=r[1],this.isFlag=!0;else{var o=this.isDrag;n=this.prevX+r[0],a=this.prevY+r[1],(r[0]||r[1])&&(this.isDrag=!0),!o&&this.isDrag&&(i=!0)}return this.prevX=n,this.prevY=a,{type:"drag",clientX:n,clientY:a,inputEvent:e,isFirstDrag:i,isDrag:this.isDrag,distX:n-this.startX,distY:a-this.startY,deltaX:r[0],deltaY:r[1],datas:this.datas[this.ableName],originalDatas:this.datas,parentEvent:!0,parentGesto:this}},t}();function Vr(t,r,e,n){var a=t.length===16,i=a?4:3,o=zr(t,e,n,i),s=B(o,4),u=B(s[0],2),l=u[0],f=u[1],v=B(s[1],2),c=v[0],d=v[1],p=B(s[2],2),g=p[0],h=p[1],A=B(s[3],2),m=A[0],S=A[1],C=B(yt(t,r,i),2),y=C[0],E=C[1],b=Math.min(l,c,g,m),x=Math.min(f,d,h,S),D=Math.max(l,c,g,m),T=Math.max(f,d,h,S);l=l-b||0,c=c-b||0,g=g-b||0,m=m-b||0,f=f-x||0,d=d-x||0,h=h-x||0,S=S-x||0,y=y-b||0,E=E-x||0;var R=t[0],M=t[i+1],w=Kt(R*M);return{left:b,top:x,right:D,bottom:T,origin:[y,E],pos1:[l,f],pos2:[c,d],pos3:[g,h],pos4:[m,S],direction:w}}function fs(t,r){var e=r.clientX,n=r.clientY,a=r.datas,i=t.state,o=i.moveableClientRect,s=i.rootMatrix,u=i.is3d,l=i.pos1,f=o.left,v=o.top,c=u?4:3,d=B(tt(_r(s,[e-f,n-v],c),l),2),p=d[0],g=d[1],h=B(lr({datas:a,distX:p,distY:g}),2),A=h[0],m=h[1];return[A,m]}function Lr(t,r){var e=r.datas,n=t.state,a=n.allMatrix,i=n.beforeMatrix,o=n.is3d,s=n.left,u=n.top,l=n.origin,f=n.offsetMatrix,v=n.targetMatrix,c=n.transformOrigin,d=o?4:3;e.is3d=o,e.matrix=a,e.targetMatrix=v,e.beforeMatrix=i,e.offsetMatrix=f,e.transformOrigin=c,e.inverseMatrix=sr(a,d),e.inverseBeforeMatrix=sr(i,d),e.absoluteOrigin=Gr(ct([s,u],l),d),e.startDragBeforeDist=Nt(e.inverseBeforeMatrix,e.absoluteOrigin,d),e.startDragDist=Nt(e.inverseMatrix,e.absoluteOrigin,d)}function _d(t){return Vr(t.datas.beforeTransform,[50,50],100,100).direction}function An(t,r){var e=t.datas,n=t.originalDatas.beforeRenderable,a=e.transformIndex,i=n.nextTransforms,o=i.length,s=n.nextTransformAppendedIndexes,u=-1;a===-1?(r==="translate"?u=0:r==="rotate"&&(u=dr(i,function(c){return c.match(/scale\(/g)})),u===-1&&(u=i.length),e.transformIndex=u):Jt(s,function(c){return c.index===a&&c.functionName===r})?u=a:u=a+s.filter(function(c){return c.indexu&&(e.isAppendTransform=!0,n.nextTransformAppendedIndexes=W(W([],B(s),!1),[{functionName:r,index:u,isAppend:!0}],!1))}function mn(t,r,e){return"".concat(t.beforeFunctionTexts.join(" ")," ").concat(t.isAppendTransform?e:r," ").concat(t.afterFunctionTexts.join(" "))}function Zd(t){var r=t.datas,e=t.distX,n=t.distY,a=B(vs({datas:r,distX:e,distY:n}),2),i=a[0],o=a[1],s=cs(r,$v([i,o],4));return Nt(s,Gr([0,0,0],4),4)}function cs(t,r,e){var n=t.beforeTransform,a=t.afterTransform,i=t.beforeTransform2,o=t.afterTransform2,s=t.targetAllTransform,u=e?ht(s,r,4):ht(r,s,4),l=ht(sr(e?i:n,4),u,4),f=ht(l,sr(e?o:a,4),4);return f}function vs(t){var r=t.datas,e=t.distX,n=t.distY,a=r.inverseBeforeMatrix,i=r.is3d,o=r.startDragBeforeDist,s=r.absoluteOrigin,u=i?4:3;return tt(Nt(a,ct(s,[e,n]),u),o)}function lr(t,r){var e=t.datas,n=t.distX,a=t.distY,i=e.inverseBeforeMatrix,o=e.inverseMatrix,s=e.is3d,u=e.startDragBeforeDist,l=e.startDragDist,f=e.absoluteOrigin,v=s?4:3;return tt(Nt(r?i:o,ct(f,[n,a]),v),r?u:l)}function $d(t,r){var e=t.datas,n=t.distX,a=t.distY,i=e.beforeMatrix,o=e.matrix,s=e.is3d,u=e.startDragBeforeDist,l=e.startDragDist,f=e.absoluteOrigin,v=s?4:3;return tt(Nt(r?i:o,ct(r?u:l,[n,a]),v),f)}function tp(t,r,e,n,a,i){return n===void 0&&(n=r),a===void 0&&(a=e),i===void 0&&(i=[0,0]),t?t.map(function(o,s){var u=xe(o),l=u.value,f=u.unit,v=s?a:n,c=s?e:r;if(o==="%"||isNaN(l)){var d=v?i[s]/v:0;return c*d}else if(f!=="%")return l;return c*l/100}):i}function ds(t){var r=[];return t[1]>=0&&(t[0]>=0&&r.push(3),t[0]<=0&&r.push(2)),t[1]<=0&&(t[0]>=0&&r.push(1),t[0]<=0&&r.push(0)),r}function rp(t,r){return ds(r).map(function(e){return t[e]})}function Pt(t,r){var e=(r[0]+1)/2,n=(r[1]+1)/2,a=[Ir(t[0][0],t[1][0],e,1-e),Ir(t[0][1],t[1][1],e,1-e)],i=[Ir(t[2][0],t[3][0],e,1-e),Ir(t[2][1],t[3][1],e,1-e)];return[Ir(a[0],i[0],n,1-n),Ir(a[1],i[1],n,1-n)]}function ep(t,r,e,n,a,i){var o=zr(r,e,n,a),s=Pt(o,i),u=t[0]-s[0],l=t[1]-s[1];return[u,l]}function Pe(t,r,e,n){return ht(t,pe(r,n,e),n)}function np(t,r,e,n){var a=t.transformOrigin,i=t.offsetMatrix,o=t.is3d,s=o?4:3,u;if(Yt(e)){var l=r.beforeTransform,f=r.afterTransform;n?u=ar(rn(e),4,s):u=ar(ht(ht(l,rn([e]),4),f,4),4,s)}else u=e;return Pe(i,u,a,s)}function ap(t,r){var e=t.transformOrigin,n=t.offsetMatrix,a=t.is3d,i=t.targetMatrix,o=t.targetAllTransform,s=a?4:3;return Pe(n,ht(o||i,tn(r,s),s),e,s)}function Sn(t){var r=ae(t);return{setTransform:function(e,n){n===void 0&&(n=-1),r.startTransforms=Rt(e)?e:xr(e),ga(t,n)},setTransformIndex:function(e){ga(t,e)}}}function Cn(t,r){var e=ae(t),n=e.startTransforms;ga(t,dr(n,function(a){return a.indexOf("".concat(r,"("))===0}))}function ga(t,r){var e=ae(t),n=t.datas;if(n.transformIndex=r,r!==-1){var a=e.startTransforms[r];if(a){var i=Kr([a]);n.startValue=i[0].functionValue}}}function Qa(t,r){var e=ae(t);e.nextTransforms=xr(r)}function ae(t){return t.originalDatas.beforeRenderable}function nn(t){var r=t.originalDatas.beforeRenderable;return r.nextTransforms}function Ue(t){return(nn(t)||[]).join(" ")}function He(t){return ae(t).nextStyle}function ps(t,r,e,n,a){Qa(a,r);var i=zt.drag(t,Oe(a,t.state,e,n,!1)),o=i?i.transform:r;return I(I({transform:r,drag:i},Ut({transform:o},a)),{afterTransform:o})}function Ka(t,r,e,n,a,i){var o=np(t.state,a,r,i),s=sp(t,e,n,o);return s}function gs(t,r,e,n,a,i,o){var s=Ka(t,r,e,a,i,o),u=t.state,l=u.left,f=u.top,v=t.props.groupable,c=v?l:0,d=v?f:0,p=tt(n,s);return tt(p,[c,d])}function ip(t,r,e,n,a,i,o){var s=gs(t,r,e,n,a,i,o);return s}function op(t,r,e){return[r?-1+t[0]/(r/2):0,e?-1+t[1]/(e/2):0]}function sp(t,r,e,n){n===void 0&&(n=t.state.allMatrix);var a=t.state,i=a.width,o=a.height,s=a.is3d,u=s?4:3,l=[i/2*(1+r[0])+e[0],o/2*(1+r[1])+e[1]];return yt(n,l,u)}function up(t,r,e){var n=e.fixedDirection,a=e.fixedPosition,i=e.fixedOffset;return gs(t,"rotate(".concat(r,"deg)"),n,a,i,e)}function lp(t,r,e,n,a,i){var o=t.props.groupable,s=t.state,u=s.transformOrigin,l=s.offsetMatrix,f=s.is3d,v=s.width,c=s.height,d=s.left,p=s.top,g=i.fixedDirection,h=i.nextTargetMatrix||s.targetMatrix,A=f?4:3,m=tp(a,r,e,v,c,u),S=o?d:0,C=o?p:0,y=Pe(l,h,m,A),E=ep(n,y,r,e,A,g);return tt(E,[S,C])}function fp(t,r){return Pt(_t(t.state),r)}function cp(t,r){var e=t.targetGesto,n=t.controlGesto,a;return e!=null&&e.isFlag()&&(a=e.getEventData()[r]),!a&&(n!=null&&n.isFlag())&&(a=n.getEventData()[r]),a||{}}function vp(t){if(t&&t.getRootNode){var r=t.getRootNode();if(r.nodeType===11)return r}}function hs(t,r,e){for(var n=t,a=[],i=Ga(t)||Mr(t),o=!e&&t===r||t===i,s=o,u=!1,l=3,f,v,c,d=!1,p=Ce(r,r,!0).offsetParent,g=1;n&&!s;){s=o;var h=Xt(n),A=h("position"),m=h("scale"),S=Ls(n),C=A==="fixed",y=td(ug(S)),E=void 0,b=!1,x=!1,D=0,T=0,R=0,M=0,w={hasTransform:!1,fixedContainer:null};C&&(d=!0,w=dg(n),p=w.fixedContainer);var O=y.length;!u&&O===16&&(u=!0,l=4,Ea(a),c&&(c=ar(c,3,4))),u&&O===9&&(y=ar(y,3,4));var G=vg(n,t),N=G.tagName,k=G.hasOffset,F=G.isSVG,U=G.origin,H=G.targetOrigin,z=G.offset,V=B(z,2),j=V[0],q=V[1];N==="svg"&&c&&(a.push({type:"target",target:n,matrix:pg(n,l)}),a.push({type:"offset",target:n,matrix:St(l)}));var K=parseFloat(h("zoom"))||1;if(C)E=w.fixedContainer,b=!0;else{var Y=Ce(n,r,!1,!0,h),Z=Y.offsetZoom;if(E=Y.offsetParent,b=Y.isEnd,x=Y.isStatic,g*=Z,(Y.isCustomElement||Z!==1)&&x)j-=E.offsetLeft,q-=E.offsetTop;else if(Vd||Xd){var rt=Y.parentSlotElement;if(rt){for(var ft=E,et=0,_=0;ft&&vp(ft);)et+=ft.offsetLeft,_+=ft.offsetTop,ft=ft.offsetParent;j-=et,q-=_}}}if(as&&!Qd&&k&&!F&&x&&(A==="relative"||A==="static")&&(j-=E.offsetLeft,q-=E.offsetTop,o=o||b),C)k&&w.hasTransform&&(R=E.clientLeft,M=E.clientTop);else if(k&&p!==E&&(D=E.clientLeft,T=E.clientTop),k&&E===i){var J=zs(n,!1);j+=J[0],q+=J[1]}if(a.push({type:"target",target:n,matrix:pe(y,l,U)}),m&&m!=="1"&&m!=="none"){var dt=B(m.split(" ").map(function(wt){return parseFloat(wt)}),2),at=dt[0],it=dt[1],ut=it===void 0?at:it,At=tn([at,ut],l);a.push({type:"offset",target:n,matrix:St(l)}),a.push({type:"target",target:n,matrix:pe(At,l,U)})}if(k){var pt=n===t,st=pt?0:n.scrollLeft,vt=pt?0:n.scrollTop;a.push({type:"offset",target:n,matrix:Fr([j-st+D-R,q-vt+T-M],l)})}else a.push({type:"offset",target:n,origin:U});if(K!==1&&a.push({type:"zoom",target:n,matrix:pe(tn([K,K],l),l,[0,0])}),c||(c=y),f||(f=U),v||(v=H),s||C)break;n=E,o=b,(!e||n===i)&&(s=o)}return c||(c=St(l)),f||(f=[0,0]),v||(v=[0,0]),{zoom:g,offsetContainer:p,matrixes:a,targetMatrix:c,transformOrigin:f,targetOrigin:v,is3d:u,hasFixed:d}}var Rr=null,Br=null,Yr=null;function Jr(t){t?(window.Map&&(Rr=new Map,Br=new Map),Yr=[]):(Rr=null,Yr=null,Br=null)}function dp(t){var r=Br==null?void 0:Br.get(t);if(r)return r;var e=ge(t,!0);return Br&&Br.set(t,e),e}function pp(t,r){if(Yr){var e=Jt(Yr,function(a){return a[0][0]==t&&a[0][1]==r});if(e)return e[1]}var n=hs(t,r,!0);return Yr&&Yr.push([[t,r],n]),n}function Xt(t){var r=Rr==null?void 0:Rr.get(t);if(!r){var e=br(t).getComputedStyle(t);if(!Rr)return function(i){return e[i]};r={style:e,cached:{}},Rr.set(t,r)}var n=r.cached,a=r.style;return function(i){return i in n||(n[i]=a[i]),n[i]}}function er(t,r,e){var n=e.originalDatas;n.groupable=n.groupable||{};var a=n.groupable;a.childDatas=a.childDatas||[];var i=a.childDatas;return t.moveables.map(function(o,s){return i[s]=i[s]||{},i[s][r]=i[s][r]||{},I(I({},e),{datas:i[s][r],originalDatas:i[s]})})}function Nn(t,r,e,n,a,i,o){var s=!!e.match(/Start$/g),u=!!e.match(/End$/g),l=a.isPinch,f=a.datas,v=er(t,r.name,a),c=t.moveables,d=v.map(function(p,g){var h=c[g],A=h.state,m=A.gestos,S=p;if(s)S=new qr(o).dragStart(n,p);else{if(m[o]||(m[o]=f.childGestos[g]),!m[o])return;S=Oe(p,A,n,l,i,o)}var C=r[e](h,I(I({},S),{parentFlag:!0}));return u&&(m[o]=null),C});return s&&(f.childGestos=c.map(function(p){return p.state.gestos[o]})),d}function vr(t,r,e,n,a,i){a===void 0&&(a=function(f,v){return v});var o=!!e.match(/End$/g),s=er(t,r.name,n),u=t.moveables,l=s.map(function(f,v){var c=u[v],d=f;d=a(c,f);var p=r[e](c,I(I({},d),{parentFlag:!0}));return p&&i&&i(c,f,p,v),o&&(c.state.gestos={}),p});return l}function an(t,r,e,n){var a=e.fixedDirection,i=e.fixedPosition,o=n.datas.startPositions||_t(r.state),s=Pt(o,a),u=B(Nt(Re(-t.rotation/180*Math.PI,3),[s[0]-i[0],s[1]-i[1],1],3),2),l=u[0],f=u[1];return n.datas.originalX=l,n.datas.originalY=f,n}function As(t,r,e,n){var a=t.getState(),i=a.renderPoses,o=a.rotation,s=a.direction,u=kr(t.props,r).zoom,l=de(o/Math.PI*180),f={},v=t.renderState;v.renderDirectionMap||(v.renderDirectionMap={});var c=v.renderDirectionMap;e.forEach(function(p){var g=p.dir;f[g]=!0});var d=Kt(s);return e.map(function(p){var g=p.data,h=p.classNames,A=p.dir,m=Va[A];if(!m||!f[A])return null;c[A]=!0;var S=(nt(l,15)+d*us[A]+720)%180,C={};return pr(g).forEach(function(y){C["data-".concat(y)]=g[y]}),n.createElement("div",I({className:$.apply(void 0,W(["control","direction",A,r],B(h),!1)),"data-rotation":S,"data-direction":A},C,{key:"direction-".concat(A),style:ln.apply(void 0,W([o,u],B(m.map(function(y){return i[y]})),!1))}))})}function ms(t,r,e,n){var a=kr(t.props,e),i=a.renderDirections,o=i===void 0?r:i,s=a.displayAroundControls;if(!o)return[];var u=o===!0?Ya:o;return W(W([],B(s?ys(t,n,e,u):[]),!1),B(As(t,e,u.map(function(l){return{data:{},classNames:[],dir:l}}),n)),!1)}function Se(t,r,e,n,a,i){for(var o=[],s=6;s0,g=c>0,h={isBound:!1,offset:0,pos:0},A={isBound:!1,offset:0,pos:0};if(c===0&&d===0)return{vertical:h,horizontal:A};if(c===0)p?sf&&(A.pos=i,A.offset=f-i);else if(d===0)g?ol&&(h.pos=a,h.offset=l-a);else{var m=d/c,S=e[1]-m*l,C=0,y=0,E=!1;g&&o<=l?(C=m*o+S,y=o,E=!0):!g&&l<=a&&(C=m*a+S,y=a,E=!0),E&&(Cs)&&(E=!1),E||(p&&s<=f?(C=s,y=(C-S)/m,E=!0):!p&&f<=i&&(C=i,y=(C-S)/m,E=!0)),E&&(h.isBound=!0,h.pos=y,h.offset=l-y,A.isBound=!0,A.pos=C,A.offset=f-C)}return{vertical:h,horizontal:A}}function ki(t,r,e){var n=t[e?"left":"top"],a=t[e?"right":"bottom"],i=Math.min.apply(Math,W([],B(r),!1)),o=Math.max.apply(Math,W([],B(r),!1)),s=[];return n+1>i&&s.push({isBound:!0,offset:i-n,pos:n}),a-1.1||a[0]>r.right&&L(a[0]-r.right)>.1||a[1].1||a[1]>r.bottom&&L(a[1]-r.bottom)>.1})}function Ap(t,r,e){var n=jt(t),a=Math.sqrt(n*n-r*r)||0;return[a,-a].sort(function(i,o){return L(i-t[e?0:1])-L(o-t[e?0:1])}).map(function(i){return xt([0,0],e?[i,r]:[r,i])})}function mp(t,r,e,n,a){if(!t.props.bounds)return[];var i=a*Math.PI/180,o=En(t),s=o.left,u=o.top,l=o.right,f=o.bottom,v=s-n[0],c=l-n[0],d=u-n[1],p=f-n[1],g={left:v,top:d,right:c,bottom:p};if(!Li(e,g,0))return[];var h=[];return[[v,0],[c,0],[d,1],[p,1]].forEach(function(A){var m=B(A,2),S=m[0],C=m[1];e.forEach(function(y){var E=xt([0,0],y);h.push.apply(h,W([],B(Ap(y,S,C).map(function(b){return i+b-E}).filter(function(b){return!Li(r,g,b)}).map(function(b){return nt(b*180/Math.PI,Ht)})),!1))})}),h}var Sp=["left","right","center"],Cp=["top","bottom","middle"],wr={start:"left",end:"right",center:"center"},Dr={start:"top",end:"bottom",center:"middle"};function ie(t,r){var e=t.props,n=e.snappable,a=e.bounds,i=e.innerBounds,o=e.verticalGuidelines,s=e.horizontalGuidelines,u=e.snapGridWidth,l=e.snapGridHeight,f=t.state,v=f.guidelines,c=f.enableSnap;return!n||!c||r&&n!==!0&&n.indexOf(r)<0?!1:!!(u||l||a||i||v&&v.length||o&&o.length||s&&s.length)}function Ja(t){return t===!1?{}:t===!0||!t?{left:!0,right:!0,top:!0,bottom:!0}:t}function Ep(t,r){var e=Ja(t),n={};for(var a in e)a in r&&e[a]&&(n[a]=r[a]);return n}function ja(t,r){var e=Ep(t,r),n=Cp.filter(function(i){return i in e}),a=Sp.filter(function(i){return i in e});return{horizontalNames:n,verticalNames:a,horizontal:n.map(function(i){return e[i]}),vertical:a.map(function(i){return e[i]})}}function yp(t,r,e){var n=yt(t,[r.clientLeft,r.clientTop],e);return[r.left+n[0],r.top+n[1]]}function bp(t){var r=B(t,2),e=r[0],n=r[1],a=n[0]-e[0],i=n[1]-e[1];Math.abs(a)0,d=f>0;f=fn(f),v=fn(v);var p={isSnap:!1,offset:0,pos:0},g={isSnap:!1,offset:0,pos:0};if(f===0&&v===0)return{vertical:p,horizontal:g};var h=yn(t,f?[a]:[],v?[i]:[]),A=h.vertical,m=h.horizontal;A.posInfos.filter(function(N){var k=N.pos;return d?k>=s:k<=s}),m.posInfos.filter(function(N){var k=N.pos;return c?k>=u:k<=u}),A.isSnap=A.posInfos.length>0,m.isSnap=m.posInfos.length>0;var S=ha(A),C=S.isSnap,y=S.guideline,E=ha(m),b=E.isSnap,x=E.guideline,D=b?x.pos[1]:0,T=C?y.pos[0]:0;if(f===0)b&&(g.isSnap=!0,g.pos=x.pos[1],g.offset=i-g.pos);else if(v===0)C&&(p.isSnap=!0,p.pos=T,p.offset=a-T);else{var R=v/f,M=e[1]-R*a,w=0,O=0,G=!1;C?(O=T,w=R*O+M,G=!0):b&&(w=D,O=(w-M)/R,G=!0),G&&(p.isSnap=!0,p.pos=O,p.offset=a-O,g.isSnap=!0,g.pos=w,g.offset=i-w)}return{vertical:p,horizontal:g}}function Cr(t){var r="";return t===-1||t==="top"||t==="left"?r="start":t===0||t==="center"||t==="middle"?r="center":(t===1||t==="right"||t==="bottom")&&(r="end"),r}function zi(t,r,e){var n=ja(t.props.snapDirections,r),a=yn(t,n.vertical,n.horizontal,n.verticalNames.map(function(s){return Cr(s)}),n.horizontalNames.map(function(s){return Cr(s)}),e),i=Cr(n.horizontalNames[a.horizontal.index]),o=Cr(n.verticalNames[a.vertical.index]);return{vertical:I(I({},a.vertical),{direction:o}),horizontal:I(I({},a.horizontal),{direction:i})}}function ha(t){var r=t.isSnap;if(!r)return{isSnap:!1,offset:0,dist:-1,pos:0,guideline:null};var e=t.posInfos[0],n=e.guidelineInfos[0],a=n.offset,i=n.dist,o=n.guideline;return{isSnap:r,offset:a,dist:i,pos:e.pos,guideline:o}}function Ui(t,r,e,n,a){var i,o;if(a===void 0&&(a=[]),!t||!t.length)return{isSnap:!1,index:-1,direction:"",posInfos:[]};var s=r==="vertical",u=s?0:1,l=e.map(function(v,c){var d=a[c]||"",p=t.map(function(g){var h=g.pos,A=v-h[u];return{offset:A,dist:L(A),guideline:g,direction:d}}).filter(function(g){var h=g.guideline,A=g.dist,m=h.type;return!(m!==r||A>n)}).sort(function(g,h){return g.dist-h.dist});return{pos:v,index:c,guidelineInfos:p,direction:d}}).filter(function(v){return v.guidelineInfos.length>0}).sort(function(v,c){return v.guidelineInfos[0].dist-c.guidelineInfos[0].dist}),f=l.length>0;return{isSnap:f,index:f?l[0].index:-1,direction:(o=(i=l[0])===null||i===void 0?void 0:i.direction)!==null&&o!==void 0?o:"",posInfos:l}}function wp(t,r,e,n){n===void 0&&(n=1);var a=[];e[0]&&e[1]?a=[e,[-e[0],e[1]],[e[0],-e[1]]]:!e[0]&&!e[1]?[[-1,-1],[1,-1],[1,1],[-1,1]].forEach(function(v,c,d){var p=d[c+1]||d[0];a.push(v),a.push([(v[0]+p[0])/2,(v[1]+p[1])/2])}):t.props.keepRatio?a.push([-1,-1],[-1,1],[1,-1],[1,1],e):(a.push.apply(a,W([],B(rp([[-1,-1],[1,-1],[-1,-1],[1,1]],e)),!1)),a.length>1&&a.push([(a[0][0]+a[1][0])/2,(a[0][1]+a[1][1])/2]));var i=a.map(function(v){return Pt(r,v)}),o=i.map(function(v){return v[0]}),s=i.map(function(v){return v[1]}),u=yn(t,o,s,a.map(function(v){return Cr(v[0])}),a.map(function(v){return Cr(v[1])}),n),l=Cr(a.map(function(v){return v[0]})[u.vertical.index]),f=Cr(a.map(function(v){return v[1]})[u.horizontal.index]);return{vertical:I(I({},u.vertical),{direction:l}),horizontal:I(I({},u.horizontal),{direction:f})}}function xs(t,r){var e=L(t.offset),n=L(r.offset);return t.isBound&&r.isBound?n-e:t.isBound?-1:r.isBound?1:t.isSnap&&r.isSnap?n-e:t.isSnap?-1:r.isSnap||eo||u>o,f=B(lr({datas:a,distX:i[0],distY:i[1]}),2),v=f[0],c=f[1];return{offset:[v,c],isOutside:l}}function sn(t,r){return t.isBound?t.offset:r.isSnap?ha(r).offset:0}function Fp(t,r,e,n,a){var i=B(r,2),o=i[0],s=i[1],u=B(e,2),l=u[0],f=u[1],v=B(n,2),c=v[0],d=v[1],p=B(a,2),g=p[0],h=p[1],A=-g,m=-h;if(t&&o&&s){A=0,m=0;var S=[];if(l&&f?S.push([0,h],[g,0]):l?S.push([g,0]):f?S.push([0,h]):c&&d?S.push([0,h],[g,0]):c?S.push([g,0]):d&&S.push([0,h]),S.length){S.sort(function(b,x){return jt(tt([o,s],b))-jt(tt([o,s],x))});var C=S[0];if(C[0]&&L(o)>It)A=-C[0],m=s*L(o+A)/L(o)-s;else if(C[1]&&L(s)>It){var y=s;m=-C[1],A=o*L(s+m)/L(y)-o}if(t&&f&&l)if(L(A)>It&&L(A)It&&L(m)177,g=d>87&&d<93;return c0&&(l||f)){var x=g.startDragRotate||0,D=nt(x+xt([0,0],[l,f])*180/Math.PI,m)-x,T=f*Math.abs(Math.cos((D-90)/180*Math.PI)),R=l*Math.abs(Math.cos(D/180*Math.PI)),M=jt([R,T]);S=D*Math.PI/180,l=M*Math.cos(S),f=M*Math.sin(S)}if(!i&&!n&&!a){var w=B(Np(t,l,f,m,!s&&u||o,e),2),O=w[0],G=w[1];C=O.isSnap,y=O.isBound,E=G.isSnap,b=G.isBound;var N=O.offset,k=G.offset;l+=N,f+=k}var F=ct(vs({datas:e,distX:l,distY:f}),p),U=ct(Zd({datas:e,distX:l,distY:f}),p);xi(U,Ht),xi(F,Ht),m||(!C&&!y&&(U[0]=nt(U[0],A),F[0]=nt(F[0],A)),!E&&!b&&(U[1]=nt(U[1],A),F[1]=nt(F[1],A)));var H=tt(F,p),z=tt(U,p),V=tt(z,c),j=tt(H,d);e.prevDist=z,e.prevBeforeDist=H,e.passDelta=V,e.passDist=z;var q=e.left+H[0],K=e.top+H[1],Y=e.right-H[0],Z=e.bottom-H[1],rt=mn(e,"translate(".concat(U[0],"px, ").concat(U[1],"px)"),"translate(".concat(z[0],"px, ").concat(z[1],"px)"));if(Qa(r,rt),t.state.dragInfo.dist=n?[0,0]:z,!(!n&&!h&&V.every(function(dt){return!dt})&&j.some(function(dt){return!dt}))){var ft=t.state,et=ft.width,_=ft.height,J=ot(t,r,I({transform:rt,dist:z,delta:V,translate:U,beforeDist:H,beforeDelta:j,beforeTranslate:F,left:q,top:K,right:Y,bottom:Z,width:et,height:_,isPinch:i},Ut({transform:rt},r)));return!n&&X(t,"onDrag",J),J}}}},dragAfter:function(t,r){var e=r.datas,n=e.deltaOffset;return n[0]||n[1]?(e.deltaOffset=[0,0],this.drag(t,I(I({},r),{deltaOffset:n}))):!1},dragEnd:function(t,r){var e=r.parentEvent,n=r.datas;if(t.state.dragInfo=null,!!n.isDrag){n.isDrag=!1;var a=Vt(t,r,{});return!e&&X(t,"onDragEnd",a),a}},dragGroupStart:function(t,r){var e=r.datas,n=r.clientX,a=r.clientY,i=this.dragStart(t,r);if(!i)return!1;var o=Nn(t,this,"dragStart",[n||0,a||0],r,!1,"draggable"),s=I(I({},i),{targets:t.props.targets,events:o}),u=X(t,"onDragGroupStart",s);return e.isDrag=u!==!1,e.isDrag?i:!1},dragGroup:function(t,r){var e=r.datas;if(e.isDrag){var n=this.drag(t,r),a=r.datas.passDelta,i=Nn(t,this,"drag",a,r,!1,"draggable");if(n){var o=I({targets:t.props.targets,events:i},n);return X(t,"onDragGroup",o),o}}},dragGroupEnd:function(t,r){var e=r.isDrag,n=r.datas;if(n.isDrag){this.dragEnd(t,r);var a=Nn(t,this,"dragEnd",[0,0],r,!1,"draggable");return X(t,"onDragGroupEnd",Vt(t,r,{targets:t.props.targets,events:a})),e}},request:function(t){var r={},e=t.getRect(),n=0,a=0,i=!1;return{isControl:!1,requestStart:function(o){return i=o.useSnap,{datas:r,useSnap:i}},request:function(o){return"x"in o?n=o.x-e.left:"deltaX"in o&&(n+=o.deltaX),"y"in o?a=o.y-e.top:"deltaY"in o&&(a+=o.deltaY),{datas:r,distX:n,distY:a,useSnap:i}},requestEnd:function(){return{datas:r,isDrag:!0,useSnap:i}}}},unset:function(t){t.state.gestos.draggable=null,t.state.dragInfo=null}};function Is(t,r){var e=Pt(t,r),n=[0,0];return{fixedPosition:e,fixedDirection:r,fixedOffset:n}}function Hp(t,r){var e=t.allMatrix,n=t.is3d,a=t.width,i=t.height,o=n?4:3,s=[a/2*(1+r[0]),i/2*(1+r[1])],u=yt(e,s,o),l=[0,0];return{fixedPosition:u,fixedDirection:r,fixedOffset:l}}function Rs(t,r){var e=t.allMatrix,n=t.is3d,a=t.width,i=t.height,o=n?4:3,s=op(r,a,i),u=yt(e,r,o),l=[a?0:r[0],i?0:r[1]];return{fixedPosition:u,fixedDirection:s,fixedOffset:l}}var Vi=ai("resizable"),ma={name:"resizable",ableGroup:"size",canPinch:!0,props:["resizable","throttleResize","renderDirections","displayAroundControls","keepRatio","resizeFormat","keepRatioFinally","edge","checkResizableError"],events:["resizeStart","beforeResize","resize","resizeEnd","resizeGroupStart","beforeResizeGroup","resizeGroup","resizeGroupEnd"],render:Cs("resizable"),dragControlCondition:Vi,viewClassName:ni("resizable"),dragControlStart:function(t,r){var e,n=r.inputEvent,a=r.isPinch,i=r.isGroup,o=r.parentDirection,s=r.parentGesto,u=r.datas,l=r.parentFixedDirection,f=r.parentEvent,v=Xs(o,a,n,u),c=t.state,d=c.target,p=c.width,g=c.height,h=c.gestos;if(!v||!d||h.resizable)return!1;h.resizable=s||t.controlGesto,!a&&Lr(t,r),u.datas={},u.direction=v,u.startOffsetWidth=p,u.startOffsetHeight=g,u.prevWidth=0,u.prevHeight=0,u.minSize=[0,0],u.startWidth=c.inlineCSSWidth||c.cssWidth,u.startHeight=c.inlineCSSHeight||c.cssHeight,u.maxSize=[1/0,1/0],i||(u.minSize=[c.minOffsetWidth,c.minOffsetHeight],u.maxSize=[c.maxOffsetWidth,c.maxOffsetHeight]);var A=t.props.transformOrigin||"% %";u.transformOrigin=A&&Yt(A)?A.split(" "):A,u.startOffsetMatrix=c.offsetMatrix,u.startTransformOrigin=c.transformOrigin,u.isWidth=(e=r==null?void 0:r.parentIsWidth)!==null&&e!==void 0?e:!v[0]&&!v[1]||v[0]||!v[1];function m(D){u.ratio=D&&isFinite(D)?D:0}u.startPositions=_t(t.state);function S(D){var T=Is(u.startPositions,D);u.fixedDirection=T.fixedDirection,u.fixedPosition=T.fixedPosition,u.fixedOffset=T.fixedOffset}function C(D){var T=Rs(t.state,D);u.fixedDirection=T.fixedDirection,u.fixedPosition=T.fixedPosition,u.fixedOffset=T.fixedOffset}function y(D){u.minSize=[gt("".concat(D[0]),0)||0,gt("".concat(D[1]),0)||0]}function E(D){var T=[D[0]||1/0,D[1]||1/0];(!Qr(T[0])||isFinite(T[0]))&&(T[0]=gt("".concat(T[0]),0)||1/0),(!Qr(T[1])||isFinite(T[1]))&&(T[1]=gt("".concat(T[1]),0)||1/0),u.maxSize=T}m(p/g),S(l||[-v[0],-v[1]]),u.setFixedDirection=S,u.setFixedPosition=C,u.setMin=y,u.setMax=E;var b=ot(t,r,{direction:v,startRatio:u.ratio,set:function(D){var T=B(D,2),R=T[0],M=T[1];u.startWidth=R,u.startHeight=M},setMin:y,setMax:E,setRatio:m,setFixedDirection:S,setFixedPosition:C,setOrigin:function(D){u.transformOrigin=D},dragStart:zt.dragStart(t,new qr().dragStart([0,0],r))}),x=f||X(t,"onResizeStart",b);return u.startFixedDirection=u.fixedDirection,u.startFixedPosition=u.fixedPosition,x!==!1&&(u.isResize=!0,t.state.snapRenderInfo={request:r.isRequest,direction:v}),u.isResize?b:!1},dragControl:function(t,r){var e,n=r.datas,a=r.parentFlag,i=r.isPinch,o=r.parentKeepRatio,s=r.dragClient,u=r.parentDist,l=r.useSnap,f=r.isRequest,v=r.isGroup,c=r.parentEvent,d=r.resolveMatrix,p=n.isResize,g=n.transformOrigin,h=n.startWidth,A=n.startHeight,m=n.prevWidth,S=n.prevHeight,C=n.minSize,y=n.maxSize,E=n.ratio,b=n.startOffsetWidth,x=n.startOffsetHeight,D=n.isWidth;if(!p)return;if(d){var T=t.state.is3d,R=n.startOffsetMatrix,M=n.startTransformOrigin,w=T?4:3,O=rn(nn(r)),G=Math.sqrt(O.length);w!==G&&(O=ar(O,G,w));var N=Pe(R,O,M,w),k=zr(N,b,x,w);n.startPositions=k,n.nextTargetMatrix=O,n.nextAllMatrix=N}var F=kr(t.props,"resizable"),U=F.resizeFormat,H=F.throttleResize,z=H===void 0?a?0:1:H,V=F.parentMoveable,j=F.keepRatioFinally,q=n.direction,K=q,Y=0,Z=0;!q[0]&&!q[1]&&(K=[1,1]);var rt=E&&(o!=null?o:F.keepRatio)||!1;function ft(){var Dt=n.fixedDirection,Bt=_s(K,rt,n,r);Y=Bt.distWidth,Z=Bt.distHeight;var gr=K[0]-Dt[0]||rt?Math.max(b+Y,Ht):b,hr=K[1]-Dt[1]||rt?Math.max(x+Z,Ht):x;return rt&&b&&x&&(D?hr=gr/E:gr=hr*E),[gr,hr]}var et=B(ft(),2),_=et[0],J=et[1];c||(n.setFixedDirection(n.fixedDirection),X(t,"onBeforeResize",ot(t,r,{startFixedDirection:n.startFixedDirection,startFixedPosition:n.startFixedPosition,setFixedDirection:function(Dt){var Bt;return n.setFixedDirection(Dt),Bt=B(ft(),2),_=Bt[0],J=Bt[1],[_,J]},setFixedPosition:function(Dt){var Bt;return n.setFixedPosition(Dt),Bt=B(ft(),2),_=Bt[0],J=Bt[1],[_,J]},boundingWidth:_,boundingHeight:J,setSize:function(Dt){var Bt;Bt=B(Dt,2),_=Bt[0],J=Bt[1]}},!0)));var dt=s;s||(!a&&i?dt=fp(t,[0,0]):dt=n.fixedPosition);var at=[0,0];i||(at=eg(t,_,J,q,dt,!l&&f,n)),u&&(!u[0]&&(at[0]=0),!u[1]&&(at[1]=0));function it(){var Dt;U&&(Dt=B(U([_,J]),2),_=Dt[0],J=Dt[1]),_=nt(_,z),J=nt(J,z)}if(rt){K[0]&&K[1]&&at[0]&&at[1]&&(L(at[0])>L(at[1])?at[1]=0:at[0]=0);var ut=!at[0]&&!at[1];ut&&it(),K[0]&&!K[1]||at[0]&&!at[1]||ut&&D?(_+=at[0],J=_/E):(!K[0]&&K[1]||!at[0]&&at[1]||ut&&!D)&&(J+=at[1],_=J*E)}else _+=at[0],J+=at[1],_=Math.max(0,_),J=Math.max(0,J);e=B(Do([_,J],C,y,rt?E:!1),2),_=e[0],J=e[1],it(),rt&&(v||j)&&(D?J=_/E:_=J*E),Y=_-b,Z=J-x;var At=[Y-m,Z-S];n.prevWidth=Y,n.prevHeight=Z;var pt=lp(t,_,J,dt,g,n);if(!(!V&&At.every(function(Dt){return!Dt})&&pt.every(function(Dt){return!Dt}))){var st=zt.drag(t,Oe(r,t.state,pt,!!i,!1,"draggable")),vt=st.transform,wt=h+Y,kt=A+Z,Ft=ot(t,r,I({width:wt,height:kt,offsetWidth:Math.round(_),offsetHeight:Math.round(J),startRatio:E,boundingWidth:_,boundingHeight:J,direction:q,dist:[Y,Z],delta:At,isPinch:!!i,drag:st},Qs({style:{width:"".concat(wt,"px"),height:"".concat(kt,"px")},transform:vt},st,r)));return!c&&X(t,"onResize",Ft),Ft}},dragControlAfter:function(t,r){var e=r.datas,n=e.isResize,a=e.startOffsetWidth,i=e.startOffsetHeight,o=e.prevWidth,s=e.prevHeight;if(!(!n||t.props.checkResizableError===!1)){var u=t.state,l=u.width,f=u.height,v=l-(a+o),c=f-(i+s),d=L(v)>3,p=L(c)>3;if(d&&(e.startWidth+=v,e.startOffsetWidth+=v,e.prevWidth+=v),p&&(e.startHeight+=c,e.startOffsetHeight+=c,e.prevHeight+=c),d||p)return this.dragControl(t,r)}},dragControlEnd:function(t,r){var e=r.datas,n=r.parentEvent;if(e.isResize){e.isResize=!1;var a=Vt(t,r,{});return!n&&X(t,"onResizeEnd",a),a}},dragGroupControlCondition:Vi,dragGroupControlStart:function(t,r){var e=r.datas,n=this.dragControlStart(t,I(I({},r),{isGroup:!0}));if(!n)return!1;var a=er(t,"resizable",r),i=e.startOffsetWidth,o=e.startOffsetHeight;function s(){var d=e.minSize;a.forEach(function(p){var g=p.datas,h=g.minSize,A=g.startOffsetWidth,m=g.startOffsetHeight,S=i*(A?h[0]/A:0),C=o*(m?h[1]/m:0);d[0]=Math.max(d[0],S),d[1]=Math.max(d[1],C)})}function u(){var d=e.maxSize;a.forEach(function(p){var g=p.datas,h=g.maxSize,A=g.startOffsetWidth,m=g.startOffsetHeight,S=i*(A?h[0]/A:0),C=o*(m?h[1]/m:0);d[0]=Math.min(d[0],S),d[1]=Math.min(d[1],C)})}var l=vr(t,this,"dragControlStart",r,function(d,p){return an(t,d,e,p)});s(),u();var f=function(d){n.setFixedDirection(d),l.forEach(function(p,g){p.setFixedDirection(d),an(t,p.moveable,e,a[g])})};e.setFixedDirection=f;var v=I(I({},n),{targets:t.props.targets,events:l.map(function(d){return I(I({},d),{setMin:function(p){d.setMin(p),s()},setMax:function(p){d.setMax(p),u()}})}),setFixedDirection:f,setMin:function(d){n.setMin(d),s()},setMax:function(d){n.setMax(d),u()}}),c=X(t,"onResizeGroupStart",v);return e.isResize=c!==!1,e.isResize?n:!1},dragGroupControl:function(t,r){var e=r.datas;if(e.isResize){var n=kr(t.props,"resizable");wn(t,"onBeforeResize",function(d){X(t,"onBeforeResizeGroup",ot(t,r,I(I({},d),{targets:n.targets}),!0))});var a=this.dragControl(t,I(I({},r),{isGroup:!0}));if(a){var i=a.boundingWidth,o=a.boundingHeight,s=a.dist,u=n.keepRatio,l=[i/(i-s[0]),o/(o-s[1])],f=e.fixedPosition,v=vr(t,this,"dragControl",r,function(d,p){var g=B(Nt(Re(t.rotation/180*Math.PI,3),[p.datas.originalX*l[0],p.datas.originalY*l[1],1],3),2),h=g[0],A=g[1];return I(I({},p),{parentDist:null,parentScale:l,dragClient:ct(f,[h,A]),parentKeepRatio:u})}),c=I({targets:n.targets,events:v},a);return X(t,"onResizeGroup",c),c}}},dragGroupControlEnd:function(t,r){var e=r.isDrag,n=r.datas;if(n.isResize){this.dragControlEnd(t,r);var a=vr(t,this,"dragControlEnd",r),i=Vt(t,r,{targets:t.props.targets,events:a});return X(t,"onResizeGroupEnd",i),e}},request:function(t){var r={},e=0,n=0,a=!1,i=t.getRect();return{isControl:!0,requestStart:function(o){var s;return a=o.useSnap,{datas:r,parentDirection:o.direction||[1,1],parentIsWidth:(s=o==null?void 0:o.horizontal)!==null&&s!==void 0?s:!0,useSnap:a}},request:function(o){return"offsetWidth"in o?e=o.offsetWidth-i.offsetWidth:"deltaWidth"in o&&(e+=o.deltaWidth),"offsetHeight"in o?n=o.offsetHeight-i.offsetHeight:"deltaHeight"in o&&(n+=o.deltaHeight),{datas:r,parentDist:[e,n],parentKeepRatio:o.keepRatio,useSnap:a}},requestEnd:function(){return{datas:r,isDrag:!0,useSnap:a}}}},unset:function(t){t.state.gestos.resizable=null}};function kn(t,r,e,n,a){var i=t.props.groupable,o=t.state,s=o.is3d?4:3,u=r.origin,l=yt(t.state.rootMatrix,tt([u[0],u[1]],i?[0,0]:[o.left,o.top]),s),f=ct([a.left,a.top],l);r.startAbsoluteOrigin=f,r.prevDeg=xt(f,[e,n])/Math.PI*180,r.defaultDeg=r.prevDeg,r.prevSnapDeg=0,r.loop=0,r.startDist=cr(f,[e,n])}function _e(t,r,e){var n=e.defaultDeg,a=e.prevDeg,i=a%360,o=Math.floor(a/360);i<0&&(i+=360),i>t&&i>270&&t<90?++o:i270&&--o;var s=r*(o*360+t-n);return e.prevDeg=n+s,s}function Ln(t,r,e,n){return _e(xt(n.startAbsoluteOrigin,[t,r])/Math.PI*180,e,n)}function zn(t,r,e,n,a,i){var o=t.props.throttleRotate,s=o===void 0?0:o,u=e.prevSnapDeg,l=0,f=!1;if(i){var v=rg(t,r,n,a+n);f=v.isSnap,l=a+v.dist}f||(l=nt(a+n,s));var c=l-a;return e.prevSnapDeg=c,[c-u,c,l]}function Bs(t,r,e){var n=B(r,4),a=n[0],i=n[1],o=n[2],s=n[3];if(t==="none")return[];if(Rt(t))return t.map(function(h){return Bs(h,[a,i,o,s],e)[0]});var u=B((t||"top").split("-"),2),l=u[0],f=u[1],v=[a,i];l==="left"?v=[o,a]:l==="right"?v=[i,s]:l==="bottom"&&(v=[s,o]);var c=[(v[0][0]+v[1][0])/2,(v[0][1]+v[1][1])/2],d=Ws(v,e);if(f){var p=f==="top"||f==="left",g=l==="bottom"||l==="left";c=v[p&&!g||!p&&g?0:1]}return[[c,d]]}function Sa(t,r){if(r.isRequest)return r.requestAble==="rotatable";var e=r.inputEvent.target;if(Ot(e,$("rotation-control"))||t.props.rotateAroundControls&&Ot(e,$("around-control"))||Ot(e,$("control"))&&Ot(e,$("rotatable")))return!0;var n=t.props.rotationTarget;return n?ii(n,!0).some(function(a){return a?e===a||e.contains(a):!1}):!1}var Wp=".rotation {\nposition: absolute;\nheight: 40px;\nwidth: 1px;\ntransform-origin: 50% 100%;\nheight: calc(40px * var(--zoom));\ntop: auto;\nleft: 0;\nbottom: 100%;\nwill-change: transform;\n}\n.rotation .rotation-line {\ndisplay: block;\nwidth: 100%;\nheight: 100%;\ntransform-origin: 50% 50%;\n}\n.rotation .rotation-control {\nborder-color: #4af;\nborder-color: var(--moveable-color);\nbackground:#fff;\ncursor: alias;\n}\n:global .view-rotation-dragging, .rotatable.direction.control {\ncursor: alias;\n}\n.rotatable.direction.control.move {\ncursor: move;\n}\n",Yp={name:"rotatable",canPinch:!0,props:["rotatable","rotationPosition","throttleRotate","renderDirections","rotationTarget","rotateAroundControls","edge","resolveAblesWithRotatable","displayAroundControls"],events:["rotateStart","beforeRotate","rotate","rotateEnd","rotateGroupStart","beforeRotateGroup","rotateGroup","rotateGroupEnd"],css:[Wp],viewClassName:function(t){return t.isDragging("rotatable")?$("view-rotation-dragging"):""},render:function(t,r){var e=kr(t.props,"rotatable"),n=e.rotatable,a=e.rotationPosition,i=e.zoom,o=e.renderDirections,s=e.rotateAroundControls,u=e.resolveAblesWithRotatable,l=t.getState(),f=l.renderPoses,v=l.direction;if(!n)return null;var c=Bs(a,f,v),d=[];if(c.forEach(function(A,m){var S=B(A,2),C=S[0],y=S[1];d.push(r.createElement("div",{key:"rotation".concat(m),className:$("rotation"),style:{transform:"translate(-50%) translate(".concat(C[0],"px, ").concat(C[1],"px) rotate(").concat(y,"rad)")}},r.createElement("div",{className:$("line rotation-line"),style:{transform:"scaleX(".concat(i,")")}}),r.createElement("div",{className:$("control rotation-control"),style:{transform:"translate(0.5px) scale(".concat(i,")")}})))}),o){var p=pr(u||{}),g={};p.forEach(function(A){u[A].forEach(function(m){g[m]=A})});var h=[];Rt(o)&&(h=o.map(function(A){var m=g[A];return{data:m?{resolve:m}:{},classNames:m?["move"]:[],dir:A}})),d.push.apply(d,W([],B(As(t,"rotatable",h,r)),!1))}return s&&d.push.apply(d,W([],B(ys(t,r)),!1)),d},dragControlCondition:Sa,dragControlStart:function(t,r){var e,n,a=r.datas,i=r.clientX,o=r.clientY,s=r.parentRotate,u=r.parentFlag,l=r.isPinch,f=r.isRequest,v=t.state,c=v.target,d=v.left,p=v.top,g=v.direction,h=v.beforeDirection,A=v.targetTransform,m=v.moveableClientRect,S=v.offsetMatrix,C=v.targetMatrix,y=v.allMatrix,E=v.width,b=v.height;if(!f&&!c)return!1;var x=t.getRect();a.rect=x,a.transform=A,a.left=d,a.top=p;var D=function(K){var Y=Rs(t.state,K);a.fixedDirection=Y.fixedDirection,a.fixedOffset=Y.fixedOffset,a.fixedPosition=Y.fixedPosition,z&&z.setFixedPosition(K)},T=function(K){var Y=Hp(t.state,K);a.fixedDirection=Y.fixedDirection,a.fixedOffset=Y.fixedOffset,a.fixedPosition=Y.fixedPosition,z&&z.setFixedDirection(K)},R=i,M=o;if(f||l||u){var w=s||0;a.beforeInfo={origin:x.beforeOrigin,prevDeg:w,defaultDeg:w,prevSnapDeg:0,startDist:0},a.afterInfo=I(I({},a.beforeInfo),{origin:x.origin}),a.absoluteInfo=I(I({},a.beforeInfo),{origin:x.origin,startValue:w})}else{var O=(n=r.inputEvent)===null||n===void 0?void 0:n.target;if(O){var G=O.getAttribute("data-direction")||"",N=jd[G];if(N){a.isControl=!0,a.isAroundControl=Ot(O,$("around-control")),a.controlDirection=N;var k=O.getAttribute("data-resolve");k&&(a.resolveAble=k);var F=Ag(v.rootMatrix,v.renderPoses,m);e=B(Pt(F,N),2),R=e[0],M=e[1]}}a.beforeInfo={origin:x.beforeOrigin},a.afterInfo={origin:x.origin},a.absoluteInfo={origin:x.origin,startValue:x.rotation};var U=D;D=function(K){var Y=v.is3d?4:3,Z=B(ct(jo(C,Y),K),2),rt=Z[0],ft=Z[1],et=Nt(S,Gr([rt,ft],Y)),_=Nt(y,Gr([K[0],K[1]],Y));U(K);var J=v.posDelta;a.beforeInfo.origin=tt(et,J),a.afterInfo.origin=tt(_,J),a.absoluteInfo.origin=tt(_,J),kn(t,a.beforeInfo,R,M,m),kn(t,a.afterInfo,R,M,m),kn(t,a.absoluteInfo,R,M,m)},T=function(K){var Y=Pt([[0,0],[E,0],[0,b],[E,b]],K);D(Y)}}a.startClientX=R,a.startClientY=M,a.direction=g,a.beforeDirection=h,a.startValue=0,a.datas={},Cn(r,"rotate");var H=!1,z=!1;if(a.isControl&&a.resolveAble){var V=a.resolveAble;V==="resizable"&&(z=ma.dragControlStart(t,I(I({},new qr("resizable").dragStart([0,0],r)),{parentPosition:a.controlPosition,parentFixedPosition:a.fixedPosition})))}z||(H=zt.dragStart(t,new qr().dragStart([0,0],r))),D(mg(t));var j=ot(t,r,I(I({set:function(K){a.startValue=K*Math.PI/180},setFixedDirection:T,setFixedPosition:D},Sn(r)),{dragStart:H,resizeStart:z})),q=X(t,"onRotateStart",j);return a.isRotate=q!==!1,v.snapRenderInfo={request:r.isRequest},a.isRotate?j:!1},dragControl:function(t,r){var e,n,a,i=r.datas,o=r.clientDistX,s=r.clientDistY,u=r.parentRotate,l=r.parentFlag,f=r.isPinch,v=r.groupDelta,c=r.resolveMatrix,d=i.beforeDirection,p=i.beforeInfo,g=i.afterInfo,h=i.absoluteInfo,A=i.isRotate,m=i.startValue,S=i.rect,C=i.startClientX,y=i.startClientY;if(A){An(r,"rotate");var E=_d(r),b=d*E,x=t.props.parentMoveable,D=0,T,R,M=0,w,O,G=0,N,k,F=180/Math.PI*m,U=h.startValue,H=!1,z=C+o,V=y+s;if(!l&&"parentDist"in r){var j=r.parentDist;T=j,w=j,N=j}else f||l?(T=_e(u,d,p),w=_e(u,b,g),N=_e(u,b,h)):(T=Ln(z,V,d,p),w=Ln(z,V,b,g),N=Ln(z,V,b,h),H=!0);if(R=F+T,O=F+w,k=U+N,X(t,"onBeforeRotate",ot(t,r,{beforeRotation:R,rotation:O,absoluteRotation:k,setRotation:function(dt){w=dt-F,T=w,N=w}},!0)),e=B(zn(t,S,p,T,F,H),3),D=e[0],T=e[1],R=e[2],n=B(zn(t,S,g,w,F,H),3),M=n[0],w=n[1],O=n[2],a=B(zn(t,S,h,N,U,H),3),G=a[0],N=a[1],k=a[2],!(!G&&!M&&!D&&!x&&!c)){var q=mn(i,"rotate(".concat(O,"deg)"),"rotate(".concat(w,"deg)"));c&&(i.fixedPosition=Ka(t,i.targetAllTransform,i.fixedDirection,i.fixedOffset,i));var K=up(t,w,i),Y=tt(ct(v||[0,0],K),i.prevInverseDist||[0,0]);i.prevInverseDist=K,i.requestValue=null;var Z=ps(t,q,Y,f,r),rt=Z,ft=cr([z,V],h.startAbsoluteOrigin)-h.startDist,et=void 0;if(i.resolveAble==="resizable"){var _=ma.dragControl(t,I(I({},Oe(r,t.state,[r.deltaX,r.deltaY],!!f,!1,"resizable")),{resolveMatrix:!0,parentDistance:ft}));_&&(et=_,rt=Qs(rt,_,r))}var J=ot(t,r,I(I({delta:M,dist:w,rotate:O,rotation:O,beforeDist:T,beforeDelta:D,beforeRotate:R,beforeRotation:R,absoluteDist:N,absoluteDelta:G,absoluteRotate:k,absoluteRotation:k,isPinch:!!f,resize:et},Z),rt));return X(t,"onRotate",J),J}}},dragControlEnd:function(t,r){var e=r.datas;if(e.isRotate){e.isRotate=!1;var n=Vt(t,r,{});return X(t,"onRotateEnd",n),n}},dragGroupControlCondition:Sa,dragGroupControlStart:function(t,r){var e=r.datas,n=t.state,a=n.left,i=n.top,o=n.beforeOrigin,s=this.dragControlStart(t,r);if(!s)return!1;s.set(e.beforeDirection*t.rotation);var u=vr(t,this,"dragControlStart",r,function(v,c){var d=v.state,p=d.left,g=d.top,h=d.beforeOrigin,A=ct(tt([p,g],[a,i]),tt(h,o));return c.datas.startGroupClient=A,c.datas.groupClient=A,I(I({},c),{parentRotate:0})}),l=I(I({},s),{targets:t.props.targets,events:u}),f=X(t,"onRotateGroupStart",l);return e.isRotate=f!==!1,e.isRotate?s:!1},dragGroupControl:function(t,r){var e=r.datas;if(e.isRotate){wn(t,"onBeforeRotate",function(l){X(t,"onBeforeRotateGroup",ot(t,r,I(I({},l),{targets:t.props.targets}),!0))});var n=this.dragControl(t,r);if(n){var a=e.beforeDirection,i=n.beforeDist,o=i/180*Math.PI,s=vr(t,this,"dragControl",r,function(l,f){var v=f.datas.startGroupClient,c=B(f.datas.groupClient,2),d=c[0],p=c[1],g=B(Ie(v,o*a),2),h=g[0],A=g[1],m=[h-d,A-p];return f.datas.groupClient=[h,A],I(I({},f),{parentRotate:i,groupDelta:m})});t.rotation=a*n.beforeRotation;var u=I({targets:t.props.targets,events:s,set:function(l){t.rotation=l},setGroupRotation:function(l){t.rotation=l}},n);return X(t,"onRotateGroup",u),u}}},dragGroupControlEnd:function(t,r){var e=r.isDrag,n=r.datas;if(n.isRotate){this.dragControlEnd(t,r);var a=vr(t,this,"dragControlEnd",r),i=Vt(t,r,{targets:t.props.targets,events:a});return X(t,"onRotateGroupEnd",i),e}},request:function(t){var r={},e=0,n=t.getRotation();return{isControl:!0,requestStart:function(){return{datas:r}},request:function(a){return"deltaRotate"in a?e+=a.deltaRotate:"rotate"in a&&(e=a.rotate-n),{datas:r,parentDist:e}},requestEnd:function(){return{datas:r,isDrag:!0}}}}};function Xp(t,r){var e,n=t.direction,a=t.classNames,i=t.size,o=t.pos,s=t.zoom,u=t.key,l=n==="horizontal",f=l?"Y":"X";return r.createElement("div",{key:u,className:a.join(" "),style:(e={},e[l?"width":"height"]="".concat(i),e.transform="translate(".concat(o[0],", ").concat(o[1],") translate").concat(f,"(-50%) scale").concat(f,"(").concat(s,")"),e)})}function $a(t,r){return Xp(I(I({},t),{classNames:W([$("line","guideline",t.direction)],B(t.classNames),!1).filter(function(e){return e}),size:t.size||"".concat(t.sizeValue,"px"),pos:t.pos||t.posValue.map(function(e){return"".concat(nt(e,.1),"px")})}),r)}function Qi(t,r,e,n,a,i,o,s){var u=t.props.zoom;return e.map(function(l,f){var v=l.type,c=l.pos,d=[0,0];return d[o]=n,d[o?0:1]=-a+c,$a({key:"".concat(r,"TargetGuideline").concat(f),classNames:[$("target","bold",v)],posValue:d,sizeValue:i,zoom:u,direction:r},s)})}function Ki(t,r,e,n,a,i){var o=t.props,s=o.zoom,u=o.isDisplayInnerSnapDigit,l=r==="horizontal"?wr:Dr,f=a[l.start],v=a[l.end];return e.filter(function(c){var d=c.hide,p=c.elementRect;if(d)return!1;if(u&&p){var g=p.rect;if(g[l.start]<=f&&v<=g[l.end])return!1}return!0}).map(function(c,d){var p=c.pos,g=c.size,h=c.element,A=c.className,m=[-n[0]+p[0],-n[1]+p[1]];return $a({key:"".concat(r,"-default-guideline-").concat(d),classNames:h?[$("bold"),A]:[$("normal"),A],direction:r,posValue:m,sizeValue:g,zoom:s},i)})}function le(t,r,e,n,a,i,o,s){var u,l=t.props,f=l.snapDigit,v=f===void 0?0:f,c=l.isDisplaySnapDigit,d=c===void 0?!0:c,p=l.snapDistFormat,g=p===void 0?function(y,E){return y}:p,h=l.zoom,A=r==="horizontal"?"X":"Y",m=r==="vertical"?"height":"width",S=Math.abs(a),C=d?parseFloat(S.toFixed(v)):0;return s.createElement("div",{key:"".concat(r,"-").concat(e,"-guideline-").concat(n),className:$("guideline-group",r),style:(u={left:"".concat(i[0],"px"),top:"".concat(i[1],"px")},u[m]="".concat(S,"px"),u)},$a({direction:r,classNames:[$(e),o],size:"100%",posValue:[0,0],sizeValue:S,zoom:h},s),s.createElement("div",{className:$("size-value","gap"),style:{transform:"translate".concat(A,"(-50%) scale(").concat(h,")")}},C>0?g(C,r):""))}function Vp(t,r,e,n){var a=t==="vertical"?0:1,i=t==="vertical"?1:0,o=a?wr:Dr,s=e[o.start],u=e[o.end];return Ks(r,function(l){return l.pos[a]}).map(function(l){var f=[],v=[],c=[];return l.forEach(function(d){var p,g,h=d.element,A=d.elementRect.rect;if(A[o.end]0){var T=[0,0];T[l]=e[l]+E[c.start]-p-D,T[f]=y,o.push(le(t,s,"dashed",o.length,D,T,b.className,a))}E=x}),E=n,S.forEach(function(b){var x=b.elementRect.rect,D=x[c.start]-E[c.end];if(D>0){var T=[0,0];T[l]=e[l]+E[c.end]-p,T[f]=y,o.push(le(t,s,"dashed",o.length,D,T,b.className,a))}E=x}),C.forEach(function(b){var x=b.elementRect.rect,D=p-x[c.start],T=x[c.end]-g,R=[0,0],M=[0,0];R[l]=e[l]-D,R[f]=y,M[l]=e[l]+g-p,M[f]=y,o.push(le(t,s,"dashed",o.length,D,R,b.className,a)),o.push(le(t,s,"dashed",o.length,T,M,b.className,a))})})}),o}function Kp(t,r,e,n,a){var i=[];return["horizontal","vertical"].forEach(function(o){var s=r.filter(function(h){return h.type===o}).slice(0,1),u=o==="vertical"?0:1,l=u?0:1,f=u?Dr:wr,v=u?wr:Dr,c=n[f.start],d=n[f.end],p=n[v.start],g=n[v.end];s.forEach(function(h){var A=h.gap,m=h.gapRects,S=Math.max.apply(Math,W([p],B(m.map(function(E){var b=E.rect;return b[v.start]})),!1)),C=Math.min.apply(Math,W([g],B(m.map(function(E){var b=E.rect;return b[v.end]})),!1)),y=(S+C)/2;S===C||y===(p+g)/2||m.forEach(function(E){var b=E.rect,x=E.className,D=[e[0],e[1]];if(b[f.end]S||x[p.end]0}).sort(function(b,x){return C(b)-C(x)}),E=[];y.forEach(function(b){y.forEach(function(x){if(b!==x){var D=b.rect,T=x.rect,R=D[p.start],M=D[p.end],w=T[p.start],O=T[p.end];R>O||w>M||E.push([b,x])}})}),E.forEach(function(b){var x=B(b,2),D=x[0],T=x[1],R=D.rect,M=T.rect,w=R[d.start],O=R[d.end],G=M[d.start],N=M[d.end],k=0,F=0,U=!1,H=!1,z=!1;if(O<=g&&h<=G){if(H=!0,k=(G-O-(h-g))/2,F=O+k+(h-g)/2,L(F-A)>e)return}else if(Oe)return}else if(Oe)return}else return;k&&Ts(r,M,c,i)&&(k>s||l.push({type:c,pos:c==="vertical"?[F,0]:[0,F],element:T.element,size:0,className:T.className,isStart:U,isCenter:H,isEnd:z,gap:k,hide:!0,gapRects:[D,T],direction:""}))})}),l}function Jp(t,r,e,n,a,i,o,s){a===void 0&&(a=0),i===void 0&&(i=0);var u=[],l=o.left,f=o.top;if(r)for(var v=0;v<=n;v+=r)u.push({type:"horizontal",pos:[l,nt(v-i+f,.1)],className:$("grid-guideline"),size:e,hide:!s,direction:""});if(t)for(var v=0;v<=e;v+=t)u.push({type:"vertical",pos:[nt(v-a+l,.1),f],className:$("grid-guideline"),size:n,hide:!s,direction:""});return u}function Ts(t,r,e,n){return e==="horizontal"?L(t.right-r.left)<=n||L(t.left-r.right)<=n||t.left<=r.right&&r.left<=t.right:e==="vertical"?L(t.bottom-r.top)<=n||L(t.top-r.bottom)<=n||t.top<=r.bottom&&r.top<=t.bottom:!0}function jp(t){var r=t.state,e=t.props.elementGuidelines,n=e===void 0?[]:e;if(!n.length)return r.elementRects=[],[];var a=(r.elementRects||[]).filter(function(c){return!c.refresh}),i=n.map(function(c){return nr(c)&&"element"in c?I(I({},c),{element:or(c.element,!0)}):{element:or(c,!0)}}).filter(function(c){return c.element}),o=ud(a.map(function(c){return c.element}),i.map(function(c){return c.element})),s=o.maintained,u=o.added,l=[];s.forEach(function(c){var d=B(c,2),p=d[0],g=d[1];l[g]=a[p]}),_p(t,u.map(function(c){return i[c]})).map(function(c,d){l[u[d]]=c}),r.elementRects=l;var f=Ja(t.props.elementSnapDirections),v=[];return l.forEach(function(c){var d=c.element,p=c.top,g=p===void 0?f.top:p,h=c.left,A=h===void 0?f.left:h,m=c.right,S=m===void 0?f.right:m,C=c.bottom,y=C===void 0?f.bottom:C,E=c.center,b=E===void 0?f.center:E,x=c.middle,D=x===void 0?f.middle:x,T=c.className,R=c.rect,M=ja({top:g,right:S,left:A,bottom:y,center:b,middle:D},R),w=M.horizontal,O=M.vertical,G=R.top,N=R.left,k=R.right-N,F=R.bottom-G,U=[k,F];O.forEach(function(H){v.push({type:"vertical",element:d,pos:[nt(H,.1),G],size:F,sizes:U,className:T,elementRect:c,direction:""})}),w.forEach(function(H){v.push({type:"horizontal",element:d,pos:[N,nt(H,.1)],size:k,sizes:U,className:T,elementRect:c,direction:""})})}),v}function qi(t,r){return t?t.map(function(e){var n=nr(e)?e:{pos:e},a=n.pos;return Qr(a)?n:I(I({},n),{pos:gt(a,r)})}):[]}function Os(t,r,e,n,a,i,o){a===void 0&&(a=0),i===void 0&&(i=0),o===void 0&&(o={left:0,top:0,right:0,bottom:0});var s=[],u=o.left,l=o.top,f=o.bottom,v=o.right,c=e+v-u,d=n+f-l;return qi(t,d).forEach(function(p){s.push({type:"horizontal",pos:[u,nt(p.pos-i+l,.1)],size:c,className:p.className,direction:""})}),qi(r,c).forEach(function(p){s.push({type:"vertical",pos:[nt(p.pos-a+u,.1),l],size:d,className:p.className,direction:""})}),s}function _p(t,r){if(!r.length)return[];var e=t.props.groupable,n=t.state,a=n.containerClientRect,i=n.rootMatrix,o=n.is3d,s=n.offsetDelta,u=o?4:3,l=B(yp(i,a,u),2),f=l[0],v=l[1],c=e?0:s[0],d=e?0:s[1];return r.map(function(p){var g=p.element.getBoundingClientRect(),h=g.left-f-c,A=g.top-v-d,m=A+g.height,S=h+g.width,C=B(_r(i,[h,A],u),2),y=C[0],E=C[1],b=B(_r(i,[S,m],u),2),x=b[0],D=b[1];return I(I({},p),{rect:{left:y,right:x,top:E,bottom:D,center:(y+x)/2,middle:(E+D)/2}})})}function We(t){var r=t.state,e=r.container,n=t.props.snapContainer||e;if(r.snapContainer===n&&r.guidelines&&r.guidelines.length)return!1;var a=r.containerClientRect,i={left:0,top:0,bottom:0,right:0};if(e!==n){var o=or(n,!0);if(o){var s=ge(o),u=$i(r,[s.left-a.left,s.top-a.top]),l=$i(r,[s.right-a.right,s.bottom-a.bottom]);i.left=nt(u[0],1e-5),i.top=nt(u[1],1e-5),i.right=nt(l[0],1e-5),i.bottom=nt(l[1],1e-5)}}return r.snapContainer=n,r.snapOffset=i,r.guidelines=Ca(t),r.enableSnap=!0,!0}function Ps(t,r,e,n,a,i){var o=zr(t,r,e,i?4:3),s=Pt(o,n);return ri(o,tt(a,s))}function Ji(t){return t?t/L(t):0}function Zp(t,r,e,n,a,i){var o=i.fixedDirection,s=Dp(e,o,n),u=Za(t,r,e,n),l=W(W([],B(Lp(t,r,s,n,a,i)),!1),B(Ms(t,u,i)),!1),f=on(l,0),v=on(l,1);return{width:{isBound:f.isBound,offset:f.offset[0]},height:{isBound:v.isBound,offset:v.offset[1]}}}function $p(t,r,e,n,a,i,o,s,u){var l=Pt(r,o),f=bn(t,s,{vertical:[l[0]],horizontal:[l[1]]}),v=f.horizontal.offset,c=f.vertical.offset;if(nt(c,da)||nt(v,da)){var d=B(lr({datas:u,distX:-c,distY:-v}),2),p=d[0],g=d[1],h=Math.min(a||1/0,e+o[0]*p),A=Math.min(i||1/0,n+o[1]*g);return[h-e,A-n]}return[0,0]}function Gs(t,r,e,n,a,i,o,s){for(var u=_t(t.state),l=t.props.keepRatio,f=0,v=0,c=0;c<2;++c){var d=r(f,v),p=Zp(t,d,a,l,o,s),g=p.width,h=p.height,A=g.isBound,m=h.isBound,S=g.offset,C=h.offset;if(c===1&&(A||(S=0),m||(C=0)),c===0&&o&&!A&&!m)return[0,0];if(l){var y=L(S)*(e?1/e:1),E=L(C)*(n?1/n:1),b=A&&m?y0;if(A)return{isSnap:A,dist:A?h[0]:e}}if(s!=null&&s.length&&o){var m=s.slice().sort(function(C,y){return Un(C,n)-Un(y,n)}),S=m[0];if(Un(S,n)<=o)return{isSnap:!0,dist:e+tg(n,S)-n}}return{isSnap:!1,dist:e}}function eg(t,r,e,n,a,i,o){if(!ie(t,"resizable"))return[0,0];var s=o.fixedDirection,u=o.nextAllMatrix,l=t.state,f=l.allMatrix,v=l.is3d;return Gs(t,function(c,d){return Ps(u||f,r+c,e+d,s,a,v)},r,e,n,a,i,o)}function ng(t,r,e,n,a){if(!ie(t,"scalable"))return[0,0];var i=a.startOffsetWidth,o=a.startOffsetHeight,s=a.fixedPosition,u=a.fixedDirection,l=a.is3d,f=Gs(t,function(v,c){return Ps(ap(a,ct(r,[v/i,c/o])),i,o,u,s,l)},i,o,e,s,n,a);return[f[0]/i,f[1]/o]}function ag(t,r){r.absolutePoses=_t(t.state)}function ji(t){var r=[];return t.forEach(function(e){e.guidelineInfos.forEach(function(n){var a=n.guideline;Jt(r,function(i){return i.guideline===a})||(a.direction="",r.push({guideline:a,posInfo:e}))})}),r.map(function(e){var n=e.guideline,a=e.posInfo;return I(I({},n),{direction:a.direction})})}function _i(t,r,e,n,a,i){var o=qa(En(t,i),r,e),s=o.vertical,u=o.horizontal;s.forEach(function(c){c.isBound&&n.push({type:"bounds",pos:c.pos})}),u.forEach(function(c){c.isBound&&a.push({type:"bounds",pos:c.pos})});var l=Pp(t),f=l.vertical,v=l.horizontal;f.forEach(function(c){dr(n,function(d){var p=d.type,g=d.pos;return p==="bounds"&&g===c})>=0||n.push({type:"bounds",pos:c})}),v.forEach(function(c){dr(a,function(d){var p=d.type,g=d.pos;return p==="bounds"&&g===c})>=0||a.push({type:"bounds",pos:c})})}var ig=ai("",["resizable","scalable"]),Fs="snapRotationThreshold",Ns="snapRotationDegrees",og={name:"snappable",dragRelation:"strong",props:["snappable","snapContainer","snapDirections","elementSnapDirections","snapGap","snapGridWidth","snapGridHeight","isDisplaySnapDigit","isDisplayInnerSnapDigit","isDisplayGridGuidelines","snapDigit","snapThreshold","snapRenderThreshold",Fs,Ns,"horizontalGuidelines","verticalGuidelines","elementGuidelines","bounds","innerBounds","snapDistFormat","maxSnapElementGuidelineDistance","maxSnapElementGapDistance"],events:["snap"],css:[":host {\n--bounds-color: #d66;\n}\n.guideline {\npointer-events: none;\nz-index: 2;\n}\n.guideline.bounds {\nbackground: #d66;\nbackground: var(--bounds-color);\n}\n.guideline-group {\nposition: absolute;\ntop: 0;\nleft: 0;\n}\n.guideline-group .size-value {\nposition: absolute;\ncolor: #f55;\nfont-size: 12px;\nfont-size: calc(12px * var(--zoom));\nfont-weight: bold;\n}\n.guideline-group.horizontal .size-value {\ntransform-origin: 50% 100%;\ntransform: translateX(-50%);\nleft: 50%;\nbottom: 5px;\nbottom: calc(2px + 3px * var(--zoom));\n}\n.guideline-group.vertical .size-value {\ntransform-origin: 0% 50%;\ntop: 50%;\ntransform: translateY(-50%);\nleft: 5px;\nleft: calc(2px + 3px * var(--zoom));\n}\n.guideline.gap {\nbackground: #f55;\n}\n.size-value.gap {\ncolor: #f55;\n}\n"],render:function(t,r){var e=t.state,n=e.top,a=e.left,i=e.pos1,o=e.pos2,s=e.pos3,u=e.pos4,l=e.snapRenderInfo,f=t.props.snapRenderThreshold,v=f===void 0?1:f;if(!l||!l.render||!ie(t,""))return[];e.guidelines=Ca(t);var c=Math.min(i[0],o[0],s[0],u[0]),d=Math.min(i[1],o[1],s[1],u[1]),p=l.externalPoses||[],g=_t(t.state),h=[],A=[],m=[],S=[],C=[],y=qt(g),E=y.width,b=y.height,x=y.top,D=y.left,T=y.bottom,R=y.right,M={left:D,right:R,top:x,bottom:T,center:(D+R)/2,middle:(x+T)/2},w=p.length>0,O=w?qt(p):{};if(!l.request){if(l.direction&&C.push(wp(t,g,l.direction,v)),l.snap){var G=qt(g);l.center&&(G.middle=(G.top+G.bottom)/2,G.center=(G.left+G.right)/2),C.push(zi(t,G,v))}w&&(l.center&&(O.middle=(O.top+O.bottom)/2,O.center=(O.left+O.right)/2),C.push(zi(t,O,v))),C.forEach(function(U){var H=U.vertical.posInfos,z=U.horizontal.posInfos;h.push.apply(h,W([],B(H.filter(function(V){var j=V.guidelineInfos;return j.some(function(q){var K=q.guideline;return!K.hide})}).map(function(V){return{type:"snap",pos:V.pos}})),!1)),A.push.apply(A,W([],B(z.filter(function(V){var j=V.guidelineInfos;return j.some(function(q){var K=q.guideline;return!K.hide})}).map(function(V){return{type:"snap",pos:V.pos}})),!1)),m.push.apply(m,W([],B(ji(H)),!1)),S.push.apply(S,W([],B(ji(z)),!1))})}_i(t,[D,R],[x,T],h,A),w&&_i(t,[O.left,O.right],[O.top,O.bottom],h,A,l.externalBounds);var N=W(W([],B(m),!1),B(S),!1),k=N.filter(function(U){return U.element&&!U.gapRects}),F=N.filter(function(U){return U.gapRects}).sort(function(U,H){return U.gap-H.gap});return X(t,"onSnap",{guidelines:N.filter(function(U){var H=U.element;return!H}),elements:k,gaps:F},!0),W(W(W(W(W(W([],B(Qp(t,k,[c,d],M,r)),!1),B(Kp(t,F,[c,d],M,r)),!1),B(Ki(t,"horizontal",S,[a,n],M,r)),!1),B(Ki(t,"vertical",m,[a,n],M,r)),!1),B(Qi(t,"horizontal",A,c,n,E,0,r)),!1),B(Qi(t,"vertical",h,d,a,b,1,r)),!1)},dragStart:function(t,r){t.state.snapRenderInfo={request:r.isRequest,snap:!0,center:!0},We(t)},drag:function(t){var r=t.state;We(t)||(r.guidelines=Ca(t)),r.snapRenderInfo&&(r.snapRenderInfo.render=!0)},pinchStart:function(t){this.unset(t)},dragEnd:function(t){this.unset(t)},dragControlCondition:function(t,r){if(ig(t,r)||Sa(t,r))return!0;if(!r.isRequest&&r.inputEvent)return Ot(r.inputEvent.target,$("snap-control"))},dragControlStart:function(t){t.state.snapRenderInfo=null,We(t)},dragControl:function(t){this.drag(t)},dragControlEnd:function(t){this.unset(t)},dragGroupStart:function(t,r){this.dragStart(t,r)},dragGroup:function(t){this.drag(t)},dragGroupEnd:function(t){this.unset(t)},dragGroupControlStart:function(t){t.state.snapRenderInfo=null,We(t)},dragGroupControl:function(t){this.drag(t)},dragGroupControlEnd:function(t){this.unset(t)},unset:function(t){var r=t.state;r.enableSnap=!1,r.guidelines=[],r.snapRenderInfo=null,r.elementRects=[]}};function sg(t,r){return[t[0]*r[0],t[1]*r[1]]}function $(){for(var t=[],r=0;r9),"".concat(r?"matrix3d":"matrix","(").concat(_o(t,!r).join(","),")")}function ti(t){var r=t.clientWidth,e=t.clientHeight;if(!t)return{x:0,y:0,width:0,height:0,clientWidth:r,clientHeight:e};var n=t.viewBox,a=n&&n.baseVal||{x:0,y:0,width:0,height:0};return{x:a.x,y:a.y,width:a.width||r,height:a.height||e,clientWidth:r,clientHeight:e}}function pg(t,r){var e,n=ti(t),a=n.width,i=n.height,o=n.clientWidth,s=n.clientHeight,u=o/a,l=s/i,f=t.preserveAspectRatio.baseVal,v=f.align,c=f.meetOrSlice,d=[0,0],p=[u,l],g=[0,0];if(v!==1){var h=(v-2)%3,A=Math.floor((v-2)/3);d[0]=a*h/2,d[1]=i*A/2;var m=c===2?Math.max(l,u):Math.min(u,l);p[0]=m,p[1]=m,g[0]=(o-a)/2*h,g[1]=(s-i)/2*A}var S=tn(p,r);return e=B(g,2),S[r*(r-1)]=e[0],S[r*(r-1)+1]=e[1],pe(S,r,d)}function gg(t,r,e){if(!t.getBBox||!e&&t.tagName.toLowerCase()==="g")return[0,0,0,0];var n=t.getBBox(),a=ti(t.ownerSVGElement),i=n.x-a.x,o=n.y-a.y;return[i,o,r[0]-i,r[1]-o]}function yt(t,r,e){return Nt(t,Gr(r,e),e)}function zr(t,r,e,n){return[[0,0],[r,0],[0,e],[r,e]].map(function(a){return yt(t,a,n)})}function qt(t){var r=t.map(function(l){return l[0]}),e=t.map(function(l){return l[1]}),n=Math.min.apply(Math,W([],B(r),!1)),a=Math.min.apply(Math,W([],B(e),!1)),i=Math.max.apply(Math,W([],B(r),!1)),o=Math.max.apply(Math,W([],B(e),!1)),s=i-n,u=o-a;return{left:n,top:a,right:i,bottom:o,width:s,height:u}}function Zi(t,r,e,n){var a=zr(t,r,e,n);return qt(a)}function hg(t,r,e,n,a){var i,o=t.target,s=t.origin,u=r.matrix,l=Hs(o),f=l.offsetWidth,v=l.offsetHeight,c=e.getBoundingClientRect(),d=[0,0];e===Mr(e)&&(d=zs(o,!0));for(var p=o.getBoundingClientRect(),g=p.left-c.left+e.scrollLeft-(e.clientLeft||0)+d[0],h=p.top-c.top+e.scrollTop-(e.clientTop||0)+d[1],A=p.width,m=p.height,S=$e(n,a,u),C=Zi(S,f,v,n),y=C.left,E=C.top,b=C.width,x=C.height,D=yt(S,s,n),T=tt(D,[y,E]),R=[g+T[0]*A/b,h+T[1]*m/x],M=[0,0],w=0;++w<10;){var O=sr(a,n);i=B(tt(yt(O,R,n),yt(O,D,n)),2),M[0]=i[0],M[1]=i[1];var G=$e(n,a,Fr(M,n),u),N=Zi(G,f,v,n),k=N.left,F=N.top,U=k-g,H=F-h;if(L(U)<2&&L(H)<2)break;R[0]-=U,R[1]-=H}return M.map(function(z){return Math.round(z)})}function Ag(t,r,e){var n=t.length===16,a=n?4:3,i=r.map(function(u){return yt(t,u,a)}),o=e.left,s=e.top;return i.map(function(u){return[u[0]+o,u[1]+s]})}function jt(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function Us(t,r){return jt([r[0]-t[0],r[1]-t[1]])}function fe(t,r,e,n){e===void 0&&(e=1),n===void 0&&(n=xt(t,r));var a=Us(t,r);return{transform:"translateY(-50%) translate(".concat(t[0],"px, ").concat(t[1],"px) rotate(").concat(n,"rad) scaleY(").concat(e,")"),width:"".concat(a,"px")}}function ln(t,r){for(var e=[],n=2;n0?t[0]:t[1],r>0?t[1]:t[0])}function Ye(){return{left:0,top:0,width:0,height:0,right:0,bottom:0,clientLeft:0,clientTop:0,clientWidth:0,clientHeight:0,scrollWidth:0,scrollHeight:0}}function Ys(t,r){var e=t===Mr(t)||t===Ga(t),n={clientLeft:t.clientLeft,clientTop:t.clientTop,clientWidth:t.clientWidth,clientHeight:t.clientHeight,scrollWidth:t.scrollWidth,scrollHeight:t.scrollHeight,overflow:!1};return e&&(n.clientHeight=Math.max(r.height,n.clientHeight),n.scrollHeight=Math.max(r.height,n.scrollHeight)),n.overflow=Xt(t)("overflow")!=="visible",I(I({},r),n)}function Hn(t,r,e,n){var a=t.left,i=t.right,o=t.top,s=t.bottom,u=r.top,l=r.left,f={left:l+a,top:u+o,right:l+i,bottom:u+s,width:i-a,height:s-o};return e&&n?Ys(e,f):f}function ge(t,r){var e=0,n=0,a=0,i=0;if(t){var o=t.getBoundingClientRect();e=o.left,n=o.top,a=o.width,i=o.height}var s={left:e,top:n,width:a,height:i,right:e+a,bottom:n+i};return t&&r?Ys(t,s):s}function mg(t){var r=t.props,e=r.groupable,n=r.svgOrigin,a=t.getState(),i=a.offsetWidth,o=a.offsetHeight,s=a.svg,u=a.transformOrigin;return!e&&s&&n?oi(n,i,o):u}function Xs(t,r,e,n){var a;if(t)a=t;else if(r)a=[0,0];else{var i=e.target;a=Vs(i,n)}return a}function Vs(t,r){if(t){var e=t.getAttribute("data-rotation")||"",n=t.getAttribute("data-direction");if(r.deg=e,!!n){var a=[0,0];return n.indexOf("w")>-1&&(a[0]=-1),n.indexOf("e")>-1&&(a[0]=1),n.indexOf("n")>-1&&(a[1]=-1),n.indexOf("s")>-1&&(a[1]=1),a}}}function ri(t,r){return[ct(r,t[0]),ct(r,t[1]),ct(r,t[2]),ct(r,t[3])]}function _t(t){var r=t.left,e=t.top,n=t.pos1,a=t.pos2,i=t.pos3,o=t.pos4;return ri([n,a,i,o],[r,e])}function ya(t,r){t[r?"controlAbles":"targetAbles"].forEach(function(e){e.unset&&e.unset(t)})}function Xr(t,r){var e=r?"controlGesto":"targetGesto",n=t[e];(n==null?void 0:n.isIdle())===!1&&ya(t,r),n==null||n.unset(),t[e]=null}function Ut(t,r){if(r){var e=ae(r);e.nextStyle=I(I({},e.nextStyle),t)}return{style:t,cssText:pr(t).map(function(n){return"".concat(je(n,"-"),": ").concat(t[n],";")}).join("")}}function Qs(t,r,e){var n=r.afterTransform||r.transform;return I(I({},Ut(I(I(I({},t.style),r.style),{transform:n}),e)),{afterTransform:n,transform:t.transform})}function ot(t,r,e,n){var a=r.datas;a.datas||(a.datas={});var i=I(I({},e),{target:t.state.target,clientX:r.clientX,clientY:r.clientY,inputEvent:r.inputEvent,currentTarget:t,moveable:t,datas:a.datas,isFirstDrag:!!r.isFirstDrag,isTrusted:r.isTrusted!==!1,stopAble:function(){a.isEventStart=!1},stopDrag:function(){var o;(o=r.stop)===null||o===void 0||o.call(r)}});return a.isStartEvent?n||(a.lastEvent=i):a.isStartEvent=!0,i}function Vt(t,r,e){var n=r.datas,a="isDrag"in e?e.isDrag:r.isDrag;return n.datas||(n.datas={}),I(I({isDrag:a},e),{moveable:t,target:t.state.target,clientX:r.clientX,clientY:r.clientY,inputEvent:r.inputEvent,currentTarget:t,lastEvent:n.lastEvent,isDouble:r.isDouble,datas:n.datas,isFirstDrag:!!r.isFirstDrag})}function wn(t,r,e){t._emitter.on(r,e)}function X(t,r,e,n){return t.triggerEvent(r,e,n)}function ei(t,r){return br(t).getComputedStyle(t,r)}function Xe(t,r,e){var n={},a={};return t.filter(function(i){var o=i.name;if(n[o]||!r.some(function(s){return i[s]}))return!1;if(!e&&i.ableGroup){if(a[i.ableGroup])return!1;a[i.ableGroup]=!0}return n[o]=!0,!0})}function ba(t,r){return t===r||t==null&&r==null}function Sg(){for(var t=[],r=0;r=0?n:180-n,n=n>=0?n:360+n,n}function $i(t,r){var e=t.rootMatrix,n=t.is3d,a=n?4:3,i=sr(e,a);return n||(i=ar(i,3,4)),i[12]=0,i[13]=0,i[14]=0,id(i,r)}function js(t,r,e,n,a){var i=B(t,2),o=i[0],s=i[1],u=0,l=0;if(a&&o&&s){var f=xt([0,0],r),v=xt([0,0],n),c=jt(r),d=Math.cos(f-v)*c;if(!n[0])l=d,u=l*e;else if(!n[1])u=d,l=u/e;else{var p=n[0]*o,g=n[1]*s,h=Math.atan2(p+r[0],g+r[1]),A=Math.atan2(p,g);h<0&&(h+=Math.PI*2),A<0&&(A+=Math.PI*2);var m=0;L(h-A)Math.PI/2*3||(A+=Math.PI),m=h-A,m>Math.PI*2?m-=Math.PI*2:m>Math.PI?m=2*Math.PI-m:m<-Math.PI&&(m=-2*Math.PI-m);var S=jt([p+r[0],g+r[1]])*Math.cos(m);u=S*Math.sin(A)-p,l=S*Math.cos(A)-g,n[0]<0&&(u*=-1),n[1]<0&&(l*=-1)}}else u=n[0]*r[0],l=n[1]*r[1];return[u,l]}function _s(t,r,e,n){var a,i=e.ratio,o=e.startOffsetWidth,s=e.startOffsetHeight,u=0,l=0,f=n.distX,v=n.distY,c=n.pinchScale,d=n.parentDistance,p=n.parentDist,g=n.parentScale,h=e.fixedDirection,A=[0,1].map(function(b){return L(t[b]-h[b])}),m=[0,1].map(function(b){var x=A[b];return x!==0&&(x=2/x),x});if(p)u=p[0],l=p[1],r&&(u?l||(l=u/i):u=l*i);else if(Qr(c))u=(c-1)*o,l=(c-1)*s;else if(g)u=(g[0]-1)*o,l=(g[1]-1)*s;else if(d){var S=o*A[0],C=s*A[1],y=jt([S,C]);u=d/y*S*m[0],l=d/y*C*m[1]}else{var E=lr({datas:e,distX:f,distY:v});E=m.map(function(b,x){return E[x]*b}),a=B(js([o,s],E,i,t,r),2),u=a[0],l=a[1]}return{distWidth:u,distHeight:l}}function xa(t,r){if(r){if(t==="left")return{x:"0%",y:"50%"};if(t==="top")return{x:"50%",y:"50%"};if(t==="center")return{x:"50%",y:"50%"};if(t==="right")return{x:"100%",y:"50%"};if(t==="bottom")return{x:"50%",y:"100%"};var e=B(t.split(" "),2),n=e[0],a=e[1],i=xa(n||""),o=xa(a||""),s=I(I({},i),o),u={x:"50%",y:"50%"};return s.x&&(u.x=s.x),s.y&&(u.y=s.y),s.value&&(s.x&&!s.y&&(u.y=s.value),!s.x&&s.y&&(u.x=s.value)),u}return t==="left"?{x:"0%"}:t==="right"?{x:"100%"}:t==="top"?{y:"0%"}:t==="bottom"?{y:"100%"}:t?t==="center"?{value:"50%"}:{value:t}:{}}function oi(t,r,e){var n=xa(t,!0),a=n.x,i=n.y;return[gt(a,r)||0,gt(i,e)||0]}function xg(t,r,e){var n=t.map(function(i){return tt(i,r)}),a=n.map(function(i){return Ie(i,e)});return{prev:n,next:a,result:a.map(function(i){return ct(i,r)})}}function Zs(t,r){return t.length===r.length&&t.every(function(e,n){var a=r[n],i=Rt(e),o=Rt(a);return i&&o?Zs(e,a):!i&&!o?e===a:!1})}function to(t,r,e,n){var a=t[r];return r in t&&(a===e||n(a)===n(e))?a:(t[r]=e,e)}function Kt(t){return t>=0?1:-1}function L(t){return Math.abs(t)}function Wn(t,r){return Av(t).map(function(e){return r(e)})}function $s(t){return Qr(t)?{top:t,left:t,right:t,bottom:t}:{left:t.left||0,top:t.top||0,right:t.right||0,bottom:t.bottom||0}}var wg=Te("pinchable",{props:["pinchable"],events:["pinchStart","pinch","pinchEnd","pinchGroupStart","pinchGroup","pinchGroupEnd"],dragStart:function(){return!0},pinchStart:function(t,r){var e=r.datas,n=r.targets,a=r.angle,i=r.originalDatas,o=t.props,s=o.pinchable,u=o.ables;if(!s)return!1;var l="onPinch".concat(n?"Group":"","Start"),f="drag".concat(n?"Group":"","ControlStart"),v=(s===!0?t.controlAbles:u.filter(function(g){return s.indexOf(g.name)>-1})).filter(function(g){return g.canPinch&&g[f]}),c=ot(t,r,{});n&&(c.targets=n);var d=X(t,l,c);e.isPinch=d!==!1,e.ables=v;var p=e.isPinch;return p?(v.forEach(function(g){if(i[g.name]=i[g.name]||{},!!g[f]){var h=I(I({},r),{datas:i[g.name],parentRotate:a,isPinch:!0});g[f](t,h)}}),t.state.snapRenderInfo={request:r.isRequest,direction:[0,0]},p):!1},pinch:function(t,r){var e=r.datas,n=r.scale,a=r.distance,i=r.originalDatas,o=r.inputEvent,s=r.targets,u=r.angle;if(e.isPinch){var l=a*(1-1/n),f=ot(t,r,{});s&&(f.targets=s);var v="onPinch".concat(s?"Group":"");X(t,v,f);var c=e.ables,d="drag".concat(s?"Group":"","Control");return c.forEach(function(p){p[d]&&p[d](t,I(I({},r),{datas:i[p.name],inputEvent:o,resolveMatrix:!0,pinchScale:n,parentDistance:l,parentRotate:u,isPinch:!0}))}),f}},pinchEnd:function(t,r){var e=r.datas,n=r.isPinch,a=r.inputEvent,i=r.targets,o=r.originalDatas;if(e.isPinch){var s="onPinch".concat(i?"Group":"","End"),u=Vt(t,r,{isDrag:n});i&&(u.targets=i),X(t,s,u);var l=e.ables,f="drag".concat(i?"Group":"","ControlEnd");return l.forEach(function(v){v[f]&&v[f](t,I(I({},r),{isDrag:n,datas:o[v.name],inputEvent:a,isPinch:!0}))}),n}},pinchGroupStart:function(t,r){return this.pinchStart(t,I(I({},r),{targets:t.props.targets}))},pinchGroup:function(t,r){return this.pinch(t,I(I({},r),{targets:t.props.targets}))},pinchGroupEnd:function(t,r){return this.pinchEnd(t,I(I({},r),{targets:t.props.targets}))}}),ro=ai("scalable"),Dg={name:"scalable",ableGroup:"size",canPinch:!0,props:["scalable","throttleScale","renderDirections","keepRatio","edge","displayAroundControls"],events:["scaleStart","beforeScale","scale","scaleEnd","scaleGroupStart","beforeScaleGroup","scaleGroup","scaleGroupEnd"],render:Cs("scalable"),dragControlCondition:ro,viewClassName:ni("scalable"),dragControlStart:function(t,r){var e=r.datas,n=r.isPinch,a=r.inputEvent,i=r.parentDirection,o=Xs(i,n,a,e),s=t.state,u=s.width,l=s.height,f=s.targetTransform,v=s.target,c=s.pos1,d=s.pos2,p=s.pos4;if(!o||!v)return!1;n||Lr(t,r),e.datas={},e.transform=f,e.prevDist=[1,1],e.direction=o,e.startOffsetWidth=u,e.startOffsetHeight=l,e.startValue=[1,1];var g=!o[0]&&!o[1]||o[0]||!o[1];Cn(r,"scale"),e.isWidth=g;function h(E){e.ratio=E&&isFinite(E)?E:0}e.startPositions=_t(t.state);function A(E){var b=Is(e.startPositions,E);e.fixedDirection=b.fixedDirection,e.fixedPosition=b.fixedPosition,e.fixedOffset=b.fixedOffset}e.setFixedDirection=A,h(cr(c,d)/cr(d,p)),A([-o[0],-o[1]]);var m=function(E){e.minScaleSize=E},S=function(E){e.maxScaleSize=E};m([-1/0,-1/0]),S([1/0,1/0]);var C=ot(t,r,I(I({direction:o,set:function(E){e.startValue=E},setRatio:h,setFixedDirection:A,setMinScaleSize:m,setMaxScaleSize:S},Sn(r)),{dragStart:zt.dragStart(t,new qr().dragStart([0,0],r))})),y=X(t,"onScaleStart",C);return e.startFixedDirection=e.fixedDirection,y!==!1&&(e.isScale=!0,t.state.snapRenderInfo={request:r.isRequest,direction:o}),e.isScale?C:!1},dragControl:function(t,r){An(r,"scale");var e=r.datas,n=r.parentKeepRatio,a=r.parentFlag,i=r.isPinch,o=r.dragClient,s=r.isRequest,u=r.useSnap,l=r.resolveMatrix,f=e.prevDist,v=e.direction,c=e.startOffsetWidth,d=e.startOffsetHeight,p=e.isScale,g=e.startValue,h=e.isWidth,A=e.ratio;if(!p)return!1;var m=t.props,S=m.throttleScale,C=m.parentMoveable,y=v;!v[0]&&!v[1]&&(y=[1,1]);var E=A&&(n!=null?n:m.keepRatio)||!1,b=t.state,x=[g[0],g[1]];function D(){var et=_s(y,E,e,r),_=et.distWidth,J=et.distHeight,dt=c?(c+_)/c:1,at=d?(d+J)/d:1;g[0]||(x[0]=_/c),g[1]||(x[1]=J/d);var it=(y[0]||E?dt:1)*x[0],ut=(y[1]||E?at:1)*x[1];return it===0&&(it=Kt(f[0])*ze),ut===0&&(ut=Kt(f[1])*ze),[it,ut]}var T=D();if(!i&&t.props.groupable){var R=b.snapRenderInfo||{},M=R.direction;Rt(M)&&(M[0]||M[1])&&(b.snapRenderInfo={direction:v,request:r.isRequest})}X(t,"onBeforeScale",ot(t,r,{scale:T,setFixedDirection:function(et){return e.setFixedDirection(et),T=D(),T},startFixedDirection:e.startFixedDirection,setScale:function(et){T=et}},!0));var w=[T[0]/x[0],T[1]/x[1]],O=o,G=[0,0],N=!o&&!a&&i;if(N||l?O=Ka(t,e.targetAllTransform,[0,0],[0,0],e):o||(O=e.fixedPosition),i||(G=ng(t,w,v,!u&&s,e)),E){y[0]&&y[1]&&G[0]&&G[1]&&(Math.abs(G[0]*c)>Math.abs(G[1]*d)?G[1]=0:G[0]=0);var k=!G[0]&&!G[1];if(k&&(h?w[0]=nt(w[0]*x[0],S)/x[0]:w[1]=nt(w[1]*x[1],S)/x[1]),y[0]&&!y[1]||G[0]&&!G[1]||k&&h){w[0]+=G[0];var F=c*w[0]*x[0]/A;w[1]=F/d/x[1]}else if(!y[0]&&y[1]||!G[0]&&G[1]||k&&!h){w[1]+=G[1];var U=d*w[1]*x[1]*A;w[0]=U/c/x[0]}}else w[0]+=G[0],w[1]+=G[1],G[0]||(w[0]=nt(w[0]*x[0],S)/x[0]),G[1]||(w[1]=nt(w[1]*x[1],S)/x[1]);w[0]===0&&(w[0]=Kt(f[0])*ze),w[1]===0&&(w[1]=Kt(f[1])*ze),T=sg(w,[x[0],x[1]]);var H=[c,d],z=[c*T[0],d*T[1]];z=Do(z,e.minScaleSize,e.maxScaleSize,E?A:!1),T=Wn(2,function(et){return H[et]?z[et]/H[et]:z[et]}),w=Wn(2,function(et){return T[et]/x[et]});var V=Wn(2,function(et){return f[et]?w[et]/f[et]:w[et]}),j="scale(".concat(w.join(", "),")"),q="scale(".concat(T.join(", "),")"),K=mn(e,q,j),Y=!g[0]||!g[1],Z=ip(t,Y?q:j,e.fixedDirection,O,e.fixedOffset,e,Y),rt=N?Z:tt(Z,e.prevInverseDist||[0,0]);if(e.prevDist=w,e.prevInverseDist=Z,T[0]===f[0]&&T[1]===f[1]&&rt.every(function(et){return!et})&&!C&&!N)return!1;var ft=ot(t,r,I({offsetWidth:c,offsetHeight:d,direction:v,scale:T,dist:w,delta:V,isPinch:!!i},ps(t,K,rt,i,r)));return X(t,"onScale",ft),ft},dragControlEnd:function(t,r){var e=r.datas;if(!e.isScale)return!1;e.isScale=!1;var n=Vt(t,r,{});return X(t,"onScaleEnd",n),n},dragGroupControlCondition:ro,dragGroupControlStart:function(t,r){var e=r.datas,n=this.dragControlStart(t,r);if(!n)return!1;var a=er(t,"resizable",r);e.moveableScale=t.scale;var i=vr(t,this,"dragControlStart",r,function(l,f){return an(t,l,e,f)}),o=function(l){n.setFixedDirection(l),i.forEach(function(f,v){f.setFixedDirection(l),an(t,f.moveable,e,a[v])})};e.setFixedDirection=o;var s=I(I({},n),{targets:t.props.targets,events:i,setFixedDirection:o}),u=X(t,"onScaleGroupStart",s);return e.isScale=u!==!1,e.isScale?s:!1},dragGroupControl:function(t,r){var e=r.datas;if(e.isScale){wn(t,"onBeforeScale",function(f){X(t,"onBeforeScaleGroup",ot(t,r,I(I({},f),{targets:t.props.targets}),!0))});var n=this.dragControl(t,r);if(n){var a=n.dist,i=e.moveableScale;t.scale=[a[0]*i[0],a[1]*i[1]];var o=t.props.keepRatio,s=e.fixedPosition,u=vr(t,this,"dragControl",r,function(f,v){var c=B(Nt(Re(t.rotation/180*Math.PI,3),[v.datas.originalX*a[0],v.datas.originalY*a[1],1],3),2),d=c[0],p=c[1];return I(I({},v),{parentDist:null,parentScale:a,parentKeepRatio:o,dragClient:ct(s,[d,p])})}),l=I({targets:t.props.targets,events:u},n);return X(t,"onScaleGroup",l),l}}},dragGroupControlEnd:function(t,r){var e=r.isDrag,n=r.datas;if(n.isScale){this.dragControlEnd(t,r);var a=vr(t,this,"dragControlEnd",r),i=Vt(t,r,{targets:t.props.targets,events:a});return X(t,"onScaleGroupEnd",i),e}},request:function(){var t={},r=0,e=0,n=!1;return{isControl:!0,requestStart:function(a){return n=a.useSnap,{datas:t,parentDirection:a.direction||[1,1],useSnap:n}},request:function(a){return r+=a.deltaWidth,e+=a.deltaHeight,{datas:t,parentDist:[r,e],parentKeepRatio:a.keepRatio,useSnap:n}},requestEnd:function(){return{datas:t,isDrag:!0,useSnap:n}}}}};function mr(t,r){return t.map(function(e,n){return Ir(e,r[n],1,2)})}function eo(t,r,e){var n=xt(t,r),a=xt(t,e),i=a-n;return i>=0?i:i+2*Math.PI}function Mg(t,r){var e=eo(t[0],t[1],t[2]),n=eo(r[0],r[1],r[2]),a=Math.PI;return!(e>=a&&n<=a||e<=a&&n>=a)}var Ig={name:"warpable",ableGroup:"size",props:["warpable","renderDirections","edge","displayAroundControls"],events:["warpStart","warp","warpEnd"],viewClassName:ni("warpable"),render:function(t,r){var e=t.props,n=e.resizable,a=e.scalable,i=e.warpable,o=e.zoom;if(n||a||!i)return[];var s=t.state,u=s.pos1,l=s.pos2,f=s.pos3,v=s.pos4,c=mr(u,l),d=mr(l,u),p=mr(u,f),g=mr(f,u),h=mr(f,v),A=mr(v,f),m=mr(l,v),S=mr(v,l);return W([r.createElement("div",{className:$("line"),key:"middeLine1",style:fe(c,h,o)}),r.createElement("div",{className:$("line"),key:"middeLine2",style:fe(d,A,o)}),r.createElement("div",{className:$("line"),key:"middeLine3",style:fe(p,m,o)}),r.createElement("div",{className:$("line"),key:"middeLine4",style:fe(g,S,o)})],B(Es(t,"warpable",r)),!1)},dragControlCondition:function(t,r){if(r.isRequest)return!1;var e=r.inputEvent.target;return Ot(e,$("direction"))&&Ot(e,$("warpable"))},dragControlStart:function(t,r){var e=r.datas,n=r.inputEvent,a=t.props.target,i=n.target,o=Vs(i,e);if(!o||!a)return!1;var s=t.state,u=s.transformOrigin,l=s.is3d,f=s.targetTransform,v=s.targetMatrix,c=s.width,d=s.height,p=s.left,g=s.top;e.datas={},e.targetTransform=f,e.warpTargetMatrix=l?v:ar(v,3,4),e.targetInverseMatrix=Jo(sr(e.warpTargetMatrix,4),3,4),e.direction=o,e.left=p,e.top=g,e.poses=[[0,0],[c,0],[0,d],[c,d]].map(function(m){return tt(m,u)}),e.nextPoses=e.poses.map(function(m){var S=B(m,2),C=S[0],y=S[1];return Nt(e.warpTargetMatrix,[C,y,0,1],4)}),e.startValue=St(4),e.prevMatrix=St(4),e.absolutePoses=_t(s),e.posIndexes=ds(o),Lr(t,r),Cn(r,"matrix3d"),s.snapRenderInfo={request:r.isRequest,direction:o};var h=ot(t,r,I({set:function(m){e.startValue=m}},Sn(r))),A=X(t,"onWarpStart",h);return A!==!1&&(e.isWarp=!0),e.isWarp},dragControl:function(t,r){var e=r.datas,n=r.isRequest,a=r.distX,i=r.distY,o=e.targetInverseMatrix,s=e.prevMatrix,u=e.isWarp,l=e.startValue,f=e.poses,v=e.posIndexes,c=e.absolutePoses;if(!u)return!1;if(An(r,"matrix3d"),ie(t,"warpable")){var d=v.map(function(D){return c[D]});d.length>1&&d.push([(d[0][0]+d[1][0])/2,(d[0][1]+d[1][1])/2]);var p=bn(t,n,{horizontal:d.map(function(D){return D[1]+i}),vertical:d.map(function(D){return D[0]+a})}),g=p.horizontal,h=p.vertical;i-=g.offset,a-=h.offset}var A=lr({datas:e,distX:a,distY:i},!0),m=e.nextPoses.slice();if(v.forEach(function(D){m[D]=ct(m[D],A)}),!Jd.every(function(D){return Mg(D.map(function(T){return f[T]}),D.map(function(T){return m[T]}))}))return!1;var S=Ha(f[0],f[2],f[1],f[3],m[0],m[2],m[1],m[3]);if(!S.length)return!1;var C=ht(o,S,4),y=cs(e,C,!0),E=ht(sr(s,4),y,4);e.prevMatrix=y;var b=ht(l,y,4),x=mn(e,"matrix3d(".concat(b.join(", "),")"),"matrix3d(".concat(y.join(", "),")"));return Qa(r,x),X(t,"onWarp",ot(t,r,I({delta:E,matrix:b,dist:y,multiply:ht,transform:x},Ut({transform:x},r)))),!0},dragControlEnd:function(t,r){var e=r.datas,n=r.isDrag;return e.isWarp?(e.isWarp=!1,X(t,"onWarpEnd",Vt(t,r,{})),n):!1}},Rg=$("area-pieces"),Qe=$("area-piece"),tu=$("avoid"),Bg=$("view-dragging");function Yn(t){var r=t.areaElement;if(r){var e=t.state,n=e.width,a=e.height;Ro(r,tu),r.style.cssText+="left: 0px; top: 0px; width: ".concat(n,"px; height: ").concat(a,"px")}}function no(t){return t.createElement("div",{key:"area_pieces",className:Rg},t.createElement("div",{className:Qe}),t.createElement("div",{className:Qe}),t.createElement("div",{className:Qe}),t.createElement("div",{className:Qe}))}var ru={name:"dragArea",props:["dragArea","passDragArea"],events:["click","clickGroup"],render:function(t,r){var e=t.props,n=e.target,a=e.dragArea,i=e.groupable,o=e.passDragArea,s=t.getState(),u=s.width,l=s.height,f=s.renderPoses,v=o?$("area","pass"):$("area");if(i)return[r.createElement("div",{key:"area",ref:fr(t,"areaElement"),className:v}),no(r)];if(!n||!a)return[];var c=Ha([0,0],[u,0],[0,l],[u,l],f[0],f[1],f[2],f[3]),d=c.length?xn(c,!0):"none";return[r.createElement("div",{key:"area",ref:fr(t,"areaElement"),className:v,style:{top:"0px",left:"0px",width:"".concat(u,"px"),height:"".concat(l,"px"),transformOrigin:"0 0",transform:d}}),no(r)]},dragStart:function(t,r){var e=r.datas,n=r.clientX,a=r.clientY,i=r.inputEvent;if(!i)return!1;e.isDragArea=!1;var o=t.areaElement,s=t.state,u=s.moveableClientRect,l=s.renderPoses,f=s.rootMatrix,v=s.is3d,c=u.left,d=u.top,p=qt(l),g=p.left,h=p.top,A=p.width,m=p.height,S=v?4:3,C=B(_r(f,[n-c,a-d],S),2),y=C[0],E=C[1];y-=g,E-=h;var b=[{left:g,top:h,width:A,height:E-10},{left:g,top:h,width:y-10,height:m},{left:g,top:h+E+10,width:A,height:m-E-10},{left:g+y+10,top:h,width:A-y-10,height:m}],x=[].slice.call(o.nextElementSibling.children);b.forEach(function(D,T){x[T].style.cssText="left: ".concat(D.left,"px;top: ").concat(D.top,"px; width: ").concat(D.width,"px; height: ").concat(D.height,"px;")}),Io(o,tu),s.disableNativeEvent=!0},drag:function(t,r){var e=r.datas,n=r.inputEvent;if(this.enableNativeEvent(t),!n)return!1;e.isDragArea||(e.isDragArea=!0,Yn(t))},dragEnd:function(t,r){this.enableNativeEvent(t);var e=r.inputEvent,n=r.datas;if(!e)return!1;n.isDragArea||Yn(t)},dragGroupStart:function(t,r){return this.dragStart(t,r)},dragGroup:function(t,r){return this.drag(t,r)},dragGroupEnd:function(t,r){return this.dragEnd(t,r)},unset:function(t){Yn(t),t.state.disableNativeEvent=!1},enableNativeEvent:function(t){var r=t.state;r.disableNativeEvent&&wo(function(){r.disableNativeEvent=!1})}},Tg=Te("origin",{props:["origin","svgOrigin"],render:function(t,r){var e=t.props,n=e.zoom,a=e.svgOrigin,i=e.groupable,o=t.getState(),s=o.beforeOrigin,u=o.rotation,l=o.svg,f=o.allMatrix,v=o.is3d,c=o.left,d=o.top,p=o.offsetWidth,g=o.offsetHeight,h;if(!i&&l&&a){var A=B(oi(a,p,g),2),m=A[0],S=A[1],C=v?4:3,y=yt(f,[m,S],C);h=ln(u,n,tt(y,[c,d]))}else h=ln(u,n,s);return[r.createElement("div",{className:$("control","origin"),style:h,key:"beforeOrigin"})]}});function Og(t){var r=t.scrollContainer;return[r.scrollLeft,r.scrollTop]}var Pg={name:"scrollable",canPinch:!0,props:["scrollable","scrollContainer","scrollThreshold","scrollThrottleTime","getScrollPosition","scrollOptions"],events:["scroll","scrollGroup"],dragRelation:"strong",dragStart:function(t,r){var e=t.props,n=e.scrollContainer,a=n===void 0?t.getContainer():n,i=e.scrollOptions,o=new pd,s=or(a,!0);r.datas.dragScroll=o,t.state.dragScroll=o;var u=r.isControl?"controlGesto":"targetGesto",l=r.targets;o.on("scroll",function(f){var v=f.container,c=f.direction,d=ot(t,r,{scrollContainer:v,direction:c}),p=l?"onScrollGroup":"onScroll";l&&(d.targets=l),X(t,p,d)}).on("move",function(f){var v=f.offsetX,c=f.offsetY,d=f.inputEvent;t[u].scrollBy(v,c,d.inputEvent,!0)}).on("scrollDrag",function(f){var v=f.next;v(t[u].getCurrentEvent())}),o.dragStart(r,I({container:s},i))},checkScroll:function(t,r){var e=r.datas.dragScroll;if(e){var n=t.props,a=n.scrollContainer,i=a===void 0?t.getContainer():a,o=n.scrollThreshold,s=o===void 0?0:o,u=n.scrollThrottleTime,l=u===void 0?0:u,f=n.getScrollPosition,v=f===void 0?Og:f,c=n.scrollOptions;return e.drag(r,I({container:i,threshold:s,throttleTime:l,getScrollPosition:function(d){return v({scrollContainer:d.container,direction:d.direction})}},c)),!0}},drag:function(t,r){return this.checkScroll(t,r)},dragEnd:function(t,r){r.datas.dragScroll.dragEnd(),r.datas.dragScroll=null},dragControlStart:function(t,r){return this.dragStart(t,I(I({},r),{isControl:!0}))},dragControl:function(t,r){return this.drag(t,r)},dragControlEnd:function(t,r){return this.dragEnd(t,r)},dragGroupStart:function(t,r){return this.dragStart(t,I(I({},r),{targets:t.props.targets}))},dragGroup:function(t,r){return this.drag(t,I(I({},r),{targets:t.props.targets}))},dragGroupEnd:function(t,r){return this.dragEnd(t,I(I({},r),{targets:t.props.targets}))},dragGroupControlStart:function(t,r){return this.dragStart(t,I(I({},r),{targets:t.props.targets,isControl:!0}))},dragGroupControl:function(t,r){return this.drag(t,I(I({},r),{targets:t.props.targets}))},dragGroupControEnd:function(t,r){return this.dragEnd(t,I(I({},r),{targets:t.props.targets}))},unset:function(t){var r,e=t.state;(r=e.dragScroll)===null||r===void 0||r.dragEnd(),e.dragScroll=null}},eu={name:"",props:["target","dragTarget","dragContainer","container","warpSelf","rootContainer","useResizeObserver","useMutationObserver","zoom","dragFocusedInput","transformOrigin","ables","className","pinchThreshold","pinchOutside","triggerAblesSimultaneously","checkInput","cspNonce","translateZ","hideDefaultLines","props","flushSync","stopPropagation","preventClickEventOnDrag","preventClickDefault","viewContainer","persistData","useAccuratePosition","firstRenderState","linePadding","controlPadding","preventDefault","requestStyles"],events:["changeTargets"]},Gg=Te("padding",{props:["padding"],render:function(t,r){var e=t.props;if(e.dragArea)return[];var n=$s(e.padding||{}),a=n.left,i=n.top,o=n.right,s=n.bottom,u=t.getState(),l=u.renderPoses,f=u.pos1,v=u.pos2,c=u.pos3,d=u.pos4,p=[f,v,c,d],g=[];return a>0&&g.push([0,2]),i>0&&g.push([0,1]),o>0&&g.push([1,3]),s>0&&g.push([2,3]),g.map(function(h,A){var m=B(h,2),S=m[0],C=m[1],y=p[S],E=p[C],b=l[S],x=l[C],D=Ha([0,0],[100,0],[0,100],[100,100],y,E,b,x);if(D.length)return r.createElement("div",{key:"padding".concat(A),className:$("padding"),style:{transform:xn(D,!0)}})})}}),ao=["nw","ne","se","sw"];function Ke(t,r){var e=t[0]+t[1],n=e>r?r/e:1;return t[0]*=n,t[1]=r-t[1]*n,t}var Fg=[1,2,5,6],Ng=[0,3,4,7],Tr=[1,-1,-1,1],Or=[1,1,-1,-1];function si(t,r,e,n,a,i,o,s){a===void 0&&(a=0),i===void 0&&(i=0),o===void 0&&(o=e),s===void 0&&(s=n);var u=[],l=!1,f=t.filter(function(c){return!c.virtual}),v=f.map(function(c){var d=c.horizontal,p=c.vertical,g=c.pos;if(p&&!l&&(l=!0,u.push("/")),l){var h=Math.max(0,p===1?g[1]-i:s-g[1]);return u.push($t(h,n,r)),h}else{var h=Math.max(0,d===1?g[0]-a:o-g[0]);return u.push($t(h,e,r)),h}});return{radiusPoses:f,styles:u,raws:v}}function nu(t){for(var r=[0,0],e=[0,0],n=t.length,a=0;a-1?t.slice(0,v):t).length,d=t.slice(0,c),p=t.slice(c+1),g=d.length,h=p.length,A=h>0,m=B(d,4),S=m[0],C=S===void 0?"0px":S,y=m[1],E=y===void 0?C:y,b=m[2],x=b===void 0?C:b,D=m[3],T=D===void 0?E:D,R=B(p,4),M=R[0],w=M===void 0?C:M,O=R[1],G=O===void 0?A?w:E:O,N=R[2],k=N===void 0?A?w:x:N,F=R[3],U=F===void 0?A?G:T:F,H=[C,E,x,T].map(function(Y){return gt(Y,r)}),z=[w,G,k,U].map(function(Y){return gt(Y,e)}),V=H.slice(),j=z.slice();s=B(Ke([V[0],V[1]],r),2),V[0]=s[0],V[1]=s[1],u=B(Ke([V[3],V[2]],r),2),V[3]=u[0],V[2]=u[1],l=B(Ke([j[0],j[3]],e),2),j[0]=l[0],j[3]=l[1],f=B(Ke([j[1],j[2]],e),2),j[1]=f[0],j[2]=f[1];var q=o?V:V.slice(0,Math.max(i[0],g)),K=o?j:j.slice(0,Math.max(i[1],h));return W(W([],B(q.map(function(Y,Z){var rt=ao[Z];return{virtual:Z>=g,horizontal:Tr[Z],vertical:0,pos:[n+Y,a+(Or[Z]===-1?e:0)],sub:!0,raw:H[Z],direction:rt}})),!1),B(K.map(function(Y,Z){var rt=ao[Z];return{virtual:Z>=h,horizontal:0,vertical:Or[Z],pos:[n+(Tr[Z]===-1?r:0),a+Y],sub:!0,raw:z[Z],direction:rt}})),!1)}function kg(t,r,e,n,a){a===void 0&&(a=r.length);var i=nu(t.slice(n)),o=i.horizontalRange,s=i.verticalRange,u=e-n,l=0;if(u===0)l=a;else if(u>0&&u=s[0])l=s[0]+s[1]-u;else return;t.splice(e,l),r.splice(e,l)}function Lg(t,r,e,n,a,i,o,s,u,l,f){l===void 0&&(l=0),f===void 0&&(f=0);var v=nu(t.slice(e)),c=v.horizontalRange,d=v.verticalRange;if(n>-1)for(var p=Tr[n]===1?i-l:s-i,g=c[1];g<=n;++g){var h=Or[g]===1?f:u,A=0;if(n===g?A=i:g===0?A=l+p:Tr[g]===-1&&(A=s-(r[e][0]-l)),t.splice(e+g,0,{horizontal:Tr[g],vertical:0,pos:[A,h]}),r.splice(e+g,0,[A,h]),g===0)break}else if(a>-1){var m=Or[a]===1?o-f:u-o;if(c[1]===0&&d[1]===0){var S=[l+m,f];t.push({horizontal:Tr[0],vertical:0,pos:S}),r.push(S)}for(var C=d[0],g=d[1];g<=a;++g){var A=Tr[g]===1?l:s,h=0;if(a===g?h=o:g===0?h=f+m:Or[g]===1?h=r[e+C][1]:Or[g]===-1&&(h=u-(r[e+C][1]-f)),t.push({horizontal:0,vertical:Or[g],pos:[A,h]}),r.push([A,h]),g===0)break}}}function zg(t,r){r===void 0&&(r=t.map(function(a){return a.raw}));var e=t.map(function(a,i){return a.horizontal?r[i]:null}).filter(function(a){return a!=null}),n=t.map(function(a,i){return a.vertical?r[i]:null}).filter(function(a){return a!=null});return{horizontals:e,verticals:n}}var Ug=[[0,-1,"n"],[1,0,"e"]],Hg=[[-1,-1,"nw"],[0,-1,"n"],[1,-1,"ne"],[1,0,"e"],[1,1,"se"],[0,1,"s"],[-1,1,"sw"],[-1,0,"w"]];function ui(t,r,e){var n=t.props.clipRelative,a=t.state,i=a.width,o=a.height,s=r,u=s.type,l=s.poses,f=u==="rect",v=u==="circle";if(u==="polygon")return e.map(function(E){return"".concat($t(E[0],i,n)," ").concat($t(E[1],o,n))});if(f||u==="inset"){var c=e[1][1],d=e[3][0],p=e[7][0],g=e[5][1];if(f)return[c,d,g,p].map(function(E){return"".concat(E,"px")});var h=[c,i-d,o-g,p].map(function(E,b){return $t(E,b%2?i:o,n)});if(e.length>8){var A=B(tt(e[4],e[0]),2),m=A[0],S=A[1];h.push.apply(h,W(["round"],B(si(l.slice(8).map(function(E,b){return I(I({},E),{pos:e[b]})}),n,m,S,p,c,d,g).styles),!1))}return h}else if(v||u==="ellipse"){var C=e[0],y=$t(L(e[1][1]-C[1]),v?Math.sqrt((i*i+o*o)/2):o,n),h=v?[y]:[$t(L(e[2][0]-C[0]),i,n),y];return h.push("at",$t(C[0],i,n),$t(C[1],o,n)),h}}function cn(t,r,e,n){var a=[n,(n+r)/2,r],i=[t,(t+e)/2,e];return Hg.map(function(o){var s=B(o,3),u=s[0],l=s[1],f=s[2],v=a[u+1],c=i[l+1];return{vertical:L(l),horizontal:L(u),direction:f,pos:[v,c]}})}function iu(t){var r=[1/0,-1/0],e=[1/0,-1/0];return t.forEach(function(n){var a=n.pos;r[0]=Math.min(r[0],a[0]),r[1]=Math.max(r[1],a[0]),e[0]=Math.min(e[0],a[1]),e[1]=Math.max(e[1],a[1])}),[L(r[1]-r[0]),L(e[1]-e[0])]}function io(t,r,e,n,a){var i,o,s,u,l,f,v,c,d;if(t){var p=a;if(!p){var g=Xt(t),h=g("clipPath");p=h!=="none"?h:g("clip")}if(!((!p||p==="none"||p==="auto")&&(p=n,!p))){var A=xo(p),m=A.prefix,S=m===void 0?p:m,C=A.value,y=C===void 0?"":C,E=S==="circle",b=" ";if(S==="polygon"){var x=Pr(y||"0% 0%, 100% 0%, 100% 100%, 0% 100%");b=",";var D=x.map(function(wt){var kt=B(wt.split(" "),2),Ft=kt[0],Dt=kt[1];return{vertical:1,horizontal:1,pos:[gt(Ft,r),gt(Dt,e)]}}),T=Nr(D.map(function(wt){return wt.pos}));return{type:S,clipText:p,poses:D,splitter:b,left:T.minX,right:T.maxX,top:T.minY,bottom:T.maxY}}else if(E||S==="ellipse"){var R="",M="",w=0,O=0,x=xr(y);if(E){var G="";i=B(x,4),o=i[0],G=o===void 0?"50%":o,s=i[2],R=s===void 0?"50%":s,u=i[3],M=u===void 0?"50%":u,w=gt(G,Math.sqrt((r*r+e*e)/2)),O=w}else{var N="",k="";l=B(x,5),f=l[0],N=f===void 0?"50%":f,v=l[1],k=v===void 0?"50%":v,c=l[3],R=c===void 0?"50%":c,d=l[4],M=d===void 0?"50%":d,w=gt(N,r),O=gt(k,e)}var F=[gt(R,r),gt(M,e)],D=W([{vertical:1,horizontal:1,pos:F,direction:"nesw"}],B(Ug.slice(0,E?1:2).map(function(Ft){return{vertical:L(Ft[1]),horizontal:Ft[0],direction:Ft[2],sub:!0,pos:[F[0]+Ft[0]*w,F[1]+Ft[1]*O]}})),!1);return{type:S,clipText:p,radiusX:w,radiusY:O,left:F[0]-w,top:F[1]-O,right:F[0]+w,bottom:F[1]+O,poses:D,splitter:b}}else if(S==="inset"){var x=xr(y||"0 0 0 0"),U=x.indexOf("round"),H=(U>-1?x.slice(0,U):x).length,z=x.slice(H+1),V=B(x.slice(0,H),4),j=V[0],q=V[1],K=q===void 0?j:q,Y=V[2],Z=Y===void 0?j:Y,rt=V[3],ft=rt===void 0?K:rt,et=B([j,Z].map(function(Ft){return gt(Ft,e)}),2),_=et[0],J=et[1],dt=B([ft,K].map(function(Ft){return gt(Ft,r)}),2),at=dt[0],it=dt[1],ut=r-it,At=e-J,pt=au(z,ut-at,At-_,at,_),D=W(W([],B(cn(_,ut,At,at)),!1),B(pt),!1);return{type:"inset",clipText:p,poses:D,top:_,left:at,right:ut,bottom:At,radius:z,splitter:b}}else if(S==="rect"){var x=Pr(y||"0px, ".concat(r,"px, ").concat(e,"px, 0px"));b=",";var st=B(x.map(function(gr){var hr=xe(gr).value;return hr}),4),vt=st[0],it=st[1],J=st[2],at=st[3],D=cn(vt,it,J,at);return{type:"rect",clipText:p,poses:D,top:vt,right:it,bottom:J,left:at,values:x,splitter:b}}}}}function Wg(t,r,e,n,a){var i=t[r],o=i.direction,s=i.sub,u=t.map(function(){return[0,0]}),l=o?o.split(""):[];if(n&&r<8){var f=l.filter(function(w){return w==="w"||w==="e"}),v=l.filter(function(w){return w==="n"||w==="s"}),c=f[0],d=v[0];u[r]=e;var p=B(iu(t),2),g=p[0],h=p[1],A=g&&h?g/h:0;if(A&&a){var m=(r+4)%8,S=t[m].pos,C=[0,0];o.indexOf("w")>-1?C[0]=-1:o.indexOf("e")>-1&&(C[0]=1),o.indexOf("n")>-1?C[1]=-1:o.indexOf("s")>-1&&(C[1]=1);var y=js([g,h],e,A,C,!0),E=g+y[0],b=h+y[1],x=S[1],D=S[1],T=S[0],R=S[0];C[0]===-1?T=R-E:C[0]===1?R=T+E:(T=T-E/2,R=R+E/2),C[1]===-1?x=D-b:(C[1]===1||(x=D-b/2),D=x+b);var M=cn(x,R,D,T);t.forEach(function(w,O){u[O][0]=M[O].pos[0]-w.pos[0],u[O][1]=M[O].pos[1]-w.pos[1]})}else t.forEach(function(w,O){var G=w.direction;G&&(G.indexOf(c)>-1&&(u[O][0]=e[0]),G.indexOf(d)>-1&&(u[O][1]=e[1]))}),c&&(u[1][0]=e[0]/2,u[5][0]=e[0]/2),d&&(u[3][1]=e[1]/2,u[7][1]=e[1]/2)}else o&&!s?l.forEach(function(w){var O=w==="n"||w==="s";t.forEach(function(G,N){var k=G.direction,F=G.horizontal,U=G.vertical;!k||k.indexOf(w)===-1||(u[N]=[O||!F?0:e[0],!O||!U?0:e[1]])})}):u[r]=e;return u}function Yg(t,r){var e=B(fs(t,r),2),n=e[0],a=e[1],i=r.datas,o=i.clipPath,s=i.clipIndex,u=o,l=u.type,f=u.poses,v=u.splitter,c=f.map(function(m){return m.pos});if(l==="polygon")c.splice(s,0,[n,a]);else if(l==="inset"){var d=Fg.indexOf(s),p=Ng.indexOf(s),g=f.length;if(Lg(f,c,8,d,p,n,a,c[4][0],c[4][1],c[0][0],c[0][1]),g===f.length)return}else return;var h=ui(t,o,c),A="".concat(l,"(").concat(h.join(v),")");X(t,"onClip",ot(t,r,I({clipEventType:"added",clipType:l,poses:c,clipStyles:h,clipStyle:A,distX:0,distY:0},Ut({clipPath:A},r))))}function Xg(t,r){var e=r.datas,n=e.clipPath,a=e.clipIndex,i=n,o=i.type,s=i.poses,u=i.splitter,l=s.map(function(d){return d.pos}),f=l.length;if(o==="polygon")s.splice(a,1),l.splice(a,1);else if(o==="inset"){if(a<8||(kg(s,l,a,8,f),f===s.length))return}else return;var v=ui(t,n,l),c="".concat(o,"(").concat(v.join(u),")");X(t,"onClip",ot(t,r,I({clipEventType:"removed",clipType:o,poses:l,clipStyles:v,clipStyle:c,distX:0,distY:0},Ut({clipPath:c},r))))}var Vg={name:"clippable",props:["clippable","defaultClipPath","customClipPath","keepRatio","clipRelative","clipArea","dragWithClip","clipTargetBounds","clipVerticalGuidelines","clipHorizontalGuidelines","clipSnapThreshold"],events:["clipStart","clip","clipEnd"],css:[".control.clip-control {\nbackground: #6d6;\ncursor: pointer;\n}\n.control.clip-control.clip-radius {\nbackground: #d66;\n}\n.line.clip-line {\nbackground: #6e6;\ncursor: move;\nz-index: 1;\n}\n.clip-area {\nposition: absolute;\ntop: 0;\nleft: 0;\n}\n.clip-ellipse {\nposition: absolute;\ncursor: move;\nborder: 1px solid #6d6;\nborder: var(--zoompx) solid #6d6;\nborder-radius: 50%;\ntransform-origin: 0px 0px;\n}",":host {\n--bounds-color: #d66;\n}",".guideline {\npointer-events: none;\nz-index: 2;\n}",".line.guideline.bounds {\nbackground: #d66;\nbackground: var(--bounds-color);\n}"],render:function(t,r){var e=t.props,n=e.customClipPath,a=e.defaultClipPath,i=e.clipArea,o=e.zoom,s=e.groupable,u=t.getState(),l=u.target,f=u.width,v=u.height,c=u.allMatrix,d=u.is3d,p=u.left,g=u.top,h=u.pos1,A=u.pos2,m=u.pos3,S=u.pos4,C=u.clipPathState,y=u.snapBoundInfos,E=u.rotation;if(!l||s)return[];var b=io(l,f,v,a||"inset",C||n);if(!b)return[];var x=d?4:3,D=b.type,T=b.poses,R=T.map(function(it){var ut=yt(c,it.pos,x);return[ut[0]-p,ut[1]-g]}),M=[],w=[],O=D==="rect",G=D==="inset",N=D==="polygon";if(O||G||N){var k=G?R.slice(0,8):R;w=k.map(function(it,ut){var At=ut===0?k[k.length-1]:k[ut-1],pt=xt(At,it),st=Us(At,it);return r.createElement("div",{key:"clipLine".concat(ut),className:$("line","clip-line","snap-control"),"data-clip-index":ut,style:{width:"".concat(st,"px"),transform:"translate(".concat(At[0],"px, ").concat(At[1],"px) rotate(").concat(pt,"rad) scaleY(").concat(o,")")}})})}if(M=R.map(function(it,ut){return r.createElement("div",{key:"clipControl".concat(ut),className:$("control","clip-control","snap-control"),"data-clip-index":ut,style:{transform:"translate(".concat(it[0],"px, ").concat(it[1],"px) rotate(").concat(E,"rad) scale(").concat(o,")")}})}),G&&M.push.apply(M,W([],B(R.slice(8).map(function(it,ut){return r.createElement("div",{key:"clipRadiusControl".concat(ut),className:$("control","clip-control","clip-radius","snap-control"),"data-clip-index":8+ut,style:{transform:"translate(".concat(it[0],"px, ").concat(it[1],"px) rotate(").concat(E,"rad) scale(").concat(o,")")}})})),!1)),D==="circle"||D==="ellipse"){var F=b.left,U=b.top,H=b.radiusX,z=b.radiusY,V=B(tt(yt(c,[F,U],x),yt(c,[0,0],x)),2),j=V[0],q=V[1],K="none";if(!i){for(var Y=Math.max(10,H/5,z/5),Z=[],rt=0;rt<=Y;++rt){var ft=Math.PI*2/Y*rt;Z.push([H+(H-o)*Math.cos(ft),z+(z-o)*Math.sin(ft)])}Z.push([H,-2]),Z.push([-2,-2]),Z.push([-2,z*2+2]),Z.push([H*2+2,z*2+2]),Z.push([H*2+2,-2]),Z.push([H,-2]),K="polygon(".concat(Z.map(function(it){return"".concat(it[0],"px ").concat(it[1],"px")}).join(", "),")")}M.push(r.createElement("div",{key:"clipEllipse",className:$("clip-ellipse","snap-control"),style:{width:"".concat(H*2,"px"),height:"".concat(z*2,"px"),clipPath:K,transform:"translate(".concat(-p+j,"px, ").concat(-g+q,"px) ").concat(xn(c))}}))}if(i){var et=qt(W([h,A,m,S],B(R),!1)),_=et.width,J=et.height,dt=et.left,at=et.top;if(N||O||G){var Z=G?R.slice(0,8):R;M.push(r.createElement("div",{key:"clipArea",className:$("clip-area","snap-control"),style:{width:"".concat(_,"px"),height:"".concat(J,"px"),transform:"translate(".concat(dt,"px, ").concat(at,"px)"),clipPath:"polygon(".concat(Z.map(function(ut){return"".concat(ut[0]-dt,"px ").concat(ut[1]-at,"px")}).join(", "),")")}}))}}return y&&["vertical","horizontal"].forEach(function(it){var ut=y[it],At=it==="horizontal";ut.isSnap&&w.push.apply(w,W([],B(ut.snap.posInfos.map(function(pt,st){var vt=pt.pos,wt=tt(yt(c,At?[0,vt]:[vt,0],x),[p,g]),kt=tt(yt(c,At?[f,vt]:[vt,v],x),[p,g]);return Se(r,"",wt,kt,o,"clip".concat(it,"snap").concat(st),"guideline")})),!1)),ut.isBound&&w.push.apply(w,W([],B(ut.bounds.map(function(pt,st){var vt=pt.pos,wt=tt(yt(c,At?[0,vt]:[vt,0],x),[p,g]),kt=tt(yt(c,At?[f,vt]:[vt,v],x),[p,g]);return Se(r,"",wt,kt,o,"clip".concat(it,"bounds").concat(st),"guideline","bounds","bold")})),!1))}),W(W([],B(M),!1),B(w),!1)},dragControlCondition:function(t,r){return r.inputEvent&&(r.inputEvent.target.getAttribute("class")||"").indexOf("clip")>-1},dragStart:function(t,r){var e=t.props,n=e.dragWithClip,a=n===void 0?!0:n;return a?!1:this.dragControlStart(t,r)},drag:function(t,r){return this.dragControl(t,I(I({},r),{isDragTarget:!0}))},dragEnd:function(t,r){return this.dragControlEnd(t,r)},dragControlStart:function(t,r){var e=t.state,n=t.props,a=n.defaultClipPath,i=n.customClipPath,o=e.target,s=e.width,u=e.height,l=r.inputEvent?r.inputEvent.target:null,f=l&&l.getAttribute("class")||"",v=r.datas,c=io(o,s,u,a||"inset",i);if(!c)return!1;var d=c.clipText,p=c.type,g=c.poses,h=X(t,"onClipStart",ot(t,r,{clipType:p,clipStyle:d,poses:g.map(function(A){return A.pos})}));return h===!1?(v.isClipStart=!1,!1):(v.isControl=f&&f.indexOf("clip-control")>-1,v.isLine=f.indexOf("clip-line")>-1,v.isArea=f.indexOf("clip-area")>-1||f.indexOf("clip-ellipse")>-1,v.clipIndex=l?parseInt(l.getAttribute("data-clip-index"),10):-1,v.clipPath=c,v.isClipStart=!0,e.clipPathState=d,Lr(t,r),!0)},dragControl:function(t,r){var e,n,a,i=r.datas,o=r.originalDatas,s=r.isDragTarget;if(!i.isClipStart)return!1;var u=i,l=u.isControl,f=u.isLine,v=u.isArea,c=u.clipIndex,d=u.clipPath;if(!d)return!1;var p=kr(t.props,"clippable"),g=p.keepRatio,h=0,A=0,m=o.draggable,S=lr(r);s&&m?(e=B(m.prevBeforeDist,2),h=e[0],A=e[1]):(n=B(S,2),h=n[0],A=n[1]);var C=[h,A],y=t.state,E=y.width,b=y.height,x=!v&&!l&&!f,D=d.type,T=d.poses,R=d.splitter,M=T.map(function(mt){return mt.pos});x&&(h=-h,A=-A);var w=!l||T[c].direction==="nesw",O=D==="inset"||D==="rect",G=T.map(function(){return[0,0]});if(l&&!w){var N=T[c],k=N.horizontal,F=N.vertical,U=[h*L(k),A*L(F)];G=Wg(T,c,U,O,g)}else w&&(G=M.map(function(){return[h,A]}));var H=M.map(function(mt,Lt){return ct(mt,G[Lt])}),z=W([],B(H),!1);y.snapBoundInfos=null;var V=d.type==="circle",j=d.type==="ellipse";if(V||j){var q=qt(H),K=L(q.bottom-q.top),Y=L(j?q.right-q.left:K),Z=H[0][1]+K,rt=H[0][0]-Y,ft=H[0][0]+Y;V&&(z.push([ft,q.bottom]),G.push([1,0])),z.push([q.left,Z]),G.push([0,1]),z.push([rt,q.bottom]),G.push([1,0])}var et=Os((p.clipHorizontalGuidelines||[]).map(function(mt){return gt("".concat(mt),b)}),(p.clipVerticalGuidelines||[]).map(function(mt){return gt("".concat(mt),E)}),E,b),_=[],J=[];if(V||j)_=[z[4][0],z[2][0]],J=[z[1][1],z[3][1]];else if(O){var dt=[z[0],z[2],z[4],z[6]],at=[G[0],G[2],G[4],G[6]];_=dt.filter(function(mt,Lt){return at[Lt][0]}).map(function(mt){return mt[0]}),J=dt.filter(function(mt,Lt){return at[Lt][1]}).map(function(mt){return mt[1]})}else _=z.filter(function(mt,Lt){return G[Lt][0]}).map(function(mt){return mt[0]}),J=z.filter(function(mt,Lt){return G[Lt][1]}).map(function(mt){return mt[1]});var it=[0,0],ut=Yi(et,p.clipTargetBounds&&{left:0,top:0,right:E,bottom:b},_,J,5),At=ut.horizontal,pt=ut.vertical,st=At.offset,vt=pt.offset;if(At.isBound&&(it[1]+=st),pt.isBound&&(it[0]+=vt),(j||V)&&G[0][0]===0&&G[0][1]===0){var q=qt(H),wt=q.bottom-q.top,kt=j?q.right-q.left:wt,Ft=pt.isBound?L(vt):pt.snapIndex===0?-vt:vt,Dt=At.isBound?L(st):At.snapIndex===0?-st:st;kt-=Ft,wt-=Dt,V&&(wt=xs(pt,At)>0?wt:kt,kt=wt);var Bt=z[0];z[1][1]=Bt[1]-wt,z[2][0]=Bt[0]+kt,z[3][1]=Bt[1]+wt,z[4][0]=Bt[0]-kt}else if(O&&g&&l){var gr=B(iu(T),2),hr=gr[0],di=gr[1],pi=hr&&di?hr/di:0,pu=T[c],Ge=pu.direction||"",Dn=z[1][1],Z=z[5][1],rt=z[7][0],ft=z[3][0];L(st)<=L(vt)?st=Kt(st)*L(vt)/pi:vt=Kt(vt)*L(st)*pi,Ge.indexOf("w")>-1?rt-=vt:Ge.indexOf("e")>-1?ft-=vt:(rt+=vt/2,ft-=vt/2),Ge.indexOf("n")>-1?Dn-=st:Ge.indexOf("s")>-1?Z-=st:(Dn+=st/2,Z-=st/2);var gu=cn(Dn,ft,Z,rt);z.forEach(function(Ai,Su){var Rn;Rn=B(gu[Su].pos,2),Ai[0]=Rn[0],Ai[1]=Rn[1]})}else z.forEach(function(mt,Lt){var hi=G[Lt];hi[0]&&(mt[0]-=vt),hi[1]&&(mt[1]-=st)});var gi=ui(t,d,H),Mn="".concat(D,"(").concat(gi.join(R),")");if(y.clipPathState=Mn,V||j)_=[z[4][0],z[2][0]],J=[z[1][1],z[3][1]];else if(O){var dt=[z[0],z[2],z[4],z[6]];_=dt.map(function(Lt){return Lt[0]}),J=dt.map(function(Lt){return Lt[1]})}else _=z.map(function(mt){return mt[0]}),J=z.map(function(mt){return mt[1]});if(y.snapBoundInfos=Yi(et,p.clipTargetBounds&&{left:0,top:0,right:E,bottom:b},_,J,1),m){var hu=y.is3d,Au=y.allMatrix,mu=hu?4:3,In=it;s&&(In=[C[0]+it[0]-S[0],C[1]+it[1]-S[1]]),m.deltaOffset=ht(Au,[In[0],In[1],0,0],mu)}return X(t,"onClip",ot(t,r,I({clipEventType:"changed",clipType:D,poses:H,clipStyle:Mn,clipStyles:gi,distX:h,distY:A},Ut((a={},a[D==="rect"?"clip":"clipPath"]=Mn,a),r)))),!0},dragControlEnd:function(t,r){this.unset(t);var e=r.isDrag,n=r.datas,a=r.isDouble,i=n.isLine,o=n.isClipStart,s=n.isControl;return o?(X(t,"onClipEnd",Vt(t,r,{})),a&&(s?Xg(t,r):i&&Yg(t,r)),a||e):!1},unset:function(t){t.state.clipPathState="",t.state.snapBoundInfos=null}},Qg={name:"originDraggable",props:["originDraggable","originRelative"],events:["dragOriginStart","dragOrigin","dragOriginEnd"],css:[":host[data-able-origindraggable] .control.origin {\npointer-events: auto;\n}"],dragControlCondition:function(t,r){return r.isRequest?r.requestAble==="originDraggable":Ot(r.inputEvent.target,$("origin"))},dragControlStart:function(t,r){var e=r.datas;Lr(t,r);var n=ot(t,r,{dragStart:zt.dragStart(t,new qr().dragStart([0,0],r))}),a=X(t,"onDragOriginStart",n);return e.startOrigin=t.state.transformOrigin,e.startTargetOrigin=t.state.targetOrigin,e.prevOrigin=[0,0],e.isDragOrigin=!0,a===!1?(e.isDragOrigin=!1,!1):n},dragControl:function(t,r){var e=r.datas,n=r.isPinch,a=r.isRequest;if(!e.isDragOrigin)return!1;var i=B(lr(r),2),o=i[0],s=i[1],u=t.state,l=u.width,f=u.height,v=u.offsetMatrix,c=u.targetMatrix,d=u.is3d,p=t.props.originRelative,g=p===void 0?!0:p,h=d?4:3,A=[o,s];if(a){var m=r.distOrigin;(m[0]||m[1])&&(A=m)}var S=ct(e.startOrigin,A),C=ct(e.startTargetOrigin,A),y=tt(A,e.prevOrigin),E=Pe(v,c,S,h),b=t.getRect(),x=qt(zr(E,l,f,h)),D=[b.left-x.left,b.top-x.top];e.prevOrigin=A;var T=[$t(C[0],l,g),$t(C[1],f,g)].join(" "),R=zt.drag(t,Oe(r,t.state,D,!!n,!1)),M=ot(t,r,I(I({width:l,height:f,origin:S,dist:A,delta:y,transformOrigin:T,drag:R},Ut({transformOrigin:T,transform:R.transform},r)),{afterTransform:R.transform}));return X(t,"onDragOrigin",M),M},dragControlEnd:function(t,r){var e=r.datas;return e.isDragOrigin?(X(t,"onDragOriginEnd",Vt(t,r,{})),!0):!1},dragGroupControlCondition:function(t,r){return this.dragControlCondition(t,r)},dragGroupControlStart:function(t,r){var e=this.dragControlStart(t,r);return!!e},dragGroupControl:function(t,r){var e=this.dragControl(t,r);return e?(t.transformOrigin=e.transformOrigin,!0):!1},request:function(t){var r={},e=t.getRect(),n=0,a=0,i=e.transformOrigin,o=[0,0];return{isControl:!0,requestStart:function(){return{datas:r}},request:function(s){return"deltaOrigin"in s?(o[0]+=s.deltaOrigin[0],o[1]+=s.deltaOrigin[1]):"origin"in s?(o[0]=s.origin[0]-i[0],o[1]=s.origin[1]-i[1]):("x"in s?n=s.x-e.left:"deltaX"in s&&(n+=s.deltaX),"y"in s?a=s.y-e.top:"deltaY"in s&&(a+=s.deltaY)),{datas:r,distX:n,distY:a,distOrigin:o}},requestEnd:function(){return{datas:r,isDrag:!0}}}}};function Kg(t,r,e,n){var a=t.filter(function(u){var l=u.virtual,f=u.horizontal;return f&&!l}).length,i=t.filter(function(u){var l=u.virtual,f=u.vertical;return f&&!l}).length,o=-1;if(r===0&&(a===0?o=0:a===1&&(o=1)),r===2&&(a<=2?o=2:a<=3&&(o=3)),r===3&&(i===0?o=4:i<4&&(o=7)),r===1&&(i<=1?o=5:i<=2&&(o=6)),!(o===-1||!t[o].virtual)){var s=t[o];qg(t,o),o<4?s.pos[0]=e:s.pos[1]=n}}function qg(t,r){r<4?t.slice(0,r+1).forEach(function(e){e.virtual=!1}):(t[0].virtual&&(t[0].virtual=!1),t.slice(4,r+1).forEach(function(e){e.virtual=!1}))}function Jg(t,r){r<4?t.slice(r,4).forEach(function(e){e.virtual=!0}):t.slice(r).forEach(function(e){e.virtual=!0})}function oo(t,r,e,n,a){n===void 0&&(n=[0,0]);var i=[];return!t||t==="0px"?i=[]:i=xr(t),au(i,r,e,0,0,n,a)}function so(t,r,e,n,a){var i=t.state,o=i.width,s=i.height,u=si(a,t.props.roundRelative,o,s),l=u.raws,f=u.styles,v=u.radiusPoses,c=zg(v,l),d=c.horizontals,p=c.verticals,g=f.join(" ");i.borderRadiusState=g;var h=ot(t,r,I({horizontals:d,verticals:p,borderRadius:g,width:o,height:s,delta:n,dist:e},Ut({borderRadius:g},r)));return X(t,"onRound",h),h}function uo(t){var r,e,n=t.getState().style,a=n.borderRadius||"";if(!a&&t.props.groupable){var i=t.moveables[0],o=t.getTargets()[0];o&&((i==null?void 0:i.props.target)===o?(a=(e=(r=t.moveables[0])===null||r===void 0?void 0:r.state.style.borderRadius)!==null&&e!==void 0?e:"",n.borderRadius=a):(a=ei(o).borderRadius,n.borderRadius=a))}return a}var jg={name:"roundable",props:["roundable","roundRelative","minRoundControls","maxRoundControls","roundClickable","roundPadding","isDisplayShadowRoundControls"],events:["roundStart","round","roundEnd","roundGroupStart","roundGroup","roundGroupEnd"],css:[".control.border-radius {\nbackground: #d66;\ncursor: pointer;\nz-index: 3;\n}",".control.border-radius.vertical {\nbackground: #d6d;\nz-index: 2;\n}",".control.border-radius.virtual {\nopacity: 0.5;\nz-index: 1;\n}",":host.round-line-clickable .line.direction {\ncursor: pointer;\n}"],className:function(t){var r=t.props.roundClickable;return r===!0||r==="line"?$("round-line-clickable"):""},requestStyle:function(){return["borderRadius"]},requestChildStyle:function(){return["borderRadius"]},render:function(t,r){var e=t.getState(),n=e.target,a=e.width,i=e.height,o=e.allMatrix,s=e.is3d,u=e.left,l=e.top,f=e.borderRadiusState,v=t.props,c=v.minRoundControls,d=c===void 0?[0,0]:c,p=v.maxRoundControls,g=p===void 0?[4,4]:p,h=v.zoom,A=v.roundPadding,m=A===void 0?0:A,S=v.isDisplayShadowRoundControls,C=v.groupable;if(!n)return null;var y=f||uo(t),E=s?4:3,b=oo(y,a,i,d,!0);if(!b)return null;var x=0,D=0,T=C?[0,0]:[u,l];return b.map(function(R,M){var w=R.horizontal,O=R.vertical,G=R.direction||"",N=W([],B(R.pos),!1);D+=Math.abs(w),x+=Math.abs(O),w&&G.indexOf("n")>-1&&(N[1]-=m),O&&G.indexOf("w")>-1&&(N[0]-=m),w&&G.indexOf("s")>-1&&(N[1]+=m),O&&G.indexOf("e")>-1&&(N[0]+=m);var k=tt(yt(o,N,E),T),F=R.vertical?x<=g[1]&&(S||!R.virtual):D<=g[0]&&(S||!R.virtual);return r.createElement("div",{key:"borderRadiusControl".concat(M),className:$("control","border-radius",R.vertical?"vertical":"",R.virtual?"virtual":""),"data-radius-index":M,style:{display:F?"block":"none",transform:"translate(".concat(k[0],"px, ").concat(k[1],"px) scale(").concat(h,")")}})})},dragControlCondition:function(t,r){if(!r.inputEvent||r.isRequest)return!1;var e=r.inputEvent.target.getAttribute("class")||"";return e.indexOf("border-radius")>-1||e.indexOf("moveable-line")>-1&&e.indexOf("moveable-direction")>-1},dragGroupControlCondition:function(t,r){return this.dragControlCondition(t,r)},dragControlStart:function(t,r){var e=r.inputEvent,n=r.datas,a=e.target,i=a.getAttribute("class")||"",o=i.indexOf("border-radius")>-1,s=i.indexOf("moveable-line")>-1&&i.indexOf("moveable-direction")>-1,u=o?parseInt(a.getAttribute("data-radius-index"),10):-1,l=-1;if(s){var f=a.getAttribute("data-line-key")||"";f&&(l=parseInt(f.replace(/render-line-/g,""),10),isNaN(l)&&(l=-1))}if(!o&&!s)return!1;var v=ot(t,r,{}),c=X(t,"onRoundStart",v);if(c===!1)return!1;n.lineIndex=l,n.controlIndex=u,n.isControl=o,n.isLine=s,Lr(t,r);var d=t.props,p=d.roundRelative,g=d.minRoundControls,h=g===void 0?[0,0]:g,A=t.state,m=A.width,S=A.height;n.isRound=!0,n.prevDist=[0,0];var C=uo(t),y=oo(C||"",m,S,h,!0)||[];return n.controlPoses=y,A.borderRadiusState=si(y,p,m,S).styles.join(" "),v},dragControl:function(t,r){var e=r.datas,n=e.controlPoses;if(!e.isRound||!e.isControl||!n.length)return!1;var a=e.controlIndex,i=B(lr(r),2),o=i[0],s=i[1],u=[o,s],l=tt(u,e.prevDist),f=t.props.maxRoundControls,v=f===void 0?[4,4]:f,c=t.state,d=c.width,p=c.height,g=n[a],h=g.vertical,A=g.horizontal,m=n.map(function(C){var y=C.horizontal,E=C.vertical,b=[y*A*u[0],E*h*u[1]];if(y){if(v[0]===1)return b;if(v[0]<4&&y!==A)return b}else{if(v[1]===0)return b[1]=E*A*u[0]/d*p,b;if(h){if(v[1]===1)return b;if(v[1]<4&&E!==h)return b}}return[0,0]});m[a]=u;var S=n.map(function(C,y){return I(I({},C),{pos:ct(C.pos,m[y])})});return a<4?S.slice(0,a+1).forEach(function(C){C.virtual=!1}):S.slice(4,a+1).forEach(function(C){C.virtual=!1}),e.prevDist=[o,s],so(t,r,u,l,S)},dragControlEnd:function(t,r){var e=t.state;e.borderRadiusState="";var n=r.datas,a=r.isDouble;if(!n.isRound)return!1;var i=n.isControl,o=n.controlIndex,s=n.isLine,u=n.lineIndex,l=n.controlPoses,f=l.filter(function(A){var m=A.virtual;return m}).length,v=t.props.roundClickable,c=v===void 0?!0:v;if(a&&c){if(i&&(c===!0||c==="control"))Jg(l,o);else if(s&&(c===!0||c==="line")){var d=B(fs(t,r),2),p=d[0],g=d[1];Kg(l,u,p,g)}f!==l.filter(function(A){var m=A.virtual;return m}).length&&so(t,r,[0,0],[0,0],l)}var h=Vt(t,r,{});return X(t,"onRoundEnd",h),e.borderRadiusState="",h},dragGroupControlStart:function(t,r){var e=this.dragControlStart(t,r);if(!e)return!1;var n=t.moveables,a=t.props.targets,i=er(t,"roundable",r),o=I({targets:t.props.targets,events:i.map(function(s,u){return I(I({},s),{target:a[u],moveable:n[u],currentTarget:n[u]})})},e);return X(t,"onRoundGroupStart",o),e},dragGroupControl:function(t,r){var e=this.dragControl(t,r);if(!e)return!1;var n=t.moveables,a=t.props.targets,i=er(t,"roundable",r),o=I({targets:t.props.targets,events:i.map(function(s,u){return I(I(I({},s),{target:a[u],moveable:n[u],currentTarget:n[u]}),Ut({borderRadius:e.borderRadius},s))})},e);return X(t,"onRoundGroup",o),o},dragGroupControlEnd:function(t,r){var e=t.moveables,n=t.props.targets,a=er(t,"roundable",r);wn(t,"onRound",function(s){var u=I({targets:t.props.targets,events:a.map(function(l,f){return I(I(I({},l),{target:n[f],moveable:e[f],currentTarget:e[f]}),Ut({borderRadius:s.borderRadius},l))})},s);X(t,"onRoundGroup",u)});var i=this.dragControlEnd(t,r);if(!i)return!1;var o=I({targets:t.props.targets,events:a.map(function(s,u){var l;return I(I({},s),{target:n[u],moveable:e[u],currentTarget:e[u],lastEvent:(l=s.datas)===null||l===void 0?void 0:l.lastEvent})})},i);return X(t,"onRoundGroupEnd",o),o},unset:function(t){t.state.borderRadiusState=""}};function _g(t,r){var e=r?4:3,n=St(e),a="matrix".concat(r?"3d":"","(").concat(n.join(","),")");return t===a||t==="matrix(1,0,0,1,0,0)"}var ou={isPinch:!0,name:"beforeRenderable",props:[],events:["beforeRenderStart","beforeRender","beforeRenderEnd","beforeRenderGroupStart","beforeRenderGroup","beforeRenderGroupEnd"],dragRelation:"weak",setTransform:function(t,r){var e=t.state,n=e.is3d,a=e.targetMatrix,i=e.inlineTransform,o=n?"matrix3d(".concat(a.join(","),")"):"matrix(".concat(_o(a,!0),")"),s=!i||i==="none"?o:i;r.datas.startTransforms=_g(s,n)?[]:xr(s)},resetStyle:function(t){var r=t.datas;r.nextStyle={},r.nextTransforms=t.datas.startTransforms,r.nextTransformAppendedIndexes=[]},fillDragStartParams:function(t,r){return ot(t,r,{setTransform:function(e){r.datas.startTransforms=Rt(e)?e:xr(e)},isPinch:!!r.isPinch})},fillDragParams:function(t,r){return ot(t,r,{isPinch:!!r.isPinch})},dragStart:function(t,r){this.setTransform(t,r),this.resetStyle(r),X(t,"onBeforeRenderStart",this.fillDragStartParams(t,r))},drag:function(t,r){r.datas.startTransforms||this.setTransform(t,r),this.resetStyle(r),X(t,"onBeforeRender",ot(t,r,{isPinch:!!r.isPinch}))},dragEnd:function(t,r){r.datas.startTransforms||(this.setTransform(t,r),this.resetStyle(r)),X(t,"onBeforeRenderEnd",ot(t,r,{isPinch:!!r.isPinch,isDrag:r.isDrag}))},dragGroupStart:function(t,r){var e=this;this.dragStart(t,r);var n=er(t,"beforeRenderable",r),a=t.moveables,i=n.map(function(o,s){var u=a[s];return e.setTransform(u,o),e.resetStyle(o),e.fillDragStartParams(u,o)});X(t,"onBeforeRenderGroupStart",ot(t,r,{isPinch:!!r.isPinch,targets:t.props.targets,setTransform:function(){},events:i}))},dragGroup:function(t,r){var e=this;this.drag(t,r);var n=er(t,"beforeRenderable",r),a=t.moveables,i=n.map(function(o,s){var u=a[s];return e.resetStyle(o),e.fillDragParams(u,o)});X(t,"onBeforeRenderGroup",ot(t,r,{isPinch:!!r.isPinch,targets:t.props.targets,events:i}))},dragGroupEnd:function(t,r){this.dragEnd(t,r),X(t,"onBeforeRenderGroupEnd",ot(t,r,{isPinch:!!r.isPinch,isDrag:r.isDrag,targets:t.props.targets}))},dragControlStart:function(t,r){return this.dragStart(t,r)},dragControl:function(t,r){return this.drag(t,r)},dragControlEnd:function(t,r){return this.dragEnd(t,r)},dragGroupControlStart:function(t,r){return this.dragGroupStart(t,r)},dragGroupControl:function(t,r){return this.dragGroup(t,r)},dragGroupControlEnd:function(t,r){return this.dragGroupEnd(t,r)}},su={name:"renderable",props:[],events:["renderStart","render","renderEnd","renderGroupStart","renderGroup","renderGroupEnd"],dragRelation:"weak",dragStart:function(t,r){X(t,"onRenderStart",ot(t,r,{isPinch:!!r.isPinch}))},drag:function(t,r){X(t,"onRender",this.fillDragParams(t,r))},dragAfter:function(t,r){return this.drag(t,r)},dragEnd:function(t,r){X(t,"onRenderEnd",this.fillDragEndParams(t,r))},dragGroupStart:function(t,r){X(t,"onRenderGroupStart",ot(t,r,{isPinch:!!r.isPinch,targets:t.props.targets}))},dragGroup:function(t,r){var e=this,n=er(t,"beforeRenderable",r),a=t.moveables,i=n.map(function(o,s){var u=a[s];return e.fillDragParams(u,o)});X(t,"onRenderGroup",ot(t,r,I(I({isPinch:!!r.isPinch,targets:t.props.targets,transform:Ue(r),transformObject:{}},Ut(He(r))),{events:i})))},dragGroupEnd:function(t,r){var e=this,n=er(t,"beforeRenderable",r),a=t.moveables,i=n.map(function(o,s){var u=a[s];return e.fillDragEndParams(u,o)});X(t,"onRenderGroupEnd",ot(t,r,I({isPinch:!!r.isPinch,isDrag:r.isDrag,targets:t.props.targets,events:i,transformObject:{},transform:Ue(r)},Ut(He(r)))))},dragControlStart:function(t,r){return this.dragStart(t,r)},dragControl:function(t,r){return this.drag(t,r)},dragControlAfter:function(t,r){return this.dragAfter(t,r)},dragControlEnd:function(t,r){return this.dragEnd(t,r)},dragGroupControlStart:function(t,r){return this.dragGroupStart(t,r)},dragGroupControl:function(t,r){return this.dragGroup(t,r)},dragGroupControlEnd:function(t,r){return this.dragGroupEnd(t,r)},fillDragParams:function(t,r){var e={};return Kr(nn(r)||[]).forEach(function(n){e[n.name]=n.functionValue}),ot(t,r,I({isPinch:!!r.isPinch,transformObject:e,transform:Ue(r)},Ut(He(r))))},fillDragEndParams:function(t,r){var e={};return Kr(nn(r)||[]).forEach(function(n){e[n.name]=n.functionValue}),ot(t,r,I({isPinch:!!r.isPinch,isDrag:r.isDrag,transformObject:e,transform:Ue(r)},Ut(He(r))))}};function he(t,r,e,n,a,i,o){i.clientDistX=i.distX,i.clientDistY=i.distY;var s=a==="Start",u=a==="End",l=a==="After",f=t.state.target,v=i.isRequest,c=n.indexOf("Control")>-1;if(!f||s&&c&&!v&&t.areaElement===i.inputEvent.target)return!1;var d=W([],B(t[r]),!1);if(v){var p=i.requestAble;d.some(function(M){return M.name===p})||d.push.apply(d,W([],B(t.props.ables.filter(function(M){return M.name===p})),!1))}if(!d.length||d.every(function(M){return M.dragRelation}))return!1;var g=i.inputEvent,h;u&&g&&(h=document.elementFromPoint(i.clientX,i.clientY)||g.target);var A=!1,m=function(){var M;A=!0,(M=i.stop)===null||M===void 0||M.call(i)},S=s&&(!t.targetGesto||!t.controlGesto||!t.targetGesto.isFlag()||!t.controlGesto.isFlag());S&&t.updateRect(a,!0,!1);var C=i.datas,y=c?"controlGesto":"targetGesto",E=t[y],b=function(M,w,O){if(!(w in M)||E!==t[y])return!1;var G=M.name,N=C[G]||(C[G]={});if(s&&(N.isEventStart=!O||!M[O]||M[O](t,i)),!N.isEventStart)return!1;var k=M[w](t,I(I({},i),{stop:m,datas:N,originalDatas:C,inputTarget:h}));return t._emitter.off(),s&&k===!1&&(N.isEventStart=!1),k};S&&d.forEach(function(M){M.unset&&M.unset(t)}),b(ou,"drag".concat(n).concat(a));var x=0,D=0;e.forEach(function(M){if(A)return!1;var w="".concat(M).concat(n).concat(a),O="".concat(M).concat(n,"Condition");a===""&&!v&&Js(t.state,i);var G=d.filter(function(F){return F[w]});G=G.filter(function(F,U){return F.name&&G.indexOf(F)===U});var N=G.filter(function(F){return b(F,w,O)}),k=N.length;A&&++x,k&&++D,!A&&s&&G.length&&!k&&(x+=G.filter(function(F){var U=F.name,H=C[U];return H.isEventStart?F.dragRelation!=="strong":!1}).length?1:0)}),(!l||D)&&b(su,"drag".concat(n).concat(a));var T=E!==t[y]||x===e.length;if((u||A||T)&&(t.state.gestos={},t.moveables&&t.moveables.forEach(function(M){M.state.gestos={}}),d.forEach(function(M){M.unset&&M.unset(t)})),s&&!T&&!v&&D&&t.props.preventDefault&&(i==null||i.preventDefault()),t.isUnmounted||T)return!1;if(!s&&D&&!o||u){var R=t.props.flushSync||ks;R(function(){t.updateRect(u?a:"",!0,!1),t.forceUpdate()})}return!s&&!u&&!l&&D&&!o&&he(t,r,e,n,a+"After",i),!0}function wa(t){return function(r){var e,n=r.inputEvent.target,a=t.areaElement,i=t._dragTarget;return!i||!((e=t.controlGesto)===null||e===void 0)&&e.isFlag()?!1:n===i||i.contains(n)||n===a||!t.isMoveableElement(n)&&!t.controlBox.contains(n)||Ot(n,"moveable-area")||Ot(n,"moveable-padding")||Ot(n,"moveable-edgeDraggable")}}function uu(t,r,e){var n=t.controlBox,a=[],i=t.props.dragTarget;return a.push(n),(!t.props.dragArea||i)&&a.push(r),li(t,a,"targetAbles",e,{dragStart:wa(t),pinchStart:wa(t)})}function li(t,r,e,n,a){a===void 0&&(a={});var i=e==="targetAbles",o=t.props,s=o.pinchOutside,u=o.pinchThreshold,l=o.preventClickEventOnDrag,f=o.preventClickDefault,v=o.checkInput,c=o.dragFocusedInput,d=o.preventDefault,p=d===void 0?!0:d,g=o.dragContainer,h=or(g,!0),A={preventDefault:p,preventRightClick:!0,preventWheelClick:!0,container:h||br(t.getControlBoxElement()),pinchThreshold:u,pinchOutside:s,preventClickEventOnDrag:i?l:!1,preventClickEventOnDragStart:i?f:!1,preventClickEventByCondition:i?null:function(C){return t.controlBox.contains(C.target)},checkInput:i?v:!1,dragFocusedInput:c},m=new Dd(r,A),S=n==="Control";return["drag","pinch"].forEach(function(C){["Start","","End"].forEach(function(y){m.on("".concat(C).concat(y),function(E){var b,x=E.eventType,D=C==="drag"&&E.isPinch;if(a[x]&&!a[x](E)){E.stop();return}if(!D){var T=C==="drag"?[C]:["drag",C],R=he(t,e,T,n,y,E);R?(t.props.stopPropagation||y==="Start"&&S)&&((b=E==null?void 0:E.inputEvent)===null||b===void 0||b.stopPropagation()):E.stop()}})})}),m}var Zg=function(){function t(r,e,n){var a=this;this.target=r,this.moveable=e,this.eventName=n,this.ables=[],this._onEvent=function(i){var o=a.eventName,s=a.moveable;s.state.disableNativeEvent||a.ables.forEach(function(u){u[o](s,{inputEvent:i})})},r.addEventListener(n.toLowerCase(),this._onEvent)}return t.prototype.setAbles=function(r){this.ables=r},t.prototype.destroy=function(){this.target.removeEventListener(this.eventName.toLowerCase(),this._onEvent),this.target=null,this.moveable=null},t}();function $g(t,r,e,n){var a;e===void 0&&(e=r);var i=hs(t,r),o=i.matrixes,s=i.is3d,u=i.targetMatrix,l=i.transformOrigin,f=i.targetOrigin,v=i.offsetContainer,c=i.hasFixed,d=i.zoom,p=pp(v,e),g=p.matrixes,h=p.is3d,A=p.offsetContainer,m=p.zoom,S=n||h||s,C=S?4:3,y=t.tagName.toLowerCase()!=="svg"&&"ownerSVGElement"in t,E=u,b=St(C),x=St(C),D=St(C),T=St(C),R=o.length,M=g.map(function(U){return I(I({},U),{matrix:U.matrix?W([],B(U.matrix),!1):void 0})}).reverse();o.reverse(),!s&&S&&(E=ar(E,3,4),Ea(o)),!h&&S&&Ea(M),M.forEach(function(U){x=ht(x,U.matrix,C)});var w=e||Mr(t),O=((a=M[0])===null||a===void 0?void 0:a.target)||Ce(w,w,!0).offsetParent,G=M.slice(1).reduce(function(U,H){return ht(U,H.matrix,C)},St(C));o.forEach(function(U,H){if(R-2===H&&(D=b.slice()),R-1===H&&(T=b.slice()),!U.matrix){var z=o[H+1],V=hg(U,z,O,C,ht(G,b,C));U.matrix=Fr(V,C)}b=ht(b,U.matrix,C)});var N=!y&&s;E||(E=St(N?4:3));var k=xn(y&&E.length===16?ar(E,4,3):E,N),F=x;return x=Jo(x,C,C),{hasZoom:d!==1||m!==1,hasFixed:c,matrixes:o,rootMatrix:x,originalRootMatrix:F,beforeMatrix:D,offsetMatrix:T,allMatrix:b,targetMatrix:E,targetTransform:k,inlineTransform:t.style.transform,transformOrigin:l,targetOrigin:f,is3d:S,offsetContainer:v,offsetRootContainer:A}}function th(t,r,e,n){e===void 0&&(e=r);var a=0,i=0,o=0,s={},u=Hs(t);if(t&&(a=u.offsetWidth,i=u.offsetHeight),t){var l=$g(t,r,e,n),f=Vr(l.allMatrix,l.transformOrigin,a,i);s=I(I({},l),f);var v=Vr(l.allMatrix,[50,50],100,100);o=Ws([v.pos1,v.pos2],v.direction)}var c=n?4:3;return I(I(I({hasZoom:!1,width:a,height:i,rotation:o},u),{originalRootMatrix:St(c),rootMatrix:St(c),beforeMatrix:St(c),offsetMatrix:St(c),allMatrix:St(c),targetMatrix:St(c),targetTransform:"",inlineTransform:"",transformOrigin:[0,0],targetOrigin:[0,0],is3d:!!n,left:0,top:0,right:0,bottom:0,origin:[0,0],pos1:[0,0],pos2:[0,0],pos3:[0,0],pos4:[0,0],direction:1,hasFixed:!1,offsetContainer:null,offsetRootContainer:null,matrixes:[]}),s)}function Da(t,r,e,n,a,i){i===void 0&&(i=[]);var o=1,s=[0,0],u=Ye(),l=Ye(),f=Ye(),v=Ye(),c=[0,0],d={},p=th(r,e,a,!0);if(r){var g=Xt(r);i.forEach(function(M){d[M]=g(M)});var h=p.is3d?4:3,A=Vr(p.offsetMatrix,ct(p.transformOrigin,jo(p.targetMatrix,h)),p.width,p.height);o=A.direction,s=ct(A.origin,[A.left-p.left,A.top-p.top]),v=ge(p.offsetRootContainer);var m=Ce(n,n,!0).offsetParent||p.offsetRootContainer;if(p.hasZoom){var S=Vr(ht(p.originalRootMatrix,p.allMatrix),p.transformOrigin,p.width,p.height),C=Vr(p.originalRootMatrix,un(Xt(m)("transformOrigin")).map(function(M){return parseFloat(M)}),m.offsetWidth,m.offsetHeight);if(u=Hn(S,v),f=Hn(C,v,m,!0),t){var y=S.left,E=S.top;l=Hn({left:y,top:E,bottom:E,right:E},v)}}else{u=ge(r),f=dp(m),t&&(l=ge(t));var b=f.left,x=f.top,D=f.clientLeft,T=f.clientTop,R=[u.left-b,u.top-x];c=tt(_r(p.rootMatrix,R,4),[D+p.left,T+p.top])}}return I({targetClientRect:u,containerClientRect:f,moveableClientRect:l,rootContainerClientRect:v,beforeDirection:o,beforeOrigin:s,originalBeforeOrigin:s,target:r,style:d,offsetDelta:c},p)}function lo(t){var r=t.pos1,e=t.pos2,n=t.pos3,a=t.pos4;if(!r||!e||!n||!a)return null;var i=Nr([r,e,n,a]),o=[i.minX,i.minY],s=tt(t.origin,o);return r=tt(r,o),e=tt(e,o),n=tt(n,o),a=tt(a,o),I(I({},t),{left:t.left,top:t.top,posDelta:o,pos1:r,pos2:e,pos3:n,pos4:a,origin:s,beforeOrigin:s,isPersisted:!0})}var Zr=function(t){Be(r,t);function r(){var e=t!==null&&t.apply(this,arguments)||this;return e.state=I({container:null,gestos:{},renderPoses:[[0,0],[0,0],[0,0],[0,0]],disableNativeEvent:!1,posDelta:[0,0]},Da(null)),e.renderState={},e.enabledAbles=[],e.targetAbles=[],e.controlAbles=[],e.rotation=0,e.scale=[1,1],e.isMoveableMounted=!1,e.isUnmounted=!1,e.events={mouseEnter:null,mouseLeave:null},e._emitter=new hn,e._prevOriginalDragTarget=null,e._originalDragTarget=null,e._prevDragTarget=null,e._dragTarget=null,e._prevDragArea=!1,e._isPropTargetChanged=!1,e._hasFirstTarget=!1,e._reiszeObserver=null,e._observerId=0,e._mutationObserver=null,e._rootContainer=null,e._viewContainer=null,e._viewClassNames=[],e._store={},e.checkUpdateRect=function(){if(!e.isDragging()){var n=e.props.parentMoveable;if(n){n.checkUpdateRect();return}dv(e._observerId),e._observerId=wo(function(){e.isDragging()||e.updateRect()})}},e._onPreventClick=function(n){n.stopPropagation(),n.preventDefault()},e}return r.prototype.render=function(){var e=this.props,n=this.getState(),a=e.parentPosition,i=e.className,o=e.target,s=e.zoom,u=e.cspNonce,l=e.translateZ,f=e.cssStyled,v=e.groupable,c=e.linePadding,d=e.controlPadding;this._checkUpdateRootContainer(),this.checkUpdate(),this.updateRenderPoses();var p=B(a||[0,0],2),g=p[0],h=p[1],A=n.left,m=n.top,S=n.target,C=n.direction,y=n.hasFixed,E=n.offsetDelta,b=e.targets,x=this.isDragging(),D={};this.getEnabledAbles().forEach(function(G){D["data-able-".concat(G.name.toLowerCase())]=!0});var T=this._getAbleClassName(),R=b&&b.length&&(S||v)||o||!this._hasFirstTarget&&this.state.isPersisted,M=this.controlBox||this.props.firstRenderState||this.props.persistData,w=[A-g,m-h];!v&&e.useAccuratePosition&&(w[0]+=E[0],w[1]+=E[1]);var O={position:y?"fixed":"absolute",display:R?"block":"none",visibility:M?"visible":"hidden",transform:"translate3d(".concat(w[0],"px, ").concat(w[1],"px, ").concat(l,")"),"--zoom":s,"--zoompx":"".concat(s,"px")};return c&&(O["--moveable-line-padding"]=c),d&&(O["--moveable-control-padding"]=d),rr(f,I({cspNonce:u,ref:fr(this,"controlBox"),className:"".concat($("control-box",C===-1?"reverse":"",x?"dragging":"")," ").concat(T," ").concat(i)},D,{onClick:this._onPreventClick,style:O}),this.renderAbles(),this._renderLines())},r.prototype.componentDidMount=function(){this.isMoveableMounted=!0,this.isUnmounted=!1;var e=this.props,n=e.parentMoveable,a=e.container;this._checkUpdateRootContainer(),this._checkUpdateViewContainer(),this._updateTargets(),this._updateNativeEvents(),this._updateEvents(),this.updateCheckInput(),this._updateObserver(this.props),!a&&!n&&!this.state.isPersisted&&(this.updateRect("",!1,!1),this.forceUpdate())},r.prototype.componentDidUpdate=function(e){this._checkUpdateRootContainer(),this._checkUpdateViewContainer(),this._updateNativeEvents(),this._updateTargets(),this._updateEvents(),this.updateCheckInput(),this._updateObserver(e)},r.prototype.componentWillUnmount=function(){var e,n;this.isMoveableMounted=!1,this.isUnmounted=!0,this._emitter.off(),(e=this._reiszeObserver)===null||e===void 0||e.disconnect(),(n=this._mutationObserver)===null||n===void 0||n.disconnect();var a=this._viewContainer;a&&this._changeAbleViewClassNames([]),Xr(this,!1),Xr(this,!0);var i=this.events;for(var o in i){var s=i[o];s&&s.destroy()}},r.prototype.getTargets=function(){var e=this.props.target;return e?[e]:[]},r.prototype.getAble=function(e){var n=this.props.ables||[];return Jt(n,function(a){return a.name===e})},r.prototype.getContainer=function(){var e=this.props,n=e.parentMoveable,a=e.wrapperMoveable,i=e.container;return i||a&&a.getContainer()||n&&n.getContainer()||this.controlBox.parentElement},r.prototype.getControlBoxElement=function(){return this.controlBox},r.prototype.isMoveableElement=function(e){var n;return e&&(((n=e.getAttribute)===null||n===void 0?void 0:n.call(e,"class"))||"").indexOf(Xa)>-1},r.prototype.dragStart=function(e){var n=this.targetGesto,a=this.controlGesto;return n&&wa(this)({inputEvent:e})?n.isFlag()||n.triggerDragStart(e):a&&this.isMoveableElement(e.target)&&(a.isFlag()||a.triggerDragStart(e)),this},r.prototype.hitTest=function(e){var n=this.state,a=n.target,i=n.pos1,o=n.pos2,s=n.pos3,u=n.pos4,l=n.targetClientRect;if(!a)return 0;var f;if(ee(e)){var v=e.getBoundingClientRect();f={left:v.left,top:v.top,width:v.width,height:v.height}}else f=I({width:0,height:0},e);var c=f.left,d=f.top,p=f.width,g=f.height,h=Pi([i,o,u,s],l),A=Cd(h,[[c,d],[c+p,d],[c+p,d+g],[c,d+g]]),m=ts(h);return!A||!m?0:Math.min(100,A/m*100)},r.prototype.isInside=function(e,n){var a=this.state,i=a.target,o=a.pos1,s=a.pos2,u=a.pos3,l=a.pos4,f=a.targetClientRect;return i?ua([e,n],Pi([o,s,l,u],f)):!1},r.prototype.updateRect=function(e,n,a){a===void 0&&(a=!0);var i=this.props,o=!i.parentPosition&&!i.wrapperMoveable;o&&Jr(!0);var s=i.parentMoveable,u=this.state,l=u.target||i.target,f=this.getContainer(),v=s?s._rootContainer:this._rootContainer,c=Da(this.controlBox,l,f,f,v||f,this._getRequestStyles());if(!l&&this._hasFirstTarget&&i.persistData){var d=lo(i.persistData);for(var p in d)c[p]=d[p]}o&&Jr(),this.updateState(c,s?!1:a)},r.prototype.isDragging=function(e){var n,a,i=this.targetGesto,o=this.controlGesto;if(i!=null&&i.isFlag()){if(!e)return!0;var s=i.getEventData();return!!(!((n=s[e])===null||n===void 0)&&n.isEventStart)}if(o!=null&&o.isFlag()){if(!e)return!0;var s=o.getEventData();return!!(!((a=s[e])===null||a===void 0)&&a.isEventStart)}return!1},r.prototype.updateTarget=function(e){this.updateRect(e,!0)},r.prototype.getRect=function(){var e=this.state,n=_t(this.state),a=B(n,4),i=a[0],o=a[1],s=a[2],u=a[3],l=qt(n),f=e.width,v=e.height,c=l.width,d=l.height,p=l.left,g=l.top,h=[e.left,e.top],A=ct(h,e.origin),m=ct(h,e.beforeOrigin),S=e.transformOrigin;return{width:c,height:d,left:p,top:g,pos1:i,pos2:o,pos3:s,pos4:u,offsetWidth:f,offsetHeight:v,beforeOrigin:m,origin:A,transformOrigin:S,rotation:this.getRotation()}},r.prototype.getManager=function(){return this},r.prototype.stopDrag=function(e){if(!e||e==="target"){var n=this.targetGesto;(n==null?void 0:n.isIdle())===!1&&ya(this,!1),n==null||n.stop()}if(!e||e==="control"){var n=this.controlGesto;(n==null?void 0:n.isIdle())===!1&&ya(this,!0),n==null||n.stop()}},r.prototype.getRotation=function(){var e=this.state,n=e.pos1,a=e.pos2,i=e.direction;return bg(n,a,i)},r.prototype.request=function(e,n,a){n===void 0&&(n={});var i=this.props,o=i.ables,s=i.groupable,u=o.filter(function(g){return g.name===e})[0];if(this.isDragging()||!u||!u.request)return{request:function(){return this},requestEnd:function(){return this}};var l=this,f=u.request(this),v=a||n.isInstant,c=f.isControl?"controlAbles":"targetAbles",d="".concat(s?"Group":"").concat(f.isControl?"Control":""),p={request:function(g){return he(l,c,["drag"],d,"",I(I({},f.request(g)),{requestAble:e,isRequest:!0}),v),this},requestEnd:function(){return he(l,c,["drag"],d,"End",I(I({},f.requestEnd()),{requestAble:e,isRequest:!0}),v),this}};return he(l,c,["drag"],d,"Start",I(I({},f.requestStart(n)),{requestAble:e,isRequest:!0}),v),v?p.request(n).requestEnd():p},r.prototype.destroy=function(){this.componentWillUnmount()},r.prototype.updateRenderPoses=function(){var e=this.getState(),n=this.props,a=n.padding,i=e.originalBeforeOrigin,o=e.transformOrigin,s=e.allMatrix,u=e.is3d,l=e.pos1,f=e.pos2,v=e.pos3,c=e.pos4,d=e.left,p=e.top,g=e.isPersisted;if(!a){e.renderPoses=[l,f,v,c];return}var h=$s(a),A=h.left,m=h.top,S=h.bottom,C=h.right,y=u?4:3,E=[];g?E=o:this.controlBox&&n.groupable?E=i:E=ct(i,[d,p]);var b=$e(y,Fr(E.map(function(x){return-x}),y),s,Fr(o,y));e.renderPoses=[Ve(b,l,[-A,-m],y),Ve(b,f,[C,-m],y),Ve(b,v,[-A,S],y),Ve(b,c,[C,S],y)]},r.prototype.checkUpdate=function(){this._isPropTargetChanged=!1;var e=this.props,n=e.target,a=e.container,i=e.parentMoveable,o=this.state,s=o.target,u=o.container;if(!(!s&&!n)){this.updateAbles();var l=!ba(s,n),f=l||!ba(u,a);if(f){var v=a||this.controlBox;v&&this.unsetAbles(),this.updateState({target:n,container:a}),!i&&v&&this.updateRect("End",!1,!1),this._isPropTargetChanged=l}}},r.prototype.waitToChangeTarget=function(){return new Promise(function(){})},r.prototype.triggerEvent=function(e,n){this._emitter.trigger(e,n);var a=this.props[e];return a&&a(n)},r.prototype.useCSS=function(e,n){var a=this.props.customStyledMap,i=e+n;return a[i]||(a[i]=ns(e,n)),a[i]},r.prototype.getState=function(){var e,n=this.props;(n.target||!((e=n.targets)===null||e===void 0)&&e.length)&&(this._hasFirstTarget=!0);var a=this.controlBox,i=n.persistData,o=n.firstRenderState;if(o&&!a)return o;if(!this._hasFirstTarget&&i){var s=lo(i);if(s)return this.updateState(s,!1),this.state}return this.state.isPersisted=!1,this.state},r.prototype.updateSelectors=function(){},r.prototype.unsetAbles=function(){var e=this;this.targetAbles.forEach(function(n){n.unset&&n.unset(e)})},r.prototype.updateAbles=function(e,n){e===void 0&&(e=this.props.ables),n===void 0&&(n="");var a=this.props,i=a.triggerAblesSimultaneously,o=this.getEnabledAbles(e),s="drag".concat(n,"Start"),u="pinch".concat(n,"Start"),l="drag".concat(n,"ControlStart"),f=Xe(o,[s,u],i),v=Xe(o,[l],i);this.enabledAbles=o,this.targetAbles=f,this.controlAbles=v},r.prototype.updateState=function(e,n){if(n){if(this.isUnmounted)return;this.setState(e)}else{var a=this.state;for(var i in e)a[i]=e[i]}},r.prototype.getEnabledAbles=function(e){e===void 0&&(e=this.props.ables);var n=this.props;return e.filter(function(a){return a&&(a.always&&n[a.name]!==!1||n[a.name])})},r.prototype.renderAbles=function(){var e=this,n=this.props,a=n.triggerAblesSimultaneously,i={createElement:rr};return this.renderState={},Cg(qs(Xe(this.getEnabledAbles(),["render"],a).map(function(o){var s=o.render;return s(e,i)||[]})).filter(function(o){return o}),function(o){var s=o.key;return s}).map(function(o){return o[0]})},r.prototype.updateCheckInput=function(){this.targetGesto&&(this.targetGesto.options.checkInput=this.props.checkInput)},r.prototype._getRequestStyles=function(){var e=this.getEnabledAbles().reduce(function(n,a){var i,o,s=(o=(i=a.requestStyle)===null||i===void 0?void 0:i.call(a))!==null&&o!==void 0?o:[];return W(W([],B(n),!1),B(s),!1)},W([],B(this.props.requestStyles||[]),!1));return e},r.prototype._updateObserver=function(e){this._updateResizeObserver(e),this._updateMutationObserver(e)},r.prototype._updateEvents=function(){var e=this.controlBox,n=this.targetAbles.length,a=this.controlAbles.length,i=this._dragTarget,o=!n&&this.targetGesto||this._isTargetChanged(!0);o&&(Xr(this,!1),this.updateState({gestos:{}})),a||Xr(this,!0),i&&n&&!this.targetGesto&&(this.targetGesto=uu(this,i,"")),!this.controlGesto&&a&&(this.controlGesto=li(this,e,"controlAbles","Control"))},r.prototype._updateTargets=function(){var e=this.props;this._prevDragTarget=this._dragTarget,this._prevOriginalDragTarget=this._originalDragTarget,this._originalDragTarget=e.dragTarget||e.target,this._dragTarget=or(this._originalDragTarget,!0),this._prevDragArea=e.dragArea},r.prototype._renderLines=function(){var e=this.props,n=e,a=n.zoom,i=n.hideDefaultLines,o=n.hideChildMoveableDefaultLines,s=n.parentMoveable;if(i||s&&o)return[];var u=this.getState().renderPoses,l={createElement:rr};return[[0,1],[1,3],[3,2],[2,0]].map(function(f,v){var c=B(f,2),d=c[0],p=c[1];return Se(l,"",u[d],u[p],a,"render-line-".concat(v))})},r.prototype._isTargetChanged=function(e){var n=this.props,a=n.dragTarget||n.target,i=this._prevOriginalDragTarget,o=this._prevDragArea,s=n.dragArea,u=!s&&i!==a,l=(e||s)&&o!==s;return u||l},r.prototype._updateNativeEvents=function(){var e=this,n=this.props,a=n.dragArea?this.areaElement:this.state.target,i=this.events,o=pr(i);if(this._isTargetChanged())for(var s in i){var u=i[s];u&&u.destroy(),i[s]=null}if(a){var l=this.enabledAbles;o.forEach(function(f){var v=Xe(l,[f]),c=v.length>0,d=i[f];if(!c){d&&(d.destroy(),i[f]=null);return}d||(d=new Zg(a,e,f),i[f]=d),d.setAbles(v)})}},r.prototype._checkUpdateRootContainer=function(){var e=this.props.rootContainer;!this._rootContainer&&e&&(this._rootContainer=or(e,!0))},r.prototype._checkUpdateViewContainer=function(){var e=this.props.viewContainer;!this._viewContainer&&e&&(this._viewContainer=or(e,!0));var n=this._viewContainer;n&&this._changeAbleViewClassNames(W(W([],B(this._getAbleViewClassNames()),!1),[this.isDragging()?Bg:""],!1))},r.prototype._changeAbleViewClassNames=function(e){var n=this._viewContainer,a=Ks(e.filter(Boolean),function(l){return l}).map(function(l){var f=B(l,1),v=f[0];return v}),i=this._viewClassNames,o=we(i,a),s=o.removed,u=o.added;s.forEach(function(l){Ro(n,i[l])}),u.forEach(function(l){Io(n,a[l])}),this._viewClassNames=a},r.prototype._getAbleViewClassNames=function(){var e=this;return(this.getEnabledAbles().map(function(n){var a;return((a=n.viewClassName)===null||a===void 0?void 0:a.call(n,e))||""}).join(" ")+" ".concat(this._getAbleClassName("-view"))).split(/\s+/g)},r.prototype._getAbleClassName=function(e){var n=this;e===void 0&&(e="");var a=this.getEnabledAbles(),i=this.targetGesto,o=this.controlGesto,s=i!=null&&i.isFlag()?i.getEventData():{},u=o!=null&&o.isFlag()?o.getEventData():{};return a.map(function(l){var f,v,c,d=l.name,p=((f=l.className)===null||f===void 0?void 0:f.call(l,n))||"";return(!((v=s[d])===null||v===void 0)&&v.isEventStart||!((c=u[d])===null||c===void 0)&&c.isEventStart)&&(p+=" ".concat($("".concat(d).concat(e,"-dragging")))),p.trim()}).filter(Boolean).join(" ")},r.prototype._updateResizeObserver=function(e){var n,a=this.props,i=a.target,o=br(this.getControlBoxElement());if(!o.ResizeObserver||!i||!a.useResizeObserver){(n=this._reiszeObserver)===null||n===void 0||n.disconnect();return}if(!(e.target===i&&this._reiszeObserver)){var s=new o.ResizeObserver(this.checkUpdateRect);s.observe(i,{box:"border-box"}),this._reiszeObserver=s}},r.prototype._updateMutationObserver=function(e){var n=this,a,i=this.props,o=i.target,s=br(this.getControlBoxElement());if(!s.MutationObserver||!o||!i.useMutationObserver){(a=this._mutationObserver)===null||a===void 0||a.disconnect();return}if(!(e.target===o&&this._mutationObserver)){var u=new s.MutationObserver(function(l){var f,v;try{for(var c=kd(l),d=c.next();!d.done;d=c.next()){var p=d.value;p.type==="attributes"&&p.attributeName==="style"&&n.checkUpdateRect()}}catch(g){f={error:g}}finally{try{d&&!d.done&&(v=c.return)&&v.call(c)}finally{if(f)throw f.error}}});u.observe(o,{attributes:!0}),this._mutationObserver=u}},r.defaultProps={target:null,dragTarget:null,container:null,rootContainer:null,origin:!0,parentMoveable:null,wrapperMoveable:null,isWrapperMounted:!1,parentPosition:null,warpSelf:!1,svgOrigin:"",dragContainer:null,useResizeObserver:!1,useMutationObserver:!1,preventDefault:!0,linePadding:0,controlPadding:0,ables:[],pinchThreshold:20,dragArea:!1,passDragArea:!1,transformOrigin:"",className:"",zoom:1,triggerAblesSimultaneously:!1,padding:{},pinchOutside:!0,checkInput:!1,dragFocusedInput:!1,groupable:!1,hideDefaultLines:!1,cspNonce:"",translateZ:0,cssStyled:null,customStyledMap:{},props:{},stopPropagation:!1,preventClickDefault:!1,preventClickEventOnDrag:!0,flushSync:ks,firstRenderState:null,persistData:null,viewContainer:null,requestStyles:[],useAccuratePosition:!1},r}(No),fi={name:"groupable",props:["defaultGroupRotate","useDefaultGroupRotate","defaultGroupOrigin","groupable","groupableProps","targetGroups","hideChildMoveableDefaultLines"],events:[],render:function(t,r){var e,n=t.props,a=n.targets||[],i=t.getState(),o=i.left,s=i.top,u=i.isPersisted,l=n.zoom||1,f=t.renderGroupRects,v=((e=n.persistData)===null||e===void 0?void 0:e.children)||[];u?a=v.map(function(){return null}):v=[];var c=t._store,d=to(c,"parentPosition",[o,s],function(g){return g.join(",")}),p=to(c,"requestStyles",t.getRequestChildStyles(),function(g){return g.join(",")});return t.moveables=t.moveables.slice(0,a.length),W(W([],B(a.map(function(g,h){return r.createElement(Zr,{key:"moveable"+h,ref:Eo(t,"moveables",h),target:g,origin:!1,requestStyles:p,cssStyled:n.cssStyled,customStyledMap:n.customStyledMap,useResizeObserver:n.useResizeObserver,useMutationObserver:n.useMutationObserver,hideChildMoveableDefaultLines:n.hideChildMoveableDefaultLines,parentMoveable:t,parentPosition:[o,s],persistData:v[h],zoom:l})})),!1),B(qs(f.map(function(g,h){var A=g.pos1,m=g.pos2,S=g.pos3,C=g.pos4,y=[A,m,S,C];return[[0,1],[1,3],[3,2],[2,0]].map(function(E,b){var x=B(E,2),D=x[0],T=x[1];return Se(r,"",tt(y[D],d),tt(y[T],d),l,"group-rect-".concat(h,"-").concat(b))})}))),!1)}},rh=Te("clickable",{props:["clickable"],events:["click","clickGroup"],always:!0,dragRelation:"weak",dragStart:function(){},dragControlStart:function(){},dragGroupStart:function(t,r){r.datas.inputTarget=r.inputEvent&&r.inputEvent.target},dragEnd:function(t,r){var e=t.props.target,n=r.inputEvent,a=r.inputTarget,i=t.isMoveableElement(a),o=!i&&t.controlBox.contains(a);if(!(!n||!a||r.isDrag||t.isMoveableElement(a)||o)){var s=e.contains(a);X(t,"onClick",ot(t,r,{isDouble:r.isDouble,inputTarget:a,isTarget:e===a,moveableTarget:t.props.target,containsTarget:s}))}},dragGroupEnd:function(t,r){var e=r.inputEvent,n=r.inputTarget;if(!(!e||!n||r.isDrag||t.isMoveableElement(n)||r.datas.inputTarget===n)){var a=t.props.targets,i=a.indexOf(n),o=i>-1,s=!1;i===-1&&(i=dr(a,function(u){return u.contains(n)}),s=i>-1),X(t,"onClickGroup",ot(t,r,{isDouble:r.isDouble,targets:a,inputTarget:n,targetIndex:i,isTarget:o,containsTarget:s,moveableTarget:a[i]}))}},dragControlEnd:function(t,r){this.dragEnd(t,r)},dragGroupControlEnd:function(t,r){this.dragEnd(t,r)}});function Ur(t){var r=t.originalDatas.draggable;return r||(t.originalDatas.draggable={},r=t.originalDatas.draggable),I(I({},t),{datas:r})}var eh=Te("edgeDraggable",{css:[".edge.edgeDraggable.line {\ncursor: move;\n}"],render:function(t,r){var e=t.props,n=e.edgeDraggable;return n?Ss(r,"edgeDraggable",n,t.getState().renderPoses,e.zoom):[]},dragCondition:function(t,r){var e,n=t.props,a=(e=r.inputEvent)===null||e===void 0?void 0:e.target;return!n.edgeDraggable||!a?!1:!n.draggable&&Ot(a,$("direction"))&&Ot(a,$("edge"))&&Ot(a,$("edgeDraggable"))},dragStart:function(t,r){return zt.dragStart(t,Ur(r))},drag:function(t,r){return zt.drag(t,Ur(r))},dragEnd:function(t,r){return zt.dragEnd(t,Ur(r))},dragGroupCondition:function(t,r){var e,n=t.props,a=(e=r.inputEvent)===null||e===void 0?void 0:e.target;return!n.edgeDraggable||!a?!1:!n.draggable&&Ot(a,$("direction"))&&Ot(a,$("line"))},dragGroupStart:function(t,r){return zt.dragGroupStart(t,Ur(r))},dragGroup:function(t,r){return zt.dragGroup(t,Ur(r))},dragGroupEnd:function(t,r){return zt.dragGroupEnd(t,Ur(r))},unset:function(t){return zt.unset(t)}}),lu={name:"individualGroupable",props:["individualGroupable","individualGroupableProps"],events:[]},ci=[ou,eu,og,wg,zt,eh,ma,Dg,Ig,Yp,Pg,Gg,Tg,Qg,Vg,jg,fi,lu,rh,ru,su],nh=ci.reduce(function(t,r){return(r.events||[]).forEach(function(e){Mo(t,e)}),t},[]),ah=ci.reduce(function(t,r){return(r.props||[]).forEach(function(e){Mo(t,e)}),t},[]);function fo(t,r){var e=B(t,3),n=e[0],a=e[1],i=e[2];return(n*r[0]+a*r[1]+i)/Math.sqrt(n*n+a*a)}function qe(t,r){var e=B(t,2),n=e[0],a=e[1];return-n*r[0]-a*r[1]}function co(t,r){return Math.max.apply(Math,W([],B(t.map(function(e){var n=B(e,4),a=n[0],i=n[1],o=n[2],s=n[3];return Math.max(a[r],i[r],o[r],s[r])})),!1))}function vo(t,r){return Math.min.apply(Math,W([],B(t.map(function(e){var n=B(e,4),a=n[0],i=n[1],o=n[2],s=n[3];return Math.min(a[r],i[r],o[r],s[r])})),!1))}function ih(t,r){var e,n,a,i=[0,0],o=[0,0],s=[0,0],u=[0,0],l=0,f=0;if(!t.length)return{pos1:i,pos2:o,pos3:s,pos4:u,minX:0,minY:0,maxX:0,maxY:0,width:l,height:f,rotation:r};var v=nt(r,Ht);if(v%90){var c=v/180*Math.PI,d=Math.tan(c),p=-1/d,g=[pa,Ni],h=[[0,0],[0,0]],A=[pa,Ni],m=[[0,0],[0,0]];t.forEach(function(j){j.forEach(function(q){var K=fo([-d,1,0],q),Y=fo([-p,1,0],q);g[0]>K&&(h[0]=q,g[0]=K),g[1]Y&&(m[0]=q,A[0]=Y),A[1]180){var k=[u,s,o,i];a=B(k,4),i=a[0],o=a[1],s=a[2],u=a[3]}var F=Nr([i,o,s,u]),U=F.minX,H=F.minY,z=F.maxX,V=F.maxY;return{pos1:i,pos2:o,pos3:s,pos4:u,width:l,height:f,minX:U,minY:H,maxX:z,maxY:V,rotation:r}}function fu(t,r){var e=r.map(function(n){if(Rt(n)){var a=fu(t,n),i=a.length;return i>1?a:i===1?a[0]:null}else{var o=Jt(t,function(s){var u=s.manager;return u.props.target===n});return o?(o.finded=!0,o.manager):null}}).filter(Boolean);return e.length===1&&Rt(e[0])?e[0]:e}var oh=function(t){Be(r,t);function r(){var e=t!==null&&t.apply(this,arguments)||this;return e.differ=new $o,e.moveables=[],e.transformOrigin="50% 50%",e.renderGroupRects=[],e._targetGroups=[],e._hasFirstTargets=!1,e}return r.prototype.componentDidMount=function(){t.prototype.componentDidMount.call(this)},r.prototype.checkUpdate=function(){this._isPropTargetChanged=!1,this.updateAbles()},r.prototype.getTargets=function(){return this.props.targets},r.prototype.updateRect=function(e,n,a){var i;a===void 0&&(a=!0);var o=this.state;if(!this.controlBox||o.isPersisted)return;Jr(!0),this.moveables.forEach(function(rt){rt.updateRect(e,!1,!1)});var s=this.props,u=this.moveables,l=o.target||s.target,f=u.map(function(rt){return{finded:!1,manager:rt}}),v=this.props.targetGroups||[],c=fu(f,v),d=s.useDefaultGroupRotate;c.push.apply(c,W([],B(f.filter(function(rt){var ft=rt.finded;return!ft}).map(function(rt){var ft=rt.manager;return ft})),!1));var p=[],g=!n||e!==""&&s.updateGroup,h=s.defaultGroupRotate||0;if(!this._hasFirstTargets){var A=(i=s.persistData)===null||i===void 0?void 0:i.rotation;A!=null&&(h=A)}function m(rt,ft,et){var _=rt.map(function(pt){if(Rt(pt)){var st=m(pt,ft),vt=[st.pos1,st.pos2,st.pos3,st.pos4];return p.push(st),{poses:vt,rotation:st.rotation}}else return{poses:_t(pt.state),rotation:pt.getRotation()}}),J=_.map(function(pt){var st=pt.rotation;return st}),dt=0,at=J[0],it=J.every(function(pt){return Math.abs(at-pt)<.1});g?dt=!d&&it?at:h:dt=!d&&!et&&it?at:ft;var ut=_.map(function(pt){var st=pt.poses;return st}),At=ih(ut,dt);return At}var S=m(c,this.rotation,!0);g&&(this.rotation=S.rotation,this.transformOrigin=s.defaultGroupOrigin||"50% 50%",this.scale=[1,1]),this._targetGroups=v,this.renderGroupRects=p;var C=this.transformOrigin,y=this.rotation,E=this.scale,b=S.width,x=S.height,D=S.minX,T=S.minY,R=xg([[0,0],[b,0],[0,x],[b,x]],oi(C,b,x),this.rotation/180*Math.PI),M=Nr(R.result),w=M.minX,O=M.minY,G=" rotate(".concat(y,"deg)")+" scale(".concat(Kt(E[0]),", ").concat(Kt(E[1]),")"),N="translate(".concat(-w,"px, ").concat(-O,"px)").concat(G);this.controlBox.style.transform="translate3d(".concat(D,"px, ").concat(T,"px, ").concat(this.props.translateZ||0,")"),l.style.cssText+="left:0px;top:0px;"+"transform-origin:".concat(C,";")+"width:".concat(b,"px;height:").concat(x,"px;")+"transform: ".concat(N),o.width=b,o.height=x;var k=this.getContainer(),F=Da(this.controlBox,l,this.controlBox,this.getContainer(),this._rootContainer||k,[]),U=[F.left,F.top],H=B(_t(F),4),z=H[0],V=H[1],j=H[2],q=H[3],K=Nr([z,V,j,q]),Y=[K.minX,K.minY],Z=Kt(E[0]*E[1]);F.pos1=tt(z,Y),F.pos2=tt(V,Y),F.pos3=tt(j,Y),F.pos4=tt(q,Y),F.left=D-F.left+Y[0],F.top=T-F.top+Y[1],F.origin=tt(ct(U,F.origin),Y),F.beforeOrigin=tt(ct(U,F.beforeOrigin),Y),F.originalBeforeOrigin=ct(U,F.originalBeforeOrigin),F.transformOrigin=tt(ct(U,F.transformOrigin),Y),l.style.transform="translate(".concat(-w-Y[0],"px, ").concat(-O-Y[1],"px)")+G,Jr(),this.updateState(I(I({},F),{posDelta:Y,direction:Z,beforeDirection:Z}),a)},r.prototype.getRect=function(){return I(I({},t.prototype.getRect.call(this)),{children:this.moveables.map(function(e){return e.getRect()})})},r.prototype.triggerEvent=function(e,n,a){if(a||e.indexOf("Group")>-1)return t.prototype.triggerEvent.call(this,e,n);this._emitter.trigger(e,n)},r.prototype.getRequestChildStyles=function(){var e=this.getEnabledAbles().reduce(function(n,a){var i,o,s=(o=(i=a.requestChildStyle)===null||i===void 0?void 0:i.call(a))!==null&&o!==void 0?o:[];return W(W([],B(n),!1),B(s),!1)},[]);return e},r.prototype.updateAbles=function(){t.prototype.updateAbles.call(this,W(W([],B(this.props.ables),!1),[fi],!1),"Group")},r.prototype._updateTargets=function(){t.prototype._updateTargets.call(this),this._originalDragTarget=this.props.dragTarget||this.areaElement,this._dragTarget=or(this._originalDragTarget,!0)},r.prototype._updateEvents=function(){var e=this.state,n=this.props,a=this._prevDragTarget,i=n.dragTarget||this.areaElement,o=n.targets,s=this.differ.update(o),u=s.added,l=s.changed,f=s.removed,v=u.length||f.length;(v||a!==i)&&(Xr(this,!1),Xr(this,!0),this.updateState({gestos:{}})),a!==i&&(e.target=null),e.target||(e.target=this.areaElement,this.controlBox.style.display="block"),e.target&&(this.targetGesto||(this.targetGesto=uu(this,this._dragTarget,"Group")),this.controlGesto||(this.controlGesto=li(this,this.controlBox,"controlAbles","GroupControl")));var c=!ba(e.container,n.container);c&&(e.container=n.container),(c||v||this.transformOrigin!==(n.defaultGroupOrigin||"50% 50%")||l.length||o.length&&!Zs(this._targetGroups,n.targetGroups||[]))&&(this.updateRect(),this._hasFirstTargets=!0),this._isPropTargetChanged=!!v},r.prototype._updateObserver=function(){},r.defaultProps=I(I({},Zr.defaultProps),{transformOrigin:["50%","50%"],groupable:!0,dragArea:!0,keepRatio:!0,targets:[],defaultGroupRotate:0,defaultGroupOrigin:"50% 50%"}),r}(Zr),sh=function(t){Be(r,t);function r(){var e=t!==null&&t.apply(this,arguments)||this;return e.moveables=[],e}return r.prototype.render=function(){var e=this,n,a=this.props,i=a.cspNonce,o=a.cssStyled,s=a.persistData,u=a.targets||[],l=u.length,f=this.isUnmounted||!l,v=(n=s==null?void 0:s.children)!==null&&n!==void 0?n:[];return f&&!l&&v.length?u=v.map(function(){return null}):f||(v=[]),rr(o,{cspNonce:i,ref:fr(this,"controlBox"),className:$("control-box")},u.map(function(c,d){var p,g,h=(g=(p=a.individualGroupableProps)===null||p===void 0?void 0:p.call(a,c,d))!==null&&g!==void 0?g:{};return rr(Zr,I({key:"moveable"+d,ref:Eo(e,"moveables",d)},a,h,{target:c,wrapperMoveable:e,isWrapperMounted:e.isMoveableMounted,persistData:v[d]}))}))},r.prototype.componentDidMount=function(){},r.prototype.componentDidUpdate=function(){},r.prototype.getTargets=function(){return this.props.targets},r.prototype.updateRect=function(e,n,a){a===void 0&&(a=!0),Jr(!0),this.moveables.forEach(function(i){i.updateRect(e,n,a)}),Jr()},r.prototype.getRect=function(){return I(I({},t.prototype.getRect.call(this)),{children:this.moveables.map(function(e){return e.getRect()})})},r.prototype.request=function(){return{request:function(){return this},requestEnd:function(){return this}}},r.prototype.dragStart=function(){return this},r.prototype.hitTest=function(){return 0},r.prototype.isInside=function(){return!1},r.prototype.isDragging=function(){return!1},r.prototype.updateRenderPoses=function(){},r.prototype.checkUpdate=function(){},r.prototype.triggerEvent=function(){},r.prototype.updateAbles=function(){},r.prototype._updateEvents=function(){},r.prototype._updateObserver=function(){},r}(Zr);function cu(t,r){var e=[];return t.forEach(function(n){if(n){if(Yt(n)){r[n]&&e.push.apply(e,W([],B(r[n]),!1));return}Rt(n)?e.push.apply(e,W([],B(cu(n,r)),!1)):e.push(n)}}),e}function vu(t,r){var e=[];return t.forEach(function(n){if(n){if(Yt(n)){r[n]&&e.push.apply(e,W([],B(r[n]),!1));return}Rt(n)?e.push(vu(n,r)):e.push(n)}}),e}function du(t,r){return t.length!==r.length||t.some(function(e,n){var a=r[n];return!e&&!a?!1:e!=a?Rt(e)&&Rt(a)?du(e,a):!0:!1})}var uh=function(t){Be(r,t);function r(){var e=t!==null&&t.apply(this,arguments)||this;return e.refTargets=[],e.selectorMap={},e._differ=new $o,e._elementTargets=[],e._onChangeTargets=null,e}return r.makeStyled=function(){var e={},n=this.getTotalAbles();n.forEach(function(i){var o=i.css;o&&o.forEach(function(s){e[s]=!0})});var a=pr(e).join("\n");this.defaultStyled=ns("div",rv(Xa,qd+a))},r.getTotalAbles=function(){return W([eu,fi,lu,ru],B(this.defaultAbles),!1)},r.prototype.render=function(){var e,n=this.constructor;n.defaultStyled||n.makeStyled();var a=this.props,i=a.ables,o=a.props,s=Fd(a,["ables","props"]),u=this._updateRefs(!0),l=cu(u,this.selectorMap),f=l.length>1,v=n.getTotalAbles(),c=W(W([],B(v),!1),B(i||[]),!1),d=I(I(I({},s),o||{}),{ables:c,cssStyled:n.defaultStyled,customStyledMap:n.customStyledMap});this._elementTargets=l;var p=null,g=this.moveable,h=s.persistData;if(h!=null&&h.children&&(f=!0),s.individualGroupable)return rr(sh,I({key:"individual-group",ref:fr(this,"moveable")},d,{target:null,targets:l}));if(f){var A=vu(u,this.selectorMap);if(g&&!g.props.groupable&&!g.props.individualGroupable){var m=g.props.target;m&&l.indexOf(m)>-1&&(p=I({},g.state))}return rr(oh,I({key:"group",ref:fr(this,"moveable")},d,(e=s.groupableProps)!==null&&e!==void 0?e:{},{target:null,targets:l,targetGroups:A,firstRenderState:p}))}else{var S=l[0];if(g&&(g.props.groupable||g.props.individualGroupable)){var C=g.moveables||[],y=Jt(C,function(E){return E.props.target===S});y&&(p=I({},y.state))}return rr(Zr,I({key:"single",ref:fr(this,"moveable")},d,{target:S,firstRenderState:p}))}},r.prototype.componentDidMount=function(){this._checkChangeTargets(),this._updateRefs()},r.prototype.componentDidUpdate=function(){this._checkChangeTargets()},r.prototype.componentWillUnmount=function(){this.selectorMap={},this.refTargets=[]},r.prototype.getTargets=function(){var e,n;return(n=(e=this.moveable)===null||e===void 0?void 0:e.getTargets())!==null&&n!==void 0?n:[]},r.prototype.updateSelectors=function(){this.selectorMap={},this._updateRefs()},r.prototype.waitToChangeTarget=function(){var e=this,n;return this._onChangeTargets=function(){e._onChangeTargets=null,n()},new Promise(function(a){n=a})},r.prototype.waitToChangeTargets=function(){return this.waitToChangeTarget()},r.prototype.getManager=function(){return this.moveable},r.prototype._updateRefs=function(e){var n=this.refTargets,a=ii(this.props.target||this.props.targets),i=typeof document<"u",o=du(n,a),s=this.selectorMap,u={};return this.refTargets.forEach(function l(f){if(Yt(f)){var v=s[f];v?u[f]=s[f]:i&&(o=!0,u[f]=[].slice.call(document.querySelectorAll(f)))}else Rt(f)&&f.forEach(l)}),this.refTargets=a,this.selectorMap=u,!e&&o&&this.forceUpdate(),a},r.prototype._checkChangeTargets=function(){var e,n,a,i=this._differ.update(this._elementTargets),o=i.added,s=i.removed,u=o.length||s.length;u&&((n=(e=this.props).onChangeTargets)===null||n===void 0||n.call(e,{moveable:this.moveable,targets:this._elementTargets}),(a=this._onChangeTargets)===null||a===void 0||a.call(this)),this._updateRefs()},r.defaultAbles=[],r.customStyledMap={},r.defaultStyled=null,Nd([ev(ls)],r.prototype,"moveable",void 0),r}(No),lh=function(t){Be(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.defaultAbles=ci,r}(uh),Ma=function(t,r){return Ma=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])},Ma(t,r)};function vi(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");Ma(t,r);function e(){this.constructor=t}t.prototype=r===null?Object.create(r):(e.prototype=r.prototype,new e)}var Ee=function(){return Ee=Object.assign||function(r){for(var e,n=1,a=arguments.length;n=0;s--)(o=t[s])&&(i=(a<3?o(i):a>3?o(r,e,i):o(r,e))||i);return a>3&&i&&Object.defineProperty(r,e,i),i}var ch=function(t){vi(r,t);function r(n){var a=t.call(this,n)||this;return a.state={},a.state=a.props,a}var e=r.prototype;return e.render=function(){return rr(lh,Ee({ref:fr(this,"moveable")},this.state))},r}(ka),vh=ah,dh=ls,ph=nh,gh=function(t){vi(r,t);function r(n,a){a===void 0&&(a={});var i=t.call(this)||this;i.containerProvider=null,i.selfElement=null,i._warp=!1;var o=Ee({},a),s={};ph.forEach(function(f){s[vv("on ".concat(f))]=function(v){return i.trigger(f,v)}});var u;a.warpSelf?(delete a.warpSelf,i._warp=!0,u=n):(u=re(n).createElement("div"),n.appendChild(u)),i.containerProvider=Bi(rr(ch,Ee({ref:fr(i,"innerMoveable")},o,s)),u),i.selfElement=u;var l=o.target;return Rt(l)&&l.length>1&&i.updateRect(),i}var e=r.prototype;return e.setState=function(n,a){this.innerMoveable.setState(n,a)},e.forceUpdate=function(n){this.innerMoveable.forceUpdate(n)},e.dragStart=function(n){var a=this.innerMoveable;a.$_timer&&this.forceUpdate(),this.getMoveable().dragStart(n)},e.destroy=function(){var n,a=this.selfElement;Bi(null,a,this.containerProvider),this._warp||(n=a==null?void 0:a.parentElement)===null||n===void 0||n.removeChild(a),this.containerProvider=null,this.off(),this.selfElement=null,this.innerMoveable=null},e.getMoveable=function(){return this.innerMoveable.moveable},r=fh([Ei(dh,function(n,a){n[a]||(n[a]=function(){for(var i=[],o=0;o{document.querySelector(".wrap")&&new hh(document.querySelector(".wrap"),{target:document.querySelector("#moveNPopover"),container:document.querySelector(".wrap"),draggable:!0,resizable:!1,scalable:!1,rotatable:!1,warpable:!1,pinchable:!1,origin:!1,keepRatio:!1,edge:!1,throttleDrag:0,throttleResize:0,throttleScale:0,throttleRotate:0}).on("drag",({target:M,left:w,top:O,right:G,bottom:N})=>{v.value=!0,c.value&&c.value.setShow(!1);const k=document.getElementById("moveNPopover"),F=getComputedStyle(k,null),U={left:Number(F.left.replace("px","")),top:Number(F.top.replace("px","")),width:Number(F.width.replace("px","")),height:Number(F.height.replace("px",""))},H=parseInt(window.getComputedStyle(document.querySelector(".wrap")).width)-U.width,z=parseInt(window.getComputedStyle(document.querySelector(".wrap")).height)-U.height;k.style.transition="",l.isBoundary=!1,l.isBoundaryType="",l.mainHeight=z,l.mainWidth=H,l.subWidth=U.width,l.subHeight=U.height,w<0&&(w=2,l.isBoundary=!0,l.isBoundaryType="left"),O<0&&(O=2,l.isBoundary=!0,l.isBoundaryType="top"),G<0&&(G=2),N<0&&(N=2),w>H-2&&(w=H-2,l.isBoundary=!0,l.isBoundaryType="right"),O>z-2&&(O=z-2,l.isBoundary=!0,l.isBoundaryType="bottom"),M.style.left="".concat(w,"px"),M.style.top="".concat(O,"px")}).on("dragEnd",async({target:M,clientX:w})=>{document.body.clientWidth/2-w>0?n.value="right":n.value="left",v.value=!1,l.isBoundary&&(M.style.transition=".3s",S(M,l.isBoundaryType))})};po(()=>f.path,R=>{const M=document.getElementById("WrapcoreViewWrap");M&&(M.scrollTo(0,0),window.scrollTo(0,0))});const p=tr({baseListTab:""});Qn(()=>{const R=f.path,M=["/classDetail","/classStudentDetail","/notation","/xiaoku-ai","/studentDetail","/classStudentRecode","/afterWorkDetail"];return f.path==="/setting"?p.baseListTab==="school":!M.includes(R)}),Qn(()=>{const R=f.path;return console.log(R,"routePath",R),!["/prepare-lessons"].includes(R)}),te(()=>{d();const R=document.getElementById("moveNPopover");h(R,l),C(R,l),window.addEventListener("resize",g),yr.on("base-setting-emit",M=>{p.baseListTab=M}),yr.on("auth-not-installed",()=>{i.value=!0})});const g=()=>{const R=document.getElementById("moveNPopover");R.style.display="none",c.value&&c.value.setShow(!1),setTimeout(()=>{R.style.transition="",C(R,l),h(R,l),console.log("resize"),R.style.display="block"},100)};ho(()=>{window.removeEventListener("resize",g)});const h=(R,M)=>{R.addEventListener("mouseover",()=>{M.isBoundary&&(M.isBoundaryType=="left"?R.style.left="2px":M.isBoundaryType=="right"?R.style.left="".concat(M.mainWidth-2,"px"):M.isBoundaryType=="top"?R.style.top="2px":M.isBoundaryType=="bottom"&&(R.style.top="".concat(M.mainHeight-2,"px"))),m(R,0)}),R.addEventListener("mouseout",()=>{M.isBoundary&&(M.isBoundaryType=="left"?S(R,"left"):M.isBoundaryType=="right"?S(R,"right"):M.isBoundaryType=="top"?S(R,"top"):M.isBoundaryType=="bottom"&&S(R,"bottom"))})},A=R=>{R=="setTimeIcon"&&(u.value=!0),R=="beatIcon"&&(o.value=!0),R=="toneIcon"&&(s.value=!0),R=="iconNote"&&(c.value&&c.value.setShow(!1),console.log(f.name,"guideInfo"),yr.emit("teacher-guideInfo",f.name)),R=="iconWhiteBorad"&&(y.whiteboardShow=!0,y.type="whiteboard",y.homeStatus=!1,c.value&&c.value.setShow(!1)),R=="iconPen"&&(y.penShow=!0,y.type="pen",y.homeStatus=!1,c.value&&c.value.setShow(!1))},m=(R,M)=>{R.style.transform=" rotate("+M+")"},S=(R,M)=>{switch(M){case"left":m(R,"90deg"),R.style.left="".concat(2-l.subWidth/2,"px"),R.style.top="".concat(top,"px");break;case"right":m(R,"-90deg"),R.style.left="".concat(l.mainWidth-2+l.subWidth/2,"px"),R.style.top="".concat(top,"px");break;case"top":R.style.top="".concat(2-l.subHeight/2,"px"),m(R,"-180deg");break;case"bottom":R.style.top="".concat(l.mainHeight-2+l.subHeight/2,"px");break;default:m(R,"-0");break}},C=(R,M)=>{const w=getComputedStyle(R,null),O={left:Number(w.left.replace("px","")),top:Number(w.top.replace("px","")),width:Number(w.width.replace("px","")),height:Number(w.height.replace("px",""))},G=parseInt(window.getComputedStyle(document.querySelector(".wrap")).width)-O.width,N=parseInt(window.getComputedStyle(document.querySelector(".wrap")).height)-O.height;M.mainHeight=N,M.mainWidth=G,M.subWidth=O.width,M.subHeight=O.height,R.style.transition=".3s .3s"},y=tr({homeStatus:!0,type:"",penShow:!1,whiteboardShow:!1});Ju();const E=ye(),b="timerMeterConBoxClass_drag",x=Si(["".concat(b," .timeBomCon .bom_drag"),"".concat(b," .topDragDom")],b,u,E.info.id),D="metronomeConBoxClass_drag",T=Si(["".concat(D," .topDragDom"),"".concat(D," .bom_drag")],D,o,E.info.id);return()=>P("div",{class:[Q.wrap,"wrap"]},[P("div",null,[P(wf,null,null)]),P("div",{class:Q.Wrapcore},[P($c,null,null),P("div",{class:Q.WrapcoreView,id:"WrapcoreViewWrap"},[P(Nu("router-view"),null,{default:R=>P(ku,{name:"fade-slide",mode:"out-in"},{default:()=>[P(R.Component,null,null)]})})])]),P(Kn,{raw:!0,trigger:"click",ref:c,"show-arrow":!1,placement:n.value},{default:()=>[P("div",{class:Q.booxToolWrap},[P("div",null,[P("div",{class:Q.booxToolItem,onClick:()=>A("beatIcon")},[P("img",{src:Ch,alt:""},null),bt("节拍器")]),P("div",{class:Q.booxToolItem,onClick:()=>A("setTimeIcon")},[P("img",{src:Sh,alt:""},null),bt("计时器")])]),P("div",null,[P("div",{class:Q.booxToolItem,onClick:()=>A("iconPen")},[P("img",{src:Eh,alt:""},null),bt("批注")]),P("div",{class:Q.booxToolItem,onClick:()=>A("iconWhiteBorad")},[P("img",{src:yh,alt:""},null),bt("白板")])])])],trigger:()=>P("img",{src:mh,id:"moveNPopover",style:{display:y.homeStatus?"block":"none"},onTouchstart:()=>{c==null||c.value.setShow(!0)},class:[Q.toolboxImg,"moveNPopover",v.value?Q.isDragIng:""],alt:""},null)}),y.penShow&&P(Ci,{show:y.type==="pen",type:y.type,close:()=>{y.type="init",y.homeStatus=!0}},null),y.whiteboardShow&&P(Ci,{show:y.type==="whiteboard",type:y.type,close:()=>{y.type="init",y.homeStatus=!0}},null),P(ju,{modelValue:o.value,"onUpdate:modelValue":R=>o.value=R,dragClass:D,dragStyle:T.styleDrag.value},null),P(Sr,{show:s.value,"onUpdate:show":R=>s.value=R,class:["background"]},{default:()=>[P("div",null,[P(_u,{onClose:()=>{s.value=!1}},null)])]}),P(Sr,{show:u.value,"onUpdate:show":R=>u.value=R,class:b,style:x.styleDrag.value},{default:()=>[P("div",null,[P("img",{class:Q.timerMeterClose,src:Ah,onClick:()=>{u.value=!1}},null),P("div",{class:"topDragDom"},null),P(Zu,null,null)])]}),P(Sr,{show:a.value,"onUpdate:show":R=>a.value=R,class:["modalTitle background",Q.showClass],preset:"card",title:"开始上课"},{default:()=>[P(tl,{onClose:()=>a.value=!1,type:"change",onConfirm:R=>{a.value=!1,t.push({path:"/prepare-lessons",query:{...R}})}},null)]}),P($u,{show:r.value,"onUpdate:show":R=>r.value=R,type:"attend",params:e.value},null),P(Sr,{show:i.value,"onUpdate:show":R=>i.value=R,closeOnEsc:!1,maskClosable:!1},{default:()=>[P(rl,{onClose:()=>i.value=!1},null)]})])}});export{c0 as default};