!function(){function t(t){return function(t){if(Array.isArray(t))return n(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return n(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return n(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,a=new Array(n);e1?p.translate([n[0]+" {0}",n[1]]):p.translate(t)};tinymce.tp$HtmlPanelFn=window.tp$HtmlPanelFn=function(t,n,e){g.buttonsStyle&&(g.buttonsStyle[n]=e),document.querySelector("#"+n+"_StyleID").innerHTML=t.nextElementSibling.innerHTML};var E={count:0},P=function(t,n){var e="";if(!t)return"";for(n=C(n);t.nodeName&&"#text"!==t.nodeName.toLowerCase();)e=t.style[n],t=t.firstChild;return e},I=function(t,n,e){e=e||t.selection.getSelectedBlocks(),s.each(e,(function(e){if(t.dom.getStyle(e,"text-indent")||n){var a="",o="";"remove"===n?(-parseInt(t.dom.getStyle(e,"text-indent"))==parseInt(t.dom.getStyle(e,"margin-left"))&&t.dom.setStyle(e,"margin-left",null),t.dom.setStyle(e,"text-indent",null)):(n=parseInt(n)||2,e&&e.firstChild&&(a=P(e,"font-size"),o=P(e,"letter-spacing"),a=a?(parseInt(a)+parseInt(o||0))*n+"px":(parseInt(o||0)+16)*n+"px"),n>0&&-parseInt(t.dom.getStyle(e,"text-indent"))==parseInt(t.dom.getStyle(e,"margin-left"))&&t.dom.setStyle(e,"margin-left",null),t.dom.setStyle(e,"text-indent",a||n+"em"),n<0&&t.dom.setStyle(e,"margin-left",a?a.replace(/^-/,""):-n+"em"))}}))},H=function(t,n,e,a){!t.tp$Style.mapping&&(t.tp$Style.mapping={}),t.tp$Style.mapping[""+n.getAttribute("data-id")]?y(t.tp$Style.mapping[""+n.getAttribute("data-id")],{styleTemplate:n.getAttribute("data-tp-style")||"default",quantity:n.children.length-1}):t.tp$Style.mapping[""+n.getAttribute("data-id")]={styleCustomTags:a.name,stylePath:"buttons"===a.name?"styleSheetList":"styleSheetLoadList",styleTemplate:n.getAttribute("data-style")||"default",quantity:n.children.length-1,specialStyle:{}}},A=function(t,n,i,s,d){var c=n.createElement("template"),p=document.createElement("style"),u=document.createElement("style");p.textContent="body{\n padding: 0;\n margin: 0;\n }\n :host {\n overflow: hidden;\n display: block; \n }",c.innerHTML=s.template.innerHTML;var h=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&a(t,n)}(b,t);var n,h,g,m=o(b);function b(){var t;return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,b),(t=m.call(this)).setAttribute("contenteditable",!1),t.setAttribute("data-mce-tp-component",d),t.attachShadow({mode:"open"}),t.tp$state="object"===l(s.state)?JSON.parse(JSON.stringify(s.state)):{},H(i,r(t),0,s),t.tpComponentDelete="function"==typeof s.tpComponentDelete?s.tpComponentDelete.bind(r(t)):function(){t.remove()},t.tpComponentCmd="object"===l(s.tpComponentCmdFn)?"{}"!==JSON.stringify(s.tpComponentCmdFn)?function(n,e){s.tpComponentCmdFn[n](r(t),e),H(i,r(t),0,s)}:function(n,e){f.customTags[d].tpComponentCmdFn[n](r(t),e),H(i,r(t),0,s)}:function(){console.log("无可用cmd")},u.id="tpComponentStyle_"+t.getAttribute("data-id"),"tabs"==d&&(u.textContent=s.styleSheetLoadList&&s.styleSheetLoadList[t.getAttribute("data-tp-style")||"default"]?s.styleSheetLoadList[t.getAttribute("data-tp-style")||"default"].replace(/.tp-tabs\s*\{/g,":host {").replace(/.tp-tabs_label\b\s/g,"::slotted(.tp-tabs_label) ").replace(/.tp-tabs_label:hover\b\s/g,"::slotted(.tp-tabs_label:hover) ").replace(/.tp-tabs_label.checked\b\s/g,"::slotted(.tp-tabs_label.checked) "):""),"collapse"==d&&(u.textContent=s.styleSheetLoadList&&s.styleSheetLoadList[t.getAttribute("data-tp-style")||"default"]?s.styleSheetLoadList[t.getAttribute("data-tp-style")||"default"].replace(/>/g," ").replace(/.tp-collapse\s*\{/g,":host {").replace(/label.tp-collapse_label\b\s/g,"::slotted(.tp-collapse_label) ").replace(/label.tp-collapse_label::/g,"::slotted(.tp-collapse_label)::").replace(/.tp-tabs_label:hover\b\s/g,"::slotted(.tp-tabs_label:hover) ").replace(/.tp-tabs_label.checked\b\s/g,"::slotted(.tp-tabs_label.checked) "):""),"buttons"==d&&(u.textContent=s.styleSheetList&&s.styleSheetList[t.getAttribute("data-tp-style")||"default"]?S(s.styleSheetList[t.getAttribute("data-tp-style")||"default"],t.getAttribute("data-tp-style")||"default").replace(/\[data-tp-style=(.*?)\]/g,"").replace(/>/g," ").replace(/.tp-buttons\s*\{/g,":host {").replace(/.tp-buttons:hover\s*\{/g,":host(:hover) {").replace(/.tp-buttons::before\s*\{/g,":host(.tp-buttons)::before {").replace(/.tp-buttons::after\s*\{/g,":host(.tp-buttons)::after {"):""),c.content.prepend(u),c.content.prepend(p),t.shadowRoot.appendChild(c.content.cloneNode(!0)),t}return n=b,g=[{key:"observedAttributes",get:function(){return["data-top-bg","data-mce-tp-component","data-value"]}},{key:"tp$Delete",value:function(){console.log(this)}}],(h=[{key:"connectedCallback",value:function(){L(s,"headerEditableFn")(this,s.isHeaderEditable,d,i),L(s,"contentEditableFn")(this,s.isContentEditable,d,i),L(s,"connectedCallback")(this.shadowRoot,this)}}])&&e(n.prototype,h),g&&e(n,g),Object.defineProperty(n,"prototype",{writable:!1}),b}(t.HTMLElement);try{t.customElements.define("tp-"+d,h)}catch(g){}},M=function(t){var n=t.getWin(),e=t.getDoc(),a=t.toolbar,o=t.baseURI.source;"object"===l(a)&&(a=a.jion(" ")),/tpIconlists/.test(a)&&c.send({url:o+"plugins/tpIconlists/tpIconlists.css",async:!1,dataType:"text",success:function(n){t.dom.addStyle(n)}}),function(t){t.formatter.register({alignleft:[{selector:"figure.image",collapsed:!1,classes:"align-left",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"left"},inherit:!1,preview:!1,defaultBlock:"div"},{selector:"img,table,audio,video,tp-buttons,tp-tabs",collapsed:!1,styles:{float:"left"},preview:"font-family font-size"}],aligncenter:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"center"},inherit:!1,preview:"font-family font-size",defaultBlock:"div"},{selector:"figure.image",collapsed:!1,classes:"align-center",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"img,audio,video",collapsed:!1,styles:{display:"block",marginLeft:"auto",marginRight:"auto"},preview:!1},{selector:"table,tp-buttons,tp-tabs",collapsed:!1,styles:{marginLeft:"auto",marginRight:"auto"},preview:"font-family font-size"}],alignright:[{selector:"figure.image",collapsed:!1,classes:"align-right",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"right"},inherit:!1,preview:"font-family font-size",defaultBlock:"div"},{selector:"img,table,audio,video,tp-buttons,tp-tabs",collapsed:!1,styles:{float:"right"},preview:"font-family font-size"}],afterParagraph:{selector:"p,ul,ol,dl,li,table",defaultBlock:"p",deep:!1,styles:{"margin-bottom":"%value"}},beforeParagraph:{selector:"p,ul,ol,dl,li,table",defaultBlock:"p",deep:!1,styles:{"margin-top":"%value"}},borderParagraph:{selector:"p,ul,ol,dl,li,table",defaultBlock:"p",deep:!1,styles:{"border-width":"%valueW","border-style":"%valueS","border-color":"%valueC"}},paddingParagraph:{selector:"p,ul,ol,dl,li,table",defaultBlock:"p",deep:!1,styles:{padding:"%value"}},tpParagraph:{selector:"p,ul,ol,dl,li,table",defaultBlock:"p",deep:!1,styles:{background:"%background","text-indent":"%indent"}},tpLetterspacing:{inline:"span",remove_similar:!0,styles:{"letter-spacing":"%value"}},tpLineheight:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table",styles:{"line-height":"%value"}}}),t.on("ExecCommand",(function(n){"FontSize"===n.command&&I(t)}))}(t),function(t){var n=function(n){return function(){return t.execCommand(n)}};t.addCommand("tpLetterspacing",(function(n,e){t.formatter.apply("tpLetterspacing",{value:e}),I(t)})),t.addCommand("tpLineheight",(function(n,e){t.formatter.apply("tpLineheight",{value:e})})),t.addCommand("tpIndent",(function(n,e){I(t,e||2)})),t.addCommand("mceTpAlignleft",(function(n,e){var a=t.dom.getParent(t.selection.getNode(),"tp-tabs,tp-buttons,tp-collapse");t.dom.setStyle(a,"float","left")})),t.addCommand("mceTpAlignright",(function(n,e){var a=t.dom.getParent(t.selection.getNode(),"tp-tabs,tp-buttons,tp-collapse");t.dom.setStyle(a,"float","right")})),t.addCommand("mceTpAligncenter",(function(n,e){var a=t.dom.getParent(t.selection.getNode(),"tp-tabs,tp-buttons,tp-collapse");t.dom.setStyle(a,"float",null),t.dom.setStyle(a,"margin-left","auto"),t.dom.setStyle(a,"margin-right","auto")})),t.ui.registry.addButton("tpalignleft",{tooltip:"Align left",onAction:n("mceTpAlignleft"),icon:"align-left"}),t.ui.registry.addButton("tpalignright",{tooltip:"Align right",onAction:n("mceTpAlignright"),icon:"align-right"}),t.ui.registry.addButton("tpaligncenter",{tooltip:"Align center",onAction:n("mceTpAligncenter"),icon:"align-center"})}(t);t.dom.addStyle(".mce-content-body [data-mce-tp-component][contenteditable=false][data-mce-selected] {\n outline: none;\n cursor: default;\n box-shadow: 0 0 0 2px #b4d7ff;\n position: relative;\n z-index:999;\n border-color: #B4D7FF;\n border-style: solid;\n }\n .mce-content-body .tp-partition[contentEditable=false],\n .mce-content-body .tp-partition[contentEditable=false]:focus,\n .mce-content-body .tp-partition[contentEditable=false]:hover{\n outline: none!important;\n box-shadow: none!important;\n }\n .mce-content-body tp-buttons .tp-component_inline>a{\n color: inherit;\n font:inherit;\n text-decoration: none;\n \n }\n .mce-content-body .tp-collapse .tp-collapse_label>p:first-child{\n display: inline-block;\n }\n .mce-content-body .tp-component_inline{display: table-cell; margin: 0 }\n .mce-content-body *[contentEditable=false] *[contentEditable=true]:focus {\n outline: none!important;\n }\n .mce-content-body tp-buttons{\n display: inline-block;\n vertical-align: middle;\n }\n .mce-content-body img{\n max-width: 100%;\n }\n .mce-content-body [data-mce-tp-component]{\n border: 1px dashed #bbb;\n }\n .mce-content-body *[contentEditable=false] *[contentEditable=true]:hover {\n outline: none!important;\n }"),t.tp$Style={},t.getTpStyle=function(n){return""};var i=t.tp$CustomTags||f.customTags;s.each(i,(function(a,o){A(n,e,t,a,o)})),t.parser.addAttributeFilter("data-tp-component",(function(n){n&&n.forEach((function(n){var e=n.attr("data-tp-component");i[e]&&L(i[e],"parserFn")(n,e,t)}))})),t.serializer.addAttributeFilter("data-mce-tp-component",(function(n){n&&n.forEach((function(n){var e=n.attr("data-mce-tp-component");!i[e]||L(i[e],"serializerFn")(n,e,t)}))})),t.setContent(t.getContent({source_view:!0}))},V=function(t,n,e,a,o){a?(!a.tp$CustomTags&&(a.tp$CustomTags=JSON.parse(JSON.stringify(f.customTags))),o?y(a.tp$CustomTags[t][n],e):a.tp$CustomTags[t][n]=e):o?y(f.customTags[t][n],e):f.customTags[t][n]=e},B={custom_elements:"",setCustomTags:V,createCustomTags:function(t,n,e){e?(!e.tp$CustomTags&&(e.tp$CustomTags=JSON.parse(JSON.stringify(f.customTags))),e.tp$CustomTags[t]=n):f.customTags[t]=n},setStyleSheetList:function(t,n,e,a){var o,i,r;V("buttons","styleSheetList",(o={},i=n,r={"tp-buttons":_("tp-buttons",e),"tp-buttons:hover":_("tp-buttons:hover",e),"tp-buttons::before":_("tp-buttons::before",e),"tp-buttons::after":_("tp-buttons::after",e)},i in o?Object.defineProperty(o,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):o[i]=r,o),a,!0)},createHtmlPanel:function(t,n,e){var a="";a=g.buttonsStyle&&g.buttonsStyle[n],!e&&(e=x(t.tp$CustomTags.buttons.styleSheetList)),a||(a=g.buttonsStyle&&(g.buttonsStyle[n]=e[0]));var o="",i="",r="";return e.forEach((function(e,s){e===a&&(i='').concat(T(e),"")),o+='
  • \n"),r+=S(t.tp$CustomTags.buttons.styleSheetList[e],e)})),'
    \n \n \n
    ').concat(i,'
    \n

    ').concat(p.translate("Select tmplate"),":

    \n \n
    \n ")}},F={name:"tabs",styleSheet:{selector:"default",styleSheetList:{default:{"tp-tabs":"","tp-tabs_top":"","tp-tabs_label.checked":" ","tp-tabs_main":" ","tp-tab_main.checked":" "}}},styleSheetLoadList:{},styleFn:function(){},state:{count:0},tpComponentDeleteFn:function(){console.log(this)},tpComponentMonitorCmd:function(){},tpComponentCmdFn:{tabAdd:function(t,n){var e=document.createElement("div");e.setAttribute("contenteditable",!1),e.setAttribute("class","tp-partition tp-tabs_label"),e.setAttribute("data-idx",t.tp$state.count);var a=document.createElement("p");a.setAttribute("class","tp-component_inline"),a.setAttribute("data-idx",t.tp$state.count),a.setAttribute("contenteditable",!0),a.innerHTML=n.title,e.appendChild(a),t.insertBefore(e,t.lastChild);var o=document.createElement("div");o.setAttribute("class","tp-tab_main"),o.setAttribute("style","overflow: hidden; max-height: 0; transition: all 0s"),o.innerHTML=n.content,t.lastChild.appendChild(o),t.tp$state.count++},tabDelete:function(t,n){t.children[--t.tp$state.count].remove(),t.lastChild.lastChild.remove()},delete:function(t,n){t.remove()},getStyle:function(t,n){},setStyle:function(t,n){console.log(t.querySelector(".tp-tabs_top")),t.setAttribute("data-top-style",n["tp-tabs_top"]),t.shadowRoot.querySelector(".tp-tabs_top").setAttribute("style",n["tp-tabs_top"])}},template:{innerHTML:'\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n '},connectedCallback:function(t,n){t.getElementById("headerID").addEventListener("click",(function(t){if((d=t.target).className&&-1!==d.className.indexOf("tp-partition tp-tabs_label")||d.parentNode&&(d.parentNode.className&&-1!==d.parentNode.className.indexOf("tp-partition tp-tabs_label")||d.parentNode.parentNode&&d.parentNode.parentNode.className&&-1!==d.parentNode.parentNode.className.indexOf("tp-partition tp-tabs_label"))){var e=t.target.getAttribute("data-idx")||t.target.parentNode.getAttribute("data-idx")||"0",a=n.querySelectorAll("div.tp-partition.tp-tabs_label"),o=n.querySelector("div.tp-partition.tp-tabs_label.checked");o&&o.setAttribute("class","tp-partition tp-tabs_label");var i=a[e];i&&i.setAttribute("class","tp-partition tp-tabs_label checked");var r=n.querySelectorAll("div.tp-tab_main"),s=n.querySelector("div.tp-tab_main[contenteditable=true]");s&&(s.setAttribute("contenteditable",!1)||(s.style.maxHeight="0px"));var l=r[e];l&&(l.setAttribute("contenteditable",!0)||(l.style.maxHeight="10000px"))}var d}))},isContentEditable:!0,contentEditableFn:function(t,n,e){if(t.lastChild&&t.lastChild.className==="tp-"+e+"_main"){var a=document.createElement("div");for(a.setAttribute("contenteditable",!1),a.setAttribute("class","tp-partition tp-tabs_main"),a.setAttribute("slot","content"),t.lastChild.firstChild&&(t.lastChild.firstChild.setAttribute("class","tp-tab_main"),t.lastChild.firstChild.setAttribute("style","overflow: hidden; max-height: 10000px; transition: all 0s"),n&&t.lastChild.firstChild.setAttribute("contenteditable",!0),a.setAttribute("style",t.lastChild.getAttribute("style")),a.appendChild(t.lastChild.firstChild));t.lastChild.firstChild;)t.lastChild.firstChild.setAttribute("class","tp-tab_main"),t.lastChild.firstChild.setAttribute("style","overflow: hidden; max-height: 0; transition: all 0s"),a.appendChild(t.lastChild.firstChild);t.removeChild(t.lastChild),t.appendChild(a)}},isHeaderEditable:!0,headerEditableFn:function(t,n,e){var a=t.children.length;t.getAttribute("data-id"),t.shadowRoot.querySelector("#headerID.tp-tabs_top").setAttribute("style",t.getAttribute("data-top-style")?t.getAttribute("data-top-style"):"");for(var o=a-2;o>=0;o--)t.tp$state.count++,t.children[o].setAttribute("contenteditable",!1),t.children[o].setAttribute("class","tp-partition tp-"+e+"_label"+(0===o?" checked":"")),t.children[o].setAttribute("data-idx",o),t.children[o].firstChild.setAttribute("class","tp-component_inline"),t.children[o].firstChild.setAttribute("data-idx",o),n&&t.children[o].firstChild.setAttribute("contenteditable",!0)},parserFn:function(t,n){for(t.attr({"data-tp-component":null,"data-mce-tp-component":n,"data-top-style":t.firstChild.attr("style")});"input"===t.firstChild.name;)t.firstChild.remove();for(var e=t.firstChild.firstChild;e&&"label"===e.name;){var a=e.next,o=new d("div",1);e.name="p",e.wrap(o),e=a}for(var i=t.lastChild.firstChild;i&&"label"===i.name;){var r=i.next.next;i.remove(),i=r}t.firstChild.unwrap(),t.type=1,t.name="tp-"+n},serializerFn:function(t,n){t.attr({"data-mce-tp-component":null,"data-tp-component":n,contenteditable:null,class:"tp-"+n});var e=new d("div",1);e.attr("class","tp-tabs_top"),e.attr("style",t.attr("data-top-style")),t.attr("data-top-style",null);for(var a=t.firstChild,o=[];a.attr("data-idx");){var i=a.next;a.firstChild.name="label",a.firstChild.attr({contenteditable:null,"data-idx":null,class:"tp-"+n+"_label",for:t.attr("data-id")+"tab"+a.attr("data-idx")}),o.push(u(a.firstChild)),e.append(a.firstChild),a.remove(),a=i}for(var r=t.lastChild.firstChild,s=0;r&&"tp-tab_main"===r.attr("class");){var l=r.next,c=new d("input",1);c.shortEnded=!0,c.attr({id:t.attr("data-id")+"tab"+s,type:"radio",name:t.attr("data-id")}),0==s&&c.attr("checked",""),t.append(c),r.attr({contenteditable:null,style:null,class:"tp-tab_main tp-tab_main_"+s}),o[s]&&(t.lastChild.insert(h(o[s]),r,!0),s++),r=l}t.append(e),t.firstChild.attr({contenteditable:null,class:"tp-tabs_main"}),t.append(t.firstChild),t.type=1,t.name="div"}},N={name:"buttons",template:{innerHTML:'\n
    \n
    \n \n
    \n
    \n '},styleSheetList:{default:{"tp-buttons":"\n\n display: inline-block;\n background: rgb(179, 70, 70);\n padding: 14px 25px;\n color: #333;\n border-radius: 8px;\n -webkit-transition: all .2s ease-in-out;\n transition: all .2s ease-in-out;\n border: 1px solid transparent;\n box-sizing: border-box;\n word-wrap: break-word;\n cursor: pointer;\n text-decoration: none;","tp-buttons:hover":"\n color: rgb(179, 70, 70) ;\n background: transparent;\n border-color: rgb(179, 70, 70) ;\n ","tp-buttons::before":" ","tp-buttons::after":" "}},isContentEditable:!0,connectedCallback:function(){},tpComponentCmdFn:{upData:function(t,n){t.shadowRoot.children[1].textContent=S(n.editor.tp$CustomTags.buttons.styleSheetList[n.styleName],n.styleName).replace(/\[data-tp-style=(.*?)\]/g,"").replace(/>/g," ").replace(/.tp-buttons\s*\{/g,":host {").replace(/.tp-buttons:hover\s*\{/g,":host(:hover) {").replace(/.tp-buttons::before\s*\{/g,":host(::before) {").replace(/.tp-buttons::after\s*\{/g,":host(::after) {")}},contentEditableFn:function(t,n,e,a){if(t.firstChild&&"A"===t.firstChild.tagName){var o=document.createElement("p");o.setAttribute("contenteditable",!0),o.setAttribute("class","tp-component_inline"),t.firstChild.innerHTML=""+t.firstChild.innerHTML+"",t.firstChild.setAttribute("href","javascript:;"),o.appendChild(t.firstChild),t.appendChild(o)}},isHeaderEditable:!0,parserFn:function(t,n,e){t.attr({"data-tp-component":null});var a=t.attr("style"),o={},i="";(i=m("margin",a))&&(o.margin=i),(i=m("padding",a))&&(o.padding=i),(i=m("border",a))&&(o.border=i),(i=m("background",a))&&(o.background=i),(i=m("border-radius",a))&&(o["border-radius"]=i),(i=m("border-width",a))&&(o["border-width"]=i),(i=m("border-style",a))&&(o["border-style"]=i),(i=m("border-color",a))&&(o["border-color"]=i);var r=new d("div",1);r.type=1,r.attr({"data-mce-tp-component":n,"data-tp-style":t.attr("data-tp-style")||"default",style:k(o)||null,"data-id":t.attr("data-id")}),t.attr("class")&&r.attr("class",t.attr("class")),!e.tp$Style.mapping&&(e.tp$Style.mapping={}),e.tp$Style.mapping[""+t.attr("data-id")]?y(e.tp$Style.mapping[""+t.attr("data-id")],{styleTemplate:t.attr("data-tp-style")||"default"}):e.tp$Style.mapping[""+t.attr("data-id")]={styleCustomTags:"buttons",stylePath:"styleSheetList",styleTemplate:t.attr("data-tp-style")||"default",specialStyle:{}},t.attr("style",k(y(w(t.attr("style"))||{},{margin:"",padding:"",background:"","border-style":"","border-color":"","border-width":"","border-radius":"",border:""}))||null),t.attr("data-id",null),t.attr("data-mce-style",null),t.wrap(r),r.name="tp-"+n},serializerFn:function(t,n){for(var e=t;"a"!==e.name&&"#text"!==e.firstChild.name;)e=e.firstChild;t.attr({"data-mce-tp-component":null,"data-tp-component":n,contenteditable:null,"data-tp-style":t.attr("data-tp-style")||"default",href:e&&e.attr("href")?e.attr("href"):null,style:e&&e.attr("style")?k(y(w(t.attr("style"))||{},w(e.attr("style"))||{})):t.attr("style"),target:e&&e.attr("target")?e.attr("target"):null,rel:e&&e.attr("rel")?e.attr("rel"):null,title:e&&e.attr("title")?e.attr("title"):null}),t.firstChild.unwrap(),e&&e.unwrap(),t.name="a"}},j={name:"collapse",template:{innerHTML:'\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n '},isContentEditable:!0,connectedCallback:function(){},tpComponentCmdFn:{upData:function(t,n){var e=n.style,a=m("padding",e),o=m("border",e),i=m("border-width",e);b(n.editor,t,"tp-collapse_main",(a?"padding: "+a+"!important; ":"")+(o?"border: "+o+"!important;":"")+(i?"border-width: "+i+"!important;":""))}},contentEditableFn:function(t,n,e,a){var o=document.createElement("div");if(o.setAttribute("contenteditable",!1),o.setAttribute("class","tp-partition tp-collapse_main"),n&&t.lastChild.setAttribute("contenteditable",!0),"tp-collapse_main"===t.lastChild.getAttribute("class")){var i=t.lastChild.getAttribute("style"),r=m("padding",i),s=m("border",i),l=m("border-width",i);b(a,t,"tp-collapse_main",(r?"padding: "+r+"!important; ":"")+(s?"border: "+s+"!important;":"")+(l?"border-width: "+l+"!important;":""))}o.appendChild(t.lastChild),t.appendChild(o)},isHeaderEditable:!0,headerEditableFn:function(t,n,e,a){if("true"!==t.firstChild.contenteditable){var o=document.createElement("div");for(n&&o.setAttribute("contenteditable",!0),o.setAttribute("slot","header"),o.setAttribute("class","tp-collapse_label"),o.setAttribute("style","min-height: 20px; "+t.getAttribute("data-top-style"));t.firstChild&&t.firstChild.className!=="tp-"+e+"_main";)o.appendChild(t.firstChild);t.insertBefore(o,t.firstChild)}},parserFn:function(t,n){t.attr({"data-tp-component":null,"data-mce-tp-component":n}),t.attr("data-id",t.firstChild.attr("id")),t.firstChild.remove(),t.lastChild.attr("class","tp-"+n+"_main"),t.type=1,t.name="tp-"+n},serializerFn:function(t,n){t.attr({"data-mce-tp-component":null,"data-tp-component":n,contenteditable:null,class:"tp-"+n}),t.firstChild.type=1,t.firstChild.name="label",t.firstChild.attr({contenteditable:null,for:t.attr("data-id")});var e=t.lastChild.attr("style");t.lastChild.unwrap(),t.lastChild.attr({contenteditable:null,class:"tp-"+n+"_main",style:e});var a=new d("input",1);a.shortEnded=!0,a.attr({id:t.attr("data-id"),type:"checkbox"}),t.insert(a,t.firstChild,!0),t.attr("data-id",null),t.type=1,t.name="div"}},O=function(t){return/select$/.test(t)},D={forecolor:!0,backcolor:!0,tpLetterspacing:!0,tpIconlists:!0,tpColumns:!0,table:!0},$={title:{file:{zh_CN:"文件",en_US:"File"},edit:{zh_CN:"编辑",en_US:"Edit"},view:{zh_CN:"查看",en_US:"View"},insert:{zh_CN:"插入",en_US:"Insert"},format:{zh_CN:"格式",en_US:"Format"},table:{zh_CN:"表格",en_US:"Table"},tools:{zh_CN:"工具",en_US:"Tools"},help:{zh_CN:"帮助",en_US:"Help"}},items:{code:"tools",spellchecker:"tools",spellcheckerlanguage:"tools",wordcount:"tools",image:"insert",link:"insert",media:"insert",hr:"insert",template:"insert",codesample:"insert",charmap:"insert",inserttable:"table",emoticons:"insert",pagebreak:"insert",nonbreaking:"insert",anchor:"insert",toc:"insert",insertdatetime:"insert",bold:"format",italic:"format",underline:"format",strikethrough:"format",blockquote:"format",subscript:"format",superscript:"format",removeformat:"format",formatselect:"format",fontselect:"format",fontsizes:"format",forecolor:"format",backcolor:"format",fontformats:"format",blockformats:"format",codeformat:"format",align:"format",table:"table",lineheight:"format",help:"help"}},R={file:!0,view:!0,edit:!0},U=function(t){var n=[];return t.split("|").forEach((function(t){var e=t.split(" "),a=[];e.forEach((function(t){t&&a.push({isSelect:O(t),name:t}),t&&$.items[t]&&(R[$.items[t]]=!0)})),a.length>0&&n.push(a)})),n},K=function(n){if(!document.querySelector("style#skt-tox-style")){var e=document.createElement("style");e.type="text/css",e.id="skt-tox-style";try{e.appendChild(document.createTextNode(".skt-tox-tinymce{\n\n border: 1px solid #ccc;\n border-radius: 0;\n box-shadow: none;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n font-family: -apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif;\n overflow: hidden;\n position: relative;\n visibility: inherit!important;\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n -webkit-tap-highlight-color: transparent;\n text-decoration: none;\n text-shadow: none;\n text-transform: none;\n vertical-align: initial;\n white-space: normal;\n height: 200px;\n }\n \n .skt-tox-editor-container{\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n overflow: hidden;\n }\n .skt-tox-editor-header{\n box-shadow: none;\n transition: box-shadow .5s;\n z-index: 1;\n }\n .skt-tox-anchorbar{\n display: flex;\n flex: 0 0 auto;\n border-top: 1px solid #ccc;\n }\n .skt-tox-tinymce .skt-tox-statusbar{\n align-items: center;\n background-color: #fff;\n border-top: 1px solid #ccc;\n color: rgba(34,47,62,.7);\n display: flex;\n flex: 0 0 auto;\n font-size: 12px;\n font-weight: 400;\n height: 18px;\n overflow: hidden;\n padding: 0 8px;\n position: relative;\n text-transform: uppercase;\n \n }\n .skt-tox-tinymce .skt-tox-toolbar,.skt-tox-tinymce .skt-tox-menubar{\n background:url(\"data:image/svg+xml;charset=utf8,%3Csvg height='39px' viewBox='0 0 40 39px' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='38px' width='100' height='1' fill='%23cccccc'/%3E%3C/svg%3E\") left 0 top 0 #fff;\n background-color: #fff;\n display: flex;\n flex: 0 0 auto;\n flex-shrink: 0;\n flex-wrap: wrap;\n padding: 0 0;\n \n }\n .skt-tox-mbtn{\n align-items: center;\n background: 0 0;\n border: 0;\n border-radius: 3px;\n box-shadow: none;\n color: #222f3e;\n display: flex;\n flex: 0 0 auto;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n height: 34px;\n justify-content: center;\n margin: 2px 0 3px 0;\n outline: 0;\n overflow: hidden;\n padding: 0 4px;\n text-transform: none;\n width: auto;\n }\n .skt-tox-mbtn__select-label {\n cursor: default;\n font-weight: 400;\n margin: 0 4px;\n }\n .skt-tox-tbtn.skt-tox-split-button{\n border: 0;\n border-radius: 3px;\n box-sizing: border-box;\n display: flex;\n width: 50px;\n margin: 2px 0 3px 0;\n overflow: hidden;\n }\n .skt-tox-split-button .skt-tox-tbtn__select-chevron{\n margin-left: 5px;\n \n }\n .skt-tox-toolbar__group{\n border-right:1px solid #ccc;\n align-items: center;\n display: flex;\n flex-wrap: wrap;\n margin: 0 0;\n padding: 0 4px 0 4px;\n }\n .skt-tox-toolbar__group:last-child {\n border-right: 0px;\n }\n .skt-tox-sidebar-wrap-box{\n display: flex;\n flex: 0 0 auto;\n flex-direction: column;\n flex-shrink: 0;\n height: 100%;\n overflow: hidden;\n position: relative;\n width: 100%;\n }\n .skt-tox-sidebar-wrap-box p{\n height: 16px;\n width: calc(100% - 40px);\n margin: 5px 20px;\n }\n .skt-tox-sidebar-wrap-box p:first-child{\n width: calc(100% - 74px)!important;\n margin-top: 20px;\n margin-left: 54px!important;\n }\n \n .skt-tox-sidebar-wrap-box p:nth-child(3n+2){\n width: 90%;\n margin-right:8%;\n }\n .skt-tox-sidebar-wrap-box p:nth-child(3n+3){\n width: calc(100% - 74px);\n margin-left: 54px\n }\n .skt-tox-sidebar-wrap-box p:nth-child(3n+1){\n width: 75%;\n margin-right:8%;\n }\n .skt-tox-sidebar-wrap-box p:last-child{\n width: 65%!important;\n margin-left: 20px;\n }\n .skt-tox-tbtn{\n align-items: center;\n background: 0 0;\n border: 0;\n border-radius: 3px;\n box-shadow: none;\n color: #222f3e;\n display: flex;\n flex: 0 0 auto;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n height: 34px;\n justify-content: center;\n margin: 2px 0 3px 0;\n outline: 0;\n overflow: hidden;\n padding: 0;\n text-transform: none;\n width: 34px;\n }\n .skt-tox-tbtn--select{\n margin: 2px 0 3px 0;\n padding: 0 4px;\n padding-right: 3px;\n width: auto;\n }\n .skt-tox-tbtn__select-label{ \n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n width: 7em;\n font-weight: 400;\n margin: 0 4px;\n }\n .skt-tox-tbtn__select-chevron{\n align-items: center;\n display: flex;\n justify-content: center;\n width: 10px;\n height: 14px;\n }\n .skt-tox-icon {\n display: inline-block;\n width: 24px;\n height: 24px;\n }\n \n @-webkit-keyframes skeleton-ani {\n 0% {\n left: -90%\n }\n \n to {\n left: 120%\n }\n }\n \n @keyframes skeleton-ani {\n 0% {\n left: -90%\n }\n \n to {\n left: 120%\n }\n }\n .skt{\n display: none;\n width: 100%;\n top:0;\n position: absolute;\n z-index: 99;\n background: #fff;\n }\n .skt.skt-loading{\n display: block;\n }\n .skt-loading .skeleton {\n position: relative;\n overflow: hidden;\n border: none !important;\n border-radius: 5px;\n background-color: rgba(0, 0, 0, 0) !important;\n background-image: none !important;\n pointer-events: none;\n }\n \n .skt-loading .skeleton:after {\n content: \"\";\n position: absolute;\n left: 0;\n top: 0;\n z-index: 9;\n width: 100%;\n height: 100%;\n background-color: #ebf1f8;\n display: block\n }\n \n .skt-loading .skeleton:not(.not-round):after {\n border-radius: 4px\n }\n .skt-loading .tox-tbtn__select-chevron{\n display: inline-block;\n width: 8px;\n height: 18px;\n }\n .skt-loading .tox-icon { display: inline-block; width: 24px; height: 24px;}\n .skt-loading .skeleton:not(.not-before):before {\n position: absolute;\n top: 0;\n width: 30%;\n height: 100%;\n content: \"\";\n background: -webkit-gradient(linear, left top, right top, color-stop(0, hsla(0, 0%, 100%, 0)), color-stop(50%, hsla(0, 0%, 100%, .3)), to(hsla(0, 0%, 100%, 0)));\n background: -o-linear-gradient(left, hsla(0, 0%, 100%, 0) 0, hsla(0, 0%, 100%, .3) 50%, hsla(0, 0%, 100%, 0) 100%);\n background: linear-gradient(90deg, hsla(0, 0%, 100%, 0) 0, hsla(0, 0%, 100%, .3) 50%, hsla(0, 0%, 100%, 0));\n -webkit-transform: skewX(-45deg);\n -ms-transform: skewX(-45deg);\n transform: skewX(-45deg);\n z-index: 99;\n -webkit-animation: skeleton-ani 1s ease infinite;\n animation: skeleton-ani 1s ease infinite;\n display: block\n }\n .skt-loading .skeleton.badge:after {\n background-color: #f8fafc\n }"))}catch(h){e.styleSheet.cssText=".skt-tox-tinymce{\n\n border: 1px solid #ccc;\n border-radius: 0;\n box-shadow: none;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n font-family: -apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif;\n overflow: hidden;\n position: relative;\n visibility: inherit!important;\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n -webkit-tap-highlight-color: transparent;\n text-decoration: none;\n text-shadow: none;\n text-transform: none;\n vertical-align: initial;\n white-space: normal;\n height: 200px;\n }\n \n .skt-tox-editor-container{\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n overflow: hidden;\n }\n .skt-tox-editor-header{\n box-shadow: none;\n transition: box-shadow .5s;\n z-index: 1;\n }\n .skt-tox-anchorbar{\n display: flex;\n flex: 0 0 auto;\n border-top: 1px solid #ccc;\n }\n .skt-tox-tinymce .skt-tox-statusbar{\n align-items: center;\n background-color: #fff;\n border-top: 1px solid #ccc;\n color: rgba(34,47,62,.7);\n display: flex;\n flex: 0 0 auto;\n font-size: 12px;\n font-weight: 400;\n height: 18px;\n overflow: hidden;\n padding: 0 8px;\n position: relative;\n text-transform: uppercase;\n \n }\n .skt-tox-tinymce .skt-tox-toolbar,.skt-tox-tinymce .skt-tox-menubar{\n background:url(\"data:image/svg+xml;charset=utf8,%3Csvg height='39px' viewBox='0 0 40 39px' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='38px' width='100' height='1' fill='%23cccccc'/%3E%3C/svg%3E\") left 0 top 0 #fff;\n background-color: #fff;\n display: flex;\n flex: 0 0 auto;\n flex-shrink: 0;\n flex-wrap: wrap;\n padding: 0 0;\n \n }\n .skt-tox-mbtn{\n align-items: center;\n background: 0 0;\n border: 0;\n border-radius: 3px;\n box-shadow: none;\n color: #222f3e;\n display: flex;\n flex: 0 0 auto;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n height: 34px;\n justify-content: center;\n margin: 2px 0 3px 0;\n outline: 0;\n overflow: hidden;\n padding: 0 4px;\n text-transform: none;\n width: auto;\n }\n .skt-tox-mbtn__select-label {\n cursor: default;\n font-weight: 400;\n margin: 0 4px;\n }\n .skt-tox-tbtn.skt-tox-split-button{\n border: 0;\n border-radius: 3px;\n box-sizing: border-box;\n display: flex;\n width: 50px;\n margin: 2px 0 3px 0;\n overflow: hidden;\n }\n .skt-tox-split-button .skt-tox-tbtn__select-chevron{\n margin-left: 5px;\n \n }\n .skt-tox-toolbar__group{\n border-right:1px solid #ccc;\n align-items: center;\n display: flex;\n flex-wrap: wrap;\n margin: 0 0;\n padding: 0 4px 0 4px;\n }\n .skt-tox-toolbar__group:last-child {\n border-right: 0px;\n }\n .skt-tox-sidebar-wrap-box{\n display: flex;\n flex: 0 0 auto;\n flex-direction: column;\n flex-shrink: 0;\n height: 100%;\n overflow: hidden;\n position: relative;\n width: 100%;\n }\n .skt-tox-sidebar-wrap-box p{\n height: 16px;\n width: calc(100% - 40px);\n margin: 5px 20px;\n }\n .skt-tox-sidebar-wrap-box p:first-child{\n width: calc(100% - 74px)!important;\n margin-top: 20px;\n margin-left: 54px!important;\n }\n \n .skt-tox-sidebar-wrap-box p:nth-child(3n+2){\n width: 90%;\n margin-right:8%;\n }\n .skt-tox-sidebar-wrap-box p:nth-child(3n+3){\n width: calc(100% - 74px);\n margin-left: 54px\n }\n .skt-tox-sidebar-wrap-box p:nth-child(3n+1){\n width: 75%;\n margin-right:8%;\n }\n .skt-tox-sidebar-wrap-box p:last-child{\n width: 65%!important;\n margin-left: 20px;\n }\n .skt-tox-tbtn{\n align-items: center;\n background: 0 0;\n border: 0;\n border-radius: 3px;\n box-shadow: none;\n color: #222f3e;\n display: flex;\n flex: 0 0 auto;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n height: 34px;\n justify-content: center;\n margin: 2px 0 3px 0;\n outline: 0;\n overflow: hidden;\n padding: 0;\n text-transform: none;\n width: 34px;\n }\n .skt-tox-tbtn--select{\n margin: 2px 0 3px 0;\n padding: 0 4px;\n padding-right: 3px;\n width: auto;\n }\n .skt-tox-tbtn__select-label{ \n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n width: 7em;\n font-weight: 400;\n margin: 0 4px;\n }\n .skt-tox-tbtn__select-chevron{\n align-items: center;\n display: flex;\n justify-content: center;\n width: 10px;\n height: 14px;\n }\n .skt-tox-icon {\n display: inline-block;\n width: 24px;\n height: 24px;\n }\n \n @-webkit-keyframes skeleton-ani {\n 0% {\n left: -90%\n }\n \n to {\n left: 120%\n }\n }\n \n @keyframes skeleton-ani {\n 0% {\n left: -90%\n }\n \n to {\n left: 120%\n }\n }\n .skt{\n display: none;\n width: 100%;\n top:0;\n position: absolute;\n z-index: 99;\n background: #fff;\n }\n .skt.skt-loading{\n display: block;\n }\n .skt-loading .skeleton {\n position: relative;\n overflow: hidden;\n border: none !important;\n border-radius: 5px;\n background-color: rgba(0, 0, 0, 0) !important;\n background-image: none !important;\n pointer-events: none;\n }\n \n .skt-loading .skeleton:after {\n content: \"\";\n position: absolute;\n left: 0;\n top: 0;\n z-index: 9;\n width: 100%;\n height: 100%;\n background-color: #ebf1f8;\n display: block\n }\n \n .skt-loading .skeleton:not(.not-round):after {\n border-radius: 4px\n }\n .skt-loading .tox-tbtn__select-chevron{\n display: inline-block;\n width: 8px;\n height: 18px;\n }\n .skt-loading .tox-icon { display: inline-block; width: 24px; height: 24px;}\n .skt-loading .skeleton:not(.not-before):before {\n position: absolute;\n top: 0;\n width: 30%;\n height: 100%;\n content: \"\";\n background: -webkit-gradient(linear, left top, right top, color-stop(0, hsla(0, 0%, 100%, 0)), color-stop(50%, hsla(0, 0%, 100%, .3)), to(hsla(0, 0%, 100%, 0)));\n background: -o-linear-gradient(left, hsla(0, 0%, 100%, 0) 0, hsla(0, 0%, 100%, .3) 50%, hsla(0, 0%, 100%, 0) 100%);\n background: linear-gradient(90deg, hsla(0, 0%, 100%, 0) 0, hsla(0, 0%, 100%, .3) 50%, hsla(0, 0%, 100%, 0));\n -webkit-transform: skewX(-45deg);\n -ms-transform: skewX(-45deg);\n transform: skewX(-45deg);\n z-index: 99;\n -webkit-animation: skeleton-ani 1s ease infinite;\n animation: skeleton-ani 1s ease infinite;\n display: block\n }\n .skt-loading .skeleton.badge:after {\n background-color: #f8fafc\n }"}document.getElementsByTagName("head")[0].appendChild(e)}if(!document.querySelector("style#skt-dark-tox-style")){var a=document.createElement("style");a.type="text/css",a.id="skt-dark-tox-style";try{a.appendChild(document.createTextNode("[data-isdark] .skt-tox-tinymce{\n\n border: 1px solid #000;\n border-radius: 0;\n box-shadow: none;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n font-family: -apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif;\n overflow: hidden;\n position: relative;\n visibility: inherit!important;\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n -webkit-tap-highlight-color: transparent;\n text-decoration: none;\n text-shadow: none;\n text-transform: none;\n vertical-align: initial;\n white-space: normal;\n height: 200px;\n }\n \n .skt-tox-editor-container{\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n overflow: hidden;\n }\n .skt-tox-editor-header{\n box-shadow: none;\n transition: box-shadow .5s;\n z-index: 1;\n }\n [data-isdark] .skt-tox-anchorbar{\n display: flex;\n flex: 0 0 auto;\n border-top: 1px solid #000;\n }\n [data-isdark] .skt-tox-tinymce .skt-tox-statusbar{\n align-items: center;\n background-color: #222f3e;\n border-top: 1px solid #000;\n color: rgba(34,47,62,.7);\n display: flex;\n flex: 0 0 auto;\n font-size: 12px;\n font-weight: 400;\n height: 18px;\n overflow: hidden;\n padding: 0 8px;\n position: relative;\n text-transform: uppercase;\n \n }\n [data-isdark] .skt-tox-tinymce .skt-tox-toolbar,[data-isdark] .skt-tox-tinymce .skt-tox-menubar{\n background:url(\"data:image/svg+xml;charset=utf8,%3Csvg height='39px' viewBox='0 0 40 39px' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='38px' width='100' height='1' fill='%23000000'/%3E%3C/svg%3E\") left 0 top 0 #222f3e;\n background-color: #222f3e;\n display: flex;\n flex: 0 0 auto;\n flex-shrink: 0;\n flex-wrap: wrap;\n padding: 0 0;\n \n }\n [data-isdark] .skt-tox-tinymce .skt-tox-mbtn{\n align-items: center;\n background: 0 0;\n border: 0;\n border-radius: 3px;\n box-shadow: none;\n color: #fff;\n display: flex;\n flex: 0 0 auto;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n height: 34px;\n justify-content: center;\n margin: 2px 0 3px 0;\n outline: 0;\n overflow: hidden;\n padding: 0 4px;\n text-transform: none;\n width: auto;\n }\n .skt-tox-mbtn__select-label {\n cursor: default;\n font-weight: 400;\n margin: 0 4px;\n }\n .skt-tox-tbtn.skt-tox-split-button{\n border: 0;\n border-radius: 3px;\n box-sizing: border-box;\n display: flex;\n width: 50px;\n margin: 2px 0 3px 0;\n overflow: hidden;\n }\n .skt-tox-split-button .skt-tox-tbtn__select-chevron{\n margin-left: 5px;\n \n }\n [data-isdark] .skt-tox-tinymce .skt-tox-toolbar__group{\n border-right:1px solid #000;\n align-items: center;\n display: flex;\n flex-wrap: wrap;\n margin: 0 0;\n padding: 0 4px 0 4px;\n }\n .skt-tox-toolbar__group:last-child {\n border-right: 0px;\n }\n .skt-tox-sidebar-wrap-box{\n display: flex;\n flex: 0 0 auto;\n flex-direction: column;\n flex-shrink: 0;\n height: 100%;\n overflow: hidden;\n position: relative;\n width: 100%;\n }\n .skt-tox-sidebar-wrap-box p{\n height: 16px;\n width: calc(100% - 40px);\n margin: 5px 20px;\n }\n .skt-tox-sidebar-wrap-box p:first-child{\n width: calc(100% - 74px)!important;\n margin-top: 20px;\n margin-left: 54px!important;\n }\n \n .skt-tox-sidebar-wrap-box p:nth-child(3n+2){\n width: 90%;\n margin-right:8%;\n }\n .skt-tox-sidebar-wrap-box p:nth-child(3n+3){\n width: calc(100% - 74px);\n margin-left: 54px\n }\n .skt-tox-sidebar-wrap-box p:nth-child(3n+1){\n width: 75%;\n margin-right:8%;\n }\n .skt-tox-sidebar-wrap-box p:last-child{\n width: 65%!important;\n margin-left: 20px;\n }\n [data-isdark] .skt-tox-tinymce .skt-tox-tbtn{\n align-items: center;\n background: 0 0;\n border: 0;\n border-radius: 3px;\n box-shadow: none;\n color: #fff;\n display: flex;\n flex: 0 0 auto;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n height: 34px;\n justify-content: center;\n margin: 2px 0 3px 0;\n outline: 0;\n overflow: hidden;\n padding: 0;\n text-transform: none;\n width: 34px;\n }\n .skt-tox-tbtn--select{\n margin: 2px 0 3px 0;\n padding: 0 4px;\n padding-right: 3px;\n width: auto;\n }\n .skt-tox-tbtn__select-label{ \n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n width: 7em;\n font-weight: 400;\n margin: 0 4px;\n }\n .skt-tox-tbtn__select-chevron{\n align-items: center;\n display: flex;\n justify-content: center;\n width: 10px;\n height: 14px;\n }\n .skt-tox-icon {\n display: inline-block;\n width: 24px;\n height: 24px;\n }\n \n @-webkit-keyframes skeleton-ani {\n 0% {\n left: -90%\n }\n \n to {\n left: 120%\n }\n }\n \n @keyframes skeleton-ani {\n 0% {\n left: -90%\n }\n \n to {\n left: 120%\n }\n }\n .skt[data-isdark]{\n display: none;\n width: 100%;\n top:0;\n position: absolute;\n z-index: 99;\n background: #222f3e\n }\n .skt.skt-loading{\n display: block;\n }\n .skt-loading .skeleton {\n position: relative;\n overflow: hidden;\n border: none !important;\n border-radius: 5px;\n background-color: rgba(0, 0, 0, 0) !important;\n background-image: none !important;\n pointer-events: none;\n }\n \n .skt-loading .skeleton:after {\n content: \"\";\n position: absolute;\n left: 0;\n top: 0;\n z-index: 9;\n width: 100%;\n height: 100%;\n background-color: #ebf1f8;\n display: block\n }\n \n .skt-loading .skeleton:not(.not-round):after {\n border-radius: 4px\n }\n .skt-loading .tox-tbtn__select-chevron{\n display: inline-block;\n width: 8px;\n height: 18px;\n }\n .skt-loading .tox-icon { display: inline-block; width: 24px; height: 24px;}\n .skt-loading .skeleton:not(.not-before):before {\n position: absolute;\n top: 0;\n width: 30%;\n height: 100%;\n content: \"\";\n background: -webkit-gradient(linear, left top, right top, color-stop(0, hsla(0, 0%, 100%, 0)), color-stop(50%, hsla(0, 0%, 100%, .3)), to(hsla(0, 0%, 100%, 0)));\n background: -o-linear-gradient(left, hsla(0, 0%, 100%, 0) 0, hsla(0, 0%, 100%, .3) 50%, hsla(0, 0%, 100%, 0) 100%);\n background: linear-gradient(90deg, hsla(0, 0%, 100%, 0) 0, hsla(0, 0%, 100%, .3) 50%, hsla(0, 0%, 100%, 0));\n -webkit-transform: skewX(-45deg);\n -ms-transform: skewX(-45deg);\n transform: skewX(-45deg);\n z-index: 99;\n -webkit-animation: skeleton-ani 1s ease infinite;\n animation: skeleton-ani 1s ease infinite;\n display: block\n }\n .skt-loading .skeleton.badge:after {\n background-color: #f8fafc\n }"))}catch(h){a.styleSheet.cssText="[data-isdark] .skt-tox-tinymce{\n\n border: 1px solid #000;\n border-radius: 0;\n box-shadow: none;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n font-family: -apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif;\n overflow: hidden;\n position: relative;\n visibility: inherit!important;\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n -webkit-tap-highlight-color: transparent;\n text-decoration: none;\n text-shadow: none;\n text-transform: none;\n vertical-align: initial;\n white-space: normal;\n height: 200px;\n }\n \n .skt-tox-editor-container{\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n overflow: hidden;\n }\n .skt-tox-editor-header{\n box-shadow: none;\n transition: box-shadow .5s;\n z-index: 1;\n }\n [data-isdark] .skt-tox-anchorbar{\n display: flex;\n flex: 0 0 auto;\n border-top: 1px solid #000;\n }\n [data-isdark] .skt-tox-tinymce .skt-tox-statusbar{\n align-items: center;\n background-color: #222f3e;\n border-top: 1px solid #000;\n color: rgba(34,47,62,.7);\n display: flex;\n flex: 0 0 auto;\n font-size: 12px;\n font-weight: 400;\n height: 18px;\n overflow: hidden;\n padding: 0 8px;\n position: relative;\n text-transform: uppercase;\n \n }\n [data-isdark] .skt-tox-tinymce .skt-tox-toolbar,[data-isdark] .skt-tox-tinymce .skt-tox-menubar{\n background:url(\"data:image/svg+xml;charset=utf8,%3Csvg height='39px' viewBox='0 0 40 39px' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='38px' width='100' height='1' fill='%23000000'/%3E%3C/svg%3E\") left 0 top 0 #222f3e;\n background-color: #222f3e;\n display: flex;\n flex: 0 0 auto;\n flex-shrink: 0;\n flex-wrap: wrap;\n padding: 0 0;\n \n }\n [data-isdark] .skt-tox-tinymce .skt-tox-mbtn{\n align-items: center;\n background: 0 0;\n border: 0;\n border-radius: 3px;\n box-shadow: none;\n color: #fff;\n display: flex;\n flex: 0 0 auto;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n height: 34px;\n justify-content: center;\n margin: 2px 0 3px 0;\n outline: 0;\n overflow: hidden;\n padding: 0 4px;\n text-transform: none;\n width: auto;\n }\n .skt-tox-mbtn__select-label {\n cursor: default;\n font-weight: 400;\n margin: 0 4px;\n }\n .skt-tox-tbtn.skt-tox-split-button{\n border: 0;\n border-radius: 3px;\n box-sizing: border-box;\n display: flex;\n width: 50px;\n margin: 2px 0 3px 0;\n overflow: hidden;\n }\n .skt-tox-split-button .skt-tox-tbtn__select-chevron{\n margin-left: 5px;\n \n }\n [data-isdark] .skt-tox-tinymce .skt-tox-toolbar__group{\n border-right:1px solid #000;\n align-items: center;\n display: flex;\n flex-wrap: wrap;\n margin: 0 0;\n padding: 0 4px 0 4px;\n }\n .skt-tox-toolbar__group:last-child {\n border-right: 0px;\n }\n .skt-tox-sidebar-wrap-box{\n display: flex;\n flex: 0 0 auto;\n flex-direction: column;\n flex-shrink: 0;\n height: 100%;\n overflow: hidden;\n position: relative;\n width: 100%;\n }\n .skt-tox-sidebar-wrap-box p{\n height: 16px;\n width: calc(100% - 40px);\n margin: 5px 20px;\n }\n .skt-tox-sidebar-wrap-box p:first-child{\n width: calc(100% - 74px)!important;\n margin-top: 20px;\n margin-left: 54px!important;\n }\n \n .skt-tox-sidebar-wrap-box p:nth-child(3n+2){\n width: 90%;\n margin-right:8%;\n }\n .skt-tox-sidebar-wrap-box p:nth-child(3n+3){\n width: calc(100% - 74px);\n margin-left: 54px\n }\n .skt-tox-sidebar-wrap-box p:nth-child(3n+1){\n width: 75%;\n margin-right:8%;\n }\n .skt-tox-sidebar-wrap-box p:last-child{\n width: 65%!important;\n margin-left: 20px;\n }\n [data-isdark] .skt-tox-tinymce .skt-tox-tbtn{\n align-items: center;\n background: 0 0;\n border: 0;\n border-radius: 3px;\n box-shadow: none;\n color: #fff;\n display: flex;\n flex: 0 0 auto;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n height: 34px;\n justify-content: center;\n margin: 2px 0 3px 0;\n outline: 0;\n overflow: hidden;\n padding: 0;\n text-transform: none;\n width: 34px;\n }\n .skt-tox-tbtn--select{\n margin: 2px 0 3px 0;\n padding: 0 4px;\n padding-right: 3px;\n width: auto;\n }\n .skt-tox-tbtn__select-label{ \n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n width: 7em;\n font-weight: 400;\n margin: 0 4px;\n }\n .skt-tox-tbtn__select-chevron{\n align-items: center;\n display: flex;\n justify-content: center;\n width: 10px;\n height: 14px;\n }\n .skt-tox-icon {\n display: inline-block;\n width: 24px;\n height: 24px;\n }\n \n @-webkit-keyframes skeleton-ani {\n 0% {\n left: -90%\n }\n \n to {\n left: 120%\n }\n }\n \n @keyframes skeleton-ani {\n 0% {\n left: -90%\n }\n \n to {\n left: 120%\n }\n }\n .skt[data-isdark]{\n display: none;\n width: 100%;\n top:0;\n position: absolute;\n z-index: 99;\n background: #222f3e\n }\n .skt.skt-loading{\n display: block;\n }\n .skt-loading .skeleton {\n position: relative;\n overflow: hidden;\n border: none !important;\n border-radius: 5px;\n background-color: rgba(0, 0, 0, 0) !important;\n background-image: none !important;\n pointer-events: none;\n }\n \n .skt-loading .skeleton:after {\n content: \"\";\n position: absolute;\n left: 0;\n top: 0;\n z-index: 9;\n width: 100%;\n height: 100%;\n background-color: #ebf1f8;\n display: block\n }\n \n .skt-loading .skeleton:not(.not-round):after {\n border-radius: 4px\n }\n .skt-loading .tox-tbtn__select-chevron{\n display: inline-block;\n width: 8px;\n height: 18px;\n }\n .skt-loading .tox-icon { display: inline-block; width: 24px; height: 24px;}\n .skt-loading .skeleton:not(.not-before):before {\n position: absolute;\n top: 0;\n width: 30%;\n height: 100%;\n content: \"\";\n background: -webkit-gradient(linear, left top, right top, color-stop(0, hsla(0, 0%, 100%, 0)), color-stop(50%, hsla(0, 0%, 100%, .3)), to(hsla(0, 0%, 100%, 0)));\n background: -o-linear-gradient(left, hsla(0, 0%, 100%, 0) 0, hsla(0, 0%, 100%, .3) 50%, hsla(0, 0%, 100%, 0) 100%);\n background: linear-gradient(90deg, hsla(0, 0%, 100%, 0) 0, hsla(0, 0%, 100%, .3) 50%, hsla(0, 0%, 100%, 0));\n -webkit-transform: skewX(-45deg);\n -ms-transform: skewX(-45deg);\n transform: skewX(-45deg);\n z-index: 99;\n -webkit-animation: skeleton-ani 1s ease infinite;\n animation: skeleton-ani 1s ease infinite;\n display: block\n }\n .skt-loading .skeleton.badge:after {\n background-color: #f8fafc\n }"}document.getElementsByTagName("head")[0].appendChild(a)}var o=[];"string"==typeof n.toolbar?o=U(n.toolbar):Array.isArray(n.toolbar)&&n.toolbar.forEach((function(n){var e;(e=o).push.apply(e,t(U(n)))}));var i=[];if(!1===n.menubar);else if("string"==typeof n.menubar)i=function(t){var n=[];return t.split("|").forEach((function(t){var e=t.split(" "),a=[];e.forEach((function(t){t&&a.push({isSelect:O(t),name:t})})),n.push(a)})),n}(n.menubar);else for(var r in $.title)R[r]&&i.push($.title[r][n.language||"en_US"]);for(var s=n.min_height||n.height||200,l=[],d=s-150,c=0;c\n
    \n
    \n
    \n ').concat((n=t.menubar,e="",n.forEach((function(t){"object"===l(t)?t.forEach((function(t){e+='\n"})):e+='\n"})),e),' \n
    \n
    \n
    \n ').concat(function(t){var n="";return t.forEach((function(t){n+='
    \n',t.forEach((function(t){n+='\n"})),n+="
    \n"})),n}(t.toolbar),'\n
    \n
    \n
    \n
    \n
    \n\n

     

    \n ').concat(function(t){var n="";return t.forEach((function(t){n+='

    \n'})),n}(t.placeholderList),'\n

    \n
    \n
    \n
    \n
    \n PP\n
    \n ').concat(t.branding?'Powered by Five ':"","\n
    \n");var n,e};f.customTags[F.name]=F,f.customTags[N.name]=N,f.customTags[j.name]=j;var q=function(t){t.tp$OutputStyle="";var n=2,e="",a="",o="",i="",r={},s={},l={};t.tp$Style&&t.tp$Style.mapping&&(!t.tp$CustomTags&&(t.tp$CustomTags=JSON.parse(JSON.stringify(f.customTags))),x(t.tp$Style.mapping).forEach((function(d){var c=t.tp$Style.mapping[d];"tabs"===c.styleCustomTags&&(r[c.styleTemplate]||(e=t.tp$CustomTags[c.styleCustomTags][c.stylePath][c.styleTemplate],r[c.styleTemplate]=!0),n input[id="'+d+'"]:checked + .tp-collapse_label + .tp-collapse_main'}):""),"buttons"!==c.styleCustomTags||l[c.styleTemplate]||(a+=S(t.tp$CustomTags[c.styleCustomTags][c.stylePath][c.styleTemplate],c.styleTemplate),l[c.styleTemplate]=!0)})));var d="",c="";e&&(c=(d=(e=e.replace(/.tp-tabs\s*{/g,"div.tp-tabs[data-id] {").replace(/\n.tp-tabs\s/g,"\n.tp-tabs[data-id] ")+".tp-tabs[data-id] > input { display: none;} \n .tp-tabs .tp-tabs_main .tp-tab_main { overflow: hidden;max-height: 0px;}").match(/.tp-tabs_label.checked\s*{\n([\s\S]+)\n}/)[1])?function(t,n,e){for(var a="\n",o=0;o input:nth-child(").concat(o+1,"):checked ~ .tp-").concat(t,"_top > .tp-").concat(t,"_label:nth-child(").concat(o+1,"){").concat(n,"}\n\n .tp-").concat(t," > input:nth-child(").concat(o+1,"):checked ~ .tp-").concat(t,"_main .tp-tab_main_").concat(o,"{ max-height: 10000px; }\n\n ");return a}("tabs",d,n):""),t.tp$OutputStyle=(a?"@font-face {\n font-family: \"iconfont\"; /* Project id 2627438 */\n src: url('//at.alicdn.com/t/font_2627438_tl87y8epxj.woff2?t=1630480852428') format('woff2'),\n url('//at.alicdn.com/t/font_2627438_tl87y8epxj.woff?t=1630480852428') format('woff'),\n url('//at.alicdn.com/t/font_2627438_tl87y8epxj.ttf?t=1630480852428') format('truetype');\n}":"")+a+o+i+e+c},G={iframeLayout:'\n \n
    \n
    \n \n \n \n \n \n
    \n \n \n \n \n \n \n
    \n \n \n \n \n \n
    \n \n X\n \n
    \n
    \n
    \n
    \n
    \n