diff --git a/assets/index-tUGxYXsJ.js b/assets/index-9AA59_ks.js similarity index 99% rename from assets/index-tUGxYXsJ.js rename to assets/index-9AA59_ks.js index 692164a3..77a73ca1 100644 --- a/assets/index-tUGxYXsJ.js +++ b/assets/index-9AA59_ks.js @@ -173,7 +173,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho `)&&(L="(?: "+L+")",E=" "+E,k++),A=new RegExp("^(?:"+L+")",w)),p&&(A=new RegExp("^"+L+"$(?!\\s)",w)),d&&(R=y.lastIndex),b=c.call(T?A:y,E),T?b?(b.input=b.input.slice(k),b[0]=b[0].slice(k),b.index=y.lastIndex,y.lastIndex+=b[0].length):y.lastIndex=0:d&&b&&(y.lastIndex=y.global?b.index+b[0].length:R),p&&b&&b.length>1&&u.call(b[0],A,function(){for(M=1;M=51||!l(function(){var L=[];return L[y]=!1,L.concat()[0]!==L}),M=v("concat"),T=function(L){if(!u(L))return!1;var k=L[y];return k!==void 0?!!k:c(L)},w=!b||!M;s({target:"Array",proto:!0,forced:w},{concat:function(k){var E=f(this),P=p(E,0),W=0,N,_,C,X,Y;for(N=-1,C=arguments.length;NR)throw TypeError(A);for(_=0;_=R)throw TypeError(A);h(P,W++,Y)}return P.length=W,P}})},"9bdd":function(o,i,a){var s=a("825a");o.exports=function(l,c,u,f){try{return f?c(s(u)[0],u[1]):c(u)}catch(h){var d=l.return;throw d!==void 0&&s(d.call(l)),h}}},"9bf2":function(o,i,a){var s=a("83ab"),l=a("0cfb"),c=a("825a"),u=a("c04e"),f=Object.defineProperty;i.f=s?f:function(h,p,v){if(c(h),p=u(p,!0),c(v),l)try{return f(h,p,v)}catch{}if("get"in v||"set"in v)throw TypeError("Accessors not supported");return"value"in v&&(h[p]=v.value),h}},"9ed3":function(o,i,a){var s=a("ae93").IteratorPrototype,l=a("7c73"),c=a("5c6c"),u=a("d44e"),f=a("3f8c"),d=function(){return this};o.exports=function(h,p,v){var m=p+" Iterator";return h.prototype=l(s,{next:c(1,v)}),u(h,m,!1,!0),f[m]=d,h}},"9f7f":function(o,i,a){var s=a("d039");function l(c,u){return RegExp(c,u)}i.UNSUPPORTED_Y=s(function(){var c=l("a","y");return c.lastIndex=2,c.exec("abcd")!=null}),i.BROKEN_CARET=s(function(){var c=l("^r","gy");return c.lastIndex=2,c.exec("str")!=null})},a2bf:function(o,i,a){var s=a("e8b5"),l=a("50c4"),c=a("0366"),u=function(f,d,h,p,v,m,x,y){for(var R=v,A=0,b=x?c(x,y,3):!1,M;A0&&s(M))R=u(f,d,M,l(M.length),R,m-1)-1;else{if(R>=9007199254740991)throw TypeError("Exceed the acceptable array length");f[R]=M}R++}A++}return R};o.exports=u},a352:function(o,i){o.exports=r},a434:function(o,i,a){var s=a("23e7"),l=a("23cb"),c=a("a691"),u=a("50c4"),f=a("7b0b"),d=a("65f0"),h=a("8418"),p=a("1dde"),v=a("ae40"),m=p("splice"),x=v("splice",{ACCESSORS:!0,0:0,1:2}),y=Math.max,R=Math.min,A=9007199254740991,b="Maximum allowed length exceeded";s({target:"Array",proto:!0,forced:!m||!x},{splice:function(T,w){var L=f(this),k=u(L.length),E=l(T,k),P=arguments.length,W,N,_,C,X,Y;if(P===0?W=N=0:P===1?(W=0,N=k-E):(W=P-2,N=R(y(c(w),0),k-E)),k+W-N>A)throw TypeError(b);for(_=d(L,N),C=0;Ck-N+W;C--)delete L[C-1]}else if(W>N)for(C=k-N;C>E;C--)X=C+N-1,Y=C+W-1,X in L?L[Y]=L[X]:delete L[Y];for(C=0;CTn;)Zt.push(arguments[Tn++]);if(ua=yt,!(!x(yt)&&dt===void 0||ye(dt)))return m(yt)||(yt=function(Va,uo){if(typeof ua=="function"&&(uo=ua.call(this,Va,uo)),!ye(uo))return uo}),Zt[1]=yt,j.apply(null,Zt)}})}F[Re][fe]||_(F[Re],fe,F[Re].valueOf),D(F,J),$[se]=!0},a630:function(o,i,a){var s=a("23e7"),l=a("4df4"),c=a("1c7e"),u=!c(function(f){Array.from(f)});s({target:"Array",stat:!0,forced:u},{from:l})},a640:function(o,i,a){var s=a("d039");o.exports=function(l,c){var u=[][l];return!!u&&s(function(){u.call(null,c||function(){throw 1},1)})}},a691:function(o,i){var a=Math.ceil,s=Math.floor;o.exports=function(l){return isNaN(l=+l)?0:(l>0?s:a)(l)}},ab13:function(o,i,a){var s=a("b622"),l=s("match");o.exports=function(c){var u=/./;try{"/./"[c](u)}catch{try{return u[l]=!1,"/./"[c](u)}catch{}}return!1}},ac1f:function(o,i,a){var s=a("23e7"),l=a("9263");s({target:"RegExp",proto:!0,forced:/./.exec!==l},{exec:l})},ad6d:function(o,i,a){var s=a("825a");o.exports=function(){var l=s(this),c="";return l.global&&(c+="g"),l.ignoreCase&&(c+="i"),l.multiline&&(c+="m"),l.dotAll&&(c+="s"),l.unicode&&(c+="u"),l.sticky&&(c+="y"),c}},ae40:function(o,i,a){var s=a("83ab"),l=a("d039"),c=a("5135"),u=Object.defineProperty,f={},d=function(h){throw h};o.exports=function(h,p){if(c(f,h))return f[h];p||(p={});var v=[][h],m=c(p,"ACCESSORS")?p.ACCESSORS:!1,x=c(p,0)?p[0]:d,y=c(p,1)?p[1]:void 0;return f[h]=!!v&&!l(function(){if(m&&!s)return!0;var R={length:-1};m?u(R,1,{enumerable:!0,get:d}):R[1]=1,v.call(R,x,y)})}},ae93:function(o,i,a){var s=a("e163"),l=a("9112"),c=a("5135"),u=a("b622"),f=a("c430"),d=u("iterator"),h=!1,p=function(){return this},v,m,x;[].keys&&(x=[].keys(),"next"in x?(m=s(s(x)),m!==Object.prototype&&(v=m)):h=!0),v==null&&(v={}),!f&&!c(v,d)&&l(v,d,p),o.exports={IteratorPrototype:v,BUGGY_SAFARI_ITERATORS:h}},b041:function(o,i,a){var s=a("00ee"),l=a("f5df");o.exports=s?{}.toString:function(){return"[object "+l(this)+"]"}},b0c0:function(o,i,a){var s=a("83ab"),l=a("9bf2").f,c=Function.prototype,u=c.toString,f=/^\s*function ([^ (]*)/,d="name";s&&!(d in c)&&l(c,d,{configurable:!0,get:function(){try{return u.call(this).match(f)[1]}catch{return""}}})},b622:function(o,i,a){var s=a("da84"),l=a("5692"),c=a("5135"),u=a("90e3"),f=a("4930"),d=a("fdbf"),h=l("wks"),p=s.Symbol,v=d?p:p&&p.withoutSetter||u;o.exports=function(m){return c(h,m)||(f&&c(p,m)?h[m]=p[m]:h[m]=v("Symbol."+m)),h[m]}},b64b:function(o,i,a){var s=a("23e7"),l=a("7b0b"),c=a("df75"),u=a("d039"),f=u(function(){c(1)});s({target:"Object",stat:!0,forced:f},{keys:function(h){return c(l(h))}})},b727:function(o,i,a){var s=a("0366"),l=a("44ad"),c=a("7b0b"),u=a("50c4"),f=a("65f0"),d=[].push,h=function(p){var v=p==1,m=p==2,x=p==3,y=p==4,R=p==6,A=p==5||R;return function(b,M,T,w){for(var L=c(b),k=l(L),E=s(M,T,3),P=u(k.length),W=0,N=w||f,_=v?N(b,P):m?N(b,0):void 0,C,X;P>W;W++)if((A||W in k)&&(C=k[W],X=E(C,W,L),p)){if(v)_[W]=X;else if(X)switch(p){case 3:return!0;case 5:return C;case 6:return W;case 2:d.call(_,C)}else if(y)return!1}return R?-1:x||y?y:_}};o.exports={forEach:h(0),map:h(1),filter:h(2),some:h(3),every:h(4),find:h(5),findIndex:h(6)}},c04e:function(o,i,a){var s=a("861d");o.exports=function(l,c){if(!s(l))return l;var u,f;if(c&&typeof(u=l.toString)=="function"&&!s(f=u.call(l))||typeof(u=l.valueOf)=="function"&&!s(f=u.call(l))||!c&&typeof(u=l.toString)=="function"&&!s(f=u.call(l)))return f;throw TypeError("Can't convert object to primitive value")}},c430:function(o,i){o.exports=!1},c6b6:function(o,i){var a={}.toString;o.exports=function(s){return a.call(s).slice(8,-1)}},c6cd:function(o,i,a){var s=a("da84"),l=a("ce4e"),c="__core-js_shared__",u=s[c]||l(c,{});o.exports=u},c740:function(o,i,a){var s=a("23e7"),l=a("b727").findIndex,c=a("44d2"),u=a("ae40"),f="findIndex",d=!0,h=u(f);f in[]&&Array(1)[f](function(){d=!1}),s({target:"Array",proto:!0,forced:d||!h},{findIndex:function(v){return l(this,v,arguments.length>1?arguments[1]:void 0)}}),c(f)},c8ba:function(o,i){var a;a=function(){return this}();try{a=a||new Function("return this")()}catch{typeof window=="object"&&(a=window)}o.exports=a},c975:function(o,i,a){var s=a("23e7"),l=a("4d64").indexOf,c=a("a640"),u=a("ae40"),f=[].indexOf,d=!!f&&1/[1].indexOf(1,-0)<0,h=c("indexOf"),p=u("indexOf",{ACCESSORS:!0,1:0});s({target:"Array",proto:!0,forced:d||!h||!p},{indexOf:function(m){return d?f.apply(this,arguments)||0:l(this,m,arguments.length>1?arguments[1]:void 0)}})},ca84:function(o,i,a){var s=a("5135"),l=a("fc6a"),c=a("4d64").indexOf,u=a("d012");o.exports=function(f,d){var h=l(f),p=0,v=[],m;for(m in h)!s(u,m)&&s(h,m)&&v.push(m);for(;d.length>p;)s(h,m=d[p++])&&(~c(v,m)||v.push(m));return v}},caad:function(o,i,a){var s=a("23e7"),l=a("4d64").includes,c=a("44d2"),u=a("ae40"),f=u("indexOf",{ACCESSORS:!0,1:0});s({target:"Array",proto:!0,forced:!f},{includes:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}}),c("includes")},cc12:function(o,i,a){var s=a("da84"),l=a("861d"),c=s.document,u=l(c)&&l(c.createElement);o.exports=function(f){return u?c.createElement(f):{}}},ce4e:function(o,i,a){var s=a("da84"),l=a("9112");o.exports=function(c,u){try{l(s,c,u)}catch{s[c]=u}return u}},d012:function(o,i){o.exports={}},d039:function(o,i){o.exports=function(a){try{return!!a()}catch{return!0}}},d066:function(o,i,a){var s=a("428f"),l=a("da84"),c=function(u){return typeof u=="function"?u:void 0};o.exports=function(u,f){return arguments.length<2?c(s[u])||c(l[u]):s[u]&&s[u][f]||l[u]&&l[u][f]}},d1e7:function(o,i,a){var s={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,c=l&&!s.call({1:2},1);i.f=c?function(f){var d=l(this,f);return!!d&&d.enumerable}:s},d28b:function(o,i,a){var s=a("746f");s("iterator")},d2bb:function(o,i,a){var s=a("825a"),l=a("3bbe");o.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var c=!1,u={},f;try{f=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,f.call(u,[]),c=u instanceof Array}catch{}return function(h,p){return s(h),l(p),c?f.call(h,p):h.__proto__=p,h}}():void 0)},d3b7:function(o,i,a){var s=a("00ee"),l=a("6eeb"),c=a("b041");s||l(Object.prototype,"toString",c,{unsafe:!0})},d44e:function(o,i,a){var s=a("9bf2").f,l=a("5135"),c=a("b622"),u=c("toStringTag");o.exports=function(f,d,h){f&&!l(f=h?f:f.prototype,u)&&s(f,u,{configurable:!0,value:d})}},d58f:function(o,i,a){var s=a("1c0b"),l=a("7b0b"),c=a("44ad"),u=a("50c4"),f=function(d){return function(h,p,v,m){s(p);var x=l(h),y=c(x),R=u(x.length),A=d?R-1:0,b=d?-1:1;if(v<2)for(;;){if(A in y){m=y[A],A+=b;break}if(A+=b,d?A<0:R<=A)throw TypeError("Reduce of empty array with no initial value")}for(;d?A>=0:R>A;A+=b)A in y&&(m=p(m,y[A],A,x));return m}};o.exports={left:f(!1),right:f(!0)}},d784:function(o,i,a){a("ac1f");var s=a("6eeb"),l=a("d039"),c=a("b622"),u=a("9263"),f=a("9112"),d=c("species"),h=!l(function(){var y=/./;return y.exec=function(){var R=[];return R.groups={a:"7"},R},"".replace(y,"$")!=="7"}),p=function(){return"a".replace(/./,"$0")==="$0"}(),v=c("replace"),m=function(){return/./[v]?/./[v]("a","$0")==="":!1}(),x=!l(function(){var y=/(?:)/,R=y.exec;y.exec=function(){return R.apply(this,arguments)};var A="ab".split(y);return A.length!==2||A[0]!=="a"||A[1]!=="b"});o.exports=function(y,R,A,b){var M=c(y),T=!l(function(){var W={};return W[M]=function(){return 7},""[y](W)!=7}),w=T&&!l(function(){var W=!1,N=/a/;return y==="split"&&(N={},N.constructor={},N.constructor[d]=function(){return N},N.flags="",N[M]=/./[M]),N.exec=function(){return W=!0,null},N[M](""),!W});if(!T||!w||y==="replace"&&!(h&&p&&!m)||y==="split"&&!x){var L=/./[M],k=A(M,""[y],function(W,N,_,C,X){return N.exec===u?T&&!X?{done:!0,value:L.call(N,_,C)}:{done:!0,value:W.call(_,N,C)}:{done:!1}},{REPLACE_KEEPS_$0:p,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:m}),E=k[0],P=k[1];s(String.prototype,y,E),s(RegExp.prototype,M,R==2?function(W,N){return P.call(W,this,N)}:function(W){return P.call(W,this)})}b&&f(RegExp.prototype[M],"sham",!0)}},d81d:function(o,i,a){var s=a("23e7"),l=a("b727").map,c=a("1dde"),u=a("ae40"),f=c("map"),d=u("map");s({target:"Array",proto:!0,forced:!f||!d},{map:function(p){return l(this,p,arguments.length>1?arguments[1]:void 0)}})},da84:function(o,i,a){(function(s){var l=function(c){return c&&c.Math==Math&&c};o.exports=l(typeof globalThis=="object"&&globalThis)||l(typeof window=="object"&&window)||l(typeof self=="object"&&self)||l(typeof s=="object"&&s)||Function("return this")()}).call(this,a("c8ba"))},dbb4:function(o,i,a){var s=a("23e7"),l=a("83ab"),c=a("56ef"),u=a("fc6a"),f=a("06cf"),d=a("8418");s({target:"Object",stat:!0,sham:!l},{getOwnPropertyDescriptors:function(p){for(var v=u(p),m=f.f,x=c(v),y={},R=0,A,b;x.length>R;)b=m(v,A=x[R++]),b!==void 0&&d(y,A,b);return y}})},dbf1:function(o,i,a){(function(s){a.d(i,"a",function(){return c});function l(){return typeof window<"u"?window.console:s.console}var c=l()}).call(this,a("c8ba"))},ddb0:function(o,i,a){var s=a("da84"),l=a("fdbc"),c=a("e260"),u=a("9112"),f=a("b622"),d=f("iterator"),h=f("toStringTag"),p=c.values;for(var v in l){var m=s[v],x=m&&m.prototype;if(x){if(x[d]!==p)try{u(x,d,p)}catch{x[d]=p}if(x[h]||u(x,h,v),l[v]){for(var y in c)if(x[y]!==c[y])try{u(x,y,c[y])}catch{x[y]=c[y]}}}}},df75:function(o,i,a){var s=a("ca84"),l=a("7839");o.exports=Object.keys||function(u){return s(u,l)}},e01a:function(o,i,a){var s=a("23e7"),l=a("83ab"),c=a("da84"),u=a("5135"),f=a("861d"),d=a("9bf2").f,h=a("e893"),p=c.Symbol;if(l&&typeof p=="function"&&(!("description"in p.prototype)||p().description!==void 0)){var v={},m=function(){var M=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),T=this instanceof m?new p(M):M===void 0?p():p(M);return M===""&&(v[T]=!0),T};h(m,p);var x=m.prototype=p.prototype;x.constructor=m;var y=x.toString,R=String(p("test"))=="Symbol(test)",A=/^Symbol\((.*)\)[^)]+$/;d(x,"description",{configurable:!0,get:function(){var M=f(this)?this.valueOf():this,T=y.call(M);if(u(v,M))return"";var w=R?T.slice(7,-1):T.replace(A,"$1");return w===""?void 0:w}}),s({global:!0,forced:!0},{Symbol:m})}},e163:function(o,i,a){var s=a("5135"),l=a("7b0b"),c=a("f772"),u=a("e177"),f=c("IE_PROTO"),d=Object.prototype;o.exports=u?Object.getPrototypeOf:function(h){return h=l(h),s(h,f)?h[f]:typeof h.constructor=="function"&&h instanceof h.constructor?h.constructor.prototype:h instanceof Object?d:null}},e177:function(o,i,a){var s=a("d039");o.exports=!s(function(){function l(){}return l.prototype.constructor=null,Object.getPrototypeOf(new l)!==l.prototype})},e260:function(o,i,a){var s=a("fc6a"),l=a("44d2"),c=a("3f8c"),u=a("69f3"),f=a("7dd0"),d="Array Iterator",h=u.set,p=u.getterFor(d);o.exports=f(Array,"Array",function(v,m){h(this,{type:d,target:s(v),index:0,kind:m})},function(){var v=p(this),m=v.target,x=v.kind,y=v.index++;return!m||y>=m.length?(v.target=void 0,{value:void 0,done:!0}):x=="keys"?{value:y,done:!1}:x=="values"?{value:m[y],done:!1}:{value:[y,m[y]],done:!1}},"values"),c.Arguments=c.Array,l("keys"),l("values"),l("entries")},e439:function(o,i,a){var s=a("23e7"),l=a("d039"),c=a("fc6a"),u=a("06cf").f,f=a("83ab"),d=l(function(){u(1)}),h=!f||d;s({target:"Object",stat:!0,forced:h,sham:!f},{getOwnPropertyDescriptor:function(v,m){return u(c(v),m)}})},e538:function(o,i,a){var s=a("b622");i.f=s},e893:function(o,i,a){var s=a("5135"),l=a("56ef"),c=a("06cf"),u=a("9bf2");o.exports=function(f,d){for(var h=l(d),p=u.f,v=c.f,m=0;m"u"||!(Symbol.iterator in Object(ye)))){var Pe=[],Ye=!0,rt=!1,Ne=void 0;try{for(var Ke=ye[Symbol.iterator](),et;!(Ye=(et=Ke.next()).done)&&(Pe.push(et.value),!(Le&&Pe.length===Le));Ye=!0);}catch(At){rt=!0,Ne=At}finally{try{!Ye&&Ke.return!=null&&Ke.return()}finally{if(rt)throw Ne}}return Pe}}a("a630"),a("fb6a"),a("b0c0"),a("25f0");function v(ye,Le){(Le==null||Le>ye.length)&&(Le=ye.length);for(var Pe=0,Ye=new Array(Le);Pe[...o.value,s.value]),h=ve(!1),p=Me(()=>a.value.some(se=>se.sectionTag)),{copySlide:v,pasteSlide:m,createSlide:x,createSlideByTemplate:y,copyAndPasteSlide:R,deleteSlide:A,cutSlide:b,selectAllSlide:M,sortSlides:T}=Oc(),{createSection:w,removeSection:L,removeAllSection:k,removeSectionSlides:E,updateSectionTitle:P}=kpe(),W=ve();wt(()=>s.value,()=>{d.value.length&&t.updateSelectedSlidesIndex([]),pr(()=>{var J,Re;const se=(Re=(J=W.value)==null?void 0:J.$el)==null?void 0:Re.querySelector(".thumbnail-item.active");W.value&&se&&!x$(se,W.value.$el)&&setTimeout(()=>{se.scrollIntoView({behavior:"smooth"})},100)})});const N=se=>{t.setActiveElementIdList([]),s.value!==se&&n.updateSlideIndex(se)},_=(se,J)=>{if($.value)return;const Re=d.value.length>1;if(!(Re&&d.value.includes(J)&&se.button!==0))if(c.value)if(s.value===J){if(!Re)return;const fe=d.value.filter(me=>me!==J);t.updateSelectedSlidesIndex(fe),N(d.value[0])}else if(d.value.includes(J)){const fe=d.value.filter(me=>me!==J);t.updateSelectedSlidesIndex(fe)}else{const fe=[...d.value,J];t.updateSelectedSlidesIndex(fe)}else if(u.value){if(s.value===J&&!Re)return;let fe=Math.min(...d.value),me=J;J{i.value!==se&&(t.setThumbnailsFocus(se),se||t.updateSelectedSlidesIndex([]))},X=se=>{const{newIndex:J,oldIndex:Re}=se;J===void 0||Re===void 0||J===Re||T(J,Re)},Y=()=>{t.setNotesPanelState(!0)},$=ve(""),le=se=>{t.setDisableHotkeysState(!0),$.value=se||"default",pr(()=>{document.querySelector(`#section-title-input-${se||"default"}`).focus()})},Q=se=>{const J=se.target.value;P($.value,J),$.value="",t.setDisableHotkeysState(!1)},K=se=>{const J=se.dataset.sectionId;return[{text:"删除节",handler:()=>L(J)},{text:"删除节和幻灯片",handler:()=>{t.setActiveElementIdList([]),E(J)}},{text:"删除所有节",handler:k},{text:"重命名节",handler:()=>le(J)}]},{enterScreening:B,enterScreeningFromStart:D}=Tc(),G=()=>[{text:"粘贴",subText:"Ctrl + V",handler:m},{text:"全选",subText:"Ctrl + A",handler:M},{text:"新建页面",subText:"Enter",handler:x},{text:"幻灯片放映",subText:"F5",handler:D}],ae=()=>[{text:"剪切",subText:"Ctrl + X",handler:b},{text:"复制",subText:"Ctrl + C",handler:v},{text:"粘贴",subText:"Ctrl + V",handler:m},{text:"全选",subText:"Ctrl + A",handler:M},{divider:!0},{text:"新建页面",subText:"Enter",handler:x},{text:"复制页面",subText:"Ctrl + D",handler:R},{text:"删除页面",subText:"Delete",handler:()=>A()},{text:"增加节",handler:w,disable:!!l.value.sectionTag},{divider:!0},{text:"从当前放映",subText:"Shift + F5",handler:B}];return(se,J)=>{const Re=Se("IconPlus"),fe=Se("IconDown"),me=bn("contextmenu"),ue=bn("click-outside");return He((U(),ee("div",{class:"thumbnails",onMousedown:J[7]||(J[7]=()=>C(!0))},[V("div",x1e,[V("div",{class:"btn",onClick:J[0]||(J[0]=z=>H(x)())},[O(Re,{class:"icon"}),Ve("添加幻灯片")]),O(Pt,{trigger:"click",placement:"bottom-start",value:h.value,"onUpdate:value":J[2]||(J[2]=z=>h.value=z),center:""},{content:oe(()=>[O(Epe,{onSelect:J[1]||(J[1]=z=>{H(y)(z),h.value=!1})})]),default:oe(()=>[V("div",S1e,[O(fe)])]),_:1},8,["value"])]),O(H(X5),{class:"thumbnail-list",ref_key:"thumbnailsRef",ref:W,modelValue:H(a),animation:200,scroll:!0,scrollSensitivity:50,disabled:$.value,onEnd:X,itemKey:"id"},{item:oe(({element:z,index:F})=>{var j,ie,q,te,re;return[V("div",M1e,[z.sectionTag||p.value&&F===0?He((U(),ee("div",{key:0,class:"section-title","data-section-id":((j=z==null?void 0:z.sectionTag)==null?void 0:j.id)||""},[$.value===((ie=z==null?void 0:z.sectionTag)==null?void 0:ie.id)||F===0&&$.value==="default"?(U(),ee("input",{key:0,id:`section-title-input-${((q=z==null?void 0:z.sectionTag)==null?void 0:q.id)||"default"}`,type:"text",value:((te=z==null?void 0:z.sectionTag)==null?void 0:te.title)||"",placeholder:"输入节名称",onBlur:J[3]||(J[3]=he=>Q(he)),onKeydown:J[4]||(J[4]=ll(Nt(he=>Q(he),["stop"]),["enter"]))},null,40,L1e)):(U(),ee("span",O1e,[V("div",T1e,vt(z!=null&&z.sectionTag?((re=z==null?void 0:z.sectionTag)==null?void 0:re.title)||"无标题节":"默认节"),1)]))],8,w1e)),[[me,K]]):Qe("",!0),He((U(),ee("div",{class:Je(["thumbnail-item",{active:H(s)===F,selected:d.value.includes(F)}]),onMousedown:he=>_(he,F),onDblclick:J[6]||(J[6]=he=>H(B)())},[V("div",{class:Je(["label",{"offset-left":F>=99}])},vt(H(D0)(F+1,2)),3),O(Fa,{class:"thumbnail",slide:z,size:120,visible:FY())},vt(z.notes.length),1)):Qe("",!0)],42,k1e)),[[me,ae]])])]}),_:1},8,["modelValue","disabled"]),V("div",N1e,"幻灯片 "+vt(H(s)+1)+" / "+vt(H(a).length),1)],32)),[[ue,()=>C(!1)],[me,G]])}}}),C1e=Ue(P1e,[["__scopeId","data-v-f6304958"]]);function W5(e,t){return t===void 0&&(t=15),+parseFloat(Number(e).toPrecision(t))}function Ss(e){var t=e.toString().split(/[eE]/),n=(t[0].split(".")[1]||"").length-+(t[1]||0);return n>0?n:0}function gp(e){if(e.toString().indexOf("e")===-1)return Number(e.toString().replace(".",""));var t=Ss(e);return t>0?W5(Number(e)*Math.pow(10,t)):Number(e)}function Lb(e){Y_&&(e>Number.MAX_SAFE_INTEGER||eA.getBoundingClientRect().left,r=e,o=t,i=ve(),a=ve(0),s=ve(0),l=ve(0),c=ve("end"),u=A=>{let b=A/100*(r.max-r.min);if(r.step>=1)b=Math.fround(b);else{const M=r.step.toString(),T=M.match(/^[0.]*([1-9])/);if(T){const w=T[1],L=M.indexOf(w)-1;if(L>0){const k=Math.pow(10,L);b=Math.fround(b*k)/k}}}return X1e.plus(b,r.min)},f=Me(()=>u(a.value)),d=Me(()=>u(s.value)),h=Me(()=>u(l.value));wt(()=>r.value,()=>{r.max!==r.min&&(typeof r.value=="number"?a.value=(r.value-r.min)/(r.max-r.min)*100:(s.value=(r.value[0]-r.min)/(r.max-r.min)*100,l.value=(r.value[1]-r.min)/(r.max-r.min)*100))},{immediate:!0});const p=A=>{if(!i.value)return 0;let M=(("clientX"in A?A.clientX:A.changedTouches[0].clientX)-n(i.value))/i.value.clientWidth;M=Math.max(M,0),M=Math.min(M,1);let T=M*100;const w=r.step/(r.max-r.min)*100,L=T%w;return L>0&&(L<=w/2?T=T-L:T=T-L+w),T},v=A=>{const b=p(A);c.value==="start"?s.value=b:l.value=b},m=A=>{x(A);const b=u(a.value),M=r.value,T=c.value==="start"?[b,M[1]]:[M[0],b];T[0]>T[1]&&([T[0],T[1]]=[T[1],T[0]]),o("update:value",T),document.removeEventListener("mousemove",v),document.removeEventListener("touchmove",v),document.removeEventListener("mouseup",m),document.removeEventListener("touchend",m)},x=A=>{a.value=p(A)},y=A=>{x(A);const b=u(a.value);o("update:value",b),document.removeEventListener("mousemove",x),document.removeEventListener("touchmove",x),document.removeEventListener("mouseup",y),document.removeEventListener("touchend",y)},R=A=>{if(!r.disabled)if(r.range){const b=p(A);Math.abs(b-s.value)(U(),ee("div",{class:Je(["slider",{disabled:A.disabled}]),ref_key:"sliderRef",ref:i,onMousedown:b[0]||(b[0]=M=>R(M))},[V("div",W1e,[A.range?(U(),ee(We,{key:1},[V("div",{class:"track",style:we({width:`${l.value-s.value}%`,left:`${s.value}%`})},null,4),V("div",{class:"thumb",style:we({left:`${s.value}%`}),"data-tooltip":d.value},null,12,U1e),V("div",{class:"thumb",style:we({left:`${l.value}%`}),"data-tooltip":h.value},null,12,Y1e)],64)):(U(),ee(We,{key:0},[V("div",{class:"track",style:we({width:`${a.value}%`})},null,4),V("div",{class:"thumb",style:we({left:`${a.value}%`}),"data-tooltip":f.value},null,12,V1e)],64))])],34))}}),so=Ue(Q1e,[["__scopeId","data-v-a7428be4"]]),Z1e=e=>(zt("data-v-c3b27b40"),e=e(),Jt(),e),B1e={class:"element-opacity"},D1e={class:"row"},K1e=Z1e(()=>V("div",{style:{width:"40%"}},"不透明度:",-1)),H1e=Ee({__name:"ElementOpacity",setup(e){const t=st(),{handleElement:n}=Xe(ft()),r=ve(1);wt(n,()=>{n.value&&(r.value="opacity"in n.value&&n.value.opacity!==void 0?n.value.opacity:1)},{deep:!0,immediate:!0});const{addHistorySnapshot:o}=Ht(),i=a=>{if(!n.value)return;const s={opacity:a};t.updateElement({id:n.value.id,props:s}),o()};return(a,s)=>(U(),ee("div",B1e,[V("div",D1e,[K1e,O(so,{min:0,max:1,step:.1,value:r.value,"onUpdate:value":s[0]||(s[0]=l=>i(l)),style:{width:"60%"}},null,8,["value"])])]))}}),Q_=Ue(H1e,[["__scopeId","data-v-c3b27b40"]]),G1e={class:"color-block"},z1e=Ee({__name:"ColorButton",props:{color:{}},setup(e){return(t,n)=>{const r=Se("IconPlatte");return U(),ke(je,{class:"color-btn"},{default:oe(()=>[V("div",G1e,[V("div",{class:"content",style:we({backgroundColor:t.color})},null,4)]),O(r,{class:"color-btn-icon"})]),_:1})}}}),br=Ue(z1e,[["__scopeId","data-v-53175c6f"]]);function J1e(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;const n=document.implementation.createHTMLDocument(),r=n.createElement("base"),o=n.createElement("a");return n.head.appendChild(r),n.body.appendChild(o),t&&(r.href=t),o.href=e,o.href}const $1e=(()=>{let e=0;const t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function al(e){const t=[];for(let n=0,r=e.length;nmi||e.height>mi)&&(e.width>mi&&e.height>mi?e.width>e.height?(e.height*=mi/e.width,e.width=mi):(e.width*=mi/e.height,e.height=mi):e.width>mi?(e.height*=mi/e.width,e.width=mi):(e.width*=mi/e.height,e.height=mi))}function Om(e){return new Promise((t,n)=>{const r=new Image;r.decode=()=>t(r),r.onload=()=>t(r),r.onerror=n,r.crossOrigin="anonymous",r.decoding="async",r.src=e})}async function nve(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function rve(e,t,n){const r="http://www.w3.org/2000/svg",o=document.createElementNS(r,"svg"),i=document.createElementNS(r,"foreignObject");return o.setAttribute("width",`${t}`),o.setAttribute("height",`${n}`),o.setAttribute("viewBox",`0 0 ${t} ${n}`),i.setAttribute("width","100%"),i.setAttribute("height","100%"),i.setAttribute("x","0"),i.setAttribute("y","0"),i.setAttribute("externalResourcesRequired","true"),o.appendChild(i),i.appendChild(e),nve(o)}const li=(e,t)=>{if(e instanceof t)return!0;const n=Object.getPrototypeOf(e);return n===null?!1:n.constructor.name===t.name||li(n,t)};function ove(e){const t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function ive(e){return al(e).map(t=>{const n=e.getPropertyValue(t),r=e.getPropertyPriority(t);return`${t}: ${n}${r?" !important":""};`}).join(" ")}function ave(e,t,n){const r=`.${e}:${t}`,o=n.cssText?ove(n):ive(n);return document.createTextNode(`${r}{${o}}`)}function lk(e,t,n){const r=window.getComputedStyle(e,n),o=r.getPropertyValue("content");if(o===""||o==="none")return;const i=$1e();try{t.className=`${t.className} ${i}`}catch{return}const a=document.createElement("style");a.appendChild(ave(i,n,r)),t.appendChild(a)}function sve(e,t){lk(e,t,":before"),lk(e,t,":after")}const ck="application/font-woff",uk="image/jpeg",lve={woff:ck,woff2:ck,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:uk,jpeg:uk,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function cve(e){const t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function V5(e){const t=cve(e).toLowerCase();return lve[t]||""}function uve(e){return e.split(/,/)[1]}function Ob(e){return e.search(/^(data:)/)!==-1}function fve(e,t){return`data:${t};base64,${e}`}async function B_(e,t,n){const r=await fetch(e,t);if(r.status===404)throw new Error(`Resource "${r.url}" not found`);const o=await r.blob();return new Promise((i,a)=>{const s=new FileReader;s.onerror=a,s.onloadend=()=>{try{i(n({res:r,result:s.result}))}catch(l){a(l)}},s.readAsDataURL(o)})}const h4={};function dve(e,t,n){let r=e.replace(/\?.*/,"");return n&&(r=e),/ttf|otf|eot|woff2?/i.test(r)&&(r=r.replace(/.*\//,"")),t?`[${t}]${r}`:r}async function U5(e,t,n){const r=dve(e,t,n.includeQueryParams);if(h4[r]!=null)return h4[r];n.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let o;try{const i=await B_(e,n.fetchRequestInit,({res:a,result:s})=>(t||(t=a.headers.get("Content-Type")||""),uve(s)));o=fve(i,t)}catch(i){o=n.imagePlaceholder||"";let a=`Failed to fetch resource: ${e}`;i&&(a=typeof i=="string"?i:i.message),a&&console.warn(a)}return h4[r]=o,o}async function hve(e){const t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):Om(t)}async function pve(e,t){if(e.currentSrc){const i=document.createElement("canvas"),a=i.getContext("2d");i.width=e.clientWidth,i.height=e.clientHeight,a==null||a.drawImage(e,0,0,i.width,i.height);const s=i.toDataURL();return Om(s)}const n=e.poster,r=V5(n),o=await U5(n,r,t);return Om(o)}async function vve(e){var t;try{if(!((t=e==null?void 0:e.contentDocument)===null||t===void 0)&&t.body)return await M2(e.contentDocument.body,{},!0)}catch{}return e.cloneNode(!1)}async function gve(e,t){return li(e,HTMLCanvasElement)?hve(e):li(e,HTMLVideoElement)?pve(e,t):li(e,HTMLIFrameElement)?vve(e):e.cloneNode(!1)}const mve=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT";async function Ave(e,t,n){var r,o;let i=[];return mve(e)&&e.assignedNodes?i=al(e.assignedNodes()):li(e,HTMLIFrameElement)&&(!((r=e.contentDocument)===null||r===void 0)&&r.body)?i=al(e.contentDocument.body.childNodes):i=al(((o=e.shadowRoot)!==null&&o!==void 0?o:e).childNodes),i.length===0||li(e,HTMLVideoElement)||await i.reduce((a,s)=>a.then(()=>M2(s,n)).then(l=>{l&&t.appendChild(l)}),Promise.resolve()),t}function Rve(e,t){const n=t.style;if(!n)return;const r=window.getComputedStyle(e);r.cssText?(n.cssText=r.cssText,n.transformOrigin=r.transformOrigin):al(r).forEach(o=>{let i=r.getPropertyValue(o);o==="font-size"&&i.endsWith("px")&&(i=`${Math.floor(parseFloat(i.substring(0,i.length-2)))-.1}px`),li(e,HTMLIFrameElement)&&o==="display"&&i==="inline"&&(i="block"),o==="d"&&t.getAttribute("d")&&(i=`path(${t.getAttribute("d")})`),n.setProperty(o,i,r.getPropertyPriority(o))})}function yve(e,t){li(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),li(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function bve(e,t){if(li(e,HTMLSelectElement)){const n=t,r=Array.from(n.children).find(o=>e.value===o.getAttribute("value"));r&&r.setAttribute("selected","")}}function xve(e,t){return li(t,Element)&&(Rve(e,t),sve(e,t),yve(e,t),bve(e,t)),t}async function Sve(e,t){const n=e.querySelectorAll?e.querySelectorAll("use"):[];if(n.length===0)return e;const r={};for(let i=0;igve(r,t)).then(r=>Ave(e,r,t)).then(r=>xve(e,r)).then(r=>Sve(r,t))}const D_=/url\((['"]?)([^'"]+?)\1\)/g,Mve=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,wve=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function Lve(e){const t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function Ove(e){const t=[];return e.replace(D_,(n,r,o)=>(t.push(o),n)),t.filter(n=>!Ob(n))}async function Tve(e,t,n,r,o){try{const i=n?J1e(t,n):t,a=V5(t);let s;return o||(s=await U5(i,a,r)),e.replace(Lve(t),`$1${s}$3`)}catch{}return e}function kve(e,{preferredFontFormat:t}){return t?e.replace(wve,n=>{for(;;){const[r,,o]=Mve.exec(n)||[];if(!o)return"";if(o===t)return`src: ${r};`}}):e}function K_(e){return e.search(D_)!==-1}async function H_(e,t,n){if(!K_(e))return e;const r=kve(e,n);return Ove(r).reduce((i,a)=>i.then(s=>Tve(s,a,t,n)),Promise.resolve(r))}async function Ev(e,t,n){var r;const o=(r=t.style)===null||r===void 0?void 0:r.getPropertyValue(e);if(o){const i=await H_(o,null,n);return t.style.setProperty(e,i,t.style.getPropertyPriority(e)),!0}return!1}async function Nve(e,t){await Ev("background",e,t)||await Ev("background-image",e,t),await Ev("mask",e,t)||await Ev("mask-image",e,t)}async function Pve(e,t){const n=li(e,HTMLImageElement);if(!(n&&!Ob(e.src))&&!(li(e,SVGImageElement)&&!Ob(e.href.baseVal)))return;const r=n?e.src:e.href.baseVal,o=await U5(r,V5(r),t);await new Promise((i,a)=>{e.onload=i,e.onerror=a;const s=e;s.decode&&(s.decode=i),s.loading==="lazy"&&(s.loading="eager"),n?(e.srcset="",e.src=o):e.href.baseVal=o})}async function Cve(e,t){const r=al(e.childNodes).map(o=>G_(o,t));await Promise.all(r).then(()=>e)}async function G_(e,t){li(e,Element)&&(await Nve(e,t),await Pve(e,t),await Cve(e,t))}function Ive(e,t){const{style:n}=e;t.backgroundColor&&(n.backgroundColor=t.backgroundColor),t.width&&(n.width=`${t.width}px`),t.height&&(n.height=`${t.height}px`);const r=t.style;return r!=null&&Object.keys(r).forEach(o=>{n[o]=r[o]}),e}const fk={};async function dk(e){let t=fk[e];if(t!=null)return t;const r=await(await fetch(e)).text();return t={url:e,cssText:r},fk[e]=t,t}async function hk(e,t){let n=e.cssText;const r=/url\(["']?([^"')]+)["']?\)/g,i=(n.match(/url\([^)]+\)/g)||[]).map(async a=>{let s=a.replace(r,"$1");return s.startsWith("https://")||(s=new URL(s,e.url).href),B_(s,t.fetchRequestInit,({result:l})=>(n=n.replace(a,`url(${l})`),[a,l]))});return Promise.all(i).then(()=>n)}function pk(e){if(e==null)return[];const t=[],n=/(\/\*[\s\S]*?\*\/)/gi;let r=e.replace(n,"");const o=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const l=o.exec(r);if(l===null)break;t.push(l[0])}r=r.replace(o,"");const i=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",s=new RegExp(a,"gi");for(;;){let l=i.exec(r);if(l===null){if(l=s.exec(r),l===null)break;i.lastIndex=s.lastIndex}else s.lastIndex=i.lastIndex;t.push(l[0])}return t}async function Fve(e,t){const n=[],r=[];return e.forEach(o=>{if("cssRules"in o)try{al(o.cssRules||[]).forEach((i,a)=>{if(i.type===CSSRule.IMPORT_RULE){let s=a+1;const l=i.href,c=dk(l).then(u=>hk(u,t)).then(u=>pk(u).forEach(f=>{try{o.insertRule(f,f.startsWith("@import")?s+=1:o.cssRules.length)}catch(d){console.error("Error inserting rule from remote css",{rule:f,error:d})}})).catch(u=>{console.error("Error loading remote css",u.toString())});r.push(c)}})}catch(i){const a=e.find(s=>s.href==null)||document.styleSheets[0];o.href!=null&&r.push(dk(o.href).then(s=>hk(s,t)).then(s=>pk(s).forEach(l=>{a.insertRule(l,o.cssRules.length)})).catch(s=>{console.error("Error loading remote stylesheet",s)})),console.error("Error inlining remote css file",i)}}),Promise.all(r).then(()=>(e.forEach(o=>{if("cssRules"in o)try{al(o.cssRules||[]).forEach(i=>{n.push(i)})}catch(i){console.error(`Error while reading CSS rules from ${o.href}`,i)}}),n))}function _ve(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>K_(t.style.getPropertyValue("src")))}async function Eve(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");const n=al(e.ownerDocument.styleSheets),r=await Fve(n,t);return _ve(r)}async function Xve(e,t){const n=await Eve(e,t);return(await Promise.all(n.map(o=>{const i=o.parentStyleSheet?o.parentStyleSheet.href:null;return H_(o.cssText,i,t)}))).join(` -`)}async function Wve(e,t){const n=t.fontEmbedCSS!=null?t.fontEmbedCSS:t.skipFonts?null:await Xve(e,t);if(n){const r=document.createElement("style"),o=document.createTextNode(n);r.appendChild(o),e.firstChild?e.insertBefore(r,e.firstChild):e.appendChild(r)}}async function Vve(e,t={}){const{width:n,height:r}=Z_(e,t),o=await M2(e,t,!0);return await Wve(o,t),await G_(o,t),Ive(o,t),await rve(o,n,r)}async function Y5(e,t={}){const{width:n,height:r}=Z_(e,t),o=await Vve(e,t),i=await Om(o),a=document.createElement("canvas"),s=a.getContext("2d"),l=t.pixelRatio||eve(),c=t.canvasWidth||n,u=t.canvasHeight||r;return a.width=c*l,a.height=u*l,t.skipAutoScale||tve(a),a.style.width=`${c}`,a.style.height=`${u}`,t.backgroundColor&&(s.fillStyle=t.backgroundColor,s.fillRect(0,0,a.width,a.height)),s.drawImage(i,0,0,a.width,a.height),a}async function Uve(e,t={}){return(await Y5(e,t)).toDataURL()}async function Yve(e,t={}){return(await Y5(e,t)).toDataURL("image/jpeg",t.quality||1)}const Qve=Ee({__name:"Checkboard",props:{size:{default:8},white:{default:"#fff"},grey:{default:"#e6e6e6"}},setup(e){const t=e,n={},r=(a,s,l)=>{const c=document.createElement("canvas");c.width=c.height=l*2;const u=c.getContext("2d");return u?(u.fillStyle=a,u.fillRect(0,0,c.width,c.height),u.fillStyle=s,u.fillRect(0,0,l,l),u.translate(l,l),u.fillRect(0,0,l,l),c.toDataURL()):null},o=(a,s,l)=>{const c=a+","+s+","+l;if(n[c])return n[c];const u=r(a,s,l);return n[c]=u,u},i=Me(()=>({backgroundImage:`url(${o(t.white,t.grey,t.size)})`}));return(a,s)=>(U(),ee("div",{class:"checkerboard",style:we(i.value)},null,4))}}),Tb=Ue(Qve,[["__scopeId","data-v-46275348"]]),Zve=e=>(zt("data-v-429f62d3"),e=e(),Jt(),e),Bve={class:"alpha"},Dve={class:"alpha-checkboard-wrap"},Kve=Zve(()=>V("div",{class:"alpha-picker"},null,-1)),Hve=[Kve],Gve=Ee({__name:"Alpha",props:{value:{}},emits:["colorChange"],setup(e,{emit:t}){const n=e,r=t,o=Me(()=>n.value),i=Me(()=>{const u=[o.value.r,o.value.g,o.value.b].join(",");return`linear-gradient(to right, rgba(${u}, 0) 0%, rgba(${u}, 1) 100%)`}),a=ve(),s=u=>{if(u.preventDefault(),!a.value)return;const f=a.value.clientWidth,d=a.value.getBoundingClientRect().left+window.pageXOffset,h=u.pageX-d;let p;h<0?p=0:h>f?p=1:p=Math.round(h*100/f)/100,o.value.a!==p&&r("colorChange",{r:o.value.r,g:o.value.g,b:o.value.b,a:p})},l=()=>{window.removeEventListener("mousemove",s),window.removeEventListener("mouseup",l)},c=u=>{s(u),window.addEventListener("mousemove",s),window.addEventListener("mouseup",l)};return Sn(l),(u,f)=>(U(),ee("div",Bve,[V("div",Dve,[O(Tb)]),V("div",{class:"alpha-gradient",style:we({background:i.value})},null,4),V("div",{class:"alpha-container",ref_key:"alphaRef",ref:a,onMousedown:f[0]||(f[0]=d=>c(d))},[V("div",{class:"alpha-pointer",style:we({left:o.value.a*100+"%"})},Hve,4)],544)]))}}),zve=Ue(Gve,[["__scopeId","data-v-429f62d3"]]),Jve=e=>(zt("data-v-21ccc370"),e=e(),Jt(),e),$ve={class:"hue"},jve=Jve(()=>V("div",{class:"hue-picker"},null,-1)),qve=[jve],ege=Ee({__name:"Hue",props:{value:{},hue:{}},emits:["colorChange"],setup(e,{emit:t}){const n=e,r=t,o=ve(0),i=ve(""),a=Me(()=>{const d=ot(n.value).toHsl();return n.hue!==-1&&(d.h=n.hue),d}),s=Me(()=>a.value.h===0&&i.value==="right"?"100%":a.value.h*100/360+"%");wt(()=>n.value,()=>{const d=ot(n.value).toHsl(),h=d.s===0?n.hue:d.h;h!==0&&h-o.value>0&&(i.value="right"),h!==0&&h-o.value<0&&(i.value="left"),o.value=h});const l=ve(),c=d=>{if(d.preventDefault(),!l.value)return;const h=l.value.clientWidth,p=l.value.getBoundingClientRect().left+window.pageXOffset,v=d.pageX-p;let m,x;v<0?m=0:v>h?m=360:(x=v*100/h,m=360*x/100),(n.hue===-1||a.value.h!==m)&&r("colorChange",{h:m,l:a.value.l,s:a.value.s,a:a.value.a})},u=()=>{window.removeEventListener("mousemove",c),window.removeEventListener("mouseup",u)},f=d=>{c(d),window.addEventListener("mousemove",c),window.addEventListener("mouseup",u)};return Sn(u),(d,h)=>(U(),ee("div",$ve,[V("div",{class:"hue-container",ref_key:"hueRef",ref:l,onMousedown:h[0]||(h[0]=p=>f(p))},[V("div",{class:"hue-pointer",style:we({left:s.value})},qve,4)],544)]))}}),tge=Ue(ege,[["__scopeId","data-v-21ccc370"]]),Q5=e=>(zt("data-v-1a7711ae"),e=e(),Jt(),e),nge=Q5(()=>V("div",{class:"saturation-white"},null,-1)),rge=Q5(()=>V("div",{class:"saturation-black"},null,-1)),oge=Q5(()=>V("div",{class:"saturation-circle"},null,-1)),ige=[oge],age=Ee({__name:"Saturation",props:{value:{},hue:{}},emits:["colorChange"],setup(e,{emit:t}){const n=e,r=t,o=Me(()=>{const h=ot(n.value).toHsv();return n.hue!==-1&&(h.h=n.hue),h}),i=Me(()=>`hsl(${o.value.h}, 100%, 50%)`),a=Me(()=>-(o.value.v*100)+1+100+"%"),s=Me(()=>o.value.s*100+"%"),l=On.throttle(function(h){r("colorChange",h)},20,{leading:!0,trailing:!1}),c=ve(),u=h=>{if(h.preventDefault(),!c.value)return;const p=c.value.clientWidth,v=c.value.clientHeight,m=c.value.getBoundingClientRect().left+window.pageXOffset,x=c.value.getBoundingClientRect().top+window.pageYOffset,y=On.clamp(h.pageX-m,0,p),R=On.clamp(h.pageY-x,0,v),A=y/p,b=On.clamp(-(R/v)+1,0,1);l({h:o.value.h,s:A,v:b,a:o.value.a})},f=()=>{window.removeEventListener("mousemove",u),window.removeEventListener("mouseup",f)},d=h=>{u(h),window.addEventListener("mousemove",u),window.addEventListener("mouseup",f)};return Sn(f),(h,p)=>(U(),ee("div",{class:"saturation",ref_key:"saturationRef",ref:c,style:we({background:i.value}),onMousedown:p[0]||(p[0]=v=>d(v))},[nge,rge,V("div",{class:"saturation-pointer",style:we({top:a.value,left:s.value})},ige,4)],36))}}),sge=Ue(age,[["__scopeId","data-v-1a7711ae"]]),lge={class:"editable-input"},cge=["value"],uge=Ee({__name:"EditableInput",props:{value:{}},emits:["colorChange"],setup(e,{emit:t}){const n=e,r=t,o=Me(()=>{let a="";return n.value.a<1?a=ot(n.value).toHex8String().toUpperCase():a=ot(n.value).toHexString().toUpperCase(),a.replace("#","")}),i=a=>{const s=a.target.value;if(s.length>=6){const l=ot(s);l.isValid()&&r("colorChange",l.toRgb())}};return(a,s)=>(U(),ee("div",lge,[V("input",{class:"input-content",value:o.value,onInput:s[0]||(s[0]=l=>i(l))},null,40,cge)]))}}),fge=Ue(uge,[["__scopeId","data-v-573b4dde"]]),dge={class:"color-picker"},hge={class:"picker-saturation-wrap"},pge={class:"picker-controls"},vge={class:"picker-color-wrap"},gge={class:"picker-sliders"},mge={class:"picker-hue-wrap"},Age={class:"picker-alpha-wrap"},Rge={class:"picker-field"},yge={class:"picker-presets"},bge=["onClick"],xge={class:"picker-gradient-presets"},Sge=["onClick"],Mge={class:"picker-presets"},wge=["onClick"],Lge={key:0,class:"recent-colors-title"},Oge={class:"picker-presets"},Tge=["onClick"],vk="RECENT_COLORS",kge=Ee({__name:"index",props:{modelValue:{default:"#e86b99"}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=t,o=[["#7f7f7f","#f2f2f2"],["#0d0d0d","#808080"],["#1c1a10","#ddd8c3"],["#0e243d","#c6d9f0"],["#233f5e","#dae5f0"],["#632623","#f2dbdb"],["#4d602c","#eaf1de"],["#3f3150","#e6e0ec"],["#1e5867","#d9eef3"],["#99490f","#fee9da"]],i=(A,b,M)=>{const T=ot(A).toRgb(),w=ot(b).toRgb(),L=(w.r-T.r)/M,k=(w.g-T.g)/M,E=(w.b-T.b)/M,P=[];for(let W=0;W{const A=[];for(const b of o)A.push(i(b[1],b[0],5));return A},s=["#000000","#ffffff","#eeece1","#1e497b","#4e81bb","#e2534d","#9aba60","#8165a0","#47acc5","#f9974c"],l=["#c21401","#ff1e02","#ffc12a","#ffff3a","#90cf5b","#00af57","#00afee","#0071be","#00215f","#72349d"],c=ve(-1),u=ve([]),f=Me({get(){return ot(n.modelValue).toRgb()},set(A){const b=`rgba(${[A.r,A.g,A.b,A.a].join(",")})`;r("update:modelValue",b)}}),d=a(),h=Me(()=>`rgba(${[f.value.r,f.value.g,f.value.b,f.value.a].join(",")})`),p=A=>{c.value=ot(A).toHsl().h,r("update:modelValue",A)},v=On.debounce(function(){const A=ot(f.value).toRgbString();if(!u.value.includes(A)){u.value=[A,...u.value];const b=10;u.value.length>b&&(u.value=u.value.slice(0,b))}},300,{trailing:!0});Qt(()=>{const A=localStorage.getItem(vk);A&&(u.value=JSON.parse(A))}),wt(u,()=>{const A=JSON.stringify(u.value);localStorage.setItem(vk,A)});const m=A=>{"h"in A?(c.value=A.h,f.value=ot(A).toRgb()):(c.value=ot(A).toHsl().h,f.value=A),v()},x=()=>{"EyeDropper"in window?y():R()},y=()=>{gn.success("按 ESC 键关闭取色吸管",{duration:0}),new window.EyeDropper().open().then(b=>{const M=ot(b.sRGBHex);c.value=M.toHsl().h,f.value=M.toRgb(),gn.closeAll(),v()}).catch(()=>{gn.closeAll()})},R=()=>{const A=document.querySelector(".canvas");if(!A)return;const b=document.createElement("div");b.style.cssText="position: fixed; top: 0; left: 0; bottom: 0; right: 0; z-index: 9999; cursor: wait;",document.body.appendChild(b);const M=document.createElement("div");M.style.cssText="position: absolute; top: -100px; left: -100px; width: 16px; height: 16px; border: 1px solid #000; z-index: 999",b.appendChild(M);const{left:T,top:w,width:L,height:k}=A.getBoundingClientRect();Y5(A,{filter:P=>!(P.tagName&&P.tagName.toUpperCase()==="FOREIGNOBJECT"||P.classList&&P.classList.contains("operate")),fontEmbedCSS:"",width:L,height:k,canvasWidth:L,canvasHeight:k,pixelRatio:1}).then(P=>{P.style.cssText=`position: absolute; top: ${w}px; left: ${T}px; cursor: crosshair;`,b.style.cursor="default",b.appendChild(P);const W=P.getContext("2d");if(!W)return;let N="";const _=Y=>{const $=Y.x,le=Y.y,Q=$-T,K=le-w,[B,D,G,ae]=W.getImageData(Q,K,1,1).data;N=`rgba(${B}, ${D}, ${G}, ${(ae/255).toFixed(2)})`,M.style.left=$+10+"px",M.style.top=le+10+"px",M.style.backgroundColor=N},C=()=>{N="",M.style.left="-100px",M.style.top="-100px",M.style.backgroundColor=""},X=Y=>{if(N&&Y.button===0){const $=ot(N);c.value=$.toHsl().h,f.value=$.toRgb(),v()}document.body.removeChild(b),P.removeEventListener("mousemove",_),P.removeEventListener("mouseleave",C),window.removeEventListener("mousedown",X)};P.addEventListener("mousemove",_),P.addEventListener("mouseleave",C),window.addEventListener("mousedown",X)}).catch(()=>{gn.error("取色吸管初始化失败"),document.body.removeChild(b)})};return(A,b)=>{const M=Se("IconNeedle");return U(),ee("div",dge,[V("div",hge,[O(sge,{value:f.value,hue:c.value,onColorChange:b[0]||(b[0]=T=>m(T))},null,8,["value","hue"])]),V("div",pge,[V("div",vge,[V("div",{class:"picker-current-color",style:we({background:h.value})},null,4),O(Tb)]),V("div",gge,[V("div",mge,[O(tge,{value:f.value,hue:c.value,onColorChange:b[1]||(b[1]=T=>m(T))},null,8,["value","hue"])]),V("div",Age,[O(zve,{value:f.value,onColorChange:b[2]||(b[2]=T=>m(T))},null,8,["value"])])])]),V("div",Rge,[O(fge,{class:"input",value:f.value,onColorChange:b[3]||(b[3]=T=>m(T))},null,8,["value"]),V("div",{class:"straw",onClick:b[4]||(b[4]=T=>x())},[O(M)]),V("div",{class:"transparent",onClick:b[5]||(b[5]=T=>p("#00000000"))},[O(Tb)])]),V("div",yge,[(U(),ee(We,null,nt(s,T=>V("div",{class:"picker-presets-color",key:T,style:we({background:T}),onClick:w=>p(T)},null,12,bge)),64))]),V("div",xge,[(U(!0),ee(We,null,nt(H(d),(T,w)=>(U(),ee("div",{class:"picker-gradient-col",key:w},[(U(!0),ee(We,null,nt(T,L=>(U(),ee("div",{class:"picker-gradient-color",key:L,style:we({background:L}),onClick:k=>p(L)},null,12,Sge))),128))]))),128))]),V("div",Mge,[(U(),ee(We,null,nt(l,T=>V("div",{key:T,class:"picker-presets-color",style:we({background:T}),onClick:w=>p(T)},null,12,wge)),64))]),u.value.length?(U(),ee("div",Lge,"最近使用:")):Qe("",!0),V("div",Oge,[(U(!0),ee(We,null,nt(u.value,T=>(U(),ee("div",{key:T,class:"picker-presets-color alpha",onClick:w=>p(T)},[V("div",{class:"picker-presets-color-content",style:we({background:T})},null,4)],8,Tge))),128))])])}}}),_n=Ue(kge,[["__scopeId","data-v-58b37f0f"]]),Nge=e=>(zt("data-v-a0d44a99"),e=e(),Jt(),e),Pge=Nge(()=>V("span",{class:"switch-core"},null,-1)),Cge=[Pge],Ige=Ee({__name:"Switch",props:{value:{type:Boolean},disabled:{type:Boolean,default:!1}},emits:["update:value"],setup(e,{emit:t}){const n=e,r=t,o=()=>{n.disabled||r("update:value",!n.value)};return(i,a)=>(U(),ee("span",{class:Je(["switch",{active:i.value,disabled:i.disabled}]),onClick:a[0]||(a[0]=s=>o())},Cge,2))}}),la=Ue(Ige,[["__scopeId","data-v-a0d44a99"]]),w2=e=>(zt("data-v-174518c6"),e=e(),Jt(),e),Fge={class:"element-outline"},_ge={key:0,class:"row"},Ege=w2(()=>V("div",{style:{width:"40%"}},"启用边框:",-1)),Xge={class:"switch-wrapper",style:{width:"60%"}},Wge={class:"row"},Vge=w2(()=>V("div",{style:{width:"40%"}},"边框样式:",-1)),Uge={class:"row"},Yge=w2(()=>V("div",{style:{width:"40%"}},"边框颜色:",-1)),Qge={class:"row"},Zge=w2(()=>V("div",{style:{width:"40%"}},"边框粗细:",-1)),Bge=Ee({__name:"ElementOutline",props:{fixed:{type:Boolean,default:!1}},setup(e){const t=st(),{theme:n}=Xe(t),{handleElement:r}=Xe(ft()),o=ve(),i=ve(!1);wt(r,()=>{r.value&&(o.value="outline"in r.value?r.value.outline:void 0,i.value=!!o.value)},{deep:!0,immediate:!0});const{addHistorySnapshot:a}=Ht(),s=c=>{if(!r.value)return;const u={outline:{...o.value,...c}};t.updateElement({id:r.value.id,props:u}),a()},l=c=>{if(r.value){if(c){const u=n.value.outline;t.updateElement({id:r.value.id,props:{outline:u}})}else t.removeElementProps({id:r.value.id,propName:"outline"});a()}};return(c,u)=>(U(),ee("div",Fge,[c.fixed?Qe("",!0):(U(),ee("div",_ge,[Ege,V("div",Xge,[O(la,{value:i.value,"onUpdate:value":u[0]||(u[0]=f=>l(f))},null,8,["value"])])])),i.value&&o.value?(U(),ee(We,{key:1},[V("div",Wge,[Vge,O(Hn,{style:{width:"60%"},value:o.value.style||"","onUpdate:value":u[1]||(u[1]=f=>s({style:f})),options:[{label:"实线边框",value:"solid"},{label:"虚线边框",value:"dashed"}]},null,8,["value"])]),V("div",Uge,[Yge,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:o.value.color,"onUpdate:modelValue":u[2]||(u[2]=f=>s({color:f}))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:o.value.color||"#000"},null,8,["color"])]),_:1})]),V("div",Qge,[Zge,O(ei,{value:o.value.width||0,"onUpdate:value":u[3]||(u[3]=f=>s({width:f})),style:{width:"60%"}},null,8,["value"])])],64)):Qe("",!0)]))}}),jp=Ue(Bge,[["__scopeId","data-v-174518c6"]]),qp=e=>(zt("data-v-671988a4"),e=e(),Jt(),e),Dge={class:"element-shadow"},Kge={class:"row"},Hge=qp(()=>V("div",{style:{width:"40%"}},"启用阴影:",-1)),Gge={class:"switch-wrapper",style:{width:"60%"}},zge={class:"row"},Jge=qp(()=>V("div",{style:{width:"40%"}},"水平阴影:",-1)),$ge={class:"row"},jge=qp(()=>V("div",{style:{width:"40%"}},"垂直阴影:",-1)),qge={class:"row"},eme=qp(()=>V("div",{style:{width:"40%"}},"模糊距离:",-1)),tme={class:"row"},nme=qp(()=>V("div",{style:{width:"40%"}},"阴影颜色:",-1)),rme=Ee({__name:"ElementShadow",setup(e){const t=st(),{theme:n}=Xe(t),{handleElement:r}=Xe(ft()),o=ve(),i=ve(!1);wt(r,()=>{r.value&&(o.value="shadow"in r.value?r.value.shadow:void 0,i.value=!!o.value)},{deep:!0,immediate:!0});const{addHistorySnapshot:a}=Ht(),s=c=>{if(!r.value||!o.value)return;const u={...o.value,...c};t.updateElement({id:r.value.id,props:{shadow:u}}),a()},l=c=>{if(r.value){if(c){const u=n.value.shadow;t.updateElement({id:r.value.id,props:{shadow:u}})}else t.removeElementProps({id:r.value.id,propName:"shadow"});a()}};return(c,u)=>(U(),ee("div",Dge,[V("div",Kge,[Hge,V("div",Gge,[O(la,{value:i.value,"onUpdate:value":u[0]||(u[0]=f=>l(f))},null,8,["value"])])]),i.value&&o.value?(U(),ee(We,{key:0},[V("div",zge,[Jge,O(so,{style:{width:"60%"},min:-10,max:10,step:1,value:o.value.h,"onUpdate:value":u[1]||(u[1]=f=>s({h:f}))},null,8,["value"])]),V("div",$ge,[jge,O(so,{style:{width:"60%"},min:-10,max:10,step:1,value:o.value.v,"onUpdate:value":u[2]||(u[2]=f=>s({v:f}))},null,8,["value"])]),V("div",qge,[eme,O(so,{style:{width:"60%"},min:1,max:20,step:1,value:o.value.blur,"onUpdate:value":u[3]||(u[3]=f=>s({blur:f}))},null,8,["value"])]),V("div",tme,[nme,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:o.value.color,"onUpdate:modelValue":u[4]||(u[4]=f=>s({color:f}))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:o.value.color},null,8,["color"])]),_:1})])],64)):Qe("",!0)]))}}),L2=Ue(rme,[["__scopeId","data-v-671988a4"]]),ome=()=>{const e=ft(),{richTextAttrs:t,textFormatPainter:n}=Xe(e);return{toggleTextFormatPainter:(o=!1)=>{n.value?e.setTextFormatPainter(null):e.setTextFormatPainter({keep:o,bold:t.value.bold,em:t.value.em,underline:t.value.underline,strikethrough:t.value.strikethrough,color:t.value.color,backcolor:t.value.backcolor,fontname:t.value.fontname,fontsize:t.value.fontsize,align:t.value.align})}}},ime={class:"text-color-block"},ame=Ee({__name:"TextColorButton",props:{color:{}},setup(e){return(t,n)=>(U(),ke(je,{class:"text-color-btn"},{default:oe(()=>[sr(t.$slots,"default",{},void 0,!0),V("div",ime,[V("div",{class:"text-color-block-content",style:we({backgroundColor:t.color})},null,4)])]),_:3}))}}),Yd=Ue(ame,[["__scopeId","data-v-97cd463a"]]),Ar=Ee({__name:"CheckboxButton",props:{checked:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup(e){return(t,n)=>(U(),ke(je,{checked:t.checked,disabled:t.disabled,type:"checkbox"},{default:oe(()=>[sr(t.$slots,"default")]),_:3},8,["checked","disabled"]))}}),sme=Ee({__name:"ButtonGroup",props:{passive:{type:Boolean,default:!1}},setup(e){return(t,n)=>(U(),ee("div",{class:Je(["button-group",{passive:t.passive}]),ref:"groupRef"},[sr(t.$slots,"default",{},void 0,!0)],2))}}),Ln=Ue(sme,[["__scopeId","data-v-6a640ef5"]]),lme={},cme={class:"select-group"};function ume(e,t){return U(),ee("div",cme,[sr(e.$slots,"default",{},void 0,!0)])}const Z5=Ue(lme,[["render",ume],["__scopeId","data-v-ed58c719"]]),In=Ee({__name:"RadioButton",props:{value:{},disabled:{type:Boolean,default:!1}},setup(e){const{value:t,updateValue:n}=ri(UI);return(r,o)=>(U(),ke(je,{checked:!r.disabled&&H(t)===r.value,disabled:r.disabled,type:"radio",onClick:o[0]||(o[0]=i=>!r.disabled&&H(n)(r.value))},{default:oe(()=>[sr(r.$slots,"default")]),_:3},8,["checked","disabled"]))}}),Ms=Ee({__name:"RadioGroup",props:{value:{},disabled:{type:Boolean,default:!1}},emits:["update:value"],setup(e,{emit:t}){const n=e,r=t,o=a=>{n.disabled||r("update:value",a)},i=Me(()=>n.value);return Ku(UI,{value:i,updateValue:o}),(a,s)=>(U(),ke(Ln,{class:"radio-group"},{default:oe(()=>[sr(a.$slots,"default")]),_:3}))}}),O2=e=>(zt("data-v-830b245d"),e=e(),Jt(),e),fme={class:"rich-text-base"},dme={class:"link-popover"},hme={class:"btns"},pme={class:"row",passive:""},vme={class:"list-wrap"},gme=["onClick"],mme=O2(()=>V("span",null,null,-1)),Ame=[mme],Rme=O2(()=>V("div",{style:{width:"10px"}},null,-1)),yme={class:"list-wrap"},bme=["onClick"],xme=O2(()=>V("span",null,null,-1)),Sme=[xme],Mme={class:"row"},wme=O2(()=>V("div",{style:{width:"10px"}},null,-1)),Lme=Ee({__name:"RichTextBase",setup(e){const{richTextAttrs:t,availableFonts:n,textFormatPainter:r}=Xe(ft()),{toggleTextFormatPainter:o}=ome(),i=["12px","14px","16px","18px","20px","22px","24px","28px","32px","36px","40px","44px","48px","54px","60px","66px","72px","76px","80px","88px","96px","104px","112px","120px"],a=(y,R)=>{ao.emit(Hr.RICH_TEXT_COMMAND,{action:{command:y,value:R}})},s=ve(!1),l=ve(!1),c=ve(!1),u=ve(!1),f=ve(["disc","circle","square"]),d=ve(["decimal","lower-roman","upper-roman","lower-alpha","upper-alpha","lower-greek"]),h=ve(""),p=ve(!1);wt(t,()=>p.value=!1);const v=()=>{h.value=t.value.link},m=y=>{if(!y||!/^(https?):\/\/[\w\-]+(\.[\w\-]+)+([\w\-.,@?^=%&:\/~+#]*[\w\-@?^=%&\/~+#])?$/.test(y))return gn.error("不是正确的网页链接地址");a("link",y),p.value=!1},x=()=>{a("link"),p.value=!1};return(y,R)=>{const A=Se("IconFontSize"),b=Se("IconAddText"),M=Se("IconText"),T=Se("IconHighLight"),w=Se("IconTextBold"),L=Se("IconTextItalic"),k=Se("IconTextUnderline"),E=Se("IconStrikethrough"),P=Se("IconCode"),W=Se("IconQuote"),N=Se("IconFormat"),_=Se("IconFormatBrush"),C=Se("IconLinkOne"),X=Se("IconAlignTextLeft"),Y=Se("IconAlignTextCenter"),$=Se("IconAlignTextRight"),le=Se("IconAlignTextBoth"),Q=Se("IconList"),K=Se("IconDown"),B=Se("IconOrderedList"),D=Se("IconIndentLeft"),G=Se("IconIndentRight"),ae=bn("tooltip");return U(),ee("div",fme,[O(Z5,{class:"row"},{default:oe(()=>[O(Hn,{class:"font-select",style:{width:"60%"},value:H(t).fontname,search:"",searchLabel:"搜索字体","onUpdate:value":R[0]||(R[0]=se=>a("fontname",se)),options:[...H(n),...H(Op)]},{icon:oe(()=>[O(A)]),_:1},8,["value","options"]),O(Hn,{style:{width:"40%"},value:H(t).fontsize,search:"",searchLabel:"搜索字号","onUpdate:value":R[1]||(R[1]=se=>a("fontsize",se)),options:i.map(se=>({label:se,value:se}))},{icon:oe(()=>[O(b)]),_:1},8,["value","options"])]),_:1}),O(Ln,{class:"row",passive:""},{default:oe(()=>[O(Pt,{trigger:"click",style:{width:"30%"}},{content:oe(()=>[O(_n,{modelValue:H(t).color,"onUpdate:modelValue":R[2]||(R[2]=se=>a("color",se))},null,8,["modelValue"])]),default:oe(()=>[He((U(),ke(Yd,{first:"",color:H(t).color},{default:oe(()=>[O(M)]),_:1},8,["color"])),[[ae,"文字颜色"]])]),_:1}),O(Pt,{trigger:"click",style:{width:"30%"}},{content:oe(()=>[O(_n,{modelValue:H(t).backcolor,"onUpdate:modelValue":R[3]||(R[3]=se=>a("backcolor",se))},null,8,["modelValue"])]),default:oe(()=>[He((U(),ke(Yd,{color:H(t).backcolor},{default:oe(()=>[O(T)]),_:1},8,["color"])),[[ae,"文字高亮"]])]),_:1}),He((U(),ke(je,{class:"font-size-btn",style:{width:"20%"},onClick:R[4]||(R[4]=se=>a("fontsize-add"))},{default:oe(()=>[O(A),Ve("+")]),_:1})),[[ae,"增大字号"]]),He((U(),ke(je,{last:"",class:"font-size-btn",style:{width:"20%"},onClick:R[5]||(R[5]=se=>a("fontsize-reduce"))},{default:oe(()=>[O(A),Ve("-")]),_:1})),[[ae,"减小字号"]])]),_:1}),O(Ln,{class:"row"},{default:oe(()=>[He((U(),ke(Ar,{style:{flex:"1"},checked:H(t).bold,onClick:R[6]||(R[6]=se=>a("bold"))},{default:oe(()=>[O(w)]),_:1},8,["checked"])),[[ae,"加粗"]]),He((U(),ke(Ar,{style:{flex:"1"},checked:H(t).em,onClick:R[7]||(R[7]=se=>a("em"))},{default:oe(()=>[O(L)]),_:1},8,["checked"])),[[ae,"斜体"]]),He((U(),ke(Ar,{style:{flex:"1"},checked:H(t).underline,onClick:R[8]||(R[8]=se=>a("underline"))},{default:oe(()=>[O(k)]),_:1},8,["checked"])),[[ae,"下划线"]]),He((U(),ke(Ar,{style:{flex:"1"},checked:H(t).strikethrough,onClick:R[9]||(R[9]=se=>a("strikethrough"))},{default:oe(()=>[O(E)]),_:1},8,["checked"])),[[ae,"删除线"]])]),_:1}),O(Ln,{class:"row"},{default:oe(()=>[He((U(),ke(Ar,{style:{flex:"1"},checked:H(t).superscript,onClick:R[10]||(R[10]=se=>a("superscript"))},{default:oe(()=>[Ve("A²")]),_:1},8,["checked"])),[[ae,"上标"]]),He((U(),ke(Ar,{style:{flex:"1"},checked:H(t).subscript,onClick:R[11]||(R[11]=se=>a("subscript"))},{default:oe(()=>[Ve("A₂")]),_:1},8,["checked"])),[[ae,"下标"]]),He((U(),ke(Ar,{style:{flex:"1"},checked:H(t).code,onClick:R[12]||(R[12]=se=>a("code"))},{default:oe(()=>[O(P)]),_:1},8,["checked"])),[[ae,"行内代码"]]),He((U(),ke(Ar,{style:{flex:"1"},checked:H(t).blockquote,onClick:R[13]||(R[13]=se=>a("blockquote"))},{default:oe(()=>[O(W)]),_:1},8,["checked"])),[[ae,"引用"]])]),_:1}),O(Ln,{class:"row",passive:""},{default:oe(()=>[He((U(),ke(Ar,{first:"",style:{flex:"1"},onClick:R[14]||(R[14]=se=>a("clear"))},{default:oe(()=>[O(N)]),_:1})),[[ae,"清除格式"]]),He((U(),ke(Ar,{style:{flex:"1"},checked:!!H(r),onClick:R[15]||(R[15]=se=>H(o)()),onDblclick:R[16]||(R[16]=se=>H(o)(!0))},{default:oe(()=>[O(_)]),_:1},8,["checked"])),[[ae,"格式刷(双击连续使用)"]]),O(Pt,{placement:"bottom-end",trigger:"click",value:p.value,"onUpdate:value":R[21]||(R[21]=se=>p.value=se),style:{width:"33.33%"}},{content:oe(()=>[V("div",dme,[O(Rc,{value:h.value,"onUpdate:value":R[17]||(R[17]=se=>h.value=se),placeholder:"请输入超链接"},null,8,["value"]),V("div",hme,[O(je,{size:"small",disabled:!H(t).link,onClick:R[18]||(R[18]=se=>x()),style:{"margin-right":"5px"}},{default:oe(()=>[Ve("移除")]),_:1},8,["disabled"]),O(je,{size:"small",type:"primary",onClick:R[19]||(R[19]=se=>m(h.value))},{default:oe(()=>[Ve("确认")]),_:1})])])]),default:oe(()=>[He((U(),ke(Ar,{last:"",style:{width:"100%"},checked:!!H(t).link,onClick:R[20]||(R[20]=se=>v())},{default:oe(()=>[O(C)]),_:1},8,["checked"])),[[ae,"超链接"]])]),_:1},8,["value"])]),_:1}),O(Ft),O(Ms,{class:"row","button-style":"solid",value:H(t).align,"onUpdate:value":R[22]||(R[22]=se=>a("align",se))},{default:oe(()=>[He((U(),ke(In,{value:"left",style:{flex:"1"}},{default:oe(()=>[O(X)]),_:1})),[[ae,"左对齐"]]),He((U(),ke(In,{value:"center",style:{flex:"1"}},{default:oe(()=>[O(Y)]),_:1})),[[ae,"居中"]]),He((U(),ke(In,{value:"right",style:{flex:"1"}},{default:oe(()=>[O($)]),_:1})),[[ae,"右对齐"]]),He((U(),ke(In,{value:"justify",style:{flex:"1"}},{default:oe(()=>[O(le)]),_:1})),[[ae,"两端对齐"]])]),_:1},8,["value"]),V("div",pme,[O(Ln,{style:{flex:"1"}},{default:oe(()=>[He((U(),ke(je,{first:"",type:H(t).bulletList?"primary":"default",style:{flex:"1"},onClick:R[23]||(R[23]=se=>a("bulletList"))},{default:oe(()=>[O(Q)]),_:1},8,["type"])),[[ae,"项目符号"]]),O(Pt,{trigger:"click",value:s.value,"onUpdate:value":R[24]||(R[24]=se=>s.value=se)},{content:oe(()=>[V("div",vme,[(U(!0),ee(We,null,nt(f.value,se=>(U(),ee("ul",{class:"list",key:se,style:we({listStyleType:se}),onClick:J=>a("bulletList",se)},[(U(),ee(We,null,nt(3,J=>V("li",{class:"list-item",key:J},Ame)),64))],12,gme))),128))])]),default:oe(()=>[O(je,{last:"",class:"popover-btn"},{default:oe(()=>[O(K)]),_:1})]),_:1},8,["value"])]),_:1}),Rme,O(Ln,{style:{flex:"1"},passive:""},{default:oe(()=>[He((U(),ke(je,{first:"",type:H(t).orderedList?"primary":"default",style:{flex:"1"},onClick:R[25]||(R[25]=se=>a("orderedList"))},{default:oe(()=>[O(B)]),_:1},8,["type"])),[[ae,"编号"]]),O(Pt,{trigger:"click",value:l.value,"onUpdate:value":R[26]||(R[26]=se=>l.value=se)},{content:oe(()=>[V("div",yme,[(U(!0),ee(We,null,nt(d.value,se=>(U(),ee("ul",{class:"list",key:se,style:we({listStyleType:se}),onClick:J=>a("orderedList",se)},[(U(),ee(We,null,nt(3,J=>V("li",{class:"list-item",key:J},Sme)),64))],12,bme))),128))])]),default:oe(()=>[O(je,{last:"",class:"popover-btn"},{default:oe(()=>[O(K)]),_:1})]),_:1},8,["value"])]),_:1})]),V("div",Mme,[O(Ln,{style:{flex:"1"},passive:""},{default:oe(()=>[He((U(),ke(je,{first:"",style:{flex:"1"},onClick:R[27]||(R[27]=se=>a("indent","-1"))},{default:oe(()=>[O(D)]),_:1})),[[ae,"减小段落缩进"]]),O(Pt,{trigger:"click",value:c.value,"onUpdate:value":R[29]||(R[29]=se=>c.value=se)},{content:oe(()=>[O(go,{onClick:R[28]||(R[28]=se=>a("textIndent","-1"))},{default:oe(()=>[Ve("减小首行缩进")]),_:1})]),default:oe(()=>[O(je,{last:"",class:"popover-btn"},{default:oe(()=>[O(K)]),_:1})]),_:1},8,["value"])]),_:1}),wme,O(Ln,{style:{flex:"1"},passive:""},{default:oe(()=>[He((U(),ke(je,{first:"",style:{flex:"1"},onClick:R[30]||(R[30]=se=>a("indent","+1"))},{default:oe(()=>[O(G)]),_:1})),[[ae,"增大段落缩进"]]),O(Pt,{trigger:"click",value:u.value,"onUpdate:value":R[32]||(R[32]=se=>u.value=se)},{content:oe(()=>[O(go,{onClick:R[31]||(R[31]=se=>a("textIndent","+1"))},{default:oe(()=>[Ve("增大首行缩进")]),_:1})]),default:oe(()=>[O(je,{last:"",class:"popover-btn"},{default:oe(()=>[O(K)]),_:1})]),_:1},8,["value"])]),_:1})])])}}}),z_=Ue(Lme,[["__scopeId","data-v-830b245d"]]),T2=e=>(zt("data-v-82b69e69"),e=e(),Jt(),e),Ome={class:"text-style-panel"},Tme={class:"preset-style"},kme=["onClick"],Nme={class:"row"},Pme=T2(()=>V("div",{style:{width:"40%"}},"行间距:",-1)),Cme={class:"row"},Ime=T2(()=>V("div",{style:{width:"40%"}},"段间距:",-1)),Fme={class:"row"},_me=T2(()=>V("div",{style:{width:"40%"}},"字间距:",-1)),Eme={class:"row"},Xme=T2(()=>V("div",{style:{width:"40%"}},"文本框填充:",-1)),Wme=Ee({__name:"TextStylePanel",setup(e){const t=[{label:"大标题",style:{fontSize:"26px",fontWeight:700},cmd:[{command:"clear"},{command:"bold"},{command:"fontsize",value:"66px"},{command:"align",value:"center"}]},{label:"小标题",style:{fontSize:"22px",fontWeight:700},cmd:[{command:"clear"},{command:"bold"},{command:"fontsize",value:"40px"},{command:"align",value:"center"}]},{label:"正文",style:{fontSize:"20px"},cmd:[{command:"clear"},{command:"fontsize",value:"20px"}]},{label:"正文[小]",style:{fontSize:"18px"},cmd:[{command:"clear"},{command:"fontsize",value:"18px"}]},{label:"注释 1",style:{fontSize:"16px",fontStyle:"italic"},cmd:[{command:"clear"},{command:"fontsize",value:"16px"},{command:"em"}]},{label:"注释 2",style:{fontSize:"16px",textDecoration:"underline"},cmd:[{command:"clear"},{command:"fontsize",value:"16px"},{command:"underline"}]}],n=ft(),r=st(),{handleElement:o,handleElementId:i}=Xe(n),{addHistorySnapshot:a}=Ht(),s=A=>{r.updateElement({id:i.value,props:A}),a()},l=ve("#000"),c=ve(),u=ve(),f=ve();wt(o,()=>{!o.value||o.value.type!=="text"||(l.value=o.value.fill||"#fff",c.value=o.value.lineHeight||1.5,u.value=o.value.wordSpace||0,f.value=o.value.paragraphSpace===void 0?5:o.value.paragraphSpace,ao.emit(Hr.SYNC_RICH_TEXT_ATTRS_TO_STORE))},{deep:!0,immediate:!0});const d=[.9,1,1.15,1.2,1.4,1.5,1.8,2,2.5,3],h=[0,1,2,3,4,5,6,8,10],p=[0,5,10,15,20,25,30,40,50,80],v=A=>{s({lineHeight:A})},m=A=>{s({paragraphSpace:A})},x=A=>{s({wordSpace:A})},y=A=>{s({fill:A})},R=A=>{ao.emit(Hr.RICH_TEXT_COMMAND,{action:A})};return(A,b)=>{const M=Se("IconRowHeight"),T=Se("IconVerticalSpacingBetweenItems"),w=Se("IconFullwidth");return U(),ee("div",Ome,[V("div",Tme,[(U(),ee(We,null,nt(t,L=>V("div",{class:"preset-style-item",key:L.label,style:we(L.style),onClick:k=>R(L.cmd)},vt(L.label),13,kme)),64))]),O(Ft),O(z_),O(Ft),V("div",Nme,[Pme,O(Hn,{style:{width:"60%"},value:c.value||1,"onUpdate:value":b[0]||(b[0]=L=>v(L)),options:d.map(L=>({label:L+"倍",value:L}))},{icon:oe(()=>[O(M)]),_:1},8,["value","options"])]),V("div",Cme,[Ime,O(Hn,{style:{width:"60%"},value:f.value||0,"onUpdate:value":b[1]||(b[1]=L=>m(L)),options:p.map(L=>({label:L+"px",value:L}))},{icon:oe(()=>[O(T)]),_:1},8,["value","options"])]),V("div",Fme,[_me,O(Hn,{style:{width:"60%"},value:u.value||0,"onUpdate:value":b[2]||(b[2]=L=>x(L)),options:h.map(L=>({label:L+"px",value:L}))},{icon:oe(()=>[O(w)]),_:1},8,["value","options"])]),V("div",Eme,[Xme,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:l.value,"onUpdate:modelValue":b[3]||(b[3]=L=>y(L))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:l.value},null,8,["color"])]),_:1})]),O(Ft),O(jp),O(Ft),O(L2),O(Ft),O(Q_)])}}}),Vme=Ue(Wme,[["__scopeId","data-v-82b69e69"]]),Ume={class:"element-flip"},Yme=Ee({__name:"ElementFlip",setup(e){const t=st(),{handleElement:n}=Xe(ft()),r=ve(!1),o=ve(!1);wt(n,()=>{n.value&&(n.value.type==="image"||n.value.type==="shape")&&(r.value=!!n.value.flipH,o.value=!!n.value.flipV)},{deep:!0,immediate:!0});const{addHistorySnapshot:i}=Ht(),a=s=>{n.value&&(t.updateElement({id:n.value.id,props:s}),i())};return(s,l)=>{const c=Se("IconFlipVertically"),u=Se("IconFlipHorizontally");return U(),ee("div",Ume,[O(Ln,{class:"row"},{default:oe(()=>[O(Ar,{style:{flex:"1"},checked:o.value,onClick:l[0]||(l[0]=f=>a({flipV:!o.value}))},{default:oe(()=>[O(c),Ve(" 垂直翻转")]),_:1},8,["checked"]),O(Ar,{style:{flex:"1"},checked:r.value,onClick:l[1]||(l[1]=f=>a({flipH:!r.value}))},{default:oe(()=>[O(u),Ve(" 水平翻转")]),_:1},8,["checked"])]),_:1})])}}}),J_=Ue(Yme,[["__scopeId","data-v-100c8a7c"]]),Qme=e=>(zt("data-v-8564f2ac"),e=e(),Jt(),e),Zme={class:"element-filter"},Bme={class:"row"},Dme=Qme(()=>V("div",{style:{flex:"2"}},"启用滤镜:",-1)),Kme={class:"switch-wrapper",style:{flex:"3"}},Hme={class:"presets"},Gme=["onClick"],zme=["src"],Jme={class:"preset-label"},$me={class:"filter"},jme={class:"name"},qme=Ee({__name:"ElementFilter",setup(e){const t=[{label:"模糊",key:"blur",default:0,value:0,unit:"px",max:10,step:1},{label:"亮度",key:"brightness",default:100,value:100,unit:"%",max:200,step:5},{label:"对比度",key:"contrast",default:100,value:100,unit:"%",max:200,step:5},{label:"灰度",key:"grayscale",default:0,value:0,unit:"%",max:100,step:5},{label:"饱和度",key:"saturate",default:100,value:100,unit:"%",max:200,step:5},{label:"色相",key:"hue-rotate",default:0,value:0,unit:"deg",max:360,step:10},{label:"褐色",key:"sepia",default:0,value:0,unit:"%",max:100,step:5},{label:"反转",key:"invert",default:0,value:0,unit:"%",max:100,step:5},{label:"不透明度",key:"opacity",default:100,value:100,unit:"%",max:100,step:5}],n=[{label:"黑白",values:{grayscale:"100%"}},{label:"复古",values:{sepia:"50%",contrast:"110%",brightness:"90%"}},{label:"锐化",values:{contrast:"150%"}},{label:"柔和",values:{brightness:"110%",contrast:"90%"}},{label:"暖色",values:{sepia:"30%",saturate:"135%"}},{label:"明亮",values:{brightness:"110%",contrast:"110%"}},{label:"鲜艳",values:{saturate:"200%"}},{label:"模糊",values:{blur:"2px"}},{label:"反转",values:{invert:"100%"}}],r=st(),{handleElement:o,handleElementId:i}=Xe(ft()),a=o,s=ve(JSON.parse(JSON.stringify(t))),l=ve(!1),{addHistorySnapshot:c}=Ht();wt(o,()=>{if(!o.value||o.value.type!=="image")return;const p=o.value.filters;p?(s.value=t.map(v=>{const m=p[v.key];return m?{...v,value:parseInt(m)}:v}),l.value=!0):(s.value=JSON.parse(JSON.stringify(t)),l.value=!1)},{deep:!0,immediate:!0});const u=p=>{let v="";const m=Object.keys(p);for(const x of m)v+=`${x}(${p[x]}) `;return v},f=(p,v)=>{const y={...o.value.filters||{},[p.key]:`${v}${p.unit}`};r.updateElement({id:i.value,props:{filters:y}}),c()},d=p=>{o.value&&(p?r.updateElement({id:o.value.id,props:{filters:{}}}):r.removeElementProps({id:o.value.id,propName:"filters"}),c())},h=p=>{r.updateElement({id:i.value,props:{filters:p}}),c()};return(p,v)=>(U(),ee("div",Zme,[V("div",Bme,[Dme,V("div",Kme,[O(la,{value:l.value,"onUpdate:value":v[0]||(v[0]=m=>d(m))},null,8,["value"])])]),l.value?(U(),ee(We,{key:0},[V("div",Hme,[(U(),ee(We,null,nt(n,(m,x)=>V("div",{class:"preset-item",key:x,onClick:y=>h(m.values)},[V("img",{src:H(a).src,alt:"",style:we({filter:u(m.values)})},null,12,zme),V("span",Jme,vt(m.label),1)],8,Gme)),64))]),V("div",$me,[(U(!0),ee(We,null,nt(s.value,m=>(U(),ee("div",{class:"filter-item",key:m.key},[V("div",jme,vt(m.label),1),O(so,{class:"filter-slider",max:m.max,min:0,step:m.step,value:m.value,"onUpdate:value":x=>f(m,x)},null,8,["max","step","value","onUpdate:value"])]))),128))])],64)):Qe("",!0)]))}}),e2e=Ue(qme,[["__scopeId","data-v-8564f2ac"]]),$_=e=>(zt("data-v-51ffed2c"),e=e(),Jt(),e),t2e={class:"element-color-mask"},n2e={class:"row"},r2e=$_(()=>V("div",{style:{width:"40%"}},"着色(蒙版):",-1)),o2e={class:"switch-wrapper",style:{width:"60%"}},i2e={key:0,class:"row",style:{"margin-top":"15px"}},a2e=$_(()=>V("div",{style:{width:"40%"}},"蒙版颜色:",-1)),gk="rgba(226, 83, 77, 0.5)",s2e=Ee({__name:"ElementColorMask",setup(e){const t=st(),{handleElement:n,handleElementId:r}=Xe(ft()),o=ve(gk),i=ve(!1),{addHistorySnapshot:a}=Ht();wt(n,()=>{!n.value||n.value.type!=="image"||(n.value.colorMask?(o.value=n.value.colorMask,i.value=!0):i.value=!1)},{deep:!0,immediate:!0});const s=c=>{n.value&&(c?t.updateElement({id:n.value.id,props:{colorMask:gk}}):t.removeElementProps({id:n.value.id,propName:"colorMask"}),a())},l=c=>{t.updateElement({id:r.value,props:{colorMask:c}}),a()};return(c,u)=>(U(),ee("div",t2e,[V("div",n2e,[r2e,V("div",o2e,[O(la,{value:i.value,"onUpdate:value":u[0]||(u[0]=f=>s(f))},null,8,["value"])])]),i.value?(U(),ee("div",i2e,[a2e,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:o.value,"onUpdate:modelValue":u[1]||(u[1]=f=>l(f))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:o.value},null,8,["color"])]),_:1})])):Qe("",!0)]))}}),l2e=Ue(s2e,[["__scopeId","data-v-51ffed2c"]]),j_=e=>(zt("data-v-0e7500b2"),e=e(),Jt(),e),c2e={class:"image-style-panel"},u2e={class:"clip"},f2e=j_(()=>V("div",{class:"title"},"按形状:",-1)),d2e={class:"shape-clip"},h2e=["onClick"],p2e={key:0,class:"title"},v2e={class:"row"},g2e=j_(()=>V("div",{style:{width:"40%"}},"圆角半径:",-1)),m2e=Ee({__name:"ImageStylePanel",setup(e){const t=eb,n=[{label:"纵横比(正方形)",children:[{key:"1:1",ratio:1/1}]},{label:"纵横比(纵向)",children:[{key:"2:3",ratio:3/2},{key:"3:4",ratio:4/3},{key:"3:5",ratio:5/3},{key:"4:5",ratio:5/4}]},{label:"纵横比(横向)",children:[{key:"3:2",ratio:2/3},{key:"4:3",ratio:3/4},{key:"5:3",ratio:3/5},{key:"5:4",ratio:4/5}]},{children:[{key:"16:9",ratio:9/16},{key:"16:10",ratio:10/16}]}],r=ft(),o=st(),{handleElement:i,handleElementId:a}=Xe(r),{currentSlide:s}=Xe(o),l=i,c=ve(!1),{addHistorySnapshot:u}=Ht(),f=()=>{r.setClipingImageElementId(a.value),c.value=!1},d=()=>{const y=i.value,R=y.width,A=y.height,b=y.left,M=y.top,T=y.clip?y.clip.range:[[0,0],[100,100]],w=R/((T[1][0]-T[0][0])/100),L=A/((T[1][1]-T[0][1])/100),k=b-w*(T[0][0]/100),E=M-L*(T[0][1]/100);return{originClipRange:T,originWidth:w,originHeight:L,originLeft:k,originTop:E}},h=y=>{i.value&&(o.updateElement({id:a.value,props:y}),u())},p=(y,R=0)=>{const A=i.value,{originClipRange:b,originWidth:M,originHeight:T,originLeft:w,originTop:L}=d();if(R){const k=T/M,E=0,P=100;let W;if(k>R){const N=(1-R/k)/2*100;W=[[E,N],[P,P-N]]}else{const N=(1-k/R)/2*100;W=[[N,E],[P-N,P]]}h({clip:{...A.clip,shape:y,range:W},left:w+M*(W[0][0]/100),top:L+T*(W[0][1]/100),width:M*(W[1][0]-W[0][0])/100,height:T*(W[1][1]-W[0][1])/100})}else{const k={...A.clip,shape:y,range:b};let E={clip:k};y==="rect"&&(E={clip:k,radius:0}),h(E)}f()},v=y=>{const R=y[0];R&&Lc(R).then(A=>{h({src:A})})},m=()=>{if(i.value.clip){const{originWidth:R,originHeight:A,originLeft:b,originTop:M}=d();h({left:b,top:M,width:R,height:A})}o.removeElementProps({id:a.value,propName:["clip","outline","flip","shadow","filters","colorMask"]}),u()},x=()=>{const y=i.value,R={...s.value.background,type:"image",image:{src:y.src,size:"cover"}};o.updateSlide({background:R}),u()};return(y,R)=>{const A=Se("IconTailoring"),b=Se("IconDown"),M=Se("IconTransform"),T=Se("IconUndo"),w=Se("IconTheme");return U(),ee("div",c2e,[V("div",{class:"origin-image",style:we({backgroundImage:`url(${H(l).src})`})},null,4),O(J_),O(Ln,{class:"row",passive:""},{default:oe(()=>[O(je,{first:"",style:{width:"calc(100% / 6 * 5)"},onClick:R[0]||(R[0]=L=>f())},{default:oe(()=>[O(A,{class:"btn-icon"}),Ve(" 裁剪图片")]),_:1}),O(Pt,{trigger:"click",value:c.value,"onUpdate:value":R[1]||(R[1]=L=>c.value=L),style:{width:"calc(100% / 6)"}},{content:oe(()=>[V("div",u2e,[f2e,V("div",d2e,[(U(!0),ee(We,null,nt(H(t),(L,k)=>(U(),ee("div",{class:"shape-clip-item",key:k,onClick:E=>p(k)},[V("div",{class:"shape",style:we({clipPath:L.style})},null,4)],8,h2e))),128))]),(U(),ee(We,null,nt(n,L=>(U(),ee(We,{key:L.label},[L.label?(U(),ee("div",p2e,"按"+vt(L.label)+":",1)):Qe("",!0),O(Ln,{class:"row"},{default:oe(()=>[(U(!0),ee(We,null,nt(L.children,k=>(U(),ke(je,{style:{flex:"1"},key:k.key,onClick:E=>p("rect",k.ratio)},{default:oe(()=>[Ve(vt(k.key),1)]),_:2},1032,["onClick"]))),128))]),_:2},1024)],64))),64))])]),default:oe(()=>[O(je,{last:"",class:"popover-btn",style:{width:"100%"}},{default:oe(()=>[O(b)]),_:1})]),_:1},8,["value"])]),_:1}),V("div",v2e,[g2e,O(ei,{value:H(l).radius||0,"onUpdate:value":R[2]||(R[2]=L=>h({radius:L})),style:{width:"60%"}},null,8,["value"])]),O(Ft),O(l2e),O(Ft),O(e2e),O(Ft),O(jp),O(Ft),O(L2),O(Ft),O(Wu,{onChange:R[3]||(R[3]=L=>v(L))},{default:oe(()=>[O(je,{class:"full-width-btn"},{default:oe(()=>[O(M,{class:"btn-icon"}),Ve(" 替换图片")]),_:1})]),_:1}),O(je,{class:"full-width-btn",onClick:R[4]||(R[4]=L=>m())},{default:oe(()=>[O(T,{class:"btn-icon"}),Ve(" 重置样式")]),_:1}),O(je,{class:"full-width-btn",onClick:R[5]||(R[5]=L=>x())},{default:oe(()=>[O(w,{class:"btn-icon"}),Ve(" 设为背景")]),_:1})])}}}),A2e=Ue(m2e,[["__scopeId","data-v-0e7500b2"]]),R2e=()=>{const e=ft(),{shapeFormatPainter:t,handleElement:n}=Xe(e);return{toggleShapeFormatPainter:(o=!1)=>{const i=n.value;t.value?e.setShapeFormatPainter(null):e.setShapeFormatPainter({keep:o,fill:i.fill,gradient:i.gradient,outline:i.outline,opacity:i.opacity,shadow:i.shadow})}}},y2e={class:"gradient-bar"},b2e=["onMousedown","onContextmenu"],x2e=Ee({__name:"GradientBar",props:{value:{}},emits:["update:value","update:index"],setup(e,{emit:t}){const n=e,r=t,o=ve([]),i=ve(),a=ve(0);Dd(()=>{o.value=n.value,a.value>n.value.length-1&&(a.value=0)}),wt(a,()=>{r("update:index",a.value)});const s=Me(()=>`linear-gradient(to right, ${o.value.map(d=>`${d.color} ${d.pos}%`).join(",")})`),l=f=>{if(n.value.length<=2)return;f===a.value?a.value=f-1<0?0:f-1:a.value===n.value.length-1&&(a.value=n.value.length-2);const d=n.value.filter((h,p)=>p!==f);r("update:value",d)},c=f=>{let d=!0;document.onmousemove=h=>{if(!d||!i.value)return;let p=Math.round((h.clientX-i.value.getBoundingClientRect().left)/i.value.clientWidth*100);p>100&&(p=100),p<0&&(p=0),o.value=o.value.map((v,m)=>m===f?{...v,pos:p}:v)},document.onmouseup=()=>{d=!1;const h=o.value[f],p=[...o.value];p.splice(f,1);let v=0;for(let m=0;mp[m].pos&&(v=m+1);a.value=v,p.splice(v,0,h),r("update:value",p),document.onmousemove=null,document.onmouseup=null}},u=f=>{if(n.value.length>=6||!i.value)return;const d=Math.round((f.clientX-i.value.getBoundingClientRect().left)/i.value.clientWidth*100);let h=0;for(let m=0;mn.value[m].pos&&(h=m+1);const p=n.value[h-1]?n.value[h-1].color:n.value[h].color,v=[...n.value];v.splice(h,0,{pos:d,color:p}),a.value=h,r("update:value",v)};return(f,d)=>(U(),ee("div",y2e,[V("div",{class:"bar",ref_key:"barRef",ref:i,style:we({backgroundImage:s.value}),onClick:d[0]||(d[0]=h=>u(h))},null,4),(U(!0),ee(We,null,nt(o.value,(h,p)=>(U(),ee("div",{class:Je(["point",{active:a.value===p}]),key:h.pos+"-"+p,style:we({backgroundColor:h.color,left:`calc(${h.pos}% - 5px)`}),onMousedown:Nt(v=>c(p),["left"]),onContextmenu:Nt(v=>l(p),["right"])},null,46,b2e))),128))]))}}),q_=Ue(x2e,[["__scopeId","data-v-c1273c7e"]]),k2=e=>(zt("data-v-d5ed5ce8"),e=e(),Jt(),e),S2e={class:"shape-style-panel"},M2e={class:"title"},w2e=k2(()=>V("span",null,"点击替换形状",-1)),L2e={class:"shape-pool"},O2e={class:"shape-list"},T2e={class:"row"},k2e=k2(()=>V("div",{style:{width:"10px"}},null,-1)),N2e={class:"row"},P2e={class:"row"},C2e=k2(()=>V("div",{style:{width:"40%"}},"当前色块:",-1)),I2e={key:0,class:"row"},F2e=k2(()=>V("div",{style:{width:"40%"}},"渐变角度:",-1)),_2e={class:"row"},E2e=Ee({__name:"ShapeStylePanel",setup(e){const t=ft(),n=st(),{handleElement:r,handleElementId:o,shapeFormatPainter:i}=Xe(t),a=r,s=ve("#000"),l=ve({type:"linear",rotate:0,colors:[{pos:0,color:"#fff"},{pos:100,color:"#fff"}]}),c=ve("fill"),u=ve("middle"),f=ve(0);wt(r,()=>{var M,T;if(!r.value||r.value.type!=="shape")return;s.value=r.value.fill||"#fff";const b=[{pos:0,color:s.value},{pos:100,color:"#fff"}];l.value=r.value.gradient||{type:"linear",rotate:0,colors:b},c.value=r.value.gradient?"gradient":"fill",u.value=((T=(M=r.value)==null?void 0:M.text)==null?void 0:T.align)||"middle"},{deep:!0,immediate:!0});const{addHistorySnapshot:d}=Ht(),{toggleShapeFormatPainter:h}=R2e(),p=b=>{n.updateElement({id:o.value,props:b}),d()},v=b=>{b==="fill"?(n.removeElementProps({id:o.value,propName:"gradient"}),d()):(f.value=0,p({gradient:l.value}))},m=b=>{if(!l.value)return;const M={...l.value,...b};p({gradient:M})},x=b=>{const M=l.value.colors.map((T,w)=>w===f.value?{...T,color:b}:T);m({colors:M})},y=b=>{p({fill:b})},R=b=>{const{width:M,height:T}=r.value,w={viewBox:b.viewBox,path:b.path,special:b.special};if(b.pathFormula){w.pathFormula=b.pathFormula,w.viewBox=[M,T];const L=zu[b.pathFormula];"editable"in L?(w.path=L.formula(M,T,L.defaultValue),w.keypoints=L.defaultValue):w.path=L.formula(M,T)}else w.pathFormula=void 0,w.keypoints=void 0;p(w)},A=b=>{const M=r.value,T={content:"",defaultFontName:"微软雅黑",defaultColor:"#000",align:"middle"},w=M.text||T;p({text:{...w,align:b}})};return(b,M)=>{var W;const T=Se("IconDown"),w=Se("IconAlignTextTopOne"),L=Se("IconAlignTextMiddleOne"),k=Se("IconAlignTextBottomOne"),E=Se("IconFormatBrush"),P=bn("tooltip");return U(),ee("div",S2e,[V("div",M2e,[w2e,O(T)]),V("div",L2e,[(U(!0),ee(We,null,nt(H(Xx),N=>(U(),ee("div",{class:"category",key:N.type},[V("div",O2e,[(U(!0),ee(We,null,nt(N.children,(_,C)=>(U(),ke(x_,{class:"shape-item",key:C,shape:_,onClick:X=>R(_)},null,8,["shape","onClick"]))),128))])]))),128))]),V("div",T2e,[O(Hn,{style:{flex:"1"},value:c.value,"onUpdate:value":M[0]||(M[0]=N=>v(N)),options:[{label:"纯色填充",value:"fill"},{label:"渐变填充",value:"gradient"}]},null,8,["value"]),k2e,c.value==="fill"?(U(),ke(Pt,{key:0,trigger:"click",style:{flex:"1"}},{content:oe(()=>[O(_n,{modelValue:s.value,"onUpdate:modelValue":M[1]||(M[1]=N=>y(N))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:s.value},null,8,["color"])]),_:1})):(U(),ke(Hn,{key:1,style:{flex:"1"},value:l.value.type,"onUpdate:value":M[2]||(M[2]=N=>m({type:N})),options:[{label:"线性渐变",value:"linear"},{label:"径向渐变",value:"radial"}]},null,8,["value"]))]),c.value==="gradient"?(U(),ee(We,{key:0},[V("div",N2e,[O(q_,{value:l.value.colors,"onUpdate:value":M[3]||(M[3]=N=>m({colors:N})),"onUpdate:index":M[4]||(M[4]=N=>f.value=N)},null,8,["value"])]),V("div",P2e,[C2e,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:l.value.colors[f.value].color,"onUpdate:modelValue":M[5]||(M[5]=N=>x(N))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:l.value.colors[f.value].color},null,8,["color"])]),_:1})]),l.value.type==="linear"?(U(),ee("div",I2e,[F2e,O(so,{style:{width:"60%"},min:0,max:360,step:15,value:l.value.rotate,"onUpdate:value":M[6]||(M[6]=N=>m({rotate:N}))},null,8,["value"])])):Qe("",!0)],64)):Qe("",!0),O(J_),O(Ft),(W=H(a).text)!=null&&W.content?(U(),ee(We,{key:1},[O(z_),O(Ft),O(Ms,{class:"row","button-style":"solid",value:u.value,"onUpdate:value":M[7]||(M[7]=N=>A(N))},{default:oe(()=>[He((U(),ke(In,{value:"top",style:{flex:"1"}},{default:oe(()=>[O(w)]),_:1})),[[P,"顶对齐"]]),He((U(),ke(In,{value:"middle",style:{flex:"1"}},{default:oe(()=>[O(L)]),_:1})),[[P,"居中"]]),He((U(),ke(In,{value:"bottom",style:{flex:"1"}},{default:oe(()=>[O(k)]),_:1})),[[P,"底对齐"]])]),_:1},8,["value"]),O(Ft)],64)):Qe("",!0),O(jp),O(Ft),O(L2),O(Ft),O(Q_),O(Ft),V("div",_2e,[He((U(),ke(Ar,{style:{flex:"1"},checked:!!H(i),onClick:M[8]||(M[8]=N=>H(h)()),onDblclick:M[9]||(M[9]=N=>H(h)(!0))},{default:oe(()=>[O(E),Ve(" 形状格式刷")]),_:1},8,["checked"])),[[P,"双击连续使用"]])])])}}}),X2e=Ue(E2e,[["__scopeId","data-v-d5ed5ce8"]]),e1=e=>(zt("data-v-8964660b"),e=e(),Jt(),e),W2e={class:"line-style-panel"},V2e={class:"row"},U2e=e1(()=>V("div",{style:{width:"40%"}},"线条样式:",-1)),Y2e={class:"row"},Q2e=e1(()=>V("div",{style:{width:"40%"}},"线条颜色:",-1)),Z2e={class:"row"},B2e=e1(()=>V("div",{style:{width:"40%"}},"线条宽度:",-1)),D2e={class:"row"},K2e=e1(()=>V("div",{style:{width:"40%"}},"起点样式:",-1)),H2e={class:"row"},G2e=e1(()=>V("div",{style:{width:"40%"}},"终点样式:",-1)),z2e={class:"row"},J2e=Ee({__name:"LineStylePanel",setup(e){const t=st(),{handleElement:n}=Xe(ft()),r=n,{addHistorySnapshot:o}=Ht(),i=a=>{n.value&&(t.updateElement({id:n.value.id,props:a}),o())};return(a,s)=>{const l=Se("IconSwitch");return U(),ee("div",W2e,[V("div",V2e,[U2e,O(Hn,{style:{width:"60%"},value:H(r).style,"onUpdate:value":s[0]||(s[0]=c=>i({style:c})),options:[{label:"实线",value:"solid"},{label:"虚线",value:"dashed"}]},null,8,["value"])]),V("div",Y2e,[Q2e,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:H(r).color,"onUpdate:modelValue":s[1]||(s[1]=c=>i({color:c}))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:H(r).color},null,8,["color"])]),_:1})]),V("div",Z2e,[B2e,O(ei,{value:H(r).width,"onUpdate:value":s[2]||(s[2]=c=>i({width:c})),style:{width:"60%"}},null,8,["value"])]),V("div",D2e,[K2e,O(Hn,{style:{width:"60%"},value:H(r).points[0],"onUpdate:value":s[3]||(s[3]=c=>i({points:[c,H(r).points[1]]})),options:[{label:"无",value:""},{label:"箭头",value:"arrow"},{label:"圆点",value:"dot"}]},null,8,["value"])]),V("div",H2e,[G2e,O(Hn,{style:{width:"60%"},value:H(r).points[1],"onUpdate:value":s[4]||(s[4]=c=>i({points:[H(r).points[0],c]})),options:[{label:"无",value:""},{label:"箭头",value:"arrow"},{label:"圆点",value:"dot"}]},null,8,["value"])]),O(Ft),V("div",z2e,[O(je,{style:{flex:"1"},onClick:s[5]||(s[5]=c=>i({start:H(r).end,end:H(r).start}))},{default:oe(()=>[O(l),Ve(" 交换方向")]),_:1})]),O(Ft),O(L2)])}}}),$2e=Ue(J2e,[["__scopeId","data-v-8964660b"]]),j2e=e=>(zt("data-v-e76e5c0f"),e=e(),Jt(),e),q2e={class:"chart-data-editor"},eAe={class:"editor-content"},tAe={class:"handler"},nAe={class:"col-header"},rAe={class:"col-key"},oAe={class:"row-header"},iAe={class:"row-key"},aAe=j2e(()=>V("div",{class:"all-header"},[V("svg",{class:"triangle",width:"8",height:"8",viewBox:"0 0 8 8",xmlns:"http://www.w3.org/2000/svg"},[V("path",{d:"M8,0 L8,8 L0,8 L8,0",fill:"#ccc"})])],-1)),sAe={class:"range-box"},lAe=["id","onFocus","onPaste"],cAe={class:"btns"},uAe={class:"left"},fAe={class:"right"},dAe="ABCDEFGHIJKLMNOPQRSTUVWXYZ",Nl=100,Pl=32,hAe=Ee({__name:"ChartDataEditor",props:{data:{}},emits:["save","close"],setup(e,{emit:t}){const n=e,r=t,o=ve([0,0]),i=ve({width:0,height:0}),a=ve(null),s=Me(()=>{const x=o.value[0]*Nl,y=o.value[1]*Pl;return[{type:"t",style:{width:x+"px"}},{type:"b",style:{top:y+"px",width:x+"px"}},{type:"l",style:{height:y+"px"}},{type:"r",style:{left:x+"px",height:y+"px"}}]}),l=Me(()=>{const x=o.value[0]*Nl,y=o.value[1]*Pl;return{left:x+"px",top:y+"px"}});Qt(()=>{const x=[],{labels:y,legends:R,series:A}=n.data,b=y.length,M=A.length;x.push(["",...R]);for(let T=0;T{if(!a.value)return;const[x,y]=a.value,R=document.querySelector(`#cell-${x+1}-${y}`);R&&R.focus()},f=x=>{x.key.toUpperCase()===gt.ENTER&&u()};Qt(()=>{document.addEventListener("keydown",f)}),Sn(()=>{document.removeEventListener("keydown",f)});const d=()=>{const[x,y]=o.value,R=[],A=[],b=[];for(let M=1;M{for(let x=1;x<31;x++)for(let y=1;y<7;y++){const R=document.querySelector(`#cell-${x}-${y}`);R&&(R.value="")}},p=(x,y,R)=>{if(x.preventDefault(),!x.clipboardData)return;const A=x.clipboardData.items[0];A&&A.kind==="string"&&A.type==="text/plain"&&A.getAsString(b=>{if(typeof _x(b)=="object")return;const T=A9(b);if(T){const w=y+T.length,L=R+T[0].length;for(let k=y;kr("close"),m=x=>{let y=!0;const R=x.pageX,A=x.pageY,b=o.value[0]*Nl,M=o.value[1]*Pl;document.onmousemove=T=>{if(!y)return;const w=T.pageX,L=T.pageY,k=w-R,E=L-A,P=b+k,W=M+E;i.value={width:P,height:W}},document.onmouseup=T=>{y=!1,document.onmousemove=null,document.onmouseup=null;const w=T.pageX,L=T.pageY;if(R===w&&A===L)return;let k=i.value.width,E=i.value.height;k%Nl>Nl*.5&&(k=k+(Nl-k%Nl)),E%Pl>Pl*.5&&(E=E+(Pl-E%Pl));let P=Math.round(E/Pl),W=Math.round(k/Nl);P<3&&(P=3),W<2&&(W=2),o.value=[W,P],i.value={width:0,height:0}}};return(x,y)=>(U(),ee("div",q2e,[V("div",eAe,[V("div",tAe,[V("div",nAe,[(U(),ee(We,null,nt(7,R=>V("div",{class:"col-header-item",key:R},[V("div",rAe,vt(dAe[R-1]),1)])),64))]),V("div",oAe,[(U(),ee(We,null,nt(31,R=>V("div",{class:"row-header-item",key:R},[V("div",iAe,vt(R),1)])),64))]),aAe]),V("div",sAe,[V("div",{class:"temp-range",style:we({width:i.value.width+"px",height:i.value.height+"px"})},null,4),(U(!0),ee(We,null,nt(s.value,R=>(U(),ee("div",{class:Je(["range-line",R.type]),key:R.type,style:we(R.style)},null,6))),128)),V("div",{class:"resizable",style:we(l.value),onMousedown:y[0]||(y[0]=Nt(R=>m(R),["stop"]))},null,36)]),V("table",null,[V("tbody",null,[(U(),ee(We,null,nt(31,R=>V("tr",{key:R},[(U(),ee(We,null,nt(7,A=>V("td",{key:A,class:Je({head:A===1&&R<=o.value[1]||R===1&&A<=o.value[0]})},[R===1&&A===1?Qe("",!0):(U(),ee("input",{key:0,class:Je(["item",{selected:R<=o.value[1]&&A<=o.value[0]}]),id:`cell-${R-1}-${A-1}`,autocomplete:"off",onFocus:b=>a.value=[R-1,A-1],onPaste:b=>p(b,R-1,A-1)},null,42,lAe))],2)),64))])),64))])])]),V("div",cAe,[V("div",uAe,[O(je,{class:"btn",onClick:y[1]||(y[1]=R=>h())},{default:oe(()=>[Ve("清空")]),_:1})]),V("div",fAe,[O(je,{class:"btn",onClick:y[2]||(y[2]=R=>v())},{default:oe(()=>[Ve("取消")]),_:1}),O(je,{type:"primary",class:"btn",onClick:y[3]||(y[3]=R=>d()),style:{"margin-left":"10px"}},{default:oe(()=>[Ve("确认")]),_:1})])])]))}}),pAe=Ue(hAe,[["__scopeId","data-v-e76e5c0f"]]),eE=e=>(zt("data-v-3d20c849"),e=e(),Jt(),e),vAe=eE(()=>V("span",{class:"checkbox-input"},null,-1)),gAe=eE(()=>V("input",{class:"checkbox-original",type:"checkbox"},null,-1)),mAe={class:"checkbox-label"},AAe=Ee({__name:"Checkbox",props:{value:{type:Boolean},disabled:{type:Boolean,default:!1}},emits:["update:value"],setup(e,{emit:t}){const n=e,r=t,o=i=>{n.disabled||r("update:value",i.target.checked)};return(i,a)=>(U(),ee("label",{class:Je(["checkbox",{checked:i.value,disabled:i.disabled}]),onChange:a[0]||(a[0]=s=>o(s))},[vAe,gAe,V("span",mAe,[sr(i.$slots,"default",{},void 0,!0)])],34))}}),ns=Ue(AAe,[["__scopeId","data-v-3d20c849"]]),B5=e=>(zt("data-v-013c2424"),e=e(),Jt(),e),RAe={class:"chart-style-panel"},yAe={class:"row"},bAe={class:"row"},xAe={key:1,class:"row"},SAe={key:2,class:"row"},MAe={class:"row"},wAe=B5(()=>V("div",{style:{width:"40%"}},"图例:",-1)),LAe={class:"row"},OAe=B5(()=>V("div",{style:{width:"40%"}},"背景填充:",-1)),TAe={class:"row"},kAe=B5(()=>V("div",{style:{width:"40%"}},"网格颜色:",-1)),NAe={style:{width:"40%"}},PAe={class:"color-btn-wrap",style:{width:"100%"}},CAe=["onClick"],IAe={class:"preset-themes"},FAe=["onClick","onMouseenter"],_Ae=Ee({__name:"index",setup(e){const t=[["#d87c7c","#919e8b","#d7ab82","#6e7074","#61a0a8","#efa18d"],["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78"],["#516b91","#59c4e6","#edafda","#93b7e3","#a5e7f0","#cbb0e3"],["#893448","#d95850","#eb8146","#ffb248","#f2d643","#ebdba4"],["#4ea397","#22c3aa","#7bd9a5","#d0648a","#f58db2","#f2b3c9"],["#3fb1e3","#6be6c1","#626c91","#a0a7e6","#c4ebad","#96dee8"],["#fc97af","#87f7cf","#f7f494","#72ccff","#f7c5a0","#d4a4eb"],["#c1232b","#27727b","#fcce10","#e87c25","#b5c334","#fe8463"],["#2ec7c9","#b6a2de","#5ab1ef","#ffb980","#d87a80","#8d98b3"],["#e01f54","#001852","#f5e8c8","#b8d2c7","#c6b38e","#a4d8c2"],["#c12e34","#e6b600","#0098d9","#2b821d","#005eaa","#339ca8"],["#8a7ca8","#e098c7","#8fd3e8","#71669e","#cc70af","#7cb4cc"]],n=ft(),r=st(),{handleElement:o,handleElementId:i}=Xe(n),{theme:a}=Xe(r),s=o,l=ve(!1),c=ve(!1),u=ve([-1,-1]),{addHistorySnapshot:f}=Ht(),d=ve("#000"),h=ve([]),p=ve(""),v=ve(""),m=ve(!0),x=ve(!0),y=ve(!1),R=ve(!1),A=ve(!1),b=ve(!1);wt(o,()=>{if(!(!o.value||o.value.type!=="chart")){if(d.value=o.value.fill||"#fff",o.value.options){const{lineSmooth:X,showLine:Y,showArea:$,horizontalBars:le,donut:Q,stackBars:K}=o.value.options;m.value=!!X,x.value=!!Y,y.value=!!$,R.value=!!le,A.value=!!Q,b.value=!!K}h.value=o.value.themeColor,p.value=o.value.gridColor||"#333",v.value=o.value.legend||""}},{deep:!0,immediate:!0});const M=X=>{r.updateElement({id:i.value,props:X}),f()},T=X=>{l.value=!1,M({data:X})},w=X=>{M({fill:X})},L=X=>{const $={...o.value.options,...X};M({options:$})},k=(X,Y)=>{const $={themeColor:h.value.map((le,Q)=>Q===Y?X:le)};M($)},E=()=>{const X={themeColor:[...h.value,a.value.themeColor]};M(X)},P=(X,Y)=>{const $=X.slice(0,Y+1);M({themeColor:$}),c.value=!1},W=X=>{const Y={themeColor:h.value.filter(($,le)=>le!==X)};M(Y)},N=X=>{M({gridColor:X})},_=X=>{M({legend:X})},C=()=>l.value=!0;return ao.on(Hr.OPEN_CHART_DATA_EDITOR,C),Sn(()=>{ao.off(Hr.OPEN_CHART_DATA_EDITOR,C)}),(X,Y)=>{const $=Se("IconEdit"),le=Se("IconCloseSmall"),Q=Se("IconPlus"),K=bn("tooltip");return U(),ee("div",RAe,[O(je,{class:"full-width-btn",onClick:Y[0]||(Y[0]=B=>l.value=!0)},{default:oe(()=>[O($,{class:"btn-icon"}),Ve(" 编辑图表数据 ")]),_:1}),O(Ft),H(s).chartType==="line"?(U(),ee(We,{key:0},[V("div",yAe,[O(ns,{"onUpdate:value":Y[1]||(Y[1]=B=>L({showArea:B})),value:y.value,style:{flex:"1"}},{default:oe(()=>[Ve("面积图样式")]),_:1},8,["value"]),O(ns,{"onUpdate:value":Y[2]||(Y[2]=B=>L({showLine:B})),value:!x.value,style:{flex:"1"}},{default:oe(()=>[Ve("散点图样式")]),_:1},8,["value"])]),V("div",bAe,[O(ns,{"onUpdate:value":Y[3]||(Y[3]=B=>L({lineSmooth:B})),value:m.value},{default:oe(()=>[Ve("使用平滑曲线")]),_:1},8,["value"])])],64)):Qe("",!0),H(s).chartType==="bar"?(U(),ee("div",xAe,[O(ns,{"onUpdate:value":Y[4]||(Y[4]=B=>L({horizontalBars:B})),value:R.value,style:{flex:"1"}},{default:oe(()=>[Ve("条形图样式")]),_:1},8,["value"]),O(ns,{"onUpdate:value":Y[5]||(Y[5]=B=>L({stackBars:B})),value:b.value,style:{flex:"1"}},{default:oe(()=>[Ve("堆叠样式")]),_:1},8,["value"])])):Qe("",!0),H(s).chartType==="pie"?(U(),ee("div",SAe,[O(ns,{"onUpdate:value":Y[6]||(Y[6]=B=>L({donut:B})),value:A.value},{default:oe(()=>[Ve("环形图样式")]),_:1},8,["value"])])):Qe("",!0),O(Ft),V("div",MAe,[wAe,O(Hn,{style:{width:"60%"},value:v.value,"onUpdate:value":Y[7]||(Y[7]=B=>_(B)),options:[{label:"不显示",value:""},{label:"显示在上方",value:"top"},{label:"显示在下方",value:"bottom"}]},null,8,["value"])]),O(Ft),V("div",LAe,[OAe,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:d.value,"onUpdate:modelValue":Y[8]||(Y[8]=B=>w(B))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:d.value},null,8,["color"])]),_:1})]),V("div",TAe,[kAe,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:p.value,"onUpdate:modelValue":Y[9]||(Y[9]=B=>N(B))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:p.value},null,8,["color"])]),_:1})]),O(Ft),(U(!0),ee(We,null,nt(h.value,(B,D)=>(U(),ee("div",{class:"row",key:D},[V("div",NAe,vt(D===0?"主题配色:":""),1),O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:B,"onUpdate:modelValue":G=>k(G,D)},null,8,["modelValue","onUpdate:modelValue"])]),default:oe(()=>[V("div",PAe,[O(br,{color:B},null,8,["color"]),D!==0?He((U(),ee("div",{key:0,class:"delete-color-btn",onClick:Nt(G=>W(D),["stop"])},[O(le)],8,CAe)),[[K,"删除"]]):Qe("",!0)])]),_:2},1024)]))),128)),O(Ln,{class:"row",passive:""},{default:oe(()=>[O(Pt,{trigger:"click",open:c.value,"onUpdate:open":Y[11]||(Y[11]=B=>c.value=B),style:{width:"40%"}},{content:oe(()=>[V("div",IAe,[(U(),ee(We,null,nt(t,(B,D)=>V("div",{class:"preset-theme",key:D},[(U(!0),ee(We,null,nt(B,(G,ae)=>(U(),ee("div",{class:Je(["preset-theme-color",{select:u.value[0]===D&&ae<=u.value[1]}]),key:G,style:we({backgroundColor:G}),onClick:se=>P(B,ae),onMouseenter:se=>u.value=[D,ae],onMouseleave:Y[10]||(Y[10]=se=>u.value=[-1,-1])},null,46,FAe))),128))])),64))])]),default:oe(()=>[O(je,{first:"",style:{width:"100%"}},{default:oe(()=>[Ve("推荐主题")]),_:1})]),_:1},8,["open"]),O(je,{last:"",disabled:h.value.length>=10,style:{width:"60%"},onClick:Y[12]||(Y[12]=B=>E())},{default:oe(()=>[O(Q,{class:"btn-icon"}),Ve(" 添加主题色 ")]),_:1},8,["disabled"])]),_:1}),O(Ft),O(jp),O(n0,{visible:l.value,"onUpdate:visible":Y[15]||(Y[15]=B=>l.value=B),width:640},{default:oe(()=>[O(pAe,{data:H(s).data,onClose:Y[13]||(Y[13]=B=>l.value=!1),onSave:Y[14]||(Y[14]=B=>T(B))},null,8,["data"])]),_:1},8,["visible"])])}}}),EAe=Ue(_Ae,[["__scopeId","data-v-013c2424"]]),N2=e=>(zt("data-v-3bf19801"),e=e(),Jt(),e),XAe={class:"table-style-panel"},WAe={class:"row"},VAe=N2(()=>V("div",{style:{width:"40%"}},"行数:",-1)),UAe={class:"set-count",style:{width:"60%"}},YAe={class:"count-text"},QAe={class:"row"},ZAe=N2(()=>V("div",{style:{width:"40%"}},"列数:",-1)),BAe={class:"set-count",style:{width:"60%"}},DAe={class:"count-text"},KAe={class:"row theme-switch"},HAe=N2(()=>V("div",{style:{width:"40%"}},"启用主题表格:",-1)),GAe={class:"switch-wrapper",style:{width:"60%"}},zAe={class:"row"},JAe={class:"row"},$Ae={class:"row"},jAe=N2(()=>V("div",{style:{width:"40%"}},"主题颜色:",-1)),qAe=Ee({__name:"TableStylePanel",setup(e){const t=st(),{handleElement:n,handleElementId:r,selectedTableCells:o,availableFonts:i}=Xe(ft()),a=Me(()=>t.theme.themeColor),s=["12px","14px","16px","18px","20px","22px","24px","28px","32px"],l=ve({bold:!1,em:!1,underline:!1,strikethrough:!1,color:"#000",backcolor:"",fontsize:"12px",fontname:"微软雅黑",align:"left"}),c=ve(),u=ve(!1),f=ve(0),d=ve(0),h=ve(0),p=ve(0);wt(n,()=>{!n.value||n.value.type!=="table"||(c.value=n.value.theme,u.value=!!c.value,f.value=n.value.data.length,d.value=n.value.data[0].length,h.value=n.value.data.length,p.value=n.value.data[0].length)},{deep:!0,immediate:!0});const{addHistorySnapshot:v}=Ht(),m=()=>{if(!n.value||n.value.type!=="table")return;let T=0,w=0;if(o.value.length){const k=o.value[0];T=+k.split("_")[0],w=+k.split("_")[1]}const L=n.value.data[T][w].style;L?l.value={bold:!!L.bold,em:!!L.em,underline:!!L.underline,strikethrough:!!L.strikethrough,color:L.color||"#000",backcolor:L.backcolor||"",fontsize:L.fontsize||"12px",fontname:L.fontname||"微软雅黑",align:L.align||"left"}:l.value={bold:!1,em:!1,underline:!1,strikethrough:!1,color:"#000",backcolor:"",fontsize:"12px",fontname:"微软雅黑",align:"left"}};Qt(()=>{o.value.length&&m()}),wt(o,m);const x=T=>{t.updateElement({id:r.value,props:T}),v()},y=T=>{const w=n.value,L=JSON.parse(JSON.stringify(w.data));for(let k=0;k{if(!c.value)return;const w={...c.value,...T};x({theme:w})},A=T=>{if(T){const w={theme:{color:a.value,rowHeader:!0,rowFooter:!1,colHeader:!1,colFooter:!1}};x(w)}else t.removeElementProps({id:r.value,propName:"theme"}),v()},b=T=>{const w=n.value,L=w.data.length;if(T>L){const k=new Array(d.value).fill({id:ln(10),colspan:1,rowspan:1,text:""}),E=new Array(T-L).fill(k),P=JSON.parse(JSON.stringify(w.data));P.push(...E),x({data:P})}else{const k=w.data.slice(0,T);x({data:k})}},M=T=>{const w=n.value,L=w.data[0].length;let k=w.data,E=w.colWidths.map(_=>_*w.width);if(T>L){k=k.map(C=>{const X=new Array(T-L).fill({id:ln(10),colspan:1,rowspan:1,text:""});return C.push(...X),C});const _=new Array(T-L).fill(100);E.push(..._)}else k=k.map(_=>_.slice(0,T)),E=E.slice(0,T);const P=E.reduce((_,C)=>_+C),W=E.map(_=>_/P);x({width:P,data:k,colWidths:W})};return(T,w)=>{const L=Se("IconFontSize"),k=Se("IconAddText"),E=Se("IconText"),P=Se("IconFill"),W=Se("IconTextBold"),N=Se("IconTextItalic"),_=Se("IconTextUnderline"),C=Se("IconStrikethrough"),X=Se("IconAlignTextLeft"),Y=Se("IconAlignTextCenter"),$=Se("IconAlignTextRight"),le=Se("IconAlignTextBoth"),Q=Se("IconMinus"),K=Se("IconPlus"),B=bn("tooltip");return U(),ee("div",XAe,[O(Z5,{class:"row"},{default:oe(()=>[O(Hn,{style:{width:"50%"},value:l.value.fontname,search:"",searchLabel:"搜索字体","onUpdate:value":w[0]||(w[0]=D=>y({fontname:D})),options:[...H(i),...H(Op)]},{icon:oe(()=>[O(L)]),_:1},8,["value","options"]),O(Hn,{style:{width:"50%"},value:l.value.fontsize,search:"",searchLabel:"搜索字号","onUpdate:value":w[1]||(w[1]=D=>y({fontsize:D})),options:s.map(D=>({label:D,value:D}))},{icon:oe(()=>[O(k)]),_:1},8,["value","options"])]),_:1}),O(Ln,{class:"row",passive:""},{default:oe(()=>[O(Pt,{trigger:"click",style:{width:"50%"}},{content:oe(()=>[O(_n,{modelValue:l.value.color,"onUpdate:modelValue":w[2]||(w[2]=D=>y({color:D}))},null,8,["modelValue"])]),default:oe(()=>[He((U(),ke(Yd,{first:"",color:l.value.color},{default:oe(()=>[O(E)]),_:1},8,["color"])),[[B,"文字颜色"]])]),_:1}),O(Pt,{trigger:"click",style:{width:"50%"}},{content:oe(()=>[O(_n,{modelValue:l.value.backcolor,"onUpdate:modelValue":w[3]||(w[3]=D=>y({backcolor:D}))},null,8,["modelValue"])]),default:oe(()=>[He((U(),ke(Yd,{last:"",color:l.value.backcolor},{default:oe(()=>[O(P)]),_:1},8,["color"])),[[B,"单元格填充"]])]),_:1})]),_:1}),O(Ln,{class:"row"},{default:oe(()=>[He((U(),ke(Ar,{style:{flex:"1"},checked:l.value.bold,onClick:w[4]||(w[4]=D=>y({bold:!l.value.bold}))},{default:oe(()=>[O(W)]),_:1},8,["checked"])),[[B,"加粗"]]),He((U(),ke(Ar,{style:{flex:"1"},checked:l.value.em,onClick:w[5]||(w[5]=D=>y({em:!l.value.em}))},{default:oe(()=>[O(N)]),_:1},8,["checked"])),[[B,"斜体"]]),He((U(),ke(Ar,{style:{flex:"1"},checked:l.value.underline,onClick:w[6]||(w[6]=D=>y({underline:!l.value.underline}))},{default:oe(()=>[O(_)]),_:1},8,["checked"])),[[B,"下划线"]]),He((U(),ke(Ar,{style:{flex:"1"},checked:l.value.strikethrough,onClick:w[7]||(w[7]=D=>y({strikethrough:!l.value.strikethrough}))},{default:oe(()=>[O(C)]),_:1},8,["checked"])),[[B,"删除线"]])]),_:1}),O(Ms,{class:"row","button-style":"solid",value:l.value.align,"onUpdate:value":w[8]||(w[8]=D=>y({align:D}))},{default:oe(()=>[He((U(),ke(In,{value:"left",style:{flex:"1"}},{default:oe(()=>[O(X)]),_:1})),[[B,"左对齐"]]),He((U(),ke(In,{value:"center",style:{flex:"1"}},{default:oe(()=>[O(Y)]),_:1})),[[B,"居中"]]),He((U(),ke(In,{value:"right",style:{flex:"1"}},{default:oe(()=>[O($)]),_:1})),[[B,"右对齐"]]),He((U(),ke(In,{value:"justify",style:{flex:"1"}},{default:oe(()=>[O(le)]),_:1})),[[B,"两端对齐"]])]),_:1},8,["value"]),O(Ft),O(jp,{fixed:!0}),O(Ft),V("div",WAe,[VAe,V("div",UAe,[O(je,{class:"btn",disabled:f.value<=1,onClick:w[9]||(w[9]=D=>b(f.value-1))},{default:oe(()=>[O(Q)]),_:1},8,["disabled"]),V("div",YAe,vt(f.value),1),O(je,{class:"btn",disabled:f.value>=30,onClick:w[10]||(w[10]=D=>b(f.value+1))},{default:oe(()=>[O(K)]),_:1},8,["disabled"])])]),V("div",QAe,[ZAe,V("div",BAe,[O(je,{class:"btn",disabled:d.value<=1,onClick:w[11]||(w[11]=D=>M(d.value-1))},{default:oe(()=>[O(Q)]),_:1},8,["disabled"]),V("div",DAe,vt(d.value),1),O(je,{class:"btn",disabled:d.value>=30,onClick:w[12]||(w[12]=D=>M(d.value+1))},{default:oe(()=>[O(K)]),_:1},8,["disabled"])])]),O(Ft),V("div",KAe,[HAe,V("div",GAe,[O(la,{value:u.value,"onUpdate:value":w[13]||(w[13]=D=>A(D))},null,8,["value"])])]),c.value?(U(),ee(We,{key:0},[V("div",zAe,[O(ns,{"onUpdate:value":w[14]||(w[14]=D=>R({rowHeader:D})),value:c.value.rowHeader,style:{flex:"1"}},{default:oe(()=>[Ve("标题行")]),_:1},8,["value"]),O(ns,{"onUpdate:value":w[15]||(w[15]=D=>R({rowFooter:D})),value:c.value.rowFooter,style:{flex:"1"}},{default:oe(()=>[Ve("汇总行")]),_:1},8,["value"])]),V("div",JAe,[O(ns,{"onUpdate:value":w[16]||(w[16]=D=>R({colHeader:D})),value:c.value.colHeader,style:{flex:"1"}},{default:oe(()=>[Ve("第一列")]),_:1},8,["value"]),O(ns,{"onUpdate:value":w[17]||(w[17]=D=>R({colFooter:D})),value:c.value.colFooter,style:{flex:"1"}},{default:oe(()=>[Ve("最后一列")]),_:1},8,["value"])]),V("div",$Ae,[jAe,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:c.value.color,"onUpdate:modelValue":w[18]||(w[18]=D=>R({color:D}))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:c.value.color},null,8,["color"])]),_:1})])],64)):Qe("",!0)])}}}),eRe=Ue(qAe,[["__scopeId","data-v-3bf19801"]]),tE=e=>(zt("data-v-e173eae4"),e=e(),Jt(),e),tRe={class:"latex-style-panel"},nRe={class:"row"},rRe={class:"row"},oRe=tE(()=>V("div",{style:{width:"40%"}},"颜色:",-1)),iRe={class:"row"},aRe=tE(()=>V("div",{style:{width:"40%"}},"粗细:",-1)),sRe=Ee({__name:"LatexStylePanel",setup(e){const t=st(),{handleElement:n}=Xe(ft()),r=n,o=ve(!1),{addHistorySnapshot:i}=Ht(),a=c=>{n.value&&(t.updateElement({id:n.value.id,props:c}),i())},s=c=>{a({path:c.path,latex:c.latex,width:c.w,height:c.h,viewBox:[c.w,c.h]})},l=()=>o.value=!0;return ao.on(Hr.OPEN_LATEX_EDITOR,l),Sn(()=>{ao.off(Hr.OPEN_LATEX_EDITOR,l)}),(c,u)=>(U(),ee("div",tRe,[V("div",nRe,[O(je,{style:{flex:"1"},onClick:u[0]||(u[0]=f=>o.value=!0)},{default:oe(()=>[Ve("编辑 LaTeX")]),_:1})]),O(Ft),V("div",rRe,[oRe,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:H(r).color,"onUpdate:modelValue":u[1]||(u[1]=f=>a({color:f}))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:H(r).color},null,8,["color"])]),_:1})]),V("div",iRe,[aRe,O(ei,{min:1,max:3,value:H(r).strokeWidth,"onUpdate:value":u[2]||(u[2]=f=>a({strokeWidth:f})),style:{width:"60%"}},null,8,["value"])]),O(n0,{visible:o.value,"onUpdate:visible":u[5]||(u[5]=f=>o.value=f),width:880},{default:oe(()=>[O(O_,{value:H(r).latex,onClose:u[3]||(u[3]=f=>o.value=!1),onUpdate:u[4]||(u[4]=f=>{s(f),o.value=!1})},null,8,["value"])]),_:1},8,["visible"])]))}}),lRe=Ue(sRe,[["__scopeId","data-v-e173eae4"]]),nE=e=>(zt("data-v-b289959e"),e=e(),Jt(),e),cRe={class:"video-style-panel"},uRe=nE(()=>V("div",{class:"title"},"视频预览封面",-1)),fRe={class:"background-image-wrapper"},dRe={class:"background-image"},hRe={class:"row"},pRe={class:"row switch-row"},vRe=nE(()=>V("div",{style:{width:"40%"}},"自动播放:",-1)),gRe={class:"switch-wrapper",style:{width:"60%"}},mRe=Ee({__name:"VideoStylePanel",setup(e){const t=st(),{handleElement:n}=Xe(ft()),r=n,{addHistorySnapshot:o}=Ht(),i=s=>{n.value&&(t.updateElement({id:n.value.id,props:s}),o())},a=s=>{const l=s[0];l&&Lc(l).then(c=>i({poster:c}))};return(s,l)=>{const c=Se("IconPlus");return U(),ee("div",cRe,[uRe,V("div",fRe,[O(Wu,{onChange:l[0]||(l[0]=u=>a(u))},{default:oe(()=>[V("div",dRe,[V("div",{class:"content",style:we({backgroundImage:H(r).poster?`url(${H(r).poster})`:""})},[O(c)],4)])]),_:1})]),V("div",hRe,[O(je,{style:{flex:"1"},onClick:l[1]||(l[1]=u=>i({poster:""}))},{default:oe(()=>[Ve("重置封面")]),_:1})]),V("div",pRe,[vRe,V("div",gRe,[O(la,{value:H(r).autoplay,"onUpdate:value":l[2]||(l[2]=u=>i({autoplay:u}))},null,8,["value"])])])])}}}),ARe=Ue(mRe,[["__scopeId","data-v-b289959e"]]),D5=e=>(zt("data-v-685cdba7"),e=e(),Jt(),e),RRe={class:"audio-style-panel"},yRe={class:"row"},bRe=D5(()=>V("div",{style:{width:"40%"}},"图标颜色:",-1)),xRe={class:"row switch-row"},SRe=D5(()=>V("div",{style:{width:"40%"}},"自动播放:",-1)),MRe={class:"switch-wrapper",style:{width:"60%"}},wRe={class:"row switch-row"},LRe=D5(()=>V("div",{style:{width:"40%"}},"循环播放:",-1)),ORe={class:"switch-wrapper",style:{width:"60%"}},TRe=Ee({__name:"AudioStylePanel",setup(e){const t=st(),{handleElement:n}=Xe(ft()),r=n,{addHistorySnapshot:o}=Ht(),i=a=>{n.value&&(t.updateElement({id:n.value.id,props:a}),o())};return(a,s)=>(U(),ee("div",RRe,[V("div",yRe,[bRe,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:H(r).color,"onUpdate:modelValue":s[0]||(s[0]=l=>i({color:l}))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:H(r).color},null,8,["color"])]),_:1})]),V("div",xRe,[SRe,V("div",MRe,[O(la,{value:H(r).autoplay,"onUpdate:value":s[1]||(s[1]=l=>i({autoplay:l}))},null,8,["value"])])]),V("div",wRe,[LRe,V("div",ORe,[O(la,{value:H(r).loop,"onUpdate:value":s[2]||(s[2]=l=>i({loop:l}))},null,8,["value"])])])]))}}),kRe=Ue(TRe,[["__scopeId","data-v-685cdba7"]]),P2=e=>(zt("data-v-415f8183"),e=e(),Jt(),e),NRe={class:"multi-style-panel"},PRe={class:"row"},CRe=P2(()=>V("div",{style:{width:"40%"}},"填充颜色:",-1)),IRe={class:"row"},FRe=P2(()=>V("div",{style:{width:"40%"}},"边框样式:",-1)),_Re={class:"row"},ERe=P2(()=>V("div",{style:{width:"40%"}},"边框颜色:",-1)),XRe={class:"row"},WRe=P2(()=>V("div",{style:{width:"40%"}},"边框粗细:",-1)),VRe=Ee({__name:"MultiStylePanel",setup(e){const t=st(),{richTextAttrs:n,availableFonts:r,activeElementList:o}=Xe(ft()),{addHistorySnapshot:i}=Ht(),a=(h,p)=>{t.updateElement({id:h,props:p}),i()},s=["12px","14px","16px","18px","20px","22px","24px","28px","32px","36px","40px","44px","48px","54px","60px","66px","72px","76px","80px","88px","96px","104px","112px","120px"],l=ve("#fff"),c=ve({width:0,color:"#fff",style:"solid"}),u=h=>{for(const p of o.value){if((p.type==="text"||p.type==="shape"||p.type==="chart")&&a(p.id,{fill:h}),p.type==="table"){const v=JSON.parse(JSON.stringify(p.data));for(let m=0;m{for(const p of o.value){if(p.type==="text"||p.type==="image"||p.type==="shape"||p.type==="table"||p.type==="chart"){const m={outline:{...p.outline||{width:2,color:"#000",style:"solid"},...h}};a(p.id,m)}p.type==="line"&&a(p.id,h)}c.value={...c.value,...h}},d=(h,p)=>{var v;for(const m of o.value){if((m.type==="text"||m.type==="shape"&&((v=m.text)!=null&&v.content))&&ao.emit(Hr.RICH_TEXT_COMMAND,{target:m.id,action:{command:h,value:p}}),m.type==="table"){const x=JSON.parse(JSON.stringify(m.data));for(let y=0;y{const v=Se("IconFontSize"),m=Se("IconAddText"),x=Se("IconText"),y=Se("IconHighLight"),R=Se("IconAlignTextLeft"),A=Se("IconAlignTextCenter"),b=Se("IconAlignTextRight"),M=Se("IconAlignTextBoth"),T=bn("tooltip");return U(),ee("div",NRe,[V("div",PRe,[CRe,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:l.value,"onUpdate:modelValue":p[0]||(p[0]=w=>u(w))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:l.value},null,8,["color"])]),_:1})]),O(Ft),V("div",IRe,[FRe,O(Hn,{style:{width:"60%"},value:c.value.style||"","onUpdate:value":p[1]||(p[1]=w=>f({style:w})),options:[{label:"实线边框",value:"solid"},{label:"虚线边框",value:"dashed"}]},null,8,["value"])]),V("div",_Re,[ERe,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:c.value.color,"onUpdate:modelValue":p[2]||(p[2]=w=>f({color:w}))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:c.value.color||"#000"},null,8,["color"])]),_:1})]),V("div",XRe,[WRe,O(ei,{value:c.value.width||0,"onUpdate:value":p[3]||(p[3]=w=>f({width:w})),style:{width:"60%"}},null,8,["value"])]),O(Ft),O(Z5,{class:"row"},{default:oe(()=>[O(Hn,{style:{width:"60%"},value:H(n).fontname,search:"",searchLabel:"搜索字体","onUpdate:value":p[4]||(p[4]=w=>d("fontname",w)),options:[...H(r),...H(Op)]},{icon:oe(()=>[O(v)]),_:1},8,["value","options"]),O(Hn,{style:{width:"40%"},value:H(n).fontsize,search:"",searchLabel:"搜索字号","onUpdate:value":p[5]||(p[5]=w=>d("fontsize",w)),options:s.map(w=>({label:w,value:w}))},{icon:oe(()=>[O(m)]),_:1},8,["value","options"])]),_:1}),O(Ln,{class:"row",passive:""},{default:oe(()=>[O(Pt,{trigger:"click",style:{width:"30%"}},{content:oe(()=>[O(_n,{modelValue:H(n).color,"onUpdate:modelValue":p[6]||(p[6]=w=>d("color",w))},null,8,["modelValue"])]),default:oe(()=>[He((U(),ke(Yd,{first:"",color:H(n).color},{default:oe(()=>[O(x)]),_:1},8,["color"])),[[T,"文字颜色"]])]),_:1}),O(Pt,{trigger:"click",style:{width:"30%"}},{content:oe(()=>[O(_n,{modelValue:H(n).backcolor,"onUpdate:modelValue":p[7]||(p[7]=w=>d("backcolor",w))},null,8,["modelValue"])]),default:oe(()=>[He((U(),ke(Yd,{color:H(n).backcolor},{default:oe(()=>[O(y)]),_:1},8,["color"])),[[T,"文字高亮"]])]),_:1}),He((U(),ke(je,{class:"font-size-btn",style:{width:"20%"},onClick:p[8]||(p[8]=w=>d("fontsize-add","2"))},{default:oe(()=>[O(v),Ve("+")]),_:1})),[[T,"增大字号"]]),He((U(),ke(je,{last:"",class:"font-size-btn",style:{width:"20%"},onClick:p[9]||(p[9]=w=>d("fontsize-reduce","2"))},{default:oe(()=>[O(v),Ve("-")]),_:1})),[[T,"减小字号"]])]),_:1}),O(Ms,{class:"row","button-style":"solid",value:H(n).align,"onUpdate:value":p[10]||(p[10]=w=>d("align",w))},{default:oe(()=>[He((U(),ke(In,{value:"left",style:{flex:"1"}},{default:oe(()=>[O(R)]),_:1})),[[T,"左对齐"]]),He((U(),ke(In,{value:"center",style:{flex:"1"}},{default:oe(()=>[O(A)]),_:1})),[[T,"居中"]]),He((U(),ke(In,{value:"right",style:{flex:"1"}},{default:oe(()=>[O(b)]),_:1})),[[T,"右对齐"]]),He((U(),ke(In,{value:"justify",style:{flex:"1"}},{default:oe(()=>[O(M)]),_:1})),[[T,"两端对齐"]])]),_:1},8,["value"])])}}}),URe=Ue(VRe,[["__scopeId","data-v-415f8183"]]),YRe={class:"element-style-panel"},QRe=Ee({__name:"index",setup(e){const t={[Tt.TEXT]:Vme,[Tt.IMAGE]:A2e,[Tt.SHAPE]:X2e,[Tt.LINE]:$2e,[Tt.CHART]:EAe,[Tt.TABLE]:eRe,[Tt.LATEX]:lRe,[Tt.VIDEO]:ARe,[Tt.AUDIO]:kRe},{activeElementIdList:n,activeElementList:r,handleElement:o,activeGroupElementId:i}=Xe(ft()),a=Me(()=>{if(n.value.length>1){if(!i.value)return URe;const s=r.value.find(l=>l.id===i.value);return s&&t[s.type]||null}return o.value&&t[o.value.type]||null});return(s,l)=>(U(),ee("div",YRe,[(U(),ke(ws(a.value)))]))}}),C2=e=>(zt("data-v-eba29c8f"),e=e(),Jt(),e),ZRe={class:"element-positopn-panel"},BRe=C2(()=>V("div",{class:"title"},"层级:",-1)),DRe=C2(()=>V("div",{class:"title"},"对齐:",-1)),KRe={class:"row"},HRe=C2(()=>V("div",{style:{width:"10%"}},null,-1)),GRe={key:0,class:"row"},zRe={key:1,style:{width:"10%"}},JRe={class:"row"},$Re=C2(()=>V("div",{style:{width:"7%"}},null,-1)),jRe=Ee({__name:"ElementPositionPanel",setup(e){const t=st(),{handleElement:n,handleElementId:r}=Xe(ft()),o=ve(0),i=ve(0),a=ve(0),s=ve(0),l=ve(0),c=ve(!1),u=Me(()=>n.value&&QI[n.value.type]||20),f=Me(()=>{var w;return((w=n.value)==null?void 0:w.type)==="text"&&!n.value.vertical}),d=Me(()=>{var w;return((w=n.value)==null?void 0:w.type)==="text"&&n.value.vertical});wt(n,()=>{n.value&&(o.value=On.round(n.value.left,1),i.value=On.round(n.value.top,1),c.value="fixedRatio"in n.value&&!!n.value.fixedRatio,n.value.type!=="line"&&(a.value=On.round(n.value.width,1),s.value=On.round(n.value.height,1),l.value="rotate"in n.value&&n.value.rotate!==void 0?On.round(n.value.rotate,1):0))},{deep:!0,immediate:!0});const{orderElement:h}=_p(),{alignElementToCanvas:p}=v2(),{addHistorySnapshot:v}=Ht(),m=w=>{const L={left:w};t.updateElement({id:r.value,props:L}),v()},x=w=>{const L={top:w};t.updateElement({id:r.value,props:L}),v()},y=(w,L)=>{if(n.value&&n.value.type==="shape"&&"pathFormula"in n.value&&n.value.pathFormula){const k=zu[n.value.pathFormula];let E="";return"editable"in k&&k.editable?E=k.formula(w,L,n.value.keypoints):E=k.formula(w,L),{viewBox:[w,L],path:E}}return null},R=w=>{if(!n.value||n.value.type==="line"||d.value)return;let L=s.value;if(c.value){const P=a.value/s.value;L=w/P{if(!n.value||n.value.type==="line"||n.value.type==="table"||f.value)return;let L=a.value;if(c.value){const P=a.value/s.value;L=w*P{const L={rotate:w};t.updateElement({id:r.value,props:L}),v()},M=w=>{const L={fixedRatio:w};t.updateElement({id:r.value,props:L}),v()},T=w=>{let L=Math.floor(l.value/45)*45;w==="+"?L=L+45:w==="-"&&(L=L-45),L<-180&&(L=-180),L>180&&(L=180);const k={rotate:L};t.updateElement({id:r.value,props:k}),v()};return(w,L)=>{const k=Se("IconSendToBack"),E=Se("IconBringToFrontOne"),P=Se("IconBringToFront"),W=Se("IconSentToBack"),N=Se("IconAlignLeft"),_=Se("IconAlignVertically"),C=Se("IconAlignRight"),X=Se("IconAlignTop"),Y=Se("IconAlignHorizontally"),$=Se("IconAlignBottom"),le=Se("IconLock"),Q=Se("IconUnlock"),K=Se("IconRotate"),B=bn("tooltip");return U(),ee("div",ZRe,[BRe,O(Ln,{class:"row"},{default:oe(()=>[O(je,{style:{flex:"1"},onClick:L[0]||(L[0]=D=>H(h)(H(n),H(dr).TOP))},{default:oe(()=>[O(k,{class:"btn-icon"}),Ve(" 置顶")]),_:1}),O(je,{style:{flex:"1"},onClick:L[1]||(L[1]=D=>H(h)(H(n),H(dr).BOTTOM))},{default:oe(()=>[O(E,{class:"btn-icon"}),Ve(" 置底")]),_:1})]),_:1}),O(Ln,{class:"row"},{default:oe(()=>[O(je,{style:{flex:"1"},onClick:L[2]||(L[2]=D=>H(h)(H(n),H(dr).UP))},{default:oe(()=>[O(P,{class:"btn-icon"}),Ve(" 上移")]),_:1}),O(je,{style:{flex:"1"},onClick:L[3]||(L[3]=D=>H(h)(H(n),H(dr).DOWN))},{default:oe(()=>[O(W,{class:"btn-icon"}),Ve(" 下移")]),_:1})]),_:1}),O(Ft),DRe,O(Ln,{class:"row"},{default:oe(()=>[He((U(),ke(je,{style:{flex:"1"},onClick:L[4]||(L[4]=D=>H(p)(H(nn).LEFT))},{default:oe(()=>[O(N)]),_:1})),[[B,"左对齐"]]),He((U(),ke(je,{style:{flex:"1"},onClick:L[5]||(L[5]=D=>H(p)(H(nn).HORIZONTAL))},{default:oe(()=>[O(_)]),_:1})),[[B,"水平居中"]]),He((U(),ke(je,{style:{flex:"1"},onClick:L[6]||(L[6]=D=>H(p)(H(nn).RIGHT))},{default:oe(()=>[O(C)]),_:1})),[[B,"右对齐"]])]),_:1}),O(Ln,{class:"row"},{default:oe(()=>[He((U(),ke(je,{style:{flex:"1"},onClick:L[7]||(L[7]=D=>H(p)(H(nn).TOP))},{default:oe(()=>[O(X)]),_:1})),[[B,"上对齐"]]),He((U(),ke(je,{style:{flex:"1"},onClick:L[8]||(L[8]=D=>H(p)(H(nn).VERTICAL))},{default:oe(()=>[O(Y)]),_:1})),[[B,"垂直居中"]]),He((U(),ke(je,{style:{flex:"1"},onClick:L[9]||(L[9]=D=>H(p)(H(nn).BOTTOM))},{default:oe(()=>[O($)]),_:1})),[[B,"下对齐"]])]),_:1}),O(Ft),V("div",KRe,[O(ei,{step:5,value:o.value,"onUpdate:value":L[10]||(L[10]=D=>m(D)),style:{width:"45%"}},{prefix:oe(()=>[Ve(" 水平: ")]),_:1},8,["value"]),HRe,O(ei,{step:5,value:i.value,"onUpdate:value":L[11]||(L[11]=D=>x(D)),style:{width:"45%"}},{prefix:oe(()=>[Ve(" 垂直: ")]),_:1},8,["value"])]),H(n).type!=="line"?(U(),ee("div",GRe,[O(ei,{min:u.value,max:1500,step:5,disabled:d.value,value:a.value,"onUpdate:value":L[12]||(L[12]=D=>R(D)),style:{width:"45%"}},{prefix:oe(()=>[Ve(" 宽度: ")]),_:1},8,["min","disabled","value"]),["image","shape","audio"].includes(H(n).type)?(U(),ee(We,{key:0},[c.value?He((U(),ke(le,{key:0,style:{width:"10%"},class:"icon-btn active",onClick:L[13]||(L[13]=D=>M(!1))},null,512)),[[B,"解除宽高比锁定"]]):He((U(),ke(Q,{key:1,style:{width:"10%"},class:"icon-btn",onClick:L[14]||(L[14]=D=>M(!0))},null,512)),[[B,"宽高比锁定"]])],64)):(U(),ee("div",zRe)),O(ei,{min:u.value,max:800,step:5,disabled:f.value||H(n).type==="table",value:s.value,"onUpdate:value":L[15]||(L[15]=D=>A(D)),style:{width:"45%"}},{prefix:oe(()=>[Ve(" 高度: ")]),_:1},8,["min","disabled","value"])])):Qe("",!0),["line","video","audio"].includes(H(n).type)?Qe("",!0):(U(),ee(We,{key:1},[O(Ft),V("div",JRe,[O(ei,{min:-180,max:180,step:5,value:l.value,"onUpdate:value":L[16]||(L[16]=D=>b(D)),style:{width:"45%"}},{prefix:oe(()=>[Ve(" 旋转: ")]),_:1},8,["value"]),$Re,V("div",{class:"text-btn",onClick:L[17]||(L[17]=D=>T("-")),style:{width:"24%"}},[O(K),Ve(" -45°")]),V("div",{class:"text-btn",onClick:L[18]||(L[18]=D=>T("+")),style:{width:"24%"}},[O(K,{style:{transform:"rotateY(180deg)"}}),Ve(" +45°")])])],64))])}}}),qRe=Ue(jRe,[["__scopeId","data-v-eba29c8f"]]),p4=1e3,eye="click",Oi="animate__",mk=[{type:"bounce",name:"弹跳",children:[{name:"弹入",value:"bounceIn"},{name:"向右弹入",value:"bounceInLeft"},{name:"向左弹入",value:"bounceInRight"},{name:"向上弹入",value:"bounceInUp"},{name:"向下弹入",value:"bounceInDown"}]},{type:"fade",name:"浮现",children:[{name:"浮入",value:"fadeIn"},{name:"向下浮入",value:"fadeInDown"},{name:"向下长距浮入",value:"fadeInDownBig"},{name:"向右浮入",value:"fadeInLeft"},{name:"向右长距浮入",value:"fadeInLeftBig"},{name:"向左浮入",value:"fadeInRight"},{name:"向左长距浮入",value:"fadeInRightBig"},{name:"向上浮入",value:"fadeInUp"},{name:"向上长距浮入",value:"fadeInUpBig"},{name:"从左上浮入",value:"fadeInTopLeft"},{name:"从右上浮入",value:"fadeInTopRight"},{name:"从左下浮入",value:"fadeInBottomLeft"},{name:"从右下浮入",value:"fadeInBottomRight"}]},{type:"rotate",name:"旋转",children:[{name:"旋转进入",value:"rotateIn"},{name:"绕左下进入",value:"rotateInDownLeft"},{name:"绕右下进入",value:"rotateInDownRight"},{name:"绕左上进入",value:"rotateInUpLeft"},{name:"绕右上进入",value:"rotateInUpRight"}]},{type:"zoom",name:"缩放",children:[{name:"放大进入",value:"zoomIn"},{name:"向下放大进入",value:"zoomInDown"},{name:"从左放大进入",value:"zoomInLeft"},{name:"从右放大进入",value:"zoomInRight"},{name:"向上放大进入",value:"zoomInUp"}]},{type:"slide",name:"滑入",children:[{name:"向下滑入",value:"slideInDown"},{name:"从右滑入",value:"slideInLeft"},{name:"从左滑入",value:"slideInRight"},{name:"向上滑入",value:"slideInUp"}]},{type:"flip",name:"翻转",children:[{name:"X轴翻转进入",value:"flipInX"},{name:"Y轴翻转进入",value:"flipInY"}]},{type:"back",name:"放大滑入",children:[{name:"向下放大滑入",value:"backInDown"},{name:"从左放大滑入",value:"backInLeft"},{name:"从右放大滑入",value:"backInRight"},{name:"向上放大滑入",value:"backInUp"}]},{type:"lightSpeed",name:"飞入",children:[{name:"从右飞入",value:"lightSpeedInRight"},{name:"从左飞入",value:"lightSpeedInLeft"}]}],Ak=[{type:"bounce",name:"弹跳",children:[{name:"弹出",value:"bounceOut"},{name:"向左弹出",value:"bounceOutLeft"},{name:"向右弹出",value:"bounceOutRight"},{name:"向上弹出",value:"bounceOutUp"},{name:"向下弹出",value:"bounceOutDown"}]},{type:"fade",name:"浮现",children:[{name:"浮出",value:"fadeOut"},{name:"向下浮出",value:"fadeOutDown"},{name:"向下长距浮出",value:"fadeOutDownBig"},{name:"向左浮出",value:"fadeOutLeft"},{name:"向左长距浮出",value:"fadeOutLeftBig"},{name:"向右浮出",value:"fadeOutRight"},{name:"向右长距浮出",value:"fadeOutRightBig"},{name:"向上浮出",value:"fadeOutUp"},{name:"向上长距浮出",value:"fadeOutUpBig"},{name:"从左上浮出",value:"fadeOutTopLeft"},{name:"从右上浮出",value:"fadeOutTopRight"},{name:"从左下浮出",value:"fadeOutBottomLeft"},{name:"从右下浮出",value:"fadeOutBottomRight"}]},{type:"rotate",name:"旋转",children:[{name:"旋转退出",value:"rotateOut"},{name:"绕左下退出",value:"rotateOutDownLeft"},{name:"绕右下退出",value:"rotateOutDownRight"},{name:"绕左上退出",value:"rotateOutUpLeft"},{name:"绕右上退出",value:"rotateOutUpRight"}]},{type:"zoom",name:"缩放",children:[{name:"缩小退出",value:"zoomOut"},{name:"向下缩小退出",value:"zoomOutDown"},{name:"从左缩小退出",value:"zoomOutLeft"},{name:"从右缩小退出",value:"zoomOutRight"},{name:"向上缩小退出",value:"zoomOutUp"}]},{type:"slide",name:"滑出",children:[{name:"向下滑出",value:"slideOutDown"},{name:"从左滑出",value:"slideOutLeft"},{name:"从右滑出",value:"slideOutRight"},{name:"向上滑出",value:"slideOutUp"}]},{type:"flip",name:"翻转",children:[{name:"X轴翻转退出",value:"flipOutX"},{name:"Y轴翻转退出",value:"flipOutY"}]},{type:"back",name:"缩小滑出",children:[{name:"向下缩小滑出",value:"backOutDown"},{name:"从左缩小滑出",value:"backOutLeft"},{name:"从右缩小滑出",value:"backOutRight"},{name:"向上缩小滑出",value:"backOutUp"}]},{type:"lightSpeed",name:"飞出",children:[{name:"从右飞出",value:"lightSpeedOutRight"},{name:"从左飞出",value:"lightSpeedOutLeft"}]}],Rk=[{type:"shake",name:"晃动",children:[{name:"左右摇晃",value:"shakeX"},{name:"上下摇晃",value:"shakeY"},{name:"摇头",value:"headShake"},{name:"摆动",value:"swing"},{name:"晃动",value:"wobble"},{name:"惊恐",value:"tada"},{name:"果冻",value:"jello"}]},{type:"other",name:"其他",children:[{name:"弹跳",value:"bounce"},{name:"闪烁",value:"flash"},{name:"脉搏",value:"pulse"},{name:"橡皮筋",value:"rubberBand"},{name:"心跳(快)",value:"heartBeat"}]}],rE=[{label:"无",value:"no"},{label:"随机",value:"random"},{label:"左右推移",value:"slideX"},{label:"上下推移",value:"slideY"},{label:"左右推移(3D)",value:"slideX3D"},{label:"上下推移(3D)",value:"slideY3D"},{label:"淡入淡出",value:"fade"},{label:"旋转",value:"rotate"},{label:"上下展开",value:"scaleY"},{label:"左右展开",value:"scaleX"},{label:"放大",value:"scale"},{label:"缩小",value:"scaleReverse"}],oE=e=>(zt("data-v-d71f68dd"),e=e(),Jt(),e),tye={class:"element-animation-panel"},nye={key:0,class:"element-animation"},rye={class:"type-title"},oye={class:"pool-item-wrapper"},iye=["onMouseenter","onClick"],aye={key:0,class:"mask"},sye={key:1,class:"tip"},lye={class:"sequence-content"},cye={class:"index"},uye={class:"text"},fye={class:"handler"},dye={key:0,class:"configs"},hye={class:"config-item"},pye=oE(()=>V("div",{style:{width:"35%"}},"持续时长:",-1)),vye={class:"config-item"},gye=oE(()=>V("div",{style:{width:"35%"}},"触发方式:",-1)),mye={class:"config-item"},Aye=Ee({__name:"ElementAnimationPanel",setup(e){const t={};for(const N of mk)for(const _ of N.children)t[_.value]=_.name;for(const N of Ak)for(const _ of N.children)t[_.value]=_.name;for(const N of Rk)for(const _ of N.children)t[_.value]=_.name;const n=["in","out","attention"],r=st(),{handleElement:o,handleElementId:i}=Xe(ft()),{currentSlide:a,formatedAnimations:s,currentSlideAnimations:l}=Xe(r),c=[{key:"in",label:"入场",color:"#68a490"},{key:"out",label:"退场",color:"#d86344"},{key:"attention",label:"强调",color:"#e8b76a"}],u=ve("in"),f=ve(!1);wt(()=>i.value,()=>{h.value=!1});const d=ve(""),h=ve(!1),{addHistorySnapshot:p}=Ht(),v=Me(()=>{const N=[];for(let _=0;_K.id===Y.elId);if(!$)continue;const le=rh[$.type],Q=t[Y.effect];N.push({...Y,index:X===0?_+1:"",elType:le,animationEffect:Q})}}return N}),m=Me(()=>l.value.filter(C=>C.elId===i.value)||[]),x=N=>{const _=l.value.filter(C=>C.id!==N);r.updateSlide({animations:_}),p()},y=N=>{const{newIndex:_,oldIndex:C}=N;if(_===void 0||C===void 0||_===C)return;const X=JSON.parse(JSON.stringify(l.value)),Y=X[C];X.splice(C,1),X.splice(_,0,Y),r.updateSlide({animations:X}),p()},R=(N,_,C)=>{const X=document.querySelector(`#editable-element-${N} [class^=editable-element-]`);if(X){const Y=`${Oi}${_}`;document.documentElement.style.setProperty("--animate-duration",`${C}ms`),X.classList.add(`${Oi}animated`,Y);const $=()=>{document.documentElement.style.removeProperty("--animate-duration"),X.classList.remove(`${Oi}animated`,Y)};X.addEventListener("animationend",$,{once:!0})}},A=async()=>{f.value=!f.value;for(let N=0;NsetTimeout(C,_.duration+100)),R(_.elId,_.effect,_.duration),N>=v.value.length-1&&(f.value=!1)}},b=(N,_)=>{if(_<100||_>5e3)return;const C=l.value.map(X=>X.id===N?{...X,duration:_}:X);r.updateSlide({animations:C}),p()},M=(N,_)=>{const C=l.value.map(X=>X.id===N?{...X,trigger:_}:X);r.updateSlide({animations:C}),p()},T=(N,_)=>{const C=l.value.map($=>$.id===w.value?{...$,type:N,effect:_}:$);r.updateSlide({animations:C}),h.value=!1,p();const X=l.value.find($=>$.elId===i.value),Y=(X==null?void 0:X.duration)||p4;setTimeout(()=>{R(i.value,_,Y)},0)},w=ve(""),L=(N,_)=>{if(w.value){T(N,_);return}const C=JSON.parse(JSON.stringify(l.value));C.push({id:ln(10),elId:i.value,type:N,effect:_,duration:p4,trigger:eye}),r.updateSlide({animations:C}),h.value=!1,p(),setTimeout(()=>{R(i.value,_,p4)},0)},k=ve(!1),E=N=>{N?setTimeout(()=>k.value=!0,600):k.value=!1},P=N=>{h.value=!0,w.value=N,E(!0)},W={in:mk,out:Ak,attention:Rk};return(N,_)=>{const C=Se("IconEffects"),X=Se("IconClick"),Y=Se("IconPlayOne"),$=Se("IconCloseSmall"),le=bn("tooltip");return U(),ee("div",tye,[H(o)?(U(),ee("div",nye,[O(Pt,{trigger:"click",value:h.value,"onUpdate:value":[_[3]||(_[3]=Q=>h.value=Q),_[4]||(_[4]=Q=>E(Q))],style:{width:"100%"}},{content:oe(()=>[O(_a,{tabs:c,value:u.value,"onUpdate:value":_[0]||(_[0]=Q=>u.value=Q),tabsStyle:{marginBottom:"20px"},tabStyle:{width:"33.333%"},spaceAround:""},null,8,["value"]),(U(),ee(We,null,nt(n,Q=>(U(),ee(We,null,[u.value===Q?(U(),ee("div",{class:Je(["animation-pool",Q]),key:Q},[(U(!0),ee(We,null,nt(W[Q],K=>(U(),ee("div",{class:"pool-type",key:K.name},[V("div",rye,vt(K.name)+":",1),V("div",oye,[(U(!0),ee(We,null,nt(K.children,B=>(U(),ee("div",{class:"pool-item",key:B.name,onMouseenter:D=>d.value=B.value,onMouseleave:_[1]||(_[1]=D=>d.value=""),onClick:D=>L(Q,B.value)},[V("div",{class:Je(["animation-box",[`${H(Oi)}animated`,`${H(Oi)}fast`,d.value===B.value&&`${H(Oi)}${B.value}`]])},vt(B.name),3)],40,iye))),128))])]))),128)),k.value?Qe("",!0):(U(),ee("div",aye))],2)):Qe("",!0)],64))),64))]),default:oe(()=>[O(je,{class:"element-animation-btn",onClick:_[2]||(_[2]=Q=>w.value="")},{default:oe(()=>[O(C,{style:{"margin-right":"5px"}}),Ve(" 添加动画 ")]),_:1})]),_:1},8,["value"])])):(U(),ee("div",sye,[O(X,{style:{"margin-right":"5px"}}),Ve(" 选中画布中的元素添加动画")])),O(Ft),O(H(X5),{class:"animation-sequence",modelValue:v.value,animation:200,scroll:!0,scrollSensitivity:50,handle:".sequence-content",itemKey:"id",onEnd:y},{item:oe(({element:Q})=>{var K,B;return[V("div",{class:Je(["sequence-item",[Q.type,{active:((K=H(o))==null?void 0:K.id)===Q.elId}]])},[V("div",lye,[V("div",cye,vt(Q.index),1),V("div",uye,"【"+vt(Q.elType)+"】"+vt(Q.animationEffect),1),V("div",fye,[He(O(Y,{class:"handler-btn",onClick:D=>R(Q.elId,Q.effect,Q.duration)},null,8,["onClick"]),[[le,"预览"]]),He(O($,{class:"handler-btn",onClick:D=>x(Q.id)},null,8,["onClick"]),[[le,"删除"]])])]),((B=m.value[0])==null?void 0:B.elId)===Q.elId?(U(),ee("div",dye,[O(Ft,{margin:16}),V("div",hye,[pye,O(ei,{min:500,max:3e3,step:500,value:Q.duration,"onUpdate:value":D=>b(Q.id,D),style:{width:"65%"}},null,8,["value","onUpdate:value"])]),V("div",vye,[gye,O(Hn,{value:Q.trigger,"onUpdate:value":D=>M(Q.id,D),style:{width:"65%"},options:[{label:"主动触发",value:"click"},{label:"与上一动画同时",value:"meantime"},{label:"上一动画之后",value:"auto"}]},null,8,["value","onUpdate:value"])]),V("div",mye,[O(je,{style:{width:"100%"},onClick:D=>P(Q.id)},{default:oe(()=>[Ve("更换动画")]),_:2},1032,["onClick"])])])):Qe("",!0)],2)]}),_:1},8,["modelValue"]),v.value.length>=2?(U(),ee(We,{key:2},[O(Ft),O(je,{onClick:_[5]||(_[5]=Q=>A())},{default:oe(()=>[Ve(vt(f.value?"停止预览":"预览全部"),1)]),_:1})],64)):Qe("",!0)])}}}),Rye=Ue(Aye,[["__scopeId","data-v-d71f68dd"]]),yye=[{background:"#ffffff",fontColor:"#333333",fontname:"Microsoft Yahei",colors:["#5b9bd5","#ed7d31","#a5a5a5","#ffc000","#4472c4","#70ad47"]},{background:"#ffffff",fontColor:"#333333",fontname:"Microsoft Yahei",colors:["#83992a","#3c9670","#44709d","#a23b32","#d87728","#deb340"]},{background:"#ffffff",fontColor:"#333333",fontname:"Microsoft Yahei",colors:["#e48312","#bd582c","#865640","#9b8357","#c2bc80","#94a088"]},{background:"#ffffff",fontColor:"#333333",fontname:"Microsoft Yahei",colors:["#bdc8df","#003fa9","#f5ba00","#ff7567","#7676d9","#923ffc"]},{background:"#ffffff",fontColor:"#333333",fontname:"Microsoft Yahei",colors:["#90c225","#54a121","#e6b91e","#e86618","#c42f19","#918756"]},{background:"#ffffff",fontColor:"#333333",fontname:"Microsoft Yahei",colors:["#1cade4","#2683c6","#27ced7","#42ba97","#3e8853","#62a39f"]},{background:"#e9efd6",fontColor:"#333333",fontname:"Microsoft Yahei",colors:["#a5300f","#de7e18","#9f8351","#728653","#92aa4c","#6aac91"]},{background:"#17444e",fontColor:"#ffffff",fontname:"Microsoft Yahei",colors:["#b01513","#ea6312","#e6b729","#6bab90","#55839a","#9e5d9d"]},{background:"#36234d",fontColor:"#ffffff",fontname:"Microsoft Yahei",colors:["#b31166","#e33d6f","#e45f3c","#e9943a","#9b6bf2","#d63cd0"]},{background:"#247fad",fontColor:"#ffffff",fontname:"Microsoft Yahei",colors:["#052f61","#a50e82","#14967c","#6a9e1f","#e87d37","#c62324"]},{background:"#103f55",fontColor:"#ffffff",fontname:"Microsoft Yahei",colors:["#40aebd","#97e8d5","#a1cf49","#628f3e","#f2df3a","#fcb01c"]},{background:"#242367",fontColor:"#ffffff",fontname:"Microsoft Yahei",colors:["#ac3ec1","#477bd1","#46b298","#90ba4c","#dd9d31","#e25345"]},{background:"#e4b75e",fontColor:"#333333",fontname:"Microsoft Yahei",colors:["#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529"]},{background:"#333333",fontColor:"#ffffff",fontname:"Microsoft Yahei",colors:["#bdc8df","#003fa9","#f5ba00","#ff7567","#7676d9","#923ffc"]}],iE=()=>{const e=st(),{slides:t,currentSlide:n,theme:r}=Xe(e),{addHistorySnapshot:o}=Ht(),i=d=>{var M,T,w,L,k,E,P,W,N;const h=Array.isArray(d)?d:[d],p=[],v=[],m=[],x=[];for(const _ of h){if(_.background)if(_.background.type==="solid"&&_.background.color)p.push({area:1,value:_.background.color});else if(_.background.type==="gradient"&&_.background.gradient){const C=_.background.gradient.colors.length;p.push(..._.background.gradient.colors.map(X=>({area:1/C,value:X.color})))}else p.push({area:1,value:r.value.backgroundColor});for(const C of _.elements){const X=C.width;let Y=0;if(C.type==="line"){const[le,Q]=C.start,[K,B]=C.end;Y=Math.sqrt(Math.pow(Math.abs(le-K),2)+Math.pow(Math.abs(Q-B),2))}else Y=C.height;const $=X*Y;if(C.type==="shape"||C.type==="text"){if(C.fill&&v.push({area:$,value:C.fill}),C.type==="shape"&&C.gradient){const ae=C.gradient.colors.length;v.push(...C.gradient.colors.map(se=>({area:1/ae*$,value:se.color})))}const le=(C.type==="shape"?(M=C.text)==null?void 0:M.content:C.content)||"";if(!le)continue;const Q=le.replace(/<[^>]+>/g,"").replace(/\s*/g,""),K=le.match(/<[^>]+color: .+?<\/.+?>/g),B=le.match(/<[^>]+font-family: .+?<\/.+?>/g);let D=1,G=1;if(K)for(const ae of K){const se=ae.match(/color: (.+?);/);if(!se)continue;const J=ae.replace(/<[^>]+>/g,"").replace(/\s*/g,""),Re=se[1],fe=J.length/Q.length;D=D-fe,m.push({area:$*fe,value:Re})}if(B)for(const ae of B){const se=ae.match(/font-family: (.+?);/);if(!se)continue;const J=ae.replace(/<[^>]+>/g,"").replace(/\s*/g,""),Re=se[1],fe=J.length/Q.length;G=G-fe,x.push({area:$*fe,value:Re})}if(D){const se=(C.type==="shape"?(T=C.text)==null?void 0:T.defaultColor:C.defaultColor)||r.value.fontColor;m.push({area:$*D,value:se})}if(G){const se=(C.type==="shape"?(w=C.text)==null?void 0:w.defaultFontName:C.defaultFontName)||r.value.fontName;x.push({area:$*G,value:se})}}else if(C.type==="table"){const le=C.data.length*C.data[0].length;let Q=0;for(const K of C.data)for(const B of K)if((L=B.style)!=null&&L.backcolor&&(Q+=1,v.push({area:$/le,value:(k=B.style)==null?void 0:k.backcolor})),B.text){const D=B.text.length>=10?1:B.text.length/10;(E=B.style)!=null&&E.color&&m.push({area:$/le*D,value:(P=B.style)==null?void 0:P.color}),(W=B.style)!=null&&W.fontname&&m.push({area:$/le*D,value:(N=B.style)==null?void 0:N.fontname})}if(C.theme){const K=1-Q/le;v.push({area:$*K,value:C.theme.color})}}else C.type==="chart"?(C.fill&&v.push({area:$*.5,value:C.fill}),v.push({area:$*.5,value:C.themeColor[0]})):C.type==="line"?v.push({area:$,value:C.color}):C.type==="audio"?v.push({area:$,value:C.color}):C.type==="latex"&&m.push({area:$,value:C.color})}}const y={};for(const _ of p){const C=ot(_.value).toRgbString();C!=="rgba(0, 0, 0, 0)"&&(y[C]?y[C]+=_.area:y[C]=_.area)}const R={};for(const _ of v){const C=ot(_.value).toRgbString();C!=="rgba(0, 0, 0, 0)"&&(R[C]?R[C]+=_.area:R[C]=_.area)}const A={};for(const _ of m){const C=ot(_.value).toRgbString();C!=="rgba(0, 0, 0, 0)"&&(A[C]?A[C]+=_.area:A[C]=_.area)}const b={};for(const _ of x)b[_.value]?b[_.value]+=_.area:b[_.value]=_.area;return{backgroundColors:Object.keys(y).sort((_,C)=>y[C]-y[_]),themeColors:Object.keys(R).sort((_,C)=>R[C]-R[_]),fontColors:Object.keys(A).sort((_,C)=>A[C]-A[_]),fontNames:Object.keys(b).sort((_,C)=>b[C]-b[_])}},a=d=>{const h=[];for(const p of d.elements){if(p.type==="shape"&&ot(p.fill).getAlpha()!==0){const v=ot(p.fill).toRgbString();h.includes(v)||h.push(v)}if(p.type==="text"&&p.fill&&ot(p.fill).getAlpha()!==0){const v=ot(p.fill).toRgbString();h.includes(v)||h.push(v)}if(p.type==="table"&&p.theme&&ot(p.theme.color).getAlpha()!==0){const v=ot(p.theme.color).toRgbString();h.includes(v)||h.push(v)}if(p.type==="chart"&&p.fill&&ot(p.fill).getAlpha()!==0){const v=ot(p.fill).toRgbString();h.includes(v)||h.push(v)}if(p.type==="line"&&ot(p.color).getAlpha()!==0){const v=ot(p.color).toRgbString();h.includes(v)||h.push(v)}if(p.type==="audio"&&ot(p.color).getAlpha()!==0){const v=ot(p.color).toRgbString();h.includes(v)||h.push(v)}}return h},s=(d,h)=>{const p=a(d),v={};if(p.length>h.length){const x=ot(h[0]).analogous(p.length-h.length+10).map(y=>y.toHexString()).slice(1);h.push(...x)}for(let m=0;m{const p=s(d,h.colors);(!d.background||d.background.type!=="image")&&(d.background={type:"solid",color:h.background});for(const v of d.elements){if(v.type==="shape"&&(v.fill=p[ot(v.fill).toRgbString()]||v.fill,v.gradient&&delete v.gradient),v.type==="text"&&(v.fill&&(v.fill=p[ot(v.fill).toRgbString()]||v.fill),v.defaultColor=h.fontColor,v.defaultFontName=h.fontname),v.type==="table"){v.theme&&(v.theme.color=p[ot(v.theme.color).toRgbString()]||v.theme.color);for(const m of v.data)for(const x of m)x.style&&(x.style.color=h.fontColor,x.style.fontname=h.fontname)}v.type==="chart"&&(v.themeColor=[p[ot(v.themeColor[0]).toRgbString()]],v.gridColor=h.fontColor),v.type==="line"&&(v.color=p[ot(v.color).toRgbString()]||v.color),v.type==="audio"&&(v.color=p[ot(v.color).toRgbString()]||v.color),v.type==="latex"&&(v.color=h.fontColor)}};return{getSlidesThemeStyles:i,applyPresetThemeToSingleSlide:d=>{const h=JSON.parse(JSON.stringify(n.value));l(h,d),e.updateSlide({background:h.background,elements:h.elements}),o()},applyPresetThemeToAllSlides:d=>{const h=JSON.parse(JSON.stringify(t.value));for(const p of h)l(p,d);e.setTheme({backgroundColor:d.background,themeColor:d.colors[0],fontColor:d.fontColor,fontName:d.fontname}),e.setSlides(h),o()},applyThemeToAllSlides:(d=!1)=>{const h=JSON.parse(JSON.stringify(t.value)),{themeColor:p,backgroundColor:v,fontColor:m,fontName:x,outline:y,shadow:R}=r.value;for(const A of h){(!A.background||A.background.type!=="image")&&(A.background={type:"solid",color:v});for(const b of A.elements)if(d&&("outline"in b&&b.outline&&(b.outline=y),"shadow"in b&&b.shadow&&(b.shadow=R)),b.type==="shape")b.fill=p;else if(b.type==="line")b.color=p;else if(b.type==="text")b.defaultColor=m,b.defaultFontName=x,b.fill&&(b.fill=p);else if(b.type==="table"){b.theme&&(b.theme.color=p);for(const M of b.data)for(const T of M)T.style&&(T.style.color=m,T.style.fontname=x)}else b.type==="chart"?(b.themeColor=[p],b.gridColor=m):b.type==="latex"?b.color=m:b.type==="audio"&&(b.color=p)}e.setSlides(h),o()}}},I2=e=>(zt("data-v-724633c2"),e=e(),Jt(),e),bye={class:"theme-styles-extract"},xye={class:"content"},Sye={class:"config-item"},Mye=I2(()=>V("div",{class:"label"},"字体:",-1)),wye={class:"values"},Lye={class:"handler"},Oye=["onClick"],Tye=["onClick"],kye={class:"config-item"},Nye=I2(()=>V("div",{class:"label"},"文字颜色:",-1)),Pye={class:"values"},Cye={class:"handler"},Iye=["onClick"],Fye=["onClick"],_ye={class:"config-item"},Eye=I2(()=>V("div",{class:"label"},"背景颜色:",-1)),Xye={class:"values"},Wye={class:"handler"},Vye=["onClick"],Uye=["onClick"],Yye={class:"config-item"},Qye=I2(()=>V("div",{class:"label"},"主题色:",-1)),Zye={class:"values"},Bye={class:"handler"},Dye=["onClick"],Kye=["onClick"],Hye={class:"btns"},Gye=Ee({__name:"ThemeStylesExtract",emits:["close"],setup(e,{emit:t}){const n=t,r=st(),{slides:o,currentSlide:i}=Xe(r),{getSlidesThemeStyles:a}=iE(),s=[{key:"single",label:"从当前页中提取"},{key:"all",label:"从全部幻灯片提取"}],l=ve("single"),c=ve({});Qt(()=>{const p={};for(const v of J4)p[v.value]=v.label;for(const v of Op)p[v.value]=v.label;c.value=p});const u=ve({backgroundColors:[],themeColors:[],fontColors:[],fontNames:[]}),f=ve({backgroundColor:0,themeColor:0,fontColor:0,fontName:0});wt(l,()=>{l.value==="single"?u.value=a(i.value):u.value=a(o.value)}),Qt(()=>{u.value=a(i.value)});const d=p=>{r.setTheme(p)},h=()=>{r.setTheme({backgroundColor:u.value.backgroundColors[f.value.backgroundColor],themeColor:u.value.themeColors[f.value.themeColor],fontColor:u.value.fontColors[f.value.fontColor],fontName:u.value.fontNames[f.value.fontName]}),n("close")};return(p,v)=>(U(),ee("div",bye,[O(_a,{tabs:s,value:l.value,"onUpdate:value":v[0]||(v[0]=m=>l.value=m),tabsStyle:{marginBottom:"12px"},tabStyle:{padding:"8px 12px"}},null,8,["value"]),V("div",xye,[V("div",Sye,[Mye,V("div",wye,[(U(!0),ee(We,null,nt(u.value.fontNames,(m,x)=>(U(),ee("div",{class:"value-wrap",key:m},[V("div",{class:"value",style:we({fontFamily:m})},vt(c.value[m]||m),5),V("div",Lye,[V("div",{class:Je(["state",{active:f.value.fontName===x}])},"√",2),V("div",{class:"config-btn",onClick:y=>f.value.fontName=x},"选择",8,Oye),V("div",{class:"config-btn",onClick:y=>{d({fontName:m}),f.value.fontName=x}},"配置到主题",8,Tye)])]))),128))])]),V("div",kye,[Nye,V("div",Pye,[(U(!0),ee(We,null,nt(u.value.fontColors,(m,x)=>(U(),ee("div",{class:"value-wrap",key:m},[V("div",{class:"value",style:we({backgroundColor:m})},null,4),V("div",Cye,[V("div",{class:Je(["state",{active:f.value.fontColor===x}])},"√",2),V("div",{class:"config-btn",onClick:y=>f.value.fontColor=x},"选择",8,Iye),V("div",{class:"config-btn",onClick:y=>{d({fontColor:m}),f.value.fontColor=x}},"配置到主题",8,Fye)])]))),128))])]),V("div",_ye,[Eye,V("div",Xye,[(U(!0),ee(We,null,nt(u.value.backgroundColors,(m,x)=>(U(),ee("div",{class:"value-wrap",key:m},[V("div",{class:"value",style:we({backgroundColor:m})},null,4),V("div",Wye,[V("div",{class:Je(["state",{active:f.value.backgroundColor===x}])},"√",2),V("div",{class:"config-btn",onClick:y=>f.value.backgroundColor=x},"选择",8,Vye),V("div",{class:"config-btn",onClick:y=>{d({backgroundColor:m}),f.value.backgroundColor=x}},"配置到主题",8,Uye)])]))),128))])]),V("div",Yye,[Qye,V("div",Zye,[(U(!0),ee(We,null,nt(u.value.themeColors,(m,x)=>(U(),ee("div",{class:"value-wrap",key:m},[V("div",{class:"value",style:we({backgroundColor:m})},null,4),V("div",Bye,[V("div",{class:Je(["state",{active:f.value.themeColor===x}])},"√",2),V("div",{class:"config-btn",onClick:y=>f.value.themeColor=x},"选择",8,Dye),V("div",{class:"config-btn",onClick:y=>{d({themeColor:m}),f.value.themeColor=x}},"配置到主题",8,Kye)])]))),128))])])]),V("div",Hye,[O(je,{class:"btn",type:"primary",onClick:v[1]||(v[1]=m=>h())},{default:oe(()=>[Ve("将选中配置保存为主题")]),_:1})])]))}}),zye=Ue(Gye,[["__scopeId","data-v-724633c2"]]),Ur=e=>(zt("data-v-01b60579"),e=e(),Jt(),e),Jye={class:"slide-design-panel"},$ye=Ur(()=>V("div",{class:"title"},"背景填充",-1)),jye={class:"row"},qye=Ur(()=>V("div",{style:{width:"10px"}},null,-1)),e4e={key:0,class:"background-image-wrapper"},t4e={class:"background-image"},n4e={key:1,class:"background-gradient-wrapper"},r4e={class:"row"},o4e={class:"row"},i4e=Ur(()=>V("div",{style:{width:"40%"}},"当前色块:",-1)),a4e={key:0,class:"row"},s4e=Ur(()=>V("div",{style:{width:"40%"}},"渐变角度:",-1)),l4e={class:"row"},c4e={class:"row"},u4e=Ur(()=>V("div",{style:{width:"40%"}},"画布尺寸:",-1)),f4e={class:"title"},d4e=Ur(()=>V("span",null,"全局主题",-1)),h4e=Ur(()=>V("span",{class:"text"},"更多",-1)),p4e={class:"row"},v4e=Ur(()=>V("div",{style:{width:"40%"}},"字体:",-1)),g4e={class:"row"},m4e=Ur(()=>V("div",{style:{width:"40%"}},"字体颜色:",-1)),A4e={class:"row"},R4e=Ur(()=>V("div",{style:{width:"40%"}},"背景颜色:",-1)),y4e={class:"row"},b4e=Ur(()=>V("div",{style:{width:"40%"}},"主题色:",-1)),x4e={class:"row"},S4e=Ur(()=>V("div",{style:{width:"40%"}},"边框样式:",-1)),M4e={class:"row"},w4e=Ur(()=>V("div",{style:{width:"40%"}},"边框颜色:",-1)),L4e={class:"row"},O4e=Ur(()=>V("div",{style:{width:"40%"}},"边框粗细:",-1)),T4e={class:"row",style:{height:"30px"}},k4e=Ur(()=>V("div",{style:{width:"40%"}},"水平阴影:",-1)),N4e={class:"row",style:{height:"30px"}},P4e=Ur(()=>V("div",{style:{width:"40%"}},"垂直阴影:",-1)),C4e={class:"row",style:{height:"30px"}},I4e=Ur(()=>V("div",{style:{width:"40%"}},"模糊距离:",-1)),F4e={class:"row"},_4e=Ur(()=>V("div",{style:{width:"40%"}},"阴影颜色:",-1)),E4e={class:"row"},X4e={class:"row"},W4e=Ur(()=>V("div",{class:"title"},"预置主题",-1)),V4e={class:"theme-list"},U4e={class:"theme-item-content"},Y4e={class:"colors"},Q4e={class:"btns"},Z4e=Ee({__name:"SlideDesignPanel",setup(e){const t=st(),{availableFonts:n}=Xe(ft()),{slides:r,currentSlide:o,viewportRatio:i,theme:a}=Xe(t),s=ve(!1),l=ve(!1),c=ve(0),u=Me(()=>o.value.background?o.value.background:{type:"solid",value:"#fff"}),{addHistorySnapshot:f}=Ht(),{applyPresetThemeToSingleSlide:d,applyPresetThemeToAllSlides:h,applyThemeToAllSlides:p}=iE(),v=w=>{if(w==="solid"){const L={...u.value,type:"solid",color:u.value.color||"#fff"};t.updateSlide({background:L})}else if(w==="image"){const L={...u.value,type:"image",image:u.value.image||{src:"",size:"cover"}};t.updateSlide({background:L})}else{const L={...u.value,type:"gradient",gradient:u.value.gradient||{type:"linear",colors:[{pos:0,color:"#fff"},{pos:100,color:"#fff"}],rotate:0}};c.value=0,t.updateSlide({background:L})}f()},m=w=>{t.updateSlide({background:{...u.value,...w}}),f()},x=w=>{m({gradient:{...u.value.gradient,...w}})},y=w=>{const L=u.value.gradient.colors.map((k,E)=>E===c.value?{...k,color:w}:k);x({colors:L})},R=w=>{m({image:{...u.value.image,...w}})},A=w=>{const L=w[0];L&&Lc(L).then(k=>R({src:k}))},b=()=>{const w=r.value.map(L=>({...L,background:o.value.background}));t.setSlides(w),f()},M=w=>{t.setTheme(w)},T=w=>{t.setViewportRatio(w)};return(w,L)=>{var W,N,_,C;const k=Se("IconPlus"),E=Se("IconDown"),P=Se("IconRight");return U(),ee(We,null,[V("div",Jye,[$ye,V("div",jye,[O(Hn,{style:{flex:"1"},value:u.value.type,"onUpdate:value":L[0]||(L[0]=X=>v(X)),options:[{label:"纯色填充",value:"solid"},{label:"图片填充",value:"image"},{label:"渐变填充",value:"gradient"}]},null,8,["value"]),qye,u.value.type==="solid"?(U(),ke(Pt,{key:0,trigger:"click",style:{flex:"1"}},{content:oe(()=>[O(_n,{modelValue:u.value.color,"onUpdate:modelValue":L[1]||(L[1]=X=>m({color:X}))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:u.value.color||"#fff"},null,8,["color"])]),_:1})):u.value.type==="image"?(U(),ke(Hn,{key:1,style:{flex:"1"},value:((W=u.value.image)==null?void 0:W.size)||"cover","onUpdate:value":L[2]||(L[2]=X=>R({size:X})),options:[{label:"缩放",value:"contain"},{label:"拼贴",value:"repeat"},{label:"缩放铺满",value:"cover"}]},null,8,["value"])):(U(),ke(Hn,{key:2,style:{flex:"1"},value:((N=u.value.gradient)==null?void 0:N.type)||"","onUpdate:value":L[3]||(L[3]=X=>x({type:X})),options:[{label:"线性渐变",value:"linear"},{label:"径向渐变",value:"radial"}]},null,8,["value"]))]),u.value.type==="image"?(U(),ee("div",e4e,[O(Wu,{onChange:L[4]||(L[4]=X=>A(X))},{default:oe(()=>{var X;return[V("div",t4e,[V("div",{class:"content",style:we({backgroundImage:`url(${(X=u.value.image)==null?void 0:X.src})`})},[O(k)],4)])]}),_:1})])):Qe("",!0),u.value.type==="gradient"?(U(),ee("div",n4e,[V("div",r4e,[O(q_,{value:((_=u.value.gradient)==null?void 0:_.colors)||[],"onUpdate:value":L[5]||(L[5]=X=>x({colors:X})),"onUpdate:index":L[6]||(L[6]=X=>c.value=X)},null,8,["value"])]),V("div",o4e,[i4e,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:u.value.gradient.colors[c.value].color,"onUpdate:modelValue":L[7]||(L[7]=X=>y(X))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:u.value.gradient.colors[c.value].color},null,8,["color"])]),_:1})]),((C=u.value.gradient)==null?void 0:C.type)==="linear"?(U(),ee("div",a4e,[s4e,O(so,{min:0,max:360,step:15,value:u.value.gradient.rotate||0,"onUpdate:value":L[8]||(L[8]=X=>x({rotate:X})),style:{width:"60%"}},null,8,["value"])])):Qe("",!0)])):Qe("",!0),V("div",l4e,[O(je,{style:{flex:"1"},onClick:L[9]||(L[9]=X=>b())},{default:oe(()=>[Ve("应用背景到全部")]),_:1})]),O(Ft),V("div",c4e,[u4e,O(Hn,{style:{width:"60%"},value:H(i),"onUpdate:value":L[10]||(L[10]=X=>T(X)),options:[{label:"宽屏 16 : 9",value:.5625},{label:"宽屏 16 : 10",value:.625},{label:"标准 4 : 3",value:.75},{label:"纸张 A3 / A4",value:.70710678},{label:"竖向 A3 / A4",value:1.41421356}]},null,8,["value"])]),O(Ft),V("div",f4e,[d4e,V("span",{class:"more",onClick:L[11]||(L[11]=X=>s.value=!s.value)},[h4e,s.value?(U(),ke(E,{key:0})):(U(),ke(P,{key:1}))])]),V("div",p4e,[v4e,O(Hn,{style:{width:"60%"},value:H(a).fontName,search:"",searchLabel:"搜索字体","onUpdate:value":L[12]||(L[12]=X=>M({fontName:X})),options:[...H(n),...H(Op)]},null,8,["value","options"])]),V("div",g4e,[m4e,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:H(a).fontColor,"onUpdate:modelValue":L[13]||(L[13]=X=>M({fontColor:X}))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:H(a).fontColor},null,8,["color"])]),_:1})]),V("div",A4e,[R4e,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:H(a).backgroundColor,"onUpdate:modelValue":L[14]||(L[14]=X=>M({backgroundColor:X}))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:H(a).backgroundColor},null,8,["color"])]),_:1})]),V("div",y4e,[b4e,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:H(a).themeColor,"onUpdate:modelValue":L[15]||(L[15]=X=>M({themeColor:X}))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:H(a).themeColor},null,8,["color"])]),_:1})]),s.value?(U(),ee(We,{key:2},[V("div",x4e,[S4e,O(Hn,{style:{width:"60%"},value:H(a).outline.style||"","onUpdate:value":L[16]||(L[16]=X=>M({outline:{...H(a).outline,style:X}})),options:[{label:"实线边框",value:"solid"},{label:"虚线边框",value:"dashed"}]},null,8,["value"])]),V("div",M4e,[w4e,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:H(a).outline.color,"onUpdate:modelValue":L[17]||(L[17]=X=>M({outline:{...H(a).outline,color:X}}))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:H(a).outline.color||"#000"},null,8,["color"])]),_:1})]),V("div",L4e,[O4e,O(ei,{value:H(a).outline.width||0,"onUpdate:value":L[18]||(L[18]=X=>M({outline:{...H(a).outline,width:X}})),style:{width:"60%"}},null,8,["value"])]),V("div",T4e,[k4e,O(so,{style:{width:"60%"},min:-10,max:10,step:1,value:H(a).shadow.h,"onUpdate:value":L[19]||(L[19]=X=>M({shadow:{...H(a).shadow,h:X}}))},null,8,["value"])]),V("div",N4e,[P4e,O(so,{style:{width:"60%"},min:-10,max:10,step:1,value:H(a).shadow.v,"onUpdate:value":L[20]||(L[20]=X=>M({shadow:{...H(a).shadow,v:X}}))},null,8,["value"])]),V("div",C4e,[I4e,O(so,{style:{width:"60%"},min:1,max:20,step:1,value:H(a).shadow.blur,"onUpdate:value":L[21]||(L[21]=X=>M({shadow:{...H(a).shadow,blur:X}}))},null,8,["value"])]),V("div",F4e,[_4e,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:H(a).shadow.color,"onUpdate:modelValue":L[22]||(L[22]=X=>M({shadow:{...H(a).shadow,color:X}}))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:H(a).shadow.color},null,8,["color"])]),_:1})])],64)):Qe("",!0),V("div",E4e,[O(je,{style:{flex:"1"},onClick:L[23]||(L[23]=X=>H(p)(s.value))},{default:oe(()=>[Ve("应用主题到全部")]),_:1})]),V("div",X4e,[O(je,{style:{flex:"1"},onClick:L[24]||(L[24]=X=>l.value=!0)},{default:oe(()=>[Ve("从幻灯片提取主题")]),_:1})]),O(Ft),W4e,V("div",V4e,[(U(!0),ee(We,null,nt(H(yye),(X,Y)=>(U(),ee("div",{class:"theme-item",key:Y,style:we({backgroundColor:X.background,fontFamily:X.fontname})},[V("div",U4e,[V("div",{class:"text",style:we({color:X.fontColor})},"文字 Aa",4),V("div",Y4e,[(U(!0),ee(We,null,nt(X.colors,($,le)=>(U(),ee("div",{class:"color-block",key:le,style:we({backgroundColor:$})},null,4))),128))]),V("div",Q4e,[O(je,{type:"primary",size:"small",onClick:$=>H(d)(X)},{default:oe(()=>[Ve("应用")]),_:2},1032,["onClick"]),O(je,{type:"primary",size:"small",style:{"margin-top":"3px"},onClick:$=>H(h)(X)},{default:oe(()=>[Ve("应用全局")]),_:2},1032,["onClick"])])])],4))),128))])]),O(n0,{visible:l.value,"onUpdate:visible":L[26]||(L[26]=X=>l.value=X),width:320,onClosed:L[27]||(L[27]=X=>l.value=!1)},{default:oe(()=>[O(zye,{onClose:L[25]||(L[25]=X=>l.value=!1)})]),_:1},8,["visible"])],64)}}}),B4e=Ue(Z4e,[["__scopeId","data-v-01b60579"]]),D4e={class:"slide-animation-panel"},K4e={class:"animation-pool"},H4e=["onClick"],G4e={class:"animation-text"},z4e=Ee({__name:"SlideAnimationPanel",setup(e){const t=st(),{slides:n,currentSlide:r}=Xe(t),o=Me(()=>r.value.turningMode||"slideY"),i=rE,{addHistorySnapshot:a}=Ht(),s=c=>{c!==o.value&&(t.updateSlide({turningMode:c}),a())},l=()=>{const c=n.value.map(u=>({...u,turningMode:r.value.turningMode}));t.setSlides(c),gn.success("已应用到全部"),a()};return(c,u)=>(U(),ee("div",D4e,[V("div",K4e,[(U(!0),ee(We,null,nt(H(i),f=>(U(),ee("div",{class:Je(["animation-item",{active:o.value===f.value}]),key:f.label,onClick:d=>s(f.value)},[V("div",{class:Je(["animation-block",f.value])},null,2),V("div",G4e,vt(f.label),1)],10,H4e))),128))]),O(je,{style:{width:"100%"},onClick:u[0]||(u[0]=f=>l())},{default:oe(()=>[Ve("应用到全部")]),_:1})]))}}),J4e=Ue(z4e,[["__scopeId","data-v-ae84c3f4"]]),$4e=()=>{const e=st(),{activeElementIdList:t,activeElementList:n}=Xe(ft()),{currentSlide:r}=Xe(e),{addHistorySnapshot:o}=Ht();return{alignActiveElement:a=>{const{minX:s,maxX:l,minY:c,maxY:u}=js(n.value),f=JSON.parse(JSON.stringify(r.value.elements)),d={};for(const h of n.value)if(h.groupId&&!d[h.groupId]){const p=n.value.filter(v=>v.groupId===h.groupId);d[h.groupId]=js(p)}if(a===nn.LEFT)f.forEach(h=>{if(t.value.includes(h.id))if(h.groupId){const v=d[h.groupId].minX-s;h.left=h.left-v}else if("rotate"in h&&h.rotate){const{offsetX:p}=$f({left:h.left,top:h.top,width:h.width,height:h.height,rotate:h.rotate});h.left=s-p}else h.left=s});else if(a===nn.RIGHT)f.forEach(h=>{if(t.value.includes(h.id))if(h.groupId){const v=d[h.groupId].maxX-l;h.left=h.left-v}else{const p=h.type==="line"?Math.max(h.start[0],h.end[0]):h.width;if("rotate"in h&&h.rotate){const{offsetX:v}=$f({left:h.left,top:h.top,width:h.width,height:h.height,rotate:h.rotate});h.left=l-p+v}else h.left=l-p}});else if(a===nn.TOP)f.forEach(h=>{if(t.value.includes(h.id))if(h.groupId){const v=d[h.groupId].minY-c;h.top=h.top-v}else if("rotate"in h&&h.rotate){const{offsetY:p}=$f({left:h.left,top:h.top,width:h.width,height:h.height,rotate:h.rotate});h.top=c-p}else h.top=c});else if(a===nn.BOTTOM)f.forEach(h=>{if(t.value.includes(h.id))if(h.groupId){const v=d[h.groupId].maxY-u;h.top=h.top-v}else{const p=h.type==="line"?Math.max(h.start[1],h.end[1]):h.height;if("rotate"in h&&h.rotate){const{offsetY:v}=$f({left:h.left,top:h.top,width:h.width,height:h.height,rotate:h.rotate});h.top=u-p+v}else h.top=u-p}});else if(a===nn.HORIZONTAL){const h=(s+l)/2;f.forEach(p=>{if(t.value.includes(p.id))if(p.groupId){const v=d[p.groupId],x=(v.maxX+v.minX)/2-h;p.left=p.left-x}else{const v=p.type==="line"?Math.max(p.start[0],p.end[0]):p.width;p.left=h-v/2}})}else if(a===nn.VERTICAL){const h=(c+u)/2;f.forEach(p=>{if(t.value.includes(p.id))if(p.groupId){const v=d[p.groupId],x=(v.maxY+v.minY)/2-h;p.top=p.top-x}else{const v=p.type==="line"?Math.max(p.start[1],p.end[1]):p.height;p.top=h-v/2}})}e.updateSlide({elements:f}),o()}}},j4e=()=>{const e=st(),{activeElementIdList:t,activeElementList:n}=Xe(ft()),{currentSlide:r}=Xe(e),{addHistorySnapshot:o}=Ht();return{displayItemCount:Me(()=>{let l=0;const c=[];for(const u of n.value)u.groupId?c.includes(u.groupId)||(c.push(u.groupId),l+=1):l+=1;return l}),uniformHorizontalDisplay:()=>{const{minX:l,maxX:c}=js(n.value),u=JSON.parse(JSON.stringify(n.value)),f=JSON.parse(JSON.stringify(r.value.elements)),d=[];let h=[];for(const b of u)if(b.groupId)h.find(T=>T.groupId===b.groupId)?h=h.map(T=>T.groupId===b.groupId?{...T,els:[...T.els,b]}:T):h.push({groupId:b.groupId,els:[b]});else{const{minX:M,maxX:T}=Ji(b);d.push({min:M,max:T,el:b})}const p=[];for(const b of h){const{minX:M,maxX:T}=js(b.els);p.push({min:M,max:T,els:b.els})}const v=[...d,...p];v.sort((b,M)=>b.min-M.min);let m=0;for(const b of v){const M=b.max-b.min;m+=M}const x=(c-l-m)/(v.length-1),y=[],R=v[0];let A={min:R.min,max:R.max};if("el"in R)y.push({pos:R.min,el:R.el});else for(const b of R.els){const{minX:M}=Ji(b);y.push({pos:M,el:b})}for(let b=1;b{const{minY:l,maxY:c}=js(n.value),u=JSON.parse(JSON.stringify(n.value)),f=JSON.parse(JSON.stringify(r.value.elements)),d=[];let h=[];for(const b of u)if(b.groupId)h.find(T=>T.groupId===b.groupId)?h=h.map(T=>T.groupId===b.groupId?{...T,els:[...T.els,b]}:T):h.push({groupId:b.groupId,els:[b]});else{const{minY:M,maxY:T}=Ji(b);d.push({min:M,max:T,el:b})}const p=[];for(const b of h){const{minY:M,maxY:T}=js(b.els);p.push({min:M,max:T,els:b.els})}const v=[...d,...p];v.sort((b,M)=>b.min-M.min);let m=0;for(const b of v){const M=b.max-b.min;m+=M}const x=(c-l-m)/(v.length-1),y=[],R=v[0];let A={min:R.min,max:R.max};if("el"in R)y.push({pos:R.min,el:R.el});else for(const b of R.els){const{minY:M}=Ji(b);y.push({pos:M,el:b})}for(let b=1;b{t.value?o(u):i(u)};return(u,f)=>{const d=Se("IconAlignLeft"),h=Se("IconAlignHorizontally"),p=Se("IconAlignRight"),v=Se("IconAlignTop"),m=Se("IconAlignVertically"),x=Se("IconAlignBottom"),y=Se("IconGroup"),R=Se("IconUngroup"),A=bn("tooltip");return U(),ee("div",q4e,[O(Ln,{class:"row"},{default:oe(()=>[He((U(),ke(je,{style:{flex:"1"},onClick:f[0]||(f[0]=b=>c(H(nn).LEFT))},{default:oe(()=>[O(d)]),_:1})),[[A,"左对齐"]]),He((U(),ke(je,{style:{flex:"1"},onClick:f[1]||(f[1]=b=>c(H(nn).HORIZONTAL))},{default:oe(()=>[O(h)]),_:1})),[[A,"水平居中"]]),He((U(),ke(je,{style:{flex:"1"},onClick:f[2]||(f[2]=b=>c(H(nn).RIGHT))},{default:oe(()=>[O(p)]),_:1})),[[A,"右对齐"]])]),_:1}),O(Ln,{class:"row"},{default:oe(()=>[He((U(),ke(je,{style:{flex:"1"},onClick:f[3]||(f[3]=b=>c(H(nn).TOP))},{default:oe(()=>[O(v)]),_:1})),[[A,"上对齐"]]),He((U(),ke(je,{style:{flex:"1"},onClick:f[4]||(f[4]=b=>c(H(nn).VERTICAL))},{default:oe(()=>[O(m)]),_:1})),[[A,"垂直居中"]]),He((U(),ke(je,{style:{flex:"1"},onClick:f[5]||(f[5]=b=>c(H(nn).BOTTOM))},{default:oe(()=>[O(x)]),_:1})),[[A,"下对齐"]])]),_:1}),H(a)>2?(U(),ke(Ln,{key:0,class:"row"},{default:oe(()=>[O(je,{style:{flex:"1"},onClick:f[6]||(f[6]=b=>H(s)())},{default:oe(()=>[Ve("水平均匀分布")]),_:1}),O(je,{style:{flex:"1"},onClick:f[7]||(f[7]=b=>H(l)())},{default:oe(()=>[Ve("垂直均匀分布")]),_:1})]),_:1})):Qe("",!0),O(Ft),O(Ln,{class:"row"},{default:oe(()=>[O(je,{disabled:!H(t),onClick:f[8]||(f[8]=b=>H(n)()),style:{flex:"1"}},{default:oe(()=>[O(y,{style:{"margin-right":"3px"}}),Ve("组合")]),_:1},8,["disabled"]),O(je,{disabled:H(t),onClick:f[9]||(f[9]=b=>H(r)()),style:{flex:"1"}},{default:oe(()=>[O(R,{style:{"margin-right":"3px"}}),Ve("取消组合")]),_:1},8,["disabled"])]),_:1})])}}}),t3e=Ue(e3e,[["__scopeId","data-v-d41009b1"]]),v4=[{key:"letter",label:"字母",children:["α","β","γ","δ","ϵ","ε","ζ","η","θ","ϑ","ι","κ","λ","μ","ν","ξ","π","ϖ","ρ","ϱ","σ","ς","τ","υ","ϕ","φ","χ","ψ","ω","Γ","Δ","Θ","Λ","Ξ","Π","Σ","Υ","Φ","Ψ","Ω","𝐀","𝐁","𝐂","𝐃","𝐄","𝐅","𝐆","𝐇","𝐈","𝐉","𝐊","𝐋","𝐌","𝐍","𝐎","𝐏","𝐐","𝐑","𝐒","𝐓","𝐔","𝐕","𝐖","𝐗","𝐘","𝐙","𝐚","𝐛","𝐜","𝐝","𝐞","𝐟","𝐠","𝐡","𝐢","𝐣","𝐤","𝐥","𝐦","𝐧","𝐨","𝐩","𝐪","𝐫","𝐬","𝐭","𝐮","𝐯","𝐰","𝐱","𝐲","𝐳","𝓐","𝓑","𝓒","𝓓","𝓔","𝓕","𝓖","𝓗","𝓘","𝓙","𝓚","𝓛","𝓜","𝓝","𝓞","𝓟","𝓠","𝓡","𝓢","𝓣","𝓤","𝓥","𝓦","𝓧","𝓨","𝓩","𝓪","𝓫","𝓬","𝓭","𝓮","𝓯","𝓰","𝓱","𝓲","𝓳","𝓴","𝓵","𝓶","𝓷","𝓸","𝓹","𝓺","𝓻","𝓼","𝓽","𝓾","𝓿","𝔀","𝔁","𝔂","𝔃"]},{key:"number",label:"序号",children:["①","②","③","④","⑤","⑥","⑦","⑧","⑨","⑩","⑪","⑫","⑬","⑭","⑮","⑯","⑰","⑱","⑲","⑳","⑴","⑵","⑶","⑷","⑸","⑹","⑺","⑻","⑼","⑽","⑾","⑿","⒀","⒁","⒂","⒃","⒄","⒅","⒆","⒇","º","¹","²","³","⁴","⁵","⁶","⁷","⁸","⁹","₀","₁","₂","₃","₄","₅","₆","₇","₈","₉","Ⅰ","Ⅱ","Ⅲ","Ⅳ","Ⅴ","Ⅵ","Ⅶ","Ⅷ","Ⅸ","Ⅹ","Ⅺ","Ⅻ","Ⅼ","Ⅽ","Ⅾ","Ⅿ","ⅰ","ⅱ","ⅲ","ⅳ","ⅴ","ⅵ","ⅶ","ⅷ","ⅸ","ⅹ","ⅺ","ⅻ","ⅼ","ⅽ","ⅾ","ⅿ","ↀ","ↁ","ↂ","㊀","㊁","㊂","㊃","㊄","㊅","㊆","㊇","㊈","㊉","㈠","㈡","㈢","㈣","㈤","㈥","㈦","㈧","㈨","㈩","𝟘","𝟙","𝟚","𝟛","𝟜","𝟝","𝟞","𝟟","𝟠","𝟡"]},{key:"math",label:"数学",children:["+","-","×","÷","=","~","¬","±","%","°","ǃ","‰","‱","½","⅓","⅔","¼","¾","<",">","l","o","g","l","g","l","n","⨂","⨁","⨄","⨃","⨅","⨆","√","∛","∜","∝","∞","∟","∠","∡","∢","∧","∨","∩","∪","∫","∬","∭","∮","∯","∰","∱","∲","∳","∴","∵","∼","∽","∾","∿","≃","≄","≅","≆","≇","≈","≊","≋","≌","≍","≎","≏","≐","≑","≒","≓","≔","≕","≤","≥","≦","≧","≨","≩","≪","≫","≺","≻","≼","≽","≾","≿","⊀","⊁","⊂","⊃","⊄","⊅","⊆","⊇","⊈","⊉","⊊","⊋","⊏","⊐","⊑","⊒","⊓","⊔","⊢","⊣","⊤","⊥","⊦","⊧","⊨","⊩","⊪","⊫","⊬","⊭","⊮","⊯","⊲","⊳","⊴","⊵","⋀","⋁","⋂","⋃","⋉","⋊","⋋","⋌","⟨","⟩","⟪","⟫","⟮","⟯","⧼","⧽","⦰"]},{key:"arrow",label:"箭头",children:["←","↑","→","↓","↔","↕","↖","↗","↘","↙","↚","↛","↜","↝","↞","↟","↠","↡","↢","↣","↤","↥","↦","↧","↨","↫","↬","↭","↮","↯","↰","↱","↲","↳","↴","↵","↶","↷","↸","↹","↺","↻","↼","↽","↾","↿","⇀","⇁","⇂","⇃","⇄","⇅","⇆","⇇","⇈","⇉","⇊","⇋","⇌","⇍","⇎","⇏","⇐","⇑","⇒","⇓","⇔","⇕","⇖","⇗","⇘","⇙","⇚","⇛","⇜","⇝","⇞","⇟","⇠","⇡","⇢","⇣","⇤","⇥","⇦","⇧","⇨","⇩","⇪","⇫","⇬","⇭","⇮","⇯","⇰","⇱","⇲","⇳","⇴","⇵","⇶","⇷","⇸","⇹","⇺","⇻","⇼","⇽","⇾","⇿"]},{key:"graph",label:"图形",children:["▢","▣","▤","▥","▦","▧","▨","▩","▭","▮","▯","▰","▱","▲","▷","▼","◁","◈","◉","◍","◐","◑","◒","◓","◔","◕","◧","◨","◩","◪","◫","◬","◭","◮"]}],n3e={class:"symbol-panel"},r3e={class:"pool"},o3e=["onClick"],i3e={class:"symbol"},a3e=Ee({__name:"SymbolPanel",setup(e){const t=ve(v4[0].key),n=Me(()=>{const i=v4.find(a=>a.key===t.value);return(i==null?void 0:i.children)||[]}),r=v4.map(i=>({key:i.key,label:i.label})),o=i=>{ao.emit(Hr.RICH_TEXT_COMMAND,{action:{command:"insert",value:i}})};return(i,a)=>(U(),ee("div",n3e,[O(_a,{tabs:H(r),value:t.value,"onUpdate:value":a[0]||(a[0]=s=>t.value=s),tabsStyle:{marginBottom:"8px"},spaceBetween:""},null,8,["tabs","value"]),V("div",r3e,[(U(!0),ee(We,null,nt(n.value,(s,l)=>(U(),ee("div",{class:"symbol-item",key:l,onClick:c=>o(s)},[V("div",i3e,vt(s),1)],8,o3e))),128))])]))}}),s3e=Ue(a3e,[["__scopeId","data-v-0f662bb0"]]),l3e={class:"toolbar"},c3e={class:"content"},u3e=Ee({__name:"index",setup(e){const t=ft(),{activeElementIdList:n,handleElement:r,toolbarState:o}=Xe(t),i=Me(()=>{var f;return((f=r.value)==null?void 0:f.type)==="text"?[{label:"样式",key:wr.EL_STYLE},{label:"符号",key:wr.SYMBOL},{label:"位置",key:wr.EL_POSITION},{label:"动画",key:wr.EL_ANIMATION}]:[{label:"样式",key:wr.EL_STYLE},{label:"位置",key:wr.EL_POSITION},{label:"动画",key:wr.EL_ANIMATION}]}),a=[{label:"设计",key:wr.SLIDE_DESIGN},{label:"切换",key:wr.SLIDE_ANIMATION},{label:"动画",key:wr.EL_ANIMATION}],s=[{label:"样式",key:wr.EL_STYLE},{label:"位置",key:wr.MULTI_POSITION}],l=f=>{t.setToolbarState(f)},c=Me(()=>{if(n.value.length){if(n.value.length>1)return s}else return a;return i.value});wt(c,()=>{const f=c.value.map(d=>d.key);f.includes(o.value)||t.setToolbarState(f[0])});const u=Me(()=>({[wr.EL_STYLE]:QRe,[wr.EL_POSITION]:qRe,[wr.EL_ANIMATION]:Rye,[wr.SLIDE_DESIGN]:B4e,[wr.SLIDE_ANIMATION]:J4e,[wr.MULTI_POSITION]:t3e,[wr.SYMBOL]:s3e})[o.value]||null);return(f,d)=>(U(),ee("div",l3e,[O(_a,{tabs:c.value,value:H(o),card:"","onUpdate:value":d[0]||(d[0]=h=>l(h))},null,8,["tabs","value"]),V("div",c3e,[(U(),ke(ws(u.value)))])]))}}),f3e=Ue(u3e,[["__scopeId","data-v-83fff59a"]]),d3e={class:"editor"},h3e=Ee({__name:"Editor",props:{value:{}},emits:["update"],setup(e,{expose:t,emit:n}){const r=e,o=n,i=ft(),a=ve();let s;const l=ve(),c=ve(),u=ve(),f=()=>{c.value&&c.value.hide()},d=On.debounce(function(){o("update",s.dom.innerHTML)},300,{trailing:!0}),h=()=>{i.setDisableHotkeysState(!0)},p=()=>{i.setDisableHotkeysState(!1)};t({updateTextContent:()=>{if(!s)return;const{doc:y,tr:R}=s.state;s.dispatch(R.replaceRangeWith(0,y.content.size,M5(r.value)))}});const m=()=>{const y=window.getSelection();if(!y||!y.anchorNode||!y.focusNode||y.isCollapsed||y.type==="Caret"||y.type==="None")return;const R=y.getRangeAt(0);if(c.value){l.value=z4(s);const{x:A,y:b,left:M,top:T}=R.getBoundingClientRect();c.value.setProps({getReferenceClientRect:()=>({x:A,y:b,left:M,top:T,height:0,width:0,right:M,bottom:T})}),c.value.show()}},x=(y,R)=>{if(y==="color"&&R){const A=s.state.schema.marks.forecolor.create({color:R});Er(s),za(s,A)}else if(y==="backcolor"&&R){const A=s.state.schema.marks.backcolor.create({backcolor:R});Er(s),za(s,A)}else if(y==="bold")Er(s),Pr(s.state.schema.marks.strong)(s.state,s.dispatch);else if(y==="em")Er(s),Pr(s.state.schema.marks.em)(s.state,s.dispatch);else if(y==="underline")Er(s),Pr(s.state.schema.marks.underline)(s.state,s.dispatch);else if(y==="strikethrough")Er(s),Pr(s.state.schema.marks.strikethrough)(s.state,s.dispatch);else if(y==="bulletList"){const{bullet_list:A,list_item:b}=s.state.schema.nodes;Rm(A,b,"")(s.state,s.dispatch)}else if(y==="orderedList"){const{ordered_list:A,list_item:b}=s.state.schema.nodes;Rm(A,b,"")(s.state,s.dispatch)}else if(y==="clear"){Er(s);const{$from:A,$to:b}=s.state.selection;s.dispatch(s.state.tr.removeMark(A.pos,b.pos))}s.focus(),d(),l.value=z4(s)};return Qt(()=>{s=VF(a.value,r.value,{handleDOMEvents:{focus:h,blur:p,mouseup:m,mousedown:()=>{var y;(y=window.getSelection())==null||y.removeAllRanges(),f()},keydown:f,input:d}},{placeholder:"点击输入演讲者备注"}),c.value=qu(a.value,{duration:0,content:u.value,interactive:!0,trigger:"manual",placement:"top-start",hideOnClick:"toggle",offset:[0,6]})}),Sn(()=>{s&&s.destroy()}),(y,R)=>{var N,_,C,X,Y,$;const A=Se("IconTextBold"),b=Se("IconTextItalic"),M=Se("IconTextUnderline"),T=Se("IconStrikethrough"),w=Se("IconText"),L=Se("IconHighLight"),k=Se("IconList"),E=Se("IconOrderedList"),P=Se("IconFormat"),W=bn("click-outside");return He((U(),ee("div",d3e,[V("div",{class:"prosemirror-editor",ref_key:"editorViewRef",ref:a},null,512),V("div",{class:"menu",ref_key:"menuRef",ref:u},[V("button",{class:Je({active:(N=l.value)==null?void 0:N.bold}),onClick:R[0]||(R[0]=le=>x("bold"))},[O(A)],2),V("button",{class:Je({active:(_=l.value)==null?void 0:_.em}),onClick:R[1]||(R[1]=le=>x("em"))},[O(b)],2),V("button",{class:Je({active:(C=l.value)==null?void 0:C.underline}),onClick:R[2]||(R[2]=le=>x("underline"))},[O(M)],2),V("button",{class:Je({active:(X=l.value)==null?void 0:X.strikethrough}),onClick:R[3]||(R[3]=le=>x("strikethrough"))},[O(T)],2),O(Pt,{trigger:"click",style:{width:"30%"}},{content:oe(()=>{var le;return[O(_n,{modelValue:(le=l.value)==null?void 0:le.color,"onUpdate:modelValue":R[4]||(R[4]=Q=>x("color",Q))},null,8,["modelValue"])]}),default:oe(()=>[V("button",null,[O(w)])]),_:1}),O(Pt,{trigger:"click",style:{width:"30%"}},{content:oe(()=>{var le;return[O(_n,{modelValue:(le=l.value)==null?void 0:le.backcolor,"onUpdate:modelValue":R[5]||(R[5]=Q=>x("backcolor",Q))},null,8,["modelValue"])]}),default:oe(()=>[V("button",null,[O(L)])]),_:1}),V("button",{class:Je({active:(Y=l.value)==null?void 0:Y.bulletList}),onClick:R[6]||(R[6]=le=>x("bulletList"))},[O(k)],2),V("button",{class:Je({active:($=l.value)==null?void 0:$.orderedList}),onClick:R[7]||(R[7]=le=>x("orderedList"))},[O(E)],2),V("button",{onClick:R[8]||(R[8]=le=>x("clear"))},[O(P)])],512)])),[[W,f]])}}}),p3e=Ue(h3e,[["__scopeId","data-v-4042a280"]]),v3e={class:"remark"},g3e=Ee({__name:"index",props:{height:{}},emits:["update:height"],setup(e,{emit:t}){const n=e,r=t,o=st(),{currentSlide:i}=Xe(o),a=ve();wt(()=>i.value.id,()=>{pr(()=>{a.value.updateTextContent()})},{immediate:!0});const s=Me(()=>{var u;return((u=i.value)==null?void 0:u.remark)||""}),l=u=>{o.updateSlide({remark:u})},c=u=>{let f=!0;const d=u.pageY,h=n.height;document.onmousemove=p=>{if(!f)return;let x=-(p.pageY-d)+h;x<40&&(x=40),x>360&&(x=360),r("update:height",x)},document.onmouseup=()=>{f=!1,document.onmousemove=null,document.onmouseup=null}};return(u,f)=>(U(),ee("div",v3e,[V("div",{class:"resize-handler",onMousedown:f[0]||(f[0]=d=>c(d))},null,32),O(p3e,{value:s.value,ref_key:"editorRef",ref:a,onUpdate:f[1]||(f[1]=d=>l(d))},null,8,["value"])]))}}),m3e=Ue(g3e,[["__scopeId","data-v-1c52a472"]]);var aE={exports:{}};(function(e,t){(function(n,r){r()})(kt,function(){function n(c,u){return typeof u>"u"?u={autoBom:!1}:typeof u!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),u={autoBom:!u}),u.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(c.type)?new Blob(["\uFEFF",c],{type:c.type}):c}function r(c,u,f){var d=new XMLHttpRequest;d.open("GET",c),d.responseType="blob",d.onload=function(){l(d.response,u,f)},d.onerror=function(){console.error("could not download file")},d.send()}function o(c){var u=new XMLHttpRequest;u.open("HEAD",c,!1);try{u.send()}catch{}return 200<=u.status&&299>=u.status}function i(c){try{c.dispatchEvent(new MouseEvent("click"))}catch{var u=document.createEvent("MouseEvents");u.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),c.dispatchEvent(u)}}var a=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof kt=="object"&&kt.global===kt?kt:void 0,s=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),l=a.saveAs||(typeof window!="object"||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!s?function(c,u,f){var d=a.URL||a.webkitURL,h=document.createElement("a");u=u||c.name||"download",h.download=u,h.rel="noopener",typeof c=="string"?(h.href=c,h.origin===location.origin?i(h):o(h.href)?r(c,u,f):i(h,h.target="_blank")):(h.href=d.createObjectURL(c),setTimeout(function(){d.revokeObjectURL(h.href)},4e4),setTimeout(function(){i(h)},0))}:"msSaveOrOpenBlob"in navigator?function(c,u,f){if(u=u||c.name||"download",typeof c!="string")navigator.msSaveOrOpenBlob(n(c,f),u);else if(o(c))r(c,u,f);else{var d=document.createElement("a");d.href=c,d.target="_blank",setTimeout(function(){i(d)})}}:function(c,u,f,d){if(d=d||open("","_blank"),d&&(d.document.title=d.document.body.innerText="downloading..."),typeof c=="string")return r(c,u,f);var h=c.type==="application/octet-stream",p=/constructor/i.test(a.HTMLElement)||a.safari,v=/CriOS\/[\d]+/.test(navigator.userAgent);if((v||h&&p||s)&&typeof FileReader<"u"){var m=new FileReader;m.onloadend=function(){var R=m.result;R=v?R:R.replace(/^data:[^;]*;/,"data:attachment/file;"),d?d.location.href=R:location=R,d=null},m.readAsDataURL(c)}else{var x=a.URL||a.webkitURL,y=x.createObjectURL(c);d?d.location=y:location.href=y,d=null,setTimeout(function(){x.revokeObjectURL(y)},4e4)}});a.saveAs=l.saveAs=l,e.exports=l})})(aE);var g4=aE.exports,sE={exports:{}};/*! +`)}async function Wve(e,t){const n=t.fontEmbedCSS!=null?t.fontEmbedCSS:t.skipFonts?null:await Xve(e,t);if(n){const r=document.createElement("style"),o=document.createTextNode(n);r.appendChild(o),e.firstChild?e.insertBefore(r,e.firstChild):e.appendChild(r)}}async function Vve(e,t={}){const{width:n,height:r}=Z_(e,t),o=await M2(e,t,!0);return await Wve(o,t),await G_(o,t),Ive(o,t),await rve(o,n,r)}async function Y5(e,t={}){const{width:n,height:r}=Z_(e,t),o=await Vve(e,t),i=await Om(o),a=document.createElement("canvas"),s=a.getContext("2d"),l=t.pixelRatio||eve(),c=t.canvasWidth||n,u=t.canvasHeight||r;return a.width=c*l,a.height=u*l,t.skipAutoScale||tve(a),a.style.width=`${c}`,a.style.height=`${u}`,t.backgroundColor&&(s.fillStyle=t.backgroundColor,s.fillRect(0,0,a.width,a.height)),s.drawImage(i,0,0,a.width,a.height),a}async function Uve(e,t={}){return(await Y5(e,t)).toDataURL()}async function Yve(e,t={}){return(await Y5(e,t)).toDataURL("image/jpeg",t.quality||1)}const Qve=Ee({__name:"Checkboard",props:{size:{default:8},white:{default:"#fff"},grey:{default:"#e6e6e6"}},setup(e){const t=e,n={},r=(a,s,l)=>{const c=document.createElement("canvas");c.width=c.height=l*2;const u=c.getContext("2d");return u?(u.fillStyle=a,u.fillRect(0,0,c.width,c.height),u.fillStyle=s,u.fillRect(0,0,l,l),u.translate(l,l),u.fillRect(0,0,l,l),c.toDataURL()):null},o=(a,s,l)=>{const c=a+","+s+","+l;if(n[c])return n[c];const u=r(a,s,l);return n[c]=u,u},i=Me(()=>({backgroundImage:`url(${o(t.white,t.grey,t.size)})`}));return(a,s)=>(U(),ee("div",{class:"checkerboard",style:we(i.value)},null,4))}}),Tb=Ue(Qve,[["__scopeId","data-v-46275348"]]),Zve=e=>(zt("data-v-429f62d3"),e=e(),Jt(),e),Bve={class:"alpha"},Dve={class:"alpha-checkboard-wrap"},Kve=Zve(()=>V("div",{class:"alpha-picker"},null,-1)),Hve=[Kve],Gve=Ee({__name:"Alpha",props:{value:{}},emits:["colorChange"],setup(e,{emit:t}){const n=e,r=t,o=Me(()=>n.value),i=Me(()=>{const u=[o.value.r,o.value.g,o.value.b].join(",");return`linear-gradient(to right, rgba(${u}, 0) 0%, rgba(${u}, 1) 100%)`}),a=ve(),s=u=>{if(u.preventDefault(),!a.value)return;const f=a.value.clientWidth,d=a.value.getBoundingClientRect().left+window.pageXOffset,h=u.pageX-d;let p;h<0?p=0:h>f?p=1:p=Math.round(h*100/f)/100,o.value.a!==p&&r("colorChange",{r:o.value.r,g:o.value.g,b:o.value.b,a:p})},l=()=>{window.removeEventListener("mousemove",s),window.removeEventListener("mouseup",l)},c=u=>{s(u),window.addEventListener("mousemove",s),window.addEventListener("mouseup",l)};return Sn(l),(u,f)=>(U(),ee("div",Bve,[V("div",Dve,[O(Tb)]),V("div",{class:"alpha-gradient",style:we({background:i.value})},null,4),V("div",{class:"alpha-container",ref_key:"alphaRef",ref:a,onMousedown:f[0]||(f[0]=d=>c(d))},[V("div",{class:"alpha-pointer",style:we({left:o.value.a*100+"%"})},Hve,4)],544)]))}}),zve=Ue(Gve,[["__scopeId","data-v-429f62d3"]]),Jve=e=>(zt("data-v-21ccc370"),e=e(),Jt(),e),$ve={class:"hue"},jve=Jve(()=>V("div",{class:"hue-picker"},null,-1)),qve=[jve],ege=Ee({__name:"Hue",props:{value:{},hue:{}},emits:["colorChange"],setup(e,{emit:t}){const n=e,r=t,o=ve(0),i=ve(""),a=Me(()=>{const d=ot(n.value).toHsl();return n.hue!==-1&&(d.h=n.hue),d}),s=Me(()=>a.value.h===0&&i.value==="right"?"100%":a.value.h*100/360+"%");wt(()=>n.value,()=>{const d=ot(n.value).toHsl(),h=d.s===0?n.hue:d.h;h!==0&&h-o.value>0&&(i.value="right"),h!==0&&h-o.value<0&&(i.value="left"),o.value=h});const l=ve(),c=d=>{if(d.preventDefault(),!l.value)return;const h=l.value.clientWidth,p=l.value.getBoundingClientRect().left+window.pageXOffset,v=d.pageX-p;let m,x;v<0?m=0:v>h?m=360:(x=v*100/h,m=360*x/100),(n.hue===-1||a.value.h!==m)&&r("colorChange",{h:m,l:a.value.l,s:a.value.s,a:a.value.a})},u=()=>{window.removeEventListener("mousemove",c),window.removeEventListener("mouseup",u)},f=d=>{c(d),window.addEventListener("mousemove",c),window.addEventListener("mouseup",u)};return Sn(u),(d,h)=>(U(),ee("div",$ve,[V("div",{class:"hue-container",ref_key:"hueRef",ref:l,onMousedown:h[0]||(h[0]=p=>f(p))},[V("div",{class:"hue-pointer",style:we({left:s.value})},qve,4)],544)]))}}),tge=Ue(ege,[["__scopeId","data-v-21ccc370"]]),Q5=e=>(zt("data-v-1a7711ae"),e=e(),Jt(),e),nge=Q5(()=>V("div",{class:"saturation-white"},null,-1)),rge=Q5(()=>V("div",{class:"saturation-black"},null,-1)),oge=Q5(()=>V("div",{class:"saturation-circle"},null,-1)),ige=[oge],age=Ee({__name:"Saturation",props:{value:{},hue:{}},emits:["colorChange"],setup(e,{emit:t}){const n=e,r=t,o=Me(()=>{const h=ot(n.value).toHsv();return n.hue!==-1&&(h.h=n.hue),h}),i=Me(()=>`hsl(${o.value.h}, 100%, 50%)`),a=Me(()=>-(o.value.v*100)+1+100+"%"),s=Me(()=>o.value.s*100+"%"),l=On.throttle(function(h){r("colorChange",h)},20,{leading:!0,trailing:!1}),c=ve(),u=h=>{if(h.preventDefault(),!c.value)return;const p=c.value.clientWidth,v=c.value.clientHeight,m=c.value.getBoundingClientRect().left+window.pageXOffset,x=c.value.getBoundingClientRect().top+window.pageYOffset,y=On.clamp(h.pageX-m,0,p),R=On.clamp(h.pageY-x,0,v),A=y/p,b=On.clamp(-(R/v)+1,0,1);l({h:o.value.h,s:A,v:b,a:o.value.a})},f=()=>{window.removeEventListener("mousemove",u),window.removeEventListener("mouseup",f)},d=h=>{u(h),window.addEventListener("mousemove",u),window.addEventListener("mouseup",f)};return Sn(f),(h,p)=>(U(),ee("div",{class:"saturation",ref_key:"saturationRef",ref:c,style:we({background:i.value}),onMousedown:p[0]||(p[0]=v=>d(v))},[nge,rge,V("div",{class:"saturation-pointer",style:we({top:a.value,left:s.value})},ige,4)],36))}}),sge=Ue(age,[["__scopeId","data-v-1a7711ae"]]),lge={class:"editable-input"},cge=["value"],uge=Ee({__name:"EditableInput",props:{value:{}},emits:["colorChange"],setup(e,{emit:t}){const n=e,r=t,o=Me(()=>{let a="";return n.value.a<1?a=ot(n.value).toHex8String().toUpperCase():a=ot(n.value).toHexString().toUpperCase(),a.replace("#","")}),i=a=>{const s=a.target.value;if(s.length>=6){const l=ot(s);l.isValid()&&r("colorChange",l.toRgb())}};return(a,s)=>(U(),ee("div",lge,[V("input",{class:"input-content",value:o.value,onInput:s[0]||(s[0]=l=>i(l))},null,40,cge)]))}}),fge=Ue(uge,[["__scopeId","data-v-573b4dde"]]),dge={class:"color-picker"},hge={class:"picker-saturation-wrap"},pge={class:"picker-controls"},vge={class:"picker-color-wrap"},gge={class:"picker-sliders"},mge={class:"picker-hue-wrap"},Age={class:"picker-alpha-wrap"},Rge={class:"picker-field"},yge={class:"picker-presets"},bge=["onClick"],xge={class:"picker-gradient-presets"},Sge=["onClick"],Mge={class:"picker-presets"},wge=["onClick"],Lge={key:0,class:"recent-colors-title"},Oge={class:"picker-presets"},Tge=["onClick"],vk="RECENT_COLORS",kge=Ee({__name:"index",props:{modelValue:{default:"#e86b99"}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=t,o=[["#7f7f7f","#f2f2f2"],["#0d0d0d","#808080"],["#1c1a10","#ddd8c3"],["#0e243d","#c6d9f0"],["#233f5e","#dae5f0"],["#632623","#f2dbdb"],["#4d602c","#eaf1de"],["#3f3150","#e6e0ec"],["#1e5867","#d9eef3"],["#99490f","#fee9da"]],i=(A,b,M)=>{const T=ot(A).toRgb(),w=ot(b).toRgb(),L=(w.r-T.r)/M,k=(w.g-T.g)/M,E=(w.b-T.b)/M,P=[];for(let W=0;W{const A=[];for(const b of o)A.push(i(b[1],b[0],5));return A},s=["#000000","#ffffff","#eeece1","#1e497b","#4e81bb","#e2534d","#9aba60","#8165a0","#47acc5","#f9974c"],l=["#c21401","#ff1e02","#ffc12a","#ffff3a","#90cf5b","#00af57","#00afee","#0071be","#00215f","#72349d"],c=ve(-1),u=ve([]),f=Me({get(){return ot(n.modelValue).toRgb()},set(A){const b=`rgba(${[A.r,A.g,A.b,A.a].join(",")})`;r("update:modelValue",b)}}),d=a(),h=Me(()=>`rgba(${[f.value.r,f.value.g,f.value.b,f.value.a].join(",")})`),p=A=>{c.value=ot(A).toHsl().h,r("update:modelValue",A)},v=On.debounce(function(){const A=ot(f.value).toRgbString();if(!u.value.includes(A)){u.value=[A,...u.value];const b=10;u.value.length>b&&(u.value=u.value.slice(0,b))}},300,{trailing:!0});Qt(()=>{const A=localStorage.getItem(vk);A&&(u.value=JSON.parse(A))}),wt(u,()=>{const A=JSON.stringify(u.value);localStorage.setItem(vk,A)});const m=A=>{"h"in A?(c.value=A.h,f.value=ot(A).toRgb()):(c.value=ot(A).toHsl().h,f.value=A),v()},x=()=>{"EyeDropper"in window?y():R()},y=()=>{gn.success("按 ESC 键关闭取色吸管",{duration:0}),new window.EyeDropper().open().then(b=>{const M=ot(b.sRGBHex);c.value=M.toHsl().h,f.value=M.toRgb(),gn.closeAll(),v()}).catch(()=>{gn.closeAll()})},R=()=>{const A=document.querySelector(".canvas");if(!A)return;const b=document.createElement("div");b.style.cssText="position: fixed; top: 0; left: 0; bottom: 0; right: 0; z-index: 9999; cursor: wait;",document.body.appendChild(b);const M=document.createElement("div");M.style.cssText="position: absolute; top: -100px; left: -100px; width: 16px; height: 16px; border: 1px solid #000; z-index: 999",b.appendChild(M);const{left:T,top:w,width:L,height:k}=A.getBoundingClientRect();Y5(A,{filter:P=>!(P.tagName&&P.tagName.toUpperCase()==="FOREIGNOBJECT"||P.classList&&P.classList.contains("operate")),fontEmbedCSS:"",width:L,height:k,canvasWidth:L,canvasHeight:k,pixelRatio:1}).then(P=>{P.style.cssText=`position: absolute; top: ${w}px; left: ${T}px; cursor: crosshair;`,b.style.cursor="default",b.appendChild(P);const W=P.getContext("2d");if(!W)return;let N="";const _=Y=>{const $=Y.x,le=Y.y,Q=$-T,K=le-w,[B,D,G,ae]=W.getImageData(Q,K,1,1).data;N=`rgba(${B}, ${D}, ${G}, ${(ae/255).toFixed(2)})`,M.style.left=$+10+"px",M.style.top=le+10+"px",M.style.backgroundColor=N},C=()=>{N="",M.style.left="-100px",M.style.top="-100px",M.style.backgroundColor=""},X=Y=>{if(N&&Y.button===0){const $=ot(N);c.value=$.toHsl().h,f.value=$.toRgb(),v()}document.body.removeChild(b),P.removeEventListener("mousemove",_),P.removeEventListener("mouseleave",C),window.removeEventListener("mousedown",X)};P.addEventListener("mousemove",_),P.addEventListener("mouseleave",C),window.addEventListener("mousedown",X)}).catch(()=>{gn.error("取色吸管初始化失败"),document.body.removeChild(b)})};return(A,b)=>{const M=Se("IconNeedle");return U(),ee("div",dge,[V("div",hge,[O(sge,{value:f.value,hue:c.value,onColorChange:b[0]||(b[0]=T=>m(T))},null,8,["value","hue"])]),V("div",pge,[V("div",vge,[V("div",{class:"picker-current-color",style:we({background:h.value})},null,4),O(Tb)]),V("div",gge,[V("div",mge,[O(tge,{value:f.value,hue:c.value,onColorChange:b[1]||(b[1]=T=>m(T))},null,8,["value","hue"])]),V("div",Age,[O(zve,{value:f.value,onColorChange:b[2]||(b[2]=T=>m(T))},null,8,["value"])])])]),V("div",Rge,[O(fge,{class:"input",value:f.value,onColorChange:b[3]||(b[3]=T=>m(T))},null,8,["value"]),V("div",{class:"straw",onClick:b[4]||(b[4]=T=>x())},[O(M)]),V("div",{class:"transparent",onClick:b[5]||(b[5]=T=>p("#00000000"))},[O(Tb)])]),V("div",yge,[(U(),ee(We,null,nt(s,T=>V("div",{class:"picker-presets-color",key:T,style:we({background:T}),onClick:w=>p(T)},null,12,bge)),64))]),V("div",xge,[(U(!0),ee(We,null,nt(H(d),(T,w)=>(U(),ee("div",{class:"picker-gradient-col",key:w},[(U(!0),ee(We,null,nt(T,L=>(U(),ee("div",{class:"picker-gradient-color",key:L,style:we({background:L}),onClick:k=>p(L)},null,12,Sge))),128))]))),128))]),V("div",Mge,[(U(),ee(We,null,nt(l,T=>V("div",{key:T,class:"picker-presets-color",style:we({background:T}),onClick:w=>p(T)},null,12,wge)),64))]),u.value.length?(U(),ee("div",Lge,"最近使用:")):Qe("",!0),V("div",Oge,[(U(!0),ee(We,null,nt(u.value,T=>(U(),ee("div",{key:T,class:"picker-presets-color alpha",onClick:w=>p(T)},[V("div",{class:"picker-presets-color-content",style:we({background:T})},null,4)],8,Tge))),128))])])}}}),_n=Ue(kge,[["__scopeId","data-v-58b37f0f"]]),Nge=e=>(zt("data-v-a0d44a99"),e=e(),Jt(),e),Pge=Nge(()=>V("span",{class:"switch-core"},null,-1)),Cge=[Pge],Ige=Ee({__name:"Switch",props:{value:{type:Boolean},disabled:{type:Boolean,default:!1}},emits:["update:value"],setup(e,{emit:t}){const n=e,r=t,o=()=>{n.disabled||r("update:value",!n.value)};return(i,a)=>(U(),ee("span",{class:Je(["switch",{active:i.value,disabled:i.disabled}]),onClick:a[0]||(a[0]=s=>o())},Cge,2))}}),la=Ue(Ige,[["__scopeId","data-v-a0d44a99"]]),w2=e=>(zt("data-v-174518c6"),e=e(),Jt(),e),Fge={class:"element-outline"},_ge={key:0,class:"row"},Ege=w2(()=>V("div",{style:{width:"40%"}},"启用边框:",-1)),Xge={class:"switch-wrapper",style:{width:"60%"}},Wge={class:"row"},Vge=w2(()=>V("div",{style:{width:"40%"}},"边框样式:",-1)),Uge={class:"row"},Yge=w2(()=>V("div",{style:{width:"40%"}},"边框颜色:",-1)),Qge={class:"row"},Zge=w2(()=>V("div",{style:{width:"40%"}},"边框粗细:",-1)),Bge=Ee({__name:"ElementOutline",props:{fixed:{type:Boolean,default:!1}},setup(e){const t=st(),{theme:n}=Xe(t),{handleElement:r}=Xe(ft()),o=ve(),i=ve(!1);wt(r,()=>{r.value&&(o.value="outline"in r.value?r.value.outline:void 0,i.value=!!o.value)},{deep:!0,immediate:!0});const{addHistorySnapshot:a}=Ht(),s=c=>{if(!r.value)return;const u={outline:{...o.value,...c}};t.updateElement({id:r.value.id,props:u}),a()},l=c=>{if(r.value){if(c){const u=n.value.outline;t.updateElement({id:r.value.id,props:{outline:u}})}else t.removeElementProps({id:r.value.id,propName:"outline"});a()}};return(c,u)=>(U(),ee("div",Fge,[c.fixed?Qe("",!0):(U(),ee("div",_ge,[Ege,V("div",Xge,[O(la,{value:i.value,"onUpdate:value":u[0]||(u[0]=f=>l(f))},null,8,["value"])])])),i.value&&o.value?(U(),ee(We,{key:1},[V("div",Wge,[Vge,O(Hn,{style:{width:"60%"},value:o.value.style||"","onUpdate:value":u[1]||(u[1]=f=>s({style:f})),options:[{label:"实线边框",value:"solid"},{label:"虚线边框",value:"dashed"}]},null,8,["value"])]),V("div",Uge,[Yge,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:o.value.color,"onUpdate:modelValue":u[2]||(u[2]=f=>s({color:f}))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:o.value.color||"#000"},null,8,["color"])]),_:1})]),V("div",Qge,[Zge,O(ei,{value:o.value.width||0,"onUpdate:value":u[3]||(u[3]=f=>s({width:f})),style:{width:"60%"}},null,8,["value"])])],64)):Qe("",!0)]))}}),jp=Ue(Bge,[["__scopeId","data-v-174518c6"]]),qp=e=>(zt("data-v-671988a4"),e=e(),Jt(),e),Dge={class:"element-shadow"},Kge={class:"row"},Hge=qp(()=>V("div",{style:{width:"40%"}},"启用阴影:",-1)),Gge={class:"switch-wrapper",style:{width:"60%"}},zge={class:"row"},Jge=qp(()=>V("div",{style:{width:"40%"}},"水平阴影:",-1)),$ge={class:"row"},jge=qp(()=>V("div",{style:{width:"40%"}},"垂直阴影:",-1)),qge={class:"row"},eme=qp(()=>V("div",{style:{width:"40%"}},"模糊距离:",-1)),tme={class:"row"},nme=qp(()=>V("div",{style:{width:"40%"}},"阴影颜色:",-1)),rme=Ee({__name:"ElementShadow",setup(e){const t=st(),{theme:n}=Xe(t),{handleElement:r}=Xe(ft()),o=ve(),i=ve(!1);wt(r,()=>{r.value&&(o.value="shadow"in r.value?r.value.shadow:void 0,i.value=!!o.value)},{deep:!0,immediate:!0});const{addHistorySnapshot:a}=Ht(),s=c=>{if(!r.value||!o.value)return;const u={...o.value,...c};t.updateElement({id:r.value.id,props:{shadow:u}}),a()},l=c=>{if(r.value){if(c){const u=n.value.shadow;t.updateElement({id:r.value.id,props:{shadow:u}})}else t.removeElementProps({id:r.value.id,propName:"shadow"});a()}};return(c,u)=>(U(),ee("div",Dge,[V("div",Kge,[Hge,V("div",Gge,[O(la,{value:i.value,"onUpdate:value":u[0]||(u[0]=f=>l(f))},null,8,["value"])])]),i.value&&o.value?(U(),ee(We,{key:0},[V("div",zge,[Jge,O(so,{style:{width:"60%"},min:-10,max:10,step:1,value:o.value.h,"onUpdate:value":u[1]||(u[1]=f=>s({h:f}))},null,8,["value"])]),V("div",$ge,[jge,O(so,{style:{width:"60%"},min:-10,max:10,step:1,value:o.value.v,"onUpdate:value":u[2]||(u[2]=f=>s({v:f}))},null,8,["value"])]),V("div",qge,[eme,O(so,{style:{width:"60%"},min:1,max:20,step:1,value:o.value.blur,"onUpdate:value":u[3]||(u[3]=f=>s({blur:f}))},null,8,["value"])]),V("div",tme,[nme,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:o.value.color,"onUpdate:modelValue":u[4]||(u[4]=f=>s({color:f}))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:o.value.color},null,8,["color"])]),_:1})])],64)):Qe("",!0)]))}}),L2=Ue(rme,[["__scopeId","data-v-671988a4"]]),ome=()=>{const e=ft(),{richTextAttrs:t,textFormatPainter:n}=Xe(e);return{toggleTextFormatPainter:(o=!1)=>{n.value?e.setTextFormatPainter(null):e.setTextFormatPainter({keep:o,bold:t.value.bold,em:t.value.em,underline:t.value.underline,strikethrough:t.value.strikethrough,color:t.value.color,backcolor:t.value.backcolor,fontname:t.value.fontname,fontsize:t.value.fontsize,align:t.value.align})}}},ime={class:"text-color-block"},ame=Ee({__name:"TextColorButton",props:{color:{}},setup(e){return(t,n)=>(U(),ke(je,{class:"text-color-btn"},{default:oe(()=>[sr(t.$slots,"default",{},void 0,!0),V("div",ime,[V("div",{class:"text-color-block-content",style:we({backgroundColor:t.color})},null,4)])]),_:3}))}}),Yd=Ue(ame,[["__scopeId","data-v-97cd463a"]]),Ar=Ee({__name:"CheckboxButton",props:{checked:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup(e){return(t,n)=>(U(),ke(je,{checked:t.checked,disabled:t.disabled,type:"checkbox"},{default:oe(()=>[sr(t.$slots,"default")]),_:3},8,["checked","disabled"]))}}),sme=Ee({__name:"ButtonGroup",props:{passive:{type:Boolean,default:!1}},setup(e){return(t,n)=>(U(),ee("div",{class:Je(["button-group",{passive:t.passive}]),ref:"groupRef"},[sr(t.$slots,"default",{},void 0,!0)],2))}}),Ln=Ue(sme,[["__scopeId","data-v-6a640ef5"]]),lme={},cme={class:"select-group"};function ume(e,t){return U(),ee("div",cme,[sr(e.$slots,"default",{},void 0,!0)])}const Z5=Ue(lme,[["render",ume],["__scopeId","data-v-ed58c719"]]),In=Ee({__name:"RadioButton",props:{value:{},disabled:{type:Boolean,default:!1}},setup(e){const{value:t,updateValue:n}=ri(UI);return(r,o)=>(U(),ke(je,{checked:!r.disabled&&H(t)===r.value,disabled:r.disabled,type:"radio",onClick:o[0]||(o[0]=i=>!r.disabled&&H(n)(r.value))},{default:oe(()=>[sr(r.$slots,"default")]),_:3},8,["checked","disabled"]))}}),Ms=Ee({__name:"RadioGroup",props:{value:{},disabled:{type:Boolean,default:!1}},emits:["update:value"],setup(e,{emit:t}){const n=e,r=t,o=a=>{n.disabled||r("update:value",a)},i=Me(()=>n.value);return Ku(UI,{value:i,updateValue:o}),(a,s)=>(U(),ke(Ln,{class:"radio-group"},{default:oe(()=>[sr(a.$slots,"default")]),_:3}))}}),O2=e=>(zt("data-v-830b245d"),e=e(),Jt(),e),fme={class:"rich-text-base"},dme={class:"link-popover"},hme={class:"btns"},pme={class:"row",passive:""},vme={class:"list-wrap"},gme=["onClick"],mme=O2(()=>V("span",null,null,-1)),Ame=[mme],Rme=O2(()=>V("div",{style:{width:"10px"}},null,-1)),yme={class:"list-wrap"},bme=["onClick"],xme=O2(()=>V("span",null,null,-1)),Sme=[xme],Mme={class:"row"},wme=O2(()=>V("div",{style:{width:"10px"}},null,-1)),Lme=Ee({__name:"RichTextBase",setup(e){const{richTextAttrs:t,availableFonts:n,textFormatPainter:r}=Xe(ft()),{toggleTextFormatPainter:o}=ome(),i=["12px","14px","16px","18px","20px","22px","24px","28px","32px","36px","40px","44px","48px","54px","60px","66px","72px","76px","80px","88px","96px","104px","112px","120px"],a=(y,R)=>{ao.emit(Hr.RICH_TEXT_COMMAND,{action:{command:y,value:R}})},s=ve(!1),l=ve(!1),c=ve(!1),u=ve(!1),f=ve(["disc","circle","square"]),d=ve(["decimal","lower-roman","upper-roman","lower-alpha","upper-alpha","lower-greek"]),h=ve(""),p=ve(!1);wt(t,()=>p.value=!1);const v=()=>{h.value=t.value.link},m=y=>{if(!y||!/^(https?):\/\/[\w\-]+(\.[\w\-]+)+([\w\-.,@?^=%&:\/~+#]*[\w\-@?^=%&\/~+#])?$/.test(y))return gn.error("不是正确的网页链接地址");a("link",y),p.value=!1},x=()=>{a("link"),p.value=!1};return(y,R)=>{const A=Se("IconFontSize"),b=Se("IconAddText"),M=Se("IconText"),T=Se("IconHighLight"),w=Se("IconTextBold"),L=Se("IconTextItalic"),k=Se("IconTextUnderline"),E=Se("IconStrikethrough"),P=Se("IconCode"),W=Se("IconQuote"),N=Se("IconFormat"),_=Se("IconFormatBrush"),C=Se("IconLinkOne"),X=Se("IconAlignTextLeft"),Y=Se("IconAlignTextCenter"),$=Se("IconAlignTextRight"),le=Se("IconAlignTextBoth"),Q=Se("IconList"),K=Se("IconDown"),B=Se("IconOrderedList"),D=Se("IconIndentLeft"),G=Se("IconIndentRight"),ae=bn("tooltip");return U(),ee("div",fme,[O(Z5,{class:"row"},{default:oe(()=>[O(Hn,{class:"font-select",style:{width:"60%"},value:H(t).fontname,search:"",searchLabel:"搜索字体","onUpdate:value":R[0]||(R[0]=se=>a("fontname",se)),options:[...H(n),...H(Op)]},{icon:oe(()=>[O(A)]),_:1},8,["value","options"]),O(Hn,{style:{width:"40%"},value:H(t).fontsize,search:"",searchLabel:"搜索字号","onUpdate:value":R[1]||(R[1]=se=>a("fontsize",se)),options:i.map(se=>({label:se,value:se}))},{icon:oe(()=>[O(b)]),_:1},8,["value","options"])]),_:1}),O(Ln,{class:"row",passive:""},{default:oe(()=>[O(Pt,{trigger:"click",style:{width:"30%"}},{content:oe(()=>[O(_n,{modelValue:H(t).color,"onUpdate:modelValue":R[2]||(R[2]=se=>a("color",se))},null,8,["modelValue"])]),default:oe(()=>[He((U(),ke(Yd,{first:"",color:H(t).color},{default:oe(()=>[O(M)]),_:1},8,["color"])),[[ae,"文字颜色"]])]),_:1}),O(Pt,{trigger:"click",style:{width:"30%"}},{content:oe(()=>[O(_n,{modelValue:H(t).backcolor,"onUpdate:modelValue":R[3]||(R[3]=se=>a("backcolor",se))},null,8,["modelValue"])]),default:oe(()=>[He((U(),ke(Yd,{color:H(t).backcolor},{default:oe(()=>[O(T)]),_:1},8,["color"])),[[ae,"文字高亮"]])]),_:1}),He((U(),ke(je,{class:"font-size-btn",style:{width:"20%"},onClick:R[4]||(R[4]=se=>a("fontsize-add"))},{default:oe(()=>[O(A),Ve("+")]),_:1})),[[ae,"增大字号"]]),He((U(),ke(je,{last:"",class:"font-size-btn",style:{width:"20%"},onClick:R[5]||(R[5]=se=>a("fontsize-reduce"))},{default:oe(()=>[O(A),Ve("-")]),_:1})),[[ae,"减小字号"]])]),_:1}),O(Ln,{class:"row"},{default:oe(()=>[He((U(),ke(Ar,{style:{flex:"1"},checked:H(t).bold,onClick:R[6]||(R[6]=se=>a("bold"))},{default:oe(()=>[O(w)]),_:1},8,["checked"])),[[ae,"加粗"]]),He((U(),ke(Ar,{style:{flex:"1"},checked:H(t).em,onClick:R[7]||(R[7]=se=>a("em"))},{default:oe(()=>[O(L)]),_:1},8,["checked"])),[[ae,"斜体"]]),He((U(),ke(Ar,{style:{flex:"1"},checked:H(t).underline,onClick:R[8]||(R[8]=se=>a("underline"))},{default:oe(()=>[O(k)]),_:1},8,["checked"])),[[ae,"下划线"]]),He((U(),ke(Ar,{style:{flex:"1"},checked:H(t).strikethrough,onClick:R[9]||(R[9]=se=>a("strikethrough"))},{default:oe(()=>[O(E)]),_:1},8,["checked"])),[[ae,"删除线"]])]),_:1}),O(Ln,{class:"row"},{default:oe(()=>[He((U(),ke(Ar,{style:{flex:"1"},checked:H(t).superscript,onClick:R[10]||(R[10]=se=>a("superscript"))},{default:oe(()=>[Ve("A²")]),_:1},8,["checked"])),[[ae,"上标"]]),He((U(),ke(Ar,{style:{flex:"1"},checked:H(t).subscript,onClick:R[11]||(R[11]=se=>a("subscript"))},{default:oe(()=>[Ve("A₂")]),_:1},8,["checked"])),[[ae,"下标"]]),He((U(),ke(Ar,{style:{flex:"1"},checked:H(t).code,onClick:R[12]||(R[12]=se=>a("code"))},{default:oe(()=>[O(P)]),_:1},8,["checked"])),[[ae,"行内代码"]]),He((U(),ke(Ar,{style:{flex:"1"},checked:H(t).blockquote,onClick:R[13]||(R[13]=se=>a("blockquote"))},{default:oe(()=>[O(W)]),_:1},8,["checked"])),[[ae,"引用"]])]),_:1}),O(Ln,{class:"row",passive:""},{default:oe(()=>[He((U(),ke(Ar,{first:"",style:{flex:"1"},onClick:R[14]||(R[14]=se=>a("clear"))},{default:oe(()=>[O(N)]),_:1})),[[ae,"清除格式"]]),He((U(),ke(Ar,{style:{flex:"1"},checked:!!H(r),onClick:R[15]||(R[15]=se=>H(o)()),onDblclick:R[16]||(R[16]=se=>H(o)(!0))},{default:oe(()=>[O(_)]),_:1},8,["checked"])),[[ae,"格式刷(双击连续使用)"]]),O(Pt,{placement:"bottom-end",trigger:"click",value:p.value,"onUpdate:value":R[21]||(R[21]=se=>p.value=se),style:{width:"33.33%"}},{content:oe(()=>[V("div",dme,[O(Rc,{value:h.value,"onUpdate:value":R[17]||(R[17]=se=>h.value=se),placeholder:"请输入超链接"},null,8,["value"]),V("div",hme,[O(je,{size:"small",disabled:!H(t).link,onClick:R[18]||(R[18]=se=>x()),style:{"margin-right":"5px"}},{default:oe(()=>[Ve("移除")]),_:1},8,["disabled"]),O(je,{size:"small",type:"primary",onClick:R[19]||(R[19]=se=>m(h.value))},{default:oe(()=>[Ve("确认")]),_:1})])])]),default:oe(()=>[He((U(),ke(Ar,{last:"",style:{width:"100%"},checked:!!H(t).link,onClick:R[20]||(R[20]=se=>v())},{default:oe(()=>[O(C)]),_:1},8,["checked"])),[[ae,"超链接"]])]),_:1},8,["value"])]),_:1}),O(Ft),O(Ms,{class:"row","button-style":"solid",value:H(t).align,"onUpdate:value":R[22]||(R[22]=se=>a("align",se))},{default:oe(()=>[He((U(),ke(In,{value:"left",style:{flex:"1"}},{default:oe(()=>[O(X)]),_:1})),[[ae,"左对齐"]]),He((U(),ke(In,{value:"center",style:{flex:"1"}},{default:oe(()=>[O(Y)]),_:1})),[[ae,"居中"]]),He((U(),ke(In,{value:"right",style:{flex:"1"}},{default:oe(()=>[O($)]),_:1})),[[ae,"右对齐"]]),He((U(),ke(In,{value:"justify",style:{flex:"1"}},{default:oe(()=>[O(le)]),_:1})),[[ae,"两端对齐"]])]),_:1},8,["value"]),V("div",pme,[O(Ln,{style:{flex:"1"}},{default:oe(()=>[He((U(),ke(je,{first:"",type:H(t).bulletList?"primary":"default",style:{flex:"1"},onClick:R[23]||(R[23]=se=>a("bulletList"))},{default:oe(()=>[O(Q)]),_:1},8,["type"])),[[ae,"项目符号"]]),O(Pt,{trigger:"click",value:s.value,"onUpdate:value":R[24]||(R[24]=se=>s.value=se)},{content:oe(()=>[V("div",vme,[(U(!0),ee(We,null,nt(f.value,se=>(U(),ee("ul",{class:"list",key:se,style:we({listStyleType:se}),onClick:J=>a("bulletList",se)},[(U(),ee(We,null,nt(3,J=>V("li",{class:"list-item",key:J},Ame)),64))],12,gme))),128))])]),default:oe(()=>[O(je,{last:"",class:"popover-btn"},{default:oe(()=>[O(K)]),_:1})]),_:1},8,["value"])]),_:1}),Rme,O(Ln,{style:{flex:"1"},passive:""},{default:oe(()=>[He((U(),ke(je,{first:"",type:H(t).orderedList?"primary":"default",style:{flex:"1"},onClick:R[25]||(R[25]=se=>a("orderedList"))},{default:oe(()=>[O(B)]),_:1},8,["type"])),[[ae,"编号"]]),O(Pt,{trigger:"click",value:l.value,"onUpdate:value":R[26]||(R[26]=se=>l.value=se)},{content:oe(()=>[V("div",yme,[(U(!0),ee(We,null,nt(d.value,se=>(U(),ee("ul",{class:"list",key:se,style:we({listStyleType:se}),onClick:J=>a("orderedList",se)},[(U(),ee(We,null,nt(3,J=>V("li",{class:"list-item",key:J},Sme)),64))],12,bme))),128))])]),default:oe(()=>[O(je,{last:"",class:"popover-btn"},{default:oe(()=>[O(K)]),_:1})]),_:1},8,["value"])]),_:1})]),V("div",Mme,[O(Ln,{style:{flex:"1"},passive:""},{default:oe(()=>[He((U(),ke(je,{first:"",style:{flex:"1"},onClick:R[27]||(R[27]=se=>a("indent","-1"))},{default:oe(()=>[O(D)]),_:1})),[[ae,"减小段落缩进"]]),O(Pt,{trigger:"click",value:c.value,"onUpdate:value":R[29]||(R[29]=se=>c.value=se)},{content:oe(()=>[O(go,{onClick:R[28]||(R[28]=se=>a("textIndent","-1"))},{default:oe(()=>[Ve("减小首行缩进")]),_:1})]),default:oe(()=>[O(je,{last:"",class:"popover-btn"},{default:oe(()=>[O(K)]),_:1})]),_:1},8,["value"])]),_:1}),wme,O(Ln,{style:{flex:"1"},passive:""},{default:oe(()=>[He((U(),ke(je,{first:"",style:{flex:"1"},onClick:R[30]||(R[30]=se=>a("indent","+1"))},{default:oe(()=>[O(G)]),_:1})),[[ae,"增大段落缩进"]]),O(Pt,{trigger:"click",value:u.value,"onUpdate:value":R[32]||(R[32]=se=>u.value=se)},{content:oe(()=>[O(go,{onClick:R[31]||(R[31]=se=>a("textIndent","+1"))},{default:oe(()=>[Ve("增大首行缩进")]),_:1})]),default:oe(()=>[O(je,{last:"",class:"popover-btn"},{default:oe(()=>[O(K)]),_:1})]),_:1},8,["value"])]),_:1})])])}}}),z_=Ue(Lme,[["__scopeId","data-v-830b245d"]]),T2=e=>(zt("data-v-82b69e69"),e=e(),Jt(),e),Ome={class:"text-style-panel"},Tme={class:"preset-style"},kme=["onClick"],Nme={class:"row"},Pme=T2(()=>V("div",{style:{width:"40%"}},"行间距:",-1)),Cme={class:"row"},Ime=T2(()=>V("div",{style:{width:"40%"}},"段间距:",-1)),Fme={class:"row"},_me=T2(()=>V("div",{style:{width:"40%"}},"字间距:",-1)),Eme={class:"row"},Xme=T2(()=>V("div",{style:{width:"40%"}},"文本框填充:",-1)),Wme=Ee({__name:"TextStylePanel",setup(e){const t=[{label:"大标题",style:{fontSize:"26px",fontWeight:700},cmd:[{command:"clear"},{command:"bold"},{command:"fontsize",value:"66px"},{command:"align",value:"center"}]},{label:"小标题",style:{fontSize:"22px",fontWeight:700},cmd:[{command:"clear"},{command:"bold"},{command:"fontsize",value:"40px"},{command:"align",value:"center"}]},{label:"正文",style:{fontSize:"20px"},cmd:[{command:"clear"},{command:"fontsize",value:"20px"}]},{label:"正文[小]",style:{fontSize:"18px"},cmd:[{command:"clear"},{command:"fontsize",value:"18px"}]},{label:"注释 1",style:{fontSize:"16px",fontStyle:"italic"},cmd:[{command:"clear"},{command:"fontsize",value:"16px"},{command:"em"}]},{label:"注释 2",style:{fontSize:"16px",textDecoration:"underline"},cmd:[{command:"clear"},{command:"fontsize",value:"16px"},{command:"underline"}]}],n=ft(),r=st(),{handleElement:o,handleElementId:i}=Xe(n),{addHistorySnapshot:a}=Ht(),s=A=>{r.updateElement({id:i.value,props:A}),a()},l=ve("#000"),c=ve(),u=ve(),f=ve();wt(o,()=>{!o.value||o.value.type!=="text"||(l.value=o.value.fill||"#fff",c.value=o.value.lineHeight||1.5,u.value=o.value.wordSpace||0,f.value=o.value.paragraphSpace===void 0?5:o.value.paragraphSpace,ao.emit(Hr.SYNC_RICH_TEXT_ATTRS_TO_STORE))},{deep:!0,immediate:!0});const d=[.9,1,1.15,1.2,1.4,1.5,1.8,2,2.5,3],h=[0,1,2,3,4,5,6,8,10],p=[0,5,10,15,20,25,30,40,50,80],v=A=>{s({lineHeight:A})},m=A=>{s({paragraphSpace:A})},x=A=>{s({wordSpace:A})},y=A=>{s({fill:A})},R=A=>{ao.emit(Hr.RICH_TEXT_COMMAND,{action:A})};return(A,b)=>{const M=Se("IconRowHeight"),T=Se("IconVerticalSpacingBetweenItems"),w=Se("IconFullwidth");return U(),ee("div",Ome,[V("div",Tme,[(U(),ee(We,null,nt(t,L=>V("div",{class:"preset-style-item",key:L.label,style:we(L.style),onClick:k=>R(L.cmd)},vt(L.label),13,kme)),64))]),O(Ft),O(z_),O(Ft),V("div",Nme,[Pme,O(Hn,{style:{width:"60%"},value:c.value||1,"onUpdate:value":b[0]||(b[0]=L=>v(L)),options:d.map(L=>({label:L+"倍",value:L}))},{icon:oe(()=>[O(M)]),_:1},8,["value","options"])]),V("div",Cme,[Ime,O(Hn,{style:{width:"60%"},value:f.value||0,"onUpdate:value":b[1]||(b[1]=L=>m(L)),options:p.map(L=>({label:L+"px",value:L}))},{icon:oe(()=>[O(T)]),_:1},8,["value","options"])]),V("div",Fme,[_me,O(Hn,{style:{width:"60%"},value:u.value||0,"onUpdate:value":b[2]||(b[2]=L=>x(L)),options:h.map(L=>({label:L+"px",value:L}))},{icon:oe(()=>[O(w)]),_:1},8,["value","options"])]),V("div",Eme,[Xme,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:l.value,"onUpdate:modelValue":b[3]||(b[3]=L=>y(L))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:l.value},null,8,["color"])]),_:1})]),O(Ft),O(jp),O(Ft),O(L2),O(Ft),O(Q_)])}}}),Vme=Ue(Wme,[["__scopeId","data-v-82b69e69"]]),Ume={class:"element-flip"},Yme=Ee({__name:"ElementFlip",setup(e){const t=st(),{handleElement:n}=Xe(ft()),r=ve(!1),o=ve(!1);wt(n,()=>{n.value&&(n.value.type==="image"||n.value.type==="shape")&&(r.value=!!n.value.flipH,o.value=!!n.value.flipV)},{deep:!0,immediate:!0});const{addHistorySnapshot:i}=Ht(),a=s=>{n.value&&(t.updateElement({id:n.value.id,props:s}),i())};return(s,l)=>{const c=Se("IconFlipVertically"),u=Se("IconFlipHorizontally");return U(),ee("div",Ume,[O(Ln,{class:"row"},{default:oe(()=>[O(Ar,{style:{flex:"1"},checked:o.value,onClick:l[0]||(l[0]=f=>a({flipV:!o.value}))},{default:oe(()=>[O(c),Ve(" 垂直翻转")]),_:1},8,["checked"]),O(Ar,{style:{flex:"1"},checked:r.value,onClick:l[1]||(l[1]=f=>a({flipH:!r.value}))},{default:oe(()=>[O(u),Ve(" 水平翻转")]),_:1},8,["checked"])]),_:1})])}}}),J_=Ue(Yme,[["__scopeId","data-v-100c8a7c"]]),Qme=e=>(zt("data-v-e7ba40ca"),e=e(),Jt(),e),Zme={class:"element-filter"},Bme={class:"row"},Dme=Qme(()=>V("div",{style:{flex:"2"}},"启用滤镜:",-1)),Kme={class:"switch-wrapper",style:{flex:"3"}},Hme={class:"presets"},Gme=["onClick"],zme=["src"],Jme={class:"preset-label"},$me={class:"filter"},jme={class:"name"},qme=Ee({__name:"ElementFilter",setup(e){const t=[{label:"模糊",key:"blur",default:0,value:0,unit:"px",max:10,step:1},{label:"亮度",key:"brightness",default:100,value:100,unit:"%",max:200,step:5},{label:"对比度",key:"contrast",default:100,value:100,unit:"%",max:200,step:5},{label:"灰度",key:"grayscale",default:0,value:0,unit:"%",max:100,step:5},{label:"饱和度",key:"saturate",default:100,value:100,unit:"%",max:200,step:5},{label:"色相",key:"hue-rotate",default:0,value:0,unit:"deg",max:360,step:10},{label:"褐色",key:"sepia",default:0,value:0,unit:"%",max:100,step:5},{label:"反转",key:"invert",default:0,value:0,unit:"%",max:100,step:5},{label:"不透明度",key:"opacity",default:100,value:100,unit:"%",max:100,step:5}],n=[{label:"黑白",values:{grayscale:"100%"}},{label:"复古",values:{sepia:"50%",contrast:"110%",brightness:"90%"}},{label:"锐化",values:{contrast:"150%"}},{label:"柔和",values:{brightness:"110%",contrast:"90%"}},{label:"暖色",values:{sepia:"30%",saturate:"135%"}},{label:"明亮",values:{brightness:"110%",contrast:"110%"}},{label:"鲜艳",values:{saturate:"200%"}},{label:"模糊",values:{blur:"2px"}},{label:"反转",values:{invert:"100%"}}],r=st(),{handleElement:o,handleElementId:i}=Xe(ft()),a=o,s=ve(JSON.parse(JSON.stringify(t))),l=ve(!1),{addHistorySnapshot:c}=Ht();wt(o,()=>{if(!o.value||o.value.type!=="image")return;const p=o.value.filters;p?(s.value=t.map(v=>{const m=p[v.key];return m?{...v,value:parseInt(m)}:v}),l.value=!0):(s.value=JSON.parse(JSON.stringify(t)),l.value=!1)},{deep:!0,immediate:!0});const u=p=>{let v="";const m=Object.keys(p);for(const x of m)v+=`${x}(${p[x]}) `;return v},f=(p,v)=>{const y={...o.value.filters||{},[p.key]:`${v}${p.unit}`};r.updateElement({id:i.value,props:{filters:y}}),c()},d=p=>{o.value&&(p?r.updateElement({id:o.value.id,props:{filters:{}}}):r.removeElementProps({id:o.value.id,propName:"filters"}),c())},h=p=>{r.updateElement({id:i.value,props:{filters:p}}),c()};return(p,v)=>(U(),ee("div",Zme,[V("div",Bme,[Dme,V("div",Kme,[O(la,{value:l.value,"onUpdate:value":v[0]||(v[0]=m=>d(m))},null,8,["value"])])]),l.value?(U(),ee(We,{key:0},[V("div",Hme,[(U(),ee(We,null,nt(n,(m,x)=>V("div",{class:"preset-item",key:x,onClick:y=>h(m.values)},[V("img",{src:H(a).src,alt:"",style:we({filter:u(m.values)})},null,12,zme),V("span",Jme,vt(m.label),1)],8,Gme)),64))]),V("div",$me,[(U(!0),ee(We,null,nt(s.value,m=>(U(),ee("div",{class:"filter-item",key:m.key},[V("div",jme,vt(m.label),1),O(so,{class:"filter-slider",max:m.max,min:0,step:m.step,value:m.value,"onUpdate:value":x=>f(m,x)},null,8,["max","step","value","onUpdate:value"])]))),128))])],64)):Qe("",!0)]))}}),e2e=Ue(qme,[["__scopeId","data-v-e7ba40ca"]]),$_=e=>(zt("data-v-51ffed2c"),e=e(),Jt(),e),t2e={class:"element-color-mask"},n2e={class:"row"},r2e=$_(()=>V("div",{style:{width:"40%"}},"着色(蒙版):",-1)),o2e={class:"switch-wrapper",style:{width:"60%"}},i2e={key:0,class:"row",style:{"margin-top":"15px"}},a2e=$_(()=>V("div",{style:{width:"40%"}},"蒙版颜色:",-1)),gk="rgba(226, 83, 77, 0.5)",s2e=Ee({__name:"ElementColorMask",setup(e){const t=st(),{handleElement:n,handleElementId:r}=Xe(ft()),o=ve(gk),i=ve(!1),{addHistorySnapshot:a}=Ht();wt(n,()=>{!n.value||n.value.type!=="image"||(n.value.colorMask?(o.value=n.value.colorMask,i.value=!0):i.value=!1)},{deep:!0,immediate:!0});const s=c=>{n.value&&(c?t.updateElement({id:n.value.id,props:{colorMask:gk}}):t.removeElementProps({id:n.value.id,propName:"colorMask"}),a())},l=c=>{t.updateElement({id:r.value,props:{colorMask:c}}),a()};return(c,u)=>(U(),ee("div",t2e,[V("div",n2e,[r2e,V("div",o2e,[O(la,{value:i.value,"onUpdate:value":u[0]||(u[0]=f=>s(f))},null,8,["value"])])]),i.value?(U(),ee("div",i2e,[a2e,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:o.value,"onUpdate:modelValue":u[1]||(u[1]=f=>l(f))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:o.value},null,8,["color"])]),_:1})])):Qe("",!0)]))}}),l2e=Ue(s2e,[["__scopeId","data-v-51ffed2c"]]),j_=e=>(zt("data-v-0e7500b2"),e=e(),Jt(),e),c2e={class:"image-style-panel"},u2e={class:"clip"},f2e=j_(()=>V("div",{class:"title"},"按形状:",-1)),d2e={class:"shape-clip"},h2e=["onClick"],p2e={key:0,class:"title"},v2e={class:"row"},g2e=j_(()=>V("div",{style:{width:"40%"}},"圆角半径:",-1)),m2e=Ee({__name:"ImageStylePanel",setup(e){const t=eb,n=[{label:"纵横比(正方形)",children:[{key:"1:1",ratio:1/1}]},{label:"纵横比(纵向)",children:[{key:"2:3",ratio:3/2},{key:"3:4",ratio:4/3},{key:"3:5",ratio:5/3},{key:"4:5",ratio:5/4}]},{label:"纵横比(横向)",children:[{key:"3:2",ratio:2/3},{key:"4:3",ratio:3/4},{key:"5:3",ratio:3/5},{key:"5:4",ratio:4/5}]},{children:[{key:"16:9",ratio:9/16},{key:"16:10",ratio:10/16}]}],r=ft(),o=st(),{handleElement:i,handleElementId:a}=Xe(r),{currentSlide:s}=Xe(o),l=i,c=ve(!1),{addHistorySnapshot:u}=Ht(),f=()=>{r.setClipingImageElementId(a.value),c.value=!1},d=()=>{const y=i.value,R=y.width,A=y.height,b=y.left,M=y.top,T=y.clip?y.clip.range:[[0,0],[100,100]],w=R/((T[1][0]-T[0][0])/100),L=A/((T[1][1]-T[0][1])/100),k=b-w*(T[0][0]/100),E=M-L*(T[0][1]/100);return{originClipRange:T,originWidth:w,originHeight:L,originLeft:k,originTop:E}},h=y=>{i.value&&(o.updateElement({id:a.value,props:y}),u())},p=(y,R=0)=>{const A=i.value,{originClipRange:b,originWidth:M,originHeight:T,originLeft:w,originTop:L}=d();if(R){const k=T/M,E=0,P=100;let W;if(k>R){const N=(1-R/k)/2*100;W=[[E,N],[P,P-N]]}else{const N=(1-k/R)/2*100;W=[[N,E],[P-N,P]]}h({clip:{...A.clip,shape:y,range:W},left:w+M*(W[0][0]/100),top:L+T*(W[0][1]/100),width:M*(W[1][0]-W[0][0])/100,height:T*(W[1][1]-W[0][1])/100})}else{const k={...A.clip,shape:y,range:b};let E={clip:k};y==="rect"&&(E={clip:k,radius:0}),h(E)}f()},v=y=>{const R=y[0];R&&Lc(R).then(A=>{h({src:A})})},m=()=>{if(i.value.clip){const{originWidth:R,originHeight:A,originLeft:b,originTop:M}=d();h({left:b,top:M,width:R,height:A})}o.removeElementProps({id:a.value,propName:["clip","outline","flip","shadow","filters","colorMask"]}),u()},x=()=>{const y=i.value,R={...s.value.background,type:"image",image:{src:y.src,size:"cover"}};o.updateSlide({background:R}),u()};return(y,R)=>{const A=Se("IconTailoring"),b=Se("IconDown"),M=Se("IconTransform"),T=Se("IconUndo"),w=Se("IconTheme");return U(),ee("div",c2e,[V("div",{class:"origin-image",style:we({backgroundImage:`url(${H(l).src})`})},null,4),O(J_),O(Ln,{class:"row",passive:""},{default:oe(()=>[O(je,{first:"",style:{width:"calc(100% / 6 * 5)"},onClick:R[0]||(R[0]=L=>f())},{default:oe(()=>[O(A,{class:"btn-icon"}),Ve(" 裁剪图片")]),_:1}),O(Pt,{trigger:"click",value:c.value,"onUpdate:value":R[1]||(R[1]=L=>c.value=L),style:{width:"calc(100% / 6)"}},{content:oe(()=>[V("div",u2e,[f2e,V("div",d2e,[(U(!0),ee(We,null,nt(H(t),(L,k)=>(U(),ee("div",{class:"shape-clip-item",key:k,onClick:E=>p(k)},[V("div",{class:"shape",style:we({clipPath:L.style})},null,4)],8,h2e))),128))]),(U(),ee(We,null,nt(n,L=>(U(),ee(We,{key:L.label},[L.label?(U(),ee("div",p2e,"按"+vt(L.label)+":",1)):Qe("",!0),O(Ln,{class:"row"},{default:oe(()=>[(U(!0),ee(We,null,nt(L.children,k=>(U(),ke(je,{style:{flex:"1"},key:k.key,onClick:E=>p("rect",k.ratio)},{default:oe(()=>[Ve(vt(k.key),1)]),_:2},1032,["onClick"]))),128))]),_:2},1024)],64))),64))])]),default:oe(()=>[O(je,{last:"",class:"popover-btn",style:{width:"100%"}},{default:oe(()=>[O(b)]),_:1})]),_:1},8,["value"])]),_:1}),V("div",v2e,[g2e,O(ei,{value:H(l).radius||0,"onUpdate:value":R[2]||(R[2]=L=>h({radius:L})),style:{width:"60%"}},null,8,["value"])]),O(Ft),O(l2e),O(Ft),O(e2e),O(Ft),O(jp),O(Ft),O(L2),O(Ft),O(Wu,{onChange:R[3]||(R[3]=L=>v(L))},{default:oe(()=>[O(je,{class:"full-width-btn"},{default:oe(()=>[O(M,{class:"btn-icon"}),Ve(" 替换图片")]),_:1})]),_:1}),O(je,{class:"full-width-btn",onClick:R[4]||(R[4]=L=>m())},{default:oe(()=>[O(T,{class:"btn-icon"}),Ve(" 重置样式")]),_:1}),O(je,{class:"full-width-btn",onClick:R[5]||(R[5]=L=>x())},{default:oe(()=>[O(w,{class:"btn-icon"}),Ve(" 设为背景")]),_:1})])}}}),A2e=Ue(m2e,[["__scopeId","data-v-0e7500b2"]]),R2e=()=>{const e=ft(),{shapeFormatPainter:t,handleElement:n}=Xe(e);return{toggleShapeFormatPainter:(o=!1)=>{const i=n.value;t.value?e.setShapeFormatPainter(null):e.setShapeFormatPainter({keep:o,fill:i.fill,gradient:i.gradient,outline:i.outline,opacity:i.opacity,shadow:i.shadow})}}},y2e={class:"gradient-bar"},b2e=["onMousedown","onContextmenu"],x2e=Ee({__name:"GradientBar",props:{value:{}},emits:["update:value","update:index"],setup(e,{emit:t}){const n=e,r=t,o=ve([]),i=ve(),a=ve(0);Dd(()=>{o.value=n.value,a.value>n.value.length-1&&(a.value=0)}),wt(a,()=>{r("update:index",a.value)});const s=Me(()=>`linear-gradient(to right, ${o.value.map(d=>`${d.color} ${d.pos}%`).join(",")})`),l=f=>{if(n.value.length<=2)return;f===a.value?a.value=f-1<0?0:f-1:a.value===n.value.length-1&&(a.value=n.value.length-2);const d=n.value.filter((h,p)=>p!==f);r("update:value",d)},c=f=>{let d=!0;document.onmousemove=h=>{if(!d||!i.value)return;let p=Math.round((h.clientX-i.value.getBoundingClientRect().left)/i.value.clientWidth*100);p>100&&(p=100),p<0&&(p=0),o.value=o.value.map((v,m)=>m===f?{...v,pos:p}:v)},document.onmouseup=()=>{d=!1;const h=o.value[f],p=[...o.value];p.splice(f,1);let v=0;for(let m=0;mp[m].pos&&(v=m+1);a.value=v,p.splice(v,0,h),r("update:value",p),document.onmousemove=null,document.onmouseup=null}},u=f=>{if(n.value.length>=6||!i.value)return;const d=Math.round((f.clientX-i.value.getBoundingClientRect().left)/i.value.clientWidth*100);let h=0;for(let m=0;mn.value[m].pos&&(h=m+1);const p=n.value[h-1]?n.value[h-1].color:n.value[h].color,v=[...n.value];v.splice(h,0,{pos:d,color:p}),a.value=h,r("update:value",v)};return(f,d)=>(U(),ee("div",y2e,[V("div",{class:"bar",ref_key:"barRef",ref:i,style:we({backgroundImage:s.value}),onClick:d[0]||(d[0]=h=>u(h))},null,4),(U(!0),ee(We,null,nt(o.value,(h,p)=>(U(),ee("div",{class:Je(["point",{active:a.value===p}]),key:h.pos+"-"+p,style:we({backgroundColor:h.color,left:`calc(${h.pos}% - 5px)`}),onMousedown:Nt(v=>c(p),["left"]),onContextmenu:Nt(v=>l(p),["right"])},null,46,b2e))),128))]))}}),q_=Ue(x2e,[["__scopeId","data-v-c1273c7e"]]),k2=e=>(zt("data-v-d5ed5ce8"),e=e(),Jt(),e),S2e={class:"shape-style-panel"},M2e={class:"title"},w2e=k2(()=>V("span",null,"点击替换形状",-1)),L2e={class:"shape-pool"},O2e={class:"shape-list"},T2e={class:"row"},k2e=k2(()=>V("div",{style:{width:"10px"}},null,-1)),N2e={class:"row"},P2e={class:"row"},C2e=k2(()=>V("div",{style:{width:"40%"}},"当前色块:",-1)),I2e={key:0,class:"row"},F2e=k2(()=>V("div",{style:{width:"40%"}},"渐变角度:",-1)),_2e={class:"row"},E2e=Ee({__name:"ShapeStylePanel",setup(e){const t=ft(),n=st(),{handleElement:r,handleElementId:o,shapeFormatPainter:i}=Xe(t),a=r,s=ve("#000"),l=ve({type:"linear",rotate:0,colors:[{pos:0,color:"#fff"},{pos:100,color:"#fff"}]}),c=ve("fill"),u=ve("middle"),f=ve(0);wt(r,()=>{var M,T;if(!r.value||r.value.type!=="shape")return;s.value=r.value.fill||"#fff";const b=[{pos:0,color:s.value},{pos:100,color:"#fff"}];l.value=r.value.gradient||{type:"linear",rotate:0,colors:b},c.value=r.value.gradient?"gradient":"fill",u.value=((T=(M=r.value)==null?void 0:M.text)==null?void 0:T.align)||"middle"},{deep:!0,immediate:!0});const{addHistorySnapshot:d}=Ht(),{toggleShapeFormatPainter:h}=R2e(),p=b=>{n.updateElement({id:o.value,props:b}),d()},v=b=>{b==="fill"?(n.removeElementProps({id:o.value,propName:"gradient"}),d()):(f.value=0,p({gradient:l.value}))},m=b=>{if(!l.value)return;const M={...l.value,...b};p({gradient:M})},x=b=>{const M=l.value.colors.map((T,w)=>w===f.value?{...T,color:b}:T);m({colors:M})},y=b=>{p({fill:b})},R=b=>{const{width:M,height:T}=r.value,w={viewBox:b.viewBox,path:b.path,special:b.special};if(b.pathFormula){w.pathFormula=b.pathFormula,w.viewBox=[M,T];const L=zu[b.pathFormula];"editable"in L?(w.path=L.formula(M,T,L.defaultValue),w.keypoints=L.defaultValue):w.path=L.formula(M,T)}else w.pathFormula=void 0,w.keypoints=void 0;p(w)},A=b=>{const M=r.value,T={content:"",defaultFontName:"微软雅黑",defaultColor:"#000",align:"middle"},w=M.text||T;p({text:{...w,align:b}})};return(b,M)=>{var W;const T=Se("IconDown"),w=Se("IconAlignTextTopOne"),L=Se("IconAlignTextMiddleOne"),k=Se("IconAlignTextBottomOne"),E=Se("IconFormatBrush"),P=bn("tooltip");return U(),ee("div",S2e,[V("div",M2e,[w2e,O(T)]),V("div",L2e,[(U(!0),ee(We,null,nt(H(Xx),N=>(U(),ee("div",{class:"category",key:N.type},[V("div",O2e,[(U(!0),ee(We,null,nt(N.children,(_,C)=>(U(),ke(x_,{class:"shape-item",key:C,shape:_,onClick:X=>R(_)},null,8,["shape","onClick"]))),128))])]))),128))]),V("div",T2e,[O(Hn,{style:{flex:"1"},value:c.value,"onUpdate:value":M[0]||(M[0]=N=>v(N)),options:[{label:"纯色填充",value:"fill"},{label:"渐变填充",value:"gradient"}]},null,8,["value"]),k2e,c.value==="fill"?(U(),ke(Pt,{key:0,trigger:"click",style:{flex:"1"}},{content:oe(()=>[O(_n,{modelValue:s.value,"onUpdate:modelValue":M[1]||(M[1]=N=>y(N))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:s.value},null,8,["color"])]),_:1})):(U(),ke(Hn,{key:1,style:{flex:"1"},value:l.value.type,"onUpdate:value":M[2]||(M[2]=N=>m({type:N})),options:[{label:"线性渐变",value:"linear"},{label:"径向渐变",value:"radial"}]},null,8,["value"]))]),c.value==="gradient"?(U(),ee(We,{key:0},[V("div",N2e,[O(q_,{value:l.value.colors,"onUpdate:value":M[3]||(M[3]=N=>m({colors:N})),"onUpdate:index":M[4]||(M[4]=N=>f.value=N)},null,8,["value"])]),V("div",P2e,[C2e,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:l.value.colors[f.value].color,"onUpdate:modelValue":M[5]||(M[5]=N=>x(N))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:l.value.colors[f.value].color},null,8,["color"])]),_:1})]),l.value.type==="linear"?(U(),ee("div",I2e,[F2e,O(so,{style:{width:"60%"},min:0,max:360,step:15,value:l.value.rotate,"onUpdate:value":M[6]||(M[6]=N=>m({rotate:N}))},null,8,["value"])])):Qe("",!0)],64)):Qe("",!0),O(J_),O(Ft),(W=H(a).text)!=null&&W.content?(U(),ee(We,{key:1},[O(z_),O(Ft),O(Ms,{class:"row","button-style":"solid",value:u.value,"onUpdate:value":M[7]||(M[7]=N=>A(N))},{default:oe(()=>[He((U(),ke(In,{value:"top",style:{flex:"1"}},{default:oe(()=>[O(w)]),_:1})),[[P,"顶对齐"]]),He((U(),ke(In,{value:"middle",style:{flex:"1"}},{default:oe(()=>[O(L)]),_:1})),[[P,"居中"]]),He((U(),ke(In,{value:"bottom",style:{flex:"1"}},{default:oe(()=>[O(k)]),_:1})),[[P,"底对齐"]])]),_:1},8,["value"]),O(Ft)],64)):Qe("",!0),O(jp),O(Ft),O(L2),O(Ft),O(Q_),O(Ft),V("div",_2e,[He((U(),ke(Ar,{style:{flex:"1"},checked:!!H(i),onClick:M[8]||(M[8]=N=>H(h)()),onDblclick:M[9]||(M[9]=N=>H(h)(!0))},{default:oe(()=>[O(E),Ve(" 形状格式刷")]),_:1},8,["checked"])),[[P,"双击连续使用"]])])])}}}),X2e=Ue(E2e,[["__scopeId","data-v-d5ed5ce8"]]),e1=e=>(zt("data-v-8964660b"),e=e(),Jt(),e),W2e={class:"line-style-panel"},V2e={class:"row"},U2e=e1(()=>V("div",{style:{width:"40%"}},"线条样式:",-1)),Y2e={class:"row"},Q2e=e1(()=>V("div",{style:{width:"40%"}},"线条颜色:",-1)),Z2e={class:"row"},B2e=e1(()=>V("div",{style:{width:"40%"}},"线条宽度:",-1)),D2e={class:"row"},K2e=e1(()=>V("div",{style:{width:"40%"}},"起点样式:",-1)),H2e={class:"row"},G2e=e1(()=>V("div",{style:{width:"40%"}},"终点样式:",-1)),z2e={class:"row"},J2e=Ee({__name:"LineStylePanel",setup(e){const t=st(),{handleElement:n}=Xe(ft()),r=n,{addHistorySnapshot:o}=Ht(),i=a=>{n.value&&(t.updateElement({id:n.value.id,props:a}),o())};return(a,s)=>{const l=Se("IconSwitch");return U(),ee("div",W2e,[V("div",V2e,[U2e,O(Hn,{style:{width:"60%"},value:H(r).style,"onUpdate:value":s[0]||(s[0]=c=>i({style:c})),options:[{label:"实线",value:"solid"},{label:"虚线",value:"dashed"}]},null,8,["value"])]),V("div",Y2e,[Q2e,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:H(r).color,"onUpdate:modelValue":s[1]||(s[1]=c=>i({color:c}))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:H(r).color},null,8,["color"])]),_:1})]),V("div",Z2e,[B2e,O(ei,{value:H(r).width,"onUpdate:value":s[2]||(s[2]=c=>i({width:c})),style:{width:"60%"}},null,8,["value"])]),V("div",D2e,[K2e,O(Hn,{style:{width:"60%"},value:H(r).points[0],"onUpdate:value":s[3]||(s[3]=c=>i({points:[c,H(r).points[1]]})),options:[{label:"无",value:""},{label:"箭头",value:"arrow"},{label:"圆点",value:"dot"}]},null,8,["value"])]),V("div",H2e,[G2e,O(Hn,{style:{width:"60%"},value:H(r).points[1],"onUpdate:value":s[4]||(s[4]=c=>i({points:[H(r).points[0],c]})),options:[{label:"无",value:""},{label:"箭头",value:"arrow"},{label:"圆点",value:"dot"}]},null,8,["value"])]),O(Ft),V("div",z2e,[O(je,{style:{flex:"1"},onClick:s[5]||(s[5]=c=>i({start:H(r).end,end:H(r).start}))},{default:oe(()=>[O(l),Ve(" 交换方向")]),_:1})]),O(Ft),O(L2)])}}}),$2e=Ue(J2e,[["__scopeId","data-v-8964660b"]]),j2e=e=>(zt("data-v-e76e5c0f"),e=e(),Jt(),e),q2e={class:"chart-data-editor"},eAe={class:"editor-content"},tAe={class:"handler"},nAe={class:"col-header"},rAe={class:"col-key"},oAe={class:"row-header"},iAe={class:"row-key"},aAe=j2e(()=>V("div",{class:"all-header"},[V("svg",{class:"triangle",width:"8",height:"8",viewBox:"0 0 8 8",xmlns:"http://www.w3.org/2000/svg"},[V("path",{d:"M8,0 L8,8 L0,8 L8,0",fill:"#ccc"})])],-1)),sAe={class:"range-box"},lAe=["id","onFocus","onPaste"],cAe={class:"btns"},uAe={class:"left"},fAe={class:"right"},dAe="ABCDEFGHIJKLMNOPQRSTUVWXYZ",Nl=100,Pl=32,hAe=Ee({__name:"ChartDataEditor",props:{data:{}},emits:["save","close"],setup(e,{emit:t}){const n=e,r=t,o=ve([0,0]),i=ve({width:0,height:0}),a=ve(null),s=Me(()=>{const x=o.value[0]*Nl,y=o.value[1]*Pl;return[{type:"t",style:{width:x+"px"}},{type:"b",style:{top:y+"px",width:x+"px"}},{type:"l",style:{height:y+"px"}},{type:"r",style:{left:x+"px",height:y+"px"}}]}),l=Me(()=>{const x=o.value[0]*Nl,y=o.value[1]*Pl;return{left:x+"px",top:y+"px"}});Qt(()=>{const x=[],{labels:y,legends:R,series:A}=n.data,b=y.length,M=A.length;x.push(["",...R]);for(let T=0;T{if(!a.value)return;const[x,y]=a.value,R=document.querySelector(`#cell-${x+1}-${y}`);R&&R.focus()},f=x=>{x.key.toUpperCase()===gt.ENTER&&u()};Qt(()=>{document.addEventListener("keydown",f)}),Sn(()=>{document.removeEventListener("keydown",f)});const d=()=>{const[x,y]=o.value,R=[],A=[],b=[];for(let M=1;M{for(let x=1;x<31;x++)for(let y=1;y<7;y++){const R=document.querySelector(`#cell-${x}-${y}`);R&&(R.value="")}},p=(x,y,R)=>{if(x.preventDefault(),!x.clipboardData)return;const A=x.clipboardData.items[0];A&&A.kind==="string"&&A.type==="text/plain"&&A.getAsString(b=>{if(typeof _x(b)=="object")return;const T=A9(b);if(T){const w=y+T.length,L=R+T[0].length;for(let k=y;kr("close"),m=x=>{let y=!0;const R=x.pageX,A=x.pageY,b=o.value[0]*Nl,M=o.value[1]*Pl;document.onmousemove=T=>{if(!y)return;const w=T.pageX,L=T.pageY,k=w-R,E=L-A,P=b+k,W=M+E;i.value={width:P,height:W}},document.onmouseup=T=>{y=!1,document.onmousemove=null,document.onmouseup=null;const w=T.pageX,L=T.pageY;if(R===w&&A===L)return;let k=i.value.width,E=i.value.height;k%Nl>Nl*.5&&(k=k+(Nl-k%Nl)),E%Pl>Pl*.5&&(E=E+(Pl-E%Pl));let P=Math.round(E/Pl),W=Math.round(k/Nl);P<3&&(P=3),W<2&&(W=2),o.value=[W,P],i.value={width:0,height:0}}};return(x,y)=>(U(),ee("div",q2e,[V("div",eAe,[V("div",tAe,[V("div",nAe,[(U(),ee(We,null,nt(7,R=>V("div",{class:"col-header-item",key:R},[V("div",rAe,vt(dAe[R-1]),1)])),64))]),V("div",oAe,[(U(),ee(We,null,nt(31,R=>V("div",{class:"row-header-item",key:R},[V("div",iAe,vt(R),1)])),64))]),aAe]),V("div",sAe,[V("div",{class:"temp-range",style:we({width:i.value.width+"px",height:i.value.height+"px"})},null,4),(U(!0),ee(We,null,nt(s.value,R=>(U(),ee("div",{class:Je(["range-line",R.type]),key:R.type,style:we(R.style)},null,6))),128)),V("div",{class:"resizable",style:we(l.value),onMousedown:y[0]||(y[0]=Nt(R=>m(R),["stop"]))},null,36)]),V("table",null,[V("tbody",null,[(U(),ee(We,null,nt(31,R=>V("tr",{key:R},[(U(),ee(We,null,nt(7,A=>V("td",{key:A,class:Je({head:A===1&&R<=o.value[1]||R===1&&A<=o.value[0]})},[R===1&&A===1?Qe("",!0):(U(),ee("input",{key:0,class:Je(["item",{selected:R<=o.value[1]&&A<=o.value[0]}]),id:`cell-${R-1}-${A-1}`,autocomplete:"off",onFocus:b=>a.value=[R-1,A-1],onPaste:b=>p(b,R-1,A-1)},null,42,lAe))],2)),64))])),64))])])]),V("div",cAe,[V("div",uAe,[O(je,{class:"btn",onClick:y[1]||(y[1]=R=>h())},{default:oe(()=>[Ve("清空")]),_:1})]),V("div",fAe,[O(je,{class:"btn",onClick:y[2]||(y[2]=R=>v())},{default:oe(()=>[Ve("取消")]),_:1}),O(je,{type:"primary",class:"btn",onClick:y[3]||(y[3]=R=>d()),style:{"margin-left":"10px"}},{default:oe(()=>[Ve("确认")]),_:1})])])]))}}),pAe=Ue(hAe,[["__scopeId","data-v-e76e5c0f"]]),eE=e=>(zt("data-v-3d20c849"),e=e(),Jt(),e),vAe=eE(()=>V("span",{class:"checkbox-input"},null,-1)),gAe=eE(()=>V("input",{class:"checkbox-original",type:"checkbox"},null,-1)),mAe={class:"checkbox-label"},AAe=Ee({__name:"Checkbox",props:{value:{type:Boolean},disabled:{type:Boolean,default:!1}},emits:["update:value"],setup(e,{emit:t}){const n=e,r=t,o=i=>{n.disabled||r("update:value",i.target.checked)};return(i,a)=>(U(),ee("label",{class:Je(["checkbox",{checked:i.value,disabled:i.disabled}]),onChange:a[0]||(a[0]=s=>o(s))},[vAe,gAe,V("span",mAe,[sr(i.$slots,"default",{},void 0,!0)])],34))}}),ns=Ue(AAe,[["__scopeId","data-v-3d20c849"]]),B5=e=>(zt("data-v-013c2424"),e=e(),Jt(),e),RAe={class:"chart-style-panel"},yAe={class:"row"},bAe={class:"row"},xAe={key:1,class:"row"},SAe={key:2,class:"row"},MAe={class:"row"},wAe=B5(()=>V("div",{style:{width:"40%"}},"图例:",-1)),LAe={class:"row"},OAe=B5(()=>V("div",{style:{width:"40%"}},"背景填充:",-1)),TAe={class:"row"},kAe=B5(()=>V("div",{style:{width:"40%"}},"网格颜色:",-1)),NAe={style:{width:"40%"}},PAe={class:"color-btn-wrap",style:{width:"100%"}},CAe=["onClick"],IAe={class:"preset-themes"},FAe=["onClick","onMouseenter"],_Ae=Ee({__name:"index",setup(e){const t=[["#d87c7c","#919e8b","#d7ab82","#6e7074","#61a0a8","#efa18d"],["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78"],["#516b91","#59c4e6","#edafda","#93b7e3","#a5e7f0","#cbb0e3"],["#893448","#d95850","#eb8146","#ffb248","#f2d643","#ebdba4"],["#4ea397","#22c3aa","#7bd9a5","#d0648a","#f58db2","#f2b3c9"],["#3fb1e3","#6be6c1","#626c91","#a0a7e6","#c4ebad","#96dee8"],["#fc97af","#87f7cf","#f7f494","#72ccff","#f7c5a0","#d4a4eb"],["#c1232b","#27727b","#fcce10","#e87c25","#b5c334","#fe8463"],["#2ec7c9","#b6a2de","#5ab1ef","#ffb980","#d87a80","#8d98b3"],["#e01f54","#001852","#f5e8c8","#b8d2c7","#c6b38e","#a4d8c2"],["#c12e34","#e6b600","#0098d9","#2b821d","#005eaa","#339ca8"],["#8a7ca8","#e098c7","#8fd3e8","#71669e","#cc70af","#7cb4cc"]],n=ft(),r=st(),{handleElement:o,handleElementId:i}=Xe(n),{theme:a}=Xe(r),s=o,l=ve(!1),c=ve(!1),u=ve([-1,-1]),{addHistorySnapshot:f}=Ht(),d=ve("#000"),h=ve([]),p=ve(""),v=ve(""),m=ve(!0),x=ve(!0),y=ve(!1),R=ve(!1),A=ve(!1),b=ve(!1);wt(o,()=>{if(!(!o.value||o.value.type!=="chart")){if(d.value=o.value.fill||"#fff",o.value.options){const{lineSmooth:X,showLine:Y,showArea:$,horizontalBars:le,donut:Q,stackBars:K}=o.value.options;m.value=!!X,x.value=!!Y,y.value=!!$,R.value=!!le,A.value=!!Q,b.value=!!K}h.value=o.value.themeColor,p.value=o.value.gridColor||"#333",v.value=o.value.legend||""}},{deep:!0,immediate:!0});const M=X=>{r.updateElement({id:i.value,props:X}),f()},T=X=>{l.value=!1,M({data:X})},w=X=>{M({fill:X})},L=X=>{const $={...o.value.options,...X};M({options:$})},k=(X,Y)=>{const $={themeColor:h.value.map((le,Q)=>Q===Y?X:le)};M($)},E=()=>{const X={themeColor:[...h.value,a.value.themeColor]};M(X)},P=(X,Y)=>{const $=X.slice(0,Y+1);M({themeColor:$}),c.value=!1},W=X=>{const Y={themeColor:h.value.filter(($,le)=>le!==X)};M(Y)},N=X=>{M({gridColor:X})},_=X=>{M({legend:X})},C=()=>l.value=!0;return ao.on(Hr.OPEN_CHART_DATA_EDITOR,C),Sn(()=>{ao.off(Hr.OPEN_CHART_DATA_EDITOR,C)}),(X,Y)=>{const $=Se("IconEdit"),le=Se("IconCloseSmall"),Q=Se("IconPlus"),K=bn("tooltip");return U(),ee("div",RAe,[O(je,{class:"full-width-btn",onClick:Y[0]||(Y[0]=B=>l.value=!0)},{default:oe(()=>[O($,{class:"btn-icon"}),Ve(" 编辑图表数据 ")]),_:1}),O(Ft),H(s).chartType==="line"?(U(),ee(We,{key:0},[V("div",yAe,[O(ns,{"onUpdate:value":Y[1]||(Y[1]=B=>L({showArea:B})),value:y.value,style:{flex:"1"}},{default:oe(()=>[Ve("面积图样式")]),_:1},8,["value"]),O(ns,{"onUpdate:value":Y[2]||(Y[2]=B=>L({showLine:B})),value:!x.value,style:{flex:"1"}},{default:oe(()=>[Ve("散点图样式")]),_:1},8,["value"])]),V("div",bAe,[O(ns,{"onUpdate:value":Y[3]||(Y[3]=B=>L({lineSmooth:B})),value:m.value},{default:oe(()=>[Ve("使用平滑曲线")]),_:1},8,["value"])])],64)):Qe("",!0),H(s).chartType==="bar"?(U(),ee("div",xAe,[O(ns,{"onUpdate:value":Y[4]||(Y[4]=B=>L({horizontalBars:B})),value:R.value,style:{flex:"1"}},{default:oe(()=>[Ve("条形图样式")]),_:1},8,["value"]),O(ns,{"onUpdate:value":Y[5]||(Y[5]=B=>L({stackBars:B})),value:b.value,style:{flex:"1"}},{default:oe(()=>[Ve("堆叠样式")]),_:1},8,["value"])])):Qe("",!0),H(s).chartType==="pie"?(U(),ee("div",SAe,[O(ns,{"onUpdate:value":Y[6]||(Y[6]=B=>L({donut:B})),value:A.value},{default:oe(()=>[Ve("环形图样式")]),_:1},8,["value"])])):Qe("",!0),O(Ft),V("div",MAe,[wAe,O(Hn,{style:{width:"60%"},value:v.value,"onUpdate:value":Y[7]||(Y[7]=B=>_(B)),options:[{label:"不显示",value:""},{label:"显示在上方",value:"top"},{label:"显示在下方",value:"bottom"}]},null,8,["value"])]),O(Ft),V("div",LAe,[OAe,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:d.value,"onUpdate:modelValue":Y[8]||(Y[8]=B=>w(B))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:d.value},null,8,["color"])]),_:1})]),V("div",TAe,[kAe,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:p.value,"onUpdate:modelValue":Y[9]||(Y[9]=B=>N(B))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:p.value},null,8,["color"])]),_:1})]),O(Ft),(U(!0),ee(We,null,nt(h.value,(B,D)=>(U(),ee("div",{class:"row",key:D},[V("div",NAe,vt(D===0?"主题配色:":""),1),O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:B,"onUpdate:modelValue":G=>k(G,D)},null,8,["modelValue","onUpdate:modelValue"])]),default:oe(()=>[V("div",PAe,[O(br,{color:B},null,8,["color"]),D!==0?He((U(),ee("div",{key:0,class:"delete-color-btn",onClick:Nt(G=>W(D),["stop"])},[O(le)],8,CAe)),[[K,"删除"]]):Qe("",!0)])]),_:2},1024)]))),128)),O(Ln,{class:"row",passive:""},{default:oe(()=>[O(Pt,{trigger:"click",open:c.value,"onUpdate:open":Y[11]||(Y[11]=B=>c.value=B),style:{width:"40%"}},{content:oe(()=>[V("div",IAe,[(U(),ee(We,null,nt(t,(B,D)=>V("div",{class:"preset-theme",key:D},[(U(!0),ee(We,null,nt(B,(G,ae)=>(U(),ee("div",{class:Je(["preset-theme-color",{select:u.value[0]===D&&ae<=u.value[1]}]),key:G,style:we({backgroundColor:G}),onClick:se=>P(B,ae),onMouseenter:se=>u.value=[D,ae],onMouseleave:Y[10]||(Y[10]=se=>u.value=[-1,-1])},null,46,FAe))),128))])),64))])]),default:oe(()=>[O(je,{first:"",style:{width:"100%"}},{default:oe(()=>[Ve("推荐主题")]),_:1})]),_:1},8,["open"]),O(je,{last:"",disabled:h.value.length>=10,style:{width:"60%"},onClick:Y[12]||(Y[12]=B=>E())},{default:oe(()=>[O(Q,{class:"btn-icon"}),Ve(" 添加主题色 ")]),_:1},8,["disabled"])]),_:1}),O(Ft),O(jp),O(n0,{visible:l.value,"onUpdate:visible":Y[15]||(Y[15]=B=>l.value=B),width:640},{default:oe(()=>[O(pAe,{data:H(s).data,onClose:Y[13]||(Y[13]=B=>l.value=!1),onSave:Y[14]||(Y[14]=B=>T(B))},null,8,["data"])]),_:1},8,["visible"])])}}}),EAe=Ue(_Ae,[["__scopeId","data-v-013c2424"]]),N2=e=>(zt("data-v-3bf19801"),e=e(),Jt(),e),XAe={class:"table-style-panel"},WAe={class:"row"},VAe=N2(()=>V("div",{style:{width:"40%"}},"行数:",-1)),UAe={class:"set-count",style:{width:"60%"}},YAe={class:"count-text"},QAe={class:"row"},ZAe=N2(()=>V("div",{style:{width:"40%"}},"列数:",-1)),BAe={class:"set-count",style:{width:"60%"}},DAe={class:"count-text"},KAe={class:"row theme-switch"},HAe=N2(()=>V("div",{style:{width:"40%"}},"启用主题表格:",-1)),GAe={class:"switch-wrapper",style:{width:"60%"}},zAe={class:"row"},JAe={class:"row"},$Ae={class:"row"},jAe=N2(()=>V("div",{style:{width:"40%"}},"主题颜色:",-1)),qAe=Ee({__name:"TableStylePanel",setup(e){const t=st(),{handleElement:n,handleElementId:r,selectedTableCells:o,availableFonts:i}=Xe(ft()),a=Me(()=>t.theme.themeColor),s=["12px","14px","16px","18px","20px","22px","24px","28px","32px"],l=ve({bold:!1,em:!1,underline:!1,strikethrough:!1,color:"#000",backcolor:"",fontsize:"12px",fontname:"微软雅黑",align:"left"}),c=ve(),u=ve(!1),f=ve(0),d=ve(0),h=ve(0),p=ve(0);wt(n,()=>{!n.value||n.value.type!=="table"||(c.value=n.value.theme,u.value=!!c.value,f.value=n.value.data.length,d.value=n.value.data[0].length,h.value=n.value.data.length,p.value=n.value.data[0].length)},{deep:!0,immediate:!0});const{addHistorySnapshot:v}=Ht(),m=()=>{if(!n.value||n.value.type!=="table")return;let T=0,w=0;if(o.value.length){const k=o.value[0];T=+k.split("_")[0],w=+k.split("_")[1]}const L=n.value.data[T][w].style;L?l.value={bold:!!L.bold,em:!!L.em,underline:!!L.underline,strikethrough:!!L.strikethrough,color:L.color||"#000",backcolor:L.backcolor||"",fontsize:L.fontsize||"12px",fontname:L.fontname||"微软雅黑",align:L.align||"left"}:l.value={bold:!1,em:!1,underline:!1,strikethrough:!1,color:"#000",backcolor:"",fontsize:"12px",fontname:"微软雅黑",align:"left"}};Qt(()=>{o.value.length&&m()}),wt(o,m);const x=T=>{t.updateElement({id:r.value,props:T}),v()},y=T=>{const w=n.value,L=JSON.parse(JSON.stringify(w.data));for(let k=0;k{if(!c.value)return;const w={...c.value,...T};x({theme:w})},A=T=>{if(T){const w={theme:{color:a.value,rowHeader:!0,rowFooter:!1,colHeader:!1,colFooter:!1}};x(w)}else t.removeElementProps({id:r.value,propName:"theme"}),v()},b=T=>{const w=n.value,L=w.data.length;if(T>L){const k=new Array(d.value).fill({id:ln(10),colspan:1,rowspan:1,text:""}),E=new Array(T-L).fill(k),P=JSON.parse(JSON.stringify(w.data));P.push(...E),x({data:P})}else{const k=w.data.slice(0,T);x({data:k})}},M=T=>{const w=n.value,L=w.data[0].length;let k=w.data,E=w.colWidths.map(_=>_*w.width);if(T>L){k=k.map(C=>{const X=new Array(T-L).fill({id:ln(10),colspan:1,rowspan:1,text:""});return C.push(...X),C});const _=new Array(T-L).fill(100);E.push(..._)}else k=k.map(_=>_.slice(0,T)),E=E.slice(0,T);const P=E.reduce((_,C)=>_+C),W=E.map(_=>_/P);x({width:P,data:k,colWidths:W})};return(T,w)=>{const L=Se("IconFontSize"),k=Se("IconAddText"),E=Se("IconText"),P=Se("IconFill"),W=Se("IconTextBold"),N=Se("IconTextItalic"),_=Se("IconTextUnderline"),C=Se("IconStrikethrough"),X=Se("IconAlignTextLeft"),Y=Se("IconAlignTextCenter"),$=Se("IconAlignTextRight"),le=Se("IconAlignTextBoth"),Q=Se("IconMinus"),K=Se("IconPlus"),B=bn("tooltip");return U(),ee("div",XAe,[O(Z5,{class:"row"},{default:oe(()=>[O(Hn,{style:{width:"50%"},value:l.value.fontname,search:"",searchLabel:"搜索字体","onUpdate:value":w[0]||(w[0]=D=>y({fontname:D})),options:[...H(i),...H(Op)]},{icon:oe(()=>[O(L)]),_:1},8,["value","options"]),O(Hn,{style:{width:"50%"},value:l.value.fontsize,search:"",searchLabel:"搜索字号","onUpdate:value":w[1]||(w[1]=D=>y({fontsize:D})),options:s.map(D=>({label:D,value:D}))},{icon:oe(()=>[O(k)]),_:1},8,["value","options"])]),_:1}),O(Ln,{class:"row",passive:""},{default:oe(()=>[O(Pt,{trigger:"click",style:{width:"50%"}},{content:oe(()=>[O(_n,{modelValue:l.value.color,"onUpdate:modelValue":w[2]||(w[2]=D=>y({color:D}))},null,8,["modelValue"])]),default:oe(()=>[He((U(),ke(Yd,{first:"",color:l.value.color},{default:oe(()=>[O(E)]),_:1},8,["color"])),[[B,"文字颜色"]])]),_:1}),O(Pt,{trigger:"click",style:{width:"50%"}},{content:oe(()=>[O(_n,{modelValue:l.value.backcolor,"onUpdate:modelValue":w[3]||(w[3]=D=>y({backcolor:D}))},null,8,["modelValue"])]),default:oe(()=>[He((U(),ke(Yd,{last:"",color:l.value.backcolor},{default:oe(()=>[O(P)]),_:1},8,["color"])),[[B,"单元格填充"]])]),_:1})]),_:1}),O(Ln,{class:"row"},{default:oe(()=>[He((U(),ke(Ar,{style:{flex:"1"},checked:l.value.bold,onClick:w[4]||(w[4]=D=>y({bold:!l.value.bold}))},{default:oe(()=>[O(W)]),_:1},8,["checked"])),[[B,"加粗"]]),He((U(),ke(Ar,{style:{flex:"1"},checked:l.value.em,onClick:w[5]||(w[5]=D=>y({em:!l.value.em}))},{default:oe(()=>[O(N)]),_:1},8,["checked"])),[[B,"斜体"]]),He((U(),ke(Ar,{style:{flex:"1"},checked:l.value.underline,onClick:w[6]||(w[6]=D=>y({underline:!l.value.underline}))},{default:oe(()=>[O(_)]),_:1},8,["checked"])),[[B,"下划线"]]),He((U(),ke(Ar,{style:{flex:"1"},checked:l.value.strikethrough,onClick:w[7]||(w[7]=D=>y({strikethrough:!l.value.strikethrough}))},{default:oe(()=>[O(C)]),_:1},8,["checked"])),[[B,"删除线"]])]),_:1}),O(Ms,{class:"row","button-style":"solid",value:l.value.align,"onUpdate:value":w[8]||(w[8]=D=>y({align:D}))},{default:oe(()=>[He((U(),ke(In,{value:"left",style:{flex:"1"}},{default:oe(()=>[O(X)]),_:1})),[[B,"左对齐"]]),He((U(),ke(In,{value:"center",style:{flex:"1"}},{default:oe(()=>[O(Y)]),_:1})),[[B,"居中"]]),He((U(),ke(In,{value:"right",style:{flex:"1"}},{default:oe(()=>[O($)]),_:1})),[[B,"右对齐"]]),He((U(),ke(In,{value:"justify",style:{flex:"1"}},{default:oe(()=>[O(le)]),_:1})),[[B,"两端对齐"]])]),_:1},8,["value"]),O(Ft),O(jp,{fixed:!0}),O(Ft),V("div",WAe,[VAe,V("div",UAe,[O(je,{class:"btn",disabled:f.value<=1,onClick:w[9]||(w[9]=D=>b(f.value-1))},{default:oe(()=>[O(Q)]),_:1},8,["disabled"]),V("div",YAe,vt(f.value),1),O(je,{class:"btn",disabled:f.value>=30,onClick:w[10]||(w[10]=D=>b(f.value+1))},{default:oe(()=>[O(K)]),_:1},8,["disabled"])])]),V("div",QAe,[ZAe,V("div",BAe,[O(je,{class:"btn",disabled:d.value<=1,onClick:w[11]||(w[11]=D=>M(d.value-1))},{default:oe(()=>[O(Q)]),_:1},8,["disabled"]),V("div",DAe,vt(d.value),1),O(je,{class:"btn",disabled:d.value>=30,onClick:w[12]||(w[12]=D=>M(d.value+1))},{default:oe(()=>[O(K)]),_:1},8,["disabled"])])]),O(Ft),V("div",KAe,[HAe,V("div",GAe,[O(la,{value:u.value,"onUpdate:value":w[13]||(w[13]=D=>A(D))},null,8,["value"])])]),c.value?(U(),ee(We,{key:0},[V("div",zAe,[O(ns,{"onUpdate:value":w[14]||(w[14]=D=>R({rowHeader:D})),value:c.value.rowHeader,style:{flex:"1"}},{default:oe(()=>[Ve("标题行")]),_:1},8,["value"]),O(ns,{"onUpdate:value":w[15]||(w[15]=D=>R({rowFooter:D})),value:c.value.rowFooter,style:{flex:"1"}},{default:oe(()=>[Ve("汇总行")]),_:1},8,["value"])]),V("div",JAe,[O(ns,{"onUpdate:value":w[16]||(w[16]=D=>R({colHeader:D})),value:c.value.colHeader,style:{flex:"1"}},{default:oe(()=>[Ve("第一列")]),_:1},8,["value"]),O(ns,{"onUpdate:value":w[17]||(w[17]=D=>R({colFooter:D})),value:c.value.colFooter,style:{flex:"1"}},{default:oe(()=>[Ve("最后一列")]),_:1},8,["value"])]),V("div",$Ae,[jAe,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:c.value.color,"onUpdate:modelValue":w[18]||(w[18]=D=>R({color:D}))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:c.value.color},null,8,["color"])]),_:1})])],64)):Qe("",!0)])}}}),eRe=Ue(qAe,[["__scopeId","data-v-3bf19801"]]),tE=e=>(zt("data-v-e173eae4"),e=e(),Jt(),e),tRe={class:"latex-style-panel"},nRe={class:"row"},rRe={class:"row"},oRe=tE(()=>V("div",{style:{width:"40%"}},"颜色:",-1)),iRe={class:"row"},aRe=tE(()=>V("div",{style:{width:"40%"}},"粗细:",-1)),sRe=Ee({__name:"LatexStylePanel",setup(e){const t=st(),{handleElement:n}=Xe(ft()),r=n,o=ve(!1),{addHistorySnapshot:i}=Ht(),a=c=>{n.value&&(t.updateElement({id:n.value.id,props:c}),i())},s=c=>{a({path:c.path,latex:c.latex,width:c.w,height:c.h,viewBox:[c.w,c.h]})},l=()=>o.value=!0;return ao.on(Hr.OPEN_LATEX_EDITOR,l),Sn(()=>{ao.off(Hr.OPEN_LATEX_EDITOR,l)}),(c,u)=>(U(),ee("div",tRe,[V("div",nRe,[O(je,{style:{flex:"1"},onClick:u[0]||(u[0]=f=>o.value=!0)},{default:oe(()=>[Ve("编辑 LaTeX")]),_:1})]),O(Ft),V("div",rRe,[oRe,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:H(r).color,"onUpdate:modelValue":u[1]||(u[1]=f=>a({color:f}))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:H(r).color},null,8,["color"])]),_:1})]),V("div",iRe,[aRe,O(ei,{min:1,max:3,value:H(r).strokeWidth,"onUpdate:value":u[2]||(u[2]=f=>a({strokeWidth:f})),style:{width:"60%"}},null,8,["value"])]),O(n0,{visible:o.value,"onUpdate:visible":u[5]||(u[5]=f=>o.value=f),width:880},{default:oe(()=>[O(O_,{value:H(r).latex,onClose:u[3]||(u[3]=f=>o.value=!1),onUpdate:u[4]||(u[4]=f=>{s(f),o.value=!1})},null,8,["value"])]),_:1},8,["visible"])]))}}),lRe=Ue(sRe,[["__scopeId","data-v-e173eae4"]]),nE=e=>(zt("data-v-b289959e"),e=e(),Jt(),e),cRe={class:"video-style-panel"},uRe=nE(()=>V("div",{class:"title"},"视频预览封面",-1)),fRe={class:"background-image-wrapper"},dRe={class:"background-image"},hRe={class:"row"},pRe={class:"row switch-row"},vRe=nE(()=>V("div",{style:{width:"40%"}},"自动播放:",-1)),gRe={class:"switch-wrapper",style:{width:"60%"}},mRe=Ee({__name:"VideoStylePanel",setup(e){const t=st(),{handleElement:n}=Xe(ft()),r=n,{addHistorySnapshot:o}=Ht(),i=s=>{n.value&&(t.updateElement({id:n.value.id,props:s}),o())},a=s=>{const l=s[0];l&&Lc(l).then(c=>i({poster:c}))};return(s,l)=>{const c=Se("IconPlus");return U(),ee("div",cRe,[uRe,V("div",fRe,[O(Wu,{onChange:l[0]||(l[0]=u=>a(u))},{default:oe(()=>[V("div",dRe,[V("div",{class:"content",style:we({backgroundImage:H(r).poster?`url(${H(r).poster})`:""})},[O(c)],4)])]),_:1})]),V("div",hRe,[O(je,{style:{flex:"1"},onClick:l[1]||(l[1]=u=>i({poster:""}))},{default:oe(()=>[Ve("重置封面")]),_:1})]),V("div",pRe,[vRe,V("div",gRe,[O(la,{value:H(r).autoplay,"onUpdate:value":l[2]||(l[2]=u=>i({autoplay:u}))},null,8,["value"])])])])}}}),ARe=Ue(mRe,[["__scopeId","data-v-b289959e"]]),D5=e=>(zt("data-v-685cdba7"),e=e(),Jt(),e),RRe={class:"audio-style-panel"},yRe={class:"row"},bRe=D5(()=>V("div",{style:{width:"40%"}},"图标颜色:",-1)),xRe={class:"row switch-row"},SRe=D5(()=>V("div",{style:{width:"40%"}},"自动播放:",-1)),MRe={class:"switch-wrapper",style:{width:"60%"}},wRe={class:"row switch-row"},LRe=D5(()=>V("div",{style:{width:"40%"}},"循环播放:",-1)),ORe={class:"switch-wrapper",style:{width:"60%"}},TRe=Ee({__name:"AudioStylePanel",setup(e){const t=st(),{handleElement:n}=Xe(ft()),r=n,{addHistorySnapshot:o}=Ht(),i=a=>{n.value&&(t.updateElement({id:n.value.id,props:a}),o())};return(a,s)=>(U(),ee("div",RRe,[V("div",yRe,[bRe,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:H(r).color,"onUpdate:modelValue":s[0]||(s[0]=l=>i({color:l}))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:H(r).color},null,8,["color"])]),_:1})]),V("div",xRe,[SRe,V("div",MRe,[O(la,{value:H(r).autoplay,"onUpdate:value":s[1]||(s[1]=l=>i({autoplay:l}))},null,8,["value"])])]),V("div",wRe,[LRe,V("div",ORe,[O(la,{value:H(r).loop,"onUpdate:value":s[2]||(s[2]=l=>i({loop:l}))},null,8,["value"])])])]))}}),kRe=Ue(TRe,[["__scopeId","data-v-685cdba7"]]),P2=e=>(zt("data-v-415f8183"),e=e(),Jt(),e),NRe={class:"multi-style-panel"},PRe={class:"row"},CRe=P2(()=>V("div",{style:{width:"40%"}},"填充颜色:",-1)),IRe={class:"row"},FRe=P2(()=>V("div",{style:{width:"40%"}},"边框样式:",-1)),_Re={class:"row"},ERe=P2(()=>V("div",{style:{width:"40%"}},"边框颜色:",-1)),XRe={class:"row"},WRe=P2(()=>V("div",{style:{width:"40%"}},"边框粗细:",-1)),VRe=Ee({__name:"MultiStylePanel",setup(e){const t=st(),{richTextAttrs:n,availableFonts:r,activeElementList:o}=Xe(ft()),{addHistorySnapshot:i}=Ht(),a=(h,p)=>{t.updateElement({id:h,props:p}),i()},s=["12px","14px","16px","18px","20px","22px","24px","28px","32px","36px","40px","44px","48px","54px","60px","66px","72px","76px","80px","88px","96px","104px","112px","120px"],l=ve("#fff"),c=ve({width:0,color:"#fff",style:"solid"}),u=h=>{for(const p of o.value){if((p.type==="text"||p.type==="shape"||p.type==="chart")&&a(p.id,{fill:h}),p.type==="table"){const v=JSON.parse(JSON.stringify(p.data));for(let m=0;m{for(const p of o.value){if(p.type==="text"||p.type==="image"||p.type==="shape"||p.type==="table"||p.type==="chart"){const m={outline:{...p.outline||{width:2,color:"#000",style:"solid"},...h}};a(p.id,m)}p.type==="line"&&a(p.id,h)}c.value={...c.value,...h}},d=(h,p)=>{var v;for(const m of o.value){if((m.type==="text"||m.type==="shape"&&((v=m.text)!=null&&v.content))&&ao.emit(Hr.RICH_TEXT_COMMAND,{target:m.id,action:{command:h,value:p}}),m.type==="table"){const x=JSON.parse(JSON.stringify(m.data));for(let y=0;y{const v=Se("IconFontSize"),m=Se("IconAddText"),x=Se("IconText"),y=Se("IconHighLight"),R=Se("IconAlignTextLeft"),A=Se("IconAlignTextCenter"),b=Se("IconAlignTextRight"),M=Se("IconAlignTextBoth"),T=bn("tooltip");return U(),ee("div",NRe,[V("div",PRe,[CRe,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:l.value,"onUpdate:modelValue":p[0]||(p[0]=w=>u(w))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:l.value},null,8,["color"])]),_:1})]),O(Ft),V("div",IRe,[FRe,O(Hn,{style:{width:"60%"},value:c.value.style||"","onUpdate:value":p[1]||(p[1]=w=>f({style:w})),options:[{label:"实线边框",value:"solid"},{label:"虚线边框",value:"dashed"}]},null,8,["value"])]),V("div",_Re,[ERe,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:c.value.color,"onUpdate:modelValue":p[2]||(p[2]=w=>f({color:w}))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:c.value.color||"#000"},null,8,["color"])]),_:1})]),V("div",XRe,[WRe,O(ei,{value:c.value.width||0,"onUpdate:value":p[3]||(p[3]=w=>f({width:w})),style:{width:"60%"}},null,8,["value"])]),O(Ft),O(Z5,{class:"row"},{default:oe(()=>[O(Hn,{style:{width:"60%"},value:H(n).fontname,search:"",searchLabel:"搜索字体","onUpdate:value":p[4]||(p[4]=w=>d("fontname",w)),options:[...H(r),...H(Op)]},{icon:oe(()=>[O(v)]),_:1},8,["value","options"]),O(Hn,{style:{width:"40%"},value:H(n).fontsize,search:"",searchLabel:"搜索字号","onUpdate:value":p[5]||(p[5]=w=>d("fontsize",w)),options:s.map(w=>({label:w,value:w}))},{icon:oe(()=>[O(m)]),_:1},8,["value","options"])]),_:1}),O(Ln,{class:"row",passive:""},{default:oe(()=>[O(Pt,{trigger:"click",style:{width:"30%"}},{content:oe(()=>[O(_n,{modelValue:H(n).color,"onUpdate:modelValue":p[6]||(p[6]=w=>d("color",w))},null,8,["modelValue"])]),default:oe(()=>[He((U(),ke(Yd,{first:"",color:H(n).color},{default:oe(()=>[O(x)]),_:1},8,["color"])),[[T,"文字颜色"]])]),_:1}),O(Pt,{trigger:"click",style:{width:"30%"}},{content:oe(()=>[O(_n,{modelValue:H(n).backcolor,"onUpdate:modelValue":p[7]||(p[7]=w=>d("backcolor",w))},null,8,["modelValue"])]),default:oe(()=>[He((U(),ke(Yd,{color:H(n).backcolor},{default:oe(()=>[O(y)]),_:1},8,["color"])),[[T,"文字高亮"]])]),_:1}),He((U(),ke(je,{class:"font-size-btn",style:{width:"20%"},onClick:p[8]||(p[8]=w=>d("fontsize-add","2"))},{default:oe(()=>[O(v),Ve("+")]),_:1})),[[T,"增大字号"]]),He((U(),ke(je,{last:"",class:"font-size-btn",style:{width:"20%"},onClick:p[9]||(p[9]=w=>d("fontsize-reduce","2"))},{default:oe(()=>[O(v),Ve("-")]),_:1})),[[T,"减小字号"]])]),_:1}),O(Ms,{class:"row","button-style":"solid",value:H(n).align,"onUpdate:value":p[10]||(p[10]=w=>d("align",w))},{default:oe(()=>[He((U(),ke(In,{value:"left",style:{flex:"1"}},{default:oe(()=>[O(R)]),_:1})),[[T,"左对齐"]]),He((U(),ke(In,{value:"center",style:{flex:"1"}},{default:oe(()=>[O(A)]),_:1})),[[T,"居中"]]),He((U(),ke(In,{value:"right",style:{flex:"1"}},{default:oe(()=>[O(b)]),_:1})),[[T,"右对齐"]]),He((U(),ke(In,{value:"justify",style:{flex:"1"}},{default:oe(()=>[O(M)]),_:1})),[[T,"两端对齐"]])]),_:1},8,["value"])])}}}),URe=Ue(VRe,[["__scopeId","data-v-415f8183"]]),YRe={class:"element-style-panel"},QRe=Ee({__name:"index",setup(e){const t={[Tt.TEXT]:Vme,[Tt.IMAGE]:A2e,[Tt.SHAPE]:X2e,[Tt.LINE]:$2e,[Tt.CHART]:EAe,[Tt.TABLE]:eRe,[Tt.LATEX]:lRe,[Tt.VIDEO]:ARe,[Tt.AUDIO]:kRe},{activeElementIdList:n,activeElementList:r,handleElement:o,activeGroupElementId:i}=Xe(ft()),a=Me(()=>{if(n.value.length>1){if(!i.value)return URe;const s=r.value.find(l=>l.id===i.value);return s&&t[s.type]||null}return o.value&&t[o.value.type]||null});return(s,l)=>(U(),ee("div",YRe,[(U(),ke(ws(a.value)))]))}}),C2=e=>(zt("data-v-eba29c8f"),e=e(),Jt(),e),ZRe={class:"element-positopn-panel"},BRe=C2(()=>V("div",{class:"title"},"层级:",-1)),DRe=C2(()=>V("div",{class:"title"},"对齐:",-1)),KRe={class:"row"},HRe=C2(()=>V("div",{style:{width:"10%"}},null,-1)),GRe={key:0,class:"row"},zRe={key:1,style:{width:"10%"}},JRe={class:"row"},$Re=C2(()=>V("div",{style:{width:"7%"}},null,-1)),jRe=Ee({__name:"ElementPositionPanel",setup(e){const t=st(),{handleElement:n,handleElementId:r}=Xe(ft()),o=ve(0),i=ve(0),a=ve(0),s=ve(0),l=ve(0),c=ve(!1),u=Me(()=>n.value&&QI[n.value.type]||20),f=Me(()=>{var w;return((w=n.value)==null?void 0:w.type)==="text"&&!n.value.vertical}),d=Me(()=>{var w;return((w=n.value)==null?void 0:w.type)==="text"&&n.value.vertical});wt(n,()=>{n.value&&(o.value=On.round(n.value.left,1),i.value=On.round(n.value.top,1),c.value="fixedRatio"in n.value&&!!n.value.fixedRatio,n.value.type!=="line"&&(a.value=On.round(n.value.width,1),s.value=On.round(n.value.height,1),l.value="rotate"in n.value&&n.value.rotate!==void 0?On.round(n.value.rotate,1):0))},{deep:!0,immediate:!0});const{orderElement:h}=_p(),{alignElementToCanvas:p}=v2(),{addHistorySnapshot:v}=Ht(),m=w=>{const L={left:w};t.updateElement({id:r.value,props:L}),v()},x=w=>{const L={top:w};t.updateElement({id:r.value,props:L}),v()},y=(w,L)=>{if(n.value&&n.value.type==="shape"&&"pathFormula"in n.value&&n.value.pathFormula){const k=zu[n.value.pathFormula];let E="";return"editable"in k&&k.editable?E=k.formula(w,L,n.value.keypoints):E=k.formula(w,L),{viewBox:[w,L],path:E}}return null},R=w=>{if(!n.value||n.value.type==="line"||d.value)return;let L=s.value;if(c.value){const P=a.value/s.value;L=w/P{if(!n.value||n.value.type==="line"||n.value.type==="table"||f.value)return;let L=a.value;if(c.value){const P=a.value/s.value;L=w*P{const L={rotate:w};t.updateElement({id:r.value,props:L}),v()},M=w=>{const L={fixedRatio:w};t.updateElement({id:r.value,props:L}),v()},T=w=>{let L=Math.floor(l.value/45)*45;w==="+"?L=L+45:w==="-"&&(L=L-45),L<-180&&(L=-180),L>180&&(L=180);const k={rotate:L};t.updateElement({id:r.value,props:k}),v()};return(w,L)=>{const k=Se("IconSendToBack"),E=Se("IconBringToFrontOne"),P=Se("IconBringToFront"),W=Se("IconSentToBack"),N=Se("IconAlignLeft"),_=Se("IconAlignVertically"),C=Se("IconAlignRight"),X=Se("IconAlignTop"),Y=Se("IconAlignHorizontally"),$=Se("IconAlignBottom"),le=Se("IconLock"),Q=Se("IconUnlock"),K=Se("IconRotate"),B=bn("tooltip");return U(),ee("div",ZRe,[BRe,O(Ln,{class:"row"},{default:oe(()=>[O(je,{style:{flex:"1"},onClick:L[0]||(L[0]=D=>H(h)(H(n),H(dr).TOP))},{default:oe(()=>[O(k,{class:"btn-icon"}),Ve(" 置顶")]),_:1}),O(je,{style:{flex:"1"},onClick:L[1]||(L[1]=D=>H(h)(H(n),H(dr).BOTTOM))},{default:oe(()=>[O(E,{class:"btn-icon"}),Ve(" 置底")]),_:1})]),_:1}),O(Ln,{class:"row"},{default:oe(()=>[O(je,{style:{flex:"1"},onClick:L[2]||(L[2]=D=>H(h)(H(n),H(dr).UP))},{default:oe(()=>[O(P,{class:"btn-icon"}),Ve(" 上移")]),_:1}),O(je,{style:{flex:"1"},onClick:L[3]||(L[3]=D=>H(h)(H(n),H(dr).DOWN))},{default:oe(()=>[O(W,{class:"btn-icon"}),Ve(" 下移")]),_:1})]),_:1}),O(Ft),DRe,O(Ln,{class:"row"},{default:oe(()=>[He((U(),ke(je,{style:{flex:"1"},onClick:L[4]||(L[4]=D=>H(p)(H(nn).LEFT))},{default:oe(()=>[O(N)]),_:1})),[[B,"左对齐"]]),He((U(),ke(je,{style:{flex:"1"},onClick:L[5]||(L[5]=D=>H(p)(H(nn).HORIZONTAL))},{default:oe(()=>[O(_)]),_:1})),[[B,"水平居中"]]),He((U(),ke(je,{style:{flex:"1"},onClick:L[6]||(L[6]=D=>H(p)(H(nn).RIGHT))},{default:oe(()=>[O(C)]),_:1})),[[B,"右对齐"]])]),_:1}),O(Ln,{class:"row"},{default:oe(()=>[He((U(),ke(je,{style:{flex:"1"},onClick:L[7]||(L[7]=D=>H(p)(H(nn).TOP))},{default:oe(()=>[O(X)]),_:1})),[[B,"上对齐"]]),He((U(),ke(je,{style:{flex:"1"},onClick:L[8]||(L[8]=D=>H(p)(H(nn).VERTICAL))},{default:oe(()=>[O(Y)]),_:1})),[[B,"垂直居中"]]),He((U(),ke(je,{style:{flex:"1"},onClick:L[9]||(L[9]=D=>H(p)(H(nn).BOTTOM))},{default:oe(()=>[O($)]),_:1})),[[B,"下对齐"]])]),_:1}),O(Ft),V("div",KRe,[O(ei,{step:5,value:o.value,"onUpdate:value":L[10]||(L[10]=D=>m(D)),style:{width:"45%"}},{prefix:oe(()=>[Ve(" 水平: ")]),_:1},8,["value"]),HRe,O(ei,{step:5,value:i.value,"onUpdate:value":L[11]||(L[11]=D=>x(D)),style:{width:"45%"}},{prefix:oe(()=>[Ve(" 垂直: ")]),_:1},8,["value"])]),H(n).type!=="line"?(U(),ee("div",GRe,[O(ei,{min:u.value,max:1500,step:5,disabled:d.value,value:a.value,"onUpdate:value":L[12]||(L[12]=D=>R(D)),style:{width:"45%"}},{prefix:oe(()=>[Ve(" 宽度: ")]),_:1},8,["min","disabled","value"]),["image","shape","audio"].includes(H(n).type)?(U(),ee(We,{key:0},[c.value?He((U(),ke(le,{key:0,style:{width:"10%"},class:"icon-btn active",onClick:L[13]||(L[13]=D=>M(!1))},null,512)),[[B,"解除宽高比锁定"]]):He((U(),ke(Q,{key:1,style:{width:"10%"},class:"icon-btn",onClick:L[14]||(L[14]=D=>M(!0))},null,512)),[[B,"宽高比锁定"]])],64)):(U(),ee("div",zRe)),O(ei,{min:u.value,max:800,step:5,disabled:f.value||H(n).type==="table",value:s.value,"onUpdate:value":L[15]||(L[15]=D=>A(D)),style:{width:"45%"}},{prefix:oe(()=>[Ve(" 高度: ")]),_:1},8,["min","disabled","value"])])):Qe("",!0),["line","video","audio"].includes(H(n).type)?Qe("",!0):(U(),ee(We,{key:1},[O(Ft),V("div",JRe,[O(ei,{min:-180,max:180,step:5,value:l.value,"onUpdate:value":L[16]||(L[16]=D=>b(D)),style:{width:"45%"}},{prefix:oe(()=>[Ve(" 旋转: ")]),_:1},8,["value"]),$Re,V("div",{class:"text-btn",onClick:L[17]||(L[17]=D=>T("-")),style:{width:"24%"}},[O(K),Ve(" -45°")]),V("div",{class:"text-btn",onClick:L[18]||(L[18]=D=>T("+")),style:{width:"24%"}},[O(K,{style:{transform:"rotateY(180deg)"}}),Ve(" +45°")])])],64))])}}}),qRe=Ue(jRe,[["__scopeId","data-v-eba29c8f"]]),p4=1e3,eye="click",Oi="animate__",mk=[{type:"bounce",name:"弹跳",children:[{name:"弹入",value:"bounceIn"},{name:"向右弹入",value:"bounceInLeft"},{name:"向左弹入",value:"bounceInRight"},{name:"向上弹入",value:"bounceInUp"},{name:"向下弹入",value:"bounceInDown"}]},{type:"fade",name:"浮现",children:[{name:"浮入",value:"fadeIn"},{name:"向下浮入",value:"fadeInDown"},{name:"向下长距浮入",value:"fadeInDownBig"},{name:"向右浮入",value:"fadeInLeft"},{name:"向右长距浮入",value:"fadeInLeftBig"},{name:"向左浮入",value:"fadeInRight"},{name:"向左长距浮入",value:"fadeInRightBig"},{name:"向上浮入",value:"fadeInUp"},{name:"向上长距浮入",value:"fadeInUpBig"},{name:"从左上浮入",value:"fadeInTopLeft"},{name:"从右上浮入",value:"fadeInTopRight"},{name:"从左下浮入",value:"fadeInBottomLeft"},{name:"从右下浮入",value:"fadeInBottomRight"}]},{type:"rotate",name:"旋转",children:[{name:"旋转进入",value:"rotateIn"},{name:"绕左下进入",value:"rotateInDownLeft"},{name:"绕右下进入",value:"rotateInDownRight"},{name:"绕左上进入",value:"rotateInUpLeft"},{name:"绕右上进入",value:"rotateInUpRight"}]},{type:"zoom",name:"缩放",children:[{name:"放大进入",value:"zoomIn"},{name:"向下放大进入",value:"zoomInDown"},{name:"从左放大进入",value:"zoomInLeft"},{name:"从右放大进入",value:"zoomInRight"},{name:"向上放大进入",value:"zoomInUp"}]},{type:"slide",name:"滑入",children:[{name:"向下滑入",value:"slideInDown"},{name:"从右滑入",value:"slideInLeft"},{name:"从左滑入",value:"slideInRight"},{name:"向上滑入",value:"slideInUp"}]},{type:"flip",name:"翻转",children:[{name:"X轴翻转进入",value:"flipInX"},{name:"Y轴翻转进入",value:"flipInY"}]},{type:"back",name:"放大滑入",children:[{name:"向下放大滑入",value:"backInDown"},{name:"从左放大滑入",value:"backInLeft"},{name:"从右放大滑入",value:"backInRight"},{name:"向上放大滑入",value:"backInUp"}]},{type:"lightSpeed",name:"飞入",children:[{name:"从右飞入",value:"lightSpeedInRight"},{name:"从左飞入",value:"lightSpeedInLeft"}]}],Ak=[{type:"bounce",name:"弹跳",children:[{name:"弹出",value:"bounceOut"},{name:"向左弹出",value:"bounceOutLeft"},{name:"向右弹出",value:"bounceOutRight"},{name:"向上弹出",value:"bounceOutUp"},{name:"向下弹出",value:"bounceOutDown"}]},{type:"fade",name:"浮现",children:[{name:"浮出",value:"fadeOut"},{name:"向下浮出",value:"fadeOutDown"},{name:"向下长距浮出",value:"fadeOutDownBig"},{name:"向左浮出",value:"fadeOutLeft"},{name:"向左长距浮出",value:"fadeOutLeftBig"},{name:"向右浮出",value:"fadeOutRight"},{name:"向右长距浮出",value:"fadeOutRightBig"},{name:"向上浮出",value:"fadeOutUp"},{name:"向上长距浮出",value:"fadeOutUpBig"},{name:"从左上浮出",value:"fadeOutTopLeft"},{name:"从右上浮出",value:"fadeOutTopRight"},{name:"从左下浮出",value:"fadeOutBottomLeft"},{name:"从右下浮出",value:"fadeOutBottomRight"}]},{type:"rotate",name:"旋转",children:[{name:"旋转退出",value:"rotateOut"},{name:"绕左下退出",value:"rotateOutDownLeft"},{name:"绕右下退出",value:"rotateOutDownRight"},{name:"绕左上退出",value:"rotateOutUpLeft"},{name:"绕右上退出",value:"rotateOutUpRight"}]},{type:"zoom",name:"缩放",children:[{name:"缩小退出",value:"zoomOut"},{name:"向下缩小退出",value:"zoomOutDown"},{name:"从左缩小退出",value:"zoomOutLeft"},{name:"从右缩小退出",value:"zoomOutRight"},{name:"向上缩小退出",value:"zoomOutUp"}]},{type:"slide",name:"滑出",children:[{name:"向下滑出",value:"slideOutDown"},{name:"从左滑出",value:"slideOutLeft"},{name:"从右滑出",value:"slideOutRight"},{name:"向上滑出",value:"slideOutUp"}]},{type:"flip",name:"翻转",children:[{name:"X轴翻转退出",value:"flipOutX"},{name:"Y轴翻转退出",value:"flipOutY"}]},{type:"back",name:"缩小滑出",children:[{name:"向下缩小滑出",value:"backOutDown"},{name:"从左缩小滑出",value:"backOutLeft"},{name:"从右缩小滑出",value:"backOutRight"},{name:"向上缩小滑出",value:"backOutUp"}]},{type:"lightSpeed",name:"飞出",children:[{name:"从右飞出",value:"lightSpeedOutRight"},{name:"从左飞出",value:"lightSpeedOutLeft"}]}],Rk=[{type:"shake",name:"晃动",children:[{name:"左右摇晃",value:"shakeX"},{name:"上下摇晃",value:"shakeY"},{name:"摇头",value:"headShake"},{name:"摆动",value:"swing"},{name:"晃动",value:"wobble"},{name:"惊恐",value:"tada"},{name:"果冻",value:"jello"}]},{type:"other",name:"其他",children:[{name:"弹跳",value:"bounce"},{name:"闪烁",value:"flash"},{name:"脉搏",value:"pulse"},{name:"橡皮筋",value:"rubberBand"},{name:"心跳(快)",value:"heartBeat"}]}],rE=[{label:"无",value:"no"},{label:"随机",value:"random"},{label:"左右推移",value:"slideX"},{label:"上下推移",value:"slideY"},{label:"左右推移(3D)",value:"slideX3D"},{label:"上下推移(3D)",value:"slideY3D"},{label:"淡入淡出",value:"fade"},{label:"旋转",value:"rotate"},{label:"上下展开",value:"scaleY"},{label:"左右展开",value:"scaleX"},{label:"放大",value:"scale"},{label:"缩小",value:"scaleReverse"}],oE=e=>(zt("data-v-d71f68dd"),e=e(),Jt(),e),tye={class:"element-animation-panel"},nye={key:0,class:"element-animation"},rye={class:"type-title"},oye={class:"pool-item-wrapper"},iye=["onMouseenter","onClick"],aye={key:0,class:"mask"},sye={key:1,class:"tip"},lye={class:"sequence-content"},cye={class:"index"},uye={class:"text"},fye={class:"handler"},dye={key:0,class:"configs"},hye={class:"config-item"},pye=oE(()=>V("div",{style:{width:"35%"}},"持续时长:",-1)),vye={class:"config-item"},gye=oE(()=>V("div",{style:{width:"35%"}},"触发方式:",-1)),mye={class:"config-item"},Aye=Ee({__name:"ElementAnimationPanel",setup(e){const t={};for(const N of mk)for(const _ of N.children)t[_.value]=_.name;for(const N of Ak)for(const _ of N.children)t[_.value]=_.name;for(const N of Rk)for(const _ of N.children)t[_.value]=_.name;const n=["in","out","attention"],r=st(),{handleElement:o,handleElementId:i}=Xe(ft()),{currentSlide:a,formatedAnimations:s,currentSlideAnimations:l}=Xe(r),c=[{key:"in",label:"入场",color:"#68a490"},{key:"out",label:"退场",color:"#d86344"},{key:"attention",label:"强调",color:"#e8b76a"}],u=ve("in"),f=ve(!1);wt(()=>i.value,()=>{h.value=!1});const d=ve(""),h=ve(!1),{addHistorySnapshot:p}=Ht(),v=Me(()=>{const N=[];for(let _=0;_K.id===Y.elId);if(!$)continue;const le=rh[$.type],Q=t[Y.effect];N.push({...Y,index:X===0?_+1:"",elType:le,animationEffect:Q})}}return N}),m=Me(()=>l.value.filter(C=>C.elId===i.value)||[]),x=N=>{const _=l.value.filter(C=>C.id!==N);r.updateSlide({animations:_}),p()},y=N=>{const{newIndex:_,oldIndex:C}=N;if(_===void 0||C===void 0||_===C)return;const X=JSON.parse(JSON.stringify(l.value)),Y=X[C];X.splice(C,1),X.splice(_,0,Y),r.updateSlide({animations:X}),p()},R=(N,_,C)=>{const X=document.querySelector(`#editable-element-${N} [class^=editable-element-]`);if(X){const Y=`${Oi}${_}`;document.documentElement.style.setProperty("--animate-duration",`${C}ms`),X.classList.add(`${Oi}animated`,Y);const $=()=>{document.documentElement.style.removeProperty("--animate-duration"),X.classList.remove(`${Oi}animated`,Y)};X.addEventListener("animationend",$,{once:!0})}},A=async()=>{f.value=!f.value;for(let N=0;NsetTimeout(C,_.duration+100)),R(_.elId,_.effect,_.duration),N>=v.value.length-1&&(f.value=!1)}},b=(N,_)=>{if(_<100||_>5e3)return;const C=l.value.map(X=>X.id===N?{...X,duration:_}:X);r.updateSlide({animations:C}),p()},M=(N,_)=>{const C=l.value.map(X=>X.id===N?{...X,trigger:_}:X);r.updateSlide({animations:C}),p()},T=(N,_)=>{const C=l.value.map($=>$.id===w.value?{...$,type:N,effect:_}:$);r.updateSlide({animations:C}),h.value=!1,p();const X=l.value.find($=>$.elId===i.value),Y=(X==null?void 0:X.duration)||p4;setTimeout(()=>{R(i.value,_,Y)},0)},w=ve(""),L=(N,_)=>{if(w.value){T(N,_);return}const C=JSON.parse(JSON.stringify(l.value));C.push({id:ln(10),elId:i.value,type:N,effect:_,duration:p4,trigger:eye}),r.updateSlide({animations:C}),h.value=!1,p(),setTimeout(()=>{R(i.value,_,p4)},0)},k=ve(!1),E=N=>{N?setTimeout(()=>k.value=!0,600):k.value=!1},P=N=>{h.value=!0,w.value=N,E(!0)},W={in:mk,out:Ak,attention:Rk};return(N,_)=>{const C=Se("IconEffects"),X=Se("IconClick"),Y=Se("IconPlayOne"),$=Se("IconCloseSmall"),le=bn("tooltip");return U(),ee("div",tye,[H(o)?(U(),ee("div",nye,[O(Pt,{trigger:"click",value:h.value,"onUpdate:value":[_[3]||(_[3]=Q=>h.value=Q),_[4]||(_[4]=Q=>E(Q))],style:{width:"100%"}},{content:oe(()=>[O(_a,{tabs:c,value:u.value,"onUpdate:value":_[0]||(_[0]=Q=>u.value=Q),tabsStyle:{marginBottom:"20px"},tabStyle:{width:"33.333%"},spaceAround:""},null,8,["value"]),(U(),ee(We,null,nt(n,Q=>(U(),ee(We,null,[u.value===Q?(U(),ee("div",{class:Je(["animation-pool",Q]),key:Q},[(U(!0),ee(We,null,nt(W[Q],K=>(U(),ee("div",{class:"pool-type",key:K.name},[V("div",rye,vt(K.name)+":",1),V("div",oye,[(U(!0),ee(We,null,nt(K.children,B=>(U(),ee("div",{class:"pool-item",key:B.name,onMouseenter:D=>d.value=B.value,onMouseleave:_[1]||(_[1]=D=>d.value=""),onClick:D=>L(Q,B.value)},[V("div",{class:Je(["animation-box",[`${H(Oi)}animated`,`${H(Oi)}fast`,d.value===B.value&&`${H(Oi)}${B.value}`]])},vt(B.name),3)],40,iye))),128))])]))),128)),k.value?Qe("",!0):(U(),ee("div",aye))],2)):Qe("",!0)],64))),64))]),default:oe(()=>[O(je,{class:"element-animation-btn",onClick:_[2]||(_[2]=Q=>w.value="")},{default:oe(()=>[O(C,{style:{"margin-right":"5px"}}),Ve(" 添加动画 ")]),_:1})]),_:1},8,["value"])])):(U(),ee("div",sye,[O(X,{style:{"margin-right":"5px"}}),Ve(" 选中画布中的元素添加动画")])),O(Ft),O(H(X5),{class:"animation-sequence",modelValue:v.value,animation:200,scroll:!0,scrollSensitivity:50,handle:".sequence-content",itemKey:"id",onEnd:y},{item:oe(({element:Q})=>{var K,B;return[V("div",{class:Je(["sequence-item",[Q.type,{active:((K=H(o))==null?void 0:K.id)===Q.elId}]])},[V("div",lye,[V("div",cye,vt(Q.index),1),V("div",uye,"【"+vt(Q.elType)+"】"+vt(Q.animationEffect),1),V("div",fye,[He(O(Y,{class:"handler-btn",onClick:D=>R(Q.elId,Q.effect,Q.duration)},null,8,["onClick"]),[[le,"预览"]]),He(O($,{class:"handler-btn",onClick:D=>x(Q.id)},null,8,["onClick"]),[[le,"删除"]])])]),((B=m.value[0])==null?void 0:B.elId)===Q.elId?(U(),ee("div",dye,[O(Ft,{margin:16}),V("div",hye,[pye,O(ei,{min:500,max:3e3,step:500,value:Q.duration,"onUpdate:value":D=>b(Q.id,D),style:{width:"65%"}},null,8,["value","onUpdate:value"])]),V("div",vye,[gye,O(Hn,{value:Q.trigger,"onUpdate:value":D=>M(Q.id,D),style:{width:"65%"},options:[{label:"主动触发",value:"click"},{label:"与上一动画同时",value:"meantime"},{label:"上一动画之后",value:"auto"}]},null,8,["value","onUpdate:value"])]),V("div",mye,[O(je,{style:{width:"100%"},onClick:D=>P(Q.id)},{default:oe(()=>[Ve("更换动画")]),_:2},1032,["onClick"])])])):Qe("",!0)],2)]}),_:1},8,["modelValue"]),v.value.length>=2?(U(),ee(We,{key:2},[O(Ft),O(je,{onClick:_[5]||(_[5]=Q=>A())},{default:oe(()=>[Ve(vt(f.value?"停止预览":"预览全部"),1)]),_:1})],64)):Qe("",!0)])}}}),Rye=Ue(Aye,[["__scopeId","data-v-d71f68dd"]]),yye=[{background:"#ffffff",fontColor:"#333333",fontname:"Microsoft Yahei",colors:["#5b9bd5","#ed7d31","#a5a5a5","#ffc000","#4472c4","#70ad47"]},{background:"#ffffff",fontColor:"#333333",fontname:"Microsoft Yahei",colors:["#83992a","#3c9670","#44709d","#a23b32","#d87728","#deb340"]},{background:"#ffffff",fontColor:"#333333",fontname:"Microsoft Yahei",colors:["#e48312","#bd582c","#865640","#9b8357","#c2bc80","#94a088"]},{background:"#ffffff",fontColor:"#333333",fontname:"Microsoft Yahei",colors:["#bdc8df","#003fa9","#f5ba00","#ff7567","#7676d9","#923ffc"]},{background:"#ffffff",fontColor:"#333333",fontname:"Microsoft Yahei",colors:["#90c225","#54a121","#e6b91e","#e86618","#c42f19","#918756"]},{background:"#ffffff",fontColor:"#333333",fontname:"Microsoft Yahei",colors:["#1cade4","#2683c6","#27ced7","#42ba97","#3e8853","#62a39f"]},{background:"#e9efd6",fontColor:"#333333",fontname:"Microsoft Yahei",colors:["#a5300f","#de7e18","#9f8351","#728653","#92aa4c","#6aac91"]},{background:"#17444e",fontColor:"#ffffff",fontname:"Microsoft Yahei",colors:["#b01513","#ea6312","#e6b729","#6bab90","#55839a","#9e5d9d"]},{background:"#36234d",fontColor:"#ffffff",fontname:"Microsoft Yahei",colors:["#b31166","#e33d6f","#e45f3c","#e9943a","#9b6bf2","#d63cd0"]},{background:"#247fad",fontColor:"#ffffff",fontname:"Microsoft Yahei",colors:["#052f61","#a50e82","#14967c","#6a9e1f","#e87d37","#c62324"]},{background:"#103f55",fontColor:"#ffffff",fontname:"Microsoft Yahei",colors:["#40aebd","#97e8d5","#a1cf49","#628f3e","#f2df3a","#fcb01c"]},{background:"#242367",fontColor:"#ffffff",fontname:"Microsoft Yahei",colors:["#ac3ec1","#477bd1","#46b298","#90ba4c","#dd9d31","#e25345"]},{background:"#e4b75e",fontColor:"#333333",fontname:"Microsoft Yahei",colors:["#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529"]},{background:"#333333",fontColor:"#ffffff",fontname:"Microsoft Yahei",colors:["#bdc8df","#003fa9","#f5ba00","#ff7567","#7676d9","#923ffc"]}],iE=()=>{const e=st(),{slides:t,currentSlide:n,theme:r}=Xe(e),{addHistorySnapshot:o}=Ht(),i=d=>{var M,T,w,L,k,E,P,W,N;const h=Array.isArray(d)?d:[d],p=[],v=[],m=[],x=[];for(const _ of h){if(_.background)if(_.background.type==="solid"&&_.background.color)p.push({area:1,value:_.background.color});else if(_.background.type==="gradient"&&_.background.gradient){const C=_.background.gradient.colors.length;p.push(..._.background.gradient.colors.map(X=>({area:1/C,value:X.color})))}else p.push({area:1,value:r.value.backgroundColor});for(const C of _.elements){const X=C.width;let Y=0;if(C.type==="line"){const[le,Q]=C.start,[K,B]=C.end;Y=Math.sqrt(Math.pow(Math.abs(le-K),2)+Math.pow(Math.abs(Q-B),2))}else Y=C.height;const $=X*Y;if(C.type==="shape"||C.type==="text"){if(C.fill&&v.push({area:$,value:C.fill}),C.type==="shape"&&C.gradient){const ae=C.gradient.colors.length;v.push(...C.gradient.colors.map(se=>({area:1/ae*$,value:se.color})))}const le=(C.type==="shape"?(M=C.text)==null?void 0:M.content:C.content)||"";if(!le)continue;const Q=le.replace(/<[^>]+>/g,"").replace(/\s*/g,""),K=le.match(/<[^>]+color: .+?<\/.+?>/g),B=le.match(/<[^>]+font-family: .+?<\/.+?>/g);let D=1,G=1;if(K)for(const ae of K){const se=ae.match(/color: (.+?);/);if(!se)continue;const J=ae.replace(/<[^>]+>/g,"").replace(/\s*/g,""),Re=se[1],fe=J.length/Q.length;D=D-fe,m.push({area:$*fe,value:Re})}if(B)for(const ae of B){const se=ae.match(/font-family: (.+?);/);if(!se)continue;const J=ae.replace(/<[^>]+>/g,"").replace(/\s*/g,""),Re=se[1],fe=J.length/Q.length;G=G-fe,x.push({area:$*fe,value:Re})}if(D){const se=(C.type==="shape"?(T=C.text)==null?void 0:T.defaultColor:C.defaultColor)||r.value.fontColor;m.push({area:$*D,value:se})}if(G){const se=(C.type==="shape"?(w=C.text)==null?void 0:w.defaultFontName:C.defaultFontName)||r.value.fontName;x.push({area:$*G,value:se})}}else if(C.type==="table"){const le=C.data.length*C.data[0].length;let Q=0;for(const K of C.data)for(const B of K)if((L=B.style)!=null&&L.backcolor&&(Q+=1,v.push({area:$/le,value:(k=B.style)==null?void 0:k.backcolor})),B.text){const D=B.text.length>=10?1:B.text.length/10;(E=B.style)!=null&&E.color&&m.push({area:$/le*D,value:(P=B.style)==null?void 0:P.color}),(W=B.style)!=null&&W.fontname&&m.push({area:$/le*D,value:(N=B.style)==null?void 0:N.fontname})}if(C.theme){const K=1-Q/le;v.push({area:$*K,value:C.theme.color})}}else C.type==="chart"?(C.fill&&v.push({area:$*.5,value:C.fill}),v.push({area:$*.5,value:C.themeColor[0]})):C.type==="line"?v.push({area:$,value:C.color}):C.type==="audio"?v.push({area:$,value:C.color}):C.type==="latex"&&m.push({area:$,value:C.color})}}const y={};for(const _ of p){const C=ot(_.value).toRgbString();C!=="rgba(0, 0, 0, 0)"&&(y[C]?y[C]+=_.area:y[C]=_.area)}const R={};for(const _ of v){const C=ot(_.value).toRgbString();C!=="rgba(0, 0, 0, 0)"&&(R[C]?R[C]+=_.area:R[C]=_.area)}const A={};for(const _ of m){const C=ot(_.value).toRgbString();C!=="rgba(0, 0, 0, 0)"&&(A[C]?A[C]+=_.area:A[C]=_.area)}const b={};for(const _ of x)b[_.value]?b[_.value]+=_.area:b[_.value]=_.area;return{backgroundColors:Object.keys(y).sort((_,C)=>y[C]-y[_]),themeColors:Object.keys(R).sort((_,C)=>R[C]-R[_]),fontColors:Object.keys(A).sort((_,C)=>A[C]-A[_]),fontNames:Object.keys(b).sort((_,C)=>b[C]-b[_])}},a=d=>{const h=[];for(const p of d.elements){if(p.type==="shape"&&ot(p.fill).getAlpha()!==0){const v=ot(p.fill).toRgbString();h.includes(v)||h.push(v)}if(p.type==="text"&&p.fill&&ot(p.fill).getAlpha()!==0){const v=ot(p.fill).toRgbString();h.includes(v)||h.push(v)}if(p.type==="table"&&p.theme&&ot(p.theme.color).getAlpha()!==0){const v=ot(p.theme.color).toRgbString();h.includes(v)||h.push(v)}if(p.type==="chart"&&p.fill&&ot(p.fill).getAlpha()!==0){const v=ot(p.fill).toRgbString();h.includes(v)||h.push(v)}if(p.type==="line"&&ot(p.color).getAlpha()!==0){const v=ot(p.color).toRgbString();h.includes(v)||h.push(v)}if(p.type==="audio"&&ot(p.color).getAlpha()!==0){const v=ot(p.color).toRgbString();h.includes(v)||h.push(v)}}return h},s=(d,h)=>{const p=a(d),v={};if(p.length>h.length){const x=ot(h[0]).analogous(p.length-h.length+10).map(y=>y.toHexString()).slice(1);h.push(...x)}for(let m=0;m{const p=s(d,h.colors);(!d.background||d.background.type!=="image")&&(d.background={type:"solid",color:h.background});for(const v of d.elements){if(v.type==="shape"&&(v.fill=p[ot(v.fill).toRgbString()]||v.fill,v.gradient&&delete v.gradient),v.type==="text"&&(v.fill&&(v.fill=p[ot(v.fill).toRgbString()]||v.fill),v.defaultColor=h.fontColor,v.defaultFontName=h.fontname),v.type==="table"){v.theme&&(v.theme.color=p[ot(v.theme.color).toRgbString()]||v.theme.color);for(const m of v.data)for(const x of m)x.style&&(x.style.color=h.fontColor,x.style.fontname=h.fontname)}v.type==="chart"&&(v.themeColor=[p[ot(v.themeColor[0]).toRgbString()]],v.gridColor=h.fontColor),v.type==="line"&&(v.color=p[ot(v.color).toRgbString()]||v.color),v.type==="audio"&&(v.color=p[ot(v.color).toRgbString()]||v.color),v.type==="latex"&&(v.color=h.fontColor)}};return{getSlidesThemeStyles:i,applyPresetThemeToSingleSlide:d=>{const h=JSON.parse(JSON.stringify(n.value));l(h,d),e.updateSlide({background:h.background,elements:h.elements}),o()},applyPresetThemeToAllSlides:d=>{const h=JSON.parse(JSON.stringify(t.value));for(const p of h)l(p,d);e.setTheme({backgroundColor:d.background,themeColor:d.colors[0],fontColor:d.fontColor,fontName:d.fontname}),e.setSlides(h),o()},applyThemeToAllSlides:(d=!1)=>{const h=JSON.parse(JSON.stringify(t.value)),{themeColor:p,backgroundColor:v,fontColor:m,fontName:x,outline:y,shadow:R}=r.value;for(const A of h){(!A.background||A.background.type!=="image")&&(A.background={type:"solid",color:v});for(const b of A.elements)if(d&&("outline"in b&&b.outline&&(b.outline=y),"shadow"in b&&b.shadow&&(b.shadow=R)),b.type==="shape")b.fill=p;else if(b.type==="line")b.color=p;else if(b.type==="text")b.defaultColor=m,b.defaultFontName=x,b.fill&&(b.fill=p);else if(b.type==="table"){b.theme&&(b.theme.color=p);for(const M of b.data)for(const T of M)T.style&&(T.style.color=m,T.style.fontname=x)}else b.type==="chart"?(b.themeColor=[p],b.gridColor=m):b.type==="latex"?b.color=m:b.type==="audio"&&(b.color=p)}e.setSlides(h),o()}}},I2=e=>(zt("data-v-724633c2"),e=e(),Jt(),e),bye={class:"theme-styles-extract"},xye={class:"content"},Sye={class:"config-item"},Mye=I2(()=>V("div",{class:"label"},"字体:",-1)),wye={class:"values"},Lye={class:"handler"},Oye=["onClick"],Tye=["onClick"],kye={class:"config-item"},Nye=I2(()=>V("div",{class:"label"},"文字颜色:",-1)),Pye={class:"values"},Cye={class:"handler"},Iye=["onClick"],Fye=["onClick"],_ye={class:"config-item"},Eye=I2(()=>V("div",{class:"label"},"背景颜色:",-1)),Xye={class:"values"},Wye={class:"handler"},Vye=["onClick"],Uye=["onClick"],Yye={class:"config-item"},Qye=I2(()=>V("div",{class:"label"},"主题色:",-1)),Zye={class:"values"},Bye={class:"handler"},Dye=["onClick"],Kye=["onClick"],Hye={class:"btns"},Gye=Ee({__name:"ThemeStylesExtract",emits:["close"],setup(e,{emit:t}){const n=t,r=st(),{slides:o,currentSlide:i}=Xe(r),{getSlidesThemeStyles:a}=iE(),s=[{key:"single",label:"从当前页中提取"},{key:"all",label:"从全部幻灯片提取"}],l=ve("single"),c=ve({});Qt(()=>{const p={};for(const v of J4)p[v.value]=v.label;for(const v of Op)p[v.value]=v.label;c.value=p});const u=ve({backgroundColors:[],themeColors:[],fontColors:[],fontNames:[]}),f=ve({backgroundColor:0,themeColor:0,fontColor:0,fontName:0});wt(l,()=>{l.value==="single"?u.value=a(i.value):u.value=a(o.value)}),Qt(()=>{u.value=a(i.value)});const d=p=>{r.setTheme(p)},h=()=>{r.setTheme({backgroundColor:u.value.backgroundColors[f.value.backgroundColor],themeColor:u.value.themeColors[f.value.themeColor],fontColor:u.value.fontColors[f.value.fontColor],fontName:u.value.fontNames[f.value.fontName]}),n("close")};return(p,v)=>(U(),ee("div",bye,[O(_a,{tabs:s,value:l.value,"onUpdate:value":v[0]||(v[0]=m=>l.value=m),tabsStyle:{marginBottom:"12px"},tabStyle:{padding:"8px 12px"}},null,8,["value"]),V("div",xye,[V("div",Sye,[Mye,V("div",wye,[(U(!0),ee(We,null,nt(u.value.fontNames,(m,x)=>(U(),ee("div",{class:"value-wrap",key:m},[V("div",{class:"value",style:we({fontFamily:m})},vt(c.value[m]||m),5),V("div",Lye,[V("div",{class:Je(["state",{active:f.value.fontName===x}])},"√",2),V("div",{class:"config-btn",onClick:y=>f.value.fontName=x},"选择",8,Oye),V("div",{class:"config-btn",onClick:y=>{d({fontName:m}),f.value.fontName=x}},"配置到主题",8,Tye)])]))),128))])]),V("div",kye,[Nye,V("div",Pye,[(U(!0),ee(We,null,nt(u.value.fontColors,(m,x)=>(U(),ee("div",{class:"value-wrap",key:m},[V("div",{class:"value",style:we({backgroundColor:m})},null,4),V("div",Cye,[V("div",{class:Je(["state",{active:f.value.fontColor===x}])},"√",2),V("div",{class:"config-btn",onClick:y=>f.value.fontColor=x},"选择",8,Iye),V("div",{class:"config-btn",onClick:y=>{d({fontColor:m}),f.value.fontColor=x}},"配置到主题",8,Fye)])]))),128))])]),V("div",_ye,[Eye,V("div",Xye,[(U(!0),ee(We,null,nt(u.value.backgroundColors,(m,x)=>(U(),ee("div",{class:"value-wrap",key:m},[V("div",{class:"value",style:we({backgroundColor:m})},null,4),V("div",Wye,[V("div",{class:Je(["state",{active:f.value.backgroundColor===x}])},"√",2),V("div",{class:"config-btn",onClick:y=>f.value.backgroundColor=x},"选择",8,Vye),V("div",{class:"config-btn",onClick:y=>{d({backgroundColor:m}),f.value.backgroundColor=x}},"配置到主题",8,Uye)])]))),128))])]),V("div",Yye,[Qye,V("div",Zye,[(U(!0),ee(We,null,nt(u.value.themeColors,(m,x)=>(U(),ee("div",{class:"value-wrap",key:m},[V("div",{class:"value",style:we({backgroundColor:m})},null,4),V("div",Bye,[V("div",{class:Je(["state",{active:f.value.themeColor===x}])},"√",2),V("div",{class:"config-btn",onClick:y=>f.value.themeColor=x},"选择",8,Dye),V("div",{class:"config-btn",onClick:y=>{d({themeColor:m}),f.value.themeColor=x}},"配置到主题",8,Kye)])]))),128))])])]),V("div",Hye,[O(je,{class:"btn",type:"primary",onClick:v[1]||(v[1]=m=>h())},{default:oe(()=>[Ve("将选中配置保存为主题")]),_:1})])]))}}),zye=Ue(Gye,[["__scopeId","data-v-724633c2"]]),Ur=e=>(zt("data-v-01b60579"),e=e(),Jt(),e),Jye={class:"slide-design-panel"},$ye=Ur(()=>V("div",{class:"title"},"背景填充",-1)),jye={class:"row"},qye=Ur(()=>V("div",{style:{width:"10px"}},null,-1)),e4e={key:0,class:"background-image-wrapper"},t4e={class:"background-image"},n4e={key:1,class:"background-gradient-wrapper"},r4e={class:"row"},o4e={class:"row"},i4e=Ur(()=>V("div",{style:{width:"40%"}},"当前色块:",-1)),a4e={key:0,class:"row"},s4e=Ur(()=>V("div",{style:{width:"40%"}},"渐变角度:",-1)),l4e={class:"row"},c4e={class:"row"},u4e=Ur(()=>V("div",{style:{width:"40%"}},"画布尺寸:",-1)),f4e={class:"title"},d4e=Ur(()=>V("span",null,"全局主题",-1)),h4e=Ur(()=>V("span",{class:"text"},"更多",-1)),p4e={class:"row"},v4e=Ur(()=>V("div",{style:{width:"40%"}},"字体:",-1)),g4e={class:"row"},m4e=Ur(()=>V("div",{style:{width:"40%"}},"字体颜色:",-1)),A4e={class:"row"},R4e=Ur(()=>V("div",{style:{width:"40%"}},"背景颜色:",-1)),y4e={class:"row"},b4e=Ur(()=>V("div",{style:{width:"40%"}},"主题色:",-1)),x4e={class:"row"},S4e=Ur(()=>V("div",{style:{width:"40%"}},"边框样式:",-1)),M4e={class:"row"},w4e=Ur(()=>V("div",{style:{width:"40%"}},"边框颜色:",-1)),L4e={class:"row"},O4e=Ur(()=>V("div",{style:{width:"40%"}},"边框粗细:",-1)),T4e={class:"row",style:{height:"30px"}},k4e=Ur(()=>V("div",{style:{width:"40%"}},"水平阴影:",-1)),N4e={class:"row",style:{height:"30px"}},P4e=Ur(()=>V("div",{style:{width:"40%"}},"垂直阴影:",-1)),C4e={class:"row",style:{height:"30px"}},I4e=Ur(()=>V("div",{style:{width:"40%"}},"模糊距离:",-1)),F4e={class:"row"},_4e=Ur(()=>V("div",{style:{width:"40%"}},"阴影颜色:",-1)),E4e={class:"row"},X4e={class:"row"},W4e=Ur(()=>V("div",{class:"title"},"预置主题",-1)),V4e={class:"theme-list"},U4e={class:"theme-item-content"},Y4e={class:"colors"},Q4e={class:"btns"},Z4e=Ee({__name:"SlideDesignPanel",setup(e){const t=st(),{availableFonts:n}=Xe(ft()),{slides:r,currentSlide:o,viewportRatio:i,theme:a}=Xe(t),s=ve(!1),l=ve(!1),c=ve(0),u=Me(()=>o.value.background?o.value.background:{type:"solid",value:"#fff"}),{addHistorySnapshot:f}=Ht(),{applyPresetThemeToSingleSlide:d,applyPresetThemeToAllSlides:h,applyThemeToAllSlides:p}=iE(),v=w=>{if(w==="solid"){const L={...u.value,type:"solid",color:u.value.color||"#fff"};t.updateSlide({background:L})}else if(w==="image"){const L={...u.value,type:"image",image:u.value.image||{src:"",size:"cover"}};t.updateSlide({background:L})}else{const L={...u.value,type:"gradient",gradient:u.value.gradient||{type:"linear",colors:[{pos:0,color:"#fff"},{pos:100,color:"#fff"}],rotate:0}};c.value=0,t.updateSlide({background:L})}f()},m=w=>{t.updateSlide({background:{...u.value,...w}}),f()},x=w=>{m({gradient:{...u.value.gradient,...w}})},y=w=>{const L=u.value.gradient.colors.map((k,E)=>E===c.value?{...k,color:w}:k);x({colors:L})},R=w=>{m({image:{...u.value.image,...w}})},A=w=>{const L=w[0];L&&Lc(L).then(k=>R({src:k}))},b=()=>{const w=r.value.map(L=>({...L,background:o.value.background}));t.setSlides(w),f()},M=w=>{t.setTheme(w)},T=w=>{t.setViewportRatio(w)};return(w,L)=>{var W,N,_,C;const k=Se("IconPlus"),E=Se("IconDown"),P=Se("IconRight");return U(),ee(We,null,[V("div",Jye,[$ye,V("div",jye,[O(Hn,{style:{flex:"1"},value:u.value.type,"onUpdate:value":L[0]||(L[0]=X=>v(X)),options:[{label:"纯色填充",value:"solid"},{label:"图片填充",value:"image"},{label:"渐变填充",value:"gradient"}]},null,8,["value"]),qye,u.value.type==="solid"?(U(),ke(Pt,{key:0,trigger:"click",style:{flex:"1"}},{content:oe(()=>[O(_n,{modelValue:u.value.color,"onUpdate:modelValue":L[1]||(L[1]=X=>m({color:X}))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:u.value.color||"#fff"},null,8,["color"])]),_:1})):u.value.type==="image"?(U(),ke(Hn,{key:1,style:{flex:"1"},value:((W=u.value.image)==null?void 0:W.size)||"cover","onUpdate:value":L[2]||(L[2]=X=>R({size:X})),options:[{label:"缩放",value:"contain"},{label:"拼贴",value:"repeat"},{label:"缩放铺满",value:"cover"}]},null,8,["value"])):(U(),ke(Hn,{key:2,style:{flex:"1"},value:((N=u.value.gradient)==null?void 0:N.type)||"","onUpdate:value":L[3]||(L[3]=X=>x({type:X})),options:[{label:"线性渐变",value:"linear"},{label:"径向渐变",value:"radial"}]},null,8,["value"]))]),u.value.type==="image"?(U(),ee("div",e4e,[O(Wu,{onChange:L[4]||(L[4]=X=>A(X))},{default:oe(()=>{var X;return[V("div",t4e,[V("div",{class:"content",style:we({backgroundImage:`url(${(X=u.value.image)==null?void 0:X.src})`})},[O(k)],4)])]}),_:1})])):Qe("",!0),u.value.type==="gradient"?(U(),ee("div",n4e,[V("div",r4e,[O(q_,{value:((_=u.value.gradient)==null?void 0:_.colors)||[],"onUpdate:value":L[5]||(L[5]=X=>x({colors:X})),"onUpdate:index":L[6]||(L[6]=X=>c.value=X)},null,8,["value"])]),V("div",o4e,[i4e,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:u.value.gradient.colors[c.value].color,"onUpdate:modelValue":L[7]||(L[7]=X=>y(X))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:u.value.gradient.colors[c.value].color},null,8,["color"])]),_:1})]),((C=u.value.gradient)==null?void 0:C.type)==="linear"?(U(),ee("div",a4e,[s4e,O(so,{min:0,max:360,step:15,value:u.value.gradient.rotate||0,"onUpdate:value":L[8]||(L[8]=X=>x({rotate:X})),style:{width:"60%"}},null,8,["value"])])):Qe("",!0)])):Qe("",!0),V("div",l4e,[O(je,{style:{flex:"1"},onClick:L[9]||(L[9]=X=>b())},{default:oe(()=>[Ve("应用背景到全部")]),_:1})]),O(Ft),V("div",c4e,[u4e,O(Hn,{style:{width:"60%"},value:H(i),"onUpdate:value":L[10]||(L[10]=X=>T(X)),options:[{label:"宽屏 16 : 9",value:.5625},{label:"宽屏 16 : 10",value:.625},{label:"标准 4 : 3",value:.75},{label:"纸张 A3 / A4",value:.70710678},{label:"竖向 A3 / A4",value:1.41421356}]},null,8,["value"])]),O(Ft),V("div",f4e,[d4e,V("span",{class:"more",onClick:L[11]||(L[11]=X=>s.value=!s.value)},[h4e,s.value?(U(),ke(E,{key:0})):(U(),ke(P,{key:1}))])]),V("div",p4e,[v4e,O(Hn,{style:{width:"60%"},value:H(a).fontName,search:"",searchLabel:"搜索字体","onUpdate:value":L[12]||(L[12]=X=>M({fontName:X})),options:[...H(n),...H(Op)]},null,8,["value","options"])]),V("div",g4e,[m4e,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:H(a).fontColor,"onUpdate:modelValue":L[13]||(L[13]=X=>M({fontColor:X}))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:H(a).fontColor},null,8,["color"])]),_:1})]),V("div",A4e,[R4e,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:H(a).backgroundColor,"onUpdate:modelValue":L[14]||(L[14]=X=>M({backgroundColor:X}))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:H(a).backgroundColor},null,8,["color"])]),_:1})]),V("div",y4e,[b4e,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:H(a).themeColor,"onUpdate:modelValue":L[15]||(L[15]=X=>M({themeColor:X}))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:H(a).themeColor},null,8,["color"])]),_:1})]),s.value?(U(),ee(We,{key:2},[V("div",x4e,[S4e,O(Hn,{style:{width:"60%"},value:H(a).outline.style||"","onUpdate:value":L[16]||(L[16]=X=>M({outline:{...H(a).outline,style:X}})),options:[{label:"实线边框",value:"solid"},{label:"虚线边框",value:"dashed"}]},null,8,["value"])]),V("div",M4e,[w4e,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:H(a).outline.color,"onUpdate:modelValue":L[17]||(L[17]=X=>M({outline:{...H(a).outline,color:X}}))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:H(a).outline.color||"#000"},null,8,["color"])]),_:1})]),V("div",L4e,[O4e,O(ei,{value:H(a).outline.width||0,"onUpdate:value":L[18]||(L[18]=X=>M({outline:{...H(a).outline,width:X}})),style:{width:"60%"}},null,8,["value"])]),V("div",T4e,[k4e,O(so,{style:{width:"60%"},min:-10,max:10,step:1,value:H(a).shadow.h,"onUpdate:value":L[19]||(L[19]=X=>M({shadow:{...H(a).shadow,h:X}}))},null,8,["value"])]),V("div",N4e,[P4e,O(so,{style:{width:"60%"},min:-10,max:10,step:1,value:H(a).shadow.v,"onUpdate:value":L[20]||(L[20]=X=>M({shadow:{...H(a).shadow,v:X}}))},null,8,["value"])]),V("div",C4e,[I4e,O(so,{style:{width:"60%"},min:1,max:20,step:1,value:H(a).shadow.blur,"onUpdate:value":L[21]||(L[21]=X=>M({shadow:{...H(a).shadow,blur:X}}))},null,8,["value"])]),V("div",F4e,[_4e,O(Pt,{trigger:"click",style:{width:"60%"}},{content:oe(()=>[O(_n,{modelValue:H(a).shadow.color,"onUpdate:modelValue":L[22]||(L[22]=X=>M({shadow:{...H(a).shadow,color:X}}))},null,8,["modelValue"])]),default:oe(()=>[O(br,{color:H(a).shadow.color},null,8,["color"])]),_:1})])],64)):Qe("",!0),V("div",E4e,[O(je,{style:{flex:"1"},onClick:L[23]||(L[23]=X=>H(p)(s.value))},{default:oe(()=>[Ve("应用主题到全部")]),_:1})]),V("div",X4e,[O(je,{style:{flex:"1"},onClick:L[24]||(L[24]=X=>l.value=!0)},{default:oe(()=>[Ve("从幻灯片提取主题")]),_:1})]),O(Ft),W4e,V("div",V4e,[(U(!0),ee(We,null,nt(H(yye),(X,Y)=>(U(),ee("div",{class:"theme-item",key:Y,style:we({backgroundColor:X.background,fontFamily:X.fontname})},[V("div",U4e,[V("div",{class:"text",style:we({color:X.fontColor})},"文字 Aa",4),V("div",Y4e,[(U(!0),ee(We,null,nt(X.colors,($,le)=>(U(),ee("div",{class:"color-block",key:le,style:we({backgroundColor:$})},null,4))),128))]),V("div",Q4e,[O(je,{type:"primary",size:"small",onClick:$=>H(d)(X)},{default:oe(()=>[Ve("应用")]),_:2},1032,["onClick"]),O(je,{type:"primary",size:"small",style:{"margin-top":"3px"},onClick:$=>H(h)(X)},{default:oe(()=>[Ve("应用全局")]),_:2},1032,["onClick"])])])],4))),128))])]),O(n0,{visible:l.value,"onUpdate:visible":L[26]||(L[26]=X=>l.value=X),width:320,onClosed:L[27]||(L[27]=X=>l.value=!1)},{default:oe(()=>[O(zye,{onClose:L[25]||(L[25]=X=>l.value=!1)})]),_:1},8,["visible"])],64)}}}),B4e=Ue(Z4e,[["__scopeId","data-v-01b60579"]]),D4e={class:"slide-animation-panel"},K4e={class:"animation-pool"},H4e=["onClick"],G4e={class:"animation-text"},z4e=Ee({__name:"SlideAnimationPanel",setup(e){const t=st(),{slides:n,currentSlide:r}=Xe(t),o=Me(()=>r.value.turningMode||"slideY"),i=rE,{addHistorySnapshot:a}=Ht(),s=c=>{c!==o.value&&(t.updateSlide({turningMode:c}),a())},l=()=>{const c=n.value.map(u=>({...u,turningMode:r.value.turningMode}));t.setSlides(c),gn.success("已应用到全部"),a()};return(c,u)=>(U(),ee("div",D4e,[V("div",K4e,[(U(!0),ee(We,null,nt(H(i),f=>(U(),ee("div",{class:Je(["animation-item",{active:o.value===f.value}]),key:f.label,onClick:d=>s(f.value)},[V("div",{class:Je(["animation-block",f.value])},null,2),V("div",G4e,vt(f.label),1)],10,H4e))),128))]),O(je,{style:{width:"100%"},onClick:u[0]||(u[0]=f=>l())},{default:oe(()=>[Ve("应用到全部")]),_:1})]))}}),J4e=Ue(z4e,[["__scopeId","data-v-ae84c3f4"]]),$4e=()=>{const e=st(),{activeElementIdList:t,activeElementList:n}=Xe(ft()),{currentSlide:r}=Xe(e),{addHistorySnapshot:o}=Ht();return{alignActiveElement:a=>{const{minX:s,maxX:l,minY:c,maxY:u}=js(n.value),f=JSON.parse(JSON.stringify(r.value.elements)),d={};for(const h of n.value)if(h.groupId&&!d[h.groupId]){const p=n.value.filter(v=>v.groupId===h.groupId);d[h.groupId]=js(p)}if(a===nn.LEFT)f.forEach(h=>{if(t.value.includes(h.id))if(h.groupId){const v=d[h.groupId].minX-s;h.left=h.left-v}else if("rotate"in h&&h.rotate){const{offsetX:p}=$f({left:h.left,top:h.top,width:h.width,height:h.height,rotate:h.rotate});h.left=s-p}else h.left=s});else if(a===nn.RIGHT)f.forEach(h=>{if(t.value.includes(h.id))if(h.groupId){const v=d[h.groupId].maxX-l;h.left=h.left-v}else{const p=h.type==="line"?Math.max(h.start[0],h.end[0]):h.width;if("rotate"in h&&h.rotate){const{offsetX:v}=$f({left:h.left,top:h.top,width:h.width,height:h.height,rotate:h.rotate});h.left=l-p+v}else h.left=l-p}});else if(a===nn.TOP)f.forEach(h=>{if(t.value.includes(h.id))if(h.groupId){const v=d[h.groupId].minY-c;h.top=h.top-v}else if("rotate"in h&&h.rotate){const{offsetY:p}=$f({left:h.left,top:h.top,width:h.width,height:h.height,rotate:h.rotate});h.top=c-p}else h.top=c});else if(a===nn.BOTTOM)f.forEach(h=>{if(t.value.includes(h.id))if(h.groupId){const v=d[h.groupId].maxY-u;h.top=h.top-v}else{const p=h.type==="line"?Math.max(h.start[1],h.end[1]):h.height;if("rotate"in h&&h.rotate){const{offsetY:v}=$f({left:h.left,top:h.top,width:h.width,height:h.height,rotate:h.rotate});h.top=u-p+v}else h.top=u-p}});else if(a===nn.HORIZONTAL){const h=(s+l)/2;f.forEach(p=>{if(t.value.includes(p.id))if(p.groupId){const v=d[p.groupId],x=(v.maxX+v.minX)/2-h;p.left=p.left-x}else{const v=p.type==="line"?Math.max(p.start[0],p.end[0]):p.width;p.left=h-v/2}})}else if(a===nn.VERTICAL){const h=(c+u)/2;f.forEach(p=>{if(t.value.includes(p.id))if(p.groupId){const v=d[p.groupId],x=(v.maxY+v.minY)/2-h;p.top=p.top-x}else{const v=p.type==="line"?Math.max(p.start[1],p.end[1]):p.height;p.top=h-v/2}})}e.updateSlide({elements:f}),o()}}},j4e=()=>{const e=st(),{activeElementIdList:t,activeElementList:n}=Xe(ft()),{currentSlide:r}=Xe(e),{addHistorySnapshot:o}=Ht();return{displayItemCount:Me(()=>{let l=0;const c=[];for(const u of n.value)u.groupId?c.includes(u.groupId)||(c.push(u.groupId),l+=1):l+=1;return l}),uniformHorizontalDisplay:()=>{const{minX:l,maxX:c}=js(n.value),u=JSON.parse(JSON.stringify(n.value)),f=JSON.parse(JSON.stringify(r.value.elements)),d=[];let h=[];for(const b of u)if(b.groupId)h.find(T=>T.groupId===b.groupId)?h=h.map(T=>T.groupId===b.groupId?{...T,els:[...T.els,b]}:T):h.push({groupId:b.groupId,els:[b]});else{const{minX:M,maxX:T}=Ji(b);d.push({min:M,max:T,el:b})}const p=[];for(const b of h){const{minX:M,maxX:T}=js(b.els);p.push({min:M,max:T,els:b.els})}const v=[...d,...p];v.sort((b,M)=>b.min-M.min);let m=0;for(const b of v){const M=b.max-b.min;m+=M}const x=(c-l-m)/(v.length-1),y=[],R=v[0];let A={min:R.min,max:R.max};if("el"in R)y.push({pos:R.min,el:R.el});else for(const b of R.els){const{minX:M}=Ji(b);y.push({pos:M,el:b})}for(let b=1;b{const{minY:l,maxY:c}=js(n.value),u=JSON.parse(JSON.stringify(n.value)),f=JSON.parse(JSON.stringify(r.value.elements)),d=[];let h=[];for(const b of u)if(b.groupId)h.find(T=>T.groupId===b.groupId)?h=h.map(T=>T.groupId===b.groupId?{...T,els:[...T.els,b]}:T):h.push({groupId:b.groupId,els:[b]});else{const{minY:M,maxY:T}=Ji(b);d.push({min:M,max:T,el:b})}const p=[];for(const b of h){const{minY:M,maxY:T}=js(b.els);p.push({min:M,max:T,els:b.els})}const v=[...d,...p];v.sort((b,M)=>b.min-M.min);let m=0;for(const b of v){const M=b.max-b.min;m+=M}const x=(c-l-m)/(v.length-1),y=[],R=v[0];let A={min:R.min,max:R.max};if("el"in R)y.push({pos:R.min,el:R.el});else for(const b of R.els){const{minY:M}=Ji(b);y.push({pos:M,el:b})}for(let b=1;b{t.value?o(u):i(u)};return(u,f)=>{const d=Se("IconAlignLeft"),h=Se("IconAlignHorizontally"),p=Se("IconAlignRight"),v=Se("IconAlignTop"),m=Se("IconAlignVertically"),x=Se("IconAlignBottom"),y=Se("IconGroup"),R=Se("IconUngroup"),A=bn("tooltip");return U(),ee("div",q4e,[O(Ln,{class:"row"},{default:oe(()=>[He((U(),ke(je,{style:{flex:"1"},onClick:f[0]||(f[0]=b=>c(H(nn).LEFT))},{default:oe(()=>[O(d)]),_:1})),[[A,"左对齐"]]),He((U(),ke(je,{style:{flex:"1"},onClick:f[1]||(f[1]=b=>c(H(nn).HORIZONTAL))},{default:oe(()=>[O(h)]),_:1})),[[A,"水平居中"]]),He((U(),ke(je,{style:{flex:"1"},onClick:f[2]||(f[2]=b=>c(H(nn).RIGHT))},{default:oe(()=>[O(p)]),_:1})),[[A,"右对齐"]])]),_:1}),O(Ln,{class:"row"},{default:oe(()=>[He((U(),ke(je,{style:{flex:"1"},onClick:f[3]||(f[3]=b=>c(H(nn).TOP))},{default:oe(()=>[O(v)]),_:1})),[[A,"上对齐"]]),He((U(),ke(je,{style:{flex:"1"},onClick:f[4]||(f[4]=b=>c(H(nn).VERTICAL))},{default:oe(()=>[O(m)]),_:1})),[[A,"垂直居中"]]),He((U(),ke(je,{style:{flex:"1"},onClick:f[5]||(f[5]=b=>c(H(nn).BOTTOM))},{default:oe(()=>[O(x)]),_:1})),[[A,"下对齐"]])]),_:1}),H(a)>2?(U(),ke(Ln,{key:0,class:"row"},{default:oe(()=>[O(je,{style:{flex:"1"},onClick:f[6]||(f[6]=b=>H(s)())},{default:oe(()=>[Ve("水平均匀分布")]),_:1}),O(je,{style:{flex:"1"},onClick:f[7]||(f[7]=b=>H(l)())},{default:oe(()=>[Ve("垂直均匀分布")]),_:1})]),_:1})):Qe("",!0),O(Ft),O(Ln,{class:"row"},{default:oe(()=>[O(je,{disabled:!H(t),onClick:f[8]||(f[8]=b=>H(n)()),style:{flex:"1"}},{default:oe(()=>[O(y,{style:{"margin-right":"3px"}}),Ve("组合")]),_:1},8,["disabled"]),O(je,{disabled:H(t),onClick:f[9]||(f[9]=b=>H(r)()),style:{flex:"1"}},{default:oe(()=>[O(R,{style:{"margin-right":"3px"}}),Ve("取消组合")]),_:1},8,["disabled"])]),_:1})])}}}),t3e=Ue(e3e,[["__scopeId","data-v-d41009b1"]]),v4=[{key:"letter",label:"字母",children:["α","β","γ","δ","ϵ","ε","ζ","η","θ","ϑ","ι","κ","λ","μ","ν","ξ","π","ϖ","ρ","ϱ","σ","ς","τ","υ","ϕ","φ","χ","ψ","ω","Γ","Δ","Θ","Λ","Ξ","Π","Σ","Υ","Φ","Ψ","Ω","𝐀","𝐁","𝐂","𝐃","𝐄","𝐅","𝐆","𝐇","𝐈","𝐉","𝐊","𝐋","𝐌","𝐍","𝐎","𝐏","𝐐","𝐑","𝐒","𝐓","𝐔","𝐕","𝐖","𝐗","𝐘","𝐙","𝐚","𝐛","𝐜","𝐝","𝐞","𝐟","𝐠","𝐡","𝐢","𝐣","𝐤","𝐥","𝐦","𝐧","𝐨","𝐩","𝐪","𝐫","𝐬","𝐭","𝐮","𝐯","𝐰","𝐱","𝐲","𝐳","𝓐","𝓑","𝓒","𝓓","𝓔","𝓕","𝓖","𝓗","𝓘","𝓙","𝓚","𝓛","𝓜","𝓝","𝓞","𝓟","𝓠","𝓡","𝓢","𝓣","𝓤","𝓥","𝓦","𝓧","𝓨","𝓩","𝓪","𝓫","𝓬","𝓭","𝓮","𝓯","𝓰","𝓱","𝓲","𝓳","𝓴","𝓵","𝓶","𝓷","𝓸","𝓹","𝓺","𝓻","𝓼","𝓽","𝓾","𝓿","𝔀","𝔁","𝔂","𝔃"]},{key:"number",label:"序号",children:["①","②","③","④","⑤","⑥","⑦","⑧","⑨","⑩","⑪","⑫","⑬","⑭","⑮","⑯","⑰","⑱","⑲","⑳","⑴","⑵","⑶","⑷","⑸","⑹","⑺","⑻","⑼","⑽","⑾","⑿","⒀","⒁","⒂","⒃","⒄","⒅","⒆","⒇","º","¹","²","³","⁴","⁵","⁶","⁷","⁸","⁹","₀","₁","₂","₃","₄","₅","₆","₇","₈","₉","Ⅰ","Ⅱ","Ⅲ","Ⅳ","Ⅴ","Ⅵ","Ⅶ","Ⅷ","Ⅸ","Ⅹ","Ⅺ","Ⅻ","Ⅼ","Ⅽ","Ⅾ","Ⅿ","ⅰ","ⅱ","ⅲ","ⅳ","ⅴ","ⅵ","ⅶ","ⅷ","ⅸ","ⅹ","ⅺ","ⅻ","ⅼ","ⅽ","ⅾ","ⅿ","ↀ","ↁ","ↂ","㊀","㊁","㊂","㊃","㊄","㊅","㊆","㊇","㊈","㊉","㈠","㈡","㈢","㈣","㈤","㈥","㈦","㈧","㈨","㈩","𝟘","𝟙","𝟚","𝟛","𝟜","𝟝","𝟞","𝟟","𝟠","𝟡"]},{key:"math",label:"数学",children:["+","-","×","÷","=","~","¬","±","%","°","ǃ","‰","‱","½","⅓","⅔","¼","¾","<",">","l","o","g","l","g","l","n","⨂","⨁","⨄","⨃","⨅","⨆","√","∛","∜","∝","∞","∟","∠","∡","∢","∧","∨","∩","∪","∫","∬","∭","∮","∯","∰","∱","∲","∳","∴","∵","∼","∽","∾","∿","≃","≄","≅","≆","≇","≈","≊","≋","≌","≍","≎","≏","≐","≑","≒","≓","≔","≕","≤","≥","≦","≧","≨","≩","≪","≫","≺","≻","≼","≽","≾","≿","⊀","⊁","⊂","⊃","⊄","⊅","⊆","⊇","⊈","⊉","⊊","⊋","⊏","⊐","⊑","⊒","⊓","⊔","⊢","⊣","⊤","⊥","⊦","⊧","⊨","⊩","⊪","⊫","⊬","⊭","⊮","⊯","⊲","⊳","⊴","⊵","⋀","⋁","⋂","⋃","⋉","⋊","⋋","⋌","⟨","⟩","⟪","⟫","⟮","⟯","⧼","⧽","⦰"]},{key:"arrow",label:"箭头",children:["←","↑","→","↓","↔","↕","↖","↗","↘","↙","↚","↛","↜","↝","↞","↟","↠","↡","↢","↣","↤","↥","↦","↧","↨","↫","↬","↭","↮","↯","↰","↱","↲","↳","↴","↵","↶","↷","↸","↹","↺","↻","↼","↽","↾","↿","⇀","⇁","⇂","⇃","⇄","⇅","⇆","⇇","⇈","⇉","⇊","⇋","⇌","⇍","⇎","⇏","⇐","⇑","⇒","⇓","⇔","⇕","⇖","⇗","⇘","⇙","⇚","⇛","⇜","⇝","⇞","⇟","⇠","⇡","⇢","⇣","⇤","⇥","⇦","⇧","⇨","⇩","⇪","⇫","⇬","⇭","⇮","⇯","⇰","⇱","⇲","⇳","⇴","⇵","⇶","⇷","⇸","⇹","⇺","⇻","⇼","⇽","⇾","⇿"]},{key:"graph",label:"图形",children:["▢","▣","▤","▥","▦","▧","▨","▩","▭","▮","▯","▰","▱","▲","▷","▼","◁","◈","◉","◍","◐","◑","◒","◓","◔","◕","◧","◨","◩","◪","◫","◬","◭","◮"]}],n3e={class:"symbol-panel"},r3e={class:"pool"},o3e=["onClick"],i3e={class:"symbol"},a3e=Ee({__name:"SymbolPanel",setup(e){const t=ve(v4[0].key),n=Me(()=>{const i=v4.find(a=>a.key===t.value);return(i==null?void 0:i.children)||[]}),r=v4.map(i=>({key:i.key,label:i.label})),o=i=>{ao.emit(Hr.RICH_TEXT_COMMAND,{action:{command:"insert",value:i}})};return(i,a)=>(U(),ee("div",n3e,[O(_a,{tabs:H(r),value:t.value,"onUpdate:value":a[0]||(a[0]=s=>t.value=s),tabsStyle:{marginBottom:"8px"},spaceBetween:""},null,8,["tabs","value"]),V("div",r3e,[(U(!0),ee(We,null,nt(n.value,(s,l)=>(U(),ee("div",{class:"symbol-item",key:l,onClick:c=>o(s)},[V("div",i3e,vt(s),1)],8,o3e))),128))])]))}}),s3e=Ue(a3e,[["__scopeId","data-v-0f662bb0"]]),l3e={class:"toolbar"},c3e={class:"content"},u3e=Ee({__name:"index",setup(e){const t=ft(),{activeElementIdList:n,handleElement:r,toolbarState:o}=Xe(t),i=Me(()=>{var f;return((f=r.value)==null?void 0:f.type)==="text"?[{label:"样式",key:wr.EL_STYLE},{label:"符号",key:wr.SYMBOL},{label:"位置",key:wr.EL_POSITION},{label:"动画",key:wr.EL_ANIMATION}]:[{label:"样式",key:wr.EL_STYLE},{label:"位置",key:wr.EL_POSITION},{label:"动画",key:wr.EL_ANIMATION}]}),a=[{label:"设计",key:wr.SLIDE_DESIGN},{label:"切换",key:wr.SLIDE_ANIMATION},{label:"动画",key:wr.EL_ANIMATION}],s=[{label:"样式",key:wr.EL_STYLE},{label:"位置",key:wr.MULTI_POSITION}],l=f=>{t.setToolbarState(f)},c=Me(()=>{if(n.value.length){if(n.value.length>1)return s}else return a;return i.value});wt(c,()=>{const f=c.value.map(d=>d.key);f.includes(o.value)||t.setToolbarState(f[0])});const u=Me(()=>({[wr.EL_STYLE]:QRe,[wr.EL_POSITION]:qRe,[wr.EL_ANIMATION]:Rye,[wr.SLIDE_DESIGN]:B4e,[wr.SLIDE_ANIMATION]:J4e,[wr.MULTI_POSITION]:t3e,[wr.SYMBOL]:s3e})[o.value]||null);return(f,d)=>(U(),ee("div",l3e,[O(_a,{tabs:c.value,value:H(o),card:"","onUpdate:value":d[0]||(d[0]=h=>l(h))},null,8,["tabs","value"]),V("div",c3e,[(U(),ke(ws(u.value)))])]))}}),f3e=Ue(u3e,[["__scopeId","data-v-83fff59a"]]),d3e={class:"editor"},h3e=Ee({__name:"Editor",props:{value:{}},emits:["update"],setup(e,{expose:t,emit:n}){const r=e,o=n,i=ft(),a=ve();let s;const l=ve(),c=ve(),u=ve(),f=()=>{c.value&&c.value.hide()},d=On.debounce(function(){o("update",s.dom.innerHTML)},300,{trailing:!0}),h=()=>{i.setDisableHotkeysState(!0)},p=()=>{i.setDisableHotkeysState(!1)};t({updateTextContent:()=>{if(!s)return;const{doc:y,tr:R}=s.state;s.dispatch(R.replaceRangeWith(0,y.content.size,M5(r.value)))}});const m=()=>{const y=window.getSelection();if(!y||!y.anchorNode||!y.focusNode||y.isCollapsed||y.type==="Caret"||y.type==="None")return;const R=y.getRangeAt(0);if(c.value){l.value=z4(s);const{x:A,y:b,left:M,top:T}=R.getBoundingClientRect();c.value.setProps({getReferenceClientRect:()=>({x:A,y:b,left:M,top:T,height:0,width:0,right:M,bottom:T})}),c.value.show()}},x=(y,R)=>{if(y==="color"&&R){const A=s.state.schema.marks.forecolor.create({color:R});Er(s),za(s,A)}else if(y==="backcolor"&&R){const A=s.state.schema.marks.backcolor.create({backcolor:R});Er(s),za(s,A)}else if(y==="bold")Er(s),Pr(s.state.schema.marks.strong)(s.state,s.dispatch);else if(y==="em")Er(s),Pr(s.state.schema.marks.em)(s.state,s.dispatch);else if(y==="underline")Er(s),Pr(s.state.schema.marks.underline)(s.state,s.dispatch);else if(y==="strikethrough")Er(s),Pr(s.state.schema.marks.strikethrough)(s.state,s.dispatch);else if(y==="bulletList"){const{bullet_list:A,list_item:b}=s.state.schema.nodes;Rm(A,b,"")(s.state,s.dispatch)}else if(y==="orderedList"){const{ordered_list:A,list_item:b}=s.state.schema.nodes;Rm(A,b,"")(s.state,s.dispatch)}else if(y==="clear"){Er(s);const{$from:A,$to:b}=s.state.selection;s.dispatch(s.state.tr.removeMark(A.pos,b.pos))}s.focus(),d(),l.value=z4(s)};return Qt(()=>{s=VF(a.value,r.value,{handleDOMEvents:{focus:h,blur:p,mouseup:m,mousedown:()=>{var y;(y=window.getSelection())==null||y.removeAllRanges(),f()},keydown:f,input:d}},{placeholder:"点击输入演讲者备注"}),c.value=qu(a.value,{duration:0,content:u.value,interactive:!0,trigger:"manual",placement:"top-start",hideOnClick:"toggle",offset:[0,6]})}),Sn(()=>{s&&s.destroy()}),(y,R)=>{var N,_,C,X,Y,$;const A=Se("IconTextBold"),b=Se("IconTextItalic"),M=Se("IconTextUnderline"),T=Se("IconStrikethrough"),w=Se("IconText"),L=Se("IconHighLight"),k=Se("IconList"),E=Se("IconOrderedList"),P=Se("IconFormat"),W=bn("click-outside");return He((U(),ee("div",d3e,[V("div",{class:"prosemirror-editor",ref_key:"editorViewRef",ref:a},null,512),V("div",{class:"menu",ref_key:"menuRef",ref:u},[V("button",{class:Je({active:(N=l.value)==null?void 0:N.bold}),onClick:R[0]||(R[0]=le=>x("bold"))},[O(A)],2),V("button",{class:Je({active:(_=l.value)==null?void 0:_.em}),onClick:R[1]||(R[1]=le=>x("em"))},[O(b)],2),V("button",{class:Je({active:(C=l.value)==null?void 0:C.underline}),onClick:R[2]||(R[2]=le=>x("underline"))},[O(M)],2),V("button",{class:Je({active:(X=l.value)==null?void 0:X.strikethrough}),onClick:R[3]||(R[3]=le=>x("strikethrough"))},[O(T)],2),O(Pt,{trigger:"click",style:{width:"30%"}},{content:oe(()=>{var le;return[O(_n,{modelValue:(le=l.value)==null?void 0:le.color,"onUpdate:modelValue":R[4]||(R[4]=Q=>x("color",Q))},null,8,["modelValue"])]}),default:oe(()=>[V("button",null,[O(w)])]),_:1}),O(Pt,{trigger:"click",style:{width:"30%"}},{content:oe(()=>{var le;return[O(_n,{modelValue:(le=l.value)==null?void 0:le.backcolor,"onUpdate:modelValue":R[5]||(R[5]=Q=>x("backcolor",Q))},null,8,["modelValue"])]}),default:oe(()=>[V("button",null,[O(L)])]),_:1}),V("button",{class:Je({active:(Y=l.value)==null?void 0:Y.bulletList}),onClick:R[6]||(R[6]=le=>x("bulletList"))},[O(k)],2),V("button",{class:Je({active:($=l.value)==null?void 0:$.orderedList}),onClick:R[7]||(R[7]=le=>x("orderedList"))},[O(E)],2),V("button",{onClick:R[8]||(R[8]=le=>x("clear"))},[O(P)])],512)])),[[W,f]])}}}),p3e=Ue(h3e,[["__scopeId","data-v-4042a280"]]),v3e={class:"remark"},g3e=Ee({__name:"index",props:{height:{}},emits:["update:height"],setup(e,{emit:t}){const n=e,r=t,o=st(),{currentSlide:i}=Xe(o),a=ve();wt(()=>i.value.id,()=>{pr(()=>{a.value.updateTextContent()})},{immediate:!0});const s=Me(()=>{var u;return((u=i.value)==null?void 0:u.remark)||""}),l=u=>{o.updateSlide({remark:u})},c=u=>{let f=!0;const d=u.pageY,h=n.height;document.onmousemove=p=>{if(!f)return;let x=-(p.pageY-d)+h;x<40&&(x=40),x>360&&(x=360),r("update:height",x)},document.onmouseup=()=>{f=!1,document.onmousemove=null,document.onmouseup=null}};return(u,f)=>(U(),ee("div",v3e,[V("div",{class:"resize-handler",onMousedown:f[0]||(f[0]=d=>c(d))},null,32),O(p3e,{value:s.value,ref_key:"editorRef",ref:a,onUpdate:f[1]||(f[1]=d=>l(d))},null,8,["value"])]))}}),m3e=Ue(g3e,[["__scopeId","data-v-1c52a472"]]);var aE={exports:{}};(function(e,t){(function(n,r){r()})(kt,function(){function n(c,u){return typeof u>"u"?u={autoBom:!1}:typeof u!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),u={autoBom:!u}),u.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(c.type)?new Blob(["\uFEFF",c],{type:c.type}):c}function r(c,u,f){var d=new XMLHttpRequest;d.open("GET",c),d.responseType="blob",d.onload=function(){l(d.response,u,f)},d.onerror=function(){console.error("could not download file")},d.send()}function o(c){var u=new XMLHttpRequest;u.open("HEAD",c,!1);try{u.send()}catch{}return 200<=u.status&&299>=u.status}function i(c){try{c.dispatchEvent(new MouseEvent("click"))}catch{var u=document.createEvent("MouseEvents");u.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),c.dispatchEvent(u)}}var a=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof kt=="object"&&kt.global===kt?kt:void 0,s=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),l=a.saveAs||(typeof window!="object"||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!s?function(c,u,f){var d=a.URL||a.webkitURL,h=document.createElement("a");u=u||c.name||"download",h.download=u,h.rel="noopener",typeof c=="string"?(h.href=c,h.origin===location.origin?i(h):o(h.href)?r(c,u,f):i(h,h.target="_blank")):(h.href=d.createObjectURL(c),setTimeout(function(){d.revokeObjectURL(h.href)},4e4),setTimeout(function(){i(h)},0))}:"msSaveOrOpenBlob"in navigator?function(c,u,f){if(u=u||c.name||"download",typeof c!="string")navigator.msSaveOrOpenBlob(n(c,f),u);else if(o(c))r(c,u,f);else{var d=document.createElement("a");d.href=c,d.target="_blank",setTimeout(function(){i(d)})}}:function(c,u,f,d){if(d=d||open("","_blank"),d&&(d.document.title=d.document.body.innerText="downloading..."),typeof c=="string")return r(c,u,f);var h=c.type==="application/octet-stream",p=/constructor/i.test(a.HTMLElement)||a.safari,v=/CriOS\/[\d]+/.test(navigator.userAgent);if((v||h&&p||s)&&typeof FileReader<"u"){var m=new FileReader;m.onloadend=function(){var R=m.result;R=v?R:R.replace(/^data:[^;]*;/,"data:attachment/file;"),d?d.location.href=R:location=R,d=null},m.readAsDataURL(c)}else{var x=a.URL||a.webkitURL,y=x.createObjectURL(c);d?d.location=y:location.href=y,d=null,setTimeout(function(){x.revokeObjectURL(y)},4e4)}});a.saveAs=l.saveAs=l,e.exports=l})})(aE);var g4=aE.exports,sE={exports:{}};/*! JSZip v3.10.1 - A JavaScript class for generating and reading zip files diff --git a/assets/index-B1nbxvjv.css b/assets/index-CYggbX46.css similarity index 75% rename from assets/index-B1nbxvjv.css rename to assets/index-CYggbX46.css index f807e649..7a85661d 100644 --- a/assets/index-B1nbxvjv.css +++ b/assets/index-CYggbX46.css @@ -1,4 +1,4 @@ -@charset "UTF-8";.message[data-v-5f638602]{max-width:600px}.message+.message[data-v-5f638602]{margin-top:15px}.message-container[data-v-5f638602]{min-width:50px;display:flex;align-items:center;padding:10px;font-size:13px;overflow:hidden;border-radius:2px;box-shadow:0 1px 8px #00000026;background:#fff;pointer-events:all;position:relative}.message-container .icons[data-v-5f638602]{display:flex;align-items:center;margin-right:10px}.message-container .title[data-v-5f638602]{font-size:14px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-container .content[data-v-5f638602]{width:100%}.message-container .description[data-v-5f638602]{line-height:1.5;color:#41464b}.message-container .title+.description[data-v-5f638602]{margin-top:5px}.message-container .control[data-v-5f638602]{position:relative;height:100%;margin-left:10px}.message-container .close-btn[data-v-5f638602]{font-size:15px;color:#666;display:flex;align-items:center;cursor:pointer}.message-container .close-btn[data-v-5f638602]:hover{color:#d14424}.message-fade-enter-active[data-v-5f638602]{animation:message-fade-in-down-5f638602 .3s}.message-fade-leave-active[data-v-5f638602]{animation:message-fade-out-5f638602 .3s}@keyframes message-fade-in-down-5f638602{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}@keyframes message-fade-out-5f638602{0%{opacity:1;margin-top:0}to{opacity:0;margin-top:-45px}}.hotkey-doc[data-v-0762be00]{height:100%;overflow:auto;font-size:12px;margin:0 -15px;padding:0 15px 15px}.title[data-v-0762be00]{font-size:14px;font-weight:700;border-bottom:1px solid #e5e5e5;padding:25px 0 5px}.title[data-v-0762be00]:first-child{padding-top:0}.hotkey-item[data-v-0762be00]{border-bottom:1px solid #e5e5e5;padding:15px 0 5px;display:flex;align-items:center}.label[data-v-0762be00]{width:140px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.input[data-v-1bd53d05]{display:none}.fullscreen-spin[data-v-9856918a]{position:fixed;top:0;bottom:0;left:0;right:0;z-index:100;display:flex;justify-content:center;align-items:center;background-color:#f1f1f1b3}.spin[data-v-9856918a]{width:200px;height:200px;position:fixed;top:50%;left:50%;margin-top:-100px;margin-left:-100px;display:flex;flex-direction:column;justify-content:center;align-items:center}.spinner[data-v-9856918a]{width:36px;height:36px;border:3px solid #d14424;border-top-color:transparent;border-radius:50%;animation:spinner-9856918a .8s linear infinite}.text[data-v-9856918a]{margin-top:20px;color:#d14424}@keyframes spinner-9856918a{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.drawer[data-v-46f39759]{height:100%;position:fixed;top:0;bottom:0;z-index:5000;background:#fff;display:flex;flex-direction:column}.drawer.left[data-v-46f39759]{left:0;box-shadow:3px 0 6px -4px #0000001f,9px 0 28px 8px #0000000d}.drawer.right[data-v-46f39759]{right:0;box-shadow:-3px 0 6px -4px #0000001f,-9px 0 28px 8px #0000000d}.header[data-v-46f39759]{height:50px;padding:0 15px;position:relative;display:flex;align-items:center}.header .close-btn[data-v-46f39759]{width:20px;height:20px;display:flex;justify-content:center;align-items:center;position:absolute;top:15px;right:15px;cursor:pointer}.content[data-v-46f39759]{padding:0 15px;overflow:auto;flex:1}.drawer-slide-right-enter-active[data-v-46f39759]{animation:drawer-slide-right-enter-46f39759 .25s both ease}.drawer-slide-right-leave-active[data-v-46f39759]{animation:drawer-slide-right-leave-46f39759 .25s both ease}.drawer-slide-left-enter-active[data-v-46f39759]{animation:drawer-slide-left-enter-46f39759 .25s both ease}.drawer-slide-left-leave-active[data-v-46f39759]{animation:drawer-slide-left-leave-46f39759 .25s both ease}@keyframes drawer-slide-right-enter-46f39759{0%{transform:translate(100%)}}@keyframes drawer-slide-right-leave-46f39759{to{transform:translate(100%)}}@keyframes drawer-slide-left-enter-46f39759{0%{transform:translate(-100%)}}@keyframes drawer-slide-left-leave-46f39759{to{transform:translate(-100%)}}.input[data-v-e8b3d756]{background-color:#fff;border:1px solid #d9d9d9;padding:0 5px;border-radius:2px;transition:border-color .25s;font-size:13px;display:flex}.input input[data-v-e8b3d756]{min-width:0;height:30px;outline:0;border:0;line-height:30px;vertical-align:top;color:#41464b;padding:0 5px;flex:1;font-size:13px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.input input[data-v-e8b3d756]::placeholder{color:#bfbfbf}.input[data-v-e8b3d756]:not(.disabled):hover,.input.focused[data-v-e8b3d756]{border-color:#d14424}.input.disabled[data-v-e8b3d756]{background-color:#f5f5f5;border-color:#dcdcdc;color:#b7b7b7}.input.disabled input[data-v-e8b3d756]{color:#b7b7b7}.input.simple[data-v-e8b3d756]{border:0}.input .prefix[data-v-e8b3d756],.input .suffix[data-v-e8b3d756]{display:flex;justify-content:center;align-items:center;line-height:30px;-webkit-user-select:none;user-select:none}.tippy-box[data-animation=scale][data-placement^=top]{transform-origin:bottom}.tippy-box[data-animation=scale][data-placement^=bottom]{transform-origin:top}.tippy-box[data-animation=scale][data-placement^=left]{transform-origin:right}.tippy-box[data-animation=scale][data-placement^=right]{transform-origin:left}.tippy-box[data-animation=scale][data-state=hidden]{transform:scale(.5);opacity:0}.popover.center[data-v-6a57fbcf]{display:flex;justify-content:center;align-items:center}.popover-content[data-v-6a57fbcf]{background-color:#fff;padding:10px;border:1px solid #e5e7eb;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;border-radius:2px;font-size:13px}.tippy-box[data-theme~=popover]{border:0;outline:0}.popover-menu-item[data-v-1f176c16]{min-width:80px;padding:6px 10px;border-radius:2px;font-size:13px;cursor:pointer}.popover-menu-item.center[data-v-1f176c16]{text-align:center}.popover-menu-item[data-v-1f176c16]:hover{background-color:#f1f1f1}.popover-menu-item+.popover-menu-item[data-v-1f176c16]{margin-top:2px}.editor-header[data-v-57b3c954]{background-color:#fff;-webkit-user-select:none;user-select:none;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:0 5px}.left[data-v-57b3c954],.right[data-v-57b3c954]{display:flex;justify-content:center;align-items:center}.menu-item[data-v-57b3c954]{height:30px;display:flex;justify-content:center;align-items:center;font-size:14px;padding:0 10px;border-radius:2px;cursor:pointer}.menu-item .icon[data-v-57b3c954]{font-size:18px;color:#666}.menu-item[data-v-57b3c954]:hover{background-color:#f1f1f1}.group-menu-item[data-v-57b3c954]{height:30px;display:flex;margin:0 8px;padding:0 2px;border-radius:2px}.group-menu-item[data-v-57b3c954]:hover{background-color:#f1f1f1}.group-menu-item .menu-item[data-v-57b3c954]{padding:0 3px}.group-menu-item .arrow-btn[data-v-57b3c954]{display:flex;justify-content:center;align-items:center;cursor:pointer}.title[data-v-57b3c954]{height:30px;margin-left:2px;font-size:13px}.title .title-input[data-v-57b3c954]{width:200px;height:100%;padding-left:0;padding-right:0}.title .title-input[data-v-57b3c954] input{height:28px;line-height:28px}.title .title-text[data-v-57b3c954]{min-width:20px;max-width:400px;line-height:30px;padding:0 6px;border-radius:2px;cursor:pointer;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.title .title-text[data-v-57b3c954]:hover{background-color:#f1f1f1}.github-link[data-v-57b3c954]{display:inline-block;height:30px}svg[data-v-09a0319c]{overflow:visible;position:absolute;z-index:2;top:0;left:0}svg[data-v-19e68d74]{overflow:visible;position:absolute;z-index:2;top:0;left:0}svg[data-v-a036b0a3]{overflow:visible;position:absolute;z-index:2;top:0;left:0}.image-clip-handler[data-v-31b3b0f9]{width:100%;height:100%;position:relative}.image-clip-handler .bottom-img[data-v-31b3b0f9]{top:0;left:0;width:100%;height:100%;opacity:.5}.image-clip-handler img[data-v-31b3b0f9]{width:100%;height:100%}.image-clip-handler .top-image-content[data-v-31b3b0f9]{position:absolute;overflow:hidden}.image-clip-handler .top-image-content img[data-v-31b3b0f9]{position:absolute}.operate[data-v-31b3b0f9]{position:absolute;width:100%;height:100%;top:0;left:0;cursor:move}.clip-point[data-v-31b3b0f9]{position:absolute;width:16px;height:16px}.clip-point svg[data-v-31b3b0f9]{overflow:visible}.clip-point.left-top[data-v-31b3b0f9]{left:0;top:0}.clip-point.right-top[data-v-31b3b0f9]{left:100%;top:0;transform:rotate(90deg);transform-origin:0 0}.clip-point.left-bottom[data-v-31b3b0f9]{left:0;top:100%;transform:rotate(-90deg);transform-origin:0 0}.clip-point.right-bottom[data-v-31b3b0f9]{left:100%;top:100%;transform:rotate(180deg);transform-origin:0 0}.clip-point.top[data-v-31b3b0f9]{left:50%;top:0;margin-left:-8px}.clip-point.bottom[data-v-31b3b0f9]{left:50%;bottom:0;margin-left:-8px;transform:rotate(180deg)}.clip-point.left[data-v-31b3b0f9]{left:0;top:50%;margin-top:-8px;transform:rotate(-90deg)}.clip-point.right[data-v-31b3b0f9]{right:0;top:50%;margin-top:-8px;transform:rotate(90deg)}.clip-point.left-top.rotate-0[data-v-31b3b0f9],.clip-point.right-bottom.rotate-0[data-v-31b3b0f9],.clip-point.left.rotate-45[data-v-31b3b0f9],.clip-point.right.rotate-45[data-v-31b3b0f9],.clip-point.left-bottom.rotate-90[data-v-31b3b0f9],.clip-point.right-top.rotate-90[data-v-31b3b0f9],.clip-point.top.rotate-135[data-v-31b3b0f9],.clip-point.bottom.rotate-135[data-v-31b3b0f9]{cursor:nwse-resize}.clip-point.top.rotate-0[data-v-31b3b0f9],.clip-point.bottom.rotate-0[data-v-31b3b0f9],.clip-point.left-top.rotate-45[data-v-31b3b0f9],.clip-point.right-bottom.rotate-45[data-v-31b3b0f9],.clip-point.left.rotate-90[data-v-31b3b0f9],.clip-point.right.rotate-90[data-v-31b3b0f9],.clip-point.left-bottom.rotate-135[data-v-31b3b0f9],.clip-point.right-top.rotate-135[data-v-31b3b0f9]{cursor:ns-resize}.clip-point.left-bottom.rotate-0[data-v-31b3b0f9],.clip-point.right-top.rotate-0[data-v-31b3b0f9],.clip-point.top.rotate-45[data-v-31b3b0f9],.clip-point.bottom.rotate-45[data-v-31b3b0f9],.clip-point.left-top.rotate-90[data-v-31b3b0f9],.clip-point.right-bottom.rotate-90[data-v-31b3b0f9],.clip-point.left.rotate-135[data-v-31b3b0f9],.clip-point.right.rotate-135[data-v-31b3b0f9]{cursor:nesw-resize}.clip-point.left.rotate-0[data-v-31b3b0f9],.clip-point.right.rotate-0[data-v-31b3b0f9],.clip-point.left-bottom.rotate-45[data-v-31b3b0f9],.clip-point.right-top.rotate-45[data-v-31b3b0f9],.clip-point.top.rotate-90[data-v-31b3b0f9],.clip-point.bottom.rotate-90[data-v-31b3b0f9],.clip-point.left-top.rotate-135[data-v-31b3b0f9],.clip-point.right-bottom.rotate-135[data-v-31b3b0f9]{cursor:ew-resize}.editable-element-image[data-v-86b9f3af]{position:absolute}.editable-element-image.lock .element-content[data-v-86b9f3af]{cursor:default}.rotate-wrapper[data-v-86b9f3af]{width:100%;height:100%}.element-content[data-v-86b9f3af]{width:100%;height:100%;position:relative;cursor:move}.element-content .image-content[data-v-86b9f3af]{width:100%;height:100%;overflow:hidden;position:relative}.element-content img[data-v-86b9f3af]{position:absolute}.color-mask[data-v-86b9f3af]{position:absolute;top:0;bottom:0;left:0;right:0}svg[data-v-e2ef58f5]{overflow:visible;position:absolute;top:0;left:0}.prosemirror-editor[data-v-d7122e81]{cursor:text}.prosemirror-editor.format-painter[data-v-d7122e81]{cursor:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcuMzUuMDEybC0uMDY2Ljk5OGE1LjI3MSA1LjI3MSAwIDAwLTEuMTg0LjA2IDMuOCAzLjggMCAwMC0uOTMzLjQ3MmMtLjQ0LjM1Ni0uNzgzLjgxMS0uOTk4IDEuMzI0bC4wMTgtLjAzNnY1LjEyaDEuMDR2Ljk4aC0xLjA0bC0uMDAyIDQuMTVjLjE4Ny40MjYuNDYuODEuNzkxIDEuMTE3bC4xNzUuMTUyYy4yOTMuMjA4LjYxNS4zNzMuODkuNDcyLjQxLjA4Mi44My4xMTIgMS4yNDkuMDlsLjA1Ny45OTlhNi4wNjMgNi4wNjMgMCAwMS0xLjU4OC0uMTI5IDQuODM2IDQuODM2IDAgMDEtMS4yNS0uNjQ3IDQuNDYzIDQuNDYzIDAgMDEtLjgzOC0uODgzYy0uMjI0LjMzMi0uNS42NDItLjgyNC45MjdhNC4xMSA0LjExIDAgMDEtMS4zMDUuNjMzQTYuMTI2IDYuMTI2IDAgMDEwIDE1LjkwOWwuMDY4LS45OTdjLjQyNC4wMjYuODUtLjAwMSAxLjIxNy0uMDcuMzM2LS4wOTkuNjUxLS4yNTQuODk0LS40My40My0uMzguNzY1LS44NDcuOTgyLTEuMzY4bC0uMDA1LjAxNFY4LjkzSDIuMTE1di0uOThoMS4wNFYyLjg2MmEzLjc3IDMuNzcgMCAwMC0uNzc0LTEuMTY3bC0uMTY1LS4xNTZhMy4wNjQgMy4wNjQgMCAwMC0uODgtLjQ0OEE1LjA2MiA1LjA2MiAwIDAwLjA2NyAxLjAxTDAgLjAxMmE2LjE0IDYuMTQgMCAwMTEuNTkyLjExYy40NTMuMTM1Ljg3Ny4zNDUgMS4yOS42NS4zLjI2NS41NjUuNTY0Ljc4Ny44OS4yMzMtLjMzMS41Mi0uNjM0Ljg1My0uOTA0YTQuODM1IDQuODM1IDAgMDExLjMtLjY0OEE2LjE1NSA2LjE1NSAwIDAxNy4zNS4wMTJ6IiBmaWxsPSIjMEQwRDBEIi8+PHBhdGggZD0iTTE3LjM1IDE0LjVsNC41LTQuNS02LTZjLTIgMi0zIDItNS41IDIuNS40IDMuMiA0LjgzMyA2LjY2NyA3IDh6bTQuNTg4LTQuNDkzYS4zLjMgMCAwMC40MjQgMGwuNjgtLjY4YTEuNSAxLjUgMCAwMDAtMi4xMjJMMjEuNjkgNS44NTNsMi4wMjUtMS41ODNhMS42MjkgMS42MjkgMCAxMC0yLjI3OS0yLjI5NmwtMS42MDMgMi4wMjItMS4zNTctMS4zNTdhMS41IDEuNSAwIDAwLTIuMTIxIDBsLS42OC42OGEuMy4zIDAgMDAwIC40MjVsNi4yNjMgNi4yNjN6IiBmaWxsPSIjZmZmIi8+PHBhdGggZD0iTTE1Ljg5MiAzLjk2MnMtMS4wMyAxLjIwMi0yLjQ5NCAxLjg5Yy0xLjAwNi40NzQtMi4xOC41ODYtMi43MzQuNjI3LS4yLjAxNS0uMzQ0LjIxLS4yNzYuMzk5LjI5Mi44MiAxLjExMiAyLjggMi42NTggNC4zNDYgMi4xMjYgMi4xMjcgMy42NTggMi45NjggNC4xNDIgMy4yMDMuMS4wNDguMjE0LjAzLjI5OC0uMDQyLjM4Ni0uMzI1IDEuNS0xLjI3NyAyLjIxLTEuOTg2Ljg5Mi0uODg5IDIuMTg3LTIuNDQ3IDIuMTg3LTIuNDQ3bS40NzkuMDU1YS4zLjMgMCAwMS0uNDI0IDBsLTYuMjY0LTYuMjYzYS4zLjMgMCAwMTAtLjQyNWwuNjgtLjY4YTEuNSAxLjUgMCAwMTIuMTIyIDBsMS4zNTcgMS4zNTcgMS42MDMtMi4wMjJhMS42MjkgMS42MjkgMCAxMTIuMjggMi4yOTZMMjEuNjkgNS44NTNsMS4zNTIgMS4zNTJhMS41IDEuNSAwIDAxMCAyLjEyMmwtLjY4LjY4eiIgc3Ryb2tlPSIjMzMzIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+PC9zdmc+) 2 5,default!important}.editable-element-text[data-v-3b68a2d9]{position:absolute}.editable-element-text.lock .element-content[data-v-3b68a2d9]{cursor:default}.rotate-wrapper[data-v-3b68a2d9]{width:100%;height:100%}.element-content[data-v-3b68a2d9]{position:relative;padding:10px;line-height:1.5;word-break:break-word;cursor:move}.element-content .text[data-v-3b68a2d9]{position:relative}.element-content[data-v-3b68a2d9] a{cursor:text}.drag-handler[data-v-3b68a2d9]{height:10px;position:absolute;left:0;right:0}.drag-handler.top[data-v-3b68a2d9]{top:0}.drag-handler.bottom[data-v-3b68a2d9]{bottom:0}.editable-element-shape[data-v-f67a7b76]{position:absolute;pointer-events:none}.editable-element-shape.lock .element-content[data-v-f67a7b76]{cursor:default}.editable-element-shape.format-painter .element-content[data-v-f67a7b76]{cursor:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzQiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTIuNzUgMTMuNzY0VjEuNDIxYS4zLjMgMCAwMS40NDgtLjI2bDEwLjkxIDYuMTk3YS4zLjMgMCAwMS0uMTE2LjU1OWwtNC4xOTYuNDQyIDIuNTgyIDQuNDcyYS4zLjMgMCAwMS0uMTEuNDFsLTMuMTg0IDEuODM4YS4zLjMgMCAwMS0uNDEtLjExbC0yLjU4MS00LjQ3Mi0yLjgxIDMuNDU2YS4zLjMgMCAwMS0uNTMzLS4xODl6IiBmaWxsPSIjZmZmIiBzdHJva2U9IiMzMzMiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz48cGF0aCBkPSJNMjYgMTQuNWw0LjUtNC41LTYtNmMtMiAyLTMgMi01LjUgMi41LjQgMy4yIDQuODMzIDYuNjY3IDcgOHptNC41ODgtNC40OTRhLjMuMyAwIDAwLjQyNCAwbC42OC0uNjhhMS41IDEuNSAwIDAwMC0yLjEyMUwzMC4zNCA1Ljg1MmwyLjAyNi0xLjU4MmExLjYyOSAxLjYyOSAwIDEwLTIuMjgtMi4yOTZsLTEuNjAzIDIuMDIxLTEuMzU3LTEuMzU2YTEuNSAxLjUgMCAwMC0yLjEyIDBsLS42ODEuNjhhLjMuMyAwIDAwMCAuNDI0bDYuMjYzIDYuMjYzeiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik0yNC41NDMgMy45NjFzLTEuMDMgMS4yMDItMi40OTQgMS44OTFjLTEuMDA2LjQ3NC0yLjE4MS41ODUtMi43MzQuNjI3LS4yLjAxNC0uMzQ0LjIwOS0uMjc3LjM5OC4yOTMuODIgMS4xMTIgMi44MDEgMi42NTggNC4zNDcgMi4xMjYgMi4xMjYgMy42NTkgMi45NjggNC4xNDIgMy4yMDIuMS4wNDguMjE1LjAzLjI5OS0uMDQxLjM4NS0uMzI2IDEuNS0xLjI3NyAyLjIxLTEuOTg2Ljg5MS0uODkgMi4xODYtMi40NDggMi4xODYtMi40NDhtLjQ4LjA1NWEuMy4zIDAgMDEtLjQyNSAwbC02LjI2My02LjI2M2EuMy4zIDAgMDEwLS40MjRsLjY4LS42OGExLjUgMS41IDAgMDEyLjEyMiAwbDEuMzU2IDEuMzU2IDEuNjA0LTIuMDIxYTEuNjI5IDEuNjI5IDAgMTEyLjI3OSAyLjI5NkwzMC4zNCA1Ljg1MmwxLjM1MyAxLjM1M2ExLjUgMS41IDAgMDEwIDIuMTIxbC0uNjguNjh6IiBzdHJva2U9IiMzMzMiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiLz48L3N2Zz4=) 2 5,default!important}.rotate-wrapper[data-v-f67a7b76]{width:100%;height:100%}.element-content[data-v-f67a7b76]{width:100%;height:100%;position:relative;cursor:move}.element-content svg[data-v-f67a7b76]{transform-origin:0 0;overflow:visible}.element-content .shape-path[data-v-f67a7b76]{pointer-events:all}.shape-text[data-v-f67a7b76]{position:absolute;top:0;bottom:0;left:0;right:0;display:flex;flex-direction:column;padding:10px;line-height:1.2;word-break:break-word;pointer-events:none}.shape-text.editable[data-v-f67a7b76]{pointer-events:all}.shape-text.top[data-v-f67a7b76]{justify-content:flex-start}.shape-text.middle[data-v-f67a7b76]{justify-content:center}.shape-text.bottom[data-v-f67a7b76]{justify-content:flex-end}.editable-element-shape[data-v-7ecafe01]{position:absolute;pointer-events:none}.editable-element-shape.lock .line-path[data-v-7ecafe01],.editable-element-shape.lock .line-point[data-v-7ecafe01]{cursor:default}.element-content[data-v-7ecafe01]{width:100%;height:100%;position:relative}.element-content svg[data-v-7ecafe01]{transform-origin:0 0;overflow:visible}.line-path[data-v-7ecafe01],.line-point[data-v-7ecafe01]{pointer-events:all;cursor:move}.ct-label{fill:#0006;color:#0006;font-size:.75rem;line-height:1}.ct-chart-bar .ct-label,.ct-chart-line .ct-label{display:flex}.ct-chart-donut .ct-label,.ct-chart-pie .ct-label{dominant-baseline:central}.ct-label.ct-horizontal.ct-start{align-items:flex-end;justify-content:flex-start;text-align:left}.ct-label.ct-horizontal.ct-end{align-items:flex-start;justify-content:flex-start;text-align:left}.ct-label.ct-vertical.ct-start{align-items:flex-end;justify-content:flex-end;text-align:right}.ct-label.ct-vertical.ct-end{align-items:flex-end;justify-content:flex-start;text-align:left}.ct-chart-bar .ct-label.ct-horizontal.ct-start{align-items:flex-end;justify-content:center;text-align:center}.ct-chart-bar .ct-label.ct-horizontal.ct-end{align-items:flex-start;justify-content:center;text-align:center}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-horizontal.ct-start{align-items:flex-end;justify-content:flex-start;text-align:left}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-horizontal.ct-end{align-items:flex-start;justify-content:flex-start;text-align:left}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-vertical.ct-start{align-items:center;justify-content:flex-end;text-align:right}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-vertical.ct-end{align-items:center;justify-content:flex-start;text-align:left}.ct-grid{stroke:#0003;stroke-width:1px;stroke-dasharray:2px}.ct-grid-background{fill:none}.ct-point{stroke-width:10px;stroke-linecap:round}.ct-line{fill:none;stroke-width:4px}.ct-area{stroke:none;fill-opacity:.1}.ct-bar{fill:none;stroke-width:10px}.ct-slice-donut{fill:none;stroke-width:60px}.ct-series-a .ct-bar,.ct-series-a .ct-line,.ct-series-a .ct-point,.ct-series-a .ct-slice-donut{stroke:#d70206}.ct-series-a .ct-area,.ct-series-a .ct-slice-pie{fill:#d70206}.ct-series-b .ct-bar,.ct-series-b .ct-line,.ct-series-b .ct-point,.ct-series-b .ct-slice-donut{stroke:#f05b4f}.ct-series-b .ct-area,.ct-series-b .ct-slice-pie{fill:#f05b4f}.ct-series-c .ct-bar,.ct-series-c .ct-line,.ct-series-c .ct-point,.ct-series-c .ct-slice-donut{stroke:#f4c63d}.ct-series-c .ct-area,.ct-series-c .ct-slice-pie{fill:#f4c63d}.ct-series-d .ct-bar,.ct-series-d .ct-line,.ct-series-d .ct-point,.ct-series-d .ct-slice-donut{stroke:#d17905}.ct-series-d .ct-area,.ct-series-d .ct-slice-pie{fill:#d17905}.ct-series-e .ct-bar,.ct-series-e .ct-line,.ct-series-e .ct-point,.ct-series-e .ct-slice-donut{stroke:#453d3f}.ct-series-e .ct-area,.ct-series-e .ct-slice-pie{fill:#453d3f}.ct-series-f .ct-bar,.ct-series-f .ct-line,.ct-series-f .ct-point,.ct-series-f .ct-slice-donut{stroke:#59922b}.ct-series-f .ct-area,.ct-series-f .ct-slice-pie{fill:#59922b}.ct-series-g .ct-bar,.ct-series-g .ct-line,.ct-series-g .ct-point,.ct-series-g .ct-slice-donut{stroke:#0544d3}.ct-series-g .ct-area,.ct-series-g .ct-slice-pie{fill:#0544d3}.ct-series-h .ct-bar,.ct-series-h .ct-line,.ct-series-h .ct-point,.ct-series-h .ct-slice-donut{stroke:#6b0392}.ct-series-h .ct-area,.ct-series-h .ct-slice-pie{fill:#6b0392}.ct-series-i .ct-bar,.ct-series-i .ct-line,.ct-series-i .ct-point,.ct-series-i .ct-slice-donut{stroke:#e6805e}.ct-series-i .ct-area,.ct-series-i .ct-slice-pie{fill:#e6805e}.ct-series-j .ct-bar,.ct-series-j .ct-line,.ct-series-j .ct-point,.ct-series-j .ct-slice-donut{stroke:#dda458}.ct-series-j .ct-area,.ct-series-j .ct-slice-pie{fill:#dda458}.ct-series-k .ct-bar,.ct-series-k .ct-line,.ct-series-k .ct-point,.ct-series-k .ct-slice-donut{stroke:#eacf7d}.ct-series-k .ct-area,.ct-series-k .ct-slice-pie{fill:#eacf7d}.ct-series-l .ct-bar,.ct-series-l .ct-line,.ct-series-l .ct-point,.ct-series-l .ct-slice-donut{stroke:#86797d}.ct-series-l .ct-area,.ct-series-l .ct-slice-pie{fill:#86797d}.ct-series-m .ct-bar,.ct-series-m .ct-line,.ct-series-m .ct-point,.ct-series-m .ct-slice-donut{stroke:#b2c326}.ct-series-m .ct-area,.ct-series-m .ct-slice-pie{fill:#b2c326}.ct-series-n .ct-bar,.ct-series-n .ct-line,.ct-series-n .ct-point,.ct-series-n .ct-slice-donut{stroke:#6188e2}.ct-series-n .ct-area,.ct-series-n .ct-slice-pie{fill:#6188e2}.ct-series-o .ct-bar,.ct-series-o .ct-line,.ct-series-o .ct-point,.ct-series-o .ct-slice-donut{stroke:#a748ca}.ct-series-o .ct-area,.ct-series-o .ct-slice-pie{fill:#a748ca}.ct-square{display:block;position:relative;width:100%}.ct-square:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:100%}.ct-square:after{content:"";display:table;clear:both}.ct-square>svg{display:block;position:absolute;top:0;left:0}.ct-minor-second{display:block;position:relative;width:100%}.ct-minor-second:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:93.75%}.ct-minor-second:after{content:"";display:table;clear:both}.ct-minor-second>svg{display:block;position:absolute;top:0;left:0}.ct-major-second{display:block;position:relative;width:100%}.ct-major-second:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:88.8888888889%}.ct-major-second:after{content:"";display:table;clear:both}.ct-major-second>svg{display:block;position:absolute;top:0;left:0}.ct-minor-third{display:block;position:relative;width:100%}.ct-minor-third:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:83.3333333333%}.ct-minor-third:after{content:"";display:table;clear:both}.ct-minor-third>svg{display:block;position:absolute;top:0;left:0}.ct-major-third{display:block;position:relative;width:100%}.ct-major-third:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:80%}.ct-major-third:after{content:"";display:table;clear:both}.ct-major-third>svg{display:block;position:absolute;top:0;left:0}.ct-perfect-fourth{display:block;position:relative;width:100%}.ct-perfect-fourth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:75%}.ct-perfect-fourth:after{content:"";display:table;clear:both}.ct-perfect-fourth>svg{display:block;position:absolute;top:0;left:0}.ct-perfect-fifth{display:block;position:relative;width:100%}.ct-perfect-fifth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:66.6666666667%}.ct-perfect-fifth:after{content:"";display:table;clear:both}.ct-perfect-fifth>svg{display:block;position:absolute;top:0;left:0}.ct-minor-sixth{display:block;position:relative;width:100%}.ct-minor-sixth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:62.5%}.ct-minor-sixth:after{content:"";display:table;clear:both}.ct-minor-sixth>svg{display:block;position:absolute;top:0;left:0}.ct-golden-section{display:block;position:relative;width:100%}.ct-golden-section:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:61.804697157%}.ct-golden-section:after{content:"";display:table;clear:both}.ct-golden-section>svg{display:block;position:absolute;top:0;left:0}.ct-major-sixth{display:block;position:relative;width:100%}.ct-major-sixth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:60%}.ct-major-sixth:after{content:"";display:table;clear:both}.ct-major-sixth>svg{display:block;position:absolute;top:0;left:0}.ct-minor-seventh{display:block;position:relative;width:100%}.ct-minor-seventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:56.25%}.ct-minor-seventh:after{content:"";display:table;clear:both}.ct-minor-seventh>svg{display:block;position:absolute;top:0;left:0}.ct-major-seventh{display:block;position:relative;width:100%}.ct-major-seventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:53.3333333333%}.ct-major-seventh:after{content:"";display:table;clear:both}.ct-major-seventh>svg{display:block;position:absolute;top:0;left:0}.ct-octave{display:block;position:relative;width:100%}.ct-octave:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:50%}.ct-octave:after{content:"";display:table;clear:both}.ct-octave>svg{display:block;position:absolute;top:0;left:0}.ct-major-tenth{display:block;position:relative;width:100%}.ct-major-tenth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:40%}.ct-major-tenth:after{content:"";display:table;clear:both}.ct-major-tenth>svg{display:block;position:absolute;top:0;left:0}.ct-major-eleventh{display:block;position:relative;width:100%}.ct-major-eleventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:37.5%}.ct-major-eleventh:after{content:"";display:table;clear:both}.ct-major-eleventh>svg{display:block;position:absolute;top:0;left:0}.ct-major-twelfth{display:block;position:relative;width:100%}.ct-major-twelfth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:33.3333333333%}.ct-major-twelfth:after{content:"";display:table;clear:both}.ct-major-twelfth>svg{display:block;position:absolute;top:0;left:0}.ct-double-octave{display:block;position:relative;width:100%}.ct-double-octave:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:25%}.ct-double-octave:after{content:"";display:table;clear:both}.ct-double-octave>svg{display:block;position:absolute;top:0;left:0}.chart[data-v-5b4061b3]{display:flex}.chart-content[data-v-5b4061b3]{transform-origin:0 0}.chart-content{--theme-color-1: #666;--theme-color-2: #666;--theme-color-3: #666;--theme-color-4: #666;--theme-color-5: #666;--theme-color-6: #666;--theme-color-7: #666;--theme-color-8: #666;--theme-color-9: #666;--theme-color-10: #666;--grid-color: rgba(0, 0, 0, .4)}.chart-content .ct-series-a .ct-line,.chart-content .ct-series-a .ct-point{stroke:var(--theme-color-1)}.chart-content .ct-series-a .ct-area{fill:var(--theme-color-1)}.chart-content .ct-series-a .ct-bar{stroke:var(--theme-color-1)}.chart-content .ct-series-a .ct-slice-pie{fill:var(--theme-color-1)}.chart-content .ct-series-a .ct-slice-donut{stroke:var(--theme-color-1)}.chart-content .ct-series-b .ct-line,.chart-content .ct-series-b .ct-point{stroke:var(--theme-color-2)}.chart-content .ct-series-b .ct-area{fill:var(--theme-color-2)}.chart-content .ct-series-b .ct-bar{stroke:var(--theme-color-2)}.chart-content .ct-series-b .ct-slice-pie{fill:var(--theme-color-2)}.chart-content .ct-series-b .ct-slice-donut{stroke:var(--theme-color-2)}.chart-content .ct-series-c .ct-line,.chart-content .ct-series-c .ct-point{stroke:var(--theme-color-3)}.chart-content .ct-series-c .ct-area{fill:var(--theme-color-3)}.chart-content .ct-series-c .ct-bar{stroke:var(--theme-color-3)}.chart-content .ct-series-c .ct-slice-pie{fill:var(--theme-color-3)}.chart-content .ct-series-c .ct-slice-donut{stroke:var(--theme-color-3)}.chart-content .ct-series-d .ct-line,.chart-content .ct-series-d .ct-point{stroke:var(--theme-color-4)}.chart-content .ct-series-d .ct-area{fill:var(--theme-color-4)}.chart-content .ct-series-d .ct-bar{stroke:var(--theme-color-4)}.chart-content .ct-series-d .ct-slice-pie{fill:var(--theme-color-4)}.chart-content .ct-series-d .ct-slice-donut{stroke:var(--theme-color-4)}.chart-content .ct-series-e .ct-line,.chart-content .ct-series-e .ct-point{stroke:var(--theme-color-5)}.chart-content .ct-series-e .ct-area{fill:var(--theme-color-5)}.chart-content .ct-series-e .ct-bar{stroke:var(--theme-color-5)}.chart-content .ct-series-e .ct-slice-pie{fill:var(--theme-color-5)}.chart-content .ct-series-e .ct-slice-donut{stroke:var(--theme-color-5)}.chart-content .ct-series-f .ct-line,.chart-content .ct-series-f .ct-point{stroke:var(--theme-color-6)}.chart-content .ct-series-f .ct-area{fill:var(--theme-color-6)}.chart-content .ct-series-f .ct-bar{stroke:var(--theme-color-6)}.chart-content .ct-series-f .ct-slice-pie{fill:var(--theme-color-6)}.chart-content .ct-series-f .ct-slice-donut{stroke:var(--theme-color-6)}.chart-content .ct-series-g .ct-line,.chart-content .ct-series-g .ct-point{stroke:var(--theme-color-7)}.chart-content .ct-series-g .ct-area{fill:var(--theme-color-7)}.chart-content .ct-series-g .ct-bar{stroke:var(--theme-color-7)}.chart-content .ct-series-g .ct-slice-pie{fill:var(--theme-color-7)}.chart-content .ct-series-g .ct-slice-donut{stroke:var(--theme-color-7)}.chart-content .ct-series-h .ct-line,.chart-content .ct-series-h .ct-point{stroke:var(--theme-color-8)}.chart-content .ct-series-h .ct-area{fill:var(--theme-color-8)}.chart-content .ct-series-h .ct-bar{stroke:var(--theme-color-8)}.chart-content .ct-series-h .ct-slice-pie{fill:var(--theme-color-8)}.chart-content .ct-series-h .ct-slice-donut{stroke:var(--theme-color-8)}.chart-content .ct-series-i .ct-line,.chart-content .ct-series-i .ct-point{stroke:var(--theme-color-9)}.chart-content .ct-series-i .ct-area{fill:var(--theme-color-9)}.chart-content .ct-series-i .ct-bar{stroke:var(--theme-color-9)}.chart-content .ct-series-i .ct-slice-pie{fill:var(--theme-color-9)}.chart-content .ct-series-i .ct-slice-donut{stroke:var(--theme-color-9)}.chart-content .ct-grid{stroke:var(--grid-color)}.chart-content .ct-label{fill:var(--grid-color);color:var(--grid-color)}.legends{height:20px;display:flex;justify-content:center;align-items:center;font-size:14px}.legend{display:flex;align-items:center}.legend+.legend{margin-left:10px}.legend .block{width:10px;height:10px;margin-right:5px}.editable-element-chart[data-v-e98d2ede]{position:absolute}.editable-element-chart.lock .element-content[data-v-e98d2ede]{cursor:default}.rotate-wrapper[data-v-e98d2ede]{width:100%;height:100%}.element-content[data-v-e98d2ede]{width:100%;height:100%;overflow:hidden;cursor:move}.custom-textarea[data-v-cfadb975]{border:0;outline:0;-webkit-user-modify:read-write-plaintext-only}.editable-table[data-v-938823e2]{position:relative;-webkit-user-select:none;user-select:none}table[data-v-938823e2]{width:100%;position:relative;table-layout:fixed;border-collapse:collapse;border-spacing:0;border:0;word-wrap:break-word;-webkit-user-select:none;user-select:none;--themeColor: $themeColor;--subThemeColor1: $themeColor;--subThemeColor2: $themeColor}table.theme[data-v-938823e2]{background-color:#fff}table.theme tr:nth-child(2n) .cell[data-v-938823e2]{background-color:var(--subThemeColor1)}table.theme tr:nth-child(odd) .cell[data-v-938823e2]{background-color:var(--subThemeColor2)}table.theme.row-header tr:first-child .cell[data-v-938823e2]{background-color:var(--themeColor)}table.theme.row-footer tr:last-child .cell[data-v-938823e2]{background-color:var(--themeColor)}table.theme.col-header tr .cell[data-v-938823e2]:first-child{background-color:var(--themeColor)}table.theme.col-footer tr .cell[data-v-938823e2]:last-child{background-color:var(--themeColor)}table .cell[data-v-938823e2]{position:relative;white-space:normal;word-wrap:break-word;vertical-align:middle;font-size:14px;background-clip:padding-box;cursor:default}table .cell.selected[data-v-938823e2]:after{content:"";width:100%;height:100%;position:absolute;top:0;left:0;background-color:#6666}table .cell-text[data-v-938823e2]{padding:5px;line-height:1.5;-webkit-user-select:none;user-select:none;cursor:text}table .cell-text.active[data-v-938823e2]{-webkit-user-select:text;user-select:text}.drag-line[data-v-938823e2]{position:absolute;top:0;bottom:0;width:3px;background-color:#d14424;margin-left:-1px;opacity:0;z-index:2;cursor:col-resize}.editable-element-table[data-v-7795910a]{position:absolute}.editable-element-table.lock .element-content[data-v-7795910a]{cursor:default}.rotate-wrapper[data-v-7795910a]{width:100%;height:100%}.element-content[data-v-7795910a]{width:100%;height:100%;position:relative;cursor:move}.table-mask[data-v-7795910a]{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .2s}.table-mask .mask-tip[data-v-7795910a]{position:absolute;top:5px;left:5px;background-color:#00000080;color:#fff;padding:6px 12px;font-size:12px;transform-origin:0 0}.table-mask[data-v-7795910a]:hover:not(.lock){opacity:.9}.editable-element-latex[data-v-b73586f6]{position:absolute}.editable-element-latex.lock .element-content[data-v-b73586f6]{cursor:default}.rotate-wrapper[data-v-b73586f6]{width:100%;height:100%}.element-content[data-v-b73586f6]{width:100%;height:100%;position:relative;cursor:move}.element-content svg[data-v-b73586f6]{transform-origin:0 0;overflow:visible}.video-player[data-v-597c0901]{position:relative;overflow:hidden;-webkit-user-select:none;user-select:none;line-height:1;transform-origin:0 0}.video-player.hide-controller[data-v-597c0901]{cursor:none}.video-player.hide-controller .controller-mask[data-v-597c0901],.video-player.hide-controller .controller[data-v-597c0901]{opacity:0;transform:translateY(100%)}.video-wrap[data-v-597c0901]{position:relative;background:#000;font-size:0;width:100%;height:100%}.video-wrap .video[data-v-597c0901]{width:100%;height:100%}.controller-mask[data-v-597c0901]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAADGCAYAAAAT+OqFAAAAdklEQVQoz42QQQ7AIAgEF/T/D+kbq/RWAlnQyyazA4aoAB4FsBSA/bFjuF1EOL7VbrIrBuusmrt4ZZORfb6ehbWdnRHEIiITaEUKa5EJqUakRSaEYBJSCY2dEstQY7AuxahwXFrvZmWl2rh4JZ07z9dLtesfNj5q0FU3A5ObbwAAAABJRU5ErkJggg==) repeat-x bottom;height:98px;width:100%;position:absolute;bottom:0;transition:all .3s ease}.controller[data-v-597c0901]{position:absolute;bottom:0;left:0;right:0;height:41px;padding:0 20px;-webkit-user-select:none;user-select:none;transition:all .3s ease}.controller .bar-wrap[data-v-597c0901]{padding:5px 0;cursor:pointer;position:absolute;bottom:33px;width:calc(100% - 40px);height:3px}.controller .bar-wrap:hover .bar .played .thumb[data-v-597c0901]{transform:scale(1)}.controller .bar-wrap .bar-time[data-v-597c0901]{position:absolute;left:0;top:-20px;border-radius:4px;padding:5px 7px;background-color:#0000009e;color:#fff;font-size:12px;text-align:center;opacity:1;transition:opacity .1s ease-in-out;word-wrap:normal;word-break:normal;z-index:2;pointer-events:none}.controller .bar-wrap .bar-time.hidden[data-v-597c0901]{opacity:0}.controller .bar-wrap .bar[data-v-597c0901]{position:relative;height:3px;width:100%;background:#fff3;cursor:pointer}.controller .bar-wrap .bar .loaded[data-v-597c0901]{position:absolute;left:0;top:0;bottom:0;background:#fff6;height:3px;transition:all .5s ease;will-change:width}.controller .bar-wrap .bar .played[data-v-597c0901]{position:absolute;left:0;top:0;bottom:0;height:3px;will-change:width;background-color:#fff}.controller .bar-wrap .bar .played .thumb[data-v-597c0901]{position:absolute;top:0;right:5px;margin-top:-4px;margin-right:-10px;height:11px;width:11px;border-radius:50%;cursor:pointer;transition:all .3s ease-in-out;transform:scale(0);background-color:#fff}.controller .icons[data-v-597c0901]{height:38px;position:absolute;bottom:0;display:flex;align-items:center}.controller .icons.icons-right[data-v-597c0901]{right:15px}.controller .icons .time[data-v-597c0901]{line-height:38px;color:#eee;text-shadow:0 0 2px rgba(0,0,0,.5);vertical-align:middle;font-size:13px;cursor:default}.controller .icons .icon[data-v-597c0901]{width:40px;height:100%;position:relative;cursor:pointer;display:flex;align-items:center;font-size:20px}.controller .icons .icon.play-icon[data-v-597c0901]{font-size:26px}.controller .icons .icon .icon-content[data-v-597c0901]{transition:all .2s ease-in-out;opacity:.8;color:#fff}.controller .icons .icon.loop-icon[data-v-597c0901]{font-size:12px}.controller .icons .icon.loop-icon .icon-content[data-v-597c0901]{opacity:.5}.controller .icons .icon.speed-icon[data-v-597c0901]{font-size:12px;position:relative}.controller .icons .icon .speed-menu[data-v-597c0901]{width:70px;position:absolute;bottom:30px;left:-23px;background-color:#22211b;padding:5px 0;color:#ddd}.controller .icons .icon .speed-menu .speed-menu-item[data-v-597c0901]{padding:8px 0;text-align:center}.controller .icons .icon .speed-menu .speed-menu-item[data-v-597c0901]:hover{background-color:#393833;color:#fff}.controller .icons .icon .speed-menu .speed-menu-item.active[data-v-597c0901]{font-weight:700;color:#fff}.controller .icons .icon.active .icon-content[data-v-597c0901],.controller .icons .icon:hover .icon-content[data-v-597c0901]{opacity:1}.controller .icons .volume[data-v-597c0901]{height:100%;position:relative;cursor:pointer;display:flex;align-items:center}.controller .icons .volume:hover .volume-bar-wrap .volume-bar[data-v-597c0901]{width:45px}.controller .icons .volume:hover .volume-bar-wrap .volume-bar .volume-bar-inner .thumb[data-v-597c0901]{transform:scale(1)}.controller .icons .volume.volume-active .volume-bar-wrap .volume-bar[data-v-597c0901]{width:45px}.controller .icons .volume.volume-active .volume-bar-wrap .volume-bar .volume-bar-inner .thumb[data-v-597c0901]{transform:scale(1)}.controller .icons .volume-bar-wrap[data-v-597c0901]{display:inline-block;margin:0 15px 0 -5px;vertical-align:middle;height:100%}.controller .icons .volume-bar[data-v-597c0901]{position:relative;top:17px;width:0;height:3px;background:#aaa;transition:all .3s ease-in-out}.controller .icons .volume-bar .volume-bar-inner[data-v-597c0901]{position:absolute;bottom:0;left:0;height:100%;transition:all .1s ease;will-change:width;background-color:#fff}.controller .icons .volume-bar .volume-bar-inner .thumb[data-v-597c0901]{position:absolute;top:0;right:5px;margin-top:-4px;margin-right:-10px;height:11px;width:11px;border-radius:50%;cursor:pointer;transition:all .3s ease-in-out;transform:scale(0);background-color:#fff}.controller .icons .loop[data-v-597c0901]{display:inline-block;height:100%}.bezel[data-v-597c0901]{position:absolute;left:0;right:0;top:0;bottom:0;font-size:22px;color:#fff;pointer-events:none}.bezel .bezel-icon[data-v-597c0901]{position:absolute;top:50%;left:50%;margin:-26px 0 0 -26px;height:52px;width:52px;padding:12px;display:flex;justify-content:center;align-items:center;background:#00000080;border-radius:50%;opacity:0;pointer-events:none;font-size:40px}.bezel .bezel-icon.bezel-transition[data-v-597c0901]{animation:bezel-hide-597c0901 .5s linear}@keyframes bezel-hide-597c0901{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(2)}}.load-error[data-v-597c0901]{position:absolute;left:0;right:0;top:0;bottom:0;font-size:15px;color:#fff;pointer-events:none;display:flex;justify-content:center;align-items:center}.editable-element-video[data-v-c50d3bc7]{position:absolute}.editable-element-video.lock .handler-border[data-v-c50d3bc7]{cursor:default}.rotate-wrapper[data-v-c50d3bc7]{width:100%;height:100%}.element-content[data-v-c50d3bc7]{width:100%;height:100%;position:relative}.handler-border[data-v-c50d3bc7]{position:absolute;cursor:move}.handler-border.t[data-v-c50d3bc7]{width:100%;height:20px;top:0;left:0}.handler-border.b[data-v-c50d3bc7]{width:100%;height:5px;bottom:0;left:0}.handler-border.l[data-v-c50d3bc7]{width:10px;height:100%;left:0;top:0}.handler-border.r[data-v-c50d3bc7]{width:10px;height:100%;right:0;top:0}.audio-player[data-v-32038f5c]{width:280px;height:50px;position:relative;-webkit-user-select:none;user-select:none;line-height:1;transform-origin:0 0;background:#000}.controller[data-v-32038f5c]{position:absolute;bottom:0;left:0;right:0;height:41px;padding:0 20px;-webkit-user-select:none;user-select:none;transition:all .3s ease}.controller .bar-wrap[data-v-32038f5c]{padding:5px 0;cursor:pointer;position:absolute;bottom:35px;width:calc(100% - 40px);height:3px}.controller .bar-wrap:hover .bar .played .thumb[data-v-32038f5c]{transform:scale(1)}.controller .bar-wrap .bar-time[data-v-32038f5c]{position:absolute;left:0;top:-20px;border-radius:4px;padding:5px 7px;background-color:#0000009e;color:#fff;font-size:12px;text-align:center;opacity:1;transition:opacity .1s ease-in-out;word-wrap:normal;word-break:normal;z-index:2;pointer-events:none}.controller .bar-wrap .bar-time.hidden[data-v-32038f5c]{opacity:0}.controller .bar-wrap .bar[data-v-32038f5c]{position:relative;height:3px;width:100%;background:#fff3;cursor:pointer}.controller .bar-wrap .bar .loaded[data-v-32038f5c]{position:absolute;left:0;top:0;bottom:0;background:#fff6;height:3px;transition:all .5s ease;will-change:width}.controller .bar-wrap .bar .played[data-v-32038f5c]{position:absolute;left:0;top:0;bottom:0;height:3px;will-change:width;background-color:#fff}.controller .bar-wrap .bar .played .thumb[data-v-32038f5c]{position:absolute;top:0;right:5px;margin-top:-4px;margin-right:-10px;height:11px;width:11px;border-radius:50%;cursor:pointer;transition:all .3s ease-in-out;transform:scale(0);background-color:#fff}.controller .icons[data-v-32038f5c]{height:38px;position:absolute;bottom:0;left:14px;display:flex;align-items:center}.controller .icons .icon[data-v-32038f5c]{width:36px;height:100%;position:relative;cursor:pointer;display:flex;align-items:center;font-size:20px}.controller .icons .icon.play-icon[data-v-32038f5c]{font-size:26px}.controller .icons .icon .icon-content[data-v-32038f5c]{transition:all .2s ease-in-out;opacity:.8;color:#fff}.controller .icons .icon.active .icon-content[data-v-32038f5c],.controller .icons .icon:hover .icon-content[data-v-32038f5c]{opacity:1}.controller .icons .volume[data-v-32038f5c]{height:100%;position:relative;cursor:pointer;display:flex;align-items:center}.controller .icons .volume:hover .volume-bar-wrap .volume-bar[data-v-32038f5c]{width:45px}.controller .icons .volume:hover .volume-bar-wrap .volume-bar .volume-bar-inner .thumb[data-v-32038f5c]{transform:scale(1)}.controller .icons .volume.volume-active .volume-bar-wrap .volume-bar[data-v-32038f5c]{width:45px}.controller .icons .volume.volume-active .volume-bar-wrap .volume-bar .volume-bar-inner .thumb[data-v-32038f5c]{transform:scale(1)}.controller .icons .volume-bar-wrap[data-v-32038f5c]{display:inline-block;margin:0 15px 0 -5px;vertical-align:middle;height:100%}.controller .icons .volume-bar[data-v-32038f5c]{position:relative;top:17px;width:0;height:3px;background:#aaa;transition:all .3s ease-in-out}.controller .icons .volume-bar .volume-bar-inner[data-v-32038f5c]{position:absolute;bottom:0;left:0;height:100%;transition:all .1s ease;will-change:width;background-color:#fff}.controller .icons .volume-bar .volume-bar-inner .thumb[data-v-32038f5c]{position:absolute;top:0;right:5px;margin-top:-4px;margin-right:-10px;height:11px;width:11px;border-radius:50%;cursor:pointer;transition:all .3s ease-in-out;transform:scale(0);background-color:#fff}.controller .time[data-v-32038f5c]{height:38px;position:absolute;right:20px;bottom:0;display:flex;align-items:center;line-height:38px;color:#eee;text-shadow:0 0 2px rgba(0,0,0,.5);vertical-align:middle;font-size:13px;cursor:default}.controller .time .ptime[data-v-32038f5c]{margin-right:2px}.controller .time .dtime[data-v-32038f5c]{margin-left:2px}.editable-element-audio[data-v-07f623ea]{position:absolute}.editable-element-audio.lock .audio-icon[data-v-07f623ea]{cursor:default}.rotate-wrapper[data-v-07f623ea]{width:100%;height:100%}.element-content[data-v-07f623ea]{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.audio-icon[data-v-07f623ea]{cursor:move}.audio-player[data-v-07f623ea]{position:absolute}.mouse-selection[data-v-053bfa3e]{position:absolute;background-color:#d144241a;border:1px solid #d14424;z-index:200}.mouse-selection.quadrant-1[data-v-053bfa3e]{transform-origin:50% 0;transform:rotate(180deg)}.mouse-selection.quadrant-2[data-v-053bfa3e]{transform-origin:0 0;transform:rotate(180deg)}.mouse-selection.quadrant-3[data-v-053bfa3e]{transform-origin:0 50%;transform:rotate(180deg)}.mouse-selection.quadrant-4[data-v-053bfa3e]{transform-origin:0 0;transform:rotate(0)}.grid-lines[data-v-93264269]{width:100%;height:100%;overflow:visible;z-index:999;pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0}.viewport-background[data-v-203ea8ff]{width:100%;height:100%;background-position:center;position:absolute}.alignment-line[data-v-7cd3d25d]{position:absolute;z-index:100}.alignment-line .line[data-v-7cd3d25d]{width:0;height:0;border:0 dashed #d14424}.alignment-line .line.vertical[data-v-7cd3d25d]{transform:translateY(-.5px);border-left-width:1px}.alignment-line .line.horizontal[data-v-7cd3d25d]{transform:translate(-.5px);border-top-width:1px}.ruler[data-v-c6df5cc2]{font-size:12px}.h[data-v-c6df5cc2]{position:absolute;background-color:#fff;border:1px solid #e5e7eb;height:20px;top:5px;display:flex;justify-content:space-between;align-items:center;overflow:hidden}.h .range[data-v-c6df5cc2]{position:absolute;top:0;bottom:0;background-color:#d144241a}.h .ruler-marker-100[data-v-c6df5cc2]{height:100%;line-height:20px;text-align:right;flex-shrink:0;padding-right:5px;position:relative}.h .ruler-marker-100.hide span[data-v-c6df5cc2]{display:none}.h .ruler-marker-100.omit[data-v-c6df5cc2]:before{display:none}.h .ruler-marker-100[data-v-c6df5cc2]:not(:last-child):after{content:"";width:.1px;height:12px;position:absolute;right:0;bottom:0;background-color:#999}.h .ruler-marker-100[data-v-c6df5cc2]:before{content:"";width:.1px;height:8px;position:absolute;right:50%;bottom:0;background-color:#999}.v[data-v-c6df5cc2]{position:absolute;background-color:#fff;border:1px solid #e5e7eb;width:20px;left:5px;overflow:hidden}.v .range[data-v-c6df5cc2]{position:absolute;left:0;right:0;background-color:#d144241a}.v .ruler-marker-100[data-v-c6df5cc2]{width:100%;line-height:20px;text-align:right;padding-bottom:5px;position:relative;writing-mode:vertical-rl}.v .ruler-marker-100.hide span[data-v-c6df5cc2]{display:none}.v .ruler-marker-100.omit[data-v-c6df5cc2]:before{display:none}.v .ruler-marker-100[data-v-c6df5cc2]:not(:last-child):after{content:"";height:.1px;width:12px;position:absolute;bottom:0;right:0;background-color:#999}.v .ruler-marker-100[data-v-c6df5cc2]:before{content:"";height:.1px;width:8px;position:absolute;bottom:50%;right:0;background-color:#999}.element-create-selection[data-v-7b17a883]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:2;cursor:crosshair}.element-create-selection svg[data-v-7b17a883]{overflow:visible}.selection[data-v-7b17a883]{position:absolute;opacity:.8}.selection[data-v-7b17a883]:not(.line){border:1px solid #d14424}.shape-create-canvas[data-v-8ea8c340]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:2;cursor:crosshair}.shape-create-canvas svg[data-v-8ea8c340]{width:100%;height:100%;overflow:visible}.resize-handler[data-v-bb3f9e62]{position:absolute;width:10px;height:10px;left:0;top:0;margin:-5px 0 0 -5px;border:1px solid #d14424;background-color:#fff;border-radius:1px;cursor:pointer}.resize-handler.left-top.rotate-0[data-v-bb3f9e62],.resize-handler.right-bottom.rotate-0[data-v-bb3f9e62],.resize-handler.left.rotate-45[data-v-bb3f9e62],.resize-handler.right.rotate-45[data-v-bb3f9e62],.resize-handler.left-bottom.rotate-90[data-v-bb3f9e62],.resize-handler.right-top.rotate-90[data-v-bb3f9e62],.resize-handler.top.rotate-135[data-v-bb3f9e62],.resize-handler.bottom.rotate-135[data-v-bb3f9e62]{cursor:nwse-resize}.resize-handler.top.rotate-0[data-v-bb3f9e62],.resize-handler.bottom.rotate-0[data-v-bb3f9e62],.resize-handler.left-top.rotate-45[data-v-bb3f9e62],.resize-handler.right-bottom.rotate-45[data-v-bb3f9e62],.resize-handler.left.rotate-90[data-v-bb3f9e62],.resize-handler.right.rotate-90[data-v-bb3f9e62],.resize-handler.left-bottom.rotate-135[data-v-bb3f9e62],.resize-handler.right-top.rotate-135[data-v-bb3f9e62]{cursor:ns-resize}.resize-handler.left-bottom.rotate-0[data-v-bb3f9e62],.resize-handler.right-top.rotate-0[data-v-bb3f9e62],.resize-handler.top.rotate-45[data-v-bb3f9e62],.resize-handler.bottom.rotate-45[data-v-bb3f9e62],.resize-handler.left-top.rotate-90[data-v-bb3f9e62],.resize-handler.right-bottom.rotate-90[data-v-bb3f9e62],.resize-handler.left.rotate-135[data-v-bb3f9e62],.resize-handler.right.rotate-135[data-v-bb3f9e62]{cursor:nesw-resize}.resize-handler.left.rotate-0[data-v-bb3f9e62],.resize-handler.right.rotate-0[data-v-bb3f9e62],.resize-handler.left-bottom.rotate-45[data-v-bb3f9e62],.resize-handler.right-top.rotate-45[data-v-bb3f9e62],.resize-handler.top.rotate-90[data-v-bb3f9e62],.resize-handler.bottom.rotate-90[data-v-bb3f9e62],.resize-handler.left-top.rotate-135[data-v-bb3f9e62],.resize-handler.right-bottom.rotate-135[data-v-bb3f9e62]{cursor:ew-resize}.border-line[data-v-7114fb45]{position:absolute;width:0;height:0;left:0;top:0;border:0 dashed #d14424}.border-line.top[data-v-7114fb45]{border-top-width:1px}.border-line.bottom[data-v-7114fb45]{border-bottom-width:1px}.border-line.left[data-v-7114fb45]{border-left-width:1px}.border-line.right[data-v-7114fb45]{border-right-width:1px}.border-line.wide[data-v-7114fb45]:before{content:"";position:absolute;background:transparent;cursor:move}.border-line.wide.top[data-v-7114fb45]:before{top:-8px;left:-8px;width:calc(100% + 16px);height:16px}.border-line.wide.bottom[data-v-7114fb45]:before{bottom:-8px;left:-8px;width:calc(100% + 16px);height:16px}.border-line.wide.left[data-v-7114fb45]:before{top:-8px;left:-8px;width:16px;height:calc(100% + 16px)}.border-line.wide.right[data-v-7114fb45]:before{top:-8px;right:-8px;width:16px;height:calc(100% + 16px)}.multi-select-operate[data-v-135c8cb7]{position:absolute;top:0;left:0;z-index:101}.rotate-handler[data-v-9f21fc0f]{position:absolute;width:10px;height:10px;top:-25px;margin-left:-5px;border:1px solid #d14424;background-color:#fff;border-radius:1px;cursor:grab}.rotate-handler[data-v-9f21fc0f]:active{cursor:grabbing}.image-element-operate.cliping[data-v-2a1bef4e]{visibility:hidden}.operate-keypoint-handler[data-v-11747e5a]{position:absolute;width:10px;height:10px;left:0;top:0;margin:-5px 0 0 -5px;border:1px solid #d14424;background-color:#ffe873;border-radius:1px}svg[data-v-9dea4d6a]{position:absolute;left:0;top:0;pointer-events:none;transform-origin:0 0}.anchor-line[data-v-9dea4d6a]{stroke-width:1px;stroke-dasharray:5 5;opacity:.5}.divider.horizontal[data-v-80adabfa]{width:100%;margin:24px 0;border-block-start:1px solid rgba(5,5,5,.06)}.divider.vertical[data-v-80adabfa]{position:relative;height:1em;display:inline-block;margin:0 8px;border-inline-start:1px solid rgba(5,5,5,.06)}.link-handler[data-v-f8f46f78]{height:30px;position:absolute;left:0;font-size:12px;padding:0 10px;background-color:#fff;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;display:flex;align-items:center;color:#d14424}.link[data-v-f8f46f78]{max-width:300px;margin-right:20px;word-break:keep-all;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.btns[data-v-f8f46f78]{display:flex;align-items:center}.btns .btn[data-v-f8f46f78]{word-break:keep-all;cursor:pointer}.operate[data-v-7c6be7e7]{position:absolute;z-index:100;-webkit-user-select:none;user-select:none}.operate.multi-select[data-v-7c6be7e7]{opacity:.2}.animation-index[data-v-7c6be7e7]{position:absolute;top:0;left:-24px;font-size:12px}.animation-index .index-item[data-v-7c6be7e7]{width:18px;height:18px;background-color:#fff;color:#d14424;border:1px solid #d14424;display:flex;justify-content:center;align-items:center}.animation-index .index-item+.index-item[data-v-7c6be7e7]{margin-top:5px}.base-element-image[data-v-67c9bdc0]{position:absolute}.rotate-wrapper[data-v-67c9bdc0]{width:100%;height:100%}.element-content[data-v-67c9bdc0]{width:100%;height:100%;position:relative}.element-content .image-content[data-v-67c9bdc0]{width:100%;height:100%;overflow:hidden;position:relative}.element-content img[data-v-67c9bdc0]{position:absolute}.color-mask[data-v-67c9bdc0]{position:absolute;top:0;bottom:0;left:0;right:0}.base-element-text[data-v-a3ec163d]{position:absolute}.rotate-wrapper[data-v-a3ec163d]{width:100%;height:100%}.element-content[data-v-a3ec163d]{position:relative;padding:10px;line-height:1.5;word-break:break-word}.element-content .text[data-v-a3ec163d]{position:relative}.element-content .text.thumbnail[data-v-a3ec163d]{pointer-events:none}.base-element-shape[data-v-f83934a3]{position:absolute}.rotate-wrapper[data-v-f83934a3]{width:100%;height:100%}.element-content[data-v-f83934a3]{width:100%;height:100%;position:relative}.element-content svg[data-v-f83934a3]{transform-origin:0 0;overflow:visible}.shape-text[data-v-f83934a3]{position:absolute;top:0;bottom:0;left:0;right:0;display:flex;flex-direction:column;padding:10px;line-height:1.2;word-break:break-word}.shape-text.top[data-v-f83934a3]{justify-content:flex-start}.shape-text.middle[data-v-f83934a3]{justify-content:center}.shape-text.bottom[data-v-f83934a3]{justify-content:flex-end}.base-element-line[data-v-e7dc2b42]{position:absolute}.element-content[data-v-e7dc2b42]{width:100%;height:100%;position:relative}.element-content svg[data-v-e7dc2b42]{transform-origin:0 0;overflow:visible}.base-element-chart[data-v-37ca5799]{position:absolute}.rotate-wrapper[data-v-37ca5799],.element-content[data-v-37ca5799]{width:100%;height:100%}.static-table[data-v-6d887dcd]{position:relative;-webkit-user-select:none;user-select:none}table[data-v-6d887dcd]{width:100%;position:relative;table-layout:fixed;border-collapse:collapse;border-spacing:0;border:0;word-wrap:break-word;-webkit-user-select:none;user-select:none;--themeColor: $themeColor;--subThemeColor1: $themeColor;--subThemeColor2: $themeColor}table.theme[data-v-6d887dcd]{background-color:#fff}table.theme tr:nth-child(2n) .cell[data-v-6d887dcd]{background-color:var(--subThemeColor1)}table.theme tr:nth-child(odd) .cell[data-v-6d887dcd]{background-color:var(--subThemeColor2)}table.theme.row-header tr:first-child .cell[data-v-6d887dcd]{background-color:var(--themeColor)}table.theme.row-footer tr:last-child .cell[data-v-6d887dcd]{background-color:var(--themeColor)}table.theme.col-header tr .cell[data-v-6d887dcd]:first-child{background-color:var(--themeColor)}table.theme.col-footer tr .cell[data-v-6d887dcd]:last-child{background-color:var(--themeColor)}table .cell[data-v-6d887dcd]{position:relative;white-space:normal;word-wrap:break-word;vertical-align:middle;background-clip:padding-box}table .cell-text[data-v-6d887dcd]{padding:5px;line-height:1.5}.base-element-table[data-v-77cfa6e4]{position:absolute}.rotate-wrapper[data-v-77cfa6e4]{width:100%;height:100%}.element-content[data-v-77cfa6e4]{width:100%;height:100%;position:relative}.base-element-latex[data-v-93374af9]{position:absolute}.rotate-wrapper[data-v-93374af9]{width:100%;height:100%}.element-content[data-v-93374af9]{width:100%;height:100%;position:relative}.element-content svg[data-v-93374af9]{transform-origin:0 0;overflow:visible}.base-element-video[data-v-2fb0e771]{position:absolute}.rotate-wrapper[data-v-2fb0e771]{width:100%;height:100%}.element-content[data-v-2fb0e771]{width:100%;height:100%;background-color:#000;background-position:center;background-size:contain;background-repeat:no-repeat;display:flex;justify-content:center;align-items:center}.icon[data-v-2fb0e771]{font-size:140px;color:#aaa}.base-element-audio[data-v-b33e6120]{position:absolute}.rotate-wrapper[data-v-b33e6120]{width:100%;height:100%}.element-content[data-v-b33e6120]{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.audio-icon[data-v-b33e6120]{cursor:move}.thumbnail-slide[data-v-c8cdb1af]{background-color:#fff;overflow:hidden;-webkit-user-select:none;user-select:none}.elements[data-v-c8cdb1af]{transform-origin:0 0}.background[data-v-c8cdb1af]{width:100%;height:100%;background-position:center;position:absolute}.placeholder[data-v-c8cdb1af]{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.tabs[data-v-c7f9dce0]{display:flex;-webkit-user-select:none;user-select:none;line-height:1}.tabs[data-v-c7f9dce0]:not(.card){font-size:13px;align-items:center;justify-content:flex-start;border-bottom:1px solid #e5e7eb}.tabs:not(.card).space-around[data-v-c7f9dce0]{justify-content:space-around}.tabs:not(.card).space-between[data-v-c7f9dce0]{justify-content:space-between}.tabs:not(.card) .tab[data-v-c7f9dce0]{text-align:center;border-bottom:2px solid transparent;padding:8px 10px;cursor:pointer}.tabs:not(.card) .tab.active[data-v-c7f9dce0]{border-bottom:2px solid var(--color, #d14424)}.tabs.card[data-v-c7f9dce0]{height:40px;font-size:12px;flex-shrink:0}.tabs.card .tab[data-v-c7f9dce0]{flex:1;display:flex;justify-content:center;align-items:center;background-color:#f9f9f9;border-bottom:1px solid #e5e7eb;cursor:pointer}.tabs.card .tab.active[data-v-c7f9dce0]{background-color:transparent;border-bottom-color:transparent}.tabs.card .tab+.tab[data-v-c7f9dce0]{border-left:1px solid #e5e7eb}.button[data-v-3a484f58]{height:32px;line-height:32px;outline:0;font-size:13px;padding:0 15px;text-align:center;color:#41464b;border-radius:2px;-webkit-user-select:none;user-select:none;letter-spacing:1px;cursor:pointer}.button.small[data-v-3a484f58]{height:24px;line-height:24px;padding:0 7px;letter-spacing:0;font-size:12px}.button.default[data-v-3a484f58]{background-color:#fff;border:1px solid #d9d9d9;color:#41464b}.button.default[data-v-3a484f58]:hover{color:#d14424;border-color:#d14424}.button.primary[data-v-3a484f58]{background-color:#d14424;border:1px solid #d14424;color:#fff}.button.primary[data-v-3a484f58]:hover{background-color:#de6949;border-color:#de6949}.button.checkbox[data-v-3a484f58],.button.radio[data-v-3a484f58]{background-color:#fff;border:1px solid #d9d9d9;color:#41464b}.button.checkbox[data-v-3a484f58]:not(.checked):hover,.button.radio[data-v-3a484f58]:not(.checked):hover{color:#d14424}.button.checked[data-v-3a484f58]{color:#fff;background-color:#d14424;border-color:#d14424}.button.checked[data-v-3a484f58]:hover{background-color:#de6949;border-color:#de6949}.button.disabled[data-v-3a484f58]{background-color:#f5f5f5;border:1px solid #d9d9d9;color:#b7b7b7;cursor:default}.select[data-v-77e63752]{width:100%;height:32px;padding-right:32px;border-radius:2px;transition:border-color .25s;font-size:13px;-webkit-user-select:none;user-select:none;background-color:#fff;border:1px solid #d9d9d9;position:relative;cursor:pointer}.select[data-v-77e63752]:not(.disabled):hover{border-color:#d14424}.select.disabled[data-v-77e63752]{background-color:#f5f5f5;border-color:#dcdcdc;color:#b7b7b7;cursor:default}.select .selector[data-v-77e63752]{min-width:50px;height:30px;line-height:30px;padding-left:10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.options[data-v-77e63752]{max-height:260px;padding:5px;overflow:auto;text-align:left;font-size:13px;-webkit-user-select:none;user-select:none}.option[data-v-77e63752]{height:32px;line-height:32px;padding:0 5px;border-radius:2px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.option.disabled[data-v-77e63752]{color:#b7b7b7}.option[data-v-77e63752]:not(.disabled,.selected):hover{background-color:#d144240d;cursor:pointer}.option.selected[data-v-77e63752]{color:#d14424;font-weight:700}.icon[data-v-77e63752]{width:32px;height:30px;color:#bfbfbf;position:absolute;top:0;right:0;display:flex;justify-content:center;align-items:center}.link-dialog[data-v-853e5bc2]{font-size:13px;line-height:1.675}.input[data-v-853e5bc2]{width:100%;height:32px}.preview[data-v-853e5bc2]{margin-top:12px}.thumbnail[data-v-853e5bc2]{border:1px solid rgba(209,68,36,.15);margin-top:5px;border-radius:2px}.btns[data-v-853e5bc2]{margin-top:20px;text-align:right}.modal[data-v-4d27bcca],.mask[data-v-4d27bcca]{top:0;left:0;width:100%;height:100%;z-index:5000}.modal[data-v-4d27bcca]{position:fixed;display:flex;justify-content:center;align-items:center;outline:0;border:0}.mask[data-v-4d27bcca]{position:absolute;background:#00000040}.modal-content[data-v-4d27bcca]{z-index:5001;padding:20px;background:#fff;border-radius:2px;overflow:hidden;box-shadow:0 1px 3px #0003;position:relative}.close-btn[data-v-4d27bcca]{width:20px;height:20px;display:flex;justify-content:center;align-items:center;position:absolute;top:16px;right:16px;cursor:pointer}.modal-fade-enter-active[data-v-4d27bcca]{animation:modal-fade-enter-4d27bcca .25s both ease-in}.modal-fade-leave-active[data-v-4d27bcca]{animation:modal-fade-leave-4d27bcca .25s both ease-out}.modal-zoom-enter-active[data-v-4d27bcca]{animation:modal-zoom-enter-4d27bcca .25s both cubic-bezier(.4,0,0,1.5)}.modal-zoom-leave-active[data-v-4d27bcca]{animation:modal-zoom-leave-4d27bcca .25s both}@keyframes modal-fade-enter-4d27bcca{0%{opacity:0}}@keyframes modal-fade-leave-4d27bcca{to{opacity:0}}@keyframes modal-zoom-enter-4d27bcca{0%{transform:scale3d(.3,.3,.3)}}@keyframes modal-zoom-leave-4d27bcca{to{transform:scale3d(.3,.3,.3)}}.canvas[data-v-904dbab0]{height:100%;-webkit-user-select:none;user-select:none;overflow:hidden;background-color:#f9f9f9;position:relative}.drag-mask[data-v-904dbab0]{cursor:grab;position:absolute;top:0;right:0;bottom:0;left:0}.viewport-wrapper[data-v-904dbab0]{position:absolute;box-shadow:0 0 0 1px #00000003,0 0 12px #0000001a}.viewport[data-v-904dbab0]{position:absolute;top:0;left:0;transform-origin:0 0}.shape-item-thumbnail[data-v-2896ae03]{position:relative;cursor:pointer}.shape-content[data-v-2896ae03]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center}.shape-content:hover .shape-path[data-v-2896ae03]:not(.outlined){stroke:#d14424}.shape-content:hover .shape-path.outlined[data-v-2896ae03]{fill:#d14424}.shape-content svg[data-v-2896ae03]:not(:root){overflow:visible}.shape-pool[data-v-d87cc3f1]{width:340px;max-height:520px;overflow:auto;margin-top:-8px;margin-bottom:-8px;margin-right:-10px;padding-right:10px;padding-top:10px}.category-name[data-v-d87cc3f1]{width:100%;font-size:13px;margin-bottom:10px;border-left:4px solid #aaa;background-color:#eee;padding:2px 0 2px 10px}.shape-list[data-v-d87cc3f1]{display:flex;flex-wrap:wrap;align-content:flex-start;margin-bottom:10px}.shape-item[data-v-d87cc3f1]{width:8%;margin-bottom:calc(20% / 9);height:0;padding-bottom:8%;flex-shrink:0}.shape-item[data-v-d87cc3f1]:not(:nth-child(10n)){margin-right:calc(20% / 9)}.line-pool[data-v-b07efd40]{width:220px;overflow:auto;margin-bottom:-12px;margin-right:-12px;padding-right:12px}.category-name[data-v-b07efd40]{width:100%;font-size:13px;margin-bottom:10px;border-left:4px solid #aaa;background-color:#eee;padding:2px 0 2px 10px}.line-list[data-v-b07efd40]{display:flex;flex-wrap:wrap;align-content:flex-start;margin-bottom:10px}.line-item[data-v-b07efd40]{width:19%;margin-bottom:1.25%;height:0;padding-bottom:19%;flex-shrink:0;position:relative;cursor:pointer}.line-item[data-v-b07efd40]:not(:nth-child(5n)){margin-right:1.25%}.line-content[data-v-b07efd40]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;color:#999}.line-content[data-v-b07efd40]:hover{color:#d14424}.line-content svg[data-v-b07efd40]:not(:root){overflow:visible}.chart-pool[data-v-a4bc3ce2]{width:200px;margin-bottom:-5px;display:flex;flex-wrap:wrap;align-content:flex-start}.chart-item[data-v-a4bc3ce2]{width:19%;margin-bottom:1.25%;height:0;padding-bottom:19%;flex-shrink:0;position:relative;cursor:pointer}.chart-item[data-v-a4bc3ce2]:not(:nth-child(5n)){margin-right:1.25%}.chart-content[data-v-a4bc3ce2]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;color:#999}.chart-content[data-v-a4bc3ce2]:hover{color:#d14424}.number-input[data-v-ba8ef208]{background-color:#fff;border:1px solid #d9d9d9;padding:0 0 0 5px;border-radius:2px;transition:border-color .25s;font-size:13px;display:inline-flex}.number-input .input-wrap[data-v-ba8ef208]{flex:1;color:#41464b;padding:0 0 0 5px;position:relative}.number-input:not(.disabled) .input-wrap:hover .handlers[data-v-ba8ef208]{opacity:1}.number-input .handlers[data-v-ba8ef208]{width:20px;position:absolute;top:0;bottom:0;right:0;display:flex;flex-direction:column;font-size:6px;color:#999;opacity:0;-webkit-user-select:none;user-select:none;transition:opacity .25s}.number-input .handlers .handler[data-v-ba8ef208]{width:100%;height:50%;display:flex;justify-content:center;align-items:center;border-left:1px solid #d9d9d9;cursor:pointer}.number-input .handlers .handler+.handler[data-v-ba8ef208]{border-top:1px solid #d9d9d9}.number-input .handlers .handler[data-v-ba8ef208]:hover{color:#d14424}.number-input input[data-v-ba8ef208]{width:100%;min-width:0;padding:0;height:30px;line-height:30px;outline:0;border:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.number-input input[data-v-ba8ef208]::placeholder{color:#bfbfbf}.number-input[data-v-ba8ef208]:not(.disabled):hover,.number-input.focused[data-v-ba8ef208]{border-color:#d14424}.number-input.disabled[data-v-ba8ef208]{background-color:#f5f5f5;border-color:#dcdcdc;color:#b7b7b7}.number-input.disabled input[data-v-ba8ef208]{color:#b7b7b7}.number-input .prefix[data-v-ba8ef208],.number-input .suffix[data-v-ba8ef208]{display:flex;justify-content:center;align-items:center;line-height:30px;-webkit-user-select:none;user-select:none}.table-generator[data-v-73ce6b29]{width:100%;margin-top:-10px}.title[data-v-73ce6b29]{height:28px;line-height:28px;background-color:#ededed;margin:0 -10px 10px;padding:0 14px;font-size:12px;display:flex;justify-content:space-between;border-top-left-radius:2px;border-top-right-radius:2px;-webkit-user-select:none;user-select:none}.title .right[data-v-73ce6b29]{cursor:pointer}.title .right[data-v-73ce6b29]:hover{color:#d14424}table[data-v-73ce6b29]{border-collapse:separate}td[data-v-73ce6b29]{width:23px;height:23px;line-height:23px;border:2px solid #fff;background-color:#f7f7f7}.cell[data-v-73ce6b29]{width:100%;height:100%;border:1px solid #dcdcdc}.cell.active[data-v-73ce6b29]{background-color:#d144241a;border-color:#d14424}.custom[data-v-73ce6b29]{width:230px}.custom .row[data-v-73ce6b29]{display:flex;align-items:center}.custom .row+.row[data-v-73ce6b29]{margin-top:10px}.btns[data-v-73ce6b29]{margin-top:10px;text-align:right}.btns .btn[data-v-73ce6b29]{margin-left:10px}.media-input[data-v-999b18ca]{width:480px}.btns[data-v-999b18ca]{margin-top:10px;text-align:right}svg[data-v-fa1b116d]{overflow:hidden}.textarea[data-v-2b83189c]{outline:0;width:100%;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;padding:10px;transition:border-color .25s;box-sizing:border-box;line-height:1.675;resize:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.textarea[data-v-2b83189c]:focus{border-color:#d14424;background-color:#fff}.textarea.resizable[data-v-2b83189c]{resize:vertical}.textarea.disabled[data-v-2b83189c]{background-color:#f5f5f5;border-color:#dcdcdc;color:#b7b7b7}.textarea[data-v-2b83189c]::placeholder{color:#bfbfbf}.latex-editor[data-v-fc449335]{height:560px}.container[data-v-fc449335]{height:calc(100% - 50px);display:flex}.left[data-v-fc449335]{width:540px;height:100%;display:flex;flex-direction:column;flex-shrink:0}.input-area[data-v-fc449335]{flex:1}.input-area textarea[data-v-fc449335]{height:100%!important;border-color:#e5e7eb!important;padding:10px!important;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}.input-area textarea[data-v-fc449335]:focus{box-shadow:none!important}.preview[data-v-fc449335]{height:160px;display:flex;justify-content:center;align-items:center;text-align:center;margin-top:20px;border:1px solid #e5e7eb;-webkit-user-select:none;user-select:none}.placeholder[data-v-fc449335]{color:#888;font-size:13px}.preview-content[data-v-fc449335]{width:100%;height:100%;padding:10px;display:flex;justify-content:center;align-items:center}.right[data-v-fc449335]{width:280px;height:100%;margin-left:20px;border:solid 1px #e5e7eb;background-color:#fff;display:flex;flex-direction:column;-webkit-user-select:none;user-select:none}.content[data-v-fc449335]{height:calc(100% - 40px);font-size:13px}.formula[data-v-fc449335]{height:100%;padding:12px;overflow:auto;overflow:overlay}.formula-item+.formula-item[data-v-fc449335]{margin-top:10px}.formula-item .formula-title[data-v-fc449335]{margin-bottom:5px}.formula-item .formula-item-content[data-v-fc449335]{height:60px;padding:5px;display:flex;align-items:center;background-color:#f9f9f9;cursor:pointer}.symbol[data-v-fc449335]{height:100%;display:flex;flex-direction:column}.symbol-pool[data-v-fc449335]{display:flex;flex-wrap:wrap;flex:1;padding:12px;overflow:auto;overflow:overlay}.symbol-item[data-v-fc449335]{display:flex;justify-content:center;align-items:center}.symbol-item[data-v-fc449335]:hover{background-color:#f9f9f9;cursor:pointer}.footer[data-v-fc449335]{height:50px;display:flex;justify-content:flex-end;align-items:flex-end}.footer .btn[data-v-fc449335]{margin-left:10px}.canvas-tool[data-v-c887fa94]{position:relative;border-bottom:1px solid #e5e7eb;background-color:#fff;display:flex;justify-content:space-between;padding:0 10px;font-size:13px;-webkit-user-select:none;user-select:none}.left-handler[data-v-c887fa94],.more[data-v-c887fa94]{display:flex;align-items:center}.add-element-handler[data-v-c887fa94]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex}.add-element-handler .handler-item[data-v-c887fa94]{width:32px}.add-element-handler .handler-item[data-v-c887fa94]:not(.group-btn):hover{background-color:#f1f1f1}.add-element-handler .handler-item.active[data-v-c887fa94]{color:#d14424}.add-element-handler .handler-item.group-btn[data-v-c887fa94]{width:auto;margin-right:5px}.add-element-handler .handler-item.group-btn[data-v-c887fa94]:hover{background-color:#f3f3f3}.add-element-handler .handler-item.group-btn .icon[data-v-c887fa94],.add-element-handler .handler-item.group-btn .arrow[data-v-c887fa94]{height:100%;display:flex;justify-content:center;align-items:center}.add-element-handler .handler-item.group-btn .icon[data-v-c887fa94]{width:26px;padding:0 2px}.add-element-handler .handler-item.group-btn .icon[data-v-c887fa94]:hover{background-color:#e9e9e9}.add-element-handler .handler-item.group-btn .icon.active[data-v-c887fa94]{color:#d14424}.add-element-handler .handler-item.group-btn .arrow[data-v-c887fa94]{font-size:12px}.add-element-handler .handler-item.group-btn .arrow[data-v-c887fa94]:hover{background-color:#e9e9e9}.handler-item[data-v-c887fa94]{height:30px;font-size:14px;margin:0 2px;display:flex;justify-content:center;align-items:center;border-radius:2px;overflow:hidden;cursor:pointer}.handler-item.disable[data-v-c887fa94]{opacity:.5}.left-handler .handler-item[data-v-c887fa94],.right-handler .handler-item[data-v-c887fa94]{padding:0 8px}.left-handler .handler-item.active[data-v-c887fa94],.left-handler .handler-item[data-v-c887fa94]:not(.disable):hover,.right-handler .handler-item.active[data-v-c887fa94],.right-handler .handler-item[data-v-c887fa94]:not(.disable):hover{background-color:#f1f1f1}.right-handler[data-v-c887fa94]{display:flex;align-items:center}.right-handler .text[data-v-c887fa94]{display:inline-block;width:40px;text-align:center;cursor:pointer}.right-handler .viewport-size[data-v-c887fa94]{font-size:13px}@media screen and (width <= 1200px){.right-handler .text[data-v-c887fa94],.more[data-v-c887fa94]{display:none}}@media screen and (width <= 1000px){.left-handler[data-v-c887fa94],.right-handler[data-v-c887fa94]{display:none}}.layout-pool[data-v-5a791b40]{width:382px;height:500px}.header[data-v-5a791b40]{height:40px;margin:-10px -10px 10px;padding:10px 12px 0;background-color:#f9f9f9;border-bottom:1px solid #e5e7eb}.list[data-v-5a791b40]{height:calc(100% - 50px);padding:2px 10px 2px 2px;margin-right:-10px;overflow:auto;display:flex;flex-wrap:wrap;align-content:flex-start}.layout-item[data-v-5a791b40]{position:relative;width:48%;margin-bottom:4%}.layout-item[data-v-5a791b40]:not(:nth-child(2n)){margin-right:4%}.layout-item[data-v-5a791b40]:nth-last-child(2),.layout-item[data-v-5a791b40]:last-child{margin-bottom:0}.layout-item:hover .btns[data-v-5a791b40]{opacity:1}.layout-item:hover .thumbnail[data-v-5a791b40]{outline-color:#d14424}.layout-item .btns[data-v-5a791b40]{position:absolute;top:0;right:0;bottom:0;left:0;flex-direction:column;justify-content:center;align-items:center;display:flex;background-color:#00000040;opacity:0;transition:opacity .2s}.layout-item .thumbnail[data-v-5a791b40]{outline:2px solid #e5e7eb;transition:outline .2s;border-radius:2px;cursor:pointer}.thumbnails[data-v-f6304958]{border-right:solid 1px #e5e7eb;background-color:#fff;display:flex;flex-direction:column;-webkit-user-select:none;user-select:none}.add-slide[data-v-f6304958]{height:40px;font-size:12px;display:flex;flex-shrink:0;border-bottom:1px solid #e5e7eb;cursor:pointer}.add-slide .btn[data-v-f6304958]{flex:1;display:flex;justify-content:center;align-items:center}.add-slide .btn[data-v-f6304958]:hover{background-color:#f9f9f9}.add-slide .select-btn[data-v-f6304958]{width:30px;height:100%;display:flex;justify-content:center;align-items:center;border-left:1px solid #e5e7eb}.add-slide .select-btn[data-v-f6304958]:hover{background-color:#f9f9f9}.add-slide .icon[data-v-f6304958]{margin-right:3px;font-size:14px}.thumbnail-list[data-v-f6304958]{padding:5px 0;flex:1;overflow:auto}.thumbnail-item[data-v-f6304958]{display:flex;justify-content:center;align-items:center;padding:5px 0;position:relative}.thumbnail-item .thumbnail[data-v-f6304958]{border-radius:2px;outline:2px solid rgba(209,68,36,.15)}.thumbnail-item.active .label[data-v-f6304958]{color:#d14424}.thumbnail-item.active .thumbnail[data-v-f6304958],.thumbnail-item.selected .thumbnail[data-v-f6304958]{outline-color:#d14424}.thumbnail-item.selected .note-flag[data-v-f6304958]{background-color:#d14424}.thumbnail-item.selected .note-flag[data-v-f6304958]:after{border-top-color:#d14424}.thumbnail-item .note-flag[data-v-f6304958]{width:16px;height:12px;border-radius:1px;position:absolute;left:8px;top:13px;font-size:8px;background-color:#d14424bf;color:#fff;text-align:center;line-height:12px;cursor:pointer}.thumbnail-item .note-flag[data-v-f6304958]:after{content:"";width:0;height:0;position:absolute;top:10px;left:4px;border:4px solid transparent;border-top-color:#d14424bf}.label[data-v-f6304958]{font-size:12px;color:#999;width:20px;cursor:grab}.label.offset-left[data-v-f6304958]{position:relative;left:-4px}.label[data-v-f6304958]:active{cursor:grabbing}.page-number[data-v-f6304958]{height:40px;font-size:12px;border-top:1px solid #e5e7eb;line-height:40px;text-align:center;color:#666}.section-title[data-v-f6304958]{height:26px;font-size:12px;padding:6px 8px 2px 18px;color:#555}.section-title.contextmenu-active[data-v-f6304958]{color:#d14424}.section-title.contextmenu-active .text[data-v-f6304958]:before{border-bottom-color:#d14424;border-right-color:#d14424}.section-title .text[data-v-f6304958]{display:flex;align-items:center;position:relative}.section-title .text[data-v-f6304958]:before{content:"";width:0;height:0;border-top:3px solid transparent;border-left:3px solid transparent;border-bottom:3px solid #555;border-right:3px solid #555;margin-right:5px}.section-title .text .text-content[data-v-f6304958]{display:inline-block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.section-title input[data-v-f6304958]{width:100%;border:0;outline:0;padding:0;font-size:12px}.slider[data-v-a7428be4]{width:100%;height:12px;padding:4px 0;-webkit-user-select:none;user-select:none}.slider.disabled .track[data-v-a7428be4]{background-color:#b4b4b4}.slider.disabled .thumb[data-v-a7428be4]{outline:2px solid #b4b4b4}.slider[data-v-a7428be4]:not(.disabled){cursor:pointer}.slider:not(.disabled) .bar[data-v-a7428be4]:hover{background-color:#f0f0f0}.slider:not(.disabled) .track[data-v-a7428be4]:hover{background-color:#de6949}.slider:not(.disabled) .thumb[data-v-a7428be4]:hover,.slider:not(.disabled) .thumb[data-v-a7428be4]:active{outline:4px solid #d14424}.bar[data-v-a7428be4]{width:calc(100% - 10px);margin-left:5px;height:4px;border-radius:2px;position:relative;background-color:#f5f5f5;-webkit-user-select:none;user-select:none;transition:background-color .2s}.track[data-v-a7428be4]{position:absolute;top:0;left:0;height:100%;background-color:#d14424;transition:background-color .2s}.thumb[data-v-a7428be4]{position:absolute;top:50%;left:0;width:10px;height:10px;background-color:#fff;outline:2px solid #d14424;transform:translate(-50%,-50%);border-radius:50%;z-index:100}.thumb[data-v-a7428be4]:hover:before,.thumb[data-v-a7428be4]:hover:after,.thumb[data-v-a7428be4]:active:before,.thumb[data-v-a7428be4]:active:after{display:block}.thumb[data-v-a7428be4]:before{content:attr(data-tooltip);min-width:28px;display:none;position:absolute;left:50%;bottom:24px;transform:translate(-50%);background-color:#262626;text-align:center;color:#fff;border-radius:2px;padding:6px 5px;font-size:12px}.thumb[data-v-a7428be4]:after{content:"";display:none;position:absolute;left:50%;bottom:15px;transform:translate(-50%);border:5px solid transparent;border-top-color:#262626}.row[data-v-c3b27b40]{width:100%;display:flex;align-items:center;margin-bottom:10px}.color-btn[data-v-53175c6f]{width:100%;display:flex!important;align-items:center;justify-content:center;padding:0!important}.color-block[data-v-53175c6f]{height:20px;margin-left:8px;flex:1;outline:1px dashed rgba(102,102,102,.12);background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAEBJREFUOE9jfPbs2X8GIoCkpCQRqhgYGEcNxBlOo2GIM2iGQLL5//8/UTnl+fPnxOWUUQNxhtNoGOLOKYM+2QAAh2Nq10DwkukAAAAASUVORK5CYII=)}.content[data-v-53175c6f]{width:100%;height:100%}.color-btn-icon[data-v-53175c6f]{width:32px;font-size:13px;color:#bfbfbf}.checkerboard[data-v-46275348]{background-size:contain;position:absolute;top:0;right:0;bottom:0;left:0}.alpha[data-v-429f62d3]{position:absolute;top:0;right:0;bottom:0;left:0}.alpha-checkboard-wrap[data-v-429f62d3]{overflow:hidden;position:absolute;top:0;right:0;bottom:0;left:0}.alpha-gradient[data-v-429f62d3]{position:absolute;top:0;right:0;bottom:0;left:0}.alpha-container[data-v-429f62d3]{cursor:pointer;position:relative;z-index:2;height:100%;margin:0 3px}.alpha-pointer[data-v-429f62d3]{z-index:2;position:absolute}.alpha-picker[data-v-429f62d3]{cursor:pointer;width:4px;height:8px;box-shadow:0 0 2px #0009;background:#fff;margin-top:1px;transform:translate(-2px)}.hue[data-v-21ccc370]{background:linear-gradient(to right,red,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red);position:absolute;top:0;right:0;bottom:0;left:0}.hue-container[data-v-21ccc370]{cursor:pointer;margin:0 2px;position:relative;height:100%}.hue-pointer[data-v-21ccc370]{z-index:2;position:absolute;top:0}.hue-picker[data-v-21ccc370]{cursor:pointer;margin-top:1px;width:4px;height:8px;box-shadow:0 0 2px #0009;background:#fff;transform:translate(-2px)}.saturation[data-v-1a7711ae],.saturation-white[data-v-1a7711ae],.saturation-black[data-v-1a7711ae]{position:absolute;top:0;right:0;bottom:0;left:0;cursor:pointer}.saturation-white[data-v-1a7711ae]{background:linear-gradient(to right,#fff,#fff0)}.saturation-black[data-v-1a7711ae]{background:linear-gradient(to top,#000,#0000)}.saturation-pointer[data-v-1a7711ae]{cursor:pointer;position:absolute}.saturation-circle[data-v-1a7711ae]{width:4px;height:4px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px #0000004d,0 0 1px 2px #0006;border-radius:50%;transform:translate(-2px,-2px)}.editable-input[data-v-573b4dde]{width:100%;position:relative;overflow:hidden;text-align:center;font-size:14px}.editable-input[data-v-573b4dde]:after{content:"#";position:absolute;left:0;top:50%;transform:translateY(-50%);color:#999}.input-content[data-v-573b4dde]{width:100%;padding:3px;border:0;border-bottom:1px solid #ddd;outline:none;text-align:center}.input-label[data-v-573b4dde]{text-transform:capitalize}.color-picker[data-v-58b37f0f]{position:relative;width:240px;background:#fff;-webkit-user-select:none;user-select:none;margin-bottom:-10px}.picker-saturation-wrap[data-v-58b37f0f]{width:100%;padding-bottom:50%;position:relative;overflow:hidden}.picker-controls[data-v-58b37f0f]{display:flex}.picker-sliders[data-v-58b37f0f]{padding:4px 0;flex:1}.picker-hue-wrap[data-v-58b37f0f]{position:relative;height:10px}.picker-alpha-wrap[data-v-58b37f0f]{position:relative;height:10px;margin-top:4px;overflow:hidden}.picker-color-wrap[data-v-58b37f0f]{width:24px;height:24px;position:relative;margin-top:4px;margin-right:4px;outline:1px dashed rgba(102,102,102,.12)}.picker-color-wrap .checkerboard[data-v-58b37f0f]{background-size:auto}.picker-current-color[data-v-58b37f0f]{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2}.picker-field[data-v-58b37f0f]{display:flex;margin-bottom:8px}.picker-field .transparent[data-v-58b37f0f]{width:24px;height:24px;margin-top:4px;margin-left:8px;position:relative;cursor:pointer}.picker-field .transparent[data-v-58b37f0f]:after{content:"";width:26px;height:2px;position:absolute;top:11px;left:-1px;transform:rotate(-45deg);background-color:red}.picker-field .transparent .checkerboard[data-v-58b37f0f]{background-size:auto}.picker-field .straw[data-v-58b37f0f]{width:24px;height:24px;margin-top:4px;margin-left:8px;display:flex;justify-content:center;align-items:center;font-size:20px;background-color:#f5f5f5;outline:1px solid #f1f1f1;cursor:pointer}.picker-field .input[data-v-58b37f0f]{flex:1}.picker-presets[data-v-58b37f0f]{display:flex;flex-wrap:wrap;align-content:flex-start}.picker-presets-color[data-v-58b37f0f]{width:7%;margin-bottom:calc(30% / 9);height:0;padding-bottom:7%;flex-shrink:0;position:relative;cursor:pointer}.picker-presets-color[data-v-58b37f0f]:not(:nth-child(10n)){margin-right:calc(30% / 9)}.picker-presets-color.alpha[data-v-58b37f0f]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAADBJREFUOE9jfPbs2X8GPEBSUhKfNAPjqAHDIgz+//+PNx08f/4cfzoYNYCBceiHAQC5flV5JzgrxQAAAABJRU5ErkJggg==)}.picker-presets-color-content[data-v-58b37f0f]{position:absolute;top:0;right:0;bottom:0;left:0}.picker-gradient-presets[data-v-58b37f0f]{display:flex;flex-wrap:wrap;align-content:flex-start}.picker-gradient-col[data-v-58b37f0f]{width:7%;margin-bottom:calc(30% / 9);display:flex;flex-direction:column}.picker-gradient-col[data-v-58b37f0f]:not(:nth-child(10n)){margin-right:calc(30% / 9)}.picker-gradient-color[data-v-58b37f0f]{width:100%;height:16px;position:relative;cursor:pointer}.recent-colors-title[data-v-58b37f0f]{font-size:12px;margin-bottom:4px}.switch[data-v-a0d44a99]{height:20px;display:inline-block;cursor:pointer}.switch:not(.disabled).active .switch-core[data-v-a0d44a99]{border-color:#d14424;background-color:#d14424}.switch:not(.disabled).active .switch-core[data-v-a0d44a99]:after{left:100%;margin-left:-17px}.switch.disabled[data-v-a0d44a99]{cursor:default}.switch.disabled .switch-core[data-v-a0d44a99]:after{background-color:#f5f5f5}.switch-core[data-v-a0d44a99]{margin:0;display:inline-block;position:relative;width:40px;height:20px;border:1px solid #d9d9d9;outline:none;border-radius:10px;box-sizing:border-box;background:#d9d9d9;transition:border-color .3s,background-color .3s;vertical-align:middle}.switch-core[data-v-a0d44a99]:after{content:"";position:absolute;top:1px;left:1px;border-radius:100%;transition:all .3s;width:16px;height:16px;background-color:#fff}.row[data-v-174518c6]{width:100%;height:30px;display:flex;align-items:center;margin-bottom:10px}.switch-wrapper[data-v-174518c6]{text-align:right}.row[data-v-671988a4]{width:100%;height:30px;display:flex;align-items:center;margin-bottom:10px}.switch-wrapper[data-v-671988a4]{text-align:right}.text-color-btn[data-v-97cd463a]{width:100%;display:flex!important;flex-direction:column;justify-content:center;align-items:center;padding:0}.text-color-block[data-v-97cd463a]{width:17px;height:4px;margin-top:1px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAACdJREFUGFdjfPbs2X8GBgYGSUlJEMXAiCHw//9/sIrnz59DVKALAADNxxVfaiODNQAAAABJRU5ErkJggg==)}.text-color-block .text-color-block-content[data-v-97cd463a]{width:100%;height:100%}.button-group[data-v-6a640ef5]{display:flex;align-items:center}.button-group[data-v-6a640ef5] button.button{border-radius:0;border-left-width:1px;border-right-width:0;display:inline-block}.button-group[data-v-6a640ef5]:not(.passive) button.button:not(:last-child,.radio,.checkbox):hover{position:relative}.button-group[data-v-6a640ef5]:not(.passive) button.button:not(:last-child,.radio,.checkbox):hover:after{content:"";width:1px;height:calc(100% + 2px);background-color:#d14424;position:absolute;top:-1px;right:-1px}.button-group[data-v-6a640ef5]:not(.passive) button.button:first-child{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left-width:1px}.button-group[data-v-6a640ef5]:not(.passive) button.button:last-child{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right-width:1px}.button-group.passive[data-v-6a640ef5] button.button:not(.last,.radio,.checkbox):hover{position:relative}.button-group.passive[data-v-6a640ef5] button.button:not(.last,.radio,.checkbox):hover:after{content:"";width:1px;height:calc(100% + 2px);background-color:#d14424;position:absolute;top:-1px;right:-1px}.button-group.passive[data-v-6a640ef5] button.button.first{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left-width:1px}.button-group.passive[data-v-6a640ef5] button.button.last{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right-width:1px}.select-group[data-v-ed58c719]{display:flex;align-items:center}.select-group[data-v-ed58c719] .select-wrap .select{border-radius:0;border-left-width:0;border-right-width:0}.select-group[data-v-ed58c719] .select-wrap+.select-wrap .select{border-left-width:1px}.select-group[data-v-ed58c719] .select-wrap:hover+.select-wrap .select{border-left-color:#d14424}.select-group[data-v-ed58c719] .select-wrap:first-child .select{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left-width:1px}.select-group[data-v-ed58c719] .select-wrap:last-child .select{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right-width:1px}.rich-text-base[data-v-830b245d]{-webkit-user-select:none;user-select:none}.row[data-v-830b245d]{width:100%;display:flex;align-items:center;margin-bottom:10px}.font-size-btn[data-v-830b245d]{padding:0}.link-popover[data-v-830b245d]{width:240px}.link-popover .btns[data-v-830b245d]{margin-top:10px;text-align:right}.list-wrap[data-v-830b245d]{width:176px;color:#666;padding:8px;margin:-12px;display:flex;flex-wrap:wrap;align-content:flex-start}.list[data-v-830b245d]{background-color:#f9f9f9;padding:4px 4px 4px 20px;cursor:pointer}.list[data-v-830b245d]:not(:nth-child(3n)){margin-right:8px}.list[data-v-830b245d]:nth-child(4),.list[data-v-830b245d]:nth-child(5),.list[data-v-830b245d]:nth-child(6){margin-top:8px}.list[data-v-830b245d]:hover{color:#d14424}.list:hover span[data-v-830b245d]{background-color:#d14424}.list-item[data-v-830b245d]{width:24px;height:12px;position:relative;font-size:12px;top:-3px}.list-item span[data-v-830b245d]{width:100%;height:2px;display:inline-block;position:absolute;top:8px;background-color:#666}.popover-btn[data-v-830b245d]{padding:0 3px}.text-style-panel[data-v-82b69e69]{-webkit-user-select:none;user-select:none}.row[data-v-82b69e69]{width:100%;display:flex;align-items:center;margin-bottom:10px}.preset-style[data-v-82b69e69]{display:flex;flex-wrap:wrap;margin-bottom:10px}.preset-style-item[data-v-82b69e69]{width:50%;height:50px;border:solid 1px #d6d6d6;box-sizing:border-box;display:flex;justify-content:center;align-items:center;position:relative;cursor:pointer;transition:all .2s}.preset-style-item[data-v-82b69e69]:hover{border-color:#d14424;color:#d14424;z-index:1}.preset-style-item[data-v-82b69e69]:nth-child(2n){margin-left:-1px}.preset-style-item[data-v-82b69e69]:nth-child(n+3){margin-top:-1px}.row[data-v-100c8a7c],.row[data-v-8564f2ac]{width:100%;display:flex;align-items:center;margin-bottom:10px}.switch-wrapper[data-v-8564f2ac]{text-align:right}.filter[data-v-8564f2ac]{font-size:12px}.filter-item[data-v-8564f2ac]{padding:6px 0;display:flex;justify-content:center;align-items:center}.filter-item .name[data-v-8564f2ac]{width:60px}.filter-item .filter-slider[data-v-8564f2ac]{flex:1;margin:0 6px}.presets[data-v-8564f2ac]{margin-bottom:5px;display:flex;flex-wrap:wrap;align-content:flex-start}.preset-item[data-v-8564f2ac]{text-align:center;cursor:pointer;width:31%;margin-bottom:3.5%}.preset-item[data-v-8564f2ac]:not(:nth-child(3n)){margin-right:3.5%}.preset-item img[data-v-8564f2ac]{width:100%}.preset-item .preset-label[data-v-8564f2ac]{font-size:12px;color:#888}.row[data-v-51ffed2c]{width:100%;display:flex;align-items:center;margin-bottom:10px}.switch-wrapper[data-v-51ffed2c]{text-align:right}.row[data-v-0e7500b2]{width:100%;display:flex;align-items:center;margin-bottom:10px}.switch-wrapper[data-v-0e7500b2]{text-align:right}.origin-image[data-v-0e7500b2]{height:100px;background-size:contain;background-repeat:no-repeat;background-position:center;background-color:#f9f9f9;margin-bottom:10px}.full-width-btn[data-v-0e7500b2]{width:100%;margin-bottom:10px}.btn-icon[data-v-0e7500b2]{margin-right:3px}.clip[data-v-0e7500b2]{width:260px;font-size:12px}.clip .title[data-v-0e7500b2]{margin-bottom:5px}.shape-clip[data-v-0e7500b2]{margin-bottom:10px;display:flex;flex-wrap:wrap;align-content:flex-start}.shape-clip-item[data-v-0e7500b2]{display:flex;justify-content:center;align-items:center;cursor:pointer;width:16%;margin-bottom:5%}.shape-clip-item[data-v-0e7500b2]:not(:nth-child(5n)){margin-right:5%}.shape-clip-item:hover .shape[data-v-0e7500b2]{background-color:#ccc}.shape-clip-item .shape[data-v-0e7500b2]{width:40px;height:40px;background-color:#e1e1e1}.popover-btn[data-v-0e7500b2]{padding:0 3px}.gradient-bar[data-v-c1273c7e]{width:calc(100% - 10px);height:18px;padding:1px 0;margin:3px 0;position:relative;left:5px}.gradient-bar .bar[data-v-c1273c7e]{height:16px;border:1px solid #d9d9d9}.gradient-bar .point[data-v-c1273c7e]{width:10px;height:18px;background-color:#fff;position:absolute;top:0;border:2px solid #fff;outline:1px solid #d9d9d9;box-shadow:0 0 2px 2px #d9d9d9;border-radius:1px;cursor:pointer}.gradient-bar .point.active[data-v-c1273c7e]{outline:1px solid #d14424;box-shadow:0 0 2px 2px #d14424}.shape-style-panel[data-v-d5ed5ce8]{-webkit-user-select:none;user-select:none}.row[data-v-d5ed5ce8]{width:100%;display:flex;align-items:center;margin-bottom:10px}.font-size-btn[data-v-d5ed5ce8]{padding:0}.title[data-v-d5ed5ce8]{display:flex;justify-content:space-between;margin-bottom:10px}.shape-pool[data-v-d5ed5ce8]{width:235px;height:150px;overflow:auto;padding:5px 10px 5px 5px;border:1px solid #e5e7eb;margin-bottom:20px}.shape-list[data-v-d5ed5ce8]{display:flex;flex-wrap:wrap;align-content:flex-start}.shape-item[data-v-d5ed5ce8]{width:14%;margin-bottom:3.2%;height:0;padding-bottom:14%;flex-shrink:0}.shape-item[data-v-d5ed5ce8]:not(:nth-child(6n)){margin-right:3.2%}.row[data-v-8964660b]{width:100%;display:flex;align-items:center;margin-bottom:10px}.line-btn[data-v-8964660b]{display:flex;align-items:center;justify-content:space-between;padding:0!important}.line-btn .line-wrapper[data-v-8964660b]{margin-left:8px}.line-wrapper[data-v-8964660b]{overflow:visible}.line-btn-icon[data-v-8964660b]{width:30px;font-size:12px;margin-top:2px;color:#bfbfbf}.preset-point-style[data-v-8964660b]{padding:0 10px}.preset-point-style+.preset-point-style[data-v-8964660b]{margin-top:10px}.chart-data-editor[data-v-e76e5c0f]{width:600px;position:relative}.editor-content[data-v-e76e5c0f]{width:100%;height:360px;position:relative;border-right:1px solid #ccc;border-bottom:1px solid #ccc;padding-left:30px;padding-top:20px;overflow:auto;overflow:overlay}.range-box[data-v-e76e5c0f]{position:absolute;top:20px;left:30px;z-index:100;-webkit-user-select:none;user-select:none}.temp-range[data-v-e76e5c0f]{width:0;height:0;position:absolute;top:0;left:0;background-color:#8888884d}.range-line[data-v-e76e5c0f]{width:0;height:0;position:absolute;left:0;top:0;border:0 solid #d14424}.range-line.t[data-v-e76e5c0f]{border-top-width:1px}.range-line.b[data-v-e76e5c0f]{border-bottom-width:1px}.range-line.l[data-v-e76e5c0f]{border-left-width:1px}.range-line.r[data-v-e76e5c0f]{border-right-width:1px}.resizable[data-v-e76e5c0f]{position:absolute;width:12px;height:12px;left:0;top:0;margin:-9px 0 0 -9px;cursor:nwse-resize}.resizable[data-v-e76e5c0f]:after{content:"";position:absolute;width:4px;height:12px;right:0;top:0;background-color:#d14424}.resizable[data-v-e76e5c0f]:before{content:"";position:absolute;width:12px;height:4px;right:0;bottom:0;background-color:#d14424}table[data-v-e76e5c0f]{width:100%;height:100%;-webkit-user-select:none;user-select:none;table-layout:fixed}table td[data-v-e76e5c0f]{text-align:center;border:1px solid #ccc;vertical-align:middle;width:100px;height:32px}table td.head[data-v-e76e5c0f]{background-color:#d1442414}table .item[data-v-e76e5c0f]{width:100%;height:100%;border:0;outline:0;padding:0;font-size:13px;text-align:center;background-color:transparent}.btns[data-v-e76e5c0f]{margin-top:10px;display:flex;justify-content:space-between}.col-header[data-v-e76e5c0f]{width:auto;height:20px;position:absolute;top:0;left:30px;display:flex;border:1px solid #ccc;border-bottom:0;border-right:0;background-color:#f9f9f9}.col-header-item[data-v-e76e5c0f]{width:100px;position:relative;border-right:1px solid #ccc}.col-key[data-v-e76e5c0f]{font-size:10px;text-align:center;line-height:20px}.row-header[data-v-e76e5c0f]{height:auto;width:30px;position:absolute;top:20px;left:0;border:1px solid #ccc;border-bottom:0;border-right:0;background-color:#f9f9f9}.row-header-item[data-v-e76e5c0f]{height:32px;position:relative;border-bottom:1px solid #ccc}.row-key[data-v-e76e5c0f]{height:100%;font-size:10px;display:flex;justify-content:center;align-items:center}.all-header[data-v-e76e5c0f]{width:30px;height:20px;position:absolute;top:0;left:0;border:1px solid #ccc;border-bottom:0;border-right:0;background-color:#f9f9f9}.all-header .triangle[data-v-e76e5c0f]{position:absolute;bottom:4px;right:4px}.checkbox[data-v-3d20c849]{height:20px;display:flex;align-items:center;cursor:pointer}.checkbox:not(.disabled).checked .checkbox-input[data-v-3d20c849]{background-color:#d14424;border-color:#d14424}.checkbox:not(.disabled).checked .checkbox-input[data-v-3d20c849]:after{transform:rotate(45deg) scaleY(1)}.checkbox:not(.disabled).checked .checkbox-label[data-v-3d20c849]{color:#d14424}.checkbox.disabled[data-v-3d20c849]{color:#b7b7b7;cursor:default}.checkbox.disabled .checkbox-input[data-v-3d20c849]{background-color:#f5f5f5}.checkbox-input[data-v-3d20c849]{display:inline-block;position:relative;border:1px solid #d9d9d9;border-radius:2px;width:16px;height:16px;background-color:#fff;vertical-align:middle;transition:border-color .15s cubic-bezier(.71,-.46,.29,1.46),background-color .15s cubic-bezier(.71,-.46,.29,1.46);z-index:1}.checkbox-input[data-v-3d20c849]:after{content:"";border:2px solid #fff;border-left:0;border-top:0;height:9px;left:4px;position:absolute;top:1px;transform:rotate(45deg) scaleY(0);width:6px;transition:transform .15s ease-in .05s;transform-origin:center}.checkbox-original[data-v-3d20c849]{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.checkbox-label[data-v-3d20c849]{margin-left:5px;line-height:20px;font-size:13px;-webkit-user-select:none;user-select:none}.chart-style-panel[data-v-013c2424]{-webkit-user-select:none;user-select:none}.row[data-v-013c2424]{width:100%;display:flex;align-items:center;margin-bottom:10px}.full-width-btn[data-v-013c2424]{width:100%}.btn-icon[data-v-013c2424]{margin-right:3px}.color-btn-wrap[data-v-013c2424]{position:relative}.delete-color-btn[data-v-013c2424]{position:absolute;width:30px;right:2px;top:2px;bottom:2px;display:flex;justify-content:center;align-items:center;background-color:#fff;cursor:pointer}.preset-themes[data-v-013c2424]{width:250px;margin-bottom:-10px;display:flex;flex-wrap:wrap;align-content:flex-start}.preset-theme[data-v-013c2424]{display:flex;cursor:pointer;width:48%;margin-bottom:4%}.preset-theme[data-v-013c2424]:not(:nth-child(2n)){margin-right:4%}.preset-theme-color[data-v-013c2424]{width:20px;height:20px}.preset-theme-color.select[data-v-013c2424]{transform:scale(1.2);transition:transform .1s}.row[data-v-3bf19801]{width:100%;display:flex;align-items:center;margin-bottom:10px}.theme-switch[data-v-3bf19801]{margin-bottom:18px}.switch-wrapper[data-v-3bf19801]{text-align:right}.set-count[data-v-3bf19801]{display:flex;justify-content:center;align-items:center}.set-count .btn[data-v-3bf19801]{padding:0 8px}.set-count .count-text[data-v-3bf19801]{flex:1;text-align:center;margin:0 8px}.row[data-v-e173eae4],.row[data-v-b289959e]{width:100%;display:flex;align-items:center;margin-bottom:10px}.title[data-v-b289959e],.background-image-wrapper[data-v-b289959e]{margin-bottom:10px}.background-image[data-v-b289959e]{height:0;padding-bottom:56.25%;border:1px dashed #e5e7eb;border-radius:2px;position:relative;transition:all .2s}.background-image[data-v-b289959e]:hover{border-color:#d14424;color:#d14424}.background-image .content[data-v-b289959e]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;background-position:center;background-size:contain;background-repeat:no-repeat;cursor:pointer}.switch-row[data-v-b289959e]{height:32px}.switch-wrapper[data-v-b289959e]{text-align:right}.row[data-v-685cdba7]{width:100%;display:flex;align-items:center;margin-bottom:10px}.switch-row[data-v-685cdba7]{height:32px}.switch-wrapper[data-v-685cdba7]{text-align:right}.row[data-v-415f8183]{width:100%;display:flex;align-items:center;margin-bottom:10px}.font-size-btn[data-v-415f8183]{padding:0}.row[data-v-eba29c8f]{width:100%;display:flex;align-items:center;margin-bottom:10px}.title[data-v-eba29c8f]{margin-bottom:10px}.label[data-v-eba29c8f]{text-align:center}.btn-icon[data-v-eba29c8f]{margin-right:3px}.icon-btn[data-v-eba29c8f]{cursor:pointer}.icon-btn.active[data-v-eba29c8f]{color:#d14424}.text-btn[data-v-eba29c8f]{height:30px;line-height:30px;text-align:center;cursor:pointer}.text-btn[data-v-eba29c8f]:hover{background-color:#efefef;border-radius:2px}.element-animation-panel[data-v-d71f68dd]{height:100%;display:flex;flex-direction:column}.element-animation[data-v-d71f68dd]{height:32px;display:flex;align-items:center}.element-animation-btn[data-v-d71f68dd]{width:100%}.config-item[data-v-d71f68dd]{display:flex;align-items:center}.config-item+.config-item[data-v-d71f68dd]{margin-top:5px}.tip[data-v-d71f68dd]{height:32px;display:flex;justify-content:center;align-items:center;font-style:italic}.animation-pool[data-v-d71f68dd]{width:400px;height:500px;overflow-y:auto;overflow-x:hidden;font-size:12px;margin-right:-10px;padding-right:5px;position:relative}.animation-pool .mask[data-v-d71f68dd]{position:absolute;top:0;right:0;bottom:0;left:0}.animation-pool.in .type-title[data-v-d71f68dd]{border-left-color:#68a490;background-color:#68a49026}.animation-pool.out .type-title[data-v-d71f68dd]{border-left-color:#d86344;background-color:#d8634426}.animation-pool.attention .type-title[data-v-d71f68dd]{border-left-color:#e8b76a;background-color:#e8b76a26}.pool-type[data-v-d71f68dd]:not(:last-child){margin-bottom:5px}.type-title[data-v-d71f68dd]{width:100%;font-size:13px;margin-bottom:10px;border-left:4px solid #aaa;background-color:#eee;padding:4px 0 4px 10px}.pool-item-wrapper[data-v-d71f68dd]{display:flex;flex-wrap:wrap;align-content:flex-start}.pool-item[data-v-d71f68dd]{width:24%;margin-bottom:calc(4% / 3);margin-bottom:5px;height:40px;line-height:40px;text-align:center;cursor:pointer}.pool-item[data-v-d71f68dd]:not(:nth-child(4n)){margin-right:calc(4% / 3)}.animation-box[data-v-d71f68dd]{background-color:#f9f9f9;border-radius:2px}.animation-sequence[data-v-d71f68dd]{flex:1;padding-right:12px;margin-right:-12px;overflow:auto;overflow:overlay}.sequence-item[data-v-d71f68dd]{border:1px solid #e5e7eb;padding:8px;border-radius:2px;margin-bottom:8px;transition:all .5s}.sequence-item.in.active[data-v-d71f68dd]{border-color:#68a490}.sequence-item.out.active[data-v-d71f68dd]{border-color:#d86344}.sequence-item.attention.active[data-v-d71f68dd]{border-color:#e8b76a}.sequence-item.active[data-v-d71f68dd]{height:auto}.sequence-item .sequence-content[data-v-d71f68dd]{display:flex;align-items:center;cursor:grab}.sequence-item .sequence-content[data-v-d71f68dd]:active{cursor:grabbing}.sequence-item .sequence-content .index[data-v-d71f68dd]{flex:1}.sequence-item .sequence-content .text[data-v-d71f68dd]{flex:6}.sequence-item .sequence-content .handler[data-v-d71f68dd]{flex:2;font-size:15px;text-align:right}.sequence-item .sequence-content .handler-btn[data-v-d71f68dd]{margin-left:8px;cursor:pointer}.theme-styles-extract[data-v-724633c2]{height:500px;display:flex;flex-direction:column}.content[data-v-724633c2]{flex:1;overflow:auto;padding-right:20px;margin-right:-20px}.config-item[data-v-724633c2]{padding:12px 0 10px;border-bottom:1px dashed #f5f5f5;font-size:13px}.label[data-v-724633c2]{margin-bottom:5px}.values .value-wrap[data-v-724633c2]{display:flex;align-items:center;justify-content:space-between}.values .value-wrap+.value-wrap[data-v-724633c2]{margin-top:3px}.values .handler[data-v-724633c2]{flex:1;display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-left:10px}.values .handler .state[data-v-724633c2]{opacity:0}.values .handler .state.active[data-v-724633c2]{opacity:1}.values .handler .config-btn[data-v-724633c2]{cursor:pointer}.values .handler .config-btn[data-v-724633c2]:hover{color:#d14424}.values .value[data-v-724633c2]{width:150px;height:24px;border:1px solid #e5e7eb;display:flex;align-items:center;justify-content:center;font-size:12px;padding:5px;border-radius:2px}.btns[data-v-724633c2]{margin-top:12px}.btns .btn[data-v-724633c2]{width:100%}.slide-design-panel[data-v-01b60579]{-webkit-user-select:none;user-select:none}.row[data-v-01b60579]{width:100%;display:flex;align-items:center;margin-bottom:10px}.title[data-v-01b60579]{display:flex;justify-content:space-between;margin-bottom:10px}.title .more[data-v-01b60579]{cursor:pointer}.title .more .text[data-v-01b60579]{font-size:12px;margin-right:3px}.background-image-wrapper[data-v-01b60579]{margin-bottom:10px}.background-image[data-v-01b60579]{height:0;padding-bottom:56.25%;border:1px dashed #e5e7eb;border-radius:2px;position:relative;transition:all .2s}.background-image[data-v-01b60579]:hover{border-color:#d14424;color:#d14424}.background-image .content[data-v-01b60579]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;background-position:center;background-size:contain;background-repeat:no-repeat;cursor:pointer}.theme-list[data-v-01b60579]{display:flex;flex-wrap:wrap;align-content:flex-start}.theme-item[data-v-01b60579]{width:48%;margin-bottom:4%;padding-bottom:30%;border-radius:2px;position:relative;cursor:pointer}.theme-item[data-v-01b60579]:not(:nth-child(2n)){margin-right:4%}.theme-item .theme-item-content[data-v-01b60579]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;justify-content:center;padding:8px;border:1px solid #e5e7eb;border-radius:2px}.theme-item .text[data-v-01b60579]{font-size:16px}.theme-item .colors[data-v-01b60579]{display:flex}.theme-item .color-block[data-v-01b60579]{margin-top:8px;width:12px;height:12px;margin-right:2px}.theme-item:hover .btns[data-v-01b60579]{opacity:1}.theme-item .btns[data-v-01b60579]{position:absolute;top:0;right:0;bottom:0;left:0;flex-direction:column;justify-content:center;align-items:center;display:flex;background-color:#00000040;opacity:0;transition:opacity .2s}.animation-pool[data-v-ae84c3f4]{display:flex;flex-wrap:wrap;margin-bottom:10px}.animation-item[data-v-ae84c3f4]{width:50%;height:100px;border:solid 1px #d6d6d6;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;align-items:center;padding:20px 0 15px;position:relative;cursor:pointer}.animation-item.active[data-v-ae84c3f4]{border-color:#d14424;z-index:1}.animation-item[data-v-ae84c3f4]:nth-child(2n){margin-left:-1px}.animation-item[data-v-ae84c3f4]:nth-child(n+3){margin-top:-1px}.animation-block[data-v-ae84c3f4]{width:64px;height:36px;background:#666;position:relative;overflow:hidden}.animation-block.fade[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:fade-ae84c3f4 .3s linear}.animation-block.slideX[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:slideX-ae84c3f4 .3s linear}.animation-block.slideY[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:slideY-ae84c3f4 .3s linear}.animation-block.slideX3D[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:slideX3D-ae84c3f4 .3s linear}.animation-block.slideY3D[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:slideY3D-ae84c3f4 .3s linear}.animation-block.rotate[data-v-ae84c3f4]:hover:after{transform-origin:0 0;content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:rotate-ae84c3f4 .3s linear}.animation-block.scaleY[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:scaleY-ae84c3f4 .3s linear}.animation-block.scaleX[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:scaleX-ae84c3f4 .3s linear}.animation-block.scale[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:scale-ae84c3f4 .3s linear}.animation-block.scaleReverse[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:scaleReverse-ae84c3f4 .3s linear}.animation-text[data-v-ae84c3f4]{font-size:12px;color:#333;text-align:center}@keyframes fade-ae84c3f4{0%{opacity:0}to{opacity:1}}@keyframes slideX-ae84c3f4{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes slideY-ae84c3f4{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes slideX3D-ae84c3f4{0%{transform:translate(100%) scale(.5)}to{transform:translate(0)}}@keyframes slideY3D-ae84c3f4{0%{transform:translateY(100%) scale(.5)}to{transform:translateY(0)}}@keyframes rotate-ae84c3f4{0%{transform:rotate(-90deg)}to{transform:rotate(0)}}@keyframes scaleY-ae84c3f4{0%{transform:scaleY(.1)}to{transform:scaleY(1)}}@keyframes scaleX-ae84c3f4{0%{transform:scaleX(.1)}to{transform:scaleY(1)}}@keyframes scale-ae84c3f4{0%{transform:scale(.25)}to{transform:scale(1)}}@keyframes scaleReverse-ae84c3f4{0%{transform:scale(2)}to{transform:scale(1)}}.row[data-v-d41009b1]{width:100%;display:flex;align-items:center;margin-bottom:10px}.symbol-panel[data-v-0f662bb0]{height:100%;display:flex;flex-direction:column}.symbol-panel .pool[data-v-0f662bb0]{padding:5px 12px;margin:0 -12px;flex:1;font-size:18px;overflow:auto;overflow:overlay;display:flex;flex-wrap:wrap;align-content:flex-start}.symbol-panel .symbol-item[data-v-0f662bb0]{width:18%;margin-bottom:2.5%;height:0;padding-bottom:18%;position:relative;cursor:pointer;border:1px solid #e5e7eb}.symbol-panel .symbol-item[data-v-0f662bb0]:not(:nth-child(5n)){margin-right:2.5%}.symbol-panel .symbol-item[data-v-0f662bb0]:hover{color:#d14424}.symbol-panel .symbol-item .symbol[data-v-0f662bb0]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;background-color:#fff}.toolbar[data-v-83fff59a]{border-left:solid 1px #e5e7eb;background-color:#fff;display:flex;flex-direction:column}.content[data-v-83fff59a]{padding:12px;font-size:13px;overflow:auto;overflow:overlay}.editor[data-v-4042a280]{height:100%;overflow:auto}.prosemirror-editor[data-v-4042a280]{height:100%;cursor:text}.prosemirror-editor[data-v-4042a280] .ProseMirror{height:100%;font-size:12px;overflow:auto;padding:8px;line-height:1.5}.prosemirror-editor[data-v-4042a280] .ProseMirror>p[data-placeholder]:before{content:attr(data-placeholder);pointer-events:none;position:absolute;font-size:12px;color:#66666680}.menu[data-v-4042a280]{display:flex;background-color:#fff;padding:6px 4px;border-radius:2px;box-shadow:0 0 20px #00000026}.menu button[data-v-4042a280]{outline:0;border:0;background-color:#fff;padding:3px;border-radius:2px;font-size:16px;margin:0 3px;display:flex;align-items:center;justify-content:center;cursor:pointer}.menu button[data-v-4042a280]:hover,.menu button.active[data-v-4042a280]{background-color:#d14424;color:#fff}.remark[data-v-1c52a472]{position:relative;border-top:1px solid #e5e7eb}.resize-handler[data-v-1c52a472]{height:7px;position:absolute;top:-3px;left:0;right:0;cursor:n-resize;z-index:2}.export-img-dialog[data-v-32b43d99]{height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;position:relative;overflow:hidden}.thumbnails-view[data-v-32b43d99]{position:absolute;top:0;right:0;bottom:0;left:0}.thumbnails-view[data-v-32b43d99]:after{content:"";background-color:#fff;position:absolute;top:0;right:0;bottom:0;left:0}.configs[data-v-32b43d99]{width:350px;height:calc(100% - 100px);display:flex;flex-direction:column;justify-content:center;z-index:1}.configs .row[data-v-32b43d99]{display:flex;justify-content:center;align-items:center;margin-bottom:25px}.configs .title[data-v-32b43d99]{width:100px;position:relative}.configs .title[data-v-32b43d99]:after{content:attr(data-range);position:absolute;top:20px;left:0}.configs .config-item[data-v-32b43d99]{flex:1}.btns[data-v-32b43d99]{width:300px;height:100px;display:flex;justify-content:center;align-items:center;z-index:1}.btns .export[data-v-32b43d99]{flex:1}.btns .close[data-v-32b43d99]{width:100px;margin-left:10px}.export-json-dialog[data-v-ae2be22f]{height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;position:relative;overflow:hidden}.preview[data-v-ae2be22f]{width:100%;height:calc(100% - 100px);background-color:#f9f9f9;color:#0451a5;overflow:auto}pre[data-v-ae2be22f]{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}.btns[data-v-ae2be22f]{width:300px;height:100px;display:flex;justify-content:center;align-items:center}.btns .export[data-v-ae2be22f]{flex:1}.btns .close[data-v-ae2be22f]{width:100px;margin-left:10px}[data-v-ae2be22f]::-webkit-scrollbar{width:10px;height:10px;background-color:transparent}[data-v-ae2be22f]::-webkit-scrollbar-thumb{background-color:#e1e1e1;border-radius:5px}.export-pdf-dialog[data-v-d3a30d69]{height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;position:relative;overflow:hidden}.thumbnails-view[data-v-d3a30d69]{position:absolute;top:0;right:0;bottom:0;left:0}.thumbnails-view[data-v-d3a30d69]:after{content:"";background-color:#fff;position:absolute;top:0;right:0;bottom:0;left:0}.thumbnail.break-page[data-v-d3a30d69]{break-after:page}.configs[data-v-d3a30d69]{width:300px;height:calc(100% - 100px);display:flex;flex-direction:column;justify-content:center;z-index:1}.configs .row[data-v-d3a30d69]{display:flex;justify-content:center;align-items:center;margin-bottom:25px}.configs .title[data-v-d3a30d69]{width:100px}.configs .config-item[data-v-d3a30d69]{flex:1}.configs .tip[data-v-d3a30d69]{font-size:12px;color:#aaa;line-height:1.8;margin-top:25px}.btns[data-v-d3a30d69]{width:300px;height:100px;display:flex;justify-content:center;align-items:center;z-index:1}.btns .export[data-v-d3a30d69]{flex:1}.btns .close[data-v-d3a30d69]{width:100px;margin-left:10px}.export-pptx-dialog[data-v-254b6b07]{height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;position:relative;overflow:hidden}.configs[data-v-254b6b07]{width:350px;height:calc(100% - 100px);display:flex;flex-direction:column;justify-content:center}.configs .row[data-v-254b6b07]{display:flex;justify-content:center;align-items:center;margin-bottom:25px}.configs .title[data-v-254b6b07]{width:100px;position:relative}.configs .title[data-v-254b6b07]:after{content:attr(data-range);position:absolute;top:20px;left:0}.configs .config-item[data-v-254b6b07]{flex:1}.configs .tip[data-v-254b6b07]{font-size:12px;color:#aaa;line-height:1.8;margin-top:10px}.btns[data-v-254b6b07]{width:300px;height:100px;display:flex;justify-content:center;align-items:center}.btns .export[data-v-254b6b07]{flex:1}.btns .close[data-v-254b6b07]{width:100px;margin-left:10px}.export-pptist-dialog[data-v-bc56c9db]{height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;position:relative;overflow:hidden}.configs[data-v-bc56c9db]{width:350px;height:calc(100% - 100px);display:flex;flex-direction:column;justify-content:center}.configs .row[data-v-bc56c9db]{display:flex;justify-content:center;align-items:center;margin-bottom:25px}.configs .title[data-v-bc56c9db]{width:100px;position:relative}.configs .title[data-v-bc56c9db]:after{content:attr(data-range);position:absolute;top:20px;left:0}.configs .config-item[data-v-bc56c9db]{flex:1}.configs .tip[data-v-bc56c9db]{font-size:12px;color:#aaa;line-height:1.8;margin-top:25px}.btns[data-v-bc56c9db]{width:300px;height:100px;display:flex;justify-content:center;align-items:center}.btns .export[data-v-bc56c9db]{flex:1}.btns .close[data-v-bc56c9db]{width:100px;margin-left:10px}.export-dialog[data-v-b54f4542]{margin:-20px}.content[data-v-b54f4542]{height:460px;padding:12px;font-size:13px;overflow:auto;overflow:overlay}.moveable-panel[data-v-3fb89101]{position:fixed;background-color:#fff;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;border:1px solid #e5e7eb;border-radius:2px;display:flex;flex-direction:column;z-index:999}.resizer[data-v-3fb89101]{width:10px;height:10px;position:absolute;bottom:0;right:0;cursor:se-resize}.resizer[data-v-3fb89101]:after{content:"";position:absolute;bottom:-4px;right:-4px;transform:rotate(45deg);transform-origin:center;width:0;height:0;border:6px solid transparent;border-left-color:#e1e1e1}.header[data-v-3fb89101]{height:40px;display:flex;align-items:center;border-bottom:1px solid #f0f0f0;cursor:move}.title[data-v-3fb89101]{flex:1;font-size:13px;padding-left:10px}.close-btn[data-v-3fb89101]{width:40px;height:40px;display:flex;justify-content:center;align-items:center;color:#666;font-size:13px;cursor:pointer}.content[data-v-3fb89101]{flex:1;padding:10px;overflow:auto}.select-panel[data-v-d562651b]{height:100%;font-size:12px;-webkit-user-select:none;user-select:none}.handler[data-v-d562651b]{height:24px;margin-bottom:8px;display:flex;align-items:center;justify-content:space-between}.handler .icon-btns[data-v-d562651b]{height:100%;flex:1;display:flex;align-items:center;justify-content:flex-end}.handler .icon-btn[data-v-d562651b]{width:16px;height:100%;display:flex;align-items:center;justify-content:center;cursor:pointer}.handler .icon-btn[data-v-d562651b]:hover{color:#d14424}.element-list[data-v-d562651b]{height:calc(100% - 32px);padding-right:10px;margin-right:-10px;overflow:auto}.item[data-v-d562651b]{padding:5px;font-size:12px;border-radius:2px;display:flex;align-items:center;cursor:pointer}.item.active[data-v-d562651b]{background-color:#d144241a}.item.group-active[data-v-d562651b]{background-color:#d1442433}.item[data-v-d562651b]:hover{background-color:#d1442440}.item .name[data-v-d562651b]{height:18px;line-height:18px;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.item .icons[data-v-d562651b]{width:20px;display:flex;align-items:center;justify-content:center;margin-left:5px}.group-els[data-v-d562651b]{padding:5px 0}.group-els .group-title[data-v-d562651b]{margin-bottom:5px;padding:0 5px}.group-els .item[data-v-d562651b]{margin-left:15px}.input[data-v-d562651b]{width:100%;height:16px;border:0;outline:0;padding-left:0;padding-right:0;flex:1;font-size:12px;background-color:transparent}.search-panel[data-v-c6ed3d92]{font-size:13px}.content[data-v-c6ed3d92]{display:flex;flex-direction:column;justify-content:space-between}.input[data-v-c6ed3d92]{margin-top:10px}.count[data-v-c6ed3d92]{font-size:12px;margin-right:8px;-webkit-user-select:none;user-select:none}.ignore-case[data-v-c6ed3d92]{font-size:12px;-webkit-user-select:none;user-select:none;cursor:pointer}.ignore-case.active[data-v-c6ed3d92]{color:#d14424}.next-btn[data-v-c6ed3d92]{width:22px;height:100%;display:flex;justify-content:center;align-items:center;margin:0!important;-webkit-user-select:none;user-select:none;cursor:pointer}.next-btn[data-v-c6ed3d92]:hover{color:#d14424}.footer[data-v-c6ed3d92]{display:flex;justify-content:flex-end;align-items:center;margin-top:10px}.close-btn[data-v-c6ed3d92]{width:32px;height:32px;position:absolute;top:8px;right:3px;display:flex;justify-content:center;align-items:center;color:#666;font-size:13px;cursor:pointer}.notes-panel[data-v-4f057f75]{height:100%;font-size:12px;-webkit-user-select:none;user-select:none}.container[data-v-4f057f75]{height:100%;display:flex;flex-direction:column}.notes[data-v-4f057f75]{flex:1;overflow:auto;margin:0 -10px;padding:2px 12px}.empty[data-v-4f057f75]{width:100%;height:100%;color:#999;font-style:italic;display:flex;justify-content:center;align-items:center}.note[data-v-4f057f75]{border:1px solid #eee;border-radius:4px;padding:10px}.note+.note[data-v-4f057f75]{margin-top:10px}.note.active[data-v-4f057f75]{background-color:#f7f7f7}.note .header[data-v-4f057f75]{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:8px}.note .header:hover .btns[data-v-4f057f75]{opacity:1}.note .user[data-v-4f057f75]{display:flex;align-items:center}.note .user .avatar[data-v-4f057f75]{width:30px;height:30px;border-radius:50%;background-color:#42ba97;color:#fff;font-size:18px;display:flex;justify-content:center;align-items:center;margin-right:10px}.note .user .username[data-v-4f057f75]{font-size:14px}.note .user .time[data-v-4f057f75]{font-size:12px;color:#aaa}.note .btns[data-v-4f057f75]{display:flex;align-items:center;opacity:0}.note .btns .btn[data-v-4f057f75]{margin-left:5px;cursor:pointer}.note .btns .btn[data-v-4f057f75]:hover{text-decoration:underline;color:#d14424}.note .replies[data-v-4f057f75]{margin-left:20px;margin-top:15px}.note .replies .reply-item[data-v-4f057f75]{margin-top:10px}.note .replies .reply-item .content[data-v-4f057f75]{margin-top:5px}.note-reply[data-v-4f057f75]{margin-top:15px}.reply-btns[data-v-4f057f75]{margin-top:5px;text-align:right}.reply-btns .btn[data-v-4f057f75]{margin-left:8px}.send[data-v-4f057f75]{height:120px;flex-shrink:0;text-align:right;display:flex;flex-direction:column;justify-content:flex-end}.send .footer[data-v-4f057f75]{margin-top:10px;display:flex}.send .footer .btn[data-v-4f057f75]{display:flex;justify-content:center;align-items:center}.send .footer .btn.icon[data-v-4f057f75]{font-size:18px;color:#666;cursor:pointer}.send .footer .btn+.btn[data-v-4f057f75]{margin-left:8px}.pptist-editor[data-v-39fd665d]{height:100%}.layout-header[data-v-39fd665d]{height:40px}.layout-content[data-v-39fd665d]{height:calc(100% - 40px);display:flex}.layout-content-left[data-v-39fd665d]{width:160px;height:100%;flex-shrink:0}.layout-content-center[data-v-39fd665d]{width:calc(100% - 420px)}.layout-content-center .center-top[data-v-39fd665d]{height:40px}.layout-content-right[data-v-39fd665d]{width:260px;height:100%}.screen-element-video[data-v-d9f232b0]{position:absolute}.rotate-wrapper[data-v-d9f232b0],.element-content[data-v-d9f232b0]{width:100%;height:100%}.screen-element-audio[data-v-db0543f3]{position:absolute}.rotate-wrapper[data-v-db0543f3]{width:100%;height:100%}.element-content[data-v-db0543f3]{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.element-content:hover .audio-player[data-v-db0543f3]{display:block}.audio-icon[data-v-db0543f3]{cursor:pointer}.audio-player[data-v-db0543f3]{position:absolute;display:none}.link[data-v-28b05f52]{cursor:pointer}.screen-slide[data-v-54069779]{position:absolute;top:0;left:0;transform-origin:0 0;overflow:hidden}.background[data-v-54069779]{width:100%;height:100%;background-position:center;position:absolute}.screen-slide-list[data-v-30b01007]{background:#1d1d1d;position:relative;width:100%;height:100%}.slide-item[data-v-30b01007]{position:absolute;top:0;left:0;width:100%;height:100%}.slide-item.current[data-v-30b01007]{z-index:2}.slide-item.hide[data-v-30b01007]{opacity:0}.slide-item.turning-mode-no.before[data-v-30b01007]{transform:translateY(-100%)}.slide-item.turning-mode-no.after[data-v-30b01007]{transform:translateY(100%)}.slide-item.turning-mode-fade[data-v-30b01007]{transition:opacity .75s}.slide-item.turning-mode-fade.before[data-v-30b01007],.slide-item.turning-mode-fade.after[data-v-30b01007]{pointer-events:none;opacity:0}.slide-item.turning-mode-slideX[data-v-30b01007]{transition:transform .35s}.slide-item.turning-mode-slideX.before[data-v-30b01007]{transform:translate(-100%)}.slide-item.turning-mode-slideX.after[data-v-30b01007]{transform:translate(100%)}.slide-item.turning-mode-slideY[data-v-30b01007]{transition:transform .35s}.slide-item.turning-mode-slideY.before[data-v-30b01007]{transform:translateY(-100%)}.slide-item.turning-mode-slideY.after[data-v-30b01007]{transform:translateY(100%)}.slide-item.turning-mode-slideX3D[data-v-30b01007]{transition:transform .5s}.slide-item.turning-mode-slideX3D.before[data-v-30b01007]{transform:translate(-100%) scale(.5)}.slide-item.turning-mode-slideX3D.after[data-v-30b01007]{transform:translate(100%) scale(.5)}.slide-item.turning-mode-slideY3D[data-v-30b01007]{transition:transform .5s}.slide-item.turning-mode-slideY3D.before[data-v-30b01007]{transform:translateY(-100%) scale(.5)}.slide-item.turning-mode-slideY3D.after[data-v-30b01007]{transform:translateY(100%) scale(.5)}.slide-item.turning-mode-rotate[data-v-30b01007]{transition:transform .5s;transform-origin:0 0}.slide-item.turning-mode-rotate.before[data-v-30b01007]{transform:rotate(90deg)}.slide-item.turning-mode-rotate.after[data-v-30b01007]{transform:rotate(-90deg)}.slide-item.turning-mode-scaleY[data-v-30b01007]{transition:transform .5s}.slide-item.turning-mode-scaleY.before[data-v-30b01007],.slide-item.turning-mode-scaleY.after[data-v-30b01007]{transform:scaleY(.1)}.slide-item.turning-mode-scaleX[data-v-30b01007]{transition:transform .5s}.slide-item.turning-mode-scaleX.before[data-v-30b01007],.slide-item.turning-mode-scaleX.after[data-v-30b01007]{transform:scaleX(.1)}.slide-item.turning-mode-scale[data-v-30b01007]{transition:transform .5s}.slide-item.turning-mode-scale.before[data-v-30b01007],.slide-item.turning-mode-scale.after[data-v-30b01007]{transform:scale(.25)}.slide-item.turning-mode-scaleReverse[data-v-30b01007]{transition:transform .5s}.slide-item.turning-mode-scaleReverse.before[data-v-30b01007],.slide-item.turning-mode-scaleReverse.after[data-v-30b01007]{transform:scale(2)}.slide-content[data-v-30b01007]{background-color:#fff;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;justify-content:center;align-items:center}.slide-thumbnails[data-v-09d790f0]{width:100%;height:100%;position:fixed;top:0;left:0;background-color:#1a1a1a;z-index:99}.return-button[data-v-09d790f0]{height:60px;padding:20px 30px 0}.return-button .icon[data-v-09d790f0]{color:#fff;font-size:36px;cursor:pointer}.return-button .icon[data-v-09d790f0]:hover{color:#d14424}.slide-thumbnails-content[data-v-09d790f0]{height:calc(100% - 100px);padding:20px 30px 30px;display:flex;flex-wrap:wrap;align-content:flex-start;overflow:auto;overflow:overlay}.slide-thumbnails-content .thumbnail[data-v-09d790f0]{width:150px;outline:2px solid #aaa;margin-right:12px;margin-bottom:12px}.slide-thumbnails-content .thumbnail[data-v-09d790f0]:hover{outline-color:#d14424}.slide-thumbnails-content .thumbnail.active[data-v-09d790f0]{outline-width:3px;outline-color:#d14424}.writing-board[data-v-55ae5f6c]{z-index:8;cursor:none;position:absolute;top:0;right:0;bottom:0;left:0}.blackboard[data-v-55ae5f6c]{width:100%;height:100%;background-color:#0f392b}.canvas[data-v-55ae5f6c]{position:absolute;top:0;left:0}.eraser[data-v-55ae5f6c],.pen[data-v-55ae5f6c]{pointer-events:none;position:absolute;z-index:9}.eraser .icon[data-v-55ae5f6c],.pen .icon[data-v-55ae5f6c]{filter:drop-shadow(2px 2px 2px #555)}.eraser[data-v-55ae5f6c]{display:flex;justify-content:center;align-items:center;border-radius:50%;border:4px solid rgba(85,85,85,.15);color:#555555bf}.writing-board-tool[data-v-47295ef6]{font-size:12px;z-index:10;position:absolute;top:0;right:0;bottom:0;left:0}.writing-board-tool .writing-board-wrap[data-v-47295ef6]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.writing-board-tool .tools[data-v-47295ef6]{width:100%;height:100%;display:flex;align-items:center;justify-content:space-between}.writing-board-tool .tool-content[data-v-47295ef6]{display:flex;align-items:center}.writing-board-tool .btn[data-v-47295ef6]{padding:5px 10px;cursor:pointer}.writing-board-tool .btn[data-v-47295ef6]:hover{color:#d14424}.writing-board-tool .btn.active[data-v-47295ef6]{background-color:#d1442480;color:#fff}.writing-board-tool .icon[data-v-47295ef6]{font-size:20px}.writing-board-tool .colors[data-v-47295ef6]{display:flex;padding:0 10px}.writing-board-tool .color[data-v-47295ef6]{width:16px;height:16px;border-radius:2px;cursor:pointer}.writing-board-tool .color[data-v-47295ef6]:hover{transform:scale(1.15)}.writing-board-tool .color.active[data-v-47295ef6]{transform:scale(1.3)}.writing-board-tool .color+.color[data-v-47295ef6]{margin-left:8px}.size[data-v-47295ef6]{width:200px;display:flex;align-items:center;-webkit-user-select:none;user-select:none;font-size:13px}.size .label[data-v-47295ef6]{width:70px}.size .size-slider[data-v-47295ef6]{flex:1}.countdown-timer[data-v-92c1f9be]{-webkit-user-select:none;user-select:none}.header[data-v-92c1f9be]{height:16px;font-size:13px;margin-bottom:16px;display:flex;align-items:center}.header .text-btn[data-v-92c1f9be]{margin-right:8px;cursor:pointer}.header .text-btn[data-v-92c1f9be]:hover,.header .text-btn.active[data-v-92c1f9be]{color:#d14424}.content[data-v-92c1f9be]{display:flex;justify-content:space-between;padding:0 5px}.timer[data-v-92c1f9be]{width:54px;height:54px;border-radius:50%;background-color:#d144240d;font-size:22px;overflow:hidden}.timer input[data-v-92c1f9be]{width:100%;height:100%;border:0;outline:0;background-color:transparent;text-align:center}.colon[data-v-92c1f9be]{height:54px;line-height:54px;font-size:22px}.icon-btn[data-v-92c1f9be]{width:20px;height:20px;display:flex;justify-content:center;align-items:center;cursor:pointer}.pause[data-v-92c1f9be],.play[data-v-92c1f9be]{font-size:17px}.reset[data-v-92c1f9be]{font-size:12px}.close-btn[data-v-92c1f9be]{position:absolute;top:0;right:0;padding:10px;cursor:pointer}.base-view[data-v-85c13201]{width:100%;height:100%}.base-view.laser-pen[data-v-85c13201]{cursor:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAABHNCSVQICAgIfAhkiAAACCJJREFUWIXtmLuO3MYShv/qZl9IzqwXo2BkSAtsIK+z8wwOBcOJ9C56Cr2LlThQcgBnfofVBnswXlgTaLHaIdk3dtcJOKOzd8n2MeDABRDDgKz/m+pudv0N/BN/Luj/kYSZJQBxJR8DKESU/2zuPwTIzAKnpxqHhxUuLir0vYSUAkS0ewA5F7Rtxv7+iNPTEYeHkYjKXwrIzHK9XtultRohaKSkkFIVhqGCEAIxTvm0ZpRSTNOMUGqEUgnGxLX3cblc+t9T2S8GXK1W9dP53OLiwoLZhMtLQ4CiGBVKkchZIOcpn5QMKQuEyKx1YiCZvb0AooD9ff/rZuMPDg7cl+hWn3uAmQWABut1g/PzOnZdTd5bMY6aQtAIQQGQGEd5bYirKgPIZExiY2IKIbK1XpeinzaN2s7b4XPD/iAgM0ucn7fYbNrQ963Juaauq8k5i3E01PcG46iQs0TO1wGlzJAyo6oS2jagqgLGUQNQwTllvJeYzwUz9w8N+b2AzCxwft6i72fBuZkYhnbcbBqKsSbvazhnEIJBzqrEqGQpAlO1AaKShShC6wQpE4UQUNcBKenReyXm8yoIIYwQtNXq7qvkQxVssNm0wbmZuLiYUQgtnGtps2ngfQ3vLaVkEKOmGKcqMtMWkEnKTFonaB3Z+4AQPFmreD6vSAghxpECAFMKY7EoALovBlytVjXW6yb0fSuGoaUQWrq8nKHvW/R9S943xbmavJ+qmNIO8FMFIWXert7A1gYxjprHsSLmaTHt7UF0HYdSilmv82q1ynctnFuAzCzx8aPF+Xltcq7HzaaBcy36vsUwzKjrZhiGRgxDA+8tUjIUgkbOEqVMgEIUkjLDmAjvgwjBI6WKxlHybp5KyVRKMcaMGIb0dLFIzBxvzsdbgOv12i69t7HrpgURY02bTYO+b6nrZui6qZLONdz3jTg5ORDHx0f48OExQpgBAIzp8OjRez46Oi7Pnq1ot5BKETQVgYmosJRj6rrEQNJCxLX3EUB/LyAzC3z8qOGcIe8tOWdpmm81ed9gGJpdJdF1rXz79jucnX1za454P8fZ2ZzOzr6Rx8fvyvPnP38afiEKVVXmqhrJ+wSlIqoqYj73S2s1M7urC0ZcS3x6qhGCDpeXBuOoMY4Gzhl4b4tzNYahgXMNuq4Vb978cCfczTg7+0a8efMDuq6Fcw2GoSnO1fDewjmDcTQYx0kzBI3TU3319euAh4cVUlIEKApBU98bhGAoJSO8N/Dect834u3b73B+/vVn4XZxfv61ePv2O+77Bt5b4b2hlKbcfW8oBE2AQkoKh4fXRvU64MVFhZQqilEhBLX9CCvEqLer1YiTk4MvqtxdlTw5OcAWDDFq5DxphDBtmSlNzcddgMws0fcyDEOFUiQAiZxliVGVGFVJSXEImo6Pj3433Dbo+PiIQ9AlJbXLi5wnrVIm7b6X223wOiAAASkFhBDIWWAcJXKWshQhcpYiZ0k5S3z48PhO9ZcvgV9+ma6XL+8m/PDhMW1ziW1u5Cy3WpO2lOIq11VAAhEhRkLO0z0RgVmAefotRXz6lNyMV6+AxWK6Xr26GzCEGXZb4i7nTifnSXv6Tn7qssTdmf4+cRWQwczQmiHldM/MICogmn6FKDDmzj0Tr18D5+fT9fr13WrGdBCiXMu505Fy0mZmTJYBwPUPdUHOBaUUSFlQVRlS5rzbtqTMJGXGo0fvcXY2vyX+44/T9VA8evSepcy8zcdCFDG1ZBlSTto5FwC3P9RElNG22TTNCCEygAwps9A6Ca2TUCqRMZGPjo4fprg/+OjomIyJQqm0ywspJy0hJu22zVf34+tzcH9/hFIja51gTEJVJUiZoHWEMQFKhfLs2QpPnrz73XRPnrwrz56toFSAMQFaR0g5aRiTWOsEpUbs749XX7u51Y1QKjGQ2JjIbRtgTGClQrE2wFpPbTuU589/xmLx2xfDLRa/lefPf6a2HWCtL9YG3oJy2wY2JjKQoFTC6ekDgIeHEcZEs7cXUFURVTV1wtZ6UdcOTTOgrgfMZn158eKnL6rkkyfvyosXP2E261HXA5pmEHXtYK1HXU9WoKomTWMiDg/j1devbStEVN6/fx+XRIGt9RhHjZQ0Wat4HCsax//1fEQlf//9v8XJyTF9rt1q2+mPtW2PphnY2gHWOrbWcV17ttaDKKy9j4/398u9gACwXC49Pn7UuhQNQI3eT206s2DadptCFEiZqaoS/+tfvnz77X/oRsPKUmYyJpJSAdZ6NM2Aphl4Pu/QND3P5wO0dmo2c5jNHPb3/fKrr/xNnluARJRXq5V/2jQqOKfE1kPsPC8zM1VVLkqNwpiAEAxbq+hGy89SZtq2/MXaIOrasbUDmqZH2/Zo257bdghSOtM07tfNxh/s799yd3d6koODA8fM0ngvw9bgYG9vatOJClfVSFUVYe3UldxhmiBlxtY0kVLTlLHW8Xw+oG17NqYvs1lv6rrHcjkcEN1p5B9ydQPmc2GEoABAdB1TKYWlnDph5wJvbSdPpwvXbCcLUXhrO2FMQF0HttZBa8dtO5TZrDdt26FtewDDfRD3AhJRYeYemKxh2Bqc1HVTm17Xn4y7yFnyDeMurhh33hp3rmuvZjMXpHSmrqehXiz6h04XHjxZIKLMzB0Wi2LW64xhSAwkVFXEOGpo/dmjD2yPPlBVka31mM2caRqH5XLAnz362FUSQLdarfLTxSJpISLmcx8uLw217R8/PLpnzt3S/5KHdvG3Pn67Afr3PMB8APgvOwL+J/5s/BeEBm1u1Gu4+QAAAABJRU5ErkJggg==) 20 20,default!important}.tools-left[data-v-85c13201]{position:fixed;bottom:8px;left:8px;font-size:25px;color:#666;z-index:10}.tools-left .tool-btn[data-v-85c13201]{opacity:.35;cursor:pointer}.tools-left .tool-btn[data-v-85c13201]:hover{opacity:.9}.tools-left .tool-btn+.tool-btn[data-v-85c13201]{margin-left:8px}.tools-right[data-v-85c13201]{height:66px;position:fixed;bottom:-66px;right:0;z-index:5;padding:8px;transition:bottom .2s}.tools-right.visible[data-v-85c13201]{bottom:0}.tools-right[data-v-85c13201]:after{content:"";width:100%;height:66px;position:absolute;left:0;top:-66px}.tools-right .content[data-v-85c13201]{width:100%;height:100%;display:flex;justify-content:center;align-items:center;border-radius:2px;font-size:25px;background-color:#fff;color:#41464b;padding:8px 10px;box-shadow:0 2px 12px #38383833;border:1px solid #e2e6ed}.tools-right .tool-btn[data-v-85c13201]{cursor:pointer}.tools-right .tool-btn[data-v-85c13201]:hover,.tools-right .tool-btn.active[data-v-85c13201]{color:#d14424}.tools-right .tool-btn+.tool-btn[data-v-85c13201]{margin-left:15px}.tools-right .page-number[data-v-85c13201]{font-size:13px;padding:8px 12px;cursor:pointer}.presenter-view[data-v-691774ef]{width:100%;height:100%;display:flex}.toolbar[data-v-691774ef]{width:70px;height:100%;background-color:#fff;border-right:solid 1px #eee;font-size:12px;margin:20px 0}.toolbar .tool-btn[data-v-691774ef]{display:flex;flex-direction:column;justify-content:center;align-items:center;cursor:pointer}.toolbar .tool-btn+.tool-btn[data-v-691774ef]{margin-top:22px}.toolbar .tool-btn[data-v-691774ef]:hover,.toolbar .tool-btn.active[data-v-691774ef]{color:#d14424}.toolbar .divider[data-v-691774ef]{width:70%;margin:24px 15%!important}.toolbar .tool-icon[data-v-691774ef]{margin-bottom:8px;font-size:22px}.content[data-v-691774ef]{width:calc(100% - 430px);height:100%;background-color:#1d1d1d}.slide-list-wrap[data-v-691774ef]{height:calc(100% - 190px);margin:20px;overflow:hidden;position:relative}.slide-list-wrap.laser-pen[data-v-691774ef]{cursor:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAABHNCSVQICAgIfAhkiAAACCJJREFUWIXtmLuO3MYShv/qZl9IzqwXo2BkSAtsIK+z8wwOBcOJ9C56Cr2LlThQcgBnfofVBnswXlgTaLHaIdk3dtcJOKOzd8n2MeDABRDDgKz/m+pudv0N/BN/Luj/kYSZJQBxJR8DKESU/2zuPwTIzAKnpxqHhxUuLir0vYSUAkS0ewA5F7Rtxv7+iNPTEYeHkYjKXwrIzHK9XtultRohaKSkkFIVhqGCEAIxTvm0ZpRSTNOMUGqEUgnGxLX3cblc+t9T2S8GXK1W9dP53OLiwoLZhMtLQ4CiGBVKkchZIOcpn5QMKQuEyKx1YiCZvb0AooD9ff/rZuMPDg7cl+hWn3uAmQWABut1g/PzOnZdTd5bMY6aQtAIQQGQGEd5bYirKgPIZExiY2IKIbK1XpeinzaN2s7b4XPD/iAgM0ucn7fYbNrQ963Juaauq8k5i3E01PcG46iQs0TO1wGlzJAyo6oS2jagqgLGUQNQwTllvJeYzwUz9w8N+b2AzCxwft6i72fBuZkYhnbcbBqKsSbvazhnEIJBzqrEqGQpAlO1AaKShShC6wQpE4UQUNcBKenReyXm8yoIIYwQtNXq7qvkQxVssNm0wbmZuLiYUQgtnGtps2ngfQ3vLaVkEKOmGKcqMtMWkEnKTFonaB3Z+4AQPFmreD6vSAghxpECAFMKY7EoALovBlytVjXW6yb0fSuGoaUQWrq8nKHvW/R9S943xbmavJ+qmNIO8FMFIWXert7A1gYxjprHsSLmaTHt7UF0HYdSilmv82q1ynctnFuAzCzx8aPF+Xltcq7HzaaBcy36vsUwzKjrZhiGRgxDA+8tUjIUgkbOEqVMgEIUkjLDmAjvgwjBI6WKxlHybp5KyVRKMcaMGIb0dLFIzBxvzsdbgOv12i69t7HrpgURY02bTYO+b6nrZui6qZLONdz3jTg5ORDHx0f48OExQpgBAIzp8OjRez46Oi7Pnq1ot5BKETQVgYmosJRj6rrEQNJCxLX3EUB/LyAzC3z8qOGcIe8tOWdpmm81ed9gGJpdJdF1rXz79jucnX1za454P8fZ2ZzOzr6Rx8fvyvPnP38afiEKVVXmqhrJ+wSlIqoqYj73S2s1M7urC0ZcS3x6qhGCDpeXBuOoMY4Gzhl4b4tzNYahgXMNuq4Vb978cCfczTg7+0a8efMDuq6Fcw2GoSnO1fDewjmDcTQYx0kzBI3TU3319euAh4cVUlIEKApBU98bhGAoJSO8N/Dect834u3b73B+/vVn4XZxfv61ePv2O+77Bt5b4b2hlKbcfW8oBE2AQkoKh4fXRvU64MVFhZQqilEhBLX9CCvEqLer1YiTk4MvqtxdlTw5OcAWDDFq5DxphDBtmSlNzcddgMws0fcyDEOFUiQAiZxliVGVGFVJSXEImo6Pj3433Dbo+PiIQ9AlJbXLi5wnrVIm7b6X223wOiAAASkFhBDIWWAcJXKWshQhcpYiZ0k5S3z48PhO9ZcvgV9+ma6XL+8m/PDhMW1ziW1u5Cy3WpO2lOIq11VAAhEhRkLO0z0RgVmAefotRXz6lNyMV6+AxWK6Xr26GzCEGXZb4i7nTifnSXv6Tn7qssTdmf4+cRWQwczQmiHldM/MICogmn6FKDDmzj0Tr18D5+fT9fr13WrGdBCiXMu505Fy0mZmTJYBwPUPdUHOBaUUSFlQVRlS5rzbtqTMJGXGo0fvcXY2vyX+44/T9VA8evSepcy8zcdCFDG1ZBlSTto5FwC3P9RElNG22TTNCCEygAwps9A6Ca2TUCqRMZGPjo4fprg/+OjomIyJQqm0ywspJy0hJu22zVf34+tzcH9/hFIja51gTEJVJUiZoHWEMQFKhfLs2QpPnrz73XRPnrwrz56toFSAMQFaR0g5aRiTWOsEpUbs749XX7u51Y1QKjGQ2JjIbRtgTGClQrE2wFpPbTuU589/xmLx2xfDLRa/lefPf6a2HWCtL9YG3oJy2wY2JjKQoFTC6ekDgIeHEcZEs7cXUFURVTV1wtZ6UdcOTTOgrgfMZn158eKnL6rkkyfvyosXP2E261HXA5pmEHXtYK1HXU9WoKomTWMiDg/j1devbStEVN6/fx+XRIGt9RhHjZQ0Wat4HCsax//1fEQlf//9v8XJyTF9rt1q2+mPtW2PphnY2gHWOrbWcV17ttaDKKy9j4/398u9gACwXC49Pn7UuhQNQI3eT206s2DadptCFEiZqaoS/+tfvnz77X/oRsPKUmYyJpJSAdZ6NM2Aphl4Pu/QND3P5wO0dmo2c5jNHPb3/fKrr/xNnluARJRXq5V/2jQqOKfE1kPsPC8zM1VVLkqNwpiAEAxbq+hGy89SZtq2/MXaIOrasbUDmqZH2/Zo257bdghSOtM07tfNxh/s799yd3d6koODA8fM0ngvw9bgYG9vatOJClfVSFUVYe3UldxhmiBlxtY0kVLTlLHW8Xw+oG17NqYvs1lv6rrHcjkcEN1p5B9ydQPmc2GEoABAdB1TKYWlnDph5wJvbSdPpwvXbCcLUXhrO2FMQF0HttZBa8dtO5TZrDdt26FtewDDfRD3AhJRYeYemKxh2Bqc1HVTm17Xn4y7yFnyDeMurhh33hp3rmuvZjMXpHSmrqehXiz6h04XHjxZIKLMzB0Wi2LW64xhSAwkVFXEOGpo/dmjD2yPPlBVka31mM2caRqH5XLAnz362FUSQLdarfLTxSJpISLmcx8uLw217R8/PLpnzt3S/5KHdvG3Pn67Afr3PMB8APgvOwL+J/5s/BeEBm1u1Gu4+QAAAABJRU5ErkJggg==) 20 20,default!important}.thumbnails[data-v-691774ef]{height:150px;padding:15px;white-space:nowrap;overflow-x:auto;overflow-y:hidden;border-top:solid 1px #3a3a3a}.thumbnail[data-v-691774ef]{display:inline-block;outline:2px solid #aaa}.thumbnail+.thumbnail[data-v-691774ef]{margin-left:10px}.thumbnail[data-v-691774ef]:hover{outline-color:#d14424}.thumbnail.active[data-v-691774ef]{outline-width:3px;outline-color:#d14424}.remark[data-v-691774ef]{width:360px;height:100%;position:relative;background-color:#2a2a2a;border-left:solid 1px #3a3a3a;color:#fff}.remark .header[data-v-691774ef]{height:60px;padding:0 20px;display:flex;justify-content:space-between;align-items:center;font-size:18px;border-bottom:1px solid #3a3a3a}.remark .remark-content[data-v-691774ef]{height:calc(100% - 60px);padding:20px;line-height:1.5;overflow:auto;overflow:overlay}.remark .remark-scale[data-v-691774ef]{position:absolute;right:5px;bottom:5px;font-size:22px;display:flex}.remark .scale-btn[data-v-691774ef]{width:40px;height:40px;display:flex;justify-content:center;align-items:center;-webkit-user-select:none;user-select:none;cursor:pointer}.remark .scale-btn.disable[data-v-691774ef]{color:#666;cursor:no-drop}.remark .scale-btn[data-v-691774ef]:not(.disable):hover{background-color:#333}[data-v-691774ef]::-webkit-scrollbar{width:0;height:0}.pptist-screen[data-v-2f0dc4b8]{width:100%;height:100%}.mobile-operate[data-v-b61bf2dc]{position:absolute;z-index:100;-webkit-user-select:none;user-select:none}.mobile-thumbnails[data-v-f47af55e]{padding:10px;white-space:nowrap;overflow-x:auto;overflow-y:hidden}.thumbnail-item[data-v-f47af55e]{position:relative;display:inline-block;outline:2px solid #aaa}.thumbnail-item+.thumbnail-item[data-v-f47af55e]{margin-left:10px}.thumbnail-item.active[data-v-f47af55e]{outline-color:#d14424}.thumbnail-item.active .label[data-v-f47af55e]{background-color:#d14424}.thumbnail-item .label[data-v-f47af55e]{min-width:20px;height:14px;line-height:14px;position:absolute;right:-1px;top:-1px;color:#fff;background-color:#aaa;z-index:1;font-size:12px;text-align:center;padding:0 5px}.sortable-chosen[data-v-f47af55e]{top:-5px}[data-v-f47af55e]::-webkit-scrollbar{width:0;height:0}.slide-toolbar[data-v-34808e39]{height:230px;background-color:#fff;box-shadow:0 0 15px #0000001a;display:flex;flex-direction:column;position:relative;z-index:2}.remark[data-v-34808e39]{position:relative;flex:1;border-bottom:1px solid #e5e7eb;line-height:1.5}.remark textarea[data-v-34808e39]{width:100%;height:100%;overflow-y:auto;resize:none;border:0;outline:0;padding:8px 10px;font-size:12px;box-sizing:border-box;position:absolute;top:0;right:0;bottom:0;left:0}.toolbar[data-v-34808e39]{height:90px;border-bottom:1px solid #e5e7eb;padding:10px}.row[data-v-34808e39]{width:100%;display:flex;align-items:center;margin-bottom:5px}.row .icon[data-v-34808e39]{margin-right:3px}.element-toolbar[data-v-14deecba]{width:100%;height:240px;position:absolute;z-index:99;bottom:0;left:0;background-color:#fff;box-shadow:0 0 15px #0000001a;display:flex;flex-direction:column;animation:slideInUp-14deecba .15s}@keyframes slideInUp-14deecba{0%{transform:translateY(100%)}to{transform:translateY(0)}}.content[data-v-14deecba]{padding:10px;flex:1;overflow:auto}.row[data-v-14deecba]{width:100%;display:flex;align-items:center;margin-bottom:10px}.row .icon[data-v-14deecba]{margin-right:3px}.row-block[data-v-14deecba]{margin-bottom:10px;background-color:#f9f9f9;border-radius:2px;padding:10px}.label[data-v-14deecba]{font-size:13px;margin-bottom:20px;margin-left:6px}.colors[data-v-14deecba]{display:flex;flex-wrap:wrap;align-content:flex-start}.color[data-v-14deecba]{width:12%;margin-bottom:calc(4% / 7);padding-bottom:5px;display:flex;justify-content:center;align-items:center}.color[data-v-14deecba]:not(:nth-child(8n)){margin-right:calc(4% / 7)}.color .color-block[data-v-14deecba]{width:30px;height:30px;border-radius:50%}.mobile-editor-header[data-v-091403e4]{height:50px;background-color:#fff;display:flex;justify-content:space-between;align-items:center;padding:0 18px;font-size:13px;box-shadow:0 0 15px #0000001a;position:relative;z-index:2}.history[data-v-091403e4]{display:flex;justify-content:center;align-items:center}.history-item[data-v-091403e4]{margin-right:20px}.history-item.disable[data-v-091403e4]{opacity:.5}.mobile-editor[data-v-94103018]{height:100%;position:relative;background-color:#f9f9f9}.content[data-v-94103018]{height:calc(100% - 280px);display:flex;justify-content:center;align-items:center}.viewport[data-v-94103018]{transform-origin:0 0}.viewport-wrapper[data-v-94103018]{position:relative;box-shadow:0 0 0 1px #00000003,0 0 12px #0000001a}.background[data-v-94103018]{width:100%;height:100%;background-position:center;position:absolute}.mobile-player[data-v-c846a018]{transform-origin:0 0;background-color:#1d1d1d;position:relative}.screen-slide-list[data-v-c846a018]{position:relative;width:100%;height:100%}.slide-item[data-v-c846a018]{position:absolute;top:0;left:0;width:100%;height:100%}.slide-item.current[data-v-c846a018]{z-index:2}.slide-item.hide[data-v-c846a018]{opacity:0}.slide-item.turning-mode-no.before[data-v-c846a018]{transform:translateY(-100%)}.slide-item.turning-mode-no.after[data-v-c846a018]{transform:translateY(100%)}.slide-item.turning-mode-fade[data-v-c846a018]{transition:opacity .75s}.slide-item.turning-mode-fade.before[data-v-c846a018],.slide-item.turning-mode-fade.after[data-v-c846a018]{pointer-events:none;opacity:0}.slide-item.turning-mode-slideX[data-v-c846a018]{transition:transform .35s}.slide-item.turning-mode-slideX.before[data-v-c846a018]{transform:translate(-100%)}.slide-item.turning-mode-slideX.after[data-v-c846a018]{transform:translate(100%)}.slide-item.turning-mode-slideY[data-v-c846a018]{transition:transform .35s}.slide-item.turning-mode-slideY.before[data-v-c846a018]{transform:translateY(-100%)}.slide-item.turning-mode-slideY.after[data-v-c846a018]{transform:translateY(100%)}.slide-content[data-v-c846a018]{background-color:#fff;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;justify-content:center;align-items:center}.header[data-v-c846a018]{width:100%;height:40px;line-height:40px;padding:0 15px;position:absolute;top:0;left:0;z-index:99;background-color:#1d1d1db3;text-align:right;font-size:13px;color:#fff;animation:slideInDown-c846a018 .15s}.header .back[data-v-c846a018]{height:100%}.thumbnails[data-v-c846a018]{width:100%;position:absolute;bottom:0;left:0;z-index:99;background-color:#1d1d1db3;overflow:auto!important;animation:slideInUp-c846a018 .15s}@keyframes slideInUp-c846a018{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes slideInDown-c846a018{0%{transform:translateY(-100%)}to{transform:translateY(0)}}.mobile-preview[data-v-99aa0ac4]{height:100%;background-color:#f9f9f9}.thumbnail-list[data-v-99aa0ac4]{height:calc(100% - 50px);padding:10px;overflow:auto}.thumbnail-item[data-v-99aa0ac4]{display:flex;justify-content:center;align-items:center;box-shadow:0 0 15px #0000001a}.thumbnail-item+.thumbnail-item[data-v-99aa0ac4]{margin-top:10px}.menu[data-v-99aa0ac4]{height:50px;position:relative;box-shadow:0 -2px 4px #3333330d;background:#fff;display:flex;justify-content:center;align-items:center}.menu .menu-item[data-v-99aa0ac4]{width:50%;height:100%;display:flex;justify-content:center;align-items:center;font-size:13px}.menu .menu-item .icon[data-v-99aa0ac4]{margin-right:8px;font-size:18px}.mobile[data-v-d02011cb],#app{height:100%}.i-icon{display:inline-block;color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;vertical-align:-.125em;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.i-icon-spin svg{animation:i-icon-spin 1s infinite linear}.i-icon-rtl{transform:scaleX(-1)}@keyframes i-icon-spin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes i-icon-spin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.ProseMirror{position:relative}.ProseMirror{word-wrap:break-word;white-space:pre-wrap;white-space:break-spaces;-webkit-font-variant-ligatures:none;font-variant-ligatures:none;font-feature-settings:"liga" 0}.ProseMirror pre{white-space:pre-wrap}.ProseMirror li{position:relative}.ProseMirror-hideselection *::selection{background:transparent}.ProseMirror-hideselection *::-moz-selection{background:transparent}.ProseMirror-hideselection{caret-color:transparent}.ProseMirror [draggable][contenteditable=false]{-webkit-user-select:text;user-select:text}.ProseMirror-selectednode{outline:2px solid #8cf}li.ProseMirror-selectednode{outline:none}li.ProseMirror-selectednode:after{content:"";position:absolute;left:-32px;right:-2px;top:-2px;bottom:-2px;border:2px solid #8cf;pointer-events:none}img.ProseMirror-separator{display:inline!important;border:none!important;margin:0!important}/*! +@charset "UTF-8";.message[data-v-5f638602]{max-width:600px}.message+.message[data-v-5f638602]{margin-top:15px}.message-container[data-v-5f638602]{min-width:50px;display:flex;align-items:center;padding:10px;font-size:13px;overflow:hidden;border-radius:2px;box-shadow:0 1px 8px #00000026;background:#fff;pointer-events:all;position:relative}.message-container .icons[data-v-5f638602]{display:flex;align-items:center;margin-right:10px}.message-container .title[data-v-5f638602]{font-size:14px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-container .content[data-v-5f638602]{width:100%}.message-container .description[data-v-5f638602]{line-height:1.5;color:#41464b}.message-container .title+.description[data-v-5f638602]{margin-top:5px}.message-container .control[data-v-5f638602]{position:relative;height:100%;margin-left:10px}.message-container .close-btn[data-v-5f638602]{font-size:15px;color:#666;display:flex;align-items:center;cursor:pointer}.message-container .close-btn[data-v-5f638602]:hover{color:#d14424}.message-fade-enter-active[data-v-5f638602]{animation:message-fade-in-down-5f638602 .3s}.message-fade-leave-active[data-v-5f638602]{animation:message-fade-out-5f638602 .3s}@keyframes message-fade-in-down-5f638602{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}@keyframes message-fade-out-5f638602{0%{opacity:1;margin-top:0}to{opacity:0;margin-top:-45px}}.hotkey-doc[data-v-0762be00]{height:100%;overflow:auto;font-size:12px;margin:0 -15px;padding:0 15px 15px}.title[data-v-0762be00]{font-size:14px;font-weight:700;border-bottom:1px solid #e5e5e5;padding:25px 0 5px}.title[data-v-0762be00]:first-child{padding-top:0}.hotkey-item[data-v-0762be00]{border-bottom:1px solid #e5e5e5;padding:15px 0 5px;display:flex;align-items:center}.label[data-v-0762be00]{width:140px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.input[data-v-1bd53d05]{display:none}.fullscreen-spin[data-v-9856918a]{position:fixed;top:0;bottom:0;left:0;right:0;z-index:100;display:flex;justify-content:center;align-items:center;background-color:#f1f1f1b3}.spin[data-v-9856918a]{width:200px;height:200px;position:fixed;top:50%;left:50%;margin-top:-100px;margin-left:-100px;display:flex;flex-direction:column;justify-content:center;align-items:center}.spinner[data-v-9856918a]{width:36px;height:36px;border:3px solid #d14424;border-top-color:transparent;border-radius:50%;animation:spinner-9856918a .8s linear infinite}.text[data-v-9856918a]{margin-top:20px;color:#d14424}@keyframes spinner-9856918a{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.drawer[data-v-46f39759]{height:100%;position:fixed;top:0;bottom:0;z-index:5000;background:#fff;display:flex;flex-direction:column}.drawer.left[data-v-46f39759]{left:0;box-shadow:3px 0 6px -4px #0000001f,9px 0 28px 8px #0000000d}.drawer.right[data-v-46f39759]{right:0;box-shadow:-3px 0 6px -4px #0000001f,-9px 0 28px 8px #0000000d}.header[data-v-46f39759]{height:50px;padding:0 15px;position:relative;display:flex;align-items:center}.header .close-btn[data-v-46f39759]{width:20px;height:20px;display:flex;justify-content:center;align-items:center;position:absolute;top:15px;right:15px;cursor:pointer}.content[data-v-46f39759]{padding:0 15px;overflow:auto;flex:1}.drawer-slide-right-enter-active[data-v-46f39759]{animation:drawer-slide-right-enter-46f39759 .25s both ease}.drawer-slide-right-leave-active[data-v-46f39759]{animation:drawer-slide-right-leave-46f39759 .25s both ease}.drawer-slide-left-enter-active[data-v-46f39759]{animation:drawer-slide-left-enter-46f39759 .25s both ease}.drawer-slide-left-leave-active[data-v-46f39759]{animation:drawer-slide-left-leave-46f39759 .25s both ease}@keyframes drawer-slide-right-enter-46f39759{0%{transform:translate(100%)}}@keyframes drawer-slide-right-leave-46f39759{to{transform:translate(100%)}}@keyframes drawer-slide-left-enter-46f39759{0%{transform:translate(-100%)}}@keyframes drawer-slide-left-leave-46f39759{to{transform:translate(-100%)}}.input[data-v-e8b3d756]{background-color:#fff;border:1px solid #d9d9d9;padding:0 5px;border-radius:2px;transition:border-color .25s;font-size:13px;display:flex}.input input[data-v-e8b3d756]{min-width:0;height:30px;outline:0;border:0;line-height:30px;vertical-align:top;color:#41464b;padding:0 5px;flex:1;font-size:13px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.input input[data-v-e8b3d756]::placeholder{color:#bfbfbf}.input[data-v-e8b3d756]:not(.disabled):hover,.input.focused[data-v-e8b3d756]{border-color:#d14424}.input.disabled[data-v-e8b3d756]{background-color:#f5f5f5;border-color:#dcdcdc;color:#b7b7b7}.input.disabled input[data-v-e8b3d756]{color:#b7b7b7}.input.simple[data-v-e8b3d756]{border:0}.input .prefix[data-v-e8b3d756],.input .suffix[data-v-e8b3d756]{display:flex;justify-content:center;align-items:center;line-height:30px;-webkit-user-select:none;user-select:none}.tippy-box[data-animation=scale][data-placement^=top]{transform-origin:bottom}.tippy-box[data-animation=scale][data-placement^=bottom]{transform-origin:top}.tippy-box[data-animation=scale][data-placement^=left]{transform-origin:right}.tippy-box[data-animation=scale][data-placement^=right]{transform-origin:left}.tippy-box[data-animation=scale][data-state=hidden]{transform:scale(.5);opacity:0}.popover.center[data-v-6a57fbcf]{display:flex;justify-content:center;align-items:center}.popover-content[data-v-6a57fbcf]{background-color:#fff;padding:10px;border:1px solid #e5e7eb;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;border-radius:2px;font-size:13px}.tippy-box[data-theme~=popover]{border:0;outline:0}.popover-menu-item[data-v-1f176c16]{min-width:80px;padding:6px 10px;border-radius:2px;font-size:13px;cursor:pointer}.popover-menu-item.center[data-v-1f176c16]{text-align:center}.popover-menu-item[data-v-1f176c16]:hover{background-color:#f1f1f1}.popover-menu-item+.popover-menu-item[data-v-1f176c16]{margin-top:2px}.editor-header[data-v-57b3c954]{background-color:#fff;-webkit-user-select:none;user-select:none;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:0 5px}.left[data-v-57b3c954],.right[data-v-57b3c954]{display:flex;justify-content:center;align-items:center}.menu-item[data-v-57b3c954]{height:30px;display:flex;justify-content:center;align-items:center;font-size:14px;padding:0 10px;border-radius:2px;cursor:pointer}.menu-item .icon[data-v-57b3c954]{font-size:18px;color:#666}.menu-item[data-v-57b3c954]:hover{background-color:#f1f1f1}.group-menu-item[data-v-57b3c954]{height:30px;display:flex;margin:0 8px;padding:0 2px;border-radius:2px}.group-menu-item[data-v-57b3c954]:hover{background-color:#f1f1f1}.group-menu-item .menu-item[data-v-57b3c954]{padding:0 3px}.group-menu-item .arrow-btn[data-v-57b3c954]{display:flex;justify-content:center;align-items:center;cursor:pointer}.title[data-v-57b3c954]{height:30px;margin-left:2px;font-size:13px}.title .title-input[data-v-57b3c954]{width:200px;height:100%;padding-left:0;padding-right:0}.title .title-input[data-v-57b3c954] input{height:28px;line-height:28px}.title .title-text[data-v-57b3c954]{min-width:20px;max-width:400px;line-height:30px;padding:0 6px;border-radius:2px;cursor:pointer;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.title .title-text[data-v-57b3c954]:hover{background-color:#f1f1f1}.github-link[data-v-57b3c954]{display:inline-block;height:30px}svg[data-v-09a0319c]{overflow:visible;position:absolute;z-index:2;top:0;left:0}svg[data-v-19e68d74]{overflow:visible;position:absolute;z-index:2;top:0;left:0}svg[data-v-a036b0a3]{overflow:visible;position:absolute;z-index:2;top:0;left:0}.image-clip-handler[data-v-31b3b0f9]{width:100%;height:100%;position:relative}.image-clip-handler .bottom-img[data-v-31b3b0f9]{top:0;left:0;width:100%;height:100%;opacity:.5}.image-clip-handler img[data-v-31b3b0f9]{width:100%;height:100%}.image-clip-handler .top-image-content[data-v-31b3b0f9]{position:absolute;overflow:hidden}.image-clip-handler .top-image-content img[data-v-31b3b0f9]{position:absolute}.operate[data-v-31b3b0f9]{position:absolute;width:100%;height:100%;top:0;left:0;cursor:move}.clip-point[data-v-31b3b0f9]{position:absolute;width:16px;height:16px}.clip-point svg[data-v-31b3b0f9]{overflow:visible}.clip-point.left-top[data-v-31b3b0f9]{left:0;top:0}.clip-point.right-top[data-v-31b3b0f9]{left:100%;top:0;transform:rotate(90deg);transform-origin:0 0}.clip-point.left-bottom[data-v-31b3b0f9]{left:0;top:100%;transform:rotate(-90deg);transform-origin:0 0}.clip-point.right-bottom[data-v-31b3b0f9]{left:100%;top:100%;transform:rotate(180deg);transform-origin:0 0}.clip-point.top[data-v-31b3b0f9]{left:50%;top:0;margin-left:-8px}.clip-point.bottom[data-v-31b3b0f9]{left:50%;bottom:0;margin-left:-8px;transform:rotate(180deg)}.clip-point.left[data-v-31b3b0f9]{left:0;top:50%;margin-top:-8px;transform:rotate(-90deg)}.clip-point.right[data-v-31b3b0f9]{right:0;top:50%;margin-top:-8px;transform:rotate(90deg)}.clip-point.left-top.rotate-0[data-v-31b3b0f9],.clip-point.right-bottom.rotate-0[data-v-31b3b0f9],.clip-point.left.rotate-45[data-v-31b3b0f9],.clip-point.right.rotate-45[data-v-31b3b0f9],.clip-point.left-bottom.rotate-90[data-v-31b3b0f9],.clip-point.right-top.rotate-90[data-v-31b3b0f9],.clip-point.top.rotate-135[data-v-31b3b0f9],.clip-point.bottom.rotate-135[data-v-31b3b0f9]{cursor:nwse-resize}.clip-point.top.rotate-0[data-v-31b3b0f9],.clip-point.bottom.rotate-0[data-v-31b3b0f9],.clip-point.left-top.rotate-45[data-v-31b3b0f9],.clip-point.right-bottom.rotate-45[data-v-31b3b0f9],.clip-point.left.rotate-90[data-v-31b3b0f9],.clip-point.right.rotate-90[data-v-31b3b0f9],.clip-point.left-bottom.rotate-135[data-v-31b3b0f9],.clip-point.right-top.rotate-135[data-v-31b3b0f9]{cursor:ns-resize}.clip-point.left-bottom.rotate-0[data-v-31b3b0f9],.clip-point.right-top.rotate-0[data-v-31b3b0f9],.clip-point.top.rotate-45[data-v-31b3b0f9],.clip-point.bottom.rotate-45[data-v-31b3b0f9],.clip-point.left-top.rotate-90[data-v-31b3b0f9],.clip-point.right-bottom.rotate-90[data-v-31b3b0f9],.clip-point.left.rotate-135[data-v-31b3b0f9],.clip-point.right.rotate-135[data-v-31b3b0f9]{cursor:nesw-resize}.clip-point.left.rotate-0[data-v-31b3b0f9],.clip-point.right.rotate-0[data-v-31b3b0f9],.clip-point.left-bottom.rotate-45[data-v-31b3b0f9],.clip-point.right-top.rotate-45[data-v-31b3b0f9],.clip-point.top.rotate-90[data-v-31b3b0f9],.clip-point.bottom.rotate-90[data-v-31b3b0f9],.clip-point.left-top.rotate-135[data-v-31b3b0f9],.clip-point.right-bottom.rotate-135[data-v-31b3b0f9]{cursor:ew-resize}.editable-element-image[data-v-86b9f3af]{position:absolute}.editable-element-image.lock .element-content[data-v-86b9f3af]{cursor:default}.rotate-wrapper[data-v-86b9f3af]{width:100%;height:100%}.element-content[data-v-86b9f3af]{width:100%;height:100%;position:relative;cursor:move}.element-content .image-content[data-v-86b9f3af]{width:100%;height:100%;overflow:hidden;position:relative}.element-content img[data-v-86b9f3af]{position:absolute}.color-mask[data-v-86b9f3af]{position:absolute;top:0;bottom:0;left:0;right:0}svg[data-v-e2ef58f5]{overflow:visible;position:absolute;top:0;left:0}.prosemirror-editor[data-v-d7122e81]{cursor:text}.prosemirror-editor.format-painter[data-v-d7122e81]{cursor:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcuMzUuMDEybC0uMDY2Ljk5OGE1LjI3MSA1LjI3MSAwIDAwLTEuMTg0LjA2IDMuOCAzLjggMCAwMC0uOTMzLjQ3MmMtLjQ0LjM1Ni0uNzgzLjgxMS0uOTk4IDEuMzI0bC4wMTgtLjAzNnY1LjEyaDEuMDR2Ljk4aC0xLjA0bC0uMDAyIDQuMTVjLjE4Ny40MjYuNDYuODEuNzkxIDEuMTE3bC4xNzUuMTUyYy4yOTMuMjA4LjYxNS4zNzMuODkuNDcyLjQxLjA4Mi44My4xMTIgMS4yNDkuMDlsLjA1Ny45OTlhNi4wNjMgNi4wNjMgMCAwMS0xLjU4OC0uMTI5IDQuODM2IDQuODM2IDAgMDEtMS4yNS0uNjQ3IDQuNDYzIDQuNDYzIDAgMDEtLjgzOC0uODgzYy0uMjI0LjMzMi0uNS42NDItLjgyNC45MjdhNC4xMSA0LjExIDAgMDEtMS4zMDUuNjMzQTYuMTI2IDYuMTI2IDAgMDEwIDE1LjkwOWwuMDY4LS45OTdjLjQyNC4wMjYuODUtLjAwMSAxLjIxNy0uMDcuMzM2LS4wOTkuNjUxLS4yNTQuODk0LS40My40My0uMzguNzY1LS44NDcuOTgyLTEuMzY4bC0uMDA1LjAxNFY4LjkzSDIuMTE1di0uOThoMS4wNFYyLjg2MmEzLjc3IDMuNzcgMCAwMC0uNzc0LTEuMTY3bC0uMTY1LS4xNTZhMy4wNjQgMy4wNjQgMCAwMC0uODgtLjQ0OEE1LjA2MiA1LjA2MiAwIDAwLjA2NyAxLjAxTDAgLjAxMmE2LjE0IDYuMTQgMCAwMTEuNTkyLjExYy40NTMuMTM1Ljg3Ny4zNDUgMS4yOS42NS4zLjI2NS41NjUuNTY0Ljc4Ny44OS4yMzMtLjMzMS41Mi0uNjM0Ljg1My0uOTA0YTQuODM1IDQuODM1IDAgMDExLjMtLjY0OEE2LjE1NSA2LjE1NSAwIDAxNy4zNS4wMTJ6IiBmaWxsPSIjMEQwRDBEIi8+PHBhdGggZD0iTTE3LjM1IDE0LjVsNC41LTQuNS02LTZjLTIgMi0zIDItNS41IDIuNS40IDMuMiA0LjgzMyA2LjY2NyA3IDh6bTQuNTg4LTQuNDkzYS4zLjMgMCAwMC40MjQgMGwuNjgtLjY4YTEuNSAxLjUgMCAwMDAtMi4xMjJMMjEuNjkgNS44NTNsMi4wMjUtMS41ODNhMS42MjkgMS42MjkgMCAxMC0yLjI3OS0yLjI5NmwtMS42MDMgMi4wMjItMS4zNTctMS4zNTdhMS41IDEuNSAwIDAwLTIuMTIxIDBsLS42OC42OGEuMy4zIDAgMDAwIC40MjVsNi4yNjMgNi4yNjN6IiBmaWxsPSIjZmZmIi8+PHBhdGggZD0iTTE1Ljg5MiAzLjk2MnMtMS4wMyAxLjIwMi0yLjQ5NCAxLjg5Yy0xLjAwNi40NzQtMi4xOC41ODYtMi43MzQuNjI3LS4yLjAxNS0uMzQ0LjIxLS4yNzYuMzk5LjI5Mi44MiAxLjExMiAyLjggMi42NTggNC4zNDYgMi4xMjYgMi4xMjcgMy42NTggMi45NjggNC4xNDIgMy4yMDMuMS4wNDguMjE0LjAzLjI5OC0uMDQyLjM4Ni0uMzI1IDEuNS0xLjI3NyAyLjIxLTEuOTg2Ljg5Mi0uODg5IDIuMTg3LTIuNDQ3IDIuMTg3LTIuNDQ3bS40NzkuMDU1YS4zLjMgMCAwMS0uNDI0IDBsLTYuMjY0LTYuMjYzYS4zLjMgMCAwMTAtLjQyNWwuNjgtLjY4YTEuNSAxLjUgMCAwMTIuMTIyIDBsMS4zNTcgMS4zNTcgMS42MDMtMi4wMjJhMS42MjkgMS42MjkgMCAxMTIuMjggMi4yOTZMMjEuNjkgNS44NTNsMS4zNTIgMS4zNTJhMS41IDEuNSAwIDAxMCAyLjEyMmwtLjY4LjY4eiIgc3Ryb2tlPSIjMzMzIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+PC9zdmc+) 2 5,default!important}.editable-element-text[data-v-3b68a2d9]{position:absolute}.editable-element-text.lock .element-content[data-v-3b68a2d9]{cursor:default}.rotate-wrapper[data-v-3b68a2d9]{width:100%;height:100%}.element-content[data-v-3b68a2d9]{position:relative;padding:10px;line-height:1.5;word-break:break-word;cursor:move}.element-content .text[data-v-3b68a2d9]{position:relative}.element-content[data-v-3b68a2d9] a{cursor:text}.drag-handler[data-v-3b68a2d9]{height:10px;position:absolute;left:0;right:0}.drag-handler.top[data-v-3b68a2d9]{top:0}.drag-handler.bottom[data-v-3b68a2d9]{bottom:0}.editable-element-shape[data-v-f67a7b76]{position:absolute;pointer-events:none}.editable-element-shape.lock .element-content[data-v-f67a7b76]{cursor:default}.editable-element-shape.format-painter .element-content[data-v-f67a7b76]{cursor:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzQiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTIuNzUgMTMuNzY0VjEuNDIxYS4zLjMgMCAwMS40NDgtLjI2bDEwLjkxIDYuMTk3YS4zLjMgMCAwMS0uMTE2LjU1OWwtNC4xOTYuNDQyIDIuNTgyIDQuNDcyYS4zLjMgMCAwMS0uMTEuNDFsLTMuMTg0IDEuODM4YS4zLjMgMCAwMS0uNDEtLjExbC0yLjU4MS00LjQ3Mi0yLjgxIDMuNDU2YS4zLjMgMCAwMS0uNTMzLS4xODl6IiBmaWxsPSIjZmZmIiBzdHJva2U9IiMzMzMiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz48cGF0aCBkPSJNMjYgMTQuNWw0LjUtNC41LTYtNmMtMiAyLTMgMi01LjUgMi41LjQgMy4yIDQuODMzIDYuNjY3IDcgOHptNC41ODgtNC40OTRhLjMuMyAwIDAwLjQyNCAwbC42OC0uNjhhMS41IDEuNSAwIDAwMC0yLjEyMUwzMC4zNCA1Ljg1MmwyLjAyNi0xLjU4MmExLjYyOSAxLjYyOSAwIDEwLTIuMjgtMi4yOTZsLTEuNjAzIDIuMDIxLTEuMzU3LTEuMzU2YTEuNSAxLjUgMCAwMC0yLjEyIDBsLS42ODEuNjhhLjMuMyAwIDAwMCAuNDI0bDYuMjYzIDYuMjYzeiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik0yNC41NDMgMy45NjFzLTEuMDMgMS4yMDItMi40OTQgMS44OTFjLTEuMDA2LjQ3NC0yLjE4MS41ODUtMi43MzQuNjI3LS4yLjAxNC0uMzQ0LjIwOS0uMjc3LjM5OC4yOTMuODIgMS4xMTIgMi44MDEgMi42NTggNC4zNDcgMi4xMjYgMi4xMjYgMy42NTkgMi45NjggNC4xNDIgMy4yMDIuMS4wNDguMjE1LjAzLjI5OS0uMDQxLjM4NS0uMzI2IDEuNS0xLjI3NyAyLjIxLTEuOTg2Ljg5MS0uODkgMi4xODYtMi40NDggMi4xODYtMi40NDhtLjQ4LjA1NWEuMy4zIDAgMDEtLjQyNSAwbC02LjI2My02LjI2M2EuMy4zIDAgMDEwLS40MjRsLjY4LS42OGExLjUgMS41IDAgMDEyLjEyMiAwbDEuMzU2IDEuMzU2IDEuNjA0LTIuMDIxYTEuNjI5IDEuNjI5IDAgMTEyLjI3OSAyLjI5NkwzMC4zNCA1Ljg1MmwxLjM1MyAxLjM1M2ExLjUgMS41IDAgMDEwIDIuMTIxbC0uNjguNjh6IiBzdHJva2U9IiMzMzMiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiLz48L3N2Zz4=) 2 5,default!important}.rotate-wrapper[data-v-f67a7b76]{width:100%;height:100%}.element-content[data-v-f67a7b76]{width:100%;height:100%;position:relative;cursor:move}.element-content svg[data-v-f67a7b76]{transform-origin:0 0;overflow:visible}.element-content .shape-path[data-v-f67a7b76]{pointer-events:all}.shape-text[data-v-f67a7b76]{position:absolute;top:0;bottom:0;left:0;right:0;display:flex;flex-direction:column;padding:10px;line-height:1.2;word-break:break-word;pointer-events:none}.shape-text.editable[data-v-f67a7b76]{pointer-events:all}.shape-text.top[data-v-f67a7b76]{justify-content:flex-start}.shape-text.middle[data-v-f67a7b76]{justify-content:center}.shape-text.bottom[data-v-f67a7b76]{justify-content:flex-end}.editable-element-shape[data-v-7ecafe01]{position:absolute;pointer-events:none}.editable-element-shape.lock .line-path[data-v-7ecafe01],.editable-element-shape.lock .line-point[data-v-7ecafe01]{cursor:default}.element-content[data-v-7ecafe01]{width:100%;height:100%;position:relative}.element-content svg[data-v-7ecafe01]{transform-origin:0 0;overflow:visible}.line-path[data-v-7ecafe01],.line-point[data-v-7ecafe01]{pointer-events:all;cursor:move}.ct-label{fill:#0006;color:#0006;font-size:.75rem;line-height:1}.ct-chart-bar .ct-label,.ct-chart-line .ct-label{display:flex}.ct-chart-donut .ct-label,.ct-chart-pie .ct-label{dominant-baseline:central}.ct-label.ct-horizontal.ct-start{align-items:flex-end;justify-content:flex-start;text-align:left}.ct-label.ct-horizontal.ct-end{align-items:flex-start;justify-content:flex-start;text-align:left}.ct-label.ct-vertical.ct-start{align-items:flex-end;justify-content:flex-end;text-align:right}.ct-label.ct-vertical.ct-end{align-items:flex-end;justify-content:flex-start;text-align:left}.ct-chart-bar .ct-label.ct-horizontal.ct-start{align-items:flex-end;justify-content:center;text-align:center}.ct-chart-bar .ct-label.ct-horizontal.ct-end{align-items:flex-start;justify-content:center;text-align:center}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-horizontal.ct-start{align-items:flex-end;justify-content:flex-start;text-align:left}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-horizontal.ct-end{align-items:flex-start;justify-content:flex-start;text-align:left}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-vertical.ct-start{align-items:center;justify-content:flex-end;text-align:right}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-vertical.ct-end{align-items:center;justify-content:flex-start;text-align:left}.ct-grid{stroke:#0003;stroke-width:1px;stroke-dasharray:2px}.ct-grid-background{fill:none}.ct-point{stroke-width:10px;stroke-linecap:round}.ct-line{fill:none;stroke-width:4px}.ct-area{stroke:none;fill-opacity:.1}.ct-bar{fill:none;stroke-width:10px}.ct-slice-donut{fill:none;stroke-width:60px}.ct-series-a .ct-bar,.ct-series-a .ct-line,.ct-series-a .ct-point,.ct-series-a .ct-slice-donut{stroke:#d70206}.ct-series-a .ct-area,.ct-series-a .ct-slice-pie{fill:#d70206}.ct-series-b .ct-bar,.ct-series-b .ct-line,.ct-series-b .ct-point,.ct-series-b .ct-slice-donut{stroke:#f05b4f}.ct-series-b .ct-area,.ct-series-b .ct-slice-pie{fill:#f05b4f}.ct-series-c .ct-bar,.ct-series-c .ct-line,.ct-series-c .ct-point,.ct-series-c .ct-slice-donut{stroke:#f4c63d}.ct-series-c .ct-area,.ct-series-c .ct-slice-pie{fill:#f4c63d}.ct-series-d .ct-bar,.ct-series-d .ct-line,.ct-series-d .ct-point,.ct-series-d .ct-slice-donut{stroke:#d17905}.ct-series-d .ct-area,.ct-series-d .ct-slice-pie{fill:#d17905}.ct-series-e .ct-bar,.ct-series-e .ct-line,.ct-series-e .ct-point,.ct-series-e .ct-slice-donut{stroke:#453d3f}.ct-series-e .ct-area,.ct-series-e .ct-slice-pie{fill:#453d3f}.ct-series-f .ct-bar,.ct-series-f .ct-line,.ct-series-f .ct-point,.ct-series-f .ct-slice-donut{stroke:#59922b}.ct-series-f .ct-area,.ct-series-f .ct-slice-pie{fill:#59922b}.ct-series-g .ct-bar,.ct-series-g .ct-line,.ct-series-g .ct-point,.ct-series-g .ct-slice-donut{stroke:#0544d3}.ct-series-g .ct-area,.ct-series-g .ct-slice-pie{fill:#0544d3}.ct-series-h .ct-bar,.ct-series-h .ct-line,.ct-series-h .ct-point,.ct-series-h .ct-slice-donut{stroke:#6b0392}.ct-series-h .ct-area,.ct-series-h .ct-slice-pie{fill:#6b0392}.ct-series-i .ct-bar,.ct-series-i .ct-line,.ct-series-i .ct-point,.ct-series-i .ct-slice-donut{stroke:#e6805e}.ct-series-i .ct-area,.ct-series-i .ct-slice-pie{fill:#e6805e}.ct-series-j .ct-bar,.ct-series-j .ct-line,.ct-series-j .ct-point,.ct-series-j .ct-slice-donut{stroke:#dda458}.ct-series-j .ct-area,.ct-series-j .ct-slice-pie{fill:#dda458}.ct-series-k .ct-bar,.ct-series-k .ct-line,.ct-series-k .ct-point,.ct-series-k .ct-slice-donut{stroke:#eacf7d}.ct-series-k .ct-area,.ct-series-k .ct-slice-pie{fill:#eacf7d}.ct-series-l .ct-bar,.ct-series-l .ct-line,.ct-series-l .ct-point,.ct-series-l .ct-slice-donut{stroke:#86797d}.ct-series-l .ct-area,.ct-series-l .ct-slice-pie{fill:#86797d}.ct-series-m .ct-bar,.ct-series-m .ct-line,.ct-series-m .ct-point,.ct-series-m .ct-slice-donut{stroke:#b2c326}.ct-series-m .ct-area,.ct-series-m .ct-slice-pie{fill:#b2c326}.ct-series-n .ct-bar,.ct-series-n .ct-line,.ct-series-n .ct-point,.ct-series-n .ct-slice-donut{stroke:#6188e2}.ct-series-n .ct-area,.ct-series-n .ct-slice-pie{fill:#6188e2}.ct-series-o .ct-bar,.ct-series-o .ct-line,.ct-series-o .ct-point,.ct-series-o .ct-slice-donut{stroke:#a748ca}.ct-series-o .ct-area,.ct-series-o .ct-slice-pie{fill:#a748ca}.ct-square{display:block;position:relative;width:100%}.ct-square:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:100%}.ct-square:after{content:"";display:table;clear:both}.ct-square>svg{display:block;position:absolute;top:0;left:0}.ct-minor-second{display:block;position:relative;width:100%}.ct-minor-second:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:93.75%}.ct-minor-second:after{content:"";display:table;clear:both}.ct-minor-second>svg{display:block;position:absolute;top:0;left:0}.ct-major-second{display:block;position:relative;width:100%}.ct-major-second:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:88.8888888889%}.ct-major-second:after{content:"";display:table;clear:both}.ct-major-second>svg{display:block;position:absolute;top:0;left:0}.ct-minor-third{display:block;position:relative;width:100%}.ct-minor-third:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:83.3333333333%}.ct-minor-third:after{content:"";display:table;clear:both}.ct-minor-third>svg{display:block;position:absolute;top:0;left:0}.ct-major-third{display:block;position:relative;width:100%}.ct-major-third:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:80%}.ct-major-third:after{content:"";display:table;clear:both}.ct-major-third>svg{display:block;position:absolute;top:0;left:0}.ct-perfect-fourth{display:block;position:relative;width:100%}.ct-perfect-fourth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:75%}.ct-perfect-fourth:after{content:"";display:table;clear:both}.ct-perfect-fourth>svg{display:block;position:absolute;top:0;left:0}.ct-perfect-fifth{display:block;position:relative;width:100%}.ct-perfect-fifth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:66.6666666667%}.ct-perfect-fifth:after{content:"";display:table;clear:both}.ct-perfect-fifth>svg{display:block;position:absolute;top:0;left:0}.ct-minor-sixth{display:block;position:relative;width:100%}.ct-minor-sixth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:62.5%}.ct-minor-sixth:after{content:"";display:table;clear:both}.ct-minor-sixth>svg{display:block;position:absolute;top:0;left:0}.ct-golden-section{display:block;position:relative;width:100%}.ct-golden-section:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:61.804697157%}.ct-golden-section:after{content:"";display:table;clear:both}.ct-golden-section>svg{display:block;position:absolute;top:0;left:0}.ct-major-sixth{display:block;position:relative;width:100%}.ct-major-sixth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:60%}.ct-major-sixth:after{content:"";display:table;clear:both}.ct-major-sixth>svg{display:block;position:absolute;top:0;left:0}.ct-minor-seventh{display:block;position:relative;width:100%}.ct-minor-seventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:56.25%}.ct-minor-seventh:after{content:"";display:table;clear:both}.ct-minor-seventh>svg{display:block;position:absolute;top:0;left:0}.ct-major-seventh{display:block;position:relative;width:100%}.ct-major-seventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:53.3333333333%}.ct-major-seventh:after{content:"";display:table;clear:both}.ct-major-seventh>svg{display:block;position:absolute;top:0;left:0}.ct-octave{display:block;position:relative;width:100%}.ct-octave:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:50%}.ct-octave:after{content:"";display:table;clear:both}.ct-octave>svg{display:block;position:absolute;top:0;left:0}.ct-major-tenth{display:block;position:relative;width:100%}.ct-major-tenth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:40%}.ct-major-tenth:after{content:"";display:table;clear:both}.ct-major-tenth>svg{display:block;position:absolute;top:0;left:0}.ct-major-eleventh{display:block;position:relative;width:100%}.ct-major-eleventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:37.5%}.ct-major-eleventh:after{content:"";display:table;clear:both}.ct-major-eleventh>svg{display:block;position:absolute;top:0;left:0}.ct-major-twelfth{display:block;position:relative;width:100%}.ct-major-twelfth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:33.3333333333%}.ct-major-twelfth:after{content:"";display:table;clear:both}.ct-major-twelfth>svg{display:block;position:absolute;top:0;left:0}.ct-double-octave{display:block;position:relative;width:100%}.ct-double-octave:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:25%}.ct-double-octave:after{content:"";display:table;clear:both}.ct-double-octave>svg{display:block;position:absolute;top:0;left:0}.chart[data-v-5b4061b3]{display:flex}.chart-content[data-v-5b4061b3]{transform-origin:0 0}.chart-content{--theme-color-1: #666;--theme-color-2: #666;--theme-color-3: #666;--theme-color-4: #666;--theme-color-5: #666;--theme-color-6: #666;--theme-color-7: #666;--theme-color-8: #666;--theme-color-9: #666;--theme-color-10: #666;--grid-color: rgba(0, 0, 0, .4)}.chart-content .ct-series-a .ct-line,.chart-content .ct-series-a .ct-point{stroke:var(--theme-color-1)}.chart-content .ct-series-a .ct-area{fill:var(--theme-color-1)}.chart-content .ct-series-a .ct-bar{stroke:var(--theme-color-1)}.chart-content .ct-series-a .ct-slice-pie{fill:var(--theme-color-1)}.chart-content .ct-series-a .ct-slice-donut{stroke:var(--theme-color-1)}.chart-content .ct-series-b .ct-line,.chart-content .ct-series-b .ct-point{stroke:var(--theme-color-2)}.chart-content .ct-series-b .ct-area{fill:var(--theme-color-2)}.chart-content .ct-series-b .ct-bar{stroke:var(--theme-color-2)}.chart-content .ct-series-b .ct-slice-pie{fill:var(--theme-color-2)}.chart-content .ct-series-b .ct-slice-donut{stroke:var(--theme-color-2)}.chart-content .ct-series-c .ct-line,.chart-content .ct-series-c .ct-point{stroke:var(--theme-color-3)}.chart-content .ct-series-c .ct-area{fill:var(--theme-color-3)}.chart-content .ct-series-c .ct-bar{stroke:var(--theme-color-3)}.chart-content .ct-series-c .ct-slice-pie{fill:var(--theme-color-3)}.chart-content .ct-series-c .ct-slice-donut{stroke:var(--theme-color-3)}.chart-content .ct-series-d .ct-line,.chart-content .ct-series-d .ct-point{stroke:var(--theme-color-4)}.chart-content .ct-series-d .ct-area{fill:var(--theme-color-4)}.chart-content .ct-series-d .ct-bar{stroke:var(--theme-color-4)}.chart-content .ct-series-d .ct-slice-pie{fill:var(--theme-color-4)}.chart-content .ct-series-d .ct-slice-donut{stroke:var(--theme-color-4)}.chart-content .ct-series-e .ct-line,.chart-content .ct-series-e .ct-point{stroke:var(--theme-color-5)}.chart-content .ct-series-e .ct-area{fill:var(--theme-color-5)}.chart-content .ct-series-e .ct-bar{stroke:var(--theme-color-5)}.chart-content .ct-series-e .ct-slice-pie{fill:var(--theme-color-5)}.chart-content .ct-series-e .ct-slice-donut{stroke:var(--theme-color-5)}.chart-content .ct-series-f .ct-line,.chart-content .ct-series-f .ct-point{stroke:var(--theme-color-6)}.chart-content .ct-series-f .ct-area{fill:var(--theme-color-6)}.chart-content .ct-series-f .ct-bar{stroke:var(--theme-color-6)}.chart-content .ct-series-f .ct-slice-pie{fill:var(--theme-color-6)}.chart-content .ct-series-f .ct-slice-donut{stroke:var(--theme-color-6)}.chart-content .ct-series-g .ct-line,.chart-content .ct-series-g .ct-point{stroke:var(--theme-color-7)}.chart-content .ct-series-g .ct-area{fill:var(--theme-color-7)}.chart-content .ct-series-g .ct-bar{stroke:var(--theme-color-7)}.chart-content .ct-series-g .ct-slice-pie{fill:var(--theme-color-7)}.chart-content .ct-series-g .ct-slice-donut{stroke:var(--theme-color-7)}.chart-content .ct-series-h .ct-line,.chart-content .ct-series-h .ct-point{stroke:var(--theme-color-8)}.chart-content .ct-series-h .ct-area{fill:var(--theme-color-8)}.chart-content .ct-series-h .ct-bar{stroke:var(--theme-color-8)}.chart-content .ct-series-h .ct-slice-pie{fill:var(--theme-color-8)}.chart-content .ct-series-h .ct-slice-donut{stroke:var(--theme-color-8)}.chart-content .ct-series-i .ct-line,.chart-content .ct-series-i .ct-point{stroke:var(--theme-color-9)}.chart-content .ct-series-i .ct-area{fill:var(--theme-color-9)}.chart-content .ct-series-i .ct-bar{stroke:var(--theme-color-9)}.chart-content .ct-series-i .ct-slice-pie{fill:var(--theme-color-9)}.chart-content .ct-series-i .ct-slice-donut{stroke:var(--theme-color-9)}.chart-content .ct-grid{stroke:var(--grid-color)}.chart-content .ct-label{fill:var(--grid-color);color:var(--grid-color)}.legends{height:20px;display:flex;justify-content:center;align-items:center;font-size:14px}.legend{display:flex;align-items:center}.legend+.legend{margin-left:10px}.legend .block{width:10px;height:10px;margin-right:5px}.editable-element-chart[data-v-e98d2ede]{position:absolute}.editable-element-chart.lock .element-content[data-v-e98d2ede]{cursor:default}.rotate-wrapper[data-v-e98d2ede]{width:100%;height:100%}.element-content[data-v-e98d2ede]{width:100%;height:100%;overflow:hidden;cursor:move}.custom-textarea[data-v-cfadb975]{border:0;outline:0;-webkit-user-modify:read-write-plaintext-only}.editable-table[data-v-938823e2]{position:relative;-webkit-user-select:none;user-select:none}table[data-v-938823e2]{width:100%;position:relative;table-layout:fixed;border-collapse:collapse;border-spacing:0;border:0;word-wrap:break-word;-webkit-user-select:none;user-select:none;--themeColor: $themeColor;--subThemeColor1: $themeColor;--subThemeColor2: $themeColor}table.theme[data-v-938823e2]{background-color:#fff}table.theme tr:nth-child(2n) .cell[data-v-938823e2]{background-color:var(--subThemeColor1)}table.theme tr:nth-child(odd) .cell[data-v-938823e2]{background-color:var(--subThemeColor2)}table.theme.row-header tr:first-child .cell[data-v-938823e2]{background-color:var(--themeColor)}table.theme.row-footer tr:last-child .cell[data-v-938823e2]{background-color:var(--themeColor)}table.theme.col-header tr .cell[data-v-938823e2]:first-child{background-color:var(--themeColor)}table.theme.col-footer tr .cell[data-v-938823e2]:last-child{background-color:var(--themeColor)}table .cell[data-v-938823e2]{position:relative;white-space:normal;word-wrap:break-word;vertical-align:middle;font-size:14px;background-clip:padding-box;cursor:default}table .cell.selected[data-v-938823e2]:after{content:"";width:100%;height:100%;position:absolute;top:0;left:0;background-color:#6666}table .cell-text[data-v-938823e2]{padding:5px;line-height:1.5;-webkit-user-select:none;user-select:none;cursor:text}table .cell-text.active[data-v-938823e2]{-webkit-user-select:text;user-select:text}.drag-line[data-v-938823e2]{position:absolute;top:0;bottom:0;width:3px;background-color:#d14424;margin-left:-1px;opacity:0;z-index:2;cursor:col-resize}.editable-element-table[data-v-7795910a]{position:absolute}.editable-element-table.lock .element-content[data-v-7795910a]{cursor:default}.rotate-wrapper[data-v-7795910a]{width:100%;height:100%}.element-content[data-v-7795910a]{width:100%;height:100%;position:relative;cursor:move}.table-mask[data-v-7795910a]{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .2s}.table-mask .mask-tip[data-v-7795910a]{position:absolute;top:5px;left:5px;background-color:#00000080;color:#fff;padding:6px 12px;font-size:12px;transform-origin:0 0}.table-mask[data-v-7795910a]:hover:not(.lock){opacity:.9}.editable-element-latex[data-v-b73586f6]{position:absolute}.editable-element-latex.lock .element-content[data-v-b73586f6]{cursor:default}.rotate-wrapper[data-v-b73586f6]{width:100%;height:100%}.element-content[data-v-b73586f6]{width:100%;height:100%;position:relative;cursor:move}.element-content svg[data-v-b73586f6]{transform-origin:0 0;overflow:visible}.video-player[data-v-597c0901]{position:relative;overflow:hidden;-webkit-user-select:none;user-select:none;line-height:1;transform-origin:0 0}.video-player.hide-controller[data-v-597c0901]{cursor:none}.video-player.hide-controller .controller-mask[data-v-597c0901],.video-player.hide-controller .controller[data-v-597c0901]{opacity:0;transform:translateY(100%)}.video-wrap[data-v-597c0901]{position:relative;background:#000;font-size:0;width:100%;height:100%}.video-wrap .video[data-v-597c0901]{width:100%;height:100%}.controller-mask[data-v-597c0901]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAADGCAYAAAAT+OqFAAAAdklEQVQoz42QQQ7AIAgEF/T/D+kbq/RWAlnQyyazA4aoAB4FsBSA/bFjuF1EOL7VbrIrBuusmrt4ZZORfb6ehbWdnRHEIiITaEUKa5EJqUakRSaEYBJSCY2dEstQY7AuxahwXFrvZmWl2rh4JZ07z9dLtesfNj5q0FU3A5ObbwAAAABJRU5ErkJggg==) repeat-x bottom;height:98px;width:100%;position:absolute;bottom:0;transition:all .3s ease}.controller[data-v-597c0901]{position:absolute;bottom:0;left:0;right:0;height:41px;padding:0 20px;-webkit-user-select:none;user-select:none;transition:all .3s ease}.controller .bar-wrap[data-v-597c0901]{padding:5px 0;cursor:pointer;position:absolute;bottom:33px;width:calc(100% - 40px);height:3px}.controller .bar-wrap:hover .bar .played .thumb[data-v-597c0901]{transform:scale(1)}.controller .bar-wrap .bar-time[data-v-597c0901]{position:absolute;left:0;top:-20px;border-radius:4px;padding:5px 7px;background-color:#0000009e;color:#fff;font-size:12px;text-align:center;opacity:1;transition:opacity .1s ease-in-out;word-wrap:normal;word-break:normal;z-index:2;pointer-events:none}.controller .bar-wrap .bar-time.hidden[data-v-597c0901]{opacity:0}.controller .bar-wrap .bar[data-v-597c0901]{position:relative;height:3px;width:100%;background:#fff3;cursor:pointer}.controller .bar-wrap .bar .loaded[data-v-597c0901]{position:absolute;left:0;top:0;bottom:0;background:#fff6;height:3px;transition:all .5s ease;will-change:width}.controller .bar-wrap .bar .played[data-v-597c0901]{position:absolute;left:0;top:0;bottom:0;height:3px;will-change:width;background-color:#fff}.controller .bar-wrap .bar .played .thumb[data-v-597c0901]{position:absolute;top:0;right:5px;margin-top:-4px;margin-right:-10px;height:11px;width:11px;border-radius:50%;cursor:pointer;transition:all .3s ease-in-out;transform:scale(0);background-color:#fff}.controller .icons[data-v-597c0901]{height:38px;position:absolute;bottom:0;display:flex;align-items:center}.controller .icons.icons-right[data-v-597c0901]{right:15px}.controller .icons .time[data-v-597c0901]{line-height:38px;color:#eee;text-shadow:0 0 2px rgba(0,0,0,.5);vertical-align:middle;font-size:13px;cursor:default}.controller .icons .icon[data-v-597c0901]{width:40px;height:100%;position:relative;cursor:pointer;display:flex;align-items:center;font-size:20px}.controller .icons .icon.play-icon[data-v-597c0901]{font-size:26px}.controller .icons .icon .icon-content[data-v-597c0901]{transition:all .2s ease-in-out;opacity:.8;color:#fff}.controller .icons .icon.loop-icon[data-v-597c0901]{font-size:12px}.controller .icons .icon.loop-icon .icon-content[data-v-597c0901]{opacity:.5}.controller .icons .icon.speed-icon[data-v-597c0901]{font-size:12px;position:relative}.controller .icons .icon .speed-menu[data-v-597c0901]{width:70px;position:absolute;bottom:30px;left:-23px;background-color:#22211b;padding:5px 0;color:#ddd}.controller .icons .icon .speed-menu .speed-menu-item[data-v-597c0901]{padding:8px 0;text-align:center}.controller .icons .icon .speed-menu .speed-menu-item[data-v-597c0901]:hover{background-color:#393833;color:#fff}.controller .icons .icon .speed-menu .speed-menu-item.active[data-v-597c0901]{font-weight:700;color:#fff}.controller .icons .icon.active .icon-content[data-v-597c0901],.controller .icons .icon:hover .icon-content[data-v-597c0901]{opacity:1}.controller .icons .volume[data-v-597c0901]{height:100%;position:relative;cursor:pointer;display:flex;align-items:center}.controller .icons .volume:hover .volume-bar-wrap .volume-bar[data-v-597c0901]{width:45px}.controller .icons .volume:hover .volume-bar-wrap .volume-bar .volume-bar-inner .thumb[data-v-597c0901]{transform:scale(1)}.controller .icons .volume.volume-active .volume-bar-wrap .volume-bar[data-v-597c0901]{width:45px}.controller .icons .volume.volume-active .volume-bar-wrap .volume-bar .volume-bar-inner .thumb[data-v-597c0901]{transform:scale(1)}.controller .icons .volume-bar-wrap[data-v-597c0901]{display:inline-block;margin:0 15px 0 -5px;vertical-align:middle;height:100%}.controller .icons .volume-bar[data-v-597c0901]{position:relative;top:17px;width:0;height:3px;background:#aaa;transition:all .3s ease-in-out}.controller .icons .volume-bar .volume-bar-inner[data-v-597c0901]{position:absolute;bottom:0;left:0;height:100%;transition:all .1s ease;will-change:width;background-color:#fff}.controller .icons .volume-bar .volume-bar-inner .thumb[data-v-597c0901]{position:absolute;top:0;right:5px;margin-top:-4px;margin-right:-10px;height:11px;width:11px;border-radius:50%;cursor:pointer;transition:all .3s ease-in-out;transform:scale(0);background-color:#fff}.controller .icons .loop[data-v-597c0901]{display:inline-block;height:100%}.bezel[data-v-597c0901]{position:absolute;left:0;right:0;top:0;bottom:0;font-size:22px;color:#fff;pointer-events:none}.bezel .bezel-icon[data-v-597c0901]{position:absolute;top:50%;left:50%;margin:-26px 0 0 -26px;height:52px;width:52px;padding:12px;display:flex;justify-content:center;align-items:center;background:#00000080;border-radius:50%;opacity:0;pointer-events:none;font-size:40px}.bezel .bezel-icon.bezel-transition[data-v-597c0901]{animation:bezel-hide-597c0901 .5s linear}@keyframes bezel-hide-597c0901{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(2)}}.load-error[data-v-597c0901]{position:absolute;left:0;right:0;top:0;bottom:0;font-size:15px;color:#fff;pointer-events:none;display:flex;justify-content:center;align-items:center}.editable-element-video[data-v-c50d3bc7]{position:absolute}.editable-element-video.lock .handler-border[data-v-c50d3bc7]{cursor:default}.rotate-wrapper[data-v-c50d3bc7]{width:100%;height:100%}.element-content[data-v-c50d3bc7]{width:100%;height:100%;position:relative}.handler-border[data-v-c50d3bc7]{position:absolute;cursor:move}.handler-border.t[data-v-c50d3bc7]{width:100%;height:20px;top:0;left:0}.handler-border.b[data-v-c50d3bc7]{width:100%;height:5px;bottom:0;left:0}.handler-border.l[data-v-c50d3bc7]{width:10px;height:100%;left:0;top:0}.handler-border.r[data-v-c50d3bc7]{width:10px;height:100%;right:0;top:0}.audio-player[data-v-32038f5c]{width:280px;height:50px;position:relative;-webkit-user-select:none;user-select:none;line-height:1;transform-origin:0 0;background:#000}.controller[data-v-32038f5c]{position:absolute;bottom:0;left:0;right:0;height:41px;padding:0 20px;-webkit-user-select:none;user-select:none;transition:all .3s ease}.controller .bar-wrap[data-v-32038f5c]{padding:5px 0;cursor:pointer;position:absolute;bottom:35px;width:calc(100% - 40px);height:3px}.controller .bar-wrap:hover .bar .played .thumb[data-v-32038f5c]{transform:scale(1)}.controller .bar-wrap .bar-time[data-v-32038f5c]{position:absolute;left:0;top:-20px;border-radius:4px;padding:5px 7px;background-color:#0000009e;color:#fff;font-size:12px;text-align:center;opacity:1;transition:opacity .1s ease-in-out;word-wrap:normal;word-break:normal;z-index:2;pointer-events:none}.controller .bar-wrap .bar-time.hidden[data-v-32038f5c]{opacity:0}.controller .bar-wrap .bar[data-v-32038f5c]{position:relative;height:3px;width:100%;background:#fff3;cursor:pointer}.controller .bar-wrap .bar .loaded[data-v-32038f5c]{position:absolute;left:0;top:0;bottom:0;background:#fff6;height:3px;transition:all .5s ease;will-change:width}.controller .bar-wrap .bar .played[data-v-32038f5c]{position:absolute;left:0;top:0;bottom:0;height:3px;will-change:width;background-color:#fff}.controller .bar-wrap .bar .played .thumb[data-v-32038f5c]{position:absolute;top:0;right:5px;margin-top:-4px;margin-right:-10px;height:11px;width:11px;border-radius:50%;cursor:pointer;transition:all .3s ease-in-out;transform:scale(0);background-color:#fff}.controller .icons[data-v-32038f5c]{height:38px;position:absolute;bottom:0;left:14px;display:flex;align-items:center}.controller .icons .icon[data-v-32038f5c]{width:36px;height:100%;position:relative;cursor:pointer;display:flex;align-items:center;font-size:20px}.controller .icons .icon.play-icon[data-v-32038f5c]{font-size:26px}.controller .icons .icon .icon-content[data-v-32038f5c]{transition:all .2s ease-in-out;opacity:.8;color:#fff}.controller .icons .icon.active .icon-content[data-v-32038f5c],.controller .icons .icon:hover .icon-content[data-v-32038f5c]{opacity:1}.controller .icons .volume[data-v-32038f5c]{height:100%;position:relative;cursor:pointer;display:flex;align-items:center}.controller .icons .volume:hover .volume-bar-wrap .volume-bar[data-v-32038f5c]{width:45px}.controller .icons .volume:hover .volume-bar-wrap .volume-bar .volume-bar-inner .thumb[data-v-32038f5c]{transform:scale(1)}.controller .icons .volume.volume-active .volume-bar-wrap .volume-bar[data-v-32038f5c]{width:45px}.controller .icons .volume.volume-active .volume-bar-wrap .volume-bar .volume-bar-inner .thumb[data-v-32038f5c]{transform:scale(1)}.controller .icons .volume-bar-wrap[data-v-32038f5c]{display:inline-block;margin:0 15px 0 -5px;vertical-align:middle;height:100%}.controller .icons .volume-bar[data-v-32038f5c]{position:relative;top:17px;width:0;height:3px;background:#aaa;transition:all .3s ease-in-out}.controller .icons .volume-bar .volume-bar-inner[data-v-32038f5c]{position:absolute;bottom:0;left:0;height:100%;transition:all .1s ease;will-change:width;background-color:#fff}.controller .icons .volume-bar .volume-bar-inner .thumb[data-v-32038f5c]{position:absolute;top:0;right:5px;margin-top:-4px;margin-right:-10px;height:11px;width:11px;border-radius:50%;cursor:pointer;transition:all .3s ease-in-out;transform:scale(0);background-color:#fff}.controller .time[data-v-32038f5c]{height:38px;position:absolute;right:20px;bottom:0;display:flex;align-items:center;line-height:38px;color:#eee;text-shadow:0 0 2px rgba(0,0,0,.5);vertical-align:middle;font-size:13px;cursor:default}.controller .time .ptime[data-v-32038f5c]{margin-right:2px}.controller .time .dtime[data-v-32038f5c]{margin-left:2px}.editable-element-audio[data-v-07f623ea]{position:absolute}.editable-element-audio.lock .audio-icon[data-v-07f623ea]{cursor:default}.rotate-wrapper[data-v-07f623ea]{width:100%;height:100%}.element-content[data-v-07f623ea]{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.audio-icon[data-v-07f623ea]{cursor:move}.audio-player[data-v-07f623ea]{position:absolute}.mouse-selection[data-v-053bfa3e]{position:absolute;background-color:#d144241a;border:1px solid #d14424;z-index:200}.mouse-selection.quadrant-1[data-v-053bfa3e]{transform-origin:50% 0;transform:rotate(180deg)}.mouse-selection.quadrant-2[data-v-053bfa3e]{transform-origin:0 0;transform:rotate(180deg)}.mouse-selection.quadrant-3[data-v-053bfa3e]{transform-origin:0 50%;transform:rotate(180deg)}.mouse-selection.quadrant-4[data-v-053bfa3e]{transform-origin:0 0;transform:rotate(0)}.grid-lines[data-v-93264269]{width:100%;height:100%;overflow:visible;z-index:999;pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0}.viewport-background[data-v-203ea8ff]{width:100%;height:100%;background-position:center;position:absolute}.alignment-line[data-v-7cd3d25d]{position:absolute;z-index:100}.alignment-line .line[data-v-7cd3d25d]{width:0;height:0;border:0 dashed #d14424}.alignment-line .line.vertical[data-v-7cd3d25d]{transform:translateY(-.5px);border-left-width:1px}.alignment-line .line.horizontal[data-v-7cd3d25d]{transform:translate(-.5px);border-top-width:1px}.ruler[data-v-c6df5cc2]{font-size:12px}.h[data-v-c6df5cc2]{position:absolute;background-color:#fff;border:1px solid #e5e7eb;height:20px;top:5px;display:flex;justify-content:space-between;align-items:center;overflow:hidden}.h .range[data-v-c6df5cc2]{position:absolute;top:0;bottom:0;background-color:#d144241a}.h .ruler-marker-100[data-v-c6df5cc2]{height:100%;line-height:20px;text-align:right;flex-shrink:0;padding-right:5px;position:relative}.h .ruler-marker-100.hide span[data-v-c6df5cc2]{display:none}.h .ruler-marker-100.omit[data-v-c6df5cc2]:before{display:none}.h .ruler-marker-100[data-v-c6df5cc2]:not(:last-child):after{content:"";width:.1px;height:12px;position:absolute;right:0;bottom:0;background-color:#999}.h .ruler-marker-100[data-v-c6df5cc2]:before{content:"";width:.1px;height:8px;position:absolute;right:50%;bottom:0;background-color:#999}.v[data-v-c6df5cc2]{position:absolute;background-color:#fff;border:1px solid #e5e7eb;width:20px;left:5px;overflow:hidden}.v .range[data-v-c6df5cc2]{position:absolute;left:0;right:0;background-color:#d144241a}.v .ruler-marker-100[data-v-c6df5cc2]{width:100%;line-height:20px;text-align:right;padding-bottom:5px;position:relative;writing-mode:vertical-rl}.v .ruler-marker-100.hide span[data-v-c6df5cc2]{display:none}.v .ruler-marker-100.omit[data-v-c6df5cc2]:before{display:none}.v .ruler-marker-100[data-v-c6df5cc2]:not(:last-child):after{content:"";height:.1px;width:12px;position:absolute;bottom:0;right:0;background-color:#999}.v .ruler-marker-100[data-v-c6df5cc2]:before{content:"";height:.1px;width:8px;position:absolute;bottom:50%;right:0;background-color:#999}.element-create-selection[data-v-7b17a883]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:2;cursor:crosshair}.element-create-selection svg[data-v-7b17a883]{overflow:visible}.selection[data-v-7b17a883]{position:absolute;opacity:.8}.selection[data-v-7b17a883]:not(.line){border:1px solid #d14424}.shape-create-canvas[data-v-8ea8c340]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:2;cursor:crosshair}.shape-create-canvas svg[data-v-8ea8c340]{width:100%;height:100%;overflow:visible}.resize-handler[data-v-bb3f9e62]{position:absolute;width:10px;height:10px;left:0;top:0;margin:-5px 0 0 -5px;border:1px solid #d14424;background-color:#fff;border-radius:1px;cursor:pointer}.resize-handler.left-top.rotate-0[data-v-bb3f9e62],.resize-handler.right-bottom.rotate-0[data-v-bb3f9e62],.resize-handler.left.rotate-45[data-v-bb3f9e62],.resize-handler.right.rotate-45[data-v-bb3f9e62],.resize-handler.left-bottom.rotate-90[data-v-bb3f9e62],.resize-handler.right-top.rotate-90[data-v-bb3f9e62],.resize-handler.top.rotate-135[data-v-bb3f9e62],.resize-handler.bottom.rotate-135[data-v-bb3f9e62]{cursor:nwse-resize}.resize-handler.top.rotate-0[data-v-bb3f9e62],.resize-handler.bottom.rotate-0[data-v-bb3f9e62],.resize-handler.left-top.rotate-45[data-v-bb3f9e62],.resize-handler.right-bottom.rotate-45[data-v-bb3f9e62],.resize-handler.left.rotate-90[data-v-bb3f9e62],.resize-handler.right.rotate-90[data-v-bb3f9e62],.resize-handler.left-bottom.rotate-135[data-v-bb3f9e62],.resize-handler.right-top.rotate-135[data-v-bb3f9e62]{cursor:ns-resize}.resize-handler.left-bottom.rotate-0[data-v-bb3f9e62],.resize-handler.right-top.rotate-0[data-v-bb3f9e62],.resize-handler.top.rotate-45[data-v-bb3f9e62],.resize-handler.bottom.rotate-45[data-v-bb3f9e62],.resize-handler.left-top.rotate-90[data-v-bb3f9e62],.resize-handler.right-bottom.rotate-90[data-v-bb3f9e62],.resize-handler.left.rotate-135[data-v-bb3f9e62],.resize-handler.right.rotate-135[data-v-bb3f9e62]{cursor:nesw-resize}.resize-handler.left.rotate-0[data-v-bb3f9e62],.resize-handler.right.rotate-0[data-v-bb3f9e62],.resize-handler.left-bottom.rotate-45[data-v-bb3f9e62],.resize-handler.right-top.rotate-45[data-v-bb3f9e62],.resize-handler.top.rotate-90[data-v-bb3f9e62],.resize-handler.bottom.rotate-90[data-v-bb3f9e62],.resize-handler.left-top.rotate-135[data-v-bb3f9e62],.resize-handler.right-bottom.rotate-135[data-v-bb3f9e62]{cursor:ew-resize}.border-line[data-v-7114fb45]{position:absolute;width:0;height:0;left:0;top:0;border:0 dashed #d14424}.border-line.top[data-v-7114fb45]{border-top-width:1px}.border-line.bottom[data-v-7114fb45]{border-bottom-width:1px}.border-line.left[data-v-7114fb45]{border-left-width:1px}.border-line.right[data-v-7114fb45]{border-right-width:1px}.border-line.wide[data-v-7114fb45]:before{content:"";position:absolute;background:transparent;cursor:move}.border-line.wide.top[data-v-7114fb45]:before{top:-8px;left:-8px;width:calc(100% + 16px);height:16px}.border-line.wide.bottom[data-v-7114fb45]:before{bottom:-8px;left:-8px;width:calc(100% + 16px);height:16px}.border-line.wide.left[data-v-7114fb45]:before{top:-8px;left:-8px;width:16px;height:calc(100% + 16px)}.border-line.wide.right[data-v-7114fb45]:before{top:-8px;right:-8px;width:16px;height:calc(100% + 16px)}.multi-select-operate[data-v-135c8cb7]{position:absolute;top:0;left:0;z-index:101}.rotate-handler[data-v-9f21fc0f]{position:absolute;width:10px;height:10px;top:-25px;margin-left:-5px;border:1px solid #d14424;background-color:#fff;border-radius:1px;cursor:grab}.rotate-handler[data-v-9f21fc0f]:active{cursor:grabbing}.image-element-operate.cliping[data-v-2a1bef4e]{visibility:hidden}.operate-keypoint-handler[data-v-11747e5a]{position:absolute;width:10px;height:10px;left:0;top:0;margin:-5px 0 0 -5px;border:1px solid #d14424;background-color:#ffe873;border-radius:1px}svg[data-v-9dea4d6a]{position:absolute;left:0;top:0;pointer-events:none;transform-origin:0 0}.anchor-line[data-v-9dea4d6a]{stroke-width:1px;stroke-dasharray:5 5;opacity:.5}.divider.horizontal[data-v-80adabfa]{width:100%;margin:24px 0;border-block-start:1px solid rgba(5,5,5,.06)}.divider.vertical[data-v-80adabfa]{position:relative;height:1em;display:inline-block;margin:0 8px;border-inline-start:1px solid rgba(5,5,5,.06)}.link-handler[data-v-f8f46f78]{height:30px;position:absolute;left:0;font-size:12px;padding:0 10px;background-color:#fff;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;display:flex;align-items:center;color:#d14424}.link[data-v-f8f46f78]{max-width:300px;margin-right:20px;word-break:keep-all;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.btns[data-v-f8f46f78]{display:flex;align-items:center}.btns .btn[data-v-f8f46f78]{word-break:keep-all;cursor:pointer}.operate[data-v-7c6be7e7]{position:absolute;z-index:100;-webkit-user-select:none;user-select:none}.operate.multi-select[data-v-7c6be7e7]{opacity:.2}.animation-index[data-v-7c6be7e7]{position:absolute;top:0;left:-24px;font-size:12px}.animation-index .index-item[data-v-7c6be7e7]{width:18px;height:18px;background-color:#fff;color:#d14424;border:1px solid #d14424;display:flex;justify-content:center;align-items:center}.animation-index .index-item+.index-item[data-v-7c6be7e7]{margin-top:5px}.base-element-image[data-v-67c9bdc0]{position:absolute}.rotate-wrapper[data-v-67c9bdc0]{width:100%;height:100%}.element-content[data-v-67c9bdc0]{width:100%;height:100%;position:relative}.element-content .image-content[data-v-67c9bdc0]{width:100%;height:100%;overflow:hidden;position:relative}.element-content img[data-v-67c9bdc0]{position:absolute}.color-mask[data-v-67c9bdc0]{position:absolute;top:0;bottom:0;left:0;right:0}.base-element-text[data-v-a3ec163d]{position:absolute}.rotate-wrapper[data-v-a3ec163d]{width:100%;height:100%}.element-content[data-v-a3ec163d]{position:relative;padding:10px;line-height:1.5;word-break:break-word}.element-content .text[data-v-a3ec163d]{position:relative}.element-content .text.thumbnail[data-v-a3ec163d]{pointer-events:none}.base-element-shape[data-v-f83934a3]{position:absolute}.rotate-wrapper[data-v-f83934a3]{width:100%;height:100%}.element-content[data-v-f83934a3]{width:100%;height:100%;position:relative}.element-content svg[data-v-f83934a3]{transform-origin:0 0;overflow:visible}.shape-text[data-v-f83934a3]{position:absolute;top:0;bottom:0;left:0;right:0;display:flex;flex-direction:column;padding:10px;line-height:1.2;word-break:break-word}.shape-text.top[data-v-f83934a3]{justify-content:flex-start}.shape-text.middle[data-v-f83934a3]{justify-content:center}.shape-text.bottom[data-v-f83934a3]{justify-content:flex-end}.base-element-line[data-v-e7dc2b42]{position:absolute}.element-content[data-v-e7dc2b42]{width:100%;height:100%;position:relative}.element-content svg[data-v-e7dc2b42]{transform-origin:0 0;overflow:visible}.base-element-chart[data-v-37ca5799]{position:absolute}.rotate-wrapper[data-v-37ca5799],.element-content[data-v-37ca5799]{width:100%;height:100%}.static-table[data-v-6d887dcd]{position:relative;-webkit-user-select:none;user-select:none}table[data-v-6d887dcd]{width:100%;position:relative;table-layout:fixed;border-collapse:collapse;border-spacing:0;border:0;word-wrap:break-word;-webkit-user-select:none;user-select:none;--themeColor: $themeColor;--subThemeColor1: $themeColor;--subThemeColor2: $themeColor}table.theme[data-v-6d887dcd]{background-color:#fff}table.theme tr:nth-child(2n) .cell[data-v-6d887dcd]{background-color:var(--subThemeColor1)}table.theme tr:nth-child(odd) .cell[data-v-6d887dcd]{background-color:var(--subThemeColor2)}table.theme.row-header tr:first-child .cell[data-v-6d887dcd]{background-color:var(--themeColor)}table.theme.row-footer tr:last-child .cell[data-v-6d887dcd]{background-color:var(--themeColor)}table.theme.col-header tr .cell[data-v-6d887dcd]:first-child{background-color:var(--themeColor)}table.theme.col-footer tr .cell[data-v-6d887dcd]:last-child{background-color:var(--themeColor)}table .cell[data-v-6d887dcd]{position:relative;white-space:normal;word-wrap:break-word;vertical-align:middle;background-clip:padding-box}table .cell-text[data-v-6d887dcd]{padding:5px;line-height:1.5}.base-element-table[data-v-77cfa6e4]{position:absolute}.rotate-wrapper[data-v-77cfa6e4]{width:100%;height:100%}.element-content[data-v-77cfa6e4]{width:100%;height:100%;position:relative}.base-element-latex[data-v-93374af9]{position:absolute}.rotate-wrapper[data-v-93374af9]{width:100%;height:100%}.element-content[data-v-93374af9]{width:100%;height:100%;position:relative}.element-content svg[data-v-93374af9]{transform-origin:0 0;overflow:visible}.base-element-video[data-v-2fb0e771]{position:absolute}.rotate-wrapper[data-v-2fb0e771]{width:100%;height:100%}.element-content[data-v-2fb0e771]{width:100%;height:100%;background-color:#000;background-position:center;background-size:contain;background-repeat:no-repeat;display:flex;justify-content:center;align-items:center}.icon[data-v-2fb0e771]{font-size:140px;color:#aaa}.base-element-audio[data-v-b33e6120]{position:absolute}.rotate-wrapper[data-v-b33e6120]{width:100%;height:100%}.element-content[data-v-b33e6120]{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.audio-icon[data-v-b33e6120]{cursor:move}.thumbnail-slide[data-v-c8cdb1af]{background-color:#fff;overflow:hidden;-webkit-user-select:none;user-select:none}.elements[data-v-c8cdb1af]{transform-origin:0 0}.background[data-v-c8cdb1af]{width:100%;height:100%;background-position:center;position:absolute}.placeholder[data-v-c8cdb1af]{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.tabs[data-v-c7f9dce0]{display:flex;-webkit-user-select:none;user-select:none;line-height:1}.tabs[data-v-c7f9dce0]:not(.card){font-size:13px;align-items:center;justify-content:flex-start;border-bottom:1px solid #e5e7eb}.tabs:not(.card).space-around[data-v-c7f9dce0]{justify-content:space-around}.tabs:not(.card).space-between[data-v-c7f9dce0]{justify-content:space-between}.tabs:not(.card) .tab[data-v-c7f9dce0]{text-align:center;border-bottom:2px solid transparent;padding:8px 10px;cursor:pointer}.tabs:not(.card) .tab.active[data-v-c7f9dce0]{border-bottom:2px solid var(--color, #d14424)}.tabs.card[data-v-c7f9dce0]{height:40px;font-size:12px;flex-shrink:0}.tabs.card .tab[data-v-c7f9dce0]{flex:1;display:flex;justify-content:center;align-items:center;background-color:#f9f9f9;border-bottom:1px solid #e5e7eb;cursor:pointer}.tabs.card .tab.active[data-v-c7f9dce0]{background-color:transparent;border-bottom-color:transparent}.tabs.card .tab+.tab[data-v-c7f9dce0]{border-left:1px solid #e5e7eb}.button[data-v-3a484f58]{height:32px;line-height:32px;outline:0;font-size:13px;padding:0 15px;text-align:center;color:#41464b;border-radius:2px;-webkit-user-select:none;user-select:none;letter-spacing:1px;cursor:pointer}.button.small[data-v-3a484f58]{height:24px;line-height:24px;padding:0 7px;letter-spacing:0;font-size:12px}.button.default[data-v-3a484f58]{background-color:#fff;border:1px solid #d9d9d9;color:#41464b}.button.default[data-v-3a484f58]:hover{color:#d14424;border-color:#d14424}.button.primary[data-v-3a484f58]{background-color:#d14424;border:1px solid #d14424;color:#fff}.button.primary[data-v-3a484f58]:hover{background-color:#de6949;border-color:#de6949}.button.checkbox[data-v-3a484f58],.button.radio[data-v-3a484f58]{background-color:#fff;border:1px solid #d9d9d9;color:#41464b}.button.checkbox[data-v-3a484f58]:not(.checked):hover,.button.radio[data-v-3a484f58]:not(.checked):hover{color:#d14424}.button.checked[data-v-3a484f58]{color:#fff;background-color:#d14424;border-color:#d14424}.button.checked[data-v-3a484f58]:hover{background-color:#de6949;border-color:#de6949}.button.disabled[data-v-3a484f58]{background-color:#f5f5f5;border:1px solid #d9d9d9;color:#b7b7b7;cursor:default}.select[data-v-77e63752]{width:100%;height:32px;padding-right:32px;border-radius:2px;transition:border-color .25s;font-size:13px;-webkit-user-select:none;user-select:none;background-color:#fff;border:1px solid #d9d9d9;position:relative;cursor:pointer}.select[data-v-77e63752]:not(.disabled):hover{border-color:#d14424}.select.disabled[data-v-77e63752]{background-color:#f5f5f5;border-color:#dcdcdc;color:#b7b7b7;cursor:default}.select .selector[data-v-77e63752]{min-width:50px;height:30px;line-height:30px;padding-left:10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.options[data-v-77e63752]{max-height:260px;padding:5px;overflow:auto;text-align:left;font-size:13px;-webkit-user-select:none;user-select:none}.option[data-v-77e63752]{height:32px;line-height:32px;padding:0 5px;border-radius:2px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.option.disabled[data-v-77e63752]{color:#b7b7b7}.option[data-v-77e63752]:not(.disabled,.selected):hover{background-color:#d144240d;cursor:pointer}.option.selected[data-v-77e63752]{color:#d14424;font-weight:700}.icon[data-v-77e63752]{width:32px;height:30px;color:#bfbfbf;position:absolute;top:0;right:0;display:flex;justify-content:center;align-items:center}.link-dialog[data-v-853e5bc2]{font-size:13px;line-height:1.675}.input[data-v-853e5bc2]{width:100%;height:32px}.preview[data-v-853e5bc2]{margin-top:12px}.thumbnail[data-v-853e5bc2]{border:1px solid rgba(209,68,36,.15);margin-top:5px;border-radius:2px}.btns[data-v-853e5bc2]{margin-top:20px;text-align:right}.modal[data-v-4d27bcca],.mask[data-v-4d27bcca]{top:0;left:0;width:100%;height:100%;z-index:5000}.modal[data-v-4d27bcca]{position:fixed;display:flex;justify-content:center;align-items:center;outline:0;border:0}.mask[data-v-4d27bcca]{position:absolute;background:#00000040}.modal-content[data-v-4d27bcca]{z-index:5001;padding:20px;background:#fff;border-radius:2px;overflow:hidden;box-shadow:0 1px 3px #0003;position:relative}.close-btn[data-v-4d27bcca]{width:20px;height:20px;display:flex;justify-content:center;align-items:center;position:absolute;top:16px;right:16px;cursor:pointer}.modal-fade-enter-active[data-v-4d27bcca]{animation:modal-fade-enter-4d27bcca .25s both ease-in}.modal-fade-leave-active[data-v-4d27bcca]{animation:modal-fade-leave-4d27bcca .25s both ease-out}.modal-zoom-enter-active[data-v-4d27bcca]{animation:modal-zoom-enter-4d27bcca .25s both cubic-bezier(.4,0,0,1.5)}.modal-zoom-leave-active[data-v-4d27bcca]{animation:modal-zoom-leave-4d27bcca .25s both}@keyframes modal-fade-enter-4d27bcca{0%{opacity:0}}@keyframes modal-fade-leave-4d27bcca{to{opacity:0}}@keyframes modal-zoom-enter-4d27bcca{0%{transform:scale3d(.3,.3,.3)}}@keyframes modal-zoom-leave-4d27bcca{to{transform:scale3d(.3,.3,.3)}}.canvas[data-v-904dbab0]{height:100%;-webkit-user-select:none;user-select:none;overflow:hidden;background-color:#f9f9f9;position:relative}.drag-mask[data-v-904dbab0]{cursor:grab;position:absolute;top:0;right:0;bottom:0;left:0}.viewport-wrapper[data-v-904dbab0]{position:absolute;box-shadow:0 0 0 1px #00000003,0 0 12px #0000001a}.viewport[data-v-904dbab0]{position:absolute;top:0;left:0;transform-origin:0 0}.shape-item-thumbnail[data-v-2896ae03]{position:relative;cursor:pointer}.shape-content[data-v-2896ae03]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center}.shape-content:hover .shape-path[data-v-2896ae03]:not(.outlined){stroke:#d14424}.shape-content:hover .shape-path.outlined[data-v-2896ae03]{fill:#d14424}.shape-content svg[data-v-2896ae03]:not(:root){overflow:visible}.shape-pool[data-v-d87cc3f1]{width:340px;max-height:520px;overflow:auto;margin-top:-8px;margin-bottom:-8px;margin-right:-10px;padding-right:10px;padding-top:10px}.category-name[data-v-d87cc3f1]{width:100%;font-size:13px;margin-bottom:10px;border-left:4px solid #aaa;background-color:#eee;padding:2px 0 2px 10px}.shape-list[data-v-d87cc3f1]{display:flex;flex-wrap:wrap;align-content:flex-start;margin-bottom:10px}.shape-item[data-v-d87cc3f1]{width:8%;margin-bottom:calc(20% / 9);height:0;padding-bottom:8%;flex-shrink:0}.shape-item[data-v-d87cc3f1]:not(:nth-child(10n)){margin-right:calc(20% / 9)}.line-pool[data-v-b07efd40]{width:220px;overflow:auto;margin-bottom:-12px;margin-right:-12px;padding-right:12px}.category-name[data-v-b07efd40]{width:100%;font-size:13px;margin-bottom:10px;border-left:4px solid #aaa;background-color:#eee;padding:2px 0 2px 10px}.line-list[data-v-b07efd40]{display:flex;flex-wrap:wrap;align-content:flex-start;margin-bottom:10px}.line-item[data-v-b07efd40]{width:19%;margin-bottom:1.25%;height:0;padding-bottom:19%;flex-shrink:0;position:relative;cursor:pointer}.line-item[data-v-b07efd40]:not(:nth-child(5n)){margin-right:1.25%}.line-content[data-v-b07efd40]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;color:#999}.line-content[data-v-b07efd40]:hover{color:#d14424}.line-content svg[data-v-b07efd40]:not(:root){overflow:visible}.chart-pool[data-v-a4bc3ce2]{width:200px;margin-bottom:-5px;display:flex;flex-wrap:wrap;align-content:flex-start}.chart-item[data-v-a4bc3ce2]{width:19%;margin-bottom:1.25%;height:0;padding-bottom:19%;flex-shrink:0;position:relative;cursor:pointer}.chart-item[data-v-a4bc3ce2]:not(:nth-child(5n)){margin-right:1.25%}.chart-content[data-v-a4bc3ce2]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;color:#999}.chart-content[data-v-a4bc3ce2]:hover{color:#d14424}.number-input[data-v-ba8ef208]{background-color:#fff;border:1px solid #d9d9d9;padding:0 0 0 5px;border-radius:2px;transition:border-color .25s;font-size:13px;display:inline-flex}.number-input .input-wrap[data-v-ba8ef208]{flex:1;color:#41464b;padding:0 0 0 5px;position:relative}.number-input:not(.disabled) .input-wrap:hover .handlers[data-v-ba8ef208]{opacity:1}.number-input .handlers[data-v-ba8ef208]{width:20px;position:absolute;top:0;bottom:0;right:0;display:flex;flex-direction:column;font-size:6px;color:#999;opacity:0;-webkit-user-select:none;user-select:none;transition:opacity .25s}.number-input .handlers .handler[data-v-ba8ef208]{width:100%;height:50%;display:flex;justify-content:center;align-items:center;border-left:1px solid #d9d9d9;cursor:pointer}.number-input .handlers .handler+.handler[data-v-ba8ef208]{border-top:1px solid #d9d9d9}.number-input .handlers .handler[data-v-ba8ef208]:hover{color:#d14424}.number-input input[data-v-ba8ef208]{width:100%;min-width:0;padding:0;height:30px;line-height:30px;outline:0;border:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.number-input input[data-v-ba8ef208]::placeholder{color:#bfbfbf}.number-input[data-v-ba8ef208]:not(.disabled):hover,.number-input.focused[data-v-ba8ef208]{border-color:#d14424}.number-input.disabled[data-v-ba8ef208]{background-color:#f5f5f5;border-color:#dcdcdc;color:#b7b7b7}.number-input.disabled input[data-v-ba8ef208]{color:#b7b7b7}.number-input .prefix[data-v-ba8ef208],.number-input .suffix[data-v-ba8ef208]{display:flex;justify-content:center;align-items:center;line-height:30px;-webkit-user-select:none;user-select:none}.table-generator[data-v-73ce6b29]{width:100%;margin-top:-10px}.title[data-v-73ce6b29]{height:28px;line-height:28px;background-color:#ededed;margin:0 -10px 10px;padding:0 14px;font-size:12px;display:flex;justify-content:space-between;border-top-left-radius:2px;border-top-right-radius:2px;-webkit-user-select:none;user-select:none}.title .right[data-v-73ce6b29]{cursor:pointer}.title .right[data-v-73ce6b29]:hover{color:#d14424}table[data-v-73ce6b29]{border-collapse:separate}td[data-v-73ce6b29]{width:23px;height:23px;line-height:23px;border:2px solid #fff;background-color:#f7f7f7}.cell[data-v-73ce6b29]{width:100%;height:100%;border:1px solid #dcdcdc}.cell.active[data-v-73ce6b29]{background-color:#d144241a;border-color:#d14424}.custom[data-v-73ce6b29]{width:230px}.custom .row[data-v-73ce6b29]{display:flex;align-items:center}.custom .row+.row[data-v-73ce6b29]{margin-top:10px}.btns[data-v-73ce6b29]{margin-top:10px;text-align:right}.btns .btn[data-v-73ce6b29]{margin-left:10px}.media-input[data-v-999b18ca]{width:480px}.btns[data-v-999b18ca]{margin-top:10px;text-align:right}svg[data-v-fa1b116d]{overflow:hidden}.textarea[data-v-2b83189c]{outline:0;width:100%;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;padding:10px;transition:border-color .25s;box-sizing:border-box;line-height:1.675;resize:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.textarea[data-v-2b83189c]:focus{border-color:#d14424;background-color:#fff}.textarea.resizable[data-v-2b83189c]{resize:vertical}.textarea.disabled[data-v-2b83189c]{background-color:#f5f5f5;border-color:#dcdcdc;color:#b7b7b7}.textarea[data-v-2b83189c]::placeholder{color:#bfbfbf}.latex-editor[data-v-fc449335]{height:560px}.container[data-v-fc449335]{height:calc(100% - 50px);display:flex}.left[data-v-fc449335]{width:540px;height:100%;display:flex;flex-direction:column;flex-shrink:0}.input-area[data-v-fc449335]{flex:1}.input-area textarea[data-v-fc449335]{height:100%!important;border-color:#e5e7eb!important;padding:10px!important;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}.input-area textarea[data-v-fc449335]:focus{box-shadow:none!important}.preview[data-v-fc449335]{height:160px;display:flex;justify-content:center;align-items:center;text-align:center;margin-top:20px;border:1px solid #e5e7eb;-webkit-user-select:none;user-select:none}.placeholder[data-v-fc449335]{color:#888;font-size:13px}.preview-content[data-v-fc449335]{width:100%;height:100%;padding:10px;display:flex;justify-content:center;align-items:center}.right[data-v-fc449335]{width:280px;height:100%;margin-left:20px;border:solid 1px #e5e7eb;background-color:#fff;display:flex;flex-direction:column;-webkit-user-select:none;user-select:none}.content[data-v-fc449335]{height:calc(100% - 40px);font-size:13px}.formula[data-v-fc449335]{height:100%;padding:12px;overflow:auto;overflow:overlay}.formula-item+.formula-item[data-v-fc449335]{margin-top:10px}.formula-item .formula-title[data-v-fc449335]{margin-bottom:5px}.formula-item .formula-item-content[data-v-fc449335]{height:60px;padding:5px;display:flex;align-items:center;background-color:#f9f9f9;cursor:pointer}.symbol[data-v-fc449335]{height:100%;display:flex;flex-direction:column}.symbol-pool[data-v-fc449335]{display:flex;flex-wrap:wrap;flex:1;padding:12px;overflow:auto;overflow:overlay}.symbol-item[data-v-fc449335]{display:flex;justify-content:center;align-items:center}.symbol-item[data-v-fc449335]:hover{background-color:#f9f9f9;cursor:pointer}.footer[data-v-fc449335]{height:50px;display:flex;justify-content:flex-end;align-items:flex-end}.footer .btn[data-v-fc449335]{margin-left:10px}.canvas-tool[data-v-c887fa94]{position:relative;border-bottom:1px solid #e5e7eb;background-color:#fff;display:flex;justify-content:space-between;padding:0 10px;font-size:13px;-webkit-user-select:none;user-select:none}.left-handler[data-v-c887fa94],.more[data-v-c887fa94]{display:flex;align-items:center}.add-element-handler[data-v-c887fa94]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex}.add-element-handler .handler-item[data-v-c887fa94]{width:32px}.add-element-handler .handler-item[data-v-c887fa94]:not(.group-btn):hover{background-color:#f1f1f1}.add-element-handler .handler-item.active[data-v-c887fa94]{color:#d14424}.add-element-handler .handler-item.group-btn[data-v-c887fa94]{width:auto;margin-right:5px}.add-element-handler .handler-item.group-btn[data-v-c887fa94]:hover{background-color:#f3f3f3}.add-element-handler .handler-item.group-btn .icon[data-v-c887fa94],.add-element-handler .handler-item.group-btn .arrow[data-v-c887fa94]{height:100%;display:flex;justify-content:center;align-items:center}.add-element-handler .handler-item.group-btn .icon[data-v-c887fa94]{width:26px;padding:0 2px}.add-element-handler .handler-item.group-btn .icon[data-v-c887fa94]:hover{background-color:#e9e9e9}.add-element-handler .handler-item.group-btn .icon.active[data-v-c887fa94]{color:#d14424}.add-element-handler .handler-item.group-btn .arrow[data-v-c887fa94]{font-size:12px}.add-element-handler .handler-item.group-btn .arrow[data-v-c887fa94]:hover{background-color:#e9e9e9}.handler-item[data-v-c887fa94]{height:30px;font-size:14px;margin:0 2px;display:flex;justify-content:center;align-items:center;border-radius:2px;overflow:hidden;cursor:pointer}.handler-item.disable[data-v-c887fa94]{opacity:.5}.left-handler .handler-item[data-v-c887fa94],.right-handler .handler-item[data-v-c887fa94]{padding:0 8px}.left-handler .handler-item.active[data-v-c887fa94],.left-handler .handler-item[data-v-c887fa94]:not(.disable):hover,.right-handler .handler-item.active[data-v-c887fa94],.right-handler .handler-item[data-v-c887fa94]:not(.disable):hover{background-color:#f1f1f1}.right-handler[data-v-c887fa94]{display:flex;align-items:center}.right-handler .text[data-v-c887fa94]{display:inline-block;width:40px;text-align:center;cursor:pointer}.right-handler .viewport-size[data-v-c887fa94]{font-size:13px}@media screen and (width <= 1200px){.right-handler .text[data-v-c887fa94],.more[data-v-c887fa94]{display:none}}@media screen and (width <= 1000px){.left-handler[data-v-c887fa94],.right-handler[data-v-c887fa94]{display:none}}.layout-pool[data-v-5a791b40]{width:382px;height:500px}.header[data-v-5a791b40]{height:40px;margin:-10px -10px 10px;padding:10px 12px 0;background-color:#f9f9f9;border-bottom:1px solid #e5e7eb}.list[data-v-5a791b40]{height:calc(100% - 50px);padding:2px 10px 2px 2px;margin-right:-10px;overflow:auto;display:flex;flex-wrap:wrap;align-content:flex-start}.layout-item[data-v-5a791b40]{position:relative;width:48%;margin-bottom:4%}.layout-item[data-v-5a791b40]:not(:nth-child(2n)){margin-right:4%}.layout-item[data-v-5a791b40]:nth-last-child(2),.layout-item[data-v-5a791b40]:last-child{margin-bottom:0}.layout-item:hover .btns[data-v-5a791b40]{opacity:1}.layout-item:hover .thumbnail[data-v-5a791b40]{outline-color:#d14424}.layout-item .btns[data-v-5a791b40]{position:absolute;top:0;right:0;bottom:0;left:0;flex-direction:column;justify-content:center;align-items:center;display:flex;background-color:#00000040;opacity:0;transition:opacity .2s}.layout-item .thumbnail[data-v-5a791b40]{outline:2px solid #e5e7eb;transition:outline .2s;border-radius:2px;cursor:pointer}.thumbnails[data-v-f6304958]{border-right:solid 1px #e5e7eb;background-color:#fff;display:flex;flex-direction:column;-webkit-user-select:none;user-select:none}.add-slide[data-v-f6304958]{height:40px;font-size:12px;display:flex;flex-shrink:0;border-bottom:1px solid #e5e7eb;cursor:pointer}.add-slide .btn[data-v-f6304958]{flex:1;display:flex;justify-content:center;align-items:center}.add-slide .btn[data-v-f6304958]:hover{background-color:#f9f9f9}.add-slide .select-btn[data-v-f6304958]{width:30px;height:100%;display:flex;justify-content:center;align-items:center;border-left:1px solid #e5e7eb}.add-slide .select-btn[data-v-f6304958]:hover{background-color:#f9f9f9}.add-slide .icon[data-v-f6304958]{margin-right:3px;font-size:14px}.thumbnail-list[data-v-f6304958]{padding:5px 0;flex:1;overflow:auto}.thumbnail-item[data-v-f6304958]{display:flex;justify-content:center;align-items:center;padding:5px 0;position:relative}.thumbnail-item .thumbnail[data-v-f6304958]{border-radius:2px;outline:2px solid rgba(209,68,36,.15)}.thumbnail-item.active .label[data-v-f6304958]{color:#d14424}.thumbnail-item.active .thumbnail[data-v-f6304958],.thumbnail-item.selected .thumbnail[data-v-f6304958]{outline-color:#d14424}.thumbnail-item.selected .note-flag[data-v-f6304958]{background-color:#d14424}.thumbnail-item.selected .note-flag[data-v-f6304958]:after{border-top-color:#d14424}.thumbnail-item .note-flag[data-v-f6304958]{width:16px;height:12px;border-radius:1px;position:absolute;left:8px;top:13px;font-size:8px;background-color:#d14424bf;color:#fff;text-align:center;line-height:12px;cursor:pointer}.thumbnail-item .note-flag[data-v-f6304958]:after{content:"";width:0;height:0;position:absolute;top:10px;left:4px;border:4px solid transparent;border-top-color:#d14424bf}.label[data-v-f6304958]{font-size:12px;color:#999;width:20px;cursor:grab}.label.offset-left[data-v-f6304958]{position:relative;left:-4px}.label[data-v-f6304958]:active{cursor:grabbing}.page-number[data-v-f6304958]{height:40px;font-size:12px;border-top:1px solid #e5e7eb;line-height:40px;text-align:center;color:#666}.section-title[data-v-f6304958]{height:26px;font-size:12px;padding:6px 8px 2px 18px;color:#555}.section-title.contextmenu-active[data-v-f6304958]{color:#d14424}.section-title.contextmenu-active .text[data-v-f6304958]:before{border-bottom-color:#d14424;border-right-color:#d14424}.section-title .text[data-v-f6304958]{display:flex;align-items:center;position:relative}.section-title .text[data-v-f6304958]:before{content:"";width:0;height:0;border-top:3px solid transparent;border-left:3px solid transparent;border-bottom:3px solid #555;border-right:3px solid #555;margin-right:5px}.section-title .text .text-content[data-v-f6304958]{display:inline-block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.section-title input[data-v-f6304958]{width:100%;border:0;outline:0;padding:0;font-size:12px}.slider[data-v-a7428be4]{width:100%;height:12px;padding:4px 0;-webkit-user-select:none;user-select:none}.slider.disabled .track[data-v-a7428be4]{background-color:#b4b4b4}.slider.disabled .thumb[data-v-a7428be4]{outline:2px solid #b4b4b4}.slider[data-v-a7428be4]:not(.disabled){cursor:pointer}.slider:not(.disabled) .bar[data-v-a7428be4]:hover{background-color:#f0f0f0}.slider:not(.disabled) .track[data-v-a7428be4]:hover{background-color:#de6949}.slider:not(.disabled) .thumb[data-v-a7428be4]:hover,.slider:not(.disabled) .thumb[data-v-a7428be4]:active{outline:4px solid #d14424}.bar[data-v-a7428be4]{width:calc(100% - 10px);margin-left:5px;height:4px;border-radius:2px;position:relative;background-color:#f5f5f5;-webkit-user-select:none;user-select:none;transition:background-color .2s}.track[data-v-a7428be4]{position:absolute;top:0;left:0;height:100%;background-color:#d14424;transition:background-color .2s}.thumb[data-v-a7428be4]{position:absolute;top:50%;left:0;width:10px;height:10px;background-color:#fff;outline:2px solid #d14424;transform:translate(-50%,-50%);border-radius:50%;z-index:100}.thumb[data-v-a7428be4]:hover:before,.thumb[data-v-a7428be4]:hover:after,.thumb[data-v-a7428be4]:active:before,.thumb[data-v-a7428be4]:active:after{display:block}.thumb[data-v-a7428be4]:before{content:attr(data-tooltip);min-width:28px;display:none;position:absolute;left:50%;bottom:24px;transform:translate(-50%);background-color:#262626;text-align:center;color:#fff;border-radius:2px;padding:6px 5px;font-size:12px}.thumb[data-v-a7428be4]:after{content:"";display:none;position:absolute;left:50%;bottom:15px;transform:translate(-50%);border:5px solid transparent;border-top-color:#262626}.row[data-v-c3b27b40]{width:100%;display:flex;align-items:center;margin-bottom:10px}.color-btn[data-v-53175c6f]{width:100%;display:flex!important;align-items:center;justify-content:center;padding:0!important}.color-block[data-v-53175c6f]{height:20px;margin-left:8px;flex:1;outline:1px dashed rgba(102,102,102,.12);background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAEBJREFUOE9jfPbs2X8GIoCkpCQRqhgYGEcNxBlOo2GIM2iGQLL5//8/UTnl+fPnxOWUUQNxhtNoGOLOKYM+2QAAh2Nq10DwkukAAAAASUVORK5CYII=)}.content[data-v-53175c6f]{width:100%;height:100%}.color-btn-icon[data-v-53175c6f]{width:32px;font-size:13px;color:#bfbfbf}.checkerboard[data-v-46275348]{background-size:contain;position:absolute;top:0;right:0;bottom:0;left:0}.alpha[data-v-429f62d3]{position:absolute;top:0;right:0;bottom:0;left:0}.alpha-checkboard-wrap[data-v-429f62d3]{overflow:hidden;position:absolute;top:0;right:0;bottom:0;left:0}.alpha-gradient[data-v-429f62d3]{position:absolute;top:0;right:0;bottom:0;left:0}.alpha-container[data-v-429f62d3]{cursor:pointer;position:relative;z-index:2;height:100%;margin:0 3px}.alpha-pointer[data-v-429f62d3]{z-index:2;position:absolute}.alpha-picker[data-v-429f62d3]{cursor:pointer;width:4px;height:8px;box-shadow:0 0 2px #0009;background:#fff;margin-top:1px;transform:translate(-2px)}.hue[data-v-21ccc370]{background:linear-gradient(to right,red,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red);position:absolute;top:0;right:0;bottom:0;left:0}.hue-container[data-v-21ccc370]{cursor:pointer;margin:0 2px;position:relative;height:100%}.hue-pointer[data-v-21ccc370]{z-index:2;position:absolute;top:0}.hue-picker[data-v-21ccc370]{cursor:pointer;margin-top:1px;width:4px;height:8px;box-shadow:0 0 2px #0009;background:#fff;transform:translate(-2px)}.saturation[data-v-1a7711ae],.saturation-white[data-v-1a7711ae],.saturation-black[data-v-1a7711ae]{position:absolute;top:0;right:0;bottom:0;left:0;cursor:pointer}.saturation-white[data-v-1a7711ae]{background:linear-gradient(to right,#fff,#fff0)}.saturation-black[data-v-1a7711ae]{background:linear-gradient(to top,#000,#0000)}.saturation-pointer[data-v-1a7711ae]{cursor:pointer;position:absolute}.saturation-circle[data-v-1a7711ae]{width:4px;height:4px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px #0000004d,0 0 1px 2px #0006;border-radius:50%;transform:translate(-2px,-2px)}.editable-input[data-v-573b4dde]{width:100%;position:relative;overflow:hidden;text-align:center;font-size:14px}.editable-input[data-v-573b4dde]:after{content:"#";position:absolute;left:0;top:50%;transform:translateY(-50%);color:#999}.input-content[data-v-573b4dde]{width:100%;padding:3px;border:0;border-bottom:1px solid #ddd;outline:none;text-align:center}.input-label[data-v-573b4dde]{text-transform:capitalize}.color-picker[data-v-58b37f0f]{position:relative;width:240px;background:#fff;-webkit-user-select:none;user-select:none;margin-bottom:-10px}.picker-saturation-wrap[data-v-58b37f0f]{width:100%;padding-bottom:50%;position:relative;overflow:hidden}.picker-controls[data-v-58b37f0f]{display:flex}.picker-sliders[data-v-58b37f0f]{padding:4px 0;flex:1}.picker-hue-wrap[data-v-58b37f0f]{position:relative;height:10px}.picker-alpha-wrap[data-v-58b37f0f]{position:relative;height:10px;margin-top:4px;overflow:hidden}.picker-color-wrap[data-v-58b37f0f]{width:24px;height:24px;position:relative;margin-top:4px;margin-right:4px;outline:1px dashed rgba(102,102,102,.12)}.picker-color-wrap .checkerboard[data-v-58b37f0f]{background-size:auto}.picker-current-color[data-v-58b37f0f]{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2}.picker-field[data-v-58b37f0f]{display:flex;margin-bottom:8px}.picker-field .transparent[data-v-58b37f0f]{width:24px;height:24px;margin-top:4px;margin-left:8px;position:relative;cursor:pointer}.picker-field .transparent[data-v-58b37f0f]:after{content:"";width:26px;height:2px;position:absolute;top:11px;left:-1px;transform:rotate(-45deg);background-color:red}.picker-field .transparent .checkerboard[data-v-58b37f0f]{background-size:auto}.picker-field .straw[data-v-58b37f0f]{width:24px;height:24px;margin-top:4px;margin-left:8px;display:flex;justify-content:center;align-items:center;font-size:20px;background-color:#f5f5f5;outline:1px solid #f1f1f1;cursor:pointer}.picker-field .input[data-v-58b37f0f]{flex:1}.picker-presets[data-v-58b37f0f]{display:flex;flex-wrap:wrap;align-content:flex-start}.picker-presets-color[data-v-58b37f0f]{width:7%;margin-bottom:calc(30% / 9);height:0;padding-bottom:7%;flex-shrink:0;position:relative;cursor:pointer}.picker-presets-color[data-v-58b37f0f]:not(:nth-child(10n)){margin-right:calc(30% / 9)}.picker-presets-color.alpha[data-v-58b37f0f]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAADBJREFUOE9jfPbs2X8GPEBSUhKfNAPjqAHDIgz+//+PNx08f/4cfzoYNYCBceiHAQC5flV5JzgrxQAAAABJRU5ErkJggg==)}.picker-presets-color-content[data-v-58b37f0f]{position:absolute;top:0;right:0;bottom:0;left:0}.picker-gradient-presets[data-v-58b37f0f]{display:flex;flex-wrap:wrap;align-content:flex-start}.picker-gradient-col[data-v-58b37f0f]{width:7%;margin-bottom:calc(30% / 9);display:flex;flex-direction:column}.picker-gradient-col[data-v-58b37f0f]:not(:nth-child(10n)){margin-right:calc(30% / 9)}.picker-gradient-color[data-v-58b37f0f]{width:100%;height:16px;position:relative;cursor:pointer}.recent-colors-title[data-v-58b37f0f]{font-size:12px;margin-bottom:4px}.switch[data-v-a0d44a99]{height:20px;display:inline-block;cursor:pointer}.switch:not(.disabled).active .switch-core[data-v-a0d44a99]{border-color:#d14424;background-color:#d14424}.switch:not(.disabled).active .switch-core[data-v-a0d44a99]:after{left:100%;margin-left:-17px}.switch.disabled[data-v-a0d44a99]{cursor:default}.switch.disabled .switch-core[data-v-a0d44a99]:after{background-color:#f5f5f5}.switch-core[data-v-a0d44a99]{margin:0;display:inline-block;position:relative;width:40px;height:20px;border:1px solid #d9d9d9;outline:none;border-radius:10px;box-sizing:border-box;background:#d9d9d9;transition:border-color .3s,background-color .3s;vertical-align:middle}.switch-core[data-v-a0d44a99]:after{content:"";position:absolute;top:1px;left:1px;border-radius:100%;transition:all .3s;width:16px;height:16px;background-color:#fff}.row[data-v-174518c6]{width:100%;height:30px;display:flex;align-items:center;margin-bottom:10px}.switch-wrapper[data-v-174518c6]{text-align:right}.row[data-v-671988a4]{width:100%;height:30px;display:flex;align-items:center;margin-bottom:10px}.switch-wrapper[data-v-671988a4]{text-align:right}.text-color-btn[data-v-97cd463a]{width:100%;display:flex!important;flex-direction:column;justify-content:center;align-items:center;padding:0}.text-color-block[data-v-97cd463a]{width:17px;height:4px;margin-top:1px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAACdJREFUGFdjfPbs2X8GBgYGSUlJEMXAiCHw//9/sIrnz59DVKALAADNxxVfaiODNQAAAABJRU5ErkJggg==)}.text-color-block .text-color-block-content[data-v-97cd463a]{width:100%;height:100%}.button-group[data-v-6a640ef5]{display:flex;align-items:center}.button-group[data-v-6a640ef5] button.button{border-radius:0;border-left-width:1px;border-right-width:0;display:inline-block}.button-group[data-v-6a640ef5]:not(.passive) button.button:not(:last-child,.radio,.checkbox):hover{position:relative}.button-group[data-v-6a640ef5]:not(.passive) button.button:not(:last-child,.radio,.checkbox):hover:after{content:"";width:1px;height:calc(100% + 2px);background-color:#d14424;position:absolute;top:-1px;right:-1px}.button-group[data-v-6a640ef5]:not(.passive) button.button:first-child{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left-width:1px}.button-group[data-v-6a640ef5]:not(.passive) button.button:last-child{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right-width:1px}.button-group.passive[data-v-6a640ef5] button.button:not(.last,.radio,.checkbox):hover{position:relative}.button-group.passive[data-v-6a640ef5] button.button:not(.last,.radio,.checkbox):hover:after{content:"";width:1px;height:calc(100% + 2px);background-color:#d14424;position:absolute;top:-1px;right:-1px}.button-group.passive[data-v-6a640ef5] button.button.first{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left-width:1px}.button-group.passive[data-v-6a640ef5] button.button.last{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right-width:1px}.select-group[data-v-ed58c719]{display:flex;align-items:center}.select-group[data-v-ed58c719] .select-wrap .select{border-radius:0;border-left-width:0;border-right-width:0}.select-group[data-v-ed58c719] .select-wrap+.select-wrap .select{border-left-width:1px}.select-group[data-v-ed58c719] .select-wrap:hover+.select-wrap .select{border-left-color:#d14424}.select-group[data-v-ed58c719] .select-wrap:first-child .select{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left-width:1px}.select-group[data-v-ed58c719] .select-wrap:last-child .select{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right-width:1px}.rich-text-base[data-v-830b245d]{-webkit-user-select:none;user-select:none}.row[data-v-830b245d]{width:100%;display:flex;align-items:center;margin-bottom:10px}.font-size-btn[data-v-830b245d]{padding:0}.link-popover[data-v-830b245d]{width:240px}.link-popover .btns[data-v-830b245d]{margin-top:10px;text-align:right}.list-wrap[data-v-830b245d]{width:176px;color:#666;padding:8px;margin:-12px;display:flex;flex-wrap:wrap;align-content:flex-start}.list[data-v-830b245d]{background-color:#f9f9f9;padding:4px 4px 4px 20px;cursor:pointer}.list[data-v-830b245d]:not(:nth-child(3n)){margin-right:8px}.list[data-v-830b245d]:nth-child(4),.list[data-v-830b245d]:nth-child(5),.list[data-v-830b245d]:nth-child(6){margin-top:8px}.list[data-v-830b245d]:hover{color:#d14424}.list:hover span[data-v-830b245d]{background-color:#d14424}.list-item[data-v-830b245d]{width:24px;height:12px;position:relative;font-size:12px;top:-3px}.list-item span[data-v-830b245d]{width:100%;height:2px;display:inline-block;position:absolute;top:8px;background-color:#666}.popover-btn[data-v-830b245d]{padding:0 3px}.text-style-panel[data-v-82b69e69]{-webkit-user-select:none;user-select:none}.row[data-v-82b69e69]{width:100%;display:flex;align-items:center;margin-bottom:10px}.preset-style[data-v-82b69e69]{display:flex;flex-wrap:wrap;margin-bottom:10px}.preset-style-item[data-v-82b69e69]{width:50%;height:50px;border:solid 1px #d6d6d6;box-sizing:border-box;display:flex;justify-content:center;align-items:center;position:relative;cursor:pointer;transition:all .2s}.preset-style-item[data-v-82b69e69]:hover{border-color:#d14424;color:#d14424;z-index:1}.preset-style-item[data-v-82b69e69]:nth-child(2n){margin-left:-1px}.preset-style-item[data-v-82b69e69]:nth-child(n+3){margin-top:-1px}.row[data-v-100c8a7c],.row[data-v-e7ba40ca]{width:100%;display:flex;align-items:center;margin-bottom:10px}.switch-wrapper[data-v-e7ba40ca]{text-align:right}.filter[data-v-e7ba40ca]{font-size:12px}.filter-item[data-v-e7ba40ca]{padding:6px 0;display:flex;justify-content:center;align-items:center}.filter-item .name[data-v-e7ba40ca]{width:60px}.filter-item .filter-slider[data-v-e7ba40ca]{flex:1;margin:0 6px}.presets[data-v-e7ba40ca]{margin-bottom:5px;display:flex;flex-wrap:wrap;align-content:flex-start}.preset-item[data-v-e7ba40ca]{display:flex;flex-direction:column;justify-content:center;align-items:center;cursor:pointer;width:31%;margin-bottom:3.5%}.preset-item[data-v-e7ba40ca]:not(:nth-child(3n)){margin-right:3.5%}.preset-item img[data-v-e7ba40ca]{max-width:100%;max-height:120px}.preset-item .preset-label[data-v-e7ba40ca]{font-size:12px;color:#888}.row[data-v-51ffed2c]{width:100%;display:flex;align-items:center;margin-bottom:10px}.switch-wrapper[data-v-51ffed2c]{text-align:right}.row[data-v-0e7500b2]{width:100%;display:flex;align-items:center;margin-bottom:10px}.switch-wrapper[data-v-0e7500b2]{text-align:right}.origin-image[data-v-0e7500b2]{height:100px;background-size:contain;background-repeat:no-repeat;background-position:center;background-color:#f9f9f9;margin-bottom:10px}.full-width-btn[data-v-0e7500b2]{width:100%;margin-bottom:10px}.btn-icon[data-v-0e7500b2]{margin-right:3px}.clip[data-v-0e7500b2]{width:260px;font-size:12px}.clip .title[data-v-0e7500b2]{margin-bottom:5px}.shape-clip[data-v-0e7500b2]{margin-bottom:10px;display:flex;flex-wrap:wrap;align-content:flex-start}.shape-clip-item[data-v-0e7500b2]{display:flex;justify-content:center;align-items:center;cursor:pointer;width:16%;margin-bottom:5%}.shape-clip-item[data-v-0e7500b2]:not(:nth-child(5n)){margin-right:5%}.shape-clip-item:hover .shape[data-v-0e7500b2]{background-color:#ccc}.shape-clip-item .shape[data-v-0e7500b2]{width:40px;height:40px;background-color:#e1e1e1}.popover-btn[data-v-0e7500b2]{padding:0 3px}.gradient-bar[data-v-c1273c7e]{width:calc(100% - 10px);height:18px;padding:1px 0;margin:3px 0;position:relative;left:5px}.gradient-bar .bar[data-v-c1273c7e]{height:16px;border:1px solid #d9d9d9}.gradient-bar .point[data-v-c1273c7e]{width:10px;height:18px;background-color:#fff;position:absolute;top:0;border:2px solid #fff;outline:1px solid #d9d9d9;box-shadow:0 0 2px 2px #d9d9d9;border-radius:1px;cursor:pointer}.gradient-bar .point.active[data-v-c1273c7e]{outline:1px solid #d14424;box-shadow:0 0 2px 2px #d14424}.shape-style-panel[data-v-d5ed5ce8]{-webkit-user-select:none;user-select:none}.row[data-v-d5ed5ce8]{width:100%;display:flex;align-items:center;margin-bottom:10px}.font-size-btn[data-v-d5ed5ce8]{padding:0}.title[data-v-d5ed5ce8]{display:flex;justify-content:space-between;margin-bottom:10px}.shape-pool[data-v-d5ed5ce8]{width:235px;height:150px;overflow:auto;padding:5px 10px 5px 5px;border:1px solid #e5e7eb;margin-bottom:20px}.shape-list[data-v-d5ed5ce8]{display:flex;flex-wrap:wrap;align-content:flex-start}.shape-item[data-v-d5ed5ce8]{width:14%;margin-bottom:3.2%;height:0;padding-bottom:14%;flex-shrink:0}.shape-item[data-v-d5ed5ce8]:not(:nth-child(6n)){margin-right:3.2%}.row[data-v-8964660b]{width:100%;display:flex;align-items:center;margin-bottom:10px}.line-btn[data-v-8964660b]{display:flex;align-items:center;justify-content:space-between;padding:0!important}.line-btn .line-wrapper[data-v-8964660b]{margin-left:8px}.line-wrapper[data-v-8964660b]{overflow:visible}.line-btn-icon[data-v-8964660b]{width:30px;font-size:12px;margin-top:2px;color:#bfbfbf}.preset-point-style[data-v-8964660b]{padding:0 10px}.preset-point-style+.preset-point-style[data-v-8964660b]{margin-top:10px}.chart-data-editor[data-v-e76e5c0f]{width:600px;position:relative}.editor-content[data-v-e76e5c0f]{width:100%;height:360px;position:relative;border-right:1px solid #ccc;border-bottom:1px solid #ccc;padding-left:30px;padding-top:20px;overflow:auto;overflow:overlay}.range-box[data-v-e76e5c0f]{position:absolute;top:20px;left:30px;z-index:100;-webkit-user-select:none;user-select:none}.temp-range[data-v-e76e5c0f]{width:0;height:0;position:absolute;top:0;left:0;background-color:#8888884d}.range-line[data-v-e76e5c0f]{width:0;height:0;position:absolute;left:0;top:0;border:0 solid #d14424}.range-line.t[data-v-e76e5c0f]{border-top-width:1px}.range-line.b[data-v-e76e5c0f]{border-bottom-width:1px}.range-line.l[data-v-e76e5c0f]{border-left-width:1px}.range-line.r[data-v-e76e5c0f]{border-right-width:1px}.resizable[data-v-e76e5c0f]{position:absolute;width:12px;height:12px;left:0;top:0;margin:-9px 0 0 -9px;cursor:nwse-resize}.resizable[data-v-e76e5c0f]:after{content:"";position:absolute;width:4px;height:12px;right:0;top:0;background-color:#d14424}.resizable[data-v-e76e5c0f]:before{content:"";position:absolute;width:12px;height:4px;right:0;bottom:0;background-color:#d14424}table[data-v-e76e5c0f]{width:100%;height:100%;-webkit-user-select:none;user-select:none;table-layout:fixed}table td[data-v-e76e5c0f]{text-align:center;border:1px solid #ccc;vertical-align:middle;width:100px;height:32px}table td.head[data-v-e76e5c0f]{background-color:#d1442414}table .item[data-v-e76e5c0f]{width:100%;height:100%;border:0;outline:0;padding:0;font-size:13px;text-align:center;background-color:transparent}.btns[data-v-e76e5c0f]{margin-top:10px;display:flex;justify-content:space-between}.col-header[data-v-e76e5c0f]{width:auto;height:20px;position:absolute;top:0;left:30px;display:flex;border:1px solid #ccc;border-bottom:0;border-right:0;background-color:#f9f9f9}.col-header-item[data-v-e76e5c0f]{width:100px;position:relative;border-right:1px solid #ccc}.col-key[data-v-e76e5c0f]{font-size:10px;text-align:center;line-height:20px}.row-header[data-v-e76e5c0f]{height:auto;width:30px;position:absolute;top:20px;left:0;border:1px solid #ccc;border-bottom:0;border-right:0;background-color:#f9f9f9}.row-header-item[data-v-e76e5c0f]{height:32px;position:relative;border-bottom:1px solid #ccc}.row-key[data-v-e76e5c0f]{height:100%;font-size:10px;display:flex;justify-content:center;align-items:center}.all-header[data-v-e76e5c0f]{width:30px;height:20px;position:absolute;top:0;left:0;border:1px solid #ccc;border-bottom:0;border-right:0;background-color:#f9f9f9}.all-header .triangle[data-v-e76e5c0f]{position:absolute;bottom:4px;right:4px}.checkbox[data-v-3d20c849]{height:20px;display:flex;align-items:center;cursor:pointer}.checkbox:not(.disabled).checked .checkbox-input[data-v-3d20c849]{background-color:#d14424;border-color:#d14424}.checkbox:not(.disabled).checked .checkbox-input[data-v-3d20c849]:after{transform:rotate(45deg) scaleY(1)}.checkbox:not(.disabled).checked .checkbox-label[data-v-3d20c849]{color:#d14424}.checkbox.disabled[data-v-3d20c849]{color:#b7b7b7;cursor:default}.checkbox.disabled .checkbox-input[data-v-3d20c849]{background-color:#f5f5f5}.checkbox-input[data-v-3d20c849]{display:inline-block;position:relative;border:1px solid #d9d9d9;border-radius:2px;width:16px;height:16px;background-color:#fff;vertical-align:middle;transition:border-color .15s cubic-bezier(.71,-.46,.29,1.46),background-color .15s cubic-bezier(.71,-.46,.29,1.46);z-index:1}.checkbox-input[data-v-3d20c849]:after{content:"";border:2px solid #fff;border-left:0;border-top:0;height:9px;left:4px;position:absolute;top:1px;transform:rotate(45deg) scaleY(0);width:6px;transition:transform .15s ease-in .05s;transform-origin:center}.checkbox-original[data-v-3d20c849]{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.checkbox-label[data-v-3d20c849]{margin-left:5px;line-height:20px;font-size:13px;-webkit-user-select:none;user-select:none}.chart-style-panel[data-v-013c2424]{-webkit-user-select:none;user-select:none}.row[data-v-013c2424]{width:100%;display:flex;align-items:center;margin-bottom:10px}.full-width-btn[data-v-013c2424]{width:100%}.btn-icon[data-v-013c2424]{margin-right:3px}.color-btn-wrap[data-v-013c2424]{position:relative}.delete-color-btn[data-v-013c2424]{position:absolute;width:30px;right:2px;top:2px;bottom:2px;display:flex;justify-content:center;align-items:center;background-color:#fff;cursor:pointer}.preset-themes[data-v-013c2424]{width:250px;margin-bottom:-10px;display:flex;flex-wrap:wrap;align-content:flex-start}.preset-theme[data-v-013c2424]{display:flex;cursor:pointer;width:48%;margin-bottom:4%}.preset-theme[data-v-013c2424]:not(:nth-child(2n)){margin-right:4%}.preset-theme-color[data-v-013c2424]{width:20px;height:20px}.preset-theme-color.select[data-v-013c2424]{transform:scale(1.2);transition:transform .1s}.row[data-v-3bf19801]{width:100%;display:flex;align-items:center;margin-bottom:10px}.theme-switch[data-v-3bf19801]{margin-bottom:18px}.switch-wrapper[data-v-3bf19801]{text-align:right}.set-count[data-v-3bf19801]{display:flex;justify-content:center;align-items:center}.set-count .btn[data-v-3bf19801]{padding:0 8px}.set-count .count-text[data-v-3bf19801]{flex:1;text-align:center;margin:0 8px}.row[data-v-e173eae4],.row[data-v-b289959e]{width:100%;display:flex;align-items:center;margin-bottom:10px}.title[data-v-b289959e],.background-image-wrapper[data-v-b289959e]{margin-bottom:10px}.background-image[data-v-b289959e]{height:0;padding-bottom:56.25%;border:1px dashed #e5e7eb;border-radius:2px;position:relative;transition:all .2s}.background-image[data-v-b289959e]:hover{border-color:#d14424;color:#d14424}.background-image .content[data-v-b289959e]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;background-position:center;background-size:contain;background-repeat:no-repeat;cursor:pointer}.switch-row[data-v-b289959e]{height:32px}.switch-wrapper[data-v-b289959e]{text-align:right}.row[data-v-685cdba7]{width:100%;display:flex;align-items:center;margin-bottom:10px}.switch-row[data-v-685cdba7]{height:32px}.switch-wrapper[data-v-685cdba7]{text-align:right}.row[data-v-415f8183]{width:100%;display:flex;align-items:center;margin-bottom:10px}.font-size-btn[data-v-415f8183]{padding:0}.row[data-v-eba29c8f]{width:100%;display:flex;align-items:center;margin-bottom:10px}.title[data-v-eba29c8f]{margin-bottom:10px}.label[data-v-eba29c8f]{text-align:center}.btn-icon[data-v-eba29c8f]{margin-right:3px}.icon-btn[data-v-eba29c8f]{cursor:pointer}.icon-btn.active[data-v-eba29c8f]{color:#d14424}.text-btn[data-v-eba29c8f]{height:30px;line-height:30px;text-align:center;cursor:pointer}.text-btn[data-v-eba29c8f]:hover{background-color:#efefef;border-radius:2px}.element-animation-panel[data-v-d71f68dd]{height:100%;display:flex;flex-direction:column}.element-animation[data-v-d71f68dd]{height:32px;display:flex;align-items:center}.element-animation-btn[data-v-d71f68dd]{width:100%}.config-item[data-v-d71f68dd]{display:flex;align-items:center}.config-item+.config-item[data-v-d71f68dd]{margin-top:5px}.tip[data-v-d71f68dd]{height:32px;display:flex;justify-content:center;align-items:center;font-style:italic}.animation-pool[data-v-d71f68dd]{width:400px;height:500px;overflow-y:auto;overflow-x:hidden;font-size:12px;margin-right:-10px;padding-right:5px;position:relative}.animation-pool .mask[data-v-d71f68dd]{position:absolute;top:0;right:0;bottom:0;left:0}.animation-pool.in .type-title[data-v-d71f68dd]{border-left-color:#68a490;background-color:#68a49026}.animation-pool.out .type-title[data-v-d71f68dd]{border-left-color:#d86344;background-color:#d8634426}.animation-pool.attention .type-title[data-v-d71f68dd]{border-left-color:#e8b76a;background-color:#e8b76a26}.pool-type[data-v-d71f68dd]:not(:last-child){margin-bottom:5px}.type-title[data-v-d71f68dd]{width:100%;font-size:13px;margin-bottom:10px;border-left:4px solid #aaa;background-color:#eee;padding:4px 0 4px 10px}.pool-item-wrapper[data-v-d71f68dd]{display:flex;flex-wrap:wrap;align-content:flex-start}.pool-item[data-v-d71f68dd]{width:24%;margin-bottom:calc(4% / 3);margin-bottom:5px;height:40px;line-height:40px;text-align:center;cursor:pointer}.pool-item[data-v-d71f68dd]:not(:nth-child(4n)){margin-right:calc(4% / 3)}.animation-box[data-v-d71f68dd]{background-color:#f9f9f9;border-radius:2px}.animation-sequence[data-v-d71f68dd]{flex:1;padding-right:12px;margin-right:-12px;overflow:auto;overflow:overlay}.sequence-item[data-v-d71f68dd]{border:1px solid #e5e7eb;padding:8px;border-radius:2px;margin-bottom:8px;transition:all .5s}.sequence-item.in.active[data-v-d71f68dd]{border-color:#68a490}.sequence-item.out.active[data-v-d71f68dd]{border-color:#d86344}.sequence-item.attention.active[data-v-d71f68dd]{border-color:#e8b76a}.sequence-item.active[data-v-d71f68dd]{height:auto}.sequence-item .sequence-content[data-v-d71f68dd]{display:flex;align-items:center;cursor:grab}.sequence-item .sequence-content[data-v-d71f68dd]:active{cursor:grabbing}.sequence-item .sequence-content .index[data-v-d71f68dd]{flex:1}.sequence-item .sequence-content .text[data-v-d71f68dd]{flex:6}.sequence-item .sequence-content .handler[data-v-d71f68dd]{flex:2;font-size:15px;text-align:right}.sequence-item .sequence-content .handler-btn[data-v-d71f68dd]{margin-left:8px;cursor:pointer}.theme-styles-extract[data-v-724633c2]{height:500px;display:flex;flex-direction:column}.content[data-v-724633c2]{flex:1;overflow:auto;padding-right:20px;margin-right:-20px}.config-item[data-v-724633c2]{padding:12px 0 10px;border-bottom:1px dashed #f5f5f5;font-size:13px}.label[data-v-724633c2]{margin-bottom:5px}.values .value-wrap[data-v-724633c2]{display:flex;align-items:center;justify-content:space-between}.values .value-wrap+.value-wrap[data-v-724633c2]{margin-top:3px}.values .handler[data-v-724633c2]{flex:1;display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-left:10px}.values .handler .state[data-v-724633c2]{opacity:0}.values .handler .state.active[data-v-724633c2]{opacity:1}.values .handler .config-btn[data-v-724633c2]{cursor:pointer}.values .handler .config-btn[data-v-724633c2]:hover{color:#d14424}.values .value[data-v-724633c2]{width:150px;height:24px;border:1px solid #e5e7eb;display:flex;align-items:center;justify-content:center;font-size:12px;padding:5px;border-radius:2px}.btns[data-v-724633c2]{margin-top:12px}.btns .btn[data-v-724633c2]{width:100%}.slide-design-panel[data-v-01b60579]{-webkit-user-select:none;user-select:none}.row[data-v-01b60579]{width:100%;display:flex;align-items:center;margin-bottom:10px}.title[data-v-01b60579]{display:flex;justify-content:space-between;margin-bottom:10px}.title .more[data-v-01b60579]{cursor:pointer}.title .more .text[data-v-01b60579]{font-size:12px;margin-right:3px}.background-image-wrapper[data-v-01b60579]{margin-bottom:10px}.background-image[data-v-01b60579]{height:0;padding-bottom:56.25%;border:1px dashed #e5e7eb;border-radius:2px;position:relative;transition:all .2s}.background-image[data-v-01b60579]:hover{border-color:#d14424;color:#d14424}.background-image .content[data-v-01b60579]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;background-position:center;background-size:contain;background-repeat:no-repeat;cursor:pointer}.theme-list[data-v-01b60579]{display:flex;flex-wrap:wrap;align-content:flex-start}.theme-item[data-v-01b60579]{width:48%;margin-bottom:4%;padding-bottom:30%;border-radius:2px;position:relative;cursor:pointer}.theme-item[data-v-01b60579]:not(:nth-child(2n)){margin-right:4%}.theme-item .theme-item-content[data-v-01b60579]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;justify-content:center;padding:8px;border:1px solid #e5e7eb;border-radius:2px}.theme-item .text[data-v-01b60579]{font-size:16px}.theme-item .colors[data-v-01b60579]{display:flex}.theme-item .color-block[data-v-01b60579]{margin-top:8px;width:12px;height:12px;margin-right:2px}.theme-item:hover .btns[data-v-01b60579]{opacity:1}.theme-item .btns[data-v-01b60579]{position:absolute;top:0;right:0;bottom:0;left:0;flex-direction:column;justify-content:center;align-items:center;display:flex;background-color:#00000040;opacity:0;transition:opacity .2s}.animation-pool[data-v-ae84c3f4]{display:flex;flex-wrap:wrap;margin-bottom:10px}.animation-item[data-v-ae84c3f4]{width:50%;height:100px;border:solid 1px #d6d6d6;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;align-items:center;padding:20px 0 15px;position:relative;cursor:pointer}.animation-item.active[data-v-ae84c3f4]{border-color:#d14424;z-index:1}.animation-item[data-v-ae84c3f4]:nth-child(2n){margin-left:-1px}.animation-item[data-v-ae84c3f4]:nth-child(n+3){margin-top:-1px}.animation-block[data-v-ae84c3f4]{width:64px;height:36px;background:#666;position:relative;overflow:hidden}.animation-block.fade[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:fade-ae84c3f4 .3s linear}.animation-block.slideX[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:slideX-ae84c3f4 .3s linear}.animation-block.slideY[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:slideY-ae84c3f4 .3s linear}.animation-block.slideX3D[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:slideX3D-ae84c3f4 .3s linear}.animation-block.slideY3D[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:slideY3D-ae84c3f4 .3s linear}.animation-block.rotate[data-v-ae84c3f4]:hover:after{transform-origin:0 0;content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:rotate-ae84c3f4 .3s linear}.animation-block.scaleY[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:scaleY-ae84c3f4 .3s linear}.animation-block.scaleX[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:scaleX-ae84c3f4 .3s linear}.animation-block.scale[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:scale-ae84c3f4 .3s linear}.animation-block.scaleReverse[data-v-ae84c3f4]:hover:after{content:"PPTist";width:100%;height:100%;position:absolute;left:0;top:0;background-color:#d14424bf;color:#fff;display:flex;justify-content:center;align-items:center;animation:scaleReverse-ae84c3f4 .3s linear}.animation-text[data-v-ae84c3f4]{font-size:12px;color:#333;text-align:center}@keyframes fade-ae84c3f4{0%{opacity:0}to{opacity:1}}@keyframes slideX-ae84c3f4{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes slideY-ae84c3f4{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes slideX3D-ae84c3f4{0%{transform:translate(100%) scale(.5)}to{transform:translate(0)}}@keyframes slideY3D-ae84c3f4{0%{transform:translateY(100%) scale(.5)}to{transform:translateY(0)}}@keyframes rotate-ae84c3f4{0%{transform:rotate(-90deg)}to{transform:rotate(0)}}@keyframes scaleY-ae84c3f4{0%{transform:scaleY(.1)}to{transform:scaleY(1)}}@keyframes scaleX-ae84c3f4{0%{transform:scaleX(.1)}to{transform:scaleY(1)}}@keyframes scale-ae84c3f4{0%{transform:scale(.25)}to{transform:scale(1)}}@keyframes scaleReverse-ae84c3f4{0%{transform:scale(2)}to{transform:scale(1)}}.row[data-v-d41009b1]{width:100%;display:flex;align-items:center;margin-bottom:10px}.symbol-panel[data-v-0f662bb0]{height:100%;display:flex;flex-direction:column}.symbol-panel .pool[data-v-0f662bb0]{padding:5px 12px;margin:0 -12px;flex:1;font-size:18px;overflow:auto;overflow:overlay;display:flex;flex-wrap:wrap;align-content:flex-start}.symbol-panel .symbol-item[data-v-0f662bb0]{width:18%;margin-bottom:2.5%;height:0;padding-bottom:18%;position:relative;cursor:pointer;border:1px solid #e5e7eb}.symbol-panel .symbol-item[data-v-0f662bb0]:not(:nth-child(5n)){margin-right:2.5%}.symbol-panel .symbol-item[data-v-0f662bb0]:hover{color:#d14424}.symbol-panel .symbol-item .symbol[data-v-0f662bb0]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;background-color:#fff}.toolbar[data-v-83fff59a]{border-left:solid 1px #e5e7eb;background-color:#fff;display:flex;flex-direction:column}.content[data-v-83fff59a]{padding:12px;font-size:13px;overflow:auto;overflow:overlay}.editor[data-v-4042a280]{height:100%;overflow:auto}.prosemirror-editor[data-v-4042a280]{height:100%;cursor:text}.prosemirror-editor[data-v-4042a280] .ProseMirror{height:100%;font-size:12px;overflow:auto;padding:8px;line-height:1.5}.prosemirror-editor[data-v-4042a280] .ProseMirror>p[data-placeholder]:before{content:attr(data-placeholder);pointer-events:none;position:absolute;font-size:12px;color:#66666680}.menu[data-v-4042a280]{display:flex;background-color:#fff;padding:6px 4px;border-radius:2px;box-shadow:0 0 20px #00000026}.menu button[data-v-4042a280]{outline:0;border:0;background-color:#fff;padding:3px;border-radius:2px;font-size:16px;margin:0 3px;display:flex;align-items:center;justify-content:center;cursor:pointer}.menu button[data-v-4042a280]:hover,.menu button.active[data-v-4042a280]{background-color:#d14424;color:#fff}.remark[data-v-1c52a472]{position:relative;border-top:1px solid #e5e7eb}.resize-handler[data-v-1c52a472]{height:7px;position:absolute;top:-3px;left:0;right:0;cursor:n-resize;z-index:2}.export-img-dialog[data-v-32b43d99]{height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;position:relative;overflow:hidden}.thumbnails-view[data-v-32b43d99]{position:absolute;top:0;right:0;bottom:0;left:0}.thumbnails-view[data-v-32b43d99]:after{content:"";background-color:#fff;position:absolute;top:0;right:0;bottom:0;left:0}.configs[data-v-32b43d99]{width:350px;height:calc(100% - 100px);display:flex;flex-direction:column;justify-content:center;z-index:1}.configs .row[data-v-32b43d99]{display:flex;justify-content:center;align-items:center;margin-bottom:25px}.configs .title[data-v-32b43d99]{width:100px;position:relative}.configs .title[data-v-32b43d99]:after{content:attr(data-range);position:absolute;top:20px;left:0}.configs .config-item[data-v-32b43d99]{flex:1}.btns[data-v-32b43d99]{width:300px;height:100px;display:flex;justify-content:center;align-items:center;z-index:1}.btns .export[data-v-32b43d99]{flex:1}.btns .close[data-v-32b43d99]{width:100px;margin-left:10px}.export-json-dialog[data-v-ae2be22f]{height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;position:relative;overflow:hidden}.preview[data-v-ae2be22f]{width:100%;height:calc(100% - 100px);background-color:#f9f9f9;color:#0451a5;overflow:auto}pre[data-v-ae2be22f]{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}.btns[data-v-ae2be22f]{width:300px;height:100px;display:flex;justify-content:center;align-items:center}.btns .export[data-v-ae2be22f]{flex:1}.btns .close[data-v-ae2be22f]{width:100px;margin-left:10px}[data-v-ae2be22f]::-webkit-scrollbar{width:10px;height:10px;background-color:transparent}[data-v-ae2be22f]::-webkit-scrollbar-thumb{background-color:#e1e1e1;border-radius:5px}.export-pdf-dialog[data-v-d3a30d69]{height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;position:relative;overflow:hidden}.thumbnails-view[data-v-d3a30d69]{position:absolute;top:0;right:0;bottom:0;left:0}.thumbnails-view[data-v-d3a30d69]:after{content:"";background-color:#fff;position:absolute;top:0;right:0;bottom:0;left:0}.thumbnail.break-page[data-v-d3a30d69]{break-after:page}.configs[data-v-d3a30d69]{width:300px;height:calc(100% - 100px);display:flex;flex-direction:column;justify-content:center;z-index:1}.configs .row[data-v-d3a30d69]{display:flex;justify-content:center;align-items:center;margin-bottom:25px}.configs .title[data-v-d3a30d69]{width:100px}.configs .config-item[data-v-d3a30d69]{flex:1}.configs .tip[data-v-d3a30d69]{font-size:12px;color:#aaa;line-height:1.8;margin-top:25px}.btns[data-v-d3a30d69]{width:300px;height:100px;display:flex;justify-content:center;align-items:center;z-index:1}.btns .export[data-v-d3a30d69]{flex:1}.btns .close[data-v-d3a30d69]{width:100px;margin-left:10px}.export-pptx-dialog[data-v-254b6b07]{height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;position:relative;overflow:hidden}.configs[data-v-254b6b07]{width:350px;height:calc(100% - 100px);display:flex;flex-direction:column;justify-content:center}.configs .row[data-v-254b6b07]{display:flex;justify-content:center;align-items:center;margin-bottom:25px}.configs .title[data-v-254b6b07]{width:100px;position:relative}.configs .title[data-v-254b6b07]:after{content:attr(data-range);position:absolute;top:20px;left:0}.configs .config-item[data-v-254b6b07]{flex:1}.configs .tip[data-v-254b6b07]{font-size:12px;color:#aaa;line-height:1.8;margin-top:10px}.btns[data-v-254b6b07]{width:300px;height:100px;display:flex;justify-content:center;align-items:center}.btns .export[data-v-254b6b07]{flex:1}.btns .close[data-v-254b6b07]{width:100px;margin-left:10px}.export-pptist-dialog[data-v-bc56c9db]{height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;position:relative;overflow:hidden}.configs[data-v-bc56c9db]{width:350px;height:calc(100% - 100px);display:flex;flex-direction:column;justify-content:center}.configs .row[data-v-bc56c9db]{display:flex;justify-content:center;align-items:center;margin-bottom:25px}.configs .title[data-v-bc56c9db]{width:100px;position:relative}.configs .title[data-v-bc56c9db]:after{content:attr(data-range);position:absolute;top:20px;left:0}.configs .config-item[data-v-bc56c9db]{flex:1}.configs .tip[data-v-bc56c9db]{font-size:12px;color:#aaa;line-height:1.8;margin-top:25px}.btns[data-v-bc56c9db]{width:300px;height:100px;display:flex;justify-content:center;align-items:center}.btns .export[data-v-bc56c9db]{flex:1}.btns .close[data-v-bc56c9db]{width:100px;margin-left:10px}.export-dialog[data-v-b54f4542]{margin:-20px}.content[data-v-b54f4542]{height:460px;padding:12px;font-size:13px;overflow:auto;overflow:overlay}.moveable-panel[data-v-3fb89101]{position:fixed;background-color:#fff;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;border:1px solid #e5e7eb;border-radius:2px;display:flex;flex-direction:column;z-index:999}.resizer[data-v-3fb89101]{width:10px;height:10px;position:absolute;bottom:0;right:0;cursor:se-resize}.resizer[data-v-3fb89101]:after{content:"";position:absolute;bottom:-4px;right:-4px;transform:rotate(45deg);transform-origin:center;width:0;height:0;border:6px solid transparent;border-left-color:#e1e1e1}.header[data-v-3fb89101]{height:40px;display:flex;align-items:center;border-bottom:1px solid #f0f0f0;cursor:move}.title[data-v-3fb89101]{flex:1;font-size:13px;padding-left:10px}.close-btn[data-v-3fb89101]{width:40px;height:40px;display:flex;justify-content:center;align-items:center;color:#666;font-size:13px;cursor:pointer}.content[data-v-3fb89101]{flex:1;padding:10px;overflow:auto}.select-panel[data-v-d562651b]{height:100%;font-size:12px;-webkit-user-select:none;user-select:none}.handler[data-v-d562651b]{height:24px;margin-bottom:8px;display:flex;align-items:center;justify-content:space-between}.handler .icon-btns[data-v-d562651b]{height:100%;flex:1;display:flex;align-items:center;justify-content:flex-end}.handler .icon-btn[data-v-d562651b]{width:16px;height:100%;display:flex;align-items:center;justify-content:center;cursor:pointer}.handler .icon-btn[data-v-d562651b]:hover{color:#d14424}.element-list[data-v-d562651b]{height:calc(100% - 32px);padding-right:10px;margin-right:-10px;overflow:auto}.item[data-v-d562651b]{padding:5px;font-size:12px;border-radius:2px;display:flex;align-items:center;cursor:pointer}.item.active[data-v-d562651b]{background-color:#d144241a}.item.group-active[data-v-d562651b]{background-color:#d1442433}.item[data-v-d562651b]:hover{background-color:#d1442440}.item .name[data-v-d562651b]{height:18px;line-height:18px;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.item .icons[data-v-d562651b]{width:20px;display:flex;align-items:center;justify-content:center;margin-left:5px}.group-els[data-v-d562651b]{padding:5px 0}.group-els .group-title[data-v-d562651b]{margin-bottom:5px;padding:0 5px}.group-els .item[data-v-d562651b]{margin-left:15px}.input[data-v-d562651b]{width:100%;height:16px;border:0;outline:0;padding-left:0;padding-right:0;flex:1;font-size:12px;background-color:transparent}.search-panel[data-v-c6ed3d92]{font-size:13px}.content[data-v-c6ed3d92]{display:flex;flex-direction:column;justify-content:space-between}.input[data-v-c6ed3d92]{margin-top:10px}.count[data-v-c6ed3d92]{font-size:12px;margin-right:8px;-webkit-user-select:none;user-select:none}.ignore-case[data-v-c6ed3d92]{font-size:12px;-webkit-user-select:none;user-select:none;cursor:pointer}.ignore-case.active[data-v-c6ed3d92]{color:#d14424}.next-btn[data-v-c6ed3d92]{width:22px;height:100%;display:flex;justify-content:center;align-items:center;margin:0!important;-webkit-user-select:none;user-select:none;cursor:pointer}.next-btn[data-v-c6ed3d92]:hover{color:#d14424}.footer[data-v-c6ed3d92]{display:flex;justify-content:flex-end;align-items:center;margin-top:10px}.close-btn[data-v-c6ed3d92]{width:32px;height:32px;position:absolute;top:8px;right:3px;display:flex;justify-content:center;align-items:center;color:#666;font-size:13px;cursor:pointer}.notes-panel[data-v-4f057f75]{height:100%;font-size:12px;-webkit-user-select:none;user-select:none}.container[data-v-4f057f75]{height:100%;display:flex;flex-direction:column}.notes[data-v-4f057f75]{flex:1;overflow:auto;margin:0 -10px;padding:2px 12px}.empty[data-v-4f057f75]{width:100%;height:100%;color:#999;font-style:italic;display:flex;justify-content:center;align-items:center}.note[data-v-4f057f75]{border:1px solid #eee;border-radius:4px;padding:10px}.note+.note[data-v-4f057f75]{margin-top:10px}.note.active[data-v-4f057f75]{background-color:#f7f7f7}.note .header[data-v-4f057f75]{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:8px}.note .header:hover .btns[data-v-4f057f75]{opacity:1}.note .user[data-v-4f057f75]{display:flex;align-items:center}.note .user .avatar[data-v-4f057f75]{width:30px;height:30px;border-radius:50%;background-color:#42ba97;color:#fff;font-size:18px;display:flex;justify-content:center;align-items:center;margin-right:10px}.note .user .username[data-v-4f057f75]{font-size:14px}.note .user .time[data-v-4f057f75]{font-size:12px;color:#aaa}.note .btns[data-v-4f057f75]{display:flex;align-items:center;opacity:0}.note .btns .btn[data-v-4f057f75]{margin-left:5px;cursor:pointer}.note .btns .btn[data-v-4f057f75]:hover{text-decoration:underline;color:#d14424}.note .replies[data-v-4f057f75]{margin-left:20px;margin-top:15px}.note .replies .reply-item[data-v-4f057f75]{margin-top:10px}.note .replies .reply-item .content[data-v-4f057f75]{margin-top:5px}.note-reply[data-v-4f057f75]{margin-top:15px}.reply-btns[data-v-4f057f75]{margin-top:5px;text-align:right}.reply-btns .btn[data-v-4f057f75]{margin-left:8px}.send[data-v-4f057f75]{height:120px;flex-shrink:0;text-align:right;display:flex;flex-direction:column;justify-content:flex-end}.send .footer[data-v-4f057f75]{margin-top:10px;display:flex}.send .footer .btn[data-v-4f057f75]{display:flex;justify-content:center;align-items:center}.send .footer .btn.icon[data-v-4f057f75]{font-size:18px;color:#666;cursor:pointer}.send .footer .btn+.btn[data-v-4f057f75]{margin-left:8px}.pptist-editor[data-v-39fd665d]{height:100%}.layout-header[data-v-39fd665d]{height:40px}.layout-content[data-v-39fd665d]{height:calc(100% - 40px);display:flex}.layout-content-left[data-v-39fd665d]{width:160px;height:100%;flex-shrink:0}.layout-content-center[data-v-39fd665d]{width:calc(100% - 420px)}.layout-content-center .center-top[data-v-39fd665d]{height:40px}.layout-content-right[data-v-39fd665d]{width:260px;height:100%}.screen-element-video[data-v-d9f232b0]{position:absolute}.rotate-wrapper[data-v-d9f232b0],.element-content[data-v-d9f232b0]{width:100%;height:100%}.screen-element-audio[data-v-db0543f3]{position:absolute}.rotate-wrapper[data-v-db0543f3]{width:100%;height:100%}.element-content[data-v-db0543f3]{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.element-content:hover .audio-player[data-v-db0543f3]{display:block}.audio-icon[data-v-db0543f3]{cursor:pointer}.audio-player[data-v-db0543f3]{position:absolute;display:none}.link[data-v-28b05f52]{cursor:pointer}.screen-slide[data-v-54069779]{position:absolute;top:0;left:0;transform-origin:0 0;overflow:hidden}.background[data-v-54069779]{width:100%;height:100%;background-position:center;position:absolute}.screen-slide-list[data-v-30b01007]{background:#1d1d1d;position:relative;width:100%;height:100%}.slide-item[data-v-30b01007]{position:absolute;top:0;left:0;width:100%;height:100%}.slide-item.current[data-v-30b01007]{z-index:2}.slide-item.hide[data-v-30b01007]{opacity:0}.slide-item.turning-mode-no.before[data-v-30b01007]{transform:translateY(-100%)}.slide-item.turning-mode-no.after[data-v-30b01007]{transform:translateY(100%)}.slide-item.turning-mode-fade[data-v-30b01007]{transition:opacity .75s}.slide-item.turning-mode-fade.before[data-v-30b01007],.slide-item.turning-mode-fade.after[data-v-30b01007]{pointer-events:none;opacity:0}.slide-item.turning-mode-slideX[data-v-30b01007]{transition:transform .35s}.slide-item.turning-mode-slideX.before[data-v-30b01007]{transform:translate(-100%)}.slide-item.turning-mode-slideX.after[data-v-30b01007]{transform:translate(100%)}.slide-item.turning-mode-slideY[data-v-30b01007]{transition:transform .35s}.slide-item.turning-mode-slideY.before[data-v-30b01007]{transform:translateY(-100%)}.slide-item.turning-mode-slideY.after[data-v-30b01007]{transform:translateY(100%)}.slide-item.turning-mode-slideX3D[data-v-30b01007]{transition:transform .5s}.slide-item.turning-mode-slideX3D.before[data-v-30b01007]{transform:translate(-100%) scale(.5)}.slide-item.turning-mode-slideX3D.after[data-v-30b01007]{transform:translate(100%) scale(.5)}.slide-item.turning-mode-slideY3D[data-v-30b01007]{transition:transform .5s}.slide-item.turning-mode-slideY3D.before[data-v-30b01007]{transform:translateY(-100%) scale(.5)}.slide-item.turning-mode-slideY3D.after[data-v-30b01007]{transform:translateY(100%) scale(.5)}.slide-item.turning-mode-rotate[data-v-30b01007]{transition:transform .5s;transform-origin:0 0}.slide-item.turning-mode-rotate.before[data-v-30b01007]{transform:rotate(90deg)}.slide-item.turning-mode-rotate.after[data-v-30b01007]{transform:rotate(-90deg)}.slide-item.turning-mode-scaleY[data-v-30b01007]{transition:transform .5s}.slide-item.turning-mode-scaleY.before[data-v-30b01007],.slide-item.turning-mode-scaleY.after[data-v-30b01007]{transform:scaleY(.1)}.slide-item.turning-mode-scaleX[data-v-30b01007]{transition:transform .5s}.slide-item.turning-mode-scaleX.before[data-v-30b01007],.slide-item.turning-mode-scaleX.after[data-v-30b01007]{transform:scaleX(.1)}.slide-item.turning-mode-scale[data-v-30b01007]{transition:transform .5s}.slide-item.turning-mode-scale.before[data-v-30b01007],.slide-item.turning-mode-scale.after[data-v-30b01007]{transform:scale(.25)}.slide-item.turning-mode-scaleReverse[data-v-30b01007]{transition:transform .5s}.slide-item.turning-mode-scaleReverse.before[data-v-30b01007],.slide-item.turning-mode-scaleReverse.after[data-v-30b01007]{transform:scale(2)}.slide-content[data-v-30b01007]{background-color:#fff;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;justify-content:center;align-items:center}.slide-thumbnails[data-v-09d790f0]{width:100%;height:100%;position:fixed;top:0;left:0;background-color:#1a1a1a;z-index:99}.return-button[data-v-09d790f0]{height:60px;padding:20px 30px 0}.return-button .icon[data-v-09d790f0]{color:#fff;font-size:36px;cursor:pointer}.return-button .icon[data-v-09d790f0]:hover{color:#d14424}.slide-thumbnails-content[data-v-09d790f0]{height:calc(100% - 100px);padding:20px 30px 30px;display:flex;flex-wrap:wrap;align-content:flex-start;overflow:auto;overflow:overlay}.slide-thumbnails-content .thumbnail[data-v-09d790f0]{width:150px;outline:2px solid #aaa;margin-right:12px;margin-bottom:12px}.slide-thumbnails-content .thumbnail[data-v-09d790f0]:hover{outline-color:#d14424}.slide-thumbnails-content .thumbnail.active[data-v-09d790f0]{outline-width:3px;outline-color:#d14424}.writing-board[data-v-55ae5f6c]{z-index:8;cursor:none;position:absolute;top:0;right:0;bottom:0;left:0}.blackboard[data-v-55ae5f6c]{width:100%;height:100%;background-color:#0f392b}.canvas[data-v-55ae5f6c]{position:absolute;top:0;left:0}.eraser[data-v-55ae5f6c],.pen[data-v-55ae5f6c]{pointer-events:none;position:absolute;z-index:9}.eraser .icon[data-v-55ae5f6c],.pen .icon[data-v-55ae5f6c]{filter:drop-shadow(2px 2px 2px #555)}.eraser[data-v-55ae5f6c]{display:flex;justify-content:center;align-items:center;border-radius:50%;border:4px solid rgba(85,85,85,.15);color:#555555bf}.writing-board-tool[data-v-47295ef6]{font-size:12px;z-index:10;position:absolute;top:0;right:0;bottom:0;left:0}.writing-board-tool .writing-board-wrap[data-v-47295ef6]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.writing-board-tool .tools[data-v-47295ef6]{width:100%;height:100%;display:flex;align-items:center;justify-content:space-between}.writing-board-tool .tool-content[data-v-47295ef6]{display:flex;align-items:center}.writing-board-tool .btn[data-v-47295ef6]{padding:5px 10px;cursor:pointer}.writing-board-tool .btn[data-v-47295ef6]:hover{color:#d14424}.writing-board-tool .btn.active[data-v-47295ef6]{background-color:#d1442480;color:#fff}.writing-board-tool .icon[data-v-47295ef6]{font-size:20px}.writing-board-tool .colors[data-v-47295ef6]{display:flex;padding:0 10px}.writing-board-tool .color[data-v-47295ef6]{width:16px;height:16px;border-radius:2px;cursor:pointer}.writing-board-tool .color[data-v-47295ef6]:hover{transform:scale(1.15)}.writing-board-tool .color.active[data-v-47295ef6]{transform:scale(1.3)}.writing-board-tool .color+.color[data-v-47295ef6]{margin-left:8px}.size[data-v-47295ef6]{width:200px;display:flex;align-items:center;-webkit-user-select:none;user-select:none;font-size:13px}.size .label[data-v-47295ef6]{width:70px}.size .size-slider[data-v-47295ef6]{flex:1}.countdown-timer[data-v-92c1f9be]{-webkit-user-select:none;user-select:none}.header[data-v-92c1f9be]{height:16px;font-size:13px;margin-bottom:16px;display:flex;align-items:center}.header .text-btn[data-v-92c1f9be]{margin-right:8px;cursor:pointer}.header .text-btn[data-v-92c1f9be]:hover,.header .text-btn.active[data-v-92c1f9be]{color:#d14424}.content[data-v-92c1f9be]{display:flex;justify-content:space-between;padding:0 5px}.timer[data-v-92c1f9be]{width:54px;height:54px;border-radius:50%;background-color:#d144240d;font-size:22px;overflow:hidden}.timer input[data-v-92c1f9be]{width:100%;height:100%;border:0;outline:0;background-color:transparent;text-align:center}.colon[data-v-92c1f9be]{height:54px;line-height:54px;font-size:22px}.icon-btn[data-v-92c1f9be]{width:20px;height:20px;display:flex;justify-content:center;align-items:center;cursor:pointer}.pause[data-v-92c1f9be],.play[data-v-92c1f9be]{font-size:17px}.reset[data-v-92c1f9be]{font-size:12px}.close-btn[data-v-92c1f9be]{position:absolute;top:0;right:0;padding:10px;cursor:pointer}.base-view[data-v-85c13201]{width:100%;height:100%}.base-view.laser-pen[data-v-85c13201]{cursor:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAABHNCSVQICAgIfAhkiAAACCJJREFUWIXtmLuO3MYShv/qZl9IzqwXo2BkSAtsIK+z8wwOBcOJ9C56Cr2LlThQcgBnfofVBnswXlgTaLHaIdk3dtcJOKOzd8n2MeDABRDDgKz/m+pudv0N/BN/Luj/kYSZJQBxJR8DKESU/2zuPwTIzAKnpxqHhxUuLir0vYSUAkS0ewA5F7Rtxv7+iNPTEYeHkYjKXwrIzHK9XtultRohaKSkkFIVhqGCEAIxTvm0ZpRSTNOMUGqEUgnGxLX3cblc+t9T2S8GXK1W9dP53OLiwoLZhMtLQ4CiGBVKkchZIOcpn5QMKQuEyKx1YiCZvb0AooD9ff/rZuMPDg7cl+hWn3uAmQWABut1g/PzOnZdTd5bMY6aQtAIQQGQGEd5bYirKgPIZExiY2IKIbK1XpeinzaN2s7b4XPD/iAgM0ucn7fYbNrQ963Juaauq8k5i3E01PcG46iQs0TO1wGlzJAyo6oS2jagqgLGUQNQwTllvJeYzwUz9w8N+b2AzCxwft6i72fBuZkYhnbcbBqKsSbvazhnEIJBzqrEqGQpAlO1AaKShShC6wQpE4UQUNcBKenReyXm8yoIIYwQtNXq7qvkQxVssNm0wbmZuLiYUQgtnGtps2ngfQ3vLaVkEKOmGKcqMtMWkEnKTFonaB3Z+4AQPFmreD6vSAghxpECAFMKY7EoALovBlytVjXW6yb0fSuGoaUQWrq8nKHvW/R9S943xbmavJ+qmNIO8FMFIWXert7A1gYxjprHsSLmaTHt7UF0HYdSilmv82q1ynctnFuAzCzx8aPF+Xltcq7HzaaBcy36vsUwzKjrZhiGRgxDA+8tUjIUgkbOEqVMgEIUkjLDmAjvgwjBI6WKxlHybp5KyVRKMcaMGIb0dLFIzBxvzsdbgOv12i69t7HrpgURY02bTYO+b6nrZui6qZLONdz3jTg5ORDHx0f48OExQpgBAIzp8OjRez46Oi7Pnq1ot5BKETQVgYmosJRj6rrEQNJCxLX3EUB/LyAzC3z8qOGcIe8tOWdpmm81ed9gGJpdJdF1rXz79jucnX1za454P8fZ2ZzOzr6Rx8fvyvPnP38afiEKVVXmqhrJ+wSlIqoqYj73S2s1M7urC0ZcS3x6qhGCDpeXBuOoMY4Gzhl4b4tzNYahgXMNuq4Vb978cCfczTg7+0a8efMDuq6Fcw2GoSnO1fDewjmDcTQYx0kzBI3TU3319euAh4cVUlIEKApBU98bhGAoJSO8N/Dect834u3b73B+/vVn4XZxfv61ePv2O+77Bt5b4b2hlKbcfW8oBE2AQkoKh4fXRvU64MVFhZQqilEhBLX9CCvEqLer1YiTk4MvqtxdlTw5OcAWDDFq5DxphDBtmSlNzcddgMws0fcyDEOFUiQAiZxliVGVGFVJSXEImo6Pj3433Dbo+PiIQ9AlJbXLi5wnrVIm7b6X223wOiAAASkFhBDIWWAcJXKWshQhcpYiZ0k5S3z48PhO9ZcvgV9+ma6XL+8m/PDhMW1ziW1u5Cy3WpO2lOIq11VAAhEhRkLO0z0RgVmAefotRXz6lNyMV6+AxWK6Xr26GzCEGXZb4i7nTifnSXv6Tn7qssTdmf4+cRWQwczQmiHldM/MICogmn6FKDDmzj0Tr18D5+fT9fr13WrGdBCiXMu505Fy0mZmTJYBwPUPdUHOBaUUSFlQVRlS5rzbtqTMJGXGo0fvcXY2vyX+44/T9VA8evSepcy8zcdCFDG1ZBlSTto5FwC3P9RElNG22TTNCCEygAwps9A6Ca2TUCqRMZGPjo4fprg/+OjomIyJQqm0ywspJy0hJu22zVf34+tzcH9/hFIja51gTEJVJUiZoHWEMQFKhfLs2QpPnrz73XRPnrwrz56toFSAMQFaR0g5aRiTWOsEpUbs749XX7u51Y1QKjGQ2JjIbRtgTGClQrE2wFpPbTuU589/xmLx2xfDLRa/lefPf6a2HWCtL9YG3oJy2wY2JjKQoFTC6ekDgIeHEcZEs7cXUFURVTV1wtZ6UdcOTTOgrgfMZn158eKnL6rkkyfvyosXP2E261HXA5pmEHXtYK1HXU9WoKomTWMiDg/j1devbStEVN6/fx+XRIGt9RhHjZQ0Wat4HCsax//1fEQlf//9v8XJyTF9rt1q2+mPtW2PphnY2gHWOrbWcV17ttaDKKy9j4/398u9gACwXC49Pn7UuhQNQI3eT206s2DadptCFEiZqaoS/+tfvnz77X/oRsPKUmYyJpJSAdZ6NM2Aphl4Pu/QND3P5wO0dmo2c5jNHPb3/fKrr/xNnluARJRXq5V/2jQqOKfE1kPsPC8zM1VVLkqNwpiAEAxbq+hGy89SZtq2/MXaIOrasbUDmqZH2/Zo257bdghSOtM07tfNxh/s799yd3d6koODA8fM0ngvw9bgYG9vatOJClfVSFUVYe3UldxhmiBlxtY0kVLTlLHW8Xw+oG17NqYvs1lv6rrHcjkcEN1p5B9ydQPmc2GEoABAdB1TKYWlnDph5wJvbSdPpwvXbCcLUXhrO2FMQF0HttZBa8dtO5TZrDdt26FtewDDfRD3AhJRYeYemKxh2Bqc1HVTm17Xn4y7yFnyDeMurhh33hp3rmuvZjMXpHSmrqehXiz6h04XHjxZIKLMzB0Wi2LW64xhSAwkVFXEOGpo/dmjD2yPPlBVka31mM2caRqH5XLAnz362FUSQLdarfLTxSJpISLmcx8uLw217R8/PLpnzt3S/5KHdvG3Pn67Afr3PMB8APgvOwL+J/5s/BeEBm1u1Gu4+QAAAABJRU5ErkJggg==) 20 20,default!important}.tools-left[data-v-85c13201]{position:fixed;bottom:8px;left:8px;font-size:25px;color:#666;z-index:10}.tools-left .tool-btn[data-v-85c13201]{opacity:.35;cursor:pointer}.tools-left .tool-btn[data-v-85c13201]:hover{opacity:.9}.tools-left .tool-btn+.tool-btn[data-v-85c13201]{margin-left:8px}.tools-right[data-v-85c13201]{height:66px;position:fixed;bottom:-66px;right:0;z-index:5;padding:8px;transition:bottom .2s}.tools-right.visible[data-v-85c13201]{bottom:0}.tools-right[data-v-85c13201]:after{content:"";width:100%;height:66px;position:absolute;left:0;top:-66px}.tools-right .content[data-v-85c13201]{width:100%;height:100%;display:flex;justify-content:center;align-items:center;border-radius:2px;font-size:25px;background-color:#fff;color:#41464b;padding:8px 10px;box-shadow:0 2px 12px #38383833;border:1px solid #e2e6ed}.tools-right .tool-btn[data-v-85c13201]{cursor:pointer}.tools-right .tool-btn[data-v-85c13201]:hover,.tools-right .tool-btn.active[data-v-85c13201]{color:#d14424}.tools-right .tool-btn+.tool-btn[data-v-85c13201]{margin-left:15px}.tools-right .page-number[data-v-85c13201]{font-size:13px;padding:8px 12px;cursor:pointer}.presenter-view[data-v-691774ef]{width:100%;height:100%;display:flex}.toolbar[data-v-691774ef]{width:70px;height:100%;background-color:#fff;border-right:solid 1px #eee;font-size:12px;margin:20px 0}.toolbar .tool-btn[data-v-691774ef]{display:flex;flex-direction:column;justify-content:center;align-items:center;cursor:pointer}.toolbar .tool-btn+.tool-btn[data-v-691774ef]{margin-top:22px}.toolbar .tool-btn[data-v-691774ef]:hover,.toolbar .tool-btn.active[data-v-691774ef]{color:#d14424}.toolbar .divider[data-v-691774ef]{width:70%;margin:24px 15%!important}.toolbar .tool-icon[data-v-691774ef]{margin-bottom:8px;font-size:22px}.content[data-v-691774ef]{width:calc(100% - 430px);height:100%;background-color:#1d1d1d}.slide-list-wrap[data-v-691774ef]{height:calc(100% - 190px);margin:20px;overflow:hidden;position:relative}.slide-list-wrap.laser-pen[data-v-691774ef]{cursor:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAABHNCSVQICAgIfAhkiAAACCJJREFUWIXtmLuO3MYShv/qZl9IzqwXo2BkSAtsIK+z8wwOBcOJ9C56Cr2LlThQcgBnfofVBnswXlgTaLHaIdk3dtcJOKOzd8n2MeDABRDDgKz/m+pudv0N/BN/Luj/kYSZJQBxJR8DKESU/2zuPwTIzAKnpxqHhxUuLir0vYSUAkS0ewA5F7Rtxv7+iNPTEYeHkYjKXwrIzHK9XtultRohaKSkkFIVhqGCEAIxTvm0ZpRSTNOMUGqEUgnGxLX3cblc+t9T2S8GXK1W9dP53OLiwoLZhMtLQ4CiGBVKkchZIOcpn5QMKQuEyKx1YiCZvb0AooD9ff/rZuMPDg7cl+hWn3uAmQWABut1g/PzOnZdTd5bMY6aQtAIQQGQGEd5bYirKgPIZExiY2IKIbK1XpeinzaN2s7b4XPD/iAgM0ucn7fYbNrQ963Juaauq8k5i3E01PcG46iQs0TO1wGlzJAyo6oS2jagqgLGUQNQwTllvJeYzwUz9w8N+b2AzCxwft6i72fBuZkYhnbcbBqKsSbvazhnEIJBzqrEqGQpAlO1AaKShShC6wQpE4UQUNcBKenReyXm8yoIIYwQtNXq7qvkQxVssNm0wbmZuLiYUQgtnGtps2ngfQ3vLaVkEKOmGKcqMtMWkEnKTFonaB3Z+4AQPFmreD6vSAghxpECAFMKY7EoALovBlytVjXW6yb0fSuGoaUQWrq8nKHvW/R9S943xbmavJ+qmNIO8FMFIWXert7A1gYxjprHsSLmaTHt7UF0HYdSilmv82q1ynctnFuAzCzx8aPF+Xltcq7HzaaBcy36vsUwzKjrZhiGRgxDA+8tUjIUgkbOEqVMgEIUkjLDmAjvgwjBI6WKxlHybp5KyVRKMcaMGIb0dLFIzBxvzsdbgOv12i69t7HrpgURY02bTYO+b6nrZui6qZLONdz3jTg5ORDHx0f48OExQpgBAIzp8OjRez46Oi7Pnq1ot5BKETQVgYmosJRj6rrEQNJCxLX3EUB/LyAzC3z8qOGcIe8tOWdpmm81ed9gGJpdJdF1rXz79jucnX1za454P8fZ2ZzOzr6Rx8fvyvPnP38afiEKVVXmqhrJ+wSlIqoqYj73S2s1M7urC0ZcS3x6qhGCDpeXBuOoMY4Gzhl4b4tzNYahgXMNuq4Vb978cCfczTg7+0a8efMDuq6Fcw2GoSnO1fDewjmDcTQYx0kzBI3TU3319euAh4cVUlIEKApBU98bhGAoJSO8N/Dect834u3b73B+/vVn4XZxfv61ePv2O+77Bt5b4b2hlKbcfW8oBE2AQkoKh4fXRvU64MVFhZQqilEhBLX9CCvEqLer1YiTk4MvqtxdlTw5OcAWDDFq5DxphDBtmSlNzcddgMws0fcyDEOFUiQAiZxliVGVGFVJSXEImo6Pj3433Dbo+PiIQ9AlJbXLi5wnrVIm7b6X223wOiAAASkFhBDIWWAcJXKWshQhcpYiZ0k5S3z48PhO9ZcvgV9+ma6XL+8m/PDhMW1ziW1u5Cy3WpO2lOIq11VAAhEhRkLO0z0RgVmAefotRXz6lNyMV6+AxWK6Xr26GzCEGXZb4i7nTifnSXv6Tn7qssTdmf4+cRWQwczQmiHldM/MICogmn6FKDDmzj0Tr18D5+fT9fr13WrGdBCiXMu505Fy0mZmTJYBwPUPdUHOBaUUSFlQVRlS5rzbtqTMJGXGo0fvcXY2vyX+44/T9VA8evSepcy8zcdCFDG1ZBlSTto5FwC3P9RElNG22TTNCCEygAwps9A6Ca2TUCqRMZGPjo4fprg/+OjomIyJQqm0ywspJy0hJu22zVf34+tzcH9/hFIja51gTEJVJUiZoHWEMQFKhfLs2QpPnrz73XRPnrwrz56toFSAMQFaR0g5aRiTWOsEpUbs749XX7u51Y1QKjGQ2JjIbRtgTGClQrE2wFpPbTuU589/xmLx2xfDLRa/lefPf6a2HWCtL9YG3oJy2wY2JjKQoFTC6ekDgIeHEcZEs7cXUFURVTV1wtZ6UdcOTTOgrgfMZn158eKnL6rkkyfvyosXP2E261HXA5pmEHXtYK1HXU9WoKomTWMiDg/j1devbStEVN6/fx+XRIGt9RhHjZQ0Wat4HCsax//1fEQlf//9v8XJyTF9rt1q2+mPtW2PphnY2gHWOrbWcV17ttaDKKy9j4/398u9gACwXC49Pn7UuhQNQI3eT206s2DadptCFEiZqaoS/+tfvnz77X/oRsPKUmYyJpJSAdZ6NM2Aphl4Pu/QND3P5wO0dmo2c5jNHPb3/fKrr/xNnluARJRXq5V/2jQqOKfE1kPsPC8zM1VVLkqNwpiAEAxbq+hGy89SZtq2/MXaIOrasbUDmqZH2/Zo257bdghSOtM07tfNxh/s799yd3d6koODA8fM0ngvw9bgYG9vatOJClfVSFUVYe3UldxhmiBlxtY0kVLTlLHW8Xw+oG17NqYvs1lv6rrHcjkcEN1p5B9ydQPmc2GEoABAdB1TKYWlnDph5wJvbSdPpwvXbCcLUXhrO2FMQF0HttZBa8dtO5TZrDdt26FtewDDfRD3AhJRYeYemKxh2Bqc1HVTm17Xn4y7yFnyDeMurhh33hp3rmuvZjMXpHSmrqehXiz6h04XHjxZIKLMzB0Wi2LW64xhSAwkVFXEOGpo/dmjD2yPPlBVka31mM2caRqH5XLAnz362FUSQLdarfLTxSJpISLmcx8uLw217R8/PLpnzt3S/5KHdvG3Pn67Afr3PMB8APgvOwL+J/5s/BeEBm1u1Gu4+QAAAABJRU5ErkJggg==) 20 20,default!important}.thumbnails[data-v-691774ef]{height:150px;padding:15px;white-space:nowrap;overflow-x:auto;overflow-y:hidden;border-top:solid 1px #3a3a3a}.thumbnail[data-v-691774ef]{display:inline-block;outline:2px solid #aaa}.thumbnail+.thumbnail[data-v-691774ef]{margin-left:10px}.thumbnail[data-v-691774ef]:hover{outline-color:#d14424}.thumbnail.active[data-v-691774ef]{outline-width:3px;outline-color:#d14424}.remark[data-v-691774ef]{width:360px;height:100%;position:relative;background-color:#2a2a2a;border-left:solid 1px #3a3a3a;color:#fff}.remark .header[data-v-691774ef]{height:60px;padding:0 20px;display:flex;justify-content:space-between;align-items:center;font-size:18px;border-bottom:1px solid #3a3a3a}.remark .remark-content[data-v-691774ef]{height:calc(100% - 60px);padding:20px;line-height:1.5;overflow:auto;overflow:overlay}.remark .remark-scale[data-v-691774ef]{position:absolute;right:5px;bottom:5px;font-size:22px;display:flex}.remark .scale-btn[data-v-691774ef]{width:40px;height:40px;display:flex;justify-content:center;align-items:center;-webkit-user-select:none;user-select:none;cursor:pointer}.remark .scale-btn.disable[data-v-691774ef]{color:#666;cursor:no-drop}.remark .scale-btn[data-v-691774ef]:not(.disable):hover{background-color:#333}[data-v-691774ef]::-webkit-scrollbar{width:0;height:0}.pptist-screen[data-v-2f0dc4b8]{width:100%;height:100%}.mobile-operate[data-v-b61bf2dc]{position:absolute;z-index:100;-webkit-user-select:none;user-select:none}.mobile-thumbnails[data-v-f47af55e]{padding:10px;white-space:nowrap;overflow-x:auto;overflow-y:hidden}.thumbnail-item[data-v-f47af55e]{position:relative;display:inline-block;outline:2px solid #aaa}.thumbnail-item+.thumbnail-item[data-v-f47af55e]{margin-left:10px}.thumbnail-item.active[data-v-f47af55e]{outline-color:#d14424}.thumbnail-item.active .label[data-v-f47af55e]{background-color:#d14424}.thumbnail-item .label[data-v-f47af55e]{min-width:20px;height:14px;line-height:14px;position:absolute;right:-1px;top:-1px;color:#fff;background-color:#aaa;z-index:1;font-size:12px;text-align:center;padding:0 5px}.sortable-chosen[data-v-f47af55e]{top:-5px}[data-v-f47af55e]::-webkit-scrollbar{width:0;height:0}.slide-toolbar[data-v-34808e39]{height:230px;background-color:#fff;box-shadow:0 0 15px #0000001a;display:flex;flex-direction:column;position:relative;z-index:2}.remark[data-v-34808e39]{position:relative;flex:1;border-bottom:1px solid #e5e7eb;line-height:1.5}.remark textarea[data-v-34808e39]{width:100%;height:100%;overflow-y:auto;resize:none;border:0;outline:0;padding:8px 10px;font-size:12px;box-sizing:border-box;position:absolute;top:0;right:0;bottom:0;left:0}.toolbar[data-v-34808e39]{height:90px;border-bottom:1px solid #e5e7eb;padding:10px}.row[data-v-34808e39]{width:100%;display:flex;align-items:center;margin-bottom:5px}.row .icon[data-v-34808e39]{margin-right:3px}.element-toolbar[data-v-14deecba]{width:100%;height:240px;position:absolute;z-index:99;bottom:0;left:0;background-color:#fff;box-shadow:0 0 15px #0000001a;display:flex;flex-direction:column;animation:slideInUp-14deecba .15s}@keyframes slideInUp-14deecba{0%{transform:translateY(100%)}to{transform:translateY(0)}}.content[data-v-14deecba]{padding:10px;flex:1;overflow:auto}.row[data-v-14deecba]{width:100%;display:flex;align-items:center;margin-bottom:10px}.row .icon[data-v-14deecba]{margin-right:3px}.row-block[data-v-14deecba]{margin-bottom:10px;background-color:#f9f9f9;border-radius:2px;padding:10px}.label[data-v-14deecba]{font-size:13px;margin-bottom:20px;margin-left:6px}.colors[data-v-14deecba]{display:flex;flex-wrap:wrap;align-content:flex-start}.color[data-v-14deecba]{width:12%;margin-bottom:calc(4% / 7);padding-bottom:5px;display:flex;justify-content:center;align-items:center}.color[data-v-14deecba]:not(:nth-child(8n)){margin-right:calc(4% / 7)}.color .color-block[data-v-14deecba]{width:30px;height:30px;border-radius:50%}.mobile-editor-header[data-v-091403e4]{height:50px;background-color:#fff;display:flex;justify-content:space-between;align-items:center;padding:0 18px;font-size:13px;box-shadow:0 0 15px #0000001a;position:relative;z-index:2}.history[data-v-091403e4]{display:flex;justify-content:center;align-items:center}.history-item[data-v-091403e4]{margin-right:20px}.history-item.disable[data-v-091403e4]{opacity:.5}.mobile-editor[data-v-94103018]{height:100%;position:relative;background-color:#f9f9f9}.content[data-v-94103018]{height:calc(100% - 280px);display:flex;justify-content:center;align-items:center}.viewport[data-v-94103018]{transform-origin:0 0}.viewport-wrapper[data-v-94103018]{position:relative;box-shadow:0 0 0 1px #00000003,0 0 12px #0000001a}.background[data-v-94103018]{width:100%;height:100%;background-position:center;position:absolute}.mobile-player[data-v-c846a018]{transform-origin:0 0;background-color:#1d1d1d;position:relative}.screen-slide-list[data-v-c846a018]{position:relative;width:100%;height:100%}.slide-item[data-v-c846a018]{position:absolute;top:0;left:0;width:100%;height:100%}.slide-item.current[data-v-c846a018]{z-index:2}.slide-item.hide[data-v-c846a018]{opacity:0}.slide-item.turning-mode-no.before[data-v-c846a018]{transform:translateY(-100%)}.slide-item.turning-mode-no.after[data-v-c846a018]{transform:translateY(100%)}.slide-item.turning-mode-fade[data-v-c846a018]{transition:opacity .75s}.slide-item.turning-mode-fade.before[data-v-c846a018],.slide-item.turning-mode-fade.after[data-v-c846a018]{pointer-events:none;opacity:0}.slide-item.turning-mode-slideX[data-v-c846a018]{transition:transform .35s}.slide-item.turning-mode-slideX.before[data-v-c846a018]{transform:translate(-100%)}.slide-item.turning-mode-slideX.after[data-v-c846a018]{transform:translate(100%)}.slide-item.turning-mode-slideY[data-v-c846a018]{transition:transform .35s}.slide-item.turning-mode-slideY.before[data-v-c846a018]{transform:translateY(-100%)}.slide-item.turning-mode-slideY.after[data-v-c846a018]{transform:translateY(100%)}.slide-content[data-v-c846a018]{background-color:#fff;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;justify-content:center;align-items:center}.header[data-v-c846a018]{width:100%;height:40px;line-height:40px;padding:0 15px;position:absolute;top:0;left:0;z-index:99;background-color:#1d1d1db3;text-align:right;font-size:13px;color:#fff;animation:slideInDown-c846a018 .15s}.header .back[data-v-c846a018]{height:100%}.thumbnails[data-v-c846a018]{width:100%;position:absolute;bottom:0;left:0;z-index:99;background-color:#1d1d1db3;overflow:auto!important;animation:slideInUp-c846a018 .15s}@keyframes slideInUp-c846a018{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes slideInDown-c846a018{0%{transform:translateY(-100%)}to{transform:translateY(0)}}.mobile-preview[data-v-99aa0ac4]{height:100%;background-color:#f9f9f9}.thumbnail-list[data-v-99aa0ac4]{height:calc(100% - 50px);padding:10px;overflow:auto}.thumbnail-item[data-v-99aa0ac4]{display:flex;justify-content:center;align-items:center;box-shadow:0 0 15px #0000001a}.thumbnail-item+.thumbnail-item[data-v-99aa0ac4]{margin-top:10px}.menu[data-v-99aa0ac4]{height:50px;position:relative;box-shadow:0 -2px 4px #3333330d;background:#fff;display:flex;justify-content:center;align-items:center}.menu .menu-item[data-v-99aa0ac4]{width:50%;height:100%;display:flex;justify-content:center;align-items:center;font-size:13px}.menu .menu-item .icon[data-v-99aa0ac4]{margin-right:8px;font-size:18px}.mobile[data-v-d02011cb],#app{height:100%}.i-icon{display:inline-block;color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;vertical-align:-.125em;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.i-icon-spin svg{animation:i-icon-spin 1s infinite linear}.i-icon-rtl{transform:scaleX(-1)}@keyframes i-icon-spin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes i-icon-spin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.ProseMirror{position:relative}.ProseMirror{word-wrap:break-word;white-space:pre-wrap;white-space:break-spaces;-webkit-font-variant-ligatures:none;font-variant-ligatures:none;font-feature-settings:"liga" 0}.ProseMirror pre{white-space:pre-wrap}.ProseMirror li{position:relative}.ProseMirror-hideselection *::selection{background:transparent}.ProseMirror-hideselection *::-moz-selection{background:transparent}.ProseMirror-hideselection{caret-color:transparent}.ProseMirror [draggable][contenteditable=false]{-webkit-user-select:text;user-select:text}.ProseMirror-selectednode{outline:2px solid #8cf}li.ProseMirror-selectednode{outline:none}li.ProseMirror-selectednode:after{content:"";position:absolute;left:-32px;right:-2px;top:-2px;bottom:-2px;border:2px solid #8cf;pointer-events:none}img.ProseMirror-separator{display:inline!important;border:none!important;margin:0!important}/*! * animate.css - https://animate.style/ * Version - 4.1.1 * Licensed under the MIT license - http://opensource.org/licenses/MIT diff --git a/index.html b/index.html index 91c01b03..1fdb1988 100644 --- a/index.html +++ b/index.html @@ -45,8 +45,8 @@ } } - - + +