diff --git a/libraries/tinymce/CHANGELOG.md b/libraries/tinymce/CHANGELOG.md index 1332166..44a0464 100644 --- a/libraries/tinymce/CHANGELOG.md +++ b/libraries/tinymce/CHANGELOG.md @@ -5,6 +5,26 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html), and is generated by [Changie](https://github.com/miniscruff/changie). +## 8.10.2 - 2026-11-11 + +### Added +- New `getFullySelectedBlocks` function added to `tinymce.selection` which returns the blocks fully covered by the selection. #TINYMCE-14939 + +### Fixed +- A new line inside an indented TD prevented the `Decrease Indent` of the content. #TINYMCE-8693 +- Image and table resize handles are now hidden from screen readers with `aria-hidden="true"`. #TINYMCE-14927 +- Following an anchor link to a target inside a collapsed `details` element, such as a closed accordion, now expands it, as browsers do when navigating to an in-page link. #TINYMCE-14737 +- Underline applied around subscript or superscript text was drawn at the baseline of the surrounding text instead of under the subscript or superscript text. #TINYMCE-15001 +- Node positioned context toolbars repositioned above the editor when the node width was less than the toolbar. #TINYMCE-13900 +- The image dialog got stuck on "Uploading image" when an empty or unreadable file was selected on the Upload tab. An error message is now shown and the dialog can be used again. #TINYMCE-7202 +- Leaving a list with Enter copied the list item's styles onto the new paragraph. #TINYMCE-13035 +- Long item text in dialog listboxes overflowed the dialog. #TINYMCE-14261 + +## 8.10.1 - 2026-10-28 + +### Fixed +- The `editor.insertContent` API removed inline formatting when the selection covered the entire block content and the content was wrapped in an inline format element. #TINYMCE-11317 + ## 8.10.0 - 2026-10-14 ### Added diff --git a/libraries/tinymce/js/tinymce/models/dom/model.min.js b/libraries/tinymce/js/tinymce/models/dom/model.min.js index 0f7ec12..6dd89d0 100644 --- a/libraries/tinymce/js/tinymce/models/dom/model.min.js +++ b/libraries/tinymce/js/tinymce/models/dom/model.min.js @@ -1 +1 @@ -!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.ModelManager");const t=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(o=n=e,(r=String).prototype.isPrototypeOf(o)||n.constructor?.name===r.name)?"string":t;var o,n,r})(t)===e,o=e=>t=>typeof t===e,n=e=>t=>e===t,r=t("string"),s=t("object"),l=t("array"),a=n(null),c=o("boolean"),i=n(void 0),m=e=>!(e=>null==e)(e),d=o("function"),u=o("number"),f=()=>{},g=e=>()=>e,h=e=>e,p=(e,t)=>e===t;function b(e,...t){return(...o)=>{const n=t.concat(o);return e.apply(null,n)}}const w=e=>t=>!e(t),v=e=>e(),y=g(!1),x=g(!0);class C{tag;value;static singletonNone=new C(!1);constructor(e,t){this.tag=e,this.value=t}static some(e){return new C(!0,e)}static none(){return C.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?C.some(e(this.value)):C.none()}bind(e){return this.tag?e(this.value):C.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:C.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(e??"Called getOrDie on None")}static from(e){return m(e)?C.some(e):C.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}const T=Array.prototype.slice,S=Array.prototype.indexOf,R=Array.prototype.push,D=(e,t)=>{return o=e,n=t,S.call(o,n)>-1;var o,n},O=(e,t)=>{for(let o=0,n=e.length;o{const o=[];for(let n=0;n{const o=e.length,n=new Array(o);for(let r=0;r{for(let o=0,n=e.length;o{const o=[],n=[];for(let r=0,s=e.length;r{const o=[];for(let n=0,r=e.length;n(((e,t)=>{for(let o=e.length-1;o>=0;o--)t(e[o],o)})(e,(e,n)=>{o=t(o,e,n)}),o),A=(e,t,o)=>(_(e,(e,n)=>{o=t(o,e,n)}),o),L=(e,t)=>((e,t,o)=>{for(let n=0,r=e.length;n{for(let o=0,n=e.length;o{const t=[];for(let o=0,n=e.length;oW(E(e,t)),P=(e,t)=>{for(let o=0,n=e.length;o{const o={};for(let n=0,r=e.length;nt>=0&&tF(e,0),$=e=>F(e,e.length-1),V=(e,t)=>{for(let o=0;o{const o=q(e);for(let n=0,r=o.length;nY(e,(e,o)=>({k:o,v:t(e,o)})),Y=(e,t)=>{const o={};return G(e,(e,n)=>{const r=t(e,n);o[r.k]=r.v}),o},J=(e,t)=>{const o=[];return G(e,(e,n)=>{o.push(t(e,n))}),o},Q=e=>J(e,h),X=(e,t)=>U.call(e,t),Z=e=>{if(!l(e))throw new Error("cases must be an array");if(0===e.length)throw new Error("there must be at least one case");const t=[],o={};return _(e,(n,r)=>{const s=q(n);if(1!==s.length)throw new Error("one and only one name per case");const a=s[0],c=n[a];if(void 0!==o[a])throw new Error("duplicate key detected:"+a);if("cata"===a)throw new Error("cannot have a case named cata (sorry)");if(!l(c))throw new Error("case arguments must be an array");t.push(a),o[a]=(...o)=>{const n=o.length;if(n!==c.length)throw new Error("Wrong number of arguments to case "+a+". Expected "+c.length+" ("+c+"), got "+n);return{fold:(...t)=>{if(t.length!==e.length)throw new Error("Wrong number of arguments to fold. Expected "+e.length+", got "+t.length);return t[r].apply(null,o)},match:e=>{const n=q(e);if(t.length!==n.length)throw new Error("Wrong number of arguments to match. Expected: "+t.join(",")+"\nActual: "+n.join(","));if(!P(t,e=>D(n,e)))throw new Error("Not all branches were specified when using match. Specified: "+n.join(", ")+"\nRequired: "+t.join(", "));return e[a].apply(null,o)},log:e=>{console.log(e,{constructors:t,constructor:a,params:o})}}}}),o},ee=e=>{let t=e;return{get:()=>t,set:e=>{t=e}}},te=e=>e.slice(0).sort(),oe=(e,t)=>{const o=B(t,t=>!D(e,t));o.length>0&&(e=>{throw new Error("Unsupported keys for object: "+te(e).join(", "))})(o)},ne=e=>((e,t)=>((e,t,o)=>{if(0===t.length)throw new Error("You must specify at least one required field.");return((e,t)=>{if(!l(t))throw new Error("The "+e+" fields must be an array. Was: "+t+".");_(t,t=>{if(!r(t))throw new Error("The value "+t+" in the "+e+" fields was not a string.")})})("required",t),(e=>{const t=te(e);L(t,(e,o)=>o{throw new Error("The field: "+e+" occurs more than once in the combined fields: ["+t.join(", ")+"].")})})(t),n=>{const r=q(n);P(t,e=>D(r,e))||((e,t)=>{throw new Error("All required keys ("+te(e).join(", ")+") were not specified. Specified keys were: "+te(t).join(", ")+".")})(t,r),e(t,r);const s=B(t,e=>!o.validate(n[e],e));return s.length>0&&((e,t)=>{throw new Error("All values need to be of type: "+t+". Keys ("+te(e).join(", ")+") were not.")})(s,o.label),n}})(e,t,{validate:d,label:"function"}))(oe,e),re=e=>{const t=t=>t(e),o=g(e),n=()=>r,r={tag:!0,inner:e,fold:(t,o)=>o(e),isValue:x,isError:y,map:t=>le.value(t(e)),mapError:n,bind:t,exists:t,forall:t,getOr:o,or:n,getOrThunk:o,orThunk:n,getOrDie:o,each:t=>{t(e)},toOptional:()=>C.some(e)};return r},se=e=>{const t=()=>o,o={tag:!1,inner:e,fold:(t,o)=>t(e),isValue:y,isError:x,map:t,mapError:t=>le.error(t(e)),bind:t,exists:y,forall:x,getOr:h,or:h,getOrThunk:v,orThunk:v,getOrDie:(n=String(e),()=>{throw new Error(n)}),each:f,toOptional:C.none};var n;return o},le={value:re,error:se,fromOption:(e,t)=>e.fold(()=>se(t),re)},ae="undefined"!=typeof window?window:Function("return this;")(),ce=e=>{const t=e.replace(/\./g,"-");return{resolve:e=>t+"-"+e}},ie=(e,t,o=p)=>e.exists(e=>o(e,t)),me=e=>{const t=[],o=e=>{t.push(e)};for(let t=0;te?C.some(t):C.none(),ue=(e,t)=>((e,t)=>{let o=null!=t?t:ae;for(let t=0;t{const e=(e=>{const t=ee(C.none()),o=()=>t.get().each(e);return{clear:()=>{o(),t.set(C.none())},isSet:()=>t.get().isSome(),get:()=>t.get(),set:e=>{o(),t.set(C.some(e))}}})(f);return{...e,on:t=>e.get().each(t)}},ge=(e,t,o)=>""===t||e.length>=t.length&&e.substr(o,o+t.length)===t,he=(e,t,o=0,n)=>{const r=e.indexOf(t,o);return-1!==r&&(!!i(n)||r+t.length<=n)},pe=(e,t)=>ge(e,t,0),be=(e,t)=>ge(e,t,e.length-t.length),we=(e=>t=>t.replace(e,""))(/^\s+|\s+$/g),ve=e=>e.length>0,ye=e=>{let t,o=!1;return(...n)=>(o||(o=!0,t=e.apply(null,n)),t)},xe=["tfoot","thead","tbody","colgroup"],Ce=(e,t,o)=>({element:e,rowspan:t,colspan:o}),Te=(e,t,o)=>({element:e,cells:t,section:o}),Se=(e,t,o)=>({element:e,isNew:t,isLocked:o}),Re=(e,t,o,n)=>({element:e,cells:t,section:o,isNew:n}),De=(e,t,o)=>{const n=e.cells,r=n.slice(0,t),s=n.slice(t),l=r.concat(o).concat(s);return Ee(e,l)},Oe=(e,t,o)=>De(e,t,[o]),ke=(e,t,o)=>{e.cells[t]=o},Ee=(e,t)=>Re(e.element,t,e.section,e.isNew),_e=(e,t)=>e.cells[t],Ne=(e,t)=>_e(e,t).element,Be=e=>e.cells.length,ze=e=>{const t=N(e,e=>"colgroup"===e.section);return{rows:t.fail,cols:t.pass}},Ae=(e,t,o)=>{const n=E(e.cells,o);return Re(t(e.element),n,e.section,!0)},Le=e=>{if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},Me={fromHtml:(e,t)=>{const o=(t||document).createElement("div");if(o.innerHTML=e,!o.hasChildNodes()||o.childNodes.length>1){const t="HTML does not have a single root node";throw console.error(t,e),new Error(t)}return Le(o.childNodes[0])},fromTag:(e,t)=>{const o=(t||document).createElement(e);return Le(o)},fromText:(e,t)=>{const o=(t||document).createTextNode(e);return Le(o)},fromDom:Le,fromPoint:(e,t,o)=>C.from(e.dom.elementFromPoint(t,o)).map(Le)},We=(e,t)=>{const o=e.document.createRange();return o.selectNode(t.dom),o},je=(e,t)=>{const o=e.document.createRange();return Pe(o,t),o},Pe=(e,t)=>e.selectNodeContents(t.dom),Ie=(e,t,o)=>{const n=e.document.createRange();var r;return r=n,t.fold(e=>{r.setStartBefore(e.dom)},(e,t)=>{r.setStart(e.dom,t)},e=>{r.setStartAfter(e.dom)}),((e,t)=>{t.fold(t=>{e.setEndBefore(t.dom)},(t,o)=>{e.setEnd(t.dom,o)},t=>{e.setEndAfter(t.dom)})})(n,o),n},Fe=(e,t,o,n,r)=>{const s=e.document.createRange();return s.setStart(t.dom,o),s.setEnd(n.dom,r),s},He=e=>({left:e.left,top:e.top,right:e.right,bottom:e.bottom,width:e.width,height:e.height}),$e=Z([{ltr:["start","soffset","finish","foffset"]},{rtl:["start","soffset","finish","foffset"]}]),Ve=(e,t,o)=>t(Me.fromDom(o.startContainer),o.startOffset,Me.fromDom(o.endContainer),o.endOffset),qe=(e,t)=>{const o=((e,t)=>t.match({domRange:e=>({ltr:g(e),rtl:C.none}),relative:(t,o)=>({ltr:ye(()=>Ie(e,t,o)),rtl:ye(()=>C.some(Ie(e,o,t)))}),exact:(t,o,n,r)=>({ltr:ye(()=>Fe(e,t,o,n,r)),rtl:ye(()=>C.some(Fe(e,n,r,t,o)))})}))(e,t);return((e,t)=>{const o=t.ltr();return o.collapsed?t.rtl().filter(e=>!1===e.collapsed).map(e=>$e.rtl(Me.fromDom(e.endContainer),e.endOffset,Me.fromDom(e.startContainer),e.startOffset)).getOrThunk(()=>Ve(0,$e.ltr,o)):Ve(0,$e.ltr,o)})(0,o)},Ue=(e,t)=>qe(e,t).match({ltr:(t,o,n,r)=>{const s=e.document.createRange();return s.setStart(t.dom,o),s.setEnd(n.dom,r),s},rtl:(t,o,n,r)=>{const s=e.document.createRange();return s.setStart(n.dom,r),s.setEnd(t.dom,o),s}});$e.ltr,$e.rtl;const Ge=(e,t)=>{const o=e.dom;if(1!==o.nodeType)return!1;{const e=o;if(void 0!==e.matches)return e.matches(t);if(void 0!==e.msMatchesSelector)return e.msMatchesSelector(t);if(void 0!==e.webkitMatchesSelector)return e.webkitMatchesSelector(t);if(void 0!==e.mozMatchesSelector)return e.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")}},Ke=e=>1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType||0===e.childElementCount,Ye=(e,t)=>{const o=void 0===t?document:t.dom;return Ke(o)?C.none():C.from(o.querySelector(e)).map(Me.fromDom)},Je=(e,t)=>e.dom===t.dom,Qe=(e,t)=>{const o=e.dom,n=t.dom;return o!==n&&o.contains(n)},Xe=Ge,Ze=()=>et(0,0),et=(e,t)=>({major:e,minor:t}),tt={nu:et,detect:(e,t)=>{const o=String(t).toLowerCase();return 0===e.length?Ze():((e,t)=>{const o=((e,t)=>{for(let o=0;oNumber(t.replace(o,"$"+e));return et(n(1),n(2))})(e,o)},unknown:Ze},ot=(e,t)=>{const o=String(t).toLowerCase();return L(e,e=>e.search(o))},nt=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,rt=e=>t=>he(t,e),st=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:e=>he(e,"edge/")&&he(e,"chrome")&&he(e,"safari")&&he(e,"applewebkit")},{name:"Chromium",brand:"Chromium",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,nt],search:e=>he(e,"chrome")&&!he(e,"chromeframe")},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:e=>he(e,"msie")||he(e,"trident")},{name:"Opera",versionRegexes:[nt,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:rt("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:rt("firefox")},{name:"Safari",versionRegexes:[nt,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:e=>(he(e,"safari")||he(e,"mobile/"))&&he(e,"applewebkit")}],lt=[{name:"Windows",search:rt("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:e=>he(e,"iphone")||he(e,"ipad"),versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:rt("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"macOS",search:rt("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:rt("linux"),versionRegexes:[]},{name:"Solaris",search:rt("sunos"),versionRegexes:[]},{name:"FreeBSD",search:rt("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:rt("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}],at={browsers:g(st),oses:g(lt)},ct="Edge",it="Chromium",mt="Opera",dt="Firefox",ut="Safari",ft=e=>{const t=e.current,o=e.version,n=e=>()=>t===e;return{current:t,version:o,isEdge:n(ct),isChromium:n(it),isIE:n("IE"),isOpera:n(mt),isFirefox:n(dt),isSafari:n(ut)}},gt=()=>ft({current:void 0,version:tt.unknown()}),ht=ft,pt=(g(ct),g(it),g("IE"),g(mt),g(dt),g(ut),"Windows"),bt="Android",wt="Linux",vt="macOS",yt="Solaris",xt="FreeBSD",Ct="ChromeOS",Tt=e=>{const t=e.current,o=e.version,n=e=>()=>t===e;return{current:t,version:o,isWindows:n(pt),isiOS:n("iOS"),isAndroid:n(bt),isMacOS:n(vt),isLinux:n(wt),isSolaris:n(yt),isFreeBSD:n(xt),isChromeOS:n(Ct)}},St=()=>Tt({current:void 0,version:tt.unknown()}),Rt=Tt,Dt=(g(pt),g("iOS"),g(bt),g(wt),g(vt),g(yt),g(xt),g(Ct),e=>window.matchMedia(e).matches);let Ot=ye(()=>((e,t,o)=>{const n=at.browsers(),r=at.oses(),s=t.bind(e=>((e,t)=>V(t.brands,t=>{const o=t.brand.toLowerCase();return L(e,e=>o===e.brand?.toLowerCase()).map(e=>({current:e.name,version:tt.nu(parseInt(t.version,10),0)}))}))(n,e)).orThunk(()=>((e,t)=>ot(e,t).map(e=>{const o=tt.detect(e.versionRegexes,t);return{current:e.name,version:o}}))(n,e)).fold(gt,ht),l=((e,t)=>ot(e,t).map(e=>{const o=tt.detect(e.versionRegexes,t);return{current:e.name,version:o}}))(r,e).fold(St,Rt),a=((e,t,o,n)=>{const r=e.isiOS()&&!0===/ipad/i.test(o),s=e.isiOS()&&!r,l=e.isiOS()||e.isAndroid(),a=l||n("(pointer:coarse)"),c=r||!s&&l&&n("(min-device-width:768px)"),i=s||l&&!c,m=t.isSafari()&&e.isiOS()&&!1===/safari/i.test(o),d=!i&&!c&&!m;return{isiPad:g(r),isiPhone:g(s),isTablet:g(c),isPhone:g(i),isTouch:g(a),isAndroid:e.isAndroid,isiOS:e.isiOS,isWebView:g(m),isDesktop:g(d)}})(l,s,e,o);return{browser:s,os:l,deviceType:a}})(window.navigator.userAgent,C.from(window.navigator.userAgentData),Dt));const kt=()=>Ot(),Et=Object.getPrototypeOf,_t=e=>{const t=ue("ownerDocument.defaultView",e);return s(e)&&((e=>((e,t)=>{const o=((e,t)=>ue(e,t))(e,t);if(null==o)throw new Error(e+" not available on this browser");return o})("HTMLElement",e))(t).prototype.isPrototypeOf(e)||/^HTML\w*Element$/.test(Et(e).constructor.name))},Nt=e=>e.dom.nodeName.toLowerCase(),Bt=e=>e.dom.nodeType,zt=e=>t=>Bt(t)===e,At=e=>8===Bt(e)||"#comment"===Nt(e),Lt=e=>Mt(e)&&_t(e.dom),Mt=zt(1),Wt=zt(3),jt=zt(9),Pt=zt(11),It=e=>t=>Mt(t)&&Nt(t)===e,Ft=e=>Me.fromDom(e.dom.ownerDocument),Ht=e=>jt(e)?e:Ft(e),$t=e=>C.from(e.dom.parentNode).map(Me.fromDom),Vt=e=>C.from(e.dom.parentElement).map(Me.fromDom),qt=(e,t)=>{const o=d(t)?t:y;let n=e.dom;const r=[];for(;null!==n.parentNode&&void 0!==n.parentNode;){const e=n.parentNode,t=Me.fromDom(e);if(r.push(t),!0===o(t))break;n=e}return r},Ut=e=>C.from(e.dom.previousSibling).map(Me.fromDom),Gt=e=>C.from(e.dom.nextSibling).map(Me.fromDom),Kt=e=>E(e.dom.childNodes,Me.fromDom),Yt=(e,t)=>{const o=e.dom.childNodes;return C.from(o[t]).map(Me.fromDom)},Jt=e=>Pt(e)&&m(e.dom.host),Qt=e=>Me.fromDom(e.dom.getRootNode()),Xt=e=>Me.fromDom(e.dom.host),Zt=e=>{const t=Me.fromDom((e=>{if(m(e.target)){const t=Me.fromDom(e.target);if(Mt(t)&&m(t.dom.shadowRoot)&&e.composed&&e.composedPath){const t=e.composedPath();if(t)return H(t)}}return C.from(e.target)})(e).getOr(e.target)),o=()=>e.stopPropagation(),n=()=>e.preventDefault(),r=(s=n,l=o,(...e)=>s(l.apply(null,e)));var s,l;return((e,t,o,n,r,s,l)=>({target:e,x:t,y:o,stop:n,prevent:r,kill:s,raw:l}))(t,e.clientX,e.clientY,o,n,r,e)},eo=(e,t,o,n)=>{e.dom.removeEventListener(t,o,n)},to=x,oo=(e,t,o)=>((e,t,o,n)=>((e,t,o,n,r)=>{const s=((e,t)=>o=>{e(o)&&t(Zt(o))})(o,n);return e.dom.addEventListener(t,s,r),{unbind:b(eo,e,t,s,r)}})(e,t,o,n,!1))(e,t,to,o),no=Zt,ro=(e,t)=>{$t(e).each(o=>{o.dom.insertBefore(t.dom,e.dom)})},so=(e,t)=>{Gt(e).fold(()=>{$t(e).each(e=>{ao(e,t)})},e=>{ro(e,t)})},lo=(e,t)=>{const o=(e=>Yt(e,0))(e);o.fold(()=>{ao(e,t)},o=>{e.dom.insertBefore(t.dom,o.dom)})},ao=(e,t)=>{e.dom.appendChild(t.dom)},co=(e,t)=>{ro(e,t),ao(t,e)},io=(e,t)=>{_(t,(o,n)=>{const r=0===n?e:t[n-1];so(r,o)})},mo=(e,t)=>{_(t,t=>{ao(e,t)})},uo=(e,t,o)=>{if(!(r(o)||c(o)||u(o)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",o,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,o+"")},fo=(e,t,o)=>{uo(e.dom,t,o)},go=(e,t)=>{const o=e.dom;G(t,(e,t)=>{uo(o,t,e)})},ho=(e,t)=>{const o=e.dom.getAttribute(t);return null===o?void 0:o},po=(e,t)=>C.from(ho(e,t)),bo=(e,t)=>{e.dom.removeAttribute(t)},wo=e=>A(e.dom.attributes,(e,t)=>(e[t.name]=t.value,e),{}),vo=e=>{e.dom.textContent="",_(Kt(e),e=>{yo(e)})},yo=e=>{const t=e.dom;null!==t.parentNode&&t.parentNode.removeChild(t)},xo=e=>{const t=Kt(e);t.length>0&&io(e,t),yo(e)},Co=(e,t)=>Me.fromDom(e.dom.cloneNode(t)),To=e=>Co(e,!1),So=e=>Co(e,!0),Ro=(e,t)=>{const o=Me.fromTag(t),n=wo(e);return go(o,n),o},Do=e=>void 0!==e.style&&d(e.style.getPropertyValue),Oo=e=>{const t=Wt(e)?e.dom.parentNode:e.dom;if(null==t||null===t.ownerDocument)return!1;const o=t.ownerDocument;return(e=>{const t=Qt(e);return Jt(t)?C.some(t):C.none()})(Me.fromDom(t)).fold(()=>o.body.contains(t),(n=Oo,r=Xt,e=>n(r(e))));var n,r},ko=(e,t,o)=>{if(!r(o))throw console.error("Invalid call to CSS.set. Property ",t,":: Value ",o,":: Element ",e),new Error("CSS value must be a string: "+o);Do(e)&&e.style.setProperty(t,o)},Eo=(e,t,o)=>{const n=e.dom;ko(n,t,o)},_o=(e,t)=>{const o=e.dom;G(t,(e,t)=>{ko(o,t,e)})},No=(e,t)=>{const o=e.dom,n=window.getComputedStyle(o).getPropertyValue(t);return""!==n||Oo(e)?n:Bo(o,t)},Bo=(e,t)=>Do(e)?e.style.getPropertyValue(t):"",zo=(e,t)=>{const o=e.dom,n=Bo(o,t);return C.from(n).filter(e=>e.length>0)},Ao=(e,t)=>{((e,t)=>{Do(e)&&e.style.removeProperty(t)})(e.dom,t),ie(po(e,"style").map(we),"")&&bo(e,"style")},Lo=(e,t)=>{const o=o=>{const n=t(o);if(n<=0||null===n){const t=No(o,e);return parseFloat(t)||0}return n},n=(e,t)=>A(t,(t,o)=>{const n=No(e,o),r=void 0===n?0:parseInt(n,10);return isNaN(r)?t:t+r},0);return{set:(t,o)=>{if(!u(o)&&!o.match(/^[0-9]+$/))throw new Error(e+".set accepts only positive integer values. Value was "+o);const n=t.dom;Do(n)&&(n.style[e]=o+"px")},get:o,getOuter:o,aggregate:n,max:(e,t,o)=>{const r=n(e,o);return t>r?t-r:0}}},Mo=(e,t,o)=>((e,t)=>(e=>{const t=parseFloat(e);return isNaN(t)?C.none():C.some(t)})(e).getOr(t))(No(e,t),o),Wo=Lo("height",e=>{const t=e.dom;return Oo(e)?t.getBoundingClientRect().height:t.offsetHeight}),jo=e=>Wo.get(e),Po=e=>Wo.getOuter(e),Io=Lo("width",e=>{const t=e.dom;return Oo(e)?t.getBoundingClientRect().width:t.offsetWidth}),Fo=e=>Io.get(e),Ho=e=>Io.getOuter(e),$o=e=>((e,t)=>{const o=e.dom,n=o.getBoundingClientRect().width||o.offsetWidth;return"border-box"===t?n:((e,t,o,n)=>t-Mo(e,`padding-${o}`,0)-Mo(e,`padding-${n}`,0)-Mo(e,`border-${o}-width`,0)-Mo(e,`border-${n}-width`,0))(e,n,"left","right")})(e,"content-box"),Vo=(e,t)=>({left:e,top:t,translate:(o,n)=>Vo(e+o,t+n)}),qo=Vo,Uo=(e,t)=>void 0!==e?e:void 0!==t?t:0,Go=e=>{const t=e.dom.ownerDocument,o=t.body,n=t.defaultView,r=t.documentElement;if(o===e.dom)return qo(o.offsetLeft,o.offsetTop);const s=Uo(n?.pageYOffset,r.scrollTop),l=Uo(n?.pageXOffset,r.scrollLeft),a=Uo(r.clientTop,o.clientTop),c=Uo(r.clientLeft,o.clientLeft);return Ko(e).translate(l-c,s-a)},Ko=e=>{const t=e.dom,o=t.ownerDocument.body;return o===t?qo(o.offsetLeft,o.offsetTop):Oo(e)?(e=>{const t=e.getBoundingClientRect();return qo(t.left,t.top)})(t):qo(0,0)},Yo=(e=>{const t=t=>e(t)?C.from(t.dom.nodeValue):C.none();return{get:o=>{if(!e(o))throw new Error("Can only get text value of a text node");return t(o).getOr("")},getOption:t,set:(t,o)=>{if(!e(t))throw new Error("Can only set raw text value of a text node");t.dom.nodeValue=o}}})(Wt),Jo=e=>Yo.get(e),Qo=e=>Yo.getOption(e),Xo=(e,t)=>Yo.set(e,t),Zo=(e,t)=>o=>"rtl"===en(o)?t:e,en=e=>"rtl"===No(e,"direction")?"rtl":"ltr";var tn=(e,t,o,n,r)=>e(o,n)?C.some(o):d(r)&&r(o)?C.none():t(o,n,r);const on=(e,t,o)=>{let n=e.dom;const r=d(o)?o:y;for(;n.parentNode;){n=n.parentNode;const e=Me.fromDom(n);if(t(e))return C.some(e);if(r(e))break}return C.none()},nn=(e,t,o)=>tn((e,t)=>t(e),on,e,t,o),rn=(e,t,o)=>on(e,e=>Ge(e,t),o),sn=(e,t)=>(e=>L(e.dom.childNodes,e=>{return o=Me.fromDom(e),Ge(o,t);var o}).map(Me.fromDom))(e),ln=(e,t)=>Ye(t,e),an=(e,t,o)=>tn((e,t)=>Ge(e,t),rn,e,t,o),cn=e=>void 0!==e.dom.classList,mn=(e,t)=>((e,t,o)=>{const n=((e,t)=>{const o=ho(e,t);return void 0===o||""===o?[]:o.split(" ")})(e,t).concat([o]);return fo(e,t,n.join(" ")),!0})(e,"class",t),dn=(e,t)=>{cn(e)?e.dom.classList.add(t):mn(e,t)},un=(e,t)=>cn(e)&&e.dom.classList.contains(t),fn=e=>an(e,"[contenteditable]"),gn=(e,t=!1)=>Oo(e)?e.dom.isContentEditable:fn(e).fold(g(t),e=>"true"===hn(e)),hn=e=>e.dom.contentEditable,pn=(e,t)=>{let o=[];return _(Kt(e),e=>{t(e)&&(o=o.concat([e])),o=o.concat(pn(e,t))}),o},bn=(e,t,o)=>((e,o,n)=>B(qt(e,n),e=>Ge(e,t)))(e,0,o),wn=(e,t)=>(e=>B(Kt(e),e=>Ge(e,t)))(e),vn=(e,t)=>((e,t)=>{const o=void 0===t?document:t.dom;return Ke(o)?[]:E(o.querySelectorAll(e),Me.fromDom)})(t,e),yn=e=>"img"===Nt(e)?1:Qo(e).fold(()=>Kt(e).length,e=>e.length),xn=["img","br"],Cn=e=>Qo(e).filter(e=>0!==e.trim().length||e.indexOf("\xa0")>-1).isSome()||D(xn,Nt(e))||(e=>Lt(e)&&"false"===ho(e,"contenteditable"))(e),Tn=e=>((e,t)=>{const o=e=>{for(let n=0;nRn(e,Cn),Rn=(e,t)=>{const o=e=>{const n=Kt(e);for(let e=n.length-1;e>=0;e--){const r=n[e];if(t(r))return C.some(r);const s=o(r);if(s.isSome())return s}return C.none()};return o(e)},Dn=(e,t,o,n)=>({start:e,soffset:t,finish:o,foffset:n}),On=Z([{before:["element"]},{on:["element","offset"]},{after:["element"]}]),kn={before:On.before,on:On.on,after:On.after,cata:(e,t,o,n)=>e.fold(t,o,n),getStart:e=>e.fold(h,h,h)},En=Z([{domRange:["rng"]},{relative:["startSitu","finishSitu"]},{exact:["start","soffset","finish","foffset"]}]),_n={domRange:En.domRange,relative:En.relative,exact:En.exact,exactFromRange:e=>En.exact(e.start,e.soffset,e.finish,e.foffset),getWin:e=>{const t=(e=>e.match({domRange:e=>Me.fromDom(e.startContainer),relative:(e,t)=>kn.getStart(e),exact:(e,t,o,n)=>e}))(e);return Me.fromDom(Ht(t).dom.defaultView)},range:Dn},Nn=(e,t)=>{const o=Nt(e);return"input"===o?kn.after(e):D(["br","img"],o)?0===t?kn.before(e):kn.after(e):kn.on(e,t)},Bn=e=>C.from(e.getSelection()),zn=(e,t)=>{Bn(e).each(e=>{e.removeAllRanges(),e.addRange(t)})},An=(e,t,o,n,r)=>{const s=Fe(e,t,o,n,r);zn(e,s)},Ln=(e,t)=>qe(e,t).match({ltr:(t,o,n,r)=>{An(e,t,o,n,r)},rtl:(t,o,n,r)=>{Bn(e).each(s=>{if(s.setBaseAndExtent)s.setBaseAndExtent(t.dom,o,n.dom,r);else if(s.extend)try{((e,t,o,n,r,s)=>{t.collapse(o.dom,n),t.extend(r.dom,s)})(0,s,t,o,n,r)}catch{An(e,n,r,t,o)}else An(e,n,r,t,o)})}}),Mn=(e,t,o,n,r)=>{const s=((e,t,o,n)=>{const r=Nn(e,t),s=Nn(o,n);return _n.relative(r,s)})(t,o,n,r);Ln(e,s)},Wn=(e,t,o)=>{const n=((e,t)=>{const o=e.fold(kn.before,Nn,kn.after),n=t.fold(kn.before,Nn,kn.after);return _n.relative(o,n)})(t,o);Ln(e,n)},jn=e=>{if(e.rangeCount>0){const t=e.getRangeAt(0),o=e.getRangeAt(e.rangeCount-1);return C.some(Dn(Me.fromDom(t.startContainer),t.startOffset,Me.fromDom(o.endContainer),o.endOffset))}return C.none()},Pn=e=>{if(null===e.anchorNode||null===e.focusNode)return jn(e);{const t=Me.fromDom(e.anchorNode),o=Me.fromDom(e.focusNode);return((e,t,o,n)=>{const r=((e,t,o,n)=>{const r=Ft(e).dom.createRange();return r.setStart(e.dom,t),r.setEnd(o.dom,n),r})(e,t,o,n),s=Je(e,o)&&t===n;return r.collapsed&&!s})(t,e.anchorOffset,o,e.focusOffset)?C.some(Dn(t,e.anchorOffset,o,e.focusOffset)):jn(e)}},In=(e,t,o=!0)=>{const n=(o?je:We)(e,t);zn(e,n)},Fn=e=>(e=>Bn(e).filter(e=>e.rangeCount>0).bind(Pn))(e).map(e=>_n.exact(e.start,e.soffset,e.finish,e.foffset)),Hn=(e,t,o)=>((e,t,o)=>((e,t,o)=>e.caretPositionFromPoint?((e,t,o)=>C.from(e.caretPositionFromPoint?.(t,o)).bind(t=>{if(null===t.offsetNode)return C.none();const o=e.createRange();return o.setStart(t.offsetNode,t.offset),o.collapse(),C.some(o)}))(e,t,o):e.caretRangeFromPoint?((e,t,o)=>C.from(e.caretRangeFromPoint?.(t,o)))(e,t,o):C.none())(e.document,t,o).map(e=>Dn(Me.fromDom(e.startContainer),e.startOffset,Me.fromDom(e.endContainer),e.endOffset)))(e,t,o),$n={unsupportedLength:["em","ex","cap","ch","ic","rem","lh","rlh","vw","vh","vi","vb","vmin","vmax","cm","mm","Q","in","pc","pt","px"],fixed:["px","pt"],relative:["%"],empty:[""]},Vn=(()=>{const e="[0-9]+",t="[eE][+-]?"+e,o=e=>`(?:${e})?`,n=["Infinity",e+"\\."+o(e)+o(t),"\\."+e+o(t),e+o(t)].join("|");return new RegExp(`^([+-]?(?:${n}))(.*)$`)})(),qn=e=>E(e,g(0)),Un=(e,t,o,n,r)=>r(e.slice(0,t)).concat(n).concat(r(e.slice(o))),Gn=e=>(t,o,n,r)=>{if(e(n)){const e=Math.max(r,t[o]-Math.abs(n)),s=Math.abs(e-t[o]);return n>=0?s:-s}return n},Kn=Gn(e=>e<0),Yn=Gn(x),Jn=()=>{const e=(e,t,o,n)=>{const r=(100+o)/100,s=Math.max(n,(e[t]+o)/r);return E(e,(e,o)=>(o===t?s:e/r)-e)},t=(t,o,n,r,s,l)=>l?e(t,o,r,s):((e,t,o,n,r)=>{const s=Kn(e,t,n,r);return Un(e,t,o+1,[s,0],qn)})(t,o,n,r,s);return{resizeTable:(e,t)=>e(t),clampTableDelta:Kn,calcLeftEdgeDeltas:t,calcMiddleDeltas:(e,o,n,r,s,l,a)=>t(e,n,r,s,l,a),calcRightEdgeDeltas:(t,o,n,r,s,l)=>{if(l)return e(t,n,r,s);{const e=Kn(t,n,r,s);return qn(t.slice(0,n)).concat([e])}},calcRedestributedWidths:(e,t,o,n)=>{if(n){const n=(t+o)/t,r=E(e,e=>e/n);return{delta:100*n-100,newSizes:r}}return{delta:o,newSizes:e}}}},Qn=()=>{const e=(e,t,o,n,r)=>{const s=Yn(e,n>=0?o:t,n,r);return Un(e,t,o+1,[s,-s],qn)};return{resizeTable:(e,t,o)=>{o&&e(t)},clampTableDelta:(e,t,o,n,r)=>{if(r){if(o>=0)return o;{const t=A(e,(e,t)=>e+t-n,0);return Math.max(-t,o)}}return Kn(e,t,o,n)},calcLeftEdgeDeltas:e,calcMiddleDeltas:(t,o,n,r,s,l)=>e(t,n,r,s,l),calcRightEdgeDeltas:(e,t,o,n,r,s)=>{if(s)return qn(e);{const t=n/e.length;return E(e,g(t))}},calcRedestributedWidths:(e,t,o,n)=>({delta:0,newSizes:e})}},Xn=(e,t,o=0)=>po(e,t).map(e=>parseInt(e,10)).getOr(o),Zn=(e,t)=>Xn(e,t,1),er=e=>It("col")(e)?Xn(e,"span",1)>1:Zn(e,"colspan")>1,tr=(e,t)=>parseInt(No(e,t),10),or=g(10),nr=g(10),rr=(e,t)=>sr(e,t,x),sr=(e,t,o)=>j(Kt(e),e=>Ge(e,t)?o(e)?[e]:[]:sr(e,t,o)),lr=(e,t)=>((e,t,o=y)=>o(t)?C.none():D(e,Nt(t))?C.some(t):rn(t,e.join(","),e=>Ge(e,"table")||o(e)))(["td","th"],e,t),ar=e=>rr(e,"th,td"),cr=e=>Ge(e,"colgroup")?wn(e,"col"):j(dr(e),e=>wn(e,"col")),ir=(e,t)=>an(e,"table",t),mr=e=>rr(e,"tr"),dr=e=>ir(e).fold(g([]),e=>wn(e,"colgroup")),ur=It("th"),fr=e=>P(e,e=>ur(e.element)),gr=(e,t)=>e&&t?"sectionCells":e?"section":"cells",hr=e=>{const t="thead"===e.section,o=ie(pr(e.cells),"th");return"tfoot"===e.section?{type:"footer"}:t||o?{type:"header",subType:gr(t,o)}:{type:"body"}},pr=e=>{const t=B(e,e=>ur(e.element));return 0===t.length?C.some("td"):t.length===e.length?C.some("th"):C.none()},br=(e,t)=>E(e,e=>{if("colgroup"===Nt(e)){const t=E(cr(e),e=>{const t=Xn(e,"span",1);return Ce(e,1,t)});return Te(e,t,"colgroup")}{const o=E(ar(e),e=>{const t=Xn(e,"rowspan",1),o=Xn(e,"colspan",1);return Ce(e,t,o)});return Te(e,o,t(e))}}),wr=e=>$t(e).map(e=>{const t=Nt(e);return(e=>D(xe,e))(t)?t:"tbody"}).getOr("tbody"),vr=e=>{const t=mr(e),o=[...dr(e),...t];return br(o,wr)},yr="data-snooker-locked-cols",xr=e=>po(e,yr).bind(e=>C.from(e.match(/\d+/g))).map(e=>I(e,x)),Cr=e=>{const t=A(ze(e).rows,(e,t)=>(_(t.cells,(t,o)=>{t.isLocked&&(e[o]=!0)}),e),{}),o=J(t,(e,t)=>parseInt(t,10));return(e=>{const t=T.call(e,0);return t.sort(void 0),t})(o)},Tr=(e,t)=>e+","+t,Sr=(e,t)=>{const o=j(e.all,e=>e.cells);return B(o,t)},Rr=e=>{const t={},o=[],n=H(e).map(e=>e.element).bind(ir).bind(xr).getOr({});let r=0,s=0,l=0;const{pass:a,fail:c}=N(e,e=>"colgroup"===e.section);_(c,e=>{const a=[];_(e.cells,e=>{let o=0;for(;void 0!==t[Tr(l,o)];)o++;const r=((e,t)=>X(e,t)&&void 0!==e[t]&&null!==e[t])(n,o.toString()),c=((e,t,o,n,r,s)=>({element:e,rowspan:t,colspan:o,row:n,column:r,isLocked:s}))(e.element,e.rowspan,e.colspan,l,o,r);for(let n=0;n{const t=(e=>{const t={};let o=0;return _(e.cells,e=>{const n=e.colspan;k(n,r=>{const s=o+r;t[s]=((e,t,o)=>({element:e,colspan:t,column:o}))(e.element,n,s)}),o+=n}),t})(e),o=((e,t)=>({element:e,columns:t}))(e.element,Q(t));return{colgroups:[o],columns:t}}).getOrThunk(()=>({colgroups:[],columns:{}})),d=((e,t)=>({rows:e,columns:t}))(r,s);return{grid:d,access:t,all:o,columns:i,colgroups:m}},Dr=e=>{const t=vr(e);return Rr(t)},Or=Rr,kr=(e,t,o)=>C.from(e.access[Tr(t,o)]),Er=(e,t,o)=>{const n=Sr(e,e=>o(t,e.element));return n.length>0?C.some(n[0]):C.none()},_r=Sr,Nr=e=>j(e.all,e=>e.cells),Br=e=>Q(e.columns),zr=e=>q(e.columns).length>0,Ar=(e,t)=>C.from(e.columns[t]),Lr=(e,t,o)=>Se(o(e.element,t),!0,e.isLocked),Mr=(e,t)=>e.section!==t?Re(e.element,e.cells,t,e.isNew):e,Wr=()=>({transformRow:Mr,transformCell:(e,t,o)=>{const n=o(e.element,t),r="td"!==Nt(n)?(e=>{const t=Ro(e,"td");so(e,t);const o=Kt(e);return mo(t,o),yo(e),t})(n):n;return Se(r,e.isNew,e.isLocked)}}),jr=()=>({transformRow:Mr,transformCell:Lr}),Pr=()=>({transformRow:(e,t)=>Mr(e,"thead"===t?"tbody":t),transformCell:Lr}),Ir=Wr,Fr=jr,Hr=Pr,$r=()=>({transformRow:h,transformCell:Lr}),Vr=(e,t=x)=>{const o=e.grid,n=k(o.columns,h),r=k(o.rows,h);return E(n,o=>qr(()=>j(r,t=>kr(e,t,o).filter(e=>e.column===o).toArray()),e=>1===e.colspan&&t(e.element),()=>kr(e,0,o)))},qr=(e,t,o)=>{const n=e();return L(n,t).orThunk(()=>C.from(n[0]).orThunk(o)).map(e=>e.element)},Ur=e=>{const t=e.grid,o=k(t.rows,h),n=k(t.columns,h);return E(o,t=>qr(()=>j(n,o=>kr(e,t,o).filter(e=>e.row===t).fold(g([]),e=>[e])),e=>1===e.rowspan,()=>kr(e,t,0)))},Gr=(e,t)=>({row:e,y:t}),Kr=(e,t)=>({col:e,x:t}),Yr=e=>Go(e).left+Ho(e),Jr=e=>Go(e).left,Qr=(e,t)=>Kr(e,Jr(t)),Xr=(e,t)=>Kr(e,Yr(t)),Zr=e=>Go(e).top,es=(e,t)=>Gr(e,Zr(t)),ts=(e,t)=>Gr(e,Zr(t)+Po(t)),os=(e,t,o)=>{if(0===o.length)return[];const n=E(o.slice(1),(t,o)=>t.map(t=>e(o,t))),r=o[o.length-1].map(e=>t(o.length-1,e));return n.concat([r])},ns={delta:h,positions:e=>os(es,ts,e),edge:Zr},rs=Zo({delta:h,edge:Jr,positions:e=>os(Qr,Xr,e)},{delta:e=>-e,edge:Yr,positions:e=>os(Xr,Qr,e)}),ss={delta:(e,t)=>rs(t).delta(e,t),positions:(e,t)=>rs(t).positions(e,t),edge:e=>rs(e).edge(e)},ls=/(\d+(\.\d+)?)%/,as=/(\d+(\.\d+)?)px|em/,cs=It("col"),is=It("tr"),ms=(e,t,o)=>{const n=Vt(e).getOrThunk(()=>(e=>{const t=e.dom.body;if(null==t)throw new Error("Body is not available yet");return Me.fromDom(t)})(Ft(e)));return t(e)/o(n)*100},ds=(e,t)=>{Eo(e,"width",t+"px")},us=(e,t)=>{Eo(e,"width",t+"%")},fs=(e,t)=>{Eo(e,"height",t+"px")},gs=e=>{const t=(e=>{return Mo(t=e,"height",t.dom.offsetHeight)+"px";var t})(e);return t?((e,t,o,n)=>{const r=parseFloat(e);return be(e,"%")&&"table"!==Nt(t)?((e,t,o,n)=>{const r=ir(e).map(e=>{const n=o(e);return Math.floor(t/100*n)}).getOr(t);return n(e,r),r})(t,r,o,n):r})(t,e,jo,fs):jo(e)},hs=(e,t)=>zo(e,t).orThunk(()=>po(e,t).map(e=>e+"px")),ps=e=>hs(e,"width"),bs=e=>ms(e,Fo,$o),ws=e=>{return cs(e)?Math.round(Fo(e)):Mo(t=e,"width",t.dom.offsetWidth);var t},vs=e=>is(e)?jo(e):((e,t,o)=>o(e)/Zn(e,"rowspan"))(e,0,gs),ys=(e,t,o)=>{Eo(e,"width",t+o)},xs=e=>ms(e,Fo,$o)+"%",Cs=g(ls),Ts=It("col"),Ss=e=>ps(e).getOrThunk(()=>ws(e)+"px"),Rs=e=>{return(t=e,hs(t,"height")).getOrThunk(()=>vs(e)+"px");var t},Ds=(e,t,o,n,r,s)=>e.filter(n).fold(()=>s(((e,t)=>{if(t<0||t>=e.length-1)return C.none();const o=e[t].fold(()=>{const o=(e=>{const t=T.call(e,0);return t.reverse(),t})(e.slice(0,t));return V(o,(e,t)=>e.map(e=>({value:e,delta:t+1})))},e=>C.some({value:e,delta:0})),n=e[t+1].fold(()=>{const o=e.slice(t+1);return V(o,(e,t)=>e.map(e=>({value:e,delta:t+1})))},e=>C.some({value:e,delta:1}));return o.bind(e=>n.map(t=>{const o=t.delta+e.delta;return Math.abs(t.value-e.value)/o}))})(o,t)),e=>r(e)),Os=(e,t,o,n)=>{const r=Vr(e),s=zr(e)?(e=>E(Br(e),e=>C.from(e.element)))(e):r,l=[C.some(ss.edge(t))].concat(E(ss.positions(r,t),e=>e.map(e=>e.x))),a=w(er);return E(s,(e,t)=>Ds(e,t,l,a,e=>{if((e=>{const t=kt().browser,o=t.isChromium()||t.isFirefox();return!Ts(e)||o})(e))return o(e);{const e=null!=(s=r[t])?h(s):C.none();return Ds(e,t,l,a,e=>n(C.some(Math.round(Fo(e)))),n)}var s},n))},ks=e=>e.map(e=>e+"px").getOr(""),Es=(e,t,o)=>Os(e,t,ws,e=>e.getOrThunk(o.minCellWidth)),_s=(e,t,o,n)=>{const r=Ur(e),s=E(e.all,e=>C.some(e.element)),l=[C.some(ns.edge(t))].concat(E(ns.positions(r,t),e=>e.map(e=>e.y)));return E(s,(e,t)=>Ds(e,t,l,x,o,n))},Ns=(e,t)=>()=>Oo(e)?t(e):parseFloat(zo(e,"width").getOr("0")),Bs=e=>{const t=Ns(e,e=>parseFloat(xs(e))),o=Ns(e,Fo);return{width:t,pixelWidth:o,getWidths:(t,o)=>((e,t,o)=>Os(e,t,bs,e=>e.fold(()=>o.minCellWidth(),e=>e/o.pixelWidth()*100)))(t,e,o),getCellDelta:e=>e/o()*100,singleColumnWidth:(e,t)=>[100-e],minCellWidth:()=>or()/o()*100,setElementWidth:us,adjustTableWidth:o=>{const n=t();us(e,n+o/100*n)},isRelative:!0,label:"percent"}},zs=e=>{const t=Ns(e,Fo);return{width:t,pixelWidth:t,getWidths:(t,o)=>Es(t,e,o),getCellDelta:h,singleColumnWidth:(e,t)=>[Math.max(or(),e+t)-e],minCellWidth:or,setElementWidth:ds,adjustTableWidth:o=>{const n=t()+o;ds(e,n)},isRelative:!1,label:"pixel"}},As=e=>ps(e).fold(()=>(e=>{const t=Ns(e,Fo),o=g(0);return{width:t,pixelWidth:t,getWidths:(t,o)=>Es(t,e,o),getCellDelta:o,singleColumnWidth:g([0]),minCellWidth:o,setElementWidth:f,adjustTableWidth:f,isRelative:!0,label:"none"}})(e),t=>((e,t)=>null!==Cs().exec(t)?Bs(e):zs(e))(e,t)),Ls=zs,Ms=Bs,Ws=(e,t,o,n)=>{o===n?bo(e,t):fo(e,t,o)},js=(e,t,o)=>{$(wn(e,t)).fold(()=>lo(e,o),e=>so(e,o))},Ps=(e,t)=>{const o=[],n=[],r=e=>E(e,e=>{e.isNew&&o.push(e.element);const t=e.element;return vo(t),_(e.cells,e=>{e.isNew&&n.push(e.element),Ws(e.element,"colspan",e.colspan,1),Ws(e.element,"rowspan",e.rowspan,1),ao(t,e.element)}),t}),s=e=>j(e,e=>E(e.cells,e=>(Ws(e.element,"span",e.colspan,1),e.element))),l=(t,o)=>{const n=((e,t)=>{const o=sn(e,t).getOrThunk(()=>{const o=Me.fromTag(t,Ft(e).dom);return"thead"===t?js(e,"caption,colgroup",o):"colgroup"===t?js(e,"caption",o):ao(e,o),o});return vo(o),o})(e,o),l=("colgroup"===o?s:r)(t);mo(n,l)},a=(t,o)=>{t.length>0?l(t,o):(t=>{sn(e,t).each(yo)})(o)},c=[],i=[],m=[],d=[];return _(t,e=>{switch(e.section){case"thead":c.push(e);break;case"tbody":i.push(e);break;case"tfoot":m.push(e);break;case"colgroup":d.push(e)}}),a(d,"colgroup"),a(c,"thead"),a(i,"tbody"),a(m,"tfoot"),{newRows:o,newCells:n}},Is=(e,t)=>{if(0===e.length)return 0;const o=e[0];return M(e,e=>!t(o.element,e.element)).getOr(e.length)},Fs=(e,t)=>{const o=E(e,e=>E(e.cells,y));return E(e,(n,r)=>{const s=j(n.cells,(n,s)=>{if(!1===o[r][s]){const m=((e,t,o,n)=>{const r=((e,t)=>e[t])(e,t),s="colgroup"===r.section,l=Is(r.cells.slice(o),n),a=s?1:Is(((e,t)=>E(e,e=>_e(e,t)))(e.slice(t),o),n);return{colspan:l,rowspan:a}})(e,r,s,t);return((e,t,n,r)=>{for(let s=e;s({element:e,cells:t,section:o,isNew:n}))(n.element,s,n.section,n.isNew)})},Hs=(e,t,o)=>{const n=[];_(e.colgroups,r=>{const s=[];for(let n=0;nSe(e.element,o,!1)).getOrThunk(()=>Se(t.colGap(),!0,!1));s.push(r)}n.push(Re(r.element,s,"colgroup",o))});for(let r=0;rSe(e.element,o,e.isLocked)).getOrThunk(()=>Se(t.gap(),!0,!1));s.push(l)}const l=e.all[r],a=Re(l.element,s,l.section,o);n.push(a)}return n},$s=e=>Fs(e,Je),Vs=(e,t)=>V(e.all,e=>L(e.cells,e=>Je(t,e.element))),qs=(e,t,o)=>{const n=E(t.selection,t=>lr(t).bind(t=>Vs(e,t)).filter(o)),r=me(n);return de(r.length>0,r)},Us=(e,t,o,n,r,s,l,a,c)=>{const i=Dr(s),m=C.from(c?.section).getOrThunk($r);return t(i,l).map(t=>{const o=((e,t)=>Hs(e,t,!1))(i,a),n=e(o,t,Je,r(a),m),s=Cr(n.grid);return{info:t,grid:$s(n.grid),cursor:n.cursor,lockedColumns:s}}).bind(e=>{const t=Ps(s,e.grid),r=C.from(c?.sizing).getOrThunk(()=>As(s)),l=C.from(c?.resize).getOrThunk(Qn);return o(s,e.grid,e.info,{sizing:r,resize:l,section:m}),n(s),bo(s,yr),e.lockedColumns.length>0&&fo(s,yr,e.lockedColumns.join(",")),C.some({cursor:e.cursor,newRows:t.newRows,newCells:t.newCells})})},Gs=(e,t)=>lr(t.element).bind(o=>Vs(e,o).map(e=>({...e,generators:t.generators,clipboard:t.clipboard}))),Ks=(e,t)=>qs(e,t,x).map(e=>({cells:e,generators:t.generators,clipboard:t.clipboard})),Ys=(e,t)=>qs(e,t,x),Js=(e,t)=>qs(e,t,e=>!e.isLocked),Qs=(e,t)=>P(t,t=>((e,t)=>Vs(e,t).exists(e=>!e.isLocked))(e,t)),Xs=(e,t)=>((e,t)=>t.mergable)(0,t).filter(t=>Qs(e,t.cells)),Zs=(e,t)=>((e,t)=>t.unmergable)(0,t).filter(t=>Qs(e,t)),el={...Z([{none:[]},{only:["index"]},{left:["index","next"]},{middle:["prev","index","next"]},{right:["prev","index"]}])},tl=(e,t,o)=>{const n=((e,t)=>zr(e)?((e,t)=>{const o=Br(e);return E(o,(e,o)=>({element:e.element,width:t[o],colspan:e.colspan}))})(e,t):((e,t)=>{const o=Nr(e);return E(o,e=>{const o=((e,t,o)=>{let n=0;for(let r=e;r{o.setElementWidth(e.element,e.width)})},ol=(e,t,o,n,r)=>{const s=Dr(e),l=r.getCellDelta(t),a=r.getWidths(s,r),c=o===s.grid.columns-1,i=n.clampTableDelta(a,o,l,r.minCellWidth(),c),m=((e,t,o,n,r)=>{const s=e.slice(0),l=((e,t)=>0===e.length?el.none():1===e.length?el.only(0):0===t?el.left(0,1):t===e.length-1?el.right(t-1,t):t>0&&tn.singleColumnWidth(s[e],o),(e,t)=>r.calcLeftEdgeDeltas(s,e,t,o,n.minCellWidth(),n.isRelative),(e,t,l)=>r.calcMiddleDeltas(s,e,t,l,o,n.minCellWidth(),n.isRelative),(e,t)=>r.calcRightEdgeDeltas(s,e,t,o,n.minCellWidth(),n.isRelative))})(a,o,i,r,n),d=E(m,(e,t)=>e+a[t]);tl(s,d,r),n.resizeTable(r.adjustTableWidth,i,c)},nl=(e,t,o)=>{const n=Dr(e),r=((e,t)=>_s(e,t,vs,e=>e.getOrThunk(nr)))(n,e),s=E(r,(e,n)=>o===n?Math.max(t+e,nr()):e),l=((e,t)=>E(e.all,(e,o)=>({element:e.element,height:t[o]})))(n,s);_(l,e=>{fs(e.element,e.height)}),_(Nr(n),e=>{(e=>{Ao(e,"height")})(e.element)});const a=z(s,(e,t)=>e+t,0);fs(e,a)},rl=(e,t)=>{if(!er(e)){const o=(e=>ps(e).bind(e=>{return t=e,o=["fixed","relative","empty"],C.from(Vn.exec(t)).bind(e=>{const t=Number(e[1]),n=e[2];return((e,t)=>O(t,t=>O($n[t],t=>e===t)))(n,o)?C.some({value:t,unit:n}):C.none()});var t,o}))(e);o.each(o=>{const n=o.value/2;ys(e,n,o.unit),ys(t,n,o.unit)})}},sl=(e,t,o)=>{const n=Xn(e,t,1);1===o||n<=1?bo(e,t):fo(e,t,Math.min(o,n))},ll=(e,t)=>o=>{const n=o.column+o.colspan-1,r=o.column;return n>=e&&r{const n=e[o].element,r=Me.fromTag("td");ao(r,Me.fromTag("br")),(t?ao:lo)(n,r)},cl=It("col"),il=It("colgroup"),ml=e=>"tr"===Nt(e)||il(e),dl=e=>({element:e,colspan:Xn(e,"colspan",1),rowspan:Xn(e,"rowspan",1)}),ul=e=>po(e,"scope").map(e=>e.substr(0,3)),fl=(e,t=dl)=>{const o=o=>{if(ml(o))return il((r={element:o}).element)?e.colgroup(r):e.row(r);{const r=o,s=(t=>cl(t.element)?e.col(t):e.cell(t))(t(r));return n=C.some({item:r,replacement:s}),s}var r};let n=C.none();return{getOrInit:(e,t)=>n.fold(()=>o(e),n=>t(e,n.item)?n.replacement:o(e))}},gl=e=>t=>{const o=[],n=n=>{const r="td"===e?{scope:null}:{},s=t.replace(n,e,r);return o.push({item:n,sub:s}),s};return{replaceOrInit:(e,t)=>{if(ml(e)||cl(e))return e;{const r=e;return((e,t)=>L(o,o=>t(o.item,e)))(r,t).fold(()=>n(r),o=>t(e,o.item)?o.sub:n(r))}}}},hl=e=>({unmerge:t=>{const o=ul(t);return o.each(e=>fo(t,"scope",e)),()=>{const n=e.cell({element:t,colspan:1,rowspan:1});return Ao(n,"width"),Ao(t,"width"),o.each(e=>fo(n,"scope",e)),n}},merge:e=>(Ao(e[0],"width"),(()=>{const t=me(E(e,ul));if(0===t.length)return C.none();{const e=t[0],o=["row","col"];return O(t,t=>t!==e&&D(o,t))?C.none():C.from(e)}})().fold(()=>bo(e[0],"scope"),t=>fo(e[0],"scope",t+"group")),g(e[0]))}),pl=Z([{invalid:["raw"]},{pixels:["value"]},{percent:["value"]}]),bl=(e,t,o)=>{const n=o.substring(0,o.length-e.length),r=parseFloat(n);return n===r.toString()?t(r):pl.invalid(o)},wl={...pl,from:e=>be(e,"%")?bl("%",pl.percent,e):be(e,"px")?bl("px",pl.pixels,e):pl.invalid(e)},vl=(e,t,o)=>{const n=wl.from(o),r=P(e,e=>"0px"===e)?((e,t)=>{const o=e.fold(()=>g(""),e=>g(e/t+"px"),()=>g(100/t+"%"));return k(t,o)})(n,e.length):((e,t,o)=>e.fold(()=>t,e=>((e,t,o)=>{const n=o/t;return E(e,e=>wl.from(e).fold(()=>e,e=>e*n+"px",e=>e/100*o+"px"))})(t,o,e),e=>((e,t)=>E(e,e=>wl.from(e).fold(()=>e,e=>e/t*100+"%",e=>e+"%")))(t,o)))(n,e,t);return Cl(r)},yl=(e,t)=>0===e.length?t:z(e,(e,t)=>wl.from(t).fold(g(0),h,h)+e,0),xl=(e,t)=>wl.from(e).fold(g(e),e=>e+t+"px",e=>e+t+"%"),Cl=e=>{if(0===e.length)return e;const t=z(e,(e,t)=>{const o=wl.from(t).fold(()=>({value:t,remainder:0}),e=>(e=>{const t=Math.floor(e);return{value:t+"px",remainder:e-t}})(e),e=>({value:e+"%",remainder:0}));return{output:[o.value].concat(e.output),remainder:e.remainder+o.remainder}},{output:[],remainder:0}),o=t.output;return o.slice(0,o.length-1).concat([xl(o[o.length-1],Math.round(t.remainder))])},Tl=wl.from,Sl=(e,t,o)=>{const n=Dr(e),r=n.all,s=Nr(n),l=Br(n);t.each(t=>{const o=Tl(t).fold(g("px"),g("px"),g("%")),r=Fo(e),a=((e,t)=>Os(e,t,Ss,ks))(n,e),c=vl(a,r,t);zr(n)?((e,t,o)=>{_(t,(t,n)=>{const r=yl([e[n]],or());Eo(t.element,"width",r+o)})})(c,l,o):((e,t,o)=>{_(t,t=>{const n=e.slice(t.column,t.colspan+t.column),r=yl(n,or());Eo(t.element,"width",r+o)})})(c,s,o),Eo(e,"width",t)}),o.each(t=>{const o=jo(e),l=((e,t)=>_s(e,t,Rs,ks))(n,e);((e,t,o)=>{_(o,e=>{Ao(e.element,"height")}),_(t,(t,o)=>{Eo(t.element,"height",e[o])})})(vl(l,o,t),r,s),Eo(e,"height",t)})},Rl=e=>ps(e).exists(e=>ls.test(e)),Dl=e=>ps(e).exists(e=>as.test(e)),Ol=e=>ps(e).isNone();var kl=["body","p","div","article","aside","figcaption","figure","footer","header","nav","section","ol","ul","li","table","thead","tbody","tfoot","caption","tr","td","th","h1","h2","h3","h4","h5","h6","blockquote","pre","address"],El=()=>({up:g({selector:rn,closest:an,predicate:on,all:qt}),down:g({selector:vn,predicate:pn}),styles:g({get:No,getRaw:zo,set:Eo,remove:Ao}),attrs:g({get:ho,set:fo,remove:bo,copyTo:(e,t)=>{const o=wo(e);go(t,o)}}),insert:g({before:ro,after:so,afterAll:io,append:ao,appendAll:mo,prepend:lo,wrap:co}),remove:g({unwrap:xo,remove:yo}),create:g({nu:Me.fromTag,clone:e=>Me.fromDom(e.dom.cloneNode(!1)),text:Me.fromText}),query:g({comparePosition:(e,t)=>e.dom.compareDocumentPosition(t.dom),prevSibling:Ut,nextSibling:Gt}),property:g({children:Kt,name:Nt,parent:$t,document:e=>Ht(e).dom,isText:Wt,isComment:At,isElement:Mt,isSpecial:e=>{const t=Nt(e);return D(["script","noscript","iframe","noframes","noembed","title","style","textarea","xmp"],t)},getLanguage:e=>Mt(e)?po(e,"lang"):C.none(),getText:Jo,setText:Xo,isBoundary:e=>!!Mt(e)&&("body"===Nt(e)||D(kl,Nt(e))),isEmptyTag:e=>!!Mt(e)&&D(["br","img","hr","input"],Nt(e)),isNonEditable:e=>Mt(e)&&"false"===ho(e,"contenteditable")}),eq:Je,is:Xe});const _l=(e,t)=>({item:e,mode:t}),Nl=(e,t,o,n=Bl)=>e.property().parent(t).map(e=>_l(e,n)),Bl=(e,t,o,n=zl)=>o.sibling(e,t).map(e=>_l(e,n)),zl=(e,t,o,n=zl)=>{const r=e.property().children(t);return o.first(r).map(e=>_l(e,n))},Al=[{current:Nl,next:Bl,fallback:C.none()},{current:Bl,next:zl,fallback:C.some(Nl)},{current:zl,next:zl,fallback:C.some(Bl)}],Ll=(e,t,o,n,r=Al)=>L(r,e=>e.current===o).bind(o=>o.current(e,t,n,o.next).orThunk(()=>o.fallback.bind(o=>Ll(e,t,o,n)))),Ml=(e,t,o,n,r,s)=>Ll(e,t,n,r).bind(t=>s(t.item)?C.none():o(t.item)?C.some(t.item):Ml(e,t.item,o,t.mode,r,s)),Wl=(e,t)=>({element:e,offset:t}),jl=(e,t,o)=>e.property().isText(t)&&0===e.property().getText(t).trim().length||e.property().isComment(t)?o(t).bind(t=>jl(e,t,o).orThunk(()=>C.some(t))):C.none(),Pl=(e,t)=>e.property().isText(t)?e.property().getText(t).length:e.property().children(t).length,Il=(e,t)=>{const o=jl(e,t,e.query().prevSibling).getOr(t);if(e.property().isText(o))return Wl(o,Pl(e,o));const n=e.property().children(o);return n.length>0?Il(e,n[n.length-1]):Wl(o,Pl(e,o))},Fl=Il,Hl=El(),$l=e=>t=>0===e.property().children(t).length,Vl=(e,t,o,n)=>Ml(e,t,o,Bl,{sibling:(e,t)=>e.query().prevSibling(t),first:e=>e.length>0?C.some(e[e.length-1]):C.none()},n),ql=(e,t,o,n)=>Ml(e,t,o,Bl,{sibling:(e,t)=>e.query().nextSibling(t),first:e=>e.length>0?C.some(e[0]):C.none()},n),Ul=El(),Gl=(e,t)=>((e,t,o)=>Vl(e,t,$l(e),o))(Ul,e,t),Kl=(e,t)=>((e,t,o)=>ql(e,t,$l(e),o))(Ul,e,t),Yl=["body","p","div","article","aside","figcaption","figure","footer","header","nav","section","ol","ul","table","thead","tfoot","tbody","caption","tr","td","th","h1","h2","h3","h4","h5","h6","blockquote","pre","address"],Jl=(e,t,o,n)=>{const r=t(e,o);return z(n,(o,n)=>{const r=t(e,n);return Ql(e,o,r)},r)},Ql=(e,t,o)=>t.bind(t=>o.filter(b(e.eq,t))),Xl=El(),Zl=(e,t)=>((e,t,o)=>o.length>0?((e,t,o,n)=>n(e,t,o[0],o.slice(1)))(e,t,o,Jl):C.none())(Xl,(t,o)=>e(o),t),ea=El(),ta=e=>((e,t)=>{const o=e.property().name(t);return D(Yl,o)})(ea,e),oa=e=>((e,t)=>{const o=e.property().name(t);return D(["ol","ul"],o)})(ea,e),na=e=>{const t=It("br"),o=e=>Sn(e).bind(o=>{const n=Gt(o).map(e=>!!ta(e)||!!((e,t)=>D(["br","img","hr","input"],e.property().name(t)))(ea,e)&&"img"!==Nt(e)).getOr(!1);return $t(o).map(r=>{return!0===n||("li"===Nt(s=r)||on(s,oa).isSome())||t(o)||ta(r)&&!Je(e,r)?[]:[Me.fromTag("br")];var s})}).getOr([]),n=(()=>{const n=j(e,e=>{const n=Kt(e);return(e=>P(e,e=>t(e)||Wt(e)&&0===Jo(e).trim().length))(n)?[]:n.concat(o(e))});return 0===n.length?[Me.fromTag("br")]:n})();vo(e[0]),mo(e[0],n)},ra=e=>{bo(e,"width"),bo(e,"height")},sa=e=>{const t=xs(e);Sl(e,C.some(t),C.none()),ra(e)},la=e=>{const t=(e=>Fo(e)+"px")(e);Sl(e,C.some(t),C.none()),ra(e)},aa=e=>{Ao(e,"width");const t=cr(e),o=t.length>0?t:ar(e);_(o,e=>{Ao(e,"width"),ra(e)}),ra(e)},ca={scope:["row","col"]},ia=e=>()=>{const t=Me.fromTag("td",e.dom);return ao(t,Me.fromTag("br",e.dom)),t},ma=e=>()=>Me.fromTag("col",e.dom),da=e=>()=>Me.fromTag("colgroup",e.dom),ua=e=>()=>Me.fromTag("tr",e.dom),fa=(e,t,o)=>{const n=((e,t)=>{const o=Ro(e,t),n=Kt(So(e));return mo(o,n),o})(e,t);return G(o,(e,t)=>{null===e?bo(n,t):fo(n,t,e)}),n},ga=e=>e,ha=(e,t,o)=>{const n=(e,t)=>{((e,t)=>{const o=e.dom,n=t.dom;Do(o)&&Do(n)&&(n.style.cssText=o.style.cssText)})(e.element,t),Ao(t,"height"),1!==e.colspan&&Ao(t,"width")};return{col:o=>{const r=Me.fromTag(Nt(o.element),t.dom);return n(o,r),e(o.element,r),r},colgroup:da(t),row:ua(t),cell:r=>{const s=Me.fromTag(Nt(r.element),t.dom),l=o.getOr(["strong","em","b","i","span","font","h1","h2","h3","h4","h5","h6","p","div"]),a=l.length>0?((e,t,o)=>Tn(e).map(n=>{const r=o.join(","),s=bn(n,r,t=>Je(t,e));return z(s,(e,t)=>{const o=To(t);return ao(e,o),o},t)}).getOr(t))(r.element,s,l):s;return ao(a,Me.fromTag("br")),n(r,s),((e,t)=>{G(ca,(o,n)=>po(e,n).filter(e=>D(o,e)).each(e=>fo(t,n,e)))})(r.element,s),e(r.element,s),s},replace:fa,colGap:ma(t),gap:ia(t)}},pa=e=>({col:ma(e),colgroup:da(e),row:ua(e),cell:ia(e),replace:ga,colGap:ma(e),gap:ia(e)}),ba=e=>Dr(e).grid,wa=(e,t,o,n)=>{const r=ze(e).rows;let s=!0;for(let e=0;e({rowDelta:0,colDelta:Be(e[0])-Be(t[0])}),ya=(e,t)=>({rowDelta:e.length-t.length,colDelta:0}),xa=(e,t,o,n)=>{const r="colgroup"===t.section?o.col:o.cell;return k(e,e=>Se(r(),!0,n(e)))},Ca=(e,t,o,n)=>{const r=e[e.length-1];return e.concat(k(t,()=>{const e="colgroup"===r.section?o.colgroup:o.row,t=Ae(r,e,h),s=xa(t.cells.length,t,o,e=>X(n,e.toString()));return Ee(t,s)}))},Ta=(e,t,o,n)=>E(e,e=>{const r=xa(t,e,o,y);return De(e,n,r)}),Sa=(e,t,o)=>{const n=t.colDelta<0?Ta:h,r=t.rowDelta<0?Ca:h,s=Cr(e),l=Be(e[0]),a=O(s,e=>e===l-1),c=n(e,Math.abs(t.colDelta),o,a?l-1:l),i=Cr(c);return r(c,Math.abs(t.rowDelta),o,I(i,x))},Ra=(e,t,o,n)=>{const r=b(n,_e(e[t],o).element),s=e[t];return e.length>1&&Be(s)>1&&(o>0&&r(Ne(s,o-1))||o0&&r(Ne(e[t-1],o))||tB(o,o=>o>=e.column&&o<=Be(t[0])+e.column),Oa=(e,t,o,n,r)=>{((e,t,o,n)=>{t>0&&t{const r=e.cells[t-1];let s=0;const l=n();for(;e.cells.length>t+s&&o(r.element,e.cells[t+s].element);)ke(e,t+s,Se(l,!0,e.cells[t+s].isLocked)),s++})})(t,e,r,n.cell);const s=ya(o,t),l=Sa(o,s,n),a=ya(t,l),c=Sa(t,a,n);return E(c,(t,o)=>De(t,e,l[o].cells))},ka=(e,t,o,n,r)=>{((e,t,o,n)=>{const r=ze(e).rows;if(t>0&&tA(e,(e,o)=>O(e,e=>t(e.element,o.element))?e:e.concat([o]),[]))(r[t-1].cells,o);_(e,e=>{let s=C.none();for(let l=t;l{ke(a,t,Se(e,!0,c.isLocked))}))}})}})(t,e,r,n.cell);const s=Cr(t),l=va(t,o),a={...l,colDelta:l.colDelta-s.length},c=Sa(t,a,n),{cols:i,rows:m}=ze(c),d=Cr(c),u=va(o,t),f={...u,colDelta:u.colDelta+d.length},g=(p=n,b=d,E(o,e=>A(b,(t,o)=>{const n=xa(1,e,p,x)[0];return Oe(t,o,n)},e))),h=Sa(g,f,n);var p,b;return[...i,...m.slice(0,e),...h,...m.slice(e,m.length)]},Ea=(e,t,o,n,r)=>{const{rows:s,cols:l}=ze(e),a=s.slice(0,t),c=s.slice(t);return[...l,...a,((e,t,o,n)=>Ae(e,e=>n(e,o),t))(s[o],(e,o)=>t>0&&tE(e,e=>{const s=t>0&&t{if("colgroup"!==o&&n)return _e(e,t);{const t=_e(e,r);return Se(l(t.element,s),!0,!1)}})(e,t,e.section,s,o,n,r);return Oe(e,t,l)}),Na=(e,t,o,n)=>((e,t,o,n)=>void 0!==Ne(e[t],o)&&t>0&&n(Ne(e[t-1],o),Ne(e[t],o)))(e,t,o,n)||((e,t,o)=>t>0&&o(Ne(e,t-1),Ne(e,t)))(e[t],o,n),Ba=(e,t,o,n)=>{const r=e=>(e=>"row"===e?(e=>Zn(e,"rowspan")>1)(t):er(t))(e)?`${e}group`:e;return e?ur(t)?r(o):null:n&&ur(t)?r("row"===o?"col":"row"):null},za=(e,t,o)=>Se(o(e.element,t),!0,e.isLocked),Aa=(e,t,o,n,r,s,l)=>E(e,(e,a)=>(e=>{const c=e.cells,i=E(c,(e,c)=>{if((e=>O(t,t=>o(e.element,t.element)))(e)){const t=l(e,a,c)?r(e,o,n):e;return s(t,a,c).each(e=>{var o,n;o=t.element,n={scope:C.from(e)},G(n,(e,t)=>{e.fold(()=>{bo(o,t)},e=>{uo(o.dom,t,e)})})}),t}return e});return Re(e.element,i,e.section,e.isNew)})(e)),La=(e,t,o)=>j(e,(n,r)=>Na(e,r,t,o)?[]:[_e(n,t)]),Ma=(e,t,o,n,r)=>{const s=ze(e).rows,l=j(t,e=>La(s,e,n)),a=E(s,e=>fr(e.cells)),c=((e,t)=>P(t,h)&&fr(e)?x:(e,o,n)=>!("th"===Nt(e.element)&&t[o]))(l,a),i=((e,t)=>(o,n)=>C.some(Ba(e,o.element,"row",t[n])))(o,a);return Aa(e,l,n,r,za,i,c)},Wa=(e,t,o,n)=>{const r=ze(e).rows,s=E(t,e=>_e(r[e.row],e.column));return Aa(e,s,o,n,za,C.none,x)},ja=e=>A(e,(e,t)=>O(e,e=>e.column===t.column)?e:e.concat([t]),[]).sort((e,t)=>e.column-t.column),Pa=e=>gn(e,!0),Ia=e=>{0===ar(e).length&&yo(e)},Fa=(e,t)=>({grid:e,cursor:t}),Ha=(e,t,o)=>{const n=((e,t,o)=>{const n=ze(e).rows;return C.from(n[t]?.cells[o]?.element).filter(Pa).orThunk(()=>(e=>V(e,e=>V(e.cells,e=>{const t=e.element;return de(Pa(t),t)})))(n))})(e,t,o);return Fa(e,n)},$a=e=>A(e,(e,t)=>O(e,e=>e.row===t.row)?e:e.concat([t]),[]).sort((e,t)=>e.row-t.row),Va=(e,t,o,n)=>{const r=t[0].row,s=$a(t),l=z(s,(e,t)=>({grid:Ea(e.grid,r,t.row+e.delta,o,n.getOrInit),delta:e.delta+1}),{grid:e,delta:0}).grid;return Ha(l,r,t[0].column)},qa=(e,t,o,n)=>{const r=$a(t),s=r[r.length-1],l=s.row+s.rowspan,a=z(r,(e,t)=>Ea(e,l,t.row,o,n.getOrInit),e);return Ha(a,l,t[0].column)},Ua=(e,t,o,n)=>{const r=t.details,s=ja(r),l=s[0].column,a=z(s,(e,t)=>({grid:_a(e.grid,l,t.column+e.delta,o,n.getOrInit),delta:e.delta+1}),{grid:e,delta:0}).grid;return Ha(a,r[0].row,l)},Ga=(e,t,o,n)=>{const r=t.details,s=r[r.length-1],l=s.column+s.colspan,a=ja(r),c=z(a,(e,t)=>_a(e,l,t.column,o,n.getOrInit),e);return Ha(c,r[0].row,l)},Ka=(e,t,o,n)=>{const r=ja(t),s=E(r,e=>e.column),l=Ma(e,s,!0,o,n.replaceOrInit);return Ha(l,t[0].row,t[0].column)},Ya=(e,t,o,n)=>{const r=Wa(e,t,o,n.replaceOrInit);return Ha(r,t[0].row,t[0].column)},Ja=(e,t,o,n)=>{const r=ja(t),s=E(r,e=>e.column),l=Ma(e,s,!1,o,n.replaceOrInit);return Ha(l,t[0].row,t[0].column)},Qa=(e,t,o,n)=>{const r=Wa(e,t,o,n.replaceOrInit);return Ha(r,t[0].row,t[0].column)},Xa=(e,t)=>(o,n,r,s,l)=>{const a=$a(n),c=E(a,e=>e.row),i=((e,t,o,n,r,s,l)=>{const{cols:a,rows:c}=ze(e),i=c[t[0]],m=j(t,e=>((e,t,o)=>{const n=e[t];return j(n.cells,(n,r)=>Na(e,t,r,o)?[]:[n])})(c,e,r)),d=E(i.cells,(e,t)=>fr(La(c,t,r))),u=[...c];_(t,e=>{u[e]=l.transformRow(c[e],o)});const f=[...a,...u],g=((e,t)=>P(t,h)&&fr(e.cells)?x:(e,o,n)=>!("th"===Nt(e.element)&&t[n]))(i,d),p=((e,t)=>(o,n,r)=>C.some(Ba(e,o.element,"col",t[r])))(n,d);return Aa(f,m,r,s,l.transformCell,p,g)})(o,c,e,t,r,s.replaceOrInit,l);return Ha(i,n[0].row,n[0].column)},Za=Xa("thead",!0),ec=Xa("tbody",!1),tc=Xa("tfoot",!1),oc=(e,t,o,n)=>{const r=ja(t.details),s=((e,t)=>j(e,e=>{const o=e.cells,n=z(t,(e,t)=>t>=0&&t0?[Re(e.element,n,e.section,e.isNew)]:[]}))(e,E(r,e=>e.column)),l=s.length>0?s[0].cells.length-1:0;return Ha(s,r[0].row,Math.min(r[0].column,l))},nc=(e,t,o,n)=>{const r=$a(t),s=((e,t,o)=>{const{rows:n,cols:r}=ze(e);return[...r,...n.slice(0,t),...n.slice(o+1)]})(e,r[0].row,r[r.length-1].row),l=Math.max(ze(s).rows.length-1,0);return Ha(s,Math.min(t[0].row,l),t[0].column)},rc=(e,t,o,n)=>{const r=t.cells;na(r);const s=((e,t,o,n)=>{const r=ze(e).rows;if(0===r.length)return e;for(let e=t.startRow;e<=t.finishRow;e++)for(let o=t.startCol;o<=t.finishCol;o++){const t=r[e],s=_e(t,o).isLocked;ke(t,o,Se(n(),!1,s))}return e})(e,t.bounds,0,n.merge(r));return Fa(s,C.from(r[0]))},sc=(e,t,o,n)=>{const r=z(t,(e,t)=>wa(e,t,o,n.unmerge(t)),e);return Fa(r,C.from(t[0]))},lc=(e,t,o,n)=>{const r=((e,t)=>{const o=Dr(e);return Hs(o,t,!0)})(t.clipboard,t.generators);var s,l;return((e,t,o,n,r)=>{const s=Cr(t),l=((e,t,o)=>{const n=Be(t[0]),r=ze(t).cols.length+e.row,s=k(n-e.column,t=>t+e.column);return{row:r,column:L(s,e=>P(o,t=>t!==e)).getOr(n-1)}})(e,t,s),a=ze(o).rows,c=Da(l,a,s),i=((e,t,o)=>{if(e.row>=t.length||e.column>Be(t[0]))return le.error("invalid start address out of table bounds, row: "+e.row+", column: "+e.column);const n=t.slice(e.row),r=n[0].cells.slice(e.column),s=Be(o[0]),l=o.length;return le.value({rowDelta:n.length-l,colDelta:r.length-s})})(l,t,a);return i.map(e=>{const o={...e,colDelta:e.colDelta-c.length},s=Sa(t,o,n),i=Cr(s),m=Da(l,a,i);return((e,t,o,n,r,s)=>{const l=e.row,a=e.column,c=l+o.length,i=a+Be(o[0])+s.length,m=I(s,x);for(let e=l;eFa(e,C.some(t.element)),e=>Ha(e,t.row,t.column))},ac=(e,t,o)=>{const n=((e,t)=>br(e,()=>t))(e,o.section),r=Or(n);return Hs(r,t,!0)},cc=(e,t,o,n)=>{const r=ze(e).rows,s=t.cells[0].column,l=r[t.cells[0].row],a=ac(t.clipboard,t.generators,l),c=Oa(s,e,a,t.generators,o);return Ha(c,t.cells[0].row,t.cells[0].column)},ic=(e,t,o,n)=>{const r=ze(e).rows,s=t.cells[t.cells.length-1].column+t.cells[t.cells.length-1].colspan,l=r[t.cells[0].row],a=ac(t.clipboard,t.generators,l),c=Oa(s,e,a,t.generators,o);return Ha(c,t.cells[0].row,s)},mc=(e,t,o,n)=>{const r=ze(e).rows,s=t.cells[0].row,l=r[s],a=ac(t.clipboard,t.generators,l),c=ka(s,e,a,t.generators,o);return Ha(c,t.cells[0].row,t.cells[0].column)},dc=(e,t,o,n)=>{const r=ze(e).rows,s=t.cells[t.cells.length-1].row+t.cells[t.cells.length-1].rowspan,l=r[t.cells[0].row],a=ac(t.clipboard,t.generators,l),c=ka(s,e,a,t.generators,o);return Ha(c,s,t.cells[0].column)},uc=(e,t,o,n)=>((e,t,o,n)=>{const r=Or(t),s=n.getWidths(r,n);tl(r,s,n)})(0,t,0,n.sizing),fc=(e,t,o,n)=>((e,t,o,n,r)=>{const s=Or(t),l=n.getWidths(s,n),a=n.pixelWidth(),{newSizes:c,delta:i}=r.calcRedestributedWidths(l,a,o.pixelDelta,n.isRelative);tl(s,c,n),n.adjustTableWidth(i)})(0,t,o,n.sizing,n.resize),gc=(e,t)=>O(t,e=>0===e.column&&e.isLocked),hc=(e,t)=>O(t,t=>t.column+t.colspan>=e.grid.columns&&t.isLocked),pc=(e,t)=>{const o=Vr(e),n=ja(t);return A(n,(e,t)=>e+o[t.column].map(Ho).getOr(0),0)},bc=e=>(t,o)=>Ys(t,o).filter(o=>!(e?gc:hc)(t,o)).map(e=>({details:e,pixelDelta:pc(t,e)})),wc=(e,t)=>Js(e,t).map(t=>({details:t,pixelDelta:-pc(e,t)})),vc=e=>(t,o)=>Ks(t,o).filter(o=>!(e?gc:hc)(t,o.cells)),yc=gl("th"),xc=gl("td"),Cc=(e,t,o,n)=>Us(Va,Ys,f,f,fl,e,t,o,n),Tc=(e,t,o,n)=>Us(qa,Ys,f,f,fl,e,t,o,n),Sc=(e,t,o,n)=>Us(Ua,bc(!0),fc,f,fl,e,t,o,n),Rc=(e,t,o,n)=>Us(Ga,bc(!1),fc,f,fl,e,t,o,n),Dc=(e,t,o,n)=>Us(oc,wc,fc,Ia,fl,e,t,o,n),Oc=(e,t,o,n)=>Us(nc,Ys,f,Ia,fl,e,t,o,n),kc=(e,t,o,n)=>Us(Ka,Js,f,f,yc,e,t,o,n),Ec=(e,t,o,n)=>Us(Ja,Js,f,f,xc,e,t,o,n),_c=(e,t,o,n)=>Us(Za,Ys,f,f,yc,e,t,o,n),Nc=(e,t,o,n)=>Us(ec,Ys,f,f,xc,e,t,o,n),Bc=(e,t,o,n)=>Us(tc,Ys,f,f,xc,e,t,o,n),zc=(e,t,o,n)=>Us(Ya,Js,f,f,yc,e,t,o,n),Ac=(e,t,o,n)=>Us(Qa,Js,f,f,xc,e,t,o,n),Lc=(e,t,o,n)=>Us(rc,Xs,uc,f,hl,e,t,o,n),Mc=(e,t,o,n)=>Us(sc,Zs,uc,f,hl,e,t,o,n),Wc=(e,t,o,n)=>Us(lc,Gs,uc,f,fl,e,t,o,n),jc=(e,t,o,n)=>Us(cc,vc(!0),f,f,fl,e,t,o,n),Pc=(e,t,o,n)=>Us(ic,vc(!1),f,f,fl,e,t,o,n),Ic=(e,t,o,n)=>Us(mc,Ks,f,f,fl,e,t,o,n),Fc=(e,t,o,n)=>Us(dc,Ks,f,f,fl,e,t,o,n),Hc=(e,t)=>{const o=Dr(e);return Ys(o,t).bind(e=>{const t=e[e.length-1],n=e[0].column,r=t.column+t.colspan,s=W(E(o.all,e=>B(e.cells,e=>e.column>=n&&e.column{const o=Dr(e);return Ys(o,t).bind(pr).getOr("")},Vc=(e,t)=>{const o=Dr(e);return Ys(o,t).bind(e=>{const t=e[e.length-1],n=e[0].row,r=t.row+t.rowspan;return(e=>{const t=E(e,e=>hr(e).type),o=D(t,"header"),n=D(t,"footer");if(o||n){const e=D(t,"body");return!o||e||n?o||e||!n?C.none():C.some("footer"):C.some("header")}return C.some("body")})(o.all.slice(n,r))}).getOr("")},qc=(e,t)=>{const o=t.column,n=t.column+t.colspan-1,r=t.row,s=t.row+t.rowspan-1;return o<=e.finishCol&&n>=e.startCol&&r<=e.finishRow&&s>=e.startRow},Uc=(e,t)=>t.column>=e.startCol&&t.column+t.colspan-1<=e.finishCol&&t.row>=e.startRow&&t.row+t.rowspan-1<=e.finishRow,Gc=(e,t,o)=>{const n=Er(e,t,Je),r=Er(e,o,Je);return n.bind(e=>r.map(t=>{return o=e,n=t,{startRow:Math.min(o.row,n.row),startCol:Math.min(o.column,n.column),finishRow:Math.max(o.row+o.rowspan-1,n.row+n.rowspan-1),finishCol:Math.max(o.column+o.colspan-1,n.column+n.colspan-1)};var o,n}))},Kc=(e,t,o)=>Gc(e,t,o).map(t=>{const o=_r(e,b(qc,t));return E(o,e=>e.element)}),Yc=(e,t)=>Er(e,t,(e,t)=>Qe(t,e)).map(e=>e.element),Jc=(e,t,o)=>{const n=Xc(e);return Kc(n,t,o)},Qc=(e,t,o,n,r)=>{const s=Xc(e),l=Je(e,o)?C.some(t):Yc(s,t),a=Je(e,r)?C.some(n):Yc(s,n);return l.bind(e=>a.bind(t=>Kc(s,e,t)))},Xc=Dr,Zc={styles:{"border-collapse":"collapse",width:"100%"},attributes:{border:"1"},colGroups:!1},ei=()=>Me.fromTag("th"),ti=()=>Me.fromTag("td"),oi=(e,t,o,n)=>k(e,e=>((e,t,o,n)=>{const r=Me.fromTag("tr");for(let s=0;s{let t=[];return{bind:e=>{if(void 0===e)throw new Error("Event bind error: undefined handler");t.push(e)},unbind:e=>{t=B(t,t=>t!==e)},trigger:(...o)=>{const n={};_(e,(e,t)=>{n[e]=o[t]}),_(t,e=>{e(n)})}}},ri=e=>({registry:K(e,e=>({bind:e.bind,unbind:e.unbind})),trigger:K(e,e=>e.trigger)}),si=ne(["compare","extract","mutate","sink"]),li=ne(["element","start","stop","destroy"]),ai=ne(["forceDrop","drop","move","delayDrop"]),ci=()=>{const e=(()=>{const e=ri({move:ni(["info"])});return{onEvent:f,reset:f,events:e.registry}})(),t=(()=>{let e=C.none();const t=ri({move:ni(["info"])});return{onEvent:(o,n)=>{n.extract(o).each(o=>{const r=((t,o)=>{const n=e.map(e=>t.compare(e,o));return e=C.some(o),n})(n,o);r.each(e=>{t.trigger.move(e)})})},reset:()=>{e=C.none()},events:t.registry}})();let o=e;return{on:()=>{o.reset(),o=t},off:()=>{o.reset(),o=e},isOn:()=>o===t,onEvent:(e,t)=>{o.onEvent(e,t)},events:t.events}},ii=ce("ephox-dragster").resolve;var mi=si({compare:(e,t)=>qo(t.left-e.left,t.top-e.top),extract:e=>C.some(qo(e.x,e.y)),sink:(e,t)=>{const o=(e=>{const t={layerClass:ii("blocker"),...e},o=Me.fromTag("div");return fo(o,"role","presentation"),fo(o,"data-mce-bogus","all"),_o(o,{position:"fixed",left:"0px",top:"0px",width:"100%",height:"100%"}),dn(o,ii("blocker")),dn(o,t.layerClass),{element:g(o),destroy:()=>{yo(o)}}})(t),n=oo(o.element(),"mousedown",e.forceDrop),r=oo(o.element(),"mouseup",e.drop),s=oo(o.element(),"mousemove",e.move),l=oo(o.element(),"mouseout",e.delayDrop);return li({element:o.element,start:e=>{ao(e,o.element())},stop:()=>{yo(o.element())},destroy:()=>{o.destroy(),r.unbind(),s.unbind(),l.unbind(),n.unbind()}})},mutate:(e,t)=>{e.mutate(t.left,t.top)}});const di=ce("ephox-snooker").resolve,ui=di("resizer-bar"),fi=di("resizer-rows"),gi=di("resizer-cols"),hi=e=>{const t=vn(e.parent(),"."+ui);_(t,yo)},pi=(e,t,o)=>{const n=e.origin();_(t,t=>{t.each(t=>{const r=o(n,t);dn(r,ui),ao(e.parent(),r)})})},bi=(e,t,o,n,r)=>{const s=Go(o),l=t.isResizable,a=n.length>0?ns.positions(n,o):[],c=a.length>0?((e,t)=>j(e.all,(e,o)=>t(e.element)?[o]:[]))(e,l):[];((e,t,o,n)=>{pi(e,t,(e,t)=>{const r=((e,t,o,n)=>{const r=Me.fromTag("div");return _o(r,{position:"absolute",left:t+"px",top:o-3.5+"px",height:"7px",width:n+"px"}),go(r,{"data-mce-bogus":"all","data-row":e,role:"presentation"}),r})(t.row,o.left-e.left,t.y-e.top,n);return dn(r,fi),r})})(t,B(a,(e,t)=>O(c,e=>t===e)),s,Ho(o));const i=r.length>0?ss.positions(r,o):[],m=i.length>0?((e,t)=>{const o=[];return k(e.grid.columns,n=>{Ar(e,n).map(e=>e.element).forall(t)&&o.push(n)}),B(o,o=>{const n=_r(e,e=>e.column===o);return P(n,e=>t(e.element))})})(e,l):[];((e,t,o,n)=>{pi(e,t,(e,t)=>{const r=((e,t,o,n,r)=>{const s=Me.fromTag("div");return _o(s,{position:"absolute",left:t-3.5+"px",top:o+"px",height:r+"px",width:"7px"}),go(s,{"data-mce-bogus":"all","data-column":e,role:"presentation"}),s})(t.col,t.x-e.left,o.top-e.top,0,n);return dn(r,gi),r})})(t,B(i,(e,t)=>O(m,e=>t===e)),s,Po(o))},wi=(e,t)=>{if(hi(e),e.isResizable(t)){const o=Dr(t),n=Ur(o),r=Vr(o);bi(o,e,t,n,r)}},vi=(e,t)=>{const o=vn(e.parent(),"."+ui);_(o,t)},yi=e=>{vi(e,e=>{Eo(e,"display","none")})},xi=e=>{vi(e,e=>{Eo(e,"display","block")})},Ci=di("resizer-bar-dragging"),Ti=e=>{const t=(()=>{const e=ri({drag:ni(["xDelta","yDelta","target"])});let t=C.none();const o=(()=>{const e=ri({drag:ni(["xDelta","yDelta"])});return{mutate:(t,o)=>{e.trigger.drag(t,o)},events:e.registry}})();return o.events.drag.bind(o=>{t.each(t=>{e.trigger.drag(o.xDelta,o.yDelta,t)})}),{assign:e=>{t=C.some(e)},get:()=>t,mutate:o.mutate,events:e.registry}})(),o=((e,t={})=>((e,t,o)=>{let n=!1;const r=ri({start:ni([]),stop:ni([])}),s=ci(),l=()=>{m.stop(),s.isOn()&&(s.off(),r.trigger.stop())},c=(e=>{let t=null;const o=()=>{a(t)||(clearTimeout(t),t=null)};return{cancel:o,throttle:(...n)=>{o(),t=setTimeout(()=>{t=null,e.apply(null,n)},200)}}})(l);s.events.move.bind(o=>{t.mutate(e,o.info)});const i=e=>(...t)=>{n&&e.apply(null,t)},m=t.sink(ai({forceDrop:l,drop:i(l),move:i(e=>{c.cancel(),s.onEvent(e,t)}),delayDrop:i(c.throttle)}),o);return{element:m.element,go:e=>{m.start(e),s.on(),r.trigger.start()},on:()=>{n=!0},off:()=>{n=!1},isActive:()=>n,destroy:()=>{m.destroy()},events:r.registry}})(e,t.mode??mi,t))(t,{});let n=C.none();const r=(e,t)=>C.from(ho(e,t));t.events.drag.bind(e=>{r(e.target,"data-row").each(t=>{const o=tr(e.target,"top");Eo(e.target,"top",o+e.yDelta+"px")}),r(e.target,"data-column").each(t=>{const o=tr(e.target,"left");Eo(e.target,"left",o+e.xDelta+"px")})});const s=(e,t)=>tr(e,t)-Xn(e,"data-initial-"+t,0);o.events.stop.bind(()=>{t.get().each(t=>{n.each(o=>{r(t,"data-row").each(e=>{const n=s(t,"top");bo(t,"data-initial-top"),d.trigger.adjustHeight(o,n,parseInt(e,10))}),r(t,"data-column").each(e=>{const n=s(t,"left");bo(t,"data-initial-left"),d.trigger.adjustWidth(o,n,parseInt(e,10))}),wi(e,o)})})});const l=(n,r)=>{d.trigger.startAdjust(),t.assign(n),fo(n,"data-initial-"+r,tr(n,r)),dn(n,Ci),Eo(n,"opacity","0.2"),o.go(e.dragContainer())},c=oo(e.parent(),"mousedown",e=>{var t;t=e.target,un(t,fi)&&(e.prevent(),e.stop(),l(e.target,"top")),(e=>un(e,gi))(e.target)&&(e.prevent(),e.stop(),l(e.target,"left"))}),i=t=>Je(t,e.view()),m=oo(e.view(),"mouseover",t=>{var r;(r=t.target,an(r,"table",i).filter(gn)).fold(()=>{Oo(t.target)&&!(e=>un(e,"ephox-snooker-resizer-bar")||un(e,"ephox-dragster-blocker"))(t.target)&&hi(e)},t=>{o.isActive()&&(n=C.some(t),wi(e,t))})}),d=ri({adjustHeight:ni(["table","delta","row"]),adjustWidth:ni(["table","delta","column"]),startAdjust:ni([])});return{destroy:()=>{c.unbind(),m.unbind(),o.destroy(),hi(e)},refresh:t=>{wi(e,t)},on:o.on,off:o.off,hideBars:b(yi,e),showBars:b(xi,e),events:d.registry}},Si=e=>t=>t.options.get(e),Ri="100%",Di=e=>{const t=e.dom,o=t.getParent(e.selection.getStart(),t.isBlock)??e.getBody();return $o(Me.fromDom(o))+"px"},Oi=e=>C.from(e.options.get("table_clone_elements")),ki=Si("table_header_type"),Ei=Si("table_column_resizing"),_i=e=>"preservetable"===Ei(e),Ni=e=>"resizetable"===Ei(e),Bi=Si("table_sizing_mode"),zi=e=>"relative"===Bi(e),Ai=e=>"fixed"===Bi(e),Li=e=>"responsive"===Bi(e),Mi=Si("table_resize_bars"),Wi=Si("table_style_by_css"),ji=Si("table_merge_content_on_paste"),Pi=Si("table_default_header_rows"),Ii=Si("table_default_header_cols"),Fi=e=>{const t=e.options,o=t.get("table_default_attributes");return t.isSet("table_default_attributes")?o:((e,t)=>Li(e)||Wi(e)?t:Ai(e)?{...t,width:Di(e)}:{...t,width:Ri})(e,o)},Hi=Si("table_use_colgroups"),$i=e=>Me.fromDom(e.getBody()),Vi=e=>t=>Je(t,$i(e)),qi=e=>{bo(e,"data-mce-style");const t=e=>bo(e,"data-mce-style");_(ar(e),t),_(cr(e),t),_(mr(e),t)},Ui=e=>Me.fromDom(e.selection.getStart()),Gi=e=>e.getBoundingClientRect().width,Ki=e=>e.getBoundingClientRect().height,Yi=e=>/^\d+(\.\d+)?$/.test(e)?e+"px":e,Ji=e=>(t,o)=>{const n=t.dom.getStyle(o,e)||t.dom.getAttrib(o,e);return C.from(n).filter(ve).map(Yi)},Qi=Ji("width"),Xi=Ji("height"),Zi=e=>nn(e,It("table")).exists(gn),em=e=>rn(e,"table"),tm=(e,t,o)=>{const n=e=>t=>void 0!==o&&o(t)||Je(t,e);return Je(e,t)?C.some({boxes:C.some([e]),start:e,finish:t}):em(e).bind(r=>em(t).bind(s=>{if(Je(r,s))return C.some({boxes:Jc(r,e,t),start:e,finish:t});if(Qe(r,s)){const o=bn(t,"td,th",n(r)),l=o.length>0?o[o.length-1]:t;return C.some({boxes:Qc(r,e,r,t,s),start:e,finish:l})}if(Qe(s,r)){const o=bn(e,"td,th",n(s)),l=o.length>0?o[o.length-1]:e;return C.some({boxes:Qc(s,e,r,t,s),start:e,finish:l})}return((e,t)=>((e,t,o,n=y)=>{const r=[t].concat(e.up().all(t)),s=[o].concat(e.up().all(o)),l=e=>M(e,n).fold(()=>e,t=>e.slice(0,t+1)),a=l(r),c=l(s),i=L(a,t=>O(c,((e,t)=>b(e.eq,t))(e,t)));return{firstpath:a,secondpath:c,shared:i}})(Xl,e,t,void 0))(e,t).shared.bind(l=>an(l,"table",o).bind(o=>{const l=bn(t,"td,th",n(o)),a=l.length>0?l[l.length-1]:t,c=bn(e,"td,th",n(o)),i=c.length>0?c[c.length-1]:e;return C.some({boxes:Qc(o,e,r,t,s),start:i,finish:a})}))}))},om=(e,t)=>{const o=vn(e,t);return o.length>0?C.some(o):C.none()},nm=(e,t,o)=>ln(e,t).bind(t=>ln(e,o).bind(e=>Zl(em,[t,e]).map(o=>({first:t,last:e,table:o})))),rm=(e,t,o,n,r)=>((e,t)=>L(e,e=>Ge(e,t)))(e,r).bind(e=>((e,t,o)=>ir(e).bind(n=>((e,t,o,n)=>Er(e,t,Je).bind(t=>{const r=o>0?t.row+t.rowspan-1:t.row,s=n>0?t.column+t.colspan-1:t.column;return kr(e,r+o,s+n).map(e=>e.element)}))(Xc(n),e,t,o)))(e,t,o).bind(e=>((e,t)=>rn(e,"table").bind(o=>ln(o,t).bind(t=>tm(t,e).bind(e=>e.boxes.map(t=>({boxes:t,start:e.start,finish:e.finish}))))))(e,n))),sm=(e,t)=>om(e,t),lm=(e,t,o)=>nm(e,t,o).bind(t=>{const o=t=>Je(e,t),n="thead,tfoot,tbody,table",r=rn(t.first,n,o),s=rn(t.last,n,o);return r.bind(e=>s.bind(o=>Je(e,o)?((e,t,o)=>((e,t,o)=>Gc(e,t,o).bind(t=>((e,t)=>{let o=!0;const n=b(Uc,t);for(let r=t.startRow;r<=t.finishRow;r++)for(let s=t.startCol;s<=t.finishCol;s++)o=o&&kr(e,r,s).exists(n);return o?C.some(t):C.none()})(e,t)))(Xc(e),t,o))(t.table,t.first,t.last):C.none()))}),am=h,cm=e=>{const t=(e,t)=>po(e,t).exists(e=>parseInt(e,10)>1);return e.length>0&&P(e,e=>t(e,"rowspan")||t(e,"colspan"))?C.some(e):C.none()},im=(e,t,o)=>t.length<=1?C.none():lm(e,o.firstSelectedSelector,o.lastSelectedSelector).map(e=>({bounds:e,cells:t})),mm=(e,t)=>({selection:e,kill:t}),dm=()=>({tag:"none"}),um=e=>({tag:"multiple",elements:e}),fm=e=>({tag:"single",element:e}),gm=(e,t,o,n)=>({start:kn.on(e,t),finish:kn.on(o,n)}),hm=(e,t)=>{const o=Ue(e,t);return Dn(Me.fromDom(o.startContainer),o.startOffset,Me.fromDom(o.endContainer),o.endOffset)},pm=gm,bm=(e,t,o,n,r)=>Je(o,n)?C.none():tm(o,n,t).bind(t=>{const n=t.boxes.getOr([]);return n.length>1?(r(e,n,t.start,t.finish),C.some(mm(C.some(pm(o,0,o,yn(o))),!0))):C.none()}),wm=Z([{none:["message"]},{success:[]},{failedUp:["cell"]},{failedDown:["cell"]}]),vm=e=>an(e,"tr"),ym={...wm,verify:(e,t,o,n,r,s,l)=>an(n,"td,th",l).bind(o=>an(t,"td,th",l).map(t=>Je(o,t)?Je(n,o)&&yn(o)===r?s(t):wm.none("in same cell"):Zl(vm,[o,t]).fold(()=>((e,t,o)=>{const n=e.getRect(t),r=e.getRect(o);return r.right>n.left&&r.lefts(t)))).getOr(wm.none("default")),cata:(e,t,o,n,r)=>e.fold(t,o,n,r)},xm=It("br"),Cm=(e,t,o)=>t(e,o).bind(e=>Wt(e)&&0===Jo(e).trim().length?Cm(e,t,o):C.some(e)),Tm=(e,t,o,n)=>((e,t)=>Yt(e,t).filter(xm).orThunk(()=>Yt(e,t-1).filter(xm)))(t,o).bind(t=>n.traverse(t).fold(()=>Cm(t,n.gather,e).map(n.relative),e=>(e=>$t(e).bind(t=>{const o=Kt(t);return((e,t)=>M(e,b(Je,t)))(o,e).map(n=>((e,t,o,n)=>({parent:e,children:t,element:o,index:n}))(t,o,e,n))}))(e).map(e=>kn.on(e.parent,e.index)))),Sm=(e,t)=>({left:e.left,top:e.top+t,right:e.right,bottom:e.bottom+t}),Rm=(e,t)=>({left:e.left,top:e.top-t,right:e.right,bottom:e.bottom-t}),Dm=(e,t,o)=>({left:e.left+t,top:e.top+o,right:e.right+t,bottom:e.bottom+o}),Om=e=>({left:e.left,top:e.top,right:e.right,bottom:e.bottom}),km=(e,t)=>C.some(e.getRect(t)),Em=(e,t,o)=>Mt(t)?km(e,t).map(Om):Wt(t)?((e,t,o)=>o>=0&&o0?e.getRangedRect(t,o-1,t,o):C.none())(e,t,o).map(Om):C.none(),_m=(e,t)=>Mt(t)?km(e,t).map(Om):Wt(t)?e.getRangedRect(t,0,t,yn(t)).map(Om):C.none(),Nm=Z([{none:[]},{retry:["caret"]}]),Bm=(e,t,o)=>nn(t,ta).fold(y,t=>_m(e,t).exists(e=>((e,t)=>e.leftt.right)(o,e))),zm={point:e=>e.bottom,adjuster:(e,t,o,n,r)=>{const s=Sm(r,5);return Math.abs(o.bottom-n.bottom)<1||o.top>r.bottom?Nm.retry(s):o.top===r.bottom?Nm.retry(Sm(r,1)):Bm(e,t,r)?Nm.retry(Dm(s,5,0)):Nm.none()},move:Sm,gather:Kl},Am=(e,t,o,n,r)=>0===r?C.some(n):((e,t,o)=>e.elementFromPoint(t,o).filter(e=>"table"===Nt(e)).isSome())(e,n.left,t.point(n))?((e,t,o,n,r)=>Am(e,t,o,t.move(n,5),r))(e,t,o,n,r-1):e.situsFromPoint(n.left,t.point(n)).bind(s=>s.start.fold(C.none,s=>_m(e,s).bind(l=>t.adjuster(e,s,l,o,n).fold(C.none,n=>Am(e,t,o,n,r-1))).orThunk(()=>C.some(n)),C.none)),Lm=(e,t,o)=>{const n=e.move(o,5),r=Am(t,e,o,n,100).getOr(n);return((e,t,o)=>e.point(t)>o.getInnerHeight()?C.some(e.point(t)-o.getInnerHeight()):e.point(t)<0?C.some(-e.point(t)):C.none())(e,r,t).fold(()=>t.situsFromPoint(r.left,e.point(r)),o=>(t.scrollBy(0,o),t.situsFromPoint(r.left,e.point(r)-o)))},Mm={tryUp:b(Lm,{point:e=>e.top,adjuster:(e,t,o,n,r)=>{const s=Rm(r,5);return Math.abs(o.top-n.top)<1||o.bottome.getSelection().bind(n=>((e,t,o,n)=>{const r=xm(t)?((e,t,o)=>o.traverse(t).orThunk(()=>Cm(t,o.gather,e)).map(o.relative))(e,t,n):Tm(e,t,o,n);return r.map(e=>({start:e,finish:e}))})(t,n.finish,n.foffset,o).fold(()=>C.some(Wl(n.finish,n.foffset)),r=>{const s=e.fromSitus(r);return l=ym.verify(e,n.finish,n.foffset,s.finish,s.foffset,o.failure,t),ym.cata(l,e=>C.none(),()=>C.none(),e=>C.some(Wl(e,0)),e=>C.some(Wl(e,yn(e))));var l})),jm=(e,t,o,n,r,s)=>0===s?C.none():Fm(e,t,o,n,r).bind(l=>{const a=e.fromSitus(l),c=ym.verify(e,o,n,a.finish,a.foffset,r.failure,t);return ym.cata(c,()=>C.none(),()=>C.some(l),l=>Je(o,l)&&0===n?Pm(e,o,n,Rm,r):jm(e,t,l,0,r,s-1),l=>Je(o,l)&&n===yn(l)?Pm(e,o,n,Sm,r):jm(e,t,l,yn(l),r,s-1))}),Pm=(e,t,o,n,r)=>Em(e,t,o).bind(t=>Im(e,r,n(t,Mm.getJumpSize()))),Im=(e,t,o)=>{const n=kt().browser;return n.isChromium()||n.isSafari()||n.isFirefox()?t.retry(e,o):C.none()},Fm=(e,t,o,n,r)=>Em(e,o,n).bind(t=>Im(e,r,t)),Hm=(e,t,o,n,r)=>an(n,"td,th",t).bind(n=>an(n,"table",t).bind(s=>((e,t)=>on(e,e=>$t(e).exists(e=>Je(e,t)),void 0).isSome())(r,s)?((e,t,o)=>Wm(e,t,o).bind(n=>jm(e,t,n.element,n.offset,o,20).map(e.fromSitus)))(e,t,o).bind(e=>an(e.finish,"td,th",t).map(t=>({start:n,finish:t,range:e}))):C.none())),$m=(e,t,o,n,r,s)=>s(n,t).orThunk(()=>Hm(e,t,o,n,r).map(e=>{const t=e.range;return mm(C.some(pm(t.start,t.soffset,t.finish,t.foffset)),!0)})),Vm=(e,t)=>an(e,"tr",t).bind(e=>an(e,"table",t).bind(o=>{const n=vn(o,"tr");return Je(e,n[0])?((e,t,o)=>Vl(Ul,e,e=>Sn(e).isSome(),o))(o,0,t).map(e=>{const t=yn(e);return mm(C.some(pm(e,t,e,t)),!0)}):C.none()})),qm=(e,t)=>an(e,"tr",t).bind(e=>an(e,"table",t).bind(o=>{const n=vn(o,"tr");return Je(e,n[n.length-1])?((e,t,o)=>ql(Ul,e,e=>Tn(e).isSome(),o))(o,0,t).map(e=>mm(C.some(pm(e,0,e,0)),!0)):C.none()})),Um=(e,t,o,n,r,s,l)=>Hm(e,o,n,r,s).bind(e=>bm(t,o,e.start,e.finish,l)),Gm=(e,t)=>an(e,"td,th",t),Km=e=>Vt(e).exists(gn),Ym={traverse:Gt,gather:Kl,relative:kn.before,retry:Mm.tryDown,failure:ym.failedDown},Jm={traverse:Ut,gather:Gl,relative:kn.before,retry:Mm.tryUp,failure:ym.failedUp},Qm=e=>t=>t===e,Xm=Qm(38),Zm=Qm(40),ed=e=>e>=37&&e<=40,td={isBackward:Qm(37),isForward:Qm(39)},od={isBackward:Qm(39),isForward:Qm(37)},nd=e=>({elementFromPoint:(t,o)=>Me.fromPoint(Me.fromDom(e.document),t,o),getRect:e=>e.dom.getBoundingClientRect(),getRangedRect:(t,o,n,r)=>{const s=_n.exact(t,o,n,r);return((e,t)=>(e=>{const t=e.getClientRects(),o=t.length>0?t[0]:e.getBoundingClientRect();return o.width>0||o.height>0?C.some(o).map(He):C.none()})(Ue(e,t)))(e,s)},getSelection:()=>Fn(e).map(t=>hm(e,t)),fromSitus:t=>{const o=_n.relative(t.start,t.finish);return hm(e,o)},situsFromPoint:(t,o)=>Hn(e,t,o).map(e=>gm(e.start,e.soffset,e.finish,e.foffset)),clearSelection:()=>{(e=>{Bn(e).each(e=>e.removeAllRanges())})(e)},collapseSelection:(t=!1)=>{Fn(e).each(o=>o.fold(e=>e.collapse(t),(o,n)=>{const r=t?o:n;Wn(e,r,r)},(o,n,r,s)=>{const l=t?o:r,a=t?n:s;Mn(e,l,a,l,a)}))},setSelection:t=>{Mn(e,t.start,t.soffset,t.finish,t.foffset)},setRelativeSelection:(t,o)=>{Wn(e,t,o)},selectNode:t=>{In(e,t,!1)},selectContents:t=>{In(e,t)},getInnerHeight:()=>e.innerHeight,getScrollY:()=>(e=>{const t=void 0!==e?e.dom:document,o=t.body.scrollLeft||t.documentElement.scrollLeft,n=t.body.scrollTop||t.documentElement.scrollTop;return qo(o,n)})(Me.fromDom(e.document)).top,scrollBy:(t,o)=>{((e,t,o)=>{const n=(void 0!==o?o.dom:document).defaultView;n&&n.scrollBy(e,t)})(t,o,Me.fromDom(e.document))}}),rd=(e,t)=>({rows:e,cols:t}),sd=e=>nn(e,Lt).exists(gn),ld=(e,t)=>sd(e)||sd(t),ad="data-mce-selected",cd="data-mce-first-selected",id="data-mce-last-selected",md="["+ad+"]",dd={selected:ad,selectedSelector:"td["+ad+"],th["+ad+"]",firstSelected:cd,firstSelectedSelector:"td["+cd+"],th["+cd+"]",lastSelected:id,lastSelectedSelector:"td["+id+"],th["+id+"]"},ud=(e,t,o)=>({element:o,mergable:im(t,e,dd),unmergable:cm(e),selection:am(e)}),fd=e=>(t,o)=>{const n=Nt(t),r="col"===n||"colgroup"===n?ir(s=t).bind(e=>sm(e,dd.firstSelectedSelector)).fold(g(s),e=>e[0]):t;var s;return an(r,e,o)},gd=fd("th,td,caption"),hd=fd("th,td"),pd=e=>{return t=e.model.table.getSelectedCells(),E(t,Me.fromDom);var t},bd=(e,t)=>{e.on("BeforeGetContent",t=>{const o=o=>{t.preventDefault(),(e=>ir(e[0]).map(e=>{const t=((e,t)=>{const o=e=>Ge(e.element,t),n=So(e),r=vr(n),s=As(e),l=Or(r),a=((e,t)=>{const o=e.grid.columns;let n=e.grid.rows,r=o,s=0,l=0;const a=[],c=[];return G(e.access,e=>{if(a.push(e),t(e)){c.push(e);const t=e.row,o=t+e.rowspan-1,a=e.column,i=a+e.colspan-1;ts&&(s=o),al&&(l=i)}}),((e,t,o,n,r,s)=>({minRow:e,minCol:t,maxRow:o,maxCol:n,allCells:r,selectedCells:s}))(n,r,s,l,a,c)})(l,o),c="th:not("+t+"),td:not("+t+")",i=sr(n,"th,td",e=>Ge(e,c));_(i,yo),((e,t,o,n)=>{const r=B(e,e=>"colgroup"!==e.section),s=t.grid.columns,l=t.grid.rows;for(let e=0;eo.maxRow||ao.maxCol||(kr(t,e,a).filter(n).isNone()?al(r,l,e):l=!0)}})(r,l,a,o);const m=((e,t,o,n)=>{if(0===n.minCol&&t.grid.columns===n.maxCol+1)return 0;const r=Es(t,e,o),s=A(r,(e,t)=>e+t,0),l=A(r.slice(n.minCol,n.maxCol+1),(e,t)=>e+t,0),a=l/s*o.pixelWidth()-o.pixelWidth();return o.getCellDelta(a)})(e,Dr(e),s,a);return((e,t,o,n)=>{G(o.columns,e=>{(e.columnt.maxCol)&&yo(e.element)});const r=B(rr(e,"tr"),e=>0===e.dom.childElementCount);_(r,yo),t.minCol!==t.maxCol&&t.minRow!==t.maxRow||_(rr(e,"th,td"),e=>{bo(e,"rowspan"),bo(e,"colspan")}),bo(e,yr),bo(e,"data-snooker-col-series"),As(e).adjustTableWidth(n)})(n,a,l,m),n})(e,md);return qi(t),[t]}))(o).each(o=>{const n="text"===t.format?((e,t)=>{const o=e.getDoc(),n=Qt(Me.fromDom(e.getBody())),r=Me.fromTag("div",o);fo(r,"data-mce-bogus","all"),_o(r,{position:"fixed",left:"-9999999px",top:"0",overflow:"hidden",opacity:"0"});const s=(e=>Jt(e)?e:Me.fromDom(Ht(e).dom.body))(n);mo(r,t),ao(s,r);const l=r.dom.innerText;return yo(r),l})(e,o):((e,t)=>E(t,t=>e.selection.serializer.serialize(t.dom,{})).join(""))(e,o);t.content=n})};if(!0===t.selection){const t=(e=>B(pd(e),e=>Ge(e,dd.selectedSelector)))(e);t.length>=1&&o(t)}}),e.on("BeforeSetContent",o=>{if(!0===o.selection&&!0===o.paste){const n=pd(e);H(n).each(n=>{ir(n).each(r=>{const s=B((e=>{const t=document.createElement("div");return t.innerHTML=e,Kt(Me.fromDom(t))})(o.content),e=>"meta"!==Nt(e)),l=It("table");if(ji(e)&&1===s.length&&l(s[0])){o.preventDefault();const l=Me.fromDom(e.getDoc()),a=pa(l),c=((e,t,o)=>({element:e,clipboard:t,generators:o}))(n,s[0],a);t.pasteCells(r,c).each(()=>{e.focus()})}})})}})},wd=(e,t)=>e.dispatch("NewRow",{node:t}),vd=(e,t)=>e.dispatch("NewCell",{node:t}),yd=(e,t,o)=>{e.dispatch("TableModified",{...o,table:t})},xd={structure:!1,style:!0},Cd={structure:!0,style:!1},Td={structure:!0,style:!0},Sd=(e,t)=>zi(e)?Ms(t):Ai(e)?Ls(t):As(t),Rd=(e,t,o)=>{const n=e=>"table"===Nt($i(e)),r=Oi(e),s=Ni(e)?f:rl,l=t=>{switch(ki(e)){case"section":return Ir();case"sectionCells":return Fr();case"cells":return Hr();default:return((e,t)=>{var o;switch((o=Dr(e),V(o.all,e=>{const t=hr(e);return"header"===t.type?C.from(t.subType):C.none()})).getOr(t)){case"section":return Wr();case"sectionCells":return jr();case"cells":return Pr()}})(t,"section")}},a=(n,s,a,c)=>(i,m,d=!1)=>{qi(i);const u=Me.fromDom(e.getDoc()),f=ha(a,u,r),g={sizing:Sd(e,i),resize:Ni(e)?Jn():Qn(),section:l(i)};return s(i)?n(i,m,f,g).bind(n=>{t.refresh(i.dom),_(n.newRows,t=>{wd(e,t.dom)}),_(n.newCells,t=>{vd(e,t.dom)});const r=((t,n)=>n.cursor.fold(()=>{const n=ar(t);return H(n).filter(Oo).map(n=>{o.clearSelectedCells(t.dom);const r=e.dom.createRng();return r.selectNode(n.dom),e.selection.setRng(r),fo(n,"data-mce-selected","1"),r})},n=>{const r=Fl(Hl,n),s=e.dom.createRng();return s.setStart(r.element.dom,r.offset),s.setEnd(r.element.dom,r.offset),e.selection.setRng(s),o.clearSelectedCells(t.dom),C.some(s)}))(i,n);return Oo(i)&&(qi(i),d||yd(e,i.dom,c)),r.map(e=>({rng:e,effect:c}))}):C.none()},c=a(Oc,t=>!n(e)||ba(t).rows>1,f,Cd),i=a(Dc,t=>!n(e)||ba(t).columns>1,f,Cd);return{deleteRow:c,deleteColumn:i,insertRowsBefore:a(Cc,x,f,Cd),insertRowsAfter:a(Tc,x,f,Cd),insertColumnsBefore:a(Sc,x,s,Cd),insertColumnsAfter:a(Rc,x,s,Cd),mergeCells:a(Lc,x,f,Cd),unmergeCells:a(Mc,x,f,Cd),pasteColsBefore:a(jc,x,f,Cd),pasteColsAfter:a(Pc,x,f,Cd),pasteRowsBefore:a(Ic,x,f,Cd),pasteRowsAfter:a(Fc,x,f,Cd),pasteCells:a(Wc,x,f,Td),makeCellsHeader:a(zc,x,f,Cd),unmakeCellsHeader:a(Ac,x,f,Cd),makeColumnsHeader:a(kc,x,f,Cd),unmakeColumnsHeader:a(Ec,x,f,Cd),makeRowsHeader:a(_c,x,f,Cd),makeRowsBody:a(Nc,x,f,Cd),makeRowsFooter:a(Bc,x,f,Cd),getTableRowType:Vc,getTableCellType:$c,getTableColType:Hc}},Dd=(e,t)=>{e.selection.select(t.dom,!0),e.selection.collapse(!0)},Od=(e,t,o,n,s)=>{const l=(e=>{const t=e.options,o=t.get("table_default_styles");return t.isSet("table_default_styles")?o:((e,t)=>Li(e)||!Wi(e)?t:Ai(e)?{...t,width:Di(e)}:{...t,width:Ri})(e,o)})(e),a={styles:l,attributes:Fi(e),colGroups:Hi(e)};return e.undoManager.ignore(()=>{const r=((e,t,o,n,r,s=Zc)=>{const l=Me.fromTag("table"),a="cells"!==r;_o(l,s.styles),go(l,s.attributes),s.colGroups&&ao(l,(e=>{const t=Me.fromTag("colgroup");return k(e,()=>ao(t,Me.fromTag("col"))),t})(t));const c=Math.min(e,o);if(a&&o>0){const e=Me.fromTag("thead");ao(l,e);const s=oi(o,t,"sectionCells"===r?c:0,n);mo(e,s)}const i=Me.fromTag("tbody");ao(l,i);const m=oi(a?e-c:e,t,a?0:o,n);return mo(i,m),l})(o,t,s,n,ki(e),a);fo(r,"data-mce-id","__mce");const l=(e=>{const t=Me.fromTag("div"),o=Me.fromDom(e.dom.cloneNode(!0));return ao(t,o),(e=>e.dom.innerHTML)(t)})(r);e.insertContent(l),e.addVisual()}),ln($i(e),'table[data-mce-id="__mce"]').map(t=>(Ai(e)?la(t):Li(e)?aa(t):(zi(e)||(e=>r(e)&&-1!==e.indexOf("%"))(l.width))&&sa(t),qi(t),bo(t,"data-mce-id"),((e,t)=>{_(vn(t,"tr"),t=>{wd(e,t.dom),_(vn(t,"th,td"),t=>{vd(e,t.dom)})})})(e,t),((e,t)=>{ln(t,"td,th").each(b(Dd,e))})(e,t),t.dom)).getOrNull()};var kd=tinymce.util.Tools.resolve("tinymce.FakeClipboard");const Ed="x-tinymce/dom-table-",_d=Ed+"rows",Nd=Ed+"columns",Bd=e=>{const t=kd.FakeClipboardItem(e);kd.write([t])},zd=e=>{const t=kd.read()??[];return V(t,t=>C.from(t.getType(e)))},Ad=e=>{zd(e).isSome()&&kd.clear()},Ld=e=>{e.fold(Wd,e=>Bd({[_d]:e}))},Md=()=>zd(_d),Wd=()=>Ad(_d),jd=e=>{e.fold(Id,e=>Bd({[Nd]:e}))},Pd=()=>zd(Nd),Id=()=>Ad(Nd),Fd=e=>gd(Ui(e),Vi(e)).filter(Zi),Hd=(e,t)=>{const o=Vi(e),n=e=>ir(e,o),l=t=>(e=>hd(Ui(e),Vi(e)).filter(Zi))(e).bind(e=>n(e).map(o=>t(o,e))),a=t=>{e.focus()},c=(t,o=!1)=>l((n,r)=>{const s=ud(pd(e),n,r);t(n,s,o).each(a)}),i=()=>l((t,o)=>((e,t,o)=>{const n=Dr(e);return Ys(n,t).bind(e=>{const t=Hs(n,o,!1),r=ze(t).rows.slice(e[0].row,e[e.length-1].row+e[e.length-1].rowspan),s=j(r,e=>{const t=B(e.cells,e=>!e.isLocked);return t.length>0?[{...e,cells:t}]:[]}),l=$s(s);return de(l.length>0,l)}).map(e=>E(e,e=>{const t=To(e.element);return _(e.cells,e=>{const o=So(e.element);Ws(o,"colspan",e.colspan,1),Ws(o,"rowspan",e.rowspan,1),ao(t,o)}),t}))})(t,ud(pd(e),t,o),ha(f,Me.fromDom(e.getDoc()),C.none()))),m=()=>l((t,o)=>((e,t)=>{const o=Dr(e);return Js(o,t).map(e=>{const t=e[e.length-1],n=e[0].column,r=t.column+t.colspan,s=((e,t,o)=>{if(zr(e)){const n=B(Br(e),ll(t,o)),r=E(n,e=>{const n=So(e.element);return sl(n,"span",o-t),n}),s=Me.fromTag("colgroup");return mo(s,r),[s]}return[]})(o,n,r),l=((e,t,o)=>E(e.all,e=>{const n=B(e.cells,ll(t,o)),r=E(n,e=>{const n=So(e.element);return sl(n,"colspan",o-t),n}),s=Me.fromTag("tr");return mo(s,r),s}))(o,n,r);return[...s,...l]})})(t,ud(pd(e),t,o))),d=(t,o)=>o().each(o=>{const n=E(o,e=>So(e));l((o,r)=>{const s=pa(Me.fromDom(e.getDoc())),l=((e,t,o,n)=>({selection:am(e),clipboard:o,generators:n}))(pd(e),0,n,s);t(o,l).each(a)})}),g=e=>(t,o)=>((e,t)=>X(e,t)?C.from(e[t]):C.none())(o,"type").each(t=>{c(e(t),o.no_events)});G({mceTableSplitCells:()=>c(t.unmergeCells),mceTableMergeCells:()=>c(t.mergeCells),mceTableInsertRowBefore:()=>c(t.insertRowsBefore),mceTableInsertRowAfter:()=>c(t.insertRowsAfter),mceTableInsertColBefore:()=>c(t.insertColumnsBefore),mceTableInsertColAfter:()=>c(t.insertColumnsAfter),mceTableDeleteCol:()=>c(t.deleteColumn),mceTableDeleteRow:()=>c(t.deleteRow),mceTableCutCol:()=>m().each(e=>{jd(e),c(t.deleteColumn)}),mceTableCutRow:()=>i().each(e=>{Ld(e),c(t.deleteRow)}),mceTableCopyCol:()=>m().each(e=>jd(e)),mceTableCopyRow:()=>i().each(e=>Ld(e)),mceTablePasteColBefore:()=>d(t.pasteColsBefore,Pd),mceTablePasteColAfter:()=>d(t.pasteColsAfter,Pd),mceTablePasteRowBefore:()=>d(t.pasteRowsBefore,Md),mceTablePasteRowAfter:()=>d(t.pasteRowsAfter,Md),mceTableDelete:()=>Fd(e).each(t=>{ir(t,o).filter(w(o)).each(t=>{const o=Me.fromText("");if(so(t,o),yo(t),e.dom.isEmpty(e.getBody()))e.setContent(""),e.selection.setCursorLocation();else{const t=e.dom.createRng();t.setStart(o.dom,0),t.setEnd(o.dom,0),e.selection.setRng(t),e.nodeChanged()}})}),mceTableCellToggleClass:(t,o)=>{l(t=>{const n=pd(e),r=P(n,t=>e.formatter.match("tablecellclass",{value:o},t.dom)),s=r?e.formatter.remove:e.formatter.apply;_(n,e=>s("tablecellclass",{value:o},e.dom)),yd(e,t.dom,xd)})},mceTableToggleClass:(t,o)=>{l(t=>{e.formatter.toggle("tableclass",{value:o},t.dom),yd(e,t.dom,xd)})},mceTableToggleCaption:()=>{Fd(e).each(t=>{ir(t,o).each(o=>{sn(o,"caption").fold(()=>{const t=Me.fromTag("caption");ao(t,Me.fromText("Caption")),((e,t)=>{Yt(e,0).fold(()=>{ao(e,t)},e=>{ro(e,t)})})(o,t),e.selection.setCursorLocation(t.dom,0)},n=>{It("caption")(t)&&Ye("td",o).each(t=>e.selection.setCursorLocation(t.dom,0)),yo(n)}),yd(e,o.dom,Cd)})})},mceTableSizingMode:(t,n)=>(t=>Fd(e).each(n=>{Li(e)||Ai(e)||zi(e)||ir(n,o).each(o=>{"relative"!==t||Rl(o)?"fixed"!==t||Dl(o)?"responsive"!==t||Ol(o)||aa(o):la(o):sa(o),qi(o),yd(e,o.dom,Cd)})}))(n),mceTableCellType:g(e=>"th"===e?t.makeCellsHeader:t.unmakeCellsHeader),mceTableColType:g(e=>"th"===e?t.makeColumnsHeader:t.unmakeColumnsHeader),mceTableRowType:g(e=>{switch(e){case"header":return t.makeRowsHeader;case"footer":return t.makeRowsFooter;default:return t.makeRowsBody}})},(t,o)=>e.addCommand(o,t)),e.addCommand("mceInsertTable",(t,o)=>{((e,t,o,n={})=>{const r=e=>u(e)&&e>0;if(r(t)&&r(o)){const r=n.headerRows??Pi(e),s=n.headerColumns??Ii(e);return Od(e,o,t,s,r)}console.error("Invalid values for mceInsertTable - rows and columns values are required to insert a table.")})(e,o.rows,o.columns,o.options)}),e.addCommand("mceTableApplyCellStyle",(t,o)=>{const l=e=>"tablecell"+e.toLowerCase().replace("-","");if(!s(o))return;const a=B(pd(e),Zi);if(0===a.length)return;const c=((e,t)=>{const o={};return((e,t,o,n)=>{G(e,(e,r)=>{(t(e,r)?o:n)(e,r)})})(e,t,(e=>(t,o)=>{e[o]=t})(o),f),o})(o,(t,o)=>e.formatter.has(l(o))&&r(t));(e=>{for(const t in e)if(U.call(e,t))return!1;return!0})(c)||(G(c,(t,o)=>{const n=l(o);_(a,o=>{""===t?e.formatter.remove(n,{value:null},o.dom,!0):e.formatter.apply(n,{value:t},o.dom)})}),n(a[0]).each(t=>yd(e,t.dom,xd)))})},$d=e=>!un(Me.fromDom(e.target),"ephox-snooker-resizer-bar"),Vd=(e,t)=>{const o=(r=dd.selectedSelector,{get:()=>sm(Me.fromDom(e.getBody()),r).fold(()=>hd(Ui(e),Vi(e)).fold(dm,fm),um)}),n=((e,t,o)=>{const n=t=>{bo(t,e.selected),bo(t,e.firstSelected),bo(t,e.lastSelected)},r=t=>{fo(t,e.selected,"1")},s=e=>{l(e),o()},l=t=>{const o=vn(t,`${e.selectedSelector},${e.firstSelectedSelector},${e.lastSelectedSelector}`);_(o,n)};return{clearBeforeUpdate:l,clear:s,selectRange:(o,n,l,a)=>{s(o),_(n,r),fo(l,e.firstSelected,"1"),fo(a,e.lastSelected,"1"),t(n,l,a)},selectedSelector:e.selectedSelector,firstSelectedSelector:e.firstSelectedSelector,lastSelectedSelector:e.lastSelectedSelector}})(dd,(t,o,n)=>{ir(o).each(r=>{const s=E(t,e=>e.dom),l=Oi(e),a=ha(f,Me.fromDom(e.getDoc()),l),c=((e,t,o)=>{const n=Dr(e);return Ys(n,t).map(e=>{const t=Hs(n,o,!1),{rows:r}=ze(t),s=((e,t)=>{const o=e.slice(0,t[t.length-1].row+1),n=$s(o);return j(n,e=>{const o=e.cells.slice(0,t[t.length-1].column+1);return E(o,e=>e.element)})})(r,e),l=((e,t)=>{const o=e.slice(t[0].row+t[0].rowspan-1,e.length),n=$s(o);return j(n,e=>{const o=e.cells.slice(t[0].column+t[0].colspan-1,e.cells.length);return E(o,e=>e.element)})})(r,e);return{upOrLeftCells:s,downOrRightCells:l}})})(r,{selection:pd(e)},a).map(e=>K(e,e=>E(e,e=>e.dom))).getOrUndefined();((e,t,o,n,r)=>{e.dispatch("TableSelectionChange",{cells:t,start:o,finish:n,otherCells:r})})(e,s,o.dom,n.dom,c)})},()=>(e=>{e.dispatch("TableSelectionClear")})(e));var r;return e.on("init",o=>{const r=e.getWin(),s=$i(e),l=Vi(e),a=((e,t,o,n)=>{const r=((e,t,o,n)=>{const r=fe(),s=r.clear,l=s=>{r.on(r=>{n.clearBeforeUpdate(t),Gm(s.target,o).each(l=>{tm(r,l,o).each(o=>{const r=o.boxes.getOr([]);if(1===r.length){const e=r[0],o="false"===hn(e),l=ie(fn(s.target),e,Je);o&&l&&n.selectRange(t,r,e,e)}else r.length>1&&(n.selectRange(t,r,o.start,o.finish),e.selectContents(l))})})})};return{clearstate:s,mousedown:e=>{n.clear(t),Gm(e.target,o).filter(Km).each(r.set)},mouseover:e=>{l(e)},mouseup:e=>{l(e),s()}}})(nd(e),t,o,n);return{clearstate:r.clearstate,mousedown:r.mousedown,mouseover:r.mouseover,mouseup:r.mouseup}})(r,s,l,n),c=((e,t,o,n)=>{const r=nd(e),s=()=>(n.clear(t),C.none());return{keydown:(e,l,a,c,i,m)=>{const d=e.raw,u=d.which,f=!0===d.shiftKey,g=om(t,n.selectedSelector).fold(()=>(ed(u)&&!f&&n.clearBeforeUpdate(t),ed(u)&&f&&!ld(l,c)?C.none:Zm(u)&&f?b(Um,r,t,o,Ym,c,l,n.selectRange):Xm(u)&&f?b(Um,r,t,o,Jm,c,l,n.selectRange):Zm(u)?b($m,r,o,Ym,c,l,qm):Xm(u)?b($m,r,o,Jm,c,l,Vm):C.none),e=>{const o=o=>()=>{const s=V(o,o=>((e,t,o,n,r)=>rm(n,e,t,r.firstSelectedSelector,r.lastSelectedSelector).map(e=>(r.clearBeforeUpdate(o),r.selectRange(o,e.boxes,e.start,e.finish),e.boxes)))(o.rows,o.cols,t,e,n));return s.fold(()=>nm(t,n.firstSelectedSelector,n.lastSelectedSelector).map(e=>{const o=Zm(u)||m.isForward(u)?kn.after:kn.before;return r.setRelativeSelection(kn.on(e.first,0),o(e.table)),n.clear(t),mm(C.none(),!0)}),e=>C.some(mm(C.none(),!0)))};return ed(u)&&f&&!ld(l,c)?C.none:Zm(u)&&f?o([rd(1,0)]):Xm(u)&&f?o([rd(-1,0)]):m.isBackward(u)&&f?o([rd(0,-1),rd(-1,0)]):m.isForward(u)&&f?o([rd(0,1),rd(1,0)]):ed(u)&&!f?s:C.none});return g()},keyup:(e,r,s,l,a)=>om(t,n.selectedSelector).fold(()=>{const c=e.raw,i=c.which;return!0===c.shiftKey&&ed(i)&&ld(r,l)?((e,t,o,n,r,s,l)=>Je(o,r)&&n===s?C.none():an(o,"td,th",t).bind(o=>an(r,"td,th",t).bind(n=>bm(e,t,o,n,l))))(t,o,r,s,l,a,n.selectRange):C.none()},C.none)}})(r,s,l,n),i=((e,t,o,n)=>{const r=nd(e);return(e,s)=>{n.clearBeforeUpdate(t),tm(e,s,o).each(e=>{const o=e.boxes.getOr([]);n.selectRange(t,o,e.start,e.finish),r.selectContents(s),r.collapseSelection()})}})(r,s,l,n);e.on("TableSelectorChange",e=>i(e.start,e.finish));const m=(t,o)=>{(e=>!0===e.raw.shiftKey)(t)&&(o.kill&&t.kill(),o.selection.each(t=>{const o=_n.relative(t.start,t.finish),n=Ue(r,o);e.selection.setRng(n)}))},d=e=>0===e.button,u=(()=>{const e=ee(Me.fromDom(s)),t=ee(0);return{touchEnd:o=>{const n=Me.fromDom(o.target);if(It("td")(n)||It("th")(n)){const r=e.get(),s=t.get();Je(r,n)&&o.timeStamp-s<300&&(o.preventDefault(),i(n,n))}e.set(n),t.set(o.timeStamp)}}})();e.on("dragstart",e=>{a.clearstate()}),e.on("mousedown",e=>{d(e)&&$d(e)&&a.mousedown(no(e))}),e.on("mouseover",e=>{var t;(void 0===(t=e).buttons||1&t.buttons)&&$d(e)&&a.mouseover(no(e))}),e.on("mouseup",e=>{d(e)&&$d(e)&&a.mouseup(no(e))}),e.on("touchend",u.touchEnd),e.on("keyup",t=>{const o=no(t);if(o.raw.shiftKey&&ed(o.raw.which)){const t=e.selection.getRng(),n=Me.fromDom(t.startContainer),r=Me.fromDom(t.endContainer);c.keyup(o,n,t.startOffset,r,t.endOffset).each(e=>{m(o,e)})}}),e.on("keydown",o=>{const n=no(o);t.hide();const r=e.selection.getRng(),s=Me.fromDom(r.startContainer),l=Me.fromDom(r.endContainer),a=Zo(td,od)(Me.fromDom(e.selection.getStart()));c.keydown(n,s,r.startOffset,l,r.endOffset,a).each(e=>{m(n,e)}),t.show()}),e.on("NodeChange",()=>{const t=e.selection,o=Me.fromDom(t.getStart()),r=Me.fromDom(t.getEnd());Zl(ir,[o,r]).fold(()=>n.clear(s),f)})}),e.on("PreInit",()=>{e.serializer.addTempAttr(dd.firstSelected),e.serializer.addTempAttr(dd.lastSelected)}),{getSelectedCells:()=>((e,t)=>{switch(e.tag){case"none":return t();case"single":return(e=>[e.dom])(e.element);case"multiple":return(e=>E(e,e=>e.dom))(e.elements)}})(o.get(),g([])),clearSelectedCells:e=>n.clear(Me.fromDom(e))}},qd=e=>m(e)&&"TABLE"===e.nodeName,Ud="bar-",Gd=e=>"false"!==ho(e,"data-mce-resize"),Kd=e=>{const t=fe(),o=fe();let n,r,s,l;const a=t=>Sd(e,t),c=()=>_i(e)?Qn():Jn(),i=(t,o,i,m)=>{const d=(e=>{return pe(t=e,"corner-")?(e=>e.substring(7))(t):t;var t})(o),u=be(d,"e"),f=pe(d,"n");if(""===r&&sa(t),""===l&&(e=>{const t=(e=>jo(e)+"px")(e);Sl(e,C.none(),C.some(t)),ra(e)})(t),i!==n&&""!==r){Eo(t,"width",r);const o=c(),s=a(t),l=_i(e)||u?(e=>ba(e).columns)(t)-1:0;ol(t,i-n,l,o,s)}else if((e=>/^(\d+(\.\d+)?)%$/.test(e))(r)){const e=parseFloat(r.replace("%",""));Eo(t,"width",i*e/n+"%")}if((e=>/^(\d+(\.\d+)?)px$/.test(e))(r)&&(e=>{const t=Dr(e);zr(t)||_(ar(e),e=>{const t=No(e,"width");Eo(e,"width",t),bo(e,"width")})})(t),m!==s&&""!==l){Eo(t,"height",l);const e=f?0:(e=>ba(e).rows)(t)-1;nl(t,m-s,e)}};e.on("init",()=>{const n=((e,t)=>((e,t)=>({parent:g(e),view:g(e),dragContainer:g(e),origin:()=>Go(e),isResizable:t}))(Me.fromDom(e.getBody()),t))(e,Gd);if(o.set(n),(e=>{const t=e.options.get("object_resizing");return D(t.split(","),"table")})(e)&&Mi(e)){const o=((e,t,o)=>{const n=ns,r=ss,s=Ti(e),l=ri({beforeResize:ni(["table","type"]),afterResize:ni(["table","type"]),startDrag:ni([])});return s.events.adjustHeight.bind(e=>{const t=e.table;l.trigger.beforeResize(t,"row");const o=n.delta(e.delta,t);nl(t,o,e.row),l.trigger.afterResize(t,"row")}),s.events.startAdjust.bind(e=>{l.trigger.startDrag()}),s.events.adjustWidth.bind(e=>{const n=e.table;l.trigger.beforeResize(n,"col");const s=r.delta(e.delta,n),a=o(n);ol(n,s,e.column,t,a),l.trigger.afterResize(n,"col")}),{on:s.on,off:s.off,refreshBars:s.refresh,hideBars:s.hideBars,showBars:s.showBars,destroy:s.destroy,events:l.registry}})(n,c(),a);e.mode.isReadOnly()||o.on(),o.events.beforeResize.bind(t=>{const o=t.table.dom;((e,t,o,n,r)=>{e.dispatch("ObjectResizeStart",{target:t,width:o,height:n,origin:r})})(e,o,Gi(o),Ki(o),Ud+t.type)}),o.events.afterResize.bind(t=>{const o=t.table,n=o.dom;qi(o),((e,t,o,n,r)=>{e.dispatch("ObjectResized",{target:t,width:o,height:n,origin:r})})(e,n,Gi(n),Ki(n),Ud+t.type),e.undoManager.add()}),t.set(o)}}),e.on("ObjectResizeStart",t=>{const o=t.target;if(qd(o)&&!e.mode.isReadOnly()){const a=Me.fromDom(o);_(e.dom.select(".mce-clonedresizable"),t=>{e.dom.addClass(t,"mce-"+Ei(e)+"-columns")}),!Dl(a)&&Ai(e)?la(a):!Rl(a)&&zi(e)&&sa(a),Ol(a)&&pe(t.origin,Ud)&&sa(a),n=t.width,r=Li(e)?"":Qi(e,o).getOr(""),s=t.height,l=Xi(e,o).getOr("")}}),e.on("ObjectResized",t=>{const o=t.target;if(qd(o)){const n=Me.fromDom(o),r=t.origin;(e=>pe(e,"corner-"))(r)&&i(n,r,t.width,t.height),qi(n),yd(e,n.dom,xd)}});const m=()=>{t.on(e=>{e.on(),e.showBars()})},d=()=>{t.on(e=>{e.off(),e.hideBars()})};return e.on("DisabledStateChange",e=>{e.state?d():m()}),e.on("SwitchMode",()=>{e.mode.isReadOnly()?d():m()}),e.on("dragstart dragend",e=>{"dragstart"===e.type?d():m()}),e.on("remove",()=>{t.on(e=>{e.destroy()})}),{refresh:e=>{t.on(t=>t.refreshBars(Me.fromDom(e)))},hide:()=>{t.on(e=>e.hideBars())},show:()=>{t.on(e=>e.showBars())}}},Yd=e=>{(e=>{const t=e.options.register;t("table_clone_elements",{processor:"string[]"}),t("table_use_colgroups",{processor:"boolean",default:!0}),t("table_header_type",{processor:e=>{const t=D(["section","cells","sectionCells","auto"],e);return t?{value:e,valid:t}:{valid:!1,message:"Must be one of: section, cells, sectionCells or auto."}},default:"section"}),t("table_sizing_mode",{processor:"string",default:"auto"}),t("table_default_attributes",{processor:"object",default:{border:"1"}}),t("table_default_styles",{processor:"object",default:{"border-collapse":"collapse"}}),t("table_column_resizing",{processor:e=>{const t=D(["preservetable","resizetable"],e);return t?{value:e,valid:t}:{valid:!1,message:"Must be preservetable, or resizetable."}},default:"preservetable"}),t("table_resize_bars",{processor:"boolean",default:!0}),t("table_style_by_css",{processor:"boolean",default:!0}),t("table_merge_content_on_paste",{processor:"boolean",default:!0}),t("table_default_header_rows",{processor:"number",default:0}),t("table_default_header_cols",{processor:"number",default:0})})(e);const t=Kd(e),o=Vd(e,t),n=Rd(e,t,o);return Hd(e,n),((e,t)=>{const o=Vi(e),n=t=>hd(Ui(e)).bind(n=>ir(n,o).map(o=>{const r=ud(pd(e),o,n);return t(o,r)})).getOr("");G({mceTableRowType:()=>n(t.getTableRowType),mceTableCellType:()=>n(t.getTableCellType),mceTableColType:()=>n(t.getTableColType)},(t,o)=>e.addQueryValueHandler(o,t))})(e,n),bd(e,n),{getSelectedCells:o.getSelectedCells,clearSelectedCells:o.clearSelectedCells}};e.add("dom",e=>({table:Yd(e)}))}(); \ No newline at end of file +!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.ModelManager");const t=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(o=n=e,(r=String).prototype.isPrototypeOf(o)||n.constructor?.name===r.name)?"string":t;var o,n,r})(t)===e,o=e=>t=>typeof t===e,n=e=>t=>e===t,r=t("string"),s=t("object"),l=t("array"),a=n(null),c=o("boolean"),i=n(void 0),m=e=>!(e=>null==e)(e),d=o("function"),u=o("number"),f=()=>{},g=e=>()=>e,h=e=>e,p=(e,t)=>e===t;function b(e,...t){return(...o)=>{const n=t.concat(o);return e.apply(null,n)}}const w=e=>t=>!e(t),v=e=>e(),y=g(!1),x=g(!0);class C{tag;value;static singletonNone=new C(!1);constructor(e,t){this.tag=e,this.value=t}static some(e){return new C(!0,e)}static none(){return C.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?C.some(e(this.value)):C.none()}bind(e){return this.tag?e(this.value):C.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:C.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(e??"Called getOrDie on None")}static from(e){return m(e)?C.some(e):C.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}const T=Array.prototype.slice,S=Array.prototype.indexOf,R=Array.prototype.push,D=(e,t)=>{return o=e,n=t,S.call(o,n)>-1;var o,n},O=(e,t)=>{for(let o=0,n=e.length;o{const o=[];for(let n=0;n{const o=e.length,n=new Array(o);for(let r=0;r{for(let o=0,n=e.length;o{const o=[],n=[];for(let r=0,s=e.length;r{const o=[];for(let n=0,r=e.length;n(((e,t)=>{for(let o=e.length-1;o>=0;o--)t(e[o],o)})(e,(e,n)=>{o=t(o,e,n)}),o),A=(e,t,o)=>(_(e,(e,n)=>{o=t(o,e,n)}),o),L=(e,t)=>((e,t,o)=>{for(let n=0,r=e.length;n{for(let o=0,n=e.length;o{const t=[];for(let o=0,n=e.length;oW(E(e,t)),P=(e,t)=>{for(let o=0,n=e.length;o{const o={};for(let n=0,r=e.length;nt>=0&&tF(e,0),$=e=>F(e,e.length-1),V=(e,t)=>{for(let o=0;o{const o=q(e);for(let n=0,r=o.length;nY(e,(e,o)=>({k:o,v:t(e,o)})),Y=(e,t)=>{const o={};return G(e,(e,n)=>{const r=t(e,n);o[r.k]=r.v}),o},J=(e,t)=>{const o=[];return G(e,(e,n)=>{o.push(t(e,n))}),o},Q=e=>J(e,h),X=(e,t)=>U.call(e,t),Z=e=>{if(!l(e))throw new Error("cases must be an array");if(0===e.length)throw new Error("there must be at least one case");const t=[],o={};return _(e,(n,r)=>{const s=q(n);if(1!==s.length)throw new Error("one and only one name per case");const a=s[0],c=n[a];if(void 0!==o[a])throw new Error("duplicate key detected:"+a);if("cata"===a)throw new Error("cannot have a case named cata (sorry)");if(!l(c))throw new Error("case arguments must be an array");t.push(a),o[a]=(...o)=>{const n=o.length;if(n!==c.length)throw new Error("Wrong number of arguments to case "+a+". Expected "+c.length+" ("+c+"), got "+n);return{fold:(...t)=>{if(t.length!==e.length)throw new Error("Wrong number of arguments to fold. Expected "+e.length+", got "+t.length);return t[r].apply(null,o)},match:e=>{const n=q(e);if(t.length!==n.length)throw new Error("Wrong number of arguments to match. Expected: "+t.join(",")+"\nActual: "+n.join(","));if(!P(t,e=>D(n,e)))throw new Error("Not all branches were specified when using match. Specified: "+n.join(", ")+"\nRequired: "+t.join(", "));return e[a].apply(null,o)},log:e=>{console.log(e,{constructors:t,constructor:a,params:o})}}}}),o},ee=e=>{let t=e;return{get:()=>t,set:e=>{t=e}}},te=e=>e.slice(0).sort(),oe=(e,t)=>{const o=B(t,t=>!D(e,t));o.length>0&&(e=>{throw new Error("Unsupported keys for object: "+te(e).join(", "))})(o)},ne=e=>((e,t)=>((e,t,o)=>{if(0===t.length)throw new Error("You must specify at least one required field.");return((e,t)=>{if(!l(t))throw new Error("The "+e+" fields must be an array. Was: "+t+".");_(t,t=>{if(!r(t))throw new Error("The value "+t+" in the "+e+" fields was not a string.")})})("required",t),(e=>{const t=te(e);L(t,(e,o)=>o{throw new Error("The field: "+e+" occurs more than once in the combined fields: ["+t.join(", ")+"].")})})(t),n=>{const r=q(n);P(t,e=>D(r,e))||((e,t)=>{throw new Error("All required keys ("+te(e).join(", ")+") were not specified. Specified keys were: "+te(t).join(", ")+".")})(t,r),e(t,r);const s=B(t,e=>!o.validate(n[e],e));return s.length>0&&((e,t)=>{throw new Error("All values need to be of type: "+t+". Keys ("+te(e).join(", ")+") were not.")})(s,o.label),n}})(e,t,{validate:d,label:"function"}))(oe,e),re=e=>{const t=t=>t(e),o=g(e),n=()=>r,r={tag:!0,inner:e,fold:(t,o)=>o(e),isValue:x,isError:y,map:t=>le.value(t(e)),mapError:n,bind:t,exists:t,forall:t,getOr:o,or:n,getOrThunk:o,orThunk:n,getOrDie:o,each:t=>{t(e)},toOptional:()=>C.some(e)};return r},se=e=>{const t=()=>o,o={tag:!1,inner:e,fold:(t,o)=>t(e),isValue:y,isError:x,map:t,mapError:t=>le.error(t(e)),bind:t,exists:y,forall:x,getOr:h,or:h,getOrThunk:v,orThunk:v,getOrDie:(n=String(e),()=>{throw new Error(n)}),each:f,toOptional:C.none};var n;return o},le={value:re,error:se,fromOption:(e,t)=>e.fold(()=>se(t),re)},ae="undefined"!=typeof window?window:Function("return this;")(),ce=e=>{const t=e.replace(/\./g,"-");return{resolve:e=>t+"-"+e}},ie=(e,t,o=p)=>e.exists(e=>o(e,t)),me=e=>{const t=[],o=e=>{t.push(e)};for(let t=0;te?C.some(t):C.none(),ue=(e,t)=>((e,t)=>{let o=null!=t?t:ae;for(let t=0;t{const e=(e=>{const t=ee(C.none()),o=()=>t.get().each(e);return{clear:()=>{o(),t.set(C.none())},isSet:()=>t.get().isSome(),get:()=>t.get(),set:e=>{o(),t.set(C.some(e))}}})(f);return{...e,on:t=>e.get().each(t)}},ge=(e,t,o)=>""===t||e.length>=t.length&&e.substr(o,o+t.length)===t,he=(e,t,o=0,n)=>{const r=e.indexOf(t,o);return-1!==r&&(!!i(n)||r+t.length<=n)},pe=(e,t)=>ge(e,t,0),be=(e,t)=>ge(e,t,e.length-t.length),we=(e=>t=>t.replace(e,""))(/^\s+|\s+$/g),ve=e=>e.length>0,ye=e=>{let t,o=!1;return(...n)=>(o||(o=!0,t=e.apply(null,n)),t)},xe=["tfoot","thead","tbody","colgroup"],Ce=(e,t,o)=>({element:e,rowspan:t,colspan:o}),Te=(e,t,o)=>({element:e,cells:t,section:o}),Se=(e,t,o)=>({element:e,isNew:t,isLocked:o}),Re=(e,t,o,n)=>({element:e,cells:t,section:o,isNew:n}),De=(e,t,o)=>{const n=e.cells,r=n.slice(0,t),s=n.slice(t),l=r.concat(o).concat(s);return Ee(e,l)},Oe=(e,t,o)=>De(e,t,[o]),ke=(e,t,o)=>{e.cells[t]=o},Ee=(e,t)=>Re(e.element,t,e.section,e.isNew),_e=(e,t)=>e.cells[t],Ne=(e,t)=>_e(e,t).element,Be=e=>e.cells.length,ze=e=>{const t=N(e,e=>"colgroup"===e.section);return{rows:t.fail,cols:t.pass}},Ae=(e,t,o)=>{const n=E(e.cells,o);return Re(t(e.element),n,e.section,!0)},Le=e=>{if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},Me={fromHtml:(e,t)=>{const o=(t||document).createElement("div");if(o.innerHTML=e,!o.hasChildNodes()||o.childNodes.length>1){const t="HTML does not have a single root node";throw console.error(t,e),new Error(t)}return Le(o.childNodes[0])},fromTag:(e,t)=>{const o=(t||document).createElement(e);return Le(o)},fromText:(e,t)=>{const o=(t||document).createTextNode(e);return Le(o)},fromDom:Le,fromPoint:(e,t,o)=>C.from(e.dom.elementFromPoint(t,o)).map(Le)},We=(e,t)=>{const o=e.document.createRange();return o.selectNode(t.dom),o},je=(e,t)=>{const o=e.document.createRange();return Pe(o,t),o},Pe=(e,t)=>e.selectNodeContents(t.dom),Ie=(e,t,o)=>{const n=e.document.createRange();var r;return r=n,t.fold(e=>{r.setStartBefore(e.dom)},(e,t)=>{r.setStart(e.dom,t)},e=>{r.setStartAfter(e.dom)}),((e,t)=>{t.fold(t=>{e.setEndBefore(t.dom)},(t,o)=>{e.setEnd(t.dom,o)},t=>{e.setEndAfter(t.dom)})})(n,o),n},Fe=(e,t,o,n,r)=>{const s=e.document.createRange();return s.setStart(t.dom,o),s.setEnd(n.dom,r),s},He=e=>({left:e.left,top:e.top,right:e.right,bottom:e.bottom,width:e.width,height:e.height}),$e=Z([{ltr:["start","soffset","finish","foffset"]},{rtl:["start","soffset","finish","foffset"]}]),Ve=(e,t,o)=>t(Me.fromDom(o.startContainer),o.startOffset,Me.fromDom(o.endContainer),o.endOffset),qe=(e,t)=>{const o=((e,t)=>t.match({domRange:e=>({ltr:g(e),rtl:C.none}),relative:(t,o)=>({ltr:ye(()=>Ie(e,t,o)),rtl:ye(()=>C.some(Ie(e,o,t)))}),exact:(t,o,n,r)=>({ltr:ye(()=>Fe(e,t,o,n,r)),rtl:ye(()=>C.some(Fe(e,n,r,t,o)))})}))(e,t);return((e,t)=>{const o=t.ltr();return o.collapsed?t.rtl().filter(e=>!1===e.collapsed).map(e=>$e.rtl(Me.fromDom(e.endContainer),e.endOffset,Me.fromDom(e.startContainer),e.startOffset)).getOrThunk(()=>Ve(0,$e.ltr,o)):Ve(0,$e.ltr,o)})(0,o)},Ue=(e,t)=>qe(e,t).match({ltr:(t,o,n,r)=>{const s=e.document.createRange();return s.setStart(t.dom,o),s.setEnd(n.dom,r),s},rtl:(t,o,n,r)=>{const s=e.document.createRange();return s.setStart(n.dom,r),s.setEnd(t.dom,o),s}});$e.ltr,$e.rtl;const Ge=(e,t)=>{const o=e.dom;if(1!==o.nodeType)return!1;{const e=o;if(void 0!==e.matches)return e.matches(t);if(void 0!==e.msMatchesSelector)return e.msMatchesSelector(t);if(void 0!==e.webkitMatchesSelector)return e.webkitMatchesSelector(t);if(void 0!==e.mozMatchesSelector)return e.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")}},Ke=e=>1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType||0===e.childElementCount,Ye=(e,t)=>{const o=void 0===t?document:t.dom;return Ke(o)?C.none():C.from(o.querySelector(e)).map(Me.fromDom)},Je=(e,t)=>e.dom===t.dom,Qe=(e,t)=>{const o=e.dom,n=t.dom;return o!==n&&o.contains(n)},Xe=Ge,Ze=()=>et(0,0),et=(e,t)=>({major:e,minor:t}),tt={nu:et,detect:(e,t)=>{const o=String(t).toLowerCase();return 0===e.length?Ze():((e,t)=>{const o=((e,t)=>{for(let o=0;oNumber(t.replace(o,"$"+e));return et(n(1),n(2))})(e,o)},unknown:Ze},ot=(e,t)=>{const o=String(t).toLowerCase();return L(e,e=>e.search(o))},nt=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,rt=e=>t=>he(t,e),st=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:e=>he(e,"edge/")&&he(e,"chrome")&&he(e,"safari")&&he(e,"applewebkit")},{name:"Chromium",brand:"Chromium",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,nt],search:e=>he(e,"chrome")&&!he(e,"chromeframe")},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:e=>he(e,"msie")||he(e,"trident")},{name:"Opera",versionRegexes:[nt,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:rt("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:rt("firefox")},{name:"Safari",versionRegexes:[nt,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:e=>(he(e,"safari")||he(e,"mobile/"))&&he(e,"applewebkit")}],lt=[{name:"Windows",search:rt("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:e=>he(e,"iphone")||he(e,"ipad"),versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:rt("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"macOS",search:rt("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:rt("linux"),versionRegexes:[]},{name:"Solaris",search:rt("sunos"),versionRegexes:[]},{name:"FreeBSD",search:rt("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:rt("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}],at={browsers:g(st),oses:g(lt)},ct="Edge",it="Chromium",mt="Opera",dt="Firefox",ut="Safari",ft=e=>{const t=e.current,o=e.version,n=e=>()=>t===e;return{current:t,version:o,isEdge:n(ct),isChromium:n(it),isIE:n("IE"),isOpera:n(mt),isFirefox:n(dt),isSafari:n(ut)}},gt=()=>ft({current:void 0,version:tt.unknown()}),ht=ft,pt=(g(ct),g(it),g("IE"),g(mt),g(dt),g(ut),"Windows"),bt="Android",wt="Linux",vt="macOS",yt="Solaris",xt="FreeBSD",Ct="ChromeOS",Tt=e=>{const t=e.current,o=e.version,n=e=>()=>t===e;return{current:t,version:o,isWindows:n(pt),isiOS:n("iOS"),isAndroid:n(bt),isMacOS:n(vt),isLinux:n(wt),isSolaris:n(yt),isFreeBSD:n(xt),isChromeOS:n(Ct)}},St=()=>Tt({current:void 0,version:tt.unknown()}),Rt=Tt,Dt=(g(pt),g("iOS"),g(bt),g(wt),g(vt),g(yt),g(xt),g(Ct),e=>window.matchMedia(e).matches);let Ot=ye(()=>((e,t,o)=>{const n=at.browsers(),r=at.oses(),s=t.bind(e=>((e,t)=>V(t.brands,t=>{const o=t.brand.toLowerCase();return L(e,e=>o===e.brand?.toLowerCase()).map(e=>({current:e.name,version:tt.nu(parseInt(t.version,10),0)}))}))(n,e)).orThunk(()=>((e,t)=>ot(e,t).map(e=>{const o=tt.detect(e.versionRegexes,t);return{current:e.name,version:o}}))(n,e)).fold(gt,ht),l=((e,t)=>ot(e,t).map(e=>{const o=tt.detect(e.versionRegexes,t);return{current:e.name,version:o}}))(r,e).fold(St,Rt),a=((e,t,o,n)=>{const r=e.isiOS()&&!0===/ipad/i.test(o),s=e.isiOS()&&!r,l=e.isiOS()||e.isAndroid(),a=l||n("(pointer:coarse)"),c=r||!s&&l&&n("(min-device-width:768px)"),i=s||l&&!c,m=t.isSafari()&&e.isiOS()&&!1===/safari/i.test(o),d=!i&&!c&&!m;return{isiPad:g(r),isiPhone:g(s),isTablet:g(c),isPhone:g(i),isTouch:g(a),isAndroid:e.isAndroid,isiOS:e.isiOS,isWebView:g(m),isDesktop:g(d)}})(l,s,e,o);return{browser:s,os:l,deviceType:a}})(window.navigator.userAgent,C.from(window.navigator.userAgentData),Dt));const kt=()=>Ot(),Et=Object.getPrototypeOf,_t=e=>{const t=ue("ownerDocument.defaultView",e);return s(e)&&((e=>((e,t)=>{const o=((e,t)=>ue(e,t))(e,t);if(null==o)throw new Error(e+" not available on this browser");return o})("HTMLElement",e))(t).prototype.isPrototypeOf(e)||/^HTML\w*Element$/.test(Et(e).constructor.name))},Nt=e=>e.dom.nodeName.toLowerCase(),Bt=e=>e.dom.nodeType,zt=e=>t=>Bt(t)===e,At=e=>8===Bt(e)||"#comment"===Nt(e),Lt=e=>Mt(e)&&_t(e.dom),Mt=zt(1),Wt=zt(3),jt=zt(9),Pt=zt(11),It=e=>t=>Mt(t)&&Nt(t)===e,Ft=e=>Me.fromDom(e.dom.ownerDocument),Ht=e=>jt(e)?e:Ft(e),$t=e=>C.from(e.dom.parentNode).map(Me.fromDom),Vt=e=>C.from(e.dom.parentElement).map(Me.fromDom),qt=(e,t)=>{const o=d(t)?t:y;let n=e.dom;const r=[];for(;null!==n.parentNode&&void 0!==n.parentNode;){const e=n.parentNode,t=Me.fromDom(e);if(r.push(t),!0===o(t))break;n=e}return r},Ut=e=>C.from(e.dom.previousSibling).map(Me.fromDom),Gt=e=>C.from(e.dom.nextSibling).map(Me.fromDom),Kt=e=>E(e.dom.childNodes,Me.fromDom),Yt=(e,t)=>{const o=e.dom.childNodes;return C.from(o[t]).map(Me.fromDom)},Jt=e=>Pt(e)&&m(e.dom.host),Qt=e=>Me.fromDom(e.dom.getRootNode()),Xt=e=>Me.fromDom(e.dom.host),Zt=e=>{const t=Me.fromDom((e=>{if(m(e.target)){const t=Me.fromDom(e.target);if(Mt(t)&&m(t.dom.shadowRoot)&&e.composed&&e.composedPath){const t=e.composedPath();if(t)return H(t)}}return C.from(e.target)})(e).getOr(e.target)),o=()=>e.stopPropagation(),n=()=>e.preventDefault(),r=(s=n,l=o,(...e)=>s(l.apply(null,e)));var s,l;return((e,t,o,n,r,s,l)=>({target:e,x:t,y:o,stop:n,prevent:r,kill:s,raw:l}))(t,e.clientX,e.clientY,o,n,r,e)},eo=(e,t,o,n)=>{e.dom.removeEventListener(t,o,n)},to=x,oo=(e,t,o)=>((e,t,o,n)=>((e,t,o,n,r)=>{const s=((e,t)=>o=>{e(o)&&t(Zt(o))})(o,n);return e.dom.addEventListener(t,s,r),{unbind:b(eo,e,t,s,r)}})(e,t,o,n,!1))(e,t,to,o),no=Zt,ro=(e,t)=>{$t(e).each(o=>{o.dom.insertBefore(t.dom,e.dom)})},so=(e,t)=>{Gt(e).fold(()=>{$t(e).each(e=>{ao(e,t)})},e=>{ro(e,t)})},lo=(e,t)=>{const o=(e=>Yt(e,0))(e);o.fold(()=>{ao(e,t)},o=>{e.dom.insertBefore(t.dom,o.dom)})},ao=(e,t)=>{e.dom.appendChild(t.dom)},co=(e,t)=>{ro(e,t),ao(t,e)},io=(e,t)=>{_(t,(o,n)=>{const r=0===n?e:t[n-1];so(r,o)})},mo=(e,t)=>{_(t,t=>{ao(e,t)})},uo=(e,t,o)=>{if(!(r(o)||c(o)||u(o)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",o,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,o+"")},fo=(e,t,o)=>{uo(e.dom,t,o)},go=(e,t)=>{const o=e.dom;G(t,(e,t)=>{uo(o,t,e)})},ho=(e,t)=>{const o=e.dom.getAttribute(t);return null===o?void 0:o},po=(e,t)=>C.from(ho(e,t)),bo=(e,t)=>{e.dom.removeAttribute(t)},wo=e=>A(e.dom.attributes,(e,t)=>(e[t.name]=t.value,e),{}),vo=e=>{e.dom.textContent="",_(Kt(e),e=>{yo(e)})},yo=e=>{const t=e.dom;null!==t.parentNode&&t.parentNode.removeChild(t)},xo=e=>{const t=Kt(e);t.length>0&&io(e,t),yo(e)},Co=(e,t)=>Me.fromDom(e.dom.cloneNode(t)),To=e=>Co(e,!1),So=e=>Co(e,!0),Ro=(e,t)=>{const o=Me.fromTag(t),n=wo(e);return go(o,n),o},Do=e=>void 0!==e.style&&d(e.style.getPropertyValue),Oo=e=>{const t=Wt(e)?e.dom.parentNode:e.dom;if(null==t||null===t.ownerDocument)return!1;const o=t.ownerDocument;return(e=>{const t=Qt(e);return Jt(t)?C.some(t):C.none()})(Me.fromDom(t)).fold(()=>o.body.contains(t),(n=Oo,r=Xt,e=>n(r(e))));var n,r},ko=(e,t,o)=>{if(!r(o))throw console.error("Invalid call to CSS.set. Property ",t,":: Value ",o,":: Element ",e),new Error("CSS value must be a string: "+o);Do(e)&&e.style.setProperty(t,o)},Eo=(e,t,o)=>{const n=e.dom;ko(n,t,o)},_o=(e,t)=>{const o=e.dom;G(t,(e,t)=>{ko(o,t,e)})},No=(e,t)=>{const o=e.dom,n=window.getComputedStyle(o).getPropertyValue(t);return""!==n||Oo(e)?n:Bo(o,t)},Bo=(e,t)=>Do(e)?e.style.getPropertyValue(t):"",zo=(e,t)=>{const o=e.dom,n=Bo(o,t);return C.from(n).filter(e=>e.length>0)},Ao=(e,t)=>{((e,t)=>{Do(e)&&e.style.removeProperty(t)})(e.dom,t),ie(po(e,"style").map(we),"")&&bo(e,"style")},Lo=(e,t)=>{const o=o=>{const n=t(o);if(n<=0||null===n){const t=No(o,e);return parseFloat(t)||0}return n},n=(e,t)=>A(t,(t,o)=>{const n=No(e,o),r=void 0===n?0:parseInt(n,10);return isNaN(r)?t:t+r},0);return{set:(t,o)=>{if(!u(o)&&!o.match(/^[0-9]+$/))throw new Error(e+".set accepts only positive integer values. Value was "+o);const n=t.dom;Do(n)&&(n.style[e]=o+"px")},get:o,getOuter:o,aggregate:n,max:(e,t,o)=>{const r=n(e,o);return t>r?t-r:0}}},Mo=(e,t,o)=>((e,t)=>(e=>{const t=parseFloat(e);return isNaN(t)?C.none():C.some(t)})(e).getOr(t))(No(e,t),o),Wo=Lo("height",e=>{const t=e.dom;return Oo(e)?t.getBoundingClientRect().height:t.offsetHeight}),jo=e=>Wo.get(e),Po=e=>Wo.getOuter(e),Io=Lo("width",e=>{const t=e.dom;return Oo(e)?t.getBoundingClientRect().width:t.offsetWidth}),Fo=e=>Io.get(e),Ho=e=>Io.getOuter(e),$o=e=>((e,t)=>{const o=e.dom,n=o.getBoundingClientRect().width||o.offsetWidth;return"border-box"===t?n:((e,t,o,n)=>t-Mo(e,`padding-${o}`,0)-Mo(e,`padding-${n}`,0)-Mo(e,`border-${o}-width`,0)-Mo(e,`border-${n}-width`,0))(e,n,"left","right")})(e,"content-box"),Vo=(e,t)=>({left:e,top:t,translate:(o,n)=>Vo(e+o,t+n)}),qo=Vo,Uo=(e,t)=>void 0!==e?e:void 0!==t?t:0,Go=e=>{const t=e.dom.ownerDocument,o=t.body,n=t.defaultView,r=t.documentElement;if(o===e.dom)return qo(o.offsetLeft,o.offsetTop);const s=Uo(n?.pageYOffset,r.scrollTop),l=Uo(n?.pageXOffset,r.scrollLeft),a=Uo(r.clientTop,o.clientTop),c=Uo(r.clientLeft,o.clientLeft);return Ko(e).translate(l-c,s-a)},Ko=e=>{const t=e.dom,o=t.ownerDocument.body;return o===t?qo(o.offsetLeft,o.offsetTop):Oo(e)?(e=>{const t=e.getBoundingClientRect();return qo(t.left,t.top)})(t):qo(0,0)},Yo=(e=>{const t=t=>e(t)?C.from(t.dom.nodeValue):C.none();return{get:o=>{if(!e(o))throw new Error("Can only get text value of a text node");return t(o).getOr("")},getOption:t,set:(t,o)=>{if(!e(t))throw new Error("Can only set raw text value of a text node");t.dom.nodeValue=o}}})(Wt),Jo=e=>Yo.get(e),Qo=e=>Yo.getOption(e),Xo=(e,t)=>Yo.set(e,t),Zo=(e,t)=>o=>"rtl"===en(o)?t:e,en=e=>"rtl"===No(e,"direction")?"rtl":"ltr";var tn=(e,t,o,n,r)=>e(o,n)?C.some(o):d(r)&&r(o)?C.none():t(o,n,r);const on=(e,t,o)=>{let n=e.dom;const r=d(o)?o:y;for(;n.parentNode;){n=n.parentNode;const e=Me.fromDom(n);if(t(e))return C.some(e);if(r(e))break}return C.none()},nn=(e,t,o)=>tn((e,t)=>t(e),on,e,t,o),rn=(e,t,o)=>on(e,e=>Ge(e,t),o),sn=(e,t)=>(e=>L(e.dom.childNodes,e=>{return o=Me.fromDom(e),Ge(o,t);var o}).map(Me.fromDom))(e),ln=(e,t)=>Ye(t,e),an=(e,t,o)=>tn((e,t)=>Ge(e,t),rn,e,t,o),cn=e=>void 0!==e.dom.classList,mn=(e,t)=>((e,t,o)=>{const n=((e,t)=>{const o=ho(e,t);return void 0===o||""===o?[]:o.split(" ")})(e,t).concat([o]);return fo(e,t,n.join(" ")),!0})(e,"class",t),dn=(e,t)=>{cn(e)?e.dom.classList.add(t):mn(e,t)},un=(e,t)=>cn(e)&&e.dom.classList.contains(t),fn=e=>an(e,"[contenteditable]"),gn=(e,t=!1)=>Oo(e)?e.dom.isContentEditable:fn(e).fold(g(t),e=>"true"===hn(e)),hn=e=>e.dom.contentEditable,pn=(e,t)=>{let o=[];return _(Kt(e),e=>{t(e)&&(o=o.concat([e])),o=o.concat(pn(e,t))}),o},bn=(e,t,o)=>((e,o,n)=>B(qt(e,n),e=>Ge(e,t)))(e,0,o),wn=(e,t)=>(e=>B(Kt(e),e=>Ge(e,t)))(e),vn=(e,t)=>((e,t)=>{const o=void 0===t?document:t.dom;return Ke(o)?[]:E(o.querySelectorAll(e),Me.fromDom)})(t,e),yn=e=>"img"===Nt(e)?1:Qo(e).fold(()=>Kt(e).length,e=>e.length),xn=["img","br"],Cn=e=>Qo(e).filter(e=>0!==e.trim().length||e.indexOf("\xa0")>-1).isSome()||D(xn,Nt(e))||(e=>Lt(e)&&"false"===ho(e,"contenteditable"))(e),Tn=e=>((e,t)=>{const o=e=>{for(let n=0;nRn(e,Cn),Rn=(e,t)=>{const o=e=>{const n=Kt(e);for(let e=n.length-1;e>=0;e--){const r=n[e];if(t(r))return C.some(r);const s=o(r);if(s.isSome())return s}return C.none()};return o(e)},Dn=(e,t,o,n)=>({start:e,soffset:t,finish:o,foffset:n}),On=Z([{before:["element"]},{on:["element","offset"]},{after:["element"]}]),kn={before:On.before,on:On.on,after:On.after,cata:(e,t,o,n)=>e.fold(t,o,n),getStart:e=>e.fold(h,h,h)},En=Z([{domRange:["rng"]},{relative:["startSitu","finishSitu"]},{exact:["start","soffset","finish","foffset"]}]),_n={domRange:En.domRange,relative:En.relative,exact:En.exact,exactFromRange:e=>En.exact(e.start,e.soffset,e.finish,e.foffset),getWin:e=>{const t=(e=>e.match({domRange:e=>Me.fromDom(e.startContainer),relative:(e,t)=>kn.getStart(e),exact:(e,t,o,n)=>e}))(e);return Me.fromDom(Ht(t).dom.defaultView)},range:Dn},Nn=(e,t)=>{const o=Nt(e);return"input"===o?kn.after(e):D(["br","img"],o)?0===t?kn.before(e):kn.after(e):kn.on(e,t)},Bn=e=>C.from(e.getSelection()),zn=(e,t)=>{Bn(e).each(e=>{e.removeAllRanges(),e.addRange(t)})},An=(e,t,o,n,r)=>{const s=Fe(e,t,o,n,r);zn(e,s)},Ln=(e,t)=>qe(e,t).match({ltr:(t,o,n,r)=>{An(e,t,o,n,r)},rtl:(t,o,n,r)=>{Bn(e).each(s=>{if(s.setBaseAndExtent)s.setBaseAndExtent(t.dom,o,n.dom,r);else if(s.extend)try{((e,t,o,n,r,s)=>{t.collapse(o.dom,n),t.extend(r.dom,s)})(0,s,t,o,n,r)}catch{An(e,n,r,t,o)}else An(e,n,r,t,o)})}}),Mn=(e,t,o,n,r)=>{const s=((e,t,o,n)=>{const r=Nn(e,t),s=Nn(o,n);return _n.relative(r,s)})(t,o,n,r);Ln(e,s)},Wn=(e,t,o)=>{const n=((e,t)=>{const o=e.fold(kn.before,Nn,kn.after),n=t.fold(kn.before,Nn,kn.after);return _n.relative(o,n)})(t,o);Ln(e,n)},jn=e=>{if(e.rangeCount>0){const t=e.getRangeAt(0),o=e.getRangeAt(e.rangeCount-1);return C.some(Dn(Me.fromDom(t.startContainer),t.startOffset,Me.fromDom(o.endContainer),o.endOffset))}return C.none()},Pn=e=>{if(null===e.anchorNode||null===e.focusNode)return jn(e);{const t=Me.fromDom(e.anchorNode),o=Me.fromDom(e.focusNode);return((e,t,o,n)=>{const r=((e,t,o,n)=>{const r=Ft(e).dom.createRange();return r.setStart(e.dom,t),r.setEnd(o.dom,n),r})(e,t,o,n),s=Je(e,o)&&t===n;return r.collapsed&&!s})(t,e.anchorOffset,o,e.focusOffset)?C.some(Dn(t,e.anchorOffset,o,e.focusOffset)):jn(e)}},In=(e,t,o=!0)=>{const n=(o?je:We)(e,t);zn(e,n)},Fn=e=>(e=>Bn(e).filter(e=>e.rangeCount>0).bind(Pn))(e).map(e=>_n.exact(e.start,e.soffset,e.finish,e.foffset)),Hn=(e,t,o)=>((e,t,o)=>((e,t,o)=>e.caretPositionFromPoint?((e,t,o)=>C.from(e.caretPositionFromPoint?.(t,o)).bind(t=>{if(null===t.offsetNode)return C.none();const o=e.createRange();return o.setStart(t.offsetNode,t.offset),o.collapse(),C.some(o)}))(e,t,o):e.caretRangeFromPoint?((e,t,o)=>C.from(e.caretRangeFromPoint?.(t,o)))(e,t,o):C.none())(e.document,t,o).map(e=>Dn(Me.fromDom(e.startContainer),e.startOffset,Me.fromDom(e.endContainer),e.endOffset)))(e,t,o),$n={unsupportedLength:["em","ex","cap","ch","ic","rem","lh","rlh","vw","vh","vi","vb","vmin","vmax","cm","mm","Q","in","pc","pt","px"],fixed:["px","pt"],relative:["%"],empty:[""]},Vn=(()=>{const e="[0-9]+",t="[eE][+-]?"+e,o=e=>`(?:${e})?`,n=["Infinity",e+"\\."+o(e)+o(t),"\\."+e+o(t),e+o(t)].join("|");return new RegExp(`^([+-]?(?:${n}))(.*)$`)})(),qn=e=>E(e,g(0)),Un=(e,t,o,n,r)=>r(e.slice(0,t)).concat(n).concat(r(e.slice(o))),Gn=e=>(t,o,n,r)=>{if(e(n)){const e=Math.max(r,t[o]-Math.abs(n)),s=Math.abs(e-t[o]);return n>=0?s:-s}return n},Kn=Gn(e=>e<0),Yn=Gn(x),Jn=()=>{const e=(e,t,o,n)=>{const r=(100+o)/100,s=Math.max(n,(e[t]+o)/r);return E(e,(e,o)=>(o===t?s:e/r)-e)},t=(t,o,n,r,s,l)=>l?e(t,o,r,s):((e,t,o,n,r)=>{const s=Kn(e,t,n,r);return Un(e,t,o+1,[s,0],qn)})(t,o,n,r,s);return{resizeTable:(e,t)=>e(t),clampTableDelta:Kn,calcLeftEdgeDeltas:t,calcMiddleDeltas:(e,o,n,r,s,l,a)=>t(e,n,r,s,l,a),calcRightEdgeDeltas:(t,o,n,r,s,l)=>{if(l)return e(t,n,r,s);{const e=Kn(t,n,r,s);return qn(t.slice(0,n)).concat([e])}},calcRedestributedWidths:(e,t,o,n)=>{if(n){const n=(t+o)/t,r=E(e,e=>e/n);return{delta:100*n-100,newSizes:r}}return{delta:o,newSizes:e}}}},Qn=()=>{const e=(e,t,o,n,r)=>{const s=Yn(e,n>=0?o:t,n,r);return Un(e,t,o+1,[s,-s],qn)};return{resizeTable:(e,t,o)=>{o&&e(t)},clampTableDelta:(e,t,o,n,r)=>{if(r){if(o>=0)return o;{const t=A(e,(e,t)=>e+t-n,0);return Math.max(-t,o)}}return Kn(e,t,o,n)},calcLeftEdgeDeltas:e,calcMiddleDeltas:(t,o,n,r,s,l)=>e(t,n,r,s,l),calcRightEdgeDeltas:(e,t,o,n,r,s)=>{if(s)return qn(e);{const t=n/e.length;return E(e,g(t))}},calcRedestributedWidths:(e,t,o,n)=>({delta:0,newSizes:e})}},Xn=(e,t,o=0)=>po(e,t).map(e=>parseInt(e,10)).getOr(o),Zn=(e,t)=>Xn(e,t,1),er=e=>It("col")(e)?Xn(e,"span",1)>1:Zn(e,"colspan")>1,tr=(e,t)=>parseInt(No(e,t),10),or=g(10),nr=g(10),rr=(e,t)=>sr(e,t,x),sr=(e,t,o)=>j(Kt(e),e=>Ge(e,t)?o(e)?[e]:[]:sr(e,t,o)),lr=(e,t)=>((e,t,o=y)=>o(t)?C.none():D(e,Nt(t))?C.some(t):rn(t,e.join(","),e=>Ge(e,"table")||o(e)))(["td","th"],e,t),ar=e=>rr(e,"th,td"),cr=e=>Ge(e,"colgroup")?wn(e,"col"):j(dr(e),e=>wn(e,"col")),ir=(e,t)=>an(e,"table",t),mr=e=>rr(e,"tr"),dr=e=>ir(e).fold(g([]),e=>wn(e,"colgroup")),ur=It("th"),fr=e=>P(e,e=>ur(e.element)),gr=(e,t)=>e&&t?"sectionCells":e?"section":"cells",hr=e=>{const t="thead"===e.section,o=ie(pr(e.cells),"th");return"tfoot"===e.section?{type:"footer"}:t||o?{type:"header",subType:gr(t,o)}:{type:"body"}},pr=e=>{const t=B(e,e=>ur(e.element));return 0===t.length?C.some("td"):t.length===e.length?C.some("th"):C.none()},br=(e,t)=>E(e,e=>{if("colgroup"===Nt(e)){const t=E(cr(e),e=>{const t=Xn(e,"span",1);return Ce(e,1,t)});return Te(e,t,"colgroup")}{const o=E(ar(e),e=>{const t=Xn(e,"rowspan",1),o=Xn(e,"colspan",1);return Ce(e,t,o)});return Te(e,o,t(e))}}),wr=e=>$t(e).map(e=>{const t=Nt(e);return(e=>D(xe,e))(t)?t:"tbody"}).getOr("tbody"),vr=e=>{const t=mr(e),o=[...dr(e),...t];return br(o,wr)},yr="data-snooker-locked-cols",xr=e=>po(e,yr).bind(e=>C.from(e.match(/\d+/g))).map(e=>I(e,x)),Cr=e=>{const t=A(ze(e).rows,(e,t)=>(_(t.cells,(t,o)=>{t.isLocked&&(e[o]=!0)}),e),{}),o=J(t,(e,t)=>parseInt(t,10));return(e=>{const t=T.call(e,0);return t.sort(void 0),t})(o)},Tr=(e,t)=>e+","+t,Sr=(e,t)=>{const o=j(e.all,e=>e.cells);return B(o,t)},Rr=e=>{const t={},o=[],n=H(e).map(e=>e.element).bind(ir).bind(xr).getOr({});let r=0,s=0,l=0;const{pass:a,fail:c}=N(e,e=>"colgroup"===e.section);_(c,e=>{const a=[];_(e.cells,e=>{let o=0;for(;void 0!==t[Tr(l,o)];)o++;const r=((e,t)=>X(e,t)&&void 0!==e[t]&&null!==e[t])(n,o.toString()),c=((e,t,o,n,r,s)=>({element:e,rowspan:t,colspan:o,row:n,column:r,isLocked:s}))(e.element,e.rowspan,e.colspan,l,o,r);for(let n=0;n{const t=(e=>{const t={};let o=0;return _(e.cells,e=>{const n=e.colspan;k(n,r=>{const s=o+r;t[s]=((e,t,o)=>({element:e,colspan:t,column:o}))(e.element,n,s)}),o+=n}),t})(e),o=((e,t)=>({element:e,columns:t}))(e.element,Q(t));return{colgroups:[o],columns:t}}).getOrThunk(()=>({colgroups:[],columns:{}})),d=((e,t)=>({rows:e,columns:t}))(r,s);return{grid:d,access:t,all:o,columns:i,colgroups:m}},Dr=e=>{const t=vr(e);return Rr(t)},Or=Rr,kr=(e,t,o)=>C.from(e.access[Tr(t,o)]),Er=(e,t,o)=>{const n=Sr(e,e=>o(t,e.element));return n.length>0?C.some(n[0]):C.none()},_r=Sr,Nr=e=>j(e.all,e=>e.cells),Br=e=>Q(e.columns),zr=e=>q(e.columns).length>0,Ar=(e,t)=>C.from(e.columns[t]),Lr=(e,t,o)=>Se(o(e.element,t),!0,e.isLocked),Mr=(e,t)=>e.section!==t?Re(e.element,e.cells,t,e.isNew):e,Wr=()=>({transformRow:Mr,transformCell:(e,t,o)=>{const n=o(e.element,t),r="td"!==Nt(n)?(e=>{const t=Ro(e,"td");so(e,t);const o=Kt(e);return mo(t,o),yo(e),t})(n):n;return Se(r,e.isNew,e.isLocked)}}),jr=()=>({transformRow:Mr,transformCell:Lr}),Pr=()=>({transformRow:(e,t)=>Mr(e,"thead"===t?"tbody":t),transformCell:Lr}),Ir=Wr,Fr=jr,Hr=Pr,$r=()=>({transformRow:h,transformCell:Lr}),Vr=(e,t=x)=>{const o=e.grid,n=k(o.columns,h),r=k(o.rows,h);return E(n,o=>qr(()=>j(r,t=>kr(e,t,o).filter(e=>e.column===o).toArray()),e=>1===e.colspan&&t(e.element),()=>kr(e,0,o)))},qr=(e,t,o)=>{const n=e();return L(n,t).orThunk(()=>C.from(n[0]).orThunk(o)).map(e=>e.element)},Ur=e=>{const t=e.grid,o=k(t.rows,h),n=k(t.columns,h);return E(o,t=>qr(()=>j(n,o=>kr(e,t,o).filter(e=>e.row===t).fold(g([]),e=>[e])),e=>1===e.rowspan,()=>kr(e,t,0)))},Gr=(e,t)=>({row:e,y:t}),Kr=(e,t)=>({col:e,x:t}),Yr=e=>Go(e).left+Ho(e),Jr=e=>Go(e).left,Qr=(e,t)=>Kr(e,Jr(t)),Xr=(e,t)=>Kr(e,Yr(t)),Zr=e=>Go(e).top,es=(e,t)=>Gr(e,Zr(t)),ts=(e,t)=>Gr(e,Zr(t)+Po(t)),os=(e,t,o)=>{if(0===o.length)return[];const n=E(o.slice(1),(t,o)=>t.map(t=>e(o,t))),r=o[o.length-1].map(e=>t(o.length-1,e));return n.concat([r])},ns={delta:h,positions:e=>os(es,ts,e),edge:Zr},rs=Zo({delta:h,edge:Jr,positions:e=>os(Qr,Xr,e)},{delta:e=>-e,edge:Yr,positions:e=>os(Xr,Qr,e)}),ss={delta:(e,t)=>rs(t).delta(e,t),positions:(e,t)=>rs(t).positions(e,t),edge:e=>rs(e).edge(e)},ls=/(\d+(\.\d+)?)%/,as=/(\d+(\.\d+)?)px|em/,cs=It("col"),is=It("tr"),ms=(e,t,o)=>{const n=Vt(e).getOrThunk(()=>(e=>{const t=e.dom.body;if(null==t)throw new Error("Body is not available yet");return Me.fromDom(t)})(Ft(e)));return t(e)/o(n)*100},ds=(e,t)=>{Eo(e,"width",t+"px")},us=(e,t)=>{Eo(e,"width",t+"%")},fs=(e,t)=>{Eo(e,"height",t+"px")},gs=e=>{const t=(e=>{return Mo(t=e,"height",t.dom.offsetHeight)+"px";var t})(e);return t?((e,t,o,n)=>{const r=parseFloat(e);return be(e,"%")&&"table"!==Nt(t)?((e,t,o,n)=>{const r=ir(e).map(e=>{const n=o(e);return Math.floor(t/100*n)}).getOr(t);return n(e,r),r})(t,r,o,n):r})(t,e,jo,fs):jo(e)},hs=(e,t)=>zo(e,t).orThunk(()=>po(e,t).map(e=>e+"px")),ps=e=>hs(e,"width"),bs=e=>ms(e,Fo,$o),ws=e=>{return cs(e)?Math.round(Fo(e)):Mo(t=e,"width",t.dom.offsetWidth);var t},vs=e=>is(e)?jo(e):((e,t,o)=>o(e)/Zn(e,"rowspan"))(e,0,gs),ys=(e,t,o)=>{Eo(e,"width",t+o)},xs=e=>ms(e,Fo,$o)+"%",Cs=g(ls),Ts=It("col"),Ss=e=>ps(e).getOrThunk(()=>ws(e)+"px"),Rs=e=>{return(t=e,hs(t,"height")).getOrThunk(()=>vs(e)+"px");var t},Ds=(e,t,o,n,r,s)=>e.filter(n).fold(()=>s(((e,t)=>{if(t<0||t>=e.length-1)return C.none();const o=e[t].fold(()=>{const o=(e=>{const t=T.call(e,0);return t.reverse(),t})(e.slice(0,t));return V(o,(e,t)=>e.map(e=>({value:e,delta:t+1})))},e=>C.some({value:e,delta:0})),n=e[t+1].fold(()=>{const o=e.slice(t+1);return V(o,(e,t)=>e.map(e=>({value:e,delta:t+1})))},e=>C.some({value:e,delta:1}));return o.bind(e=>n.map(t=>{const o=t.delta+e.delta;return Math.abs(t.value-e.value)/o}))})(o,t)),e=>r(e)),Os=(e,t,o,n)=>{const r=Vr(e),s=zr(e)?(e=>E(Br(e),e=>C.from(e.element)))(e):r,l=[C.some(ss.edge(t))].concat(E(ss.positions(r,t),e=>e.map(e=>e.x))),a=w(er);return E(s,(e,t)=>Ds(e,t,l,a,e=>{if((e=>{const t=kt().browser,o=t.isChromium()||t.isFirefox();return!Ts(e)||o})(e))return o(e);{const e=null!=(s=r[t])?h(s):C.none();return Ds(e,t,l,a,e=>n(C.some(Math.round(Fo(e)))),n)}var s},n))},ks=e=>e.map(e=>e+"px").getOr(""),Es=(e,t,o)=>Os(e,t,ws,e=>e.getOrThunk(o.minCellWidth)),_s=(e,t,o,n)=>{const r=Ur(e),s=E(e.all,e=>C.some(e.element)),l=[C.some(ns.edge(t))].concat(E(ns.positions(r,t),e=>e.map(e=>e.y)));return E(s,(e,t)=>Ds(e,t,l,x,o,n))},Ns=(e,t)=>()=>Oo(e)?t(e):parseFloat(zo(e,"width").getOr("0")),Bs=e=>{const t=Ns(e,e=>parseFloat(xs(e))),o=Ns(e,Fo);return{width:t,pixelWidth:o,getWidths:(t,o)=>((e,t,o)=>Os(e,t,bs,e=>e.fold(()=>o.minCellWidth(),e=>e/o.pixelWidth()*100)))(t,e,o),getCellDelta:e=>e/o()*100,singleColumnWidth:(e,t)=>[100-e],minCellWidth:()=>or()/o()*100,setElementWidth:us,adjustTableWidth:o=>{const n=t();us(e,n+o/100*n)},isRelative:!0,label:"percent"}},zs=e=>{const t=Ns(e,Fo);return{width:t,pixelWidth:t,getWidths:(t,o)=>Es(t,e,o),getCellDelta:h,singleColumnWidth:(e,t)=>[Math.max(or(),e+t)-e],minCellWidth:or,setElementWidth:ds,adjustTableWidth:o=>{const n=t()+o;ds(e,n)},isRelative:!1,label:"pixel"}},As=e=>ps(e).fold(()=>(e=>{const t=Ns(e,Fo),o=g(0);return{width:t,pixelWidth:t,getWidths:(t,o)=>Es(t,e,o),getCellDelta:o,singleColumnWidth:g([0]),minCellWidth:o,setElementWidth:f,adjustTableWidth:f,isRelative:!0,label:"none"}})(e),t=>((e,t)=>null!==Cs().exec(t)?Bs(e):zs(e))(e,t)),Ls=zs,Ms=Bs,Ws=(e,t,o,n)=>{o===n?bo(e,t):fo(e,t,o)},js=(e,t,o)=>{$(wn(e,t)).fold(()=>lo(e,o),e=>so(e,o))},Ps=(e,t)=>{const o=[],n=[],r=e=>E(e,e=>{e.isNew&&o.push(e.element);const t=e.element;return vo(t),_(e.cells,e=>{e.isNew&&n.push(e.element),Ws(e.element,"colspan",e.colspan,1),Ws(e.element,"rowspan",e.rowspan,1),ao(t,e.element)}),t}),s=e=>j(e,e=>E(e.cells,e=>(Ws(e.element,"span",e.colspan,1),e.element))),l=(t,o)=>{const n=((e,t)=>{const o=sn(e,t).getOrThunk(()=>{const o=Me.fromTag(t,Ft(e).dom);return"thead"===t?js(e,"caption,colgroup",o):"colgroup"===t?js(e,"caption",o):ao(e,o),o});return vo(o),o})(e,o),l=("colgroup"===o?s:r)(t);mo(n,l)},a=(t,o)=>{t.length>0?l(t,o):(t=>{sn(e,t).each(yo)})(o)},c=[],i=[],m=[],d=[];return _(t,e=>{switch(e.section){case"thead":c.push(e);break;case"tbody":i.push(e);break;case"tfoot":m.push(e);break;case"colgroup":d.push(e)}}),a(d,"colgroup"),a(c,"thead"),a(i,"tbody"),a(m,"tfoot"),{newRows:o,newCells:n}},Is=(e,t)=>{if(0===e.length)return 0;const o=e[0];return M(e,e=>!t(o.element,e.element)).getOr(e.length)},Fs=(e,t)=>{const o=E(e,e=>E(e.cells,y));return E(e,(n,r)=>{const s=j(n.cells,(n,s)=>{if(!1===o[r][s]){const m=((e,t,o,n)=>{const r=((e,t)=>e[t])(e,t),s="colgroup"===r.section,l=Is(r.cells.slice(o),n),a=s?1:Is(((e,t)=>E(e,e=>_e(e,t)))(e.slice(t),o),n);return{colspan:l,rowspan:a}})(e,r,s,t);return((e,t,n,r)=>{for(let s=e;s({element:e,cells:t,section:o,isNew:n}))(n.element,s,n.section,n.isNew)})},Hs=(e,t,o)=>{const n=[];_(e.colgroups,r=>{const s=[];for(let n=0;nSe(e.element,o,!1)).getOrThunk(()=>Se(t.colGap(),!0,!1));s.push(r)}n.push(Re(r.element,s,"colgroup",o))});for(let r=0;rSe(e.element,o,e.isLocked)).getOrThunk(()=>Se(t.gap(),!0,!1));s.push(l)}const l=e.all[r],a=Re(l.element,s,l.section,o);n.push(a)}return n},$s=e=>Fs(e,Je),Vs=(e,t)=>V(e.all,e=>L(e.cells,e=>Je(t,e.element))),qs=(e,t,o)=>{const n=E(t.selection,t=>lr(t).bind(t=>Vs(e,t)).filter(o)),r=me(n);return de(r.length>0,r)},Us=(e,t,o,n,r,s,l,a,c)=>{const i=Dr(s),m=C.from(c?.section).getOrThunk($r);return t(i,l).map(t=>{const o=((e,t)=>Hs(e,t,!1))(i,a),n=e(o,t,Je,r(a),m),s=Cr(n.grid);return{info:t,grid:$s(n.grid),cursor:n.cursor,lockedColumns:s}}).bind(e=>{const t=Ps(s,e.grid),r=C.from(c?.sizing).getOrThunk(()=>As(s)),l=C.from(c?.resize).getOrThunk(Qn);return o(s,e.grid,e.info,{sizing:r,resize:l,section:m}),n(s),bo(s,yr),e.lockedColumns.length>0&&fo(s,yr,e.lockedColumns.join(",")),C.some({cursor:e.cursor,newRows:t.newRows,newCells:t.newCells})})},Gs=(e,t)=>lr(t.element).bind(o=>Vs(e,o).map(e=>({...e,generators:t.generators,clipboard:t.clipboard}))),Ks=(e,t)=>qs(e,t,x).map(e=>({cells:e,generators:t.generators,clipboard:t.clipboard})),Ys=(e,t)=>qs(e,t,x),Js=(e,t)=>qs(e,t,e=>!e.isLocked),Qs=(e,t)=>P(t,t=>((e,t)=>Vs(e,t).exists(e=>!e.isLocked))(e,t)),Xs=(e,t)=>((e,t)=>t.mergable)(0,t).filter(t=>Qs(e,t.cells)),Zs=(e,t)=>((e,t)=>t.unmergable)(0,t).filter(t=>Qs(e,t)),el={...Z([{none:[]},{only:["index"]},{left:["index","next"]},{middle:["prev","index","next"]},{right:["prev","index"]}])},tl=(e,t,o)=>{const n=((e,t)=>zr(e)?((e,t)=>{const o=Br(e);return E(o,(e,o)=>({element:e.element,width:t[o],colspan:e.colspan}))})(e,t):((e,t)=>{const o=Nr(e);return E(o,e=>{const o=((e,t,o)=>{let n=0;for(let r=e;r{o.setElementWidth(e.element,e.width)})},ol=(e,t,o,n,r)=>{const s=Dr(e),l=r.getCellDelta(t),a=r.getWidths(s,r),c=o===s.grid.columns-1,i=n.clampTableDelta(a,o,l,r.minCellWidth(),c),m=((e,t,o,n,r)=>{const s=e.slice(0),l=((e,t)=>0===e.length?el.none():1===e.length?el.only(0):0===t?el.left(0,1):t===e.length-1?el.right(t-1,t):t>0&&tn.singleColumnWidth(s[e],o),(e,t)=>r.calcLeftEdgeDeltas(s,e,t,o,n.minCellWidth(),n.isRelative),(e,t,l)=>r.calcMiddleDeltas(s,e,t,l,o,n.minCellWidth(),n.isRelative),(e,t)=>r.calcRightEdgeDeltas(s,e,t,o,n.minCellWidth(),n.isRelative))})(a,o,i,r,n),d=E(m,(e,t)=>e+a[t]);tl(s,d,r),n.resizeTable(r.adjustTableWidth,i,c)},nl=(e,t,o)=>{const n=Dr(e),r=((e,t)=>_s(e,t,vs,e=>e.getOrThunk(nr)))(n,e),s=E(r,(e,n)=>o===n?Math.max(t+e,nr()):e),l=((e,t)=>E(e.all,(e,o)=>({element:e.element,height:t[o]})))(n,s);_(l,e=>{fs(e.element,e.height)}),_(Nr(n),e=>{(e=>{Ao(e,"height")})(e.element)});const a=z(s,(e,t)=>e+t,0);fs(e,a)},rl=(e,t)=>{if(!er(e)){const o=(e=>ps(e).bind(e=>{return t=e,o=["fixed","relative","empty"],C.from(Vn.exec(t)).bind(e=>{const t=Number(e[1]),n=e[2];return((e,t)=>O(t,t=>O($n[t],t=>e===t)))(n,o)?C.some({value:t,unit:n}):C.none()});var t,o}))(e);o.each(o=>{const n=o.value/2;ys(e,n,o.unit),ys(t,n,o.unit)})}},sl=(e,t,o)=>{const n=Xn(e,t,1);1===o||n<=1?bo(e,t):fo(e,t,Math.min(o,n))},ll=(e,t)=>o=>{const n=o.column+o.colspan-1,r=o.column;return n>=e&&r{const n=e[o].element,r=Me.fromTag("td");ao(r,Me.fromTag("br")),(t?ao:lo)(n,r)},cl=It("col"),il=It("colgroup"),ml=e=>"tr"===Nt(e)||il(e),dl=e=>({element:e,colspan:Xn(e,"colspan",1),rowspan:Xn(e,"rowspan",1)}),ul=e=>po(e,"scope").map(e=>e.substr(0,3)),fl=(e,t=dl)=>{const o=o=>{if(ml(o))return il((r={element:o}).element)?e.colgroup(r):e.row(r);{const r=o,s=(t=>cl(t.element)?e.col(t):e.cell(t))(t(r));return n=C.some({item:r,replacement:s}),s}var r};let n=C.none();return{getOrInit:(e,t)=>n.fold(()=>o(e),n=>t(e,n.item)?n.replacement:o(e))}},gl=e=>t=>{const o=[],n=n=>{const r="td"===e?{scope:null}:{},s=t.replace(n,e,r);return o.push({item:n,sub:s}),s};return{replaceOrInit:(e,t)=>{if(ml(e)||cl(e))return e;{const r=e;return((e,t)=>L(o,o=>t(o.item,e)))(r,t).fold(()=>n(r),o=>t(e,o.item)?o.sub:n(r))}}}},hl=e=>({unmerge:t=>{const o=ul(t);return o.each(e=>fo(t,"scope",e)),()=>{const n=e.cell({element:t,colspan:1,rowspan:1});return Ao(n,"width"),Ao(t,"width"),o.each(e=>fo(n,"scope",e)),n}},merge:e=>(Ao(e[0],"width"),(()=>{const t=me(E(e,ul));if(0===t.length)return C.none();{const e=t[0],o=["row","col"];return O(t,t=>t!==e&&D(o,t))?C.none():C.from(e)}})().fold(()=>bo(e[0],"scope"),t=>fo(e[0],"scope",t+"group")),g(e[0]))}),pl=Z([{invalid:["raw"]},{pixels:["value"]},{percent:["value"]}]),bl=(e,t,o)=>{const n=o.substring(0,o.length-e.length),r=parseFloat(n);return n===r.toString()?t(r):pl.invalid(o)},wl={...pl,from:e=>be(e,"%")?bl("%",pl.percent,e):be(e,"px")?bl("px",pl.pixels,e):pl.invalid(e)},vl=(e,t,o)=>{const n=wl.from(o),r=P(e,e=>"0px"===e)?((e,t)=>{const o=e.fold(()=>g(""),e=>g(e/t+"px"),()=>g(100/t+"%"));return k(t,o)})(n,e.length):((e,t,o)=>e.fold(()=>t,e=>((e,t,o)=>{const n=o/t;return E(e,e=>wl.from(e).fold(()=>e,e=>e*n+"px",e=>e/100*o+"px"))})(t,o,e),e=>((e,t)=>E(e,e=>wl.from(e).fold(()=>e,e=>e/t*100+"%",e=>e+"%")))(t,o)))(n,e,t);return Cl(r)},yl=(e,t)=>0===e.length?t:z(e,(e,t)=>wl.from(t).fold(g(0),h,h)+e,0),xl=(e,t)=>wl.from(e).fold(g(e),e=>e+t+"px",e=>e+t+"%"),Cl=e=>{if(0===e.length)return e;const t=z(e,(e,t)=>{const o=wl.from(t).fold(()=>({value:t,remainder:0}),e=>(e=>{const t=Math.floor(e);return{value:t+"px",remainder:e-t}})(e),e=>({value:e+"%",remainder:0}));return{output:[o.value].concat(e.output),remainder:e.remainder+o.remainder}},{output:[],remainder:0}),o=t.output;return o.slice(0,o.length-1).concat([xl(o[o.length-1],Math.round(t.remainder))])},Tl=wl.from,Sl=(e,t,o)=>{const n=Dr(e),r=n.all,s=Nr(n),l=Br(n);t.each(t=>{const o=Tl(t).fold(g("px"),g("px"),g("%")),r=Fo(e),a=((e,t)=>Os(e,t,Ss,ks))(n,e),c=vl(a,r,t);zr(n)?((e,t,o)=>{_(t,(t,n)=>{const r=yl([e[n]],or());Eo(t.element,"width",r+o)})})(c,l,o):((e,t,o)=>{_(t,t=>{const n=e.slice(t.column,t.colspan+t.column),r=yl(n,or());Eo(t.element,"width",r+o)})})(c,s,o),Eo(e,"width",t)}),o.each(t=>{const o=jo(e),l=((e,t)=>_s(e,t,Rs,ks))(n,e);((e,t,o)=>{_(o,e=>{Ao(e.element,"height")}),_(t,(t,o)=>{Eo(t.element,"height",e[o])})})(vl(l,o,t),r,s),Eo(e,"height",t)})},Rl=e=>ps(e).exists(e=>ls.test(e)),Dl=e=>ps(e).exists(e=>as.test(e)),Ol=e=>ps(e).isNone();var kl=["body","p","div","article","aside","figcaption","figure","footer","header","nav","section","ol","ul","li","table","thead","tbody","tfoot","caption","tr","td","th","h1","h2","h3","h4","h5","h6","blockquote","pre","address"],El=()=>({up:g({selector:rn,closest:an,predicate:on,all:qt}),down:g({selector:vn,predicate:pn}),styles:g({get:No,getRaw:zo,set:Eo,remove:Ao}),attrs:g({get:ho,set:fo,remove:bo,copyTo:(e,t)=>{const o=wo(e);go(t,o)}}),insert:g({before:ro,after:so,afterAll:io,append:ao,appendAll:mo,prepend:lo,wrap:co}),remove:g({unwrap:xo,remove:yo}),create:g({nu:Me.fromTag,clone:e=>Me.fromDom(e.dom.cloneNode(!1)),text:Me.fromText}),query:g({comparePosition:(e,t)=>e.dom.compareDocumentPosition(t.dom),prevSibling:Ut,nextSibling:Gt}),property:g({children:Kt,name:Nt,parent:$t,document:e=>Ht(e).dom,isText:Wt,isComment:At,isElement:Mt,isSpecial:e=>{const t=Nt(e);return D(["script","noscript","iframe","noframes","noembed","title","style","textarea","xmp"],t)},getLanguage:e=>Mt(e)?po(e,"lang"):C.none(),getText:Jo,setText:Xo,isBoundary:e=>!!Mt(e)&&("body"===Nt(e)||D(kl,Nt(e))),isEmptyTag:e=>!!Mt(e)&&D(["br","img","hr","input"],Nt(e)),isNonEditable:e=>Mt(e)&&"false"===ho(e,"contenteditable")}),eq:Je,is:Xe});const _l=(e,t)=>({item:e,mode:t}),Nl=(e,t,o,n=Bl)=>e.property().parent(t).map(e=>_l(e,n)),Bl=(e,t,o,n=zl)=>o.sibling(e,t).map(e=>_l(e,n)),zl=(e,t,o,n=zl)=>{const r=e.property().children(t);return o.first(r).map(e=>_l(e,n))},Al=[{current:Nl,next:Bl,fallback:C.none()},{current:Bl,next:zl,fallback:C.some(Nl)},{current:zl,next:zl,fallback:C.some(Bl)}],Ll=(e,t,o,n,r=Al)=>L(r,e=>e.current===o).bind(o=>o.current(e,t,n,o.next).orThunk(()=>o.fallback.bind(o=>Ll(e,t,o,n)))),Ml=(e,t,o,n,r,s)=>Ll(e,t,n,r).bind(t=>s(t.item)?C.none():o(t.item)?C.some(t.item):Ml(e,t.item,o,t.mode,r,s)),Wl=(e,t)=>({element:e,offset:t}),jl=(e,t,o)=>e.property().isText(t)&&0===e.property().getText(t).trim().length||e.property().isComment(t)?o(t).bind(t=>jl(e,t,o).orThunk(()=>C.some(t))):C.none(),Pl=(e,t)=>e.property().isText(t)?e.property().getText(t).length:e.property().children(t).length,Il=(e,t)=>{const o=jl(e,t,e.query().prevSibling).getOr(t);if(e.property().isText(o))return Wl(o,Pl(e,o));const n=e.property().children(o);return n.length>0?Il(e,n[n.length-1]):Wl(o,Pl(e,o))},Fl=Il,Hl=El(),$l=e=>t=>0===e.property().children(t).length,Vl=(e,t,o,n)=>Ml(e,t,o,Bl,{sibling:(e,t)=>e.query().prevSibling(t),first:e=>e.length>0?C.some(e[e.length-1]):C.none()},n),ql=(e,t,o,n)=>Ml(e,t,o,Bl,{sibling:(e,t)=>e.query().nextSibling(t),first:e=>e.length>0?C.some(e[0]):C.none()},n),Ul=El(),Gl=(e,t)=>((e,t,o)=>Vl(e,t,$l(e),o))(Ul,e,t),Kl=(e,t)=>((e,t,o)=>ql(e,t,$l(e),o))(Ul,e,t),Yl=["body","p","div","article","aside","figcaption","figure","footer","header","nav","section","ol","ul","table","thead","tfoot","tbody","caption","tr","td","th","h1","h2","h3","h4","h5","h6","blockquote","pre","address"],Jl=(e,t,o,n)=>{const r=t(e,o);return z(n,(o,n)=>{const r=t(e,n);return Ql(e,o,r)},r)},Ql=(e,t,o)=>t.bind(t=>o.filter(b(e.eq,t))),Xl=El(),Zl=(e,t)=>((e,t,o)=>o.length>0?((e,t,o,n)=>n(e,t,o[0],o.slice(1)))(e,t,o,Jl):C.none())(Xl,(t,o)=>e(o),t),ea=El(),ta=e=>((e,t)=>{const o=e.property().name(t);return D(Yl,o)})(ea,e),oa=e=>((e,t)=>{const o=e.property().name(t);return D(["ol","ul"],o)})(ea,e),na=e=>{const t=It("br"),o=e=>Sn(e).bind(o=>{const n=Gt(o).map(e=>!!ta(e)||!!((e,t)=>D(["br","img","hr","input"],e.property().name(t)))(ea,e)&&"img"!==Nt(e)).getOr(!1);return $t(o).map(r=>{return!0===n||("li"===Nt(s=r)||on(s,oa).isSome())||t(o)||ta(r)&&!Je(e,r)?[]:[Me.fromTag("br")];var s})}).getOr([]),n=(()=>{const n=j(e,e=>{const n=Kt(e);return(e=>P(e,e=>t(e)||Wt(e)&&0===Jo(e).trim().length))(n)?[]:n.concat(o(e))});return 0===n.length?[Me.fromTag("br")]:n})();vo(e[0]),mo(e[0],n)},ra=e=>{bo(e,"width"),bo(e,"height")},sa=e=>{const t=xs(e);Sl(e,C.some(t),C.none()),ra(e)},la=e=>{const t=(e=>Fo(e)+"px")(e);Sl(e,C.some(t),C.none()),ra(e)},aa=e=>{Ao(e,"width");const t=cr(e),o=t.length>0?t:ar(e);_(o,e=>{Ao(e,"width"),ra(e)}),ra(e)},ca={scope:["row","col"]},ia=e=>()=>{const t=Me.fromTag("td",e.dom);return ao(t,Me.fromTag("br",e.dom)),t},ma=e=>()=>Me.fromTag("col",e.dom),da=e=>()=>Me.fromTag("colgroup",e.dom),ua=e=>()=>Me.fromTag("tr",e.dom),fa=(e,t,o)=>{const n=((e,t)=>{const o=Ro(e,t),n=Kt(So(e));return mo(o,n),o})(e,t);return G(o,(e,t)=>{null===e?bo(n,t):fo(n,t,e)}),n},ga=e=>e,ha=(e,t,o)=>{const n=(e,t)=>{((e,t)=>{const o=e.dom,n=t.dom;Do(o)&&Do(n)&&(n.style.cssText=o.style.cssText)})(e.element,t),Ao(t,"height"),1!==e.colspan&&Ao(t,"width")};return{col:o=>{const r=Me.fromTag(Nt(o.element),t.dom);return n(o,r),e(o.element,r),r},colgroup:da(t),row:ua(t),cell:r=>{const s=Me.fromTag(Nt(r.element),t.dom),l=o.getOr(["strong","em","b","i","span","font","h1","h2","h3","h4","h5","h6","p","div"]),a=l.length>0?((e,t,o)=>Tn(e).map(n=>{const r=o.join(","),s=bn(n,r,t=>Je(t,e));return z(s,(e,t)=>{const o=To(t);return ao(e,o),o},t)}).getOr(t))(r.element,s,l):s;return ao(a,Me.fromTag("br")),n(r,s),((e,t)=>{G(ca,(o,n)=>po(e,n).filter(e=>D(o,e)).each(e=>fo(t,n,e)))})(r.element,s),e(r.element,s),s},replace:fa,colGap:ma(t),gap:ia(t)}},pa=e=>({col:ma(e),colgroup:da(e),row:ua(e),cell:ia(e),replace:ga,colGap:ma(e),gap:ia(e)}),ba=e=>Dr(e).grid,wa=(e,t,o,n)=>{const r=ze(e).rows;let s=!0;for(let e=0;e({rowDelta:0,colDelta:Be(e[0])-Be(t[0])}),ya=(e,t)=>({rowDelta:e.length-t.length,colDelta:0}),xa=(e,t,o,n)=>{const r="colgroup"===t.section?o.col:o.cell;return k(e,e=>Se(r(),!0,n(e)))},Ca=(e,t,o,n)=>{const r=e[e.length-1];return e.concat(k(t,()=>{const e="colgroup"===r.section?o.colgroup:o.row,t=Ae(r,e,h),s=xa(t.cells.length,t,o,e=>X(n,e.toString()));return Ee(t,s)}))},Ta=(e,t,o,n)=>E(e,e=>{const r=xa(t,e,o,y);return De(e,n,r)}),Sa=(e,t,o)=>{const n=t.colDelta<0?Ta:h,r=t.rowDelta<0?Ca:h,s=Cr(e),l=Be(e[0]),a=O(s,e=>e===l-1),c=n(e,Math.abs(t.colDelta),o,a?l-1:l),i=Cr(c);return r(c,Math.abs(t.rowDelta),o,I(i,x))},Ra=(e,t,o,n)=>{const r=b(n,_e(e[t],o).element),s=e[t];return e.length>1&&Be(s)>1&&(o>0&&r(Ne(s,o-1))||o0&&r(Ne(e[t-1],o))||tB(o,o=>o>=e.column&&o<=Be(t[0])+e.column),Oa=(e,t,o,n,r)=>{((e,t,o,n)=>{t>0&&t{const r=e.cells[t-1];let s=0;const l=n();for(;e.cells.length>t+s&&o(r.element,e.cells[t+s].element);)ke(e,t+s,Se(l,!0,e.cells[t+s].isLocked)),s++})})(t,e,r,n.cell);const s=ya(o,t),l=Sa(o,s,n),a=ya(t,l),c=Sa(t,a,n);return E(c,(t,o)=>De(t,e,l[o].cells))},ka=(e,t,o,n,r)=>{((e,t,o,n)=>{const r=ze(e).rows;if(t>0&&tA(e,(e,o)=>O(e,e=>t(e.element,o.element))?e:e.concat([o]),[]))(r[t-1].cells,o);_(e,e=>{let s=C.none();for(let l=t;l{ke(a,t,Se(e,!0,c.isLocked))}))}})}})(t,e,r,n.cell);const s=Cr(t),l=va(t,o),a={...l,colDelta:l.colDelta-s.length},c=Sa(t,a,n),{cols:i,rows:m}=ze(c),d=Cr(c),u=va(o,t),f={...u,colDelta:u.colDelta+d.length},g=(p=n,b=d,E(o,e=>A(b,(t,o)=>{const n=xa(1,e,p,x)[0];return Oe(t,o,n)},e))),h=Sa(g,f,n);var p,b;return[...i,...m.slice(0,e),...h,...m.slice(e,m.length)]},Ea=(e,t,o,n,r)=>{const{rows:s,cols:l}=ze(e),a=s.slice(0,t),c=s.slice(t);return[...l,...a,((e,t,o,n)=>Ae(e,e=>n(e,o),t))(s[o],(e,o)=>t>0&&tE(e,e=>{const s=t>0&&t{if("colgroup"!==o&&n)return _e(e,t);{const t=_e(e,r);return Se(l(t.element,s),!0,!1)}})(e,t,e.section,s,o,n,r);return Oe(e,t,l)}),Na=(e,t,o,n)=>((e,t,o,n)=>void 0!==Ne(e[t],o)&&t>0&&n(Ne(e[t-1],o),Ne(e[t],o)))(e,t,o,n)||((e,t,o)=>t>0&&o(Ne(e,t-1),Ne(e,t)))(e[t],o,n),Ba=(e,t,o,n)=>{const r=e=>(e=>"row"===e?(e=>Zn(e,"rowspan")>1)(t):er(t))(e)?`${e}group`:e;return e?ur(t)?r(o):null:n&&ur(t)?r("row"===o?"col":"row"):null},za=(e,t,o)=>Se(o(e.element,t),!0,e.isLocked),Aa=(e,t,o,n,r,s,l)=>E(e,(e,a)=>(e=>{const c=e.cells,i=E(c,(e,c)=>{if((e=>O(t,t=>o(e.element,t.element)))(e)){const t=l(e,a,c)?r(e,o,n):e;return s(t,a,c).each(e=>{var o,n;o=t.element,n={scope:C.from(e)},G(n,(e,t)=>{e.fold(()=>{bo(o,t)},e=>{uo(o.dom,t,e)})})}),t}return e});return Re(e.element,i,e.section,e.isNew)})(e)),La=(e,t,o)=>j(e,(n,r)=>Na(e,r,t,o)?[]:[_e(n,t)]),Ma=(e,t,o,n,r)=>{const s=ze(e).rows,l=j(t,e=>La(s,e,n)),a=E(s,e=>fr(e.cells)),c=((e,t)=>P(t,h)&&fr(e)?x:(e,o,n)=>!("th"===Nt(e.element)&&t[o]))(l,a),i=((e,t)=>(o,n)=>C.some(Ba(e,o.element,"row",t[n])))(o,a);return Aa(e,l,n,r,za,i,c)},Wa=(e,t,o,n)=>{const r=ze(e).rows,s=E(t,e=>_e(r[e.row],e.column));return Aa(e,s,o,n,za,C.none,x)},ja=e=>A(e,(e,t)=>O(e,e=>e.column===t.column)?e:e.concat([t]),[]).sort((e,t)=>e.column-t.column),Pa=e=>gn(e,!0),Ia=e=>{0===ar(e).length&&yo(e)},Fa=(e,t)=>({grid:e,cursor:t}),Ha=(e,t,o)=>{const n=((e,t,o)=>{const n=ze(e).rows;return C.from(n[t]?.cells[o]?.element).filter(Pa).orThunk(()=>(e=>V(e,e=>V(e.cells,e=>{const t=e.element;return de(Pa(t),t)})))(n))})(e,t,o);return Fa(e,n)},$a=e=>A(e,(e,t)=>O(e,e=>e.row===t.row)?e:e.concat([t]),[]).sort((e,t)=>e.row-t.row),Va=(e,t,o,n)=>{const r=t[0].row,s=$a(t),l=z(s,(e,t)=>({grid:Ea(e.grid,r,t.row+e.delta,o,n.getOrInit),delta:e.delta+1}),{grid:e,delta:0}).grid;return Ha(l,r,t[0].column)},qa=(e,t,o,n)=>{const r=$a(t),s=r[r.length-1],l=s.row+s.rowspan,a=z(r,(e,t)=>Ea(e,l,t.row,o,n.getOrInit),e);return Ha(a,l,t[0].column)},Ua=(e,t,o,n)=>{const r=t.details,s=ja(r),l=s[0].column,a=z(s,(e,t)=>({grid:_a(e.grid,l,t.column+e.delta,o,n.getOrInit),delta:e.delta+1}),{grid:e,delta:0}).grid;return Ha(a,r[0].row,l)},Ga=(e,t,o,n)=>{const r=t.details,s=r[r.length-1],l=s.column+s.colspan,a=ja(r),c=z(a,(e,t)=>_a(e,l,t.column,o,n.getOrInit),e);return Ha(c,r[0].row,l)},Ka=(e,t,o,n)=>{const r=ja(t),s=E(r,e=>e.column),l=Ma(e,s,!0,o,n.replaceOrInit);return Ha(l,t[0].row,t[0].column)},Ya=(e,t,o,n)=>{const r=Wa(e,t,o,n.replaceOrInit);return Ha(r,t[0].row,t[0].column)},Ja=(e,t,o,n)=>{const r=ja(t),s=E(r,e=>e.column),l=Ma(e,s,!1,o,n.replaceOrInit);return Ha(l,t[0].row,t[0].column)},Qa=(e,t,o,n)=>{const r=Wa(e,t,o,n.replaceOrInit);return Ha(r,t[0].row,t[0].column)},Xa=(e,t)=>(o,n,r,s,l)=>{const a=$a(n),c=E(a,e=>e.row),i=((e,t,o,n,r,s,l)=>{const{cols:a,rows:c}=ze(e),i=c[t[0]],m=j(t,e=>((e,t,o)=>{const n=e[t];return j(n.cells,(n,r)=>Na(e,t,r,o)?[]:[n])})(c,e,r)),d=E(i.cells,(e,t)=>fr(La(c,t,r))),u=[...c];_(t,e=>{u[e]=l.transformRow(c[e],o)});const f=[...a,...u],g=((e,t)=>P(t,h)&&fr(e.cells)?x:(e,o,n)=>!("th"===Nt(e.element)&&t[n]))(i,d),p=((e,t)=>(o,n,r)=>C.some(Ba(e,o.element,"col",t[r])))(n,d);return Aa(f,m,r,s,l.transformCell,p,g)})(o,c,e,t,r,s.replaceOrInit,l);return Ha(i,n[0].row,n[0].column)},Za=Xa("thead",!0),ec=Xa("tbody",!1),tc=Xa("tfoot",!1),oc=(e,t,o,n)=>{const r=ja(t.details),s=((e,t)=>j(e,e=>{const o=e.cells,n=z(t,(e,t)=>t>=0&&t0?[Re(e.element,n,e.section,e.isNew)]:[]}))(e,E(r,e=>e.column)),l=s.length>0?s[0].cells.length-1:0;return Ha(s,r[0].row,Math.min(r[0].column,l))},nc=(e,t,o,n)=>{const r=$a(t),s=((e,t,o)=>{const{rows:n,cols:r}=ze(e);return[...r,...n.slice(0,t),...n.slice(o+1)]})(e,r[0].row,r[r.length-1].row),l=Math.max(ze(s).rows.length-1,0);return Ha(s,Math.min(t[0].row,l),t[0].column)},rc=(e,t,o,n)=>{const r=t.cells;na(r);const s=((e,t,o,n)=>{const r=ze(e).rows;if(0===r.length)return e;for(let e=t.startRow;e<=t.finishRow;e++)for(let o=t.startCol;o<=t.finishCol;o++){const t=r[e],s=_e(t,o).isLocked;ke(t,o,Se(n(),!1,s))}return e})(e,t.bounds,0,n.merge(r));return Fa(s,C.from(r[0]))},sc=(e,t,o,n)=>{const r=z(t,(e,t)=>wa(e,t,o,n.unmerge(t)),e);return Fa(r,C.from(t[0]))},lc=(e,t,o,n)=>{const r=((e,t)=>{const o=Dr(e);return Hs(o,t,!0)})(t.clipboard,t.generators);var s,l;return((e,t,o,n,r)=>{const s=Cr(t),l=((e,t,o)=>{const n=Be(t[0]),r=ze(t).cols.length+e.row,s=k(n-e.column,t=>t+e.column);return{row:r,column:L(s,e=>P(o,t=>t!==e)).getOr(n-1)}})(e,t,s),a=ze(o).rows,c=Da(l,a,s),i=((e,t,o)=>{if(e.row>=t.length||e.column>Be(t[0]))return le.error("invalid start address out of table bounds, row: "+e.row+", column: "+e.column);const n=t.slice(e.row),r=n[0].cells.slice(e.column),s=Be(o[0]),l=o.length;return le.value({rowDelta:n.length-l,colDelta:r.length-s})})(l,t,a);return i.map(e=>{const o={...e,colDelta:e.colDelta-c.length},s=Sa(t,o,n),i=Cr(s),m=Da(l,a,i);return((e,t,o,n,r,s)=>{const l=e.row,a=e.column,c=l+o.length,i=a+Be(o[0])+s.length,m=I(s,x);for(let e=l;eFa(e,C.some(t.element)),e=>Ha(e,t.row,t.column))},ac=(e,t,o)=>{const n=((e,t)=>br(e,()=>t))(e,o.section),r=Or(n);return Hs(r,t,!0)},cc=(e,t,o,n)=>{const r=ze(e).rows,s=t.cells[0].column,l=r[t.cells[0].row],a=ac(t.clipboard,t.generators,l),c=Oa(s,e,a,t.generators,o);return Ha(c,t.cells[0].row,t.cells[0].column)},ic=(e,t,o,n)=>{const r=ze(e).rows,s=t.cells[t.cells.length-1].column+t.cells[t.cells.length-1].colspan,l=r[t.cells[0].row],a=ac(t.clipboard,t.generators,l),c=Oa(s,e,a,t.generators,o);return Ha(c,t.cells[0].row,s)},mc=(e,t,o,n)=>{const r=ze(e).rows,s=t.cells[0].row,l=r[s],a=ac(t.clipboard,t.generators,l),c=ka(s,e,a,t.generators,o);return Ha(c,t.cells[0].row,t.cells[0].column)},dc=(e,t,o,n)=>{const r=ze(e).rows,s=t.cells[t.cells.length-1].row+t.cells[t.cells.length-1].rowspan,l=r[t.cells[0].row],a=ac(t.clipboard,t.generators,l),c=ka(s,e,a,t.generators,o);return Ha(c,s,t.cells[0].column)},uc=(e,t,o,n)=>((e,t,o,n)=>{const r=Or(t),s=n.getWidths(r,n);tl(r,s,n)})(0,t,0,n.sizing),fc=(e,t,o,n)=>((e,t,o,n,r)=>{const s=Or(t),l=n.getWidths(s,n),a=n.pixelWidth(),{newSizes:c,delta:i}=r.calcRedestributedWidths(l,a,o.pixelDelta,n.isRelative);tl(s,c,n),n.adjustTableWidth(i)})(0,t,o,n.sizing,n.resize),gc=(e,t)=>O(t,e=>0===e.column&&e.isLocked),hc=(e,t)=>O(t,t=>t.column+t.colspan>=e.grid.columns&&t.isLocked),pc=(e,t)=>{const o=Vr(e),n=ja(t);return A(n,(e,t)=>e+o[t.column].map(Ho).getOr(0),0)},bc=e=>(t,o)=>Ys(t,o).filter(o=>!(e?gc:hc)(t,o)).map(e=>({details:e,pixelDelta:pc(t,e)})),wc=(e,t)=>Js(e,t).map(t=>({details:t,pixelDelta:-pc(e,t)})),vc=e=>(t,o)=>Ks(t,o).filter(o=>!(e?gc:hc)(t,o.cells)),yc=gl("th"),xc=gl("td"),Cc=(e,t,o,n)=>Us(Va,Ys,f,f,fl,e,t,o,n),Tc=(e,t,o,n)=>Us(qa,Ys,f,f,fl,e,t,o,n),Sc=(e,t,o,n)=>Us(Ua,bc(!0),fc,f,fl,e,t,o,n),Rc=(e,t,o,n)=>Us(Ga,bc(!1),fc,f,fl,e,t,o,n),Dc=(e,t,o,n)=>Us(oc,wc,fc,Ia,fl,e,t,o,n),Oc=(e,t,o,n)=>Us(nc,Ys,f,Ia,fl,e,t,o,n),kc=(e,t,o,n)=>Us(Ka,Js,f,f,yc,e,t,o,n),Ec=(e,t,o,n)=>Us(Ja,Js,f,f,xc,e,t,o,n),_c=(e,t,o,n)=>Us(Za,Ys,f,f,yc,e,t,o,n),Nc=(e,t,o,n)=>Us(ec,Ys,f,f,xc,e,t,o,n),Bc=(e,t,o,n)=>Us(tc,Ys,f,f,xc,e,t,o,n),zc=(e,t,o,n)=>Us(Ya,Js,f,f,yc,e,t,o,n),Ac=(e,t,o,n)=>Us(Qa,Js,f,f,xc,e,t,o,n),Lc=(e,t,o,n)=>Us(rc,Xs,uc,f,hl,e,t,o,n),Mc=(e,t,o,n)=>Us(sc,Zs,uc,f,hl,e,t,o,n),Wc=(e,t,o,n)=>Us(lc,Gs,uc,f,fl,e,t,o,n),jc=(e,t,o,n)=>Us(cc,vc(!0),f,f,fl,e,t,o,n),Pc=(e,t,o,n)=>Us(ic,vc(!1),f,f,fl,e,t,o,n),Ic=(e,t,o,n)=>Us(mc,Ks,f,f,fl,e,t,o,n),Fc=(e,t,o,n)=>Us(dc,Ks,f,f,fl,e,t,o,n),Hc=(e,t)=>{const o=Dr(e);return Ys(o,t).bind(e=>{const t=e[e.length-1],n=e[0].column,r=t.column+t.colspan,s=W(E(o.all,e=>B(e.cells,e=>e.column>=n&&e.column{const o=Dr(e);return Ys(o,t).bind(pr).getOr("")},Vc=(e,t)=>{const o=Dr(e);return Ys(o,t).bind(e=>{const t=e[e.length-1],n=e[0].row,r=t.row+t.rowspan;return(e=>{const t=E(e,e=>hr(e).type),o=D(t,"header"),n=D(t,"footer");if(o||n){const e=D(t,"body");return!o||e||n?o||e||!n?C.none():C.some("footer"):C.some("header")}return C.some("body")})(o.all.slice(n,r))}).getOr("")},qc=(e,t)=>{const o=t.column,n=t.column+t.colspan-1,r=t.row,s=t.row+t.rowspan-1;return o<=e.finishCol&&n>=e.startCol&&r<=e.finishRow&&s>=e.startRow},Uc=(e,t)=>t.column>=e.startCol&&t.column+t.colspan-1<=e.finishCol&&t.row>=e.startRow&&t.row+t.rowspan-1<=e.finishRow,Gc=(e,t,o)=>{const n=Er(e,t,Je),r=Er(e,o,Je);return n.bind(e=>r.map(t=>{return o=e,n=t,{startRow:Math.min(o.row,n.row),startCol:Math.min(o.column,n.column),finishRow:Math.max(o.row+o.rowspan-1,n.row+n.rowspan-1),finishCol:Math.max(o.column+o.colspan-1,n.column+n.colspan-1)};var o,n}))},Kc=(e,t,o)=>Gc(e,t,o).map(t=>{const o=_r(e,b(qc,t));return E(o,e=>e.element)}),Yc=(e,t)=>Er(e,t,(e,t)=>Qe(t,e)).map(e=>e.element),Jc=(e,t,o)=>{const n=Xc(e);return Kc(n,t,o)},Qc=(e,t,o,n,r)=>{const s=Xc(e),l=Je(e,o)?C.some(t):Yc(s,t),a=Je(e,r)?C.some(n):Yc(s,n);return l.bind(e=>a.bind(t=>Kc(s,e,t)))},Xc=Dr,Zc={styles:{"border-collapse":"collapse",width:"100%"},attributes:{border:"1"},colGroups:!1},ei=()=>Me.fromTag("th"),ti=()=>Me.fromTag("td"),oi=(e,t,o,n)=>k(e,e=>((e,t,o,n)=>{const r=Me.fromTag("tr");for(let s=0;s{let t=[];return{bind:e=>{if(void 0===e)throw new Error("Event bind error: undefined handler");t.push(e)},unbind:e=>{t=B(t,t=>t!==e)},trigger:(...o)=>{const n={};_(e,(e,t)=>{n[e]=o[t]}),_(t,e=>{e(n)})}}},ri=e=>({registry:K(e,e=>({bind:e.bind,unbind:e.unbind})),trigger:K(e,e=>e.trigger)}),si=ne(["compare","extract","mutate","sink"]),li=ne(["element","start","stop","destroy"]),ai=ne(["forceDrop","drop","move","delayDrop"]),ci=()=>{const e=(()=>{const e=ri({move:ni(["info"])});return{onEvent:f,reset:f,events:e.registry}})(),t=(()=>{let e=C.none();const t=ri({move:ni(["info"])});return{onEvent:(o,n)=>{n.extract(o).each(o=>{const r=((t,o)=>{const n=e.map(e=>t.compare(e,o));return e=C.some(o),n})(n,o);r.each(e=>{t.trigger.move(e)})})},reset:()=>{e=C.none()},events:t.registry}})();let o=e;return{on:()=>{o.reset(),o=t},off:()=>{o.reset(),o=e},isOn:()=>o===t,onEvent:(e,t)=>{o.onEvent(e,t)},events:t.events}},ii=ce("ephox-dragster").resolve;var mi=si({compare:(e,t)=>qo(t.left-e.left,t.top-e.top),extract:e=>C.some(qo(e.x,e.y)),sink:(e,t)=>{const o=(e=>{const t={layerClass:ii("blocker"),...e},o=Me.fromTag("div");return fo(o,"role","presentation"),fo(o,"data-mce-bogus","all"),_o(o,{position:"fixed",left:"0px",top:"0px",width:"100%",height:"100%"}),dn(o,ii("blocker")),dn(o,t.layerClass),{element:g(o),destroy:()=>{yo(o)}}})(t),n=oo(o.element(),"mousedown",e.forceDrop),r=oo(o.element(),"mouseup",e.drop),s=oo(o.element(),"mousemove",e.move),l=oo(o.element(),"mouseout",e.delayDrop);return li({element:o.element,start:e=>{ao(e,o.element())},stop:()=>{yo(o.element())},destroy:()=>{o.destroy(),r.unbind(),s.unbind(),l.unbind(),n.unbind()}})},mutate:(e,t)=>{e.mutate(t.left,t.top)}});const di=ce("ephox-snooker").resolve,ui=di("resizer-bar"),fi=di("resizer-rows"),gi=di("resizer-cols"),hi=e=>{const t=vn(e.parent(),"."+ui);_(t,yo)},pi=(e,t,o)=>{const n=e.origin();_(t,t=>{t.each(t=>{const r=o(n,t);dn(r,ui),ao(e.parent(),r)})})},bi=(e,t,o,n,r)=>{const s=Go(o),l=t.isResizable,a=n.length>0?ns.positions(n,o):[],c=a.length>0?((e,t)=>j(e.all,(e,o)=>t(e.element)?[o]:[]))(e,l):[];((e,t,o,n)=>{pi(e,t,(e,t)=>{const r=((e,t,o,n)=>{const r=Me.fromTag("div");return _o(r,{position:"absolute",left:t+"px",top:o-3.5+"px",height:"7px",width:n+"px"}),go(r,{"data-mce-bogus":"all","data-row":e,"aria-hidden":"true"}),r})(t.row,o.left-e.left,t.y-e.top,n);return dn(r,fi),r})})(t,B(a,(e,t)=>O(c,e=>t===e)),s,Ho(o));const i=r.length>0?ss.positions(r,o):[],m=i.length>0?((e,t)=>{const o=[];return k(e.grid.columns,n=>{Ar(e,n).map(e=>e.element).forall(t)&&o.push(n)}),B(o,o=>{const n=_r(e,e=>e.column===o);return P(n,e=>t(e.element))})})(e,l):[];((e,t,o,n)=>{pi(e,t,(e,t)=>{const r=((e,t,o,n,r)=>{const s=Me.fromTag("div");return _o(s,{position:"absolute",left:t-3.5+"px",top:o+"px",height:r+"px",width:"7px"}),go(s,{"data-mce-bogus":"all","data-column":e,"aria-hidden":"true"}),s})(t.col,t.x-e.left,o.top-e.top,0,n);return dn(r,gi),r})})(t,B(i,(e,t)=>O(m,e=>t===e)),s,Po(o))},wi=(e,t)=>{if(hi(e),e.isResizable(t)){const o=Dr(t),n=Ur(o),r=Vr(o);bi(o,e,t,n,r)}},vi=(e,t)=>{const o=vn(e.parent(),"."+ui);_(o,t)},yi=e=>{vi(e,e=>{Eo(e,"display","none")})},xi=e=>{vi(e,e=>{Eo(e,"display","block")})},Ci=di("resizer-bar-dragging"),Ti=e=>{const t=(()=>{const e=ri({drag:ni(["xDelta","yDelta","target"])});let t=C.none();const o=(()=>{const e=ri({drag:ni(["xDelta","yDelta"])});return{mutate:(t,o)=>{e.trigger.drag(t,o)},events:e.registry}})();return o.events.drag.bind(o=>{t.each(t=>{e.trigger.drag(o.xDelta,o.yDelta,t)})}),{assign:e=>{t=C.some(e)},get:()=>t,mutate:o.mutate,events:e.registry}})(),o=((e,t={})=>((e,t,o)=>{let n=!1;const r=ri({start:ni([]),stop:ni([])}),s=ci(),l=()=>{m.stop(),s.isOn()&&(s.off(),r.trigger.stop())},c=(e=>{let t=null;const o=()=>{a(t)||(clearTimeout(t),t=null)};return{cancel:o,throttle:(...n)=>{o(),t=setTimeout(()=>{t=null,e.apply(null,n)},200)}}})(l);s.events.move.bind(o=>{t.mutate(e,o.info)});const i=e=>(...t)=>{n&&e.apply(null,t)},m=t.sink(ai({forceDrop:l,drop:i(l),move:i(e=>{c.cancel(),s.onEvent(e,t)}),delayDrop:i(c.throttle)}),o);return{element:m.element,go:e=>{m.start(e),s.on(),r.trigger.start()},on:()=>{n=!0},off:()=>{n=!1},isActive:()=>n,destroy:()=>{m.destroy()},events:r.registry}})(e,t.mode??mi,t))(t,{});let n=C.none();const r=(e,t)=>C.from(ho(e,t));t.events.drag.bind(e=>{r(e.target,"data-row").each(t=>{const o=tr(e.target,"top");Eo(e.target,"top",o+e.yDelta+"px")}),r(e.target,"data-column").each(t=>{const o=tr(e.target,"left");Eo(e.target,"left",o+e.xDelta+"px")})});const s=(e,t)=>tr(e,t)-Xn(e,"data-initial-"+t,0);o.events.stop.bind(()=>{t.get().each(t=>{n.each(o=>{r(t,"data-row").each(e=>{const n=s(t,"top");bo(t,"data-initial-top"),d.trigger.adjustHeight(o,n,parseInt(e,10))}),r(t,"data-column").each(e=>{const n=s(t,"left");bo(t,"data-initial-left"),d.trigger.adjustWidth(o,n,parseInt(e,10))}),wi(e,o)})})});const l=(n,r)=>{d.trigger.startAdjust(),t.assign(n),fo(n,"data-initial-"+r,tr(n,r)),dn(n,Ci),Eo(n,"opacity","0.2"),o.go(e.dragContainer())},c=oo(e.parent(),"mousedown",e=>{var t;t=e.target,un(t,fi)&&(e.prevent(),e.stop(),l(e.target,"top")),(e=>un(e,gi))(e.target)&&(e.prevent(),e.stop(),l(e.target,"left"))}),i=t=>Je(t,e.view()),m=oo(e.view(),"mouseover",t=>{var r;(r=t.target,an(r,"table",i).filter(gn)).fold(()=>{Oo(t.target)&&!(e=>un(e,"ephox-snooker-resizer-bar")||un(e,"ephox-dragster-blocker"))(t.target)&&hi(e)},t=>{o.isActive()&&(n=C.some(t),wi(e,t))})}),d=ri({adjustHeight:ni(["table","delta","row"]),adjustWidth:ni(["table","delta","column"]),startAdjust:ni([])});return{destroy:()=>{c.unbind(),m.unbind(),o.destroy(),hi(e)},refresh:t=>{wi(e,t)},on:o.on,off:o.off,hideBars:b(yi,e),showBars:b(xi,e),events:d.registry}},Si=e=>t=>t.options.get(e),Ri="100%",Di=e=>{const t=e.dom,o=t.getParent(e.selection.getStart(),t.isBlock)??e.getBody();return $o(Me.fromDom(o))+"px"},Oi=e=>C.from(e.options.get("table_clone_elements")),ki=Si("table_header_type"),Ei=Si("table_column_resizing"),_i=e=>"preservetable"===Ei(e),Ni=e=>"resizetable"===Ei(e),Bi=Si("table_sizing_mode"),zi=e=>"relative"===Bi(e),Ai=e=>"fixed"===Bi(e),Li=e=>"responsive"===Bi(e),Mi=Si("table_resize_bars"),Wi=Si("table_style_by_css"),ji=Si("table_merge_content_on_paste"),Pi=Si("table_default_header_rows"),Ii=Si("table_default_header_cols"),Fi=e=>{const t=e.options,o=t.get("table_default_attributes");return t.isSet("table_default_attributes")?o:((e,t)=>Li(e)||Wi(e)?t:Ai(e)?{...t,width:Di(e)}:{...t,width:Ri})(e,o)},Hi=Si("table_use_colgroups"),$i=e=>Me.fromDom(e.getBody()),Vi=e=>t=>Je(t,$i(e)),qi=e=>{bo(e,"data-mce-style");const t=e=>bo(e,"data-mce-style");_(ar(e),t),_(cr(e),t),_(mr(e),t)},Ui=e=>Me.fromDom(e.selection.getStart()),Gi=e=>e.getBoundingClientRect().width,Ki=e=>e.getBoundingClientRect().height,Yi=e=>/^\d+(\.\d+)?$/.test(e)?e+"px":e,Ji=e=>(t,o)=>{const n=t.dom.getStyle(o,e)||t.dom.getAttrib(o,e);return C.from(n).filter(ve).map(Yi)},Qi=Ji("width"),Xi=Ji("height"),Zi=e=>nn(e,It("table")).exists(gn),em=e=>rn(e,"table"),tm=(e,t,o)=>{const n=e=>t=>void 0!==o&&o(t)||Je(t,e);return Je(e,t)?C.some({boxes:C.some([e]),start:e,finish:t}):em(e).bind(r=>em(t).bind(s=>{if(Je(r,s))return C.some({boxes:Jc(r,e,t),start:e,finish:t});if(Qe(r,s)){const o=bn(t,"td,th",n(r)),l=o.length>0?o[o.length-1]:t;return C.some({boxes:Qc(r,e,r,t,s),start:e,finish:l})}if(Qe(s,r)){const o=bn(e,"td,th",n(s)),l=o.length>0?o[o.length-1]:e;return C.some({boxes:Qc(s,e,r,t,s),start:e,finish:l})}return((e,t)=>((e,t,o,n=y)=>{const r=[t].concat(e.up().all(t)),s=[o].concat(e.up().all(o)),l=e=>M(e,n).fold(()=>e,t=>e.slice(0,t+1)),a=l(r),c=l(s),i=L(a,t=>O(c,((e,t)=>b(e.eq,t))(e,t)));return{firstpath:a,secondpath:c,shared:i}})(Xl,e,t,void 0))(e,t).shared.bind(l=>an(l,"table",o).bind(o=>{const l=bn(t,"td,th",n(o)),a=l.length>0?l[l.length-1]:t,c=bn(e,"td,th",n(o)),i=c.length>0?c[c.length-1]:e;return C.some({boxes:Qc(o,e,r,t,s),start:i,finish:a})}))}))},om=(e,t)=>{const o=vn(e,t);return o.length>0?C.some(o):C.none()},nm=(e,t,o)=>ln(e,t).bind(t=>ln(e,o).bind(e=>Zl(em,[t,e]).map(o=>({first:t,last:e,table:o})))),rm=(e,t,o,n,r)=>((e,t)=>L(e,e=>Ge(e,t)))(e,r).bind(e=>((e,t,o)=>ir(e).bind(n=>((e,t,o,n)=>Er(e,t,Je).bind(t=>{const r=o>0?t.row+t.rowspan-1:t.row,s=n>0?t.column+t.colspan-1:t.column;return kr(e,r+o,s+n).map(e=>e.element)}))(Xc(n),e,t,o)))(e,t,o).bind(e=>((e,t)=>rn(e,"table").bind(o=>ln(o,t).bind(t=>tm(t,e).bind(e=>e.boxes.map(t=>({boxes:t,start:e.start,finish:e.finish}))))))(e,n))),sm=(e,t)=>om(e,t),lm=(e,t,o)=>nm(e,t,o).bind(t=>{const o=t=>Je(e,t),n="thead,tfoot,tbody,table",r=rn(t.first,n,o),s=rn(t.last,n,o);return r.bind(e=>s.bind(o=>Je(e,o)?((e,t,o)=>((e,t,o)=>Gc(e,t,o).bind(t=>((e,t)=>{let o=!0;const n=b(Uc,t);for(let r=t.startRow;r<=t.finishRow;r++)for(let s=t.startCol;s<=t.finishCol;s++)o=o&&kr(e,r,s).exists(n);return o?C.some(t):C.none()})(e,t)))(Xc(e),t,o))(t.table,t.first,t.last):C.none()))}),am=h,cm=e=>{const t=(e,t)=>po(e,t).exists(e=>parseInt(e,10)>1);return e.length>0&&P(e,e=>t(e,"rowspan")||t(e,"colspan"))?C.some(e):C.none()},im=(e,t,o)=>t.length<=1?C.none():lm(e,o.firstSelectedSelector,o.lastSelectedSelector).map(e=>({bounds:e,cells:t})),mm=(e,t)=>({selection:e,kill:t}),dm=()=>({tag:"none"}),um=e=>({tag:"multiple",elements:e}),fm=e=>({tag:"single",element:e}),gm=(e,t,o,n)=>({start:kn.on(e,t),finish:kn.on(o,n)}),hm=(e,t)=>{const o=Ue(e,t);return Dn(Me.fromDom(o.startContainer),o.startOffset,Me.fromDom(o.endContainer),o.endOffset)},pm=gm,bm=(e,t,o,n,r)=>Je(o,n)?C.none():tm(o,n,t).bind(t=>{const n=t.boxes.getOr([]);return n.length>1?(r(e,n,t.start,t.finish),C.some(mm(C.some(pm(o,0,o,yn(o))),!0))):C.none()}),wm=Z([{none:["message"]},{success:[]},{failedUp:["cell"]},{failedDown:["cell"]}]),vm=e=>an(e,"tr"),ym={...wm,verify:(e,t,o,n,r,s,l)=>an(n,"td,th",l).bind(o=>an(t,"td,th",l).map(t=>Je(o,t)?Je(n,o)&&yn(o)===r?s(t):wm.none("in same cell"):Zl(vm,[o,t]).fold(()=>((e,t,o)=>{const n=e.getRect(t),r=e.getRect(o);return r.right>n.left&&r.lefts(t)))).getOr(wm.none("default")),cata:(e,t,o,n,r)=>e.fold(t,o,n,r)},xm=It("br"),Cm=(e,t,o)=>t(e,o).bind(e=>Wt(e)&&0===Jo(e).trim().length?Cm(e,t,o):C.some(e)),Tm=(e,t,o,n)=>((e,t)=>Yt(e,t).filter(xm).orThunk(()=>Yt(e,t-1).filter(xm)))(t,o).bind(t=>n.traverse(t).fold(()=>Cm(t,n.gather,e).map(n.relative),e=>(e=>$t(e).bind(t=>{const o=Kt(t);return((e,t)=>M(e,b(Je,t)))(o,e).map(n=>((e,t,o,n)=>({parent:e,children:t,element:o,index:n}))(t,o,e,n))}))(e).map(e=>kn.on(e.parent,e.index)))),Sm=(e,t)=>({left:e.left,top:e.top+t,right:e.right,bottom:e.bottom+t}),Rm=(e,t)=>({left:e.left,top:e.top-t,right:e.right,bottom:e.bottom-t}),Dm=(e,t,o)=>({left:e.left+t,top:e.top+o,right:e.right+t,bottom:e.bottom+o}),Om=e=>({left:e.left,top:e.top,right:e.right,bottom:e.bottom}),km=(e,t)=>C.some(e.getRect(t)),Em=(e,t,o)=>Mt(t)?km(e,t).map(Om):Wt(t)?((e,t,o)=>o>=0&&o0?e.getRangedRect(t,o-1,t,o):C.none())(e,t,o).map(Om):C.none(),_m=(e,t)=>Mt(t)?km(e,t).map(Om):Wt(t)?e.getRangedRect(t,0,t,yn(t)).map(Om):C.none(),Nm=Z([{none:[]},{retry:["caret"]}]),Bm=(e,t,o)=>nn(t,ta).fold(y,t=>_m(e,t).exists(e=>((e,t)=>e.leftt.right)(o,e))),zm={point:e=>e.bottom,adjuster:(e,t,o,n,r)=>{const s=Sm(r,5);return Math.abs(o.bottom-n.bottom)<1||o.top>r.bottom?Nm.retry(s):o.top===r.bottom?Nm.retry(Sm(r,1)):Bm(e,t,r)?Nm.retry(Dm(s,5,0)):Nm.none()},move:Sm,gather:Kl},Am=(e,t,o,n,r)=>0===r?C.some(n):((e,t,o)=>e.elementFromPoint(t,o).filter(e=>"table"===Nt(e)).isSome())(e,n.left,t.point(n))?((e,t,o,n,r)=>Am(e,t,o,t.move(n,5),r))(e,t,o,n,r-1):e.situsFromPoint(n.left,t.point(n)).bind(s=>s.start.fold(C.none,s=>_m(e,s).bind(l=>t.adjuster(e,s,l,o,n).fold(C.none,n=>Am(e,t,o,n,r-1))).orThunk(()=>C.some(n)),C.none)),Lm=(e,t,o)=>{const n=e.move(o,5),r=Am(t,e,o,n,100).getOr(n);return((e,t,o)=>e.point(t)>o.getInnerHeight()?C.some(e.point(t)-o.getInnerHeight()):e.point(t)<0?C.some(-e.point(t)):C.none())(e,r,t).fold(()=>t.situsFromPoint(r.left,e.point(r)),o=>(t.scrollBy(0,o),t.situsFromPoint(r.left,e.point(r)-o)))},Mm={tryUp:b(Lm,{point:e=>e.top,adjuster:(e,t,o,n,r)=>{const s=Rm(r,5);return Math.abs(o.top-n.top)<1||o.bottome.getSelection().bind(n=>((e,t,o,n)=>{const r=xm(t)?((e,t,o)=>o.traverse(t).orThunk(()=>Cm(t,o.gather,e)).map(o.relative))(e,t,n):Tm(e,t,o,n);return r.map(e=>({start:e,finish:e}))})(t,n.finish,n.foffset,o).fold(()=>C.some(Wl(n.finish,n.foffset)),r=>{const s=e.fromSitus(r);return l=ym.verify(e,n.finish,n.foffset,s.finish,s.foffset,o.failure,t),ym.cata(l,e=>C.none(),()=>C.none(),e=>C.some(Wl(e,0)),e=>C.some(Wl(e,yn(e))));var l})),jm=(e,t,o,n,r,s)=>0===s?C.none():Fm(e,t,o,n,r).bind(l=>{const a=e.fromSitus(l),c=ym.verify(e,o,n,a.finish,a.foffset,r.failure,t);return ym.cata(c,()=>C.none(),()=>C.some(l),l=>Je(o,l)&&0===n?Pm(e,o,n,Rm,r):jm(e,t,l,0,r,s-1),l=>Je(o,l)&&n===yn(l)?Pm(e,o,n,Sm,r):jm(e,t,l,yn(l),r,s-1))}),Pm=(e,t,o,n,r)=>Em(e,t,o).bind(t=>Im(e,r,n(t,Mm.getJumpSize()))),Im=(e,t,o)=>{const n=kt().browser;return n.isChromium()||n.isSafari()||n.isFirefox()?t.retry(e,o):C.none()},Fm=(e,t,o,n,r)=>Em(e,o,n).bind(t=>Im(e,r,t)),Hm=(e,t,o,n,r)=>an(n,"td,th",t).bind(n=>an(n,"table",t).bind(s=>((e,t)=>on(e,e=>$t(e).exists(e=>Je(e,t)),void 0).isSome())(r,s)?((e,t,o)=>Wm(e,t,o).bind(n=>jm(e,t,n.element,n.offset,o,20).map(e.fromSitus)))(e,t,o).bind(e=>an(e.finish,"td,th",t).map(t=>({start:n,finish:t,range:e}))):C.none())),$m=(e,t,o,n,r,s)=>s(n,t).orThunk(()=>Hm(e,t,o,n,r).map(e=>{const t=e.range;return mm(C.some(pm(t.start,t.soffset,t.finish,t.foffset)),!0)})),Vm=(e,t)=>an(e,"tr",t).bind(e=>an(e,"table",t).bind(o=>{const n=vn(o,"tr");return Je(e,n[0])?((e,t,o)=>Vl(Ul,e,e=>Sn(e).isSome(),o))(o,0,t).map(e=>{const t=yn(e);return mm(C.some(pm(e,t,e,t)),!0)}):C.none()})),qm=(e,t)=>an(e,"tr",t).bind(e=>an(e,"table",t).bind(o=>{const n=vn(o,"tr");return Je(e,n[n.length-1])?((e,t,o)=>ql(Ul,e,e=>Tn(e).isSome(),o))(o,0,t).map(e=>mm(C.some(pm(e,0,e,0)),!0)):C.none()})),Um=(e,t,o,n,r,s,l)=>Hm(e,o,n,r,s).bind(e=>bm(t,o,e.start,e.finish,l)),Gm=(e,t)=>an(e,"td,th",t),Km=e=>Vt(e).exists(gn),Ym={traverse:Gt,gather:Kl,relative:kn.before,retry:Mm.tryDown,failure:ym.failedDown},Jm={traverse:Ut,gather:Gl,relative:kn.before,retry:Mm.tryUp,failure:ym.failedUp},Qm=e=>t=>t===e,Xm=Qm(38),Zm=Qm(40),ed=e=>e>=37&&e<=40,td={isBackward:Qm(37),isForward:Qm(39)},od={isBackward:Qm(39),isForward:Qm(37)},nd=e=>({elementFromPoint:(t,o)=>Me.fromPoint(Me.fromDom(e.document),t,o),getRect:e=>e.dom.getBoundingClientRect(),getRangedRect:(t,o,n,r)=>{const s=_n.exact(t,o,n,r);return((e,t)=>(e=>{const t=e.getClientRects(),o=t.length>0?t[0]:e.getBoundingClientRect();return o.width>0||o.height>0?C.some(o).map(He):C.none()})(Ue(e,t)))(e,s)},getSelection:()=>Fn(e).map(t=>hm(e,t)),fromSitus:t=>{const o=_n.relative(t.start,t.finish);return hm(e,o)},situsFromPoint:(t,o)=>Hn(e,t,o).map(e=>gm(e.start,e.soffset,e.finish,e.foffset)),clearSelection:()=>{(e=>{Bn(e).each(e=>e.removeAllRanges())})(e)},collapseSelection:(t=!1)=>{Fn(e).each(o=>o.fold(e=>e.collapse(t),(o,n)=>{const r=t?o:n;Wn(e,r,r)},(o,n,r,s)=>{const l=t?o:r,a=t?n:s;Mn(e,l,a,l,a)}))},setSelection:t=>{Mn(e,t.start,t.soffset,t.finish,t.foffset)},setRelativeSelection:(t,o)=>{Wn(e,t,o)},selectNode:t=>{In(e,t,!1)},selectContents:t=>{In(e,t)},getInnerHeight:()=>e.innerHeight,getScrollY:()=>(e=>{const t=void 0!==e?e.dom:document,o=t.body.scrollLeft||t.documentElement.scrollLeft,n=t.body.scrollTop||t.documentElement.scrollTop;return qo(o,n)})(Me.fromDom(e.document)).top,scrollBy:(t,o)=>{((e,t,o)=>{const n=(void 0!==o?o.dom:document).defaultView;n&&n.scrollBy(e,t)})(t,o,Me.fromDom(e.document))}}),rd=(e,t)=>({rows:e,cols:t}),sd=e=>nn(e,Lt).exists(gn),ld=(e,t)=>sd(e)||sd(t),ad="data-mce-selected",cd="data-mce-first-selected",id="data-mce-last-selected",md="["+ad+"]",dd={selected:ad,selectedSelector:"td["+ad+"],th["+ad+"]",firstSelected:cd,firstSelectedSelector:"td["+cd+"],th["+cd+"]",lastSelected:id,lastSelectedSelector:"td["+id+"],th["+id+"]"},ud=(e,t,o)=>({element:o,mergable:im(t,e,dd),unmergable:cm(e),selection:am(e)}),fd=e=>(t,o)=>{const n=Nt(t),r="col"===n||"colgroup"===n?ir(s=t).bind(e=>sm(e,dd.firstSelectedSelector)).fold(g(s),e=>e[0]):t;var s;return an(r,e,o)},gd=fd("th,td,caption"),hd=fd("th,td"),pd=e=>{return t=e.model.table.getSelectedCells(),E(t,Me.fromDom);var t},bd=(e,t)=>{e.on("BeforeGetContent",t=>{const o=o=>{t.preventDefault(),(e=>ir(e[0]).map(e=>{const t=((e,t)=>{const o=e=>Ge(e.element,t),n=So(e),r=vr(n),s=As(e),l=Or(r),a=((e,t)=>{const o=e.grid.columns;let n=e.grid.rows,r=o,s=0,l=0;const a=[],c=[];return G(e.access,e=>{if(a.push(e),t(e)){c.push(e);const t=e.row,o=t+e.rowspan-1,a=e.column,i=a+e.colspan-1;ts&&(s=o),al&&(l=i)}}),((e,t,o,n,r,s)=>({minRow:e,minCol:t,maxRow:o,maxCol:n,allCells:r,selectedCells:s}))(n,r,s,l,a,c)})(l,o),c="th:not("+t+"),td:not("+t+")",i=sr(n,"th,td",e=>Ge(e,c));_(i,yo),((e,t,o,n)=>{const r=B(e,e=>"colgroup"!==e.section),s=t.grid.columns,l=t.grid.rows;for(let e=0;eo.maxRow||ao.maxCol||(kr(t,e,a).filter(n).isNone()?al(r,l,e):l=!0)}})(r,l,a,o);const m=((e,t,o,n)=>{if(0===n.minCol&&t.grid.columns===n.maxCol+1)return 0;const r=Es(t,e,o),s=A(r,(e,t)=>e+t,0),l=A(r.slice(n.minCol,n.maxCol+1),(e,t)=>e+t,0),a=l/s*o.pixelWidth()-o.pixelWidth();return o.getCellDelta(a)})(e,Dr(e),s,a);return((e,t,o,n)=>{G(o.columns,e=>{(e.columnt.maxCol)&&yo(e.element)});const r=B(rr(e,"tr"),e=>0===e.dom.childElementCount);_(r,yo),t.minCol!==t.maxCol&&t.minRow!==t.maxRow||_(rr(e,"th,td"),e=>{bo(e,"rowspan"),bo(e,"colspan")}),bo(e,yr),bo(e,"data-snooker-col-series"),As(e).adjustTableWidth(n)})(n,a,l,m),n})(e,md);return qi(t),[t]}))(o).each(o=>{const n="text"===t.format?((e,t)=>{const o=e.getDoc(),n=Qt(Me.fromDom(e.getBody())),r=Me.fromTag("div",o);fo(r,"data-mce-bogus","all"),_o(r,{position:"fixed",left:"-9999999px",top:"0",overflow:"hidden",opacity:"0"});const s=(e=>Jt(e)?e:Me.fromDom(Ht(e).dom.body))(n);mo(r,t),ao(s,r);const l=r.dom.innerText;return yo(r),l})(e,o):((e,t)=>E(t,t=>e.selection.serializer.serialize(t.dom,{})).join(""))(e,o);t.content=n})};if(!0===t.selection){const t=(e=>B(pd(e),e=>Ge(e,dd.selectedSelector)))(e);t.length>=1&&o(t)}}),e.on("BeforeSetContent",o=>{if(!0===o.selection&&!0===o.paste){const n=pd(e);H(n).each(n=>{ir(n).each(r=>{const s=B((e=>{const t=document.createElement("div");return t.innerHTML=e,Kt(Me.fromDom(t))})(o.content),e=>"meta"!==Nt(e)),l=It("table");if(ji(e)&&1===s.length&&l(s[0])){o.preventDefault();const l=Me.fromDom(e.getDoc()),a=pa(l),c=((e,t,o)=>({element:e,clipboard:t,generators:o}))(n,s[0],a);t.pasteCells(r,c).each(()=>{e.focus()})}})})}})},wd=(e,t)=>e.dispatch("NewRow",{node:t}),vd=(e,t)=>e.dispatch("NewCell",{node:t}),yd=(e,t,o)=>{e.dispatch("TableModified",{...o,table:t})},xd={structure:!1,style:!0},Cd={structure:!0,style:!1},Td={structure:!0,style:!0},Sd=(e,t)=>zi(e)?Ms(t):Ai(e)?Ls(t):As(t),Rd=(e,t,o)=>{const n=e=>"table"===Nt($i(e)),r=Oi(e),s=Ni(e)?f:rl,l=t=>{switch(ki(e)){case"section":return Ir();case"sectionCells":return Fr();case"cells":return Hr();default:return((e,t)=>{var o;switch((o=Dr(e),V(o.all,e=>{const t=hr(e);return"header"===t.type?C.from(t.subType):C.none()})).getOr(t)){case"section":return Wr();case"sectionCells":return jr();case"cells":return Pr()}})(t,"section")}},a=(n,s,a,c)=>(i,m,d=!1)=>{qi(i);const u=Me.fromDom(e.getDoc()),f=ha(a,u,r),g={sizing:Sd(e,i),resize:Ni(e)?Jn():Qn(),section:l(i)};return s(i)?n(i,m,f,g).bind(n=>{t.refresh(i.dom),_(n.newRows,t=>{wd(e,t.dom)}),_(n.newCells,t=>{vd(e,t.dom)});const r=((t,n)=>n.cursor.fold(()=>{const n=ar(t);return H(n).filter(Oo).map(n=>{o.clearSelectedCells(t.dom);const r=e.dom.createRng();return r.selectNode(n.dom),e.selection.setRng(r),fo(n,"data-mce-selected","1"),r})},n=>{const r=Fl(Hl,n),s=e.dom.createRng();return s.setStart(r.element.dom,r.offset),s.setEnd(r.element.dom,r.offset),e.selection.setRng(s),o.clearSelectedCells(t.dom),C.some(s)}))(i,n);return Oo(i)&&(qi(i),d||yd(e,i.dom,c)),r.map(e=>({rng:e,effect:c}))}):C.none()},c=a(Oc,t=>!n(e)||ba(t).rows>1,f,Cd),i=a(Dc,t=>!n(e)||ba(t).columns>1,f,Cd);return{deleteRow:c,deleteColumn:i,insertRowsBefore:a(Cc,x,f,Cd),insertRowsAfter:a(Tc,x,f,Cd),insertColumnsBefore:a(Sc,x,s,Cd),insertColumnsAfter:a(Rc,x,s,Cd),mergeCells:a(Lc,x,f,Cd),unmergeCells:a(Mc,x,f,Cd),pasteColsBefore:a(jc,x,f,Cd),pasteColsAfter:a(Pc,x,f,Cd),pasteRowsBefore:a(Ic,x,f,Cd),pasteRowsAfter:a(Fc,x,f,Cd),pasteCells:a(Wc,x,f,Td),makeCellsHeader:a(zc,x,f,Cd),unmakeCellsHeader:a(Ac,x,f,Cd),makeColumnsHeader:a(kc,x,f,Cd),unmakeColumnsHeader:a(Ec,x,f,Cd),makeRowsHeader:a(_c,x,f,Cd),makeRowsBody:a(Nc,x,f,Cd),makeRowsFooter:a(Bc,x,f,Cd),getTableRowType:Vc,getTableCellType:$c,getTableColType:Hc}},Dd=(e,t)=>{e.selection.select(t.dom,!0),e.selection.collapse(!0)},Od=(e,t,o,n,s)=>{const l=(e=>{const t=e.options,o=t.get("table_default_styles");return t.isSet("table_default_styles")?o:((e,t)=>Li(e)||!Wi(e)?t:Ai(e)?{...t,width:Di(e)}:{...t,width:Ri})(e,o)})(e),a={styles:l,attributes:Fi(e),colGroups:Hi(e)};return e.undoManager.ignore(()=>{const r=((e,t,o,n,r,s=Zc)=>{const l=Me.fromTag("table"),a="cells"!==r;_o(l,s.styles),go(l,s.attributes),s.colGroups&&ao(l,(e=>{const t=Me.fromTag("colgroup");return k(e,()=>ao(t,Me.fromTag("col"))),t})(t));const c=Math.min(e,o);if(a&&o>0){const e=Me.fromTag("thead");ao(l,e);const s=oi(o,t,"sectionCells"===r?c:0,n);mo(e,s)}const i=Me.fromTag("tbody");ao(l,i);const m=oi(a?e-c:e,t,a?0:o,n);return mo(i,m),l})(o,t,s,n,ki(e),a);fo(r,"data-mce-id","__mce");const l=(e=>{const t=Me.fromTag("div"),o=Me.fromDom(e.dom.cloneNode(!0));return ao(t,o),(e=>e.dom.innerHTML)(t)})(r);e.insertContent(l),e.addVisual()}),ln($i(e),'table[data-mce-id="__mce"]').map(t=>(Ai(e)?la(t):Li(e)?aa(t):(zi(e)||(e=>r(e)&&-1!==e.indexOf("%"))(l.width))&&sa(t),qi(t),bo(t,"data-mce-id"),((e,t)=>{_(vn(t,"tr"),t=>{wd(e,t.dom),_(vn(t,"th,td"),t=>{vd(e,t.dom)})})})(e,t),((e,t)=>{ln(t,"td,th").each(b(Dd,e))})(e,t),t.dom)).getOrNull()};var kd=tinymce.util.Tools.resolve("tinymce.FakeClipboard");const Ed="x-tinymce/dom-table-",_d=Ed+"rows",Nd=Ed+"columns",Bd=e=>{const t=kd.FakeClipboardItem(e);kd.write([t])},zd=e=>{const t=kd.read()??[];return V(t,t=>C.from(t.getType(e)))},Ad=e=>{zd(e).isSome()&&kd.clear()},Ld=e=>{e.fold(Wd,e=>Bd({[_d]:e}))},Md=()=>zd(_d),Wd=()=>Ad(_d),jd=e=>{e.fold(Id,e=>Bd({[Nd]:e}))},Pd=()=>zd(Nd),Id=()=>Ad(Nd),Fd=e=>gd(Ui(e),Vi(e)).filter(Zi),Hd=(e,t)=>{const o=Vi(e),n=e=>ir(e,o),l=t=>(e=>hd(Ui(e),Vi(e)).filter(Zi))(e).bind(e=>n(e).map(o=>t(o,e))),a=t=>{e.focus()},c=(t,o=!1)=>l((n,r)=>{const s=ud(pd(e),n,r);t(n,s,o).each(a)}),i=()=>l((t,o)=>((e,t,o)=>{const n=Dr(e);return Ys(n,t).bind(e=>{const t=Hs(n,o,!1),r=ze(t).rows.slice(e[0].row,e[e.length-1].row+e[e.length-1].rowspan),s=j(r,e=>{const t=B(e.cells,e=>!e.isLocked);return t.length>0?[{...e,cells:t}]:[]}),l=$s(s);return de(l.length>0,l)}).map(e=>E(e,e=>{const t=To(e.element);return _(e.cells,e=>{const o=So(e.element);Ws(o,"colspan",e.colspan,1),Ws(o,"rowspan",e.rowspan,1),ao(t,o)}),t}))})(t,ud(pd(e),t,o),ha(f,Me.fromDom(e.getDoc()),C.none()))),m=()=>l((t,o)=>((e,t)=>{const o=Dr(e);return Js(o,t).map(e=>{const t=e[e.length-1],n=e[0].column,r=t.column+t.colspan,s=((e,t,o)=>{if(zr(e)){const n=B(Br(e),ll(t,o)),r=E(n,e=>{const n=So(e.element);return sl(n,"span",o-t),n}),s=Me.fromTag("colgroup");return mo(s,r),[s]}return[]})(o,n,r),l=((e,t,o)=>E(e.all,e=>{const n=B(e.cells,ll(t,o)),r=E(n,e=>{const n=So(e.element);return sl(n,"colspan",o-t),n}),s=Me.fromTag("tr");return mo(s,r),s}))(o,n,r);return[...s,...l]})})(t,ud(pd(e),t,o))),d=(t,o)=>o().each(o=>{const n=E(o,e=>So(e));l((o,r)=>{const s=pa(Me.fromDom(e.getDoc())),l=((e,t,o,n)=>({selection:am(e),clipboard:o,generators:n}))(pd(e),0,n,s);t(o,l).each(a)})}),g=e=>(t,o)=>((e,t)=>X(e,t)?C.from(e[t]):C.none())(o,"type").each(t=>{c(e(t),o.no_events)});G({mceTableSplitCells:()=>c(t.unmergeCells),mceTableMergeCells:()=>c(t.mergeCells),mceTableInsertRowBefore:()=>c(t.insertRowsBefore),mceTableInsertRowAfter:()=>c(t.insertRowsAfter),mceTableInsertColBefore:()=>c(t.insertColumnsBefore),mceTableInsertColAfter:()=>c(t.insertColumnsAfter),mceTableDeleteCol:()=>c(t.deleteColumn),mceTableDeleteRow:()=>c(t.deleteRow),mceTableCutCol:()=>m().each(e=>{jd(e),c(t.deleteColumn)}),mceTableCutRow:()=>i().each(e=>{Ld(e),c(t.deleteRow)}),mceTableCopyCol:()=>m().each(e=>jd(e)),mceTableCopyRow:()=>i().each(e=>Ld(e)),mceTablePasteColBefore:()=>d(t.pasteColsBefore,Pd),mceTablePasteColAfter:()=>d(t.pasteColsAfter,Pd),mceTablePasteRowBefore:()=>d(t.pasteRowsBefore,Md),mceTablePasteRowAfter:()=>d(t.pasteRowsAfter,Md),mceTableDelete:()=>Fd(e).each(t=>{ir(t,o).filter(w(o)).each(t=>{const o=Me.fromText("");if(so(t,o),yo(t),e.dom.isEmpty(e.getBody()))e.setContent(""),e.selection.setCursorLocation();else{const t=e.dom.createRng();t.setStart(o.dom,0),t.setEnd(o.dom,0),e.selection.setRng(t),e.nodeChanged()}})}),mceTableCellToggleClass:(t,o)=>{l(t=>{const n=pd(e),r=P(n,t=>e.formatter.match("tablecellclass",{value:o},t.dom)),s=r?e.formatter.remove:e.formatter.apply;_(n,e=>s("tablecellclass",{value:o},e.dom)),yd(e,t.dom,xd)})},mceTableToggleClass:(t,o)=>{l(t=>{e.formatter.toggle("tableclass",{value:o},t.dom),yd(e,t.dom,xd)})},mceTableToggleCaption:()=>{Fd(e).each(t=>{ir(t,o).each(o=>{sn(o,"caption").fold(()=>{const t=Me.fromTag("caption");ao(t,Me.fromText("Caption")),((e,t)=>{Yt(e,0).fold(()=>{ao(e,t)},e=>{ro(e,t)})})(o,t),e.selection.setCursorLocation(t.dom,0)},n=>{It("caption")(t)&&Ye("td",o).each(t=>e.selection.setCursorLocation(t.dom,0)),yo(n)}),yd(e,o.dom,Cd)})})},mceTableSizingMode:(t,n)=>(t=>Fd(e).each(n=>{Li(e)||Ai(e)||zi(e)||ir(n,o).each(o=>{"relative"!==t||Rl(o)?"fixed"!==t||Dl(o)?"responsive"!==t||Ol(o)||aa(o):la(o):sa(o),qi(o),yd(e,o.dom,Cd)})}))(n),mceTableCellType:g(e=>"th"===e?t.makeCellsHeader:t.unmakeCellsHeader),mceTableColType:g(e=>"th"===e?t.makeColumnsHeader:t.unmakeColumnsHeader),mceTableRowType:g(e=>{switch(e){case"header":return t.makeRowsHeader;case"footer":return t.makeRowsFooter;default:return t.makeRowsBody}})},(t,o)=>e.addCommand(o,t)),e.addCommand("mceInsertTable",(t,o)=>{((e,t,o,n={})=>{const r=e=>u(e)&&e>0;if(r(t)&&r(o)){const r=n.headerRows??Pi(e),s=n.headerColumns??Ii(e);return Od(e,o,t,s,r)}console.error("Invalid values for mceInsertTable - rows and columns values are required to insert a table.")})(e,o.rows,o.columns,o.options)}),e.addCommand("mceTableApplyCellStyle",(t,o)=>{const l=e=>"tablecell"+e.toLowerCase().replace("-","");if(!s(o))return;const a=B(pd(e),Zi);if(0===a.length)return;const c=((e,t)=>{const o={};return((e,t,o,n)=>{G(e,(e,r)=>{(t(e,r)?o:n)(e,r)})})(e,t,(e=>(t,o)=>{e[o]=t})(o),f),o})(o,(t,o)=>e.formatter.has(l(o))&&r(t));(e=>{for(const t in e)if(U.call(e,t))return!1;return!0})(c)||(G(c,(t,o)=>{const n=l(o);_(a,o=>{""===t?e.formatter.remove(n,{value:null},o.dom,!0):e.formatter.apply(n,{value:t},o.dom)})}),n(a[0]).each(t=>yd(e,t.dom,xd)))})},$d=e=>!un(Me.fromDom(e.target),"ephox-snooker-resizer-bar"),Vd=(e,t)=>{const o=(r=dd.selectedSelector,{get:()=>sm(Me.fromDom(e.getBody()),r).fold(()=>hd(Ui(e),Vi(e)).fold(dm,fm),um)}),n=((e,t,o)=>{const n=t=>{bo(t,e.selected),bo(t,e.firstSelected),bo(t,e.lastSelected)},r=t=>{fo(t,e.selected,"1")},s=e=>{l(e),o()},l=t=>{const o=vn(t,`${e.selectedSelector},${e.firstSelectedSelector},${e.lastSelectedSelector}`);_(o,n)};return{clearBeforeUpdate:l,clear:s,selectRange:(o,n,l,a)=>{s(o),_(n,r),fo(l,e.firstSelected,"1"),fo(a,e.lastSelected,"1"),t(n,l,a)},selectedSelector:e.selectedSelector,firstSelectedSelector:e.firstSelectedSelector,lastSelectedSelector:e.lastSelectedSelector}})(dd,(t,o,n)=>{ir(o).each(r=>{const s=E(t,e=>e.dom),l=Oi(e),a=ha(f,Me.fromDom(e.getDoc()),l),c=((e,t,o)=>{const n=Dr(e);return Ys(n,t).map(e=>{const t=Hs(n,o,!1),{rows:r}=ze(t),s=((e,t)=>{const o=e.slice(0,t[t.length-1].row+1),n=$s(o);return j(n,e=>{const o=e.cells.slice(0,t[t.length-1].column+1);return E(o,e=>e.element)})})(r,e),l=((e,t)=>{const o=e.slice(t[0].row+t[0].rowspan-1,e.length),n=$s(o);return j(n,e=>{const o=e.cells.slice(t[0].column+t[0].colspan-1,e.cells.length);return E(o,e=>e.element)})})(r,e);return{upOrLeftCells:s,downOrRightCells:l}})})(r,{selection:pd(e)},a).map(e=>K(e,e=>E(e,e=>e.dom))).getOrUndefined();((e,t,o,n,r)=>{e.dispatch("TableSelectionChange",{cells:t,start:o,finish:n,otherCells:r})})(e,s,o.dom,n.dom,c)})},()=>(e=>{e.dispatch("TableSelectionClear")})(e));var r;return e.on("init",o=>{const r=e.getWin(),s=$i(e),l=Vi(e),a=((e,t,o,n)=>{const r=((e,t,o,n)=>{const r=fe(),s=r.clear,l=s=>{r.on(r=>{n.clearBeforeUpdate(t),Gm(s.target,o).each(l=>{tm(r,l,o).each(o=>{const r=o.boxes.getOr([]);if(1===r.length){const e=r[0],o="false"===hn(e),l=ie(fn(s.target),e,Je);o&&l&&n.selectRange(t,r,e,e)}else r.length>1&&(n.selectRange(t,r,o.start,o.finish),e.selectContents(l))})})})};return{clearstate:s,mousedown:e=>{n.clear(t),Gm(e.target,o).filter(Km).each(r.set)},mouseover:e=>{l(e)},mouseup:e=>{l(e),s()}}})(nd(e),t,o,n);return{clearstate:r.clearstate,mousedown:r.mousedown,mouseover:r.mouseover,mouseup:r.mouseup}})(r,s,l,n),c=((e,t,o,n)=>{const r=nd(e),s=()=>(n.clear(t),C.none());return{keydown:(e,l,a,c,i,m)=>{const d=e.raw,u=d.which,f=!0===d.shiftKey,g=om(t,n.selectedSelector).fold(()=>(ed(u)&&!f&&n.clearBeforeUpdate(t),ed(u)&&f&&!ld(l,c)?C.none:Zm(u)&&f?b(Um,r,t,o,Ym,c,l,n.selectRange):Xm(u)&&f?b(Um,r,t,o,Jm,c,l,n.selectRange):Zm(u)?b($m,r,o,Ym,c,l,qm):Xm(u)?b($m,r,o,Jm,c,l,Vm):C.none),e=>{const o=o=>()=>{const s=V(o,o=>((e,t,o,n,r)=>rm(n,e,t,r.firstSelectedSelector,r.lastSelectedSelector).map(e=>(r.clearBeforeUpdate(o),r.selectRange(o,e.boxes,e.start,e.finish),e.boxes)))(o.rows,o.cols,t,e,n));return s.fold(()=>nm(t,n.firstSelectedSelector,n.lastSelectedSelector).map(e=>{const o=Zm(u)||m.isForward(u)?kn.after:kn.before;return r.setRelativeSelection(kn.on(e.first,0),o(e.table)),n.clear(t),mm(C.none(),!0)}),e=>C.some(mm(C.none(),!0)))};return ed(u)&&f&&!ld(l,c)?C.none:Zm(u)&&f?o([rd(1,0)]):Xm(u)&&f?o([rd(-1,0)]):m.isBackward(u)&&f?o([rd(0,-1),rd(-1,0)]):m.isForward(u)&&f?o([rd(0,1),rd(1,0)]):ed(u)&&!f?s:C.none});return g()},keyup:(e,r,s,l,a)=>om(t,n.selectedSelector).fold(()=>{const c=e.raw,i=c.which;return!0===c.shiftKey&&ed(i)&&ld(r,l)?((e,t,o,n,r,s,l)=>Je(o,r)&&n===s?C.none():an(o,"td,th",t).bind(o=>an(r,"td,th",t).bind(n=>bm(e,t,o,n,l))))(t,o,r,s,l,a,n.selectRange):C.none()},C.none)}})(r,s,l,n),i=((e,t,o,n)=>{const r=nd(e);return(e,s)=>{n.clearBeforeUpdate(t),tm(e,s,o).each(e=>{const o=e.boxes.getOr([]);n.selectRange(t,o,e.start,e.finish),r.selectContents(s),r.collapseSelection()})}})(r,s,l,n);e.on("TableSelectorChange",e=>i(e.start,e.finish));const m=(t,o)=>{(e=>!0===e.raw.shiftKey)(t)&&(o.kill&&t.kill(),o.selection.each(t=>{const o=_n.relative(t.start,t.finish),n=Ue(r,o);e.selection.setRng(n)}))},d=e=>0===e.button,u=(()=>{const e=ee(Me.fromDom(s)),t=ee(0);return{touchEnd:o=>{const n=Me.fromDom(o.target);if(It("td")(n)||It("th")(n)){const r=e.get(),s=t.get();Je(r,n)&&o.timeStamp-s<300&&(o.preventDefault(),i(n,n))}e.set(n),t.set(o.timeStamp)}}})();e.on("dragstart",e=>{a.clearstate()}),e.on("mousedown",e=>{d(e)&&$d(e)&&a.mousedown(no(e))}),e.on("mouseover",e=>{var t;(void 0===(t=e).buttons||1&t.buttons)&&$d(e)&&a.mouseover(no(e))}),e.on("mouseup",e=>{d(e)&&$d(e)&&a.mouseup(no(e))}),e.on("touchend",u.touchEnd),e.on("keyup",t=>{const o=no(t);if(o.raw.shiftKey&&ed(o.raw.which)){const t=e.selection.getRng(),n=Me.fromDom(t.startContainer),r=Me.fromDom(t.endContainer);c.keyup(o,n,t.startOffset,r,t.endOffset).each(e=>{m(o,e)})}}),e.on("keydown",o=>{const n=no(o);t.hide();const r=e.selection.getRng(),s=Me.fromDom(r.startContainer),l=Me.fromDom(r.endContainer),a=Zo(td,od)(Me.fromDom(e.selection.getStart()));c.keydown(n,s,r.startOffset,l,r.endOffset,a).each(e=>{m(n,e)}),t.show()}),e.on("NodeChange",()=>{const t=e.selection,o=Me.fromDom(t.getStart()),r=Me.fromDom(t.getEnd());Zl(ir,[o,r]).fold(()=>n.clear(s),f)})}),e.on("PreInit",()=>{e.serializer.addTempAttr(dd.firstSelected),e.serializer.addTempAttr(dd.lastSelected)}),{getSelectedCells:()=>((e,t)=>{switch(e.tag){case"none":return t();case"single":return(e=>[e.dom])(e.element);case"multiple":return(e=>E(e,e=>e.dom))(e.elements)}})(o.get(),g([])),clearSelectedCells:e=>n.clear(Me.fromDom(e))}},qd=e=>m(e)&&"TABLE"===e.nodeName,Ud="bar-",Gd=e=>"false"!==ho(e,"data-mce-resize"),Kd=e=>{const t=fe(),o=fe();let n,r,s,l;const a=t=>Sd(e,t),c=()=>_i(e)?Qn():Jn(),i=(t,o,i,m)=>{const d=(e=>{return pe(t=e,"corner-")?(e=>e.substring(7))(t):t;var t})(o),u=be(d,"e"),f=pe(d,"n");if(""===r&&sa(t),""===l&&(e=>{const t=(e=>jo(e)+"px")(e);Sl(e,C.none(),C.some(t)),ra(e)})(t),i!==n&&""!==r){Eo(t,"width",r);const o=c(),s=a(t),l=_i(e)||u?(e=>ba(e).columns)(t)-1:0;ol(t,i-n,l,o,s)}else if((e=>/^(\d+(\.\d+)?)%$/.test(e))(r)){const e=parseFloat(r.replace("%",""));Eo(t,"width",i*e/n+"%")}if((e=>/^(\d+(\.\d+)?)px$/.test(e))(r)&&(e=>{const t=Dr(e);zr(t)||_(ar(e),e=>{const t=No(e,"width");Eo(e,"width",t),bo(e,"width")})})(t),m!==s&&""!==l){Eo(t,"height",l);const e=f?0:(e=>ba(e).rows)(t)-1;nl(t,m-s,e)}};e.on("init",()=>{const n=((e,t)=>((e,t)=>({parent:g(e),view:g(e),dragContainer:g(e),origin:()=>Go(e),isResizable:t}))(Me.fromDom(e.getBody()),t))(e,Gd);if(o.set(n),(e=>{const t=e.options.get("object_resizing");return D(t.split(","),"table")})(e)&&Mi(e)){const o=((e,t,o)=>{const n=ns,r=ss,s=Ti(e),l=ri({beforeResize:ni(["table","type"]),afterResize:ni(["table","type"]),startDrag:ni([])});return s.events.adjustHeight.bind(e=>{const t=e.table;l.trigger.beforeResize(t,"row");const o=n.delta(e.delta,t);nl(t,o,e.row),l.trigger.afterResize(t,"row")}),s.events.startAdjust.bind(e=>{l.trigger.startDrag()}),s.events.adjustWidth.bind(e=>{const n=e.table;l.trigger.beforeResize(n,"col");const s=r.delta(e.delta,n),a=o(n);ol(n,s,e.column,t,a),l.trigger.afterResize(n,"col")}),{on:s.on,off:s.off,refreshBars:s.refresh,hideBars:s.hideBars,showBars:s.showBars,destroy:s.destroy,events:l.registry}})(n,c(),a);e.mode.isReadOnly()||o.on(),o.events.beforeResize.bind(t=>{const o=t.table.dom;((e,t,o,n,r)=>{e.dispatch("ObjectResizeStart",{target:t,width:o,height:n,origin:r})})(e,o,Gi(o),Ki(o),Ud+t.type)}),o.events.afterResize.bind(t=>{const o=t.table,n=o.dom;qi(o),((e,t,o,n,r)=>{e.dispatch("ObjectResized",{target:t,width:o,height:n,origin:r})})(e,n,Gi(n),Ki(n),Ud+t.type),e.undoManager.add()}),t.set(o)}}),e.on("ObjectResizeStart",t=>{const o=t.target;if(qd(o)&&!e.mode.isReadOnly()){const a=Me.fromDom(o);_(e.dom.select(".mce-clonedresizable"),t=>{e.dom.addClass(t,"mce-"+Ei(e)+"-columns")}),!Dl(a)&&Ai(e)?la(a):!Rl(a)&&zi(e)&&sa(a),Ol(a)&&pe(t.origin,Ud)&&sa(a),n=t.width,r=Li(e)?"":Qi(e,o).getOr(""),s=t.height,l=Xi(e,o).getOr("")}}),e.on("ObjectResized",t=>{const o=t.target;if(qd(o)){const n=Me.fromDom(o),r=t.origin;(e=>pe(e,"corner-"))(r)&&i(n,r,t.width,t.height),qi(n),yd(e,n.dom,xd)}});const m=()=>{t.on(e=>{e.on(),e.showBars()})},d=()=>{t.on(e=>{e.off(),e.hideBars()})};return e.on("DisabledStateChange",e=>{e.state?d():m()}),e.on("SwitchMode",()=>{e.mode.isReadOnly()?d():m()}),e.on("dragstart dragend",e=>{"dragstart"===e.type?d():m()}),e.on("remove",()=>{t.on(e=>{e.destroy()})}),{refresh:e=>{t.on(t=>t.refreshBars(Me.fromDom(e)))},hide:()=>{t.on(e=>e.hideBars())},show:()=>{t.on(e=>e.showBars())}}},Yd=e=>{(e=>{const t=e.options.register;t("table_clone_elements",{processor:"string[]"}),t("table_use_colgroups",{processor:"boolean",default:!0}),t("table_header_type",{processor:e=>{const t=D(["section","cells","sectionCells","auto"],e);return t?{value:e,valid:t}:{valid:!1,message:"Must be one of: section, cells, sectionCells or auto."}},default:"section"}),t("table_sizing_mode",{processor:"string",default:"auto"}),t("table_default_attributes",{processor:"object",default:{border:"1"}}),t("table_default_styles",{processor:"object",default:{"border-collapse":"collapse"}}),t("table_column_resizing",{processor:e=>{const t=D(["preservetable","resizetable"],e);return t?{value:e,valid:t}:{valid:!1,message:"Must be preservetable, or resizetable."}},default:"preservetable"}),t("table_resize_bars",{processor:"boolean",default:!0}),t("table_style_by_css",{processor:"boolean",default:!0}),t("table_merge_content_on_paste",{processor:"boolean",default:!0}),t("table_default_header_rows",{processor:"number",default:0}),t("table_default_header_cols",{processor:"number",default:0})})(e);const t=Kd(e),o=Vd(e,t),n=Rd(e,t,o);return Hd(e,n),((e,t)=>{const o=Vi(e),n=t=>hd(Ui(e)).bind(n=>ir(n,o).map(o=>{const r=ud(pd(e),o,n);return t(o,r)})).getOr("");G({mceTableRowType:()=>n(t.getTableRowType),mceTableCellType:()=>n(t.getTableCellType),mceTableColType:()=>n(t.getTableColType)},(t,o)=>e.addQueryValueHandler(o,t))})(e,n),bd(e,n),{getSelectedCells:o.getSelectedCells,clearSelectedCells:o.clearSelectedCells}};e.add("dom",e=>({table:Yd(e)}))}(); \ No newline at end of file diff --git a/libraries/tinymce/js/tinymce/plugins/accordion/plugin.min.js b/libraries/tinymce/js/tinymce/plugins/accordion/plugin.min.js index 86a0298..ad6bc6f 100644 --- a/libraries/tinymce/js/tinymce/plugins/accordion/plugin.min.js +++ b/libraries/tinymce/js/tinymce/plugins/accordion/plugin.min.js @@ -1 +1 @@ -!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>t=>typeof t===e,o=e=>"string"===(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(o=n=e,(r=String).prototype.isPrototypeOf(o)||n.constructor?.name===r.name)?"string":t;var o,n,r})(e),n=t("boolean"),r=e=>null==e,s=e=>!r(e),a=t("function"),i=t("number"),c=e=>()=>e,d=(e,t)=>e===t,l=c(!1);class m{tag;value;static singletonNone=new m(!1);constructor(e,t){this.tag=e,this.value=t}static some(e){return new m(!0,e)}static none(){return m.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?m.some(e(this.value)):m.none()}bind(e){return this.tag?e(this.value):m.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:m.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(e??"Called getOrDie on None")}static from(e){return s(e)?m.some(e):m.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}const u=Array.prototype.indexOf,p=(e,t)=>{return o=e,n=t,u.call(o,n)>-1;var o,n},g=(e,t)=>{const o=e.length,n=new Array(o);for(let r=0;r{for(let o=0,n=e.length;oe.replace(b,""));var b;const w=(e,t)=>({element:e,offset:t}),N=e=>{if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},T={fromHtml:(e,t)=>{const o=(t||document).createElement("div");if(o.innerHTML=e,!o.hasChildNodes()||o.childNodes.length>1){const t="HTML does not have a single root node";throw console.error(t,e),new Error(t)}return N(o.childNodes[0])},fromTag:(e,t)=>{const o=(t||document).createElement(e);return N(o)},fromText:(e,t)=>{const o=(t||document).createTextNode(e);return N(o)},fromDom:N,fromPoint:(e,t,o)=>m.from(e.dom.elementFromPoint(t,o)).map(N)},A=(e,t)=>{const o=e.dom;if(1!==o.nodeType)return!1;{const e=o;if(void 0!==e.matches)return e.matches(t);if(void 0!==e.msMatchesSelector)return e.msMatchesSelector(t);if(void 0!==e.webkitMatchesSelector)return e.webkitMatchesSelector(t);if(void 0!==e.mozMatchesSelector)return e.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")}},C=e=>1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType||0===e.childElementCount,S=A,x=e=>e.dom.nodeName.toLowerCase(),D=e=>e.dom.nodeType,E=e=>t=>D(t)===e,M=E(1),O=E(3),P=E(9),R=E(11),k=e=>m.from(e.dom.parentNode).map(T.fromDom),B=e=>m.from(e.dom.nextSibling).map(T.fromDom),L=e=>g(e.dom.childNodes,T.fromDom),$=e=>T.fromDom(e.dom.host),V=(e,t)=>{k(e).each(o=>{o.dom.insertBefore(t.dom,e.dom)})},I=(e,t)=>{B(e).fold(()=>{k(e).each(e=>{j(e,t)})},e=>{V(e,t)})},j=(e,t)=>{e.dom.appendChild(t.dom)},q=(e,t)=>{h(t,(o,n)=>{const r=0===n?e:t[n-1];I(r,o)})},H=(e,t,r)=>{if(!(o(r)||n(r)||i(r)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",r,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,r+"")},z=(e,t)=>{const o=e.dom.getAttribute(t);return null===o?void 0:o},F=(e,t)=>m.from(z(e,t)),K=(e,t)=>{e.dom.removeAttribute(t)},U=e=>{const t=e.dom;null!==t.parentNode&&t.parentNode.removeChild(t)},Y=e=>void 0!==e.style&&a(e.style.getPropertyValue),_=e=>{const t=O(e)?e.dom.parentNode:e.dom;if(null==t||null===t.ownerDocument)return!1;const o=t.ownerDocument;return(e=>{const t=(e=>T.fromDom(e.dom.getRootNode()))(e);return R(o=t)&&s(o.dom.host)?m.some(t):m.none();var o})(T.fromDom(t)).fold(()=>o.body.contains(t),(n=_,r=$,e=>n(r(e))));var n,r},G=(e,t)=>Y(e)?e.style.getPropertyValue(t):"",J=(e=>{const t=t=>e(t)?m.from(t.dom.nodeValue):m.none();return{get:o=>{if(!e(o))throw new Error("Can only get text value of a text node");return t(o).getOr("")},getOption:t,set:(t,o)=>{if(!e(t))throw new Error("Can only set raw text value of a text node");t.dom.nodeValue=o}}})(O),Q=(e,t,o)=>{let n=e.dom;const r=a(o)?o:l;for(;n.parentNode;){n=n.parentNode;const e=T.fromDom(n);if(t(e))return m.some(e);if(r(e))break}return m.none()},W=(e,t,o)=>Q(e,e=>A(e,t),o),X=(e,t)=>((e,t)=>{const o=void 0===t?document:t.dom;return C(o)?m.none():m.from(o.querySelector(e)).map(T.fromDom)})(t,e),Z=(e,t)=>{let o=[];return h(L(e),e=>{t(e)&&(o=o.concat([e])),o=o.concat(Z(e,t))}),o};var ee=["body","p","div","article","aside","figcaption","figure","footer","header","nav","section","ol","ul","li","table","thead","tbody","tfoot","caption","tr","td","th","h1","h2","h3","h4","h5","h6","blockquote","pre","address"];const te=(e,t,o)=>e.property().isText(t)&&0===e.property().getText(t).trim().length||e.property().isComment(t)?o(t).bind(t=>te(e,t,o).orThunk(()=>m.some(t))):m.none(),oe=(e,t)=>e.property().isText(t)?e.property().getText(t).length:e.property().children(t).length,ne=(e,t)=>{const o=te(e,t,e.query().prevSibling).getOr(t);if(e.property().isText(o))return w(o,oe(e,o));const n=e.property().children(o);return n.length>0?ne(e,n[n.length-1]):w(o,oe(e,o))},re=ne,se={up:c({selector:W,closest:(e,t,o)=>((e,t,o,n,r)=>((e,t)=>A(e,t))(o,n)?m.some(o):a(r)&&r(o)?m.none():t(o,n,r))(0,W,e,t,o),predicate:Q,all:(e,t)=>{const o=a(t)?t:l;let n=e.dom;const r=[];for(;null!==n.parentNode&&void 0!==n.parentNode;){const e=n.parentNode,t=T.fromDom(e);if(r.push(t),!0===o(t))break;n=e}return r}}),down:c({selector:(e,t)=>((e,t)=>{const o=void 0===t?document:t.dom;return C(o)?[]:g(o.querySelectorAll(e),T.fromDom)})(t,e),predicate:Z}),styles:c({get:(e,t)=>{const o=e.dom,n=window.getComputedStyle(o).getPropertyValue(t);return""!==n||_(e)?n:G(o,t)},getRaw:(e,t)=>{const o=e.dom,n=G(o,t);return m.from(n).filter(e=>e.length>0)},set:(e,t,n)=>{((e,t,n)=>{if(!o(n))throw console.error("Invalid call to CSS.set. Property ",t,":: Value ",n,":: Element ",e),new Error("CSS value must be a string: "+n);Y(e)&&e.style.setProperty(t,n)})(e.dom,t,n)},remove:(e,t)=>{((e,t)=>{Y(e)&&e.style.removeProperty(t)})(e.dom,t),((e,t,o=d)=>e.exists(e=>o(e,t)))(F(e,"style").map(v),"")&&K(e,"style")}}),attrs:c({get:z,set:(e,t,o)=>{H(e.dom,t,o)},remove:K,copyTo:(e,t)=>{const o=(n=e.dom.attributes,r=(e,t)=>(e[t.name]=t.value,e),s={},h(n,(e,t)=>{s=r(s,e)}),s);var n,r,s;((e,t)=>{const o=e.dom;((e,t)=>{const o=f(e);for(let n=0,r=o.length;n{H(o,t,e)})})(t,o)}}),insert:c({before:V,after:I,afterAll:q,append:j,appendAll:(e,t)=>{h(t,t=>{j(e,t)})},prepend:(e,t)=>{(e=>(e=>{const t=e.dom.childNodes;return m.from(t[0]).map(T.fromDom)})(e))(e).fold(()=>{j(e,t)},o=>{e.dom.insertBefore(t.dom,o.dom)})},wrap:(e,t)=>{V(e,t),j(t,e)}}),remove:c({unwrap:e=>{const t=L(e);t.length>0&&q(e,t),U(e)},remove:U}),create:c({nu:T.fromTag,clone:e=>T.fromDom(e.dom.cloneNode(!1)),text:T.fromText}),query:c({comparePosition:(e,t)=>e.dom.compareDocumentPosition(t.dom),prevSibling:e=>m.from(e.dom.previousSibling).map(T.fromDom),nextSibling:B}),property:c({children:L,name:x,parent:k,document:e=>{return(t=e,P(t)?t:T.fromDom(t.dom.ownerDocument)).dom;var t},isText:O,isComment:e=>8===D(e)||"#comment"===x(e),isElement:M,isSpecial:e=>{const t=x(e);return p(["script","noscript","iframe","noframes","noembed","title","style","textarea","xmp"],t)},getLanguage:e=>M(e)?F(e,"lang"):m.none(),getText:e=>J.get(e),setText:(e,t)=>J.set(e,t),isBoundary:e=>!!M(e)&&("body"===x(e)||p(ee,x(e))),isEmptyTag:e=>!!M(e)&&p(["br","img","hr","input"],x(e)),isNonEditable:e=>M(e)&&"false"===z(e,"contenteditable")}),eq:(e,t)=>e.dom===t.dom,is:S},ae=e=>e.options.get("disabled"),ie="details",ce="mce-accordion",de="mce-accordion-summary",le="mce-accordion-body",me="div",ue="data-mce-accordion-open";var pe=tinymce.util.Tools.resolve("tinymce.util.Tools");const ge=e=>"SUMMARY"===e?.nodeName,he=e=>"DETAILS"===e?.nodeName,fe=e=>e.hasAttribute("open"),ye=e=>{const t=e.selection.getNode();return ge(t)||Boolean(e.dom.getParent(t,ge))},ve=e=>!ye(e)&&e.dom.isEditable(e.selection.getNode())&&!e.mode.isReadOnly(),be=e=>m.from(e.dom.getParent(e.selection.getNode(),he)),we=e=>(e.innerHTML='
',e),Ne=e=>we(e.dom.create("p")),Te=e=>t=>{((e,t)=>{if(ge(t?.lastChild)){const o=Ne(e);t.appendChild(o),e.selection.setCursorLocation(o,0)}})(e,t),((e,t)=>{if(!ge(t?.firstChild)){const o=(e=>we(e.dom.create("summary")))(e);t.prepend(o),e.selection.setCursorLocation(o,0)}})(e,t)},Ae=e=>{if(!ve(e))return;const t=T.fromDom(e.getBody()),o=(e=>{const t=(new Date).getTime(),o=Math.floor(window.crypto.getRandomValues(new Uint32Array(1))[0]/4294967295*1e9);return y++,e+"_"+o+y+String(t)})("acc"),n=e.dom.encode(e.selection.getRng().toString()||e.translate("Accordion summary...")),r=e.dom.encode(e.translate("Accordion body...")),s=`${n}`,a=`<${me} class="${le}">

${r}

`;e.undoManager.transact(()=>{e.insertContent([`
`,s,a,"
"].join("")),X(t,`[data-mce-id="${o}"]`).each(t=>{K(t,"data-mce-id"),X(t,"summary").each(t=>{const o=e.dom.createRng(),n=re(se,t);o.setStart(n.element.dom,n.offset),o.setEnd(n.element.dom,n.offset),e.selection.setRng(o)})})})},Ce=(e,t,o)=>{const n=o??!fe(t);return e||t.setAttribute(ue,n?"open":"closed"),n?t.setAttribute("open","open"):t.removeAttribute("open"),n},Se=e=>{e.addCommand("InsertAccordion",()=>Ae(e)),e.addCommand("ToggleAccordion",(t,o)=>((e,t)=>{ae(e)||be(e).each(o=>{((e,t,o)=>{e.dispatch("ToggledAccordion",{element:t,state:o})})(e,o,Ce(e.readonly,o,t))})})(e,o)),e.addCommand("ToggleAllAccordions",(t,o)=>((e,t)=>{const o=Array.from(e.getBody().querySelectorAll("details"));0!==o.length&&(h(o,o=>Ce(e.readonly,o,t??!fe(o))),((e,t,o)=>{e.dispatch("ToggledAllAccordions",{elements:t,state:o})})(e,o,t))})(e,o)),e.addCommand("RemoveAccordion",()=>(e=>{e.mode.isReadOnly()||be(e).each(t=>{const{nextSibling:o}=t;o?(e.selection.select(o,!0),e.selection.collapse(!0)):((e,t)=>{const o=Ne(e);t.insertAdjacentElement("afterend",o),e.selection.setCursorLocation(o,0)})(e,t),t.remove()})})(e))};var xe=tinymce.util.Tools.resolve("tinymce.html.Node");const De=e=>{Ee(e,"open")&&Me(e,"open","open")},Ee=(e,t)=>void 0!==e.attr(t),Me=(e,t,o)=>{e.attr(t,o)},Oe=e=>e.attr("class")?.split(" ")??[],Pe=(e,t)=>{const o=new Set([...Oe(e),...t]),n=Array.from(o);n.length>0&&e.attr("class",n.join(" "))},Re=(e,t)=>{const o=((e,t)=>{const o=[];for(let n=0,r=e.length;n!t.has(e));e.attr("class",o.length>0?o.join(" "):null)},ke=e=>e.name===ie&&p(Oe(e),ce),Be=e=>e.name===me&&p(Oe(e),le),Le=e=>{const t=e.children();let o,n;const s=[];for(let e=0;e{const t=new xe("br",1);t.attr("data-mce-bogus","1"),e.empty(),e.append(t)};var Ve=tinymce.util.Tools.resolve("tinymce.util.VK");const Ie=e=>{(e=>{e.on("keydown",t=>{(!t.shiftKey&&t.keyCode===Ve.ENTER&&ye(e)||(e=>{const t=e.selection.getRng();return he(t.startContainer)&&t.collapsed&&0===t.startOffset})(e))&&(t.preventDefault(),e.execCommand("ToggleAccordion"))})})(e),e.on("ExecCommand",t=>{const o=t.command.toLowerCase();"delete"!==o&&"forwarddelete"!==o||!(e=>be(e).isSome())(e)||(e=>{pe.each(pe.grep(e.dom.select("details",e.getBody())),Te(e))})(e)})};var je=tinymce.util.Tools.resolve("tinymce.Env");const qe=e=>t=>{const o=()=>t.setEnabled(ve(e));return e.on("NodeChange",o),()=>e.off("NodeChange",o)},He="accordion";e.add(He,e=>((e=>{const t=()=>e.execCommand("InsertAccordion");e.ui.registry.addButton("accordion",{icon:"accordion",tooltip:"Insert accordion",onSetup:qe(e),onAction:t}),e.ui.registry.addMenuItem("accordion",{icon:"accordion",text:"Accordion",onSetup:qe(e),onAction:t}),e.ui.registry.addToggleButton("accordiontoggle",{icon:"accordion-toggle",tooltip:"Toggle accordion",onAction:()=>e.execCommand("ToggleAccordion"),context:"any"}),e.ui.registry.addToggleButton("accordionremove",{icon:"remove",tooltip:"Delete accordion",onAction:()=>e.execCommand("RemoveAccordion")}),e.ui.registry.addContextToolbar("accordion",{predicate:t=>e.dom.is(t,"details")&&e.getBody().contains(t)&&e.dom.isEditable(t.parentNode),items:"accordiontoggle accordionremove",scope:"node",position:"node"})})(e),Se(e),Ie(e),(e=>{e.on("PreInit",()=>{const{serializer:t,parser:o}=e;o.addNodeFilter(ie,e=>{for(let t=0;t0)for(let e=0;e{const t=new Set([de]);for(let o=0;o{je.browser.isSafari()&&e.on("click",t=>{if(ge(t.target)){const o=t.target,n=e.selection.getRng();n.collapsed&&n.startContainer===o.parentNode&&0===n.startOffset&&e.selection.setCursorLocation(o,0)}})})(e),{getMetadata:()=>({name:"Accordion",type:"opensource",slug:He})}))}(); \ No newline at end of file +!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>t=>typeof t===e,o=e=>"string"===(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(o=n=e,(r=String).prototype.isPrototypeOf(o)||n.constructor?.name===r.name)?"string":t;var o,n,r})(e),n=t("boolean"),r=e=>null==e,s=e=>!r(e),a=t("function"),i=t("number"),c=e=>()=>e,d=(e,t)=>e===t,l=c(!1);class m{tag;value;static singletonNone=new m(!1);constructor(e,t){this.tag=e,this.value=t}static some(e){return new m(!0,e)}static none(){return m.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?m.some(e(this.value)):m.none()}bind(e){return this.tag?e(this.value):m.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:m.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(e??"Called getOrDie on None")}static from(e){return s(e)?m.some(e):m.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}const u=Array.prototype.indexOf,g=(e,t)=>{return o=e,n=t,u.call(o,n)>-1;var o,n},p=(e,t)=>{const o=e.length,n=new Array(o);for(let r=0;r{for(let o=0,n=e.length;oe.replace(b,""));var b;const w=(e,t)=>({element:e,offset:t}),N=e=>{if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},A={fromHtml:(e,t)=>{const o=(t||document).createElement("div");if(o.innerHTML=e,!o.hasChildNodes()||o.childNodes.length>1){const t="HTML does not have a single root node";throw console.error(t,e),new Error(t)}return N(o.childNodes[0])},fromTag:(e,t)=>{const o=(t||document).createElement(e);return N(o)},fromText:(e,t)=>{const o=(t||document).createTextNode(e);return N(o)},fromDom:N,fromPoint:(e,t,o)=>m.from(e.dom.elementFromPoint(t,o)).map(N)},T=(e,t)=>{const o=e.dom;if(1!==o.nodeType)return!1;{const e=o;if(void 0!==e.matches)return e.matches(t);if(void 0!==e.msMatchesSelector)return e.msMatchesSelector(t);if(void 0!==e.webkitMatchesSelector)return e.webkitMatchesSelector(t);if(void 0!==e.mozMatchesSelector)return e.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")}},C=e=>1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType||0===e.childElementCount,S=T,x=e=>e.dom.nodeName.toLowerCase(),E=e=>e.dom.nodeType,D=e=>t=>E(t)===e,M=D(1),O=D(3),P=D(9),L=D(11),R=e=>m.from(e.dom.parentNode).map(A.fromDom),k=e=>m.from(e.dom.nextSibling).map(A.fromDom),B=e=>p(e.dom.childNodes,A.fromDom),$=e=>A.fromDom(e.dom.host),V=(e,t)=>{R(e).each(o=>{o.dom.insertBefore(t.dom,e.dom)})},I=(e,t)=>{k(e).fold(()=>{R(e).each(e=>{j(e,t)})},e=>{V(e,t)})},j=(e,t)=>{e.dom.appendChild(t.dom)},q=(e,t)=>{h(t,(o,n)=>{const r=0===n?e:t[n-1];I(r,o)})},H=(e,t,r)=>{if(!(o(r)||n(r)||i(r)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",r,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,r+"")},z=(e,t)=>{const o=e.dom.getAttribute(t);return null===o?void 0:o},F=(e,t)=>m.from(z(e,t)),K=(e,t)=>{e.dom.removeAttribute(t)},U=e=>{const t=e.dom;null!==t.parentNode&&t.parentNode.removeChild(t)},Y=e=>void 0!==e.style&&a(e.style.getPropertyValue),_=e=>{const t=O(e)?e.dom.parentNode:e.dom;if(null==t||null===t.ownerDocument)return!1;const o=t.ownerDocument;return(e=>{const t=(e=>A.fromDom(e.dom.getRootNode()))(e);return L(o=t)&&s(o.dom.host)?m.some(t):m.none();var o})(A.fromDom(t)).fold(()=>o.body.contains(t),(n=_,r=$,e=>n(r(e))));var n,r},G=(e,t)=>Y(e)?e.style.getPropertyValue(t):"",J=(e=>{const t=t=>e(t)?m.from(t.dom.nodeValue):m.none();return{get:o=>{if(!e(o))throw new Error("Can only get text value of a text node");return t(o).getOr("")},getOption:t,set:(t,o)=>{if(!e(t))throw new Error("Can only set raw text value of a text node");t.dom.nodeValue=o}}})(O),Q=(e,t,o)=>{let n=e.dom;const r=a(o)?o:l;for(;n.parentNode;){n=n.parentNode;const e=A.fromDom(n);if(t(e))return m.some(e);if(r(e))break}return m.none()},W=(e,t,o)=>Q(e,e=>T(e,t),o),X=(e,t)=>((e,t)=>{const o=void 0===t?document:t.dom;return C(o)?m.none():m.from(o.querySelector(e)).map(A.fromDom)})(t,e),Z=(e,t)=>{let o=[];return h(B(e),e=>{t(e)&&(o=o.concat([e])),o=o.concat(Z(e,t))}),o};var ee=["body","p","div","article","aside","figcaption","figure","footer","header","nav","section","ol","ul","li","table","thead","tbody","tfoot","caption","tr","td","th","h1","h2","h3","h4","h5","h6","blockquote","pre","address"];const te=(e,t,o)=>e.property().isText(t)&&0===e.property().getText(t).trim().length||e.property().isComment(t)?o(t).bind(t=>te(e,t,o).orThunk(()=>m.some(t))):m.none(),oe=(e,t)=>e.property().isText(t)?e.property().getText(t).length:e.property().children(t).length,ne=(e,t)=>{const o=te(e,t,e.query().prevSibling).getOr(t);if(e.property().isText(o))return w(o,oe(e,o));const n=e.property().children(o);return n.length>0?ne(e,n[n.length-1]):w(o,oe(e,o))},re=ne,se={up:c({selector:W,closest:(e,t,o)=>((e,t,o,n,r)=>((e,t)=>T(e,t))(o,n)?m.some(o):a(r)&&r(o)?m.none():t(o,n,r))(0,W,e,t,o),predicate:Q,all:(e,t)=>{const o=a(t)?t:l;let n=e.dom;const r=[];for(;null!==n.parentNode&&void 0!==n.parentNode;){const e=n.parentNode,t=A.fromDom(e);if(r.push(t),!0===o(t))break;n=e}return r}}),down:c({selector:(e,t)=>((e,t)=>{const o=void 0===t?document:t.dom;return C(o)?[]:p(o.querySelectorAll(e),A.fromDom)})(t,e),predicate:Z}),styles:c({get:(e,t)=>{const o=e.dom,n=window.getComputedStyle(o).getPropertyValue(t);return""!==n||_(e)?n:G(o,t)},getRaw:(e,t)=>{const o=e.dom,n=G(o,t);return m.from(n).filter(e=>e.length>0)},set:(e,t,n)=>{((e,t,n)=>{if(!o(n))throw console.error("Invalid call to CSS.set. Property ",t,":: Value ",n,":: Element ",e),new Error("CSS value must be a string: "+n);Y(e)&&e.style.setProperty(t,n)})(e.dom,t,n)},remove:(e,t)=>{((e,t)=>{Y(e)&&e.style.removeProperty(t)})(e.dom,t),((e,t,o=d)=>e.exists(e=>o(e,t)))(F(e,"style").map(v),"")&&K(e,"style")}}),attrs:c({get:z,set:(e,t,o)=>{H(e.dom,t,o)},remove:K,copyTo:(e,t)=>{const o=(n=e.dom.attributes,r=(e,t)=>(e[t.name]=t.value,e),s={},h(n,(e,t)=>{s=r(s,e)}),s);var n,r,s;((e,t)=>{const o=e.dom;((e,t)=>{const o=f(e);for(let n=0,r=o.length;n{H(o,t,e)})})(t,o)}}),insert:c({before:V,after:I,afterAll:q,append:j,appendAll:(e,t)=>{h(t,t=>{j(e,t)})},prepend:(e,t)=>{(e=>(e=>{const t=e.dom.childNodes;return m.from(t[0]).map(A.fromDom)})(e))(e).fold(()=>{j(e,t)},o=>{e.dom.insertBefore(t.dom,o.dom)})},wrap:(e,t)=>{V(e,t),j(t,e)}}),remove:c({unwrap:e=>{const t=B(e);t.length>0&&q(e,t),U(e)},remove:U}),create:c({nu:A.fromTag,clone:e=>A.fromDom(e.dom.cloneNode(!1)),text:A.fromText}),query:c({comparePosition:(e,t)=>e.dom.compareDocumentPosition(t.dom),prevSibling:e=>m.from(e.dom.previousSibling).map(A.fromDom),nextSibling:k}),property:c({children:B,name:x,parent:R,document:e=>{return(t=e,P(t)?t:A.fromDom(t.dom.ownerDocument)).dom;var t},isText:O,isComment:e=>8===E(e)||"#comment"===x(e),isElement:M,isSpecial:e=>{const t=x(e);return g(["script","noscript","iframe","noframes","noembed","title","style","textarea","xmp"],t)},getLanguage:e=>M(e)?F(e,"lang"):m.none(),getText:e=>J.get(e),setText:(e,t)=>J.set(e,t),isBoundary:e=>!!M(e)&&("body"===x(e)||g(ee,x(e))),isEmptyTag:e=>!!M(e)&&g(["br","img","hr","input"],x(e)),isNonEditable:e=>M(e)&&"false"===z(e,"contenteditable")}),eq:(e,t)=>e.dom===t.dom,is:S},ae=e=>e.options.get("disabled"),ie="details",ce="mce-accordion",de="mce-accordion-summary",le="mce-accordion-body",me="div",ue="data-mce-accordion-open";var ge=tinymce.util.Tools.resolve("tinymce.util.Tools");const pe=e=>"SUMMARY"===e?.nodeName,he=e=>"DETAILS"===e?.nodeName,fe=e=>e.hasAttribute("open"),ye=e=>{const t=e.selection.getNode();return pe(t)||Boolean(e.dom.getParent(t,pe))},ve=e=>!ye(e)&&e.dom.isEditable(e.selection.getNode())&&!e.mode.isReadOnly(),be=e=>m.from(e.dom.getParent(e.selection.getNode(),he)),we=e=>(e.innerHTML='
',e),Ne=e=>we(e.dom.create("p")),Ae=e=>t=>{((e,t)=>{if(pe(t?.lastChild)){const o=Ne(e);t.appendChild(o),e.selection.setCursorLocation(o,0)}})(e,t),((e,t)=>{if(!pe(t?.firstChild)){const o=(e=>we(e.dom.create("summary")))(e);t.prepend(o),e.selection.setCursorLocation(o,0)}})(e,t)},Te=e=>{if(!ve(e))return;const t=A.fromDom(e.getBody()),o=(e=>{const t=(new Date).getTime(),o=Math.floor(window.crypto.getRandomValues(new Uint32Array(1))[0]/4294967295*1e9);return y++,e+"_"+o+y+String(t)})("acc"),n=e.dom.encode(e.selection.getRng().toString()||e.translate("Accordion summary...")),r=e.dom.encode(e.translate("Accordion body...")),s=`${n}`,a=`<${me} class="${le}">

${r}

`;e.undoManager.transact(()=>{e.insertContent([`
`,s,a,"
"].join("")),X(t,`[data-mce-id="${o}"]`).each(t=>{K(t,"data-mce-id"),X(t,"summary").each(t=>{const o=e.dom.createRng(),n=re(se,t);o.setStart(n.element.dom,n.offset),o.setEnd(n.element.dom,n.offset),e.selection.setRng(o)})})})},Ce=(e,t,o)=>{const n=o??!fe(t);return e||t.setAttribute(ue,n?"open":"closed"),n?t.setAttribute("open","open"):t.removeAttribute("open"),n},Se=e=>{e.addCommand("InsertAccordion",()=>Te(e)),e.addCommand("ToggleAccordion",(t,o)=>((e,t)=>{ae(e)||be(e).each(o=>{((e,t,o)=>{e.dispatch("ToggledAccordion",{element:t,state:o})})(e,o,Ce(e.readonly,o,t))})})(e,o)),e.addCommand("ToggleAllAccordions",(t,o)=>((e,t)=>{const o=Array.from(e.getBody().querySelectorAll("details"));0!==o.length&&(h(o,o=>Ce(e.readonly,o,t??!fe(o))),((e,t,o)=>{e.dispatch("ToggledAllAccordions",{elements:t,state:o})})(e,o,t))})(e,o)),e.addCommand("RemoveAccordion",()=>(e=>{e.mode.isReadOnly()||be(e).each(t=>{const{nextSibling:o}=t;o?(e.selection.select(o,!0),e.selection.collapse(!0)):((e,t)=>{const o=Ne(e);t.insertAdjacentElement("afterend",o),e.selection.setCursorLocation(o,0)})(e,t),t.remove()})})(e))};var xe=tinymce.util.Tools.resolve("tinymce.html.Node");const Ee=e=>{De(e,"open")&&Me(e,"open","open")},De=(e,t)=>void 0!==e.attr(t),Me=(e,t,o)=>{e.attr(t,o)},Oe=e=>e.attr("class")?.split(" ")??[],Pe=(e,t)=>{const o=new Set([...Oe(e),...t]),n=Array.from(o);n.length>0&&e.attr("class",n.join(" "))},Le=(e,t)=>{const o=((e,t)=>{const o=[];for(let n=0,r=e.length;n!t.has(e));e.attr("class",o.length>0?o.join(" "):null)},Re=e=>e.name===ie&&g(Oe(e),ce),ke=e=>e.name===me&&g(Oe(e),le),Be=e=>{const t=e.children();let o,n;const s=[];for(let e=0;e{const t=new xe("br",1);t.attr("data-mce-bogus","1"),e.empty(),e.append(t)};var Ve=tinymce.util.Tools.resolve("tinymce.util.VK");const Ie=e=>{(e=>{e.on("keydown",t=>{(!t.shiftKey&&t.keyCode===Ve.ENTER&&ye(e)||(e=>{const t=e.selection.getRng();return he(t.startContainer)&&t.collapsed&&0===t.startOffset})(e))&&(t.preventDefault(),e.execCommand("ToggleAccordion"))})})(e),e.on("ExecCommand",t=>{const o=t.command.toLowerCase();"delete"!==o&&"forwarddelete"!==o||!(e=>be(e).isSome())(e)||(e=>{ge.each(ge.grep(e.dom.select("details",e.getBody())),Ae(e))})(e)})};var je=tinymce.util.Tools.resolve("tinymce.Env");const qe=e=>t=>{const o=()=>t.setEnabled(ve(e));return e.on("NodeChange",o),()=>e.off("NodeChange",o)},He="accordion";e.add(He,e=>((e=>{const t=()=>e.execCommand("InsertAccordion");e.ui.registry.addButton("accordion",{icon:"accordion",tooltip:"Insert accordion",onSetup:qe(e),onAction:t}),e.ui.registry.addMenuItem("accordion",{icon:"accordion",text:"Accordion",onSetup:qe(e),onAction:t}),e.ui.registry.addToggleButton("accordiontoggle",{icon:"accordion-toggle",tooltip:"Toggle accordion",onAction:()=>e.execCommand("ToggleAccordion"),context:"any"}),e.ui.registry.addToggleButton("accordionremove",{icon:"remove",tooltip:"Delete accordion",onAction:()=>e.execCommand("RemoveAccordion")}),e.ui.registry.addContextToolbar("accordion",{predicate:t=>e.dom.is(t,"details")&&e.getBody().contains(t)&&e.dom.isEditable(t.parentNode),items:"accordiontoggle accordionremove",scope:"node",position:"node"})})(e),Se(e),Ie(e),(e=>{e.on("PreInit",()=>{const{serializer:t,parser:o}=e;o.addNodeFilter(ie,e=>{for(let t=0;t0)for(let e=0;e{const t=new Set([de]);for(let o=0;o{je.browser.isSafari()&&e.on("click",t=>{if(pe(t.target)){const o=t.target,n=e.selection.getRng();n.collapsed&&n.startContainer===o.parentNode&&0===n.startOffset&&e.selection.setCursorLocation(o,0)}})})(e),(e=>{const t=t=>{const o=t.target;!(e=>{const t=e;return he(t)&&t.classList.contains(ce)})(o)||e.readonly||ae(e)||o.setAttribute(ue,fe(o)?"open":"closed")};e.on("init",()=>{const o=e.getBody();o.addEventListener("toggle",t,!0),e.on("remove",()=>o.removeEventListener("toggle",t,!0))})})(e),{getMetadata:()=>({name:"Accordion",type:"opensource",slug:He})}))}(); \ No newline at end of file diff --git a/libraries/tinymce/js/tinymce/plugins/image/plugin.min.js b/libraries/tinymce/js/tinymce/plugins/image/plugin.min.js index b9890a0..ec52188 100644 --- a/libraries/tinymce/js/tinymce/plugins/image/plugin.min.js +++ b/libraries/tinymce/js/tinymce/plugins/image/plugin.min.js @@ -1 +1 @@ -!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=Object.getPrototypeOf,a=(e,t,a)=>!!a(e,t.prototype)||e.constructor?.name===t.name,i=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&a(e,String,(e,t)=>t.isPrototypeOf(e))?"string":t})(t)===e,s=e=>t=>typeof t===e,r=i("string"),o=i("object"),n=e=>((e,i)=>o(e)&&a(e,i,(e,a)=>t(e)===a))(e,Object),l=i("array"),c=e=>null===e;const m=s("boolean"),d=e=>!(e=>null==e)(e),g=s("function"),u=s("number"),p=()=>{};class h{tag;value;static singletonNone=new h(!1);constructor(e,t){this.tag=e,this.value=t}static some(e){return new h(!0,e)}static none(){return h.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?h.some(e(this.value)):h.none()}bind(e){return this.tag?e(this.value):h.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:h.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(e??"Called getOrDie on None")}static from(e){return d(e)?h.some(e):h.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}Array.prototype.slice;const b=Array.prototype.push,y=e=>{const t=[];for(let a=0,i=e.length;af.call(e,t),w=(D=(e,t)=>n(e)&&n(t)?w(e,t):t,(...e)=>{if(0===e.length)throw new Error("Can't merge zero objects");const t={};for(let a=0;ae.length>0,C=e=>{if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},I=C,S=(e,t,a)=>{((e,t,a)=>{if(!(r(a)||m(a)||u(a)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",a,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,a+"")})(e.dom,t,a)};var U=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),x=tinymce.util.Tools.resolve("tinymce.util.URI");const N=e=>t=>t.options.get(e),E=N("image_dimensions"),T=N("image_advtab"),O=N("image_uploadtab"),L=N("image_prepend_url"),M=N("image_class_list"),R=N("image_description"),j=N("image_title"),k=N("image_caption"),z=N("image_list"),B=N("a11y_advanced_options"),P=N("automatic_uploads"),F=e=>(e&&(e=e.replace(/px$/,"")),e),H=e=>(e.length>0&&/^[0-9]+$/.test(e)&&(e+="px"),e),G=e=>"IMG"===e.nodeName&&(e.hasAttribute("data-mce-object")||e.hasAttribute("data-mce-placeholder")),W=(e,t)=>{const a=e.options.get;return x.isDomSafe(t,"img",{allow_html_data_urls:a("allow_html_data_urls"),allow_script_urls:a("allow_script_urls"),allow_svg_data_urls:a("allow_svg_data_urls")})},$=U.DOM,V=e=>e.style.marginLeft&&e.style.marginRight&&e.style.marginLeft===e.style.marginRight?F(e.style.marginLeft):"",K=e=>e.style.marginTop&&e.style.marginBottom&&e.style.marginTop===e.style.marginBottom?F(e.style.marginTop):"",Z=e=>e.style.borderWidth?F(e.style.borderWidth):"",q=(e,t)=>e.hasAttribute(t)?e.getAttribute(t)??"":"",J=e=>null!==e.parentNode&&"FIGURE"===e.parentNode.nodeName,Q=(e,t,a)=>{""===a||null===a?e.removeAttribute(t):e.setAttribute(t,a)},X=(e,t)=>{const a=e.getAttribute("style"),i=t(null!==a?a:"");i.length>0?(e.setAttribute("style",i),e.setAttribute("data-mce-style",i)):e.removeAttribute("style")},Y=(e,t)=>(e,a,i)=>{const s=e.style;s[a]?(s[a]=H(i),X(e,t)):Q(e,a,i)},ee=(e,t)=>e.style[t]?F(e.style[t]):q(e,t),te=(e,t)=>{const a=H(t);e.style.marginLeft=a,e.style.marginRight=a},ae=(e,t)=>{const a=H(t);e.style.marginTop=a,e.style.marginBottom=a},ie=(e,t)=>{const a=H(t);e.style.borderWidth=a},se=(e,t)=>{e.style.borderStyle=t},re=e=>e.style.borderStyle??"",oe=e=>d(e)&&"FIGURE"===e.nodeName,ne=e=>{const t=$.getAttrib(e,"alt"),a=$.getAttrib(e,"role");return e.hasAttribute("alt")&&0===t.length||"presentation"===a||"none"===a},le=e=>ne(e)?"":q(e,"alt"),ce=(e,t)=>{const a=document.createElement("img");return Q(a,"style",t.style),(V(a)||""!==t.hspace)&&te(a,t.hspace),(K(a)||""!==t.vspace)&&ae(a,t.vspace),(Z(a)||""!==t.border)&&ie(a,t.border),(re(a)||""!==t.borderStyle)&&se(a,t.borderStyle),e(a.getAttribute("style")??"")},me=(e,t)=>({src:q(t,"src"),alt:le(t),title:q(t,"title"),width:ee(t,"width"),height:ee(t,"height"),class:q(t,"class"),style:e(q(t,"style")),caption:J(t),hspace:V(t),vspace:K(t),border:Z(t),borderStyle:re(t),isDecorative:ne(t)}),de=(e,t,a,i,s)=>{a[i]!==t[i]&&s(e,i,String(a[i]))},ge=(e,t,a)=>{if(a){$.setAttrib(e,"role","presentation");const t=I(e);S(t,"alt","")}else{if(c(t)){I(e).dom.removeAttribute("alt")}else{const a=I(e);S(a,"alt",t)}"presentation"===$.getAttrib(e,"role")&&$.setAttrib(e,"role","")}},ue=(e,t)=>(a,i,s)=>{e(a,s),X(a,t)},pe=(e,t,a)=>{const i=me(e,a);de(a,i,t,"caption",(e,t,a)=>(e=>{J(e)?(e=>{const t=e.parentNode;d(t)&&($.insertAfter(e,t),$.remove(t))})(e):(e=>{const t=$.create("figure",{class:"image"});$.insertAfter(t,e),t.appendChild(e),t.appendChild($.create("figcaption",{contentEditable:"true"},"Caption")),t.contentEditable="false"})(e)})(e)),de(a,i,t,"src",Q),de(a,i,t,"title",Q),de(a,i,t,"width",Y(0,e)),de(a,i,t,"height",Y(0,e)),de(a,i,t,"class",Q),de(a,i,t,"style",ue((e,t)=>Q(e,"style",t),e)),de(a,i,t,"hspace",ue(te,e)),de(a,i,t,"vspace",ue(ae,e)),de(a,i,t,"border",ue(ie,e)),de(a,i,t,"borderStyle",ue(se,e)),((e,t,a)=>{a.alt===t.alt&&a.isDecorative===t.isDecorative||ge(e,a.alt,a.isDecorative)})(a,i,t)},he=(e,t)=>{const a=(e=>{if(e.margin){const t=String(e.margin).split(" ");switch(t.length){case 1:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[0],e["margin-bottom"]=e["margin-bottom"]||t[0],e["margin-left"]=e["margin-left"]||t[0];break;case 2:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[1],e["margin-bottom"]=e["margin-bottom"]||t[0],e["margin-left"]=e["margin-left"]||t[1];break;case 3:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[1],e["margin-bottom"]=e["margin-bottom"]||t[2],e["margin-left"]=e["margin-left"]||t[1];break;case 4:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[1],e["margin-bottom"]=e["margin-bottom"]||t[2],e["margin-left"]=e["margin-left"]||t[3]}delete e.margin}return e})(e.dom.styles.parse(t)),i=e.dom.styles.parse(e.dom.styles.serialize(a));return e.dom.styles.serialize(i)},be=e=>{const t=e.selection.getNode(),a=e.dom.getParent(t,"figure.image");return a?e.dom.select("img",a)[0]:t&&("IMG"!==t.nodeName||G(t))?null:t},ye=(e,t)=>{const a=e.dom,i=(t=>{const a={};var i;return((e,t,a,i)=>{((e,t)=>{const a=v(e);for(let i=0,s=a.length;i{(t(e,s)?a:i)(e,s)})})(t,(t,a)=>!e.schema.isValidChild(a,"figure"),(i=a,(e,t)=>{i[t]=e}),p),a})(e.schema.getTextBlockElements()),s=a.getParent(t.parentNode,e=>{return t=i,a=e.nodeName,A(t,a)&&void 0!==t[a]&&null!==t[a];var t,a},e.getBody());return s?a.split(s,t)??t:t},ve=(e,t)=>{const a=((t,a)=>{const i=document.createElement("img");if(pe(t=>he(e,t),{...a,caption:!1},i),ge(i,a.alt,a.isDecorative),a.caption){const e=$.create("figure",{class:"image"});return e.appendChild(i),e.appendChild($.create("figcaption",{contentEditable:"true"},"Caption")),e.contentEditable="false",e}return i})(0,t);e.dom.setAttrib(a,"data-mce-id","__mcenew"),e.focus(),e.insertContent(a.outerHTML);const i=e.dom.select('*[data-mce-id="__mcenew"]')[0];if(e.dom.setAttrib(i,"data-mce-id",null),oe(i)){const t=ye(e,i);e.selection.select(t)}else e.selection.select(i)},fe=(e,t)=>{const a=be(e);if(a){const i={...me(t=>he(e,t),a),...t},s=((e,t)=>{const a=t.src;return{...t,src:W(e,a)?a:""}})(e,i);i.src?((e,t)=>{const a=be(e);if(a)if(pe(t=>he(e,t),t,a),((e,t)=>{e.dom.setAttrib(t,"src",t.getAttribute("src"))})(e,a),oe(a.parentNode)){e.dom.setStyle(a,"float","");const t=a.parentNode;ye(e,t),e.selection.select(a.parentNode)}else e.selection.select(a),((e,t,a)=>{const i=()=>{a.onload=a.onerror=null,e.selection&&(e.selection.select(a),e.nodeChanged())};a.onload=()=>{t.width||t.height||!E(e)||e.dom.setAttribs(a,{width:String(a.clientWidth),height:String(a.clientHeight)}),i()},a.onerror=i})(e,t,a)})(e,s):((e,t)=>{if(t){const a=e.dom.is(t.parentNode,"figure.image")?t.parentNode:t;e.dom.remove(a),e.focus(),e.nodeChanged(),e.dom.isEmpty(e.getBody())&&(e.setContent(""),e.selection.setCursorLocation())}})(e,a)}else t.src&&ve(e,{src:"",alt:"",title:"",width:"",height:"",class:"",style:"",caption:!1,hspace:"",vspace:"",border:"",borderStyle:"",isDecorative:!1,...t})};var Ae=tinymce.util.Tools.resolve("tinymce.util.ImageUploader"),we=tinymce.util.Tools.resolve("tinymce.util.Tools");const De=e=>r(e.value)?e.value:"",_e=(e,t)=>{const a=[];return we.each(e,e=>{const i=(e=>r(e.text)?e.text:r(e.title)?e.title:"")(e);if(void 0!==e.menu){const s=_e(e.menu,t);a.push({text:i,items:s})}else{const s=t(e);a.push({text:i,value:s})}}),a},Ce=(e=De)=>t=>t?h.from(t).map(t=>_e(t,e)):h.none(),Ie=(e,t)=>((e,t)=>{for(let a=0;a(e=>A(e,"items"))(e)?Ie(e.items,t):e.value===t?h.some(e):h.none()),Se=Ce,Ue=(e,t)=>e.bind(e=>Ie(e,t)),xe=e=>{const t=Se(t=>e.convertURL(t.value||t.url||"","src")),a=new Promise(a=>{((e,t)=>{const a=z(e);r(a)?fetch(a).then(e=>{e.ok&&e.json().then(t)}):g(a)?a(t):t(a)})(e,e=>{a(t(e).map(e=>y([[{text:"None",value:""}],e])))})}),i=(t,a)=>{e.windowManager.alert(t,a)},s=(D=M(e),Ce(De)(D)),o=T(e),n=O(e),l=(e=>_(e.options.get("images_upload_url")))(e),c=(e=>d(e.options.get("images_upload_handler")))(e),m=(e=>{const t=be(e);return t?me(t=>he(e,t),t):{src:"",alt:"",title:"",width:"",height:"",class:"",style:"",caption:!1,hspace:"",vspace:"",border:"",borderStyle:"",isDecorative:!1}})(e),u=R(e),p=j(e),b=E(e),v=k(e),f=B(e),A=P(e),w=h.some(L(e)).filter(e=>r(e)&&e.length>0);var D;return a.then(e=>({alertErr:i,image:m,imageList:e,classList:s,hasAdvTab:o,hasUploadTab:n,hasUploadUrl:l,hasUploadHandler:c,hasDescription:u,hasImageTitle:p,hasDimensions:b,hasImageCaption:v,prependURL:w,hasAccessibilityOptions:f,automaticUploads:A}))},Ne=e=>{const t=e.imageList.map(e=>({name:"images",type:"listbox",label:"Image list",items:e})),a={name:"alt",type:"input",label:"Alternative description",enabled:!(e.hasAccessibilityOptions&&e.image.isDecorative)},i=e.classList.map(e=>({name:"classes",type:"listbox",label:"Class",items:e}));return y([[{name:"src",type:"urlinput",filetype:"image",label:"Source",picker_text:"Browse files"}],t.toArray(),e.hasAccessibilityOptions&&e.hasDescription?[{type:"label",label:"Accessibility",items:[{name:"isDecorative",type:"checkbox",label:"Image is decorative"}]}]:[],e.hasDescription?[a]:[],e.hasImageTitle?[{name:"title",type:"input",label:"Image title"}]:[],e.hasDimensions?[{name:"dimensions",type:"sizeinput"}]:[],[{...(s=e.classList.isSome()&&e.hasImageCaption,s?{type:"grid",columns:2}:{type:"panel"}),items:y([i.toArray(),e.hasImageCaption?[{type:"label",label:"Caption",items:[{type:"checkbox",name:"caption",label:"Show caption"}]}]:[]])}]]);var s},Ee=e=>({title:"General",name:"general",items:Ne(e)}),Te=Ne,Oe=e=>({src:{value:e.src,meta:{}},images:e.src,alt:e.alt,title:e.title,dimensions:{width:e.width,height:e.height},classes:e.class,caption:e.caption,style:e.style,vspace:e.vspace,border:e.border,hspace:e.hspace,borderstyle:e.borderStyle,fileinput:[],isDecorative:e.isDecorative}),Le=(e,t)=>({src:e.src.value,alt:null!==e.alt&&0!==e.alt.length||!t?e.alt:null,title:e.title,width:e.dimensions.width,height:e.dimensions.height,class:e.classes,style:e.style,caption:e.caption,hspace:e.hspace,vspace:e.vspace,border:e.border,borderStyle:e.borderstyle,isDecorative:e.isDecorative}),Me=(e,t,a,i)=>{((e,t)=>{const a=t.getData();((e,t)=>/^(?:[a-zA-Z]+:)?\/\//.test(t)?h.none():e.prependURL.bind(e=>t.substring(0,e.length)!==e?h.some(e+t):h.none()))(e,a.src.value).each(e=>{t.setData({src:{value:e,meta:a.src.meta}})})})(t,i),((e,t)=>{const a=t.getData(),i=a.src.meta;if(void 0!==i){const s=w({},a);((e,t,a)=>{e.hasDescription&&r(a.alt)&&(t.alt=a.alt),e.hasAccessibilityOptions&&(t.isDecorative=a.isDecorative||t.isDecorative||!1),e.hasImageTitle&&r(a.title)&&(t.title=a.title),e.hasDimensions&&(r(a.width)&&(t.dimensions.width=a.width),r(a.height)&&(t.dimensions.height=a.height)),r(a.class)&&Ue(e.classList,a.class).each(e=>{t.classes=e.value}),e.hasImageCaption&&m(a.caption)&&(t.caption=a.caption),e.hasAdvTab&&(r(a.style)&&(t.style=a.style),r(a.vspace)&&(t.vspace=a.vspace),r(a.border)&&(t.border=a.border),r(a.hspace)&&(t.hspace=a.hspace),r(a.borderstyle)&&(t.borderstyle=a.borderstyle))})(e,s,i),t.setData(s)}})(t,i),((e,t,a,i)=>{const s=i.getData(),r=s.src.value,o=s.src.meta||{};o.width||o.height||!t.hasDimensions||(_(r)?e.imageSize(r).then(e=>{a.open&&i.setData({dimensions:e})}).catch(e=>console.error(e)):i.setData({dimensions:{width:"",height:""}}))})(e,t,a,i),((e,t,a)=>{const i=a.getData(),s=Ue(e.imageList,i.src.value);t.prevImage=s,a.setData({images:s.map(e=>e.value).getOr("")})})(t,a,i)},Re=(e,t,a,i)=>{const s=i.getData();var r;i.block("Uploading image"),(r=s.fileinput,(e=>0{i.unblock()},s=>{const r=URL.createObjectURL(s),o=()=>{i.unblock(),URL.revokeObjectURL(r)},n=s=>{i.setData({src:{value:s,meta:{}}}),i.showTab("general"),Me(e,t,a,i),i.focus("src")};var l;(l=s,new Promise((e,t)=>{const a=new FileReader;a.onload=()=>{e(a.result)},a.onerror=()=>{t(a.error?.message)},a.readAsDataURL(l)})).then(a=>{const l=e.createBlobCache(s,r,a);t.automaticUploads?e.uploadImage(l).then(e=>{n(e.url),o()}).catch(e=>{o(),t.alertErr(e,()=>{i.focus("fileinput")})}):(e.addToBlobCache(l),n(l.blobUri()),i.unblock())})})},je=(e,t,a)=>(i,s)=>{"src"===s.name?Me(e,t,a,i):"images"===s.name?((e,t,a,i)=>{const s=i.getData(),r=Ue(t.imageList,s.images);r.each(e=>{const t=""===s.alt||a.prevImage.map(e=>e.text===s.alt).getOr(!1);t?""===e.value?i.setData({src:e,alt:a.prevAlt}):i.setData({src:e,alt:e.text}):i.setData({src:e})}),a.prevImage=r,Me(e,t,a,i)})(e,t,a,i):"alt"===s.name?a.prevAlt=i.getData().alt:"fileinput"===s.name?Re(e,t,a,i):"isDecorative"===s.name&&i.setEnabled("alt",!i.getData().isDecorative)},ke=e=>()=>{e.open=!1},ze=e=>{return e.hasAdvTab||e.hasUploadUrl||e.hasUploadHandler?{type:"tabpanel",tabs:y([[Ee(e)],e.hasAdvTab?[{title:"Advanced",name:"advanced",items:[{type:"grid",columns:2,items:[{type:"input",label:"Vertical space",name:"vspace",inputMode:"numeric"},{type:"input",label:"Horizontal space",name:"hspace",inputMode:"numeric"},{type:"input",label:"Border width",name:"border",inputMode:"numeric"},{type:"listbox",name:"borderstyle",label:"Border style",items:[{text:"Select...",value:""},{text:"Solid",value:"solid"},{text:"Dotted",value:"dotted"},{text:"Dashed",value:"dashed"},{text:"Double",value:"double"},{text:"Groove",value:"groove"},{text:"Ridge",value:"ridge"},{text:"Inset",value:"inset"},{text:"Outset",value:"outset"},{text:"None",value:"none"},{text:"Hidden",value:"hidden"}]}]}]}]:[],e.hasUploadTab&&(e.hasUploadUrl||e.hasUploadHandler)?[(t=()=>new Promise(t=>e.alertErr("Selected images do not have allowed extensions",t)),{title:"Upload",name:"upload",items:[{type:"dropzone",name:"fileinput",onInvalidFiles:t}]})]:[]])}:{type:"panel",items:Te(e)};var t},Be=(e,t,a)=>i=>{const s=w(Oe(t.image),i.getData()),r={...s,isDecorative:t.hasAccessibilityOptions&&s.isDecorative,style:ce(a.normalizeCss,Le(s,!1))};e.execCommand("mceUpdateImage",!1,Le(r,t.hasAccessibilityOptions)),e.editorUpload.uploadImagesAuto(),i.close()},Pe=e=>t=>W(e,t)?(e=>new Promise((t,a)=>{const i=document.createElement("img");i.addEventListener("load",()=>{t({width:i.naturalWidth,height:i.naturalHeight})}),i.addEventListener("error",()=>{a(`Failed to get image dimensions for: ${e}`)}),i.src=e}))(e.documentBaseURI.toAbsolute(t)).then(e=>({width:String(e.width),height:String(e.height)})):Promise.resolve({width:"",height:""}),Fe=e=>(t,a,i)=>e.editorUpload.blobCache.create({blob:t,blobUri:a,name:t.name?.replace(/\.[^\.]+$/,""),filename:t.name,base64:i.split(",")[1]}),He=e=>t=>{e.editorUpload.blobCache.add(t)},Ge=e=>t=>he(e,t),We=e=>t=>e.dom.parseStyle(t),$e=e=>(t,a)=>e.dom.serializeStyle(t,a),Ve=e=>t=>Ae(e).upload([t],!1).then(e=>0===e.length?Promise.reject("Failed to upload image"):!1===e[0].status?Promise.reject(e[0].error?.message):e[0]),Ke=e=>{const t={imageSize:Pe(e),addToBlobCache:He(e),createBlobCache:Fe(e),normalizeCss:Ge(e),parseStyle:We(e),serializeStyle:$e(e),uploadImage:Ve(e)};return{open:()=>{xe(e).then(a=>{const i=(e=>({prevImage:Ue(e.imageList,e.image.src),prevAlt:e.image.alt,open:!0}))(a);return{title:"Insert/Edit Image",size:"normal",body:ze(a),buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:Oe(a.image),onSubmit:Be(e,a,t),onChange:je(t,a,i),onClose:ke(i)}}).then(e.windowManager.open)}}},Ze=e=>{const t=e.attr("class");return d(t)&&/\bimage\b/.test(t)},qe=e=>t=>{let a=t.length;const i=t=>{t.attr("contenteditable",e?"true":null)};for(;a--;){const s=t[a];Ze(s)&&(s.attr("contenteditable",e?"false":null),we.each(s.getAll("figcaption"),i))}},Je=e=>t=>{const a=()=>{t.setEnabled(e.selection.isEditable())};return e.on("NodeChange",a),a(),()=>{e.off("NodeChange",a)}},Qe="image";e.add(Qe,e=>((e=>{const t=e.options.register;t("image_dimensions",{processor:"boolean",default:!0}),t("image_advtab",{processor:"boolean",default:!1}),t("image_uploadtab",{processor:"boolean",default:!0}),t("image_prepend_url",{processor:"string",default:""}),t("image_class_list",{processor:"object[]"}),t("image_description",{processor:"boolean",default:!0}),t("image_title",{processor:"boolean",default:!1}),t("image_caption",{processor:"boolean",default:!1}),t("image_list",{processor:e=>{const t=!1===e||r(e)||((e,t)=>{if(l(e)){for(let a=0,i=e.length;a{e.on("PreInit",()=>{e.parser.addNodeFilter("figure",qe(!0)),e.serializer.addNodeFilter("figure",qe(!1))})})(e),(e=>{e.ui.registry.addToggleButton("image",{icon:"image",tooltip:"Insert/edit image",onAction:Ke(e).open,onSetup:t=>{t.setActive(d(be(e)));const a=e.selection.selectorChangedWithUnbind("img:not([data-mce-object]):not([data-mce-placeholder]),figure.image",t.setActive).unbind,i=Je(e)(t);return()=>{a(),i()}}}),e.ui.registry.addMenuItem("image",{icon:"image",text:"Image...",onAction:Ke(e).open,onSetup:Je(e)}),e.ui.registry.addContextMenu("image",{update:t=>e.selection.isEditable()&&(oe(t)||"IMG"===t.nodeName&&!G(t))?["image"]:[]})})(e),(e=>{e.addCommand("mceImage",Ke(e).open),e.addCommand("mceUpdateImage",(t,a)=>{e.undoManager.transact(()=>fe(e,a))})})(e),{getMetadata:()=>({name:"Image",type:"opensource",slug:Qe})}))}(); \ No newline at end of file +!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=Object.getPrototypeOf,a=(e,t,a)=>!!a(e,t.prototype)||e.constructor?.name===t.name,i=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&a(e,String,(e,t)=>t.isPrototypeOf(e))?"string":t})(t)===e,s=e=>t=>typeof t===e,r=i("string"),o=i("object"),n=e=>((e,i)=>o(e)&&a(e,i,(e,a)=>t(e)===a))(e,Object),l=i("array"),c=e=>null===e;const m=s("boolean"),d=e=>!(e=>null==e)(e),g=s("function"),u=s("number"),p=()=>{};class h{tag;value;static singletonNone=new h(!1);constructor(e,t){this.tag=e,this.value=t}static some(e){return new h(!0,e)}static none(){return h.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?h.some(e(this.value)):h.none()}bind(e){return this.tag?e(this.value):h.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:h.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(e??"Called getOrDie on None")}static from(e){return d(e)?h.some(e):h.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}Array.prototype.slice;const b=Array.prototype.push,y=e=>{const t=[];for(let a=0,i=e.length;af.call(e,t),w=(D=(e,t)=>n(e)&&n(t)?w(e,t):t,(...e)=>{if(0===e.length)throw new Error("Can't merge zero objects");const t={};for(let a=0;ae.length>0,C=e=>{if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},I=C,S=(e,t,a)=>{((e,t,a)=>{if(!(r(a)||m(a)||u(a)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",a,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,a+"")})(e.dom,t,a)};var U=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),x=tinymce.util.Tools.resolve("tinymce.util.URI");const N=e=>t=>t.options.get(e),E=N("image_dimensions"),T=N("image_advtab"),O=N("image_uploadtab"),L=N("image_prepend_url"),M=N("image_class_list"),R=N("image_description"),j=N("image_title"),k=N("image_caption"),z=N("image_list"),B=N("a11y_advanced_options"),P=N("automatic_uploads"),F=e=>(e&&(e=e.replace(/px$/,"")),e),H=e=>(e.length>0&&/^[0-9]+$/.test(e)&&(e+="px"),e),G=e=>"IMG"===e.nodeName&&(e.hasAttribute("data-mce-object")||e.hasAttribute("data-mce-placeholder")),W=(e,t)=>{const a=e.options.get;return x.isDomSafe(t,"img",{allow_html_data_urls:a("allow_html_data_urls"),allow_script_urls:a("allow_script_urls"),allow_svg_data_urls:a("allow_svg_data_urls")})},$=U.DOM,V=e=>e.style.marginLeft&&e.style.marginRight&&e.style.marginLeft===e.style.marginRight?F(e.style.marginLeft):"",K=e=>e.style.marginTop&&e.style.marginBottom&&e.style.marginTop===e.style.marginBottom?F(e.style.marginTop):"",Z=e=>e.style.borderWidth?F(e.style.borderWidth):"",q=(e,t)=>e.hasAttribute(t)?e.getAttribute(t)??"":"",J=e=>null!==e.parentNode&&"FIGURE"===e.parentNode.nodeName,Q=(e,t,a)=>{""===a||null===a?e.removeAttribute(t):e.setAttribute(t,a)},X=(e,t)=>{const a=e.getAttribute("style"),i=t(null!==a?a:"");i.length>0?(e.setAttribute("style",i),e.setAttribute("data-mce-style",i)):e.removeAttribute("style")},Y=(e,t)=>(e,a,i)=>{const s=e.style;s[a]?(s[a]=H(i),X(e,t)):Q(e,a,i)},ee=(e,t)=>e.style[t]?F(e.style[t]):q(e,t),te=(e,t)=>{const a=H(t);e.style.marginLeft=a,e.style.marginRight=a},ae=(e,t)=>{const a=H(t);e.style.marginTop=a,e.style.marginBottom=a},ie=(e,t)=>{const a=H(t);e.style.borderWidth=a},se=(e,t)=>{e.style.borderStyle=t},re=e=>e.style.borderStyle??"",oe=e=>d(e)&&"FIGURE"===e.nodeName,ne=e=>{const t=$.getAttrib(e,"alt"),a=$.getAttrib(e,"role");return e.hasAttribute("alt")&&0===t.length||"presentation"===a||"none"===a},le=e=>ne(e)?"":q(e,"alt"),ce=(e,t)=>{const a=document.createElement("img");return Q(a,"style",t.style),(V(a)||""!==t.hspace)&&te(a,t.hspace),(K(a)||""!==t.vspace)&&ae(a,t.vspace),(Z(a)||""!==t.border)&&ie(a,t.border),(re(a)||""!==t.borderStyle)&&se(a,t.borderStyle),e(a.getAttribute("style")??"")},me=(e,t)=>({src:q(t,"src"),alt:le(t),title:q(t,"title"),width:ee(t,"width"),height:ee(t,"height"),class:q(t,"class"),style:e(q(t,"style")),caption:J(t),hspace:V(t),vspace:K(t),border:Z(t),borderStyle:re(t),isDecorative:ne(t)}),de=(e,t,a,i,s)=>{a[i]!==t[i]&&s(e,i,String(a[i]))},ge=(e,t,a)=>{if(a){$.setAttrib(e,"role","presentation");const t=I(e);S(t,"alt","")}else{if(c(t)){I(e).dom.removeAttribute("alt")}else{const a=I(e);S(a,"alt",t)}"presentation"===$.getAttrib(e,"role")&&$.setAttrib(e,"role","")}},ue=(e,t)=>(a,i,s)=>{e(a,s),X(a,t)},pe=(e,t,a)=>{const i=me(e,a);de(a,i,t,"caption",(e,t,a)=>(e=>{J(e)?(e=>{const t=e.parentNode;d(t)&&($.insertAfter(e,t),$.remove(t))})(e):(e=>{const t=$.create("figure",{class:"image"});$.insertAfter(t,e),t.appendChild(e),t.appendChild($.create("figcaption",{contentEditable:"true"},"Caption")),t.contentEditable="false"})(e)})(e)),de(a,i,t,"src",Q),de(a,i,t,"title",Q),de(a,i,t,"width",Y(0,e)),de(a,i,t,"height",Y(0,e)),de(a,i,t,"class",Q),de(a,i,t,"style",ue((e,t)=>Q(e,"style",t),e)),de(a,i,t,"hspace",ue(te,e)),de(a,i,t,"vspace",ue(ae,e)),de(a,i,t,"border",ue(ie,e)),de(a,i,t,"borderStyle",ue(se,e)),((e,t,a)=>{a.alt===t.alt&&a.isDecorative===t.isDecorative||ge(e,a.alt,a.isDecorative)})(a,i,t)},he=(e,t)=>{const a=(e=>{if(e.margin){const t=String(e.margin).split(" ");switch(t.length){case 1:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[0],e["margin-bottom"]=e["margin-bottom"]||t[0],e["margin-left"]=e["margin-left"]||t[0];break;case 2:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[1],e["margin-bottom"]=e["margin-bottom"]||t[0],e["margin-left"]=e["margin-left"]||t[1];break;case 3:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[1],e["margin-bottom"]=e["margin-bottom"]||t[2],e["margin-left"]=e["margin-left"]||t[1];break;case 4:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[1],e["margin-bottom"]=e["margin-bottom"]||t[2],e["margin-left"]=e["margin-left"]||t[3]}delete e.margin}return e})(e.dom.styles.parse(t)),i=e.dom.styles.parse(e.dom.styles.serialize(a));return e.dom.styles.serialize(i)},be=e=>{const t=e.selection.getNode(),a=e.dom.getParent(t,"figure.image");return a?e.dom.select("img",a)[0]:t&&("IMG"!==t.nodeName||G(t))?null:t},ye=(e,t)=>{const a=e.dom,i=(t=>{const a={};var i;return((e,t,a,i)=>{((e,t)=>{const a=v(e);for(let i=0,s=a.length;i{(t(e,s)?a:i)(e,s)})})(t,(t,a)=>!e.schema.isValidChild(a,"figure"),(i=a,(e,t)=>{i[t]=e}),p),a})(e.schema.getTextBlockElements()),s=a.getParent(t.parentNode,e=>{return t=i,a=e.nodeName,A(t,a)&&void 0!==t[a]&&null!==t[a];var t,a},e.getBody());return s?a.split(s,t)??t:t},ve=(e,t)=>{const a=((t,a)=>{const i=document.createElement("img");if(pe(t=>he(e,t),{...a,caption:!1},i),ge(i,a.alt,a.isDecorative),a.caption){const e=$.create("figure",{class:"image"});return e.appendChild(i),e.appendChild($.create("figcaption",{contentEditable:"true"},"Caption")),e.contentEditable="false",e}return i})(0,t);e.dom.setAttrib(a,"data-mce-id","__mcenew"),e.focus(),e.insertContent(a.outerHTML);const i=e.dom.select('*[data-mce-id="__mcenew"]')[0];if(e.dom.setAttrib(i,"data-mce-id",null),oe(i)){const t=ye(e,i);e.selection.select(t)}else e.selection.select(i)},fe=(e,t)=>{const a=be(e);if(a){const i={...me(t=>he(e,t),a),...t},s=((e,t)=>{const a=t.src;return{...t,src:W(e,a)?a:""}})(e,i);i.src?((e,t)=>{const a=be(e);if(a)if(pe(t=>he(e,t),t,a),((e,t)=>{e.dom.setAttrib(t,"src",t.getAttribute("src"))})(e,a),oe(a.parentNode)){e.dom.setStyle(a,"float","");const t=a.parentNode;ye(e,t),e.selection.select(a.parentNode)}else e.selection.select(a),((e,t,a)=>{const i=()=>{a.onload=a.onerror=null,e.selection&&(e.selection.select(a),e.nodeChanged())};a.onload=()=>{t.width||t.height||!E(e)||e.dom.setAttribs(a,{width:String(a.clientWidth),height:String(a.clientHeight)}),i()},a.onerror=i})(e,t,a)})(e,s):((e,t)=>{if(t){const a=e.dom.is(t.parentNode,"figure.image")?t.parentNode:t;e.dom.remove(a),e.focus(),e.nodeChanged(),e.dom.isEmpty(e.getBody())&&(e.setContent(""),e.selection.setCursorLocation())}})(e,a)}else t.src&&ve(e,{src:"",alt:"",title:"",width:"",height:"",class:"",style:"",caption:!1,hspace:"",vspace:"",border:"",borderStyle:"",isDecorative:!1,...t})};var Ae=tinymce.util.Tools.resolve("tinymce.util.ImageUploader"),we=tinymce.util.Tools.resolve("tinymce.util.Tools");const De=e=>r(e.value)?e.value:"",_e=(e,t)=>{const a=[];return we.each(e,e=>{const i=(e=>r(e.text)?e.text:r(e.title)?e.title:"")(e);if(void 0!==e.menu){const s=_e(e.menu,t);a.push({text:i,items:s})}else{const s=t(e);a.push({text:i,value:s})}}),a},Ce=(e=De)=>t=>t?h.from(t).map(t=>_e(t,e)):h.none(),Ie=(e,t)=>((e,t)=>{for(let a=0;a(e=>A(e,"items"))(e)?Ie(e.items,t):e.value===t?h.some(e):h.none()),Se=Ce,Ue=(e,t)=>e.bind(e=>Ie(e,t)),xe=e=>{const t=Se(t=>e.convertURL(t.value||t.url||"","src")),a=new Promise(a=>{((e,t)=>{const a=z(e);r(a)?fetch(a).then(e=>{e.ok&&e.json().then(t)}):g(a)?a(t):t(a)})(e,e=>{a(t(e).map(e=>y([[{text:"None",value:""}],e])))})}),i=(t,a)=>{e.windowManager.alert(t,a)},s=(D=M(e),Ce(De)(D)),o=T(e),n=O(e),l=(e=>_(e.options.get("images_upload_url")))(e),c=(e=>d(e.options.get("images_upload_handler")))(e),m=(e=>{const t=be(e);return t?me(t=>he(e,t),t):{src:"",alt:"",title:"",width:"",height:"",class:"",style:"",caption:!1,hspace:"",vspace:"",border:"",borderStyle:"",isDecorative:!1}})(e),u=R(e),p=j(e),b=E(e),v=k(e),f=B(e),A=P(e),w=h.some(L(e)).filter(e=>r(e)&&e.length>0);var D;return a.then(e=>({alertErr:i,image:m,imageList:e,classList:s,hasAdvTab:o,hasUploadTab:n,hasUploadUrl:l,hasUploadHandler:c,hasDescription:u,hasImageTitle:p,hasDimensions:b,hasImageCaption:v,prependURL:w,hasAccessibilityOptions:f,automaticUploads:A}))},Ne=e=>{const t=e.imageList.map(e=>({name:"images",type:"listbox",label:"Image list",items:e})),a={name:"alt",type:"input",label:"Alternative description",enabled:!(e.hasAccessibilityOptions&&e.image.isDecorative)},i=e.classList.map(e=>({name:"classes",type:"listbox",label:"Class",items:e}));return y([[{name:"src",type:"urlinput",filetype:"image",label:"Source",picker_text:"Browse files"}],t.toArray(),e.hasAccessibilityOptions&&e.hasDescription?[{type:"label",label:"Accessibility",items:[{name:"isDecorative",type:"checkbox",label:"Image is decorative"}]}]:[],e.hasDescription?[a]:[],e.hasImageTitle?[{name:"title",type:"input",label:"Image title"}]:[],e.hasDimensions?[{name:"dimensions",type:"sizeinput"}]:[],[{...(s=e.classList.isSome()&&e.hasImageCaption,s?{type:"grid",columns:2}:{type:"panel"}),items:y([i.toArray(),e.hasImageCaption?[{type:"label",label:"Caption",items:[{type:"checkbox",name:"caption",label:"Show caption"}]}]:[]])}]]);var s},Ee=e=>({title:"General",name:"general",items:Ne(e)}),Te=Ne,Oe=e=>({src:{value:e.src,meta:{}},images:e.src,alt:e.alt,title:e.title,dimensions:{width:e.width,height:e.height},classes:e.class,caption:e.caption,style:e.style,vspace:e.vspace,border:e.border,hspace:e.hspace,borderstyle:e.borderStyle,fileinput:[],isDecorative:e.isDecorative}),Le=(e,t)=>({src:e.src.value,alt:null!==e.alt&&0!==e.alt.length||!t?e.alt:null,title:e.title,width:e.dimensions.width,height:e.dimensions.height,class:e.classes,style:e.style,caption:e.caption,hspace:e.hspace,vspace:e.vspace,border:e.border,borderStyle:e.borderstyle,isDecorative:e.isDecorative}),Me=(e,t,a,i)=>{((e,t)=>{const a=t.getData();((e,t)=>/^(?:[a-zA-Z]+:)?\/\//.test(t)?h.none():e.prependURL.bind(e=>t.substring(0,e.length)!==e?h.some(e+t):h.none()))(e,a.src.value).each(e=>{t.setData({src:{value:e,meta:a.src.meta}})})})(t,i),((e,t)=>{const a=t.getData(),i=a.src.meta;if(void 0!==i){const s=w({},a);((e,t,a)=>{e.hasDescription&&r(a.alt)&&(t.alt=a.alt),e.hasAccessibilityOptions&&(t.isDecorative=a.isDecorative||t.isDecorative||!1),e.hasImageTitle&&r(a.title)&&(t.title=a.title),e.hasDimensions&&(r(a.width)&&(t.dimensions.width=a.width),r(a.height)&&(t.dimensions.height=a.height)),r(a.class)&&Ue(e.classList,a.class).each(e=>{t.classes=e.value}),e.hasImageCaption&&m(a.caption)&&(t.caption=a.caption),e.hasAdvTab&&(r(a.style)&&(t.style=a.style),r(a.vspace)&&(t.vspace=a.vspace),r(a.border)&&(t.border=a.border),r(a.hspace)&&(t.hspace=a.hspace),r(a.borderstyle)&&(t.borderstyle=a.borderstyle))})(e,s,i),t.setData(s)}})(t,i),((e,t,a,i)=>{const s=i.getData(),r=s.src.value,o=s.src.meta||{};o.width||o.height||!t.hasDimensions||(_(r)?e.imageSize(r).then(e=>{a.open&&i.setData({dimensions:e})}).catch(e=>console.error(e)):i.setData({dimensions:{width:"",height:""}}))})(e,t,a,i),((e,t,a)=>{const i=a.getData(),s=Ue(e.imageList,i.src.value);t.prevImage=s,a.setData({images:s.map(e=>e.value).getOr("")})})(t,a,i)},Re=(e,t,a,i)=>{const s=i.getData();var r;i.block("Uploading image"),(r=s.fileinput,(e=>0{i.unblock()},s=>{const r=URL.createObjectURL(s),o=()=>{i.unblock(),URL.revokeObjectURL(r)},n=s=>{i.setData({src:{value:s,meta:{}}}),i.showTab("general"),Me(e,t,a,i),i.focus("src")},l=e=>{o(),t.alertErr(e,()=>{i.focus("fileinput")})};var c;(c=s,new Promise((e,t)=>{const a=new FileReader;a.onload=()=>{e(a.result)},a.onerror=()=>{t(a.error?.message)},a.readAsDataURL(c)})).then(t=>e.createBlobCache(s,r,t)).then(a=>{t.automaticUploads?e.uploadImage(a).then(e=>{n(e.url),o()}).catch(l):(e.addToBlobCache(a),n(a.blobUri()),i.unblock())}).catch(()=>l("Failed to upload image"))})},je=(e,t,a)=>(i,s)=>{"src"===s.name?Me(e,t,a,i):"images"===s.name?((e,t,a,i)=>{const s=i.getData(),r=Ue(t.imageList,s.images);r.each(e=>{const t=""===s.alt||a.prevImage.map(e=>e.text===s.alt).getOr(!1);t?""===e.value?i.setData({src:e,alt:a.prevAlt}):i.setData({src:e,alt:e.text}):i.setData({src:e})}),a.prevImage=r,Me(e,t,a,i)})(e,t,a,i):"alt"===s.name?a.prevAlt=i.getData().alt:"fileinput"===s.name?Re(e,t,a,i):"isDecorative"===s.name&&i.setEnabled("alt",!i.getData().isDecorative)},ke=e=>()=>{e.open=!1},ze=e=>{return e.hasAdvTab||e.hasUploadUrl||e.hasUploadHandler?{type:"tabpanel",tabs:y([[Ee(e)],e.hasAdvTab?[{title:"Advanced",name:"advanced",items:[{type:"grid",columns:2,items:[{type:"input",label:"Vertical space",name:"vspace",inputMode:"numeric"},{type:"input",label:"Horizontal space",name:"hspace",inputMode:"numeric"},{type:"input",label:"Border width",name:"border",inputMode:"numeric"},{type:"listbox",name:"borderstyle",label:"Border style",items:[{text:"Select...",value:""},{text:"Solid",value:"solid"},{text:"Dotted",value:"dotted"},{text:"Dashed",value:"dashed"},{text:"Double",value:"double"},{text:"Groove",value:"groove"},{text:"Ridge",value:"ridge"},{text:"Inset",value:"inset"},{text:"Outset",value:"outset"},{text:"None",value:"none"},{text:"Hidden",value:"hidden"}]}]}]}]:[],e.hasUploadTab&&(e.hasUploadUrl||e.hasUploadHandler)?[(t=()=>new Promise(t=>e.alertErr("Selected images do not have allowed extensions",t)),{title:"Upload",name:"upload",items:[{type:"dropzone",name:"fileinput",onInvalidFiles:t}]})]:[]])}:{type:"panel",items:Te(e)};var t},Be=(e,t,a)=>i=>{const s=w(Oe(t.image),i.getData()),r={...s,isDecorative:t.hasAccessibilityOptions&&s.isDecorative,style:ce(a.normalizeCss,Le(s,!1))};e.execCommand("mceUpdateImage",!1,Le(r,t.hasAccessibilityOptions)),e.editorUpload.uploadImagesAuto(),i.close()},Pe=e=>t=>W(e,t)?(e=>new Promise((t,a)=>{const i=document.createElement("img");i.addEventListener("load",()=>{t({width:i.naturalWidth,height:i.naturalHeight})}),i.addEventListener("error",()=>{a(`Failed to get image dimensions for: ${e}`)}),i.src=e}))(e.documentBaseURI.toAbsolute(t)).then(e=>({width:String(e.width),height:String(e.height)})):Promise.resolve({width:"",height:""}),Fe=e=>(t,a,i)=>e.editorUpload.blobCache.create({blob:t,blobUri:a,name:t.name?.replace(/\.[^\.]+$/,""),filename:t.name,base64:i.split(",")[1]}),He=e=>t=>{e.editorUpload.blobCache.add(t)},Ge=e=>t=>he(e,t),We=e=>t=>e.dom.parseStyle(t),$e=e=>(t,a)=>e.dom.serializeStyle(t,a),Ve=e=>t=>Ae(e).upload([t],!1).then(e=>0===e.length?Promise.reject("Failed to upload image"):!1===e[0].status?Promise.reject(e[0].error?.message):e[0]),Ke=e=>{const t={imageSize:Pe(e),addToBlobCache:He(e),createBlobCache:Fe(e),normalizeCss:Ge(e),parseStyle:We(e),serializeStyle:$e(e),uploadImage:Ve(e)};return{open:()=>{xe(e).then(a=>{const i=(e=>({prevImage:Ue(e.imageList,e.image.src),prevAlt:e.image.alt,open:!0}))(a);return{title:"Insert/Edit Image",size:"normal",body:ze(a),buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:Oe(a.image),onSubmit:Be(e,a,t),onChange:je(t,a,i),onClose:ke(i)}}).then(e.windowManager.open)}}},Ze=e=>{const t=e.attr("class");return d(t)&&/\bimage\b/.test(t)},qe=e=>t=>{let a=t.length;const i=t=>{t.attr("contenteditable",e?"true":null)};for(;a--;){const s=t[a];Ze(s)&&(s.attr("contenteditable",e?"false":null),we.each(s.getAll("figcaption"),i))}},Je=e=>t=>{const a=()=>{t.setEnabled(e.selection.isEditable())};return e.on("NodeChange",a),a(),()=>{e.off("NodeChange",a)}},Qe="image";e.add(Qe,e=>((e=>{const t=e.options.register;t("image_dimensions",{processor:"boolean",default:!0}),t("image_advtab",{processor:"boolean",default:!1}),t("image_uploadtab",{processor:"boolean",default:!0}),t("image_prepend_url",{processor:"string",default:""}),t("image_class_list",{processor:"object[]"}),t("image_description",{processor:"boolean",default:!0}),t("image_title",{processor:"boolean",default:!1}),t("image_caption",{processor:"boolean",default:!1}),t("image_list",{processor:e=>{const t=!1===e||r(e)||((e,t)=>{if(l(e)){for(let a=0,i=e.length;a{e.on("PreInit",()=>{e.parser.addNodeFilter("figure",qe(!0)),e.serializer.addNodeFilter("figure",qe(!1))})})(e),(e=>{e.ui.registry.addToggleButton("image",{icon:"image",tooltip:"Insert/edit image",onAction:Ke(e).open,onSetup:t=>{t.setActive(d(be(e)));const a=e.selection.selectorChangedWithUnbind("img:not([data-mce-object]):not([data-mce-placeholder]),figure.image",t.setActive).unbind,i=Je(e)(t);return()=>{a(),i()}}}),e.ui.registry.addMenuItem("image",{icon:"image",text:"Image...",onAction:Ke(e).open,onSetup:Je(e)}),e.ui.registry.addContextMenu("image",{update:t=>e.selection.isEditable()&&(oe(t)||"IMG"===t.nodeName&&!G(t))?["image"]:[]})})(e),(e=>{e.addCommand("mceImage",Ke(e).open),e.addCommand("mceUpdateImage",(t,a)=>{e.undoManager.transact(()=>fe(e,a))})})(e),{getMetadata:()=>({name:"Image",type:"opensource",slug:Qe})}))}(); \ No newline at end of file diff --git a/libraries/tinymce/js/tinymce/plugins/link/plugin.min.js b/libraries/tinymce/js/tinymce/plugins/link/plugin.min.js index 218f23e..697bdbd 100644 --- a/libraries/tinymce/js/tinymce/plugins/link/plugin.min.js +++ b/libraries/tinymce/js/tinymce/plugins/link/plugin.min.js @@ -1 +1 @@ -!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(n=o=e,(r=String).prototype.isPrototypeOf(n)||o.constructor?.name===r.name)?"string":t;var n,o,r})(t)===e,n=e=>t=>typeof t===e,o=t("string"),r=t("object"),l=t("array"),a=e=>null===e;const s=n("boolean"),i=e=>!(e=>null==e)(e),c=n("function"),u=(e,t)=>{if(l(e)){for(let n=0,o=e.length;n{},g=e=>e,m=(e,t)=>e===t;class h{tag;value;static singletonNone=new h(!1);constructor(e,t){this.tag=e,this.value=t}static some(e){return new h(!0,e)}static none(){return h.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?h.some(e(this.value)):h.none()}bind(e){return this.tag?e(this.value):h.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:h.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(e??"Called getOrDie on None")}static from(e){return i(e)?h.some(e):h.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}Array.prototype.slice;const p=Array.prototype.indexOf,f=Array.prototype.push,k=e=>{const t=[];for(let n=0,o=e.length;n{for(let n=0;ny.call(e,t),_=(e,t,n=m)=>e.exists(e=>n(e,t)),w=e=>{const t=[],n=e=>{t.push(e)};for(let t=0;te?h.some(t):h.none(),O=e=>t=>t.options.get(e),A=O("link_assume_external_targets"),S=O("link_context_toolbar"),E=O("link_list"),N=O("link_default_target"),R=O("link_default_protocol"),L=O("link_target_list"),T=O("link_rel_list"),P=O("link_class_list"),U=O("link_title"),B=O("allow_unsafe_link_target"),D=O("link_quicklink"),M=O("link_attributes_postprocess"),F=O("files_upload_handler"),I=O("link_uploadtab"),j=O("documents_file_types");var K=tinymce.util.Tools.resolve("tinymce.util.URI"),q=tinymce.util.Tools.resolve("tinymce.dom.TreeWalker"),$=tinymce.util.Tools.resolve("tinymce.util.Tools");const V=e=>i(e)&&"a"===e.nodeName.toLowerCase(),z=e=>V(e)&&!!J(e),G=(e,t)=>{if(e.collapsed)return[];{const n=e.cloneContents(),o=n.firstChild,r=new q(o,n),l=[];let a=o;do{t(a)&&l.push(a)}while(a=r.next());return l}},H=e=>/^\w+:/i.test(e),J=e=>e.getAttribute("data-mce-href")??e.getAttribute("href")??"",W=(e,t)=>{const n=["noopener"],o=e?e.split(/\s+/):[],r=e=>e.filter(e=>-1===$.inArray(n,e)),l=t?(e=>(e=r(e)).length>0?e.concat(n):n)(o):r(o);return l.length>0?(e=>$.trim(e.sort().join(" ")))(l):""},Q=(e,t)=>(t=t||Z(e.selection.getRng())[0]||e.selection.getNode(),oe(t)?h.from(e.dom.select("a[href]",t)[0]):h.from(e.dom.getParent(t,"a[href]"))),X=(e,t)=>Q(e,t).isSome(),Y=(e,t)=>t.fold(()=>e.getContent({format:"text"}),e=>e.innerText||e.textContent||"").replace(/\uFEFF/g,""),Z=e=>G(e,z),ee=e=>$.grep(e,z),te=e=>ee(e).length>0,ne=e=>{const t=e.schema.getTextInlineElements();if(Q(e).exists(e=>e.hasAttribute("data-mce-block")))return!1;const n=e.selection.getRng();return!!n.collapsed||0===G(n,e=>1===e.nodeType&&!V(e)&&!x(t,e.nodeName.toLowerCase())).length},oe=e=>i(e)&&"FIGURE"===e.nodeName&&/\bimage\b/i.test(e.className),re=(e,t,n)=>{const o=e.selection.getNode(),r=Q(e,o),l=((e,t)=>{const n={...t};if(0===T(e).length&&!B(e)){const e=W(n.rel,"_blank"===n.target);n.rel=e||null}return h.from(n.target).isNone()&&!1===L(e)&&(n.target=N(e)),n.href=((e,t)=>"http"!==t&&"https"!==t||H(e)?e:t+"://"+e)(n.href,A(e)),n})(e,(e=>{return t=["title","rel","class","target"],n=(t,n)=>(e[n].each(e=>{t[n]=e.length>0?e:null}),t),o={href:e.href},((e,t)=>{for(let n=0,o=e.length;n{o=n(o,e)}),o;var t,n,o})(n)),a=M(e);i(a)&&a(l),e.undoManager.transact(()=>{n.href===t.href&&t.attach(),r.fold(()=>{((e,t,n,o)=>{const r=e.dom;oe(t)?ce(r,t,o):n.fold(()=>{e.execCommand("mceInsertLink",!1,o);const t=e.selection.getEnd(),n=r.createRng();n.setStartAfter(t),n.setEndAfter(t),e.selection.setRng(n)},t=>{e.insertContent(r.createHTML("a",o,r.encode(t)))})})(e,o,n.text,l)},t=>{e.focus(),((e,t,n,o)=>{n.each(e=>{x(t,"innerText")?t.innerText=e:t.textContent=e}),e.dom.setAttribs(t,o);const r=e.dom.createRng();r.setStartAfter(t),r.setEndAfter(t),e.selection.setRng(r)})(e,t,n.text,l)})})},le=e=>{const{class:t,href:n,rel:o,target:r,text:l,title:s}=e;return(e=>{const t={};var n;return((e,t,n,o)=>{((e,t)=>{const n=v(e);for(let o=0,r=n.length;o{(t(e,r)?n:o)(e,r)})})(e,(e,t)=>!1===a(e),(n=t,(e,t)=>{n[t]=e}),d),t})({class:t.getOrNull(),href:n,rel:o.getOrNull(),target:r.getOrNull(),text:l.getOrNull(),title:s.getOrNull()})},ae=(e,t,n)=>{const o=((e,t)=>{const n=e.options.get,o={allow_html_data_urls:n("allow_html_data_urls"),allow_script_urls:n("allow_script_urls"),allow_svg_data_urls:n("allow_svg_data_urls")},r=t.href;return{...t,href:K.isDomSafe(r,"a",o)?r:""}})(e,n);e.hasPlugin("rtc",!0)?e.execCommand("createlink",!1,le(o)):re(e,t,o)},se=e=>{e.hasPlugin("rtc",!0)?e.execCommand("unlink"):(e=>{e.undoManager.transact(()=>{const t=e.selection.getNode();oe(t)?ie(e,t):(e=>{const t=e.dom,n=e.selection,o=n.getRng().cloneRange(),r=n.getBookmark(),l=t.getParent(o.startContainer,"a[href]",e.getBody()),a=t.getParent(o.endContainer,"a[href]",e.getBody());l&&o.setStartBefore(l),a&&o.setEndAfter(a),n.setRng(o),e.execCommand("unlink"),n.moveToBookmark(r)})(e),e.focus()})})(e)},ie=(e,t)=>{const n=e.dom.select("img",t)[0];if(n){const o=e.dom.getParents(n,"a[href]",t)[0];o&&(o.parentNode?.insertBefore(n,o),e.dom.remove(o))}},ce=(e,t,n)=>{const o=e.select("img",t)[0];if(o){const t=e.create("a",n);o.parentNode?.insertBefore(t,o),t.appendChild(o)}},ue=e=>o(e.value)?e.value:"",de=(e,t)=>{const n=[];return $.each(e,e=>{const r=(e=>o(e.text)?e.text:o(e.title)?e.title:"")(e);if(void 0!==e.menu){const o=de(e.menu,t);n.push({text:r,items:o})}else{const o=t(e);n.push({text:r,value:o})}}),n},ge=(e=ue)=>t=>h.from(t).map(t=>de(t,e)),me=e=>ge(ue)(e),he=ge,pe=(e,t)=>n=>({name:e,type:"listbox",label:t,items:n}),fe=ue,ke=(e,t)=>b(t,t=>(e=>{return x(t=e,n="items")&&void 0!==t[n]&&null!==t[n];var t,n})(t)?ke(e,t.items):C(t.value===e,t)),be=(e,t)=>{const n={text:e.text,title:e.title},o=(e,o)=>{const r=(l=t,a=o,"link"===a?l.link:"anchor"===a?l.anchor:h.none()).getOr([]);var l,a;return((e,t,n,o)=>{const r=o[t],l=e.length>0;return void 0!==r?ke(r,n).map(t=>({url:{value:t.value,meta:{text:l?e:t.text,attach:d}},text:l?e:t.text})):h.none()})(n.text,o,r,e)};return{onChange:(e,t)=>{const r=t.name;return"url"===r?(e=>{const t=(o=e.url,C(n.text.length<=0,h.from(o.meta?.text).getOr(o.value)));var o;const r=(e=>C(n.title.length<=0,h.from(e.meta?.title).getOr("")))(e.url);return t.isSome()||r.isSome()?h.some({...t.map(e=>({text:e})).getOr({}),...r.map(e=>({title:e})).getOr({})}):h.none()})(e()):((e,t)=>p.call(e,t))(["anchor","link"],r)>-1?o(e(),r):"text"===r||"title"===r?(n[r]=e()[r],h.none()):h.none()}}};var ve=tinymce.util.Tools.resolve("tinymce.util.Delay");const ye=e=>{const t=e.href;return t.indexOf("@")>0&&-1===t.indexOf("/")&&-1===t.indexOf("mailto:")?h.some({message:"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?",preprocess:e=>({...e,href:"mailto:"+t})}):h.none()},xe=(e,t)=>n=>{const o=n.href;return 1===e&&!H(o)||0===e&&/^\s*www(\.|\d\.)/i.test(o)?h.some({message:`The URL you entered seems to be an external link. Do you want to add the required ${t}:// prefix?`,preprocess:e=>({...e,href:t+"://"+o})}):h.none()},_e=e=>{const t=e.dom.select("a:not([href])"),n=k(((e,t)=>{const n=e.length,o=new Array(n);for(let r=0;r{const t=e.name||e.id;return t?[{text:t,value:"#"+t}]:[]}));return n.length>0?h.some([{text:"None",value:""}].concat(n)):h.none()},we=e=>{const t=P(e);return t.length>0?me(t):h.none()},Ce=e=>{try{return h.some(JSON.parse(e))}catch{return h.none()}},Oe=(e,t)=>{const n=T(e);if(n.length>0){const o=_(t,"_blank"),r=e=>W(fe(e),o);return(!1===B(e)?he(r):me)(n)}return h.none()},Ae=[{text:"Current window",value:""},{text:"New window",value:"_blank"}],Se=e=>{const t=L(e);return l(t)?me(t).orThunk(()=>h.some(Ae)):!1===t?h.none():h.some(Ae)},Ee=(e,t,n)=>{const o=e.getAttrib(t,n);return null!==o&&o.length>0?h.some(o):h.none()},Ne=(e,t)=>(e=>{const t=t=>e.convertURL(t.value||t.url||"","href"),n=E(e);return new Promise(e=>{o(n)?fetch(n).then(e=>e.ok?e.text().then(Ce):Promise.reject()).then(e,()=>e(h.none())):c(n)?n(t=>e(h.some(t))):e(h.from(n))}).then(e=>e.bind(he(t)).map(e=>e.length>0?[{text:"None",value:""}].concat(e):e))})(e).then(n=>{const o=(e=>i(e.options.get("files_upload_handler")))(e)&&(e=>i(e.options.get("documents_file_types")))(e)&&I(e),r=((e,t)=>{const n=e.dom,o=ne(e)?h.some(Y(e.selection,t)):h.none(),r=t.bind(e=>h.from(n.getAttrib(e,"href"))),l=t.bind(e=>h.from(n.getAttrib(e,"target"))),a=t.bind(e=>Ee(n,e,"rel")),s=t.bind(e=>Ee(n,e,"class"));return{url:r,text:o,title:t.bind(e=>Ee(n,e,"title")),target:l,rel:a,linkClass:s}})(e,t);return{anchor:r,catalogs:{targets:Se(e),rels:Oe(e,r.target),classes:we(e),anchor:_e(e),link:n},hasUploadPanel:o,optNode:t,flags:{titleEnabled:U(e)}}}),Re=(e,t)=>({title:"Upload",name:"upload",items:[{type:"dropzone",name:"fileinput",buttonLabel:"Browse for a file",dropAreaLabel:"Drop a file here",allowedFileTypes:e.map(e=>e.mimeType).join(","),allowedFileExtensions:k(e.map(e=>e.extensions)),onInvalidFiles:t}]}),Le=e=>(t,n)=>F(e)(t,n),Te=(e,t)=>{const n=t.getData();var o;t.block("Uploading file"),(o=n.fileinput,(e=>0{t.unblock()},n=>{const o=URL.createObjectURL(n),r=()=>{t.unblock(),URL.revokeObjectURL(o)};var l;(l=n,new Promise((e,t)=>{const n=new FileReader;n.onload=()=>{e(n.result)},n.onerror=()=>{t(new Error(n.error?.message??"Failed to convert blob to a data url"))},n.readAsDataURL(l)})).then(t=>{const r=e.getExistingBlobInfo((e=>h.from(e.split(",")[1]).getOr(""))(t),n.type),l=r&&r.filename()===n.name?r:e.createBlobCache(n,o,t);return e.addToBlobCache(l),e.uploadFile(l,g)}).then(e=>{(({url:e,fileName:n})=>{t.setData({text:n,title:n,url:{value:e,meta:{}}}),t.showTab("general"),t.focus("url")})(e),r()}).catch(n=>{r(),e.alertErr(n,()=>{t.focus("fileinput")})})})},Pe=e=>(t,n,o)=>e.editorUpload.blobCache.create({blob:t,blobUri:n,name:t.name?.replace(/\.[^\.]+$/,""),filename:t.name,base64:o.split(",")[1],allowEmptyFile:!0}),Ue=e=>t=>{e.editorUpload.blobCache.add(t)},Be=e=>(t,n)=>e.editorUpload.blobCache.getByData(t,n),De=e=>(t,n)=>{e.windowManager.alert(t,n)},Me=(e,t,n)=>{const o=e.anchor.text.map(()=>({name:"text",type:"input",label:"Text to display"})).toArray(),r=e.flags.titleEnabled?[{name:"title",type:"input",label:"Title"}]:[],l=((e,t)=>{const n=e.anchor,o=n.url.getOr("");return{url:{value:o,meta:{original:{value:o}}},text:n.text.getOr(""),title:n.title.getOr(""),anchor:o,link:o,rel:n.rel.getOr(""),target:n.target.or(t).getOr(""),linkClass:n.linkClass.getOr(""),fileinput:[]}})(e,h.from(N(n))),a=e.catalogs,s=be(l,a),i={addToBlobCache:Ue(n),createBlobCache:Pe(n),alertErr:De(n),uploadFile:Le(n),getExistingBlobInfo:Be(n)},c=((e,t,n,o,r,l)=>{const a=k([[{name:"url",type:"urlinput",filetype:"file",label:"URL",picker_text:"Browse links"}],t,n,w([o.anchor.map(pe("anchor","Anchors")),o.rels.map(pe("rel","Rel")),o.targets.map(pe("target","Open link in...")),o.link.map(pe("link","Link list")),o.classes.map(pe("linkClass","Class"))])]);return r?{type:"tabpanel",tabs:k([[{title:"General",name:"general",items:a}],[Re(l,()=>new Promise(e=>i.alertErr("Selected files do not have allowed extensions",e)))]])}:{type:"panel",items:a}})(0,o,r,a,e.hasUploadPanel,j(n));return{title:"Insert/Edit Link",size:"normal",body:c,buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:l,onChange:(e,{name:t})=>{"fileinput"===t?Te(i,e):s.onChange(e.getData,{name:t}).each(t=>{e.setData(t)})},onSubmit:t}},Fe=e=>{const t=(e=>{const t=Q(e);return Ne(e,t)})(e);t.then(t=>{const n=((e,t)=>n=>{const o=n.getData();if(!o.url.value)return se(e),void n.close();const r=e=>h.from(o[e]).filter(n=>!_(t.anchor[e],n)),l={href:o.url.value,text:r("text"),target:r("target"),rel:r("rel"),class:r("linkClass"),title:r("title")},a={href:o.url.value,attach:void 0!==o.url.meta&&o.url.meta.attach?o.url.meta.attach:d};((e,t)=>b([ye,xe(A(e),R(e))],e=>e(t)).fold(()=>Promise.resolve(t),n=>new Promise(o=>{((e,t,n)=>{const o=e.selection.getRng();ve.setEditorTimeout(e,()=>{e.windowManager.confirm(t,t=>{e.selection.setRng(o),n(t)})})})(e,n.message,e=>{o(e?n.preprocess(t):t)})})))(e,l).then(t=>{ae(e,a,t)}),n.close()})(e,t);return Me(t,n,e)}).then(t=>{e.windowManager.open(t)})};var Ie=tinymce.util.Tools.resolve("tinymce.util.VK");const je=(e,t)=>{if(t){const o=J(t);if(/^#/.test(o)){const t=((e,t)=>((e,t)=>""===t||e.length>=t.length&&e.substr(0,0+t.length)===t)(e,t))(n=o,"#")?(e=>e.substring(1))(n):n,r=e.dom.select(`[id="${t}"],[name="${t}"]`);r.length&&e.selection.scrollIntoView(r[0],!0)}else(e=>{const t=document.createElement("a");t.target="_blank",t.href=e,t.rel="noreferrer noopener";const n=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window});document.dispatchEvent(n),((e,t)=>{document.body.appendChild(e),e.dispatchEvent(t),document.body.removeChild(e)})(t,n)})(t.href)}var n},Ke=(e,t)=>{const n=ee(e.dom.getParents(t));return C(1===n.length,n[0])},qe=e=>e.selection.isCollapsed()||(e=>{const t=e.selection.getRng(),n=t.startContainer;return z(n)&&t.startContainer===t.endContainer&&1===e.dom.select("img",n).length})(e)?Ke(e,e.selection.getStart()):(e=>{const t=Z(e.selection.getRng());return C(t.length>0,t[0]).or(Ke(e,e.selection.getNode()))})(e),$e=e=>()=>{e.execCommand("mceLink",!1,{dialog:!0})},Ve=(e,t)=>(e.on("NodeChange",t),()=>e.off("NodeChange",t)),ze=e=>t=>{const n=()=>{t.setActive(!e.mode.isReadOnly()&&X(e,e.selection.getNode())),t.setEnabled(e.selection.isEditable())};return n(),Ve(e,n)},Ge=e=>t=>{const n=()=>{t.setEnabled(e.selection.isEditable())};return n(),Ve(e,n)},He=e=>t=>{const n=e.dom.getParents(e.selection.getStart()),o=n=>{t.setEnabled((t=>{return te(t)||(n=e.selection.getRng(),Z(n).length>0);var n})(n)&&e.selection.isEditable())};return o(n),Ve(e,e=>o(e.parents))},Je=e=>{const t=(e=>{const t=(()=>{const e=(e=>{const t=(e=>{let t=e;return{get:()=>t,set:e=>{t=e}}})(h.none()),n=()=>t.get().each(e);return{clear:()=>{n(),t.set(h.none())},isSet:()=>t.get().isSome(),get:()=>t.get(),set:e=>{n(),t.set(h.some(e))}}})(d);return{...e,on:t=>e.get().each(t)}})(),n=()=>t.get().or(qe(e));return e.on("contextmenu",n=>{Ke(e,n.target).each(t.set)}),e.on("SelectionChange",()=>{t.isSet()||qe(e).each(t.set)}),e.on("click",n=>{t.clear();const o=ee(e.dom.getParents(n.target));1===o.length&&Ie.metaKeyPressed(n)&&(n.preventDefault(),je(e,o[0]))}),e.on("keydown",o=>{t.clear(),!o.isDefaultPrevented()&&13===o.keyCode&&(e=>!0===e.altKey&&!1===e.shiftKey&&!1===e.ctrlKey&&!1===e.metaKey)(o)&&n().each(t=>{o.preventDefault(),je(e,t)})}),{gotoSelectedLink:()=>n().each(t=>je(e,t))}})(e);((e,t)=>{e.ui.registry.addToggleButton("link",{icon:"link",tooltip:"Insert/edit link",shortcut:"Meta+K",onAction:$e(e),onSetup:ze(e)}),e.ui.registry.addButton("openlink",{icon:"new-tab",tooltip:"Open link",onAction:t.gotoSelectedLink,onSetup:He(e)}),e.ui.registry.addButton("unlink",{icon:"unlink",tooltip:"Remove link",onAction:()=>se(e),onSetup:He(e)})})(e,t),((e,t)=>{e.ui.registry.addMenuItem("openlink",{text:"Open link",icon:"new-tab",onAction:t.gotoSelectedLink,onSetup:He(e)}),e.ui.registry.addMenuItem("link",{icon:"link",text:"Link...",shortcut:"Meta+K",onAction:$e(e),onSetup:Ge(e)}),e.ui.registry.addMenuItem("unlink",{icon:"unlink",text:"Remove link",onAction:()=>se(e),onSetup:He(e)})})(e,t),(e=>{e.ui.registry.addContextMenu("link",{update:t=>e.dom.isEditable(t)?te(e.dom.getParents(t,"a"))?"link unlink openlink":"link":""})})(e),((e,t)=>{const n=t=>{const n=e.selection.getNode();return t.setEnabled(X(e,n)&&e.selection.isEditable()),d};e.ui.registry.addContextForm("quicklink",{launch:{type:"contextformtogglebutton",icon:"link",tooltip:"Link",onSetup:ze(e)},label:"Link",predicate:t=>S(e)&&X(e,t),initValue:()=>Q(e).fold(()=>"",J),commands:[{type:"contextformtogglebutton",icon:"link",tooltip:"Link",primary:!0,onSetup:t=>{const n=e.selection.getNode();return t.setActive(X(e,n)),ze(e)(t)},onAction:t=>{const n=t.getValue(),o=(t=>{const n=Q(e),o=ne(e);if(n.isNone()&&o){const o=Y(e.selection,n);return C(0===o.length,t)}return h.none()})(n);ae(e,{href:n,attach:d},{href:n,text:o,title:h.none(),rel:h.none(),target:h.from(N(e)),class:h.none()}),(e=>{e.selection.collapse(!1)})(e),t.hide()}},{type:"contextformbutton",icon:"unlink",tooltip:"Remove link",onSetup:n,onAction:t=>{se(e),t.hide()}},{type:"contextformbutton",icon:"new-tab",tooltip:"Open link",onSetup:n,onAction:e=>{t.gotoSelectedLink(),e.hide()}}]})})(e,t)},We="link";e.add(We,e=>((e=>{const t=e.options.register;t("link_assume_external_targets",{processor:e=>{const t=o(e)||s(e);return t?!0===e?{value:1,valid:t}:"http"===e||"https"===e?{value:e,valid:t}:{value:0,valid:t}:{valid:!1,message:"Must be a string or a boolean."}},default:!1}),t("link_context_toolbar",{processor:"boolean",default:!1}),t("link_list",{processor:e=>o(e)||c(e)||u(e,r)}),t("link_default_target",{processor:"string"}),t("link_default_protocol",{processor:"string",default:"https"}),t("link_target_list",{processor:e=>s(e)||u(e,r),default:!0}),t("link_rel_list",{processor:"object[]",default:[]}),t("link_class_list",{processor:"object[]",default:[]}),t("link_title",{processor:"boolean",default:!0}),t("allow_unsafe_link_target",{processor:"boolean",default:!1}),t("link_quicklink",{processor:"boolean",default:!1}),t("link_attributes_postprocess",{processor:"function"}),t("files_upload_handler",{processor:"function"}),t("link_uploadtab",{processor:"boolean",default:!0})})(e),(e=>{e.addCommand("mceLink",(t,n)=>{!0!==n?.dialog&&D(e)?e.dispatch("contexttoolbar-show",{toolbarKey:"quicklink"}):Fe(e)})})(e),Je(e),(e=>{e.addShortcut("Meta+K","",()=>{e.execCommand("mceLink")})})(e),{getMetadata:()=>({name:"Link",type:"opensource",slug:We})}))}(); \ No newline at end of file +!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(n=o=e,(r=String).prototype.isPrototypeOf(n)||o.constructor?.name===r.name)?"string":t;var n,o,r})(t)===e,n=e=>t=>typeof t===e,o=t("string"),r=t("object"),l=t("array"),a=e=>null===e;const s=n("boolean"),i=e=>!(e=>null==e)(e),c=n("function"),u=(e,t)=>{if(l(e)){for(let n=0,o=e.length;n{},g=e=>e,m=(e,t)=>e===t;class h{tag;value;static singletonNone=new h(!1);constructor(e,t){this.tag=e,this.value=t}static some(e){return new h(!0,e)}static none(){return h.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?h.some(e(this.value)):h.none()}bind(e){return this.tag?e(this.value):h.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:h.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(e??"Called getOrDie on None")}static from(e){return i(e)?h.some(e):h.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}Array.prototype.slice;const p=Array.prototype.indexOf,f=Array.prototype.push,k=(e,t)=>{for(let n=0,o=e.length;n{const t=[];for(let n=0,o=e.length;n{for(let n=0;nx.call(e,t),w=(e,t,n=m)=>e.exists(e=>n(e,t)),C=e=>{const t=[],n=e=>{t.push(e)};for(let t=0;te?h.some(t):h.none(),O=e=>t=>t.options.get(e),S=O("link_assume_external_targets"),E=O("link_context_toolbar"),N=O("link_list"),R=O("link_default_target"),L=O("link_default_protocol"),T=O("link_target_list"),P=O("link_rel_list"),B=O("link_class_list"),U=O("link_title"),D=O("allow_unsafe_link_target"),M=O("link_quicklink"),F=O("link_attributes_postprocess"),I=O("files_upload_handler"),j=O("link_uploadtab"),K=O("documents_file_types");var q=tinymce.util.Tools.resolve("tinymce.util.URI"),$=tinymce.util.Tools.resolve("tinymce.dom.TreeWalker"),V=tinymce.util.Tools.resolve("tinymce.util.Tools");const z=e=>i(e)&&"a"===e.nodeName.toLowerCase(),G=e=>z(e)&&!!W(e),H=(e,t)=>{if(e.collapsed)return[];{const n=e.cloneContents(),o=n.firstChild,r=new $(o,n),l=[];let a=o;do{t(a)&&l.push(a)}while(a=r.next());return l}},J=e=>/^\w+:/i.test(e),W=e=>e.getAttribute("data-mce-href")??e.getAttribute("href")??"",Q=(e,t)=>{const n=["noopener"],o=e?e.split(/\s+/):[],r=e=>e.filter(e=>-1===V.inArray(n,e)),l=t?(e=>(e=r(e)).length>0?e.concat(n):n)(o):r(o);return l.length>0?(e=>V.trim(e.sort().join(" ")))(l):""},X=(e,t)=>(t=t||ee(e.selection.getRng())[0]||e.selection.getNode(),re(t)?h.from(e.dom.select("a[href]",t)[0]):h.from(e.dom.getParent(t,"a[href]"))),Y=(e,t)=>X(e,t).isSome(),Z=(e,t)=>t.fold(()=>e.getContent({format:"text"}),e=>e.innerText||e.textContent||"").replace(/\uFEFF/g,""),ee=e=>H(e,G),te=e=>V.grep(e,G),ne=e=>te(e).length>0,oe=e=>{const t=e.schema.getTextInlineElements();if(X(e).exists(e=>e.hasAttribute("data-mce-block")))return!1;const n=e.selection.getRng();return!!n.collapsed||0===H(n,e=>1===e.nodeType&&!z(e)&&!_(t,e.nodeName.toLowerCase())).length},re=e=>i(e)&&"FIGURE"===e.nodeName&&/\bimage\b/i.test(e.className),le=(e,t,n)=>{const o=e.selection.getNode(),r=X(e,o),l=((e,t)=>{const n={...t};if(0===P(e).length&&!D(e)){const e=Q(n.rel,"_blank"===n.target);n.rel=e||null}return h.from(n.target).isNone()&&!1===T(e)&&(n.target=R(e)),n.href=((e,t)=>"http"!==t&&"https"!==t||J(e)?e:t+"://"+e)(n.href,S(e)),n})(e,(e=>{return t=["title","rel","class","target"],n=(t,n)=>(e[n].each(e=>{t[n]=e.length>0?e:null}),t),o={href:e.href},k(t,(e,t)=>{o=n(o,e)}),o;var t,n,o})(n)),a=F(e);i(a)&&a(l),e.undoManager.transact(()=>{n.href===t.href&&t.attach(),r.fold(()=>{((e,t,n,o)=>{const r=e.dom;re(t)?ue(r,t,o):n.fold(()=>{e.execCommand("mceInsertLink",!1,o);const t=e.selection.getEnd(),n=r.createRng();n.setStartAfter(t),n.setEndAfter(t),e.selection.setRng(n)},t=>{e.insertContent(r.createHTML("a",o,r.encode(t)))})})(e,o,n.text,l)},t=>{e.focus(),((e,t,n,o)=>{n.each(e=>{_(t,"innerText")?t.innerText=e:t.textContent=e}),e.dom.setAttribs(t,o);const r=e.dom.createRng();r.setStartAfter(t),r.setEndAfter(t),e.selection.setRng(r)})(e,t,n.text,l)})})},ae=e=>{const{class:t,href:n,rel:o,target:r,text:l,title:s}=e;return(e=>{const t={};var n;return((e,t,n,o)=>{((e,t)=>{const n=v(e);for(let o=0,r=n.length;o{(t(e,r)?n:o)(e,r)})})(e,(e,t)=>!1===a(e),(n=t,(e,t)=>{n[t]=e}),d),t})({class:t.getOrNull(),href:n,rel:o.getOrNull(),target:r.getOrNull(),text:l.getOrNull(),title:s.getOrNull()})},se=(e,t,n)=>{const o=((e,t)=>{const n=e.options.get,o={allow_html_data_urls:n("allow_html_data_urls"),allow_script_urls:n("allow_script_urls"),allow_svg_data_urls:n("allow_svg_data_urls")},r=t.href;return{...t,href:q.isDomSafe(r,"a",o)?r:""}})(e,n);e.hasPlugin("rtc",!0)?e.execCommand("createlink",!1,ae(o)):le(e,t,o)},ie=e=>{e.hasPlugin("rtc",!0)?e.execCommand("unlink"):(e=>{e.undoManager.transact(()=>{const t=e.selection.getNode();re(t)?ce(e,t):(e=>{const t=e.dom,n=e.selection,o=n.getRng().cloneRange(),r=n.getBookmark(),l=t.getParent(o.startContainer,"a[href]",e.getBody()),a=t.getParent(o.endContainer,"a[href]",e.getBody());l&&o.setStartBefore(l),a&&o.setEndAfter(a),n.setRng(o),e.execCommand("unlink"),n.moveToBookmark(r)})(e),e.focus()})})(e)},ce=(e,t)=>{const n=e.dom.select("img",t)[0];if(n){const o=e.dom.getParents(n,"a[href]",t)[0];o&&(o.parentNode?.insertBefore(n,o),e.dom.remove(o))}},ue=(e,t,n)=>{const o=e.select("img",t)[0];if(o){const t=e.create("a",n);o.parentNode?.insertBefore(t,o),t.appendChild(o)}},de=e=>o(e.value)?e.value:"",ge=(e,t)=>{const n=[];return V.each(e,e=>{const r=(e=>o(e.text)?e.text:o(e.title)?e.title:"")(e);if(void 0!==e.menu){const o=ge(e.menu,t);n.push({text:r,items:o})}else{const o=t(e);n.push({text:r,value:o})}}),n},me=(e=de)=>t=>h.from(t).map(t=>ge(t,e)),he=e=>me(de)(e),pe=me,fe=(e,t)=>n=>({name:e,type:"listbox",label:t,items:n}),ke=de,be=(e,t)=>y(t,t=>(e=>{return _(t=e,n="items")&&void 0!==t[n]&&null!==t[n];var t,n})(t)?be(e,t.items):A(t.value===e,t)),ye=(e,t)=>{const n={text:e.text,title:e.title},o=(e,o)=>{const r=(l=t,a=o,"link"===a?l.link:"anchor"===a?l.anchor:h.none()).getOr([]);var l,a;return((e,t,n,o)=>{const r=o[t],l=e.length>0;return void 0!==r?be(r,n).map(t=>({url:{value:t.value,meta:{text:l?e:t.text,attach:d}},text:l?e:t.text})):h.none()})(n.text,o,r,e)};return{onChange:(e,t)=>{const r=t.name;return"url"===r?(e=>{const t=(o=e.url,A(n.text.length<=0,h.from(o.meta?.text).getOr(o.value)));var o;const r=(e=>A(n.title.length<=0,h.from(e.meta?.title).getOr("")))(e.url);return t.isSome()||r.isSome()?h.some({...t.map(e=>({text:e})).getOr({}),...r.map(e=>({title:e})).getOr({})}):h.none()})(e()):((e,t)=>p.call(e,t))(["anchor","link"],r)>-1?o(e(),r):"text"===r||"title"===r?(n[r]=e()[r],h.none()):h.none()}}};var ve=tinymce.util.Tools.resolve("tinymce.util.Delay");const xe=e=>{const t=e.href;return t.indexOf("@")>0&&-1===t.indexOf("/")&&-1===t.indexOf("mailto:")?h.some({message:"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?",preprocess:e=>({...e,href:"mailto:"+t})}):h.none()},_e=(e,t)=>n=>{const o=n.href;return 1===e&&!J(o)||0===e&&/^\s*www(\.|\d\.)/i.test(o)?h.some({message:`The URL you entered seems to be an external link. Do you want to add the required ${t}:// prefix?`,preprocess:e=>({...e,href:t+"://"+o})}):h.none()},we=e=>{const t=e.dom.select("a:not([href])"),n=b(((e,t)=>{const n=e.length,o=new Array(n);for(let r=0;r{const t=e.name||e.id;return t?[{text:t,value:"#"+t}]:[]}));return n.length>0?h.some([{text:"None",value:""}].concat(n)):h.none()},Ce=e=>{const t=B(e);return t.length>0?he(t):h.none()},Ae=e=>{try{return h.some(JSON.parse(e))}catch{return h.none()}},Oe=(e,t)=>{const n=P(e);if(n.length>0){const o=w(t,"_blank"),r=e=>Q(ke(e),o);return(!1===D(e)?pe(r):he)(n)}return h.none()},Se=[{text:"Current window",value:""},{text:"New window",value:"_blank"}],Ee=e=>{const t=T(e);return l(t)?he(t).orThunk(()=>h.some(Se)):!1===t?h.none():h.some(Se)},Ne=(e,t,n)=>{const o=e.getAttrib(t,n);return null!==o&&o.length>0?h.some(o):h.none()},Re=(e,t)=>(e=>{const t=t=>e.convertURL(t.value||t.url||"","href"),n=N(e);return new Promise(e=>{o(n)?fetch(n).then(e=>e.ok?e.text().then(Ae):Promise.reject()).then(e,()=>e(h.none())):c(n)?n(t=>e(h.some(t))):e(h.from(n))}).then(e=>e.bind(pe(t)).map(e=>e.length>0?[{text:"None",value:""}].concat(e):e))})(e).then(n=>{const o=(e=>i(e.options.get("files_upload_handler")))(e)&&(e=>i(e.options.get("documents_file_types")))(e)&&j(e),r=((e,t)=>{const n=e.dom,o=oe(e)?h.some(Z(e.selection,t)):h.none(),r=t.bind(e=>h.from(n.getAttrib(e,"href"))),l=t.bind(e=>h.from(n.getAttrib(e,"target"))),a=t.bind(e=>Ne(n,e,"rel")),s=t.bind(e=>Ne(n,e,"class"));return{url:r,text:o,title:t.bind(e=>Ne(n,e,"title")),target:l,rel:a,linkClass:s}})(e,t);return{anchor:r,catalogs:{targets:Ee(e),rels:Oe(e,r.target),classes:Ce(e),anchor:we(e),link:n},hasUploadPanel:o,optNode:t,flags:{titleEnabled:U(e)}}}),Le=(e,t)=>({title:"Upload",name:"upload",items:[{type:"dropzone",name:"fileinput",buttonLabel:"Browse for a file",dropAreaLabel:"Drop a file here",allowedFileTypes:e.map(e=>e.mimeType).join(","),allowedFileExtensions:b(e.map(e=>e.extensions)),onInvalidFiles:t}]}),Te=e=>(t,n)=>I(e)(t,n),Pe=(e,t)=>{const n=t.getData();var o;t.block("Uploading file"),(o=n.fileinput,(e=>0{t.unblock()},n=>{const o=URL.createObjectURL(n),r=()=>{t.unblock(),URL.revokeObjectURL(o)};var l;(l=n,new Promise((e,t)=>{const n=new FileReader;n.onload=()=>{e(n.result)},n.onerror=()=>{t(new Error(n.error?.message??"Failed to convert blob to a data url"))},n.readAsDataURL(l)})).then(t=>{const r=e.getExistingBlobInfo((e=>h.from(e.split(",")[1]).getOr(""))(t),n.type),l=r&&r.filename()===n.name?r:e.createBlobCache(n,o,t);return e.addToBlobCache(l),e.uploadFile(l,g)}).then(e=>{(({url:e,fileName:n})=>{t.setData({text:n,title:n,url:{value:e,meta:{}}}),t.showTab("general"),t.focus("url")})(e),r()}).catch(n=>{r(),e.alertErr(n,()=>{t.focus("fileinput")})})})},Be=e=>(t,n,o)=>e.editorUpload.blobCache.create({blob:t,blobUri:n,name:t.name?.replace(/\.[^\.]+$/,""),filename:t.name,base64:o.split(",")[1],allowEmptyFile:!0}),Ue=e=>t=>{e.editorUpload.blobCache.add(t)},De=e=>(t,n)=>e.editorUpload.blobCache.getByData(t,n),Me=e=>(t,n)=>{e.windowManager.alert(t,n)},Fe=(e,t,n)=>{const o=e.anchor.text.map(()=>({name:"text",type:"input",label:"Text to display"})).toArray(),r=e.flags.titleEnabled?[{name:"title",type:"input",label:"Title"}]:[],l=((e,t)=>{const n=e.anchor,o=n.url.getOr("");return{url:{value:o,meta:{original:{value:o}}},text:n.text.getOr(""),title:n.title.getOr(""),anchor:o,link:o,rel:n.rel.getOr(""),target:n.target.or(t).getOr(""),linkClass:n.linkClass.getOr(""),fileinput:[]}})(e,h.from(R(n))),a=e.catalogs,s=ye(l,a),i={addToBlobCache:Ue(n),createBlobCache:Be(n),alertErr:Me(n),uploadFile:Te(n),getExistingBlobInfo:De(n)},c=((e,t,n,o,r,l)=>{const a=b([[{name:"url",type:"urlinput",filetype:"file",label:"URL",picker_text:"Browse links"}],t,n,C([o.anchor.map(fe("anchor","Anchors")),o.rels.map(fe("rel","Rel")),o.targets.map(fe("target","Open link in...")),o.link.map(fe("link","Link list")),o.classes.map(fe("linkClass","Class"))])]);return r?{type:"tabpanel",tabs:b([[{title:"General",name:"general",items:a}],[Le(l,()=>new Promise(e=>i.alertErr("Selected files do not have allowed extensions",e)))]])}:{type:"panel",items:a}})(0,o,r,a,e.hasUploadPanel,K(n));return{title:"Insert/Edit Link",size:"normal",body:c,buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:l,onChange:(e,{name:t})=>{"fileinput"===t?Pe(i,e):s.onChange(e.getData,{name:t}).each(t=>{e.setData(t)})},onSubmit:t}},Ie=e=>{const t=(e=>{const t=X(e);return Re(e,t)})(e);t.then(t=>{const n=((e,t)=>n=>{const o=n.getData();if(!o.url.value)return ie(e),void n.close();const r=e=>h.from(o[e]).filter(n=>!w(t.anchor[e],n)),l={href:o.url.value,text:r("text"),target:r("target"),rel:r("rel"),class:r("linkClass"),title:r("title")},a={href:o.url.value,attach:void 0!==o.url.meta&&o.url.meta.attach?o.url.meta.attach:d};((e,t)=>y([xe,_e(S(e),L(e))],e=>e(t)).fold(()=>Promise.resolve(t),n=>new Promise(o=>{((e,t,n)=>{const o=e.selection.getRng();ve.setEditorTimeout(e,()=>{e.windowManager.confirm(t,t=>{e.selection.setRng(o),n(t)})})})(e,n.message,e=>{o(e?n.preprocess(t):t)})})))(e,l).then(t=>{se(e,a,t)}),n.close()})(e,t);return Fe(t,n,e)}).then(t=>{e.windowManager.open(t)})};var je=tinymce.util.Tools.resolve("tinymce.util.VK");const Ke=(e,t)=>{if(t){const o=W(t);if(/^#/.test(o)){const t=((e,t)=>((e,t)=>""===t||e.length>=t.length&&e.substr(0,0+t.length)===t)(e,t))(n=o,"#")?(e=>e.substring(1))(n):n,r=e.dom.select(`[id="${t}"],[name="${t}"]`);r.length&&(((e,t)=>{k(e.dom.getParents(t.parentNode,"details",e.getBody()),e=>{e.querySelector(":scope > summary")?.contains(t)||e.setAttribute("open","open")})})(e,r[0]),e.selection.scrollIntoView(r[0],!0))}else(e=>{const t=document.createElement("a");t.target="_blank",t.href=e,t.rel="noreferrer noopener";const n=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window});document.dispatchEvent(n),((e,t)=>{document.body.appendChild(e),e.dispatchEvent(t),document.body.removeChild(e)})(t,n)})(t.href)}var n},qe=(e,t)=>{const n=te(e.dom.getParents(t));return A(1===n.length,n[0])},$e=e=>e.selection.isCollapsed()||(e=>{const t=e.selection.getRng(),n=t.startContainer;return G(n)&&t.startContainer===t.endContainer&&1===e.dom.select("img",n).length})(e)?qe(e,e.selection.getStart()):(e=>{const t=ee(e.selection.getRng());return A(t.length>0,t[0]).or(qe(e,e.selection.getNode()))})(e),Ve=e=>()=>{e.execCommand("mceLink",!1,{dialog:!0})},ze=(e,t)=>(e.on("NodeChange",t),()=>e.off("NodeChange",t)),Ge=e=>t=>{const n=()=>{t.setActive(!e.mode.isReadOnly()&&Y(e,e.selection.getNode())),t.setEnabled(e.selection.isEditable())};return n(),ze(e,n)},He=e=>t=>{const n=()=>{t.setEnabled(e.selection.isEditable())};return n(),ze(e,n)},Je=e=>t=>{const n=e.dom.getParents(e.selection.getStart()),o=n=>{t.setEnabled((t=>{return ne(t)||(n=e.selection.getRng(),ee(n).length>0);var n})(n)&&e.selection.isEditable())};return o(n),ze(e,e=>o(e.parents))},We=e=>{const t=(e=>{const t=(()=>{const e=(e=>{const t=(e=>{let t=e;return{get:()=>t,set:e=>{t=e}}})(h.none()),n=()=>t.get().each(e);return{clear:()=>{n(),t.set(h.none())},isSet:()=>t.get().isSome(),get:()=>t.get(),set:e=>{n(),t.set(h.some(e))}}})(d);return{...e,on:t=>e.get().each(t)}})(),n=()=>t.get().or($e(e));return e.on("contextmenu",n=>{qe(e,n.target).each(t.set)}),e.on("SelectionChange",()=>{t.isSet()||$e(e).each(t.set)}),e.on("click",n=>{t.clear();const o=te(e.dom.getParents(n.target));1===o.length&&je.metaKeyPressed(n)&&(n.preventDefault(),Ke(e,o[0]))}),e.on("keydown",o=>{t.clear(),!o.isDefaultPrevented()&&13===o.keyCode&&(e=>!0===e.altKey&&!1===e.shiftKey&&!1===e.ctrlKey&&!1===e.metaKey)(o)&&n().each(t=>{o.preventDefault(),Ke(e,t)})}),{gotoSelectedLink:()=>n().each(t=>Ke(e,t))}})(e);((e,t)=>{e.ui.registry.addToggleButton("link",{icon:"link",tooltip:"Insert/edit link",shortcut:"Meta+K",onAction:Ve(e),onSetup:Ge(e)}),e.ui.registry.addButton("openlink",{icon:"new-tab",tooltip:"Open link",onAction:t.gotoSelectedLink,onSetup:Je(e)}),e.ui.registry.addButton("unlink",{icon:"unlink",tooltip:"Remove link",onAction:()=>ie(e),onSetup:Je(e)})})(e,t),((e,t)=>{e.ui.registry.addMenuItem("openlink",{text:"Open link",icon:"new-tab",onAction:t.gotoSelectedLink,onSetup:Je(e)}),e.ui.registry.addMenuItem("link",{icon:"link",text:"Link...",shortcut:"Meta+K",onAction:Ve(e),onSetup:He(e)}),e.ui.registry.addMenuItem("unlink",{icon:"unlink",text:"Remove link",onAction:()=>ie(e),onSetup:Je(e)})})(e,t),(e=>{e.ui.registry.addContextMenu("link",{update:t=>e.dom.isEditable(t)?ne(e.dom.getParents(t,"a"))?"link unlink openlink":"link":""})})(e),((e,t)=>{const n=t=>{const n=e.selection.getNode();return t.setEnabled(Y(e,n)&&e.selection.isEditable()),d};e.ui.registry.addContextForm("quicklink",{launch:{type:"contextformtogglebutton",icon:"link",tooltip:"Link",onSetup:Ge(e)},label:"Link",predicate:t=>E(e)&&Y(e,t),initValue:()=>X(e).fold(()=>"",W),commands:[{type:"contextformtogglebutton",icon:"link",tooltip:"Link",primary:!0,onSetup:t=>{const n=e.selection.getNode();return t.setActive(Y(e,n)),Ge(e)(t)},onAction:t=>{const n=t.getValue(),o=(t=>{const n=X(e),o=oe(e);if(n.isNone()&&o){const o=Z(e.selection,n);return A(0===o.length,t)}return h.none()})(n);se(e,{href:n,attach:d},{href:n,text:o,title:h.none(),rel:h.none(),target:h.from(R(e)),class:h.none()}),(e=>{e.selection.collapse(!1)})(e),t.hide()}},{type:"contextformbutton",icon:"unlink",tooltip:"Remove link",onSetup:n,onAction:t=>{ie(e),t.hide()}},{type:"contextformbutton",icon:"new-tab",tooltip:"Open link",onSetup:n,onAction:e=>{t.gotoSelectedLink(),e.hide()}}]})})(e,t)},Qe="link";e.add(Qe,e=>((e=>{const t=e.options.register;t("link_assume_external_targets",{processor:e=>{const t=o(e)||s(e);return t?!0===e?{value:1,valid:t}:"http"===e||"https"===e?{value:e,valid:t}:{value:0,valid:t}:{valid:!1,message:"Must be a string or a boolean."}},default:!1}),t("link_context_toolbar",{processor:"boolean",default:!1}),t("link_list",{processor:e=>o(e)||c(e)||u(e,r)}),t("link_default_target",{processor:"string"}),t("link_default_protocol",{processor:"string",default:"https"}),t("link_target_list",{processor:e=>s(e)||u(e,r),default:!0}),t("link_rel_list",{processor:"object[]",default:[]}),t("link_class_list",{processor:"object[]",default:[]}),t("link_title",{processor:"boolean",default:!0}),t("allow_unsafe_link_target",{processor:"boolean",default:!1}),t("link_quicklink",{processor:"boolean",default:!1}),t("link_attributes_postprocess",{processor:"function"}),t("files_upload_handler",{processor:"function"}),t("link_uploadtab",{processor:"boolean",default:!0})})(e),(e=>{e.addCommand("mceLink",(t,n)=>{!0!==n?.dialog&&M(e)?e.dispatch("contexttoolbar-show",{toolbarKey:"quicklink"}):Ie(e)})})(e),We(e),(e=>{e.addShortcut("Meta+K","",()=>{e.execCommand("mceLink")})})(e),{getMetadata:()=>({name:"Link",type:"opensource",slug:Qe})}))}(); \ No newline at end of file diff --git a/libraries/tinymce/js/tinymce/skins/ui/oxide-dark/skin.js b/libraries/tinymce/js/tinymce/skins/ui/oxide-dark/skin.js index 00acdfe..60ed033 100644 --- a/libraries/tinymce/js/tinymce/skins/ui/oxide-dark/skin.js +++ b/libraries/tinymce/js/tinymce/skins/ui/oxide-dark/skin.js @@ -1 +1 @@ -tinymce.Resource.add('ui/oxide-dark/skin.css', `.tox{box-shadow:none;box-sizing:content-box;cursor:auto;font-style:normal;font-weight:400;line-height:normal;-webkit-tap-highlight-color:transparent;-webkit-text-decoration:none;text-decoration:none;text-shadow:none;text-transform:none;vertical-align:initial;white-space:normal}.tox :not(svg):not(rect){box-sizing:inherit;color:inherit;cursor:inherit;direction:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;-webkit-tap-highlight-color:inherit;text-align:inherit;text-decoration:inherit;text-shadow:inherit;text-transform:inherit;vertical-align:inherit;white-space:inherit}.tox :not(svg):not(rect){background:0 0;border:0;box-shadow:none;float:none;height:auto;margin:0;max-width:none;outline:0;padding:0;position:static;width:auto}.tox:not([dir=rtl]){direction:ltr;text-align:left}.tox[dir=rtl]{direction:rtl;text-align:right}.tox-tinymce :focus,.tox-tinymce-aux :focus{outline:0}button::-moz-focus-inner{border:0}@keyframes tox-rotation{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes tox-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox{color:var(--tox-private-color-black,#222f3e);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-font-size-base, 16px)}.tox-tinymce{border:2px solid #161f29;border-radius:10px;box-shadow:none;box-sizing:border-box;display:flex;flex-direction:column;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);overflow:hidden;position:relative;visibility:inherit!important}.tox.tox-tinymce-inline{border:none;box-shadow:none;overflow:initial}.tox.tox-tinymce-inline .tox-editor-container{overflow:initial}.tox.tox-tinymce-inline .tox-editor-header{background-color:#222f3e;border:2px solid #161f29;border-radius:10px;box-shadow:none;overflow:hidden}.tox-tinymce-aux{font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);z-index:var(--tox-private-z-index-sink,1300)}.tox[dir=rtl] .tox-icon--flip svg{transform:rotateY(180deg)}.tox .tox-editor-container{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.tox .tox-editor-container--keep-toolbar{flex:0 0 auto;overflow:visible}.tox .tox-editor-header{display:grid;grid-template-columns:1fr min-content;z-index:2}.tox:not(.tox-tinymce-inline) .tox-editor-header{background-color:#222f3e;border-bottom:1px solid rgba(255,255,255,.15);box-shadow:none;padding:4px 0}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(.tox-editor-dock-transition){transition:box-shadow .5s}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header{border-top:1px solid rgba(255,255,255,.15);box-shadow:none}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header{background-color:#222f3e;box-shadow:none;padding:4px 0}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header{box-shadow:none}.tox.tox:not(.tox-tinymce-inline) .tox-editor-header.tox-editor-header--empty{background:0 0;border:none;box-shadow:none;padding:0}.tox-editor-dock-fadeout{opacity:0;visibility:hidden}.tox-editor-dock-fadein{opacity:1;visibility:visible}.tox-editor-dock-transition{transition:visibility 0s linear .25s,opacity .25s ease}.tox-editor-dock-transition.tox-editor-dock-fadein{transition-delay:0s}.tox .accessibility-issue__header{align-items:center;display:flex;margin-bottom:4px}.tox #accessibility-issue__subheader{font-size:16px;color:#fff}.tox .accessbility-sr-only{position:absolute;clip:rect(1px,1px,1px,1px);clip-path:inset(0 0 99.9% 99.9%);overflow:hidden;height:1px;width:1px;padding:0;border:0}.tox .accessibility-issue__description{align-items:stretch;border-radius:6px;justify-content:space-between}.tox .accessibility-issue__description>div{padding-bottom:4px}.tox .accessibility-issue__description>div>div{align-items:center;display:flex;margin-bottom:4px}.tox .accessibility-issue__description>div>div .tox-icon svg{display:block}.tox #accessibility-issue__contentID{margin-top:8px;margin-bottom:8px}.tox #accessibility-issue__contentID span:first-child{font-weight:700}.tox #accessibility-issue__document{padding-bottom:8px}.tox .accessibility-issue__repair{margin-top:8px}.tox .accessibility-issue__repair .tox-form__group .tox-form__group--error{color:#eb9999}.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description{background-color:#1f354f;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2{font-size:14px;color:#99c4f5}.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon.accessibility-issue__icon svg{fill:#99c4f5}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon{background-color:#006ce7;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:hover{background-color:#0060ce}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:active{background-color:#0054b4}.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description{background-color:#383f38;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2{font-size:14px;color:#ffeb99}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon.accessibility-issue__icon svg{fill:#ffeb99}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon{background-color:#ffe89d;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:hover{background-color:#f2d574;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:active{background-color:#e8c657;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description{background-color:#332a38;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2{font-size:14px;color:#eb9999}.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon.accessibility-issue__icon svg{fill:#eb9999}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon{background-color:#f2bfbf;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:hover{background-color:#e9a4a4;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:active{background-color:#ee9494;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description{background-color:rgba(120,171,70,.5);color:#fff}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description>:last-child{display:none}.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2{color:#fff}.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon.accessibility-issue__icon svg{fill:#fff}.tox .tox-dialog__body-content .accessibility-issue__header .tox-form__group h1,.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2{margin-top:0}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-left:4px}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-left:auto}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description{padding:8px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-right:4px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-right:auto}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description{padding:4px 8px 4px 4px}.tox .mce-codemirror{background:#fff;bottom:0;font-size:13px;left:0;position:absolute;right:0;top:0;z-index:1}.tox .mce-codemirror.tox-inline-codemirror{margin:8px;position:absolute}.tox .tox-advtemplate .tox-form__grid{flex:1}.tox .tox-advtemplate .tox-form__grid>div:first-child{display:flex;flex-direction:column;width:30%}.tox .tox-advtemplate .tox-form__grid>div:first-child>div:nth-child(2){flex-basis:0;flex-grow:1;overflow:auto}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-advtemplate .tox-form__grid>div:first-child{width:100%}}.tox .tox-advtemplate iframe{border-color:#161f29;border-radius:10px;border-style:solid;border-width:1px;margin:0 10px}.tox .tox-accordion{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__item{background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color,#fff);border-radius:var(--tox-private-control-border-radius,6px);position:relative}.tox .tox-accordion__item.tox-accordion__item--expanded{background-color:var(--tox-private-background-secondary,#2f4055)}.tox .tox-accordion__item.tox-accordion__item--expanded .tox-accordion__content--expanded .tox-accordion__content-inner{padding-top:0}.tox .tox-accordion__item::after{border-radius:var(--tox-private-control-border-radius,6px);box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,2px) var(--tox-private-keyboard-focus-outline-color,#fff);content:'';inset:0;opacity:0;pointer-events:none;position:absolute}@media (forced-colors:active){.tox .tox-accordion__item::after{border:2px solid highlight}}.tox .tox-accordion__item:focus{outline:0;z-index:1}.tox .tox-accordion__item:focus::after{opacity:1}.tox .tox-accordion__heading{margin:0;width:100%}.tox .tox-accordion__heading:focus{outline:0}.tox .tox-accordion__header{align-items:center;border:none;border-radius:var(--tox-private-control-border-radius,6px);box-sizing:border-box;color:var(--tox-private-text-color,#fff);cursor:pointer;display:flex;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:var(--tox-private-line-height-base, 1.3);outline:0;padding:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));text-align:left;width:100%}.tox .tox-accordion__header::after{border-radius:var(--tox-private-control-border-radius,6px);bottom:0;box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,2px) var(--tox-private-keyboard-focus-outline-color,#fff);content:'';left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-accordion__header::after{border:2px solid highlight}}.tox .tox-accordion__header:hover:not(.tox-accordion__header--disabled){background-color:var(--tox-private-background-secondary,#2f4055)}.tox .tox-accordion__header:focus:not(.tox-accordion__header--disabled){position:relative;z-index:1}.tox .tox-accordion__header:focus:not(.tox-accordion__header--disabled)::after{opacity:1}.tox .tox-accordion__header.tox-accordion__header--disabled{cursor:not-allowed;opacity:.5}.tox .tox-accordion__header.tox-accordion__header--icon-end{padding-right:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__header-icon{align-items:center;color:var(--tox-private-text-color,#fff);display:flex;flex-shrink:0;height:calc(var(--tox-private-base-value,16px) * 1.5);justify-content:center;width:calc(var(--tox-private-base-value,16px) * 1.5)}.tox .tox-accordion__header-icon svg{display:block;fill:currentColor;height:100%;width:100%;max-height:calc(var(--tox-private-base-value,16px) * 1.5);max-width:calc(var(--tox-private-base-value,16px) * 1.5)}.tox .tox-accordion__header:not(.tox-accordion__header--icon-end) .tox-accordion__header-icon{margin-right:var(--tox-private-pad-sm,8px);margin-left:0}.tox .tox-accordion__header--icon-end .tox-accordion__header-icon{margin-left:auto}.tox .tox-accordion__header-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-accordion__header--icon-end .tox-accordion__header-text{flex:0 1 auto;margin-right:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__content{border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-accordion__content.tox-accordion__content--collapsed{display:none}.tox .tox-accordion__content.tox-accordion__content--expanded{display:block}.tox .tox-accordion__content-inner{padding:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px)) calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__content-inner .tox-form__group:last-child{margin-bottom:0}.tox .tox-accordion__content-inner .tox-form__group>:not(:first-child){margin-top:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__content-inner .tox-form__group>.tox-dropdown-content{margin-top:0}.tox .tox-accordion__content-inner .tox-button-group{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__content-inner .tox-accordion__model-button{border-radius:var(--tox-private-control-border-radius,6px);align-items:center;appearance:none;background:0 0;border:none;color:inherit;cursor:pointer;display:flex;font-family:inherit;font-size:inherit;gap:var(--tox-private-pad-xs,4px);margin:0;outline:0;padding:6px calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));position:relative}.tox .tox-accordion__content-inner .tox-accordion__model-button::after{border-radius:var(--tox-private-control-border-radius,6px);bottom:0;box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,2px) var(--tox-private-keyboard-focus-outline-color,#fff);content:'';left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-accordion__content-inner .tox-accordion__model-button::after{border:2px solid highlight}}.tox .tox-accordion__content-inner .tox-accordion__model-button:focus{z-index:1}.tox .tox-accordion__content-inner .tox-accordion__model-button:focus::after{opacity:1}.tox .tox-accordion .tox-selectfield{align-items:center;background-color:var(--tox-private-background-color,#222f3e);border:1px solid var(--tox-private-border-color,#161f29);border-radius:var(--tox-private-control-border-radius,6px);box-sizing:border-box;display:flex;height:34px;padding:0 6px;position:relative;width:100%}.tox .tox-accordion .tox-selectfield:focus-within{box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,2px) var(--tox-private-keyboard-focus-outline-color,#fff);z-index:1}@media (forced-colors:active){.tox .tox-accordion .tox-selectfield:focus-within{border-color:highlight;box-shadow:0 0 0 2px highlight}}.tox .tox-accordion .tox-selectfield button{appearance:none;background:0 0;border:none;color:inherit;cursor:pointer;flex:1;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;outline:0;padding:5px 0;text-align:left}.tox .tox-accordion .tox-selectfield .tox-icon{display:flex;flex-shrink:0;padding:9px 0;pointer-events:none}.tox .tox-accordion .tox-selectfield .tox-icon svg{height:var(--tox-private-base-value,16px);width:var(--tox-private-base-value,16px)}.tox[dir=rtl] .tox-accordion__header{text-align:right}.tox[dir=rtl] .tox-accordion__header:not(.tox-accordion__header--icon-end) .tox-accordion__header-icon{margin-left:var(--tox-private-pad-sm,8px);margin-right:0}.tox[dir=rtl] .tox-accordion__header--icon-end .tox-accordion__header-icon{margin-right:auto;margin-left:0}.tox[dir=rtl] .tox-accordion__header--icon-end .tox-accordion__header-text{margin-left:var(--tox-private-pad-sm,8px);margin-right:0}.tox .tox-alert{align-items:flex-start;align-self:stretch;border-radius:var(--tox-private-panel-border-radius,6px);border-style:solid;border-width:1px;box-sizing:border-box;color:var(--tox-private-text-color,#fff);display:flex;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-normal,normal);gap:var(--tox-private-pad-xs,4px);line-height:var(--tox-private-line-height-base, 1.3);padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-sm,8px);width:100%}.tox .tox-alert--error{background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#222f3e) r g b / .8) 0,rgba(from var(--tox-private-background-color,#222f3e) r g b / .8) 100%),var(--tox-private-color-error,#c00);border-color:var(--tox-private-color-error,#c00)}.tox .tox-alert--warning{background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#222f3e) r g b / .8) 0,rgba(from var(--tox-private-background-color,#222f3e) r g b / .8) 100%),var(--tox-private-color-warning,#fc0);border-color:var(--tox-private-color-warning,#fc0)}.tox .tox-alert__body{display:flex;flex:1 0 0;flex-direction:column;min-width:0}.tox .tox-alert__content{align-items:center;display:flex;flex:1 0 0;gap:var(--tox-private-pad-sm,8px);padding:var(--tox-private-pad-sm,8px) 0}.tox .tox-alert__message{margin:0;text-align:left}.tox .tox-alert__actions{align-items:center;display:flex;flex-wrap:wrap;gap:var(--tox-private-pad-xs,4px);justify-content:flex-start}.tox .tox-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bottom-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bar{display:flex;flex:0 0 auto}.tox .tox-button{border-width:var(--tox-private-button-border-width,1px);border-style:var(--tox-private-button-border-style,solid);border-radius:var(--tox-private-control-border-radius,6px);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-button-font-size, 14px);font-style:var(--tox-private-button-font-style,normal);font-weight:var(--tox-private-button-font-weight,bold);line-height:var(--tox-private-control-line-height, 24px);padding:var(--tox-private-button-padding-y,4px) var(--tox-private-button-padding-x,16px);text-align:center;-webkit-text-decoration:none;text-decoration:none;text-transform:none;letter-spacing:normal;box-shadow:none;box-sizing:border-box;cursor:pointer;outline:0;position:relative;white-space:nowrap;display:inline-flex;justify-content:center;align-items:center;gap:var(--tox-private-pad-xs,4px)}.tox .tox-button::before{border-radius:var(--tox-private-control-border-radius,6px);bottom:calc(-1 * var(--tox-private-button-border-width,1px));box-shadow:var(--tox-private-button-focus-outline,inset 0 0 0 1px #fff,0 0 0 2px #006ce7);content:'';left:calc(-1 * var(--tox-private-button-border-width,1px));opacity:0;pointer-events:none;position:absolute;right:calc(-1 * var(--tox-private-button-border-width,1px));top:calc(-1 * var(--tox-private-button-border-width,1px))}.tox .tox-button:focus:not(:disabled){background-color:var(--tox-private-button-focus-background-color,#0060ce);background-image:none;border-color:var(--tox-private-button-focus-border-color,#0060ce);box-shadow:var(--tox-private-button-focus-box-shadow,none);color:var(--tox-private-button-focus-text-color,#fff)}.tox .tox-button:focus:not(:disabled)::before{opacity:1}.tox .tox-button.tox-button--icon,.tox .tox-button:has(.tox-icon:only-child){padding:4px}.tox .tox-button .tox-icon svg{display:block;fill:currentColor}.tox .tox-button .tox-icon.tox-icon--success svg{fill:var(--tox-private-color-success,#78AB46)}.tox .tox-button .tox-icon.tox-icon--error svg{fill:var(--tox-private-color-error,#c00)}.tox .tox-button--stretch{width:100%}.tox-context-form__group .tox-button--icon,.tox-context-form__group .tox-button.tox-button--icon{margin:6px 1px 5px 0;padding:0}.tox .tox-button{background-color:var(--tox-private-button-primary-background-color,#006ce7);background-image:none;background-position:0 0;background-repeat:repeat;color:var(--tox-private-button-primary-text-color,#fff);border-color:var(--tox-private-button-primary-border-color,#006ce7)}.tox .tox-button[disabled]{background-color:var(--tox-private-button-primary-disabled-background-color,#006ce7);background-image:none;border-color:var(--tox-private-button-primary-disabled-border-color,#006ce7);color:var(--tox-private-button-primary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button:focus:not(:disabled){background-color:var(--tox-private-button-primary-focus-background-color,#0060ce);border-color:var(--tox-private-button-primary-focus-border-color,#0060ce);color:var(--tox-private-button-primary-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button:hover:not(:disabled){background-color:var(--tox-private-button-primary-hover-background-color,#0060ce);border-color:var(--tox-private-button-primary-hover-border-color,#0060ce);color:var(--tox-private-button-primary-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button:active:not(:disabled){background-color:var(--tox-private-button-primary-active-background-color,#0054b4);border-color:var(--tox-private-button-primary-active-border-color,#0054b4);color:var(--tox-private-button-primary-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled{background-color:var(--tox-private-button-primary-enabled-background-color,#0054b4);border-color:var(--tox-private-button-primary-enabled-border-color,#0054b4);color:var(--tox-private-button-primary-enabled-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled[disabled]{color:var(--tox-private-button-primary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-primary-enabled-focus-background-color,#00489b);border-color:var(--tox-private-button-primary-enabled-focus-border-color,#00489b);color:var(--tox-private-button-primary-enabled-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-primary-enabled-hover-background-color,#00489b);border-color:var(--tox-private-button-primary-enabled-hover-border-color,#00489b);color:var(--tox-private-button-primary-enabled-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-primary-enabled-active-background-color,#003c81);border-color:var(--tox-private-button-primary-enabled-active-border-color,#003c81);color:var(--tox-private-button-primary-enabled-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary{background-color:var(--tox-private-button-secondary-background-color,#3d546f);border-color:var(--tox-private-button-secondary-border-color,#3d546f);color:var(--tox-private-button-secondary-text-color,#fff);border-style:solid;border-width:1px;background-image:none;background-position:0 0;background-repeat:repeat;border-radius:6px;box-shadow:none;font-size:14px;font-style:normal;font-weight:700;letter-spacing:normal;outline:0;padding:4px 16px;-webkit-text-decoration:none;text-decoration:none;text-transform:none}.tox .tox-button--secondary[disabled]{background-color:var(--tox-private-button-secondary-disabled-background-color,#3d546f);background-image:none;border-color:var(--tox-private-button-secondary-disabled-border-color,#3d546f);color:var(--tox-private-button-secondary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button--secondary:focus:not(:disabled){background-color:var(--tox-private-button-secondary-focus-background-color,#34485f);border-color:var(--tox-private-button-secondary-focus-border-color,#34485f);color:var(--tox-private-button-secondary-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary:hover:not(:disabled){background-color:var(--tox-private-button-secondary-hover-background-color,#34485f);border-color:var(--tox-private-button-secondary-hover-border-color,#34485f);color:var(--tox-private-button-secondary-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary:active:not(:disabled){background-color:var(--tox-private-button-secondary-active-background-color,#2b3b4e);border-color:var(--tox-private-button-secondary-active-border-color,#2b3b4e);color:var(--tox-private-button-secondary-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled{background-color:var(--tox-private-button-secondary-enabled-background-color,#599fef);border-color:var(--tox-private-button-secondary-enabled-border-color,#599fef);color:var(--tox-private-button-secondary-enabled-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled[disabled]{color:var(--tox-private-button-secondary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button--secondary.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-focus-background-color,#4292ed);border-color:var(--tox-private-button-secondary-enabled-focus-border-color,#4292ed);color:var(--tox-private-button-secondary-enabled-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-hover-background-color,#4292ed);border-color:var(--tox-private-button-secondary-enabled-hover-border-color,#4292ed);color:var(--tox-private-button-secondary-enabled-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-active-background-color,#2b85eb);border-color:var(--tox-private-button-secondary-enabled-active-border-color,#2b85eb);color:var(--tox-private-button-secondary-enabled-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--naked{background-color:transparent;border-color:transparent;box-shadow:unset;color:var(--tox-private-button-naked-text-color,#fff)}.tox .tox-button--naked[disabled]{background-color:transparent;border-color:transparent;color:var(--tox-private-button-naked-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button--naked:focus:not(:disabled){background-color:var(--tox-private-button-naked-focus-background-color,rgba(255,255,255,.2));border-color:var(--tox-private-button-naked-focus-border-color,transparent);color:var(--tox-private-button-naked-focus-text-color,#fff);box-shadow:unset}.tox .tox-button--naked:hover:not(:disabled){background-color:var(--tox-private-button-naked-hover-background-color,rgba(255,255,255,.2));border-color:var(--tox-private-button-naked-hover-background-color,transparent);color:var(--tox-private-button-naked-hover-text-color,#fff);box-shadow:unset}.tox .tox-button--naked:active:not(:disabled){background-color:var(--tox-private-button-naked-active-background-color,rgba(255,255,255,.3));border-color:var(--tox-private-button-naked-active-border-color,transparent);color:var(--tox-private-button-naked-active-text-color,#fff);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled{background-color:var(--tox-private-button-naked-enabled-background-color,#2b5c93);border-color:var(--tox-private-button-naked-enabled-border-color,#2b5c93);color:var(--tox-private-button-naked-enabled-text-color,#fff);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled[disabled]{color:var(--tox-private-button-naked-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button--naked.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-naked-enabled-focus-background-color,#254f80);border-color:var(--tox-private-button-naked-enabled-focus-border-color,#254f80);color:var(--tox-private-button-naked-enabled-focus-text-color,#fff);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-naked-enabled-hover-background-color,#254f80);border-color:var(--tox-private-button-naked-enabled-hover-border-color,#254f80);color:var(--tox-private-button-naked-enabled-hover-text-color,#fff);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-naked-enabled-active-background-color,#1f436c);border-color:var(--tox-private-button-naked-enabled-active-border-color,#1f436c);color:var(--tox-private-button-naked-enabled-active-text-color,#fff);box-shadow:unset}.tox .tox-button--secondary--outline{background-color:transparent;border-color:var(--tox-private-button-secondary-outline-border-color,#3d546f);color:var(--tox-private-button-secondary-outline-text-color,#fff)}.tox .tox-button--secondary--outline:focus:not(:disabled){background-color:var(--tox-private-button-secondary-outline-focus-background-color,#34485f);border-color:var(--tox-private-button-secondary-outline-focus-border-color,#34485f);color:var(--tox-private-button-secondary-outline-focus-text-color,#fff)}.tox .tox-button--secondary--outline:hover:not(:disabled){background-color:var(--tox-private-button-secondary-outline-hover-background-color,#3d546f);border-color:var(--tox-private-button-secondary-outline-hover-border-color,#34485f);color:var(--tox-private-button-secondary-outline-hover-text-color,#fff)}.tox .tox-button--secondary--outline:active:not(:disabled){background-color:var(--tox-private-button-secondary-outline-active-background-color,#34485f);border-color:var(--tox-private-button-secondary-outline-active-border-color,#34485f);color:var(--tox-private-button-secondary-outline-active-text-color,#fff)}.tox .tox-button--secondary--outline[disabled]{background-color:var(--tox-private-button-secondary-outline-disabled-background-color,transparent);border-color:var(--tox-private-button-secondary-outline-disabled-border-color,#3d546f);color:var(--tox-private-button-secondary-outline-disabled-text-color,rgba(255,255,255,.5))}.tox .tox-checkbox{align-items:center;border-radius:var(--tox-private-checkbox-border-radius,6px);cursor:pointer;display:flex;height:var(--tox-private-control-height,36px);min-width:var(--tox-private-control-height,36px)}.tox .tox-checkbox__input{height:1px;overflow:hidden;position:absolute;top:auto;width:1px}.tox .tox-checkbox__icons{display:flex;align-items:center;justify-content:center;box-sizing:content-box;padding:var(--tox-private-pad-xs,calc(4px - 1px));border-radius:var(--tox-private-checkbox-border-radius,6px);box-shadow:0 0 0 2px transparent;height:var(--tox-private-control-line-height,24px);aspect-ratio:1/1}.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:block;fill:var(--tox-private-checkbox-unselected-color,rgba(255,255,255,0.2))}@media (forced-colors:active){.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:currentColor!important}}.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:none;fill:var(--tox-private-checkbox-indeterminate-color,#006ce7)}.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg{display:none;fill:var(--tox-private-checkbox-selected-color,#006ce7)}.tox .tox-checkbox--disabled{color:var(--tox-private-checkbox-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(255,255,255,0.5))}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(255,255,255,0.5))}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(255,255,255,0.5))}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__checked svg{display:block}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:block}.tox input.tox-checkbox__input:focus+.tox-checkbox__icons{box-shadow:var(--tox-private-checkbox-focus-box-shadow,inset 0 0 0 1px #006ce7)}.tox:not([dir=rtl]) .tox-checkbox__label{margin-left:var(--tox-private-pad-xs,4px)}.tox:not([dir=rtl]) .tox-checkbox__input{left:-10000px}.tox:not([dir=rtl]) .tox-bar .tox-checkbox{margin-left:var(--tox-private-pad-xs,4px)}.tox[dir=rtl] .tox-checkbox__label{margin-right:var(--tox-private-pad-xs,4px)}.tox[dir=rtl] .tox-checkbox__input{right:-10000px}.tox[dir=rtl] .tox-bar .tox-checkbox{margin-right:var(--tox-private-pad-xs,4px)}.tox .tox-collection--toolbar .tox-collection__group{display:flex;padding:0}.tox .tox-collection--grid .tox-collection__group{display:flex;flex-wrap:wrap;max-height:208px;overflow-x:hidden;overflow-y:auto;padding:0}.tox .tox-collection--list .tox-collection__group{border-bottom-width:0;border-color:rgba(255,255,255,.15);border-left-width:0;border-right-width:0;border-style:solid;border-top-width:1px;padding:4px 0;display:flex;flex-direction:column}.tox .tox-collection--list .tox-collection__group:first-child{border-top-width:0}.tox .tox-collection__group-heading{background-color:rgba(255,255,255,.15);color:rgba(255,255,255,.5);cursor:default;font-size:12px;font-style:normal;font-weight:400;margin-bottom:4px;margin-top:-4px;padding:4px 8px;text-transform:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-collection__item{align-items:center;border-radius:3px;color:#fff;display:flex;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-image-selector-menu .tox-collection__item,.tox .tox-image-selector-menu .tox-collection__item-image-selector{flex-direction:column}.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-checkmark,.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-icon,.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-image,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-checkmark,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-icon,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-image{flex-grow:1}.tox .tox-image-selector-menu .tox-collection__item label,.tox .tox-image-selector-menu .tox-collection__item-image-selector label{width:48px;white-space:nowrap;overflow:hidden;font-size:12px;color:#fff;text-align:center;align-self:flex-end}.tox .tox-image-selector-menu .tox-collection__item-checkmark{height:24px;width:24px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.tox .tox-image-selector-menu .tox-collection__item-checkmark svg path{fill:#006ce7;stroke:#006ce7}.tox .tox-image-selector-menu .tox-image-selector__row .tox-collection__item-image-selector.tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#222f3e}.tox .tox-image-selector-menu .tox-image-selector__row .tox-collection__item-image-selector.tox-collection__item--enabled:not(.tox-collection__item--state-disabled){z-index:2;background-color:#222f3e;opacity:.8;background-clip:content-box}.tox .tox-collection--list .tox-collection__item{padding:4px 8px}.tox .tox-collection--toolbar .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--grid .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--list .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#2b3b4e;color:#fff}.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#006ce7;color:#fff}@media (forced-colors:active){.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){border:solid 1px}}.tox .tox-collection--grid .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#599fef;color:#fff}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#2f4055;color:#fff;position:relative;z-index:1}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff inset;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border:2px solid highlight}}.tox .tox-collection--toolbar .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#599fef;color:#fff}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){border-radius:3px;outline:solid 1px}}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled){color:#fff;background-color:#2b3b4e;position:relative}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):hover{background-color:#2f4055;color:#fff}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus{background-color:#2f4055;color:#fff}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border:2px solid highlight}}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):hover{border-radius:3px;outline:solid 1px}}.tox .tox-collection__item-image{border:1px solid #161f29;border-radius:6px;display:flex;flex-direction:column;justify-content:center;margin-bottom:4px;position:relative}.tox .tox-collection__item-checkmark,.tox .tox-collection__item-icon{align-items:center;display:flex;height:24px;justify-content:center;width:24px}.tox .tox-collection__item-checkmark svg,.tox .tox-collection__item-icon svg{fill:currentColor}.tox .tox-collection--toolbar-lg .tox-collection__item-icon{height:48px;width:48px}.tox .tox-collection__item-label{color:currentColor;display:inline-block;flex:1;font-size:14px;font-style:normal;font-weight:400;line-height:24px;max-width:100%;text-transform:none;word-break:break-all}.tox .tox-collection__item-separator{border-bottom:1px solid rgba(255,255,255,.15);height:0;margin:4px 0}.tox .tox-collection__item-accessory{color:currentColor;display:inline-block;font-size:14px;height:24px;line-height:24px;text-transform:none}.tox .tox-collection__item-caret{align-items:center;display:flex;min-height:24px}.tox .tox-collection__item-caret::after{content:'';font-size:0;min-height:inherit}.tox .tox-collection__item-caret svg{fill:currentColor}.tox .tox-collection__item--state-disabled{background-color:transparent;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg{fill:rgba(255,255,255,0.5)}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg{display:none}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-accessory+.tox-collection__item-checkmark{display:none}.tox .tox-collection--horizontal{background-color:#2b3b4e;border:1px solid rgba(255,255,255,.15);border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:nowrap;margin-bottom:0;overflow-x:auto;padding:0}.tox .tox-collection--horizontal .tox-collection__group{align-items:center;display:flex;flex-wrap:nowrap;margin:0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item{height:28px;margin:6px 1px 5px 0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item-label{white-space:nowrap}.tox .tox-collection--horizontal .tox-collection__item-caret{margin-left:4px}.tox .tox-collection__item-container{display:flex}.tox .tox-collection__item-container--row{align-items:center;flex:1 1 auto;flex-direction:row}.tox .tox-collection__item-container--row.tox-collection__item-container--align-left{margin-right:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--align-right{justify-content:flex-end;margin-left:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-top{align-items:flex-start;margin-bottom:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-middle{align-items:center}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-bottom{align-items:flex-end;margin-top:auto}.tox .tox-collection__item-container--column{align-self:center;flex:1 1 auto;flex-direction:column}.tox .tox-collection__item-container--column.tox-collection__item-container--align-left{align-items:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--align-right{align-items:flex-end}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-top{align-self:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-middle{align-self:center}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-bottom{align-self:flex-end}.tox:not([dir=rtl]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-right:1px solid transparent}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>:not(:first-child){margin-left:8px}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-left:4px}.tox:not([dir=rtl]) .tox-collection__item-accessory{margin-left:16px;text-align:right}.tox:not([dir=rtl]) .tox-collection .tox-collection__item-caret{margin-left:16px}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-left:1px solid transparent}.tox[dir=rtl] .tox-collection--list .tox-collection__item>:not(:first-child){margin-right:8px}.tox[dir=rtl] .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-right:4px}.tox[dir=rtl] .tox-collection__item-accessory{margin-right:16px;text-align:left}.tox[dir=rtl] .tox-collection .tox-collection__item-caret{margin-right:16px;transform:rotateY(180deg)}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__item-caret{margin-right:4px}@media (forced-colors:active){.tox .tox-hue-slider,.tox .tox-rgb-form .tox-rgba-preview{background-color:currentColor!important;border:1px solid highlight!important;forced-color-adjust:none}}.tox .tox-color-picker-container{display:flex;flex-direction:row;height:225px;margin:0}.tox .tox-sv-palette{box-sizing:border-box;display:flex;height:100%}.tox .tox-sv-palette-spectrum{height:100%}.tox .tox-sv-palette,.tox .tox-sv-palette-spectrum{width:225px}.tox .tox-sv-palette-thumb{background:0 0;border:1px solid #000;border-radius:50%;box-sizing:content-box;height:12px;position:absolute;width:12px}.tox .tox-sv-palette-inner-thumb{border:1px solid #fff;border-radius:50%;height:10px;position:absolute;width:10px}.tox .tox-hue-slider{box-sizing:border-box;height:100%;width:25px}.tox .tox-hue-slider-spectrum{background:linear-gradient(to bottom,red,#ff0080,#f0f,#8000ff,#00f,#0080ff,#0ff,#00ff80,#0f0,#80ff00,#ff0,#ff8000,red);height:100%;width:100%}.tox .tox-hue-slider,.tox .tox-hue-slider-spectrum{width:20px}.tox .tox-hue-slider-spectrum:focus,.tox .tox-sv-palette-spectrum:focus{outline:#08f solid}.tox .tox-hue-slider-thumb{background:#fff;border:1px solid #000;box-sizing:content-box;height:4px;width:100%}.tox .tox-rgb-form{display:flex;flex-direction:column;justify-content:space-between}.tox .tox-rgb-form div{align-items:center;display:flex;justify-content:space-between;margin-bottom:5px;width:inherit}.tox .tox-rgb-form input{min-width:6em}.tox .tox-rgb-form input.tox-invalid{border:1px solid red!important;box-shadow:0 0 0 1px red}.tox .tox-rgb-container{position:relative}.tox .tox-rgb-form .tox-invalid-icon{align-content:center;align-items:center;display:none;height:100%;position:absolute;right:0;top:0}.tox .tox-rgb-form .tox-invalid-icon .tox-control-wrap__status-icon-invalid{margin:0}.tox .tox-rgb-warning-note{background-color:#442632;border:1px solid #55212b;border-radius:3px;color:#e68080;padding:3px}.tox input.tox-invalid+.tox-invalid-icon{display:flex}.tox .tox-rgb-form .tox-rgba-preview{border:1px solid #000;flex-grow:2;margin-bottom:0}.tox:not([dir=rtl]) .tox-sv-palette{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider-thumb{margin-left:-1px}.tox:not([dir=rtl]) .tox-rgb-form label{margin-right:.5em}.tox[dir=rtl] .tox-sv-palette{margin-left:15px}.tox[dir=rtl] .tox-hue-slider{margin-left:15px}.tox[dir=rtl] .tox-hue-slider-thumb{margin-right:-1px}.tox[dir=rtl] .tox-rgb-form label{margin-left:.5em}.tox .tox-toolbar .tox-swatches,.tox .tox-toolbar__overflow .tox-swatches,.tox .tox-toolbar__primary .tox-swatches{margin:5px 0 6px 11px}.tox .tox-collection--list .tox-collection__group .tox-swatches-menu{border:0;margin:-4px -4px}.tox .tox-swatches__row{display:flex}@media (forced-colors:active){.tox .tox-swatches__row{forced-color-adjust:none}}.tox .tox-swatch{height:30px;transition:transform .15s,box-shadow .15s;width:30px}.tox .tox-swatch:focus,.tox .tox-swatch:hover{box-shadow:0 0 0 1px rgba(127,127,127,.3) inset;transform:scale(.8)}.tox .tox-swatch--remove{align-items:center;display:flex;justify-content:center}.tox .tox-swatch--remove svg path{stroke:#e74c3c}.tox .tox-swatches__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-swatches__picker-btn svg{fill:#fff;height:24px;width:24px}.tox .tox-swatches__picker-btn:hover{background:#2f4055}.tox div.tox-swatch:not(.tox-swatch--remove) svg{display:none;fill:#fff;height:24px;margin:calc((30px - 24px)/ 2) calc((30px - 24px)/ 2);width:24px}.tox div.tox-swatch:not(.tox-swatch--remove) svg path{fill:#fff;paint-order:stroke;stroke:#222f3e;stroke-width:2px}.tox div.tox-swatch:not(.tox-swatch--remove).tox-collection__item--enabled svg{display:block}.tox:not([dir=rtl]) .tox-swatches__picker-btn{margin-left:auto}.tox[dir=rtl] .tox-swatches__picker-btn{margin-right:auto}.tox .tox-comment{background:#222f3e;border:1px solid #222f3e;border-radius:6px;padding:8px;padding-bottom:16px;position:relative}.tox .tox-comment:hover{box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-comment.tox-comment--selected{background-color:#1b3b60;border:1px solid #006ce7;box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-comment.tox-comment--selected:focus{border:2px solid #fff;margin:-1px}.tox .tox-comment.tox-comment--selected:focus:not(:first-child){margin-top:7px}.tox .tox-comment.tox-comment--selected .tox-comment__single{margin-bottom:12px}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus{position:relative}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus::after{top:-9px;pointer-events:none;position:absolute;content:"";display:block;bottom:-9px;left:-9px;right:-9px;border-radius:6px;border:2px solid #fff}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus:last-of-type:has(textarea):after{bottom:calc((12px + 16px + 1px) * -1)}.tox .tox-comment__header{align-items:center;color:#fff;display:flex;justify-content:space-between}.tox .tox-comment__date{color:#fff;font-size:12px;line-height:18px}.tox .tox-comment__body{color:#fff;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;margin-top:8px;position:relative;text-transform:initial;transition:max-height .5s cubic-bezier(0, 1, 0, 1);white-space:pre-wrap}.tox .tox-comment__body.tox-comment__body--expanded{max-height:100em;transition:max-height 1s ease-in-out}.tox .tox-comment__body.tox-comment__body--pending{transition:max-height 0s}.tox .tox-comment__body p{margin:0}.tox .tox-comment__body textarea{resize:none;white-space:normal;width:100%;font-size:16px}.tox .tox-comment__loading-text{align-items:center;color:#fff;display:flex;flex-direction:column;position:relative}.tox .tox-comment__loading-text>div{padding-bottom:16px}.tox .tox-comment__overlaytext{bottom:0;flex-direction:column;font-size:14px;left:0;padding:1em;position:absolute;right:0;top:0;z-index:10}.tox .tox-comment__overlaytext p{background-color:#222f3e;box-shadow:0 0 8px 8px #222f3e;color:#fff;text-align:center}.tox .tox-comment__overlaytext div:nth-of-type(2){font-size:.8em}.tox .tox-comment__expander{padding-top:8px}.tox .tox-comment__expander p{color:rgba(255,255,255,.5);font-size:14px;font-style:normal}.tox .tox-comment__expander p:focus{font-weight:700}.tox .tox-comment__buttonspacing{padding-top:16px;text-align:center}.tox .tox-tbtn.tox-comment__mention-btn{display:flex;width:34px;height:34px;padding:5px;justify-content:center;align-items:center;margin:0;background-color:transparent}.tox .tox-comment-thread{background:#222f3e;position:relative;border-radius:6px;background-color:transparent}.tox .tox-comment-thread>:not(:first-child){margin-top:8px}.tox .tox-comment-thread__overlay::after{background:#222f3e;bottom:0;content:"";display:flex;left:0;opacity:.9;position:absolute;right:0;top:0;z-index:5}.tox .tox-comment__reply{display:flex;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__reply>:first-child{margin-bottom:8px;width:100%}.tox .tox-comment__edit{display:flex;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__gradient::after{background:linear-gradient(rgba(34,47,62,0),#222f3e);bottom:0;content:"";display:block;height:5em;margin-top:-40px;position:absolute;width:100%}.tox .tox-comment__overlay{background:#222f3e;bottom:0;display:flex;flex-direction:column;flex-grow:1;left:0;opacity:.9;position:absolute;right:0;text-align:center;top:0;z-index:5}.tox .tox-comment__busy-spinner{align-items:center;background-color:#222f3e;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:20}.tox .tox-comment__scroll{display:flex;flex-direction:column;flex-shrink:1;overflow:auto;padding:12px;scroll-behavior:smooth}.tox .tox-comment__scroll:has(textarea:focus){scroll-behavior:auto}.tox .tox-comment--disappearing{transition:opacity .5s ease}.tox .tox-comment[data-transitioning-destination=deleting]{opacity:0}.tox .tox-ring-loader{width:10px;height:10px;border:1px solid #fff;border-bottom-color:transparent;border-radius:50%;display:inline-block;box-sizing:border-box;animation:tox-rotation 1s linear infinite}.tox:not([dir=rtl]) .tox-comment__edit{margin-left:8px}.tox:not([dir=rtl]) .tox-comment__buttonspacing>:last-child,.tox:not([dir=rtl]) .tox-comment__edit>:last-child,.tox:not([dir=rtl]) .tox-comment__reply>:last-child{margin-left:8px}.tox[dir=rtl] .tox-comment__edit{margin-right:8px}.tox[dir=rtl] .tox-comment__buttonspacing>:last-child,.tox[dir=rtl] .tox-comment__edit>:last-child,.tox[dir=rtl] .tox-comment__reply>:last-child{margin-right:8px}.tox .tox-user{align-items:center;display:flex}.tox .tox-user__avatar svg{fill:rgba(255,255,255,0.5)}.tox .tox-user__avatar img{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-user__name{color:#fff;font-size:14px;font-style:normal;font-weight:700;line-height:18px;text-transform:none}.tox:not([dir=rtl]) .tox-user__avatar img,.tox:not([dir=rtl]) .tox-user__avatar svg{margin-right:8px}.tox:not([dir=rtl]) .tox-user__avatar+.tox-user__name{margin-left:8px}.tox[dir=rtl] .tox-user__avatar img,.tox[dir=rtl] .tox-user__avatar svg{margin-left:8px}.tox[dir=rtl] .tox-user__avatar+.tox-user__name{margin-right:8px}.tox .tox-dialog-wrap{align-items:center;display:flex;justify-content:center;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1100}.tox .tox-dialog-wrap__backdrop{background-color:rgba(34,47,62,.75);bottom:0;left:0;position:absolute;right:0;top:0;z-index:1}.tox .tox-dialog-wrap__backdrop--opaque{background-color:#222f3e}.tox .tox-dialog{background-color:#2b3b4e;border-color:#161f29;border-radius:10px;border-style:solid;border-width:0;box-shadow:0 16px 16px -10px rgba(34,47,62,.15),0 0 40px 1px rgba(34,47,62,.15);display:flex;flex-direction:column;max-height:100%;max-width:480px;overflow:hidden;position:relative;width:95vw;z-index:2}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog{align-self:flex-start;margin:8px auto;max-height:calc(100vh - 8px * 2);width:calc(100vw - 16px)}}.tox .tox-dialog-inline{z-index:1100}.tox .tox-dialog__header{align-items:center;background-color:#2b3b4e;border-bottom:none;color:#fff;display:flex;font-size:16px;justify-content:space-between;padding:8px 16px 0 16px;position:relative}.tox .tox-dialog__header .tox-button{z-index:1}.tox .tox-dialog__draghandle{cursor:grab;height:100%;left:0;position:absolute;top:0;width:100%}.tox .tox-dialog__draghandle:active{cursor:grabbing}.tox .tox-dialog__dismiss{margin-left:auto}.tox .tox-dialog__title{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:20px;font-style:normal;font-weight:400;line-height:1.3;margin:0;text-transform:none}.tox .tox-dialog__body{color:#fff;display:flex;flex:1;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;min-width:0;text-align:left;text-transform:none}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body{flex-direction:column}}.tox .tox-dialog__body-nav{align-items:flex-start;display:flex;flex-direction:column;flex-shrink:0;padding:16px 16px}@media only screen and (min-width:768px){.tox .tox-dialog__body-nav{max-width:11em}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body-nav{flex-direction:row;-webkit-overflow-scrolling:touch;overflow-x:auto;padding-bottom:0}}.tox .tox-dialog__body-nav-item{border-bottom:2px solid transparent;color:rgba(255,255,255,.5);display:inline-block;flex-shrink:0;font-size:14px;line-height:1.3;margin-bottom:8px;max-width:13em;-webkit-text-decoration:none;text-decoration:none}.tox .tox-dialog__body-nav-item:focus{background-color:rgba(0,108,231,.1)}.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid #67aeff;color:#67aeff}@media (forced-colors:active){.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid highlight;color:highlight}}.tox .tox-dialog__body-content{box-sizing:border-box;display:flex;flex:1;flex-direction:column;max-height:min(650px,calc(100vh - 110px));overflow:auto;-webkit-overflow-scrolling:touch;padding:16px 16px}.tox .tox-dialog__body-content>*{margin-bottom:0;margin-top:16px}.tox .tox-dialog__body-content>:first-child{margin-top:0}.tox .tox-dialog__body-content>:last-child{margin-bottom:0}.tox .tox-dialog__body-content>:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content a{color:#67aeff;cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content a:focus,.tox .tox-dialog__body-content a:hover{color:#cde5ff;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content a:focus-visible{border-radius:1px;outline:2px solid #67aeff;outline-offset:2px}.tox .tox-dialog__body-content a:active{color:#fff;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content svg{fill:#fff}.tox .tox-dialog__body-content strong{font-weight:700}.tox .tox-dialog__body-content ul{list-style-type:disc}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{padding-inline-start:2.5rem}.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{margin-bottom:16px}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content dt,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{display:block;margin-inline-end:0;margin-inline-start:0}.tox .tox-dialog__body-content .tox-form__group h1{color:#fff;font-size:20px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group h2{color:#fff;font-size:16px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group p{margin-bottom:16px}.tox .tox-dialog__body-content .tox-form__group h1:first-child,.tox .tox-dialog__body-content .tox-form__group h2:first-child,.tox .tox-dialog__body-content .tox-form__group p:first-child{margin-top:0}.tox .tox-dialog__body-content .tox-form__group h1:last-child,.tox .tox-dialog__body-content .tox-form__group h2:last-child,.tox .tox-dialog__body-content .tox-form__group p:last-child{margin-bottom:0}.tox .tox-dialog__body-content .tox-form__group h1:only-child,.tox .tox-dialog__body-content .tox-form__group h2:only-child,.tox .tox-dialog__body-content .tox-form__group p:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--center{text-align:center}.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--end{text-align:end}.tox .tox-dialog--width-lg{height:650px;max-width:1200px}.tox .tox-dialog--fullscreen{height:100%;max-width:100%}.tox .tox-dialog--fullscreen .tox-dialog__body-content{max-height:100%}.tox .tox-dialog--width-md{max-width:800px}.tox .tox-dialog--width-md .tox-dialog__body-content{overflow:auto}.tox .tox-dialog__body-content--centered{text-align:center}.tox .tox-dialog__footer{align-items:center;background-color:#2b3b4e;border-top:none;display:flex;justify-content:space-between;padding:8px 16px}.tox .tox-dialog__footer-end,.tox .tox-dialog__footer-start{display:flex}.tox .tox-dialog__busy-spinner{align-items:center;background-color:rgba(34,47,62,.75);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:3}.tox .tox-dialog__table{border-collapse:collapse;width:100%}.tox .tox-dialog__table thead th{font-weight:700;padding-bottom:8px}.tox .tox-dialog__table thead th:first-child{padding-right:8px}.tox .tox-dialog__table tbody tr{border-bottom:1px solid #000}.tox .tox-dialog__table tbody tr:last-child{border-bottom:none}.tox .tox-dialog__table td{padding-bottom:8px;padding-top:8px}.tox .tox-dialog__table td:first-child{padding-right:8px}.tox .tox-dialog__iframe{min-height:200px}.tox .tox-dialog__iframe.tox-dialog__iframe--opaque{background:#fff}.tox .tox-navobj-bordered{position:relative}.tox .tox-navobj-bordered::before{border:1px solid #161f29;border-radius:6px;content:'';inset:0;opacity:1;pointer-events:none;position:absolute;z-index:1}.tox .tox-navobj-bordered iframe{border-radius:6px}.tox .tox-navobj-bordered-focus.tox-navobj-bordered::before{border-color:#006ce7;box-shadow:0 0 0 1px #006ce7;outline:0}.tox .tox-dialog__popups{position:absolute;width:100%;z-index:1100}.tox .tox-dialog__body-iframe{display:flex;flex:1;flex-direction:column}.tox .tox-dialog__body-iframe .tox-navobj{display:flex;flex:1}.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2){flex:1;height:100%}.tox .tox-dialog-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-dialog-dock-fadein{opacity:1;visibility:visible}.tox .tox-dialog-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein{transition-delay:0s}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav{margin-right:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav-item:not(:first-child){margin-left:8px}}.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-end>*,.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-start>*{margin-left:8px}.tox[dir=rtl] .tox-dialog__body{text-align:right}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav{margin-left:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav-item:not(:first-child){margin-right:8px}}.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-end>*,.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-start>*{margin-right:8px}.tox .tox-dropdown-content{box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);position:fixed;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;overflow:auto;height:fit-content;width:fit-content;border-radius:var(--tox-private-panel-border-radius,6px);background-color:var(--tox-private-background-color,#222f3e);max-height:50vh}.tox .tox-dropdown-content .tox-menu{width:100%;box-shadow:none}body.tox-dialog__disable-scroll{overflow:hidden}.tox .tox-dropzone-container{display:flex;flex:1}.tox .tox-dropzone{align-items:center;background:#fff;border:2px dashed #161f29;box-sizing:border-box;display:flex;flex-direction:column;flex-grow:1;justify-content:center;min-height:100px;padding:10px}.tox .tox-dropzone p{color:rgba(255,255,255,.5);margin:0 0 16px 0}.tox .tox-edit-area{display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-edit-area::before{border:2px solid #fff;border-radius:4px;content:'';inset:0;opacity:0;pointer-events:none;position:absolute;transition:opacity .15s;z-index:1}@media (forced-colors:active){.tox .tox-edit-area::before{border:2px solid highlight}}.tox .tox-edit-area__iframe{background-color:#fff;border:0;box-sizing:border-box;flex:1;height:100%;position:absolute;width:100%}.tox.tox-edit-focus .tox-edit-area::before{opacity:1}.tox.tox-inline-edit-area{border:1px dotted #161f29}.tox .tox-expandable-box{background:var(--tox-private-background-color,#222f3e);border-radius:var(--tox-private-control-border-radius,6px);border:1px solid var(--tox-private-border-color,#161f29);display:flex;flex-direction:column;justify-content:stretch;overflow:hidden}.tox .tox-expandable-box>.tox-button{margin:0 var(--tox-private-pad-md,16px) var(--tox-private-pad-md,16px)}.tox .tox-expandable-box__title{align-items:center;background:hsl(from var(--tox-private-color-tint,#006ce7) h s l / 10%);border-bottom:1px solid var(--tox-private-border-color,#161f29);color:var(--tox-private-text-color,#fff);display:flex;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);gap:var(--tox-private-pad-sm,8px);min-width:0;padding:var(--tox-private-pad-sm,8px) var(--tox-private-pad-md,16px)}.tox .tox-expandable-box__title .tox-icon{flex-shrink:0;height:var(--tox-private-base-value,16px);fill:var(--tox-private-text-color,#fff)}.tox .tox-expandable-box__title-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-expandable-box__content{margin:var(--tox-private-pad-md,16px);overflow:auto}.tox .tox-expandable-box__content--overflowing{position:relative;overflow:hidden}.tox .tox-expandable-box__content--overflowing::after{content:'';position:absolute;bottom:0;left:0;right:0;height:min(100px,100%);pointer-events:none;background:linear-gradient(to bottom,transparent 50%,var(--tox-private-background-color,#222f3e))}.tox .tox-expandable-box__content--expanded{max-height:fit-content}.tox .tox-control-wrap{flex:1;position:relative}.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid,.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown,.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid{display:none}.tox .tox-control-wrap svg{display:block}.tox .tox-control-wrap__status-icon-wrap{position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-control-wrap__status-icon-invalid svg{fill:#c00}.tox .tox-control-wrap__status-icon-unknown svg{fill:orange}.tox .tox-control-wrap__status-icon-valid svg{fill:green}.tox:not([dir=rtl]) .tox-control-wrap--status-invalid .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-unknown .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-valid .tox-textfield{padding-right:32px}.tox:not([dir=rtl]) .tox-control-wrap__status-icon-wrap{right:4px}.tox[dir=rtl] .tox-control-wrap--status-invalid .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-unknown .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-valid .tox-textfield{padding-left:32px}.tox[dir=rtl] .tox-control-wrap__status-icon-wrap{left:4px}.tox .tox-custom-preview{border-color:#161f29;border-radius:6px;border-style:solid;border-width:1px;flex:1;padding:8px}.tox .tox-autocompleter{max-width:25em}.tox .tox-autocompleter .tox-menu{box-sizing:border-box;max-width:25em}.tox .tox-autocompleter .tox-autocompleter-highlight{font-weight:700}.tox .tox-color-input{display:flex;position:relative;z-index:1}.tox .tox-color-input .tox-textfield{z-index:-1}.tox .tox-color-input span{border-color:rgba(34 47 62 / 20%);border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;height:24px;position:absolute;top:6px;width:24px}@media (forced-colors:active){.tox .tox-color-input span{border-color:currentColor;border-width:2px!important;forced-color-adjust:none}}.tox .tox-color-input span:focus:not([aria-disabled=true]),.tox .tox-color-input span:hover:not([aria-disabled=true]){border-color:#006ce7;cursor:pointer}.tox .tox-color-input span::before{background-image:linear-gradient(45deg,rgba(255,255,255,.25) 25%,transparent 25%),linear-gradient(-45deg,rgba(255,255,255,.25) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(255,255,255,.25) 75%),linear-gradient(-45deg,transparent 75%,rgba(255,255,255,.25) 75%);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px;border:1px solid #2b3b4e;border-radius:6px;box-sizing:border-box;content:'';height:24px;left:-1px;position:absolute;top:-1px;width:24px;z-index:-1}@media (forced-colors:active){.tox .tox-color-input span::before{border:none}}.tox .tox-color-input span[aria-disabled=true]{cursor:not-allowed}.tox:not([dir=rtl]) .tox-color-input .tox-textfield{padding-left:36px}.tox:not([dir=rtl]) .tox-color-input span{left:6px}.tox[dir=rtl] .tox-color-input .tox-textfield{padding-right:36px}.tox[dir=rtl] .tox-color-input span{right:6px}.tox .tox-label,.tox .tox-toolbar-label{color:rgba(255,255,255,.5);display:block;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;padding:0 8px 0 0;text-transform:none;white-space:nowrap}.tox .tox-toolbar-label{padding:0 8px}.tox[dir=rtl] .tox-label{padding:0 0 0 8px}.tox .tox-form{display:flex;flex:1;flex-direction:column}.tox .tox-form__group{box-sizing:border-box;margin-bottom:4px}.tox .tox-form-group--maximize{flex:1}.tox .tox-form__group--error{color:#c00}.tox .tox-form__group--collection{display:flex}.tox .tox-form__grid{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}.tox .tox-form__grid--2col>.tox-form__group{width:calc(50% - (8px / 2))}.tox .tox-form__grid--3col>.tox-form__group{width:calc(100% / 3 - (8px / 2))}.tox .tox-form__grid--4col>.tox-form__group{width:calc(25% - (8px / 2))}.tox .tox-form__controls-h-stack{align-items:center;display:flex}.tox .tox-form__group--inline{align-items:center;display:flex}.tox .tox-form__group--stretched{display:flex;flex:1;flex-direction:column}.tox .tox-form__group--stretched .tox-textarea{flex:1}.tox .tox-form__group--stretched .tox-navobj{display:flex;flex:1}.tox .tox-form__group--stretched .tox-navobj :nth-child(2){flex:1;height:100%}.tox:not([dir=rtl]) .tox-form__controls-h-stack>:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-form__controls-h-stack>:not(:first-child){margin-right:4px}.tox .tox-lock.tox-locked .tox-lock-icon__unlock,.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock{display:none}.tox .tox-context-form__group .tox-button--icon.tox-lock-context-form-size-input{margin-left:8px;margin-right:8px}.tox .tox-listboxfield .tox-listbox--select,.tox .tox-textarea,.tox .tox-textarea-wrap .tox-textarea:focus,.tox .tox-textfield,.tox .tox-toolbar-textfield{appearance:none;background-color:#2b3b4e;border-color:#161f29;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 5.5px;resize:none;width:100%}.tox .tox-textarea[disabled],.tox .tox-textfield[disabled],.tox .tox-toolbar-textfield[disabled]{background-color:#222f3e;color:rgba(255,255,255,.85);cursor:not-allowed}.tox .tox-custom-editor:focus-within,.tox .tox-focusable-wrapper:focus,.tox .tox-listboxfield .tox-listbox--select:focus,.tox .tox-textarea-wrap:focus-within,.tox .tox-textarea:focus,.tox .tox-textfield:focus,.tox .tox-toolbar-textfield:focus{background-color:#2b3b4e;border-color:#006ce7;box-shadow:0 0 0 1px #006ce7;outline:0}.tox .tox-toolbar-textfield{max-width:250px;min-height:unset;height:28px;margin:5px 0 6px 0}.tox .tox-naked-btn{background-color:transparent;border:0;border-color:transparent;box-shadow:unset;color:#006ce7;cursor:pointer;display:block;margin:0;padding:0}.tox .tox-naked-btn svg{display:block;fill:#fff}.tox .tox-textfield-size{width:80px}.tox:not([dir=rtl]) .tox-toolbar-textfield+*{margin-left:4px}.tox[dir=rtl] .tox-toolbar-textfield+*{margin-right:4px}.tox .tox-listboxfield{cursor:pointer;position:relative}.tox .tox-listboxfield .tox-listbox--select[disabled]{background-color:#19232e;color:rgba(255,255,255,.85);cursor:not-allowed}.tox .tox-listbox__select-label{cursor:default;flex:1;margin:0 4px}.tox .tox-listbox__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-listbox__select-chevron svg{fill:#fff}@media (forced-colors:active){.tox .tox-listbox__select-chevron svg{fill:currentColor!important}}.tox .tox-listboxfield .tox-listbox--select{align-items:center;display:flex}.tox:not([dir=rtl]) .tox-listboxfield svg{right:8px}.tox[dir=rtl] .tox-listboxfield svg{left:8px}.tox .tox-selectfield{cursor:pointer;position:relative}.tox .tox-selectfield select{appearance:none;background-color:#2b3b4e;border-color:#161f29;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 5.5px;resize:none;width:100%}.tox .tox-selectfield select[disabled]{background-color:#19232e;color:rgba(255,255,255,.85);cursor:not-allowed}.tox .tox-selectfield select::-ms-expand{display:none}.tox .tox-selectfield select:focus{background-color:#2b3b4e;border-color:#006ce7;box-shadow:0 0 0 1px #006ce7;outline:0}.tox .tox-selectfield svg{pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-selectfield select option:checked{background-color:revert;color:revert}.tox:not([dir=rtl]) .tox-selectfield select[size="0"],.tox:not([dir=rtl]) .tox-selectfield select[size="1"]{padding-right:24px}.tox:not([dir=rtl]) .tox-selectfield svg{right:8px}.tox[dir=rtl] .tox-selectfield select[size="0"],.tox[dir=rtl] .tox-selectfield select[size="1"]{padding-left:24px}.tox[dir=rtl] .tox-selectfield svg{left:8px}.tox .tox-textarea-wrap{border-color:#161f29;border-radius:6px;border-style:solid;border-width:1px;display:flex;flex:1;overflow:hidden}.tox .tox-textarea{appearance:textarea;white-space:pre-wrap}.tox .tox-textarea-wrap .tox-textarea{border:none}.tox .tox-textarea-wrap .tox-textarea:focus{border:none}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}.tox .tox-help__more-link{list-style:none;margin-top:1em}.tox .tox-imagepreview{background-color:#666;height:380px;overflow:hidden;position:relative;width:100%}.tox .tox-imagepreview.tox-imagepreview__loaded{overflow:auto}.tox .tox-imagepreview__container{display:flex;left:100vw;position:absolute;top:100vw}.tox .tox-imagepreview__image{background:url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==)}.tox .tox-image-tools .tox-spacer{flex:1}.tox .tox-image-tools .tox-bar{align-items:center;display:flex;height:60px;justify-content:center}.tox .tox-image-tools .tox-imagepreview,.tox .tox-image-tools .tox-imagepreview+.tox-bar{margin-top:8px}.tox .tox-image-tools .tox-croprect-block{background:#000;opacity:.5;position:absolute;zoom:1}.tox .tox-image-tools .tox-croprect-handle{border:2px solid #fff;height:20px;left:0;position:absolute;top:0;width:20px}.tox .tox-image-tools .tox-croprect-handle-move{border:0;cursor:move;position:absolute}.tox .tox-image-tools .tox-croprect-handle-nw{border-width:2px 0 0 2px;cursor:nw-resize;left:100px;margin:-2px 0 0 -2px;top:100px}.tox .tox-image-tools .tox-croprect-handle-ne{border-width:2px 2px 0 0;cursor:ne-resize;left:200px;margin:-2px 0 0 -20px;top:100px}.tox .tox-image-tools .tox-croprect-handle-sw{border-width:0 0 2px 2px;cursor:sw-resize;left:100px;margin:-20px 2px 0 -2px;top:200px}.tox .tox-image-tools .tox-croprect-handle-se{border-width:0 2px 2px 0;cursor:se-resize;left:200px;margin:-20px 0 0 -20px;top:200px}.tox .tox-image-selector-loading-spinner-wrapper{display:flex;justify-content:center;align-items:center}.tox .tox-image-selector-loading-spinner{position:absolute;width:min(24px,30%);aspect-ratio:1/1;border-radius:50%;border:3px solid #006ce7;border-bottom-color:transparent;animation:tox-rotation 1s linear infinite}.tox .tox-toolbar .tox-image-selector,.tox .tox-toolbar__overflow .tox-image-selector,.tox .tox-toolbar__primary .tox-image-selector{margin:5px 0 6px 11px}.tox .tox-image-selector-menu{border:0;border-radius:3px;margin:-4px -4px;padding:4px}.tox .tox-image-selector-menu .tox-collection--list .tox-collection__group{border:0;padding:0;margin:-4px -4px}.tox .tox-image-selector-menu .tox-collection__item{max-width:48px}.tox .tox-image-selector-menu .tox-collection__item-icon{border:1px solid #161f29;border-radius:3px;margin-bottom:4px;width:100%}.tox .tox-image-selector-menu .tox-collection__item-icon svg path{stroke:#c00}.tox .tox-image-selector__row{display:flex}.tox .tox-image-selector--remove{align-items:center;display:flex;justify-content:center}.tox .tox-image-selector--remove svg path{stroke:#c00}.tox .tox-image-selector-image-wrapper{width:46px;height:46px;display:flex;align-items:center;justify-content:center}.tox .tox-image-selector-image-img{max-width:100%;max-height:100%}.tox .tox-image-selector__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-image-selector__picker-btn svg{fill:#fff;height:24px;width:24px}.tox .tox-image-selector__picker-btn:hover{background:#2f4055}.tox .tox-context-toolbar{position:absolute;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;z-index:1150;background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color,#fff);border:1px solid #364a62;border-radius:6px;box-shadow:0 2px 8px rgba(0,0,0,.08);padding:8px}.tox .tox-context-toolbar[popover]{inset:auto;margin:0}.tox .tox-context-toolbar .tox-toolbar{display:flex;flex-wrap:nowrap;gap:8px}.tox .tox-context-toolbar .tox-toolbar__group{display:flex;flex-wrap:nowrap;flex-shrink:0;gap:8px;align-items:center;padding:0}.tox .tox-insert-table-picker{background-color:#222f3e;display:flex;flex-wrap:wrap;width:170px}.tox .tox-insert-table-picker>div{border-color:rgba(255,255,255,.15);border-style:solid;border-width:0 1px 1px 0;box-sizing:border-box;height:17px;width:17px}.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker{margin:-4px -4px}.tox .tox-insert-table-picker .tox-insert-table-picker__selected{background-color:#006ce7;border-color:rgba(255,255,255,.15)}@media (forced-colors:active){.tox .tox-insert-table-picker .tox-insert-table-picker__selected{border-color:Highlight;filter:contrast(50%)}}.tox .tox-insert-table-picker__label{color:#fff;display:block;font-size:14px;padding:4px;text-align:center;width:100%}.tox:not([dir=rtl]) .tox-insert-table-picker>div:nth-child(10n){border-right:0}.tox[dir=rtl] .tox-insert-table-picker>div:nth-child(10n+1){border-right:0}.tox-mentions__card-common{z-index:1200}.tox.tox-mentions__card{background:#222f3e;border:1px solid #161f29;display:flex;padding:4px 8px}.tox.tox-mentions__card .tox-mentions__container{display:flex;flex-direction:column;align-self:center;margin:0 4px}.tox .tox-mentions__avatar{width:42px;height:42px;border-radius:50%;margin-right:4px}.tox .tox-mentions__username{font-size:14px;line-height:21px;color:#fff}.tox .tox-mentions__description{font-size:12px;line-height:21px;color:rgba(255,255,255,.5)}.tox .tox-collection__item--active .tox-mentions__description,.tox .tox-collection__item--active .tox-mentions__username{color:inherit}.tox .tox-menu{background-color:#2b3b4e;border:1px solid rgba(255,255,255,.15);border-radius:6px;box-shadow:none;display:inline-block;overflow:hidden;vertical-align:top;z-index:1150}.tox .tox-menu.tox-collection.tox-collection--list{padding:0 4px}.tox .tox-menu.tox-collection.tox-collection--toolbar{padding:8px}.tox .tox-menu.tox-collection.tox-collection--grid{padding:8px}@media only screen and (min-width:768px){.tox .tox-menu .tox-collection__item-label{overflow-wrap:break-word;word-break:normal}.tox .tox-dialog__popups .tox-menu .tox-collection__item-label{word-break:break-all}}.tox .tox-menu__label blockquote,.tox .tox-menu__label code,.tox .tox-menu__label h1,.tox .tox-menu__label h2,.tox .tox-menu__label h3,.tox .tox-menu__label h4,.tox .tox-menu__label h5,.tox .tox-menu__label h6,.tox .tox-menu__label p{margin:0}.tox .tox-menubar{background:repeating-linear-gradient(transparent 0 1px,transparent 1px 39px) center top 39px/100% calc(100% - 39px) no-repeat;background-color:#222f3e;display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;grid-column:1/-1;grid-row:1;padding:0 11px 0 12px}.tox .tox-promotion+.tox-menubar{grid-column:1}@media (max-width:480px){.tox:not(.tox-tinymce-inline) .tox-menubar{flex-wrap:nowrap;min-width:0;min-height:39px;overflow-x:auto;overflow-y:hidden}}.tox .tox-promotion{background:repeating-linear-gradient(transparent 0 1px,transparent 1px 39px) center top 39px/100% calc(100% - 39px) no-repeat;background-color:#222f3e;grid-column:2;grid-row:1;padding-inline-end:8px;padding-inline-start:4px;padding-top:5px}.tox .tox-promotion-link{align-items:unsafe center;background-color:#e8f1f8;border-radius:5px;color:#086be6;cursor:pointer;display:flex;font-size:14px;height:26.6px;padding:4px 8px;white-space:nowrap}.tox .tox-promotion-link:hover{background-color:#b4d7ff}.tox .tox-promotion-link:focus{background-color:#d9edf7}.tox .tox-mbtn{align-items:center;background:#222f3e;border:0;border-radius:3px;box-shadow:none;color:#fff;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;justify-content:center;margin:5px 1px 6px 0;outline:0;padding:0 4px;text-transform:none;width:auto}.tox .tox-mbtn[disabled]{background-color:#222f3e;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-mbtn:focus:not(:disabled){background:#222f3e;border:0;box-shadow:none;color:#fff;position:relative;z-index:1}.tox .tox-mbtn:focus:not(:disabled)::after{pointer-events:none;border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-mbtn:focus:not(:disabled)::after{border:2px solid highlight}}.tox .tox-mbtn--active,.tox .tox-mbtn:not(:disabled).tox-mbtn--active:focus{background:#599fef;border:0;box-shadow:none;color:#fff}.tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active){background:#2f4055;border:0;box-shadow:none;color:#fff}.tox .tox-mbtn__select-label{cursor:default;font-weight:400;margin:0 4px}.tox .tox-mbtn[disabled] .tox-mbtn__select-label{cursor:not-allowed}.tox .tox-mbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px;display:none}.tox .tox-notification{border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;display:grid;font-size:14px;font-weight:400;grid-template-columns:minmax(40px,1fr) auto minmax(40px,1fr);margin-left:auto;margin-right:auto;margin-top:4px;opacity:0;padding:4px;transition:transform .1s ease-in,opacity 150ms ease-in;width:max-content}.tox .tox-notification a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification p{font-size:14px;font-weight:400}.tox .tox-notification:focus{border-color:#006ce7;box-shadow:0 0 0 1px #006ce7}.tox .tox-notification--in{opacity:1}.tox .tox-notification--success{background-color:#334840;border-color:#3c5440;color:#fff}.tox .tox-notification--success p{color:#fff}.tox .tox-notification--success a{color:#b5d199}.tox .tox-notification--success a:focus,.tox .tox-notification--success a:hover{color:#82b153;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--success a:focus-visible{border-radius:1px;outline:2px solid #b5d199;outline-offset:2px}.tox .tox-notification--success a:active{color:#689041;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--success svg{fill:#fff}.tox .tox-notification--error{background-color:#442632;border-color:#55212b;color:#fff}.tox .tox-notification--error p{color:#fff}.tox .tox-notification--error a{color:#e68080}.tox .tox-notification--error a:focus,.tox .tox-notification--error a:hover{color:#d42b2b;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--error a:focus-visible{border-radius:1px;outline:2px solid #e68080;outline-offset:2px}.tox .tox-notification--error a:active{color:#a22;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--error svg{fill:#fff}.tox .tox-notification--warn,.tox .tox-notification--warning{background-color:#222f3e;border-color:rgba(255,255,255,.15);color:#fff0b3}.tox .tox-notification--warn p,.tox .tox-notification--warning p{color:#fff0b3}.tox .tox-notification--warn a,.tox .tox-notification--warning a{color:#fc0}.tox .tox-notification--warn a:focus,.tox .tox-notification--warn a:hover,.tox .tox-notification--warning a:focus,.tox .tox-notification--warning a:hover{color:#997a00;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--warn a:focus-visible,.tox .tox-notification--warning a:focus-visible{border-radius:1px;outline:2px solid #ffcc00;outline-offset:2px}.tox .tox-notification--warn a:active,.tox .tox-notification--warning a:active{color:#665200;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--warn svg,.tox .tox-notification--warning svg{fill:#fff0b3}.tox .tox-notification--info{background-color:#254161;border-color:#264972;color:#fff}.tox .tox-notification--info p{color:#fff}.tox .tox-notification--info a{color:#83b7f3}.tox .tox-notification--info a:focus,.tox .tox-notification--info a:hover{color:#2681ea;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--info a:focus-visible{border-radius:1px;outline:2px solid #83b7f3;outline-offset:2px}.tox .tox-notification--info a:active{color:#1368c9;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--info svg{fill:#fff}.tox .tox-notification__body{align-self:center;color:#fff;font-size:14px;grid-column-end:3;grid-column-start:2;grid-row-end:2;grid-row-start:1;text-align:center;white-space:normal;word-break:break-all;word-break:break-word}.tox .tox-notification__body>*{margin:0}.tox .tox-notification__body>*+*{margin-top:1rem}.tox .tox-notification__icon{align-self:center;grid-column-end:2;grid-column-start:1;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification__icon svg{display:block}.tox .tox-notification__dismiss{align-self:start;grid-column-end:4;grid-column-start:3;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification .tox-progress-bar{grid-column-end:4;grid-column-start:1;grid-row-end:3;grid-row-start:2;justify-self:center}.tox .tox-notification-container-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-notification-container-dock-fadein{opacity:1;visibility:visible}.tox .tox-notification-container-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-notification-container-dock-transition.tox-notification-container-dock-fadein{transition-delay:0s}.tox .tox-onboarding-overlay{height:100%;background-color:#17202a;position:absolute;top:0;left:0;right:0;z-index:1302;overflow:auto;display:grid;justify-content:center;align-items:center}.tox .tox-onboarding-dialog{max-width:512px;background-color:#222f3e;display:flex;flex-direction:column;box-shadow:0 16px 16px -10px rgba(34,47,62,.15),0 0 40px 1px rgba(34,47,62,.15);border-radius:12px;margin:8px}.tox .tox-onboarding-dialog .tox-onboarding-header{color:#fff;display:flex;justify-content:center;align-items:center;font-size:20px;margin:24px 0 8px}.tox .tox-onboarding-dialog .tox-onboarding-step{display:grid;grid-template-columns:min-content 1fr min-content;align-items:center;margin:0 24px}.tox .tox-onboarding-dialog .tox-onboarding-step:not(:last-child){border-bottom:1px solid rgba(255,255,255,.15)}.tox .tox-onboarding-dialog .tox-onboarding-step--number{width:24px;aspect-ratio:1/1;border-radius:50%;border:1px solid #00ad0e;display:flex;justify-content:center;align-items:center;font-size:12px;font-weight:700;color:#00ad0e}.tox .tox-onboarding-dialog .tox-onboarding-step--body{padding:24px 0 24px 16px}.tox .tox-onboarding-dialog .tox-onboarding-step--body-header{color:#fff;font-size:14px;font-weight:700;margin-bottom:4px}.tox .tox-onboarding-dialog .tox-onboarding-step--body-details{color:rgba(255,255,255,.5);font-size:14px}.tox .tox-onboarding-dialog .tox-onboarding-step--action{padding-left:24px}.tox .tox-onboarding-dialog .tox-onboarding-footer{background-color:#2b3b4e;display:flex;justify-content:space-between;align-items:center;padding:16px 24px;border-bottom-left-radius:12px;border-bottom-right-radius:12px}.tox .tox-onboarding-dialog .tox-onboarding-footer p{display:flex;align-items:center;justify-content:center;gap:4px;font-size:14px;color:rgba(255,255,255,.5)}.tox .tox-onboarding-dialog svg{width:24px;fill:rgba(255,255,255,0.5)}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin{display:grid;align-items:center;grid-template-columns:min-content 1fr min-content;border-bottom:1px solid rgba(255,255,255,.15);padding:24px 0;margin:0 16px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body{margin:0 16px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body .tox-promotion-dialog-plugin-header{color:#fff;font-size:14px;font-weight:700;margin-bottom:4px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body .tox-promotion-dialog-plugin-details{color:rgba(255,255,255,.5);font-size:14px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--icon{display:grid;place-content:center;width:56px;height:56px;line-height:24px;font-size:24px;border-radius:12px;background:linear-gradient(180deg,#2b3b4e 24%,#202d3b 100%);box-shadow:0 1px 1px 0 #222f3e12,0 3px 6px 0 #222f3e06;color:#006ce7}.tox .tox-promotion-dialog--subtitle{margin:16px;color:rgba(255,255,255,.5);font-size:14px}.tox .tox-promotion-dialog--explore{text-align:center;margin:16px;color:rgba(255,255,255,.5);font-size:14px}.tox .tox-promotion-dialog--explore a{color:#006ce7}.tox .tox-promotion-dialog--footer{background-color:#17202a;color:rgba(255,255,255,.5);font-size:12px;text-align:center;padding:16px}.tox .tox-promotion-button{display:flex;align-items:center;height:26.6px;line-height:26.6px;font-size:14px;font-weight:700;background-color:#55367a;color:#c290fb;padding:8px 16px;cursor:pointer;white-space:nowrap;border-radius:5px}.tox .tox-promotion-button:focus{outline:1px solid #C290FB}.tox .tox-onboarding-dialog a,.tox .tox-promotion-dialog--footer a{color:rgba(255,255,255,.5);cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-onboarding-dialog a:focus,.tox .tox-onboarding-dialog a:hover,.tox .tox-promotion-dialog--footer a:focus,.tox .tox-promotion-dialog--footer a:hover{color:#cde5ff;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-onboarding-dialog a:focus-visible,.tox .tox-promotion-dialog--footer a:focus-visible{border-radius:1px;outline:2px solid #67aeff;outline-offset:2px}.tox .tox-onboarding-dialog a:active,.tox .tox-promotion-dialog--footer a:active{color:#fff;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-pop{display:inline-block;position:relative}.tox .tox-pop--resizing{transition:width .1s ease}.tox .tox-pop--resizing .tox-toolbar,.tox .tox-pop--resizing .tox-toolbar__group{flex-wrap:nowrap}.tox .tox-pop--transition{transition:.15s ease;transition-property:left,right,top,bottom}.tox .tox-pop--transition::after,.tox .tox-pop--transition::before{transition:all .15s,visibility 0s,opacity 75ms ease 75ms}.tox .tox-pop__dialog{background-color:#222f3e;border:1px solid #161f29;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);min-width:0;overflow:hidden}.tox .tox-pop__dialog>:not(.tox-toolbar){margin:4px 4px 4px 8px}.tox .tox-pop__dialog .tox-toolbar{background-color:transparent;margin-bottom:-1px}.tox .tox-pop::after,.tox .tox-pop::before{border-style:solid;content:'';display:block;height:0;opacity:1;position:absolute;width:0}@media (forced-colors:active){.tox .tox-pop::after,.tox .tox-pop::before{content:none}}.tox .tox-pop.tox-pop--inset::after,.tox .tox-pop.tox-pop--inset::before{opacity:0;transition:all 0s .15s,visibility 0s,opacity 75ms ease}.tox .tox-pop.tox-pop--bottom::after,.tox .tox-pop.tox-pop--bottom::before{left:50%;top:100%}.tox .tox-pop.tox-pop--bottom::after{border-color:#222f3e transparent transparent transparent;border-width:8px;margin-left:-8px;margin-top:-1px}.tox .tox-pop.tox-pop--bottom::before{border-color:#161f29 transparent transparent transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--top::after,.tox .tox-pop.tox-pop--top::before{left:50%;top:0;transform:translateY(-100%)}.tox .tox-pop.tox-pop--top::after{border-color:transparent transparent #222f3e transparent;border-width:8px;margin-left:-8px;margin-top:1px}.tox .tox-pop.tox-pop--top::before{border-color:transparent transparent #161f29 transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--left::after,.tox .tox-pop.tox-pop--left::before{left:0;top:calc(50% - 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--left::after{border-color:transparent #222f3e transparent transparent;border-width:8px;margin-left:-15px}.tox .tox-pop.tox-pop--left::before{border-color:transparent #161f29 transparent transparent;border-width:10px;margin-left:-19px}.tox .tox-pop.tox-pop--right::after,.tox .tox-pop.tox-pop--right::before{left:100%;top:calc(50% + 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--right::after{border-color:transparent transparent transparent #222f3e;border-width:8px;margin-left:-1px}.tox .tox-pop.tox-pop--right::before{border-color:transparent transparent transparent #161f29;border-width:10px;margin-left:-1px}.tox .tox-pop.tox-pop--align-left::after,.tox .tox-pop.tox-pop--align-left::before{left:20px}.tox .tox-pop.tox-pop--align-right::after,.tox .tox-pop.tox-pop--align-right::before{left:calc(100% - 20px)}.tox.tox-edit-focus .tox-sidebar__resize-handle:hover::before{border-left:0 solid transparent}.tox .tox-sidebar-wrap{--tox-private-min-editing-area-width:280px;flex-grow:1;min-height:0}.tox .tox-sidebar-wrap:not(.tox .tox-sidebar-wrap--resizable){display:flex;flex-direction:row}.tox .tox-sidebar-wrap--resizable{display:grid;grid-template-columns:minmax(var(--tox-private-min-editing-area-width),1fr) minmax(0,max-content);grid-template-rows:minmax(0,1fr)}.tox .tox-sidebar{background-color:var(--tox-private-sidebar-background-color,#34485f);display:flex;flex-direction:row;justify-content:flex-end}.tox .tox-sidebar__slider{display:flex;overflow:hidden}.tox .tox-sidebar-wrap--resizable .tox-sidebar__pane-container{width:var(--tox-private-requested-sidebar-width)}.tox .tox-sidebar-wrap--resizable .tox-sidebar--sliding-growing .tox-sidebar__pane-container,.tox .tox-sidebar-wrap--resizable .tox-sidebar--sliding-shrinking .tox-sidebar__pane-container{width:var(--tox-private-resolved-sidebar-width);min-width:var(--tox-private-resolved-sidebar-width)}.tox .tox-sidebar__pane-container{display:flex}.tox .tox-sidebar-wrap--resizable .tox-sidebar__resize-handle{display:block}.tox .tox-sidebar__resize-handle{display:none;position:relative;width:var(--tox-private-sidebar-resize-handle-width,1px);height:100%;cursor:col-resize;background-color:var(--tox-private-separator-color,rgba(255,255,255,.15));z-index:1}.tox .tox-sidebar__resize-handle::before{content:'';position:absolute;top:0;bottom:0;width:8px;box-sizing:border-box;border-left:0 solid transparent;transition:border-left-width .15s ease,border-left-color .15s ease}.tox .tox-sidebar__resize-handle:hover::before{border-left:3px solid #006ce7}.tox .tox-sidebar-wrap--resizable .tox-sidebar__pane{width:calc(100% - var(--tox-private-sidebar-resize-handle-width,1px))}.tox .tox-sidebar__pane{display:flex}.tox .tox-sidebar--sliding-closed{opacity:0}.tox .tox-sidebar--sliding-open{opacity:1}.tox .tox-sidebar--sliding-growing,.tox .tox-sidebar--sliding-shrinking{transition:width .5s ease,opacity .5s ease}.tox .tox-sidebar-content{display:flex;flex-direction:column;position:relative;width:100%;height:100%}.tox .tox-sidebar-content__header{align-items:center;display:flex;justify-content:space-between;border-bottom:var(--tox-private-tinymceai-border-width,1px) solid var(--tox-private-neutral-20,#0e141a);padding:var(--tox-private-pad-sm,8px) 12px;background:var(--tox-private-background-color,#222f3e)}.tox .tox-sidebar-content__header .tox-sidebar-content__header-close-button{margin-left:auto}.tox .tox-sidebar-content__actions{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-sidebar-content__title{font-size:var(--tox-private-font-size-lg, 20px);font-weight:var(--tox-private-font-weight-normal,normal);padding:var(--tox-private-pad-sm,8px) 0 var(--tox-private-pad-sm,8px) 0;color:var(--tox-private-text-color,#fff);line-height:28px}.tox .tox-floating-sidebar{--tox-private-floating-sidebar-width:min(380px, 90vw);--tox-private-floating-sidebar-height:80vh;position:fixed;z-index:var(--tox-private-z-index-floatingsidebar,1050);box-shadow:var(--tox-private-floating-sidebar-box-shadow,0 0 40px 1px rgba(34,47,62,.15),0 16px 16px -10px rgba(34,47,62,.15),0 0 0 1px rgba(34,47,62,.15));width:var(--tox-private-floating-sidebar-width);height:var(--tox-private-floating-sidebar-height);background-color:var(--tox-private-floating-sidebar-background-color,#34485f);border-radius:var(--tox-private-panel-border-radius,6px);overflow:hidden}.tox .tox-floating-sidebar:not(.tox .tox-floating-sidebar--open){display:none}.tox .tox-floating-sidebar--open{display:block}.tox .tox-floating-sidebar__content-wrapper{width:100%;height:100%;display:flex;flex-direction:column}.tox .tox-floating-sidebar__header{position:relative}.tox .tox-floating-sidebar .tox-ai__scroll:has(.tox-card-list){background-color:inherit}.tox .tox-ai .tox-expandable-box{margin-bottom:calc(var(--tox-private-pad-md,16px) * .75)}.tox .tox-ai .tox-expandable-box .tox-expandable-box__content{margin:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-md,16px) * .75)}.tox .tox-ai .tox-expandable-box>.tox-button{margin:0 calc(var(--tox-private-pad-md,16px) * .75) var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-expandable-box:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#006ce7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-sidebar-content__header{border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-background-color,#222f3e);padding:calc(var(--tox-private-pad-sm,8px) - var(--tox-private-tinymceai-focus-border-width,2px)) calc(12px - var(--tox-private-tinymceai-focus-border-width,2px));border-bottom:1px solid var(--tox-private-separator-color,rgba(255,255,255,.15))}.tox .tox-ai .tox-sidebar-content__header:focus-visible:not(:disabled){border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#006ce7);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-sidebar-content__loader{align-items:center;display:flex;height:100%;justify-content:center;width:100%;z-index:1000}.tox .tox-ai .tox-sidebar-content__title{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin-right:auto}.tox .tox-ai .tox-sidebar-content__title:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#006ce7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-sidebar-content__actions .tox-ai__complete-review{display:flex;align-items:center;gap:6px;padding-top:var(--tox-private-pad-xs,4px);padding-bottom:var(--tox-private-pad-xs,4px);padding-left:var(--tox-private-pad-md,16px);padding-right:var(--tox-private-pad-md,16px)}.tox .tox-ai .tox-menu{width:-webkit-fill-available;width:-moz-available;width:stretch;overflow:visible}.tox .tox-ai .tox-ai__user-prompt{display:flex;flex-direction:column;margin-left:auto;gap:inherit;width:100%}.tox .tox-ai .tox-ai__user-prompt__context{margin-left:auto;display:flex;flex-direction:column;gap:inherit;align-items:end;width:100%}.tox .tox-ai .tox-ai__user-prompt__context .tox-tag{max-width:100%}.tox .tox-ai .tox-ai__user-prompt__text{background-color:var(--tox-private-background-secondary,#2f4055);padding:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-md,16px) * .75);border-radius:var(--tox-private-control-border-radius,6px);max-width:80%;align-self:flex-end;color:var(--tox-private-text-color,#fff);white-space:pre-wrap}.tox .tox-ai .tox-ai__user-prompt__text:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#006ce7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-ai__scroll{overflow-y:auto;overflow-x:hidden;background-color:var(--tox-private-background-color,#222f3e);display:flex;padding:12px;flex-direction:column;align-items:flex-start;gap:12px;flex:1 0 0;align-self:stretch}.tox .tox-ai .tox-ai__scroll:focus-visible:not(:disabled){outline:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#006ce7);outline-offset:calc(-1 * var(--tox-private-tinymceai-focus-border-width,2px));border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-ai__scroll--review:not(:has(.tox-sidebar-content__message-text)){background-color:var(--tox-private-background-secondary,#2f4055)}.tox .tox-ai .tox-ai__spinner svg{fill:var(--tox-private-color-tint,#006ce7)}.tox .tox-ai .tox-ai__response{width:100%;min-width:100%;max-width:100%}.tox .tox-ai .tox-ai__response__header{display:flex;align-items:center;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response__header .tox-icon svg{fill:var(--tox-private-color-tint,#006ce7)}.tox .tox-ai .tox-ai__response-status{display:flex;color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));font-size:var(--tox-private-font-size-sm, 14px);gap:var(--tox-private-pad-xs,4px);line-height:var(--tox-private-tinymceai-response-status-icon-height, max(24px, calc(14px + 4px)));padding-top:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response-status svg{fill:var(--tox-private-text-color-muted,rgba(255,255,255,0.5))}.tox .tox-ai .tox-ai__response-status-icon{border-radius:999px;border:1px solid var(--tox-private-neutral-20,#0e141a);background-color:var(--tox-private-background-color,#222f3e);height:var(--tox-private-tinymceai-response-status-icon-height,max(24px,calc(14px + 4px)));flex:0 0 24px;display:flex;align-items:center;justify-content:center}.tox .tox-ai .tox-ai__response-status-icon .tox-icon{display:contents}.tox .tox-ai .tox-ai__response-status-icon+.tox-ai__response-status-icon{margin-left:calc((var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px)) * -1)}.tox .tox-ai .tox-ai__icon{display:flex;align-items:center;justify-content:center}.tox .tox-ai .tox-ai__response-sources{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response-sources-header{display:block}.tox .tox-ai .tox-ai__response-sources-list{display:flex;align-items:center;gap:var(--tox-private-pad-sm,8px);align-self:stretch;flex-wrap:wrap}.tox .tox-ai .tox-ai__response-sources-list .tox-tag{border:1px solid var(--tox-private-separator-color,rgba(255,255,255,.15));background-color:transparent;max-width:32%;max-height:24px;cursor:pointer}.tox .tox-ai .tox-ai__response-sources-list .tox-tag img,.tox .tox-ai .tox-ai__response-sources-list .tox-tag svg{width:16px;height:16px;min-width:16px;min-height:16px;max-width:16px;max-height:16px}.tox .tox-ai .tox-ai__response-content{padding:var(--tox-private-pad-sm,8px) 0;color:var(--tox-private-text-color,#fff);font-feature-settings:'liga' off,'clig' off;font-size:var(--tox-private-font-size-sm, 14px);font-style:normal;font-weight:var(--tox-private-font-weight-normal,normal);line-height:var(--tox-private-line-height, 18px);display:flex;flex-direction:column}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming{position:relative}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming .tox-ai__response-status{color:var(--tox-private-text-color,#fff);font-size:var(--tox-private-font-size-md, 16px);line-height:calc(var(--tox-private-font-size-md, 16px) + 4px)}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming::after{content:'';position:absolute;bottom:0;left:0;right:0;height:min(100px,100%);pointer-events:none;background:linear-gradient(to bottom,transparent 60px,transparent 60px,var(--tox-private-background-color,#222f3e))}.tox .tox-ai .tox-ai-error{border-radius:var(--tox-private-panel-border-radius,6px);border:1px solid var(--tox-private-color-error,#c00);background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#222f3e) r g b / .9) 0,rgba(from var(--tox-private-background-color,#222f3e) r g b / .9) 100%),var(--tox-private-color-error,#c00);padding:var(--tox-private-pad-sm,8px);width:100%;display:flex;gap:var(--tox-private-pad-sm,8px);align-items:center}.tox .tox-ai .tox-ai-error__message{flex:1 0 0}.tox .tox-ai .tox-ai-error__icon{flex:0 0 auto;align-self:flex-start}.tox .tox-ai .tox-ai__footer{padding:calc(12px - var(--tox-private-tinymceai-focus-border-width,2px));gap:var(--tox-private-pad-sm,8px);background-color:var(--tox-private-background-color,#222f3e);display:flex;flex-direction:column;border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-background-color,#222f3e);border-top:1px solid var(--tox-private-separator-color,rgba(255,255,255,.15))}.tox .tox-ai .tox-ai__footer:focus-visible:not(:disabled){border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#006ce7);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-ai__context{display:flex;gap:var(--tox-private-pad-sm,8px);flex-wrap:wrap;max-height:calc((2 * (2 * var(--tox-private-pad-xs,4px) + var(--tox-private-base-value,16px))) + var(--tox-private-pad-sm,8px))}.tox .tox-ai .tox-ai__context .tox-tag{max-width:calc((100% - var(--tox-private-pad-sm,8px))/ 2)}.tox .tox-ai .tox-ai__context-more{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px);padding:var(--tox-private-pad-sm,8px);overflow:auto;max-width:var(--tox-private-tinymceai-context-more-max-width,320px)}.tox .tox-ai .tox-ai__context-more .tox-tag{max-width:100%}.tox .tox-ai .tox-ai__stop-generating{display:flex;align-items:center;gap:6px}.tox .tox-ai .tox-ai__footer-actions{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-model-selection-button{display:flex;gap:var(--tox-private-pad-xs,4px)}.tox .tox-ai .tox-ai__footer-note{align-items:center;color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));display:flex;font-size:var(--tox-private-font-size-xs, 12px);height:24px;justify-content:center;letter-spacing:0;padding-top:var(--tox-private-pad-sm,8px);width:100%}.tox .tox-ai .tox-ai__models-menu{max-width:350px}.tox .tox-ai .tox-ai__models-menu .tox-menu{max-height:inherit;padding:var(--tox-private-pad-xs,4px)}.tox .tox-ai .tox-ai__models-menu__item__description{display:flex;flex-direction:column;align-items:start}.tox .tox-ai .tox-ai__models-menu__item__description__title{font-weight:var(--tox-private-font-weight-bold,bold);font-size:var(--tox-private-font-size-sm, 14px);line-height:calc(var(--tox-private-font-size-sm, 14px) * 1.28572);padding-bottom:4px}.tox .tox-ai .tox-ai__models-menu__item__description__content{color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));font-size:var(--tox-private-font-size-xs, 12px);line-height:calc(var(--tox-private-font-size-xs, 12px) * 1.33333)}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content{color:inherit}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content .tox-ai__models-menu__item__description__ability{color:var(--tox-private-color-white,#fff)}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content .tox-ai__models-menu__item__description__content_body{color:rgba(from var(--tox-private-color-white,#fff) r g b / .7)}.tox .tox-ai .tox-ai__models-menu__item__description__ability{color:var(--tox-private-text-color,#fff);padding-bottom:4px}.tox .tox-ai .tox-ai__models-menu__item__description__ability__enabled{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-ai .tox-ai-chat-history-list{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px);padding-top:var(--tox-private-pad-xs,4px);width:100%}.tox .tox-ai .tox-ai-chat-history-list .tox-collection__group{gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-chat-history-list__title{color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:18px;letter-spacing:1px}.tox .tox-ai .tox-ai-chat-history-list__item{display:flex;padding:12px;gap:var(--tox-private-pad-sm,8px);border-radius:var(--tox-private-control-border-radius,6px);cursor:pointer}.tox .tox-ai .tox-ai-chat-history-list__item.tox-ai-chat-history-list__item--active{background-color:var(--tox-private-background-secondary,#2f4055)}.tox .tox-ai .tox-ai-chat-history-list__item:focus,.tox .tox-ai .tox-ai-chat-history-list__item:focus-visible{background-color:var(--tox-private-background-secondary,#2f4055)}.tox .tox-ai .tox-ai-chat-history-list__item.tox-ai-chat-history-list__item-edit-title{background-color:var(--tox-private-background-secondary,#2f4055);flex-direction:column}.tox .tox-ai .tox-ai-chat-history-list__item-edit-actions{display:flex;justify-content:flex-end;width:100%;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-chat-history-list__item-edit-actions .tox-ai__spinner svg{fill:rgba(from var(--tox-private-color-white,#fff) r g b / 0.5)}.tox .tox-ai .tox-ai-chat-history-list__item-content{display:flex;flex-direction:column;margin-right:auto;overflow:hidden}.tox .tox-ai .tox-ai-chat-history-list__item-actions{display:flex;align-items:center;min-width:calc(24px + (var(--tox-private-pad-xs,4px) + 1px)*2)}.tox .tox-ai .tox-ai-chat-history-list__item-content-title{color:var(--tox-private-text-color,#fff);font-size:var(--tox-private-font-size-base, 16px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:var(--tox-private-font-size-lg, 20px);overflow:hidden;text-overflow:ellipsis}.tox .tox-ai .tox-ai-chat-history-list__item-content-date{color:var(--tox-private-text-color,#fff);font-size:var(--tox-private-font-size-xs, 12px);line-height:var(--tox-private-line-height-base, 1.3)}.tox .tox-ai .tox-sidebar-content__message{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;gap:var(--tox-private-pad-md,16px);width:100%}.tox .tox-ai .tox-sidebar-content__message-text{text-align:center;color:var(--tox-private-text-color,#fff);font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:20px}.tox .tox-ai .tox-sidebar-content__message-action{display:flex;justify-content:center;align-items:center;align-self:stretch}.tox .tox-ai .tox-ai-chat-action-button{line-height:var(--tox-private-base-value, 16px);font-size:var(--tox-private-font-size-xs, 12px);padding:6px var(--tox-private-pad-sm,8px);margin:var(--tox-private-pad-xs,4px) 0;font-weight:var(--tox-private-font-weight-normal,normal);width:min-content}.tox .tox-ai .tox-ai-chat-action-button .tox-icon{display:inline-flex;align-items:center;justify-content:center;height:16px;width:16px;overflow:hidden}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg{display:block;flex:none;fill:var(--tox-private-tinymceai-chat-action-button-icon-color,#fff)}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='24'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='24px']{transform:scale(calc(16 / 24))}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='20'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='20px']{transform:scale(calc(16 / 20))}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='18'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='18px']{transform:scale(calc(16 / 18))}.tox .tox-ai .tox-ai-chat-action-button:not(:has(+ .tox-ai-chat-action-button)){margin-bottom:var(--tox-private-pad-sm,8px)}.tox .tox-ai-removed-content{font-style:italic;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));line-height:var(--tox-private-line-height-base, 1.3);margin:0 1em}.tox .tox-ai-removed-content::before{content:"⊘ ";font-style:normal;font-size:calc(var(--tox-private-line-height-base, 1.3) * 1em)}.tox .tox-ai-html-content{font-size:var(--tox-private-font-size-md, 16px);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color,#fff);line-height:var(--tox-private-line-height-base, 1.3);overflow-x:auto}.tox .tox-ai-html-content:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#006ce7);outline-offset:var(--tox-private-tinymceai-html-content-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai-html-content h1{font-size:1.6em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.67em 0}.tox .tox-ai-html-content h2{font-size:1.4em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.83em 0}.tox .tox-ai-html-content h3{font-size:1.2em;font-weight:var(--tox-private-font-weight-bold,bold);margin:1em 0}.tox .tox-ai-html-content h4,.tox .tox-ai-html-content h5,.tox .tox-ai-html-content h6{font-size:1em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.33em 0}.tox .tox-ai-html-content p{margin:var(--tox-private-pad-sm,8px) 0}.tox .tox-ai-html-content ol,.tox .tox-ai-html-content ul{padding-left:2em;margin:1em 0}.tox .tox-ai-html-content li:has(input:first-child){list-style-type:none}.tox .tox-ai-html-content a{color:var(--tox-private-color-tint,#006ce7);-webkit-text-decoration:underline;text-decoration:underline;cursor:pointer}.tox .tox-ai-html-content a:link:active,.tox .tox-ai-html-content a:visited:active{color:#8864ad}.tox .tox-ai-html-content blockquote{border-left:2px solid var(--tox-private-separator-color,rgba(255,255,255,.15));margin-left:1.5rem;padding-left:1rem;font-style:italic}.tox .tox-ai-html-content code{font-family:ui-monospace,monospace;background:var(--tox-private-separator-color,rgba(255,255,255,.15));padding:.1em .2em;border-radius:4px}.tox .tox-ai-html-content pre code{display:block;font-family:ui-monospace,monospace;background:var(--tox-private-separator-color,rgba(255,255,255,.15));border-radius:4px;white-space:pre-wrap;margin:1em 0;overflow-wrap:break-word}.tox .tox-ai-html-content hr{border:none;border-top:1px solid var(--tox-private-border-color,#161f29)}.tox .tox-ai-html-content table{width:100%;border-collapse:collapse;margin:.5em 0;font-size:.95em;line-height:1.45}.tox .tox-ai-html-content table:not([cellpadding]) td,.tox .tox-ai-html-content table:not([cellpadding]) th{padding:.4rem}.tox .tox-ai-html-content td,.tox .tox-ai-html-content th{border:1px solid var(--tox-private-border-color,#161f29)}.tox .tox-ai-html-content th{font-weight:var(--tox-private-font-weight-bold,bold);text-align:left;white-space:nowrap}.tox .tox-ai-html-content b,.tox .tox-ai-html-content strong{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-ai-html-content em,.tox .tox-ai-html-content i{font-style:italic}.tox .tox-ai-html-content del{-webkit-text-decoration:line-through;text-decoration:line-through}.tox .tox-ai-html-content sub,.tox .tox-ai-html-content sup{font-size:.75em;line-height:0;vertical-align:baseline}.tox .tox-ai-html-content sup{vertical-align:super}.tox .tox-ai-html-content sub{vertical-align:sub}.tox .tox-ai-html-content mark{background:hsl(from var(--tox-private-color-active,#006ce7) h s l / 30%);padding:.05em .2em;border-radius:2px}.tox .tox-ai-html-content small{font-size:.85em}.tox .tox-ai-html-content kbd{font-family:ui-monospace,monospace;font-size:.85em;padding:.15em .4em;border-radius:4px;border:1px solid var(--tox-private-border-color,#161f29);background:var(--tox-private-separator-color,rgba(255,255,255,.15));box-shadow:inset 0 -1px 0 var(--tox-private-border-color,#161f29)}.tox .tox-ai-html-content img{max-width:100%;height:auto;vertical-align:middle;border-radius:4px}.tox .tox-expandable-box__content .tox-ai-html-content+.tox-ai-html-content::before,.tox .tox-expandable-box__content .tox-ai-html-content:has(+ .tox-ai-removed-content)::after,.tox .tox-expandable-box__content .tox-ai-removed-content+.tox-ai-html-content::before{content:"〰〰";color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));text-align:center;width:100%;display:block}.tox .tox-diff-preview{display:contents}.tox .tox-diff-preview__host{height:100%;position:relative;flex:1 1 0}.tox .tox-diff-preview__host:empty{pointer-events:none}.tox .tox-diff-preview__layer{display:flex;flex-direction:column;inset:0;position:absolute}.tox .tox-diff-preview__layer--loading .tox-diff-preview__frame{pointer-events:none;visibility:hidden}.tox .tox-diff-preview__viewport{flex:1 1 auto;min-height:0;position:relative}.tox .tox-diff-preview__frame{background-color:#fff;border:0;height:100%;min-height:0;position:relative;width:100%}.tox .tox-diff-preview__footer{background-color:var(--tox-private-background-color,#222f3e);border-top:1px solid #364a62;flex:0 0 auto}.tox .tox-diff-preview__toolbar{display:flex;gap:8px;justify-content:flex-end;padding:12px 16px}.tox .tox-ai__preview-overlay{position:absolute;inset:0;width:100%;height:100%;font-size:14px}.tox .tox-ai__preview-overlay--hidden{visibility:hidden}.tox .tox-ai__preview-overlay--pass-through{pointer-events:none}.tox .tox-ai__preview-overlay--dim{background:rgba(34,47,62,.2)}.tox .tox-ai__preview-overlay--centered{display:flex;align-items:center;justify-content:center}.tox .tox-ai__preview-overlay--clipped{overflow:clip}.tox .tox-tinymceai-previewloader{display:flex;align-items:center;gap:var(--tox-private-pad-md,16px);padding:var(--tox-private-pad-sm,8px);border-radius:var(--tox-private-panel-border-radius,6px);box-shadow:var(--tox-private-ai-preview-loader-box-shadow,0 0 40px 1px rgba(34,47,62,.15),0 16px 16px -10px rgba(34,47,62,.15));background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color,#fff);pointer-events:auto}.tox .tox-tinymceai-previewloader__content{display:flex;align-items:center;justify-content:center;padding:0 var(--tox-private-pad-xs,4px);gap:var(--tox-private-pad-sm,8px)}.tox .tox-selector{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;display:inline-block;height:10px;position:absolute;width:10px}.tox.tox-platform-touch .tox-selector{height:12px;width:12px}.tox .tox-skeleton .tox-skeleton__line{height:16px;width:100%;background:linear-gradient(to right,rgba(240,240,240,.5) 8%,rgba(240,240,240,.7) 18%,rgba(240,240,240,.5) 33%);animation:wave 2s infinite ease-out}.tox .tox-skeleton .tox-skeleton__circle{height:36px;width:36px;margin-right:8px;border-radius:100%;background:linear-gradient(to right,rgba(240,240,240,.5) 8%,rgba(240,240,240,.7) 18%,rgba(240,240,240,.5) 33%);animation:wave 2s infinite ease-out}@keyframes wave{0%{background-position:-268px 0}100%{background-position:268px 0}}.tox .tox-slider{align-items:center;display:flex;flex:1;height:24px;justify-content:center;position:relative}.tox .tox-slider__rail{background-color:transparent;border:1px solid #161f29;border-radius:6px;height:10px;min-width:120px;width:100%}.tox .tox-slider__handle{background-color:#006ce7;border:2px solid #0054b4;border-radius:6px;box-shadow:none;height:24px;left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%);width:14px}.tox .tox-form__controls-h-stack>.tox-slider:not(:first-of-type){margin-inline-start:8px}.tox .tox-form__controls-h-stack>.tox-form__group+.tox-slider{margin-inline-start:32px}.tox .tox-form__controls-h-stack>.tox-slider+.tox-form__group{margin-inline-start:32px}.tox .tox-toolbar-slider{align-items:center;display:inline-flex;height:16px}.tox .tox-toolbar-slider__input{appearance:none;background:#161f29;border-radius:16px;width:130px;height:2px}.tox .tox-toolbar-slider__input::-webkit-slider-runnable-track{background-color:transparent;height:16px}.tox .tox-toolbar-slider__input::-moz-range-track{background-color:transparent;height:16px}.tox .tox-toolbar-slider__input::-webkit-slider-thumb{-webkit-appearance:none;background-color:#006ce7;border-radius:16px;border:none;height:16px;width:16px}.tox .tox-toolbar-slider__input::-moz-range-thumb{appearance:none;background-color:#006ce7;border-radius:16px;border:none;height:16px;width:16px}.tox .tox-toolbar-slider__input:focus-visible{outline:0}.tox .tox-toolbar-slider__input:focus::-webkit-slider-thumb{background-color:#0060ce;box-shadow:inset 0 0 0 1px #fff,0 0 0 2px #006ce7}.tox .tox-toolbar-slider__input:focus::-moz-range-thumb{background-color:#0060ce;box-shadow:inset 0 0 0 1px #fff,0 0 0 2px #006ce7}.tox .tox-toolbar-slider__input:hover::-webkit-slider-thumb{background-color:#0060ce}.tox .tox-toolbar-slider__input:hover::-moz-range-thumb{background-color:#0060ce}.tox .tox-toolbar-slider__input:active::-webkit-slider-thumb{background-color:#0054b4}.tox .tox-toolbar-slider__input:active::-moz-range-thumb{background-color:#0054b4}.tox .tox-toolbar-slider__input[disabled]::-webkit-slider-thumb{background-color:rgba(255,255,255,.5)}.tox .tox-toolbar-slider__input[disabled]::-moz-range-thumb{background-color:rgba(255,255,255,.5)}.tox .tox-source-code{overflow:auto}.tox .tox-spinner{display:flex}.tox .tox-spinner>div{animation:tam-bouncing-dots 1.5s ease-in-out 0s infinite both;background-color:rgba(255,255,255,.5);border-radius:100%;height:8px;width:8px}.tox .tox-spinner>div:first-child{animation-delay:-.32s}.tox .tox-spinner>div:nth-child(2){animation-delay:-.16s}@keyframes tam-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox:not([dir=rtl]) .tox-spinner>div:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-spinner>div:not(:first-child){margin-right:4px}.tox .tox-ai__spinner{--tox-private-spinner-color:var(--tox-private-color-tint, #006ce7);--tox-private-spinner-size:24px;--tox-private-spinner-circle-width:3px;--tox-private-spinner-dot-size:6px;width:var(--tox-private-spinner-size);aspect-ratio:1/1}.tox .tox-ai__spinner--small{--tox-private-spinner-size:16px;--tox-private-spinner-circle-width:2px;--tox-private-spinner-dot-size:4px}.tox .tox-ai__spinner--circle{animation:tox-rotation 1s linear infinite;border-radius:50%;background:conic-gradient(var(--tox-private-spinner-color) 0 calc(360deg - 30deg),transparent calc(360deg - 30deg) 100%);mask:radial-gradient(calc((var(--tox-private-spinner-size) - var(--tox-private-spinner-circle-width) * 2)/ 2),#0000 98%,#000)}.tox .tox-ai__spinner--dots{display:flex;align-items:center;justify-content:center;gap:1px}.tox .tox-ai__spinner--dots>div{animation:tox-bouncing-dots 1.5s ease-in-out 0s infinite both;aspect-ratio:1/1;width:var(--tox-private-spinner-dot-size);background-color:var(--tox-private-spinner-color);border-radius:100%}.tox .tox-ai__spinner--dots>div:first-child{animation-delay:-.32s}.tox .tox-ai__spinner--dots>div:nth-child(2){animation-delay:-.16s}.tox .tox-tinymceai__annotation--added,.tox .tox-tinymceai__annotation--modified,.tox .tox-tinymceai__annotation--removed{padding-block:calc((1lh - 1.1em)/ 2);-webkit-text-decoration:none;text-decoration:none;background-repeat:no-repeat;text-decoration-thickness:max(1px,0.07em)}.tox .tox-tinymceai__annotation--added__highlight{background-position:bottom;background-image:linear-gradient(rgba(120,171,70,.2) calc(100% - 2px),#78ab46 calc(100% - 2px))}.tox .tox-tinymceai__annotation--added__selected{background-image:none;background-color:rgba(120,171,70,.2);box-shadow:0 2px 0 0 #006ce7,0 -2px 0 0 #006ce7}.tox .tox-tinymceai__annotation--modified__highlight{background-position:bottom;background-image:linear-gradient(rgba(0,108,231,.2) calc(100% - 2px),#006ce7 calc(100% - 2px))}.tox .tox-tinymceai__annotation--modified__selected{background-image:none;background-color:rgba(0,108,231,.2);box-shadow:0 2px 0 0 #006ce7,0 -2px 0 0 #006ce7}.tox .tox-tinymceai__annotation--removed__highlight{-webkit-text-decoration:line-through;text-decoration:line-through;background-position:bottom;background-image:linear-gradient(rgba(204,0,0,.2) calc(100% - 2px),#c00 calc(100% - 2px))}.tox .tox-tinymceai__annotation--removed__selected{-webkit-text-decoration:line-through;text-decoration:line-through;background-image:none;background-color:rgba(204,0,0,.2);box-shadow:0 2px 0 0 #006ce7,0 -2px 0 0 #006ce7}.tox .mce-object.tox-tinymceai__annotation--added,.tox .mce-object.tox-tinymceai__annotation--modified,.tox .mce-object.tox-tinymceai__annotation--removed,.tox .mce-preview-object.tox-tinymceai__annotation--added,.tox .mce-preview-object.tox-tinymceai__annotation--modified,.tox .mce-preview-object.tox-tinymceai__annotation--removed,.tox iframe.tox-tinymceai__annotation--added,.tox iframe.tox-tinymceai__annotation--modified,.tox iframe.tox-tinymceai__annotation--removed,.tox img.tox-tinymceai__annotation--added,.tox img.tox-tinymceai__annotation--modified,.tox img.tox-tinymceai__annotation--removed,.tox video.tox-tinymceai__annotation--added,.tox video.tox-tinymceai__annotation--modified,.tox video.tox-tinymceai__annotation--removed{padding-block:0;vertical-align:top}.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object),.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object),.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object){padding-block:0}.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) video,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) video,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) video{vertical-align:top}.tox del.tox-tinymceai__annotation--added__selected,.tox ins.tox-tinymceai__annotation--added__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#006ce7 3px,rgba(120,171,70,.2) 3px,rgba(120,171,70,.2) calc(100% - 3px),#006ce7 calc(100% - 3px))}.tox del.tox-tinymceai__annotation--modified__selected,.tox ins.tox-tinymceai__annotation--modified__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#006ce7 3px,rgba(0,108,231,.2) 3px,rgba(0,108,231,.2) calc(100% - 3px),#006ce7 calc(100% - 3px))}.tox del.tox-tinymceai__annotation--removed__selected,.tox ins.tox-tinymceai__annotation--removed__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#006ce7 3px,rgba(204,0,0,.2) 3px,rgba(204,0,0,.2) calc(100% - 3px),#006ce7 calc(100% - 3px))}.tox .tox-tinymceai__annotation--added.tox-tinymceai__annotation--added__hidden,.tox .tox-tinymceai__annotation--modified.tox-tinymceai__annotation--modified__hidden,.tox .tox-tinymceai__annotation--removed.tox-tinymceai__annotation--removed__hidden{display:none;-webkit-text-decoration:none;text-decoration:none}.tox :has(> div > iframe).tox-tinymceai__annotation--added,.tox :has(> div > iframe).tox-tinymceai__annotation--modified,.tox :has(> div > iframe).tox-tinymceai__annotation--removed{padding:7px;margin:5px}.tox iframe.tox-tinymceai__annotation--added__highlight,.tox img.tox-tinymceai__annotation--added__highlight,.tox video.tox-tinymceai__annotation--added__highlight{background-color:#334840;background-image:none;border:2px solid #78ab46;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--added__selected,.tox img.tox-tinymceai__annotation--added__selected,.tox video.tox-tinymceai__annotation--added__selected{background-color:#334840;background-image:none;border:2px solid #78ab46;padding:0;vertical-align:top;border-color:#334840;outline:2px solid #006ce7}.tox iframe.tox-tinymceai__annotation--modified__highlight,.tox img.tox-tinymceai__annotation--modified__highlight,.tox video.tox-tinymceai__annotation--modified__highlight{background-color:#1b3b60;background-image:none;border:2px solid #006ce7;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--modified__selected,.tox img.tox-tinymceai__annotation--modified__selected,.tox video.tox-tinymceai__annotation--modified__selected{background-color:#1b3b60;background-image:none;border:2px solid #006ce7;padding:0;vertical-align:top;border-color:#1b3b60;outline:2px solid #006ce7}.tox iframe.tox-tinymceai__annotation--removed__highlight,.tox img.tox-tinymceai__annotation--removed__highlight,.tox video.tox-tinymceai__annotation--removed__highlight{background-color:#442632;background-image:none;border:2px solid #c00;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--removed__selected,.tox img.tox-tinymceai__annotation--removed__selected,.tox video.tox-tinymceai__annotation--removed__selected{background-color:#442632;background-image:none;border:2px solid #c00;padding:0;vertical-align:top;border-color:#442632;outline:2px solid #006ce7}.tox .tox-tinymceai__annotation--removed__highlight iframe,.tox .tox-tinymceai__annotation--removed__highlight img,.tox .tox-tinymceai__annotation--removed__highlight video,.tox .tox-tinymceai__annotation--removed__selected iframe,.tox .tox-tinymceai__annotation--removed__selected img,.tox .tox-tinymceai__annotation--removed__selected video{background-color:#442632;background-image:none;border:2px solid #c00;padding:0;vertical-align:top}.tox .tox-tinymceai__annotation--removed__selected iframe,.tox .tox-tinymceai__annotation--removed__selected img,.tox .tox-tinymceai__annotation--removed__selected video{border-color:#442632;outline:2px solid #006ce7}.tox div.tox-tinymceai__annotation:has(> hr){background-size:auto;padding:.25em}.tox div.tox-tinymceai__annotation--removed__highlight>hr{border-color:rgba(0,0,0,.2)}.tox div.tox-tinymceai__annotation--added__highlight>hr{border-color:rgba(0,0,0,.2)}.tox .tox-tinymceai__deleted-media-overlay{inset:0;overflow:hidden;pointer-events:none;position:absolute;z-index:11}.tox .tox-tinymceai__deleted-media-wash{fill:#222F3E;fill-opacity:0.4}.tox .tox-tinymceai__deleted-media-mark{stroke:#c00}.tox .tox-tinymceai__deleted-media-halo{stroke:#fff}.tox .mce-pagebreak.tox-tinymceai__annotation--added__selected,.tox .mce-pagebreak.tox-tinymceai__annotation--modified__selected,.tox .mce-pagebreak.tox-tinymceai__annotation--removed__selected{border:1px dashed #aaa;box-shadow:none;background-image:none}.tox .mce-pagebreak.tox-tinymceai__annotation--added__highlight,.tox .mce-pagebreak.tox-tinymceai__annotation--modified__highlight,.tox .mce-pagebreak.tox-tinymceai__annotation--removed__highlight{padding:0}.tox .tox-tinymceai__diff-focus-overlay{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:10}.tox .tox-tinymceai__diff-focus-overlay-dim{fill:rgba(34,47,62,0.2)}.tox .tox-ai__scroll:has(.tox-card-group){padding-top:0}.tox .tox-ai__scroll:has(.tox-card-group) .tox-ai__review-sidebar-container .tox-card-list{gap:0}.tox .tox-ai__scroll .tox-ai__review-sidebar-container{scrollbar-gutter:stable;width:100%;height:100%;display:flex;flex-direction:column;gap:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-card-list{gap:8px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-card-group__title{margin-inline:-12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-initializing{padding:var(--tox-private-pad-md,16px)}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-description{padding-bottom:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));font-size:var(--tox-private-font-size-sm, 14px)}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-choose-container{padding-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-custom-input{margin-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-custom-actions{display:flex;gap:8px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container{margin-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container button.tox-ai__review-input-button{width:100%;background-color:var(--tox-private-background-color,#222f3e);display:flex;justify-content:space-between;align-items:center;border:1px solid #161f29;border-radius:6px;box-sizing:border-box}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container .tox-ai__review-dropdown-content{width:anchor-size(width)}.tox .tox-statusbar{align-items:center;background-color:#222f3e;border-top:1px solid rgba(255,255,255,.15);color:rgba(255,255,255,.75);display:flex;flex:0 0 auto;font-size:14px;font-weight:400;height:25px;overflow:hidden;padding:0 8px;position:relative;text-transform:none}.tox .tox-statusbar__path{display:flex;flex:1 1 auto;text-overflow:ellipsis;white-space:nowrap}.tox .tox-statusbar__right-container{display:flex;justify-content:flex-end;white-space:nowrap}.tox .tox-statusbar__help-text{text-align:center}.tox .tox-statusbar__text-container{align-items:flex-start;display:flex;flex:1 1 auto;height:16px;justify-content:space-between}@media only screen and (min-width:768px){.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__help-text,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__path,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__right-container{flex:0 0 calc(100% / 3)}}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-end{justify-content:flex-end}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-start{justify-content:flex-start}.tox .tox-statusbar__text-container.tox-statusbar__text-container--space-around{justify-content:space-around}.tox .tox-statusbar__path>*{display:inline;white-space:nowrap}.tox .tox-statusbar__wordcount{flex:0 0 auto;margin-left:1ch}@media only screen and (max-width:767px){.tox .tox-statusbar__text-container .tox-statusbar__help-text{display:none}.tox .tox-statusbar__text-container .tox-statusbar__help-text:only-child{display:block}}.tox .tox-statusbar a,.tox .tox-statusbar__path-item,.tox .tox-statusbar__wordcount{color:rgba(255,255,255,.75);position:relative;-webkit-text-decoration:none;text-decoration:none}.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]){color:#fff;cursor:pointer}.tox .tox-statusbar a:focus-visible::after,.tox .tox-statusbar__path-item:focus-visible::after,.tox .tox-statusbar__wordcount:focus-visible::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-statusbar a:focus-visible::after,.tox .tox-statusbar__path-item:focus-visible::after,.tox .tox-statusbar__wordcount:focus-visible::after{border:2px solid highlight}}.tox .tox-statusbar__branding svg{fill:rgba(255,255,255,0.8);height:1em;margin-left:.3em;width:auto}@media (forced-colors:active){.tox .tox-statusbar__branding svg{fill:currentColor}}.tox .tox-statusbar__branding a{align-items:center;display:inline-flex}.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg,.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg{fill:#fff}.tox .tox-statusbar__resize-cursor-default{cursor:ns-resize}.tox .tox-statusbar__resize-cursor-both{cursor:nwse-resize}.tox .tox-statusbar__resize-handle{align-items:flex-end;align-self:stretch;display:flex;flex:0 0 auto;justify-content:flex-end;margin-bottom:3px;margin-left:4px;margin-right:calc(3px - 8px);margin-top:3px;padding-bottom:0;padding-left:0;padding-right:0;position:relative}.tox .tox-statusbar__resize-handle svg{display:block;fill:rgba(255,255,255,0.5)}.tox .tox-statusbar__resize-handle:focus svg,.tox .tox-statusbar__resize-handle:hover svg{fill:#fff}.tox .tox-statusbar__resize-handle:focus-visible{background-color:transparent;border-radius:1px 1px 5px 1px;box-shadow:0 0 0 2px transparent}.tox .tox-statusbar__resize-handle:focus-visible::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-statusbar__resize-handle:focus-visible::after{border:2px solid highlight}}.tox .tox-statusbar__resize-handle:only-child{margin-left:auto}.tox:not([dir=rtl]) .tox-statusbar__path>*{margin-right:4px}.tox:not([dir=rtl]) .tox-statusbar__branding{margin-left:2ch}.tox[dir=rtl] .tox-statusbar{flex-direction:row-reverse}.tox[dir=rtl] .tox-statusbar__path>*{margin-left:4px}.tox[dir=rtl] .tox-statusbar__branding svg{margin-left:0;margin-right:.3em}.tox a.tox-tag{cursor:pointer}.tox .tox-tag{width:fit-content;box-sizing:border-box;display:flex;padding:var(--tox-private-pad-xs,4px) 6px;position:relative;align-items:center;gap:var(--tox-private-pad-xs,4px);border-radius:3px;background:hsl(from var(--tox-private-color-tint,#006ce7) h s l / 10%);line-height:var(--tox-private-base-value, 16px);font-size:var(--tox-private-font-size-xs, 12px)}.tox .tox-tag::before{border-radius:var(--tox-private-control-border-radius,6px);bottom:calc(-1 * var(--tox-private-tag-border-width,1px));box-shadow:var(--tox-private-tag-focus-outline,inset 0 0 0 1px #fff,0 0 0 2px #006ce7);content:'';left:calc(-1 * var(--tox-private-tag-border-width,1px));opacity:0;pointer-events:none;position:absolute;right:calc(-1 * var(--tox-private-tag-border-width,1px));top:calc(-1 * var(--tox-private-tag-border-width,1px))}.tox .tox-tag:focus:not(:disabled)::before{opacity:1}.tox .tox-tag>*{flex-shrink:0}.tox .tox-tag .tox-icon{height:var(--tox-private-base-value,16px);fill:var(--tox-private-text-color,#fff)}.tox .tox-tag .tox-tag__label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;flex-shrink:1;color:var(--tox-private-text-color,#fff)}.tox .tox-tag .tox-tag__close{height:var(--tox-private-base-value,16px)}.tox .tox-tag .tox-tag__close .tox-button.tox-button--icon{border:0;padding:0;color:var(--tox-private-text-color-muted,rgba(255,255,255,.5))}.tox .tox-tag .tox-tag__close .tox-button.tox-button--icon::before{box-shadow:none}.tox .tox-throbber{z-index:1299}.tox .tox-throbber__busy-spinner{align-items:center;background-color:rgba(34,47,62,.6);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.tox .tox-segmented-control{display:inline-flex;position:relative;border:none;border-radius:var(--tox-private-control-border-radius,6px);box-shadow:inset 0 0 0 1px var(--tox-private-segmented-control-border-color,#364a62);overflow:hidden;padding:var(--tox-private-pad-xs,4px);background-color:var(--tox-private-background-color,#222f3e)}.tox .tox-segmented-control__segment{flex:1;padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-sm,8px);cursor:pointer;background:0 0;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:16px;border:1px solid transparent;border-radius:calc(var(--tox-private-control-border-radius,6px) - 1px);text-align:center;white-space:nowrap;display:inline-block;vertical-align:middle;color:var(--tox-private-segmented-control-text-color,#fff)}.tox .tox-segmented-control__segment--active{border-color:var(--tox-private-segmented-control-active-border-color,#006ce7);color:var(--tox-private-segmented-control-active-text-color,#006ce7);background-color:var(--tox-private-segmented-control-active-bg-color,rgba(0,108,231,.1))}.tox .tox-segmented-control:not(.tox-segmented-control--disabled) .tox-segmented-control__segment{transition:all .2s}.tox .tox-segmented-control.tox-segmented-control--disabled .tox-segmented-control__segment{opacity:.5;cursor:not-allowed;pointer-events:none}.tox .tox-segmented-control__segment:focus{outline:2px solid var(--tox-private-color-tint,#006ce7);outline-offset:2px}.tox .tox-segmented-control__segment:focus:not(:focus-visible){outline:0}.tox .tox-toggle{display:flex;align-items:center;gap:var(--tox-private-pad-xs,4px);padding:var(--tox-private-pad-xs,4px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:var(--tox-private-control-line-height, 24px);white-space:nowrap;background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color,#fff)}.tox .tox-toggle input{position:absolute;opacity:0;width:0;height:0}.tox .tox-toggle__slider{position:relative;cursor:pointer;box-sizing:border-box;transition:.4s;border-radius:34px;width:28px;height:16px;background-color:var(--tox-private-slider-background-color,#222f3e);border:1px solid var(--tox-private-slider-border-color,rgba(255,255,255,.15))}.tox .tox-toggle__slider::before{position:absolute;content:"";height:12px;width:12px;left:1px;bottom:1px;transition:.4s;border-radius:50%;background-color:var(--tox-private-slider-handle-background-color,#fff)}.tox input:checked+.tox-toggle__slider{background-color:var(--tox-private-slider-checked-background-color,#006ce7);border:1px solid var(--tox-private-slider-checked-border-color,#006ce7)}.tox input:focus+.tox-toggle__slider{box-shadow:0 0 0 1px var(--tox-private-color-white,#fff),0 0 0 2px var(--tox-private-color-tint,#006ce7)}.tox input:checked+.tox-toggle__slider::before{transform:translateX(12px);background-color:var(--tox-private-slider-checked-handle-background-color,#fff)}.tox input:disabled+.tox-toggle__slider::before{opacity:50%}.tox .tox-tbtn{align-items:center;background:#222f3e;border:0;border-radius:3px;box-shadow:none;color:#fff;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;justify-content:center;margin:6px 1px 5px 0;outline:0;padding:0;text-transform:none;width:34px}.tox .tox-tbtn .tox-tbtn__icon-wrap{pointer-events:none}@media (forced-colors:active){.tox .tox-tbtn.tox-tbtn:hover,.tox .tox-tbtn:hover{outline:1px dashed currentColor}.tox .tox-tbtn.tox-tbtn--active,.tox .tox-tbtn.tox-tbtn--enabled,.tox .tox-tbtn.tox-tbtn--enabled:focus,.tox .tox-tbtn.tox-tbtn--enabled:hover,.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){outline:1px solid currentColor;position:relative}}.tox .tox-tbtn svg{display:block;fill:#fff}@media (forced-colors:active){.tox .tox-tbtn svg{fill:currentColor!important}.tox .tox-tbtn svg.tox-tbtn--enabled,.tox .tox-tbtn svg:focus:not(.tox-tbtn--disabled){fill:currentColor!important}.tox .tox-tbtn svg .tox-tbtn:disabled,.tox .tox-tbtn svg .tox-tbtn:disabled:hover,.tox .tox-tbtn svg.tox-tbtn--disabled,.tox .tox-tbtn svg.tox-tbtn--disabled:hover{filter:contrast(0%)}}.tox .tox-tbtn.tox-tbtn-more{padding-left:5px;padding-right:5px;width:inherit}.tox .tox-tbtn:focus{background:#222f3e;border:0;box-shadow:none;position:relative;z-index:1}.tox .tox-tbtn:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-tbtn:focus::after{border:2px solid highlight}}.tox .tox-tbtn:hover{background:#2f4055;border:0;box-shadow:none;color:#fff}.tox .tox-tbtn:hover svg{fill:#fff}.tox .tox-tbtn:active{background:#599fef;border:0;box-shadow:none;color:#fff}.tox .tox-tbtn:active svg{fill:#fff}.tox .tox-tbtn--disabled .tox-tbtn--enabled svg{fill:rgba(255,255,255,0.5)}.tox .tox-tbtn--disabled,.tox .tox-tbtn--disabled:hover,.tox .tox-tbtn:disabled,.tox .tox-tbtn:disabled:hover{background:#222f3e;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-tbtn--disabled svg,.tox .tox-tbtn--disabled:hover svg,.tox .tox-tbtn:disabled svg,.tox .tox-tbtn:disabled:hover svg{fill:rgba(255,255,255,0.5)}.tox .tox-tbtn--active,.tox .tox-tbtn--enabled,.tox .tox-tbtn--enabled:focus,.tox .tox-tbtn--enabled:hover{background:#599fef;border:0;box-shadow:none;color:#fff;position:relative}.tox .tox-tbtn--active>*,.tox .tox-tbtn--enabled:focus>*,.tox .tox-tbtn--enabled:hover>*,.tox .tox-tbtn--enabled>*{transform:none}.tox .tox-tbtn--active svg,.tox .tox-tbtn--enabled svg,.tox .tox-tbtn--enabled:focus svg,.tox .tox-tbtn--enabled:hover svg{fill:#fff}.tox .tox-tbtn--active.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled:focus.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled:hover.tox-tbtn--disabled svg{fill:rgba(255,255,255,0.5)}.tox .tox-tbtn--enabled:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-tbtn--enabled:focus::after{border:2px solid highlight}}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){color:#fff}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg{fill:#fff}.tox .tox-tbtn:active>*{transform:none}.tox .tox-tbtn--md{height:42px;width:51px}.tox .tox-tbtn--lg{flex-direction:column;height:56px;width:68px}.tox .tox-tbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tbtn--labeled{padding:0 4px;width:unset}.tox .tox-tbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-label--context-toolbar{margin:6px 1px 5px 0;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-number-input{background:#2f4055;border-radius:3px;display:flex;margin:6px 1px 5px 0;position:relative;width:auto}.tox .tox-number-input:focus{background:#2f4055}.tox .tox-number-input:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input:focus::after{border:2px solid highlight}}.tox .tox-number-input .tox-input-wrapper{display:flex;pointer-events:none;position:relative;text-align:center}.tox .tox-number-input .tox-input-wrapper:focus{background-color:#2f4055;z-index:1}.tox .tox-number-input .tox-input-wrapper:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input .tox-input-wrapper:focus::after{border:2px solid highlight}}.tox .tox-number-input .tox-input-wrapper:has(input:focus)::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input .tox-input-wrapper:has(input:focus)::after{border:2px solid highlight}}.tox .tox-number-input input{border-radius:3px;color:#fff;font-size:14px;margin:2px 0;pointer-events:all;position:relative;width:60px}.tox .tox-number-input input:hover{background:#2f4055;color:#fff}.tox .tox-number-input input:focus{background-color:#2f4055}.tox .tox-number-input input:disabled{background:#222f3e;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-number-input button{color:#fff;height:28px;position:relative;text-align:center;width:24px}@media (forced-colors:active){.tox .tox-number-input button:active,.tox .tox-number-input button:focus,.tox .tox-number-input button:hover{outline:1px solid currentColor!important}}.tox .tox-number-input button svg{display:block;fill:#fff;margin:0 auto;transform:scale(.67)}@media (forced-colors:active){.tox .tox-number-input button svg,.tox .tox-number-input button svg:active,.tox .tox-number-input button svg:hover{fill:currentColor!important}.tox .tox-number-input button svg:disabled{filter:contrast(0)}}.tox .tox-number-input button:focus{background:#2f4055;z-index:1}.tox .tox-number-input button:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input button:focus::after{border:2px solid highlight}}.tox .tox-number-input button:hover{background:#2f4055;border:0;box-shadow:none;color:#fff}.tox .tox-number-input button:hover svg{fill:#fff}.tox .tox-number-input button:active{background:#599fef;border:0;box-shadow:none;color:#fff}.tox .tox-number-input button:active svg{fill:#fff}.tox .tox-number-input button:disabled{background:#222f3e;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-number-input button:disabled svg{fill:rgba(255,255,255,0.5)}.tox .tox-number-input button.minus{border-radius:3px 0 0 3px}.tox .tox-number-input button.plus{border-radius:0 3px 3px 0}.tox .tox-number-input:focus:not(:active)>.tox-input-wrapper,.tox .tox-number-input:focus:not(:active)>button{background:#2f4055}.tox .tox-tbtn--select{margin:6px 1px 5px 0;padding:0 4px;width:auto}.tox .tox-tbtn--bordered,.tox .tox-tbtn--bordered:focus,.tox .tox-tbtn--bordered:hover{border:1px solid #161f29}.tox .tox-tbtn__select-label{cursor:default;font-weight:400;height:initial;margin:0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-tbtn__select-chevron svg{fill:rgba(255,255,255,0.5)}@media (forced-colors:active){.tox .tox-tbtn__select-chevron svg{fill:currentColor}}.tox .tox-tbtn--bespoke{background:#2f4055}.tox .tox-tbtn--bespoke:focus{background:#2f4055}.tox .tox-tbtn--bespoke+.tox-tbtn--bespoke{margin-inline-start:4px}.tox .tox-tbtn--bespoke .tox-tbtn__select-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:7em}.tox .tox-tbtn--disabled .tox-tbtn__select-label,.tox .tox-tbtn--select:disabled .tox-tbtn__select-label{cursor:not-allowed}.tox .tox-split-button__main{border-radius:3px 0 0 3px;margin-right:0}.tox .tox-split-button__main:focus{border:0;box-shadow:none;background:#222f3e;color:#fff;position:relative;z-index:1}.tox .tox-split-button__main:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0;border-radius:3px 0 0 3px}@media (forced-colors:active){.tox .tox-split-button__main:focus::after{border:2px solid highlight}}.tox .tox-split-button__chevron{width:16px;border-radius:0 3px 3px 0;margin-left:0}.tox .tox-split-button__chevron:focus{border:0;box-shadow:none;background:#222f3e;color:#fff;position:relative;z-index:1}.tox .tox-split-button__chevron:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0;border-radius:0 3px 3px 0}@media (forced-colors:active){.tox .tox-split-button__chevron:focus::after{border:2px solid highlight}}.tox .tox-split-button__chevron svg{fill:rgba(255,255,255,0.5)}@media (forced-colors:active){.tox .tox-split-button__chevron svg{fill:currentColor}}.tox.tox-platform-touch .tox-split-button__main{width:30px}.tox.tox-platform-touch .tox-split-button__chevron{width:20px}.tox .tox-split-button__chevron.tox-tbtn--disabled,.tox .tox-split-button__main.tox-tbtn--disabled{background:#222f3e;box-shadow:none;color:rgba(255,255,255,.5)}.tox .tox-split-button__chevron.tox-tbtn--disabled:hover,.tox .tox-split-button__main.tox-tbtn--disabled:hover{background:#222f3e;box-shadow:none;color:rgba(255,255,255,.5)}.tox .tox-split-button__chevron.tox-tbtn--disabled:focus,.tox .tox-split-button__main.tox-tbtn--disabled:focus{background:#222f3e;box-shadow:none;color:rgba(255,255,255,.5)}.tox .tox-split-button__main.tox-tbtn--disabled svg .tox-icon-highlight-bg-color__color,.tox .tox-split-button__main.tox-tbtn--disabled svg .tox-icon-text-color__color{opacity:.3}.tox .tox-toolbar-overlord{background-color:#222f3e}.tox .tox-toolbar,.tox .tox-toolbar__overflow,.tox .tox-toolbar__primary{background-attachment:local;background-color:#222f3e;background-image:repeating-linear-gradient(rgba(255,255,255,.15) 0 1px,transparent 1px 39px);background-position:center top 40px;background-repeat:no-repeat;background-size:calc(100% - 11px * 2) calc(100% - 41px);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;padding:0 0;transform:perspective(1px)}.tox .tox-toolbar-overlord>.tox-toolbar,.tox .tox-toolbar-overlord>.tox-toolbar__overflow,.tox .tox-toolbar-overlord>.tox-toolbar__primary{background-position:center top 0;background-size:calc(100% - 11px * 2) calc(100% - 0px)}.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed{height:0;opacity:0;padding-bottom:0;padding-top:0;visibility:hidden}.tox .tox-toolbar__overflow--growing{transition:height .3s ease,opacity .2s linear .1s}.tox .tox-toolbar__overflow--shrinking{transition:opacity .3s ease,height .2s linear .1s,visibility 0s linear .3s}.tox .tox-anchorbar,.tox .tox-toolbar-overlord{grid-column:1/-1}.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{border-top:1px solid transparent;margin-top:-1px;padding-bottom:1px;padding-top:1px}@media (forced-colors:active){.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{outline:1px solid currentColor}}.tox .tox-toolbar--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-pop .tox-toolbar{border-width:0}.tox .tox-toolbar--no-divider{background-image:none}.tox .tox-toolbar-overlord .tox-toolbar:not(.tox-toolbar--scrolling):first-child,.tox .tox-toolbar-overlord .tox-toolbar__primary{background-position:center top 39px}.tox .tox-editor-header>.tox-toolbar--scrolling,.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child{background-image:none}.tox .tox-focusable-wrapper{border:1px solid transparent;margin-right:2px;pointer-events:none}.tox .tox-focusable-wrapper .tox-textfield-size{pointer-events:all}.tox .tox-focusable-wrapper:focus{background-color:#2f4055;border-radius:6px;border-style:solid;border-width:1px}.tox.tox-tinymce-aux .tox-toolbar__overflow{background-color:#222f3e;background-position:center top 43px;background-size:calc(100% - 8px * 2) calc(100% - 51px);border:none;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);overscroll-behavior:none;padding:4px 0}@media (forced-colors:active){.tox.tox-tinymce-aux .tox-toolbar__overflow{border:solid}}.tox-pop .tox-pop__dialog .tox-toolbar{background-position:center top 43px;background-size:calc(100% - 11px * 2) calc(100% - 51px);padding:4px 0}.tox-context-form__group{display:flex;align-items:center}.tox .tox-toolbar__group{align-items:center;display:flex;flex-wrap:wrap;margin:0 0;padding:0 11px 0 12px}.tox .tox-toolbar__group--pull-right{margin-left:auto}.tox .tox-toolbar--scrolling .tox-toolbar__group{flex-shrink:0;flex-wrap:nowrap}.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type){border-right:1px solid transparent}.tox[dir=rtl] .tox-toolbar__group:not(:last-of-type){border-left:1px solid transparent}.tox .tox-toolbar-input-form{display:flex;align-items:center;background-color:var(--tox-private-background-color,#222f3e);padding:0 var(--tox-private-pad-sm,8px)}.tox .tox-tooltip{display:inline-block;max-width:min(80%,15em);padding:8px 0 0 0;position:relative;width:max-content;z-index:1150}.tox .tox-tooltip.tox-tooltip--anchor{display:none;padding:var(--tox-private-pad-xs,4px) 0 0;position:fixed;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;height:fit-content}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--up{position-area:block-end}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--down{position-area:block-start}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--left{position-area:inline-start}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--right{position-area:inline-end}.tox .tox-tooltip__body{background-color:#324053;border-radius:6px;box-shadow:none;color:#fff;font-size:12px;font-style:normal;font-weight:600;overflow-wrap:break-word;padding:4px 6px;text-transform:none}@media (forced-colors:active){.tox .tox-tooltip__body{outline:outset 1px}}.tox .tox-tooltip__arrow{position:absolute}.tox .tox-tooltip--down .tox-tooltip__arrow{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #324053;bottom:0;left:50%;position:absolute;transform:translateX(-50%)}.tox .tox-tooltip--up .tox-tooltip__arrow{border-bottom:8px solid #324053;border-left:8px solid transparent;border-right:8px solid transparent;left:50%;position:absolute;top:0;transform:translateX(-50%)}.tox .tox-tooltip--right .tox-tooltip__arrow{border-bottom:8px solid transparent;border-left:8px solid #324053;border-top:8px solid transparent;position:absolute;right:0;top:50%;transform:translateY(-50%)}.tox .tox-tooltip--left .tox-tooltip__arrow{border-bottom:8px solid transparent;border-right:8px solid #324053;border-top:8px solid transparent;left:0;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-tree{display:flex;flex-direction:column}.tox .tox-tree .tox-trbtn{align-items:center;background:0 0;border:0;border-radius:4px;box-shadow:none;color:#fff;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;margin-bottom:4px;margin-top:4px;outline:0;overflow:hidden;padding:0;padding-left:8px;text-transform:none}.tox .tox-tree .tox-trbtn .tox-tree__label{cursor:default;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tree .tox-trbtn svg{display:block;fill:#fff}.tox .tox-tree .tox-trbtn:focus{background:#2f4055;border:0;box-shadow:none}.tox .tox-tree .tox-trbtn:hover{background:#2f4055;border:0;box-shadow:none;color:#fff}.tox .tox-tree .tox-trbtn:hover svg{fill:#fff}.tox .tox-tree .tox-trbtn:active{background:#599fef;border:0;box-shadow:none;color:#fff}.tox .tox-tree .tox-trbtn:active svg{fill:#fff}.tox .tox-tree .tox-trbtn--disabled,.tox .tox-tree .tox-trbtn--disabled:hover,.tox .tox-tree .tox-trbtn:disabled,.tox .tox-tree .tox-trbtn:disabled:hover{background:0 0;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-tree .tox-trbtn--disabled svg,.tox .tox-tree .tox-trbtn--disabled:hover svg,.tox .tox-tree .tox-trbtn:disabled svg,.tox .tox-tree .tox-trbtn:disabled:hover svg{fill:rgba(255,255,255,0.5)}.tox .tox-tree .tox-trbtn--enabled,.tox .tox-tree .tox-trbtn--enabled:hover{background:#599fef;border:0;box-shadow:none;color:#fff}.tox .tox-tree .tox-trbtn--enabled:hover>*,.tox .tox-tree .tox-trbtn--enabled>*{transform:none}.tox .tox-tree .tox-trbtn--enabled svg,.tox .tox-tree .tox-trbtn--enabled:hover svg{fill:#fff}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled){color:#fff}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled) svg{fill:#fff}.tox .tox-tree .tox-trbtn:active>*{transform:none}.tox .tox-tree .tox-trbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tree .tox-trbtn--labeled{padding:0 4px;width:unset}.tox .tox-tree .tox-trbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-tree .tox-tree--directory{display:flex;flex-direction:column}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label{font-weight:700}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn:focus svg{fill:#fff}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:focus .tox-mbtn svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover .tox-mbtn svg{fill:#fff}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#fff}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#fff}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-chevron{margin-right:6px}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--shrinking) .tox-chevron{transition:transform .5s ease-in-out}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--open) .tox-chevron{transform:rotate(90deg)}.tox .tox-tree .tox-tree--leaf__label{font-weight:400}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--leaf__label .tox-mbtn:focus svg{fill:#fff}.tox .tox-tree .tox-tree--leaf__label:hover .tox-mbtn svg{fill:#fff}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#fff}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#fff}.tox .tox-tree .tox-icon-custom-state{flex-grow:1;display:flex;justify-content:flex-end}.tox .tox-tree .tox-tree--directory__children{overflow:hidden;padding-left:16px}.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--growing,.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--shrinking{transition:height .5s ease-in-out}.tox .tox-tree .tox-trbtn.tox-tree--leaf__label{display:flex;justify-content:space-between}[data-mce-name=uploadcare-enhance-filter] .color-swatch-remove-color path{fill:#c00;stroke:#c00}.tox .tox-view-wrap,.tox .tox-view-wrap__slot-container{background-color:#222f3e;display:flex;flex:1;flex-direction:column;height:100%;min-height:0}.tox .tox-view{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden;background-color:#222f3e}.tox .tox-view__header{align-items:center;display:flex;font-size:16px;justify-content:space-between;padding:10px;position:relative}.tox .tox-view__label{color:#fff;font-weight:700;line-height:24px;padding:4px 16px;text-align:center;white-space:nowrap}.tox .tox-view__label--normal{font-size:16px}.tox .tox-view__label--large{font-size:20px}.tox .tox-view--mobile.tox-view__header,.tox .tox-view--mobile.tox-view__toolbar{padding:8px}.tox .tox-view--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-view__align-right{margin-left:auto}.tox .tox-view__toolbar{display:flex;flex-direction:row;gap:8px;justify-content:space-between;overflow-x:auto;padding:10px}.tox .tox-view__toolbar__group{display:flex;flex-direction:row;gap:12px}.tox .tox-view__header-end,.tox .tox-view__header-start{display:flex}.tox .tox-view__pane{height:100%;padding:8px;position:relative;width:100%}.tox .tox-view__pane_panel{border:1px solid #161f29;border-radius:6px}.tox:not([dir=rtl]) .tox-view__header .tox-view__header-end>*,.tox:not([dir=rtl]) .tox-view__header .tox-view__header-start>*{margin-left:8px}.tox[dir=rtl] .tox-view__header .tox-view__header-end>*,.tox[dir=rtl] .tox-view__header .tox-view__header-start>*{margin-right:8px}.tox .tox-well{border:1px solid #161f29;border-radius:6px;padding:8px;width:100%}.tox .tox-well>:first-child{margin-top:0}.tox .tox-well>:last-child{margin-bottom:0}.tox .tox-well>:only-child{margin:0}.tox .tox-custom-editor{border:1px solid #161f29;border-radius:6px;display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-view .tox-revisionhistory__pane{padding:0}.tox .tox-revisionhistory__container{display:flex;flex-direction:column;height:100%}.tox .tox-revisionhistory{background-color:#222f3e;border-top:1px solid rgba(255,255,255,.15);display:flex;flex:1;height:100%;overflow-x:auto;overflow-y:hidden;position:relative;width:100%}.tox .tox-revisionhistory__iframe{flex:1}.tox .tox-revisionhistory__sidebar{display:flex;flex-direction:column;height:100%;min-width:248px;width:316px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__sidebar-title{background-color:#222f3e;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);color:#fff;font-size:20px;font-weight:400;line-height:28px;padding:12px;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions{background-color:#2b3b4e;display:flex;flex:1;flex-direction:column;gap:12px;overflow-y:auto;padding:10px 12px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus{height:100%;position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0;border-radius:6px;bottom:1px;left:1px;right:1px;top:1px}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card{background-color:#222f3e;border:1px solid rgba(255,255,255,.15);border-radius:6px;color:#fff;cursor:pointer;display:flex;flex-direction:column;font-size:14px;padding:12px;width:100%}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:hover{box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus{position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff #285ec7;content:'';left:0;position:absolute;right:0;top:0;border-radius:6px;box-shadow:0 0 0 2px #285ec7;box-shadow:0 0 0 2px #285ec7!important}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected{background-color:#1b3b60;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);position:relative}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff #cea215;content:'';left:0;position:absolute;right:0;top:0;border-radius:6px;box-shadow:0 0 0 2px #cea215}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-tags{display:flex;align-items:flex-start;flex-direction:row;gap:8px;overflow-x:auto}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-label{display:block;max-width:min-content;padding:4px 8px;margin-bottom:8px;font-size:12px;font-weight:700;border-radius:4px;background:#4e5965;text-wrap:balance;flex:0 1 auto}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-content{display:flex;flex-direction:row;gap:8px;align-items:center}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution{align-items:center;display:flex}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution .tox-revisionhistory__avatar{position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution .tox-revisionhistory__avatar+.tox-revisionhistory__card-ai-icon{margin-left:-4px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-info{display:flex;flex-direction:column;flex:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-date-label{font-size:14px;font-weight:700;line-height:18px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-author-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:400}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__avatar{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-ai-icon{display:flex;height:36px;width:36px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__norevision{color:rgba(255,255,255,.5);font-size:16px;line-height:24px;padding:5px 5.5px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-check-icon{color:#fff;height:24px}.tox .tox-card{background-color:#222f3e;border-radius:6px;display:flex;flex-direction:column;gap:12px;padding:10px;cursor:pointer;transition:box-shadow .15s ease-in-out,border .15s ease-in-out;border:2px solid transparent}.tox .tox-card:hover{box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-card--selected{border-color:#006ce7}.tox .tox-card:focus-visible{outline:2px solid #fff;border-color:transparent}.tox .tox-card--has-decision{background-color:#17202a}.tox .tox-card--has-decision:not(.tox-card--selected){border-width:1px;border-color:rgba(255,255,255,.5);padding:11px}.tox .tox-card--has-decision .tox-card__header{font-size:12px}.tox .tox-card--has-decision .tox-card__body{color:rgba(255,255,255,.5)}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline{border-color:#0c1116}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:focus:not(:disabled),.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:hover:not(:disabled){background-color:#0c1116;border-color:#010203}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:active:not(:disabled){background-color:#010203;border-color:#010203}.tox .tox-card__header{padding-bottom:0;color:#fff;font-size:16px;font-weight:700;text-transform:uppercase;display:flex;flex-direction:column;gap:12px}.tox .tox-card__header-label{font-size:12px;font-weight:700;text-transform:uppercase;color:#fff}.tox .tox-card__header-content{flex:1;min-width:0;font-weight:400;text-transform:none}.tox .tox-card__header-actions{display:flex;align-items:center;gap:4px;flex-shrink:0;opacity:1;pointer-events:auto;transition:opacity .15s ease-in-out}.tox .tox-card__header-actions--hover-visible,.tox .tox-card__header-actions--on-focus{opacity:0;pointer-events:none}.tox .tox-card__header-actions--always-visible{opacity:1;pointer-events:auto}.tox .tox-card__header:has(.tox-card__header-actions),.tox .tox-card__header:has(.tox-card__header-content){flex-direction:row;align-items:center}.tox .tox-card__header:has(.tox-card__header-content){justify-content:space-between}.tox .tox-card__header:has(.tox-card__header-actions):not(:has(.tox-card__header-content)){justify-content:flex-end}.tox .tox-card:focus-within .tox-card__header-actions--hover-visible,.tox .tox-card:focus-within .tox-card__header-actions--on-focus,.tox .tox-card:hover .tox-card__header-actions--hover-visible{opacity:1;pointer-events:auto}.tox .tox-card__body{color:#fff;font-size:14px}.tox .tox-card__body .tox-expandable-box{background:0 0;border:none;gap:12px}.tox .tox-card__body .tox-expandable-box .tox-expandable-box__content,.tox .tox-card__body .tox-expandable-box>.tox-button{margin:0}.tox .tox-card__highlight{padding:4px 6px;border-bottom:2px solid #006ce7}.tox .tox-card__highlight--added{background-color:#334840}.tox .tox-card__highlight--deleted{background-color:#442632}.tox .tox-card__highlight--modified{background-color:#1b3b60}.tox .tox-card__actions{display:flex;gap:8px}.tox .tox-card__actions--space-between{justify-content:space-between}.tox .tox-card__actions--flex-start{justify-content:flex-start}.tox .tox-card__actions .tox-button,.tox .tox-card__actions .tox-button--icon,.tox .tox-card__actions .tox-button:has(.tox-icon:only-child){padding:4px 16px}.tox .tox-card__divider{margin:12px 0;border:none;border-top:1px solid #161f29}.tox .tox-card__expansion{display:flex;flex-direction:column;gap:12px;width:100%}.tox .tox-card__expansion:has(> .tox-card__expansion-content--collapsed:only-child){margin-block-start:-12px}.tox .tox-card__expansion-content{display:grid;font-size:14px;grid-template-rows:0fr;transition:grid-template-rows .2s ease-in-out}.tox .tox-card__expansion-content--expanded{grid-template-rows:1fr}.tox .tox-card__expansion-content--expanded>.tox-card__expansion-content-inner{min-height:auto;overflow:visible}.tox .tox-card__expansion-content--collapsed{grid-template-rows:0fr}.tox .tox-card__expansion-content-inner{min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:12px}.tox .tox-card.tox-skeleton{cursor:default;pointer-events:none;box-shadow:none}.tox .tox-card.tox-skeleton:hover{box-shadow:none}.tox .tox-card.tox-skeleton .tox-skeleton__line{border-radius:6px;margin:0}.tox .tox-card.tox-skeleton .tox-card__body{display:flex;flex-direction:column;gap:4px}.tox .tox-card-list{display:flex;flex-direction:column;gap:12px}.tox .tox-card-list:has(.tox-card-group){gap:0}.tox .tox-card-list:focus{outline:0}.tox .tox-card-group{background-color:#17202a;display:flex;flex-direction:column}.tox .tox-card-group .tox-card{scroll-margin-top:53px}.tox .tox-card-group__title{align-items:center;background-color:#222f3e;border-bottom:1px solid #161f29;color:#fff;display:flex;font-size:14px;font-weight:700;gap:8px;line-height:16px;overflow:hidden;padding:12px;position:sticky;top:0;z-index:1}.tox .tox-card-group__title-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-card-group__status{color:rgba(255,255,255,.5);flex:0 0 auto;font-size:12px;font-weight:400;margin-inline-start:auto}.tox .tox-card-group__content{display:flex;flex-direction:column;gap:12px;padding-block:12px}.tox .tox-profile{align-items:center;display:flex;gap:8px}.tox .tox-profile__image{align-items:center;display:flex;flex-shrink:0}.tox .tox-profile__badge{display:flex;flex-shrink:0;height:36px;margin-inline-start:-4px;width:36px}.tox .tox-profile__badge svg{display:block;height:100%;width:100%}.tox .tox-user-avatar{width:36px;height:36px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center}.tox .tox-user-avatar img{width:100%;height:100%;object-fit:cover}.tox .tox-profile__body{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;flex:1}.tox .tox-profile__heading{color:#fff;font-size:14px;font-weight:700;line-height:18px;text-transform:none}.tox .tox-profile__subheading{color:#fff;font-size:12px;font-weight:400;line-height:16px;padding-block:4px;text-transform:none}.tox .tox-profile__subheading .tox-icon svg{fill:rgba(255,255,255,0.5);margin-block:-4px;vertical-align:top}.tox [data-mce-name=suggestededits] .tox-icon .tox-icon--badge{fill:#006ce7}.tox .tox-view .tox-suggestededits__pane{padding:0}.tox .tox-suggestededits__sink{position:relative;z-index:1000}.tox .tox-suggestededits__sink .tox-tiered-menu .tox-collection--list{position:absolute}.tox .tox-suggestededits__container{height:100%;display:flex;flex-direction:column}.tox .tox-suggestededits__container .tox-suggestededits{background-color:#222f3e;display:flex;flex:1;height:inherit;overflow-x:auto;overflow-y:hidden;position:relative}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__content{flex:1}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__model{height:100%;position:relative}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__model .tox-suggestededits__iframe{height:100%;width:100%;overflow:scroll;background-color:#fff}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar{background-color:#34485f;border-left:1px solid rgba(255,255,255,.15);display:flex;flex-direction:column;flex:0 1 auto;min-width:248px;width:441px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__announcer{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;margin:-1px;padding:0;border:0}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar{padding:4px 12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar:not(:empty){padding:12px 12px 6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button:has(.tox-icon:only-child){gap:0;padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-md,16px)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button:has(.tox-icon:only-child) .tox-icon{align-items:center;display:flex;flex:0 0 auto;height:24px;justify-content:center;width:24px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline{border-color:#486383}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:focus:not(:disabled),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:hover:not(:disabled){background-color:rgba(255,255,255,.12);border-color:rgba(255,255,255,.12)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline.tox-button--enabled:not(:disabled),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:active:not(:disabled){background-color:rgba(255,255,255,.18);border-color:rgba(255,255,255,.18);color:#fff}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline[disabled]{border-color:#486383}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content{display:flex;flex:1;flex-direction:column;gap:12px;overflow:auto;padding:6px 12px 12px 12px;position:relative;scroll-padding-block:6px 12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-card--selected:has(textarea:focus){border-color:transparent}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__divider,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--divider{background-color:#34485f;height:1px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--editor,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--single{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;gap:12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--editor{padding:6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header{display:flex;flex:auto;justify-content:space-between;align-items:center;gap:8px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__card--timestamp,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__card--timestamp{color:#fff}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__card--timestamp .tox-icon svg,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__card--timestamp .tox-icon svg{fill:rgba(255,255,255,0.5)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution{align-items:center;border:0;border-radius:20px;color:rgba(255,255,255,.5);height:20px;width:20px;display:flex;flex:0 0 auto;justify-content:center;text-align:center}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button{padding:var(--tox-private-button-padding-y,4px) var(--tox-private-button-padding-x,16px)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button .tox-suggestededits__resolution--label{display:none}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:not(:hover):not(:focus-visible),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:not(:hover):not(:focus-visible){border-color:transparent}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution{display:none}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution--label{display:inline}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content{display:flex;flex-direction:column;align-self:stretch;flex:auto;gap:6px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations{display:flex;gap:8px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-details,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-details{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-text,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-text{color:#fff;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:18px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-content-text,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-content-text{font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:20px;overflow-wrap:break-word}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-content-text-joiner,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-content-text-joiner{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__card--feedback,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__card--feedback{color:#fff;overflow-wrap:anywhere;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__actions,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--buttons{display:flex;align-items:center;gap:8px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__actions.tox-suggestededits__card--feedback-buttons,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--buttons.tox-suggestededits__card--feedback-buttons{justify-content:flex-end}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-suggestededits__card--active .tox-suggestededits__card--single{border-radius:6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-suggestededits__card--active .tox-suggestededits__card--single:focus-visible{outline:2px solid #006ce7}.tox .tox-dialog-loading::before{background-color:rgba(0,0,0,.5);content:"";height:100%;position:absolute;width:100%;z-index:1000}.tox .tox-tab{cursor:pointer}.tox .tox-dialog__content-js{display:flex;flex:1}.tox .tox-dialog__body-content .tox-collection{display:flex;flex:1}.tox.tox-tinymce-aux .tox-toolbar__overflow{box-shadow:0 0 0 1px rgba(255,255,255,.15)}`) \ No newline at end of file +tinymce.Resource.add('ui/oxide-dark/skin.css', `.tox{box-shadow:none;box-sizing:content-box;cursor:auto;font-style:normal;font-weight:400;line-height:normal;-webkit-tap-highlight-color:transparent;-webkit-text-decoration:none;text-decoration:none;text-shadow:none;text-transform:none;vertical-align:initial;white-space:normal}.tox :not(svg):not(rect){box-sizing:inherit;color:inherit;cursor:inherit;direction:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;-webkit-tap-highlight-color:inherit;text-align:inherit;text-decoration:inherit;text-shadow:inherit;text-transform:inherit;vertical-align:inherit;white-space:inherit}.tox :not(svg):not(rect){background:0 0;border:0;box-shadow:none;float:none;height:auto;margin:0;max-width:none;outline:0;padding:0;position:static;width:auto}.tox:not([dir=rtl]){direction:ltr;text-align:left}.tox[dir=rtl]{direction:rtl;text-align:right}.tox-tinymce :focus,.tox-tinymce-aux :focus{outline:0}button::-moz-focus-inner{border:0}@keyframes tox-rotation{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes tox-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox{color:var(--tox-private-color-black,#222f3e);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-font-size-base, 16px)}.tox-tinymce{border:2px solid #161f29;border-radius:10px;box-shadow:none;box-sizing:border-box;display:flex;flex-direction:column;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);overflow:hidden;position:relative;visibility:inherit!important}.tox.tox-tinymce-inline{border:none;box-shadow:none;overflow:initial}.tox.tox-tinymce-inline .tox-editor-container{overflow:initial}.tox.tox-tinymce-inline .tox-editor-header{background-color:#222f3e;border:2px solid #161f29;border-radius:10px;box-shadow:none;overflow:hidden}.tox-tinymce-aux{font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);z-index:var(--tox-private-z-index-sink,1300)}.tox[dir=rtl] .tox-icon--flip svg{transform:rotateY(180deg)}.tox .tox-editor-container{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.tox .tox-editor-container--keep-toolbar{flex:0 0 auto;overflow:visible}.tox .tox-editor-header{display:grid;grid-template-columns:1fr min-content;z-index:2}.tox:not(.tox-tinymce-inline) .tox-editor-header{background-color:#222f3e;border-bottom:1px solid rgba(255,255,255,.15);box-shadow:none;padding:4px 0}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(.tox-editor-dock-transition){transition:box-shadow .5s}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header{border-top:1px solid rgba(255,255,255,.15);box-shadow:none}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header{background-color:#222f3e;box-shadow:none;padding:4px 0}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header{box-shadow:none}.tox.tox:not(.tox-tinymce-inline) .tox-editor-header.tox-editor-header--empty{background:0 0;border:none;box-shadow:none;padding:0}.tox-editor-dock-fadeout{opacity:0;visibility:hidden}.tox-editor-dock-fadein{opacity:1;visibility:visible}.tox-editor-dock-transition{transition:visibility 0s linear .25s,opacity .25s ease}.tox-editor-dock-transition.tox-editor-dock-fadein{transition-delay:0s}.tox .accessibility-issue__header{align-items:center;display:flex;margin-bottom:4px}.tox #accessibility-issue__subheader{font-size:16px;color:#fff}.tox .accessbility-sr-only{position:absolute;clip:rect(1px,1px,1px,1px);clip-path:inset(0 0 99.9% 99.9%);overflow:hidden;height:1px;width:1px;padding:0;border:0}.tox .accessibility-issue__description{align-items:stretch;border-radius:6px;justify-content:space-between}.tox .accessibility-issue__description>div{padding-bottom:4px}.tox .accessibility-issue__description>div>div{align-items:center;display:flex;margin-bottom:4px}.tox .accessibility-issue__description>div>div .tox-icon svg{display:block}.tox #accessibility-issue__contentID{margin-top:8px;margin-bottom:8px}.tox #accessibility-issue__contentID span:first-child{font-weight:700}.tox #accessibility-issue__document{padding-bottom:8px}.tox .accessibility-issue__repair{margin-top:8px}.tox .accessibility-issue__repair .tox-form__group .tox-form__group--error{color:#eb9999}.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description{background-color:#1f354f;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2{font-size:14px;color:#99c4f5}.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon.accessibility-issue__icon svg{fill:#99c4f5}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon{background-color:#006ce7;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:hover{background-color:#0060ce}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:active{background-color:#0054b4}.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description{background-color:#383f38;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2{font-size:14px;color:#ffeb99}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon.accessibility-issue__icon svg{fill:#ffeb99}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon{background-color:#ffe89d;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:hover{background-color:#f2d574;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:active{background-color:#e8c657;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description{background-color:#332a38;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2{font-size:14px;color:#eb9999}.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon.accessibility-issue__icon svg{fill:#eb9999}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon{background-color:#f2bfbf;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:hover{background-color:#e9a4a4;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:active{background-color:#ee9494;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description{background-color:rgba(120,171,70,.5);color:#fff}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description>:last-child{display:none}.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2{color:#fff}.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon.accessibility-issue__icon svg{fill:#fff}.tox .tox-dialog__body-content .accessibility-issue__header .tox-form__group h1,.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2{margin-top:0}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-left:4px}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-left:auto}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description{padding:8px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-right:4px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-right:auto}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description{padding:4px 8px 4px 4px}.tox .mce-codemirror{background:#fff;bottom:0;font-size:13px;left:0;position:absolute;right:0;top:0;z-index:1}.tox .mce-codemirror.tox-inline-codemirror{margin:8px;position:absolute}.tox .tox-advtemplate .tox-form__grid{flex:1}.tox .tox-advtemplate .tox-form__grid>div:first-child{display:flex;flex-direction:column;width:30%}.tox .tox-advtemplate .tox-form__grid>div:first-child>div:nth-child(2){flex-basis:0;flex-grow:1;overflow:auto}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-advtemplate .tox-form__grid>div:first-child{width:100%}}.tox .tox-advtemplate iframe{border-color:#161f29;border-radius:10px;border-style:solid;border-width:1px;margin:0 10px}.tox .tox-accordion{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__item{background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color,#fff);border-radius:var(--tox-private-control-border-radius,6px);position:relative}.tox .tox-accordion__item.tox-accordion__item--expanded{background-color:var(--tox-private-background-secondary,#2f4055)}.tox .tox-accordion__item.tox-accordion__item--expanded .tox-accordion__content--expanded .tox-accordion__content-inner{padding-top:0}.tox .tox-accordion__item::after{border-radius:var(--tox-private-control-border-radius,6px);box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,2px) var(--tox-private-keyboard-focus-outline-color,#fff);content:'';inset:0;opacity:0;pointer-events:none;position:absolute}@media (forced-colors:active){.tox .tox-accordion__item::after{border:2px solid highlight}}.tox .tox-accordion__item:focus{outline:0;z-index:1}.tox .tox-accordion__item:focus::after{opacity:1}.tox .tox-accordion__heading{margin:0;width:100%}.tox .tox-accordion__heading:focus{outline:0}.tox .tox-accordion__header{align-items:center;border:none;border-radius:var(--tox-private-control-border-radius,6px);box-sizing:border-box;color:var(--tox-private-text-color,#fff);cursor:pointer;display:flex;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:var(--tox-private-line-height-base, 1.3);outline:0;padding:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));text-align:left;width:100%}.tox .tox-accordion__header::after{border-radius:var(--tox-private-control-border-radius,6px);bottom:0;box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,2px) var(--tox-private-keyboard-focus-outline-color,#fff);content:'';left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-accordion__header::after{border:2px solid highlight}}.tox .tox-accordion__header:hover:not(.tox-accordion__header--disabled){background-color:var(--tox-private-background-secondary,#2f4055)}.tox .tox-accordion__header:focus:not(.tox-accordion__header--disabled){position:relative;z-index:1}.tox .tox-accordion__header:focus:not(.tox-accordion__header--disabled)::after{opacity:1}.tox .tox-accordion__header.tox-accordion__header--disabled{cursor:not-allowed;opacity:.5}.tox .tox-accordion__header.tox-accordion__header--icon-end{padding-right:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__header-icon{align-items:center;color:var(--tox-private-text-color,#fff);display:flex;flex-shrink:0;height:calc(var(--tox-private-base-value,16px) * 1.5);justify-content:center;width:calc(var(--tox-private-base-value,16px) * 1.5)}.tox .tox-accordion__header-icon svg{display:block;fill:currentColor;height:100%;width:100%;max-height:calc(var(--tox-private-base-value,16px) * 1.5);max-width:calc(var(--tox-private-base-value,16px) * 1.5)}.tox .tox-accordion__header:not(.tox-accordion__header--icon-end) .tox-accordion__header-icon{margin-right:var(--tox-private-pad-sm,8px);margin-left:0}.tox .tox-accordion__header--icon-end .tox-accordion__header-icon{margin-left:auto}.tox .tox-accordion__header-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-accordion__header--icon-end .tox-accordion__header-text{flex:0 1 auto;margin-right:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__content{border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-accordion__content.tox-accordion__content--collapsed{display:none}.tox .tox-accordion__content.tox-accordion__content--expanded{display:block}.tox .tox-accordion__content-inner{padding:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px)) calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__content-inner .tox-form__group:last-child{margin-bottom:0}.tox .tox-accordion__content-inner .tox-form__group>:not(:first-child){margin-top:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__content-inner .tox-form__group>.tox-dropdown-content{margin-top:0}.tox .tox-accordion__content-inner .tox-button-group{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__content-inner .tox-accordion__model-button{border-radius:var(--tox-private-control-border-radius,6px);align-items:center;appearance:none;background:0 0;border:none;color:inherit;cursor:pointer;display:flex;font-family:inherit;font-size:inherit;gap:var(--tox-private-pad-xs,4px);margin:0;outline:0;padding:6px calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));position:relative}.tox .tox-accordion__content-inner .tox-accordion__model-button::after{border-radius:var(--tox-private-control-border-radius,6px);bottom:0;box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,2px) var(--tox-private-keyboard-focus-outline-color,#fff);content:'';left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-accordion__content-inner .tox-accordion__model-button::after{border:2px solid highlight}}.tox .tox-accordion__content-inner .tox-accordion__model-button:focus{z-index:1}.tox .tox-accordion__content-inner .tox-accordion__model-button:focus::after{opacity:1}.tox .tox-accordion .tox-selectfield{align-items:center;background-color:var(--tox-private-background-color,#222f3e);border:1px solid var(--tox-private-border-color,#161f29);border-radius:var(--tox-private-control-border-radius,6px);box-sizing:border-box;display:flex;height:34px;padding:0 6px;position:relative;width:100%}.tox .tox-accordion .tox-selectfield:focus-within{box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,2px) var(--tox-private-keyboard-focus-outline-color,#fff);z-index:1}@media (forced-colors:active){.tox .tox-accordion .tox-selectfield:focus-within{border-color:highlight;box-shadow:0 0 0 2px highlight}}.tox .tox-accordion .tox-selectfield button{appearance:none;background:0 0;border:none;color:inherit;cursor:pointer;flex:1;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;outline:0;padding:5px 0;text-align:left}.tox .tox-accordion .tox-selectfield .tox-icon{display:flex;flex-shrink:0;padding:9px 0;pointer-events:none}.tox .tox-accordion .tox-selectfield .tox-icon svg{height:var(--tox-private-base-value,16px);width:var(--tox-private-base-value,16px)}.tox[dir=rtl] .tox-accordion__header{text-align:right}.tox[dir=rtl] .tox-accordion__header:not(.tox-accordion__header--icon-end) .tox-accordion__header-icon{margin-left:var(--tox-private-pad-sm,8px);margin-right:0}.tox[dir=rtl] .tox-accordion__header--icon-end .tox-accordion__header-icon{margin-right:auto;margin-left:0}.tox[dir=rtl] .tox-accordion__header--icon-end .tox-accordion__header-text{margin-left:var(--tox-private-pad-sm,8px);margin-right:0}.tox .tox-alert{align-items:flex-start;align-self:stretch;border-radius:var(--tox-private-panel-border-radius,6px);border-style:solid;border-width:1px;box-sizing:border-box;color:var(--tox-private-text-color,#fff);display:flex;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-normal,normal);gap:var(--tox-private-pad-xs,4px);line-height:var(--tox-private-line-height-base, 1.3);padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-sm,8px);width:100%}.tox .tox-alert--error{background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#222f3e) r g b / .8) 0,rgba(from var(--tox-private-background-color,#222f3e) r g b / .8) 100%),var(--tox-private-color-error,#c00);border-color:var(--tox-private-color-error,#c00)}.tox .tox-alert--warning{background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#222f3e) r g b / .8) 0,rgba(from var(--tox-private-background-color,#222f3e) r g b / .8) 100%),var(--tox-private-color-warning,#fc0);border-color:var(--tox-private-color-warning,#fc0)}.tox .tox-alert__body{display:flex;flex:1 0 0;flex-direction:column;min-width:0}.tox .tox-alert__content{align-items:center;display:flex;flex:1 0 0;gap:var(--tox-private-pad-sm,8px);padding:var(--tox-private-pad-sm,8px) 0}.tox .tox-alert__message{margin:0;text-align:left}.tox .tox-alert__actions{align-items:center;display:flex;flex-wrap:wrap;gap:var(--tox-private-pad-xs,4px);justify-content:flex-start}.tox .tox-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bottom-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bar{display:flex;flex:0 0 auto}.tox .tox-button{border-width:var(--tox-private-button-border-width,1px);border-style:var(--tox-private-button-border-style,solid);border-radius:var(--tox-private-control-border-radius,6px);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-button-font-size, 14px);font-style:var(--tox-private-button-font-style,normal);font-weight:var(--tox-private-button-font-weight,bold);line-height:var(--tox-private-control-line-height, 24px);padding:var(--tox-private-button-padding-y,4px) var(--tox-private-button-padding-x,16px);text-align:center;-webkit-text-decoration:none;text-decoration:none;text-transform:none;letter-spacing:normal;box-shadow:none;box-sizing:border-box;cursor:pointer;outline:0;position:relative;white-space:nowrap;display:inline-flex;justify-content:center;align-items:center;gap:var(--tox-private-pad-xs,4px)}.tox .tox-button::before{border-radius:var(--tox-private-control-border-radius,6px);bottom:calc(-1 * var(--tox-private-button-border-width,1px));box-shadow:var(--tox-private-button-focus-outline,inset 0 0 0 1px #fff,0 0 0 2px #006ce7);content:'';left:calc(-1 * var(--tox-private-button-border-width,1px));opacity:0;pointer-events:none;position:absolute;right:calc(-1 * var(--tox-private-button-border-width,1px));top:calc(-1 * var(--tox-private-button-border-width,1px))}.tox .tox-button:focus:not(:disabled){background-color:var(--tox-private-button-focus-background-color,#0060ce);background-image:none;border-color:var(--tox-private-button-focus-border-color,#0060ce);box-shadow:var(--tox-private-button-focus-box-shadow,none);color:var(--tox-private-button-focus-text-color,#fff)}.tox .tox-button:focus:not(:disabled)::before{opacity:1}.tox .tox-button.tox-button--icon,.tox .tox-button:has(.tox-icon:only-child){padding:4px}.tox .tox-button .tox-icon svg{display:block;fill:currentColor}.tox .tox-button .tox-icon.tox-icon--success svg{fill:var(--tox-private-color-success,#78AB46)}.tox .tox-button .tox-icon.tox-icon--error svg{fill:var(--tox-private-color-error,#c00)}.tox .tox-button--stretch{width:100%}.tox-context-form__group .tox-button--icon,.tox-context-form__group .tox-button.tox-button--icon{margin:6px 1px 5px 0;padding:0}.tox .tox-button{background-color:var(--tox-private-button-primary-background-color,#006ce7);background-image:none;background-position:0 0;background-repeat:repeat;color:var(--tox-private-button-primary-text-color,#fff);border-color:var(--tox-private-button-primary-border-color,#006ce7)}.tox .tox-button[disabled]{background-color:var(--tox-private-button-primary-disabled-background-color,#006ce7);background-image:none;border-color:var(--tox-private-button-primary-disabled-border-color,#006ce7);color:var(--tox-private-button-primary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button:focus:not(:disabled){background-color:var(--tox-private-button-primary-focus-background-color,#0060ce);border-color:var(--tox-private-button-primary-focus-border-color,#0060ce);color:var(--tox-private-button-primary-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button:hover:not(:disabled){background-color:var(--tox-private-button-primary-hover-background-color,#0060ce);border-color:var(--tox-private-button-primary-hover-border-color,#0060ce);color:var(--tox-private-button-primary-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button:active:not(:disabled){background-color:var(--tox-private-button-primary-active-background-color,#0054b4);border-color:var(--tox-private-button-primary-active-border-color,#0054b4);color:var(--tox-private-button-primary-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled{background-color:var(--tox-private-button-primary-enabled-background-color,#0054b4);border-color:var(--tox-private-button-primary-enabled-border-color,#0054b4);color:var(--tox-private-button-primary-enabled-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled[disabled]{color:var(--tox-private-button-primary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-primary-enabled-focus-background-color,#00489b);border-color:var(--tox-private-button-primary-enabled-focus-border-color,#00489b);color:var(--tox-private-button-primary-enabled-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-primary-enabled-hover-background-color,#00489b);border-color:var(--tox-private-button-primary-enabled-hover-border-color,#00489b);color:var(--tox-private-button-primary-enabled-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-primary-enabled-active-background-color,#003c81);border-color:var(--tox-private-button-primary-enabled-active-border-color,#003c81);color:var(--tox-private-button-primary-enabled-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary{background-color:var(--tox-private-button-secondary-background-color,#3d546f);border-color:var(--tox-private-button-secondary-border-color,#3d546f);color:var(--tox-private-button-secondary-text-color,#fff);border-style:solid;border-width:1px;background-image:none;background-position:0 0;background-repeat:repeat;border-radius:6px;box-shadow:none;font-size:14px;font-style:normal;font-weight:700;letter-spacing:normal;outline:0;padding:4px 16px;-webkit-text-decoration:none;text-decoration:none;text-transform:none}.tox .tox-button--secondary[disabled]{background-color:var(--tox-private-button-secondary-disabled-background-color,#3d546f);background-image:none;border-color:var(--tox-private-button-secondary-disabled-border-color,#3d546f);color:var(--tox-private-button-secondary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button--secondary:focus:not(:disabled){background-color:var(--tox-private-button-secondary-focus-background-color,#34485f);border-color:var(--tox-private-button-secondary-focus-border-color,#34485f);color:var(--tox-private-button-secondary-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary:hover:not(:disabled){background-color:var(--tox-private-button-secondary-hover-background-color,#34485f);border-color:var(--tox-private-button-secondary-hover-border-color,#34485f);color:var(--tox-private-button-secondary-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary:active:not(:disabled){background-color:var(--tox-private-button-secondary-active-background-color,#2b3b4e);border-color:var(--tox-private-button-secondary-active-border-color,#2b3b4e);color:var(--tox-private-button-secondary-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled{background-color:var(--tox-private-button-secondary-enabled-background-color,#599fef);border-color:var(--tox-private-button-secondary-enabled-border-color,#599fef);color:var(--tox-private-button-secondary-enabled-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled[disabled]{color:var(--tox-private-button-secondary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button--secondary.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-focus-background-color,#4292ed);border-color:var(--tox-private-button-secondary-enabled-focus-border-color,#4292ed);color:var(--tox-private-button-secondary-enabled-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-hover-background-color,#4292ed);border-color:var(--tox-private-button-secondary-enabled-hover-border-color,#4292ed);color:var(--tox-private-button-secondary-enabled-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-active-background-color,#2b85eb);border-color:var(--tox-private-button-secondary-enabled-active-border-color,#2b85eb);color:var(--tox-private-button-secondary-enabled-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--naked{background-color:transparent;border-color:transparent;box-shadow:unset;color:var(--tox-private-button-naked-text-color,#fff)}.tox .tox-button--naked[disabled]{background-color:transparent;border-color:transparent;color:var(--tox-private-button-naked-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button--naked:focus:not(:disabled){background-color:var(--tox-private-button-naked-focus-background-color,rgba(255,255,255,.2));border-color:var(--tox-private-button-naked-focus-border-color,transparent);color:var(--tox-private-button-naked-focus-text-color,#fff);box-shadow:unset}.tox .tox-button--naked:hover:not(:disabled){background-color:var(--tox-private-button-naked-hover-background-color,rgba(255,255,255,.2));border-color:var(--tox-private-button-naked-hover-background-color,transparent);color:var(--tox-private-button-naked-hover-text-color,#fff);box-shadow:unset}.tox .tox-button--naked:active:not(:disabled){background-color:var(--tox-private-button-naked-active-background-color,rgba(255,255,255,.3));border-color:var(--tox-private-button-naked-active-border-color,transparent);color:var(--tox-private-button-naked-active-text-color,#fff);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled{background-color:var(--tox-private-button-naked-enabled-background-color,#2b5c93);border-color:var(--tox-private-button-naked-enabled-border-color,#2b5c93);color:var(--tox-private-button-naked-enabled-text-color,#fff);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled[disabled]{color:var(--tox-private-button-naked-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button--naked.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-naked-enabled-focus-background-color,#254f80);border-color:var(--tox-private-button-naked-enabled-focus-border-color,#254f80);color:var(--tox-private-button-naked-enabled-focus-text-color,#fff);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-naked-enabled-hover-background-color,#254f80);border-color:var(--tox-private-button-naked-enabled-hover-border-color,#254f80);color:var(--tox-private-button-naked-enabled-hover-text-color,#fff);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-naked-enabled-active-background-color,#1f436c);border-color:var(--tox-private-button-naked-enabled-active-border-color,#1f436c);color:var(--tox-private-button-naked-enabled-active-text-color,#fff);box-shadow:unset}.tox .tox-button--secondary--outline{background-color:transparent;border-color:var(--tox-private-button-secondary-outline-border-color,#3d546f);color:var(--tox-private-button-secondary-outline-text-color,#fff)}.tox .tox-button--secondary--outline:focus:not(:disabled){background-color:var(--tox-private-button-secondary-outline-focus-background-color,#34485f);border-color:var(--tox-private-button-secondary-outline-focus-border-color,#34485f);color:var(--tox-private-button-secondary-outline-focus-text-color,#fff)}.tox .tox-button--secondary--outline:hover:not(:disabled){background-color:var(--tox-private-button-secondary-outline-hover-background-color,#3d546f);border-color:var(--tox-private-button-secondary-outline-hover-border-color,#34485f);color:var(--tox-private-button-secondary-outline-hover-text-color,#fff)}.tox .tox-button--secondary--outline:active:not(:disabled){background-color:var(--tox-private-button-secondary-outline-active-background-color,#34485f);border-color:var(--tox-private-button-secondary-outline-active-border-color,#34485f);color:var(--tox-private-button-secondary-outline-active-text-color,#fff)}.tox .tox-button--secondary--outline[disabled]{background-color:var(--tox-private-button-secondary-outline-disabled-background-color,transparent);border-color:var(--tox-private-button-secondary-outline-disabled-border-color,#3d546f);color:var(--tox-private-button-secondary-outline-disabled-text-color,rgba(255,255,255,.5))}.tox .tox-checkbox{align-items:center;border-radius:var(--tox-private-checkbox-border-radius,6px);cursor:pointer;display:flex;height:var(--tox-private-control-height,36px);min-width:var(--tox-private-control-height,36px)}.tox .tox-checkbox__input{height:1px;overflow:hidden;position:absolute;top:auto;width:1px}.tox .tox-checkbox__icons{display:flex;align-items:center;justify-content:center;box-sizing:content-box;padding:var(--tox-private-pad-xs,calc(4px - 1px));border-radius:var(--tox-private-checkbox-border-radius,6px);box-shadow:0 0 0 2px transparent;height:var(--tox-private-control-line-height,24px);aspect-ratio:1/1}.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:block;fill:var(--tox-private-checkbox-unselected-color,rgba(255,255,255,0.2))}@media (forced-colors:active){.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:currentColor!important}}.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:none;fill:var(--tox-private-checkbox-indeterminate-color,#006ce7)}.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg{display:none;fill:var(--tox-private-checkbox-selected-color,#006ce7)}.tox .tox-checkbox--disabled{color:var(--tox-private-checkbox-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(255,255,255,0.5))}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(255,255,255,0.5))}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(255,255,255,0.5))}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__checked svg{display:block}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:block}.tox input.tox-checkbox__input:focus+.tox-checkbox__icons{box-shadow:var(--tox-private-checkbox-focus-box-shadow,inset 0 0 0 1px #006ce7)}.tox:not([dir=rtl]) .tox-checkbox__label{margin-left:var(--tox-private-pad-xs,4px)}.tox:not([dir=rtl]) .tox-checkbox__input{left:-10000px}.tox:not([dir=rtl]) .tox-bar .tox-checkbox{margin-left:var(--tox-private-pad-xs,4px)}.tox[dir=rtl] .tox-checkbox__label{margin-right:var(--tox-private-pad-xs,4px)}.tox[dir=rtl] .tox-checkbox__input{right:-10000px}.tox[dir=rtl] .tox-bar .tox-checkbox{margin-right:var(--tox-private-pad-xs,4px)}.tox .tox-collection--toolbar .tox-collection__group{display:flex;padding:0}.tox .tox-collection--grid .tox-collection__group{display:flex;flex-wrap:wrap;max-height:208px;overflow-x:hidden;overflow-y:auto;padding:0}.tox .tox-collection--list .tox-collection__group{border-bottom-width:0;border-color:rgba(255,255,255,.15);border-left-width:0;border-right-width:0;border-style:solid;border-top-width:1px;padding:4px 0;display:flex;flex-direction:column}.tox .tox-collection--list .tox-collection__group:first-child{border-top-width:0}.tox .tox-collection__group-heading{background-color:rgba(255,255,255,.15);color:rgba(255,255,255,.5);cursor:default;font-size:12px;font-style:normal;font-weight:400;margin-bottom:4px;margin-top:-4px;padding:4px 8px;text-transform:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-collection__item{align-items:center;border-radius:3px;color:#fff;display:flex;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-image-selector-menu .tox-collection__item,.tox .tox-image-selector-menu .tox-collection__item-image-selector{flex-direction:column}.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-checkmark,.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-icon,.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-image,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-checkmark,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-icon,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-image{flex-grow:1}.tox .tox-image-selector-menu .tox-collection__item label,.tox .tox-image-selector-menu .tox-collection__item-image-selector label{width:48px;white-space:nowrap;overflow:hidden;font-size:12px;color:#fff;text-align:center;align-self:flex-end}.tox .tox-image-selector-menu .tox-collection__item-checkmark{height:24px;width:24px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.tox .tox-image-selector-menu .tox-collection__item-checkmark svg path{fill:#006ce7;stroke:#006ce7}.tox .tox-image-selector-menu .tox-image-selector__row .tox-collection__item-image-selector.tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#222f3e}.tox .tox-image-selector-menu .tox-image-selector__row .tox-collection__item-image-selector.tox-collection__item--enabled:not(.tox-collection__item--state-disabled){z-index:2;background-color:#222f3e;opacity:.8;background-clip:content-box}.tox .tox-collection--list .tox-collection__item{padding:4px 8px}.tox .tox-collection--toolbar .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--grid .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--list .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#2b3b4e;color:#fff}.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#006ce7;color:#fff}@media (forced-colors:active){.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){border:solid 1px}}.tox .tox-collection--grid .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#599fef;color:#fff}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#2f4055;color:#fff;position:relative;z-index:1}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff inset;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border:2px solid highlight}}.tox .tox-collection--toolbar .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#599fef;color:#fff}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){border-radius:3px;outline:solid 1px}}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled){color:#fff;background-color:#2b3b4e;position:relative}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):hover{background-color:#2f4055;color:#fff}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus{background-color:#2f4055;color:#fff}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border:2px solid highlight}}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):hover{border-radius:3px;outline:solid 1px}}.tox .tox-collection__item-image{border:1px solid #161f29;border-radius:6px;display:flex;flex-direction:column;justify-content:center;margin-bottom:4px;position:relative}.tox .tox-collection__item-checkmark,.tox .tox-collection__item-icon{align-items:center;display:flex;height:24px;justify-content:center;width:24px}.tox .tox-collection__item-checkmark svg,.tox .tox-collection__item-icon svg{fill:currentColor}.tox .tox-collection--toolbar-lg .tox-collection__item-icon{height:48px;width:48px}.tox .tox-collection__item-label{color:currentColor;display:inline-block;flex:1;font-size:14px;font-style:normal;font-weight:400;line-height:24px;max-width:100%;text-transform:none;word-break:break-all}.tox .tox-collection__item-separator{border-bottom:1px solid rgba(255,255,255,.15);height:0;margin:4px 0}.tox .tox-collection__item-accessory{color:currentColor;display:inline-block;font-size:14px;height:24px;line-height:24px;text-transform:none}.tox .tox-collection__item-caret{align-items:center;display:flex;min-height:24px}.tox .tox-collection__item-caret::after{content:'';font-size:0;min-height:inherit}.tox .tox-collection__item-caret svg{fill:currentColor}.tox .tox-collection__item--state-disabled{background-color:transparent;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg{fill:rgba(255,255,255,0.5)}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg{display:none}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-accessory+.tox-collection__item-checkmark{display:none}.tox .tox-collection--horizontal{background-color:#2b3b4e;border:1px solid rgba(255,255,255,.15);border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:nowrap;margin-bottom:0;overflow-x:auto;padding:0}.tox .tox-collection--horizontal .tox-collection__group{align-items:center;display:flex;flex-wrap:nowrap;margin:0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item{height:28px;margin:6px 1px 5px 0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item-label{white-space:nowrap}.tox .tox-collection--horizontal .tox-collection__item-caret{margin-left:4px}.tox .tox-collection__item-container{display:flex}.tox .tox-collection__item-container--row{align-items:center;flex:1 1 auto;flex-direction:row}.tox .tox-collection__item-container--row.tox-collection__item-container--align-left{margin-right:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--align-right{justify-content:flex-end;margin-left:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-top{align-items:flex-start;margin-bottom:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-middle{align-items:center}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-bottom{align-items:flex-end;margin-top:auto}.tox .tox-collection__item-container--column{align-self:center;flex:1 1 auto;flex-direction:column}.tox .tox-collection__item-container--column.tox-collection__item-container--align-left{align-items:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--align-right{align-items:flex-end}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-top{align-self:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-middle{align-self:center}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-bottom{align-self:flex-end}.tox:not([dir=rtl]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-right:1px solid transparent}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>:not(:first-child){margin-left:8px}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-left:4px}.tox:not([dir=rtl]) .tox-collection__item-accessory{margin-left:16px;text-align:right}.tox:not([dir=rtl]) .tox-collection .tox-collection__item-caret{margin-left:16px}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-left:1px solid transparent}.tox[dir=rtl] .tox-collection--list .tox-collection__item>:not(:first-child){margin-right:8px}.tox[dir=rtl] .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-right:4px}.tox[dir=rtl] .tox-collection__item-accessory{margin-right:16px;text-align:left}.tox[dir=rtl] .tox-collection .tox-collection__item-caret{margin-right:16px;transform:rotateY(180deg)}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__item-caret{margin-right:4px}@media (forced-colors:active){.tox .tox-hue-slider,.tox .tox-rgb-form .tox-rgba-preview{background-color:currentColor!important;border:1px solid highlight!important;forced-color-adjust:none}}.tox .tox-color-picker-container{display:flex;flex-direction:row;height:225px;margin:0}.tox .tox-sv-palette{box-sizing:border-box;display:flex;height:100%}.tox .tox-sv-palette-spectrum{height:100%}.tox .tox-sv-palette,.tox .tox-sv-palette-spectrum{width:225px}.tox .tox-sv-palette-thumb{background:0 0;border:1px solid #000;border-radius:50%;box-sizing:content-box;height:12px;position:absolute;width:12px}.tox .tox-sv-palette-inner-thumb{border:1px solid #fff;border-radius:50%;height:10px;position:absolute;width:10px}.tox .tox-hue-slider{box-sizing:border-box;height:100%;width:25px}.tox .tox-hue-slider-spectrum{background:linear-gradient(to bottom,red,#ff0080,#f0f,#8000ff,#00f,#0080ff,#0ff,#00ff80,#0f0,#80ff00,#ff0,#ff8000,red);height:100%;width:100%}.tox .tox-hue-slider,.tox .tox-hue-slider-spectrum{width:20px}.tox .tox-hue-slider-spectrum:focus,.tox .tox-sv-palette-spectrum:focus{outline:#08f solid}.tox .tox-hue-slider-thumb{background:#fff;border:1px solid #000;box-sizing:content-box;height:4px;width:100%}.tox .tox-rgb-form{display:flex;flex-direction:column;justify-content:space-between}.tox .tox-rgb-form div{align-items:center;display:flex;justify-content:space-between;margin-bottom:5px;width:inherit}.tox .tox-rgb-form input{min-width:6em}.tox .tox-rgb-form input.tox-invalid{border:1px solid red!important;box-shadow:0 0 0 1px red}.tox .tox-rgb-container{position:relative}.tox .tox-rgb-form .tox-invalid-icon{align-content:center;align-items:center;display:none;height:100%;position:absolute;right:0;top:0}.tox .tox-rgb-form .tox-invalid-icon .tox-control-wrap__status-icon-invalid{margin:0}.tox .tox-rgb-warning-note{background-color:#442632;border:1px solid #55212b;border-radius:3px;color:#e68080;padding:3px}.tox input.tox-invalid+.tox-invalid-icon{display:flex}.tox .tox-rgb-form .tox-rgba-preview{border:1px solid #000;flex-grow:2;margin-bottom:0}.tox:not([dir=rtl]) .tox-sv-palette{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider-thumb{margin-left:-1px}.tox:not([dir=rtl]) .tox-rgb-form label{margin-right:.5em}.tox[dir=rtl] .tox-sv-palette{margin-left:15px}.tox[dir=rtl] .tox-hue-slider{margin-left:15px}.tox[dir=rtl] .tox-hue-slider-thumb{margin-right:-1px}.tox[dir=rtl] .tox-rgb-form label{margin-left:.5em}.tox .tox-toolbar .tox-swatches,.tox .tox-toolbar__overflow .tox-swatches,.tox .tox-toolbar__primary .tox-swatches{margin:5px 0 6px 11px}.tox .tox-collection--list .tox-collection__group .tox-swatches-menu{border:0;margin:-4px -4px}.tox .tox-swatches__row{display:flex}@media (forced-colors:active){.tox .tox-swatches__row{forced-color-adjust:none}}.tox .tox-swatch{height:30px;transition:transform .15s,box-shadow .15s;width:30px}.tox .tox-swatch:focus,.tox .tox-swatch:hover{box-shadow:0 0 0 1px rgba(127,127,127,.3) inset;transform:scale(.8)}.tox .tox-swatch--remove{align-items:center;display:flex;justify-content:center}.tox .tox-swatch--remove svg path{stroke:#e74c3c}.tox .tox-swatches__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-swatches__picker-btn svg{fill:#fff;height:24px;width:24px}.tox .tox-swatches__picker-btn:hover{background:#2f4055}.tox div.tox-swatch:not(.tox-swatch--remove) svg{display:none;fill:#fff;height:24px;margin:calc((30px - 24px)/ 2) calc((30px - 24px)/ 2);width:24px}.tox div.tox-swatch:not(.tox-swatch--remove) svg path{fill:#fff;paint-order:stroke;stroke:#222f3e;stroke-width:2px}.tox div.tox-swatch:not(.tox-swatch--remove).tox-collection__item--enabled svg{display:block}.tox:not([dir=rtl]) .tox-swatches__picker-btn{margin-left:auto}.tox[dir=rtl] .tox-swatches__picker-btn{margin-right:auto}.tox .tox-comment{background:#222f3e;border:1px solid #222f3e;border-radius:6px;padding:8px;padding-bottom:16px;position:relative}.tox .tox-comment:hover{box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-comment.tox-comment--selected{background-color:#1b3b60;border:1px solid #006ce7;box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-comment.tox-comment--selected:focus{border:2px solid #fff;margin:-1px}.tox .tox-comment.tox-comment--selected:focus:not(:first-child){margin-top:7px}.tox .tox-comment.tox-comment--selected .tox-comment__single{margin-bottom:12px}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus{position:relative}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus::after{top:-9px;pointer-events:none;position:absolute;content:"";display:block;bottom:-9px;left:-9px;right:-9px;border-radius:6px;border:2px solid #fff}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus:last-of-type:has(textarea):after{bottom:calc((12px + 16px + 1px) * -1)}.tox .tox-comment__header{align-items:center;color:#fff;display:flex;justify-content:space-between}.tox .tox-comment__date{color:#fff;font-size:12px;line-height:18px}.tox .tox-comment__body{color:#fff;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;margin-top:8px;position:relative;text-transform:initial;transition:max-height .5s cubic-bezier(0, 1, 0, 1);white-space:pre-wrap}.tox .tox-comment__body.tox-comment__body--expanded{max-height:100em;transition:max-height 1s ease-in-out}.tox .tox-comment__body.tox-comment__body--pending{transition:max-height 0s}.tox .tox-comment__body p{margin:0}.tox .tox-comment__body textarea{resize:none;white-space:normal;width:100%;font-size:16px}.tox .tox-comment__loading-text{align-items:center;color:#fff;display:flex;flex-direction:column;position:relative}.tox .tox-comment__loading-text>div{padding-bottom:16px}.tox .tox-comment__overlaytext{bottom:0;flex-direction:column;font-size:14px;left:0;padding:1em;position:absolute;right:0;top:0;z-index:10}.tox .tox-comment__overlaytext p{background-color:#222f3e;box-shadow:0 0 8px 8px #222f3e;color:#fff;text-align:center}.tox .tox-comment__overlaytext div:nth-of-type(2){font-size:.8em}.tox .tox-comment__expander{padding-top:8px}.tox .tox-comment__expander p{color:rgba(255,255,255,.5);font-size:14px;font-style:normal}.tox .tox-comment__expander p:focus{font-weight:700}.tox .tox-comment__buttonspacing{padding-top:16px;text-align:center}.tox .tox-tbtn.tox-comment__mention-btn{display:flex;width:34px;height:34px;padding:5px;justify-content:center;align-items:center;margin:0;background-color:transparent}.tox .tox-comment-thread{background:#222f3e;position:relative;border-radius:6px;background-color:transparent}.tox .tox-comment-thread>:not(:first-child){margin-top:8px}.tox .tox-comment-thread__overlay::after{background:#222f3e;bottom:0;content:"";display:flex;left:0;opacity:.9;position:absolute;right:0;top:0;z-index:5}.tox .tox-comment__reply{display:flex;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__reply>:first-child{margin-bottom:8px;width:100%}.tox .tox-comment__edit{display:flex;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__gradient::after{background:linear-gradient(rgba(34,47,62,0),#222f3e);bottom:0;content:"";display:block;height:5em;margin-top:-40px;position:absolute;width:100%}.tox .tox-comment__overlay{background:#222f3e;bottom:0;display:flex;flex-direction:column;flex-grow:1;left:0;opacity:.9;position:absolute;right:0;text-align:center;top:0;z-index:5}.tox .tox-comment__busy-spinner{align-items:center;background-color:#222f3e;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:20}.tox .tox-comment__scroll{display:flex;flex-direction:column;flex-shrink:1;overflow:auto;padding:12px;scroll-behavior:smooth}.tox .tox-comment__scroll:has(textarea:focus){scroll-behavior:auto}.tox .tox-comment--disappearing{transition:opacity .5s ease}.tox .tox-comment[data-transitioning-destination=deleting]{opacity:0}.tox .tox-ring-loader{width:10px;height:10px;border:1px solid #fff;border-bottom-color:transparent;border-radius:50%;display:inline-block;box-sizing:border-box;animation:tox-rotation 1s linear infinite}.tox:not([dir=rtl]) .tox-comment__edit{margin-left:8px}.tox:not([dir=rtl]) .tox-comment__buttonspacing>:last-child,.tox:not([dir=rtl]) .tox-comment__edit>:last-child,.tox:not([dir=rtl]) .tox-comment__reply>:last-child{margin-left:8px}.tox[dir=rtl] .tox-comment__edit{margin-right:8px}.tox[dir=rtl] .tox-comment__buttonspacing>:last-child,.tox[dir=rtl] .tox-comment__edit>:last-child,.tox[dir=rtl] .tox-comment__reply>:last-child{margin-right:8px}.tox .tox-user{align-items:center;display:flex}.tox .tox-user__avatar svg{fill:rgba(255,255,255,0.5)}.tox .tox-user__avatar img{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-user__name{color:#fff;font-size:14px;font-style:normal;font-weight:700;line-height:18px;text-transform:none}.tox:not([dir=rtl]) .tox-user__avatar img,.tox:not([dir=rtl]) .tox-user__avatar svg{margin-right:8px}.tox:not([dir=rtl]) .tox-user__avatar+.tox-user__name{margin-left:8px}.tox[dir=rtl] .tox-user__avatar img,.tox[dir=rtl] .tox-user__avatar svg{margin-left:8px}.tox[dir=rtl] .tox-user__avatar+.tox-user__name{margin-right:8px}.tox .tox-dialog-wrap{align-items:center;display:flex;justify-content:center;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1100}.tox .tox-dialog-wrap__backdrop{background-color:rgba(34,47,62,.75);bottom:0;left:0;position:absolute;right:0;top:0;z-index:1}.tox .tox-dialog-wrap__backdrop--opaque{background-color:#222f3e}.tox .tox-dialog{background-color:#2b3b4e;border-color:#161f29;border-radius:10px;border-style:solid;border-width:0;box-shadow:0 16px 16px -10px rgba(34,47,62,.15),0 0 40px 1px rgba(34,47,62,.15);display:flex;flex-direction:column;max-height:100%;max-width:480px;overflow:hidden;position:relative;width:95vw;z-index:2}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog{align-self:flex-start;margin:8px auto;max-height:calc(100vh - 8px * 2);width:calc(100vw - 16px)}}.tox .tox-dialog-inline{z-index:1100}.tox .tox-dialog__header{align-items:center;background-color:#2b3b4e;border-bottom:none;color:#fff;display:flex;font-size:16px;justify-content:space-between;padding:8px 16px 0 16px;position:relative}.tox .tox-dialog__header .tox-button{z-index:1}.tox .tox-dialog__draghandle{cursor:grab;height:100%;left:0;position:absolute;top:0;width:100%}.tox .tox-dialog__draghandle:active{cursor:grabbing}.tox .tox-dialog__dismiss{margin-left:auto}.tox .tox-dialog__title{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:20px;font-style:normal;font-weight:400;line-height:1.3;margin:0;text-transform:none}.tox .tox-dialog__body{color:#fff;display:flex;flex:1;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;min-width:0;text-align:left;text-transform:none}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body{flex-direction:column}}.tox .tox-dialog__body-nav{align-items:flex-start;display:flex;flex-direction:column;flex-shrink:0;padding:16px 16px}@media only screen and (min-width:768px){.tox .tox-dialog__body-nav{max-width:11em}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body-nav{flex-direction:row;-webkit-overflow-scrolling:touch;overflow-x:auto;padding-bottom:0}}.tox .tox-dialog__body-nav-item{border-bottom:2px solid transparent;color:rgba(255,255,255,.5);display:inline-block;flex-shrink:0;font-size:14px;line-height:1.3;margin-bottom:8px;max-width:13em;-webkit-text-decoration:none;text-decoration:none}.tox .tox-dialog__body-nav-item:focus{background-color:rgba(0,108,231,.1)}.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid #67aeff;color:#67aeff}@media (forced-colors:active){.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid highlight;color:highlight}}.tox .tox-dialog__body-content{box-sizing:border-box;display:flex;flex:1;flex-direction:column;max-height:min(650px,calc(100vh - 110px));overflow:auto;-webkit-overflow-scrolling:touch;padding:16px 16px}.tox .tox-dialog__body-content>*{margin-bottom:0;margin-top:16px}.tox .tox-dialog__body-content>:first-child{margin-top:0}.tox .tox-dialog__body-content>:last-child{margin-bottom:0}.tox .tox-dialog__body-content>:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content a{color:#67aeff;cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content a:focus,.tox .tox-dialog__body-content a:hover{color:#cde5ff;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content a:focus-visible{border-radius:1px;outline:2px solid #67aeff;outline-offset:2px}.tox .tox-dialog__body-content a:active{color:#fff;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content svg{fill:#fff}.tox .tox-dialog__body-content strong{font-weight:700}.tox .tox-dialog__body-content ul{list-style-type:disc}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{padding-inline-start:2.5rem}.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{margin-bottom:16px}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content dt,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{display:block;margin-inline-end:0;margin-inline-start:0}.tox .tox-dialog__body-content .tox-form__group h1{color:#fff;font-size:20px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group h2{color:#fff;font-size:16px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group p{margin-bottom:16px}.tox .tox-dialog__body-content .tox-form__group h1:first-child,.tox .tox-dialog__body-content .tox-form__group h2:first-child,.tox .tox-dialog__body-content .tox-form__group p:first-child{margin-top:0}.tox .tox-dialog__body-content .tox-form__group h1:last-child,.tox .tox-dialog__body-content .tox-form__group h2:last-child,.tox .tox-dialog__body-content .tox-form__group p:last-child{margin-bottom:0}.tox .tox-dialog__body-content .tox-form__group h1:only-child,.tox .tox-dialog__body-content .tox-form__group h2:only-child,.tox .tox-dialog__body-content .tox-form__group p:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--center{text-align:center}.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--end{text-align:end}.tox .tox-dialog--width-lg{height:650px;max-width:1200px}.tox .tox-dialog--fullscreen{height:100%;max-width:100%}.tox .tox-dialog--fullscreen .tox-dialog__body-content{max-height:100%}.tox .tox-dialog--width-md{max-width:800px}.tox .tox-dialog--width-md .tox-dialog__body-content{overflow:auto}.tox .tox-dialog__body-content--centered{text-align:center}.tox .tox-dialog__footer{align-items:center;background-color:#2b3b4e;border-top:none;display:flex;justify-content:space-between;padding:8px 16px}.tox .tox-dialog__footer-end,.tox .tox-dialog__footer-start{display:flex}.tox .tox-dialog__busy-spinner{align-items:center;background-color:rgba(34,47,62,.75);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:3}.tox .tox-dialog__table{border-collapse:collapse;width:100%}.tox .tox-dialog__table thead th{font-weight:700;padding-bottom:8px}.tox .tox-dialog__table thead th:first-child{padding-right:8px}.tox .tox-dialog__table tbody tr{border-bottom:1px solid #000}.tox .tox-dialog__table tbody tr:last-child{border-bottom:none}.tox .tox-dialog__table td{padding-bottom:8px;padding-top:8px}.tox .tox-dialog__table td:first-child{padding-right:8px}.tox .tox-dialog__iframe{min-height:200px}.tox .tox-dialog__iframe.tox-dialog__iframe--opaque{background:#fff}.tox .tox-navobj-bordered{position:relative}.tox .tox-navobj-bordered::before{border:1px solid #161f29;border-radius:6px;content:'';inset:0;opacity:1;pointer-events:none;position:absolute;z-index:1}.tox .tox-navobj-bordered iframe{border-radius:6px}.tox .tox-navobj-bordered-focus.tox-navobj-bordered::before{border-color:#006ce7;box-shadow:0 0 0 1px #006ce7;outline:0}.tox .tox-dialog__popups{position:absolute;width:100%;z-index:1100}.tox .tox-dialog__body-iframe{display:flex;flex:1;flex-direction:column}.tox .tox-dialog__body-iframe .tox-navobj{display:flex;flex:1}.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2){flex:1;height:100%}.tox .tox-dialog-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-dialog-dock-fadein{opacity:1;visibility:visible}.tox .tox-dialog-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein{transition-delay:0s}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav{margin-right:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav-item:not(:first-child){margin-left:8px}}.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-end>*,.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-start>*{margin-left:8px}.tox[dir=rtl] .tox-dialog__body{text-align:right}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav{margin-left:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav-item:not(:first-child){margin-right:8px}}.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-end>*,.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-start>*{margin-right:8px}.tox .tox-dropdown-content{box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);position:fixed;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;overflow:auto;height:fit-content;width:fit-content;border-radius:var(--tox-private-panel-border-radius,6px);background-color:var(--tox-private-background-color,#222f3e);max-height:50vh}.tox .tox-dropdown-content .tox-menu{width:100%;box-shadow:none}body.tox-dialog__disable-scroll{overflow:hidden}.tox .tox-dropzone-container{display:flex;flex:1}.tox .tox-dropzone{align-items:center;background:#fff;border:2px dashed #161f29;box-sizing:border-box;display:flex;flex-direction:column;flex-grow:1;justify-content:center;min-height:100px;padding:10px}.tox .tox-dropzone p{color:rgba(255,255,255,.5);margin:0 0 16px 0}.tox .tox-edit-area{display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-edit-area::before{border:2px solid #fff;border-radius:4px;content:'';inset:0;opacity:0;pointer-events:none;position:absolute;transition:opacity .15s;z-index:1}@media (forced-colors:active){.tox .tox-edit-area::before{border:2px solid highlight}}.tox .tox-edit-area__iframe{background-color:#fff;border:0;box-sizing:border-box;flex:1;height:100%;position:absolute;width:100%}.tox.tox-edit-focus .tox-edit-area::before{opacity:1}.tox.tox-inline-edit-area{border:1px dotted #161f29}.tox .tox-expandable-box{background:var(--tox-private-background-color,#222f3e);border-radius:var(--tox-private-control-border-radius,6px);border:1px solid var(--tox-private-border-color,#161f29);display:flex;flex-direction:column;justify-content:stretch;overflow:hidden}.tox .tox-expandable-box>.tox-button{margin:0 var(--tox-private-pad-md,16px) var(--tox-private-pad-md,16px)}.tox .tox-expandable-box__title{align-items:center;background:hsl(from var(--tox-private-color-tint,#006ce7) h s l / 10%);border-bottom:1px solid var(--tox-private-border-color,#161f29);color:var(--tox-private-text-color,#fff);display:flex;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);gap:var(--tox-private-pad-sm,8px);min-width:0;padding:var(--tox-private-pad-sm,8px) var(--tox-private-pad-md,16px)}.tox .tox-expandable-box__title .tox-icon{flex-shrink:0;height:var(--tox-private-base-value,16px);fill:var(--tox-private-text-color,#fff)}.tox .tox-expandable-box__title-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-expandable-box__content{margin:var(--tox-private-pad-md,16px);overflow:auto}.tox .tox-expandable-box__content--overflowing{position:relative;overflow:hidden}.tox .tox-expandable-box__content--overflowing::after{content:'';position:absolute;bottom:0;left:0;right:0;height:min(100px,100%);pointer-events:none;background:linear-gradient(to bottom,transparent 50%,var(--tox-private-background-color,#222f3e))}.tox .tox-expandable-box__content--expanded{max-height:fit-content}.tox .tox-control-wrap{flex:1;position:relative}.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid,.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown,.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid{display:none}.tox .tox-control-wrap svg{display:block}.tox .tox-control-wrap__status-icon-wrap{position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-control-wrap__status-icon-invalid svg{fill:#c00}.tox .tox-control-wrap__status-icon-unknown svg{fill:orange}.tox .tox-control-wrap__status-icon-valid svg{fill:green}.tox:not([dir=rtl]) .tox-control-wrap--status-invalid .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-unknown .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-valid .tox-textfield{padding-right:32px}.tox:not([dir=rtl]) .tox-control-wrap__status-icon-wrap{right:4px}.tox[dir=rtl] .tox-control-wrap--status-invalid .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-unknown .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-valid .tox-textfield{padding-left:32px}.tox[dir=rtl] .tox-control-wrap__status-icon-wrap{left:4px}.tox .tox-custom-preview{border-color:#161f29;border-radius:6px;border-style:solid;border-width:1px;flex:1;padding:8px}.tox .tox-autocompleter{max-width:25em}.tox .tox-autocompleter .tox-menu{box-sizing:border-box;max-width:25em}.tox .tox-autocompleter .tox-autocompleter-highlight{font-weight:700}.tox .tox-color-input{display:flex;position:relative;z-index:1}.tox .tox-color-input .tox-textfield{z-index:-1}.tox .tox-color-input span{border-color:rgba(34 47 62 / 20%);border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;height:24px;position:absolute;top:6px;width:24px}@media (forced-colors:active){.tox .tox-color-input span{border-color:currentColor;border-width:2px!important;forced-color-adjust:none}}.tox .tox-color-input span:focus:not([aria-disabled=true]),.tox .tox-color-input span:hover:not([aria-disabled=true]){border-color:#006ce7;cursor:pointer}.tox .tox-color-input span::before{background-image:linear-gradient(45deg,rgba(255,255,255,.25) 25%,transparent 25%),linear-gradient(-45deg,rgba(255,255,255,.25) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(255,255,255,.25) 75%),linear-gradient(-45deg,transparent 75%,rgba(255,255,255,.25) 75%);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px;border:1px solid #2b3b4e;border-radius:6px;box-sizing:border-box;content:'';height:24px;left:-1px;position:absolute;top:-1px;width:24px;z-index:-1}@media (forced-colors:active){.tox .tox-color-input span::before{border:none}}.tox .tox-color-input span[aria-disabled=true]{cursor:not-allowed}.tox:not([dir=rtl]) .tox-color-input .tox-textfield{padding-left:36px}.tox:not([dir=rtl]) .tox-color-input span{left:6px}.tox[dir=rtl] .tox-color-input .tox-textfield{padding-right:36px}.tox[dir=rtl] .tox-color-input span{right:6px}.tox .tox-label,.tox .tox-toolbar-label{color:rgba(255,255,255,.5);display:block;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;padding:0 8px 0 0;text-transform:none;white-space:nowrap}.tox .tox-toolbar-label{padding:0 8px}.tox[dir=rtl] .tox-label{padding:0 0 0 8px}.tox .tox-form{display:flex;flex:1;flex-direction:column}.tox .tox-form__group{box-sizing:border-box;margin-bottom:4px}.tox .tox-form-group--maximize{flex:1}.tox .tox-form__group--error{color:#c00}.tox .tox-form__group--collection{display:flex}.tox .tox-form__grid{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}.tox .tox-form__grid--2col>.tox-form__group{width:calc(50% - (8px / 2))}.tox .tox-form__grid--3col>.tox-form__group{width:calc(100% / 3 - (8px / 2))}.tox .tox-form__grid--4col>.tox-form__group{width:calc(25% - (8px / 2))}.tox .tox-form__controls-h-stack{align-items:center;display:flex}.tox .tox-form__group--inline{align-items:center;display:flex}.tox .tox-form__group--stretched{display:flex;flex:1;flex-direction:column}.tox .tox-form__group--stretched .tox-textarea{flex:1}.tox .tox-form__group--stretched .tox-navobj{display:flex;flex:1}.tox .tox-form__group--stretched .tox-navobj :nth-child(2){flex:1;height:100%}.tox:not([dir=rtl]) .tox-form__controls-h-stack>:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-form__controls-h-stack>:not(:first-child){margin-right:4px}.tox .tox-lock.tox-locked .tox-lock-icon__unlock,.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock{display:none}.tox .tox-context-form__group .tox-button--icon.tox-lock-context-form-size-input{margin-left:8px;margin-right:8px}.tox .tox-listboxfield .tox-listbox--select,.tox .tox-textarea,.tox .tox-textarea-wrap .tox-textarea:focus,.tox .tox-textfield,.tox .tox-toolbar-textfield{appearance:none;background-color:#2b3b4e;border-color:#161f29;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 5.5px;resize:none;width:100%}.tox .tox-textarea[disabled],.tox .tox-textfield[disabled],.tox .tox-toolbar-textfield[disabled]{background-color:#222f3e;color:rgba(255,255,255,.85);cursor:not-allowed}.tox .tox-custom-editor:focus-within,.tox .tox-focusable-wrapper:focus,.tox .tox-listboxfield .tox-listbox--select:focus,.tox .tox-textarea-wrap:focus-within,.tox .tox-textarea:focus,.tox .tox-textfield:focus,.tox .tox-toolbar-textfield:focus{background-color:#2b3b4e;border-color:#006ce7;box-shadow:0 0 0 1px #006ce7;outline:0}.tox .tox-toolbar-textfield{max-width:250px;min-height:unset;height:28px;margin:5px 0 6px 0}.tox .tox-naked-btn{background-color:transparent;border:0;border-color:transparent;box-shadow:unset;color:#006ce7;cursor:pointer;display:block;margin:0;padding:0}.tox .tox-naked-btn svg{display:block;fill:#fff}.tox .tox-textfield-size{width:80px}.tox:not([dir=rtl]) .tox-toolbar-textfield+*{margin-left:4px}.tox[dir=rtl] .tox-toolbar-textfield+*{margin-right:4px}.tox .tox-listboxfield{cursor:pointer;position:relative}.tox .tox-listboxfield .tox-listbox--select[disabled]{background-color:#19232e;color:rgba(255,255,255,.85);cursor:not-allowed}.tox .tox-listbox__select-label{cursor:default;flex:1;margin:0 4px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-listbox__menu .tox-menu{box-sizing:border-box}.tox .tox-listbox__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-listbox__select-chevron svg{fill:#fff}@media (forced-colors:active){.tox .tox-listbox__select-chevron svg{fill:currentColor!important}}.tox .tox-listboxfield .tox-listbox--select{align-items:center;display:flex}.tox:not([dir=rtl]) .tox-listboxfield svg{right:8px}.tox[dir=rtl] .tox-listboxfield svg{left:8px}.tox .tox-selectfield{cursor:pointer;position:relative}.tox .tox-selectfield select{appearance:none;background-color:#2b3b4e;border-color:#161f29;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 5.5px;resize:none;width:100%}.tox .tox-selectfield select[disabled]{background-color:#19232e;color:rgba(255,255,255,.85);cursor:not-allowed}.tox .tox-selectfield select::-ms-expand{display:none}.tox .tox-selectfield select:focus{background-color:#2b3b4e;border-color:#006ce7;box-shadow:0 0 0 1px #006ce7;outline:0}.tox .tox-selectfield svg{pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-selectfield select option:checked{background-color:revert;color:revert}.tox:not([dir=rtl]) .tox-selectfield select[size="0"],.tox:not([dir=rtl]) .tox-selectfield select[size="1"]{padding-right:24px}.tox:not([dir=rtl]) .tox-selectfield svg{right:8px}.tox[dir=rtl] .tox-selectfield select[size="0"],.tox[dir=rtl] .tox-selectfield select[size="1"]{padding-left:24px}.tox[dir=rtl] .tox-selectfield svg{left:8px}.tox .tox-textarea-wrap{border-color:#161f29;border-radius:6px;border-style:solid;border-width:1px;display:flex;flex:1;overflow:hidden}.tox .tox-textarea{appearance:textarea;white-space:pre-wrap}.tox .tox-textarea-wrap .tox-textarea{border:none}.tox .tox-textarea-wrap .tox-textarea:focus{border:none}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}.tox .tox-help__more-link{list-style:none;margin-top:1em}.tox .tox-imagepreview{background-color:#666;height:380px;overflow:hidden;position:relative;width:100%}.tox .tox-imagepreview.tox-imagepreview__loaded{overflow:auto}.tox .tox-imagepreview__container{display:flex;left:100vw;position:absolute;top:100vw}.tox .tox-imagepreview__image{background:url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==)}.tox .tox-image-tools .tox-spacer{flex:1}.tox .tox-image-tools .tox-bar{align-items:center;display:flex;height:60px;justify-content:center}.tox .tox-image-tools .tox-imagepreview,.tox .tox-image-tools .tox-imagepreview+.tox-bar{margin-top:8px}.tox .tox-image-tools .tox-croprect-block{background:#000;opacity:.5;position:absolute;zoom:1}.tox .tox-image-tools .tox-croprect-handle{border:2px solid #fff;height:20px;left:0;position:absolute;top:0;width:20px}.tox .tox-image-tools .tox-croprect-handle-move{border:0;cursor:move;position:absolute}.tox .tox-image-tools .tox-croprect-handle-nw{border-width:2px 0 0 2px;cursor:nw-resize;left:100px;margin:-2px 0 0 -2px;top:100px}.tox .tox-image-tools .tox-croprect-handle-ne{border-width:2px 2px 0 0;cursor:ne-resize;left:200px;margin:-2px 0 0 -20px;top:100px}.tox .tox-image-tools .tox-croprect-handle-sw{border-width:0 0 2px 2px;cursor:sw-resize;left:100px;margin:-20px 2px 0 -2px;top:200px}.tox .tox-image-tools .tox-croprect-handle-se{border-width:0 2px 2px 0;cursor:se-resize;left:200px;margin:-20px 0 0 -20px;top:200px}.tox .tox-image-selector-loading-spinner-wrapper{display:flex;justify-content:center;align-items:center}.tox .tox-image-selector-loading-spinner{position:absolute;width:min(24px,30%);aspect-ratio:1/1;border-radius:50%;border:3px solid #006ce7;border-bottom-color:transparent;animation:tox-rotation 1s linear infinite}.tox .tox-toolbar .tox-image-selector,.tox .tox-toolbar__overflow .tox-image-selector,.tox .tox-toolbar__primary .tox-image-selector{margin:5px 0 6px 11px}.tox .tox-image-selector-menu{border:0;border-radius:3px;margin:-4px -4px;padding:4px}.tox .tox-image-selector-menu .tox-collection--list .tox-collection__group{border:0;padding:0;margin:-4px -4px}.tox .tox-image-selector-menu .tox-collection__item{max-width:48px}.tox .tox-image-selector-menu .tox-collection__item-icon{border:1px solid #161f29;border-radius:3px;margin-bottom:4px;width:100%}.tox .tox-image-selector-menu .tox-collection__item-icon svg path{stroke:#c00}.tox .tox-image-selector__row{display:flex}.tox .tox-image-selector--remove{align-items:center;display:flex;justify-content:center}.tox .tox-image-selector--remove svg path{stroke:#c00}.tox .tox-image-selector-image-wrapper{width:46px;height:46px;display:flex;align-items:center;justify-content:center}.tox .tox-image-selector-image-img{max-width:100%;max-height:100%}.tox .tox-image-selector__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-image-selector__picker-btn svg{fill:#fff;height:24px;width:24px}.tox .tox-image-selector__picker-btn:hover{background:#2f4055}.tox .tox-context-toolbar{position:absolute;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;z-index:1150;background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color,#fff);border:1px solid #364a62;border-radius:6px;box-shadow:0 2px 8px rgba(0,0,0,.08);padding:8px}.tox .tox-context-toolbar[popover]{inset:auto;margin:0}.tox .tox-context-toolbar .tox-toolbar{display:flex;flex-wrap:nowrap;gap:8px}.tox .tox-context-toolbar .tox-toolbar__group{display:flex;flex-wrap:nowrap;flex-shrink:0;gap:8px;align-items:center;padding:0}.tox .tox-insert-table-picker{background-color:#222f3e;display:flex;flex-wrap:wrap;width:170px}.tox .tox-insert-table-picker>div{border-color:rgba(255,255,255,.15);border-style:solid;border-width:0 1px 1px 0;box-sizing:border-box;height:17px;width:17px}.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker{margin:-4px -4px}.tox .tox-insert-table-picker .tox-insert-table-picker__selected{background-color:#006ce7;border-color:rgba(255,255,255,.15)}@media (forced-colors:active){.tox .tox-insert-table-picker .tox-insert-table-picker__selected{border-color:Highlight;filter:contrast(50%)}}.tox .tox-insert-table-picker__label{color:#fff;display:block;font-size:14px;padding:4px;text-align:center;width:100%}.tox:not([dir=rtl]) .tox-insert-table-picker>div:nth-child(10n){border-right:0}.tox[dir=rtl] .tox-insert-table-picker>div:nth-child(10n+1){border-right:0}.tox-mentions__card-common{z-index:1200}.tox.tox-mentions__card{background:#222f3e;border:1px solid #161f29;display:flex;padding:4px 8px}.tox.tox-mentions__card .tox-mentions__container{display:flex;flex-direction:column;align-self:center;margin:0 4px}.tox .tox-mentions__avatar{width:42px;height:42px;border-radius:50%;margin-right:4px}.tox .tox-mentions__username{font-size:14px;line-height:21px;color:#fff}.tox .tox-mentions__description{font-size:12px;line-height:21px;color:rgba(255,255,255,.5)}.tox .tox-collection__item--active .tox-mentions__description,.tox .tox-collection__item--active .tox-mentions__username{color:inherit}.tox .tox-menu{background-color:#2b3b4e;border:1px solid rgba(255,255,255,.15);border-radius:6px;box-shadow:none;display:inline-block;overflow:hidden;vertical-align:top;z-index:1150}.tox .tox-menu.tox-collection.tox-collection--list{padding:0 4px}.tox .tox-menu.tox-collection.tox-collection--toolbar{padding:8px}.tox .tox-menu.tox-collection.tox-collection--grid{padding:8px}@media only screen and (min-width:768px){.tox .tox-menu .tox-collection__item-label{overflow-wrap:break-word;word-break:normal}.tox .tox-dialog__popups .tox-menu .tox-collection__item-label{word-break:break-all}}.tox .tox-menu__label blockquote,.tox .tox-menu__label code,.tox .tox-menu__label h1,.tox .tox-menu__label h2,.tox .tox-menu__label h3,.tox .tox-menu__label h4,.tox .tox-menu__label h5,.tox .tox-menu__label h6,.tox .tox-menu__label p{margin:0}.tox .tox-menubar{background:repeating-linear-gradient(transparent 0 1px,transparent 1px 39px) center top 39px/100% calc(100% - 39px) no-repeat;background-color:#222f3e;display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;grid-column:1/-1;grid-row:1;padding:0 11px 0 12px}.tox .tox-promotion+.tox-menubar{grid-column:1}@media (max-width:480px){.tox:not(.tox-tinymce-inline) .tox-menubar{flex-wrap:nowrap;min-width:0;min-height:39px;overflow-x:auto;overflow-y:hidden}}.tox .tox-promotion{background:repeating-linear-gradient(transparent 0 1px,transparent 1px 39px) center top 39px/100% calc(100% - 39px) no-repeat;background-color:#222f3e;grid-column:2;grid-row:1;padding-inline-end:8px;padding-inline-start:4px;padding-top:5px}.tox .tox-promotion-link{align-items:unsafe center;background-color:#e8f1f8;border-radius:5px;color:#086be6;cursor:pointer;display:flex;font-size:14px;height:26.6px;padding:4px 8px;white-space:nowrap}.tox .tox-promotion-link:hover{background-color:#b4d7ff}.tox .tox-promotion-link:focus{background-color:#d9edf7}.tox .tox-mbtn{align-items:center;background:#222f3e;border:0;border-radius:3px;box-shadow:none;color:#fff;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;justify-content:center;margin:5px 1px 6px 0;outline:0;padding:0 4px;text-transform:none;width:auto}.tox .tox-mbtn[disabled]{background-color:#222f3e;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-mbtn:focus:not(:disabled){background:#222f3e;border:0;box-shadow:none;color:#fff;position:relative;z-index:1}.tox .tox-mbtn:focus:not(:disabled)::after{pointer-events:none;border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-mbtn:focus:not(:disabled)::after{border:2px solid highlight}}.tox .tox-mbtn--active,.tox .tox-mbtn:not(:disabled).tox-mbtn--active:focus{background:#599fef;border:0;box-shadow:none;color:#fff}.tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active){background:#2f4055;border:0;box-shadow:none;color:#fff}.tox .tox-mbtn__select-label{cursor:default;font-weight:400;margin:0 4px}.tox .tox-mbtn[disabled] .tox-mbtn__select-label{cursor:not-allowed}.tox .tox-mbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px;display:none}.tox .tox-notification{border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;display:grid;font-size:14px;font-weight:400;grid-template-columns:minmax(40px,1fr) auto minmax(40px,1fr);margin-left:auto;margin-right:auto;margin-top:4px;opacity:0;padding:4px;transition:transform .1s ease-in,opacity 150ms ease-in;width:max-content}.tox .tox-notification a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification p{font-size:14px;font-weight:400}.tox .tox-notification:focus{border-color:#006ce7;box-shadow:0 0 0 1px #006ce7}.tox .tox-notification--in{opacity:1}.tox .tox-notification--success{background-color:#334840;border-color:#3c5440;color:#fff}.tox .tox-notification--success p{color:#fff}.tox .tox-notification--success a{color:#b5d199}.tox .tox-notification--success a:focus,.tox .tox-notification--success a:hover{color:#82b153;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--success a:focus-visible{border-radius:1px;outline:2px solid #b5d199;outline-offset:2px}.tox .tox-notification--success a:active{color:#689041;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--success svg{fill:#fff}.tox .tox-notification--error{background-color:#442632;border-color:#55212b;color:#fff}.tox .tox-notification--error p{color:#fff}.tox .tox-notification--error a{color:#e68080}.tox .tox-notification--error a:focus,.tox .tox-notification--error a:hover{color:#d42b2b;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--error a:focus-visible{border-radius:1px;outline:2px solid #e68080;outline-offset:2px}.tox .tox-notification--error a:active{color:#a22;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--error svg{fill:#fff}.tox .tox-notification--warn,.tox .tox-notification--warning{background-color:#222f3e;border-color:rgba(255,255,255,.15);color:#fff0b3}.tox .tox-notification--warn p,.tox .tox-notification--warning p{color:#fff0b3}.tox .tox-notification--warn a,.tox .tox-notification--warning a{color:#fc0}.tox .tox-notification--warn a:focus,.tox .tox-notification--warn a:hover,.tox .tox-notification--warning a:focus,.tox .tox-notification--warning a:hover{color:#997a00;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--warn a:focus-visible,.tox .tox-notification--warning a:focus-visible{border-radius:1px;outline:2px solid #ffcc00;outline-offset:2px}.tox .tox-notification--warn a:active,.tox .tox-notification--warning a:active{color:#665200;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--warn svg,.tox .tox-notification--warning svg{fill:#fff0b3}.tox .tox-notification--info{background-color:#254161;border-color:#264972;color:#fff}.tox .tox-notification--info p{color:#fff}.tox .tox-notification--info a{color:#83b7f3}.tox .tox-notification--info a:focus,.tox .tox-notification--info a:hover{color:#2681ea;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--info a:focus-visible{border-radius:1px;outline:2px solid #83b7f3;outline-offset:2px}.tox .tox-notification--info a:active{color:#1368c9;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--info svg{fill:#fff}.tox .tox-notification__body{align-self:center;color:#fff;font-size:14px;grid-column-end:3;grid-column-start:2;grid-row-end:2;grid-row-start:1;text-align:center;white-space:normal;word-break:break-all;word-break:break-word}.tox .tox-notification__body>*{margin:0}.tox .tox-notification__body>*+*{margin-top:1rem}.tox .tox-notification__icon{align-self:center;grid-column-end:2;grid-column-start:1;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification__icon svg{display:block}.tox .tox-notification__dismiss{align-self:start;grid-column-end:4;grid-column-start:3;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification .tox-progress-bar{grid-column-end:4;grid-column-start:1;grid-row-end:3;grid-row-start:2;justify-self:center}.tox .tox-notification-container-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-notification-container-dock-fadein{opacity:1;visibility:visible}.tox .tox-notification-container-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-notification-container-dock-transition.tox-notification-container-dock-fadein{transition-delay:0s}.tox .tox-onboarding-overlay{height:100%;background-color:#17202a;position:absolute;top:0;left:0;right:0;z-index:1302;overflow:auto;display:grid;justify-content:center;align-items:center}.tox .tox-onboarding-dialog{max-width:512px;background-color:#222f3e;display:flex;flex-direction:column;box-shadow:0 16px 16px -10px rgba(34,47,62,.15),0 0 40px 1px rgba(34,47,62,.15);border-radius:12px;margin:8px}.tox .tox-onboarding-dialog .tox-onboarding-header{color:#fff;display:flex;justify-content:center;align-items:center;font-size:20px;margin:24px 0 8px}.tox .tox-onboarding-dialog .tox-onboarding-step{display:grid;grid-template-columns:min-content 1fr min-content;align-items:center;margin:0 24px}.tox .tox-onboarding-dialog .tox-onboarding-step:not(:last-child){border-bottom:1px solid rgba(255,255,255,.15)}.tox .tox-onboarding-dialog .tox-onboarding-step--number{width:24px;aspect-ratio:1/1;border-radius:50%;border:1px solid #00ad0e;display:flex;justify-content:center;align-items:center;font-size:12px;font-weight:700;color:#00ad0e}.tox .tox-onboarding-dialog .tox-onboarding-step--body{padding:24px 0 24px 16px}.tox .tox-onboarding-dialog .tox-onboarding-step--body-header{color:#fff;font-size:14px;font-weight:700;margin-bottom:4px}.tox .tox-onboarding-dialog .tox-onboarding-step--body-details{color:rgba(255,255,255,.5);font-size:14px}.tox .tox-onboarding-dialog .tox-onboarding-step--action{padding-left:24px}.tox .tox-onboarding-dialog .tox-onboarding-footer{background-color:#2b3b4e;display:flex;justify-content:space-between;align-items:center;padding:16px 24px;border-bottom-left-radius:12px;border-bottom-right-radius:12px}.tox .tox-onboarding-dialog .tox-onboarding-footer p{display:flex;align-items:center;justify-content:center;gap:4px;font-size:14px;color:rgba(255,255,255,.5)}.tox .tox-onboarding-dialog svg{width:24px;fill:rgba(255,255,255,0.5)}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin{display:grid;align-items:center;grid-template-columns:min-content 1fr min-content;border-bottom:1px solid rgba(255,255,255,.15);padding:24px 0;margin:0 16px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body{margin:0 16px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body .tox-promotion-dialog-plugin-header{color:#fff;font-size:14px;font-weight:700;margin-bottom:4px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body .tox-promotion-dialog-plugin-details{color:rgba(255,255,255,.5);font-size:14px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--icon{display:grid;place-content:center;width:56px;height:56px;line-height:24px;font-size:24px;border-radius:12px;background:linear-gradient(180deg,#2b3b4e 24%,#202d3b 100%);box-shadow:0 1px 1px 0 #222f3e12,0 3px 6px 0 #222f3e06;color:#006ce7}.tox .tox-promotion-dialog--subtitle{margin:16px;color:rgba(255,255,255,.5);font-size:14px}.tox .tox-promotion-dialog--explore{text-align:center;margin:16px;color:rgba(255,255,255,.5);font-size:14px}.tox .tox-promotion-dialog--explore a{color:#006ce7}.tox .tox-promotion-dialog--footer{background-color:#17202a;color:rgba(255,255,255,.5);font-size:12px;text-align:center;padding:16px}.tox .tox-promotion-button{display:flex;align-items:center;height:26.6px;line-height:26.6px;font-size:14px;font-weight:700;background-color:#55367a;color:#c290fb;padding:8px 16px;cursor:pointer;white-space:nowrap;border-radius:5px}.tox .tox-promotion-button:focus{outline:1px solid #C290FB}.tox .tox-onboarding-dialog a,.tox .tox-promotion-dialog--footer a{color:rgba(255,255,255,.5);cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-onboarding-dialog a:focus,.tox .tox-onboarding-dialog a:hover,.tox .tox-promotion-dialog--footer a:focus,.tox .tox-promotion-dialog--footer a:hover{color:#cde5ff;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-onboarding-dialog a:focus-visible,.tox .tox-promotion-dialog--footer a:focus-visible{border-radius:1px;outline:2px solid #67aeff;outline-offset:2px}.tox .tox-onboarding-dialog a:active,.tox .tox-promotion-dialog--footer a:active{color:#fff;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-pop{display:inline-block;position:relative}.tox .tox-pop--resizing{transition:width .1s ease}.tox .tox-pop--resizing .tox-toolbar,.tox .tox-pop--resizing .tox-toolbar__group{flex-wrap:nowrap}.tox .tox-pop--transition{transition:.15s ease;transition-property:left,right,top,bottom}.tox .tox-pop--transition::after,.tox .tox-pop--transition::before{transition:all .15s,visibility 0s,opacity 75ms ease 75ms}.tox .tox-pop__dialog{background-color:#222f3e;border:1px solid #161f29;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);min-width:0;overflow:hidden}.tox .tox-pop__dialog>:not(.tox-toolbar){margin:4px 4px 4px 8px}.tox .tox-pop__dialog .tox-toolbar{background-color:transparent;margin-bottom:-1px}.tox .tox-pop::after,.tox .tox-pop::before{border-style:solid;content:'';display:block;height:0;opacity:1;position:absolute;width:0}@media (forced-colors:active){.tox .tox-pop::after,.tox .tox-pop::before{content:none}}.tox .tox-pop.tox-pop--inset::after,.tox .tox-pop.tox-pop--inset::before{opacity:0;transition:all 0s .15s,visibility 0s,opacity 75ms ease}.tox .tox-pop.tox-pop--bottom::after,.tox .tox-pop.tox-pop--bottom::before{left:50%;top:100%}.tox .tox-pop.tox-pop--bottom::after{border-color:#222f3e transparent transparent transparent;border-width:8px;margin-left:-8px;margin-top:-1px}.tox .tox-pop.tox-pop--bottom::before{border-color:#161f29 transparent transparent transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--top::after,.tox .tox-pop.tox-pop--top::before{left:50%;top:0;transform:translateY(-100%)}.tox .tox-pop.tox-pop--top::after{border-color:transparent transparent #222f3e transparent;border-width:8px;margin-left:-8px;margin-top:1px}.tox .tox-pop.tox-pop--top::before{border-color:transparent transparent #161f29 transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--left::after,.tox .tox-pop.tox-pop--left::before{left:0;top:calc(50% - 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--left::after{border-color:transparent #222f3e transparent transparent;border-width:8px;margin-left:-15px}.tox .tox-pop.tox-pop--left::before{border-color:transparent #161f29 transparent transparent;border-width:10px;margin-left:-19px}.tox .tox-pop.tox-pop--right::after,.tox .tox-pop.tox-pop--right::before{left:100%;top:calc(50% + 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--right::after{border-color:transparent transparent transparent #222f3e;border-width:8px;margin-left:-1px}.tox .tox-pop.tox-pop--right::before{border-color:transparent transparent transparent #161f29;border-width:10px;margin-left:-1px}.tox .tox-pop.tox-pop--align-left::after,.tox .tox-pop.tox-pop--align-left::before{left:20px}.tox .tox-pop.tox-pop--align-right::after,.tox .tox-pop.tox-pop--align-right::before{left:calc(100% - 20px)}.tox.tox-edit-focus .tox-sidebar__resize-handle:hover::before{border-left:0 solid transparent}.tox .tox-sidebar-wrap{--tox-private-min-editing-area-width:280px;flex-grow:1;min-height:0}.tox .tox-sidebar-wrap:not(.tox .tox-sidebar-wrap--resizable){display:flex;flex-direction:row}.tox .tox-sidebar-wrap--resizable{display:grid;grid-template-columns:minmax(var(--tox-private-min-editing-area-width),1fr) minmax(0,max-content);grid-template-rows:minmax(0,1fr)}.tox .tox-sidebar{background-color:var(--tox-private-sidebar-background-color,#34485f);display:flex;flex-direction:row;justify-content:flex-end}.tox .tox-sidebar__slider{display:flex;overflow:hidden}.tox .tox-sidebar-wrap--resizable .tox-sidebar__pane-container{width:var(--tox-private-requested-sidebar-width)}.tox .tox-sidebar-wrap--resizable .tox-sidebar--sliding-growing .tox-sidebar__pane-container,.tox .tox-sidebar-wrap--resizable .tox-sidebar--sliding-shrinking .tox-sidebar__pane-container{width:var(--tox-private-resolved-sidebar-width);min-width:var(--tox-private-resolved-sidebar-width)}.tox .tox-sidebar__pane-container{display:flex}.tox .tox-sidebar-wrap--resizable .tox-sidebar__resize-handle{display:block}.tox .tox-sidebar__resize-handle{display:none;position:relative;width:var(--tox-private-sidebar-resize-handle-width,1px);height:100%;cursor:col-resize;background-color:var(--tox-private-separator-color,rgba(255,255,255,.15));z-index:1}.tox .tox-sidebar__resize-handle::before{content:'';position:absolute;top:0;bottom:0;width:8px;box-sizing:border-box;border-left:0 solid transparent;transition:border-left-width .15s ease,border-left-color .15s ease}.tox .tox-sidebar__resize-handle:hover::before{border-left:3px solid #006ce7}.tox .tox-sidebar-wrap--resizable .tox-sidebar__pane{width:calc(100% - var(--tox-private-sidebar-resize-handle-width,1px))}.tox .tox-sidebar__pane{display:flex}.tox .tox-sidebar--sliding-closed{opacity:0}.tox .tox-sidebar--sliding-open{opacity:1}.tox .tox-sidebar--sliding-growing,.tox .tox-sidebar--sliding-shrinking{transition:width .5s ease,opacity .5s ease}.tox .tox-sidebar-content{display:flex;flex-direction:column;position:relative;width:100%;height:100%}.tox .tox-sidebar-content__header{align-items:center;display:flex;justify-content:space-between;border-bottom:var(--tox-private-tinymceai-border-width,1px) solid var(--tox-private-neutral-20,#0e141a);padding:var(--tox-private-pad-sm,8px) 12px;background:var(--tox-private-background-color,#222f3e)}.tox .tox-sidebar-content__header .tox-sidebar-content__header-close-button{margin-left:auto}.tox .tox-sidebar-content__actions{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-sidebar-content__title{font-size:var(--tox-private-font-size-lg, 20px);font-weight:var(--tox-private-font-weight-normal,normal);padding:var(--tox-private-pad-sm,8px) 0 var(--tox-private-pad-sm,8px) 0;color:var(--tox-private-text-color,#fff);line-height:28px}.tox .tox-floating-sidebar{--tox-private-floating-sidebar-width:min(380px, 90vw);--tox-private-floating-sidebar-height:80vh;position:fixed;z-index:var(--tox-private-z-index-floatingsidebar,1050);box-shadow:var(--tox-private-floating-sidebar-box-shadow,0 0 40px 1px rgba(34,47,62,.15),0 16px 16px -10px rgba(34,47,62,.15),0 0 0 1px rgba(34,47,62,.15));width:var(--tox-private-floating-sidebar-width);height:var(--tox-private-floating-sidebar-height);background-color:var(--tox-private-floating-sidebar-background-color,#34485f);border-radius:var(--tox-private-panel-border-radius,6px);overflow:hidden}.tox .tox-floating-sidebar:not(.tox .tox-floating-sidebar--open){display:none}.tox .tox-floating-sidebar--open{display:block}.tox .tox-floating-sidebar__content-wrapper{width:100%;height:100%;display:flex;flex-direction:column}.tox .tox-floating-sidebar__header{position:relative}.tox .tox-floating-sidebar .tox-ai__scroll:has(.tox-card-list){background-color:inherit}.tox .tox-ai .tox-expandable-box{margin-bottom:calc(var(--tox-private-pad-md,16px) * .75)}.tox .tox-ai .tox-expandable-box .tox-expandable-box__content{margin:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-md,16px) * .75)}.tox .tox-ai .tox-expandable-box>.tox-button{margin:0 calc(var(--tox-private-pad-md,16px) * .75) var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-expandable-box:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#006ce7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-sidebar-content__header{border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-background-color,#222f3e);padding:calc(var(--tox-private-pad-sm,8px) - var(--tox-private-tinymceai-focus-border-width,2px)) calc(12px - var(--tox-private-tinymceai-focus-border-width,2px));border-bottom:1px solid var(--tox-private-separator-color,rgba(255,255,255,.15))}.tox .tox-ai .tox-sidebar-content__header:focus-visible:not(:disabled){border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#006ce7);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-sidebar-content__loader{align-items:center;display:flex;height:100%;justify-content:center;width:100%;z-index:1000}.tox .tox-ai .tox-sidebar-content__title{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin-right:auto}.tox .tox-ai .tox-sidebar-content__title:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#006ce7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-sidebar-content__actions .tox-ai__complete-review{display:flex;align-items:center;gap:6px;padding-top:var(--tox-private-pad-xs,4px);padding-bottom:var(--tox-private-pad-xs,4px);padding-left:var(--tox-private-pad-md,16px);padding-right:var(--tox-private-pad-md,16px)}.tox .tox-ai .tox-menu{width:-webkit-fill-available;width:-moz-available;width:stretch;overflow:visible}.tox .tox-ai .tox-ai__user-prompt{display:flex;flex-direction:column;margin-left:auto;gap:inherit;width:100%}.tox .tox-ai .tox-ai__user-prompt__context{margin-left:auto;display:flex;flex-direction:column;gap:inherit;align-items:end;width:100%}.tox .tox-ai .tox-ai__user-prompt__context .tox-tag{max-width:100%}.tox .tox-ai .tox-ai__user-prompt__text{background-color:var(--tox-private-background-secondary,#2f4055);padding:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-md,16px) * .75);border-radius:var(--tox-private-control-border-radius,6px);max-width:80%;align-self:flex-end;color:var(--tox-private-text-color,#fff);white-space:pre-wrap}.tox .tox-ai .tox-ai__user-prompt__text:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#006ce7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-ai__scroll{overflow-y:auto;overflow-x:hidden;background-color:var(--tox-private-background-color,#222f3e);display:flex;padding:12px;flex-direction:column;align-items:flex-start;gap:12px;flex:1 0 0;align-self:stretch}.tox .tox-ai .tox-ai__scroll:focus-visible:not(:disabled){outline:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#006ce7);outline-offset:calc(-1 * var(--tox-private-tinymceai-focus-border-width,2px));border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-ai__scroll--review:not(:has(.tox-sidebar-content__message-text)){background-color:var(--tox-private-background-secondary,#2f4055)}.tox .tox-ai .tox-ai__spinner svg{fill:var(--tox-private-color-tint,#006ce7)}.tox .tox-ai .tox-ai__response{width:100%;min-width:100%;max-width:100%}.tox .tox-ai .tox-ai__response__header{display:flex;align-items:center;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response__header .tox-icon svg{fill:var(--tox-private-color-tint,#006ce7)}.tox .tox-ai .tox-ai__response-status{display:flex;color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));font-size:var(--tox-private-font-size-sm, 14px);gap:var(--tox-private-pad-xs,4px);line-height:var(--tox-private-tinymceai-response-status-icon-height, max(24px, calc(14px + 4px)));padding-top:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response-status svg{fill:var(--tox-private-text-color-muted,rgba(255,255,255,0.5))}.tox .tox-ai .tox-ai__response-status-icon{border-radius:999px;border:1px solid var(--tox-private-neutral-20,#0e141a);background-color:var(--tox-private-background-color,#222f3e);height:var(--tox-private-tinymceai-response-status-icon-height,max(24px,calc(14px + 4px)));flex:0 0 24px;display:flex;align-items:center;justify-content:center}.tox .tox-ai .tox-ai__response-status-icon .tox-icon{display:contents}.tox .tox-ai .tox-ai__response-status-icon+.tox-ai__response-status-icon{margin-left:calc((var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px)) * -1)}.tox .tox-ai .tox-ai__icon{display:flex;align-items:center;justify-content:center}.tox .tox-ai .tox-ai__response-sources{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response-sources-header{display:block}.tox .tox-ai .tox-ai__response-sources-list{display:flex;align-items:center;gap:var(--tox-private-pad-sm,8px);align-self:stretch;flex-wrap:wrap}.tox .tox-ai .tox-ai__response-sources-list .tox-tag{border:1px solid var(--tox-private-separator-color,rgba(255,255,255,.15));background-color:transparent;max-width:32%;max-height:24px;cursor:pointer}.tox .tox-ai .tox-ai__response-sources-list .tox-tag img,.tox .tox-ai .tox-ai__response-sources-list .tox-tag svg{width:16px;height:16px;min-width:16px;min-height:16px;max-width:16px;max-height:16px}.tox .tox-ai .tox-ai__response-content{padding:var(--tox-private-pad-sm,8px) 0;color:var(--tox-private-text-color,#fff);font-feature-settings:'liga' off,'clig' off;font-size:var(--tox-private-font-size-sm, 14px);font-style:normal;font-weight:var(--tox-private-font-weight-normal,normal);line-height:var(--tox-private-line-height, 18px);display:flex;flex-direction:column}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming{position:relative}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming .tox-ai__response-status{color:var(--tox-private-text-color,#fff);font-size:var(--tox-private-font-size-md, 16px);line-height:calc(var(--tox-private-font-size-md, 16px) + 4px)}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming::after{content:'';position:absolute;bottom:0;left:0;right:0;height:min(100px,100%);pointer-events:none;background:linear-gradient(to bottom,transparent 60px,transparent 60px,var(--tox-private-background-color,#222f3e))}.tox .tox-ai .tox-ai-error{border-radius:var(--tox-private-panel-border-radius,6px);border:1px solid var(--tox-private-color-error,#c00);background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#222f3e) r g b / .9) 0,rgba(from var(--tox-private-background-color,#222f3e) r g b / .9) 100%),var(--tox-private-color-error,#c00);padding:var(--tox-private-pad-sm,8px);width:100%;display:flex;gap:var(--tox-private-pad-sm,8px);align-items:center}.tox .tox-ai .tox-ai-error__message{flex:1 0 0}.tox .tox-ai .tox-ai-error__icon{flex:0 0 auto;align-self:flex-start}.tox .tox-ai .tox-ai__footer{padding:calc(12px - var(--tox-private-tinymceai-focus-border-width,2px));gap:var(--tox-private-pad-sm,8px);background-color:var(--tox-private-background-color,#222f3e);display:flex;flex-direction:column;border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-background-color,#222f3e);border-top:1px solid var(--tox-private-separator-color,rgba(255,255,255,.15))}.tox .tox-ai .tox-ai__footer:focus-visible:not(:disabled){border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#006ce7);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-ai__context{display:flex;gap:var(--tox-private-pad-sm,8px);flex-wrap:wrap;max-height:calc((2 * (2 * var(--tox-private-pad-xs,4px) + var(--tox-private-base-value,16px))) + var(--tox-private-pad-sm,8px))}.tox .tox-ai .tox-ai__context .tox-tag{max-width:calc((100% - var(--tox-private-pad-sm,8px))/ 2)}.tox .tox-ai .tox-ai__context-more{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px);padding:var(--tox-private-pad-sm,8px);overflow:auto;max-width:var(--tox-private-tinymceai-context-more-max-width,320px)}.tox .tox-ai .tox-ai__context-more .tox-tag{max-width:100%}.tox .tox-ai .tox-ai__stop-generating{display:flex;align-items:center;gap:6px}.tox .tox-ai .tox-ai__footer-actions{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-model-selection-button{display:flex;gap:var(--tox-private-pad-xs,4px)}.tox .tox-ai .tox-ai__footer-note{align-items:center;color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));display:flex;font-size:var(--tox-private-font-size-xs, 12px);height:24px;justify-content:center;letter-spacing:0;padding-top:var(--tox-private-pad-sm,8px);width:100%}.tox .tox-ai .tox-ai__models-menu{max-width:350px}.tox .tox-ai .tox-ai__models-menu .tox-menu{max-height:inherit;padding:var(--tox-private-pad-xs,4px)}.tox .tox-ai .tox-ai__models-menu__item__description{display:flex;flex-direction:column;align-items:start}.tox .tox-ai .tox-ai__models-menu__item__description__title{font-weight:var(--tox-private-font-weight-bold,bold);font-size:var(--tox-private-font-size-sm, 14px);line-height:calc(var(--tox-private-font-size-sm, 14px) * 1.28572);padding-bottom:4px}.tox .tox-ai .tox-ai__models-menu__item__description__content{color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));font-size:var(--tox-private-font-size-xs, 12px);line-height:calc(var(--tox-private-font-size-xs, 12px) * 1.33333)}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content{color:inherit}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content .tox-ai__models-menu__item__description__ability{color:var(--tox-private-color-white,#fff)}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content .tox-ai__models-menu__item__description__content_body{color:rgba(from var(--tox-private-color-white,#fff) r g b / .7)}.tox .tox-ai .tox-ai__models-menu__item__description__ability{color:var(--tox-private-text-color,#fff);padding-bottom:4px}.tox .tox-ai .tox-ai__models-menu__item__description__ability__enabled{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-ai .tox-ai-chat-history-list{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px);padding-top:var(--tox-private-pad-xs,4px);width:100%}.tox .tox-ai .tox-ai-chat-history-list .tox-collection__group{gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-chat-history-list__title{color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:18px;letter-spacing:1px}.tox .tox-ai .tox-ai-chat-history-list__item{display:flex;padding:12px;gap:var(--tox-private-pad-sm,8px);border-radius:var(--tox-private-control-border-radius,6px);cursor:pointer}.tox .tox-ai .tox-ai-chat-history-list__item.tox-ai-chat-history-list__item--active{background-color:var(--tox-private-background-secondary,#2f4055)}.tox .tox-ai .tox-ai-chat-history-list__item:focus,.tox .tox-ai .tox-ai-chat-history-list__item:focus-visible{background-color:var(--tox-private-background-secondary,#2f4055)}.tox .tox-ai .tox-ai-chat-history-list__item.tox-ai-chat-history-list__item-edit-title{background-color:var(--tox-private-background-secondary,#2f4055);flex-direction:column}.tox .tox-ai .tox-ai-chat-history-list__item-edit-actions{display:flex;justify-content:flex-end;width:100%;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-chat-history-list__item-edit-actions .tox-ai__spinner svg{fill:rgba(from var(--tox-private-color-white,#fff) r g b / 0.5)}.tox .tox-ai .tox-ai-chat-history-list__item-content{display:flex;flex-direction:column;margin-right:auto;overflow:hidden}.tox .tox-ai .tox-ai-chat-history-list__item-actions{display:flex;align-items:center;min-width:calc(24px + (var(--tox-private-pad-xs,4px) + 1px)*2)}.tox .tox-ai .tox-ai-chat-history-list__item-content-title{color:var(--tox-private-text-color,#fff);font-size:var(--tox-private-font-size-base, 16px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:var(--tox-private-font-size-lg, 20px);overflow:hidden;text-overflow:ellipsis}.tox .tox-ai .tox-ai-chat-history-list__item-content-date{color:var(--tox-private-text-color,#fff);font-size:var(--tox-private-font-size-xs, 12px);line-height:var(--tox-private-line-height-base, 1.3)}.tox .tox-ai .tox-sidebar-content__message{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;gap:var(--tox-private-pad-md,16px);width:100%}.tox .tox-ai .tox-sidebar-content__message-text{text-align:center;color:var(--tox-private-text-color,#fff);font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:20px}.tox .tox-ai .tox-sidebar-content__message-action{display:flex;justify-content:center;align-items:center;align-self:stretch}.tox .tox-ai .tox-ai-chat-action-button{line-height:var(--tox-private-base-value, 16px);font-size:var(--tox-private-font-size-xs, 12px);padding:6px var(--tox-private-pad-sm,8px);margin:var(--tox-private-pad-xs,4px) 0;font-weight:var(--tox-private-font-weight-normal,normal);width:min-content}.tox .tox-ai .tox-ai-chat-action-button .tox-icon{display:inline-flex;align-items:center;justify-content:center;height:16px;width:16px;overflow:hidden}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg{display:block;flex:none;fill:var(--tox-private-tinymceai-chat-action-button-icon-color,#fff)}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='24'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='24px']{transform:scale(calc(16 / 24))}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='20'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='20px']{transform:scale(calc(16 / 20))}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='18'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='18px']{transform:scale(calc(16 / 18))}.tox .tox-ai .tox-ai-chat-action-button:not(:has(+ .tox-ai-chat-action-button)){margin-bottom:var(--tox-private-pad-sm,8px)}.tox .tox-ai-removed-content{font-style:italic;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));line-height:var(--tox-private-line-height-base, 1.3);margin:0 1em}.tox .tox-ai-removed-content::before{content:"⊘ ";font-style:normal;font-size:calc(var(--tox-private-line-height-base, 1.3) * 1em)}.tox .tox-ai-html-content{font-size:var(--tox-private-font-size-md, 16px);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color,#fff);line-height:var(--tox-private-line-height-base, 1.3);overflow-x:auto}.tox .tox-ai-html-content:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#006ce7);outline-offset:var(--tox-private-tinymceai-html-content-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai-html-content h1{font-size:1.6em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.67em 0}.tox .tox-ai-html-content h2{font-size:1.4em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.83em 0}.tox .tox-ai-html-content h3{font-size:1.2em;font-weight:var(--tox-private-font-weight-bold,bold);margin:1em 0}.tox .tox-ai-html-content h4,.tox .tox-ai-html-content h5,.tox .tox-ai-html-content h6{font-size:1em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.33em 0}.tox .tox-ai-html-content p{margin:var(--tox-private-pad-sm,8px) 0}.tox .tox-ai-html-content ol,.tox .tox-ai-html-content ul{padding-left:2em;margin:1em 0}.tox .tox-ai-html-content li:has(input:first-child){list-style-type:none}.tox .tox-ai-html-content a{color:var(--tox-private-color-tint,#006ce7);-webkit-text-decoration:underline;text-decoration:underline;cursor:pointer}.tox .tox-ai-html-content a:link:active,.tox .tox-ai-html-content a:visited:active{color:#8864ad}.tox .tox-ai-html-content blockquote{border-left:2px solid var(--tox-private-separator-color,rgba(255,255,255,.15));margin-left:1.5rem;padding-left:1rem;font-style:italic}.tox .tox-ai-html-content code{font-family:ui-monospace,monospace;background:var(--tox-private-separator-color,rgba(255,255,255,.15));padding:.1em .2em;border-radius:4px}.tox .tox-ai-html-content pre code{display:block;font-family:ui-monospace,monospace;background:var(--tox-private-separator-color,rgba(255,255,255,.15));border-radius:4px;white-space:pre-wrap;margin:1em 0;overflow-wrap:break-word}.tox .tox-ai-html-content hr{border:none;border-top:1px solid var(--tox-private-border-color,#161f29)}.tox .tox-ai-html-content table{width:100%;border-collapse:collapse;margin:.5em 0;font-size:.95em;line-height:1.45}.tox .tox-ai-html-content table:not([cellpadding]) td,.tox .tox-ai-html-content table:not([cellpadding]) th{padding:.4rem}.tox .tox-ai-html-content td,.tox .tox-ai-html-content th{border:1px solid var(--tox-private-border-color,#161f29)}.tox .tox-ai-html-content th{font-weight:var(--tox-private-font-weight-bold,bold);text-align:left;white-space:nowrap}.tox .tox-ai-html-content b,.tox .tox-ai-html-content strong{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-ai-html-content em,.tox .tox-ai-html-content i{font-style:italic}.tox .tox-ai-html-content del{-webkit-text-decoration:line-through;text-decoration:line-through}.tox .tox-ai-html-content sub,.tox .tox-ai-html-content sup{font-size:.75em;line-height:0;vertical-align:baseline}.tox .tox-ai-html-content sup{vertical-align:super}.tox .tox-ai-html-content sub{vertical-align:sub}.tox .tox-ai-html-content mark{background:hsl(from var(--tox-private-color-active,#006ce7) h s l / 30%);padding:.05em .2em;border-radius:2px}.tox .tox-ai-html-content small{font-size:.85em}.tox .tox-ai-html-content kbd{font-family:ui-monospace,monospace;font-size:.85em;padding:.15em .4em;border-radius:4px;border:1px solid var(--tox-private-border-color,#161f29);background:var(--tox-private-separator-color,rgba(255,255,255,.15));box-shadow:inset 0 -1px 0 var(--tox-private-border-color,#161f29)}.tox .tox-ai-html-content img{max-width:100%;height:auto;vertical-align:middle;border-radius:4px}.tox .tox-expandable-box__content .tox-ai-html-content+.tox-ai-html-content::before,.tox .tox-expandable-box__content .tox-ai-html-content:has(+ .tox-ai-removed-content)::after,.tox .tox-expandable-box__content .tox-ai-removed-content+.tox-ai-html-content::before{content:"〰〰";color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));text-align:center;width:100%;display:block}.tox .tox-diff-preview{display:contents}.tox .tox-diff-preview__host{height:100%;position:relative;flex:1 1 0}.tox .tox-diff-preview__host:empty{pointer-events:none}.tox .tox-diff-preview__layer{display:flex;flex-direction:column;inset:0;position:absolute}.tox .tox-diff-preview__layer--loading .tox-diff-preview__frame{pointer-events:none;visibility:hidden}.tox .tox-diff-preview__viewport{flex:1 1 auto;min-height:0;position:relative}.tox .tox-diff-preview__frame{background-color:#fff;border:0;height:100%;min-height:0;position:relative;width:100%}.tox .tox-diff-preview__footer{background-color:var(--tox-private-background-color,#222f3e);border-top:1px solid #364a62;flex:0 0 auto}.tox .tox-diff-preview__toolbar{display:flex;gap:8px;justify-content:flex-end;padding:12px 16px}.tox .tox-ai__preview-overlay{position:absolute;inset:0;width:100%;height:100%;font-size:14px}.tox .tox-ai__preview-overlay--hidden{visibility:hidden}.tox .tox-ai__preview-overlay--pass-through{pointer-events:none}.tox .tox-ai__preview-overlay--dim{background:rgba(34,47,62,.2)}.tox .tox-ai__preview-overlay--centered{display:flex;align-items:center;justify-content:center}.tox .tox-ai__preview-overlay--clipped{overflow:clip}.tox .tox-tinymceai-previewloader{display:flex;align-items:center;gap:var(--tox-private-pad-md,16px);padding:var(--tox-private-pad-sm,8px);border-radius:var(--tox-private-panel-border-radius,6px);box-shadow:var(--tox-private-ai-preview-loader-box-shadow,0 0 40px 1px rgba(34,47,62,.15),0 16px 16px -10px rgba(34,47,62,.15));background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color,#fff);pointer-events:auto}.tox .tox-tinymceai-previewloader__content{display:flex;align-items:center;justify-content:center;padding:0 var(--tox-private-pad-xs,4px);gap:var(--tox-private-pad-sm,8px)}.tox .tox-selector{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;display:inline-block;height:10px;position:absolute;width:10px}.tox.tox-platform-touch .tox-selector{height:12px;width:12px}.tox .tox-skeleton .tox-skeleton__line{height:16px;width:100%;background:linear-gradient(to right,rgba(240,240,240,.5) 8%,rgba(240,240,240,.7) 18%,rgba(240,240,240,.5) 33%);animation:wave 2s infinite ease-out}.tox .tox-skeleton .tox-skeleton__circle{height:36px;width:36px;margin-right:8px;border-radius:100%;background:linear-gradient(to right,rgba(240,240,240,.5) 8%,rgba(240,240,240,.7) 18%,rgba(240,240,240,.5) 33%);animation:wave 2s infinite ease-out}@keyframes wave{0%{background-position:-268px 0}100%{background-position:268px 0}}.tox .tox-slider{align-items:center;display:flex;flex:1;height:24px;justify-content:center;position:relative}.tox .tox-slider__rail{background-color:transparent;border:1px solid #161f29;border-radius:6px;height:10px;min-width:120px;width:100%}.tox .tox-slider__handle{background-color:#006ce7;border:2px solid #0054b4;border-radius:6px;box-shadow:none;height:24px;left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%);width:14px}.tox .tox-form__controls-h-stack>.tox-slider:not(:first-of-type){margin-inline-start:8px}.tox .tox-form__controls-h-stack>.tox-form__group+.tox-slider{margin-inline-start:32px}.tox .tox-form__controls-h-stack>.tox-slider+.tox-form__group{margin-inline-start:32px}.tox .tox-toolbar-slider{align-items:center;display:inline-flex;height:16px}.tox .tox-toolbar-slider__input{appearance:none;background:#161f29;border-radius:16px;width:130px;height:2px}.tox .tox-toolbar-slider__input::-webkit-slider-runnable-track{background-color:transparent;height:16px}.tox .tox-toolbar-slider__input::-moz-range-track{background-color:transparent;height:16px}.tox .tox-toolbar-slider__input::-webkit-slider-thumb{-webkit-appearance:none;background-color:#006ce7;border-radius:16px;border:none;height:16px;width:16px}.tox .tox-toolbar-slider__input::-moz-range-thumb{appearance:none;background-color:#006ce7;border-radius:16px;border:none;height:16px;width:16px}.tox .tox-toolbar-slider__input:focus-visible{outline:0}.tox .tox-toolbar-slider__input:focus::-webkit-slider-thumb{background-color:#0060ce;box-shadow:inset 0 0 0 1px #fff,0 0 0 2px #006ce7}.tox .tox-toolbar-slider__input:focus::-moz-range-thumb{background-color:#0060ce;box-shadow:inset 0 0 0 1px #fff,0 0 0 2px #006ce7}.tox .tox-toolbar-slider__input:hover::-webkit-slider-thumb{background-color:#0060ce}.tox .tox-toolbar-slider__input:hover::-moz-range-thumb{background-color:#0060ce}.tox .tox-toolbar-slider__input:active::-webkit-slider-thumb{background-color:#0054b4}.tox .tox-toolbar-slider__input:active::-moz-range-thumb{background-color:#0054b4}.tox .tox-toolbar-slider__input[disabled]::-webkit-slider-thumb{background-color:rgba(255,255,255,.5)}.tox .tox-toolbar-slider__input[disabled]::-moz-range-thumb{background-color:rgba(255,255,255,.5)}.tox .tox-source-code{overflow:auto}.tox .tox-spinner{display:flex}.tox .tox-spinner>div{animation:tam-bouncing-dots 1.5s ease-in-out 0s infinite both;background-color:rgba(255,255,255,.5);border-radius:100%;height:8px;width:8px}.tox .tox-spinner>div:first-child{animation-delay:-.32s}.tox .tox-spinner>div:nth-child(2){animation-delay:-.16s}@keyframes tam-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox:not([dir=rtl]) .tox-spinner>div:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-spinner>div:not(:first-child){margin-right:4px}.tox .tox-ai__spinner{--tox-private-spinner-color:var(--tox-private-color-tint, #006ce7);--tox-private-spinner-size:24px;--tox-private-spinner-circle-width:3px;--tox-private-spinner-dot-size:6px;width:var(--tox-private-spinner-size);aspect-ratio:1/1}.tox .tox-ai__spinner--small{--tox-private-spinner-size:16px;--tox-private-spinner-circle-width:2px;--tox-private-spinner-dot-size:4px}.tox .tox-ai__spinner--circle{animation:tox-rotation 1s linear infinite;border-radius:50%;background:conic-gradient(var(--tox-private-spinner-color) 0 calc(360deg - 30deg),transparent calc(360deg - 30deg) 100%);mask:radial-gradient(calc((var(--tox-private-spinner-size) - var(--tox-private-spinner-circle-width) * 2)/ 2),#0000 98%,#000)}.tox .tox-ai__spinner--dots{display:flex;align-items:center;justify-content:center;gap:1px}.tox .tox-ai__spinner--dots>div{animation:tox-bouncing-dots 1.5s ease-in-out 0s infinite both;aspect-ratio:1/1;width:var(--tox-private-spinner-dot-size);background-color:var(--tox-private-spinner-color);border-radius:100%}.tox .tox-ai__spinner--dots>div:first-child{animation-delay:-.32s}.tox .tox-ai__spinner--dots>div:nth-child(2){animation-delay:-.16s}.tox .tox-tinymceai__annotation--added,.tox .tox-tinymceai__annotation--modified,.tox .tox-tinymceai__annotation--removed{padding-block:calc((1lh - 1.1em)/ 2);-webkit-text-decoration:none;text-decoration:none;background-repeat:no-repeat;text-decoration-thickness:max(1px,0.07em)}.tox .tox-tinymceai__annotation--added__highlight{background-position:bottom;background-image:linear-gradient(rgba(120,171,70,.2) calc(100% - 2px),#78ab46 calc(100% - 2px))}.tox .tox-tinymceai__annotation--added__selected{background-image:none;background-color:rgba(120,171,70,.2);box-shadow:0 2px 0 0 #006ce7,0 -2px 0 0 #006ce7}.tox .tox-tinymceai__annotation--modified__highlight{background-position:bottom;background-image:linear-gradient(rgba(0,108,231,.2) calc(100% - 2px),#006ce7 calc(100% - 2px))}.tox .tox-tinymceai__annotation--modified__selected{background-image:none;background-color:rgba(0,108,231,.2);box-shadow:0 2px 0 0 #006ce7,0 -2px 0 0 #006ce7}.tox .tox-tinymceai__annotation--removed__highlight{-webkit-text-decoration:line-through;text-decoration:line-through;background-position:bottom;background-image:linear-gradient(rgba(204,0,0,.2) calc(100% - 2px),#c00 calc(100% - 2px))}.tox .tox-tinymceai__annotation--removed__selected{-webkit-text-decoration:line-through;text-decoration:line-through;background-image:none;background-color:rgba(204,0,0,.2);box-shadow:0 2px 0 0 #006ce7,0 -2px 0 0 #006ce7}.tox .mce-object.tox-tinymceai__annotation--added,.tox .mce-object.tox-tinymceai__annotation--modified,.tox .mce-object.tox-tinymceai__annotation--removed,.tox .mce-preview-object.tox-tinymceai__annotation--added,.tox .mce-preview-object.tox-tinymceai__annotation--modified,.tox .mce-preview-object.tox-tinymceai__annotation--removed,.tox iframe.tox-tinymceai__annotation--added,.tox iframe.tox-tinymceai__annotation--modified,.tox iframe.tox-tinymceai__annotation--removed,.tox img.tox-tinymceai__annotation--added,.tox img.tox-tinymceai__annotation--modified,.tox img.tox-tinymceai__annotation--removed,.tox video.tox-tinymceai__annotation--added,.tox video.tox-tinymceai__annotation--modified,.tox video.tox-tinymceai__annotation--removed{padding-block:0;vertical-align:top}.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object),.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object),.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object){padding-block:0}.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) video,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) video,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) video{vertical-align:top}.tox del.tox-tinymceai__annotation--added__selected,.tox ins.tox-tinymceai__annotation--added__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#006ce7 3px,rgba(120,171,70,.2) 3px,rgba(120,171,70,.2) calc(100% - 3px),#006ce7 calc(100% - 3px))}.tox del.tox-tinymceai__annotation--modified__selected,.tox ins.tox-tinymceai__annotation--modified__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#006ce7 3px,rgba(0,108,231,.2) 3px,rgba(0,108,231,.2) calc(100% - 3px),#006ce7 calc(100% - 3px))}.tox del.tox-tinymceai__annotation--removed__selected,.tox ins.tox-tinymceai__annotation--removed__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#006ce7 3px,rgba(204,0,0,.2) 3px,rgba(204,0,0,.2) calc(100% - 3px),#006ce7 calc(100% - 3px))}.tox .tox-tinymceai__annotation--added.tox-tinymceai__annotation--added__hidden,.tox .tox-tinymceai__annotation--modified.tox-tinymceai__annotation--modified__hidden,.tox .tox-tinymceai__annotation--removed.tox-tinymceai__annotation--removed__hidden{display:none;-webkit-text-decoration:none;text-decoration:none}.tox :has(> div > iframe).tox-tinymceai__annotation--added,.tox :has(> div > iframe).tox-tinymceai__annotation--modified,.tox :has(> div > iframe).tox-tinymceai__annotation--removed{padding:7px;margin:5px}.tox iframe.tox-tinymceai__annotation--added__highlight,.tox img.tox-tinymceai__annotation--added__highlight,.tox video.tox-tinymceai__annotation--added__highlight{background-color:#334840;background-image:none;border:2px solid #78ab46;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--added__selected,.tox img.tox-tinymceai__annotation--added__selected,.tox video.tox-tinymceai__annotation--added__selected{background-color:#334840;background-image:none;border:2px solid #78ab46;padding:0;vertical-align:top;border-color:#334840;outline:2px solid #006ce7}.tox iframe.tox-tinymceai__annotation--modified__highlight,.tox img.tox-tinymceai__annotation--modified__highlight,.tox video.tox-tinymceai__annotation--modified__highlight{background-color:#1b3b60;background-image:none;border:2px solid #006ce7;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--modified__selected,.tox img.tox-tinymceai__annotation--modified__selected,.tox video.tox-tinymceai__annotation--modified__selected{background-color:#1b3b60;background-image:none;border:2px solid #006ce7;padding:0;vertical-align:top;border-color:#1b3b60;outline:2px solid #006ce7}.tox iframe.tox-tinymceai__annotation--removed__highlight,.tox img.tox-tinymceai__annotation--removed__highlight,.tox video.tox-tinymceai__annotation--removed__highlight{background-color:#442632;background-image:none;border:2px solid #c00;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--removed__selected,.tox img.tox-tinymceai__annotation--removed__selected,.tox video.tox-tinymceai__annotation--removed__selected{background-color:#442632;background-image:none;border:2px solid #c00;padding:0;vertical-align:top;border-color:#442632;outline:2px solid #006ce7}.tox .tox-tinymceai__annotation--removed__highlight iframe,.tox .tox-tinymceai__annotation--removed__highlight img,.tox .tox-tinymceai__annotation--removed__highlight video,.tox .tox-tinymceai__annotation--removed__selected iframe,.tox .tox-tinymceai__annotation--removed__selected img,.tox .tox-tinymceai__annotation--removed__selected video{background-color:#442632;background-image:none;border:2px solid #c00;padding:0;vertical-align:top}.tox .tox-tinymceai__annotation--removed__selected iframe,.tox .tox-tinymceai__annotation--removed__selected img,.tox .tox-tinymceai__annotation--removed__selected video{border-color:#442632;outline:2px solid #006ce7}.tox div.tox-tinymceai__annotation:has(> hr){background-size:auto;padding:.25em}.tox div.tox-tinymceai__annotation--removed__highlight>hr{border-color:rgba(0,0,0,.2)}.tox div.tox-tinymceai__annotation--added__highlight>hr{border-color:rgba(0,0,0,.2)}.tox .tox-tinymceai__deleted-media-overlay{inset:0;overflow:hidden;pointer-events:none;position:absolute;z-index:11}.tox .tox-tinymceai__deleted-media-wash{fill:#222F3E;fill-opacity:0.4}.tox .tox-tinymceai__deleted-media-mark{stroke:#c00}.tox .tox-tinymceai__deleted-media-halo{stroke:#fff}.tox .mce-pagebreak.tox-tinymceai__annotation--added__selected,.tox .mce-pagebreak.tox-tinymceai__annotation--modified__selected,.tox .mce-pagebreak.tox-tinymceai__annotation--removed__selected{border:1px dashed #aaa;box-shadow:none;background-image:none}.tox .mce-pagebreak.tox-tinymceai__annotation--added__highlight,.tox .mce-pagebreak.tox-tinymceai__annotation--modified__highlight,.tox .mce-pagebreak.tox-tinymceai__annotation--removed__highlight{padding:0}.tox .tox-tinymceai__diff-focus-overlay{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:10}.tox .tox-tinymceai__diff-focus-overlay-dim{fill:rgba(34,47,62,0.2)}.tox .tox-ai__scroll:has(.tox-card-group){padding-top:0}.tox .tox-ai__scroll:has(.tox-card-group) .tox-ai__review-sidebar-container .tox-card-list{gap:0}.tox .tox-ai__scroll .tox-ai__review-sidebar-container{scrollbar-gutter:stable;width:100%;height:100%;display:flex;flex-direction:column;gap:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-card-list{gap:8px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-card-group__title{margin-inline:-12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-initializing{padding:var(--tox-private-pad-md,16px)}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-description{padding-bottom:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));font-size:var(--tox-private-font-size-sm, 14px)}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-choose-container{padding-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-custom-input{margin-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-custom-actions{display:flex;gap:8px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container{margin-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container button.tox-ai__review-input-button{width:100%;background-color:var(--tox-private-background-color,#222f3e);display:flex;justify-content:space-between;align-items:center;border:1px solid #161f29;border-radius:6px;box-sizing:border-box}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container .tox-ai__review-dropdown-content{width:anchor-size(width)}.tox .tox-statusbar{align-items:center;background-color:#222f3e;border-top:1px solid rgba(255,255,255,.15);color:rgba(255,255,255,.75);display:flex;flex:0 0 auto;font-size:14px;font-weight:400;height:25px;overflow:hidden;padding:0 8px;position:relative;text-transform:none}.tox .tox-statusbar__path{display:flex;flex:1 1 auto;text-overflow:ellipsis;white-space:nowrap}.tox .tox-statusbar__right-container{display:flex;justify-content:flex-end;white-space:nowrap}.tox .tox-statusbar__help-text{text-align:center}.tox .tox-statusbar__text-container{align-items:flex-start;display:flex;flex:1 1 auto;height:16px;justify-content:space-between}@media only screen and (min-width:768px){.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__help-text,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__path,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__right-container{flex:0 0 calc(100% / 3)}}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-end{justify-content:flex-end}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-start{justify-content:flex-start}.tox .tox-statusbar__text-container.tox-statusbar__text-container--space-around{justify-content:space-around}.tox .tox-statusbar__path>*{display:inline;white-space:nowrap}.tox .tox-statusbar__wordcount{flex:0 0 auto;margin-left:1ch}@media only screen and (max-width:767px){.tox .tox-statusbar__text-container .tox-statusbar__help-text{display:none}.tox .tox-statusbar__text-container .tox-statusbar__help-text:only-child{display:block}}.tox .tox-statusbar a,.tox .tox-statusbar__path-item,.tox .tox-statusbar__wordcount{color:rgba(255,255,255,.75);position:relative;-webkit-text-decoration:none;text-decoration:none}.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]){color:#fff;cursor:pointer}.tox .tox-statusbar a:focus-visible::after,.tox .tox-statusbar__path-item:focus-visible::after,.tox .tox-statusbar__wordcount:focus-visible::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-statusbar a:focus-visible::after,.tox .tox-statusbar__path-item:focus-visible::after,.tox .tox-statusbar__wordcount:focus-visible::after{border:2px solid highlight}}.tox .tox-statusbar__branding svg{fill:rgba(255,255,255,0.8);height:1em;margin-left:.3em;width:auto}@media (forced-colors:active){.tox .tox-statusbar__branding svg{fill:currentColor}}.tox .tox-statusbar__branding a{align-items:center;display:inline-flex}.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg,.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg{fill:#fff}.tox .tox-statusbar__resize-cursor-default{cursor:ns-resize}.tox .tox-statusbar__resize-cursor-both{cursor:nwse-resize}.tox .tox-statusbar__resize-handle{align-items:flex-end;align-self:stretch;display:flex;flex:0 0 auto;justify-content:flex-end;margin-bottom:3px;margin-left:4px;margin-right:calc(3px - 8px);margin-top:3px;padding-bottom:0;padding-left:0;padding-right:0;position:relative}.tox .tox-statusbar__resize-handle svg{display:block;fill:rgba(255,255,255,0.5)}.tox .tox-statusbar__resize-handle:focus svg,.tox .tox-statusbar__resize-handle:hover svg{fill:#fff}.tox .tox-statusbar__resize-handle:focus-visible{background-color:transparent;border-radius:1px 1px 5px 1px;box-shadow:0 0 0 2px transparent}.tox .tox-statusbar__resize-handle:focus-visible::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-statusbar__resize-handle:focus-visible::after{border:2px solid highlight}}.tox .tox-statusbar__resize-handle:only-child{margin-left:auto}.tox:not([dir=rtl]) .tox-statusbar__path>*{margin-right:4px}.tox:not([dir=rtl]) .tox-statusbar__branding{margin-left:2ch}.tox[dir=rtl] .tox-statusbar{flex-direction:row-reverse}.tox[dir=rtl] .tox-statusbar__path>*{margin-left:4px}.tox[dir=rtl] .tox-statusbar__branding svg{margin-left:0;margin-right:.3em}.tox a.tox-tag{cursor:pointer}.tox .tox-tag{width:fit-content;box-sizing:border-box;display:flex;padding:var(--tox-private-pad-xs,4px) 6px;position:relative;align-items:center;gap:var(--tox-private-pad-xs,4px);border-radius:3px;background:hsl(from var(--tox-private-color-tint,#006ce7) h s l / 10%);line-height:var(--tox-private-base-value, 16px);font-size:var(--tox-private-font-size-xs, 12px)}.tox .tox-tag::before{border-radius:var(--tox-private-control-border-radius,6px);bottom:calc(-1 * var(--tox-private-tag-border-width,1px));box-shadow:var(--tox-private-tag-focus-outline,inset 0 0 0 1px #fff,0 0 0 2px #006ce7);content:'';left:calc(-1 * var(--tox-private-tag-border-width,1px));opacity:0;pointer-events:none;position:absolute;right:calc(-1 * var(--tox-private-tag-border-width,1px));top:calc(-1 * var(--tox-private-tag-border-width,1px))}.tox .tox-tag:focus:not(:disabled)::before{opacity:1}.tox .tox-tag>*{flex-shrink:0}.tox .tox-tag .tox-icon{height:var(--tox-private-base-value,16px);fill:var(--tox-private-text-color,#fff)}.tox .tox-tag .tox-tag__label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;flex-shrink:1;color:var(--tox-private-text-color,#fff)}.tox .tox-tag .tox-tag__close{height:var(--tox-private-base-value,16px)}.tox .tox-tag .tox-tag__close .tox-button.tox-button--icon{border:0;padding:0;color:var(--tox-private-text-color-muted,rgba(255,255,255,.5))}.tox .tox-tag .tox-tag__close .tox-button.tox-button--icon::before{box-shadow:none}.tox .tox-throbber{z-index:1299}.tox .tox-throbber__busy-spinner{align-items:center;background-color:rgba(34,47,62,.6);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.tox .tox-segmented-control{display:inline-flex;position:relative;border:none;border-radius:var(--tox-private-control-border-radius,6px);box-shadow:inset 0 0 0 1px var(--tox-private-segmented-control-border-color,#364a62);overflow:hidden;padding:var(--tox-private-pad-xs,4px);background-color:var(--tox-private-background-color,#222f3e)}.tox .tox-segmented-control__segment{flex:1;padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-sm,8px);cursor:pointer;background:0 0;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:16px;border:1px solid transparent;border-radius:calc(var(--tox-private-control-border-radius,6px) - 1px);text-align:center;white-space:nowrap;display:inline-block;vertical-align:middle;color:var(--tox-private-segmented-control-text-color,#fff)}.tox .tox-segmented-control__segment--active{border-color:var(--tox-private-segmented-control-active-border-color,#006ce7);color:var(--tox-private-segmented-control-active-text-color,#006ce7);background-color:var(--tox-private-segmented-control-active-bg-color,rgba(0,108,231,.1))}.tox .tox-segmented-control:not(.tox-segmented-control--disabled) .tox-segmented-control__segment{transition:all .2s}.tox .tox-segmented-control.tox-segmented-control--disabled .tox-segmented-control__segment{opacity:.5;cursor:not-allowed;pointer-events:none}.tox .tox-segmented-control__segment:focus{outline:2px solid var(--tox-private-color-tint,#006ce7);outline-offset:2px}.tox .tox-segmented-control__segment:focus:not(:focus-visible){outline:0}.tox .tox-toggle{display:flex;align-items:center;gap:var(--tox-private-pad-xs,4px);padding:var(--tox-private-pad-xs,4px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:var(--tox-private-control-line-height, 24px);white-space:nowrap;background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color,#fff)}.tox .tox-toggle input{position:absolute;opacity:0;width:0;height:0}.tox .tox-toggle__slider{position:relative;cursor:pointer;box-sizing:border-box;transition:.4s;border-radius:34px;width:28px;height:16px;background-color:var(--tox-private-slider-background-color,#222f3e);border:1px solid var(--tox-private-slider-border-color,rgba(255,255,255,.15))}.tox .tox-toggle__slider::before{position:absolute;content:"";height:12px;width:12px;left:1px;bottom:1px;transition:.4s;border-radius:50%;background-color:var(--tox-private-slider-handle-background-color,#fff)}.tox input:checked+.tox-toggle__slider{background-color:var(--tox-private-slider-checked-background-color,#006ce7);border:1px solid var(--tox-private-slider-checked-border-color,#006ce7)}.tox input:focus+.tox-toggle__slider{box-shadow:0 0 0 1px var(--tox-private-color-white,#fff),0 0 0 2px var(--tox-private-color-tint,#006ce7)}.tox input:checked+.tox-toggle__slider::before{transform:translateX(12px);background-color:var(--tox-private-slider-checked-handle-background-color,#fff)}.tox input:disabled+.tox-toggle__slider::before{opacity:50%}.tox .tox-tbtn{align-items:center;background:#222f3e;border:0;border-radius:3px;box-shadow:none;color:#fff;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;justify-content:center;margin:6px 1px 5px 0;outline:0;padding:0;text-transform:none;width:34px}.tox .tox-tbtn .tox-tbtn__icon-wrap{pointer-events:none}@media (forced-colors:active){.tox .tox-tbtn.tox-tbtn:hover,.tox .tox-tbtn:hover{outline:1px dashed currentColor}.tox .tox-tbtn.tox-tbtn--active,.tox .tox-tbtn.tox-tbtn--enabled,.tox .tox-tbtn.tox-tbtn--enabled:focus,.tox .tox-tbtn.tox-tbtn--enabled:hover,.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){outline:1px solid currentColor;position:relative}}.tox .tox-tbtn svg{display:block;fill:#fff}@media (forced-colors:active){.tox .tox-tbtn svg{fill:currentColor!important}.tox .tox-tbtn svg.tox-tbtn--enabled,.tox .tox-tbtn svg:focus:not(.tox-tbtn--disabled){fill:currentColor!important}.tox .tox-tbtn svg .tox-tbtn:disabled,.tox .tox-tbtn svg .tox-tbtn:disabled:hover,.tox .tox-tbtn svg.tox-tbtn--disabled,.tox .tox-tbtn svg.tox-tbtn--disabled:hover{filter:contrast(0%)}}.tox .tox-tbtn.tox-tbtn-more{padding-left:5px;padding-right:5px;width:inherit}.tox .tox-tbtn:focus{background:#222f3e;border:0;box-shadow:none;position:relative;z-index:1}.tox .tox-tbtn:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-tbtn:focus::after{border:2px solid highlight}}.tox .tox-tbtn:hover{background:#2f4055;border:0;box-shadow:none;color:#fff}.tox .tox-tbtn:hover svg{fill:#fff}.tox .tox-tbtn:active{background:#599fef;border:0;box-shadow:none;color:#fff}.tox .tox-tbtn:active svg{fill:#fff}.tox .tox-tbtn--disabled .tox-tbtn--enabled svg{fill:rgba(255,255,255,0.5)}.tox .tox-tbtn--disabled,.tox .tox-tbtn--disabled:hover,.tox .tox-tbtn:disabled,.tox .tox-tbtn:disabled:hover{background:#222f3e;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-tbtn--disabled svg,.tox .tox-tbtn--disabled:hover svg,.tox .tox-tbtn:disabled svg,.tox .tox-tbtn:disabled:hover svg{fill:rgba(255,255,255,0.5)}.tox .tox-tbtn--active,.tox .tox-tbtn--enabled,.tox .tox-tbtn--enabled:focus,.tox .tox-tbtn--enabled:hover{background:#599fef;border:0;box-shadow:none;color:#fff;position:relative}.tox .tox-tbtn--active>*,.tox .tox-tbtn--enabled:focus>*,.tox .tox-tbtn--enabled:hover>*,.tox .tox-tbtn--enabled>*{transform:none}.tox .tox-tbtn--active svg,.tox .tox-tbtn--enabled svg,.tox .tox-tbtn--enabled:focus svg,.tox .tox-tbtn--enabled:hover svg{fill:#fff}.tox .tox-tbtn--active.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled:focus.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled:hover.tox-tbtn--disabled svg{fill:rgba(255,255,255,0.5)}.tox .tox-tbtn--enabled:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-tbtn--enabled:focus::after{border:2px solid highlight}}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){color:#fff}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg{fill:#fff}.tox .tox-tbtn:active>*{transform:none}.tox .tox-tbtn--md{height:42px;width:51px}.tox .tox-tbtn--lg{flex-direction:column;height:56px;width:68px}.tox .tox-tbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tbtn--labeled{padding:0 4px;width:unset}.tox .tox-tbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-label--context-toolbar{margin:6px 1px 5px 0;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-number-input{background:#2f4055;border-radius:3px;display:flex;margin:6px 1px 5px 0;position:relative;width:auto}.tox .tox-number-input:focus{background:#2f4055}.tox .tox-number-input:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input:focus::after{border:2px solid highlight}}.tox .tox-number-input .tox-input-wrapper{display:flex;pointer-events:none;position:relative;text-align:center}.tox .tox-number-input .tox-input-wrapper:focus{background-color:#2f4055;z-index:1}.tox .tox-number-input .tox-input-wrapper:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input .tox-input-wrapper:focus::after{border:2px solid highlight}}.tox .tox-number-input .tox-input-wrapper:has(input:focus)::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input .tox-input-wrapper:has(input:focus)::after{border:2px solid highlight}}.tox .tox-number-input input{border-radius:3px;color:#fff;font-size:14px;margin:2px 0;pointer-events:all;position:relative;width:60px}.tox .tox-number-input input:hover{background:#2f4055;color:#fff}.tox .tox-number-input input:focus{background-color:#2f4055}.tox .tox-number-input input:disabled{background:#222f3e;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-number-input button{color:#fff;height:28px;position:relative;text-align:center;width:24px}@media (forced-colors:active){.tox .tox-number-input button:active,.tox .tox-number-input button:focus,.tox .tox-number-input button:hover{outline:1px solid currentColor!important}}.tox .tox-number-input button svg{display:block;fill:#fff;margin:0 auto;transform:scale(.67)}@media (forced-colors:active){.tox .tox-number-input button svg,.tox .tox-number-input button svg:active,.tox .tox-number-input button svg:hover{fill:currentColor!important}.tox .tox-number-input button svg:disabled{filter:contrast(0)}}.tox .tox-number-input button:focus{background:#2f4055;z-index:1}.tox .tox-number-input button:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input button:focus::after{border:2px solid highlight}}.tox .tox-number-input button:hover{background:#2f4055;border:0;box-shadow:none;color:#fff}.tox .tox-number-input button:hover svg{fill:#fff}.tox .tox-number-input button:active{background:#599fef;border:0;box-shadow:none;color:#fff}.tox .tox-number-input button:active svg{fill:#fff}.tox .tox-number-input button:disabled{background:#222f3e;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-number-input button:disabled svg{fill:rgba(255,255,255,0.5)}.tox .tox-number-input button.minus{border-radius:3px 0 0 3px}.tox .tox-number-input button.plus{border-radius:0 3px 3px 0}.tox .tox-number-input:focus:not(:active)>.tox-input-wrapper,.tox .tox-number-input:focus:not(:active)>button{background:#2f4055}.tox .tox-tbtn--select{margin:6px 1px 5px 0;padding:0 4px;width:auto}.tox .tox-tbtn--bordered,.tox .tox-tbtn--bordered:focus,.tox .tox-tbtn--bordered:hover{border:1px solid #161f29}.tox .tox-tbtn__select-label{cursor:default;font-weight:400;height:initial;margin:0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-tbtn__select-chevron svg{fill:rgba(255,255,255,0.5)}@media (forced-colors:active){.tox .tox-tbtn__select-chevron svg{fill:currentColor}}.tox .tox-tbtn--bespoke{background:#2f4055}.tox .tox-tbtn--bespoke:focus{background:#2f4055}.tox .tox-tbtn--bespoke+.tox-tbtn--bespoke{margin-inline-start:4px}.tox .tox-tbtn--bespoke .tox-tbtn__select-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:7em}.tox .tox-tbtn--disabled .tox-tbtn__select-label,.tox .tox-tbtn--select:disabled .tox-tbtn__select-label{cursor:not-allowed}.tox .tox-split-button__main{border-radius:3px 0 0 3px;margin-right:0}.tox .tox-split-button__main:focus{border:0;box-shadow:none;background:#222f3e;color:#fff;position:relative;z-index:1}.tox .tox-split-button__main:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0;border-radius:3px 0 0 3px}@media (forced-colors:active){.tox .tox-split-button__main:focus::after{border:2px solid highlight}}.tox .tox-split-button__chevron{width:16px;border-radius:0 3px 3px 0;margin-left:0}.tox .tox-split-button__chevron:focus{border:0;box-shadow:none;background:#222f3e;color:#fff;position:relative;z-index:1}.tox .tox-split-button__chevron:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0;border-radius:0 3px 3px 0}@media (forced-colors:active){.tox .tox-split-button__chevron:focus::after{border:2px solid highlight}}.tox .tox-split-button__chevron svg{fill:rgba(255,255,255,0.5)}@media (forced-colors:active){.tox .tox-split-button__chevron svg{fill:currentColor}}.tox.tox-platform-touch .tox-split-button__main{width:30px}.tox.tox-platform-touch .tox-split-button__chevron{width:20px}.tox .tox-split-button__chevron.tox-tbtn--disabled,.tox .tox-split-button__main.tox-tbtn--disabled{background:#222f3e;box-shadow:none;color:rgba(255,255,255,.5)}.tox .tox-split-button__chevron.tox-tbtn--disabled:hover,.tox .tox-split-button__main.tox-tbtn--disabled:hover{background:#222f3e;box-shadow:none;color:rgba(255,255,255,.5)}.tox .tox-split-button__chevron.tox-tbtn--disabled:focus,.tox .tox-split-button__main.tox-tbtn--disabled:focus{background:#222f3e;box-shadow:none;color:rgba(255,255,255,.5)}.tox .tox-split-button__main.tox-tbtn--disabled svg .tox-icon-highlight-bg-color__color,.tox .tox-split-button__main.tox-tbtn--disabled svg .tox-icon-text-color__color{opacity:.3}.tox .tox-toolbar-overlord{background-color:#222f3e}.tox .tox-toolbar,.tox .tox-toolbar__overflow,.tox .tox-toolbar__primary{background-attachment:local;background-color:#222f3e;background-image:repeating-linear-gradient(rgba(255,255,255,.15) 0 1px,transparent 1px 39px);background-position:center top 40px;background-repeat:no-repeat;background-size:calc(100% - 11px * 2) calc(100% - 41px);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;padding:0 0;transform:perspective(1px)}.tox .tox-toolbar-overlord>.tox-toolbar,.tox .tox-toolbar-overlord>.tox-toolbar__overflow,.tox .tox-toolbar-overlord>.tox-toolbar__primary{background-position:center top 0;background-size:calc(100% - 11px * 2) calc(100% - 0px)}.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed{height:0;opacity:0;padding-bottom:0;padding-top:0;visibility:hidden}.tox .tox-toolbar__overflow--growing{transition:height .3s ease,opacity .2s linear .1s}.tox .tox-toolbar__overflow--shrinking{transition:opacity .3s ease,height .2s linear .1s,visibility 0s linear .3s}.tox .tox-anchorbar,.tox .tox-toolbar-overlord{grid-column:1/-1}.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{border-top:1px solid transparent;margin-top:-1px;padding-bottom:1px;padding-top:1px}@media (forced-colors:active){.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{outline:1px solid currentColor}}.tox .tox-toolbar--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-pop .tox-toolbar{border-width:0}.tox .tox-toolbar--no-divider{background-image:none}.tox .tox-toolbar-overlord .tox-toolbar:not(.tox-toolbar--scrolling):first-child,.tox .tox-toolbar-overlord .tox-toolbar__primary{background-position:center top 39px}.tox .tox-editor-header>.tox-toolbar--scrolling,.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child{background-image:none}.tox .tox-focusable-wrapper{border:1px solid transparent;margin-right:2px;pointer-events:none}.tox .tox-focusable-wrapper .tox-textfield-size{pointer-events:all}.tox .tox-focusable-wrapper:focus{background-color:#2f4055;border-radius:6px;border-style:solid;border-width:1px}.tox.tox-tinymce-aux .tox-toolbar__overflow{background-color:#222f3e;background-position:center top 43px;background-size:calc(100% - 8px * 2) calc(100% - 51px);border:none;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);overscroll-behavior:none;padding:4px 0}@media (forced-colors:active){.tox.tox-tinymce-aux .tox-toolbar__overflow{border:solid}}.tox-pop .tox-pop__dialog .tox-toolbar{background-position:center top 43px;background-size:calc(100% - 11px * 2) calc(100% - 51px);padding:4px 0}.tox-context-form__group{display:flex;align-items:center}.tox .tox-toolbar__group{align-items:center;display:flex;flex-wrap:wrap;margin:0 0;padding:0 11px 0 12px}.tox .tox-toolbar__group--pull-right{margin-left:auto}.tox .tox-toolbar--scrolling .tox-toolbar__group{flex-shrink:0;flex-wrap:nowrap}.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type){border-right:1px solid transparent}.tox[dir=rtl] .tox-toolbar__group:not(:last-of-type){border-left:1px solid transparent}.tox .tox-toolbar-input-form{display:flex;align-items:center;background-color:var(--tox-private-background-color,#222f3e);padding:0 var(--tox-private-pad-sm,8px)}.tox .tox-tooltip{display:inline-block;max-width:min(80%,15em);padding:8px 0 0 0;position:relative;width:max-content;z-index:1150}.tox .tox-tooltip.tox-tooltip--anchor{display:none;padding:var(--tox-private-pad-xs,4px) 0 0;position:fixed;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;height:fit-content}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--up{position-area:block-end}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--down{position-area:block-start}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--left{position-area:inline-start}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--right{position-area:inline-end}.tox .tox-tooltip__body{background-color:#324053;border-radius:6px;box-shadow:none;color:#fff;font-size:12px;font-style:normal;font-weight:600;overflow-wrap:break-word;padding:4px 6px;text-transform:none}@media (forced-colors:active){.tox .tox-tooltip__body{outline:outset 1px}}.tox .tox-tooltip__arrow{position:absolute}.tox .tox-tooltip--down .tox-tooltip__arrow{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #324053;bottom:0;left:50%;position:absolute;transform:translateX(-50%)}.tox .tox-tooltip--up .tox-tooltip__arrow{border-bottom:8px solid #324053;border-left:8px solid transparent;border-right:8px solid transparent;left:50%;position:absolute;top:0;transform:translateX(-50%)}.tox .tox-tooltip--right .tox-tooltip__arrow{border-bottom:8px solid transparent;border-left:8px solid #324053;border-top:8px solid transparent;position:absolute;right:0;top:50%;transform:translateY(-50%)}.tox .tox-tooltip--left .tox-tooltip__arrow{border-bottom:8px solid transparent;border-right:8px solid #324053;border-top:8px solid transparent;left:0;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-tree{display:flex;flex-direction:column}.tox .tox-tree .tox-trbtn{align-items:center;background:0 0;border:0;border-radius:4px;box-shadow:none;color:#fff;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;margin-bottom:4px;margin-top:4px;outline:0;overflow:hidden;padding:0;padding-left:8px;text-transform:none}.tox .tox-tree .tox-trbtn .tox-tree__label{cursor:default;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tree .tox-trbtn svg{display:block;fill:#fff}.tox .tox-tree .tox-trbtn:focus{background:#2f4055;border:0;box-shadow:none}.tox .tox-tree .tox-trbtn:hover{background:#2f4055;border:0;box-shadow:none;color:#fff}.tox .tox-tree .tox-trbtn:hover svg{fill:#fff}.tox .tox-tree .tox-trbtn:active{background:#599fef;border:0;box-shadow:none;color:#fff}.tox .tox-tree .tox-trbtn:active svg{fill:#fff}.tox .tox-tree .tox-trbtn--disabled,.tox .tox-tree .tox-trbtn--disabled:hover,.tox .tox-tree .tox-trbtn:disabled,.tox .tox-tree .tox-trbtn:disabled:hover{background:0 0;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-tree .tox-trbtn--disabled svg,.tox .tox-tree .tox-trbtn--disabled:hover svg,.tox .tox-tree .tox-trbtn:disabled svg,.tox .tox-tree .tox-trbtn:disabled:hover svg{fill:rgba(255,255,255,0.5)}.tox .tox-tree .tox-trbtn--enabled,.tox .tox-tree .tox-trbtn--enabled:hover{background:#599fef;border:0;box-shadow:none;color:#fff}.tox .tox-tree .tox-trbtn--enabled:hover>*,.tox .tox-tree .tox-trbtn--enabled>*{transform:none}.tox .tox-tree .tox-trbtn--enabled svg,.tox .tox-tree .tox-trbtn--enabled:hover svg{fill:#fff}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled){color:#fff}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled) svg{fill:#fff}.tox .tox-tree .tox-trbtn:active>*{transform:none}.tox .tox-tree .tox-trbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tree .tox-trbtn--labeled{padding:0 4px;width:unset}.tox .tox-tree .tox-trbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-tree .tox-tree--directory{display:flex;flex-direction:column}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label{font-weight:700}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn:focus svg{fill:#fff}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:focus .tox-mbtn svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover .tox-mbtn svg{fill:#fff}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#fff}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#fff}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-chevron{margin-right:6px}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--shrinking) .tox-chevron{transition:transform .5s ease-in-out}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--open) .tox-chevron{transform:rotate(90deg)}.tox .tox-tree .tox-tree--leaf__label{font-weight:400}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--leaf__label .tox-mbtn:focus svg{fill:#fff}.tox .tox-tree .tox-tree--leaf__label:hover .tox-mbtn svg{fill:#fff}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#fff}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#fff}.tox .tox-tree .tox-icon-custom-state{flex-grow:1;display:flex;justify-content:flex-end}.tox .tox-tree .tox-tree--directory__children{overflow:hidden;padding-left:16px}.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--growing,.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--shrinking{transition:height .5s ease-in-out}.tox .tox-tree .tox-trbtn.tox-tree--leaf__label{display:flex;justify-content:space-between}[data-mce-name=uploadcare-enhance-filter] .color-swatch-remove-color path{fill:#c00;stroke:#c00}.tox .tox-view-wrap,.tox .tox-view-wrap__slot-container{background-color:#222f3e;display:flex;flex:1;flex-direction:column;height:100%;min-height:0}.tox .tox-view{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden;background-color:#222f3e}.tox .tox-view__header{align-items:center;display:flex;font-size:16px;justify-content:space-between;padding:10px;position:relative}.tox .tox-view__label{color:#fff;font-weight:700;line-height:24px;padding:4px 16px;text-align:center;white-space:nowrap}.tox .tox-view__label--normal{font-size:16px}.tox .tox-view__label--large{font-size:20px}.tox .tox-view--mobile.tox-view__header,.tox .tox-view--mobile.tox-view__toolbar{padding:8px}.tox .tox-view--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-view__align-right{margin-left:auto}.tox .tox-view__toolbar{display:flex;flex-direction:row;gap:8px;justify-content:space-between;overflow-x:auto;padding:10px}.tox .tox-view__toolbar__group{display:flex;flex-direction:row;gap:12px}.tox .tox-view__header-end,.tox .tox-view__header-start{display:flex}.tox .tox-view__pane{height:100%;padding:8px;position:relative;width:100%}.tox .tox-view__pane_panel{border:1px solid #161f29;border-radius:6px}.tox:not([dir=rtl]) .tox-view__header .tox-view__header-end>*,.tox:not([dir=rtl]) .tox-view__header .tox-view__header-start>*{margin-left:8px}.tox[dir=rtl] .tox-view__header .tox-view__header-end>*,.tox[dir=rtl] .tox-view__header .tox-view__header-start>*{margin-right:8px}.tox .tox-well{border:1px solid #161f29;border-radius:6px;padding:8px;width:100%}.tox .tox-well>:first-child{margin-top:0}.tox .tox-well>:last-child{margin-bottom:0}.tox .tox-well>:only-child{margin:0}.tox .tox-custom-editor{border:1px solid #161f29;border-radius:6px;display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-view .tox-revisionhistory__pane{padding:0}.tox .tox-revisionhistory__container{display:flex;flex-direction:column;height:100%}.tox .tox-revisionhistory{background-color:#222f3e;border-top:1px solid rgba(255,255,255,.15);display:flex;flex:1;height:100%;overflow-x:auto;overflow-y:hidden;position:relative;width:100%}.tox .tox-revisionhistory__iframe{flex:1}.tox .tox-revisionhistory__sidebar{display:flex;flex-direction:column;height:100%;min-width:248px;width:316px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__sidebar-title{background-color:#222f3e;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);color:#fff;font-size:20px;font-weight:400;line-height:28px;padding:12px;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions{background-color:#2b3b4e;display:flex;flex:1;flex-direction:column;gap:12px;overflow-y:auto;padding:10px 12px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus{height:100%;position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0;border-radius:6px;bottom:1px;left:1px;right:1px;top:1px}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card{background-color:#222f3e;border:1px solid rgba(255,255,255,.15);border-radius:6px;color:#fff;cursor:pointer;display:flex;flex-direction:column;font-size:14px;padding:12px;width:100%}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:hover{box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus{position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff #285ec7;content:'';left:0;position:absolute;right:0;top:0;border-radius:6px;box-shadow:0 0 0 2px #285ec7;box-shadow:0 0 0 2px #285ec7!important}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected{background-color:#1b3b60;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);position:relative}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff #cea215;content:'';left:0;position:absolute;right:0;top:0;border-radius:6px;box-shadow:0 0 0 2px #cea215}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-tags{display:flex;align-items:flex-start;flex-direction:row;gap:8px;overflow-x:auto}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-label{display:block;max-width:min-content;padding:4px 8px;margin-bottom:8px;font-size:12px;font-weight:700;border-radius:4px;background:#4e5965;text-wrap:balance;flex:0 1 auto}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-content{display:flex;flex-direction:row;gap:8px;align-items:center}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution{align-items:center;display:flex}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution .tox-revisionhistory__avatar{position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution .tox-revisionhistory__avatar+.tox-revisionhistory__card-ai-icon{margin-left:-4px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-info{display:flex;flex-direction:column;flex:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-date-label{font-size:14px;font-weight:700;line-height:18px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-author-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:400}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__avatar{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-ai-icon{display:flex;height:36px;width:36px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__norevision{color:rgba(255,255,255,.5);font-size:16px;line-height:24px;padding:5px 5.5px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-check-icon{color:#fff;height:24px}.tox .tox-card{background-color:#222f3e;border-radius:6px;display:flex;flex-direction:column;gap:12px;padding:10px;cursor:pointer;transition:box-shadow .15s ease-in-out,border .15s ease-in-out;border:2px solid transparent}.tox .tox-card:hover{box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-card--selected{border-color:#006ce7}.tox .tox-card:focus-visible{outline:2px solid #fff;border-color:transparent}.tox .tox-card--has-decision{background-color:#17202a}.tox .tox-card--has-decision:not(.tox-card--selected){border-width:1px;border-color:rgba(255,255,255,.5);padding:11px}.tox .tox-card--has-decision .tox-card__header{font-size:12px}.tox .tox-card--has-decision .tox-card__body{color:rgba(255,255,255,.5)}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline{border-color:#0c1116}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:focus:not(:disabled),.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:hover:not(:disabled){background-color:#0c1116;border-color:#010203}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:active:not(:disabled){background-color:#010203;border-color:#010203}.tox .tox-card__header{padding-bottom:0;color:#fff;font-size:16px;font-weight:700;text-transform:uppercase;display:flex;flex-direction:column;gap:12px}.tox .tox-card__header-label{font-size:12px;font-weight:700;text-transform:uppercase;color:#fff}.tox .tox-card__header-content{flex:1;min-width:0;font-weight:400;text-transform:none}.tox .tox-card__header-actions{display:flex;align-items:center;gap:4px;flex-shrink:0;opacity:1;pointer-events:auto;transition:opacity .15s ease-in-out}.tox .tox-card__header-actions--hover-visible,.tox .tox-card__header-actions--on-focus{opacity:0;pointer-events:none}.tox .tox-card__header-actions--always-visible{opacity:1;pointer-events:auto}.tox .tox-card__header:has(.tox-card__header-actions),.tox .tox-card__header:has(.tox-card__header-content){flex-direction:row;align-items:center}.tox .tox-card__header:has(.tox-card__header-content){justify-content:space-between}.tox .tox-card__header:has(.tox-card__header-actions):not(:has(.tox-card__header-content)){justify-content:flex-end}.tox .tox-card:focus-within .tox-card__header-actions--hover-visible,.tox .tox-card:focus-within .tox-card__header-actions--on-focus,.tox .tox-card:hover .tox-card__header-actions--hover-visible{opacity:1;pointer-events:auto}.tox .tox-card__body{color:#fff;font-size:14px}.tox .tox-card__body .tox-expandable-box{background:0 0;border:none;gap:12px}.tox .tox-card__body .tox-expandable-box .tox-expandable-box__content,.tox .tox-card__body .tox-expandable-box>.tox-button{margin:0}.tox .tox-card__highlight{padding:4px 6px;border-bottom:2px solid #006ce7}.tox .tox-card__highlight--added{background-color:#334840}.tox .tox-card__highlight--deleted{background-color:#442632}.tox .tox-card__highlight--modified{background-color:#1b3b60}.tox .tox-card__actions{display:flex;gap:8px}.tox .tox-card__actions--space-between{justify-content:space-between}.tox .tox-card__actions--flex-start{justify-content:flex-start}.tox .tox-card__actions .tox-button,.tox .tox-card__actions .tox-button--icon,.tox .tox-card__actions .tox-button:has(.tox-icon:only-child){padding:4px 16px}.tox .tox-card__divider{margin:12px 0;border:none;border-top:1px solid #161f29}.tox .tox-card__expansion{display:flex;flex-direction:column;gap:12px;width:100%}.tox .tox-card__expansion:has(> .tox-card__expansion-content--collapsed:only-child){margin-block-start:-12px}.tox .tox-card__expansion-content{display:grid;font-size:14px;grid-template-rows:0fr;transition:grid-template-rows .2s ease-in-out}.tox .tox-card__expansion-content--expanded{grid-template-rows:1fr}.tox .tox-card__expansion-content--expanded>.tox-card__expansion-content-inner{min-height:auto;overflow:visible}.tox .tox-card__expansion-content--collapsed{grid-template-rows:0fr}.tox .tox-card__expansion-content-inner{min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:12px}.tox .tox-card.tox-skeleton{cursor:default;pointer-events:none;box-shadow:none}.tox .tox-card.tox-skeleton:hover{box-shadow:none}.tox .tox-card.tox-skeleton .tox-skeleton__line{border-radius:6px;margin:0}.tox .tox-card.tox-skeleton .tox-card__body{display:flex;flex-direction:column;gap:4px}.tox .tox-card-list{display:flex;flex-direction:column;gap:12px}.tox .tox-card-list:has(.tox-card-group){gap:0}.tox .tox-card-list:focus{outline:0}.tox .tox-card-group{background-color:#17202a;display:flex;flex-direction:column}.tox .tox-card-group .tox-card{scroll-margin-top:53px}.tox .tox-card-group__title{align-items:center;background-color:#222f3e;border-bottom:1px solid #161f29;color:#fff;display:flex;font-size:14px;font-weight:700;gap:8px;line-height:16px;overflow:hidden;padding:12px;position:sticky;top:0;z-index:1}.tox .tox-card-group__title-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-card-group__status{color:rgba(255,255,255,.5);flex:0 0 auto;font-size:12px;font-weight:400;margin-inline-start:auto}.tox .tox-card-group__content{display:flex;flex-direction:column;gap:12px;padding-block:12px}.tox .tox-profile{align-items:center;display:flex;gap:8px}.tox .tox-profile__image{align-items:center;display:flex;flex-shrink:0}.tox .tox-profile__badge{display:flex;flex-shrink:0;height:36px;margin-inline-start:-4px;width:36px}.tox .tox-profile__badge svg{display:block;height:100%;width:100%}.tox .tox-user-avatar{width:36px;height:36px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center}.tox .tox-user-avatar img{width:100%;height:100%;object-fit:cover}.tox .tox-profile__body{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;flex:1}.tox .tox-profile__heading{color:#fff;font-size:14px;font-weight:700;line-height:18px;text-transform:none}.tox .tox-profile__subheading{color:#fff;font-size:12px;font-weight:400;line-height:16px;padding-block:4px;text-transform:none}.tox .tox-profile__subheading .tox-icon svg{fill:rgba(255,255,255,0.5);margin-block:-4px;vertical-align:top}.tox [data-mce-name=suggestededits] .tox-icon .tox-icon--badge{fill:#006ce7}.tox .tox-view .tox-suggestededits__pane{padding:0}.tox .tox-suggestededits__sink{position:relative;z-index:1000}.tox .tox-suggestededits__sink .tox-tiered-menu .tox-collection--list{position:absolute}.tox .tox-suggestededits__container{height:100%;display:flex;flex-direction:column}.tox .tox-suggestededits__container .tox-suggestededits{background-color:#222f3e;display:flex;flex:1;height:inherit;overflow-x:auto;overflow-y:hidden;position:relative}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__content{flex:1}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__model{height:100%;position:relative}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__model .tox-suggestededits__iframe{height:100%;width:100%;overflow:scroll;background-color:#fff}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar{background-color:#34485f;border-left:1px solid rgba(255,255,255,.15);display:flex;flex-direction:column;flex:0 1 auto;min-width:248px;width:441px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__announcer{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;margin:-1px;padding:0;border:0}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar{padding:4px 12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar:not(:empty){padding:12px 12px 6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button:has(.tox-icon:only-child){gap:0;padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-md,16px)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button:has(.tox-icon:only-child) .tox-icon{align-items:center;display:flex;flex:0 0 auto;height:24px;justify-content:center;width:24px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline{border-color:#486383}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:focus:not(:disabled),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:hover:not(:disabled){background-color:rgba(255,255,255,.12);border-color:rgba(255,255,255,.12)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline.tox-button--enabled:not(:disabled),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:active:not(:disabled){background-color:rgba(255,255,255,.18);border-color:rgba(255,255,255,.18);color:#fff}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline[disabled]{border-color:#486383}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content{display:flex;flex:1;flex-direction:column;gap:12px;overflow:auto;padding:6px 12px 12px 12px;position:relative;scroll-padding-block:6px 12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-card--selected:has(textarea:focus){border-color:transparent}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__divider,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--divider{background-color:#34485f;height:1px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--editor,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--single{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;gap:12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--editor{padding:6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header{display:flex;flex:auto;justify-content:space-between;align-items:center;gap:8px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__card--timestamp,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__card--timestamp{color:#fff}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__card--timestamp .tox-icon svg,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__card--timestamp .tox-icon svg{fill:rgba(255,255,255,0.5)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution{align-items:center;border:0;border-radius:20px;color:rgba(255,255,255,.5);height:20px;width:20px;display:flex;flex:0 0 auto;justify-content:center;text-align:center}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button{padding:var(--tox-private-button-padding-y,4px) var(--tox-private-button-padding-x,16px)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button .tox-suggestededits__resolution--label{display:none}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:not(:hover):not(:focus-visible),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:not(:hover):not(:focus-visible){border-color:transparent}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution{display:none}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution--label{display:inline}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content{display:flex;flex-direction:column;align-self:stretch;flex:auto;gap:6px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations{display:flex;gap:8px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-details,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-details{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-text,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-text{color:#fff;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:18px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-content-text,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-content-text{font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:20px;overflow-wrap:break-word}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-content-text-joiner,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-content-text-joiner{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__card--feedback,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__card--feedback{color:#fff;overflow-wrap:anywhere;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__actions,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--buttons{display:flex;align-items:center;gap:8px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__actions.tox-suggestededits__card--feedback-buttons,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--buttons.tox-suggestededits__card--feedback-buttons{justify-content:flex-end}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-suggestededits__card--active .tox-suggestededits__card--single{border-radius:6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-suggestededits__card--active .tox-suggestededits__card--single:focus-visible{outline:2px solid #006ce7}.tox .tox-dialog-loading::before{background-color:rgba(0,0,0,.5);content:"";height:100%;position:absolute;width:100%;z-index:1000}.tox .tox-tab{cursor:pointer}.tox .tox-dialog__content-js{display:flex;flex:1}.tox .tox-dialog__body-content .tox-collection{display:flex;flex:1}.tox.tox-tinymce-aux .tox-toolbar__overflow{box-shadow:0 0 0 1px rgba(255,255,255,.15)}`) \ No newline at end of file diff --git a/libraries/tinymce/js/tinymce/skins/ui/oxide-dark/skin.min.css b/libraries/tinymce/js/tinymce/skins/ui/oxide-dark/skin.min.css index 16db44f..528c57f 100644 --- a/libraries/tinymce/js/tinymce/skins/ui/oxide-dark/skin.min.css +++ b/libraries/tinymce/js/tinymce/skins/ui/oxide-dark/skin.min.css @@ -1 +1 @@ -.tox{box-shadow:none;box-sizing:content-box;cursor:auto;font-style:normal;font-weight:400;line-height:normal;-webkit-tap-highlight-color:transparent;-webkit-text-decoration:none;text-decoration:none;text-shadow:none;text-transform:none;vertical-align:initial;white-space:normal}.tox :not(svg):not(rect){box-sizing:inherit;color:inherit;cursor:inherit;direction:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;-webkit-tap-highlight-color:inherit;text-align:inherit;text-decoration:inherit;text-shadow:inherit;text-transform:inherit;vertical-align:inherit;white-space:inherit}.tox :not(svg):not(rect){background:0 0;border:0;box-shadow:none;float:none;height:auto;margin:0;max-width:none;outline:0;padding:0;position:static;width:auto}.tox:not([dir=rtl]){direction:ltr;text-align:left}.tox[dir=rtl]{direction:rtl;text-align:right}.tox-tinymce :focus,.tox-tinymce-aux :focus{outline:0}button::-moz-focus-inner{border:0}@keyframes tox-rotation{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes tox-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox{color:var(--tox-private-color-black,#222f3e);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-font-size-base, 16px)}.tox-tinymce{border:2px solid #161f29;border-radius:10px;box-shadow:none;box-sizing:border-box;display:flex;flex-direction:column;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);overflow:hidden;position:relative;visibility:inherit!important}.tox.tox-tinymce-inline{border:none;box-shadow:none;overflow:initial}.tox.tox-tinymce-inline .tox-editor-container{overflow:initial}.tox.tox-tinymce-inline .tox-editor-header{background-color:#222f3e;border:2px solid #161f29;border-radius:10px;box-shadow:none;overflow:hidden}.tox-tinymce-aux{font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);z-index:var(--tox-private-z-index-sink,1300)}.tox[dir=rtl] .tox-icon--flip svg{transform:rotateY(180deg)}.tox .tox-editor-container{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.tox .tox-editor-container--keep-toolbar{flex:0 0 auto;overflow:visible}.tox .tox-editor-header{display:grid;grid-template-columns:1fr min-content;z-index:2}.tox:not(.tox-tinymce-inline) .tox-editor-header{background-color:#222f3e;border-bottom:1px solid rgba(255,255,255,.15);box-shadow:none;padding:4px 0}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(.tox-editor-dock-transition){transition:box-shadow .5s}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header{border-top:1px solid rgba(255,255,255,.15);box-shadow:none}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header{background-color:#222f3e;box-shadow:none;padding:4px 0}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header{box-shadow:none}.tox.tox:not(.tox-tinymce-inline) .tox-editor-header.tox-editor-header--empty{background:0 0;border:none;box-shadow:none;padding:0}.tox-editor-dock-fadeout{opacity:0;visibility:hidden}.tox-editor-dock-fadein{opacity:1;visibility:visible}.tox-editor-dock-transition{transition:visibility 0s linear .25s,opacity .25s ease}.tox-editor-dock-transition.tox-editor-dock-fadein{transition-delay:0s}.tox .accessibility-issue__header{align-items:center;display:flex;margin-bottom:4px}.tox #accessibility-issue__subheader{font-size:16px;color:#fff}.tox .accessbility-sr-only{position:absolute;clip:rect(1px,1px,1px,1px);clip-path:inset(0 0 99.9% 99.9%);overflow:hidden;height:1px;width:1px;padding:0;border:0}.tox .accessibility-issue__description{align-items:stretch;border-radius:6px;justify-content:space-between}.tox .accessibility-issue__description>div{padding-bottom:4px}.tox .accessibility-issue__description>div>div{align-items:center;display:flex;margin-bottom:4px}.tox .accessibility-issue__description>div>div .tox-icon svg{display:block}.tox #accessibility-issue__contentID{margin-top:8px;margin-bottom:8px}.tox #accessibility-issue__contentID span:first-child{font-weight:700}.tox #accessibility-issue__document{padding-bottom:8px}.tox .accessibility-issue__repair{margin-top:8px}.tox .accessibility-issue__repair .tox-form__group .tox-form__group--error{color:#eb9999}.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description{background-color:#1f354f;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2{font-size:14px;color:#99c4f5}.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon.accessibility-issue__icon svg{fill:#99c4f5}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon{background-color:#006ce7;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:hover{background-color:#0060ce}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:active{background-color:#0054b4}.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description{background-color:#383f38;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2{font-size:14px;color:#ffeb99}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon.accessibility-issue__icon svg{fill:#ffeb99}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon{background-color:#ffe89d;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:hover{background-color:#f2d574;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:active{background-color:#e8c657;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description{background-color:#332a38;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2{font-size:14px;color:#eb9999}.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon.accessibility-issue__icon svg{fill:#eb9999}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon{background-color:#f2bfbf;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:hover{background-color:#e9a4a4;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:active{background-color:#ee9494;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description{background-color:rgba(120,171,70,.5);color:#fff}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description>:last-child{display:none}.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2{color:#fff}.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon.accessibility-issue__icon svg{fill:#fff}.tox .tox-dialog__body-content .accessibility-issue__header .tox-form__group h1,.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2{margin-top:0}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-left:4px}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-left:auto}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description{padding:8px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-right:4px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-right:auto}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description{padding:4px 8px 4px 4px}.tox .mce-codemirror{background:#fff;bottom:0;font-size:13px;left:0;position:absolute;right:0;top:0;z-index:1}.tox .mce-codemirror.tox-inline-codemirror{margin:8px;position:absolute}.tox .tox-advtemplate .tox-form__grid{flex:1}.tox .tox-advtemplate .tox-form__grid>div:first-child{display:flex;flex-direction:column;width:30%}.tox .tox-advtemplate .tox-form__grid>div:first-child>div:nth-child(2){flex-basis:0;flex-grow:1;overflow:auto}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-advtemplate .tox-form__grid>div:first-child{width:100%}}.tox .tox-advtemplate iframe{border-color:#161f29;border-radius:10px;border-style:solid;border-width:1px;margin:0 10px}.tox .tox-accordion{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__item{background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color,#fff);border-radius:var(--tox-private-control-border-radius,6px);position:relative}.tox .tox-accordion__item.tox-accordion__item--expanded{background-color:var(--tox-private-background-secondary,#2f4055)}.tox .tox-accordion__item.tox-accordion__item--expanded .tox-accordion__content--expanded .tox-accordion__content-inner{padding-top:0}.tox .tox-accordion__item::after{border-radius:var(--tox-private-control-border-radius,6px);box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,2px) var(--tox-private-keyboard-focus-outline-color,#fff);content:'';inset:0;opacity:0;pointer-events:none;position:absolute}@media (forced-colors:active){.tox .tox-accordion__item::after{border:2px solid highlight}}.tox .tox-accordion__item:focus{outline:0;z-index:1}.tox .tox-accordion__item:focus::after{opacity:1}.tox .tox-accordion__heading{margin:0;width:100%}.tox .tox-accordion__heading:focus{outline:0}.tox .tox-accordion__header{align-items:center;border:none;border-radius:var(--tox-private-control-border-radius,6px);box-sizing:border-box;color:var(--tox-private-text-color,#fff);cursor:pointer;display:flex;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:var(--tox-private-line-height-base, 1.3);outline:0;padding:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));text-align:left;width:100%}.tox .tox-accordion__header::after{border-radius:var(--tox-private-control-border-radius,6px);bottom:0;box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,2px) var(--tox-private-keyboard-focus-outline-color,#fff);content:'';left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-accordion__header::after{border:2px solid highlight}}.tox .tox-accordion__header:hover:not(.tox-accordion__header--disabled){background-color:var(--tox-private-background-secondary,#2f4055)}.tox .tox-accordion__header:focus:not(.tox-accordion__header--disabled){position:relative;z-index:1}.tox .tox-accordion__header:focus:not(.tox-accordion__header--disabled)::after{opacity:1}.tox .tox-accordion__header.tox-accordion__header--disabled{cursor:not-allowed;opacity:.5}.tox .tox-accordion__header.tox-accordion__header--icon-end{padding-right:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__header-icon{align-items:center;color:var(--tox-private-text-color,#fff);display:flex;flex-shrink:0;height:calc(var(--tox-private-base-value,16px) * 1.5);justify-content:center;width:calc(var(--tox-private-base-value,16px) * 1.5)}.tox .tox-accordion__header-icon svg{display:block;fill:currentColor;height:100%;width:100%;max-height:calc(var(--tox-private-base-value,16px) * 1.5);max-width:calc(var(--tox-private-base-value,16px) * 1.5)}.tox .tox-accordion__header:not(.tox-accordion__header--icon-end) .tox-accordion__header-icon{margin-right:var(--tox-private-pad-sm,8px);margin-left:0}.tox .tox-accordion__header--icon-end .tox-accordion__header-icon{margin-left:auto}.tox .tox-accordion__header-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-accordion__header--icon-end .tox-accordion__header-text{flex:0 1 auto;margin-right:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__content{border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-accordion__content.tox-accordion__content--collapsed{display:none}.tox .tox-accordion__content.tox-accordion__content--expanded{display:block}.tox .tox-accordion__content-inner{padding:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px)) calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__content-inner .tox-form__group:last-child{margin-bottom:0}.tox .tox-accordion__content-inner .tox-form__group>:not(:first-child){margin-top:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__content-inner .tox-form__group>.tox-dropdown-content{margin-top:0}.tox .tox-accordion__content-inner .tox-button-group{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__content-inner .tox-accordion__model-button{border-radius:var(--tox-private-control-border-radius,6px);align-items:center;appearance:none;background:0 0;border:none;color:inherit;cursor:pointer;display:flex;font-family:inherit;font-size:inherit;gap:var(--tox-private-pad-xs,4px);margin:0;outline:0;padding:6px calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));position:relative}.tox .tox-accordion__content-inner .tox-accordion__model-button::after{border-radius:var(--tox-private-control-border-radius,6px);bottom:0;box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,2px) var(--tox-private-keyboard-focus-outline-color,#fff);content:'';left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-accordion__content-inner .tox-accordion__model-button::after{border:2px solid highlight}}.tox .tox-accordion__content-inner .tox-accordion__model-button:focus{z-index:1}.tox .tox-accordion__content-inner .tox-accordion__model-button:focus::after{opacity:1}.tox .tox-accordion .tox-selectfield{align-items:center;background-color:var(--tox-private-background-color,#222f3e);border:1px solid var(--tox-private-border-color,#161f29);border-radius:var(--tox-private-control-border-radius,6px);box-sizing:border-box;display:flex;height:34px;padding:0 6px;position:relative;width:100%}.tox .tox-accordion .tox-selectfield:focus-within{box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,2px) var(--tox-private-keyboard-focus-outline-color,#fff);z-index:1}@media (forced-colors:active){.tox .tox-accordion .tox-selectfield:focus-within{border-color:highlight;box-shadow:0 0 0 2px highlight}}.tox .tox-accordion .tox-selectfield button{appearance:none;background:0 0;border:none;color:inherit;cursor:pointer;flex:1;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;outline:0;padding:5px 0;text-align:left}.tox .tox-accordion .tox-selectfield .tox-icon{display:flex;flex-shrink:0;padding:9px 0;pointer-events:none}.tox .tox-accordion .tox-selectfield .tox-icon svg{height:var(--tox-private-base-value,16px);width:var(--tox-private-base-value,16px)}.tox[dir=rtl] .tox-accordion__header{text-align:right}.tox[dir=rtl] .tox-accordion__header:not(.tox-accordion__header--icon-end) .tox-accordion__header-icon{margin-left:var(--tox-private-pad-sm,8px);margin-right:0}.tox[dir=rtl] .tox-accordion__header--icon-end .tox-accordion__header-icon{margin-right:auto;margin-left:0}.tox[dir=rtl] .tox-accordion__header--icon-end .tox-accordion__header-text{margin-left:var(--tox-private-pad-sm,8px);margin-right:0}.tox .tox-alert{align-items:flex-start;align-self:stretch;border-radius:var(--tox-private-panel-border-radius,6px);border-style:solid;border-width:1px;box-sizing:border-box;color:var(--tox-private-text-color,#fff);display:flex;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-normal,normal);gap:var(--tox-private-pad-xs,4px);line-height:var(--tox-private-line-height-base, 1.3);padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-sm,8px);width:100%}.tox .tox-alert--error{background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#222f3e) r g b / .8) 0,rgba(from var(--tox-private-background-color,#222f3e) r g b / .8) 100%),var(--tox-private-color-error,#c00);border-color:var(--tox-private-color-error,#c00)}.tox .tox-alert--warning{background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#222f3e) r g b / .8) 0,rgba(from var(--tox-private-background-color,#222f3e) r g b / .8) 100%),var(--tox-private-color-warning,#fc0);border-color:var(--tox-private-color-warning,#fc0)}.tox .tox-alert__body{display:flex;flex:1 0 0;flex-direction:column;min-width:0}.tox .tox-alert__content{align-items:center;display:flex;flex:1 0 0;gap:var(--tox-private-pad-sm,8px);padding:var(--tox-private-pad-sm,8px) 0}.tox .tox-alert__message{margin:0;text-align:left}.tox .tox-alert__actions{align-items:center;display:flex;flex-wrap:wrap;gap:var(--tox-private-pad-xs,4px);justify-content:flex-start}.tox .tox-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bottom-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bar{display:flex;flex:0 0 auto}.tox .tox-button{border-width:var(--tox-private-button-border-width,1px);border-style:var(--tox-private-button-border-style,solid);border-radius:var(--tox-private-control-border-radius,6px);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-button-font-size, 14px);font-style:var(--tox-private-button-font-style,normal);font-weight:var(--tox-private-button-font-weight,bold);line-height:var(--tox-private-control-line-height, 24px);padding:var(--tox-private-button-padding-y,4px) var(--tox-private-button-padding-x,16px);text-align:center;-webkit-text-decoration:none;text-decoration:none;text-transform:none;letter-spacing:normal;box-shadow:none;box-sizing:border-box;cursor:pointer;outline:0;position:relative;white-space:nowrap;display:inline-flex;justify-content:center;align-items:center;gap:var(--tox-private-pad-xs,4px)}.tox .tox-button::before{border-radius:var(--tox-private-control-border-radius,6px);bottom:calc(-1 * var(--tox-private-button-border-width,1px));box-shadow:var(--tox-private-button-focus-outline,inset 0 0 0 1px #fff,0 0 0 2px #006ce7);content:'';left:calc(-1 * var(--tox-private-button-border-width,1px));opacity:0;pointer-events:none;position:absolute;right:calc(-1 * var(--tox-private-button-border-width,1px));top:calc(-1 * var(--tox-private-button-border-width,1px))}.tox .tox-button:focus:not(:disabled){background-color:var(--tox-private-button-focus-background-color,#0060ce);background-image:none;border-color:var(--tox-private-button-focus-border-color,#0060ce);box-shadow:var(--tox-private-button-focus-box-shadow,none);color:var(--tox-private-button-focus-text-color,#fff)}.tox .tox-button:focus:not(:disabled)::before{opacity:1}.tox .tox-button.tox-button--icon,.tox .tox-button:has(.tox-icon:only-child){padding:4px}.tox .tox-button .tox-icon svg{display:block;fill:currentColor}.tox .tox-button .tox-icon.tox-icon--success svg{fill:var(--tox-private-color-success,#78AB46)}.tox .tox-button .tox-icon.tox-icon--error svg{fill:var(--tox-private-color-error,#c00)}.tox .tox-button--stretch{width:100%}.tox-context-form__group .tox-button--icon,.tox-context-form__group .tox-button.tox-button--icon{margin:6px 1px 5px 0;padding:0}.tox .tox-button{background-color:var(--tox-private-button-primary-background-color,#006ce7);background-image:none;background-position:0 0;background-repeat:repeat;color:var(--tox-private-button-primary-text-color,#fff);border-color:var(--tox-private-button-primary-border-color,#006ce7)}.tox .tox-button[disabled]{background-color:var(--tox-private-button-primary-disabled-background-color,#006ce7);background-image:none;border-color:var(--tox-private-button-primary-disabled-border-color,#006ce7);color:var(--tox-private-button-primary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button:focus:not(:disabled){background-color:var(--tox-private-button-primary-focus-background-color,#0060ce);border-color:var(--tox-private-button-primary-focus-border-color,#0060ce);color:var(--tox-private-button-primary-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button:hover:not(:disabled){background-color:var(--tox-private-button-primary-hover-background-color,#0060ce);border-color:var(--tox-private-button-primary-hover-border-color,#0060ce);color:var(--tox-private-button-primary-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button:active:not(:disabled){background-color:var(--tox-private-button-primary-active-background-color,#0054b4);border-color:var(--tox-private-button-primary-active-border-color,#0054b4);color:var(--tox-private-button-primary-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled{background-color:var(--tox-private-button-primary-enabled-background-color,#0054b4);border-color:var(--tox-private-button-primary-enabled-border-color,#0054b4);color:var(--tox-private-button-primary-enabled-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled[disabled]{color:var(--tox-private-button-primary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-primary-enabled-focus-background-color,#00489b);border-color:var(--tox-private-button-primary-enabled-focus-border-color,#00489b);color:var(--tox-private-button-primary-enabled-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-primary-enabled-hover-background-color,#00489b);border-color:var(--tox-private-button-primary-enabled-hover-border-color,#00489b);color:var(--tox-private-button-primary-enabled-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-primary-enabled-active-background-color,#003c81);border-color:var(--tox-private-button-primary-enabled-active-border-color,#003c81);color:var(--tox-private-button-primary-enabled-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary{background-color:var(--tox-private-button-secondary-background-color,#3d546f);border-color:var(--tox-private-button-secondary-border-color,#3d546f);color:var(--tox-private-button-secondary-text-color,#fff);border-style:solid;border-width:1px;background-image:none;background-position:0 0;background-repeat:repeat;border-radius:6px;box-shadow:none;font-size:14px;font-style:normal;font-weight:700;letter-spacing:normal;outline:0;padding:4px 16px;-webkit-text-decoration:none;text-decoration:none;text-transform:none}.tox .tox-button--secondary[disabled]{background-color:var(--tox-private-button-secondary-disabled-background-color,#3d546f);background-image:none;border-color:var(--tox-private-button-secondary-disabled-border-color,#3d546f);color:var(--tox-private-button-secondary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button--secondary:focus:not(:disabled){background-color:var(--tox-private-button-secondary-focus-background-color,#34485f);border-color:var(--tox-private-button-secondary-focus-border-color,#34485f);color:var(--tox-private-button-secondary-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary:hover:not(:disabled){background-color:var(--tox-private-button-secondary-hover-background-color,#34485f);border-color:var(--tox-private-button-secondary-hover-border-color,#34485f);color:var(--tox-private-button-secondary-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary:active:not(:disabled){background-color:var(--tox-private-button-secondary-active-background-color,#2b3b4e);border-color:var(--tox-private-button-secondary-active-border-color,#2b3b4e);color:var(--tox-private-button-secondary-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled{background-color:var(--tox-private-button-secondary-enabled-background-color,#599fef);border-color:var(--tox-private-button-secondary-enabled-border-color,#599fef);color:var(--tox-private-button-secondary-enabled-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled[disabled]{color:var(--tox-private-button-secondary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button--secondary.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-focus-background-color,#4292ed);border-color:var(--tox-private-button-secondary-enabled-focus-border-color,#4292ed);color:var(--tox-private-button-secondary-enabled-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-hover-background-color,#4292ed);border-color:var(--tox-private-button-secondary-enabled-hover-border-color,#4292ed);color:var(--tox-private-button-secondary-enabled-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-active-background-color,#2b85eb);border-color:var(--tox-private-button-secondary-enabled-active-border-color,#2b85eb);color:var(--tox-private-button-secondary-enabled-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--naked{background-color:transparent;border-color:transparent;box-shadow:unset;color:var(--tox-private-button-naked-text-color,#fff)}.tox .tox-button--naked[disabled]{background-color:transparent;border-color:transparent;color:var(--tox-private-button-naked-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button--naked:focus:not(:disabled){background-color:var(--tox-private-button-naked-focus-background-color,rgba(255,255,255,.2));border-color:var(--tox-private-button-naked-focus-border-color,transparent);color:var(--tox-private-button-naked-focus-text-color,#fff);box-shadow:unset}.tox .tox-button--naked:hover:not(:disabled){background-color:var(--tox-private-button-naked-hover-background-color,rgba(255,255,255,.2));border-color:var(--tox-private-button-naked-hover-background-color,transparent);color:var(--tox-private-button-naked-hover-text-color,#fff);box-shadow:unset}.tox .tox-button--naked:active:not(:disabled){background-color:var(--tox-private-button-naked-active-background-color,rgba(255,255,255,.3));border-color:var(--tox-private-button-naked-active-border-color,transparent);color:var(--tox-private-button-naked-active-text-color,#fff);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled{background-color:var(--tox-private-button-naked-enabled-background-color,#2b5c93);border-color:var(--tox-private-button-naked-enabled-border-color,#2b5c93);color:var(--tox-private-button-naked-enabled-text-color,#fff);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled[disabled]{color:var(--tox-private-button-naked-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button--naked.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-naked-enabled-focus-background-color,#254f80);border-color:var(--tox-private-button-naked-enabled-focus-border-color,#254f80);color:var(--tox-private-button-naked-enabled-focus-text-color,#fff);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-naked-enabled-hover-background-color,#254f80);border-color:var(--tox-private-button-naked-enabled-hover-border-color,#254f80);color:var(--tox-private-button-naked-enabled-hover-text-color,#fff);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-naked-enabled-active-background-color,#1f436c);border-color:var(--tox-private-button-naked-enabled-active-border-color,#1f436c);color:var(--tox-private-button-naked-enabled-active-text-color,#fff);box-shadow:unset}.tox .tox-button--secondary--outline{background-color:transparent;border-color:var(--tox-private-button-secondary-outline-border-color,#3d546f);color:var(--tox-private-button-secondary-outline-text-color,#fff)}.tox .tox-button--secondary--outline:focus:not(:disabled){background-color:var(--tox-private-button-secondary-outline-focus-background-color,#34485f);border-color:var(--tox-private-button-secondary-outline-focus-border-color,#34485f);color:var(--tox-private-button-secondary-outline-focus-text-color,#fff)}.tox .tox-button--secondary--outline:hover:not(:disabled){background-color:var(--tox-private-button-secondary-outline-hover-background-color,#3d546f);border-color:var(--tox-private-button-secondary-outline-hover-border-color,#34485f);color:var(--tox-private-button-secondary-outline-hover-text-color,#fff)}.tox .tox-button--secondary--outline:active:not(:disabled){background-color:var(--tox-private-button-secondary-outline-active-background-color,#34485f);border-color:var(--tox-private-button-secondary-outline-active-border-color,#34485f);color:var(--tox-private-button-secondary-outline-active-text-color,#fff)}.tox .tox-button--secondary--outline[disabled]{background-color:var(--tox-private-button-secondary-outline-disabled-background-color,transparent);border-color:var(--tox-private-button-secondary-outline-disabled-border-color,#3d546f);color:var(--tox-private-button-secondary-outline-disabled-text-color,rgba(255,255,255,.5))}.tox .tox-checkbox{align-items:center;border-radius:var(--tox-private-checkbox-border-radius,6px);cursor:pointer;display:flex;height:var(--tox-private-control-height,36px);min-width:var(--tox-private-control-height,36px)}.tox .tox-checkbox__input{height:1px;overflow:hidden;position:absolute;top:auto;width:1px}.tox .tox-checkbox__icons{display:flex;align-items:center;justify-content:center;box-sizing:content-box;padding:var(--tox-private-pad-xs,calc(4px - 1px));border-radius:var(--tox-private-checkbox-border-radius,6px);box-shadow:0 0 0 2px transparent;height:var(--tox-private-control-line-height,24px);aspect-ratio:1/1}.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:block;fill:var(--tox-private-checkbox-unselected-color,rgba(255,255,255,0.2))}@media (forced-colors:active){.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:currentColor!important}}.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:none;fill:var(--tox-private-checkbox-indeterminate-color,#006ce7)}.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg{display:none;fill:var(--tox-private-checkbox-selected-color,#006ce7)}.tox .tox-checkbox--disabled{color:var(--tox-private-checkbox-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(255,255,255,0.5))}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(255,255,255,0.5))}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(255,255,255,0.5))}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__checked svg{display:block}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:block}.tox input.tox-checkbox__input:focus+.tox-checkbox__icons{box-shadow:var(--tox-private-checkbox-focus-box-shadow,inset 0 0 0 1px #006ce7)}.tox:not([dir=rtl]) .tox-checkbox__label{margin-left:var(--tox-private-pad-xs,4px)}.tox:not([dir=rtl]) .tox-checkbox__input{left:-10000px}.tox:not([dir=rtl]) .tox-bar .tox-checkbox{margin-left:var(--tox-private-pad-xs,4px)}.tox[dir=rtl] .tox-checkbox__label{margin-right:var(--tox-private-pad-xs,4px)}.tox[dir=rtl] .tox-checkbox__input{right:-10000px}.tox[dir=rtl] .tox-bar .tox-checkbox{margin-right:var(--tox-private-pad-xs,4px)}.tox .tox-collection--toolbar .tox-collection__group{display:flex;padding:0}.tox .tox-collection--grid .tox-collection__group{display:flex;flex-wrap:wrap;max-height:208px;overflow-x:hidden;overflow-y:auto;padding:0}.tox .tox-collection--list .tox-collection__group{border-bottom-width:0;border-color:rgba(255,255,255,.15);border-left-width:0;border-right-width:0;border-style:solid;border-top-width:1px;padding:4px 0;display:flex;flex-direction:column}.tox .tox-collection--list .tox-collection__group:first-child{border-top-width:0}.tox .tox-collection__group-heading{background-color:rgba(255,255,255,.15);color:rgba(255,255,255,.5);cursor:default;font-size:12px;font-style:normal;font-weight:400;margin-bottom:4px;margin-top:-4px;padding:4px 8px;text-transform:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-collection__item{align-items:center;border-radius:3px;color:#fff;display:flex;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-image-selector-menu .tox-collection__item,.tox .tox-image-selector-menu .tox-collection__item-image-selector{flex-direction:column}.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-checkmark,.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-icon,.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-image,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-checkmark,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-icon,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-image{flex-grow:1}.tox .tox-image-selector-menu .tox-collection__item label,.tox .tox-image-selector-menu .tox-collection__item-image-selector label{width:48px;white-space:nowrap;overflow:hidden;font-size:12px;color:#fff;text-align:center;align-self:flex-end}.tox .tox-image-selector-menu .tox-collection__item-checkmark{height:24px;width:24px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.tox .tox-image-selector-menu .tox-collection__item-checkmark svg path{fill:#006ce7;stroke:#006ce7}.tox .tox-image-selector-menu .tox-image-selector__row .tox-collection__item-image-selector.tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#222f3e}.tox .tox-image-selector-menu .tox-image-selector__row .tox-collection__item-image-selector.tox-collection__item--enabled:not(.tox-collection__item--state-disabled){z-index:2;background-color:#222f3e;opacity:.8;background-clip:content-box}.tox .tox-collection--list .tox-collection__item{padding:4px 8px}.tox .tox-collection--toolbar .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--grid .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--list .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#2b3b4e;color:#fff}.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#006ce7;color:#fff}@media (forced-colors:active){.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){border:solid 1px}}.tox .tox-collection--grid .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#599fef;color:#fff}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#2f4055;color:#fff;position:relative;z-index:1}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff inset;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border:2px solid highlight}}.tox .tox-collection--toolbar .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#599fef;color:#fff}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){border-radius:3px;outline:solid 1px}}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled){color:#fff;background-color:#2b3b4e;position:relative}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):hover{background-color:#2f4055;color:#fff}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus{background-color:#2f4055;color:#fff}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border:2px solid highlight}}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):hover{border-radius:3px;outline:solid 1px}}.tox .tox-collection__item-image{border:1px solid #161f29;border-radius:6px;display:flex;flex-direction:column;justify-content:center;margin-bottom:4px;position:relative}.tox .tox-collection__item-checkmark,.tox .tox-collection__item-icon{align-items:center;display:flex;height:24px;justify-content:center;width:24px}.tox .tox-collection__item-checkmark svg,.tox .tox-collection__item-icon svg{fill:currentColor}.tox .tox-collection--toolbar-lg .tox-collection__item-icon{height:48px;width:48px}.tox .tox-collection__item-label{color:currentColor;display:inline-block;flex:1;font-size:14px;font-style:normal;font-weight:400;line-height:24px;max-width:100%;text-transform:none;word-break:break-all}.tox .tox-collection__item-separator{border-bottom:1px solid rgba(255,255,255,.15);height:0;margin:4px 0}.tox .tox-collection__item-accessory{color:currentColor;display:inline-block;font-size:14px;height:24px;line-height:24px;text-transform:none}.tox .tox-collection__item-caret{align-items:center;display:flex;min-height:24px}.tox .tox-collection__item-caret::after{content:'';font-size:0;min-height:inherit}.tox .tox-collection__item-caret svg{fill:currentColor}.tox .tox-collection__item--state-disabled{background-color:transparent;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg{fill:rgba(255,255,255,0.5)}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg{display:none}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-accessory+.tox-collection__item-checkmark{display:none}.tox .tox-collection--horizontal{background-color:#2b3b4e;border:1px solid rgba(255,255,255,.15);border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:nowrap;margin-bottom:0;overflow-x:auto;padding:0}.tox .tox-collection--horizontal .tox-collection__group{align-items:center;display:flex;flex-wrap:nowrap;margin:0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item{height:28px;margin:6px 1px 5px 0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item-label{white-space:nowrap}.tox .tox-collection--horizontal .tox-collection__item-caret{margin-left:4px}.tox .tox-collection__item-container{display:flex}.tox .tox-collection__item-container--row{align-items:center;flex:1 1 auto;flex-direction:row}.tox .tox-collection__item-container--row.tox-collection__item-container--align-left{margin-right:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--align-right{justify-content:flex-end;margin-left:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-top{align-items:flex-start;margin-bottom:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-middle{align-items:center}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-bottom{align-items:flex-end;margin-top:auto}.tox .tox-collection__item-container--column{align-self:center;flex:1 1 auto;flex-direction:column}.tox .tox-collection__item-container--column.tox-collection__item-container--align-left{align-items:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--align-right{align-items:flex-end}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-top{align-self:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-middle{align-self:center}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-bottom{align-self:flex-end}.tox:not([dir=rtl]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-right:1px solid transparent}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>:not(:first-child){margin-left:8px}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-left:4px}.tox:not([dir=rtl]) .tox-collection__item-accessory{margin-left:16px;text-align:right}.tox:not([dir=rtl]) .tox-collection .tox-collection__item-caret{margin-left:16px}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-left:1px solid transparent}.tox[dir=rtl] .tox-collection--list .tox-collection__item>:not(:first-child){margin-right:8px}.tox[dir=rtl] .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-right:4px}.tox[dir=rtl] .tox-collection__item-accessory{margin-right:16px;text-align:left}.tox[dir=rtl] .tox-collection .tox-collection__item-caret{margin-right:16px;transform:rotateY(180deg)}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__item-caret{margin-right:4px}@media (forced-colors:active){.tox .tox-hue-slider,.tox .tox-rgb-form .tox-rgba-preview{background-color:currentColor!important;border:1px solid highlight!important;forced-color-adjust:none}}.tox .tox-color-picker-container{display:flex;flex-direction:row;height:225px;margin:0}.tox .tox-sv-palette{box-sizing:border-box;display:flex;height:100%}.tox .tox-sv-palette-spectrum{height:100%}.tox .tox-sv-palette,.tox .tox-sv-palette-spectrum{width:225px}.tox .tox-sv-palette-thumb{background:0 0;border:1px solid #000;border-radius:50%;box-sizing:content-box;height:12px;position:absolute;width:12px}.tox .tox-sv-palette-inner-thumb{border:1px solid #fff;border-radius:50%;height:10px;position:absolute;width:10px}.tox .tox-hue-slider{box-sizing:border-box;height:100%;width:25px}.tox .tox-hue-slider-spectrum{background:linear-gradient(to bottom,red,#ff0080,#f0f,#8000ff,#00f,#0080ff,#0ff,#00ff80,#0f0,#80ff00,#ff0,#ff8000,red);height:100%;width:100%}.tox .tox-hue-slider,.tox .tox-hue-slider-spectrum{width:20px}.tox .tox-hue-slider-spectrum:focus,.tox .tox-sv-palette-spectrum:focus{outline:#08f solid}.tox .tox-hue-slider-thumb{background:#fff;border:1px solid #000;box-sizing:content-box;height:4px;width:100%}.tox .tox-rgb-form{display:flex;flex-direction:column;justify-content:space-between}.tox .tox-rgb-form div{align-items:center;display:flex;justify-content:space-between;margin-bottom:5px;width:inherit}.tox .tox-rgb-form input{min-width:6em}.tox .tox-rgb-form input.tox-invalid{border:1px solid red!important;box-shadow:0 0 0 1px red}.tox .tox-rgb-container{position:relative}.tox .tox-rgb-form .tox-invalid-icon{align-content:center;align-items:center;display:none;height:100%;position:absolute;right:0;top:0}.tox .tox-rgb-form .tox-invalid-icon .tox-control-wrap__status-icon-invalid{margin:0}.tox .tox-rgb-warning-note{background-color:#442632;border:1px solid #55212b;border-radius:3px;color:#e68080;padding:3px}.tox input.tox-invalid+.tox-invalid-icon{display:flex}.tox .tox-rgb-form .tox-rgba-preview{border:1px solid #000;flex-grow:2;margin-bottom:0}.tox:not([dir=rtl]) .tox-sv-palette{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider-thumb{margin-left:-1px}.tox:not([dir=rtl]) .tox-rgb-form label{margin-right:.5em}.tox[dir=rtl] .tox-sv-palette{margin-left:15px}.tox[dir=rtl] .tox-hue-slider{margin-left:15px}.tox[dir=rtl] .tox-hue-slider-thumb{margin-right:-1px}.tox[dir=rtl] .tox-rgb-form label{margin-left:.5em}.tox .tox-toolbar .tox-swatches,.tox .tox-toolbar__overflow .tox-swatches,.tox .tox-toolbar__primary .tox-swatches{margin:5px 0 6px 11px}.tox .tox-collection--list .tox-collection__group .tox-swatches-menu{border:0;margin:-4px -4px}.tox .tox-swatches__row{display:flex}@media (forced-colors:active){.tox .tox-swatches__row{forced-color-adjust:none}}.tox .tox-swatch{height:30px;transition:transform .15s,box-shadow .15s;width:30px}.tox .tox-swatch:focus,.tox .tox-swatch:hover{box-shadow:0 0 0 1px rgba(127,127,127,.3) inset;transform:scale(.8)}.tox .tox-swatch--remove{align-items:center;display:flex;justify-content:center}.tox .tox-swatch--remove svg path{stroke:#e74c3c}.tox .tox-swatches__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-swatches__picker-btn svg{fill:#fff;height:24px;width:24px}.tox .tox-swatches__picker-btn:hover{background:#2f4055}.tox div.tox-swatch:not(.tox-swatch--remove) svg{display:none;fill:#fff;height:24px;margin:calc((30px - 24px)/ 2) calc((30px - 24px)/ 2);width:24px}.tox div.tox-swatch:not(.tox-swatch--remove) svg path{fill:#fff;paint-order:stroke;stroke:#222f3e;stroke-width:2px}.tox div.tox-swatch:not(.tox-swatch--remove).tox-collection__item--enabled svg{display:block}.tox:not([dir=rtl]) .tox-swatches__picker-btn{margin-left:auto}.tox[dir=rtl] .tox-swatches__picker-btn{margin-right:auto}.tox .tox-comment{background:#222f3e;border:1px solid #222f3e;border-radius:6px;padding:8px;padding-bottom:16px;position:relative}.tox .tox-comment:hover{box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-comment.tox-comment--selected{background-color:#1b3b60;border:1px solid #006ce7;box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-comment.tox-comment--selected:focus{border:2px solid #fff;margin:-1px}.tox .tox-comment.tox-comment--selected:focus:not(:first-child){margin-top:7px}.tox .tox-comment.tox-comment--selected .tox-comment__single{margin-bottom:12px}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus{position:relative}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus::after{top:-9px;pointer-events:none;position:absolute;content:"";display:block;bottom:-9px;left:-9px;right:-9px;border-radius:6px;border:2px solid #fff}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus:last-of-type:has(textarea):after{bottom:calc((12px + 16px + 1px) * -1)}.tox .tox-comment__header{align-items:center;color:#fff;display:flex;justify-content:space-between}.tox .tox-comment__date{color:#fff;font-size:12px;line-height:18px}.tox .tox-comment__body{color:#fff;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;margin-top:8px;position:relative;text-transform:initial;transition:max-height .5s cubic-bezier(0, 1, 0, 1);white-space:pre-wrap}.tox .tox-comment__body.tox-comment__body--expanded{max-height:100em;transition:max-height 1s ease-in-out}.tox .tox-comment__body.tox-comment__body--pending{transition:max-height 0s}.tox .tox-comment__body p{margin:0}.tox .tox-comment__body textarea{resize:none;white-space:normal;width:100%;font-size:16px}.tox .tox-comment__loading-text{align-items:center;color:#fff;display:flex;flex-direction:column;position:relative}.tox .tox-comment__loading-text>div{padding-bottom:16px}.tox .tox-comment__overlaytext{bottom:0;flex-direction:column;font-size:14px;left:0;padding:1em;position:absolute;right:0;top:0;z-index:10}.tox .tox-comment__overlaytext p{background-color:#222f3e;box-shadow:0 0 8px 8px #222f3e;color:#fff;text-align:center}.tox .tox-comment__overlaytext div:nth-of-type(2){font-size:.8em}.tox .tox-comment__expander{padding-top:8px}.tox .tox-comment__expander p{color:rgba(255,255,255,.5);font-size:14px;font-style:normal}.tox .tox-comment__expander p:focus{font-weight:700}.tox .tox-comment__buttonspacing{padding-top:16px;text-align:center}.tox .tox-tbtn.tox-comment__mention-btn{display:flex;width:34px;height:34px;padding:5px;justify-content:center;align-items:center;margin:0;background-color:transparent}.tox .tox-comment-thread{background:#222f3e;position:relative;border-radius:6px;background-color:transparent}.tox .tox-comment-thread>:not(:first-child){margin-top:8px}.tox .tox-comment-thread__overlay::after{background:#222f3e;bottom:0;content:"";display:flex;left:0;opacity:.9;position:absolute;right:0;top:0;z-index:5}.tox .tox-comment__reply{display:flex;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__reply>:first-child{margin-bottom:8px;width:100%}.tox .tox-comment__edit{display:flex;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__gradient::after{background:linear-gradient(rgba(34,47,62,0),#222f3e);bottom:0;content:"";display:block;height:5em;margin-top:-40px;position:absolute;width:100%}.tox .tox-comment__overlay{background:#222f3e;bottom:0;display:flex;flex-direction:column;flex-grow:1;left:0;opacity:.9;position:absolute;right:0;text-align:center;top:0;z-index:5}.tox .tox-comment__busy-spinner{align-items:center;background-color:#222f3e;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:20}.tox .tox-comment__scroll{display:flex;flex-direction:column;flex-shrink:1;overflow:auto;padding:12px;scroll-behavior:smooth}.tox .tox-comment__scroll:has(textarea:focus){scroll-behavior:auto}.tox .tox-comment--disappearing{transition:opacity .5s ease}.tox .tox-comment[data-transitioning-destination=deleting]{opacity:0}.tox .tox-ring-loader{width:10px;height:10px;border:1px solid #fff;border-bottom-color:transparent;border-radius:50%;display:inline-block;box-sizing:border-box;animation:tox-rotation 1s linear infinite}.tox:not([dir=rtl]) .tox-comment__edit{margin-left:8px}.tox:not([dir=rtl]) .tox-comment__buttonspacing>:last-child,.tox:not([dir=rtl]) .tox-comment__edit>:last-child,.tox:not([dir=rtl]) .tox-comment__reply>:last-child{margin-left:8px}.tox[dir=rtl] .tox-comment__edit{margin-right:8px}.tox[dir=rtl] .tox-comment__buttonspacing>:last-child,.tox[dir=rtl] .tox-comment__edit>:last-child,.tox[dir=rtl] .tox-comment__reply>:last-child{margin-right:8px}.tox .tox-user{align-items:center;display:flex}.tox .tox-user__avatar svg{fill:rgba(255,255,255,0.5)}.tox .tox-user__avatar img{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-user__name{color:#fff;font-size:14px;font-style:normal;font-weight:700;line-height:18px;text-transform:none}.tox:not([dir=rtl]) .tox-user__avatar img,.tox:not([dir=rtl]) .tox-user__avatar svg{margin-right:8px}.tox:not([dir=rtl]) .tox-user__avatar+.tox-user__name{margin-left:8px}.tox[dir=rtl] .tox-user__avatar img,.tox[dir=rtl] .tox-user__avatar svg{margin-left:8px}.tox[dir=rtl] .tox-user__avatar+.tox-user__name{margin-right:8px}.tox .tox-dialog-wrap{align-items:center;display:flex;justify-content:center;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1100}.tox .tox-dialog-wrap__backdrop{background-color:rgba(34,47,62,.75);bottom:0;left:0;position:absolute;right:0;top:0;z-index:1}.tox .tox-dialog-wrap__backdrop--opaque{background-color:#222f3e}.tox .tox-dialog{background-color:#2b3b4e;border-color:#161f29;border-radius:10px;border-style:solid;border-width:0;box-shadow:0 16px 16px -10px rgba(34,47,62,.15),0 0 40px 1px rgba(34,47,62,.15);display:flex;flex-direction:column;max-height:100%;max-width:480px;overflow:hidden;position:relative;width:95vw;z-index:2}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog{align-self:flex-start;margin:8px auto;max-height:calc(100vh - 8px * 2);width:calc(100vw - 16px)}}.tox .tox-dialog-inline{z-index:1100}.tox .tox-dialog__header{align-items:center;background-color:#2b3b4e;border-bottom:none;color:#fff;display:flex;font-size:16px;justify-content:space-between;padding:8px 16px 0 16px;position:relative}.tox .tox-dialog__header .tox-button{z-index:1}.tox .tox-dialog__draghandle{cursor:grab;height:100%;left:0;position:absolute;top:0;width:100%}.tox .tox-dialog__draghandle:active{cursor:grabbing}.tox .tox-dialog__dismiss{margin-left:auto}.tox .tox-dialog__title{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:20px;font-style:normal;font-weight:400;line-height:1.3;margin:0;text-transform:none}.tox .tox-dialog__body{color:#fff;display:flex;flex:1;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;min-width:0;text-align:left;text-transform:none}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body{flex-direction:column}}.tox .tox-dialog__body-nav{align-items:flex-start;display:flex;flex-direction:column;flex-shrink:0;padding:16px 16px}@media only screen and (min-width:768px){.tox .tox-dialog__body-nav{max-width:11em}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body-nav{flex-direction:row;-webkit-overflow-scrolling:touch;overflow-x:auto;padding-bottom:0}}.tox .tox-dialog__body-nav-item{border-bottom:2px solid transparent;color:rgba(255,255,255,.5);display:inline-block;flex-shrink:0;font-size:14px;line-height:1.3;margin-bottom:8px;max-width:13em;-webkit-text-decoration:none;text-decoration:none}.tox .tox-dialog__body-nav-item:focus{background-color:rgba(0,108,231,.1)}.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid #67aeff;color:#67aeff}@media (forced-colors:active){.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid highlight;color:highlight}}.tox .tox-dialog__body-content{box-sizing:border-box;display:flex;flex:1;flex-direction:column;max-height:min(650px,calc(100vh - 110px));overflow:auto;-webkit-overflow-scrolling:touch;padding:16px 16px}.tox .tox-dialog__body-content>*{margin-bottom:0;margin-top:16px}.tox .tox-dialog__body-content>:first-child{margin-top:0}.tox .tox-dialog__body-content>:last-child{margin-bottom:0}.tox .tox-dialog__body-content>:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content a{color:#67aeff;cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content a:focus,.tox .tox-dialog__body-content a:hover{color:#cde5ff;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content a:focus-visible{border-radius:1px;outline:2px solid #67aeff;outline-offset:2px}.tox .tox-dialog__body-content a:active{color:#fff;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content svg{fill:#fff}.tox .tox-dialog__body-content strong{font-weight:700}.tox .tox-dialog__body-content ul{list-style-type:disc}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{padding-inline-start:2.5rem}.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{margin-bottom:16px}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content dt,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{display:block;margin-inline-end:0;margin-inline-start:0}.tox .tox-dialog__body-content .tox-form__group h1{color:#fff;font-size:20px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group h2{color:#fff;font-size:16px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group p{margin-bottom:16px}.tox .tox-dialog__body-content .tox-form__group h1:first-child,.tox .tox-dialog__body-content .tox-form__group h2:first-child,.tox .tox-dialog__body-content .tox-form__group p:first-child{margin-top:0}.tox .tox-dialog__body-content .tox-form__group h1:last-child,.tox .tox-dialog__body-content .tox-form__group h2:last-child,.tox .tox-dialog__body-content .tox-form__group p:last-child{margin-bottom:0}.tox .tox-dialog__body-content .tox-form__group h1:only-child,.tox .tox-dialog__body-content .tox-form__group h2:only-child,.tox .tox-dialog__body-content .tox-form__group p:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--center{text-align:center}.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--end{text-align:end}.tox .tox-dialog--width-lg{height:650px;max-width:1200px}.tox .tox-dialog--fullscreen{height:100%;max-width:100%}.tox .tox-dialog--fullscreen .tox-dialog__body-content{max-height:100%}.tox .tox-dialog--width-md{max-width:800px}.tox .tox-dialog--width-md .tox-dialog__body-content{overflow:auto}.tox .tox-dialog__body-content--centered{text-align:center}.tox .tox-dialog__footer{align-items:center;background-color:#2b3b4e;border-top:none;display:flex;justify-content:space-between;padding:8px 16px}.tox .tox-dialog__footer-end,.tox .tox-dialog__footer-start{display:flex}.tox .tox-dialog__busy-spinner{align-items:center;background-color:rgba(34,47,62,.75);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:3}.tox .tox-dialog__table{border-collapse:collapse;width:100%}.tox .tox-dialog__table thead th{font-weight:700;padding-bottom:8px}.tox .tox-dialog__table thead th:first-child{padding-right:8px}.tox .tox-dialog__table tbody tr{border-bottom:1px solid #000}.tox .tox-dialog__table tbody tr:last-child{border-bottom:none}.tox .tox-dialog__table td{padding-bottom:8px;padding-top:8px}.tox .tox-dialog__table td:first-child{padding-right:8px}.tox .tox-dialog__iframe{min-height:200px}.tox .tox-dialog__iframe.tox-dialog__iframe--opaque{background:#fff}.tox .tox-navobj-bordered{position:relative}.tox .tox-navobj-bordered::before{border:1px solid #161f29;border-radius:6px;content:'';inset:0;opacity:1;pointer-events:none;position:absolute;z-index:1}.tox .tox-navobj-bordered iframe{border-radius:6px}.tox .tox-navobj-bordered-focus.tox-navobj-bordered::before{border-color:#006ce7;box-shadow:0 0 0 1px #006ce7;outline:0}.tox .tox-dialog__popups{position:absolute;width:100%;z-index:1100}.tox .tox-dialog__body-iframe{display:flex;flex:1;flex-direction:column}.tox .tox-dialog__body-iframe .tox-navobj{display:flex;flex:1}.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2){flex:1;height:100%}.tox .tox-dialog-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-dialog-dock-fadein{opacity:1;visibility:visible}.tox .tox-dialog-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein{transition-delay:0s}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav{margin-right:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav-item:not(:first-child){margin-left:8px}}.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-end>*,.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-start>*{margin-left:8px}.tox[dir=rtl] .tox-dialog__body{text-align:right}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav{margin-left:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav-item:not(:first-child){margin-right:8px}}.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-end>*,.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-start>*{margin-right:8px}.tox .tox-dropdown-content{box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);position:fixed;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;overflow:auto;height:fit-content;width:fit-content;border-radius:var(--tox-private-panel-border-radius,6px);background-color:var(--tox-private-background-color,#222f3e);max-height:50vh}.tox .tox-dropdown-content .tox-menu{width:100%;box-shadow:none}body.tox-dialog__disable-scroll{overflow:hidden}.tox .tox-dropzone-container{display:flex;flex:1}.tox .tox-dropzone{align-items:center;background:#fff;border:2px dashed #161f29;box-sizing:border-box;display:flex;flex-direction:column;flex-grow:1;justify-content:center;min-height:100px;padding:10px}.tox .tox-dropzone p{color:rgba(255,255,255,.5);margin:0 0 16px 0}.tox .tox-edit-area{display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-edit-area::before{border:2px solid #fff;border-radius:4px;content:'';inset:0;opacity:0;pointer-events:none;position:absolute;transition:opacity .15s;z-index:1}@media (forced-colors:active){.tox .tox-edit-area::before{border:2px solid highlight}}.tox .tox-edit-area__iframe{background-color:#fff;border:0;box-sizing:border-box;flex:1;height:100%;position:absolute;width:100%}.tox.tox-edit-focus .tox-edit-area::before{opacity:1}.tox.tox-inline-edit-area{border:1px dotted #161f29}.tox .tox-expandable-box{background:var(--tox-private-background-color,#222f3e);border-radius:var(--tox-private-control-border-radius,6px);border:1px solid var(--tox-private-border-color,#161f29);display:flex;flex-direction:column;justify-content:stretch;overflow:hidden}.tox .tox-expandable-box>.tox-button{margin:0 var(--tox-private-pad-md,16px) var(--tox-private-pad-md,16px)}.tox .tox-expandable-box__title{align-items:center;background:hsl(from var(--tox-private-color-tint,#006ce7) h s l / 10%);border-bottom:1px solid var(--tox-private-border-color,#161f29);color:var(--tox-private-text-color,#fff);display:flex;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);gap:var(--tox-private-pad-sm,8px);min-width:0;padding:var(--tox-private-pad-sm,8px) var(--tox-private-pad-md,16px)}.tox .tox-expandable-box__title .tox-icon{flex-shrink:0;height:var(--tox-private-base-value,16px);fill:var(--tox-private-text-color,#fff)}.tox .tox-expandable-box__title-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-expandable-box__content{margin:var(--tox-private-pad-md,16px);overflow:auto}.tox .tox-expandable-box__content--overflowing{position:relative;overflow:hidden}.tox .tox-expandable-box__content--overflowing::after{content:'';position:absolute;bottom:0;left:0;right:0;height:min(100px,100%);pointer-events:none;background:linear-gradient(to bottom,transparent 50%,var(--tox-private-background-color,#222f3e))}.tox .tox-expandable-box__content--expanded{max-height:fit-content}.tox .tox-control-wrap{flex:1;position:relative}.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid,.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown,.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid{display:none}.tox .tox-control-wrap svg{display:block}.tox .tox-control-wrap__status-icon-wrap{position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-control-wrap__status-icon-invalid svg{fill:#c00}.tox .tox-control-wrap__status-icon-unknown svg{fill:orange}.tox .tox-control-wrap__status-icon-valid svg{fill:green}.tox:not([dir=rtl]) .tox-control-wrap--status-invalid .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-unknown .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-valid .tox-textfield{padding-right:32px}.tox:not([dir=rtl]) .tox-control-wrap__status-icon-wrap{right:4px}.tox[dir=rtl] .tox-control-wrap--status-invalid .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-unknown .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-valid .tox-textfield{padding-left:32px}.tox[dir=rtl] .tox-control-wrap__status-icon-wrap{left:4px}.tox .tox-custom-preview{border-color:#161f29;border-radius:6px;border-style:solid;border-width:1px;flex:1;padding:8px}.tox .tox-autocompleter{max-width:25em}.tox .tox-autocompleter .tox-menu{box-sizing:border-box;max-width:25em}.tox .tox-autocompleter .tox-autocompleter-highlight{font-weight:700}.tox .tox-color-input{display:flex;position:relative;z-index:1}.tox .tox-color-input .tox-textfield{z-index:-1}.tox .tox-color-input span{border-color:rgba(34 47 62 / 20%);border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;height:24px;position:absolute;top:6px;width:24px}@media (forced-colors:active){.tox .tox-color-input span{border-color:currentColor;border-width:2px!important;forced-color-adjust:none}}.tox .tox-color-input span:focus:not([aria-disabled=true]),.tox .tox-color-input span:hover:not([aria-disabled=true]){border-color:#006ce7;cursor:pointer}.tox .tox-color-input span::before{background-image:linear-gradient(45deg,rgba(255,255,255,.25) 25%,transparent 25%),linear-gradient(-45deg,rgba(255,255,255,.25) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(255,255,255,.25) 75%),linear-gradient(-45deg,transparent 75%,rgba(255,255,255,.25) 75%);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px;border:1px solid #2b3b4e;border-radius:6px;box-sizing:border-box;content:'';height:24px;left:-1px;position:absolute;top:-1px;width:24px;z-index:-1}@media (forced-colors:active){.tox .tox-color-input span::before{border:none}}.tox .tox-color-input span[aria-disabled=true]{cursor:not-allowed}.tox:not([dir=rtl]) .tox-color-input .tox-textfield{padding-left:36px}.tox:not([dir=rtl]) .tox-color-input span{left:6px}.tox[dir=rtl] .tox-color-input .tox-textfield{padding-right:36px}.tox[dir=rtl] .tox-color-input span{right:6px}.tox .tox-label,.tox .tox-toolbar-label{color:rgba(255,255,255,.5);display:block;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;padding:0 8px 0 0;text-transform:none;white-space:nowrap}.tox .tox-toolbar-label{padding:0 8px}.tox[dir=rtl] .tox-label{padding:0 0 0 8px}.tox .tox-form{display:flex;flex:1;flex-direction:column}.tox .tox-form__group{box-sizing:border-box;margin-bottom:4px}.tox .tox-form-group--maximize{flex:1}.tox .tox-form__group--error{color:#c00}.tox .tox-form__group--collection{display:flex}.tox .tox-form__grid{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}.tox .tox-form__grid--2col>.tox-form__group{width:calc(50% - (8px / 2))}.tox .tox-form__grid--3col>.tox-form__group{width:calc(100% / 3 - (8px / 2))}.tox .tox-form__grid--4col>.tox-form__group{width:calc(25% - (8px / 2))}.tox .tox-form__controls-h-stack{align-items:center;display:flex}.tox .tox-form__group--inline{align-items:center;display:flex}.tox .tox-form__group--stretched{display:flex;flex:1;flex-direction:column}.tox .tox-form__group--stretched .tox-textarea{flex:1}.tox .tox-form__group--stretched .tox-navobj{display:flex;flex:1}.tox .tox-form__group--stretched .tox-navobj :nth-child(2){flex:1;height:100%}.tox:not([dir=rtl]) .tox-form__controls-h-stack>:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-form__controls-h-stack>:not(:first-child){margin-right:4px}.tox .tox-lock.tox-locked .tox-lock-icon__unlock,.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock{display:none}.tox .tox-context-form__group .tox-button--icon.tox-lock-context-form-size-input{margin-left:8px;margin-right:8px}.tox .tox-listboxfield .tox-listbox--select,.tox .tox-textarea,.tox .tox-textarea-wrap .tox-textarea:focus,.tox .tox-textfield,.tox .tox-toolbar-textfield{appearance:none;background-color:#2b3b4e;border-color:#161f29;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 5.5px;resize:none;width:100%}.tox .tox-textarea[disabled],.tox .tox-textfield[disabled],.tox .tox-toolbar-textfield[disabled]{background-color:#222f3e;color:rgba(255,255,255,.85);cursor:not-allowed}.tox .tox-custom-editor:focus-within,.tox .tox-focusable-wrapper:focus,.tox .tox-listboxfield .tox-listbox--select:focus,.tox .tox-textarea-wrap:focus-within,.tox .tox-textarea:focus,.tox .tox-textfield:focus,.tox .tox-toolbar-textfield:focus{background-color:#2b3b4e;border-color:#006ce7;box-shadow:0 0 0 1px #006ce7;outline:0}.tox .tox-toolbar-textfield{max-width:250px;min-height:unset;height:28px;margin:5px 0 6px 0}.tox .tox-naked-btn{background-color:transparent;border:0;border-color:transparent;box-shadow:unset;color:#006ce7;cursor:pointer;display:block;margin:0;padding:0}.tox .tox-naked-btn svg{display:block;fill:#fff}.tox .tox-textfield-size{width:80px}.tox:not([dir=rtl]) .tox-toolbar-textfield+*{margin-left:4px}.tox[dir=rtl] .tox-toolbar-textfield+*{margin-right:4px}.tox .tox-listboxfield{cursor:pointer;position:relative}.tox .tox-listboxfield .tox-listbox--select[disabled]{background-color:#19232e;color:rgba(255,255,255,.85);cursor:not-allowed}.tox .tox-listbox__select-label{cursor:default;flex:1;margin:0 4px}.tox .tox-listbox__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-listbox__select-chevron svg{fill:#fff}@media (forced-colors:active){.tox .tox-listbox__select-chevron svg{fill:currentColor!important}}.tox .tox-listboxfield .tox-listbox--select{align-items:center;display:flex}.tox:not([dir=rtl]) .tox-listboxfield svg{right:8px}.tox[dir=rtl] .tox-listboxfield svg{left:8px}.tox .tox-selectfield{cursor:pointer;position:relative}.tox .tox-selectfield select{appearance:none;background-color:#2b3b4e;border-color:#161f29;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 5.5px;resize:none;width:100%}.tox .tox-selectfield select[disabled]{background-color:#19232e;color:rgba(255,255,255,.85);cursor:not-allowed}.tox .tox-selectfield select::-ms-expand{display:none}.tox .tox-selectfield select:focus{background-color:#2b3b4e;border-color:#006ce7;box-shadow:0 0 0 1px #006ce7;outline:0}.tox .tox-selectfield svg{pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-selectfield select option:checked{background-color:revert;color:revert}.tox:not([dir=rtl]) .tox-selectfield select[size="0"],.tox:not([dir=rtl]) .tox-selectfield select[size="1"]{padding-right:24px}.tox:not([dir=rtl]) .tox-selectfield svg{right:8px}.tox[dir=rtl] .tox-selectfield select[size="0"],.tox[dir=rtl] .tox-selectfield select[size="1"]{padding-left:24px}.tox[dir=rtl] .tox-selectfield svg{left:8px}.tox .tox-textarea-wrap{border-color:#161f29;border-radius:6px;border-style:solid;border-width:1px;display:flex;flex:1;overflow:hidden}.tox .tox-textarea{appearance:textarea;white-space:pre-wrap}.tox .tox-textarea-wrap .tox-textarea{border:none}.tox .tox-textarea-wrap .tox-textarea:focus{border:none}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}.tox .tox-help__more-link{list-style:none;margin-top:1em}.tox .tox-imagepreview{background-color:#666;height:380px;overflow:hidden;position:relative;width:100%}.tox .tox-imagepreview.tox-imagepreview__loaded{overflow:auto}.tox .tox-imagepreview__container{display:flex;left:100vw;position:absolute;top:100vw}.tox .tox-imagepreview__image{background:url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==)}.tox .tox-image-tools .tox-spacer{flex:1}.tox .tox-image-tools .tox-bar{align-items:center;display:flex;height:60px;justify-content:center}.tox .tox-image-tools .tox-imagepreview,.tox .tox-image-tools .tox-imagepreview+.tox-bar{margin-top:8px}.tox .tox-image-tools .tox-croprect-block{background:#000;opacity:.5;position:absolute;zoom:1}.tox .tox-image-tools .tox-croprect-handle{border:2px solid #fff;height:20px;left:0;position:absolute;top:0;width:20px}.tox .tox-image-tools .tox-croprect-handle-move{border:0;cursor:move;position:absolute}.tox .tox-image-tools .tox-croprect-handle-nw{border-width:2px 0 0 2px;cursor:nw-resize;left:100px;margin:-2px 0 0 -2px;top:100px}.tox .tox-image-tools .tox-croprect-handle-ne{border-width:2px 2px 0 0;cursor:ne-resize;left:200px;margin:-2px 0 0 -20px;top:100px}.tox .tox-image-tools .tox-croprect-handle-sw{border-width:0 0 2px 2px;cursor:sw-resize;left:100px;margin:-20px 2px 0 -2px;top:200px}.tox .tox-image-tools .tox-croprect-handle-se{border-width:0 2px 2px 0;cursor:se-resize;left:200px;margin:-20px 0 0 -20px;top:200px}.tox .tox-image-selector-loading-spinner-wrapper{display:flex;justify-content:center;align-items:center}.tox .tox-image-selector-loading-spinner{position:absolute;width:min(24px,30%);aspect-ratio:1/1;border-radius:50%;border:3px solid #006ce7;border-bottom-color:transparent;animation:tox-rotation 1s linear infinite}.tox .tox-toolbar .tox-image-selector,.tox .tox-toolbar__overflow .tox-image-selector,.tox .tox-toolbar__primary .tox-image-selector{margin:5px 0 6px 11px}.tox .tox-image-selector-menu{border:0;border-radius:3px;margin:-4px -4px;padding:4px}.tox .tox-image-selector-menu .tox-collection--list .tox-collection__group{border:0;padding:0;margin:-4px -4px}.tox .tox-image-selector-menu .tox-collection__item{max-width:48px}.tox .tox-image-selector-menu .tox-collection__item-icon{border:1px solid #161f29;border-radius:3px;margin-bottom:4px;width:100%}.tox .tox-image-selector-menu .tox-collection__item-icon svg path{stroke:#c00}.tox .tox-image-selector__row{display:flex}.tox .tox-image-selector--remove{align-items:center;display:flex;justify-content:center}.tox .tox-image-selector--remove svg path{stroke:#c00}.tox .tox-image-selector-image-wrapper{width:46px;height:46px;display:flex;align-items:center;justify-content:center}.tox .tox-image-selector-image-img{max-width:100%;max-height:100%}.tox .tox-image-selector__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-image-selector__picker-btn svg{fill:#fff;height:24px;width:24px}.tox .tox-image-selector__picker-btn:hover{background:#2f4055}.tox .tox-context-toolbar{position:absolute;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;z-index:1150;background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color,#fff);border:1px solid #364a62;border-radius:6px;box-shadow:0 2px 8px rgba(0,0,0,.08);padding:8px}.tox .tox-context-toolbar[popover]{inset:auto;margin:0}.tox .tox-context-toolbar .tox-toolbar{display:flex;flex-wrap:nowrap;gap:8px}.tox .tox-context-toolbar .tox-toolbar__group{display:flex;flex-wrap:nowrap;flex-shrink:0;gap:8px;align-items:center;padding:0}.tox .tox-insert-table-picker{background-color:#222f3e;display:flex;flex-wrap:wrap;width:170px}.tox .tox-insert-table-picker>div{border-color:rgba(255,255,255,.15);border-style:solid;border-width:0 1px 1px 0;box-sizing:border-box;height:17px;width:17px}.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker{margin:-4px -4px}.tox .tox-insert-table-picker .tox-insert-table-picker__selected{background-color:#006ce7;border-color:rgba(255,255,255,.15)}@media (forced-colors:active){.tox .tox-insert-table-picker .tox-insert-table-picker__selected{border-color:Highlight;filter:contrast(50%)}}.tox .tox-insert-table-picker__label{color:#fff;display:block;font-size:14px;padding:4px;text-align:center;width:100%}.tox:not([dir=rtl]) .tox-insert-table-picker>div:nth-child(10n){border-right:0}.tox[dir=rtl] .tox-insert-table-picker>div:nth-child(10n+1){border-right:0}.tox-mentions__card-common{z-index:1200}.tox.tox-mentions__card{background:#222f3e;border:1px solid #161f29;display:flex;padding:4px 8px}.tox.tox-mentions__card .tox-mentions__container{display:flex;flex-direction:column;align-self:center;margin:0 4px}.tox .tox-mentions__avatar{width:42px;height:42px;border-radius:50%;margin-right:4px}.tox .tox-mentions__username{font-size:14px;line-height:21px;color:#fff}.tox .tox-mentions__description{font-size:12px;line-height:21px;color:rgba(255,255,255,.5)}.tox .tox-collection__item--active .tox-mentions__description,.tox .tox-collection__item--active .tox-mentions__username{color:inherit}.tox .tox-menu{background-color:#2b3b4e;border:1px solid rgba(255,255,255,.15);border-radius:6px;box-shadow:none;display:inline-block;overflow:hidden;vertical-align:top;z-index:1150}.tox .tox-menu.tox-collection.tox-collection--list{padding:0 4px}.tox .tox-menu.tox-collection.tox-collection--toolbar{padding:8px}.tox .tox-menu.tox-collection.tox-collection--grid{padding:8px}@media only screen and (min-width:768px){.tox .tox-menu .tox-collection__item-label{overflow-wrap:break-word;word-break:normal}.tox .tox-dialog__popups .tox-menu .tox-collection__item-label{word-break:break-all}}.tox .tox-menu__label blockquote,.tox .tox-menu__label code,.tox .tox-menu__label h1,.tox .tox-menu__label h2,.tox .tox-menu__label h3,.tox .tox-menu__label h4,.tox .tox-menu__label h5,.tox .tox-menu__label h6,.tox .tox-menu__label p{margin:0}.tox .tox-menubar{background:repeating-linear-gradient(transparent 0 1px,transparent 1px 39px) center top 39px/100% calc(100% - 39px) no-repeat;background-color:#222f3e;display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;grid-column:1/-1;grid-row:1;padding:0 11px 0 12px}.tox .tox-promotion+.tox-menubar{grid-column:1}@media (max-width:480px){.tox:not(.tox-tinymce-inline) .tox-menubar{flex-wrap:nowrap;min-width:0;min-height:39px;overflow-x:auto;overflow-y:hidden}}.tox .tox-promotion{background:repeating-linear-gradient(transparent 0 1px,transparent 1px 39px) center top 39px/100% calc(100% - 39px) no-repeat;background-color:#222f3e;grid-column:2;grid-row:1;padding-inline-end:8px;padding-inline-start:4px;padding-top:5px}.tox .tox-promotion-link{align-items:unsafe center;background-color:#e8f1f8;border-radius:5px;color:#086be6;cursor:pointer;display:flex;font-size:14px;height:26.6px;padding:4px 8px;white-space:nowrap}.tox .tox-promotion-link:hover{background-color:#b4d7ff}.tox .tox-promotion-link:focus{background-color:#d9edf7}.tox .tox-mbtn{align-items:center;background:#222f3e;border:0;border-radius:3px;box-shadow:none;color:#fff;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;justify-content:center;margin:5px 1px 6px 0;outline:0;padding:0 4px;text-transform:none;width:auto}.tox .tox-mbtn[disabled]{background-color:#222f3e;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-mbtn:focus:not(:disabled){background:#222f3e;border:0;box-shadow:none;color:#fff;position:relative;z-index:1}.tox .tox-mbtn:focus:not(:disabled)::after{pointer-events:none;border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-mbtn:focus:not(:disabled)::after{border:2px solid highlight}}.tox .tox-mbtn--active,.tox .tox-mbtn:not(:disabled).tox-mbtn--active:focus{background:#599fef;border:0;box-shadow:none;color:#fff}.tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active){background:#2f4055;border:0;box-shadow:none;color:#fff}.tox .tox-mbtn__select-label{cursor:default;font-weight:400;margin:0 4px}.tox .tox-mbtn[disabled] .tox-mbtn__select-label{cursor:not-allowed}.tox .tox-mbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px;display:none}.tox .tox-notification{border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;display:grid;font-size:14px;font-weight:400;grid-template-columns:minmax(40px,1fr) auto minmax(40px,1fr);margin-left:auto;margin-right:auto;margin-top:4px;opacity:0;padding:4px;transition:transform .1s ease-in,opacity 150ms ease-in;width:max-content}.tox .tox-notification a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification p{font-size:14px;font-weight:400}.tox .tox-notification:focus{border-color:#006ce7;box-shadow:0 0 0 1px #006ce7}.tox .tox-notification--in{opacity:1}.tox .tox-notification--success{background-color:#334840;border-color:#3c5440;color:#fff}.tox .tox-notification--success p{color:#fff}.tox .tox-notification--success a{color:#b5d199}.tox .tox-notification--success a:focus,.tox .tox-notification--success a:hover{color:#82b153;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--success a:focus-visible{border-radius:1px;outline:2px solid #b5d199;outline-offset:2px}.tox .tox-notification--success a:active{color:#689041;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--success svg{fill:#fff}.tox .tox-notification--error{background-color:#442632;border-color:#55212b;color:#fff}.tox .tox-notification--error p{color:#fff}.tox .tox-notification--error a{color:#e68080}.tox .tox-notification--error a:focus,.tox .tox-notification--error a:hover{color:#d42b2b;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--error a:focus-visible{border-radius:1px;outline:2px solid #e68080;outline-offset:2px}.tox .tox-notification--error a:active{color:#a22;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--error svg{fill:#fff}.tox .tox-notification--warn,.tox .tox-notification--warning{background-color:#222f3e;border-color:rgba(255,255,255,.15);color:#fff0b3}.tox .tox-notification--warn p,.tox .tox-notification--warning p{color:#fff0b3}.tox .tox-notification--warn a,.tox .tox-notification--warning a{color:#fc0}.tox .tox-notification--warn a:focus,.tox .tox-notification--warn a:hover,.tox .tox-notification--warning a:focus,.tox .tox-notification--warning a:hover{color:#997a00;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--warn a:focus-visible,.tox .tox-notification--warning a:focus-visible{border-radius:1px;outline:2px solid #ffcc00;outline-offset:2px}.tox .tox-notification--warn a:active,.tox .tox-notification--warning a:active{color:#665200;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--warn svg,.tox .tox-notification--warning svg{fill:#fff0b3}.tox .tox-notification--info{background-color:#254161;border-color:#264972;color:#fff}.tox .tox-notification--info p{color:#fff}.tox .tox-notification--info a{color:#83b7f3}.tox .tox-notification--info a:focus,.tox .tox-notification--info a:hover{color:#2681ea;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--info a:focus-visible{border-radius:1px;outline:2px solid #83b7f3;outline-offset:2px}.tox .tox-notification--info a:active{color:#1368c9;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--info svg{fill:#fff}.tox .tox-notification__body{align-self:center;color:#fff;font-size:14px;grid-column-end:3;grid-column-start:2;grid-row-end:2;grid-row-start:1;text-align:center;white-space:normal;word-break:break-all;word-break:break-word}.tox .tox-notification__body>*{margin:0}.tox .tox-notification__body>*+*{margin-top:1rem}.tox .tox-notification__icon{align-self:center;grid-column-end:2;grid-column-start:1;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification__icon svg{display:block}.tox .tox-notification__dismiss{align-self:start;grid-column-end:4;grid-column-start:3;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification .tox-progress-bar{grid-column-end:4;grid-column-start:1;grid-row-end:3;grid-row-start:2;justify-self:center}.tox .tox-notification-container-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-notification-container-dock-fadein{opacity:1;visibility:visible}.tox .tox-notification-container-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-notification-container-dock-transition.tox-notification-container-dock-fadein{transition-delay:0s}.tox .tox-onboarding-overlay{height:100%;background-color:#17202a;position:absolute;top:0;left:0;right:0;z-index:1302;overflow:auto;display:grid;justify-content:center;align-items:center}.tox .tox-onboarding-dialog{max-width:512px;background-color:#222f3e;display:flex;flex-direction:column;box-shadow:0 16px 16px -10px rgba(34,47,62,.15),0 0 40px 1px rgba(34,47,62,.15);border-radius:12px;margin:8px}.tox .tox-onboarding-dialog .tox-onboarding-header{color:#fff;display:flex;justify-content:center;align-items:center;font-size:20px;margin:24px 0 8px}.tox .tox-onboarding-dialog .tox-onboarding-step{display:grid;grid-template-columns:min-content 1fr min-content;align-items:center;margin:0 24px}.tox .tox-onboarding-dialog .tox-onboarding-step:not(:last-child){border-bottom:1px solid rgba(255,255,255,.15)}.tox .tox-onboarding-dialog .tox-onboarding-step--number{width:24px;aspect-ratio:1/1;border-radius:50%;border:1px solid #00ad0e;display:flex;justify-content:center;align-items:center;font-size:12px;font-weight:700;color:#00ad0e}.tox .tox-onboarding-dialog .tox-onboarding-step--body{padding:24px 0 24px 16px}.tox .tox-onboarding-dialog .tox-onboarding-step--body-header{color:#fff;font-size:14px;font-weight:700;margin-bottom:4px}.tox .tox-onboarding-dialog .tox-onboarding-step--body-details{color:rgba(255,255,255,.5);font-size:14px}.tox .tox-onboarding-dialog .tox-onboarding-step--action{padding-left:24px}.tox .tox-onboarding-dialog .tox-onboarding-footer{background-color:#2b3b4e;display:flex;justify-content:space-between;align-items:center;padding:16px 24px;border-bottom-left-radius:12px;border-bottom-right-radius:12px}.tox .tox-onboarding-dialog .tox-onboarding-footer p{display:flex;align-items:center;justify-content:center;gap:4px;font-size:14px;color:rgba(255,255,255,.5)}.tox .tox-onboarding-dialog svg{width:24px;fill:rgba(255,255,255,0.5)}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin{display:grid;align-items:center;grid-template-columns:min-content 1fr min-content;border-bottom:1px solid rgba(255,255,255,.15);padding:24px 0;margin:0 16px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body{margin:0 16px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body .tox-promotion-dialog-plugin-header{color:#fff;font-size:14px;font-weight:700;margin-bottom:4px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body .tox-promotion-dialog-plugin-details{color:rgba(255,255,255,.5);font-size:14px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--icon{display:grid;place-content:center;width:56px;height:56px;line-height:24px;font-size:24px;border-radius:12px;background:linear-gradient(180deg,#2b3b4e 24%,#202d3b 100%);box-shadow:0 1px 1px 0 #222f3e12,0 3px 6px 0 #222f3e06;color:#006ce7}.tox .tox-promotion-dialog--subtitle{margin:16px;color:rgba(255,255,255,.5);font-size:14px}.tox .tox-promotion-dialog--explore{text-align:center;margin:16px;color:rgba(255,255,255,.5);font-size:14px}.tox .tox-promotion-dialog--explore a{color:#006ce7}.tox .tox-promotion-dialog--footer{background-color:#17202a;color:rgba(255,255,255,.5);font-size:12px;text-align:center;padding:16px}.tox .tox-promotion-button{display:flex;align-items:center;height:26.6px;line-height:26.6px;font-size:14px;font-weight:700;background-color:#55367a;color:#c290fb;padding:8px 16px;cursor:pointer;white-space:nowrap;border-radius:5px}.tox .tox-promotion-button:focus{outline:1px solid #C290FB}.tox .tox-onboarding-dialog a,.tox .tox-promotion-dialog--footer a{color:rgba(255,255,255,.5);cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-onboarding-dialog a:focus,.tox .tox-onboarding-dialog a:hover,.tox .tox-promotion-dialog--footer a:focus,.tox .tox-promotion-dialog--footer a:hover{color:#cde5ff;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-onboarding-dialog a:focus-visible,.tox .tox-promotion-dialog--footer a:focus-visible{border-radius:1px;outline:2px solid #67aeff;outline-offset:2px}.tox .tox-onboarding-dialog a:active,.tox .tox-promotion-dialog--footer a:active{color:#fff;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-pop{display:inline-block;position:relative}.tox .tox-pop--resizing{transition:width .1s ease}.tox .tox-pop--resizing .tox-toolbar,.tox .tox-pop--resizing .tox-toolbar__group{flex-wrap:nowrap}.tox .tox-pop--transition{transition:.15s ease;transition-property:left,right,top,bottom}.tox .tox-pop--transition::after,.tox .tox-pop--transition::before{transition:all .15s,visibility 0s,opacity 75ms ease 75ms}.tox .tox-pop__dialog{background-color:#222f3e;border:1px solid #161f29;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);min-width:0;overflow:hidden}.tox .tox-pop__dialog>:not(.tox-toolbar){margin:4px 4px 4px 8px}.tox .tox-pop__dialog .tox-toolbar{background-color:transparent;margin-bottom:-1px}.tox .tox-pop::after,.tox .tox-pop::before{border-style:solid;content:'';display:block;height:0;opacity:1;position:absolute;width:0}@media (forced-colors:active){.tox .tox-pop::after,.tox .tox-pop::before{content:none}}.tox .tox-pop.tox-pop--inset::after,.tox .tox-pop.tox-pop--inset::before{opacity:0;transition:all 0s .15s,visibility 0s,opacity 75ms ease}.tox .tox-pop.tox-pop--bottom::after,.tox .tox-pop.tox-pop--bottom::before{left:50%;top:100%}.tox .tox-pop.tox-pop--bottom::after{border-color:#222f3e transparent transparent transparent;border-width:8px;margin-left:-8px;margin-top:-1px}.tox .tox-pop.tox-pop--bottom::before{border-color:#161f29 transparent transparent transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--top::after,.tox .tox-pop.tox-pop--top::before{left:50%;top:0;transform:translateY(-100%)}.tox .tox-pop.tox-pop--top::after{border-color:transparent transparent #222f3e transparent;border-width:8px;margin-left:-8px;margin-top:1px}.tox .tox-pop.tox-pop--top::before{border-color:transparent transparent #161f29 transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--left::after,.tox .tox-pop.tox-pop--left::before{left:0;top:calc(50% - 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--left::after{border-color:transparent #222f3e transparent transparent;border-width:8px;margin-left:-15px}.tox .tox-pop.tox-pop--left::before{border-color:transparent #161f29 transparent transparent;border-width:10px;margin-left:-19px}.tox .tox-pop.tox-pop--right::after,.tox .tox-pop.tox-pop--right::before{left:100%;top:calc(50% + 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--right::after{border-color:transparent transparent transparent #222f3e;border-width:8px;margin-left:-1px}.tox .tox-pop.tox-pop--right::before{border-color:transparent transparent transparent #161f29;border-width:10px;margin-left:-1px}.tox .tox-pop.tox-pop--align-left::after,.tox .tox-pop.tox-pop--align-left::before{left:20px}.tox .tox-pop.tox-pop--align-right::after,.tox .tox-pop.tox-pop--align-right::before{left:calc(100% - 20px)}.tox.tox-edit-focus .tox-sidebar__resize-handle:hover::before{border-left:0 solid transparent}.tox .tox-sidebar-wrap{--tox-private-min-editing-area-width:280px;flex-grow:1;min-height:0}.tox .tox-sidebar-wrap:not(.tox .tox-sidebar-wrap--resizable){display:flex;flex-direction:row}.tox .tox-sidebar-wrap--resizable{display:grid;grid-template-columns:minmax(var(--tox-private-min-editing-area-width),1fr) minmax(0,max-content);grid-template-rows:minmax(0,1fr)}.tox .tox-sidebar{background-color:var(--tox-private-sidebar-background-color,#34485f);display:flex;flex-direction:row;justify-content:flex-end}.tox .tox-sidebar__slider{display:flex;overflow:hidden}.tox .tox-sidebar-wrap--resizable .tox-sidebar__pane-container{width:var(--tox-private-requested-sidebar-width)}.tox .tox-sidebar-wrap--resizable .tox-sidebar--sliding-growing .tox-sidebar__pane-container,.tox .tox-sidebar-wrap--resizable .tox-sidebar--sliding-shrinking .tox-sidebar__pane-container{width:var(--tox-private-resolved-sidebar-width);min-width:var(--tox-private-resolved-sidebar-width)}.tox .tox-sidebar__pane-container{display:flex}.tox .tox-sidebar-wrap--resizable .tox-sidebar__resize-handle{display:block}.tox .tox-sidebar__resize-handle{display:none;position:relative;width:var(--tox-private-sidebar-resize-handle-width,1px);height:100%;cursor:col-resize;background-color:var(--tox-private-separator-color,rgba(255,255,255,.15));z-index:1}.tox .tox-sidebar__resize-handle::before{content:'';position:absolute;top:0;bottom:0;width:8px;box-sizing:border-box;border-left:0 solid transparent;transition:border-left-width .15s ease,border-left-color .15s ease}.tox .tox-sidebar__resize-handle:hover::before{border-left:3px solid #006ce7}.tox .tox-sidebar-wrap--resizable .tox-sidebar__pane{width:calc(100% - var(--tox-private-sidebar-resize-handle-width,1px))}.tox .tox-sidebar__pane{display:flex}.tox .tox-sidebar--sliding-closed{opacity:0}.tox .tox-sidebar--sliding-open{opacity:1}.tox .tox-sidebar--sliding-growing,.tox .tox-sidebar--sliding-shrinking{transition:width .5s ease,opacity .5s ease}.tox .tox-sidebar-content{display:flex;flex-direction:column;position:relative;width:100%;height:100%}.tox .tox-sidebar-content__header{align-items:center;display:flex;justify-content:space-between;border-bottom:var(--tox-private-tinymceai-border-width,1px) solid var(--tox-private-neutral-20,#0e141a);padding:var(--tox-private-pad-sm,8px) 12px;background:var(--tox-private-background-color,#222f3e)}.tox .tox-sidebar-content__header .tox-sidebar-content__header-close-button{margin-left:auto}.tox .tox-sidebar-content__actions{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-sidebar-content__title{font-size:var(--tox-private-font-size-lg, 20px);font-weight:var(--tox-private-font-weight-normal,normal);padding:var(--tox-private-pad-sm,8px) 0 var(--tox-private-pad-sm,8px) 0;color:var(--tox-private-text-color,#fff);line-height:28px}.tox .tox-floating-sidebar{--tox-private-floating-sidebar-width:min(380px, 90vw);--tox-private-floating-sidebar-height:80vh;position:fixed;z-index:var(--tox-private-z-index-floatingsidebar,1050);box-shadow:var(--tox-private-floating-sidebar-box-shadow,0 0 40px 1px rgba(34,47,62,.15),0 16px 16px -10px rgba(34,47,62,.15),0 0 0 1px rgba(34,47,62,.15));width:var(--tox-private-floating-sidebar-width);height:var(--tox-private-floating-sidebar-height);background-color:var(--tox-private-floating-sidebar-background-color,#34485f);border-radius:var(--tox-private-panel-border-radius,6px);overflow:hidden}.tox .tox-floating-sidebar:not(.tox .tox-floating-sidebar--open){display:none}.tox .tox-floating-sidebar--open{display:block}.tox .tox-floating-sidebar__content-wrapper{width:100%;height:100%;display:flex;flex-direction:column}.tox .tox-floating-sidebar__header{position:relative}.tox .tox-floating-sidebar .tox-ai__scroll:has(.tox-card-list){background-color:inherit}.tox .tox-ai .tox-expandable-box{margin-bottom:calc(var(--tox-private-pad-md,16px) * .75)}.tox .tox-ai .tox-expandable-box .tox-expandable-box__content{margin:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-md,16px) * .75)}.tox .tox-ai .tox-expandable-box>.tox-button{margin:0 calc(var(--tox-private-pad-md,16px) * .75) var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-expandable-box:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#006ce7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-sidebar-content__header{border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-background-color,#222f3e);padding:calc(var(--tox-private-pad-sm,8px) - var(--tox-private-tinymceai-focus-border-width,2px)) calc(12px - var(--tox-private-tinymceai-focus-border-width,2px));border-bottom:1px solid var(--tox-private-separator-color,rgba(255,255,255,.15))}.tox .tox-ai .tox-sidebar-content__header:focus-visible:not(:disabled){border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#006ce7);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-sidebar-content__loader{align-items:center;display:flex;height:100%;justify-content:center;width:100%;z-index:1000}.tox .tox-ai .tox-sidebar-content__title{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin-right:auto}.tox .tox-ai .tox-sidebar-content__title:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#006ce7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-sidebar-content__actions .tox-ai__complete-review{display:flex;align-items:center;gap:6px;padding-top:var(--tox-private-pad-xs,4px);padding-bottom:var(--tox-private-pad-xs,4px);padding-left:var(--tox-private-pad-md,16px);padding-right:var(--tox-private-pad-md,16px)}.tox .tox-ai .tox-menu{width:-webkit-fill-available;width:-moz-available;width:stretch;overflow:visible}.tox .tox-ai .tox-ai__user-prompt{display:flex;flex-direction:column;margin-left:auto;gap:inherit;width:100%}.tox .tox-ai .tox-ai__user-prompt__context{margin-left:auto;display:flex;flex-direction:column;gap:inherit;align-items:end;width:100%}.tox .tox-ai .tox-ai__user-prompt__context .tox-tag{max-width:100%}.tox .tox-ai .tox-ai__user-prompt__text{background-color:var(--tox-private-background-secondary,#2f4055);padding:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-md,16px) * .75);border-radius:var(--tox-private-control-border-radius,6px);max-width:80%;align-self:flex-end;color:var(--tox-private-text-color,#fff);white-space:pre-wrap}.tox .tox-ai .tox-ai__user-prompt__text:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#006ce7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-ai__scroll{overflow-y:auto;overflow-x:hidden;background-color:var(--tox-private-background-color,#222f3e);display:flex;padding:12px;flex-direction:column;align-items:flex-start;gap:12px;flex:1 0 0;align-self:stretch}.tox .tox-ai .tox-ai__scroll:focus-visible:not(:disabled){outline:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#006ce7);outline-offset:calc(-1 * var(--tox-private-tinymceai-focus-border-width,2px));border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-ai__scroll--review:not(:has(.tox-sidebar-content__message-text)){background-color:var(--tox-private-background-secondary,#2f4055)}.tox .tox-ai .tox-ai__spinner svg{fill:var(--tox-private-color-tint,#006ce7)}.tox .tox-ai .tox-ai__response{width:100%;min-width:100%;max-width:100%}.tox .tox-ai .tox-ai__response__header{display:flex;align-items:center;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response__header .tox-icon svg{fill:var(--tox-private-color-tint,#006ce7)}.tox .tox-ai .tox-ai__response-status{display:flex;color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));font-size:var(--tox-private-font-size-sm, 14px);gap:var(--tox-private-pad-xs,4px);line-height:var(--tox-private-tinymceai-response-status-icon-height, max(24px, calc(14px + 4px)));padding-top:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response-status svg{fill:var(--tox-private-text-color-muted,rgba(255,255,255,0.5))}.tox .tox-ai .tox-ai__response-status-icon{border-radius:999px;border:1px solid var(--tox-private-neutral-20,#0e141a);background-color:var(--tox-private-background-color,#222f3e);height:var(--tox-private-tinymceai-response-status-icon-height,max(24px,calc(14px + 4px)));flex:0 0 24px;display:flex;align-items:center;justify-content:center}.tox .tox-ai .tox-ai__response-status-icon .tox-icon{display:contents}.tox .tox-ai .tox-ai__response-status-icon+.tox-ai__response-status-icon{margin-left:calc((var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px)) * -1)}.tox .tox-ai .tox-ai__icon{display:flex;align-items:center;justify-content:center}.tox .tox-ai .tox-ai__response-sources{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response-sources-header{display:block}.tox .tox-ai .tox-ai__response-sources-list{display:flex;align-items:center;gap:var(--tox-private-pad-sm,8px);align-self:stretch;flex-wrap:wrap}.tox .tox-ai .tox-ai__response-sources-list .tox-tag{border:1px solid var(--tox-private-separator-color,rgba(255,255,255,.15));background-color:transparent;max-width:32%;max-height:24px;cursor:pointer}.tox .tox-ai .tox-ai__response-sources-list .tox-tag img,.tox .tox-ai .tox-ai__response-sources-list .tox-tag svg{width:16px;height:16px;min-width:16px;min-height:16px;max-width:16px;max-height:16px}.tox .tox-ai .tox-ai__response-content{padding:var(--tox-private-pad-sm,8px) 0;color:var(--tox-private-text-color,#fff);font-feature-settings:'liga' off,'clig' off;font-size:var(--tox-private-font-size-sm, 14px);font-style:normal;font-weight:var(--tox-private-font-weight-normal,normal);line-height:var(--tox-private-line-height, 18px);display:flex;flex-direction:column}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming{position:relative}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming .tox-ai__response-status{color:var(--tox-private-text-color,#fff);font-size:var(--tox-private-font-size-md, 16px);line-height:calc(var(--tox-private-font-size-md, 16px) + 4px)}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming::after{content:'';position:absolute;bottom:0;left:0;right:0;height:min(100px,100%);pointer-events:none;background:linear-gradient(to bottom,transparent 60px,transparent 60px,var(--tox-private-background-color,#222f3e))}.tox .tox-ai .tox-ai-error{border-radius:var(--tox-private-panel-border-radius,6px);border:1px solid var(--tox-private-color-error,#c00);background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#222f3e) r g b / .9) 0,rgba(from var(--tox-private-background-color,#222f3e) r g b / .9) 100%),var(--tox-private-color-error,#c00);padding:var(--tox-private-pad-sm,8px);width:100%;display:flex;gap:var(--tox-private-pad-sm,8px);align-items:center}.tox .tox-ai .tox-ai-error__message{flex:1 0 0}.tox .tox-ai .tox-ai-error__icon{flex:0 0 auto;align-self:flex-start}.tox .tox-ai .tox-ai__footer{padding:calc(12px - var(--tox-private-tinymceai-focus-border-width,2px));gap:var(--tox-private-pad-sm,8px);background-color:var(--tox-private-background-color,#222f3e);display:flex;flex-direction:column;border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-background-color,#222f3e);border-top:1px solid var(--tox-private-separator-color,rgba(255,255,255,.15))}.tox .tox-ai .tox-ai__footer:focus-visible:not(:disabled){border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#006ce7);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-ai__context{display:flex;gap:var(--tox-private-pad-sm,8px);flex-wrap:wrap;max-height:calc((2 * (2 * var(--tox-private-pad-xs,4px) + var(--tox-private-base-value,16px))) + var(--tox-private-pad-sm,8px))}.tox .tox-ai .tox-ai__context .tox-tag{max-width:calc((100% - var(--tox-private-pad-sm,8px))/ 2)}.tox .tox-ai .tox-ai__context-more{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px);padding:var(--tox-private-pad-sm,8px);overflow:auto;max-width:var(--tox-private-tinymceai-context-more-max-width,320px)}.tox .tox-ai .tox-ai__context-more .tox-tag{max-width:100%}.tox .tox-ai .tox-ai__stop-generating{display:flex;align-items:center;gap:6px}.tox .tox-ai .tox-ai__footer-actions{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-model-selection-button{display:flex;gap:var(--tox-private-pad-xs,4px)}.tox .tox-ai .tox-ai__footer-note{align-items:center;color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));display:flex;font-size:var(--tox-private-font-size-xs, 12px);height:24px;justify-content:center;letter-spacing:0;padding-top:var(--tox-private-pad-sm,8px);width:100%}.tox .tox-ai .tox-ai__models-menu{max-width:350px}.tox .tox-ai .tox-ai__models-menu .tox-menu{max-height:inherit;padding:var(--tox-private-pad-xs,4px)}.tox .tox-ai .tox-ai__models-menu__item__description{display:flex;flex-direction:column;align-items:start}.tox .tox-ai .tox-ai__models-menu__item__description__title{font-weight:var(--tox-private-font-weight-bold,bold);font-size:var(--tox-private-font-size-sm, 14px);line-height:calc(var(--tox-private-font-size-sm, 14px) * 1.28572);padding-bottom:4px}.tox .tox-ai .tox-ai__models-menu__item__description__content{color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));font-size:var(--tox-private-font-size-xs, 12px);line-height:calc(var(--tox-private-font-size-xs, 12px) * 1.33333)}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content{color:inherit}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content .tox-ai__models-menu__item__description__ability{color:var(--tox-private-color-white,#fff)}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content .tox-ai__models-menu__item__description__content_body{color:rgba(from var(--tox-private-color-white,#fff) r g b / .7)}.tox .tox-ai .tox-ai__models-menu__item__description__ability{color:var(--tox-private-text-color,#fff);padding-bottom:4px}.tox .tox-ai .tox-ai__models-menu__item__description__ability__enabled{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-ai .tox-ai-chat-history-list{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px);padding-top:var(--tox-private-pad-xs,4px);width:100%}.tox .tox-ai .tox-ai-chat-history-list .tox-collection__group{gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-chat-history-list__title{color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:18px;letter-spacing:1px}.tox .tox-ai .tox-ai-chat-history-list__item{display:flex;padding:12px;gap:var(--tox-private-pad-sm,8px);border-radius:var(--tox-private-control-border-radius,6px);cursor:pointer}.tox .tox-ai .tox-ai-chat-history-list__item.tox-ai-chat-history-list__item--active{background-color:var(--tox-private-background-secondary,#2f4055)}.tox .tox-ai .tox-ai-chat-history-list__item:focus,.tox .tox-ai .tox-ai-chat-history-list__item:focus-visible{background-color:var(--tox-private-background-secondary,#2f4055)}.tox .tox-ai .tox-ai-chat-history-list__item.tox-ai-chat-history-list__item-edit-title{background-color:var(--tox-private-background-secondary,#2f4055);flex-direction:column}.tox .tox-ai .tox-ai-chat-history-list__item-edit-actions{display:flex;justify-content:flex-end;width:100%;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-chat-history-list__item-edit-actions .tox-ai__spinner svg{fill:rgba(from var(--tox-private-color-white,#fff) r g b / 0.5)}.tox .tox-ai .tox-ai-chat-history-list__item-content{display:flex;flex-direction:column;margin-right:auto;overflow:hidden}.tox .tox-ai .tox-ai-chat-history-list__item-actions{display:flex;align-items:center;min-width:calc(24px + (var(--tox-private-pad-xs,4px) + 1px)*2)}.tox .tox-ai .tox-ai-chat-history-list__item-content-title{color:var(--tox-private-text-color,#fff);font-size:var(--tox-private-font-size-base, 16px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:var(--tox-private-font-size-lg, 20px);overflow:hidden;text-overflow:ellipsis}.tox .tox-ai .tox-ai-chat-history-list__item-content-date{color:var(--tox-private-text-color,#fff);font-size:var(--tox-private-font-size-xs, 12px);line-height:var(--tox-private-line-height-base, 1.3)}.tox .tox-ai .tox-sidebar-content__message{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;gap:var(--tox-private-pad-md,16px);width:100%}.tox .tox-ai .tox-sidebar-content__message-text{text-align:center;color:var(--tox-private-text-color,#fff);font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:20px}.tox .tox-ai .tox-sidebar-content__message-action{display:flex;justify-content:center;align-items:center;align-self:stretch}.tox .tox-ai .tox-ai-chat-action-button{line-height:var(--tox-private-base-value, 16px);font-size:var(--tox-private-font-size-xs, 12px);padding:6px var(--tox-private-pad-sm,8px);margin:var(--tox-private-pad-xs,4px) 0;font-weight:var(--tox-private-font-weight-normal,normal);width:min-content}.tox .tox-ai .tox-ai-chat-action-button .tox-icon{display:inline-flex;align-items:center;justify-content:center;height:16px;width:16px;overflow:hidden}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg{display:block;flex:none;fill:var(--tox-private-tinymceai-chat-action-button-icon-color,#fff)}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='24'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='24px']{transform:scale(calc(16 / 24))}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='20'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='20px']{transform:scale(calc(16 / 20))}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='18'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='18px']{transform:scale(calc(16 / 18))}.tox .tox-ai .tox-ai-chat-action-button:not(:has(+ .tox-ai-chat-action-button)){margin-bottom:var(--tox-private-pad-sm,8px)}.tox .tox-ai-removed-content{font-style:italic;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));line-height:var(--tox-private-line-height-base, 1.3);margin:0 1em}.tox .tox-ai-removed-content::before{content:"⊘ ";font-style:normal;font-size:calc(var(--tox-private-line-height-base, 1.3) * 1em)}.tox .tox-ai-html-content{font-size:var(--tox-private-font-size-md, 16px);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color,#fff);line-height:var(--tox-private-line-height-base, 1.3);overflow-x:auto}.tox .tox-ai-html-content:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#006ce7);outline-offset:var(--tox-private-tinymceai-html-content-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai-html-content h1{font-size:1.6em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.67em 0}.tox .tox-ai-html-content h2{font-size:1.4em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.83em 0}.tox .tox-ai-html-content h3{font-size:1.2em;font-weight:var(--tox-private-font-weight-bold,bold);margin:1em 0}.tox .tox-ai-html-content h4,.tox .tox-ai-html-content h5,.tox .tox-ai-html-content h6{font-size:1em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.33em 0}.tox .tox-ai-html-content p{margin:var(--tox-private-pad-sm,8px) 0}.tox .tox-ai-html-content ol,.tox .tox-ai-html-content ul{padding-left:2em;margin:1em 0}.tox .tox-ai-html-content li:has(input:first-child){list-style-type:none}.tox .tox-ai-html-content a{color:var(--tox-private-color-tint,#006ce7);-webkit-text-decoration:underline;text-decoration:underline;cursor:pointer}.tox .tox-ai-html-content a:link:active,.tox .tox-ai-html-content a:visited:active{color:#8864ad}.tox .tox-ai-html-content blockquote{border-left:2px solid var(--tox-private-separator-color,rgba(255,255,255,.15));margin-left:1.5rem;padding-left:1rem;font-style:italic}.tox .tox-ai-html-content code{font-family:ui-monospace,monospace;background:var(--tox-private-separator-color,rgba(255,255,255,.15));padding:.1em .2em;border-radius:4px}.tox .tox-ai-html-content pre code{display:block;font-family:ui-monospace,monospace;background:var(--tox-private-separator-color,rgba(255,255,255,.15));border-radius:4px;white-space:pre-wrap;margin:1em 0;overflow-wrap:break-word}.tox .tox-ai-html-content hr{border:none;border-top:1px solid var(--tox-private-border-color,#161f29)}.tox .tox-ai-html-content table{width:100%;border-collapse:collapse;margin:.5em 0;font-size:.95em;line-height:1.45}.tox .tox-ai-html-content table:not([cellpadding]) td,.tox .tox-ai-html-content table:not([cellpadding]) th{padding:.4rem}.tox .tox-ai-html-content td,.tox .tox-ai-html-content th{border:1px solid var(--tox-private-border-color,#161f29)}.tox .tox-ai-html-content th{font-weight:var(--tox-private-font-weight-bold,bold);text-align:left;white-space:nowrap}.tox .tox-ai-html-content b,.tox .tox-ai-html-content strong{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-ai-html-content em,.tox .tox-ai-html-content i{font-style:italic}.tox .tox-ai-html-content del{-webkit-text-decoration:line-through;text-decoration:line-through}.tox .tox-ai-html-content sub,.tox .tox-ai-html-content sup{font-size:.75em;line-height:0;vertical-align:baseline}.tox .tox-ai-html-content sup{vertical-align:super}.tox .tox-ai-html-content sub{vertical-align:sub}.tox .tox-ai-html-content mark{background:hsl(from var(--tox-private-color-active,#006ce7) h s l / 30%);padding:.05em .2em;border-radius:2px}.tox .tox-ai-html-content small{font-size:.85em}.tox .tox-ai-html-content kbd{font-family:ui-monospace,monospace;font-size:.85em;padding:.15em .4em;border-radius:4px;border:1px solid var(--tox-private-border-color,#161f29);background:var(--tox-private-separator-color,rgba(255,255,255,.15));box-shadow:inset 0 -1px 0 var(--tox-private-border-color,#161f29)}.tox .tox-ai-html-content img{max-width:100%;height:auto;vertical-align:middle;border-radius:4px}.tox .tox-expandable-box__content .tox-ai-html-content+.tox-ai-html-content::before,.tox .tox-expandable-box__content .tox-ai-html-content:has(+ .tox-ai-removed-content)::after,.tox .tox-expandable-box__content .tox-ai-removed-content+.tox-ai-html-content::before{content:"〰〰";color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));text-align:center;width:100%;display:block}.tox .tox-diff-preview{display:contents}.tox .tox-diff-preview__host{height:100%;position:relative;flex:1 1 0}.tox .tox-diff-preview__host:empty{pointer-events:none}.tox .tox-diff-preview__layer{display:flex;flex-direction:column;inset:0;position:absolute}.tox .tox-diff-preview__layer--loading .tox-diff-preview__frame{pointer-events:none;visibility:hidden}.tox .tox-diff-preview__viewport{flex:1 1 auto;min-height:0;position:relative}.tox .tox-diff-preview__frame{background-color:#fff;border:0;height:100%;min-height:0;position:relative;width:100%}.tox .tox-diff-preview__footer{background-color:var(--tox-private-background-color,#222f3e);border-top:1px solid #364a62;flex:0 0 auto}.tox .tox-diff-preview__toolbar{display:flex;gap:8px;justify-content:flex-end;padding:12px 16px}.tox .tox-ai__preview-overlay{position:absolute;inset:0;width:100%;height:100%;font-size:14px}.tox .tox-ai__preview-overlay--hidden{visibility:hidden}.tox .tox-ai__preview-overlay--pass-through{pointer-events:none}.tox .tox-ai__preview-overlay--dim{background:rgba(34,47,62,.2)}.tox .tox-ai__preview-overlay--centered{display:flex;align-items:center;justify-content:center}.tox .tox-ai__preview-overlay--clipped{overflow:clip}.tox .tox-tinymceai-previewloader{display:flex;align-items:center;gap:var(--tox-private-pad-md,16px);padding:var(--tox-private-pad-sm,8px);border-radius:var(--tox-private-panel-border-radius,6px);box-shadow:var(--tox-private-ai-preview-loader-box-shadow,0 0 40px 1px rgba(34,47,62,.15),0 16px 16px -10px rgba(34,47,62,.15));background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color,#fff);pointer-events:auto}.tox .tox-tinymceai-previewloader__content{display:flex;align-items:center;justify-content:center;padding:0 var(--tox-private-pad-xs,4px);gap:var(--tox-private-pad-sm,8px)}.tox .tox-selector{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;display:inline-block;height:10px;position:absolute;width:10px}.tox.tox-platform-touch .tox-selector{height:12px;width:12px}.tox .tox-skeleton .tox-skeleton__line{height:16px;width:100%;background:linear-gradient(to right,rgba(240,240,240,.5) 8%,rgba(240,240,240,.7) 18%,rgba(240,240,240,.5) 33%);animation:wave 2s infinite ease-out}.tox .tox-skeleton .tox-skeleton__circle{height:36px;width:36px;margin-right:8px;border-radius:100%;background:linear-gradient(to right,rgba(240,240,240,.5) 8%,rgba(240,240,240,.7) 18%,rgba(240,240,240,.5) 33%);animation:wave 2s infinite ease-out}@keyframes wave{0%{background-position:-268px 0}100%{background-position:268px 0}}.tox .tox-slider{align-items:center;display:flex;flex:1;height:24px;justify-content:center;position:relative}.tox .tox-slider__rail{background-color:transparent;border:1px solid #161f29;border-radius:6px;height:10px;min-width:120px;width:100%}.tox .tox-slider__handle{background-color:#006ce7;border:2px solid #0054b4;border-radius:6px;box-shadow:none;height:24px;left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%);width:14px}.tox .tox-form__controls-h-stack>.tox-slider:not(:first-of-type){margin-inline-start:8px}.tox .tox-form__controls-h-stack>.tox-form__group+.tox-slider{margin-inline-start:32px}.tox .tox-form__controls-h-stack>.tox-slider+.tox-form__group{margin-inline-start:32px}.tox .tox-toolbar-slider{align-items:center;display:inline-flex;height:16px}.tox .tox-toolbar-slider__input{appearance:none;background:#161f29;border-radius:16px;width:130px;height:2px}.tox .tox-toolbar-slider__input::-webkit-slider-runnable-track{background-color:transparent;height:16px}.tox .tox-toolbar-slider__input::-moz-range-track{background-color:transparent;height:16px}.tox .tox-toolbar-slider__input::-webkit-slider-thumb{-webkit-appearance:none;background-color:#006ce7;border-radius:16px;border:none;height:16px;width:16px}.tox .tox-toolbar-slider__input::-moz-range-thumb{appearance:none;background-color:#006ce7;border-radius:16px;border:none;height:16px;width:16px}.tox .tox-toolbar-slider__input:focus-visible{outline:0}.tox .tox-toolbar-slider__input:focus::-webkit-slider-thumb{background-color:#0060ce;box-shadow:inset 0 0 0 1px #fff,0 0 0 2px #006ce7}.tox .tox-toolbar-slider__input:focus::-moz-range-thumb{background-color:#0060ce;box-shadow:inset 0 0 0 1px #fff,0 0 0 2px #006ce7}.tox .tox-toolbar-slider__input:hover::-webkit-slider-thumb{background-color:#0060ce}.tox .tox-toolbar-slider__input:hover::-moz-range-thumb{background-color:#0060ce}.tox .tox-toolbar-slider__input:active::-webkit-slider-thumb{background-color:#0054b4}.tox .tox-toolbar-slider__input:active::-moz-range-thumb{background-color:#0054b4}.tox .tox-toolbar-slider__input[disabled]::-webkit-slider-thumb{background-color:rgba(255,255,255,.5)}.tox .tox-toolbar-slider__input[disabled]::-moz-range-thumb{background-color:rgba(255,255,255,.5)}.tox .tox-source-code{overflow:auto}.tox .tox-spinner{display:flex}.tox .tox-spinner>div{animation:tam-bouncing-dots 1.5s ease-in-out 0s infinite both;background-color:rgba(255,255,255,.5);border-radius:100%;height:8px;width:8px}.tox .tox-spinner>div:first-child{animation-delay:-.32s}.tox .tox-spinner>div:nth-child(2){animation-delay:-.16s}@keyframes tam-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox:not([dir=rtl]) .tox-spinner>div:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-spinner>div:not(:first-child){margin-right:4px}.tox .tox-ai__spinner{--tox-private-spinner-color:var(--tox-private-color-tint, #006ce7);--tox-private-spinner-size:24px;--tox-private-spinner-circle-width:3px;--tox-private-spinner-dot-size:6px;width:var(--tox-private-spinner-size);aspect-ratio:1/1}.tox .tox-ai__spinner--small{--tox-private-spinner-size:16px;--tox-private-spinner-circle-width:2px;--tox-private-spinner-dot-size:4px}.tox .tox-ai__spinner--circle{animation:tox-rotation 1s linear infinite;border-radius:50%;background:conic-gradient(var(--tox-private-spinner-color) 0 calc(360deg - 30deg),transparent calc(360deg - 30deg) 100%);mask:radial-gradient(calc((var(--tox-private-spinner-size) - var(--tox-private-spinner-circle-width) * 2)/ 2),#0000 98%,#000)}.tox .tox-ai__spinner--dots{display:flex;align-items:center;justify-content:center;gap:1px}.tox .tox-ai__spinner--dots>div{animation:tox-bouncing-dots 1.5s ease-in-out 0s infinite both;aspect-ratio:1/1;width:var(--tox-private-spinner-dot-size);background-color:var(--tox-private-spinner-color);border-radius:100%}.tox .tox-ai__spinner--dots>div:first-child{animation-delay:-.32s}.tox .tox-ai__spinner--dots>div:nth-child(2){animation-delay:-.16s}.tox .tox-tinymceai__annotation--added,.tox .tox-tinymceai__annotation--modified,.tox .tox-tinymceai__annotation--removed{padding-block:calc((1lh - 1.1em)/ 2);-webkit-text-decoration:none;text-decoration:none;background-repeat:no-repeat;text-decoration-thickness:max(1px,0.07em)}.tox .tox-tinymceai__annotation--added__highlight{background-position:bottom;background-image:linear-gradient(rgba(120,171,70,.2) calc(100% - 2px),#78ab46 calc(100% - 2px))}.tox .tox-tinymceai__annotation--added__selected{background-image:none;background-color:rgba(120,171,70,.2);box-shadow:0 2px 0 0 #006ce7,0 -2px 0 0 #006ce7}.tox .tox-tinymceai__annotation--modified__highlight{background-position:bottom;background-image:linear-gradient(rgba(0,108,231,.2) calc(100% - 2px),#006ce7 calc(100% - 2px))}.tox .tox-tinymceai__annotation--modified__selected{background-image:none;background-color:rgba(0,108,231,.2);box-shadow:0 2px 0 0 #006ce7,0 -2px 0 0 #006ce7}.tox .tox-tinymceai__annotation--removed__highlight{-webkit-text-decoration:line-through;text-decoration:line-through;background-position:bottom;background-image:linear-gradient(rgba(204,0,0,.2) calc(100% - 2px),#c00 calc(100% - 2px))}.tox .tox-tinymceai__annotation--removed__selected{-webkit-text-decoration:line-through;text-decoration:line-through;background-image:none;background-color:rgba(204,0,0,.2);box-shadow:0 2px 0 0 #006ce7,0 -2px 0 0 #006ce7}.tox .mce-object.tox-tinymceai__annotation--added,.tox .mce-object.tox-tinymceai__annotation--modified,.tox .mce-object.tox-tinymceai__annotation--removed,.tox .mce-preview-object.tox-tinymceai__annotation--added,.tox .mce-preview-object.tox-tinymceai__annotation--modified,.tox .mce-preview-object.tox-tinymceai__annotation--removed,.tox iframe.tox-tinymceai__annotation--added,.tox iframe.tox-tinymceai__annotation--modified,.tox iframe.tox-tinymceai__annotation--removed,.tox img.tox-tinymceai__annotation--added,.tox img.tox-tinymceai__annotation--modified,.tox img.tox-tinymceai__annotation--removed,.tox video.tox-tinymceai__annotation--added,.tox video.tox-tinymceai__annotation--modified,.tox video.tox-tinymceai__annotation--removed{padding-block:0;vertical-align:top}.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object),.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object),.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object){padding-block:0}.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) video,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) video,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) video{vertical-align:top}.tox del.tox-tinymceai__annotation--added__selected,.tox ins.tox-tinymceai__annotation--added__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#006ce7 3px,rgba(120,171,70,.2) 3px,rgba(120,171,70,.2) calc(100% - 3px),#006ce7 calc(100% - 3px))}.tox del.tox-tinymceai__annotation--modified__selected,.tox ins.tox-tinymceai__annotation--modified__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#006ce7 3px,rgba(0,108,231,.2) 3px,rgba(0,108,231,.2) calc(100% - 3px),#006ce7 calc(100% - 3px))}.tox del.tox-tinymceai__annotation--removed__selected,.tox ins.tox-tinymceai__annotation--removed__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#006ce7 3px,rgba(204,0,0,.2) 3px,rgba(204,0,0,.2) calc(100% - 3px),#006ce7 calc(100% - 3px))}.tox .tox-tinymceai__annotation--added.tox-tinymceai__annotation--added__hidden,.tox .tox-tinymceai__annotation--modified.tox-tinymceai__annotation--modified__hidden,.tox .tox-tinymceai__annotation--removed.tox-tinymceai__annotation--removed__hidden{display:none;-webkit-text-decoration:none;text-decoration:none}.tox :has(> div > iframe).tox-tinymceai__annotation--added,.tox :has(> div > iframe).tox-tinymceai__annotation--modified,.tox :has(> div > iframe).tox-tinymceai__annotation--removed{padding:7px;margin:5px}.tox iframe.tox-tinymceai__annotation--added__highlight,.tox img.tox-tinymceai__annotation--added__highlight,.tox video.tox-tinymceai__annotation--added__highlight{background-color:#334840;background-image:none;border:2px solid #78ab46;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--added__selected,.tox img.tox-tinymceai__annotation--added__selected,.tox video.tox-tinymceai__annotation--added__selected{background-color:#334840;background-image:none;border:2px solid #78ab46;padding:0;vertical-align:top;border-color:#334840;outline:2px solid #006ce7}.tox iframe.tox-tinymceai__annotation--modified__highlight,.tox img.tox-tinymceai__annotation--modified__highlight,.tox video.tox-tinymceai__annotation--modified__highlight{background-color:#1b3b60;background-image:none;border:2px solid #006ce7;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--modified__selected,.tox img.tox-tinymceai__annotation--modified__selected,.tox video.tox-tinymceai__annotation--modified__selected{background-color:#1b3b60;background-image:none;border:2px solid #006ce7;padding:0;vertical-align:top;border-color:#1b3b60;outline:2px solid #006ce7}.tox iframe.tox-tinymceai__annotation--removed__highlight,.tox img.tox-tinymceai__annotation--removed__highlight,.tox video.tox-tinymceai__annotation--removed__highlight{background-color:#442632;background-image:none;border:2px solid #c00;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--removed__selected,.tox img.tox-tinymceai__annotation--removed__selected,.tox video.tox-tinymceai__annotation--removed__selected{background-color:#442632;background-image:none;border:2px solid #c00;padding:0;vertical-align:top;border-color:#442632;outline:2px solid #006ce7}.tox .tox-tinymceai__annotation--removed__highlight iframe,.tox .tox-tinymceai__annotation--removed__highlight img,.tox .tox-tinymceai__annotation--removed__highlight video,.tox .tox-tinymceai__annotation--removed__selected iframe,.tox .tox-tinymceai__annotation--removed__selected img,.tox .tox-tinymceai__annotation--removed__selected video{background-color:#442632;background-image:none;border:2px solid #c00;padding:0;vertical-align:top}.tox .tox-tinymceai__annotation--removed__selected iframe,.tox .tox-tinymceai__annotation--removed__selected img,.tox .tox-tinymceai__annotation--removed__selected video{border-color:#442632;outline:2px solid #006ce7}.tox div.tox-tinymceai__annotation:has(> hr){background-size:auto;padding:.25em}.tox div.tox-tinymceai__annotation--removed__highlight>hr{border-color:rgba(0,0,0,.2)}.tox div.tox-tinymceai__annotation--added__highlight>hr{border-color:rgba(0,0,0,.2)}.tox .tox-tinymceai__deleted-media-overlay{inset:0;overflow:hidden;pointer-events:none;position:absolute;z-index:11}.tox .tox-tinymceai__deleted-media-wash{fill:#222F3E;fill-opacity:0.4}.tox .tox-tinymceai__deleted-media-mark{stroke:#c00}.tox .tox-tinymceai__deleted-media-halo{stroke:#fff}.tox .mce-pagebreak.tox-tinymceai__annotation--added__selected,.tox .mce-pagebreak.tox-tinymceai__annotation--modified__selected,.tox .mce-pagebreak.tox-tinymceai__annotation--removed__selected{border:1px dashed #aaa;box-shadow:none;background-image:none}.tox .mce-pagebreak.tox-tinymceai__annotation--added__highlight,.tox .mce-pagebreak.tox-tinymceai__annotation--modified__highlight,.tox .mce-pagebreak.tox-tinymceai__annotation--removed__highlight{padding:0}.tox .tox-tinymceai__diff-focus-overlay{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:10}.tox .tox-tinymceai__diff-focus-overlay-dim{fill:rgba(34,47,62,0.2)}.tox .tox-ai__scroll:has(.tox-card-group){padding-top:0}.tox .tox-ai__scroll:has(.tox-card-group) .tox-ai__review-sidebar-container .tox-card-list{gap:0}.tox .tox-ai__scroll .tox-ai__review-sidebar-container{scrollbar-gutter:stable;width:100%;height:100%;display:flex;flex-direction:column;gap:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-card-list{gap:8px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-card-group__title{margin-inline:-12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-initializing{padding:var(--tox-private-pad-md,16px)}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-description{padding-bottom:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));font-size:var(--tox-private-font-size-sm, 14px)}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-choose-container{padding-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-custom-input{margin-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-custom-actions{display:flex;gap:8px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container{margin-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container button.tox-ai__review-input-button{width:100%;background-color:var(--tox-private-background-color,#222f3e);display:flex;justify-content:space-between;align-items:center;border:1px solid #161f29;border-radius:6px;box-sizing:border-box}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container .tox-ai__review-dropdown-content{width:anchor-size(width)}.tox .tox-statusbar{align-items:center;background-color:#222f3e;border-top:1px solid rgba(255,255,255,.15);color:rgba(255,255,255,.75);display:flex;flex:0 0 auto;font-size:14px;font-weight:400;height:25px;overflow:hidden;padding:0 8px;position:relative;text-transform:none}.tox .tox-statusbar__path{display:flex;flex:1 1 auto;text-overflow:ellipsis;white-space:nowrap}.tox .tox-statusbar__right-container{display:flex;justify-content:flex-end;white-space:nowrap}.tox .tox-statusbar__help-text{text-align:center}.tox .tox-statusbar__text-container{align-items:flex-start;display:flex;flex:1 1 auto;height:16px;justify-content:space-between}@media only screen and (min-width:768px){.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__help-text,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__path,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__right-container{flex:0 0 calc(100% / 3)}}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-end{justify-content:flex-end}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-start{justify-content:flex-start}.tox .tox-statusbar__text-container.tox-statusbar__text-container--space-around{justify-content:space-around}.tox .tox-statusbar__path>*{display:inline;white-space:nowrap}.tox .tox-statusbar__wordcount{flex:0 0 auto;margin-left:1ch}@media only screen and (max-width:767px){.tox .tox-statusbar__text-container .tox-statusbar__help-text{display:none}.tox .tox-statusbar__text-container .tox-statusbar__help-text:only-child{display:block}}.tox .tox-statusbar a,.tox .tox-statusbar__path-item,.tox .tox-statusbar__wordcount{color:rgba(255,255,255,.75);position:relative;-webkit-text-decoration:none;text-decoration:none}.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]){color:#fff;cursor:pointer}.tox .tox-statusbar a:focus-visible::after,.tox .tox-statusbar__path-item:focus-visible::after,.tox .tox-statusbar__wordcount:focus-visible::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-statusbar a:focus-visible::after,.tox .tox-statusbar__path-item:focus-visible::after,.tox .tox-statusbar__wordcount:focus-visible::after{border:2px solid highlight}}.tox .tox-statusbar__branding svg{fill:rgba(255,255,255,0.8);height:1em;margin-left:.3em;width:auto}@media (forced-colors:active){.tox .tox-statusbar__branding svg{fill:currentColor}}.tox .tox-statusbar__branding a{align-items:center;display:inline-flex}.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg,.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg{fill:#fff}.tox .tox-statusbar__resize-cursor-default{cursor:ns-resize}.tox .tox-statusbar__resize-cursor-both{cursor:nwse-resize}.tox .tox-statusbar__resize-handle{align-items:flex-end;align-self:stretch;display:flex;flex:0 0 auto;justify-content:flex-end;margin-bottom:3px;margin-left:4px;margin-right:calc(3px - 8px);margin-top:3px;padding-bottom:0;padding-left:0;padding-right:0;position:relative}.tox .tox-statusbar__resize-handle svg{display:block;fill:rgba(255,255,255,0.5)}.tox .tox-statusbar__resize-handle:focus svg,.tox .tox-statusbar__resize-handle:hover svg{fill:#fff}.tox .tox-statusbar__resize-handle:focus-visible{background-color:transparent;border-radius:1px 1px 5px 1px;box-shadow:0 0 0 2px transparent}.tox .tox-statusbar__resize-handle:focus-visible::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-statusbar__resize-handle:focus-visible::after{border:2px solid highlight}}.tox .tox-statusbar__resize-handle:only-child{margin-left:auto}.tox:not([dir=rtl]) .tox-statusbar__path>*{margin-right:4px}.tox:not([dir=rtl]) .tox-statusbar__branding{margin-left:2ch}.tox[dir=rtl] .tox-statusbar{flex-direction:row-reverse}.tox[dir=rtl] .tox-statusbar__path>*{margin-left:4px}.tox[dir=rtl] .tox-statusbar__branding svg{margin-left:0;margin-right:.3em}.tox a.tox-tag{cursor:pointer}.tox .tox-tag{width:fit-content;box-sizing:border-box;display:flex;padding:var(--tox-private-pad-xs,4px) 6px;position:relative;align-items:center;gap:var(--tox-private-pad-xs,4px);border-radius:3px;background:hsl(from var(--tox-private-color-tint,#006ce7) h s l / 10%);line-height:var(--tox-private-base-value, 16px);font-size:var(--tox-private-font-size-xs, 12px)}.tox .tox-tag::before{border-radius:var(--tox-private-control-border-radius,6px);bottom:calc(-1 * var(--tox-private-tag-border-width,1px));box-shadow:var(--tox-private-tag-focus-outline,inset 0 0 0 1px #fff,0 0 0 2px #006ce7);content:'';left:calc(-1 * var(--tox-private-tag-border-width,1px));opacity:0;pointer-events:none;position:absolute;right:calc(-1 * var(--tox-private-tag-border-width,1px));top:calc(-1 * var(--tox-private-tag-border-width,1px))}.tox .tox-tag:focus:not(:disabled)::before{opacity:1}.tox .tox-tag>*{flex-shrink:0}.tox .tox-tag .tox-icon{height:var(--tox-private-base-value,16px);fill:var(--tox-private-text-color,#fff)}.tox .tox-tag .tox-tag__label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;flex-shrink:1;color:var(--tox-private-text-color,#fff)}.tox .tox-tag .tox-tag__close{height:var(--tox-private-base-value,16px)}.tox .tox-tag .tox-tag__close .tox-button.tox-button--icon{border:0;padding:0;color:var(--tox-private-text-color-muted,rgba(255,255,255,.5))}.tox .tox-tag .tox-tag__close .tox-button.tox-button--icon::before{box-shadow:none}.tox .tox-throbber{z-index:1299}.tox .tox-throbber__busy-spinner{align-items:center;background-color:rgba(34,47,62,.6);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.tox .tox-segmented-control{display:inline-flex;position:relative;border:none;border-radius:var(--tox-private-control-border-radius,6px);box-shadow:inset 0 0 0 1px var(--tox-private-segmented-control-border-color,#364a62);overflow:hidden;padding:var(--tox-private-pad-xs,4px);background-color:var(--tox-private-background-color,#222f3e)}.tox .tox-segmented-control__segment{flex:1;padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-sm,8px);cursor:pointer;background:0 0;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:16px;border:1px solid transparent;border-radius:calc(var(--tox-private-control-border-radius,6px) - 1px);text-align:center;white-space:nowrap;display:inline-block;vertical-align:middle;color:var(--tox-private-segmented-control-text-color,#fff)}.tox .tox-segmented-control__segment--active{border-color:var(--tox-private-segmented-control-active-border-color,#006ce7);color:var(--tox-private-segmented-control-active-text-color,#006ce7);background-color:var(--tox-private-segmented-control-active-bg-color,rgba(0,108,231,.1))}.tox .tox-segmented-control:not(.tox-segmented-control--disabled) .tox-segmented-control__segment{transition:all .2s}.tox .tox-segmented-control.tox-segmented-control--disabled .tox-segmented-control__segment{opacity:.5;cursor:not-allowed;pointer-events:none}.tox .tox-segmented-control__segment:focus{outline:2px solid var(--tox-private-color-tint,#006ce7);outline-offset:2px}.tox .tox-segmented-control__segment:focus:not(:focus-visible){outline:0}.tox .tox-toggle{display:flex;align-items:center;gap:var(--tox-private-pad-xs,4px);padding:var(--tox-private-pad-xs,4px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:var(--tox-private-control-line-height, 24px);white-space:nowrap;background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color,#fff)}.tox .tox-toggle input{position:absolute;opacity:0;width:0;height:0}.tox .tox-toggle__slider{position:relative;cursor:pointer;box-sizing:border-box;transition:.4s;border-radius:34px;width:28px;height:16px;background-color:var(--tox-private-slider-background-color,#222f3e);border:1px solid var(--tox-private-slider-border-color,rgba(255,255,255,.15))}.tox .tox-toggle__slider::before{position:absolute;content:"";height:12px;width:12px;left:1px;bottom:1px;transition:.4s;border-radius:50%;background-color:var(--tox-private-slider-handle-background-color,#fff)}.tox input:checked+.tox-toggle__slider{background-color:var(--tox-private-slider-checked-background-color,#006ce7);border:1px solid var(--tox-private-slider-checked-border-color,#006ce7)}.tox input:focus+.tox-toggle__slider{box-shadow:0 0 0 1px var(--tox-private-color-white,#fff),0 0 0 2px var(--tox-private-color-tint,#006ce7)}.tox input:checked+.tox-toggle__slider::before{transform:translateX(12px);background-color:var(--tox-private-slider-checked-handle-background-color,#fff)}.tox input:disabled+.tox-toggle__slider::before{opacity:50%}.tox .tox-tbtn{align-items:center;background:#222f3e;border:0;border-radius:3px;box-shadow:none;color:#fff;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;justify-content:center;margin:6px 1px 5px 0;outline:0;padding:0;text-transform:none;width:34px}.tox .tox-tbtn .tox-tbtn__icon-wrap{pointer-events:none}@media (forced-colors:active){.tox .tox-tbtn.tox-tbtn:hover,.tox .tox-tbtn:hover{outline:1px dashed currentColor}.tox .tox-tbtn.tox-tbtn--active,.tox .tox-tbtn.tox-tbtn--enabled,.tox .tox-tbtn.tox-tbtn--enabled:focus,.tox .tox-tbtn.tox-tbtn--enabled:hover,.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){outline:1px solid currentColor;position:relative}}.tox .tox-tbtn svg{display:block;fill:#fff}@media (forced-colors:active){.tox .tox-tbtn svg{fill:currentColor!important}.tox .tox-tbtn svg.tox-tbtn--enabled,.tox .tox-tbtn svg:focus:not(.tox-tbtn--disabled){fill:currentColor!important}.tox .tox-tbtn svg .tox-tbtn:disabled,.tox .tox-tbtn svg .tox-tbtn:disabled:hover,.tox .tox-tbtn svg.tox-tbtn--disabled,.tox .tox-tbtn svg.tox-tbtn--disabled:hover{filter:contrast(0%)}}.tox .tox-tbtn.tox-tbtn-more{padding-left:5px;padding-right:5px;width:inherit}.tox .tox-tbtn:focus{background:#222f3e;border:0;box-shadow:none;position:relative;z-index:1}.tox .tox-tbtn:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-tbtn:focus::after{border:2px solid highlight}}.tox .tox-tbtn:hover{background:#2f4055;border:0;box-shadow:none;color:#fff}.tox .tox-tbtn:hover svg{fill:#fff}.tox .tox-tbtn:active{background:#599fef;border:0;box-shadow:none;color:#fff}.tox .tox-tbtn:active svg{fill:#fff}.tox .tox-tbtn--disabled .tox-tbtn--enabled svg{fill:rgba(255,255,255,0.5)}.tox .tox-tbtn--disabled,.tox .tox-tbtn--disabled:hover,.tox .tox-tbtn:disabled,.tox .tox-tbtn:disabled:hover{background:#222f3e;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-tbtn--disabled svg,.tox .tox-tbtn--disabled:hover svg,.tox .tox-tbtn:disabled svg,.tox .tox-tbtn:disabled:hover svg{fill:rgba(255,255,255,0.5)}.tox .tox-tbtn--active,.tox .tox-tbtn--enabled,.tox .tox-tbtn--enabled:focus,.tox .tox-tbtn--enabled:hover{background:#599fef;border:0;box-shadow:none;color:#fff;position:relative}.tox .tox-tbtn--active>*,.tox .tox-tbtn--enabled:focus>*,.tox .tox-tbtn--enabled:hover>*,.tox .tox-tbtn--enabled>*{transform:none}.tox .tox-tbtn--active svg,.tox .tox-tbtn--enabled svg,.tox .tox-tbtn--enabled:focus svg,.tox .tox-tbtn--enabled:hover svg{fill:#fff}.tox .tox-tbtn--active.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled:focus.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled:hover.tox-tbtn--disabled svg{fill:rgba(255,255,255,0.5)}.tox .tox-tbtn--enabled:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-tbtn--enabled:focus::after{border:2px solid highlight}}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){color:#fff}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg{fill:#fff}.tox .tox-tbtn:active>*{transform:none}.tox .tox-tbtn--md{height:42px;width:51px}.tox .tox-tbtn--lg{flex-direction:column;height:56px;width:68px}.tox .tox-tbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tbtn--labeled{padding:0 4px;width:unset}.tox .tox-tbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-label--context-toolbar{margin:6px 1px 5px 0;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-number-input{background:#2f4055;border-radius:3px;display:flex;margin:6px 1px 5px 0;position:relative;width:auto}.tox .tox-number-input:focus{background:#2f4055}.tox .tox-number-input:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input:focus::after{border:2px solid highlight}}.tox .tox-number-input .tox-input-wrapper{display:flex;pointer-events:none;position:relative;text-align:center}.tox .tox-number-input .tox-input-wrapper:focus{background-color:#2f4055;z-index:1}.tox .tox-number-input .tox-input-wrapper:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input .tox-input-wrapper:focus::after{border:2px solid highlight}}.tox .tox-number-input .tox-input-wrapper:has(input:focus)::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input .tox-input-wrapper:has(input:focus)::after{border:2px solid highlight}}.tox .tox-number-input input{border-radius:3px;color:#fff;font-size:14px;margin:2px 0;pointer-events:all;position:relative;width:60px}.tox .tox-number-input input:hover{background:#2f4055;color:#fff}.tox .tox-number-input input:focus{background-color:#2f4055}.tox .tox-number-input input:disabled{background:#222f3e;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-number-input button{color:#fff;height:28px;position:relative;text-align:center;width:24px}@media (forced-colors:active){.tox .tox-number-input button:active,.tox .tox-number-input button:focus,.tox .tox-number-input button:hover{outline:1px solid currentColor!important}}.tox .tox-number-input button svg{display:block;fill:#fff;margin:0 auto;transform:scale(.67)}@media (forced-colors:active){.tox .tox-number-input button svg,.tox .tox-number-input button svg:active,.tox .tox-number-input button svg:hover{fill:currentColor!important}.tox .tox-number-input button svg:disabled{filter:contrast(0)}}.tox .tox-number-input button:focus{background:#2f4055;z-index:1}.tox .tox-number-input button:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input button:focus::after{border:2px solid highlight}}.tox .tox-number-input button:hover{background:#2f4055;border:0;box-shadow:none;color:#fff}.tox .tox-number-input button:hover svg{fill:#fff}.tox .tox-number-input button:active{background:#599fef;border:0;box-shadow:none;color:#fff}.tox .tox-number-input button:active svg{fill:#fff}.tox .tox-number-input button:disabled{background:#222f3e;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-number-input button:disabled svg{fill:rgba(255,255,255,0.5)}.tox .tox-number-input button.minus{border-radius:3px 0 0 3px}.tox .tox-number-input button.plus{border-radius:0 3px 3px 0}.tox .tox-number-input:focus:not(:active)>.tox-input-wrapper,.tox .tox-number-input:focus:not(:active)>button{background:#2f4055}.tox .tox-tbtn--select{margin:6px 1px 5px 0;padding:0 4px;width:auto}.tox .tox-tbtn--bordered,.tox .tox-tbtn--bordered:focus,.tox .tox-tbtn--bordered:hover{border:1px solid #161f29}.tox .tox-tbtn__select-label{cursor:default;font-weight:400;height:initial;margin:0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-tbtn__select-chevron svg{fill:rgba(255,255,255,0.5)}@media (forced-colors:active){.tox .tox-tbtn__select-chevron svg{fill:currentColor}}.tox .tox-tbtn--bespoke{background:#2f4055}.tox .tox-tbtn--bespoke:focus{background:#2f4055}.tox .tox-tbtn--bespoke+.tox-tbtn--bespoke{margin-inline-start:4px}.tox .tox-tbtn--bespoke .tox-tbtn__select-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:7em}.tox .tox-tbtn--disabled .tox-tbtn__select-label,.tox .tox-tbtn--select:disabled .tox-tbtn__select-label{cursor:not-allowed}.tox .tox-split-button__main{border-radius:3px 0 0 3px;margin-right:0}.tox .tox-split-button__main:focus{border:0;box-shadow:none;background:#222f3e;color:#fff;position:relative;z-index:1}.tox .tox-split-button__main:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0;border-radius:3px 0 0 3px}@media (forced-colors:active){.tox .tox-split-button__main:focus::after{border:2px solid highlight}}.tox .tox-split-button__chevron{width:16px;border-radius:0 3px 3px 0;margin-left:0}.tox .tox-split-button__chevron:focus{border:0;box-shadow:none;background:#222f3e;color:#fff;position:relative;z-index:1}.tox .tox-split-button__chevron:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0;border-radius:0 3px 3px 0}@media (forced-colors:active){.tox .tox-split-button__chevron:focus::after{border:2px solid highlight}}.tox .tox-split-button__chevron svg{fill:rgba(255,255,255,0.5)}@media (forced-colors:active){.tox .tox-split-button__chevron svg{fill:currentColor}}.tox.tox-platform-touch .tox-split-button__main{width:30px}.tox.tox-platform-touch .tox-split-button__chevron{width:20px}.tox .tox-split-button__chevron.tox-tbtn--disabled,.tox .tox-split-button__main.tox-tbtn--disabled{background:#222f3e;box-shadow:none;color:rgba(255,255,255,.5)}.tox .tox-split-button__chevron.tox-tbtn--disabled:hover,.tox .tox-split-button__main.tox-tbtn--disabled:hover{background:#222f3e;box-shadow:none;color:rgba(255,255,255,.5)}.tox .tox-split-button__chevron.tox-tbtn--disabled:focus,.tox .tox-split-button__main.tox-tbtn--disabled:focus{background:#222f3e;box-shadow:none;color:rgba(255,255,255,.5)}.tox .tox-split-button__main.tox-tbtn--disabled svg .tox-icon-highlight-bg-color__color,.tox .tox-split-button__main.tox-tbtn--disabled svg .tox-icon-text-color__color{opacity:.3}.tox .tox-toolbar-overlord{background-color:#222f3e}.tox .tox-toolbar,.tox .tox-toolbar__overflow,.tox .tox-toolbar__primary{background-attachment:local;background-color:#222f3e;background-image:repeating-linear-gradient(rgba(255,255,255,.15) 0 1px,transparent 1px 39px);background-position:center top 40px;background-repeat:no-repeat;background-size:calc(100% - 11px * 2) calc(100% - 41px);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;padding:0 0;transform:perspective(1px)}.tox .tox-toolbar-overlord>.tox-toolbar,.tox .tox-toolbar-overlord>.tox-toolbar__overflow,.tox .tox-toolbar-overlord>.tox-toolbar__primary{background-position:center top 0;background-size:calc(100% - 11px * 2) calc(100% - 0px)}.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed{height:0;opacity:0;padding-bottom:0;padding-top:0;visibility:hidden}.tox .tox-toolbar__overflow--growing{transition:height .3s ease,opacity .2s linear .1s}.tox .tox-toolbar__overflow--shrinking{transition:opacity .3s ease,height .2s linear .1s,visibility 0s linear .3s}.tox .tox-anchorbar,.tox .tox-toolbar-overlord{grid-column:1/-1}.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{border-top:1px solid transparent;margin-top:-1px;padding-bottom:1px;padding-top:1px}@media (forced-colors:active){.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{outline:1px solid currentColor}}.tox .tox-toolbar--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-pop .tox-toolbar{border-width:0}.tox .tox-toolbar--no-divider{background-image:none}.tox .tox-toolbar-overlord .tox-toolbar:not(.tox-toolbar--scrolling):first-child,.tox .tox-toolbar-overlord .tox-toolbar__primary{background-position:center top 39px}.tox .tox-editor-header>.tox-toolbar--scrolling,.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child{background-image:none}.tox .tox-focusable-wrapper{border:1px solid transparent;margin-right:2px;pointer-events:none}.tox .tox-focusable-wrapper .tox-textfield-size{pointer-events:all}.tox .tox-focusable-wrapper:focus{background-color:#2f4055;border-radius:6px;border-style:solid;border-width:1px}.tox.tox-tinymce-aux .tox-toolbar__overflow{background-color:#222f3e;background-position:center top 43px;background-size:calc(100% - 8px * 2) calc(100% - 51px);border:none;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);overscroll-behavior:none;padding:4px 0}@media (forced-colors:active){.tox.tox-tinymce-aux .tox-toolbar__overflow{border:solid}}.tox-pop .tox-pop__dialog .tox-toolbar{background-position:center top 43px;background-size:calc(100% - 11px * 2) calc(100% - 51px);padding:4px 0}.tox-context-form__group{display:flex;align-items:center}.tox .tox-toolbar__group{align-items:center;display:flex;flex-wrap:wrap;margin:0 0;padding:0 11px 0 12px}.tox .tox-toolbar__group--pull-right{margin-left:auto}.tox .tox-toolbar--scrolling .tox-toolbar__group{flex-shrink:0;flex-wrap:nowrap}.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type){border-right:1px solid transparent}.tox[dir=rtl] .tox-toolbar__group:not(:last-of-type){border-left:1px solid transparent}.tox .tox-toolbar-input-form{display:flex;align-items:center;background-color:var(--tox-private-background-color,#222f3e);padding:0 var(--tox-private-pad-sm,8px)}.tox .tox-tooltip{display:inline-block;max-width:min(80%,15em);padding:8px 0 0 0;position:relative;width:max-content;z-index:1150}.tox .tox-tooltip.tox-tooltip--anchor{display:none;padding:var(--tox-private-pad-xs,4px) 0 0;position:fixed;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;height:fit-content}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--up{position-area:block-end}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--down{position-area:block-start}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--left{position-area:inline-start}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--right{position-area:inline-end}.tox .tox-tooltip__body{background-color:#324053;border-radius:6px;box-shadow:none;color:#fff;font-size:12px;font-style:normal;font-weight:600;overflow-wrap:break-word;padding:4px 6px;text-transform:none}@media (forced-colors:active){.tox .tox-tooltip__body{outline:outset 1px}}.tox .tox-tooltip__arrow{position:absolute}.tox .tox-tooltip--down .tox-tooltip__arrow{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #324053;bottom:0;left:50%;position:absolute;transform:translateX(-50%)}.tox .tox-tooltip--up .tox-tooltip__arrow{border-bottom:8px solid #324053;border-left:8px solid transparent;border-right:8px solid transparent;left:50%;position:absolute;top:0;transform:translateX(-50%)}.tox .tox-tooltip--right .tox-tooltip__arrow{border-bottom:8px solid transparent;border-left:8px solid #324053;border-top:8px solid transparent;position:absolute;right:0;top:50%;transform:translateY(-50%)}.tox .tox-tooltip--left .tox-tooltip__arrow{border-bottom:8px solid transparent;border-right:8px solid #324053;border-top:8px solid transparent;left:0;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-tree{display:flex;flex-direction:column}.tox .tox-tree .tox-trbtn{align-items:center;background:0 0;border:0;border-radius:4px;box-shadow:none;color:#fff;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;margin-bottom:4px;margin-top:4px;outline:0;overflow:hidden;padding:0;padding-left:8px;text-transform:none}.tox .tox-tree .tox-trbtn .tox-tree__label{cursor:default;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tree .tox-trbtn svg{display:block;fill:#fff}.tox .tox-tree .tox-trbtn:focus{background:#2f4055;border:0;box-shadow:none}.tox .tox-tree .tox-trbtn:hover{background:#2f4055;border:0;box-shadow:none;color:#fff}.tox .tox-tree .tox-trbtn:hover svg{fill:#fff}.tox .tox-tree .tox-trbtn:active{background:#599fef;border:0;box-shadow:none;color:#fff}.tox .tox-tree .tox-trbtn:active svg{fill:#fff}.tox .tox-tree .tox-trbtn--disabled,.tox .tox-tree .tox-trbtn--disabled:hover,.tox .tox-tree .tox-trbtn:disabled,.tox .tox-tree .tox-trbtn:disabled:hover{background:0 0;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-tree .tox-trbtn--disabled svg,.tox .tox-tree .tox-trbtn--disabled:hover svg,.tox .tox-tree .tox-trbtn:disabled svg,.tox .tox-tree .tox-trbtn:disabled:hover svg{fill:rgba(255,255,255,0.5)}.tox .tox-tree .tox-trbtn--enabled,.tox .tox-tree .tox-trbtn--enabled:hover{background:#599fef;border:0;box-shadow:none;color:#fff}.tox .tox-tree .tox-trbtn--enabled:hover>*,.tox .tox-tree .tox-trbtn--enabled>*{transform:none}.tox .tox-tree .tox-trbtn--enabled svg,.tox .tox-tree .tox-trbtn--enabled:hover svg{fill:#fff}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled){color:#fff}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled) svg{fill:#fff}.tox .tox-tree .tox-trbtn:active>*{transform:none}.tox .tox-tree .tox-trbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tree .tox-trbtn--labeled{padding:0 4px;width:unset}.tox .tox-tree .tox-trbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-tree .tox-tree--directory{display:flex;flex-direction:column}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label{font-weight:700}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn:focus svg{fill:#fff}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:focus .tox-mbtn svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover .tox-mbtn svg{fill:#fff}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#fff}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#fff}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-chevron{margin-right:6px}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--shrinking) .tox-chevron{transition:transform .5s ease-in-out}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--open) .tox-chevron{transform:rotate(90deg)}.tox .tox-tree .tox-tree--leaf__label{font-weight:400}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--leaf__label .tox-mbtn:focus svg{fill:#fff}.tox .tox-tree .tox-tree--leaf__label:hover .tox-mbtn svg{fill:#fff}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#fff}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#fff}.tox .tox-tree .tox-icon-custom-state{flex-grow:1;display:flex;justify-content:flex-end}.tox .tox-tree .tox-tree--directory__children{overflow:hidden;padding-left:16px}.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--growing,.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--shrinking{transition:height .5s ease-in-out}.tox .tox-tree .tox-trbtn.tox-tree--leaf__label{display:flex;justify-content:space-between}[data-mce-name=uploadcare-enhance-filter] .color-swatch-remove-color path{fill:#c00;stroke:#c00}.tox .tox-view-wrap,.tox .tox-view-wrap__slot-container{background-color:#222f3e;display:flex;flex:1;flex-direction:column;height:100%;min-height:0}.tox .tox-view{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden;background-color:#222f3e}.tox .tox-view__header{align-items:center;display:flex;font-size:16px;justify-content:space-between;padding:10px;position:relative}.tox .tox-view__label{color:#fff;font-weight:700;line-height:24px;padding:4px 16px;text-align:center;white-space:nowrap}.tox .tox-view__label--normal{font-size:16px}.tox .tox-view__label--large{font-size:20px}.tox .tox-view--mobile.tox-view__header,.tox .tox-view--mobile.tox-view__toolbar{padding:8px}.tox .tox-view--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-view__align-right{margin-left:auto}.tox .tox-view__toolbar{display:flex;flex-direction:row;gap:8px;justify-content:space-between;overflow-x:auto;padding:10px}.tox .tox-view__toolbar__group{display:flex;flex-direction:row;gap:12px}.tox .tox-view__header-end,.tox .tox-view__header-start{display:flex}.tox .tox-view__pane{height:100%;padding:8px;position:relative;width:100%}.tox .tox-view__pane_panel{border:1px solid #161f29;border-radius:6px}.tox:not([dir=rtl]) .tox-view__header .tox-view__header-end>*,.tox:not([dir=rtl]) .tox-view__header .tox-view__header-start>*{margin-left:8px}.tox[dir=rtl] .tox-view__header .tox-view__header-end>*,.tox[dir=rtl] .tox-view__header .tox-view__header-start>*{margin-right:8px}.tox .tox-well{border:1px solid #161f29;border-radius:6px;padding:8px;width:100%}.tox .tox-well>:first-child{margin-top:0}.tox .tox-well>:last-child{margin-bottom:0}.tox .tox-well>:only-child{margin:0}.tox .tox-custom-editor{border:1px solid #161f29;border-radius:6px;display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-view .tox-revisionhistory__pane{padding:0}.tox .tox-revisionhistory__container{display:flex;flex-direction:column;height:100%}.tox .tox-revisionhistory{background-color:#222f3e;border-top:1px solid rgba(255,255,255,.15);display:flex;flex:1;height:100%;overflow-x:auto;overflow-y:hidden;position:relative;width:100%}.tox .tox-revisionhistory__iframe{flex:1}.tox .tox-revisionhistory__sidebar{display:flex;flex-direction:column;height:100%;min-width:248px;width:316px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__sidebar-title{background-color:#222f3e;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);color:#fff;font-size:20px;font-weight:400;line-height:28px;padding:12px;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions{background-color:#2b3b4e;display:flex;flex:1;flex-direction:column;gap:12px;overflow-y:auto;padding:10px 12px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus{height:100%;position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0;border-radius:6px;bottom:1px;left:1px;right:1px;top:1px}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card{background-color:#222f3e;border:1px solid rgba(255,255,255,.15);border-radius:6px;color:#fff;cursor:pointer;display:flex;flex-direction:column;font-size:14px;padding:12px;width:100%}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:hover{box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus{position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff #285ec7;content:'';left:0;position:absolute;right:0;top:0;border-radius:6px;box-shadow:0 0 0 2px #285ec7;box-shadow:0 0 0 2px #285ec7!important}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected{background-color:#1b3b60;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);position:relative}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff #cea215;content:'';left:0;position:absolute;right:0;top:0;border-radius:6px;box-shadow:0 0 0 2px #cea215}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-tags{display:flex;align-items:flex-start;flex-direction:row;gap:8px;overflow-x:auto}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-label{display:block;max-width:min-content;padding:4px 8px;margin-bottom:8px;font-size:12px;font-weight:700;border-radius:4px;background:#4e5965;text-wrap:balance;flex:0 1 auto}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-content{display:flex;flex-direction:row;gap:8px;align-items:center}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution{align-items:center;display:flex}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution .tox-revisionhistory__avatar{position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution .tox-revisionhistory__avatar+.tox-revisionhistory__card-ai-icon{margin-left:-4px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-info{display:flex;flex-direction:column;flex:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-date-label{font-size:14px;font-weight:700;line-height:18px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-author-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:400}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__avatar{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-ai-icon{display:flex;height:36px;width:36px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__norevision{color:rgba(255,255,255,.5);font-size:16px;line-height:24px;padding:5px 5.5px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-check-icon{color:#fff;height:24px}.tox .tox-card{background-color:#222f3e;border-radius:6px;display:flex;flex-direction:column;gap:12px;padding:10px;cursor:pointer;transition:box-shadow .15s ease-in-out,border .15s ease-in-out;border:2px solid transparent}.tox .tox-card:hover{box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-card--selected{border-color:#006ce7}.tox .tox-card:focus-visible{outline:2px solid #fff;border-color:transparent}.tox .tox-card--has-decision{background-color:#17202a}.tox .tox-card--has-decision:not(.tox-card--selected){border-width:1px;border-color:rgba(255,255,255,.5);padding:11px}.tox .tox-card--has-decision .tox-card__header{font-size:12px}.tox .tox-card--has-decision .tox-card__body{color:rgba(255,255,255,.5)}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline{border-color:#0c1116}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:focus:not(:disabled),.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:hover:not(:disabled){background-color:#0c1116;border-color:#010203}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:active:not(:disabled){background-color:#010203;border-color:#010203}.tox .tox-card__header{padding-bottom:0;color:#fff;font-size:16px;font-weight:700;text-transform:uppercase;display:flex;flex-direction:column;gap:12px}.tox .tox-card__header-label{font-size:12px;font-weight:700;text-transform:uppercase;color:#fff}.tox .tox-card__header-content{flex:1;min-width:0;font-weight:400;text-transform:none}.tox .tox-card__header-actions{display:flex;align-items:center;gap:4px;flex-shrink:0;opacity:1;pointer-events:auto;transition:opacity .15s ease-in-out}.tox .tox-card__header-actions--hover-visible,.tox .tox-card__header-actions--on-focus{opacity:0;pointer-events:none}.tox .tox-card__header-actions--always-visible{opacity:1;pointer-events:auto}.tox .tox-card__header:has(.tox-card__header-actions),.tox .tox-card__header:has(.tox-card__header-content){flex-direction:row;align-items:center}.tox .tox-card__header:has(.tox-card__header-content){justify-content:space-between}.tox .tox-card__header:has(.tox-card__header-actions):not(:has(.tox-card__header-content)){justify-content:flex-end}.tox .tox-card:focus-within .tox-card__header-actions--hover-visible,.tox .tox-card:focus-within .tox-card__header-actions--on-focus,.tox .tox-card:hover .tox-card__header-actions--hover-visible{opacity:1;pointer-events:auto}.tox .tox-card__body{color:#fff;font-size:14px}.tox .tox-card__body .tox-expandable-box{background:0 0;border:none;gap:12px}.tox .tox-card__body .tox-expandable-box .tox-expandable-box__content,.tox .tox-card__body .tox-expandable-box>.tox-button{margin:0}.tox .tox-card__highlight{padding:4px 6px;border-bottom:2px solid #006ce7}.tox .tox-card__highlight--added{background-color:#334840}.tox .tox-card__highlight--deleted{background-color:#442632}.tox .tox-card__highlight--modified{background-color:#1b3b60}.tox .tox-card__actions{display:flex;gap:8px}.tox .tox-card__actions--space-between{justify-content:space-between}.tox .tox-card__actions--flex-start{justify-content:flex-start}.tox .tox-card__actions .tox-button,.tox .tox-card__actions .tox-button--icon,.tox .tox-card__actions .tox-button:has(.tox-icon:only-child){padding:4px 16px}.tox .tox-card__divider{margin:12px 0;border:none;border-top:1px solid #161f29}.tox .tox-card__expansion{display:flex;flex-direction:column;gap:12px;width:100%}.tox .tox-card__expansion:has(> .tox-card__expansion-content--collapsed:only-child){margin-block-start:-12px}.tox .tox-card__expansion-content{display:grid;font-size:14px;grid-template-rows:0fr;transition:grid-template-rows .2s ease-in-out}.tox .tox-card__expansion-content--expanded{grid-template-rows:1fr}.tox .tox-card__expansion-content--expanded>.tox-card__expansion-content-inner{min-height:auto;overflow:visible}.tox .tox-card__expansion-content--collapsed{grid-template-rows:0fr}.tox .tox-card__expansion-content-inner{min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:12px}.tox .tox-card.tox-skeleton{cursor:default;pointer-events:none;box-shadow:none}.tox .tox-card.tox-skeleton:hover{box-shadow:none}.tox .tox-card.tox-skeleton .tox-skeleton__line{border-radius:6px;margin:0}.tox .tox-card.tox-skeleton .tox-card__body{display:flex;flex-direction:column;gap:4px}.tox .tox-card-list{display:flex;flex-direction:column;gap:12px}.tox .tox-card-list:has(.tox-card-group){gap:0}.tox .tox-card-list:focus{outline:0}.tox .tox-card-group{background-color:#17202a;display:flex;flex-direction:column}.tox .tox-card-group .tox-card{scroll-margin-top:53px}.tox .tox-card-group__title{align-items:center;background-color:#222f3e;border-bottom:1px solid #161f29;color:#fff;display:flex;font-size:14px;font-weight:700;gap:8px;line-height:16px;overflow:hidden;padding:12px;position:sticky;top:0;z-index:1}.tox .tox-card-group__title-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-card-group__status{color:rgba(255,255,255,.5);flex:0 0 auto;font-size:12px;font-weight:400;margin-inline-start:auto}.tox .tox-card-group__content{display:flex;flex-direction:column;gap:12px;padding-block:12px}.tox .tox-profile{align-items:center;display:flex;gap:8px}.tox .tox-profile__image{align-items:center;display:flex;flex-shrink:0}.tox .tox-profile__badge{display:flex;flex-shrink:0;height:36px;margin-inline-start:-4px;width:36px}.tox .tox-profile__badge svg{display:block;height:100%;width:100%}.tox .tox-user-avatar{width:36px;height:36px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center}.tox .tox-user-avatar img{width:100%;height:100%;object-fit:cover}.tox .tox-profile__body{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;flex:1}.tox .tox-profile__heading{color:#fff;font-size:14px;font-weight:700;line-height:18px;text-transform:none}.tox .tox-profile__subheading{color:#fff;font-size:12px;font-weight:400;line-height:16px;padding-block:4px;text-transform:none}.tox .tox-profile__subheading .tox-icon svg{fill:rgba(255,255,255,0.5);margin-block:-4px;vertical-align:top}.tox [data-mce-name=suggestededits] .tox-icon .tox-icon--badge{fill:#006ce7}.tox .tox-view .tox-suggestededits__pane{padding:0}.tox .tox-suggestededits__sink{position:relative;z-index:1000}.tox .tox-suggestededits__sink .tox-tiered-menu .tox-collection--list{position:absolute}.tox .tox-suggestededits__container{height:100%;display:flex;flex-direction:column}.tox .tox-suggestededits__container .tox-suggestededits{background-color:#222f3e;display:flex;flex:1;height:inherit;overflow-x:auto;overflow-y:hidden;position:relative}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__content{flex:1}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__model{height:100%;position:relative}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__model .tox-suggestededits__iframe{height:100%;width:100%;overflow:scroll;background-color:#fff}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar{background-color:#34485f;border-left:1px solid rgba(255,255,255,.15);display:flex;flex-direction:column;flex:0 1 auto;min-width:248px;width:441px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__announcer{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;margin:-1px;padding:0;border:0}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar{padding:4px 12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar:not(:empty){padding:12px 12px 6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button:has(.tox-icon:only-child){gap:0;padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-md,16px)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button:has(.tox-icon:only-child) .tox-icon{align-items:center;display:flex;flex:0 0 auto;height:24px;justify-content:center;width:24px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline{border-color:#486383}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:focus:not(:disabled),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:hover:not(:disabled){background-color:rgba(255,255,255,.12);border-color:rgba(255,255,255,.12)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline.tox-button--enabled:not(:disabled),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:active:not(:disabled){background-color:rgba(255,255,255,.18);border-color:rgba(255,255,255,.18);color:#fff}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline[disabled]{border-color:#486383}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content{display:flex;flex:1;flex-direction:column;gap:12px;overflow:auto;padding:6px 12px 12px 12px;position:relative;scroll-padding-block:6px 12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-card--selected:has(textarea:focus){border-color:transparent}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__divider,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--divider{background-color:#34485f;height:1px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--editor,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--single{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;gap:12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--editor{padding:6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header{display:flex;flex:auto;justify-content:space-between;align-items:center;gap:8px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__card--timestamp,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__card--timestamp{color:#fff}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__card--timestamp .tox-icon svg,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__card--timestamp .tox-icon svg{fill:rgba(255,255,255,0.5)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution{align-items:center;border:0;border-radius:20px;color:rgba(255,255,255,.5);height:20px;width:20px;display:flex;flex:0 0 auto;justify-content:center;text-align:center}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button{padding:var(--tox-private-button-padding-y,4px) var(--tox-private-button-padding-x,16px)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button .tox-suggestededits__resolution--label{display:none}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:not(:hover):not(:focus-visible),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:not(:hover):not(:focus-visible){border-color:transparent}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution{display:none}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution--label{display:inline}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content{display:flex;flex-direction:column;align-self:stretch;flex:auto;gap:6px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations{display:flex;gap:8px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-details,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-details{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-text,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-text{color:#fff;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:18px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-content-text,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-content-text{font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:20px;overflow-wrap:break-word}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-content-text-joiner,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-content-text-joiner{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__card--feedback,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__card--feedback{color:#fff;overflow-wrap:anywhere;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__actions,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--buttons{display:flex;align-items:center;gap:8px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__actions.tox-suggestededits__card--feedback-buttons,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--buttons.tox-suggestededits__card--feedback-buttons{justify-content:flex-end}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-suggestededits__card--active .tox-suggestededits__card--single{border-radius:6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-suggestededits__card--active .tox-suggestededits__card--single:focus-visible{outline:2px solid #006ce7}.tox .tox-dialog-loading::before{background-color:rgba(0,0,0,.5);content:"";height:100%;position:absolute;width:100%;z-index:1000}.tox .tox-tab{cursor:pointer}.tox .tox-dialog__content-js{display:flex;flex:1}.tox .tox-dialog__body-content .tox-collection{display:flex;flex:1}.tox.tox-tinymce-aux .tox-toolbar__overflow{box-shadow:0 0 0 1px rgba(255,255,255,.15)} +.tox{box-shadow:none;box-sizing:content-box;cursor:auto;font-style:normal;font-weight:400;line-height:normal;-webkit-tap-highlight-color:transparent;-webkit-text-decoration:none;text-decoration:none;text-shadow:none;text-transform:none;vertical-align:initial;white-space:normal}.tox :not(svg):not(rect){box-sizing:inherit;color:inherit;cursor:inherit;direction:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;-webkit-tap-highlight-color:inherit;text-align:inherit;text-decoration:inherit;text-shadow:inherit;text-transform:inherit;vertical-align:inherit;white-space:inherit}.tox :not(svg):not(rect){background:0 0;border:0;box-shadow:none;float:none;height:auto;margin:0;max-width:none;outline:0;padding:0;position:static;width:auto}.tox:not([dir=rtl]){direction:ltr;text-align:left}.tox[dir=rtl]{direction:rtl;text-align:right}.tox-tinymce :focus,.tox-tinymce-aux :focus{outline:0}button::-moz-focus-inner{border:0}@keyframes tox-rotation{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes tox-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox{color:var(--tox-private-color-black,#222f3e);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-font-size-base, 16px)}.tox-tinymce{border:2px solid #161f29;border-radius:10px;box-shadow:none;box-sizing:border-box;display:flex;flex-direction:column;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);overflow:hidden;position:relative;visibility:inherit!important}.tox.tox-tinymce-inline{border:none;box-shadow:none;overflow:initial}.tox.tox-tinymce-inline .tox-editor-container{overflow:initial}.tox.tox-tinymce-inline .tox-editor-header{background-color:#222f3e;border:2px solid #161f29;border-radius:10px;box-shadow:none;overflow:hidden}.tox-tinymce-aux{font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);z-index:var(--tox-private-z-index-sink,1300)}.tox[dir=rtl] .tox-icon--flip svg{transform:rotateY(180deg)}.tox .tox-editor-container{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.tox .tox-editor-container--keep-toolbar{flex:0 0 auto;overflow:visible}.tox .tox-editor-header{display:grid;grid-template-columns:1fr min-content;z-index:2}.tox:not(.tox-tinymce-inline) .tox-editor-header{background-color:#222f3e;border-bottom:1px solid rgba(255,255,255,.15);box-shadow:none;padding:4px 0}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(.tox-editor-dock-transition){transition:box-shadow .5s}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header{border-top:1px solid rgba(255,255,255,.15);box-shadow:none}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header{background-color:#222f3e;box-shadow:none;padding:4px 0}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header{box-shadow:none}.tox.tox:not(.tox-tinymce-inline) .tox-editor-header.tox-editor-header--empty{background:0 0;border:none;box-shadow:none;padding:0}.tox-editor-dock-fadeout{opacity:0;visibility:hidden}.tox-editor-dock-fadein{opacity:1;visibility:visible}.tox-editor-dock-transition{transition:visibility 0s linear .25s,opacity .25s ease}.tox-editor-dock-transition.tox-editor-dock-fadein{transition-delay:0s}.tox .accessibility-issue__header{align-items:center;display:flex;margin-bottom:4px}.tox #accessibility-issue__subheader{font-size:16px;color:#fff}.tox .accessbility-sr-only{position:absolute;clip:rect(1px,1px,1px,1px);clip-path:inset(0 0 99.9% 99.9%);overflow:hidden;height:1px;width:1px;padding:0;border:0}.tox .accessibility-issue__description{align-items:stretch;border-radius:6px;justify-content:space-between}.tox .accessibility-issue__description>div{padding-bottom:4px}.tox .accessibility-issue__description>div>div{align-items:center;display:flex;margin-bottom:4px}.tox .accessibility-issue__description>div>div .tox-icon svg{display:block}.tox #accessibility-issue__contentID{margin-top:8px;margin-bottom:8px}.tox #accessibility-issue__contentID span:first-child{font-weight:700}.tox #accessibility-issue__document{padding-bottom:8px}.tox .accessibility-issue__repair{margin-top:8px}.tox .accessibility-issue__repair .tox-form__group .tox-form__group--error{color:#eb9999}.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description{background-color:#1f354f;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2{font-size:14px;color:#99c4f5}.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon.accessibility-issue__icon svg{fill:#99c4f5}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon{background-color:#006ce7;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:hover{background-color:#0060ce}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:active{background-color:#0054b4}.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description{background-color:#383f38;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2{font-size:14px;color:#ffeb99}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon.accessibility-issue__icon svg{fill:#ffeb99}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon{background-color:#ffe89d;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:hover{background-color:#f2d574;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:active{background-color:#e8c657;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description{background-color:#332a38;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2{font-size:14px;color:#eb9999}.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon.accessibility-issue__icon svg{fill:#eb9999}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon{background-color:#f2bfbf;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:hover{background-color:#e9a4a4;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:active{background-color:#ee9494;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description{background-color:rgba(120,171,70,.5);color:#fff}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description>:last-child{display:none}.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2{color:#fff}.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon.accessibility-issue__icon svg{fill:#fff}.tox .tox-dialog__body-content .accessibility-issue__header .tox-form__group h1,.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2{margin-top:0}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-left:4px}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-left:auto}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description{padding:8px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-right:4px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-right:auto}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description{padding:4px 8px 4px 4px}.tox .mce-codemirror{background:#fff;bottom:0;font-size:13px;left:0;position:absolute;right:0;top:0;z-index:1}.tox .mce-codemirror.tox-inline-codemirror{margin:8px;position:absolute}.tox .tox-advtemplate .tox-form__grid{flex:1}.tox .tox-advtemplate .tox-form__grid>div:first-child{display:flex;flex-direction:column;width:30%}.tox .tox-advtemplate .tox-form__grid>div:first-child>div:nth-child(2){flex-basis:0;flex-grow:1;overflow:auto}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-advtemplate .tox-form__grid>div:first-child{width:100%}}.tox .tox-advtemplate iframe{border-color:#161f29;border-radius:10px;border-style:solid;border-width:1px;margin:0 10px}.tox .tox-accordion{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__item{background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color,#fff);border-radius:var(--tox-private-control-border-radius,6px);position:relative}.tox .tox-accordion__item.tox-accordion__item--expanded{background-color:var(--tox-private-background-secondary,#2f4055)}.tox .tox-accordion__item.tox-accordion__item--expanded .tox-accordion__content--expanded .tox-accordion__content-inner{padding-top:0}.tox .tox-accordion__item::after{border-radius:var(--tox-private-control-border-radius,6px);box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,2px) var(--tox-private-keyboard-focus-outline-color,#fff);content:'';inset:0;opacity:0;pointer-events:none;position:absolute}@media (forced-colors:active){.tox .tox-accordion__item::after{border:2px solid highlight}}.tox .tox-accordion__item:focus{outline:0;z-index:1}.tox .tox-accordion__item:focus::after{opacity:1}.tox .tox-accordion__heading{margin:0;width:100%}.tox .tox-accordion__heading:focus{outline:0}.tox .tox-accordion__header{align-items:center;border:none;border-radius:var(--tox-private-control-border-radius,6px);box-sizing:border-box;color:var(--tox-private-text-color,#fff);cursor:pointer;display:flex;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:var(--tox-private-line-height-base, 1.3);outline:0;padding:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));text-align:left;width:100%}.tox .tox-accordion__header::after{border-radius:var(--tox-private-control-border-radius,6px);bottom:0;box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,2px) var(--tox-private-keyboard-focus-outline-color,#fff);content:'';left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-accordion__header::after{border:2px solid highlight}}.tox .tox-accordion__header:hover:not(.tox-accordion__header--disabled){background-color:var(--tox-private-background-secondary,#2f4055)}.tox .tox-accordion__header:focus:not(.tox-accordion__header--disabled){position:relative;z-index:1}.tox .tox-accordion__header:focus:not(.tox-accordion__header--disabled)::after{opacity:1}.tox .tox-accordion__header.tox-accordion__header--disabled{cursor:not-allowed;opacity:.5}.tox .tox-accordion__header.tox-accordion__header--icon-end{padding-right:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__header-icon{align-items:center;color:var(--tox-private-text-color,#fff);display:flex;flex-shrink:0;height:calc(var(--tox-private-base-value,16px) * 1.5);justify-content:center;width:calc(var(--tox-private-base-value,16px) * 1.5)}.tox .tox-accordion__header-icon svg{display:block;fill:currentColor;height:100%;width:100%;max-height:calc(var(--tox-private-base-value,16px) * 1.5);max-width:calc(var(--tox-private-base-value,16px) * 1.5)}.tox .tox-accordion__header:not(.tox-accordion__header--icon-end) .tox-accordion__header-icon{margin-right:var(--tox-private-pad-sm,8px);margin-left:0}.tox .tox-accordion__header--icon-end .tox-accordion__header-icon{margin-left:auto}.tox .tox-accordion__header-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-accordion__header--icon-end .tox-accordion__header-text{flex:0 1 auto;margin-right:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__content{border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-accordion__content.tox-accordion__content--collapsed{display:none}.tox .tox-accordion__content.tox-accordion__content--expanded{display:block}.tox .tox-accordion__content-inner{padding:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px)) calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__content-inner .tox-form__group:last-child{margin-bottom:0}.tox .tox-accordion__content-inner .tox-form__group>:not(:first-child){margin-top:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__content-inner .tox-form__group>.tox-dropdown-content{margin-top:0}.tox .tox-accordion__content-inner .tox-button-group{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__content-inner .tox-accordion__model-button{border-radius:var(--tox-private-control-border-radius,6px);align-items:center;appearance:none;background:0 0;border:none;color:inherit;cursor:pointer;display:flex;font-family:inherit;font-size:inherit;gap:var(--tox-private-pad-xs,4px);margin:0;outline:0;padding:6px calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));position:relative}.tox .tox-accordion__content-inner .tox-accordion__model-button::after{border-radius:var(--tox-private-control-border-radius,6px);bottom:0;box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,2px) var(--tox-private-keyboard-focus-outline-color,#fff);content:'';left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-accordion__content-inner .tox-accordion__model-button::after{border:2px solid highlight}}.tox .tox-accordion__content-inner .tox-accordion__model-button:focus{z-index:1}.tox .tox-accordion__content-inner .tox-accordion__model-button:focus::after{opacity:1}.tox .tox-accordion .tox-selectfield{align-items:center;background-color:var(--tox-private-background-color,#222f3e);border:1px solid var(--tox-private-border-color,#161f29);border-radius:var(--tox-private-control-border-radius,6px);box-sizing:border-box;display:flex;height:34px;padding:0 6px;position:relative;width:100%}.tox .tox-accordion .tox-selectfield:focus-within{box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,2px) var(--tox-private-keyboard-focus-outline-color,#fff);z-index:1}@media (forced-colors:active){.tox .tox-accordion .tox-selectfield:focus-within{border-color:highlight;box-shadow:0 0 0 2px highlight}}.tox .tox-accordion .tox-selectfield button{appearance:none;background:0 0;border:none;color:inherit;cursor:pointer;flex:1;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;outline:0;padding:5px 0;text-align:left}.tox .tox-accordion .tox-selectfield .tox-icon{display:flex;flex-shrink:0;padding:9px 0;pointer-events:none}.tox .tox-accordion .tox-selectfield .tox-icon svg{height:var(--tox-private-base-value,16px);width:var(--tox-private-base-value,16px)}.tox[dir=rtl] .tox-accordion__header{text-align:right}.tox[dir=rtl] .tox-accordion__header:not(.tox-accordion__header--icon-end) .tox-accordion__header-icon{margin-left:var(--tox-private-pad-sm,8px);margin-right:0}.tox[dir=rtl] .tox-accordion__header--icon-end .tox-accordion__header-icon{margin-right:auto;margin-left:0}.tox[dir=rtl] .tox-accordion__header--icon-end .tox-accordion__header-text{margin-left:var(--tox-private-pad-sm,8px);margin-right:0}.tox .tox-alert{align-items:flex-start;align-self:stretch;border-radius:var(--tox-private-panel-border-radius,6px);border-style:solid;border-width:1px;box-sizing:border-box;color:var(--tox-private-text-color,#fff);display:flex;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-normal,normal);gap:var(--tox-private-pad-xs,4px);line-height:var(--tox-private-line-height-base, 1.3);padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-sm,8px);width:100%}.tox .tox-alert--error{background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#222f3e) r g b / .8) 0,rgba(from var(--tox-private-background-color,#222f3e) r g b / .8) 100%),var(--tox-private-color-error,#c00);border-color:var(--tox-private-color-error,#c00)}.tox .tox-alert--warning{background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#222f3e) r g b / .8) 0,rgba(from var(--tox-private-background-color,#222f3e) r g b / .8) 100%),var(--tox-private-color-warning,#fc0);border-color:var(--tox-private-color-warning,#fc0)}.tox .tox-alert__body{display:flex;flex:1 0 0;flex-direction:column;min-width:0}.tox .tox-alert__content{align-items:center;display:flex;flex:1 0 0;gap:var(--tox-private-pad-sm,8px);padding:var(--tox-private-pad-sm,8px) 0}.tox .tox-alert__message{margin:0;text-align:left}.tox .tox-alert__actions{align-items:center;display:flex;flex-wrap:wrap;gap:var(--tox-private-pad-xs,4px);justify-content:flex-start}.tox .tox-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bottom-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bar{display:flex;flex:0 0 auto}.tox .tox-button{border-width:var(--tox-private-button-border-width,1px);border-style:var(--tox-private-button-border-style,solid);border-radius:var(--tox-private-control-border-radius,6px);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-button-font-size, 14px);font-style:var(--tox-private-button-font-style,normal);font-weight:var(--tox-private-button-font-weight,bold);line-height:var(--tox-private-control-line-height, 24px);padding:var(--tox-private-button-padding-y,4px) var(--tox-private-button-padding-x,16px);text-align:center;-webkit-text-decoration:none;text-decoration:none;text-transform:none;letter-spacing:normal;box-shadow:none;box-sizing:border-box;cursor:pointer;outline:0;position:relative;white-space:nowrap;display:inline-flex;justify-content:center;align-items:center;gap:var(--tox-private-pad-xs,4px)}.tox .tox-button::before{border-radius:var(--tox-private-control-border-radius,6px);bottom:calc(-1 * var(--tox-private-button-border-width,1px));box-shadow:var(--tox-private-button-focus-outline,inset 0 0 0 1px #fff,0 0 0 2px #006ce7);content:'';left:calc(-1 * var(--tox-private-button-border-width,1px));opacity:0;pointer-events:none;position:absolute;right:calc(-1 * var(--tox-private-button-border-width,1px));top:calc(-1 * var(--tox-private-button-border-width,1px))}.tox .tox-button:focus:not(:disabled){background-color:var(--tox-private-button-focus-background-color,#0060ce);background-image:none;border-color:var(--tox-private-button-focus-border-color,#0060ce);box-shadow:var(--tox-private-button-focus-box-shadow,none);color:var(--tox-private-button-focus-text-color,#fff)}.tox .tox-button:focus:not(:disabled)::before{opacity:1}.tox .tox-button.tox-button--icon,.tox .tox-button:has(.tox-icon:only-child){padding:4px}.tox .tox-button .tox-icon svg{display:block;fill:currentColor}.tox .tox-button .tox-icon.tox-icon--success svg{fill:var(--tox-private-color-success,#78AB46)}.tox .tox-button .tox-icon.tox-icon--error svg{fill:var(--tox-private-color-error,#c00)}.tox .tox-button--stretch{width:100%}.tox-context-form__group .tox-button--icon,.tox-context-form__group .tox-button.tox-button--icon{margin:6px 1px 5px 0;padding:0}.tox .tox-button{background-color:var(--tox-private-button-primary-background-color,#006ce7);background-image:none;background-position:0 0;background-repeat:repeat;color:var(--tox-private-button-primary-text-color,#fff);border-color:var(--tox-private-button-primary-border-color,#006ce7)}.tox .tox-button[disabled]{background-color:var(--tox-private-button-primary-disabled-background-color,#006ce7);background-image:none;border-color:var(--tox-private-button-primary-disabled-border-color,#006ce7);color:var(--tox-private-button-primary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button:focus:not(:disabled){background-color:var(--tox-private-button-primary-focus-background-color,#0060ce);border-color:var(--tox-private-button-primary-focus-border-color,#0060ce);color:var(--tox-private-button-primary-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button:hover:not(:disabled){background-color:var(--tox-private-button-primary-hover-background-color,#0060ce);border-color:var(--tox-private-button-primary-hover-border-color,#0060ce);color:var(--tox-private-button-primary-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button:active:not(:disabled){background-color:var(--tox-private-button-primary-active-background-color,#0054b4);border-color:var(--tox-private-button-primary-active-border-color,#0054b4);color:var(--tox-private-button-primary-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled{background-color:var(--tox-private-button-primary-enabled-background-color,#0054b4);border-color:var(--tox-private-button-primary-enabled-border-color,#0054b4);color:var(--tox-private-button-primary-enabled-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled[disabled]{color:var(--tox-private-button-primary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-primary-enabled-focus-background-color,#00489b);border-color:var(--tox-private-button-primary-enabled-focus-border-color,#00489b);color:var(--tox-private-button-primary-enabled-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-primary-enabled-hover-background-color,#00489b);border-color:var(--tox-private-button-primary-enabled-hover-border-color,#00489b);color:var(--tox-private-button-primary-enabled-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-primary-enabled-active-background-color,#003c81);border-color:var(--tox-private-button-primary-enabled-active-border-color,#003c81);color:var(--tox-private-button-primary-enabled-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary{background-color:var(--tox-private-button-secondary-background-color,#3d546f);border-color:var(--tox-private-button-secondary-border-color,#3d546f);color:var(--tox-private-button-secondary-text-color,#fff);border-style:solid;border-width:1px;background-image:none;background-position:0 0;background-repeat:repeat;border-radius:6px;box-shadow:none;font-size:14px;font-style:normal;font-weight:700;letter-spacing:normal;outline:0;padding:4px 16px;-webkit-text-decoration:none;text-decoration:none;text-transform:none}.tox .tox-button--secondary[disabled]{background-color:var(--tox-private-button-secondary-disabled-background-color,#3d546f);background-image:none;border-color:var(--tox-private-button-secondary-disabled-border-color,#3d546f);color:var(--tox-private-button-secondary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button--secondary:focus:not(:disabled){background-color:var(--tox-private-button-secondary-focus-background-color,#34485f);border-color:var(--tox-private-button-secondary-focus-border-color,#34485f);color:var(--tox-private-button-secondary-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary:hover:not(:disabled){background-color:var(--tox-private-button-secondary-hover-background-color,#34485f);border-color:var(--tox-private-button-secondary-hover-border-color,#34485f);color:var(--tox-private-button-secondary-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary:active:not(:disabled){background-color:var(--tox-private-button-secondary-active-background-color,#2b3b4e);border-color:var(--tox-private-button-secondary-active-border-color,#2b3b4e);color:var(--tox-private-button-secondary-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled{background-color:var(--tox-private-button-secondary-enabled-background-color,#599fef);border-color:var(--tox-private-button-secondary-enabled-border-color,#599fef);color:var(--tox-private-button-secondary-enabled-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled[disabled]{color:var(--tox-private-button-secondary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button--secondary.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-focus-background-color,#4292ed);border-color:var(--tox-private-button-secondary-enabled-focus-border-color,#4292ed);color:var(--tox-private-button-secondary-enabled-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-hover-background-color,#4292ed);border-color:var(--tox-private-button-secondary-enabled-hover-border-color,#4292ed);color:var(--tox-private-button-secondary-enabled-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-active-background-color,#2b85eb);border-color:var(--tox-private-button-secondary-enabled-active-border-color,#2b85eb);color:var(--tox-private-button-secondary-enabled-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--naked{background-color:transparent;border-color:transparent;box-shadow:unset;color:var(--tox-private-button-naked-text-color,#fff)}.tox .tox-button--naked[disabled]{background-color:transparent;border-color:transparent;color:var(--tox-private-button-naked-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button--naked:focus:not(:disabled){background-color:var(--tox-private-button-naked-focus-background-color,rgba(255,255,255,.2));border-color:var(--tox-private-button-naked-focus-border-color,transparent);color:var(--tox-private-button-naked-focus-text-color,#fff);box-shadow:unset}.tox .tox-button--naked:hover:not(:disabled){background-color:var(--tox-private-button-naked-hover-background-color,rgba(255,255,255,.2));border-color:var(--tox-private-button-naked-hover-background-color,transparent);color:var(--tox-private-button-naked-hover-text-color,#fff);box-shadow:unset}.tox .tox-button--naked:active:not(:disabled){background-color:var(--tox-private-button-naked-active-background-color,rgba(255,255,255,.3));border-color:var(--tox-private-button-naked-active-border-color,transparent);color:var(--tox-private-button-naked-active-text-color,#fff);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled{background-color:var(--tox-private-button-naked-enabled-background-color,#2b5c93);border-color:var(--tox-private-button-naked-enabled-border-color,#2b5c93);color:var(--tox-private-button-naked-enabled-text-color,#fff);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled[disabled]{color:var(--tox-private-button-naked-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button--naked.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-naked-enabled-focus-background-color,#254f80);border-color:var(--tox-private-button-naked-enabled-focus-border-color,#254f80);color:var(--tox-private-button-naked-enabled-focus-text-color,#fff);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-naked-enabled-hover-background-color,#254f80);border-color:var(--tox-private-button-naked-enabled-hover-border-color,#254f80);color:var(--tox-private-button-naked-enabled-hover-text-color,#fff);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-naked-enabled-active-background-color,#1f436c);border-color:var(--tox-private-button-naked-enabled-active-border-color,#1f436c);color:var(--tox-private-button-naked-enabled-active-text-color,#fff);box-shadow:unset}.tox .tox-button--secondary--outline{background-color:transparent;border-color:var(--tox-private-button-secondary-outline-border-color,#3d546f);color:var(--tox-private-button-secondary-outline-text-color,#fff)}.tox .tox-button--secondary--outline:focus:not(:disabled){background-color:var(--tox-private-button-secondary-outline-focus-background-color,#34485f);border-color:var(--tox-private-button-secondary-outline-focus-border-color,#34485f);color:var(--tox-private-button-secondary-outline-focus-text-color,#fff)}.tox .tox-button--secondary--outline:hover:not(:disabled){background-color:var(--tox-private-button-secondary-outline-hover-background-color,#3d546f);border-color:var(--tox-private-button-secondary-outline-hover-border-color,#34485f);color:var(--tox-private-button-secondary-outline-hover-text-color,#fff)}.tox .tox-button--secondary--outline:active:not(:disabled){background-color:var(--tox-private-button-secondary-outline-active-background-color,#34485f);border-color:var(--tox-private-button-secondary-outline-active-border-color,#34485f);color:var(--tox-private-button-secondary-outline-active-text-color,#fff)}.tox .tox-button--secondary--outline[disabled]{background-color:var(--tox-private-button-secondary-outline-disabled-background-color,transparent);border-color:var(--tox-private-button-secondary-outline-disabled-border-color,#3d546f);color:var(--tox-private-button-secondary-outline-disabled-text-color,rgba(255,255,255,.5))}.tox .tox-checkbox{align-items:center;border-radius:var(--tox-private-checkbox-border-radius,6px);cursor:pointer;display:flex;height:var(--tox-private-control-height,36px);min-width:var(--tox-private-control-height,36px)}.tox .tox-checkbox__input{height:1px;overflow:hidden;position:absolute;top:auto;width:1px}.tox .tox-checkbox__icons{display:flex;align-items:center;justify-content:center;box-sizing:content-box;padding:var(--tox-private-pad-xs,calc(4px - 1px));border-radius:var(--tox-private-checkbox-border-radius,6px);box-shadow:0 0 0 2px transparent;height:var(--tox-private-control-line-height,24px);aspect-ratio:1/1}.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:block;fill:var(--tox-private-checkbox-unselected-color,rgba(255,255,255,0.2))}@media (forced-colors:active){.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:currentColor!important}}.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:none;fill:var(--tox-private-checkbox-indeterminate-color,#006ce7)}.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg{display:none;fill:var(--tox-private-checkbox-selected-color,#006ce7)}.tox .tox-checkbox--disabled{color:var(--tox-private-checkbox-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(255,255,255,0.5))}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(255,255,255,0.5))}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(255,255,255,0.5))}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__checked svg{display:block}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:block}.tox input.tox-checkbox__input:focus+.tox-checkbox__icons{box-shadow:var(--tox-private-checkbox-focus-box-shadow,inset 0 0 0 1px #006ce7)}.tox:not([dir=rtl]) .tox-checkbox__label{margin-left:var(--tox-private-pad-xs,4px)}.tox:not([dir=rtl]) .tox-checkbox__input{left:-10000px}.tox:not([dir=rtl]) .tox-bar .tox-checkbox{margin-left:var(--tox-private-pad-xs,4px)}.tox[dir=rtl] .tox-checkbox__label{margin-right:var(--tox-private-pad-xs,4px)}.tox[dir=rtl] .tox-checkbox__input{right:-10000px}.tox[dir=rtl] .tox-bar .tox-checkbox{margin-right:var(--tox-private-pad-xs,4px)}.tox .tox-collection--toolbar .tox-collection__group{display:flex;padding:0}.tox .tox-collection--grid .tox-collection__group{display:flex;flex-wrap:wrap;max-height:208px;overflow-x:hidden;overflow-y:auto;padding:0}.tox .tox-collection--list .tox-collection__group{border-bottom-width:0;border-color:rgba(255,255,255,.15);border-left-width:0;border-right-width:0;border-style:solid;border-top-width:1px;padding:4px 0;display:flex;flex-direction:column}.tox .tox-collection--list .tox-collection__group:first-child{border-top-width:0}.tox .tox-collection__group-heading{background-color:rgba(255,255,255,.15);color:rgba(255,255,255,.5);cursor:default;font-size:12px;font-style:normal;font-weight:400;margin-bottom:4px;margin-top:-4px;padding:4px 8px;text-transform:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-collection__item{align-items:center;border-radius:3px;color:#fff;display:flex;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-image-selector-menu .tox-collection__item,.tox .tox-image-selector-menu .tox-collection__item-image-selector{flex-direction:column}.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-checkmark,.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-icon,.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-image,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-checkmark,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-icon,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-image{flex-grow:1}.tox .tox-image-selector-menu .tox-collection__item label,.tox .tox-image-selector-menu .tox-collection__item-image-selector label{width:48px;white-space:nowrap;overflow:hidden;font-size:12px;color:#fff;text-align:center;align-self:flex-end}.tox .tox-image-selector-menu .tox-collection__item-checkmark{height:24px;width:24px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.tox .tox-image-selector-menu .tox-collection__item-checkmark svg path{fill:#006ce7;stroke:#006ce7}.tox .tox-image-selector-menu .tox-image-selector__row .tox-collection__item-image-selector.tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#222f3e}.tox .tox-image-selector-menu .tox-image-selector__row .tox-collection__item-image-selector.tox-collection__item--enabled:not(.tox-collection__item--state-disabled){z-index:2;background-color:#222f3e;opacity:.8;background-clip:content-box}.tox .tox-collection--list .tox-collection__item{padding:4px 8px}.tox .tox-collection--toolbar .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--grid .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--list .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#2b3b4e;color:#fff}.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#006ce7;color:#fff}@media (forced-colors:active){.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){border:solid 1px}}.tox .tox-collection--grid .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#599fef;color:#fff}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#2f4055;color:#fff;position:relative;z-index:1}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff inset;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border:2px solid highlight}}.tox .tox-collection--toolbar .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#599fef;color:#fff}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){border-radius:3px;outline:solid 1px}}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled){color:#fff;background-color:#2b3b4e;position:relative}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):hover{background-color:#2f4055;color:#fff}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus{background-color:#2f4055;color:#fff}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border:2px solid highlight}}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):hover{border-radius:3px;outline:solid 1px}}.tox .tox-collection__item-image{border:1px solid #161f29;border-radius:6px;display:flex;flex-direction:column;justify-content:center;margin-bottom:4px;position:relative}.tox .tox-collection__item-checkmark,.tox .tox-collection__item-icon{align-items:center;display:flex;height:24px;justify-content:center;width:24px}.tox .tox-collection__item-checkmark svg,.tox .tox-collection__item-icon svg{fill:currentColor}.tox .tox-collection--toolbar-lg .tox-collection__item-icon{height:48px;width:48px}.tox .tox-collection__item-label{color:currentColor;display:inline-block;flex:1;font-size:14px;font-style:normal;font-weight:400;line-height:24px;max-width:100%;text-transform:none;word-break:break-all}.tox .tox-collection__item-separator{border-bottom:1px solid rgba(255,255,255,.15);height:0;margin:4px 0}.tox .tox-collection__item-accessory{color:currentColor;display:inline-block;font-size:14px;height:24px;line-height:24px;text-transform:none}.tox .tox-collection__item-caret{align-items:center;display:flex;min-height:24px}.tox .tox-collection__item-caret::after{content:'';font-size:0;min-height:inherit}.tox .tox-collection__item-caret svg{fill:currentColor}.tox .tox-collection__item--state-disabled{background-color:transparent;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg{fill:rgba(255,255,255,0.5)}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg{display:none}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-accessory+.tox-collection__item-checkmark{display:none}.tox .tox-collection--horizontal{background-color:#2b3b4e;border:1px solid rgba(255,255,255,.15);border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:nowrap;margin-bottom:0;overflow-x:auto;padding:0}.tox .tox-collection--horizontal .tox-collection__group{align-items:center;display:flex;flex-wrap:nowrap;margin:0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item{height:28px;margin:6px 1px 5px 0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item-label{white-space:nowrap}.tox .tox-collection--horizontal .tox-collection__item-caret{margin-left:4px}.tox .tox-collection__item-container{display:flex}.tox .tox-collection__item-container--row{align-items:center;flex:1 1 auto;flex-direction:row}.tox .tox-collection__item-container--row.tox-collection__item-container--align-left{margin-right:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--align-right{justify-content:flex-end;margin-left:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-top{align-items:flex-start;margin-bottom:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-middle{align-items:center}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-bottom{align-items:flex-end;margin-top:auto}.tox .tox-collection__item-container--column{align-self:center;flex:1 1 auto;flex-direction:column}.tox .tox-collection__item-container--column.tox-collection__item-container--align-left{align-items:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--align-right{align-items:flex-end}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-top{align-self:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-middle{align-self:center}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-bottom{align-self:flex-end}.tox:not([dir=rtl]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-right:1px solid transparent}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>:not(:first-child){margin-left:8px}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-left:4px}.tox:not([dir=rtl]) .tox-collection__item-accessory{margin-left:16px;text-align:right}.tox:not([dir=rtl]) .tox-collection .tox-collection__item-caret{margin-left:16px}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-left:1px solid transparent}.tox[dir=rtl] .tox-collection--list .tox-collection__item>:not(:first-child){margin-right:8px}.tox[dir=rtl] .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-right:4px}.tox[dir=rtl] .tox-collection__item-accessory{margin-right:16px;text-align:left}.tox[dir=rtl] .tox-collection .tox-collection__item-caret{margin-right:16px;transform:rotateY(180deg)}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__item-caret{margin-right:4px}@media (forced-colors:active){.tox .tox-hue-slider,.tox .tox-rgb-form .tox-rgba-preview{background-color:currentColor!important;border:1px solid highlight!important;forced-color-adjust:none}}.tox .tox-color-picker-container{display:flex;flex-direction:row;height:225px;margin:0}.tox .tox-sv-palette{box-sizing:border-box;display:flex;height:100%}.tox .tox-sv-palette-spectrum{height:100%}.tox .tox-sv-palette,.tox .tox-sv-palette-spectrum{width:225px}.tox .tox-sv-palette-thumb{background:0 0;border:1px solid #000;border-radius:50%;box-sizing:content-box;height:12px;position:absolute;width:12px}.tox .tox-sv-palette-inner-thumb{border:1px solid #fff;border-radius:50%;height:10px;position:absolute;width:10px}.tox .tox-hue-slider{box-sizing:border-box;height:100%;width:25px}.tox .tox-hue-slider-spectrum{background:linear-gradient(to bottom,red,#ff0080,#f0f,#8000ff,#00f,#0080ff,#0ff,#00ff80,#0f0,#80ff00,#ff0,#ff8000,red);height:100%;width:100%}.tox .tox-hue-slider,.tox .tox-hue-slider-spectrum{width:20px}.tox .tox-hue-slider-spectrum:focus,.tox .tox-sv-palette-spectrum:focus{outline:#08f solid}.tox .tox-hue-slider-thumb{background:#fff;border:1px solid #000;box-sizing:content-box;height:4px;width:100%}.tox .tox-rgb-form{display:flex;flex-direction:column;justify-content:space-between}.tox .tox-rgb-form div{align-items:center;display:flex;justify-content:space-between;margin-bottom:5px;width:inherit}.tox .tox-rgb-form input{min-width:6em}.tox .tox-rgb-form input.tox-invalid{border:1px solid red!important;box-shadow:0 0 0 1px red}.tox .tox-rgb-container{position:relative}.tox .tox-rgb-form .tox-invalid-icon{align-content:center;align-items:center;display:none;height:100%;position:absolute;right:0;top:0}.tox .tox-rgb-form .tox-invalid-icon .tox-control-wrap__status-icon-invalid{margin:0}.tox .tox-rgb-warning-note{background-color:#442632;border:1px solid #55212b;border-radius:3px;color:#e68080;padding:3px}.tox input.tox-invalid+.tox-invalid-icon{display:flex}.tox .tox-rgb-form .tox-rgba-preview{border:1px solid #000;flex-grow:2;margin-bottom:0}.tox:not([dir=rtl]) .tox-sv-palette{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider-thumb{margin-left:-1px}.tox:not([dir=rtl]) .tox-rgb-form label{margin-right:.5em}.tox[dir=rtl] .tox-sv-palette{margin-left:15px}.tox[dir=rtl] .tox-hue-slider{margin-left:15px}.tox[dir=rtl] .tox-hue-slider-thumb{margin-right:-1px}.tox[dir=rtl] .tox-rgb-form label{margin-left:.5em}.tox .tox-toolbar .tox-swatches,.tox .tox-toolbar__overflow .tox-swatches,.tox .tox-toolbar__primary .tox-swatches{margin:5px 0 6px 11px}.tox .tox-collection--list .tox-collection__group .tox-swatches-menu{border:0;margin:-4px -4px}.tox .tox-swatches__row{display:flex}@media (forced-colors:active){.tox .tox-swatches__row{forced-color-adjust:none}}.tox .tox-swatch{height:30px;transition:transform .15s,box-shadow .15s;width:30px}.tox .tox-swatch:focus,.tox .tox-swatch:hover{box-shadow:0 0 0 1px rgba(127,127,127,.3) inset;transform:scale(.8)}.tox .tox-swatch--remove{align-items:center;display:flex;justify-content:center}.tox .tox-swatch--remove svg path{stroke:#e74c3c}.tox .tox-swatches__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-swatches__picker-btn svg{fill:#fff;height:24px;width:24px}.tox .tox-swatches__picker-btn:hover{background:#2f4055}.tox div.tox-swatch:not(.tox-swatch--remove) svg{display:none;fill:#fff;height:24px;margin:calc((30px - 24px)/ 2) calc((30px - 24px)/ 2);width:24px}.tox div.tox-swatch:not(.tox-swatch--remove) svg path{fill:#fff;paint-order:stroke;stroke:#222f3e;stroke-width:2px}.tox div.tox-swatch:not(.tox-swatch--remove).tox-collection__item--enabled svg{display:block}.tox:not([dir=rtl]) .tox-swatches__picker-btn{margin-left:auto}.tox[dir=rtl] .tox-swatches__picker-btn{margin-right:auto}.tox .tox-comment{background:#222f3e;border:1px solid #222f3e;border-radius:6px;padding:8px;padding-bottom:16px;position:relative}.tox .tox-comment:hover{box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-comment.tox-comment--selected{background-color:#1b3b60;border:1px solid #006ce7;box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-comment.tox-comment--selected:focus{border:2px solid #fff;margin:-1px}.tox .tox-comment.tox-comment--selected:focus:not(:first-child){margin-top:7px}.tox .tox-comment.tox-comment--selected .tox-comment__single{margin-bottom:12px}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus{position:relative}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus::after{top:-9px;pointer-events:none;position:absolute;content:"";display:block;bottom:-9px;left:-9px;right:-9px;border-radius:6px;border:2px solid #fff}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus:last-of-type:has(textarea):after{bottom:calc((12px + 16px + 1px) * -1)}.tox .tox-comment__header{align-items:center;color:#fff;display:flex;justify-content:space-between}.tox .tox-comment__date{color:#fff;font-size:12px;line-height:18px}.tox .tox-comment__body{color:#fff;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;margin-top:8px;position:relative;text-transform:initial;transition:max-height .5s cubic-bezier(0, 1, 0, 1);white-space:pre-wrap}.tox .tox-comment__body.tox-comment__body--expanded{max-height:100em;transition:max-height 1s ease-in-out}.tox .tox-comment__body.tox-comment__body--pending{transition:max-height 0s}.tox .tox-comment__body p{margin:0}.tox .tox-comment__body textarea{resize:none;white-space:normal;width:100%;font-size:16px}.tox .tox-comment__loading-text{align-items:center;color:#fff;display:flex;flex-direction:column;position:relative}.tox .tox-comment__loading-text>div{padding-bottom:16px}.tox .tox-comment__overlaytext{bottom:0;flex-direction:column;font-size:14px;left:0;padding:1em;position:absolute;right:0;top:0;z-index:10}.tox .tox-comment__overlaytext p{background-color:#222f3e;box-shadow:0 0 8px 8px #222f3e;color:#fff;text-align:center}.tox .tox-comment__overlaytext div:nth-of-type(2){font-size:.8em}.tox .tox-comment__expander{padding-top:8px}.tox .tox-comment__expander p{color:rgba(255,255,255,.5);font-size:14px;font-style:normal}.tox .tox-comment__expander p:focus{font-weight:700}.tox .tox-comment__buttonspacing{padding-top:16px;text-align:center}.tox .tox-tbtn.tox-comment__mention-btn{display:flex;width:34px;height:34px;padding:5px;justify-content:center;align-items:center;margin:0;background-color:transparent}.tox .tox-comment-thread{background:#222f3e;position:relative;border-radius:6px;background-color:transparent}.tox .tox-comment-thread>:not(:first-child){margin-top:8px}.tox .tox-comment-thread__overlay::after{background:#222f3e;bottom:0;content:"";display:flex;left:0;opacity:.9;position:absolute;right:0;top:0;z-index:5}.tox .tox-comment__reply{display:flex;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__reply>:first-child{margin-bottom:8px;width:100%}.tox .tox-comment__edit{display:flex;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__gradient::after{background:linear-gradient(rgba(34,47,62,0),#222f3e);bottom:0;content:"";display:block;height:5em;margin-top:-40px;position:absolute;width:100%}.tox .tox-comment__overlay{background:#222f3e;bottom:0;display:flex;flex-direction:column;flex-grow:1;left:0;opacity:.9;position:absolute;right:0;text-align:center;top:0;z-index:5}.tox .tox-comment__busy-spinner{align-items:center;background-color:#222f3e;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:20}.tox .tox-comment__scroll{display:flex;flex-direction:column;flex-shrink:1;overflow:auto;padding:12px;scroll-behavior:smooth}.tox .tox-comment__scroll:has(textarea:focus){scroll-behavior:auto}.tox .tox-comment--disappearing{transition:opacity .5s ease}.tox .tox-comment[data-transitioning-destination=deleting]{opacity:0}.tox .tox-ring-loader{width:10px;height:10px;border:1px solid #fff;border-bottom-color:transparent;border-radius:50%;display:inline-block;box-sizing:border-box;animation:tox-rotation 1s linear infinite}.tox:not([dir=rtl]) .tox-comment__edit{margin-left:8px}.tox:not([dir=rtl]) .tox-comment__buttonspacing>:last-child,.tox:not([dir=rtl]) .tox-comment__edit>:last-child,.tox:not([dir=rtl]) .tox-comment__reply>:last-child{margin-left:8px}.tox[dir=rtl] .tox-comment__edit{margin-right:8px}.tox[dir=rtl] .tox-comment__buttonspacing>:last-child,.tox[dir=rtl] .tox-comment__edit>:last-child,.tox[dir=rtl] .tox-comment__reply>:last-child{margin-right:8px}.tox .tox-user{align-items:center;display:flex}.tox .tox-user__avatar svg{fill:rgba(255,255,255,0.5)}.tox .tox-user__avatar img{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-user__name{color:#fff;font-size:14px;font-style:normal;font-weight:700;line-height:18px;text-transform:none}.tox:not([dir=rtl]) .tox-user__avatar img,.tox:not([dir=rtl]) .tox-user__avatar svg{margin-right:8px}.tox:not([dir=rtl]) .tox-user__avatar+.tox-user__name{margin-left:8px}.tox[dir=rtl] .tox-user__avatar img,.tox[dir=rtl] .tox-user__avatar svg{margin-left:8px}.tox[dir=rtl] .tox-user__avatar+.tox-user__name{margin-right:8px}.tox .tox-dialog-wrap{align-items:center;display:flex;justify-content:center;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1100}.tox .tox-dialog-wrap__backdrop{background-color:rgba(34,47,62,.75);bottom:0;left:0;position:absolute;right:0;top:0;z-index:1}.tox .tox-dialog-wrap__backdrop--opaque{background-color:#222f3e}.tox .tox-dialog{background-color:#2b3b4e;border-color:#161f29;border-radius:10px;border-style:solid;border-width:0;box-shadow:0 16px 16px -10px rgba(34,47,62,.15),0 0 40px 1px rgba(34,47,62,.15);display:flex;flex-direction:column;max-height:100%;max-width:480px;overflow:hidden;position:relative;width:95vw;z-index:2}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog{align-self:flex-start;margin:8px auto;max-height:calc(100vh - 8px * 2);width:calc(100vw - 16px)}}.tox .tox-dialog-inline{z-index:1100}.tox .tox-dialog__header{align-items:center;background-color:#2b3b4e;border-bottom:none;color:#fff;display:flex;font-size:16px;justify-content:space-between;padding:8px 16px 0 16px;position:relative}.tox .tox-dialog__header .tox-button{z-index:1}.tox .tox-dialog__draghandle{cursor:grab;height:100%;left:0;position:absolute;top:0;width:100%}.tox .tox-dialog__draghandle:active{cursor:grabbing}.tox .tox-dialog__dismiss{margin-left:auto}.tox .tox-dialog__title{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:20px;font-style:normal;font-weight:400;line-height:1.3;margin:0;text-transform:none}.tox .tox-dialog__body{color:#fff;display:flex;flex:1;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;min-width:0;text-align:left;text-transform:none}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body{flex-direction:column}}.tox .tox-dialog__body-nav{align-items:flex-start;display:flex;flex-direction:column;flex-shrink:0;padding:16px 16px}@media only screen and (min-width:768px){.tox .tox-dialog__body-nav{max-width:11em}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body-nav{flex-direction:row;-webkit-overflow-scrolling:touch;overflow-x:auto;padding-bottom:0}}.tox .tox-dialog__body-nav-item{border-bottom:2px solid transparent;color:rgba(255,255,255,.5);display:inline-block;flex-shrink:0;font-size:14px;line-height:1.3;margin-bottom:8px;max-width:13em;-webkit-text-decoration:none;text-decoration:none}.tox .tox-dialog__body-nav-item:focus{background-color:rgba(0,108,231,.1)}.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid #67aeff;color:#67aeff}@media (forced-colors:active){.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid highlight;color:highlight}}.tox .tox-dialog__body-content{box-sizing:border-box;display:flex;flex:1;flex-direction:column;max-height:min(650px,calc(100vh - 110px));overflow:auto;-webkit-overflow-scrolling:touch;padding:16px 16px}.tox .tox-dialog__body-content>*{margin-bottom:0;margin-top:16px}.tox .tox-dialog__body-content>:first-child{margin-top:0}.tox .tox-dialog__body-content>:last-child{margin-bottom:0}.tox .tox-dialog__body-content>:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content a{color:#67aeff;cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content a:focus,.tox .tox-dialog__body-content a:hover{color:#cde5ff;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content a:focus-visible{border-radius:1px;outline:2px solid #67aeff;outline-offset:2px}.tox .tox-dialog__body-content a:active{color:#fff;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content svg{fill:#fff}.tox .tox-dialog__body-content strong{font-weight:700}.tox .tox-dialog__body-content ul{list-style-type:disc}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{padding-inline-start:2.5rem}.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{margin-bottom:16px}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content dt,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{display:block;margin-inline-end:0;margin-inline-start:0}.tox .tox-dialog__body-content .tox-form__group h1{color:#fff;font-size:20px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group h2{color:#fff;font-size:16px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group p{margin-bottom:16px}.tox .tox-dialog__body-content .tox-form__group h1:first-child,.tox .tox-dialog__body-content .tox-form__group h2:first-child,.tox .tox-dialog__body-content .tox-form__group p:first-child{margin-top:0}.tox .tox-dialog__body-content .tox-form__group h1:last-child,.tox .tox-dialog__body-content .tox-form__group h2:last-child,.tox .tox-dialog__body-content .tox-form__group p:last-child{margin-bottom:0}.tox .tox-dialog__body-content .tox-form__group h1:only-child,.tox .tox-dialog__body-content .tox-form__group h2:only-child,.tox .tox-dialog__body-content .tox-form__group p:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--center{text-align:center}.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--end{text-align:end}.tox .tox-dialog--width-lg{height:650px;max-width:1200px}.tox .tox-dialog--fullscreen{height:100%;max-width:100%}.tox .tox-dialog--fullscreen .tox-dialog__body-content{max-height:100%}.tox .tox-dialog--width-md{max-width:800px}.tox .tox-dialog--width-md .tox-dialog__body-content{overflow:auto}.tox .tox-dialog__body-content--centered{text-align:center}.tox .tox-dialog__footer{align-items:center;background-color:#2b3b4e;border-top:none;display:flex;justify-content:space-between;padding:8px 16px}.tox .tox-dialog__footer-end,.tox .tox-dialog__footer-start{display:flex}.tox .tox-dialog__busy-spinner{align-items:center;background-color:rgba(34,47,62,.75);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:3}.tox .tox-dialog__table{border-collapse:collapse;width:100%}.tox .tox-dialog__table thead th{font-weight:700;padding-bottom:8px}.tox .tox-dialog__table thead th:first-child{padding-right:8px}.tox .tox-dialog__table tbody tr{border-bottom:1px solid #000}.tox .tox-dialog__table tbody tr:last-child{border-bottom:none}.tox .tox-dialog__table td{padding-bottom:8px;padding-top:8px}.tox .tox-dialog__table td:first-child{padding-right:8px}.tox .tox-dialog__iframe{min-height:200px}.tox .tox-dialog__iframe.tox-dialog__iframe--opaque{background:#fff}.tox .tox-navobj-bordered{position:relative}.tox .tox-navobj-bordered::before{border:1px solid #161f29;border-radius:6px;content:'';inset:0;opacity:1;pointer-events:none;position:absolute;z-index:1}.tox .tox-navobj-bordered iframe{border-radius:6px}.tox .tox-navobj-bordered-focus.tox-navobj-bordered::before{border-color:#006ce7;box-shadow:0 0 0 1px #006ce7;outline:0}.tox .tox-dialog__popups{position:absolute;width:100%;z-index:1100}.tox .tox-dialog__body-iframe{display:flex;flex:1;flex-direction:column}.tox .tox-dialog__body-iframe .tox-navobj{display:flex;flex:1}.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2){flex:1;height:100%}.tox .tox-dialog-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-dialog-dock-fadein{opacity:1;visibility:visible}.tox .tox-dialog-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein{transition-delay:0s}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav{margin-right:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav-item:not(:first-child){margin-left:8px}}.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-end>*,.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-start>*{margin-left:8px}.tox[dir=rtl] .tox-dialog__body{text-align:right}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav{margin-left:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav-item:not(:first-child){margin-right:8px}}.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-end>*,.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-start>*{margin-right:8px}.tox .tox-dropdown-content{box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);position:fixed;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;overflow:auto;height:fit-content;width:fit-content;border-radius:var(--tox-private-panel-border-radius,6px);background-color:var(--tox-private-background-color,#222f3e);max-height:50vh}.tox .tox-dropdown-content .tox-menu{width:100%;box-shadow:none}body.tox-dialog__disable-scroll{overflow:hidden}.tox .tox-dropzone-container{display:flex;flex:1}.tox .tox-dropzone{align-items:center;background:#fff;border:2px dashed #161f29;box-sizing:border-box;display:flex;flex-direction:column;flex-grow:1;justify-content:center;min-height:100px;padding:10px}.tox .tox-dropzone p{color:rgba(255,255,255,.5);margin:0 0 16px 0}.tox .tox-edit-area{display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-edit-area::before{border:2px solid #fff;border-radius:4px;content:'';inset:0;opacity:0;pointer-events:none;position:absolute;transition:opacity .15s;z-index:1}@media (forced-colors:active){.tox .tox-edit-area::before{border:2px solid highlight}}.tox .tox-edit-area__iframe{background-color:#fff;border:0;box-sizing:border-box;flex:1;height:100%;position:absolute;width:100%}.tox.tox-edit-focus .tox-edit-area::before{opacity:1}.tox.tox-inline-edit-area{border:1px dotted #161f29}.tox .tox-expandable-box{background:var(--tox-private-background-color,#222f3e);border-radius:var(--tox-private-control-border-radius,6px);border:1px solid var(--tox-private-border-color,#161f29);display:flex;flex-direction:column;justify-content:stretch;overflow:hidden}.tox .tox-expandable-box>.tox-button{margin:0 var(--tox-private-pad-md,16px) var(--tox-private-pad-md,16px)}.tox .tox-expandable-box__title{align-items:center;background:hsl(from var(--tox-private-color-tint,#006ce7) h s l / 10%);border-bottom:1px solid var(--tox-private-border-color,#161f29);color:var(--tox-private-text-color,#fff);display:flex;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);gap:var(--tox-private-pad-sm,8px);min-width:0;padding:var(--tox-private-pad-sm,8px) var(--tox-private-pad-md,16px)}.tox .tox-expandable-box__title .tox-icon{flex-shrink:0;height:var(--tox-private-base-value,16px);fill:var(--tox-private-text-color,#fff)}.tox .tox-expandable-box__title-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-expandable-box__content{margin:var(--tox-private-pad-md,16px);overflow:auto}.tox .tox-expandable-box__content--overflowing{position:relative;overflow:hidden}.tox .tox-expandable-box__content--overflowing::after{content:'';position:absolute;bottom:0;left:0;right:0;height:min(100px,100%);pointer-events:none;background:linear-gradient(to bottom,transparent 50%,var(--tox-private-background-color,#222f3e))}.tox .tox-expandable-box__content--expanded{max-height:fit-content}.tox .tox-control-wrap{flex:1;position:relative}.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid,.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown,.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid{display:none}.tox .tox-control-wrap svg{display:block}.tox .tox-control-wrap__status-icon-wrap{position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-control-wrap__status-icon-invalid svg{fill:#c00}.tox .tox-control-wrap__status-icon-unknown svg{fill:orange}.tox .tox-control-wrap__status-icon-valid svg{fill:green}.tox:not([dir=rtl]) .tox-control-wrap--status-invalid .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-unknown .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-valid .tox-textfield{padding-right:32px}.tox:not([dir=rtl]) .tox-control-wrap__status-icon-wrap{right:4px}.tox[dir=rtl] .tox-control-wrap--status-invalid .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-unknown .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-valid .tox-textfield{padding-left:32px}.tox[dir=rtl] .tox-control-wrap__status-icon-wrap{left:4px}.tox .tox-custom-preview{border-color:#161f29;border-radius:6px;border-style:solid;border-width:1px;flex:1;padding:8px}.tox .tox-autocompleter{max-width:25em}.tox .tox-autocompleter .tox-menu{box-sizing:border-box;max-width:25em}.tox .tox-autocompleter .tox-autocompleter-highlight{font-weight:700}.tox .tox-color-input{display:flex;position:relative;z-index:1}.tox .tox-color-input .tox-textfield{z-index:-1}.tox .tox-color-input span{border-color:rgba(34 47 62 / 20%);border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;height:24px;position:absolute;top:6px;width:24px}@media (forced-colors:active){.tox .tox-color-input span{border-color:currentColor;border-width:2px!important;forced-color-adjust:none}}.tox .tox-color-input span:focus:not([aria-disabled=true]),.tox .tox-color-input span:hover:not([aria-disabled=true]){border-color:#006ce7;cursor:pointer}.tox .tox-color-input span::before{background-image:linear-gradient(45deg,rgba(255,255,255,.25) 25%,transparent 25%),linear-gradient(-45deg,rgba(255,255,255,.25) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(255,255,255,.25) 75%),linear-gradient(-45deg,transparent 75%,rgba(255,255,255,.25) 75%);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px;border:1px solid #2b3b4e;border-radius:6px;box-sizing:border-box;content:'';height:24px;left:-1px;position:absolute;top:-1px;width:24px;z-index:-1}@media (forced-colors:active){.tox .tox-color-input span::before{border:none}}.tox .tox-color-input span[aria-disabled=true]{cursor:not-allowed}.tox:not([dir=rtl]) .tox-color-input .tox-textfield{padding-left:36px}.tox:not([dir=rtl]) .tox-color-input span{left:6px}.tox[dir=rtl] .tox-color-input .tox-textfield{padding-right:36px}.tox[dir=rtl] .tox-color-input span{right:6px}.tox .tox-label,.tox .tox-toolbar-label{color:rgba(255,255,255,.5);display:block;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;padding:0 8px 0 0;text-transform:none;white-space:nowrap}.tox .tox-toolbar-label{padding:0 8px}.tox[dir=rtl] .tox-label{padding:0 0 0 8px}.tox .tox-form{display:flex;flex:1;flex-direction:column}.tox .tox-form__group{box-sizing:border-box;margin-bottom:4px}.tox .tox-form-group--maximize{flex:1}.tox .tox-form__group--error{color:#c00}.tox .tox-form__group--collection{display:flex}.tox .tox-form__grid{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}.tox .tox-form__grid--2col>.tox-form__group{width:calc(50% - (8px / 2))}.tox .tox-form__grid--3col>.tox-form__group{width:calc(100% / 3 - (8px / 2))}.tox .tox-form__grid--4col>.tox-form__group{width:calc(25% - (8px / 2))}.tox .tox-form__controls-h-stack{align-items:center;display:flex}.tox .tox-form__group--inline{align-items:center;display:flex}.tox .tox-form__group--stretched{display:flex;flex:1;flex-direction:column}.tox .tox-form__group--stretched .tox-textarea{flex:1}.tox .tox-form__group--stretched .tox-navobj{display:flex;flex:1}.tox .tox-form__group--stretched .tox-navobj :nth-child(2){flex:1;height:100%}.tox:not([dir=rtl]) .tox-form__controls-h-stack>:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-form__controls-h-stack>:not(:first-child){margin-right:4px}.tox .tox-lock.tox-locked .tox-lock-icon__unlock,.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock{display:none}.tox .tox-context-form__group .tox-button--icon.tox-lock-context-form-size-input{margin-left:8px;margin-right:8px}.tox .tox-listboxfield .tox-listbox--select,.tox .tox-textarea,.tox .tox-textarea-wrap .tox-textarea:focus,.tox .tox-textfield,.tox .tox-toolbar-textfield{appearance:none;background-color:#2b3b4e;border-color:#161f29;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 5.5px;resize:none;width:100%}.tox .tox-textarea[disabled],.tox .tox-textfield[disabled],.tox .tox-toolbar-textfield[disabled]{background-color:#222f3e;color:rgba(255,255,255,.85);cursor:not-allowed}.tox .tox-custom-editor:focus-within,.tox .tox-focusable-wrapper:focus,.tox .tox-listboxfield .tox-listbox--select:focus,.tox .tox-textarea-wrap:focus-within,.tox .tox-textarea:focus,.tox .tox-textfield:focus,.tox .tox-toolbar-textfield:focus{background-color:#2b3b4e;border-color:#006ce7;box-shadow:0 0 0 1px #006ce7;outline:0}.tox .tox-toolbar-textfield{max-width:250px;min-height:unset;height:28px;margin:5px 0 6px 0}.tox .tox-naked-btn{background-color:transparent;border:0;border-color:transparent;box-shadow:unset;color:#006ce7;cursor:pointer;display:block;margin:0;padding:0}.tox .tox-naked-btn svg{display:block;fill:#fff}.tox .tox-textfield-size{width:80px}.tox:not([dir=rtl]) .tox-toolbar-textfield+*{margin-left:4px}.tox[dir=rtl] .tox-toolbar-textfield+*{margin-right:4px}.tox .tox-listboxfield{cursor:pointer;position:relative}.tox .tox-listboxfield .tox-listbox--select[disabled]{background-color:#19232e;color:rgba(255,255,255,.85);cursor:not-allowed}.tox .tox-listbox__select-label{cursor:default;flex:1;margin:0 4px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-listbox__menu .tox-menu{box-sizing:border-box}.tox .tox-listbox__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-listbox__select-chevron svg{fill:#fff}@media (forced-colors:active){.tox .tox-listbox__select-chevron svg{fill:currentColor!important}}.tox .tox-listboxfield .tox-listbox--select{align-items:center;display:flex}.tox:not([dir=rtl]) .tox-listboxfield svg{right:8px}.tox[dir=rtl] .tox-listboxfield svg{left:8px}.tox .tox-selectfield{cursor:pointer;position:relative}.tox .tox-selectfield select{appearance:none;background-color:#2b3b4e;border-color:#161f29;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 5.5px;resize:none;width:100%}.tox .tox-selectfield select[disabled]{background-color:#19232e;color:rgba(255,255,255,.85);cursor:not-allowed}.tox .tox-selectfield select::-ms-expand{display:none}.tox .tox-selectfield select:focus{background-color:#2b3b4e;border-color:#006ce7;box-shadow:0 0 0 1px #006ce7;outline:0}.tox .tox-selectfield svg{pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-selectfield select option:checked{background-color:revert;color:revert}.tox:not([dir=rtl]) .tox-selectfield select[size="0"],.tox:not([dir=rtl]) .tox-selectfield select[size="1"]{padding-right:24px}.tox:not([dir=rtl]) .tox-selectfield svg{right:8px}.tox[dir=rtl] .tox-selectfield select[size="0"],.tox[dir=rtl] .tox-selectfield select[size="1"]{padding-left:24px}.tox[dir=rtl] .tox-selectfield svg{left:8px}.tox .tox-textarea-wrap{border-color:#161f29;border-radius:6px;border-style:solid;border-width:1px;display:flex;flex:1;overflow:hidden}.tox .tox-textarea{appearance:textarea;white-space:pre-wrap}.tox .tox-textarea-wrap .tox-textarea{border:none}.tox .tox-textarea-wrap .tox-textarea:focus{border:none}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}.tox .tox-help__more-link{list-style:none;margin-top:1em}.tox .tox-imagepreview{background-color:#666;height:380px;overflow:hidden;position:relative;width:100%}.tox .tox-imagepreview.tox-imagepreview__loaded{overflow:auto}.tox .tox-imagepreview__container{display:flex;left:100vw;position:absolute;top:100vw}.tox .tox-imagepreview__image{background:url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==)}.tox .tox-image-tools .tox-spacer{flex:1}.tox .tox-image-tools .tox-bar{align-items:center;display:flex;height:60px;justify-content:center}.tox .tox-image-tools .tox-imagepreview,.tox .tox-image-tools .tox-imagepreview+.tox-bar{margin-top:8px}.tox .tox-image-tools .tox-croprect-block{background:#000;opacity:.5;position:absolute;zoom:1}.tox .tox-image-tools .tox-croprect-handle{border:2px solid #fff;height:20px;left:0;position:absolute;top:0;width:20px}.tox .tox-image-tools .tox-croprect-handle-move{border:0;cursor:move;position:absolute}.tox .tox-image-tools .tox-croprect-handle-nw{border-width:2px 0 0 2px;cursor:nw-resize;left:100px;margin:-2px 0 0 -2px;top:100px}.tox .tox-image-tools .tox-croprect-handle-ne{border-width:2px 2px 0 0;cursor:ne-resize;left:200px;margin:-2px 0 0 -20px;top:100px}.tox .tox-image-tools .tox-croprect-handle-sw{border-width:0 0 2px 2px;cursor:sw-resize;left:100px;margin:-20px 2px 0 -2px;top:200px}.tox .tox-image-tools .tox-croprect-handle-se{border-width:0 2px 2px 0;cursor:se-resize;left:200px;margin:-20px 0 0 -20px;top:200px}.tox .tox-image-selector-loading-spinner-wrapper{display:flex;justify-content:center;align-items:center}.tox .tox-image-selector-loading-spinner{position:absolute;width:min(24px,30%);aspect-ratio:1/1;border-radius:50%;border:3px solid #006ce7;border-bottom-color:transparent;animation:tox-rotation 1s linear infinite}.tox .tox-toolbar .tox-image-selector,.tox .tox-toolbar__overflow .tox-image-selector,.tox .tox-toolbar__primary .tox-image-selector{margin:5px 0 6px 11px}.tox .tox-image-selector-menu{border:0;border-radius:3px;margin:-4px -4px;padding:4px}.tox .tox-image-selector-menu .tox-collection--list .tox-collection__group{border:0;padding:0;margin:-4px -4px}.tox .tox-image-selector-menu .tox-collection__item{max-width:48px}.tox .tox-image-selector-menu .tox-collection__item-icon{border:1px solid #161f29;border-radius:3px;margin-bottom:4px;width:100%}.tox .tox-image-selector-menu .tox-collection__item-icon svg path{stroke:#c00}.tox .tox-image-selector__row{display:flex}.tox .tox-image-selector--remove{align-items:center;display:flex;justify-content:center}.tox .tox-image-selector--remove svg path{stroke:#c00}.tox .tox-image-selector-image-wrapper{width:46px;height:46px;display:flex;align-items:center;justify-content:center}.tox .tox-image-selector-image-img{max-width:100%;max-height:100%}.tox .tox-image-selector__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-image-selector__picker-btn svg{fill:#fff;height:24px;width:24px}.tox .tox-image-selector__picker-btn:hover{background:#2f4055}.tox .tox-context-toolbar{position:absolute;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;z-index:1150;background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color,#fff);border:1px solid #364a62;border-radius:6px;box-shadow:0 2px 8px rgba(0,0,0,.08);padding:8px}.tox .tox-context-toolbar[popover]{inset:auto;margin:0}.tox .tox-context-toolbar .tox-toolbar{display:flex;flex-wrap:nowrap;gap:8px}.tox .tox-context-toolbar .tox-toolbar__group{display:flex;flex-wrap:nowrap;flex-shrink:0;gap:8px;align-items:center;padding:0}.tox .tox-insert-table-picker{background-color:#222f3e;display:flex;flex-wrap:wrap;width:170px}.tox .tox-insert-table-picker>div{border-color:rgba(255,255,255,.15);border-style:solid;border-width:0 1px 1px 0;box-sizing:border-box;height:17px;width:17px}.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker{margin:-4px -4px}.tox .tox-insert-table-picker .tox-insert-table-picker__selected{background-color:#006ce7;border-color:rgba(255,255,255,.15)}@media (forced-colors:active){.tox .tox-insert-table-picker .tox-insert-table-picker__selected{border-color:Highlight;filter:contrast(50%)}}.tox .tox-insert-table-picker__label{color:#fff;display:block;font-size:14px;padding:4px;text-align:center;width:100%}.tox:not([dir=rtl]) .tox-insert-table-picker>div:nth-child(10n){border-right:0}.tox[dir=rtl] .tox-insert-table-picker>div:nth-child(10n+1){border-right:0}.tox-mentions__card-common{z-index:1200}.tox.tox-mentions__card{background:#222f3e;border:1px solid #161f29;display:flex;padding:4px 8px}.tox.tox-mentions__card .tox-mentions__container{display:flex;flex-direction:column;align-self:center;margin:0 4px}.tox .tox-mentions__avatar{width:42px;height:42px;border-radius:50%;margin-right:4px}.tox .tox-mentions__username{font-size:14px;line-height:21px;color:#fff}.tox .tox-mentions__description{font-size:12px;line-height:21px;color:rgba(255,255,255,.5)}.tox .tox-collection__item--active .tox-mentions__description,.tox .tox-collection__item--active .tox-mentions__username{color:inherit}.tox .tox-menu{background-color:#2b3b4e;border:1px solid rgba(255,255,255,.15);border-radius:6px;box-shadow:none;display:inline-block;overflow:hidden;vertical-align:top;z-index:1150}.tox .tox-menu.tox-collection.tox-collection--list{padding:0 4px}.tox .tox-menu.tox-collection.tox-collection--toolbar{padding:8px}.tox .tox-menu.tox-collection.tox-collection--grid{padding:8px}@media only screen and (min-width:768px){.tox .tox-menu .tox-collection__item-label{overflow-wrap:break-word;word-break:normal}.tox .tox-dialog__popups .tox-menu .tox-collection__item-label{word-break:break-all}}.tox .tox-menu__label blockquote,.tox .tox-menu__label code,.tox .tox-menu__label h1,.tox .tox-menu__label h2,.tox .tox-menu__label h3,.tox .tox-menu__label h4,.tox .tox-menu__label h5,.tox .tox-menu__label h6,.tox .tox-menu__label p{margin:0}.tox .tox-menubar{background:repeating-linear-gradient(transparent 0 1px,transparent 1px 39px) center top 39px/100% calc(100% - 39px) no-repeat;background-color:#222f3e;display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;grid-column:1/-1;grid-row:1;padding:0 11px 0 12px}.tox .tox-promotion+.tox-menubar{grid-column:1}@media (max-width:480px){.tox:not(.tox-tinymce-inline) .tox-menubar{flex-wrap:nowrap;min-width:0;min-height:39px;overflow-x:auto;overflow-y:hidden}}.tox .tox-promotion{background:repeating-linear-gradient(transparent 0 1px,transparent 1px 39px) center top 39px/100% calc(100% - 39px) no-repeat;background-color:#222f3e;grid-column:2;grid-row:1;padding-inline-end:8px;padding-inline-start:4px;padding-top:5px}.tox .tox-promotion-link{align-items:unsafe center;background-color:#e8f1f8;border-radius:5px;color:#086be6;cursor:pointer;display:flex;font-size:14px;height:26.6px;padding:4px 8px;white-space:nowrap}.tox .tox-promotion-link:hover{background-color:#b4d7ff}.tox .tox-promotion-link:focus{background-color:#d9edf7}.tox .tox-mbtn{align-items:center;background:#222f3e;border:0;border-radius:3px;box-shadow:none;color:#fff;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;justify-content:center;margin:5px 1px 6px 0;outline:0;padding:0 4px;text-transform:none;width:auto}.tox .tox-mbtn[disabled]{background-color:#222f3e;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-mbtn:focus:not(:disabled){background:#222f3e;border:0;box-shadow:none;color:#fff;position:relative;z-index:1}.tox .tox-mbtn:focus:not(:disabled)::after{pointer-events:none;border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-mbtn:focus:not(:disabled)::after{border:2px solid highlight}}.tox .tox-mbtn--active,.tox .tox-mbtn:not(:disabled).tox-mbtn--active:focus{background:#599fef;border:0;box-shadow:none;color:#fff}.tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active){background:#2f4055;border:0;box-shadow:none;color:#fff}.tox .tox-mbtn__select-label{cursor:default;font-weight:400;margin:0 4px}.tox .tox-mbtn[disabled] .tox-mbtn__select-label{cursor:not-allowed}.tox .tox-mbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px;display:none}.tox .tox-notification{border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;display:grid;font-size:14px;font-weight:400;grid-template-columns:minmax(40px,1fr) auto minmax(40px,1fr);margin-left:auto;margin-right:auto;margin-top:4px;opacity:0;padding:4px;transition:transform .1s ease-in,opacity 150ms ease-in;width:max-content}.tox .tox-notification a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification p{font-size:14px;font-weight:400}.tox .tox-notification:focus{border-color:#006ce7;box-shadow:0 0 0 1px #006ce7}.tox .tox-notification--in{opacity:1}.tox .tox-notification--success{background-color:#334840;border-color:#3c5440;color:#fff}.tox .tox-notification--success p{color:#fff}.tox .tox-notification--success a{color:#b5d199}.tox .tox-notification--success a:focus,.tox .tox-notification--success a:hover{color:#82b153;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--success a:focus-visible{border-radius:1px;outline:2px solid #b5d199;outline-offset:2px}.tox .tox-notification--success a:active{color:#689041;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--success svg{fill:#fff}.tox .tox-notification--error{background-color:#442632;border-color:#55212b;color:#fff}.tox .tox-notification--error p{color:#fff}.tox .tox-notification--error a{color:#e68080}.tox .tox-notification--error a:focus,.tox .tox-notification--error a:hover{color:#d42b2b;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--error a:focus-visible{border-radius:1px;outline:2px solid #e68080;outline-offset:2px}.tox .tox-notification--error a:active{color:#a22;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--error svg{fill:#fff}.tox .tox-notification--warn,.tox .tox-notification--warning{background-color:#222f3e;border-color:rgba(255,255,255,.15);color:#fff0b3}.tox .tox-notification--warn p,.tox .tox-notification--warning p{color:#fff0b3}.tox .tox-notification--warn a,.tox .tox-notification--warning a{color:#fc0}.tox .tox-notification--warn a:focus,.tox .tox-notification--warn a:hover,.tox .tox-notification--warning a:focus,.tox .tox-notification--warning a:hover{color:#997a00;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--warn a:focus-visible,.tox .tox-notification--warning a:focus-visible{border-radius:1px;outline:2px solid #ffcc00;outline-offset:2px}.tox .tox-notification--warn a:active,.tox .tox-notification--warning a:active{color:#665200;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--warn svg,.tox .tox-notification--warning svg{fill:#fff0b3}.tox .tox-notification--info{background-color:#254161;border-color:#264972;color:#fff}.tox .tox-notification--info p{color:#fff}.tox .tox-notification--info a{color:#83b7f3}.tox .tox-notification--info a:focus,.tox .tox-notification--info a:hover{color:#2681ea;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--info a:focus-visible{border-radius:1px;outline:2px solid #83b7f3;outline-offset:2px}.tox .tox-notification--info a:active{color:#1368c9;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--info svg{fill:#fff}.tox .tox-notification__body{align-self:center;color:#fff;font-size:14px;grid-column-end:3;grid-column-start:2;grid-row-end:2;grid-row-start:1;text-align:center;white-space:normal;word-break:break-all;word-break:break-word}.tox .tox-notification__body>*{margin:0}.tox .tox-notification__body>*+*{margin-top:1rem}.tox .tox-notification__icon{align-self:center;grid-column-end:2;grid-column-start:1;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification__icon svg{display:block}.tox .tox-notification__dismiss{align-self:start;grid-column-end:4;grid-column-start:3;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification .tox-progress-bar{grid-column-end:4;grid-column-start:1;grid-row-end:3;grid-row-start:2;justify-self:center}.tox .tox-notification-container-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-notification-container-dock-fadein{opacity:1;visibility:visible}.tox .tox-notification-container-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-notification-container-dock-transition.tox-notification-container-dock-fadein{transition-delay:0s}.tox .tox-onboarding-overlay{height:100%;background-color:#17202a;position:absolute;top:0;left:0;right:0;z-index:1302;overflow:auto;display:grid;justify-content:center;align-items:center}.tox .tox-onboarding-dialog{max-width:512px;background-color:#222f3e;display:flex;flex-direction:column;box-shadow:0 16px 16px -10px rgba(34,47,62,.15),0 0 40px 1px rgba(34,47,62,.15);border-radius:12px;margin:8px}.tox .tox-onboarding-dialog .tox-onboarding-header{color:#fff;display:flex;justify-content:center;align-items:center;font-size:20px;margin:24px 0 8px}.tox .tox-onboarding-dialog .tox-onboarding-step{display:grid;grid-template-columns:min-content 1fr min-content;align-items:center;margin:0 24px}.tox .tox-onboarding-dialog .tox-onboarding-step:not(:last-child){border-bottom:1px solid rgba(255,255,255,.15)}.tox .tox-onboarding-dialog .tox-onboarding-step--number{width:24px;aspect-ratio:1/1;border-radius:50%;border:1px solid #00ad0e;display:flex;justify-content:center;align-items:center;font-size:12px;font-weight:700;color:#00ad0e}.tox .tox-onboarding-dialog .tox-onboarding-step--body{padding:24px 0 24px 16px}.tox .tox-onboarding-dialog .tox-onboarding-step--body-header{color:#fff;font-size:14px;font-weight:700;margin-bottom:4px}.tox .tox-onboarding-dialog .tox-onboarding-step--body-details{color:rgba(255,255,255,.5);font-size:14px}.tox .tox-onboarding-dialog .tox-onboarding-step--action{padding-left:24px}.tox .tox-onboarding-dialog .tox-onboarding-footer{background-color:#2b3b4e;display:flex;justify-content:space-between;align-items:center;padding:16px 24px;border-bottom-left-radius:12px;border-bottom-right-radius:12px}.tox .tox-onboarding-dialog .tox-onboarding-footer p{display:flex;align-items:center;justify-content:center;gap:4px;font-size:14px;color:rgba(255,255,255,.5)}.tox .tox-onboarding-dialog svg{width:24px;fill:rgba(255,255,255,0.5)}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin{display:grid;align-items:center;grid-template-columns:min-content 1fr min-content;border-bottom:1px solid rgba(255,255,255,.15);padding:24px 0;margin:0 16px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body{margin:0 16px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body .tox-promotion-dialog-plugin-header{color:#fff;font-size:14px;font-weight:700;margin-bottom:4px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body .tox-promotion-dialog-plugin-details{color:rgba(255,255,255,.5);font-size:14px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--icon{display:grid;place-content:center;width:56px;height:56px;line-height:24px;font-size:24px;border-radius:12px;background:linear-gradient(180deg,#2b3b4e 24%,#202d3b 100%);box-shadow:0 1px 1px 0 #222f3e12,0 3px 6px 0 #222f3e06;color:#006ce7}.tox .tox-promotion-dialog--subtitle{margin:16px;color:rgba(255,255,255,.5);font-size:14px}.tox .tox-promotion-dialog--explore{text-align:center;margin:16px;color:rgba(255,255,255,.5);font-size:14px}.tox .tox-promotion-dialog--explore a{color:#006ce7}.tox .tox-promotion-dialog--footer{background-color:#17202a;color:rgba(255,255,255,.5);font-size:12px;text-align:center;padding:16px}.tox .tox-promotion-button{display:flex;align-items:center;height:26.6px;line-height:26.6px;font-size:14px;font-weight:700;background-color:#55367a;color:#c290fb;padding:8px 16px;cursor:pointer;white-space:nowrap;border-radius:5px}.tox .tox-promotion-button:focus{outline:1px solid #C290FB}.tox .tox-onboarding-dialog a,.tox .tox-promotion-dialog--footer a{color:rgba(255,255,255,.5);cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-onboarding-dialog a:focus,.tox .tox-onboarding-dialog a:hover,.tox .tox-promotion-dialog--footer a:focus,.tox .tox-promotion-dialog--footer a:hover{color:#cde5ff;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-onboarding-dialog a:focus-visible,.tox .tox-promotion-dialog--footer a:focus-visible{border-radius:1px;outline:2px solid #67aeff;outline-offset:2px}.tox .tox-onboarding-dialog a:active,.tox .tox-promotion-dialog--footer a:active{color:#fff;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-pop{display:inline-block;position:relative}.tox .tox-pop--resizing{transition:width .1s ease}.tox .tox-pop--resizing .tox-toolbar,.tox .tox-pop--resizing .tox-toolbar__group{flex-wrap:nowrap}.tox .tox-pop--transition{transition:.15s ease;transition-property:left,right,top,bottom}.tox .tox-pop--transition::after,.tox .tox-pop--transition::before{transition:all .15s,visibility 0s,opacity 75ms ease 75ms}.tox .tox-pop__dialog{background-color:#222f3e;border:1px solid #161f29;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);min-width:0;overflow:hidden}.tox .tox-pop__dialog>:not(.tox-toolbar){margin:4px 4px 4px 8px}.tox .tox-pop__dialog .tox-toolbar{background-color:transparent;margin-bottom:-1px}.tox .tox-pop::after,.tox .tox-pop::before{border-style:solid;content:'';display:block;height:0;opacity:1;position:absolute;width:0}@media (forced-colors:active){.tox .tox-pop::after,.tox .tox-pop::before{content:none}}.tox .tox-pop.tox-pop--inset::after,.tox .tox-pop.tox-pop--inset::before{opacity:0;transition:all 0s .15s,visibility 0s,opacity 75ms ease}.tox .tox-pop.tox-pop--bottom::after,.tox .tox-pop.tox-pop--bottom::before{left:50%;top:100%}.tox .tox-pop.tox-pop--bottom::after{border-color:#222f3e transparent transparent transparent;border-width:8px;margin-left:-8px;margin-top:-1px}.tox .tox-pop.tox-pop--bottom::before{border-color:#161f29 transparent transparent transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--top::after,.tox .tox-pop.tox-pop--top::before{left:50%;top:0;transform:translateY(-100%)}.tox .tox-pop.tox-pop--top::after{border-color:transparent transparent #222f3e transparent;border-width:8px;margin-left:-8px;margin-top:1px}.tox .tox-pop.tox-pop--top::before{border-color:transparent transparent #161f29 transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--left::after,.tox .tox-pop.tox-pop--left::before{left:0;top:calc(50% - 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--left::after{border-color:transparent #222f3e transparent transparent;border-width:8px;margin-left:-15px}.tox .tox-pop.tox-pop--left::before{border-color:transparent #161f29 transparent transparent;border-width:10px;margin-left:-19px}.tox .tox-pop.tox-pop--right::after,.tox .tox-pop.tox-pop--right::before{left:100%;top:calc(50% + 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--right::after{border-color:transparent transparent transparent #222f3e;border-width:8px;margin-left:-1px}.tox .tox-pop.tox-pop--right::before{border-color:transparent transparent transparent #161f29;border-width:10px;margin-left:-1px}.tox .tox-pop.tox-pop--align-left::after,.tox .tox-pop.tox-pop--align-left::before{left:20px}.tox .tox-pop.tox-pop--align-right::after,.tox .tox-pop.tox-pop--align-right::before{left:calc(100% - 20px)}.tox.tox-edit-focus .tox-sidebar__resize-handle:hover::before{border-left:0 solid transparent}.tox .tox-sidebar-wrap{--tox-private-min-editing-area-width:280px;flex-grow:1;min-height:0}.tox .tox-sidebar-wrap:not(.tox .tox-sidebar-wrap--resizable){display:flex;flex-direction:row}.tox .tox-sidebar-wrap--resizable{display:grid;grid-template-columns:minmax(var(--tox-private-min-editing-area-width),1fr) minmax(0,max-content);grid-template-rows:minmax(0,1fr)}.tox .tox-sidebar{background-color:var(--tox-private-sidebar-background-color,#34485f);display:flex;flex-direction:row;justify-content:flex-end}.tox .tox-sidebar__slider{display:flex;overflow:hidden}.tox .tox-sidebar-wrap--resizable .tox-sidebar__pane-container{width:var(--tox-private-requested-sidebar-width)}.tox .tox-sidebar-wrap--resizable .tox-sidebar--sliding-growing .tox-sidebar__pane-container,.tox .tox-sidebar-wrap--resizable .tox-sidebar--sliding-shrinking .tox-sidebar__pane-container{width:var(--tox-private-resolved-sidebar-width);min-width:var(--tox-private-resolved-sidebar-width)}.tox .tox-sidebar__pane-container{display:flex}.tox .tox-sidebar-wrap--resizable .tox-sidebar__resize-handle{display:block}.tox .tox-sidebar__resize-handle{display:none;position:relative;width:var(--tox-private-sidebar-resize-handle-width,1px);height:100%;cursor:col-resize;background-color:var(--tox-private-separator-color,rgba(255,255,255,.15));z-index:1}.tox .tox-sidebar__resize-handle::before{content:'';position:absolute;top:0;bottom:0;width:8px;box-sizing:border-box;border-left:0 solid transparent;transition:border-left-width .15s ease,border-left-color .15s ease}.tox .tox-sidebar__resize-handle:hover::before{border-left:3px solid #006ce7}.tox .tox-sidebar-wrap--resizable .tox-sidebar__pane{width:calc(100% - var(--tox-private-sidebar-resize-handle-width,1px))}.tox .tox-sidebar__pane{display:flex}.tox .tox-sidebar--sliding-closed{opacity:0}.tox .tox-sidebar--sliding-open{opacity:1}.tox .tox-sidebar--sliding-growing,.tox .tox-sidebar--sliding-shrinking{transition:width .5s ease,opacity .5s ease}.tox .tox-sidebar-content{display:flex;flex-direction:column;position:relative;width:100%;height:100%}.tox .tox-sidebar-content__header{align-items:center;display:flex;justify-content:space-between;border-bottom:var(--tox-private-tinymceai-border-width,1px) solid var(--tox-private-neutral-20,#0e141a);padding:var(--tox-private-pad-sm,8px) 12px;background:var(--tox-private-background-color,#222f3e)}.tox .tox-sidebar-content__header .tox-sidebar-content__header-close-button{margin-left:auto}.tox .tox-sidebar-content__actions{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-sidebar-content__title{font-size:var(--tox-private-font-size-lg, 20px);font-weight:var(--tox-private-font-weight-normal,normal);padding:var(--tox-private-pad-sm,8px) 0 var(--tox-private-pad-sm,8px) 0;color:var(--tox-private-text-color,#fff);line-height:28px}.tox .tox-floating-sidebar{--tox-private-floating-sidebar-width:min(380px, 90vw);--tox-private-floating-sidebar-height:80vh;position:fixed;z-index:var(--tox-private-z-index-floatingsidebar,1050);box-shadow:var(--tox-private-floating-sidebar-box-shadow,0 0 40px 1px rgba(34,47,62,.15),0 16px 16px -10px rgba(34,47,62,.15),0 0 0 1px rgba(34,47,62,.15));width:var(--tox-private-floating-sidebar-width);height:var(--tox-private-floating-sidebar-height);background-color:var(--tox-private-floating-sidebar-background-color,#34485f);border-radius:var(--tox-private-panel-border-radius,6px);overflow:hidden}.tox .tox-floating-sidebar:not(.tox .tox-floating-sidebar--open){display:none}.tox .tox-floating-sidebar--open{display:block}.tox .tox-floating-sidebar__content-wrapper{width:100%;height:100%;display:flex;flex-direction:column}.tox .tox-floating-sidebar__header{position:relative}.tox .tox-floating-sidebar .tox-ai__scroll:has(.tox-card-list){background-color:inherit}.tox .tox-ai .tox-expandable-box{margin-bottom:calc(var(--tox-private-pad-md,16px) * .75)}.tox .tox-ai .tox-expandable-box .tox-expandable-box__content{margin:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-md,16px) * .75)}.tox .tox-ai .tox-expandable-box>.tox-button{margin:0 calc(var(--tox-private-pad-md,16px) * .75) var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-expandable-box:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#006ce7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-sidebar-content__header{border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-background-color,#222f3e);padding:calc(var(--tox-private-pad-sm,8px) - var(--tox-private-tinymceai-focus-border-width,2px)) calc(12px - var(--tox-private-tinymceai-focus-border-width,2px));border-bottom:1px solid var(--tox-private-separator-color,rgba(255,255,255,.15))}.tox .tox-ai .tox-sidebar-content__header:focus-visible:not(:disabled){border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#006ce7);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-sidebar-content__loader{align-items:center;display:flex;height:100%;justify-content:center;width:100%;z-index:1000}.tox .tox-ai .tox-sidebar-content__title{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin-right:auto}.tox .tox-ai .tox-sidebar-content__title:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#006ce7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-sidebar-content__actions .tox-ai__complete-review{display:flex;align-items:center;gap:6px;padding-top:var(--tox-private-pad-xs,4px);padding-bottom:var(--tox-private-pad-xs,4px);padding-left:var(--tox-private-pad-md,16px);padding-right:var(--tox-private-pad-md,16px)}.tox .tox-ai .tox-menu{width:-webkit-fill-available;width:-moz-available;width:stretch;overflow:visible}.tox .tox-ai .tox-ai__user-prompt{display:flex;flex-direction:column;margin-left:auto;gap:inherit;width:100%}.tox .tox-ai .tox-ai__user-prompt__context{margin-left:auto;display:flex;flex-direction:column;gap:inherit;align-items:end;width:100%}.tox .tox-ai .tox-ai__user-prompt__context .tox-tag{max-width:100%}.tox .tox-ai .tox-ai__user-prompt__text{background-color:var(--tox-private-background-secondary,#2f4055);padding:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-md,16px) * .75);border-radius:var(--tox-private-control-border-radius,6px);max-width:80%;align-self:flex-end;color:var(--tox-private-text-color,#fff);white-space:pre-wrap}.tox .tox-ai .tox-ai__user-prompt__text:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#006ce7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-ai__scroll{overflow-y:auto;overflow-x:hidden;background-color:var(--tox-private-background-color,#222f3e);display:flex;padding:12px;flex-direction:column;align-items:flex-start;gap:12px;flex:1 0 0;align-self:stretch}.tox .tox-ai .tox-ai__scroll:focus-visible:not(:disabled){outline:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#006ce7);outline-offset:calc(-1 * var(--tox-private-tinymceai-focus-border-width,2px));border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-ai__scroll--review:not(:has(.tox-sidebar-content__message-text)){background-color:var(--tox-private-background-secondary,#2f4055)}.tox .tox-ai .tox-ai__spinner svg{fill:var(--tox-private-color-tint,#006ce7)}.tox .tox-ai .tox-ai__response{width:100%;min-width:100%;max-width:100%}.tox .tox-ai .tox-ai__response__header{display:flex;align-items:center;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response__header .tox-icon svg{fill:var(--tox-private-color-tint,#006ce7)}.tox .tox-ai .tox-ai__response-status{display:flex;color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));font-size:var(--tox-private-font-size-sm, 14px);gap:var(--tox-private-pad-xs,4px);line-height:var(--tox-private-tinymceai-response-status-icon-height, max(24px, calc(14px + 4px)));padding-top:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response-status svg{fill:var(--tox-private-text-color-muted,rgba(255,255,255,0.5))}.tox .tox-ai .tox-ai__response-status-icon{border-radius:999px;border:1px solid var(--tox-private-neutral-20,#0e141a);background-color:var(--tox-private-background-color,#222f3e);height:var(--tox-private-tinymceai-response-status-icon-height,max(24px,calc(14px + 4px)));flex:0 0 24px;display:flex;align-items:center;justify-content:center}.tox .tox-ai .tox-ai__response-status-icon .tox-icon{display:contents}.tox .tox-ai .tox-ai__response-status-icon+.tox-ai__response-status-icon{margin-left:calc((var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px)) * -1)}.tox .tox-ai .tox-ai__icon{display:flex;align-items:center;justify-content:center}.tox .tox-ai .tox-ai__response-sources{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response-sources-header{display:block}.tox .tox-ai .tox-ai__response-sources-list{display:flex;align-items:center;gap:var(--tox-private-pad-sm,8px);align-self:stretch;flex-wrap:wrap}.tox .tox-ai .tox-ai__response-sources-list .tox-tag{border:1px solid var(--tox-private-separator-color,rgba(255,255,255,.15));background-color:transparent;max-width:32%;max-height:24px;cursor:pointer}.tox .tox-ai .tox-ai__response-sources-list .tox-tag img,.tox .tox-ai .tox-ai__response-sources-list .tox-tag svg{width:16px;height:16px;min-width:16px;min-height:16px;max-width:16px;max-height:16px}.tox .tox-ai .tox-ai__response-content{padding:var(--tox-private-pad-sm,8px) 0;color:var(--tox-private-text-color,#fff);font-feature-settings:'liga' off,'clig' off;font-size:var(--tox-private-font-size-sm, 14px);font-style:normal;font-weight:var(--tox-private-font-weight-normal,normal);line-height:var(--tox-private-line-height, 18px);display:flex;flex-direction:column}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming{position:relative}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming .tox-ai__response-status{color:var(--tox-private-text-color,#fff);font-size:var(--tox-private-font-size-md, 16px);line-height:calc(var(--tox-private-font-size-md, 16px) + 4px)}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming::after{content:'';position:absolute;bottom:0;left:0;right:0;height:min(100px,100%);pointer-events:none;background:linear-gradient(to bottom,transparent 60px,transparent 60px,var(--tox-private-background-color,#222f3e))}.tox .tox-ai .tox-ai-error{border-radius:var(--tox-private-panel-border-radius,6px);border:1px solid var(--tox-private-color-error,#c00);background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#222f3e) r g b / .9) 0,rgba(from var(--tox-private-background-color,#222f3e) r g b / .9) 100%),var(--tox-private-color-error,#c00);padding:var(--tox-private-pad-sm,8px);width:100%;display:flex;gap:var(--tox-private-pad-sm,8px);align-items:center}.tox .tox-ai .tox-ai-error__message{flex:1 0 0}.tox .tox-ai .tox-ai-error__icon{flex:0 0 auto;align-self:flex-start}.tox .tox-ai .tox-ai__footer{padding:calc(12px - var(--tox-private-tinymceai-focus-border-width,2px));gap:var(--tox-private-pad-sm,8px);background-color:var(--tox-private-background-color,#222f3e);display:flex;flex-direction:column;border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-background-color,#222f3e);border-top:1px solid var(--tox-private-separator-color,rgba(255,255,255,.15))}.tox .tox-ai .tox-ai__footer:focus-visible:not(:disabled){border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#006ce7);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-ai__context{display:flex;gap:var(--tox-private-pad-sm,8px);flex-wrap:wrap;max-height:calc((2 * (2 * var(--tox-private-pad-xs,4px) + var(--tox-private-base-value,16px))) + var(--tox-private-pad-sm,8px))}.tox .tox-ai .tox-ai__context .tox-tag{max-width:calc((100% - var(--tox-private-pad-sm,8px))/ 2)}.tox .tox-ai .tox-ai__context-more{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px);padding:var(--tox-private-pad-sm,8px);overflow:auto;max-width:var(--tox-private-tinymceai-context-more-max-width,320px)}.tox .tox-ai .tox-ai__context-more .tox-tag{max-width:100%}.tox .tox-ai .tox-ai__stop-generating{display:flex;align-items:center;gap:6px}.tox .tox-ai .tox-ai__footer-actions{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-model-selection-button{display:flex;gap:var(--tox-private-pad-xs,4px)}.tox .tox-ai .tox-ai__footer-note{align-items:center;color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));display:flex;font-size:var(--tox-private-font-size-xs, 12px);height:24px;justify-content:center;letter-spacing:0;padding-top:var(--tox-private-pad-sm,8px);width:100%}.tox .tox-ai .tox-ai__models-menu{max-width:350px}.tox .tox-ai .tox-ai__models-menu .tox-menu{max-height:inherit;padding:var(--tox-private-pad-xs,4px)}.tox .tox-ai .tox-ai__models-menu__item__description{display:flex;flex-direction:column;align-items:start}.tox .tox-ai .tox-ai__models-menu__item__description__title{font-weight:var(--tox-private-font-weight-bold,bold);font-size:var(--tox-private-font-size-sm, 14px);line-height:calc(var(--tox-private-font-size-sm, 14px) * 1.28572);padding-bottom:4px}.tox .tox-ai .tox-ai__models-menu__item__description__content{color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));font-size:var(--tox-private-font-size-xs, 12px);line-height:calc(var(--tox-private-font-size-xs, 12px) * 1.33333)}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content{color:inherit}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content .tox-ai__models-menu__item__description__ability{color:var(--tox-private-color-white,#fff)}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content .tox-ai__models-menu__item__description__content_body{color:rgba(from var(--tox-private-color-white,#fff) r g b / .7)}.tox .tox-ai .tox-ai__models-menu__item__description__ability{color:var(--tox-private-text-color,#fff);padding-bottom:4px}.tox .tox-ai .tox-ai__models-menu__item__description__ability__enabled{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-ai .tox-ai-chat-history-list{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px);padding-top:var(--tox-private-pad-xs,4px);width:100%}.tox .tox-ai .tox-ai-chat-history-list .tox-collection__group{gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-chat-history-list__title{color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:18px;letter-spacing:1px}.tox .tox-ai .tox-ai-chat-history-list__item{display:flex;padding:12px;gap:var(--tox-private-pad-sm,8px);border-radius:var(--tox-private-control-border-radius,6px);cursor:pointer}.tox .tox-ai .tox-ai-chat-history-list__item.tox-ai-chat-history-list__item--active{background-color:var(--tox-private-background-secondary,#2f4055)}.tox .tox-ai .tox-ai-chat-history-list__item:focus,.tox .tox-ai .tox-ai-chat-history-list__item:focus-visible{background-color:var(--tox-private-background-secondary,#2f4055)}.tox .tox-ai .tox-ai-chat-history-list__item.tox-ai-chat-history-list__item-edit-title{background-color:var(--tox-private-background-secondary,#2f4055);flex-direction:column}.tox .tox-ai .tox-ai-chat-history-list__item-edit-actions{display:flex;justify-content:flex-end;width:100%;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-chat-history-list__item-edit-actions .tox-ai__spinner svg{fill:rgba(from var(--tox-private-color-white,#fff) r g b / 0.5)}.tox .tox-ai .tox-ai-chat-history-list__item-content{display:flex;flex-direction:column;margin-right:auto;overflow:hidden}.tox .tox-ai .tox-ai-chat-history-list__item-actions{display:flex;align-items:center;min-width:calc(24px + (var(--tox-private-pad-xs,4px) + 1px)*2)}.tox .tox-ai .tox-ai-chat-history-list__item-content-title{color:var(--tox-private-text-color,#fff);font-size:var(--tox-private-font-size-base, 16px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:var(--tox-private-font-size-lg, 20px);overflow:hidden;text-overflow:ellipsis}.tox .tox-ai .tox-ai-chat-history-list__item-content-date{color:var(--tox-private-text-color,#fff);font-size:var(--tox-private-font-size-xs, 12px);line-height:var(--tox-private-line-height-base, 1.3)}.tox .tox-ai .tox-sidebar-content__message{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;gap:var(--tox-private-pad-md,16px);width:100%}.tox .tox-ai .tox-sidebar-content__message-text{text-align:center;color:var(--tox-private-text-color,#fff);font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:20px}.tox .tox-ai .tox-sidebar-content__message-action{display:flex;justify-content:center;align-items:center;align-self:stretch}.tox .tox-ai .tox-ai-chat-action-button{line-height:var(--tox-private-base-value, 16px);font-size:var(--tox-private-font-size-xs, 12px);padding:6px var(--tox-private-pad-sm,8px);margin:var(--tox-private-pad-xs,4px) 0;font-weight:var(--tox-private-font-weight-normal,normal);width:min-content}.tox .tox-ai .tox-ai-chat-action-button .tox-icon{display:inline-flex;align-items:center;justify-content:center;height:16px;width:16px;overflow:hidden}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg{display:block;flex:none;fill:var(--tox-private-tinymceai-chat-action-button-icon-color,#fff)}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='24'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='24px']{transform:scale(calc(16 / 24))}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='20'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='20px']{transform:scale(calc(16 / 20))}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='18'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='18px']{transform:scale(calc(16 / 18))}.tox .tox-ai .tox-ai-chat-action-button:not(:has(+ .tox-ai-chat-action-button)){margin-bottom:var(--tox-private-pad-sm,8px)}.tox .tox-ai-removed-content{font-style:italic;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));line-height:var(--tox-private-line-height-base, 1.3);margin:0 1em}.tox .tox-ai-removed-content::before{content:"⊘ ";font-style:normal;font-size:calc(var(--tox-private-line-height-base, 1.3) * 1em)}.tox .tox-ai-html-content{font-size:var(--tox-private-font-size-md, 16px);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color,#fff);line-height:var(--tox-private-line-height-base, 1.3);overflow-x:auto}.tox .tox-ai-html-content:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#006ce7);outline-offset:var(--tox-private-tinymceai-html-content-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai-html-content h1{font-size:1.6em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.67em 0}.tox .tox-ai-html-content h2{font-size:1.4em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.83em 0}.tox .tox-ai-html-content h3{font-size:1.2em;font-weight:var(--tox-private-font-weight-bold,bold);margin:1em 0}.tox .tox-ai-html-content h4,.tox .tox-ai-html-content h5,.tox .tox-ai-html-content h6{font-size:1em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.33em 0}.tox .tox-ai-html-content p{margin:var(--tox-private-pad-sm,8px) 0}.tox .tox-ai-html-content ol,.tox .tox-ai-html-content ul{padding-left:2em;margin:1em 0}.tox .tox-ai-html-content li:has(input:first-child){list-style-type:none}.tox .tox-ai-html-content a{color:var(--tox-private-color-tint,#006ce7);-webkit-text-decoration:underline;text-decoration:underline;cursor:pointer}.tox .tox-ai-html-content a:link:active,.tox .tox-ai-html-content a:visited:active{color:#8864ad}.tox .tox-ai-html-content blockquote{border-left:2px solid var(--tox-private-separator-color,rgba(255,255,255,.15));margin-left:1.5rem;padding-left:1rem;font-style:italic}.tox .tox-ai-html-content code{font-family:ui-monospace,monospace;background:var(--tox-private-separator-color,rgba(255,255,255,.15));padding:.1em .2em;border-radius:4px}.tox .tox-ai-html-content pre code{display:block;font-family:ui-monospace,monospace;background:var(--tox-private-separator-color,rgba(255,255,255,.15));border-radius:4px;white-space:pre-wrap;margin:1em 0;overflow-wrap:break-word}.tox .tox-ai-html-content hr{border:none;border-top:1px solid var(--tox-private-border-color,#161f29)}.tox .tox-ai-html-content table{width:100%;border-collapse:collapse;margin:.5em 0;font-size:.95em;line-height:1.45}.tox .tox-ai-html-content table:not([cellpadding]) td,.tox .tox-ai-html-content table:not([cellpadding]) th{padding:.4rem}.tox .tox-ai-html-content td,.tox .tox-ai-html-content th{border:1px solid var(--tox-private-border-color,#161f29)}.tox .tox-ai-html-content th{font-weight:var(--tox-private-font-weight-bold,bold);text-align:left;white-space:nowrap}.tox .tox-ai-html-content b,.tox .tox-ai-html-content strong{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-ai-html-content em,.tox .tox-ai-html-content i{font-style:italic}.tox .tox-ai-html-content del{-webkit-text-decoration:line-through;text-decoration:line-through}.tox .tox-ai-html-content sub,.tox .tox-ai-html-content sup{font-size:.75em;line-height:0;vertical-align:baseline}.tox .tox-ai-html-content sup{vertical-align:super}.tox .tox-ai-html-content sub{vertical-align:sub}.tox .tox-ai-html-content mark{background:hsl(from var(--tox-private-color-active,#006ce7) h s l / 30%);padding:.05em .2em;border-radius:2px}.tox .tox-ai-html-content small{font-size:.85em}.tox .tox-ai-html-content kbd{font-family:ui-monospace,monospace;font-size:.85em;padding:.15em .4em;border-radius:4px;border:1px solid var(--tox-private-border-color,#161f29);background:var(--tox-private-separator-color,rgba(255,255,255,.15));box-shadow:inset 0 -1px 0 var(--tox-private-border-color,#161f29)}.tox .tox-ai-html-content img{max-width:100%;height:auto;vertical-align:middle;border-radius:4px}.tox .tox-expandable-box__content .tox-ai-html-content+.tox-ai-html-content::before,.tox .tox-expandable-box__content .tox-ai-html-content:has(+ .tox-ai-removed-content)::after,.tox .tox-expandable-box__content .tox-ai-removed-content+.tox-ai-html-content::before{content:"〰〰";color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));text-align:center;width:100%;display:block}.tox .tox-diff-preview{display:contents}.tox .tox-diff-preview__host{height:100%;position:relative;flex:1 1 0}.tox .tox-diff-preview__host:empty{pointer-events:none}.tox .tox-diff-preview__layer{display:flex;flex-direction:column;inset:0;position:absolute}.tox .tox-diff-preview__layer--loading .tox-diff-preview__frame{pointer-events:none;visibility:hidden}.tox .tox-diff-preview__viewport{flex:1 1 auto;min-height:0;position:relative}.tox .tox-diff-preview__frame{background-color:#fff;border:0;height:100%;min-height:0;position:relative;width:100%}.tox .tox-diff-preview__footer{background-color:var(--tox-private-background-color,#222f3e);border-top:1px solid #364a62;flex:0 0 auto}.tox .tox-diff-preview__toolbar{display:flex;gap:8px;justify-content:flex-end;padding:12px 16px}.tox .tox-ai__preview-overlay{position:absolute;inset:0;width:100%;height:100%;font-size:14px}.tox .tox-ai__preview-overlay--hidden{visibility:hidden}.tox .tox-ai__preview-overlay--pass-through{pointer-events:none}.tox .tox-ai__preview-overlay--dim{background:rgba(34,47,62,.2)}.tox .tox-ai__preview-overlay--centered{display:flex;align-items:center;justify-content:center}.tox .tox-ai__preview-overlay--clipped{overflow:clip}.tox .tox-tinymceai-previewloader{display:flex;align-items:center;gap:var(--tox-private-pad-md,16px);padding:var(--tox-private-pad-sm,8px);border-radius:var(--tox-private-panel-border-radius,6px);box-shadow:var(--tox-private-ai-preview-loader-box-shadow,0 0 40px 1px rgba(34,47,62,.15),0 16px 16px -10px rgba(34,47,62,.15));background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color,#fff);pointer-events:auto}.tox .tox-tinymceai-previewloader__content{display:flex;align-items:center;justify-content:center;padding:0 var(--tox-private-pad-xs,4px);gap:var(--tox-private-pad-sm,8px)}.tox .tox-selector{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;display:inline-block;height:10px;position:absolute;width:10px}.tox.tox-platform-touch .tox-selector{height:12px;width:12px}.tox .tox-skeleton .tox-skeleton__line{height:16px;width:100%;background:linear-gradient(to right,rgba(240,240,240,.5) 8%,rgba(240,240,240,.7) 18%,rgba(240,240,240,.5) 33%);animation:wave 2s infinite ease-out}.tox .tox-skeleton .tox-skeleton__circle{height:36px;width:36px;margin-right:8px;border-radius:100%;background:linear-gradient(to right,rgba(240,240,240,.5) 8%,rgba(240,240,240,.7) 18%,rgba(240,240,240,.5) 33%);animation:wave 2s infinite ease-out}@keyframes wave{0%{background-position:-268px 0}100%{background-position:268px 0}}.tox .tox-slider{align-items:center;display:flex;flex:1;height:24px;justify-content:center;position:relative}.tox .tox-slider__rail{background-color:transparent;border:1px solid #161f29;border-radius:6px;height:10px;min-width:120px;width:100%}.tox .tox-slider__handle{background-color:#006ce7;border:2px solid #0054b4;border-radius:6px;box-shadow:none;height:24px;left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%);width:14px}.tox .tox-form__controls-h-stack>.tox-slider:not(:first-of-type){margin-inline-start:8px}.tox .tox-form__controls-h-stack>.tox-form__group+.tox-slider{margin-inline-start:32px}.tox .tox-form__controls-h-stack>.tox-slider+.tox-form__group{margin-inline-start:32px}.tox .tox-toolbar-slider{align-items:center;display:inline-flex;height:16px}.tox .tox-toolbar-slider__input{appearance:none;background:#161f29;border-radius:16px;width:130px;height:2px}.tox .tox-toolbar-slider__input::-webkit-slider-runnable-track{background-color:transparent;height:16px}.tox .tox-toolbar-slider__input::-moz-range-track{background-color:transparent;height:16px}.tox .tox-toolbar-slider__input::-webkit-slider-thumb{-webkit-appearance:none;background-color:#006ce7;border-radius:16px;border:none;height:16px;width:16px}.tox .tox-toolbar-slider__input::-moz-range-thumb{appearance:none;background-color:#006ce7;border-radius:16px;border:none;height:16px;width:16px}.tox .tox-toolbar-slider__input:focus-visible{outline:0}.tox .tox-toolbar-slider__input:focus::-webkit-slider-thumb{background-color:#0060ce;box-shadow:inset 0 0 0 1px #fff,0 0 0 2px #006ce7}.tox .tox-toolbar-slider__input:focus::-moz-range-thumb{background-color:#0060ce;box-shadow:inset 0 0 0 1px #fff,0 0 0 2px #006ce7}.tox .tox-toolbar-slider__input:hover::-webkit-slider-thumb{background-color:#0060ce}.tox .tox-toolbar-slider__input:hover::-moz-range-thumb{background-color:#0060ce}.tox .tox-toolbar-slider__input:active::-webkit-slider-thumb{background-color:#0054b4}.tox .tox-toolbar-slider__input:active::-moz-range-thumb{background-color:#0054b4}.tox .tox-toolbar-slider__input[disabled]::-webkit-slider-thumb{background-color:rgba(255,255,255,.5)}.tox .tox-toolbar-slider__input[disabled]::-moz-range-thumb{background-color:rgba(255,255,255,.5)}.tox .tox-source-code{overflow:auto}.tox .tox-spinner{display:flex}.tox .tox-spinner>div{animation:tam-bouncing-dots 1.5s ease-in-out 0s infinite both;background-color:rgba(255,255,255,.5);border-radius:100%;height:8px;width:8px}.tox .tox-spinner>div:first-child{animation-delay:-.32s}.tox .tox-spinner>div:nth-child(2){animation-delay:-.16s}@keyframes tam-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox:not([dir=rtl]) .tox-spinner>div:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-spinner>div:not(:first-child){margin-right:4px}.tox .tox-ai__spinner{--tox-private-spinner-color:var(--tox-private-color-tint, #006ce7);--tox-private-spinner-size:24px;--tox-private-spinner-circle-width:3px;--tox-private-spinner-dot-size:6px;width:var(--tox-private-spinner-size);aspect-ratio:1/1}.tox .tox-ai__spinner--small{--tox-private-spinner-size:16px;--tox-private-spinner-circle-width:2px;--tox-private-spinner-dot-size:4px}.tox .tox-ai__spinner--circle{animation:tox-rotation 1s linear infinite;border-radius:50%;background:conic-gradient(var(--tox-private-spinner-color) 0 calc(360deg - 30deg),transparent calc(360deg - 30deg) 100%);mask:radial-gradient(calc((var(--tox-private-spinner-size) - var(--tox-private-spinner-circle-width) * 2)/ 2),#0000 98%,#000)}.tox .tox-ai__spinner--dots{display:flex;align-items:center;justify-content:center;gap:1px}.tox .tox-ai__spinner--dots>div{animation:tox-bouncing-dots 1.5s ease-in-out 0s infinite both;aspect-ratio:1/1;width:var(--tox-private-spinner-dot-size);background-color:var(--tox-private-spinner-color);border-radius:100%}.tox .tox-ai__spinner--dots>div:first-child{animation-delay:-.32s}.tox .tox-ai__spinner--dots>div:nth-child(2){animation-delay:-.16s}.tox .tox-tinymceai__annotation--added,.tox .tox-tinymceai__annotation--modified,.tox .tox-tinymceai__annotation--removed{padding-block:calc((1lh - 1.1em)/ 2);-webkit-text-decoration:none;text-decoration:none;background-repeat:no-repeat;text-decoration-thickness:max(1px,0.07em)}.tox .tox-tinymceai__annotation--added__highlight{background-position:bottom;background-image:linear-gradient(rgba(120,171,70,.2) calc(100% - 2px),#78ab46 calc(100% - 2px))}.tox .tox-tinymceai__annotation--added__selected{background-image:none;background-color:rgba(120,171,70,.2);box-shadow:0 2px 0 0 #006ce7,0 -2px 0 0 #006ce7}.tox .tox-tinymceai__annotation--modified__highlight{background-position:bottom;background-image:linear-gradient(rgba(0,108,231,.2) calc(100% - 2px),#006ce7 calc(100% - 2px))}.tox .tox-tinymceai__annotation--modified__selected{background-image:none;background-color:rgba(0,108,231,.2);box-shadow:0 2px 0 0 #006ce7,0 -2px 0 0 #006ce7}.tox .tox-tinymceai__annotation--removed__highlight{-webkit-text-decoration:line-through;text-decoration:line-through;background-position:bottom;background-image:linear-gradient(rgba(204,0,0,.2) calc(100% - 2px),#c00 calc(100% - 2px))}.tox .tox-tinymceai__annotation--removed__selected{-webkit-text-decoration:line-through;text-decoration:line-through;background-image:none;background-color:rgba(204,0,0,.2);box-shadow:0 2px 0 0 #006ce7,0 -2px 0 0 #006ce7}.tox .mce-object.tox-tinymceai__annotation--added,.tox .mce-object.tox-tinymceai__annotation--modified,.tox .mce-object.tox-tinymceai__annotation--removed,.tox .mce-preview-object.tox-tinymceai__annotation--added,.tox .mce-preview-object.tox-tinymceai__annotation--modified,.tox .mce-preview-object.tox-tinymceai__annotation--removed,.tox iframe.tox-tinymceai__annotation--added,.tox iframe.tox-tinymceai__annotation--modified,.tox iframe.tox-tinymceai__annotation--removed,.tox img.tox-tinymceai__annotation--added,.tox img.tox-tinymceai__annotation--modified,.tox img.tox-tinymceai__annotation--removed,.tox video.tox-tinymceai__annotation--added,.tox video.tox-tinymceai__annotation--modified,.tox video.tox-tinymceai__annotation--removed{padding-block:0;vertical-align:top}.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object),.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object),.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object){padding-block:0}.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) video,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) video,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) video{vertical-align:top}.tox del.tox-tinymceai__annotation--added__selected,.tox ins.tox-tinymceai__annotation--added__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#006ce7 3px,rgba(120,171,70,.2) 3px,rgba(120,171,70,.2) calc(100% - 3px),#006ce7 calc(100% - 3px))}.tox del.tox-tinymceai__annotation--modified__selected,.tox ins.tox-tinymceai__annotation--modified__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#006ce7 3px,rgba(0,108,231,.2) 3px,rgba(0,108,231,.2) calc(100% - 3px),#006ce7 calc(100% - 3px))}.tox del.tox-tinymceai__annotation--removed__selected,.tox ins.tox-tinymceai__annotation--removed__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#006ce7 3px,rgba(204,0,0,.2) 3px,rgba(204,0,0,.2) calc(100% - 3px),#006ce7 calc(100% - 3px))}.tox .tox-tinymceai__annotation--added.tox-tinymceai__annotation--added__hidden,.tox .tox-tinymceai__annotation--modified.tox-tinymceai__annotation--modified__hidden,.tox .tox-tinymceai__annotation--removed.tox-tinymceai__annotation--removed__hidden{display:none;-webkit-text-decoration:none;text-decoration:none}.tox :has(> div > iframe).tox-tinymceai__annotation--added,.tox :has(> div > iframe).tox-tinymceai__annotation--modified,.tox :has(> div > iframe).tox-tinymceai__annotation--removed{padding:7px;margin:5px}.tox iframe.tox-tinymceai__annotation--added__highlight,.tox img.tox-tinymceai__annotation--added__highlight,.tox video.tox-tinymceai__annotation--added__highlight{background-color:#334840;background-image:none;border:2px solid #78ab46;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--added__selected,.tox img.tox-tinymceai__annotation--added__selected,.tox video.tox-tinymceai__annotation--added__selected{background-color:#334840;background-image:none;border:2px solid #78ab46;padding:0;vertical-align:top;border-color:#334840;outline:2px solid #006ce7}.tox iframe.tox-tinymceai__annotation--modified__highlight,.tox img.tox-tinymceai__annotation--modified__highlight,.tox video.tox-tinymceai__annotation--modified__highlight{background-color:#1b3b60;background-image:none;border:2px solid #006ce7;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--modified__selected,.tox img.tox-tinymceai__annotation--modified__selected,.tox video.tox-tinymceai__annotation--modified__selected{background-color:#1b3b60;background-image:none;border:2px solid #006ce7;padding:0;vertical-align:top;border-color:#1b3b60;outline:2px solid #006ce7}.tox iframe.tox-tinymceai__annotation--removed__highlight,.tox img.tox-tinymceai__annotation--removed__highlight,.tox video.tox-tinymceai__annotation--removed__highlight{background-color:#442632;background-image:none;border:2px solid #c00;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--removed__selected,.tox img.tox-tinymceai__annotation--removed__selected,.tox video.tox-tinymceai__annotation--removed__selected{background-color:#442632;background-image:none;border:2px solid #c00;padding:0;vertical-align:top;border-color:#442632;outline:2px solid #006ce7}.tox .tox-tinymceai__annotation--removed__highlight iframe,.tox .tox-tinymceai__annotation--removed__highlight img,.tox .tox-tinymceai__annotation--removed__highlight video,.tox .tox-tinymceai__annotation--removed__selected iframe,.tox .tox-tinymceai__annotation--removed__selected img,.tox .tox-tinymceai__annotation--removed__selected video{background-color:#442632;background-image:none;border:2px solid #c00;padding:0;vertical-align:top}.tox .tox-tinymceai__annotation--removed__selected iframe,.tox .tox-tinymceai__annotation--removed__selected img,.tox .tox-tinymceai__annotation--removed__selected video{border-color:#442632;outline:2px solid #006ce7}.tox div.tox-tinymceai__annotation:has(> hr){background-size:auto;padding:.25em}.tox div.tox-tinymceai__annotation--removed__highlight>hr{border-color:rgba(0,0,0,.2)}.tox div.tox-tinymceai__annotation--added__highlight>hr{border-color:rgba(0,0,0,.2)}.tox .tox-tinymceai__deleted-media-overlay{inset:0;overflow:hidden;pointer-events:none;position:absolute;z-index:11}.tox .tox-tinymceai__deleted-media-wash{fill:#222F3E;fill-opacity:0.4}.tox .tox-tinymceai__deleted-media-mark{stroke:#c00}.tox .tox-tinymceai__deleted-media-halo{stroke:#fff}.tox .mce-pagebreak.tox-tinymceai__annotation--added__selected,.tox .mce-pagebreak.tox-tinymceai__annotation--modified__selected,.tox .mce-pagebreak.tox-tinymceai__annotation--removed__selected{border:1px dashed #aaa;box-shadow:none;background-image:none}.tox .mce-pagebreak.tox-tinymceai__annotation--added__highlight,.tox .mce-pagebreak.tox-tinymceai__annotation--modified__highlight,.tox .mce-pagebreak.tox-tinymceai__annotation--removed__highlight{padding:0}.tox .tox-tinymceai__diff-focus-overlay{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:10}.tox .tox-tinymceai__diff-focus-overlay-dim{fill:rgba(34,47,62,0.2)}.tox .tox-ai__scroll:has(.tox-card-group){padding-top:0}.tox .tox-ai__scroll:has(.tox-card-group) .tox-ai__review-sidebar-container .tox-card-list{gap:0}.tox .tox-ai__scroll .tox-ai__review-sidebar-container{scrollbar-gutter:stable;width:100%;height:100%;display:flex;flex-direction:column;gap:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-card-list{gap:8px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-card-group__title{margin-inline:-12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-initializing{padding:var(--tox-private-pad-md,16px)}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-description{padding-bottom:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));font-size:var(--tox-private-font-size-sm, 14px)}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-choose-container{padding-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-custom-input{margin-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-custom-actions{display:flex;gap:8px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container{margin-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container button.tox-ai__review-input-button{width:100%;background-color:var(--tox-private-background-color,#222f3e);display:flex;justify-content:space-between;align-items:center;border:1px solid #161f29;border-radius:6px;box-sizing:border-box}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container .tox-ai__review-dropdown-content{width:anchor-size(width)}.tox .tox-statusbar{align-items:center;background-color:#222f3e;border-top:1px solid rgba(255,255,255,.15);color:rgba(255,255,255,.75);display:flex;flex:0 0 auto;font-size:14px;font-weight:400;height:25px;overflow:hidden;padding:0 8px;position:relative;text-transform:none}.tox .tox-statusbar__path{display:flex;flex:1 1 auto;text-overflow:ellipsis;white-space:nowrap}.tox .tox-statusbar__right-container{display:flex;justify-content:flex-end;white-space:nowrap}.tox .tox-statusbar__help-text{text-align:center}.tox .tox-statusbar__text-container{align-items:flex-start;display:flex;flex:1 1 auto;height:16px;justify-content:space-between}@media only screen and (min-width:768px){.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__help-text,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__path,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__right-container{flex:0 0 calc(100% / 3)}}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-end{justify-content:flex-end}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-start{justify-content:flex-start}.tox .tox-statusbar__text-container.tox-statusbar__text-container--space-around{justify-content:space-around}.tox .tox-statusbar__path>*{display:inline;white-space:nowrap}.tox .tox-statusbar__wordcount{flex:0 0 auto;margin-left:1ch}@media only screen and (max-width:767px){.tox .tox-statusbar__text-container .tox-statusbar__help-text{display:none}.tox .tox-statusbar__text-container .tox-statusbar__help-text:only-child{display:block}}.tox .tox-statusbar a,.tox .tox-statusbar__path-item,.tox .tox-statusbar__wordcount{color:rgba(255,255,255,.75);position:relative;-webkit-text-decoration:none;text-decoration:none}.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]){color:#fff;cursor:pointer}.tox .tox-statusbar a:focus-visible::after,.tox .tox-statusbar__path-item:focus-visible::after,.tox .tox-statusbar__wordcount:focus-visible::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-statusbar a:focus-visible::after,.tox .tox-statusbar__path-item:focus-visible::after,.tox .tox-statusbar__wordcount:focus-visible::after{border:2px solid highlight}}.tox .tox-statusbar__branding svg{fill:rgba(255,255,255,0.8);height:1em;margin-left:.3em;width:auto}@media (forced-colors:active){.tox .tox-statusbar__branding svg{fill:currentColor}}.tox .tox-statusbar__branding a{align-items:center;display:inline-flex}.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg,.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg{fill:#fff}.tox .tox-statusbar__resize-cursor-default{cursor:ns-resize}.tox .tox-statusbar__resize-cursor-both{cursor:nwse-resize}.tox .tox-statusbar__resize-handle{align-items:flex-end;align-self:stretch;display:flex;flex:0 0 auto;justify-content:flex-end;margin-bottom:3px;margin-left:4px;margin-right:calc(3px - 8px);margin-top:3px;padding-bottom:0;padding-left:0;padding-right:0;position:relative}.tox .tox-statusbar__resize-handle svg{display:block;fill:rgba(255,255,255,0.5)}.tox .tox-statusbar__resize-handle:focus svg,.tox .tox-statusbar__resize-handle:hover svg{fill:#fff}.tox .tox-statusbar__resize-handle:focus-visible{background-color:transparent;border-radius:1px 1px 5px 1px;box-shadow:0 0 0 2px transparent}.tox .tox-statusbar__resize-handle:focus-visible::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-statusbar__resize-handle:focus-visible::after{border:2px solid highlight}}.tox .tox-statusbar__resize-handle:only-child{margin-left:auto}.tox:not([dir=rtl]) .tox-statusbar__path>*{margin-right:4px}.tox:not([dir=rtl]) .tox-statusbar__branding{margin-left:2ch}.tox[dir=rtl] .tox-statusbar{flex-direction:row-reverse}.tox[dir=rtl] .tox-statusbar__path>*{margin-left:4px}.tox[dir=rtl] .tox-statusbar__branding svg{margin-left:0;margin-right:.3em}.tox a.tox-tag{cursor:pointer}.tox .tox-tag{width:fit-content;box-sizing:border-box;display:flex;padding:var(--tox-private-pad-xs,4px) 6px;position:relative;align-items:center;gap:var(--tox-private-pad-xs,4px);border-radius:3px;background:hsl(from var(--tox-private-color-tint,#006ce7) h s l / 10%);line-height:var(--tox-private-base-value, 16px);font-size:var(--tox-private-font-size-xs, 12px)}.tox .tox-tag::before{border-radius:var(--tox-private-control-border-radius,6px);bottom:calc(-1 * var(--tox-private-tag-border-width,1px));box-shadow:var(--tox-private-tag-focus-outline,inset 0 0 0 1px #fff,0 0 0 2px #006ce7);content:'';left:calc(-1 * var(--tox-private-tag-border-width,1px));opacity:0;pointer-events:none;position:absolute;right:calc(-1 * var(--tox-private-tag-border-width,1px));top:calc(-1 * var(--tox-private-tag-border-width,1px))}.tox .tox-tag:focus:not(:disabled)::before{opacity:1}.tox .tox-tag>*{flex-shrink:0}.tox .tox-tag .tox-icon{height:var(--tox-private-base-value,16px);fill:var(--tox-private-text-color,#fff)}.tox .tox-tag .tox-tag__label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;flex-shrink:1;color:var(--tox-private-text-color,#fff)}.tox .tox-tag .tox-tag__close{height:var(--tox-private-base-value,16px)}.tox .tox-tag .tox-tag__close .tox-button.tox-button--icon{border:0;padding:0;color:var(--tox-private-text-color-muted,rgba(255,255,255,.5))}.tox .tox-tag .tox-tag__close .tox-button.tox-button--icon::before{box-shadow:none}.tox .tox-throbber{z-index:1299}.tox .tox-throbber__busy-spinner{align-items:center;background-color:rgba(34,47,62,.6);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.tox .tox-segmented-control{display:inline-flex;position:relative;border:none;border-radius:var(--tox-private-control-border-radius,6px);box-shadow:inset 0 0 0 1px var(--tox-private-segmented-control-border-color,#364a62);overflow:hidden;padding:var(--tox-private-pad-xs,4px);background-color:var(--tox-private-background-color,#222f3e)}.tox .tox-segmented-control__segment{flex:1;padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-sm,8px);cursor:pointer;background:0 0;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:16px;border:1px solid transparent;border-radius:calc(var(--tox-private-control-border-radius,6px) - 1px);text-align:center;white-space:nowrap;display:inline-block;vertical-align:middle;color:var(--tox-private-segmented-control-text-color,#fff)}.tox .tox-segmented-control__segment--active{border-color:var(--tox-private-segmented-control-active-border-color,#006ce7);color:var(--tox-private-segmented-control-active-text-color,#006ce7);background-color:var(--tox-private-segmented-control-active-bg-color,rgba(0,108,231,.1))}.tox .tox-segmented-control:not(.tox-segmented-control--disabled) .tox-segmented-control__segment{transition:all .2s}.tox .tox-segmented-control.tox-segmented-control--disabled .tox-segmented-control__segment{opacity:.5;cursor:not-allowed;pointer-events:none}.tox .tox-segmented-control__segment:focus{outline:2px solid var(--tox-private-color-tint,#006ce7);outline-offset:2px}.tox .tox-segmented-control__segment:focus:not(:focus-visible){outline:0}.tox .tox-toggle{display:flex;align-items:center;gap:var(--tox-private-pad-xs,4px);padding:var(--tox-private-pad-xs,4px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:var(--tox-private-control-line-height, 24px);white-space:nowrap;background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color,#fff)}.tox .tox-toggle input{position:absolute;opacity:0;width:0;height:0}.tox .tox-toggle__slider{position:relative;cursor:pointer;box-sizing:border-box;transition:.4s;border-radius:34px;width:28px;height:16px;background-color:var(--tox-private-slider-background-color,#222f3e);border:1px solid var(--tox-private-slider-border-color,rgba(255,255,255,.15))}.tox .tox-toggle__slider::before{position:absolute;content:"";height:12px;width:12px;left:1px;bottom:1px;transition:.4s;border-radius:50%;background-color:var(--tox-private-slider-handle-background-color,#fff)}.tox input:checked+.tox-toggle__slider{background-color:var(--tox-private-slider-checked-background-color,#006ce7);border:1px solid var(--tox-private-slider-checked-border-color,#006ce7)}.tox input:focus+.tox-toggle__slider{box-shadow:0 0 0 1px var(--tox-private-color-white,#fff),0 0 0 2px var(--tox-private-color-tint,#006ce7)}.tox input:checked+.tox-toggle__slider::before{transform:translateX(12px);background-color:var(--tox-private-slider-checked-handle-background-color,#fff)}.tox input:disabled+.tox-toggle__slider::before{opacity:50%}.tox .tox-tbtn{align-items:center;background:#222f3e;border:0;border-radius:3px;box-shadow:none;color:#fff;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;justify-content:center;margin:6px 1px 5px 0;outline:0;padding:0;text-transform:none;width:34px}.tox .tox-tbtn .tox-tbtn__icon-wrap{pointer-events:none}@media (forced-colors:active){.tox .tox-tbtn.tox-tbtn:hover,.tox .tox-tbtn:hover{outline:1px dashed currentColor}.tox .tox-tbtn.tox-tbtn--active,.tox .tox-tbtn.tox-tbtn--enabled,.tox .tox-tbtn.tox-tbtn--enabled:focus,.tox .tox-tbtn.tox-tbtn--enabled:hover,.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){outline:1px solid currentColor;position:relative}}.tox .tox-tbtn svg{display:block;fill:#fff}@media (forced-colors:active){.tox .tox-tbtn svg{fill:currentColor!important}.tox .tox-tbtn svg.tox-tbtn--enabled,.tox .tox-tbtn svg:focus:not(.tox-tbtn--disabled){fill:currentColor!important}.tox .tox-tbtn svg .tox-tbtn:disabled,.tox .tox-tbtn svg .tox-tbtn:disabled:hover,.tox .tox-tbtn svg.tox-tbtn--disabled,.tox .tox-tbtn svg.tox-tbtn--disabled:hover{filter:contrast(0%)}}.tox .tox-tbtn.tox-tbtn-more{padding-left:5px;padding-right:5px;width:inherit}.tox .tox-tbtn:focus{background:#222f3e;border:0;box-shadow:none;position:relative;z-index:1}.tox .tox-tbtn:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-tbtn:focus::after{border:2px solid highlight}}.tox .tox-tbtn:hover{background:#2f4055;border:0;box-shadow:none;color:#fff}.tox .tox-tbtn:hover svg{fill:#fff}.tox .tox-tbtn:active{background:#599fef;border:0;box-shadow:none;color:#fff}.tox .tox-tbtn:active svg{fill:#fff}.tox .tox-tbtn--disabled .tox-tbtn--enabled svg{fill:rgba(255,255,255,0.5)}.tox .tox-tbtn--disabled,.tox .tox-tbtn--disabled:hover,.tox .tox-tbtn:disabled,.tox .tox-tbtn:disabled:hover{background:#222f3e;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-tbtn--disabled svg,.tox .tox-tbtn--disabled:hover svg,.tox .tox-tbtn:disabled svg,.tox .tox-tbtn:disabled:hover svg{fill:rgba(255,255,255,0.5)}.tox .tox-tbtn--active,.tox .tox-tbtn--enabled,.tox .tox-tbtn--enabled:focus,.tox .tox-tbtn--enabled:hover{background:#599fef;border:0;box-shadow:none;color:#fff;position:relative}.tox .tox-tbtn--active>*,.tox .tox-tbtn--enabled:focus>*,.tox .tox-tbtn--enabled:hover>*,.tox .tox-tbtn--enabled>*{transform:none}.tox .tox-tbtn--active svg,.tox .tox-tbtn--enabled svg,.tox .tox-tbtn--enabled:focus svg,.tox .tox-tbtn--enabled:hover svg{fill:#fff}.tox .tox-tbtn--active.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled:focus.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled:hover.tox-tbtn--disabled svg{fill:rgba(255,255,255,0.5)}.tox .tox-tbtn--enabled:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-tbtn--enabled:focus::after{border:2px solid highlight}}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){color:#fff}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg{fill:#fff}.tox .tox-tbtn:active>*{transform:none}.tox .tox-tbtn--md{height:42px;width:51px}.tox .tox-tbtn--lg{flex-direction:column;height:56px;width:68px}.tox .tox-tbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tbtn--labeled{padding:0 4px;width:unset}.tox .tox-tbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-label--context-toolbar{margin:6px 1px 5px 0;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-number-input{background:#2f4055;border-radius:3px;display:flex;margin:6px 1px 5px 0;position:relative;width:auto}.tox .tox-number-input:focus{background:#2f4055}.tox .tox-number-input:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input:focus::after{border:2px solid highlight}}.tox .tox-number-input .tox-input-wrapper{display:flex;pointer-events:none;position:relative;text-align:center}.tox .tox-number-input .tox-input-wrapper:focus{background-color:#2f4055;z-index:1}.tox .tox-number-input .tox-input-wrapper:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input .tox-input-wrapper:focus::after{border:2px solid highlight}}.tox .tox-number-input .tox-input-wrapper:has(input:focus)::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input .tox-input-wrapper:has(input:focus)::after{border:2px solid highlight}}.tox .tox-number-input input{border-radius:3px;color:#fff;font-size:14px;margin:2px 0;pointer-events:all;position:relative;width:60px}.tox .tox-number-input input:hover{background:#2f4055;color:#fff}.tox .tox-number-input input:focus{background-color:#2f4055}.tox .tox-number-input input:disabled{background:#222f3e;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-number-input button{color:#fff;height:28px;position:relative;text-align:center;width:24px}@media (forced-colors:active){.tox .tox-number-input button:active,.tox .tox-number-input button:focus,.tox .tox-number-input button:hover{outline:1px solid currentColor!important}}.tox .tox-number-input button svg{display:block;fill:#fff;margin:0 auto;transform:scale(.67)}@media (forced-colors:active){.tox .tox-number-input button svg,.tox .tox-number-input button svg:active,.tox .tox-number-input button svg:hover{fill:currentColor!important}.tox .tox-number-input button svg:disabled{filter:contrast(0)}}.tox .tox-number-input button:focus{background:#2f4055;z-index:1}.tox .tox-number-input button:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input button:focus::after{border:2px solid highlight}}.tox .tox-number-input button:hover{background:#2f4055;border:0;box-shadow:none;color:#fff}.tox .tox-number-input button:hover svg{fill:#fff}.tox .tox-number-input button:active{background:#599fef;border:0;box-shadow:none;color:#fff}.tox .tox-number-input button:active svg{fill:#fff}.tox .tox-number-input button:disabled{background:#222f3e;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-number-input button:disabled svg{fill:rgba(255,255,255,0.5)}.tox .tox-number-input button.minus{border-radius:3px 0 0 3px}.tox .tox-number-input button.plus{border-radius:0 3px 3px 0}.tox .tox-number-input:focus:not(:active)>.tox-input-wrapper,.tox .tox-number-input:focus:not(:active)>button{background:#2f4055}.tox .tox-tbtn--select{margin:6px 1px 5px 0;padding:0 4px;width:auto}.tox .tox-tbtn--bordered,.tox .tox-tbtn--bordered:focus,.tox .tox-tbtn--bordered:hover{border:1px solid #161f29}.tox .tox-tbtn__select-label{cursor:default;font-weight:400;height:initial;margin:0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-tbtn__select-chevron svg{fill:rgba(255,255,255,0.5)}@media (forced-colors:active){.tox .tox-tbtn__select-chevron svg{fill:currentColor}}.tox .tox-tbtn--bespoke{background:#2f4055}.tox .tox-tbtn--bespoke:focus{background:#2f4055}.tox .tox-tbtn--bespoke+.tox-tbtn--bespoke{margin-inline-start:4px}.tox .tox-tbtn--bespoke .tox-tbtn__select-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:7em}.tox .tox-tbtn--disabled .tox-tbtn__select-label,.tox .tox-tbtn--select:disabled .tox-tbtn__select-label{cursor:not-allowed}.tox .tox-split-button__main{border-radius:3px 0 0 3px;margin-right:0}.tox .tox-split-button__main:focus{border:0;box-shadow:none;background:#222f3e;color:#fff;position:relative;z-index:1}.tox .tox-split-button__main:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0;border-radius:3px 0 0 3px}@media (forced-colors:active){.tox .tox-split-button__main:focus::after{border:2px solid highlight}}.tox .tox-split-button__chevron{width:16px;border-radius:0 3px 3px 0;margin-left:0}.tox .tox-split-button__chevron:focus{border:0;box-shadow:none;background:#222f3e;color:#fff;position:relative;z-index:1}.tox .tox-split-button__chevron:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0;border-radius:0 3px 3px 0}@media (forced-colors:active){.tox .tox-split-button__chevron:focus::after{border:2px solid highlight}}.tox .tox-split-button__chevron svg{fill:rgba(255,255,255,0.5)}@media (forced-colors:active){.tox .tox-split-button__chevron svg{fill:currentColor}}.tox.tox-platform-touch .tox-split-button__main{width:30px}.tox.tox-platform-touch .tox-split-button__chevron{width:20px}.tox .tox-split-button__chevron.tox-tbtn--disabled,.tox .tox-split-button__main.tox-tbtn--disabled{background:#222f3e;box-shadow:none;color:rgba(255,255,255,.5)}.tox .tox-split-button__chevron.tox-tbtn--disabled:hover,.tox .tox-split-button__main.tox-tbtn--disabled:hover{background:#222f3e;box-shadow:none;color:rgba(255,255,255,.5)}.tox .tox-split-button__chevron.tox-tbtn--disabled:focus,.tox .tox-split-button__main.tox-tbtn--disabled:focus{background:#222f3e;box-shadow:none;color:rgba(255,255,255,.5)}.tox .tox-split-button__main.tox-tbtn--disabled svg .tox-icon-highlight-bg-color__color,.tox .tox-split-button__main.tox-tbtn--disabled svg .tox-icon-text-color__color{opacity:.3}.tox .tox-toolbar-overlord{background-color:#222f3e}.tox .tox-toolbar,.tox .tox-toolbar__overflow,.tox .tox-toolbar__primary{background-attachment:local;background-color:#222f3e;background-image:repeating-linear-gradient(rgba(255,255,255,.15) 0 1px,transparent 1px 39px);background-position:center top 40px;background-repeat:no-repeat;background-size:calc(100% - 11px * 2) calc(100% - 41px);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;padding:0 0;transform:perspective(1px)}.tox .tox-toolbar-overlord>.tox-toolbar,.tox .tox-toolbar-overlord>.tox-toolbar__overflow,.tox .tox-toolbar-overlord>.tox-toolbar__primary{background-position:center top 0;background-size:calc(100% - 11px * 2) calc(100% - 0px)}.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed{height:0;opacity:0;padding-bottom:0;padding-top:0;visibility:hidden}.tox .tox-toolbar__overflow--growing{transition:height .3s ease,opacity .2s linear .1s}.tox .tox-toolbar__overflow--shrinking{transition:opacity .3s ease,height .2s linear .1s,visibility 0s linear .3s}.tox .tox-anchorbar,.tox .tox-toolbar-overlord{grid-column:1/-1}.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{border-top:1px solid transparent;margin-top:-1px;padding-bottom:1px;padding-top:1px}@media (forced-colors:active){.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{outline:1px solid currentColor}}.tox .tox-toolbar--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-pop .tox-toolbar{border-width:0}.tox .tox-toolbar--no-divider{background-image:none}.tox .tox-toolbar-overlord .tox-toolbar:not(.tox-toolbar--scrolling):first-child,.tox .tox-toolbar-overlord .tox-toolbar__primary{background-position:center top 39px}.tox .tox-editor-header>.tox-toolbar--scrolling,.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child{background-image:none}.tox .tox-focusable-wrapper{border:1px solid transparent;margin-right:2px;pointer-events:none}.tox .tox-focusable-wrapper .tox-textfield-size{pointer-events:all}.tox .tox-focusable-wrapper:focus{background-color:#2f4055;border-radius:6px;border-style:solid;border-width:1px}.tox.tox-tinymce-aux .tox-toolbar__overflow{background-color:#222f3e;background-position:center top 43px;background-size:calc(100% - 8px * 2) calc(100% - 51px);border:none;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);overscroll-behavior:none;padding:4px 0}@media (forced-colors:active){.tox.tox-tinymce-aux .tox-toolbar__overflow{border:solid}}.tox-pop .tox-pop__dialog .tox-toolbar{background-position:center top 43px;background-size:calc(100% - 11px * 2) calc(100% - 51px);padding:4px 0}.tox-context-form__group{display:flex;align-items:center}.tox .tox-toolbar__group{align-items:center;display:flex;flex-wrap:wrap;margin:0 0;padding:0 11px 0 12px}.tox .tox-toolbar__group--pull-right{margin-left:auto}.tox .tox-toolbar--scrolling .tox-toolbar__group{flex-shrink:0;flex-wrap:nowrap}.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type){border-right:1px solid transparent}.tox[dir=rtl] .tox-toolbar__group:not(:last-of-type){border-left:1px solid transparent}.tox .tox-toolbar-input-form{display:flex;align-items:center;background-color:var(--tox-private-background-color,#222f3e);padding:0 var(--tox-private-pad-sm,8px)}.tox .tox-tooltip{display:inline-block;max-width:min(80%,15em);padding:8px 0 0 0;position:relative;width:max-content;z-index:1150}.tox .tox-tooltip.tox-tooltip--anchor{display:none;padding:var(--tox-private-pad-xs,4px) 0 0;position:fixed;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;height:fit-content}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--up{position-area:block-end}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--down{position-area:block-start}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--left{position-area:inline-start}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--right{position-area:inline-end}.tox .tox-tooltip__body{background-color:#324053;border-radius:6px;box-shadow:none;color:#fff;font-size:12px;font-style:normal;font-weight:600;overflow-wrap:break-word;padding:4px 6px;text-transform:none}@media (forced-colors:active){.tox .tox-tooltip__body{outline:outset 1px}}.tox .tox-tooltip__arrow{position:absolute}.tox .tox-tooltip--down .tox-tooltip__arrow{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #324053;bottom:0;left:50%;position:absolute;transform:translateX(-50%)}.tox .tox-tooltip--up .tox-tooltip__arrow{border-bottom:8px solid #324053;border-left:8px solid transparent;border-right:8px solid transparent;left:50%;position:absolute;top:0;transform:translateX(-50%)}.tox .tox-tooltip--right .tox-tooltip__arrow{border-bottom:8px solid transparent;border-left:8px solid #324053;border-top:8px solid transparent;position:absolute;right:0;top:50%;transform:translateY(-50%)}.tox .tox-tooltip--left .tox-tooltip__arrow{border-bottom:8px solid transparent;border-right:8px solid #324053;border-top:8px solid transparent;left:0;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-tree{display:flex;flex-direction:column}.tox .tox-tree .tox-trbtn{align-items:center;background:0 0;border:0;border-radius:4px;box-shadow:none;color:#fff;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;margin-bottom:4px;margin-top:4px;outline:0;overflow:hidden;padding:0;padding-left:8px;text-transform:none}.tox .tox-tree .tox-trbtn .tox-tree__label{cursor:default;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tree .tox-trbtn svg{display:block;fill:#fff}.tox .tox-tree .tox-trbtn:focus{background:#2f4055;border:0;box-shadow:none}.tox .tox-tree .tox-trbtn:hover{background:#2f4055;border:0;box-shadow:none;color:#fff}.tox .tox-tree .tox-trbtn:hover svg{fill:#fff}.tox .tox-tree .tox-trbtn:active{background:#599fef;border:0;box-shadow:none;color:#fff}.tox .tox-tree .tox-trbtn:active svg{fill:#fff}.tox .tox-tree .tox-trbtn--disabled,.tox .tox-tree .tox-trbtn--disabled:hover,.tox .tox-tree .tox-trbtn:disabled,.tox .tox-tree .tox-trbtn:disabled:hover{background:0 0;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-tree .tox-trbtn--disabled svg,.tox .tox-tree .tox-trbtn--disabled:hover svg,.tox .tox-tree .tox-trbtn:disabled svg,.tox .tox-tree .tox-trbtn:disabled:hover svg{fill:rgba(255,255,255,0.5)}.tox .tox-tree .tox-trbtn--enabled,.tox .tox-tree .tox-trbtn--enabled:hover{background:#599fef;border:0;box-shadow:none;color:#fff}.tox .tox-tree .tox-trbtn--enabled:hover>*,.tox .tox-tree .tox-trbtn--enabled>*{transform:none}.tox .tox-tree .tox-trbtn--enabled svg,.tox .tox-tree .tox-trbtn--enabled:hover svg{fill:#fff}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled){color:#fff}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled) svg{fill:#fff}.tox .tox-tree .tox-trbtn:active>*{transform:none}.tox .tox-tree .tox-trbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tree .tox-trbtn--labeled{padding:0 4px;width:unset}.tox .tox-tree .tox-trbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-tree .tox-tree--directory{display:flex;flex-direction:column}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label{font-weight:700}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn:focus svg{fill:#fff}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:focus .tox-mbtn svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover .tox-mbtn svg{fill:#fff}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#fff}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#fff}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-chevron{margin-right:6px}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--shrinking) .tox-chevron{transition:transform .5s ease-in-out}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--open) .tox-chevron{transform:rotate(90deg)}.tox .tox-tree .tox-tree--leaf__label{font-weight:400}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--leaf__label .tox-mbtn:focus svg{fill:#fff}.tox .tox-tree .tox-tree--leaf__label:hover .tox-mbtn svg{fill:#fff}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#fff}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#fff}.tox .tox-tree .tox-icon-custom-state{flex-grow:1;display:flex;justify-content:flex-end}.tox .tox-tree .tox-tree--directory__children{overflow:hidden;padding-left:16px}.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--growing,.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--shrinking{transition:height .5s ease-in-out}.tox .tox-tree .tox-trbtn.tox-tree--leaf__label{display:flex;justify-content:space-between}[data-mce-name=uploadcare-enhance-filter] .color-swatch-remove-color path{fill:#c00;stroke:#c00}.tox .tox-view-wrap,.tox .tox-view-wrap__slot-container{background-color:#222f3e;display:flex;flex:1;flex-direction:column;height:100%;min-height:0}.tox .tox-view{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden;background-color:#222f3e}.tox .tox-view__header{align-items:center;display:flex;font-size:16px;justify-content:space-between;padding:10px;position:relative}.tox .tox-view__label{color:#fff;font-weight:700;line-height:24px;padding:4px 16px;text-align:center;white-space:nowrap}.tox .tox-view__label--normal{font-size:16px}.tox .tox-view__label--large{font-size:20px}.tox .tox-view--mobile.tox-view__header,.tox .tox-view--mobile.tox-view__toolbar{padding:8px}.tox .tox-view--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-view__align-right{margin-left:auto}.tox .tox-view__toolbar{display:flex;flex-direction:row;gap:8px;justify-content:space-between;overflow-x:auto;padding:10px}.tox .tox-view__toolbar__group{display:flex;flex-direction:row;gap:12px}.tox .tox-view__header-end,.tox .tox-view__header-start{display:flex}.tox .tox-view__pane{height:100%;padding:8px;position:relative;width:100%}.tox .tox-view__pane_panel{border:1px solid #161f29;border-radius:6px}.tox:not([dir=rtl]) .tox-view__header .tox-view__header-end>*,.tox:not([dir=rtl]) .tox-view__header .tox-view__header-start>*{margin-left:8px}.tox[dir=rtl] .tox-view__header .tox-view__header-end>*,.tox[dir=rtl] .tox-view__header .tox-view__header-start>*{margin-right:8px}.tox .tox-well{border:1px solid #161f29;border-radius:6px;padding:8px;width:100%}.tox .tox-well>:first-child{margin-top:0}.tox .tox-well>:last-child{margin-bottom:0}.tox .tox-well>:only-child{margin:0}.tox .tox-custom-editor{border:1px solid #161f29;border-radius:6px;display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-view .tox-revisionhistory__pane{padding:0}.tox .tox-revisionhistory__container{display:flex;flex-direction:column;height:100%}.tox .tox-revisionhistory{background-color:#222f3e;border-top:1px solid rgba(255,255,255,.15);display:flex;flex:1;height:100%;overflow-x:auto;overflow-y:hidden;position:relative;width:100%}.tox .tox-revisionhistory__iframe{flex:1}.tox .tox-revisionhistory__sidebar{display:flex;flex-direction:column;height:100%;min-width:248px;width:316px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__sidebar-title{background-color:#222f3e;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);color:#fff;font-size:20px;font-weight:400;line-height:28px;padding:12px;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions{background-color:#2b3b4e;display:flex;flex:1;flex-direction:column;gap:12px;overflow-y:auto;padding:10px 12px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus{height:100%;position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff;content:'';left:0;position:absolute;right:0;top:0;border-radius:6px;bottom:1px;left:1px;right:1px;top:1px}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card{background-color:#222f3e;border:1px solid rgba(255,255,255,.15);border-radius:6px;color:#fff;cursor:pointer;display:flex;flex-direction:column;font-size:14px;padding:12px;width:100%}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:hover{box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus{position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff #285ec7;content:'';left:0;position:absolute;right:0;top:0;border-radius:6px;box-shadow:0 0 0 2px #285ec7;box-shadow:0 0 0 2px #285ec7!important}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected{background-color:#1b3b60;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);position:relative}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #fff #cea215;content:'';left:0;position:absolute;right:0;top:0;border-radius:6px;box-shadow:0 0 0 2px #cea215}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-tags{display:flex;align-items:flex-start;flex-direction:row;gap:8px;overflow-x:auto}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-label{display:block;max-width:min-content;padding:4px 8px;margin-bottom:8px;font-size:12px;font-weight:700;border-radius:4px;background:#4e5965;text-wrap:balance;flex:0 1 auto}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-content{display:flex;flex-direction:row;gap:8px;align-items:center}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution{align-items:center;display:flex}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution .tox-revisionhistory__avatar{position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution .tox-revisionhistory__avatar+.tox-revisionhistory__card-ai-icon{margin-left:-4px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-info{display:flex;flex-direction:column;flex:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-date-label{font-size:14px;font-weight:700;line-height:18px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-author-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:400}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__avatar{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-ai-icon{display:flex;height:36px;width:36px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__norevision{color:rgba(255,255,255,.5);font-size:16px;line-height:24px;padding:5px 5.5px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-check-icon{color:#fff;height:24px}.tox .tox-card{background-color:#222f3e;border-radius:6px;display:flex;flex-direction:column;gap:12px;padding:10px;cursor:pointer;transition:box-shadow .15s ease-in-out,border .15s ease-in-out;border:2px solid transparent}.tox .tox-card:hover{box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-card--selected{border-color:#006ce7}.tox .tox-card:focus-visible{outline:2px solid #fff;border-color:transparent}.tox .tox-card--has-decision{background-color:#17202a}.tox .tox-card--has-decision:not(.tox-card--selected){border-width:1px;border-color:rgba(255,255,255,.5);padding:11px}.tox .tox-card--has-decision .tox-card__header{font-size:12px}.tox .tox-card--has-decision .tox-card__body{color:rgba(255,255,255,.5)}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline{border-color:#0c1116}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:focus:not(:disabled),.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:hover:not(:disabled){background-color:#0c1116;border-color:#010203}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:active:not(:disabled){background-color:#010203;border-color:#010203}.tox .tox-card__header{padding-bottom:0;color:#fff;font-size:16px;font-weight:700;text-transform:uppercase;display:flex;flex-direction:column;gap:12px}.tox .tox-card__header-label{font-size:12px;font-weight:700;text-transform:uppercase;color:#fff}.tox .tox-card__header-content{flex:1;min-width:0;font-weight:400;text-transform:none}.tox .tox-card__header-actions{display:flex;align-items:center;gap:4px;flex-shrink:0;opacity:1;pointer-events:auto;transition:opacity .15s ease-in-out}.tox .tox-card__header-actions--hover-visible,.tox .tox-card__header-actions--on-focus{opacity:0;pointer-events:none}.tox .tox-card__header-actions--always-visible{opacity:1;pointer-events:auto}.tox .tox-card__header:has(.tox-card__header-actions),.tox .tox-card__header:has(.tox-card__header-content){flex-direction:row;align-items:center}.tox .tox-card__header:has(.tox-card__header-content){justify-content:space-between}.tox .tox-card__header:has(.tox-card__header-actions):not(:has(.tox-card__header-content)){justify-content:flex-end}.tox .tox-card:focus-within .tox-card__header-actions--hover-visible,.tox .tox-card:focus-within .tox-card__header-actions--on-focus,.tox .tox-card:hover .tox-card__header-actions--hover-visible{opacity:1;pointer-events:auto}.tox .tox-card__body{color:#fff;font-size:14px}.tox .tox-card__body .tox-expandable-box{background:0 0;border:none;gap:12px}.tox .tox-card__body .tox-expandable-box .tox-expandable-box__content,.tox .tox-card__body .tox-expandable-box>.tox-button{margin:0}.tox .tox-card__highlight{padding:4px 6px;border-bottom:2px solid #006ce7}.tox .tox-card__highlight--added{background-color:#334840}.tox .tox-card__highlight--deleted{background-color:#442632}.tox .tox-card__highlight--modified{background-color:#1b3b60}.tox .tox-card__actions{display:flex;gap:8px}.tox .tox-card__actions--space-between{justify-content:space-between}.tox .tox-card__actions--flex-start{justify-content:flex-start}.tox .tox-card__actions .tox-button,.tox .tox-card__actions .tox-button--icon,.tox .tox-card__actions .tox-button:has(.tox-icon:only-child){padding:4px 16px}.tox .tox-card__divider{margin:12px 0;border:none;border-top:1px solid #161f29}.tox .tox-card__expansion{display:flex;flex-direction:column;gap:12px;width:100%}.tox .tox-card__expansion:has(> .tox-card__expansion-content--collapsed:only-child){margin-block-start:-12px}.tox .tox-card__expansion-content{display:grid;font-size:14px;grid-template-rows:0fr;transition:grid-template-rows .2s ease-in-out}.tox .tox-card__expansion-content--expanded{grid-template-rows:1fr}.tox .tox-card__expansion-content--expanded>.tox-card__expansion-content-inner{min-height:auto;overflow:visible}.tox .tox-card__expansion-content--collapsed{grid-template-rows:0fr}.tox .tox-card__expansion-content-inner{min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:12px}.tox .tox-card.tox-skeleton{cursor:default;pointer-events:none;box-shadow:none}.tox .tox-card.tox-skeleton:hover{box-shadow:none}.tox .tox-card.tox-skeleton .tox-skeleton__line{border-radius:6px;margin:0}.tox .tox-card.tox-skeleton .tox-card__body{display:flex;flex-direction:column;gap:4px}.tox .tox-card-list{display:flex;flex-direction:column;gap:12px}.tox .tox-card-list:has(.tox-card-group){gap:0}.tox .tox-card-list:focus{outline:0}.tox .tox-card-group{background-color:#17202a;display:flex;flex-direction:column}.tox .tox-card-group .tox-card{scroll-margin-top:53px}.tox .tox-card-group__title{align-items:center;background-color:#222f3e;border-bottom:1px solid #161f29;color:#fff;display:flex;font-size:14px;font-weight:700;gap:8px;line-height:16px;overflow:hidden;padding:12px;position:sticky;top:0;z-index:1}.tox .tox-card-group__title-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-card-group__status{color:rgba(255,255,255,.5);flex:0 0 auto;font-size:12px;font-weight:400;margin-inline-start:auto}.tox .tox-card-group__content{display:flex;flex-direction:column;gap:12px;padding-block:12px}.tox .tox-profile{align-items:center;display:flex;gap:8px}.tox .tox-profile__image{align-items:center;display:flex;flex-shrink:0}.tox .tox-profile__badge{display:flex;flex-shrink:0;height:36px;margin-inline-start:-4px;width:36px}.tox .tox-profile__badge svg{display:block;height:100%;width:100%}.tox .tox-user-avatar{width:36px;height:36px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center}.tox .tox-user-avatar img{width:100%;height:100%;object-fit:cover}.tox .tox-profile__body{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;flex:1}.tox .tox-profile__heading{color:#fff;font-size:14px;font-weight:700;line-height:18px;text-transform:none}.tox .tox-profile__subheading{color:#fff;font-size:12px;font-weight:400;line-height:16px;padding-block:4px;text-transform:none}.tox .tox-profile__subheading .tox-icon svg{fill:rgba(255,255,255,0.5);margin-block:-4px;vertical-align:top}.tox [data-mce-name=suggestededits] .tox-icon .tox-icon--badge{fill:#006ce7}.tox .tox-view .tox-suggestededits__pane{padding:0}.tox .tox-suggestededits__sink{position:relative;z-index:1000}.tox .tox-suggestededits__sink .tox-tiered-menu .tox-collection--list{position:absolute}.tox .tox-suggestededits__container{height:100%;display:flex;flex-direction:column}.tox .tox-suggestededits__container .tox-suggestededits{background-color:#222f3e;display:flex;flex:1;height:inherit;overflow-x:auto;overflow-y:hidden;position:relative}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__content{flex:1}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__model{height:100%;position:relative}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__model .tox-suggestededits__iframe{height:100%;width:100%;overflow:scroll;background-color:#fff}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar{background-color:#34485f;border-left:1px solid rgba(255,255,255,.15);display:flex;flex-direction:column;flex:0 1 auto;min-width:248px;width:441px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__announcer{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;margin:-1px;padding:0;border:0}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar{padding:4px 12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar:not(:empty){padding:12px 12px 6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button:has(.tox-icon:only-child){gap:0;padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-md,16px)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button:has(.tox-icon:only-child) .tox-icon{align-items:center;display:flex;flex:0 0 auto;height:24px;justify-content:center;width:24px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline{border-color:#486383}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:focus:not(:disabled),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:hover:not(:disabled){background-color:rgba(255,255,255,.12);border-color:rgba(255,255,255,.12)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline.tox-button--enabled:not(:disabled),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:active:not(:disabled){background-color:rgba(255,255,255,.18);border-color:rgba(255,255,255,.18);color:#fff}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline[disabled]{border-color:#486383}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content{display:flex;flex:1;flex-direction:column;gap:12px;overflow:auto;padding:6px 12px 12px 12px;position:relative;scroll-padding-block:6px 12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-card--selected:has(textarea:focus){border-color:transparent}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__divider,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--divider{background-color:#34485f;height:1px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--editor,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--single{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;gap:12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--editor{padding:6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header{display:flex;flex:auto;justify-content:space-between;align-items:center;gap:8px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__card--timestamp,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__card--timestamp{color:#fff}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__card--timestamp .tox-icon svg,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__card--timestamp .tox-icon svg{fill:rgba(255,255,255,0.5)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution{align-items:center;border:0;border-radius:20px;color:rgba(255,255,255,.5);height:20px;width:20px;display:flex;flex:0 0 auto;justify-content:center;text-align:center}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button{padding:var(--tox-private-button-padding-y,4px) var(--tox-private-button-padding-x,16px)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button .tox-suggestededits__resolution--label{display:none}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:not(:hover):not(:focus-visible),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:not(:hover):not(:focus-visible){border-color:transparent}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution{display:none}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution--label{display:inline}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content{display:flex;flex-direction:column;align-self:stretch;flex:auto;gap:6px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations{display:flex;gap:8px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-details,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-details{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-text,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-text{color:#fff;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:18px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-content-text,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-content-text{font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:20px;overflow-wrap:break-word}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-content-text-joiner,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-content-text-joiner{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__card--feedback,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__card--feedback{color:#fff;overflow-wrap:anywhere;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__actions,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--buttons{display:flex;align-items:center;gap:8px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__actions.tox-suggestededits__card--feedback-buttons,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--buttons.tox-suggestededits__card--feedback-buttons{justify-content:flex-end}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-suggestededits__card--active .tox-suggestededits__card--single{border-radius:6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-suggestededits__card--active .tox-suggestededits__card--single:focus-visible{outline:2px solid #006ce7}.tox .tox-dialog-loading::before{background-color:rgba(0,0,0,.5);content:"";height:100%;position:absolute;width:100%;z-index:1000}.tox .tox-tab{cursor:pointer}.tox .tox-dialog__content-js{display:flex;flex:1}.tox .tox-dialog__body-content .tox-collection{display:flex;flex:1}.tox.tox-tinymce-aux .tox-toolbar__overflow{box-shadow:0 0 0 1px rgba(255,255,255,.15)} diff --git a/libraries/tinymce/js/tinymce/skins/ui/oxide/skin.js b/libraries/tinymce/js/tinymce/skins/ui/oxide/skin.js index 8967ed2..141d24a 100644 --- a/libraries/tinymce/js/tinymce/skins/ui/oxide/skin.js +++ b/libraries/tinymce/js/tinymce/skins/ui/oxide/skin.js @@ -1 +1 @@ -tinymce.Resource.add('ui/oxide/skin.css', `.tox{box-shadow:none;box-sizing:content-box;cursor:auto;font-style:normal;font-weight:400;line-height:normal;-webkit-tap-highlight-color:transparent;-webkit-text-decoration:none;text-decoration:none;text-shadow:none;text-transform:none;vertical-align:initial;white-space:normal}.tox :not(svg):not(rect){box-sizing:inherit;color:inherit;cursor:inherit;direction:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;-webkit-tap-highlight-color:inherit;text-align:inherit;text-decoration:inherit;text-shadow:inherit;text-transform:inherit;vertical-align:inherit;white-space:inherit}.tox :not(svg):not(rect){background:0 0;border:0;box-shadow:none;float:none;height:auto;margin:0;max-width:none;outline:0;padding:0;position:static;width:auto}.tox:not([dir=rtl]){direction:ltr;text-align:left}.tox[dir=rtl]{direction:rtl;text-align:right}.tox-tinymce :focus,.tox-tinymce-aux :focus{outline:0}button::-moz-focus-inner{border:0}@keyframes tox-rotation{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes tox-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox{color:var(--tox-private-color-black,#222f3e);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-font-size-base, 16px)}.tox-tinymce{border:2px solid #eee;border-radius:10px;box-shadow:none;box-sizing:border-box;display:flex;flex-direction:column;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);overflow:hidden;position:relative;visibility:inherit!important}.tox.tox-tinymce-inline{border:none;box-shadow:none;overflow:initial}.tox.tox-tinymce-inline .tox-editor-container{overflow:initial}.tox.tox-tinymce-inline .tox-editor-header{background-color:#fff;border:2px solid #eee;border-radius:10px;box-shadow:none;overflow:hidden}.tox-tinymce-aux{font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);z-index:var(--tox-private-z-index-sink,1300)}.tox[dir=rtl] .tox-icon--flip svg{transform:rotateY(180deg)}.tox .tox-editor-container{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.tox .tox-editor-container--keep-toolbar{flex:0 0 auto;overflow:visible}.tox .tox-editor-header{display:grid;grid-template-columns:1fr min-content;z-index:2}.tox:not(.tox-tinymce-inline) .tox-editor-header{background-color:#fff;border-bottom:none;box-shadow:0 2px 2px -2px rgba(34,47,62,.1),0 8px 8px -4px rgba(34,47,62,.07);padding:4px 0}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(.tox-editor-dock-transition){transition:box-shadow .5s}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header{border-top:1px solid #e3e3e3;box-shadow:none}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header{background-color:#fff;box-shadow:0 2px 2px -2px rgba(34,47,62,.2),0 8px 8px -4px rgba(34,47,62,.15);padding:4px 0}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header{box-shadow:0 2px 2px -2px rgba(34,47,62,.2),0 8px 8px -4px rgba(34,47,62,.15)}.tox.tox:not(.tox-tinymce-inline) .tox-editor-header.tox-editor-header--empty{background:0 0;border:none;box-shadow:none;padding:0}.tox-editor-dock-fadeout{opacity:0;visibility:hidden}.tox-editor-dock-fadein{opacity:1;visibility:visible}.tox-editor-dock-transition{transition:visibility 0s linear .25s,opacity .25s ease}.tox-editor-dock-transition.tox-editor-dock-fadein{transition-delay:0s}.tox .accessibility-issue__header{align-items:center;display:flex;margin-bottom:4px}.tox #accessibility-issue__subheader{font-size:16px;color:#222f3e}.tox .accessbility-sr-only{position:absolute;clip:rect(1px,1px,1px,1px);clip-path:inset(0 0 99.9% 99.9%);overflow:hidden;height:1px;width:1px;padding:0;border:0}.tox .accessibility-issue__description{align-items:stretch;border-radius:6px;justify-content:space-between}.tox .accessibility-issue__description>div{padding-bottom:4px}.tox .accessibility-issue__description>div>div{align-items:center;display:flex;margin-bottom:4px}.tox .accessibility-issue__description>div>div .tox-icon svg{display:block}.tox #accessibility-issue__contentID{margin-top:8px;margin-bottom:8px}.tox #accessibility-issue__contentID span:first-child{font-weight:700}.tox #accessibility-issue__document{padding-bottom:8px}.tox .accessibility-issue__repair{margin-top:8px}.tox .accessibility-issue__repair .tox-form__group .tox-form__group--error{color:#c00}.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description{background-color:#e6f0fd;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2{font-size:14px;color:#006ce7}.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon.accessibility-issue__icon svg{fill:#006ce7}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon{background-color:#006ce7;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:hover{background-color:#0060ce}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:active{background-color:#0054b4}.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description{background-color:#fffae6;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2{font-size:14px;color:#7a6e25}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon.accessibility-issue__icon svg{fill:#7a6e25}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon{background-color:#ffe89d;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:hover{background-color:#f2d574;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:active{background-color:#e8c657;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description{background-color:#fae6e6;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2{font-size:14px;color:#c00}.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon.accessibility-issue__icon svg{fill:#c00}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon{background-color:#f2bfbf;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:hover{background-color:#e9a4a4;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:active{background-color:#ee9494;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description{background-color:rgba(120,171,70,.1);color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description>:last-child{display:none}.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2{color:#527530}.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon.accessibility-issue__icon svg{fill:#527530}.tox .tox-dialog__body-content .accessibility-issue__header .tox-form__group h1,.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2{margin-top:0}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-left:4px}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-left:auto}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description{padding:8px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-right:4px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-right:auto}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description{padding:4px 8px 4px 4px}.tox .mce-codemirror{background:#fff;bottom:0;font-size:13px;left:0;position:absolute;right:0;top:0;z-index:1}.tox .mce-codemirror.tox-inline-codemirror{margin:8px;position:absolute}.tox .tox-advtemplate .tox-form__grid{flex:1}.tox .tox-advtemplate .tox-form__grid>div:first-child{display:flex;flex-direction:column;width:30%}.tox .tox-advtemplate .tox-form__grid>div:first-child>div:nth-child(2){flex-basis:0;flex-grow:1;overflow:auto}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-advtemplate .tox-form__grid>div:first-child{width:100%}}.tox .tox-advtemplate iframe{border-color:#eee;border-radius:10px;border-style:solid;border-width:1px;margin:0 10px}.tox .tox-accordion{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__item{background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color,#222f3e);border-radius:var(--tox-private-control-border-radius,6px);position:relative}.tox .tox-accordion__item.tox-accordion__item--expanded{background-color:var(--tox-private-background-secondary,#f0f0f0)}.tox .tox-accordion__item.tox-accordion__item--expanded .tox-accordion__content--expanded .tox-accordion__content-inner{padding-top:0}.tox .tox-accordion__item::after{border-radius:var(--tox-private-control-border-radius,6px);box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,2px) var(--tox-private-keyboard-focus-outline-color,#006ce7);content:'';inset:0;opacity:0;pointer-events:none;position:absolute}@media (forced-colors:active){.tox .tox-accordion__item::after{border:2px solid highlight}}.tox .tox-accordion__item:focus{outline:0;z-index:1}.tox .tox-accordion__item:focus::after{opacity:1}.tox .tox-accordion__heading{margin:0;width:100%}.tox .tox-accordion__heading:focus{outline:0}.tox .tox-accordion__header{align-items:center;border:none;border-radius:var(--tox-private-control-border-radius,6px);box-sizing:border-box;color:var(--tox-private-text-color,#222f3e);cursor:pointer;display:flex;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:var(--tox-private-line-height-base, 1.3);outline:0;padding:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));text-align:left;width:100%}.tox .tox-accordion__header::after{border-radius:var(--tox-private-control-border-radius,6px);bottom:0;box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,2px) var(--tox-private-keyboard-focus-outline-color,#006ce7);content:'';left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-accordion__header::after{border:2px solid highlight}}.tox .tox-accordion__header:hover:not(.tox-accordion__header--disabled){background-color:var(--tox-private-background-secondary,#f0f0f0)}.tox .tox-accordion__header:focus:not(.tox-accordion__header--disabled){position:relative;z-index:1}.tox .tox-accordion__header:focus:not(.tox-accordion__header--disabled)::after{opacity:1}.tox .tox-accordion__header.tox-accordion__header--disabled{cursor:not-allowed;opacity:.5}.tox .tox-accordion__header.tox-accordion__header--icon-end{padding-right:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__header-icon{align-items:center;color:var(--tox-private-text-color,#222f3e);display:flex;flex-shrink:0;height:calc(var(--tox-private-base-value,16px) * 1.5);justify-content:center;width:calc(var(--tox-private-base-value,16px) * 1.5)}.tox .tox-accordion__header-icon svg{display:block;fill:currentColor;height:100%;width:100%;max-height:calc(var(--tox-private-base-value,16px) * 1.5);max-width:calc(var(--tox-private-base-value,16px) * 1.5)}.tox .tox-accordion__header:not(.tox-accordion__header--icon-end) .tox-accordion__header-icon{margin-right:var(--tox-private-pad-sm,8px);margin-left:0}.tox .tox-accordion__header--icon-end .tox-accordion__header-icon{margin-left:auto}.tox .tox-accordion__header-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-accordion__header--icon-end .tox-accordion__header-text{flex:0 1 auto;margin-right:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__content{border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-accordion__content.tox-accordion__content--collapsed{display:none}.tox .tox-accordion__content.tox-accordion__content--expanded{display:block}.tox .tox-accordion__content-inner{padding:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px)) calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__content-inner .tox-form__group:last-child{margin-bottom:0}.tox .tox-accordion__content-inner .tox-form__group>:not(:first-child){margin-top:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__content-inner .tox-form__group>.tox-dropdown-content{margin-top:0}.tox .tox-accordion__content-inner .tox-button-group{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__content-inner .tox-accordion__model-button{border-radius:var(--tox-private-control-border-radius,6px);align-items:center;appearance:none;background:0 0;border:none;color:inherit;cursor:pointer;display:flex;font-family:inherit;font-size:inherit;gap:var(--tox-private-pad-xs,4px);margin:0;outline:0;padding:6px calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));position:relative}.tox .tox-accordion__content-inner .tox-accordion__model-button::after{border-radius:var(--tox-private-control-border-radius,6px);bottom:0;box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,2px) var(--tox-private-keyboard-focus-outline-color,#006ce7);content:'';left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-accordion__content-inner .tox-accordion__model-button::after{border:2px solid highlight}}.tox .tox-accordion__content-inner .tox-accordion__model-button:focus{z-index:1}.tox .tox-accordion__content-inner .tox-accordion__model-button:focus::after{opacity:1}.tox .tox-accordion .tox-selectfield{align-items:center;background-color:var(--tox-private-background-color,#fff);border:1px solid var(--tox-private-border-color,#eee);border-radius:var(--tox-private-control-border-radius,6px);box-sizing:border-box;display:flex;height:34px;padding:0 6px;position:relative;width:100%}.tox .tox-accordion .tox-selectfield:focus-within{box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,2px) var(--tox-private-keyboard-focus-outline-color,#006ce7);z-index:1}@media (forced-colors:active){.tox .tox-accordion .tox-selectfield:focus-within{border-color:highlight;box-shadow:0 0 0 2px highlight}}.tox .tox-accordion .tox-selectfield button{appearance:none;background:0 0;border:none;color:inherit;cursor:pointer;flex:1;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;outline:0;padding:5px 0;text-align:left}.tox .tox-accordion .tox-selectfield .tox-icon{display:flex;flex-shrink:0;padding:9px 0;pointer-events:none}.tox .tox-accordion .tox-selectfield .tox-icon svg{height:var(--tox-private-base-value,16px);width:var(--tox-private-base-value,16px)}.tox[dir=rtl] .tox-accordion__header{text-align:right}.tox[dir=rtl] .tox-accordion__header:not(.tox-accordion__header--icon-end) .tox-accordion__header-icon{margin-left:var(--tox-private-pad-sm,8px);margin-right:0}.tox[dir=rtl] .tox-accordion__header--icon-end .tox-accordion__header-icon{margin-right:auto;margin-left:0}.tox[dir=rtl] .tox-accordion__header--icon-end .tox-accordion__header-text{margin-left:var(--tox-private-pad-sm,8px);margin-right:0}.tox .tox-alert{align-items:flex-start;align-self:stretch;border-radius:var(--tox-private-panel-border-radius,6px);border-style:solid;border-width:1px;box-sizing:border-box;color:var(--tox-private-text-color,#222f3e);display:flex;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-normal,normal);gap:var(--tox-private-pad-xs,4px);line-height:var(--tox-private-line-height-base, 1.3);padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-sm,8px);width:100%}.tox .tox-alert--error{background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#fff) r g b / .8) 0,rgba(from var(--tox-private-background-color,#fff) r g b / .8) 100%),var(--tox-private-color-error,#c00);border-color:var(--tox-private-color-error,#c00)}.tox .tox-alert--warning{background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#fff) r g b / .8) 0,rgba(from var(--tox-private-background-color,#fff) r g b / .8) 100%),var(--tox-private-color-warning,#fc0);border-color:var(--tox-private-color-warning,#fc0)}.tox .tox-alert__body{display:flex;flex:1 0 0;flex-direction:column;min-width:0}.tox .tox-alert__content{align-items:center;display:flex;flex:1 0 0;gap:var(--tox-private-pad-sm,8px);padding:var(--tox-private-pad-sm,8px) 0}.tox .tox-alert__message{margin:0;text-align:left}.tox .tox-alert__actions{align-items:center;display:flex;flex-wrap:wrap;gap:var(--tox-private-pad-xs,4px);justify-content:flex-start}.tox .tox-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bottom-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bar{display:flex;flex:0 0 auto}.tox .tox-button{border-width:var(--tox-private-button-border-width,1px);border-style:var(--tox-private-button-border-style,solid);border-radius:var(--tox-private-control-border-radius,6px);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-button-font-size, 14px);font-style:var(--tox-private-button-font-style,normal);font-weight:var(--tox-private-button-font-weight,bold);line-height:var(--tox-private-control-line-height, 24px);padding:var(--tox-private-button-padding-y,4px) var(--tox-private-button-padding-x,16px);text-align:center;-webkit-text-decoration:none;text-decoration:none;text-transform:none;letter-spacing:normal;box-shadow:none;box-sizing:border-box;cursor:pointer;outline:0;position:relative;white-space:nowrap;display:inline-flex;justify-content:center;align-items:center;gap:var(--tox-private-pad-xs,4px)}.tox .tox-button::before{border-radius:var(--tox-private-control-border-radius,6px);bottom:calc(-1 * var(--tox-private-button-border-width,1px));box-shadow:var(--tox-private-button-focus-outline,inset 0 0 0 1px #fff,0 0 0 2px #006ce7);content:'';left:calc(-1 * var(--tox-private-button-border-width,1px));opacity:0;pointer-events:none;position:absolute;right:calc(-1 * var(--tox-private-button-border-width,1px));top:calc(-1 * var(--tox-private-button-border-width,1px))}.tox .tox-button:focus:not(:disabled){background-color:var(--tox-private-button-focus-background-color,#0060ce);background-image:none;border-color:var(--tox-private-button-focus-border-color,#0060ce);box-shadow:var(--tox-private-button-focus-box-shadow,none);color:var(--tox-private-button-focus-text-color,#fff)}.tox .tox-button:focus:not(:disabled)::before{opacity:1}.tox .tox-button.tox-button--icon,.tox .tox-button:has(.tox-icon:only-child){padding:4px}.tox .tox-button .tox-icon svg{display:block;fill:currentColor}.tox .tox-button .tox-icon.tox-icon--success svg{fill:var(--tox-private-color-success,#78AB46)}.tox .tox-button .tox-icon.tox-icon--error svg{fill:var(--tox-private-color-error,#c00)}.tox .tox-button--stretch{width:100%}.tox-context-form__group .tox-button--icon,.tox-context-form__group .tox-button.tox-button--icon{margin:6px 1px 5px 0;padding:0}.tox .tox-button{background-color:var(--tox-private-button-primary-background-color,#006ce7);background-image:none;background-position:0 0;background-repeat:repeat;color:var(--tox-private-button-primary-text-color,#fff);border-color:var(--tox-private-button-primary-border-color,#006ce7)}.tox .tox-button[disabled]{background-color:var(--tox-private-button-primary-disabled-background-color,#006ce7);background-image:none;border-color:var(--tox-private-button-primary-disabled-border-color,#006ce7);color:var(--tox-private-button-primary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button:focus:not(:disabled){background-color:var(--tox-private-button-primary-focus-background-color,#0060ce);border-color:var(--tox-private-button-primary-focus-border-color,#0060ce);color:var(--tox-private-button-primary-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button:hover:not(:disabled){background-color:var(--tox-private-button-primary-hover-background-color,#0060ce);border-color:var(--tox-private-button-primary-hover-border-color,#0060ce);color:var(--tox-private-button-primary-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button:active:not(:disabled){background-color:var(--tox-private-button-primary-active-background-color,#0054b4);border-color:var(--tox-private-button-primary-active-border-color,#0054b4);color:var(--tox-private-button-primary-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled{background-color:var(--tox-private-button-primary-enabled-background-color,#0054b4);border-color:var(--tox-private-button-primary-enabled-border-color,#0054b4);color:var(--tox-private-button-primary-enabled-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled[disabled]{color:var(--tox-private-button-primary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-primary-enabled-focus-background-color,#00489b);border-color:var(--tox-private-button-primary-enabled-focus-border-color,#00489b);color:var(--tox-private-button-primary-enabled-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-primary-enabled-hover-background-color,#00489b);border-color:var(--tox-private-button-primary-enabled-hover-border-color,#00489b);color:var(--tox-private-button-primary-enabled-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-primary-enabled-active-background-color,#003c81);border-color:var(--tox-private-button-primary-enabled-active-border-color,#003c81);color:var(--tox-private-button-primary-enabled-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary{background-color:var(--tox-private-button-secondary-background-color,#f0f0f0);border-color:var(--tox-private-button-secondary-border-color,#f0f0f0);color:var(--tox-private-button-secondary-text-color,#222f3e);border-style:solid;border-width:1px;background-image:none;background-position:0 0;background-repeat:repeat;border-radius:6px;box-shadow:none;font-size:14px;font-style:normal;font-weight:700;letter-spacing:normal;outline:0;padding:4px 16px;-webkit-text-decoration:none;text-decoration:none;text-transform:none}.tox .tox-button--secondary[disabled]{background-color:var(--tox-private-button-secondary-disabled-background-color,#f0f0f0);background-image:none;border-color:var(--tox-private-button-secondary-disabled-border-color,#f0f0f0);color:var(--tox-private-button-secondary-disabled-text-color,rgba(34,47,62,.5));cursor:not-allowed}.tox .tox-button--secondary:focus:not(:disabled){background-color:var(--tox-private-button-secondary-focus-background-color,#e3e3e3);border-color:var(--tox-private-button-secondary-focus-border-color,#e3e3e3);color:var(--tox-private-button-secondary-focus-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary:hover:not(:disabled){background-color:var(--tox-private-button-secondary-hover-background-color,#e3e3e3);border-color:var(--tox-private-button-secondary-hover-border-color,#e3e3e3);color:var(--tox-private-button-secondary-hover-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary:active:not(:disabled){background-color:var(--tox-private-button-secondary-active-background-color,#d6d6d6);border-color:var(--tox-private-button-secondary-active-border-color,#d6d6d6);color:var(--tox-private-button-secondary-active-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled{background-color:var(--tox-private-button-secondary-enabled-background-color,#a6ccf7);border-color:var(--tox-private-button-secondary-enabled-border-color,#a6ccf7);color:var(--tox-private-button-secondary-enabled-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled[disabled]{color:var(--tox-private-button-secondary-disabled-text-color,rgba(34,47,62,.5));cursor:not-allowed}.tox .tox-button--secondary.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-focus-background-color,#8ebef4);border-color:var(--tox-private-button-secondary-enabled-focus-border-color,#8ebef4);color:var(--tox-private-button-secondary-enabled-focus-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-hover-background-color,#8ebef4);border-color:var(--tox-private-button-secondary-enabled-hover-border-color,#8ebef4);color:var(--tox-private-button-secondary-enabled-hover-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-active-background-color,#77b1f2);border-color:var(--tox-private-button-secondary-enabled-active-border-color,#77b1f2);color:var(--tox-private-button-secondary-enabled-active-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--naked{background-color:transparent;border-color:transparent;box-shadow:unset;color:var(--tox-private-button-naked-text-color,#222f3e)}.tox .tox-button--naked[disabled]{background-color:transparent;border-color:transparent;color:var(--tox-private-button-naked-disabled-text-color,rgba(34,47,62,.5));cursor:not-allowed}.tox .tox-button--naked:focus:not(:disabled){background-color:var(--tox-private-button-naked-focus-background-color,rgba(34,47,62,.12));border-color:var(--tox-private-button-naked-focus-border-color,transparent);color:var(--tox-private-button-naked-focus-text-color,#222f3e);box-shadow:unset}.tox .tox-button--naked:hover:not(:disabled){background-color:var(--tox-private-button-naked-hover-background-color,rgba(34,47,62,.12));border-color:var(--tox-private-button-naked-hover-background-color,transparent);color:var(--tox-private-button-naked-hover-text-color,#222f3e);box-shadow:unset}.tox .tox-button--naked:active:not(:disabled){background-color:var(--tox-private-button-naked-active-background-color,rgba(34,47,62,.18));border-color:var(--tox-private-button-naked-active-border-color,transparent);color:var(--tox-private-button-naked-active-text-color,#222f3e);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled{background-color:var(--tox-private-button-naked-enabled-background-color,#a8c8ed);border-color:var(--tox-private-button-naked-enabled-border-color,#a8c8ed);color:var(--tox-private-button-naked-enabled-text-color,#222f3e);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled[disabled]{color:var(--tox-private-button-naked-disabled-text-color,rgba(34,47,62,.5));cursor:not-allowed}.tox .tox-button--naked.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-naked-enabled-focus-background-color,#93bbe9);border-color:var(--tox-private-button-naked-enabled-focus-border-color,#93bbe9);color:var(--tox-private-button-naked-enabled-focus-text-color,#222f3e);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-naked-enabled-hover-background-color,#93bbe9);border-color:var(--tox-private-button-naked-enabled-hover-border-color,#93bbe9);color:var(--tox-private-button-naked-enabled-hover-text-color,#222f3e);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-naked-enabled-active-background-color,#7daee4);border-color:var(--tox-private-button-naked-enabled-active-border-color,#7daee4);color:var(--tox-private-button-naked-enabled-active-text-color,#222f3e);box-shadow:unset}.tox .tox-button--secondary--outline{background-color:transparent;border-color:var(--tox-private-button-secondary-outline-border-color,#f0f0f0);color:var(--tox-private-button-secondary-outline-text-color,#222f3e)}.tox .tox-button--secondary--outline:focus:not(:disabled){background-color:var(--tox-private-button-secondary-outline-focus-background-color,#e3e3e3);border-color:var(--tox-private-button-secondary-outline-focus-border-color,#e3e3e3);color:var(--tox-private-button-secondary-outline-focus-text-color,#222f3e)}.tox .tox-button--secondary--outline:hover:not(:disabled){background-color:var(--tox-private-button-secondary-outline-hover-background-color,#f0f0f0);border-color:var(--tox-private-button-secondary-outline-hover-border-color,#e3e3e3);color:var(--tox-private-button-secondary-outline-hover-text-color,#222f3e)}.tox .tox-button--secondary--outline:active:not(:disabled){background-color:var(--tox-private-button-secondary-outline-active-background-color,#e3e3e3);border-color:var(--tox-private-button-secondary-outline-active-border-color,#e3e3e3);color:var(--tox-private-button-secondary-outline-active-text-color,#222f3e)}.tox .tox-button--secondary--outline[disabled]{background-color:var(--tox-private-button-secondary-outline-disabled-background-color,transparent);border-color:var(--tox-private-button-secondary-outline-disabled-border-color,#f0f0f0);color:var(--tox-private-button-secondary-outline-disabled-text-color,rgba(34,47,62,.5))}.tox .tox-checkbox{align-items:center;border-radius:var(--tox-private-checkbox-border-radius,6px);cursor:pointer;display:flex;height:var(--tox-private-control-height,36px);min-width:var(--tox-private-control-height,36px)}.tox .tox-checkbox__input{height:1px;overflow:hidden;position:absolute;top:auto;width:1px}.tox .tox-checkbox__icons{display:flex;align-items:center;justify-content:center;box-sizing:content-box;padding:var(--tox-private-pad-xs,calc(4px - 1px));border-radius:var(--tox-private-checkbox-border-radius,6px);box-shadow:0 0 0 2px transparent;height:var(--tox-private-control-line-height,24px);aspect-ratio:1/1}.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:block;fill:var(--tox-private-checkbox-unselected-color,rgba(34,47,62,0.3))}@media (forced-colors:active){.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:currentColor!important}}.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:none;fill:var(--tox-private-checkbox-indeterminate-color,#006ce7)}.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg{display:none;fill:var(--tox-private-checkbox-selected-color,#006ce7)}.tox .tox-checkbox--disabled{color:var(--tox-private-checkbox-disabled-text-color,rgba(34,47,62,.5));cursor:not-allowed}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(34,47,62,0.5))}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(34,47,62,0.5))}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(34,47,62,0.5))}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__checked svg{display:block}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:block}.tox input.tox-checkbox__input:focus+.tox-checkbox__icons{box-shadow:var(--tox-private-checkbox-focus-box-shadow,inset 0 0 0 1px #006ce7)}.tox:not([dir=rtl]) .tox-checkbox__label{margin-left:var(--tox-private-pad-xs,4px)}.tox:not([dir=rtl]) .tox-checkbox__input{left:-10000px}.tox:not([dir=rtl]) .tox-bar .tox-checkbox{margin-left:var(--tox-private-pad-xs,4px)}.tox[dir=rtl] .tox-checkbox__label{margin-right:var(--tox-private-pad-xs,4px)}.tox[dir=rtl] .tox-checkbox__input{right:-10000px}.tox[dir=rtl] .tox-bar .tox-checkbox{margin-right:var(--tox-private-pad-xs,4px)}.tox .tox-collection--toolbar .tox-collection__group{display:flex;padding:0}.tox .tox-collection--grid .tox-collection__group{display:flex;flex-wrap:wrap;max-height:208px;overflow-x:hidden;overflow-y:auto;padding:0}.tox .tox-collection--list .tox-collection__group{border-bottom-width:0;border-color:#e3e3e3;border-left-width:0;border-right-width:0;border-style:solid;border-top-width:1px;padding:4px 0;display:flex;flex-direction:column}.tox .tox-collection--list .tox-collection__group:first-child{border-top-width:0}.tox .tox-collection__group-heading{background-color:#fcfcfc;color:rgba(34,47,62,.7);cursor:default;font-size:12px;font-style:normal;font-weight:400;margin-bottom:4px;margin-top:-4px;padding:4px 8px;text-transform:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-collection__item{align-items:center;border-radius:3px;color:#222f3e;display:flex;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-image-selector-menu .tox-collection__item,.tox .tox-image-selector-menu .tox-collection__item-image-selector{flex-direction:column}.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-checkmark,.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-icon,.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-image,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-checkmark,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-icon,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-image{flex-grow:1}.tox .tox-image-selector-menu .tox-collection__item label,.tox .tox-image-selector-menu .tox-collection__item-image-selector label{width:48px;white-space:nowrap;overflow:hidden;font-size:12px;color:#222f3e;text-align:center;align-self:flex-end}.tox .tox-image-selector-menu .tox-collection__item-checkmark{height:24px;width:24px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.tox .tox-image-selector-menu .tox-collection__item-checkmark svg path{fill:#006ce7;stroke:#006ce7}.tox .tox-image-selector-menu .tox-image-selector__row .tox-collection__item-image-selector.tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#fff}.tox .tox-image-selector-menu .tox-image-selector__row .tox-collection__item-image-selector.tox-collection__item--enabled:not(.tox-collection__item--state-disabled){z-index:2;background-color:#fff;opacity:.8;background-clip:content-box}.tox .tox-collection--list .tox-collection__item{padding:4px 8px}.tox .tox-collection--toolbar .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--grid .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--list .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#fff;color:#222f3e}.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#006ce7;color:#fff}@media (forced-colors:active){.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){border:solid 1px}}.tox .tox-collection--grid .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#a6ccf7;color:#222f3e}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#f0f0f0;color:#222f3e;position:relative;z-index:1}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7 inset;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border:2px solid highlight}}.tox .tox-collection--toolbar .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#a6ccf7;color:#222f3e}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){border-radius:3px;outline:solid 1px}}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled){color:#222f3e;background-color:#fff;position:relative}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):hover{background-color:#f0f0f0;color:#222f3e}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus{background-color:#f0f0f0;color:#222f3e}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border:2px solid highlight}}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):hover{border-radius:3px;outline:solid 1px}}.tox .tox-collection__item-image{border:1px solid #eee;border-radius:6px;display:flex;flex-direction:column;justify-content:center;margin-bottom:4px;position:relative}.tox .tox-collection__item-checkmark,.tox .tox-collection__item-icon{align-items:center;display:flex;height:24px;justify-content:center;width:24px}.tox .tox-collection__item-checkmark svg,.tox .tox-collection__item-icon svg{fill:currentColor}.tox .tox-collection--toolbar-lg .tox-collection__item-icon{height:48px;width:48px}.tox .tox-collection__item-label{color:currentColor;display:inline-block;flex:1;font-size:14px;font-style:normal;font-weight:400;line-height:24px;max-width:100%;text-transform:none;word-break:break-all}.tox .tox-collection__item-separator{border-bottom:1px solid #e3e3e3;height:0;margin:4px 0}.tox .tox-collection__item-accessory{color:currentColor;display:inline-block;font-size:14px;height:24px;line-height:24px;text-transform:none}.tox .tox-collection__item-caret{align-items:center;display:flex;min-height:24px}.tox .tox-collection__item-caret::after{content:'';font-size:0;min-height:inherit}.tox .tox-collection__item-caret svg{fill:currentColor}.tox .tox-collection__item--state-disabled{background-color:transparent;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg{fill:rgba(34,47,62,0.5)}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg{display:none}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-accessory+.tox-collection__item-checkmark{display:none}.tox .tox-collection--horizontal{background-color:#fff;border:1px solid #e3e3e3;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:nowrap;margin-bottom:0;overflow-x:auto;padding:0}.tox .tox-collection--horizontal .tox-collection__group{align-items:center;display:flex;flex-wrap:nowrap;margin:0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item{height:28px;margin:6px 1px 5px 0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item-label{white-space:nowrap}.tox .tox-collection--horizontal .tox-collection__item-caret{margin-left:4px}.tox .tox-collection__item-container{display:flex}.tox .tox-collection__item-container--row{align-items:center;flex:1 1 auto;flex-direction:row}.tox .tox-collection__item-container--row.tox-collection__item-container--align-left{margin-right:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--align-right{justify-content:flex-end;margin-left:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-top{align-items:flex-start;margin-bottom:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-middle{align-items:center}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-bottom{align-items:flex-end;margin-top:auto}.tox .tox-collection__item-container--column{align-self:center;flex:1 1 auto;flex-direction:column}.tox .tox-collection__item-container--column.tox-collection__item-container--align-left{align-items:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--align-right{align-items:flex-end}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-top{align-self:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-middle{align-self:center}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-bottom{align-self:flex-end}.tox:not([dir=rtl]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-right:1px solid transparent}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>:not(:first-child){margin-left:8px}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-left:4px}.tox:not([dir=rtl]) .tox-collection__item-accessory{margin-left:16px;text-align:right}.tox:not([dir=rtl]) .tox-collection .tox-collection__item-caret{margin-left:16px}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-left:1px solid transparent}.tox[dir=rtl] .tox-collection--list .tox-collection__item>:not(:first-child){margin-right:8px}.tox[dir=rtl] .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-right:4px}.tox[dir=rtl] .tox-collection__item-accessory{margin-right:16px;text-align:left}.tox[dir=rtl] .tox-collection .tox-collection__item-caret{margin-right:16px;transform:rotateY(180deg)}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__item-caret{margin-right:4px}@media (forced-colors:active){.tox .tox-hue-slider,.tox .tox-rgb-form .tox-rgba-preview{background-color:currentColor!important;border:1px solid highlight!important;forced-color-adjust:none}}.tox .tox-color-picker-container{display:flex;flex-direction:row;height:225px;margin:0}.tox .tox-sv-palette{box-sizing:border-box;display:flex;height:100%}.tox .tox-sv-palette-spectrum{height:100%}.tox .tox-sv-palette,.tox .tox-sv-palette-spectrum{width:225px}.tox .tox-sv-palette-thumb{background:0 0;border:1px solid #000;border-radius:50%;box-sizing:content-box;height:12px;position:absolute;width:12px}.tox .tox-sv-palette-inner-thumb{border:1px solid #fff;border-radius:50%;height:10px;position:absolute;width:10px}.tox .tox-hue-slider{box-sizing:border-box;height:100%;width:25px}.tox .tox-hue-slider-spectrum{background:linear-gradient(to bottom,red,#ff0080,#f0f,#8000ff,#00f,#0080ff,#0ff,#00ff80,#0f0,#80ff00,#ff0,#ff8000,red);height:100%;width:100%}.tox .tox-hue-slider,.tox .tox-hue-slider-spectrum{width:20px}.tox .tox-hue-slider-spectrum:focus,.tox .tox-sv-palette-spectrum:focus{outline:#08f solid}.tox .tox-hue-slider-thumb{background:#fff;border:1px solid #000;box-sizing:content-box;height:4px;width:100%}.tox .tox-rgb-form{display:flex;flex-direction:column;justify-content:space-between}.tox .tox-rgb-form div{align-items:center;display:flex;justify-content:space-between;margin-bottom:5px;width:inherit}.tox .tox-rgb-form input{min-width:6em}.tox .tox-rgb-form input.tox-invalid{border:1px solid red!important;box-shadow:0 0 0 1px red}.tox .tox-rgb-container{position:relative}.tox .tox-rgb-form .tox-invalid-icon{align-content:center;align-items:center;display:none;height:100%;position:absolute;right:0;top:0}.tox .tox-rgb-form .tox-invalid-icon .tox-control-wrap__status-icon-invalid{margin:0}.tox .tox-rgb-warning-note{background-color:#f5cccc;border:1px solid #f0b3b3;border-radius:3px;color:#77181f;padding:3px}.tox input.tox-invalid+.tox-invalid-icon{display:flex}.tox .tox-rgb-form .tox-rgba-preview{border:1px solid #000;flex-grow:2;margin-bottom:0}.tox:not([dir=rtl]) .tox-sv-palette{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider-thumb{margin-left:-1px}.tox:not([dir=rtl]) .tox-rgb-form label{margin-right:.5em}.tox[dir=rtl] .tox-sv-palette{margin-left:15px}.tox[dir=rtl] .tox-hue-slider{margin-left:15px}.tox[dir=rtl] .tox-hue-slider-thumb{margin-right:-1px}.tox[dir=rtl] .tox-rgb-form label{margin-left:.5em}.tox .tox-toolbar .tox-swatches,.tox .tox-toolbar__overflow .tox-swatches,.tox .tox-toolbar__primary .tox-swatches{margin:5px 0 6px 11px}.tox .tox-collection--list .tox-collection__group .tox-swatches-menu{border:0;margin:-4px -4px}.tox .tox-swatches__row{display:flex}@media (forced-colors:active){.tox .tox-swatches__row{forced-color-adjust:none}}.tox .tox-swatch{height:30px;transition:transform .15s,box-shadow .15s;width:30px}.tox .tox-swatch:focus,.tox .tox-swatch:hover{box-shadow:0 0 0 1px rgba(127,127,127,.3) inset;transform:scale(.8)}.tox .tox-swatch--remove{align-items:center;display:flex;justify-content:center}.tox .tox-swatch--remove svg path{stroke:#e74c3c}.tox .tox-swatches__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-swatches__picker-btn svg{fill:#222f3e;height:24px;width:24px}.tox .tox-swatches__picker-btn:hover{background:#f0f0f0}.tox div.tox-swatch:not(.tox-swatch--remove) svg{display:none;fill:#222f3e;height:24px;margin:calc((30px - 24px)/ 2) calc((30px - 24px)/ 2);width:24px}.tox div.tox-swatch:not(.tox-swatch--remove) svg path{fill:#fff;paint-order:stroke;stroke:#222f3e;stroke-width:2px}.tox div.tox-swatch:not(.tox-swatch--remove).tox-collection__item--enabled svg{display:block}.tox:not([dir=rtl]) .tox-swatches__picker-btn{margin-left:auto}.tox[dir=rtl] .tox-swatches__picker-btn{margin-right:auto}.tox .tox-comment{background:#fff;border:1px solid #fff;border-radius:6px;padding:8px;padding-bottom:16px;position:relative}.tox .tox-comment:hover{box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-comment.tox-comment--selected{background-color:#fff2c9;border:1px solid #ffcf30;box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-comment.tox-comment--selected:focus{border:2px solid #006ce7;margin:-1px}.tox .tox-comment.tox-comment--selected:focus:not(:first-child){margin-top:7px}.tox .tox-comment.tox-comment--selected .tox-comment__single{margin-bottom:12px}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus{position:relative}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus::after{top:-9px;pointer-events:none;position:absolute;content:"";display:block;bottom:-9px;left:-9px;right:-9px;border-radius:6px;border:2px solid #006ce7}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus:last-of-type:has(textarea):after{bottom:calc((12px + 16px + 1px) * -1)}.tox .tox-comment__header{align-items:center;color:#222f3e;display:flex;justify-content:space-between}.tox .tox-comment__date{color:#222f3e;font-size:12px;line-height:18px}.tox .tox-comment__body{color:#222f3e;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;margin-top:8px;position:relative;text-transform:initial;transition:max-height .5s cubic-bezier(0, 1, 0, 1);white-space:pre-wrap}.tox .tox-comment__body.tox-comment__body--expanded{max-height:100em;transition:max-height 1s ease-in-out}.tox .tox-comment__body.tox-comment__body--pending{transition:max-height 0s}.tox .tox-comment__body p{margin:0}.tox .tox-comment__body textarea{resize:none;white-space:normal;width:100%;font-size:16px}.tox .tox-comment__loading-text{align-items:center;color:#222f3e;display:flex;flex-direction:column;position:relative}.tox .tox-comment__loading-text>div{padding-bottom:16px}.tox .tox-comment__overlaytext{bottom:0;flex-direction:column;font-size:14px;left:0;padding:1em;position:absolute;right:0;top:0;z-index:10}.tox .tox-comment__overlaytext p{background-color:#fff;box-shadow:0 0 8px 8px #fff;color:#222f3e;text-align:center}.tox .tox-comment__overlaytext div:nth-of-type(2){font-size:.8em}.tox .tox-comment__expander{padding-top:8px}.tox .tox-comment__expander p{color:rgba(34,47,62,.7);font-size:14px;font-style:normal}.tox .tox-comment__expander p:focus{font-weight:700}.tox .tox-comment__buttonspacing{padding-top:16px;text-align:center}.tox .tox-tbtn.tox-comment__mention-btn{display:flex;width:34px;height:34px;padding:5px;justify-content:center;align-items:center;margin:0;background-color:transparent}.tox .tox-comment-thread{background:#fff;position:relative;border-radius:6px;background-color:transparent}.tox .tox-comment-thread>:not(:first-child){margin-top:8px}.tox .tox-comment-thread__overlay::after{background:#fff;bottom:0;content:"";display:flex;left:0;opacity:.9;position:absolute;right:0;top:0;z-index:5}.tox .tox-comment__reply{display:flex;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__reply>:first-child{margin-bottom:8px;width:100%}.tox .tox-comment__edit{display:flex;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__gradient::after{background:linear-gradient(rgba(255,255,255,0),#fff);bottom:0;content:"";display:block;height:5em;margin-top:-40px;position:absolute;width:100%}.tox .tox-comment__overlay{background:#fff;bottom:0;display:flex;flex-direction:column;flex-grow:1;left:0;opacity:.9;position:absolute;right:0;text-align:center;top:0;z-index:5}.tox .tox-comment__busy-spinner{align-items:center;background-color:#fff;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:20}.tox .tox-comment__scroll{display:flex;flex-direction:column;flex-shrink:1;overflow:auto;padding:12px;scroll-behavior:smooth}.tox .tox-comment__scroll:has(textarea:focus){scroll-behavior:auto}.tox .tox-comment--disappearing{transition:opacity .5s ease}.tox .tox-comment[data-transitioning-destination=deleting]{opacity:0}.tox .tox-ring-loader{width:10px;height:10px;border:1px solid #fff;border-bottom-color:transparent;border-radius:50%;display:inline-block;box-sizing:border-box;animation:tox-rotation 1s linear infinite}.tox:not([dir=rtl]) .tox-comment__edit{margin-left:8px}.tox:not([dir=rtl]) .tox-comment__buttonspacing>:last-child,.tox:not([dir=rtl]) .tox-comment__edit>:last-child,.tox:not([dir=rtl]) .tox-comment__reply>:last-child{margin-left:8px}.tox[dir=rtl] .tox-comment__edit{margin-right:8px}.tox[dir=rtl] .tox-comment__buttonspacing>:last-child,.tox[dir=rtl] .tox-comment__edit>:last-child,.tox[dir=rtl] .tox-comment__reply>:last-child{margin-right:8px}.tox .tox-user{align-items:center;display:flex}.tox .tox-user__avatar svg{fill:rgba(34,47,62,0.7)}.tox .tox-user__avatar img{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-user__name{color:#222f3e;font-size:14px;font-style:normal;font-weight:700;line-height:18px;text-transform:none}.tox:not([dir=rtl]) .tox-user__avatar img,.tox:not([dir=rtl]) .tox-user__avatar svg{margin-right:8px}.tox:not([dir=rtl]) .tox-user__avatar+.tox-user__name{margin-left:8px}.tox[dir=rtl] .tox-user__avatar img,.tox[dir=rtl] .tox-user__avatar svg{margin-left:8px}.tox[dir=rtl] .tox-user__avatar+.tox-user__name{margin-right:8px}.tox .tox-dialog-wrap{align-items:center;display:flex;justify-content:center;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1100}.tox .tox-dialog-wrap__backdrop{background-color:rgba(255,255,255,.75);bottom:0;left:0;position:absolute;right:0;top:0;z-index:1}.tox .tox-dialog-wrap__backdrop--opaque{background-color:#fff}.tox .tox-dialog{background-color:#fff;border-color:#eee;border-radius:10px;border-style:solid;border-width:0;box-shadow:0 16px 16px -10px rgba(34,47,62,.15),0 0 40px 1px rgba(34,47,62,.15);display:flex;flex-direction:column;max-height:100%;max-width:480px;overflow:hidden;position:relative;width:95vw;z-index:2}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog{align-self:flex-start;margin:8px auto;max-height:calc(100vh - 8px * 2);width:calc(100vw - 16px)}}.tox .tox-dialog-inline{z-index:1100}.tox .tox-dialog__header{align-items:center;background-color:#fff;border-bottom:none;color:#222f3e;display:flex;font-size:16px;justify-content:space-between;padding:8px 16px 0 16px;position:relative}.tox .tox-dialog__header .tox-button{z-index:1}.tox .tox-dialog__draghandle{cursor:grab;height:100%;left:0;position:absolute;top:0;width:100%}.tox .tox-dialog__draghandle:active{cursor:grabbing}.tox .tox-dialog__dismiss{margin-left:auto}.tox .tox-dialog__title{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:20px;font-style:normal;font-weight:400;line-height:1.3;margin:0;text-transform:none}.tox .tox-dialog__body{color:#222f3e;display:flex;flex:1;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;min-width:0;text-align:left;text-transform:none}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body{flex-direction:column}}.tox .tox-dialog__body-nav{align-items:flex-start;display:flex;flex-direction:column;flex-shrink:0;padding:16px 16px}@media only screen and (min-width:768px){.tox .tox-dialog__body-nav{max-width:11em}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body-nav{flex-direction:row;-webkit-overflow-scrolling:touch;overflow-x:auto;padding-bottom:0}}.tox .tox-dialog__body-nav-item{border-bottom:2px solid transparent;color:rgba(34,47,62,.7);display:inline-block;flex-shrink:0;font-size:14px;line-height:1.3;margin-bottom:8px;max-width:13em;-webkit-text-decoration:none;text-decoration:none}.tox .tox-dialog__body-nav-item:focus{background-color:rgba(0,108,231,.1)}.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid #144782;color:#144782}@media (forced-colors:active){.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid highlight;color:highlight}}.tox .tox-dialog__body-content{box-sizing:border-box;display:flex;flex:1;flex-direction:column;max-height:min(650px,calc(100vh - 110px));overflow:auto;-webkit-overflow-scrolling:touch;padding:16px 16px}.tox .tox-dialog__body-content>*{margin-bottom:0;margin-top:16px}.tox .tox-dialog__body-content>:first-child{margin-top:0}.tox .tox-dialog__body-content>:last-child{margin-bottom:0}.tox .tox-dialog__body-content>:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content a{color:#144782;cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content a:focus,.tox .tox-dialog__body-content a:hover{color:#071729;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content a:focus-visible{border-radius:1px;outline:2px solid #144782;outline-offset:2px}.tox .tox-dialog__body-content a:active{color:#000;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content svg{fill:#222f3e}.tox .tox-dialog__body-content strong{font-weight:700}.tox .tox-dialog__body-content ul{list-style-type:disc}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{padding-inline-start:2.5rem}.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{margin-bottom:16px}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content dt,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{display:block;margin-inline-end:0;margin-inline-start:0}.tox .tox-dialog__body-content .tox-form__group h1{color:#222f3e;font-size:20px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group h2{color:#222f3e;font-size:16px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group p{margin-bottom:16px}.tox .tox-dialog__body-content .tox-form__group h1:first-child,.tox .tox-dialog__body-content .tox-form__group h2:first-child,.tox .tox-dialog__body-content .tox-form__group p:first-child{margin-top:0}.tox .tox-dialog__body-content .tox-form__group h1:last-child,.tox .tox-dialog__body-content .tox-form__group h2:last-child,.tox .tox-dialog__body-content .tox-form__group p:last-child{margin-bottom:0}.tox .tox-dialog__body-content .tox-form__group h1:only-child,.tox .tox-dialog__body-content .tox-form__group h2:only-child,.tox .tox-dialog__body-content .tox-form__group p:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--center{text-align:center}.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--end{text-align:end}.tox .tox-dialog--width-lg{height:650px;max-width:1200px}.tox .tox-dialog--fullscreen{height:100%;max-width:100%}.tox .tox-dialog--fullscreen .tox-dialog__body-content{max-height:100%}.tox .tox-dialog--width-md{max-width:800px}.tox .tox-dialog--width-md .tox-dialog__body-content{overflow:auto}.tox .tox-dialog__body-content--centered{text-align:center}.tox .tox-dialog__footer{align-items:center;background-color:#fff;border-top:none;display:flex;justify-content:space-between;padding:8px 16px}.tox .tox-dialog__footer-end,.tox .tox-dialog__footer-start{display:flex}.tox .tox-dialog__busy-spinner{align-items:center;background-color:rgba(255,255,255,.75);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:3}.tox .tox-dialog__table{border-collapse:collapse;width:100%}.tox .tox-dialog__table thead th{font-weight:700;padding-bottom:8px}.tox .tox-dialog__table thead th:first-child{padding-right:8px}.tox .tox-dialog__table tbody tr{border-bottom:1px solid #626262}.tox .tox-dialog__table tbody tr:last-child{border-bottom:none}.tox .tox-dialog__table td{padding-bottom:8px;padding-top:8px}.tox .tox-dialog__table td:first-child{padding-right:8px}.tox .tox-dialog__iframe{min-height:200px}.tox .tox-dialog__iframe.tox-dialog__iframe--opaque{background:#fff}.tox .tox-navobj-bordered{position:relative}.tox .tox-navobj-bordered::before{border:1px solid #eee;border-radius:6px;content:'';inset:0;opacity:1;pointer-events:none;position:absolute;z-index:1}.tox .tox-navobj-bordered iframe{border-radius:6px}.tox .tox-navobj-bordered-focus.tox-navobj-bordered::before{border-color:#006ce7;box-shadow:0 0 0 1px #006ce7;outline:0}.tox .tox-dialog__popups{position:absolute;width:100%;z-index:1100}.tox .tox-dialog__body-iframe{display:flex;flex:1;flex-direction:column}.tox .tox-dialog__body-iframe .tox-navobj{display:flex;flex:1}.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2){flex:1;height:100%}.tox .tox-dialog-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-dialog-dock-fadein{opacity:1;visibility:visible}.tox .tox-dialog-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein{transition-delay:0s}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav{margin-right:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav-item:not(:first-child){margin-left:8px}}.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-end>*,.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-start>*{margin-left:8px}.tox[dir=rtl] .tox-dialog__body{text-align:right}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav{margin-left:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav-item:not(:first-child){margin-right:8px}}.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-end>*,.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-start>*{margin-right:8px}.tox .tox-dropdown-content{box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);position:fixed;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;overflow:auto;height:fit-content;width:fit-content;border-radius:var(--tox-private-panel-border-radius,6px);background-color:var(--tox-private-background-color,#fff);max-height:50vh}.tox .tox-dropdown-content .tox-menu{width:100%;box-shadow:none}body.tox-dialog__disable-scroll{overflow:hidden}.tox .tox-dropzone-container{display:flex;flex:1}.tox .tox-dropzone{align-items:center;background:#fff;border:2px dashed #eee;box-sizing:border-box;display:flex;flex-direction:column;flex-grow:1;justify-content:center;min-height:100px;padding:10px}.tox .tox-dropzone p{color:rgba(34,47,62,.7);margin:0 0 16px 0}.tox .tox-edit-area{display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-edit-area::before{border:2px solid #006ce7;border-radius:4px;content:'';inset:0;opacity:0;pointer-events:none;position:absolute;transition:opacity .15s;z-index:1}@media (forced-colors:active){.tox .tox-edit-area::before{border:2px solid highlight}}.tox .tox-edit-area__iframe{background-color:#fff;border:0;box-sizing:border-box;flex:1;height:100%;position:absolute;width:100%}.tox.tox-edit-focus .tox-edit-area::before{opacity:1}.tox.tox-inline-edit-area{border:1px dotted #eee}.tox .tox-expandable-box{background:var(--tox-private-background-color,#fff);border-radius:var(--tox-private-control-border-radius,6px);border:1px solid var(--tox-private-border-color,#eee);display:flex;flex-direction:column;justify-content:stretch;overflow:hidden}.tox .tox-expandable-box>.tox-button{margin:0 var(--tox-private-pad-md,16px) var(--tox-private-pad-md,16px)}.tox .tox-expandable-box__title{align-items:center;background:hsl(from var(--tox-private-color-tint,#006ce7) h s l / 10%);border-bottom:1px solid var(--tox-private-border-color,#eee);color:var(--tox-private-text-color,#222f3e);display:flex;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);gap:var(--tox-private-pad-sm,8px);min-width:0;padding:var(--tox-private-pad-sm,8px) var(--tox-private-pad-md,16px)}.tox .tox-expandable-box__title .tox-icon{flex-shrink:0;height:var(--tox-private-base-value,16px);fill:var(--tox-private-text-color,#222f3e)}.tox .tox-expandable-box__title-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-expandable-box__content{margin:var(--tox-private-pad-md,16px);overflow:auto}.tox .tox-expandable-box__content--overflowing{position:relative;overflow:hidden}.tox .tox-expandable-box__content--overflowing::after{content:'';position:absolute;bottom:0;left:0;right:0;height:min(100px,100%);pointer-events:none;background:linear-gradient(to bottom,transparent 50%,var(--tox-private-background-color,#fff))}.tox .tox-expandable-box__content--expanded{max-height:fit-content}.tox .tox-control-wrap{flex:1;position:relative}.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid,.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown,.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid{display:none}.tox .tox-control-wrap svg{display:block}.tox .tox-control-wrap__status-icon-wrap{position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-control-wrap__status-icon-invalid svg{fill:#c00}.tox .tox-control-wrap__status-icon-unknown svg{fill:orange}.tox .tox-control-wrap__status-icon-valid svg{fill:green}.tox:not([dir=rtl]) .tox-control-wrap--status-invalid .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-unknown .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-valid .tox-textfield{padding-right:32px}.tox:not([dir=rtl]) .tox-control-wrap__status-icon-wrap{right:4px}.tox[dir=rtl] .tox-control-wrap--status-invalid .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-unknown .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-valid .tox-textfield{padding-left:32px}.tox[dir=rtl] .tox-control-wrap__status-icon-wrap{left:4px}.tox .tox-custom-preview{border-color:#eee;border-radius:6px;border-style:solid;border-width:1px;flex:1;padding:8px}.tox .tox-autocompleter{max-width:25em}.tox .tox-autocompleter .tox-menu{box-sizing:border-box;max-width:25em}.tox .tox-autocompleter .tox-autocompleter-highlight{font-weight:700}.tox .tox-color-input{display:flex;position:relative;z-index:1}.tox .tox-color-input .tox-textfield{z-index:-1}.tox .tox-color-input span{border-color:rgba(34 47 62 / 20%);border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;height:24px;position:absolute;top:6px;width:24px}@media (forced-colors:active){.tox .tox-color-input span{border-color:currentColor;border-width:2px!important;forced-color-adjust:none}}.tox .tox-color-input span:focus:not([aria-disabled=true]),.tox .tox-color-input span:hover:not([aria-disabled=true]){border-color:#006ce7;cursor:pointer}.tox .tox-color-input span::before{background-image:linear-gradient(45deg,rgba(0,0,0,.25) 25%,transparent 25%),linear-gradient(-45deg,rgba(0,0,0,.25) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.25) 75%),linear-gradient(-45deg,transparent 75%,rgba(0,0,0,.25) 75%);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px;border:1px solid #fff;border-radius:6px;box-sizing:border-box;content:'';height:24px;left:-1px;position:absolute;top:-1px;width:24px;z-index:-1}@media (forced-colors:active){.tox .tox-color-input span::before{border:none}}.tox .tox-color-input span[aria-disabled=true]{cursor:not-allowed}.tox:not([dir=rtl]) .tox-color-input .tox-textfield{padding-left:36px}.tox:not([dir=rtl]) .tox-color-input span{left:6px}.tox[dir=rtl] .tox-color-input .tox-textfield{padding-right:36px}.tox[dir=rtl] .tox-color-input span{right:6px}.tox .tox-label,.tox .tox-toolbar-label{color:rgba(34,47,62,.7);display:block;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;padding:0 8px 0 0;text-transform:none;white-space:nowrap}.tox .tox-toolbar-label{padding:0 8px}.tox[dir=rtl] .tox-label{padding:0 0 0 8px}.tox .tox-form{display:flex;flex:1;flex-direction:column}.tox .tox-form__group{box-sizing:border-box;margin-bottom:4px}.tox .tox-form-group--maximize{flex:1}.tox .tox-form__group--error{color:#c00}.tox .tox-form__group--collection{display:flex}.tox .tox-form__grid{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}.tox .tox-form__grid--2col>.tox-form__group{width:calc(50% - (8px / 2))}.tox .tox-form__grid--3col>.tox-form__group{width:calc(100% / 3 - (8px / 2))}.tox .tox-form__grid--4col>.tox-form__group{width:calc(25% - (8px / 2))}.tox .tox-form__controls-h-stack{align-items:center;display:flex}.tox .tox-form__group--inline{align-items:center;display:flex}.tox .tox-form__group--stretched{display:flex;flex:1;flex-direction:column}.tox .tox-form__group--stretched .tox-textarea{flex:1}.tox .tox-form__group--stretched .tox-navobj{display:flex;flex:1}.tox .tox-form__group--stretched .tox-navobj :nth-child(2){flex:1;height:100%}.tox:not([dir=rtl]) .tox-form__controls-h-stack>:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-form__controls-h-stack>:not(:first-child){margin-right:4px}.tox .tox-lock.tox-locked .tox-lock-icon__unlock,.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock{display:none}.tox .tox-context-form__group .tox-button--icon.tox-lock-context-form-size-input{margin-left:8px;margin-right:8px}.tox .tox-listboxfield .tox-listbox--select,.tox .tox-textarea,.tox .tox-textarea-wrap .tox-textarea:focus,.tox .tox-textfield,.tox .tox-toolbar-textfield{appearance:none;background-color:#fff;border-color:#eee;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#222f3e;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 5.5px;resize:none;width:100%}.tox .tox-textarea[disabled],.tox .tox-textfield[disabled],.tox .tox-toolbar-textfield[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-custom-editor:focus-within,.tox .tox-focusable-wrapper:focus,.tox .tox-listboxfield .tox-listbox--select:focus,.tox .tox-textarea-wrap:focus-within,.tox .tox-textarea:focus,.tox .tox-textfield:focus,.tox .tox-toolbar-textfield:focus{background-color:#fff;border-color:#006ce7;box-shadow:0 0 0 1px #006ce7;outline:0}.tox .tox-toolbar-textfield{max-width:250px;min-height:unset;height:28px;margin:5px 0 6px 0}.tox .tox-naked-btn{background-color:transparent;border:0;border-color:transparent;box-shadow:unset;color:#006ce7;cursor:pointer;display:block;margin:0;padding:0}.tox .tox-naked-btn svg{display:block;fill:#222f3e}.tox .tox-textfield-size{width:80px}.tox:not([dir=rtl]) .tox-toolbar-textfield+*{margin-left:4px}.tox[dir=rtl] .tox-toolbar-textfield+*{margin-right:4px}.tox .tox-listboxfield{cursor:pointer;position:relative}.tox .tox-listboxfield .tox-listbox--select[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-listbox__select-label{cursor:default;flex:1;margin:0 4px}.tox .tox-listbox__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-listbox__select-chevron svg{fill:#222f3e}@media (forced-colors:active){.tox .tox-listbox__select-chevron svg{fill:currentColor!important}}.tox .tox-listboxfield .tox-listbox--select{align-items:center;display:flex}.tox:not([dir=rtl]) .tox-listboxfield svg{right:8px}.tox[dir=rtl] .tox-listboxfield svg{left:8px}.tox .tox-selectfield{cursor:pointer;position:relative}.tox .tox-selectfield select{appearance:none;background-color:#fff;border-color:#eee;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#222f3e;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 5.5px;resize:none;width:100%}.tox .tox-selectfield select[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-selectfield select::-ms-expand{display:none}.tox .tox-selectfield select:focus{background-color:#fff;border-color:#006ce7;box-shadow:0 0 0 1px #006ce7;outline:0}.tox .tox-selectfield svg{pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-selectfield select option:checked{background-color:revert;color:revert}.tox:not([dir=rtl]) .tox-selectfield select[size="0"],.tox:not([dir=rtl]) .tox-selectfield select[size="1"]{padding-right:24px}.tox:not([dir=rtl]) .tox-selectfield svg{right:8px}.tox[dir=rtl] .tox-selectfield select[size="0"],.tox[dir=rtl] .tox-selectfield select[size="1"]{padding-left:24px}.tox[dir=rtl] .tox-selectfield svg{left:8px}.tox .tox-textarea-wrap{border-color:#eee;border-radius:6px;border-style:solid;border-width:1px;display:flex;flex:1;overflow:hidden}.tox .tox-textarea{appearance:textarea;white-space:pre-wrap}.tox .tox-textarea-wrap .tox-textarea{border:none}.tox .tox-textarea-wrap .tox-textarea:focus{border:none}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}.tox .tox-help__more-link{list-style:none;margin-top:1em}.tox .tox-imagepreview{background-color:#666;height:380px;overflow:hidden;position:relative;width:100%}.tox .tox-imagepreview.tox-imagepreview__loaded{overflow:auto}.tox .tox-imagepreview__container{display:flex;left:100vw;position:absolute;top:100vw}.tox .tox-imagepreview__image{background:url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==)}.tox .tox-image-tools .tox-spacer{flex:1}.tox .tox-image-tools .tox-bar{align-items:center;display:flex;height:60px;justify-content:center}.tox .tox-image-tools .tox-imagepreview,.tox .tox-image-tools .tox-imagepreview+.tox-bar{margin-top:8px}.tox .tox-image-tools .tox-croprect-block{background:#000;opacity:.5;position:absolute;zoom:1}.tox .tox-image-tools .tox-croprect-handle{border:2px solid #fff;height:20px;left:0;position:absolute;top:0;width:20px}.tox .tox-image-tools .tox-croprect-handle-move{border:0;cursor:move;position:absolute}.tox .tox-image-tools .tox-croprect-handle-nw{border-width:2px 0 0 2px;cursor:nw-resize;left:100px;margin:-2px 0 0 -2px;top:100px}.tox .tox-image-tools .tox-croprect-handle-ne{border-width:2px 2px 0 0;cursor:ne-resize;left:200px;margin:-2px 0 0 -20px;top:100px}.tox .tox-image-tools .tox-croprect-handle-sw{border-width:0 0 2px 2px;cursor:sw-resize;left:100px;margin:-20px 2px 0 -2px;top:200px}.tox .tox-image-tools .tox-croprect-handle-se{border-width:0 2px 2px 0;cursor:se-resize;left:200px;margin:-20px 0 0 -20px;top:200px}.tox .tox-image-selector-loading-spinner-wrapper{display:flex;justify-content:center;align-items:center}.tox .tox-image-selector-loading-spinner{position:absolute;width:min(24px,30%);aspect-ratio:1/1;border-radius:50%;border:3px solid #006ce7;border-bottom-color:transparent;animation:tox-rotation 1s linear infinite}.tox .tox-toolbar .tox-image-selector,.tox .tox-toolbar__overflow .tox-image-selector,.tox .tox-toolbar__primary .tox-image-selector{margin:5px 0 6px 11px}.tox .tox-image-selector-menu{border:0;border-radius:3px;margin:-4px -4px;padding:4px}.tox .tox-image-selector-menu .tox-collection--list .tox-collection__group{border:0;padding:0;margin:-4px -4px}.tox .tox-image-selector-menu .tox-collection__item{max-width:48px}.tox .tox-image-selector-menu .tox-collection__item-icon{border:1px solid #eee;border-radius:3px;margin-bottom:4px;width:100%}.tox .tox-image-selector-menu .tox-collection__item-icon svg path{stroke:#c00}.tox .tox-image-selector__row{display:flex}.tox .tox-image-selector--remove{align-items:center;display:flex;justify-content:center}.tox .tox-image-selector--remove svg path{stroke:#c00}.tox .tox-image-selector-image-wrapper{width:46px;height:46px;display:flex;align-items:center;justify-content:center}.tox .tox-image-selector-image-img{max-width:100%;max-height:100%}.tox .tox-image-selector__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-image-selector__picker-btn svg{fill:#222f3e;height:24px;width:24px}.tox .tox-image-selector__picker-btn:hover{background:#f0f0f0}.tox .tox-context-toolbar{position:absolute;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;z-index:1150;background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color,#222f3e);border:1px solid #e3e3e3;border-radius:6px;box-shadow:0 2px 8px rgba(0,0,0,.08);padding:8px}.tox .tox-context-toolbar[popover]{inset:auto;margin:0}.tox .tox-context-toolbar .tox-toolbar{display:flex;flex-wrap:nowrap;gap:8px}.tox .tox-context-toolbar .tox-toolbar__group{display:flex;flex-wrap:nowrap;flex-shrink:0;gap:8px;align-items:center;padding:0}.tox .tox-insert-table-picker{background-color:#fff;display:flex;flex-wrap:wrap;width:170px}.tox .tox-insert-table-picker>div{border-color:#eee;border-style:solid;border-width:0 1px 1px 0;box-sizing:border-box;height:17px;width:17px}.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker{margin:-4px -4px}.tox .tox-insert-table-picker .tox-insert-table-picker__selected{background-color:#006ce7;border-color:#eee}@media (forced-colors:active){.tox .tox-insert-table-picker .tox-insert-table-picker__selected{border-color:Highlight;filter:contrast(50%)}}.tox .tox-insert-table-picker__label{color:rgba(34,47,62,.7);display:block;font-size:14px;padding:4px;text-align:center;width:100%}.tox:not([dir=rtl]) .tox-insert-table-picker>div:nth-child(10n){border-right:0}.tox[dir=rtl] .tox-insert-table-picker>div:nth-child(10n+1){border-right:0}.tox-mentions__card-common{z-index:1200}.tox.tox-mentions__card{background:#fff;border:1px solid #eee;display:flex;padding:4px 8px}.tox.tox-mentions__card .tox-mentions__container{display:flex;flex-direction:column;align-self:center;margin:0 4px}.tox .tox-mentions__avatar{width:42px;height:42px;border-radius:50%;margin-right:4px}.tox .tox-mentions__username{font-size:14px;line-height:21px;color:#222f3e}.tox .tox-mentions__description{font-size:12px;line-height:21px;color:rgba(34,47,62,.7)}.tox .tox-collection__item--active .tox-mentions__description,.tox .tox-collection__item--active .tox-mentions__username{color:inherit}.tox .tox-menu{background-color:#fff;border:1px solid transparent;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);display:inline-block;overflow:hidden;vertical-align:top;z-index:1150}.tox .tox-menu.tox-collection.tox-collection--list{padding:0 4px}.tox .tox-menu.tox-collection.tox-collection--toolbar{padding:8px}.tox .tox-menu.tox-collection.tox-collection--grid{padding:8px}@media only screen and (min-width:768px){.tox .tox-menu .tox-collection__item-label{overflow-wrap:break-word;word-break:normal}.tox .tox-dialog__popups .tox-menu .tox-collection__item-label{word-break:break-all}}.tox .tox-menu__label blockquote,.tox .tox-menu__label code,.tox .tox-menu__label h1,.tox .tox-menu__label h2,.tox .tox-menu__label h3,.tox .tox-menu__label h4,.tox .tox-menu__label h5,.tox .tox-menu__label h6,.tox .tox-menu__label p{margin:0}.tox .tox-menubar{background:repeating-linear-gradient(transparent 0 1px,transparent 1px 39px) center top 39px/100% calc(100% - 39px) no-repeat;background-color:#fff;display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;grid-column:1/-1;grid-row:1;padding:0 11px 0 12px}.tox .tox-promotion+.tox-menubar{grid-column:1}@media (max-width:480px){.tox:not(.tox-tinymce-inline) .tox-menubar{flex-wrap:nowrap;min-width:0;min-height:39px;overflow-x:auto;overflow-y:hidden}}.tox .tox-promotion{background:repeating-linear-gradient(transparent 0 1px,transparent 1px 39px) center top 39px/100% calc(100% - 39px) no-repeat;background-color:#fff;grid-column:2;grid-row:1;padding-inline-end:8px;padding-inline-start:4px;padding-top:5px}.tox .tox-promotion-link{align-items:unsafe center;background-color:#e8f1f8;border-radius:5px;color:#086be6;cursor:pointer;display:flex;font-size:14px;height:26.6px;padding:4px 8px;white-space:nowrap}.tox .tox-promotion-link:hover{background-color:#b4d7ff}.tox .tox-promotion-link:focus{background-color:#d9edf7}.tox .tox-mbtn{align-items:center;background:#fff;border:0;border-radius:3px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;justify-content:center;margin:5px 1px 6px 0;outline:0;padding:0 4px;text-transform:none;width:auto}.tox .tox-mbtn[disabled]{background-color:#fff;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-mbtn:focus:not(:disabled){background:#fff;border:0;box-shadow:none;color:#222f3e;position:relative;z-index:1}.tox .tox-mbtn:focus:not(:disabled)::after{pointer-events:none;border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-mbtn:focus:not(:disabled)::after{border:2px solid highlight}}.tox .tox-mbtn--active,.tox .tox-mbtn:not(:disabled).tox-mbtn--active:focus{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active){background:#f0f0f0;border:0;box-shadow:none;color:#222f3e}.tox .tox-mbtn__select-label{cursor:default;font-weight:400;margin:0 4px}.tox .tox-mbtn[disabled] .tox-mbtn__select-label{cursor:not-allowed}.tox .tox-mbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px;display:none}.tox .tox-notification{border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;display:grid;font-size:14px;font-weight:400;grid-template-columns:minmax(40px,1fr) auto minmax(40px,1fr);margin-left:auto;margin-right:auto;margin-top:4px;opacity:0;padding:4px;transition:transform .1s ease-in,opacity 150ms ease-in;width:max-content}.tox .tox-notification a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification p{font-size:14px;font-weight:400}.tox .tox-notification:focus{border-color:#006ce7;box-shadow:0 0 0 1px #006ce7}.tox .tox-notification--in{opacity:1}.tox .tox-notification--success{background-color:#e4eeda;border-color:#d7e6c8;color:#222f3e}.tox .tox-notification--success p{color:#222f3e}.tox .tox-notification--success a{color:#517342}.tox .tox-notification--success a:focus,.tox .tox-notification--success a:hover{color:#24321d;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--success a:focus-visible{border-radius:1px;outline:2px solid #517342;outline-offset:2px}.tox .tox-notification--success a:active{color:#0d120a;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--success svg{fill:#222f3e}.tox .tox-notification--error{background-color:#f5cccc;border-color:#f0b3b3;color:#222f3e}.tox .tox-notification--error p{color:#222f3e}.tox .tox-notification--error a{color:#77181f}.tox .tox-notification--error a:focus,.tox .tox-notification--error a:hover{color:#220709;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--error a:focus-visible{border-radius:1px;outline:2px solid #77181f;outline-offset:2px}.tox .tox-notification--error a:active{color:#000;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--error svg{fill:#222f3e}.tox .tox-notification--warn,.tox .tox-notification--warning{background-color:#fff5cc;border-color:#fff0b3;color:#222f3e}.tox .tox-notification--warn p,.tox .tox-notification--warning p{color:#222f3e}.tox .tox-notification--warn a,.tox .tox-notification--warning a{color:#7a6e25}.tox .tox-notification--warn a:focus,.tox .tox-notification--warn a:hover,.tox .tox-notification--warning a:focus,.tox .tox-notification--warning a:hover{color:#2c280d;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--warn a:focus-visible,.tox .tox-notification--warning a:focus-visible{border-radius:1px;outline:2px solid #7a6e25;outline-offset:2px}.tox .tox-notification--warn a:active,.tox .tox-notification--warning a:active{color:#050502;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--warn svg,.tox .tox-notification--warning svg{fill:#222f3e}.tox .tox-notification--info{background-color:#d6e7fb;border-color:#c1dbf9;color:#222f3e}.tox .tox-notification--info p{color:#222f3e}.tox .tox-notification--info a{color:#2a64a6}.tox .tox-notification--info a:focus,.tox .tox-notification--info a:hover{color:#163355;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--info a:focus-visible{border-radius:1px;outline:2px solid #2a64a6;outline-offset:2px}.tox .tox-notification--info a:active{color:#0b1a2c;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--info svg{fill:#222f3e}.tox .tox-notification__body{align-self:center;color:#222f3e;font-size:14px;grid-column-end:3;grid-column-start:2;grid-row-end:2;grid-row-start:1;text-align:center;white-space:normal;word-break:break-all;word-break:break-word}.tox .tox-notification__body>*{margin:0}.tox .tox-notification__body>*+*{margin-top:1rem}.tox .tox-notification__icon{align-self:center;grid-column-end:2;grid-column-start:1;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification__icon svg{display:block}.tox .tox-notification__dismiss{align-self:start;grid-column-end:4;grid-column-start:3;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification .tox-progress-bar{grid-column-end:4;grid-column-start:1;grid-row-end:3;grid-row-start:2;justify-self:center}.tox .tox-notification-container-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-notification-container-dock-fadein{opacity:1;visibility:visible}.tox .tox-notification-container-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-notification-container-dock-transition.tox-notification-container-dock-fadein{transition-delay:0s}.tox .tox-onboarding-overlay{height:100%;background-color:#f0f0f0;position:absolute;top:0;left:0;right:0;z-index:1302;overflow:auto;display:grid;justify-content:center;align-items:center}.tox .tox-onboarding-dialog{max-width:512px;background-color:#fff;display:flex;flex-direction:column;box-shadow:0 16px 16px -10px rgba(34,47,62,.15),0 0 40px 1px rgba(34,47,62,.15);border-radius:12px;margin:8px}.tox .tox-onboarding-dialog .tox-onboarding-header{color:#222f3e;display:flex;justify-content:center;align-items:center;font-size:20px;margin:24px 0 8px}.tox .tox-onboarding-dialog .tox-onboarding-step{display:grid;grid-template-columns:min-content 1fr min-content;align-items:center;margin:0 24px}.tox .tox-onboarding-dialog .tox-onboarding-step:not(:last-child){border-bottom:1px solid #e3e3e3}.tox .tox-onboarding-dialog .tox-onboarding-step--number{width:24px;aspect-ratio:1/1;border-radius:50%;border:1px solid #00ad0e;display:flex;justify-content:center;align-items:center;font-size:12px;font-weight:700;color:#00ad0e}.tox .tox-onboarding-dialog .tox-onboarding-step--body{padding:24px 0 24px 16px}.tox .tox-onboarding-dialog .tox-onboarding-step--body-header{color:#222f3e;font-size:14px;font-weight:700;margin-bottom:4px}.tox .tox-onboarding-dialog .tox-onboarding-step--body-details{color:rgba(34,47,62,.7);font-size:14px}.tox .tox-onboarding-dialog .tox-onboarding-step--action{padding-left:24px}.tox .tox-onboarding-dialog .tox-onboarding-footer{background-color:#f0f0f0;display:flex;justify-content:space-between;align-items:center;padding:16px 24px;border-bottom-left-radius:12px;border-bottom-right-radius:12px}.tox .tox-onboarding-dialog .tox-onboarding-footer p{display:flex;align-items:center;justify-content:center;gap:4px;font-size:14px;color:rgba(34,47,62,.7)}.tox .tox-onboarding-dialog svg{width:24px;fill:rgba(34,47,62,0.7)}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin{display:grid;align-items:center;grid-template-columns:min-content 1fr min-content;border-bottom:1px solid #e3e3e3;padding:24px 0;margin:0 16px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body{margin:0 16px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body .tox-promotion-dialog-plugin-header{color:#222f3e;font-size:14px;font-weight:700;margin-bottom:4px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body .tox-promotion-dialog-plugin-details{color:rgba(34,47,62,.7);font-size:14px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--icon{display:grid;place-content:center;width:56px;height:56px;line-height:24px;font-size:24px;border-radius:12px;background:linear-gradient(180deg,#fff 24%,#f0f0f0 100%);box-shadow:0 1px 1px 0 #222f3e12,0 3px 6px 0 #222f3e06;color:#006ce7}.tox .tox-promotion-dialog--subtitle{margin:16px;color:rgba(34,47,62,.7);font-size:14px}.tox .tox-promotion-dialog--explore{text-align:center;margin:16px;color:rgba(34,47,62,.7);font-size:14px}.tox .tox-promotion-dialog--explore a{color:#006ce7}.tox .tox-promotion-dialog--footer{background-color:#f0f0f0;color:rgba(34,47,62,.7);font-size:12px;text-align:center;padding:16px}.tox .tox-promotion-button{display:flex;align-items:center;height:26.6px;line-height:26.6px;font-size:14px;font-weight:700;background-color:#f1ebf9;color:#851aff;padding:8px 16px;cursor:pointer;white-space:nowrap;border-radius:5px}.tox .tox-promotion-button:focus{outline:1px solid #851AFF}.tox .tox-onboarding-dialog a,.tox .tox-promotion-dialog--footer a{color:rgba(34,47,62,.7);cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-onboarding-dialog a:focus,.tox .tox-onboarding-dialog a:hover,.tox .tox-promotion-dialog--footer a:focus,.tox .tox-promotion-dialog--footer a:hover{color:#071729;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-onboarding-dialog a:focus-visible,.tox .tox-promotion-dialog--footer a:focus-visible{border-radius:1px;outline:2px solid #144782;outline-offset:2px}.tox .tox-onboarding-dialog a:active,.tox .tox-promotion-dialog--footer a:active{color:#000;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-pop{display:inline-block;position:relative}.tox .tox-pop--resizing{transition:width .1s ease}.tox .tox-pop--resizing .tox-toolbar,.tox .tox-pop--resizing .tox-toolbar__group{flex-wrap:nowrap}.tox .tox-pop--transition{transition:.15s ease;transition-property:left,right,top,bottom}.tox .tox-pop--transition::after,.tox .tox-pop--transition::before{transition:all .15s,visibility 0s,opacity 75ms ease 75ms}.tox .tox-pop__dialog{background-color:#fff;border:1px solid #eee;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);min-width:0;overflow:hidden}.tox .tox-pop__dialog>:not(.tox-toolbar){margin:4px 4px 4px 8px}.tox .tox-pop__dialog .tox-toolbar{background-color:transparent;margin-bottom:-1px}.tox .tox-pop::after,.tox .tox-pop::before{border-style:solid;content:'';display:block;height:0;opacity:1;position:absolute;width:0}@media (forced-colors:active){.tox .tox-pop::after,.tox .tox-pop::before{content:none}}.tox .tox-pop.tox-pop--inset::after,.tox .tox-pop.tox-pop--inset::before{opacity:0;transition:all 0s .15s,visibility 0s,opacity 75ms ease}.tox .tox-pop.tox-pop--bottom::after,.tox .tox-pop.tox-pop--bottom::before{left:50%;top:100%}.tox .tox-pop.tox-pop--bottom::after{border-color:#fff transparent transparent transparent;border-width:8px;margin-left:-8px;margin-top:-1px}.tox .tox-pop.tox-pop--bottom::before{border-color:#eee transparent transparent transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--top::after,.tox .tox-pop.tox-pop--top::before{left:50%;top:0;transform:translateY(-100%)}.tox .tox-pop.tox-pop--top::after{border-color:transparent transparent #fff transparent;border-width:8px;margin-left:-8px;margin-top:1px}.tox .tox-pop.tox-pop--top::before{border-color:transparent transparent #eee transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--left::after,.tox .tox-pop.tox-pop--left::before{left:0;top:calc(50% - 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--left::after{border-color:transparent #fff transparent transparent;border-width:8px;margin-left:-15px}.tox .tox-pop.tox-pop--left::before{border-color:transparent #eee transparent transparent;border-width:10px;margin-left:-19px}.tox .tox-pop.tox-pop--right::after,.tox .tox-pop.tox-pop--right::before{left:100%;top:calc(50% + 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--right::after{border-color:transparent transparent transparent #fff;border-width:8px;margin-left:-1px}.tox .tox-pop.tox-pop--right::before{border-color:transparent transparent transparent #eee;border-width:10px;margin-left:-1px}.tox .tox-pop.tox-pop--align-left::after,.tox .tox-pop.tox-pop--align-left::before{left:20px}.tox .tox-pop.tox-pop--align-right::after,.tox .tox-pop.tox-pop--align-right::before{left:calc(100% - 20px)}.tox.tox-edit-focus .tox-sidebar__resize-handle:hover::before{border-left:0 solid transparent}.tox .tox-sidebar-wrap{--tox-private-min-editing-area-width:280px;flex-grow:1;min-height:0}.tox .tox-sidebar-wrap:not(.tox .tox-sidebar-wrap--resizable){display:flex;flex-direction:row}.tox .tox-sidebar-wrap--resizable{display:grid;grid-template-columns:minmax(var(--tox-private-min-editing-area-width),1fr) minmax(0,max-content);grid-template-rows:minmax(0,1fr)}.tox .tox-sidebar{background-color:var(--tox-private-sidebar-background-color,#f0f0f0);display:flex;flex-direction:row;justify-content:flex-end}.tox .tox-sidebar__slider{display:flex;overflow:hidden}.tox .tox-sidebar-wrap--resizable .tox-sidebar__pane-container{width:var(--tox-private-requested-sidebar-width)}.tox .tox-sidebar-wrap--resizable .tox-sidebar--sliding-growing .tox-sidebar__pane-container,.tox .tox-sidebar-wrap--resizable .tox-sidebar--sliding-shrinking .tox-sidebar__pane-container{width:var(--tox-private-resolved-sidebar-width);min-width:var(--tox-private-resolved-sidebar-width)}.tox .tox-sidebar__pane-container{display:flex}.tox .tox-sidebar-wrap--resizable .tox-sidebar__resize-handle{display:block}.tox .tox-sidebar__resize-handle{display:none;position:relative;width:var(--tox-private-sidebar-resize-handle-width,1px);height:100%;cursor:col-resize;background-color:var(--tox-private-separator-color,#e3e3e3);z-index:1}.tox .tox-sidebar__resize-handle::before{content:'';position:absolute;top:0;bottom:0;width:8px;box-sizing:border-box;border-left:0 solid transparent;transition:border-left-width .15s ease,border-left-color .15s ease}.tox .tox-sidebar__resize-handle:hover::before{border-left:3px solid #006ce7}.tox .tox-sidebar-wrap--resizable .tox-sidebar__pane{width:calc(100% - var(--tox-private-sidebar-resize-handle-width,1px))}.tox .tox-sidebar__pane{display:flex}.tox .tox-sidebar--sliding-closed{opacity:0}.tox .tox-sidebar--sliding-open{opacity:1}.tox .tox-sidebar--sliding-growing,.tox .tox-sidebar--sliding-shrinking{transition:width .5s ease,opacity .5s ease}.tox .tox-sidebar-content{display:flex;flex-direction:column;position:relative;width:100%;height:100%}.tox .tox-sidebar-content__header{align-items:center;display:flex;justify-content:space-between;border-bottom:var(--tox-private-tinymceai-border-width,1px) solid var(--tox-private-neutral-20,#e3e3e3);padding:var(--tox-private-pad-sm,8px) 12px;background:var(--tox-private-background-color,#fff)}.tox .tox-sidebar-content__header .tox-sidebar-content__header-close-button{margin-left:auto}.tox .tox-sidebar-content__actions{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-sidebar-content__title{font-size:var(--tox-private-font-size-lg, 20px);font-weight:var(--tox-private-font-weight-normal,normal);padding:var(--tox-private-pad-sm,8px) 0 var(--tox-private-pad-sm,8px) 0;color:var(--tox-private-text-color,#222f3e);line-height:28px}.tox .tox-floating-sidebar{--tox-private-floating-sidebar-width:min(380px, 90vw);--tox-private-floating-sidebar-height:80vh;position:fixed;z-index:var(--tox-private-z-index-floatingsidebar,1050);box-shadow:var(--tox-private-floating-sidebar-box-shadow,0 0 40px 1px rgba(34,47,62,.15),0 16px 16px -10px rgba(34,47,62,.15),0 0 0 1px rgba(34,47,62,.15));width:var(--tox-private-floating-sidebar-width);height:var(--tox-private-floating-sidebar-height);background-color:var(--tox-private-floating-sidebar-background-color,#f0f0f0);border-radius:var(--tox-private-panel-border-radius,6px);overflow:hidden}.tox .tox-floating-sidebar:not(.tox .tox-floating-sidebar--open){display:none}.tox .tox-floating-sidebar--open{display:block}.tox .tox-floating-sidebar__content-wrapper{width:100%;height:100%;display:flex;flex-direction:column}.tox .tox-floating-sidebar__header{position:relative}.tox .tox-floating-sidebar .tox-ai__scroll:has(.tox-card-list){background-color:inherit}.tox .tox-ai .tox-expandable-box{margin-bottom:calc(var(--tox-private-pad-md,16px) * .75)}.tox .tox-ai .tox-expandable-box .tox-expandable-box__content{margin:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-md,16px) * .75)}.tox .tox-ai .tox-expandable-box>.tox-button{margin:0 calc(var(--tox-private-pad-md,16px) * .75) var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-expandable-box:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#006ce7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-sidebar-content__header{border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-background-color,#fff);padding:calc(var(--tox-private-pad-sm,8px) - var(--tox-private-tinymceai-focus-border-width,2px)) calc(12px - var(--tox-private-tinymceai-focus-border-width,2px));border-bottom:1px solid var(--tox-private-separator-color,#e3e3e3)}.tox .tox-ai .tox-sidebar-content__header:focus-visible:not(:disabled){border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#006ce7);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-sidebar-content__loader{align-items:center;display:flex;height:100%;justify-content:center;width:100%;z-index:1000}.tox .tox-ai .tox-sidebar-content__title{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin-right:auto}.tox .tox-ai .tox-sidebar-content__title:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#006ce7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-sidebar-content__actions .tox-ai__complete-review{display:flex;align-items:center;gap:6px;padding-top:var(--tox-private-pad-xs,4px);padding-bottom:var(--tox-private-pad-xs,4px);padding-left:var(--tox-private-pad-md,16px);padding-right:var(--tox-private-pad-md,16px)}.tox .tox-ai .tox-menu{width:-webkit-fill-available;width:-moz-available;width:stretch;overflow:visible}.tox .tox-ai .tox-ai__user-prompt{display:flex;flex-direction:column;margin-left:auto;gap:inherit;width:100%}.tox .tox-ai .tox-ai__user-prompt__context{margin-left:auto;display:flex;flex-direction:column;gap:inherit;align-items:end;width:100%}.tox .tox-ai .tox-ai__user-prompt__context .tox-tag{max-width:100%}.tox .tox-ai .tox-ai__user-prompt__text{background-color:var(--tox-private-background-secondary,#f0f0f0);padding:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-md,16px) * .75);border-radius:var(--tox-private-control-border-radius,6px);max-width:80%;align-self:flex-end;color:var(--tox-private-text-color,#222f3e);white-space:pre-wrap}.tox .tox-ai .tox-ai__user-prompt__text:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#006ce7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-ai__scroll{overflow-y:auto;overflow-x:hidden;background-color:var(--tox-private-background-color,#fff);display:flex;padding:12px;flex-direction:column;align-items:flex-start;gap:12px;flex:1 0 0;align-self:stretch}.tox .tox-ai .tox-ai__scroll:focus-visible:not(:disabled){outline:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#006ce7);outline-offset:calc(-1 * var(--tox-private-tinymceai-focus-border-width,2px));border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-ai__scroll--review:not(:has(.tox-sidebar-content__message-text)){background-color:var(--tox-private-background-secondary,#f0f0f0)}.tox .tox-ai .tox-ai__spinner svg{fill:var(--tox-private-color-tint,#006ce7)}.tox .tox-ai .tox-ai__response{width:100%;min-width:100%;max-width:100%}.tox .tox-ai .tox-ai__response__header{display:flex;align-items:center;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response__header .tox-icon svg{fill:var(--tox-private-color-tint,#006ce7)}.tox .tox-ai .tox-ai__response-status{display:flex;color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));font-size:var(--tox-private-font-size-sm, 14px);gap:var(--tox-private-pad-xs,4px);line-height:var(--tox-private-tinymceai-response-status-icon-height, max(24px, calc(14px + 4px)));padding-top:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response-status svg{fill:var(--tox-private-text-color-muted,rgba(34,47,62,0.7))}.tox .tox-ai .tox-ai__response-status-icon{border-radius:999px;border:1px solid var(--tox-private-neutral-20,#e3e3e3);background-color:var(--tox-private-background-color,#fff);height:var(--tox-private-tinymceai-response-status-icon-height,max(24px,calc(14px + 4px)));flex:0 0 24px;display:flex;align-items:center;justify-content:center}.tox .tox-ai .tox-ai__response-status-icon .tox-icon{display:contents}.tox .tox-ai .tox-ai__response-status-icon+.tox-ai__response-status-icon{margin-left:calc((var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px)) * -1)}.tox .tox-ai .tox-ai__icon{display:flex;align-items:center;justify-content:center}.tox .tox-ai .tox-ai__response-sources{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response-sources-header{display:block}.tox .tox-ai .tox-ai__response-sources-list{display:flex;align-items:center;gap:var(--tox-private-pad-sm,8px);align-self:stretch;flex-wrap:wrap}.tox .tox-ai .tox-ai__response-sources-list .tox-tag{border:1px solid var(--tox-private-separator-color,#e3e3e3);background-color:transparent;max-width:32%;max-height:24px;cursor:pointer}.tox .tox-ai .tox-ai__response-sources-list .tox-tag img,.tox .tox-ai .tox-ai__response-sources-list .tox-tag svg{width:16px;height:16px;min-width:16px;min-height:16px;max-width:16px;max-height:16px}.tox .tox-ai .tox-ai__response-content{padding:var(--tox-private-pad-sm,8px) 0;color:var(--tox-private-text-color,#222f3e);font-feature-settings:'liga' off,'clig' off;font-size:var(--tox-private-font-size-sm, 14px);font-style:normal;font-weight:var(--tox-private-font-weight-normal,normal);line-height:var(--tox-private-line-height, 18px);display:flex;flex-direction:column}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming{position:relative}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming .tox-ai__response-status{color:var(--tox-private-text-color,#222f3e);font-size:var(--tox-private-font-size-md, 16px);line-height:calc(var(--tox-private-font-size-md, 16px) + 4px)}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming::after{content:'';position:absolute;bottom:0;left:0;right:0;height:min(100px,100%);pointer-events:none;background:linear-gradient(to bottom,transparent 60px,transparent 60px,var(--tox-private-background-color,#fff))}.tox .tox-ai .tox-ai-error{border-radius:var(--tox-private-panel-border-radius,6px);border:1px solid var(--tox-private-color-error,#c00);background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#fff) r g b / .9) 0,rgba(from var(--tox-private-background-color,#fff) r g b / .9) 100%),var(--tox-private-color-error,#c00);padding:var(--tox-private-pad-sm,8px);width:100%;display:flex;gap:var(--tox-private-pad-sm,8px);align-items:center}.tox .tox-ai .tox-ai-error__message{flex:1 0 0}.tox .tox-ai .tox-ai-error__icon{flex:0 0 auto;align-self:flex-start}.tox .tox-ai .tox-ai__footer{padding:calc(12px - var(--tox-private-tinymceai-focus-border-width,2px));gap:var(--tox-private-pad-sm,8px);background-color:var(--tox-private-background-color,#fff);display:flex;flex-direction:column;border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-background-color,#fff);border-top:1px solid var(--tox-private-separator-color,#e3e3e3)}.tox .tox-ai .tox-ai__footer:focus-visible:not(:disabled){border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#006ce7);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-ai__context{display:flex;gap:var(--tox-private-pad-sm,8px);flex-wrap:wrap;max-height:calc((2 * (2 * var(--tox-private-pad-xs,4px) + var(--tox-private-base-value,16px))) + var(--tox-private-pad-sm,8px))}.tox .tox-ai .tox-ai__context .tox-tag{max-width:calc((100% - var(--tox-private-pad-sm,8px))/ 2)}.tox .tox-ai .tox-ai__context-more{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px);padding:var(--tox-private-pad-sm,8px);overflow:auto;max-width:var(--tox-private-tinymceai-context-more-max-width,320px)}.tox .tox-ai .tox-ai__context-more .tox-tag{max-width:100%}.tox .tox-ai .tox-ai__stop-generating{display:flex;align-items:center;gap:6px}.tox .tox-ai .tox-ai__footer-actions{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-model-selection-button{display:flex;gap:var(--tox-private-pad-xs,4px)}.tox .tox-ai .tox-ai__footer-note{align-items:center;color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));display:flex;font-size:var(--tox-private-font-size-xs, 12px);height:24px;justify-content:center;letter-spacing:0;padding-top:var(--tox-private-pad-sm,8px);width:100%}.tox .tox-ai .tox-ai__models-menu{max-width:350px}.tox .tox-ai .tox-ai__models-menu .tox-menu{max-height:inherit;padding:var(--tox-private-pad-xs,4px)}.tox .tox-ai .tox-ai__models-menu__item__description{display:flex;flex-direction:column;align-items:start}.tox .tox-ai .tox-ai__models-menu__item__description__title{font-weight:var(--tox-private-font-weight-bold,bold);font-size:var(--tox-private-font-size-sm, 14px);line-height:calc(var(--tox-private-font-size-sm, 14px) * 1.28572);padding-bottom:4px}.tox .tox-ai .tox-ai__models-menu__item__description__content{color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));font-size:var(--tox-private-font-size-xs, 12px);line-height:calc(var(--tox-private-font-size-xs, 12px) * 1.33333)}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content{color:inherit}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content .tox-ai__models-menu__item__description__ability{color:var(--tox-private-color-white,#fff)}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content .tox-ai__models-menu__item__description__content_body{color:rgba(from var(--tox-private-color-white,#fff) r g b / .7)}.tox .tox-ai .tox-ai__models-menu__item__description__ability{color:var(--tox-private-text-color,#222f3e);padding-bottom:4px}.tox .tox-ai .tox-ai__models-menu__item__description__ability__enabled{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-ai .tox-ai-chat-history-list{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px);padding-top:var(--tox-private-pad-xs,4px);width:100%}.tox .tox-ai .tox-ai-chat-history-list .tox-collection__group{gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-chat-history-list__title{color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:18px;letter-spacing:1px}.tox .tox-ai .tox-ai-chat-history-list__item{display:flex;padding:12px;gap:var(--tox-private-pad-sm,8px);border-radius:var(--tox-private-control-border-radius,6px);cursor:pointer}.tox .tox-ai .tox-ai-chat-history-list__item.tox-ai-chat-history-list__item--active{background-color:var(--tox-private-background-secondary,#f0f0f0)}.tox .tox-ai .tox-ai-chat-history-list__item:focus,.tox .tox-ai .tox-ai-chat-history-list__item:focus-visible{background-color:var(--tox-private-background-secondary,#f0f0f0)}.tox .tox-ai .tox-ai-chat-history-list__item.tox-ai-chat-history-list__item-edit-title{background-color:var(--tox-private-background-secondary,#f0f0f0);flex-direction:column}.tox .tox-ai .tox-ai-chat-history-list__item-edit-actions{display:flex;justify-content:flex-end;width:100%;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-chat-history-list__item-edit-actions .tox-ai__spinner svg{fill:rgba(from var(--tox-private-color-white,#fff) r g b / 0.5)}.tox .tox-ai .tox-ai-chat-history-list__item-content{display:flex;flex-direction:column;margin-right:auto;overflow:hidden}.tox .tox-ai .tox-ai-chat-history-list__item-actions{display:flex;align-items:center;min-width:calc(24px + (var(--tox-private-pad-xs,4px) + 1px)*2)}.tox .tox-ai .tox-ai-chat-history-list__item-content-title{color:var(--tox-private-text-color,#222f3e);font-size:var(--tox-private-font-size-base, 16px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:var(--tox-private-font-size-lg, 20px);overflow:hidden;text-overflow:ellipsis}.tox .tox-ai .tox-ai-chat-history-list__item-content-date{color:var(--tox-private-text-color,#222f3e);font-size:var(--tox-private-font-size-xs, 12px);line-height:var(--tox-private-line-height-base, 1.3)}.tox .tox-ai .tox-sidebar-content__message{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;gap:var(--tox-private-pad-md,16px);width:100%}.tox .tox-ai .tox-sidebar-content__message-text{text-align:center;color:var(--tox-private-text-color,#222f3e);font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:20px}.tox .tox-ai .tox-sidebar-content__message-action{display:flex;justify-content:center;align-items:center;align-self:stretch}.tox .tox-ai .tox-ai-chat-action-button{line-height:var(--tox-private-base-value, 16px);font-size:var(--tox-private-font-size-xs, 12px);padding:6px var(--tox-private-pad-sm,8px);margin:var(--tox-private-pad-xs,4px) 0;font-weight:var(--tox-private-font-weight-normal,normal);width:min-content}.tox .tox-ai .tox-ai-chat-action-button .tox-icon{display:inline-flex;align-items:center;justify-content:center;height:16px;width:16px;overflow:hidden}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg{display:block;flex:none;fill:var(--tox-private-tinymceai-chat-action-button-icon-color,#006ce7)}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='24'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='24px']{transform:scale(calc(16 / 24))}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='20'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='20px']{transform:scale(calc(16 / 20))}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='18'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='18px']{transform:scale(calc(16 / 18))}.tox .tox-ai .tox-ai-chat-action-button:not(:has(+ .tox-ai-chat-action-button)){margin-bottom:var(--tox-private-pad-sm,8px)}.tox .tox-ai-removed-content{font-style:italic;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));line-height:var(--tox-private-line-height-base, 1.3);margin:0 1em}.tox .tox-ai-removed-content::before{content:"⊘ ";font-style:normal;font-size:calc(var(--tox-private-line-height-base, 1.3) * 1em)}.tox .tox-ai-html-content{font-size:var(--tox-private-font-size-md, 16px);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color,#222f3e);line-height:var(--tox-private-line-height-base, 1.3);overflow-x:auto}.tox .tox-ai-html-content:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#006ce7);outline-offset:var(--tox-private-tinymceai-html-content-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai-html-content h1{font-size:1.6em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.67em 0}.tox .tox-ai-html-content h2{font-size:1.4em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.83em 0}.tox .tox-ai-html-content h3{font-size:1.2em;font-weight:var(--tox-private-font-weight-bold,bold);margin:1em 0}.tox .tox-ai-html-content h4,.tox .tox-ai-html-content h5,.tox .tox-ai-html-content h6{font-size:1em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.33em 0}.tox .tox-ai-html-content p{margin:var(--tox-private-pad-sm,8px) 0}.tox .tox-ai-html-content ol,.tox .tox-ai-html-content ul{padding-left:2em;margin:1em 0}.tox .tox-ai-html-content li:has(input:first-child){list-style-type:none}.tox .tox-ai-html-content a{color:var(--tox-private-color-tint,#006ce7);-webkit-text-decoration:underline;text-decoration:underline;cursor:pointer}.tox .tox-ai-html-content a:link:active,.tox .tox-ai-html-content a:visited:active{color:#8864ad}.tox .tox-ai-html-content blockquote{border-left:2px solid var(--tox-private-separator-color,#e3e3e3);margin-left:1.5rem;padding-left:1rem;font-style:italic}.tox .tox-ai-html-content code{font-family:ui-monospace,monospace;background:var(--tox-private-separator-color,#e3e3e3);padding:.1em .2em;border-radius:4px}.tox .tox-ai-html-content pre code{display:block;font-family:ui-monospace,monospace;background:var(--tox-private-separator-color,#e3e3e3);border-radius:4px;white-space:pre-wrap;margin:1em 0;overflow-wrap:break-word}.tox .tox-ai-html-content hr{border:none;border-top:1px solid var(--tox-private-border-color,#eee)}.tox .tox-ai-html-content table{width:100%;border-collapse:collapse;margin:.5em 0;font-size:.95em;line-height:1.45}.tox .tox-ai-html-content table:not([cellpadding]) td,.tox .tox-ai-html-content table:not([cellpadding]) th{padding:.4rem}.tox .tox-ai-html-content td,.tox .tox-ai-html-content th{border:1px solid var(--tox-private-border-color,#eee)}.tox .tox-ai-html-content th{font-weight:var(--tox-private-font-weight-bold,bold);text-align:left;white-space:nowrap}.tox .tox-ai-html-content b,.tox .tox-ai-html-content strong{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-ai-html-content em,.tox .tox-ai-html-content i{font-style:italic}.tox .tox-ai-html-content del{-webkit-text-decoration:line-through;text-decoration:line-through}.tox .tox-ai-html-content sub,.tox .tox-ai-html-content sup{font-size:.75em;line-height:0;vertical-align:baseline}.tox .tox-ai-html-content sup{vertical-align:super}.tox .tox-ai-html-content sub{vertical-align:sub}.tox .tox-ai-html-content mark{background:hsl(from var(--tox-private-color-active,#ffcf30) h s l / 30%);padding:.05em .2em;border-radius:2px}.tox .tox-ai-html-content small{font-size:.85em}.tox .tox-ai-html-content kbd{font-family:ui-monospace,monospace;font-size:.85em;padding:.15em .4em;border-radius:4px;border:1px solid var(--tox-private-border-color,#eee);background:var(--tox-private-separator-color,#e3e3e3);box-shadow:inset 0 -1px 0 var(--tox-private-border-color,#eee)}.tox .tox-ai-html-content img{max-width:100%;height:auto;vertical-align:middle;border-radius:4px}.tox .tox-expandable-box__content .tox-ai-html-content+.tox-ai-html-content::before,.tox .tox-expandable-box__content .tox-ai-html-content:has(+ .tox-ai-removed-content)::after,.tox .tox-expandable-box__content .tox-ai-removed-content+.tox-ai-html-content::before{content:"〰〰";color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));text-align:center;width:100%;display:block}.tox .tox-diff-preview{display:contents}.tox .tox-diff-preview__host{height:100%;position:relative;flex:1 1 0}.tox .tox-diff-preview__host:empty{pointer-events:none}.tox .tox-diff-preview__layer{display:flex;flex-direction:column;inset:0;position:absolute}.tox .tox-diff-preview__layer--loading .tox-diff-preview__frame{pointer-events:none;visibility:hidden}.tox .tox-diff-preview__viewport{flex:1 1 auto;min-height:0;position:relative}.tox .tox-diff-preview__frame{background-color:#fff;border:0;height:100%;min-height:0;position:relative;width:100%}.tox .tox-diff-preview__footer{background-color:var(--tox-private-background-color,#fff);border-top:1px solid #e3e3e3;flex:0 0 auto}.tox .tox-diff-preview__toolbar{display:flex;gap:8px;justify-content:flex-end;padding:12px 16px}.tox .tox-ai__preview-overlay{position:absolute;inset:0;width:100%;height:100%;font-size:14px}.tox .tox-ai__preview-overlay--hidden{visibility:hidden}.tox .tox-ai__preview-overlay--pass-through{pointer-events:none}.tox .tox-ai__preview-overlay--dim{background:rgba(34,47,62,.2)}.tox .tox-ai__preview-overlay--centered{display:flex;align-items:center;justify-content:center}.tox .tox-ai__preview-overlay--clipped{overflow:clip}.tox .tox-tinymceai-previewloader{display:flex;align-items:center;gap:var(--tox-private-pad-md,16px);padding:var(--tox-private-pad-sm,8px);border-radius:var(--tox-private-panel-border-radius,6px);box-shadow:var(--tox-private-ai-preview-loader-box-shadow,0 0 40px 1px rgba(34,47,62,.15),0 16px 16px -10px rgba(34,47,62,.15));background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color,#222f3e);pointer-events:auto}.tox .tox-tinymceai-previewloader__content{display:flex;align-items:center;justify-content:center;padding:0 var(--tox-private-pad-xs,4px);gap:var(--tox-private-pad-sm,8px)}.tox .tox-selector{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;display:inline-block;height:10px;position:absolute;width:10px}.tox.tox-platform-touch .tox-selector{height:12px;width:12px}.tox .tox-skeleton .tox-skeleton__line{height:16px;width:100%;background:linear-gradient(to right,rgba(240,240,240,.5) 8%,rgba(240,240,240,.7) 18%,rgba(240,240,240,.5) 33%);animation:wave 2s infinite ease-out}.tox .tox-skeleton .tox-skeleton__circle{height:36px;width:36px;margin-right:8px;border-radius:100%;background:linear-gradient(to right,rgba(240,240,240,.5) 8%,rgba(240,240,240,.7) 18%,rgba(240,240,240,.5) 33%);animation:wave 2s infinite ease-out}@keyframes wave{0%{background-position:-268px 0}100%{background-position:268px 0}}.tox .tox-slider{align-items:center;display:flex;flex:1;height:24px;justify-content:center;position:relative}.tox .tox-slider__rail{background-color:transparent;border:1px solid #eee;border-radius:6px;height:10px;min-width:120px;width:100%}.tox .tox-slider__handle{background-color:#006ce7;border:2px solid #0054b4;border-radius:6px;box-shadow:none;height:24px;left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%);width:14px}.tox .tox-form__controls-h-stack>.tox-slider:not(:first-of-type){margin-inline-start:8px}.tox .tox-form__controls-h-stack>.tox-form__group+.tox-slider{margin-inline-start:32px}.tox .tox-form__controls-h-stack>.tox-slider+.tox-form__group{margin-inline-start:32px}.tox .tox-toolbar-slider{align-items:center;display:inline-flex;height:16px}.tox .tox-toolbar-slider__input{appearance:none;background:#eee;border-radius:16px;width:130px;height:2px}.tox .tox-toolbar-slider__input::-webkit-slider-runnable-track{background-color:transparent;height:16px}.tox .tox-toolbar-slider__input::-moz-range-track{background-color:transparent;height:16px}.tox .tox-toolbar-slider__input::-webkit-slider-thumb{-webkit-appearance:none;background-color:#006ce7;border-radius:16px;border:none;height:16px;width:16px}.tox .tox-toolbar-slider__input::-moz-range-thumb{appearance:none;background-color:#006ce7;border-radius:16px;border:none;height:16px;width:16px}.tox .tox-toolbar-slider__input:focus-visible{outline:0}.tox .tox-toolbar-slider__input:focus::-webkit-slider-thumb{background-color:#0060ce;box-shadow:inset 0 0 0 1px #fff,0 0 0 2px #006ce7}.tox .tox-toolbar-slider__input:focus::-moz-range-thumb{background-color:#0060ce;box-shadow:inset 0 0 0 1px #fff,0 0 0 2px #006ce7}.tox .tox-toolbar-slider__input:hover::-webkit-slider-thumb{background-color:#0060ce}.tox .tox-toolbar-slider__input:hover::-moz-range-thumb{background-color:#0060ce}.tox .tox-toolbar-slider__input:active::-webkit-slider-thumb{background-color:#0054b4}.tox .tox-toolbar-slider__input:active::-moz-range-thumb{background-color:#0054b4}.tox .tox-toolbar-slider__input[disabled]::-webkit-slider-thumb{background-color:rgba(255,255,255,.5)}.tox .tox-toolbar-slider__input[disabled]::-moz-range-thumb{background-color:rgba(255,255,255,.5)}.tox .tox-source-code{overflow:auto}.tox .tox-spinner{display:flex}.tox .tox-spinner>div{animation:tam-bouncing-dots 1.5s ease-in-out 0s infinite both;background-color:rgba(34,47,62,.7);border-radius:100%;height:8px;width:8px}.tox .tox-spinner>div:first-child{animation-delay:-.32s}.tox .tox-spinner>div:nth-child(2){animation-delay:-.16s}@keyframes tam-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox:not([dir=rtl]) .tox-spinner>div:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-spinner>div:not(:first-child){margin-right:4px}.tox .tox-ai__spinner{--tox-private-spinner-color:var(--tox-private-color-tint, #006ce7);--tox-private-spinner-size:24px;--tox-private-spinner-circle-width:3px;--tox-private-spinner-dot-size:6px;width:var(--tox-private-spinner-size);aspect-ratio:1/1}.tox .tox-ai__spinner--small{--tox-private-spinner-size:16px;--tox-private-spinner-circle-width:2px;--tox-private-spinner-dot-size:4px}.tox .tox-ai__spinner--circle{animation:tox-rotation 1s linear infinite;border-radius:50%;background:conic-gradient(var(--tox-private-spinner-color) 0 calc(360deg - 30deg),transparent calc(360deg - 30deg) 100%);mask:radial-gradient(calc((var(--tox-private-spinner-size) - var(--tox-private-spinner-circle-width) * 2)/ 2),#0000 98%,#000)}.tox .tox-ai__spinner--dots{display:flex;align-items:center;justify-content:center;gap:1px}.tox .tox-ai__spinner--dots>div{animation:tox-bouncing-dots 1.5s ease-in-out 0s infinite both;aspect-ratio:1/1;width:var(--tox-private-spinner-dot-size);background-color:var(--tox-private-spinner-color);border-radius:100%}.tox .tox-ai__spinner--dots>div:first-child{animation-delay:-.32s}.tox .tox-ai__spinner--dots>div:nth-child(2){animation-delay:-.16s}.tox .tox-tinymceai__annotation--added,.tox .tox-tinymceai__annotation--modified,.tox .tox-tinymceai__annotation--removed{padding-block:calc((1lh - 1.1em)/ 2);-webkit-text-decoration:none;text-decoration:none;background-repeat:no-repeat;text-decoration-thickness:max(1px,0.07em)}.tox .tox-tinymceai__annotation--added__highlight{background-position:bottom;background-image:linear-gradient(rgba(120,171,70,.2) calc(100% - 2px),#78ab46 calc(100% - 2px))}.tox .tox-tinymceai__annotation--added__selected{background-image:none;background-color:rgba(120,171,70,.2);box-shadow:0 2px 0 0 #006ce7,0 -2px 0 0 #006ce7}.tox .tox-tinymceai__annotation--modified__highlight{background-position:bottom;background-image:linear-gradient(rgba(0,108,231,.2) calc(100% - 2px),#006ce7 calc(100% - 2px))}.tox .tox-tinymceai__annotation--modified__selected{background-image:none;background-color:rgba(0,108,231,.2);box-shadow:0 2px 0 0 #006ce7,0 -2px 0 0 #006ce7}.tox .tox-tinymceai__annotation--removed__highlight{-webkit-text-decoration:line-through;text-decoration:line-through;background-position:bottom;background-image:linear-gradient(rgba(204,0,0,.2) calc(100% - 2px),#c00 calc(100% - 2px))}.tox .tox-tinymceai__annotation--removed__selected{-webkit-text-decoration:line-through;text-decoration:line-through;background-image:none;background-color:rgba(204,0,0,.2);box-shadow:0 2px 0 0 #006ce7,0 -2px 0 0 #006ce7}.tox .mce-object.tox-tinymceai__annotation--added,.tox .mce-object.tox-tinymceai__annotation--modified,.tox .mce-object.tox-tinymceai__annotation--removed,.tox .mce-preview-object.tox-tinymceai__annotation--added,.tox .mce-preview-object.tox-tinymceai__annotation--modified,.tox .mce-preview-object.tox-tinymceai__annotation--removed,.tox iframe.tox-tinymceai__annotation--added,.tox iframe.tox-tinymceai__annotation--modified,.tox iframe.tox-tinymceai__annotation--removed,.tox img.tox-tinymceai__annotation--added,.tox img.tox-tinymceai__annotation--modified,.tox img.tox-tinymceai__annotation--removed,.tox video.tox-tinymceai__annotation--added,.tox video.tox-tinymceai__annotation--modified,.tox video.tox-tinymceai__annotation--removed{padding-block:0;vertical-align:top}.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object),.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object),.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object){padding-block:0}.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) video,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) video,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) video{vertical-align:top}.tox del.tox-tinymceai__annotation--added__selected,.tox ins.tox-tinymceai__annotation--added__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#006ce7 3px,rgba(120,171,70,.2) 3px,rgba(120,171,70,.2) calc(100% - 3px),#006ce7 calc(100% - 3px))}.tox del.tox-tinymceai__annotation--modified__selected,.tox ins.tox-tinymceai__annotation--modified__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#006ce7 3px,rgba(0,108,231,.2) 3px,rgba(0,108,231,.2) calc(100% - 3px),#006ce7 calc(100% - 3px))}.tox del.tox-tinymceai__annotation--removed__selected,.tox ins.tox-tinymceai__annotation--removed__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#006ce7 3px,rgba(204,0,0,.2) 3px,rgba(204,0,0,.2) calc(100% - 3px),#006ce7 calc(100% - 3px))}.tox .tox-tinymceai__annotation--added.tox-tinymceai__annotation--added__hidden,.tox .tox-tinymceai__annotation--modified.tox-tinymceai__annotation--modified__hidden,.tox .tox-tinymceai__annotation--removed.tox-tinymceai__annotation--removed__hidden{display:none;-webkit-text-decoration:none;text-decoration:none}.tox :has(> div > iframe).tox-tinymceai__annotation--added,.tox :has(> div > iframe).tox-tinymceai__annotation--modified,.tox :has(> div > iframe).tox-tinymceai__annotation--removed{padding:7px;margin:5px}.tox iframe.tox-tinymceai__annotation--added__highlight,.tox img.tox-tinymceai__annotation--added__highlight,.tox video.tox-tinymceai__annotation--added__highlight{background-color:#e4eeda;background-image:none;border:2px solid #78ab46;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--added__selected,.tox img.tox-tinymceai__annotation--added__selected,.tox video.tox-tinymceai__annotation--added__selected{background-color:#e4eeda;background-image:none;border:2px solid #78ab46;padding:0;vertical-align:top;border-color:#e4eeda;outline:2px solid #006ce7}.tox iframe.tox-tinymceai__annotation--modified__highlight,.tox img.tox-tinymceai__annotation--modified__highlight,.tox video.tox-tinymceai__annotation--modified__highlight{background-color:#cce2fa;background-image:none;border:2px solid #006ce7;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--modified__selected,.tox img.tox-tinymceai__annotation--modified__selected,.tox video.tox-tinymceai__annotation--modified__selected{background-color:#cce2fa;background-image:none;border:2px solid #006ce7;padding:0;vertical-align:top;border-color:#cce2fa;outline:2px solid #006ce7}.tox iframe.tox-tinymceai__annotation--removed__highlight,.tox img.tox-tinymceai__annotation--removed__highlight,.tox video.tox-tinymceai__annotation--removed__highlight{background-color:#f5cccc;background-image:none;border:2px solid #c00;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--removed__selected,.tox img.tox-tinymceai__annotation--removed__selected,.tox video.tox-tinymceai__annotation--removed__selected{background-color:#f5cccc;background-image:none;border:2px solid #c00;padding:0;vertical-align:top;border-color:#f5cccc;outline:2px solid #006ce7}.tox .tox-tinymceai__annotation--removed__highlight iframe,.tox .tox-tinymceai__annotation--removed__highlight img,.tox .tox-tinymceai__annotation--removed__highlight video,.tox .tox-tinymceai__annotation--removed__selected iframe,.tox .tox-tinymceai__annotation--removed__selected img,.tox .tox-tinymceai__annotation--removed__selected video{background-color:#f5cccc;background-image:none;border:2px solid #c00;padding:0;vertical-align:top}.tox .tox-tinymceai__annotation--removed__selected iframe,.tox .tox-tinymceai__annotation--removed__selected img,.tox .tox-tinymceai__annotation--removed__selected video{border-color:#f5cccc;outline:2px solid #006ce7}.tox div.tox-tinymceai__annotation:has(> hr){background-size:auto;padding:.25em}.tox div.tox-tinymceai__annotation--removed__highlight>hr{border-color:rgba(0,0,0,.2)}.tox div.tox-tinymceai__annotation--added__highlight>hr{border-color:rgba(0,0,0,.2)}.tox .tox-tinymceai__deleted-media-overlay{inset:0;overflow:hidden;pointer-events:none;position:absolute;z-index:11}.tox .tox-tinymceai__deleted-media-wash{fill:#fff;fill-opacity:0.4}.tox .tox-tinymceai__deleted-media-mark{stroke:#c00}.tox .tox-tinymceai__deleted-media-halo{stroke:#fff}.tox .mce-pagebreak.tox-tinymceai__annotation--added__selected,.tox .mce-pagebreak.tox-tinymceai__annotation--modified__selected,.tox .mce-pagebreak.tox-tinymceai__annotation--removed__selected{border:1px dashed #aaa;box-shadow:none;background-image:none}.tox .mce-pagebreak.tox-tinymceai__annotation--added__highlight,.tox .mce-pagebreak.tox-tinymceai__annotation--modified__highlight,.tox .mce-pagebreak.tox-tinymceai__annotation--removed__highlight{padding:0}.tox .tox-tinymceai__diff-focus-overlay{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:10}.tox .tox-tinymceai__diff-focus-overlay-dim{fill:rgba(34,47,62,0.2)}.tox .tox-ai__scroll:has(.tox-card-group){padding-top:0}.tox .tox-ai__scroll:has(.tox-card-group) .tox-ai__review-sidebar-container .tox-card-list{gap:0}.tox .tox-ai__scroll .tox-ai__review-sidebar-container{scrollbar-gutter:stable;width:100%;height:100%;display:flex;flex-direction:column;gap:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-card-list{gap:8px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-card-group__title{margin-inline:-12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-initializing{padding:var(--tox-private-pad-md,16px)}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-description{padding-bottom:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));font-size:var(--tox-private-font-size-sm, 14px)}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-choose-container{padding-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-custom-input{margin-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-custom-actions{display:flex;gap:8px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container{margin-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container button.tox-ai__review-input-button{width:100%;background-color:var(--tox-private-background-color,#fff);display:flex;justify-content:space-between;align-items:center;border:1px solid #eee;border-radius:6px;box-sizing:border-box}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container .tox-ai__review-dropdown-content{width:anchor-size(width)}.tox .tox-statusbar{align-items:center;background-color:#fff;border-top:1px solid #e3e3e3;color:rgba(34,47,62,.7);display:flex;flex:0 0 auto;font-size:14px;font-weight:400;height:25px;overflow:hidden;padding:0 8px;position:relative;text-transform:none}.tox .tox-statusbar__path{display:flex;flex:1 1 auto;text-overflow:ellipsis;white-space:nowrap}.tox .tox-statusbar__right-container{display:flex;justify-content:flex-end;white-space:nowrap}.tox .tox-statusbar__help-text{text-align:center}.tox .tox-statusbar__text-container{align-items:flex-start;display:flex;flex:1 1 auto;height:16px;justify-content:space-between}@media only screen and (min-width:768px){.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__help-text,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__path,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__right-container{flex:0 0 calc(100% / 3)}}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-end{justify-content:flex-end}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-start{justify-content:flex-start}.tox .tox-statusbar__text-container.tox-statusbar__text-container--space-around{justify-content:space-around}.tox .tox-statusbar__path>*{display:inline;white-space:nowrap}.tox .tox-statusbar__wordcount{flex:0 0 auto;margin-left:1ch}@media only screen and (max-width:767px){.tox .tox-statusbar__text-container .tox-statusbar__help-text{display:none}.tox .tox-statusbar__text-container .tox-statusbar__help-text:only-child{display:block}}.tox .tox-statusbar a,.tox .tox-statusbar__path-item,.tox .tox-statusbar__wordcount{color:rgba(34,47,62,.7);position:relative;-webkit-text-decoration:none;text-decoration:none}.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]){color:#222f3e;cursor:pointer}.tox .tox-statusbar a:focus-visible::after,.tox .tox-statusbar__path-item:focus-visible::after,.tox .tox-statusbar__wordcount:focus-visible::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-statusbar a:focus-visible::after,.tox .tox-statusbar__path-item:focus-visible::after,.tox .tox-statusbar__wordcount:focus-visible::after{border:2px solid highlight}}.tox .tox-statusbar__branding svg{fill:rgba(34,47,62,0.8);height:1em;margin-left:.3em;width:auto}@media (forced-colors:active){.tox .tox-statusbar__branding svg{fill:currentColor}}.tox .tox-statusbar__branding a{align-items:center;display:inline-flex}.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg,.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg{fill:#222f3e}.tox .tox-statusbar__resize-cursor-default{cursor:ns-resize}.tox .tox-statusbar__resize-cursor-both{cursor:nwse-resize}.tox .tox-statusbar__resize-handle{align-items:flex-end;align-self:stretch;display:flex;flex:0 0 auto;justify-content:flex-end;margin-bottom:3px;margin-left:4px;margin-right:calc(3px - 8px);margin-top:3px;padding-bottom:0;padding-left:0;padding-right:0;position:relative}.tox .tox-statusbar__resize-handle svg{display:block;fill:rgba(34,47,62,0.5)}.tox .tox-statusbar__resize-handle:focus svg,.tox .tox-statusbar__resize-handle:hover svg{fill:#222f3e}.tox .tox-statusbar__resize-handle:focus-visible{background-color:transparent;border-radius:1px 1px 5px 1px;box-shadow:0 0 0 2px transparent}.tox .tox-statusbar__resize-handle:focus-visible::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-statusbar__resize-handle:focus-visible::after{border:2px solid highlight}}.tox .tox-statusbar__resize-handle:only-child{margin-left:auto}.tox:not([dir=rtl]) .tox-statusbar__path>*{margin-right:4px}.tox:not([dir=rtl]) .tox-statusbar__branding{margin-left:2ch}.tox[dir=rtl] .tox-statusbar{flex-direction:row-reverse}.tox[dir=rtl] .tox-statusbar__path>*{margin-left:4px}.tox[dir=rtl] .tox-statusbar__branding svg{margin-left:0;margin-right:.3em}.tox a.tox-tag{cursor:pointer}.tox .tox-tag{width:fit-content;box-sizing:border-box;display:flex;padding:var(--tox-private-pad-xs,4px) 6px;position:relative;align-items:center;gap:var(--tox-private-pad-xs,4px);border-radius:3px;background:hsl(from var(--tox-private-color-tint,#006ce7) h s l / 10%);line-height:var(--tox-private-base-value, 16px);font-size:var(--tox-private-font-size-xs, 12px)}.tox .tox-tag::before{border-radius:var(--tox-private-control-border-radius,6px);bottom:calc(-1 * var(--tox-private-tag-border-width,1px));box-shadow:var(--tox-private-tag-focus-outline,inset 0 0 0 1px #fff,0 0 0 2px #006ce7);content:'';left:calc(-1 * var(--tox-private-tag-border-width,1px));opacity:0;pointer-events:none;position:absolute;right:calc(-1 * var(--tox-private-tag-border-width,1px));top:calc(-1 * var(--tox-private-tag-border-width,1px))}.tox .tox-tag:focus:not(:disabled)::before{opacity:1}.tox .tox-tag>*{flex-shrink:0}.tox .tox-tag .tox-icon{height:var(--tox-private-base-value,16px);fill:var(--tox-private-text-color,#222f3e)}.tox .tox-tag .tox-tag__label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;flex-shrink:1;color:var(--tox-private-text-color,#222f3e)}.tox .tox-tag .tox-tag__close{height:var(--tox-private-base-value,16px)}.tox .tox-tag .tox-tag__close .tox-button.tox-button--icon{border:0;padding:0;color:var(--tox-private-text-color-muted,rgba(34,47,62,.7))}.tox .tox-tag .tox-tag__close .tox-button.tox-button--icon::before{box-shadow:none}.tox .tox-throbber{z-index:1299}.tox .tox-throbber__busy-spinner{align-items:center;background-color:rgba(255,255,255,.6);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.tox .tox-segmented-control{display:inline-flex;position:relative;border:none;border-radius:var(--tox-private-control-border-radius,6px);box-shadow:inset 0 0 0 1px var(--tox-private-segmented-control-border-color,#e3e3e3);overflow:hidden;padding:var(--tox-private-pad-xs,4px);background-color:var(--tox-private-background-color,#fff)}.tox .tox-segmented-control__segment{flex:1;padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-sm,8px);cursor:pointer;background:0 0;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:16px;border:1px solid transparent;border-radius:calc(var(--tox-private-control-border-radius,6px) - 1px);text-align:center;white-space:nowrap;display:inline-block;vertical-align:middle;color:var(--tox-private-segmented-control-text-color,#222f3e)}.tox .tox-segmented-control__segment--active{border-color:var(--tox-private-segmented-control-active-border-color,#006ce7);color:var(--tox-private-segmented-control-active-text-color,#006ce7);background-color:var(--tox-private-segmented-control-active-bg-color,rgba(0,108,231,.1))}.tox .tox-segmented-control:not(.tox-segmented-control--disabled) .tox-segmented-control__segment{transition:all .2s}.tox .tox-segmented-control.tox-segmented-control--disabled .tox-segmented-control__segment{opacity:.5;cursor:not-allowed;pointer-events:none}.tox .tox-segmented-control__segment:focus{outline:2px solid var(--tox-private-color-tint,#006ce7);outline-offset:2px}.tox .tox-segmented-control__segment:focus:not(:focus-visible){outline:0}.tox .tox-toggle{display:flex;align-items:center;gap:var(--tox-private-pad-xs,4px);padding:var(--tox-private-pad-xs,4px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:var(--tox-private-control-line-height, 24px);white-space:nowrap;background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color,#222f3e)}.tox .tox-toggle input{position:absolute;opacity:0;width:0;height:0}.tox .tox-toggle__slider{position:relative;cursor:pointer;box-sizing:border-box;transition:.4s;border-radius:34px;width:28px;height:16px;background-color:var(--tox-private-slider-background-color,#fff);border:1px solid var(--tox-private-slider-border-color,#e3e3e3)}.tox .tox-toggle__slider::before{position:absolute;content:"";height:12px;width:12px;left:1px;bottom:1px;transition:.4s;border-radius:50%;background-color:var(--tox-private-slider-handle-background-color,#222f3e)}.tox input:checked+.tox-toggle__slider{background-color:var(--tox-private-slider-checked-background-color,#006ce7);border:1px solid var(--tox-private-slider-checked-border-color,#006ce7)}.tox input:focus+.tox-toggle__slider{box-shadow:0 0 0 1px var(--tox-private-color-white,#fff),0 0 0 2px var(--tox-private-color-tint,#006ce7)}.tox input:checked+.tox-toggle__slider::before{transform:translateX(12px);background-color:var(--tox-private-slider-checked-handle-background-color,#fff)}.tox input:disabled+.tox-toggle__slider::before{opacity:50%}.tox .tox-tbtn{align-items:center;background:#fff;border:0;border-radius:3px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;justify-content:center;margin:6px 1px 5px 0;outline:0;padding:0;text-transform:none;width:34px}.tox .tox-tbtn .tox-tbtn__icon-wrap{pointer-events:none}@media (forced-colors:active){.tox .tox-tbtn.tox-tbtn:hover,.tox .tox-tbtn:hover{outline:1px dashed currentColor}.tox .tox-tbtn.tox-tbtn--active,.tox .tox-tbtn.tox-tbtn--enabled,.tox .tox-tbtn.tox-tbtn--enabled:focus,.tox .tox-tbtn.tox-tbtn--enabled:hover,.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){outline:1px solid currentColor;position:relative}}.tox .tox-tbtn svg{display:block;fill:#222f3e}@media (forced-colors:active){.tox .tox-tbtn svg{fill:currentColor!important}.tox .tox-tbtn svg.tox-tbtn--enabled,.tox .tox-tbtn svg:focus:not(.tox-tbtn--disabled){fill:currentColor!important}.tox .tox-tbtn svg .tox-tbtn:disabled,.tox .tox-tbtn svg .tox-tbtn:disabled:hover,.tox .tox-tbtn svg.tox-tbtn--disabled,.tox .tox-tbtn svg.tox-tbtn--disabled:hover{filter:contrast(0%)}}.tox .tox-tbtn.tox-tbtn-more{padding-left:5px;padding-right:5px;width:inherit}.tox .tox-tbtn:focus{background:#fff;border:0;box-shadow:none;position:relative;z-index:1}.tox .tox-tbtn:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-tbtn:focus::after{border:2px solid highlight}}.tox .tox-tbtn:hover{background:#f0f0f0;border:0;box-shadow:none;color:#222f3e}.tox .tox-tbtn:hover svg{fill:#222f3e}.tox .tox-tbtn:active{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-tbtn:active svg{fill:#222f3e}.tox .tox-tbtn--disabled .tox-tbtn--enabled svg{fill:rgba(34,47,62,0.5)}.tox .tox-tbtn--disabled,.tox .tox-tbtn--disabled:hover,.tox .tox-tbtn:disabled,.tox .tox-tbtn:disabled:hover{background:#fff;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-tbtn--disabled svg,.tox .tox-tbtn--disabled:hover svg,.tox .tox-tbtn:disabled svg,.tox .tox-tbtn:disabled:hover svg{fill:rgba(34,47,62,0.5)}.tox .tox-tbtn--active,.tox .tox-tbtn--enabled,.tox .tox-tbtn--enabled:focus,.tox .tox-tbtn--enabled:hover{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e;position:relative}.tox .tox-tbtn--active>*,.tox .tox-tbtn--enabled:focus>*,.tox .tox-tbtn--enabled:hover>*,.tox .tox-tbtn--enabled>*{transform:none}.tox .tox-tbtn--active svg,.tox .tox-tbtn--enabled svg,.tox .tox-tbtn--enabled:focus svg,.tox .tox-tbtn--enabled:hover svg{fill:#222f3e}.tox .tox-tbtn--active.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled:focus.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled:hover.tox-tbtn--disabled svg{fill:rgba(34,47,62,0.5)}.tox .tox-tbtn--enabled:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-tbtn--enabled:focus::after{border:2px solid highlight}}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){color:#222f3e}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg{fill:#222f3e}.tox .tox-tbtn:active>*{transform:none}.tox .tox-tbtn--md{height:42px;width:51px}.tox .tox-tbtn--lg{flex-direction:column;height:56px;width:68px}.tox .tox-tbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tbtn--labeled{padding:0 4px;width:unset}.tox .tox-tbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-label--context-toolbar{margin:6px 1px 5px 0;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-number-input{background:#f7f7f7;border-radius:3px;display:flex;margin:6px 1px 5px 0;position:relative;width:auto}.tox .tox-number-input:focus{background:#f7f7f7}.tox .tox-number-input:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input:focus::after{border:2px solid highlight}}.tox .tox-number-input .tox-input-wrapper{display:flex;pointer-events:none;position:relative;text-align:center}.tox .tox-number-input .tox-input-wrapper:focus{background-color:#f7f7f7;z-index:1}.tox .tox-number-input .tox-input-wrapper:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input .tox-input-wrapper:focus::after{border:2px solid highlight}}.tox .tox-number-input .tox-input-wrapper:has(input:focus)::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input .tox-input-wrapper:has(input:focus)::after{border:2px solid highlight}}.tox .tox-number-input input{border-radius:3px;color:#222f3e;font-size:14px;margin:2px 0;pointer-events:all;position:relative;width:60px}.tox .tox-number-input input:hover{background:#f0f0f0;color:#222f3e}.tox .tox-number-input input:focus{background-color:#f7f7f7}.tox .tox-number-input input:disabled{background:#fff;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-number-input button{color:#222f3e;height:28px;position:relative;text-align:center;width:24px}@media (forced-colors:active){.tox .tox-number-input button:active,.tox .tox-number-input button:focus,.tox .tox-number-input button:hover{outline:1px solid currentColor!important}}.tox .tox-number-input button svg{display:block;fill:#222f3e;margin:0 auto;transform:scale(.67)}@media (forced-colors:active){.tox .tox-number-input button svg,.tox .tox-number-input button svg:active,.tox .tox-number-input button svg:hover{fill:currentColor!important}.tox .tox-number-input button svg:disabled{filter:contrast(0)}}.tox .tox-number-input button:focus{background:#f7f7f7;z-index:1}.tox .tox-number-input button:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input button:focus::after{border:2px solid highlight}}.tox .tox-number-input button:hover{background:#f0f0f0;border:0;box-shadow:none;color:#222f3e}.tox .tox-number-input button:hover svg{fill:#222f3e}.tox .tox-number-input button:active{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-number-input button:active svg{fill:#222f3e}.tox .tox-number-input button:disabled{background:#fff;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-number-input button:disabled svg{fill:rgba(34,47,62,0.5)}.tox .tox-number-input button.minus{border-radius:3px 0 0 3px}.tox .tox-number-input button.plus{border-radius:0 3px 3px 0}.tox .tox-number-input:focus:not(:active)>.tox-input-wrapper,.tox .tox-number-input:focus:not(:active)>button{background:#f7f7f7}.tox .tox-tbtn--select{margin:6px 1px 5px 0;padding:0 4px;width:auto}.tox .tox-tbtn--bordered,.tox .tox-tbtn--bordered:focus,.tox .tox-tbtn--bordered:hover{border:1px solid #eee}.tox .tox-tbtn__select-label{cursor:default;font-weight:400;height:initial;margin:0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-tbtn__select-chevron svg{fill:rgba(34,47,62,0.5)}@media (forced-colors:active){.tox .tox-tbtn__select-chevron svg{fill:currentColor}}.tox .tox-tbtn--bespoke{background:#f7f7f7}.tox .tox-tbtn--bespoke:focus{background:#f7f7f7}.tox .tox-tbtn--bespoke+.tox-tbtn--bespoke{margin-inline-start:4px}.tox .tox-tbtn--bespoke .tox-tbtn__select-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:7em}.tox .tox-tbtn--disabled .tox-tbtn__select-label,.tox .tox-tbtn--select:disabled .tox-tbtn__select-label{cursor:not-allowed}.tox .tox-split-button__main{border-radius:3px 0 0 3px;margin-right:0}.tox .tox-split-button__main:focus{border:0;box-shadow:none;background:#fff;color:#222f3e;position:relative;z-index:1}.tox .tox-split-button__main:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0;border-radius:3px 0 0 3px}@media (forced-colors:active){.tox .tox-split-button__main:focus::after{border:2px solid highlight}}.tox .tox-split-button__chevron{width:16px;border-radius:0 3px 3px 0;margin-left:0}.tox .tox-split-button__chevron:focus{border:0;box-shadow:none;background:#fff;color:#222f3e;position:relative;z-index:1}.tox .tox-split-button__chevron:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0;border-radius:0 3px 3px 0}@media (forced-colors:active){.tox .tox-split-button__chevron:focus::after{border:2px solid highlight}}.tox .tox-split-button__chevron svg{fill:rgba(34,47,62,0.5)}@media (forced-colors:active){.tox .tox-split-button__chevron svg{fill:currentColor}}.tox.tox-platform-touch .tox-split-button__main{width:30px}.tox.tox-platform-touch .tox-split-button__chevron{width:20px}.tox .tox-split-button__chevron.tox-tbtn--disabled,.tox .tox-split-button__main.tox-tbtn--disabled{background:#fff;box-shadow:none;color:rgba(34,47,62,.5)}.tox .tox-split-button__chevron.tox-tbtn--disabled:hover,.tox .tox-split-button__main.tox-tbtn--disabled:hover{background:#fff;box-shadow:none;color:rgba(34,47,62,.5)}.tox .tox-split-button__chevron.tox-tbtn--disabled:focus,.tox .tox-split-button__main.tox-tbtn--disabled:focus{background:#fff;box-shadow:none;color:rgba(34,47,62,.5)}.tox .tox-split-button__main.tox-tbtn--disabled svg .tox-icon-highlight-bg-color__color,.tox .tox-split-button__main.tox-tbtn--disabled svg .tox-icon-text-color__color{opacity:.3}.tox .tox-toolbar-overlord{background-color:#fff}.tox .tox-toolbar,.tox .tox-toolbar__overflow,.tox .tox-toolbar__primary{background-attachment:local;background-color:#fff;background-image:repeating-linear-gradient(#e3e3e3 0 1px,transparent 1px 39px);background-position:center top 40px;background-repeat:no-repeat;background-size:calc(100% - 11px * 2) calc(100% - 41px);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;padding:0 0;transform:perspective(1px)}.tox .tox-toolbar-overlord>.tox-toolbar,.tox .tox-toolbar-overlord>.tox-toolbar__overflow,.tox .tox-toolbar-overlord>.tox-toolbar__primary{background-position:center top 0;background-size:calc(100% - 11px * 2) calc(100% - 0px)}.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed{height:0;opacity:0;padding-bottom:0;padding-top:0;visibility:hidden}.tox .tox-toolbar__overflow--growing{transition:height .3s ease,opacity .2s linear .1s}.tox .tox-toolbar__overflow--shrinking{transition:opacity .3s ease,height .2s linear .1s,visibility 0s linear .3s}.tox .tox-anchorbar,.tox .tox-toolbar-overlord{grid-column:1/-1}.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{border-top:1px solid transparent;margin-top:-1px;padding-bottom:1px;padding-top:1px}@media (forced-colors:active){.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{outline:1px solid currentColor}}.tox .tox-toolbar--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-pop .tox-toolbar{border-width:0}.tox .tox-toolbar--no-divider{background-image:none}.tox .tox-toolbar-overlord .tox-toolbar:not(.tox-toolbar--scrolling):first-child,.tox .tox-toolbar-overlord .tox-toolbar__primary{background-position:center top 39px}.tox .tox-editor-header>.tox-toolbar--scrolling,.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child{background-image:none}.tox .tox-focusable-wrapper{border:1px solid transparent;margin-right:2px;pointer-events:none}.tox .tox-focusable-wrapper .tox-textfield-size{pointer-events:all}.tox .tox-focusable-wrapper:focus{background-color:#f7f7f7;border-radius:6px;border-style:solid;border-width:1px}.tox.tox-tinymce-aux .tox-toolbar__overflow{background-color:#fff;background-position:center top 43px;background-size:calc(100% - 8px * 2) calc(100% - 51px);border:none;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);overscroll-behavior:none;padding:4px 0}@media (forced-colors:active){.tox.tox-tinymce-aux .tox-toolbar__overflow{border:solid}}.tox-pop .tox-pop__dialog .tox-toolbar{background-position:center top 43px;background-size:calc(100% - 11px * 2) calc(100% - 51px);padding:4px 0}.tox-context-form__group{display:flex;align-items:center}.tox .tox-toolbar__group{align-items:center;display:flex;flex-wrap:wrap;margin:0 0;padding:0 11px 0 12px}.tox .tox-toolbar__group--pull-right{margin-left:auto}.tox .tox-toolbar--scrolling .tox-toolbar__group{flex-shrink:0;flex-wrap:nowrap}.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type){border-right:1px solid transparent}.tox[dir=rtl] .tox-toolbar__group:not(:last-of-type){border-left:1px solid transparent}.tox .tox-toolbar-input-form{display:flex;align-items:center;background-color:var(--tox-private-background-color,#fff);padding:0 var(--tox-private-pad-sm,8px)}.tox .tox-tooltip{display:inline-block;max-width:min(80%,15em);padding:8px 0 0 0;position:relative;width:max-content;z-index:1150}.tox .tox-tooltip.tox-tooltip--anchor{display:none;padding:var(--tox-private-pad-xs,4px) 0 0;position:fixed;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;height:fit-content}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--up{position-area:block-end}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--down{position-area:block-start}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--left{position-area:inline-start}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--right{position-area:inline-end}.tox .tox-tooltip__body{background-color:#222f3e;border-radius:6px;box-shadow:none;color:#fff;font-size:12px;font-style:normal;font-weight:600;overflow-wrap:break-word;padding:4px 6px;text-transform:none}@media (forced-colors:active){.tox .tox-tooltip__body{outline:outset 1px}}.tox .tox-tooltip__arrow{position:absolute}.tox .tox-tooltip--down .tox-tooltip__arrow{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #222f3e;bottom:0;left:50%;position:absolute;transform:translateX(-50%)}.tox .tox-tooltip--up .tox-tooltip__arrow{border-bottom:8px solid #222f3e;border-left:8px solid transparent;border-right:8px solid transparent;left:50%;position:absolute;top:0;transform:translateX(-50%)}.tox .tox-tooltip--right .tox-tooltip__arrow{border-bottom:8px solid transparent;border-left:8px solid #222f3e;border-top:8px solid transparent;position:absolute;right:0;top:50%;transform:translateY(-50%)}.tox .tox-tooltip--left .tox-tooltip__arrow{border-bottom:8px solid transparent;border-right:8px solid #222f3e;border-top:8px solid transparent;left:0;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-tree{display:flex;flex-direction:column}.tox .tox-tree .tox-trbtn{align-items:center;background:0 0;border:0;border-radius:4px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;margin-bottom:4px;margin-top:4px;outline:0;overflow:hidden;padding:0;padding-left:8px;text-transform:none}.tox .tox-tree .tox-trbtn .tox-tree__label{cursor:default;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tree .tox-trbtn svg{display:block;fill:#222f3e}.tox .tox-tree .tox-trbtn:focus{background:#f0f0f0;border:0;box-shadow:none}.tox .tox-tree .tox-trbtn:hover{background:#f0f0f0;border:0;box-shadow:none;color:#222f3e}.tox .tox-tree .tox-trbtn:hover svg{fill:#222f3e}.tox .tox-tree .tox-trbtn:active{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-tree .tox-trbtn:active svg{fill:#222f3e}.tox .tox-tree .tox-trbtn--disabled,.tox .tox-tree .tox-trbtn--disabled:hover,.tox .tox-tree .tox-trbtn:disabled,.tox .tox-tree .tox-trbtn:disabled:hover{background:0 0;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-tree .tox-trbtn--disabled svg,.tox .tox-tree .tox-trbtn--disabled:hover svg,.tox .tox-tree .tox-trbtn:disabled svg,.tox .tox-tree .tox-trbtn:disabled:hover svg{fill:rgba(34,47,62,0.5)}.tox .tox-tree .tox-trbtn--enabled,.tox .tox-tree .tox-trbtn--enabled:hover{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-tree .tox-trbtn--enabled:hover>*,.tox .tox-tree .tox-trbtn--enabled>*{transform:none}.tox .tox-tree .tox-trbtn--enabled svg,.tox .tox-tree .tox-trbtn--enabled:hover svg{fill:#222f3e}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled){color:#222f3e}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled) svg{fill:#222f3e}.tox .tox-tree .tox-trbtn:active>*{transform:none}.tox .tox-tree .tox-trbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tree .tox-trbtn--labeled{padding:0 4px;width:unset}.tox .tox-tree .tox-trbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-tree .tox-tree--directory{display:flex;flex-direction:column}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label{font-weight:700}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn:focus svg{fill:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:focus .tox-mbtn svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover .tox-mbtn svg{fill:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-chevron{margin-right:6px}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--shrinking) .tox-chevron{transition:transform .5s ease-in-out}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--open) .tox-chevron{transform:rotate(90deg)}.tox .tox-tree .tox-tree--leaf__label{font-weight:400}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--leaf__label .tox-mbtn:focus svg{fill:#222f3e}.tox .tox-tree .tox-tree--leaf__label:hover .tox-mbtn svg{fill:#222f3e}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#222f3e}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#222f3e}.tox .tox-tree .tox-icon-custom-state{flex-grow:1;display:flex;justify-content:flex-end}.tox .tox-tree .tox-tree--directory__children{overflow:hidden;padding-left:16px}.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--growing,.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--shrinking{transition:height .5s ease-in-out}.tox .tox-tree .tox-trbtn.tox-tree--leaf__label{display:flex;justify-content:space-between}[data-mce-name=uploadcare-enhance-filter] .color-swatch-remove-color path{fill:#c00;stroke:#c00}.tox .tox-view-wrap,.tox .tox-view-wrap__slot-container{background-color:#fff;display:flex;flex:1;flex-direction:column;height:100%;min-height:0}.tox .tox-view{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden;background-color:#fff}.tox .tox-view__header{align-items:center;display:flex;font-size:16px;justify-content:space-between;padding:10px;position:relative}.tox .tox-view__label{color:#222f3e;font-weight:700;line-height:24px;padding:4px 16px;text-align:center;white-space:nowrap}.tox .tox-view__label--normal{font-size:16px}.tox .tox-view__label--large{font-size:20px}.tox .tox-view--mobile.tox-view__header,.tox .tox-view--mobile.tox-view__toolbar{padding:8px}.tox .tox-view--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-view__align-right{margin-left:auto}.tox .tox-view__toolbar{display:flex;flex-direction:row;gap:8px;justify-content:space-between;overflow-x:auto;padding:10px}.tox .tox-view__toolbar__group{display:flex;flex-direction:row;gap:12px}.tox .tox-view__header-end,.tox .tox-view__header-start{display:flex}.tox .tox-view__pane{height:100%;padding:8px;position:relative;width:100%}.tox .tox-view__pane_panel{border:1px solid #eee;border-radius:6px}.tox:not([dir=rtl]) .tox-view__header .tox-view__header-end>*,.tox:not([dir=rtl]) .tox-view__header .tox-view__header-start>*{margin-left:8px}.tox[dir=rtl] .tox-view__header .tox-view__header-end>*,.tox[dir=rtl] .tox-view__header .tox-view__header-start>*{margin-right:8px}.tox .tox-well{border:1px solid #eee;border-radius:6px;padding:8px;width:100%}.tox .tox-well>:first-child{margin-top:0}.tox .tox-well>:last-child{margin-bottom:0}.tox .tox-well>:only-child{margin:0}.tox .tox-custom-editor{border:1px solid #eee;border-radius:6px;display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-view .tox-revisionhistory__pane{padding:0}.tox .tox-revisionhistory__container{display:flex;flex-direction:column;height:100%}.tox .tox-revisionhistory{background-color:#fff;border-top:1px solid #f0f0f0;display:flex;flex:1;height:100%;overflow-x:auto;overflow-y:hidden;position:relative;width:100%}.tox .tox-revisionhistory__iframe{flex:1}.tox .tox-revisionhistory__sidebar{display:flex;flex-direction:column;height:100%;min-width:248px;width:316px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__sidebar-title{background-color:#fff;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);color:#222f3e;font-size:20px;font-weight:400;line-height:28px;padding:12px;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions{background-color:#f0f0f0;display:flex;flex:1;flex-direction:column;gap:12px;overflow-y:auto;padding:10px 12px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus{height:100%;position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0;border-radius:6px;bottom:1px;left:1px;right:1px;top:1px}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card{background-color:#fff;border:1px solid #f0f0f0;border-radius:6px;color:#222f3e;cursor:pointer;display:flex;flex-direction:column;font-size:14px;padding:12px;width:100%}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:hover{box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus{position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7 #006ce7;content:'';left:0;position:absolute;right:0;top:0;border-radius:6px;box-shadow:0 0 0 2px #006ce7;box-shadow:0 0 0 2px #006ce7!important}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected{background-color:#fff5cc;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);position:relative}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7 #e3b82a;content:'';left:0;position:absolute;right:0;top:0;border-radius:6px;box-shadow:0 0 0 2px #e3b82a}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-tags{display:flex;align-items:flex-start;flex-direction:row;gap:8px;overflow-x:auto}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-label{display:block;max-width:min-content;padding:4px 8px;margin-bottom:8px;font-size:12px;font-weight:700;border-radius:4px;background:#d3d5d8;text-wrap:balance;flex:0 1 auto}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-content{display:flex;flex-direction:row;gap:8px;align-items:center}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution{align-items:center;display:flex}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution .tox-revisionhistory__avatar{position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution .tox-revisionhistory__avatar+.tox-revisionhistory__card-ai-icon{margin-left:-4px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-info{display:flex;flex-direction:column;flex:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-date-label{font-size:14px;font-weight:700;line-height:18px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-author-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:400}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__avatar{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-ai-icon{display:flex;height:36px;width:36px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__norevision{color:rgba(34,47,62,.7);font-size:16px;line-height:24px;padding:5px 5.5px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-check-icon{color:#222f3e;height:24px}.tox .tox-card{background-color:#fff;border-radius:6px;display:flex;flex-direction:column;gap:12px;padding:10px;cursor:pointer;transition:box-shadow .15s ease-in-out,border .15s ease-in-out;border:2px solid transparent}.tox .tox-card:hover{box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-card--selected{border-color:#006ce7}.tox .tox-card:focus-visible{outline:2px solid #006ce7;border-color:transparent}.tox .tox-card--has-decision{background-color:#f0f0f0}.tox .tox-card--has-decision:not(.tox-card--selected){border-width:1px;border-color:rgba(34,47,62,.7);padding:11px}.tox .tox-card--has-decision .tox-card__header{font-size:12px}.tox .tox-card--has-decision .tox-card__body{color:rgba(34,47,62,.7)}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline{border-color:#e0e0e0}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:focus:not(:disabled),.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:hover:not(:disabled){background-color:#e0e0e0;border-color:#d1d1d1}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:active:not(:disabled){background-color:#d1d1d1;border-color:#d1d1d1}.tox .tox-card__header{padding-bottom:0;color:#222f3e;font-size:16px;font-weight:700;text-transform:uppercase;display:flex;flex-direction:column;gap:12px}.tox .tox-card__header-label{font-size:12px;font-weight:700;text-transform:uppercase;color:#222f3e}.tox .tox-card__header-content{flex:1;min-width:0;font-weight:400;text-transform:none}.tox .tox-card__header-actions{display:flex;align-items:center;gap:4px;flex-shrink:0;opacity:1;pointer-events:auto;transition:opacity .15s ease-in-out}.tox .tox-card__header-actions--hover-visible,.tox .tox-card__header-actions--on-focus{opacity:0;pointer-events:none}.tox .tox-card__header-actions--always-visible{opacity:1;pointer-events:auto}.tox .tox-card__header:has(.tox-card__header-actions),.tox .tox-card__header:has(.tox-card__header-content){flex-direction:row;align-items:center}.tox .tox-card__header:has(.tox-card__header-content){justify-content:space-between}.tox .tox-card__header:has(.tox-card__header-actions):not(:has(.tox-card__header-content)){justify-content:flex-end}.tox .tox-card:focus-within .tox-card__header-actions--hover-visible,.tox .tox-card:focus-within .tox-card__header-actions--on-focus,.tox .tox-card:hover .tox-card__header-actions--hover-visible{opacity:1;pointer-events:auto}.tox .tox-card__body{color:#222f3e;font-size:14px}.tox .tox-card__body .tox-expandable-box{background:0 0;border:none;gap:12px}.tox .tox-card__body .tox-expandable-box .tox-expandable-box__content,.tox .tox-card__body .tox-expandable-box>.tox-button{margin:0}.tox .tox-card__highlight{padding:4px 6px;border-bottom:2px solid #006ce7}.tox .tox-card__highlight--added{background-color:#e4eeda}.tox .tox-card__highlight--deleted{background-color:#f5cccc}.tox .tox-card__highlight--modified{background-color:#cce2fa}.tox .tox-card__actions{display:flex;gap:8px}.tox .tox-card__actions--space-between{justify-content:space-between}.tox .tox-card__actions--flex-start{justify-content:flex-start}.tox .tox-card__actions .tox-button,.tox .tox-card__actions .tox-button--icon,.tox .tox-card__actions .tox-button:has(.tox-icon:only-child){padding:4px 16px}.tox .tox-card__divider{margin:12px 0;border:none;border-top:1px solid #eee}.tox .tox-card__expansion{display:flex;flex-direction:column;gap:12px;width:100%}.tox .tox-card__expansion:has(> .tox-card__expansion-content--collapsed:only-child){margin-block-start:-12px}.tox .tox-card__expansion-content{display:grid;font-size:14px;grid-template-rows:0fr;transition:grid-template-rows .2s ease-in-out}.tox .tox-card__expansion-content--expanded{grid-template-rows:1fr}.tox .tox-card__expansion-content--expanded>.tox-card__expansion-content-inner{min-height:auto;overflow:visible}.tox .tox-card__expansion-content--collapsed{grid-template-rows:0fr}.tox .tox-card__expansion-content-inner{min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:12px}.tox .tox-card.tox-skeleton{cursor:default;pointer-events:none;box-shadow:none}.tox .tox-card.tox-skeleton:hover{box-shadow:none}.tox .tox-card.tox-skeleton .tox-skeleton__line{border-radius:6px;margin:0}.tox .tox-card.tox-skeleton .tox-card__body{display:flex;flex-direction:column;gap:4px}.tox .tox-card-list{display:flex;flex-direction:column;gap:12px}.tox .tox-card-list:has(.tox-card-group){gap:0}.tox .tox-card-list:focus{outline:0}.tox .tox-card-group{background-color:#f0f0f0;display:flex;flex-direction:column}.tox .tox-card-group .tox-card{scroll-margin-top:53px}.tox .tox-card-group__title{align-items:center;background-color:#fff;border-bottom:1px solid #eee;color:#222f3e;display:flex;font-size:14px;font-weight:700;gap:8px;line-height:16px;overflow:hidden;padding:12px;position:sticky;top:0;z-index:1}.tox .tox-card-group__title-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-card-group__status{color:rgba(34,47,62,.7);flex:0 0 auto;font-size:12px;font-weight:400;margin-inline-start:auto}.tox .tox-card-group__content{display:flex;flex-direction:column;gap:12px;padding-block:12px}.tox .tox-profile{align-items:center;display:flex;gap:8px}.tox .tox-profile__image{align-items:center;display:flex;flex-shrink:0}.tox .tox-profile__badge{display:flex;flex-shrink:0;height:36px;margin-inline-start:-4px;width:36px}.tox .tox-profile__badge svg{display:block;height:100%;width:100%}.tox .tox-user-avatar{width:36px;height:36px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center}.tox .tox-user-avatar img{width:100%;height:100%;object-fit:cover}.tox .tox-profile__body{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;flex:1}.tox .tox-profile__heading{color:#222f3e;font-size:14px;font-weight:700;line-height:18px;text-transform:none}.tox .tox-profile__subheading{color:#222f3e;font-size:12px;font-weight:400;line-height:16px;padding-block:4px;text-transform:none}.tox .tox-profile__subheading .tox-icon svg{fill:rgba(34,47,62,0.5);margin-block:-4px;vertical-align:top}.tox [data-mce-name=suggestededits] .tox-icon .tox-icon--badge{fill:#006ce7}.tox .tox-view .tox-suggestededits__pane{padding:0}.tox .tox-suggestededits__sink{position:relative;z-index:1000}.tox .tox-suggestededits__sink .tox-tiered-menu .tox-collection--list{position:absolute}.tox .tox-suggestededits__container{height:100%;display:flex;flex-direction:column}.tox .tox-suggestededits__container .tox-suggestededits{background-color:#fff;display:flex;flex:1;height:inherit;overflow-x:auto;overflow-y:hidden;position:relative}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__content{flex:1}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__model{height:100%;position:relative}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__model .tox-suggestededits__iframe{height:100%;width:100%;overflow:scroll;background-color:#fff}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar{background-color:#f0f0f0;border-left:1px solid #e3e3e3;display:flex;flex-direction:column;flex:0 1 auto;min-width:248px;width:441px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__announcer{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;margin:-1px;padding:0;border:0}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar{padding:4px 12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar:not(:empty){padding:12px 12px 6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button:has(.tox-icon:only-child){gap:0;padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-md,16px)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button:has(.tox-icon:only-child) .tox-icon{align-items:center;display:flex;flex:0 0 auto;height:24px;justify-content:center;width:24px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline{border-color:#e3e3e3}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:focus:not(:disabled),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:hover:not(:disabled){background-color:rgba(34,47,62,.12);border-color:rgba(34,47,62,.12)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline.tox-button--enabled:not(:disabled),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:active:not(:disabled){background-color:rgba(34,47,62,.18);border-color:rgba(34,47,62,.18);color:#222f3e}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline[disabled]{border-color:#e3e3e3}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content{display:flex;flex:1;flex-direction:column;gap:12px;overflow:auto;padding:6px 12px 12px 12px;position:relative;scroll-padding-block:6px 12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-card--selected:has(textarea:focus){border-color:transparent}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__divider,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--divider{background-color:#f0f0f0;height:1px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--editor,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--single{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;gap:12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--editor{padding:6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header{display:flex;flex:auto;justify-content:space-between;align-items:center;gap:8px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__card--timestamp,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__card--timestamp{color:#222f3e}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__card--timestamp .tox-icon svg,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__card--timestamp .tox-icon svg{fill:rgba(34,47,62,0.5)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution{align-items:center;border:0;border-radius:20px;color:rgba(34,47,62,.7);height:20px;width:20px;display:flex;flex:0 0 auto;justify-content:center;text-align:center}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button{padding:var(--tox-private-button-padding-y,4px) var(--tox-private-button-padding-x,16px)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button .tox-suggestededits__resolution--label{display:none}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:not(:hover):not(:focus-visible),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:not(:hover):not(:focus-visible){border-color:transparent}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution{display:none}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution--label{display:inline}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content{display:flex;flex-direction:column;align-self:stretch;flex:auto;gap:6px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations{display:flex;gap:8px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-details,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-details{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-text,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-text{color:#222f3e;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:18px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-content-text,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-content-text{font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:20px;overflow-wrap:break-word}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-content-text-joiner,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-content-text-joiner{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__card--feedback,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__card--feedback{color:#222f3e;overflow-wrap:anywhere;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__actions,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--buttons{display:flex;align-items:center;gap:8px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__actions.tox-suggestededits__card--feedback-buttons,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--buttons.tox-suggestededits__card--feedback-buttons{justify-content:flex-end}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-suggestededits__card--active .tox-suggestededits__card--single{border-radius:6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-suggestededits__card--active .tox-suggestededits__card--single:focus-visible{outline:2px solid #006ce7}.tox .tox-dialog-loading::before{background-color:rgba(0,0,0,.5);content:"";height:100%;position:absolute;width:100%;z-index:1000}.tox .tox-tab{cursor:pointer}.tox .tox-dialog__content-js{display:flex;flex:1}.tox .tox-dialog__body-content .tox-collection{display:flex;flex:1}`) \ No newline at end of file +tinymce.Resource.add('ui/oxide/skin.css', `.tox{box-shadow:none;box-sizing:content-box;cursor:auto;font-style:normal;font-weight:400;line-height:normal;-webkit-tap-highlight-color:transparent;-webkit-text-decoration:none;text-decoration:none;text-shadow:none;text-transform:none;vertical-align:initial;white-space:normal}.tox :not(svg):not(rect){box-sizing:inherit;color:inherit;cursor:inherit;direction:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;-webkit-tap-highlight-color:inherit;text-align:inherit;text-decoration:inherit;text-shadow:inherit;text-transform:inherit;vertical-align:inherit;white-space:inherit}.tox :not(svg):not(rect){background:0 0;border:0;box-shadow:none;float:none;height:auto;margin:0;max-width:none;outline:0;padding:0;position:static;width:auto}.tox:not([dir=rtl]){direction:ltr;text-align:left}.tox[dir=rtl]{direction:rtl;text-align:right}.tox-tinymce :focus,.tox-tinymce-aux :focus{outline:0}button::-moz-focus-inner{border:0}@keyframes tox-rotation{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes tox-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox{color:var(--tox-private-color-black,#222f3e);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-font-size-base, 16px)}.tox-tinymce{border:2px solid #eee;border-radius:10px;box-shadow:none;box-sizing:border-box;display:flex;flex-direction:column;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);overflow:hidden;position:relative;visibility:inherit!important}.tox.tox-tinymce-inline{border:none;box-shadow:none;overflow:initial}.tox.tox-tinymce-inline .tox-editor-container{overflow:initial}.tox.tox-tinymce-inline .tox-editor-header{background-color:#fff;border:2px solid #eee;border-radius:10px;box-shadow:none;overflow:hidden}.tox-tinymce-aux{font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);z-index:var(--tox-private-z-index-sink,1300)}.tox[dir=rtl] .tox-icon--flip svg{transform:rotateY(180deg)}.tox .tox-editor-container{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.tox .tox-editor-container--keep-toolbar{flex:0 0 auto;overflow:visible}.tox .tox-editor-header{display:grid;grid-template-columns:1fr min-content;z-index:2}.tox:not(.tox-tinymce-inline) .tox-editor-header{background-color:#fff;border-bottom:none;box-shadow:0 2px 2px -2px rgba(34,47,62,.1),0 8px 8px -4px rgba(34,47,62,.07);padding:4px 0}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(.tox-editor-dock-transition){transition:box-shadow .5s}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header{border-top:1px solid #e3e3e3;box-shadow:none}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header{background-color:#fff;box-shadow:0 2px 2px -2px rgba(34,47,62,.2),0 8px 8px -4px rgba(34,47,62,.15);padding:4px 0}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header{box-shadow:0 2px 2px -2px rgba(34,47,62,.2),0 8px 8px -4px rgba(34,47,62,.15)}.tox.tox:not(.tox-tinymce-inline) .tox-editor-header.tox-editor-header--empty{background:0 0;border:none;box-shadow:none;padding:0}.tox-editor-dock-fadeout{opacity:0;visibility:hidden}.tox-editor-dock-fadein{opacity:1;visibility:visible}.tox-editor-dock-transition{transition:visibility 0s linear .25s,opacity .25s ease}.tox-editor-dock-transition.tox-editor-dock-fadein{transition-delay:0s}.tox .accessibility-issue__header{align-items:center;display:flex;margin-bottom:4px}.tox #accessibility-issue__subheader{font-size:16px;color:#222f3e}.tox .accessbility-sr-only{position:absolute;clip:rect(1px,1px,1px,1px);clip-path:inset(0 0 99.9% 99.9%);overflow:hidden;height:1px;width:1px;padding:0;border:0}.tox .accessibility-issue__description{align-items:stretch;border-radius:6px;justify-content:space-between}.tox .accessibility-issue__description>div{padding-bottom:4px}.tox .accessibility-issue__description>div>div{align-items:center;display:flex;margin-bottom:4px}.tox .accessibility-issue__description>div>div .tox-icon svg{display:block}.tox #accessibility-issue__contentID{margin-top:8px;margin-bottom:8px}.tox #accessibility-issue__contentID span:first-child{font-weight:700}.tox #accessibility-issue__document{padding-bottom:8px}.tox .accessibility-issue__repair{margin-top:8px}.tox .accessibility-issue__repair .tox-form__group .tox-form__group--error{color:#c00}.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description{background-color:#e6f0fd;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2{font-size:14px;color:#006ce7}.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon.accessibility-issue__icon svg{fill:#006ce7}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon{background-color:#006ce7;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:hover{background-color:#0060ce}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:active{background-color:#0054b4}.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description{background-color:#fffae6;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2{font-size:14px;color:#7a6e25}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon.accessibility-issue__icon svg{fill:#7a6e25}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon{background-color:#ffe89d;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:hover{background-color:#f2d574;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:active{background-color:#e8c657;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description{background-color:#fae6e6;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2{font-size:14px;color:#c00}.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon.accessibility-issue__icon svg{fill:#c00}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon{background-color:#f2bfbf;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:hover{background-color:#e9a4a4;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:active{background-color:#ee9494;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description{background-color:rgba(120,171,70,.1);color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description>:last-child{display:none}.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2{color:#527530}.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon.accessibility-issue__icon svg{fill:#527530}.tox .tox-dialog__body-content .accessibility-issue__header .tox-form__group h1,.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2{margin-top:0}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-left:4px}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-left:auto}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description{padding:8px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-right:4px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-right:auto}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description{padding:4px 8px 4px 4px}.tox .mce-codemirror{background:#fff;bottom:0;font-size:13px;left:0;position:absolute;right:0;top:0;z-index:1}.tox .mce-codemirror.tox-inline-codemirror{margin:8px;position:absolute}.tox .tox-advtemplate .tox-form__grid{flex:1}.tox .tox-advtemplate .tox-form__grid>div:first-child{display:flex;flex-direction:column;width:30%}.tox .tox-advtemplate .tox-form__grid>div:first-child>div:nth-child(2){flex-basis:0;flex-grow:1;overflow:auto}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-advtemplate .tox-form__grid>div:first-child{width:100%}}.tox .tox-advtemplate iframe{border-color:#eee;border-radius:10px;border-style:solid;border-width:1px;margin:0 10px}.tox .tox-accordion{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__item{background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color,#222f3e);border-radius:var(--tox-private-control-border-radius,6px);position:relative}.tox .tox-accordion__item.tox-accordion__item--expanded{background-color:var(--tox-private-background-secondary,#f0f0f0)}.tox .tox-accordion__item.tox-accordion__item--expanded .tox-accordion__content--expanded .tox-accordion__content-inner{padding-top:0}.tox .tox-accordion__item::after{border-radius:var(--tox-private-control-border-radius,6px);box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,2px) var(--tox-private-keyboard-focus-outline-color,#006ce7);content:'';inset:0;opacity:0;pointer-events:none;position:absolute}@media (forced-colors:active){.tox .tox-accordion__item::after{border:2px solid highlight}}.tox .tox-accordion__item:focus{outline:0;z-index:1}.tox .tox-accordion__item:focus::after{opacity:1}.tox .tox-accordion__heading{margin:0;width:100%}.tox .tox-accordion__heading:focus{outline:0}.tox .tox-accordion__header{align-items:center;border:none;border-radius:var(--tox-private-control-border-radius,6px);box-sizing:border-box;color:var(--tox-private-text-color,#222f3e);cursor:pointer;display:flex;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:var(--tox-private-line-height-base, 1.3);outline:0;padding:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));text-align:left;width:100%}.tox .tox-accordion__header::after{border-radius:var(--tox-private-control-border-radius,6px);bottom:0;box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,2px) var(--tox-private-keyboard-focus-outline-color,#006ce7);content:'';left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-accordion__header::after{border:2px solid highlight}}.tox .tox-accordion__header:hover:not(.tox-accordion__header--disabled){background-color:var(--tox-private-background-secondary,#f0f0f0)}.tox .tox-accordion__header:focus:not(.tox-accordion__header--disabled){position:relative;z-index:1}.tox .tox-accordion__header:focus:not(.tox-accordion__header--disabled)::after{opacity:1}.tox .tox-accordion__header.tox-accordion__header--disabled{cursor:not-allowed;opacity:.5}.tox .tox-accordion__header.tox-accordion__header--icon-end{padding-right:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__header-icon{align-items:center;color:var(--tox-private-text-color,#222f3e);display:flex;flex-shrink:0;height:calc(var(--tox-private-base-value,16px) * 1.5);justify-content:center;width:calc(var(--tox-private-base-value,16px) * 1.5)}.tox .tox-accordion__header-icon svg{display:block;fill:currentColor;height:100%;width:100%;max-height:calc(var(--tox-private-base-value,16px) * 1.5);max-width:calc(var(--tox-private-base-value,16px) * 1.5)}.tox .tox-accordion__header:not(.tox-accordion__header--icon-end) .tox-accordion__header-icon{margin-right:var(--tox-private-pad-sm,8px);margin-left:0}.tox .tox-accordion__header--icon-end .tox-accordion__header-icon{margin-left:auto}.tox .tox-accordion__header-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-accordion__header--icon-end .tox-accordion__header-text{flex:0 1 auto;margin-right:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__content{border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-accordion__content.tox-accordion__content--collapsed{display:none}.tox .tox-accordion__content.tox-accordion__content--expanded{display:block}.tox .tox-accordion__content-inner{padding:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px)) calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__content-inner .tox-form__group:last-child{margin-bottom:0}.tox .tox-accordion__content-inner .tox-form__group>:not(:first-child){margin-top:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__content-inner .tox-form__group>.tox-dropdown-content{margin-top:0}.tox .tox-accordion__content-inner .tox-button-group{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__content-inner .tox-accordion__model-button{border-radius:var(--tox-private-control-border-radius,6px);align-items:center;appearance:none;background:0 0;border:none;color:inherit;cursor:pointer;display:flex;font-family:inherit;font-size:inherit;gap:var(--tox-private-pad-xs,4px);margin:0;outline:0;padding:6px calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));position:relative}.tox .tox-accordion__content-inner .tox-accordion__model-button::after{border-radius:var(--tox-private-control-border-radius,6px);bottom:0;box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,2px) var(--tox-private-keyboard-focus-outline-color,#006ce7);content:'';left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-accordion__content-inner .tox-accordion__model-button::after{border:2px solid highlight}}.tox .tox-accordion__content-inner .tox-accordion__model-button:focus{z-index:1}.tox .tox-accordion__content-inner .tox-accordion__model-button:focus::after{opacity:1}.tox .tox-accordion .tox-selectfield{align-items:center;background-color:var(--tox-private-background-color,#fff);border:1px solid var(--tox-private-border-color,#eee);border-radius:var(--tox-private-control-border-radius,6px);box-sizing:border-box;display:flex;height:34px;padding:0 6px;position:relative;width:100%}.tox .tox-accordion .tox-selectfield:focus-within{box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,2px) var(--tox-private-keyboard-focus-outline-color,#006ce7);z-index:1}@media (forced-colors:active){.tox .tox-accordion .tox-selectfield:focus-within{border-color:highlight;box-shadow:0 0 0 2px highlight}}.tox .tox-accordion .tox-selectfield button{appearance:none;background:0 0;border:none;color:inherit;cursor:pointer;flex:1;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;outline:0;padding:5px 0;text-align:left}.tox .tox-accordion .tox-selectfield .tox-icon{display:flex;flex-shrink:0;padding:9px 0;pointer-events:none}.tox .tox-accordion .tox-selectfield .tox-icon svg{height:var(--tox-private-base-value,16px);width:var(--tox-private-base-value,16px)}.tox[dir=rtl] .tox-accordion__header{text-align:right}.tox[dir=rtl] .tox-accordion__header:not(.tox-accordion__header--icon-end) .tox-accordion__header-icon{margin-left:var(--tox-private-pad-sm,8px);margin-right:0}.tox[dir=rtl] .tox-accordion__header--icon-end .tox-accordion__header-icon{margin-right:auto;margin-left:0}.tox[dir=rtl] .tox-accordion__header--icon-end .tox-accordion__header-text{margin-left:var(--tox-private-pad-sm,8px);margin-right:0}.tox .tox-alert{align-items:flex-start;align-self:stretch;border-radius:var(--tox-private-panel-border-radius,6px);border-style:solid;border-width:1px;box-sizing:border-box;color:var(--tox-private-text-color,#222f3e);display:flex;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-normal,normal);gap:var(--tox-private-pad-xs,4px);line-height:var(--tox-private-line-height-base, 1.3);padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-sm,8px);width:100%}.tox .tox-alert--error{background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#fff) r g b / .8) 0,rgba(from var(--tox-private-background-color,#fff) r g b / .8) 100%),var(--tox-private-color-error,#c00);border-color:var(--tox-private-color-error,#c00)}.tox .tox-alert--warning{background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#fff) r g b / .8) 0,rgba(from var(--tox-private-background-color,#fff) r g b / .8) 100%),var(--tox-private-color-warning,#fc0);border-color:var(--tox-private-color-warning,#fc0)}.tox .tox-alert__body{display:flex;flex:1 0 0;flex-direction:column;min-width:0}.tox .tox-alert__content{align-items:center;display:flex;flex:1 0 0;gap:var(--tox-private-pad-sm,8px);padding:var(--tox-private-pad-sm,8px) 0}.tox .tox-alert__message{margin:0;text-align:left}.tox .tox-alert__actions{align-items:center;display:flex;flex-wrap:wrap;gap:var(--tox-private-pad-xs,4px);justify-content:flex-start}.tox .tox-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bottom-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bar{display:flex;flex:0 0 auto}.tox .tox-button{border-width:var(--tox-private-button-border-width,1px);border-style:var(--tox-private-button-border-style,solid);border-radius:var(--tox-private-control-border-radius,6px);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-button-font-size, 14px);font-style:var(--tox-private-button-font-style,normal);font-weight:var(--tox-private-button-font-weight,bold);line-height:var(--tox-private-control-line-height, 24px);padding:var(--tox-private-button-padding-y,4px) var(--tox-private-button-padding-x,16px);text-align:center;-webkit-text-decoration:none;text-decoration:none;text-transform:none;letter-spacing:normal;box-shadow:none;box-sizing:border-box;cursor:pointer;outline:0;position:relative;white-space:nowrap;display:inline-flex;justify-content:center;align-items:center;gap:var(--tox-private-pad-xs,4px)}.tox .tox-button::before{border-radius:var(--tox-private-control-border-radius,6px);bottom:calc(-1 * var(--tox-private-button-border-width,1px));box-shadow:var(--tox-private-button-focus-outline,inset 0 0 0 1px #fff,0 0 0 2px #006ce7);content:'';left:calc(-1 * var(--tox-private-button-border-width,1px));opacity:0;pointer-events:none;position:absolute;right:calc(-1 * var(--tox-private-button-border-width,1px));top:calc(-1 * var(--tox-private-button-border-width,1px))}.tox .tox-button:focus:not(:disabled){background-color:var(--tox-private-button-focus-background-color,#0060ce);background-image:none;border-color:var(--tox-private-button-focus-border-color,#0060ce);box-shadow:var(--tox-private-button-focus-box-shadow,none);color:var(--tox-private-button-focus-text-color,#fff)}.tox .tox-button:focus:not(:disabled)::before{opacity:1}.tox .tox-button.tox-button--icon,.tox .tox-button:has(.tox-icon:only-child){padding:4px}.tox .tox-button .tox-icon svg{display:block;fill:currentColor}.tox .tox-button .tox-icon.tox-icon--success svg{fill:var(--tox-private-color-success,#78AB46)}.tox .tox-button .tox-icon.tox-icon--error svg{fill:var(--tox-private-color-error,#c00)}.tox .tox-button--stretch{width:100%}.tox-context-form__group .tox-button--icon,.tox-context-form__group .tox-button.tox-button--icon{margin:6px 1px 5px 0;padding:0}.tox .tox-button{background-color:var(--tox-private-button-primary-background-color,#006ce7);background-image:none;background-position:0 0;background-repeat:repeat;color:var(--tox-private-button-primary-text-color,#fff);border-color:var(--tox-private-button-primary-border-color,#006ce7)}.tox .tox-button[disabled]{background-color:var(--tox-private-button-primary-disabled-background-color,#006ce7);background-image:none;border-color:var(--tox-private-button-primary-disabled-border-color,#006ce7);color:var(--tox-private-button-primary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button:focus:not(:disabled){background-color:var(--tox-private-button-primary-focus-background-color,#0060ce);border-color:var(--tox-private-button-primary-focus-border-color,#0060ce);color:var(--tox-private-button-primary-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button:hover:not(:disabled){background-color:var(--tox-private-button-primary-hover-background-color,#0060ce);border-color:var(--tox-private-button-primary-hover-border-color,#0060ce);color:var(--tox-private-button-primary-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button:active:not(:disabled){background-color:var(--tox-private-button-primary-active-background-color,#0054b4);border-color:var(--tox-private-button-primary-active-border-color,#0054b4);color:var(--tox-private-button-primary-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled{background-color:var(--tox-private-button-primary-enabled-background-color,#0054b4);border-color:var(--tox-private-button-primary-enabled-border-color,#0054b4);color:var(--tox-private-button-primary-enabled-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled[disabled]{color:var(--tox-private-button-primary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-primary-enabled-focus-background-color,#00489b);border-color:var(--tox-private-button-primary-enabled-focus-border-color,#00489b);color:var(--tox-private-button-primary-enabled-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-primary-enabled-hover-background-color,#00489b);border-color:var(--tox-private-button-primary-enabled-hover-border-color,#00489b);color:var(--tox-private-button-primary-enabled-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-primary-enabled-active-background-color,#003c81);border-color:var(--tox-private-button-primary-enabled-active-border-color,#003c81);color:var(--tox-private-button-primary-enabled-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary{background-color:var(--tox-private-button-secondary-background-color,#f0f0f0);border-color:var(--tox-private-button-secondary-border-color,#f0f0f0);color:var(--tox-private-button-secondary-text-color,#222f3e);border-style:solid;border-width:1px;background-image:none;background-position:0 0;background-repeat:repeat;border-radius:6px;box-shadow:none;font-size:14px;font-style:normal;font-weight:700;letter-spacing:normal;outline:0;padding:4px 16px;-webkit-text-decoration:none;text-decoration:none;text-transform:none}.tox .tox-button--secondary[disabled]{background-color:var(--tox-private-button-secondary-disabled-background-color,#f0f0f0);background-image:none;border-color:var(--tox-private-button-secondary-disabled-border-color,#f0f0f0);color:var(--tox-private-button-secondary-disabled-text-color,rgba(34,47,62,.5));cursor:not-allowed}.tox .tox-button--secondary:focus:not(:disabled){background-color:var(--tox-private-button-secondary-focus-background-color,#e3e3e3);border-color:var(--tox-private-button-secondary-focus-border-color,#e3e3e3);color:var(--tox-private-button-secondary-focus-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary:hover:not(:disabled){background-color:var(--tox-private-button-secondary-hover-background-color,#e3e3e3);border-color:var(--tox-private-button-secondary-hover-border-color,#e3e3e3);color:var(--tox-private-button-secondary-hover-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary:active:not(:disabled){background-color:var(--tox-private-button-secondary-active-background-color,#d6d6d6);border-color:var(--tox-private-button-secondary-active-border-color,#d6d6d6);color:var(--tox-private-button-secondary-active-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled{background-color:var(--tox-private-button-secondary-enabled-background-color,#a6ccf7);border-color:var(--tox-private-button-secondary-enabled-border-color,#a6ccf7);color:var(--tox-private-button-secondary-enabled-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled[disabled]{color:var(--tox-private-button-secondary-disabled-text-color,rgba(34,47,62,.5));cursor:not-allowed}.tox .tox-button--secondary.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-focus-background-color,#8ebef4);border-color:var(--tox-private-button-secondary-enabled-focus-border-color,#8ebef4);color:var(--tox-private-button-secondary-enabled-focus-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-hover-background-color,#8ebef4);border-color:var(--tox-private-button-secondary-enabled-hover-border-color,#8ebef4);color:var(--tox-private-button-secondary-enabled-hover-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-active-background-color,#77b1f2);border-color:var(--tox-private-button-secondary-enabled-active-border-color,#77b1f2);color:var(--tox-private-button-secondary-enabled-active-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--naked{background-color:transparent;border-color:transparent;box-shadow:unset;color:var(--tox-private-button-naked-text-color,#222f3e)}.tox .tox-button--naked[disabled]{background-color:transparent;border-color:transparent;color:var(--tox-private-button-naked-disabled-text-color,rgba(34,47,62,.5));cursor:not-allowed}.tox .tox-button--naked:focus:not(:disabled){background-color:var(--tox-private-button-naked-focus-background-color,rgba(34,47,62,.12));border-color:var(--tox-private-button-naked-focus-border-color,transparent);color:var(--tox-private-button-naked-focus-text-color,#222f3e);box-shadow:unset}.tox .tox-button--naked:hover:not(:disabled){background-color:var(--tox-private-button-naked-hover-background-color,rgba(34,47,62,.12));border-color:var(--tox-private-button-naked-hover-background-color,transparent);color:var(--tox-private-button-naked-hover-text-color,#222f3e);box-shadow:unset}.tox .tox-button--naked:active:not(:disabled){background-color:var(--tox-private-button-naked-active-background-color,rgba(34,47,62,.18));border-color:var(--tox-private-button-naked-active-border-color,transparent);color:var(--tox-private-button-naked-active-text-color,#222f3e);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled{background-color:var(--tox-private-button-naked-enabled-background-color,#a8c8ed);border-color:var(--tox-private-button-naked-enabled-border-color,#a8c8ed);color:var(--tox-private-button-naked-enabled-text-color,#222f3e);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled[disabled]{color:var(--tox-private-button-naked-disabled-text-color,rgba(34,47,62,.5));cursor:not-allowed}.tox .tox-button--naked.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-naked-enabled-focus-background-color,#93bbe9);border-color:var(--tox-private-button-naked-enabled-focus-border-color,#93bbe9);color:var(--tox-private-button-naked-enabled-focus-text-color,#222f3e);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-naked-enabled-hover-background-color,#93bbe9);border-color:var(--tox-private-button-naked-enabled-hover-border-color,#93bbe9);color:var(--tox-private-button-naked-enabled-hover-text-color,#222f3e);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-naked-enabled-active-background-color,#7daee4);border-color:var(--tox-private-button-naked-enabled-active-border-color,#7daee4);color:var(--tox-private-button-naked-enabled-active-text-color,#222f3e);box-shadow:unset}.tox .tox-button--secondary--outline{background-color:transparent;border-color:var(--tox-private-button-secondary-outline-border-color,#f0f0f0);color:var(--tox-private-button-secondary-outline-text-color,#222f3e)}.tox .tox-button--secondary--outline:focus:not(:disabled){background-color:var(--tox-private-button-secondary-outline-focus-background-color,#e3e3e3);border-color:var(--tox-private-button-secondary-outline-focus-border-color,#e3e3e3);color:var(--tox-private-button-secondary-outline-focus-text-color,#222f3e)}.tox .tox-button--secondary--outline:hover:not(:disabled){background-color:var(--tox-private-button-secondary-outline-hover-background-color,#f0f0f0);border-color:var(--tox-private-button-secondary-outline-hover-border-color,#e3e3e3);color:var(--tox-private-button-secondary-outline-hover-text-color,#222f3e)}.tox .tox-button--secondary--outline:active:not(:disabled){background-color:var(--tox-private-button-secondary-outline-active-background-color,#e3e3e3);border-color:var(--tox-private-button-secondary-outline-active-border-color,#e3e3e3);color:var(--tox-private-button-secondary-outline-active-text-color,#222f3e)}.tox .tox-button--secondary--outline[disabled]{background-color:var(--tox-private-button-secondary-outline-disabled-background-color,transparent);border-color:var(--tox-private-button-secondary-outline-disabled-border-color,#f0f0f0);color:var(--tox-private-button-secondary-outline-disabled-text-color,rgba(34,47,62,.5))}.tox .tox-checkbox{align-items:center;border-radius:var(--tox-private-checkbox-border-radius,6px);cursor:pointer;display:flex;height:var(--tox-private-control-height,36px);min-width:var(--tox-private-control-height,36px)}.tox .tox-checkbox__input{height:1px;overflow:hidden;position:absolute;top:auto;width:1px}.tox .tox-checkbox__icons{display:flex;align-items:center;justify-content:center;box-sizing:content-box;padding:var(--tox-private-pad-xs,calc(4px - 1px));border-radius:var(--tox-private-checkbox-border-radius,6px);box-shadow:0 0 0 2px transparent;height:var(--tox-private-control-line-height,24px);aspect-ratio:1/1}.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:block;fill:var(--tox-private-checkbox-unselected-color,rgba(34,47,62,0.3))}@media (forced-colors:active){.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:currentColor!important}}.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:none;fill:var(--tox-private-checkbox-indeterminate-color,#006ce7)}.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg{display:none;fill:var(--tox-private-checkbox-selected-color,#006ce7)}.tox .tox-checkbox--disabled{color:var(--tox-private-checkbox-disabled-text-color,rgba(34,47,62,.5));cursor:not-allowed}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(34,47,62,0.5))}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(34,47,62,0.5))}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(34,47,62,0.5))}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__checked svg{display:block}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:block}.tox input.tox-checkbox__input:focus+.tox-checkbox__icons{box-shadow:var(--tox-private-checkbox-focus-box-shadow,inset 0 0 0 1px #006ce7)}.tox:not([dir=rtl]) .tox-checkbox__label{margin-left:var(--tox-private-pad-xs,4px)}.tox:not([dir=rtl]) .tox-checkbox__input{left:-10000px}.tox:not([dir=rtl]) .tox-bar .tox-checkbox{margin-left:var(--tox-private-pad-xs,4px)}.tox[dir=rtl] .tox-checkbox__label{margin-right:var(--tox-private-pad-xs,4px)}.tox[dir=rtl] .tox-checkbox__input{right:-10000px}.tox[dir=rtl] .tox-bar .tox-checkbox{margin-right:var(--tox-private-pad-xs,4px)}.tox .tox-collection--toolbar .tox-collection__group{display:flex;padding:0}.tox .tox-collection--grid .tox-collection__group{display:flex;flex-wrap:wrap;max-height:208px;overflow-x:hidden;overflow-y:auto;padding:0}.tox .tox-collection--list .tox-collection__group{border-bottom-width:0;border-color:#e3e3e3;border-left-width:0;border-right-width:0;border-style:solid;border-top-width:1px;padding:4px 0;display:flex;flex-direction:column}.tox .tox-collection--list .tox-collection__group:first-child{border-top-width:0}.tox .tox-collection__group-heading{background-color:#fcfcfc;color:rgba(34,47,62,.7);cursor:default;font-size:12px;font-style:normal;font-weight:400;margin-bottom:4px;margin-top:-4px;padding:4px 8px;text-transform:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-collection__item{align-items:center;border-radius:3px;color:#222f3e;display:flex;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-image-selector-menu .tox-collection__item,.tox .tox-image-selector-menu .tox-collection__item-image-selector{flex-direction:column}.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-checkmark,.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-icon,.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-image,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-checkmark,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-icon,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-image{flex-grow:1}.tox .tox-image-selector-menu .tox-collection__item label,.tox .tox-image-selector-menu .tox-collection__item-image-selector label{width:48px;white-space:nowrap;overflow:hidden;font-size:12px;color:#222f3e;text-align:center;align-self:flex-end}.tox .tox-image-selector-menu .tox-collection__item-checkmark{height:24px;width:24px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.tox .tox-image-selector-menu .tox-collection__item-checkmark svg path{fill:#006ce7;stroke:#006ce7}.tox .tox-image-selector-menu .tox-image-selector__row .tox-collection__item-image-selector.tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#fff}.tox .tox-image-selector-menu .tox-image-selector__row .tox-collection__item-image-selector.tox-collection__item--enabled:not(.tox-collection__item--state-disabled){z-index:2;background-color:#fff;opacity:.8;background-clip:content-box}.tox .tox-collection--list .tox-collection__item{padding:4px 8px}.tox .tox-collection--toolbar .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--grid .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--list .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#fff;color:#222f3e}.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#006ce7;color:#fff}@media (forced-colors:active){.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){border:solid 1px}}.tox .tox-collection--grid .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#a6ccf7;color:#222f3e}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#f0f0f0;color:#222f3e;position:relative;z-index:1}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7 inset;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border:2px solid highlight}}.tox .tox-collection--toolbar .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#a6ccf7;color:#222f3e}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){border-radius:3px;outline:solid 1px}}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled){color:#222f3e;background-color:#fff;position:relative}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):hover{background-color:#f0f0f0;color:#222f3e}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus{background-color:#f0f0f0;color:#222f3e}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border:2px solid highlight}}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):hover{border-radius:3px;outline:solid 1px}}.tox .tox-collection__item-image{border:1px solid #eee;border-radius:6px;display:flex;flex-direction:column;justify-content:center;margin-bottom:4px;position:relative}.tox .tox-collection__item-checkmark,.tox .tox-collection__item-icon{align-items:center;display:flex;height:24px;justify-content:center;width:24px}.tox .tox-collection__item-checkmark svg,.tox .tox-collection__item-icon svg{fill:currentColor}.tox .tox-collection--toolbar-lg .tox-collection__item-icon{height:48px;width:48px}.tox .tox-collection__item-label{color:currentColor;display:inline-block;flex:1;font-size:14px;font-style:normal;font-weight:400;line-height:24px;max-width:100%;text-transform:none;word-break:break-all}.tox .tox-collection__item-separator{border-bottom:1px solid #e3e3e3;height:0;margin:4px 0}.tox .tox-collection__item-accessory{color:currentColor;display:inline-block;font-size:14px;height:24px;line-height:24px;text-transform:none}.tox .tox-collection__item-caret{align-items:center;display:flex;min-height:24px}.tox .tox-collection__item-caret::after{content:'';font-size:0;min-height:inherit}.tox .tox-collection__item-caret svg{fill:currentColor}.tox .tox-collection__item--state-disabled{background-color:transparent;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg{fill:rgba(34,47,62,0.5)}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg{display:none}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-accessory+.tox-collection__item-checkmark{display:none}.tox .tox-collection--horizontal{background-color:#fff;border:1px solid #e3e3e3;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:nowrap;margin-bottom:0;overflow-x:auto;padding:0}.tox .tox-collection--horizontal .tox-collection__group{align-items:center;display:flex;flex-wrap:nowrap;margin:0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item{height:28px;margin:6px 1px 5px 0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item-label{white-space:nowrap}.tox .tox-collection--horizontal .tox-collection__item-caret{margin-left:4px}.tox .tox-collection__item-container{display:flex}.tox .tox-collection__item-container--row{align-items:center;flex:1 1 auto;flex-direction:row}.tox .tox-collection__item-container--row.tox-collection__item-container--align-left{margin-right:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--align-right{justify-content:flex-end;margin-left:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-top{align-items:flex-start;margin-bottom:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-middle{align-items:center}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-bottom{align-items:flex-end;margin-top:auto}.tox .tox-collection__item-container--column{align-self:center;flex:1 1 auto;flex-direction:column}.tox .tox-collection__item-container--column.tox-collection__item-container--align-left{align-items:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--align-right{align-items:flex-end}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-top{align-self:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-middle{align-self:center}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-bottom{align-self:flex-end}.tox:not([dir=rtl]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-right:1px solid transparent}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>:not(:first-child){margin-left:8px}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-left:4px}.tox:not([dir=rtl]) .tox-collection__item-accessory{margin-left:16px;text-align:right}.tox:not([dir=rtl]) .tox-collection .tox-collection__item-caret{margin-left:16px}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-left:1px solid transparent}.tox[dir=rtl] .tox-collection--list .tox-collection__item>:not(:first-child){margin-right:8px}.tox[dir=rtl] .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-right:4px}.tox[dir=rtl] .tox-collection__item-accessory{margin-right:16px;text-align:left}.tox[dir=rtl] .tox-collection .tox-collection__item-caret{margin-right:16px;transform:rotateY(180deg)}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__item-caret{margin-right:4px}@media (forced-colors:active){.tox .tox-hue-slider,.tox .tox-rgb-form .tox-rgba-preview{background-color:currentColor!important;border:1px solid highlight!important;forced-color-adjust:none}}.tox .tox-color-picker-container{display:flex;flex-direction:row;height:225px;margin:0}.tox .tox-sv-palette{box-sizing:border-box;display:flex;height:100%}.tox .tox-sv-palette-spectrum{height:100%}.tox .tox-sv-palette,.tox .tox-sv-palette-spectrum{width:225px}.tox .tox-sv-palette-thumb{background:0 0;border:1px solid #000;border-radius:50%;box-sizing:content-box;height:12px;position:absolute;width:12px}.tox .tox-sv-palette-inner-thumb{border:1px solid #fff;border-radius:50%;height:10px;position:absolute;width:10px}.tox .tox-hue-slider{box-sizing:border-box;height:100%;width:25px}.tox .tox-hue-slider-spectrum{background:linear-gradient(to bottom,red,#ff0080,#f0f,#8000ff,#00f,#0080ff,#0ff,#00ff80,#0f0,#80ff00,#ff0,#ff8000,red);height:100%;width:100%}.tox .tox-hue-slider,.tox .tox-hue-slider-spectrum{width:20px}.tox .tox-hue-slider-spectrum:focus,.tox .tox-sv-palette-spectrum:focus{outline:#08f solid}.tox .tox-hue-slider-thumb{background:#fff;border:1px solid #000;box-sizing:content-box;height:4px;width:100%}.tox .tox-rgb-form{display:flex;flex-direction:column;justify-content:space-between}.tox .tox-rgb-form div{align-items:center;display:flex;justify-content:space-between;margin-bottom:5px;width:inherit}.tox .tox-rgb-form input{min-width:6em}.tox .tox-rgb-form input.tox-invalid{border:1px solid red!important;box-shadow:0 0 0 1px red}.tox .tox-rgb-container{position:relative}.tox .tox-rgb-form .tox-invalid-icon{align-content:center;align-items:center;display:none;height:100%;position:absolute;right:0;top:0}.tox .tox-rgb-form .tox-invalid-icon .tox-control-wrap__status-icon-invalid{margin:0}.tox .tox-rgb-warning-note{background-color:#f5cccc;border:1px solid #f0b3b3;border-radius:3px;color:#77181f;padding:3px}.tox input.tox-invalid+.tox-invalid-icon{display:flex}.tox .tox-rgb-form .tox-rgba-preview{border:1px solid #000;flex-grow:2;margin-bottom:0}.tox:not([dir=rtl]) .tox-sv-palette{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider-thumb{margin-left:-1px}.tox:not([dir=rtl]) .tox-rgb-form label{margin-right:.5em}.tox[dir=rtl] .tox-sv-palette{margin-left:15px}.tox[dir=rtl] .tox-hue-slider{margin-left:15px}.tox[dir=rtl] .tox-hue-slider-thumb{margin-right:-1px}.tox[dir=rtl] .tox-rgb-form label{margin-left:.5em}.tox .tox-toolbar .tox-swatches,.tox .tox-toolbar__overflow .tox-swatches,.tox .tox-toolbar__primary .tox-swatches{margin:5px 0 6px 11px}.tox .tox-collection--list .tox-collection__group .tox-swatches-menu{border:0;margin:-4px -4px}.tox .tox-swatches__row{display:flex}@media (forced-colors:active){.tox .tox-swatches__row{forced-color-adjust:none}}.tox .tox-swatch{height:30px;transition:transform .15s,box-shadow .15s;width:30px}.tox .tox-swatch:focus,.tox .tox-swatch:hover{box-shadow:0 0 0 1px rgba(127,127,127,.3) inset;transform:scale(.8)}.tox .tox-swatch--remove{align-items:center;display:flex;justify-content:center}.tox .tox-swatch--remove svg path{stroke:#e74c3c}.tox .tox-swatches__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-swatches__picker-btn svg{fill:#222f3e;height:24px;width:24px}.tox .tox-swatches__picker-btn:hover{background:#f0f0f0}.tox div.tox-swatch:not(.tox-swatch--remove) svg{display:none;fill:#222f3e;height:24px;margin:calc((30px - 24px)/ 2) calc((30px - 24px)/ 2);width:24px}.tox div.tox-swatch:not(.tox-swatch--remove) svg path{fill:#fff;paint-order:stroke;stroke:#222f3e;stroke-width:2px}.tox div.tox-swatch:not(.tox-swatch--remove).tox-collection__item--enabled svg{display:block}.tox:not([dir=rtl]) .tox-swatches__picker-btn{margin-left:auto}.tox[dir=rtl] .tox-swatches__picker-btn{margin-right:auto}.tox .tox-comment{background:#fff;border:1px solid #fff;border-radius:6px;padding:8px;padding-bottom:16px;position:relative}.tox .tox-comment:hover{box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-comment.tox-comment--selected{background-color:#fff2c9;border:1px solid #ffcf30;box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-comment.tox-comment--selected:focus{border:2px solid #006ce7;margin:-1px}.tox .tox-comment.tox-comment--selected:focus:not(:first-child){margin-top:7px}.tox .tox-comment.tox-comment--selected .tox-comment__single{margin-bottom:12px}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus{position:relative}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus::after{top:-9px;pointer-events:none;position:absolute;content:"";display:block;bottom:-9px;left:-9px;right:-9px;border-radius:6px;border:2px solid #006ce7}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus:last-of-type:has(textarea):after{bottom:calc((12px + 16px + 1px) * -1)}.tox .tox-comment__header{align-items:center;color:#222f3e;display:flex;justify-content:space-between}.tox .tox-comment__date{color:#222f3e;font-size:12px;line-height:18px}.tox .tox-comment__body{color:#222f3e;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;margin-top:8px;position:relative;text-transform:initial;transition:max-height .5s cubic-bezier(0, 1, 0, 1);white-space:pre-wrap}.tox .tox-comment__body.tox-comment__body--expanded{max-height:100em;transition:max-height 1s ease-in-out}.tox .tox-comment__body.tox-comment__body--pending{transition:max-height 0s}.tox .tox-comment__body p{margin:0}.tox .tox-comment__body textarea{resize:none;white-space:normal;width:100%;font-size:16px}.tox .tox-comment__loading-text{align-items:center;color:#222f3e;display:flex;flex-direction:column;position:relative}.tox .tox-comment__loading-text>div{padding-bottom:16px}.tox .tox-comment__overlaytext{bottom:0;flex-direction:column;font-size:14px;left:0;padding:1em;position:absolute;right:0;top:0;z-index:10}.tox .tox-comment__overlaytext p{background-color:#fff;box-shadow:0 0 8px 8px #fff;color:#222f3e;text-align:center}.tox .tox-comment__overlaytext div:nth-of-type(2){font-size:.8em}.tox .tox-comment__expander{padding-top:8px}.tox .tox-comment__expander p{color:rgba(34,47,62,.7);font-size:14px;font-style:normal}.tox .tox-comment__expander p:focus{font-weight:700}.tox .tox-comment__buttonspacing{padding-top:16px;text-align:center}.tox .tox-tbtn.tox-comment__mention-btn{display:flex;width:34px;height:34px;padding:5px;justify-content:center;align-items:center;margin:0;background-color:transparent}.tox .tox-comment-thread{background:#fff;position:relative;border-radius:6px;background-color:transparent}.tox .tox-comment-thread>:not(:first-child){margin-top:8px}.tox .tox-comment-thread__overlay::after{background:#fff;bottom:0;content:"";display:flex;left:0;opacity:.9;position:absolute;right:0;top:0;z-index:5}.tox .tox-comment__reply{display:flex;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__reply>:first-child{margin-bottom:8px;width:100%}.tox .tox-comment__edit{display:flex;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__gradient::after{background:linear-gradient(rgba(255,255,255,0),#fff);bottom:0;content:"";display:block;height:5em;margin-top:-40px;position:absolute;width:100%}.tox .tox-comment__overlay{background:#fff;bottom:0;display:flex;flex-direction:column;flex-grow:1;left:0;opacity:.9;position:absolute;right:0;text-align:center;top:0;z-index:5}.tox .tox-comment__busy-spinner{align-items:center;background-color:#fff;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:20}.tox .tox-comment__scroll{display:flex;flex-direction:column;flex-shrink:1;overflow:auto;padding:12px;scroll-behavior:smooth}.tox .tox-comment__scroll:has(textarea:focus){scroll-behavior:auto}.tox .tox-comment--disappearing{transition:opacity .5s ease}.tox .tox-comment[data-transitioning-destination=deleting]{opacity:0}.tox .tox-ring-loader{width:10px;height:10px;border:1px solid #fff;border-bottom-color:transparent;border-radius:50%;display:inline-block;box-sizing:border-box;animation:tox-rotation 1s linear infinite}.tox:not([dir=rtl]) .tox-comment__edit{margin-left:8px}.tox:not([dir=rtl]) .tox-comment__buttonspacing>:last-child,.tox:not([dir=rtl]) .tox-comment__edit>:last-child,.tox:not([dir=rtl]) .tox-comment__reply>:last-child{margin-left:8px}.tox[dir=rtl] .tox-comment__edit{margin-right:8px}.tox[dir=rtl] .tox-comment__buttonspacing>:last-child,.tox[dir=rtl] .tox-comment__edit>:last-child,.tox[dir=rtl] .tox-comment__reply>:last-child{margin-right:8px}.tox .tox-user{align-items:center;display:flex}.tox .tox-user__avatar svg{fill:rgba(34,47,62,0.7)}.tox .tox-user__avatar img{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-user__name{color:#222f3e;font-size:14px;font-style:normal;font-weight:700;line-height:18px;text-transform:none}.tox:not([dir=rtl]) .tox-user__avatar img,.tox:not([dir=rtl]) .tox-user__avatar svg{margin-right:8px}.tox:not([dir=rtl]) .tox-user__avatar+.tox-user__name{margin-left:8px}.tox[dir=rtl] .tox-user__avatar img,.tox[dir=rtl] .tox-user__avatar svg{margin-left:8px}.tox[dir=rtl] .tox-user__avatar+.tox-user__name{margin-right:8px}.tox .tox-dialog-wrap{align-items:center;display:flex;justify-content:center;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1100}.tox .tox-dialog-wrap__backdrop{background-color:rgba(255,255,255,.75);bottom:0;left:0;position:absolute;right:0;top:0;z-index:1}.tox .tox-dialog-wrap__backdrop--opaque{background-color:#fff}.tox .tox-dialog{background-color:#fff;border-color:#eee;border-radius:10px;border-style:solid;border-width:0;box-shadow:0 16px 16px -10px rgba(34,47,62,.15),0 0 40px 1px rgba(34,47,62,.15);display:flex;flex-direction:column;max-height:100%;max-width:480px;overflow:hidden;position:relative;width:95vw;z-index:2}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog{align-self:flex-start;margin:8px auto;max-height:calc(100vh - 8px * 2);width:calc(100vw - 16px)}}.tox .tox-dialog-inline{z-index:1100}.tox .tox-dialog__header{align-items:center;background-color:#fff;border-bottom:none;color:#222f3e;display:flex;font-size:16px;justify-content:space-between;padding:8px 16px 0 16px;position:relative}.tox .tox-dialog__header .tox-button{z-index:1}.tox .tox-dialog__draghandle{cursor:grab;height:100%;left:0;position:absolute;top:0;width:100%}.tox .tox-dialog__draghandle:active{cursor:grabbing}.tox .tox-dialog__dismiss{margin-left:auto}.tox .tox-dialog__title{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:20px;font-style:normal;font-weight:400;line-height:1.3;margin:0;text-transform:none}.tox .tox-dialog__body{color:#222f3e;display:flex;flex:1;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;min-width:0;text-align:left;text-transform:none}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body{flex-direction:column}}.tox .tox-dialog__body-nav{align-items:flex-start;display:flex;flex-direction:column;flex-shrink:0;padding:16px 16px}@media only screen and (min-width:768px){.tox .tox-dialog__body-nav{max-width:11em}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body-nav{flex-direction:row;-webkit-overflow-scrolling:touch;overflow-x:auto;padding-bottom:0}}.tox .tox-dialog__body-nav-item{border-bottom:2px solid transparent;color:rgba(34,47,62,.7);display:inline-block;flex-shrink:0;font-size:14px;line-height:1.3;margin-bottom:8px;max-width:13em;-webkit-text-decoration:none;text-decoration:none}.tox .tox-dialog__body-nav-item:focus{background-color:rgba(0,108,231,.1)}.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid #144782;color:#144782}@media (forced-colors:active){.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid highlight;color:highlight}}.tox .tox-dialog__body-content{box-sizing:border-box;display:flex;flex:1;flex-direction:column;max-height:min(650px,calc(100vh - 110px));overflow:auto;-webkit-overflow-scrolling:touch;padding:16px 16px}.tox .tox-dialog__body-content>*{margin-bottom:0;margin-top:16px}.tox .tox-dialog__body-content>:first-child{margin-top:0}.tox .tox-dialog__body-content>:last-child{margin-bottom:0}.tox .tox-dialog__body-content>:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content a{color:#144782;cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content a:focus,.tox .tox-dialog__body-content a:hover{color:#071729;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content a:focus-visible{border-radius:1px;outline:2px solid #144782;outline-offset:2px}.tox .tox-dialog__body-content a:active{color:#000;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content svg{fill:#222f3e}.tox .tox-dialog__body-content strong{font-weight:700}.tox .tox-dialog__body-content ul{list-style-type:disc}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{padding-inline-start:2.5rem}.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{margin-bottom:16px}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content dt,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{display:block;margin-inline-end:0;margin-inline-start:0}.tox .tox-dialog__body-content .tox-form__group h1{color:#222f3e;font-size:20px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group h2{color:#222f3e;font-size:16px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group p{margin-bottom:16px}.tox .tox-dialog__body-content .tox-form__group h1:first-child,.tox .tox-dialog__body-content .tox-form__group h2:first-child,.tox .tox-dialog__body-content .tox-form__group p:first-child{margin-top:0}.tox .tox-dialog__body-content .tox-form__group h1:last-child,.tox .tox-dialog__body-content .tox-form__group h2:last-child,.tox .tox-dialog__body-content .tox-form__group p:last-child{margin-bottom:0}.tox .tox-dialog__body-content .tox-form__group h1:only-child,.tox .tox-dialog__body-content .tox-form__group h2:only-child,.tox .tox-dialog__body-content .tox-form__group p:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--center{text-align:center}.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--end{text-align:end}.tox .tox-dialog--width-lg{height:650px;max-width:1200px}.tox .tox-dialog--fullscreen{height:100%;max-width:100%}.tox .tox-dialog--fullscreen .tox-dialog__body-content{max-height:100%}.tox .tox-dialog--width-md{max-width:800px}.tox .tox-dialog--width-md .tox-dialog__body-content{overflow:auto}.tox .tox-dialog__body-content--centered{text-align:center}.tox .tox-dialog__footer{align-items:center;background-color:#fff;border-top:none;display:flex;justify-content:space-between;padding:8px 16px}.tox .tox-dialog__footer-end,.tox .tox-dialog__footer-start{display:flex}.tox .tox-dialog__busy-spinner{align-items:center;background-color:rgba(255,255,255,.75);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:3}.tox .tox-dialog__table{border-collapse:collapse;width:100%}.tox .tox-dialog__table thead th{font-weight:700;padding-bottom:8px}.tox .tox-dialog__table thead th:first-child{padding-right:8px}.tox .tox-dialog__table tbody tr{border-bottom:1px solid #626262}.tox .tox-dialog__table tbody tr:last-child{border-bottom:none}.tox .tox-dialog__table td{padding-bottom:8px;padding-top:8px}.tox .tox-dialog__table td:first-child{padding-right:8px}.tox .tox-dialog__iframe{min-height:200px}.tox .tox-dialog__iframe.tox-dialog__iframe--opaque{background:#fff}.tox .tox-navobj-bordered{position:relative}.tox .tox-navobj-bordered::before{border:1px solid #eee;border-radius:6px;content:'';inset:0;opacity:1;pointer-events:none;position:absolute;z-index:1}.tox .tox-navobj-bordered iframe{border-radius:6px}.tox .tox-navobj-bordered-focus.tox-navobj-bordered::before{border-color:#006ce7;box-shadow:0 0 0 1px #006ce7;outline:0}.tox .tox-dialog__popups{position:absolute;width:100%;z-index:1100}.tox .tox-dialog__body-iframe{display:flex;flex:1;flex-direction:column}.tox .tox-dialog__body-iframe .tox-navobj{display:flex;flex:1}.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2){flex:1;height:100%}.tox .tox-dialog-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-dialog-dock-fadein{opacity:1;visibility:visible}.tox .tox-dialog-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein{transition-delay:0s}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav{margin-right:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav-item:not(:first-child){margin-left:8px}}.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-end>*,.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-start>*{margin-left:8px}.tox[dir=rtl] .tox-dialog__body{text-align:right}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav{margin-left:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav-item:not(:first-child){margin-right:8px}}.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-end>*,.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-start>*{margin-right:8px}.tox .tox-dropdown-content{box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);position:fixed;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;overflow:auto;height:fit-content;width:fit-content;border-radius:var(--tox-private-panel-border-radius,6px);background-color:var(--tox-private-background-color,#fff);max-height:50vh}.tox .tox-dropdown-content .tox-menu{width:100%;box-shadow:none}body.tox-dialog__disable-scroll{overflow:hidden}.tox .tox-dropzone-container{display:flex;flex:1}.tox .tox-dropzone{align-items:center;background:#fff;border:2px dashed #eee;box-sizing:border-box;display:flex;flex-direction:column;flex-grow:1;justify-content:center;min-height:100px;padding:10px}.tox .tox-dropzone p{color:rgba(34,47,62,.7);margin:0 0 16px 0}.tox .tox-edit-area{display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-edit-area::before{border:2px solid #006ce7;border-radius:4px;content:'';inset:0;opacity:0;pointer-events:none;position:absolute;transition:opacity .15s;z-index:1}@media (forced-colors:active){.tox .tox-edit-area::before{border:2px solid highlight}}.tox .tox-edit-area__iframe{background-color:#fff;border:0;box-sizing:border-box;flex:1;height:100%;position:absolute;width:100%}.tox.tox-edit-focus .tox-edit-area::before{opacity:1}.tox.tox-inline-edit-area{border:1px dotted #eee}.tox .tox-expandable-box{background:var(--tox-private-background-color,#fff);border-radius:var(--tox-private-control-border-radius,6px);border:1px solid var(--tox-private-border-color,#eee);display:flex;flex-direction:column;justify-content:stretch;overflow:hidden}.tox .tox-expandable-box>.tox-button{margin:0 var(--tox-private-pad-md,16px) var(--tox-private-pad-md,16px)}.tox .tox-expandable-box__title{align-items:center;background:hsl(from var(--tox-private-color-tint,#006ce7) h s l / 10%);border-bottom:1px solid var(--tox-private-border-color,#eee);color:var(--tox-private-text-color,#222f3e);display:flex;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);gap:var(--tox-private-pad-sm,8px);min-width:0;padding:var(--tox-private-pad-sm,8px) var(--tox-private-pad-md,16px)}.tox .tox-expandable-box__title .tox-icon{flex-shrink:0;height:var(--tox-private-base-value,16px);fill:var(--tox-private-text-color,#222f3e)}.tox .tox-expandable-box__title-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-expandable-box__content{margin:var(--tox-private-pad-md,16px);overflow:auto}.tox .tox-expandable-box__content--overflowing{position:relative;overflow:hidden}.tox .tox-expandable-box__content--overflowing::after{content:'';position:absolute;bottom:0;left:0;right:0;height:min(100px,100%);pointer-events:none;background:linear-gradient(to bottom,transparent 50%,var(--tox-private-background-color,#fff))}.tox .tox-expandable-box__content--expanded{max-height:fit-content}.tox .tox-control-wrap{flex:1;position:relative}.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid,.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown,.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid{display:none}.tox .tox-control-wrap svg{display:block}.tox .tox-control-wrap__status-icon-wrap{position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-control-wrap__status-icon-invalid svg{fill:#c00}.tox .tox-control-wrap__status-icon-unknown svg{fill:orange}.tox .tox-control-wrap__status-icon-valid svg{fill:green}.tox:not([dir=rtl]) .tox-control-wrap--status-invalid .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-unknown .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-valid .tox-textfield{padding-right:32px}.tox:not([dir=rtl]) .tox-control-wrap__status-icon-wrap{right:4px}.tox[dir=rtl] .tox-control-wrap--status-invalid .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-unknown .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-valid .tox-textfield{padding-left:32px}.tox[dir=rtl] .tox-control-wrap__status-icon-wrap{left:4px}.tox .tox-custom-preview{border-color:#eee;border-radius:6px;border-style:solid;border-width:1px;flex:1;padding:8px}.tox .tox-autocompleter{max-width:25em}.tox .tox-autocompleter .tox-menu{box-sizing:border-box;max-width:25em}.tox .tox-autocompleter .tox-autocompleter-highlight{font-weight:700}.tox .tox-color-input{display:flex;position:relative;z-index:1}.tox .tox-color-input .tox-textfield{z-index:-1}.tox .tox-color-input span{border-color:rgba(34 47 62 / 20%);border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;height:24px;position:absolute;top:6px;width:24px}@media (forced-colors:active){.tox .tox-color-input span{border-color:currentColor;border-width:2px!important;forced-color-adjust:none}}.tox .tox-color-input span:focus:not([aria-disabled=true]),.tox .tox-color-input span:hover:not([aria-disabled=true]){border-color:#006ce7;cursor:pointer}.tox .tox-color-input span::before{background-image:linear-gradient(45deg,rgba(0,0,0,.25) 25%,transparent 25%),linear-gradient(-45deg,rgba(0,0,0,.25) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.25) 75%),linear-gradient(-45deg,transparent 75%,rgba(0,0,0,.25) 75%);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px;border:1px solid #fff;border-radius:6px;box-sizing:border-box;content:'';height:24px;left:-1px;position:absolute;top:-1px;width:24px;z-index:-1}@media (forced-colors:active){.tox .tox-color-input span::before{border:none}}.tox .tox-color-input span[aria-disabled=true]{cursor:not-allowed}.tox:not([dir=rtl]) .tox-color-input .tox-textfield{padding-left:36px}.tox:not([dir=rtl]) .tox-color-input span{left:6px}.tox[dir=rtl] .tox-color-input .tox-textfield{padding-right:36px}.tox[dir=rtl] .tox-color-input span{right:6px}.tox .tox-label,.tox .tox-toolbar-label{color:rgba(34,47,62,.7);display:block;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;padding:0 8px 0 0;text-transform:none;white-space:nowrap}.tox .tox-toolbar-label{padding:0 8px}.tox[dir=rtl] .tox-label{padding:0 0 0 8px}.tox .tox-form{display:flex;flex:1;flex-direction:column}.tox .tox-form__group{box-sizing:border-box;margin-bottom:4px}.tox .tox-form-group--maximize{flex:1}.tox .tox-form__group--error{color:#c00}.tox .tox-form__group--collection{display:flex}.tox .tox-form__grid{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}.tox .tox-form__grid--2col>.tox-form__group{width:calc(50% - (8px / 2))}.tox .tox-form__grid--3col>.tox-form__group{width:calc(100% / 3 - (8px / 2))}.tox .tox-form__grid--4col>.tox-form__group{width:calc(25% - (8px / 2))}.tox .tox-form__controls-h-stack{align-items:center;display:flex}.tox .tox-form__group--inline{align-items:center;display:flex}.tox .tox-form__group--stretched{display:flex;flex:1;flex-direction:column}.tox .tox-form__group--stretched .tox-textarea{flex:1}.tox .tox-form__group--stretched .tox-navobj{display:flex;flex:1}.tox .tox-form__group--stretched .tox-navobj :nth-child(2){flex:1;height:100%}.tox:not([dir=rtl]) .tox-form__controls-h-stack>:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-form__controls-h-stack>:not(:first-child){margin-right:4px}.tox .tox-lock.tox-locked .tox-lock-icon__unlock,.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock{display:none}.tox .tox-context-form__group .tox-button--icon.tox-lock-context-form-size-input{margin-left:8px;margin-right:8px}.tox .tox-listboxfield .tox-listbox--select,.tox .tox-textarea,.tox .tox-textarea-wrap .tox-textarea:focus,.tox .tox-textfield,.tox .tox-toolbar-textfield{appearance:none;background-color:#fff;border-color:#eee;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#222f3e;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 5.5px;resize:none;width:100%}.tox .tox-textarea[disabled],.tox .tox-textfield[disabled],.tox .tox-toolbar-textfield[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-custom-editor:focus-within,.tox .tox-focusable-wrapper:focus,.tox .tox-listboxfield .tox-listbox--select:focus,.tox .tox-textarea-wrap:focus-within,.tox .tox-textarea:focus,.tox .tox-textfield:focus,.tox .tox-toolbar-textfield:focus{background-color:#fff;border-color:#006ce7;box-shadow:0 0 0 1px #006ce7;outline:0}.tox .tox-toolbar-textfield{max-width:250px;min-height:unset;height:28px;margin:5px 0 6px 0}.tox .tox-naked-btn{background-color:transparent;border:0;border-color:transparent;box-shadow:unset;color:#006ce7;cursor:pointer;display:block;margin:0;padding:0}.tox .tox-naked-btn svg{display:block;fill:#222f3e}.tox .tox-textfield-size{width:80px}.tox:not([dir=rtl]) .tox-toolbar-textfield+*{margin-left:4px}.tox[dir=rtl] .tox-toolbar-textfield+*{margin-right:4px}.tox .tox-listboxfield{cursor:pointer;position:relative}.tox .tox-listboxfield .tox-listbox--select[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-listbox__select-label{cursor:default;flex:1;margin:0 4px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-listbox__menu .tox-menu{box-sizing:border-box}.tox .tox-listbox__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-listbox__select-chevron svg{fill:#222f3e}@media (forced-colors:active){.tox .tox-listbox__select-chevron svg{fill:currentColor!important}}.tox .tox-listboxfield .tox-listbox--select{align-items:center;display:flex}.tox:not([dir=rtl]) .tox-listboxfield svg{right:8px}.tox[dir=rtl] .tox-listboxfield svg{left:8px}.tox .tox-selectfield{cursor:pointer;position:relative}.tox .tox-selectfield select{appearance:none;background-color:#fff;border-color:#eee;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#222f3e;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 5.5px;resize:none;width:100%}.tox .tox-selectfield select[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-selectfield select::-ms-expand{display:none}.tox .tox-selectfield select:focus{background-color:#fff;border-color:#006ce7;box-shadow:0 0 0 1px #006ce7;outline:0}.tox .tox-selectfield svg{pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-selectfield select option:checked{background-color:revert;color:revert}.tox:not([dir=rtl]) .tox-selectfield select[size="0"],.tox:not([dir=rtl]) .tox-selectfield select[size="1"]{padding-right:24px}.tox:not([dir=rtl]) .tox-selectfield svg{right:8px}.tox[dir=rtl] .tox-selectfield select[size="0"],.tox[dir=rtl] .tox-selectfield select[size="1"]{padding-left:24px}.tox[dir=rtl] .tox-selectfield svg{left:8px}.tox .tox-textarea-wrap{border-color:#eee;border-radius:6px;border-style:solid;border-width:1px;display:flex;flex:1;overflow:hidden}.tox .tox-textarea{appearance:textarea;white-space:pre-wrap}.tox .tox-textarea-wrap .tox-textarea{border:none}.tox .tox-textarea-wrap .tox-textarea:focus{border:none}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}.tox .tox-help__more-link{list-style:none;margin-top:1em}.tox .tox-imagepreview{background-color:#666;height:380px;overflow:hidden;position:relative;width:100%}.tox .tox-imagepreview.tox-imagepreview__loaded{overflow:auto}.tox .tox-imagepreview__container{display:flex;left:100vw;position:absolute;top:100vw}.tox .tox-imagepreview__image{background:url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==)}.tox .tox-image-tools .tox-spacer{flex:1}.tox .tox-image-tools .tox-bar{align-items:center;display:flex;height:60px;justify-content:center}.tox .tox-image-tools .tox-imagepreview,.tox .tox-image-tools .tox-imagepreview+.tox-bar{margin-top:8px}.tox .tox-image-tools .tox-croprect-block{background:#000;opacity:.5;position:absolute;zoom:1}.tox .tox-image-tools .tox-croprect-handle{border:2px solid #fff;height:20px;left:0;position:absolute;top:0;width:20px}.tox .tox-image-tools .tox-croprect-handle-move{border:0;cursor:move;position:absolute}.tox .tox-image-tools .tox-croprect-handle-nw{border-width:2px 0 0 2px;cursor:nw-resize;left:100px;margin:-2px 0 0 -2px;top:100px}.tox .tox-image-tools .tox-croprect-handle-ne{border-width:2px 2px 0 0;cursor:ne-resize;left:200px;margin:-2px 0 0 -20px;top:100px}.tox .tox-image-tools .tox-croprect-handle-sw{border-width:0 0 2px 2px;cursor:sw-resize;left:100px;margin:-20px 2px 0 -2px;top:200px}.tox .tox-image-tools .tox-croprect-handle-se{border-width:0 2px 2px 0;cursor:se-resize;left:200px;margin:-20px 0 0 -20px;top:200px}.tox .tox-image-selector-loading-spinner-wrapper{display:flex;justify-content:center;align-items:center}.tox .tox-image-selector-loading-spinner{position:absolute;width:min(24px,30%);aspect-ratio:1/1;border-radius:50%;border:3px solid #006ce7;border-bottom-color:transparent;animation:tox-rotation 1s linear infinite}.tox .tox-toolbar .tox-image-selector,.tox .tox-toolbar__overflow .tox-image-selector,.tox .tox-toolbar__primary .tox-image-selector{margin:5px 0 6px 11px}.tox .tox-image-selector-menu{border:0;border-radius:3px;margin:-4px -4px;padding:4px}.tox .tox-image-selector-menu .tox-collection--list .tox-collection__group{border:0;padding:0;margin:-4px -4px}.tox .tox-image-selector-menu .tox-collection__item{max-width:48px}.tox .tox-image-selector-menu .tox-collection__item-icon{border:1px solid #eee;border-radius:3px;margin-bottom:4px;width:100%}.tox .tox-image-selector-menu .tox-collection__item-icon svg path{stroke:#c00}.tox .tox-image-selector__row{display:flex}.tox .tox-image-selector--remove{align-items:center;display:flex;justify-content:center}.tox .tox-image-selector--remove svg path{stroke:#c00}.tox .tox-image-selector-image-wrapper{width:46px;height:46px;display:flex;align-items:center;justify-content:center}.tox .tox-image-selector-image-img{max-width:100%;max-height:100%}.tox .tox-image-selector__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-image-selector__picker-btn svg{fill:#222f3e;height:24px;width:24px}.tox .tox-image-selector__picker-btn:hover{background:#f0f0f0}.tox .tox-context-toolbar{position:absolute;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;z-index:1150;background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color,#222f3e);border:1px solid #e3e3e3;border-radius:6px;box-shadow:0 2px 8px rgba(0,0,0,.08);padding:8px}.tox .tox-context-toolbar[popover]{inset:auto;margin:0}.tox .tox-context-toolbar .tox-toolbar{display:flex;flex-wrap:nowrap;gap:8px}.tox .tox-context-toolbar .tox-toolbar__group{display:flex;flex-wrap:nowrap;flex-shrink:0;gap:8px;align-items:center;padding:0}.tox .tox-insert-table-picker{background-color:#fff;display:flex;flex-wrap:wrap;width:170px}.tox .tox-insert-table-picker>div{border-color:#eee;border-style:solid;border-width:0 1px 1px 0;box-sizing:border-box;height:17px;width:17px}.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker{margin:-4px -4px}.tox .tox-insert-table-picker .tox-insert-table-picker__selected{background-color:#006ce7;border-color:#eee}@media (forced-colors:active){.tox .tox-insert-table-picker .tox-insert-table-picker__selected{border-color:Highlight;filter:contrast(50%)}}.tox .tox-insert-table-picker__label{color:rgba(34,47,62,.7);display:block;font-size:14px;padding:4px;text-align:center;width:100%}.tox:not([dir=rtl]) .tox-insert-table-picker>div:nth-child(10n){border-right:0}.tox[dir=rtl] .tox-insert-table-picker>div:nth-child(10n+1){border-right:0}.tox-mentions__card-common{z-index:1200}.tox.tox-mentions__card{background:#fff;border:1px solid #eee;display:flex;padding:4px 8px}.tox.tox-mentions__card .tox-mentions__container{display:flex;flex-direction:column;align-self:center;margin:0 4px}.tox .tox-mentions__avatar{width:42px;height:42px;border-radius:50%;margin-right:4px}.tox .tox-mentions__username{font-size:14px;line-height:21px;color:#222f3e}.tox .tox-mentions__description{font-size:12px;line-height:21px;color:rgba(34,47,62,.7)}.tox .tox-collection__item--active .tox-mentions__description,.tox .tox-collection__item--active .tox-mentions__username{color:inherit}.tox .tox-menu{background-color:#fff;border:1px solid transparent;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);display:inline-block;overflow:hidden;vertical-align:top;z-index:1150}.tox .tox-menu.tox-collection.tox-collection--list{padding:0 4px}.tox .tox-menu.tox-collection.tox-collection--toolbar{padding:8px}.tox .tox-menu.tox-collection.tox-collection--grid{padding:8px}@media only screen and (min-width:768px){.tox .tox-menu .tox-collection__item-label{overflow-wrap:break-word;word-break:normal}.tox .tox-dialog__popups .tox-menu .tox-collection__item-label{word-break:break-all}}.tox .tox-menu__label blockquote,.tox .tox-menu__label code,.tox .tox-menu__label h1,.tox .tox-menu__label h2,.tox .tox-menu__label h3,.tox .tox-menu__label h4,.tox .tox-menu__label h5,.tox .tox-menu__label h6,.tox .tox-menu__label p{margin:0}.tox .tox-menubar{background:repeating-linear-gradient(transparent 0 1px,transparent 1px 39px) center top 39px/100% calc(100% - 39px) no-repeat;background-color:#fff;display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;grid-column:1/-1;grid-row:1;padding:0 11px 0 12px}.tox .tox-promotion+.tox-menubar{grid-column:1}@media (max-width:480px){.tox:not(.tox-tinymce-inline) .tox-menubar{flex-wrap:nowrap;min-width:0;min-height:39px;overflow-x:auto;overflow-y:hidden}}.tox .tox-promotion{background:repeating-linear-gradient(transparent 0 1px,transparent 1px 39px) center top 39px/100% calc(100% - 39px) no-repeat;background-color:#fff;grid-column:2;grid-row:1;padding-inline-end:8px;padding-inline-start:4px;padding-top:5px}.tox .tox-promotion-link{align-items:unsafe center;background-color:#e8f1f8;border-radius:5px;color:#086be6;cursor:pointer;display:flex;font-size:14px;height:26.6px;padding:4px 8px;white-space:nowrap}.tox .tox-promotion-link:hover{background-color:#b4d7ff}.tox .tox-promotion-link:focus{background-color:#d9edf7}.tox .tox-mbtn{align-items:center;background:#fff;border:0;border-radius:3px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;justify-content:center;margin:5px 1px 6px 0;outline:0;padding:0 4px;text-transform:none;width:auto}.tox .tox-mbtn[disabled]{background-color:#fff;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-mbtn:focus:not(:disabled){background:#fff;border:0;box-shadow:none;color:#222f3e;position:relative;z-index:1}.tox .tox-mbtn:focus:not(:disabled)::after{pointer-events:none;border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-mbtn:focus:not(:disabled)::after{border:2px solid highlight}}.tox .tox-mbtn--active,.tox .tox-mbtn:not(:disabled).tox-mbtn--active:focus{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active){background:#f0f0f0;border:0;box-shadow:none;color:#222f3e}.tox .tox-mbtn__select-label{cursor:default;font-weight:400;margin:0 4px}.tox .tox-mbtn[disabled] .tox-mbtn__select-label{cursor:not-allowed}.tox .tox-mbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px;display:none}.tox .tox-notification{border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;display:grid;font-size:14px;font-weight:400;grid-template-columns:minmax(40px,1fr) auto minmax(40px,1fr);margin-left:auto;margin-right:auto;margin-top:4px;opacity:0;padding:4px;transition:transform .1s ease-in,opacity 150ms ease-in;width:max-content}.tox .tox-notification a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification p{font-size:14px;font-weight:400}.tox .tox-notification:focus{border-color:#006ce7;box-shadow:0 0 0 1px #006ce7}.tox .tox-notification--in{opacity:1}.tox .tox-notification--success{background-color:#e4eeda;border-color:#d7e6c8;color:#222f3e}.tox .tox-notification--success p{color:#222f3e}.tox .tox-notification--success a{color:#517342}.tox .tox-notification--success a:focus,.tox .tox-notification--success a:hover{color:#24321d;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--success a:focus-visible{border-radius:1px;outline:2px solid #517342;outline-offset:2px}.tox .tox-notification--success a:active{color:#0d120a;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--success svg{fill:#222f3e}.tox .tox-notification--error{background-color:#f5cccc;border-color:#f0b3b3;color:#222f3e}.tox .tox-notification--error p{color:#222f3e}.tox .tox-notification--error a{color:#77181f}.tox .tox-notification--error a:focus,.tox .tox-notification--error a:hover{color:#220709;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--error a:focus-visible{border-radius:1px;outline:2px solid #77181f;outline-offset:2px}.tox .tox-notification--error a:active{color:#000;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--error svg{fill:#222f3e}.tox .tox-notification--warn,.tox .tox-notification--warning{background-color:#fff5cc;border-color:#fff0b3;color:#222f3e}.tox .tox-notification--warn p,.tox .tox-notification--warning p{color:#222f3e}.tox .tox-notification--warn a,.tox .tox-notification--warning a{color:#7a6e25}.tox .tox-notification--warn a:focus,.tox .tox-notification--warn a:hover,.tox .tox-notification--warning a:focus,.tox .tox-notification--warning a:hover{color:#2c280d;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--warn a:focus-visible,.tox .tox-notification--warning a:focus-visible{border-radius:1px;outline:2px solid #7a6e25;outline-offset:2px}.tox .tox-notification--warn a:active,.tox .tox-notification--warning a:active{color:#050502;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--warn svg,.tox .tox-notification--warning svg{fill:#222f3e}.tox .tox-notification--info{background-color:#d6e7fb;border-color:#c1dbf9;color:#222f3e}.tox .tox-notification--info p{color:#222f3e}.tox .tox-notification--info a{color:#2a64a6}.tox .tox-notification--info a:focus,.tox .tox-notification--info a:hover{color:#163355;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--info a:focus-visible{border-radius:1px;outline:2px solid #2a64a6;outline-offset:2px}.tox .tox-notification--info a:active{color:#0b1a2c;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--info svg{fill:#222f3e}.tox .tox-notification__body{align-self:center;color:#222f3e;font-size:14px;grid-column-end:3;grid-column-start:2;grid-row-end:2;grid-row-start:1;text-align:center;white-space:normal;word-break:break-all;word-break:break-word}.tox .tox-notification__body>*{margin:0}.tox .tox-notification__body>*+*{margin-top:1rem}.tox .tox-notification__icon{align-self:center;grid-column-end:2;grid-column-start:1;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification__icon svg{display:block}.tox .tox-notification__dismiss{align-self:start;grid-column-end:4;grid-column-start:3;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification .tox-progress-bar{grid-column-end:4;grid-column-start:1;grid-row-end:3;grid-row-start:2;justify-self:center}.tox .tox-notification-container-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-notification-container-dock-fadein{opacity:1;visibility:visible}.tox .tox-notification-container-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-notification-container-dock-transition.tox-notification-container-dock-fadein{transition-delay:0s}.tox .tox-onboarding-overlay{height:100%;background-color:#f0f0f0;position:absolute;top:0;left:0;right:0;z-index:1302;overflow:auto;display:grid;justify-content:center;align-items:center}.tox .tox-onboarding-dialog{max-width:512px;background-color:#fff;display:flex;flex-direction:column;box-shadow:0 16px 16px -10px rgba(34,47,62,.15),0 0 40px 1px rgba(34,47,62,.15);border-radius:12px;margin:8px}.tox .tox-onboarding-dialog .tox-onboarding-header{color:#222f3e;display:flex;justify-content:center;align-items:center;font-size:20px;margin:24px 0 8px}.tox .tox-onboarding-dialog .tox-onboarding-step{display:grid;grid-template-columns:min-content 1fr min-content;align-items:center;margin:0 24px}.tox .tox-onboarding-dialog .tox-onboarding-step:not(:last-child){border-bottom:1px solid #e3e3e3}.tox .tox-onboarding-dialog .tox-onboarding-step--number{width:24px;aspect-ratio:1/1;border-radius:50%;border:1px solid #00ad0e;display:flex;justify-content:center;align-items:center;font-size:12px;font-weight:700;color:#00ad0e}.tox .tox-onboarding-dialog .tox-onboarding-step--body{padding:24px 0 24px 16px}.tox .tox-onboarding-dialog .tox-onboarding-step--body-header{color:#222f3e;font-size:14px;font-weight:700;margin-bottom:4px}.tox .tox-onboarding-dialog .tox-onboarding-step--body-details{color:rgba(34,47,62,.7);font-size:14px}.tox .tox-onboarding-dialog .tox-onboarding-step--action{padding-left:24px}.tox .tox-onboarding-dialog .tox-onboarding-footer{background-color:#f0f0f0;display:flex;justify-content:space-between;align-items:center;padding:16px 24px;border-bottom-left-radius:12px;border-bottom-right-radius:12px}.tox .tox-onboarding-dialog .tox-onboarding-footer p{display:flex;align-items:center;justify-content:center;gap:4px;font-size:14px;color:rgba(34,47,62,.7)}.tox .tox-onboarding-dialog svg{width:24px;fill:rgba(34,47,62,0.7)}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin{display:grid;align-items:center;grid-template-columns:min-content 1fr min-content;border-bottom:1px solid #e3e3e3;padding:24px 0;margin:0 16px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body{margin:0 16px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body .tox-promotion-dialog-plugin-header{color:#222f3e;font-size:14px;font-weight:700;margin-bottom:4px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body .tox-promotion-dialog-plugin-details{color:rgba(34,47,62,.7);font-size:14px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--icon{display:grid;place-content:center;width:56px;height:56px;line-height:24px;font-size:24px;border-radius:12px;background:linear-gradient(180deg,#fff 24%,#f0f0f0 100%);box-shadow:0 1px 1px 0 #222f3e12,0 3px 6px 0 #222f3e06;color:#006ce7}.tox .tox-promotion-dialog--subtitle{margin:16px;color:rgba(34,47,62,.7);font-size:14px}.tox .tox-promotion-dialog--explore{text-align:center;margin:16px;color:rgba(34,47,62,.7);font-size:14px}.tox .tox-promotion-dialog--explore a{color:#006ce7}.tox .tox-promotion-dialog--footer{background-color:#f0f0f0;color:rgba(34,47,62,.7);font-size:12px;text-align:center;padding:16px}.tox .tox-promotion-button{display:flex;align-items:center;height:26.6px;line-height:26.6px;font-size:14px;font-weight:700;background-color:#f1ebf9;color:#851aff;padding:8px 16px;cursor:pointer;white-space:nowrap;border-radius:5px}.tox .tox-promotion-button:focus{outline:1px solid #851AFF}.tox .tox-onboarding-dialog a,.tox .tox-promotion-dialog--footer a{color:rgba(34,47,62,.7);cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-onboarding-dialog a:focus,.tox .tox-onboarding-dialog a:hover,.tox .tox-promotion-dialog--footer a:focus,.tox .tox-promotion-dialog--footer a:hover{color:#071729;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-onboarding-dialog a:focus-visible,.tox .tox-promotion-dialog--footer a:focus-visible{border-radius:1px;outline:2px solid #144782;outline-offset:2px}.tox .tox-onboarding-dialog a:active,.tox .tox-promotion-dialog--footer a:active{color:#000;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-pop{display:inline-block;position:relative}.tox .tox-pop--resizing{transition:width .1s ease}.tox .tox-pop--resizing .tox-toolbar,.tox .tox-pop--resizing .tox-toolbar__group{flex-wrap:nowrap}.tox .tox-pop--transition{transition:.15s ease;transition-property:left,right,top,bottom}.tox .tox-pop--transition::after,.tox .tox-pop--transition::before{transition:all .15s,visibility 0s,opacity 75ms ease 75ms}.tox .tox-pop__dialog{background-color:#fff;border:1px solid #eee;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);min-width:0;overflow:hidden}.tox .tox-pop__dialog>:not(.tox-toolbar){margin:4px 4px 4px 8px}.tox .tox-pop__dialog .tox-toolbar{background-color:transparent;margin-bottom:-1px}.tox .tox-pop::after,.tox .tox-pop::before{border-style:solid;content:'';display:block;height:0;opacity:1;position:absolute;width:0}@media (forced-colors:active){.tox .tox-pop::after,.tox .tox-pop::before{content:none}}.tox .tox-pop.tox-pop--inset::after,.tox .tox-pop.tox-pop--inset::before{opacity:0;transition:all 0s .15s,visibility 0s,opacity 75ms ease}.tox .tox-pop.tox-pop--bottom::after,.tox .tox-pop.tox-pop--bottom::before{left:50%;top:100%}.tox .tox-pop.tox-pop--bottom::after{border-color:#fff transparent transparent transparent;border-width:8px;margin-left:-8px;margin-top:-1px}.tox .tox-pop.tox-pop--bottom::before{border-color:#eee transparent transparent transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--top::after,.tox .tox-pop.tox-pop--top::before{left:50%;top:0;transform:translateY(-100%)}.tox .tox-pop.tox-pop--top::after{border-color:transparent transparent #fff transparent;border-width:8px;margin-left:-8px;margin-top:1px}.tox .tox-pop.tox-pop--top::before{border-color:transparent transparent #eee transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--left::after,.tox .tox-pop.tox-pop--left::before{left:0;top:calc(50% - 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--left::after{border-color:transparent #fff transparent transparent;border-width:8px;margin-left:-15px}.tox .tox-pop.tox-pop--left::before{border-color:transparent #eee transparent transparent;border-width:10px;margin-left:-19px}.tox .tox-pop.tox-pop--right::after,.tox .tox-pop.tox-pop--right::before{left:100%;top:calc(50% + 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--right::after{border-color:transparent transparent transparent #fff;border-width:8px;margin-left:-1px}.tox .tox-pop.tox-pop--right::before{border-color:transparent transparent transparent #eee;border-width:10px;margin-left:-1px}.tox .tox-pop.tox-pop--align-left::after,.tox .tox-pop.tox-pop--align-left::before{left:20px}.tox .tox-pop.tox-pop--align-right::after,.tox .tox-pop.tox-pop--align-right::before{left:calc(100% - 20px)}.tox.tox-edit-focus .tox-sidebar__resize-handle:hover::before{border-left:0 solid transparent}.tox .tox-sidebar-wrap{--tox-private-min-editing-area-width:280px;flex-grow:1;min-height:0}.tox .tox-sidebar-wrap:not(.tox .tox-sidebar-wrap--resizable){display:flex;flex-direction:row}.tox .tox-sidebar-wrap--resizable{display:grid;grid-template-columns:minmax(var(--tox-private-min-editing-area-width),1fr) minmax(0,max-content);grid-template-rows:minmax(0,1fr)}.tox .tox-sidebar{background-color:var(--tox-private-sidebar-background-color,#f0f0f0);display:flex;flex-direction:row;justify-content:flex-end}.tox .tox-sidebar__slider{display:flex;overflow:hidden}.tox .tox-sidebar-wrap--resizable .tox-sidebar__pane-container{width:var(--tox-private-requested-sidebar-width)}.tox .tox-sidebar-wrap--resizable .tox-sidebar--sliding-growing .tox-sidebar__pane-container,.tox .tox-sidebar-wrap--resizable .tox-sidebar--sliding-shrinking .tox-sidebar__pane-container{width:var(--tox-private-resolved-sidebar-width);min-width:var(--tox-private-resolved-sidebar-width)}.tox .tox-sidebar__pane-container{display:flex}.tox .tox-sidebar-wrap--resizable .tox-sidebar__resize-handle{display:block}.tox .tox-sidebar__resize-handle{display:none;position:relative;width:var(--tox-private-sidebar-resize-handle-width,1px);height:100%;cursor:col-resize;background-color:var(--tox-private-separator-color,#e3e3e3);z-index:1}.tox .tox-sidebar__resize-handle::before{content:'';position:absolute;top:0;bottom:0;width:8px;box-sizing:border-box;border-left:0 solid transparent;transition:border-left-width .15s ease,border-left-color .15s ease}.tox .tox-sidebar__resize-handle:hover::before{border-left:3px solid #006ce7}.tox .tox-sidebar-wrap--resizable .tox-sidebar__pane{width:calc(100% - var(--tox-private-sidebar-resize-handle-width,1px))}.tox .tox-sidebar__pane{display:flex}.tox .tox-sidebar--sliding-closed{opacity:0}.tox .tox-sidebar--sliding-open{opacity:1}.tox .tox-sidebar--sliding-growing,.tox .tox-sidebar--sliding-shrinking{transition:width .5s ease,opacity .5s ease}.tox .tox-sidebar-content{display:flex;flex-direction:column;position:relative;width:100%;height:100%}.tox .tox-sidebar-content__header{align-items:center;display:flex;justify-content:space-between;border-bottom:var(--tox-private-tinymceai-border-width,1px) solid var(--tox-private-neutral-20,#e3e3e3);padding:var(--tox-private-pad-sm,8px) 12px;background:var(--tox-private-background-color,#fff)}.tox .tox-sidebar-content__header .tox-sidebar-content__header-close-button{margin-left:auto}.tox .tox-sidebar-content__actions{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-sidebar-content__title{font-size:var(--tox-private-font-size-lg, 20px);font-weight:var(--tox-private-font-weight-normal,normal);padding:var(--tox-private-pad-sm,8px) 0 var(--tox-private-pad-sm,8px) 0;color:var(--tox-private-text-color,#222f3e);line-height:28px}.tox .tox-floating-sidebar{--tox-private-floating-sidebar-width:min(380px, 90vw);--tox-private-floating-sidebar-height:80vh;position:fixed;z-index:var(--tox-private-z-index-floatingsidebar,1050);box-shadow:var(--tox-private-floating-sidebar-box-shadow,0 0 40px 1px rgba(34,47,62,.15),0 16px 16px -10px rgba(34,47,62,.15),0 0 0 1px rgba(34,47,62,.15));width:var(--tox-private-floating-sidebar-width);height:var(--tox-private-floating-sidebar-height);background-color:var(--tox-private-floating-sidebar-background-color,#f0f0f0);border-radius:var(--tox-private-panel-border-radius,6px);overflow:hidden}.tox .tox-floating-sidebar:not(.tox .tox-floating-sidebar--open){display:none}.tox .tox-floating-sidebar--open{display:block}.tox .tox-floating-sidebar__content-wrapper{width:100%;height:100%;display:flex;flex-direction:column}.tox .tox-floating-sidebar__header{position:relative}.tox .tox-floating-sidebar .tox-ai__scroll:has(.tox-card-list){background-color:inherit}.tox .tox-ai .tox-expandable-box{margin-bottom:calc(var(--tox-private-pad-md,16px) * .75)}.tox .tox-ai .tox-expandable-box .tox-expandable-box__content{margin:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-md,16px) * .75)}.tox .tox-ai .tox-expandable-box>.tox-button{margin:0 calc(var(--tox-private-pad-md,16px) * .75) var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-expandable-box:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#006ce7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-sidebar-content__header{border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-background-color,#fff);padding:calc(var(--tox-private-pad-sm,8px) - var(--tox-private-tinymceai-focus-border-width,2px)) calc(12px - var(--tox-private-tinymceai-focus-border-width,2px));border-bottom:1px solid var(--tox-private-separator-color,#e3e3e3)}.tox .tox-ai .tox-sidebar-content__header:focus-visible:not(:disabled){border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#006ce7);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-sidebar-content__loader{align-items:center;display:flex;height:100%;justify-content:center;width:100%;z-index:1000}.tox .tox-ai .tox-sidebar-content__title{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin-right:auto}.tox .tox-ai .tox-sidebar-content__title:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#006ce7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-sidebar-content__actions .tox-ai__complete-review{display:flex;align-items:center;gap:6px;padding-top:var(--tox-private-pad-xs,4px);padding-bottom:var(--tox-private-pad-xs,4px);padding-left:var(--tox-private-pad-md,16px);padding-right:var(--tox-private-pad-md,16px)}.tox .tox-ai .tox-menu{width:-webkit-fill-available;width:-moz-available;width:stretch;overflow:visible}.tox .tox-ai .tox-ai__user-prompt{display:flex;flex-direction:column;margin-left:auto;gap:inherit;width:100%}.tox .tox-ai .tox-ai__user-prompt__context{margin-left:auto;display:flex;flex-direction:column;gap:inherit;align-items:end;width:100%}.tox .tox-ai .tox-ai__user-prompt__context .tox-tag{max-width:100%}.tox .tox-ai .tox-ai__user-prompt__text{background-color:var(--tox-private-background-secondary,#f0f0f0);padding:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-md,16px) * .75);border-radius:var(--tox-private-control-border-radius,6px);max-width:80%;align-self:flex-end;color:var(--tox-private-text-color,#222f3e);white-space:pre-wrap}.tox .tox-ai .tox-ai__user-prompt__text:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#006ce7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-ai__scroll{overflow-y:auto;overflow-x:hidden;background-color:var(--tox-private-background-color,#fff);display:flex;padding:12px;flex-direction:column;align-items:flex-start;gap:12px;flex:1 0 0;align-self:stretch}.tox .tox-ai .tox-ai__scroll:focus-visible:not(:disabled){outline:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#006ce7);outline-offset:calc(-1 * var(--tox-private-tinymceai-focus-border-width,2px));border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-ai__scroll--review:not(:has(.tox-sidebar-content__message-text)){background-color:var(--tox-private-background-secondary,#f0f0f0)}.tox .tox-ai .tox-ai__spinner svg{fill:var(--tox-private-color-tint,#006ce7)}.tox .tox-ai .tox-ai__response{width:100%;min-width:100%;max-width:100%}.tox .tox-ai .tox-ai__response__header{display:flex;align-items:center;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response__header .tox-icon svg{fill:var(--tox-private-color-tint,#006ce7)}.tox .tox-ai .tox-ai__response-status{display:flex;color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));font-size:var(--tox-private-font-size-sm, 14px);gap:var(--tox-private-pad-xs,4px);line-height:var(--tox-private-tinymceai-response-status-icon-height, max(24px, calc(14px + 4px)));padding-top:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response-status svg{fill:var(--tox-private-text-color-muted,rgba(34,47,62,0.7))}.tox .tox-ai .tox-ai__response-status-icon{border-radius:999px;border:1px solid var(--tox-private-neutral-20,#e3e3e3);background-color:var(--tox-private-background-color,#fff);height:var(--tox-private-tinymceai-response-status-icon-height,max(24px,calc(14px + 4px)));flex:0 0 24px;display:flex;align-items:center;justify-content:center}.tox .tox-ai .tox-ai__response-status-icon .tox-icon{display:contents}.tox .tox-ai .tox-ai__response-status-icon+.tox-ai__response-status-icon{margin-left:calc((var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px)) * -1)}.tox .tox-ai .tox-ai__icon{display:flex;align-items:center;justify-content:center}.tox .tox-ai .tox-ai__response-sources{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response-sources-header{display:block}.tox .tox-ai .tox-ai__response-sources-list{display:flex;align-items:center;gap:var(--tox-private-pad-sm,8px);align-self:stretch;flex-wrap:wrap}.tox .tox-ai .tox-ai__response-sources-list .tox-tag{border:1px solid var(--tox-private-separator-color,#e3e3e3);background-color:transparent;max-width:32%;max-height:24px;cursor:pointer}.tox .tox-ai .tox-ai__response-sources-list .tox-tag img,.tox .tox-ai .tox-ai__response-sources-list .tox-tag svg{width:16px;height:16px;min-width:16px;min-height:16px;max-width:16px;max-height:16px}.tox .tox-ai .tox-ai__response-content{padding:var(--tox-private-pad-sm,8px) 0;color:var(--tox-private-text-color,#222f3e);font-feature-settings:'liga' off,'clig' off;font-size:var(--tox-private-font-size-sm, 14px);font-style:normal;font-weight:var(--tox-private-font-weight-normal,normal);line-height:var(--tox-private-line-height, 18px);display:flex;flex-direction:column}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming{position:relative}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming .tox-ai__response-status{color:var(--tox-private-text-color,#222f3e);font-size:var(--tox-private-font-size-md, 16px);line-height:calc(var(--tox-private-font-size-md, 16px) + 4px)}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming::after{content:'';position:absolute;bottom:0;left:0;right:0;height:min(100px,100%);pointer-events:none;background:linear-gradient(to bottom,transparent 60px,transparent 60px,var(--tox-private-background-color,#fff))}.tox .tox-ai .tox-ai-error{border-radius:var(--tox-private-panel-border-radius,6px);border:1px solid var(--tox-private-color-error,#c00);background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#fff) r g b / .9) 0,rgba(from var(--tox-private-background-color,#fff) r g b / .9) 100%),var(--tox-private-color-error,#c00);padding:var(--tox-private-pad-sm,8px);width:100%;display:flex;gap:var(--tox-private-pad-sm,8px);align-items:center}.tox .tox-ai .tox-ai-error__message{flex:1 0 0}.tox .tox-ai .tox-ai-error__icon{flex:0 0 auto;align-self:flex-start}.tox .tox-ai .tox-ai__footer{padding:calc(12px - var(--tox-private-tinymceai-focus-border-width,2px));gap:var(--tox-private-pad-sm,8px);background-color:var(--tox-private-background-color,#fff);display:flex;flex-direction:column;border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-background-color,#fff);border-top:1px solid var(--tox-private-separator-color,#e3e3e3)}.tox .tox-ai .tox-ai__footer:focus-visible:not(:disabled){border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#006ce7);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-ai__context{display:flex;gap:var(--tox-private-pad-sm,8px);flex-wrap:wrap;max-height:calc((2 * (2 * var(--tox-private-pad-xs,4px) + var(--tox-private-base-value,16px))) + var(--tox-private-pad-sm,8px))}.tox .tox-ai .tox-ai__context .tox-tag{max-width:calc((100% - var(--tox-private-pad-sm,8px))/ 2)}.tox .tox-ai .tox-ai__context-more{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px);padding:var(--tox-private-pad-sm,8px);overflow:auto;max-width:var(--tox-private-tinymceai-context-more-max-width,320px)}.tox .tox-ai .tox-ai__context-more .tox-tag{max-width:100%}.tox .tox-ai .tox-ai__stop-generating{display:flex;align-items:center;gap:6px}.tox .tox-ai .tox-ai__footer-actions{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-model-selection-button{display:flex;gap:var(--tox-private-pad-xs,4px)}.tox .tox-ai .tox-ai__footer-note{align-items:center;color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));display:flex;font-size:var(--tox-private-font-size-xs, 12px);height:24px;justify-content:center;letter-spacing:0;padding-top:var(--tox-private-pad-sm,8px);width:100%}.tox .tox-ai .tox-ai__models-menu{max-width:350px}.tox .tox-ai .tox-ai__models-menu .tox-menu{max-height:inherit;padding:var(--tox-private-pad-xs,4px)}.tox .tox-ai .tox-ai__models-menu__item__description{display:flex;flex-direction:column;align-items:start}.tox .tox-ai .tox-ai__models-menu__item__description__title{font-weight:var(--tox-private-font-weight-bold,bold);font-size:var(--tox-private-font-size-sm, 14px);line-height:calc(var(--tox-private-font-size-sm, 14px) * 1.28572);padding-bottom:4px}.tox .tox-ai .tox-ai__models-menu__item__description__content{color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));font-size:var(--tox-private-font-size-xs, 12px);line-height:calc(var(--tox-private-font-size-xs, 12px) * 1.33333)}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content{color:inherit}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content .tox-ai__models-menu__item__description__ability{color:var(--tox-private-color-white,#fff)}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content .tox-ai__models-menu__item__description__content_body{color:rgba(from var(--tox-private-color-white,#fff) r g b / .7)}.tox .tox-ai .tox-ai__models-menu__item__description__ability{color:var(--tox-private-text-color,#222f3e);padding-bottom:4px}.tox .tox-ai .tox-ai__models-menu__item__description__ability__enabled{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-ai .tox-ai-chat-history-list{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px);padding-top:var(--tox-private-pad-xs,4px);width:100%}.tox .tox-ai .tox-ai-chat-history-list .tox-collection__group{gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-chat-history-list__title{color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:18px;letter-spacing:1px}.tox .tox-ai .tox-ai-chat-history-list__item{display:flex;padding:12px;gap:var(--tox-private-pad-sm,8px);border-radius:var(--tox-private-control-border-radius,6px);cursor:pointer}.tox .tox-ai .tox-ai-chat-history-list__item.tox-ai-chat-history-list__item--active{background-color:var(--tox-private-background-secondary,#f0f0f0)}.tox .tox-ai .tox-ai-chat-history-list__item:focus,.tox .tox-ai .tox-ai-chat-history-list__item:focus-visible{background-color:var(--tox-private-background-secondary,#f0f0f0)}.tox .tox-ai .tox-ai-chat-history-list__item.tox-ai-chat-history-list__item-edit-title{background-color:var(--tox-private-background-secondary,#f0f0f0);flex-direction:column}.tox .tox-ai .tox-ai-chat-history-list__item-edit-actions{display:flex;justify-content:flex-end;width:100%;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-chat-history-list__item-edit-actions .tox-ai__spinner svg{fill:rgba(from var(--tox-private-color-white,#fff) r g b / 0.5)}.tox .tox-ai .tox-ai-chat-history-list__item-content{display:flex;flex-direction:column;margin-right:auto;overflow:hidden}.tox .tox-ai .tox-ai-chat-history-list__item-actions{display:flex;align-items:center;min-width:calc(24px + (var(--tox-private-pad-xs,4px) + 1px)*2)}.tox .tox-ai .tox-ai-chat-history-list__item-content-title{color:var(--tox-private-text-color,#222f3e);font-size:var(--tox-private-font-size-base, 16px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:var(--tox-private-font-size-lg, 20px);overflow:hidden;text-overflow:ellipsis}.tox .tox-ai .tox-ai-chat-history-list__item-content-date{color:var(--tox-private-text-color,#222f3e);font-size:var(--tox-private-font-size-xs, 12px);line-height:var(--tox-private-line-height-base, 1.3)}.tox .tox-ai .tox-sidebar-content__message{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;gap:var(--tox-private-pad-md,16px);width:100%}.tox .tox-ai .tox-sidebar-content__message-text{text-align:center;color:var(--tox-private-text-color,#222f3e);font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:20px}.tox .tox-ai .tox-sidebar-content__message-action{display:flex;justify-content:center;align-items:center;align-self:stretch}.tox .tox-ai .tox-ai-chat-action-button{line-height:var(--tox-private-base-value, 16px);font-size:var(--tox-private-font-size-xs, 12px);padding:6px var(--tox-private-pad-sm,8px);margin:var(--tox-private-pad-xs,4px) 0;font-weight:var(--tox-private-font-weight-normal,normal);width:min-content}.tox .tox-ai .tox-ai-chat-action-button .tox-icon{display:inline-flex;align-items:center;justify-content:center;height:16px;width:16px;overflow:hidden}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg{display:block;flex:none;fill:var(--tox-private-tinymceai-chat-action-button-icon-color,#006ce7)}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='24'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='24px']{transform:scale(calc(16 / 24))}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='20'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='20px']{transform:scale(calc(16 / 20))}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='18'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='18px']{transform:scale(calc(16 / 18))}.tox .tox-ai .tox-ai-chat-action-button:not(:has(+ .tox-ai-chat-action-button)){margin-bottom:var(--tox-private-pad-sm,8px)}.tox .tox-ai-removed-content{font-style:italic;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));line-height:var(--tox-private-line-height-base, 1.3);margin:0 1em}.tox .tox-ai-removed-content::before{content:"⊘ ";font-style:normal;font-size:calc(var(--tox-private-line-height-base, 1.3) * 1em)}.tox .tox-ai-html-content{font-size:var(--tox-private-font-size-md, 16px);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color,#222f3e);line-height:var(--tox-private-line-height-base, 1.3);overflow-x:auto}.tox .tox-ai-html-content:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#006ce7);outline-offset:var(--tox-private-tinymceai-html-content-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai-html-content h1{font-size:1.6em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.67em 0}.tox .tox-ai-html-content h2{font-size:1.4em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.83em 0}.tox .tox-ai-html-content h3{font-size:1.2em;font-weight:var(--tox-private-font-weight-bold,bold);margin:1em 0}.tox .tox-ai-html-content h4,.tox .tox-ai-html-content h5,.tox .tox-ai-html-content h6{font-size:1em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.33em 0}.tox .tox-ai-html-content p{margin:var(--tox-private-pad-sm,8px) 0}.tox .tox-ai-html-content ol,.tox .tox-ai-html-content ul{padding-left:2em;margin:1em 0}.tox .tox-ai-html-content li:has(input:first-child){list-style-type:none}.tox .tox-ai-html-content a{color:var(--tox-private-color-tint,#006ce7);-webkit-text-decoration:underline;text-decoration:underline;cursor:pointer}.tox .tox-ai-html-content a:link:active,.tox .tox-ai-html-content a:visited:active{color:#8864ad}.tox .tox-ai-html-content blockquote{border-left:2px solid var(--tox-private-separator-color,#e3e3e3);margin-left:1.5rem;padding-left:1rem;font-style:italic}.tox .tox-ai-html-content code{font-family:ui-monospace,monospace;background:var(--tox-private-separator-color,#e3e3e3);padding:.1em .2em;border-radius:4px}.tox .tox-ai-html-content pre code{display:block;font-family:ui-monospace,monospace;background:var(--tox-private-separator-color,#e3e3e3);border-radius:4px;white-space:pre-wrap;margin:1em 0;overflow-wrap:break-word}.tox .tox-ai-html-content hr{border:none;border-top:1px solid var(--tox-private-border-color,#eee)}.tox .tox-ai-html-content table{width:100%;border-collapse:collapse;margin:.5em 0;font-size:.95em;line-height:1.45}.tox .tox-ai-html-content table:not([cellpadding]) td,.tox .tox-ai-html-content table:not([cellpadding]) th{padding:.4rem}.tox .tox-ai-html-content td,.tox .tox-ai-html-content th{border:1px solid var(--tox-private-border-color,#eee)}.tox .tox-ai-html-content th{font-weight:var(--tox-private-font-weight-bold,bold);text-align:left;white-space:nowrap}.tox .tox-ai-html-content b,.tox .tox-ai-html-content strong{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-ai-html-content em,.tox .tox-ai-html-content i{font-style:italic}.tox .tox-ai-html-content del{-webkit-text-decoration:line-through;text-decoration:line-through}.tox .tox-ai-html-content sub,.tox .tox-ai-html-content sup{font-size:.75em;line-height:0;vertical-align:baseline}.tox .tox-ai-html-content sup{vertical-align:super}.tox .tox-ai-html-content sub{vertical-align:sub}.tox .tox-ai-html-content mark{background:hsl(from var(--tox-private-color-active,#ffcf30) h s l / 30%);padding:.05em .2em;border-radius:2px}.tox .tox-ai-html-content small{font-size:.85em}.tox .tox-ai-html-content kbd{font-family:ui-monospace,monospace;font-size:.85em;padding:.15em .4em;border-radius:4px;border:1px solid var(--tox-private-border-color,#eee);background:var(--tox-private-separator-color,#e3e3e3);box-shadow:inset 0 -1px 0 var(--tox-private-border-color,#eee)}.tox .tox-ai-html-content img{max-width:100%;height:auto;vertical-align:middle;border-radius:4px}.tox .tox-expandable-box__content .tox-ai-html-content+.tox-ai-html-content::before,.tox .tox-expandable-box__content .tox-ai-html-content:has(+ .tox-ai-removed-content)::after,.tox .tox-expandable-box__content .tox-ai-removed-content+.tox-ai-html-content::before{content:"〰〰";color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));text-align:center;width:100%;display:block}.tox .tox-diff-preview{display:contents}.tox .tox-diff-preview__host{height:100%;position:relative;flex:1 1 0}.tox .tox-diff-preview__host:empty{pointer-events:none}.tox .tox-diff-preview__layer{display:flex;flex-direction:column;inset:0;position:absolute}.tox .tox-diff-preview__layer--loading .tox-diff-preview__frame{pointer-events:none;visibility:hidden}.tox .tox-diff-preview__viewport{flex:1 1 auto;min-height:0;position:relative}.tox .tox-diff-preview__frame{background-color:#fff;border:0;height:100%;min-height:0;position:relative;width:100%}.tox .tox-diff-preview__footer{background-color:var(--tox-private-background-color,#fff);border-top:1px solid #e3e3e3;flex:0 0 auto}.tox .tox-diff-preview__toolbar{display:flex;gap:8px;justify-content:flex-end;padding:12px 16px}.tox .tox-ai__preview-overlay{position:absolute;inset:0;width:100%;height:100%;font-size:14px}.tox .tox-ai__preview-overlay--hidden{visibility:hidden}.tox .tox-ai__preview-overlay--pass-through{pointer-events:none}.tox .tox-ai__preview-overlay--dim{background:rgba(34,47,62,.2)}.tox .tox-ai__preview-overlay--centered{display:flex;align-items:center;justify-content:center}.tox .tox-ai__preview-overlay--clipped{overflow:clip}.tox .tox-tinymceai-previewloader{display:flex;align-items:center;gap:var(--tox-private-pad-md,16px);padding:var(--tox-private-pad-sm,8px);border-radius:var(--tox-private-panel-border-radius,6px);box-shadow:var(--tox-private-ai-preview-loader-box-shadow,0 0 40px 1px rgba(34,47,62,.15),0 16px 16px -10px rgba(34,47,62,.15));background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color,#222f3e);pointer-events:auto}.tox .tox-tinymceai-previewloader__content{display:flex;align-items:center;justify-content:center;padding:0 var(--tox-private-pad-xs,4px);gap:var(--tox-private-pad-sm,8px)}.tox .tox-selector{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;display:inline-block;height:10px;position:absolute;width:10px}.tox.tox-platform-touch .tox-selector{height:12px;width:12px}.tox .tox-skeleton .tox-skeleton__line{height:16px;width:100%;background:linear-gradient(to right,rgba(240,240,240,.5) 8%,rgba(240,240,240,.7) 18%,rgba(240,240,240,.5) 33%);animation:wave 2s infinite ease-out}.tox .tox-skeleton .tox-skeleton__circle{height:36px;width:36px;margin-right:8px;border-radius:100%;background:linear-gradient(to right,rgba(240,240,240,.5) 8%,rgba(240,240,240,.7) 18%,rgba(240,240,240,.5) 33%);animation:wave 2s infinite ease-out}@keyframes wave{0%{background-position:-268px 0}100%{background-position:268px 0}}.tox .tox-slider{align-items:center;display:flex;flex:1;height:24px;justify-content:center;position:relative}.tox .tox-slider__rail{background-color:transparent;border:1px solid #eee;border-radius:6px;height:10px;min-width:120px;width:100%}.tox .tox-slider__handle{background-color:#006ce7;border:2px solid #0054b4;border-radius:6px;box-shadow:none;height:24px;left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%);width:14px}.tox .tox-form__controls-h-stack>.tox-slider:not(:first-of-type){margin-inline-start:8px}.tox .tox-form__controls-h-stack>.tox-form__group+.tox-slider{margin-inline-start:32px}.tox .tox-form__controls-h-stack>.tox-slider+.tox-form__group{margin-inline-start:32px}.tox .tox-toolbar-slider{align-items:center;display:inline-flex;height:16px}.tox .tox-toolbar-slider__input{appearance:none;background:#eee;border-radius:16px;width:130px;height:2px}.tox .tox-toolbar-slider__input::-webkit-slider-runnable-track{background-color:transparent;height:16px}.tox .tox-toolbar-slider__input::-moz-range-track{background-color:transparent;height:16px}.tox .tox-toolbar-slider__input::-webkit-slider-thumb{-webkit-appearance:none;background-color:#006ce7;border-radius:16px;border:none;height:16px;width:16px}.tox .tox-toolbar-slider__input::-moz-range-thumb{appearance:none;background-color:#006ce7;border-radius:16px;border:none;height:16px;width:16px}.tox .tox-toolbar-slider__input:focus-visible{outline:0}.tox .tox-toolbar-slider__input:focus::-webkit-slider-thumb{background-color:#0060ce;box-shadow:inset 0 0 0 1px #fff,0 0 0 2px #006ce7}.tox .tox-toolbar-slider__input:focus::-moz-range-thumb{background-color:#0060ce;box-shadow:inset 0 0 0 1px #fff,0 0 0 2px #006ce7}.tox .tox-toolbar-slider__input:hover::-webkit-slider-thumb{background-color:#0060ce}.tox .tox-toolbar-slider__input:hover::-moz-range-thumb{background-color:#0060ce}.tox .tox-toolbar-slider__input:active::-webkit-slider-thumb{background-color:#0054b4}.tox .tox-toolbar-slider__input:active::-moz-range-thumb{background-color:#0054b4}.tox .tox-toolbar-slider__input[disabled]::-webkit-slider-thumb{background-color:rgba(255,255,255,.5)}.tox .tox-toolbar-slider__input[disabled]::-moz-range-thumb{background-color:rgba(255,255,255,.5)}.tox .tox-source-code{overflow:auto}.tox .tox-spinner{display:flex}.tox .tox-spinner>div{animation:tam-bouncing-dots 1.5s ease-in-out 0s infinite both;background-color:rgba(34,47,62,.7);border-radius:100%;height:8px;width:8px}.tox .tox-spinner>div:first-child{animation-delay:-.32s}.tox .tox-spinner>div:nth-child(2){animation-delay:-.16s}@keyframes tam-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox:not([dir=rtl]) .tox-spinner>div:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-spinner>div:not(:first-child){margin-right:4px}.tox .tox-ai__spinner{--tox-private-spinner-color:var(--tox-private-color-tint, #006ce7);--tox-private-spinner-size:24px;--tox-private-spinner-circle-width:3px;--tox-private-spinner-dot-size:6px;width:var(--tox-private-spinner-size);aspect-ratio:1/1}.tox .tox-ai__spinner--small{--tox-private-spinner-size:16px;--tox-private-spinner-circle-width:2px;--tox-private-spinner-dot-size:4px}.tox .tox-ai__spinner--circle{animation:tox-rotation 1s linear infinite;border-radius:50%;background:conic-gradient(var(--tox-private-spinner-color) 0 calc(360deg - 30deg),transparent calc(360deg - 30deg) 100%);mask:radial-gradient(calc((var(--tox-private-spinner-size) - var(--tox-private-spinner-circle-width) * 2)/ 2),#0000 98%,#000)}.tox .tox-ai__spinner--dots{display:flex;align-items:center;justify-content:center;gap:1px}.tox .tox-ai__spinner--dots>div{animation:tox-bouncing-dots 1.5s ease-in-out 0s infinite both;aspect-ratio:1/1;width:var(--tox-private-spinner-dot-size);background-color:var(--tox-private-spinner-color);border-radius:100%}.tox .tox-ai__spinner--dots>div:first-child{animation-delay:-.32s}.tox .tox-ai__spinner--dots>div:nth-child(2){animation-delay:-.16s}.tox .tox-tinymceai__annotation--added,.tox .tox-tinymceai__annotation--modified,.tox .tox-tinymceai__annotation--removed{padding-block:calc((1lh - 1.1em)/ 2);-webkit-text-decoration:none;text-decoration:none;background-repeat:no-repeat;text-decoration-thickness:max(1px,0.07em)}.tox .tox-tinymceai__annotation--added__highlight{background-position:bottom;background-image:linear-gradient(rgba(120,171,70,.2) calc(100% - 2px),#78ab46 calc(100% - 2px))}.tox .tox-tinymceai__annotation--added__selected{background-image:none;background-color:rgba(120,171,70,.2);box-shadow:0 2px 0 0 #006ce7,0 -2px 0 0 #006ce7}.tox .tox-tinymceai__annotation--modified__highlight{background-position:bottom;background-image:linear-gradient(rgba(0,108,231,.2) calc(100% - 2px),#006ce7 calc(100% - 2px))}.tox .tox-tinymceai__annotation--modified__selected{background-image:none;background-color:rgba(0,108,231,.2);box-shadow:0 2px 0 0 #006ce7,0 -2px 0 0 #006ce7}.tox .tox-tinymceai__annotation--removed__highlight{-webkit-text-decoration:line-through;text-decoration:line-through;background-position:bottom;background-image:linear-gradient(rgba(204,0,0,.2) calc(100% - 2px),#c00 calc(100% - 2px))}.tox .tox-tinymceai__annotation--removed__selected{-webkit-text-decoration:line-through;text-decoration:line-through;background-image:none;background-color:rgba(204,0,0,.2);box-shadow:0 2px 0 0 #006ce7,0 -2px 0 0 #006ce7}.tox .mce-object.tox-tinymceai__annotation--added,.tox .mce-object.tox-tinymceai__annotation--modified,.tox .mce-object.tox-tinymceai__annotation--removed,.tox .mce-preview-object.tox-tinymceai__annotation--added,.tox .mce-preview-object.tox-tinymceai__annotation--modified,.tox .mce-preview-object.tox-tinymceai__annotation--removed,.tox iframe.tox-tinymceai__annotation--added,.tox iframe.tox-tinymceai__annotation--modified,.tox iframe.tox-tinymceai__annotation--removed,.tox img.tox-tinymceai__annotation--added,.tox img.tox-tinymceai__annotation--modified,.tox img.tox-tinymceai__annotation--removed,.tox video.tox-tinymceai__annotation--added,.tox video.tox-tinymceai__annotation--modified,.tox video.tox-tinymceai__annotation--removed{padding-block:0;vertical-align:top}.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object),.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object),.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object){padding-block:0}.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) video,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) video,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) video{vertical-align:top}.tox del.tox-tinymceai__annotation--added__selected,.tox ins.tox-tinymceai__annotation--added__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#006ce7 3px,rgba(120,171,70,.2) 3px,rgba(120,171,70,.2) calc(100% - 3px),#006ce7 calc(100% - 3px))}.tox del.tox-tinymceai__annotation--modified__selected,.tox ins.tox-tinymceai__annotation--modified__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#006ce7 3px,rgba(0,108,231,.2) 3px,rgba(0,108,231,.2) calc(100% - 3px),#006ce7 calc(100% - 3px))}.tox del.tox-tinymceai__annotation--removed__selected,.tox ins.tox-tinymceai__annotation--removed__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#006ce7 3px,rgba(204,0,0,.2) 3px,rgba(204,0,0,.2) calc(100% - 3px),#006ce7 calc(100% - 3px))}.tox .tox-tinymceai__annotation--added.tox-tinymceai__annotation--added__hidden,.tox .tox-tinymceai__annotation--modified.tox-tinymceai__annotation--modified__hidden,.tox .tox-tinymceai__annotation--removed.tox-tinymceai__annotation--removed__hidden{display:none;-webkit-text-decoration:none;text-decoration:none}.tox :has(> div > iframe).tox-tinymceai__annotation--added,.tox :has(> div > iframe).tox-tinymceai__annotation--modified,.tox :has(> div > iframe).tox-tinymceai__annotation--removed{padding:7px;margin:5px}.tox iframe.tox-tinymceai__annotation--added__highlight,.tox img.tox-tinymceai__annotation--added__highlight,.tox video.tox-tinymceai__annotation--added__highlight{background-color:#e4eeda;background-image:none;border:2px solid #78ab46;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--added__selected,.tox img.tox-tinymceai__annotation--added__selected,.tox video.tox-tinymceai__annotation--added__selected{background-color:#e4eeda;background-image:none;border:2px solid #78ab46;padding:0;vertical-align:top;border-color:#e4eeda;outline:2px solid #006ce7}.tox iframe.tox-tinymceai__annotation--modified__highlight,.tox img.tox-tinymceai__annotation--modified__highlight,.tox video.tox-tinymceai__annotation--modified__highlight{background-color:#cce2fa;background-image:none;border:2px solid #006ce7;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--modified__selected,.tox img.tox-tinymceai__annotation--modified__selected,.tox video.tox-tinymceai__annotation--modified__selected{background-color:#cce2fa;background-image:none;border:2px solid #006ce7;padding:0;vertical-align:top;border-color:#cce2fa;outline:2px solid #006ce7}.tox iframe.tox-tinymceai__annotation--removed__highlight,.tox img.tox-tinymceai__annotation--removed__highlight,.tox video.tox-tinymceai__annotation--removed__highlight{background-color:#f5cccc;background-image:none;border:2px solid #c00;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--removed__selected,.tox img.tox-tinymceai__annotation--removed__selected,.tox video.tox-tinymceai__annotation--removed__selected{background-color:#f5cccc;background-image:none;border:2px solid #c00;padding:0;vertical-align:top;border-color:#f5cccc;outline:2px solid #006ce7}.tox .tox-tinymceai__annotation--removed__highlight iframe,.tox .tox-tinymceai__annotation--removed__highlight img,.tox .tox-tinymceai__annotation--removed__highlight video,.tox .tox-tinymceai__annotation--removed__selected iframe,.tox .tox-tinymceai__annotation--removed__selected img,.tox .tox-tinymceai__annotation--removed__selected video{background-color:#f5cccc;background-image:none;border:2px solid #c00;padding:0;vertical-align:top}.tox .tox-tinymceai__annotation--removed__selected iframe,.tox .tox-tinymceai__annotation--removed__selected img,.tox .tox-tinymceai__annotation--removed__selected video{border-color:#f5cccc;outline:2px solid #006ce7}.tox div.tox-tinymceai__annotation:has(> hr){background-size:auto;padding:.25em}.tox div.tox-tinymceai__annotation--removed__highlight>hr{border-color:rgba(0,0,0,.2)}.tox div.tox-tinymceai__annotation--added__highlight>hr{border-color:rgba(0,0,0,.2)}.tox .tox-tinymceai__deleted-media-overlay{inset:0;overflow:hidden;pointer-events:none;position:absolute;z-index:11}.tox .tox-tinymceai__deleted-media-wash{fill:#fff;fill-opacity:0.4}.tox .tox-tinymceai__deleted-media-mark{stroke:#c00}.tox .tox-tinymceai__deleted-media-halo{stroke:#fff}.tox .mce-pagebreak.tox-tinymceai__annotation--added__selected,.tox .mce-pagebreak.tox-tinymceai__annotation--modified__selected,.tox .mce-pagebreak.tox-tinymceai__annotation--removed__selected{border:1px dashed #aaa;box-shadow:none;background-image:none}.tox .mce-pagebreak.tox-tinymceai__annotation--added__highlight,.tox .mce-pagebreak.tox-tinymceai__annotation--modified__highlight,.tox .mce-pagebreak.tox-tinymceai__annotation--removed__highlight{padding:0}.tox .tox-tinymceai__diff-focus-overlay{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:10}.tox .tox-tinymceai__diff-focus-overlay-dim{fill:rgba(34,47,62,0.2)}.tox .tox-ai__scroll:has(.tox-card-group){padding-top:0}.tox .tox-ai__scroll:has(.tox-card-group) .tox-ai__review-sidebar-container .tox-card-list{gap:0}.tox .tox-ai__scroll .tox-ai__review-sidebar-container{scrollbar-gutter:stable;width:100%;height:100%;display:flex;flex-direction:column;gap:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-card-list{gap:8px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-card-group__title{margin-inline:-12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-initializing{padding:var(--tox-private-pad-md,16px)}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-description{padding-bottom:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));font-size:var(--tox-private-font-size-sm, 14px)}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-choose-container{padding-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-custom-input{margin-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-custom-actions{display:flex;gap:8px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container{margin-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container button.tox-ai__review-input-button{width:100%;background-color:var(--tox-private-background-color,#fff);display:flex;justify-content:space-between;align-items:center;border:1px solid #eee;border-radius:6px;box-sizing:border-box}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container .tox-ai__review-dropdown-content{width:anchor-size(width)}.tox .tox-statusbar{align-items:center;background-color:#fff;border-top:1px solid #e3e3e3;color:rgba(34,47,62,.7);display:flex;flex:0 0 auto;font-size:14px;font-weight:400;height:25px;overflow:hidden;padding:0 8px;position:relative;text-transform:none}.tox .tox-statusbar__path{display:flex;flex:1 1 auto;text-overflow:ellipsis;white-space:nowrap}.tox .tox-statusbar__right-container{display:flex;justify-content:flex-end;white-space:nowrap}.tox .tox-statusbar__help-text{text-align:center}.tox .tox-statusbar__text-container{align-items:flex-start;display:flex;flex:1 1 auto;height:16px;justify-content:space-between}@media only screen and (min-width:768px){.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__help-text,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__path,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__right-container{flex:0 0 calc(100% / 3)}}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-end{justify-content:flex-end}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-start{justify-content:flex-start}.tox .tox-statusbar__text-container.tox-statusbar__text-container--space-around{justify-content:space-around}.tox .tox-statusbar__path>*{display:inline;white-space:nowrap}.tox .tox-statusbar__wordcount{flex:0 0 auto;margin-left:1ch}@media only screen and (max-width:767px){.tox .tox-statusbar__text-container .tox-statusbar__help-text{display:none}.tox .tox-statusbar__text-container .tox-statusbar__help-text:only-child{display:block}}.tox .tox-statusbar a,.tox .tox-statusbar__path-item,.tox .tox-statusbar__wordcount{color:rgba(34,47,62,.7);position:relative;-webkit-text-decoration:none;text-decoration:none}.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]){color:#222f3e;cursor:pointer}.tox .tox-statusbar a:focus-visible::after,.tox .tox-statusbar__path-item:focus-visible::after,.tox .tox-statusbar__wordcount:focus-visible::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-statusbar a:focus-visible::after,.tox .tox-statusbar__path-item:focus-visible::after,.tox .tox-statusbar__wordcount:focus-visible::after{border:2px solid highlight}}.tox .tox-statusbar__branding svg{fill:rgba(34,47,62,0.8);height:1em;margin-left:.3em;width:auto}@media (forced-colors:active){.tox .tox-statusbar__branding svg{fill:currentColor}}.tox .tox-statusbar__branding a{align-items:center;display:inline-flex}.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg,.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg{fill:#222f3e}.tox .tox-statusbar__resize-cursor-default{cursor:ns-resize}.tox .tox-statusbar__resize-cursor-both{cursor:nwse-resize}.tox .tox-statusbar__resize-handle{align-items:flex-end;align-self:stretch;display:flex;flex:0 0 auto;justify-content:flex-end;margin-bottom:3px;margin-left:4px;margin-right:calc(3px - 8px);margin-top:3px;padding-bottom:0;padding-left:0;padding-right:0;position:relative}.tox .tox-statusbar__resize-handle svg{display:block;fill:rgba(34,47,62,0.5)}.tox .tox-statusbar__resize-handle:focus svg,.tox .tox-statusbar__resize-handle:hover svg{fill:#222f3e}.tox .tox-statusbar__resize-handle:focus-visible{background-color:transparent;border-radius:1px 1px 5px 1px;box-shadow:0 0 0 2px transparent}.tox .tox-statusbar__resize-handle:focus-visible::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-statusbar__resize-handle:focus-visible::after{border:2px solid highlight}}.tox .tox-statusbar__resize-handle:only-child{margin-left:auto}.tox:not([dir=rtl]) .tox-statusbar__path>*{margin-right:4px}.tox:not([dir=rtl]) .tox-statusbar__branding{margin-left:2ch}.tox[dir=rtl] .tox-statusbar{flex-direction:row-reverse}.tox[dir=rtl] .tox-statusbar__path>*{margin-left:4px}.tox[dir=rtl] .tox-statusbar__branding svg{margin-left:0;margin-right:.3em}.tox a.tox-tag{cursor:pointer}.tox .tox-tag{width:fit-content;box-sizing:border-box;display:flex;padding:var(--tox-private-pad-xs,4px) 6px;position:relative;align-items:center;gap:var(--tox-private-pad-xs,4px);border-radius:3px;background:hsl(from var(--tox-private-color-tint,#006ce7) h s l / 10%);line-height:var(--tox-private-base-value, 16px);font-size:var(--tox-private-font-size-xs, 12px)}.tox .tox-tag::before{border-radius:var(--tox-private-control-border-radius,6px);bottom:calc(-1 * var(--tox-private-tag-border-width,1px));box-shadow:var(--tox-private-tag-focus-outline,inset 0 0 0 1px #fff,0 0 0 2px #006ce7);content:'';left:calc(-1 * var(--tox-private-tag-border-width,1px));opacity:0;pointer-events:none;position:absolute;right:calc(-1 * var(--tox-private-tag-border-width,1px));top:calc(-1 * var(--tox-private-tag-border-width,1px))}.tox .tox-tag:focus:not(:disabled)::before{opacity:1}.tox .tox-tag>*{flex-shrink:0}.tox .tox-tag .tox-icon{height:var(--tox-private-base-value,16px);fill:var(--tox-private-text-color,#222f3e)}.tox .tox-tag .tox-tag__label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;flex-shrink:1;color:var(--tox-private-text-color,#222f3e)}.tox .tox-tag .tox-tag__close{height:var(--tox-private-base-value,16px)}.tox .tox-tag .tox-tag__close .tox-button.tox-button--icon{border:0;padding:0;color:var(--tox-private-text-color-muted,rgba(34,47,62,.7))}.tox .tox-tag .tox-tag__close .tox-button.tox-button--icon::before{box-shadow:none}.tox .tox-throbber{z-index:1299}.tox .tox-throbber__busy-spinner{align-items:center;background-color:rgba(255,255,255,.6);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.tox .tox-segmented-control{display:inline-flex;position:relative;border:none;border-radius:var(--tox-private-control-border-radius,6px);box-shadow:inset 0 0 0 1px var(--tox-private-segmented-control-border-color,#e3e3e3);overflow:hidden;padding:var(--tox-private-pad-xs,4px);background-color:var(--tox-private-background-color,#fff)}.tox .tox-segmented-control__segment{flex:1;padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-sm,8px);cursor:pointer;background:0 0;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:16px;border:1px solid transparent;border-radius:calc(var(--tox-private-control-border-radius,6px) - 1px);text-align:center;white-space:nowrap;display:inline-block;vertical-align:middle;color:var(--tox-private-segmented-control-text-color,#222f3e)}.tox .tox-segmented-control__segment--active{border-color:var(--tox-private-segmented-control-active-border-color,#006ce7);color:var(--tox-private-segmented-control-active-text-color,#006ce7);background-color:var(--tox-private-segmented-control-active-bg-color,rgba(0,108,231,.1))}.tox .tox-segmented-control:not(.tox-segmented-control--disabled) .tox-segmented-control__segment{transition:all .2s}.tox .tox-segmented-control.tox-segmented-control--disabled .tox-segmented-control__segment{opacity:.5;cursor:not-allowed;pointer-events:none}.tox .tox-segmented-control__segment:focus{outline:2px solid var(--tox-private-color-tint,#006ce7);outline-offset:2px}.tox .tox-segmented-control__segment:focus:not(:focus-visible){outline:0}.tox .tox-toggle{display:flex;align-items:center;gap:var(--tox-private-pad-xs,4px);padding:var(--tox-private-pad-xs,4px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:var(--tox-private-control-line-height, 24px);white-space:nowrap;background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color,#222f3e)}.tox .tox-toggle input{position:absolute;opacity:0;width:0;height:0}.tox .tox-toggle__slider{position:relative;cursor:pointer;box-sizing:border-box;transition:.4s;border-radius:34px;width:28px;height:16px;background-color:var(--tox-private-slider-background-color,#fff);border:1px solid var(--tox-private-slider-border-color,#e3e3e3)}.tox .tox-toggle__slider::before{position:absolute;content:"";height:12px;width:12px;left:1px;bottom:1px;transition:.4s;border-radius:50%;background-color:var(--tox-private-slider-handle-background-color,#222f3e)}.tox input:checked+.tox-toggle__slider{background-color:var(--tox-private-slider-checked-background-color,#006ce7);border:1px solid var(--tox-private-slider-checked-border-color,#006ce7)}.tox input:focus+.tox-toggle__slider{box-shadow:0 0 0 1px var(--tox-private-color-white,#fff),0 0 0 2px var(--tox-private-color-tint,#006ce7)}.tox input:checked+.tox-toggle__slider::before{transform:translateX(12px);background-color:var(--tox-private-slider-checked-handle-background-color,#fff)}.tox input:disabled+.tox-toggle__slider::before{opacity:50%}.tox .tox-tbtn{align-items:center;background:#fff;border:0;border-radius:3px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;justify-content:center;margin:6px 1px 5px 0;outline:0;padding:0;text-transform:none;width:34px}.tox .tox-tbtn .tox-tbtn__icon-wrap{pointer-events:none}@media (forced-colors:active){.tox .tox-tbtn.tox-tbtn:hover,.tox .tox-tbtn:hover{outline:1px dashed currentColor}.tox .tox-tbtn.tox-tbtn--active,.tox .tox-tbtn.tox-tbtn--enabled,.tox .tox-tbtn.tox-tbtn--enabled:focus,.tox .tox-tbtn.tox-tbtn--enabled:hover,.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){outline:1px solid currentColor;position:relative}}.tox .tox-tbtn svg{display:block;fill:#222f3e}@media (forced-colors:active){.tox .tox-tbtn svg{fill:currentColor!important}.tox .tox-tbtn svg.tox-tbtn--enabled,.tox .tox-tbtn svg:focus:not(.tox-tbtn--disabled){fill:currentColor!important}.tox .tox-tbtn svg .tox-tbtn:disabled,.tox .tox-tbtn svg .tox-tbtn:disabled:hover,.tox .tox-tbtn svg.tox-tbtn--disabled,.tox .tox-tbtn svg.tox-tbtn--disabled:hover{filter:contrast(0%)}}.tox .tox-tbtn.tox-tbtn-more{padding-left:5px;padding-right:5px;width:inherit}.tox .tox-tbtn:focus{background:#fff;border:0;box-shadow:none;position:relative;z-index:1}.tox .tox-tbtn:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-tbtn:focus::after{border:2px solid highlight}}.tox .tox-tbtn:hover{background:#f0f0f0;border:0;box-shadow:none;color:#222f3e}.tox .tox-tbtn:hover svg{fill:#222f3e}.tox .tox-tbtn:active{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-tbtn:active svg{fill:#222f3e}.tox .tox-tbtn--disabled .tox-tbtn--enabled svg{fill:rgba(34,47,62,0.5)}.tox .tox-tbtn--disabled,.tox .tox-tbtn--disabled:hover,.tox .tox-tbtn:disabled,.tox .tox-tbtn:disabled:hover{background:#fff;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-tbtn--disabled svg,.tox .tox-tbtn--disabled:hover svg,.tox .tox-tbtn:disabled svg,.tox .tox-tbtn:disabled:hover svg{fill:rgba(34,47,62,0.5)}.tox .tox-tbtn--active,.tox .tox-tbtn--enabled,.tox .tox-tbtn--enabled:focus,.tox .tox-tbtn--enabled:hover{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e;position:relative}.tox .tox-tbtn--active>*,.tox .tox-tbtn--enabled:focus>*,.tox .tox-tbtn--enabled:hover>*,.tox .tox-tbtn--enabled>*{transform:none}.tox .tox-tbtn--active svg,.tox .tox-tbtn--enabled svg,.tox .tox-tbtn--enabled:focus svg,.tox .tox-tbtn--enabled:hover svg{fill:#222f3e}.tox .tox-tbtn--active.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled:focus.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled:hover.tox-tbtn--disabled svg{fill:rgba(34,47,62,0.5)}.tox .tox-tbtn--enabled:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-tbtn--enabled:focus::after{border:2px solid highlight}}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){color:#222f3e}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg{fill:#222f3e}.tox .tox-tbtn:active>*{transform:none}.tox .tox-tbtn--md{height:42px;width:51px}.tox .tox-tbtn--lg{flex-direction:column;height:56px;width:68px}.tox .tox-tbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tbtn--labeled{padding:0 4px;width:unset}.tox .tox-tbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-label--context-toolbar{margin:6px 1px 5px 0;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-number-input{background:#f7f7f7;border-radius:3px;display:flex;margin:6px 1px 5px 0;position:relative;width:auto}.tox .tox-number-input:focus{background:#f7f7f7}.tox .tox-number-input:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input:focus::after{border:2px solid highlight}}.tox .tox-number-input .tox-input-wrapper{display:flex;pointer-events:none;position:relative;text-align:center}.tox .tox-number-input .tox-input-wrapper:focus{background-color:#f7f7f7;z-index:1}.tox .tox-number-input .tox-input-wrapper:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input .tox-input-wrapper:focus::after{border:2px solid highlight}}.tox .tox-number-input .tox-input-wrapper:has(input:focus)::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input .tox-input-wrapper:has(input:focus)::after{border:2px solid highlight}}.tox .tox-number-input input{border-radius:3px;color:#222f3e;font-size:14px;margin:2px 0;pointer-events:all;position:relative;width:60px}.tox .tox-number-input input:hover{background:#f0f0f0;color:#222f3e}.tox .tox-number-input input:focus{background-color:#f7f7f7}.tox .tox-number-input input:disabled{background:#fff;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-number-input button{color:#222f3e;height:28px;position:relative;text-align:center;width:24px}@media (forced-colors:active){.tox .tox-number-input button:active,.tox .tox-number-input button:focus,.tox .tox-number-input button:hover{outline:1px solid currentColor!important}}.tox .tox-number-input button svg{display:block;fill:#222f3e;margin:0 auto;transform:scale(.67)}@media (forced-colors:active){.tox .tox-number-input button svg,.tox .tox-number-input button svg:active,.tox .tox-number-input button svg:hover{fill:currentColor!important}.tox .tox-number-input button svg:disabled{filter:contrast(0)}}.tox .tox-number-input button:focus{background:#f7f7f7;z-index:1}.tox .tox-number-input button:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input button:focus::after{border:2px solid highlight}}.tox .tox-number-input button:hover{background:#f0f0f0;border:0;box-shadow:none;color:#222f3e}.tox .tox-number-input button:hover svg{fill:#222f3e}.tox .tox-number-input button:active{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-number-input button:active svg{fill:#222f3e}.tox .tox-number-input button:disabled{background:#fff;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-number-input button:disabled svg{fill:rgba(34,47,62,0.5)}.tox .tox-number-input button.minus{border-radius:3px 0 0 3px}.tox .tox-number-input button.plus{border-radius:0 3px 3px 0}.tox .tox-number-input:focus:not(:active)>.tox-input-wrapper,.tox .tox-number-input:focus:not(:active)>button{background:#f7f7f7}.tox .tox-tbtn--select{margin:6px 1px 5px 0;padding:0 4px;width:auto}.tox .tox-tbtn--bordered,.tox .tox-tbtn--bordered:focus,.tox .tox-tbtn--bordered:hover{border:1px solid #eee}.tox .tox-tbtn__select-label{cursor:default;font-weight:400;height:initial;margin:0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-tbtn__select-chevron svg{fill:rgba(34,47,62,0.5)}@media (forced-colors:active){.tox .tox-tbtn__select-chevron svg{fill:currentColor}}.tox .tox-tbtn--bespoke{background:#f7f7f7}.tox .tox-tbtn--bespoke:focus{background:#f7f7f7}.tox .tox-tbtn--bespoke+.tox-tbtn--bespoke{margin-inline-start:4px}.tox .tox-tbtn--bespoke .tox-tbtn__select-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:7em}.tox .tox-tbtn--disabled .tox-tbtn__select-label,.tox .tox-tbtn--select:disabled .tox-tbtn__select-label{cursor:not-allowed}.tox .tox-split-button__main{border-radius:3px 0 0 3px;margin-right:0}.tox .tox-split-button__main:focus{border:0;box-shadow:none;background:#fff;color:#222f3e;position:relative;z-index:1}.tox .tox-split-button__main:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0;border-radius:3px 0 0 3px}@media (forced-colors:active){.tox .tox-split-button__main:focus::after{border:2px solid highlight}}.tox .tox-split-button__chevron{width:16px;border-radius:0 3px 3px 0;margin-left:0}.tox .tox-split-button__chevron:focus{border:0;box-shadow:none;background:#fff;color:#222f3e;position:relative;z-index:1}.tox .tox-split-button__chevron:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0;border-radius:0 3px 3px 0}@media (forced-colors:active){.tox .tox-split-button__chevron:focus::after{border:2px solid highlight}}.tox .tox-split-button__chevron svg{fill:rgba(34,47,62,0.5)}@media (forced-colors:active){.tox .tox-split-button__chevron svg{fill:currentColor}}.tox.tox-platform-touch .tox-split-button__main{width:30px}.tox.tox-platform-touch .tox-split-button__chevron{width:20px}.tox .tox-split-button__chevron.tox-tbtn--disabled,.tox .tox-split-button__main.tox-tbtn--disabled{background:#fff;box-shadow:none;color:rgba(34,47,62,.5)}.tox .tox-split-button__chevron.tox-tbtn--disabled:hover,.tox .tox-split-button__main.tox-tbtn--disabled:hover{background:#fff;box-shadow:none;color:rgba(34,47,62,.5)}.tox .tox-split-button__chevron.tox-tbtn--disabled:focus,.tox .tox-split-button__main.tox-tbtn--disabled:focus{background:#fff;box-shadow:none;color:rgba(34,47,62,.5)}.tox .tox-split-button__main.tox-tbtn--disabled svg .tox-icon-highlight-bg-color__color,.tox .tox-split-button__main.tox-tbtn--disabled svg .tox-icon-text-color__color{opacity:.3}.tox .tox-toolbar-overlord{background-color:#fff}.tox .tox-toolbar,.tox .tox-toolbar__overflow,.tox .tox-toolbar__primary{background-attachment:local;background-color:#fff;background-image:repeating-linear-gradient(#e3e3e3 0 1px,transparent 1px 39px);background-position:center top 40px;background-repeat:no-repeat;background-size:calc(100% - 11px * 2) calc(100% - 41px);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;padding:0 0;transform:perspective(1px)}.tox .tox-toolbar-overlord>.tox-toolbar,.tox .tox-toolbar-overlord>.tox-toolbar__overflow,.tox .tox-toolbar-overlord>.tox-toolbar__primary{background-position:center top 0;background-size:calc(100% - 11px * 2) calc(100% - 0px)}.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed{height:0;opacity:0;padding-bottom:0;padding-top:0;visibility:hidden}.tox .tox-toolbar__overflow--growing{transition:height .3s ease,opacity .2s linear .1s}.tox .tox-toolbar__overflow--shrinking{transition:opacity .3s ease,height .2s linear .1s,visibility 0s linear .3s}.tox .tox-anchorbar,.tox .tox-toolbar-overlord{grid-column:1/-1}.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{border-top:1px solid transparent;margin-top:-1px;padding-bottom:1px;padding-top:1px}@media (forced-colors:active){.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{outline:1px solid currentColor}}.tox .tox-toolbar--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-pop .tox-toolbar{border-width:0}.tox .tox-toolbar--no-divider{background-image:none}.tox .tox-toolbar-overlord .tox-toolbar:not(.tox-toolbar--scrolling):first-child,.tox .tox-toolbar-overlord .tox-toolbar__primary{background-position:center top 39px}.tox .tox-editor-header>.tox-toolbar--scrolling,.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child{background-image:none}.tox .tox-focusable-wrapper{border:1px solid transparent;margin-right:2px;pointer-events:none}.tox .tox-focusable-wrapper .tox-textfield-size{pointer-events:all}.tox .tox-focusable-wrapper:focus{background-color:#f7f7f7;border-radius:6px;border-style:solid;border-width:1px}.tox.tox-tinymce-aux .tox-toolbar__overflow{background-color:#fff;background-position:center top 43px;background-size:calc(100% - 8px * 2) calc(100% - 51px);border:none;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);overscroll-behavior:none;padding:4px 0}@media (forced-colors:active){.tox.tox-tinymce-aux .tox-toolbar__overflow{border:solid}}.tox-pop .tox-pop__dialog .tox-toolbar{background-position:center top 43px;background-size:calc(100% - 11px * 2) calc(100% - 51px);padding:4px 0}.tox-context-form__group{display:flex;align-items:center}.tox .tox-toolbar__group{align-items:center;display:flex;flex-wrap:wrap;margin:0 0;padding:0 11px 0 12px}.tox .tox-toolbar__group--pull-right{margin-left:auto}.tox .tox-toolbar--scrolling .tox-toolbar__group{flex-shrink:0;flex-wrap:nowrap}.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type){border-right:1px solid transparent}.tox[dir=rtl] .tox-toolbar__group:not(:last-of-type){border-left:1px solid transparent}.tox .tox-toolbar-input-form{display:flex;align-items:center;background-color:var(--tox-private-background-color,#fff);padding:0 var(--tox-private-pad-sm,8px)}.tox .tox-tooltip{display:inline-block;max-width:min(80%,15em);padding:8px 0 0 0;position:relative;width:max-content;z-index:1150}.tox .tox-tooltip.tox-tooltip--anchor{display:none;padding:var(--tox-private-pad-xs,4px) 0 0;position:fixed;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;height:fit-content}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--up{position-area:block-end}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--down{position-area:block-start}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--left{position-area:inline-start}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--right{position-area:inline-end}.tox .tox-tooltip__body{background-color:#222f3e;border-radius:6px;box-shadow:none;color:#fff;font-size:12px;font-style:normal;font-weight:600;overflow-wrap:break-word;padding:4px 6px;text-transform:none}@media (forced-colors:active){.tox .tox-tooltip__body{outline:outset 1px}}.tox .tox-tooltip__arrow{position:absolute}.tox .tox-tooltip--down .tox-tooltip__arrow{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #222f3e;bottom:0;left:50%;position:absolute;transform:translateX(-50%)}.tox .tox-tooltip--up .tox-tooltip__arrow{border-bottom:8px solid #222f3e;border-left:8px solid transparent;border-right:8px solid transparent;left:50%;position:absolute;top:0;transform:translateX(-50%)}.tox .tox-tooltip--right .tox-tooltip__arrow{border-bottom:8px solid transparent;border-left:8px solid #222f3e;border-top:8px solid transparent;position:absolute;right:0;top:50%;transform:translateY(-50%)}.tox .tox-tooltip--left .tox-tooltip__arrow{border-bottom:8px solid transparent;border-right:8px solid #222f3e;border-top:8px solid transparent;left:0;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-tree{display:flex;flex-direction:column}.tox .tox-tree .tox-trbtn{align-items:center;background:0 0;border:0;border-radius:4px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;margin-bottom:4px;margin-top:4px;outline:0;overflow:hidden;padding:0;padding-left:8px;text-transform:none}.tox .tox-tree .tox-trbtn .tox-tree__label{cursor:default;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tree .tox-trbtn svg{display:block;fill:#222f3e}.tox .tox-tree .tox-trbtn:focus{background:#f0f0f0;border:0;box-shadow:none}.tox .tox-tree .tox-trbtn:hover{background:#f0f0f0;border:0;box-shadow:none;color:#222f3e}.tox .tox-tree .tox-trbtn:hover svg{fill:#222f3e}.tox .tox-tree .tox-trbtn:active{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-tree .tox-trbtn:active svg{fill:#222f3e}.tox .tox-tree .tox-trbtn--disabled,.tox .tox-tree .tox-trbtn--disabled:hover,.tox .tox-tree .tox-trbtn:disabled,.tox .tox-tree .tox-trbtn:disabled:hover{background:0 0;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-tree .tox-trbtn--disabled svg,.tox .tox-tree .tox-trbtn--disabled:hover svg,.tox .tox-tree .tox-trbtn:disabled svg,.tox .tox-tree .tox-trbtn:disabled:hover svg{fill:rgba(34,47,62,0.5)}.tox .tox-tree .tox-trbtn--enabled,.tox .tox-tree .tox-trbtn--enabled:hover{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-tree .tox-trbtn--enabled:hover>*,.tox .tox-tree .tox-trbtn--enabled>*{transform:none}.tox .tox-tree .tox-trbtn--enabled svg,.tox .tox-tree .tox-trbtn--enabled:hover svg{fill:#222f3e}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled){color:#222f3e}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled) svg{fill:#222f3e}.tox .tox-tree .tox-trbtn:active>*{transform:none}.tox .tox-tree .tox-trbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tree .tox-trbtn--labeled{padding:0 4px;width:unset}.tox .tox-tree .tox-trbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-tree .tox-tree--directory{display:flex;flex-direction:column}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label{font-weight:700}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn:focus svg{fill:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:focus .tox-mbtn svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover .tox-mbtn svg{fill:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-chevron{margin-right:6px}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--shrinking) .tox-chevron{transition:transform .5s ease-in-out}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--open) .tox-chevron{transform:rotate(90deg)}.tox .tox-tree .tox-tree--leaf__label{font-weight:400}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--leaf__label .tox-mbtn:focus svg{fill:#222f3e}.tox .tox-tree .tox-tree--leaf__label:hover .tox-mbtn svg{fill:#222f3e}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#222f3e}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#222f3e}.tox .tox-tree .tox-icon-custom-state{flex-grow:1;display:flex;justify-content:flex-end}.tox .tox-tree .tox-tree--directory__children{overflow:hidden;padding-left:16px}.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--growing,.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--shrinking{transition:height .5s ease-in-out}.tox .tox-tree .tox-trbtn.tox-tree--leaf__label{display:flex;justify-content:space-between}[data-mce-name=uploadcare-enhance-filter] .color-swatch-remove-color path{fill:#c00;stroke:#c00}.tox .tox-view-wrap,.tox .tox-view-wrap__slot-container{background-color:#fff;display:flex;flex:1;flex-direction:column;height:100%;min-height:0}.tox .tox-view{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden;background-color:#fff}.tox .tox-view__header{align-items:center;display:flex;font-size:16px;justify-content:space-between;padding:10px;position:relative}.tox .tox-view__label{color:#222f3e;font-weight:700;line-height:24px;padding:4px 16px;text-align:center;white-space:nowrap}.tox .tox-view__label--normal{font-size:16px}.tox .tox-view__label--large{font-size:20px}.tox .tox-view--mobile.tox-view__header,.tox .tox-view--mobile.tox-view__toolbar{padding:8px}.tox .tox-view--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-view__align-right{margin-left:auto}.tox .tox-view__toolbar{display:flex;flex-direction:row;gap:8px;justify-content:space-between;overflow-x:auto;padding:10px}.tox .tox-view__toolbar__group{display:flex;flex-direction:row;gap:12px}.tox .tox-view__header-end,.tox .tox-view__header-start{display:flex}.tox .tox-view__pane{height:100%;padding:8px;position:relative;width:100%}.tox .tox-view__pane_panel{border:1px solid #eee;border-radius:6px}.tox:not([dir=rtl]) .tox-view__header .tox-view__header-end>*,.tox:not([dir=rtl]) .tox-view__header .tox-view__header-start>*{margin-left:8px}.tox[dir=rtl] .tox-view__header .tox-view__header-end>*,.tox[dir=rtl] .tox-view__header .tox-view__header-start>*{margin-right:8px}.tox .tox-well{border:1px solid #eee;border-radius:6px;padding:8px;width:100%}.tox .tox-well>:first-child{margin-top:0}.tox .tox-well>:last-child{margin-bottom:0}.tox .tox-well>:only-child{margin:0}.tox .tox-custom-editor{border:1px solid #eee;border-radius:6px;display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-view .tox-revisionhistory__pane{padding:0}.tox .tox-revisionhistory__container{display:flex;flex-direction:column;height:100%}.tox .tox-revisionhistory{background-color:#fff;border-top:1px solid #f0f0f0;display:flex;flex:1;height:100%;overflow-x:auto;overflow-y:hidden;position:relative;width:100%}.tox .tox-revisionhistory__iframe{flex:1}.tox .tox-revisionhistory__sidebar{display:flex;flex-direction:column;height:100%;min-width:248px;width:316px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__sidebar-title{background-color:#fff;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);color:#222f3e;font-size:20px;font-weight:400;line-height:28px;padding:12px;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions{background-color:#f0f0f0;display:flex;flex:1;flex-direction:column;gap:12px;overflow-y:auto;padding:10px 12px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus{height:100%;position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0;border-radius:6px;bottom:1px;left:1px;right:1px;top:1px}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card{background-color:#fff;border:1px solid #f0f0f0;border-radius:6px;color:#222f3e;cursor:pointer;display:flex;flex-direction:column;font-size:14px;padding:12px;width:100%}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:hover{box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus{position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7 #006ce7;content:'';left:0;position:absolute;right:0;top:0;border-radius:6px;box-shadow:0 0 0 2px #006ce7;box-shadow:0 0 0 2px #006ce7!important}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected{background-color:#fff5cc;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);position:relative}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7 #e3b82a;content:'';left:0;position:absolute;right:0;top:0;border-radius:6px;box-shadow:0 0 0 2px #e3b82a}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-tags{display:flex;align-items:flex-start;flex-direction:row;gap:8px;overflow-x:auto}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-label{display:block;max-width:min-content;padding:4px 8px;margin-bottom:8px;font-size:12px;font-weight:700;border-radius:4px;background:#d3d5d8;text-wrap:balance;flex:0 1 auto}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-content{display:flex;flex-direction:row;gap:8px;align-items:center}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution{align-items:center;display:flex}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution .tox-revisionhistory__avatar{position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution .tox-revisionhistory__avatar+.tox-revisionhistory__card-ai-icon{margin-left:-4px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-info{display:flex;flex-direction:column;flex:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-date-label{font-size:14px;font-weight:700;line-height:18px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-author-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:400}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__avatar{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-ai-icon{display:flex;height:36px;width:36px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__norevision{color:rgba(34,47,62,.7);font-size:16px;line-height:24px;padding:5px 5.5px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-check-icon{color:#222f3e;height:24px}.tox .tox-card{background-color:#fff;border-radius:6px;display:flex;flex-direction:column;gap:12px;padding:10px;cursor:pointer;transition:box-shadow .15s ease-in-out,border .15s ease-in-out;border:2px solid transparent}.tox .tox-card:hover{box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-card--selected{border-color:#006ce7}.tox .tox-card:focus-visible{outline:2px solid #006ce7;border-color:transparent}.tox .tox-card--has-decision{background-color:#f0f0f0}.tox .tox-card--has-decision:not(.tox-card--selected){border-width:1px;border-color:rgba(34,47,62,.7);padding:11px}.tox .tox-card--has-decision .tox-card__header{font-size:12px}.tox .tox-card--has-decision .tox-card__body{color:rgba(34,47,62,.7)}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline{border-color:#e0e0e0}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:focus:not(:disabled),.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:hover:not(:disabled){background-color:#e0e0e0;border-color:#d1d1d1}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:active:not(:disabled){background-color:#d1d1d1;border-color:#d1d1d1}.tox .tox-card__header{padding-bottom:0;color:#222f3e;font-size:16px;font-weight:700;text-transform:uppercase;display:flex;flex-direction:column;gap:12px}.tox .tox-card__header-label{font-size:12px;font-weight:700;text-transform:uppercase;color:#222f3e}.tox .tox-card__header-content{flex:1;min-width:0;font-weight:400;text-transform:none}.tox .tox-card__header-actions{display:flex;align-items:center;gap:4px;flex-shrink:0;opacity:1;pointer-events:auto;transition:opacity .15s ease-in-out}.tox .tox-card__header-actions--hover-visible,.tox .tox-card__header-actions--on-focus{opacity:0;pointer-events:none}.tox .tox-card__header-actions--always-visible{opacity:1;pointer-events:auto}.tox .tox-card__header:has(.tox-card__header-actions),.tox .tox-card__header:has(.tox-card__header-content){flex-direction:row;align-items:center}.tox .tox-card__header:has(.tox-card__header-content){justify-content:space-between}.tox .tox-card__header:has(.tox-card__header-actions):not(:has(.tox-card__header-content)){justify-content:flex-end}.tox .tox-card:focus-within .tox-card__header-actions--hover-visible,.tox .tox-card:focus-within .tox-card__header-actions--on-focus,.tox .tox-card:hover .tox-card__header-actions--hover-visible{opacity:1;pointer-events:auto}.tox .tox-card__body{color:#222f3e;font-size:14px}.tox .tox-card__body .tox-expandable-box{background:0 0;border:none;gap:12px}.tox .tox-card__body .tox-expandable-box .tox-expandable-box__content,.tox .tox-card__body .tox-expandable-box>.tox-button{margin:0}.tox .tox-card__highlight{padding:4px 6px;border-bottom:2px solid #006ce7}.tox .tox-card__highlight--added{background-color:#e4eeda}.tox .tox-card__highlight--deleted{background-color:#f5cccc}.tox .tox-card__highlight--modified{background-color:#cce2fa}.tox .tox-card__actions{display:flex;gap:8px}.tox .tox-card__actions--space-between{justify-content:space-between}.tox .tox-card__actions--flex-start{justify-content:flex-start}.tox .tox-card__actions .tox-button,.tox .tox-card__actions .tox-button--icon,.tox .tox-card__actions .tox-button:has(.tox-icon:only-child){padding:4px 16px}.tox .tox-card__divider{margin:12px 0;border:none;border-top:1px solid #eee}.tox .tox-card__expansion{display:flex;flex-direction:column;gap:12px;width:100%}.tox .tox-card__expansion:has(> .tox-card__expansion-content--collapsed:only-child){margin-block-start:-12px}.tox .tox-card__expansion-content{display:grid;font-size:14px;grid-template-rows:0fr;transition:grid-template-rows .2s ease-in-out}.tox .tox-card__expansion-content--expanded{grid-template-rows:1fr}.tox .tox-card__expansion-content--expanded>.tox-card__expansion-content-inner{min-height:auto;overflow:visible}.tox .tox-card__expansion-content--collapsed{grid-template-rows:0fr}.tox .tox-card__expansion-content-inner{min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:12px}.tox .tox-card.tox-skeleton{cursor:default;pointer-events:none;box-shadow:none}.tox .tox-card.tox-skeleton:hover{box-shadow:none}.tox .tox-card.tox-skeleton .tox-skeleton__line{border-radius:6px;margin:0}.tox .tox-card.tox-skeleton .tox-card__body{display:flex;flex-direction:column;gap:4px}.tox .tox-card-list{display:flex;flex-direction:column;gap:12px}.tox .tox-card-list:has(.tox-card-group){gap:0}.tox .tox-card-list:focus{outline:0}.tox .tox-card-group{background-color:#f0f0f0;display:flex;flex-direction:column}.tox .tox-card-group .tox-card{scroll-margin-top:53px}.tox .tox-card-group__title{align-items:center;background-color:#fff;border-bottom:1px solid #eee;color:#222f3e;display:flex;font-size:14px;font-weight:700;gap:8px;line-height:16px;overflow:hidden;padding:12px;position:sticky;top:0;z-index:1}.tox .tox-card-group__title-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-card-group__status{color:rgba(34,47,62,.7);flex:0 0 auto;font-size:12px;font-weight:400;margin-inline-start:auto}.tox .tox-card-group__content{display:flex;flex-direction:column;gap:12px;padding-block:12px}.tox .tox-profile{align-items:center;display:flex;gap:8px}.tox .tox-profile__image{align-items:center;display:flex;flex-shrink:0}.tox .tox-profile__badge{display:flex;flex-shrink:0;height:36px;margin-inline-start:-4px;width:36px}.tox .tox-profile__badge svg{display:block;height:100%;width:100%}.tox .tox-user-avatar{width:36px;height:36px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center}.tox .tox-user-avatar img{width:100%;height:100%;object-fit:cover}.tox .tox-profile__body{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;flex:1}.tox .tox-profile__heading{color:#222f3e;font-size:14px;font-weight:700;line-height:18px;text-transform:none}.tox .tox-profile__subheading{color:#222f3e;font-size:12px;font-weight:400;line-height:16px;padding-block:4px;text-transform:none}.tox .tox-profile__subheading .tox-icon svg{fill:rgba(34,47,62,0.5);margin-block:-4px;vertical-align:top}.tox [data-mce-name=suggestededits] .tox-icon .tox-icon--badge{fill:#006ce7}.tox .tox-view .tox-suggestededits__pane{padding:0}.tox .tox-suggestededits__sink{position:relative;z-index:1000}.tox .tox-suggestededits__sink .tox-tiered-menu .tox-collection--list{position:absolute}.tox .tox-suggestededits__container{height:100%;display:flex;flex-direction:column}.tox .tox-suggestededits__container .tox-suggestededits{background-color:#fff;display:flex;flex:1;height:inherit;overflow-x:auto;overflow-y:hidden;position:relative}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__content{flex:1}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__model{height:100%;position:relative}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__model .tox-suggestededits__iframe{height:100%;width:100%;overflow:scroll;background-color:#fff}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar{background-color:#f0f0f0;border-left:1px solid #e3e3e3;display:flex;flex-direction:column;flex:0 1 auto;min-width:248px;width:441px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__announcer{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;margin:-1px;padding:0;border:0}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar{padding:4px 12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar:not(:empty){padding:12px 12px 6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button:has(.tox-icon:only-child){gap:0;padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-md,16px)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button:has(.tox-icon:only-child) .tox-icon{align-items:center;display:flex;flex:0 0 auto;height:24px;justify-content:center;width:24px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline{border-color:#e3e3e3}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:focus:not(:disabled),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:hover:not(:disabled){background-color:rgba(34,47,62,.12);border-color:rgba(34,47,62,.12)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline.tox-button--enabled:not(:disabled),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:active:not(:disabled){background-color:rgba(34,47,62,.18);border-color:rgba(34,47,62,.18);color:#222f3e}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline[disabled]{border-color:#e3e3e3}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content{display:flex;flex:1;flex-direction:column;gap:12px;overflow:auto;padding:6px 12px 12px 12px;position:relative;scroll-padding-block:6px 12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-card--selected:has(textarea:focus){border-color:transparent}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__divider,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--divider{background-color:#f0f0f0;height:1px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--editor,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--single{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;gap:12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--editor{padding:6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header{display:flex;flex:auto;justify-content:space-between;align-items:center;gap:8px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__card--timestamp,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__card--timestamp{color:#222f3e}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__card--timestamp .tox-icon svg,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__card--timestamp .tox-icon svg{fill:rgba(34,47,62,0.5)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution{align-items:center;border:0;border-radius:20px;color:rgba(34,47,62,.7);height:20px;width:20px;display:flex;flex:0 0 auto;justify-content:center;text-align:center}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button{padding:var(--tox-private-button-padding-y,4px) var(--tox-private-button-padding-x,16px)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button .tox-suggestededits__resolution--label{display:none}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:not(:hover):not(:focus-visible),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:not(:hover):not(:focus-visible){border-color:transparent}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution{display:none}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution--label{display:inline}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content{display:flex;flex-direction:column;align-self:stretch;flex:auto;gap:6px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations{display:flex;gap:8px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-details,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-details{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-text,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-text{color:#222f3e;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:18px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-content-text,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-content-text{font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:20px;overflow-wrap:break-word}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-content-text-joiner,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-content-text-joiner{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__card--feedback,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__card--feedback{color:#222f3e;overflow-wrap:anywhere;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__actions,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--buttons{display:flex;align-items:center;gap:8px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__actions.tox-suggestededits__card--feedback-buttons,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--buttons.tox-suggestededits__card--feedback-buttons{justify-content:flex-end}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-suggestededits__card--active .tox-suggestededits__card--single{border-radius:6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-suggestededits__card--active .tox-suggestededits__card--single:focus-visible{outline:2px solid #006ce7}.tox .tox-dialog-loading::before{background-color:rgba(0,0,0,.5);content:"";height:100%;position:absolute;width:100%;z-index:1000}.tox .tox-tab{cursor:pointer}.tox .tox-dialog__content-js{display:flex;flex:1}.tox .tox-dialog__body-content .tox-collection{display:flex;flex:1}`) \ No newline at end of file diff --git a/libraries/tinymce/js/tinymce/skins/ui/oxide/skin.min.css b/libraries/tinymce/js/tinymce/skins/ui/oxide/skin.min.css index 1ae1bdd..e3d5367 100644 --- a/libraries/tinymce/js/tinymce/skins/ui/oxide/skin.min.css +++ b/libraries/tinymce/js/tinymce/skins/ui/oxide/skin.min.css @@ -1 +1 @@ -.tox{box-shadow:none;box-sizing:content-box;cursor:auto;font-style:normal;font-weight:400;line-height:normal;-webkit-tap-highlight-color:transparent;-webkit-text-decoration:none;text-decoration:none;text-shadow:none;text-transform:none;vertical-align:initial;white-space:normal}.tox :not(svg):not(rect){box-sizing:inherit;color:inherit;cursor:inherit;direction:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;-webkit-tap-highlight-color:inherit;text-align:inherit;text-decoration:inherit;text-shadow:inherit;text-transform:inherit;vertical-align:inherit;white-space:inherit}.tox :not(svg):not(rect){background:0 0;border:0;box-shadow:none;float:none;height:auto;margin:0;max-width:none;outline:0;padding:0;position:static;width:auto}.tox:not([dir=rtl]){direction:ltr;text-align:left}.tox[dir=rtl]{direction:rtl;text-align:right}.tox-tinymce :focus,.tox-tinymce-aux :focus{outline:0}button::-moz-focus-inner{border:0}@keyframes tox-rotation{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes tox-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox{color:var(--tox-private-color-black,#222f3e);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-font-size-base, 16px)}.tox-tinymce{border:2px solid #eee;border-radius:10px;box-shadow:none;box-sizing:border-box;display:flex;flex-direction:column;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);overflow:hidden;position:relative;visibility:inherit!important}.tox.tox-tinymce-inline{border:none;box-shadow:none;overflow:initial}.tox.tox-tinymce-inline .tox-editor-container{overflow:initial}.tox.tox-tinymce-inline .tox-editor-header{background-color:#fff;border:2px solid #eee;border-radius:10px;box-shadow:none;overflow:hidden}.tox-tinymce-aux{font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);z-index:var(--tox-private-z-index-sink,1300)}.tox[dir=rtl] .tox-icon--flip svg{transform:rotateY(180deg)}.tox .tox-editor-container{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.tox .tox-editor-container--keep-toolbar{flex:0 0 auto;overflow:visible}.tox .tox-editor-header{display:grid;grid-template-columns:1fr min-content;z-index:2}.tox:not(.tox-tinymce-inline) .tox-editor-header{background-color:#fff;border-bottom:none;box-shadow:0 2px 2px -2px rgba(34,47,62,.1),0 8px 8px -4px rgba(34,47,62,.07);padding:4px 0}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(.tox-editor-dock-transition){transition:box-shadow .5s}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header{border-top:1px solid #e3e3e3;box-shadow:none}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header{background-color:#fff;box-shadow:0 2px 2px -2px rgba(34,47,62,.2),0 8px 8px -4px rgba(34,47,62,.15);padding:4px 0}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header{box-shadow:0 2px 2px -2px rgba(34,47,62,.2),0 8px 8px -4px rgba(34,47,62,.15)}.tox.tox:not(.tox-tinymce-inline) .tox-editor-header.tox-editor-header--empty{background:0 0;border:none;box-shadow:none;padding:0}.tox-editor-dock-fadeout{opacity:0;visibility:hidden}.tox-editor-dock-fadein{opacity:1;visibility:visible}.tox-editor-dock-transition{transition:visibility 0s linear .25s,opacity .25s ease}.tox-editor-dock-transition.tox-editor-dock-fadein{transition-delay:0s}.tox .accessibility-issue__header{align-items:center;display:flex;margin-bottom:4px}.tox #accessibility-issue__subheader{font-size:16px;color:#222f3e}.tox .accessbility-sr-only{position:absolute;clip:rect(1px,1px,1px,1px);clip-path:inset(0 0 99.9% 99.9%);overflow:hidden;height:1px;width:1px;padding:0;border:0}.tox .accessibility-issue__description{align-items:stretch;border-radius:6px;justify-content:space-between}.tox .accessibility-issue__description>div{padding-bottom:4px}.tox .accessibility-issue__description>div>div{align-items:center;display:flex;margin-bottom:4px}.tox .accessibility-issue__description>div>div .tox-icon svg{display:block}.tox #accessibility-issue__contentID{margin-top:8px;margin-bottom:8px}.tox #accessibility-issue__contentID span:first-child{font-weight:700}.tox #accessibility-issue__document{padding-bottom:8px}.tox .accessibility-issue__repair{margin-top:8px}.tox .accessibility-issue__repair .tox-form__group .tox-form__group--error{color:#c00}.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description{background-color:#e6f0fd;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2{font-size:14px;color:#006ce7}.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon.accessibility-issue__icon svg{fill:#006ce7}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon{background-color:#006ce7;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:hover{background-color:#0060ce}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:active{background-color:#0054b4}.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description{background-color:#fffae6;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2{font-size:14px;color:#7a6e25}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon.accessibility-issue__icon svg{fill:#7a6e25}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon{background-color:#ffe89d;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:hover{background-color:#f2d574;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:active{background-color:#e8c657;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description{background-color:#fae6e6;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2{font-size:14px;color:#c00}.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon.accessibility-issue__icon svg{fill:#c00}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon{background-color:#f2bfbf;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:hover{background-color:#e9a4a4;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:active{background-color:#ee9494;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description{background-color:rgba(120,171,70,.1);color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description>:last-child{display:none}.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2{color:#527530}.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon.accessibility-issue__icon svg{fill:#527530}.tox .tox-dialog__body-content .accessibility-issue__header .tox-form__group h1,.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2{margin-top:0}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-left:4px}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-left:auto}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description{padding:8px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-right:4px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-right:auto}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description{padding:4px 8px 4px 4px}.tox .mce-codemirror{background:#fff;bottom:0;font-size:13px;left:0;position:absolute;right:0;top:0;z-index:1}.tox .mce-codemirror.tox-inline-codemirror{margin:8px;position:absolute}.tox .tox-advtemplate .tox-form__grid{flex:1}.tox .tox-advtemplate .tox-form__grid>div:first-child{display:flex;flex-direction:column;width:30%}.tox .tox-advtemplate .tox-form__grid>div:first-child>div:nth-child(2){flex-basis:0;flex-grow:1;overflow:auto}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-advtemplate .tox-form__grid>div:first-child{width:100%}}.tox .tox-advtemplate iframe{border-color:#eee;border-radius:10px;border-style:solid;border-width:1px;margin:0 10px}.tox .tox-accordion{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__item{background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color,#222f3e);border-radius:var(--tox-private-control-border-radius,6px);position:relative}.tox .tox-accordion__item.tox-accordion__item--expanded{background-color:var(--tox-private-background-secondary,#f0f0f0)}.tox .tox-accordion__item.tox-accordion__item--expanded .tox-accordion__content--expanded .tox-accordion__content-inner{padding-top:0}.tox .tox-accordion__item::after{border-radius:var(--tox-private-control-border-radius,6px);box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,2px) var(--tox-private-keyboard-focus-outline-color,#006ce7);content:'';inset:0;opacity:0;pointer-events:none;position:absolute}@media (forced-colors:active){.tox .tox-accordion__item::after{border:2px solid highlight}}.tox .tox-accordion__item:focus{outline:0;z-index:1}.tox .tox-accordion__item:focus::after{opacity:1}.tox .tox-accordion__heading{margin:0;width:100%}.tox .tox-accordion__heading:focus{outline:0}.tox .tox-accordion__header{align-items:center;border:none;border-radius:var(--tox-private-control-border-radius,6px);box-sizing:border-box;color:var(--tox-private-text-color,#222f3e);cursor:pointer;display:flex;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:var(--tox-private-line-height-base, 1.3);outline:0;padding:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));text-align:left;width:100%}.tox .tox-accordion__header::after{border-radius:var(--tox-private-control-border-radius,6px);bottom:0;box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,2px) var(--tox-private-keyboard-focus-outline-color,#006ce7);content:'';left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-accordion__header::after{border:2px solid highlight}}.tox .tox-accordion__header:hover:not(.tox-accordion__header--disabled){background-color:var(--tox-private-background-secondary,#f0f0f0)}.tox .tox-accordion__header:focus:not(.tox-accordion__header--disabled){position:relative;z-index:1}.tox .tox-accordion__header:focus:not(.tox-accordion__header--disabled)::after{opacity:1}.tox .tox-accordion__header.tox-accordion__header--disabled{cursor:not-allowed;opacity:.5}.tox .tox-accordion__header.tox-accordion__header--icon-end{padding-right:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__header-icon{align-items:center;color:var(--tox-private-text-color,#222f3e);display:flex;flex-shrink:0;height:calc(var(--tox-private-base-value,16px) * 1.5);justify-content:center;width:calc(var(--tox-private-base-value,16px) * 1.5)}.tox .tox-accordion__header-icon svg{display:block;fill:currentColor;height:100%;width:100%;max-height:calc(var(--tox-private-base-value,16px) * 1.5);max-width:calc(var(--tox-private-base-value,16px) * 1.5)}.tox .tox-accordion__header:not(.tox-accordion__header--icon-end) .tox-accordion__header-icon{margin-right:var(--tox-private-pad-sm,8px);margin-left:0}.tox .tox-accordion__header--icon-end .tox-accordion__header-icon{margin-left:auto}.tox .tox-accordion__header-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-accordion__header--icon-end .tox-accordion__header-text{flex:0 1 auto;margin-right:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__content{border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-accordion__content.tox-accordion__content--collapsed{display:none}.tox .tox-accordion__content.tox-accordion__content--expanded{display:block}.tox .tox-accordion__content-inner{padding:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px)) calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__content-inner .tox-form__group:last-child{margin-bottom:0}.tox .tox-accordion__content-inner .tox-form__group>:not(:first-child){margin-top:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__content-inner .tox-form__group>.tox-dropdown-content{margin-top:0}.tox .tox-accordion__content-inner .tox-button-group{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__content-inner .tox-accordion__model-button{border-radius:var(--tox-private-control-border-radius,6px);align-items:center;appearance:none;background:0 0;border:none;color:inherit;cursor:pointer;display:flex;font-family:inherit;font-size:inherit;gap:var(--tox-private-pad-xs,4px);margin:0;outline:0;padding:6px calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));position:relative}.tox .tox-accordion__content-inner .tox-accordion__model-button::after{border-radius:var(--tox-private-control-border-radius,6px);bottom:0;box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,2px) var(--tox-private-keyboard-focus-outline-color,#006ce7);content:'';left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-accordion__content-inner .tox-accordion__model-button::after{border:2px solid highlight}}.tox .tox-accordion__content-inner .tox-accordion__model-button:focus{z-index:1}.tox .tox-accordion__content-inner .tox-accordion__model-button:focus::after{opacity:1}.tox .tox-accordion .tox-selectfield{align-items:center;background-color:var(--tox-private-background-color,#fff);border:1px solid var(--tox-private-border-color,#eee);border-radius:var(--tox-private-control-border-radius,6px);box-sizing:border-box;display:flex;height:34px;padding:0 6px;position:relative;width:100%}.tox .tox-accordion .tox-selectfield:focus-within{box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,2px) var(--tox-private-keyboard-focus-outline-color,#006ce7);z-index:1}@media (forced-colors:active){.tox .tox-accordion .tox-selectfield:focus-within{border-color:highlight;box-shadow:0 0 0 2px highlight}}.tox .tox-accordion .tox-selectfield button{appearance:none;background:0 0;border:none;color:inherit;cursor:pointer;flex:1;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;outline:0;padding:5px 0;text-align:left}.tox .tox-accordion .tox-selectfield .tox-icon{display:flex;flex-shrink:0;padding:9px 0;pointer-events:none}.tox .tox-accordion .tox-selectfield .tox-icon svg{height:var(--tox-private-base-value,16px);width:var(--tox-private-base-value,16px)}.tox[dir=rtl] .tox-accordion__header{text-align:right}.tox[dir=rtl] .tox-accordion__header:not(.tox-accordion__header--icon-end) .tox-accordion__header-icon{margin-left:var(--tox-private-pad-sm,8px);margin-right:0}.tox[dir=rtl] .tox-accordion__header--icon-end .tox-accordion__header-icon{margin-right:auto;margin-left:0}.tox[dir=rtl] .tox-accordion__header--icon-end .tox-accordion__header-text{margin-left:var(--tox-private-pad-sm,8px);margin-right:0}.tox .tox-alert{align-items:flex-start;align-self:stretch;border-radius:var(--tox-private-panel-border-radius,6px);border-style:solid;border-width:1px;box-sizing:border-box;color:var(--tox-private-text-color,#222f3e);display:flex;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-normal,normal);gap:var(--tox-private-pad-xs,4px);line-height:var(--tox-private-line-height-base, 1.3);padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-sm,8px);width:100%}.tox .tox-alert--error{background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#fff) r g b / .8) 0,rgba(from var(--tox-private-background-color,#fff) r g b / .8) 100%),var(--tox-private-color-error,#c00);border-color:var(--tox-private-color-error,#c00)}.tox .tox-alert--warning{background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#fff) r g b / .8) 0,rgba(from var(--tox-private-background-color,#fff) r g b / .8) 100%),var(--tox-private-color-warning,#fc0);border-color:var(--tox-private-color-warning,#fc0)}.tox .tox-alert__body{display:flex;flex:1 0 0;flex-direction:column;min-width:0}.tox .tox-alert__content{align-items:center;display:flex;flex:1 0 0;gap:var(--tox-private-pad-sm,8px);padding:var(--tox-private-pad-sm,8px) 0}.tox .tox-alert__message{margin:0;text-align:left}.tox .tox-alert__actions{align-items:center;display:flex;flex-wrap:wrap;gap:var(--tox-private-pad-xs,4px);justify-content:flex-start}.tox .tox-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bottom-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bar{display:flex;flex:0 0 auto}.tox .tox-button{border-width:var(--tox-private-button-border-width,1px);border-style:var(--tox-private-button-border-style,solid);border-radius:var(--tox-private-control-border-radius,6px);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-button-font-size, 14px);font-style:var(--tox-private-button-font-style,normal);font-weight:var(--tox-private-button-font-weight,bold);line-height:var(--tox-private-control-line-height, 24px);padding:var(--tox-private-button-padding-y,4px) var(--tox-private-button-padding-x,16px);text-align:center;-webkit-text-decoration:none;text-decoration:none;text-transform:none;letter-spacing:normal;box-shadow:none;box-sizing:border-box;cursor:pointer;outline:0;position:relative;white-space:nowrap;display:inline-flex;justify-content:center;align-items:center;gap:var(--tox-private-pad-xs,4px)}.tox .tox-button::before{border-radius:var(--tox-private-control-border-radius,6px);bottom:calc(-1 * var(--tox-private-button-border-width,1px));box-shadow:var(--tox-private-button-focus-outline,inset 0 0 0 1px #fff,0 0 0 2px #006ce7);content:'';left:calc(-1 * var(--tox-private-button-border-width,1px));opacity:0;pointer-events:none;position:absolute;right:calc(-1 * var(--tox-private-button-border-width,1px));top:calc(-1 * var(--tox-private-button-border-width,1px))}.tox .tox-button:focus:not(:disabled){background-color:var(--tox-private-button-focus-background-color,#0060ce);background-image:none;border-color:var(--tox-private-button-focus-border-color,#0060ce);box-shadow:var(--tox-private-button-focus-box-shadow,none);color:var(--tox-private-button-focus-text-color,#fff)}.tox .tox-button:focus:not(:disabled)::before{opacity:1}.tox .tox-button.tox-button--icon,.tox .tox-button:has(.tox-icon:only-child){padding:4px}.tox .tox-button .tox-icon svg{display:block;fill:currentColor}.tox .tox-button .tox-icon.tox-icon--success svg{fill:var(--tox-private-color-success,#78AB46)}.tox .tox-button .tox-icon.tox-icon--error svg{fill:var(--tox-private-color-error,#c00)}.tox .tox-button--stretch{width:100%}.tox-context-form__group .tox-button--icon,.tox-context-form__group .tox-button.tox-button--icon{margin:6px 1px 5px 0;padding:0}.tox .tox-button{background-color:var(--tox-private-button-primary-background-color,#006ce7);background-image:none;background-position:0 0;background-repeat:repeat;color:var(--tox-private-button-primary-text-color,#fff);border-color:var(--tox-private-button-primary-border-color,#006ce7)}.tox .tox-button[disabled]{background-color:var(--tox-private-button-primary-disabled-background-color,#006ce7);background-image:none;border-color:var(--tox-private-button-primary-disabled-border-color,#006ce7);color:var(--tox-private-button-primary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button:focus:not(:disabled){background-color:var(--tox-private-button-primary-focus-background-color,#0060ce);border-color:var(--tox-private-button-primary-focus-border-color,#0060ce);color:var(--tox-private-button-primary-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button:hover:not(:disabled){background-color:var(--tox-private-button-primary-hover-background-color,#0060ce);border-color:var(--tox-private-button-primary-hover-border-color,#0060ce);color:var(--tox-private-button-primary-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button:active:not(:disabled){background-color:var(--tox-private-button-primary-active-background-color,#0054b4);border-color:var(--tox-private-button-primary-active-border-color,#0054b4);color:var(--tox-private-button-primary-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled{background-color:var(--tox-private-button-primary-enabled-background-color,#0054b4);border-color:var(--tox-private-button-primary-enabled-border-color,#0054b4);color:var(--tox-private-button-primary-enabled-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled[disabled]{color:var(--tox-private-button-primary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-primary-enabled-focus-background-color,#00489b);border-color:var(--tox-private-button-primary-enabled-focus-border-color,#00489b);color:var(--tox-private-button-primary-enabled-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-primary-enabled-hover-background-color,#00489b);border-color:var(--tox-private-button-primary-enabled-hover-border-color,#00489b);color:var(--tox-private-button-primary-enabled-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-primary-enabled-active-background-color,#003c81);border-color:var(--tox-private-button-primary-enabled-active-border-color,#003c81);color:var(--tox-private-button-primary-enabled-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary{background-color:var(--tox-private-button-secondary-background-color,#f0f0f0);border-color:var(--tox-private-button-secondary-border-color,#f0f0f0);color:var(--tox-private-button-secondary-text-color,#222f3e);border-style:solid;border-width:1px;background-image:none;background-position:0 0;background-repeat:repeat;border-radius:6px;box-shadow:none;font-size:14px;font-style:normal;font-weight:700;letter-spacing:normal;outline:0;padding:4px 16px;-webkit-text-decoration:none;text-decoration:none;text-transform:none}.tox .tox-button--secondary[disabled]{background-color:var(--tox-private-button-secondary-disabled-background-color,#f0f0f0);background-image:none;border-color:var(--tox-private-button-secondary-disabled-border-color,#f0f0f0);color:var(--tox-private-button-secondary-disabled-text-color,rgba(34,47,62,.5));cursor:not-allowed}.tox .tox-button--secondary:focus:not(:disabled){background-color:var(--tox-private-button-secondary-focus-background-color,#e3e3e3);border-color:var(--tox-private-button-secondary-focus-border-color,#e3e3e3);color:var(--tox-private-button-secondary-focus-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary:hover:not(:disabled){background-color:var(--tox-private-button-secondary-hover-background-color,#e3e3e3);border-color:var(--tox-private-button-secondary-hover-border-color,#e3e3e3);color:var(--tox-private-button-secondary-hover-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary:active:not(:disabled){background-color:var(--tox-private-button-secondary-active-background-color,#d6d6d6);border-color:var(--tox-private-button-secondary-active-border-color,#d6d6d6);color:var(--tox-private-button-secondary-active-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled{background-color:var(--tox-private-button-secondary-enabled-background-color,#a6ccf7);border-color:var(--tox-private-button-secondary-enabled-border-color,#a6ccf7);color:var(--tox-private-button-secondary-enabled-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled[disabled]{color:var(--tox-private-button-secondary-disabled-text-color,rgba(34,47,62,.5));cursor:not-allowed}.tox .tox-button--secondary.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-focus-background-color,#8ebef4);border-color:var(--tox-private-button-secondary-enabled-focus-border-color,#8ebef4);color:var(--tox-private-button-secondary-enabled-focus-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-hover-background-color,#8ebef4);border-color:var(--tox-private-button-secondary-enabled-hover-border-color,#8ebef4);color:var(--tox-private-button-secondary-enabled-hover-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-active-background-color,#77b1f2);border-color:var(--tox-private-button-secondary-enabled-active-border-color,#77b1f2);color:var(--tox-private-button-secondary-enabled-active-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--naked{background-color:transparent;border-color:transparent;box-shadow:unset;color:var(--tox-private-button-naked-text-color,#222f3e)}.tox .tox-button--naked[disabled]{background-color:transparent;border-color:transparent;color:var(--tox-private-button-naked-disabled-text-color,rgba(34,47,62,.5));cursor:not-allowed}.tox .tox-button--naked:focus:not(:disabled){background-color:var(--tox-private-button-naked-focus-background-color,rgba(34,47,62,.12));border-color:var(--tox-private-button-naked-focus-border-color,transparent);color:var(--tox-private-button-naked-focus-text-color,#222f3e);box-shadow:unset}.tox .tox-button--naked:hover:not(:disabled){background-color:var(--tox-private-button-naked-hover-background-color,rgba(34,47,62,.12));border-color:var(--tox-private-button-naked-hover-background-color,transparent);color:var(--tox-private-button-naked-hover-text-color,#222f3e);box-shadow:unset}.tox .tox-button--naked:active:not(:disabled){background-color:var(--tox-private-button-naked-active-background-color,rgba(34,47,62,.18));border-color:var(--tox-private-button-naked-active-border-color,transparent);color:var(--tox-private-button-naked-active-text-color,#222f3e);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled{background-color:var(--tox-private-button-naked-enabled-background-color,#a8c8ed);border-color:var(--tox-private-button-naked-enabled-border-color,#a8c8ed);color:var(--tox-private-button-naked-enabled-text-color,#222f3e);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled[disabled]{color:var(--tox-private-button-naked-disabled-text-color,rgba(34,47,62,.5));cursor:not-allowed}.tox .tox-button--naked.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-naked-enabled-focus-background-color,#93bbe9);border-color:var(--tox-private-button-naked-enabled-focus-border-color,#93bbe9);color:var(--tox-private-button-naked-enabled-focus-text-color,#222f3e);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-naked-enabled-hover-background-color,#93bbe9);border-color:var(--tox-private-button-naked-enabled-hover-border-color,#93bbe9);color:var(--tox-private-button-naked-enabled-hover-text-color,#222f3e);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-naked-enabled-active-background-color,#7daee4);border-color:var(--tox-private-button-naked-enabled-active-border-color,#7daee4);color:var(--tox-private-button-naked-enabled-active-text-color,#222f3e);box-shadow:unset}.tox .tox-button--secondary--outline{background-color:transparent;border-color:var(--tox-private-button-secondary-outline-border-color,#f0f0f0);color:var(--tox-private-button-secondary-outline-text-color,#222f3e)}.tox .tox-button--secondary--outline:focus:not(:disabled){background-color:var(--tox-private-button-secondary-outline-focus-background-color,#e3e3e3);border-color:var(--tox-private-button-secondary-outline-focus-border-color,#e3e3e3);color:var(--tox-private-button-secondary-outline-focus-text-color,#222f3e)}.tox .tox-button--secondary--outline:hover:not(:disabled){background-color:var(--tox-private-button-secondary-outline-hover-background-color,#f0f0f0);border-color:var(--tox-private-button-secondary-outline-hover-border-color,#e3e3e3);color:var(--tox-private-button-secondary-outline-hover-text-color,#222f3e)}.tox .tox-button--secondary--outline:active:not(:disabled){background-color:var(--tox-private-button-secondary-outline-active-background-color,#e3e3e3);border-color:var(--tox-private-button-secondary-outline-active-border-color,#e3e3e3);color:var(--tox-private-button-secondary-outline-active-text-color,#222f3e)}.tox .tox-button--secondary--outline[disabled]{background-color:var(--tox-private-button-secondary-outline-disabled-background-color,transparent);border-color:var(--tox-private-button-secondary-outline-disabled-border-color,#f0f0f0);color:var(--tox-private-button-secondary-outline-disabled-text-color,rgba(34,47,62,.5))}.tox .tox-checkbox{align-items:center;border-radius:var(--tox-private-checkbox-border-radius,6px);cursor:pointer;display:flex;height:var(--tox-private-control-height,36px);min-width:var(--tox-private-control-height,36px)}.tox .tox-checkbox__input{height:1px;overflow:hidden;position:absolute;top:auto;width:1px}.tox .tox-checkbox__icons{display:flex;align-items:center;justify-content:center;box-sizing:content-box;padding:var(--tox-private-pad-xs,calc(4px - 1px));border-radius:var(--tox-private-checkbox-border-radius,6px);box-shadow:0 0 0 2px transparent;height:var(--tox-private-control-line-height,24px);aspect-ratio:1/1}.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:block;fill:var(--tox-private-checkbox-unselected-color,rgba(34,47,62,0.3))}@media (forced-colors:active){.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:currentColor!important}}.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:none;fill:var(--tox-private-checkbox-indeterminate-color,#006ce7)}.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg{display:none;fill:var(--tox-private-checkbox-selected-color,#006ce7)}.tox .tox-checkbox--disabled{color:var(--tox-private-checkbox-disabled-text-color,rgba(34,47,62,.5));cursor:not-allowed}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(34,47,62,0.5))}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(34,47,62,0.5))}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(34,47,62,0.5))}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__checked svg{display:block}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:block}.tox input.tox-checkbox__input:focus+.tox-checkbox__icons{box-shadow:var(--tox-private-checkbox-focus-box-shadow,inset 0 0 0 1px #006ce7)}.tox:not([dir=rtl]) .tox-checkbox__label{margin-left:var(--tox-private-pad-xs,4px)}.tox:not([dir=rtl]) .tox-checkbox__input{left:-10000px}.tox:not([dir=rtl]) .tox-bar .tox-checkbox{margin-left:var(--tox-private-pad-xs,4px)}.tox[dir=rtl] .tox-checkbox__label{margin-right:var(--tox-private-pad-xs,4px)}.tox[dir=rtl] .tox-checkbox__input{right:-10000px}.tox[dir=rtl] .tox-bar .tox-checkbox{margin-right:var(--tox-private-pad-xs,4px)}.tox .tox-collection--toolbar .tox-collection__group{display:flex;padding:0}.tox .tox-collection--grid .tox-collection__group{display:flex;flex-wrap:wrap;max-height:208px;overflow-x:hidden;overflow-y:auto;padding:0}.tox .tox-collection--list .tox-collection__group{border-bottom-width:0;border-color:#e3e3e3;border-left-width:0;border-right-width:0;border-style:solid;border-top-width:1px;padding:4px 0;display:flex;flex-direction:column}.tox .tox-collection--list .tox-collection__group:first-child{border-top-width:0}.tox .tox-collection__group-heading{background-color:#fcfcfc;color:rgba(34,47,62,.7);cursor:default;font-size:12px;font-style:normal;font-weight:400;margin-bottom:4px;margin-top:-4px;padding:4px 8px;text-transform:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-collection__item{align-items:center;border-radius:3px;color:#222f3e;display:flex;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-image-selector-menu .tox-collection__item,.tox .tox-image-selector-menu .tox-collection__item-image-selector{flex-direction:column}.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-checkmark,.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-icon,.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-image,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-checkmark,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-icon,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-image{flex-grow:1}.tox .tox-image-selector-menu .tox-collection__item label,.tox .tox-image-selector-menu .tox-collection__item-image-selector label{width:48px;white-space:nowrap;overflow:hidden;font-size:12px;color:#222f3e;text-align:center;align-self:flex-end}.tox .tox-image-selector-menu .tox-collection__item-checkmark{height:24px;width:24px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.tox .tox-image-selector-menu .tox-collection__item-checkmark svg path{fill:#006ce7;stroke:#006ce7}.tox .tox-image-selector-menu .tox-image-selector__row .tox-collection__item-image-selector.tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#fff}.tox .tox-image-selector-menu .tox-image-selector__row .tox-collection__item-image-selector.tox-collection__item--enabled:not(.tox-collection__item--state-disabled){z-index:2;background-color:#fff;opacity:.8;background-clip:content-box}.tox .tox-collection--list .tox-collection__item{padding:4px 8px}.tox .tox-collection--toolbar .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--grid .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--list .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#fff;color:#222f3e}.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#006ce7;color:#fff}@media (forced-colors:active){.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){border:solid 1px}}.tox .tox-collection--grid .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#a6ccf7;color:#222f3e}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#f0f0f0;color:#222f3e;position:relative;z-index:1}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7 inset;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border:2px solid highlight}}.tox .tox-collection--toolbar .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#a6ccf7;color:#222f3e}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){border-radius:3px;outline:solid 1px}}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled){color:#222f3e;background-color:#fff;position:relative}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):hover{background-color:#f0f0f0;color:#222f3e}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus{background-color:#f0f0f0;color:#222f3e}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border:2px solid highlight}}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):hover{border-radius:3px;outline:solid 1px}}.tox .tox-collection__item-image{border:1px solid #eee;border-radius:6px;display:flex;flex-direction:column;justify-content:center;margin-bottom:4px;position:relative}.tox .tox-collection__item-checkmark,.tox .tox-collection__item-icon{align-items:center;display:flex;height:24px;justify-content:center;width:24px}.tox .tox-collection__item-checkmark svg,.tox .tox-collection__item-icon svg{fill:currentColor}.tox .tox-collection--toolbar-lg .tox-collection__item-icon{height:48px;width:48px}.tox .tox-collection__item-label{color:currentColor;display:inline-block;flex:1;font-size:14px;font-style:normal;font-weight:400;line-height:24px;max-width:100%;text-transform:none;word-break:break-all}.tox .tox-collection__item-separator{border-bottom:1px solid #e3e3e3;height:0;margin:4px 0}.tox .tox-collection__item-accessory{color:currentColor;display:inline-block;font-size:14px;height:24px;line-height:24px;text-transform:none}.tox .tox-collection__item-caret{align-items:center;display:flex;min-height:24px}.tox .tox-collection__item-caret::after{content:'';font-size:0;min-height:inherit}.tox .tox-collection__item-caret svg{fill:currentColor}.tox .tox-collection__item--state-disabled{background-color:transparent;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg{fill:rgba(34,47,62,0.5)}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg{display:none}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-accessory+.tox-collection__item-checkmark{display:none}.tox .tox-collection--horizontal{background-color:#fff;border:1px solid #e3e3e3;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:nowrap;margin-bottom:0;overflow-x:auto;padding:0}.tox .tox-collection--horizontal .tox-collection__group{align-items:center;display:flex;flex-wrap:nowrap;margin:0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item{height:28px;margin:6px 1px 5px 0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item-label{white-space:nowrap}.tox .tox-collection--horizontal .tox-collection__item-caret{margin-left:4px}.tox .tox-collection__item-container{display:flex}.tox .tox-collection__item-container--row{align-items:center;flex:1 1 auto;flex-direction:row}.tox .tox-collection__item-container--row.tox-collection__item-container--align-left{margin-right:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--align-right{justify-content:flex-end;margin-left:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-top{align-items:flex-start;margin-bottom:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-middle{align-items:center}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-bottom{align-items:flex-end;margin-top:auto}.tox .tox-collection__item-container--column{align-self:center;flex:1 1 auto;flex-direction:column}.tox .tox-collection__item-container--column.tox-collection__item-container--align-left{align-items:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--align-right{align-items:flex-end}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-top{align-self:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-middle{align-self:center}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-bottom{align-self:flex-end}.tox:not([dir=rtl]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-right:1px solid transparent}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>:not(:first-child){margin-left:8px}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-left:4px}.tox:not([dir=rtl]) .tox-collection__item-accessory{margin-left:16px;text-align:right}.tox:not([dir=rtl]) .tox-collection .tox-collection__item-caret{margin-left:16px}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-left:1px solid transparent}.tox[dir=rtl] .tox-collection--list .tox-collection__item>:not(:first-child){margin-right:8px}.tox[dir=rtl] .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-right:4px}.tox[dir=rtl] .tox-collection__item-accessory{margin-right:16px;text-align:left}.tox[dir=rtl] .tox-collection .tox-collection__item-caret{margin-right:16px;transform:rotateY(180deg)}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__item-caret{margin-right:4px}@media (forced-colors:active){.tox .tox-hue-slider,.tox .tox-rgb-form .tox-rgba-preview{background-color:currentColor!important;border:1px solid highlight!important;forced-color-adjust:none}}.tox .tox-color-picker-container{display:flex;flex-direction:row;height:225px;margin:0}.tox .tox-sv-palette{box-sizing:border-box;display:flex;height:100%}.tox .tox-sv-palette-spectrum{height:100%}.tox .tox-sv-palette,.tox .tox-sv-palette-spectrum{width:225px}.tox .tox-sv-palette-thumb{background:0 0;border:1px solid #000;border-radius:50%;box-sizing:content-box;height:12px;position:absolute;width:12px}.tox .tox-sv-palette-inner-thumb{border:1px solid #fff;border-radius:50%;height:10px;position:absolute;width:10px}.tox .tox-hue-slider{box-sizing:border-box;height:100%;width:25px}.tox .tox-hue-slider-spectrum{background:linear-gradient(to bottom,red,#ff0080,#f0f,#8000ff,#00f,#0080ff,#0ff,#00ff80,#0f0,#80ff00,#ff0,#ff8000,red);height:100%;width:100%}.tox .tox-hue-slider,.tox .tox-hue-slider-spectrum{width:20px}.tox .tox-hue-slider-spectrum:focus,.tox .tox-sv-palette-spectrum:focus{outline:#08f solid}.tox .tox-hue-slider-thumb{background:#fff;border:1px solid #000;box-sizing:content-box;height:4px;width:100%}.tox .tox-rgb-form{display:flex;flex-direction:column;justify-content:space-between}.tox .tox-rgb-form div{align-items:center;display:flex;justify-content:space-between;margin-bottom:5px;width:inherit}.tox .tox-rgb-form input{min-width:6em}.tox .tox-rgb-form input.tox-invalid{border:1px solid red!important;box-shadow:0 0 0 1px red}.tox .tox-rgb-container{position:relative}.tox .tox-rgb-form .tox-invalid-icon{align-content:center;align-items:center;display:none;height:100%;position:absolute;right:0;top:0}.tox .tox-rgb-form .tox-invalid-icon .tox-control-wrap__status-icon-invalid{margin:0}.tox .tox-rgb-warning-note{background-color:#f5cccc;border:1px solid #f0b3b3;border-radius:3px;color:#77181f;padding:3px}.tox input.tox-invalid+.tox-invalid-icon{display:flex}.tox .tox-rgb-form .tox-rgba-preview{border:1px solid #000;flex-grow:2;margin-bottom:0}.tox:not([dir=rtl]) .tox-sv-palette{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider-thumb{margin-left:-1px}.tox:not([dir=rtl]) .tox-rgb-form label{margin-right:.5em}.tox[dir=rtl] .tox-sv-palette{margin-left:15px}.tox[dir=rtl] .tox-hue-slider{margin-left:15px}.tox[dir=rtl] .tox-hue-slider-thumb{margin-right:-1px}.tox[dir=rtl] .tox-rgb-form label{margin-left:.5em}.tox .tox-toolbar .tox-swatches,.tox .tox-toolbar__overflow .tox-swatches,.tox .tox-toolbar__primary .tox-swatches{margin:5px 0 6px 11px}.tox .tox-collection--list .tox-collection__group .tox-swatches-menu{border:0;margin:-4px -4px}.tox .tox-swatches__row{display:flex}@media (forced-colors:active){.tox .tox-swatches__row{forced-color-adjust:none}}.tox .tox-swatch{height:30px;transition:transform .15s,box-shadow .15s;width:30px}.tox .tox-swatch:focus,.tox .tox-swatch:hover{box-shadow:0 0 0 1px rgba(127,127,127,.3) inset;transform:scale(.8)}.tox .tox-swatch--remove{align-items:center;display:flex;justify-content:center}.tox .tox-swatch--remove svg path{stroke:#e74c3c}.tox .tox-swatches__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-swatches__picker-btn svg{fill:#222f3e;height:24px;width:24px}.tox .tox-swatches__picker-btn:hover{background:#f0f0f0}.tox div.tox-swatch:not(.tox-swatch--remove) svg{display:none;fill:#222f3e;height:24px;margin:calc((30px - 24px)/ 2) calc((30px - 24px)/ 2);width:24px}.tox div.tox-swatch:not(.tox-swatch--remove) svg path{fill:#fff;paint-order:stroke;stroke:#222f3e;stroke-width:2px}.tox div.tox-swatch:not(.tox-swatch--remove).tox-collection__item--enabled svg{display:block}.tox:not([dir=rtl]) .tox-swatches__picker-btn{margin-left:auto}.tox[dir=rtl] .tox-swatches__picker-btn{margin-right:auto}.tox .tox-comment{background:#fff;border:1px solid #fff;border-radius:6px;padding:8px;padding-bottom:16px;position:relative}.tox .tox-comment:hover{box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-comment.tox-comment--selected{background-color:#fff2c9;border:1px solid #ffcf30;box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-comment.tox-comment--selected:focus{border:2px solid #006ce7;margin:-1px}.tox .tox-comment.tox-comment--selected:focus:not(:first-child){margin-top:7px}.tox .tox-comment.tox-comment--selected .tox-comment__single{margin-bottom:12px}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus{position:relative}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus::after{top:-9px;pointer-events:none;position:absolute;content:"";display:block;bottom:-9px;left:-9px;right:-9px;border-radius:6px;border:2px solid #006ce7}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus:last-of-type:has(textarea):after{bottom:calc((12px + 16px + 1px) * -1)}.tox .tox-comment__header{align-items:center;color:#222f3e;display:flex;justify-content:space-between}.tox .tox-comment__date{color:#222f3e;font-size:12px;line-height:18px}.tox .tox-comment__body{color:#222f3e;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;margin-top:8px;position:relative;text-transform:initial;transition:max-height .5s cubic-bezier(0, 1, 0, 1);white-space:pre-wrap}.tox .tox-comment__body.tox-comment__body--expanded{max-height:100em;transition:max-height 1s ease-in-out}.tox .tox-comment__body.tox-comment__body--pending{transition:max-height 0s}.tox .tox-comment__body p{margin:0}.tox .tox-comment__body textarea{resize:none;white-space:normal;width:100%;font-size:16px}.tox .tox-comment__loading-text{align-items:center;color:#222f3e;display:flex;flex-direction:column;position:relative}.tox .tox-comment__loading-text>div{padding-bottom:16px}.tox .tox-comment__overlaytext{bottom:0;flex-direction:column;font-size:14px;left:0;padding:1em;position:absolute;right:0;top:0;z-index:10}.tox .tox-comment__overlaytext p{background-color:#fff;box-shadow:0 0 8px 8px #fff;color:#222f3e;text-align:center}.tox .tox-comment__overlaytext div:nth-of-type(2){font-size:.8em}.tox .tox-comment__expander{padding-top:8px}.tox .tox-comment__expander p{color:rgba(34,47,62,.7);font-size:14px;font-style:normal}.tox .tox-comment__expander p:focus{font-weight:700}.tox .tox-comment__buttonspacing{padding-top:16px;text-align:center}.tox .tox-tbtn.tox-comment__mention-btn{display:flex;width:34px;height:34px;padding:5px;justify-content:center;align-items:center;margin:0;background-color:transparent}.tox .tox-comment-thread{background:#fff;position:relative;border-radius:6px;background-color:transparent}.tox .tox-comment-thread>:not(:first-child){margin-top:8px}.tox .tox-comment-thread__overlay::after{background:#fff;bottom:0;content:"";display:flex;left:0;opacity:.9;position:absolute;right:0;top:0;z-index:5}.tox .tox-comment__reply{display:flex;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__reply>:first-child{margin-bottom:8px;width:100%}.tox .tox-comment__edit{display:flex;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__gradient::after{background:linear-gradient(rgba(255,255,255,0),#fff);bottom:0;content:"";display:block;height:5em;margin-top:-40px;position:absolute;width:100%}.tox .tox-comment__overlay{background:#fff;bottom:0;display:flex;flex-direction:column;flex-grow:1;left:0;opacity:.9;position:absolute;right:0;text-align:center;top:0;z-index:5}.tox .tox-comment__busy-spinner{align-items:center;background-color:#fff;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:20}.tox .tox-comment__scroll{display:flex;flex-direction:column;flex-shrink:1;overflow:auto;padding:12px;scroll-behavior:smooth}.tox .tox-comment__scroll:has(textarea:focus){scroll-behavior:auto}.tox .tox-comment--disappearing{transition:opacity .5s ease}.tox .tox-comment[data-transitioning-destination=deleting]{opacity:0}.tox .tox-ring-loader{width:10px;height:10px;border:1px solid #fff;border-bottom-color:transparent;border-radius:50%;display:inline-block;box-sizing:border-box;animation:tox-rotation 1s linear infinite}.tox:not([dir=rtl]) .tox-comment__edit{margin-left:8px}.tox:not([dir=rtl]) .tox-comment__buttonspacing>:last-child,.tox:not([dir=rtl]) .tox-comment__edit>:last-child,.tox:not([dir=rtl]) .tox-comment__reply>:last-child{margin-left:8px}.tox[dir=rtl] .tox-comment__edit{margin-right:8px}.tox[dir=rtl] .tox-comment__buttonspacing>:last-child,.tox[dir=rtl] .tox-comment__edit>:last-child,.tox[dir=rtl] .tox-comment__reply>:last-child{margin-right:8px}.tox .tox-user{align-items:center;display:flex}.tox .tox-user__avatar svg{fill:rgba(34,47,62,0.7)}.tox .tox-user__avatar img{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-user__name{color:#222f3e;font-size:14px;font-style:normal;font-weight:700;line-height:18px;text-transform:none}.tox:not([dir=rtl]) .tox-user__avatar img,.tox:not([dir=rtl]) .tox-user__avatar svg{margin-right:8px}.tox:not([dir=rtl]) .tox-user__avatar+.tox-user__name{margin-left:8px}.tox[dir=rtl] .tox-user__avatar img,.tox[dir=rtl] .tox-user__avatar svg{margin-left:8px}.tox[dir=rtl] .tox-user__avatar+.tox-user__name{margin-right:8px}.tox .tox-dialog-wrap{align-items:center;display:flex;justify-content:center;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1100}.tox .tox-dialog-wrap__backdrop{background-color:rgba(255,255,255,.75);bottom:0;left:0;position:absolute;right:0;top:0;z-index:1}.tox .tox-dialog-wrap__backdrop--opaque{background-color:#fff}.tox .tox-dialog{background-color:#fff;border-color:#eee;border-radius:10px;border-style:solid;border-width:0;box-shadow:0 16px 16px -10px rgba(34,47,62,.15),0 0 40px 1px rgba(34,47,62,.15);display:flex;flex-direction:column;max-height:100%;max-width:480px;overflow:hidden;position:relative;width:95vw;z-index:2}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog{align-self:flex-start;margin:8px auto;max-height:calc(100vh - 8px * 2);width:calc(100vw - 16px)}}.tox .tox-dialog-inline{z-index:1100}.tox .tox-dialog__header{align-items:center;background-color:#fff;border-bottom:none;color:#222f3e;display:flex;font-size:16px;justify-content:space-between;padding:8px 16px 0 16px;position:relative}.tox .tox-dialog__header .tox-button{z-index:1}.tox .tox-dialog__draghandle{cursor:grab;height:100%;left:0;position:absolute;top:0;width:100%}.tox .tox-dialog__draghandle:active{cursor:grabbing}.tox .tox-dialog__dismiss{margin-left:auto}.tox .tox-dialog__title{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:20px;font-style:normal;font-weight:400;line-height:1.3;margin:0;text-transform:none}.tox .tox-dialog__body{color:#222f3e;display:flex;flex:1;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;min-width:0;text-align:left;text-transform:none}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body{flex-direction:column}}.tox .tox-dialog__body-nav{align-items:flex-start;display:flex;flex-direction:column;flex-shrink:0;padding:16px 16px}@media only screen and (min-width:768px){.tox .tox-dialog__body-nav{max-width:11em}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body-nav{flex-direction:row;-webkit-overflow-scrolling:touch;overflow-x:auto;padding-bottom:0}}.tox .tox-dialog__body-nav-item{border-bottom:2px solid transparent;color:rgba(34,47,62,.7);display:inline-block;flex-shrink:0;font-size:14px;line-height:1.3;margin-bottom:8px;max-width:13em;-webkit-text-decoration:none;text-decoration:none}.tox .tox-dialog__body-nav-item:focus{background-color:rgba(0,108,231,.1)}.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid #144782;color:#144782}@media (forced-colors:active){.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid highlight;color:highlight}}.tox .tox-dialog__body-content{box-sizing:border-box;display:flex;flex:1;flex-direction:column;max-height:min(650px,calc(100vh - 110px));overflow:auto;-webkit-overflow-scrolling:touch;padding:16px 16px}.tox .tox-dialog__body-content>*{margin-bottom:0;margin-top:16px}.tox .tox-dialog__body-content>:first-child{margin-top:0}.tox .tox-dialog__body-content>:last-child{margin-bottom:0}.tox .tox-dialog__body-content>:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content a{color:#144782;cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content a:focus,.tox .tox-dialog__body-content a:hover{color:#071729;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content a:focus-visible{border-radius:1px;outline:2px solid #144782;outline-offset:2px}.tox .tox-dialog__body-content a:active{color:#000;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content svg{fill:#222f3e}.tox .tox-dialog__body-content strong{font-weight:700}.tox .tox-dialog__body-content ul{list-style-type:disc}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{padding-inline-start:2.5rem}.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{margin-bottom:16px}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content dt,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{display:block;margin-inline-end:0;margin-inline-start:0}.tox .tox-dialog__body-content .tox-form__group h1{color:#222f3e;font-size:20px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group h2{color:#222f3e;font-size:16px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group p{margin-bottom:16px}.tox .tox-dialog__body-content .tox-form__group h1:first-child,.tox .tox-dialog__body-content .tox-form__group h2:first-child,.tox .tox-dialog__body-content .tox-form__group p:first-child{margin-top:0}.tox .tox-dialog__body-content .tox-form__group h1:last-child,.tox .tox-dialog__body-content .tox-form__group h2:last-child,.tox .tox-dialog__body-content .tox-form__group p:last-child{margin-bottom:0}.tox .tox-dialog__body-content .tox-form__group h1:only-child,.tox .tox-dialog__body-content .tox-form__group h2:only-child,.tox .tox-dialog__body-content .tox-form__group p:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--center{text-align:center}.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--end{text-align:end}.tox .tox-dialog--width-lg{height:650px;max-width:1200px}.tox .tox-dialog--fullscreen{height:100%;max-width:100%}.tox .tox-dialog--fullscreen .tox-dialog__body-content{max-height:100%}.tox .tox-dialog--width-md{max-width:800px}.tox .tox-dialog--width-md .tox-dialog__body-content{overflow:auto}.tox .tox-dialog__body-content--centered{text-align:center}.tox .tox-dialog__footer{align-items:center;background-color:#fff;border-top:none;display:flex;justify-content:space-between;padding:8px 16px}.tox .tox-dialog__footer-end,.tox .tox-dialog__footer-start{display:flex}.tox .tox-dialog__busy-spinner{align-items:center;background-color:rgba(255,255,255,.75);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:3}.tox .tox-dialog__table{border-collapse:collapse;width:100%}.tox .tox-dialog__table thead th{font-weight:700;padding-bottom:8px}.tox .tox-dialog__table thead th:first-child{padding-right:8px}.tox .tox-dialog__table tbody tr{border-bottom:1px solid #626262}.tox .tox-dialog__table tbody tr:last-child{border-bottom:none}.tox .tox-dialog__table td{padding-bottom:8px;padding-top:8px}.tox .tox-dialog__table td:first-child{padding-right:8px}.tox .tox-dialog__iframe{min-height:200px}.tox .tox-dialog__iframe.tox-dialog__iframe--opaque{background:#fff}.tox .tox-navobj-bordered{position:relative}.tox .tox-navobj-bordered::before{border:1px solid #eee;border-radius:6px;content:'';inset:0;opacity:1;pointer-events:none;position:absolute;z-index:1}.tox .tox-navobj-bordered iframe{border-radius:6px}.tox .tox-navobj-bordered-focus.tox-navobj-bordered::before{border-color:#006ce7;box-shadow:0 0 0 1px #006ce7;outline:0}.tox .tox-dialog__popups{position:absolute;width:100%;z-index:1100}.tox .tox-dialog__body-iframe{display:flex;flex:1;flex-direction:column}.tox .tox-dialog__body-iframe .tox-navobj{display:flex;flex:1}.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2){flex:1;height:100%}.tox .tox-dialog-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-dialog-dock-fadein{opacity:1;visibility:visible}.tox .tox-dialog-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein{transition-delay:0s}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav{margin-right:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav-item:not(:first-child){margin-left:8px}}.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-end>*,.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-start>*{margin-left:8px}.tox[dir=rtl] .tox-dialog__body{text-align:right}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav{margin-left:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav-item:not(:first-child){margin-right:8px}}.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-end>*,.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-start>*{margin-right:8px}.tox .tox-dropdown-content{box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);position:fixed;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;overflow:auto;height:fit-content;width:fit-content;border-radius:var(--tox-private-panel-border-radius,6px);background-color:var(--tox-private-background-color,#fff);max-height:50vh}.tox .tox-dropdown-content .tox-menu{width:100%;box-shadow:none}body.tox-dialog__disable-scroll{overflow:hidden}.tox .tox-dropzone-container{display:flex;flex:1}.tox .tox-dropzone{align-items:center;background:#fff;border:2px dashed #eee;box-sizing:border-box;display:flex;flex-direction:column;flex-grow:1;justify-content:center;min-height:100px;padding:10px}.tox .tox-dropzone p{color:rgba(34,47,62,.7);margin:0 0 16px 0}.tox .tox-edit-area{display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-edit-area::before{border:2px solid #006ce7;border-radius:4px;content:'';inset:0;opacity:0;pointer-events:none;position:absolute;transition:opacity .15s;z-index:1}@media (forced-colors:active){.tox .tox-edit-area::before{border:2px solid highlight}}.tox .tox-edit-area__iframe{background-color:#fff;border:0;box-sizing:border-box;flex:1;height:100%;position:absolute;width:100%}.tox.tox-edit-focus .tox-edit-area::before{opacity:1}.tox.tox-inline-edit-area{border:1px dotted #eee}.tox .tox-expandable-box{background:var(--tox-private-background-color,#fff);border-radius:var(--tox-private-control-border-radius,6px);border:1px solid var(--tox-private-border-color,#eee);display:flex;flex-direction:column;justify-content:stretch;overflow:hidden}.tox .tox-expandable-box>.tox-button{margin:0 var(--tox-private-pad-md,16px) var(--tox-private-pad-md,16px)}.tox .tox-expandable-box__title{align-items:center;background:hsl(from var(--tox-private-color-tint,#006ce7) h s l / 10%);border-bottom:1px solid var(--tox-private-border-color,#eee);color:var(--tox-private-text-color,#222f3e);display:flex;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);gap:var(--tox-private-pad-sm,8px);min-width:0;padding:var(--tox-private-pad-sm,8px) var(--tox-private-pad-md,16px)}.tox .tox-expandable-box__title .tox-icon{flex-shrink:0;height:var(--tox-private-base-value,16px);fill:var(--tox-private-text-color,#222f3e)}.tox .tox-expandable-box__title-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-expandable-box__content{margin:var(--tox-private-pad-md,16px);overflow:auto}.tox .tox-expandable-box__content--overflowing{position:relative;overflow:hidden}.tox .tox-expandable-box__content--overflowing::after{content:'';position:absolute;bottom:0;left:0;right:0;height:min(100px,100%);pointer-events:none;background:linear-gradient(to bottom,transparent 50%,var(--tox-private-background-color,#fff))}.tox .tox-expandable-box__content--expanded{max-height:fit-content}.tox .tox-control-wrap{flex:1;position:relative}.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid,.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown,.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid{display:none}.tox .tox-control-wrap svg{display:block}.tox .tox-control-wrap__status-icon-wrap{position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-control-wrap__status-icon-invalid svg{fill:#c00}.tox .tox-control-wrap__status-icon-unknown svg{fill:orange}.tox .tox-control-wrap__status-icon-valid svg{fill:green}.tox:not([dir=rtl]) .tox-control-wrap--status-invalid .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-unknown .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-valid .tox-textfield{padding-right:32px}.tox:not([dir=rtl]) .tox-control-wrap__status-icon-wrap{right:4px}.tox[dir=rtl] .tox-control-wrap--status-invalid .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-unknown .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-valid .tox-textfield{padding-left:32px}.tox[dir=rtl] .tox-control-wrap__status-icon-wrap{left:4px}.tox .tox-custom-preview{border-color:#eee;border-radius:6px;border-style:solid;border-width:1px;flex:1;padding:8px}.tox .tox-autocompleter{max-width:25em}.tox .tox-autocompleter .tox-menu{box-sizing:border-box;max-width:25em}.tox .tox-autocompleter .tox-autocompleter-highlight{font-weight:700}.tox .tox-color-input{display:flex;position:relative;z-index:1}.tox .tox-color-input .tox-textfield{z-index:-1}.tox .tox-color-input span{border-color:rgba(34 47 62 / 20%);border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;height:24px;position:absolute;top:6px;width:24px}@media (forced-colors:active){.tox .tox-color-input span{border-color:currentColor;border-width:2px!important;forced-color-adjust:none}}.tox .tox-color-input span:focus:not([aria-disabled=true]),.tox .tox-color-input span:hover:not([aria-disabled=true]){border-color:#006ce7;cursor:pointer}.tox .tox-color-input span::before{background-image:linear-gradient(45deg,rgba(0,0,0,.25) 25%,transparent 25%),linear-gradient(-45deg,rgba(0,0,0,.25) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.25) 75%),linear-gradient(-45deg,transparent 75%,rgba(0,0,0,.25) 75%);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px;border:1px solid #fff;border-radius:6px;box-sizing:border-box;content:'';height:24px;left:-1px;position:absolute;top:-1px;width:24px;z-index:-1}@media (forced-colors:active){.tox .tox-color-input span::before{border:none}}.tox .tox-color-input span[aria-disabled=true]{cursor:not-allowed}.tox:not([dir=rtl]) .tox-color-input .tox-textfield{padding-left:36px}.tox:not([dir=rtl]) .tox-color-input span{left:6px}.tox[dir=rtl] .tox-color-input .tox-textfield{padding-right:36px}.tox[dir=rtl] .tox-color-input span{right:6px}.tox .tox-label,.tox .tox-toolbar-label{color:rgba(34,47,62,.7);display:block;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;padding:0 8px 0 0;text-transform:none;white-space:nowrap}.tox .tox-toolbar-label{padding:0 8px}.tox[dir=rtl] .tox-label{padding:0 0 0 8px}.tox .tox-form{display:flex;flex:1;flex-direction:column}.tox .tox-form__group{box-sizing:border-box;margin-bottom:4px}.tox .tox-form-group--maximize{flex:1}.tox .tox-form__group--error{color:#c00}.tox .tox-form__group--collection{display:flex}.tox .tox-form__grid{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}.tox .tox-form__grid--2col>.tox-form__group{width:calc(50% - (8px / 2))}.tox .tox-form__grid--3col>.tox-form__group{width:calc(100% / 3 - (8px / 2))}.tox .tox-form__grid--4col>.tox-form__group{width:calc(25% - (8px / 2))}.tox .tox-form__controls-h-stack{align-items:center;display:flex}.tox .tox-form__group--inline{align-items:center;display:flex}.tox .tox-form__group--stretched{display:flex;flex:1;flex-direction:column}.tox .tox-form__group--stretched .tox-textarea{flex:1}.tox .tox-form__group--stretched .tox-navobj{display:flex;flex:1}.tox .tox-form__group--stretched .tox-navobj :nth-child(2){flex:1;height:100%}.tox:not([dir=rtl]) .tox-form__controls-h-stack>:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-form__controls-h-stack>:not(:first-child){margin-right:4px}.tox .tox-lock.tox-locked .tox-lock-icon__unlock,.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock{display:none}.tox .tox-context-form__group .tox-button--icon.tox-lock-context-form-size-input{margin-left:8px;margin-right:8px}.tox .tox-listboxfield .tox-listbox--select,.tox .tox-textarea,.tox .tox-textarea-wrap .tox-textarea:focus,.tox .tox-textfield,.tox .tox-toolbar-textfield{appearance:none;background-color:#fff;border-color:#eee;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#222f3e;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 5.5px;resize:none;width:100%}.tox .tox-textarea[disabled],.tox .tox-textfield[disabled],.tox .tox-toolbar-textfield[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-custom-editor:focus-within,.tox .tox-focusable-wrapper:focus,.tox .tox-listboxfield .tox-listbox--select:focus,.tox .tox-textarea-wrap:focus-within,.tox .tox-textarea:focus,.tox .tox-textfield:focus,.tox .tox-toolbar-textfield:focus{background-color:#fff;border-color:#006ce7;box-shadow:0 0 0 1px #006ce7;outline:0}.tox .tox-toolbar-textfield{max-width:250px;min-height:unset;height:28px;margin:5px 0 6px 0}.tox .tox-naked-btn{background-color:transparent;border:0;border-color:transparent;box-shadow:unset;color:#006ce7;cursor:pointer;display:block;margin:0;padding:0}.tox .tox-naked-btn svg{display:block;fill:#222f3e}.tox .tox-textfield-size{width:80px}.tox:not([dir=rtl]) .tox-toolbar-textfield+*{margin-left:4px}.tox[dir=rtl] .tox-toolbar-textfield+*{margin-right:4px}.tox .tox-listboxfield{cursor:pointer;position:relative}.tox .tox-listboxfield .tox-listbox--select[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-listbox__select-label{cursor:default;flex:1;margin:0 4px}.tox .tox-listbox__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-listbox__select-chevron svg{fill:#222f3e}@media (forced-colors:active){.tox .tox-listbox__select-chevron svg{fill:currentColor!important}}.tox .tox-listboxfield .tox-listbox--select{align-items:center;display:flex}.tox:not([dir=rtl]) .tox-listboxfield svg{right:8px}.tox[dir=rtl] .tox-listboxfield svg{left:8px}.tox .tox-selectfield{cursor:pointer;position:relative}.tox .tox-selectfield select{appearance:none;background-color:#fff;border-color:#eee;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#222f3e;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 5.5px;resize:none;width:100%}.tox .tox-selectfield select[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-selectfield select::-ms-expand{display:none}.tox .tox-selectfield select:focus{background-color:#fff;border-color:#006ce7;box-shadow:0 0 0 1px #006ce7;outline:0}.tox .tox-selectfield svg{pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-selectfield select option:checked{background-color:revert;color:revert}.tox:not([dir=rtl]) .tox-selectfield select[size="0"],.tox:not([dir=rtl]) .tox-selectfield select[size="1"]{padding-right:24px}.tox:not([dir=rtl]) .tox-selectfield svg{right:8px}.tox[dir=rtl] .tox-selectfield select[size="0"],.tox[dir=rtl] .tox-selectfield select[size="1"]{padding-left:24px}.tox[dir=rtl] .tox-selectfield svg{left:8px}.tox .tox-textarea-wrap{border-color:#eee;border-radius:6px;border-style:solid;border-width:1px;display:flex;flex:1;overflow:hidden}.tox .tox-textarea{appearance:textarea;white-space:pre-wrap}.tox .tox-textarea-wrap .tox-textarea{border:none}.tox .tox-textarea-wrap .tox-textarea:focus{border:none}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}.tox .tox-help__more-link{list-style:none;margin-top:1em}.tox .tox-imagepreview{background-color:#666;height:380px;overflow:hidden;position:relative;width:100%}.tox .tox-imagepreview.tox-imagepreview__loaded{overflow:auto}.tox .tox-imagepreview__container{display:flex;left:100vw;position:absolute;top:100vw}.tox .tox-imagepreview__image{background:url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==)}.tox .tox-image-tools .tox-spacer{flex:1}.tox .tox-image-tools .tox-bar{align-items:center;display:flex;height:60px;justify-content:center}.tox .tox-image-tools .tox-imagepreview,.tox .tox-image-tools .tox-imagepreview+.tox-bar{margin-top:8px}.tox .tox-image-tools .tox-croprect-block{background:#000;opacity:.5;position:absolute;zoom:1}.tox .tox-image-tools .tox-croprect-handle{border:2px solid #fff;height:20px;left:0;position:absolute;top:0;width:20px}.tox .tox-image-tools .tox-croprect-handle-move{border:0;cursor:move;position:absolute}.tox .tox-image-tools .tox-croprect-handle-nw{border-width:2px 0 0 2px;cursor:nw-resize;left:100px;margin:-2px 0 0 -2px;top:100px}.tox .tox-image-tools .tox-croprect-handle-ne{border-width:2px 2px 0 0;cursor:ne-resize;left:200px;margin:-2px 0 0 -20px;top:100px}.tox .tox-image-tools .tox-croprect-handle-sw{border-width:0 0 2px 2px;cursor:sw-resize;left:100px;margin:-20px 2px 0 -2px;top:200px}.tox .tox-image-tools .tox-croprect-handle-se{border-width:0 2px 2px 0;cursor:se-resize;left:200px;margin:-20px 0 0 -20px;top:200px}.tox .tox-image-selector-loading-spinner-wrapper{display:flex;justify-content:center;align-items:center}.tox .tox-image-selector-loading-spinner{position:absolute;width:min(24px,30%);aspect-ratio:1/1;border-radius:50%;border:3px solid #006ce7;border-bottom-color:transparent;animation:tox-rotation 1s linear infinite}.tox .tox-toolbar .tox-image-selector,.tox .tox-toolbar__overflow .tox-image-selector,.tox .tox-toolbar__primary .tox-image-selector{margin:5px 0 6px 11px}.tox .tox-image-selector-menu{border:0;border-radius:3px;margin:-4px -4px;padding:4px}.tox .tox-image-selector-menu .tox-collection--list .tox-collection__group{border:0;padding:0;margin:-4px -4px}.tox .tox-image-selector-menu .tox-collection__item{max-width:48px}.tox .tox-image-selector-menu .tox-collection__item-icon{border:1px solid #eee;border-radius:3px;margin-bottom:4px;width:100%}.tox .tox-image-selector-menu .tox-collection__item-icon svg path{stroke:#c00}.tox .tox-image-selector__row{display:flex}.tox .tox-image-selector--remove{align-items:center;display:flex;justify-content:center}.tox .tox-image-selector--remove svg path{stroke:#c00}.tox .tox-image-selector-image-wrapper{width:46px;height:46px;display:flex;align-items:center;justify-content:center}.tox .tox-image-selector-image-img{max-width:100%;max-height:100%}.tox .tox-image-selector__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-image-selector__picker-btn svg{fill:#222f3e;height:24px;width:24px}.tox .tox-image-selector__picker-btn:hover{background:#f0f0f0}.tox .tox-context-toolbar{position:absolute;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;z-index:1150;background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color,#222f3e);border:1px solid #e3e3e3;border-radius:6px;box-shadow:0 2px 8px rgba(0,0,0,.08);padding:8px}.tox .tox-context-toolbar[popover]{inset:auto;margin:0}.tox .tox-context-toolbar .tox-toolbar{display:flex;flex-wrap:nowrap;gap:8px}.tox .tox-context-toolbar .tox-toolbar__group{display:flex;flex-wrap:nowrap;flex-shrink:0;gap:8px;align-items:center;padding:0}.tox .tox-insert-table-picker{background-color:#fff;display:flex;flex-wrap:wrap;width:170px}.tox .tox-insert-table-picker>div{border-color:#eee;border-style:solid;border-width:0 1px 1px 0;box-sizing:border-box;height:17px;width:17px}.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker{margin:-4px -4px}.tox .tox-insert-table-picker .tox-insert-table-picker__selected{background-color:#006ce7;border-color:#eee}@media (forced-colors:active){.tox .tox-insert-table-picker .tox-insert-table-picker__selected{border-color:Highlight;filter:contrast(50%)}}.tox .tox-insert-table-picker__label{color:rgba(34,47,62,.7);display:block;font-size:14px;padding:4px;text-align:center;width:100%}.tox:not([dir=rtl]) .tox-insert-table-picker>div:nth-child(10n){border-right:0}.tox[dir=rtl] .tox-insert-table-picker>div:nth-child(10n+1){border-right:0}.tox-mentions__card-common{z-index:1200}.tox.tox-mentions__card{background:#fff;border:1px solid #eee;display:flex;padding:4px 8px}.tox.tox-mentions__card .tox-mentions__container{display:flex;flex-direction:column;align-self:center;margin:0 4px}.tox .tox-mentions__avatar{width:42px;height:42px;border-radius:50%;margin-right:4px}.tox .tox-mentions__username{font-size:14px;line-height:21px;color:#222f3e}.tox .tox-mentions__description{font-size:12px;line-height:21px;color:rgba(34,47,62,.7)}.tox .tox-collection__item--active .tox-mentions__description,.tox .tox-collection__item--active .tox-mentions__username{color:inherit}.tox .tox-menu{background-color:#fff;border:1px solid transparent;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);display:inline-block;overflow:hidden;vertical-align:top;z-index:1150}.tox .tox-menu.tox-collection.tox-collection--list{padding:0 4px}.tox .tox-menu.tox-collection.tox-collection--toolbar{padding:8px}.tox .tox-menu.tox-collection.tox-collection--grid{padding:8px}@media only screen and (min-width:768px){.tox .tox-menu .tox-collection__item-label{overflow-wrap:break-word;word-break:normal}.tox .tox-dialog__popups .tox-menu .tox-collection__item-label{word-break:break-all}}.tox .tox-menu__label blockquote,.tox .tox-menu__label code,.tox .tox-menu__label h1,.tox .tox-menu__label h2,.tox .tox-menu__label h3,.tox .tox-menu__label h4,.tox .tox-menu__label h5,.tox .tox-menu__label h6,.tox .tox-menu__label p{margin:0}.tox .tox-menubar{background:repeating-linear-gradient(transparent 0 1px,transparent 1px 39px) center top 39px/100% calc(100% - 39px) no-repeat;background-color:#fff;display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;grid-column:1/-1;grid-row:1;padding:0 11px 0 12px}.tox .tox-promotion+.tox-menubar{grid-column:1}@media (max-width:480px){.tox:not(.tox-tinymce-inline) .tox-menubar{flex-wrap:nowrap;min-width:0;min-height:39px;overflow-x:auto;overflow-y:hidden}}.tox .tox-promotion{background:repeating-linear-gradient(transparent 0 1px,transparent 1px 39px) center top 39px/100% calc(100% - 39px) no-repeat;background-color:#fff;grid-column:2;grid-row:1;padding-inline-end:8px;padding-inline-start:4px;padding-top:5px}.tox .tox-promotion-link{align-items:unsafe center;background-color:#e8f1f8;border-radius:5px;color:#086be6;cursor:pointer;display:flex;font-size:14px;height:26.6px;padding:4px 8px;white-space:nowrap}.tox .tox-promotion-link:hover{background-color:#b4d7ff}.tox .tox-promotion-link:focus{background-color:#d9edf7}.tox .tox-mbtn{align-items:center;background:#fff;border:0;border-radius:3px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;justify-content:center;margin:5px 1px 6px 0;outline:0;padding:0 4px;text-transform:none;width:auto}.tox .tox-mbtn[disabled]{background-color:#fff;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-mbtn:focus:not(:disabled){background:#fff;border:0;box-shadow:none;color:#222f3e;position:relative;z-index:1}.tox .tox-mbtn:focus:not(:disabled)::after{pointer-events:none;border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-mbtn:focus:not(:disabled)::after{border:2px solid highlight}}.tox .tox-mbtn--active,.tox .tox-mbtn:not(:disabled).tox-mbtn--active:focus{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active){background:#f0f0f0;border:0;box-shadow:none;color:#222f3e}.tox .tox-mbtn__select-label{cursor:default;font-weight:400;margin:0 4px}.tox .tox-mbtn[disabled] .tox-mbtn__select-label{cursor:not-allowed}.tox .tox-mbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px;display:none}.tox .tox-notification{border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;display:grid;font-size:14px;font-weight:400;grid-template-columns:minmax(40px,1fr) auto minmax(40px,1fr);margin-left:auto;margin-right:auto;margin-top:4px;opacity:0;padding:4px;transition:transform .1s ease-in,opacity 150ms ease-in;width:max-content}.tox .tox-notification a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification p{font-size:14px;font-weight:400}.tox .tox-notification:focus{border-color:#006ce7;box-shadow:0 0 0 1px #006ce7}.tox .tox-notification--in{opacity:1}.tox .tox-notification--success{background-color:#e4eeda;border-color:#d7e6c8;color:#222f3e}.tox .tox-notification--success p{color:#222f3e}.tox .tox-notification--success a{color:#517342}.tox .tox-notification--success a:focus,.tox .tox-notification--success a:hover{color:#24321d;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--success a:focus-visible{border-radius:1px;outline:2px solid #517342;outline-offset:2px}.tox .tox-notification--success a:active{color:#0d120a;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--success svg{fill:#222f3e}.tox .tox-notification--error{background-color:#f5cccc;border-color:#f0b3b3;color:#222f3e}.tox .tox-notification--error p{color:#222f3e}.tox .tox-notification--error a{color:#77181f}.tox .tox-notification--error a:focus,.tox .tox-notification--error a:hover{color:#220709;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--error a:focus-visible{border-radius:1px;outline:2px solid #77181f;outline-offset:2px}.tox .tox-notification--error a:active{color:#000;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--error svg{fill:#222f3e}.tox .tox-notification--warn,.tox .tox-notification--warning{background-color:#fff5cc;border-color:#fff0b3;color:#222f3e}.tox .tox-notification--warn p,.tox .tox-notification--warning p{color:#222f3e}.tox .tox-notification--warn a,.tox .tox-notification--warning a{color:#7a6e25}.tox .tox-notification--warn a:focus,.tox .tox-notification--warn a:hover,.tox .tox-notification--warning a:focus,.tox .tox-notification--warning a:hover{color:#2c280d;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--warn a:focus-visible,.tox .tox-notification--warning a:focus-visible{border-radius:1px;outline:2px solid #7a6e25;outline-offset:2px}.tox .tox-notification--warn a:active,.tox .tox-notification--warning a:active{color:#050502;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--warn svg,.tox .tox-notification--warning svg{fill:#222f3e}.tox .tox-notification--info{background-color:#d6e7fb;border-color:#c1dbf9;color:#222f3e}.tox .tox-notification--info p{color:#222f3e}.tox .tox-notification--info a{color:#2a64a6}.tox .tox-notification--info a:focus,.tox .tox-notification--info a:hover{color:#163355;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--info a:focus-visible{border-radius:1px;outline:2px solid #2a64a6;outline-offset:2px}.tox .tox-notification--info a:active{color:#0b1a2c;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--info svg{fill:#222f3e}.tox .tox-notification__body{align-self:center;color:#222f3e;font-size:14px;grid-column-end:3;grid-column-start:2;grid-row-end:2;grid-row-start:1;text-align:center;white-space:normal;word-break:break-all;word-break:break-word}.tox .tox-notification__body>*{margin:0}.tox .tox-notification__body>*+*{margin-top:1rem}.tox .tox-notification__icon{align-self:center;grid-column-end:2;grid-column-start:1;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification__icon svg{display:block}.tox .tox-notification__dismiss{align-self:start;grid-column-end:4;grid-column-start:3;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification .tox-progress-bar{grid-column-end:4;grid-column-start:1;grid-row-end:3;grid-row-start:2;justify-self:center}.tox .tox-notification-container-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-notification-container-dock-fadein{opacity:1;visibility:visible}.tox .tox-notification-container-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-notification-container-dock-transition.tox-notification-container-dock-fadein{transition-delay:0s}.tox .tox-onboarding-overlay{height:100%;background-color:#f0f0f0;position:absolute;top:0;left:0;right:0;z-index:1302;overflow:auto;display:grid;justify-content:center;align-items:center}.tox .tox-onboarding-dialog{max-width:512px;background-color:#fff;display:flex;flex-direction:column;box-shadow:0 16px 16px -10px rgba(34,47,62,.15),0 0 40px 1px rgba(34,47,62,.15);border-radius:12px;margin:8px}.tox .tox-onboarding-dialog .tox-onboarding-header{color:#222f3e;display:flex;justify-content:center;align-items:center;font-size:20px;margin:24px 0 8px}.tox .tox-onboarding-dialog .tox-onboarding-step{display:grid;grid-template-columns:min-content 1fr min-content;align-items:center;margin:0 24px}.tox .tox-onboarding-dialog .tox-onboarding-step:not(:last-child){border-bottom:1px solid #e3e3e3}.tox .tox-onboarding-dialog .tox-onboarding-step--number{width:24px;aspect-ratio:1/1;border-radius:50%;border:1px solid #00ad0e;display:flex;justify-content:center;align-items:center;font-size:12px;font-weight:700;color:#00ad0e}.tox .tox-onboarding-dialog .tox-onboarding-step--body{padding:24px 0 24px 16px}.tox .tox-onboarding-dialog .tox-onboarding-step--body-header{color:#222f3e;font-size:14px;font-weight:700;margin-bottom:4px}.tox .tox-onboarding-dialog .tox-onboarding-step--body-details{color:rgba(34,47,62,.7);font-size:14px}.tox .tox-onboarding-dialog .tox-onboarding-step--action{padding-left:24px}.tox .tox-onboarding-dialog .tox-onboarding-footer{background-color:#f0f0f0;display:flex;justify-content:space-between;align-items:center;padding:16px 24px;border-bottom-left-radius:12px;border-bottom-right-radius:12px}.tox .tox-onboarding-dialog .tox-onboarding-footer p{display:flex;align-items:center;justify-content:center;gap:4px;font-size:14px;color:rgba(34,47,62,.7)}.tox .tox-onboarding-dialog svg{width:24px;fill:rgba(34,47,62,0.7)}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin{display:grid;align-items:center;grid-template-columns:min-content 1fr min-content;border-bottom:1px solid #e3e3e3;padding:24px 0;margin:0 16px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body{margin:0 16px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body .tox-promotion-dialog-plugin-header{color:#222f3e;font-size:14px;font-weight:700;margin-bottom:4px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body .tox-promotion-dialog-plugin-details{color:rgba(34,47,62,.7);font-size:14px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--icon{display:grid;place-content:center;width:56px;height:56px;line-height:24px;font-size:24px;border-radius:12px;background:linear-gradient(180deg,#fff 24%,#f0f0f0 100%);box-shadow:0 1px 1px 0 #222f3e12,0 3px 6px 0 #222f3e06;color:#006ce7}.tox .tox-promotion-dialog--subtitle{margin:16px;color:rgba(34,47,62,.7);font-size:14px}.tox .tox-promotion-dialog--explore{text-align:center;margin:16px;color:rgba(34,47,62,.7);font-size:14px}.tox .tox-promotion-dialog--explore a{color:#006ce7}.tox .tox-promotion-dialog--footer{background-color:#f0f0f0;color:rgba(34,47,62,.7);font-size:12px;text-align:center;padding:16px}.tox .tox-promotion-button{display:flex;align-items:center;height:26.6px;line-height:26.6px;font-size:14px;font-weight:700;background-color:#f1ebf9;color:#851aff;padding:8px 16px;cursor:pointer;white-space:nowrap;border-radius:5px}.tox .tox-promotion-button:focus{outline:1px solid #851AFF}.tox .tox-onboarding-dialog a,.tox .tox-promotion-dialog--footer a{color:rgba(34,47,62,.7);cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-onboarding-dialog a:focus,.tox .tox-onboarding-dialog a:hover,.tox .tox-promotion-dialog--footer a:focus,.tox .tox-promotion-dialog--footer a:hover{color:#071729;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-onboarding-dialog a:focus-visible,.tox .tox-promotion-dialog--footer a:focus-visible{border-radius:1px;outline:2px solid #144782;outline-offset:2px}.tox .tox-onboarding-dialog a:active,.tox .tox-promotion-dialog--footer a:active{color:#000;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-pop{display:inline-block;position:relative}.tox .tox-pop--resizing{transition:width .1s ease}.tox .tox-pop--resizing .tox-toolbar,.tox .tox-pop--resizing .tox-toolbar__group{flex-wrap:nowrap}.tox .tox-pop--transition{transition:.15s ease;transition-property:left,right,top,bottom}.tox .tox-pop--transition::after,.tox .tox-pop--transition::before{transition:all .15s,visibility 0s,opacity 75ms ease 75ms}.tox .tox-pop__dialog{background-color:#fff;border:1px solid #eee;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);min-width:0;overflow:hidden}.tox .tox-pop__dialog>:not(.tox-toolbar){margin:4px 4px 4px 8px}.tox .tox-pop__dialog .tox-toolbar{background-color:transparent;margin-bottom:-1px}.tox .tox-pop::after,.tox .tox-pop::before{border-style:solid;content:'';display:block;height:0;opacity:1;position:absolute;width:0}@media (forced-colors:active){.tox .tox-pop::after,.tox .tox-pop::before{content:none}}.tox .tox-pop.tox-pop--inset::after,.tox .tox-pop.tox-pop--inset::before{opacity:0;transition:all 0s .15s,visibility 0s,opacity 75ms ease}.tox .tox-pop.tox-pop--bottom::after,.tox .tox-pop.tox-pop--bottom::before{left:50%;top:100%}.tox .tox-pop.tox-pop--bottom::after{border-color:#fff transparent transparent transparent;border-width:8px;margin-left:-8px;margin-top:-1px}.tox .tox-pop.tox-pop--bottom::before{border-color:#eee transparent transparent transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--top::after,.tox .tox-pop.tox-pop--top::before{left:50%;top:0;transform:translateY(-100%)}.tox .tox-pop.tox-pop--top::after{border-color:transparent transparent #fff transparent;border-width:8px;margin-left:-8px;margin-top:1px}.tox .tox-pop.tox-pop--top::before{border-color:transparent transparent #eee transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--left::after,.tox .tox-pop.tox-pop--left::before{left:0;top:calc(50% - 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--left::after{border-color:transparent #fff transparent transparent;border-width:8px;margin-left:-15px}.tox .tox-pop.tox-pop--left::before{border-color:transparent #eee transparent transparent;border-width:10px;margin-left:-19px}.tox .tox-pop.tox-pop--right::after,.tox .tox-pop.tox-pop--right::before{left:100%;top:calc(50% + 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--right::after{border-color:transparent transparent transparent #fff;border-width:8px;margin-left:-1px}.tox .tox-pop.tox-pop--right::before{border-color:transparent transparent transparent #eee;border-width:10px;margin-left:-1px}.tox .tox-pop.tox-pop--align-left::after,.tox .tox-pop.tox-pop--align-left::before{left:20px}.tox .tox-pop.tox-pop--align-right::after,.tox .tox-pop.tox-pop--align-right::before{left:calc(100% - 20px)}.tox.tox-edit-focus .tox-sidebar__resize-handle:hover::before{border-left:0 solid transparent}.tox .tox-sidebar-wrap{--tox-private-min-editing-area-width:280px;flex-grow:1;min-height:0}.tox .tox-sidebar-wrap:not(.tox .tox-sidebar-wrap--resizable){display:flex;flex-direction:row}.tox .tox-sidebar-wrap--resizable{display:grid;grid-template-columns:minmax(var(--tox-private-min-editing-area-width),1fr) minmax(0,max-content);grid-template-rows:minmax(0,1fr)}.tox .tox-sidebar{background-color:var(--tox-private-sidebar-background-color,#f0f0f0);display:flex;flex-direction:row;justify-content:flex-end}.tox .tox-sidebar__slider{display:flex;overflow:hidden}.tox .tox-sidebar-wrap--resizable .tox-sidebar__pane-container{width:var(--tox-private-requested-sidebar-width)}.tox .tox-sidebar-wrap--resizable .tox-sidebar--sliding-growing .tox-sidebar__pane-container,.tox .tox-sidebar-wrap--resizable .tox-sidebar--sliding-shrinking .tox-sidebar__pane-container{width:var(--tox-private-resolved-sidebar-width);min-width:var(--tox-private-resolved-sidebar-width)}.tox .tox-sidebar__pane-container{display:flex}.tox .tox-sidebar-wrap--resizable .tox-sidebar__resize-handle{display:block}.tox .tox-sidebar__resize-handle{display:none;position:relative;width:var(--tox-private-sidebar-resize-handle-width,1px);height:100%;cursor:col-resize;background-color:var(--tox-private-separator-color,#e3e3e3);z-index:1}.tox .tox-sidebar__resize-handle::before{content:'';position:absolute;top:0;bottom:0;width:8px;box-sizing:border-box;border-left:0 solid transparent;transition:border-left-width .15s ease,border-left-color .15s ease}.tox .tox-sidebar__resize-handle:hover::before{border-left:3px solid #006ce7}.tox .tox-sidebar-wrap--resizable .tox-sidebar__pane{width:calc(100% - var(--tox-private-sidebar-resize-handle-width,1px))}.tox .tox-sidebar__pane{display:flex}.tox .tox-sidebar--sliding-closed{opacity:0}.tox .tox-sidebar--sliding-open{opacity:1}.tox .tox-sidebar--sliding-growing,.tox .tox-sidebar--sliding-shrinking{transition:width .5s ease,opacity .5s ease}.tox .tox-sidebar-content{display:flex;flex-direction:column;position:relative;width:100%;height:100%}.tox .tox-sidebar-content__header{align-items:center;display:flex;justify-content:space-between;border-bottom:var(--tox-private-tinymceai-border-width,1px) solid var(--tox-private-neutral-20,#e3e3e3);padding:var(--tox-private-pad-sm,8px) 12px;background:var(--tox-private-background-color,#fff)}.tox .tox-sidebar-content__header .tox-sidebar-content__header-close-button{margin-left:auto}.tox .tox-sidebar-content__actions{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-sidebar-content__title{font-size:var(--tox-private-font-size-lg, 20px);font-weight:var(--tox-private-font-weight-normal,normal);padding:var(--tox-private-pad-sm,8px) 0 var(--tox-private-pad-sm,8px) 0;color:var(--tox-private-text-color,#222f3e);line-height:28px}.tox .tox-floating-sidebar{--tox-private-floating-sidebar-width:min(380px, 90vw);--tox-private-floating-sidebar-height:80vh;position:fixed;z-index:var(--tox-private-z-index-floatingsidebar,1050);box-shadow:var(--tox-private-floating-sidebar-box-shadow,0 0 40px 1px rgba(34,47,62,.15),0 16px 16px -10px rgba(34,47,62,.15),0 0 0 1px rgba(34,47,62,.15));width:var(--tox-private-floating-sidebar-width);height:var(--tox-private-floating-sidebar-height);background-color:var(--tox-private-floating-sidebar-background-color,#f0f0f0);border-radius:var(--tox-private-panel-border-radius,6px);overflow:hidden}.tox .tox-floating-sidebar:not(.tox .tox-floating-sidebar--open){display:none}.tox .tox-floating-sidebar--open{display:block}.tox .tox-floating-sidebar__content-wrapper{width:100%;height:100%;display:flex;flex-direction:column}.tox .tox-floating-sidebar__header{position:relative}.tox .tox-floating-sidebar .tox-ai__scroll:has(.tox-card-list){background-color:inherit}.tox .tox-ai .tox-expandable-box{margin-bottom:calc(var(--tox-private-pad-md,16px) * .75)}.tox .tox-ai .tox-expandable-box .tox-expandable-box__content{margin:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-md,16px) * .75)}.tox .tox-ai .tox-expandable-box>.tox-button{margin:0 calc(var(--tox-private-pad-md,16px) * .75) var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-expandable-box:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#006ce7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-sidebar-content__header{border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-background-color,#fff);padding:calc(var(--tox-private-pad-sm,8px) - var(--tox-private-tinymceai-focus-border-width,2px)) calc(12px - var(--tox-private-tinymceai-focus-border-width,2px));border-bottom:1px solid var(--tox-private-separator-color,#e3e3e3)}.tox .tox-ai .tox-sidebar-content__header:focus-visible:not(:disabled){border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#006ce7);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-sidebar-content__loader{align-items:center;display:flex;height:100%;justify-content:center;width:100%;z-index:1000}.tox .tox-ai .tox-sidebar-content__title{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin-right:auto}.tox .tox-ai .tox-sidebar-content__title:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#006ce7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-sidebar-content__actions .tox-ai__complete-review{display:flex;align-items:center;gap:6px;padding-top:var(--tox-private-pad-xs,4px);padding-bottom:var(--tox-private-pad-xs,4px);padding-left:var(--tox-private-pad-md,16px);padding-right:var(--tox-private-pad-md,16px)}.tox .tox-ai .tox-menu{width:-webkit-fill-available;width:-moz-available;width:stretch;overflow:visible}.tox .tox-ai .tox-ai__user-prompt{display:flex;flex-direction:column;margin-left:auto;gap:inherit;width:100%}.tox .tox-ai .tox-ai__user-prompt__context{margin-left:auto;display:flex;flex-direction:column;gap:inherit;align-items:end;width:100%}.tox .tox-ai .tox-ai__user-prompt__context .tox-tag{max-width:100%}.tox .tox-ai .tox-ai__user-prompt__text{background-color:var(--tox-private-background-secondary,#f0f0f0);padding:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-md,16px) * .75);border-radius:var(--tox-private-control-border-radius,6px);max-width:80%;align-self:flex-end;color:var(--tox-private-text-color,#222f3e);white-space:pre-wrap}.tox .tox-ai .tox-ai__user-prompt__text:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#006ce7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-ai__scroll{overflow-y:auto;overflow-x:hidden;background-color:var(--tox-private-background-color,#fff);display:flex;padding:12px;flex-direction:column;align-items:flex-start;gap:12px;flex:1 0 0;align-self:stretch}.tox .tox-ai .tox-ai__scroll:focus-visible:not(:disabled){outline:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#006ce7);outline-offset:calc(-1 * var(--tox-private-tinymceai-focus-border-width,2px));border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-ai__scroll--review:not(:has(.tox-sidebar-content__message-text)){background-color:var(--tox-private-background-secondary,#f0f0f0)}.tox .tox-ai .tox-ai__spinner svg{fill:var(--tox-private-color-tint,#006ce7)}.tox .tox-ai .tox-ai__response{width:100%;min-width:100%;max-width:100%}.tox .tox-ai .tox-ai__response__header{display:flex;align-items:center;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response__header .tox-icon svg{fill:var(--tox-private-color-tint,#006ce7)}.tox .tox-ai .tox-ai__response-status{display:flex;color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));font-size:var(--tox-private-font-size-sm, 14px);gap:var(--tox-private-pad-xs,4px);line-height:var(--tox-private-tinymceai-response-status-icon-height, max(24px, calc(14px + 4px)));padding-top:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response-status svg{fill:var(--tox-private-text-color-muted,rgba(34,47,62,0.7))}.tox .tox-ai .tox-ai__response-status-icon{border-radius:999px;border:1px solid var(--tox-private-neutral-20,#e3e3e3);background-color:var(--tox-private-background-color,#fff);height:var(--tox-private-tinymceai-response-status-icon-height,max(24px,calc(14px + 4px)));flex:0 0 24px;display:flex;align-items:center;justify-content:center}.tox .tox-ai .tox-ai__response-status-icon .tox-icon{display:contents}.tox .tox-ai .tox-ai__response-status-icon+.tox-ai__response-status-icon{margin-left:calc((var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px)) * -1)}.tox .tox-ai .tox-ai__icon{display:flex;align-items:center;justify-content:center}.tox .tox-ai .tox-ai__response-sources{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response-sources-header{display:block}.tox .tox-ai .tox-ai__response-sources-list{display:flex;align-items:center;gap:var(--tox-private-pad-sm,8px);align-self:stretch;flex-wrap:wrap}.tox .tox-ai .tox-ai__response-sources-list .tox-tag{border:1px solid var(--tox-private-separator-color,#e3e3e3);background-color:transparent;max-width:32%;max-height:24px;cursor:pointer}.tox .tox-ai .tox-ai__response-sources-list .tox-tag img,.tox .tox-ai .tox-ai__response-sources-list .tox-tag svg{width:16px;height:16px;min-width:16px;min-height:16px;max-width:16px;max-height:16px}.tox .tox-ai .tox-ai__response-content{padding:var(--tox-private-pad-sm,8px) 0;color:var(--tox-private-text-color,#222f3e);font-feature-settings:'liga' off,'clig' off;font-size:var(--tox-private-font-size-sm, 14px);font-style:normal;font-weight:var(--tox-private-font-weight-normal,normal);line-height:var(--tox-private-line-height, 18px);display:flex;flex-direction:column}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming{position:relative}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming .tox-ai__response-status{color:var(--tox-private-text-color,#222f3e);font-size:var(--tox-private-font-size-md, 16px);line-height:calc(var(--tox-private-font-size-md, 16px) + 4px)}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming::after{content:'';position:absolute;bottom:0;left:0;right:0;height:min(100px,100%);pointer-events:none;background:linear-gradient(to bottom,transparent 60px,transparent 60px,var(--tox-private-background-color,#fff))}.tox .tox-ai .tox-ai-error{border-radius:var(--tox-private-panel-border-radius,6px);border:1px solid var(--tox-private-color-error,#c00);background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#fff) r g b / .9) 0,rgba(from var(--tox-private-background-color,#fff) r g b / .9) 100%),var(--tox-private-color-error,#c00);padding:var(--tox-private-pad-sm,8px);width:100%;display:flex;gap:var(--tox-private-pad-sm,8px);align-items:center}.tox .tox-ai .tox-ai-error__message{flex:1 0 0}.tox .tox-ai .tox-ai-error__icon{flex:0 0 auto;align-self:flex-start}.tox .tox-ai .tox-ai__footer{padding:calc(12px - var(--tox-private-tinymceai-focus-border-width,2px));gap:var(--tox-private-pad-sm,8px);background-color:var(--tox-private-background-color,#fff);display:flex;flex-direction:column;border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-background-color,#fff);border-top:1px solid var(--tox-private-separator-color,#e3e3e3)}.tox .tox-ai .tox-ai__footer:focus-visible:not(:disabled){border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#006ce7);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-ai__context{display:flex;gap:var(--tox-private-pad-sm,8px);flex-wrap:wrap;max-height:calc((2 * (2 * var(--tox-private-pad-xs,4px) + var(--tox-private-base-value,16px))) + var(--tox-private-pad-sm,8px))}.tox .tox-ai .tox-ai__context .tox-tag{max-width:calc((100% - var(--tox-private-pad-sm,8px))/ 2)}.tox .tox-ai .tox-ai__context-more{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px);padding:var(--tox-private-pad-sm,8px);overflow:auto;max-width:var(--tox-private-tinymceai-context-more-max-width,320px)}.tox .tox-ai .tox-ai__context-more .tox-tag{max-width:100%}.tox .tox-ai .tox-ai__stop-generating{display:flex;align-items:center;gap:6px}.tox .tox-ai .tox-ai__footer-actions{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-model-selection-button{display:flex;gap:var(--tox-private-pad-xs,4px)}.tox .tox-ai .tox-ai__footer-note{align-items:center;color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));display:flex;font-size:var(--tox-private-font-size-xs, 12px);height:24px;justify-content:center;letter-spacing:0;padding-top:var(--tox-private-pad-sm,8px);width:100%}.tox .tox-ai .tox-ai__models-menu{max-width:350px}.tox .tox-ai .tox-ai__models-menu .tox-menu{max-height:inherit;padding:var(--tox-private-pad-xs,4px)}.tox .tox-ai .tox-ai__models-menu__item__description{display:flex;flex-direction:column;align-items:start}.tox .tox-ai .tox-ai__models-menu__item__description__title{font-weight:var(--tox-private-font-weight-bold,bold);font-size:var(--tox-private-font-size-sm, 14px);line-height:calc(var(--tox-private-font-size-sm, 14px) * 1.28572);padding-bottom:4px}.tox .tox-ai .tox-ai__models-menu__item__description__content{color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));font-size:var(--tox-private-font-size-xs, 12px);line-height:calc(var(--tox-private-font-size-xs, 12px) * 1.33333)}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content{color:inherit}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content .tox-ai__models-menu__item__description__ability{color:var(--tox-private-color-white,#fff)}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content .tox-ai__models-menu__item__description__content_body{color:rgba(from var(--tox-private-color-white,#fff) r g b / .7)}.tox .tox-ai .tox-ai__models-menu__item__description__ability{color:var(--tox-private-text-color,#222f3e);padding-bottom:4px}.tox .tox-ai .tox-ai__models-menu__item__description__ability__enabled{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-ai .tox-ai-chat-history-list{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px);padding-top:var(--tox-private-pad-xs,4px);width:100%}.tox .tox-ai .tox-ai-chat-history-list .tox-collection__group{gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-chat-history-list__title{color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:18px;letter-spacing:1px}.tox .tox-ai .tox-ai-chat-history-list__item{display:flex;padding:12px;gap:var(--tox-private-pad-sm,8px);border-radius:var(--tox-private-control-border-radius,6px);cursor:pointer}.tox .tox-ai .tox-ai-chat-history-list__item.tox-ai-chat-history-list__item--active{background-color:var(--tox-private-background-secondary,#f0f0f0)}.tox .tox-ai .tox-ai-chat-history-list__item:focus,.tox .tox-ai .tox-ai-chat-history-list__item:focus-visible{background-color:var(--tox-private-background-secondary,#f0f0f0)}.tox .tox-ai .tox-ai-chat-history-list__item.tox-ai-chat-history-list__item-edit-title{background-color:var(--tox-private-background-secondary,#f0f0f0);flex-direction:column}.tox .tox-ai .tox-ai-chat-history-list__item-edit-actions{display:flex;justify-content:flex-end;width:100%;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-chat-history-list__item-edit-actions .tox-ai__spinner svg{fill:rgba(from var(--tox-private-color-white,#fff) r g b / 0.5)}.tox .tox-ai .tox-ai-chat-history-list__item-content{display:flex;flex-direction:column;margin-right:auto;overflow:hidden}.tox .tox-ai .tox-ai-chat-history-list__item-actions{display:flex;align-items:center;min-width:calc(24px + (var(--tox-private-pad-xs,4px) + 1px)*2)}.tox .tox-ai .tox-ai-chat-history-list__item-content-title{color:var(--tox-private-text-color,#222f3e);font-size:var(--tox-private-font-size-base, 16px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:var(--tox-private-font-size-lg, 20px);overflow:hidden;text-overflow:ellipsis}.tox .tox-ai .tox-ai-chat-history-list__item-content-date{color:var(--tox-private-text-color,#222f3e);font-size:var(--tox-private-font-size-xs, 12px);line-height:var(--tox-private-line-height-base, 1.3)}.tox .tox-ai .tox-sidebar-content__message{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;gap:var(--tox-private-pad-md,16px);width:100%}.tox .tox-ai .tox-sidebar-content__message-text{text-align:center;color:var(--tox-private-text-color,#222f3e);font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:20px}.tox .tox-ai .tox-sidebar-content__message-action{display:flex;justify-content:center;align-items:center;align-self:stretch}.tox .tox-ai .tox-ai-chat-action-button{line-height:var(--tox-private-base-value, 16px);font-size:var(--tox-private-font-size-xs, 12px);padding:6px var(--tox-private-pad-sm,8px);margin:var(--tox-private-pad-xs,4px) 0;font-weight:var(--tox-private-font-weight-normal,normal);width:min-content}.tox .tox-ai .tox-ai-chat-action-button .tox-icon{display:inline-flex;align-items:center;justify-content:center;height:16px;width:16px;overflow:hidden}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg{display:block;flex:none;fill:var(--tox-private-tinymceai-chat-action-button-icon-color,#006ce7)}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='24'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='24px']{transform:scale(calc(16 / 24))}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='20'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='20px']{transform:scale(calc(16 / 20))}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='18'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='18px']{transform:scale(calc(16 / 18))}.tox .tox-ai .tox-ai-chat-action-button:not(:has(+ .tox-ai-chat-action-button)){margin-bottom:var(--tox-private-pad-sm,8px)}.tox .tox-ai-removed-content{font-style:italic;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));line-height:var(--tox-private-line-height-base, 1.3);margin:0 1em}.tox .tox-ai-removed-content::before{content:"⊘ ";font-style:normal;font-size:calc(var(--tox-private-line-height-base, 1.3) * 1em)}.tox .tox-ai-html-content{font-size:var(--tox-private-font-size-md, 16px);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color,#222f3e);line-height:var(--tox-private-line-height-base, 1.3);overflow-x:auto}.tox .tox-ai-html-content:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#006ce7);outline-offset:var(--tox-private-tinymceai-html-content-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai-html-content h1{font-size:1.6em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.67em 0}.tox .tox-ai-html-content h2{font-size:1.4em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.83em 0}.tox .tox-ai-html-content h3{font-size:1.2em;font-weight:var(--tox-private-font-weight-bold,bold);margin:1em 0}.tox .tox-ai-html-content h4,.tox .tox-ai-html-content h5,.tox .tox-ai-html-content h6{font-size:1em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.33em 0}.tox .tox-ai-html-content p{margin:var(--tox-private-pad-sm,8px) 0}.tox .tox-ai-html-content ol,.tox .tox-ai-html-content ul{padding-left:2em;margin:1em 0}.tox .tox-ai-html-content li:has(input:first-child){list-style-type:none}.tox .tox-ai-html-content a{color:var(--tox-private-color-tint,#006ce7);-webkit-text-decoration:underline;text-decoration:underline;cursor:pointer}.tox .tox-ai-html-content a:link:active,.tox .tox-ai-html-content a:visited:active{color:#8864ad}.tox .tox-ai-html-content blockquote{border-left:2px solid var(--tox-private-separator-color,#e3e3e3);margin-left:1.5rem;padding-left:1rem;font-style:italic}.tox .tox-ai-html-content code{font-family:ui-monospace,monospace;background:var(--tox-private-separator-color,#e3e3e3);padding:.1em .2em;border-radius:4px}.tox .tox-ai-html-content pre code{display:block;font-family:ui-monospace,monospace;background:var(--tox-private-separator-color,#e3e3e3);border-radius:4px;white-space:pre-wrap;margin:1em 0;overflow-wrap:break-word}.tox .tox-ai-html-content hr{border:none;border-top:1px solid var(--tox-private-border-color,#eee)}.tox .tox-ai-html-content table{width:100%;border-collapse:collapse;margin:.5em 0;font-size:.95em;line-height:1.45}.tox .tox-ai-html-content table:not([cellpadding]) td,.tox .tox-ai-html-content table:not([cellpadding]) th{padding:.4rem}.tox .tox-ai-html-content td,.tox .tox-ai-html-content th{border:1px solid var(--tox-private-border-color,#eee)}.tox .tox-ai-html-content th{font-weight:var(--tox-private-font-weight-bold,bold);text-align:left;white-space:nowrap}.tox .tox-ai-html-content b,.tox .tox-ai-html-content strong{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-ai-html-content em,.tox .tox-ai-html-content i{font-style:italic}.tox .tox-ai-html-content del{-webkit-text-decoration:line-through;text-decoration:line-through}.tox .tox-ai-html-content sub,.tox .tox-ai-html-content sup{font-size:.75em;line-height:0;vertical-align:baseline}.tox .tox-ai-html-content sup{vertical-align:super}.tox .tox-ai-html-content sub{vertical-align:sub}.tox .tox-ai-html-content mark{background:hsl(from var(--tox-private-color-active,#ffcf30) h s l / 30%);padding:.05em .2em;border-radius:2px}.tox .tox-ai-html-content small{font-size:.85em}.tox .tox-ai-html-content kbd{font-family:ui-monospace,monospace;font-size:.85em;padding:.15em .4em;border-radius:4px;border:1px solid var(--tox-private-border-color,#eee);background:var(--tox-private-separator-color,#e3e3e3);box-shadow:inset 0 -1px 0 var(--tox-private-border-color,#eee)}.tox .tox-ai-html-content img{max-width:100%;height:auto;vertical-align:middle;border-radius:4px}.tox .tox-expandable-box__content .tox-ai-html-content+.tox-ai-html-content::before,.tox .tox-expandable-box__content .tox-ai-html-content:has(+ .tox-ai-removed-content)::after,.tox .tox-expandable-box__content .tox-ai-removed-content+.tox-ai-html-content::before{content:"〰〰";color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));text-align:center;width:100%;display:block}.tox .tox-diff-preview{display:contents}.tox .tox-diff-preview__host{height:100%;position:relative;flex:1 1 0}.tox .tox-diff-preview__host:empty{pointer-events:none}.tox .tox-diff-preview__layer{display:flex;flex-direction:column;inset:0;position:absolute}.tox .tox-diff-preview__layer--loading .tox-diff-preview__frame{pointer-events:none;visibility:hidden}.tox .tox-diff-preview__viewport{flex:1 1 auto;min-height:0;position:relative}.tox .tox-diff-preview__frame{background-color:#fff;border:0;height:100%;min-height:0;position:relative;width:100%}.tox .tox-diff-preview__footer{background-color:var(--tox-private-background-color,#fff);border-top:1px solid #e3e3e3;flex:0 0 auto}.tox .tox-diff-preview__toolbar{display:flex;gap:8px;justify-content:flex-end;padding:12px 16px}.tox .tox-ai__preview-overlay{position:absolute;inset:0;width:100%;height:100%;font-size:14px}.tox .tox-ai__preview-overlay--hidden{visibility:hidden}.tox .tox-ai__preview-overlay--pass-through{pointer-events:none}.tox .tox-ai__preview-overlay--dim{background:rgba(34,47,62,.2)}.tox .tox-ai__preview-overlay--centered{display:flex;align-items:center;justify-content:center}.tox .tox-ai__preview-overlay--clipped{overflow:clip}.tox .tox-tinymceai-previewloader{display:flex;align-items:center;gap:var(--tox-private-pad-md,16px);padding:var(--tox-private-pad-sm,8px);border-radius:var(--tox-private-panel-border-radius,6px);box-shadow:var(--tox-private-ai-preview-loader-box-shadow,0 0 40px 1px rgba(34,47,62,.15),0 16px 16px -10px rgba(34,47,62,.15));background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color,#222f3e);pointer-events:auto}.tox .tox-tinymceai-previewloader__content{display:flex;align-items:center;justify-content:center;padding:0 var(--tox-private-pad-xs,4px);gap:var(--tox-private-pad-sm,8px)}.tox .tox-selector{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;display:inline-block;height:10px;position:absolute;width:10px}.tox.tox-platform-touch .tox-selector{height:12px;width:12px}.tox .tox-skeleton .tox-skeleton__line{height:16px;width:100%;background:linear-gradient(to right,rgba(240,240,240,.5) 8%,rgba(240,240,240,.7) 18%,rgba(240,240,240,.5) 33%);animation:wave 2s infinite ease-out}.tox .tox-skeleton .tox-skeleton__circle{height:36px;width:36px;margin-right:8px;border-radius:100%;background:linear-gradient(to right,rgba(240,240,240,.5) 8%,rgba(240,240,240,.7) 18%,rgba(240,240,240,.5) 33%);animation:wave 2s infinite ease-out}@keyframes wave{0%{background-position:-268px 0}100%{background-position:268px 0}}.tox .tox-slider{align-items:center;display:flex;flex:1;height:24px;justify-content:center;position:relative}.tox .tox-slider__rail{background-color:transparent;border:1px solid #eee;border-radius:6px;height:10px;min-width:120px;width:100%}.tox .tox-slider__handle{background-color:#006ce7;border:2px solid #0054b4;border-radius:6px;box-shadow:none;height:24px;left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%);width:14px}.tox .tox-form__controls-h-stack>.tox-slider:not(:first-of-type){margin-inline-start:8px}.tox .tox-form__controls-h-stack>.tox-form__group+.tox-slider{margin-inline-start:32px}.tox .tox-form__controls-h-stack>.tox-slider+.tox-form__group{margin-inline-start:32px}.tox .tox-toolbar-slider{align-items:center;display:inline-flex;height:16px}.tox .tox-toolbar-slider__input{appearance:none;background:#eee;border-radius:16px;width:130px;height:2px}.tox .tox-toolbar-slider__input::-webkit-slider-runnable-track{background-color:transparent;height:16px}.tox .tox-toolbar-slider__input::-moz-range-track{background-color:transparent;height:16px}.tox .tox-toolbar-slider__input::-webkit-slider-thumb{-webkit-appearance:none;background-color:#006ce7;border-radius:16px;border:none;height:16px;width:16px}.tox .tox-toolbar-slider__input::-moz-range-thumb{appearance:none;background-color:#006ce7;border-radius:16px;border:none;height:16px;width:16px}.tox .tox-toolbar-slider__input:focus-visible{outline:0}.tox .tox-toolbar-slider__input:focus::-webkit-slider-thumb{background-color:#0060ce;box-shadow:inset 0 0 0 1px #fff,0 0 0 2px #006ce7}.tox .tox-toolbar-slider__input:focus::-moz-range-thumb{background-color:#0060ce;box-shadow:inset 0 0 0 1px #fff,0 0 0 2px #006ce7}.tox .tox-toolbar-slider__input:hover::-webkit-slider-thumb{background-color:#0060ce}.tox .tox-toolbar-slider__input:hover::-moz-range-thumb{background-color:#0060ce}.tox .tox-toolbar-slider__input:active::-webkit-slider-thumb{background-color:#0054b4}.tox .tox-toolbar-slider__input:active::-moz-range-thumb{background-color:#0054b4}.tox .tox-toolbar-slider__input[disabled]::-webkit-slider-thumb{background-color:rgba(255,255,255,.5)}.tox .tox-toolbar-slider__input[disabled]::-moz-range-thumb{background-color:rgba(255,255,255,.5)}.tox .tox-source-code{overflow:auto}.tox .tox-spinner{display:flex}.tox .tox-spinner>div{animation:tam-bouncing-dots 1.5s ease-in-out 0s infinite both;background-color:rgba(34,47,62,.7);border-radius:100%;height:8px;width:8px}.tox .tox-spinner>div:first-child{animation-delay:-.32s}.tox .tox-spinner>div:nth-child(2){animation-delay:-.16s}@keyframes tam-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox:not([dir=rtl]) .tox-spinner>div:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-spinner>div:not(:first-child){margin-right:4px}.tox .tox-ai__spinner{--tox-private-spinner-color:var(--tox-private-color-tint, #006ce7);--tox-private-spinner-size:24px;--tox-private-spinner-circle-width:3px;--tox-private-spinner-dot-size:6px;width:var(--tox-private-spinner-size);aspect-ratio:1/1}.tox .tox-ai__spinner--small{--tox-private-spinner-size:16px;--tox-private-spinner-circle-width:2px;--tox-private-spinner-dot-size:4px}.tox .tox-ai__spinner--circle{animation:tox-rotation 1s linear infinite;border-radius:50%;background:conic-gradient(var(--tox-private-spinner-color) 0 calc(360deg - 30deg),transparent calc(360deg - 30deg) 100%);mask:radial-gradient(calc((var(--tox-private-spinner-size) - var(--tox-private-spinner-circle-width) * 2)/ 2),#0000 98%,#000)}.tox .tox-ai__spinner--dots{display:flex;align-items:center;justify-content:center;gap:1px}.tox .tox-ai__spinner--dots>div{animation:tox-bouncing-dots 1.5s ease-in-out 0s infinite both;aspect-ratio:1/1;width:var(--tox-private-spinner-dot-size);background-color:var(--tox-private-spinner-color);border-radius:100%}.tox .tox-ai__spinner--dots>div:first-child{animation-delay:-.32s}.tox .tox-ai__spinner--dots>div:nth-child(2){animation-delay:-.16s}.tox .tox-tinymceai__annotation--added,.tox .tox-tinymceai__annotation--modified,.tox .tox-tinymceai__annotation--removed{padding-block:calc((1lh - 1.1em)/ 2);-webkit-text-decoration:none;text-decoration:none;background-repeat:no-repeat;text-decoration-thickness:max(1px,0.07em)}.tox .tox-tinymceai__annotation--added__highlight{background-position:bottom;background-image:linear-gradient(rgba(120,171,70,.2) calc(100% - 2px),#78ab46 calc(100% - 2px))}.tox .tox-tinymceai__annotation--added__selected{background-image:none;background-color:rgba(120,171,70,.2);box-shadow:0 2px 0 0 #006ce7,0 -2px 0 0 #006ce7}.tox .tox-tinymceai__annotation--modified__highlight{background-position:bottom;background-image:linear-gradient(rgba(0,108,231,.2) calc(100% - 2px),#006ce7 calc(100% - 2px))}.tox .tox-tinymceai__annotation--modified__selected{background-image:none;background-color:rgba(0,108,231,.2);box-shadow:0 2px 0 0 #006ce7,0 -2px 0 0 #006ce7}.tox .tox-tinymceai__annotation--removed__highlight{-webkit-text-decoration:line-through;text-decoration:line-through;background-position:bottom;background-image:linear-gradient(rgba(204,0,0,.2) calc(100% - 2px),#c00 calc(100% - 2px))}.tox .tox-tinymceai__annotation--removed__selected{-webkit-text-decoration:line-through;text-decoration:line-through;background-image:none;background-color:rgba(204,0,0,.2);box-shadow:0 2px 0 0 #006ce7,0 -2px 0 0 #006ce7}.tox .mce-object.tox-tinymceai__annotation--added,.tox .mce-object.tox-tinymceai__annotation--modified,.tox .mce-object.tox-tinymceai__annotation--removed,.tox .mce-preview-object.tox-tinymceai__annotation--added,.tox .mce-preview-object.tox-tinymceai__annotation--modified,.tox .mce-preview-object.tox-tinymceai__annotation--removed,.tox iframe.tox-tinymceai__annotation--added,.tox iframe.tox-tinymceai__annotation--modified,.tox iframe.tox-tinymceai__annotation--removed,.tox img.tox-tinymceai__annotation--added,.tox img.tox-tinymceai__annotation--modified,.tox img.tox-tinymceai__annotation--removed,.tox video.tox-tinymceai__annotation--added,.tox video.tox-tinymceai__annotation--modified,.tox video.tox-tinymceai__annotation--removed{padding-block:0;vertical-align:top}.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object),.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object),.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object){padding-block:0}.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) video,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) video,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) video{vertical-align:top}.tox del.tox-tinymceai__annotation--added__selected,.tox ins.tox-tinymceai__annotation--added__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#006ce7 3px,rgba(120,171,70,.2) 3px,rgba(120,171,70,.2) calc(100% - 3px),#006ce7 calc(100% - 3px))}.tox del.tox-tinymceai__annotation--modified__selected,.tox ins.tox-tinymceai__annotation--modified__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#006ce7 3px,rgba(0,108,231,.2) 3px,rgba(0,108,231,.2) calc(100% - 3px),#006ce7 calc(100% - 3px))}.tox del.tox-tinymceai__annotation--removed__selected,.tox ins.tox-tinymceai__annotation--removed__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#006ce7 3px,rgba(204,0,0,.2) 3px,rgba(204,0,0,.2) calc(100% - 3px),#006ce7 calc(100% - 3px))}.tox .tox-tinymceai__annotation--added.tox-tinymceai__annotation--added__hidden,.tox .tox-tinymceai__annotation--modified.tox-tinymceai__annotation--modified__hidden,.tox .tox-tinymceai__annotation--removed.tox-tinymceai__annotation--removed__hidden{display:none;-webkit-text-decoration:none;text-decoration:none}.tox :has(> div > iframe).tox-tinymceai__annotation--added,.tox :has(> div > iframe).tox-tinymceai__annotation--modified,.tox :has(> div > iframe).tox-tinymceai__annotation--removed{padding:7px;margin:5px}.tox iframe.tox-tinymceai__annotation--added__highlight,.tox img.tox-tinymceai__annotation--added__highlight,.tox video.tox-tinymceai__annotation--added__highlight{background-color:#e4eeda;background-image:none;border:2px solid #78ab46;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--added__selected,.tox img.tox-tinymceai__annotation--added__selected,.tox video.tox-tinymceai__annotation--added__selected{background-color:#e4eeda;background-image:none;border:2px solid #78ab46;padding:0;vertical-align:top;border-color:#e4eeda;outline:2px solid #006ce7}.tox iframe.tox-tinymceai__annotation--modified__highlight,.tox img.tox-tinymceai__annotation--modified__highlight,.tox video.tox-tinymceai__annotation--modified__highlight{background-color:#cce2fa;background-image:none;border:2px solid #006ce7;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--modified__selected,.tox img.tox-tinymceai__annotation--modified__selected,.tox video.tox-tinymceai__annotation--modified__selected{background-color:#cce2fa;background-image:none;border:2px solid #006ce7;padding:0;vertical-align:top;border-color:#cce2fa;outline:2px solid #006ce7}.tox iframe.tox-tinymceai__annotation--removed__highlight,.tox img.tox-tinymceai__annotation--removed__highlight,.tox video.tox-tinymceai__annotation--removed__highlight{background-color:#f5cccc;background-image:none;border:2px solid #c00;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--removed__selected,.tox img.tox-tinymceai__annotation--removed__selected,.tox video.tox-tinymceai__annotation--removed__selected{background-color:#f5cccc;background-image:none;border:2px solid #c00;padding:0;vertical-align:top;border-color:#f5cccc;outline:2px solid #006ce7}.tox .tox-tinymceai__annotation--removed__highlight iframe,.tox .tox-tinymceai__annotation--removed__highlight img,.tox .tox-tinymceai__annotation--removed__highlight video,.tox .tox-tinymceai__annotation--removed__selected iframe,.tox .tox-tinymceai__annotation--removed__selected img,.tox .tox-tinymceai__annotation--removed__selected video{background-color:#f5cccc;background-image:none;border:2px solid #c00;padding:0;vertical-align:top}.tox .tox-tinymceai__annotation--removed__selected iframe,.tox .tox-tinymceai__annotation--removed__selected img,.tox .tox-tinymceai__annotation--removed__selected video{border-color:#f5cccc;outline:2px solid #006ce7}.tox div.tox-tinymceai__annotation:has(> hr){background-size:auto;padding:.25em}.tox div.tox-tinymceai__annotation--removed__highlight>hr{border-color:rgba(0,0,0,.2)}.tox div.tox-tinymceai__annotation--added__highlight>hr{border-color:rgba(0,0,0,.2)}.tox .tox-tinymceai__deleted-media-overlay{inset:0;overflow:hidden;pointer-events:none;position:absolute;z-index:11}.tox .tox-tinymceai__deleted-media-wash{fill:#fff;fill-opacity:0.4}.tox .tox-tinymceai__deleted-media-mark{stroke:#c00}.tox .tox-tinymceai__deleted-media-halo{stroke:#fff}.tox .mce-pagebreak.tox-tinymceai__annotation--added__selected,.tox .mce-pagebreak.tox-tinymceai__annotation--modified__selected,.tox .mce-pagebreak.tox-tinymceai__annotation--removed__selected{border:1px dashed #aaa;box-shadow:none;background-image:none}.tox .mce-pagebreak.tox-tinymceai__annotation--added__highlight,.tox .mce-pagebreak.tox-tinymceai__annotation--modified__highlight,.tox .mce-pagebreak.tox-tinymceai__annotation--removed__highlight{padding:0}.tox .tox-tinymceai__diff-focus-overlay{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:10}.tox .tox-tinymceai__diff-focus-overlay-dim{fill:rgba(34,47,62,0.2)}.tox .tox-ai__scroll:has(.tox-card-group){padding-top:0}.tox .tox-ai__scroll:has(.tox-card-group) .tox-ai__review-sidebar-container .tox-card-list{gap:0}.tox .tox-ai__scroll .tox-ai__review-sidebar-container{scrollbar-gutter:stable;width:100%;height:100%;display:flex;flex-direction:column;gap:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-card-list{gap:8px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-card-group__title{margin-inline:-12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-initializing{padding:var(--tox-private-pad-md,16px)}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-description{padding-bottom:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));font-size:var(--tox-private-font-size-sm, 14px)}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-choose-container{padding-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-custom-input{margin-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-custom-actions{display:flex;gap:8px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container{margin-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container button.tox-ai__review-input-button{width:100%;background-color:var(--tox-private-background-color,#fff);display:flex;justify-content:space-between;align-items:center;border:1px solid #eee;border-radius:6px;box-sizing:border-box}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container .tox-ai__review-dropdown-content{width:anchor-size(width)}.tox .tox-statusbar{align-items:center;background-color:#fff;border-top:1px solid #e3e3e3;color:rgba(34,47,62,.7);display:flex;flex:0 0 auto;font-size:14px;font-weight:400;height:25px;overflow:hidden;padding:0 8px;position:relative;text-transform:none}.tox .tox-statusbar__path{display:flex;flex:1 1 auto;text-overflow:ellipsis;white-space:nowrap}.tox .tox-statusbar__right-container{display:flex;justify-content:flex-end;white-space:nowrap}.tox .tox-statusbar__help-text{text-align:center}.tox .tox-statusbar__text-container{align-items:flex-start;display:flex;flex:1 1 auto;height:16px;justify-content:space-between}@media only screen and (min-width:768px){.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__help-text,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__path,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__right-container{flex:0 0 calc(100% / 3)}}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-end{justify-content:flex-end}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-start{justify-content:flex-start}.tox .tox-statusbar__text-container.tox-statusbar__text-container--space-around{justify-content:space-around}.tox .tox-statusbar__path>*{display:inline;white-space:nowrap}.tox .tox-statusbar__wordcount{flex:0 0 auto;margin-left:1ch}@media only screen and (max-width:767px){.tox .tox-statusbar__text-container .tox-statusbar__help-text{display:none}.tox .tox-statusbar__text-container .tox-statusbar__help-text:only-child{display:block}}.tox .tox-statusbar a,.tox .tox-statusbar__path-item,.tox .tox-statusbar__wordcount{color:rgba(34,47,62,.7);position:relative;-webkit-text-decoration:none;text-decoration:none}.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]){color:#222f3e;cursor:pointer}.tox .tox-statusbar a:focus-visible::after,.tox .tox-statusbar__path-item:focus-visible::after,.tox .tox-statusbar__wordcount:focus-visible::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-statusbar a:focus-visible::after,.tox .tox-statusbar__path-item:focus-visible::after,.tox .tox-statusbar__wordcount:focus-visible::after{border:2px solid highlight}}.tox .tox-statusbar__branding svg{fill:rgba(34,47,62,0.8);height:1em;margin-left:.3em;width:auto}@media (forced-colors:active){.tox .tox-statusbar__branding svg{fill:currentColor}}.tox .tox-statusbar__branding a{align-items:center;display:inline-flex}.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg,.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg{fill:#222f3e}.tox .tox-statusbar__resize-cursor-default{cursor:ns-resize}.tox .tox-statusbar__resize-cursor-both{cursor:nwse-resize}.tox .tox-statusbar__resize-handle{align-items:flex-end;align-self:stretch;display:flex;flex:0 0 auto;justify-content:flex-end;margin-bottom:3px;margin-left:4px;margin-right:calc(3px - 8px);margin-top:3px;padding-bottom:0;padding-left:0;padding-right:0;position:relative}.tox .tox-statusbar__resize-handle svg{display:block;fill:rgba(34,47,62,0.5)}.tox .tox-statusbar__resize-handle:focus svg,.tox .tox-statusbar__resize-handle:hover svg{fill:#222f3e}.tox .tox-statusbar__resize-handle:focus-visible{background-color:transparent;border-radius:1px 1px 5px 1px;box-shadow:0 0 0 2px transparent}.tox .tox-statusbar__resize-handle:focus-visible::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-statusbar__resize-handle:focus-visible::after{border:2px solid highlight}}.tox .tox-statusbar__resize-handle:only-child{margin-left:auto}.tox:not([dir=rtl]) .tox-statusbar__path>*{margin-right:4px}.tox:not([dir=rtl]) .tox-statusbar__branding{margin-left:2ch}.tox[dir=rtl] .tox-statusbar{flex-direction:row-reverse}.tox[dir=rtl] .tox-statusbar__path>*{margin-left:4px}.tox[dir=rtl] .tox-statusbar__branding svg{margin-left:0;margin-right:.3em}.tox a.tox-tag{cursor:pointer}.tox .tox-tag{width:fit-content;box-sizing:border-box;display:flex;padding:var(--tox-private-pad-xs,4px) 6px;position:relative;align-items:center;gap:var(--tox-private-pad-xs,4px);border-radius:3px;background:hsl(from var(--tox-private-color-tint,#006ce7) h s l / 10%);line-height:var(--tox-private-base-value, 16px);font-size:var(--tox-private-font-size-xs, 12px)}.tox .tox-tag::before{border-radius:var(--tox-private-control-border-radius,6px);bottom:calc(-1 * var(--tox-private-tag-border-width,1px));box-shadow:var(--tox-private-tag-focus-outline,inset 0 0 0 1px #fff,0 0 0 2px #006ce7);content:'';left:calc(-1 * var(--tox-private-tag-border-width,1px));opacity:0;pointer-events:none;position:absolute;right:calc(-1 * var(--tox-private-tag-border-width,1px));top:calc(-1 * var(--tox-private-tag-border-width,1px))}.tox .tox-tag:focus:not(:disabled)::before{opacity:1}.tox .tox-tag>*{flex-shrink:0}.tox .tox-tag .tox-icon{height:var(--tox-private-base-value,16px);fill:var(--tox-private-text-color,#222f3e)}.tox .tox-tag .tox-tag__label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;flex-shrink:1;color:var(--tox-private-text-color,#222f3e)}.tox .tox-tag .tox-tag__close{height:var(--tox-private-base-value,16px)}.tox .tox-tag .tox-tag__close .tox-button.tox-button--icon{border:0;padding:0;color:var(--tox-private-text-color-muted,rgba(34,47,62,.7))}.tox .tox-tag .tox-tag__close .tox-button.tox-button--icon::before{box-shadow:none}.tox .tox-throbber{z-index:1299}.tox .tox-throbber__busy-spinner{align-items:center;background-color:rgba(255,255,255,.6);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.tox .tox-segmented-control{display:inline-flex;position:relative;border:none;border-radius:var(--tox-private-control-border-radius,6px);box-shadow:inset 0 0 0 1px var(--tox-private-segmented-control-border-color,#e3e3e3);overflow:hidden;padding:var(--tox-private-pad-xs,4px);background-color:var(--tox-private-background-color,#fff)}.tox .tox-segmented-control__segment{flex:1;padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-sm,8px);cursor:pointer;background:0 0;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:16px;border:1px solid transparent;border-radius:calc(var(--tox-private-control-border-radius,6px) - 1px);text-align:center;white-space:nowrap;display:inline-block;vertical-align:middle;color:var(--tox-private-segmented-control-text-color,#222f3e)}.tox .tox-segmented-control__segment--active{border-color:var(--tox-private-segmented-control-active-border-color,#006ce7);color:var(--tox-private-segmented-control-active-text-color,#006ce7);background-color:var(--tox-private-segmented-control-active-bg-color,rgba(0,108,231,.1))}.tox .tox-segmented-control:not(.tox-segmented-control--disabled) .tox-segmented-control__segment{transition:all .2s}.tox .tox-segmented-control.tox-segmented-control--disabled .tox-segmented-control__segment{opacity:.5;cursor:not-allowed;pointer-events:none}.tox .tox-segmented-control__segment:focus{outline:2px solid var(--tox-private-color-tint,#006ce7);outline-offset:2px}.tox .tox-segmented-control__segment:focus:not(:focus-visible){outline:0}.tox .tox-toggle{display:flex;align-items:center;gap:var(--tox-private-pad-xs,4px);padding:var(--tox-private-pad-xs,4px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:var(--tox-private-control-line-height, 24px);white-space:nowrap;background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color,#222f3e)}.tox .tox-toggle input{position:absolute;opacity:0;width:0;height:0}.tox .tox-toggle__slider{position:relative;cursor:pointer;box-sizing:border-box;transition:.4s;border-radius:34px;width:28px;height:16px;background-color:var(--tox-private-slider-background-color,#fff);border:1px solid var(--tox-private-slider-border-color,#e3e3e3)}.tox .tox-toggle__slider::before{position:absolute;content:"";height:12px;width:12px;left:1px;bottom:1px;transition:.4s;border-radius:50%;background-color:var(--tox-private-slider-handle-background-color,#222f3e)}.tox input:checked+.tox-toggle__slider{background-color:var(--tox-private-slider-checked-background-color,#006ce7);border:1px solid var(--tox-private-slider-checked-border-color,#006ce7)}.tox input:focus+.tox-toggle__slider{box-shadow:0 0 0 1px var(--tox-private-color-white,#fff),0 0 0 2px var(--tox-private-color-tint,#006ce7)}.tox input:checked+.tox-toggle__slider::before{transform:translateX(12px);background-color:var(--tox-private-slider-checked-handle-background-color,#fff)}.tox input:disabled+.tox-toggle__slider::before{opacity:50%}.tox .tox-tbtn{align-items:center;background:#fff;border:0;border-radius:3px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;justify-content:center;margin:6px 1px 5px 0;outline:0;padding:0;text-transform:none;width:34px}.tox .tox-tbtn .tox-tbtn__icon-wrap{pointer-events:none}@media (forced-colors:active){.tox .tox-tbtn.tox-tbtn:hover,.tox .tox-tbtn:hover{outline:1px dashed currentColor}.tox .tox-tbtn.tox-tbtn--active,.tox .tox-tbtn.tox-tbtn--enabled,.tox .tox-tbtn.tox-tbtn--enabled:focus,.tox .tox-tbtn.tox-tbtn--enabled:hover,.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){outline:1px solid currentColor;position:relative}}.tox .tox-tbtn svg{display:block;fill:#222f3e}@media (forced-colors:active){.tox .tox-tbtn svg{fill:currentColor!important}.tox .tox-tbtn svg.tox-tbtn--enabled,.tox .tox-tbtn svg:focus:not(.tox-tbtn--disabled){fill:currentColor!important}.tox .tox-tbtn svg .tox-tbtn:disabled,.tox .tox-tbtn svg .tox-tbtn:disabled:hover,.tox .tox-tbtn svg.tox-tbtn--disabled,.tox .tox-tbtn svg.tox-tbtn--disabled:hover{filter:contrast(0%)}}.tox .tox-tbtn.tox-tbtn-more{padding-left:5px;padding-right:5px;width:inherit}.tox .tox-tbtn:focus{background:#fff;border:0;box-shadow:none;position:relative;z-index:1}.tox .tox-tbtn:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-tbtn:focus::after{border:2px solid highlight}}.tox .tox-tbtn:hover{background:#f0f0f0;border:0;box-shadow:none;color:#222f3e}.tox .tox-tbtn:hover svg{fill:#222f3e}.tox .tox-tbtn:active{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-tbtn:active svg{fill:#222f3e}.tox .tox-tbtn--disabled .tox-tbtn--enabled svg{fill:rgba(34,47,62,0.5)}.tox .tox-tbtn--disabled,.tox .tox-tbtn--disabled:hover,.tox .tox-tbtn:disabled,.tox .tox-tbtn:disabled:hover{background:#fff;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-tbtn--disabled svg,.tox .tox-tbtn--disabled:hover svg,.tox .tox-tbtn:disabled svg,.tox .tox-tbtn:disabled:hover svg{fill:rgba(34,47,62,0.5)}.tox .tox-tbtn--active,.tox .tox-tbtn--enabled,.tox .tox-tbtn--enabled:focus,.tox .tox-tbtn--enabled:hover{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e;position:relative}.tox .tox-tbtn--active>*,.tox .tox-tbtn--enabled:focus>*,.tox .tox-tbtn--enabled:hover>*,.tox .tox-tbtn--enabled>*{transform:none}.tox .tox-tbtn--active svg,.tox .tox-tbtn--enabled svg,.tox .tox-tbtn--enabled:focus svg,.tox .tox-tbtn--enabled:hover svg{fill:#222f3e}.tox .tox-tbtn--active.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled:focus.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled:hover.tox-tbtn--disabled svg{fill:rgba(34,47,62,0.5)}.tox .tox-tbtn--enabled:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-tbtn--enabled:focus::after{border:2px solid highlight}}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){color:#222f3e}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg{fill:#222f3e}.tox .tox-tbtn:active>*{transform:none}.tox .tox-tbtn--md{height:42px;width:51px}.tox .tox-tbtn--lg{flex-direction:column;height:56px;width:68px}.tox .tox-tbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tbtn--labeled{padding:0 4px;width:unset}.tox .tox-tbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-label--context-toolbar{margin:6px 1px 5px 0;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-number-input{background:#f7f7f7;border-radius:3px;display:flex;margin:6px 1px 5px 0;position:relative;width:auto}.tox .tox-number-input:focus{background:#f7f7f7}.tox .tox-number-input:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input:focus::after{border:2px solid highlight}}.tox .tox-number-input .tox-input-wrapper{display:flex;pointer-events:none;position:relative;text-align:center}.tox .tox-number-input .tox-input-wrapper:focus{background-color:#f7f7f7;z-index:1}.tox .tox-number-input .tox-input-wrapper:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input .tox-input-wrapper:focus::after{border:2px solid highlight}}.tox .tox-number-input .tox-input-wrapper:has(input:focus)::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input .tox-input-wrapper:has(input:focus)::after{border:2px solid highlight}}.tox .tox-number-input input{border-radius:3px;color:#222f3e;font-size:14px;margin:2px 0;pointer-events:all;position:relative;width:60px}.tox .tox-number-input input:hover{background:#f0f0f0;color:#222f3e}.tox .tox-number-input input:focus{background-color:#f7f7f7}.tox .tox-number-input input:disabled{background:#fff;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-number-input button{color:#222f3e;height:28px;position:relative;text-align:center;width:24px}@media (forced-colors:active){.tox .tox-number-input button:active,.tox .tox-number-input button:focus,.tox .tox-number-input button:hover{outline:1px solid currentColor!important}}.tox .tox-number-input button svg{display:block;fill:#222f3e;margin:0 auto;transform:scale(.67)}@media (forced-colors:active){.tox .tox-number-input button svg,.tox .tox-number-input button svg:active,.tox .tox-number-input button svg:hover{fill:currentColor!important}.tox .tox-number-input button svg:disabled{filter:contrast(0)}}.tox .tox-number-input button:focus{background:#f7f7f7;z-index:1}.tox .tox-number-input button:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input button:focus::after{border:2px solid highlight}}.tox .tox-number-input button:hover{background:#f0f0f0;border:0;box-shadow:none;color:#222f3e}.tox .tox-number-input button:hover svg{fill:#222f3e}.tox .tox-number-input button:active{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-number-input button:active svg{fill:#222f3e}.tox .tox-number-input button:disabled{background:#fff;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-number-input button:disabled svg{fill:rgba(34,47,62,0.5)}.tox .tox-number-input button.minus{border-radius:3px 0 0 3px}.tox .tox-number-input button.plus{border-radius:0 3px 3px 0}.tox .tox-number-input:focus:not(:active)>.tox-input-wrapper,.tox .tox-number-input:focus:not(:active)>button{background:#f7f7f7}.tox .tox-tbtn--select{margin:6px 1px 5px 0;padding:0 4px;width:auto}.tox .tox-tbtn--bordered,.tox .tox-tbtn--bordered:focus,.tox .tox-tbtn--bordered:hover{border:1px solid #eee}.tox .tox-tbtn__select-label{cursor:default;font-weight:400;height:initial;margin:0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-tbtn__select-chevron svg{fill:rgba(34,47,62,0.5)}@media (forced-colors:active){.tox .tox-tbtn__select-chevron svg{fill:currentColor}}.tox .tox-tbtn--bespoke{background:#f7f7f7}.tox .tox-tbtn--bespoke:focus{background:#f7f7f7}.tox .tox-tbtn--bespoke+.tox-tbtn--bespoke{margin-inline-start:4px}.tox .tox-tbtn--bespoke .tox-tbtn__select-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:7em}.tox .tox-tbtn--disabled .tox-tbtn__select-label,.tox .tox-tbtn--select:disabled .tox-tbtn__select-label{cursor:not-allowed}.tox .tox-split-button__main{border-radius:3px 0 0 3px;margin-right:0}.tox .tox-split-button__main:focus{border:0;box-shadow:none;background:#fff;color:#222f3e;position:relative;z-index:1}.tox .tox-split-button__main:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0;border-radius:3px 0 0 3px}@media (forced-colors:active){.tox .tox-split-button__main:focus::after{border:2px solid highlight}}.tox .tox-split-button__chevron{width:16px;border-radius:0 3px 3px 0;margin-left:0}.tox .tox-split-button__chevron:focus{border:0;box-shadow:none;background:#fff;color:#222f3e;position:relative;z-index:1}.tox .tox-split-button__chevron:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0;border-radius:0 3px 3px 0}@media (forced-colors:active){.tox .tox-split-button__chevron:focus::after{border:2px solid highlight}}.tox .tox-split-button__chevron svg{fill:rgba(34,47,62,0.5)}@media (forced-colors:active){.tox .tox-split-button__chevron svg{fill:currentColor}}.tox.tox-platform-touch .tox-split-button__main{width:30px}.tox.tox-platform-touch .tox-split-button__chevron{width:20px}.tox .tox-split-button__chevron.tox-tbtn--disabled,.tox .tox-split-button__main.tox-tbtn--disabled{background:#fff;box-shadow:none;color:rgba(34,47,62,.5)}.tox .tox-split-button__chevron.tox-tbtn--disabled:hover,.tox .tox-split-button__main.tox-tbtn--disabled:hover{background:#fff;box-shadow:none;color:rgba(34,47,62,.5)}.tox .tox-split-button__chevron.tox-tbtn--disabled:focus,.tox .tox-split-button__main.tox-tbtn--disabled:focus{background:#fff;box-shadow:none;color:rgba(34,47,62,.5)}.tox .tox-split-button__main.tox-tbtn--disabled svg .tox-icon-highlight-bg-color__color,.tox .tox-split-button__main.tox-tbtn--disabled svg .tox-icon-text-color__color{opacity:.3}.tox .tox-toolbar-overlord{background-color:#fff}.tox .tox-toolbar,.tox .tox-toolbar__overflow,.tox .tox-toolbar__primary{background-attachment:local;background-color:#fff;background-image:repeating-linear-gradient(#e3e3e3 0 1px,transparent 1px 39px);background-position:center top 40px;background-repeat:no-repeat;background-size:calc(100% - 11px * 2) calc(100% - 41px);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;padding:0 0;transform:perspective(1px)}.tox .tox-toolbar-overlord>.tox-toolbar,.tox .tox-toolbar-overlord>.tox-toolbar__overflow,.tox .tox-toolbar-overlord>.tox-toolbar__primary{background-position:center top 0;background-size:calc(100% - 11px * 2) calc(100% - 0px)}.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed{height:0;opacity:0;padding-bottom:0;padding-top:0;visibility:hidden}.tox .tox-toolbar__overflow--growing{transition:height .3s ease,opacity .2s linear .1s}.tox .tox-toolbar__overflow--shrinking{transition:opacity .3s ease,height .2s linear .1s,visibility 0s linear .3s}.tox .tox-anchorbar,.tox .tox-toolbar-overlord{grid-column:1/-1}.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{border-top:1px solid transparent;margin-top:-1px;padding-bottom:1px;padding-top:1px}@media (forced-colors:active){.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{outline:1px solid currentColor}}.tox .tox-toolbar--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-pop .tox-toolbar{border-width:0}.tox .tox-toolbar--no-divider{background-image:none}.tox .tox-toolbar-overlord .tox-toolbar:not(.tox-toolbar--scrolling):first-child,.tox .tox-toolbar-overlord .tox-toolbar__primary{background-position:center top 39px}.tox .tox-editor-header>.tox-toolbar--scrolling,.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child{background-image:none}.tox .tox-focusable-wrapper{border:1px solid transparent;margin-right:2px;pointer-events:none}.tox .tox-focusable-wrapper .tox-textfield-size{pointer-events:all}.tox .tox-focusable-wrapper:focus{background-color:#f7f7f7;border-radius:6px;border-style:solid;border-width:1px}.tox.tox-tinymce-aux .tox-toolbar__overflow{background-color:#fff;background-position:center top 43px;background-size:calc(100% - 8px * 2) calc(100% - 51px);border:none;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);overscroll-behavior:none;padding:4px 0}@media (forced-colors:active){.tox.tox-tinymce-aux .tox-toolbar__overflow{border:solid}}.tox-pop .tox-pop__dialog .tox-toolbar{background-position:center top 43px;background-size:calc(100% - 11px * 2) calc(100% - 51px);padding:4px 0}.tox-context-form__group{display:flex;align-items:center}.tox .tox-toolbar__group{align-items:center;display:flex;flex-wrap:wrap;margin:0 0;padding:0 11px 0 12px}.tox .tox-toolbar__group--pull-right{margin-left:auto}.tox .tox-toolbar--scrolling .tox-toolbar__group{flex-shrink:0;flex-wrap:nowrap}.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type){border-right:1px solid transparent}.tox[dir=rtl] .tox-toolbar__group:not(:last-of-type){border-left:1px solid transparent}.tox .tox-toolbar-input-form{display:flex;align-items:center;background-color:var(--tox-private-background-color,#fff);padding:0 var(--tox-private-pad-sm,8px)}.tox .tox-tooltip{display:inline-block;max-width:min(80%,15em);padding:8px 0 0 0;position:relative;width:max-content;z-index:1150}.tox .tox-tooltip.tox-tooltip--anchor{display:none;padding:var(--tox-private-pad-xs,4px) 0 0;position:fixed;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;height:fit-content}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--up{position-area:block-end}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--down{position-area:block-start}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--left{position-area:inline-start}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--right{position-area:inline-end}.tox .tox-tooltip__body{background-color:#222f3e;border-radius:6px;box-shadow:none;color:#fff;font-size:12px;font-style:normal;font-weight:600;overflow-wrap:break-word;padding:4px 6px;text-transform:none}@media (forced-colors:active){.tox .tox-tooltip__body{outline:outset 1px}}.tox .tox-tooltip__arrow{position:absolute}.tox .tox-tooltip--down .tox-tooltip__arrow{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #222f3e;bottom:0;left:50%;position:absolute;transform:translateX(-50%)}.tox .tox-tooltip--up .tox-tooltip__arrow{border-bottom:8px solid #222f3e;border-left:8px solid transparent;border-right:8px solid transparent;left:50%;position:absolute;top:0;transform:translateX(-50%)}.tox .tox-tooltip--right .tox-tooltip__arrow{border-bottom:8px solid transparent;border-left:8px solid #222f3e;border-top:8px solid transparent;position:absolute;right:0;top:50%;transform:translateY(-50%)}.tox .tox-tooltip--left .tox-tooltip__arrow{border-bottom:8px solid transparent;border-right:8px solid #222f3e;border-top:8px solid transparent;left:0;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-tree{display:flex;flex-direction:column}.tox .tox-tree .tox-trbtn{align-items:center;background:0 0;border:0;border-radius:4px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;margin-bottom:4px;margin-top:4px;outline:0;overflow:hidden;padding:0;padding-left:8px;text-transform:none}.tox .tox-tree .tox-trbtn .tox-tree__label{cursor:default;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tree .tox-trbtn svg{display:block;fill:#222f3e}.tox .tox-tree .tox-trbtn:focus{background:#f0f0f0;border:0;box-shadow:none}.tox .tox-tree .tox-trbtn:hover{background:#f0f0f0;border:0;box-shadow:none;color:#222f3e}.tox .tox-tree .tox-trbtn:hover svg{fill:#222f3e}.tox .tox-tree .tox-trbtn:active{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-tree .tox-trbtn:active svg{fill:#222f3e}.tox .tox-tree .tox-trbtn--disabled,.tox .tox-tree .tox-trbtn--disabled:hover,.tox .tox-tree .tox-trbtn:disabled,.tox .tox-tree .tox-trbtn:disabled:hover{background:0 0;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-tree .tox-trbtn--disabled svg,.tox .tox-tree .tox-trbtn--disabled:hover svg,.tox .tox-tree .tox-trbtn:disabled svg,.tox .tox-tree .tox-trbtn:disabled:hover svg{fill:rgba(34,47,62,0.5)}.tox .tox-tree .tox-trbtn--enabled,.tox .tox-tree .tox-trbtn--enabled:hover{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-tree .tox-trbtn--enabled:hover>*,.tox .tox-tree .tox-trbtn--enabled>*{transform:none}.tox .tox-tree .tox-trbtn--enabled svg,.tox .tox-tree .tox-trbtn--enabled:hover svg{fill:#222f3e}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled){color:#222f3e}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled) svg{fill:#222f3e}.tox .tox-tree .tox-trbtn:active>*{transform:none}.tox .tox-tree .tox-trbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tree .tox-trbtn--labeled{padding:0 4px;width:unset}.tox .tox-tree .tox-trbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-tree .tox-tree--directory{display:flex;flex-direction:column}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label{font-weight:700}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn:focus svg{fill:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:focus .tox-mbtn svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover .tox-mbtn svg{fill:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-chevron{margin-right:6px}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--shrinking) .tox-chevron{transition:transform .5s ease-in-out}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--open) .tox-chevron{transform:rotate(90deg)}.tox .tox-tree .tox-tree--leaf__label{font-weight:400}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--leaf__label .tox-mbtn:focus svg{fill:#222f3e}.tox .tox-tree .tox-tree--leaf__label:hover .tox-mbtn svg{fill:#222f3e}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#222f3e}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#222f3e}.tox .tox-tree .tox-icon-custom-state{flex-grow:1;display:flex;justify-content:flex-end}.tox .tox-tree .tox-tree--directory__children{overflow:hidden;padding-left:16px}.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--growing,.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--shrinking{transition:height .5s ease-in-out}.tox .tox-tree .tox-trbtn.tox-tree--leaf__label{display:flex;justify-content:space-between}[data-mce-name=uploadcare-enhance-filter] .color-swatch-remove-color path{fill:#c00;stroke:#c00}.tox .tox-view-wrap,.tox .tox-view-wrap__slot-container{background-color:#fff;display:flex;flex:1;flex-direction:column;height:100%;min-height:0}.tox .tox-view{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden;background-color:#fff}.tox .tox-view__header{align-items:center;display:flex;font-size:16px;justify-content:space-between;padding:10px;position:relative}.tox .tox-view__label{color:#222f3e;font-weight:700;line-height:24px;padding:4px 16px;text-align:center;white-space:nowrap}.tox .tox-view__label--normal{font-size:16px}.tox .tox-view__label--large{font-size:20px}.tox .tox-view--mobile.tox-view__header,.tox .tox-view--mobile.tox-view__toolbar{padding:8px}.tox .tox-view--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-view__align-right{margin-left:auto}.tox .tox-view__toolbar{display:flex;flex-direction:row;gap:8px;justify-content:space-between;overflow-x:auto;padding:10px}.tox .tox-view__toolbar__group{display:flex;flex-direction:row;gap:12px}.tox .tox-view__header-end,.tox .tox-view__header-start{display:flex}.tox .tox-view__pane{height:100%;padding:8px;position:relative;width:100%}.tox .tox-view__pane_panel{border:1px solid #eee;border-radius:6px}.tox:not([dir=rtl]) .tox-view__header .tox-view__header-end>*,.tox:not([dir=rtl]) .tox-view__header .tox-view__header-start>*{margin-left:8px}.tox[dir=rtl] .tox-view__header .tox-view__header-end>*,.tox[dir=rtl] .tox-view__header .tox-view__header-start>*{margin-right:8px}.tox .tox-well{border:1px solid #eee;border-radius:6px;padding:8px;width:100%}.tox .tox-well>:first-child{margin-top:0}.tox .tox-well>:last-child{margin-bottom:0}.tox .tox-well>:only-child{margin:0}.tox .tox-custom-editor{border:1px solid #eee;border-radius:6px;display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-view .tox-revisionhistory__pane{padding:0}.tox .tox-revisionhistory__container{display:flex;flex-direction:column;height:100%}.tox .tox-revisionhistory{background-color:#fff;border-top:1px solid #f0f0f0;display:flex;flex:1;height:100%;overflow-x:auto;overflow-y:hidden;position:relative;width:100%}.tox .tox-revisionhistory__iframe{flex:1}.tox .tox-revisionhistory__sidebar{display:flex;flex-direction:column;height:100%;min-width:248px;width:316px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__sidebar-title{background-color:#fff;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);color:#222f3e;font-size:20px;font-weight:400;line-height:28px;padding:12px;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions{background-color:#f0f0f0;display:flex;flex:1;flex-direction:column;gap:12px;overflow-y:auto;padding:10px 12px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus{height:100%;position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0;border-radius:6px;bottom:1px;left:1px;right:1px;top:1px}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card{background-color:#fff;border:1px solid #f0f0f0;border-radius:6px;color:#222f3e;cursor:pointer;display:flex;flex-direction:column;font-size:14px;padding:12px;width:100%}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:hover{box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus{position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7 #006ce7;content:'';left:0;position:absolute;right:0;top:0;border-radius:6px;box-shadow:0 0 0 2px #006ce7;box-shadow:0 0 0 2px #006ce7!important}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected{background-color:#fff5cc;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);position:relative}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7 #e3b82a;content:'';left:0;position:absolute;right:0;top:0;border-radius:6px;box-shadow:0 0 0 2px #e3b82a}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-tags{display:flex;align-items:flex-start;flex-direction:row;gap:8px;overflow-x:auto}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-label{display:block;max-width:min-content;padding:4px 8px;margin-bottom:8px;font-size:12px;font-weight:700;border-radius:4px;background:#d3d5d8;text-wrap:balance;flex:0 1 auto}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-content{display:flex;flex-direction:row;gap:8px;align-items:center}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution{align-items:center;display:flex}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution .tox-revisionhistory__avatar{position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution .tox-revisionhistory__avatar+.tox-revisionhistory__card-ai-icon{margin-left:-4px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-info{display:flex;flex-direction:column;flex:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-date-label{font-size:14px;font-weight:700;line-height:18px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-author-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:400}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__avatar{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-ai-icon{display:flex;height:36px;width:36px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__norevision{color:rgba(34,47,62,.7);font-size:16px;line-height:24px;padding:5px 5.5px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-check-icon{color:#222f3e;height:24px}.tox .tox-card{background-color:#fff;border-radius:6px;display:flex;flex-direction:column;gap:12px;padding:10px;cursor:pointer;transition:box-shadow .15s ease-in-out,border .15s ease-in-out;border:2px solid transparent}.tox .tox-card:hover{box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-card--selected{border-color:#006ce7}.tox .tox-card:focus-visible{outline:2px solid #006ce7;border-color:transparent}.tox .tox-card--has-decision{background-color:#f0f0f0}.tox .tox-card--has-decision:not(.tox-card--selected){border-width:1px;border-color:rgba(34,47,62,.7);padding:11px}.tox .tox-card--has-decision .tox-card__header{font-size:12px}.tox .tox-card--has-decision .tox-card__body{color:rgba(34,47,62,.7)}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline{border-color:#e0e0e0}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:focus:not(:disabled),.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:hover:not(:disabled){background-color:#e0e0e0;border-color:#d1d1d1}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:active:not(:disabled){background-color:#d1d1d1;border-color:#d1d1d1}.tox .tox-card__header{padding-bottom:0;color:#222f3e;font-size:16px;font-weight:700;text-transform:uppercase;display:flex;flex-direction:column;gap:12px}.tox .tox-card__header-label{font-size:12px;font-weight:700;text-transform:uppercase;color:#222f3e}.tox .tox-card__header-content{flex:1;min-width:0;font-weight:400;text-transform:none}.tox .tox-card__header-actions{display:flex;align-items:center;gap:4px;flex-shrink:0;opacity:1;pointer-events:auto;transition:opacity .15s ease-in-out}.tox .tox-card__header-actions--hover-visible,.tox .tox-card__header-actions--on-focus{opacity:0;pointer-events:none}.tox .tox-card__header-actions--always-visible{opacity:1;pointer-events:auto}.tox .tox-card__header:has(.tox-card__header-actions),.tox .tox-card__header:has(.tox-card__header-content){flex-direction:row;align-items:center}.tox .tox-card__header:has(.tox-card__header-content){justify-content:space-between}.tox .tox-card__header:has(.tox-card__header-actions):not(:has(.tox-card__header-content)){justify-content:flex-end}.tox .tox-card:focus-within .tox-card__header-actions--hover-visible,.tox .tox-card:focus-within .tox-card__header-actions--on-focus,.tox .tox-card:hover .tox-card__header-actions--hover-visible{opacity:1;pointer-events:auto}.tox .tox-card__body{color:#222f3e;font-size:14px}.tox .tox-card__body .tox-expandable-box{background:0 0;border:none;gap:12px}.tox .tox-card__body .tox-expandable-box .tox-expandable-box__content,.tox .tox-card__body .tox-expandable-box>.tox-button{margin:0}.tox .tox-card__highlight{padding:4px 6px;border-bottom:2px solid #006ce7}.tox .tox-card__highlight--added{background-color:#e4eeda}.tox .tox-card__highlight--deleted{background-color:#f5cccc}.tox .tox-card__highlight--modified{background-color:#cce2fa}.tox .tox-card__actions{display:flex;gap:8px}.tox .tox-card__actions--space-between{justify-content:space-between}.tox .tox-card__actions--flex-start{justify-content:flex-start}.tox .tox-card__actions .tox-button,.tox .tox-card__actions .tox-button--icon,.tox .tox-card__actions .tox-button:has(.tox-icon:only-child){padding:4px 16px}.tox .tox-card__divider{margin:12px 0;border:none;border-top:1px solid #eee}.tox .tox-card__expansion{display:flex;flex-direction:column;gap:12px;width:100%}.tox .tox-card__expansion:has(> .tox-card__expansion-content--collapsed:only-child){margin-block-start:-12px}.tox .tox-card__expansion-content{display:grid;font-size:14px;grid-template-rows:0fr;transition:grid-template-rows .2s ease-in-out}.tox .tox-card__expansion-content--expanded{grid-template-rows:1fr}.tox .tox-card__expansion-content--expanded>.tox-card__expansion-content-inner{min-height:auto;overflow:visible}.tox .tox-card__expansion-content--collapsed{grid-template-rows:0fr}.tox .tox-card__expansion-content-inner{min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:12px}.tox .tox-card.tox-skeleton{cursor:default;pointer-events:none;box-shadow:none}.tox .tox-card.tox-skeleton:hover{box-shadow:none}.tox .tox-card.tox-skeleton .tox-skeleton__line{border-radius:6px;margin:0}.tox .tox-card.tox-skeleton .tox-card__body{display:flex;flex-direction:column;gap:4px}.tox .tox-card-list{display:flex;flex-direction:column;gap:12px}.tox .tox-card-list:has(.tox-card-group){gap:0}.tox .tox-card-list:focus{outline:0}.tox .tox-card-group{background-color:#f0f0f0;display:flex;flex-direction:column}.tox .tox-card-group .tox-card{scroll-margin-top:53px}.tox .tox-card-group__title{align-items:center;background-color:#fff;border-bottom:1px solid #eee;color:#222f3e;display:flex;font-size:14px;font-weight:700;gap:8px;line-height:16px;overflow:hidden;padding:12px;position:sticky;top:0;z-index:1}.tox .tox-card-group__title-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-card-group__status{color:rgba(34,47,62,.7);flex:0 0 auto;font-size:12px;font-weight:400;margin-inline-start:auto}.tox .tox-card-group__content{display:flex;flex-direction:column;gap:12px;padding-block:12px}.tox .tox-profile{align-items:center;display:flex;gap:8px}.tox .tox-profile__image{align-items:center;display:flex;flex-shrink:0}.tox .tox-profile__badge{display:flex;flex-shrink:0;height:36px;margin-inline-start:-4px;width:36px}.tox .tox-profile__badge svg{display:block;height:100%;width:100%}.tox .tox-user-avatar{width:36px;height:36px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center}.tox .tox-user-avatar img{width:100%;height:100%;object-fit:cover}.tox .tox-profile__body{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;flex:1}.tox .tox-profile__heading{color:#222f3e;font-size:14px;font-weight:700;line-height:18px;text-transform:none}.tox .tox-profile__subheading{color:#222f3e;font-size:12px;font-weight:400;line-height:16px;padding-block:4px;text-transform:none}.tox .tox-profile__subheading .tox-icon svg{fill:rgba(34,47,62,0.5);margin-block:-4px;vertical-align:top}.tox [data-mce-name=suggestededits] .tox-icon .tox-icon--badge{fill:#006ce7}.tox .tox-view .tox-suggestededits__pane{padding:0}.tox .tox-suggestededits__sink{position:relative;z-index:1000}.tox .tox-suggestededits__sink .tox-tiered-menu .tox-collection--list{position:absolute}.tox .tox-suggestededits__container{height:100%;display:flex;flex-direction:column}.tox .tox-suggestededits__container .tox-suggestededits{background-color:#fff;display:flex;flex:1;height:inherit;overflow-x:auto;overflow-y:hidden;position:relative}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__content{flex:1}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__model{height:100%;position:relative}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__model .tox-suggestededits__iframe{height:100%;width:100%;overflow:scroll;background-color:#fff}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar{background-color:#f0f0f0;border-left:1px solid #e3e3e3;display:flex;flex-direction:column;flex:0 1 auto;min-width:248px;width:441px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__announcer{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;margin:-1px;padding:0;border:0}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar{padding:4px 12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar:not(:empty){padding:12px 12px 6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button:has(.tox-icon:only-child){gap:0;padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-md,16px)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button:has(.tox-icon:only-child) .tox-icon{align-items:center;display:flex;flex:0 0 auto;height:24px;justify-content:center;width:24px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline{border-color:#e3e3e3}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:focus:not(:disabled),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:hover:not(:disabled){background-color:rgba(34,47,62,.12);border-color:rgba(34,47,62,.12)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline.tox-button--enabled:not(:disabled),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:active:not(:disabled){background-color:rgba(34,47,62,.18);border-color:rgba(34,47,62,.18);color:#222f3e}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline[disabled]{border-color:#e3e3e3}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content{display:flex;flex:1;flex-direction:column;gap:12px;overflow:auto;padding:6px 12px 12px 12px;position:relative;scroll-padding-block:6px 12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-card--selected:has(textarea:focus){border-color:transparent}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__divider,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--divider{background-color:#f0f0f0;height:1px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--editor,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--single{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;gap:12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--editor{padding:6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header{display:flex;flex:auto;justify-content:space-between;align-items:center;gap:8px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__card--timestamp,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__card--timestamp{color:#222f3e}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__card--timestamp .tox-icon svg,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__card--timestamp .tox-icon svg{fill:rgba(34,47,62,0.5)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution{align-items:center;border:0;border-radius:20px;color:rgba(34,47,62,.7);height:20px;width:20px;display:flex;flex:0 0 auto;justify-content:center;text-align:center}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button{padding:var(--tox-private-button-padding-y,4px) var(--tox-private-button-padding-x,16px)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button .tox-suggestededits__resolution--label{display:none}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:not(:hover):not(:focus-visible),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:not(:hover):not(:focus-visible){border-color:transparent}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution{display:none}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution--label{display:inline}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content{display:flex;flex-direction:column;align-self:stretch;flex:auto;gap:6px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations{display:flex;gap:8px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-details,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-details{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-text,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-text{color:#222f3e;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:18px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-content-text,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-content-text{font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:20px;overflow-wrap:break-word}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-content-text-joiner,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-content-text-joiner{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__card--feedback,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__card--feedback{color:#222f3e;overflow-wrap:anywhere;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__actions,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--buttons{display:flex;align-items:center;gap:8px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__actions.tox-suggestededits__card--feedback-buttons,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--buttons.tox-suggestededits__card--feedback-buttons{justify-content:flex-end}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-suggestededits__card--active .tox-suggestededits__card--single{border-radius:6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-suggestededits__card--active .tox-suggestededits__card--single:focus-visible{outline:2px solid #006ce7}.tox .tox-dialog-loading::before{background-color:rgba(0,0,0,.5);content:"";height:100%;position:absolute;width:100%;z-index:1000}.tox .tox-tab{cursor:pointer}.tox .tox-dialog__content-js{display:flex;flex:1}.tox .tox-dialog__body-content .tox-collection{display:flex;flex:1} +.tox{box-shadow:none;box-sizing:content-box;cursor:auto;font-style:normal;font-weight:400;line-height:normal;-webkit-tap-highlight-color:transparent;-webkit-text-decoration:none;text-decoration:none;text-shadow:none;text-transform:none;vertical-align:initial;white-space:normal}.tox :not(svg):not(rect){box-sizing:inherit;color:inherit;cursor:inherit;direction:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;-webkit-tap-highlight-color:inherit;text-align:inherit;text-decoration:inherit;text-shadow:inherit;text-transform:inherit;vertical-align:inherit;white-space:inherit}.tox :not(svg):not(rect){background:0 0;border:0;box-shadow:none;float:none;height:auto;margin:0;max-width:none;outline:0;padding:0;position:static;width:auto}.tox:not([dir=rtl]){direction:ltr;text-align:left}.tox[dir=rtl]{direction:rtl;text-align:right}.tox-tinymce :focus,.tox-tinymce-aux :focus{outline:0}button::-moz-focus-inner{border:0}@keyframes tox-rotation{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes tox-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox{color:var(--tox-private-color-black,#222f3e);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-font-size-base, 16px)}.tox-tinymce{border:2px solid #eee;border-radius:10px;box-shadow:none;box-sizing:border-box;display:flex;flex-direction:column;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);overflow:hidden;position:relative;visibility:inherit!important}.tox.tox-tinymce-inline{border:none;box-shadow:none;overflow:initial}.tox.tox-tinymce-inline .tox-editor-container{overflow:initial}.tox.tox-tinymce-inline .tox-editor-header{background-color:#fff;border:2px solid #eee;border-radius:10px;box-shadow:none;overflow:hidden}.tox-tinymce-aux{font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);z-index:var(--tox-private-z-index-sink,1300)}.tox[dir=rtl] .tox-icon--flip svg{transform:rotateY(180deg)}.tox .tox-editor-container{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.tox .tox-editor-container--keep-toolbar{flex:0 0 auto;overflow:visible}.tox .tox-editor-header{display:grid;grid-template-columns:1fr min-content;z-index:2}.tox:not(.tox-tinymce-inline) .tox-editor-header{background-color:#fff;border-bottom:none;box-shadow:0 2px 2px -2px rgba(34,47,62,.1),0 8px 8px -4px rgba(34,47,62,.07);padding:4px 0}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(.tox-editor-dock-transition){transition:box-shadow .5s}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header{border-top:1px solid #e3e3e3;box-shadow:none}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header{background-color:#fff;box-shadow:0 2px 2px -2px rgba(34,47,62,.2),0 8px 8px -4px rgba(34,47,62,.15);padding:4px 0}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header{box-shadow:0 2px 2px -2px rgba(34,47,62,.2),0 8px 8px -4px rgba(34,47,62,.15)}.tox.tox:not(.tox-tinymce-inline) .tox-editor-header.tox-editor-header--empty{background:0 0;border:none;box-shadow:none;padding:0}.tox-editor-dock-fadeout{opacity:0;visibility:hidden}.tox-editor-dock-fadein{opacity:1;visibility:visible}.tox-editor-dock-transition{transition:visibility 0s linear .25s,opacity .25s ease}.tox-editor-dock-transition.tox-editor-dock-fadein{transition-delay:0s}.tox .accessibility-issue__header{align-items:center;display:flex;margin-bottom:4px}.tox #accessibility-issue__subheader{font-size:16px;color:#222f3e}.tox .accessbility-sr-only{position:absolute;clip:rect(1px,1px,1px,1px);clip-path:inset(0 0 99.9% 99.9%);overflow:hidden;height:1px;width:1px;padding:0;border:0}.tox .accessibility-issue__description{align-items:stretch;border-radius:6px;justify-content:space-between}.tox .accessibility-issue__description>div{padding-bottom:4px}.tox .accessibility-issue__description>div>div{align-items:center;display:flex;margin-bottom:4px}.tox .accessibility-issue__description>div>div .tox-icon svg{display:block}.tox #accessibility-issue__contentID{margin-top:8px;margin-bottom:8px}.tox #accessibility-issue__contentID span:first-child{font-weight:700}.tox #accessibility-issue__document{padding-bottom:8px}.tox .accessibility-issue__repair{margin-top:8px}.tox .accessibility-issue__repair .tox-form__group .tox-form__group--error{color:#c00}.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description{background-color:#e6f0fd;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2{font-size:14px;color:#006ce7}.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon.accessibility-issue__icon svg{fill:#006ce7}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon{background-color:#006ce7;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:hover{background-color:#0060ce}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:active{background-color:#0054b4}.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description{background-color:#fffae6;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2{font-size:14px;color:#7a6e25}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon.accessibility-issue__icon svg{fill:#7a6e25}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon{background-color:#ffe89d;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:hover{background-color:#f2d574;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:active{background-color:#e8c657;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description{background-color:#fae6e6;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2{font-size:14px;color:#c00}.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon.accessibility-issue__icon svg{fill:#c00}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon{background-color:#f2bfbf;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:hover{background-color:#e9a4a4;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:active{background-color:#ee9494;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description{background-color:rgba(120,171,70,.1);color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description>:last-child{display:none}.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2{color:#527530}.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon.accessibility-issue__icon svg{fill:#527530}.tox .tox-dialog__body-content .accessibility-issue__header .tox-form__group h1,.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2{margin-top:0}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-left:4px}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-left:auto}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description{padding:8px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-right:4px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-right:auto}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description{padding:4px 8px 4px 4px}.tox .mce-codemirror{background:#fff;bottom:0;font-size:13px;left:0;position:absolute;right:0;top:0;z-index:1}.tox .mce-codemirror.tox-inline-codemirror{margin:8px;position:absolute}.tox .tox-advtemplate .tox-form__grid{flex:1}.tox .tox-advtemplate .tox-form__grid>div:first-child{display:flex;flex-direction:column;width:30%}.tox .tox-advtemplate .tox-form__grid>div:first-child>div:nth-child(2){flex-basis:0;flex-grow:1;overflow:auto}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-advtemplate .tox-form__grid>div:first-child{width:100%}}.tox .tox-advtemplate iframe{border-color:#eee;border-radius:10px;border-style:solid;border-width:1px;margin:0 10px}.tox .tox-accordion{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__item{background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color,#222f3e);border-radius:var(--tox-private-control-border-radius,6px);position:relative}.tox .tox-accordion__item.tox-accordion__item--expanded{background-color:var(--tox-private-background-secondary,#f0f0f0)}.tox .tox-accordion__item.tox-accordion__item--expanded .tox-accordion__content--expanded .tox-accordion__content-inner{padding-top:0}.tox .tox-accordion__item::after{border-radius:var(--tox-private-control-border-radius,6px);box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,2px) var(--tox-private-keyboard-focus-outline-color,#006ce7);content:'';inset:0;opacity:0;pointer-events:none;position:absolute}@media (forced-colors:active){.tox .tox-accordion__item::after{border:2px solid highlight}}.tox .tox-accordion__item:focus{outline:0;z-index:1}.tox .tox-accordion__item:focus::after{opacity:1}.tox .tox-accordion__heading{margin:0;width:100%}.tox .tox-accordion__heading:focus{outline:0}.tox .tox-accordion__header{align-items:center;border:none;border-radius:var(--tox-private-control-border-radius,6px);box-sizing:border-box;color:var(--tox-private-text-color,#222f3e);cursor:pointer;display:flex;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:var(--tox-private-line-height-base, 1.3);outline:0;padding:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));text-align:left;width:100%}.tox .tox-accordion__header::after{border-radius:var(--tox-private-control-border-radius,6px);bottom:0;box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,2px) var(--tox-private-keyboard-focus-outline-color,#006ce7);content:'';left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-accordion__header::after{border:2px solid highlight}}.tox .tox-accordion__header:hover:not(.tox-accordion__header--disabled){background-color:var(--tox-private-background-secondary,#f0f0f0)}.tox .tox-accordion__header:focus:not(.tox-accordion__header--disabled){position:relative;z-index:1}.tox .tox-accordion__header:focus:not(.tox-accordion__header--disabled)::after{opacity:1}.tox .tox-accordion__header.tox-accordion__header--disabled{cursor:not-allowed;opacity:.5}.tox .tox-accordion__header.tox-accordion__header--icon-end{padding-right:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__header-icon{align-items:center;color:var(--tox-private-text-color,#222f3e);display:flex;flex-shrink:0;height:calc(var(--tox-private-base-value,16px) * 1.5);justify-content:center;width:calc(var(--tox-private-base-value,16px) * 1.5)}.tox .tox-accordion__header-icon svg{display:block;fill:currentColor;height:100%;width:100%;max-height:calc(var(--tox-private-base-value,16px) * 1.5);max-width:calc(var(--tox-private-base-value,16px) * 1.5)}.tox .tox-accordion__header:not(.tox-accordion__header--icon-end) .tox-accordion__header-icon{margin-right:var(--tox-private-pad-sm,8px);margin-left:0}.tox .tox-accordion__header--icon-end .tox-accordion__header-icon{margin-left:auto}.tox .tox-accordion__header-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-accordion__header--icon-end .tox-accordion__header-text{flex:0 1 auto;margin-right:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__content{border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-accordion__content.tox-accordion__content--collapsed{display:none}.tox .tox-accordion__content.tox-accordion__content--expanded{display:block}.tox .tox-accordion__content-inner{padding:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px)) calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__content-inner .tox-form__group:last-child{margin-bottom:0}.tox .tox-accordion__content-inner .tox-form__group>:not(:first-child){margin-top:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__content-inner .tox-form__group>.tox-dropdown-content{margin-top:0}.tox .tox-accordion__content-inner .tox-button-group{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__content-inner .tox-accordion__model-button{border-radius:var(--tox-private-control-border-radius,6px);align-items:center;appearance:none;background:0 0;border:none;color:inherit;cursor:pointer;display:flex;font-family:inherit;font-size:inherit;gap:var(--tox-private-pad-xs,4px);margin:0;outline:0;padding:6px calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));position:relative}.tox .tox-accordion__content-inner .tox-accordion__model-button::after{border-radius:var(--tox-private-control-border-radius,6px);bottom:0;box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,2px) var(--tox-private-keyboard-focus-outline-color,#006ce7);content:'';left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-accordion__content-inner .tox-accordion__model-button::after{border:2px solid highlight}}.tox .tox-accordion__content-inner .tox-accordion__model-button:focus{z-index:1}.tox .tox-accordion__content-inner .tox-accordion__model-button:focus::after{opacity:1}.tox .tox-accordion .tox-selectfield{align-items:center;background-color:var(--tox-private-background-color,#fff);border:1px solid var(--tox-private-border-color,#eee);border-radius:var(--tox-private-control-border-radius,6px);box-sizing:border-box;display:flex;height:34px;padding:0 6px;position:relative;width:100%}.tox .tox-accordion .tox-selectfield:focus-within{box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,2px) var(--tox-private-keyboard-focus-outline-color,#006ce7);z-index:1}@media (forced-colors:active){.tox .tox-accordion .tox-selectfield:focus-within{border-color:highlight;box-shadow:0 0 0 2px highlight}}.tox .tox-accordion .tox-selectfield button{appearance:none;background:0 0;border:none;color:inherit;cursor:pointer;flex:1;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;outline:0;padding:5px 0;text-align:left}.tox .tox-accordion .tox-selectfield .tox-icon{display:flex;flex-shrink:0;padding:9px 0;pointer-events:none}.tox .tox-accordion .tox-selectfield .tox-icon svg{height:var(--tox-private-base-value,16px);width:var(--tox-private-base-value,16px)}.tox[dir=rtl] .tox-accordion__header{text-align:right}.tox[dir=rtl] .tox-accordion__header:not(.tox-accordion__header--icon-end) .tox-accordion__header-icon{margin-left:var(--tox-private-pad-sm,8px);margin-right:0}.tox[dir=rtl] .tox-accordion__header--icon-end .tox-accordion__header-icon{margin-right:auto;margin-left:0}.tox[dir=rtl] .tox-accordion__header--icon-end .tox-accordion__header-text{margin-left:var(--tox-private-pad-sm,8px);margin-right:0}.tox .tox-alert{align-items:flex-start;align-self:stretch;border-radius:var(--tox-private-panel-border-radius,6px);border-style:solid;border-width:1px;box-sizing:border-box;color:var(--tox-private-text-color,#222f3e);display:flex;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-normal,normal);gap:var(--tox-private-pad-xs,4px);line-height:var(--tox-private-line-height-base, 1.3);padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-sm,8px);width:100%}.tox .tox-alert--error{background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#fff) r g b / .8) 0,rgba(from var(--tox-private-background-color,#fff) r g b / .8) 100%),var(--tox-private-color-error,#c00);border-color:var(--tox-private-color-error,#c00)}.tox .tox-alert--warning{background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#fff) r g b / .8) 0,rgba(from var(--tox-private-background-color,#fff) r g b / .8) 100%),var(--tox-private-color-warning,#fc0);border-color:var(--tox-private-color-warning,#fc0)}.tox .tox-alert__body{display:flex;flex:1 0 0;flex-direction:column;min-width:0}.tox .tox-alert__content{align-items:center;display:flex;flex:1 0 0;gap:var(--tox-private-pad-sm,8px);padding:var(--tox-private-pad-sm,8px) 0}.tox .tox-alert__message{margin:0;text-align:left}.tox .tox-alert__actions{align-items:center;display:flex;flex-wrap:wrap;gap:var(--tox-private-pad-xs,4px);justify-content:flex-start}.tox .tox-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bottom-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bar{display:flex;flex:0 0 auto}.tox .tox-button{border-width:var(--tox-private-button-border-width,1px);border-style:var(--tox-private-button-border-style,solid);border-radius:var(--tox-private-control-border-radius,6px);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-button-font-size, 14px);font-style:var(--tox-private-button-font-style,normal);font-weight:var(--tox-private-button-font-weight,bold);line-height:var(--tox-private-control-line-height, 24px);padding:var(--tox-private-button-padding-y,4px) var(--tox-private-button-padding-x,16px);text-align:center;-webkit-text-decoration:none;text-decoration:none;text-transform:none;letter-spacing:normal;box-shadow:none;box-sizing:border-box;cursor:pointer;outline:0;position:relative;white-space:nowrap;display:inline-flex;justify-content:center;align-items:center;gap:var(--tox-private-pad-xs,4px)}.tox .tox-button::before{border-radius:var(--tox-private-control-border-radius,6px);bottom:calc(-1 * var(--tox-private-button-border-width,1px));box-shadow:var(--tox-private-button-focus-outline,inset 0 0 0 1px #fff,0 0 0 2px #006ce7);content:'';left:calc(-1 * var(--tox-private-button-border-width,1px));opacity:0;pointer-events:none;position:absolute;right:calc(-1 * var(--tox-private-button-border-width,1px));top:calc(-1 * var(--tox-private-button-border-width,1px))}.tox .tox-button:focus:not(:disabled){background-color:var(--tox-private-button-focus-background-color,#0060ce);background-image:none;border-color:var(--tox-private-button-focus-border-color,#0060ce);box-shadow:var(--tox-private-button-focus-box-shadow,none);color:var(--tox-private-button-focus-text-color,#fff)}.tox .tox-button:focus:not(:disabled)::before{opacity:1}.tox .tox-button.tox-button--icon,.tox .tox-button:has(.tox-icon:only-child){padding:4px}.tox .tox-button .tox-icon svg{display:block;fill:currentColor}.tox .tox-button .tox-icon.tox-icon--success svg{fill:var(--tox-private-color-success,#78AB46)}.tox .tox-button .tox-icon.tox-icon--error svg{fill:var(--tox-private-color-error,#c00)}.tox .tox-button--stretch{width:100%}.tox-context-form__group .tox-button--icon,.tox-context-form__group .tox-button.tox-button--icon{margin:6px 1px 5px 0;padding:0}.tox .tox-button{background-color:var(--tox-private-button-primary-background-color,#006ce7);background-image:none;background-position:0 0;background-repeat:repeat;color:var(--tox-private-button-primary-text-color,#fff);border-color:var(--tox-private-button-primary-border-color,#006ce7)}.tox .tox-button[disabled]{background-color:var(--tox-private-button-primary-disabled-background-color,#006ce7);background-image:none;border-color:var(--tox-private-button-primary-disabled-border-color,#006ce7);color:var(--tox-private-button-primary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button:focus:not(:disabled){background-color:var(--tox-private-button-primary-focus-background-color,#0060ce);border-color:var(--tox-private-button-primary-focus-border-color,#0060ce);color:var(--tox-private-button-primary-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button:hover:not(:disabled){background-color:var(--tox-private-button-primary-hover-background-color,#0060ce);border-color:var(--tox-private-button-primary-hover-border-color,#0060ce);color:var(--tox-private-button-primary-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button:active:not(:disabled){background-color:var(--tox-private-button-primary-active-background-color,#0054b4);border-color:var(--tox-private-button-primary-active-border-color,#0054b4);color:var(--tox-private-button-primary-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled{background-color:var(--tox-private-button-primary-enabled-background-color,#0054b4);border-color:var(--tox-private-button-primary-enabled-border-color,#0054b4);color:var(--tox-private-button-primary-enabled-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled[disabled]{color:var(--tox-private-button-primary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-primary-enabled-focus-background-color,#00489b);border-color:var(--tox-private-button-primary-enabled-focus-border-color,#00489b);color:var(--tox-private-button-primary-enabled-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-primary-enabled-hover-background-color,#00489b);border-color:var(--tox-private-button-primary-enabled-hover-border-color,#00489b);color:var(--tox-private-button-primary-enabled-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-primary-enabled-active-background-color,#003c81);border-color:var(--tox-private-button-primary-enabled-active-border-color,#003c81);color:var(--tox-private-button-primary-enabled-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary{background-color:var(--tox-private-button-secondary-background-color,#f0f0f0);border-color:var(--tox-private-button-secondary-border-color,#f0f0f0);color:var(--tox-private-button-secondary-text-color,#222f3e);border-style:solid;border-width:1px;background-image:none;background-position:0 0;background-repeat:repeat;border-radius:6px;box-shadow:none;font-size:14px;font-style:normal;font-weight:700;letter-spacing:normal;outline:0;padding:4px 16px;-webkit-text-decoration:none;text-decoration:none;text-transform:none}.tox .tox-button--secondary[disabled]{background-color:var(--tox-private-button-secondary-disabled-background-color,#f0f0f0);background-image:none;border-color:var(--tox-private-button-secondary-disabled-border-color,#f0f0f0);color:var(--tox-private-button-secondary-disabled-text-color,rgba(34,47,62,.5));cursor:not-allowed}.tox .tox-button--secondary:focus:not(:disabled){background-color:var(--tox-private-button-secondary-focus-background-color,#e3e3e3);border-color:var(--tox-private-button-secondary-focus-border-color,#e3e3e3);color:var(--tox-private-button-secondary-focus-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary:hover:not(:disabled){background-color:var(--tox-private-button-secondary-hover-background-color,#e3e3e3);border-color:var(--tox-private-button-secondary-hover-border-color,#e3e3e3);color:var(--tox-private-button-secondary-hover-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary:active:not(:disabled){background-color:var(--tox-private-button-secondary-active-background-color,#d6d6d6);border-color:var(--tox-private-button-secondary-active-border-color,#d6d6d6);color:var(--tox-private-button-secondary-active-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled{background-color:var(--tox-private-button-secondary-enabled-background-color,#a6ccf7);border-color:var(--tox-private-button-secondary-enabled-border-color,#a6ccf7);color:var(--tox-private-button-secondary-enabled-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled[disabled]{color:var(--tox-private-button-secondary-disabled-text-color,rgba(34,47,62,.5));cursor:not-allowed}.tox .tox-button--secondary.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-focus-background-color,#8ebef4);border-color:var(--tox-private-button-secondary-enabled-focus-border-color,#8ebef4);color:var(--tox-private-button-secondary-enabled-focus-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-hover-background-color,#8ebef4);border-color:var(--tox-private-button-secondary-enabled-hover-border-color,#8ebef4);color:var(--tox-private-button-secondary-enabled-hover-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-active-background-color,#77b1f2);border-color:var(--tox-private-button-secondary-enabled-active-border-color,#77b1f2);color:var(--tox-private-button-secondary-enabled-active-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--naked{background-color:transparent;border-color:transparent;box-shadow:unset;color:var(--tox-private-button-naked-text-color,#222f3e)}.tox .tox-button--naked[disabled]{background-color:transparent;border-color:transparent;color:var(--tox-private-button-naked-disabled-text-color,rgba(34,47,62,.5));cursor:not-allowed}.tox .tox-button--naked:focus:not(:disabled){background-color:var(--tox-private-button-naked-focus-background-color,rgba(34,47,62,.12));border-color:var(--tox-private-button-naked-focus-border-color,transparent);color:var(--tox-private-button-naked-focus-text-color,#222f3e);box-shadow:unset}.tox .tox-button--naked:hover:not(:disabled){background-color:var(--tox-private-button-naked-hover-background-color,rgba(34,47,62,.12));border-color:var(--tox-private-button-naked-hover-background-color,transparent);color:var(--tox-private-button-naked-hover-text-color,#222f3e);box-shadow:unset}.tox .tox-button--naked:active:not(:disabled){background-color:var(--tox-private-button-naked-active-background-color,rgba(34,47,62,.18));border-color:var(--tox-private-button-naked-active-border-color,transparent);color:var(--tox-private-button-naked-active-text-color,#222f3e);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled{background-color:var(--tox-private-button-naked-enabled-background-color,#a8c8ed);border-color:var(--tox-private-button-naked-enabled-border-color,#a8c8ed);color:var(--tox-private-button-naked-enabled-text-color,#222f3e);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled[disabled]{color:var(--tox-private-button-naked-disabled-text-color,rgba(34,47,62,.5));cursor:not-allowed}.tox .tox-button--naked.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-naked-enabled-focus-background-color,#93bbe9);border-color:var(--tox-private-button-naked-enabled-focus-border-color,#93bbe9);color:var(--tox-private-button-naked-enabled-focus-text-color,#222f3e);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-naked-enabled-hover-background-color,#93bbe9);border-color:var(--tox-private-button-naked-enabled-hover-border-color,#93bbe9);color:var(--tox-private-button-naked-enabled-hover-text-color,#222f3e);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-naked-enabled-active-background-color,#7daee4);border-color:var(--tox-private-button-naked-enabled-active-border-color,#7daee4);color:var(--tox-private-button-naked-enabled-active-text-color,#222f3e);box-shadow:unset}.tox .tox-button--secondary--outline{background-color:transparent;border-color:var(--tox-private-button-secondary-outline-border-color,#f0f0f0);color:var(--tox-private-button-secondary-outline-text-color,#222f3e)}.tox .tox-button--secondary--outline:focus:not(:disabled){background-color:var(--tox-private-button-secondary-outline-focus-background-color,#e3e3e3);border-color:var(--tox-private-button-secondary-outline-focus-border-color,#e3e3e3);color:var(--tox-private-button-secondary-outline-focus-text-color,#222f3e)}.tox .tox-button--secondary--outline:hover:not(:disabled){background-color:var(--tox-private-button-secondary-outline-hover-background-color,#f0f0f0);border-color:var(--tox-private-button-secondary-outline-hover-border-color,#e3e3e3);color:var(--tox-private-button-secondary-outline-hover-text-color,#222f3e)}.tox .tox-button--secondary--outline:active:not(:disabled){background-color:var(--tox-private-button-secondary-outline-active-background-color,#e3e3e3);border-color:var(--tox-private-button-secondary-outline-active-border-color,#e3e3e3);color:var(--tox-private-button-secondary-outline-active-text-color,#222f3e)}.tox .tox-button--secondary--outline[disabled]{background-color:var(--tox-private-button-secondary-outline-disabled-background-color,transparent);border-color:var(--tox-private-button-secondary-outline-disabled-border-color,#f0f0f0);color:var(--tox-private-button-secondary-outline-disabled-text-color,rgba(34,47,62,.5))}.tox .tox-checkbox{align-items:center;border-radius:var(--tox-private-checkbox-border-radius,6px);cursor:pointer;display:flex;height:var(--tox-private-control-height,36px);min-width:var(--tox-private-control-height,36px)}.tox .tox-checkbox__input{height:1px;overflow:hidden;position:absolute;top:auto;width:1px}.tox .tox-checkbox__icons{display:flex;align-items:center;justify-content:center;box-sizing:content-box;padding:var(--tox-private-pad-xs,calc(4px - 1px));border-radius:var(--tox-private-checkbox-border-radius,6px);box-shadow:0 0 0 2px transparent;height:var(--tox-private-control-line-height,24px);aspect-ratio:1/1}.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:block;fill:var(--tox-private-checkbox-unselected-color,rgba(34,47,62,0.3))}@media (forced-colors:active){.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:currentColor!important}}.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:none;fill:var(--tox-private-checkbox-indeterminate-color,#006ce7)}.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg{display:none;fill:var(--tox-private-checkbox-selected-color,#006ce7)}.tox .tox-checkbox--disabled{color:var(--tox-private-checkbox-disabled-text-color,rgba(34,47,62,.5));cursor:not-allowed}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(34,47,62,0.5))}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(34,47,62,0.5))}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(34,47,62,0.5))}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__checked svg{display:block}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:block}.tox input.tox-checkbox__input:focus+.tox-checkbox__icons{box-shadow:var(--tox-private-checkbox-focus-box-shadow,inset 0 0 0 1px #006ce7)}.tox:not([dir=rtl]) .tox-checkbox__label{margin-left:var(--tox-private-pad-xs,4px)}.tox:not([dir=rtl]) .tox-checkbox__input{left:-10000px}.tox:not([dir=rtl]) .tox-bar .tox-checkbox{margin-left:var(--tox-private-pad-xs,4px)}.tox[dir=rtl] .tox-checkbox__label{margin-right:var(--tox-private-pad-xs,4px)}.tox[dir=rtl] .tox-checkbox__input{right:-10000px}.tox[dir=rtl] .tox-bar .tox-checkbox{margin-right:var(--tox-private-pad-xs,4px)}.tox .tox-collection--toolbar .tox-collection__group{display:flex;padding:0}.tox .tox-collection--grid .tox-collection__group{display:flex;flex-wrap:wrap;max-height:208px;overflow-x:hidden;overflow-y:auto;padding:0}.tox .tox-collection--list .tox-collection__group{border-bottom-width:0;border-color:#e3e3e3;border-left-width:0;border-right-width:0;border-style:solid;border-top-width:1px;padding:4px 0;display:flex;flex-direction:column}.tox .tox-collection--list .tox-collection__group:first-child{border-top-width:0}.tox .tox-collection__group-heading{background-color:#fcfcfc;color:rgba(34,47,62,.7);cursor:default;font-size:12px;font-style:normal;font-weight:400;margin-bottom:4px;margin-top:-4px;padding:4px 8px;text-transform:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-collection__item{align-items:center;border-radius:3px;color:#222f3e;display:flex;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-image-selector-menu .tox-collection__item,.tox .tox-image-selector-menu .tox-collection__item-image-selector{flex-direction:column}.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-checkmark,.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-icon,.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-image,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-checkmark,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-icon,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-image{flex-grow:1}.tox .tox-image-selector-menu .tox-collection__item label,.tox .tox-image-selector-menu .tox-collection__item-image-selector label{width:48px;white-space:nowrap;overflow:hidden;font-size:12px;color:#222f3e;text-align:center;align-self:flex-end}.tox .tox-image-selector-menu .tox-collection__item-checkmark{height:24px;width:24px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.tox .tox-image-selector-menu .tox-collection__item-checkmark svg path{fill:#006ce7;stroke:#006ce7}.tox .tox-image-selector-menu .tox-image-selector__row .tox-collection__item-image-selector.tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#fff}.tox .tox-image-selector-menu .tox-image-selector__row .tox-collection__item-image-selector.tox-collection__item--enabled:not(.tox-collection__item--state-disabled){z-index:2;background-color:#fff;opacity:.8;background-clip:content-box}.tox .tox-collection--list .tox-collection__item{padding:4px 8px}.tox .tox-collection--toolbar .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--grid .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--list .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#fff;color:#222f3e}.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#006ce7;color:#fff}@media (forced-colors:active){.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){border:solid 1px}}.tox .tox-collection--grid .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#a6ccf7;color:#222f3e}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#f0f0f0;color:#222f3e;position:relative;z-index:1}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7 inset;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border:2px solid highlight}}.tox .tox-collection--toolbar .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#a6ccf7;color:#222f3e}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){border-radius:3px;outline:solid 1px}}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled){color:#222f3e;background-color:#fff;position:relative}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):hover{background-color:#f0f0f0;color:#222f3e}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus{background-color:#f0f0f0;color:#222f3e}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border:2px solid highlight}}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):hover{border-radius:3px;outline:solid 1px}}.tox .tox-collection__item-image{border:1px solid #eee;border-radius:6px;display:flex;flex-direction:column;justify-content:center;margin-bottom:4px;position:relative}.tox .tox-collection__item-checkmark,.tox .tox-collection__item-icon{align-items:center;display:flex;height:24px;justify-content:center;width:24px}.tox .tox-collection__item-checkmark svg,.tox .tox-collection__item-icon svg{fill:currentColor}.tox .tox-collection--toolbar-lg .tox-collection__item-icon{height:48px;width:48px}.tox .tox-collection__item-label{color:currentColor;display:inline-block;flex:1;font-size:14px;font-style:normal;font-weight:400;line-height:24px;max-width:100%;text-transform:none;word-break:break-all}.tox .tox-collection__item-separator{border-bottom:1px solid #e3e3e3;height:0;margin:4px 0}.tox .tox-collection__item-accessory{color:currentColor;display:inline-block;font-size:14px;height:24px;line-height:24px;text-transform:none}.tox .tox-collection__item-caret{align-items:center;display:flex;min-height:24px}.tox .tox-collection__item-caret::after{content:'';font-size:0;min-height:inherit}.tox .tox-collection__item-caret svg{fill:currentColor}.tox .tox-collection__item--state-disabled{background-color:transparent;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg{fill:rgba(34,47,62,0.5)}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg{display:none}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-accessory+.tox-collection__item-checkmark{display:none}.tox .tox-collection--horizontal{background-color:#fff;border:1px solid #e3e3e3;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:nowrap;margin-bottom:0;overflow-x:auto;padding:0}.tox .tox-collection--horizontal .tox-collection__group{align-items:center;display:flex;flex-wrap:nowrap;margin:0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item{height:28px;margin:6px 1px 5px 0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item-label{white-space:nowrap}.tox .tox-collection--horizontal .tox-collection__item-caret{margin-left:4px}.tox .tox-collection__item-container{display:flex}.tox .tox-collection__item-container--row{align-items:center;flex:1 1 auto;flex-direction:row}.tox .tox-collection__item-container--row.tox-collection__item-container--align-left{margin-right:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--align-right{justify-content:flex-end;margin-left:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-top{align-items:flex-start;margin-bottom:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-middle{align-items:center}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-bottom{align-items:flex-end;margin-top:auto}.tox .tox-collection__item-container--column{align-self:center;flex:1 1 auto;flex-direction:column}.tox .tox-collection__item-container--column.tox-collection__item-container--align-left{align-items:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--align-right{align-items:flex-end}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-top{align-self:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-middle{align-self:center}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-bottom{align-self:flex-end}.tox:not([dir=rtl]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-right:1px solid transparent}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>:not(:first-child){margin-left:8px}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-left:4px}.tox:not([dir=rtl]) .tox-collection__item-accessory{margin-left:16px;text-align:right}.tox:not([dir=rtl]) .tox-collection .tox-collection__item-caret{margin-left:16px}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-left:1px solid transparent}.tox[dir=rtl] .tox-collection--list .tox-collection__item>:not(:first-child){margin-right:8px}.tox[dir=rtl] .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-right:4px}.tox[dir=rtl] .tox-collection__item-accessory{margin-right:16px;text-align:left}.tox[dir=rtl] .tox-collection .tox-collection__item-caret{margin-right:16px;transform:rotateY(180deg)}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__item-caret{margin-right:4px}@media (forced-colors:active){.tox .tox-hue-slider,.tox .tox-rgb-form .tox-rgba-preview{background-color:currentColor!important;border:1px solid highlight!important;forced-color-adjust:none}}.tox .tox-color-picker-container{display:flex;flex-direction:row;height:225px;margin:0}.tox .tox-sv-palette{box-sizing:border-box;display:flex;height:100%}.tox .tox-sv-palette-spectrum{height:100%}.tox .tox-sv-palette,.tox .tox-sv-palette-spectrum{width:225px}.tox .tox-sv-palette-thumb{background:0 0;border:1px solid #000;border-radius:50%;box-sizing:content-box;height:12px;position:absolute;width:12px}.tox .tox-sv-palette-inner-thumb{border:1px solid #fff;border-radius:50%;height:10px;position:absolute;width:10px}.tox .tox-hue-slider{box-sizing:border-box;height:100%;width:25px}.tox .tox-hue-slider-spectrum{background:linear-gradient(to bottom,red,#ff0080,#f0f,#8000ff,#00f,#0080ff,#0ff,#00ff80,#0f0,#80ff00,#ff0,#ff8000,red);height:100%;width:100%}.tox .tox-hue-slider,.tox .tox-hue-slider-spectrum{width:20px}.tox .tox-hue-slider-spectrum:focus,.tox .tox-sv-palette-spectrum:focus{outline:#08f solid}.tox .tox-hue-slider-thumb{background:#fff;border:1px solid #000;box-sizing:content-box;height:4px;width:100%}.tox .tox-rgb-form{display:flex;flex-direction:column;justify-content:space-between}.tox .tox-rgb-form div{align-items:center;display:flex;justify-content:space-between;margin-bottom:5px;width:inherit}.tox .tox-rgb-form input{min-width:6em}.tox .tox-rgb-form input.tox-invalid{border:1px solid red!important;box-shadow:0 0 0 1px red}.tox .tox-rgb-container{position:relative}.tox .tox-rgb-form .tox-invalid-icon{align-content:center;align-items:center;display:none;height:100%;position:absolute;right:0;top:0}.tox .tox-rgb-form .tox-invalid-icon .tox-control-wrap__status-icon-invalid{margin:0}.tox .tox-rgb-warning-note{background-color:#f5cccc;border:1px solid #f0b3b3;border-radius:3px;color:#77181f;padding:3px}.tox input.tox-invalid+.tox-invalid-icon{display:flex}.tox .tox-rgb-form .tox-rgba-preview{border:1px solid #000;flex-grow:2;margin-bottom:0}.tox:not([dir=rtl]) .tox-sv-palette{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider-thumb{margin-left:-1px}.tox:not([dir=rtl]) .tox-rgb-form label{margin-right:.5em}.tox[dir=rtl] .tox-sv-palette{margin-left:15px}.tox[dir=rtl] .tox-hue-slider{margin-left:15px}.tox[dir=rtl] .tox-hue-slider-thumb{margin-right:-1px}.tox[dir=rtl] .tox-rgb-form label{margin-left:.5em}.tox .tox-toolbar .tox-swatches,.tox .tox-toolbar__overflow .tox-swatches,.tox .tox-toolbar__primary .tox-swatches{margin:5px 0 6px 11px}.tox .tox-collection--list .tox-collection__group .tox-swatches-menu{border:0;margin:-4px -4px}.tox .tox-swatches__row{display:flex}@media (forced-colors:active){.tox .tox-swatches__row{forced-color-adjust:none}}.tox .tox-swatch{height:30px;transition:transform .15s,box-shadow .15s;width:30px}.tox .tox-swatch:focus,.tox .tox-swatch:hover{box-shadow:0 0 0 1px rgba(127,127,127,.3) inset;transform:scale(.8)}.tox .tox-swatch--remove{align-items:center;display:flex;justify-content:center}.tox .tox-swatch--remove svg path{stroke:#e74c3c}.tox .tox-swatches__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-swatches__picker-btn svg{fill:#222f3e;height:24px;width:24px}.tox .tox-swatches__picker-btn:hover{background:#f0f0f0}.tox div.tox-swatch:not(.tox-swatch--remove) svg{display:none;fill:#222f3e;height:24px;margin:calc((30px - 24px)/ 2) calc((30px - 24px)/ 2);width:24px}.tox div.tox-swatch:not(.tox-swatch--remove) svg path{fill:#fff;paint-order:stroke;stroke:#222f3e;stroke-width:2px}.tox div.tox-swatch:not(.tox-swatch--remove).tox-collection__item--enabled svg{display:block}.tox:not([dir=rtl]) .tox-swatches__picker-btn{margin-left:auto}.tox[dir=rtl] .tox-swatches__picker-btn{margin-right:auto}.tox .tox-comment{background:#fff;border:1px solid #fff;border-radius:6px;padding:8px;padding-bottom:16px;position:relative}.tox .tox-comment:hover{box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-comment.tox-comment--selected{background-color:#fff2c9;border:1px solid #ffcf30;box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-comment.tox-comment--selected:focus{border:2px solid #006ce7;margin:-1px}.tox .tox-comment.tox-comment--selected:focus:not(:first-child){margin-top:7px}.tox .tox-comment.tox-comment--selected .tox-comment__single{margin-bottom:12px}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus{position:relative}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus::after{top:-9px;pointer-events:none;position:absolute;content:"";display:block;bottom:-9px;left:-9px;right:-9px;border-radius:6px;border:2px solid #006ce7}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus:last-of-type:has(textarea):after{bottom:calc((12px + 16px + 1px) * -1)}.tox .tox-comment__header{align-items:center;color:#222f3e;display:flex;justify-content:space-between}.tox .tox-comment__date{color:#222f3e;font-size:12px;line-height:18px}.tox .tox-comment__body{color:#222f3e;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;margin-top:8px;position:relative;text-transform:initial;transition:max-height .5s cubic-bezier(0, 1, 0, 1);white-space:pre-wrap}.tox .tox-comment__body.tox-comment__body--expanded{max-height:100em;transition:max-height 1s ease-in-out}.tox .tox-comment__body.tox-comment__body--pending{transition:max-height 0s}.tox .tox-comment__body p{margin:0}.tox .tox-comment__body textarea{resize:none;white-space:normal;width:100%;font-size:16px}.tox .tox-comment__loading-text{align-items:center;color:#222f3e;display:flex;flex-direction:column;position:relative}.tox .tox-comment__loading-text>div{padding-bottom:16px}.tox .tox-comment__overlaytext{bottom:0;flex-direction:column;font-size:14px;left:0;padding:1em;position:absolute;right:0;top:0;z-index:10}.tox .tox-comment__overlaytext p{background-color:#fff;box-shadow:0 0 8px 8px #fff;color:#222f3e;text-align:center}.tox .tox-comment__overlaytext div:nth-of-type(2){font-size:.8em}.tox .tox-comment__expander{padding-top:8px}.tox .tox-comment__expander p{color:rgba(34,47,62,.7);font-size:14px;font-style:normal}.tox .tox-comment__expander p:focus{font-weight:700}.tox .tox-comment__buttonspacing{padding-top:16px;text-align:center}.tox .tox-tbtn.tox-comment__mention-btn{display:flex;width:34px;height:34px;padding:5px;justify-content:center;align-items:center;margin:0;background-color:transparent}.tox .tox-comment-thread{background:#fff;position:relative;border-radius:6px;background-color:transparent}.tox .tox-comment-thread>:not(:first-child){margin-top:8px}.tox .tox-comment-thread__overlay::after{background:#fff;bottom:0;content:"";display:flex;left:0;opacity:.9;position:absolute;right:0;top:0;z-index:5}.tox .tox-comment__reply{display:flex;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__reply>:first-child{margin-bottom:8px;width:100%}.tox .tox-comment__edit{display:flex;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__gradient::after{background:linear-gradient(rgba(255,255,255,0),#fff);bottom:0;content:"";display:block;height:5em;margin-top:-40px;position:absolute;width:100%}.tox .tox-comment__overlay{background:#fff;bottom:0;display:flex;flex-direction:column;flex-grow:1;left:0;opacity:.9;position:absolute;right:0;text-align:center;top:0;z-index:5}.tox .tox-comment__busy-spinner{align-items:center;background-color:#fff;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:20}.tox .tox-comment__scroll{display:flex;flex-direction:column;flex-shrink:1;overflow:auto;padding:12px;scroll-behavior:smooth}.tox .tox-comment__scroll:has(textarea:focus){scroll-behavior:auto}.tox .tox-comment--disappearing{transition:opacity .5s ease}.tox .tox-comment[data-transitioning-destination=deleting]{opacity:0}.tox .tox-ring-loader{width:10px;height:10px;border:1px solid #fff;border-bottom-color:transparent;border-radius:50%;display:inline-block;box-sizing:border-box;animation:tox-rotation 1s linear infinite}.tox:not([dir=rtl]) .tox-comment__edit{margin-left:8px}.tox:not([dir=rtl]) .tox-comment__buttonspacing>:last-child,.tox:not([dir=rtl]) .tox-comment__edit>:last-child,.tox:not([dir=rtl]) .tox-comment__reply>:last-child{margin-left:8px}.tox[dir=rtl] .tox-comment__edit{margin-right:8px}.tox[dir=rtl] .tox-comment__buttonspacing>:last-child,.tox[dir=rtl] .tox-comment__edit>:last-child,.tox[dir=rtl] .tox-comment__reply>:last-child{margin-right:8px}.tox .tox-user{align-items:center;display:flex}.tox .tox-user__avatar svg{fill:rgba(34,47,62,0.7)}.tox .tox-user__avatar img{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-user__name{color:#222f3e;font-size:14px;font-style:normal;font-weight:700;line-height:18px;text-transform:none}.tox:not([dir=rtl]) .tox-user__avatar img,.tox:not([dir=rtl]) .tox-user__avatar svg{margin-right:8px}.tox:not([dir=rtl]) .tox-user__avatar+.tox-user__name{margin-left:8px}.tox[dir=rtl] .tox-user__avatar img,.tox[dir=rtl] .tox-user__avatar svg{margin-left:8px}.tox[dir=rtl] .tox-user__avatar+.tox-user__name{margin-right:8px}.tox .tox-dialog-wrap{align-items:center;display:flex;justify-content:center;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1100}.tox .tox-dialog-wrap__backdrop{background-color:rgba(255,255,255,.75);bottom:0;left:0;position:absolute;right:0;top:0;z-index:1}.tox .tox-dialog-wrap__backdrop--opaque{background-color:#fff}.tox .tox-dialog{background-color:#fff;border-color:#eee;border-radius:10px;border-style:solid;border-width:0;box-shadow:0 16px 16px -10px rgba(34,47,62,.15),0 0 40px 1px rgba(34,47,62,.15);display:flex;flex-direction:column;max-height:100%;max-width:480px;overflow:hidden;position:relative;width:95vw;z-index:2}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog{align-self:flex-start;margin:8px auto;max-height:calc(100vh - 8px * 2);width:calc(100vw - 16px)}}.tox .tox-dialog-inline{z-index:1100}.tox .tox-dialog__header{align-items:center;background-color:#fff;border-bottom:none;color:#222f3e;display:flex;font-size:16px;justify-content:space-between;padding:8px 16px 0 16px;position:relative}.tox .tox-dialog__header .tox-button{z-index:1}.tox .tox-dialog__draghandle{cursor:grab;height:100%;left:0;position:absolute;top:0;width:100%}.tox .tox-dialog__draghandle:active{cursor:grabbing}.tox .tox-dialog__dismiss{margin-left:auto}.tox .tox-dialog__title{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:20px;font-style:normal;font-weight:400;line-height:1.3;margin:0;text-transform:none}.tox .tox-dialog__body{color:#222f3e;display:flex;flex:1;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;min-width:0;text-align:left;text-transform:none}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body{flex-direction:column}}.tox .tox-dialog__body-nav{align-items:flex-start;display:flex;flex-direction:column;flex-shrink:0;padding:16px 16px}@media only screen and (min-width:768px){.tox .tox-dialog__body-nav{max-width:11em}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body-nav{flex-direction:row;-webkit-overflow-scrolling:touch;overflow-x:auto;padding-bottom:0}}.tox .tox-dialog__body-nav-item{border-bottom:2px solid transparent;color:rgba(34,47,62,.7);display:inline-block;flex-shrink:0;font-size:14px;line-height:1.3;margin-bottom:8px;max-width:13em;-webkit-text-decoration:none;text-decoration:none}.tox .tox-dialog__body-nav-item:focus{background-color:rgba(0,108,231,.1)}.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid #144782;color:#144782}@media (forced-colors:active){.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid highlight;color:highlight}}.tox .tox-dialog__body-content{box-sizing:border-box;display:flex;flex:1;flex-direction:column;max-height:min(650px,calc(100vh - 110px));overflow:auto;-webkit-overflow-scrolling:touch;padding:16px 16px}.tox .tox-dialog__body-content>*{margin-bottom:0;margin-top:16px}.tox .tox-dialog__body-content>:first-child{margin-top:0}.tox .tox-dialog__body-content>:last-child{margin-bottom:0}.tox .tox-dialog__body-content>:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content a{color:#144782;cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content a:focus,.tox .tox-dialog__body-content a:hover{color:#071729;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content a:focus-visible{border-radius:1px;outline:2px solid #144782;outline-offset:2px}.tox .tox-dialog__body-content a:active{color:#000;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content svg{fill:#222f3e}.tox .tox-dialog__body-content strong{font-weight:700}.tox .tox-dialog__body-content ul{list-style-type:disc}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{padding-inline-start:2.5rem}.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{margin-bottom:16px}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content dt,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{display:block;margin-inline-end:0;margin-inline-start:0}.tox .tox-dialog__body-content .tox-form__group h1{color:#222f3e;font-size:20px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group h2{color:#222f3e;font-size:16px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group p{margin-bottom:16px}.tox .tox-dialog__body-content .tox-form__group h1:first-child,.tox .tox-dialog__body-content .tox-form__group h2:first-child,.tox .tox-dialog__body-content .tox-form__group p:first-child{margin-top:0}.tox .tox-dialog__body-content .tox-form__group h1:last-child,.tox .tox-dialog__body-content .tox-form__group h2:last-child,.tox .tox-dialog__body-content .tox-form__group p:last-child{margin-bottom:0}.tox .tox-dialog__body-content .tox-form__group h1:only-child,.tox .tox-dialog__body-content .tox-form__group h2:only-child,.tox .tox-dialog__body-content .tox-form__group p:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--center{text-align:center}.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--end{text-align:end}.tox .tox-dialog--width-lg{height:650px;max-width:1200px}.tox .tox-dialog--fullscreen{height:100%;max-width:100%}.tox .tox-dialog--fullscreen .tox-dialog__body-content{max-height:100%}.tox .tox-dialog--width-md{max-width:800px}.tox .tox-dialog--width-md .tox-dialog__body-content{overflow:auto}.tox .tox-dialog__body-content--centered{text-align:center}.tox .tox-dialog__footer{align-items:center;background-color:#fff;border-top:none;display:flex;justify-content:space-between;padding:8px 16px}.tox .tox-dialog__footer-end,.tox .tox-dialog__footer-start{display:flex}.tox .tox-dialog__busy-spinner{align-items:center;background-color:rgba(255,255,255,.75);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:3}.tox .tox-dialog__table{border-collapse:collapse;width:100%}.tox .tox-dialog__table thead th{font-weight:700;padding-bottom:8px}.tox .tox-dialog__table thead th:first-child{padding-right:8px}.tox .tox-dialog__table tbody tr{border-bottom:1px solid #626262}.tox .tox-dialog__table tbody tr:last-child{border-bottom:none}.tox .tox-dialog__table td{padding-bottom:8px;padding-top:8px}.tox .tox-dialog__table td:first-child{padding-right:8px}.tox .tox-dialog__iframe{min-height:200px}.tox .tox-dialog__iframe.tox-dialog__iframe--opaque{background:#fff}.tox .tox-navobj-bordered{position:relative}.tox .tox-navobj-bordered::before{border:1px solid #eee;border-radius:6px;content:'';inset:0;opacity:1;pointer-events:none;position:absolute;z-index:1}.tox .tox-navobj-bordered iframe{border-radius:6px}.tox .tox-navobj-bordered-focus.tox-navobj-bordered::before{border-color:#006ce7;box-shadow:0 0 0 1px #006ce7;outline:0}.tox .tox-dialog__popups{position:absolute;width:100%;z-index:1100}.tox .tox-dialog__body-iframe{display:flex;flex:1;flex-direction:column}.tox .tox-dialog__body-iframe .tox-navobj{display:flex;flex:1}.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2){flex:1;height:100%}.tox .tox-dialog-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-dialog-dock-fadein{opacity:1;visibility:visible}.tox .tox-dialog-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein{transition-delay:0s}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav{margin-right:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav-item:not(:first-child){margin-left:8px}}.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-end>*,.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-start>*{margin-left:8px}.tox[dir=rtl] .tox-dialog__body{text-align:right}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav{margin-left:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav-item:not(:first-child){margin-right:8px}}.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-end>*,.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-start>*{margin-right:8px}.tox .tox-dropdown-content{box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);position:fixed;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;overflow:auto;height:fit-content;width:fit-content;border-radius:var(--tox-private-panel-border-radius,6px);background-color:var(--tox-private-background-color,#fff);max-height:50vh}.tox .tox-dropdown-content .tox-menu{width:100%;box-shadow:none}body.tox-dialog__disable-scroll{overflow:hidden}.tox .tox-dropzone-container{display:flex;flex:1}.tox .tox-dropzone{align-items:center;background:#fff;border:2px dashed #eee;box-sizing:border-box;display:flex;flex-direction:column;flex-grow:1;justify-content:center;min-height:100px;padding:10px}.tox .tox-dropzone p{color:rgba(34,47,62,.7);margin:0 0 16px 0}.tox .tox-edit-area{display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-edit-area::before{border:2px solid #006ce7;border-radius:4px;content:'';inset:0;opacity:0;pointer-events:none;position:absolute;transition:opacity .15s;z-index:1}@media (forced-colors:active){.tox .tox-edit-area::before{border:2px solid highlight}}.tox .tox-edit-area__iframe{background-color:#fff;border:0;box-sizing:border-box;flex:1;height:100%;position:absolute;width:100%}.tox.tox-edit-focus .tox-edit-area::before{opacity:1}.tox.tox-inline-edit-area{border:1px dotted #eee}.tox .tox-expandable-box{background:var(--tox-private-background-color,#fff);border-radius:var(--tox-private-control-border-radius,6px);border:1px solid var(--tox-private-border-color,#eee);display:flex;flex-direction:column;justify-content:stretch;overflow:hidden}.tox .tox-expandable-box>.tox-button{margin:0 var(--tox-private-pad-md,16px) var(--tox-private-pad-md,16px)}.tox .tox-expandable-box__title{align-items:center;background:hsl(from var(--tox-private-color-tint,#006ce7) h s l / 10%);border-bottom:1px solid var(--tox-private-border-color,#eee);color:var(--tox-private-text-color,#222f3e);display:flex;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);gap:var(--tox-private-pad-sm,8px);min-width:0;padding:var(--tox-private-pad-sm,8px) var(--tox-private-pad-md,16px)}.tox .tox-expandable-box__title .tox-icon{flex-shrink:0;height:var(--tox-private-base-value,16px);fill:var(--tox-private-text-color,#222f3e)}.tox .tox-expandable-box__title-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-expandable-box__content{margin:var(--tox-private-pad-md,16px);overflow:auto}.tox .tox-expandable-box__content--overflowing{position:relative;overflow:hidden}.tox .tox-expandable-box__content--overflowing::after{content:'';position:absolute;bottom:0;left:0;right:0;height:min(100px,100%);pointer-events:none;background:linear-gradient(to bottom,transparent 50%,var(--tox-private-background-color,#fff))}.tox .tox-expandable-box__content--expanded{max-height:fit-content}.tox .tox-control-wrap{flex:1;position:relative}.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid,.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown,.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid{display:none}.tox .tox-control-wrap svg{display:block}.tox .tox-control-wrap__status-icon-wrap{position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-control-wrap__status-icon-invalid svg{fill:#c00}.tox .tox-control-wrap__status-icon-unknown svg{fill:orange}.tox .tox-control-wrap__status-icon-valid svg{fill:green}.tox:not([dir=rtl]) .tox-control-wrap--status-invalid .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-unknown .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-valid .tox-textfield{padding-right:32px}.tox:not([dir=rtl]) .tox-control-wrap__status-icon-wrap{right:4px}.tox[dir=rtl] .tox-control-wrap--status-invalid .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-unknown .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-valid .tox-textfield{padding-left:32px}.tox[dir=rtl] .tox-control-wrap__status-icon-wrap{left:4px}.tox .tox-custom-preview{border-color:#eee;border-radius:6px;border-style:solid;border-width:1px;flex:1;padding:8px}.tox .tox-autocompleter{max-width:25em}.tox .tox-autocompleter .tox-menu{box-sizing:border-box;max-width:25em}.tox .tox-autocompleter .tox-autocompleter-highlight{font-weight:700}.tox .tox-color-input{display:flex;position:relative;z-index:1}.tox .tox-color-input .tox-textfield{z-index:-1}.tox .tox-color-input span{border-color:rgba(34 47 62 / 20%);border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;height:24px;position:absolute;top:6px;width:24px}@media (forced-colors:active){.tox .tox-color-input span{border-color:currentColor;border-width:2px!important;forced-color-adjust:none}}.tox .tox-color-input span:focus:not([aria-disabled=true]),.tox .tox-color-input span:hover:not([aria-disabled=true]){border-color:#006ce7;cursor:pointer}.tox .tox-color-input span::before{background-image:linear-gradient(45deg,rgba(0,0,0,.25) 25%,transparent 25%),linear-gradient(-45deg,rgba(0,0,0,.25) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.25) 75%),linear-gradient(-45deg,transparent 75%,rgba(0,0,0,.25) 75%);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px;border:1px solid #fff;border-radius:6px;box-sizing:border-box;content:'';height:24px;left:-1px;position:absolute;top:-1px;width:24px;z-index:-1}@media (forced-colors:active){.tox .tox-color-input span::before{border:none}}.tox .tox-color-input span[aria-disabled=true]{cursor:not-allowed}.tox:not([dir=rtl]) .tox-color-input .tox-textfield{padding-left:36px}.tox:not([dir=rtl]) .tox-color-input span{left:6px}.tox[dir=rtl] .tox-color-input .tox-textfield{padding-right:36px}.tox[dir=rtl] .tox-color-input span{right:6px}.tox .tox-label,.tox .tox-toolbar-label{color:rgba(34,47,62,.7);display:block;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;padding:0 8px 0 0;text-transform:none;white-space:nowrap}.tox .tox-toolbar-label{padding:0 8px}.tox[dir=rtl] .tox-label{padding:0 0 0 8px}.tox .tox-form{display:flex;flex:1;flex-direction:column}.tox .tox-form__group{box-sizing:border-box;margin-bottom:4px}.tox .tox-form-group--maximize{flex:1}.tox .tox-form__group--error{color:#c00}.tox .tox-form__group--collection{display:flex}.tox .tox-form__grid{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}.tox .tox-form__grid--2col>.tox-form__group{width:calc(50% - (8px / 2))}.tox .tox-form__grid--3col>.tox-form__group{width:calc(100% / 3 - (8px / 2))}.tox .tox-form__grid--4col>.tox-form__group{width:calc(25% - (8px / 2))}.tox .tox-form__controls-h-stack{align-items:center;display:flex}.tox .tox-form__group--inline{align-items:center;display:flex}.tox .tox-form__group--stretched{display:flex;flex:1;flex-direction:column}.tox .tox-form__group--stretched .tox-textarea{flex:1}.tox .tox-form__group--stretched .tox-navobj{display:flex;flex:1}.tox .tox-form__group--stretched .tox-navobj :nth-child(2){flex:1;height:100%}.tox:not([dir=rtl]) .tox-form__controls-h-stack>:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-form__controls-h-stack>:not(:first-child){margin-right:4px}.tox .tox-lock.tox-locked .tox-lock-icon__unlock,.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock{display:none}.tox .tox-context-form__group .tox-button--icon.tox-lock-context-form-size-input{margin-left:8px;margin-right:8px}.tox .tox-listboxfield .tox-listbox--select,.tox .tox-textarea,.tox .tox-textarea-wrap .tox-textarea:focus,.tox .tox-textfield,.tox .tox-toolbar-textfield{appearance:none;background-color:#fff;border-color:#eee;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#222f3e;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 5.5px;resize:none;width:100%}.tox .tox-textarea[disabled],.tox .tox-textfield[disabled],.tox .tox-toolbar-textfield[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-custom-editor:focus-within,.tox .tox-focusable-wrapper:focus,.tox .tox-listboxfield .tox-listbox--select:focus,.tox .tox-textarea-wrap:focus-within,.tox .tox-textarea:focus,.tox .tox-textfield:focus,.tox .tox-toolbar-textfield:focus{background-color:#fff;border-color:#006ce7;box-shadow:0 0 0 1px #006ce7;outline:0}.tox .tox-toolbar-textfield{max-width:250px;min-height:unset;height:28px;margin:5px 0 6px 0}.tox .tox-naked-btn{background-color:transparent;border:0;border-color:transparent;box-shadow:unset;color:#006ce7;cursor:pointer;display:block;margin:0;padding:0}.tox .tox-naked-btn svg{display:block;fill:#222f3e}.tox .tox-textfield-size{width:80px}.tox:not([dir=rtl]) .tox-toolbar-textfield+*{margin-left:4px}.tox[dir=rtl] .tox-toolbar-textfield+*{margin-right:4px}.tox .tox-listboxfield{cursor:pointer;position:relative}.tox .tox-listboxfield .tox-listbox--select[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-listbox__select-label{cursor:default;flex:1;margin:0 4px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-listbox__menu .tox-menu{box-sizing:border-box}.tox .tox-listbox__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-listbox__select-chevron svg{fill:#222f3e}@media (forced-colors:active){.tox .tox-listbox__select-chevron svg{fill:currentColor!important}}.tox .tox-listboxfield .tox-listbox--select{align-items:center;display:flex}.tox:not([dir=rtl]) .tox-listboxfield svg{right:8px}.tox[dir=rtl] .tox-listboxfield svg{left:8px}.tox .tox-selectfield{cursor:pointer;position:relative}.tox .tox-selectfield select{appearance:none;background-color:#fff;border-color:#eee;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#222f3e;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 5.5px;resize:none;width:100%}.tox .tox-selectfield select[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-selectfield select::-ms-expand{display:none}.tox .tox-selectfield select:focus{background-color:#fff;border-color:#006ce7;box-shadow:0 0 0 1px #006ce7;outline:0}.tox .tox-selectfield svg{pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-selectfield select option:checked{background-color:revert;color:revert}.tox:not([dir=rtl]) .tox-selectfield select[size="0"],.tox:not([dir=rtl]) .tox-selectfield select[size="1"]{padding-right:24px}.tox:not([dir=rtl]) .tox-selectfield svg{right:8px}.tox[dir=rtl] .tox-selectfield select[size="0"],.tox[dir=rtl] .tox-selectfield select[size="1"]{padding-left:24px}.tox[dir=rtl] .tox-selectfield svg{left:8px}.tox .tox-textarea-wrap{border-color:#eee;border-radius:6px;border-style:solid;border-width:1px;display:flex;flex:1;overflow:hidden}.tox .tox-textarea{appearance:textarea;white-space:pre-wrap}.tox .tox-textarea-wrap .tox-textarea{border:none}.tox .tox-textarea-wrap .tox-textarea:focus{border:none}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}.tox .tox-help__more-link{list-style:none;margin-top:1em}.tox .tox-imagepreview{background-color:#666;height:380px;overflow:hidden;position:relative;width:100%}.tox .tox-imagepreview.tox-imagepreview__loaded{overflow:auto}.tox .tox-imagepreview__container{display:flex;left:100vw;position:absolute;top:100vw}.tox .tox-imagepreview__image{background:url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==)}.tox .tox-image-tools .tox-spacer{flex:1}.tox .tox-image-tools .tox-bar{align-items:center;display:flex;height:60px;justify-content:center}.tox .tox-image-tools .tox-imagepreview,.tox .tox-image-tools .tox-imagepreview+.tox-bar{margin-top:8px}.tox .tox-image-tools .tox-croprect-block{background:#000;opacity:.5;position:absolute;zoom:1}.tox .tox-image-tools .tox-croprect-handle{border:2px solid #fff;height:20px;left:0;position:absolute;top:0;width:20px}.tox .tox-image-tools .tox-croprect-handle-move{border:0;cursor:move;position:absolute}.tox .tox-image-tools .tox-croprect-handle-nw{border-width:2px 0 0 2px;cursor:nw-resize;left:100px;margin:-2px 0 0 -2px;top:100px}.tox .tox-image-tools .tox-croprect-handle-ne{border-width:2px 2px 0 0;cursor:ne-resize;left:200px;margin:-2px 0 0 -20px;top:100px}.tox .tox-image-tools .tox-croprect-handle-sw{border-width:0 0 2px 2px;cursor:sw-resize;left:100px;margin:-20px 2px 0 -2px;top:200px}.tox .tox-image-tools .tox-croprect-handle-se{border-width:0 2px 2px 0;cursor:se-resize;left:200px;margin:-20px 0 0 -20px;top:200px}.tox .tox-image-selector-loading-spinner-wrapper{display:flex;justify-content:center;align-items:center}.tox .tox-image-selector-loading-spinner{position:absolute;width:min(24px,30%);aspect-ratio:1/1;border-radius:50%;border:3px solid #006ce7;border-bottom-color:transparent;animation:tox-rotation 1s linear infinite}.tox .tox-toolbar .tox-image-selector,.tox .tox-toolbar__overflow .tox-image-selector,.tox .tox-toolbar__primary .tox-image-selector{margin:5px 0 6px 11px}.tox .tox-image-selector-menu{border:0;border-radius:3px;margin:-4px -4px;padding:4px}.tox .tox-image-selector-menu .tox-collection--list .tox-collection__group{border:0;padding:0;margin:-4px -4px}.tox .tox-image-selector-menu .tox-collection__item{max-width:48px}.tox .tox-image-selector-menu .tox-collection__item-icon{border:1px solid #eee;border-radius:3px;margin-bottom:4px;width:100%}.tox .tox-image-selector-menu .tox-collection__item-icon svg path{stroke:#c00}.tox .tox-image-selector__row{display:flex}.tox .tox-image-selector--remove{align-items:center;display:flex;justify-content:center}.tox .tox-image-selector--remove svg path{stroke:#c00}.tox .tox-image-selector-image-wrapper{width:46px;height:46px;display:flex;align-items:center;justify-content:center}.tox .tox-image-selector-image-img{max-width:100%;max-height:100%}.tox .tox-image-selector__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-image-selector__picker-btn svg{fill:#222f3e;height:24px;width:24px}.tox .tox-image-selector__picker-btn:hover{background:#f0f0f0}.tox .tox-context-toolbar{position:absolute;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;z-index:1150;background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color,#222f3e);border:1px solid #e3e3e3;border-radius:6px;box-shadow:0 2px 8px rgba(0,0,0,.08);padding:8px}.tox .tox-context-toolbar[popover]{inset:auto;margin:0}.tox .tox-context-toolbar .tox-toolbar{display:flex;flex-wrap:nowrap;gap:8px}.tox .tox-context-toolbar .tox-toolbar__group{display:flex;flex-wrap:nowrap;flex-shrink:0;gap:8px;align-items:center;padding:0}.tox .tox-insert-table-picker{background-color:#fff;display:flex;flex-wrap:wrap;width:170px}.tox .tox-insert-table-picker>div{border-color:#eee;border-style:solid;border-width:0 1px 1px 0;box-sizing:border-box;height:17px;width:17px}.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker{margin:-4px -4px}.tox .tox-insert-table-picker .tox-insert-table-picker__selected{background-color:#006ce7;border-color:#eee}@media (forced-colors:active){.tox .tox-insert-table-picker .tox-insert-table-picker__selected{border-color:Highlight;filter:contrast(50%)}}.tox .tox-insert-table-picker__label{color:rgba(34,47,62,.7);display:block;font-size:14px;padding:4px;text-align:center;width:100%}.tox:not([dir=rtl]) .tox-insert-table-picker>div:nth-child(10n){border-right:0}.tox[dir=rtl] .tox-insert-table-picker>div:nth-child(10n+1){border-right:0}.tox-mentions__card-common{z-index:1200}.tox.tox-mentions__card{background:#fff;border:1px solid #eee;display:flex;padding:4px 8px}.tox.tox-mentions__card .tox-mentions__container{display:flex;flex-direction:column;align-self:center;margin:0 4px}.tox .tox-mentions__avatar{width:42px;height:42px;border-radius:50%;margin-right:4px}.tox .tox-mentions__username{font-size:14px;line-height:21px;color:#222f3e}.tox .tox-mentions__description{font-size:12px;line-height:21px;color:rgba(34,47,62,.7)}.tox .tox-collection__item--active .tox-mentions__description,.tox .tox-collection__item--active .tox-mentions__username{color:inherit}.tox .tox-menu{background-color:#fff;border:1px solid transparent;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);display:inline-block;overflow:hidden;vertical-align:top;z-index:1150}.tox .tox-menu.tox-collection.tox-collection--list{padding:0 4px}.tox .tox-menu.tox-collection.tox-collection--toolbar{padding:8px}.tox .tox-menu.tox-collection.tox-collection--grid{padding:8px}@media only screen and (min-width:768px){.tox .tox-menu .tox-collection__item-label{overflow-wrap:break-word;word-break:normal}.tox .tox-dialog__popups .tox-menu .tox-collection__item-label{word-break:break-all}}.tox .tox-menu__label blockquote,.tox .tox-menu__label code,.tox .tox-menu__label h1,.tox .tox-menu__label h2,.tox .tox-menu__label h3,.tox .tox-menu__label h4,.tox .tox-menu__label h5,.tox .tox-menu__label h6,.tox .tox-menu__label p{margin:0}.tox .tox-menubar{background:repeating-linear-gradient(transparent 0 1px,transparent 1px 39px) center top 39px/100% calc(100% - 39px) no-repeat;background-color:#fff;display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;grid-column:1/-1;grid-row:1;padding:0 11px 0 12px}.tox .tox-promotion+.tox-menubar{grid-column:1}@media (max-width:480px){.tox:not(.tox-tinymce-inline) .tox-menubar{flex-wrap:nowrap;min-width:0;min-height:39px;overflow-x:auto;overflow-y:hidden}}.tox .tox-promotion{background:repeating-linear-gradient(transparent 0 1px,transparent 1px 39px) center top 39px/100% calc(100% - 39px) no-repeat;background-color:#fff;grid-column:2;grid-row:1;padding-inline-end:8px;padding-inline-start:4px;padding-top:5px}.tox .tox-promotion-link{align-items:unsafe center;background-color:#e8f1f8;border-radius:5px;color:#086be6;cursor:pointer;display:flex;font-size:14px;height:26.6px;padding:4px 8px;white-space:nowrap}.tox .tox-promotion-link:hover{background-color:#b4d7ff}.tox .tox-promotion-link:focus{background-color:#d9edf7}.tox .tox-mbtn{align-items:center;background:#fff;border:0;border-radius:3px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;justify-content:center;margin:5px 1px 6px 0;outline:0;padding:0 4px;text-transform:none;width:auto}.tox .tox-mbtn[disabled]{background-color:#fff;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-mbtn:focus:not(:disabled){background:#fff;border:0;box-shadow:none;color:#222f3e;position:relative;z-index:1}.tox .tox-mbtn:focus:not(:disabled)::after{pointer-events:none;border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-mbtn:focus:not(:disabled)::after{border:2px solid highlight}}.tox .tox-mbtn--active,.tox .tox-mbtn:not(:disabled).tox-mbtn--active:focus{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active){background:#f0f0f0;border:0;box-shadow:none;color:#222f3e}.tox .tox-mbtn__select-label{cursor:default;font-weight:400;margin:0 4px}.tox .tox-mbtn[disabled] .tox-mbtn__select-label{cursor:not-allowed}.tox .tox-mbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px;display:none}.tox .tox-notification{border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;display:grid;font-size:14px;font-weight:400;grid-template-columns:minmax(40px,1fr) auto minmax(40px,1fr);margin-left:auto;margin-right:auto;margin-top:4px;opacity:0;padding:4px;transition:transform .1s ease-in,opacity 150ms ease-in;width:max-content}.tox .tox-notification a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification p{font-size:14px;font-weight:400}.tox .tox-notification:focus{border-color:#006ce7;box-shadow:0 0 0 1px #006ce7}.tox .tox-notification--in{opacity:1}.tox .tox-notification--success{background-color:#e4eeda;border-color:#d7e6c8;color:#222f3e}.tox .tox-notification--success p{color:#222f3e}.tox .tox-notification--success a{color:#517342}.tox .tox-notification--success a:focus,.tox .tox-notification--success a:hover{color:#24321d;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--success a:focus-visible{border-radius:1px;outline:2px solid #517342;outline-offset:2px}.tox .tox-notification--success a:active{color:#0d120a;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--success svg{fill:#222f3e}.tox .tox-notification--error{background-color:#f5cccc;border-color:#f0b3b3;color:#222f3e}.tox .tox-notification--error p{color:#222f3e}.tox .tox-notification--error a{color:#77181f}.tox .tox-notification--error a:focus,.tox .tox-notification--error a:hover{color:#220709;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--error a:focus-visible{border-radius:1px;outline:2px solid #77181f;outline-offset:2px}.tox .tox-notification--error a:active{color:#000;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--error svg{fill:#222f3e}.tox .tox-notification--warn,.tox .tox-notification--warning{background-color:#fff5cc;border-color:#fff0b3;color:#222f3e}.tox .tox-notification--warn p,.tox .tox-notification--warning p{color:#222f3e}.tox .tox-notification--warn a,.tox .tox-notification--warning a{color:#7a6e25}.tox .tox-notification--warn a:focus,.tox .tox-notification--warn a:hover,.tox .tox-notification--warning a:focus,.tox .tox-notification--warning a:hover{color:#2c280d;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--warn a:focus-visible,.tox .tox-notification--warning a:focus-visible{border-radius:1px;outline:2px solid #7a6e25;outline-offset:2px}.tox .tox-notification--warn a:active,.tox .tox-notification--warning a:active{color:#050502;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--warn svg,.tox .tox-notification--warning svg{fill:#222f3e}.tox .tox-notification--info{background-color:#d6e7fb;border-color:#c1dbf9;color:#222f3e}.tox .tox-notification--info p{color:#222f3e}.tox .tox-notification--info a{color:#2a64a6}.tox .tox-notification--info a:focus,.tox .tox-notification--info a:hover{color:#163355;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--info a:focus-visible{border-radius:1px;outline:2px solid #2a64a6;outline-offset:2px}.tox .tox-notification--info a:active{color:#0b1a2c;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--info svg{fill:#222f3e}.tox .tox-notification__body{align-self:center;color:#222f3e;font-size:14px;grid-column-end:3;grid-column-start:2;grid-row-end:2;grid-row-start:1;text-align:center;white-space:normal;word-break:break-all;word-break:break-word}.tox .tox-notification__body>*{margin:0}.tox .tox-notification__body>*+*{margin-top:1rem}.tox .tox-notification__icon{align-self:center;grid-column-end:2;grid-column-start:1;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification__icon svg{display:block}.tox .tox-notification__dismiss{align-self:start;grid-column-end:4;grid-column-start:3;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification .tox-progress-bar{grid-column-end:4;grid-column-start:1;grid-row-end:3;grid-row-start:2;justify-self:center}.tox .tox-notification-container-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-notification-container-dock-fadein{opacity:1;visibility:visible}.tox .tox-notification-container-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-notification-container-dock-transition.tox-notification-container-dock-fadein{transition-delay:0s}.tox .tox-onboarding-overlay{height:100%;background-color:#f0f0f0;position:absolute;top:0;left:0;right:0;z-index:1302;overflow:auto;display:grid;justify-content:center;align-items:center}.tox .tox-onboarding-dialog{max-width:512px;background-color:#fff;display:flex;flex-direction:column;box-shadow:0 16px 16px -10px rgba(34,47,62,.15),0 0 40px 1px rgba(34,47,62,.15);border-radius:12px;margin:8px}.tox .tox-onboarding-dialog .tox-onboarding-header{color:#222f3e;display:flex;justify-content:center;align-items:center;font-size:20px;margin:24px 0 8px}.tox .tox-onboarding-dialog .tox-onboarding-step{display:grid;grid-template-columns:min-content 1fr min-content;align-items:center;margin:0 24px}.tox .tox-onboarding-dialog .tox-onboarding-step:not(:last-child){border-bottom:1px solid #e3e3e3}.tox .tox-onboarding-dialog .tox-onboarding-step--number{width:24px;aspect-ratio:1/1;border-radius:50%;border:1px solid #00ad0e;display:flex;justify-content:center;align-items:center;font-size:12px;font-weight:700;color:#00ad0e}.tox .tox-onboarding-dialog .tox-onboarding-step--body{padding:24px 0 24px 16px}.tox .tox-onboarding-dialog .tox-onboarding-step--body-header{color:#222f3e;font-size:14px;font-weight:700;margin-bottom:4px}.tox .tox-onboarding-dialog .tox-onboarding-step--body-details{color:rgba(34,47,62,.7);font-size:14px}.tox .tox-onboarding-dialog .tox-onboarding-step--action{padding-left:24px}.tox .tox-onboarding-dialog .tox-onboarding-footer{background-color:#f0f0f0;display:flex;justify-content:space-between;align-items:center;padding:16px 24px;border-bottom-left-radius:12px;border-bottom-right-radius:12px}.tox .tox-onboarding-dialog .tox-onboarding-footer p{display:flex;align-items:center;justify-content:center;gap:4px;font-size:14px;color:rgba(34,47,62,.7)}.tox .tox-onboarding-dialog svg{width:24px;fill:rgba(34,47,62,0.7)}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin{display:grid;align-items:center;grid-template-columns:min-content 1fr min-content;border-bottom:1px solid #e3e3e3;padding:24px 0;margin:0 16px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body{margin:0 16px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body .tox-promotion-dialog-plugin-header{color:#222f3e;font-size:14px;font-weight:700;margin-bottom:4px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body .tox-promotion-dialog-plugin-details{color:rgba(34,47,62,.7);font-size:14px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--icon{display:grid;place-content:center;width:56px;height:56px;line-height:24px;font-size:24px;border-radius:12px;background:linear-gradient(180deg,#fff 24%,#f0f0f0 100%);box-shadow:0 1px 1px 0 #222f3e12,0 3px 6px 0 #222f3e06;color:#006ce7}.tox .tox-promotion-dialog--subtitle{margin:16px;color:rgba(34,47,62,.7);font-size:14px}.tox .tox-promotion-dialog--explore{text-align:center;margin:16px;color:rgba(34,47,62,.7);font-size:14px}.tox .tox-promotion-dialog--explore a{color:#006ce7}.tox .tox-promotion-dialog--footer{background-color:#f0f0f0;color:rgba(34,47,62,.7);font-size:12px;text-align:center;padding:16px}.tox .tox-promotion-button{display:flex;align-items:center;height:26.6px;line-height:26.6px;font-size:14px;font-weight:700;background-color:#f1ebf9;color:#851aff;padding:8px 16px;cursor:pointer;white-space:nowrap;border-radius:5px}.tox .tox-promotion-button:focus{outline:1px solid #851AFF}.tox .tox-onboarding-dialog a,.tox .tox-promotion-dialog--footer a{color:rgba(34,47,62,.7);cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-onboarding-dialog a:focus,.tox .tox-onboarding-dialog a:hover,.tox .tox-promotion-dialog--footer a:focus,.tox .tox-promotion-dialog--footer a:hover{color:#071729;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-onboarding-dialog a:focus-visible,.tox .tox-promotion-dialog--footer a:focus-visible{border-radius:1px;outline:2px solid #144782;outline-offset:2px}.tox .tox-onboarding-dialog a:active,.tox .tox-promotion-dialog--footer a:active{color:#000;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-pop{display:inline-block;position:relative}.tox .tox-pop--resizing{transition:width .1s ease}.tox .tox-pop--resizing .tox-toolbar,.tox .tox-pop--resizing .tox-toolbar__group{flex-wrap:nowrap}.tox .tox-pop--transition{transition:.15s ease;transition-property:left,right,top,bottom}.tox .tox-pop--transition::after,.tox .tox-pop--transition::before{transition:all .15s,visibility 0s,opacity 75ms ease 75ms}.tox .tox-pop__dialog{background-color:#fff;border:1px solid #eee;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);min-width:0;overflow:hidden}.tox .tox-pop__dialog>:not(.tox-toolbar){margin:4px 4px 4px 8px}.tox .tox-pop__dialog .tox-toolbar{background-color:transparent;margin-bottom:-1px}.tox .tox-pop::after,.tox .tox-pop::before{border-style:solid;content:'';display:block;height:0;opacity:1;position:absolute;width:0}@media (forced-colors:active){.tox .tox-pop::after,.tox .tox-pop::before{content:none}}.tox .tox-pop.tox-pop--inset::after,.tox .tox-pop.tox-pop--inset::before{opacity:0;transition:all 0s .15s,visibility 0s,opacity 75ms ease}.tox .tox-pop.tox-pop--bottom::after,.tox .tox-pop.tox-pop--bottom::before{left:50%;top:100%}.tox .tox-pop.tox-pop--bottom::after{border-color:#fff transparent transparent transparent;border-width:8px;margin-left:-8px;margin-top:-1px}.tox .tox-pop.tox-pop--bottom::before{border-color:#eee transparent transparent transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--top::after,.tox .tox-pop.tox-pop--top::before{left:50%;top:0;transform:translateY(-100%)}.tox .tox-pop.tox-pop--top::after{border-color:transparent transparent #fff transparent;border-width:8px;margin-left:-8px;margin-top:1px}.tox .tox-pop.tox-pop--top::before{border-color:transparent transparent #eee transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--left::after,.tox .tox-pop.tox-pop--left::before{left:0;top:calc(50% - 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--left::after{border-color:transparent #fff transparent transparent;border-width:8px;margin-left:-15px}.tox .tox-pop.tox-pop--left::before{border-color:transparent #eee transparent transparent;border-width:10px;margin-left:-19px}.tox .tox-pop.tox-pop--right::after,.tox .tox-pop.tox-pop--right::before{left:100%;top:calc(50% + 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--right::after{border-color:transparent transparent transparent #fff;border-width:8px;margin-left:-1px}.tox .tox-pop.tox-pop--right::before{border-color:transparent transparent transparent #eee;border-width:10px;margin-left:-1px}.tox .tox-pop.tox-pop--align-left::after,.tox .tox-pop.tox-pop--align-left::before{left:20px}.tox .tox-pop.tox-pop--align-right::after,.tox .tox-pop.tox-pop--align-right::before{left:calc(100% - 20px)}.tox.tox-edit-focus .tox-sidebar__resize-handle:hover::before{border-left:0 solid transparent}.tox .tox-sidebar-wrap{--tox-private-min-editing-area-width:280px;flex-grow:1;min-height:0}.tox .tox-sidebar-wrap:not(.tox .tox-sidebar-wrap--resizable){display:flex;flex-direction:row}.tox .tox-sidebar-wrap--resizable{display:grid;grid-template-columns:minmax(var(--tox-private-min-editing-area-width),1fr) minmax(0,max-content);grid-template-rows:minmax(0,1fr)}.tox .tox-sidebar{background-color:var(--tox-private-sidebar-background-color,#f0f0f0);display:flex;flex-direction:row;justify-content:flex-end}.tox .tox-sidebar__slider{display:flex;overflow:hidden}.tox .tox-sidebar-wrap--resizable .tox-sidebar__pane-container{width:var(--tox-private-requested-sidebar-width)}.tox .tox-sidebar-wrap--resizable .tox-sidebar--sliding-growing .tox-sidebar__pane-container,.tox .tox-sidebar-wrap--resizable .tox-sidebar--sliding-shrinking .tox-sidebar__pane-container{width:var(--tox-private-resolved-sidebar-width);min-width:var(--tox-private-resolved-sidebar-width)}.tox .tox-sidebar__pane-container{display:flex}.tox .tox-sidebar-wrap--resizable .tox-sidebar__resize-handle{display:block}.tox .tox-sidebar__resize-handle{display:none;position:relative;width:var(--tox-private-sidebar-resize-handle-width,1px);height:100%;cursor:col-resize;background-color:var(--tox-private-separator-color,#e3e3e3);z-index:1}.tox .tox-sidebar__resize-handle::before{content:'';position:absolute;top:0;bottom:0;width:8px;box-sizing:border-box;border-left:0 solid transparent;transition:border-left-width .15s ease,border-left-color .15s ease}.tox .tox-sidebar__resize-handle:hover::before{border-left:3px solid #006ce7}.tox .tox-sidebar-wrap--resizable .tox-sidebar__pane{width:calc(100% - var(--tox-private-sidebar-resize-handle-width,1px))}.tox .tox-sidebar__pane{display:flex}.tox .tox-sidebar--sliding-closed{opacity:0}.tox .tox-sidebar--sliding-open{opacity:1}.tox .tox-sidebar--sliding-growing,.tox .tox-sidebar--sliding-shrinking{transition:width .5s ease,opacity .5s ease}.tox .tox-sidebar-content{display:flex;flex-direction:column;position:relative;width:100%;height:100%}.tox .tox-sidebar-content__header{align-items:center;display:flex;justify-content:space-between;border-bottom:var(--tox-private-tinymceai-border-width,1px) solid var(--tox-private-neutral-20,#e3e3e3);padding:var(--tox-private-pad-sm,8px) 12px;background:var(--tox-private-background-color,#fff)}.tox .tox-sidebar-content__header .tox-sidebar-content__header-close-button{margin-left:auto}.tox .tox-sidebar-content__actions{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-sidebar-content__title{font-size:var(--tox-private-font-size-lg, 20px);font-weight:var(--tox-private-font-weight-normal,normal);padding:var(--tox-private-pad-sm,8px) 0 var(--tox-private-pad-sm,8px) 0;color:var(--tox-private-text-color,#222f3e);line-height:28px}.tox .tox-floating-sidebar{--tox-private-floating-sidebar-width:min(380px, 90vw);--tox-private-floating-sidebar-height:80vh;position:fixed;z-index:var(--tox-private-z-index-floatingsidebar,1050);box-shadow:var(--tox-private-floating-sidebar-box-shadow,0 0 40px 1px rgba(34,47,62,.15),0 16px 16px -10px rgba(34,47,62,.15),0 0 0 1px rgba(34,47,62,.15));width:var(--tox-private-floating-sidebar-width);height:var(--tox-private-floating-sidebar-height);background-color:var(--tox-private-floating-sidebar-background-color,#f0f0f0);border-radius:var(--tox-private-panel-border-radius,6px);overflow:hidden}.tox .tox-floating-sidebar:not(.tox .tox-floating-sidebar--open){display:none}.tox .tox-floating-sidebar--open{display:block}.tox .tox-floating-sidebar__content-wrapper{width:100%;height:100%;display:flex;flex-direction:column}.tox .tox-floating-sidebar__header{position:relative}.tox .tox-floating-sidebar .tox-ai__scroll:has(.tox-card-list){background-color:inherit}.tox .tox-ai .tox-expandable-box{margin-bottom:calc(var(--tox-private-pad-md,16px) * .75)}.tox .tox-ai .tox-expandable-box .tox-expandable-box__content{margin:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-md,16px) * .75)}.tox .tox-ai .tox-expandable-box>.tox-button{margin:0 calc(var(--tox-private-pad-md,16px) * .75) var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-expandable-box:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#006ce7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-sidebar-content__header{border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-background-color,#fff);padding:calc(var(--tox-private-pad-sm,8px) - var(--tox-private-tinymceai-focus-border-width,2px)) calc(12px - var(--tox-private-tinymceai-focus-border-width,2px));border-bottom:1px solid var(--tox-private-separator-color,#e3e3e3)}.tox .tox-ai .tox-sidebar-content__header:focus-visible:not(:disabled){border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#006ce7);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-sidebar-content__loader{align-items:center;display:flex;height:100%;justify-content:center;width:100%;z-index:1000}.tox .tox-ai .tox-sidebar-content__title{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin-right:auto}.tox .tox-ai .tox-sidebar-content__title:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#006ce7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-sidebar-content__actions .tox-ai__complete-review{display:flex;align-items:center;gap:6px;padding-top:var(--tox-private-pad-xs,4px);padding-bottom:var(--tox-private-pad-xs,4px);padding-left:var(--tox-private-pad-md,16px);padding-right:var(--tox-private-pad-md,16px)}.tox .tox-ai .tox-menu{width:-webkit-fill-available;width:-moz-available;width:stretch;overflow:visible}.tox .tox-ai .tox-ai__user-prompt{display:flex;flex-direction:column;margin-left:auto;gap:inherit;width:100%}.tox .tox-ai .tox-ai__user-prompt__context{margin-left:auto;display:flex;flex-direction:column;gap:inherit;align-items:end;width:100%}.tox .tox-ai .tox-ai__user-prompt__context .tox-tag{max-width:100%}.tox .tox-ai .tox-ai__user-prompt__text{background-color:var(--tox-private-background-secondary,#f0f0f0);padding:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-md,16px) * .75);border-radius:var(--tox-private-control-border-radius,6px);max-width:80%;align-self:flex-end;color:var(--tox-private-text-color,#222f3e);white-space:pre-wrap}.tox .tox-ai .tox-ai__user-prompt__text:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#006ce7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-ai__scroll{overflow-y:auto;overflow-x:hidden;background-color:var(--tox-private-background-color,#fff);display:flex;padding:12px;flex-direction:column;align-items:flex-start;gap:12px;flex:1 0 0;align-self:stretch}.tox .tox-ai .tox-ai__scroll:focus-visible:not(:disabled){outline:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#006ce7);outline-offset:calc(-1 * var(--tox-private-tinymceai-focus-border-width,2px));border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-ai__scroll--review:not(:has(.tox-sidebar-content__message-text)){background-color:var(--tox-private-background-secondary,#f0f0f0)}.tox .tox-ai .tox-ai__spinner svg{fill:var(--tox-private-color-tint,#006ce7)}.tox .tox-ai .tox-ai__response{width:100%;min-width:100%;max-width:100%}.tox .tox-ai .tox-ai__response__header{display:flex;align-items:center;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response__header .tox-icon svg{fill:var(--tox-private-color-tint,#006ce7)}.tox .tox-ai .tox-ai__response-status{display:flex;color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));font-size:var(--tox-private-font-size-sm, 14px);gap:var(--tox-private-pad-xs,4px);line-height:var(--tox-private-tinymceai-response-status-icon-height, max(24px, calc(14px + 4px)));padding-top:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response-status svg{fill:var(--tox-private-text-color-muted,rgba(34,47,62,0.7))}.tox .tox-ai .tox-ai__response-status-icon{border-radius:999px;border:1px solid var(--tox-private-neutral-20,#e3e3e3);background-color:var(--tox-private-background-color,#fff);height:var(--tox-private-tinymceai-response-status-icon-height,max(24px,calc(14px + 4px)));flex:0 0 24px;display:flex;align-items:center;justify-content:center}.tox .tox-ai .tox-ai__response-status-icon .tox-icon{display:contents}.tox .tox-ai .tox-ai__response-status-icon+.tox-ai__response-status-icon{margin-left:calc((var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px)) * -1)}.tox .tox-ai .tox-ai__icon{display:flex;align-items:center;justify-content:center}.tox .tox-ai .tox-ai__response-sources{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response-sources-header{display:block}.tox .tox-ai .tox-ai__response-sources-list{display:flex;align-items:center;gap:var(--tox-private-pad-sm,8px);align-self:stretch;flex-wrap:wrap}.tox .tox-ai .tox-ai__response-sources-list .tox-tag{border:1px solid var(--tox-private-separator-color,#e3e3e3);background-color:transparent;max-width:32%;max-height:24px;cursor:pointer}.tox .tox-ai .tox-ai__response-sources-list .tox-tag img,.tox .tox-ai .tox-ai__response-sources-list .tox-tag svg{width:16px;height:16px;min-width:16px;min-height:16px;max-width:16px;max-height:16px}.tox .tox-ai .tox-ai__response-content{padding:var(--tox-private-pad-sm,8px) 0;color:var(--tox-private-text-color,#222f3e);font-feature-settings:'liga' off,'clig' off;font-size:var(--tox-private-font-size-sm, 14px);font-style:normal;font-weight:var(--tox-private-font-weight-normal,normal);line-height:var(--tox-private-line-height, 18px);display:flex;flex-direction:column}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming{position:relative}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming .tox-ai__response-status{color:var(--tox-private-text-color,#222f3e);font-size:var(--tox-private-font-size-md, 16px);line-height:calc(var(--tox-private-font-size-md, 16px) + 4px)}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming::after{content:'';position:absolute;bottom:0;left:0;right:0;height:min(100px,100%);pointer-events:none;background:linear-gradient(to bottom,transparent 60px,transparent 60px,var(--tox-private-background-color,#fff))}.tox .tox-ai .tox-ai-error{border-radius:var(--tox-private-panel-border-radius,6px);border:1px solid var(--tox-private-color-error,#c00);background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#fff) r g b / .9) 0,rgba(from var(--tox-private-background-color,#fff) r g b / .9) 100%),var(--tox-private-color-error,#c00);padding:var(--tox-private-pad-sm,8px);width:100%;display:flex;gap:var(--tox-private-pad-sm,8px);align-items:center}.tox .tox-ai .tox-ai-error__message{flex:1 0 0}.tox .tox-ai .tox-ai-error__icon{flex:0 0 auto;align-self:flex-start}.tox .tox-ai .tox-ai__footer{padding:calc(12px - var(--tox-private-tinymceai-focus-border-width,2px));gap:var(--tox-private-pad-sm,8px);background-color:var(--tox-private-background-color,#fff);display:flex;flex-direction:column;border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-background-color,#fff);border-top:1px solid var(--tox-private-separator-color,#e3e3e3)}.tox .tox-ai .tox-ai__footer:focus-visible:not(:disabled){border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#006ce7);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai .tox-ai__context{display:flex;gap:var(--tox-private-pad-sm,8px);flex-wrap:wrap;max-height:calc((2 * (2 * var(--tox-private-pad-xs,4px) + var(--tox-private-base-value,16px))) + var(--tox-private-pad-sm,8px))}.tox .tox-ai .tox-ai__context .tox-tag{max-width:calc((100% - var(--tox-private-pad-sm,8px))/ 2)}.tox .tox-ai .tox-ai__context-more{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px);padding:var(--tox-private-pad-sm,8px);overflow:auto;max-width:var(--tox-private-tinymceai-context-more-max-width,320px)}.tox .tox-ai .tox-ai__context-more .tox-tag{max-width:100%}.tox .tox-ai .tox-ai__stop-generating{display:flex;align-items:center;gap:6px}.tox .tox-ai .tox-ai__footer-actions{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-model-selection-button{display:flex;gap:var(--tox-private-pad-xs,4px)}.tox .tox-ai .tox-ai__footer-note{align-items:center;color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));display:flex;font-size:var(--tox-private-font-size-xs, 12px);height:24px;justify-content:center;letter-spacing:0;padding-top:var(--tox-private-pad-sm,8px);width:100%}.tox .tox-ai .tox-ai__models-menu{max-width:350px}.tox .tox-ai .tox-ai__models-menu .tox-menu{max-height:inherit;padding:var(--tox-private-pad-xs,4px)}.tox .tox-ai .tox-ai__models-menu__item__description{display:flex;flex-direction:column;align-items:start}.tox .tox-ai .tox-ai__models-menu__item__description__title{font-weight:var(--tox-private-font-weight-bold,bold);font-size:var(--tox-private-font-size-sm, 14px);line-height:calc(var(--tox-private-font-size-sm, 14px) * 1.28572);padding-bottom:4px}.tox .tox-ai .tox-ai__models-menu__item__description__content{color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));font-size:var(--tox-private-font-size-xs, 12px);line-height:calc(var(--tox-private-font-size-xs, 12px) * 1.33333)}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content{color:inherit}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content .tox-ai__models-menu__item__description__ability{color:var(--tox-private-color-white,#fff)}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content .tox-ai__models-menu__item__description__content_body{color:rgba(from var(--tox-private-color-white,#fff) r g b / .7)}.tox .tox-ai .tox-ai__models-menu__item__description__ability{color:var(--tox-private-text-color,#222f3e);padding-bottom:4px}.tox .tox-ai .tox-ai__models-menu__item__description__ability__enabled{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-ai .tox-ai-chat-history-list{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px);padding-top:var(--tox-private-pad-xs,4px);width:100%}.tox .tox-ai .tox-ai-chat-history-list .tox-collection__group{gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-chat-history-list__title{color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:18px;letter-spacing:1px}.tox .tox-ai .tox-ai-chat-history-list__item{display:flex;padding:12px;gap:var(--tox-private-pad-sm,8px);border-radius:var(--tox-private-control-border-radius,6px);cursor:pointer}.tox .tox-ai .tox-ai-chat-history-list__item.tox-ai-chat-history-list__item--active{background-color:var(--tox-private-background-secondary,#f0f0f0)}.tox .tox-ai .tox-ai-chat-history-list__item:focus,.tox .tox-ai .tox-ai-chat-history-list__item:focus-visible{background-color:var(--tox-private-background-secondary,#f0f0f0)}.tox .tox-ai .tox-ai-chat-history-list__item.tox-ai-chat-history-list__item-edit-title{background-color:var(--tox-private-background-secondary,#f0f0f0);flex-direction:column}.tox .tox-ai .tox-ai-chat-history-list__item-edit-actions{display:flex;justify-content:flex-end;width:100%;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-chat-history-list__item-edit-actions .tox-ai__spinner svg{fill:rgba(from var(--tox-private-color-white,#fff) r g b / 0.5)}.tox .tox-ai .tox-ai-chat-history-list__item-content{display:flex;flex-direction:column;margin-right:auto;overflow:hidden}.tox .tox-ai .tox-ai-chat-history-list__item-actions{display:flex;align-items:center;min-width:calc(24px + (var(--tox-private-pad-xs,4px) + 1px)*2)}.tox .tox-ai .tox-ai-chat-history-list__item-content-title{color:var(--tox-private-text-color,#222f3e);font-size:var(--tox-private-font-size-base, 16px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:var(--tox-private-font-size-lg, 20px);overflow:hidden;text-overflow:ellipsis}.tox .tox-ai .tox-ai-chat-history-list__item-content-date{color:var(--tox-private-text-color,#222f3e);font-size:var(--tox-private-font-size-xs, 12px);line-height:var(--tox-private-line-height-base, 1.3)}.tox .tox-ai .tox-sidebar-content__message{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;gap:var(--tox-private-pad-md,16px);width:100%}.tox .tox-ai .tox-sidebar-content__message-text{text-align:center;color:var(--tox-private-text-color,#222f3e);font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:20px}.tox .tox-ai .tox-sidebar-content__message-action{display:flex;justify-content:center;align-items:center;align-self:stretch}.tox .tox-ai .tox-ai-chat-action-button{line-height:var(--tox-private-base-value, 16px);font-size:var(--tox-private-font-size-xs, 12px);padding:6px var(--tox-private-pad-sm,8px);margin:var(--tox-private-pad-xs,4px) 0;font-weight:var(--tox-private-font-weight-normal,normal);width:min-content}.tox .tox-ai .tox-ai-chat-action-button .tox-icon{display:inline-flex;align-items:center;justify-content:center;height:16px;width:16px;overflow:hidden}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg{display:block;flex:none;fill:var(--tox-private-tinymceai-chat-action-button-icon-color,#006ce7)}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='24'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='24px']{transform:scale(calc(16 / 24))}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='20'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='20px']{transform:scale(calc(16 / 20))}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='18'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='18px']{transform:scale(calc(16 / 18))}.tox .tox-ai .tox-ai-chat-action-button:not(:has(+ .tox-ai-chat-action-button)){margin-bottom:var(--tox-private-pad-sm,8px)}.tox .tox-ai-removed-content{font-style:italic;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));line-height:var(--tox-private-line-height-base, 1.3);margin:0 1em}.tox .tox-ai-removed-content::before{content:"⊘ ";font-style:normal;font-size:calc(var(--tox-private-line-height-base, 1.3) * 1em)}.tox .tox-ai-html-content{font-size:var(--tox-private-font-size-md, 16px);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color,#222f3e);line-height:var(--tox-private-line-height-base, 1.3);overflow-x:auto}.tox .tox-ai-html-content:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#006ce7);outline-offset:var(--tox-private-tinymceai-html-content-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,6px)}.tox .tox-ai-html-content h1{font-size:1.6em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.67em 0}.tox .tox-ai-html-content h2{font-size:1.4em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.83em 0}.tox .tox-ai-html-content h3{font-size:1.2em;font-weight:var(--tox-private-font-weight-bold,bold);margin:1em 0}.tox .tox-ai-html-content h4,.tox .tox-ai-html-content h5,.tox .tox-ai-html-content h6{font-size:1em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.33em 0}.tox .tox-ai-html-content p{margin:var(--tox-private-pad-sm,8px) 0}.tox .tox-ai-html-content ol,.tox .tox-ai-html-content ul{padding-left:2em;margin:1em 0}.tox .tox-ai-html-content li:has(input:first-child){list-style-type:none}.tox .tox-ai-html-content a{color:var(--tox-private-color-tint,#006ce7);-webkit-text-decoration:underline;text-decoration:underline;cursor:pointer}.tox .tox-ai-html-content a:link:active,.tox .tox-ai-html-content a:visited:active{color:#8864ad}.tox .tox-ai-html-content blockquote{border-left:2px solid var(--tox-private-separator-color,#e3e3e3);margin-left:1.5rem;padding-left:1rem;font-style:italic}.tox .tox-ai-html-content code{font-family:ui-monospace,monospace;background:var(--tox-private-separator-color,#e3e3e3);padding:.1em .2em;border-radius:4px}.tox .tox-ai-html-content pre code{display:block;font-family:ui-monospace,monospace;background:var(--tox-private-separator-color,#e3e3e3);border-radius:4px;white-space:pre-wrap;margin:1em 0;overflow-wrap:break-word}.tox .tox-ai-html-content hr{border:none;border-top:1px solid var(--tox-private-border-color,#eee)}.tox .tox-ai-html-content table{width:100%;border-collapse:collapse;margin:.5em 0;font-size:.95em;line-height:1.45}.tox .tox-ai-html-content table:not([cellpadding]) td,.tox .tox-ai-html-content table:not([cellpadding]) th{padding:.4rem}.tox .tox-ai-html-content td,.tox .tox-ai-html-content th{border:1px solid var(--tox-private-border-color,#eee)}.tox .tox-ai-html-content th{font-weight:var(--tox-private-font-weight-bold,bold);text-align:left;white-space:nowrap}.tox .tox-ai-html-content b,.tox .tox-ai-html-content strong{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-ai-html-content em,.tox .tox-ai-html-content i{font-style:italic}.tox .tox-ai-html-content del{-webkit-text-decoration:line-through;text-decoration:line-through}.tox .tox-ai-html-content sub,.tox .tox-ai-html-content sup{font-size:.75em;line-height:0;vertical-align:baseline}.tox .tox-ai-html-content sup{vertical-align:super}.tox .tox-ai-html-content sub{vertical-align:sub}.tox .tox-ai-html-content mark{background:hsl(from var(--tox-private-color-active,#ffcf30) h s l / 30%);padding:.05em .2em;border-radius:2px}.tox .tox-ai-html-content small{font-size:.85em}.tox .tox-ai-html-content kbd{font-family:ui-monospace,monospace;font-size:.85em;padding:.15em .4em;border-radius:4px;border:1px solid var(--tox-private-border-color,#eee);background:var(--tox-private-separator-color,#e3e3e3);box-shadow:inset 0 -1px 0 var(--tox-private-border-color,#eee)}.tox .tox-ai-html-content img{max-width:100%;height:auto;vertical-align:middle;border-radius:4px}.tox .tox-expandable-box__content .tox-ai-html-content+.tox-ai-html-content::before,.tox .tox-expandable-box__content .tox-ai-html-content:has(+ .tox-ai-removed-content)::after,.tox .tox-expandable-box__content .tox-ai-removed-content+.tox-ai-html-content::before{content:"〰〰";color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));text-align:center;width:100%;display:block}.tox .tox-diff-preview{display:contents}.tox .tox-diff-preview__host{height:100%;position:relative;flex:1 1 0}.tox .tox-diff-preview__host:empty{pointer-events:none}.tox .tox-diff-preview__layer{display:flex;flex-direction:column;inset:0;position:absolute}.tox .tox-diff-preview__layer--loading .tox-diff-preview__frame{pointer-events:none;visibility:hidden}.tox .tox-diff-preview__viewport{flex:1 1 auto;min-height:0;position:relative}.tox .tox-diff-preview__frame{background-color:#fff;border:0;height:100%;min-height:0;position:relative;width:100%}.tox .tox-diff-preview__footer{background-color:var(--tox-private-background-color,#fff);border-top:1px solid #e3e3e3;flex:0 0 auto}.tox .tox-diff-preview__toolbar{display:flex;gap:8px;justify-content:flex-end;padding:12px 16px}.tox .tox-ai__preview-overlay{position:absolute;inset:0;width:100%;height:100%;font-size:14px}.tox .tox-ai__preview-overlay--hidden{visibility:hidden}.tox .tox-ai__preview-overlay--pass-through{pointer-events:none}.tox .tox-ai__preview-overlay--dim{background:rgba(34,47,62,.2)}.tox .tox-ai__preview-overlay--centered{display:flex;align-items:center;justify-content:center}.tox .tox-ai__preview-overlay--clipped{overflow:clip}.tox .tox-tinymceai-previewloader{display:flex;align-items:center;gap:var(--tox-private-pad-md,16px);padding:var(--tox-private-pad-sm,8px);border-radius:var(--tox-private-panel-border-radius,6px);box-shadow:var(--tox-private-ai-preview-loader-box-shadow,0 0 40px 1px rgba(34,47,62,.15),0 16px 16px -10px rgba(34,47,62,.15));background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color,#222f3e);pointer-events:auto}.tox .tox-tinymceai-previewloader__content{display:flex;align-items:center;justify-content:center;padding:0 var(--tox-private-pad-xs,4px);gap:var(--tox-private-pad-sm,8px)}.tox .tox-selector{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;display:inline-block;height:10px;position:absolute;width:10px}.tox.tox-platform-touch .tox-selector{height:12px;width:12px}.tox .tox-skeleton .tox-skeleton__line{height:16px;width:100%;background:linear-gradient(to right,rgba(240,240,240,.5) 8%,rgba(240,240,240,.7) 18%,rgba(240,240,240,.5) 33%);animation:wave 2s infinite ease-out}.tox .tox-skeleton .tox-skeleton__circle{height:36px;width:36px;margin-right:8px;border-radius:100%;background:linear-gradient(to right,rgba(240,240,240,.5) 8%,rgba(240,240,240,.7) 18%,rgba(240,240,240,.5) 33%);animation:wave 2s infinite ease-out}@keyframes wave{0%{background-position:-268px 0}100%{background-position:268px 0}}.tox .tox-slider{align-items:center;display:flex;flex:1;height:24px;justify-content:center;position:relative}.tox .tox-slider__rail{background-color:transparent;border:1px solid #eee;border-radius:6px;height:10px;min-width:120px;width:100%}.tox .tox-slider__handle{background-color:#006ce7;border:2px solid #0054b4;border-radius:6px;box-shadow:none;height:24px;left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%);width:14px}.tox .tox-form__controls-h-stack>.tox-slider:not(:first-of-type){margin-inline-start:8px}.tox .tox-form__controls-h-stack>.tox-form__group+.tox-slider{margin-inline-start:32px}.tox .tox-form__controls-h-stack>.tox-slider+.tox-form__group{margin-inline-start:32px}.tox .tox-toolbar-slider{align-items:center;display:inline-flex;height:16px}.tox .tox-toolbar-slider__input{appearance:none;background:#eee;border-radius:16px;width:130px;height:2px}.tox .tox-toolbar-slider__input::-webkit-slider-runnable-track{background-color:transparent;height:16px}.tox .tox-toolbar-slider__input::-moz-range-track{background-color:transparent;height:16px}.tox .tox-toolbar-slider__input::-webkit-slider-thumb{-webkit-appearance:none;background-color:#006ce7;border-radius:16px;border:none;height:16px;width:16px}.tox .tox-toolbar-slider__input::-moz-range-thumb{appearance:none;background-color:#006ce7;border-radius:16px;border:none;height:16px;width:16px}.tox .tox-toolbar-slider__input:focus-visible{outline:0}.tox .tox-toolbar-slider__input:focus::-webkit-slider-thumb{background-color:#0060ce;box-shadow:inset 0 0 0 1px #fff,0 0 0 2px #006ce7}.tox .tox-toolbar-slider__input:focus::-moz-range-thumb{background-color:#0060ce;box-shadow:inset 0 0 0 1px #fff,0 0 0 2px #006ce7}.tox .tox-toolbar-slider__input:hover::-webkit-slider-thumb{background-color:#0060ce}.tox .tox-toolbar-slider__input:hover::-moz-range-thumb{background-color:#0060ce}.tox .tox-toolbar-slider__input:active::-webkit-slider-thumb{background-color:#0054b4}.tox .tox-toolbar-slider__input:active::-moz-range-thumb{background-color:#0054b4}.tox .tox-toolbar-slider__input[disabled]::-webkit-slider-thumb{background-color:rgba(255,255,255,.5)}.tox .tox-toolbar-slider__input[disabled]::-moz-range-thumb{background-color:rgba(255,255,255,.5)}.tox .tox-source-code{overflow:auto}.tox .tox-spinner{display:flex}.tox .tox-spinner>div{animation:tam-bouncing-dots 1.5s ease-in-out 0s infinite both;background-color:rgba(34,47,62,.7);border-radius:100%;height:8px;width:8px}.tox .tox-spinner>div:first-child{animation-delay:-.32s}.tox .tox-spinner>div:nth-child(2){animation-delay:-.16s}@keyframes tam-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox:not([dir=rtl]) .tox-spinner>div:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-spinner>div:not(:first-child){margin-right:4px}.tox .tox-ai__spinner{--tox-private-spinner-color:var(--tox-private-color-tint, #006ce7);--tox-private-spinner-size:24px;--tox-private-spinner-circle-width:3px;--tox-private-spinner-dot-size:6px;width:var(--tox-private-spinner-size);aspect-ratio:1/1}.tox .tox-ai__spinner--small{--tox-private-spinner-size:16px;--tox-private-spinner-circle-width:2px;--tox-private-spinner-dot-size:4px}.tox .tox-ai__spinner--circle{animation:tox-rotation 1s linear infinite;border-radius:50%;background:conic-gradient(var(--tox-private-spinner-color) 0 calc(360deg - 30deg),transparent calc(360deg - 30deg) 100%);mask:radial-gradient(calc((var(--tox-private-spinner-size) - var(--tox-private-spinner-circle-width) * 2)/ 2),#0000 98%,#000)}.tox .tox-ai__spinner--dots{display:flex;align-items:center;justify-content:center;gap:1px}.tox .tox-ai__spinner--dots>div{animation:tox-bouncing-dots 1.5s ease-in-out 0s infinite both;aspect-ratio:1/1;width:var(--tox-private-spinner-dot-size);background-color:var(--tox-private-spinner-color);border-radius:100%}.tox .tox-ai__spinner--dots>div:first-child{animation-delay:-.32s}.tox .tox-ai__spinner--dots>div:nth-child(2){animation-delay:-.16s}.tox .tox-tinymceai__annotation--added,.tox .tox-tinymceai__annotation--modified,.tox .tox-tinymceai__annotation--removed{padding-block:calc((1lh - 1.1em)/ 2);-webkit-text-decoration:none;text-decoration:none;background-repeat:no-repeat;text-decoration-thickness:max(1px,0.07em)}.tox .tox-tinymceai__annotation--added__highlight{background-position:bottom;background-image:linear-gradient(rgba(120,171,70,.2) calc(100% - 2px),#78ab46 calc(100% - 2px))}.tox .tox-tinymceai__annotation--added__selected{background-image:none;background-color:rgba(120,171,70,.2);box-shadow:0 2px 0 0 #006ce7,0 -2px 0 0 #006ce7}.tox .tox-tinymceai__annotation--modified__highlight{background-position:bottom;background-image:linear-gradient(rgba(0,108,231,.2) calc(100% - 2px),#006ce7 calc(100% - 2px))}.tox .tox-tinymceai__annotation--modified__selected{background-image:none;background-color:rgba(0,108,231,.2);box-shadow:0 2px 0 0 #006ce7,0 -2px 0 0 #006ce7}.tox .tox-tinymceai__annotation--removed__highlight{-webkit-text-decoration:line-through;text-decoration:line-through;background-position:bottom;background-image:linear-gradient(rgba(204,0,0,.2) calc(100% - 2px),#c00 calc(100% - 2px))}.tox .tox-tinymceai__annotation--removed__selected{-webkit-text-decoration:line-through;text-decoration:line-through;background-image:none;background-color:rgba(204,0,0,.2);box-shadow:0 2px 0 0 #006ce7,0 -2px 0 0 #006ce7}.tox .mce-object.tox-tinymceai__annotation--added,.tox .mce-object.tox-tinymceai__annotation--modified,.tox .mce-object.tox-tinymceai__annotation--removed,.tox .mce-preview-object.tox-tinymceai__annotation--added,.tox .mce-preview-object.tox-tinymceai__annotation--modified,.tox .mce-preview-object.tox-tinymceai__annotation--removed,.tox iframe.tox-tinymceai__annotation--added,.tox iframe.tox-tinymceai__annotation--modified,.tox iframe.tox-tinymceai__annotation--removed,.tox img.tox-tinymceai__annotation--added,.tox img.tox-tinymceai__annotation--modified,.tox img.tox-tinymceai__annotation--removed,.tox video.tox-tinymceai__annotation--added,.tox video.tox-tinymceai__annotation--modified,.tox video.tox-tinymceai__annotation--removed{padding-block:0;vertical-align:top}.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object),.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object),.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object){padding-block:0}.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) video,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) video,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) video{vertical-align:top}.tox del.tox-tinymceai__annotation--added__selected,.tox ins.tox-tinymceai__annotation--added__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#006ce7 3px,rgba(120,171,70,.2) 3px,rgba(120,171,70,.2) calc(100% - 3px),#006ce7 calc(100% - 3px))}.tox del.tox-tinymceai__annotation--modified__selected,.tox ins.tox-tinymceai__annotation--modified__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#006ce7 3px,rgba(0,108,231,.2) 3px,rgba(0,108,231,.2) calc(100% - 3px),#006ce7 calc(100% - 3px))}.tox del.tox-tinymceai__annotation--removed__selected,.tox ins.tox-tinymceai__annotation--removed__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#006ce7 3px,rgba(204,0,0,.2) 3px,rgba(204,0,0,.2) calc(100% - 3px),#006ce7 calc(100% - 3px))}.tox .tox-tinymceai__annotation--added.tox-tinymceai__annotation--added__hidden,.tox .tox-tinymceai__annotation--modified.tox-tinymceai__annotation--modified__hidden,.tox .tox-tinymceai__annotation--removed.tox-tinymceai__annotation--removed__hidden{display:none;-webkit-text-decoration:none;text-decoration:none}.tox :has(> div > iframe).tox-tinymceai__annotation--added,.tox :has(> div > iframe).tox-tinymceai__annotation--modified,.tox :has(> div > iframe).tox-tinymceai__annotation--removed{padding:7px;margin:5px}.tox iframe.tox-tinymceai__annotation--added__highlight,.tox img.tox-tinymceai__annotation--added__highlight,.tox video.tox-tinymceai__annotation--added__highlight{background-color:#e4eeda;background-image:none;border:2px solid #78ab46;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--added__selected,.tox img.tox-tinymceai__annotation--added__selected,.tox video.tox-tinymceai__annotation--added__selected{background-color:#e4eeda;background-image:none;border:2px solid #78ab46;padding:0;vertical-align:top;border-color:#e4eeda;outline:2px solid #006ce7}.tox iframe.tox-tinymceai__annotation--modified__highlight,.tox img.tox-tinymceai__annotation--modified__highlight,.tox video.tox-tinymceai__annotation--modified__highlight{background-color:#cce2fa;background-image:none;border:2px solid #006ce7;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--modified__selected,.tox img.tox-tinymceai__annotation--modified__selected,.tox video.tox-tinymceai__annotation--modified__selected{background-color:#cce2fa;background-image:none;border:2px solid #006ce7;padding:0;vertical-align:top;border-color:#cce2fa;outline:2px solid #006ce7}.tox iframe.tox-tinymceai__annotation--removed__highlight,.tox img.tox-tinymceai__annotation--removed__highlight,.tox video.tox-tinymceai__annotation--removed__highlight{background-color:#f5cccc;background-image:none;border:2px solid #c00;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--removed__selected,.tox img.tox-tinymceai__annotation--removed__selected,.tox video.tox-tinymceai__annotation--removed__selected{background-color:#f5cccc;background-image:none;border:2px solid #c00;padding:0;vertical-align:top;border-color:#f5cccc;outline:2px solid #006ce7}.tox .tox-tinymceai__annotation--removed__highlight iframe,.tox .tox-tinymceai__annotation--removed__highlight img,.tox .tox-tinymceai__annotation--removed__highlight video,.tox .tox-tinymceai__annotation--removed__selected iframe,.tox .tox-tinymceai__annotation--removed__selected img,.tox .tox-tinymceai__annotation--removed__selected video{background-color:#f5cccc;background-image:none;border:2px solid #c00;padding:0;vertical-align:top}.tox .tox-tinymceai__annotation--removed__selected iframe,.tox .tox-tinymceai__annotation--removed__selected img,.tox .tox-tinymceai__annotation--removed__selected video{border-color:#f5cccc;outline:2px solid #006ce7}.tox div.tox-tinymceai__annotation:has(> hr){background-size:auto;padding:.25em}.tox div.tox-tinymceai__annotation--removed__highlight>hr{border-color:rgba(0,0,0,.2)}.tox div.tox-tinymceai__annotation--added__highlight>hr{border-color:rgba(0,0,0,.2)}.tox .tox-tinymceai__deleted-media-overlay{inset:0;overflow:hidden;pointer-events:none;position:absolute;z-index:11}.tox .tox-tinymceai__deleted-media-wash{fill:#fff;fill-opacity:0.4}.tox .tox-tinymceai__deleted-media-mark{stroke:#c00}.tox .tox-tinymceai__deleted-media-halo{stroke:#fff}.tox .mce-pagebreak.tox-tinymceai__annotation--added__selected,.tox .mce-pagebreak.tox-tinymceai__annotation--modified__selected,.tox .mce-pagebreak.tox-tinymceai__annotation--removed__selected{border:1px dashed #aaa;box-shadow:none;background-image:none}.tox .mce-pagebreak.tox-tinymceai__annotation--added__highlight,.tox .mce-pagebreak.tox-tinymceai__annotation--modified__highlight,.tox .mce-pagebreak.tox-tinymceai__annotation--removed__highlight{padding:0}.tox .tox-tinymceai__diff-focus-overlay{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:10}.tox .tox-tinymceai__diff-focus-overlay-dim{fill:rgba(34,47,62,0.2)}.tox .tox-ai__scroll:has(.tox-card-group){padding-top:0}.tox .tox-ai__scroll:has(.tox-card-group) .tox-ai__review-sidebar-container .tox-card-list{gap:0}.tox .tox-ai__scroll .tox-ai__review-sidebar-container{scrollbar-gutter:stable;width:100%;height:100%;display:flex;flex-direction:column;gap:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-card-list{gap:8px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-card-group__title{margin-inline:-12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-initializing{padding:var(--tox-private-pad-md,16px)}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-description{padding-bottom:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));font-size:var(--tox-private-font-size-sm, 14px)}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-choose-container{padding-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-custom-input{margin-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-custom-actions{display:flex;gap:8px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container{margin-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container button.tox-ai__review-input-button{width:100%;background-color:var(--tox-private-background-color,#fff);display:flex;justify-content:space-between;align-items:center;border:1px solid #eee;border-radius:6px;box-sizing:border-box}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container .tox-ai__review-dropdown-content{width:anchor-size(width)}.tox .tox-statusbar{align-items:center;background-color:#fff;border-top:1px solid #e3e3e3;color:rgba(34,47,62,.7);display:flex;flex:0 0 auto;font-size:14px;font-weight:400;height:25px;overflow:hidden;padding:0 8px;position:relative;text-transform:none}.tox .tox-statusbar__path{display:flex;flex:1 1 auto;text-overflow:ellipsis;white-space:nowrap}.tox .tox-statusbar__right-container{display:flex;justify-content:flex-end;white-space:nowrap}.tox .tox-statusbar__help-text{text-align:center}.tox .tox-statusbar__text-container{align-items:flex-start;display:flex;flex:1 1 auto;height:16px;justify-content:space-between}@media only screen and (min-width:768px){.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__help-text,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__path,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__right-container{flex:0 0 calc(100% / 3)}}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-end{justify-content:flex-end}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-start{justify-content:flex-start}.tox .tox-statusbar__text-container.tox-statusbar__text-container--space-around{justify-content:space-around}.tox .tox-statusbar__path>*{display:inline;white-space:nowrap}.tox .tox-statusbar__wordcount{flex:0 0 auto;margin-left:1ch}@media only screen and (max-width:767px){.tox .tox-statusbar__text-container .tox-statusbar__help-text{display:none}.tox .tox-statusbar__text-container .tox-statusbar__help-text:only-child{display:block}}.tox .tox-statusbar a,.tox .tox-statusbar__path-item,.tox .tox-statusbar__wordcount{color:rgba(34,47,62,.7);position:relative;-webkit-text-decoration:none;text-decoration:none}.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]){color:#222f3e;cursor:pointer}.tox .tox-statusbar a:focus-visible::after,.tox .tox-statusbar__path-item:focus-visible::after,.tox .tox-statusbar__wordcount:focus-visible::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-statusbar a:focus-visible::after,.tox .tox-statusbar__path-item:focus-visible::after,.tox .tox-statusbar__wordcount:focus-visible::after{border:2px solid highlight}}.tox .tox-statusbar__branding svg{fill:rgba(34,47,62,0.8);height:1em;margin-left:.3em;width:auto}@media (forced-colors:active){.tox .tox-statusbar__branding svg{fill:currentColor}}.tox .tox-statusbar__branding a{align-items:center;display:inline-flex}.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg,.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg{fill:#222f3e}.tox .tox-statusbar__resize-cursor-default{cursor:ns-resize}.tox .tox-statusbar__resize-cursor-both{cursor:nwse-resize}.tox .tox-statusbar__resize-handle{align-items:flex-end;align-self:stretch;display:flex;flex:0 0 auto;justify-content:flex-end;margin-bottom:3px;margin-left:4px;margin-right:calc(3px - 8px);margin-top:3px;padding-bottom:0;padding-left:0;padding-right:0;position:relative}.tox .tox-statusbar__resize-handle svg{display:block;fill:rgba(34,47,62,0.5)}.tox .tox-statusbar__resize-handle:focus svg,.tox .tox-statusbar__resize-handle:hover svg{fill:#222f3e}.tox .tox-statusbar__resize-handle:focus-visible{background-color:transparent;border-radius:1px 1px 5px 1px;box-shadow:0 0 0 2px transparent}.tox .tox-statusbar__resize-handle:focus-visible::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-statusbar__resize-handle:focus-visible::after{border:2px solid highlight}}.tox .tox-statusbar__resize-handle:only-child{margin-left:auto}.tox:not([dir=rtl]) .tox-statusbar__path>*{margin-right:4px}.tox:not([dir=rtl]) .tox-statusbar__branding{margin-left:2ch}.tox[dir=rtl] .tox-statusbar{flex-direction:row-reverse}.tox[dir=rtl] .tox-statusbar__path>*{margin-left:4px}.tox[dir=rtl] .tox-statusbar__branding svg{margin-left:0;margin-right:.3em}.tox a.tox-tag{cursor:pointer}.tox .tox-tag{width:fit-content;box-sizing:border-box;display:flex;padding:var(--tox-private-pad-xs,4px) 6px;position:relative;align-items:center;gap:var(--tox-private-pad-xs,4px);border-radius:3px;background:hsl(from var(--tox-private-color-tint,#006ce7) h s l / 10%);line-height:var(--tox-private-base-value, 16px);font-size:var(--tox-private-font-size-xs, 12px)}.tox .tox-tag::before{border-radius:var(--tox-private-control-border-radius,6px);bottom:calc(-1 * var(--tox-private-tag-border-width,1px));box-shadow:var(--tox-private-tag-focus-outline,inset 0 0 0 1px #fff,0 0 0 2px #006ce7);content:'';left:calc(-1 * var(--tox-private-tag-border-width,1px));opacity:0;pointer-events:none;position:absolute;right:calc(-1 * var(--tox-private-tag-border-width,1px));top:calc(-1 * var(--tox-private-tag-border-width,1px))}.tox .tox-tag:focus:not(:disabled)::before{opacity:1}.tox .tox-tag>*{flex-shrink:0}.tox .tox-tag .tox-icon{height:var(--tox-private-base-value,16px);fill:var(--tox-private-text-color,#222f3e)}.tox .tox-tag .tox-tag__label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;flex-shrink:1;color:var(--tox-private-text-color,#222f3e)}.tox .tox-tag .tox-tag__close{height:var(--tox-private-base-value,16px)}.tox .tox-tag .tox-tag__close .tox-button.tox-button--icon{border:0;padding:0;color:var(--tox-private-text-color-muted,rgba(34,47,62,.7))}.tox .tox-tag .tox-tag__close .tox-button.tox-button--icon::before{box-shadow:none}.tox .tox-throbber{z-index:1299}.tox .tox-throbber__busy-spinner{align-items:center;background-color:rgba(255,255,255,.6);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.tox .tox-segmented-control{display:inline-flex;position:relative;border:none;border-radius:var(--tox-private-control-border-radius,6px);box-shadow:inset 0 0 0 1px var(--tox-private-segmented-control-border-color,#e3e3e3);overflow:hidden;padding:var(--tox-private-pad-xs,4px);background-color:var(--tox-private-background-color,#fff)}.tox .tox-segmented-control__segment{flex:1;padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-sm,8px);cursor:pointer;background:0 0;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:16px;border:1px solid transparent;border-radius:calc(var(--tox-private-control-border-radius,6px) - 1px);text-align:center;white-space:nowrap;display:inline-block;vertical-align:middle;color:var(--tox-private-segmented-control-text-color,#222f3e)}.tox .tox-segmented-control__segment--active{border-color:var(--tox-private-segmented-control-active-border-color,#006ce7);color:var(--tox-private-segmented-control-active-text-color,#006ce7);background-color:var(--tox-private-segmented-control-active-bg-color,rgba(0,108,231,.1))}.tox .tox-segmented-control:not(.tox-segmented-control--disabled) .tox-segmented-control__segment{transition:all .2s}.tox .tox-segmented-control.tox-segmented-control--disabled .tox-segmented-control__segment{opacity:.5;cursor:not-allowed;pointer-events:none}.tox .tox-segmented-control__segment:focus{outline:2px solid var(--tox-private-color-tint,#006ce7);outline-offset:2px}.tox .tox-segmented-control__segment:focus:not(:focus-visible){outline:0}.tox .tox-toggle{display:flex;align-items:center;gap:var(--tox-private-pad-xs,4px);padding:var(--tox-private-pad-xs,4px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:var(--tox-private-control-line-height, 24px);white-space:nowrap;background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color,#222f3e)}.tox .tox-toggle input{position:absolute;opacity:0;width:0;height:0}.tox .tox-toggle__slider{position:relative;cursor:pointer;box-sizing:border-box;transition:.4s;border-radius:34px;width:28px;height:16px;background-color:var(--tox-private-slider-background-color,#fff);border:1px solid var(--tox-private-slider-border-color,#e3e3e3)}.tox .tox-toggle__slider::before{position:absolute;content:"";height:12px;width:12px;left:1px;bottom:1px;transition:.4s;border-radius:50%;background-color:var(--tox-private-slider-handle-background-color,#222f3e)}.tox input:checked+.tox-toggle__slider{background-color:var(--tox-private-slider-checked-background-color,#006ce7);border:1px solid var(--tox-private-slider-checked-border-color,#006ce7)}.tox input:focus+.tox-toggle__slider{box-shadow:0 0 0 1px var(--tox-private-color-white,#fff),0 0 0 2px var(--tox-private-color-tint,#006ce7)}.tox input:checked+.tox-toggle__slider::before{transform:translateX(12px);background-color:var(--tox-private-slider-checked-handle-background-color,#fff)}.tox input:disabled+.tox-toggle__slider::before{opacity:50%}.tox .tox-tbtn{align-items:center;background:#fff;border:0;border-radius:3px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;justify-content:center;margin:6px 1px 5px 0;outline:0;padding:0;text-transform:none;width:34px}.tox .tox-tbtn .tox-tbtn__icon-wrap{pointer-events:none}@media (forced-colors:active){.tox .tox-tbtn.tox-tbtn:hover,.tox .tox-tbtn:hover{outline:1px dashed currentColor}.tox .tox-tbtn.tox-tbtn--active,.tox .tox-tbtn.tox-tbtn--enabled,.tox .tox-tbtn.tox-tbtn--enabled:focus,.tox .tox-tbtn.tox-tbtn--enabled:hover,.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){outline:1px solid currentColor;position:relative}}.tox .tox-tbtn svg{display:block;fill:#222f3e}@media (forced-colors:active){.tox .tox-tbtn svg{fill:currentColor!important}.tox .tox-tbtn svg.tox-tbtn--enabled,.tox .tox-tbtn svg:focus:not(.tox-tbtn--disabled){fill:currentColor!important}.tox .tox-tbtn svg .tox-tbtn:disabled,.tox .tox-tbtn svg .tox-tbtn:disabled:hover,.tox .tox-tbtn svg.tox-tbtn--disabled,.tox .tox-tbtn svg.tox-tbtn--disabled:hover{filter:contrast(0%)}}.tox .tox-tbtn.tox-tbtn-more{padding-left:5px;padding-right:5px;width:inherit}.tox .tox-tbtn:focus{background:#fff;border:0;box-shadow:none;position:relative;z-index:1}.tox .tox-tbtn:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-tbtn:focus::after{border:2px solid highlight}}.tox .tox-tbtn:hover{background:#f0f0f0;border:0;box-shadow:none;color:#222f3e}.tox .tox-tbtn:hover svg{fill:#222f3e}.tox .tox-tbtn:active{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-tbtn:active svg{fill:#222f3e}.tox .tox-tbtn--disabled .tox-tbtn--enabled svg{fill:rgba(34,47,62,0.5)}.tox .tox-tbtn--disabled,.tox .tox-tbtn--disabled:hover,.tox .tox-tbtn:disabled,.tox .tox-tbtn:disabled:hover{background:#fff;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-tbtn--disabled svg,.tox .tox-tbtn--disabled:hover svg,.tox .tox-tbtn:disabled svg,.tox .tox-tbtn:disabled:hover svg{fill:rgba(34,47,62,0.5)}.tox .tox-tbtn--active,.tox .tox-tbtn--enabled,.tox .tox-tbtn--enabled:focus,.tox .tox-tbtn--enabled:hover{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e;position:relative}.tox .tox-tbtn--active>*,.tox .tox-tbtn--enabled:focus>*,.tox .tox-tbtn--enabled:hover>*,.tox .tox-tbtn--enabled>*{transform:none}.tox .tox-tbtn--active svg,.tox .tox-tbtn--enabled svg,.tox .tox-tbtn--enabled:focus svg,.tox .tox-tbtn--enabled:hover svg{fill:#222f3e}.tox .tox-tbtn--active.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled:focus.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled:hover.tox-tbtn--disabled svg{fill:rgba(34,47,62,0.5)}.tox .tox-tbtn--enabled:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-tbtn--enabled:focus::after{border:2px solid highlight}}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){color:#222f3e}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg{fill:#222f3e}.tox .tox-tbtn:active>*{transform:none}.tox .tox-tbtn--md{height:42px;width:51px}.tox .tox-tbtn--lg{flex-direction:column;height:56px;width:68px}.tox .tox-tbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tbtn--labeled{padding:0 4px;width:unset}.tox .tox-tbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-label--context-toolbar{margin:6px 1px 5px 0;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-number-input{background:#f7f7f7;border-radius:3px;display:flex;margin:6px 1px 5px 0;position:relative;width:auto}.tox .tox-number-input:focus{background:#f7f7f7}.tox .tox-number-input:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input:focus::after{border:2px solid highlight}}.tox .tox-number-input .tox-input-wrapper{display:flex;pointer-events:none;position:relative;text-align:center}.tox .tox-number-input .tox-input-wrapper:focus{background-color:#f7f7f7;z-index:1}.tox .tox-number-input .tox-input-wrapper:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input .tox-input-wrapper:focus::after{border:2px solid highlight}}.tox .tox-number-input .tox-input-wrapper:has(input:focus)::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input .tox-input-wrapper:has(input:focus)::after{border:2px solid highlight}}.tox .tox-number-input input{border-radius:3px;color:#222f3e;font-size:14px;margin:2px 0;pointer-events:all;position:relative;width:60px}.tox .tox-number-input input:hover{background:#f0f0f0;color:#222f3e}.tox .tox-number-input input:focus{background-color:#f7f7f7}.tox .tox-number-input input:disabled{background:#fff;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-number-input button{color:#222f3e;height:28px;position:relative;text-align:center;width:24px}@media (forced-colors:active){.tox .tox-number-input button:active,.tox .tox-number-input button:focus,.tox .tox-number-input button:hover{outline:1px solid currentColor!important}}.tox .tox-number-input button svg{display:block;fill:#222f3e;margin:0 auto;transform:scale(.67)}@media (forced-colors:active){.tox .tox-number-input button svg,.tox .tox-number-input button svg:active,.tox .tox-number-input button svg:hover{fill:currentColor!important}.tox .tox-number-input button svg:disabled{filter:contrast(0)}}.tox .tox-number-input button:focus{background:#f7f7f7;z-index:1}.tox .tox-number-input button:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input button:focus::after{border:2px solid highlight}}.tox .tox-number-input button:hover{background:#f0f0f0;border:0;box-shadow:none;color:#222f3e}.tox .tox-number-input button:hover svg{fill:#222f3e}.tox .tox-number-input button:active{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-number-input button:active svg{fill:#222f3e}.tox .tox-number-input button:disabled{background:#fff;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-number-input button:disabled svg{fill:rgba(34,47,62,0.5)}.tox .tox-number-input button.minus{border-radius:3px 0 0 3px}.tox .tox-number-input button.plus{border-radius:0 3px 3px 0}.tox .tox-number-input:focus:not(:active)>.tox-input-wrapper,.tox .tox-number-input:focus:not(:active)>button{background:#f7f7f7}.tox .tox-tbtn--select{margin:6px 1px 5px 0;padding:0 4px;width:auto}.tox .tox-tbtn--bordered,.tox .tox-tbtn--bordered:focus,.tox .tox-tbtn--bordered:hover{border:1px solid #eee}.tox .tox-tbtn__select-label{cursor:default;font-weight:400;height:initial;margin:0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-tbtn__select-chevron svg{fill:rgba(34,47,62,0.5)}@media (forced-colors:active){.tox .tox-tbtn__select-chevron svg{fill:currentColor}}.tox .tox-tbtn--bespoke{background:#f7f7f7}.tox .tox-tbtn--bespoke:focus{background:#f7f7f7}.tox .tox-tbtn--bespoke+.tox-tbtn--bespoke{margin-inline-start:4px}.tox .tox-tbtn--bespoke .tox-tbtn__select-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:7em}.tox .tox-tbtn--disabled .tox-tbtn__select-label,.tox .tox-tbtn--select:disabled .tox-tbtn__select-label{cursor:not-allowed}.tox .tox-split-button__main{border-radius:3px 0 0 3px;margin-right:0}.tox .tox-split-button__main:focus{border:0;box-shadow:none;background:#fff;color:#222f3e;position:relative;z-index:1}.tox .tox-split-button__main:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0;border-radius:3px 0 0 3px}@media (forced-colors:active){.tox .tox-split-button__main:focus::after{border:2px solid highlight}}.tox .tox-split-button__chevron{width:16px;border-radius:0 3px 3px 0;margin-left:0}.tox .tox-split-button__chevron:focus{border:0;box-shadow:none;background:#fff;color:#222f3e;position:relative;z-index:1}.tox .tox-split-button__chevron:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0;border-radius:0 3px 3px 0}@media (forced-colors:active){.tox .tox-split-button__chevron:focus::after{border:2px solid highlight}}.tox .tox-split-button__chevron svg{fill:rgba(34,47,62,0.5)}@media (forced-colors:active){.tox .tox-split-button__chevron svg{fill:currentColor}}.tox.tox-platform-touch .tox-split-button__main{width:30px}.tox.tox-platform-touch .tox-split-button__chevron{width:20px}.tox .tox-split-button__chevron.tox-tbtn--disabled,.tox .tox-split-button__main.tox-tbtn--disabled{background:#fff;box-shadow:none;color:rgba(34,47,62,.5)}.tox .tox-split-button__chevron.tox-tbtn--disabled:hover,.tox .tox-split-button__main.tox-tbtn--disabled:hover{background:#fff;box-shadow:none;color:rgba(34,47,62,.5)}.tox .tox-split-button__chevron.tox-tbtn--disabled:focus,.tox .tox-split-button__main.tox-tbtn--disabled:focus{background:#fff;box-shadow:none;color:rgba(34,47,62,.5)}.tox .tox-split-button__main.tox-tbtn--disabled svg .tox-icon-highlight-bg-color__color,.tox .tox-split-button__main.tox-tbtn--disabled svg .tox-icon-text-color__color{opacity:.3}.tox .tox-toolbar-overlord{background-color:#fff}.tox .tox-toolbar,.tox .tox-toolbar__overflow,.tox .tox-toolbar__primary{background-attachment:local;background-color:#fff;background-image:repeating-linear-gradient(#e3e3e3 0 1px,transparent 1px 39px);background-position:center top 40px;background-repeat:no-repeat;background-size:calc(100% - 11px * 2) calc(100% - 41px);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;padding:0 0;transform:perspective(1px)}.tox .tox-toolbar-overlord>.tox-toolbar,.tox .tox-toolbar-overlord>.tox-toolbar__overflow,.tox .tox-toolbar-overlord>.tox-toolbar__primary{background-position:center top 0;background-size:calc(100% - 11px * 2) calc(100% - 0px)}.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed{height:0;opacity:0;padding-bottom:0;padding-top:0;visibility:hidden}.tox .tox-toolbar__overflow--growing{transition:height .3s ease,opacity .2s linear .1s}.tox .tox-toolbar__overflow--shrinking{transition:opacity .3s ease,height .2s linear .1s,visibility 0s linear .3s}.tox .tox-anchorbar,.tox .tox-toolbar-overlord{grid-column:1/-1}.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{border-top:1px solid transparent;margin-top:-1px;padding-bottom:1px;padding-top:1px}@media (forced-colors:active){.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{outline:1px solid currentColor}}.tox .tox-toolbar--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-pop .tox-toolbar{border-width:0}.tox .tox-toolbar--no-divider{background-image:none}.tox .tox-toolbar-overlord .tox-toolbar:not(.tox-toolbar--scrolling):first-child,.tox .tox-toolbar-overlord .tox-toolbar__primary{background-position:center top 39px}.tox .tox-editor-header>.tox-toolbar--scrolling,.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child{background-image:none}.tox .tox-focusable-wrapper{border:1px solid transparent;margin-right:2px;pointer-events:none}.tox .tox-focusable-wrapper .tox-textfield-size{pointer-events:all}.tox .tox-focusable-wrapper:focus{background-color:#f7f7f7;border-radius:6px;border-style:solid;border-width:1px}.tox.tox-tinymce-aux .tox-toolbar__overflow{background-color:#fff;background-position:center top 43px;background-size:calc(100% - 8px * 2) calc(100% - 51px);border:none;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);overscroll-behavior:none;padding:4px 0}@media (forced-colors:active){.tox.tox-tinymce-aux .tox-toolbar__overflow{border:solid}}.tox-pop .tox-pop__dialog .tox-toolbar{background-position:center top 43px;background-size:calc(100% - 11px * 2) calc(100% - 51px);padding:4px 0}.tox-context-form__group{display:flex;align-items:center}.tox .tox-toolbar__group{align-items:center;display:flex;flex-wrap:wrap;margin:0 0;padding:0 11px 0 12px}.tox .tox-toolbar__group--pull-right{margin-left:auto}.tox .tox-toolbar--scrolling .tox-toolbar__group{flex-shrink:0;flex-wrap:nowrap}.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type){border-right:1px solid transparent}.tox[dir=rtl] .tox-toolbar__group:not(:last-of-type){border-left:1px solid transparent}.tox .tox-toolbar-input-form{display:flex;align-items:center;background-color:var(--tox-private-background-color,#fff);padding:0 var(--tox-private-pad-sm,8px)}.tox .tox-tooltip{display:inline-block;max-width:min(80%,15em);padding:8px 0 0 0;position:relative;width:max-content;z-index:1150}.tox .tox-tooltip.tox-tooltip--anchor{display:none;padding:var(--tox-private-pad-xs,4px) 0 0;position:fixed;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;height:fit-content}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--up{position-area:block-end}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--down{position-area:block-start}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--left{position-area:inline-start}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--right{position-area:inline-end}.tox .tox-tooltip__body{background-color:#222f3e;border-radius:6px;box-shadow:none;color:#fff;font-size:12px;font-style:normal;font-weight:600;overflow-wrap:break-word;padding:4px 6px;text-transform:none}@media (forced-colors:active){.tox .tox-tooltip__body{outline:outset 1px}}.tox .tox-tooltip__arrow{position:absolute}.tox .tox-tooltip--down .tox-tooltip__arrow{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #222f3e;bottom:0;left:50%;position:absolute;transform:translateX(-50%)}.tox .tox-tooltip--up .tox-tooltip__arrow{border-bottom:8px solid #222f3e;border-left:8px solid transparent;border-right:8px solid transparent;left:50%;position:absolute;top:0;transform:translateX(-50%)}.tox .tox-tooltip--right .tox-tooltip__arrow{border-bottom:8px solid transparent;border-left:8px solid #222f3e;border-top:8px solid transparent;position:absolute;right:0;top:50%;transform:translateY(-50%)}.tox .tox-tooltip--left .tox-tooltip__arrow{border-bottom:8px solid transparent;border-right:8px solid #222f3e;border-top:8px solid transparent;left:0;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-tree{display:flex;flex-direction:column}.tox .tox-tree .tox-trbtn{align-items:center;background:0 0;border:0;border-radius:4px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;margin-bottom:4px;margin-top:4px;outline:0;overflow:hidden;padding:0;padding-left:8px;text-transform:none}.tox .tox-tree .tox-trbtn .tox-tree__label{cursor:default;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tree .tox-trbtn svg{display:block;fill:#222f3e}.tox .tox-tree .tox-trbtn:focus{background:#f0f0f0;border:0;box-shadow:none}.tox .tox-tree .tox-trbtn:hover{background:#f0f0f0;border:0;box-shadow:none;color:#222f3e}.tox .tox-tree .tox-trbtn:hover svg{fill:#222f3e}.tox .tox-tree .tox-trbtn:active{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-tree .tox-trbtn:active svg{fill:#222f3e}.tox .tox-tree .tox-trbtn--disabled,.tox .tox-tree .tox-trbtn--disabled:hover,.tox .tox-tree .tox-trbtn:disabled,.tox .tox-tree .tox-trbtn:disabled:hover{background:0 0;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-tree .tox-trbtn--disabled svg,.tox .tox-tree .tox-trbtn--disabled:hover svg,.tox .tox-tree .tox-trbtn:disabled svg,.tox .tox-tree .tox-trbtn:disabled:hover svg{fill:rgba(34,47,62,0.5)}.tox .tox-tree .tox-trbtn--enabled,.tox .tox-tree .tox-trbtn--enabled:hover{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-tree .tox-trbtn--enabled:hover>*,.tox .tox-tree .tox-trbtn--enabled>*{transform:none}.tox .tox-tree .tox-trbtn--enabled svg,.tox .tox-tree .tox-trbtn--enabled:hover svg{fill:#222f3e}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled){color:#222f3e}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled) svg{fill:#222f3e}.tox .tox-tree .tox-trbtn:active>*{transform:none}.tox .tox-tree .tox-trbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tree .tox-trbtn--labeled{padding:0 4px;width:unset}.tox .tox-tree .tox-trbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-tree .tox-tree--directory{display:flex;flex-direction:column}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label{font-weight:700}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn:focus svg{fill:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:focus .tox-mbtn svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover .tox-mbtn svg{fill:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-chevron{margin-right:6px}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--shrinking) .tox-chevron{transition:transform .5s ease-in-out}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--open) .tox-chevron{transform:rotate(90deg)}.tox .tox-tree .tox-tree--leaf__label{font-weight:400}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--leaf__label .tox-mbtn:focus svg{fill:#222f3e}.tox .tox-tree .tox-tree--leaf__label:hover .tox-mbtn svg{fill:#222f3e}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#222f3e}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#222f3e}.tox .tox-tree .tox-icon-custom-state{flex-grow:1;display:flex;justify-content:flex-end}.tox .tox-tree .tox-tree--directory__children{overflow:hidden;padding-left:16px}.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--growing,.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--shrinking{transition:height .5s ease-in-out}.tox .tox-tree .tox-trbtn.tox-tree--leaf__label{display:flex;justify-content:space-between}[data-mce-name=uploadcare-enhance-filter] .color-swatch-remove-color path{fill:#c00;stroke:#c00}.tox .tox-view-wrap,.tox .tox-view-wrap__slot-container{background-color:#fff;display:flex;flex:1;flex-direction:column;height:100%;min-height:0}.tox .tox-view{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden;background-color:#fff}.tox .tox-view__header{align-items:center;display:flex;font-size:16px;justify-content:space-between;padding:10px;position:relative}.tox .tox-view__label{color:#222f3e;font-weight:700;line-height:24px;padding:4px 16px;text-align:center;white-space:nowrap}.tox .tox-view__label--normal{font-size:16px}.tox .tox-view__label--large{font-size:20px}.tox .tox-view--mobile.tox-view__header,.tox .tox-view--mobile.tox-view__toolbar{padding:8px}.tox .tox-view--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-view__align-right{margin-left:auto}.tox .tox-view__toolbar{display:flex;flex-direction:row;gap:8px;justify-content:space-between;overflow-x:auto;padding:10px}.tox .tox-view__toolbar__group{display:flex;flex-direction:row;gap:12px}.tox .tox-view__header-end,.tox .tox-view__header-start{display:flex}.tox .tox-view__pane{height:100%;padding:8px;position:relative;width:100%}.tox .tox-view__pane_panel{border:1px solid #eee;border-radius:6px}.tox:not([dir=rtl]) .tox-view__header .tox-view__header-end>*,.tox:not([dir=rtl]) .tox-view__header .tox-view__header-start>*{margin-left:8px}.tox[dir=rtl] .tox-view__header .tox-view__header-end>*,.tox[dir=rtl] .tox-view__header .tox-view__header-start>*{margin-right:8px}.tox .tox-well{border:1px solid #eee;border-radius:6px;padding:8px;width:100%}.tox .tox-well>:first-child{margin-top:0}.tox .tox-well>:last-child{margin-bottom:0}.tox .tox-well>:only-child{margin:0}.tox .tox-custom-editor{border:1px solid #eee;border-radius:6px;display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-view .tox-revisionhistory__pane{padding:0}.tox .tox-revisionhistory__container{display:flex;flex-direction:column;height:100%}.tox .tox-revisionhistory{background-color:#fff;border-top:1px solid #f0f0f0;display:flex;flex:1;height:100%;overflow-x:auto;overflow-y:hidden;position:relative;width:100%}.tox .tox-revisionhistory__iframe{flex:1}.tox .tox-revisionhistory__sidebar{display:flex;flex-direction:column;height:100%;min-width:248px;width:316px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__sidebar-title{background-color:#fff;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);color:#222f3e;font-size:20px;font-weight:400;line-height:28px;padding:12px;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions{background-color:#f0f0f0;display:flex;flex:1;flex-direction:column;gap:12px;overflow-y:auto;padding:10px 12px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus{height:100%;position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7;content:'';left:0;position:absolute;right:0;top:0;border-radius:6px;bottom:1px;left:1px;right:1px;top:1px}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card{background-color:#fff;border:1px solid #f0f0f0;border-radius:6px;color:#222f3e;cursor:pointer;display:flex;flex-direction:column;font-size:14px;padding:12px;width:100%}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:hover{box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus{position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7 #006ce7;content:'';left:0;position:absolute;right:0;top:0;border-radius:6px;box-shadow:0 0 0 2px #006ce7;box-shadow:0 0 0 2px #006ce7!important}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected{background-color:#fff5cc;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);position:relative}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected::after{border-radius:3px;bottom:0;box-shadow:0 0 0 2px #006ce7 #e3b82a;content:'';left:0;position:absolute;right:0;top:0;border-radius:6px;box-shadow:0 0 0 2px #e3b82a}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-tags{display:flex;align-items:flex-start;flex-direction:row;gap:8px;overflow-x:auto}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-label{display:block;max-width:min-content;padding:4px 8px;margin-bottom:8px;font-size:12px;font-weight:700;border-radius:4px;background:#d3d5d8;text-wrap:balance;flex:0 1 auto}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-content{display:flex;flex-direction:row;gap:8px;align-items:center}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution{align-items:center;display:flex}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution .tox-revisionhistory__avatar{position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution .tox-revisionhistory__avatar+.tox-revisionhistory__card-ai-icon{margin-left:-4px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-info{display:flex;flex-direction:column;flex:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-date-label{font-size:14px;font-weight:700;line-height:18px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-author-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:400}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__avatar{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-ai-icon{display:flex;height:36px;width:36px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__norevision{color:rgba(34,47,62,.7);font-size:16px;line-height:24px;padding:5px 5.5px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-check-icon{color:#222f3e;height:24px}.tox .tox-card{background-color:#fff;border-radius:6px;display:flex;flex-direction:column;gap:12px;padding:10px;cursor:pointer;transition:box-shadow .15s ease-in-out,border .15s ease-in-out;border:2px solid transparent}.tox .tox-card:hover{box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-card--selected{border-color:#006ce7}.tox .tox-card:focus-visible{outline:2px solid #006ce7;border-color:transparent}.tox .tox-card--has-decision{background-color:#f0f0f0}.tox .tox-card--has-decision:not(.tox-card--selected){border-width:1px;border-color:rgba(34,47,62,.7);padding:11px}.tox .tox-card--has-decision .tox-card__header{font-size:12px}.tox .tox-card--has-decision .tox-card__body{color:rgba(34,47,62,.7)}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline{border-color:#e0e0e0}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:focus:not(:disabled),.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:hover:not(:disabled){background-color:#e0e0e0;border-color:#d1d1d1}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:active:not(:disabled){background-color:#d1d1d1;border-color:#d1d1d1}.tox .tox-card__header{padding-bottom:0;color:#222f3e;font-size:16px;font-weight:700;text-transform:uppercase;display:flex;flex-direction:column;gap:12px}.tox .tox-card__header-label{font-size:12px;font-weight:700;text-transform:uppercase;color:#222f3e}.tox .tox-card__header-content{flex:1;min-width:0;font-weight:400;text-transform:none}.tox .tox-card__header-actions{display:flex;align-items:center;gap:4px;flex-shrink:0;opacity:1;pointer-events:auto;transition:opacity .15s ease-in-out}.tox .tox-card__header-actions--hover-visible,.tox .tox-card__header-actions--on-focus{opacity:0;pointer-events:none}.tox .tox-card__header-actions--always-visible{opacity:1;pointer-events:auto}.tox .tox-card__header:has(.tox-card__header-actions),.tox .tox-card__header:has(.tox-card__header-content){flex-direction:row;align-items:center}.tox .tox-card__header:has(.tox-card__header-content){justify-content:space-between}.tox .tox-card__header:has(.tox-card__header-actions):not(:has(.tox-card__header-content)){justify-content:flex-end}.tox .tox-card:focus-within .tox-card__header-actions--hover-visible,.tox .tox-card:focus-within .tox-card__header-actions--on-focus,.tox .tox-card:hover .tox-card__header-actions--hover-visible{opacity:1;pointer-events:auto}.tox .tox-card__body{color:#222f3e;font-size:14px}.tox .tox-card__body .tox-expandable-box{background:0 0;border:none;gap:12px}.tox .tox-card__body .tox-expandable-box .tox-expandable-box__content,.tox .tox-card__body .tox-expandable-box>.tox-button{margin:0}.tox .tox-card__highlight{padding:4px 6px;border-bottom:2px solid #006ce7}.tox .tox-card__highlight--added{background-color:#e4eeda}.tox .tox-card__highlight--deleted{background-color:#f5cccc}.tox .tox-card__highlight--modified{background-color:#cce2fa}.tox .tox-card__actions{display:flex;gap:8px}.tox .tox-card__actions--space-between{justify-content:space-between}.tox .tox-card__actions--flex-start{justify-content:flex-start}.tox .tox-card__actions .tox-button,.tox .tox-card__actions .tox-button--icon,.tox .tox-card__actions .tox-button:has(.tox-icon:only-child){padding:4px 16px}.tox .tox-card__divider{margin:12px 0;border:none;border-top:1px solid #eee}.tox .tox-card__expansion{display:flex;flex-direction:column;gap:12px;width:100%}.tox .tox-card__expansion:has(> .tox-card__expansion-content--collapsed:only-child){margin-block-start:-12px}.tox .tox-card__expansion-content{display:grid;font-size:14px;grid-template-rows:0fr;transition:grid-template-rows .2s ease-in-out}.tox .tox-card__expansion-content--expanded{grid-template-rows:1fr}.tox .tox-card__expansion-content--expanded>.tox-card__expansion-content-inner{min-height:auto;overflow:visible}.tox .tox-card__expansion-content--collapsed{grid-template-rows:0fr}.tox .tox-card__expansion-content-inner{min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:12px}.tox .tox-card.tox-skeleton{cursor:default;pointer-events:none;box-shadow:none}.tox .tox-card.tox-skeleton:hover{box-shadow:none}.tox .tox-card.tox-skeleton .tox-skeleton__line{border-radius:6px;margin:0}.tox .tox-card.tox-skeleton .tox-card__body{display:flex;flex-direction:column;gap:4px}.tox .tox-card-list{display:flex;flex-direction:column;gap:12px}.tox .tox-card-list:has(.tox-card-group){gap:0}.tox .tox-card-list:focus{outline:0}.tox .tox-card-group{background-color:#f0f0f0;display:flex;flex-direction:column}.tox .tox-card-group .tox-card{scroll-margin-top:53px}.tox .tox-card-group__title{align-items:center;background-color:#fff;border-bottom:1px solid #eee;color:#222f3e;display:flex;font-size:14px;font-weight:700;gap:8px;line-height:16px;overflow:hidden;padding:12px;position:sticky;top:0;z-index:1}.tox .tox-card-group__title-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-card-group__status{color:rgba(34,47,62,.7);flex:0 0 auto;font-size:12px;font-weight:400;margin-inline-start:auto}.tox .tox-card-group__content{display:flex;flex-direction:column;gap:12px;padding-block:12px}.tox .tox-profile{align-items:center;display:flex;gap:8px}.tox .tox-profile__image{align-items:center;display:flex;flex-shrink:0}.tox .tox-profile__badge{display:flex;flex-shrink:0;height:36px;margin-inline-start:-4px;width:36px}.tox .tox-profile__badge svg{display:block;height:100%;width:100%}.tox .tox-user-avatar{width:36px;height:36px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center}.tox .tox-user-avatar img{width:100%;height:100%;object-fit:cover}.tox .tox-profile__body{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;flex:1}.tox .tox-profile__heading{color:#222f3e;font-size:14px;font-weight:700;line-height:18px;text-transform:none}.tox .tox-profile__subheading{color:#222f3e;font-size:12px;font-weight:400;line-height:16px;padding-block:4px;text-transform:none}.tox .tox-profile__subheading .tox-icon svg{fill:rgba(34,47,62,0.5);margin-block:-4px;vertical-align:top}.tox [data-mce-name=suggestededits] .tox-icon .tox-icon--badge{fill:#006ce7}.tox .tox-view .tox-suggestededits__pane{padding:0}.tox .tox-suggestededits__sink{position:relative;z-index:1000}.tox .tox-suggestededits__sink .tox-tiered-menu .tox-collection--list{position:absolute}.tox .tox-suggestededits__container{height:100%;display:flex;flex-direction:column}.tox .tox-suggestededits__container .tox-suggestededits{background-color:#fff;display:flex;flex:1;height:inherit;overflow-x:auto;overflow-y:hidden;position:relative}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__content{flex:1}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__model{height:100%;position:relative}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__model .tox-suggestededits__iframe{height:100%;width:100%;overflow:scroll;background-color:#fff}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar{background-color:#f0f0f0;border-left:1px solid #e3e3e3;display:flex;flex-direction:column;flex:0 1 auto;min-width:248px;width:441px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__announcer{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;margin:-1px;padding:0;border:0}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar{padding:4px 12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar:not(:empty){padding:12px 12px 6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button:has(.tox-icon:only-child){gap:0;padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-md,16px)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button:has(.tox-icon:only-child) .tox-icon{align-items:center;display:flex;flex:0 0 auto;height:24px;justify-content:center;width:24px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline{border-color:#e3e3e3}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:focus:not(:disabled),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:hover:not(:disabled){background-color:rgba(34,47,62,.12);border-color:rgba(34,47,62,.12)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline.tox-button--enabled:not(:disabled),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:active:not(:disabled){background-color:rgba(34,47,62,.18);border-color:rgba(34,47,62,.18);color:#222f3e}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline[disabled]{border-color:#e3e3e3}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content{display:flex;flex:1;flex-direction:column;gap:12px;overflow:auto;padding:6px 12px 12px 12px;position:relative;scroll-padding-block:6px 12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-card--selected:has(textarea:focus){border-color:transparent}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__divider,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--divider{background-color:#f0f0f0;height:1px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--editor,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--single{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;gap:12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--editor{padding:6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header{display:flex;flex:auto;justify-content:space-between;align-items:center;gap:8px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__card--timestamp,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__card--timestamp{color:#222f3e}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__card--timestamp .tox-icon svg,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__card--timestamp .tox-icon svg{fill:rgba(34,47,62,0.5)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution{align-items:center;border:0;border-radius:20px;color:rgba(34,47,62,.7);height:20px;width:20px;display:flex;flex:0 0 auto;justify-content:center;text-align:center}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button{padding:var(--tox-private-button-padding-y,4px) var(--tox-private-button-padding-x,16px)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button .tox-suggestededits__resolution--label{display:none}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:not(:hover):not(:focus-visible),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:not(:hover):not(:focus-visible){border-color:transparent}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution{display:none}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution--label{display:inline}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content{display:flex;flex-direction:column;align-self:stretch;flex:auto;gap:6px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations{display:flex;gap:8px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-details,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-details{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-text,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-text{color:#222f3e;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:18px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-content-text,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-content-text{font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:20px;overflow-wrap:break-word}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-content-text-joiner,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-content-text-joiner{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__card--feedback,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__card--feedback{color:#222f3e;overflow-wrap:anywhere;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__actions,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--buttons{display:flex;align-items:center;gap:8px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__actions.tox-suggestededits__card--feedback-buttons,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--buttons.tox-suggestededits__card--feedback-buttons{justify-content:flex-end}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-suggestededits__card--active .tox-suggestededits__card--single{border-radius:6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-suggestededits__card--active .tox-suggestededits__card--single:focus-visible{outline:2px solid #006ce7}.tox .tox-dialog-loading::before{background-color:rgba(0,0,0,.5);content:"";height:100%;position:absolute;width:100%;z-index:1000}.tox .tox-tab{cursor:pointer}.tox .tox-dialog__content-js{display:flex;flex:1}.tox .tox-dialog__body-content .tox-collection{display:flex;flex:1} diff --git a/libraries/tinymce/js/tinymce/skins/ui/tinymce-5-dark/skin.js b/libraries/tinymce/js/tinymce/skins/ui/tinymce-5-dark/skin.js index d45796a..a401fef 100644 --- a/libraries/tinymce/js/tinymce/skins/ui/tinymce-5-dark/skin.js +++ b/libraries/tinymce/js/tinymce/skins/ui/tinymce-5-dark/skin.js @@ -1 +1 @@ -tinymce.Resource.add('ui/tinymce-5-dark/skin.css', `.tox{box-shadow:none;box-sizing:content-box;cursor:auto;font-style:normal;font-weight:400;line-height:normal;-webkit-tap-highlight-color:transparent;-webkit-text-decoration:none;text-decoration:none;text-shadow:none;text-transform:none;vertical-align:initial;white-space:normal}.tox :not(svg):not(rect){box-sizing:inherit;color:inherit;cursor:inherit;direction:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;-webkit-tap-highlight-color:inherit;text-align:inherit;text-decoration:inherit;text-shadow:inherit;text-transform:inherit;vertical-align:inherit;white-space:inherit}.tox :not(svg):not(rect){background:0 0;border:0;box-shadow:none;float:none;height:auto;margin:0;max-width:none;outline:0;padding:0;position:static;width:auto}.tox:not([dir=rtl]){direction:ltr;text-align:left}.tox[dir=rtl]{direction:rtl;text-align:right}.tox-tinymce :focus,.tox-tinymce-aux :focus{outline:0}button::-moz-focus-inner{border:0}@keyframes tox-rotation{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes tox-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox{color:var(--tox-private-color-black,#2a3746);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-font-size-base, 16px)}.tox-tinymce{border:1px solid #000;border-radius:0;box-shadow:none;box-sizing:border-box;display:flex;flex-direction:column;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);overflow:hidden;position:relative;visibility:inherit!important}.tox.tox-tinymce-inline{border:none;box-shadow:none;overflow:initial}.tox.tox-tinymce-inline .tox-editor-container{overflow:initial}.tox.tox-tinymce-inline .tox-editor-header{background-color:#222f3e;border:1px solid #000;border-radius:0;box-shadow:none;overflow:hidden}.tox-tinymce-aux{font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);z-index:var(--tox-private-z-index-sink,1300)}.tox[dir=rtl] .tox-icon--flip svg{transform:rotateY(180deg)}.tox .tox-editor-container{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.tox .tox-editor-container--keep-toolbar{flex:0 0 auto;overflow:visible}.tox .tox-editor-header{display:grid;grid-template-columns:1fr min-content;z-index:2}.tox:not(.tox-tinymce-inline) .tox-editor-header{background-color:#222f3e;border-bottom:none;box-shadow:none;padding:4px 0}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(.tox-editor-dock-transition){transition:box-shadow .5s}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header{border-top:1px solid #000;box-shadow:none}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header{background-color:#222f3e;box-shadow:0 4px 4px -3px rgba(0,0,0,.25);padding:4px 0}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header{box-shadow:0 4px 4px -3px rgba(0,0,0,.25)}.tox.tox:not(.tox-tinymce-inline) .tox-editor-header.tox-editor-header--empty{background:0 0;border:none;box-shadow:none;padding:0}.tox-editor-dock-fadeout{opacity:0;visibility:hidden}.tox-editor-dock-fadein{opacity:1;visibility:visible}.tox-editor-dock-transition{transition:visibility 0s linear .25s,opacity .25s ease}.tox-editor-dock-transition.tox-editor-dock-fadein{transition-delay:0s}.tox .accessibility-issue__header{align-items:center;display:flex;margin-bottom:4px}.tox #accessibility-issue__subheader{font-size:16px;color:#fff}.tox .accessbility-sr-only{position:absolute;clip:rect(1px,1px,1px,1px);clip-path:inset(0 0 99.9% 99.9%);overflow:hidden;height:1px;width:1px;padding:0;border:0}.tox .accessibility-issue__description{align-items:stretch;border-radius:3px;justify-content:space-between}.tox .accessibility-issue__description>div{padding-bottom:4px}.tox .accessibility-issue__description>div>div{align-items:center;display:flex;margin-bottom:4px}.tox .accessibility-issue__description>div>div .tox-icon svg{display:block}.tox #accessibility-issue__contentID{margin-top:8px;margin-bottom:8px}.tox #accessibility-issue__contentID span:first-child{font-weight:700}.tox #accessibility-issue__document{padding-bottom:8px}.tox .accessibility-issue__repair{margin-top:8px}.tox .accessibility-issue__repair .tox-form__group .tox-form__group--error{color:#eb9999}.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description{background-color:#22374a;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2{font-size:14px;color:#a6cae2}.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon.accessibility-issue__icon svg{fill:#a6cae2}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon{background-color:#207ab7;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:hover{background-color:#1c6ca1}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:active{background-color:#185d8c}.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description{background-color:#383f38;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2{font-size:14px;color:#ffeb99}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon.accessibility-issue__icon svg{fill:#ffeb99}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon{background-color:#ffe89d;color:#2a3746}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:hover{background-color:#f2d574;color:#2a3746}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:active{background-color:#e8c657;color:#2a3746}.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description{background-color:#332a38;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2{font-size:14px;color:#eb9999}.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon.accessibility-issue__icon svg{fill:#eb9999}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon{background-color:#f2bfbf;color:#2a3746}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:hover{background-color:#e9a4a4;color:#2a3746}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:active{background-color:#ee9494;color:#2a3746}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description{background-color:rgba(120,171,70,.5);color:#fff}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description>:last-child{display:none}.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2{color:#fff}.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon.accessibility-issue__icon svg{fill:#fff}.tox .tox-dialog__body-content .accessibility-issue__header .tox-form__group h1,.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2{margin-top:0}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-left:4px}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-left:auto}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description{padding:8px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-right:4px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-right:auto}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description{padding:4px 8px 4px 4px}.tox .mce-codemirror{background:#fff;bottom:0;font-size:13px;left:0;position:absolute;right:0;top:0;z-index:1}.tox .mce-codemirror.tox-inline-codemirror{margin:8px;position:absolute}.tox .tox-advtemplate .tox-form__grid{flex:1}.tox .tox-advtemplate .tox-form__grid>div:first-child{display:flex;flex-direction:column;width:30%}.tox .tox-advtemplate .tox-form__grid>div:first-child>div:nth-child(2){flex-basis:0;flex-grow:1;overflow:auto}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-advtemplate .tox-form__grid>div:first-child{width:100%}}.tox .tox-advtemplate iframe{border-color:#000;border-radius:0;border-style:solid;border-width:1px;margin:0 10px}.tox .tox-accordion{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__item{background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color,#fff);border-radius:var(--tox-private-control-border-radius,3px);position:relative}.tox .tox-accordion__item.tox-accordion__item--expanded{background-color:var(--tox-private-background-secondary,#2f4055)}.tox .tox-accordion__item.tox-accordion__item--expanded .tox-accordion__content--expanded .tox-accordion__content-inner{padding-top:0}.tox .tox-accordion__item::after{border-radius:var(--tox-private-control-border-radius,3px);box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,0) var(--tox-private-keyboard-focus-outline-color,transparent);content:'';inset:0;opacity:0;pointer-events:none;position:absolute}@media (forced-colors:active){.tox .tox-accordion__item::after{border:2px solid highlight}}.tox .tox-accordion__item:focus{outline:0;z-index:1}.tox .tox-accordion__item:focus::after{opacity:1}.tox .tox-accordion__heading{margin:0;width:100%}.tox .tox-accordion__heading:focus{outline:0}.tox .tox-accordion__header{align-items:center;border:none;border-radius:var(--tox-private-control-border-radius,3px);box-sizing:border-box;color:var(--tox-private-text-color,#fff);cursor:pointer;display:flex;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:var(--tox-private-line-height-base, 1.3);outline:0;padding:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));text-align:left;width:100%}.tox .tox-accordion__header::after{border-radius:var(--tox-private-control-border-radius,3px);bottom:0;box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,0) var(--tox-private-keyboard-focus-outline-color,transparent);content:'';left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-accordion__header::after{border:2px solid highlight}}.tox .tox-accordion__header:hover:not(.tox-accordion__header--disabled){background-color:var(--tox-private-background-secondary,#2f4055)}.tox .tox-accordion__header:focus:not(.tox-accordion__header--disabled){position:relative;z-index:1}.tox .tox-accordion__header:focus:not(.tox-accordion__header--disabled)::after{opacity:1}.tox .tox-accordion__header.tox-accordion__header--disabled{cursor:not-allowed;opacity:.5}.tox .tox-accordion__header.tox-accordion__header--icon-end{padding-right:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__header-icon{align-items:center;color:var(--tox-private-text-color,#fff);display:flex;flex-shrink:0;height:calc(var(--tox-private-base-value,16px) * 1.5);justify-content:center;width:calc(var(--tox-private-base-value,16px) * 1.5)}.tox .tox-accordion__header-icon svg{display:block;fill:currentColor;height:100%;width:100%;max-height:calc(var(--tox-private-base-value,16px) * 1.5);max-width:calc(var(--tox-private-base-value,16px) * 1.5)}.tox .tox-accordion__header:not(.tox-accordion__header--icon-end) .tox-accordion__header-icon{margin-right:var(--tox-private-pad-sm,8px);margin-left:0}.tox .tox-accordion__header--icon-end .tox-accordion__header-icon{margin-left:auto}.tox .tox-accordion__header-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-accordion__header--icon-end .tox-accordion__header-text{flex:0 1 auto;margin-right:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__content{border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-accordion__content.tox-accordion__content--collapsed{display:none}.tox .tox-accordion__content.tox-accordion__content--expanded{display:block}.tox .tox-accordion__content-inner{padding:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px)) calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__content-inner .tox-form__group:last-child{margin-bottom:0}.tox .tox-accordion__content-inner .tox-form__group>:not(:first-child){margin-top:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__content-inner .tox-form__group>.tox-dropdown-content{margin-top:0}.tox .tox-accordion__content-inner .tox-button-group{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__content-inner .tox-accordion__model-button{border-radius:var(--tox-private-control-border-radius,3px);align-items:center;appearance:none;background:0 0;border:none;color:inherit;cursor:pointer;display:flex;font-family:inherit;font-size:inherit;gap:var(--tox-private-pad-xs,4px);margin:0;outline:0;padding:6px calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));position:relative}.tox .tox-accordion__content-inner .tox-accordion__model-button::after{border-radius:var(--tox-private-control-border-radius,3px);bottom:0;box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,0) var(--tox-private-keyboard-focus-outline-color,transparent);content:'';left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-accordion__content-inner .tox-accordion__model-button::after{border:2px solid highlight}}.tox .tox-accordion__content-inner .tox-accordion__model-button:focus{z-index:1}.tox .tox-accordion__content-inner .tox-accordion__model-button:focus::after{opacity:1}.tox .tox-accordion .tox-selectfield{align-items:center;background-color:var(--tox-private-background-color,#222f3e);border:1px solid var(--tox-private-border-color,#000);border-radius:var(--tox-private-control-border-radius,3px);box-sizing:border-box;display:flex;height:34px;padding:0 6px;position:relative;width:100%}.tox .tox-accordion .tox-selectfield:focus-within{box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,0) var(--tox-private-keyboard-focus-outline-color,transparent);z-index:1}@media (forced-colors:active){.tox .tox-accordion .tox-selectfield:focus-within{border-color:highlight;box-shadow:0 0 0 2px highlight}}.tox .tox-accordion .tox-selectfield button{appearance:none;background:0 0;border:none;color:inherit;cursor:pointer;flex:1;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;outline:0;padding:5px 0;text-align:left}.tox .tox-accordion .tox-selectfield .tox-icon{display:flex;flex-shrink:0;padding:9px 0;pointer-events:none}.tox .tox-accordion .tox-selectfield .tox-icon svg{height:var(--tox-private-base-value,16px);width:var(--tox-private-base-value,16px)}.tox[dir=rtl] .tox-accordion__header{text-align:right}.tox[dir=rtl] .tox-accordion__header:not(.tox-accordion__header--icon-end) .tox-accordion__header-icon{margin-left:var(--tox-private-pad-sm,8px);margin-right:0}.tox[dir=rtl] .tox-accordion__header--icon-end .tox-accordion__header-icon{margin-right:auto;margin-left:0}.tox[dir=rtl] .tox-accordion__header--icon-end .tox-accordion__header-text{margin-left:var(--tox-private-pad-sm,8px);margin-right:0}.tox .tox-alert{align-items:flex-start;align-self:stretch;border-radius:var(--tox-private-panel-border-radius,3px);border-style:solid;border-width:1px;box-sizing:border-box;color:var(--tox-private-text-color,#fff);display:flex;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-normal,normal);gap:var(--tox-private-pad-xs,4px);line-height:var(--tox-private-line-height-base, 1.3);padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-sm,8px);width:100%}.tox .tox-alert--error{background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#222f3e) r g b / .8) 0,rgba(from var(--tox-private-background-color,#222f3e) r g b / .8) 100%),var(--tox-private-color-error,#c00);border-color:var(--tox-private-color-error,#c00)}.tox .tox-alert--warning{background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#222f3e) r g b / .8) 0,rgba(from var(--tox-private-background-color,#222f3e) r g b / .8) 100%),var(--tox-private-color-warning,#fc0);border-color:var(--tox-private-color-warning,#fc0)}.tox .tox-alert__body{display:flex;flex:1 0 0;flex-direction:column;min-width:0}.tox .tox-alert__content{align-items:center;display:flex;flex:1 0 0;gap:var(--tox-private-pad-sm,8px);padding:var(--tox-private-pad-sm,8px) 0}.tox .tox-alert__message{margin:0;text-align:left}.tox .tox-alert__actions{align-items:center;display:flex;flex-wrap:wrap;gap:var(--tox-private-pad-xs,4px);justify-content:flex-start}.tox .tox-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bottom-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bar{display:flex;flex:0 0 auto}.tox .tox-button{border-width:var(--tox-private-button-border-width,1px);border-style:var(--tox-private-button-border-style,solid);border-radius:var(--tox-private-control-border-radius,3px);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-button-font-size, 14px);font-style:var(--tox-private-button-font-style,normal);font-weight:var(--tox-private-button-font-weight,bold);line-height:var(--tox-private-control-line-height, 24px);padding:var(--tox-private-button-padding-y,4px) var(--tox-private-button-padding-x,16px);text-align:center;-webkit-text-decoration:none;text-decoration:none;text-transform:none;letter-spacing:normal;box-shadow:none;box-sizing:border-box;cursor:pointer;outline:0;position:relative;white-space:nowrap;display:inline-flex;justify-content:center;align-items:center;gap:var(--tox-private-pad-xs,4px)}.tox .tox-button::before{border-radius:var(--tox-private-control-border-radius,3px);bottom:calc(-1 * var(--tox-private-button-border-width,1px));box-shadow:var(--tox-private-button-focus-outline,inset 0 0 0 1px #fff,0 0 0 2px #207ab7);content:'';left:calc(-1 * var(--tox-private-button-border-width,1px));opacity:0;pointer-events:none;position:absolute;right:calc(-1 * var(--tox-private-button-border-width,1px));top:calc(-1 * var(--tox-private-button-border-width,1px))}.tox .tox-button:focus:not(:disabled){background-color:var(--tox-private-button-focus-background-color,#1c6ca1);background-image:none;border-color:var(--tox-private-button-focus-border-color,#1c6ca1);box-shadow:var(--tox-private-button-focus-box-shadow,none);color:var(--tox-private-button-focus-text-color,#fff)}.tox .tox-button:focus:not(:disabled)::before{opacity:1}.tox .tox-button.tox-button--icon,.tox .tox-button:has(.tox-icon:only-child){padding:4px}.tox .tox-button .tox-icon svg{display:block;fill:currentColor}.tox .tox-button .tox-icon.tox-icon--success svg{fill:var(--tox-private-color-success,#78AB46)}.tox .tox-button .tox-icon.tox-icon--error svg{fill:var(--tox-private-color-error,#c00)}.tox .tox-button--stretch{width:100%}.tox-context-form__group .tox-button--icon,.tox-context-form__group .tox-button.tox-button--icon{margin:3px 0 2px 0;padding:0}.tox .tox-button{background-color:var(--tox-private-button-primary-background-color,#207ab7);background-image:none;background-position:0 0;background-repeat:repeat;color:var(--tox-private-button-primary-text-color,#fff);border-color:var(--tox-private-button-primary-border-color,#207ab7)}.tox .tox-button[disabled]{background-color:var(--tox-private-button-primary-disabled-background-color,#207ab7);background-image:none;border-color:var(--tox-private-button-primary-disabled-border-color,#207ab7);color:var(--tox-private-button-primary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button:focus:not(:disabled){background-color:var(--tox-private-button-primary-focus-background-color,#1c6ca1);border-color:var(--tox-private-button-primary-focus-border-color,#1c6ca1);color:var(--tox-private-button-primary-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button:hover:not(:disabled){background-color:var(--tox-private-button-primary-hover-background-color,#1c6ca1);border-color:var(--tox-private-button-primary-hover-border-color,#1c6ca1);color:var(--tox-private-button-primary-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button:active:not(:disabled){background-color:var(--tox-private-button-primary-active-background-color,#185d8c);border-color:var(--tox-private-button-primary-active-border-color,#185d8c);color:var(--tox-private-button-primary-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled{background-color:var(--tox-private-button-primary-enabled-background-color,#185d8c);border-color:var(--tox-private-button-primary-enabled-border-color,#185d8c);color:var(--tox-private-button-primary-enabled-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled[disabled]{color:var(--tox-private-button-primary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-primary-enabled-focus-background-color,#154f76);border-color:var(--tox-private-button-primary-enabled-focus-border-color,#154f76);color:var(--tox-private-button-primary-enabled-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-primary-enabled-hover-background-color,#154f76);border-color:var(--tox-private-button-primary-enabled-hover-border-color,#154f76);color:var(--tox-private-button-primary-enabled-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-primary-enabled-active-background-color,#114060);border-color:var(--tox-private-button-primary-enabled-active-border-color,#114060);color:var(--tox-private-button-primary-enabled-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary{background-color:var(--tox-private-button-secondary-background-color,#3d546f);border-color:var(--tox-private-button-secondary-border-color,#3d546f);color:var(--tox-private-button-secondary-text-color,#fff);border-style:solid;border-width:1px;background-image:none;background-position:0 0;background-repeat:repeat;border-radius:3px;box-shadow:none;font-size:14px;font-style:normal;font-weight:700;letter-spacing:normal;outline:0;padding:4px 16px;-webkit-text-decoration:none;text-decoration:none;text-transform:none}.tox .tox-button--secondary[disabled]{background-color:var(--tox-private-button-secondary-disabled-background-color,#3d546f);background-image:none;border-color:var(--tox-private-button-secondary-disabled-border-color,#3d546f);color:var(--tox-private-button-secondary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button--secondary:focus:not(:disabled){background-color:var(--tox-private-button-secondary-focus-background-color,#34485f);border-color:var(--tox-private-button-secondary-focus-border-color,#34485f);color:var(--tox-private-button-secondary-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary:hover:not(:disabled){background-color:var(--tox-private-button-secondary-hover-background-color,#34485f);border-color:var(--tox-private-button-secondary-hover-border-color,#34485f);color:var(--tox-private-button-secondary-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary:active:not(:disabled){background-color:var(--tox-private-button-secondary-active-background-color,#2b3b4e);border-color:var(--tox-private-button-secondary-active-border-color,#2b3b4e);color:var(--tox-private-button-secondary-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled{background-color:var(--tox-private-button-secondary-enabled-background-color,#6ea9d0);border-color:var(--tox-private-button-secondary-enabled-border-color,#6ea9d0);color:var(--tox-private-button-secondary-enabled-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled[disabled]{color:var(--tox-private-button-secondary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button--secondary.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-focus-background-color,#5b9dca);border-color:var(--tox-private-button-secondary-enabled-focus-border-color,#5b9dca);color:var(--tox-private-button-secondary-enabled-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-hover-background-color,#5b9dca);border-color:var(--tox-private-button-secondary-enabled-hover-border-color,#5b9dca);color:var(--tox-private-button-secondary-enabled-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-active-background-color,#4792c4);border-color:var(--tox-private-button-secondary-enabled-active-border-color,#4792c4);color:var(--tox-private-button-secondary-enabled-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--naked{background-color:transparent;border-color:transparent;box-shadow:unset;color:var(--tox-private-button-naked-text-color,#fff)}.tox .tox-button--naked[disabled]{background-color:#3d546f;border-color:#3d546f;color:var(--tox-private-button-naked-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button--naked:focus:not(:disabled){background-color:var(--tox-private-button-naked-focus-background-color,#34485f);border-color:var(--tox-private-button-naked-focus-border-color,#34485f);color:var(--tox-private-button-naked-focus-text-color,#fff);box-shadow:none}.tox .tox-button--naked:hover:not(:disabled){background-color:var(--tox-private-button-naked-hover-background-color,#34485f);border-color:var(--tox-private-button-naked-hover-background-color,#34485f);color:var(--tox-private-button-naked-hover-text-color,#fff);box-shadow:none}.tox .tox-button--naked:active:not(:disabled){background-color:var(--tox-private-button-naked-active-background-color,#2b3b4e);border-color:var(--tox-private-button-naked-active-border-color,#2b3b4e);color:var(--tox-private-button-naked-active-text-color,#fff);box-shadow:none}.tox .tox-button--naked.tox-button--enabled{background-color:var(--tox-private-button-naked-enabled-background-color,#346085);border-color:var(--tox-private-button-naked-enabled-border-color,#346085);color:var(--tox-private-button-naked-enabled-text-color,#fff);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled[disabled]{color:var(--tox-private-button-naked-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button--naked.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-naked-enabled-focus-background-color,#2d5373);border-color:var(--tox-private-button-naked-enabled-focus-border-color,#2d5373);color:var(--tox-private-button-naked-enabled-focus-text-color,#fff);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-naked-enabled-hover-background-color,#2d5373);border-color:var(--tox-private-button-naked-enabled-hover-border-color,#2d5373);color:var(--tox-private-button-naked-enabled-hover-text-color,#fff);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-naked-enabled-active-background-color,#264560);border-color:var(--tox-private-button-naked-enabled-active-border-color,#264560);color:var(--tox-private-button-naked-enabled-active-text-color,#fff);box-shadow:unset}.tox .tox-button--secondary--outline{background-color:transparent;border-color:var(--tox-private-button-secondary-outline-border-color,#3d546f);color:var(--tox-private-button-secondary-outline-text-color,#fff)}.tox .tox-button--secondary--outline:focus:not(:disabled){background-color:var(--tox-private-button-secondary-outline-focus-background-color,#34485f);border-color:var(--tox-private-button-secondary-outline-focus-border-color,#34485f);color:var(--tox-private-button-secondary-outline-focus-text-color,#fff)}.tox .tox-button--secondary--outline:hover:not(:disabled){background-color:var(--tox-private-button-secondary-outline-hover-background-color,#3d546f);border-color:var(--tox-private-button-secondary-outline-hover-border-color,#34485f);color:var(--tox-private-button-secondary-outline-hover-text-color,#fff)}.tox .tox-button--secondary--outline:active:not(:disabled){background-color:var(--tox-private-button-secondary-outline-active-background-color,#34485f);border-color:var(--tox-private-button-secondary-outline-active-border-color,#34485f);color:var(--tox-private-button-secondary-outline-active-text-color,#fff)}.tox .tox-button--secondary--outline[disabled]{background-color:var(--tox-private-button-secondary-outline-disabled-background-color,transparent);border-color:var(--tox-private-button-secondary-outline-disabled-border-color,#3d546f);color:var(--tox-private-button-secondary-outline-disabled-text-color,rgba(255,255,255,.5))}.tox .tox-checkbox{align-items:center;border-radius:var(--tox-private-checkbox-border-radius,3px);cursor:pointer;display:flex;height:var(--tox-private-control-height,36px);min-width:var(--tox-private-control-height,36px)}.tox .tox-checkbox__input{height:1px;overflow:hidden;position:absolute;top:auto;width:1px}.tox .tox-checkbox__icons{display:flex;align-items:center;justify-content:center;box-sizing:content-box;padding:var(--tox-private-pad-xs,calc(4px - 1px));border-radius:var(--tox-private-checkbox-border-radius,3px);box-shadow:0 0 0 2px transparent;height:var(--tox-private-control-line-height,24px);aspect-ratio:1/1}.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:block;fill:var(--tox-private-checkbox-unselected-color,rgba(255,255,255,0.2))}@media (forced-colors:active){.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:currentColor!important}}.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:none;fill:var(--tox-private-checkbox-indeterminate-color,#207ab7)}.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg{display:none;fill:var(--tox-private-checkbox-selected-color,#207ab7)}.tox .tox-checkbox--disabled{color:var(--tox-private-checkbox-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(255,255,255,0.5))}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(255,255,255,0.5))}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(255,255,255,0.5))}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__checked svg{display:block}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:block}.tox input.tox-checkbox__input:focus+.tox-checkbox__icons{box-shadow:var(--tox-private-checkbox-focus-box-shadow,inset 0 0 0 1px #207ab7)}.tox:not([dir=rtl]) .tox-checkbox__label{margin-left:var(--tox-private-pad-xs,4px)}.tox:not([dir=rtl]) .tox-checkbox__input{left:-10000px}.tox:not([dir=rtl]) .tox-bar .tox-checkbox{margin-left:var(--tox-private-pad-xs,4px)}.tox[dir=rtl] .tox-checkbox__label{margin-right:var(--tox-private-pad-xs,4px)}.tox[dir=rtl] .tox-checkbox__input{right:-10000px}.tox[dir=rtl] .tox-bar .tox-checkbox{margin-right:var(--tox-private-pad-xs,4px)}.tox .tox-collection--toolbar .tox-collection__group{display:flex;padding:0}.tox .tox-collection--grid .tox-collection__group{display:flex;flex-wrap:wrap;max-height:208px;overflow-x:hidden;overflow-y:auto;padding:0}.tox .tox-collection--list .tox-collection__group{border-bottom-width:0;border-color:#1a1a1a;border-left-width:0;border-right-width:0;border-style:solid;border-top-width:1px;padding:4px 0;display:flex;flex-direction:column}.tox .tox-collection--list .tox-collection__group:first-child{border-top-width:0}.tox .tox-collection__group-heading{background-color:#333;color:#fff;cursor:default;font-size:12px;font-style:normal;font-weight:400;margin-bottom:4px;margin-top:-4px;padding:4px 8px;text-transform:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-collection__item{align-items:center;border-radius:3px;color:#fff;display:flex;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-image-selector-menu .tox-collection__item,.tox .tox-image-selector-menu .tox-collection__item-image-selector{flex-direction:column}.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-checkmark,.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-icon,.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-image,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-checkmark,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-icon,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-image{flex-grow:1}.tox .tox-image-selector-menu .tox-collection__item label,.tox .tox-image-selector-menu .tox-collection__item-image-selector label{width:48px;white-space:nowrap;overflow:hidden;font-size:12px;color:#fff;text-align:center;align-self:flex-end}.tox .tox-image-selector-menu .tox-collection__item-checkmark{height:24px;width:24px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.tox .tox-image-selector-menu .tox-collection__item-checkmark svg path{fill:#207ab7;stroke:#207ab7}.tox .tox-image-selector-menu .tox-image-selector__row .tox-collection__item-image-selector.tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#222f3e}.tox .tox-image-selector-menu .tox-image-selector__row .tox-collection__item-image-selector.tox-collection__item--enabled:not(.tox-collection__item--state-disabled){z-index:2;background-color:#222f3e;opacity:.8;background-clip:content-box}.tox .tox-collection--list .tox-collection__item{padding:4px 8px}.tox .tox-collection--toolbar .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--grid .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--list .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#2b3b4e;color:#fff}.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#4a5562;color:#fff}@media (forced-colors:active){.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){border:solid 1px}}.tox .tox-collection--grid .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#757d87;color:#fff}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#4a5562;color:#fff;position:relative;z-index:1}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent inset;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border:2px solid highlight}}.tox .tox-collection--toolbar .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#757d87;color:#fff}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){border-radius:3px;outline:solid 1px}}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled){color:#fff;background-color:#2b3b4e;position:relative}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):hover{background-color:#4a5562;color:#fff}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus{background-color:#4a5562;color:#fff}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border:2px solid highlight}}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):hover{border-radius:3px;outline:solid 1px}}.tox .tox-collection__item-image{border:1px solid #000;border-radius:3px;display:flex;flex-direction:column;justify-content:center;margin-bottom:4px;position:relative}.tox .tox-collection__item-checkmark,.tox .tox-collection__item-icon{align-items:center;display:flex;height:24px;justify-content:center;width:24px}.tox .tox-collection__item-checkmark svg,.tox .tox-collection__item-icon svg{fill:currentColor}.tox .tox-collection--toolbar-lg .tox-collection__item-icon{height:48px;width:48px}.tox .tox-collection__item-label{color:currentColor;display:inline-block;flex:1;font-size:14px;font-style:normal;font-weight:400;line-height:24px;max-width:100%;text-transform:none;word-break:break-all}.tox .tox-collection__item-separator{border-bottom:1px solid #1a1a1a;height:0;margin:4px 0}.tox .tox-collection__item-accessory{color:currentColor;display:inline-block;font-size:14px;height:24px;line-height:24px;text-transform:none}.tox .tox-collection__item-caret{align-items:center;display:flex;min-height:24px}.tox .tox-collection__item-caret::after{content:'';font-size:0;min-height:inherit}.tox .tox-collection__item-caret svg{fill:currentColor}.tox .tox-collection__item--state-disabled{background-color:transparent;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg{fill:rgba(255,255,255,0.5)}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg{display:none}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-accessory+.tox-collection__item-checkmark{display:none}.tox .tox-collection--horizontal{background-color:#2b3b4e;border:1px solid #1a1a1a;border-radius:3px;box-shadow:0 0 2px 0 rgba(42,55,70,.2),0 4px 8px 0 rgba(42,55,70,.15);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:nowrap;margin-bottom:0;overflow-x:auto;padding:0}.tox .tox-collection--horizontal .tox-collection__group{align-items:center;display:flex;flex-wrap:nowrap;margin:0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item{height:34px;margin:3px 0 2px 0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item-label{white-space:nowrap}.tox .tox-collection--horizontal .tox-collection__item-caret{margin-left:4px}.tox .tox-collection__item-container{display:flex}.tox .tox-collection__item-container--row{align-items:center;flex:1 1 auto;flex-direction:row}.tox .tox-collection__item-container--row.tox-collection__item-container--align-left{margin-right:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--align-right{justify-content:flex-end;margin-left:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-top{align-items:flex-start;margin-bottom:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-middle{align-items:center}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-bottom{align-items:flex-end;margin-top:auto}.tox .tox-collection__item-container--column{align-self:center;flex:1 1 auto;flex-direction:column}.tox .tox-collection__item-container--column.tox-collection__item-container--align-left{align-items:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--align-right{align-items:flex-end}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-top{align-self:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-middle{align-self:center}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-bottom{align-self:flex-end}.tox:not([dir=rtl]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-right:1px solid #000}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>:not(:first-child){margin-left:8px}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-left:4px}.tox:not([dir=rtl]) .tox-collection__item-accessory{margin-left:16px;text-align:right}.tox:not([dir=rtl]) .tox-collection .tox-collection__item-caret{margin-left:16px}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-left:1px solid #000}.tox[dir=rtl] .tox-collection--list .tox-collection__item>:not(:first-child){margin-right:8px}.tox[dir=rtl] .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-right:4px}.tox[dir=rtl] .tox-collection__item-accessory{margin-right:16px;text-align:left}.tox[dir=rtl] .tox-collection .tox-collection__item-caret{margin-right:16px;transform:rotateY(180deg)}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__item-caret{margin-right:4px}@media (forced-colors:active){.tox .tox-hue-slider,.tox .tox-rgb-form .tox-rgba-preview{background-color:currentColor!important;border:1px solid highlight!important;forced-color-adjust:none}}.tox .tox-color-picker-container{display:flex;flex-direction:row;height:225px;margin:0}.tox .tox-sv-palette{box-sizing:border-box;display:flex;height:100%}.tox .tox-sv-palette-spectrum{height:100%}.tox .tox-sv-palette,.tox .tox-sv-palette-spectrum{width:225px}.tox .tox-sv-palette-thumb{background:0 0;border:1px solid #000;border-radius:50%;box-sizing:content-box;height:12px;position:absolute;width:12px}.tox .tox-sv-palette-inner-thumb{border:1px solid #fff;border-radius:50%;height:10px;position:absolute;width:10px}.tox .tox-hue-slider{box-sizing:border-box;height:100%;width:25px}.tox .tox-hue-slider-spectrum{background:linear-gradient(to bottom,red,#ff0080,#f0f,#8000ff,#00f,#0080ff,#0ff,#00ff80,#0f0,#80ff00,#ff0,#ff8000,red);height:100%;width:100%}.tox .tox-hue-slider,.tox .tox-hue-slider-spectrum{width:20px}.tox .tox-hue-slider-spectrum:focus,.tox .tox-sv-palette-spectrum:focus{outline:#08f solid}.tox .tox-hue-slider-thumb{background:#fff;border:1px solid #000;box-sizing:content-box;height:4px;width:100%}.tox .tox-rgb-form{display:flex;flex-direction:column;justify-content:space-between}.tox .tox-rgb-form div{align-items:center;display:flex;justify-content:space-between;margin-bottom:5px;width:inherit}.tox .tox-rgb-form input{min-width:6em}.tox .tox-rgb-form input.tox-invalid{border:1px solid red!important;box-shadow:0 0 0 1px red}.tox .tox-rgb-container{position:relative}.tox .tox-rgb-form .tox-invalid-icon{align-content:center;align-items:center;display:none;height:100%;position:absolute;right:0;top:0}.tox .tox-rgb-form .tox-invalid-icon .tox-control-wrap__status-icon-invalid{margin:0}.tox .tox-rgb-warning-note{background-color:#442632;border:1px solid #55212b;border-radius:3px;color:#e68080;padding:3px}.tox input.tox-invalid+.tox-invalid-icon{display:flex}.tox .tox-rgb-form .tox-rgba-preview{border:1px solid #000;flex-grow:2;margin-bottom:0}.tox:not([dir=rtl]) .tox-sv-palette{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider-thumb{margin-left:-1px}.tox:not([dir=rtl]) .tox-rgb-form label{margin-right:.5em}.tox[dir=rtl] .tox-sv-palette{margin-left:15px}.tox[dir=rtl] .tox-hue-slider{margin-left:15px}.tox[dir=rtl] .tox-hue-slider-thumb{margin-right:-1px}.tox[dir=rtl] .tox-rgb-form label{margin-left:.5em}.tox .tox-toolbar .tox-swatches,.tox .tox-toolbar__overflow .tox-swatches,.tox .tox-toolbar__primary .tox-swatches{margin:2px 0 3px 4px}.tox .tox-collection--list .tox-collection__group .tox-swatches-menu{border:0;margin:-4px 0}.tox .tox-swatches__row{display:flex}@media (forced-colors:active){.tox .tox-swatches__row{forced-color-adjust:none}}.tox .tox-swatch{height:30px;transition:transform .15s,box-shadow .15s;width:30px}.tox .tox-swatch:focus,.tox .tox-swatch:hover{box-shadow:0 0 0 1px rgba(127,127,127,.3) inset;transform:scale(.8)}.tox .tox-swatch--remove{align-items:center;display:flex;justify-content:center}.tox .tox-swatch--remove svg path{stroke:#e74c3c}.tox .tox-swatches__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-swatches__picker-btn svg{fill:#fff;height:24px;width:24px}.tox .tox-swatches__picker-btn:hover{background:#4a5562}.tox div.tox-swatch:not(.tox-swatch--remove) svg{display:none;fill:#fff;height:24px;margin:calc((30px - 24px)/ 2) calc((30px - 24px)/ 2);width:24px}.tox div.tox-swatch:not(.tox-swatch--remove) svg path{fill:#fff;paint-order:stroke;stroke:#222f3e;stroke-width:2px}.tox div.tox-swatch:not(.tox-swatch--remove).tox-collection__item--enabled svg{display:block}.tox:not([dir=rtl]) .tox-swatches__picker-btn{margin-left:auto}.tox[dir=rtl] .tox-swatches__picker-btn{margin-right:auto}.tox .tox-comment{background:#222f3e;border:1px solid #222f3e;border-radius:3px;padding:8px;padding-bottom:16px;position:relative}.tox .tox-comment:hover{box-shadow:0 4px 8px 0 rgba(42,55,70,.1)}.tox .tox-comment.tox-comment--selected{background-color:#555542;border:1px solid #ffcf30;box-shadow:0 4px 8px 0 rgba(42,55,70,.1)}.tox .tox-comment.tox-comment--selected:focus{border:2px solid transparent;margin:-1px}.tox .tox-comment.tox-comment--selected:focus:not(:first-child){margin-top:7px}.tox .tox-comment.tox-comment--selected .tox-comment__single{margin-bottom:12px}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus{position:relative}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus::after{top:-9px;pointer-events:none;position:absolute;content:"";display:block;bottom:-9px;left:-9px;right:-9px;border-radius:3px;border:2px solid transparent}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus:last-of-type:has(textarea):after{bottom:calc((12px + 16px + 1px) * -1)}.tox .tox-comment__header{align-items:center;color:#fff;display:flex;justify-content:space-between}.tox .tox-comment__date{color:#fff;font-size:12px;line-height:18px}.tox .tox-comment__body{color:#fff;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;margin-top:8px;position:relative;text-transform:initial;transition:max-height .5s cubic-bezier(0, 1, 0, 1);white-space:pre-wrap}.tox .tox-comment__body.tox-comment__body--expanded{max-height:100em;transition:max-height 1s ease-in-out}.tox .tox-comment__body.tox-comment__body--pending{transition:max-height 0s}.tox .tox-comment__body p{margin:0}.tox .tox-comment__body textarea{resize:none;white-space:normal;width:100%;font-size:16px}.tox .tox-comment__loading-text{align-items:center;color:#fff;display:flex;flex-direction:column;position:relative}.tox .tox-comment__loading-text>div{padding-bottom:16px}.tox .tox-comment__overlaytext{bottom:0;flex-direction:column;font-size:14px;left:0;padding:1em;position:absolute;right:0;top:0;z-index:10}.tox .tox-comment__overlaytext p{background-color:#222f3e;box-shadow:0 0 8px 8px #222f3e;color:#fff;text-align:center}.tox .tox-comment__overlaytext div:nth-of-type(2){font-size:.8em}.tox .tox-comment__expander{padding-top:8px}.tox .tox-comment__expander p{color:rgba(255,255,255,.5);font-size:14px;font-style:normal}.tox .tox-comment__expander p:focus{font-weight:700}.tox .tox-comment__buttonspacing{padding-top:16px;text-align:center}.tox .tox-tbtn.tox-comment__mention-btn{display:flex;width:34px;height:34px;padding:5px;justify-content:center;align-items:center;margin:0;background-color:transparent}.tox .tox-comment-thread{background:#222f3e;position:relative;border-radius:3px;background-color:transparent}.tox .tox-comment-thread>:not(:first-child){margin-top:8px}.tox .tox-comment-thread__overlay::after{background:#222f3e;bottom:0;content:"";display:flex;left:0;opacity:.9;position:absolute;right:0;top:0;z-index:5}.tox .tox-comment__reply{display:flex;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__reply>:first-child{margin-bottom:8px;width:100%}.tox .tox-comment__edit{display:flex;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__gradient::after{background:linear-gradient(rgba(34,47,62,0),#222f3e);bottom:0;content:"";display:block;height:5em;margin-top:-40px;position:absolute;width:100%}.tox .tox-comment__overlay{background:#222f3e;bottom:0;display:flex;flex-direction:column;flex-grow:1;left:0;opacity:.9;position:absolute;right:0;text-align:center;top:0;z-index:5}.tox .tox-comment__busy-spinner{align-items:center;background-color:#222f3e;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:20}.tox .tox-comment__scroll{display:flex;flex-direction:column;flex-shrink:1;overflow:auto;padding:12px;scroll-behavior:smooth}.tox .tox-comment__scroll:has(textarea:focus){scroll-behavior:auto}.tox .tox-comment--disappearing{transition:opacity .5s ease}.tox .tox-comment[data-transitioning-destination=deleting]{opacity:0}.tox .tox-ring-loader{width:10px;height:10px;border:1px solid #fff;border-bottom-color:transparent;border-radius:50%;display:inline-block;box-sizing:border-box;animation:tox-rotation 1s linear infinite}.tox:not([dir=rtl]) .tox-comment__edit{margin-left:8px}.tox:not([dir=rtl]) .tox-comment__buttonspacing>:last-child,.tox:not([dir=rtl]) .tox-comment__edit>:last-child,.tox:not([dir=rtl]) .tox-comment__reply>:last-child{margin-left:8px}.tox[dir=rtl] .tox-comment__edit{margin-right:8px}.tox[dir=rtl] .tox-comment__buttonspacing>:last-child,.tox[dir=rtl] .tox-comment__edit>:last-child,.tox[dir=rtl] .tox-comment__reply>:last-child{margin-right:8px}.tox .tox-user{align-items:center;display:flex}.tox .tox-user__avatar svg{fill:rgba(255,255,255,0.5)}.tox .tox-user__avatar img{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-user__name{color:#fff;font-size:14px;font-style:normal;font-weight:700;line-height:18px;text-transform:none}.tox:not([dir=rtl]) .tox-user__avatar img,.tox:not([dir=rtl]) .tox-user__avatar svg{margin-right:8px}.tox:not([dir=rtl]) .tox-user__avatar+.tox-user__name{margin-left:8px}.tox[dir=rtl] .tox-user__avatar img,.tox[dir=rtl] .tox-user__avatar svg{margin-left:8px}.tox[dir=rtl] .tox-user__avatar+.tox-user__name{margin-right:8px}.tox .tox-dialog-wrap{align-items:center;display:flex;justify-content:center;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1100}.tox .tox-dialog-wrap__backdrop{background-color:rgba(34,47,62,.75);bottom:0;left:0;position:absolute;right:0;top:0;z-index:1}.tox .tox-dialog-wrap__backdrop--opaque{background-color:#222f3e}.tox .tox-dialog{background-color:#2b3b4e;border-color:#000;border-radius:3px;border-style:solid;border-width:1px;box-shadow:0 16px 16px -10px rgba(42,55,70,.15),0 0 40px 1px rgba(42,55,70,.15);display:flex;flex-direction:column;max-height:100%;max-width:480px;overflow:hidden;position:relative;width:95vw;z-index:2}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog{align-self:flex-start;margin:8px auto;max-height:calc(100vh - 8px * 2);width:calc(100vw - 16px)}}.tox .tox-dialog-inline{z-index:1100}.tox .tox-dialog__header{align-items:center;background-color:#2b3b4e;border-bottom:none;color:#fff;display:flex;font-size:16px;justify-content:space-between;padding:8px 16px 0 16px;position:relative}.tox .tox-dialog__header .tox-button{z-index:1}.tox .tox-dialog__draghandle{cursor:grab;height:100%;left:0;position:absolute;top:0;width:100%}.tox .tox-dialog__draghandle:active{cursor:grabbing}.tox .tox-dialog__dismiss{margin-left:auto}.tox .tox-dialog__title{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:20px;font-style:normal;font-weight:400;line-height:1.3;margin:0;text-transform:none}.tox .tox-dialog__body{color:#fff;display:flex;flex:1;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;min-width:0;text-align:left;text-transform:none}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body{flex-direction:column}}.tox .tox-dialog__body-nav{align-items:flex-start;display:flex;flex-direction:column;flex-shrink:0;padding:16px 16px}@media only screen and (min-width:768px){.tox .tox-dialog__body-nav{max-width:11em}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body-nav{flex-direction:row;-webkit-overflow-scrolling:touch;overflow-x:auto;padding-bottom:0}}.tox .tox-dialog__body-nav-item{border-bottom:2px solid transparent;color:rgba(255,255,255,.5);display:inline-block;flex-shrink:0;font-size:14px;line-height:1.3;margin-bottom:8px;max-width:13em;-webkit-text-decoration:none;text-decoration:none}.tox .tox-dialog__body-nav-item:focus{background-color:rgba(32,122,183,.1)}.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid #90bddb;color:#90bddb}@media (forced-colors:active){.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid highlight;color:highlight}}.tox .tox-dialog__body-content{box-sizing:border-box;display:flex;flex:1;flex-direction:column;max-height:min(650px,calc(100vh - 110px));overflow:auto;-webkit-overflow-scrolling:touch;padding:16px 16px}.tox .tox-dialog__body-content>*{margin-bottom:0;margin-top:16px}.tox .tox-dialog__body-content>:first-child{margin-top:0}.tox .tox-dialog__body-content>:last-child{margin-bottom:0}.tox .tox-dialog__body-content>:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content a{color:#90bddb;cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content a:focus,.tox .tox-dialog__body-content a:hover{color:#428fc2;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content a:focus-visible{border-radius:1px;outline:2px solid #90bddb;outline-offset:2px}.tox .tox-dialog__body-content a:active{color:#33739e;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content svg{fill:#fff}.tox .tox-dialog__body-content strong{font-weight:700}.tox .tox-dialog__body-content ul{list-style-type:disc}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{padding-inline-start:2.5rem}.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{margin-bottom:16px}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content dt,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{display:block;margin-inline-end:0;margin-inline-start:0}.tox .tox-dialog__body-content .tox-form__group h1{color:#fff;font-size:20px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group h2{color:#fff;font-size:16px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group p{margin-bottom:16px}.tox .tox-dialog__body-content .tox-form__group h1:first-child,.tox .tox-dialog__body-content .tox-form__group h2:first-child,.tox .tox-dialog__body-content .tox-form__group p:first-child{margin-top:0}.tox .tox-dialog__body-content .tox-form__group h1:last-child,.tox .tox-dialog__body-content .tox-form__group h2:last-child,.tox .tox-dialog__body-content .tox-form__group p:last-child{margin-bottom:0}.tox .tox-dialog__body-content .tox-form__group h1:only-child,.tox .tox-dialog__body-content .tox-form__group h2:only-child,.tox .tox-dialog__body-content .tox-form__group p:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--center{text-align:center}.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--end{text-align:end}.tox .tox-dialog--width-lg{height:650px;max-width:1200px}.tox .tox-dialog--fullscreen{height:100%;max-width:100%}.tox .tox-dialog--fullscreen .tox-dialog__body-content{max-height:100%}.tox .tox-dialog--width-md{max-width:800px}.tox .tox-dialog--width-md .tox-dialog__body-content{overflow:auto}.tox .tox-dialog__body-content--centered{text-align:center}.tox .tox-dialog__footer{align-items:center;background-color:#2b3b4e;border-top:1px solid #000;display:flex;justify-content:space-between;padding:8px 16px}.tox .tox-dialog__footer-end,.tox .tox-dialog__footer-start{display:flex}.tox .tox-dialog__busy-spinner{align-items:center;background-color:rgba(34,47,62,.75);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:3}.tox .tox-dialog__table{border-collapse:collapse;width:100%}.tox .tox-dialog__table thead th{font-weight:700;padding-bottom:8px}.tox .tox-dialog__table thead th:first-child{padding-right:8px}.tox .tox-dialog__table tbody tr{border-bottom:1px solid #000}.tox .tox-dialog__table tbody tr:last-child{border-bottom:none}.tox .tox-dialog__table td{padding-bottom:8px;padding-top:8px}.tox .tox-dialog__table td:first-child{padding-right:8px}.tox .tox-dialog__iframe{min-height:200px}.tox .tox-dialog__iframe.tox-dialog__iframe--opaque{background:#fff}.tox .tox-navobj-bordered{position:relative}.tox .tox-navobj-bordered::before{border:1px solid #000;border-radius:3px;content:'';inset:0;opacity:1;pointer-events:none;position:absolute;z-index:1}.tox .tox-navobj-bordered iframe{border-radius:3px}.tox .tox-navobj-bordered-focus.tox-navobj-bordered::before{border-color:#207ab7;box-shadow:none;outline:2px solid rgba(32,122,183,.25)}.tox .tox-dialog__popups{position:absolute;width:100%;z-index:1100}.tox .tox-dialog__body-iframe{display:flex;flex:1;flex-direction:column}.tox .tox-dialog__body-iframe .tox-navobj{display:flex;flex:1}.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2){flex:1;height:100%}.tox .tox-dialog-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-dialog-dock-fadein{opacity:1;visibility:visible}.tox .tox-dialog-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein{transition-delay:0s}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav{margin-right:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav-item:not(:first-child){margin-left:8px}}.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-end>*,.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-start>*{margin-left:8px}.tox[dir=rtl] .tox-dialog__body{text-align:right}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav{margin-left:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav-item:not(:first-child){margin-right:8px}}.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-end>*,.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-start>*{margin-right:8px}.tox .tox-dropdown-content{box-shadow:0 0 2px 0 rgba(42,55,70,.2),0 4px 8px 0 rgba(42,55,70,.15);position:fixed;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;overflow:auto;height:fit-content;width:fit-content;border-radius:var(--tox-private-panel-border-radius,3px);background-color:var(--tox-private-background-color,#222f3e);max-height:50vh}.tox .tox-dropdown-content .tox-menu{width:100%;box-shadow:none}body.tox-dialog__disable-scroll{overflow:hidden}.tox .tox-dropzone-container{display:flex;flex:1}.tox .tox-dropzone{align-items:center;background:#fff;border:2px dashed #000;box-sizing:border-box;display:flex;flex-direction:column;flex-grow:1;justify-content:center;min-height:100px;padding:10px}.tox .tox-dropzone p{color:rgba(255,255,255,.5);margin:0 0 16px 0}.tox .tox-edit-area{display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-edit-area::before{border:0 solid transparent;border-radius:4px;content:'';inset:0;opacity:0;pointer-events:none;position:absolute;transition:opacity .15s;z-index:1}@media (forced-colors:active){.tox .tox-edit-area::before{border:0 solid highlight}}.tox .tox-edit-area__iframe{background-color:#fff;border:0;box-sizing:border-box;flex:1;height:100%;position:absolute;width:100%}.tox.tox-edit-focus .tox-edit-area::before{opacity:1}.tox.tox-inline-edit-area{border:1px dotted #000}.tox .tox-expandable-box{background:var(--tox-private-background-color,#222f3e);border-radius:var(--tox-private-control-border-radius,3px);border:1px solid var(--tox-private-border-color,#000);display:flex;flex-direction:column;justify-content:stretch;overflow:hidden}.tox .tox-expandable-box>.tox-button{margin:0 var(--tox-private-pad-md,16px) var(--tox-private-pad-md,16px)}.tox .tox-expandable-box__title{align-items:center;background:hsl(from var(--tox-private-color-tint,#207ab7) h s l / 10%);border-bottom:1px solid var(--tox-private-border-color,#000);color:var(--tox-private-text-color,#fff);display:flex;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);gap:var(--tox-private-pad-sm,8px);min-width:0;padding:var(--tox-private-pad-sm,8px) var(--tox-private-pad-md,16px)}.tox .tox-expandable-box__title .tox-icon{flex-shrink:0;height:var(--tox-private-base-value,16px);fill:var(--tox-private-text-color,#fff)}.tox .tox-expandable-box__title-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-expandable-box__content{margin:var(--tox-private-pad-md,16px);overflow:auto}.tox .tox-expandable-box__content--overflowing{position:relative;overflow:hidden}.tox .tox-expandable-box__content--overflowing::after{content:'';position:absolute;bottom:0;left:0;right:0;height:min(100px,100%);pointer-events:none;background:linear-gradient(to bottom,transparent 50%,var(--tox-private-background-color,#222f3e))}.tox .tox-expandable-box__content--expanded{max-height:fit-content}.tox .tox-control-wrap{flex:1;position:relative}.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid,.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown,.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid{display:none}.tox .tox-control-wrap svg{display:block}.tox .tox-control-wrap__status-icon-wrap{position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-control-wrap__status-icon-invalid svg{fill:#c00}.tox .tox-control-wrap__status-icon-unknown svg{fill:orange}.tox .tox-control-wrap__status-icon-valid svg{fill:green}.tox:not([dir=rtl]) .tox-control-wrap--status-invalid .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-unknown .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-valid .tox-textfield{padding-right:32px}.tox:not([dir=rtl]) .tox-control-wrap__status-icon-wrap{right:4px}.tox[dir=rtl] .tox-control-wrap--status-invalid .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-unknown .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-valid .tox-textfield{padding-left:32px}.tox[dir=rtl] .tox-control-wrap__status-icon-wrap{left:4px}.tox .tox-custom-preview{border-color:#000;border-radius:3px;border-style:solid;border-width:1px;flex:1;padding:8px}.tox .tox-autocompleter{max-width:25em}.tox .tox-autocompleter .tox-menu{box-sizing:border-box;max-width:25em}.tox .tox-autocompleter .tox-autocompleter-highlight{font-weight:700}.tox .tox-color-input{display:flex;position:relative;z-index:1}.tox .tox-color-input .tox-textfield{z-index:-1}.tox .tox-color-input span{border-color:rgba(42 55 70 / 20%);border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;height:24px;position:absolute;top:6px;width:24px}@media (forced-colors:active){.tox .tox-color-input span{border-color:currentColor;border-width:2px!important;forced-color-adjust:none}}.tox .tox-color-input span:focus:not([aria-disabled=true]),.tox .tox-color-input span:hover:not([aria-disabled=true]){border-color:#207ab7;cursor:pointer}.tox .tox-color-input span::before{background-image:linear-gradient(45deg,rgba(255,255,255,.25) 25%,transparent 25%),linear-gradient(-45deg,rgba(255,255,255,.25) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(255,255,255,.25) 75%),linear-gradient(-45deg,transparent 75%,rgba(255,255,255,.25) 75%);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px;border:1px solid #2b3b4e;border-radius:3px;box-sizing:border-box;content:'';height:24px;left:-1px;position:absolute;top:-1px;width:24px;z-index:-1}@media (forced-colors:active){.tox .tox-color-input span::before{border:none}}.tox .tox-color-input span[aria-disabled=true]{cursor:not-allowed}.tox:not([dir=rtl]) .tox-color-input .tox-textfield{padding-left:36px}.tox:not([dir=rtl]) .tox-color-input span{left:6px}.tox[dir=rtl] .tox-color-input .tox-textfield{padding-right:36px}.tox[dir=rtl] .tox-color-input span{right:6px}.tox .tox-label,.tox .tox-toolbar-label{color:rgba(255,255,255,.5);display:block;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;padding:0 8px 0 0;text-transform:none;white-space:nowrap}.tox .tox-toolbar-label{padding:0 8px}.tox[dir=rtl] .tox-label{padding:0 0 0 8px}.tox .tox-form{display:flex;flex:1;flex-direction:column}.tox .tox-form__group{box-sizing:border-box;margin-bottom:4px}.tox .tox-form-group--maximize{flex:1}.tox .tox-form__group--error{color:#c00}.tox .tox-form__group--collection{display:flex}.tox .tox-form__grid{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}.tox .tox-form__grid--2col>.tox-form__group{width:calc(50% - (8px / 2))}.tox .tox-form__grid--3col>.tox-form__group{width:calc(100% / 3 - (8px / 2))}.tox .tox-form__grid--4col>.tox-form__group{width:calc(25% - (8px / 2))}.tox .tox-form__controls-h-stack{align-items:center;display:flex}.tox .tox-form__group--inline{align-items:center;display:flex}.tox .tox-form__group--stretched{display:flex;flex:1;flex-direction:column}.tox .tox-form__group--stretched .tox-textarea{flex:1}.tox .tox-form__group--stretched .tox-navobj{display:flex;flex:1}.tox .tox-form__group--stretched .tox-navobj :nth-child(2){flex:1;height:100%}.tox:not([dir=rtl]) .tox-form__controls-h-stack>:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-form__controls-h-stack>:not(:first-child){margin-right:4px}.tox .tox-lock.tox-locked .tox-lock-icon__unlock,.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock{display:none}.tox .tox-context-form__group .tox-button--icon.tox-lock-context-form-size-input{margin-left:8px;margin-right:8px}.tox .tox-listboxfield .tox-listbox--select,.tox .tox-textarea,.tox .tox-textarea-wrap .tox-textarea:focus,.tox .tox-textfield,.tox .tox-toolbar-textfield{appearance:none;background-color:#2b3b4e;border-color:#000;border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 4.75px;resize:none;width:100%}.tox .tox-textarea[disabled],.tox .tox-textfield[disabled],.tox .tox-toolbar-textfield[disabled]{background-color:#222f3e;color:rgba(255,255,255,.85);cursor:not-allowed}.tox .tox-custom-editor:focus-within,.tox .tox-focusable-wrapper:focus,.tox .tox-listboxfield .tox-listbox--select:focus,.tox .tox-textarea-wrap:focus-within,.tox .tox-textarea:focus,.tox .tox-textfield:focus,.tox .tox-toolbar-textfield:focus{background-color:#2b3b4e;border-color:#207ab7;box-shadow:none;outline:2px solid rgba(32,122,183,.25)}.tox .tox-toolbar-textfield{max-width:250px;min-height:unset;height:34px;margin:2px 0 3px 0}.tox .tox-naked-btn{background-color:transparent;border:0;border-color:transparent;box-shadow:unset;color:#207ab7;cursor:pointer;display:block;margin:0;padding:0}.tox .tox-naked-btn svg{display:block;fill:#fff}.tox .tox-textfield-size{width:80px}.tox:not([dir=rtl]) .tox-toolbar-textfield+*{margin-left:4px}.tox[dir=rtl] .tox-toolbar-textfield+*{margin-right:4px}.tox .tox-listboxfield{cursor:pointer;position:relative}.tox .tox-listboxfield .tox-listbox--select[disabled]{background-color:#19232e;color:rgba(255,255,255,.85);cursor:not-allowed}.tox .tox-listbox__select-label{cursor:default;flex:1;margin:0 4px}.tox .tox-listbox__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-listbox__select-chevron svg{fill:#fff}@media (forced-colors:active){.tox .tox-listbox__select-chevron svg{fill:currentColor!important}}.tox .tox-listboxfield .tox-listbox--select{align-items:center;display:flex}.tox:not([dir=rtl]) .tox-listboxfield svg{right:8px}.tox[dir=rtl] .tox-listboxfield svg{left:8px}.tox .tox-selectfield{cursor:pointer;position:relative}.tox .tox-selectfield select{appearance:none;background-color:#2b3b4e;border-color:#000;border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 4.75px;resize:none;width:100%}.tox .tox-selectfield select[disabled]{background-color:#19232e;color:rgba(255,255,255,.85);cursor:not-allowed}.tox .tox-selectfield select::-ms-expand{display:none}.tox .tox-selectfield select:focus{background-color:#2b3b4e;border-color:#207ab7;box-shadow:none;outline:2px solid rgba(32,122,183,.25)}.tox .tox-selectfield svg{pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-selectfield select option:checked{background-color:revert;color:revert}.tox:not([dir=rtl]) .tox-selectfield select[size="0"],.tox:not([dir=rtl]) .tox-selectfield select[size="1"]{padding-right:24px}.tox:not([dir=rtl]) .tox-selectfield svg{right:8px}.tox[dir=rtl] .tox-selectfield select[size="0"],.tox[dir=rtl] .tox-selectfield select[size="1"]{padding-left:24px}.tox[dir=rtl] .tox-selectfield svg{left:8px}.tox .tox-textarea-wrap{border-color:#000;border-radius:3px;border-style:solid;border-width:1px;display:flex;flex:1;overflow:hidden}.tox .tox-textarea{appearance:textarea;white-space:pre-wrap}.tox .tox-textarea-wrap .tox-textarea{border:none}.tox .tox-textarea-wrap .tox-textarea:focus{border:none}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}.tox .tox-help__more-link{list-style:none;margin-top:1em}.tox .tox-imagepreview{background-color:#666;height:380px;overflow:hidden;position:relative;width:100%}.tox .tox-imagepreview.tox-imagepreview__loaded{overflow:auto}.tox .tox-imagepreview__container{display:flex;left:100vw;position:absolute;top:100vw}.tox .tox-imagepreview__image{background:url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==)}.tox .tox-image-tools .tox-spacer{flex:1}.tox .tox-image-tools .tox-bar{align-items:center;display:flex;height:60px;justify-content:center}.tox .tox-image-tools .tox-imagepreview,.tox .tox-image-tools .tox-imagepreview+.tox-bar{margin-top:8px}.tox .tox-image-tools .tox-croprect-block{background:#000;opacity:.5;position:absolute;zoom:1}.tox .tox-image-tools .tox-croprect-handle{border:2px solid #fff;height:20px;left:0;position:absolute;top:0;width:20px}.tox .tox-image-tools .tox-croprect-handle-move{border:0;cursor:move;position:absolute}.tox .tox-image-tools .tox-croprect-handle-nw{border-width:2px 0 0 2px;cursor:nw-resize;left:100px;margin:-2px 0 0 -2px;top:100px}.tox .tox-image-tools .tox-croprect-handle-ne{border-width:2px 2px 0 0;cursor:ne-resize;left:200px;margin:-2px 0 0 -20px;top:100px}.tox .tox-image-tools .tox-croprect-handle-sw{border-width:0 0 2px 2px;cursor:sw-resize;left:100px;margin:-20px 2px 0 -2px;top:200px}.tox .tox-image-tools .tox-croprect-handle-se{border-width:0 2px 2px 0;cursor:se-resize;left:200px;margin:-20px 0 0 -20px;top:200px}.tox .tox-image-selector-loading-spinner-wrapper{display:flex;justify-content:center;align-items:center}.tox .tox-image-selector-loading-spinner{position:absolute;width:min(24px,30%);aspect-ratio:1/1;border-radius:50%;border:3px solid #207ab7;border-bottom-color:transparent;animation:tox-rotation 1s linear infinite}.tox .tox-toolbar .tox-image-selector,.tox .tox-toolbar__overflow .tox-image-selector,.tox .tox-toolbar__primary .tox-image-selector{margin:2px 0 3px 4px}.tox .tox-image-selector-menu{border:0;border-radius:3px;margin:-4px 0;padding:4px}.tox .tox-image-selector-menu .tox-collection--list .tox-collection__group{border:0;padding:0;margin:-4px 0}.tox .tox-image-selector-menu .tox-collection__item{max-width:48px}.tox .tox-image-selector-menu .tox-collection__item-icon{border:1px solid #000;border-radius:3px;margin-bottom:4px;width:100%}.tox .tox-image-selector-menu .tox-collection__item-icon svg path{stroke:#c00}.tox .tox-image-selector__row{display:flex}.tox .tox-image-selector--remove{align-items:center;display:flex;justify-content:center}.tox .tox-image-selector--remove svg path{stroke:#c00}.tox .tox-image-selector-image-wrapper{width:46px;height:46px;display:flex;align-items:center;justify-content:center}.tox .tox-image-selector-image-img{max-width:100%;max-height:100%}.tox .tox-image-selector__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-image-selector__picker-btn svg{fill:#fff;height:24px;width:24px}.tox .tox-image-selector__picker-btn:hover{background:#4a5562}.tox .tox-context-toolbar{position:absolute;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;z-index:1150;background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color,#fff);border:1px solid #364a62;border-radius:6px;box-shadow:0 2px 8px rgba(0,0,0,.08);padding:8px}.tox .tox-context-toolbar[popover]{inset:auto;margin:0}.tox .tox-context-toolbar .tox-toolbar{display:flex;flex-wrap:nowrap;gap:8px}.tox .tox-context-toolbar .tox-toolbar__group{display:flex;flex-wrap:nowrap;flex-shrink:0;gap:8px;align-items:center;padding:0}.tox .tox-insert-table-picker{background-color:#222f3e;display:flex;flex-wrap:wrap;width:170px}.tox .tox-insert-table-picker>div{border-color:#000;border-style:solid;border-width:0 1px 1px 0;box-sizing:border-box;height:17px;width:17px}.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker{margin:0 -4px}.tox .tox-insert-table-picker .tox-insert-table-picker__selected{background-color:rgba(32,122,183,.5);border-color:rgba(32,122,183,.5)}@media (forced-colors:active){.tox .tox-insert-table-picker .tox-insert-table-picker__selected{border-color:Highlight;filter:contrast(50%)}}.tox .tox-insert-table-picker__label{color:#fff;display:block;font-size:14px;padding:4px;text-align:center;width:100%}.tox:not([dir=rtl]) .tox-insert-table-picker>div:nth-child(10n){border-right:0}.tox[dir=rtl] .tox-insert-table-picker>div:nth-child(10n+1){border-right:0}.tox-mentions__card-common{z-index:1200}.tox.tox-mentions__card{background:#222f3e;border:1px solid #000;display:flex;padding:4px 8px}.tox.tox-mentions__card .tox-mentions__container{display:flex;flex-direction:column;align-self:center;margin:0 4px}.tox .tox-mentions__avatar{width:42px;height:42px;border-radius:50%;margin-right:4px}.tox .tox-mentions__username{font-size:14px;line-height:21px;color:#fff}.tox .tox-mentions__description{font-size:12px;line-height:21px;color:rgba(255,255,255,.5)}.tox .tox-collection__item--active .tox-mentions__description,.tox .tox-collection__item--active .tox-mentions__username{color:inherit}.tox .tox-menu{background-color:#2b3b4e;border:1px solid #000;border-radius:3px;box-shadow:0 4px 8px 0 rgba(42,55,70,.1);display:inline-block;overflow:hidden;vertical-align:top;z-index:1150}.tox .tox-menu.tox-collection.tox-collection--list{padding:0 0}.tox .tox-menu.tox-collection.tox-collection--toolbar{padding:4px}.tox .tox-menu.tox-collection.tox-collection--grid{padding:4px}@media only screen and (min-width:768px){.tox .tox-menu .tox-collection__item-label{overflow-wrap:break-word;word-break:normal}.tox .tox-dialog__popups .tox-menu .tox-collection__item-label{word-break:break-all}}.tox .tox-menu__label blockquote,.tox .tox-menu__label code,.tox .tox-menu__label h1,.tox .tox-menu__label h2,.tox .tox-menu__label h3,.tox .tox-menu__label h4,.tox .tox-menu__label h5,.tox .tox-menu__label h6,.tox .tox-menu__label p{margin:0}.tox .tox-menubar{background: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;background-color:#222f3e;display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;grid-column:1/-1;grid-row:1;padding:0 4px 0 4px}.tox .tox-promotion+.tox-menubar{grid-column:1}@media (max-width:480px){.tox:not(.tox-tinymce-inline) .tox-menubar{flex-wrap:nowrap;min-width:0;min-height:39px;overflow-x:auto;overflow-y:hidden}}.tox .tox-promotion{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;background-color:#222f3e;grid-column:2;grid-row:1;padding-inline-end:8px;padding-inline-start:4px;padding-top:5px}.tox .tox-promotion-link{align-items:unsafe center;background-color:#e8f1f8;border-radius:5px;color:#086be6;cursor:pointer;display:flex;font-size:14px;height:26.6px;padding:4px 8px;white-space:nowrap}.tox .tox-promotion-link:hover{background-color:#b4d7ff}.tox .tox-promotion-link:focus{background-color:#d9edf7}.tox .tox-mbtn{align-items:center;background:#222f3e;border:0;border-radius:3px;box-shadow:none;color:#fff;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:34px;justify-content:center;margin:2px 0 3px 0;outline:0;padding:0 4px;text-transform:none;width:auto}.tox .tox-mbtn[disabled]{background-color:#222f3e;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-mbtn:focus:not(:disabled){background:#4a5562;border:0;box-shadow:none;color:#fff;position:relative;z-index:1}.tox .tox-mbtn:focus:not(:disabled)::after{pointer-events:none;border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-mbtn:focus:not(:disabled)::after{border:2px solid highlight}}.tox .tox-mbtn--active,.tox .tox-mbtn:not(:disabled).tox-mbtn--active:focus{background:#757d87;border:0;box-shadow:none;color:#fff}.tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active){background:#4a5562;border:0;box-shadow:none;color:#fff}.tox .tox-mbtn__select-label{cursor:default;font-weight:400;margin:0 4px}.tox .tox-mbtn[disabled] .tox-mbtn__select-label{cursor:not-allowed}.tox .tox-mbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px;display:none}.tox .tox-notification{border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;display:grid;font-size:14px;font-weight:400;grid-template-columns:minmax(40px,1fr) auto minmax(40px,1fr);margin-left:auto;margin-right:auto;margin-top:4px;opacity:0;padding:4px;transition:transform .1s ease-in,opacity 150ms ease-in;width:max-content}.tox .tox-notification a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification p{font-size:14px;font-weight:400}.tox .tox-notification:focus{border-color:#207ab7;box-shadow:none}.tox .tox-notification--in{opacity:1}.tox .tox-notification--success{background-color:#334840;border-color:#3c5440;color:#fff}.tox .tox-notification--success p{color:#fff}.tox .tox-notification--success a{color:#b5d199}.tox .tox-notification--success a:focus,.tox .tox-notification--success a:hover{color:#82b153;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--success a:focus-visible{border-radius:1px;outline:2px solid #b5d199;outline-offset:2px}.tox .tox-notification--success a:active{color:#689041;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--success svg{fill:#fff}.tox .tox-notification--error{background-color:#442632;border-color:#55212b;color:#fff}.tox .tox-notification--error p{color:#fff}.tox .tox-notification--error a{color:#e68080}.tox .tox-notification--error a:focus,.tox .tox-notification--error a:hover{color:#d42b2b;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--error a:focus-visible{border-radius:1px;outline:2px solid #e68080;outline-offset:2px}.tox .tox-notification--error a:active{color:#a22;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--error svg{fill:#fff}.tox .tox-notification--warn,.tox .tox-notification--warning{background-color:#222f3e;border-color:#000;color:#fff0b3}.tox .tox-notification--warn p,.tox .tox-notification--warning p{color:#fff0b3}.tox .tox-notification--warn a,.tox .tox-notification--warning a{color:#fc0}.tox .tox-notification--warn a:focus,.tox .tox-notification--warn a:hover,.tox .tox-notification--warning a:focus,.tox .tox-notification--warning a:hover{color:#997a00;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--warn a:focus-visible,.tox .tox-notification--warning a:focus-visible{border-radius:1px;outline:2px solid #ffcc00;outline-offset:2px}.tox .tox-notification--warn a:active,.tox .tox-notification--warning a:active{color:#665200;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--warn svg,.tox .tox-notification--warning svg{fill:#fff0b3}.tox .tox-notification--info{background-color:#254161;border-color:#264972;color:#fff}.tox .tox-notification--info p{color:#fff}.tox .tox-notification--info a{color:#83b7f3}.tox .tox-notification--info a:focus,.tox .tox-notification--info a:hover{color:#2681ea;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--info a:focus-visible{border-radius:1px;outline:2px solid #83b7f3;outline-offset:2px}.tox .tox-notification--info a:active{color:#1368c9;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--info svg{fill:#fff}.tox .tox-notification__body{align-self:center;color:#fff;font-size:14px;grid-column-end:3;grid-column-start:2;grid-row-end:2;grid-row-start:1;text-align:center;white-space:normal;word-break:break-all;word-break:break-word}.tox .tox-notification__body>*{margin:0}.tox .tox-notification__body>*+*{margin-top:1rem}.tox .tox-notification__icon{align-self:center;grid-column-end:2;grid-column-start:1;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification__icon svg{display:block}.tox .tox-notification__dismiss{align-self:start;grid-column-end:4;grid-column-start:3;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification .tox-progress-bar{grid-column-end:4;grid-column-start:1;grid-row-end:3;grid-row-start:2;justify-self:center}.tox .tox-notification-container-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-notification-container-dock-fadein{opacity:1;visibility:visible}.tox .tox-notification-container-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-notification-container-dock-transition.tox-notification-container-dock-fadein{transition-delay:0s}.tox .tox-onboarding-overlay{height:100%;background-color:#17202a;position:absolute;top:0;left:0;right:0;z-index:1302;overflow:auto;display:grid;justify-content:center;align-items:center}.tox .tox-onboarding-dialog{max-width:512px;background-color:#222f3e;display:flex;flex-direction:column;box-shadow:0 16px 16px -10px rgba(42,55,70,.15),0 0 40px 1px rgba(42,55,70,.15);border-radius:12px;margin:8px}.tox .tox-onboarding-dialog .tox-onboarding-header{color:#fff;display:flex;justify-content:center;align-items:center;font-size:20px;margin:24px 0 8px}.tox .tox-onboarding-dialog .tox-onboarding-step{display:grid;grid-template-columns:min-content 1fr min-content;align-items:center;margin:0 24px}.tox .tox-onboarding-dialog .tox-onboarding-step:not(:last-child){border-bottom:1px solid #000}.tox .tox-onboarding-dialog .tox-onboarding-step--number{width:24px;aspect-ratio:1/1;border-radius:50%;border:1px solid #00ad0e;display:flex;justify-content:center;align-items:center;font-size:12px;font-weight:700;color:#00ad0e}.tox .tox-onboarding-dialog .tox-onboarding-step--body{padding:24px 0 24px 16px}.tox .tox-onboarding-dialog .tox-onboarding-step--body-header{color:#fff;font-size:14px;font-weight:700;margin-bottom:4px}.tox .tox-onboarding-dialog .tox-onboarding-step--body-details{color:rgba(255,255,255,.5);font-size:14px}.tox .tox-onboarding-dialog .tox-onboarding-step--action{padding-left:24px}.tox .tox-onboarding-dialog .tox-onboarding-footer{background-color:#2b3b4e;display:flex;justify-content:space-between;align-items:center;padding:16px 24px;border-bottom-left-radius:12px;border-bottom-right-radius:12px}.tox .tox-onboarding-dialog .tox-onboarding-footer p{display:flex;align-items:center;justify-content:center;gap:4px;font-size:14px;color:rgba(255,255,255,.5)}.tox .tox-onboarding-dialog svg{width:24px;fill:rgba(255,255,255,0.5)}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin{display:grid;align-items:center;grid-template-columns:min-content 1fr min-content;border-bottom:1px solid #000;padding:24px 0;margin:0 16px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body{margin:0 16px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body .tox-promotion-dialog-plugin-header{color:#fff;font-size:14px;font-weight:700;margin-bottom:4px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body .tox-promotion-dialog-plugin-details{color:rgba(255,255,255,.5);font-size:14px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--icon{display:grid;place-content:center;width:56px;height:56px;line-height:24px;font-size:24px;border-radius:12px;background:linear-gradient(180deg,#2b3b4e 24%,#202d3b 100%);box-shadow:0 1px 1px 0 #222f3e12,0 3px 6px 0 #222f3e06;color:#207ab7}.tox .tox-promotion-dialog--subtitle{margin:16px;color:rgba(255,255,255,.5);font-size:14px}.tox .tox-promotion-dialog--explore{text-align:center;margin:16px;color:rgba(255,255,255,.5);font-size:14px}.tox .tox-promotion-dialog--explore a{color:#207ab7}.tox .tox-promotion-dialog--footer{background-color:#17202a;color:rgba(255,255,255,.5);font-size:12px;text-align:center;padding:16px}.tox .tox-promotion-button{display:flex;align-items:center;height:26.6px;line-height:26.6px;font-size:14px;font-weight:700;background-color:#55367a;color:#c290fb;padding:8px 16px;cursor:pointer;white-space:nowrap;border-radius:5px}.tox .tox-promotion-button:focus{outline:1px solid #C290FB}.tox .tox-onboarding-dialog a,.tox .tox-promotion-dialog--footer a{color:rgba(255,255,255,.5);cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-onboarding-dialog a:focus,.tox .tox-onboarding-dialog a:hover,.tox .tox-promotion-dialog--footer a:focus,.tox .tox-promotion-dialog--footer a:hover{color:#428fc2;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-onboarding-dialog a:focus-visible,.tox .tox-promotion-dialog--footer a:focus-visible{border-radius:1px;outline:2px solid #90bddb;outline-offset:2px}.tox .tox-onboarding-dialog a:active,.tox .tox-promotion-dialog--footer a:active{color:#33739e;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-pop{display:inline-block;position:relative}.tox .tox-pop--resizing{transition:width .1s ease}.tox .tox-pop--resizing .tox-toolbar,.tox .tox-pop--resizing .tox-toolbar__group{flex-wrap:nowrap}.tox .tox-pop--transition{transition:.15s ease;transition-property:left,right,top,bottom}.tox .tox-pop--transition::after,.tox .tox-pop--transition::before{transition:all .15s,visibility 0s,opacity 75ms ease 75ms}.tox .tox-pop__dialog{background-color:#222f3e;border:1px solid #000;border-radius:3px;box-shadow:0 0 2px 0 rgba(42,55,70,.2),0 4px 8px 0 rgba(42,55,70,.15);min-width:0;overflow:hidden}.tox .tox-pop__dialog>:not(.tox-toolbar){margin:4px 4px 4px 8px}.tox .tox-pop__dialog .tox-toolbar{background-color:transparent;margin-bottom:-1px}.tox .tox-pop::after,.tox .tox-pop::before{border-style:solid;content:'';display:block;height:0;opacity:1;position:absolute;width:0}@media (forced-colors:active){.tox .tox-pop::after,.tox .tox-pop::before{content:none}}.tox .tox-pop.tox-pop--inset::after,.tox .tox-pop.tox-pop--inset::before{opacity:0;transition:all 0s .15s,visibility 0s,opacity 75ms ease}.tox .tox-pop.tox-pop--bottom::after,.tox .tox-pop.tox-pop--bottom::before{left:50%;top:100%}.tox .tox-pop.tox-pop--bottom::after{border-color:#222f3e transparent transparent transparent;border-width:8px;margin-left:-8px;margin-top:-1px}.tox .tox-pop.tox-pop--bottom::before{border-color:#000 transparent transparent transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--top::after,.tox .tox-pop.tox-pop--top::before{left:50%;top:0;transform:translateY(-100%)}.tox .tox-pop.tox-pop--top::after{border-color:transparent transparent #222f3e transparent;border-width:8px;margin-left:-8px;margin-top:1px}.tox .tox-pop.tox-pop--top::before{border-color:transparent transparent #000 transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--left::after,.tox .tox-pop.tox-pop--left::before{left:0;top:calc(50% - 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--left::after{border-color:transparent #222f3e transparent transparent;border-width:8px;margin-left:-15px}.tox .tox-pop.tox-pop--left::before{border-color:transparent #000 transparent transparent;border-width:10px;margin-left:-19px}.tox .tox-pop.tox-pop--right::after,.tox .tox-pop.tox-pop--right::before{left:100%;top:calc(50% + 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--right::after{border-color:transparent transparent transparent #222f3e;border-width:8px;margin-left:-1px}.tox .tox-pop.tox-pop--right::before{border-color:transparent transparent transparent #000;border-width:10px;margin-left:-1px}.tox .tox-pop.tox-pop--align-left::after,.tox .tox-pop.tox-pop--align-left::before{left:20px}.tox .tox-pop.tox-pop--align-right::after,.tox .tox-pop.tox-pop--align-right::before{left:calc(100% - 20px)}.tox.tox-edit-focus .tox-sidebar__resize-handle:hover::before{border-left:0 solid transparent}.tox .tox-sidebar-wrap{--tox-private-min-editing-area-width:280px;flex-grow:1;min-height:0}.tox .tox-sidebar-wrap:not(.tox .tox-sidebar-wrap--resizable){display:flex;flex-direction:row}.tox .tox-sidebar-wrap--resizable{display:grid;grid-template-columns:minmax(var(--tox-private-min-editing-area-width),1fr) minmax(0,max-content);grid-template-rows:minmax(0,1fr)}.tox .tox-sidebar{background-color:var(--tox-private-sidebar-background-color,#34485f);display:flex;flex-direction:row;justify-content:flex-end}.tox .tox-sidebar__slider{display:flex;overflow:hidden}.tox .tox-sidebar-wrap--resizable .tox-sidebar__pane-container{width:var(--tox-private-requested-sidebar-width)}.tox .tox-sidebar-wrap--resizable .tox-sidebar--sliding-growing .tox-sidebar__pane-container,.tox .tox-sidebar-wrap--resizable .tox-sidebar--sliding-shrinking .tox-sidebar__pane-container{width:var(--tox-private-resolved-sidebar-width);min-width:var(--tox-private-resolved-sidebar-width)}.tox .tox-sidebar__pane-container{display:flex}.tox .tox-sidebar-wrap--resizable .tox-sidebar__resize-handle{display:block}.tox .tox-sidebar__resize-handle{display:none;position:relative;width:var(--tox-private-sidebar-resize-handle-width,1px);height:100%;cursor:col-resize;background-color:var(--tox-private-separator-color,#000);z-index:1}.tox .tox-sidebar__resize-handle::before{content:'';position:absolute;top:0;bottom:0;width:8px;box-sizing:border-box;border-left:0 solid transparent;transition:border-left-width .15s ease,border-left-color .15s ease}.tox .tox-sidebar__resize-handle:hover::before{border-left:3px solid #207ab7}.tox .tox-sidebar-wrap--resizable .tox-sidebar__pane{width:calc(100% - var(--tox-private-sidebar-resize-handle-width,1px))}.tox .tox-sidebar__pane{display:flex}.tox .tox-sidebar--sliding-closed{opacity:0}.tox .tox-sidebar--sliding-open{opacity:1}.tox .tox-sidebar--sliding-growing,.tox .tox-sidebar--sliding-shrinking{transition:width .5s ease,opacity .5s ease}.tox .tox-sidebar-content{display:flex;flex-direction:column;position:relative;width:100%;height:100%}.tox .tox-sidebar-content__header{align-items:center;display:flex;justify-content:space-between;border-bottom:var(--tox-private-tinymceai-border-width,1px) solid var(--tox-private-neutral-20,#0e141a);padding:var(--tox-private-pad-sm,8px) 12px;background:var(--tox-private-background-color,#222f3e)}.tox .tox-sidebar-content__header .tox-sidebar-content__header-close-button{margin-left:auto}.tox .tox-sidebar-content__actions{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-sidebar-content__title{font-size:var(--tox-private-font-size-lg, 20px);font-weight:var(--tox-private-font-weight-normal,normal);padding:var(--tox-private-pad-sm,8px) 0 var(--tox-private-pad-sm,8px) 0;color:var(--tox-private-text-color,#fff);line-height:28px}.tox .tox-floating-sidebar{--tox-private-floating-sidebar-width:min(380px, 90vw);--tox-private-floating-sidebar-height:80vh;position:fixed;z-index:var(--tox-private-z-index-floatingsidebar,1050);box-shadow:var(--tox-private-floating-sidebar-box-shadow,0 0 40px 1px rgba(42,55,70,.15),0 16px 16px -10px rgba(42,55,70,.15),0 0 0 1px rgba(42,55,70,.15));width:var(--tox-private-floating-sidebar-width);height:var(--tox-private-floating-sidebar-height);background-color:var(--tox-private-floating-sidebar-background-color,#34485f);border-radius:var(--tox-private-panel-border-radius,3px);overflow:hidden}.tox .tox-floating-sidebar:not(.tox .tox-floating-sidebar--open){display:none}.tox .tox-floating-sidebar--open{display:block}.tox .tox-floating-sidebar__content-wrapper{width:100%;height:100%;display:flex;flex-direction:column}.tox .tox-floating-sidebar__header{position:relative}.tox .tox-floating-sidebar .tox-ai__scroll:has(.tox-card-list){background-color:inherit}.tox .tox-ai .tox-expandable-box{margin-bottom:calc(var(--tox-private-pad-md,16px) * .75)}.tox .tox-ai .tox-expandable-box .tox-expandable-box__content{margin:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-md,16px) * .75)}.tox .tox-ai .tox-expandable-box>.tox-button{margin:0 calc(var(--tox-private-pad-md,16px) * .75) var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-expandable-box:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#207ab7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-sidebar-content__header{border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-background-color,#222f3e);padding:calc(var(--tox-private-pad-sm,8px) - var(--tox-private-tinymceai-focus-border-width,2px)) calc(12px - var(--tox-private-tinymceai-focus-border-width,2px));border-bottom:1px solid var(--tox-private-separator-color,#000)}.tox .tox-ai .tox-sidebar-content__header:focus-visible:not(:disabled){border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#207ab7);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-sidebar-content__loader{align-items:center;display:flex;height:100%;justify-content:center;width:100%;z-index:1000}.tox .tox-ai .tox-sidebar-content__title{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin-right:auto}.tox .tox-ai .tox-sidebar-content__title:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#207ab7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-sidebar-content__actions .tox-ai__complete-review{display:flex;align-items:center;gap:6px;padding-top:var(--tox-private-pad-xs,4px);padding-bottom:var(--tox-private-pad-xs,4px);padding-left:var(--tox-private-pad-md,16px);padding-right:var(--tox-private-pad-md,16px)}.tox .tox-ai .tox-menu{width:-webkit-fill-available;width:-moz-available;width:stretch;overflow:visible}.tox .tox-ai .tox-ai__user-prompt{display:flex;flex-direction:column;margin-left:auto;gap:inherit;width:100%}.tox .tox-ai .tox-ai__user-prompt__context{margin-left:auto;display:flex;flex-direction:column;gap:inherit;align-items:end;width:100%}.tox .tox-ai .tox-ai__user-prompt__context .tox-tag{max-width:100%}.tox .tox-ai .tox-ai__user-prompt__text{background-color:var(--tox-private-background-secondary,#2f4055);padding:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-md,16px) * .75);border-radius:var(--tox-private-control-border-radius,3px);max-width:80%;align-self:flex-end;color:var(--tox-private-text-color,#fff);white-space:pre-wrap}.tox .tox-ai .tox-ai__user-prompt__text:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#207ab7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-ai__scroll{overflow-y:auto;overflow-x:hidden;background-color:var(--tox-private-background-color,#222f3e);display:flex;padding:12px;flex-direction:column;align-items:flex-start;gap:12px;flex:1 0 0;align-self:stretch}.tox .tox-ai .tox-ai__scroll:focus-visible:not(:disabled){outline:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#207ab7);outline-offset:calc(-1 * var(--tox-private-tinymceai-focus-border-width,2px));border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-ai__scroll--review:not(:has(.tox-sidebar-content__message-text)){background-color:var(--tox-private-background-secondary,#2f4055)}.tox .tox-ai .tox-ai__spinner svg{fill:var(--tox-private-color-tint,#207ab7)}.tox .tox-ai .tox-ai__response{width:100%;min-width:100%;max-width:100%}.tox .tox-ai .tox-ai__response__header{display:flex;align-items:center;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response__header .tox-icon svg{fill:var(--tox-private-color-tint,#207ab7)}.tox .tox-ai .tox-ai__response-status{display:flex;color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));font-size:var(--tox-private-font-size-sm, 14px);gap:var(--tox-private-pad-xs,4px);line-height:var(--tox-private-tinymceai-response-status-icon-height, max(24px, calc(14px + 4px)));padding-top:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response-status svg{fill:var(--tox-private-text-color-muted,rgba(255,255,255,0.5))}.tox .tox-ai .tox-ai__response-status-icon{border-radius:999px;border:1px solid var(--tox-private-neutral-20,#0e141a);background-color:var(--tox-private-background-color,#222f3e);height:var(--tox-private-tinymceai-response-status-icon-height,max(24px,calc(14px + 4px)));flex:0 0 24px;display:flex;align-items:center;justify-content:center}.tox .tox-ai .tox-ai__response-status-icon .tox-icon{display:contents}.tox .tox-ai .tox-ai__response-status-icon+.tox-ai__response-status-icon{margin-left:calc((var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px)) * -1)}.tox .tox-ai .tox-ai__icon{display:flex;align-items:center;justify-content:center}.tox .tox-ai .tox-ai__response-sources{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response-sources-header{display:block}.tox .tox-ai .tox-ai__response-sources-list{display:flex;align-items:center;gap:var(--tox-private-pad-sm,8px);align-self:stretch;flex-wrap:wrap}.tox .tox-ai .tox-ai__response-sources-list .tox-tag{border:1px solid var(--tox-private-separator-color,#000);background-color:transparent;max-width:32%;max-height:24px;cursor:pointer}.tox .tox-ai .tox-ai__response-sources-list .tox-tag img,.tox .tox-ai .tox-ai__response-sources-list .tox-tag svg{width:16px;height:16px;min-width:16px;min-height:16px;max-width:16px;max-height:16px}.tox .tox-ai .tox-ai__response-content{padding:var(--tox-private-pad-sm,8px) 0;color:var(--tox-private-text-color,#fff);font-feature-settings:'liga' off,'clig' off;font-size:var(--tox-private-font-size-sm, 14px);font-style:normal;font-weight:var(--tox-private-font-weight-normal,normal);line-height:var(--tox-private-line-height, 18px);display:flex;flex-direction:column}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming{position:relative}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming .tox-ai__response-status{color:var(--tox-private-text-color,#fff);font-size:var(--tox-private-font-size-md, 16px);line-height:calc(var(--tox-private-font-size-md, 16px) + 4px)}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming::after{content:'';position:absolute;bottom:0;left:0;right:0;height:min(100px,100%);pointer-events:none;background:linear-gradient(to bottom,transparent 60px,transparent 60px,var(--tox-private-background-color,#222f3e))}.tox .tox-ai .tox-ai-error{border-radius:var(--tox-private-panel-border-radius,3px);border:1px solid var(--tox-private-color-error,#c00);background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#222f3e) r g b / .9) 0,rgba(from var(--tox-private-background-color,#222f3e) r g b / .9) 100%),var(--tox-private-color-error,#c00);padding:var(--tox-private-pad-sm,8px);width:100%;display:flex;gap:var(--tox-private-pad-sm,8px);align-items:center}.tox .tox-ai .tox-ai-error__message{flex:1 0 0}.tox .tox-ai .tox-ai-error__icon{flex:0 0 auto;align-self:flex-start}.tox .tox-ai .tox-ai__footer{padding:calc(12px - var(--tox-private-tinymceai-focus-border-width,2px));gap:var(--tox-private-pad-sm,8px);background-color:var(--tox-private-background-color,#222f3e);display:flex;flex-direction:column;border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-background-color,#222f3e);border-top:1px solid var(--tox-private-separator-color,#000)}.tox .tox-ai .tox-ai__footer:focus-visible:not(:disabled){border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#207ab7);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-ai__context{display:flex;gap:var(--tox-private-pad-sm,8px);flex-wrap:wrap;max-height:calc((2 * (2 * var(--tox-private-pad-xs,4px) + var(--tox-private-base-value,16px))) + var(--tox-private-pad-sm,8px))}.tox .tox-ai .tox-ai__context .tox-tag{max-width:calc((100% - var(--tox-private-pad-sm,8px))/ 2)}.tox .tox-ai .tox-ai__context-more{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px);padding:var(--tox-private-pad-sm,8px);overflow:auto;max-width:var(--tox-private-tinymceai-context-more-max-width,320px)}.tox .tox-ai .tox-ai__context-more .tox-tag{max-width:100%}.tox .tox-ai .tox-ai__stop-generating{display:flex;align-items:center;gap:6px}.tox .tox-ai .tox-ai__footer-actions{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-model-selection-button{display:flex;gap:var(--tox-private-pad-xs,4px)}.tox .tox-ai .tox-ai__footer-note{align-items:center;color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));display:flex;font-size:var(--tox-private-font-size-xs, 12px);height:24px;justify-content:center;letter-spacing:0;padding-top:var(--tox-private-pad-sm,8px);width:100%}.tox .tox-ai .tox-ai__models-menu{max-width:350px}.tox .tox-ai .tox-ai__models-menu .tox-menu{max-height:inherit;padding:var(--tox-private-pad-xs,4px)}.tox .tox-ai .tox-ai__models-menu__item__description{display:flex;flex-direction:column;align-items:start}.tox .tox-ai .tox-ai__models-menu__item__description__title{font-weight:var(--tox-private-font-weight-bold,bold);font-size:var(--tox-private-font-size-sm, 14px);line-height:calc(var(--tox-private-font-size-sm, 14px) * 1.28572);padding-bottom:4px}.tox .tox-ai .tox-ai__models-menu__item__description__content{color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));font-size:var(--tox-private-font-size-xs, 12px);line-height:calc(var(--tox-private-font-size-xs, 12px) * 1.33333)}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content{color:inherit}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content .tox-ai__models-menu__item__description__ability{color:var(--tox-private-color-white,#fff)}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content .tox-ai__models-menu__item__description__content_body{color:rgba(from var(--tox-private-color-white,#fff) r g b / .7)}.tox .tox-ai .tox-ai__models-menu__item__description__ability{color:var(--tox-private-text-color,#fff);padding-bottom:4px}.tox .tox-ai .tox-ai__models-menu__item__description__ability__enabled{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-ai .tox-ai-chat-history-list{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px);padding-top:var(--tox-private-pad-xs,4px);width:100%}.tox .tox-ai .tox-ai-chat-history-list .tox-collection__group{gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-chat-history-list__title{color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:18px;letter-spacing:1px}.tox .tox-ai .tox-ai-chat-history-list__item{display:flex;padding:12px;gap:var(--tox-private-pad-sm,8px);border-radius:var(--tox-private-control-border-radius,3px);cursor:pointer}.tox .tox-ai .tox-ai-chat-history-list__item.tox-ai-chat-history-list__item--active{background-color:var(--tox-private-background-secondary,#2f4055)}.tox .tox-ai .tox-ai-chat-history-list__item:focus,.tox .tox-ai .tox-ai-chat-history-list__item:focus-visible{background-color:var(--tox-private-background-secondary,#2f4055)}.tox .tox-ai .tox-ai-chat-history-list__item.tox-ai-chat-history-list__item-edit-title{background-color:var(--tox-private-background-secondary,#2f4055);flex-direction:column}.tox .tox-ai .tox-ai-chat-history-list__item-edit-actions{display:flex;justify-content:flex-end;width:100%;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-chat-history-list__item-edit-actions .tox-ai__spinner svg{fill:rgba(from var(--tox-private-color-white,#fff) r g b / 0.5)}.tox .tox-ai .tox-ai-chat-history-list__item-content{display:flex;flex-direction:column;margin-right:auto;overflow:hidden}.tox .tox-ai .tox-ai-chat-history-list__item-actions{display:flex;align-items:center;min-width:calc(24px + (var(--tox-private-pad-xs,4px) + 1px)*2)}.tox .tox-ai .tox-ai-chat-history-list__item-content-title{color:var(--tox-private-text-color,#fff);font-size:var(--tox-private-font-size-base, 16px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:var(--tox-private-font-size-lg, 20px);overflow:hidden;text-overflow:ellipsis}.tox .tox-ai .tox-ai-chat-history-list__item-content-date{color:var(--tox-private-text-color,#fff);font-size:var(--tox-private-font-size-xs, 12px);line-height:var(--tox-private-line-height-base, 1.3)}.tox .tox-ai .tox-sidebar-content__message{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;gap:var(--tox-private-pad-md,16px);width:100%}.tox .tox-ai .tox-sidebar-content__message-text{text-align:center;color:var(--tox-private-text-color,#fff);font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:20px}.tox .tox-ai .tox-sidebar-content__message-action{display:flex;justify-content:center;align-items:center;align-self:stretch}.tox .tox-ai .tox-ai-chat-action-button{line-height:var(--tox-private-base-value, 16px);font-size:var(--tox-private-font-size-xs, 12px);padding:6px var(--tox-private-pad-sm,8px);margin:var(--tox-private-pad-xs,4px) 0;font-weight:var(--tox-private-font-weight-normal,normal);width:min-content}.tox .tox-ai .tox-ai-chat-action-button .tox-icon{display:inline-flex;align-items:center;justify-content:center;height:16px;width:16px;overflow:hidden}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg{display:block;flex:none;fill:var(--tox-private-tinymceai-chat-action-button-icon-color,#fff)}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='24'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='24px']{transform:scale(calc(16 / 24))}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='20'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='20px']{transform:scale(calc(16 / 20))}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='18'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='18px']{transform:scale(calc(16 / 18))}.tox .tox-ai .tox-ai-chat-action-button:not(:has(+ .tox-ai-chat-action-button)){margin-bottom:var(--tox-private-pad-sm,8px)}.tox .tox-ai-removed-content{font-style:italic;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));line-height:var(--tox-private-line-height-base, 1.3);margin:0 1em}.tox .tox-ai-removed-content::before{content:"⊘ ";font-style:normal;font-size:calc(var(--tox-private-line-height-base, 1.3) * 1em)}.tox .tox-ai-html-content{font-size:var(--tox-private-font-size-md, 16px);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color,#fff);line-height:var(--tox-private-line-height-base, 1.3);overflow-x:auto}.tox .tox-ai-html-content:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#207ab7);outline-offset:var(--tox-private-tinymceai-html-content-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai-html-content h1{font-size:1.6em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.67em 0}.tox .tox-ai-html-content h2{font-size:1.4em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.83em 0}.tox .tox-ai-html-content h3{font-size:1.2em;font-weight:var(--tox-private-font-weight-bold,bold);margin:1em 0}.tox .tox-ai-html-content h4,.tox .tox-ai-html-content h5,.tox .tox-ai-html-content h6{font-size:1em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.33em 0}.tox .tox-ai-html-content p{margin:var(--tox-private-pad-sm,8px) 0}.tox .tox-ai-html-content ol,.tox .tox-ai-html-content ul{padding-left:2em;margin:1em 0}.tox .tox-ai-html-content li:has(input:first-child){list-style-type:none}.tox .tox-ai-html-content a{color:var(--tox-private-color-tint,#207ab7);-webkit-text-decoration:underline;text-decoration:underline;cursor:pointer}.tox .tox-ai-html-content a:link:active,.tox .tox-ai-html-content a:visited:active{color:#8864ad}.tox .tox-ai-html-content blockquote{border-left:2px solid var(--tox-private-separator-color,#000);margin-left:1.5rem;padding-left:1rem;font-style:italic}.tox .tox-ai-html-content code{font-family:ui-monospace,monospace;background:var(--tox-private-separator-color,#000);padding:.1em .2em;border-radius:4px}.tox .tox-ai-html-content pre code{display:block;font-family:ui-monospace,monospace;background:var(--tox-private-separator-color,#000);border-radius:4px;white-space:pre-wrap;margin:1em 0;overflow-wrap:break-word}.tox .tox-ai-html-content hr{border:none;border-top:1px solid var(--tox-private-border-color,#000)}.tox .tox-ai-html-content table{width:100%;border-collapse:collapse;margin:.5em 0;font-size:.95em;line-height:1.45}.tox .tox-ai-html-content table:not([cellpadding]) td,.tox .tox-ai-html-content table:not([cellpadding]) th{padding:.4rem}.tox .tox-ai-html-content td,.tox .tox-ai-html-content th{border:1px solid var(--tox-private-border-color,#000)}.tox .tox-ai-html-content th{font-weight:var(--tox-private-font-weight-bold,bold);text-align:left;white-space:nowrap}.tox .tox-ai-html-content b,.tox .tox-ai-html-content strong{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-ai-html-content em,.tox .tox-ai-html-content i{font-style:italic}.tox .tox-ai-html-content del{-webkit-text-decoration:line-through;text-decoration:line-through}.tox .tox-ai-html-content sub,.tox .tox-ai-html-content sup{font-size:.75em;line-height:0;vertical-align:baseline}.tox .tox-ai-html-content sup{vertical-align:super}.tox .tox-ai-html-content sub{vertical-align:sub}.tox .tox-ai-html-content mark{background:hsl(from var(--tox-private-color-active,#ffcf30) h s l / 30%);padding:.05em .2em;border-radius:2px}.tox .tox-ai-html-content small{font-size:.85em}.tox .tox-ai-html-content kbd{font-family:ui-monospace,monospace;font-size:.85em;padding:.15em .4em;border-radius:4px;border:1px solid var(--tox-private-border-color,#000);background:var(--tox-private-separator-color,#000);box-shadow:inset 0 -1px 0 var(--tox-private-border-color,#000)}.tox .tox-ai-html-content img{max-width:100%;height:auto;vertical-align:middle;border-radius:4px}.tox .tox-expandable-box__content .tox-ai-html-content+.tox-ai-html-content::before,.tox .tox-expandable-box__content .tox-ai-html-content:has(+ .tox-ai-removed-content)::after,.tox .tox-expandable-box__content .tox-ai-removed-content+.tox-ai-html-content::before{content:"〰〰";color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));text-align:center;width:100%;display:block}.tox .tox-diff-preview{display:contents}.tox .tox-diff-preview__host{height:100%;position:relative;flex:1 1 0}.tox .tox-diff-preview__host:empty{pointer-events:none}.tox .tox-diff-preview__layer{display:flex;flex-direction:column;inset:0;position:absolute}.tox .tox-diff-preview__layer--loading .tox-diff-preview__frame{pointer-events:none;visibility:hidden}.tox .tox-diff-preview__viewport{flex:1 1 auto;min-height:0;position:relative}.tox .tox-diff-preview__frame{background-color:#fff;border:0;height:100%;min-height:0;position:relative;width:100%}.tox .tox-diff-preview__footer{background-color:var(--tox-private-background-color,#222f3e);border-top:1px solid #364a62;flex:0 0 auto}.tox .tox-diff-preview__toolbar{display:flex;gap:8px;justify-content:flex-end;padding:12px 16px}.tox .tox-ai__preview-overlay{position:absolute;inset:0;width:100%;height:100%;font-size:14px}.tox .tox-ai__preview-overlay--hidden{visibility:hidden}.tox .tox-ai__preview-overlay--pass-through{pointer-events:none}.tox .tox-ai__preview-overlay--dim{background:rgba(42,55,70,.2)}.tox .tox-ai__preview-overlay--centered{display:flex;align-items:center;justify-content:center}.tox .tox-ai__preview-overlay--clipped{overflow:clip}.tox .tox-tinymceai-previewloader{display:flex;align-items:center;gap:var(--tox-private-pad-md,16px);padding:var(--tox-private-pad-sm,8px);border-radius:var(--tox-private-panel-border-radius,3px);box-shadow:var(--tox-private-ai-preview-loader-box-shadow,0 0 40px 1px rgba(42,55,70,.15),0 16px 16px -10px rgba(42,55,70,.15));background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color,#fff);pointer-events:auto}.tox .tox-tinymceai-previewloader__content{display:flex;align-items:center;justify-content:center;padding:0 var(--tox-private-pad-xs,4px);gap:var(--tox-private-pad-sm,8px)}.tox .tox-selector{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;display:inline-block;height:10px;position:absolute;width:10px}.tox.tox-platform-touch .tox-selector{height:12px;width:12px}.tox .tox-skeleton .tox-skeleton__line{height:16px;width:100%;background:linear-gradient(to right,rgba(240,240,240,.5) 8%,rgba(240,240,240,.7) 18%,rgba(240,240,240,.5) 33%);animation:wave 2s infinite ease-out}.tox .tox-skeleton .tox-skeleton__circle{height:36px;width:36px;margin-right:8px;border-radius:100%;background:linear-gradient(to right,rgba(240,240,240,.5) 8%,rgba(240,240,240,.7) 18%,rgba(240,240,240,.5) 33%);animation:wave 2s infinite ease-out}@keyframes wave{0%{background-position:-268px 0}100%{background-position:268px 0}}.tox .tox-slider{align-items:center;display:flex;flex:1;height:24px;justify-content:center;position:relative}.tox .tox-slider__rail{background-color:transparent;border:1px solid #000;border-radius:3px;height:10px;min-width:120px;width:100%}.tox .tox-slider__handle{background-color:#207ab7;border:2px solid #185d8c;border-radius:3px;box-shadow:none;height:24px;left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%);width:14px}.tox .tox-form__controls-h-stack>.tox-slider:not(:first-of-type){margin-inline-start:8px}.tox .tox-form__controls-h-stack>.tox-form__group+.tox-slider{margin-inline-start:32px}.tox .tox-form__controls-h-stack>.tox-slider+.tox-form__group{margin-inline-start:32px}.tox .tox-toolbar-slider{align-items:center;display:inline-flex;height:16px}.tox .tox-toolbar-slider__input{appearance:none;background:#000;border-radius:16px;width:130px;height:2px}.tox .tox-toolbar-slider__input::-webkit-slider-runnable-track{background-color:transparent;height:16px}.tox .tox-toolbar-slider__input::-moz-range-track{background-color:transparent;height:16px}.tox .tox-toolbar-slider__input::-webkit-slider-thumb{-webkit-appearance:none;background-color:#207ab7;border-radius:16px;border:none;height:16px;width:16px}.tox .tox-toolbar-slider__input::-moz-range-thumb{appearance:none;background-color:#207ab7;border-radius:16px;border:none;height:16px;width:16px}.tox .tox-toolbar-slider__input:focus-visible{outline:0}.tox .tox-toolbar-slider__input:focus::-webkit-slider-thumb{background-color:#1c6ca1;box-shadow:inset 0 0 0 1px #fff,0 0 0 2px #207ab7}.tox .tox-toolbar-slider__input:focus::-moz-range-thumb{background-color:#1c6ca1;box-shadow:inset 0 0 0 1px #fff,0 0 0 2px #207ab7}.tox .tox-toolbar-slider__input:hover::-webkit-slider-thumb{background-color:#1c6ca1}.tox .tox-toolbar-slider__input:hover::-moz-range-thumb{background-color:#1c6ca1}.tox .tox-toolbar-slider__input:active::-webkit-slider-thumb{background-color:#185d8c}.tox .tox-toolbar-slider__input:active::-moz-range-thumb{background-color:#185d8c}.tox .tox-toolbar-slider__input[disabled]::-webkit-slider-thumb{background-color:rgba(255,255,255,.5)}.tox .tox-toolbar-slider__input[disabled]::-moz-range-thumb{background-color:rgba(255,255,255,.5)}.tox .tox-source-code{overflow:auto}.tox .tox-spinner{display:flex}.tox .tox-spinner>div{animation:tam-bouncing-dots 1.5s ease-in-out 0s infinite both;background-color:rgba(255,255,255,.5);border-radius:100%;height:8px;width:8px}.tox .tox-spinner>div:first-child{animation-delay:-.32s}.tox .tox-spinner>div:nth-child(2){animation-delay:-.16s}@keyframes tam-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox:not([dir=rtl]) .tox-spinner>div:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-spinner>div:not(:first-child){margin-right:4px}.tox .tox-ai__spinner{--tox-private-spinner-color:var(--tox-private-color-tint, #207ab7);--tox-private-spinner-size:24px;--tox-private-spinner-circle-width:3px;--tox-private-spinner-dot-size:6px;width:var(--tox-private-spinner-size);aspect-ratio:1/1}.tox .tox-ai__spinner--small{--tox-private-spinner-size:16px;--tox-private-spinner-circle-width:2px;--tox-private-spinner-dot-size:4px}.tox .tox-ai__spinner--circle{animation:tox-rotation 1s linear infinite;border-radius:50%;background:conic-gradient(var(--tox-private-spinner-color) 0 calc(360deg - 30deg),transparent calc(360deg - 30deg) 100%);mask:radial-gradient(calc((var(--tox-private-spinner-size) - var(--tox-private-spinner-circle-width) * 2)/ 2),#0000 98%,#000)}.tox .tox-ai__spinner--dots{display:flex;align-items:center;justify-content:center;gap:1px}.tox .tox-ai__spinner--dots>div{animation:tox-bouncing-dots 1.5s ease-in-out 0s infinite both;aspect-ratio:1/1;width:var(--tox-private-spinner-dot-size);background-color:var(--tox-private-spinner-color);border-radius:100%}.tox .tox-ai__spinner--dots>div:first-child{animation-delay:-.32s}.tox .tox-ai__spinner--dots>div:nth-child(2){animation-delay:-.16s}.tox .tox-tinymceai__annotation--added,.tox .tox-tinymceai__annotation--modified,.tox .tox-tinymceai__annotation--removed{padding-block:calc((1lh - 1.1em)/ 2);-webkit-text-decoration:none;text-decoration:none;background-repeat:no-repeat;text-decoration-thickness:max(1px,0.07em)}.tox .tox-tinymceai__annotation--added__highlight{background-position:bottom;background-image:linear-gradient(rgba(120,171,70,.2) calc(100% - 2px),#78ab46 calc(100% - 2px))}.tox .tox-tinymceai__annotation--added__selected{background-image:none;background-color:rgba(120,171,70,.2);box-shadow:0 2px 0 0 #207ab7,0 -2px 0 0 #207ab7}.tox .tox-tinymceai__annotation--modified__highlight{background-position:bottom;background-image:linear-gradient(rgba(32,122,183,.2) calc(100% - 2px),#207ab7 calc(100% - 2px))}.tox .tox-tinymceai__annotation--modified__selected{background-image:none;background-color:rgba(32,122,183,.2);box-shadow:0 2px 0 0 #207ab7,0 -2px 0 0 #207ab7}.tox .tox-tinymceai__annotation--removed__highlight{-webkit-text-decoration:line-through;text-decoration:line-through;background-position:bottom;background-image:linear-gradient(rgba(204,0,0,.2) calc(100% - 2px),#c00 calc(100% - 2px))}.tox .tox-tinymceai__annotation--removed__selected{-webkit-text-decoration:line-through;text-decoration:line-through;background-image:none;background-color:rgba(204,0,0,.2);box-shadow:0 2px 0 0 #207ab7,0 -2px 0 0 #207ab7}.tox .mce-object.tox-tinymceai__annotation--added,.tox .mce-object.tox-tinymceai__annotation--modified,.tox .mce-object.tox-tinymceai__annotation--removed,.tox .mce-preview-object.tox-tinymceai__annotation--added,.tox .mce-preview-object.tox-tinymceai__annotation--modified,.tox .mce-preview-object.tox-tinymceai__annotation--removed,.tox iframe.tox-tinymceai__annotation--added,.tox iframe.tox-tinymceai__annotation--modified,.tox iframe.tox-tinymceai__annotation--removed,.tox img.tox-tinymceai__annotation--added,.tox img.tox-tinymceai__annotation--modified,.tox img.tox-tinymceai__annotation--removed,.tox video.tox-tinymceai__annotation--added,.tox video.tox-tinymceai__annotation--modified,.tox video.tox-tinymceai__annotation--removed{padding-block:0;vertical-align:top}.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object),.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object),.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object){padding-block:0}.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) video,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) video,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) video{vertical-align:top}.tox del.tox-tinymceai__annotation--added__selected,.tox ins.tox-tinymceai__annotation--added__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#207ab7 3px,rgba(120,171,70,.2) 3px,rgba(120,171,70,.2) calc(100% - 3px),#207ab7 calc(100% - 3px))}.tox del.tox-tinymceai__annotation--modified__selected,.tox ins.tox-tinymceai__annotation--modified__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#207ab7 3px,rgba(32,122,183,.2) 3px,rgba(32,122,183,.2) calc(100% - 3px),#207ab7 calc(100% - 3px))}.tox del.tox-tinymceai__annotation--removed__selected,.tox ins.tox-tinymceai__annotation--removed__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#207ab7 3px,rgba(204,0,0,.2) 3px,rgba(204,0,0,.2) calc(100% - 3px),#207ab7 calc(100% - 3px))}.tox .tox-tinymceai__annotation--added.tox-tinymceai__annotation--added__hidden,.tox .tox-tinymceai__annotation--modified.tox-tinymceai__annotation--modified__hidden,.tox .tox-tinymceai__annotation--removed.tox-tinymceai__annotation--removed__hidden{display:none;-webkit-text-decoration:none;text-decoration:none}.tox :has(> div > iframe).tox-tinymceai__annotation--added,.tox :has(> div > iframe).tox-tinymceai__annotation--modified,.tox :has(> div > iframe).tox-tinymceai__annotation--removed{padding:7px;margin:5px}.tox iframe.tox-tinymceai__annotation--added__highlight,.tox img.tox-tinymceai__annotation--added__highlight,.tox video.tox-tinymceai__annotation--added__highlight{background-color:#334840;background-image:none;border:2px solid #78ab46;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--added__selected,.tox img.tox-tinymceai__annotation--added__selected,.tox video.tox-tinymceai__annotation--added__selected{background-color:#334840;background-image:none;border:2px solid #78ab46;padding:0;vertical-align:top;border-color:#334840;outline:2px solid #207ab7}.tox iframe.tox-tinymceai__annotation--modified__highlight,.tox img.tox-tinymceai__annotation--modified__highlight,.tox video.tox-tinymceai__annotation--modified__highlight{background-color:#223e56;background-image:none;border:2px solid #207ab7;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--modified__selected,.tox img.tox-tinymceai__annotation--modified__selected,.tox video.tox-tinymceai__annotation--modified__selected{background-color:#223e56;background-image:none;border:2px solid #207ab7;padding:0;vertical-align:top;border-color:#223e56;outline:2px solid #207ab7}.tox iframe.tox-tinymceai__annotation--removed__highlight,.tox img.tox-tinymceai__annotation--removed__highlight,.tox video.tox-tinymceai__annotation--removed__highlight{background-color:#442632;background-image:none;border:2px solid #c00;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--removed__selected,.tox img.tox-tinymceai__annotation--removed__selected,.tox video.tox-tinymceai__annotation--removed__selected{background-color:#442632;background-image:none;border:2px solid #c00;padding:0;vertical-align:top;border-color:#442632;outline:2px solid #207ab7}.tox .tox-tinymceai__annotation--removed__highlight iframe,.tox .tox-tinymceai__annotation--removed__highlight img,.tox .tox-tinymceai__annotation--removed__highlight video,.tox .tox-tinymceai__annotation--removed__selected iframe,.tox .tox-tinymceai__annotation--removed__selected img,.tox .tox-tinymceai__annotation--removed__selected video{background-color:#442632;background-image:none;border:2px solid #c00;padding:0;vertical-align:top}.tox .tox-tinymceai__annotation--removed__selected iframe,.tox .tox-tinymceai__annotation--removed__selected img,.tox .tox-tinymceai__annotation--removed__selected video{border-color:#442632;outline:2px solid #207ab7}.tox div.tox-tinymceai__annotation:has(> hr){background-size:auto;padding:.25em}.tox div.tox-tinymceai__annotation--removed__highlight>hr{border-color:rgba(0,0,0,.2)}.tox div.tox-tinymceai__annotation--added__highlight>hr{border-color:rgba(0,0,0,.2)}.tox .tox-tinymceai__deleted-media-overlay{inset:0;overflow:hidden;pointer-events:none;position:absolute;z-index:11}.tox .tox-tinymceai__deleted-media-wash{fill:#222f3e;fill-opacity:0.4}.tox .tox-tinymceai__deleted-media-mark{stroke:#c00}.tox .tox-tinymceai__deleted-media-halo{stroke:#fff}.tox .mce-pagebreak.tox-tinymceai__annotation--added__selected,.tox .mce-pagebreak.tox-tinymceai__annotation--modified__selected,.tox .mce-pagebreak.tox-tinymceai__annotation--removed__selected{border:1px dashed #aaa;box-shadow:none;background-image:none}.tox .mce-pagebreak.tox-tinymceai__annotation--added__highlight,.tox .mce-pagebreak.tox-tinymceai__annotation--modified__highlight,.tox .mce-pagebreak.tox-tinymceai__annotation--removed__highlight{padding:0}.tox .tox-tinymceai__diff-focus-overlay{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:10}.tox .tox-tinymceai__diff-focus-overlay-dim{fill:rgba(42,55,70,0.2)}.tox .tox-ai__scroll:has(.tox-card-group){padding-top:0}.tox .tox-ai__scroll:has(.tox-card-group) .tox-ai__review-sidebar-container .tox-card-list{gap:0}.tox .tox-ai__scroll .tox-ai__review-sidebar-container{scrollbar-gutter:stable;width:100%;height:100%;display:flex;flex-direction:column;gap:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-card-list{gap:8px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-card-group__title{margin-inline:-12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-initializing{padding:var(--tox-private-pad-md,16px)}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-description{padding-bottom:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));font-size:var(--tox-private-font-size-sm, 14px)}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-choose-container{padding-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-custom-input{margin-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-custom-actions{display:flex;gap:8px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container{margin-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container button.tox-ai__review-input-button{width:100%;background-color:var(--tox-private-background-color,#222f3e);display:flex;justify-content:space-between;align-items:center;border:1px solid #000;border-radius:3px;box-sizing:border-box}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container .tox-ai__review-dropdown-content{width:anchor-size(width)}.tox .tox-statusbar{align-items:center;background-color:#222f3e;border-top:1px solid #000;color:#fff;display:flex;flex:0 0 auto;font-size:12px;font-weight:400;height:18px;overflow:hidden;padding:0 8px;position:relative;text-transform:uppercase}.tox .tox-statusbar__path{display:flex;flex:1 1 auto;text-overflow:ellipsis;white-space:nowrap}.tox .tox-statusbar__right-container{display:flex;justify-content:flex-end;white-space:nowrap}.tox .tox-statusbar__help-text{text-align:center}.tox .tox-statusbar__text-container{align-items:flex-start;display:flex;flex:1 1 auto;height:16px;justify-content:space-between}@media only screen and (min-width:768px){.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__help-text,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__path,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__right-container{flex:0 0 calc(100% / 3)}}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-end{justify-content:flex-end}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-start{justify-content:flex-start}.tox .tox-statusbar__text-container.tox-statusbar__text-container--space-around{justify-content:space-around}.tox .tox-statusbar__path>*{display:inline;white-space:nowrap}.tox .tox-statusbar__wordcount{flex:0 0 auto;margin-left:1ch}@media only screen and (max-width:767px){.tox .tox-statusbar__text-container .tox-statusbar__help-text{display:none}.tox .tox-statusbar__text-container .tox-statusbar__help-text:only-child{display:block}}.tox .tox-statusbar a,.tox .tox-statusbar__path-item,.tox .tox-statusbar__wordcount{color:#fff;position:relative;-webkit-text-decoration:none;text-decoration:none}.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]){color:#fff;cursor:pointer}.tox .tox-statusbar a:focus-visible::after,.tox .tox-statusbar__path-item:focus-visible::after,.tox .tox-statusbar__wordcount:focus-visible::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-statusbar a:focus-visible::after,.tox .tox-statusbar__path-item:focus-visible::after,.tox .tox-statusbar__wordcount:focus-visible::after{border:2px solid highlight}}.tox .tox-statusbar__branding svg{fill:rgba(255,255,255,0.8);height:1em;margin-left:.3em;width:auto}@media (forced-colors:active){.tox .tox-statusbar__branding svg{fill:currentColor}}.tox .tox-statusbar__branding a{align-items:center;display:inline-flex}.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg,.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg{fill:#fff}.tox .tox-statusbar__resize-cursor-default{cursor:ns-resize}.tox .tox-statusbar__resize-cursor-both{cursor:nwse-resize}.tox .tox-statusbar__resize-handle{align-items:flex-end;align-self:stretch;display:flex;flex:0 0 auto;justify-content:flex-end;margin-bottom:3px;margin-left:4px;margin-right:calc(3px - 8px);margin-top:3px;padding-bottom:0;padding-left:0;padding-right:0;position:relative}.tox .tox-statusbar__resize-handle svg{display:block;fill:rgba(255,255,255,0.5)}.tox .tox-statusbar__resize-handle:focus svg,.tox .tox-statusbar__resize-handle:hover svg{fill:#fff}.tox .tox-statusbar__resize-handle:focus-visible{background-color:transparent;border-radius:1px 1px -4px 1px;box-shadow:0 0 0 2px transparent}.tox .tox-statusbar__resize-handle:focus-visible::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-statusbar__resize-handle:focus-visible::after{border:2px solid highlight}}.tox .tox-statusbar__resize-handle:only-child{margin-left:auto}.tox:not([dir=rtl]) .tox-statusbar__path>*{margin-right:4px}.tox:not([dir=rtl]) .tox-statusbar__branding{margin-left:2ch}.tox[dir=rtl] .tox-statusbar{flex-direction:row-reverse}.tox[dir=rtl] .tox-statusbar__path>*{margin-left:4px}.tox[dir=rtl] .tox-statusbar__branding svg{margin-left:0;margin-right:.3em}.tox a.tox-tag{cursor:pointer}.tox .tox-tag{width:fit-content;box-sizing:border-box;display:flex;padding:var(--tox-private-pad-xs,4px) 6px;position:relative;align-items:center;gap:var(--tox-private-pad-xs,4px);border-radius:3px;background:hsl(from var(--tox-private-color-tint,#207ab7) h s l / 10%);line-height:var(--tox-private-base-value, 16px);font-size:var(--tox-private-font-size-xs, 12px)}.tox .tox-tag::before{border-radius:var(--tox-private-control-border-radius,3px);bottom:calc(-1 * var(--tox-private-tag-border-width,1px));box-shadow:var(--tox-private-tag-focus-outline,inset 0 0 0 1px #fff,0 0 0 2px #207ab7);content:'';left:calc(-1 * var(--tox-private-tag-border-width,1px));opacity:0;pointer-events:none;position:absolute;right:calc(-1 * var(--tox-private-tag-border-width,1px));top:calc(-1 * var(--tox-private-tag-border-width,1px))}.tox .tox-tag:focus:not(:disabled)::before{opacity:1}.tox .tox-tag>*{flex-shrink:0}.tox .tox-tag .tox-icon{height:var(--tox-private-base-value,16px);fill:var(--tox-private-text-color,#fff)}.tox .tox-tag .tox-tag__label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;flex-shrink:1;color:var(--tox-private-text-color,#fff)}.tox .tox-tag .tox-tag__close{height:var(--tox-private-base-value,16px)}.tox .tox-tag .tox-tag__close .tox-button.tox-button--icon{border:0;padding:0;color:var(--tox-private-text-color-muted,rgba(255,255,255,.5))}.tox .tox-tag .tox-tag__close .tox-button.tox-button--icon::before{box-shadow:none}.tox .tox-throbber{z-index:1299}.tox .tox-throbber__busy-spinner{align-items:center;background-color:rgba(34,47,62,.6);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.tox .tox-segmented-control{display:inline-flex;position:relative;border:none;border-radius:var(--tox-private-control-border-radius,3px);box-shadow:inset 0 0 0 1px var(--tox-private-segmented-control-border-color,#364a62);overflow:hidden;padding:var(--tox-private-pad-xs,4px);background-color:var(--tox-private-background-color,#222f3e)}.tox .tox-segmented-control__segment{flex:1;padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-sm,8px);cursor:pointer;background:0 0;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:16px;border:1px solid transparent;border-radius:calc(var(--tox-private-control-border-radius,3px) - 1px);text-align:center;white-space:nowrap;display:inline-block;vertical-align:middle;color:var(--tox-private-segmented-control-text-color,#fff)}.tox .tox-segmented-control__segment--active{border-color:var(--tox-private-segmented-control-active-border-color,#207ab7);color:var(--tox-private-segmented-control-active-text-color,#207ab7);background-color:var(--tox-private-segmented-control-active-bg-color,rgba(32,122,183,.1))}.tox .tox-segmented-control:not(.tox-segmented-control--disabled) .tox-segmented-control__segment{transition:all .2s}.tox .tox-segmented-control.tox-segmented-control--disabled .tox-segmented-control__segment{opacity:.5;cursor:not-allowed;pointer-events:none}.tox .tox-segmented-control__segment:focus{outline:2px solid var(--tox-private-color-tint,#207ab7);outline-offset:2px}.tox .tox-segmented-control__segment:focus:not(:focus-visible){outline:0}.tox .tox-toggle{display:flex;align-items:center;gap:var(--tox-private-pad-xs,4px);padding:var(--tox-private-pad-xs,4px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:var(--tox-private-control-line-height, 24px);white-space:nowrap;background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color,#fff)}.tox .tox-toggle input{position:absolute;opacity:0;width:0;height:0}.tox .tox-toggle__slider{position:relative;cursor:pointer;box-sizing:border-box;transition:.4s;border-radius:34px;width:28px;height:16px;background-color:var(--tox-private-slider-background-color,#222f3e);border:1px solid var(--tox-private-slider-border-color,rgba(255,255,255,.15))}.tox .tox-toggle__slider::before{position:absolute;content:"";height:12px;width:12px;left:1px;bottom:1px;transition:.4s;border-radius:50%;background-color:var(--tox-private-slider-handle-background-color,#fff)}.tox input:checked+.tox-toggle__slider{background-color:var(--tox-private-slider-checked-background-color,#207ab7);border:1px solid var(--tox-private-slider-checked-border-color,#207ab7)}.tox input:focus+.tox-toggle__slider{box-shadow:0 0 0 1px var(--tox-private-color-white,#fff),0 0 0 2px var(--tox-private-color-tint,#207ab7)}.tox input:checked+.tox-toggle__slider::before{transform:translateX(12px);background-color:var(--tox-private-slider-checked-handle-background-color,#fff)}.tox input:disabled+.tox-toggle__slider::before{opacity:50%}.tox .tox-tbtn{align-items:center;background:#222f3e;border:0;border-radius:3px;box-shadow:none;color:#fff;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:34px;justify-content:center;margin:3px 0 2px 0;outline:0;padding:0;text-transform:none;width:34px}.tox .tox-tbtn .tox-tbtn__icon-wrap{pointer-events:none}@media (forced-colors:active){.tox .tox-tbtn.tox-tbtn:hover,.tox .tox-tbtn:hover{outline:1px dashed currentColor}.tox .tox-tbtn.tox-tbtn--active,.tox .tox-tbtn.tox-tbtn--enabled,.tox .tox-tbtn.tox-tbtn--enabled:focus,.tox .tox-tbtn.tox-tbtn--enabled:hover,.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){outline:1px solid currentColor;position:relative}}.tox .tox-tbtn svg{display:block;fill:#fff}@media (forced-colors:active){.tox .tox-tbtn svg{fill:currentColor!important}.tox .tox-tbtn svg.tox-tbtn--enabled,.tox .tox-tbtn svg:focus:not(.tox-tbtn--disabled){fill:currentColor!important}.tox .tox-tbtn svg .tox-tbtn:disabled,.tox .tox-tbtn svg .tox-tbtn:disabled:hover,.tox .tox-tbtn svg.tox-tbtn--disabled,.tox .tox-tbtn svg.tox-tbtn--disabled:hover{filter:contrast(0%)}}.tox .tox-tbtn.tox-tbtn-more{padding-left:5px;padding-right:5px;width:inherit}.tox .tox-tbtn:focus{background:#4a5562;border:0;box-shadow:none;position:relative;z-index:1}.tox .tox-tbtn:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-tbtn:focus::after{border:2px solid highlight}}.tox .tox-tbtn:hover{background:#4a5562;border:0;box-shadow:none;color:#fff}.tox .tox-tbtn:hover svg{fill:#fff}.tox .tox-tbtn:active{background:#757d87;border:0;box-shadow:none;color:#fff}.tox .tox-tbtn:active svg{fill:#fff}.tox .tox-tbtn--disabled .tox-tbtn--enabled svg{fill:rgba(255,255,255,0.5)}.tox .tox-tbtn--disabled,.tox .tox-tbtn--disabled:hover,.tox .tox-tbtn:disabled,.tox .tox-tbtn:disabled:hover{background:#222f3e;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-tbtn--disabled svg,.tox .tox-tbtn--disabled:hover svg,.tox .tox-tbtn:disabled svg,.tox .tox-tbtn:disabled:hover svg{fill:rgba(255,255,255,0.5)}.tox .tox-tbtn--active,.tox .tox-tbtn--enabled,.tox .tox-tbtn--enabled:focus,.tox .tox-tbtn--enabled:hover{background:#757d87;border:0;box-shadow:none;color:#fff;position:relative}.tox .tox-tbtn--active>*,.tox .tox-tbtn--enabled:focus>*,.tox .tox-tbtn--enabled:hover>*,.tox .tox-tbtn--enabled>*{transform:none}.tox .tox-tbtn--active svg,.tox .tox-tbtn--enabled svg,.tox .tox-tbtn--enabled:focus svg,.tox .tox-tbtn--enabled:hover svg{fill:#fff}.tox .tox-tbtn--active.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled:focus.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled:hover.tox-tbtn--disabled svg{fill:rgba(255,255,255,0.5)}.tox .tox-tbtn--enabled:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-tbtn--enabled:focus::after{border:2px solid highlight}}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){color:#fff}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg{fill:#fff}.tox .tox-tbtn:active>*{transform:none}.tox .tox-tbtn--md{height:51px;width:51px}.tox .tox-tbtn--lg{flex-direction:column;height:68px;width:68px}.tox .tox-tbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tbtn--labeled{padding:0 4px;width:unset}.tox .tox-tbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-label--context-toolbar{margin:6px 1px 5px 0;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-number-input{background:0 0;border-radius:3px;display:flex;margin:3px 0 2px 0;position:relative;width:auto}.tox .tox-number-input:focus{background:#4a5562}.tox .tox-number-input:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input:focus::after{border:2px solid highlight}}.tox .tox-number-input .tox-input-wrapper{display:flex;pointer-events:none;position:relative;text-align:center}.tox .tox-number-input .tox-input-wrapper:focus{background-color:#4a5562;z-index:1}.tox .tox-number-input .tox-input-wrapper:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input .tox-input-wrapper:focus::after{border:2px solid highlight}}.tox .tox-number-input .tox-input-wrapper:has(input:focus)::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input .tox-input-wrapper:has(input:focus)::after{border:2px solid highlight}}.tox .tox-number-input input{border-radius:3px;color:#fff;font-size:14px;margin:2px 0;pointer-events:all;position:relative;width:60px}.tox .tox-number-input input:hover{background:#4a5562;color:#fff}.tox .tox-number-input input:focus{background-color:#4a5562}.tox .tox-number-input input:disabled{background:#222f3e;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-number-input button{color:#fff;height:34px;position:relative;text-align:center;width:24px}@media (forced-colors:active){.tox .tox-number-input button:active,.tox .tox-number-input button:focus,.tox .tox-number-input button:hover{outline:1px solid currentColor!important}}.tox .tox-number-input button svg{display:block;fill:#fff;margin:0 auto;transform:scale(.67)}@media (forced-colors:active){.tox .tox-number-input button svg,.tox .tox-number-input button svg:active,.tox .tox-number-input button svg:hover{fill:currentColor!important}.tox .tox-number-input button svg:disabled{filter:contrast(0)}}.tox .tox-number-input button:focus{background:#4a5562;z-index:1}.tox .tox-number-input button:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input button:focus::after{border:2px solid highlight}}.tox .tox-number-input button:hover{background:#4a5562;border:0;box-shadow:none;color:#fff}.tox .tox-number-input button:hover svg{fill:#fff}.tox .tox-number-input button:active{background:#757d87;border:0;box-shadow:none;color:#fff}.tox .tox-number-input button:active svg{fill:#fff}.tox .tox-number-input button:disabled{background:#222f3e;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-number-input button:disabled svg{fill:rgba(255,255,255,0.5)}.tox .tox-number-input button.minus{border-radius:3px 0 0 3px}.tox .tox-number-input button.plus{border-radius:0 3px 3px 0}.tox .tox-number-input:focus:not(:active)>.tox-input-wrapper,.tox .tox-number-input:focus:not(:active)>button{background:#4a5562}.tox .tox-tbtn--select{margin:3px 0 2px 0;padding:0 4px;width:auto}.tox .tox-tbtn--bordered,.tox .tox-tbtn--bordered:focus,.tox .tox-tbtn--bordered:hover{border:1px solid #000}.tox .tox-tbtn__select-label{cursor:default;font-weight:400;height:initial;margin:0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-tbtn__select-chevron svg{fill:rgba(255,255,255,0.5)}@media (forced-colors:active){.tox .tox-tbtn__select-chevron svg{fill:currentColor}}.tox .tox-tbtn--bespoke{background:0 0}.tox .tox-tbtn--bespoke:focus{background:#4a5562}.tox .tox-tbtn--bespoke+.tox-tbtn--bespoke{margin-inline-start:0}.tox .tox-tbtn--bespoke .tox-tbtn__select-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:7em}.tox .tox-tbtn--disabled .tox-tbtn__select-label,.tox .tox-tbtn--select:disabled .tox-tbtn__select-label{cursor:not-allowed}.tox .tox-split-button__main{border-radius:3px 0 0 3px;margin-right:0}.tox .tox-split-button__main:focus{border:0;box-shadow:none;background:#4a5562;color:#fff;position:relative;z-index:1}.tox .tox-split-button__main:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0;border-radius:3px 0 0 3px}@media (forced-colors:active){.tox .tox-split-button__main:focus::after{border:2px solid highlight}}.tox .tox-split-button__chevron{width:16px;border-radius:0 3px 3px 0;margin-left:0}.tox .tox-split-button__chevron:focus{border:0;box-shadow:none;background:#4a5562;color:#fff;position:relative;z-index:1}.tox .tox-split-button__chevron:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0;border-radius:0 3px 3px 0}@media (forced-colors:active){.tox .tox-split-button__chevron:focus::after{border:2px solid highlight}}.tox .tox-split-button__chevron svg{fill:rgba(255,255,255,0.5)}@media (forced-colors:active){.tox .tox-split-button__chevron svg{fill:currentColor}}.tox.tox-platform-touch .tox-split-button__main{width:30px}.tox.tox-platform-touch .tox-split-button__chevron{width:20px}.tox .tox-split-button__chevron.tox-tbtn--disabled,.tox .tox-split-button__main.tox-tbtn--disabled{background:#222f3e;box-shadow:none;color:rgba(255,255,255,.5)}.tox .tox-split-button__chevron.tox-tbtn--disabled:hover,.tox .tox-split-button__main.tox-tbtn--disabled:hover{background:#222f3e;box-shadow:none;color:rgba(255,255,255,.5)}.tox .tox-split-button__chevron.tox-tbtn--disabled:focus,.tox .tox-split-button__main.tox-tbtn--disabled:focus{background:#222f3e;box-shadow:none;color:rgba(255,255,255,.5)}.tox .tox-split-button__main.tox-tbtn--disabled svg .tox-icon-highlight-bg-color__color,.tox .tox-split-button__main.tox-tbtn--disabled svg .tox-icon-text-color__color{opacity:.3}.tox .tox-toolbar-overlord{background-color:#222f3e}.tox .tox-toolbar,.tox .tox-toolbar__overflow,.tox .tox-toolbar__primary{background-attachment:local;background-color:#222f3e;background-image:repeating-linear-gradient(#000 0 1px,transparent 1px 39px);background-position:center top 39px;background-repeat:no-repeat;background-size:calc(100% - 4px * 2) calc(100% - 39px);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;padding:0 0;transform:perspective(1px)}.tox .tox-toolbar-overlord>.tox-toolbar,.tox .tox-toolbar-overlord>.tox-toolbar__overflow,.tox .tox-toolbar-overlord>.tox-toolbar__primary{background-position:center top 0;background-size:calc(100% - 4px * 2) calc(100% - 0px)}.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed{height:0;opacity:0;padding-bottom:0;padding-top:0;visibility:hidden}.tox .tox-toolbar__overflow--growing{transition:height .3s ease,opacity .2s linear .1s}.tox .tox-toolbar__overflow--shrinking{transition:opacity .3s ease,height .2s linear .1s,visibility 0s linear .3s}.tox .tox-anchorbar,.tox .tox-toolbar-overlord{grid-column:1/-1}.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{border-top:1px solid #000;margin-top:-1px;padding-bottom:0;padding-top:0}@media (forced-colors:active){.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{outline:1px solid currentColor}}.tox .tox-toolbar--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-pop .tox-toolbar{border-width:0}.tox .tox-toolbar--no-divider{background-image:none}.tox .tox-toolbar-overlord .tox-toolbar:not(.tox-toolbar--scrolling):first-child,.tox .tox-toolbar-overlord .tox-toolbar__primary{background-position:center top 39px}.tox .tox-editor-header>.tox-toolbar--scrolling,.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child{background-image:none}.tox .tox-focusable-wrapper{border:1px solid transparent;margin-right:2px;pointer-events:none}.tox .tox-focusable-wrapper .tox-textfield-size{pointer-events:all}.tox .tox-focusable-wrapper:focus{background-color:#4a5562;border-radius:3px;border-style:solid;border-width:1px}.tox.tox-tinymce-aux .tox-toolbar__overflow{background-color:#222f3e;background-position:center top 43px;background-size:calc(100% - 8px * 2) calc(100% - 51px);border:none;border-radius:3px;box-shadow:0 0 2px 0 rgba(42,55,70,.2),0 4px 8px 0 rgba(42,55,70,.15);overscroll-behavior:none;padding:4px 0}@media (forced-colors:active){.tox.tox-tinymce-aux .tox-toolbar__overflow{border:solid}}.tox-pop .tox-pop__dialog .tox-toolbar{background-position:center top 43px;background-size:calc(100% - 4px * 2) calc(100% - 51px);padding:4px 0}.tox-context-form__group{display:flex;align-items:center}.tox .tox-toolbar__group{align-items:center;display:flex;flex-wrap:wrap;margin:0 0;padding:0 4px 0 4px}.tox .tox-toolbar__group--pull-right{margin-left:auto}.tox .tox-toolbar--scrolling .tox-toolbar__group{flex-shrink:0;flex-wrap:nowrap}.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type){border-right:1px solid #000}.tox[dir=rtl] .tox-toolbar__group:not(:last-of-type){border-left:1px solid #000}.tox .tox-toolbar-input-form{display:flex;align-items:center;background-color:var(--tox-private-background-color,#222f3e);padding:0 var(--tox-private-pad-sm,8px)}.tox .tox-tooltip{display:inline-block;max-width:min(80%,15em);padding:8px 0 0 0;position:relative;width:max-content;z-index:1150}.tox .tox-tooltip.tox-tooltip--anchor{display:none;padding:var(--tox-private-pad-xs,4px) 0 0;position:fixed;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;height:fit-content}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--up{position-area:block-end}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--down{position-area:block-start}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--left{position-area:inline-start}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--right{position-area:inline-end}.tox .tox-tooltip__body{background-color:#2a3746;border-radius:3px;box-shadow:none;color:#fff;font-size:12px;font-style:normal;font-weight:600;overflow-wrap:break-word;padding:4px 6px;text-transform:none}@media (forced-colors:active){.tox .tox-tooltip__body{outline:outset 1px}}.tox .tox-tooltip__arrow{position:absolute}.tox .tox-tooltip--down .tox-tooltip__arrow{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #2a3746;bottom:0;left:50%;position:absolute;transform:translateX(-50%)}.tox .tox-tooltip--up .tox-tooltip__arrow{border-bottom:8px solid #2a3746;border-left:8px solid transparent;border-right:8px solid transparent;left:50%;position:absolute;top:0;transform:translateX(-50%)}.tox .tox-tooltip--right .tox-tooltip__arrow{border-bottom:8px solid transparent;border-left:8px solid #2a3746;border-top:8px solid transparent;position:absolute;right:0;top:50%;transform:translateY(-50%)}.tox .tox-tooltip--left .tox-tooltip__arrow{border-bottom:8px solid transparent;border-right:8px solid #2a3746;border-top:8px solid transparent;left:0;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-tree{display:flex;flex-direction:column}.tox .tox-tree .tox-trbtn{align-items:center;background:0 0;border:0;border-radius:4px;box-shadow:none;color:#fff;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;margin-bottom:4px;margin-top:4px;outline:0;overflow:hidden;padding:0;padding-left:8px;text-transform:none}.tox .tox-tree .tox-trbtn .tox-tree__label{cursor:default;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tree .tox-trbtn svg{display:block;fill:#fff}.tox .tox-tree .tox-trbtn:focus{background:#4a5562;border:0;box-shadow:none}.tox .tox-tree .tox-trbtn:hover{background:#4a5562;border:0;box-shadow:none;color:#fff}.tox .tox-tree .tox-trbtn:hover svg{fill:#fff}.tox .tox-tree .tox-trbtn:active{background:#6ea9d0;border:0;box-shadow:none;color:#fff}.tox .tox-tree .tox-trbtn:active svg{fill:#fff}.tox .tox-tree .tox-trbtn--disabled,.tox .tox-tree .tox-trbtn--disabled:hover,.tox .tox-tree .tox-trbtn:disabled,.tox .tox-tree .tox-trbtn:disabled:hover{background:0 0;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-tree .tox-trbtn--disabled svg,.tox .tox-tree .tox-trbtn--disabled:hover svg,.tox .tox-tree .tox-trbtn:disabled svg,.tox .tox-tree .tox-trbtn:disabled:hover svg{fill:rgba(255,255,255,0.5)}.tox .tox-tree .tox-trbtn--enabled,.tox .tox-tree .tox-trbtn--enabled:hover{background:#6ea9d0;border:0;box-shadow:none;color:#fff}.tox .tox-tree .tox-trbtn--enabled:hover>*,.tox .tox-tree .tox-trbtn--enabled>*{transform:none}.tox .tox-tree .tox-trbtn--enabled svg,.tox .tox-tree .tox-trbtn--enabled:hover svg{fill:#fff}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled){color:#fff}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled) svg{fill:#fff}.tox .tox-tree .tox-trbtn:active>*{transform:none}.tox .tox-tree .tox-trbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tree .tox-trbtn--labeled{padding:0 4px;width:unset}.tox .tox-tree .tox-trbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-tree .tox-tree--directory{display:flex;flex-direction:column}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label{font-weight:700}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn:focus svg{fill:#fff}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:focus .tox-mbtn svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover .tox-mbtn svg{fill:#fff}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#fff}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#fff}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-chevron{margin-right:6px}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--shrinking) .tox-chevron{transition:transform .5s ease-in-out}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--open) .tox-chevron{transform:rotate(90deg)}.tox .tox-tree .tox-tree--leaf__label{font-weight:400}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--leaf__label .tox-mbtn:focus svg{fill:#fff}.tox .tox-tree .tox-tree--leaf__label:hover .tox-mbtn svg{fill:#fff}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#fff}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#fff}.tox .tox-tree .tox-icon-custom-state{flex-grow:1;display:flex;justify-content:flex-end}.tox .tox-tree .tox-tree--directory__children{overflow:hidden;padding-left:16px}.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--growing,.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--shrinking{transition:height .5s ease-in-out}.tox .tox-tree .tox-trbtn.tox-tree--leaf__label{display:flex;justify-content:space-between}[data-mce-name=uploadcare-enhance-filter] .color-swatch-remove-color path{fill:#c00;stroke:#c00}.tox .tox-view-wrap,.tox .tox-view-wrap__slot-container{background-color:#222f3e;display:flex;flex:1;flex-direction:column;height:100%;min-height:0}.tox .tox-view{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden;background-color:#222f3e}.tox .tox-view__header{align-items:center;display:flex;font-size:16px;justify-content:space-between;padding:8px;position:relative}.tox .tox-view__label{color:#fff;font-weight:700;line-height:24px;padding:4px 16px;text-align:center;white-space:nowrap}.tox .tox-view__label--normal{font-size:16px}.tox .tox-view__label--large{font-size:20px}.tox .tox-view--mobile.tox-view__header,.tox .tox-view--mobile.tox-view__toolbar{padding:8px}.tox .tox-view--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-view__align-right{margin-left:auto}.tox .tox-view__toolbar{display:flex;flex-direction:row;gap:8px;justify-content:space-between;overflow-x:auto;padding:8px}.tox .tox-view__toolbar__group{display:flex;flex-direction:row;gap:12px}.tox .tox-view__header-end,.tox .tox-view__header-start{display:flex}.tox .tox-view__pane{height:100%;padding:8px;position:relative;width:100%}.tox .tox-view__pane_panel{border:1px solid #000;border-radius:3px}.tox:not([dir=rtl]) .tox-view__header .tox-view__header-end>*,.tox:not([dir=rtl]) .tox-view__header .tox-view__header-start>*{margin-left:8px}.tox[dir=rtl] .tox-view__header .tox-view__header-end>*,.tox[dir=rtl] .tox-view__header .tox-view__header-start>*{margin-right:8px}.tox .tox-well{border:1px solid #000;border-radius:3px;padding:8px;width:100%}.tox .tox-well>:first-child{margin-top:0}.tox .tox-well>:last-child{margin-bottom:0}.tox .tox-well>:only-child{margin:0}.tox .tox-custom-editor{border:1px solid #000;border-radius:3px;display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-view .tox-revisionhistory__pane{padding:0}.tox .tox-revisionhistory__container{display:flex;flex-direction:column;height:100%}.tox .tox-revisionhistory{background-color:#222f3e;border-top:1px solid rgba(255,255,255,.15);display:flex;flex:1;height:100%;overflow-x:auto;overflow-y:hidden;position:relative;width:100%}.tox .tox-revisionhistory__iframe{flex:1}.tox .tox-revisionhistory__sidebar{display:flex;flex-direction:column;height:100%;min-width:248px;width:316px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__sidebar-title{background-color:#222f3e;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);color:#fff;font-size:20px;font-weight:400;line-height:28px;padding:12px;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions{background-color:#2b3b4e;display:flex;flex:1;flex-direction:column;gap:12px;overflow-y:auto;padding:10px 12px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus{height:100%;position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus::after{bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0;border-radius:3px;bottom:1px;left:1px;right:1px;top:1px}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card{background-color:#222f3e;border:1px solid rgba(255,255,255,.15);border-radius:6px;color:#fff;cursor:pointer;display:flex;flex-direction:column;font-size:14px;padding:12px;width:100%}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:hover{box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus{position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent #285ec7;content:'';left:0;position:absolute;right:0;top:0;border-radius:6px;box-shadow:0 0 0 2px #285ec7;box-shadow:0 0 0 2px #285ec7!important}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected{background-color:#1b3b60;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);position:relative}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent #cea215;content:'';left:0;position:absolute;right:0;top:0;border-radius:6px;box-shadow:0 0 0 2px #cea215}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-tags{display:flex;align-items:flex-start;flex-direction:row;gap:8px;overflow-x:auto}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-label{display:block;max-width:min-content;padding:4px 8px;margin-bottom:8px;font-size:12px;font-weight:700;border-radius:4px;background:#555f6b;text-wrap:balance;flex:0 1 auto}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-content{display:flex;flex-direction:row;gap:8px;align-items:center}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution{align-items:center;display:flex}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution .tox-revisionhistory__avatar{position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution .tox-revisionhistory__avatar+.tox-revisionhistory__card-ai-icon{margin-left:-4px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-info{display:flex;flex-direction:column;flex:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-date-label{font-size:14px;font-weight:700;line-height:18px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-author-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:400}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__avatar{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-ai-icon{display:flex;height:36px;width:36px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__norevision{color:rgba(255,255,255,.5);font-size:16px;line-height:24px;padding:5px 5.5px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-check-icon{color:#fff;height:24px}.tox .tox-card{background-color:#222f3e;border-radius:3px;display:flex;flex-direction:column;gap:12px;padding:12px;cursor:pointer;transition:box-shadow .15s ease-in-out,border .15s ease-in-out;border:0 solid transparent}.tox .tox-card:hover{box-shadow:0 4px 8px 0 rgba(42,55,70,.1)}.tox .tox-card--selected{border-color:#207ab7}.tox .tox-card:focus-visible{outline:0 solid transparent;border-color:transparent}.tox .tox-card--has-decision{background-color:#17202a}.tox .tox-card--has-decision:not(.tox-card--selected){border-width:1px;border-color:rgba(255,255,255,.5);padding:11px}.tox .tox-card--has-decision .tox-card__header{font-size:12px}.tox .tox-card--has-decision .tox-card__body{color:rgba(255,255,255,.5)}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline{border-color:#0c1116}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:focus:not(:disabled),.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:hover:not(:disabled){background-color:#0c1116;border-color:#010203}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:active:not(:disabled){background-color:#010203;border-color:#010203}.tox .tox-card__header{padding-bottom:0;color:#fff;font-size:16px;font-weight:700;text-transform:uppercase;display:flex;flex-direction:column;gap:12px}.tox .tox-card__header-label{font-size:12px;font-weight:700;text-transform:uppercase;color:#fff}.tox .tox-card__header-content{flex:1;min-width:0;font-weight:400;text-transform:none}.tox .tox-card__header-actions{display:flex;align-items:center;gap:4px;flex-shrink:0;opacity:1;pointer-events:auto;transition:opacity .15s ease-in-out}.tox .tox-card__header-actions--hover-visible,.tox .tox-card__header-actions--on-focus{opacity:0;pointer-events:none}.tox .tox-card__header-actions--always-visible{opacity:1;pointer-events:auto}.tox .tox-card__header:has(.tox-card__header-actions),.tox .tox-card__header:has(.tox-card__header-content){flex-direction:row;align-items:center}.tox .tox-card__header:has(.tox-card__header-content){justify-content:space-between}.tox .tox-card__header:has(.tox-card__header-actions):not(:has(.tox-card__header-content)){justify-content:flex-end}.tox .tox-card:focus-within .tox-card__header-actions--hover-visible,.tox .tox-card:focus-within .tox-card__header-actions--on-focus,.tox .tox-card:hover .tox-card__header-actions--hover-visible{opacity:1;pointer-events:auto}.tox .tox-card__body{color:#fff;font-size:14px}.tox .tox-card__body .tox-expandable-box{background:0 0;border:none;gap:12px}.tox .tox-card__body .tox-expandable-box .tox-expandable-box__content,.tox .tox-card__body .tox-expandable-box>.tox-button{margin:0}.tox .tox-card__highlight{padding:4px 6px;border-bottom:0 solid #207ab7}.tox .tox-card__highlight--added{background-color:#334840}.tox .tox-card__highlight--deleted{background-color:#442632}.tox .tox-card__highlight--modified{background-color:#223e56}.tox .tox-card__actions{display:flex;gap:8px}.tox .tox-card__actions--space-between{justify-content:space-between}.tox .tox-card__actions--flex-start{justify-content:flex-start}.tox .tox-card__actions .tox-button,.tox .tox-card__actions .tox-button--icon,.tox .tox-card__actions .tox-button:has(.tox-icon:only-child){padding:4px 16px}.tox .tox-card__divider{margin:12px 0;border:none;border-top:1px solid #000}.tox .tox-card__expansion{display:flex;flex-direction:column;gap:12px;width:100%}.tox .tox-card__expansion:has(> .tox-card__expansion-content--collapsed:only-child){margin-block-start:-12px}.tox .tox-card__expansion-content{display:grid;font-size:14px;grid-template-rows:0fr;transition:grid-template-rows .2s ease-in-out}.tox .tox-card__expansion-content--expanded{grid-template-rows:1fr}.tox .tox-card__expansion-content--expanded>.tox-card__expansion-content-inner{min-height:auto;overflow:visible}.tox .tox-card__expansion-content--collapsed{grid-template-rows:0fr}.tox .tox-card__expansion-content-inner{min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:12px}.tox .tox-card.tox-skeleton{cursor:default;pointer-events:none;box-shadow:none}.tox .tox-card.tox-skeleton:hover{box-shadow:none}.tox .tox-card.tox-skeleton .tox-skeleton__line{border-radius:3px;margin:0}.tox .tox-card.tox-skeleton .tox-card__body{display:flex;flex-direction:column;gap:4px}.tox .tox-card-list{display:flex;flex-direction:column;gap:12px}.tox .tox-card-list:has(.tox-card-group){gap:0}.tox .tox-card-list:focus{outline:0}.tox .tox-card-group{background-color:#17202a;display:flex;flex-direction:column}.tox .tox-card-group .tox-card{scroll-margin-top:53px}.tox .tox-card-group__title{align-items:center;background-color:#222f3e;border-bottom:1px solid #000;color:#fff;display:flex;font-size:14px;font-weight:700;gap:8px;line-height:16px;overflow:hidden;padding:12px;position:sticky;top:0;z-index:1}.tox .tox-card-group__title-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-card-group__status{color:rgba(255,255,255,.5);flex:0 0 auto;font-size:12px;font-weight:400;margin-inline-start:auto}.tox .tox-card-group__content{display:flex;flex-direction:column;gap:12px;padding-block:12px}.tox .tox-profile{align-items:center;display:flex;gap:8px}.tox .tox-profile__image{align-items:center;display:flex;flex-shrink:0}.tox .tox-profile__badge{display:flex;flex-shrink:0;height:36px;margin-inline-start:-4px;width:36px}.tox .tox-profile__badge svg{display:block;height:100%;width:100%}.tox .tox-user-avatar{width:36px;height:36px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center}.tox .tox-user-avatar img{width:100%;height:100%;object-fit:cover}.tox .tox-profile__body{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;flex:1}.tox .tox-profile__heading{color:#fff;font-size:14px;font-weight:700;line-height:18px;text-transform:none}.tox .tox-profile__subheading{color:#fff;font-size:12px;font-weight:400;line-height:16px;padding-block:4px;text-transform:none}.tox .tox-profile__subheading .tox-icon svg{fill:rgba(255,255,255,0.5);margin-block:-4px;vertical-align:top}.tox [data-mce-name=suggestededits] .tox-icon .tox-icon--badge{fill:#207ab7}.tox .tox-view .tox-suggestededits__pane{padding:0}.tox .tox-suggestededits__sink{position:relative;z-index:1000}.tox .tox-suggestededits__sink .tox-tiered-menu .tox-collection--list{position:absolute}.tox .tox-suggestededits__container{height:100%;display:flex;flex-direction:column}.tox .tox-suggestededits__container .tox-suggestededits{background-color:#222f3e;display:flex;flex:1;height:inherit;overflow-x:auto;overflow-y:hidden;position:relative}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__content{flex:1}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__model{height:100%;position:relative}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__model .tox-suggestededits__iframe{height:100%;width:100%;overflow:scroll;background-color:#fff}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar{background-color:#34485f;border-left:1px solid #000;display:flex;flex-direction:column;flex:0 1 auto;min-width:248px;width:441px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__announcer{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;margin:-1px;padding:0;border:0}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar{padding:4px 12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar:not(:empty){padding:12px 12px 6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button:has(.tox-icon:only-child){gap:0;padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-md,16px)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button:has(.tox-icon:only-child) .tox-icon{align-items:center;display:flex;flex:0 0 auto;height:24px;justify-content:center;width:24px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline{border-color:#486383}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:focus:not(:disabled),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:hover:not(:disabled){background-color:rgba(255,255,255,.12);border-color:rgba(255,255,255,.12)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline.tox-button--enabled:not(:disabled),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:active:not(:disabled){background-color:rgba(255,255,255,.18);border-color:rgba(255,255,255,.18);color:#fff}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline[disabled]{border-color:#486383}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content{display:flex;flex:1;flex-direction:column;gap:12px;overflow:auto;padding:6px 12px 12px 12px;position:relative;scroll-padding-block:6px 12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-card--selected:has(textarea:focus){border-color:transparent}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__divider,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--divider{background-color:#34485f;height:1px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--editor,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--single{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;gap:12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--editor{padding:6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header{display:flex;flex:auto;justify-content:space-between;align-items:center;gap:8px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__card--timestamp,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__card--timestamp{color:#fff}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__card--timestamp .tox-icon svg,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__card--timestamp .tox-icon svg{fill:rgba(255,255,255,0.5)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution{align-items:center;border:0;border-radius:20px;color:rgba(255,255,255,.5);height:20px;width:20px;display:flex;flex:0 0 auto;justify-content:center;text-align:center}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button{padding:var(--tox-private-button-padding-y,4px) var(--tox-private-button-padding-x,16px)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button .tox-suggestededits__resolution--label{display:none}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:not(:hover):not(:focus-visible),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:not(:hover):not(:focus-visible){border-color:transparent}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution{display:none}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution--label{display:inline}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content{display:flex;flex-direction:column;align-self:stretch;flex:auto;gap:6px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations{display:flex;gap:8px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-details,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-details{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-text,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-text{color:#fff;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:18px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-content-text,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-content-text{font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:20px;overflow-wrap:break-word}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-content-text-joiner,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-content-text-joiner{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__card--feedback,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__card--feedback{color:#fff;overflow-wrap:anywhere;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__actions,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--buttons{display:flex;align-items:center;gap:8px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__actions.tox-suggestededits__card--feedback-buttons,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--buttons.tox-suggestededits__card--feedback-buttons{justify-content:flex-end}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-suggestededits__card--active .tox-suggestededits__card--single{border-radius:6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-suggestededits__card--active .tox-suggestededits__card--single:focus-visible{outline:2px solid #207ab7}.tox .tox-dialog-loading::before{background-color:rgba(0,0,0,.5);content:"";height:100%;position:absolute;width:100%;z-index:1000}.tox .tox-tab{cursor:pointer}.tox .tox-dialog__content-js{display:flex;flex:1}.tox .tox-dialog__body-content .tox-collection{display:flex;flex:1}.tox:not(.tox-tinymce-inline) .tox-editor-header{background-color:none;padding:0}.tox.tox-tinymce--toolbar-bottom .tox-editor-header,.tox.tox-tinymce-inline .tox-editor-header{margin-bottom:-1px}.tox.tox-tinymce-inline .tox-editor-container{overflow:hidden}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header{border-top:none;box-shadow:none}.tox.tox.tox-tinymce--toolbar-sticky-on .tox-editor-header{background-color:transparent;box-shadow:0 4px 4px -3px rgba(0,0,0,.25);padding:0}.tox.tox.tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header{box-shadow:0 4px 4px -3px rgba(0,0,0,.25)}.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker{margin:-4px 0}.tox .tox-menu.tox-collection.tox-collection--list{padding:0}.tox .tox-pop{box-shadow:none}.tox .tox-label,.tox .tox-number-input,.tox .tox-split-button,.tox .tox-tbtn,.tox .tox-tbtn--select,.tox .tox-toolbar-label{margin:2px 0 3px 0}.tox .tox-tbtn--bordered,.tox .tox-tbtn--bordered:focus,.tox .tox-tbtn--bordered:hover{border:1px solid #000}.tox .tox-pop__dialog .tox-toolbar,.tox .tox-toolbar,.tox .tox-toolbar__overflow,.tox .tox-toolbar__primary{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}.tox .tox-menubar+.tox-toolbar-overlord{border-top:none}.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord .tox-toolbar__primary{border-top:1px solid #000;margin-top:-1px}.tox.tox-tinymce-aux .tox-toolbar__overflow{border:1px solid #000;padding:0}.tox .tox-pop .tox-pop__dialog .tox-toolbar{padding:0}.tox .tox-context-toolbar .tox-toolbar{background:0 0}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-menubar{border-top:1px solid #000}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-toolbar-overlord:first-child .tox-toolbar__primary,.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-toolbar:first-child{border-top:1px solid #000}.tox .tox-toolbar__group{padding:0 4px 0 4px}.tox .tox-collection__item{border-radius:0;cursor:pointer}.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]){color:#fff}.tox .tox-statusbar__branding svg{fill:rgba(255,255,255,0.8);height:1em;margin-left:.3em;width:auto}@media (forced-colors:active){.tox .tox-statusbar__branding svg{fill:currentColor}}.tox .tox-statusbar__branding a{align-items:center;display:inline-flex}.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg,.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg{fill:#fff}.tox:not([dir=rtl]) .tox-statusbar__branding{margin-left:1ch}.tox[dir=rtl] .tox-statusbar__branding svg{margin-left:0;margin-right:.3em}.tox .tox-statusbar__resize-handle{padding-bottom:0;padding-right:0}.tox .tox-button::before{display:none}`) \ No newline at end of file +tinymce.Resource.add('ui/tinymce-5-dark/skin.css', `.tox{box-shadow:none;box-sizing:content-box;cursor:auto;font-style:normal;font-weight:400;line-height:normal;-webkit-tap-highlight-color:transparent;-webkit-text-decoration:none;text-decoration:none;text-shadow:none;text-transform:none;vertical-align:initial;white-space:normal}.tox :not(svg):not(rect){box-sizing:inherit;color:inherit;cursor:inherit;direction:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;-webkit-tap-highlight-color:inherit;text-align:inherit;text-decoration:inherit;text-shadow:inherit;text-transform:inherit;vertical-align:inherit;white-space:inherit}.tox :not(svg):not(rect){background:0 0;border:0;box-shadow:none;float:none;height:auto;margin:0;max-width:none;outline:0;padding:0;position:static;width:auto}.tox:not([dir=rtl]){direction:ltr;text-align:left}.tox[dir=rtl]{direction:rtl;text-align:right}.tox-tinymce :focus,.tox-tinymce-aux :focus{outline:0}button::-moz-focus-inner{border:0}@keyframes tox-rotation{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes tox-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox{color:var(--tox-private-color-black,#2a3746);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-font-size-base, 16px)}.tox-tinymce{border:1px solid #000;border-radius:0;box-shadow:none;box-sizing:border-box;display:flex;flex-direction:column;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);overflow:hidden;position:relative;visibility:inherit!important}.tox.tox-tinymce-inline{border:none;box-shadow:none;overflow:initial}.tox.tox-tinymce-inline .tox-editor-container{overflow:initial}.tox.tox-tinymce-inline .tox-editor-header{background-color:#222f3e;border:1px solid #000;border-radius:0;box-shadow:none;overflow:hidden}.tox-tinymce-aux{font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);z-index:var(--tox-private-z-index-sink,1300)}.tox[dir=rtl] .tox-icon--flip svg{transform:rotateY(180deg)}.tox .tox-editor-container{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.tox .tox-editor-container--keep-toolbar{flex:0 0 auto;overflow:visible}.tox .tox-editor-header{display:grid;grid-template-columns:1fr min-content;z-index:2}.tox:not(.tox-tinymce-inline) .tox-editor-header{background-color:#222f3e;border-bottom:none;box-shadow:none;padding:4px 0}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(.tox-editor-dock-transition){transition:box-shadow .5s}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header{border-top:1px solid #000;box-shadow:none}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header{background-color:#222f3e;box-shadow:0 4px 4px -3px rgba(0,0,0,.25);padding:4px 0}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header{box-shadow:0 4px 4px -3px rgba(0,0,0,.25)}.tox.tox:not(.tox-tinymce-inline) .tox-editor-header.tox-editor-header--empty{background:0 0;border:none;box-shadow:none;padding:0}.tox-editor-dock-fadeout{opacity:0;visibility:hidden}.tox-editor-dock-fadein{opacity:1;visibility:visible}.tox-editor-dock-transition{transition:visibility 0s linear .25s,opacity .25s ease}.tox-editor-dock-transition.tox-editor-dock-fadein{transition-delay:0s}.tox .accessibility-issue__header{align-items:center;display:flex;margin-bottom:4px}.tox #accessibility-issue__subheader{font-size:16px;color:#fff}.tox .accessbility-sr-only{position:absolute;clip:rect(1px,1px,1px,1px);clip-path:inset(0 0 99.9% 99.9%);overflow:hidden;height:1px;width:1px;padding:0;border:0}.tox .accessibility-issue__description{align-items:stretch;border-radius:3px;justify-content:space-between}.tox .accessibility-issue__description>div{padding-bottom:4px}.tox .accessibility-issue__description>div>div{align-items:center;display:flex;margin-bottom:4px}.tox .accessibility-issue__description>div>div .tox-icon svg{display:block}.tox #accessibility-issue__contentID{margin-top:8px;margin-bottom:8px}.tox #accessibility-issue__contentID span:first-child{font-weight:700}.tox #accessibility-issue__document{padding-bottom:8px}.tox .accessibility-issue__repair{margin-top:8px}.tox .accessibility-issue__repair .tox-form__group .tox-form__group--error{color:#eb9999}.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description{background-color:#22374a;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2{font-size:14px;color:#a6cae2}.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon.accessibility-issue__icon svg{fill:#a6cae2}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon{background-color:#207ab7;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:hover{background-color:#1c6ca1}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:active{background-color:#185d8c}.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description{background-color:#383f38;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2{font-size:14px;color:#ffeb99}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon.accessibility-issue__icon svg{fill:#ffeb99}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon{background-color:#ffe89d;color:#2a3746}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:hover{background-color:#f2d574;color:#2a3746}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:active{background-color:#e8c657;color:#2a3746}.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description{background-color:#332a38;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2{font-size:14px;color:#eb9999}.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon.accessibility-issue__icon svg{fill:#eb9999}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon{background-color:#f2bfbf;color:#2a3746}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:hover{background-color:#e9a4a4;color:#2a3746}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:active{background-color:#ee9494;color:#2a3746}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description{background-color:rgba(120,171,70,.5);color:#fff}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description>:last-child{display:none}.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2{color:#fff}.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon.accessibility-issue__icon svg{fill:#fff}.tox .tox-dialog__body-content .accessibility-issue__header .tox-form__group h1,.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2{margin-top:0}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-left:4px}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-left:auto}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description{padding:8px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-right:4px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-right:auto}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description{padding:4px 8px 4px 4px}.tox .mce-codemirror{background:#fff;bottom:0;font-size:13px;left:0;position:absolute;right:0;top:0;z-index:1}.tox .mce-codemirror.tox-inline-codemirror{margin:8px;position:absolute}.tox .tox-advtemplate .tox-form__grid{flex:1}.tox .tox-advtemplate .tox-form__grid>div:first-child{display:flex;flex-direction:column;width:30%}.tox .tox-advtemplate .tox-form__grid>div:first-child>div:nth-child(2){flex-basis:0;flex-grow:1;overflow:auto}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-advtemplate .tox-form__grid>div:first-child{width:100%}}.tox .tox-advtemplate iframe{border-color:#000;border-radius:0;border-style:solid;border-width:1px;margin:0 10px}.tox .tox-accordion{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__item{background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color,#fff);border-radius:var(--tox-private-control-border-radius,3px);position:relative}.tox .tox-accordion__item.tox-accordion__item--expanded{background-color:var(--tox-private-background-secondary,#2f4055)}.tox .tox-accordion__item.tox-accordion__item--expanded .tox-accordion__content--expanded .tox-accordion__content-inner{padding-top:0}.tox .tox-accordion__item::after{border-radius:var(--tox-private-control-border-radius,3px);box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,0) var(--tox-private-keyboard-focus-outline-color,transparent);content:'';inset:0;opacity:0;pointer-events:none;position:absolute}@media (forced-colors:active){.tox .tox-accordion__item::after{border:2px solid highlight}}.tox .tox-accordion__item:focus{outline:0;z-index:1}.tox .tox-accordion__item:focus::after{opacity:1}.tox .tox-accordion__heading{margin:0;width:100%}.tox .tox-accordion__heading:focus{outline:0}.tox .tox-accordion__header{align-items:center;border:none;border-radius:var(--tox-private-control-border-radius,3px);box-sizing:border-box;color:var(--tox-private-text-color,#fff);cursor:pointer;display:flex;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:var(--tox-private-line-height-base, 1.3);outline:0;padding:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));text-align:left;width:100%}.tox .tox-accordion__header::after{border-radius:var(--tox-private-control-border-radius,3px);bottom:0;box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,0) var(--tox-private-keyboard-focus-outline-color,transparent);content:'';left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-accordion__header::after{border:2px solid highlight}}.tox .tox-accordion__header:hover:not(.tox-accordion__header--disabled){background-color:var(--tox-private-background-secondary,#2f4055)}.tox .tox-accordion__header:focus:not(.tox-accordion__header--disabled){position:relative;z-index:1}.tox .tox-accordion__header:focus:not(.tox-accordion__header--disabled)::after{opacity:1}.tox .tox-accordion__header.tox-accordion__header--disabled{cursor:not-allowed;opacity:.5}.tox .tox-accordion__header.tox-accordion__header--icon-end{padding-right:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__header-icon{align-items:center;color:var(--tox-private-text-color,#fff);display:flex;flex-shrink:0;height:calc(var(--tox-private-base-value,16px) * 1.5);justify-content:center;width:calc(var(--tox-private-base-value,16px) * 1.5)}.tox .tox-accordion__header-icon svg{display:block;fill:currentColor;height:100%;width:100%;max-height:calc(var(--tox-private-base-value,16px) * 1.5);max-width:calc(var(--tox-private-base-value,16px) * 1.5)}.tox .tox-accordion__header:not(.tox-accordion__header--icon-end) .tox-accordion__header-icon{margin-right:var(--tox-private-pad-sm,8px);margin-left:0}.tox .tox-accordion__header--icon-end .tox-accordion__header-icon{margin-left:auto}.tox .tox-accordion__header-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-accordion__header--icon-end .tox-accordion__header-text{flex:0 1 auto;margin-right:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__content{border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-accordion__content.tox-accordion__content--collapsed{display:none}.tox .tox-accordion__content.tox-accordion__content--expanded{display:block}.tox .tox-accordion__content-inner{padding:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px)) calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__content-inner .tox-form__group:last-child{margin-bottom:0}.tox .tox-accordion__content-inner .tox-form__group>:not(:first-child){margin-top:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__content-inner .tox-form__group>.tox-dropdown-content{margin-top:0}.tox .tox-accordion__content-inner .tox-button-group{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__content-inner .tox-accordion__model-button{border-radius:var(--tox-private-control-border-radius,3px);align-items:center;appearance:none;background:0 0;border:none;color:inherit;cursor:pointer;display:flex;font-family:inherit;font-size:inherit;gap:var(--tox-private-pad-xs,4px);margin:0;outline:0;padding:6px calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));position:relative}.tox .tox-accordion__content-inner .tox-accordion__model-button::after{border-radius:var(--tox-private-control-border-radius,3px);bottom:0;box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,0) var(--tox-private-keyboard-focus-outline-color,transparent);content:'';left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-accordion__content-inner .tox-accordion__model-button::after{border:2px solid highlight}}.tox .tox-accordion__content-inner .tox-accordion__model-button:focus{z-index:1}.tox .tox-accordion__content-inner .tox-accordion__model-button:focus::after{opacity:1}.tox .tox-accordion .tox-selectfield{align-items:center;background-color:var(--tox-private-background-color,#222f3e);border:1px solid var(--tox-private-border-color,#000);border-radius:var(--tox-private-control-border-radius,3px);box-sizing:border-box;display:flex;height:34px;padding:0 6px;position:relative;width:100%}.tox .tox-accordion .tox-selectfield:focus-within{box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,0) var(--tox-private-keyboard-focus-outline-color,transparent);z-index:1}@media (forced-colors:active){.tox .tox-accordion .tox-selectfield:focus-within{border-color:highlight;box-shadow:0 0 0 2px highlight}}.tox .tox-accordion .tox-selectfield button{appearance:none;background:0 0;border:none;color:inherit;cursor:pointer;flex:1;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;outline:0;padding:5px 0;text-align:left}.tox .tox-accordion .tox-selectfield .tox-icon{display:flex;flex-shrink:0;padding:9px 0;pointer-events:none}.tox .tox-accordion .tox-selectfield .tox-icon svg{height:var(--tox-private-base-value,16px);width:var(--tox-private-base-value,16px)}.tox[dir=rtl] .tox-accordion__header{text-align:right}.tox[dir=rtl] .tox-accordion__header:not(.tox-accordion__header--icon-end) .tox-accordion__header-icon{margin-left:var(--tox-private-pad-sm,8px);margin-right:0}.tox[dir=rtl] .tox-accordion__header--icon-end .tox-accordion__header-icon{margin-right:auto;margin-left:0}.tox[dir=rtl] .tox-accordion__header--icon-end .tox-accordion__header-text{margin-left:var(--tox-private-pad-sm,8px);margin-right:0}.tox .tox-alert{align-items:flex-start;align-self:stretch;border-radius:var(--tox-private-panel-border-radius,3px);border-style:solid;border-width:1px;box-sizing:border-box;color:var(--tox-private-text-color,#fff);display:flex;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-normal,normal);gap:var(--tox-private-pad-xs,4px);line-height:var(--tox-private-line-height-base, 1.3);padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-sm,8px);width:100%}.tox .tox-alert--error{background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#222f3e) r g b / .8) 0,rgba(from var(--tox-private-background-color,#222f3e) r g b / .8) 100%),var(--tox-private-color-error,#c00);border-color:var(--tox-private-color-error,#c00)}.tox .tox-alert--warning{background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#222f3e) r g b / .8) 0,rgba(from var(--tox-private-background-color,#222f3e) r g b / .8) 100%),var(--tox-private-color-warning,#fc0);border-color:var(--tox-private-color-warning,#fc0)}.tox .tox-alert__body{display:flex;flex:1 0 0;flex-direction:column;min-width:0}.tox .tox-alert__content{align-items:center;display:flex;flex:1 0 0;gap:var(--tox-private-pad-sm,8px);padding:var(--tox-private-pad-sm,8px) 0}.tox .tox-alert__message{margin:0;text-align:left}.tox .tox-alert__actions{align-items:center;display:flex;flex-wrap:wrap;gap:var(--tox-private-pad-xs,4px);justify-content:flex-start}.tox .tox-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bottom-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bar{display:flex;flex:0 0 auto}.tox .tox-button{border-width:var(--tox-private-button-border-width,1px);border-style:var(--tox-private-button-border-style,solid);border-radius:var(--tox-private-control-border-radius,3px);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-button-font-size, 14px);font-style:var(--tox-private-button-font-style,normal);font-weight:var(--tox-private-button-font-weight,bold);line-height:var(--tox-private-control-line-height, 24px);padding:var(--tox-private-button-padding-y,4px) var(--tox-private-button-padding-x,16px);text-align:center;-webkit-text-decoration:none;text-decoration:none;text-transform:none;letter-spacing:normal;box-shadow:none;box-sizing:border-box;cursor:pointer;outline:0;position:relative;white-space:nowrap;display:inline-flex;justify-content:center;align-items:center;gap:var(--tox-private-pad-xs,4px)}.tox .tox-button::before{border-radius:var(--tox-private-control-border-radius,3px);bottom:calc(-1 * var(--tox-private-button-border-width,1px));box-shadow:var(--tox-private-button-focus-outline,inset 0 0 0 1px #fff,0 0 0 2px #207ab7);content:'';left:calc(-1 * var(--tox-private-button-border-width,1px));opacity:0;pointer-events:none;position:absolute;right:calc(-1 * var(--tox-private-button-border-width,1px));top:calc(-1 * var(--tox-private-button-border-width,1px))}.tox .tox-button:focus:not(:disabled){background-color:var(--tox-private-button-focus-background-color,#1c6ca1);background-image:none;border-color:var(--tox-private-button-focus-border-color,#1c6ca1);box-shadow:var(--tox-private-button-focus-box-shadow,none);color:var(--tox-private-button-focus-text-color,#fff)}.tox .tox-button:focus:not(:disabled)::before{opacity:1}.tox .tox-button.tox-button--icon,.tox .tox-button:has(.tox-icon:only-child){padding:4px}.tox .tox-button .tox-icon svg{display:block;fill:currentColor}.tox .tox-button .tox-icon.tox-icon--success svg{fill:var(--tox-private-color-success,#78AB46)}.tox .tox-button .tox-icon.tox-icon--error svg{fill:var(--tox-private-color-error,#c00)}.tox .tox-button--stretch{width:100%}.tox-context-form__group .tox-button--icon,.tox-context-form__group .tox-button.tox-button--icon{margin:3px 0 2px 0;padding:0}.tox .tox-button{background-color:var(--tox-private-button-primary-background-color,#207ab7);background-image:none;background-position:0 0;background-repeat:repeat;color:var(--tox-private-button-primary-text-color,#fff);border-color:var(--tox-private-button-primary-border-color,#207ab7)}.tox .tox-button[disabled]{background-color:var(--tox-private-button-primary-disabled-background-color,#207ab7);background-image:none;border-color:var(--tox-private-button-primary-disabled-border-color,#207ab7);color:var(--tox-private-button-primary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button:focus:not(:disabled){background-color:var(--tox-private-button-primary-focus-background-color,#1c6ca1);border-color:var(--tox-private-button-primary-focus-border-color,#1c6ca1);color:var(--tox-private-button-primary-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button:hover:not(:disabled){background-color:var(--tox-private-button-primary-hover-background-color,#1c6ca1);border-color:var(--tox-private-button-primary-hover-border-color,#1c6ca1);color:var(--tox-private-button-primary-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button:active:not(:disabled){background-color:var(--tox-private-button-primary-active-background-color,#185d8c);border-color:var(--tox-private-button-primary-active-border-color,#185d8c);color:var(--tox-private-button-primary-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled{background-color:var(--tox-private-button-primary-enabled-background-color,#185d8c);border-color:var(--tox-private-button-primary-enabled-border-color,#185d8c);color:var(--tox-private-button-primary-enabled-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled[disabled]{color:var(--tox-private-button-primary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-primary-enabled-focus-background-color,#154f76);border-color:var(--tox-private-button-primary-enabled-focus-border-color,#154f76);color:var(--tox-private-button-primary-enabled-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-primary-enabled-hover-background-color,#154f76);border-color:var(--tox-private-button-primary-enabled-hover-border-color,#154f76);color:var(--tox-private-button-primary-enabled-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-primary-enabled-active-background-color,#114060);border-color:var(--tox-private-button-primary-enabled-active-border-color,#114060);color:var(--tox-private-button-primary-enabled-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary{background-color:var(--tox-private-button-secondary-background-color,#3d546f);border-color:var(--tox-private-button-secondary-border-color,#3d546f);color:var(--tox-private-button-secondary-text-color,#fff);border-style:solid;border-width:1px;background-image:none;background-position:0 0;background-repeat:repeat;border-radius:3px;box-shadow:none;font-size:14px;font-style:normal;font-weight:700;letter-spacing:normal;outline:0;padding:4px 16px;-webkit-text-decoration:none;text-decoration:none;text-transform:none}.tox .tox-button--secondary[disabled]{background-color:var(--tox-private-button-secondary-disabled-background-color,#3d546f);background-image:none;border-color:var(--tox-private-button-secondary-disabled-border-color,#3d546f);color:var(--tox-private-button-secondary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button--secondary:focus:not(:disabled){background-color:var(--tox-private-button-secondary-focus-background-color,#34485f);border-color:var(--tox-private-button-secondary-focus-border-color,#34485f);color:var(--tox-private-button-secondary-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary:hover:not(:disabled){background-color:var(--tox-private-button-secondary-hover-background-color,#34485f);border-color:var(--tox-private-button-secondary-hover-border-color,#34485f);color:var(--tox-private-button-secondary-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary:active:not(:disabled){background-color:var(--tox-private-button-secondary-active-background-color,#2b3b4e);border-color:var(--tox-private-button-secondary-active-border-color,#2b3b4e);color:var(--tox-private-button-secondary-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled{background-color:var(--tox-private-button-secondary-enabled-background-color,#6ea9d0);border-color:var(--tox-private-button-secondary-enabled-border-color,#6ea9d0);color:var(--tox-private-button-secondary-enabled-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled[disabled]{color:var(--tox-private-button-secondary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button--secondary.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-focus-background-color,#5b9dca);border-color:var(--tox-private-button-secondary-enabled-focus-border-color,#5b9dca);color:var(--tox-private-button-secondary-enabled-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-hover-background-color,#5b9dca);border-color:var(--tox-private-button-secondary-enabled-hover-border-color,#5b9dca);color:var(--tox-private-button-secondary-enabled-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-active-background-color,#4792c4);border-color:var(--tox-private-button-secondary-enabled-active-border-color,#4792c4);color:var(--tox-private-button-secondary-enabled-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--naked{background-color:transparent;border-color:transparent;box-shadow:unset;color:var(--tox-private-button-naked-text-color,#fff)}.tox .tox-button--naked[disabled]{background-color:#3d546f;border-color:#3d546f;color:var(--tox-private-button-naked-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button--naked:focus:not(:disabled){background-color:var(--tox-private-button-naked-focus-background-color,#34485f);border-color:var(--tox-private-button-naked-focus-border-color,#34485f);color:var(--tox-private-button-naked-focus-text-color,#fff);box-shadow:none}.tox .tox-button--naked:hover:not(:disabled){background-color:var(--tox-private-button-naked-hover-background-color,#34485f);border-color:var(--tox-private-button-naked-hover-background-color,#34485f);color:var(--tox-private-button-naked-hover-text-color,#fff);box-shadow:none}.tox .tox-button--naked:active:not(:disabled){background-color:var(--tox-private-button-naked-active-background-color,#2b3b4e);border-color:var(--tox-private-button-naked-active-border-color,#2b3b4e);color:var(--tox-private-button-naked-active-text-color,#fff);box-shadow:none}.tox .tox-button--naked.tox-button--enabled{background-color:var(--tox-private-button-naked-enabled-background-color,#346085);border-color:var(--tox-private-button-naked-enabled-border-color,#346085);color:var(--tox-private-button-naked-enabled-text-color,#fff);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled[disabled]{color:var(--tox-private-button-naked-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button--naked.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-naked-enabled-focus-background-color,#2d5373);border-color:var(--tox-private-button-naked-enabled-focus-border-color,#2d5373);color:var(--tox-private-button-naked-enabled-focus-text-color,#fff);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-naked-enabled-hover-background-color,#2d5373);border-color:var(--tox-private-button-naked-enabled-hover-border-color,#2d5373);color:var(--tox-private-button-naked-enabled-hover-text-color,#fff);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-naked-enabled-active-background-color,#264560);border-color:var(--tox-private-button-naked-enabled-active-border-color,#264560);color:var(--tox-private-button-naked-enabled-active-text-color,#fff);box-shadow:unset}.tox .tox-button--secondary--outline{background-color:transparent;border-color:var(--tox-private-button-secondary-outline-border-color,#3d546f);color:var(--tox-private-button-secondary-outline-text-color,#fff)}.tox .tox-button--secondary--outline:focus:not(:disabled){background-color:var(--tox-private-button-secondary-outline-focus-background-color,#34485f);border-color:var(--tox-private-button-secondary-outline-focus-border-color,#34485f);color:var(--tox-private-button-secondary-outline-focus-text-color,#fff)}.tox .tox-button--secondary--outline:hover:not(:disabled){background-color:var(--tox-private-button-secondary-outline-hover-background-color,#3d546f);border-color:var(--tox-private-button-secondary-outline-hover-border-color,#34485f);color:var(--tox-private-button-secondary-outline-hover-text-color,#fff)}.tox .tox-button--secondary--outline:active:not(:disabled){background-color:var(--tox-private-button-secondary-outline-active-background-color,#34485f);border-color:var(--tox-private-button-secondary-outline-active-border-color,#34485f);color:var(--tox-private-button-secondary-outline-active-text-color,#fff)}.tox .tox-button--secondary--outline[disabled]{background-color:var(--tox-private-button-secondary-outline-disabled-background-color,transparent);border-color:var(--tox-private-button-secondary-outline-disabled-border-color,#3d546f);color:var(--tox-private-button-secondary-outline-disabled-text-color,rgba(255,255,255,.5))}.tox .tox-checkbox{align-items:center;border-radius:var(--tox-private-checkbox-border-radius,3px);cursor:pointer;display:flex;height:var(--tox-private-control-height,36px);min-width:var(--tox-private-control-height,36px)}.tox .tox-checkbox__input{height:1px;overflow:hidden;position:absolute;top:auto;width:1px}.tox .tox-checkbox__icons{display:flex;align-items:center;justify-content:center;box-sizing:content-box;padding:var(--tox-private-pad-xs,calc(4px - 1px));border-radius:var(--tox-private-checkbox-border-radius,3px);box-shadow:0 0 0 2px transparent;height:var(--tox-private-control-line-height,24px);aspect-ratio:1/1}.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:block;fill:var(--tox-private-checkbox-unselected-color,rgba(255,255,255,0.2))}@media (forced-colors:active){.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:currentColor!important}}.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:none;fill:var(--tox-private-checkbox-indeterminate-color,#207ab7)}.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg{display:none;fill:var(--tox-private-checkbox-selected-color,#207ab7)}.tox .tox-checkbox--disabled{color:var(--tox-private-checkbox-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(255,255,255,0.5))}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(255,255,255,0.5))}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(255,255,255,0.5))}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__checked svg{display:block}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:block}.tox input.tox-checkbox__input:focus+.tox-checkbox__icons{box-shadow:var(--tox-private-checkbox-focus-box-shadow,inset 0 0 0 1px #207ab7)}.tox:not([dir=rtl]) .tox-checkbox__label{margin-left:var(--tox-private-pad-xs,4px)}.tox:not([dir=rtl]) .tox-checkbox__input{left:-10000px}.tox:not([dir=rtl]) .tox-bar .tox-checkbox{margin-left:var(--tox-private-pad-xs,4px)}.tox[dir=rtl] .tox-checkbox__label{margin-right:var(--tox-private-pad-xs,4px)}.tox[dir=rtl] .tox-checkbox__input{right:-10000px}.tox[dir=rtl] .tox-bar .tox-checkbox{margin-right:var(--tox-private-pad-xs,4px)}.tox .tox-collection--toolbar .tox-collection__group{display:flex;padding:0}.tox .tox-collection--grid .tox-collection__group{display:flex;flex-wrap:wrap;max-height:208px;overflow-x:hidden;overflow-y:auto;padding:0}.tox .tox-collection--list .tox-collection__group{border-bottom-width:0;border-color:#1a1a1a;border-left-width:0;border-right-width:0;border-style:solid;border-top-width:1px;padding:4px 0;display:flex;flex-direction:column}.tox .tox-collection--list .tox-collection__group:first-child{border-top-width:0}.tox .tox-collection__group-heading{background-color:#333;color:#fff;cursor:default;font-size:12px;font-style:normal;font-weight:400;margin-bottom:4px;margin-top:-4px;padding:4px 8px;text-transform:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-collection__item{align-items:center;border-radius:3px;color:#fff;display:flex;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-image-selector-menu .tox-collection__item,.tox .tox-image-selector-menu .tox-collection__item-image-selector{flex-direction:column}.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-checkmark,.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-icon,.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-image,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-checkmark,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-icon,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-image{flex-grow:1}.tox .tox-image-selector-menu .tox-collection__item label,.tox .tox-image-selector-menu .tox-collection__item-image-selector label{width:48px;white-space:nowrap;overflow:hidden;font-size:12px;color:#fff;text-align:center;align-self:flex-end}.tox .tox-image-selector-menu .tox-collection__item-checkmark{height:24px;width:24px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.tox .tox-image-selector-menu .tox-collection__item-checkmark svg path{fill:#207ab7;stroke:#207ab7}.tox .tox-image-selector-menu .tox-image-selector__row .tox-collection__item-image-selector.tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#222f3e}.tox .tox-image-selector-menu .tox-image-selector__row .tox-collection__item-image-selector.tox-collection__item--enabled:not(.tox-collection__item--state-disabled){z-index:2;background-color:#222f3e;opacity:.8;background-clip:content-box}.tox .tox-collection--list .tox-collection__item{padding:4px 8px}.tox .tox-collection--toolbar .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--grid .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--list .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#2b3b4e;color:#fff}.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#4a5562;color:#fff}@media (forced-colors:active){.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){border:solid 1px}}.tox .tox-collection--grid .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#757d87;color:#fff}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#4a5562;color:#fff;position:relative;z-index:1}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent inset;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border:2px solid highlight}}.tox .tox-collection--toolbar .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#757d87;color:#fff}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){border-radius:3px;outline:solid 1px}}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled){color:#fff;background-color:#2b3b4e;position:relative}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):hover{background-color:#4a5562;color:#fff}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus{background-color:#4a5562;color:#fff}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border:2px solid highlight}}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):hover{border-radius:3px;outline:solid 1px}}.tox .tox-collection__item-image{border:1px solid #000;border-radius:3px;display:flex;flex-direction:column;justify-content:center;margin-bottom:4px;position:relative}.tox .tox-collection__item-checkmark,.tox .tox-collection__item-icon{align-items:center;display:flex;height:24px;justify-content:center;width:24px}.tox .tox-collection__item-checkmark svg,.tox .tox-collection__item-icon svg{fill:currentColor}.tox .tox-collection--toolbar-lg .tox-collection__item-icon{height:48px;width:48px}.tox .tox-collection__item-label{color:currentColor;display:inline-block;flex:1;font-size:14px;font-style:normal;font-weight:400;line-height:24px;max-width:100%;text-transform:none;word-break:break-all}.tox .tox-collection__item-separator{border-bottom:1px solid #1a1a1a;height:0;margin:4px 0}.tox .tox-collection__item-accessory{color:currentColor;display:inline-block;font-size:14px;height:24px;line-height:24px;text-transform:none}.tox .tox-collection__item-caret{align-items:center;display:flex;min-height:24px}.tox .tox-collection__item-caret::after{content:'';font-size:0;min-height:inherit}.tox .tox-collection__item-caret svg{fill:currentColor}.tox .tox-collection__item--state-disabled{background-color:transparent;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg{fill:rgba(255,255,255,0.5)}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg{display:none}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-accessory+.tox-collection__item-checkmark{display:none}.tox .tox-collection--horizontal{background-color:#2b3b4e;border:1px solid #1a1a1a;border-radius:3px;box-shadow:0 0 2px 0 rgba(42,55,70,.2),0 4px 8px 0 rgba(42,55,70,.15);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:nowrap;margin-bottom:0;overflow-x:auto;padding:0}.tox .tox-collection--horizontal .tox-collection__group{align-items:center;display:flex;flex-wrap:nowrap;margin:0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item{height:34px;margin:3px 0 2px 0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item-label{white-space:nowrap}.tox .tox-collection--horizontal .tox-collection__item-caret{margin-left:4px}.tox .tox-collection__item-container{display:flex}.tox .tox-collection__item-container--row{align-items:center;flex:1 1 auto;flex-direction:row}.tox .tox-collection__item-container--row.tox-collection__item-container--align-left{margin-right:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--align-right{justify-content:flex-end;margin-left:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-top{align-items:flex-start;margin-bottom:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-middle{align-items:center}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-bottom{align-items:flex-end;margin-top:auto}.tox .tox-collection__item-container--column{align-self:center;flex:1 1 auto;flex-direction:column}.tox .tox-collection__item-container--column.tox-collection__item-container--align-left{align-items:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--align-right{align-items:flex-end}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-top{align-self:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-middle{align-self:center}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-bottom{align-self:flex-end}.tox:not([dir=rtl]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-right:1px solid #000}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>:not(:first-child){margin-left:8px}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-left:4px}.tox:not([dir=rtl]) .tox-collection__item-accessory{margin-left:16px;text-align:right}.tox:not([dir=rtl]) .tox-collection .tox-collection__item-caret{margin-left:16px}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-left:1px solid #000}.tox[dir=rtl] .tox-collection--list .tox-collection__item>:not(:first-child){margin-right:8px}.tox[dir=rtl] .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-right:4px}.tox[dir=rtl] .tox-collection__item-accessory{margin-right:16px;text-align:left}.tox[dir=rtl] .tox-collection .tox-collection__item-caret{margin-right:16px;transform:rotateY(180deg)}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__item-caret{margin-right:4px}@media (forced-colors:active){.tox .tox-hue-slider,.tox .tox-rgb-form .tox-rgba-preview{background-color:currentColor!important;border:1px solid highlight!important;forced-color-adjust:none}}.tox .tox-color-picker-container{display:flex;flex-direction:row;height:225px;margin:0}.tox .tox-sv-palette{box-sizing:border-box;display:flex;height:100%}.tox .tox-sv-palette-spectrum{height:100%}.tox .tox-sv-palette,.tox .tox-sv-palette-spectrum{width:225px}.tox .tox-sv-palette-thumb{background:0 0;border:1px solid #000;border-radius:50%;box-sizing:content-box;height:12px;position:absolute;width:12px}.tox .tox-sv-palette-inner-thumb{border:1px solid #fff;border-radius:50%;height:10px;position:absolute;width:10px}.tox .tox-hue-slider{box-sizing:border-box;height:100%;width:25px}.tox .tox-hue-slider-spectrum{background:linear-gradient(to bottom,red,#ff0080,#f0f,#8000ff,#00f,#0080ff,#0ff,#00ff80,#0f0,#80ff00,#ff0,#ff8000,red);height:100%;width:100%}.tox .tox-hue-slider,.tox .tox-hue-slider-spectrum{width:20px}.tox .tox-hue-slider-spectrum:focus,.tox .tox-sv-palette-spectrum:focus{outline:#08f solid}.tox .tox-hue-slider-thumb{background:#fff;border:1px solid #000;box-sizing:content-box;height:4px;width:100%}.tox .tox-rgb-form{display:flex;flex-direction:column;justify-content:space-between}.tox .tox-rgb-form div{align-items:center;display:flex;justify-content:space-between;margin-bottom:5px;width:inherit}.tox .tox-rgb-form input{min-width:6em}.tox .tox-rgb-form input.tox-invalid{border:1px solid red!important;box-shadow:0 0 0 1px red}.tox .tox-rgb-container{position:relative}.tox .tox-rgb-form .tox-invalid-icon{align-content:center;align-items:center;display:none;height:100%;position:absolute;right:0;top:0}.tox .tox-rgb-form .tox-invalid-icon .tox-control-wrap__status-icon-invalid{margin:0}.tox .tox-rgb-warning-note{background-color:#442632;border:1px solid #55212b;border-radius:3px;color:#e68080;padding:3px}.tox input.tox-invalid+.tox-invalid-icon{display:flex}.tox .tox-rgb-form .tox-rgba-preview{border:1px solid #000;flex-grow:2;margin-bottom:0}.tox:not([dir=rtl]) .tox-sv-palette{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider-thumb{margin-left:-1px}.tox:not([dir=rtl]) .tox-rgb-form label{margin-right:.5em}.tox[dir=rtl] .tox-sv-palette{margin-left:15px}.tox[dir=rtl] .tox-hue-slider{margin-left:15px}.tox[dir=rtl] .tox-hue-slider-thumb{margin-right:-1px}.tox[dir=rtl] .tox-rgb-form label{margin-left:.5em}.tox .tox-toolbar .tox-swatches,.tox .tox-toolbar__overflow .tox-swatches,.tox .tox-toolbar__primary .tox-swatches{margin:2px 0 3px 4px}.tox .tox-collection--list .tox-collection__group .tox-swatches-menu{border:0;margin:-4px 0}.tox .tox-swatches__row{display:flex}@media (forced-colors:active){.tox .tox-swatches__row{forced-color-adjust:none}}.tox .tox-swatch{height:30px;transition:transform .15s,box-shadow .15s;width:30px}.tox .tox-swatch:focus,.tox .tox-swatch:hover{box-shadow:0 0 0 1px rgba(127,127,127,.3) inset;transform:scale(.8)}.tox .tox-swatch--remove{align-items:center;display:flex;justify-content:center}.tox .tox-swatch--remove svg path{stroke:#e74c3c}.tox .tox-swatches__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-swatches__picker-btn svg{fill:#fff;height:24px;width:24px}.tox .tox-swatches__picker-btn:hover{background:#4a5562}.tox div.tox-swatch:not(.tox-swatch--remove) svg{display:none;fill:#fff;height:24px;margin:calc((30px - 24px)/ 2) calc((30px - 24px)/ 2);width:24px}.tox div.tox-swatch:not(.tox-swatch--remove) svg path{fill:#fff;paint-order:stroke;stroke:#222f3e;stroke-width:2px}.tox div.tox-swatch:not(.tox-swatch--remove).tox-collection__item--enabled svg{display:block}.tox:not([dir=rtl]) .tox-swatches__picker-btn{margin-left:auto}.tox[dir=rtl] .tox-swatches__picker-btn{margin-right:auto}.tox .tox-comment{background:#222f3e;border:1px solid #222f3e;border-radius:3px;padding:8px;padding-bottom:16px;position:relative}.tox .tox-comment:hover{box-shadow:0 4px 8px 0 rgba(42,55,70,.1)}.tox .tox-comment.tox-comment--selected{background-color:#555542;border:1px solid #ffcf30;box-shadow:0 4px 8px 0 rgba(42,55,70,.1)}.tox .tox-comment.tox-comment--selected:focus{border:2px solid transparent;margin:-1px}.tox .tox-comment.tox-comment--selected:focus:not(:first-child){margin-top:7px}.tox .tox-comment.tox-comment--selected .tox-comment__single{margin-bottom:12px}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus{position:relative}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus::after{top:-9px;pointer-events:none;position:absolute;content:"";display:block;bottom:-9px;left:-9px;right:-9px;border-radius:3px;border:2px solid transparent}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus:last-of-type:has(textarea):after{bottom:calc((12px + 16px + 1px) * -1)}.tox .tox-comment__header{align-items:center;color:#fff;display:flex;justify-content:space-between}.tox .tox-comment__date{color:#fff;font-size:12px;line-height:18px}.tox .tox-comment__body{color:#fff;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;margin-top:8px;position:relative;text-transform:initial;transition:max-height .5s cubic-bezier(0, 1, 0, 1);white-space:pre-wrap}.tox .tox-comment__body.tox-comment__body--expanded{max-height:100em;transition:max-height 1s ease-in-out}.tox .tox-comment__body.tox-comment__body--pending{transition:max-height 0s}.tox .tox-comment__body p{margin:0}.tox .tox-comment__body textarea{resize:none;white-space:normal;width:100%;font-size:16px}.tox .tox-comment__loading-text{align-items:center;color:#fff;display:flex;flex-direction:column;position:relative}.tox .tox-comment__loading-text>div{padding-bottom:16px}.tox .tox-comment__overlaytext{bottom:0;flex-direction:column;font-size:14px;left:0;padding:1em;position:absolute;right:0;top:0;z-index:10}.tox .tox-comment__overlaytext p{background-color:#222f3e;box-shadow:0 0 8px 8px #222f3e;color:#fff;text-align:center}.tox .tox-comment__overlaytext div:nth-of-type(2){font-size:.8em}.tox .tox-comment__expander{padding-top:8px}.tox .tox-comment__expander p{color:rgba(255,255,255,.5);font-size:14px;font-style:normal}.tox .tox-comment__expander p:focus{font-weight:700}.tox .tox-comment__buttonspacing{padding-top:16px;text-align:center}.tox .tox-tbtn.tox-comment__mention-btn{display:flex;width:34px;height:34px;padding:5px;justify-content:center;align-items:center;margin:0;background-color:transparent}.tox .tox-comment-thread{background:#222f3e;position:relative;border-radius:3px;background-color:transparent}.tox .tox-comment-thread>:not(:first-child){margin-top:8px}.tox .tox-comment-thread__overlay::after{background:#222f3e;bottom:0;content:"";display:flex;left:0;opacity:.9;position:absolute;right:0;top:0;z-index:5}.tox .tox-comment__reply{display:flex;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__reply>:first-child{margin-bottom:8px;width:100%}.tox .tox-comment__edit{display:flex;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__gradient::after{background:linear-gradient(rgba(34,47,62,0),#222f3e);bottom:0;content:"";display:block;height:5em;margin-top:-40px;position:absolute;width:100%}.tox .tox-comment__overlay{background:#222f3e;bottom:0;display:flex;flex-direction:column;flex-grow:1;left:0;opacity:.9;position:absolute;right:0;text-align:center;top:0;z-index:5}.tox .tox-comment__busy-spinner{align-items:center;background-color:#222f3e;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:20}.tox .tox-comment__scroll{display:flex;flex-direction:column;flex-shrink:1;overflow:auto;padding:12px;scroll-behavior:smooth}.tox .tox-comment__scroll:has(textarea:focus){scroll-behavior:auto}.tox .tox-comment--disappearing{transition:opacity .5s ease}.tox .tox-comment[data-transitioning-destination=deleting]{opacity:0}.tox .tox-ring-loader{width:10px;height:10px;border:1px solid #fff;border-bottom-color:transparent;border-radius:50%;display:inline-block;box-sizing:border-box;animation:tox-rotation 1s linear infinite}.tox:not([dir=rtl]) .tox-comment__edit{margin-left:8px}.tox:not([dir=rtl]) .tox-comment__buttonspacing>:last-child,.tox:not([dir=rtl]) .tox-comment__edit>:last-child,.tox:not([dir=rtl]) .tox-comment__reply>:last-child{margin-left:8px}.tox[dir=rtl] .tox-comment__edit{margin-right:8px}.tox[dir=rtl] .tox-comment__buttonspacing>:last-child,.tox[dir=rtl] .tox-comment__edit>:last-child,.tox[dir=rtl] .tox-comment__reply>:last-child{margin-right:8px}.tox .tox-user{align-items:center;display:flex}.tox .tox-user__avatar svg{fill:rgba(255,255,255,0.5)}.tox .tox-user__avatar img{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-user__name{color:#fff;font-size:14px;font-style:normal;font-weight:700;line-height:18px;text-transform:none}.tox:not([dir=rtl]) .tox-user__avatar img,.tox:not([dir=rtl]) .tox-user__avatar svg{margin-right:8px}.tox:not([dir=rtl]) .tox-user__avatar+.tox-user__name{margin-left:8px}.tox[dir=rtl] .tox-user__avatar img,.tox[dir=rtl] .tox-user__avatar svg{margin-left:8px}.tox[dir=rtl] .tox-user__avatar+.tox-user__name{margin-right:8px}.tox .tox-dialog-wrap{align-items:center;display:flex;justify-content:center;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1100}.tox .tox-dialog-wrap__backdrop{background-color:rgba(34,47,62,.75);bottom:0;left:0;position:absolute;right:0;top:0;z-index:1}.tox .tox-dialog-wrap__backdrop--opaque{background-color:#222f3e}.tox .tox-dialog{background-color:#2b3b4e;border-color:#000;border-radius:3px;border-style:solid;border-width:1px;box-shadow:0 16px 16px -10px rgba(42,55,70,.15),0 0 40px 1px rgba(42,55,70,.15);display:flex;flex-direction:column;max-height:100%;max-width:480px;overflow:hidden;position:relative;width:95vw;z-index:2}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog{align-self:flex-start;margin:8px auto;max-height:calc(100vh - 8px * 2);width:calc(100vw - 16px)}}.tox .tox-dialog-inline{z-index:1100}.tox .tox-dialog__header{align-items:center;background-color:#2b3b4e;border-bottom:none;color:#fff;display:flex;font-size:16px;justify-content:space-between;padding:8px 16px 0 16px;position:relative}.tox .tox-dialog__header .tox-button{z-index:1}.tox .tox-dialog__draghandle{cursor:grab;height:100%;left:0;position:absolute;top:0;width:100%}.tox .tox-dialog__draghandle:active{cursor:grabbing}.tox .tox-dialog__dismiss{margin-left:auto}.tox .tox-dialog__title{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:20px;font-style:normal;font-weight:400;line-height:1.3;margin:0;text-transform:none}.tox .tox-dialog__body{color:#fff;display:flex;flex:1;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;min-width:0;text-align:left;text-transform:none}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body{flex-direction:column}}.tox .tox-dialog__body-nav{align-items:flex-start;display:flex;flex-direction:column;flex-shrink:0;padding:16px 16px}@media only screen and (min-width:768px){.tox .tox-dialog__body-nav{max-width:11em}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body-nav{flex-direction:row;-webkit-overflow-scrolling:touch;overflow-x:auto;padding-bottom:0}}.tox .tox-dialog__body-nav-item{border-bottom:2px solid transparent;color:rgba(255,255,255,.5);display:inline-block;flex-shrink:0;font-size:14px;line-height:1.3;margin-bottom:8px;max-width:13em;-webkit-text-decoration:none;text-decoration:none}.tox .tox-dialog__body-nav-item:focus{background-color:rgba(32,122,183,.1)}.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid #90bddb;color:#90bddb}@media (forced-colors:active){.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid highlight;color:highlight}}.tox .tox-dialog__body-content{box-sizing:border-box;display:flex;flex:1;flex-direction:column;max-height:min(650px,calc(100vh - 110px));overflow:auto;-webkit-overflow-scrolling:touch;padding:16px 16px}.tox .tox-dialog__body-content>*{margin-bottom:0;margin-top:16px}.tox .tox-dialog__body-content>:first-child{margin-top:0}.tox .tox-dialog__body-content>:last-child{margin-bottom:0}.tox .tox-dialog__body-content>:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content a{color:#90bddb;cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content a:focus,.tox .tox-dialog__body-content a:hover{color:#428fc2;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content a:focus-visible{border-radius:1px;outline:2px solid #90bddb;outline-offset:2px}.tox .tox-dialog__body-content a:active{color:#33739e;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content svg{fill:#fff}.tox .tox-dialog__body-content strong{font-weight:700}.tox .tox-dialog__body-content ul{list-style-type:disc}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{padding-inline-start:2.5rem}.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{margin-bottom:16px}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content dt,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{display:block;margin-inline-end:0;margin-inline-start:0}.tox .tox-dialog__body-content .tox-form__group h1{color:#fff;font-size:20px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group h2{color:#fff;font-size:16px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group p{margin-bottom:16px}.tox .tox-dialog__body-content .tox-form__group h1:first-child,.tox .tox-dialog__body-content .tox-form__group h2:first-child,.tox .tox-dialog__body-content .tox-form__group p:first-child{margin-top:0}.tox .tox-dialog__body-content .tox-form__group h1:last-child,.tox .tox-dialog__body-content .tox-form__group h2:last-child,.tox .tox-dialog__body-content .tox-form__group p:last-child{margin-bottom:0}.tox .tox-dialog__body-content .tox-form__group h1:only-child,.tox .tox-dialog__body-content .tox-form__group h2:only-child,.tox .tox-dialog__body-content .tox-form__group p:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--center{text-align:center}.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--end{text-align:end}.tox .tox-dialog--width-lg{height:650px;max-width:1200px}.tox .tox-dialog--fullscreen{height:100%;max-width:100%}.tox .tox-dialog--fullscreen .tox-dialog__body-content{max-height:100%}.tox .tox-dialog--width-md{max-width:800px}.tox .tox-dialog--width-md .tox-dialog__body-content{overflow:auto}.tox .tox-dialog__body-content--centered{text-align:center}.tox .tox-dialog__footer{align-items:center;background-color:#2b3b4e;border-top:1px solid #000;display:flex;justify-content:space-between;padding:8px 16px}.tox .tox-dialog__footer-end,.tox .tox-dialog__footer-start{display:flex}.tox .tox-dialog__busy-spinner{align-items:center;background-color:rgba(34,47,62,.75);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:3}.tox .tox-dialog__table{border-collapse:collapse;width:100%}.tox .tox-dialog__table thead th{font-weight:700;padding-bottom:8px}.tox .tox-dialog__table thead th:first-child{padding-right:8px}.tox .tox-dialog__table tbody tr{border-bottom:1px solid #000}.tox .tox-dialog__table tbody tr:last-child{border-bottom:none}.tox .tox-dialog__table td{padding-bottom:8px;padding-top:8px}.tox .tox-dialog__table td:first-child{padding-right:8px}.tox .tox-dialog__iframe{min-height:200px}.tox .tox-dialog__iframe.tox-dialog__iframe--opaque{background:#fff}.tox .tox-navobj-bordered{position:relative}.tox .tox-navobj-bordered::before{border:1px solid #000;border-radius:3px;content:'';inset:0;opacity:1;pointer-events:none;position:absolute;z-index:1}.tox .tox-navobj-bordered iframe{border-radius:3px}.tox .tox-navobj-bordered-focus.tox-navobj-bordered::before{border-color:#207ab7;box-shadow:none;outline:2px solid rgba(32,122,183,.25)}.tox .tox-dialog__popups{position:absolute;width:100%;z-index:1100}.tox .tox-dialog__body-iframe{display:flex;flex:1;flex-direction:column}.tox .tox-dialog__body-iframe .tox-navobj{display:flex;flex:1}.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2){flex:1;height:100%}.tox .tox-dialog-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-dialog-dock-fadein{opacity:1;visibility:visible}.tox .tox-dialog-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein{transition-delay:0s}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav{margin-right:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav-item:not(:first-child){margin-left:8px}}.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-end>*,.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-start>*{margin-left:8px}.tox[dir=rtl] .tox-dialog__body{text-align:right}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav{margin-left:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav-item:not(:first-child){margin-right:8px}}.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-end>*,.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-start>*{margin-right:8px}.tox .tox-dropdown-content{box-shadow:0 0 2px 0 rgba(42,55,70,.2),0 4px 8px 0 rgba(42,55,70,.15);position:fixed;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;overflow:auto;height:fit-content;width:fit-content;border-radius:var(--tox-private-panel-border-radius,3px);background-color:var(--tox-private-background-color,#222f3e);max-height:50vh}.tox .tox-dropdown-content .tox-menu{width:100%;box-shadow:none}body.tox-dialog__disable-scroll{overflow:hidden}.tox .tox-dropzone-container{display:flex;flex:1}.tox .tox-dropzone{align-items:center;background:#fff;border:2px dashed #000;box-sizing:border-box;display:flex;flex-direction:column;flex-grow:1;justify-content:center;min-height:100px;padding:10px}.tox .tox-dropzone p{color:rgba(255,255,255,.5);margin:0 0 16px 0}.tox .tox-edit-area{display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-edit-area::before{border:0 solid transparent;border-radius:4px;content:'';inset:0;opacity:0;pointer-events:none;position:absolute;transition:opacity .15s;z-index:1}@media (forced-colors:active){.tox .tox-edit-area::before{border:0 solid highlight}}.tox .tox-edit-area__iframe{background-color:#fff;border:0;box-sizing:border-box;flex:1;height:100%;position:absolute;width:100%}.tox.tox-edit-focus .tox-edit-area::before{opacity:1}.tox.tox-inline-edit-area{border:1px dotted #000}.tox .tox-expandable-box{background:var(--tox-private-background-color,#222f3e);border-radius:var(--tox-private-control-border-radius,3px);border:1px solid var(--tox-private-border-color,#000);display:flex;flex-direction:column;justify-content:stretch;overflow:hidden}.tox .tox-expandable-box>.tox-button{margin:0 var(--tox-private-pad-md,16px) var(--tox-private-pad-md,16px)}.tox .tox-expandable-box__title{align-items:center;background:hsl(from var(--tox-private-color-tint,#207ab7) h s l / 10%);border-bottom:1px solid var(--tox-private-border-color,#000);color:var(--tox-private-text-color,#fff);display:flex;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);gap:var(--tox-private-pad-sm,8px);min-width:0;padding:var(--tox-private-pad-sm,8px) var(--tox-private-pad-md,16px)}.tox .tox-expandable-box__title .tox-icon{flex-shrink:0;height:var(--tox-private-base-value,16px);fill:var(--tox-private-text-color,#fff)}.tox .tox-expandable-box__title-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-expandable-box__content{margin:var(--tox-private-pad-md,16px);overflow:auto}.tox .tox-expandable-box__content--overflowing{position:relative;overflow:hidden}.tox .tox-expandable-box__content--overflowing::after{content:'';position:absolute;bottom:0;left:0;right:0;height:min(100px,100%);pointer-events:none;background:linear-gradient(to bottom,transparent 50%,var(--tox-private-background-color,#222f3e))}.tox .tox-expandable-box__content--expanded{max-height:fit-content}.tox .tox-control-wrap{flex:1;position:relative}.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid,.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown,.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid{display:none}.tox .tox-control-wrap svg{display:block}.tox .tox-control-wrap__status-icon-wrap{position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-control-wrap__status-icon-invalid svg{fill:#c00}.tox .tox-control-wrap__status-icon-unknown svg{fill:orange}.tox .tox-control-wrap__status-icon-valid svg{fill:green}.tox:not([dir=rtl]) .tox-control-wrap--status-invalid .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-unknown .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-valid .tox-textfield{padding-right:32px}.tox:not([dir=rtl]) .tox-control-wrap__status-icon-wrap{right:4px}.tox[dir=rtl] .tox-control-wrap--status-invalid .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-unknown .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-valid .tox-textfield{padding-left:32px}.tox[dir=rtl] .tox-control-wrap__status-icon-wrap{left:4px}.tox .tox-custom-preview{border-color:#000;border-radius:3px;border-style:solid;border-width:1px;flex:1;padding:8px}.tox .tox-autocompleter{max-width:25em}.tox .tox-autocompleter .tox-menu{box-sizing:border-box;max-width:25em}.tox .tox-autocompleter .tox-autocompleter-highlight{font-weight:700}.tox .tox-color-input{display:flex;position:relative;z-index:1}.tox .tox-color-input .tox-textfield{z-index:-1}.tox .tox-color-input span{border-color:rgba(42 55 70 / 20%);border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;height:24px;position:absolute;top:6px;width:24px}@media (forced-colors:active){.tox .tox-color-input span{border-color:currentColor;border-width:2px!important;forced-color-adjust:none}}.tox .tox-color-input span:focus:not([aria-disabled=true]),.tox .tox-color-input span:hover:not([aria-disabled=true]){border-color:#207ab7;cursor:pointer}.tox .tox-color-input span::before{background-image:linear-gradient(45deg,rgba(255,255,255,.25) 25%,transparent 25%),linear-gradient(-45deg,rgba(255,255,255,.25) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(255,255,255,.25) 75%),linear-gradient(-45deg,transparent 75%,rgba(255,255,255,.25) 75%);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px;border:1px solid #2b3b4e;border-radius:3px;box-sizing:border-box;content:'';height:24px;left:-1px;position:absolute;top:-1px;width:24px;z-index:-1}@media (forced-colors:active){.tox .tox-color-input span::before{border:none}}.tox .tox-color-input span[aria-disabled=true]{cursor:not-allowed}.tox:not([dir=rtl]) .tox-color-input .tox-textfield{padding-left:36px}.tox:not([dir=rtl]) .tox-color-input span{left:6px}.tox[dir=rtl] .tox-color-input .tox-textfield{padding-right:36px}.tox[dir=rtl] .tox-color-input span{right:6px}.tox .tox-label,.tox .tox-toolbar-label{color:rgba(255,255,255,.5);display:block;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;padding:0 8px 0 0;text-transform:none;white-space:nowrap}.tox .tox-toolbar-label{padding:0 8px}.tox[dir=rtl] .tox-label{padding:0 0 0 8px}.tox .tox-form{display:flex;flex:1;flex-direction:column}.tox .tox-form__group{box-sizing:border-box;margin-bottom:4px}.tox .tox-form-group--maximize{flex:1}.tox .tox-form__group--error{color:#c00}.tox .tox-form__group--collection{display:flex}.tox .tox-form__grid{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}.tox .tox-form__grid--2col>.tox-form__group{width:calc(50% - (8px / 2))}.tox .tox-form__grid--3col>.tox-form__group{width:calc(100% / 3 - (8px / 2))}.tox .tox-form__grid--4col>.tox-form__group{width:calc(25% - (8px / 2))}.tox .tox-form__controls-h-stack{align-items:center;display:flex}.tox .tox-form__group--inline{align-items:center;display:flex}.tox .tox-form__group--stretched{display:flex;flex:1;flex-direction:column}.tox .tox-form__group--stretched .tox-textarea{flex:1}.tox .tox-form__group--stretched .tox-navobj{display:flex;flex:1}.tox .tox-form__group--stretched .tox-navobj :nth-child(2){flex:1;height:100%}.tox:not([dir=rtl]) .tox-form__controls-h-stack>:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-form__controls-h-stack>:not(:first-child){margin-right:4px}.tox .tox-lock.tox-locked .tox-lock-icon__unlock,.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock{display:none}.tox .tox-context-form__group .tox-button--icon.tox-lock-context-form-size-input{margin-left:8px;margin-right:8px}.tox .tox-listboxfield .tox-listbox--select,.tox .tox-textarea,.tox .tox-textarea-wrap .tox-textarea:focus,.tox .tox-textfield,.tox .tox-toolbar-textfield{appearance:none;background-color:#2b3b4e;border-color:#000;border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 4.75px;resize:none;width:100%}.tox .tox-textarea[disabled],.tox .tox-textfield[disabled],.tox .tox-toolbar-textfield[disabled]{background-color:#222f3e;color:rgba(255,255,255,.85);cursor:not-allowed}.tox .tox-custom-editor:focus-within,.tox .tox-focusable-wrapper:focus,.tox .tox-listboxfield .tox-listbox--select:focus,.tox .tox-textarea-wrap:focus-within,.tox .tox-textarea:focus,.tox .tox-textfield:focus,.tox .tox-toolbar-textfield:focus{background-color:#2b3b4e;border-color:#207ab7;box-shadow:none;outline:2px solid rgba(32,122,183,.25)}.tox .tox-toolbar-textfield{max-width:250px;min-height:unset;height:34px;margin:2px 0 3px 0}.tox .tox-naked-btn{background-color:transparent;border:0;border-color:transparent;box-shadow:unset;color:#207ab7;cursor:pointer;display:block;margin:0;padding:0}.tox .tox-naked-btn svg{display:block;fill:#fff}.tox .tox-textfield-size{width:80px}.tox:not([dir=rtl]) .tox-toolbar-textfield+*{margin-left:4px}.tox[dir=rtl] .tox-toolbar-textfield+*{margin-right:4px}.tox .tox-listboxfield{cursor:pointer;position:relative}.tox .tox-listboxfield .tox-listbox--select[disabled]{background-color:#19232e;color:rgba(255,255,255,.85);cursor:not-allowed}.tox .tox-listbox__select-label{cursor:default;flex:1;margin:0 4px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-listbox__menu .tox-menu{box-sizing:border-box}.tox .tox-listbox__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-listbox__select-chevron svg{fill:#fff}@media (forced-colors:active){.tox .tox-listbox__select-chevron svg{fill:currentColor!important}}.tox .tox-listboxfield .tox-listbox--select{align-items:center;display:flex}.tox:not([dir=rtl]) .tox-listboxfield svg{right:8px}.tox[dir=rtl] .tox-listboxfield svg{left:8px}.tox .tox-selectfield{cursor:pointer;position:relative}.tox .tox-selectfield select{appearance:none;background-color:#2b3b4e;border-color:#000;border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 4.75px;resize:none;width:100%}.tox .tox-selectfield select[disabled]{background-color:#19232e;color:rgba(255,255,255,.85);cursor:not-allowed}.tox .tox-selectfield select::-ms-expand{display:none}.tox .tox-selectfield select:focus{background-color:#2b3b4e;border-color:#207ab7;box-shadow:none;outline:2px solid rgba(32,122,183,.25)}.tox .tox-selectfield svg{pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-selectfield select option:checked{background-color:revert;color:revert}.tox:not([dir=rtl]) .tox-selectfield select[size="0"],.tox:not([dir=rtl]) .tox-selectfield select[size="1"]{padding-right:24px}.tox:not([dir=rtl]) .tox-selectfield svg{right:8px}.tox[dir=rtl] .tox-selectfield select[size="0"],.tox[dir=rtl] .tox-selectfield select[size="1"]{padding-left:24px}.tox[dir=rtl] .tox-selectfield svg{left:8px}.tox .tox-textarea-wrap{border-color:#000;border-radius:3px;border-style:solid;border-width:1px;display:flex;flex:1;overflow:hidden}.tox .tox-textarea{appearance:textarea;white-space:pre-wrap}.tox .tox-textarea-wrap .tox-textarea{border:none}.tox .tox-textarea-wrap .tox-textarea:focus{border:none}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}.tox .tox-help__more-link{list-style:none;margin-top:1em}.tox .tox-imagepreview{background-color:#666;height:380px;overflow:hidden;position:relative;width:100%}.tox .tox-imagepreview.tox-imagepreview__loaded{overflow:auto}.tox .tox-imagepreview__container{display:flex;left:100vw;position:absolute;top:100vw}.tox .tox-imagepreview__image{background:url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==)}.tox .tox-image-tools .tox-spacer{flex:1}.tox .tox-image-tools .tox-bar{align-items:center;display:flex;height:60px;justify-content:center}.tox .tox-image-tools .tox-imagepreview,.tox .tox-image-tools .tox-imagepreview+.tox-bar{margin-top:8px}.tox .tox-image-tools .tox-croprect-block{background:#000;opacity:.5;position:absolute;zoom:1}.tox .tox-image-tools .tox-croprect-handle{border:2px solid #fff;height:20px;left:0;position:absolute;top:0;width:20px}.tox .tox-image-tools .tox-croprect-handle-move{border:0;cursor:move;position:absolute}.tox .tox-image-tools .tox-croprect-handle-nw{border-width:2px 0 0 2px;cursor:nw-resize;left:100px;margin:-2px 0 0 -2px;top:100px}.tox .tox-image-tools .tox-croprect-handle-ne{border-width:2px 2px 0 0;cursor:ne-resize;left:200px;margin:-2px 0 0 -20px;top:100px}.tox .tox-image-tools .tox-croprect-handle-sw{border-width:0 0 2px 2px;cursor:sw-resize;left:100px;margin:-20px 2px 0 -2px;top:200px}.tox .tox-image-tools .tox-croprect-handle-se{border-width:0 2px 2px 0;cursor:se-resize;left:200px;margin:-20px 0 0 -20px;top:200px}.tox .tox-image-selector-loading-spinner-wrapper{display:flex;justify-content:center;align-items:center}.tox .tox-image-selector-loading-spinner{position:absolute;width:min(24px,30%);aspect-ratio:1/1;border-radius:50%;border:3px solid #207ab7;border-bottom-color:transparent;animation:tox-rotation 1s linear infinite}.tox .tox-toolbar .tox-image-selector,.tox .tox-toolbar__overflow .tox-image-selector,.tox .tox-toolbar__primary .tox-image-selector{margin:2px 0 3px 4px}.tox .tox-image-selector-menu{border:0;border-radius:3px;margin:-4px 0;padding:4px}.tox .tox-image-selector-menu .tox-collection--list .tox-collection__group{border:0;padding:0;margin:-4px 0}.tox .tox-image-selector-menu .tox-collection__item{max-width:48px}.tox .tox-image-selector-menu .tox-collection__item-icon{border:1px solid #000;border-radius:3px;margin-bottom:4px;width:100%}.tox .tox-image-selector-menu .tox-collection__item-icon svg path{stroke:#c00}.tox .tox-image-selector__row{display:flex}.tox .tox-image-selector--remove{align-items:center;display:flex;justify-content:center}.tox .tox-image-selector--remove svg path{stroke:#c00}.tox .tox-image-selector-image-wrapper{width:46px;height:46px;display:flex;align-items:center;justify-content:center}.tox .tox-image-selector-image-img{max-width:100%;max-height:100%}.tox .tox-image-selector__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-image-selector__picker-btn svg{fill:#fff;height:24px;width:24px}.tox .tox-image-selector__picker-btn:hover{background:#4a5562}.tox .tox-context-toolbar{position:absolute;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;z-index:1150;background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color,#fff);border:1px solid #364a62;border-radius:6px;box-shadow:0 2px 8px rgba(0,0,0,.08);padding:8px}.tox .tox-context-toolbar[popover]{inset:auto;margin:0}.tox .tox-context-toolbar .tox-toolbar{display:flex;flex-wrap:nowrap;gap:8px}.tox .tox-context-toolbar .tox-toolbar__group{display:flex;flex-wrap:nowrap;flex-shrink:0;gap:8px;align-items:center;padding:0}.tox .tox-insert-table-picker{background-color:#222f3e;display:flex;flex-wrap:wrap;width:170px}.tox .tox-insert-table-picker>div{border-color:#000;border-style:solid;border-width:0 1px 1px 0;box-sizing:border-box;height:17px;width:17px}.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker{margin:0 -4px}.tox .tox-insert-table-picker .tox-insert-table-picker__selected{background-color:rgba(32,122,183,.5);border-color:rgba(32,122,183,.5)}@media (forced-colors:active){.tox .tox-insert-table-picker .tox-insert-table-picker__selected{border-color:Highlight;filter:contrast(50%)}}.tox .tox-insert-table-picker__label{color:#fff;display:block;font-size:14px;padding:4px;text-align:center;width:100%}.tox:not([dir=rtl]) .tox-insert-table-picker>div:nth-child(10n){border-right:0}.tox[dir=rtl] .tox-insert-table-picker>div:nth-child(10n+1){border-right:0}.tox-mentions__card-common{z-index:1200}.tox.tox-mentions__card{background:#222f3e;border:1px solid #000;display:flex;padding:4px 8px}.tox.tox-mentions__card .tox-mentions__container{display:flex;flex-direction:column;align-self:center;margin:0 4px}.tox .tox-mentions__avatar{width:42px;height:42px;border-radius:50%;margin-right:4px}.tox .tox-mentions__username{font-size:14px;line-height:21px;color:#fff}.tox .tox-mentions__description{font-size:12px;line-height:21px;color:rgba(255,255,255,.5)}.tox .tox-collection__item--active .tox-mentions__description,.tox .tox-collection__item--active .tox-mentions__username{color:inherit}.tox .tox-menu{background-color:#2b3b4e;border:1px solid #000;border-radius:3px;box-shadow:0 4px 8px 0 rgba(42,55,70,.1);display:inline-block;overflow:hidden;vertical-align:top;z-index:1150}.tox .tox-menu.tox-collection.tox-collection--list{padding:0 0}.tox .tox-menu.tox-collection.tox-collection--toolbar{padding:4px}.tox .tox-menu.tox-collection.tox-collection--grid{padding:4px}@media only screen and (min-width:768px){.tox .tox-menu .tox-collection__item-label{overflow-wrap:break-word;word-break:normal}.tox .tox-dialog__popups .tox-menu .tox-collection__item-label{word-break:break-all}}.tox .tox-menu__label blockquote,.tox .tox-menu__label code,.tox .tox-menu__label h1,.tox .tox-menu__label h2,.tox .tox-menu__label h3,.tox .tox-menu__label h4,.tox .tox-menu__label h5,.tox .tox-menu__label h6,.tox .tox-menu__label p{margin:0}.tox .tox-menubar{background: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;background-color:#222f3e;display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;grid-column:1/-1;grid-row:1;padding:0 4px 0 4px}.tox .tox-promotion+.tox-menubar{grid-column:1}@media (max-width:480px){.tox:not(.tox-tinymce-inline) .tox-menubar{flex-wrap:nowrap;min-width:0;min-height:39px;overflow-x:auto;overflow-y:hidden}}.tox .tox-promotion{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;background-color:#222f3e;grid-column:2;grid-row:1;padding-inline-end:8px;padding-inline-start:4px;padding-top:5px}.tox .tox-promotion-link{align-items:unsafe center;background-color:#e8f1f8;border-radius:5px;color:#086be6;cursor:pointer;display:flex;font-size:14px;height:26.6px;padding:4px 8px;white-space:nowrap}.tox .tox-promotion-link:hover{background-color:#b4d7ff}.tox .tox-promotion-link:focus{background-color:#d9edf7}.tox .tox-mbtn{align-items:center;background:#222f3e;border:0;border-radius:3px;box-shadow:none;color:#fff;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:34px;justify-content:center;margin:2px 0 3px 0;outline:0;padding:0 4px;text-transform:none;width:auto}.tox .tox-mbtn[disabled]{background-color:#222f3e;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-mbtn:focus:not(:disabled){background:#4a5562;border:0;box-shadow:none;color:#fff;position:relative;z-index:1}.tox .tox-mbtn:focus:not(:disabled)::after{pointer-events:none;border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-mbtn:focus:not(:disabled)::after{border:2px solid highlight}}.tox .tox-mbtn--active,.tox .tox-mbtn:not(:disabled).tox-mbtn--active:focus{background:#757d87;border:0;box-shadow:none;color:#fff}.tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active){background:#4a5562;border:0;box-shadow:none;color:#fff}.tox .tox-mbtn__select-label{cursor:default;font-weight:400;margin:0 4px}.tox .tox-mbtn[disabled] .tox-mbtn__select-label{cursor:not-allowed}.tox .tox-mbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px;display:none}.tox .tox-notification{border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;display:grid;font-size:14px;font-weight:400;grid-template-columns:minmax(40px,1fr) auto minmax(40px,1fr);margin-left:auto;margin-right:auto;margin-top:4px;opacity:0;padding:4px;transition:transform .1s ease-in,opacity 150ms ease-in;width:max-content}.tox .tox-notification a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification p{font-size:14px;font-weight:400}.tox .tox-notification:focus{border-color:#207ab7;box-shadow:none}.tox .tox-notification--in{opacity:1}.tox .tox-notification--success{background-color:#334840;border-color:#3c5440;color:#fff}.tox .tox-notification--success p{color:#fff}.tox .tox-notification--success a{color:#b5d199}.tox .tox-notification--success a:focus,.tox .tox-notification--success a:hover{color:#82b153;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--success a:focus-visible{border-radius:1px;outline:2px solid #b5d199;outline-offset:2px}.tox .tox-notification--success a:active{color:#689041;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--success svg{fill:#fff}.tox .tox-notification--error{background-color:#442632;border-color:#55212b;color:#fff}.tox .tox-notification--error p{color:#fff}.tox .tox-notification--error a{color:#e68080}.tox .tox-notification--error a:focus,.tox .tox-notification--error a:hover{color:#d42b2b;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--error a:focus-visible{border-radius:1px;outline:2px solid #e68080;outline-offset:2px}.tox .tox-notification--error a:active{color:#a22;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--error svg{fill:#fff}.tox .tox-notification--warn,.tox .tox-notification--warning{background-color:#222f3e;border-color:#000;color:#fff0b3}.tox .tox-notification--warn p,.tox .tox-notification--warning p{color:#fff0b3}.tox .tox-notification--warn a,.tox .tox-notification--warning a{color:#fc0}.tox .tox-notification--warn a:focus,.tox .tox-notification--warn a:hover,.tox .tox-notification--warning a:focus,.tox .tox-notification--warning a:hover{color:#997a00;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--warn a:focus-visible,.tox .tox-notification--warning a:focus-visible{border-radius:1px;outline:2px solid #ffcc00;outline-offset:2px}.tox .tox-notification--warn a:active,.tox .tox-notification--warning a:active{color:#665200;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--warn svg,.tox .tox-notification--warning svg{fill:#fff0b3}.tox .tox-notification--info{background-color:#254161;border-color:#264972;color:#fff}.tox .tox-notification--info p{color:#fff}.tox .tox-notification--info a{color:#83b7f3}.tox .tox-notification--info a:focus,.tox .tox-notification--info a:hover{color:#2681ea;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--info a:focus-visible{border-radius:1px;outline:2px solid #83b7f3;outline-offset:2px}.tox .tox-notification--info a:active{color:#1368c9;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--info svg{fill:#fff}.tox .tox-notification__body{align-self:center;color:#fff;font-size:14px;grid-column-end:3;grid-column-start:2;grid-row-end:2;grid-row-start:1;text-align:center;white-space:normal;word-break:break-all;word-break:break-word}.tox .tox-notification__body>*{margin:0}.tox .tox-notification__body>*+*{margin-top:1rem}.tox .tox-notification__icon{align-self:center;grid-column-end:2;grid-column-start:1;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification__icon svg{display:block}.tox .tox-notification__dismiss{align-self:start;grid-column-end:4;grid-column-start:3;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification .tox-progress-bar{grid-column-end:4;grid-column-start:1;grid-row-end:3;grid-row-start:2;justify-self:center}.tox .tox-notification-container-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-notification-container-dock-fadein{opacity:1;visibility:visible}.tox .tox-notification-container-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-notification-container-dock-transition.tox-notification-container-dock-fadein{transition-delay:0s}.tox .tox-onboarding-overlay{height:100%;background-color:#17202a;position:absolute;top:0;left:0;right:0;z-index:1302;overflow:auto;display:grid;justify-content:center;align-items:center}.tox .tox-onboarding-dialog{max-width:512px;background-color:#222f3e;display:flex;flex-direction:column;box-shadow:0 16px 16px -10px rgba(42,55,70,.15),0 0 40px 1px rgba(42,55,70,.15);border-radius:12px;margin:8px}.tox .tox-onboarding-dialog .tox-onboarding-header{color:#fff;display:flex;justify-content:center;align-items:center;font-size:20px;margin:24px 0 8px}.tox .tox-onboarding-dialog .tox-onboarding-step{display:grid;grid-template-columns:min-content 1fr min-content;align-items:center;margin:0 24px}.tox .tox-onboarding-dialog .tox-onboarding-step:not(:last-child){border-bottom:1px solid #000}.tox .tox-onboarding-dialog .tox-onboarding-step--number{width:24px;aspect-ratio:1/1;border-radius:50%;border:1px solid #00ad0e;display:flex;justify-content:center;align-items:center;font-size:12px;font-weight:700;color:#00ad0e}.tox .tox-onboarding-dialog .tox-onboarding-step--body{padding:24px 0 24px 16px}.tox .tox-onboarding-dialog .tox-onboarding-step--body-header{color:#fff;font-size:14px;font-weight:700;margin-bottom:4px}.tox .tox-onboarding-dialog .tox-onboarding-step--body-details{color:rgba(255,255,255,.5);font-size:14px}.tox .tox-onboarding-dialog .tox-onboarding-step--action{padding-left:24px}.tox .tox-onboarding-dialog .tox-onboarding-footer{background-color:#2b3b4e;display:flex;justify-content:space-between;align-items:center;padding:16px 24px;border-bottom-left-radius:12px;border-bottom-right-radius:12px}.tox .tox-onboarding-dialog .tox-onboarding-footer p{display:flex;align-items:center;justify-content:center;gap:4px;font-size:14px;color:rgba(255,255,255,.5)}.tox .tox-onboarding-dialog svg{width:24px;fill:rgba(255,255,255,0.5)}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin{display:grid;align-items:center;grid-template-columns:min-content 1fr min-content;border-bottom:1px solid #000;padding:24px 0;margin:0 16px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body{margin:0 16px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body .tox-promotion-dialog-plugin-header{color:#fff;font-size:14px;font-weight:700;margin-bottom:4px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body .tox-promotion-dialog-plugin-details{color:rgba(255,255,255,.5);font-size:14px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--icon{display:grid;place-content:center;width:56px;height:56px;line-height:24px;font-size:24px;border-radius:12px;background:linear-gradient(180deg,#2b3b4e 24%,#202d3b 100%);box-shadow:0 1px 1px 0 #222f3e12,0 3px 6px 0 #222f3e06;color:#207ab7}.tox .tox-promotion-dialog--subtitle{margin:16px;color:rgba(255,255,255,.5);font-size:14px}.tox .tox-promotion-dialog--explore{text-align:center;margin:16px;color:rgba(255,255,255,.5);font-size:14px}.tox .tox-promotion-dialog--explore a{color:#207ab7}.tox .tox-promotion-dialog--footer{background-color:#17202a;color:rgba(255,255,255,.5);font-size:12px;text-align:center;padding:16px}.tox .tox-promotion-button{display:flex;align-items:center;height:26.6px;line-height:26.6px;font-size:14px;font-weight:700;background-color:#55367a;color:#c290fb;padding:8px 16px;cursor:pointer;white-space:nowrap;border-radius:5px}.tox .tox-promotion-button:focus{outline:1px solid #C290FB}.tox .tox-onboarding-dialog a,.tox .tox-promotion-dialog--footer a{color:rgba(255,255,255,.5);cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-onboarding-dialog a:focus,.tox .tox-onboarding-dialog a:hover,.tox .tox-promotion-dialog--footer a:focus,.tox .tox-promotion-dialog--footer a:hover{color:#428fc2;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-onboarding-dialog a:focus-visible,.tox .tox-promotion-dialog--footer a:focus-visible{border-radius:1px;outline:2px solid #90bddb;outline-offset:2px}.tox .tox-onboarding-dialog a:active,.tox .tox-promotion-dialog--footer a:active{color:#33739e;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-pop{display:inline-block;position:relative}.tox .tox-pop--resizing{transition:width .1s ease}.tox .tox-pop--resizing .tox-toolbar,.tox .tox-pop--resizing .tox-toolbar__group{flex-wrap:nowrap}.tox .tox-pop--transition{transition:.15s ease;transition-property:left,right,top,bottom}.tox .tox-pop--transition::after,.tox .tox-pop--transition::before{transition:all .15s,visibility 0s,opacity 75ms ease 75ms}.tox .tox-pop__dialog{background-color:#222f3e;border:1px solid #000;border-radius:3px;box-shadow:0 0 2px 0 rgba(42,55,70,.2),0 4px 8px 0 rgba(42,55,70,.15);min-width:0;overflow:hidden}.tox .tox-pop__dialog>:not(.tox-toolbar){margin:4px 4px 4px 8px}.tox .tox-pop__dialog .tox-toolbar{background-color:transparent;margin-bottom:-1px}.tox .tox-pop::after,.tox .tox-pop::before{border-style:solid;content:'';display:block;height:0;opacity:1;position:absolute;width:0}@media (forced-colors:active){.tox .tox-pop::after,.tox .tox-pop::before{content:none}}.tox .tox-pop.tox-pop--inset::after,.tox .tox-pop.tox-pop--inset::before{opacity:0;transition:all 0s .15s,visibility 0s,opacity 75ms ease}.tox .tox-pop.tox-pop--bottom::after,.tox .tox-pop.tox-pop--bottom::before{left:50%;top:100%}.tox .tox-pop.tox-pop--bottom::after{border-color:#222f3e transparent transparent transparent;border-width:8px;margin-left:-8px;margin-top:-1px}.tox .tox-pop.tox-pop--bottom::before{border-color:#000 transparent transparent transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--top::after,.tox .tox-pop.tox-pop--top::before{left:50%;top:0;transform:translateY(-100%)}.tox .tox-pop.tox-pop--top::after{border-color:transparent transparent #222f3e transparent;border-width:8px;margin-left:-8px;margin-top:1px}.tox .tox-pop.tox-pop--top::before{border-color:transparent transparent #000 transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--left::after,.tox .tox-pop.tox-pop--left::before{left:0;top:calc(50% - 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--left::after{border-color:transparent #222f3e transparent transparent;border-width:8px;margin-left:-15px}.tox .tox-pop.tox-pop--left::before{border-color:transparent #000 transparent transparent;border-width:10px;margin-left:-19px}.tox .tox-pop.tox-pop--right::after,.tox .tox-pop.tox-pop--right::before{left:100%;top:calc(50% + 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--right::after{border-color:transparent transparent transparent #222f3e;border-width:8px;margin-left:-1px}.tox .tox-pop.tox-pop--right::before{border-color:transparent transparent transparent #000;border-width:10px;margin-left:-1px}.tox .tox-pop.tox-pop--align-left::after,.tox .tox-pop.tox-pop--align-left::before{left:20px}.tox .tox-pop.tox-pop--align-right::after,.tox .tox-pop.tox-pop--align-right::before{left:calc(100% - 20px)}.tox.tox-edit-focus .tox-sidebar__resize-handle:hover::before{border-left:0 solid transparent}.tox .tox-sidebar-wrap{--tox-private-min-editing-area-width:280px;flex-grow:1;min-height:0}.tox .tox-sidebar-wrap:not(.tox .tox-sidebar-wrap--resizable){display:flex;flex-direction:row}.tox .tox-sidebar-wrap--resizable{display:grid;grid-template-columns:minmax(var(--tox-private-min-editing-area-width),1fr) minmax(0,max-content);grid-template-rows:minmax(0,1fr)}.tox .tox-sidebar{background-color:var(--tox-private-sidebar-background-color,#34485f);display:flex;flex-direction:row;justify-content:flex-end}.tox .tox-sidebar__slider{display:flex;overflow:hidden}.tox .tox-sidebar-wrap--resizable .tox-sidebar__pane-container{width:var(--tox-private-requested-sidebar-width)}.tox .tox-sidebar-wrap--resizable .tox-sidebar--sliding-growing .tox-sidebar__pane-container,.tox .tox-sidebar-wrap--resizable .tox-sidebar--sliding-shrinking .tox-sidebar__pane-container{width:var(--tox-private-resolved-sidebar-width);min-width:var(--tox-private-resolved-sidebar-width)}.tox .tox-sidebar__pane-container{display:flex}.tox .tox-sidebar-wrap--resizable .tox-sidebar__resize-handle{display:block}.tox .tox-sidebar__resize-handle{display:none;position:relative;width:var(--tox-private-sidebar-resize-handle-width,1px);height:100%;cursor:col-resize;background-color:var(--tox-private-separator-color,#000);z-index:1}.tox .tox-sidebar__resize-handle::before{content:'';position:absolute;top:0;bottom:0;width:8px;box-sizing:border-box;border-left:0 solid transparent;transition:border-left-width .15s ease,border-left-color .15s ease}.tox .tox-sidebar__resize-handle:hover::before{border-left:3px solid #207ab7}.tox .tox-sidebar-wrap--resizable .tox-sidebar__pane{width:calc(100% - var(--tox-private-sidebar-resize-handle-width,1px))}.tox .tox-sidebar__pane{display:flex}.tox .tox-sidebar--sliding-closed{opacity:0}.tox .tox-sidebar--sliding-open{opacity:1}.tox .tox-sidebar--sliding-growing,.tox .tox-sidebar--sliding-shrinking{transition:width .5s ease,opacity .5s ease}.tox .tox-sidebar-content{display:flex;flex-direction:column;position:relative;width:100%;height:100%}.tox .tox-sidebar-content__header{align-items:center;display:flex;justify-content:space-between;border-bottom:var(--tox-private-tinymceai-border-width,1px) solid var(--tox-private-neutral-20,#0e141a);padding:var(--tox-private-pad-sm,8px) 12px;background:var(--tox-private-background-color,#222f3e)}.tox .tox-sidebar-content__header .tox-sidebar-content__header-close-button{margin-left:auto}.tox .tox-sidebar-content__actions{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-sidebar-content__title{font-size:var(--tox-private-font-size-lg, 20px);font-weight:var(--tox-private-font-weight-normal,normal);padding:var(--tox-private-pad-sm,8px) 0 var(--tox-private-pad-sm,8px) 0;color:var(--tox-private-text-color,#fff);line-height:28px}.tox .tox-floating-sidebar{--tox-private-floating-sidebar-width:min(380px, 90vw);--tox-private-floating-sidebar-height:80vh;position:fixed;z-index:var(--tox-private-z-index-floatingsidebar,1050);box-shadow:var(--tox-private-floating-sidebar-box-shadow,0 0 40px 1px rgba(42,55,70,.15),0 16px 16px -10px rgba(42,55,70,.15),0 0 0 1px rgba(42,55,70,.15));width:var(--tox-private-floating-sidebar-width);height:var(--tox-private-floating-sidebar-height);background-color:var(--tox-private-floating-sidebar-background-color,#34485f);border-radius:var(--tox-private-panel-border-radius,3px);overflow:hidden}.tox .tox-floating-sidebar:not(.tox .tox-floating-sidebar--open){display:none}.tox .tox-floating-sidebar--open{display:block}.tox .tox-floating-sidebar__content-wrapper{width:100%;height:100%;display:flex;flex-direction:column}.tox .tox-floating-sidebar__header{position:relative}.tox .tox-floating-sidebar .tox-ai__scroll:has(.tox-card-list){background-color:inherit}.tox .tox-ai .tox-expandable-box{margin-bottom:calc(var(--tox-private-pad-md,16px) * .75)}.tox .tox-ai .tox-expandable-box .tox-expandable-box__content{margin:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-md,16px) * .75)}.tox .tox-ai .tox-expandable-box>.tox-button{margin:0 calc(var(--tox-private-pad-md,16px) * .75) var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-expandable-box:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#207ab7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-sidebar-content__header{border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-background-color,#222f3e);padding:calc(var(--tox-private-pad-sm,8px) - var(--tox-private-tinymceai-focus-border-width,2px)) calc(12px - var(--tox-private-tinymceai-focus-border-width,2px));border-bottom:1px solid var(--tox-private-separator-color,#000)}.tox .tox-ai .tox-sidebar-content__header:focus-visible:not(:disabled){border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#207ab7);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-sidebar-content__loader{align-items:center;display:flex;height:100%;justify-content:center;width:100%;z-index:1000}.tox .tox-ai .tox-sidebar-content__title{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin-right:auto}.tox .tox-ai .tox-sidebar-content__title:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#207ab7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-sidebar-content__actions .tox-ai__complete-review{display:flex;align-items:center;gap:6px;padding-top:var(--tox-private-pad-xs,4px);padding-bottom:var(--tox-private-pad-xs,4px);padding-left:var(--tox-private-pad-md,16px);padding-right:var(--tox-private-pad-md,16px)}.tox .tox-ai .tox-menu{width:-webkit-fill-available;width:-moz-available;width:stretch;overflow:visible}.tox .tox-ai .tox-ai__user-prompt{display:flex;flex-direction:column;margin-left:auto;gap:inherit;width:100%}.tox .tox-ai .tox-ai__user-prompt__context{margin-left:auto;display:flex;flex-direction:column;gap:inherit;align-items:end;width:100%}.tox .tox-ai .tox-ai__user-prompt__context .tox-tag{max-width:100%}.tox .tox-ai .tox-ai__user-prompt__text{background-color:var(--tox-private-background-secondary,#2f4055);padding:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-md,16px) * .75);border-radius:var(--tox-private-control-border-radius,3px);max-width:80%;align-self:flex-end;color:var(--tox-private-text-color,#fff);white-space:pre-wrap}.tox .tox-ai .tox-ai__user-prompt__text:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#207ab7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-ai__scroll{overflow-y:auto;overflow-x:hidden;background-color:var(--tox-private-background-color,#222f3e);display:flex;padding:12px;flex-direction:column;align-items:flex-start;gap:12px;flex:1 0 0;align-self:stretch}.tox .tox-ai .tox-ai__scroll:focus-visible:not(:disabled){outline:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#207ab7);outline-offset:calc(-1 * var(--tox-private-tinymceai-focus-border-width,2px));border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-ai__scroll--review:not(:has(.tox-sidebar-content__message-text)){background-color:var(--tox-private-background-secondary,#2f4055)}.tox .tox-ai .tox-ai__spinner svg{fill:var(--tox-private-color-tint,#207ab7)}.tox .tox-ai .tox-ai__response{width:100%;min-width:100%;max-width:100%}.tox .tox-ai .tox-ai__response__header{display:flex;align-items:center;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response__header .tox-icon svg{fill:var(--tox-private-color-tint,#207ab7)}.tox .tox-ai .tox-ai__response-status{display:flex;color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));font-size:var(--tox-private-font-size-sm, 14px);gap:var(--tox-private-pad-xs,4px);line-height:var(--tox-private-tinymceai-response-status-icon-height, max(24px, calc(14px + 4px)));padding-top:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response-status svg{fill:var(--tox-private-text-color-muted,rgba(255,255,255,0.5))}.tox .tox-ai .tox-ai__response-status-icon{border-radius:999px;border:1px solid var(--tox-private-neutral-20,#0e141a);background-color:var(--tox-private-background-color,#222f3e);height:var(--tox-private-tinymceai-response-status-icon-height,max(24px,calc(14px + 4px)));flex:0 0 24px;display:flex;align-items:center;justify-content:center}.tox .tox-ai .tox-ai__response-status-icon .tox-icon{display:contents}.tox .tox-ai .tox-ai__response-status-icon+.tox-ai__response-status-icon{margin-left:calc((var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px)) * -1)}.tox .tox-ai .tox-ai__icon{display:flex;align-items:center;justify-content:center}.tox .tox-ai .tox-ai__response-sources{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response-sources-header{display:block}.tox .tox-ai .tox-ai__response-sources-list{display:flex;align-items:center;gap:var(--tox-private-pad-sm,8px);align-self:stretch;flex-wrap:wrap}.tox .tox-ai .tox-ai__response-sources-list .tox-tag{border:1px solid var(--tox-private-separator-color,#000);background-color:transparent;max-width:32%;max-height:24px;cursor:pointer}.tox .tox-ai .tox-ai__response-sources-list .tox-tag img,.tox .tox-ai .tox-ai__response-sources-list .tox-tag svg{width:16px;height:16px;min-width:16px;min-height:16px;max-width:16px;max-height:16px}.tox .tox-ai .tox-ai__response-content{padding:var(--tox-private-pad-sm,8px) 0;color:var(--tox-private-text-color,#fff);font-feature-settings:'liga' off,'clig' off;font-size:var(--tox-private-font-size-sm, 14px);font-style:normal;font-weight:var(--tox-private-font-weight-normal,normal);line-height:var(--tox-private-line-height, 18px);display:flex;flex-direction:column}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming{position:relative}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming .tox-ai__response-status{color:var(--tox-private-text-color,#fff);font-size:var(--tox-private-font-size-md, 16px);line-height:calc(var(--tox-private-font-size-md, 16px) + 4px)}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming::after{content:'';position:absolute;bottom:0;left:0;right:0;height:min(100px,100%);pointer-events:none;background:linear-gradient(to bottom,transparent 60px,transparent 60px,var(--tox-private-background-color,#222f3e))}.tox .tox-ai .tox-ai-error{border-radius:var(--tox-private-panel-border-radius,3px);border:1px solid var(--tox-private-color-error,#c00);background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#222f3e) r g b / .9) 0,rgba(from var(--tox-private-background-color,#222f3e) r g b / .9) 100%),var(--tox-private-color-error,#c00);padding:var(--tox-private-pad-sm,8px);width:100%;display:flex;gap:var(--tox-private-pad-sm,8px);align-items:center}.tox .tox-ai .tox-ai-error__message{flex:1 0 0}.tox .tox-ai .tox-ai-error__icon{flex:0 0 auto;align-self:flex-start}.tox .tox-ai .tox-ai__footer{padding:calc(12px - var(--tox-private-tinymceai-focus-border-width,2px));gap:var(--tox-private-pad-sm,8px);background-color:var(--tox-private-background-color,#222f3e);display:flex;flex-direction:column;border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-background-color,#222f3e);border-top:1px solid var(--tox-private-separator-color,#000)}.tox .tox-ai .tox-ai__footer:focus-visible:not(:disabled){border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#207ab7);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-ai__context{display:flex;gap:var(--tox-private-pad-sm,8px);flex-wrap:wrap;max-height:calc((2 * (2 * var(--tox-private-pad-xs,4px) + var(--tox-private-base-value,16px))) + var(--tox-private-pad-sm,8px))}.tox .tox-ai .tox-ai__context .tox-tag{max-width:calc((100% - var(--tox-private-pad-sm,8px))/ 2)}.tox .tox-ai .tox-ai__context-more{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px);padding:var(--tox-private-pad-sm,8px);overflow:auto;max-width:var(--tox-private-tinymceai-context-more-max-width,320px)}.tox .tox-ai .tox-ai__context-more .tox-tag{max-width:100%}.tox .tox-ai .tox-ai__stop-generating{display:flex;align-items:center;gap:6px}.tox .tox-ai .tox-ai__footer-actions{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-model-selection-button{display:flex;gap:var(--tox-private-pad-xs,4px)}.tox .tox-ai .tox-ai__footer-note{align-items:center;color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));display:flex;font-size:var(--tox-private-font-size-xs, 12px);height:24px;justify-content:center;letter-spacing:0;padding-top:var(--tox-private-pad-sm,8px);width:100%}.tox .tox-ai .tox-ai__models-menu{max-width:350px}.tox .tox-ai .tox-ai__models-menu .tox-menu{max-height:inherit;padding:var(--tox-private-pad-xs,4px)}.tox .tox-ai .tox-ai__models-menu__item__description{display:flex;flex-direction:column;align-items:start}.tox .tox-ai .tox-ai__models-menu__item__description__title{font-weight:var(--tox-private-font-weight-bold,bold);font-size:var(--tox-private-font-size-sm, 14px);line-height:calc(var(--tox-private-font-size-sm, 14px) * 1.28572);padding-bottom:4px}.tox .tox-ai .tox-ai__models-menu__item__description__content{color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));font-size:var(--tox-private-font-size-xs, 12px);line-height:calc(var(--tox-private-font-size-xs, 12px) * 1.33333)}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content{color:inherit}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content .tox-ai__models-menu__item__description__ability{color:var(--tox-private-color-white,#fff)}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content .tox-ai__models-menu__item__description__content_body{color:rgba(from var(--tox-private-color-white,#fff) r g b / .7)}.tox .tox-ai .tox-ai__models-menu__item__description__ability{color:var(--tox-private-text-color,#fff);padding-bottom:4px}.tox .tox-ai .tox-ai__models-menu__item__description__ability__enabled{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-ai .tox-ai-chat-history-list{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px);padding-top:var(--tox-private-pad-xs,4px);width:100%}.tox .tox-ai .tox-ai-chat-history-list .tox-collection__group{gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-chat-history-list__title{color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:18px;letter-spacing:1px}.tox .tox-ai .tox-ai-chat-history-list__item{display:flex;padding:12px;gap:var(--tox-private-pad-sm,8px);border-radius:var(--tox-private-control-border-radius,3px);cursor:pointer}.tox .tox-ai .tox-ai-chat-history-list__item.tox-ai-chat-history-list__item--active{background-color:var(--tox-private-background-secondary,#2f4055)}.tox .tox-ai .tox-ai-chat-history-list__item:focus,.tox .tox-ai .tox-ai-chat-history-list__item:focus-visible{background-color:var(--tox-private-background-secondary,#2f4055)}.tox .tox-ai .tox-ai-chat-history-list__item.tox-ai-chat-history-list__item-edit-title{background-color:var(--tox-private-background-secondary,#2f4055);flex-direction:column}.tox .tox-ai .tox-ai-chat-history-list__item-edit-actions{display:flex;justify-content:flex-end;width:100%;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-chat-history-list__item-edit-actions .tox-ai__spinner svg{fill:rgba(from var(--tox-private-color-white,#fff) r g b / 0.5)}.tox .tox-ai .tox-ai-chat-history-list__item-content{display:flex;flex-direction:column;margin-right:auto;overflow:hidden}.tox .tox-ai .tox-ai-chat-history-list__item-actions{display:flex;align-items:center;min-width:calc(24px + (var(--tox-private-pad-xs,4px) + 1px)*2)}.tox .tox-ai .tox-ai-chat-history-list__item-content-title{color:var(--tox-private-text-color,#fff);font-size:var(--tox-private-font-size-base, 16px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:var(--tox-private-font-size-lg, 20px);overflow:hidden;text-overflow:ellipsis}.tox .tox-ai .tox-ai-chat-history-list__item-content-date{color:var(--tox-private-text-color,#fff);font-size:var(--tox-private-font-size-xs, 12px);line-height:var(--tox-private-line-height-base, 1.3)}.tox .tox-ai .tox-sidebar-content__message{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;gap:var(--tox-private-pad-md,16px);width:100%}.tox .tox-ai .tox-sidebar-content__message-text{text-align:center;color:var(--tox-private-text-color,#fff);font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:20px}.tox .tox-ai .tox-sidebar-content__message-action{display:flex;justify-content:center;align-items:center;align-self:stretch}.tox .tox-ai .tox-ai-chat-action-button{line-height:var(--tox-private-base-value, 16px);font-size:var(--tox-private-font-size-xs, 12px);padding:6px var(--tox-private-pad-sm,8px);margin:var(--tox-private-pad-xs,4px) 0;font-weight:var(--tox-private-font-weight-normal,normal);width:min-content}.tox .tox-ai .tox-ai-chat-action-button .tox-icon{display:inline-flex;align-items:center;justify-content:center;height:16px;width:16px;overflow:hidden}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg{display:block;flex:none;fill:var(--tox-private-tinymceai-chat-action-button-icon-color,#fff)}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='24'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='24px']{transform:scale(calc(16 / 24))}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='20'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='20px']{transform:scale(calc(16 / 20))}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='18'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='18px']{transform:scale(calc(16 / 18))}.tox .tox-ai .tox-ai-chat-action-button:not(:has(+ .tox-ai-chat-action-button)){margin-bottom:var(--tox-private-pad-sm,8px)}.tox .tox-ai-removed-content{font-style:italic;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));line-height:var(--tox-private-line-height-base, 1.3);margin:0 1em}.tox .tox-ai-removed-content::before{content:"⊘ ";font-style:normal;font-size:calc(var(--tox-private-line-height-base, 1.3) * 1em)}.tox .tox-ai-html-content{font-size:var(--tox-private-font-size-md, 16px);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color,#fff);line-height:var(--tox-private-line-height-base, 1.3);overflow-x:auto}.tox .tox-ai-html-content:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#207ab7);outline-offset:var(--tox-private-tinymceai-html-content-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai-html-content h1{font-size:1.6em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.67em 0}.tox .tox-ai-html-content h2{font-size:1.4em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.83em 0}.tox .tox-ai-html-content h3{font-size:1.2em;font-weight:var(--tox-private-font-weight-bold,bold);margin:1em 0}.tox .tox-ai-html-content h4,.tox .tox-ai-html-content h5,.tox .tox-ai-html-content h6{font-size:1em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.33em 0}.tox .tox-ai-html-content p{margin:var(--tox-private-pad-sm,8px) 0}.tox .tox-ai-html-content ol,.tox .tox-ai-html-content ul{padding-left:2em;margin:1em 0}.tox .tox-ai-html-content li:has(input:first-child){list-style-type:none}.tox .tox-ai-html-content a{color:var(--tox-private-color-tint,#207ab7);-webkit-text-decoration:underline;text-decoration:underline;cursor:pointer}.tox .tox-ai-html-content a:link:active,.tox .tox-ai-html-content a:visited:active{color:#8864ad}.tox .tox-ai-html-content blockquote{border-left:2px solid var(--tox-private-separator-color,#000);margin-left:1.5rem;padding-left:1rem;font-style:italic}.tox .tox-ai-html-content code{font-family:ui-monospace,monospace;background:var(--tox-private-separator-color,#000);padding:.1em .2em;border-radius:4px}.tox .tox-ai-html-content pre code{display:block;font-family:ui-monospace,monospace;background:var(--tox-private-separator-color,#000);border-radius:4px;white-space:pre-wrap;margin:1em 0;overflow-wrap:break-word}.tox .tox-ai-html-content hr{border:none;border-top:1px solid var(--tox-private-border-color,#000)}.tox .tox-ai-html-content table{width:100%;border-collapse:collapse;margin:.5em 0;font-size:.95em;line-height:1.45}.tox .tox-ai-html-content table:not([cellpadding]) td,.tox .tox-ai-html-content table:not([cellpadding]) th{padding:.4rem}.tox .tox-ai-html-content td,.tox .tox-ai-html-content th{border:1px solid var(--tox-private-border-color,#000)}.tox .tox-ai-html-content th{font-weight:var(--tox-private-font-weight-bold,bold);text-align:left;white-space:nowrap}.tox .tox-ai-html-content b,.tox .tox-ai-html-content strong{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-ai-html-content em,.tox .tox-ai-html-content i{font-style:italic}.tox .tox-ai-html-content del{-webkit-text-decoration:line-through;text-decoration:line-through}.tox .tox-ai-html-content sub,.tox .tox-ai-html-content sup{font-size:.75em;line-height:0;vertical-align:baseline}.tox .tox-ai-html-content sup{vertical-align:super}.tox .tox-ai-html-content sub{vertical-align:sub}.tox .tox-ai-html-content mark{background:hsl(from var(--tox-private-color-active,#ffcf30) h s l / 30%);padding:.05em .2em;border-radius:2px}.tox .tox-ai-html-content small{font-size:.85em}.tox .tox-ai-html-content kbd{font-family:ui-monospace,monospace;font-size:.85em;padding:.15em .4em;border-radius:4px;border:1px solid var(--tox-private-border-color,#000);background:var(--tox-private-separator-color,#000);box-shadow:inset 0 -1px 0 var(--tox-private-border-color,#000)}.tox .tox-ai-html-content img{max-width:100%;height:auto;vertical-align:middle;border-radius:4px}.tox .tox-expandable-box__content .tox-ai-html-content+.tox-ai-html-content::before,.tox .tox-expandable-box__content .tox-ai-html-content:has(+ .tox-ai-removed-content)::after,.tox .tox-expandable-box__content .tox-ai-removed-content+.tox-ai-html-content::before{content:"〰〰";color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));text-align:center;width:100%;display:block}.tox .tox-diff-preview{display:contents}.tox .tox-diff-preview__host{height:100%;position:relative;flex:1 1 0}.tox .tox-diff-preview__host:empty{pointer-events:none}.tox .tox-diff-preview__layer{display:flex;flex-direction:column;inset:0;position:absolute}.tox .tox-diff-preview__layer--loading .tox-diff-preview__frame{pointer-events:none;visibility:hidden}.tox .tox-diff-preview__viewport{flex:1 1 auto;min-height:0;position:relative}.tox .tox-diff-preview__frame{background-color:#fff;border:0;height:100%;min-height:0;position:relative;width:100%}.tox .tox-diff-preview__footer{background-color:var(--tox-private-background-color,#222f3e);border-top:1px solid #364a62;flex:0 0 auto}.tox .tox-diff-preview__toolbar{display:flex;gap:8px;justify-content:flex-end;padding:12px 16px}.tox .tox-ai__preview-overlay{position:absolute;inset:0;width:100%;height:100%;font-size:14px}.tox .tox-ai__preview-overlay--hidden{visibility:hidden}.tox .tox-ai__preview-overlay--pass-through{pointer-events:none}.tox .tox-ai__preview-overlay--dim{background:rgba(42,55,70,.2)}.tox .tox-ai__preview-overlay--centered{display:flex;align-items:center;justify-content:center}.tox .tox-ai__preview-overlay--clipped{overflow:clip}.tox .tox-tinymceai-previewloader{display:flex;align-items:center;gap:var(--tox-private-pad-md,16px);padding:var(--tox-private-pad-sm,8px);border-radius:var(--tox-private-panel-border-radius,3px);box-shadow:var(--tox-private-ai-preview-loader-box-shadow,0 0 40px 1px rgba(42,55,70,.15),0 16px 16px -10px rgba(42,55,70,.15));background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color,#fff);pointer-events:auto}.tox .tox-tinymceai-previewloader__content{display:flex;align-items:center;justify-content:center;padding:0 var(--tox-private-pad-xs,4px);gap:var(--tox-private-pad-sm,8px)}.tox .tox-selector{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;display:inline-block;height:10px;position:absolute;width:10px}.tox.tox-platform-touch .tox-selector{height:12px;width:12px}.tox .tox-skeleton .tox-skeleton__line{height:16px;width:100%;background:linear-gradient(to right,rgba(240,240,240,.5) 8%,rgba(240,240,240,.7) 18%,rgba(240,240,240,.5) 33%);animation:wave 2s infinite ease-out}.tox .tox-skeleton .tox-skeleton__circle{height:36px;width:36px;margin-right:8px;border-radius:100%;background:linear-gradient(to right,rgba(240,240,240,.5) 8%,rgba(240,240,240,.7) 18%,rgba(240,240,240,.5) 33%);animation:wave 2s infinite ease-out}@keyframes wave{0%{background-position:-268px 0}100%{background-position:268px 0}}.tox .tox-slider{align-items:center;display:flex;flex:1;height:24px;justify-content:center;position:relative}.tox .tox-slider__rail{background-color:transparent;border:1px solid #000;border-radius:3px;height:10px;min-width:120px;width:100%}.tox .tox-slider__handle{background-color:#207ab7;border:2px solid #185d8c;border-radius:3px;box-shadow:none;height:24px;left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%);width:14px}.tox .tox-form__controls-h-stack>.tox-slider:not(:first-of-type){margin-inline-start:8px}.tox .tox-form__controls-h-stack>.tox-form__group+.tox-slider{margin-inline-start:32px}.tox .tox-form__controls-h-stack>.tox-slider+.tox-form__group{margin-inline-start:32px}.tox .tox-toolbar-slider{align-items:center;display:inline-flex;height:16px}.tox .tox-toolbar-slider__input{appearance:none;background:#000;border-radius:16px;width:130px;height:2px}.tox .tox-toolbar-slider__input::-webkit-slider-runnable-track{background-color:transparent;height:16px}.tox .tox-toolbar-slider__input::-moz-range-track{background-color:transparent;height:16px}.tox .tox-toolbar-slider__input::-webkit-slider-thumb{-webkit-appearance:none;background-color:#207ab7;border-radius:16px;border:none;height:16px;width:16px}.tox .tox-toolbar-slider__input::-moz-range-thumb{appearance:none;background-color:#207ab7;border-radius:16px;border:none;height:16px;width:16px}.tox .tox-toolbar-slider__input:focus-visible{outline:0}.tox .tox-toolbar-slider__input:focus::-webkit-slider-thumb{background-color:#1c6ca1;box-shadow:inset 0 0 0 1px #fff,0 0 0 2px #207ab7}.tox .tox-toolbar-slider__input:focus::-moz-range-thumb{background-color:#1c6ca1;box-shadow:inset 0 0 0 1px #fff,0 0 0 2px #207ab7}.tox .tox-toolbar-slider__input:hover::-webkit-slider-thumb{background-color:#1c6ca1}.tox .tox-toolbar-slider__input:hover::-moz-range-thumb{background-color:#1c6ca1}.tox .tox-toolbar-slider__input:active::-webkit-slider-thumb{background-color:#185d8c}.tox .tox-toolbar-slider__input:active::-moz-range-thumb{background-color:#185d8c}.tox .tox-toolbar-slider__input[disabled]::-webkit-slider-thumb{background-color:rgba(255,255,255,.5)}.tox .tox-toolbar-slider__input[disabled]::-moz-range-thumb{background-color:rgba(255,255,255,.5)}.tox .tox-source-code{overflow:auto}.tox .tox-spinner{display:flex}.tox .tox-spinner>div{animation:tam-bouncing-dots 1.5s ease-in-out 0s infinite both;background-color:rgba(255,255,255,.5);border-radius:100%;height:8px;width:8px}.tox .tox-spinner>div:first-child{animation-delay:-.32s}.tox .tox-spinner>div:nth-child(2){animation-delay:-.16s}@keyframes tam-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox:not([dir=rtl]) .tox-spinner>div:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-spinner>div:not(:first-child){margin-right:4px}.tox .tox-ai__spinner{--tox-private-spinner-color:var(--tox-private-color-tint, #207ab7);--tox-private-spinner-size:24px;--tox-private-spinner-circle-width:3px;--tox-private-spinner-dot-size:6px;width:var(--tox-private-spinner-size);aspect-ratio:1/1}.tox .tox-ai__spinner--small{--tox-private-spinner-size:16px;--tox-private-spinner-circle-width:2px;--tox-private-spinner-dot-size:4px}.tox .tox-ai__spinner--circle{animation:tox-rotation 1s linear infinite;border-radius:50%;background:conic-gradient(var(--tox-private-spinner-color) 0 calc(360deg - 30deg),transparent calc(360deg - 30deg) 100%);mask:radial-gradient(calc((var(--tox-private-spinner-size) - var(--tox-private-spinner-circle-width) * 2)/ 2),#0000 98%,#000)}.tox .tox-ai__spinner--dots{display:flex;align-items:center;justify-content:center;gap:1px}.tox .tox-ai__spinner--dots>div{animation:tox-bouncing-dots 1.5s ease-in-out 0s infinite both;aspect-ratio:1/1;width:var(--tox-private-spinner-dot-size);background-color:var(--tox-private-spinner-color);border-radius:100%}.tox .tox-ai__spinner--dots>div:first-child{animation-delay:-.32s}.tox .tox-ai__spinner--dots>div:nth-child(2){animation-delay:-.16s}.tox .tox-tinymceai__annotation--added,.tox .tox-tinymceai__annotation--modified,.tox .tox-tinymceai__annotation--removed{padding-block:calc((1lh - 1.1em)/ 2);-webkit-text-decoration:none;text-decoration:none;background-repeat:no-repeat;text-decoration-thickness:max(1px,0.07em)}.tox .tox-tinymceai__annotation--added__highlight{background-position:bottom;background-image:linear-gradient(rgba(120,171,70,.2) calc(100% - 2px),#78ab46 calc(100% - 2px))}.tox .tox-tinymceai__annotation--added__selected{background-image:none;background-color:rgba(120,171,70,.2);box-shadow:0 2px 0 0 #207ab7,0 -2px 0 0 #207ab7}.tox .tox-tinymceai__annotation--modified__highlight{background-position:bottom;background-image:linear-gradient(rgba(32,122,183,.2) calc(100% - 2px),#207ab7 calc(100% - 2px))}.tox .tox-tinymceai__annotation--modified__selected{background-image:none;background-color:rgba(32,122,183,.2);box-shadow:0 2px 0 0 #207ab7,0 -2px 0 0 #207ab7}.tox .tox-tinymceai__annotation--removed__highlight{-webkit-text-decoration:line-through;text-decoration:line-through;background-position:bottom;background-image:linear-gradient(rgba(204,0,0,.2) calc(100% - 2px),#c00 calc(100% - 2px))}.tox .tox-tinymceai__annotation--removed__selected{-webkit-text-decoration:line-through;text-decoration:line-through;background-image:none;background-color:rgba(204,0,0,.2);box-shadow:0 2px 0 0 #207ab7,0 -2px 0 0 #207ab7}.tox .mce-object.tox-tinymceai__annotation--added,.tox .mce-object.tox-tinymceai__annotation--modified,.tox .mce-object.tox-tinymceai__annotation--removed,.tox .mce-preview-object.tox-tinymceai__annotation--added,.tox .mce-preview-object.tox-tinymceai__annotation--modified,.tox .mce-preview-object.tox-tinymceai__annotation--removed,.tox iframe.tox-tinymceai__annotation--added,.tox iframe.tox-tinymceai__annotation--modified,.tox iframe.tox-tinymceai__annotation--removed,.tox img.tox-tinymceai__annotation--added,.tox img.tox-tinymceai__annotation--modified,.tox img.tox-tinymceai__annotation--removed,.tox video.tox-tinymceai__annotation--added,.tox video.tox-tinymceai__annotation--modified,.tox video.tox-tinymceai__annotation--removed{padding-block:0;vertical-align:top}.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object),.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object),.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object){padding-block:0}.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) video,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) video,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) video{vertical-align:top}.tox del.tox-tinymceai__annotation--added__selected,.tox ins.tox-tinymceai__annotation--added__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#207ab7 3px,rgba(120,171,70,.2) 3px,rgba(120,171,70,.2) calc(100% - 3px),#207ab7 calc(100% - 3px))}.tox del.tox-tinymceai__annotation--modified__selected,.tox ins.tox-tinymceai__annotation--modified__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#207ab7 3px,rgba(32,122,183,.2) 3px,rgba(32,122,183,.2) calc(100% - 3px),#207ab7 calc(100% - 3px))}.tox del.tox-tinymceai__annotation--removed__selected,.tox ins.tox-tinymceai__annotation--removed__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#207ab7 3px,rgba(204,0,0,.2) 3px,rgba(204,0,0,.2) calc(100% - 3px),#207ab7 calc(100% - 3px))}.tox .tox-tinymceai__annotation--added.tox-tinymceai__annotation--added__hidden,.tox .tox-tinymceai__annotation--modified.tox-tinymceai__annotation--modified__hidden,.tox .tox-tinymceai__annotation--removed.tox-tinymceai__annotation--removed__hidden{display:none;-webkit-text-decoration:none;text-decoration:none}.tox :has(> div > iframe).tox-tinymceai__annotation--added,.tox :has(> div > iframe).tox-tinymceai__annotation--modified,.tox :has(> div > iframe).tox-tinymceai__annotation--removed{padding:7px;margin:5px}.tox iframe.tox-tinymceai__annotation--added__highlight,.tox img.tox-tinymceai__annotation--added__highlight,.tox video.tox-tinymceai__annotation--added__highlight{background-color:#334840;background-image:none;border:2px solid #78ab46;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--added__selected,.tox img.tox-tinymceai__annotation--added__selected,.tox video.tox-tinymceai__annotation--added__selected{background-color:#334840;background-image:none;border:2px solid #78ab46;padding:0;vertical-align:top;border-color:#334840;outline:2px solid #207ab7}.tox iframe.tox-tinymceai__annotation--modified__highlight,.tox img.tox-tinymceai__annotation--modified__highlight,.tox video.tox-tinymceai__annotation--modified__highlight{background-color:#223e56;background-image:none;border:2px solid #207ab7;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--modified__selected,.tox img.tox-tinymceai__annotation--modified__selected,.tox video.tox-tinymceai__annotation--modified__selected{background-color:#223e56;background-image:none;border:2px solid #207ab7;padding:0;vertical-align:top;border-color:#223e56;outline:2px solid #207ab7}.tox iframe.tox-tinymceai__annotation--removed__highlight,.tox img.tox-tinymceai__annotation--removed__highlight,.tox video.tox-tinymceai__annotation--removed__highlight{background-color:#442632;background-image:none;border:2px solid #c00;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--removed__selected,.tox img.tox-tinymceai__annotation--removed__selected,.tox video.tox-tinymceai__annotation--removed__selected{background-color:#442632;background-image:none;border:2px solid #c00;padding:0;vertical-align:top;border-color:#442632;outline:2px solid #207ab7}.tox .tox-tinymceai__annotation--removed__highlight iframe,.tox .tox-tinymceai__annotation--removed__highlight img,.tox .tox-tinymceai__annotation--removed__highlight video,.tox .tox-tinymceai__annotation--removed__selected iframe,.tox .tox-tinymceai__annotation--removed__selected img,.tox .tox-tinymceai__annotation--removed__selected video{background-color:#442632;background-image:none;border:2px solid #c00;padding:0;vertical-align:top}.tox .tox-tinymceai__annotation--removed__selected iframe,.tox .tox-tinymceai__annotation--removed__selected img,.tox .tox-tinymceai__annotation--removed__selected video{border-color:#442632;outline:2px solid #207ab7}.tox div.tox-tinymceai__annotation:has(> hr){background-size:auto;padding:.25em}.tox div.tox-tinymceai__annotation--removed__highlight>hr{border-color:rgba(0,0,0,.2)}.tox div.tox-tinymceai__annotation--added__highlight>hr{border-color:rgba(0,0,0,.2)}.tox .tox-tinymceai__deleted-media-overlay{inset:0;overflow:hidden;pointer-events:none;position:absolute;z-index:11}.tox .tox-tinymceai__deleted-media-wash{fill:#222f3e;fill-opacity:0.4}.tox .tox-tinymceai__deleted-media-mark{stroke:#c00}.tox .tox-tinymceai__deleted-media-halo{stroke:#fff}.tox .mce-pagebreak.tox-tinymceai__annotation--added__selected,.tox .mce-pagebreak.tox-tinymceai__annotation--modified__selected,.tox .mce-pagebreak.tox-tinymceai__annotation--removed__selected{border:1px dashed #aaa;box-shadow:none;background-image:none}.tox .mce-pagebreak.tox-tinymceai__annotation--added__highlight,.tox .mce-pagebreak.tox-tinymceai__annotation--modified__highlight,.tox .mce-pagebreak.tox-tinymceai__annotation--removed__highlight{padding:0}.tox .tox-tinymceai__diff-focus-overlay{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:10}.tox .tox-tinymceai__diff-focus-overlay-dim{fill:rgba(42,55,70,0.2)}.tox .tox-ai__scroll:has(.tox-card-group){padding-top:0}.tox .tox-ai__scroll:has(.tox-card-group) .tox-ai__review-sidebar-container .tox-card-list{gap:0}.tox .tox-ai__scroll .tox-ai__review-sidebar-container{scrollbar-gutter:stable;width:100%;height:100%;display:flex;flex-direction:column;gap:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-card-list{gap:8px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-card-group__title{margin-inline:-12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-initializing{padding:var(--tox-private-pad-md,16px)}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-description{padding-bottom:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));font-size:var(--tox-private-font-size-sm, 14px)}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-choose-container{padding-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-custom-input{margin-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-custom-actions{display:flex;gap:8px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container{margin-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container button.tox-ai__review-input-button{width:100%;background-color:var(--tox-private-background-color,#222f3e);display:flex;justify-content:space-between;align-items:center;border:1px solid #000;border-radius:3px;box-sizing:border-box}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container .tox-ai__review-dropdown-content{width:anchor-size(width)}.tox .tox-statusbar{align-items:center;background-color:#222f3e;border-top:1px solid #000;color:#fff;display:flex;flex:0 0 auto;font-size:12px;font-weight:400;height:18px;overflow:hidden;padding:0 8px;position:relative;text-transform:uppercase}.tox .tox-statusbar__path{display:flex;flex:1 1 auto;text-overflow:ellipsis;white-space:nowrap}.tox .tox-statusbar__right-container{display:flex;justify-content:flex-end;white-space:nowrap}.tox .tox-statusbar__help-text{text-align:center}.tox .tox-statusbar__text-container{align-items:flex-start;display:flex;flex:1 1 auto;height:16px;justify-content:space-between}@media only screen and (min-width:768px){.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__help-text,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__path,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__right-container{flex:0 0 calc(100% / 3)}}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-end{justify-content:flex-end}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-start{justify-content:flex-start}.tox .tox-statusbar__text-container.tox-statusbar__text-container--space-around{justify-content:space-around}.tox .tox-statusbar__path>*{display:inline;white-space:nowrap}.tox .tox-statusbar__wordcount{flex:0 0 auto;margin-left:1ch}@media only screen and (max-width:767px){.tox .tox-statusbar__text-container .tox-statusbar__help-text{display:none}.tox .tox-statusbar__text-container .tox-statusbar__help-text:only-child{display:block}}.tox .tox-statusbar a,.tox .tox-statusbar__path-item,.tox .tox-statusbar__wordcount{color:#fff;position:relative;-webkit-text-decoration:none;text-decoration:none}.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]){color:#fff;cursor:pointer}.tox .tox-statusbar a:focus-visible::after,.tox .tox-statusbar__path-item:focus-visible::after,.tox .tox-statusbar__wordcount:focus-visible::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-statusbar a:focus-visible::after,.tox .tox-statusbar__path-item:focus-visible::after,.tox .tox-statusbar__wordcount:focus-visible::after{border:2px solid highlight}}.tox .tox-statusbar__branding svg{fill:rgba(255,255,255,0.8);height:1em;margin-left:.3em;width:auto}@media (forced-colors:active){.tox .tox-statusbar__branding svg{fill:currentColor}}.tox .tox-statusbar__branding a{align-items:center;display:inline-flex}.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg,.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg{fill:#fff}.tox .tox-statusbar__resize-cursor-default{cursor:ns-resize}.tox .tox-statusbar__resize-cursor-both{cursor:nwse-resize}.tox .tox-statusbar__resize-handle{align-items:flex-end;align-self:stretch;display:flex;flex:0 0 auto;justify-content:flex-end;margin-bottom:3px;margin-left:4px;margin-right:calc(3px - 8px);margin-top:3px;padding-bottom:0;padding-left:0;padding-right:0;position:relative}.tox .tox-statusbar__resize-handle svg{display:block;fill:rgba(255,255,255,0.5)}.tox .tox-statusbar__resize-handle:focus svg,.tox .tox-statusbar__resize-handle:hover svg{fill:#fff}.tox .tox-statusbar__resize-handle:focus-visible{background-color:transparent;border-radius:1px 1px -4px 1px;box-shadow:0 0 0 2px transparent}.tox .tox-statusbar__resize-handle:focus-visible::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-statusbar__resize-handle:focus-visible::after{border:2px solid highlight}}.tox .tox-statusbar__resize-handle:only-child{margin-left:auto}.tox:not([dir=rtl]) .tox-statusbar__path>*{margin-right:4px}.tox:not([dir=rtl]) .tox-statusbar__branding{margin-left:2ch}.tox[dir=rtl] .tox-statusbar{flex-direction:row-reverse}.tox[dir=rtl] .tox-statusbar__path>*{margin-left:4px}.tox[dir=rtl] .tox-statusbar__branding svg{margin-left:0;margin-right:.3em}.tox a.tox-tag{cursor:pointer}.tox .tox-tag{width:fit-content;box-sizing:border-box;display:flex;padding:var(--tox-private-pad-xs,4px) 6px;position:relative;align-items:center;gap:var(--tox-private-pad-xs,4px);border-radius:3px;background:hsl(from var(--tox-private-color-tint,#207ab7) h s l / 10%);line-height:var(--tox-private-base-value, 16px);font-size:var(--tox-private-font-size-xs, 12px)}.tox .tox-tag::before{border-radius:var(--tox-private-control-border-radius,3px);bottom:calc(-1 * var(--tox-private-tag-border-width,1px));box-shadow:var(--tox-private-tag-focus-outline,inset 0 0 0 1px #fff,0 0 0 2px #207ab7);content:'';left:calc(-1 * var(--tox-private-tag-border-width,1px));opacity:0;pointer-events:none;position:absolute;right:calc(-1 * var(--tox-private-tag-border-width,1px));top:calc(-1 * var(--tox-private-tag-border-width,1px))}.tox .tox-tag:focus:not(:disabled)::before{opacity:1}.tox .tox-tag>*{flex-shrink:0}.tox .tox-tag .tox-icon{height:var(--tox-private-base-value,16px);fill:var(--tox-private-text-color,#fff)}.tox .tox-tag .tox-tag__label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;flex-shrink:1;color:var(--tox-private-text-color,#fff)}.tox .tox-tag .tox-tag__close{height:var(--tox-private-base-value,16px)}.tox .tox-tag .tox-tag__close .tox-button.tox-button--icon{border:0;padding:0;color:var(--tox-private-text-color-muted,rgba(255,255,255,.5))}.tox .tox-tag .tox-tag__close .tox-button.tox-button--icon::before{box-shadow:none}.tox .tox-throbber{z-index:1299}.tox .tox-throbber__busy-spinner{align-items:center;background-color:rgba(34,47,62,.6);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.tox .tox-segmented-control{display:inline-flex;position:relative;border:none;border-radius:var(--tox-private-control-border-radius,3px);box-shadow:inset 0 0 0 1px var(--tox-private-segmented-control-border-color,#364a62);overflow:hidden;padding:var(--tox-private-pad-xs,4px);background-color:var(--tox-private-background-color,#222f3e)}.tox .tox-segmented-control__segment{flex:1;padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-sm,8px);cursor:pointer;background:0 0;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:16px;border:1px solid transparent;border-radius:calc(var(--tox-private-control-border-radius,3px) - 1px);text-align:center;white-space:nowrap;display:inline-block;vertical-align:middle;color:var(--tox-private-segmented-control-text-color,#fff)}.tox .tox-segmented-control__segment--active{border-color:var(--tox-private-segmented-control-active-border-color,#207ab7);color:var(--tox-private-segmented-control-active-text-color,#207ab7);background-color:var(--tox-private-segmented-control-active-bg-color,rgba(32,122,183,.1))}.tox .tox-segmented-control:not(.tox-segmented-control--disabled) .tox-segmented-control__segment{transition:all .2s}.tox .tox-segmented-control.tox-segmented-control--disabled .tox-segmented-control__segment{opacity:.5;cursor:not-allowed;pointer-events:none}.tox .tox-segmented-control__segment:focus{outline:2px solid var(--tox-private-color-tint,#207ab7);outline-offset:2px}.tox .tox-segmented-control__segment:focus:not(:focus-visible){outline:0}.tox .tox-toggle{display:flex;align-items:center;gap:var(--tox-private-pad-xs,4px);padding:var(--tox-private-pad-xs,4px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:var(--tox-private-control-line-height, 24px);white-space:nowrap;background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color,#fff)}.tox .tox-toggle input{position:absolute;opacity:0;width:0;height:0}.tox .tox-toggle__slider{position:relative;cursor:pointer;box-sizing:border-box;transition:.4s;border-radius:34px;width:28px;height:16px;background-color:var(--tox-private-slider-background-color,#222f3e);border:1px solid var(--tox-private-slider-border-color,rgba(255,255,255,.15))}.tox .tox-toggle__slider::before{position:absolute;content:"";height:12px;width:12px;left:1px;bottom:1px;transition:.4s;border-radius:50%;background-color:var(--tox-private-slider-handle-background-color,#fff)}.tox input:checked+.tox-toggle__slider{background-color:var(--tox-private-slider-checked-background-color,#207ab7);border:1px solid var(--tox-private-slider-checked-border-color,#207ab7)}.tox input:focus+.tox-toggle__slider{box-shadow:0 0 0 1px var(--tox-private-color-white,#fff),0 0 0 2px var(--tox-private-color-tint,#207ab7)}.tox input:checked+.tox-toggle__slider::before{transform:translateX(12px);background-color:var(--tox-private-slider-checked-handle-background-color,#fff)}.tox input:disabled+.tox-toggle__slider::before{opacity:50%}.tox .tox-tbtn{align-items:center;background:#222f3e;border:0;border-radius:3px;box-shadow:none;color:#fff;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:34px;justify-content:center;margin:3px 0 2px 0;outline:0;padding:0;text-transform:none;width:34px}.tox .tox-tbtn .tox-tbtn__icon-wrap{pointer-events:none}@media (forced-colors:active){.tox .tox-tbtn.tox-tbtn:hover,.tox .tox-tbtn:hover{outline:1px dashed currentColor}.tox .tox-tbtn.tox-tbtn--active,.tox .tox-tbtn.tox-tbtn--enabled,.tox .tox-tbtn.tox-tbtn--enabled:focus,.tox .tox-tbtn.tox-tbtn--enabled:hover,.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){outline:1px solid currentColor;position:relative}}.tox .tox-tbtn svg{display:block;fill:#fff}@media (forced-colors:active){.tox .tox-tbtn svg{fill:currentColor!important}.tox .tox-tbtn svg.tox-tbtn--enabled,.tox .tox-tbtn svg:focus:not(.tox-tbtn--disabled){fill:currentColor!important}.tox .tox-tbtn svg .tox-tbtn:disabled,.tox .tox-tbtn svg .tox-tbtn:disabled:hover,.tox .tox-tbtn svg.tox-tbtn--disabled,.tox .tox-tbtn svg.tox-tbtn--disabled:hover{filter:contrast(0%)}}.tox .tox-tbtn.tox-tbtn-more{padding-left:5px;padding-right:5px;width:inherit}.tox .tox-tbtn:focus{background:#4a5562;border:0;box-shadow:none;position:relative;z-index:1}.tox .tox-tbtn:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-tbtn:focus::after{border:2px solid highlight}}.tox .tox-tbtn:hover{background:#4a5562;border:0;box-shadow:none;color:#fff}.tox .tox-tbtn:hover svg{fill:#fff}.tox .tox-tbtn:active{background:#757d87;border:0;box-shadow:none;color:#fff}.tox .tox-tbtn:active svg{fill:#fff}.tox .tox-tbtn--disabled .tox-tbtn--enabled svg{fill:rgba(255,255,255,0.5)}.tox .tox-tbtn--disabled,.tox .tox-tbtn--disabled:hover,.tox .tox-tbtn:disabled,.tox .tox-tbtn:disabled:hover{background:#222f3e;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-tbtn--disabled svg,.tox .tox-tbtn--disabled:hover svg,.tox .tox-tbtn:disabled svg,.tox .tox-tbtn:disabled:hover svg{fill:rgba(255,255,255,0.5)}.tox .tox-tbtn--active,.tox .tox-tbtn--enabled,.tox .tox-tbtn--enabled:focus,.tox .tox-tbtn--enabled:hover{background:#757d87;border:0;box-shadow:none;color:#fff;position:relative}.tox .tox-tbtn--active>*,.tox .tox-tbtn--enabled:focus>*,.tox .tox-tbtn--enabled:hover>*,.tox .tox-tbtn--enabled>*{transform:none}.tox .tox-tbtn--active svg,.tox .tox-tbtn--enabled svg,.tox .tox-tbtn--enabled:focus svg,.tox .tox-tbtn--enabled:hover svg{fill:#fff}.tox .tox-tbtn--active.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled:focus.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled:hover.tox-tbtn--disabled svg{fill:rgba(255,255,255,0.5)}.tox .tox-tbtn--enabled:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-tbtn--enabled:focus::after{border:2px solid highlight}}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){color:#fff}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg{fill:#fff}.tox .tox-tbtn:active>*{transform:none}.tox .tox-tbtn--md{height:51px;width:51px}.tox .tox-tbtn--lg{flex-direction:column;height:68px;width:68px}.tox .tox-tbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tbtn--labeled{padding:0 4px;width:unset}.tox .tox-tbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-label--context-toolbar{margin:6px 1px 5px 0;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-number-input{background:0 0;border-radius:3px;display:flex;margin:3px 0 2px 0;position:relative;width:auto}.tox .tox-number-input:focus{background:#4a5562}.tox .tox-number-input:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input:focus::after{border:2px solid highlight}}.tox .tox-number-input .tox-input-wrapper{display:flex;pointer-events:none;position:relative;text-align:center}.tox .tox-number-input .tox-input-wrapper:focus{background-color:#4a5562;z-index:1}.tox .tox-number-input .tox-input-wrapper:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input .tox-input-wrapper:focus::after{border:2px solid highlight}}.tox .tox-number-input .tox-input-wrapper:has(input:focus)::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input .tox-input-wrapper:has(input:focus)::after{border:2px solid highlight}}.tox .tox-number-input input{border-radius:3px;color:#fff;font-size:14px;margin:2px 0;pointer-events:all;position:relative;width:60px}.tox .tox-number-input input:hover{background:#4a5562;color:#fff}.tox .tox-number-input input:focus{background-color:#4a5562}.tox .tox-number-input input:disabled{background:#222f3e;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-number-input button{color:#fff;height:34px;position:relative;text-align:center;width:24px}@media (forced-colors:active){.tox .tox-number-input button:active,.tox .tox-number-input button:focus,.tox .tox-number-input button:hover{outline:1px solid currentColor!important}}.tox .tox-number-input button svg{display:block;fill:#fff;margin:0 auto;transform:scale(.67)}@media (forced-colors:active){.tox .tox-number-input button svg,.tox .tox-number-input button svg:active,.tox .tox-number-input button svg:hover{fill:currentColor!important}.tox .tox-number-input button svg:disabled{filter:contrast(0)}}.tox .tox-number-input button:focus{background:#4a5562;z-index:1}.tox .tox-number-input button:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input button:focus::after{border:2px solid highlight}}.tox .tox-number-input button:hover{background:#4a5562;border:0;box-shadow:none;color:#fff}.tox .tox-number-input button:hover svg{fill:#fff}.tox .tox-number-input button:active{background:#757d87;border:0;box-shadow:none;color:#fff}.tox .tox-number-input button:active svg{fill:#fff}.tox .tox-number-input button:disabled{background:#222f3e;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-number-input button:disabled svg{fill:rgba(255,255,255,0.5)}.tox .tox-number-input button.minus{border-radius:3px 0 0 3px}.tox .tox-number-input button.plus{border-radius:0 3px 3px 0}.tox .tox-number-input:focus:not(:active)>.tox-input-wrapper,.tox .tox-number-input:focus:not(:active)>button{background:#4a5562}.tox .tox-tbtn--select{margin:3px 0 2px 0;padding:0 4px;width:auto}.tox .tox-tbtn--bordered,.tox .tox-tbtn--bordered:focus,.tox .tox-tbtn--bordered:hover{border:1px solid #000}.tox .tox-tbtn__select-label{cursor:default;font-weight:400;height:initial;margin:0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-tbtn__select-chevron svg{fill:rgba(255,255,255,0.5)}@media (forced-colors:active){.tox .tox-tbtn__select-chevron svg{fill:currentColor}}.tox .tox-tbtn--bespoke{background:0 0}.tox .tox-tbtn--bespoke:focus{background:#4a5562}.tox .tox-tbtn--bespoke+.tox-tbtn--bespoke{margin-inline-start:0}.tox .tox-tbtn--bespoke .tox-tbtn__select-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:7em}.tox .tox-tbtn--disabled .tox-tbtn__select-label,.tox .tox-tbtn--select:disabled .tox-tbtn__select-label{cursor:not-allowed}.tox .tox-split-button__main{border-radius:3px 0 0 3px;margin-right:0}.tox .tox-split-button__main:focus{border:0;box-shadow:none;background:#4a5562;color:#fff;position:relative;z-index:1}.tox .tox-split-button__main:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0;border-radius:3px 0 0 3px}@media (forced-colors:active){.tox .tox-split-button__main:focus::after{border:2px solid highlight}}.tox .tox-split-button__chevron{width:16px;border-radius:0 3px 3px 0;margin-left:0}.tox .tox-split-button__chevron:focus{border:0;box-shadow:none;background:#4a5562;color:#fff;position:relative;z-index:1}.tox .tox-split-button__chevron:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0;border-radius:0 3px 3px 0}@media (forced-colors:active){.tox .tox-split-button__chevron:focus::after{border:2px solid highlight}}.tox .tox-split-button__chevron svg{fill:rgba(255,255,255,0.5)}@media (forced-colors:active){.tox .tox-split-button__chevron svg{fill:currentColor}}.tox.tox-platform-touch .tox-split-button__main{width:30px}.tox.tox-platform-touch .tox-split-button__chevron{width:20px}.tox .tox-split-button__chevron.tox-tbtn--disabled,.tox .tox-split-button__main.tox-tbtn--disabled{background:#222f3e;box-shadow:none;color:rgba(255,255,255,.5)}.tox .tox-split-button__chevron.tox-tbtn--disabled:hover,.tox .tox-split-button__main.tox-tbtn--disabled:hover{background:#222f3e;box-shadow:none;color:rgba(255,255,255,.5)}.tox .tox-split-button__chevron.tox-tbtn--disabled:focus,.tox .tox-split-button__main.tox-tbtn--disabled:focus{background:#222f3e;box-shadow:none;color:rgba(255,255,255,.5)}.tox .tox-split-button__main.tox-tbtn--disabled svg .tox-icon-highlight-bg-color__color,.tox .tox-split-button__main.tox-tbtn--disabled svg .tox-icon-text-color__color{opacity:.3}.tox .tox-toolbar-overlord{background-color:#222f3e}.tox .tox-toolbar,.tox .tox-toolbar__overflow,.tox .tox-toolbar__primary{background-attachment:local;background-color:#222f3e;background-image:repeating-linear-gradient(#000 0 1px,transparent 1px 39px);background-position:center top 39px;background-repeat:no-repeat;background-size:calc(100% - 4px * 2) calc(100% - 39px);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;padding:0 0;transform:perspective(1px)}.tox .tox-toolbar-overlord>.tox-toolbar,.tox .tox-toolbar-overlord>.tox-toolbar__overflow,.tox .tox-toolbar-overlord>.tox-toolbar__primary{background-position:center top 0;background-size:calc(100% - 4px * 2) calc(100% - 0px)}.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed{height:0;opacity:0;padding-bottom:0;padding-top:0;visibility:hidden}.tox .tox-toolbar__overflow--growing{transition:height .3s ease,opacity .2s linear .1s}.tox .tox-toolbar__overflow--shrinking{transition:opacity .3s ease,height .2s linear .1s,visibility 0s linear .3s}.tox .tox-anchorbar,.tox .tox-toolbar-overlord{grid-column:1/-1}.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{border-top:1px solid #000;margin-top:-1px;padding-bottom:0;padding-top:0}@media (forced-colors:active){.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{outline:1px solid currentColor}}.tox .tox-toolbar--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-pop .tox-toolbar{border-width:0}.tox .tox-toolbar--no-divider{background-image:none}.tox .tox-toolbar-overlord .tox-toolbar:not(.tox-toolbar--scrolling):first-child,.tox .tox-toolbar-overlord .tox-toolbar__primary{background-position:center top 39px}.tox .tox-editor-header>.tox-toolbar--scrolling,.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child{background-image:none}.tox .tox-focusable-wrapper{border:1px solid transparent;margin-right:2px;pointer-events:none}.tox .tox-focusable-wrapper .tox-textfield-size{pointer-events:all}.tox .tox-focusable-wrapper:focus{background-color:#4a5562;border-radius:3px;border-style:solid;border-width:1px}.tox.tox-tinymce-aux .tox-toolbar__overflow{background-color:#222f3e;background-position:center top 43px;background-size:calc(100% - 8px * 2) calc(100% - 51px);border:none;border-radius:3px;box-shadow:0 0 2px 0 rgba(42,55,70,.2),0 4px 8px 0 rgba(42,55,70,.15);overscroll-behavior:none;padding:4px 0}@media (forced-colors:active){.tox.tox-tinymce-aux .tox-toolbar__overflow{border:solid}}.tox-pop .tox-pop__dialog .tox-toolbar{background-position:center top 43px;background-size:calc(100% - 4px * 2) calc(100% - 51px);padding:4px 0}.tox-context-form__group{display:flex;align-items:center}.tox .tox-toolbar__group{align-items:center;display:flex;flex-wrap:wrap;margin:0 0;padding:0 4px 0 4px}.tox .tox-toolbar__group--pull-right{margin-left:auto}.tox .tox-toolbar--scrolling .tox-toolbar__group{flex-shrink:0;flex-wrap:nowrap}.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type){border-right:1px solid #000}.tox[dir=rtl] .tox-toolbar__group:not(:last-of-type){border-left:1px solid #000}.tox .tox-toolbar-input-form{display:flex;align-items:center;background-color:var(--tox-private-background-color,#222f3e);padding:0 var(--tox-private-pad-sm,8px)}.tox .tox-tooltip{display:inline-block;max-width:min(80%,15em);padding:8px 0 0 0;position:relative;width:max-content;z-index:1150}.tox .tox-tooltip.tox-tooltip--anchor{display:none;padding:var(--tox-private-pad-xs,4px) 0 0;position:fixed;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;height:fit-content}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--up{position-area:block-end}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--down{position-area:block-start}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--left{position-area:inline-start}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--right{position-area:inline-end}.tox .tox-tooltip__body{background-color:#2a3746;border-radius:3px;box-shadow:none;color:#fff;font-size:12px;font-style:normal;font-weight:600;overflow-wrap:break-word;padding:4px 6px;text-transform:none}@media (forced-colors:active){.tox .tox-tooltip__body{outline:outset 1px}}.tox .tox-tooltip__arrow{position:absolute}.tox .tox-tooltip--down .tox-tooltip__arrow{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #2a3746;bottom:0;left:50%;position:absolute;transform:translateX(-50%)}.tox .tox-tooltip--up .tox-tooltip__arrow{border-bottom:8px solid #2a3746;border-left:8px solid transparent;border-right:8px solid transparent;left:50%;position:absolute;top:0;transform:translateX(-50%)}.tox .tox-tooltip--right .tox-tooltip__arrow{border-bottom:8px solid transparent;border-left:8px solid #2a3746;border-top:8px solid transparent;position:absolute;right:0;top:50%;transform:translateY(-50%)}.tox .tox-tooltip--left .tox-tooltip__arrow{border-bottom:8px solid transparent;border-right:8px solid #2a3746;border-top:8px solid transparent;left:0;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-tree{display:flex;flex-direction:column}.tox .tox-tree .tox-trbtn{align-items:center;background:0 0;border:0;border-radius:4px;box-shadow:none;color:#fff;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;margin-bottom:4px;margin-top:4px;outline:0;overflow:hidden;padding:0;padding-left:8px;text-transform:none}.tox .tox-tree .tox-trbtn .tox-tree__label{cursor:default;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tree .tox-trbtn svg{display:block;fill:#fff}.tox .tox-tree .tox-trbtn:focus{background:#4a5562;border:0;box-shadow:none}.tox .tox-tree .tox-trbtn:hover{background:#4a5562;border:0;box-shadow:none;color:#fff}.tox .tox-tree .tox-trbtn:hover svg{fill:#fff}.tox .tox-tree .tox-trbtn:active{background:#6ea9d0;border:0;box-shadow:none;color:#fff}.tox .tox-tree .tox-trbtn:active svg{fill:#fff}.tox .tox-tree .tox-trbtn--disabled,.tox .tox-tree .tox-trbtn--disabled:hover,.tox .tox-tree .tox-trbtn:disabled,.tox .tox-tree .tox-trbtn:disabled:hover{background:0 0;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-tree .tox-trbtn--disabled svg,.tox .tox-tree .tox-trbtn--disabled:hover svg,.tox .tox-tree .tox-trbtn:disabled svg,.tox .tox-tree .tox-trbtn:disabled:hover svg{fill:rgba(255,255,255,0.5)}.tox .tox-tree .tox-trbtn--enabled,.tox .tox-tree .tox-trbtn--enabled:hover{background:#6ea9d0;border:0;box-shadow:none;color:#fff}.tox .tox-tree .tox-trbtn--enabled:hover>*,.tox .tox-tree .tox-trbtn--enabled>*{transform:none}.tox .tox-tree .tox-trbtn--enabled svg,.tox .tox-tree .tox-trbtn--enabled:hover svg{fill:#fff}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled){color:#fff}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled) svg{fill:#fff}.tox .tox-tree .tox-trbtn:active>*{transform:none}.tox .tox-tree .tox-trbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tree .tox-trbtn--labeled{padding:0 4px;width:unset}.tox .tox-tree .tox-trbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-tree .tox-tree--directory{display:flex;flex-direction:column}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label{font-weight:700}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn:focus svg{fill:#fff}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:focus .tox-mbtn svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover .tox-mbtn svg{fill:#fff}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#fff}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#fff}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-chevron{margin-right:6px}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--shrinking) .tox-chevron{transition:transform .5s ease-in-out}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--open) .tox-chevron{transform:rotate(90deg)}.tox .tox-tree .tox-tree--leaf__label{font-weight:400}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--leaf__label .tox-mbtn:focus svg{fill:#fff}.tox .tox-tree .tox-tree--leaf__label:hover .tox-mbtn svg{fill:#fff}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#fff}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#fff}.tox .tox-tree .tox-icon-custom-state{flex-grow:1;display:flex;justify-content:flex-end}.tox .tox-tree .tox-tree--directory__children{overflow:hidden;padding-left:16px}.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--growing,.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--shrinking{transition:height .5s ease-in-out}.tox .tox-tree .tox-trbtn.tox-tree--leaf__label{display:flex;justify-content:space-between}[data-mce-name=uploadcare-enhance-filter] .color-swatch-remove-color path{fill:#c00;stroke:#c00}.tox .tox-view-wrap,.tox .tox-view-wrap__slot-container{background-color:#222f3e;display:flex;flex:1;flex-direction:column;height:100%;min-height:0}.tox .tox-view{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden;background-color:#222f3e}.tox .tox-view__header{align-items:center;display:flex;font-size:16px;justify-content:space-between;padding:8px;position:relative}.tox .tox-view__label{color:#fff;font-weight:700;line-height:24px;padding:4px 16px;text-align:center;white-space:nowrap}.tox .tox-view__label--normal{font-size:16px}.tox .tox-view__label--large{font-size:20px}.tox .tox-view--mobile.tox-view__header,.tox .tox-view--mobile.tox-view__toolbar{padding:8px}.tox .tox-view--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-view__align-right{margin-left:auto}.tox .tox-view__toolbar{display:flex;flex-direction:row;gap:8px;justify-content:space-between;overflow-x:auto;padding:8px}.tox .tox-view__toolbar__group{display:flex;flex-direction:row;gap:12px}.tox .tox-view__header-end,.tox .tox-view__header-start{display:flex}.tox .tox-view__pane{height:100%;padding:8px;position:relative;width:100%}.tox .tox-view__pane_panel{border:1px solid #000;border-radius:3px}.tox:not([dir=rtl]) .tox-view__header .tox-view__header-end>*,.tox:not([dir=rtl]) .tox-view__header .tox-view__header-start>*{margin-left:8px}.tox[dir=rtl] .tox-view__header .tox-view__header-end>*,.tox[dir=rtl] .tox-view__header .tox-view__header-start>*{margin-right:8px}.tox .tox-well{border:1px solid #000;border-radius:3px;padding:8px;width:100%}.tox .tox-well>:first-child{margin-top:0}.tox .tox-well>:last-child{margin-bottom:0}.tox .tox-well>:only-child{margin:0}.tox .tox-custom-editor{border:1px solid #000;border-radius:3px;display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-view .tox-revisionhistory__pane{padding:0}.tox .tox-revisionhistory__container{display:flex;flex-direction:column;height:100%}.tox .tox-revisionhistory{background-color:#222f3e;border-top:1px solid rgba(255,255,255,.15);display:flex;flex:1;height:100%;overflow-x:auto;overflow-y:hidden;position:relative;width:100%}.tox .tox-revisionhistory__iframe{flex:1}.tox .tox-revisionhistory__sidebar{display:flex;flex-direction:column;height:100%;min-width:248px;width:316px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__sidebar-title{background-color:#222f3e;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);color:#fff;font-size:20px;font-weight:400;line-height:28px;padding:12px;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions{background-color:#2b3b4e;display:flex;flex:1;flex-direction:column;gap:12px;overflow-y:auto;padding:10px 12px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus{height:100%;position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus::after{bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0;border-radius:3px;bottom:1px;left:1px;right:1px;top:1px}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card{background-color:#222f3e;border:1px solid rgba(255,255,255,.15);border-radius:6px;color:#fff;cursor:pointer;display:flex;flex-direction:column;font-size:14px;padding:12px;width:100%}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:hover{box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus{position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent #285ec7;content:'';left:0;position:absolute;right:0;top:0;border-radius:6px;box-shadow:0 0 0 2px #285ec7;box-shadow:0 0 0 2px #285ec7!important}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected{background-color:#1b3b60;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);position:relative}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent #cea215;content:'';left:0;position:absolute;right:0;top:0;border-radius:6px;box-shadow:0 0 0 2px #cea215}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-tags{display:flex;align-items:flex-start;flex-direction:row;gap:8px;overflow-x:auto}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-label{display:block;max-width:min-content;padding:4px 8px;margin-bottom:8px;font-size:12px;font-weight:700;border-radius:4px;background:#555f6b;text-wrap:balance;flex:0 1 auto}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-content{display:flex;flex-direction:row;gap:8px;align-items:center}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution{align-items:center;display:flex}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution .tox-revisionhistory__avatar{position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution .tox-revisionhistory__avatar+.tox-revisionhistory__card-ai-icon{margin-left:-4px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-info{display:flex;flex-direction:column;flex:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-date-label{font-size:14px;font-weight:700;line-height:18px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-author-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:400}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__avatar{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-ai-icon{display:flex;height:36px;width:36px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__norevision{color:rgba(255,255,255,.5);font-size:16px;line-height:24px;padding:5px 5.5px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-check-icon{color:#fff;height:24px}.tox .tox-card{background-color:#222f3e;border-radius:3px;display:flex;flex-direction:column;gap:12px;padding:12px;cursor:pointer;transition:box-shadow .15s ease-in-out,border .15s ease-in-out;border:0 solid transparent}.tox .tox-card:hover{box-shadow:0 4px 8px 0 rgba(42,55,70,.1)}.tox .tox-card--selected{border-color:#207ab7}.tox .tox-card:focus-visible{outline:0 solid transparent;border-color:transparent}.tox .tox-card--has-decision{background-color:#17202a}.tox .tox-card--has-decision:not(.tox-card--selected){border-width:1px;border-color:rgba(255,255,255,.5);padding:11px}.tox .tox-card--has-decision .tox-card__header{font-size:12px}.tox .tox-card--has-decision .tox-card__body{color:rgba(255,255,255,.5)}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline{border-color:#0c1116}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:focus:not(:disabled),.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:hover:not(:disabled){background-color:#0c1116;border-color:#010203}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:active:not(:disabled){background-color:#010203;border-color:#010203}.tox .tox-card__header{padding-bottom:0;color:#fff;font-size:16px;font-weight:700;text-transform:uppercase;display:flex;flex-direction:column;gap:12px}.tox .tox-card__header-label{font-size:12px;font-weight:700;text-transform:uppercase;color:#fff}.tox .tox-card__header-content{flex:1;min-width:0;font-weight:400;text-transform:none}.tox .tox-card__header-actions{display:flex;align-items:center;gap:4px;flex-shrink:0;opacity:1;pointer-events:auto;transition:opacity .15s ease-in-out}.tox .tox-card__header-actions--hover-visible,.tox .tox-card__header-actions--on-focus{opacity:0;pointer-events:none}.tox .tox-card__header-actions--always-visible{opacity:1;pointer-events:auto}.tox .tox-card__header:has(.tox-card__header-actions),.tox .tox-card__header:has(.tox-card__header-content){flex-direction:row;align-items:center}.tox .tox-card__header:has(.tox-card__header-content){justify-content:space-between}.tox .tox-card__header:has(.tox-card__header-actions):not(:has(.tox-card__header-content)){justify-content:flex-end}.tox .tox-card:focus-within .tox-card__header-actions--hover-visible,.tox .tox-card:focus-within .tox-card__header-actions--on-focus,.tox .tox-card:hover .tox-card__header-actions--hover-visible{opacity:1;pointer-events:auto}.tox .tox-card__body{color:#fff;font-size:14px}.tox .tox-card__body .tox-expandable-box{background:0 0;border:none;gap:12px}.tox .tox-card__body .tox-expandable-box .tox-expandable-box__content,.tox .tox-card__body .tox-expandable-box>.tox-button{margin:0}.tox .tox-card__highlight{padding:4px 6px;border-bottom:0 solid #207ab7}.tox .tox-card__highlight--added{background-color:#334840}.tox .tox-card__highlight--deleted{background-color:#442632}.tox .tox-card__highlight--modified{background-color:#223e56}.tox .tox-card__actions{display:flex;gap:8px}.tox .tox-card__actions--space-between{justify-content:space-between}.tox .tox-card__actions--flex-start{justify-content:flex-start}.tox .tox-card__actions .tox-button,.tox .tox-card__actions .tox-button--icon,.tox .tox-card__actions .tox-button:has(.tox-icon:only-child){padding:4px 16px}.tox .tox-card__divider{margin:12px 0;border:none;border-top:1px solid #000}.tox .tox-card__expansion{display:flex;flex-direction:column;gap:12px;width:100%}.tox .tox-card__expansion:has(> .tox-card__expansion-content--collapsed:only-child){margin-block-start:-12px}.tox .tox-card__expansion-content{display:grid;font-size:14px;grid-template-rows:0fr;transition:grid-template-rows .2s ease-in-out}.tox .tox-card__expansion-content--expanded{grid-template-rows:1fr}.tox .tox-card__expansion-content--expanded>.tox-card__expansion-content-inner{min-height:auto;overflow:visible}.tox .tox-card__expansion-content--collapsed{grid-template-rows:0fr}.tox .tox-card__expansion-content-inner{min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:12px}.tox .tox-card.tox-skeleton{cursor:default;pointer-events:none;box-shadow:none}.tox .tox-card.tox-skeleton:hover{box-shadow:none}.tox .tox-card.tox-skeleton .tox-skeleton__line{border-radius:3px;margin:0}.tox .tox-card.tox-skeleton .tox-card__body{display:flex;flex-direction:column;gap:4px}.tox .tox-card-list{display:flex;flex-direction:column;gap:12px}.tox .tox-card-list:has(.tox-card-group){gap:0}.tox .tox-card-list:focus{outline:0}.tox .tox-card-group{background-color:#17202a;display:flex;flex-direction:column}.tox .tox-card-group .tox-card{scroll-margin-top:53px}.tox .tox-card-group__title{align-items:center;background-color:#222f3e;border-bottom:1px solid #000;color:#fff;display:flex;font-size:14px;font-weight:700;gap:8px;line-height:16px;overflow:hidden;padding:12px;position:sticky;top:0;z-index:1}.tox .tox-card-group__title-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-card-group__status{color:rgba(255,255,255,.5);flex:0 0 auto;font-size:12px;font-weight:400;margin-inline-start:auto}.tox .tox-card-group__content{display:flex;flex-direction:column;gap:12px;padding-block:12px}.tox .tox-profile{align-items:center;display:flex;gap:8px}.tox .tox-profile__image{align-items:center;display:flex;flex-shrink:0}.tox .tox-profile__badge{display:flex;flex-shrink:0;height:36px;margin-inline-start:-4px;width:36px}.tox .tox-profile__badge svg{display:block;height:100%;width:100%}.tox .tox-user-avatar{width:36px;height:36px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center}.tox .tox-user-avatar img{width:100%;height:100%;object-fit:cover}.tox .tox-profile__body{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;flex:1}.tox .tox-profile__heading{color:#fff;font-size:14px;font-weight:700;line-height:18px;text-transform:none}.tox .tox-profile__subheading{color:#fff;font-size:12px;font-weight:400;line-height:16px;padding-block:4px;text-transform:none}.tox .tox-profile__subheading .tox-icon svg{fill:rgba(255,255,255,0.5);margin-block:-4px;vertical-align:top}.tox [data-mce-name=suggestededits] .tox-icon .tox-icon--badge{fill:#207ab7}.tox .tox-view .tox-suggestededits__pane{padding:0}.tox .tox-suggestededits__sink{position:relative;z-index:1000}.tox .tox-suggestededits__sink .tox-tiered-menu .tox-collection--list{position:absolute}.tox .tox-suggestededits__container{height:100%;display:flex;flex-direction:column}.tox .tox-suggestededits__container .tox-suggestededits{background-color:#222f3e;display:flex;flex:1;height:inherit;overflow-x:auto;overflow-y:hidden;position:relative}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__content{flex:1}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__model{height:100%;position:relative}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__model .tox-suggestededits__iframe{height:100%;width:100%;overflow:scroll;background-color:#fff}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar{background-color:#34485f;border-left:1px solid #000;display:flex;flex-direction:column;flex:0 1 auto;min-width:248px;width:441px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__announcer{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;margin:-1px;padding:0;border:0}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar{padding:4px 12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar:not(:empty){padding:12px 12px 6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button:has(.tox-icon:only-child){gap:0;padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-md,16px)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button:has(.tox-icon:only-child) .tox-icon{align-items:center;display:flex;flex:0 0 auto;height:24px;justify-content:center;width:24px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline{border-color:#486383}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:focus:not(:disabled),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:hover:not(:disabled){background-color:rgba(255,255,255,.12);border-color:rgba(255,255,255,.12)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline.tox-button--enabled:not(:disabled),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:active:not(:disabled){background-color:rgba(255,255,255,.18);border-color:rgba(255,255,255,.18);color:#fff}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline[disabled]{border-color:#486383}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content{display:flex;flex:1;flex-direction:column;gap:12px;overflow:auto;padding:6px 12px 12px 12px;position:relative;scroll-padding-block:6px 12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-card--selected:has(textarea:focus){border-color:transparent}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__divider,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--divider{background-color:#34485f;height:1px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--editor,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--single{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;gap:12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--editor{padding:6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header{display:flex;flex:auto;justify-content:space-between;align-items:center;gap:8px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__card--timestamp,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__card--timestamp{color:#fff}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__card--timestamp .tox-icon svg,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__card--timestamp .tox-icon svg{fill:rgba(255,255,255,0.5)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution{align-items:center;border:0;border-radius:20px;color:rgba(255,255,255,.5);height:20px;width:20px;display:flex;flex:0 0 auto;justify-content:center;text-align:center}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button{padding:var(--tox-private-button-padding-y,4px) var(--tox-private-button-padding-x,16px)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button .tox-suggestededits__resolution--label{display:none}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:not(:hover):not(:focus-visible),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:not(:hover):not(:focus-visible){border-color:transparent}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution{display:none}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution--label{display:inline}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content{display:flex;flex-direction:column;align-self:stretch;flex:auto;gap:6px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations{display:flex;gap:8px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-details,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-details{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-text,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-text{color:#fff;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:18px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-content-text,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-content-text{font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:20px;overflow-wrap:break-word}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-content-text-joiner,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-content-text-joiner{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__card--feedback,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__card--feedback{color:#fff;overflow-wrap:anywhere;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__actions,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--buttons{display:flex;align-items:center;gap:8px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__actions.tox-suggestededits__card--feedback-buttons,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--buttons.tox-suggestededits__card--feedback-buttons{justify-content:flex-end}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-suggestededits__card--active .tox-suggestededits__card--single{border-radius:6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-suggestededits__card--active .tox-suggestededits__card--single:focus-visible{outline:2px solid #207ab7}.tox .tox-dialog-loading::before{background-color:rgba(0,0,0,.5);content:"";height:100%;position:absolute;width:100%;z-index:1000}.tox .tox-tab{cursor:pointer}.tox .tox-dialog__content-js{display:flex;flex:1}.tox .tox-dialog__body-content .tox-collection{display:flex;flex:1}.tox:not(.tox-tinymce-inline) .tox-editor-header{background-color:none;padding:0}.tox.tox-tinymce--toolbar-bottom .tox-editor-header,.tox.tox-tinymce-inline .tox-editor-header{margin-bottom:-1px}.tox.tox-tinymce-inline .tox-editor-container{overflow:hidden}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header{border-top:none;box-shadow:none}.tox.tox.tox-tinymce--toolbar-sticky-on .tox-editor-header{background-color:transparent;box-shadow:0 4px 4px -3px rgba(0,0,0,.25);padding:0}.tox.tox.tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header{box-shadow:0 4px 4px -3px rgba(0,0,0,.25)}.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker{margin:-4px 0}.tox .tox-menu.tox-collection.tox-collection--list{padding:0}.tox .tox-pop{box-shadow:none}.tox .tox-label,.tox .tox-number-input,.tox .tox-split-button,.tox .tox-tbtn,.tox .tox-tbtn--select,.tox .tox-toolbar-label{margin:2px 0 3px 0}.tox .tox-tbtn--bordered,.tox .tox-tbtn--bordered:focus,.tox .tox-tbtn--bordered:hover{border:1px solid #000}.tox .tox-pop__dialog .tox-toolbar,.tox .tox-toolbar,.tox .tox-toolbar__overflow,.tox .tox-toolbar__primary{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}.tox .tox-menubar+.tox-toolbar-overlord{border-top:none}.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord .tox-toolbar__primary{border-top:1px solid #000;margin-top:-1px}.tox.tox-tinymce-aux .tox-toolbar__overflow{border:1px solid #000;padding:0}.tox .tox-pop .tox-pop__dialog .tox-toolbar{padding:0}.tox .tox-context-toolbar .tox-toolbar{background:0 0}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-menubar{border-top:1px solid #000}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-toolbar-overlord:first-child .tox-toolbar__primary,.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-toolbar:first-child{border-top:1px solid #000}.tox .tox-toolbar__group{padding:0 4px 0 4px}.tox .tox-collection__item{border-radius:0;cursor:pointer}.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]){color:#fff}.tox .tox-statusbar__branding svg{fill:rgba(255,255,255,0.8);height:1em;margin-left:.3em;width:auto}@media (forced-colors:active){.tox .tox-statusbar__branding svg{fill:currentColor}}.tox .tox-statusbar__branding a{align-items:center;display:inline-flex}.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg,.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg{fill:#fff}.tox:not([dir=rtl]) .tox-statusbar__branding{margin-left:1ch}.tox[dir=rtl] .tox-statusbar__branding svg{margin-left:0;margin-right:.3em}.tox .tox-statusbar__resize-handle{padding-bottom:0;padding-right:0}.tox .tox-button::before{display:none}`) \ No newline at end of file diff --git a/libraries/tinymce/js/tinymce/skins/ui/tinymce-5-dark/skin.min.css b/libraries/tinymce/js/tinymce/skins/ui/tinymce-5-dark/skin.min.css index 744305c..269f6e8 100644 --- a/libraries/tinymce/js/tinymce/skins/ui/tinymce-5-dark/skin.min.css +++ b/libraries/tinymce/js/tinymce/skins/ui/tinymce-5-dark/skin.min.css @@ -1 +1 @@ -.tox{box-shadow:none;box-sizing:content-box;cursor:auto;font-style:normal;font-weight:400;line-height:normal;-webkit-tap-highlight-color:transparent;-webkit-text-decoration:none;text-decoration:none;text-shadow:none;text-transform:none;vertical-align:initial;white-space:normal}.tox :not(svg):not(rect){box-sizing:inherit;color:inherit;cursor:inherit;direction:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;-webkit-tap-highlight-color:inherit;text-align:inherit;text-decoration:inherit;text-shadow:inherit;text-transform:inherit;vertical-align:inherit;white-space:inherit}.tox :not(svg):not(rect){background:0 0;border:0;box-shadow:none;float:none;height:auto;margin:0;max-width:none;outline:0;padding:0;position:static;width:auto}.tox:not([dir=rtl]){direction:ltr;text-align:left}.tox[dir=rtl]{direction:rtl;text-align:right}.tox-tinymce :focus,.tox-tinymce-aux :focus{outline:0}button::-moz-focus-inner{border:0}@keyframes tox-rotation{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes tox-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox{color:var(--tox-private-color-black,#2a3746);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-font-size-base, 16px)}.tox-tinymce{border:1px solid #000;border-radius:0;box-shadow:none;box-sizing:border-box;display:flex;flex-direction:column;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);overflow:hidden;position:relative;visibility:inherit!important}.tox.tox-tinymce-inline{border:none;box-shadow:none;overflow:initial}.tox.tox-tinymce-inline .tox-editor-container{overflow:initial}.tox.tox-tinymce-inline .tox-editor-header{background-color:#222f3e;border:1px solid #000;border-radius:0;box-shadow:none;overflow:hidden}.tox-tinymce-aux{font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);z-index:var(--tox-private-z-index-sink,1300)}.tox[dir=rtl] .tox-icon--flip svg{transform:rotateY(180deg)}.tox .tox-editor-container{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.tox .tox-editor-container--keep-toolbar{flex:0 0 auto;overflow:visible}.tox .tox-editor-header{display:grid;grid-template-columns:1fr min-content;z-index:2}.tox:not(.tox-tinymce-inline) .tox-editor-header{background-color:#222f3e;border-bottom:none;box-shadow:none;padding:4px 0}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(.tox-editor-dock-transition){transition:box-shadow .5s}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header{border-top:1px solid #000;box-shadow:none}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header{background-color:#222f3e;box-shadow:0 4px 4px -3px rgba(0,0,0,.25);padding:4px 0}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header{box-shadow:0 4px 4px -3px rgba(0,0,0,.25)}.tox.tox:not(.tox-tinymce-inline) .tox-editor-header.tox-editor-header--empty{background:0 0;border:none;box-shadow:none;padding:0}.tox-editor-dock-fadeout{opacity:0;visibility:hidden}.tox-editor-dock-fadein{opacity:1;visibility:visible}.tox-editor-dock-transition{transition:visibility 0s linear .25s,opacity .25s ease}.tox-editor-dock-transition.tox-editor-dock-fadein{transition-delay:0s}.tox .accessibility-issue__header{align-items:center;display:flex;margin-bottom:4px}.tox #accessibility-issue__subheader{font-size:16px;color:#fff}.tox .accessbility-sr-only{position:absolute;clip:rect(1px,1px,1px,1px);clip-path:inset(0 0 99.9% 99.9%);overflow:hidden;height:1px;width:1px;padding:0;border:0}.tox .accessibility-issue__description{align-items:stretch;border-radius:3px;justify-content:space-between}.tox .accessibility-issue__description>div{padding-bottom:4px}.tox .accessibility-issue__description>div>div{align-items:center;display:flex;margin-bottom:4px}.tox .accessibility-issue__description>div>div .tox-icon svg{display:block}.tox #accessibility-issue__contentID{margin-top:8px;margin-bottom:8px}.tox #accessibility-issue__contentID span:first-child{font-weight:700}.tox #accessibility-issue__document{padding-bottom:8px}.tox .accessibility-issue__repair{margin-top:8px}.tox .accessibility-issue__repair .tox-form__group .tox-form__group--error{color:#eb9999}.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description{background-color:#22374a;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2{font-size:14px;color:#a6cae2}.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon.accessibility-issue__icon svg{fill:#a6cae2}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon{background-color:#207ab7;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:hover{background-color:#1c6ca1}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:active{background-color:#185d8c}.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description{background-color:#383f38;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2{font-size:14px;color:#ffeb99}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon.accessibility-issue__icon svg{fill:#ffeb99}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon{background-color:#ffe89d;color:#2a3746}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:hover{background-color:#f2d574;color:#2a3746}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:active{background-color:#e8c657;color:#2a3746}.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description{background-color:#332a38;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2{font-size:14px;color:#eb9999}.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon.accessibility-issue__icon svg{fill:#eb9999}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon{background-color:#f2bfbf;color:#2a3746}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:hover{background-color:#e9a4a4;color:#2a3746}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:active{background-color:#ee9494;color:#2a3746}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description{background-color:rgba(120,171,70,.5);color:#fff}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description>:last-child{display:none}.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2{color:#fff}.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon.accessibility-issue__icon svg{fill:#fff}.tox .tox-dialog__body-content .accessibility-issue__header .tox-form__group h1,.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2{margin-top:0}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-left:4px}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-left:auto}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description{padding:8px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-right:4px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-right:auto}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description{padding:4px 8px 4px 4px}.tox .mce-codemirror{background:#fff;bottom:0;font-size:13px;left:0;position:absolute;right:0;top:0;z-index:1}.tox .mce-codemirror.tox-inline-codemirror{margin:8px;position:absolute}.tox .tox-advtemplate .tox-form__grid{flex:1}.tox .tox-advtemplate .tox-form__grid>div:first-child{display:flex;flex-direction:column;width:30%}.tox .tox-advtemplate .tox-form__grid>div:first-child>div:nth-child(2){flex-basis:0;flex-grow:1;overflow:auto}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-advtemplate .tox-form__grid>div:first-child{width:100%}}.tox .tox-advtemplate iframe{border-color:#000;border-radius:0;border-style:solid;border-width:1px;margin:0 10px}.tox .tox-accordion{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__item{background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color,#fff);border-radius:var(--tox-private-control-border-radius,3px);position:relative}.tox .tox-accordion__item.tox-accordion__item--expanded{background-color:var(--tox-private-background-secondary,#2f4055)}.tox .tox-accordion__item.tox-accordion__item--expanded .tox-accordion__content--expanded .tox-accordion__content-inner{padding-top:0}.tox .tox-accordion__item::after{border-radius:var(--tox-private-control-border-radius,3px);box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,0) var(--tox-private-keyboard-focus-outline-color,transparent);content:'';inset:0;opacity:0;pointer-events:none;position:absolute}@media (forced-colors:active){.tox .tox-accordion__item::after{border:2px solid highlight}}.tox .tox-accordion__item:focus{outline:0;z-index:1}.tox .tox-accordion__item:focus::after{opacity:1}.tox .tox-accordion__heading{margin:0;width:100%}.tox .tox-accordion__heading:focus{outline:0}.tox .tox-accordion__header{align-items:center;border:none;border-radius:var(--tox-private-control-border-radius,3px);box-sizing:border-box;color:var(--tox-private-text-color,#fff);cursor:pointer;display:flex;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:var(--tox-private-line-height-base, 1.3);outline:0;padding:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));text-align:left;width:100%}.tox .tox-accordion__header::after{border-radius:var(--tox-private-control-border-radius,3px);bottom:0;box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,0) var(--tox-private-keyboard-focus-outline-color,transparent);content:'';left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-accordion__header::after{border:2px solid highlight}}.tox .tox-accordion__header:hover:not(.tox-accordion__header--disabled){background-color:var(--tox-private-background-secondary,#2f4055)}.tox .tox-accordion__header:focus:not(.tox-accordion__header--disabled){position:relative;z-index:1}.tox .tox-accordion__header:focus:not(.tox-accordion__header--disabled)::after{opacity:1}.tox .tox-accordion__header.tox-accordion__header--disabled{cursor:not-allowed;opacity:.5}.tox .tox-accordion__header.tox-accordion__header--icon-end{padding-right:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__header-icon{align-items:center;color:var(--tox-private-text-color,#fff);display:flex;flex-shrink:0;height:calc(var(--tox-private-base-value,16px) * 1.5);justify-content:center;width:calc(var(--tox-private-base-value,16px) * 1.5)}.tox .tox-accordion__header-icon svg{display:block;fill:currentColor;height:100%;width:100%;max-height:calc(var(--tox-private-base-value,16px) * 1.5);max-width:calc(var(--tox-private-base-value,16px) * 1.5)}.tox .tox-accordion__header:not(.tox-accordion__header--icon-end) .tox-accordion__header-icon{margin-right:var(--tox-private-pad-sm,8px);margin-left:0}.tox .tox-accordion__header--icon-end .tox-accordion__header-icon{margin-left:auto}.tox .tox-accordion__header-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-accordion__header--icon-end .tox-accordion__header-text{flex:0 1 auto;margin-right:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__content{border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-accordion__content.tox-accordion__content--collapsed{display:none}.tox .tox-accordion__content.tox-accordion__content--expanded{display:block}.tox .tox-accordion__content-inner{padding:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px)) calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__content-inner .tox-form__group:last-child{margin-bottom:0}.tox .tox-accordion__content-inner .tox-form__group>:not(:first-child){margin-top:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__content-inner .tox-form__group>.tox-dropdown-content{margin-top:0}.tox .tox-accordion__content-inner .tox-button-group{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__content-inner .tox-accordion__model-button{border-radius:var(--tox-private-control-border-radius,3px);align-items:center;appearance:none;background:0 0;border:none;color:inherit;cursor:pointer;display:flex;font-family:inherit;font-size:inherit;gap:var(--tox-private-pad-xs,4px);margin:0;outline:0;padding:6px calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));position:relative}.tox .tox-accordion__content-inner .tox-accordion__model-button::after{border-radius:var(--tox-private-control-border-radius,3px);bottom:0;box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,0) var(--tox-private-keyboard-focus-outline-color,transparent);content:'';left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-accordion__content-inner .tox-accordion__model-button::after{border:2px solid highlight}}.tox .tox-accordion__content-inner .tox-accordion__model-button:focus{z-index:1}.tox .tox-accordion__content-inner .tox-accordion__model-button:focus::after{opacity:1}.tox .tox-accordion .tox-selectfield{align-items:center;background-color:var(--tox-private-background-color,#222f3e);border:1px solid var(--tox-private-border-color,#000);border-radius:var(--tox-private-control-border-radius,3px);box-sizing:border-box;display:flex;height:34px;padding:0 6px;position:relative;width:100%}.tox .tox-accordion .tox-selectfield:focus-within{box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,0) var(--tox-private-keyboard-focus-outline-color,transparent);z-index:1}@media (forced-colors:active){.tox .tox-accordion .tox-selectfield:focus-within{border-color:highlight;box-shadow:0 0 0 2px highlight}}.tox .tox-accordion .tox-selectfield button{appearance:none;background:0 0;border:none;color:inherit;cursor:pointer;flex:1;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;outline:0;padding:5px 0;text-align:left}.tox .tox-accordion .tox-selectfield .tox-icon{display:flex;flex-shrink:0;padding:9px 0;pointer-events:none}.tox .tox-accordion .tox-selectfield .tox-icon svg{height:var(--tox-private-base-value,16px);width:var(--tox-private-base-value,16px)}.tox[dir=rtl] .tox-accordion__header{text-align:right}.tox[dir=rtl] .tox-accordion__header:not(.tox-accordion__header--icon-end) .tox-accordion__header-icon{margin-left:var(--tox-private-pad-sm,8px);margin-right:0}.tox[dir=rtl] .tox-accordion__header--icon-end .tox-accordion__header-icon{margin-right:auto;margin-left:0}.tox[dir=rtl] .tox-accordion__header--icon-end .tox-accordion__header-text{margin-left:var(--tox-private-pad-sm,8px);margin-right:0}.tox .tox-alert{align-items:flex-start;align-self:stretch;border-radius:var(--tox-private-panel-border-radius,3px);border-style:solid;border-width:1px;box-sizing:border-box;color:var(--tox-private-text-color,#fff);display:flex;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-normal,normal);gap:var(--tox-private-pad-xs,4px);line-height:var(--tox-private-line-height-base, 1.3);padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-sm,8px);width:100%}.tox .tox-alert--error{background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#222f3e) r g b / .8) 0,rgba(from var(--tox-private-background-color,#222f3e) r g b / .8) 100%),var(--tox-private-color-error,#c00);border-color:var(--tox-private-color-error,#c00)}.tox .tox-alert--warning{background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#222f3e) r g b / .8) 0,rgba(from var(--tox-private-background-color,#222f3e) r g b / .8) 100%),var(--tox-private-color-warning,#fc0);border-color:var(--tox-private-color-warning,#fc0)}.tox .tox-alert__body{display:flex;flex:1 0 0;flex-direction:column;min-width:0}.tox .tox-alert__content{align-items:center;display:flex;flex:1 0 0;gap:var(--tox-private-pad-sm,8px);padding:var(--tox-private-pad-sm,8px) 0}.tox .tox-alert__message{margin:0;text-align:left}.tox .tox-alert__actions{align-items:center;display:flex;flex-wrap:wrap;gap:var(--tox-private-pad-xs,4px);justify-content:flex-start}.tox .tox-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bottom-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bar{display:flex;flex:0 0 auto}.tox .tox-button{border-width:var(--tox-private-button-border-width,1px);border-style:var(--tox-private-button-border-style,solid);border-radius:var(--tox-private-control-border-radius,3px);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-button-font-size, 14px);font-style:var(--tox-private-button-font-style,normal);font-weight:var(--tox-private-button-font-weight,bold);line-height:var(--tox-private-control-line-height, 24px);padding:var(--tox-private-button-padding-y,4px) var(--tox-private-button-padding-x,16px);text-align:center;-webkit-text-decoration:none;text-decoration:none;text-transform:none;letter-spacing:normal;box-shadow:none;box-sizing:border-box;cursor:pointer;outline:0;position:relative;white-space:nowrap;display:inline-flex;justify-content:center;align-items:center;gap:var(--tox-private-pad-xs,4px)}.tox .tox-button::before{border-radius:var(--tox-private-control-border-radius,3px);bottom:calc(-1 * var(--tox-private-button-border-width,1px));box-shadow:var(--tox-private-button-focus-outline,inset 0 0 0 1px #fff,0 0 0 2px #207ab7);content:'';left:calc(-1 * var(--tox-private-button-border-width,1px));opacity:0;pointer-events:none;position:absolute;right:calc(-1 * var(--tox-private-button-border-width,1px));top:calc(-1 * var(--tox-private-button-border-width,1px))}.tox .tox-button:focus:not(:disabled){background-color:var(--tox-private-button-focus-background-color,#1c6ca1);background-image:none;border-color:var(--tox-private-button-focus-border-color,#1c6ca1);box-shadow:var(--tox-private-button-focus-box-shadow,none);color:var(--tox-private-button-focus-text-color,#fff)}.tox .tox-button:focus:not(:disabled)::before{opacity:1}.tox .tox-button.tox-button--icon,.tox .tox-button:has(.tox-icon:only-child){padding:4px}.tox .tox-button .tox-icon svg{display:block;fill:currentColor}.tox .tox-button .tox-icon.tox-icon--success svg{fill:var(--tox-private-color-success,#78AB46)}.tox .tox-button .tox-icon.tox-icon--error svg{fill:var(--tox-private-color-error,#c00)}.tox .tox-button--stretch{width:100%}.tox-context-form__group .tox-button--icon,.tox-context-form__group .tox-button.tox-button--icon{margin:3px 0 2px 0;padding:0}.tox .tox-button{background-color:var(--tox-private-button-primary-background-color,#207ab7);background-image:none;background-position:0 0;background-repeat:repeat;color:var(--tox-private-button-primary-text-color,#fff);border-color:var(--tox-private-button-primary-border-color,#207ab7)}.tox .tox-button[disabled]{background-color:var(--tox-private-button-primary-disabled-background-color,#207ab7);background-image:none;border-color:var(--tox-private-button-primary-disabled-border-color,#207ab7);color:var(--tox-private-button-primary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button:focus:not(:disabled){background-color:var(--tox-private-button-primary-focus-background-color,#1c6ca1);border-color:var(--tox-private-button-primary-focus-border-color,#1c6ca1);color:var(--tox-private-button-primary-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button:hover:not(:disabled){background-color:var(--tox-private-button-primary-hover-background-color,#1c6ca1);border-color:var(--tox-private-button-primary-hover-border-color,#1c6ca1);color:var(--tox-private-button-primary-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button:active:not(:disabled){background-color:var(--tox-private-button-primary-active-background-color,#185d8c);border-color:var(--tox-private-button-primary-active-border-color,#185d8c);color:var(--tox-private-button-primary-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled{background-color:var(--tox-private-button-primary-enabled-background-color,#185d8c);border-color:var(--tox-private-button-primary-enabled-border-color,#185d8c);color:var(--tox-private-button-primary-enabled-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled[disabled]{color:var(--tox-private-button-primary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-primary-enabled-focus-background-color,#154f76);border-color:var(--tox-private-button-primary-enabled-focus-border-color,#154f76);color:var(--tox-private-button-primary-enabled-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-primary-enabled-hover-background-color,#154f76);border-color:var(--tox-private-button-primary-enabled-hover-border-color,#154f76);color:var(--tox-private-button-primary-enabled-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-primary-enabled-active-background-color,#114060);border-color:var(--tox-private-button-primary-enabled-active-border-color,#114060);color:var(--tox-private-button-primary-enabled-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary{background-color:var(--tox-private-button-secondary-background-color,#3d546f);border-color:var(--tox-private-button-secondary-border-color,#3d546f);color:var(--tox-private-button-secondary-text-color,#fff);border-style:solid;border-width:1px;background-image:none;background-position:0 0;background-repeat:repeat;border-radius:3px;box-shadow:none;font-size:14px;font-style:normal;font-weight:700;letter-spacing:normal;outline:0;padding:4px 16px;-webkit-text-decoration:none;text-decoration:none;text-transform:none}.tox .tox-button--secondary[disabled]{background-color:var(--tox-private-button-secondary-disabled-background-color,#3d546f);background-image:none;border-color:var(--tox-private-button-secondary-disabled-border-color,#3d546f);color:var(--tox-private-button-secondary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button--secondary:focus:not(:disabled){background-color:var(--tox-private-button-secondary-focus-background-color,#34485f);border-color:var(--tox-private-button-secondary-focus-border-color,#34485f);color:var(--tox-private-button-secondary-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary:hover:not(:disabled){background-color:var(--tox-private-button-secondary-hover-background-color,#34485f);border-color:var(--tox-private-button-secondary-hover-border-color,#34485f);color:var(--tox-private-button-secondary-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary:active:not(:disabled){background-color:var(--tox-private-button-secondary-active-background-color,#2b3b4e);border-color:var(--tox-private-button-secondary-active-border-color,#2b3b4e);color:var(--tox-private-button-secondary-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled{background-color:var(--tox-private-button-secondary-enabled-background-color,#6ea9d0);border-color:var(--tox-private-button-secondary-enabled-border-color,#6ea9d0);color:var(--tox-private-button-secondary-enabled-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled[disabled]{color:var(--tox-private-button-secondary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button--secondary.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-focus-background-color,#5b9dca);border-color:var(--tox-private-button-secondary-enabled-focus-border-color,#5b9dca);color:var(--tox-private-button-secondary-enabled-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-hover-background-color,#5b9dca);border-color:var(--tox-private-button-secondary-enabled-hover-border-color,#5b9dca);color:var(--tox-private-button-secondary-enabled-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-active-background-color,#4792c4);border-color:var(--tox-private-button-secondary-enabled-active-border-color,#4792c4);color:var(--tox-private-button-secondary-enabled-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--naked{background-color:transparent;border-color:transparent;box-shadow:unset;color:var(--tox-private-button-naked-text-color,#fff)}.tox .tox-button--naked[disabled]{background-color:#3d546f;border-color:#3d546f;color:var(--tox-private-button-naked-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button--naked:focus:not(:disabled){background-color:var(--tox-private-button-naked-focus-background-color,#34485f);border-color:var(--tox-private-button-naked-focus-border-color,#34485f);color:var(--tox-private-button-naked-focus-text-color,#fff);box-shadow:none}.tox .tox-button--naked:hover:not(:disabled){background-color:var(--tox-private-button-naked-hover-background-color,#34485f);border-color:var(--tox-private-button-naked-hover-background-color,#34485f);color:var(--tox-private-button-naked-hover-text-color,#fff);box-shadow:none}.tox .tox-button--naked:active:not(:disabled){background-color:var(--tox-private-button-naked-active-background-color,#2b3b4e);border-color:var(--tox-private-button-naked-active-border-color,#2b3b4e);color:var(--tox-private-button-naked-active-text-color,#fff);box-shadow:none}.tox .tox-button--naked.tox-button--enabled{background-color:var(--tox-private-button-naked-enabled-background-color,#346085);border-color:var(--tox-private-button-naked-enabled-border-color,#346085);color:var(--tox-private-button-naked-enabled-text-color,#fff);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled[disabled]{color:var(--tox-private-button-naked-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button--naked.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-naked-enabled-focus-background-color,#2d5373);border-color:var(--tox-private-button-naked-enabled-focus-border-color,#2d5373);color:var(--tox-private-button-naked-enabled-focus-text-color,#fff);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-naked-enabled-hover-background-color,#2d5373);border-color:var(--tox-private-button-naked-enabled-hover-border-color,#2d5373);color:var(--tox-private-button-naked-enabled-hover-text-color,#fff);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-naked-enabled-active-background-color,#264560);border-color:var(--tox-private-button-naked-enabled-active-border-color,#264560);color:var(--tox-private-button-naked-enabled-active-text-color,#fff);box-shadow:unset}.tox .tox-button--secondary--outline{background-color:transparent;border-color:var(--tox-private-button-secondary-outline-border-color,#3d546f);color:var(--tox-private-button-secondary-outline-text-color,#fff)}.tox .tox-button--secondary--outline:focus:not(:disabled){background-color:var(--tox-private-button-secondary-outline-focus-background-color,#34485f);border-color:var(--tox-private-button-secondary-outline-focus-border-color,#34485f);color:var(--tox-private-button-secondary-outline-focus-text-color,#fff)}.tox .tox-button--secondary--outline:hover:not(:disabled){background-color:var(--tox-private-button-secondary-outline-hover-background-color,#3d546f);border-color:var(--tox-private-button-secondary-outline-hover-border-color,#34485f);color:var(--tox-private-button-secondary-outline-hover-text-color,#fff)}.tox .tox-button--secondary--outline:active:not(:disabled){background-color:var(--tox-private-button-secondary-outline-active-background-color,#34485f);border-color:var(--tox-private-button-secondary-outline-active-border-color,#34485f);color:var(--tox-private-button-secondary-outline-active-text-color,#fff)}.tox .tox-button--secondary--outline[disabled]{background-color:var(--tox-private-button-secondary-outline-disabled-background-color,transparent);border-color:var(--tox-private-button-secondary-outline-disabled-border-color,#3d546f);color:var(--tox-private-button-secondary-outline-disabled-text-color,rgba(255,255,255,.5))}.tox .tox-checkbox{align-items:center;border-radius:var(--tox-private-checkbox-border-radius,3px);cursor:pointer;display:flex;height:var(--tox-private-control-height,36px);min-width:var(--tox-private-control-height,36px)}.tox .tox-checkbox__input{height:1px;overflow:hidden;position:absolute;top:auto;width:1px}.tox .tox-checkbox__icons{display:flex;align-items:center;justify-content:center;box-sizing:content-box;padding:var(--tox-private-pad-xs,calc(4px - 1px));border-radius:var(--tox-private-checkbox-border-radius,3px);box-shadow:0 0 0 2px transparent;height:var(--tox-private-control-line-height,24px);aspect-ratio:1/1}.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:block;fill:var(--tox-private-checkbox-unselected-color,rgba(255,255,255,0.2))}@media (forced-colors:active){.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:currentColor!important}}.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:none;fill:var(--tox-private-checkbox-indeterminate-color,#207ab7)}.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg{display:none;fill:var(--tox-private-checkbox-selected-color,#207ab7)}.tox .tox-checkbox--disabled{color:var(--tox-private-checkbox-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(255,255,255,0.5))}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(255,255,255,0.5))}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(255,255,255,0.5))}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__checked svg{display:block}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:block}.tox input.tox-checkbox__input:focus+.tox-checkbox__icons{box-shadow:var(--tox-private-checkbox-focus-box-shadow,inset 0 0 0 1px #207ab7)}.tox:not([dir=rtl]) .tox-checkbox__label{margin-left:var(--tox-private-pad-xs,4px)}.tox:not([dir=rtl]) .tox-checkbox__input{left:-10000px}.tox:not([dir=rtl]) .tox-bar .tox-checkbox{margin-left:var(--tox-private-pad-xs,4px)}.tox[dir=rtl] .tox-checkbox__label{margin-right:var(--tox-private-pad-xs,4px)}.tox[dir=rtl] .tox-checkbox__input{right:-10000px}.tox[dir=rtl] .tox-bar .tox-checkbox{margin-right:var(--tox-private-pad-xs,4px)}.tox .tox-collection--toolbar .tox-collection__group{display:flex;padding:0}.tox .tox-collection--grid .tox-collection__group{display:flex;flex-wrap:wrap;max-height:208px;overflow-x:hidden;overflow-y:auto;padding:0}.tox .tox-collection--list .tox-collection__group{border-bottom-width:0;border-color:#1a1a1a;border-left-width:0;border-right-width:0;border-style:solid;border-top-width:1px;padding:4px 0;display:flex;flex-direction:column}.tox .tox-collection--list .tox-collection__group:first-child{border-top-width:0}.tox .tox-collection__group-heading{background-color:#333;color:#fff;cursor:default;font-size:12px;font-style:normal;font-weight:400;margin-bottom:4px;margin-top:-4px;padding:4px 8px;text-transform:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-collection__item{align-items:center;border-radius:3px;color:#fff;display:flex;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-image-selector-menu .tox-collection__item,.tox .tox-image-selector-menu .tox-collection__item-image-selector{flex-direction:column}.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-checkmark,.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-icon,.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-image,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-checkmark,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-icon,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-image{flex-grow:1}.tox .tox-image-selector-menu .tox-collection__item label,.tox .tox-image-selector-menu .tox-collection__item-image-selector label{width:48px;white-space:nowrap;overflow:hidden;font-size:12px;color:#fff;text-align:center;align-self:flex-end}.tox .tox-image-selector-menu .tox-collection__item-checkmark{height:24px;width:24px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.tox .tox-image-selector-menu .tox-collection__item-checkmark svg path{fill:#207ab7;stroke:#207ab7}.tox .tox-image-selector-menu .tox-image-selector__row .tox-collection__item-image-selector.tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#222f3e}.tox .tox-image-selector-menu .tox-image-selector__row .tox-collection__item-image-selector.tox-collection__item--enabled:not(.tox-collection__item--state-disabled){z-index:2;background-color:#222f3e;opacity:.8;background-clip:content-box}.tox .tox-collection--list .tox-collection__item{padding:4px 8px}.tox .tox-collection--toolbar .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--grid .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--list .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#2b3b4e;color:#fff}.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#4a5562;color:#fff}@media (forced-colors:active){.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){border:solid 1px}}.tox .tox-collection--grid .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#757d87;color:#fff}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#4a5562;color:#fff;position:relative;z-index:1}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent inset;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border:2px solid highlight}}.tox .tox-collection--toolbar .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#757d87;color:#fff}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){border-radius:3px;outline:solid 1px}}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled){color:#fff;background-color:#2b3b4e;position:relative}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):hover{background-color:#4a5562;color:#fff}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus{background-color:#4a5562;color:#fff}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border:2px solid highlight}}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):hover{border-radius:3px;outline:solid 1px}}.tox .tox-collection__item-image{border:1px solid #000;border-radius:3px;display:flex;flex-direction:column;justify-content:center;margin-bottom:4px;position:relative}.tox .tox-collection__item-checkmark,.tox .tox-collection__item-icon{align-items:center;display:flex;height:24px;justify-content:center;width:24px}.tox .tox-collection__item-checkmark svg,.tox .tox-collection__item-icon svg{fill:currentColor}.tox .tox-collection--toolbar-lg .tox-collection__item-icon{height:48px;width:48px}.tox .tox-collection__item-label{color:currentColor;display:inline-block;flex:1;font-size:14px;font-style:normal;font-weight:400;line-height:24px;max-width:100%;text-transform:none;word-break:break-all}.tox .tox-collection__item-separator{border-bottom:1px solid #1a1a1a;height:0;margin:4px 0}.tox .tox-collection__item-accessory{color:currentColor;display:inline-block;font-size:14px;height:24px;line-height:24px;text-transform:none}.tox .tox-collection__item-caret{align-items:center;display:flex;min-height:24px}.tox .tox-collection__item-caret::after{content:'';font-size:0;min-height:inherit}.tox .tox-collection__item-caret svg{fill:currentColor}.tox .tox-collection__item--state-disabled{background-color:transparent;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg{fill:rgba(255,255,255,0.5)}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg{display:none}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-accessory+.tox-collection__item-checkmark{display:none}.tox .tox-collection--horizontal{background-color:#2b3b4e;border:1px solid #1a1a1a;border-radius:3px;box-shadow:0 0 2px 0 rgba(42,55,70,.2),0 4px 8px 0 rgba(42,55,70,.15);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:nowrap;margin-bottom:0;overflow-x:auto;padding:0}.tox .tox-collection--horizontal .tox-collection__group{align-items:center;display:flex;flex-wrap:nowrap;margin:0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item{height:34px;margin:3px 0 2px 0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item-label{white-space:nowrap}.tox .tox-collection--horizontal .tox-collection__item-caret{margin-left:4px}.tox .tox-collection__item-container{display:flex}.tox .tox-collection__item-container--row{align-items:center;flex:1 1 auto;flex-direction:row}.tox .tox-collection__item-container--row.tox-collection__item-container--align-left{margin-right:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--align-right{justify-content:flex-end;margin-left:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-top{align-items:flex-start;margin-bottom:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-middle{align-items:center}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-bottom{align-items:flex-end;margin-top:auto}.tox .tox-collection__item-container--column{align-self:center;flex:1 1 auto;flex-direction:column}.tox .tox-collection__item-container--column.tox-collection__item-container--align-left{align-items:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--align-right{align-items:flex-end}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-top{align-self:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-middle{align-self:center}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-bottom{align-self:flex-end}.tox:not([dir=rtl]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-right:1px solid #000}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>:not(:first-child){margin-left:8px}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-left:4px}.tox:not([dir=rtl]) .tox-collection__item-accessory{margin-left:16px;text-align:right}.tox:not([dir=rtl]) .tox-collection .tox-collection__item-caret{margin-left:16px}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-left:1px solid #000}.tox[dir=rtl] .tox-collection--list .tox-collection__item>:not(:first-child){margin-right:8px}.tox[dir=rtl] .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-right:4px}.tox[dir=rtl] .tox-collection__item-accessory{margin-right:16px;text-align:left}.tox[dir=rtl] .tox-collection .tox-collection__item-caret{margin-right:16px;transform:rotateY(180deg)}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__item-caret{margin-right:4px}@media (forced-colors:active){.tox .tox-hue-slider,.tox .tox-rgb-form .tox-rgba-preview{background-color:currentColor!important;border:1px solid highlight!important;forced-color-adjust:none}}.tox .tox-color-picker-container{display:flex;flex-direction:row;height:225px;margin:0}.tox .tox-sv-palette{box-sizing:border-box;display:flex;height:100%}.tox .tox-sv-palette-spectrum{height:100%}.tox .tox-sv-palette,.tox .tox-sv-palette-spectrum{width:225px}.tox .tox-sv-palette-thumb{background:0 0;border:1px solid #000;border-radius:50%;box-sizing:content-box;height:12px;position:absolute;width:12px}.tox .tox-sv-palette-inner-thumb{border:1px solid #fff;border-radius:50%;height:10px;position:absolute;width:10px}.tox .tox-hue-slider{box-sizing:border-box;height:100%;width:25px}.tox .tox-hue-slider-spectrum{background:linear-gradient(to bottom,red,#ff0080,#f0f,#8000ff,#00f,#0080ff,#0ff,#00ff80,#0f0,#80ff00,#ff0,#ff8000,red);height:100%;width:100%}.tox .tox-hue-slider,.tox .tox-hue-slider-spectrum{width:20px}.tox .tox-hue-slider-spectrum:focus,.tox .tox-sv-palette-spectrum:focus{outline:#08f solid}.tox .tox-hue-slider-thumb{background:#fff;border:1px solid #000;box-sizing:content-box;height:4px;width:100%}.tox .tox-rgb-form{display:flex;flex-direction:column;justify-content:space-between}.tox .tox-rgb-form div{align-items:center;display:flex;justify-content:space-between;margin-bottom:5px;width:inherit}.tox .tox-rgb-form input{min-width:6em}.tox .tox-rgb-form input.tox-invalid{border:1px solid red!important;box-shadow:0 0 0 1px red}.tox .tox-rgb-container{position:relative}.tox .tox-rgb-form .tox-invalid-icon{align-content:center;align-items:center;display:none;height:100%;position:absolute;right:0;top:0}.tox .tox-rgb-form .tox-invalid-icon .tox-control-wrap__status-icon-invalid{margin:0}.tox .tox-rgb-warning-note{background-color:#442632;border:1px solid #55212b;border-radius:3px;color:#e68080;padding:3px}.tox input.tox-invalid+.tox-invalid-icon{display:flex}.tox .tox-rgb-form .tox-rgba-preview{border:1px solid #000;flex-grow:2;margin-bottom:0}.tox:not([dir=rtl]) .tox-sv-palette{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider-thumb{margin-left:-1px}.tox:not([dir=rtl]) .tox-rgb-form label{margin-right:.5em}.tox[dir=rtl] .tox-sv-palette{margin-left:15px}.tox[dir=rtl] .tox-hue-slider{margin-left:15px}.tox[dir=rtl] .tox-hue-slider-thumb{margin-right:-1px}.tox[dir=rtl] .tox-rgb-form label{margin-left:.5em}.tox .tox-toolbar .tox-swatches,.tox .tox-toolbar__overflow .tox-swatches,.tox .tox-toolbar__primary .tox-swatches{margin:2px 0 3px 4px}.tox .tox-collection--list .tox-collection__group .tox-swatches-menu{border:0;margin:-4px 0}.tox .tox-swatches__row{display:flex}@media (forced-colors:active){.tox .tox-swatches__row{forced-color-adjust:none}}.tox .tox-swatch{height:30px;transition:transform .15s,box-shadow .15s;width:30px}.tox .tox-swatch:focus,.tox .tox-swatch:hover{box-shadow:0 0 0 1px rgba(127,127,127,.3) inset;transform:scale(.8)}.tox .tox-swatch--remove{align-items:center;display:flex;justify-content:center}.tox .tox-swatch--remove svg path{stroke:#e74c3c}.tox .tox-swatches__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-swatches__picker-btn svg{fill:#fff;height:24px;width:24px}.tox .tox-swatches__picker-btn:hover{background:#4a5562}.tox div.tox-swatch:not(.tox-swatch--remove) svg{display:none;fill:#fff;height:24px;margin:calc((30px - 24px)/ 2) calc((30px - 24px)/ 2);width:24px}.tox div.tox-swatch:not(.tox-swatch--remove) svg path{fill:#fff;paint-order:stroke;stroke:#222f3e;stroke-width:2px}.tox div.tox-swatch:not(.tox-swatch--remove).tox-collection__item--enabled svg{display:block}.tox:not([dir=rtl]) .tox-swatches__picker-btn{margin-left:auto}.tox[dir=rtl] .tox-swatches__picker-btn{margin-right:auto}.tox .tox-comment{background:#222f3e;border:1px solid #222f3e;border-radius:3px;padding:8px;padding-bottom:16px;position:relative}.tox .tox-comment:hover{box-shadow:0 4px 8px 0 rgba(42,55,70,.1)}.tox .tox-comment.tox-comment--selected{background-color:#555542;border:1px solid #ffcf30;box-shadow:0 4px 8px 0 rgba(42,55,70,.1)}.tox .tox-comment.tox-comment--selected:focus{border:2px solid transparent;margin:-1px}.tox .tox-comment.tox-comment--selected:focus:not(:first-child){margin-top:7px}.tox .tox-comment.tox-comment--selected .tox-comment__single{margin-bottom:12px}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus{position:relative}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus::after{top:-9px;pointer-events:none;position:absolute;content:"";display:block;bottom:-9px;left:-9px;right:-9px;border-radius:3px;border:2px solid transparent}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus:last-of-type:has(textarea):after{bottom:calc((12px + 16px + 1px) * -1)}.tox .tox-comment__header{align-items:center;color:#fff;display:flex;justify-content:space-between}.tox .tox-comment__date{color:#fff;font-size:12px;line-height:18px}.tox .tox-comment__body{color:#fff;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;margin-top:8px;position:relative;text-transform:initial;transition:max-height .5s cubic-bezier(0, 1, 0, 1);white-space:pre-wrap}.tox .tox-comment__body.tox-comment__body--expanded{max-height:100em;transition:max-height 1s ease-in-out}.tox .tox-comment__body.tox-comment__body--pending{transition:max-height 0s}.tox .tox-comment__body p{margin:0}.tox .tox-comment__body textarea{resize:none;white-space:normal;width:100%;font-size:16px}.tox .tox-comment__loading-text{align-items:center;color:#fff;display:flex;flex-direction:column;position:relative}.tox .tox-comment__loading-text>div{padding-bottom:16px}.tox .tox-comment__overlaytext{bottom:0;flex-direction:column;font-size:14px;left:0;padding:1em;position:absolute;right:0;top:0;z-index:10}.tox .tox-comment__overlaytext p{background-color:#222f3e;box-shadow:0 0 8px 8px #222f3e;color:#fff;text-align:center}.tox .tox-comment__overlaytext div:nth-of-type(2){font-size:.8em}.tox .tox-comment__expander{padding-top:8px}.tox .tox-comment__expander p{color:rgba(255,255,255,.5);font-size:14px;font-style:normal}.tox .tox-comment__expander p:focus{font-weight:700}.tox .tox-comment__buttonspacing{padding-top:16px;text-align:center}.tox .tox-tbtn.tox-comment__mention-btn{display:flex;width:34px;height:34px;padding:5px;justify-content:center;align-items:center;margin:0;background-color:transparent}.tox .tox-comment-thread{background:#222f3e;position:relative;border-radius:3px;background-color:transparent}.tox .tox-comment-thread>:not(:first-child){margin-top:8px}.tox .tox-comment-thread__overlay::after{background:#222f3e;bottom:0;content:"";display:flex;left:0;opacity:.9;position:absolute;right:0;top:0;z-index:5}.tox .tox-comment__reply{display:flex;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__reply>:first-child{margin-bottom:8px;width:100%}.tox .tox-comment__edit{display:flex;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__gradient::after{background:linear-gradient(rgba(34,47,62,0),#222f3e);bottom:0;content:"";display:block;height:5em;margin-top:-40px;position:absolute;width:100%}.tox .tox-comment__overlay{background:#222f3e;bottom:0;display:flex;flex-direction:column;flex-grow:1;left:0;opacity:.9;position:absolute;right:0;text-align:center;top:0;z-index:5}.tox .tox-comment__busy-spinner{align-items:center;background-color:#222f3e;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:20}.tox .tox-comment__scroll{display:flex;flex-direction:column;flex-shrink:1;overflow:auto;padding:12px;scroll-behavior:smooth}.tox .tox-comment__scroll:has(textarea:focus){scroll-behavior:auto}.tox .tox-comment--disappearing{transition:opacity .5s ease}.tox .tox-comment[data-transitioning-destination=deleting]{opacity:0}.tox .tox-ring-loader{width:10px;height:10px;border:1px solid #fff;border-bottom-color:transparent;border-radius:50%;display:inline-block;box-sizing:border-box;animation:tox-rotation 1s linear infinite}.tox:not([dir=rtl]) .tox-comment__edit{margin-left:8px}.tox:not([dir=rtl]) .tox-comment__buttonspacing>:last-child,.tox:not([dir=rtl]) .tox-comment__edit>:last-child,.tox:not([dir=rtl]) .tox-comment__reply>:last-child{margin-left:8px}.tox[dir=rtl] .tox-comment__edit{margin-right:8px}.tox[dir=rtl] .tox-comment__buttonspacing>:last-child,.tox[dir=rtl] .tox-comment__edit>:last-child,.tox[dir=rtl] .tox-comment__reply>:last-child{margin-right:8px}.tox .tox-user{align-items:center;display:flex}.tox .tox-user__avatar svg{fill:rgba(255,255,255,0.5)}.tox .tox-user__avatar img{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-user__name{color:#fff;font-size:14px;font-style:normal;font-weight:700;line-height:18px;text-transform:none}.tox:not([dir=rtl]) .tox-user__avatar img,.tox:not([dir=rtl]) .tox-user__avatar svg{margin-right:8px}.tox:not([dir=rtl]) .tox-user__avatar+.tox-user__name{margin-left:8px}.tox[dir=rtl] .tox-user__avatar img,.tox[dir=rtl] .tox-user__avatar svg{margin-left:8px}.tox[dir=rtl] .tox-user__avatar+.tox-user__name{margin-right:8px}.tox .tox-dialog-wrap{align-items:center;display:flex;justify-content:center;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1100}.tox .tox-dialog-wrap__backdrop{background-color:rgba(34,47,62,.75);bottom:0;left:0;position:absolute;right:0;top:0;z-index:1}.tox .tox-dialog-wrap__backdrop--opaque{background-color:#222f3e}.tox .tox-dialog{background-color:#2b3b4e;border-color:#000;border-radius:3px;border-style:solid;border-width:1px;box-shadow:0 16px 16px -10px rgba(42,55,70,.15),0 0 40px 1px rgba(42,55,70,.15);display:flex;flex-direction:column;max-height:100%;max-width:480px;overflow:hidden;position:relative;width:95vw;z-index:2}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog{align-self:flex-start;margin:8px auto;max-height:calc(100vh - 8px * 2);width:calc(100vw - 16px)}}.tox .tox-dialog-inline{z-index:1100}.tox .tox-dialog__header{align-items:center;background-color:#2b3b4e;border-bottom:none;color:#fff;display:flex;font-size:16px;justify-content:space-between;padding:8px 16px 0 16px;position:relative}.tox .tox-dialog__header .tox-button{z-index:1}.tox .tox-dialog__draghandle{cursor:grab;height:100%;left:0;position:absolute;top:0;width:100%}.tox .tox-dialog__draghandle:active{cursor:grabbing}.tox .tox-dialog__dismiss{margin-left:auto}.tox .tox-dialog__title{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:20px;font-style:normal;font-weight:400;line-height:1.3;margin:0;text-transform:none}.tox .tox-dialog__body{color:#fff;display:flex;flex:1;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;min-width:0;text-align:left;text-transform:none}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body{flex-direction:column}}.tox .tox-dialog__body-nav{align-items:flex-start;display:flex;flex-direction:column;flex-shrink:0;padding:16px 16px}@media only screen and (min-width:768px){.tox .tox-dialog__body-nav{max-width:11em}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body-nav{flex-direction:row;-webkit-overflow-scrolling:touch;overflow-x:auto;padding-bottom:0}}.tox .tox-dialog__body-nav-item{border-bottom:2px solid transparent;color:rgba(255,255,255,.5);display:inline-block;flex-shrink:0;font-size:14px;line-height:1.3;margin-bottom:8px;max-width:13em;-webkit-text-decoration:none;text-decoration:none}.tox .tox-dialog__body-nav-item:focus{background-color:rgba(32,122,183,.1)}.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid #90bddb;color:#90bddb}@media (forced-colors:active){.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid highlight;color:highlight}}.tox .tox-dialog__body-content{box-sizing:border-box;display:flex;flex:1;flex-direction:column;max-height:min(650px,calc(100vh - 110px));overflow:auto;-webkit-overflow-scrolling:touch;padding:16px 16px}.tox .tox-dialog__body-content>*{margin-bottom:0;margin-top:16px}.tox .tox-dialog__body-content>:first-child{margin-top:0}.tox .tox-dialog__body-content>:last-child{margin-bottom:0}.tox .tox-dialog__body-content>:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content a{color:#90bddb;cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content a:focus,.tox .tox-dialog__body-content a:hover{color:#428fc2;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content a:focus-visible{border-radius:1px;outline:2px solid #90bddb;outline-offset:2px}.tox .tox-dialog__body-content a:active{color:#33739e;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content svg{fill:#fff}.tox .tox-dialog__body-content strong{font-weight:700}.tox .tox-dialog__body-content ul{list-style-type:disc}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{padding-inline-start:2.5rem}.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{margin-bottom:16px}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content dt,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{display:block;margin-inline-end:0;margin-inline-start:0}.tox .tox-dialog__body-content .tox-form__group h1{color:#fff;font-size:20px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group h2{color:#fff;font-size:16px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group p{margin-bottom:16px}.tox .tox-dialog__body-content .tox-form__group h1:first-child,.tox .tox-dialog__body-content .tox-form__group h2:first-child,.tox .tox-dialog__body-content .tox-form__group p:first-child{margin-top:0}.tox .tox-dialog__body-content .tox-form__group h1:last-child,.tox .tox-dialog__body-content .tox-form__group h2:last-child,.tox .tox-dialog__body-content .tox-form__group p:last-child{margin-bottom:0}.tox .tox-dialog__body-content .tox-form__group h1:only-child,.tox .tox-dialog__body-content .tox-form__group h2:only-child,.tox .tox-dialog__body-content .tox-form__group p:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--center{text-align:center}.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--end{text-align:end}.tox .tox-dialog--width-lg{height:650px;max-width:1200px}.tox .tox-dialog--fullscreen{height:100%;max-width:100%}.tox .tox-dialog--fullscreen .tox-dialog__body-content{max-height:100%}.tox .tox-dialog--width-md{max-width:800px}.tox .tox-dialog--width-md .tox-dialog__body-content{overflow:auto}.tox .tox-dialog__body-content--centered{text-align:center}.tox .tox-dialog__footer{align-items:center;background-color:#2b3b4e;border-top:1px solid #000;display:flex;justify-content:space-between;padding:8px 16px}.tox .tox-dialog__footer-end,.tox .tox-dialog__footer-start{display:flex}.tox .tox-dialog__busy-spinner{align-items:center;background-color:rgba(34,47,62,.75);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:3}.tox .tox-dialog__table{border-collapse:collapse;width:100%}.tox .tox-dialog__table thead th{font-weight:700;padding-bottom:8px}.tox .tox-dialog__table thead th:first-child{padding-right:8px}.tox .tox-dialog__table tbody tr{border-bottom:1px solid #000}.tox .tox-dialog__table tbody tr:last-child{border-bottom:none}.tox .tox-dialog__table td{padding-bottom:8px;padding-top:8px}.tox .tox-dialog__table td:first-child{padding-right:8px}.tox .tox-dialog__iframe{min-height:200px}.tox .tox-dialog__iframe.tox-dialog__iframe--opaque{background:#fff}.tox .tox-navobj-bordered{position:relative}.tox .tox-navobj-bordered::before{border:1px solid #000;border-radius:3px;content:'';inset:0;opacity:1;pointer-events:none;position:absolute;z-index:1}.tox .tox-navobj-bordered iframe{border-radius:3px}.tox .tox-navobj-bordered-focus.tox-navobj-bordered::before{border-color:#207ab7;box-shadow:none;outline:2px solid rgba(32,122,183,.25)}.tox .tox-dialog__popups{position:absolute;width:100%;z-index:1100}.tox .tox-dialog__body-iframe{display:flex;flex:1;flex-direction:column}.tox .tox-dialog__body-iframe .tox-navobj{display:flex;flex:1}.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2){flex:1;height:100%}.tox .tox-dialog-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-dialog-dock-fadein{opacity:1;visibility:visible}.tox .tox-dialog-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein{transition-delay:0s}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav{margin-right:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav-item:not(:first-child){margin-left:8px}}.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-end>*,.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-start>*{margin-left:8px}.tox[dir=rtl] .tox-dialog__body{text-align:right}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav{margin-left:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav-item:not(:first-child){margin-right:8px}}.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-end>*,.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-start>*{margin-right:8px}.tox .tox-dropdown-content{box-shadow:0 0 2px 0 rgba(42,55,70,.2),0 4px 8px 0 rgba(42,55,70,.15);position:fixed;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;overflow:auto;height:fit-content;width:fit-content;border-radius:var(--tox-private-panel-border-radius,3px);background-color:var(--tox-private-background-color,#222f3e);max-height:50vh}.tox .tox-dropdown-content .tox-menu{width:100%;box-shadow:none}body.tox-dialog__disable-scroll{overflow:hidden}.tox .tox-dropzone-container{display:flex;flex:1}.tox .tox-dropzone{align-items:center;background:#fff;border:2px dashed #000;box-sizing:border-box;display:flex;flex-direction:column;flex-grow:1;justify-content:center;min-height:100px;padding:10px}.tox .tox-dropzone p{color:rgba(255,255,255,.5);margin:0 0 16px 0}.tox .tox-edit-area{display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-edit-area::before{border:0 solid transparent;border-radius:4px;content:'';inset:0;opacity:0;pointer-events:none;position:absolute;transition:opacity .15s;z-index:1}@media (forced-colors:active){.tox .tox-edit-area::before{border:0 solid highlight}}.tox .tox-edit-area__iframe{background-color:#fff;border:0;box-sizing:border-box;flex:1;height:100%;position:absolute;width:100%}.tox.tox-edit-focus .tox-edit-area::before{opacity:1}.tox.tox-inline-edit-area{border:1px dotted #000}.tox .tox-expandable-box{background:var(--tox-private-background-color,#222f3e);border-radius:var(--tox-private-control-border-radius,3px);border:1px solid var(--tox-private-border-color,#000);display:flex;flex-direction:column;justify-content:stretch;overflow:hidden}.tox .tox-expandable-box>.tox-button{margin:0 var(--tox-private-pad-md,16px) var(--tox-private-pad-md,16px)}.tox .tox-expandable-box__title{align-items:center;background:hsl(from var(--tox-private-color-tint,#207ab7) h s l / 10%);border-bottom:1px solid var(--tox-private-border-color,#000);color:var(--tox-private-text-color,#fff);display:flex;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);gap:var(--tox-private-pad-sm,8px);min-width:0;padding:var(--tox-private-pad-sm,8px) var(--tox-private-pad-md,16px)}.tox .tox-expandable-box__title .tox-icon{flex-shrink:0;height:var(--tox-private-base-value,16px);fill:var(--tox-private-text-color,#fff)}.tox .tox-expandable-box__title-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-expandable-box__content{margin:var(--tox-private-pad-md,16px);overflow:auto}.tox .tox-expandable-box__content--overflowing{position:relative;overflow:hidden}.tox .tox-expandable-box__content--overflowing::after{content:'';position:absolute;bottom:0;left:0;right:0;height:min(100px,100%);pointer-events:none;background:linear-gradient(to bottom,transparent 50%,var(--tox-private-background-color,#222f3e))}.tox .tox-expandable-box__content--expanded{max-height:fit-content}.tox .tox-control-wrap{flex:1;position:relative}.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid,.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown,.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid{display:none}.tox .tox-control-wrap svg{display:block}.tox .tox-control-wrap__status-icon-wrap{position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-control-wrap__status-icon-invalid svg{fill:#c00}.tox .tox-control-wrap__status-icon-unknown svg{fill:orange}.tox .tox-control-wrap__status-icon-valid svg{fill:green}.tox:not([dir=rtl]) .tox-control-wrap--status-invalid .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-unknown .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-valid .tox-textfield{padding-right:32px}.tox:not([dir=rtl]) .tox-control-wrap__status-icon-wrap{right:4px}.tox[dir=rtl] .tox-control-wrap--status-invalid .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-unknown .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-valid .tox-textfield{padding-left:32px}.tox[dir=rtl] .tox-control-wrap__status-icon-wrap{left:4px}.tox .tox-custom-preview{border-color:#000;border-radius:3px;border-style:solid;border-width:1px;flex:1;padding:8px}.tox .tox-autocompleter{max-width:25em}.tox .tox-autocompleter .tox-menu{box-sizing:border-box;max-width:25em}.tox .tox-autocompleter .tox-autocompleter-highlight{font-weight:700}.tox .tox-color-input{display:flex;position:relative;z-index:1}.tox .tox-color-input .tox-textfield{z-index:-1}.tox .tox-color-input span{border-color:rgba(42 55 70 / 20%);border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;height:24px;position:absolute;top:6px;width:24px}@media (forced-colors:active){.tox .tox-color-input span{border-color:currentColor;border-width:2px!important;forced-color-adjust:none}}.tox .tox-color-input span:focus:not([aria-disabled=true]),.tox .tox-color-input span:hover:not([aria-disabled=true]){border-color:#207ab7;cursor:pointer}.tox .tox-color-input span::before{background-image:linear-gradient(45deg,rgba(255,255,255,.25) 25%,transparent 25%),linear-gradient(-45deg,rgba(255,255,255,.25) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(255,255,255,.25) 75%),linear-gradient(-45deg,transparent 75%,rgba(255,255,255,.25) 75%);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px;border:1px solid #2b3b4e;border-radius:3px;box-sizing:border-box;content:'';height:24px;left:-1px;position:absolute;top:-1px;width:24px;z-index:-1}@media (forced-colors:active){.tox .tox-color-input span::before{border:none}}.tox .tox-color-input span[aria-disabled=true]{cursor:not-allowed}.tox:not([dir=rtl]) .tox-color-input .tox-textfield{padding-left:36px}.tox:not([dir=rtl]) .tox-color-input span{left:6px}.tox[dir=rtl] .tox-color-input .tox-textfield{padding-right:36px}.tox[dir=rtl] .tox-color-input span{right:6px}.tox .tox-label,.tox .tox-toolbar-label{color:rgba(255,255,255,.5);display:block;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;padding:0 8px 0 0;text-transform:none;white-space:nowrap}.tox .tox-toolbar-label{padding:0 8px}.tox[dir=rtl] .tox-label{padding:0 0 0 8px}.tox .tox-form{display:flex;flex:1;flex-direction:column}.tox .tox-form__group{box-sizing:border-box;margin-bottom:4px}.tox .tox-form-group--maximize{flex:1}.tox .tox-form__group--error{color:#c00}.tox .tox-form__group--collection{display:flex}.tox .tox-form__grid{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}.tox .tox-form__grid--2col>.tox-form__group{width:calc(50% - (8px / 2))}.tox .tox-form__grid--3col>.tox-form__group{width:calc(100% / 3 - (8px / 2))}.tox .tox-form__grid--4col>.tox-form__group{width:calc(25% - (8px / 2))}.tox .tox-form__controls-h-stack{align-items:center;display:flex}.tox .tox-form__group--inline{align-items:center;display:flex}.tox .tox-form__group--stretched{display:flex;flex:1;flex-direction:column}.tox .tox-form__group--stretched .tox-textarea{flex:1}.tox .tox-form__group--stretched .tox-navobj{display:flex;flex:1}.tox .tox-form__group--stretched .tox-navobj :nth-child(2){flex:1;height:100%}.tox:not([dir=rtl]) .tox-form__controls-h-stack>:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-form__controls-h-stack>:not(:first-child){margin-right:4px}.tox .tox-lock.tox-locked .tox-lock-icon__unlock,.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock{display:none}.tox .tox-context-form__group .tox-button--icon.tox-lock-context-form-size-input{margin-left:8px;margin-right:8px}.tox .tox-listboxfield .tox-listbox--select,.tox .tox-textarea,.tox .tox-textarea-wrap .tox-textarea:focus,.tox .tox-textfield,.tox .tox-toolbar-textfield{appearance:none;background-color:#2b3b4e;border-color:#000;border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 4.75px;resize:none;width:100%}.tox .tox-textarea[disabled],.tox .tox-textfield[disabled],.tox .tox-toolbar-textfield[disabled]{background-color:#222f3e;color:rgba(255,255,255,.85);cursor:not-allowed}.tox .tox-custom-editor:focus-within,.tox .tox-focusable-wrapper:focus,.tox .tox-listboxfield .tox-listbox--select:focus,.tox .tox-textarea-wrap:focus-within,.tox .tox-textarea:focus,.tox .tox-textfield:focus,.tox .tox-toolbar-textfield:focus{background-color:#2b3b4e;border-color:#207ab7;box-shadow:none;outline:2px solid rgba(32,122,183,.25)}.tox .tox-toolbar-textfield{max-width:250px;min-height:unset;height:34px;margin:2px 0 3px 0}.tox .tox-naked-btn{background-color:transparent;border:0;border-color:transparent;box-shadow:unset;color:#207ab7;cursor:pointer;display:block;margin:0;padding:0}.tox .tox-naked-btn svg{display:block;fill:#fff}.tox .tox-textfield-size{width:80px}.tox:not([dir=rtl]) .tox-toolbar-textfield+*{margin-left:4px}.tox[dir=rtl] .tox-toolbar-textfield+*{margin-right:4px}.tox .tox-listboxfield{cursor:pointer;position:relative}.tox .tox-listboxfield .tox-listbox--select[disabled]{background-color:#19232e;color:rgba(255,255,255,.85);cursor:not-allowed}.tox .tox-listbox__select-label{cursor:default;flex:1;margin:0 4px}.tox .tox-listbox__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-listbox__select-chevron svg{fill:#fff}@media (forced-colors:active){.tox .tox-listbox__select-chevron svg{fill:currentColor!important}}.tox .tox-listboxfield .tox-listbox--select{align-items:center;display:flex}.tox:not([dir=rtl]) .tox-listboxfield svg{right:8px}.tox[dir=rtl] .tox-listboxfield svg{left:8px}.tox .tox-selectfield{cursor:pointer;position:relative}.tox .tox-selectfield select{appearance:none;background-color:#2b3b4e;border-color:#000;border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 4.75px;resize:none;width:100%}.tox .tox-selectfield select[disabled]{background-color:#19232e;color:rgba(255,255,255,.85);cursor:not-allowed}.tox .tox-selectfield select::-ms-expand{display:none}.tox .tox-selectfield select:focus{background-color:#2b3b4e;border-color:#207ab7;box-shadow:none;outline:2px solid rgba(32,122,183,.25)}.tox .tox-selectfield svg{pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-selectfield select option:checked{background-color:revert;color:revert}.tox:not([dir=rtl]) .tox-selectfield select[size="0"],.tox:not([dir=rtl]) .tox-selectfield select[size="1"]{padding-right:24px}.tox:not([dir=rtl]) .tox-selectfield svg{right:8px}.tox[dir=rtl] .tox-selectfield select[size="0"],.tox[dir=rtl] .tox-selectfield select[size="1"]{padding-left:24px}.tox[dir=rtl] .tox-selectfield svg{left:8px}.tox .tox-textarea-wrap{border-color:#000;border-radius:3px;border-style:solid;border-width:1px;display:flex;flex:1;overflow:hidden}.tox .tox-textarea{appearance:textarea;white-space:pre-wrap}.tox .tox-textarea-wrap .tox-textarea{border:none}.tox .tox-textarea-wrap .tox-textarea:focus{border:none}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}.tox .tox-help__more-link{list-style:none;margin-top:1em}.tox .tox-imagepreview{background-color:#666;height:380px;overflow:hidden;position:relative;width:100%}.tox .tox-imagepreview.tox-imagepreview__loaded{overflow:auto}.tox .tox-imagepreview__container{display:flex;left:100vw;position:absolute;top:100vw}.tox .tox-imagepreview__image{background:url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==)}.tox .tox-image-tools .tox-spacer{flex:1}.tox .tox-image-tools .tox-bar{align-items:center;display:flex;height:60px;justify-content:center}.tox .tox-image-tools .tox-imagepreview,.tox .tox-image-tools .tox-imagepreview+.tox-bar{margin-top:8px}.tox .tox-image-tools .tox-croprect-block{background:#000;opacity:.5;position:absolute;zoom:1}.tox .tox-image-tools .tox-croprect-handle{border:2px solid #fff;height:20px;left:0;position:absolute;top:0;width:20px}.tox .tox-image-tools .tox-croprect-handle-move{border:0;cursor:move;position:absolute}.tox .tox-image-tools .tox-croprect-handle-nw{border-width:2px 0 0 2px;cursor:nw-resize;left:100px;margin:-2px 0 0 -2px;top:100px}.tox .tox-image-tools .tox-croprect-handle-ne{border-width:2px 2px 0 0;cursor:ne-resize;left:200px;margin:-2px 0 0 -20px;top:100px}.tox .tox-image-tools .tox-croprect-handle-sw{border-width:0 0 2px 2px;cursor:sw-resize;left:100px;margin:-20px 2px 0 -2px;top:200px}.tox .tox-image-tools .tox-croprect-handle-se{border-width:0 2px 2px 0;cursor:se-resize;left:200px;margin:-20px 0 0 -20px;top:200px}.tox .tox-image-selector-loading-spinner-wrapper{display:flex;justify-content:center;align-items:center}.tox .tox-image-selector-loading-spinner{position:absolute;width:min(24px,30%);aspect-ratio:1/1;border-radius:50%;border:3px solid #207ab7;border-bottom-color:transparent;animation:tox-rotation 1s linear infinite}.tox .tox-toolbar .tox-image-selector,.tox .tox-toolbar__overflow .tox-image-selector,.tox .tox-toolbar__primary .tox-image-selector{margin:2px 0 3px 4px}.tox .tox-image-selector-menu{border:0;border-radius:3px;margin:-4px 0;padding:4px}.tox .tox-image-selector-menu .tox-collection--list .tox-collection__group{border:0;padding:0;margin:-4px 0}.tox .tox-image-selector-menu .tox-collection__item{max-width:48px}.tox .tox-image-selector-menu .tox-collection__item-icon{border:1px solid #000;border-radius:3px;margin-bottom:4px;width:100%}.tox .tox-image-selector-menu .tox-collection__item-icon svg path{stroke:#c00}.tox .tox-image-selector__row{display:flex}.tox .tox-image-selector--remove{align-items:center;display:flex;justify-content:center}.tox .tox-image-selector--remove svg path{stroke:#c00}.tox .tox-image-selector-image-wrapper{width:46px;height:46px;display:flex;align-items:center;justify-content:center}.tox .tox-image-selector-image-img{max-width:100%;max-height:100%}.tox .tox-image-selector__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-image-selector__picker-btn svg{fill:#fff;height:24px;width:24px}.tox .tox-image-selector__picker-btn:hover{background:#4a5562}.tox .tox-context-toolbar{position:absolute;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;z-index:1150;background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color,#fff);border:1px solid #364a62;border-radius:6px;box-shadow:0 2px 8px rgba(0,0,0,.08);padding:8px}.tox .tox-context-toolbar[popover]{inset:auto;margin:0}.tox .tox-context-toolbar .tox-toolbar{display:flex;flex-wrap:nowrap;gap:8px}.tox .tox-context-toolbar .tox-toolbar__group{display:flex;flex-wrap:nowrap;flex-shrink:0;gap:8px;align-items:center;padding:0}.tox .tox-insert-table-picker{background-color:#222f3e;display:flex;flex-wrap:wrap;width:170px}.tox .tox-insert-table-picker>div{border-color:#000;border-style:solid;border-width:0 1px 1px 0;box-sizing:border-box;height:17px;width:17px}.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker{margin:0 -4px}.tox .tox-insert-table-picker .tox-insert-table-picker__selected{background-color:rgba(32,122,183,.5);border-color:rgba(32,122,183,.5)}@media (forced-colors:active){.tox .tox-insert-table-picker .tox-insert-table-picker__selected{border-color:Highlight;filter:contrast(50%)}}.tox .tox-insert-table-picker__label{color:#fff;display:block;font-size:14px;padding:4px;text-align:center;width:100%}.tox:not([dir=rtl]) .tox-insert-table-picker>div:nth-child(10n){border-right:0}.tox[dir=rtl] .tox-insert-table-picker>div:nth-child(10n+1){border-right:0}.tox-mentions__card-common{z-index:1200}.tox.tox-mentions__card{background:#222f3e;border:1px solid #000;display:flex;padding:4px 8px}.tox.tox-mentions__card .tox-mentions__container{display:flex;flex-direction:column;align-self:center;margin:0 4px}.tox .tox-mentions__avatar{width:42px;height:42px;border-radius:50%;margin-right:4px}.tox .tox-mentions__username{font-size:14px;line-height:21px;color:#fff}.tox .tox-mentions__description{font-size:12px;line-height:21px;color:rgba(255,255,255,.5)}.tox .tox-collection__item--active .tox-mentions__description,.tox .tox-collection__item--active .tox-mentions__username{color:inherit}.tox .tox-menu{background-color:#2b3b4e;border:1px solid #000;border-radius:3px;box-shadow:0 4px 8px 0 rgba(42,55,70,.1);display:inline-block;overflow:hidden;vertical-align:top;z-index:1150}.tox .tox-menu.tox-collection.tox-collection--list{padding:0 0}.tox .tox-menu.tox-collection.tox-collection--toolbar{padding:4px}.tox .tox-menu.tox-collection.tox-collection--grid{padding:4px}@media only screen and (min-width:768px){.tox .tox-menu .tox-collection__item-label{overflow-wrap:break-word;word-break:normal}.tox .tox-dialog__popups .tox-menu .tox-collection__item-label{word-break:break-all}}.tox .tox-menu__label blockquote,.tox .tox-menu__label code,.tox .tox-menu__label h1,.tox .tox-menu__label h2,.tox .tox-menu__label h3,.tox .tox-menu__label h4,.tox .tox-menu__label h5,.tox .tox-menu__label h6,.tox .tox-menu__label p{margin:0}.tox .tox-menubar{background: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;background-color:#222f3e;display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;grid-column:1/-1;grid-row:1;padding:0 4px 0 4px}.tox .tox-promotion+.tox-menubar{grid-column:1}@media (max-width:480px){.tox:not(.tox-tinymce-inline) .tox-menubar{flex-wrap:nowrap;min-width:0;min-height:39px;overflow-x:auto;overflow-y:hidden}}.tox .tox-promotion{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;background-color:#222f3e;grid-column:2;grid-row:1;padding-inline-end:8px;padding-inline-start:4px;padding-top:5px}.tox .tox-promotion-link{align-items:unsafe center;background-color:#e8f1f8;border-radius:5px;color:#086be6;cursor:pointer;display:flex;font-size:14px;height:26.6px;padding:4px 8px;white-space:nowrap}.tox .tox-promotion-link:hover{background-color:#b4d7ff}.tox .tox-promotion-link:focus{background-color:#d9edf7}.tox .tox-mbtn{align-items:center;background:#222f3e;border:0;border-radius:3px;box-shadow:none;color:#fff;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:34px;justify-content:center;margin:2px 0 3px 0;outline:0;padding:0 4px;text-transform:none;width:auto}.tox .tox-mbtn[disabled]{background-color:#222f3e;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-mbtn:focus:not(:disabled){background:#4a5562;border:0;box-shadow:none;color:#fff;position:relative;z-index:1}.tox .tox-mbtn:focus:not(:disabled)::after{pointer-events:none;border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-mbtn:focus:not(:disabled)::after{border:2px solid highlight}}.tox .tox-mbtn--active,.tox .tox-mbtn:not(:disabled).tox-mbtn--active:focus{background:#757d87;border:0;box-shadow:none;color:#fff}.tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active){background:#4a5562;border:0;box-shadow:none;color:#fff}.tox .tox-mbtn__select-label{cursor:default;font-weight:400;margin:0 4px}.tox .tox-mbtn[disabled] .tox-mbtn__select-label{cursor:not-allowed}.tox .tox-mbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px;display:none}.tox .tox-notification{border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;display:grid;font-size:14px;font-weight:400;grid-template-columns:minmax(40px,1fr) auto minmax(40px,1fr);margin-left:auto;margin-right:auto;margin-top:4px;opacity:0;padding:4px;transition:transform .1s ease-in,opacity 150ms ease-in;width:max-content}.tox .tox-notification a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification p{font-size:14px;font-weight:400}.tox .tox-notification:focus{border-color:#207ab7;box-shadow:none}.tox .tox-notification--in{opacity:1}.tox .tox-notification--success{background-color:#334840;border-color:#3c5440;color:#fff}.tox .tox-notification--success p{color:#fff}.tox .tox-notification--success a{color:#b5d199}.tox .tox-notification--success a:focus,.tox .tox-notification--success a:hover{color:#82b153;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--success a:focus-visible{border-radius:1px;outline:2px solid #b5d199;outline-offset:2px}.tox .tox-notification--success a:active{color:#689041;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--success svg{fill:#fff}.tox .tox-notification--error{background-color:#442632;border-color:#55212b;color:#fff}.tox .tox-notification--error p{color:#fff}.tox .tox-notification--error a{color:#e68080}.tox .tox-notification--error a:focus,.tox .tox-notification--error a:hover{color:#d42b2b;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--error a:focus-visible{border-radius:1px;outline:2px solid #e68080;outline-offset:2px}.tox .tox-notification--error a:active{color:#a22;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--error svg{fill:#fff}.tox .tox-notification--warn,.tox .tox-notification--warning{background-color:#222f3e;border-color:#000;color:#fff0b3}.tox .tox-notification--warn p,.tox .tox-notification--warning p{color:#fff0b3}.tox .tox-notification--warn a,.tox .tox-notification--warning a{color:#fc0}.tox .tox-notification--warn a:focus,.tox .tox-notification--warn a:hover,.tox .tox-notification--warning a:focus,.tox .tox-notification--warning a:hover{color:#997a00;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--warn a:focus-visible,.tox .tox-notification--warning a:focus-visible{border-radius:1px;outline:2px solid #ffcc00;outline-offset:2px}.tox .tox-notification--warn a:active,.tox .tox-notification--warning a:active{color:#665200;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--warn svg,.tox .tox-notification--warning svg{fill:#fff0b3}.tox .tox-notification--info{background-color:#254161;border-color:#264972;color:#fff}.tox .tox-notification--info p{color:#fff}.tox .tox-notification--info a{color:#83b7f3}.tox .tox-notification--info a:focus,.tox .tox-notification--info a:hover{color:#2681ea;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--info a:focus-visible{border-radius:1px;outline:2px solid #83b7f3;outline-offset:2px}.tox .tox-notification--info a:active{color:#1368c9;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--info svg{fill:#fff}.tox .tox-notification__body{align-self:center;color:#fff;font-size:14px;grid-column-end:3;grid-column-start:2;grid-row-end:2;grid-row-start:1;text-align:center;white-space:normal;word-break:break-all;word-break:break-word}.tox .tox-notification__body>*{margin:0}.tox .tox-notification__body>*+*{margin-top:1rem}.tox .tox-notification__icon{align-self:center;grid-column-end:2;grid-column-start:1;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification__icon svg{display:block}.tox .tox-notification__dismiss{align-self:start;grid-column-end:4;grid-column-start:3;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification .tox-progress-bar{grid-column-end:4;grid-column-start:1;grid-row-end:3;grid-row-start:2;justify-self:center}.tox .tox-notification-container-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-notification-container-dock-fadein{opacity:1;visibility:visible}.tox .tox-notification-container-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-notification-container-dock-transition.tox-notification-container-dock-fadein{transition-delay:0s}.tox .tox-onboarding-overlay{height:100%;background-color:#17202a;position:absolute;top:0;left:0;right:0;z-index:1302;overflow:auto;display:grid;justify-content:center;align-items:center}.tox .tox-onboarding-dialog{max-width:512px;background-color:#222f3e;display:flex;flex-direction:column;box-shadow:0 16px 16px -10px rgba(42,55,70,.15),0 0 40px 1px rgba(42,55,70,.15);border-radius:12px;margin:8px}.tox .tox-onboarding-dialog .tox-onboarding-header{color:#fff;display:flex;justify-content:center;align-items:center;font-size:20px;margin:24px 0 8px}.tox .tox-onboarding-dialog .tox-onboarding-step{display:grid;grid-template-columns:min-content 1fr min-content;align-items:center;margin:0 24px}.tox .tox-onboarding-dialog .tox-onboarding-step:not(:last-child){border-bottom:1px solid #000}.tox .tox-onboarding-dialog .tox-onboarding-step--number{width:24px;aspect-ratio:1/1;border-radius:50%;border:1px solid #00ad0e;display:flex;justify-content:center;align-items:center;font-size:12px;font-weight:700;color:#00ad0e}.tox .tox-onboarding-dialog .tox-onboarding-step--body{padding:24px 0 24px 16px}.tox .tox-onboarding-dialog .tox-onboarding-step--body-header{color:#fff;font-size:14px;font-weight:700;margin-bottom:4px}.tox .tox-onboarding-dialog .tox-onboarding-step--body-details{color:rgba(255,255,255,.5);font-size:14px}.tox .tox-onboarding-dialog .tox-onboarding-step--action{padding-left:24px}.tox .tox-onboarding-dialog .tox-onboarding-footer{background-color:#2b3b4e;display:flex;justify-content:space-between;align-items:center;padding:16px 24px;border-bottom-left-radius:12px;border-bottom-right-radius:12px}.tox .tox-onboarding-dialog .tox-onboarding-footer p{display:flex;align-items:center;justify-content:center;gap:4px;font-size:14px;color:rgba(255,255,255,.5)}.tox .tox-onboarding-dialog svg{width:24px;fill:rgba(255,255,255,0.5)}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin{display:grid;align-items:center;grid-template-columns:min-content 1fr min-content;border-bottom:1px solid #000;padding:24px 0;margin:0 16px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body{margin:0 16px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body .tox-promotion-dialog-plugin-header{color:#fff;font-size:14px;font-weight:700;margin-bottom:4px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body .tox-promotion-dialog-plugin-details{color:rgba(255,255,255,.5);font-size:14px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--icon{display:grid;place-content:center;width:56px;height:56px;line-height:24px;font-size:24px;border-radius:12px;background:linear-gradient(180deg,#2b3b4e 24%,#202d3b 100%);box-shadow:0 1px 1px 0 #222f3e12,0 3px 6px 0 #222f3e06;color:#207ab7}.tox .tox-promotion-dialog--subtitle{margin:16px;color:rgba(255,255,255,.5);font-size:14px}.tox .tox-promotion-dialog--explore{text-align:center;margin:16px;color:rgba(255,255,255,.5);font-size:14px}.tox .tox-promotion-dialog--explore a{color:#207ab7}.tox .tox-promotion-dialog--footer{background-color:#17202a;color:rgba(255,255,255,.5);font-size:12px;text-align:center;padding:16px}.tox .tox-promotion-button{display:flex;align-items:center;height:26.6px;line-height:26.6px;font-size:14px;font-weight:700;background-color:#55367a;color:#c290fb;padding:8px 16px;cursor:pointer;white-space:nowrap;border-radius:5px}.tox .tox-promotion-button:focus{outline:1px solid #C290FB}.tox .tox-onboarding-dialog a,.tox .tox-promotion-dialog--footer a{color:rgba(255,255,255,.5);cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-onboarding-dialog a:focus,.tox .tox-onboarding-dialog a:hover,.tox .tox-promotion-dialog--footer a:focus,.tox .tox-promotion-dialog--footer a:hover{color:#428fc2;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-onboarding-dialog a:focus-visible,.tox .tox-promotion-dialog--footer a:focus-visible{border-radius:1px;outline:2px solid #90bddb;outline-offset:2px}.tox .tox-onboarding-dialog a:active,.tox .tox-promotion-dialog--footer a:active{color:#33739e;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-pop{display:inline-block;position:relative}.tox .tox-pop--resizing{transition:width .1s ease}.tox .tox-pop--resizing .tox-toolbar,.tox .tox-pop--resizing .tox-toolbar__group{flex-wrap:nowrap}.tox .tox-pop--transition{transition:.15s ease;transition-property:left,right,top,bottom}.tox .tox-pop--transition::after,.tox .tox-pop--transition::before{transition:all .15s,visibility 0s,opacity 75ms ease 75ms}.tox .tox-pop__dialog{background-color:#222f3e;border:1px solid #000;border-radius:3px;box-shadow:0 0 2px 0 rgba(42,55,70,.2),0 4px 8px 0 rgba(42,55,70,.15);min-width:0;overflow:hidden}.tox .tox-pop__dialog>:not(.tox-toolbar){margin:4px 4px 4px 8px}.tox .tox-pop__dialog .tox-toolbar{background-color:transparent;margin-bottom:-1px}.tox .tox-pop::after,.tox .tox-pop::before{border-style:solid;content:'';display:block;height:0;opacity:1;position:absolute;width:0}@media (forced-colors:active){.tox .tox-pop::after,.tox .tox-pop::before{content:none}}.tox .tox-pop.tox-pop--inset::after,.tox .tox-pop.tox-pop--inset::before{opacity:0;transition:all 0s .15s,visibility 0s,opacity 75ms ease}.tox .tox-pop.tox-pop--bottom::after,.tox .tox-pop.tox-pop--bottom::before{left:50%;top:100%}.tox .tox-pop.tox-pop--bottom::after{border-color:#222f3e transparent transparent transparent;border-width:8px;margin-left:-8px;margin-top:-1px}.tox .tox-pop.tox-pop--bottom::before{border-color:#000 transparent transparent transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--top::after,.tox .tox-pop.tox-pop--top::before{left:50%;top:0;transform:translateY(-100%)}.tox .tox-pop.tox-pop--top::after{border-color:transparent transparent #222f3e transparent;border-width:8px;margin-left:-8px;margin-top:1px}.tox .tox-pop.tox-pop--top::before{border-color:transparent transparent #000 transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--left::after,.tox .tox-pop.tox-pop--left::before{left:0;top:calc(50% - 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--left::after{border-color:transparent #222f3e transparent transparent;border-width:8px;margin-left:-15px}.tox .tox-pop.tox-pop--left::before{border-color:transparent #000 transparent transparent;border-width:10px;margin-left:-19px}.tox .tox-pop.tox-pop--right::after,.tox .tox-pop.tox-pop--right::before{left:100%;top:calc(50% + 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--right::after{border-color:transparent transparent transparent #222f3e;border-width:8px;margin-left:-1px}.tox .tox-pop.tox-pop--right::before{border-color:transparent transparent transparent #000;border-width:10px;margin-left:-1px}.tox .tox-pop.tox-pop--align-left::after,.tox .tox-pop.tox-pop--align-left::before{left:20px}.tox .tox-pop.tox-pop--align-right::after,.tox .tox-pop.tox-pop--align-right::before{left:calc(100% - 20px)}.tox.tox-edit-focus .tox-sidebar__resize-handle:hover::before{border-left:0 solid transparent}.tox .tox-sidebar-wrap{--tox-private-min-editing-area-width:280px;flex-grow:1;min-height:0}.tox .tox-sidebar-wrap:not(.tox .tox-sidebar-wrap--resizable){display:flex;flex-direction:row}.tox .tox-sidebar-wrap--resizable{display:grid;grid-template-columns:minmax(var(--tox-private-min-editing-area-width),1fr) minmax(0,max-content);grid-template-rows:minmax(0,1fr)}.tox .tox-sidebar{background-color:var(--tox-private-sidebar-background-color,#34485f);display:flex;flex-direction:row;justify-content:flex-end}.tox .tox-sidebar__slider{display:flex;overflow:hidden}.tox .tox-sidebar-wrap--resizable .tox-sidebar__pane-container{width:var(--tox-private-requested-sidebar-width)}.tox .tox-sidebar-wrap--resizable .tox-sidebar--sliding-growing .tox-sidebar__pane-container,.tox .tox-sidebar-wrap--resizable .tox-sidebar--sliding-shrinking .tox-sidebar__pane-container{width:var(--tox-private-resolved-sidebar-width);min-width:var(--tox-private-resolved-sidebar-width)}.tox .tox-sidebar__pane-container{display:flex}.tox .tox-sidebar-wrap--resizable .tox-sidebar__resize-handle{display:block}.tox .tox-sidebar__resize-handle{display:none;position:relative;width:var(--tox-private-sidebar-resize-handle-width,1px);height:100%;cursor:col-resize;background-color:var(--tox-private-separator-color,#000);z-index:1}.tox .tox-sidebar__resize-handle::before{content:'';position:absolute;top:0;bottom:0;width:8px;box-sizing:border-box;border-left:0 solid transparent;transition:border-left-width .15s ease,border-left-color .15s ease}.tox .tox-sidebar__resize-handle:hover::before{border-left:3px solid #207ab7}.tox .tox-sidebar-wrap--resizable .tox-sidebar__pane{width:calc(100% - var(--tox-private-sidebar-resize-handle-width,1px))}.tox .tox-sidebar__pane{display:flex}.tox .tox-sidebar--sliding-closed{opacity:0}.tox .tox-sidebar--sliding-open{opacity:1}.tox .tox-sidebar--sliding-growing,.tox .tox-sidebar--sliding-shrinking{transition:width .5s ease,opacity .5s ease}.tox .tox-sidebar-content{display:flex;flex-direction:column;position:relative;width:100%;height:100%}.tox .tox-sidebar-content__header{align-items:center;display:flex;justify-content:space-between;border-bottom:var(--tox-private-tinymceai-border-width,1px) solid var(--tox-private-neutral-20,#0e141a);padding:var(--tox-private-pad-sm,8px) 12px;background:var(--tox-private-background-color,#222f3e)}.tox .tox-sidebar-content__header .tox-sidebar-content__header-close-button{margin-left:auto}.tox .tox-sidebar-content__actions{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-sidebar-content__title{font-size:var(--tox-private-font-size-lg, 20px);font-weight:var(--tox-private-font-weight-normal,normal);padding:var(--tox-private-pad-sm,8px) 0 var(--tox-private-pad-sm,8px) 0;color:var(--tox-private-text-color,#fff);line-height:28px}.tox .tox-floating-sidebar{--tox-private-floating-sidebar-width:min(380px, 90vw);--tox-private-floating-sidebar-height:80vh;position:fixed;z-index:var(--tox-private-z-index-floatingsidebar,1050);box-shadow:var(--tox-private-floating-sidebar-box-shadow,0 0 40px 1px rgba(42,55,70,.15),0 16px 16px -10px rgba(42,55,70,.15),0 0 0 1px rgba(42,55,70,.15));width:var(--tox-private-floating-sidebar-width);height:var(--tox-private-floating-sidebar-height);background-color:var(--tox-private-floating-sidebar-background-color,#34485f);border-radius:var(--tox-private-panel-border-radius,3px);overflow:hidden}.tox .tox-floating-sidebar:not(.tox .tox-floating-sidebar--open){display:none}.tox .tox-floating-sidebar--open{display:block}.tox .tox-floating-sidebar__content-wrapper{width:100%;height:100%;display:flex;flex-direction:column}.tox .tox-floating-sidebar__header{position:relative}.tox .tox-floating-sidebar .tox-ai__scroll:has(.tox-card-list){background-color:inherit}.tox .tox-ai .tox-expandable-box{margin-bottom:calc(var(--tox-private-pad-md,16px) * .75)}.tox .tox-ai .tox-expandable-box .tox-expandable-box__content{margin:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-md,16px) * .75)}.tox .tox-ai .tox-expandable-box>.tox-button{margin:0 calc(var(--tox-private-pad-md,16px) * .75) var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-expandable-box:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#207ab7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-sidebar-content__header{border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-background-color,#222f3e);padding:calc(var(--tox-private-pad-sm,8px) - var(--tox-private-tinymceai-focus-border-width,2px)) calc(12px - var(--tox-private-tinymceai-focus-border-width,2px));border-bottom:1px solid var(--tox-private-separator-color,#000)}.tox .tox-ai .tox-sidebar-content__header:focus-visible:not(:disabled){border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#207ab7);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-sidebar-content__loader{align-items:center;display:flex;height:100%;justify-content:center;width:100%;z-index:1000}.tox .tox-ai .tox-sidebar-content__title{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin-right:auto}.tox .tox-ai .tox-sidebar-content__title:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#207ab7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-sidebar-content__actions .tox-ai__complete-review{display:flex;align-items:center;gap:6px;padding-top:var(--tox-private-pad-xs,4px);padding-bottom:var(--tox-private-pad-xs,4px);padding-left:var(--tox-private-pad-md,16px);padding-right:var(--tox-private-pad-md,16px)}.tox .tox-ai .tox-menu{width:-webkit-fill-available;width:-moz-available;width:stretch;overflow:visible}.tox .tox-ai .tox-ai__user-prompt{display:flex;flex-direction:column;margin-left:auto;gap:inherit;width:100%}.tox .tox-ai .tox-ai__user-prompt__context{margin-left:auto;display:flex;flex-direction:column;gap:inherit;align-items:end;width:100%}.tox .tox-ai .tox-ai__user-prompt__context .tox-tag{max-width:100%}.tox .tox-ai .tox-ai__user-prompt__text{background-color:var(--tox-private-background-secondary,#2f4055);padding:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-md,16px) * .75);border-radius:var(--tox-private-control-border-radius,3px);max-width:80%;align-self:flex-end;color:var(--tox-private-text-color,#fff);white-space:pre-wrap}.tox .tox-ai .tox-ai__user-prompt__text:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#207ab7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-ai__scroll{overflow-y:auto;overflow-x:hidden;background-color:var(--tox-private-background-color,#222f3e);display:flex;padding:12px;flex-direction:column;align-items:flex-start;gap:12px;flex:1 0 0;align-self:stretch}.tox .tox-ai .tox-ai__scroll:focus-visible:not(:disabled){outline:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#207ab7);outline-offset:calc(-1 * var(--tox-private-tinymceai-focus-border-width,2px));border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-ai__scroll--review:not(:has(.tox-sidebar-content__message-text)){background-color:var(--tox-private-background-secondary,#2f4055)}.tox .tox-ai .tox-ai__spinner svg{fill:var(--tox-private-color-tint,#207ab7)}.tox .tox-ai .tox-ai__response{width:100%;min-width:100%;max-width:100%}.tox .tox-ai .tox-ai__response__header{display:flex;align-items:center;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response__header .tox-icon svg{fill:var(--tox-private-color-tint,#207ab7)}.tox .tox-ai .tox-ai__response-status{display:flex;color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));font-size:var(--tox-private-font-size-sm, 14px);gap:var(--tox-private-pad-xs,4px);line-height:var(--tox-private-tinymceai-response-status-icon-height, max(24px, calc(14px + 4px)));padding-top:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response-status svg{fill:var(--tox-private-text-color-muted,rgba(255,255,255,0.5))}.tox .tox-ai .tox-ai__response-status-icon{border-radius:999px;border:1px solid var(--tox-private-neutral-20,#0e141a);background-color:var(--tox-private-background-color,#222f3e);height:var(--tox-private-tinymceai-response-status-icon-height,max(24px,calc(14px + 4px)));flex:0 0 24px;display:flex;align-items:center;justify-content:center}.tox .tox-ai .tox-ai__response-status-icon .tox-icon{display:contents}.tox .tox-ai .tox-ai__response-status-icon+.tox-ai__response-status-icon{margin-left:calc((var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px)) * -1)}.tox .tox-ai .tox-ai__icon{display:flex;align-items:center;justify-content:center}.tox .tox-ai .tox-ai__response-sources{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response-sources-header{display:block}.tox .tox-ai .tox-ai__response-sources-list{display:flex;align-items:center;gap:var(--tox-private-pad-sm,8px);align-self:stretch;flex-wrap:wrap}.tox .tox-ai .tox-ai__response-sources-list .tox-tag{border:1px solid var(--tox-private-separator-color,#000);background-color:transparent;max-width:32%;max-height:24px;cursor:pointer}.tox .tox-ai .tox-ai__response-sources-list .tox-tag img,.tox .tox-ai .tox-ai__response-sources-list .tox-tag svg{width:16px;height:16px;min-width:16px;min-height:16px;max-width:16px;max-height:16px}.tox .tox-ai .tox-ai__response-content{padding:var(--tox-private-pad-sm,8px) 0;color:var(--tox-private-text-color,#fff);font-feature-settings:'liga' off,'clig' off;font-size:var(--tox-private-font-size-sm, 14px);font-style:normal;font-weight:var(--tox-private-font-weight-normal,normal);line-height:var(--tox-private-line-height, 18px);display:flex;flex-direction:column}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming{position:relative}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming .tox-ai__response-status{color:var(--tox-private-text-color,#fff);font-size:var(--tox-private-font-size-md, 16px);line-height:calc(var(--tox-private-font-size-md, 16px) + 4px)}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming::after{content:'';position:absolute;bottom:0;left:0;right:0;height:min(100px,100%);pointer-events:none;background:linear-gradient(to bottom,transparent 60px,transparent 60px,var(--tox-private-background-color,#222f3e))}.tox .tox-ai .tox-ai-error{border-radius:var(--tox-private-panel-border-radius,3px);border:1px solid var(--tox-private-color-error,#c00);background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#222f3e) r g b / .9) 0,rgba(from var(--tox-private-background-color,#222f3e) r g b / .9) 100%),var(--tox-private-color-error,#c00);padding:var(--tox-private-pad-sm,8px);width:100%;display:flex;gap:var(--tox-private-pad-sm,8px);align-items:center}.tox .tox-ai .tox-ai-error__message{flex:1 0 0}.tox .tox-ai .tox-ai-error__icon{flex:0 0 auto;align-self:flex-start}.tox .tox-ai .tox-ai__footer{padding:calc(12px - var(--tox-private-tinymceai-focus-border-width,2px));gap:var(--tox-private-pad-sm,8px);background-color:var(--tox-private-background-color,#222f3e);display:flex;flex-direction:column;border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-background-color,#222f3e);border-top:1px solid var(--tox-private-separator-color,#000)}.tox .tox-ai .tox-ai__footer:focus-visible:not(:disabled){border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#207ab7);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-ai__context{display:flex;gap:var(--tox-private-pad-sm,8px);flex-wrap:wrap;max-height:calc((2 * (2 * var(--tox-private-pad-xs,4px) + var(--tox-private-base-value,16px))) + var(--tox-private-pad-sm,8px))}.tox .tox-ai .tox-ai__context .tox-tag{max-width:calc((100% - var(--tox-private-pad-sm,8px))/ 2)}.tox .tox-ai .tox-ai__context-more{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px);padding:var(--tox-private-pad-sm,8px);overflow:auto;max-width:var(--tox-private-tinymceai-context-more-max-width,320px)}.tox .tox-ai .tox-ai__context-more .tox-tag{max-width:100%}.tox .tox-ai .tox-ai__stop-generating{display:flex;align-items:center;gap:6px}.tox .tox-ai .tox-ai__footer-actions{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-model-selection-button{display:flex;gap:var(--tox-private-pad-xs,4px)}.tox .tox-ai .tox-ai__footer-note{align-items:center;color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));display:flex;font-size:var(--tox-private-font-size-xs, 12px);height:24px;justify-content:center;letter-spacing:0;padding-top:var(--tox-private-pad-sm,8px);width:100%}.tox .tox-ai .tox-ai__models-menu{max-width:350px}.tox .tox-ai .tox-ai__models-menu .tox-menu{max-height:inherit;padding:var(--tox-private-pad-xs,4px)}.tox .tox-ai .tox-ai__models-menu__item__description{display:flex;flex-direction:column;align-items:start}.tox .tox-ai .tox-ai__models-menu__item__description__title{font-weight:var(--tox-private-font-weight-bold,bold);font-size:var(--tox-private-font-size-sm, 14px);line-height:calc(var(--tox-private-font-size-sm, 14px) * 1.28572);padding-bottom:4px}.tox .tox-ai .tox-ai__models-menu__item__description__content{color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));font-size:var(--tox-private-font-size-xs, 12px);line-height:calc(var(--tox-private-font-size-xs, 12px) * 1.33333)}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content{color:inherit}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content .tox-ai__models-menu__item__description__ability{color:var(--tox-private-color-white,#fff)}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content .tox-ai__models-menu__item__description__content_body{color:rgba(from var(--tox-private-color-white,#fff) r g b / .7)}.tox .tox-ai .tox-ai__models-menu__item__description__ability{color:var(--tox-private-text-color,#fff);padding-bottom:4px}.tox .tox-ai .tox-ai__models-menu__item__description__ability__enabled{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-ai .tox-ai-chat-history-list{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px);padding-top:var(--tox-private-pad-xs,4px);width:100%}.tox .tox-ai .tox-ai-chat-history-list .tox-collection__group{gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-chat-history-list__title{color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:18px;letter-spacing:1px}.tox .tox-ai .tox-ai-chat-history-list__item{display:flex;padding:12px;gap:var(--tox-private-pad-sm,8px);border-radius:var(--tox-private-control-border-radius,3px);cursor:pointer}.tox .tox-ai .tox-ai-chat-history-list__item.tox-ai-chat-history-list__item--active{background-color:var(--tox-private-background-secondary,#2f4055)}.tox .tox-ai .tox-ai-chat-history-list__item:focus,.tox .tox-ai .tox-ai-chat-history-list__item:focus-visible{background-color:var(--tox-private-background-secondary,#2f4055)}.tox .tox-ai .tox-ai-chat-history-list__item.tox-ai-chat-history-list__item-edit-title{background-color:var(--tox-private-background-secondary,#2f4055);flex-direction:column}.tox .tox-ai .tox-ai-chat-history-list__item-edit-actions{display:flex;justify-content:flex-end;width:100%;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-chat-history-list__item-edit-actions .tox-ai__spinner svg{fill:rgba(from var(--tox-private-color-white,#fff) r g b / 0.5)}.tox .tox-ai .tox-ai-chat-history-list__item-content{display:flex;flex-direction:column;margin-right:auto;overflow:hidden}.tox .tox-ai .tox-ai-chat-history-list__item-actions{display:flex;align-items:center;min-width:calc(24px + (var(--tox-private-pad-xs,4px) + 1px)*2)}.tox .tox-ai .tox-ai-chat-history-list__item-content-title{color:var(--tox-private-text-color,#fff);font-size:var(--tox-private-font-size-base, 16px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:var(--tox-private-font-size-lg, 20px);overflow:hidden;text-overflow:ellipsis}.tox .tox-ai .tox-ai-chat-history-list__item-content-date{color:var(--tox-private-text-color,#fff);font-size:var(--tox-private-font-size-xs, 12px);line-height:var(--tox-private-line-height-base, 1.3)}.tox .tox-ai .tox-sidebar-content__message{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;gap:var(--tox-private-pad-md,16px);width:100%}.tox .tox-ai .tox-sidebar-content__message-text{text-align:center;color:var(--tox-private-text-color,#fff);font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:20px}.tox .tox-ai .tox-sidebar-content__message-action{display:flex;justify-content:center;align-items:center;align-self:stretch}.tox .tox-ai .tox-ai-chat-action-button{line-height:var(--tox-private-base-value, 16px);font-size:var(--tox-private-font-size-xs, 12px);padding:6px var(--tox-private-pad-sm,8px);margin:var(--tox-private-pad-xs,4px) 0;font-weight:var(--tox-private-font-weight-normal,normal);width:min-content}.tox .tox-ai .tox-ai-chat-action-button .tox-icon{display:inline-flex;align-items:center;justify-content:center;height:16px;width:16px;overflow:hidden}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg{display:block;flex:none;fill:var(--tox-private-tinymceai-chat-action-button-icon-color,#fff)}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='24'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='24px']{transform:scale(calc(16 / 24))}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='20'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='20px']{transform:scale(calc(16 / 20))}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='18'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='18px']{transform:scale(calc(16 / 18))}.tox .tox-ai .tox-ai-chat-action-button:not(:has(+ .tox-ai-chat-action-button)){margin-bottom:var(--tox-private-pad-sm,8px)}.tox .tox-ai-removed-content{font-style:italic;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));line-height:var(--tox-private-line-height-base, 1.3);margin:0 1em}.tox .tox-ai-removed-content::before{content:"⊘ ";font-style:normal;font-size:calc(var(--tox-private-line-height-base, 1.3) * 1em)}.tox .tox-ai-html-content{font-size:var(--tox-private-font-size-md, 16px);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color,#fff);line-height:var(--tox-private-line-height-base, 1.3);overflow-x:auto}.tox .tox-ai-html-content:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#207ab7);outline-offset:var(--tox-private-tinymceai-html-content-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai-html-content h1{font-size:1.6em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.67em 0}.tox .tox-ai-html-content h2{font-size:1.4em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.83em 0}.tox .tox-ai-html-content h3{font-size:1.2em;font-weight:var(--tox-private-font-weight-bold,bold);margin:1em 0}.tox .tox-ai-html-content h4,.tox .tox-ai-html-content h5,.tox .tox-ai-html-content h6{font-size:1em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.33em 0}.tox .tox-ai-html-content p{margin:var(--tox-private-pad-sm,8px) 0}.tox .tox-ai-html-content ol,.tox .tox-ai-html-content ul{padding-left:2em;margin:1em 0}.tox .tox-ai-html-content li:has(input:first-child){list-style-type:none}.tox .tox-ai-html-content a{color:var(--tox-private-color-tint,#207ab7);-webkit-text-decoration:underline;text-decoration:underline;cursor:pointer}.tox .tox-ai-html-content a:link:active,.tox .tox-ai-html-content a:visited:active{color:#8864ad}.tox .tox-ai-html-content blockquote{border-left:2px solid var(--tox-private-separator-color,#000);margin-left:1.5rem;padding-left:1rem;font-style:italic}.tox .tox-ai-html-content code{font-family:ui-monospace,monospace;background:var(--tox-private-separator-color,#000);padding:.1em .2em;border-radius:4px}.tox .tox-ai-html-content pre code{display:block;font-family:ui-monospace,monospace;background:var(--tox-private-separator-color,#000);border-radius:4px;white-space:pre-wrap;margin:1em 0;overflow-wrap:break-word}.tox .tox-ai-html-content hr{border:none;border-top:1px solid var(--tox-private-border-color,#000)}.tox .tox-ai-html-content table{width:100%;border-collapse:collapse;margin:.5em 0;font-size:.95em;line-height:1.45}.tox .tox-ai-html-content table:not([cellpadding]) td,.tox .tox-ai-html-content table:not([cellpadding]) th{padding:.4rem}.tox .tox-ai-html-content td,.tox .tox-ai-html-content th{border:1px solid var(--tox-private-border-color,#000)}.tox .tox-ai-html-content th{font-weight:var(--tox-private-font-weight-bold,bold);text-align:left;white-space:nowrap}.tox .tox-ai-html-content b,.tox .tox-ai-html-content strong{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-ai-html-content em,.tox .tox-ai-html-content i{font-style:italic}.tox .tox-ai-html-content del{-webkit-text-decoration:line-through;text-decoration:line-through}.tox .tox-ai-html-content sub,.tox .tox-ai-html-content sup{font-size:.75em;line-height:0;vertical-align:baseline}.tox .tox-ai-html-content sup{vertical-align:super}.tox .tox-ai-html-content sub{vertical-align:sub}.tox .tox-ai-html-content mark{background:hsl(from var(--tox-private-color-active,#ffcf30) h s l / 30%);padding:.05em .2em;border-radius:2px}.tox .tox-ai-html-content small{font-size:.85em}.tox .tox-ai-html-content kbd{font-family:ui-monospace,monospace;font-size:.85em;padding:.15em .4em;border-radius:4px;border:1px solid var(--tox-private-border-color,#000);background:var(--tox-private-separator-color,#000);box-shadow:inset 0 -1px 0 var(--tox-private-border-color,#000)}.tox .tox-ai-html-content img{max-width:100%;height:auto;vertical-align:middle;border-radius:4px}.tox .tox-expandable-box__content .tox-ai-html-content+.tox-ai-html-content::before,.tox .tox-expandable-box__content .tox-ai-html-content:has(+ .tox-ai-removed-content)::after,.tox .tox-expandable-box__content .tox-ai-removed-content+.tox-ai-html-content::before{content:"〰〰";color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));text-align:center;width:100%;display:block}.tox .tox-diff-preview{display:contents}.tox .tox-diff-preview__host{height:100%;position:relative;flex:1 1 0}.tox .tox-diff-preview__host:empty{pointer-events:none}.tox .tox-diff-preview__layer{display:flex;flex-direction:column;inset:0;position:absolute}.tox .tox-diff-preview__layer--loading .tox-diff-preview__frame{pointer-events:none;visibility:hidden}.tox .tox-diff-preview__viewport{flex:1 1 auto;min-height:0;position:relative}.tox .tox-diff-preview__frame{background-color:#fff;border:0;height:100%;min-height:0;position:relative;width:100%}.tox .tox-diff-preview__footer{background-color:var(--tox-private-background-color,#222f3e);border-top:1px solid #364a62;flex:0 0 auto}.tox .tox-diff-preview__toolbar{display:flex;gap:8px;justify-content:flex-end;padding:12px 16px}.tox .tox-ai__preview-overlay{position:absolute;inset:0;width:100%;height:100%;font-size:14px}.tox .tox-ai__preview-overlay--hidden{visibility:hidden}.tox .tox-ai__preview-overlay--pass-through{pointer-events:none}.tox .tox-ai__preview-overlay--dim{background:rgba(42,55,70,.2)}.tox .tox-ai__preview-overlay--centered{display:flex;align-items:center;justify-content:center}.tox .tox-ai__preview-overlay--clipped{overflow:clip}.tox .tox-tinymceai-previewloader{display:flex;align-items:center;gap:var(--tox-private-pad-md,16px);padding:var(--tox-private-pad-sm,8px);border-radius:var(--tox-private-panel-border-radius,3px);box-shadow:var(--tox-private-ai-preview-loader-box-shadow,0 0 40px 1px rgba(42,55,70,.15),0 16px 16px -10px rgba(42,55,70,.15));background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color,#fff);pointer-events:auto}.tox .tox-tinymceai-previewloader__content{display:flex;align-items:center;justify-content:center;padding:0 var(--tox-private-pad-xs,4px);gap:var(--tox-private-pad-sm,8px)}.tox .tox-selector{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;display:inline-block;height:10px;position:absolute;width:10px}.tox.tox-platform-touch .tox-selector{height:12px;width:12px}.tox .tox-skeleton .tox-skeleton__line{height:16px;width:100%;background:linear-gradient(to right,rgba(240,240,240,.5) 8%,rgba(240,240,240,.7) 18%,rgba(240,240,240,.5) 33%);animation:wave 2s infinite ease-out}.tox .tox-skeleton .tox-skeleton__circle{height:36px;width:36px;margin-right:8px;border-radius:100%;background:linear-gradient(to right,rgba(240,240,240,.5) 8%,rgba(240,240,240,.7) 18%,rgba(240,240,240,.5) 33%);animation:wave 2s infinite ease-out}@keyframes wave{0%{background-position:-268px 0}100%{background-position:268px 0}}.tox .tox-slider{align-items:center;display:flex;flex:1;height:24px;justify-content:center;position:relative}.tox .tox-slider__rail{background-color:transparent;border:1px solid #000;border-radius:3px;height:10px;min-width:120px;width:100%}.tox .tox-slider__handle{background-color:#207ab7;border:2px solid #185d8c;border-radius:3px;box-shadow:none;height:24px;left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%);width:14px}.tox .tox-form__controls-h-stack>.tox-slider:not(:first-of-type){margin-inline-start:8px}.tox .tox-form__controls-h-stack>.tox-form__group+.tox-slider{margin-inline-start:32px}.tox .tox-form__controls-h-stack>.tox-slider+.tox-form__group{margin-inline-start:32px}.tox .tox-toolbar-slider{align-items:center;display:inline-flex;height:16px}.tox .tox-toolbar-slider__input{appearance:none;background:#000;border-radius:16px;width:130px;height:2px}.tox .tox-toolbar-slider__input::-webkit-slider-runnable-track{background-color:transparent;height:16px}.tox .tox-toolbar-slider__input::-moz-range-track{background-color:transparent;height:16px}.tox .tox-toolbar-slider__input::-webkit-slider-thumb{-webkit-appearance:none;background-color:#207ab7;border-radius:16px;border:none;height:16px;width:16px}.tox .tox-toolbar-slider__input::-moz-range-thumb{appearance:none;background-color:#207ab7;border-radius:16px;border:none;height:16px;width:16px}.tox .tox-toolbar-slider__input:focus-visible{outline:0}.tox .tox-toolbar-slider__input:focus::-webkit-slider-thumb{background-color:#1c6ca1;box-shadow:inset 0 0 0 1px #fff,0 0 0 2px #207ab7}.tox .tox-toolbar-slider__input:focus::-moz-range-thumb{background-color:#1c6ca1;box-shadow:inset 0 0 0 1px #fff,0 0 0 2px #207ab7}.tox .tox-toolbar-slider__input:hover::-webkit-slider-thumb{background-color:#1c6ca1}.tox .tox-toolbar-slider__input:hover::-moz-range-thumb{background-color:#1c6ca1}.tox .tox-toolbar-slider__input:active::-webkit-slider-thumb{background-color:#185d8c}.tox .tox-toolbar-slider__input:active::-moz-range-thumb{background-color:#185d8c}.tox .tox-toolbar-slider__input[disabled]::-webkit-slider-thumb{background-color:rgba(255,255,255,.5)}.tox .tox-toolbar-slider__input[disabled]::-moz-range-thumb{background-color:rgba(255,255,255,.5)}.tox .tox-source-code{overflow:auto}.tox .tox-spinner{display:flex}.tox .tox-spinner>div{animation:tam-bouncing-dots 1.5s ease-in-out 0s infinite both;background-color:rgba(255,255,255,.5);border-radius:100%;height:8px;width:8px}.tox .tox-spinner>div:first-child{animation-delay:-.32s}.tox .tox-spinner>div:nth-child(2){animation-delay:-.16s}@keyframes tam-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox:not([dir=rtl]) .tox-spinner>div:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-spinner>div:not(:first-child){margin-right:4px}.tox .tox-ai__spinner{--tox-private-spinner-color:var(--tox-private-color-tint, #207ab7);--tox-private-spinner-size:24px;--tox-private-spinner-circle-width:3px;--tox-private-spinner-dot-size:6px;width:var(--tox-private-spinner-size);aspect-ratio:1/1}.tox .tox-ai__spinner--small{--tox-private-spinner-size:16px;--tox-private-spinner-circle-width:2px;--tox-private-spinner-dot-size:4px}.tox .tox-ai__spinner--circle{animation:tox-rotation 1s linear infinite;border-radius:50%;background:conic-gradient(var(--tox-private-spinner-color) 0 calc(360deg - 30deg),transparent calc(360deg - 30deg) 100%);mask:radial-gradient(calc((var(--tox-private-spinner-size) - var(--tox-private-spinner-circle-width) * 2)/ 2),#0000 98%,#000)}.tox .tox-ai__spinner--dots{display:flex;align-items:center;justify-content:center;gap:1px}.tox .tox-ai__spinner--dots>div{animation:tox-bouncing-dots 1.5s ease-in-out 0s infinite both;aspect-ratio:1/1;width:var(--tox-private-spinner-dot-size);background-color:var(--tox-private-spinner-color);border-radius:100%}.tox .tox-ai__spinner--dots>div:first-child{animation-delay:-.32s}.tox .tox-ai__spinner--dots>div:nth-child(2){animation-delay:-.16s}.tox .tox-tinymceai__annotation--added,.tox .tox-tinymceai__annotation--modified,.tox .tox-tinymceai__annotation--removed{padding-block:calc((1lh - 1.1em)/ 2);-webkit-text-decoration:none;text-decoration:none;background-repeat:no-repeat;text-decoration-thickness:max(1px,0.07em)}.tox .tox-tinymceai__annotation--added__highlight{background-position:bottom;background-image:linear-gradient(rgba(120,171,70,.2) calc(100% - 2px),#78ab46 calc(100% - 2px))}.tox .tox-tinymceai__annotation--added__selected{background-image:none;background-color:rgba(120,171,70,.2);box-shadow:0 2px 0 0 #207ab7,0 -2px 0 0 #207ab7}.tox .tox-tinymceai__annotation--modified__highlight{background-position:bottom;background-image:linear-gradient(rgba(32,122,183,.2) calc(100% - 2px),#207ab7 calc(100% - 2px))}.tox .tox-tinymceai__annotation--modified__selected{background-image:none;background-color:rgba(32,122,183,.2);box-shadow:0 2px 0 0 #207ab7,0 -2px 0 0 #207ab7}.tox .tox-tinymceai__annotation--removed__highlight{-webkit-text-decoration:line-through;text-decoration:line-through;background-position:bottom;background-image:linear-gradient(rgba(204,0,0,.2) calc(100% - 2px),#c00 calc(100% - 2px))}.tox .tox-tinymceai__annotation--removed__selected{-webkit-text-decoration:line-through;text-decoration:line-through;background-image:none;background-color:rgba(204,0,0,.2);box-shadow:0 2px 0 0 #207ab7,0 -2px 0 0 #207ab7}.tox .mce-object.tox-tinymceai__annotation--added,.tox .mce-object.tox-tinymceai__annotation--modified,.tox .mce-object.tox-tinymceai__annotation--removed,.tox .mce-preview-object.tox-tinymceai__annotation--added,.tox .mce-preview-object.tox-tinymceai__annotation--modified,.tox .mce-preview-object.tox-tinymceai__annotation--removed,.tox iframe.tox-tinymceai__annotation--added,.tox iframe.tox-tinymceai__annotation--modified,.tox iframe.tox-tinymceai__annotation--removed,.tox img.tox-tinymceai__annotation--added,.tox img.tox-tinymceai__annotation--modified,.tox img.tox-tinymceai__annotation--removed,.tox video.tox-tinymceai__annotation--added,.tox video.tox-tinymceai__annotation--modified,.tox video.tox-tinymceai__annotation--removed{padding-block:0;vertical-align:top}.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object),.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object),.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object){padding-block:0}.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) video,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) video,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) video{vertical-align:top}.tox del.tox-tinymceai__annotation--added__selected,.tox ins.tox-tinymceai__annotation--added__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#207ab7 3px,rgba(120,171,70,.2) 3px,rgba(120,171,70,.2) calc(100% - 3px),#207ab7 calc(100% - 3px))}.tox del.tox-tinymceai__annotation--modified__selected,.tox ins.tox-tinymceai__annotation--modified__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#207ab7 3px,rgba(32,122,183,.2) 3px,rgba(32,122,183,.2) calc(100% - 3px),#207ab7 calc(100% - 3px))}.tox del.tox-tinymceai__annotation--removed__selected,.tox ins.tox-tinymceai__annotation--removed__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#207ab7 3px,rgba(204,0,0,.2) 3px,rgba(204,0,0,.2) calc(100% - 3px),#207ab7 calc(100% - 3px))}.tox .tox-tinymceai__annotation--added.tox-tinymceai__annotation--added__hidden,.tox .tox-tinymceai__annotation--modified.tox-tinymceai__annotation--modified__hidden,.tox .tox-tinymceai__annotation--removed.tox-tinymceai__annotation--removed__hidden{display:none;-webkit-text-decoration:none;text-decoration:none}.tox :has(> div > iframe).tox-tinymceai__annotation--added,.tox :has(> div > iframe).tox-tinymceai__annotation--modified,.tox :has(> div > iframe).tox-tinymceai__annotation--removed{padding:7px;margin:5px}.tox iframe.tox-tinymceai__annotation--added__highlight,.tox img.tox-tinymceai__annotation--added__highlight,.tox video.tox-tinymceai__annotation--added__highlight{background-color:#334840;background-image:none;border:2px solid #78ab46;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--added__selected,.tox img.tox-tinymceai__annotation--added__selected,.tox video.tox-tinymceai__annotation--added__selected{background-color:#334840;background-image:none;border:2px solid #78ab46;padding:0;vertical-align:top;border-color:#334840;outline:2px solid #207ab7}.tox iframe.tox-tinymceai__annotation--modified__highlight,.tox img.tox-tinymceai__annotation--modified__highlight,.tox video.tox-tinymceai__annotation--modified__highlight{background-color:#223e56;background-image:none;border:2px solid #207ab7;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--modified__selected,.tox img.tox-tinymceai__annotation--modified__selected,.tox video.tox-tinymceai__annotation--modified__selected{background-color:#223e56;background-image:none;border:2px solid #207ab7;padding:0;vertical-align:top;border-color:#223e56;outline:2px solid #207ab7}.tox iframe.tox-tinymceai__annotation--removed__highlight,.tox img.tox-tinymceai__annotation--removed__highlight,.tox video.tox-tinymceai__annotation--removed__highlight{background-color:#442632;background-image:none;border:2px solid #c00;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--removed__selected,.tox img.tox-tinymceai__annotation--removed__selected,.tox video.tox-tinymceai__annotation--removed__selected{background-color:#442632;background-image:none;border:2px solid #c00;padding:0;vertical-align:top;border-color:#442632;outline:2px solid #207ab7}.tox .tox-tinymceai__annotation--removed__highlight iframe,.tox .tox-tinymceai__annotation--removed__highlight img,.tox .tox-tinymceai__annotation--removed__highlight video,.tox .tox-tinymceai__annotation--removed__selected iframe,.tox .tox-tinymceai__annotation--removed__selected img,.tox .tox-tinymceai__annotation--removed__selected video{background-color:#442632;background-image:none;border:2px solid #c00;padding:0;vertical-align:top}.tox .tox-tinymceai__annotation--removed__selected iframe,.tox .tox-tinymceai__annotation--removed__selected img,.tox .tox-tinymceai__annotation--removed__selected video{border-color:#442632;outline:2px solid #207ab7}.tox div.tox-tinymceai__annotation:has(> hr){background-size:auto;padding:.25em}.tox div.tox-tinymceai__annotation--removed__highlight>hr{border-color:rgba(0,0,0,.2)}.tox div.tox-tinymceai__annotation--added__highlight>hr{border-color:rgba(0,0,0,.2)}.tox .tox-tinymceai__deleted-media-overlay{inset:0;overflow:hidden;pointer-events:none;position:absolute;z-index:11}.tox .tox-tinymceai__deleted-media-wash{fill:#222f3e;fill-opacity:0.4}.tox .tox-tinymceai__deleted-media-mark{stroke:#c00}.tox .tox-tinymceai__deleted-media-halo{stroke:#fff}.tox .mce-pagebreak.tox-tinymceai__annotation--added__selected,.tox .mce-pagebreak.tox-tinymceai__annotation--modified__selected,.tox .mce-pagebreak.tox-tinymceai__annotation--removed__selected{border:1px dashed #aaa;box-shadow:none;background-image:none}.tox .mce-pagebreak.tox-tinymceai__annotation--added__highlight,.tox .mce-pagebreak.tox-tinymceai__annotation--modified__highlight,.tox .mce-pagebreak.tox-tinymceai__annotation--removed__highlight{padding:0}.tox .tox-tinymceai__diff-focus-overlay{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:10}.tox .tox-tinymceai__diff-focus-overlay-dim{fill:rgba(42,55,70,0.2)}.tox .tox-ai__scroll:has(.tox-card-group){padding-top:0}.tox .tox-ai__scroll:has(.tox-card-group) .tox-ai__review-sidebar-container .tox-card-list{gap:0}.tox .tox-ai__scroll .tox-ai__review-sidebar-container{scrollbar-gutter:stable;width:100%;height:100%;display:flex;flex-direction:column;gap:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-card-list{gap:8px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-card-group__title{margin-inline:-12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-initializing{padding:var(--tox-private-pad-md,16px)}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-description{padding-bottom:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));font-size:var(--tox-private-font-size-sm, 14px)}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-choose-container{padding-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-custom-input{margin-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-custom-actions{display:flex;gap:8px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container{margin-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container button.tox-ai__review-input-button{width:100%;background-color:var(--tox-private-background-color,#222f3e);display:flex;justify-content:space-between;align-items:center;border:1px solid #000;border-radius:3px;box-sizing:border-box}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container .tox-ai__review-dropdown-content{width:anchor-size(width)}.tox .tox-statusbar{align-items:center;background-color:#222f3e;border-top:1px solid #000;color:#fff;display:flex;flex:0 0 auto;font-size:12px;font-weight:400;height:18px;overflow:hidden;padding:0 8px;position:relative;text-transform:uppercase}.tox .tox-statusbar__path{display:flex;flex:1 1 auto;text-overflow:ellipsis;white-space:nowrap}.tox .tox-statusbar__right-container{display:flex;justify-content:flex-end;white-space:nowrap}.tox .tox-statusbar__help-text{text-align:center}.tox .tox-statusbar__text-container{align-items:flex-start;display:flex;flex:1 1 auto;height:16px;justify-content:space-between}@media only screen and (min-width:768px){.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__help-text,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__path,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__right-container{flex:0 0 calc(100% / 3)}}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-end{justify-content:flex-end}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-start{justify-content:flex-start}.tox .tox-statusbar__text-container.tox-statusbar__text-container--space-around{justify-content:space-around}.tox .tox-statusbar__path>*{display:inline;white-space:nowrap}.tox .tox-statusbar__wordcount{flex:0 0 auto;margin-left:1ch}@media only screen and (max-width:767px){.tox .tox-statusbar__text-container .tox-statusbar__help-text{display:none}.tox .tox-statusbar__text-container .tox-statusbar__help-text:only-child{display:block}}.tox .tox-statusbar a,.tox .tox-statusbar__path-item,.tox .tox-statusbar__wordcount{color:#fff;position:relative;-webkit-text-decoration:none;text-decoration:none}.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]){color:#fff;cursor:pointer}.tox .tox-statusbar a:focus-visible::after,.tox .tox-statusbar__path-item:focus-visible::after,.tox .tox-statusbar__wordcount:focus-visible::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-statusbar a:focus-visible::after,.tox .tox-statusbar__path-item:focus-visible::after,.tox .tox-statusbar__wordcount:focus-visible::after{border:2px solid highlight}}.tox .tox-statusbar__branding svg{fill:rgba(255,255,255,0.8);height:1em;margin-left:.3em;width:auto}@media (forced-colors:active){.tox .tox-statusbar__branding svg{fill:currentColor}}.tox .tox-statusbar__branding a{align-items:center;display:inline-flex}.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg,.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg{fill:#fff}.tox .tox-statusbar__resize-cursor-default{cursor:ns-resize}.tox .tox-statusbar__resize-cursor-both{cursor:nwse-resize}.tox .tox-statusbar__resize-handle{align-items:flex-end;align-self:stretch;display:flex;flex:0 0 auto;justify-content:flex-end;margin-bottom:3px;margin-left:4px;margin-right:calc(3px - 8px);margin-top:3px;padding-bottom:0;padding-left:0;padding-right:0;position:relative}.tox .tox-statusbar__resize-handle svg{display:block;fill:rgba(255,255,255,0.5)}.tox .tox-statusbar__resize-handle:focus svg,.tox .tox-statusbar__resize-handle:hover svg{fill:#fff}.tox .tox-statusbar__resize-handle:focus-visible{background-color:transparent;border-radius:1px 1px -4px 1px;box-shadow:0 0 0 2px transparent}.tox .tox-statusbar__resize-handle:focus-visible::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-statusbar__resize-handle:focus-visible::after{border:2px solid highlight}}.tox .tox-statusbar__resize-handle:only-child{margin-left:auto}.tox:not([dir=rtl]) .tox-statusbar__path>*{margin-right:4px}.tox:not([dir=rtl]) .tox-statusbar__branding{margin-left:2ch}.tox[dir=rtl] .tox-statusbar{flex-direction:row-reverse}.tox[dir=rtl] .tox-statusbar__path>*{margin-left:4px}.tox[dir=rtl] .tox-statusbar__branding svg{margin-left:0;margin-right:.3em}.tox a.tox-tag{cursor:pointer}.tox .tox-tag{width:fit-content;box-sizing:border-box;display:flex;padding:var(--tox-private-pad-xs,4px) 6px;position:relative;align-items:center;gap:var(--tox-private-pad-xs,4px);border-radius:3px;background:hsl(from var(--tox-private-color-tint,#207ab7) h s l / 10%);line-height:var(--tox-private-base-value, 16px);font-size:var(--tox-private-font-size-xs, 12px)}.tox .tox-tag::before{border-radius:var(--tox-private-control-border-radius,3px);bottom:calc(-1 * var(--tox-private-tag-border-width,1px));box-shadow:var(--tox-private-tag-focus-outline,inset 0 0 0 1px #fff,0 0 0 2px #207ab7);content:'';left:calc(-1 * var(--tox-private-tag-border-width,1px));opacity:0;pointer-events:none;position:absolute;right:calc(-1 * var(--tox-private-tag-border-width,1px));top:calc(-1 * var(--tox-private-tag-border-width,1px))}.tox .tox-tag:focus:not(:disabled)::before{opacity:1}.tox .tox-tag>*{flex-shrink:0}.tox .tox-tag .tox-icon{height:var(--tox-private-base-value,16px);fill:var(--tox-private-text-color,#fff)}.tox .tox-tag .tox-tag__label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;flex-shrink:1;color:var(--tox-private-text-color,#fff)}.tox .tox-tag .tox-tag__close{height:var(--tox-private-base-value,16px)}.tox .tox-tag .tox-tag__close .tox-button.tox-button--icon{border:0;padding:0;color:var(--tox-private-text-color-muted,rgba(255,255,255,.5))}.tox .tox-tag .tox-tag__close .tox-button.tox-button--icon::before{box-shadow:none}.tox .tox-throbber{z-index:1299}.tox .tox-throbber__busy-spinner{align-items:center;background-color:rgba(34,47,62,.6);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.tox .tox-segmented-control{display:inline-flex;position:relative;border:none;border-radius:var(--tox-private-control-border-radius,3px);box-shadow:inset 0 0 0 1px var(--tox-private-segmented-control-border-color,#364a62);overflow:hidden;padding:var(--tox-private-pad-xs,4px);background-color:var(--tox-private-background-color,#222f3e)}.tox .tox-segmented-control__segment{flex:1;padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-sm,8px);cursor:pointer;background:0 0;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:16px;border:1px solid transparent;border-radius:calc(var(--tox-private-control-border-radius,3px) - 1px);text-align:center;white-space:nowrap;display:inline-block;vertical-align:middle;color:var(--tox-private-segmented-control-text-color,#fff)}.tox .tox-segmented-control__segment--active{border-color:var(--tox-private-segmented-control-active-border-color,#207ab7);color:var(--tox-private-segmented-control-active-text-color,#207ab7);background-color:var(--tox-private-segmented-control-active-bg-color,rgba(32,122,183,.1))}.tox .tox-segmented-control:not(.tox-segmented-control--disabled) .tox-segmented-control__segment{transition:all .2s}.tox .tox-segmented-control.tox-segmented-control--disabled .tox-segmented-control__segment{opacity:.5;cursor:not-allowed;pointer-events:none}.tox .tox-segmented-control__segment:focus{outline:2px solid var(--tox-private-color-tint,#207ab7);outline-offset:2px}.tox .tox-segmented-control__segment:focus:not(:focus-visible){outline:0}.tox .tox-toggle{display:flex;align-items:center;gap:var(--tox-private-pad-xs,4px);padding:var(--tox-private-pad-xs,4px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:var(--tox-private-control-line-height, 24px);white-space:nowrap;background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color,#fff)}.tox .tox-toggle input{position:absolute;opacity:0;width:0;height:0}.tox .tox-toggle__slider{position:relative;cursor:pointer;box-sizing:border-box;transition:.4s;border-radius:34px;width:28px;height:16px;background-color:var(--tox-private-slider-background-color,#222f3e);border:1px solid var(--tox-private-slider-border-color,rgba(255,255,255,.15))}.tox .tox-toggle__slider::before{position:absolute;content:"";height:12px;width:12px;left:1px;bottom:1px;transition:.4s;border-radius:50%;background-color:var(--tox-private-slider-handle-background-color,#fff)}.tox input:checked+.tox-toggle__slider{background-color:var(--tox-private-slider-checked-background-color,#207ab7);border:1px solid var(--tox-private-slider-checked-border-color,#207ab7)}.tox input:focus+.tox-toggle__slider{box-shadow:0 0 0 1px var(--tox-private-color-white,#fff),0 0 0 2px var(--tox-private-color-tint,#207ab7)}.tox input:checked+.tox-toggle__slider::before{transform:translateX(12px);background-color:var(--tox-private-slider-checked-handle-background-color,#fff)}.tox input:disabled+.tox-toggle__slider::before{opacity:50%}.tox .tox-tbtn{align-items:center;background:#222f3e;border:0;border-radius:3px;box-shadow:none;color:#fff;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:34px;justify-content:center;margin:3px 0 2px 0;outline:0;padding:0;text-transform:none;width:34px}.tox .tox-tbtn .tox-tbtn__icon-wrap{pointer-events:none}@media (forced-colors:active){.tox .tox-tbtn.tox-tbtn:hover,.tox .tox-tbtn:hover{outline:1px dashed currentColor}.tox .tox-tbtn.tox-tbtn--active,.tox .tox-tbtn.tox-tbtn--enabled,.tox .tox-tbtn.tox-tbtn--enabled:focus,.tox .tox-tbtn.tox-tbtn--enabled:hover,.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){outline:1px solid currentColor;position:relative}}.tox .tox-tbtn svg{display:block;fill:#fff}@media (forced-colors:active){.tox .tox-tbtn svg{fill:currentColor!important}.tox .tox-tbtn svg.tox-tbtn--enabled,.tox .tox-tbtn svg:focus:not(.tox-tbtn--disabled){fill:currentColor!important}.tox .tox-tbtn svg .tox-tbtn:disabled,.tox .tox-tbtn svg .tox-tbtn:disabled:hover,.tox .tox-tbtn svg.tox-tbtn--disabled,.tox .tox-tbtn svg.tox-tbtn--disabled:hover{filter:contrast(0%)}}.tox .tox-tbtn.tox-tbtn-more{padding-left:5px;padding-right:5px;width:inherit}.tox .tox-tbtn:focus{background:#4a5562;border:0;box-shadow:none;position:relative;z-index:1}.tox .tox-tbtn:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-tbtn:focus::after{border:2px solid highlight}}.tox .tox-tbtn:hover{background:#4a5562;border:0;box-shadow:none;color:#fff}.tox .tox-tbtn:hover svg{fill:#fff}.tox .tox-tbtn:active{background:#757d87;border:0;box-shadow:none;color:#fff}.tox .tox-tbtn:active svg{fill:#fff}.tox .tox-tbtn--disabled .tox-tbtn--enabled svg{fill:rgba(255,255,255,0.5)}.tox .tox-tbtn--disabled,.tox .tox-tbtn--disabled:hover,.tox .tox-tbtn:disabled,.tox .tox-tbtn:disabled:hover{background:#222f3e;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-tbtn--disabled svg,.tox .tox-tbtn--disabled:hover svg,.tox .tox-tbtn:disabled svg,.tox .tox-tbtn:disabled:hover svg{fill:rgba(255,255,255,0.5)}.tox .tox-tbtn--active,.tox .tox-tbtn--enabled,.tox .tox-tbtn--enabled:focus,.tox .tox-tbtn--enabled:hover{background:#757d87;border:0;box-shadow:none;color:#fff;position:relative}.tox .tox-tbtn--active>*,.tox .tox-tbtn--enabled:focus>*,.tox .tox-tbtn--enabled:hover>*,.tox .tox-tbtn--enabled>*{transform:none}.tox .tox-tbtn--active svg,.tox .tox-tbtn--enabled svg,.tox .tox-tbtn--enabled:focus svg,.tox .tox-tbtn--enabled:hover svg{fill:#fff}.tox .tox-tbtn--active.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled:focus.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled:hover.tox-tbtn--disabled svg{fill:rgba(255,255,255,0.5)}.tox .tox-tbtn--enabled:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-tbtn--enabled:focus::after{border:2px solid highlight}}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){color:#fff}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg{fill:#fff}.tox .tox-tbtn:active>*{transform:none}.tox .tox-tbtn--md{height:51px;width:51px}.tox .tox-tbtn--lg{flex-direction:column;height:68px;width:68px}.tox .tox-tbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tbtn--labeled{padding:0 4px;width:unset}.tox .tox-tbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-label--context-toolbar{margin:6px 1px 5px 0;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-number-input{background:0 0;border-radius:3px;display:flex;margin:3px 0 2px 0;position:relative;width:auto}.tox .tox-number-input:focus{background:#4a5562}.tox .tox-number-input:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input:focus::after{border:2px solid highlight}}.tox .tox-number-input .tox-input-wrapper{display:flex;pointer-events:none;position:relative;text-align:center}.tox .tox-number-input .tox-input-wrapper:focus{background-color:#4a5562;z-index:1}.tox .tox-number-input .tox-input-wrapper:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input .tox-input-wrapper:focus::after{border:2px solid highlight}}.tox .tox-number-input .tox-input-wrapper:has(input:focus)::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input .tox-input-wrapper:has(input:focus)::after{border:2px solid highlight}}.tox .tox-number-input input{border-radius:3px;color:#fff;font-size:14px;margin:2px 0;pointer-events:all;position:relative;width:60px}.tox .tox-number-input input:hover{background:#4a5562;color:#fff}.tox .tox-number-input input:focus{background-color:#4a5562}.tox .tox-number-input input:disabled{background:#222f3e;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-number-input button{color:#fff;height:34px;position:relative;text-align:center;width:24px}@media (forced-colors:active){.tox .tox-number-input button:active,.tox .tox-number-input button:focus,.tox .tox-number-input button:hover{outline:1px solid currentColor!important}}.tox .tox-number-input button svg{display:block;fill:#fff;margin:0 auto;transform:scale(.67)}@media (forced-colors:active){.tox .tox-number-input button svg,.tox .tox-number-input button svg:active,.tox .tox-number-input button svg:hover{fill:currentColor!important}.tox .tox-number-input button svg:disabled{filter:contrast(0)}}.tox .tox-number-input button:focus{background:#4a5562;z-index:1}.tox .tox-number-input button:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input button:focus::after{border:2px solid highlight}}.tox .tox-number-input button:hover{background:#4a5562;border:0;box-shadow:none;color:#fff}.tox .tox-number-input button:hover svg{fill:#fff}.tox .tox-number-input button:active{background:#757d87;border:0;box-shadow:none;color:#fff}.tox .tox-number-input button:active svg{fill:#fff}.tox .tox-number-input button:disabled{background:#222f3e;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-number-input button:disabled svg{fill:rgba(255,255,255,0.5)}.tox .tox-number-input button.minus{border-radius:3px 0 0 3px}.tox .tox-number-input button.plus{border-radius:0 3px 3px 0}.tox .tox-number-input:focus:not(:active)>.tox-input-wrapper,.tox .tox-number-input:focus:not(:active)>button{background:#4a5562}.tox .tox-tbtn--select{margin:3px 0 2px 0;padding:0 4px;width:auto}.tox .tox-tbtn--bordered,.tox .tox-tbtn--bordered:focus,.tox .tox-tbtn--bordered:hover{border:1px solid #000}.tox .tox-tbtn__select-label{cursor:default;font-weight:400;height:initial;margin:0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-tbtn__select-chevron svg{fill:rgba(255,255,255,0.5)}@media (forced-colors:active){.tox .tox-tbtn__select-chevron svg{fill:currentColor}}.tox .tox-tbtn--bespoke{background:0 0}.tox .tox-tbtn--bespoke:focus{background:#4a5562}.tox .tox-tbtn--bespoke+.tox-tbtn--bespoke{margin-inline-start:0}.tox .tox-tbtn--bespoke .tox-tbtn__select-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:7em}.tox .tox-tbtn--disabled .tox-tbtn__select-label,.tox .tox-tbtn--select:disabled .tox-tbtn__select-label{cursor:not-allowed}.tox .tox-split-button__main{border-radius:3px 0 0 3px;margin-right:0}.tox .tox-split-button__main:focus{border:0;box-shadow:none;background:#4a5562;color:#fff;position:relative;z-index:1}.tox .tox-split-button__main:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0;border-radius:3px 0 0 3px}@media (forced-colors:active){.tox .tox-split-button__main:focus::after{border:2px solid highlight}}.tox .tox-split-button__chevron{width:16px;border-radius:0 3px 3px 0;margin-left:0}.tox .tox-split-button__chevron:focus{border:0;box-shadow:none;background:#4a5562;color:#fff;position:relative;z-index:1}.tox .tox-split-button__chevron:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0;border-radius:0 3px 3px 0}@media (forced-colors:active){.tox .tox-split-button__chevron:focus::after{border:2px solid highlight}}.tox .tox-split-button__chevron svg{fill:rgba(255,255,255,0.5)}@media (forced-colors:active){.tox .tox-split-button__chevron svg{fill:currentColor}}.tox.tox-platform-touch .tox-split-button__main{width:30px}.tox.tox-platform-touch .tox-split-button__chevron{width:20px}.tox .tox-split-button__chevron.tox-tbtn--disabled,.tox .tox-split-button__main.tox-tbtn--disabled{background:#222f3e;box-shadow:none;color:rgba(255,255,255,.5)}.tox .tox-split-button__chevron.tox-tbtn--disabled:hover,.tox .tox-split-button__main.tox-tbtn--disabled:hover{background:#222f3e;box-shadow:none;color:rgba(255,255,255,.5)}.tox .tox-split-button__chevron.tox-tbtn--disabled:focus,.tox .tox-split-button__main.tox-tbtn--disabled:focus{background:#222f3e;box-shadow:none;color:rgba(255,255,255,.5)}.tox .tox-split-button__main.tox-tbtn--disabled svg .tox-icon-highlight-bg-color__color,.tox .tox-split-button__main.tox-tbtn--disabled svg .tox-icon-text-color__color{opacity:.3}.tox .tox-toolbar-overlord{background-color:#222f3e}.tox .tox-toolbar,.tox .tox-toolbar__overflow,.tox .tox-toolbar__primary{background-attachment:local;background-color:#222f3e;background-image:repeating-linear-gradient(#000 0 1px,transparent 1px 39px);background-position:center top 39px;background-repeat:no-repeat;background-size:calc(100% - 4px * 2) calc(100% - 39px);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;padding:0 0;transform:perspective(1px)}.tox .tox-toolbar-overlord>.tox-toolbar,.tox .tox-toolbar-overlord>.tox-toolbar__overflow,.tox .tox-toolbar-overlord>.tox-toolbar__primary{background-position:center top 0;background-size:calc(100% - 4px * 2) calc(100% - 0px)}.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed{height:0;opacity:0;padding-bottom:0;padding-top:0;visibility:hidden}.tox .tox-toolbar__overflow--growing{transition:height .3s ease,opacity .2s linear .1s}.tox .tox-toolbar__overflow--shrinking{transition:opacity .3s ease,height .2s linear .1s,visibility 0s linear .3s}.tox .tox-anchorbar,.tox .tox-toolbar-overlord{grid-column:1/-1}.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{border-top:1px solid #000;margin-top:-1px;padding-bottom:0;padding-top:0}@media (forced-colors:active){.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{outline:1px solid currentColor}}.tox .tox-toolbar--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-pop .tox-toolbar{border-width:0}.tox .tox-toolbar--no-divider{background-image:none}.tox .tox-toolbar-overlord .tox-toolbar:not(.tox-toolbar--scrolling):first-child,.tox .tox-toolbar-overlord .tox-toolbar__primary{background-position:center top 39px}.tox .tox-editor-header>.tox-toolbar--scrolling,.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child{background-image:none}.tox .tox-focusable-wrapper{border:1px solid transparent;margin-right:2px;pointer-events:none}.tox .tox-focusable-wrapper .tox-textfield-size{pointer-events:all}.tox .tox-focusable-wrapper:focus{background-color:#4a5562;border-radius:3px;border-style:solid;border-width:1px}.tox.tox-tinymce-aux .tox-toolbar__overflow{background-color:#222f3e;background-position:center top 43px;background-size:calc(100% - 8px * 2) calc(100% - 51px);border:none;border-radius:3px;box-shadow:0 0 2px 0 rgba(42,55,70,.2),0 4px 8px 0 rgba(42,55,70,.15);overscroll-behavior:none;padding:4px 0}@media (forced-colors:active){.tox.tox-tinymce-aux .tox-toolbar__overflow{border:solid}}.tox-pop .tox-pop__dialog .tox-toolbar{background-position:center top 43px;background-size:calc(100% - 4px * 2) calc(100% - 51px);padding:4px 0}.tox-context-form__group{display:flex;align-items:center}.tox .tox-toolbar__group{align-items:center;display:flex;flex-wrap:wrap;margin:0 0;padding:0 4px 0 4px}.tox .tox-toolbar__group--pull-right{margin-left:auto}.tox .tox-toolbar--scrolling .tox-toolbar__group{flex-shrink:0;flex-wrap:nowrap}.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type){border-right:1px solid #000}.tox[dir=rtl] .tox-toolbar__group:not(:last-of-type){border-left:1px solid #000}.tox .tox-toolbar-input-form{display:flex;align-items:center;background-color:var(--tox-private-background-color,#222f3e);padding:0 var(--tox-private-pad-sm,8px)}.tox .tox-tooltip{display:inline-block;max-width:min(80%,15em);padding:8px 0 0 0;position:relative;width:max-content;z-index:1150}.tox .tox-tooltip.tox-tooltip--anchor{display:none;padding:var(--tox-private-pad-xs,4px) 0 0;position:fixed;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;height:fit-content}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--up{position-area:block-end}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--down{position-area:block-start}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--left{position-area:inline-start}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--right{position-area:inline-end}.tox .tox-tooltip__body{background-color:#2a3746;border-radius:3px;box-shadow:none;color:#fff;font-size:12px;font-style:normal;font-weight:600;overflow-wrap:break-word;padding:4px 6px;text-transform:none}@media (forced-colors:active){.tox .tox-tooltip__body{outline:outset 1px}}.tox .tox-tooltip__arrow{position:absolute}.tox .tox-tooltip--down .tox-tooltip__arrow{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #2a3746;bottom:0;left:50%;position:absolute;transform:translateX(-50%)}.tox .tox-tooltip--up .tox-tooltip__arrow{border-bottom:8px solid #2a3746;border-left:8px solid transparent;border-right:8px solid transparent;left:50%;position:absolute;top:0;transform:translateX(-50%)}.tox .tox-tooltip--right .tox-tooltip__arrow{border-bottom:8px solid transparent;border-left:8px solid #2a3746;border-top:8px solid transparent;position:absolute;right:0;top:50%;transform:translateY(-50%)}.tox .tox-tooltip--left .tox-tooltip__arrow{border-bottom:8px solid transparent;border-right:8px solid #2a3746;border-top:8px solid transparent;left:0;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-tree{display:flex;flex-direction:column}.tox .tox-tree .tox-trbtn{align-items:center;background:0 0;border:0;border-radius:4px;box-shadow:none;color:#fff;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;margin-bottom:4px;margin-top:4px;outline:0;overflow:hidden;padding:0;padding-left:8px;text-transform:none}.tox .tox-tree .tox-trbtn .tox-tree__label{cursor:default;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tree .tox-trbtn svg{display:block;fill:#fff}.tox .tox-tree .tox-trbtn:focus{background:#4a5562;border:0;box-shadow:none}.tox .tox-tree .tox-trbtn:hover{background:#4a5562;border:0;box-shadow:none;color:#fff}.tox .tox-tree .tox-trbtn:hover svg{fill:#fff}.tox .tox-tree .tox-trbtn:active{background:#6ea9d0;border:0;box-shadow:none;color:#fff}.tox .tox-tree .tox-trbtn:active svg{fill:#fff}.tox .tox-tree .tox-trbtn--disabled,.tox .tox-tree .tox-trbtn--disabled:hover,.tox .tox-tree .tox-trbtn:disabled,.tox .tox-tree .tox-trbtn:disabled:hover{background:0 0;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-tree .tox-trbtn--disabled svg,.tox .tox-tree .tox-trbtn--disabled:hover svg,.tox .tox-tree .tox-trbtn:disabled svg,.tox .tox-tree .tox-trbtn:disabled:hover svg{fill:rgba(255,255,255,0.5)}.tox .tox-tree .tox-trbtn--enabled,.tox .tox-tree .tox-trbtn--enabled:hover{background:#6ea9d0;border:0;box-shadow:none;color:#fff}.tox .tox-tree .tox-trbtn--enabled:hover>*,.tox .tox-tree .tox-trbtn--enabled>*{transform:none}.tox .tox-tree .tox-trbtn--enabled svg,.tox .tox-tree .tox-trbtn--enabled:hover svg{fill:#fff}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled){color:#fff}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled) svg{fill:#fff}.tox .tox-tree .tox-trbtn:active>*{transform:none}.tox .tox-tree .tox-trbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tree .tox-trbtn--labeled{padding:0 4px;width:unset}.tox .tox-tree .tox-trbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-tree .tox-tree--directory{display:flex;flex-direction:column}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label{font-weight:700}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn:focus svg{fill:#fff}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:focus .tox-mbtn svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover .tox-mbtn svg{fill:#fff}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#fff}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#fff}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-chevron{margin-right:6px}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--shrinking) .tox-chevron{transition:transform .5s ease-in-out}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--open) .tox-chevron{transform:rotate(90deg)}.tox .tox-tree .tox-tree--leaf__label{font-weight:400}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--leaf__label .tox-mbtn:focus svg{fill:#fff}.tox .tox-tree .tox-tree--leaf__label:hover .tox-mbtn svg{fill:#fff}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#fff}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#fff}.tox .tox-tree .tox-icon-custom-state{flex-grow:1;display:flex;justify-content:flex-end}.tox .tox-tree .tox-tree--directory__children{overflow:hidden;padding-left:16px}.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--growing,.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--shrinking{transition:height .5s ease-in-out}.tox .tox-tree .tox-trbtn.tox-tree--leaf__label{display:flex;justify-content:space-between}[data-mce-name=uploadcare-enhance-filter] .color-swatch-remove-color path{fill:#c00;stroke:#c00}.tox .tox-view-wrap,.tox .tox-view-wrap__slot-container{background-color:#222f3e;display:flex;flex:1;flex-direction:column;height:100%;min-height:0}.tox .tox-view{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden;background-color:#222f3e}.tox .tox-view__header{align-items:center;display:flex;font-size:16px;justify-content:space-between;padding:8px;position:relative}.tox .tox-view__label{color:#fff;font-weight:700;line-height:24px;padding:4px 16px;text-align:center;white-space:nowrap}.tox .tox-view__label--normal{font-size:16px}.tox .tox-view__label--large{font-size:20px}.tox .tox-view--mobile.tox-view__header,.tox .tox-view--mobile.tox-view__toolbar{padding:8px}.tox .tox-view--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-view__align-right{margin-left:auto}.tox .tox-view__toolbar{display:flex;flex-direction:row;gap:8px;justify-content:space-between;overflow-x:auto;padding:8px}.tox .tox-view__toolbar__group{display:flex;flex-direction:row;gap:12px}.tox .tox-view__header-end,.tox .tox-view__header-start{display:flex}.tox .tox-view__pane{height:100%;padding:8px;position:relative;width:100%}.tox .tox-view__pane_panel{border:1px solid #000;border-radius:3px}.tox:not([dir=rtl]) .tox-view__header .tox-view__header-end>*,.tox:not([dir=rtl]) .tox-view__header .tox-view__header-start>*{margin-left:8px}.tox[dir=rtl] .tox-view__header .tox-view__header-end>*,.tox[dir=rtl] .tox-view__header .tox-view__header-start>*{margin-right:8px}.tox .tox-well{border:1px solid #000;border-radius:3px;padding:8px;width:100%}.tox .tox-well>:first-child{margin-top:0}.tox .tox-well>:last-child{margin-bottom:0}.tox .tox-well>:only-child{margin:0}.tox .tox-custom-editor{border:1px solid #000;border-radius:3px;display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-view .tox-revisionhistory__pane{padding:0}.tox .tox-revisionhistory__container{display:flex;flex-direction:column;height:100%}.tox .tox-revisionhistory{background-color:#222f3e;border-top:1px solid rgba(255,255,255,.15);display:flex;flex:1;height:100%;overflow-x:auto;overflow-y:hidden;position:relative;width:100%}.tox .tox-revisionhistory__iframe{flex:1}.tox .tox-revisionhistory__sidebar{display:flex;flex-direction:column;height:100%;min-width:248px;width:316px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__sidebar-title{background-color:#222f3e;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);color:#fff;font-size:20px;font-weight:400;line-height:28px;padding:12px;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions{background-color:#2b3b4e;display:flex;flex:1;flex-direction:column;gap:12px;overflow-y:auto;padding:10px 12px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus{height:100%;position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus::after{bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0;border-radius:3px;bottom:1px;left:1px;right:1px;top:1px}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card{background-color:#222f3e;border:1px solid rgba(255,255,255,.15);border-radius:6px;color:#fff;cursor:pointer;display:flex;flex-direction:column;font-size:14px;padding:12px;width:100%}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:hover{box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus{position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent #285ec7;content:'';left:0;position:absolute;right:0;top:0;border-radius:6px;box-shadow:0 0 0 2px #285ec7;box-shadow:0 0 0 2px #285ec7!important}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected{background-color:#1b3b60;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);position:relative}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent #cea215;content:'';left:0;position:absolute;right:0;top:0;border-radius:6px;box-shadow:0 0 0 2px #cea215}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-tags{display:flex;align-items:flex-start;flex-direction:row;gap:8px;overflow-x:auto}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-label{display:block;max-width:min-content;padding:4px 8px;margin-bottom:8px;font-size:12px;font-weight:700;border-radius:4px;background:#555f6b;text-wrap:balance;flex:0 1 auto}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-content{display:flex;flex-direction:row;gap:8px;align-items:center}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution{align-items:center;display:flex}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution .tox-revisionhistory__avatar{position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution .tox-revisionhistory__avatar+.tox-revisionhistory__card-ai-icon{margin-left:-4px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-info{display:flex;flex-direction:column;flex:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-date-label{font-size:14px;font-weight:700;line-height:18px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-author-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:400}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__avatar{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-ai-icon{display:flex;height:36px;width:36px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__norevision{color:rgba(255,255,255,.5);font-size:16px;line-height:24px;padding:5px 5.5px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-check-icon{color:#fff;height:24px}.tox .tox-card{background-color:#222f3e;border-radius:3px;display:flex;flex-direction:column;gap:12px;padding:12px;cursor:pointer;transition:box-shadow .15s ease-in-out,border .15s ease-in-out;border:0 solid transparent}.tox .tox-card:hover{box-shadow:0 4px 8px 0 rgba(42,55,70,.1)}.tox .tox-card--selected{border-color:#207ab7}.tox .tox-card:focus-visible{outline:0 solid transparent;border-color:transparent}.tox .tox-card--has-decision{background-color:#17202a}.tox .tox-card--has-decision:not(.tox-card--selected){border-width:1px;border-color:rgba(255,255,255,.5);padding:11px}.tox .tox-card--has-decision .tox-card__header{font-size:12px}.tox .tox-card--has-decision .tox-card__body{color:rgba(255,255,255,.5)}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline{border-color:#0c1116}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:focus:not(:disabled),.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:hover:not(:disabled){background-color:#0c1116;border-color:#010203}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:active:not(:disabled){background-color:#010203;border-color:#010203}.tox .tox-card__header{padding-bottom:0;color:#fff;font-size:16px;font-weight:700;text-transform:uppercase;display:flex;flex-direction:column;gap:12px}.tox .tox-card__header-label{font-size:12px;font-weight:700;text-transform:uppercase;color:#fff}.tox .tox-card__header-content{flex:1;min-width:0;font-weight:400;text-transform:none}.tox .tox-card__header-actions{display:flex;align-items:center;gap:4px;flex-shrink:0;opacity:1;pointer-events:auto;transition:opacity .15s ease-in-out}.tox .tox-card__header-actions--hover-visible,.tox .tox-card__header-actions--on-focus{opacity:0;pointer-events:none}.tox .tox-card__header-actions--always-visible{opacity:1;pointer-events:auto}.tox .tox-card__header:has(.tox-card__header-actions),.tox .tox-card__header:has(.tox-card__header-content){flex-direction:row;align-items:center}.tox .tox-card__header:has(.tox-card__header-content){justify-content:space-between}.tox .tox-card__header:has(.tox-card__header-actions):not(:has(.tox-card__header-content)){justify-content:flex-end}.tox .tox-card:focus-within .tox-card__header-actions--hover-visible,.tox .tox-card:focus-within .tox-card__header-actions--on-focus,.tox .tox-card:hover .tox-card__header-actions--hover-visible{opacity:1;pointer-events:auto}.tox .tox-card__body{color:#fff;font-size:14px}.tox .tox-card__body .tox-expandable-box{background:0 0;border:none;gap:12px}.tox .tox-card__body .tox-expandable-box .tox-expandable-box__content,.tox .tox-card__body .tox-expandable-box>.tox-button{margin:0}.tox .tox-card__highlight{padding:4px 6px;border-bottom:0 solid #207ab7}.tox .tox-card__highlight--added{background-color:#334840}.tox .tox-card__highlight--deleted{background-color:#442632}.tox .tox-card__highlight--modified{background-color:#223e56}.tox .tox-card__actions{display:flex;gap:8px}.tox .tox-card__actions--space-between{justify-content:space-between}.tox .tox-card__actions--flex-start{justify-content:flex-start}.tox .tox-card__actions .tox-button,.tox .tox-card__actions .tox-button--icon,.tox .tox-card__actions .tox-button:has(.tox-icon:only-child){padding:4px 16px}.tox .tox-card__divider{margin:12px 0;border:none;border-top:1px solid #000}.tox .tox-card__expansion{display:flex;flex-direction:column;gap:12px;width:100%}.tox .tox-card__expansion:has(> .tox-card__expansion-content--collapsed:only-child){margin-block-start:-12px}.tox .tox-card__expansion-content{display:grid;font-size:14px;grid-template-rows:0fr;transition:grid-template-rows .2s ease-in-out}.tox .tox-card__expansion-content--expanded{grid-template-rows:1fr}.tox .tox-card__expansion-content--expanded>.tox-card__expansion-content-inner{min-height:auto;overflow:visible}.tox .tox-card__expansion-content--collapsed{grid-template-rows:0fr}.tox .tox-card__expansion-content-inner{min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:12px}.tox .tox-card.tox-skeleton{cursor:default;pointer-events:none;box-shadow:none}.tox .tox-card.tox-skeleton:hover{box-shadow:none}.tox .tox-card.tox-skeleton .tox-skeleton__line{border-radius:3px;margin:0}.tox .tox-card.tox-skeleton .tox-card__body{display:flex;flex-direction:column;gap:4px}.tox .tox-card-list{display:flex;flex-direction:column;gap:12px}.tox .tox-card-list:has(.tox-card-group){gap:0}.tox .tox-card-list:focus{outline:0}.tox .tox-card-group{background-color:#17202a;display:flex;flex-direction:column}.tox .tox-card-group .tox-card{scroll-margin-top:53px}.tox .tox-card-group__title{align-items:center;background-color:#222f3e;border-bottom:1px solid #000;color:#fff;display:flex;font-size:14px;font-weight:700;gap:8px;line-height:16px;overflow:hidden;padding:12px;position:sticky;top:0;z-index:1}.tox .tox-card-group__title-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-card-group__status{color:rgba(255,255,255,.5);flex:0 0 auto;font-size:12px;font-weight:400;margin-inline-start:auto}.tox .tox-card-group__content{display:flex;flex-direction:column;gap:12px;padding-block:12px}.tox .tox-profile{align-items:center;display:flex;gap:8px}.tox .tox-profile__image{align-items:center;display:flex;flex-shrink:0}.tox .tox-profile__badge{display:flex;flex-shrink:0;height:36px;margin-inline-start:-4px;width:36px}.tox .tox-profile__badge svg{display:block;height:100%;width:100%}.tox .tox-user-avatar{width:36px;height:36px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center}.tox .tox-user-avatar img{width:100%;height:100%;object-fit:cover}.tox .tox-profile__body{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;flex:1}.tox .tox-profile__heading{color:#fff;font-size:14px;font-weight:700;line-height:18px;text-transform:none}.tox .tox-profile__subheading{color:#fff;font-size:12px;font-weight:400;line-height:16px;padding-block:4px;text-transform:none}.tox .tox-profile__subheading .tox-icon svg{fill:rgba(255,255,255,0.5);margin-block:-4px;vertical-align:top}.tox [data-mce-name=suggestededits] .tox-icon .tox-icon--badge{fill:#207ab7}.tox .tox-view .tox-suggestededits__pane{padding:0}.tox .tox-suggestededits__sink{position:relative;z-index:1000}.tox .tox-suggestededits__sink .tox-tiered-menu .tox-collection--list{position:absolute}.tox .tox-suggestededits__container{height:100%;display:flex;flex-direction:column}.tox .tox-suggestededits__container .tox-suggestededits{background-color:#222f3e;display:flex;flex:1;height:inherit;overflow-x:auto;overflow-y:hidden;position:relative}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__content{flex:1}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__model{height:100%;position:relative}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__model .tox-suggestededits__iframe{height:100%;width:100%;overflow:scroll;background-color:#fff}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar{background-color:#34485f;border-left:1px solid #000;display:flex;flex-direction:column;flex:0 1 auto;min-width:248px;width:441px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__announcer{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;margin:-1px;padding:0;border:0}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar{padding:4px 12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar:not(:empty){padding:12px 12px 6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button:has(.tox-icon:only-child){gap:0;padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-md,16px)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button:has(.tox-icon:only-child) .tox-icon{align-items:center;display:flex;flex:0 0 auto;height:24px;justify-content:center;width:24px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline{border-color:#486383}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:focus:not(:disabled),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:hover:not(:disabled){background-color:rgba(255,255,255,.12);border-color:rgba(255,255,255,.12)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline.tox-button--enabled:not(:disabled),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:active:not(:disabled){background-color:rgba(255,255,255,.18);border-color:rgba(255,255,255,.18);color:#fff}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline[disabled]{border-color:#486383}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content{display:flex;flex:1;flex-direction:column;gap:12px;overflow:auto;padding:6px 12px 12px 12px;position:relative;scroll-padding-block:6px 12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-card--selected:has(textarea:focus){border-color:transparent}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__divider,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--divider{background-color:#34485f;height:1px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--editor,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--single{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;gap:12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--editor{padding:6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header{display:flex;flex:auto;justify-content:space-between;align-items:center;gap:8px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__card--timestamp,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__card--timestamp{color:#fff}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__card--timestamp .tox-icon svg,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__card--timestamp .tox-icon svg{fill:rgba(255,255,255,0.5)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution{align-items:center;border:0;border-radius:20px;color:rgba(255,255,255,.5);height:20px;width:20px;display:flex;flex:0 0 auto;justify-content:center;text-align:center}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button{padding:var(--tox-private-button-padding-y,4px) var(--tox-private-button-padding-x,16px)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button .tox-suggestededits__resolution--label{display:none}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:not(:hover):not(:focus-visible),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:not(:hover):not(:focus-visible){border-color:transparent}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution{display:none}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution--label{display:inline}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content{display:flex;flex-direction:column;align-self:stretch;flex:auto;gap:6px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations{display:flex;gap:8px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-details,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-details{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-text,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-text{color:#fff;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:18px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-content-text,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-content-text{font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:20px;overflow-wrap:break-word}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-content-text-joiner,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-content-text-joiner{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__card--feedback,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__card--feedback{color:#fff;overflow-wrap:anywhere;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__actions,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--buttons{display:flex;align-items:center;gap:8px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__actions.tox-suggestededits__card--feedback-buttons,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--buttons.tox-suggestededits__card--feedback-buttons{justify-content:flex-end}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-suggestededits__card--active .tox-suggestededits__card--single{border-radius:6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-suggestededits__card--active .tox-suggestededits__card--single:focus-visible{outline:2px solid #207ab7}.tox .tox-dialog-loading::before{background-color:rgba(0,0,0,.5);content:"";height:100%;position:absolute;width:100%;z-index:1000}.tox .tox-tab{cursor:pointer}.tox .tox-dialog__content-js{display:flex;flex:1}.tox .tox-dialog__body-content .tox-collection{display:flex;flex:1}.tox:not(.tox-tinymce-inline) .tox-editor-header{background-color:none;padding:0}.tox.tox-tinymce--toolbar-bottom .tox-editor-header,.tox.tox-tinymce-inline .tox-editor-header{margin-bottom:-1px}.tox.tox-tinymce-inline .tox-editor-container{overflow:hidden}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header{border-top:none;box-shadow:none}.tox.tox.tox-tinymce--toolbar-sticky-on .tox-editor-header{background-color:transparent;box-shadow:0 4px 4px -3px rgba(0,0,0,.25);padding:0}.tox.tox.tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header{box-shadow:0 4px 4px -3px rgba(0,0,0,.25)}.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker{margin:-4px 0}.tox .tox-menu.tox-collection.tox-collection--list{padding:0}.tox .tox-pop{box-shadow:none}.tox .tox-label,.tox .tox-number-input,.tox .tox-split-button,.tox .tox-tbtn,.tox .tox-tbtn--select,.tox .tox-toolbar-label{margin:2px 0 3px 0}.tox .tox-tbtn--bordered,.tox .tox-tbtn--bordered:focus,.tox .tox-tbtn--bordered:hover{border:1px solid #000}.tox .tox-pop__dialog .tox-toolbar,.tox .tox-toolbar,.tox .tox-toolbar__overflow,.tox .tox-toolbar__primary{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}.tox .tox-menubar+.tox-toolbar-overlord{border-top:none}.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord .tox-toolbar__primary{border-top:1px solid #000;margin-top:-1px}.tox.tox-tinymce-aux .tox-toolbar__overflow{border:1px solid #000;padding:0}.tox .tox-pop .tox-pop__dialog .tox-toolbar{padding:0}.tox .tox-context-toolbar .tox-toolbar{background:0 0}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-menubar{border-top:1px solid #000}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-toolbar-overlord:first-child .tox-toolbar__primary,.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-toolbar:first-child{border-top:1px solid #000}.tox .tox-toolbar__group{padding:0 4px 0 4px}.tox .tox-collection__item{border-radius:0;cursor:pointer}.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]){color:#fff}.tox .tox-statusbar__branding svg{fill:rgba(255,255,255,0.8);height:1em;margin-left:.3em;width:auto}@media (forced-colors:active){.tox .tox-statusbar__branding svg{fill:currentColor}}.tox .tox-statusbar__branding a{align-items:center;display:inline-flex}.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg,.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg{fill:#fff}.tox:not([dir=rtl]) .tox-statusbar__branding{margin-left:1ch}.tox[dir=rtl] .tox-statusbar__branding svg{margin-left:0;margin-right:.3em}.tox .tox-statusbar__resize-handle{padding-bottom:0;padding-right:0}.tox .tox-button::before{display:none} +.tox{box-shadow:none;box-sizing:content-box;cursor:auto;font-style:normal;font-weight:400;line-height:normal;-webkit-tap-highlight-color:transparent;-webkit-text-decoration:none;text-decoration:none;text-shadow:none;text-transform:none;vertical-align:initial;white-space:normal}.tox :not(svg):not(rect){box-sizing:inherit;color:inherit;cursor:inherit;direction:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;-webkit-tap-highlight-color:inherit;text-align:inherit;text-decoration:inherit;text-shadow:inherit;text-transform:inherit;vertical-align:inherit;white-space:inherit}.tox :not(svg):not(rect){background:0 0;border:0;box-shadow:none;float:none;height:auto;margin:0;max-width:none;outline:0;padding:0;position:static;width:auto}.tox:not([dir=rtl]){direction:ltr;text-align:left}.tox[dir=rtl]{direction:rtl;text-align:right}.tox-tinymce :focus,.tox-tinymce-aux :focus{outline:0}button::-moz-focus-inner{border:0}@keyframes tox-rotation{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes tox-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox{color:var(--tox-private-color-black,#2a3746);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-font-size-base, 16px)}.tox-tinymce{border:1px solid #000;border-radius:0;box-shadow:none;box-sizing:border-box;display:flex;flex-direction:column;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);overflow:hidden;position:relative;visibility:inherit!important}.tox.tox-tinymce-inline{border:none;box-shadow:none;overflow:initial}.tox.tox-tinymce-inline .tox-editor-container{overflow:initial}.tox.tox-tinymce-inline .tox-editor-header{background-color:#222f3e;border:1px solid #000;border-radius:0;box-shadow:none;overflow:hidden}.tox-tinymce-aux{font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);z-index:var(--tox-private-z-index-sink,1300)}.tox[dir=rtl] .tox-icon--flip svg{transform:rotateY(180deg)}.tox .tox-editor-container{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.tox .tox-editor-container--keep-toolbar{flex:0 0 auto;overflow:visible}.tox .tox-editor-header{display:grid;grid-template-columns:1fr min-content;z-index:2}.tox:not(.tox-tinymce-inline) .tox-editor-header{background-color:#222f3e;border-bottom:none;box-shadow:none;padding:4px 0}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(.tox-editor-dock-transition){transition:box-shadow .5s}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header{border-top:1px solid #000;box-shadow:none}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header{background-color:#222f3e;box-shadow:0 4px 4px -3px rgba(0,0,0,.25);padding:4px 0}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header{box-shadow:0 4px 4px -3px rgba(0,0,0,.25)}.tox.tox:not(.tox-tinymce-inline) .tox-editor-header.tox-editor-header--empty{background:0 0;border:none;box-shadow:none;padding:0}.tox-editor-dock-fadeout{opacity:0;visibility:hidden}.tox-editor-dock-fadein{opacity:1;visibility:visible}.tox-editor-dock-transition{transition:visibility 0s linear .25s,opacity .25s ease}.tox-editor-dock-transition.tox-editor-dock-fadein{transition-delay:0s}.tox .accessibility-issue__header{align-items:center;display:flex;margin-bottom:4px}.tox #accessibility-issue__subheader{font-size:16px;color:#fff}.tox .accessbility-sr-only{position:absolute;clip:rect(1px,1px,1px,1px);clip-path:inset(0 0 99.9% 99.9%);overflow:hidden;height:1px;width:1px;padding:0;border:0}.tox .accessibility-issue__description{align-items:stretch;border-radius:3px;justify-content:space-between}.tox .accessibility-issue__description>div{padding-bottom:4px}.tox .accessibility-issue__description>div>div{align-items:center;display:flex;margin-bottom:4px}.tox .accessibility-issue__description>div>div .tox-icon svg{display:block}.tox #accessibility-issue__contentID{margin-top:8px;margin-bottom:8px}.tox #accessibility-issue__contentID span:first-child{font-weight:700}.tox #accessibility-issue__document{padding-bottom:8px}.tox .accessibility-issue__repair{margin-top:8px}.tox .accessibility-issue__repair .tox-form__group .tox-form__group--error{color:#eb9999}.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description{background-color:#22374a;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2{font-size:14px;color:#a6cae2}.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon.accessibility-issue__icon svg{fill:#a6cae2}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon{background-color:#207ab7;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:hover{background-color:#1c6ca1}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:active{background-color:#185d8c}.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description{background-color:#383f38;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2{font-size:14px;color:#ffeb99}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon.accessibility-issue__icon svg{fill:#ffeb99}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon{background-color:#ffe89d;color:#2a3746}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:hover{background-color:#f2d574;color:#2a3746}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:active{background-color:#e8c657;color:#2a3746}.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description{background-color:#332a38;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2{font-size:14px;color:#eb9999}.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon.accessibility-issue__icon svg{fill:#eb9999}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon{background-color:#f2bfbf;color:#2a3746}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:hover{background-color:#e9a4a4;color:#2a3746}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:active{background-color:#ee9494;color:#2a3746}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description{background-color:rgba(120,171,70,.5);color:#fff}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description>:last-child{display:none}.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2{color:#fff}.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon.accessibility-issue__icon svg{fill:#fff}.tox .tox-dialog__body-content .accessibility-issue__header .tox-form__group h1,.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2{margin-top:0}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-left:4px}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-left:auto}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description{padding:8px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-right:4px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-right:auto}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description{padding:4px 8px 4px 4px}.tox .mce-codemirror{background:#fff;bottom:0;font-size:13px;left:0;position:absolute;right:0;top:0;z-index:1}.tox .mce-codemirror.tox-inline-codemirror{margin:8px;position:absolute}.tox .tox-advtemplate .tox-form__grid{flex:1}.tox .tox-advtemplate .tox-form__grid>div:first-child{display:flex;flex-direction:column;width:30%}.tox .tox-advtemplate .tox-form__grid>div:first-child>div:nth-child(2){flex-basis:0;flex-grow:1;overflow:auto}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-advtemplate .tox-form__grid>div:first-child{width:100%}}.tox .tox-advtemplate iframe{border-color:#000;border-radius:0;border-style:solid;border-width:1px;margin:0 10px}.tox .tox-accordion{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__item{background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color,#fff);border-radius:var(--tox-private-control-border-radius,3px);position:relative}.tox .tox-accordion__item.tox-accordion__item--expanded{background-color:var(--tox-private-background-secondary,#2f4055)}.tox .tox-accordion__item.tox-accordion__item--expanded .tox-accordion__content--expanded .tox-accordion__content-inner{padding-top:0}.tox .tox-accordion__item::after{border-radius:var(--tox-private-control-border-radius,3px);box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,0) var(--tox-private-keyboard-focus-outline-color,transparent);content:'';inset:0;opacity:0;pointer-events:none;position:absolute}@media (forced-colors:active){.tox .tox-accordion__item::after{border:2px solid highlight}}.tox .tox-accordion__item:focus{outline:0;z-index:1}.tox .tox-accordion__item:focus::after{opacity:1}.tox .tox-accordion__heading{margin:0;width:100%}.tox .tox-accordion__heading:focus{outline:0}.tox .tox-accordion__header{align-items:center;border:none;border-radius:var(--tox-private-control-border-radius,3px);box-sizing:border-box;color:var(--tox-private-text-color,#fff);cursor:pointer;display:flex;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:var(--tox-private-line-height-base, 1.3);outline:0;padding:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));text-align:left;width:100%}.tox .tox-accordion__header::after{border-radius:var(--tox-private-control-border-radius,3px);bottom:0;box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,0) var(--tox-private-keyboard-focus-outline-color,transparent);content:'';left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-accordion__header::after{border:2px solid highlight}}.tox .tox-accordion__header:hover:not(.tox-accordion__header--disabled){background-color:var(--tox-private-background-secondary,#2f4055)}.tox .tox-accordion__header:focus:not(.tox-accordion__header--disabled){position:relative;z-index:1}.tox .tox-accordion__header:focus:not(.tox-accordion__header--disabled)::after{opacity:1}.tox .tox-accordion__header.tox-accordion__header--disabled{cursor:not-allowed;opacity:.5}.tox .tox-accordion__header.tox-accordion__header--icon-end{padding-right:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__header-icon{align-items:center;color:var(--tox-private-text-color,#fff);display:flex;flex-shrink:0;height:calc(var(--tox-private-base-value,16px) * 1.5);justify-content:center;width:calc(var(--tox-private-base-value,16px) * 1.5)}.tox .tox-accordion__header-icon svg{display:block;fill:currentColor;height:100%;width:100%;max-height:calc(var(--tox-private-base-value,16px) * 1.5);max-width:calc(var(--tox-private-base-value,16px) * 1.5)}.tox .tox-accordion__header:not(.tox-accordion__header--icon-end) .tox-accordion__header-icon{margin-right:var(--tox-private-pad-sm,8px);margin-left:0}.tox .tox-accordion__header--icon-end .tox-accordion__header-icon{margin-left:auto}.tox .tox-accordion__header-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-accordion__header--icon-end .tox-accordion__header-text{flex:0 1 auto;margin-right:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__content{border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-accordion__content.tox-accordion__content--collapsed{display:none}.tox .tox-accordion__content.tox-accordion__content--expanded{display:block}.tox .tox-accordion__content-inner{padding:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px)) calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__content-inner .tox-form__group:last-child{margin-bottom:0}.tox .tox-accordion__content-inner .tox-form__group>:not(:first-child){margin-top:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__content-inner .tox-form__group>.tox-dropdown-content{margin-top:0}.tox .tox-accordion__content-inner .tox-button-group{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__content-inner .tox-accordion__model-button{border-radius:var(--tox-private-control-border-radius,3px);align-items:center;appearance:none;background:0 0;border:none;color:inherit;cursor:pointer;display:flex;font-family:inherit;font-size:inherit;gap:var(--tox-private-pad-xs,4px);margin:0;outline:0;padding:6px calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));position:relative}.tox .tox-accordion__content-inner .tox-accordion__model-button::after{border-radius:var(--tox-private-control-border-radius,3px);bottom:0;box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,0) var(--tox-private-keyboard-focus-outline-color,transparent);content:'';left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-accordion__content-inner .tox-accordion__model-button::after{border:2px solid highlight}}.tox .tox-accordion__content-inner .tox-accordion__model-button:focus{z-index:1}.tox .tox-accordion__content-inner .tox-accordion__model-button:focus::after{opacity:1}.tox .tox-accordion .tox-selectfield{align-items:center;background-color:var(--tox-private-background-color,#222f3e);border:1px solid var(--tox-private-border-color,#000);border-radius:var(--tox-private-control-border-radius,3px);box-sizing:border-box;display:flex;height:34px;padding:0 6px;position:relative;width:100%}.tox .tox-accordion .tox-selectfield:focus-within{box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,0) var(--tox-private-keyboard-focus-outline-color,transparent);z-index:1}@media (forced-colors:active){.tox .tox-accordion .tox-selectfield:focus-within{border-color:highlight;box-shadow:0 0 0 2px highlight}}.tox .tox-accordion .tox-selectfield button{appearance:none;background:0 0;border:none;color:inherit;cursor:pointer;flex:1;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;outline:0;padding:5px 0;text-align:left}.tox .tox-accordion .tox-selectfield .tox-icon{display:flex;flex-shrink:0;padding:9px 0;pointer-events:none}.tox .tox-accordion .tox-selectfield .tox-icon svg{height:var(--tox-private-base-value,16px);width:var(--tox-private-base-value,16px)}.tox[dir=rtl] .tox-accordion__header{text-align:right}.tox[dir=rtl] .tox-accordion__header:not(.tox-accordion__header--icon-end) .tox-accordion__header-icon{margin-left:var(--tox-private-pad-sm,8px);margin-right:0}.tox[dir=rtl] .tox-accordion__header--icon-end .tox-accordion__header-icon{margin-right:auto;margin-left:0}.tox[dir=rtl] .tox-accordion__header--icon-end .tox-accordion__header-text{margin-left:var(--tox-private-pad-sm,8px);margin-right:0}.tox .tox-alert{align-items:flex-start;align-self:stretch;border-radius:var(--tox-private-panel-border-radius,3px);border-style:solid;border-width:1px;box-sizing:border-box;color:var(--tox-private-text-color,#fff);display:flex;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-normal,normal);gap:var(--tox-private-pad-xs,4px);line-height:var(--tox-private-line-height-base, 1.3);padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-sm,8px);width:100%}.tox .tox-alert--error{background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#222f3e) r g b / .8) 0,rgba(from var(--tox-private-background-color,#222f3e) r g b / .8) 100%),var(--tox-private-color-error,#c00);border-color:var(--tox-private-color-error,#c00)}.tox .tox-alert--warning{background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#222f3e) r g b / .8) 0,rgba(from var(--tox-private-background-color,#222f3e) r g b / .8) 100%),var(--tox-private-color-warning,#fc0);border-color:var(--tox-private-color-warning,#fc0)}.tox .tox-alert__body{display:flex;flex:1 0 0;flex-direction:column;min-width:0}.tox .tox-alert__content{align-items:center;display:flex;flex:1 0 0;gap:var(--tox-private-pad-sm,8px);padding:var(--tox-private-pad-sm,8px) 0}.tox .tox-alert__message{margin:0;text-align:left}.tox .tox-alert__actions{align-items:center;display:flex;flex-wrap:wrap;gap:var(--tox-private-pad-xs,4px);justify-content:flex-start}.tox .tox-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bottom-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bar{display:flex;flex:0 0 auto}.tox .tox-button{border-width:var(--tox-private-button-border-width,1px);border-style:var(--tox-private-button-border-style,solid);border-radius:var(--tox-private-control-border-radius,3px);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-button-font-size, 14px);font-style:var(--tox-private-button-font-style,normal);font-weight:var(--tox-private-button-font-weight,bold);line-height:var(--tox-private-control-line-height, 24px);padding:var(--tox-private-button-padding-y,4px) var(--tox-private-button-padding-x,16px);text-align:center;-webkit-text-decoration:none;text-decoration:none;text-transform:none;letter-spacing:normal;box-shadow:none;box-sizing:border-box;cursor:pointer;outline:0;position:relative;white-space:nowrap;display:inline-flex;justify-content:center;align-items:center;gap:var(--tox-private-pad-xs,4px)}.tox .tox-button::before{border-radius:var(--tox-private-control-border-radius,3px);bottom:calc(-1 * var(--tox-private-button-border-width,1px));box-shadow:var(--tox-private-button-focus-outline,inset 0 0 0 1px #fff,0 0 0 2px #207ab7);content:'';left:calc(-1 * var(--tox-private-button-border-width,1px));opacity:0;pointer-events:none;position:absolute;right:calc(-1 * var(--tox-private-button-border-width,1px));top:calc(-1 * var(--tox-private-button-border-width,1px))}.tox .tox-button:focus:not(:disabled){background-color:var(--tox-private-button-focus-background-color,#1c6ca1);background-image:none;border-color:var(--tox-private-button-focus-border-color,#1c6ca1);box-shadow:var(--tox-private-button-focus-box-shadow,none);color:var(--tox-private-button-focus-text-color,#fff)}.tox .tox-button:focus:not(:disabled)::before{opacity:1}.tox .tox-button.tox-button--icon,.tox .tox-button:has(.tox-icon:only-child){padding:4px}.tox .tox-button .tox-icon svg{display:block;fill:currentColor}.tox .tox-button .tox-icon.tox-icon--success svg{fill:var(--tox-private-color-success,#78AB46)}.tox .tox-button .tox-icon.tox-icon--error svg{fill:var(--tox-private-color-error,#c00)}.tox .tox-button--stretch{width:100%}.tox-context-form__group .tox-button--icon,.tox-context-form__group .tox-button.tox-button--icon{margin:3px 0 2px 0;padding:0}.tox .tox-button{background-color:var(--tox-private-button-primary-background-color,#207ab7);background-image:none;background-position:0 0;background-repeat:repeat;color:var(--tox-private-button-primary-text-color,#fff);border-color:var(--tox-private-button-primary-border-color,#207ab7)}.tox .tox-button[disabled]{background-color:var(--tox-private-button-primary-disabled-background-color,#207ab7);background-image:none;border-color:var(--tox-private-button-primary-disabled-border-color,#207ab7);color:var(--tox-private-button-primary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button:focus:not(:disabled){background-color:var(--tox-private-button-primary-focus-background-color,#1c6ca1);border-color:var(--tox-private-button-primary-focus-border-color,#1c6ca1);color:var(--tox-private-button-primary-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button:hover:not(:disabled){background-color:var(--tox-private-button-primary-hover-background-color,#1c6ca1);border-color:var(--tox-private-button-primary-hover-border-color,#1c6ca1);color:var(--tox-private-button-primary-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button:active:not(:disabled){background-color:var(--tox-private-button-primary-active-background-color,#185d8c);border-color:var(--tox-private-button-primary-active-border-color,#185d8c);color:var(--tox-private-button-primary-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled{background-color:var(--tox-private-button-primary-enabled-background-color,#185d8c);border-color:var(--tox-private-button-primary-enabled-border-color,#185d8c);color:var(--tox-private-button-primary-enabled-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled[disabled]{color:var(--tox-private-button-primary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-primary-enabled-focus-background-color,#154f76);border-color:var(--tox-private-button-primary-enabled-focus-border-color,#154f76);color:var(--tox-private-button-primary-enabled-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-primary-enabled-hover-background-color,#154f76);border-color:var(--tox-private-button-primary-enabled-hover-border-color,#154f76);color:var(--tox-private-button-primary-enabled-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-primary-enabled-active-background-color,#114060);border-color:var(--tox-private-button-primary-enabled-active-border-color,#114060);color:var(--tox-private-button-primary-enabled-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary{background-color:var(--tox-private-button-secondary-background-color,#3d546f);border-color:var(--tox-private-button-secondary-border-color,#3d546f);color:var(--tox-private-button-secondary-text-color,#fff);border-style:solid;border-width:1px;background-image:none;background-position:0 0;background-repeat:repeat;border-radius:3px;box-shadow:none;font-size:14px;font-style:normal;font-weight:700;letter-spacing:normal;outline:0;padding:4px 16px;-webkit-text-decoration:none;text-decoration:none;text-transform:none}.tox .tox-button--secondary[disabled]{background-color:var(--tox-private-button-secondary-disabled-background-color,#3d546f);background-image:none;border-color:var(--tox-private-button-secondary-disabled-border-color,#3d546f);color:var(--tox-private-button-secondary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button--secondary:focus:not(:disabled){background-color:var(--tox-private-button-secondary-focus-background-color,#34485f);border-color:var(--tox-private-button-secondary-focus-border-color,#34485f);color:var(--tox-private-button-secondary-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary:hover:not(:disabled){background-color:var(--tox-private-button-secondary-hover-background-color,#34485f);border-color:var(--tox-private-button-secondary-hover-border-color,#34485f);color:var(--tox-private-button-secondary-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary:active:not(:disabled){background-color:var(--tox-private-button-secondary-active-background-color,#2b3b4e);border-color:var(--tox-private-button-secondary-active-border-color,#2b3b4e);color:var(--tox-private-button-secondary-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled{background-color:var(--tox-private-button-secondary-enabled-background-color,#6ea9d0);border-color:var(--tox-private-button-secondary-enabled-border-color,#6ea9d0);color:var(--tox-private-button-secondary-enabled-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled[disabled]{color:var(--tox-private-button-secondary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button--secondary.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-focus-background-color,#5b9dca);border-color:var(--tox-private-button-secondary-enabled-focus-border-color,#5b9dca);color:var(--tox-private-button-secondary-enabled-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-hover-background-color,#5b9dca);border-color:var(--tox-private-button-secondary-enabled-hover-border-color,#5b9dca);color:var(--tox-private-button-secondary-enabled-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-active-background-color,#4792c4);border-color:var(--tox-private-button-secondary-enabled-active-border-color,#4792c4);color:var(--tox-private-button-secondary-enabled-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--naked{background-color:transparent;border-color:transparent;box-shadow:unset;color:var(--tox-private-button-naked-text-color,#fff)}.tox .tox-button--naked[disabled]{background-color:#3d546f;border-color:#3d546f;color:var(--tox-private-button-naked-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button--naked:focus:not(:disabled){background-color:var(--tox-private-button-naked-focus-background-color,#34485f);border-color:var(--tox-private-button-naked-focus-border-color,#34485f);color:var(--tox-private-button-naked-focus-text-color,#fff);box-shadow:none}.tox .tox-button--naked:hover:not(:disabled){background-color:var(--tox-private-button-naked-hover-background-color,#34485f);border-color:var(--tox-private-button-naked-hover-background-color,#34485f);color:var(--tox-private-button-naked-hover-text-color,#fff);box-shadow:none}.tox .tox-button--naked:active:not(:disabled){background-color:var(--tox-private-button-naked-active-background-color,#2b3b4e);border-color:var(--tox-private-button-naked-active-border-color,#2b3b4e);color:var(--tox-private-button-naked-active-text-color,#fff);box-shadow:none}.tox .tox-button--naked.tox-button--enabled{background-color:var(--tox-private-button-naked-enabled-background-color,#346085);border-color:var(--tox-private-button-naked-enabled-border-color,#346085);color:var(--tox-private-button-naked-enabled-text-color,#fff);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled[disabled]{color:var(--tox-private-button-naked-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button--naked.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-naked-enabled-focus-background-color,#2d5373);border-color:var(--tox-private-button-naked-enabled-focus-border-color,#2d5373);color:var(--tox-private-button-naked-enabled-focus-text-color,#fff);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-naked-enabled-hover-background-color,#2d5373);border-color:var(--tox-private-button-naked-enabled-hover-border-color,#2d5373);color:var(--tox-private-button-naked-enabled-hover-text-color,#fff);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-naked-enabled-active-background-color,#264560);border-color:var(--tox-private-button-naked-enabled-active-border-color,#264560);color:var(--tox-private-button-naked-enabled-active-text-color,#fff);box-shadow:unset}.tox .tox-button--secondary--outline{background-color:transparent;border-color:var(--tox-private-button-secondary-outline-border-color,#3d546f);color:var(--tox-private-button-secondary-outline-text-color,#fff)}.tox .tox-button--secondary--outline:focus:not(:disabled){background-color:var(--tox-private-button-secondary-outline-focus-background-color,#34485f);border-color:var(--tox-private-button-secondary-outline-focus-border-color,#34485f);color:var(--tox-private-button-secondary-outline-focus-text-color,#fff)}.tox .tox-button--secondary--outline:hover:not(:disabled){background-color:var(--tox-private-button-secondary-outline-hover-background-color,#3d546f);border-color:var(--tox-private-button-secondary-outline-hover-border-color,#34485f);color:var(--tox-private-button-secondary-outline-hover-text-color,#fff)}.tox .tox-button--secondary--outline:active:not(:disabled){background-color:var(--tox-private-button-secondary-outline-active-background-color,#34485f);border-color:var(--tox-private-button-secondary-outline-active-border-color,#34485f);color:var(--tox-private-button-secondary-outline-active-text-color,#fff)}.tox .tox-button--secondary--outline[disabled]{background-color:var(--tox-private-button-secondary-outline-disabled-background-color,transparent);border-color:var(--tox-private-button-secondary-outline-disabled-border-color,#3d546f);color:var(--tox-private-button-secondary-outline-disabled-text-color,rgba(255,255,255,.5))}.tox .tox-checkbox{align-items:center;border-radius:var(--tox-private-checkbox-border-radius,3px);cursor:pointer;display:flex;height:var(--tox-private-control-height,36px);min-width:var(--tox-private-control-height,36px)}.tox .tox-checkbox__input{height:1px;overflow:hidden;position:absolute;top:auto;width:1px}.tox .tox-checkbox__icons{display:flex;align-items:center;justify-content:center;box-sizing:content-box;padding:var(--tox-private-pad-xs,calc(4px - 1px));border-radius:var(--tox-private-checkbox-border-radius,3px);box-shadow:0 0 0 2px transparent;height:var(--tox-private-control-line-height,24px);aspect-ratio:1/1}.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:block;fill:var(--tox-private-checkbox-unselected-color,rgba(255,255,255,0.2))}@media (forced-colors:active){.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:currentColor!important}}.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:none;fill:var(--tox-private-checkbox-indeterminate-color,#207ab7)}.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg{display:none;fill:var(--tox-private-checkbox-selected-color,#207ab7)}.tox .tox-checkbox--disabled{color:var(--tox-private-checkbox-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(255,255,255,0.5))}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(255,255,255,0.5))}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(255,255,255,0.5))}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__checked svg{display:block}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:block}.tox input.tox-checkbox__input:focus+.tox-checkbox__icons{box-shadow:var(--tox-private-checkbox-focus-box-shadow,inset 0 0 0 1px #207ab7)}.tox:not([dir=rtl]) .tox-checkbox__label{margin-left:var(--tox-private-pad-xs,4px)}.tox:not([dir=rtl]) .tox-checkbox__input{left:-10000px}.tox:not([dir=rtl]) .tox-bar .tox-checkbox{margin-left:var(--tox-private-pad-xs,4px)}.tox[dir=rtl] .tox-checkbox__label{margin-right:var(--tox-private-pad-xs,4px)}.tox[dir=rtl] .tox-checkbox__input{right:-10000px}.tox[dir=rtl] .tox-bar .tox-checkbox{margin-right:var(--tox-private-pad-xs,4px)}.tox .tox-collection--toolbar .tox-collection__group{display:flex;padding:0}.tox .tox-collection--grid .tox-collection__group{display:flex;flex-wrap:wrap;max-height:208px;overflow-x:hidden;overflow-y:auto;padding:0}.tox .tox-collection--list .tox-collection__group{border-bottom-width:0;border-color:#1a1a1a;border-left-width:0;border-right-width:0;border-style:solid;border-top-width:1px;padding:4px 0;display:flex;flex-direction:column}.tox .tox-collection--list .tox-collection__group:first-child{border-top-width:0}.tox .tox-collection__group-heading{background-color:#333;color:#fff;cursor:default;font-size:12px;font-style:normal;font-weight:400;margin-bottom:4px;margin-top:-4px;padding:4px 8px;text-transform:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-collection__item{align-items:center;border-radius:3px;color:#fff;display:flex;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-image-selector-menu .tox-collection__item,.tox .tox-image-selector-menu .tox-collection__item-image-selector{flex-direction:column}.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-checkmark,.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-icon,.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-image,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-checkmark,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-icon,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-image{flex-grow:1}.tox .tox-image-selector-menu .tox-collection__item label,.tox .tox-image-selector-menu .tox-collection__item-image-selector label{width:48px;white-space:nowrap;overflow:hidden;font-size:12px;color:#fff;text-align:center;align-self:flex-end}.tox .tox-image-selector-menu .tox-collection__item-checkmark{height:24px;width:24px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.tox .tox-image-selector-menu .tox-collection__item-checkmark svg path{fill:#207ab7;stroke:#207ab7}.tox .tox-image-selector-menu .tox-image-selector__row .tox-collection__item-image-selector.tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#222f3e}.tox .tox-image-selector-menu .tox-image-selector__row .tox-collection__item-image-selector.tox-collection__item--enabled:not(.tox-collection__item--state-disabled){z-index:2;background-color:#222f3e;opacity:.8;background-clip:content-box}.tox .tox-collection--list .tox-collection__item{padding:4px 8px}.tox .tox-collection--toolbar .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--grid .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--list .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#2b3b4e;color:#fff}.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#4a5562;color:#fff}@media (forced-colors:active){.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){border:solid 1px}}.tox .tox-collection--grid .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#757d87;color:#fff}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#4a5562;color:#fff;position:relative;z-index:1}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent inset;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border:2px solid highlight}}.tox .tox-collection--toolbar .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#757d87;color:#fff}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){border-radius:3px;outline:solid 1px}}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled){color:#fff;background-color:#2b3b4e;position:relative}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):hover{background-color:#4a5562;color:#fff}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus{background-color:#4a5562;color:#fff}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border:2px solid highlight}}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):hover{border-radius:3px;outline:solid 1px}}.tox .tox-collection__item-image{border:1px solid #000;border-radius:3px;display:flex;flex-direction:column;justify-content:center;margin-bottom:4px;position:relative}.tox .tox-collection__item-checkmark,.tox .tox-collection__item-icon{align-items:center;display:flex;height:24px;justify-content:center;width:24px}.tox .tox-collection__item-checkmark svg,.tox .tox-collection__item-icon svg{fill:currentColor}.tox .tox-collection--toolbar-lg .tox-collection__item-icon{height:48px;width:48px}.tox .tox-collection__item-label{color:currentColor;display:inline-block;flex:1;font-size:14px;font-style:normal;font-weight:400;line-height:24px;max-width:100%;text-transform:none;word-break:break-all}.tox .tox-collection__item-separator{border-bottom:1px solid #1a1a1a;height:0;margin:4px 0}.tox .tox-collection__item-accessory{color:currentColor;display:inline-block;font-size:14px;height:24px;line-height:24px;text-transform:none}.tox .tox-collection__item-caret{align-items:center;display:flex;min-height:24px}.tox .tox-collection__item-caret::after{content:'';font-size:0;min-height:inherit}.tox .tox-collection__item-caret svg{fill:currentColor}.tox .tox-collection__item--state-disabled{background-color:transparent;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg{fill:rgba(255,255,255,0.5)}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg{display:none}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-accessory+.tox-collection__item-checkmark{display:none}.tox .tox-collection--horizontal{background-color:#2b3b4e;border:1px solid #1a1a1a;border-radius:3px;box-shadow:0 0 2px 0 rgba(42,55,70,.2),0 4px 8px 0 rgba(42,55,70,.15);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:nowrap;margin-bottom:0;overflow-x:auto;padding:0}.tox .tox-collection--horizontal .tox-collection__group{align-items:center;display:flex;flex-wrap:nowrap;margin:0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item{height:34px;margin:3px 0 2px 0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item-label{white-space:nowrap}.tox .tox-collection--horizontal .tox-collection__item-caret{margin-left:4px}.tox .tox-collection__item-container{display:flex}.tox .tox-collection__item-container--row{align-items:center;flex:1 1 auto;flex-direction:row}.tox .tox-collection__item-container--row.tox-collection__item-container--align-left{margin-right:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--align-right{justify-content:flex-end;margin-left:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-top{align-items:flex-start;margin-bottom:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-middle{align-items:center}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-bottom{align-items:flex-end;margin-top:auto}.tox .tox-collection__item-container--column{align-self:center;flex:1 1 auto;flex-direction:column}.tox .tox-collection__item-container--column.tox-collection__item-container--align-left{align-items:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--align-right{align-items:flex-end}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-top{align-self:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-middle{align-self:center}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-bottom{align-self:flex-end}.tox:not([dir=rtl]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-right:1px solid #000}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>:not(:first-child){margin-left:8px}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-left:4px}.tox:not([dir=rtl]) .tox-collection__item-accessory{margin-left:16px;text-align:right}.tox:not([dir=rtl]) .tox-collection .tox-collection__item-caret{margin-left:16px}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-left:1px solid #000}.tox[dir=rtl] .tox-collection--list .tox-collection__item>:not(:first-child){margin-right:8px}.tox[dir=rtl] .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-right:4px}.tox[dir=rtl] .tox-collection__item-accessory{margin-right:16px;text-align:left}.tox[dir=rtl] .tox-collection .tox-collection__item-caret{margin-right:16px;transform:rotateY(180deg)}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__item-caret{margin-right:4px}@media (forced-colors:active){.tox .tox-hue-slider,.tox .tox-rgb-form .tox-rgba-preview{background-color:currentColor!important;border:1px solid highlight!important;forced-color-adjust:none}}.tox .tox-color-picker-container{display:flex;flex-direction:row;height:225px;margin:0}.tox .tox-sv-palette{box-sizing:border-box;display:flex;height:100%}.tox .tox-sv-palette-spectrum{height:100%}.tox .tox-sv-palette,.tox .tox-sv-palette-spectrum{width:225px}.tox .tox-sv-palette-thumb{background:0 0;border:1px solid #000;border-radius:50%;box-sizing:content-box;height:12px;position:absolute;width:12px}.tox .tox-sv-palette-inner-thumb{border:1px solid #fff;border-radius:50%;height:10px;position:absolute;width:10px}.tox .tox-hue-slider{box-sizing:border-box;height:100%;width:25px}.tox .tox-hue-slider-spectrum{background:linear-gradient(to bottom,red,#ff0080,#f0f,#8000ff,#00f,#0080ff,#0ff,#00ff80,#0f0,#80ff00,#ff0,#ff8000,red);height:100%;width:100%}.tox .tox-hue-slider,.tox .tox-hue-slider-spectrum{width:20px}.tox .tox-hue-slider-spectrum:focus,.tox .tox-sv-palette-spectrum:focus{outline:#08f solid}.tox .tox-hue-slider-thumb{background:#fff;border:1px solid #000;box-sizing:content-box;height:4px;width:100%}.tox .tox-rgb-form{display:flex;flex-direction:column;justify-content:space-between}.tox .tox-rgb-form div{align-items:center;display:flex;justify-content:space-between;margin-bottom:5px;width:inherit}.tox .tox-rgb-form input{min-width:6em}.tox .tox-rgb-form input.tox-invalid{border:1px solid red!important;box-shadow:0 0 0 1px red}.tox .tox-rgb-container{position:relative}.tox .tox-rgb-form .tox-invalid-icon{align-content:center;align-items:center;display:none;height:100%;position:absolute;right:0;top:0}.tox .tox-rgb-form .tox-invalid-icon .tox-control-wrap__status-icon-invalid{margin:0}.tox .tox-rgb-warning-note{background-color:#442632;border:1px solid #55212b;border-radius:3px;color:#e68080;padding:3px}.tox input.tox-invalid+.tox-invalid-icon{display:flex}.tox .tox-rgb-form .tox-rgba-preview{border:1px solid #000;flex-grow:2;margin-bottom:0}.tox:not([dir=rtl]) .tox-sv-palette{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider-thumb{margin-left:-1px}.tox:not([dir=rtl]) .tox-rgb-form label{margin-right:.5em}.tox[dir=rtl] .tox-sv-palette{margin-left:15px}.tox[dir=rtl] .tox-hue-slider{margin-left:15px}.tox[dir=rtl] .tox-hue-slider-thumb{margin-right:-1px}.tox[dir=rtl] .tox-rgb-form label{margin-left:.5em}.tox .tox-toolbar .tox-swatches,.tox .tox-toolbar__overflow .tox-swatches,.tox .tox-toolbar__primary .tox-swatches{margin:2px 0 3px 4px}.tox .tox-collection--list .tox-collection__group .tox-swatches-menu{border:0;margin:-4px 0}.tox .tox-swatches__row{display:flex}@media (forced-colors:active){.tox .tox-swatches__row{forced-color-adjust:none}}.tox .tox-swatch{height:30px;transition:transform .15s,box-shadow .15s;width:30px}.tox .tox-swatch:focus,.tox .tox-swatch:hover{box-shadow:0 0 0 1px rgba(127,127,127,.3) inset;transform:scale(.8)}.tox .tox-swatch--remove{align-items:center;display:flex;justify-content:center}.tox .tox-swatch--remove svg path{stroke:#e74c3c}.tox .tox-swatches__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-swatches__picker-btn svg{fill:#fff;height:24px;width:24px}.tox .tox-swatches__picker-btn:hover{background:#4a5562}.tox div.tox-swatch:not(.tox-swatch--remove) svg{display:none;fill:#fff;height:24px;margin:calc((30px - 24px)/ 2) calc((30px - 24px)/ 2);width:24px}.tox div.tox-swatch:not(.tox-swatch--remove) svg path{fill:#fff;paint-order:stroke;stroke:#222f3e;stroke-width:2px}.tox div.tox-swatch:not(.tox-swatch--remove).tox-collection__item--enabled svg{display:block}.tox:not([dir=rtl]) .tox-swatches__picker-btn{margin-left:auto}.tox[dir=rtl] .tox-swatches__picker-btn{margin-right:auto}.tox .tox-comment{background:#222f3e;border:1px solid #222f3e;border-radius:3px;padding:8px;padding-bottom:16px;position:relative}.tox .tox-comment:hover{box-shadow:0 4px 8px 0 rgba(42,55,70,.1)}.tox .tox-comment.tox-comment--selected{background-color:#555542;border:1px solid #ffcf30;box-shadow:0 4px 8px 0 rgba(42,55,70,.1)}.tox .tox-comment.tox-comment--selected:focus{border:2px solid transparent;margin:-1px}.tox .tox-comment.tox-comment--selected:focus:not(:first-child){margin-top:7px}.tox .tox-comment.tox-comment--selected .tox-comment__single{margin-bottom:12px}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus{position:relative}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus::after{top:-9px;pointer-events:none;position:absolute;content:"";display:block;bottom:-9px;left:-9px;right:-9px;border-radius:3px;border:2px solid transparent}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus:last-of-type:has(textarea):after{bottom:calc((12px + 16px + 1px) * -1)}.tox .tox-comment__header{align-items:center;color:#fff;display:flex;justify-content:space-between}.tox .tox-comment__date{color:#fff;font-size:12px;line-height:18px}.tox .tox-comment__body{color:#fff;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;margin-top:8px;position:relative;text-transform:initial;transition:max-height .5s cubic-bezier(0, 1, 0, 1);white-space:pre-wrap}.tox .tox-comment__body.tox-comment__body--expanded{max-height:100em;transition:max-height 1s ease-in-out}.tox .tox-comment__body.tox-comment__body--pending{transition:max-height 0s}.tox .tox-comment__body p{margin:0}.tox .tox-comment__body textarea{resize:none;white-space:normal;width:100%;font-size:16px}.tox .tox-comment__loading-text{align-items:center;color:#fff;display:flex;flex-direction:column;position:relative}.tox .tox-comment__loading-text>div{padding-bottom:16px}.tox .tox-comment__overlaytext{bottom:0;flex-direction:column;font-size:14px;left:0;padding:1em;position:absolute;right:0;top:0;z-index:10}.tox .tox-comment__overlaytext p{background-color:#222f3e;box-shadow:0 0 8px 8px #222f3e;color:#fff;text-align:center}.tox .tox-comment__overlaytext div:nth-of-type(2){font-size:.8em}.tox .tox-comment__expander{padding-top:8px}.tox .tox-comment__expander p{color:rgba(255,255,255,.5);font-size:14px;font-style:normal}.tox .tox-comment__expander p:focus{font-weight:700}.tox .tox-comment__buttonspacing{padding-top:16px;text-align:center}.tox .tox-tbtn.tox-comment__mention-btn{display:flex;width:34px;height:34px;padding:5px;justify-content:center;align-items:center;margin:0;background-color:transparent}.tox .tox-comment-thread{background:#222f3e;position:relative;border-radius:3px;background-color:transparent}.tox .tox-comment-thread>:not(:first-child){margin-top:8px}.tox .tox-comment-thread__overlay::after{background:#222f3e;bottom:0;content:"";display:flex;left:0;opacity:.9;position:absolute;right:0;top:0;z-index:5}.tox .tox-comment__reply{display:flex;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__reply>:first-child{margin-bottom:8px;width:100%}.tox .tox-comment__edit{display:flex;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__gradient::after{background:linear-gradient(rgba(34,47,62,0),#222f3e);bottom:0;content:"";display:block;height:5em;margin-top:-40px;position:absolute;width:100%}.tox .tox-comment__overlay{background:#222f3e;bottom:0;display:flex;flex-direction:column;flex-grow:1;left:0;opacity:.9;position:absolute;right:0;text-align:center;top:0;z-index:5}.tox .tox-comment__busy-spinner{align-items:center;background-color:#222f3e;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:20}.tox .tox-comment__scroll{display:flex;flex-direction:column;flex-shrink:1;overflow:auto;padding:12px;scroll-behavior:smooth}.tox .tox-comment__scroll:has(textarea:focus){scroll-behavior:auto}.tox .tox-comment--disappearing{transition:opacity .5s ease}.tox .tox-comment[data-transitioning-destination=deleting]{opacity:0}.tox .tox-ring-loader{width:10px;height:10px;border:1px solid #fff;border-bottom-color:transparent;border-radius:50%;display:inline-block;box-sizing:border-box;animation:tox-rotation 1s linear infinite}.tox:not([dir=rtl]) .tox-comment__edit{margin-left:8px}.tox:not([dir=rtl]) .tox-comment__buttonspacing>:last-child,.tox:not([dir=rtl]) .tox-comment__edit>:last-child,.tox:not([dir=rtl]) .tox-comment__reply>:last-child{margin-left:8px}.tox[dir=rtl] .tox-comment__edit{margin-right:8px}.tox[dir=rtl] .tox-comment__buttonspacing>:last-child,.tox[dir=rtl] .tox-comment__edit>:last-child,.tox[dir=rtl] .tox-comment__reply>:last-child{margin-right:8px}.tox .tox-user{align-items:center;display:flex}.tox .tox-user__avatar svg{fill:rgba(255,255,255,0.5)}.tox .tox-user__avatar img{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-user__name{color:#fff;font-size:14px;font-style:normal;font-weight:700;line-height:18px;text-transform:none}.tox:not([dir=rtl]) .tox-user__avatar img,.tox:not([dir=rtl]) .tox-user__avatar svg{margin-right:8px}.tox:not([dir=rtl]) .tox-user__avatar+.tox-user__name{margin-left:8px}.tox[dir=rtl] .tox-user__avatar img,.tox[dir=rtl] .tox-user__avatar svg{margin-left:8px}.tox[dir=rtl] .tox-user__avatar+.tox-user__name{margin-right:8px}.tox .tox-dialog-wrap{align-items:center;display:flex;justify-content:center;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1100}.tox .tox-dialog-wrap__backdrop{background-color:rgba(34,47,62,.75);bottom:0;left:0;position:absolute;right:0;top:0;z-index:1}.tox .tox-dialog-wrap__backdrop--opaque{background-color:#222f3e}.tox .tox-dialog{background-color:#2b3b4e;border-color:#000;border-radius:3px;border-style:solid;border-width:1px;box-shadow:0 16px 16px -10px rgba(42,55,70,.15),0 0 40px 1px rgba(42,55,70,.15);display:flex;flex-direction:column;max-height:100%;max-width:480px;overflow:hidden;position:relative;width:95vw;z-index:2}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog{align-self:flex-start;margin:8px auto;max-height:calc(100vh - 8px * 2);width:calc(100vw - 16px)}}.tox .tox-dialog-inline{z-index:1100}.tox .tox-dialog__header{align-items:center;background-color:#2b3b4e;border-bottom:none;color:#fff;display:flex;font-size:16px;justify-content:space-between;padding:8px 16px 0 16px;position:relative}.tox .tox-dialog__header .tox-button{z-index:1}.tox .tox-dialog__draghandle{cursor:grab;height:100%;left:0;position:absolute;top:0;width:100%}.tox .tox-dialog__draghandle:active{cursor:grabbing}.tox .tox-dialog__dismiss{margin-left:auto}.tox .tox-dialog__title{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:20px;font-style:normal;font-weight:400;line-height:1.3;margin:0;text-transform:none}.tox .tox-dialog__body{color:#fff;display:flex;flex:1;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;min-width:0;text-align:left;text-transform:none}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body{flex-direction:column}}.tox .tox-dialog__body-nav{align-items:flex-start;display:flex;flex-direction:column;flex-shrink:0;padding:16px 16px}@media only screen and (min-width:768px){.tox .tox-dialog__body-nav{max-width:11em}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body-nav{flex-direction:row;-webkit-overflow-scrolling:touch;overflow-x:auto;padding-bottom:0}}.tox .tox-dialog__body-nav-item{border-bottom:2px solid transparent;color:rgba(255,255,255,.5);display:inline-block;flex-shrink:0;font-size:14px;line-height:1.3;margin-bottom:8px;max-width:13em;-webkit-text-decoration:none;text-decoration:none}.tox .tox-dialog__body-nav-item:focus{background-color:rgba(32,122,183,.1)}.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid #90bddb;color:#90bddb}@media (forced-colors:active){.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid highlight;color:highlight}}.tox .tox-dialog__body-content{box-sizing:border-box;display:flex;flex:1;flex-direction:column;max-height:min(650px,calc(100vh - 110px));overflow:auto;-webkit-overflow-scrolling:touch;padding:16px 16px}.tox .tox-dialog__body-content>*{margin-bottom:0;margin-top:16px}.tox .tox-dialog__body-content>:first-child{margin-top:0}.tox .tox-dialog__body-content>:last-child{margin-bottom:0}.tox .tox-dialog__body-content>:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content a{color:#90bddb;cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content a:focus,.tox .tox-dialog__body-content a:hover{color:#428fc2;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content a:focus-visible{border-radius:1px;outline:2px solid #90bddb;outline-offset:2px}.tox .tox-dialog__body-content a:active{color:#33739e;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content svg{fill:#fff}.tox .tox-dialog__body-content strong{font-weight:700}.tox .tox-dialog__body-content ul{list-style-type:disc}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{padding-inline-start:2.5rem}.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{margin-bottom:16px}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content dt,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{display:block;margin-inline-end:0;margin-inline-start:0}.tox .tox-dialog__body-content .tox-form__group h1{color:#fff;font-size:20px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group h2{color:#fff;font-size:16px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group p{margin-bottom:16px}.tox .tox-dialog__body-content .tox-form__group h1:first-child,.tox .tox-dialog__body-content .tox-form__group h2:first-child,.tox .tox-dialog__body-content .tox-form__group p:first-child{margin-top:0}.tox .tox-dialog__body-content .tox-form__group h1:last-child,.tox .tox-dialog__body-content .tox-form__group h2:last-child,.tox .tox-dialog__body-content .tox-form__group p:last-child{margin-bottom:0}.tox .tox-dialog__body-content .tox-form__group h1:only-child,.tox .tox-dialog__body-content .tox-form__group h2:only-child,.tox .tox-dialog__body-content .tox-form__group p:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--center{text-align:center}.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--end{text-align:end}.tox .tox-dialog--width-lg{height:650px;max-width:1200px}.tox .tox-dialog--fullscreen{height:100%;max-width:100%}.tox .tox-dialog--fullscreen .tox-dialog__body-content{max-height:100%}.tox .tox-dialog--width-md{max-width:800px}.tox .tox-dialog--width-md .tox-dialog__body-content{overflow:auto}.tox .tox-dialog__body-content--centered{text-align:center}.tox .tox-dialog__footer{align-items:center;background-color:#2b3b4e;border-top:1px solid #000;display:flex;justify-content:space-between;padding:8px 16px}.tox .tox-dialog__footer-end,.tox .tox-dialog__footer-start{display:flex}.tox .tox-dialog__busy-spinner{align-items:center;background-color:rgba(34,47,62,.75);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:3}.tox .tox-dialog__table{border-collapse:collapse;width:100%}.tox .tox-dialog__table thead th{font-weight:700;padding-bottom:8px}.tox .tox-dialog__table thead th:first-child{padding-right:8px}.tox .tox-dialog__table tbody tr{border-bottom:1px solid #000}.tox .tox-dialog__table tbody tr:last-child{border-bottom:none}.tox .tox-dialog__table td{padding-bottom:8px;padding-top:8px}.tox .tox-dialog__table td:first-child{padding-right:8px}.tox .tox-dialog__iframe{min-height:200px}.tox .tox-dialog__iframe.tox-dialog__iframe--opaque{background:#fff}.tox .tox-navobj-bordered{position:relative}.tox .tox-navobj-bordered::before{border:1px solid #000;border-radius:3px;content:'';inset:0;opacity:1;pointer-events:none;position:absolute;z-index:1}.tox .tox-navobj-bordered iframe{border-radius:3px}.tox .tox-navobj-bordered-focus.tox-navobj-bordered::before{border-color:#207ab7;box-shadow:none;outline:2px solid rgba(32,122,183,.25)}.tox .tox-dialog__popups{position:absolute;width:100%;z-index:1100}.tox .tox-dialog__body-iframe{display:flex;flex:1;flex-direction:column}.tox .tox-dialog__body-iframe .tox-navobj{display:flex;flex:1}.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2){flex:1;height:100%}.tox .tox-dialog-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-dialog-dock-fadein{opacity:1;visibility:visible}.tox .tox-dialog-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein{transition-delay:0s}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav{margin-right:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav-item:not(:first-child){margin-left:8px}}.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-end>*,.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-start>*{margin-left:8px}.tox[dir=rtl] .tox-dialog__body{text-align:right}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav{margin-left:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav-item:not(:first-child){margin-right:8px}}.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-end>*,.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-start>*{margin-right:8px}.tox .tox-dropdown-content{box-shadow:0 0 2px 0 rgba(42,55,70,.2),0 4px 8px 0 rgba(42,55,70,.15);position:fixed;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;overflow:auto;height:fit-content;width:fit-content;border-radius:var(--tox-private-panel-border-radius,3px);background-color:var(--tox-private-background-color,#222f3e);max-height:50vh}.tox .tox-dropdown-content .tox-menu{width:100%;box-shadow:none}body.tox-dialog__disable-scroll{overflow:hidden}.tox .tox-dropzone-container{display:flex;flex:1}.tox .tox-dropzone{align-items:center;background:#fff;border:2px dashed #000;box-sizing:border-box;display:flex;flex-direction:column;flex-grow:1;justify-content:center;min-height:100px;padding:10px}.tox .tox-dropzone p{color:rgba(255,255,255,.5);margin:0 0 16px 0}.tox .tox-edit-area{display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-edit-area::before{border:0 solid transparent;border-radius:4px;content:'';inset:0;opacity:0;pointer-events:none;position:absolute;transition:opacity .15s;z-index:1}@media (forced-colors:active){.tox .tox-edit-area::before{border:0 solid highlight}}.tox .tox-edit-area__iframe{background-color:#fff;border:0;box-sizing:border-box;flex:1;height:100%;position:absolute;width:100%}.tox.tox-edit-focus .tox-edit-area::before{opacity:1}.tox.tox-inline-edit-area{border:1px dotted #000}.tox .tox-expandable-box{background:var(--tox-private-background-color,#222f3e);border-radius:var(--tox-private-control-border-radius,3px);border:1px solid var(--tox-private-border-color,#000);display:flex;flex-direction:column;justify-content:stretch;overflow:hidden}.tox .tox-expandable-box>.tox-button{margin:0 var(--tox-private-pad-md,16px) var(--tox-private-pad-md,16px)}.tox .tox-expandable-box__title{align-items:center;background:hsl(from var(--tox-private-color-tint,#207ab7) h s l / 10%);border-bottom:1px solid var(--tox-private-border-color,#000);color:var(--tox-private-text-color,#fff);display:flex;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);gap:var(--tox-private-pad-sm,8px);min-width:0;padding:var(--tox-private-pad-sm,8px) var(--tox-private-pad-md,16px)}.tox .tox-expandable-box__title .tox-icon{flex-shrink:0;height:var(--tox-private-base-value,16px);fill:var(--tox-private-text-color,#fff)}.tox .tox-expandable-box__title-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-expandable-box__content{margin:var(--tox-private-pad-md,16px);overflow:auto}.tox .tox-expandable-box__content--overflowing{position:relative;overflow:hidden}.tox .tox-expandable-box__content--overflowing::after{content:'';position:absolute;bottom:0;left:0;right:0;height:min(100px,100%);pointer-events:none;background:linear-gradient(to bottom,transparent 50%,var(--tox-private-background-color,#222f3e))}.tox .tox-expandable-box__content--expanded{max-height:fit-content}.tox .tox-control-wrap{flex:1;position:relative}.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid,.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown,.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid{display:none}.tox .tox-control-wrap svg{display:block}.tox .tox-control-wrap__status-icon-wrap{position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-control-wrap__status-icon-invalid svg{fill:#c00}.tox .tox-control-wrap__status-icon-unknown svg{fill:orange}.tox .tox-control-wrap__status-icon-valid svg{fill:green}.tox:not([dir=rtl]) .tox-control-wrap--status-invalid .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-unknown .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-valid .tox-textfield{padding-right:32px}.tox:not([dir=rtl]) .tox-control-wrap__status-icon-wrap{right:4px}.tox[dir=rtl] .tox-control-wrap--status-invalid .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-unknown .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-valid .tox-textfield{padding-left:32px}.tox[dir=rtl] .tox-control-wrap__status-icon-wrap{left:4px}.tox .tox-custom-preview{border-color:#000;border-radius:3px;border-style:solid;border-width:1px;flex:1;padding:8px}.tox .tox-autocompleter{max-width:25em}.tox .tox-autocompleter .tox-menu{box-sizing:border-box;max-width:25em}.tox .tox-autocompleter .tox-autocompleter-highlight{font-weight:700}.tox .tox-color-input{display:flex;position:relative;z-index:1}.tox .tox-color-input .tox-textfield{z-index:-1}.tox .tox-color-input span{border-color:rgba(42 55 70 / 20%);border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;height:24px;position:absolute;top:6px;width:24px}@media (forced-colors:active){.tox .tox-color-input span{border-color:currentColor;border-width:2px!important;forced-color-adjust:none}}.tox .tox-color-input span:focus:not([aria-disabled=true]),.tox .tox-color-input span:hover:not([aria-disabled=true]){border-color:#207ab7;cursor:pointer}.tox .tox-color-input span::before{background-image:linear-gradient(45deg,rgba(255,255,255,.25) 25%,transparent 25%),linear-gradient(-45deg,rgba(255,255,255,.25) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(255,255,255,.25) 75%),linear-gradient(-45deg,transparent 75%,rgba(255,255,255,.25) 75%);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px;border:1px solid #2b3b4e;border-radius:3px;box-sizing:border-box;content:'';height:24px;left:-1px;position:absolute;top:-1px;width:24px;z-index:-1}@media (forced-colors:active){.tox .tox-color-input span::before{border:none}}.tox .tox-color-input span[aria-disabled=true]{cursor:not-allowed}.tox:not([dir=rtl]) .tox-color-input .tox-textfield{padding-left:36px}.tox:not([dir=rtl]) .tox-color-input span{left:6px}.tox[dir=rtl] .tox-color-input .tox-textfield{padding-right:36px}.tox[dir=rtl] .tox-color-input span{right:6px}.tox .tox-label,.tox .tox-toolbar-label{color:rgba(255,255,255,.5);display:block;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;padding:0 8px 0 0;text-transform:none;white-space:nowrap}.tox .tox-toolbar-label{padding:0 8px}.tox[dir=rtl] .tox-label{padding:0 0 0 8px}.tox .tox-form{display:flex;flex:1;flex-direction:column}.tox .tox-form__group{box-sizing:border-box;margin-bottom:4px}.tox .tox-form-group--maximize{flex:1}.tox .tox-form__group--error{color:#c00}.tox .tox-form__group--collection{display:flex}.tox .tox-form__grid{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}.tox .tox-form__grid--2col>.tox-form__group{width:calc(50% - (8px / 2))}.tox .tox-form__grid--3col>.tox-form__group{width:calc(100% / 3 - (8px / 2))}.tox .tox-form__grid--4col>.tox-form__group{width:calc(25% - (8px / 2))}.tox .tox-form__controls-h-stack{align-items:center;display:flex}.tox .tox-form__group--inline{align-items:center;display:flex}.tox .tox-form__group--stretched{display:flex;flex:1;flex-direction:column}.tox .tox-form__group--stretched .tox-textarea{flex:1}.tox .tox-form__group--stretched .tox-navobj{display:flex;flex:1}.tox .tox-form__group--stretched .tox-navobj :nth-child(2){flex:1;height:100%}.tox:not([dir=rtl]) .tox-form__controls-h-stack>:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-form__controls-h-stack>:not(:first-child){margin-right:4px}.tox .tox-lock.tox-locked .tox-lock-icon__unlock,.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock{display:none}.tox .tox-context-form__group .tox-button--icon.tox-lock-context-form-size-input{margin-left:8px;margin-right:8px}.tox .tox-listboxfield .tox-listbox--select,.tox .tox-textarea,.tox .tox-textarea-wrap .tox-textarea:focus,.tox .tox-textfield,.tox .tox-toolbar-textfield{appearance:none;background-color:#2b3b4e;border-color:#000;border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 4.75px;resize:none;width:100%}.tox .tox-textarea[disabled],.tox .tox-textfield[disabled],.tox .tox-toolbar-textfield[disabled]{background-color:#222f3e;color:rgba(255,255,255,.85);cursor:not-allowed}.tox .tox-custom-editor:focus-within,.tox .tox-focusable-wrapper:focus,.tox .tox-listboxfield .tox-listbox--select:focus,.tox .tox-textarea-wrap:focus-within,.tox .tox-textarea:focus,.tox .tox-textfield:focus,.tox .tox-toolbar-textfield:focus{background-color:#2b3b4e;border-color:#207ab7;box-shadow:none;outline:2px solid rgba(32,122,183,.25)}.tox .tox-toolbar-textfield{max-width:250px;min-height:unset;height:34px;margin:2px 0 3px 0}.tox .tox-naked-btn{background-color:transparent;border:0;border-color:transparent;box-shadow:unset;color:#207ab7;cursor:pointer;display:block;margin:0;padding:0}.tox .tox-naked-btn svg{display:block;fill:#fff}.tox .tox-textfield-size{width:80px}.tox:not([dir=rtl]) .tox-toolbar-textfield+*{margin-left:4px}.tox[dir=rtl] .tox-toolbar-textfield+*{margin-right:4px}.tox .tox-listboxfield{cursor:pointer;position:relative}.tox .tox-listboxfield .tox-listbox--select[disabled]{background-color:#19232e;color:rgba(255,255,255,.85);cursor:not-allowed}.tox .tox-listbox__select-label{cursor:default;flex:1;margin:0 4px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-listbox__menu .tox-menu{box-sizing:border-box}.tox .tox-listbox__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-listbox__select-chevron svg{fill:#fff}@media (forced-colors:active){.tox .tox-listbox__select-chevron svg{fill:currentColor!important}}.tox .tox-listboxfield .tox-listbox--select{align-items:center;display:flex}.tox:not([dir=rtl]) .tox-listboxfield svg{right:8px}.tox[dir=rtl] .tox-listboxfield svg{left:8px}.tox .tox-selectfield{cursor:pointer;position:relative}.tox .tox-selectfield select{appearance:none;background-color:#2b3b4e;border-color:#000;border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 4.75px;resize:none;width:100%}.tox .tox-selectfield select[disabled]{background-color:#19232e;color:rgba(255,255,255,.85);cursor:not-allowed}.tox .tox-selectfield select::-ms-expand{display:none}.tox .tox-selectfield select:focus{background-color:#2b3b4e;border-color:#207ab7;box-shadow:none;outline:2px solid rgba(32,122,183,.25)}.tox .tox-selectfield svg{pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-selectfield select option:checked{background-color:revert;color:revert}.tox:not([dir=rtl]) .tox-selectfield select[size="0"],.tox:not([dir=rtl]) .tox-selectfield select[size="1"]{padding-right:24px}.tox:not([dir=rtl]) .tox-selectfield svg{right:8px}.tox[dir=rtl] .tox-selectfield select[size="0"],.tox[dir=rtl] .tox-selectfield select[size="1"]{padding-left:24px}.tox[dir=rtl] .tox-selectfield svg{left:8px}.tox .tox-textarea-wrap{border-color:#000;border-radius:3px;border-style:solid;border-width:1px;display:flex;flex:1;overflow:hidden}.tox .tox-textarea{appearance:textarea;white-space:pre-wrap}.tox .tox-textarea-wrap .tox-textarea{border:none}.tox .tox-textarea-wrap .tox-textarea:focus{border:none}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}.tox .tox-help__more-link{list-style:none;margin-top:1em}.tox .tox-imagepreview{background-color:#666;height:380px;overflow:hidden;position:relative;width:100%}.tox .tox-imagepreview.tox-imagepreview__loaded{overflow:auto}.tox .tox-imagepreview__container{display:flex;left:100vw;position:absolute;top:100vw}.tox .tox-imagepreview__image{background:url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==)}.tox .tox-image-tools .tox-spacer{flex:1}.tox .tox-image-tools .tox-bar{align-items:center;display:flex;height:60px;justify-content:center}.tox .tox-image-tools .tox-imagepreview,.tox .tox-image-tools .tox-imagepreview+.tox-bar{margin-top:8px}.tox .tox-image-tools .tox-croprect-block{background:#000;opacity:.5;position:absolute;zoom:1}.tox .tox-image-tools .tox-croprect-handle{border:2px solid #fff;height:20px;left:0;position:absolute;top:0;width:20px}.tox .tox-image-tools .tox-croprect-handle-move{border:0;cursor:move;position:absolute}.tox .tox-image-tools .tox-croprect-handle-nw{border-width:2px 0 0 2px;cursor:nw-resize;left:100px;margin:-2px 0 0 -2px;top:100px}.tox .tox-image-tools .tox-croprect-handle-ne{border-width:2px 2px 0 0;cursor:ne-resize;left:200px;margin:-2px 0 0 -20px;top:100px}.tox .tox-image-tools .tox-croprect-handle-sw{border-width:0 0 2px 2px;cursor:sw-resize;left:100px;margin:-20px 2px 0 -2px;top:200px}.tox .tox-image-tools .tox-croprect-handle-se{border-width:0 2px 2px 0;cursor:se-resize;left:200px;margin:-20px 0 0 -20px;top:200px}.tox .tox-image-selector-loading-spinner-wrapper{display:flex;justify-content:center;align-items:center}.tox .tox-image-selector-loading-spinner{position:absolute;width:min(24px,30%);aspect-ratio:1/1;border-radius:50%;border:3px solid #207ab7;border-bottom-color:transparent;animation:tox-rotation 1s linear infinite}.tox .tox-toolbar .tox-image-selector,.tox .tox-toolbar__overflow .tox-image-selector,.tox .tox-toolbar__primary .tox-image-selector{margin:2px 0 3px 4px}.tox .tox-image-selector-menu{border:0;border-radius:3px;margin:-4px 0;padding:4px}.tox .tox-image-selector-menu .tox-collection--list .tox-collection__group{border:0;padding:0;margin:-4px 0}.tox .tox-image-selector-menu .tox-collection__item{max-width:48px}.tox .tox-image-selector-menu .tox-collection__item-icon{border:1px solid #000;border-radius:3px;margin-bottom:4px;width:100%}.tox .tox-image-selector-menu .tox-collection__item-icon svg path{stroke:#c00}.tox .tox-image-selector__row{display:flex}.tox .tox-image-selector--remove{align-items:center;display:flex;justify-content:center}.tox .tox-image-selector--remove svg path{stroke:#c00}.tox .tox-image-selector-image-wrapper{width:46px;height:46px;display:flex;align-items:center;justify-content:center}.tox .tox-image-selector-image-img{max-width:100%;max-height:100%}.tox .tox-image-selector__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-image-selector__picker-btn svg{fill:#fff;height:24px;width:24px}.tox .tox-image-selector__picker-btn:hover{background:#4a5562}.tox .tox-context-toolbar{position:absolute;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;z-index:1150;background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color,#fff);border:1px solid #364a62;border-radius:6px;box-shadow:0 2px 8px rgba(0,0,0,.08);padding:8px}.tox .tox-context-toolbar[popover]{inset:auto;margin:0}.tox .tox-context-toolbar .tox-toolbar{display:flex;flex-wrap:nowrap;gap:8px}.tox .tox-context-toolbar .tox-toolbar__group{display:flex;flex-wrap:nowrap;flex-shrink:0;gap:8px;align-items:center;padding:0}.tox .tox-insert-table-picker{background-color:#222f3e;display:flex;flex-wrap:wrap;width:170px}.tox .tox-insert-table-picker>div{border-color:#000;border-style:solid;border-width:0 1px 1px 0;box-sizing:border-box;height:17px;width:17px}.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker{margin:0 -4px}.tox .tox-insert-table-picker .tox-insert-table-picker__selected{background-color:rgba(32,122,183,.5);border-color:rgba(32,122,183,.5)}@media (forced-colors:active){.tox .tox-insert-table-picker .tox-insert-table-picker__selected{border-color:Highlight;filter:contrast(50%)}}.tox .tox-insert-table-picker__label{color:#fff;display:block;font-size:14px;padding:4px;text-align:center;width:100%}.tox:not([dir=rtl]) .tox-insert-table-picker>div:nth-child(10n){border-right:0}.tox[dir=rtl] .tox-insert-table-picker>div:nth-child(10n+1){border-right:0}.tox-mentions__card-common{z-index:1200}.tox.tox-mentions__card{background:#222f3e;border:1px solid #000;display:flex;padding:4px 8px}.tox.tox-mentions__card .tox-mentions__container{display:flex;flex-direction:column;align-self:center;margin:0 4px}.tox .tox-mentions__avatar{width:42px;height:42px;border-radius:50%;margin-right:4px}.tox .tox-mentions__username{font-size:14px;line-height:21px;color:#fff}.tox .tox-mentions__description{font-size:12px;line-height:21px;color:rgba(255,255,255,.5)}.tox .tox-collection__item--active .tox-mentions__description,.tox .tox-collection__item--active .tox-mentions__username{color:inherit}.tox .tox-menu{background-color:#2b3b4e;border:1px solid #000;border-radius:3px;box-shadow:0 4px 8px 0 rgba(42,55,70,.1);display:inline-block;overflow:hidden;vertical-align:top;z-index:1150}.tox .tox-menu.tox-collection.tox-collection--list{padding:0 0}.tox .tox-menu.tox-collection.tox-collection--toolbar{padding:4px}.tox .tox-menu.tox-collection.tox-collection--grid{padding:4px}@media only screen and (min-width:768px){.tox .tox-menu .tox-collection__item-label{overflow-wrap:break-word;word-break:normal}.tox .tox-dialog__popups .tox-menu .tox-collection__item-label{word-break:break-all}}.tox .tox-menu__label blockquote,.tox .tox-menu__label code,.tox .tox-menu__label h1,.tox .tox-menu__label h2,.tox .tox-menu__label h3,.tox .tox-menu__label h4,.tox .tox-menu__label h5,.tox .tox-menu__label h6,.tox .tox-menu__label p{margin:0}.tox .tox-menubar{background: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;background-color:#222f3e;display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;grid-column:1/-1;grid-row:1;padding:0 4px 0 4px}.tox .tox-promotion+.tox-menubar{grid-column:1}@media (max-width:480px){.tox:not(.tox-tinymce-inline) .tox-menubar{flex-wrap:nowrap;min-width:0;min-height:39px;overflow-x:auto;overflow-y:hidden}}.tox .tox-promotion{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;background-color:#222f3e;grid-column:2;grid-row:1;padding-inline-end:8px;padding-inline-start:4px;padding-top:5px}.tox .tox-promotion-link{align-items:unsafe center;background-color:#e8f1f8;border-radius:5px;color:#086be6;cursor:pointer;display:flex;font-size:14px;height:26.6px;padding:4px 8px;white-space:nowrap}.tox .tox-promotion-link:hover{background-color:#b4d7ff}.tox .tox-promotion-link:focus{background-color:#d9edf7}.tox .tox-mbtn{align-items:center;background:#222f3e;border:0;border-radius:3px;box-shadow:none;color:#fff;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:34px;justify-content:center;margin:2px 0 3px 0;outline:0;padding:0 4px;text-transform:none;width:auto}.tox .tox-mbtn[disabled]{background-color:#222f3e;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-mbtn:focus:not(:disabled){background:#4a5562;border:0;box-shadow:none;color:#fff;position:relative;z-index:1}.tox .tox-mbtn:focus:not(:disabled)::after{pointer-events:none;border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-mbtn:focus:not(:disabled)::after{border:2px solid highlight}}.tox .tox-mbtn--active,.tox .tox-mbtn:not(:disabled).tox-mbtn--active:focus{background:#757d87;border:0;box-shadow:none;color:#fff}.tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active){background:#4a5562;border:0;box-shadow:none;color:#fff}.tox .tox-mbtn__select-label{cursor:default;font-weight:400;margin:0 4px}.tox .tox-mbtn[disabled] .tox-mbtn__select-label{cursor:not-allowed}.tox .tox-mbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px;display:none}.tox .tox-notification{border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;display:grid;font-size:14px;font-weight:400;grid-template-columns:minmax(40px,1fr) auto minmax(40px,1fr);margin-left:auto;margin-right:auto;margin-top:4px;opacity:0;padding:4px;transition:transform .1s ease-in,opacity 150ms ease-in;width:max-content}.tox .tox-notification a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification p{font-size:14px;font-weight:400}.tox .tox-notification:focus{border-color:#207ab7;box-shadow:none}.tox .tox-notification--in{opacity:1}.tox .tox-notification--success{background-color:#334840;border-color:#3c5440;color:#fff}.tox .tox-notification--success p{color:#fff}.tox .tox-notification--success a{color:#b5d199}.tox .tox-notification--success a:focus,.tox .tox-notification--success a:hover{color:#82b153;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--success a:focus-visible{border-radius:1px;outline:2px solid #b5d199;outline-offset:2px}.tox .tox-notification--success a:active{color:#689041;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--success svg{fill:#fff}.tox .tox-notification--error{background-color:#442632;border-color:#55212b;color:#fff}.tox .tox-notification--error p{color:#fff}.tox .tox-notification--error a{color:#e68080}.tox .tox-notification--error a:focus,.tox .tox-notification--error a:hover{color:#d42b2b;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--error a:focus-visible{border-radius:1px;outline:2px solid #e68080;outline-offset:2px}.tox .tox-notification--error a:active{color:#a22;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--error svg{fill:#fff}.tox .tox-notification--warn,.tox .tox-notification--warning{background-color:#222f3e;border-color:#000;color:#fff0b3}.tox .tox-notification--warn p,.tox .tox-notification--warning p{color:#fff0b3}.tox .tox-notification--warn a,.tox .tox-notification--warning a{color:#fc0}.tox .tox-notification--warn a:focus,.tox .tox-notification--warn a:hover,.tox .tox-notification--warning a:focus,.tox .tox-notification--warning a:hover{color:#997a00;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--warn a:focus-visible,.tox .tox-notification--warning a:focus-visible{border-radius:1px;outline:2px solid #ffcc00;outline-offset:2px}.tox .tox-notification--warn a:active,.tox .tox-notification--warning a:active{color:#665200;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--warn svg,.tox .tox-notification--warning svg{fill:#fff0b3}.tox .tox-notification--info{background-color:#254161;border-color:#264972;color:#fff}.tox .tox-notification--info p{color:#fff}.tox .tox-notification--info a{color:#83b7f3}.tox .tox-notification--info a:focus,.tox .tox-notification--info a:hover{color:#2681ea;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--info a:focus-visible{border-radius:1px;outline:2px solid #83b7f3;outline-offset:2px}.tox .tox-notification--info a:active{color:#1368c9;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--info svg{fill:#fff}.tox .tox-notification__body{align-self:center;color:#fff;font-size:14px;grid-column-end:3;grid-column-start:2;grid-row-end:2;grid-row-start:1;text-align:center;white-space:normal;word-break:break-all;word-break:break-word}.tox .tox-notification__body>*{margin:0}.tox .tox-notification__body>*+*{margin-top:1rem}.tox .tox-notification__icon{align-self:center;grid-column-end:2;grid-column-start:1;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification__icon svg{display:block}.tox .tox-notification__dismiss{align-self:start;grid-column-end:4;grid-column-start:3;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification .tox-progress-bar{grid-column-end:4;grid-column-start:1;grid-row-end:3;grid-row-start:2;justify-self:center}.tox .tox-notification-container-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-notification-container-dock-fadein{opacity:1;visibility:visible}.tox .tox-notification-container-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-notification-container-dock-transition.tox-notification-container-dock-fadein{transition-delay:0s}.tox .tox-onboarding-overlay{height:100%;background-color:#17202a;position:absolute;top:0;left:0;right:0;z-index:1302;overflow:auto;display:grid;justify-content:center;align-items:center}.tox .tox-onboarding-dialog{max-width:512px;background-color:#222f3e;display:flex;flex-direction:column;box-shadow:0 16px 16px -10px rgba(42,55,70,.15),0 0 40px 1px rgba(42,55,70,.15);border-radius:12px;margin:8px}.tox .tox-onboarding-dialog .tox-onboarding-header{color:#fff;display:flex;justify-content:center;align-items:center;font-size:20px;margin:24px 0 8px}.tox .tox-onboarding-dialog .tox-onboarding-step{display:grid;grid-template-columns:min-content 1fr min-content;align-items:center;margin:0 24px}.tox .tox-onboarding-dialog .tox-onboarding-step:not(:last-child){border-bottom:1px solid #000}.tox .tox-onboarding-dialog .tox-onboarding-step--number{width:24px;aspect-ratio:1/1;border-radius:50%;border:1px solid #00ad0e;display:flex;justify-content:center;align-items:center;font-size:12px;font-weight:700;color:#00ad0e}.tox .tox-onboarding-dialog .tox-onboarding-step--body{padding:24px 0 24px 16px}.tox .tox-onboarding-dialog .tox-onboarding-step--body-header{color:#fff;font-size:14px;font-weight:700;margin-bottom:4px}.tox .tox-onboarding-dialog .tox-onboarding-step--body-details{color:rgba(255,255,255,.5);font-size:14px}.tox .tox-onboarding-dialog .tox-onboarding-step--action{padding-left:24px}.tox .tox-onboarding-dialog .tox-onboarding-footer{background-color:#2b3b4e;display:flex;justify-content:space-between;align-items:center;padding:16px 24px;border-bottom-left-radius:12px;border-bottom-right-radius:12px}.tox .tox-onboarding-dialog .tox-onboarding-footer p{display:flex;align-items:center;justify-content:center;gap:4px;font-size:14px;color:rgba(255,255,255,.5)}.tox .tox-onboarding-dialog svg{width:24px;fill:rgba(255,255,255,0.5)}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin{display:grid;align-items:center;grid-template-columns:min-content 1fr min-content;border-bottom:1px solid #000;padding:24px 0;margin:0 16px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body{margin:0 16px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body .tox-promotion-dialog-plugin-header{color:#fff;font-size:14px;font-weight:700;margin-bottom:4px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body .tox-promotion-dialog-plugin-details{color:rgba(255,255,255,.5);font-size:14px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--icon{display:grid;place-content:center;width:56px;height:56px;line-height:24px;font-size:24px;border-radius:12px;background:linear-gradient(180deg,#2b3b4e 24%,#202d3b 100%);box-shadow:0 1px 1px 0 #222f3e12,0 3px 6px 0 #222f3e06;color:#207ab7}.tox .tox-promotion-dialog--subtitle{margin:16px;color:rgba(255,255,255,.5);font-size:14px}.tox .tox-promotion-dialog--explore{text-align:center;margin:16px;color:rgba(255,255,255,.5);font-size:14px}.tox .tox-promotion-dialog--explore a{color:#207ab7}.tox .tox-promotion-dialog--footer{background-color:#17202a;color:rgba(255,255,255,.5);font-size:12px;text-align:center;padding:16px}.tox .tox-promotion-button{display:flex;align-items:center;height:26.6px;line-height:26.6px;font-size:14px;font-weight:700;background-color:#55367a;color:#c290fb;padding:8px 16px;cursor:pointer;white-space:nowrap;border-radius:5px}.tox .tox-promotion-button:focus{outline:1px solid #C290FB}.tox .tox-onboarding-dialog a,.tox .tox-promotion-dialog--footer a{color:rgba(255,255,255,.5);cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-onboarding-dialog a:focus,.tox .tox-onboarding-dialog a:hover,.tox .tox-promotion-dialog--footer a:focus,.tox .tox-promotion-dialog--footer a:hover{color:#428fc2;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-onboarding-dialog a:focus-visible,.tox .tox-promotion-dialog--footer a:focus-visible{border-radius:1px;outline:2px solid #90bddb;outline-offset:2px}.tox .tox-onboarding-dialog a:active,.tox .tox-promotion-dialog--footer a:active{color:#33739e;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-pop{display:inline-block;position:relative}.tox .tox-pop--resizing{transition:width .1s ease}.tox .tox-pop--resizing .tox-toolbar,.tox .tox-pop--resizing .tox-toolbar__group{flex-wrap:nowrap}.tox .tox-pop--transition{transition:.15s ease;transition-property:left,right,top,bottom}.tox .tox-pop--transition::after,.tox .tox-pop--transition::before{transition:all .15s,visibility 0s,opacity 75ms ease 75ms}.tox .tox-pop__dialog{background-color:#222f3e;border:1px solid #000;border-radius:3px;box-shadow:0 0 2px 0 rgba(42,55,70,.2),0 4px 8px 0 rgba(42,55,70,.15);min-width:0;overflow:hidden}.tox .tox-pop__dialog>:not(.tox-toolbar){margin:4px 4px 4px 8px}.tox .tox-pop__dialog .tox-toolbar{background-color:transparent;margin-bottom:-1px}.tox .tox-pop::after,.tox .tox-pop::before{border-style:solid;content:'';display:block;height:0;opacity:1;position:absolute;width:0}@media (forced-colors:active){.tox .tox-pop::after,.tox .tox-pop::before{content:none}}.tox .tox-pop.tox-pop--inset::after,.tox .tox-pop.tox-pop--inset::before{opacity:0;transition:all 0s .15s,visibility 0s,opacity 75ms ease}.tox .tox-pop.tox-pop--bottom::after,.tox .tox-pop.tox-pop--bottom::before{left:50%;top:100%}.tox .tox-pop.tox-pop--bottom::after{border-color:#222f3e transparent transparent transparent;border-width:8px;margin-left:-8px;margin-top:-1px}.tox .tox-pop.tox-pop--bottom::before{border-color:#000 transparent transparent transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--top::after,.tox .tox-pop.tox-pop--top::before{left:50%;top:0;transform:translateY(-100%)}.tox .tox-pop.tox-pop--top::after{border-color:transparent transparent #222f3e transparent;border-width:8px;margin-left:-8px;margin-top:1px}.tox .tox-pop.tox-pop--top::before{border-color:transparent transparent #000 transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--left::after,.tox .tox-pop.tox-pop--left::before{left:0;top:calc(50% - 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--left::after{border-color:transparent #222f3e transparent transparent;border-width:8px;margin-left:-15px}.tox .tox-pop.tox-pop--left::before{border-color:transparent #000 transparent transparent;border-width:10px;margin-left:-19px}.tox .tox-pop.tox-pop--right::after,.tox .tox-pop.tox-pop--right::before{left:100%;top:calc(50% + 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--right::after{border-color:transparent transparent transparent #222f3e;border-width:8px;margin-left:-1px}.tox .tox-pop.tox-pop--right::before{border-color:transparent transparent transparent #000;border-width:10px;margin-left:-1px}.tox .tox-pop.tox-pop--align-left::after,.tox .tox-pop.tox-pop--align-left::before{left:20px}.tox .tox-pop.tox-pop--align-right::after,.tox .tox-pop.tox-pop--align-right::before{left:calc(100% - 20px)}.tox.tox-edit-focus .tox-sidebar__resize-handle:hover::before{border-left:0 solid transparent}.tox .tox-sidebar-wrap{--tox-private-min-editing-area-width:280px;flex-grow:1;min-height:0}.tox .tox-sidebar-wrap:not(.tox .tox-sidebar-wrap--resizable){display:flex;flex-direction:row}.tox .tox-sidebar-wrap--resizable{display:grid;grid-template-columns:minmax(var(--tox-private-min-editing-area-width),1fr) minmax(0,max-content);grid-template-rows:minmax(0,1fr)}.tox .tox-sidebar{background-color:var(--tox-private-sidebar-background-color,#34485f);display:flex;flex-direction:row;justify-content:flex-end}.tox .tox-sidebar__slider{display:flex;overflow:hidden}.tox .tox-sidebar-wrap--resizable .tox-sidebar__pane-container{width:var(--tox-private-requested-sidebar-width)}.tox .tox-sidebar-wrap--resizable .tox-sidebar--sliding-growing .tox-sidebar__pane-container,.tox .tox-sidebar-wrap--resizable .tox-sidebar--sliding-shrinking .tox-sidebar__pane-container{width:var(--tox-private-resolved-sidebar-width);min-width:var(--tox-private-resolved-sidebar-width)}.tox .tox-sidebar__pane-container{display:flex}.tox .tox-sidebar-wrap--resizable .tox-sidebar__resize-handle{display:block}.tox .tox-sidebar__resize-handle{display:none;position:relative;width:var(--tox-private-sidebar-resize-handle-width,1px);height:100%;cursor:col-resize;background-color:var(--tox-private-separator-color,#000);z-index:1}.tox .tox-sidebar__resize-handle::before{content:'';position:absolute;top:0;bottom:0;width:8px;box-sizing:border-box;border-left:0 solid transparent;transition:border-left-width .15s ease,border-left-color .15s ease}.tox .tox-sidebar__resize-handle:hover::before{border-left:3px solid #207ab7}.tox .tox-sidebar-wrap--resizable .tox-sidebar__pane{width:calc(100% - var(--tox-private-sidebar-resize-handle-width,1px))}.tox .tox-sidebar__pane{display:flex}.tox .tox-sidebar--sliding-closed{opacity:0}.tox .tox-sidebar--sliding-open{opacity:1}.tox .tox-sidebar--sliding-growing,.tox .tox-sidebar--sliding-shrinking{transition:width .5s ease,opacity .5s ease}.tox .tox-sidebar-content{display:flex;flex-direction:column;position:relative;width:100%;height:100%}.tox .tox-sidebar-content__header{align-items:center;display:flex;justify-content:space-between;border-bottom:var(--tox-private-tinymceai-border-width,1px) solid var(--tox-private-neutral-20,#0e141a);padding:var(--tox-private-pad-sm,8px) 12px;background:var(--tox-private-background-color,#222f3e)}.tox .tox-sidebar-content__header .tox-sidebar-content__header-close-button{margin-left:auto}.tox .tox-sidebar-content__actions{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-sidebar-content__title{font-size:var(--tox-private-font-size-lg, 20px);font-weight:var(--tox-private-font-weight-normal,normal);padding:var(--tox-private-pad-sm,8px) 0 var(--tox-private-pad-sm,8px) 0;color:var(--tox-private-text-color,#fff);line-height:28px}.tox .tox-floating-sidebar{--tox-private-floating-sidebar-width:min(380px, 90vw);--tox-private-floating-sidebar-height:80vh;position:fixed;z-index:var(--tox-private-z-index-floatingsidebar,1050);box-shadow:var(--tox-private-floating-sidebar-box-shadow,0 0 40px 1px rgba(42,55,70,.15),0 16px 16px -10px rgba(42,55,70,.15),0 0 0 1px rgba(42,55,70,.15));width:var(--tox-private-floating-sidebar-width);height:var(--tox-private-floating-sidebar-height);background-color:var(--tox-private-floating-sidebar-background-color,#34485f);border-radius:var(--tox-private-panel-border-radius,3px);overflow:hidden}.tox .tox-floating-sidebar:not(.tox .tox-floating-sidebar--open){display:none}.tox .tox-floating-sidebar--open{display:block}.tox .tox-floating-sidebar__content-wrapper{width:100%;height:100%;display:flex;flex-direction:column}.tox .tox-floating-sidebar__header{position:relative}.tox .tox-floating-sidebar .tox-ai__scroll:has(.tox-card-list){background-color:inherit}.tox .tox-ai .tox-expandable-box{margin-bottom:calc(var(--tox-private-pad-md,16px) * .75)}.tox .tox-ai .tox-expandable-box .tox-expandable-box__content{margin:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-md,16px) * .75)}.tox .tox-ai .tox-expandable-box>.tox-button{margin:0 calc(var(--tox-private-pad-md,16px) * .75) var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-expandable-box:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#207ab7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-sidebar-content__header{border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-background-color,#222f3e);padding:calc(var(--tox-private-pad-sm,8px) - var(--tox-private-tinymceai-focus-border-width,2px)) calc(12px - var(--tox-private-tinymceai-focus-border-width,2px));border-bottom:1px solid var(--tox-private-separator-color,#000)}.tox .tox-ai .tox-sidebar-content__header:focus-visible:not(:disabled){border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#207ab7);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-sidebar-content__loader{align-items:center;display:flex;height:100%;justify-content:center;width:100%;z-index:1000}.tox .tox-ai .tox-sidebar-content__title{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin-right:auto}.tox .tox-ai .tox-sidebar-content__title:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#207ab7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-sidebar-content__actions .tox-ai__complete-review{display:flex;align-items:center;gap:6px;padding-top:var(--tox-private-pad-xs,4px);padding-bottom:var(--tox-private-pad-xs,4px);padding-left:var(--tox-private-pad-md,16px);padding-right:var(--tox-private-pad-md,16px)}.tox .tox-ai .tox-menu{width:-webkit-fill-available;width:-moz-available;width:stretch;overflow:visible}.tox .tox-ai .tox-ai__user-prompt{display:flex;flex-direction:column;margin-left:auto;gap:inherit;width:100%}.tox .tox-ai .tox-ai__user-prompt__context{margin-left:auto;display:flex;flex-direction:column;gap:inherit;align-items:end;width:100%}.tox .tox-ai .tox-ai__user-prompt__context .tox-tag{max-width:100%}.tox .tox-ai .tox-ai__user-prompt__text{background-color:var(--tox-private-background-secondary,#2f4055);padding:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-md,16px) * .75);border-radius:var(--tox-private-control-border-radius,3px);max-width:80%;align-self:flex-end;color:var(--tox-private-text-color,#fff);white-space:pre-wrap}.tox .tox-ai .tox-ai__user-prompt__text:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#207ab7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-ai__scroll{overflow-y:auto;overflow-x:hidden;background-color:var(--tox-private-background-color,#222f3e);display:flex;padding:12px;flex-direction:column;align-items:flex-start;gap:12px;flex:1 0 0;align-self:stretch}.tox .tox-ai .tox-ai__scroll:focus-visible:not(:disabled){outline:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#207ab7);outline-offset:calc(-1 * var(--tox-private-tinymceai-focus-border-width,2px));border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-ai__scroll--review:not(:has(.tox-sidebar-content__message-text)){background-color:var(--tox-private-background-secondary,#2f4055)}.tox .tox-ai .tox-ai__spinner svg{fill:var(--tox-private-color-tint,#207ab7)}.tox .tox-ai .tox-ai__response{width:100%;min-width:100%;max-width:100%}.tox .tox-ai .tox-ai__response__header{display:flex;align-items:center;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response__header .tox-icon svg{fill:var(--tox-private-color-tint,#207ab7)}.tox .tox-ai .tox-ai__response-status{display:flex;color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));font-size:var(--tox-private-font-size-sm, 14px);gap:var(--tox-private-pad-xs,4px);line-height:var(--tox-private-tinymceai-response-status-icon-height, max(24px, calc(14px + 4px)));padding-top:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response-status svg{fill:var(--tox-private-text-color-muted,rgba(255,255,255,0.5))}.tox .tox-ai .tox-ai__response-status-icon{border-radius:999px;border:1px solid var(--tox-private-neutral-20,#0e141a);background-color:var(--tox-private-background-color,#222f3e);height:var(--tox-private-tinymceai-response-status-icon-height,max(24px,calc(14px + 4px)));flex:0 0 24px;display:flex;align-items:center;justify-content:center}.tox .tox-ai .tox-ai__response-status-icon .tox-icon{display:contents}.tox .tox-ai .tox-ai__response-status-icon+.tox-ai__response-status-icon{margin-left:calc((var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px)) * -1)}.tox .tox-ai .tox-ai__icon{display:flex;align-items:center;justify-content:center}.tox .tox-ai .tox-ai__response-sources{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response-sources-header{display:block}.tox .tox-ai .tox-ai__response-sources-list{display:flex;align-items:center;gap:var(--tox-private-pad-sm,8px);align-self:stretch;flex-wrap:wrap}.tox .tox-ai .tox-ai__response-sources-list .tox-tag{border:1px solid var(--tox-private-separator-color,#000);background-color:transparent;max-width:32%;max-height:24px;cursor:pointer}.tox .tox-ai .tox-ai__response-sources-list .tox-tag img,.tox .tox-ai .tox-ai__response-sources-list .tox-tag svg{width:16px;height:16px;min-width:16px;min-height:16px;max-width:16px;max-height:16px}.tox .tox-ai .tox-ai__response-content{padding:var(--tox-private-pad-sm,8px) 0;color:var(--tox-private-text-color,#fff);font-feature-settings:'liga' off,'clig' off;font-size:var(--tox-private-font-size-sm, 14px);font-style:normal;font-weight:var(--tox-private-font-weight-normal,normal);line-height:var(--tox-private-line-height, 18px);display:flex;flex-direction:column}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming{position:relative}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming .tox-ai__response-status{color:var(--tox-private-text-color,#fff);font-size:var(--tox-private-font-size-md, 16px);line-height:calc(var(--tox-private-font-size-md, 16px) + 4px)}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming::after{content:'';position:absolute;bottom:0;left:0;right:0;height:min(100px,100%);pointer-events:none;background:linear-gradient(to bottom,transparent 60px,transparent 60px,var(--tox-private-background-color,#222f3e))}.tox .tox-ai .tox-ai-error{border-radius:var(--tox-private-panel-border-radius,3px);border:1px solid var(--tox-private-color-error,#c00);background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#222f3e) r g b / .9) 0,rgba(from var(--tox-private-background-color,#222f3e) r g b / .9) 100%),var(--tox-private-color-error,#c00);padding:var(--tox-private-pad-sm,8px);width:100%;display:flex;gap:var(--tox-private-pad-sm,8px);align-items:center}.tox .tox-ai .tox-ai-error__message{flex:1 0 0}.tox .tox-ai .tox-ai-error__icon{flex:0 0 auto;align-self:flex-start}.tox .tox-ai .tox-ai__footer{padding:calc(12px - var(--tox-private-tinymceai-focus-border-width,2px));gap:var(--tox-private-pad-sm,8px);background-color:var(--tox-private-background-color,#222f3e);display:flex;flex-direction:column;border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-background-color,#222f3e);border-top:1px solid var(--tox-private-separator-color,#000)}.tox .tox-ai .tox-ai__footer:focus-visible:not(:disabled){border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#207ab7);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-ai__context{display:flex;gap:var(--tox-private-pad-sm,8px);flex-wrap:wrap;max-height:calc((2 * (2 * var(--tox-private-pad-xs,4px) + var(--tox-private-base-value,16px))) + var(--tox-private-pad-sm,8px))}.tox .tox-ai .tox-ai__context .tox-tag{max-width:calc((100% - var(--tox-private-pad-sm,8px))/ 2)}.tox .tox-ai .tox-ai__context-more{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px);padding:var(--tox-private-pad-sm,8px);overflow:auto;max-width:var(--tox-private-tinymceai-context-more-max-width,320px)}.tox .tox-ai .tox-ai__context-more .tox-tag{max-width:100%}.tox .tox-ai .tox-ai__stop-generating{display:flex;align-items:center;gap:6px}.tox .tox-ai .tox-ai__footer-actions{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-model-selection-button{display:flex;gap:var(--tox-private-pad-xs,4px)}.tox .tox-ai .tox-ai__footer-note{align-items:center;color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));display:flex;font-size:var(--tox-private-font-size-xs, 12px);height:24px;justify-content:center;letter-spacing:0;padding-top:var(--tox-private-pad-sm,8px);width:100%}.tox .tox-ai .tox-ai__models-menu{max-width:350px}.tox .tox-ai .tox-ai__models-menu .tox-menu{max-height:inherit;padding:var(--tox-private-pad-xs,4px)}.tox .tox-ai .tox-ai__models-menu__item__description{display:flex;flex-direction:column;align-items:start}.tox .tox-ai .tox-ai__models-menu__item__description__title{font-weight:var(--tox-private-font-weight-bold,bold);font-size:var(--tox-private-font-size-sm, 14px);line-height:calc(var(--tox-private-font-size-sm, 14px) * 1.28572);padding-bottom:4px}.tox .tox-ai .tox-ai__models-menu__item__description__content{color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));font-size:var(--tox-private-font-size-xs, 12px);line-height:calc(var(--tox-private-font-size-xs, 12px) * 1.33333)}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content{color:inherit}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content .tox-ai__models-menu__item__description__ability{color:var(--tox-private-color-white,#fff)}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content .tox-ai__models-menu__item__description__content_body{color:rgba(from var(--tox-private-color-white,#fff) r g b / .7)}.tox .tox-ai .tox-ai__models-menu__item__description__ability{color:var(--tox-private-text-color,#fff);padding-bottom:4px}.tox .tox-ai .tox-ai__models-menu__item__description__ability__enabled{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-ai .tox-ai-chat-history-list{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px);padding-top:var(--tox-private-pad-xs,4px);width:100%}.tox .tox-ai .tox-ai-chat-history-list .tox-collection__group{gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-chat-history-list__title{color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:18px;letter-spacing:1px}.tox .tox-ai .tox-ai-chat-history-list__item{display:flex;padding:12px;gap:var(--tox-private-pad-sm,8px);border-radius:var(--tox-private-control-border-radius,3px);cursor:pointer}.tox .tox-ai .tox-ai-chat-history-list__item.tox-ai-chat-history-list__item--active{background-color:var(--tox-private-background-secondary,#2f4055)}.tox .tox-ai .tox-ai-chat-history-list__item:focus,.tox .tox-ai .tox-ai-chat-history-list__item:focus-visible{background-color:var(--tox-private-background-secondary,#2f4055)}.tox .tox-ai .tox-ai-chat-history-list__item.tox-ai-chat-history-list__item-edit-title{background-color:var(--tox-private-background-secondary,#2f4055);flex-direction:column}.tox .tox-ai .tox-ai-chat-history-list__item-edit-actions{display:flex;justify-content:flex-end;width:100%;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-chat-history-list__item-edit-actions .tox-ai__spinner svg{fill:rgba(from var(--tox-private-color-white,#fff) r g b / 0.5)}.tox .tox-ai .tox-ai-chat-history-list__item-content{display:flex;flex-direction:column;margin-right:auto;overflow:hidden}.tox .tox-ai .tox-ai-chat-history-list__item-actions{display:flex;align-items:center;min-width:calc(24px + (var(--tox-private-pad-xs,4px) + 1px)*2)}.tox .tox-ai .tox-ai-chat-history-list__item-content-title{color:var(--tox-private-text-color,#fff);font-size:var(--tox-private-font-size-base, 16px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:var(--tox-private-font-size-lg, 20px);overflow:hidden;text-overflow:ellipsis}.tox .tox-ai .tox-ai-chat-history-list__item-content-date{color:var(--tox-private-text-color,#fff);font-size:var(--tox-private-font-size-xs, 12px);line-height:var(--tox-private-line-height-base, 1.3)}.tox .tox-ai .tox-sidebar-content__message{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;gap:var(--tox-private-pad-md,16px);width:100%}.tox .tox-ai .tox-sidebar-content__message-text{text-align:center;color:var(--tox-private-text-color,#fff);font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:20px}.tox .tox-ai .tox-sidebar-content__message-action{display:flex;justify-content:center;align-items:center;align-self:stretch}.tox .tox-ai .tox-ai-chat-action-button{line-height:var(--tox-private-base-value, 16px);font-size:var(--tox-private-font-size-xs, 12px);padding:6px var(--tox-private-pad-sm,8px);margin:var(--tox-private-pad-xs,4px) 0;font-weight:var(--tox-private-font-weight-normal,normal);width:min-content}.tox .tox-ai .tox-ai-chat-action-button .tox-icon{display:inline-flex;align-items:center;justify-content:center;height:16px;width:16px;overflow:hidden}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg{display:block;flex:none;fill:var(--tox-private-tinymceai-chat-action-button-icon-color,#fff)}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='24'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='24px']{transform:scale(calc(16 / 24))}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='20'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='20px']{transform:scale(calc(16 / 20))}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='18'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='18px']{transform:scale(calc(16 / 18))}.tox .tox-ai .tox-ai-chat-action-button:not(:has(+ .tox-ai-chat-action-button)){margin-bottom:var(--tox-private-pad-sm,8px)}.tox .tox-ai-removed-content{font-style:italic;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));line-height:var(--tox-private-line-height-base, 1.3);margin:0 1em}.tox .tox-ai-removed-content::before{content:"⊘ ";font-style:normal;font-size:calc(var(--tox-private-line-height-base, 1.3) * 1em)}.tox .tox-ai-html-content{font-size:var(--tox-private-font-size-md, 16px);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color,#fff);line-height:var(--tox-private-line-height-base, 1.3);overflow-x:auto}.tox .tox-ai-html-content:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#207ab7);outline-offset:var(--tox-private-tinymceai-html-content-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai-html-content h1{font-size:1.6em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.67em 0}.tox .tox-ai-html-content h2{font-size:1.4em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.83em 0}.tox .tox-ai-html-content h3{font-size:1.2em;font-weight:var(--tox-private-font-weight-bold,bold);margin:1em 0}.tox .tox-ai-html-content h4,.tox .tox-ai-html-content h5,.tox .tox-ai-html-content h6{font-size:1em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.33em 0}.tox .tox-ai-html-content p{margin:var(--tox-private-pad-sm,8px) 0}.tox .tox-ai-html-content ol,.tox .tox-ai-html-content ul{padding-left:2em;margin:1em 0}.tox .tox-ai-html-content li:has(input:first-child){list-style-type:none}.tox .tox-ai-html-content a{color:var(--tox-private-color-tint,#207ab7);-webkit-text-decoration:underline;text-decoration:underline;cursor:pointer}.tox .tox-ai-html-content a:link:active,.tox .tox-ai-html-content a:visited:active{color:#8864ad}.tox .tox-ai-html-content blockquote{border-left:2px solid var(--tox-private-separator-color,#000);margin-left:1.5rem;padding-left:1rem;font-style:italic}.tox .tox-ai-html-content code{font-family:ui-monospace,monospace;background:var(--tox-private-separator-color,#000);padding:.1em .2em;border-radius:4px}.tox .tox-ai-html-content pre code{display:block;font-family:ui-monospace,monospace;background:var(--tox-private-separator-color,#000);border-radius:4px;white-space:pre-wrap;margin:1em 0;overflow-wrap:break-word}.tox .tox-ai-html-content hr{border:none;border-top:1px solid var(--tox-private-border-color,#000)}.tox .tox-ai-html-content table{width:100%;border-collapse:collapse;margin:.5em 0;font-size:.95em;line-height:1.45}.tox .tox-ai-html-content table:not([cellpadding]) td,.tox .tox-ai-html-content table:not([cellpadding]) th{padding:.4rem}.tox .tox-ai-html-content td,.tox .tox-ai-html-content th{border:1px solid var(--tox-private-border-color,#000)}.tox .tox-ai-html-content th{font-weight:var(--tox-private-font-weight-bold,bold);text-align:left;white-space:nowrap}.tox .tox-ai-html-content b,.tox .tox-ai-html-content strong{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-ai-html-content em,.tox .tox-ai-html-content i{font-style:italic}.tox .tox-ai-html-content del{-webkit-text-decoration:line-through;text-decoration:line-through}.tox .tox-ai-html-content sub,.tox .tox-ai-html-content sup{font-size:.75em;line-height:0;vertical-align:baseline}.tox .tox-ai-html-content sup{vertical-align:super}.tox .tox-ai-html-content sub{vertical-align:sub}.tox .tox-ai-html-content mark{background:hsl(from var(--tox-private-color-active,#ffcf30) h s l / 30%);padding:.05em .2em;border-radius:2px}.tox .tox-ai-html-content small{font-size:.85em}.tox .tox-ai-html-content kbd{font-family:ui-monospace,monospace;font-size:.85em;padding:.15em .4em;border-radius:4px;border:1px solid var(--tox-private-border-color,#000);background:var(--tox-private-separator-color,#000);box-shadow:inset 0 -1px 0 var(--tox-private-border-color,#000)}.tox .tox-ai-html-content img{max-width:100%;height:auto;vertical-align:middle;border-radius:4px}.tox .tox-expandable-box__content .tox-ai-html-content+.tox-ai-html-content::before,.tox .tox-expandable-box__content .tox-ai-html-content:has(+ .tox-ai-removed-content)::after,.tox .tox-expandable-box__content .tox-ai-removed-content+.tox-ai-html-content::before{content:"〰〰";color:var(--tox-private-text-color-muted,rgba(255,255,255,.5));text-align:center;width:100%;display:block}.tox .tox-diff-preview{display:contents}.tox .tox-diff-preview__host{height:100%;position:relative;flex:1 1 0}.tox .tox-diff-preview__host:empty{pointer-events:none}.tox .tox-diff-preview__layer{display:flex;flex-direction:column;inset:0;position:absolute}.tox .tox-diff-preview__layer--loading .tox-diff-preview__frame{pointer-events:none;visibility:hidden}.tox .tox-diff-preview__viewport{flex:1 1 auto;min-height:0;position:relative}.tox .tox-diff-preview__frame{background-color:#fff;border:0;height:100%;min-height:0;position:relative;width:100%}.tox .tox-diff-preview__footer{background-color:var(--tox-private-background-color,#222f3e);border-top:1px solid #364a62;flex:0 0 auto}.tox .tox-diff-preview__toolbar{display:flex;gap:8px;justify-content:flex-end;padding:12px 16px}.tox .tox-ai__preview-overlay{position:absolute;inset:0;width:100%;height:100%;font-size:14px}.tox .tox-ai__preview-overlay--hidden{visibility:hidden}.tox .tox-ai__preview-overlay--pass-through{pointer-events:none}.tox .tox-ai__preview-overlay--dim{background:rgba(42,55,70,.2)}.tox .tox-ai__preview-overlay--centered{display:flex;align-items:center;justify-content:center}.tox .tox-ai__preview-overlay--clipped{overflow:clip}.tox .tox-tinymceai-previewloader{display:flex;align-items:center;gap:var(--tox-private-pad-md,16px);padding:var(--tox-private-pad-sm,8px);border-radius:var(--tox-private-panel-border-radius,3px);box-shadow:var(--tox-private-ai-preview-loader-box-shadow,0 0 40px 1px rgba(42,55,70,.15),0 16px 16px -10px rgba(42,55,70,.15));background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color,#fff);pointer-events:auto}.tox .tox-tinymceai-previewloader__content{display:flex;align-items:center;justify-content:center;padding:0 var(--tox-private-pad-xs,4px);gap:var(--tox-private-pad-sm,8px)}.tox .tox-selector{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;display:inline-block;height:10px;position:absolute;width:10px}.tox.tox-platform-touch .tox-selector{height:12px;width:12px}.tox .tox-skeleton .tox-skeleton__line{height:16px;width:100%;background:linear-gradient(to right,rgba(240,240,240,.5) 8%,rgba(240,240,240,.7) 18%,rgba(240,240,240,.5) 33%);animation:wave 2s infinite ease-out}.tox .tox-skeleton .tox-skeleton__circle{height:36px;width:36px;margin-right:8px;border-radius:100%;background:linear-gradient(to right,rgba(240,240,240,.5) 8%,rgba(240,240,240,.7) 18%,rgba(240,240,240,.5) 33%);animation:wave 2s infinite ease-out}@keyframes wave{0%{background-position:-268px 0}100%{background-position:268px 0}}.tox .tox-slider{align-items:center;display:flex;flex:1;height:24px;justify-content:center;position:relative}.tox .tox-slider__rail{background-color:transparent;border:1px solid #000;border-radius:3px;height:10px;min-width:120px;width:100%}.tox .tox-slider__handle{background-color:#207ab7;border:2px solid #185d8c;border-radius:3px;box-shadow:none;height:24px;left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%);width:14px}.tox .tox-form__controls-h-stack>.tox-slider:not(:first-of-type){margin-inline-start:8px}.tox .tox-form__controls-h-stack>.tox-form__group+.tox-slider{margin-inline-start:32px}.tox .tox-form__controls-h-stack>.tox-slider+.tox-form__group{margin-inline-start:32px}.tox .tox-toolbar-slider{align-items:center;display:inline-flex;height:16px}.tox .tox-toolbar-slider__input{appearance:none;background:#000;border-radius:16px;width:130px;height:2px}.tox .tox-toolbar-slider__input::-webkit-slider-runnable-track{background-color:transparent;height:16px}.tox .tox-toolbar-slider__input::-moz-range-track{background-color:transparent;height:16px}.tox .tox-toolbar-slider__input::-webkit-slider-thumb{-webkit-appearance:none;background-color:#207ab7;border-radius:16px;border:none;height:16px;width:16px}.tox .tox-toolbar-slider__input::-moz-range-thumb{appearance:none;background-color:#207ab7;border-radius:16px;border:none;height:16px;width:16px}.tox .tox-toolbar-slider__input:focus-visible{outline:0}.tox .tox-toolbar-slider__input:focus::-webkit-slider-thumb{background-color:#1c6ca1;box-shadow:inset 0 0 0 1px #fff,0 0 0 2px #207ab7}.tox .tox-toolbar-slider__input:focus::-moz-range-thumb{background-color:#1c6ca1;box-shadow:inset 0 0 0 1px #fff,0 0 0 2px #207ab7}.tox .tox-toolbar-slider__input:hover::-webkit-slider-thumb{background-color:#1c6ca1}.tox .tox-toolbar-slider__input:hover::-moz-range-thumb{background-color:#1c6ca1}.tox .tox-toolbar-slider__input:active::-webkit-slider-thumb{background-color:#185d8c}.tox .tox-toolbar-slider__input:active::-moz-range-thumb{background-color:#185d8c}.tox .tox-toolbar-slider__input[disabled]::-webkit-slider-thumb{background-color:rgba(255,255,255,.5)}.tox .tox-toolbar-slider__input[disabled]::-moz-range-thumb{background-color:rgba(255,255,255,.5)}.tox .tox-source-code{overflow:auto}.tox .tox-spinner{display:flex}.tox .tox-spinner>div{animation:tam-bouncing-dots 1.5s ease-in-out 0s infinite both;background-color:rgba(255,255,255,.5);border-radius:100%;height:8px;width:8px}.tox .tox-spinner>div:first-child{animation-delay:-.32s}.tox .tox-spinner>div:nth-child(2){animation-delay:-.16s}@keyframes tam-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox:not([dir=rtl]) .tox-spinner>div:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-spinner>div:not(:first-child){margin-right:4px}.tox .tox-ai__spinner{--tox-private-spinner-color:var(--tox-private-color-tint, #207ab7);--tox-private-spinner-size:24px;--tox-private-spinner-circle-width:3px;--tox-private-spinner-dot-size:6px;width:var(--tox-private-spinner-size);aspect-ratio:1/1}.tox .tox-ai__spinner--small{--tox-private-spinner-size:16px;--tox-private-spinner-circle-width:2px;--tox-private-spinner-dot-size:4px}.tox .tox-ai__spinner--circle{animation:tox-rotation 1s linear infinite;border-radius:50%;background:conic-gradient(var(--tox-private-spinner-color) 0 calc(360deg - 30deg),transparent calc(360deg - 30deg) 100%);mask:radial-gradient(calc((var(--tox-private-spinner-size) - var(--tox-private-spinner-circle-width) * 2)/ 2),#0000 98%,#000)}.tox .tox-ai__spinner--dots{display:flex;align-items:center;justify-content:center;gap:1px}.tox .tox-ai__spinner--dots>div{animation:tox-bouncing-dots 1.5s ease-in-out 0s infinite both;aspect-ratio:1/1;width:var(--tox-private-spinner-dot-size);background-color:var(--tox-private-spinner-color);border-radius:100%}.tox .tox-ai__spinner--dots>div:first-child{animation-delay:-.32s}.tox .tox-ai__spinner--dots>div:nth-child(2){animation-delay:-.16s}.tox .tox-tinymceai__annotation--added,.tox .tox-tinymceai__annotation--modified,.tox .tox-tinymceai__annotation--removed{padding-block:calc((1lh - 1.1em)/ 2);-webkit-text-decoration:none;text-decoration:none;background-repeat:no-repeat;text-decoration-thickness:max(1px,0.07em)}.tox .tox-tinymceai__annotation--added__highlight{background-position:bottom;background-image:linear-gradient(rgba(120,171,70,.2) calc(100% - 2px),#78ab46 calc(100% - 2px))}.tox .tox-tinymceai__annotation--added__selected{background-image:none;background-color:rgba(120,171,70,.2);box-shadow:0 2px 0 0 #207ab7,0 -2px 0 0 #207ab7}.tox .tox-tinymceai__annotation--modified__highlight{background-position:bottom;background-image:linear-gradient(rgba(32,122,183,.2) calc(100% - 2px),#207ab7 calc(100% - 2px))}.tox .tox-tinymceai__annotation--modified__selected{background-image:none;background-color:rgba(32,122,183,.2);box-shadow:0 2px 0 0 #207ab7,0 -2px 0 0 #207ab7}.tox .tox-tinymceai__annotation--removed__highlight{-webkit-text-decoration:line-through;text-decoration:line-through;background-position:bottom;background-image:linear-gradient(rgba(204,0,0,.2) calc(100% - 2px),#c00 calc(100% - 2px))}.tox .tox-tinymceai__annotation--removed__selected{-webkit-text-decoration:line-through;text-decoration:line-through;background-image:none;background-color:rgba(204,0,0,.2);box-shadow:0 2px 0 0 #207ab7,0 -2px 0 0 #207ab7}.tox .mce-object.tox-tinymceai__annotation--added,.tox .mce-object.tox-tinymceai__annotation--modified,.tox .mce-object.tox-tinymceai__annotation--removed,.tox .mce-preview-object.tox-tinymceai__annotation--added,.tox .mce-preview-object.tox-tinymceai__annotation--modified,.tox .mce-preview-object.tox-tinymceai__annotation--removed,.tox iframe.tox-tinymceai__annotation--added,.tox iframe.tox-tinymceai__annotation--modified,.tox iframe.tox-tinymceai__annotation--removed,.tox img.tox-tinymceai__annotation--added,.tox img.tox-tinymceai__annotation--modified,.tox img.tox-tinymceai__annotation--removed,.tox video.tox-tinymceai__annotation--added,.tox video.tox-tinymceai__annotation--modified,.tox video.tox-tinymceai__annotation--removed{padding-block:0;vertical-align:top}.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object),.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object),.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object){padding-block:0}.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) video,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) video,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) video{vertical-align:top}.tox del.tox-tinymceai__annotation--added__selected,.tox ins.tox-tinymceai__annotation--added__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#207ab7 3px,rgba(120,171,70,.2) 3px,rgba(120,171,70,.2) calc(100% - 3px),#207ab7 calc(100% - 3px))}.tox del.tox-tinymceai__annotation--modified__selected,.tox ins.tox-tinymceai__annotation--modified__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#207ab7 3px,rgba(32,122,183,.2) 3px,rgba(32,122,183,.2) calc(100% - 3px),#207ab7 calc(100% - 3px))}.tox del.tox-tinymceai__annotation--removed__selected,.tox ins.tox-tinymceai__annotation--removed__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#207ab7 3px,rgba(204,0,0,.2) 3px,rgba(204,0,0,.2) calc(100% - 3px),#207ab7 calc(100% - 3px))}.tox .tox-tinymceai__annotation--added.tox-tinymceai__annotation--added__hidden,.tox .tox-tinymceai__annotation--modified.tox-tinymceai__annotation--modified__hidden,.tox .tox-tinymceai__annotation--removed.tox-tinymceai__annotation--removed__hidden{display:none;-webkit-text-decoration:none;text-decoration:none}.tox :has(> div > iframe).tox-tinymceai__annotation--added,.tox :has(> div > iframe).tox-tinymceai__annotation--modified,.tox :has(> div > iframe).tox-tinymceai__annotation--removed{padding:7px;margin:5px}.tox iframe.tox-tinymceai__annotation--added__highlight,.tox img.tox-tinymceai__annotation--added__highlight,.tox video.tox-tinymceai__annotation--added__highlight{background-color:#334840;background-image:none;border:2px solid #78ab46;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--added__selected,.tox img.tox-tinymceai__annotation--added__selected,.tox video.tox-tinymceai__annotation--added__selected{background-color:#334840;background-image:none;border:2px solid #78ab46;padding:0;vertical-align:top;border-color:#334840;outline:2px solid #207ab7}.tox iframe.tox-tinymceai__annotation--modified__highlight,.tox img.tox-tinymceai__annotation--modified__highlight,.tox video.tox-tinymceai__annotation--modified__highlight{background-color:#223e56;background-image:none;border:2px solid #207ab7;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--modified__selected,.tox img.tox-tinymceai__annotation--modified__selected,.tox video.tox-tinymceai__annotation--modified__selected{background-color:#223e56;background-image:none;border:2px solid #207ab7;padding:0;vertical-align:top;border-color:#223e56;outline:2px solid #207ab7}.tox iframe.tox-tinymceai__annotation--removed__highlight,.tox img.tox-tinymceai__annotation--removed__highlight,.tox video.tox-tinymceai__annotation--removed__highlight{background-color:#442632;background-image:none;border:2px solid #c00;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--removed__selected,.tox img.tox-tinymceai__annotation--removed__selected,.tox video.tox-tinymceai__annotation--removed__selected{background-color:#442632;background-image:none;border:2px solid #c00;padding:0;vertical-align:top;border-color:#442632;outline:2px solid #207ab7}.tox .tox-tinymceai__annotation--removed__highlight iframe,.tox .tox-tinymceai__annotation--removed__highlight img,.tox .tox-tinymceai__annotation--removed__highlight video,.tox .tox-tinymceai__annotation--removed__selected iframe,.tox .tox-tinymceai__annotation--removed__selected img,.tox .tox-tinymceai__annotation--removed__selected video{background-color:#442632;background-image:none;border:2px solid #c00;padding:0;vertical-align:top}.tox .tox-tinymceai__annotation--removed__selected iframe,.tox .tox-tinymceai__annotation--removed__selected img,.tox .tox-tinymceai__annotation--removed__selected video{border-color:#442632;outline:2px solid #207ab7}.tox div.tox-tinymceai__annotation:has(> hr){background-size:auto;padding:.25em}.tox div.tox-tinymceai__annotation--removed__highlight>hr{border-color:rgba(0,0,0,.2)}.tox div.tox-tinymceai__annotation--added__highlight>hr{border-color:rgba(0,0,0,.2)}.tox .tox-tinymceai__deleted-media-overlay{inset:0;overflow:hidden;pointer-events:none;position:absolute;z-index:11}.tox .tox-tinymceai__deleted-media-wash{fill:#222f3e;fill-opacity:0.4}.tox .tox-tinymceai__deleted-media-mark{stroke:#c00}.tox .tox-tinymceai__deleted-media-halo{stroke:#fff}.tox .mce-pagebreak.tox-tinymceai__annotation--added__selected,.tox .mce-pagebreak.tox-tinymceai__annotation--modified__selected,.tox .mce-pagebreak.tox-tinymceai__annotation--removed__selected{border:1px dashed #aaa;box-shadow:none;background-image:none}.tox .mce-pagebreak.tox-tinymceai__annotation--added__highlight,.tox .mce-pagebreak.tox-tinymceai__annotation--modified__highlight,.tox .mce-pagebreak.tox-tinymceai__annotation--removed__highlight{padding:0}.tox .tox-tinymceai__diff-focus-overlay{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:10}.tox .tox-tinymceai__diff-focus-overlay-dim{fill:rgba(42,55,70,0.2)}.tox .tox-ai__scroll:has(.tox-card-group){padding-top:0}.tox .tox-ai__scroll:has(.tox-card-group) .tox-ai__review-sidebar-container .tox-card-list{gap:0}.tox .tox-ai__scroll .tox-ai__review-sidebar-container{scrollbar-gutter:stable;width:100%;height:100%;display:flex;flex-direction:column;gap:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-card-list{gap:8px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-card-group__title{margin-inline:-12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-initializing{padding:var(--tox-private-pad-md,16px)}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-description{padding-bottom:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));font-size:var(--tox-private-font-size-sm, 14px)}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-choose-container{padding-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-custom-input{margin-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-custom-actions{display:flex;gap:8px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container{margin-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container button.tox-ai__review-input-button{width:100%;background-color:var(--tox-private-background-color,#222f3e);display:flex;justify-content:space-between;align-items:center;border:1px solid #000;border-radius:3px;box-sizing:border-box}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container .tox-ai__review-dropdown-content{width:anchor-size(width)}.tox .tox-statusbar{align-items:center;background-color:#222f3e;border-top:1px solid #000;color:#fff;display:flex;flex:0 0 auto;font-size:12px;font-weight:400;height:18px;overflow:hidden;padding:0 8px;position:relative;text-transform:uppercase}.tox .tox-statusbar__path{display:flex;flex:1 1 auto;text-overflow:ellipsis;white-space:nowrap}.tox .tox-statusbar__right-container{display:flex;justify-content:flex-end;white-space:nowrap}.tox .tox-statusbar__help-text{text-align:center}.tox .tox-statusbar__text-container{align-items:flex-start;display:flex;flex:1 1 auto;height:16px;justify-content:space-between}@media only screen and (min-width:768px){.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__help-text,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__path,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__right-container{flex:0 0 calc(100% / 3)}}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-end{justify-content:flex-end}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-start{justify-content:flex-start}.tox .tox-statusbar__text-container.tox-statusbar__text-container--space-around{justify-content:space-around}.tox .tox-statusbar__path>*{display:inline;white-space:nowrap}.tox .tox-statusbar__wordcount{flex:0 0 auto;margin-left:1ch}@media only screen and (max-width:767px){.tox .tox-statusbar__text-container .tox-statusbar__help-text{display:none}.tox .tox-statusbar__text-container .tox-statusbar__help-text:only-child{display:block}}.tox .tox-statusbar a,.tox .tox-statusbar__path-item,.tox .tox-statusbar__wordcount{color:#fff;position:relative;-webkit-text-decoration:none;text-decoration:none}.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]){color:#fff;cursor:pointer}.tox .tox-statusbar a:focus-visible::after,.tox .tox-statusbar__path-item:focus-visible::after,.tox .tox-statusbar__wordcount:focus-visible::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-statusbar a:focus-visible::after,.tox .tox-statusbar__path-item:focus-visible::after,.tox .tox-statusbar__wordcount:focus-visible::after{border:2px solid highlight}}.tox .tox-statusbar__branding svg{fill:rgba(255,255,255,0.8);height:1em;margin-left:.3em;width:auto}@media (forced-colors:active){.tox .tox-statusbar__branding svg{fill:currentColor}}.tox .tox-statusbar__branding a{align-items:center;display:inline-flex}.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg,.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg{fill:#fff}.tox .tox-statusbar__resize-cursor-default{cursor:ns-resize}.tox .tox-statusbar__resize-cursor-both{cursor:nwse-resize}.tox .tox-statusbar__resize-handle{align-items:flex-end;align-self:stretch;display:flex;flex:0 0 auto;justify-content:flex-end;margin-bottom:3px;margin-left:4px;margin-right:calc(3px - 8px);margin-top:3px;padding-bottom:0;padding-left:0;padding-right:0;position:relative}.tox .tox-statusbar__resize-handle svg{display:block;fill:rgba(255,255,255,0.5)}.tox .tox-statusbar__resize-handle:focus svg,.tox .tox-statusbar__resize-handle:hover svg{fill:#fff}.tox .tox-statusbar__resize-handle:focus-visible{background-color:transparent;border-radius:1px 1px -4px 1px;box-shadow:0 0 0 2px transparent}.tox .tox-statusbar__resize-handle:focus-visible::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-statusbar__resize-handle:focus-visible::after{border:2px solid highlight}}.tox .tox-statusbar__resize-handle:only-child{margin-left:auto}.tox:not([dir=rtl]) .tox-statusbar__path>*{margin-right:4px}.tox:not([dir=rtl]) .tox-statusbar__branding{margin-left:2ch}.tox[dir=rtl] .tox-statusbar{flex-direction:row-reverse}.tox[dir=rtl] .tox-statusbar__path>*{margin-left:4px}.tox[dir=rtl] .tox-statusbar__branding svg{margin-left:0;margin-right:.3em}.tox a.tox-tag{cursor:pointer}.tox .tox-tag{width:fit-content;box-sizing:border-box;display:flex;padding:var(--tox-private-pad-xs,4px) 6px;position:relative;align-items:center;gap:var(--tox-private-pad-xs,4px);border-radius:3px;background:hsl(from var(--tox-private-color-tint,#207ab7) h s l / 10%);line-height:var(--tox-private-base-value, 16px);font-size:var(--tox-private-font-size-xs, 12px)}.tox .tox-tag::before{border-radius:var(--tox-private-control-border-radius,3px);bottom:calc(-1 * var(--tox-private-tag-border-width,1px));box-shadow:var(--tox-private-tag-focus-outline,inset 0 0 0 1px #fff,0 0 0 2px #207ab7);content:'';left:calc(-1 * var(--tox-private-tag-border-width,1px));opacity:0;pointer-events:none;position:absolute;right:calc(-1 * var(--tox-private-tag-border-width,1px));top:calc(-1 * var(--tox-private-tag-border-width,1px))}.tox .tox-tag:focus:not(:disabled)::before{opacity:1}.tox .tox-tag>*{flex-shrink:0}.tox .tox-tag .tox-icon{height:var(--tox-private-base-value,16px);fill:var(--tox-private-text-color,#fff)}.tox .tox-tag .tox-tag__label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;flex-shrink:1;color:var(--tox-private-text-color,#fff)}.tox .tox-tag .tox-tag__close{height:var(--tox-private-base-value,16px)}.tox .tox-tag .tox-tag__close .tox-button.tox-button--icon{border:0;padding:0;color:var(--tox-private-text-color-muted,rgba(255,255,255,.5))}.tox .tox-tag .tox-tag__close .tox-button.tox-button--icon::before{box-shadow:none}.tox .tox-throbber{z-index:1299}.tox .tox-throbber__busy-spinner{align-items:center;background-color:rgba(34,47,62,.6);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.tox .tox-segmented-control{display:inline-flex;position:relative;border:none;border-radius:var(--tox-private-control-border-radius,3px);box-shadow:inset 0 0 0 1px var(--tox-private-segmented-control-border-color,#364a62);overflow:hidden;padding:var(--tox-private-pad-xs,4px);background-color:var(--tox-private-background-color,#222f3e)}.tox .tox-segmented-control__segment{flex:1;padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-sm,8px);cursor:pointer;background:0 0;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:16px;border:1px solid transparent;border-radius:calc(var(--tox-private-control-border-radius,3px) - 1px);text-align:center;white-space:nowrap;display:inline-block;vertical-align:middle;color:var(--tox-private-segmented-control-text-color,#fff)}.tox .tox-segmented-control__segment--active{border-color:var(--tox-private-segmented-control-active-border-color,#207ab7);color:var(--tox-private-segmented-control-active-text-color,#207ab7);background-color:var(--tox-private-segmented-control-active-bg-color,rgba(32,122,183,.1))}.tox .tox-segmented-control:not(.tox-segmented-control--disabled) .tox-segmented-control__segment{transition:all .2s}.tox .tox-segmented-control.tox-segmented-control--disabled .tox-segmented-control__segment{opacity:.5;cursor:not-allowed;pointer-events:none}.tox .tox-segmented-control__segment:focus{outline:2px solid var(--tox-private-color-tint,#207ab7);outline-offset:2px}.tox .tox-segmented-control__segment:focus:not(:focus-visible){outline:0}.tox .tox-toggle{display:flex;align-items:center;gap:var(--tox-private-pad-xs,4px);padding:var(--tox-private-pad-xs,4px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:var(--tox-private-control-line-height, 24px);white-space:nowrap;background-color:var(--tox-private-background-color,#222f3e);color:var(--tox-private-text-color,#fff)}.tox .tox-toggle input{position:absolute;opacity:0;width:0;height:0}.tox .tox-toggle__slider{position:relative;cursor:pointer;box-sizing:border-box;transition:.4s;border-radius:34px;width:28px;height:16px;background-color:var(--tox-private-slider-background-color,#222f3e);border:1px solid var(--tox-private-slider-border-color,rgba(255,255,255,.15))}.tox .tox-toggle__slider::before{position:absolute;content:"";height:12px;width:12px;left:1px;bottom:1px;transition:.4s;border-radius:50%;background-color:var(--tox-private-slider-handle-background-color,#fff)}.tox input:checked+.tox-toggle__slider{background-color:var(--tox-private-slider-checked-background-color,#207ab7);border:1px solid var(--tox-private-slider-checked-border-color,#207ab7)}.tox input:focus+.tox-toggle__slider{box-shadow:0 0 0 1px var(--tox-private-color-white,#fff),0 0 0 2px var(--tox-private-color-tint,#207ab7)}.tox input:checked+.tox-toggle__slider::before{transform:translateX(12px);background-color:var(--tox-private-slider-checked-handle-background-color,#fff)}.tox input:disabled+.tox-toggle__slider::before{opacity:50%}.tox .tox-tbtn{align-items:center;background:#222f3e;border:0;border-radius:3px;box-shadow:none;color:#fff;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:34px;justify-content:center;margin:3px 0 2px 0;outline:0;padding:0;text-transform:none;width:34px}.tox .tox-tbtn .tox-tbtn__icon-wrap{pointer-events:none}@media (forced-colors:active){.tox .tox-tbtn.tox-tbtn:hover,.tox .tox-tbtn:hover{outline:1px dashed currentColor}.tox .tox-tbtn.tox-tbtn--active,.tox .tox-tbtn.tox-tbtn--enabled,.tox .tox-tbtn.tox-tbtn--enabled:focus,.tox .tox-tbtn.tox-tbtn--enabled:hover,.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){outline:1px solid currentColor;position:relative}}.tox .tox-tbtn svg{display:block;fill:#fff}@media (forced-colors:active){.tox .tox-tbtn svg{fill:currentColor!important}.tox .tox-tbtn svg.tox-tbtn--enabled,.tox .tox-tbtn svg:focus:not(.tox-tbtn--disabled){fill:currentColor!important}.tox .tox-tbtn svg .tox-tbtn:disabled,.tox .tox-tbtn svg .tox-tbtn:disabled:hover,.tox .tox-tbtn svg.tox-tbtn--disabled,.tox .tox-tbtn svg.tox-tbtn--disabled:hover{filter:contrast(0%)}}.tox .tox-tbtn.tox-tbtn-more{padding-left:5px;padding-right:5px;width:inherit}.tox .tox-tbtn:focus{background:#4a5562;border:0;box-shadow:none;position:relative;z-index:1}.tox .tox-tbtn:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-tbtn:focus::after{border:2px solid highlight}}.tox .tox-tbtn:hover{background:#4a5562;border:0;box-shadow:none;color:#fff}.tox .tox-tbtn:hover svg{fill:#fff}.tox .tox-tbtn:active{background:#757d87;border:0;box-shadow:none;color:#fff}.tox .tox-tbtn:active svg{fill:#fff}.tox .tox-tbtn--disabled .tox-tbtn--enabled svg{fill:rgba(255,255,255,0.5)}.tox .tox-tbtn--disabled,.tox .tox-tbtn--disabled:hover,.tox .tox-tbtn:disabled,.tox .tox-tbtn:disabled:hover{background:#222f3e;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-tbtn--disabled svg,.tox .tox-tbtn--disabled:hover svg,.tox .tox-tbtn:disabled svg,.tox .tox-tbtn:disabled:hover svg{fill:rgba(255,255,255,0.5)}.tox .tox-tbtn--active,.tox .tox-tbtn--enabled,.tox .tox-tbtn--enabled:focus,.tox .tox-tbtn--enabled:hover{background:#757d87;border:0;box-shadow:none;color:#fff;position:relative}.tox .tox-tbtn--active>*,.tox .tox-tbtn--enabled:focus>*,.tox .tox-tbtn--enabled:hover>*,.tox .tox-tbtn--enabled>*{transform:none}.tox .tox-tbtn--active svg,.tox .tox-tbtn--enabled svg,.tox .tox-tbtn--enabled:focus svg,.tox .tox-tbtn--enabled:hover svg{fill:#fff}.tox .tox-tbtn--active.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled:focus.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled:hover.tox-tbtn--disabled svg{fill:rgba(255,255,255,0.5)}.tox .tox-tbtn--enabled:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-tbtn--enabled:focus::after{border:2px solid highlight}}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){color:#fff}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg{fill:#fff}.tox .tox-tbtn:active>*{transform:none}.tox .tox-tbtn--md{height:51px;width:51px}.tox .tox-tbtn--lg{flex-direction:column;height:68px;width:68px}.tox .tox-tbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tbtn--labeled{padding:0 4px;width:unset}.tox .tox-tbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-label--context-toolbar{margin:6px 1px 5px 0;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-number-input{background:0 0;border-radius:3px;display:flex;margin:3px 0 2px 0;position:relative;width:auto}.tox .tox-number-input:focus{background:#4a5562}.tox .tox-number-input:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input:focus::after{border:2px solid highlight}}.tox .tox-number-input .tox-input-wrapper{display:flex;pointer-events:none;position:relative;text-align:center}.tox .tox-number-input .tox-input-wrapper:focus{background-color:#4a5562;z-index:1}.tox .tox-number-input .tox-input-wrapper:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input .tox-input-wrapper:focus::after{border:2px solid highlight}}.tox .tox-number-input .tox-input-wrapper:has(input:focus)::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input .tox-input-wrapper:has(input:focus)::after{border:2px solid highlight}}.tox .tox-number-input input{border-radius:3px;color:#fff;font-size:14px;margin:2px 0;pointer-events:all;position:relative;width:60px}.tox .tox-number-input input:hover{background:#4a5562;color:#fff}.tox .tox-number-input input:focus{background-color:#4a5562}.tox .tox-number-input input:disabled{background:#222f3e;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-number-input button{color:#fff;height:34px;position:relative;text-align:center;width:24px}@media (forced-colors:active){.tox .tox-number-input button:active,.tox .tox-number-input button:focus,.tox .tox-number-input button:hover{outline:1px solid currentColor!important}}.tox .tox-number-input button svg{display:block;fill:#fff;margin:0 auto;transform:scale(.67)}@media (forced-colors:active){.tox .tox-number-input button svg,.tox .tox-number-input button svg:active,.tox .tox-number-input button svg:hover{fill:currentColor!important}.tox .tox-number-input button svg:disabled{filter:contrast(0)}}.tox .tox-number-input button:focus{background:#4a5562;z-index:1}.tox .tox-number-input button:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input button:focus::after{border:2px solid highlight}}.tox .tox-number-input button:hover{background:#4a5562;border:0;box-shadow:none;color:#fff}.tox .tox-number-input button:hover svg{fill:#fff}.tox .tox-number-input button:active{background:#757d87;border:0;box-shadow:none;color:#fff}.tox .tox-number-input button:active svg{fill:#fff}.tox .tox-number-input button:disabled{background:#222f3e;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-number-input button:disabled svg{fill:rgba(255,255,255,0.5)}.tox .tox-number-input button.minus{border-radius:3px 0 0 3px}.tox .tox-number-input button.plus{border-radius:0 3px 3px 0}.tox .tox-number-input:focus:not(:active)>.tox-input-wrapper,.tox .tox-number-input:focus:not(:active)>button{background:#4a5562}.tox .tox-tbtn--select{margin:3px 0 2px 0;padding:0 4px;width:auto}.tox .tox-tbtn--bordered,.tox .tox-tbtn--bordered:focus,.tox .tox-tbtn--bordered:hover{border:1px solid #000}.tox .tox-tbtn__select-label{cursor:default;font-weight:400;height:initial;margin:0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-tbtn__select-chevron svg{fill:rgba(255,255,255,0.5)}@media (forced-colors:active){.tox .tox-tbtn__select-chevron svg{fill:currentColor}}.tox .tox-tbtn--bespoke{background:0 0}.tox .tox-tbtn--bespoke:focus{background:#4a5562}.tox .tox-tbtn--bespoke+.tox-tbtn--bespoke{margin-inline-start:0}.tox .tox-tbtn--bespoke .tox-tbtn__select-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:7em}.tox .tox-tbtn--disabled .tox-tbtn__select-label,.tox .tox-tbtn--select:disabled .tox-tbtn__select-label{cursor:not-allowed}.tox .tox-split-button__main{border-radius:3px 0 0 3px;margin-right:0}.tox .tox-split-button__main:focus{border:0;box-shadow:none;background:#4a5562;color:#fff;position:relative;z-index:1}.tox .tox-split-button__main:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0;border-radius:3px 0 0 3px}@media (forced-colors:active){.tox .tox-split-button__main:focus::after{border:2px solid highlight}}.tox .tox-split-button__chevron{width:16px;border-radius:0 3px 3px 0;margin-left:0}.tox .tox-split-button__chevron:focus{border:0;box-shadow:none;background:#4a5562;color:#fff;position:relative;z-index:1}.tox .tox-split-button__chevron:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0;border-radius:0 3px 3px 0}@media (forced-colors:active){.tox .tox-split-button__chevron:focus::after{border:2px solid highlight}}.tox .tox-split-button__chevron svg{fill:rgba(255,255,255,0.5)}@media (forced-colors:active){.tox .tox-split-button__chevron svg{fill:currentColor}}.tox.tox-platform-touch .tox-split-button__main{width:30px}.tox.tox-platform-touch .tox-split-button__chevron{width:20px}.tox .tox-split-button__chevron.tox-tbtn--disabled,.tox .tox-split-button__main.tox-tbtn--disabled{background:#222f3e;box-shadow:none;color:rgba(255,255,255,.5)}.tox .tox-split-button__chevron.tox-tbtn--disabled:hover,.tox .tox-split-button__main.tox-tbtn--disabled:hover{background:#222f3e;box-shadow:none;color:rgba(255,255,255,.5)}.tox .tox-split-button__chevron.tox-tbtn--disabled:focus,.tox .tox-split-button__main.tox-tbtn--disabled:focus{background:#222f3e;box-shadow:none;color:rgba(255,255,255,.5)}.tox .tox-split-button__main.tox-tbtn--disabled svg .tox-icon-highlight-bg-color__color,.tox .tox-split-button__main.tox-tbtn--disabled svg .tox-icon-text-color__color{opacity:.3}.tox .tox-toolbar-overlord{background-color:#222f3e}.tox .tox-toolbar,.tox .tox-toolbar__overflow,.tox .tox-toolbar__primary{background-attachment:local;background-color:#222f3e;background-image:repeating-linear-gradient(#000 0 1px,transparent 1px 39px);background-position:center top 39px;background-repeat:no-repeat;background-size:calc(100% - 4px * 2) calc(100% - 39px);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;padding:0 0;transform:perspective(1px)}.tox .tox-toolbar-overlord>.tox-toolbar,.tox .tox-toolbar-overlord>.tox-toolbar__overflow,.tox .tox-toolbar-overlord>.tox-toolbar__primary{background-position:center top 0;background-size:calc(100% - 4px * 2) calc(100% - 0px)}.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed{height:0;opacity:0;padding-bottom:0;padding-top:0;visibility:hidden}.tox .tox-toolbar__overflow--growing{transition:height .3s ease,opacity .2s linear .1s}.tox .tox-toolbar__overflow--shrinking{transition:opacity .3s ease,height .2s linear .1s,visibility 0s linear .3s}.tox .tox-anchorbar,.tox .tox-toolbar-overlord{grid-column:1/-1}.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{border-top:1px solid #000;margin-top:-1px;padding-bottom:0;padding-top:0}@media (forced-colors:active){.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{outline:1px solid currentColor}}.tox .tox-toolbar--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-pop .tox-toolbar{border-width:0}.tox .tox-toolbar--no-divider{background-image:none}.tox .tox-toolbar-overlord .tox-toolbar:not(.tox-toolbar--scrolling):first-child,.tox .tox-toolbar-overlord .tox-toolbar__primary{background-position:center top 39px}.tox .tox-editor-header>.tox-toolbar--scrolling,.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child{background-image:none}.tox .tox-focusable-wrapper{border:1px solid transparent;margin-right:2px;pointer-events:none}.tox .tox-focusable-wrapper .tox-textfield-size{pointer-events:all}.tox .tox-focusable-wrapper:focus{background-color:#4a5562;border-radius:3px;border-style:solid;border-width:1px}.tox.tox-tinymce-aux .tox-toolbar__overflow{background-color:#222f3e;background-position:center top 43px;background-size:calc(100% - 8px * 2) calc(100% - 51px);border:none;border-radius:3px;box-shadow:0 0 2px 0 rgba(42,55,70,.2),0 4px 8px 0 rgba(42,55,70,.15);overscroll-behavior:none;padding:4px 0}@media (forced-colors:active){.tox.tox-tinymce-aux .tox-toolbar__overflow{border:solid}}.tox-pop .tox-pop__dialog .tox-toolbar{background-position:center top 43px;background-size:calc(100% - 4px * 2) calc(100% - 51px);padding:4px 0}.tox-context-form__group{display:flex;align-items:center}.tox .tox-toolbar__group{align-items:center;display:flex;flex-wrap:wrap;margin:0 0;padding:0 4px 0 4px}.tox .tox-toolbar__group--pull-right{margin-left:auto}.tox .tox-toolbar--scrolling .tox-toolbar__group{flex-shrink:0;flex-wrap:nowrap}.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type){border-right:1px solid #000}.tox[dir=rtl] .tox-toolbar__group:not(:last-of-type){border-left:1px solid #000}.tox .tox-toolbar-input-form{display:flex;align-items:center;background-color:var(--tox-private-background-color,#222f3e);padding:0 var(--tox-private-pad-sm,8px)}.tox .tox-tooltip{display:inline-block;max-width:min(80%,15em);padding:8px 0 0 0;position:relative;width:max-content;z-index:1150}.tox .tox-tooltip.tox-tooltip--anchor{display:none;padding:var(--tox-private-pad-xs,4px) 0 0;position:fixed;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;height:fit-content}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--up{position-area:block-end}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--down{position-area:block-start}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--left{position-area:inline-start}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--right{position-area:inline-end}.tox .tox-tooltip__body{background-color:#2a3746;border-radius:3px;box-shadow:none;color:#fff;font-size:12px;font-style:normal;font-weight:600;overflow-wrap:break-word;padding:4px 6px;text-transform:none}@media (forced-colors:active){.tox .tox-tooltip__body{outline:outset 1px}}.tox .tox-tooltip__arrow{position:absolute}.tox .tox-tooltip--down .tox-tooltip__arrow{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #2a3746;bottom:0;left:50%;position:absolute;transform:translateX(-50%)}.tox .tox-tooltip--up .tox-tooltip__arrow{border-bottom:8px solid #2a3746;border-left:8px solid transparent;border-right:8px solid transparent;left:50%;position:absolute;top:0;transform:translateX(-50%)}.tox .tox-tooltip--right .tox-tooltip__arrow{border-bottom:8px solid transparent;border-left:8px solid #2a3746;border-top:8px solid transparent;position:absolute;right:0;top:50%;transform:translateY(-50%)}.tox .tox-tooltip--left .tox-tooltip__arrow{border-bottom:8px solid transparent;border-right:8px solid #2a3746;border-top:8px solid transparent;left:0;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-tree{display:flex;flex-direction:column}.tox .tox-tree .tox-trbtn{align-items:center;background:0 0;border:0;border-radius:4px;box-shadow:none;color:#fff;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;margin-bottom:4px;margin-top:4px;outline:0;overflow:hidden;padding:0;padding-left:8px;text-transform:none}.tox .tox-tree .tox-trbtn .tox-tree__label{cursor:default;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tree .tox-trbtn svg{display:block;fill:#fff}.tox .tox-tree .tox-trbtn:focus{background:#4a5562;border:0;box-shadow:none}.tox .tox-tree .tox-trbtn:hover{background:#4a5562;border:0;box-shadow:none;color:#fff}.tox .tox-tree .tox-trbtn:hover svg{fill:#fff}.tox .tox-tree .tox-trbtn:active{background:#6ea9d0;border:0;box-shadow:none;color:#fff}.tox .tox-tree .tox-trbtn:active svg{fill:#fff}.tox .tox-tree .tox-trbtn--disabled,.tox .tox-tree .tox-trbtn--disabled:hover,.tox .tox-tree .tox-trbtn:disabled,.tox .tox-tree .tox-trbtn:disabled:hover{background:0 0;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-tree .tox-trbtn--disabled svg,.tox .tox-tree .tox-trbtn--disabled:hover svg,.tox .tox-tree .tox-trbtn:disabled svg,.tox .tox-tree .tox-trbtn:disabled:hover svg{fill:rgba(255,255,255,0.5)}.tox .tox-tree .tox-trbtn--enabled,.tox .tox-tree .tox-trbtn--enabled:hover{background:#6ea9d0;border:0;box-shadow:none;color:#fff}.tox .tox-tree .tox-trbtn--enabled:hover>*,.tox .tox-tree .tox-trbtn--enabled>*{transform:none}.tox .tox-tree .tox-trbtn--enabled svg,.tox .tox-tree .tox-trbtn--enabled:hover svg{fill:#fff}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled){color:#fff}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled) svg{fill:#fff}.tox .tox-tree .tox-trbtn:active>*{transform:none}.tox .tox-tree .tox-trbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tree .tox-trbtn--labeled{padding:0 4px;width:unset}.tox .tox-tree .tox-trbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-tree .tox-tree--directory{display:flex;flex-direction:column}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label{font-weight:700}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn:focus svg{fill:#fff}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:focus .tox-mbtn svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover .tox-mbtn svg{fill:#fff}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#fff}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#fff}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-chevron{margin-right:6px}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--shrinking) .tox-chevron{transition:transform .5s ease-in-out}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--open) .tox-chevron{transform:rotate(90deg)}.tox .tox-tree .tox-tree--leaf__label{font-weight:400}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--leaf__label .tox-mbtn:focus svg{fill:#fff}.tox .tox-tree .tox-tree--leaf__label:hover .tox-mbtn svg{fill:#fff}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#fff}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#fff}.tox .tox-tree .tox-icon-custom-state{flex-grow:1;display:flex;justify-content:flex-end}.tox .tox-tree .tox-tree--directory__children{overflow:hidden;padding-left:16px}.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--growing,.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--shrinking{transition:height .5s ease-in-out}.tox .tox-tree .tox-trbtn.tox-tree--leaf__label{display:flex;justify-content:space-between}[data-mce-name=uploadcare-enhance-filter] .color-swatch-remove-color path{fill:#c00;stroke:#c00}.tox .tox-view-wrap,.tox .tox-view-wrap__slot-container{background-color:#222f3e;display:flex;flex:1;flex-direction:column;height:100%;min-height:0}.tox .tox-view{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden;background-color:#222f3e}.tox .tox-view__header{align-items:center;display:flex;font-size:16px;justify-content:space-between;padding:8px;position:relative}.tox .tox-view__label{color:#fff;font-weight:700;line-height:24px;padding:4px 16px;text-align:center;white-space:nowrap}.tox .tox-view__label--normal{font-size:16px}.tox .tox-view__label--large{font-size:20px}.tox .tox-view--mobile.tox-view__header,.tox .tox-view--mobile.tox-view__toolbar{padding:8px}.tox .tox-view--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-view__align-right{margin-left:auto}.tox .tox-view__toolbar{display:flex;flex-direction:row;gap:8px;justify-content:space-between;overflow-x:auto;padding:8px}.tox .tox-view__toolbar__group{display:flex;flex-direction:row;gap:12px}.tox .tox-view__header-end,.tox .tox-view__header-start{display:flex}.tox .tox-view__pane{height:100%;padding:8px;position:relative;width:100%}.tox .tox-view__pane_panel{border:1px solid #000;border-radius:3px}.tox:not([dir=rtl]) .tox-view__header .tox-view__header-end>*,.tox:not([dir=rtl]) .tox-view__header .tox-view__header-start>*{margin-left:8px}.tox[dir=rtl] .tox-view__header .tox-view__header-end>*,.tox[dir=rtl] .tox-view__header .tox-view__header-start>*{margin-right:8px}.tox .tox-well{border:1px solid #000;border-radius:3px;padding:8px;width:100%}.tox .tox-well>:first-child{margin-top:0}.tox .tox-well>:last-child{margin-bottom:0}.tox .tox-well>:only-child{margin:0}.tox .tox-custom-editor{border:1px solid #000;border-radius:3px;display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-view .tox-revisionhistory__pane{padding:0}.tox .tox-revisionhistory__container{display:flex;flex-direction:column;height:100%}.tox .tox-revisionhistory{background-color:#222f3e;border-top:1px solid rgba(255,255,255,.15);display:flex;flex:1;height:100%;overflow-x:auto;overflow-y:hidden;position:relative;width:100%}.tox .tox-revisionhistory__iframe{flex:1}.tox .tox-revisionhistory__sidebar{display:flex;flex-direction:column;height:100%;min-width:248px;width:316px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__sidebar-title{background-color:#222f3e;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);color:#fff;font-size:20px;font-weight:400;line-height:28px;padding:12px;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions{background-color:#2b3b4e;display:flex;flex:1;flex-direction:column;gap:12px;overflow-y:auto;padding:10px 12px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus{height:100%;position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus::after{bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0;border-radius:3px;bottom:1px;left:1px;right:1px;top:1px}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card{background-color:#222f3e;border:1px solid rgba(255,255,255,.15);border-radius:6px;color:#fff;cursor:pointer;display:flex;flex-direction:column;font-size:14px;padding:12px;width:100%}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:hover{box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus{position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent #285ec7;content:'';left:0;position:absolute;right:0;top:0;border-radius:6px;box-shadow:0 0 0 2px #285ec7;box-shadow:0 0 0 2px #285ec7!important}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected{background-color:#1b3b60;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);position:relative}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent #cea215;content:'';left:0;position:absolute;right:0;top:0;border-radius:6px;box-shadow:0 0 0 2px #cea215}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-tags{display:flex;align-items:flex-start;flex-direction:row;gap:8px;overflow-x:auto}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-label{display:block;max-width:min-content;padding:4px 8px;margin-bottom:8px;font-size:12px;font-weight:700;border-radius:4px;background:#555f6b;text-wrap:balance;flex:0 1 auto}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-content{display:flex;flex-direction:row;gap:8px;align-items:center}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution{align-items:center;display:flex}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution .tox-revisionhistory__avatar{position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution .tox-revisionhistory__avatar+.tox-revisionhistory__card-ai-icon{margin-left:-4px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-info{display:flex;flex-direction:column;flex:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-date-label{font-size:14px;font-weight:700;line-height:18px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-author-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:400}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__avatar{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-ai-icon{display:flex;height:36px;width:36px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__norevision{color:rgba(255,255,255,.5);font-size:16px;line-height:24px;padding:5px 5.5px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-check-icon{color:#fff;height:24px}.tox .tox-card{background-color:#222f3e;border-radius:3px;display:flex;flex-direction:column;gap:12px;padding:12px;cursor:pointer;transition:box-shadow .15s ease-in-out,border .15s ease-in-out;border:0 solid transparent}.tox .tox-card:hover{box-shadow:0 4px 8px 0 rgba(42,55,70,.1)}.tox .tox-card--selected{border-color:#207ab7}.tox .tox-card:focus-visible{outline:0 solid transparent;border-color:transparent}.tox .tox-card--has-decision{background-color:#17202a}.tox .tox-card--has-decision:not(.tox-card--selected){border-width:1px;border-color:rgba(255,255,255,.5);padding:11px}.tox .tox-card--has-decision .tox-card__header{font-size:12px}.tox .tox-card--has-decision .tox-card__body{color:rgba(255,255,255,.5)}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline{border-color:#0c1116}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:focus:not(:disabled),.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:hover:not(:disabled){background-color:#0c1116;border-color:#010203}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:active:not(:disabled){background-color:#010203;border-color:#010203}.tox .tox-card__header{padding-bottom:0;color:#fff;font-size:16px;font-weight:700;text-transform:uppercase;display:flex;flex-direction:column;gap:12px}.tox .tox-card__header-label{font-size:12px;font-weight:700;text-transform:uppercase;color:#fff}.tox .tox-card__header-content{flex:1;min-width:0;font-weight:400;text-transform:none}.tox .tox-card__header-actions{display:flex;align-items:center;gap:4px;flex-shrink:0;opacity:1;pointer-events:auto;transition:opacity .15s ease-in-out}.tox .tox-card__header-actions--hover-visible,.tox .tox-card__header-actions--on-focus{opacity:0;pointer-events:none}.tox .tox-card__header-actions--always-visible{opacity:1;pointer-events:auto}.tox .tox-card__header:has(.tox-card__header-actions),.tox .tox-card__header:has(.tox-card__header-content){flex-direction:row;align-items:center}.tox .tox-card__header:has(.tox-card__header-content){justify-content:space-between}.tox .tox-card__header:has(.tox-card__header-actions):not(:has(.tox-card__header-content)){justify-content:flex-end}.tox .tox-card:focus-within .tox-card__header-actions--hover-visible,.tox .tox-card:focus-within .tox-card__header-actions--on-focus,.tox .tox-card:hover .tox-card__header-actions--hover-visible{opacity:1;pointer-events:auto}.tox .tox-card__body{color:#fff;font-size:14px}.tox .tox-card__body .tox-expandable-box{background:0 0;border:none;gap:12px}.tox .tox-card__body .tox-expandable-box .tox-expandable-box__content,.tox .tox-card__body .tox-expandable-box>.tox-button{margin:0}.tox .tox-card__highlight{padding:4px 6px;border-bottom:0 solid #207ab7}.tox .tox-card__highlight--added{background-color:#334840}.tox .tox-card__highlight--deleted{background-color:#442632}.tox .tox-card__highlight--modified{background-color:#223e56}.tox .tox-card__actions{display:flex;gap:8px}.tox .tox-card__actions--space-between{justify-content:space-between}.tox .tox-card__actions--flex-start{justify-content:flex-start}.tox .tox-card__actions .tox-button,.tox .tox-card__actions .tox-button--icon,.tox .tox-card__actions .tox-button:has(.tox-icon:only-child){padding:4px 16px}.tox .tox-card__divider{margin:12px 0;border:none;border-top:1px solid #000}.tox .tox-card__expansion{display:flex;flex-direction:column;gap:12px;width:100%}.tox .tox-card__expansion:has(> .tox-card__expansion-content--collapsed:only-child){margin-block-start:-12px}.tox .tox-card__expansion-content{display:grid;font-size:14px;grid-template-rows:0fr;transition:grid-template-rows .2s ease-in-out}.tox .tox-card__expansion-content--expanded{grid-template-rows:1fr}.tox .tox-card__expansion-content--expanded>.tox-card__expansion-content-inner{min-height:auto;overflow:visible}.tox .tox-card__expansion-content--collapsed{grid-template-rows:0fr}.tox .tox-card__expansion-content-inner{min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:12px}.tox .tox-card.tox-skeleton{cursor:default;pointer-events:none;box-shadow:none}.tox .tox-card.tox-skeleton:hover{box-shadow:none}.tox .tox-card.tox-skeleton .tox-skeleton__line{border-radius:3px;margin:0}.tox .tox-card.tox-skeleton .tox-card__body{display:flex;flex-direction:column;gap:4px}.tox .tox-card-list{display:flex;flex-direction:column;gap:12px}.tox .tox-card-list:has(.tox-card-group){gap:0}.tox .tox-card-list:focus{outline:0}.tox .tox-card-group{background-color:#17202a;display:flex;flex-direction:column}.tox .tox-card-group .tox-card{scroll-margin-top:53px}.tox .tox-card-group__title{align-items:center;background-color:#222f3e;border-bottom:1px solid #000;color:#fff;display:flex;font-size:14px;font-weight:700;gap:8px;line-height:16px;overflow:hidden;padding:12px;position:sticky;top:0;z-index:1}.tox .tox-card-group__title-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-card-group__status{color:rgba(255,255,255,.5);flex:0 0 auto;font-size:12px;font-weight:400;margin-inline-start:auto}.tox .tox-card-group__content{display:flex;flex-direction:column;gap:12px;padding-block:12px}.tox .tox-profile{align-items:center;display:flex;gap:8px}.tox .tox-profile__image{align-items:center;display:flex;flex-shrink:0}.tox .tox-profile__badge{display:flex;flex-shrink:0;height:36px;margin-inline-start:-4px;width:36px}.tox .tox-profile__badge svg{display:block;height:100%;width:100%}.tox .tox-user-avatar{width:36px;height:36px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center}.tox .tox-user-avatar img{width:100%;height:100%;object-fit:cover}.tox .tox-profile__body{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;flex:1}.tox .tox-profile__heading{color:#fff;font-size:14px;font-weight:700;line-height:18px;text-transform:none}.tox .tox-profile__subheading{color:#fff;font-size:12px;font-weight:400;line-height:16px;padding-block:4px;text-transform:none}.tox .tox-profile__subheading .tox-icon svg{fill:rgba(255,255,255,0.5);margin-block:-4px;vertical-align:top}.tox [data-mce-name=suggestededits] .tox-icon .tox-icon--badge{fill:#207ab7}.tox .tox-view .tox-suggestededits__pane{padding:0}.tox .tox-suggestededits__sink{position:relative;z-index:1000}.tox .tox-suggestededits__sink .tox-tiered-menu .tox-collection--list{position:absolute}.tox .tox-suggestededits__container{height:100%;display:flex;flex-direction:column}.tox .tox-suggestededits__container .tox-suggestededits{background-color:#222f3e;display:flex;flex:1;height:inherit;overflow-x:auto;overflow-y:hidden;position:relative}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__content{flex:1}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__model{height:100%;position:relative}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__model .tox-suggestededits__iframe{height:100%;width:100%;overflow:scroll;background-color:#fff}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar{background-color:#34485f;border-left:1px solid #000;display:flex;flex-direction:column;flex:0 1 auto;min-width:248px;width:441px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__announcer{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;margin:-1px;padding:0;border:0}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar{padding:4px 12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar:not(:empty){padding:12px 12px 6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button:has(.tox-icon:only-child){gap:0;padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-md,16px)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button:has(.tox-icon:only-child) .tox-icon{align-items:center;display:flex;flex:0 0 auto;height:24px;justify-content:center;width:24px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline{border-color:#486383}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:focus:not(:disabled),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:hover:not(:disabled){background-color:rgba(255,255,255,.12);border-color:rgba(255,255,255,.12)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline.tox-button--enabled:not(:disabled),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:active:not(:disabled){background-color:rgba(255,255,255,.18);border-color:rgba(255,255,255,.18);color:#fff}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline[disabled]{border-color:#486383}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content{display:flex;flex:1;flex-direction:column;gap:12px;overflow:auto;padding:6px 12px 12px 12px;position:relative;scroll-padding-block:6px 12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-card--selected:has(textarea:focus){border-color:transparent}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__divider,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--divider{background-color:#34485f;height:1px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--editor,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--single{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;gap:12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--editor{padding:6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header{display:flex;flex:auto;justify-content:space-between;align-items:center;gap:8px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__card--timestamp,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__card--timestamp{color:#fff}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__card--timestamp .tox-icon svg,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__card--timestamp .tox-icon svg{fill:rgba(255,255,255,0.5)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution{align-items:center;border:0;border-radius:20px;color:rgba(255,255,255,.5);height:20px;width:20px;display:flex;flex:0 0 auto;justify-content:center;text-align:center}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button{padding:var(--tox-private-button-padding-y,4px) var(--tox-private-button-padding-x,16px)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button .tox-suggestededits__resolution--label{display:none}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:not(:hover):not(:focus-visible),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:not(:hover):not(:focus-visible){border-color:transparent}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution{display:none}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution--label{display:inline}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content{display:flex;flex-direction:column;align-self:stretch;flex:auto;gap:6px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations{display:flex;gap:8px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-details,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-details{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-text,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-text{color:#fff;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:18px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-content-text,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-content-text{font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:20px;overflow-wrap:break-word}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-content-text-joiner,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-content-text-joiner{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__card--feedback,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__card--feedback{color:#fff;overflow-wrap:anywhere;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__actions,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--buttons{display:flex;align-items:center;gap:8px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__actions.tox-suggestededits__card--feedback-buttons,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--buttons.tox-suggestededits__card--feedback-buttons{justify-content:flex-end}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-suggestededits__card--active .tox-suggestededits__card--single{border-radius:6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-suggestededits__card--active .tox-suggestededits__card--single:focus-visible{outline:2px solid #207ab7}.tox .tox-dialog-loading::before{background-color:rgba(0,0,0,.5);content:"";height:100%;position:absolute;width:100%;z-index:1000}.tox .tox-tab{cursor:pointer}.tox .tox-dialog__content-js{display:flex;flex:1}.tox .tox-dialog__body-content .tox-collection{display:flex;flex:1}.tox:not(.tox-tinymce-inline) .tox-editor-header{background-color:none;padding:0}.tox.tox-tinymce--toolbar-bottom .tox-editor-header,.tox.tox-tinymce-inline .tox-editor-header{margin-bottom:-1px}.tox.tox-tinymce-inline .tox-editor-container{overflow:hidden}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header{border-top:none;box-shadow:none}.tox.tox.tox-tinymce--toolbar-sticky-on .tox-editor-header{background-color:transparent;box-shadow:0 4px 4px -3px rgba(0,0,0,.25);padding:0}.tox.tox.tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header{box-shadow:0 4px 4px -3px rgba(0,0,0,.25)}.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker{margin:-4px 0}.tox .tox-menu.tox-collection.tox-collection--list{padding:0}.tox .tox-pop{box-shadow:none}.tox .tox-label,.tox .tox-number-input,.tox .tox-split-button,.tox .tox-tbtn,.tox .tox-tbtn--select,.tox .tox-toolbar-label{margin:2px 0 3px 0}.tox .tox-tbtn--bordered,.tox .tox-tbtn--bordered:focus,.tox .tox-tbtn--bordered:hover{border:1px solid #000}.tox .tox-pop__dialog .tox-toolbar,.tox .tox-toolbar,.tox .tox-toolbar__overflow,.tox .tox-toolbar__primary{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}.tox .tox-menubar+.tox-toolbar-overlord{border-top:none}.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord .tox-toolbar__primary{border-top:1px solid #000;margin-top:-1px}.tox.tox-tinymce-aux .tox-toolbar__overflow{border:1px solid #000;padding:0}.tox .tox-pop .tox-pop__dialog .tox-toolbar{padding:0}.tox .tox-context-toolbar .tox-toolbar{background:0 0}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-menubar{border-top:1px solid #000}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-toolbar-overlord:first-child .tox-toolbar__primary,.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-toolbar:first-child{border-top:1px solid #000}.tox .tox-toolbar__group{padding:0 4px 0 4px}.tox .tox-collection__item{border-radius:0;cursor:pointer}.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]){color:#fff}.tox .tox-statusbar__branding svg{fill:rgba(255,255,255,0.8);height:1em;margin-left:.3em;width:auto}@media (forced-colors:active){.tox .tox-statusbar__branding svg{fill:currentColor}}.tox .tox-statusbar__branding a{align-items:center;display:inline-flex}.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg,.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg{fill:#fff}.tox:not([dir=rtl]) .tox-statusbar__branding{margin-left:1ch}.tox[dir=rtl] .tox-statusbar__branding svg{margin-left:0;margin-right:.3em}.tox .tox-statusbar__resize-handle{padding-bottom:0;padding-right:0}.tox .tox-button::before{display:none} diff --git a/libraries/tinymce/js/tinymce/skins/ui/tinymce-5/skin.js b/libraries/tinymce/js/tinymce/skins/ui/tinymce-5/skin.js index a502512..6e0199e 100644 --- a/libraries/tinymce/js/tinymce/skins/ui/tinymce-5/skin.js +++ b/libraries/tinymce/js/tinymce/skins/ui/tinymce-5/skin.js @@ -1 +1 @@ -tinymce.Resource.add('ui/tinymce-5/skin.css', `.tox{box-shadow:none;box-sizing:content-box;cursor:auto;font-style:normal;font-weight:400;line-height:normal;-webkit-tap-highlight-color:transparent;-webkit-text-decoration:none;text-decoration:none;text-shadow:none;text-transform:none;vertical-align:initial;white-space:normal}.tox :not(svg):not(rect){box-sizing:inherit;color:inherit;cursor:inherit;direction:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;-webkit-tap-highlight-color:inherit;text-align:inherit;text-decoration:inherit;text-shadow:inherit;text-transform:inherit;vertical-align:inherit;white-space:inherit}.tox :not(svg):not(rect){background:0 0;border:0;box-shadow:none;float:none;height:auto;margin:0;max-width:none;outline:0;padding:0;position:static;width:auto}.tox:not([dir=rtl]){direction:ltr;text-align:left}.tox[dir=rtl]{direction:rtl;text-align:right}.tox-tinymce :focus,.tox-tinymce-aux :focus{outline:0}button::-moz-focus-inner{border:0}@keyframes tox-rotation{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes tox-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox{color:var(--tox-private-color-black,#222f3e);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-font-size-base, 16px)}.tox-tinymce{border:1px solid #ccc;border-radius:0;box-shadow:none;box-sizing:border-box;display:flex;flex-direction:column;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);overflow:hidden;position:relative;visibility:inherit!important}.tox.tox-tinymce-inline{border:none;box-shadow:none;overflow:initial}.tox.tox-tinymce-inline .tox-editor-container{overflow:initial}.tox.tox-tinymce-inline .tox-editor-header{background-color:#fff;border:1px solid #ccc;border-radius:0;box-shadow:none;overflow:hidden}.tox-tinymce-aux{font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);z-index:var(--tox-private-z-index-sink,1300)}.tox[dir=rtl] .tox-icon--flip svg{transform:rotateY(180deg)}.tox .tox-editor-container{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.tox .tox-editor-container--keep-toolbar{flex:0 0 auto;overflow:visible}.tox .tox-editor-header{display:grid;grid-template-columns:1fr min-content;z-index:2}.tox:not(.tox-tinymce-inline) .tox-editor-header{background-color:#fff;border-bottom:none;box-shadow:none;padding:4px 0}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(.tox-editor-dock-transition){transition:box-shadow .5s}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header{border-top:1px solid #ccc;box-shadow:none}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header{background-color:#fff;box-shadow:0 4px 4px -3px rgba(0,0,0,.25);padding:4px 0}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header{box-shadow:0 4px 4px -3px rgba(0,0,0,.25)}.tox.tox:not(.tox-tinymce-inline) .tox-editor-header.tox-editor-header--empty{background:0 0;border:none;box-shadow:none;padding:0}.tox-editor-dock-fadeout{opacity:0;visibility:hidden}.tox-editor-dock-fadein{opacity:1;visibility:visible}.tox-editor-dock-transition{transition:visibility 0s linear .25s,opacity .25s ease}.tox-editor-dock-transition.tox-editor-dock-fadein{transition-delay:0s}.tox .accessibility-issue__header{align-items:center;display:flex;margin-bottom:4px}.tox #accessibility-issue__subheader{font-size:16px;color:#222f3e}.tox .accessbility-sr-only{position:absolute;clip:rect(1px,1px,1px,1px);clip-path:inset(0 0 99.9% 99.9%);overflow:hidden;height:1px;width:1px;padding:0;border:0}.tox .accessibility-issue__description{align-items:stretch;border-radius:3px;justify-content:space-between}.tox .accessibility-issue__description>div{padding-bottom:4px}.tox .accessibility-issue__description>div>div{align-items:center;display:flex;margin-bottom:4px}.tox .accessibility-issue__description>div>div .tox-icon svg{display:block}.tox #accessibility-issue__contentID{margin-top:8px;margin-bottom:8px}.tox #accessibility-issue__contentID span:first-child{font-weight:700}.tox #accessibility-issue__document{padding-bottom:8px}.tox .accessibility-issue__repair{margin-top:8px}.tox .accessibility-issue__repair .tox-form__group .tox-form__group--error{color:#c00}.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description{background-color:#e9f2f8;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2{font-size:14px;color:#207ab7}.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon.accessibility-issue__icon svg{fill:#207ab7}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon{background-color:#207ab7;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:hover{background-color:#1c6ca1}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:active{background-color:#185d8c}.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description{background-color:#fffae6;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2{font-size:14px;color:#7a6e25}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon.accessibility-issue__icon svg{fill:#7a6e25}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon{background-color:#ffe89d;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:hover{background-color:#f2d574;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:active{background-color:#e8c657;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description{background-color:#fae6e6;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2{font-size:14px;color:#c00}.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon.accessibility-issue__icon svg{fill:#c00}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon{background-color:#f2bfbf;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:hover{background-color:#e9a4a4;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:active{background-color:#ee9494;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description{background-color:rgba(120,171,70,.1);color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description>:last-child{display:none}.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2{color:#527530}.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon.accessibility-issue__icon svg{fill:#527530}.tox .tox-dialog__body-content .accessibility-issue__header .tox-form__group h1,.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2{margin-top:0}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-left:4px}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-left:auto}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description{padding:8px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-right:4px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-right:auto}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description{padding:4px 8px 4px 4px}.tox .mce-codemirror{background:#fff;bottom:0;font-size:13px;left:0;position:absolute;right:0;top:0;z-index:1}.tox .mce-codemirror.tox-inline-codemirror{margin:8px;position:absolute}.tox .tox-advtemplate .tox-form__grid{flex:1}.tox .tox-advtemplate .tox-form__grid>div:first-child{display:flex;flex-direction:column;width:30%}.tox .tox-advtemplate .tox-form__grid>div:first-child>div:nth-child(2){flex-basis:0;flex-grow:1;overflow:auto}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-advtemplate .tox-form__grid>div:first-child{width:100%}}.tox .tox-advtemplate iframe{border-color:#ccc;border-radius:0;border-style:solid;border-width:1px;margin:0 10px}.tox .tox-accordion{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__item{background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color,#222f3e);border-radius:var(--tox-private-control-border-radius,3px);position:relative}.tox .tox-accordion__item.tox-accordion__item--expanded{background-color:var(--tox-private-background-secondary,#f0f0f0)}.tox .tox-accordion__item.tox-accordion__item--expanded .tox-accordion__content--expanded .tox-accordion__content-inner{padding-top:0}.tox .tox-accordion__item::after{border-radius:var(--tox-private-control-border-radius,3px);box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,0) var(--tox-private-keyboard-focus-outline-color,transparent);content:'';inset:0;opacity:0;pointer-events:none;position:absolute}@media (forced-colors:active){.tox .tox-accordion__item::after{border:2px solid highlight}}.tox .tox-accordion__item:focus{outline:0;z-index:1}.tox .tox-accordion__item:focus::after{opacity:1}.tox .tox-accordion__heading{margin:0;width:100%}.tox .tox-accordion__heading:focus{outline:0}.tox .tox-accordion__header{align-items:center;border:none;border-radius:var(--tox-private-control-border-radius,3px);box-sizing:border-box;color:var(--tox-private-text-color,#222f3e);cursor:pointer;display:flex;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:var(--tox-private-line-height-base, 1.3);outline:0;padding:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));text-align:left;width:100%}.tox .tox-accordion__header::after{border-radius:var(--tox-private-control-border-radius,3px);bottom:0;box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,0) var(--tox-private-keyboard-focus-outline-color,transparent);content:'';left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-accordion__header::after{border:2px solid highlight}}.tox .tox-accordion__header:hover:not(.tox-accordion__header--disabled){background-color:var(--tox-private-background-secondary,#f0f0f0)}.tox .tox-accordion__header:focus:not(.tox-accordion__header--disabled){position:relative;z-index:1}.tox .tox-accordion__header:focus:not(.tox-accordion__header--disabled)::after{opacity:1}.tox .tox-accordion__header.tox-accordion__header--disabled{cursor:not-allowed;opacity:.5}.tox .tox-accordion__header.tox-accordion__header--icon-end{padding-right:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__header-icon{align-items:center;color:var(--tox-private-text-color,#222f3e);display:flex;flex-shrink:0;height:calc(var(--tox-private-base-value,16px) * 1.5);justify-content:center;width:calc(var(--tox-private-base-value,16px) * 1.5)}.tox .tox-accordion__header-icon svg{display:block;fill:currentColor;height:100%;width:100%;max-height:calc(var(--tox-private-base-value,16px) * 1.5);max-width:calc(var(--tox-private-base-value,16px) * 1.5)}.tox .tox-accordion__header:not(.tox-accordion__header--icon-end) .tox-accordion__header-icon{margin-right:var(--tox-private-pad-sm,8px);margin-left:0}.tox .tox-accordion__header--icon-end .tox-accordion__header-icon{margin-left:auto}.tox .tox-accordion__header-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-accordion__header--icon-end .tox-accordion__header-text{flex:0 1 auto;margin-right:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__content{border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-accordion__content.tox-accordion__content--collapsed{display:none}.tox .tox-accordion__content.tox-accordion__content--expanded{display:block}.tox .tox-accordion__content-inner{padding:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px)) calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__content-inner .tox-form__group:last-child{margin-bottom:0}.tox .tox-accordion__content-inner .tox-form__group>:not(:first-child){margin-top:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__content-inner .tox-form__group>.tox-dropdown-content{margin-top:0}.tox .tox-accordion__content-inner .tox-button-group{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__content-inner .tox-accordion__model-button{border-radius:var(--tox-private-control-border-radius,3px);align-items:center;appearance:none;background:0 0;border:none;color:inherit;cursor:pointer;display:flex;font-family:inherit;font-size:inherit;gap:var(--tox-private-pad-xs,4px);margin:0;outline:0;padding:6px calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));position:relative}.tox .tox-accordion__content-inner .tox-accordion__model-button::after{border-radius:var(--tox-private-control-border-radius,3px);bottom:0;box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,0) var(--tox-private-keyboard-focus-outline-color,transparent);content:'';left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-accordion__content-inner .tox-accordion__model-button::after{border:2px solid highlight}}.tox .tox-accordion__content-inner .tox-accordion__model-button:focus{z-index:1}.tox .tox-accordion__content-inner .tox-accordion__model-button:focus::after{opacity:1}.tox .tox-accordion .tox-selectfield{align-items:center;background-color:var(--tox-private-background-color,#fff);border:1px solid var(--tox-private-border-color,#ccc);border-radius:var(--tox-private-control-border-radius,3px);box-sizing:border-box;display:flex;height:34px;padding:0 6px;position:relative;width:100%}.tox .tox-accordion .tox-selectfield:focus-within{box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,0) var(--tox-private-keyboard-focus-outline-color,transparent);z-index:1}@media (forced-colors:active){.tox .tox-accordion .tox-selectfield:focus-within{border-color:highlight;box-shadow:0 0 0 2px highlight}}.tox .tox-accordion .tox-selectfield button{appearance:none;background:0 0;border:none;color:inherit;cursor:pointer;flex:1;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;outline:0;padding:5px 0;text-align:left}.tox .tox-accordion .tox-selectfield .tox-icon{display:flex;flex-shrink:0;padding:9px 0;pointer-events:none}.tox .tox-accordion .tox-selectfield .tox-icon svg{height:var(--tox-private-base-value,16px);width:var(--tox-private-base-value,16px)}.tox[dir=rtl] .tox-accordion__header{text-align:right}.tox[dir=rtl] .tox-accordion__header:not(.tox-accordion__header--icon-end) .tox-accordion__header-icon{margin-left:var(--tox-private-pad-sm,8px);margin-right:0}.tox[dir=rtl] .tox-accordion__header--icon-end .tox-accordion__header-icon{margin-right:auto;margin-left:0}.tox[dir=rtl] .tox-accordion__header--icon-end .tox-accordion__header-text{margin-left:var(--tox-private-pad-sm,8px);margin-right:0}.tox .tox-alert{align-items:flex-start;align-self:stretch;border-radius:var(--tox-private-panel-border-radius,3px);border-style:solid;border-width:1px;box-sizing:border-box;color:var(--tox-private-text-color,#222f3e);display:flex;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-normal,normal);gap:var(--tox-private-pad-xs,4px);line-height:var(--tox-private-line-height-base, 1.3);padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-sm,8px);width:100%}.tox .tox-alert--error{background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#fff) r g b / .8) 0,rgba(from var(--tox-private-background-color,#fff) r g b / .8) 100%),var(--tox-private-color-error,#c00);border-color:var(--tox-private-color-error,#c00)}.tox .tox-alert--warning{background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#fff) r g b / .8) 0,rgba(from var(--tox-private-background-color,#fff) r g b / .8) 100%),var(--tox-private-color-warning,#fc0);border-color:var(--tox-private-color-warning,#fc0)}.tox .tox-alert__body{display:flex;flex:1 0 0;flex-direction:column;min-width:0}.tox .tox-alert__content{align-items:center;display:flex;flex:1 0 0;gap:var(--tox-private-pad-sm,8px);padding:var(--tox-private-pad-sm,8px) 0}.tox .tox-alert__message{margin:0;text-align:left}.tox .tox-alert__actions{align-items:center;display:flex;flex-wrap:wrap;gap:var(--tox-private-pad-xs,4px);justify-content:flex-start}.tox .tox-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bottom-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bar{display:flex;flex:0 0 auto}.tox .tox-button{border-width:var(--tox-private-button-border-width,1px);border-style:var(--tox-private-button-border-style,solid);border-radius:var(--tox-private-control-border-radius,3px);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-button-font-size, 14px);font-style:var(--tox-private-button-font-style,normal);font-weight:var(--tox-private-button-font-weight,bold);line-height:var(--tox-private-control-line-height, 24px);padding:var(--tox-private-button-padding-y,4px) var(--tox-private-button-padding-x,16px);text-align:center;-webkit-text-decoration:none;text-decoration:none;text-transform:none;letter-spacing:normal;box-shadow:none;box-sizing:border-box;cursor:pointer;outline:0;position:relative;white-space:nowrap;display:inline-flex;justify-content:center;align-items:center;gap:var(--tox-private-pad-xs,4px)}.tox .tox-button::before{border-radius:var(--tox-private-control-border-radius,3px);bottom:calc(-1 * var(--tox-private-button-border-width,1px));box-shadow:var(--tox-private-button-focus-outline,inset 0 0 0 1px #fff,0 0 0 2px #207ab7);content:'';left:calc(-1 * var(--tox-private-button-border-width,1px));opacity:0;pointer-events:none;position:absolute;right:calc(-1 * var(--tox-private-button-border-width,1px));top:calc(-1 * var(--tox-private-button-border-width,1px))}.tox .tox-button:focus:not(:disabled){background-color:var(--tox-private-button-focus-background-color,#1c6ca1);background-image:none;border-color:var(--tox-private-button-focus-border-color,#1c6ca1);box-shadow:var(--tox-private-button-focus-box-shadow,none);color:var(--tox-private-button-focus-text-color,#fff)}.tox .tox-button:focus:not(:disabled)::before{opacity:1}.tox .tox-button.tox-button--icon,.tox .tox-button:has(.tox-icon:only-child){padding:4px}.tox .tox-button .tox-icon svg{display:block;fill:currentColor}.tox .tox-button .tox-icon.tox-icon--success svg{fill:var(--tox-private-color-success,#78AB46)}.tox .tox-button .tox-icon.tox-icon--error svg{fill:var(--tox-private-color-error,#c00)}.tox .tox-button--stretch{width:100%}.tox-context-form__group .tox-button--icon,.tox-context-form__group .tox-button.tox-button--icon{margin:3px 0 2px 0;padding:0}.tox .tox-button{background-color:var(--tox-private-button-primary-background-color,#207ab7);background-image:none;background-position:0 0;background-repeat:repeat;color:var(--tox-private-button-primary-text-color,#fff);border-color:var(--tox-private-button-primary-border-color,#207ab7)}.tox .tox-button[disabled]{background-color:var(--tox-private-button-primary-disabled-background-color,#207ab7);background-image:none;border-color:var(--tox-private-button-primary-disabled-border-color,#207ab7);color:var(--tox-private-button-primary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button:focus:not(:disabled){background-color:var(--tox-private-button-primary-focus-background-color,#1c6ca1);border-color:var(--tox-private-button-primary-focus-border-color,#1c6ca1);color:var(--tox-private-button-primary-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button:hover:not(:disabled){background-color:var(--tox-private-button-primary-hover-background-color,#1c6ca1);border-color:var(--tox-private-button-primary-hover-border-color,#1c6ca1);color:var(--tox-private-button-primary-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button:active:not(:disabled){background-color:var(--tox-private-button-primary-active-background-color,#185d8c);border-color:var(--tox-private-button-primary-active-border-color,#185d8c);color:var(--tox-private-button-primary-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled{background-color:var(--tox-private-button-primary-enabled-background-color,#185d8c);border-color:var(--tox-private-button-primary-enabled-border-color,#185d8c);color:var(--tox-private-button-primary-enabled-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled[disabled]{color:var(--tox-private-button-primary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-primary-enabled-focus-background-color,#154f76);border-color:var(--tox-private-button-primary-enabled-focus-border-color,#154f76);color:var(--tox-private-button-primary-enabled-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-primary-enabled-hover-background-color,#154f76);border-color:var(--tox-private-button-primary-enabled-hover-border-color,#154f76);color:var(--tox-private-button-primary-enabled-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-primary-enabled-active-background-color,#114060);border-color:var(--tox-private-button-primary-enabled-active-border-color,#114060);color:var(--tox-private-button-primary-enabled-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary{background-color:var(--tox-private-button-secondary-background-color,#f0f0f0);border-color:var(--tox-private-button-secondary-border-color,#f0f0f0);color:var(--tox-private-button-secondary-text-color,#222f3e);border-style:solid;border-width:1px;background-image:none;background-position:0 0;background-repeat:repeat;border-radius:3px;box-shadow:none;font-size:14px;font-style:normal;font-weight:700;letter-spacing:normal;outline:0;padding:4px 16px;-webkit-text-decoration:none;text-decoration:none;text-transform:none}.tox .tox-button--secondary[disabled]{background-color:var(--tox-private-button-secondary-disabled-background-color,#f0f0f0);background-image:none;border-color:var(--tox-private-button-secondary-disabled-border-color,#f0f0f0);color:var(--tox-private-button-secondary-disabled-text-color,rgba(34,47,62,.5));cursor:not-allowed}.tox .tox-button--secondary:focus:not(:disabled){background-color:var(--tox-private-button-secondary-focus-background-color,#e3e3e3);border-color:var(--tox-private-button-secondary-focus-border-color,#e3e3e3);color:var(--tox-private-button-secondary-focus-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary:hover:not(:disabled){background-color:var(--tox-private-button-secondary-hover-background-color,#e3e3e3);border-color:var(--tox-private-button-secondary-hover-border-color,#e3e3e3);color:var(--tox-private-button-secondary-hover-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary:active:not(:disabled){background-color:var(--tox-private-button-secondary-active-background-color,#d6d6d6);border-color:var(--tox-private-button-secondary-active-border-color,#d6d6d6);color:var(--tox-private-button-secondary-active-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled{background-color:var(--tox-private-button-secondary-enabled-background-color,#b1d0e6);border-color:var(--tox-private-button-secondary-enabled-border-color,#b1d0e6);color:var(--tox-private-button-secondary-enabled-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled[disabled]{color:var(--tox-private-button-secondary-disabled-text-color,rgba(34,47,62,.5));cursor:not-allowed}.tox .tox-button--secondary.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-focus-background-color,#9ec5e0);border-color:var(--tox-private-button-secondary-enabled-focus-border-color,#9ec5e0);color:var(--tox-private-button-secondary-enabled-focus-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-hover-background-color,#9ec5e0);border-color:var(--tox-private-button-secondary-enabled-hover-border-color,#9ec5e0);color:var(--tox-private-button-secondary-enabled-hover-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-active-background-color,#8ab9d9);border-color:var(--tox-private-button-secondary-enabled-active-border-color,#8ab9d9);color:var(--tox-private-button-secondary-enabled-active-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--naked{background-color:transparent;border-color:transparent;box-shadow:unset;color:var(--tox-private-button-naked-text-color,#222f3e)}.tox .tox-button--naked[disabled]{background-color:#f0f0f0;border-color:#f0f0f0;color:var(--tox-private-button-naked-disabled-text-color,rgba(34,47,62,.5));cursor:not-allowed}.tox .tox-button--naked:focus:not(:disabled){background-color:var(--tox-private-button-naked-focus-background-color,#e3e3e3);border-color:var(--tox-private-button-naked-focus-border-color,#e3e3e3);color:var(--tox-private-button-naked-focus-text-color,#222f3e);box-shadow:none}.tox .tox-button--naked:hover:not(:disabled){background-color:var(--tox-private-button-naked-hover-background-color,#e3e3e3);border-color:var(--tox-private-button-naked-hover-background-color,#e3e3e3);color:var(--tox-private-button-naked-hover-text-color,#222f3e);box-shadow:none}.tox .tox-button--naked:active:not(:disabled){background-color:var(--tox-private-button-naked-active-background-color,#d6d6d6);border-color:var(--tox-private-button-naked-active-border-color,#d6d6d6);color:var(--tox-private-button-naked-active-text-color,#222f3e);box-shadow:none}.tox .tox-button--naked.tox-button--enabled{background-color:var(--tox-private-button-naked-enabled-background-color,#b1ccdf);border-color:var(--tox-private-button-naked-enabled-border-color,#b1ccdf);color:var(--tox-private-button-naked-enabled-text-color,#222f3e);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled[disabled]{color:var(--tox-private-button-naked-disabled-text-color,rgba(34,47,62,.5));cursor:not-allowed}.tox .tox-button--naked.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-naked-enabled-focus-background-color,#9fc1d7);border-color:var(--tox-private-button-naked-enabled-focus-border-color,#9fc1d7);color:var(--tox-private-button-naked-enabled-focus-text-color,#222f3e);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-naked-enabled-hover-background-color,#9fc1d7);border-color:var(--tox-private-button-naked-enabled-hover-border-color,#9fc1d7);color:var(--tox-private-button-naked-enabled-hover-text-color,#222f3e);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-naked-enabled-active-background-color,#8db5d0);border-color:var(--tox-private-button-naked-enabled-active-border-color,#8db5d0);color:var(--tox-private-button-naked-enabled-active-text-color,#222f3e);box-shadow:unset}.tox .tox-button--secondary--outline{background-color:transparent;border-color:var(--tox-private-button-secondary-outline-border-color,#f0f0f0);color:var(--tox-private-button-secondary-outline-text-color,#222f3e)}.tox .tox-button--secondary--outline:focus:not(:disabled){background-color:var(--tox-private-button-secondary-outline-focus-background-color,#e3e3e3);border-color:var(--tox-private-button-secondary-outline-focus-border-color,#e3e3e3);color:var(--tox-private-button-secondary-outline-focus-text-color,#222f3e)}.tox .tox-button--secondary--outline:hover:not(:disabled){background-color:var(--tox-private-button-secondary-outline-hover-background-color,#f0f0f0);border-color:var(--tox-private-button-secondary-outline-hover-border-color,#e3e3e3);color:var(--tox-private-button-secondary-outline-hover-text-color,#222f3e)}.tox .tox-button--secondary--outline:active:not(:disabled){background-color:var(--tox-private-button-secondary-outline-active-background-color,#e3e3e3);border-color:var(--tox-private-button-secondary-outline-active-border-color,#e3e3e3);color:var(--tox-private-button-secondary-outline-active-text-color,#222f3e)}.tox .tox-button--secondary--outline[disabled]{background-color:var(--tox-private-button-secondary-outline-disabled-background-color,transparent);border-color:var(--tox-private-button-secondary-outline-disabled-border-color,#f0f0f0);color:var(--tox-private-button-secondary-outline-disabled-text-color,rgba(34,47,62,.5))}.tox .tox-checkbox{align-items:center;border-radius:var(--tox-private-checkbox-border-radius,3px);cursor:pointer;display:flex;height:var(--tox-private-control-height,36px);min-width:var(--tox-private-control-height,36px)}.tox .tox-checkbox__input{height:1px;overflow:hidden;position:absolute;top:auto;width:1px}.tox .tox-checkbox__icons{display:flex;align-items:center;justify-content:center;box-sizing:content-box;padding:var(--tox-private-pad-xs,calc(4px - 1px));border-radius:var(--tox-private-checkbox-border-radius,3px);box-shadow:0 0 0 2px transparent;height:var(--tox-private-control-line-height,24px);aspect-ratio:1/1}.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:block;fill:var(--tox-private-checkbox-unselected-color,rgba(34,47,62,0.3))}@media (forced-colors:active){.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:currentColor!important}}.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:none;fill:var(--tox-private-checkbox-indeterminate-color,#207ab7)}.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg{display:none;fill:var(--tox-private-checkbox-selected-color,#207ab7)}.tox .tox-checkbox--disabled{color:var(--tox-private-checkbox-disabled-text-color,rgba(34,47,62,.5));cursor:not-allowed}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(34,47,62,0.5))}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(34,47,62,0.5))}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(34,47,62,0.5))}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__checked svg{display:block}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:block}.tox input.tox-checkbox__input:focus+.tox-checkbox__icons{box-shadow:var(--tox-private-checkbox-focus-box-shadow,inset 0 0 0 1px #207ab7)}.tox:not([dir=rtl]) .tox-checkbox__label{margin-left:var(--tox-private-pad-xs,4px)}.tox:not([dir=rtl]) .tox-checkbox__input{left:-10000px}.tox:not([dir=rtl]) .tox-bar .tox-checkbox{margin-left:var(--tox-private-pad-xs,4px)}.tox[dir=rtl] .tox-checkbox__label{margin-right:var(--tox-private-pad-xs,4px)}.tox[dir=rtl] .tox-checkbox__input{right:-10000px}.tox[dir=rtl] .tox-bar .tox-checkbox{margin-right:var(--tox-private-pad-xs,4px)}.tox .tox-collection--toolbar .tox-collection__group{display:flex;padding:0}.tox .tox-collection--grid .tox-collection__group{display:flex;flex-wrap:wrap;max-height:208px;overflow-x:hidden;overflow-y:auto;padding:0}.tox .tox-collection--list .tox-collection__group{border-bottom-width:0;border-color:#ccc;border-left-width:0;border-right-width:0;border-style:solid;border-top-width:1px;padding:4px 0;display:flex;flex-direction:column}.tox .tox-collection--list .tox-collection__group:first-child{border-top-width:0}.tox .tox-collection__group-heading{background-color:#e6e6e6;color:rgba(34,47,62,.7);cursor:default;font-size:12px;font-style:normal;font-weight:400;margin-bottom:4px;margin-top:-4px;padding:4px 8px;text-transform:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-collection__item{align-items:center;border-radius:3px;color:#222f3e;display:flex;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-image-selector-menu .tox-collection__item,.tox .tox-image-selector-menu .tox-collection__item-image-selector{flex-direction:column}.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-checkmark,.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-icon,.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-image,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-checkmark,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-icon,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-image{flex-grow:1}.tox .tox-image-selector-menu .tox-collection__item label,.tox .tox-image-selector-menu .tox-collection__item-image-selector label{width:48px;white-space:nowrap;overflow:hidden;font-size:12px;color:#222f3e;text-align:center;align-self:flex-end}.tox .tox-image-selector-menu .tox-collection__item-checkmark{height:24px;width:24px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.tox .tox-image-selector-menu .tox-collection__item-checkmark svg path{fill:#207ab7;stroke:#207ab7}.tox .tox-image-selector-menu .tox-image-selector__row .tox-collection__item-image-selector.tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#fff}.tox .tox-image-selector-menu .tox-image-selector__row .tox-collection__item-image-selector.tox-collection__item--enabled:not(.tox-collection__item--state-disabled){z-index:2;background-color:#fff;opacity:.8;background-clip:content-box}.tox .tox-collection--list .tox-collection__item{padding:4px 8px}.tox .tox-collection--toolbar .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--grid .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--list .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#fff;color:#222f3e}.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#dee0e2;color:#222f3e}@media (forced-colors:active){.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){border:solid 1px}}.tox .tox-collection--grid .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#c8cbcf;color:#222f3e}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#dee0e2;color:#222f3e;position:relative;z-index:1}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent inset;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border:2px solid highlight}}.tox .tox-collection--toolbar .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#c8cbcf;color:#222f3e}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){border-radius:3px;outline:solid 1px}}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled){color:#222f3e;background-color:#fff;position:relative}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):hover{background-color:#dee0e2;color:#222f3e}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus{background-color:#dee0e2;color:#222f3e}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border:2px solid highlight}}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):hover{border-radius:3px;outline:solid 1px}}.tox .tox-collection__item-image{border:1px solid #ccc;border-radius:3px;display:flex;flex-direction:column;justify-content:center;margin-bottom:4px;position:relative}.tox .tox-collection__item-checkmark,.tox .tox-collection__item-icon{align-items:center;display:flex;height:24px;justify-content:center;width:24px}.tox .tox-collection__item-checkmark svg,.tox .tox-collection__item-icon svg{fill:currentColor}.tox .tox-collection--toolbar-lg .tox-collection__item-icon{height:48px;width:48px}.tox .tox-collection__item-label{color:currentColor;display:inline-block;flex:1;font-size:14px;font-style:normal;font-weight:400;line-height:24px;max-width:100%;text-transform:none;word-break:break-all}.tox .tox-collection__item-separator{border-bottom:1px solid #ccc;height:0;margin:4px 0}.tox .tox-collection__item-accessory{color:currentColor;display:inline-block;font-size:14px;height:24px;line-height:24px;text-transform:none}.tox .tox-collection__item-caret{align-items:center;display:flex;min-height:24px}.tox .tox-collection__item-caret::after{content:'';font-size:0;min-height:inherit}.tox .tox-collection__item-caret svg{fill:currentColor}.tox .tox-collection__item--state-disabled{background-color:transparent;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg{fill:rgba(34,47,62,0.5)}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg{display:none}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-accessory+.tox-collection__item-checkmark{display:none}.tox .tox-collection--horizontal{background-color:#fff;border:1px solid #ccc;border-radius:3px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:nowrap;margin-bottom:0;overflow-x:auto;padding:0}.tox .tox-collection--horizontal .tox-collection__group{align-items:center;display:flex;flex-wrap:nowrap;margin:0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item{height:34px;margin:3px 0 2px 0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item-label{white-space:nowrap}.tox .tox-collection--horizontal .tox-collection__item-caret{margin-left:4px}.tox .tox-collection__item-container{display:flex}.tox .tox-collection__item-container--row{align-items:center;flex:1 1 auto;flex-direction:row}.tox .tox-collection__item-container--row.tox-collection__item-container--align-left{margin-right:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--align-right{justify-content:flex-end;margin-left:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-top{align-items:flex-start;margin-bottom:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-middle{align-items:center}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-bottom{align-items:flex-end;margin-top:auto}.tox .tox-collection__item-container--column{align-self:center;flex:1 1 auto;flex-direction:column}.tox .tox-collection__item-container--column.tox-collection__item-container--align-left{align-items:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--align-right{align-items:flex-end}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-top{align-self:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-middle{align-self:center}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-bottom{align-self:flex-end}.tox:not([dir=rtl]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-right:1px solid #ccc}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>:not(:first-child){margin-left:8px}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-left:4px}.tox:not([dir=rtl]) .tox-collection__item-accessory{margin-left:16px;text-align:right}.tox:not([dir=rtl]) .tox-collection .tox-collection__item-caret{margin-left:16px}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-left:1px solid #ccc}.tox[dir=rtl] .tox-collection--list .tox-collection__item>:not(:first-child){margin-right:8px}.tox[dir=rtl] .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-right:4px}.tox[dir=rtl] .tox-collection__item-accessory{margin-right:16px;text-align:left}.tox[dir=rtl] .tox-collection .tox-collection__item-caret{margin-right:16px;transform:rotateY(180deg)}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__item-caret{margin-right:4px}@media (forced-colors:active){.tox .tox-hue-slider,.tox .tox-rgb-form .tox-rgba-preview{background-color:currentColor!important;border:1px solid highlight!important;forced-color-adjust:none}}.tox .tox-color-picker-container{display:flex;flex-direction:row;height:225px;margin:0}.tox .tox-sv-palette{box-sizing:border-box;display:flex;height:100%}.tox .tox-sv-palette-spectrum{height:100%}.tox .tox-sv-palette,.tox .tox-sv-palette-spectrum{width:225px}.tox .tox-sv-palette-thumb{background:0 0;border:1px solid #000;border-radius:50%;box-sizing:content-box;height:12px;position:absolute;width:12px}.tox .tox-sv-palette-inner-thumb{border:1px solid #fff;border-radius:50%;height:10px;position:absolute;width:10px}.tox .tox-hue-slider{box-sizing:border-box;height:100%;width:25px}.tox .tox-hue-slider-spectrum{background:linear-gradient(to bottom,red,#ff0080,#f0f,#8000ff,#00f,#0080ff,#0ff,#00ff80,#0f0,#80ff00,#ff0,#ff8000,red);height:100%;width:100%}.tox .tox-hue-slider,.tox .tox-hue-slider-spectrum{width:20px}.tox .tox-hue-slider-spectrum:focus,.tox .tox-sv-palette-spectrum:focus{outline:#08f solid}.tox .tox-hue-slider-thumb{background:#fff;border:1px solid #000;box-sizing:content-box;height:4px;width:100%}.tox .tox-rgb-form{display:flex;flex-direction:column;justify-content:space-between}.tox .tox-rgb-form div{align-items:center;display:flex;justify-content:space-between;margin-bottom:5px;width:inherit}.tox .tox-rgb-form input{min-width:6em}.tox .tox-rgb-form input.tox-invalid{border:1px solid red!important;box-shadow:0 0 0 1px red}.tox .tox-rgb-container{position:relative}.tox .tox-rgb-form .tox-invalid-icon{align-content:center;align-items:center;display:none;height:100%;position:absolute;right:0;top:0}.tox .tox-rgb-form .tox-invalid-icon .tox-control-wrap__status-icon-invalid{margin:0}.tox .tox-rgb-warning-note{background-color:#f5cccc;border:1px solid #f0b3b3;border-radius:3px;color:#77181f;padding:3px}.tox input.tox-invalid+.tox-invalid-icon{display:flex}.tox .tox-rgb-form .tox-rgba-preview{border:1px solid #000;flex-grow:2;margin-bottom:0}.tox:not([dir=rtl]) .tox-sv-palette{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider-thumb{margin-left:-1px}.tox:not([dir=rtl]) .tox-rgb-form label{margin-right:.5em}.tox[dir=rtl] .tox-sv-palette{margin-left:15px}.tox[dir=rtl] .tox-hue-slider{margin-left:15px}.tox[dir=rtl] .tox-hue-slider-thumb{margin-right:-1px}.tox[dir=rtl] .tox-rgb-form label{margin-left:.5em}.tox .tox-toolbar .tox-swatches,.tox .tox-toolbar__overflow .tox-swatches,.tox .tox-toolbar__primary .tox-swatches{margin:2px 0 3px 4px}.tox .tox-collection--list .tox-collection__group .tox-swatches-menu{border:0;margin:-4px 0}.tox .tox-swatches__row{display:flex}@media (forced-colors:active){.tox .tox-swatches__row{forced-color-adjust:none}}.tox .tox-swatch{height:30px;transition:transform .15s,box-shadow .15s;width:30px}.tox .tox-swatch:focus,.tox .tox-swatch:hover{box-shadow:0 0 0 1px rgba(127,127,127,.3) inset;transform:scale(.8)}.tox .tox-swatch--remove{align-items:center;display:flex;justify-content:center}.tox .tox-swatch--remove svg path{stroke:#e74c3c}.tox .tox-swatches__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-swatches__picker-btn svg{fill:#222f3e;height:24px;width:24px}.tox .tox-swatches__picker-btn:hover{background:#dee0e2}.tox div.tox-swatch:not(.tox-swatch--remove) svg{display:none;fill:#222f3e;height:24px;margin:calc((30px - 24px)/ 2) calc((30px - 24px)/ 2);width:24px}.tox div.tox-swatch:not(.tox-swatch--remove) svg path{fill:#fff;paint-order:stroke;stroke:#222f3e;stroke-width:2px}.tox div.tox-swatch:not(.tox-swatch--remove).tox-collection__item--enabled svg{display:block}.tox:not([dir=rtl]) .tox-swatches__picker-btn{margin-left:auto}.tox[dir=rtl] .tox-swatches__picker-btn{margin-right:auto}.tox .tox-comment{background:#fff;border:1px solid #fff;border-radius:3px;padding:8px;padding-bottom:16px;position:relative}.tox .tox-comment:hover{box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-comment.tox-comment--selected{background-color:#fff2c9;border:1px solid #ffcf30;box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-comment.tox-comment--selected:focus{border:2px solid transparent;margin:-1px}.tox .tox-comment.tox-comment--selected:focus:not(:first-child){margin-top:7px}.tox .tox-comment.tox-comment--selected .tox-comment__single{margin-bottom:12px}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus{position:relative}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus::after{top:-9px;pointer-events:none;position:absolute;content:"";display:block;bottom:-9px;left:-9px;right:-9px;border-radius:3px;border:2px solid transparent}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus:last-of-type:has(textarea):after{bottom:calc((12px + 16px + 1px) * -1)}.tox .tox-comment__header{align-items:center;color:#222f3e;display:flex;justify-content:space-between}.tox .tox-comment__date{color:#222f3e;font-size:12px;line-height:18px}.tox .tox-comment__body{color:#222f3e;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;margin-top:8px;position:relative;text-transform:initial;transition:max-height .5s cubic-bezier(0, 1, 0, 1);white-space:pre-wrap}.tox .tox-comment__body.tox-comment__body--expanded{max-height:100em;transition:max-height 1s ease-in-out}.tox .tox-comment__body.tox-comment__body--pending{transition:max-height 0s}.tox .tox-comment__body p{margin:0}.tox .tox-comment__body textarea{resize:none;white-space:normal;width:100%;font-size:16px}.tox .tox-comment__loading-text{align-items:center;color:#222f3e;display:flex;flex-direction:column;position:relative}.tox .tox-comment__loading-text>div{padding-bottom:16px}.tox .tox-comment__overlaytext{bottom:0;flex-direction:column;font-size:14px;left:0;padding:1em;position:absolute;right:0;top:0;z-index:10}.tox .tox-comment__overlaytext p{background-color:#fff;box-shadow:0 0 8px 8px #fff;color:#222f3e;text-align:center}.tox .tox-comment__overlaytext div:nth-of-type(2){font-size:.8em}.tox .tox-comment__expander{padding-top:8px}.tox .tox-comment__expander p{color:rgba(34,47,62,.7);font-size:14px;font-style:normal}.tox .tox-comment__expander p:focus{font-weight:700}.tox .tox-comment__buttonspacing{padding-top:16px;text-align:center}.tox .tox-tbtn.tox-comment__mention-btn{display:flex;width:34px;height:34px;padding:5px;justify-content:center;align-items:center;margin:0;background-color:transparent}.tox .tox-comment-thread{background:#fff;position:relative;border-radius:3px;background-color:transparent}.tox .tox-comment-thread>:not(:first-child){margin-top:8px}.tox .tox-comment-thread__overlay::after{background:#fff;bottom:0;content:"";display:flex;left:0;opacity:.9;position:absolute;right:0;top:0;z-index:5}.tox .tox-comment__reply{display:flex;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__reply>:first-child{margin-bottom:8px;width:100%}.tox .tox-comment__edit{display:flex;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__gradient::after{background:linear-gradient(rgba(255,255,255,0),#fff);bottom:0;content:"";display:block;height:5em;margin-top:-40px;position:absolute;width:100%}.tox .tox-comment__overlay{background:#fff;bottom:0;display:flex;flex-direction:column;flex-grow:1;left:0;opacity:.9;position:absolute;right:0;text-align:center;top:0;z-index:5}.tox .tox-comment__busy-spinner{align-items:center;background-color:#fff;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:20}.tox .tox-comment__scroll{display:flex;flex-direction:column;flex-shrink:1;overflow:auto;padding:12px;scroll-behavior:smooth}.tox .tox-comment__scroll:has(textarea:focus){scroll-behavior:auto}.tox .tox-comment--disappearing{transition:opacity .5s ease}.tox .tox-comment[data-transitioning-destination=deleting]{opacity:0}.tox .tox-ring-loader{width:10px;height:10px;border:1px solid #fff;border-bottom-color:transparent;border-radius:50%;display:inline-block;box-sizing:border-box;animation:tox-rotation 1s linear infinite}.tox:not([dir=rtl]) .tox-comment__edit{margin-left:8px}.tox:not([dir=rtl]) .tox-comment__buttonspacing>:last-child,.tox:not([dir=rtl]) .tox-comment__edit>:last-child,.tox:not([dir=rtl]) .tox-comment__reply>:last-child{margin-left:8px}.tox[dir=rtl] .tox-comment__edit{margin-right:8px}.tox[dir=rtl] .tox-comment__buttonspacing>:last-child,.tox[dir=rtl] .tox-comment__edit>:last-child,.tox[dir=rtl] .tox-comment__reply>:last-child{margin-right:8px}.tox .tox-user{align-items:center;display:flex}.tox .tox-user__avatar svg{fill:rgba(34,47,62,0.7)}.tox .tox-user__avatar img{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-user__name{color:#222f3e;font-size:14px;font-style:normal;font-weight:700;line-height:18px;text-transform:none}.tox:not([dir=rtl]) .tox-user__avatar img,.tox:not([dir=rtl]) .tox-user__avatar svg{margin-right:8px}.tox:not([dir=rtl]) .tox-user__avatar+.tox-user__name{margin-left:8px}.tox[dir=rtl] .tox-user__avatar img,.tox[dir=rtl] .tox-user__avatar svg{margin-left:8px}.tox[dir=rtl] .tox-user__avatar+.tox-user__name{margin-right:8px}.tox .tox-dialog-wrap{align-items:center;display:flex;justify-content:center;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1100}.tox .tox-dialog-wrap__backdrop{background-color:rgba(255,255,255,.75);bottom:0;left:0;position:absolute;right:0;top:0;z-index:1}.tox .tox-dialog-wrap__backdrop--opaque{background-color:#fff}.tox .tox-dialog{background-color:#fff;border-color:#ccc;border-radius:3px;border-style:solid;border-width:1px;box-shadow:0 16px 16px -10px rgba(34,47,62,.15),0 0 40px 1px rgba(34,47,62,.15);display:flex;flex-direction:column;max-height:100%;max-width:480px;overflow:hidden;position:relative;width:95vw;z-index:2}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog{align-self:flex-start;margin:8px auto;max-height:calc(100vh - 8px * 2);width:calc(100vw - 16px)}}.tox .tox-dialog-inline{z-index:1100}.tox .tox-dialog__header{align-items:center;background-color:#fff;border-bottom:none;color:#222f3e;display:flex;font-size:16px;justify-content:space-between;padding:8px 16px 0 16px;position:relative}.tox .tox-dialog__header .tox-button{z-index:1}.tox .tox-dialog__draghandle{cursor:grab;height:100%;left:0;position:absolute;top:0;width:100%}.tox .tox-dialog__draghandle:active{cursor:grabbing}.tox .tox-dialog__dismiss{margin-left:auto}.tox .tox-dialog__title{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:20px;font-style:normal;font-weight:400;line-height:1.3;margin:0;text-transform:none}.tox .tox-dialog__body{color:#222f3e;display:flex;flex:1;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;min-width:0;text-align:left;text-transform:none}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body{flex-direction:column}}.tox .tox-dialog__body-nav{align-items:flex-start;display:flex;flex-direction:column;flex-shrink:0;padding:16px 16px}@media only screen and (min-width:768px){.tox .tox-dialog__body-nav{max-width:11em}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body-nav{flex-direction:row;-webkit-overflow-scrolling:touch;overflow-x:auto;padding-bottom:0}}.tox .tox-dialog__body-nav-item{border-bottom:2px solid transparent;color:rgba(34,47,62,.7);display:inline-block;flex-shrink:0;font-size:14px;line-height:1.3;margin-bottom:8px;max-width:13em;-webkit-text-decoration:none;text-decoration:none}.tox .tox-dialog__body-nav-item:focus{background-color:rgba(32,122,183,.1)}.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid #214d6e;color:#214d6e}@media (forced-colors:active){.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid highlight;color:highlight}}.tox .tox-dialog__body-content{box-sizing:border-box;display:flex;flex:1;flex-direction:column;max-height:min(650px,calc(100vh - 110px));overflow:auto;-webkit-overflow-scrolling:touch;padding:16px 16px}.tox .tox-dialog__body-content>*{margin-bottom:0;margin-top:16px}.tox .tox-dialog__body-content>:first-child{margin-top:0}.tox .tox-dialog__body-content>:last-child{margin-bottom:0}.tox .tox-dialog__body-content>:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content a{color:#214d6e;cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content a:focus,.tox .tox-dialog__body-content a:hover{color:#0a1620;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content a:focus-visible{border-radius:1px;outline:2px solid #214d6e;outline-offset:2px}.tox .tox-dialog__body-content a:active{color:#000;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content svg{fill:#222f3e}.tox .tox-dialog__body-content strong{font-weight:700}.tox .tox-dialog__body-content ul{list-style-type:disc}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{padding-inline-start:2.5rem}.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{margin-bottom:16px}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content dt,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{display:block;margin-inline-end:0;margin-inline-start:0}.tox .tox-dialog__body-content .tox-form__group h1{color:#222f3e;font-size:20px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group h2{color:#222f3e;font-size:16px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group p{margin-bottom:16px}.tox .tox-dialog__body-content .tox-form__group h1:first-child,.tox .tox-dialog__body-content .tox-form__group h2:first-child,.tox .tox-dialog__body-content .tox-form__group p:first-child{margin-top:0}.tox .tox-dialog__body-content .tox-form__group h1:last-child,.tox .tox-dialog__body-content .tox-form__group h2:last-child,.tox .tox-dialog__body-content .tox-form__group p:last-child{margin-bottom:0}.tox .tox-dialog__body-content .tox-form__group h1:only-child,.tox .tox-dialog__body-content .tox-form__group h2:only-child,.tox .tox-dialog__body-content .tox-form__group p:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--center{text-align:center}.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--end{text-align:end}.tox .tox-dialog--width-lg{height:650px;max-width:1200px}.tox .tox-dialog--fullscreen{height:100%;max-width:100%}.tox .tox-dialog--fullscreen .tox-dialog__body-content{max-height:100%}.tox .tox-dialog--width-md{max-width:800px}.tox .tox-dialog--width-md .tox-dialog__body-content{overflow:auto}.tox .tox-dialog__body-content--centered{text-align:center}.tox .tox-dialog__footer{align-items:center;background-color:#fff;border-top:1px solid #ccc;display:flex;justify-content:space-between;padding:8px 16px}.tox .tox-dialog__footer-end,.tox .tox-dialog__footer-start{display:flex}.tox .tox-dialog__busy-spinner{align-items:center;background-color:rgba(255,255,255,.75);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:3}.tox .tox-dialog__table{border-collapse:collapse;width:100%}.tox .tox-dialog__table thead th{font-weight:700;padding-bottom:8px}.tox .tox-dialog__table thead th:first-child{padding-right:8px}.tox .tox-dialog__table tbody tr{border-bottom:1px solid #404040}.tox .tox-dialog__table tbody tr:last-child{border-bottom:none}.tox .tox-dialog__table td{padding-bottom:8px;padding-top:8px}.tox .tox-dialog__table td:first-child{padding-right:8px}.tox .tox-dialog__iframe{min-height:200px}.tox .tox-dialog__iframe.tox-dialog__iframe--opaque{background:#fff}.tox .tox-navobj-bordered{position:relative}.tox .tox-navobj-bordered::before{border:1px solid #ccc;border-radius:3px;content:'';inset:0;opacity:1;pointer-events:none;position:absolute;z-index:1}.tox .tox-navobj-bordered iframe{border-radius:3px}.tox .tox-navobj-bordered-focus.tox-navobj-bordered::before{border-color:#207ab7;box-shadow:none;outline:2px solid rgba(32,122,183,.25)}.tox .tox-dialog__popups{position:absolute;width:100%;z-index:1100}.tox .tox-dialog__body-iframe{display:flex;flex:1;flex-direction:column}.tox .tox-dialog__body-iframe .tox-navobj{display:flex;flex:1}.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2){flex:1;height:100%}.tox .tox-dialog-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-dialog-dock-fadein{opacity:1;visibility:visible}.tox .tox-dialog-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein{transition-delay:0s}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav{margin-right:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav-item:not(:first-child){margin-left:8px}}.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-end>*,.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-start>*{margin-left:8px}.tox[dir=rtl] .tox-dialog__body{text-align:right}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav{margin-left:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav-item:not(:first-child){margin-right:8px}}.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-end>*,.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-start>*{margin-right:8px}.tox .tox-dropdown-content{box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);position:fixed;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;overflow:auto;height:fit-content;width:fit-content;border-radius:var(--tox-private-panel-border-radius,3px);background-color:var(--tox-private-background-color,#fff);max-height:50vh}.tox .tox-dropdown-content .tox-menu{width:100%;box-shadow:none}body.tox-dialog__disable-scroll{overflow:hidden}.tox .tox-dropzone-container{display:flex;flex:1}.tox .tox-dropzone{align-items:center;background:#fff;border:2px dashed #ccc;box-sizing:border-box;display:flex;flex-direction:column;flex-grow:1;justify-content:center;min-height:100px;padding:10px}.tox .tox-dropzone p{color:rgba(34,47,62,.7);margin:0 0 16px 0}.tox .tox-edit-area{display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-edit-area::before{border:0 solid transparent;border-radius:4px;content:'';inset:0;opacity:0;pointer-events:none;position:absolute;transition:opacity .15s;z-index:1}@media (forced-colors:active){.tox .tox-edit-area::before{border:0 solid highlight}}.tox .tox-edit-area__iframe{background-color:#fff;border:0;box-sizing:border-box;flex:1;height:100%;position:absolute;width:100%}.tox.tox-edit-focus .tox-edit-area::before{opacity:1}.tox.tox-inline-edit-area{border:1px dotted #ccc}.tox .tox-expandable-box{background:var(--tox-private-background-color,#fff);border-radius:var(--tox-private-control-border-radius,3px);border:1px solid var(--tox-private-border-color,#ccc);display:flex;flex-direction:column;justify-content:stretch;overflow:hidden}.tox .tox-expandable-box>.tox-button{margin:0 var(--tox-private-pad-md,16px) var(--tox-private-pad-md,16px)}.tox .tox-expandable-box__title{align-items:center;background:hsl(from var(--tox-private-color-tint,#207ab7) h s l / 10%);border-bottom:1px solid var(--tox-private-border-color,#ccc);color:var(--tox-private-text-color,#222f3e);display:flex;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);gap:var(--tox-private-pad-sm,8px);min-width:0;padding:var(--tox-private-pad-sm,8px) var(--tox-private-pad-md,16px)}.tox .tox-expandable-box__title .tox-icon{flex-shrink:0;height:var(--tox-private-base-value,16px);fill:var(--tox-private-text-color,#222f3e)}.tox .tox-expandable-box__title-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-expandable-box__content{margin:var(--tox-private-pad-md,16px);overflow:auto}.tox .tox-expandable-box__content--overflowing{position:relative;overflow:hidden}.tox .tox-expandable-box__content--overflowing::after{content:'';position:absolute;bottom:0;left:0;right:0;height:min(100px,100%);pointer-events:none;background:linear-gradient(to bottom,transparent 50%,var(--tox-private-background-color,#fff))}.tox .tox-expandable-box__content--expanded{max-height:fit-content}.tox .tox-control-wrap{flex:1;position:relative}.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid,.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown,.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid{display:none}.tox .tox-control-wrap svg{display:block}.tox .tox-control-wrap__status-icon-wrap{position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-control-wrap__status-icon-invalid svg{fill:#c00}.tox .tox-control-wrap__status-icon-unknown svg{fill:orange}.tox .tox-control-wrap__status-icon-valid svg{fill:green}.tox:not([dir=rtl]) .tox-control-wrap--status-invalid .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-unknown .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-valid .tox-textfield{padding-right:32px}.tox:not([dir=rtl]) .tox-control-wrap__status-icon-wrap{right:4px}.tox[dir=rtl] .tox-control-wrap--status-invalid .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-unknown .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-valid .tox-textfield{padding-left:32px}.tox[dir=rtl] .tox-control-wrap__status-icon-wrap{left:4px}.tox .tox-custom-preview{border-color:#ccc;border-radius:3px;border-style:solid;border-width:1px;flex:1;padding:8px}.tox .tox-autocompleter{max-width:25em}.tox .tox-autocompleter .tox-menu{box-sizing:border-box;max-width:25em}.tox .tox-autocompleter .tox-autocompleter-highlight{font-weight:700}.tox .tox-color-input{display:flex;position:relative;z-index:1}.tox .tox-color-input .tox-textfield{z-index:-1}.tox .tox-color-input span{border-color:rgba(34 47 62 / 20%);border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;height:24px;position:absolute;top:6px;width:24px}@media (forced-colors:active){.tox .tox-color-input span{border-color:currentColor;border-width:2px!important;forced-color-adjust:none}}.tox .tox-color-input span:focus:not([aria-disabled=true]),.tox .tox-color-input span:hover:not([aria-disabled=true]){border-color:#207ab7;cursor:pointer}.tox .tox-color-input span::before{background-image:linear-gradient(45deg,rgba(0,0,0,.25) 25%,transparent 25%),linear-gradient(-45deg,rgba(0,0,0,.25) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.25) 75%),linear-gradient(-45deg,transparent 75%,rgba(0,0,0,.25) 75%);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px;border:1px solid #fff;border-radius:3px;box-sizing:border-box;content:'';height:24px;left:-1px;position:absolute;top:-1px;width:24px;z-index:-1}@media (forced-colors:active){.tox .tox-color-input span::before{border:none}}.tox .tox-color-input span[aria-disabled=true]{cursor:not-allowed}.tox:not([dir=rtl]) .tox-color-input .tox-textfield{padding-left:36px}.tox:not([dir=rtl]) .tox-color-input span{left:6px}.tox[dir=rtl] .tox-color-input .tox-textfield{padding-right:36px}.tox[dir=rtl] .tox-color-input span{right:6px}.tox .tox-label,.tox .tox-toolbar-label{color:rgba(34,47,62,.7);display:block;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;padding:0 8px 0 0;text-transform:none;white-space:nowrap}.tox .tox-toolbar-label{padding:0 8px}.tox[dir=rtl] .tox-label{padding:0 0 0 8px}.tox .tox-form{display:flex;flex:1;flex-direction:column}.tox .tox-form__group{box-sizing:border-box;margin-bottom:4px}.tox .tox-form-group--maximize{flex:1}.tox .tox-form__group--error{color:#c00}.tox .tox-form__group--collection{display:flex}.tox .tox-form__grid{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}.tox .tox-form__grid--2col>.tox-form__group{width:calc(50% - (8px / 2))}.tox .tox-form__grid--3col>.tox-form__group{width:calc(100% / 3 - (8px / 2))}.tox .tox-form__grid--4col>.tox-form__group{width:calc(25% - (8px / 2))}.tox .tox-form__controls-h-stack{align-items:center;display:flex}.tox .tox-form__group--inline{align-items:center;display:flex}.tox .tox-form__group--stretched{display:flex;flex:1;flex-direction:column}.tox .tox-form__group--stretched .tox-textarea{flex:1}.tox .tox-form__group--stretched .tox-navobj{display:flex;flex:1}.tox .tox-form__group--stretched .tox-navobj :nth-child(2){flex:1;height:100%}.tox:not([dir=rtl]) .tox-form__controls-h-stack>:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-form__controls-h-stack>:not(:first-child){margin-right:4px}.tox .tox-lock.tox-locked .tox-lock-icon__unlock,.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock{display:none}.tox .tox-context-form__group .tox-button--icon.tox-lock-context-form-size-input{margin-left:8px;margin-right:8px}.tox .tox-listboxfield .tox-listbox--select,.tox .tox-textarea,.tox .tox-textarea-wrap .tox-textarea:focus,.tox .tox-textfield,.tox .tox-toolbar-textfield{appearance:none;background-color:#fff;border-color:#ccc;border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#222f3e;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 4.75px;resize:none;width:100%}.tox .tox-textarea[disabled],.tox .tox-textfield[disabled],.tox .tox-toolbar-textfield[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-custom-editor:focus-within,.tox .tox-focusable-wrapper:focus,.tox .tox-listboxfield .tox-listbox--select:focus,.tox .tox-textarea-wrap:focus-within,.tox .tox-textarea:focus,.tox .tox-textfield:focus,.tox .tox-toolbar-textfield:focus{background-color:#fff;border-color:#207ab7;box-shadow:none;outline:2px solid rgba(32,122,183,.25)}.tox .tox-toolbar-textfield{max-width:250px;min-height:unset;height:34px;margin:2px 0 3px 0}.tox .tox-naked-btn{background-color:transparent;border:0;border-color:transparent;box-shadow:unset;color:#207ab7;cursor:pointer;display:block;margin:0;padding:0}.tox .tox-naked-btn svg{display:block;fill:#222f3e}.tox .tox-textfield-size{width:80px}.tox:not([dir=rtl]) .tox-toolbar-textfield+*{margin-left:4px}.tox[dir=rtl] .tox-toolbar-textfield+*{margin-right:4px}.tox .tox-listboxfield{cursor:pointer;position:relative}.tox .tox-listboxfield .tox-listbox--select[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-listbox__select-label{cursor:default;flex:1;margin:0 4px}.tox .tox-listbox__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-listbox__select-chevron svg{fill:#222f3e}@media (forced-colors:active){.tox .tox-listbox__select-chevron svg{fill:currentColor!important}}.tox .tox-listboxfield .tox-listbox--select{align-items:center;display:flex}.tox:not([dir=rtl]) .tox-listboxfield svg{right:8px}.tox[dir=rtl] .tox-listboxfield svg{left:8px}.tox .tox-selectfield{cursor:pointer;position:relative}.tox .tox-selectfield select{appearance:none;background-color:#fff;border-color:#ccc;border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#222f3e;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 4.75px;resize:none;width:100%}.tox .tox-selectfield select[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-selectfield select::-ms-expand{display:none}.tox .tox-selectfield select:focus{background-color:#fff;border-color:#207ab7;box-shadow:none;outline:2px solid rgba(32,122,183,.25)}.tox .tox-selectfield svg{pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-selectfield select option:checked{background-color:revert;color:revert}.tox:not([dir=rtl]) .tox-selectfield select[size="0"],.tox:not([dir=rtl]) .tox-selectfield select[size="1"]{padding-right:24px}.tox:not([dir=rtl]) .tox-selectfield svg{right:8px}.tox[dir=rtl] .tox-selectfield select[size="0"],.tox[dir=rtl] .tox-selectfield select[size="1"]{padding-left:24px}.tox[dir=rtl] .tox-selectfield svg{left:8px}.tox .tox-textarea-wrap{border-color:#ccc;border-radius:3px;border-style:solid;border-width:1px;display:flex;flex:1;overflow:hidden}.tox .tox-textarea{appearance:textarea;white-space:pre-wrap}.tox .tox-textarea-wrap .tox-textarea{border:none}.tox .tox-textarea-wrap .tox-textarea:focus{border:none}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}.tox .tox-help__more-link{list-style:none;margin-top:1em}.tox .tox-imagepreview{background-color:#666;height:380px;overflow:hidden;position:relative;width:100%}.tox .tox-imagepreview.tox-imagepreview__loaded{overflow:auto}.tox .tox-imagepreview__container{display:flex;left:100vw;position:absolute;top:100vw}.tox .tox-imagepreview__image{background:url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==)}.tox .tox-image-tools .tox-spacer{flex:1}.tox .tox-image-tools .tox-bar{align-items:center;display:flex;height:60px;justify-content:center}.tox .tox-image-tools .tox-imagepreview,.tox .tox-image-tools .tox-imagepreview+.tox-bar{margin-top:8px}.tox .tox-image-tools .tox-croprect-block{background:#000;opacity:.5;position:absolute;zoom:1}.tox .tox-image-tools .tox-croprect-handle{border:2px solid #fff;height:20px;left:0;position:absolute;top:0;width:20px}.tox .tox-image-tools .tox-croprect-handle-move{border:0;cursor:move;position:absolute}.tox .tox-image-tools .tox-croprect-handle-nw{border-width:2px 0 0 2px;cursor:nw-resize;left:100px;margin:-2px 0 0 -2px;top:100px}.tox .tox-image-tools .tox-croprect-handle-ne{border-width:2px 2px 0 0;cursor:ne-resize;left:200px;margin:-2px 0 0 -20px;top:100px}.tox .tox-image-tools .tox-croprect-handle-sw{border-width:0 0 2px 2px;cursor:sw-resize;left:100px;margin:-20px 2px 0 -2px;top:200px}.tox .tox-image-tools .tox-croprect-handle-se{border-width:0 2px 2px 0;cursor:se-resize;left:200px;margin:-20px 0 0 -20px;top:200px}.tox .tox-image-selector-loading-spinner-wrapper{display:flex;justify-content:center;align-items:center}.tox .tox-image-selector-loading-spinner{position:absolute;width:min(24px,30%);aspect-ratio:1/1;border-radius:50%;border:3px solid #207ab7;border-bottom-color:transparent;animation:tox-rotation 1s linear infinite}.tox .tox-toolbar .tox-image-selector,.tox .tox-toolbar__overflow .tox-image-selector,.tox .tox-toolbar__primary .tox-image-selector{margin:2px 0 3px 4px}.tox .tox-image-selector-menu{border:0;border-radius:3px;margin:-4px 0;padding:4px}.tox .tox-image-selector-menu .tox-collection--list .tox-collection__group{border:0;padding:0;margin:-4px 0}.tox .tox-image-selector-menu .tox-collection__item{max-width:48px}.tox .tox-image-selector-menu .tox-collection__item-icon{border:1px solid #ccc;border-radius:3px;margin-bottom:4px;width:100%}.tox .tox-image-selector-menu .tox-collection__item-icon svg path{stroke:#c00}.tox .tox-image-selector__row{display:flex}.tox .tox-image-selector--remove{align-items:center;display:flex;justify-content:center}.tox .tox-image-selector--remove svg path{stroke:#c00}.tox .tox-image-selector-image-wrapper{width:46px;height:46px;display:flex;align-items:center;justify-content:center}.tox .tox-image-selector-image-img{max-width:100%;max-height:100%}.tox .tox-image-selector__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-image-selector__picker-btn svg{fill:#222f3e;height:24px;width:24px}.tox .tox-image-selector__picker-btn:hover{background:#dee0e2}.tox .tox-context-toolbar{position:absolute;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;z-index:1150;background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color,#222f3e);border:1px solid #e3e3e3;border-radius:6px;box-shadow:0 2px 8px rgba(0,0,0,.08);padding:8px}.tox .tox-context-toolbar[popover]{inset:auto;margin:0}.tox .tox-context-toolbar .tox-toolbar{display:flex;flex-wrap:nowrap;gap:8px}.tox .tox-context-toolbar .tox-toolbar__group{display:flex;flex-wrap:nowrap;flex-shrink:0;gap:8px;align-items:center;padding:0}.tox .tox-insert-table-picker{background-color:#fff;display:flex;flex-wrap:wrap;width:170px}.tox .tox-insert-table-picker>div{border-color:#ccc;border-style:solid;border-width:0 1px 1px 0;box-sizing:border-box;height:17px;width:17px}.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker{margin:0 -4px}.tox .tox-insert-table-picker .tox-insert-table-picker__selected{background-color:rgba(32,122,183,.5);border-color:rgba(32,122,183,.5)}@media (forced-colors:active){.tox .tox-insert-table-picker .tox-insert-table-picker__selected{border-color:Highlight;filter:contrast(50%)}}.tox .tox-insert-table-picker__label{color:rgba(34,47,62,.7);display:block;font-size:14px;padding:4px;text-align:center;width:100%}.tox:not([dir=rtl]) .tox-insert-table-picker>div:nth-child(10n){border-right:0}.tox[dir=rtl] .tox-insert-table-picker>div:nth-child(10n+1){border-right:0}.tox-mentions__card-common{z-index:1200}.tox.tox-mentions__card{background:#fff;border:1px solid #ccc;display:flex;padding:4px 8px}.tox.tox-mentions__card .tox-mentions__container{display:flex;flex-direction:column;align-self:center;margin:0 4px}.tox .tox-mentions__avatar{width:42px;height:42px;border-radius:50%;margin-right:4px}.tox .tox-mentions__username{font-size:14px;line-height:21px;color:#222f3e}.tox .tox-mentions__description{font-size:12px;line-height:21px;color:rgba(34,47,62,.7)}.tox .tox-collection__item--active .tox-mentions__description,.tox .tox-collection__item--active .tox-mentions__username{color:inherit}.tox .tox-menu{background-color:#fff;border:1px solid #ccc;border-radius:3px;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);display:inline-block;overflow:hidden;vertical-align:top;z-index:1150}.tox .tox-menu.tox-collection.tox-collection--list{padding:0 0}.tox .tox-menu.tox-collection.tox-collection--toolbar{padding:4px}.tox .tox-menu.tox-collection.tox-collection--grid{padding:4px}@media only screen and (min-width:768px){.tox .tox-menu .tox-collection__item-label{overflow-wrap:break-word;word-break:normal}.tox .tox-dialog__popups .tox-menu .tox-collection__item-label{word-break:break-all}}.tox .tox-menu__label blockquote,.tox .tox-menu__label code,.tox .tox-menu__label h1,.tox .tox-menu__label h2,.tox .tox-menu__label h3,.tox .tox-menu__label h4,.tox .tox-menu__label h5,.tox .tox-menu__label h6,.tox .tox-menu__label p{margin:0}.tox .tox-menubar{background: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;background-color:#fff;display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;grid-column:1/-1;grid-row:1;padding:0 4px 0 4px}.tox .tox-promotion+.tox-menubar{grid-column:1}@media (max-width:480px){.tox:not(.tox-tinymce-inline) .tox-menubar{flex-wrap:nowrap;min-width:0;min-height:39px;overflow-x:auto;overflow-y:hidden}}.tox .tox-promotion{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;background-color:#fff;grid-column:2;grid-row:1;padding-inline-end:8px;padding-inline-start:4px;padding-top:5px}.tox .tox-promotion-link{align-items:unsafe center;background-color:#e8f1f8;border-radius:5px;color:#086be6;cursor:pointer;display:flex;font-size:14px;height:26.6px;padding:4px 8px;white-space:nowrap}.tox .tox-promotion-link:hover{background-color:#b4d7ff}.tox .tox-promotion-link:focus{background-color:#d9edf7}.tox .tox-mbtn{align-items:center;background:#fff;border:0;border-radius:3px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:34px;justify-content:center;margin:2px 0 3px 0;outline:0;padding:0 4px;text-transform:none;width:auto}.tox .tox-mbtn[disabled]{background-color:#fff;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-mbtn:focus:not(:disabled){background:#dee0e2;border:0;box-shadow:none;color:#222f3e;position:relative;z-index:1}.tox .tox-mbtn:focus:not(:disabled)::after{pointer-events:none;border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-mbtn:focus:not(:disabled)::after{border:2px solid highlight}}.tox .tox-mbtn--active,.tox .tox-mbtn:not(:disabled).tox-mbtn--active:focus{background:#c8cbcf;border:0;box-shadow:none;color:#222f3e}.tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active){background:#dee0e2;border:0;box-shadow:none;color:#222f3e}.tox .tox-mbtn__select-label{cursor:default;font-weight:400;margin:0 4px}.tox .tox-mbtn[disabled] .tox-mbtn__select-label{cursor:not-allowed}.tox .tox-mbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px;display:none}.tox .tox-notification{border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;display:grid;font-size:14px;font-weight:400;grid-template-columns:minmax(40px,1fr) auto minmax(40px,1fr);margin-left:auto;margin-right:auto;margin-top:4px;opacity:0;padding:4px;transition:transform .1s ease-in,opacity 150ms ease-in;width:max-content}.tox .tox-notification a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification p{font-size:14px;font-weight:400}.tox .tox-notification:focus{border-color:#207ab7;box-shadow:none}.tox .tox-notification--in{opacity:1}.tox .tox-notification--success{background-color:#e4eeda;border-color:#d7e6c8;color:#222f3e}.tox .tox-notification--success p{color:#222f3e}.tox .tox-notification--success a{color:#517342}.tox .tox-notification--success a:focus,.tox .tox-notification--success a:hover{color:#24321d;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--success a:focus-visible{border-radius:1px;outline:2px solid #517342;outline-offset:2px}.tox .tox-notification--success a:active{color:#0d120a;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--success svg{fill:#222f3e}.tox .tox-notification--error{background-color:#f5cccc;border-color:#f0b3b3;color:#222f3e}.tox .tox-notification--error p{color:#222f3e}.tox .tox-notification--error a{color:#77181f}.tox .tox-notification--error a:focus,.tox .tox-notification--error a:hover{color:#220709;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--error a:focus-visible{border-radius:1px;outline:2px solid #77181f;outline-offset:2px}.tox .tox-notification--error a:active{color:#000;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--error svg{fill:#222f3e}.tox .tox-notification--warn,.tox .tox-notification--warning{background-color:#fff5cc;border-color:#fff0b3;color:#222f3e}.tox .tox-notification--warn p,.tox .tox-notification--warning p{color:#222f3e}.tox .tox-notification--warn a,.tox .tox-notification--warning a{color:#7a6e25}.tox .tox-notification--warn a:focus,.tox .tox-notification--warn a:hover,.tox .tox-notification--warning a:focus,.tox .tox-notification--warning a:hover{color:#2c280d;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--warn a:focus-visible,.tox .tox-notification--warning a:focus-visible{border-radius:1px;outline:2px solid #7a6e25;outline-offset:2px}.tox .tox-notification--warn a:active,.tox .tox-notification--warning a:active{color:#050502;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--warn svg,.tox .tox-notification--warning svg{fill:#222f3e}.tox .tox-notification--info{background-color:#d6e7fb;border-color:#c1dbf9;color:#222f3e}.tox .tox-notification--info p{color:#222f3e}.tox .tox-notification--info a{color:#2a64a6}.tox .tox-notification--info a:focus,.tox .tox-notification--info a:hover{color:#163355;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--info a:focus-visible{border-radius:1px;outline:2px solid #2a64a6;outline-offset:2px}.tox .tox-notification--info a:active{color:#0b1a2c;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--info svg{fill:#222f3e}.tox .tox-notification__body{align-self:center;color:#222f3e;font-size:14px;grid-column-end:3;grid-column-start:2;grid-row-end:2;grid-row-start:1;text-align:center;white-space:normal;word-break:break-all;word-break:break-word}.tox .tox-notification__body>*{margin:0}.tox .tox-notification__body>*+*{margin-top:1rem}.tox .tox-notification__icon{align-self:center;grid-column-end:2;grid-column-start:1;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification__icon svg{display:block}.tox .tox-notification__dismiss{align-self:start;grid-column-end:4;grid-column-start:3;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification .tox-progress-bar{grid-column-end:4;grid-column-start:1;grid-row-end:3;grid-row-start:2;justify-self:center}.tox .tox-notification-container-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-notification-container-dock-fadein{opacity:1;visibility:visible}.tox .tox-notification-container-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-notification-container-dock-transition.tox-notification-container-dock-fadein{transition-delay:0s}.tox .tox-onboarding-overlay{height:100%;background-color:#f0f0f0;position:absolute;top:0;left:0;right:0;z-index:1302;overflow:auto;display:grid;justify-content:center;align-items:center}.tox .tox-onboarding-dialog{max-width:512px;background-color:#fff;display:flex;flex-direction:column;box-shadow:0 16px 16px -10px rgba(34,47,62,.15),0 0 40px 1px rgba(34,47,62,.15);border-radius:12px;margin:8px}.tox .tox-onboarding-dialog .tox-onboarding-header{color:#222f3e;display:flex;justify-content:center;align-items:center;font-size:20px;margin:24px 0 8px}.tox .tox-onboarding-dialog .tox-onboarding-step{display:grid;grid-template-columns:min-content 1fr min-content;align-items:center;margin:0 24px}.tox .tox-onboarding-dialog .tox-onboarding-step:not(:last-child){border-bottom:1px solid #c1c1c1}.tox .tox-onboarding-dialog .tox-onboarding-step--number{width:24px;aspect-ratio:1/1;border-radius:50%;border:1px solid #00ad0e;display:flex;justify-content:center;align-items:center;font-size:12px;font-weight:700;color:#00ad0e}.tox .tox-onboarding-dialog .tox-onboarding-step--body{padding:24px 0 24px 16px}.tox .tox-onboarding-dialog .tox-onboarding-step--body-header{color:#222f3e;font-size:14px;font-weight:700;margin-bottom:4px}.tox .tox-onboarding-dialog .tox-onboarding-step--body-details{color:rgba(34,47,62,.7);font-size:14px}.tox .tox-onboarding-dialog .tox-onboarding-step--action{padding-left:24px}.tox .tox-onboarding-dialog .tox-onboarding-footer{background-color:#f0f0f0;display:flex;justify-content:space-between;align-items:center;padding:16px 24px;border-bottom-left-radius:12px;border-bottom-right-radius:12px}.tox .tox-onboarding-dialog .tox-onboarding-footer p{display:flex;align-items:center;justify-content:center;gap:4px;font-size:14px;color:rgba(34,47,62,.7)}.tox .tox-onboarding-dialog svg{width:24px;fill:rgba(34,47,62,0.7)}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin{display:grid;align-items:center;grid-template-columns:min-content 1fr min-content;border-bottom:1px solid #c1c1c1;padding:24px 0;margin:0 16px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body{margin:0 16px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body .tox-promotion-dialog-plugin-header{color:#222f3e;font-size:14px;font-weight:700;margin-bottom:4px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body .tox-promotion-dialog-plugin-details{color:rgba(34,47,62,.7);font-size:14px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--icon{display:grid;place-content:center;width:56px;height:56px;line-height:24px;font-size:24px;border-radius:12px;background:linear-gradient(180deg,#fff 24%,#f0f0f0 100%);box-shadow:0 1px 1px 0 #222f3e12,0 3px 6px 0 #222f3e06;color:#207ab7}.tox .tox-promotion-dialog--subtitle{margin:16px;color:rgba(34,47,62,.7);font-size:14px}.tox .tox-promotion-dialog--explore{text-align:center;margin:16px;color:rgba(34,47,62,.7);font-size:14px}.tox .tox-promotion-dialog--explore a{color:#207ab7}.tox .tox-promotion-dialog--footer{background-color:#f0f0f0;color:rgba(34,47,62,.7);font-size:12px;text-align:center;padding:16px}.tox .tox-promotion-button{display:flex;align-items:center;height:26.6px;line-height:26.6px;font-size:14px;font-weight:700;background-color:#f1ebf9;color:#851aff;padding:8px 16px;cursor:pointer;white-space:nowrap;border-radius:5px}.tox .tox-promotion-button:focus{outline:1px solid #851AFF}.tox .tox-onboarding-dialog a,.tox .tox-promotion-dialog--footer a{color:rgba(34,47,62,.7);cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-onboarding-dialog a:focus,.tox .tox-onboarding-dialog a:hover,.tox .tox-promotion-dialog--footer a:focus,.tox .tox-promotion-dialog--footer a:hover{color:#0a1620;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-onboarding-dialog a:focus-visible,.tox .tox-promotion-dialog--footer a:focus-visible{border-radius:1px;outline:2px solid #214d6e;outline-offset:2px}.tox .tox-onboarding-dialog a:active,.tox .tox-promotion-dialog--footer a:active{color:#000;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-pop{display:inline-block;position:relative}.tox .tox-pop--resizing{transition:width .1s ease}.tox .tox-pop--resizing .tox-toolbar,.tox .tox-pop--resizing .tox-toolbar__group{flex-wrap:nowrap}.tox .tox-pop--transition{transition:.15s ease;transition-property:left,right,top,bottom}.tox .tox-pop--transition::after,.tox .tox-pop--transition::before{transition:all .15s,visibility 0s,opacity 75ms ease 75ms}.tox .tox-pop__dialog{background-color:#fff;border:1px solid #ccc;border-radius:3px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);min-width:0;overflow:hidden}.tox .tox-pop__dialog>:not(.tox-toolbar){margin:4px 4px 4px 8px}.tox .tox-pop__dialog .tox-toolbar{background-color:transparent;margin-bottom:-1px}.tox .tox-pop::after,.tox .tox-pop::before{border-style:solid;content:'';display:block;height:0;opacity:1;position:absolute;width:0}@media (forced-colors:active){.tox .tox-pop::after,.tox .tox-pop::before{content:none}}.tox .tox-pop.tox-pop--inset::after,.tox .tox-pop.tox-pop--inset::before{opacity:0;transition:all 0s .15s,visibility 0s,opacity 75ms ease}.tox .tox-pop.tox-pop--bottom::after,.tox .tox-pop.tox-pop--bottom::before{left:50%;top:100%}.tox .tox-pop.tox-pop--bottom::after{border-color:#fff transparent transparent transparent;border-width:8px;margin-left:-8px;margin-top:-1px}.tox .tox-pop.tox-pop--bottom::before{border-color:#ccc transparent transparent transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--top::after,.tox .tox-pop.tox-pop--top::before{left:50%;top:0;transform:translateY(-100%)}.tox .tox-pop.tox-pop--top::after{border-color:transparent transparent #fff transparent;border-width:8px;margin-left:-8px;margin-top:1px}.tox .tox-pop.tox-pop--top::before{border-color:transparent transparent #ccc transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--left::after,.tox .tox-pop.tox-pop--left::before{left:0;top:calc(50% - 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--left::after{border-color:transparent #fff transparent transparent;border-width:8px;margin-left:-15px}.tox .tox-pop.tox-pop--left::before{border-color:transparent #ccc transparent transparent;border-width:10px;margin-left:-19px}.tox .tox-pop.tox-pop--right::after,.tox .tox-pop.tox-pop--right::before{left:100%;top:calc(50% + 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--right::after{border-color:transparent transparent transparent #fff;border-width:8px;margin-left:-1px}.tox .tox-pop.tox-pop--right::before{border-color:transparent transparent transparent #ccc;border-width:10px;margin-left:-1px}.tox .tox-pop.tox-pop--align-left::after,.tox .tox-pop.tox-pop--align-left::before{left:20px}.tox .tox-pop.tox-pop--align-right::after,.tox .tox-pop.tox-pop--align-right::before{left:calc(100% - 20px)}.tox.tox-edit-focus .tox-sidebar__resize-handle:hover::before{border-left:0 solid transparent}.tox .tox-sidebar-wrap{--tox-private-min-editing-area-width:280px;flex-grow:1;min-height:0}.tox .tox-sidebar-wrap:not(.tox .tox-sidebar-wrap--resizable){display:flex;flex-direction:row}.tox .tox-sidebar-wrap--resizable{display:grid;grid-template-columns:minmax(var(--tox-private-min-editing-area-width),1fr) minmax(0,max-content);grid-template-rows:minmax(0,1fr)}.tox .tox-sidebar{background-color:var(--tox-private-sidebar-background-color,#f0f0f0);display:flex;flex-direction:row;justify-content:flex-end}.tox .tox-sidebar__slider{display:flex;overflow:hidden}.tox .tox-sidebar-wrap--resizable .tox-sidebar__pane-container{width:var(--tox-private-requested-sidebar-width)}.tox .tox-sidebar-wrap--resizable .tox-sidebar--sliding-growing .tox-sidebar__pane-container,.tox .tox-sidebar-wrap--resizable .tox-sidebar--sliding-shrinking .tox-sidebar__pane-container{width:var(--tox-private-resolved-sidebar-width);min-width:var(--tox-private-resolved-sidebar-width)}.tox .tox-sidebar__pane-container{display:flex}.tox .tox-sidebar-wrap--resizable .tox-sidebar__resize-handle{display:block}.tox .tox-sidebar__resize-handle{display:none;position:relative;width:var(--tox-private-sidebar-resize-handle-width,1px);height:100%;cursor:col-resize;background-color:var(--tox-private-separator-color,#c1c1c1);z-index:1}.tox .tox-sidebar__resize-handle::before{content:'';position:absolute;top:0;bottom:0;width:8px;box-sizing:border-box;border-left:0 solid transparent;transition:border-left-width .15s ease,border-left-color .15s ease}.tox .tox-sidebar__resize-handle:hover::before{border-left:3px solid #207ab7}.tox .tox-sidebar-wrap--resizable .tox-sidebar__pane{width:calc(100% - var(--tox-private-sidebar-resize-handle-width,1px))}.tox .tox-sidebar__pane{display:flex}.tox .tox-sidebar--sliding-closed{opacity:0}.tox .tox-sidebar--sliding-open{opacity:1}.tox .tox-sidebar--sliding-growing,.tox .tox-sidebar--sliding-shrinking{transition:width .5s ease,opacity .5s ease}.tox .tox-sidebar-content{display:flex;flex-direction:column;position:relative;width:100%;height:100%}.tox .tox-sidebar-content__header{align-items:center;display:flex;justify-content:space-between;border-bottom:var(--tox-private-tinymceai-border-width,1px) solid var(--tox-private-neutral-20,#e3e3e3);padding:var(--tox-private-pad-sm,8px) 12px;background:var(--tox-private-background-color,#fff)}.tox .tox-sidebar-content__header .tox-sidebar-content__header-close-button{margin-left:auto}.tox .tox-sidebar-content__actions{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-sidebar-content__title{font-size:var(--tox-private-font-size-lg, 20px);font-weight:var(--tox-private-font-weight-normal,normal);padding:var(--tox-private-pad-sm,8px) 0 var(--tox-private-pad-sm,8px) 0;color:var(--tox-private-text-color,#222f3e);line-height:28px}.tox .tox-floating-sidebar{--tox-private-floating-sidebar-width:min(380px, 90vw);--tox-private-floating-sidebar-height:80vh;position:fixed;z-index:var(--tox-private-z-index-floatingsidebar,1050);box-shadow:var(--tox-private-floating-sidebar-box-shadow,0 0 40px 1px rgba(34,47,62,.15),0 16px 16px -10px rgba(34,47,62,.15),0 0 0 1px rgba(34,47,62,.15));width:var(--tox-private-floating-sidebar-width);height:var(--tox-private-floating-sidebar-height);background-color:var(--tox-private-floating-sidebar-background-color,#f0f0f0);border-radius:var(--tox-private-panel-border-radius,3px);overflow:hidden}.tox .tox-floating-sidebar:not(.tox .tox-floating-sidebar--open){display:none}.tox .tox-floating-sidebar--open{display:block}.tox .tox-floating-sidebar__content-wrapper{width:100%;height:100%;display:flex;flex-direction:column}.tox .tox-floating-sidebar__header{position:relative}.tox .tox-floating-sidebar .tox-ai__scroll:has(.tox-card-list){background-color:inherit}.tox .tox-ai .tox-expandable-box{margin-bottom:calc(var(--tox-private-pad-md,16px) * .75)}.tox .tox-ai .tox-expandable-box .tox-expandable-box__content{margin:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-md,16px) * .75)}.tox .tox-ai .tox-expandable-box>.tox-button{margin:0 calc(var(--tox-private-pad-md,16px) * .75) var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-expandable-box:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#207ab7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-sidebar-content__header{border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-background-color,#fff);padding:calc(var(--tox-private-pad-sm,8px) - var(--tox-private-tinymceai-focus-border-width,2px)) calc(12px - var(--tox-private-tinymceai-focus-border-width,2px));border-bottom:1px solid var(--tox-private-separator-color,#c1c1c1)}.tox .tox-ai .tox-sidebar-content__header:focus-visible:not(:disabled){border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#207ab7);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-sidebar-content__loader{align-items:center;display:flex;height:100%;justify-content:center;width:100%;z-index:1000}.tox .tox-ai .tox-sidebar-content__title{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin-right:auto}.tox .tox-ai .tox-sidebar-content__title:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#207ab7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-sidebar-content__actions .tox-ai__complete-review{display:flex;align-items:center;gap:6px;padding-top:var(--tox-private-pad-xs,4px);padding-bottom:var(--tox-private-pad-xs,4px);padding-left:var(--tox-private-pad-md,16px);padding-right:var(--tox-private-pad-md,16px)}.tox .tox-ai .tox-menu{width:-webkit-fill-available;width:-moz-available;width:stretch;overflow:visible}.tox .tox-ai .tox-ai__user-prompt{display:flex;flex-direction:column;margin-left:auto;gap:inherit;width:100%}.tox .tox-ai .tox-ai__user-prompt__context{margin-left:auto;display:flex;flex-direction:column;gap:inherit;align-items:end;width:100%}.tox .tox-ai .tox-ai__user-prompt__context .tox-tag{max-width:100%}.tox .tox-ai .tox-ai__user-prompt__text{background-color:var(--tox-private-background-secondary,#f0f0f0);padding:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-md,16px) * .75);border-radius:var(--tox-private-control-border-radius,3px);max-width:80%;align-self:flex-end;color:var(--tox-private-text-color,#222f3e);white-space:pre-wrap}.tox .tox-ai .tox-ai__user-prompt__text:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#207ab7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-ai__scroll{overflow-y:auto;overflow-x:hidden;background-color:var(--tox-private-background-color,#fff);display:flex;padding:12px;flex-direction:column;align-items:flex-start;gap:12px;flex:1 0 0;align-self:stretch}.tox .tox-ai .tox-ai__scroll:focus-visible:not(:disabled){outline:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#207ab7);outline-offset:calc(-1 * var(--tox-private-tinymceai-focus-border-width,2px));border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-ai__scroll--review:not(:has(.tox-sidebar-content__message-text)){background-color:var(--tox-private-background-secondary,#f0f0f0)}.tox .tox-ai .tox-ai__spinner svg{fill:var(--tox-private-color-tint,#207ab7)}.tox .tox-ai .tox-ai__response{width:100%;min-width:100%;max-width:100%}.tox .tox-ai .tox-ai__response__header{display:flex;align-items:center;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response__header .tox-icon svg{fill:var(--tox-private-color-tint,#207ab7)}.tox .tox-ai .tox-ai__response-status{display:flex;color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));font-size:var(--tox-private-font-size-sm, 14px);gap:var(--tox-private-pad-xs,4px);line-height:var(--tox-private-tinymceai-response-status-icon-height, max(24px, calc(14px + 4px)));padding-top:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response-status svg{fill:var(--tox-private-text-color-muted,rgba(34,47,62,0.7))}.tox .tox-ai .tox-ai__response-status-icon{border-radius:999px;border:1px solid var(--tox-private-neutral-20,#e3e3e3);background-color:var(--tox-private-background-color,#fff);height:var(--tox-private-tinymceai-response-status-icon-height,max(24px,calc(14px + 4px)));flex:0 0 24px;display:flex;align-items:center;justify-content:center}.tox .tox-ai .tox-ai__response-status-icon .tox-icon{display:contents}.tox .tox-ai .tox-ai__response-status-icon+.tox-ai__response-status-icon{margin-left:calc((var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px)) * -1)}.tox .tox-ai .tox-ai__icon{display:flex;align-items:center;justify-content:center}.tox .tox-ai .tox-ai__response-sources{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response-sources-header{display:block}.tox .tox-ai .tox-ai__response-sources-list{display:flex;align-items:center;gap:var(--tox-private-pad-sm,8px);align-self:stretch;flex-wrap:wrap}.tox .tox-ai .tox-ai__response-sources-list .tox-tag{border:1px solid var(--tox-private-separator-color,#c1c1c1);background-color:transparent;max-width:32%;max-height:24px;cursor:pointer}.tox .tox-ai .tox-ai__response-sources-list .tox-tag img,.tox .tox-ai .tox-ai__response-sources-list .tox-tag svg{width:16px;height:16px;min-width:16px;min-height:16px;max-width:16px;max-height:16px}.tox .tox-ai .tox-ai__response-content{padding:var(--tox-private-pad-sm,8px) 0;color:var(--tox-private-text-color,#222f3e);font-feature-settings:'liga' off,'clig' off;font-size:var(--tox-private-font-size-sm, 14px);font-style:normal;font-weight:var(--tox-private-font-weight-normal,normal);line-height:var(--tox-private-line-height, 18px);display:flex;flex-direction:column}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming{position:relative}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming .tox-ai__response-status{color:var(--tox-private-text-color,#222f3e);font-size:var(--tox-private-font-size-md, 16px);line-height:calc(var(--tox-private-font-size-md, 16px) + 4px)}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming::after{content:'';position:absolute;bottom:0;left:0;right:0;height:min(100px,100%);pointer-events:none;background:linear-gradient(to bottom,transparent 60px,transparent 60px,var(--tox-private-background-color,#fff))}.tox .tox-ai .tox-ai-error{border-radius:var(--tox-private-panel-border-radius,3px);border:1px solid var(--tox-private-color-error,#c00);background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#fff) r g b / .9) 0,rgba(from var(--tox-private-background-color,#fff) r g b / .9) 100%),var(--tox-private-color-error,#c00);padding:var(--tox-private-pad-sm,8px);width:100%;display:flex;gap:var(--tox-private-pad-sm,8px);align-items:center}.tox .tox-ai .tox-ai-error__message{flex:1 0 0}.tox .tox-ai .tox-ai-error__icon{flex:0 0 auto;align-self:flex-start}.tox .tox-ai .tox-ai__footer{padding:calc(12px - var(--tox-private-tinymceai-focus-border-width,2px));gap:var(--tox-private-pad-sm,8px);background-color:var(--tox-private-background-color,#fff);display:flex;flex-direction:column;border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-background-color,#fff);border-top:1px solid var(--tox-private-separator-color,#c1c1c1)}.tox .tox-ai .tox-ai__footer:focus-visible:not(:disabled){border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#207ab7);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-ai__context{display:flex;gap:var(--tox-private-pad-sm,8px);flex-wrap:wrap;max-height:calc((2 * (2 * var(--tox-private-pad-xs,4px) + var(--tox-private-base-value,16px))) + var(--tox-private-pad-sm,8px))}.tox .tox-ai .tox-ai__context .tox-tag{max-width:calc((100% - var(--tox-private-pad-sm,8px))/ 2)}.tox .tox-ai .tox-ai__context-more{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px);padding:var(--tox-private-pad-sm,8px);overflow:auto;max-width:var(--tox-private-tinymceai-context-more-max-width,320px)}.tox .tox-ai .tox-ai__context-more .tox-tag{max-width:100%}.tox .tox-ai .tox-ai__stop-generating{display:flex;align-items:center;gap:6px}.tox .tox-ai .tox-ai__footer-actions{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-model-selection-button{display:flex;gap:var(--tox-private-pad-xs,4px)}.tox .tox-ai .tox-ai__footer-note{align-items:center;color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));display:flex;font-size:var(--tox-private-font-size-xs, 12px);height:24px;justify-content:center;letter-spacing:0;padding-top:var(--tox-private-pad-sm,8px);width:100%}.tox .tox-ai .tox-ai__models-menu{max-width:350px}.tox .tox-ai .tox-ai__models-menu .tox-menu{max-height:inherit;padding:var(--tox-private-pad-xs,4px)}.tox .tox-ai .tox-ai__models-menu__item__description{display:flex;flex-direction:column;align-items:start}.tox .tox-ai .tox-ai__models-menu__item__description__title{font-weight:var(--tox-private-font-weight-bold,bold);font-size:var(--tox-private-font-size-sm, 14px);line-height:calc(var(--tox-private-font-size-sm, 14px) * 1.28572);padding-bottom:4px}.tox .tox-ai .tox-ai__models-menu__item__description__content{color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));font-size:var(--tox-private-font-size-xs, 12px);line-height:calc(var(--tox-private-font-size-xs, 12px) * 1.33333)}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content{color:inherit}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content .tox-ai__models-menu__item__description__ability{color:var(--tox-private-color-white,#fff)}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content .tox-ai__models-menu__item__description__content_body{color:rgba(from var(--tox-private-color-white,#fff) r g b / .7)}.tox .tox-ai .tox-ai__models-menu__item__description__ability{color:var(--tox-private-text-color,#222f3e);padding-bottom:4px}.tox .tox-ai .tox-ai__models-menu__item__description__ability__enabled{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-ai .tox-ai-chat-history-list{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px);padding-top:var(--tox-private-pad-xs,4px);width:100%}.tox .tox-ai .tox-ai-chat-history-list .tox-collection__group{gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-chat-history-list__title{color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:18px;letter-spacing:1px}.tox .tox-ai .tox-ai-chat-history-list__item{display:flex;padding:12px;gap:var(--tox-private-pad-sm,8px);border-radius:var(--tox-private-control-border-radius,3px);cursor:pointer}.tox .tox-ai .tox-ai-chat-history-list__item.tox-ai-chat-history-list__item--active{background-color:var(--tox-private-background-secondary,#f0f0f0)}.tox .tox-ai .tox-ai-chat-history-list__item:focus,.tox .tox-ai .tox-ai-chat-history-list__item:focus-visible{background-color:var(--tox-private-background-secondary,#f0f0f0)}.tox .tox-ai .tox-ai-chat-history-list__item.tox-ai-chat-history-list__item-edit-title{background-color:var(--tox-private-background-secondary,#f0f0f0);flex-direction:column}.tox .tox-ai .tox-ai-chat-history-list__item-edit-actions{display:flex;justify-content:flex-end;width:100%;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-chat-history-list__item-edit-actions .tox-ai__spinner svg{fill:rgba(from var(--tox-private-color-white,#fff) r g b / 0.5)}.tox .tox-ai .tox-ai-chat-history-list__item-content{display:flex;flex-direction:column;margin-right:auto;overflow:hidden}.tox .tox-ai .tox-ai-chat-history-list__item-actions{display:flex;align-items:center;min-width:calc(24px + (var(--tox-private-pad-xs,4px) + 1px)*2)}.tox .tox-ai .tox-ai-chat-history-list__item-content-title{color:var(--tox-private-text-color,#222f3e);font-size:var(--tox-private-font-size-base, 16px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:var(--tox-private-font-size-lg, 20px);overflow:hidden;text-overflow:ellipsis}.tox .tox-ai .tox-ai-chat-history-list__item-content-date{color:var(--tox-private-text-color,#222f3e);font-size:var(--tox-private-font-size-xs, 12px);line-height:var(--tox-private-line-height-base, 1.3)}.tox .tox-ai .tox-sidebar-content__message{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;gap:var(--tox-private-pad-md,16px);width:100%}.tox .tox-ai .tox-sidebar-content__message-text{text-align:center;color:var(--tox-private-text-color,#222f3e);font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:20px}.tox .tox-ai .tox-sidebar-content__message-action{display:flex;justify-content:center;align-items:center;align-self:stretch}.tox .tox-ai .tox-ai-chat-action-button{line-height:var(--tox-private-base-value, 16px);font-size:var(--tox-private-font-size-xs, 12px);padding:6px var(--tox-private-pad-sm,8px);margin:var(--tox-private-pad-xs,4px) 0;font-weight:var(--tox-private-font-weight-normal,normal);width:min-content}.tox .tox-ai .tox-ai-chat-action-button .tox-icon{display:inline-flex;align-items:center;justify-content:center;height:16px;width:16px;overflow:hidden}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg{display:block;flex:none;fill:var(--tox-private-tinymceai-chat-action-button-icon-color,#207ab7)}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='24'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='24px']{transform:scale(calc(16 / 24))}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='20'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='20px']{transform:scale(calc(16 / 20))}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='18'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='18px']{transform:scale(calc(16 / 18))}.tox .tox-ai .tox-ai-chat-action-button:not(:has(+ .tox-ai-chat-action-button)){margin-bottom:var(--tox-private-pad-sm,8px)}.tox .tox-ai-removed-content{font-style:italic;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));line-height:var(--tox-private-line-height-base, 1.3);margin:0 1em}.tox .tox-ai-removed-content::before{content:"⊘ ";font-style:normal;font-size:calc(var(--tox-private-line-height-base, 1.3) * 1em)}.tox .tox-ai-html-content{font-size:var(--tox-private-font-size-md, 16px);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color,#222f3e);line-height:var(--tox-private-line-height-base, 1.3);overflow-x:auto}.tox .tox-ai-html-content:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#207ab7);outline-offset:var(--tox-private-tinymceai-html-content-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai-html-content h1{font-size:1.6em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.67em 0}.tox .tox-ai-html-content h2{font-size:1.4em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.83em 0}.tox .tox-ai-html-content h3{font-size:1.2em;font-weight:var(--tox-private-font-weight-bold,bold);margin:1em 0}.tox .tox-ai-html-content h4,.tox .tox-ai-html-content h5,.tox .tox-ai-html-content h6{font-size:1em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.33em 0}.tox .tox-ai-html-content p{margin:var(--tox-private-pad-sm,8px) 0}.tox .tox-ai-html-content ol,.tox .tox-ai-html-content ul{padding-left:2em;margin:1em 0}.tox .tox-ai-html-content li:has(input:first-child){list-style-type:none}.tox .tox-ai-html-content a{color:var(--tox-private-color-tint,#207ab7);-webkit-text-decoration:underline;text-decoration:underline;cursor:pointer}.tox .tox-ai-html-content a:link:active,.tox .tox-ai-html-content a:visited:active{color:#8864ad}.tox .tox-ai-html-content blockquote{border-left:2px solid var(--tox-private-separator-color,#c1c1c1);margin-left:1.5rem;padding-left:1rem;font-style:italic}.tox .tox-ai-html-content code{font-family:ui-monospace,monospace;background:var(--tox-private-separator-color,#c1c1c1);padding:.1em .2em;border-radius:4px}.tox .tox-ai-html-content pre code{display:block;font-family:ui-monospace,monospace;background:var(--tox-private-separator-color,#c1c1c1);border-radius:4px;white-space:pre-wrap;margin:1em 0;overflow-wrap:break-word}.tox .tox-ai-html-content hr{border:none;border-top:1px solid var(--tox-private-border-color,#ccc)}.tox .tox-ai-html-content table{width:100%;border-collapse:collapse;margin:.5em 0;font-size:.95em;line-height:1.45}.tox .tox-ai-html-content table:not([cellpadding]) td,.tox .tox-ai-html-content table:not([cellpadding]) th{padding:.4rem}.tox .tox-ai-html-content td,.tox .tox-ai-html-content th{border:1px solid var(--tox-private-border-color,#ccc)}.tox .tox-ai-html-content th{font-weight:var(--tox-private-font-weight-bold,bold);text-align:left;white-space:nowrap}.tox .tox-ai-html-content b,.tox .tox-ai-html-content strong{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-ai-html-content em,.tox .tox-ai-html-content i{font-style:italic}.tox .tox-ai-html-content del{-webkit-text-decoration:line-through;text-decoration:line-through}.tox .tox-ai-html-content sub,.tox .tox-ai-html-content sup{font-size:.75em;line-height:0;vertical-align:baseline}.tox .tox-ai-html-content sup{vertical-align:super}.tox .tox-ai-html-content sub{vertical-align:sub}.tox .tox-ai-html-content mark{background:hsl(from var(--tox-private-color-active,#ffcf30) h s l / 30%);padding:.05em .2em;border-radius:2px}.tox .tox-ai-html-content small{font-size:.85em}.tox .tox-ai-html-content kbd{font-family:ui-monospace,monospace;font-size:.85em;padding:.15em .4em;border-radius:4px;border:1px solid var(--tox-private-border-color,#ccc);background:var(--tox-private-separator-color,#c1c1c1);box-shadow:inset 0 -1px 0 var(--tox-private-border-color,#ccc)}.tox .tox-ai-html-content img{max-width:100%;height:auto;vertical-align:middle;border-radius:4px}.tox .tox-expandable-box__content .tox-ai-html-content+.tox-ai-html-content::before,.tox .tox-expandable-box__content .tox-ai-html-content:has(+ .tox-ai-removed-content)::after,.tox .tox-expandable-box__content .tox-ai-removed-content+.tox-ai-html-content::before{content:"〰〰";color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));text-align:center;width:100%;display:block}.tox .tox-diff-preview{display:contents}.tox .tox-diff-preview__host{height:100%;position:relative;flex:1 1 0}.tox .tox-diff-preview__host:empty{pointer-events:none}.tox .tox-diff-preview__layer{display:flex;flex-direction:column;inset:0;position:absolute}.tox .tox-diff-preview__layer--loading .tox-diff-preview__frame{pointer-events:none;visibility:hidden}.tox .tox-diff-preview__viewport{flex:1 1 auto;min-height:0;position:relative}.tox .tox-diff-preview__frame{background-color:#fff;border:0;height:100%;min-height:0;position:relative;width:100%}.tox .tox-diff-preview__footer{background-color:var(--tox-private-background-color,#fff);border-top:1px solid #e3e3e3;flex:0 0 auto}.tox .tox-diff-preview__toolbar{display:flex;gap:8px;justify-content:flex-end;padding:12px 16px}.tox .tox-ai__preview-overlay{position:absolute;inset:0;width:100%;height:100%;font-size:14px}.tox .tox-ai__preview-overlay--hidden{visibility:hidden}.tox .tox-ai__preview-overlay--pass-through{pointer-events:none}.tox .tox-ai__preview-overlay--dim{background:rgba(34,47,62,.2)}.tox .tox-ai__preview-overlay--centered{display:flex;align-items:center;justify-content:center}.tox .tox-ai__preview-overlay--clipped{overflow:clip}.tox .tox-tinymceai-previewloader{display:flex;align-items:center;gap:var(--tox-private-pad-md,16px);padding:var(--tox-private-pad-sm,8px);border-radius:var(--tox-private-panel-border-radius,3px);box-shadow:var(--tox-private-ai-preview-loader-box-shadow,0 0 40px 1px rgba(34,47,62,.15),0 16px 16px -10px rgba(34,47,62,.15));background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color,#222f3e);pointer-events:auto}.tox .tox-tinymceai-previewloader__content{display:flex;align-items:center;justify-content:center;padding:0 var(--tox-private-pad-xs,4px);gap:var(--tox-private-pad-sm,8px)}.tox .tox-selector{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;display:inline-block;height:10px;position:absolute;width:10px}.tox.tox-platform-touch .tox-selector{height:12px;width:12px}.tox .tox-skeleton .tox-skeleton__line{height:16px;width:100%;background:linear-gradient(to right,rgba(240,240,240,.5) 8%,rgba(240,240,240,.7) 18%,rgba(240,240,240,.5) 33%);animation:wave 2s infinite ease-out}.tox .tox-skeleton .tox-skeleton__circle{height:36px;width:36px;margin-right:8px;border-radius:100%;background:linear-gradient(to right,rgba(240,240,240,.5) 8%,rgba(240,240,240,.7) 18%,rgba(240,240,240,.5) 33%);animation:wave 2s infinite ease-out}@keyframes wave{0%{background-position:-268px 0}100%{background-position:268px 0}}.tox .tox-slider{align-items:center;display:flex;flex:1;height:24px;justify-content:center;position:relative}.tox .tox-slider__rail{background-color:transparent;border:1px solid #ccc;border-radius:3px;height:10px;min-width:120px;width:100%}.tox .tox-slider__handle{background-color:#207ab7;border:2px solid #185d8c;border-radius:3px;box-shadow:none;height:24px;left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%);width:14px}.tox .tox-form__controls-h-stack>.tox-slider:not(:first-of-type){margin-inline-start:8px}.tox .tox-form__controls-h-stack>.tox-form__group+.tox-slider{margin-inline-start:32px}.tox .tox-form__controls-h-stack>.tox-slider+.tox-form__group{margin-inline-start:32px}.tox .tox-toolbar-slider{align-items:center;display:inline-flex;height:16px}.tox .tox-toolbar-slider__input{appearance:none;background:#ccc;border-radius:16px;width:130px;height:2px}.tox .tox-toolbar-slider__input::-webkit-slider-runnable-track{background-color:transparent;height:16px}.tox .tox-toolbar-slider__input::-moz-range-track{background-color:transparent;height:16px}.tox .tox-toolbar-slider__input::-webkit-slider-thumb{-webkit-appearance:none;background-color:#207ab7;border-radius:16px;border:none;height:16px;width:16px}.tox .tox-toolbar-slider__input::-moz-range-thumb{appearance:none;background-color:#207ab7;border-radius:16px;border:none;height:16px;width:16px}.tox .tox-toolbar-slider__input:focus-visible{outline:0}.tox .tox-toolbar-slider__input:focus::-webkit-slider-thumb{background-color:#1c6ca1;box-shadow:inset 0 0 0 1px #fff,0 0 0 2px #207ab7}.tox .tox-toolbar-slider__input:focus::-moz-range-thumb{background-color:#1c6ca1;box-shadow:inset 0 0 0 1px #fff,0 0 0 2px #207ab7}.tox .tox-toolbar-slider__input:hover::-webkit-slider-thumb{background-color:#1c6ca1}.tox .tox-toolbar-slider__input:hover::-moz-range-thumb{background-color:#1c6ca1}.tox .tox-toolbar-slider__input:active::-webkit-slider-thumb{background-color:#185d8c}.tox .tox-toolbar-slider__input:active::-moz-range-thumb{background-color:#185d8c}.tox .tox-toolbar-slider__input[disabled]::-webkit-slider-thumb{background-color:rgba(255,255,255,.5)}.tox .tox-toolbar-slider__input[disabled]::-moz-range-thumb{background-color:rgba(255,255,255,.5)}.tox .tox-source-code{overflow:auto}.tox .tox-spinner{display:flex}.tox .tox-spinner>div{animation:tam-bouncing-dots 1.5s ease-in-out 0s infinite both;background-color:rgba(34,47,62,.7);border-radius:100%;height:8px;width:8px}.tox .tox-spinner>div:first-child{animation-delay:-.32s}.tox .tox-spinner>div:nth-child(2){animation-delay:-.16s}@keyframes tam-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox:not([dir=rtl]) .tox-spinner>div:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-spinner>div:not(:first-child){margin-right:4px}.tox .tox-ai__spinner{--tox-private-spinner-color:var(--tox-private-color-tint, #207ab7);--tox-private-spinner-size:24px;--tox-private-spinner-circle-width:3px;--tox-private-spinner-dot-size:6px;width:var(--tox-private-spinner-size);aspect-ratio:1/1}.tox .tox-ai__spinner--small{--tox-private-spinner-size:16px;--tox-private-spinner-circle-width:2px;--tox-private-spinner-dot-size:4px}.tox .tox-ai__spinner--circle{animation:tox-rotation 1s linear infinite;border-radius:50%;background:conic-gradient(var(--tox-private-spinner-color) 0 calc(360deg - 30deg),transparent calc(360deg - 30deg) 100%);mask:radial-gradient(calc((var(--tox-private-spinner-size) - var(--tox-private-spinner-circle-width) * 2)/ 2),#0000 98%,#000)}.tox .tox-ai__spinner--dots{display:flex;align-items:center;justify-content:center;gap:1px}.tox .tox-ai__spinner--dots>div{animation:tox-bouncing-dots 1.5s ease-in-out 0s infinite both;aspect-ratio:1/1;width:var(--tox-private-spinner-dot-size);background-color:var(--tox-private-spinner-color);border-radius:100%}.tox .tox-ai__spinner--dots>div:first-child{animation-delay:-.32s}.tox .tox-ai__spinner--dots>div:nth-child(2){animation-delay:-.16s}.tox .tox-tinymceai__annotation--added,.tox .tox-tinymceai__annotation--modified,.tox .tox-tinymceai__annotation--removed{padding-block:calc((1lh - 1.1em)/ 2);-webkit-text-decoration:none;text-decoration:none;background-repeat:no-repeat;text-decoration-thickness:max(1px,0.07em)}.tox .tox-tinymceai__annotation--added__highlight{background-position:bottom;background-image:linear-gradient(rgba(120,171,70,.2) calc(100% - 2px),#78ab46 calc(100% - 2px))}.tox .tox-tinymceai__annotation--added__selected{background-image:none;background-color:rgba(120,171,70,.2);box-shadow:0 2px 0 0 #207ab7,0 -2px 0 0 #207ab7}.tox .tox-tinymceai__annotation--modified__highlight{background-position:bottom;background-image:linear-gradient(rgba(32,122,183,.2) calc(100% - 2px),#207ab7 calc(100% - 2px))}.tox .tox-tinymceai__annotation--modified__selected{background-image:none;background-color:rgba(32,122,183,.2);box-shadow:0 2px 0 0 #207ab7,0 -2px 0 0 #207ab7}.tox .tox-tinymceai__annotation--removed__highlight{-webkit-text-decoration:line-through;text-decoration:line-through;background-position:bottom;background-image:linear-gradient(rgba(204,0,0,.2) calc(100% - 2px),#c00 calc(100% - 2px))}.tox .tox-tinymceai__annotation--removed__selected{-webkit-text-decoration:line-through;text-decoration:line-through;background-image:none;background-color:rgba(204,0,0,.2);box-shadow:0 2px 0 0 #207ab7,0 -2px 0 0 #207ab7}.tox .mce-object.tox-tinymceai__annotation--added,.tox .mce-object.tox-tinymceai__annotation--modified,.tox .mce-object.tox-tinymceai__annotation--removed,.tox .mce-preview-object.tox-tinymceai__annotation--added,.tox .mce-preview-object.tox-tinymceai__annotation--modified,.tox .mce-preview-object.tox-tinymceai__annotation--removed,.tox iframe.tox-tinymceai__annotation--added,.tox iframe.tox-tinymceai__annotation--modified,.tox iframe.tox-tinymceai__annotation--removed,.tox img.tox-tinymceai__annotation--added,.tox img.tox-tinymceai__annotation--modified,.tox img.tox-tinymceai__annotation--removed,.tox video.tox-tinymceai__annotation--added,.tox video.tox-tinymceai__annotation--modified,.tox video.tox-tinymceai__annotation--removed{padding-block:0;vertical-align:top}.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object),.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object),.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object){padding-block:0}.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) video,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) video,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) video{vertical-align:top}.tox del.tox-tinymceai__annotation--added__selected,.tox ins.tox-tinymceai__annotation--added__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#207ab7 3px,rgba(120,171,70,.2) 3px,rgba(120,171,70,.2) calc(100% - 3px),#207ab7 calc(100% - 3px))}.tox del.tox-tinymceai__annotation--modified__selected,.tox ins.tox-tinymceai__annotation--modified__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#207ab7 3px,rgba(32,122,183,.2) 3px,rgba(32,122,183,.2) calc(100% - 3px),#207ab7 calc(100% - 3px))}.tox del.tox-tinymceai__annotation--removed__selected,.tox ins.tox-tinymceai__annotation--removed__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#207ab7 3px,rgba(204,0,0,.2) 3px,rgba(204,0,0,.2) calc(100% - 3px),#207ab7 calc(100% - 3px))}.tox .tox-tinymceai__annotation--added.tox-tinymceai__annotation--added__hidden,.tox .tox-tinymceai__annotation--modified.tox-tinymceai__annotation--modified__hidden,.tox .tox-tinymceai__annotation--removed.tox-tinymceai__annotation--removed__hidden{display:none;-webkit-text-decoration:none;text-decoration:none}.tox :has(> div > iframe).tox-tinymceai__annotation--added,.tox :has(> div > iframe).tox-tinymceai__annotation--modified,.tox :has(> div > iframe).tox-tinymceai__annotation--removed{padding:7px;margin:5px}.tox iframe.tox-tinymceai__annotation--added__highlight,.tox img.tox-tinymceai__annotation--added__highlight,.tox video.tox-tinymceai__annotation--added__highlight{background-color:#e4eeda;background-image:none;border:2px solid #78ab46;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--added__selected,.tox img.tox-tinymceai__annotation--added__selected,.tox video.tox-tinymceai__annotation--added__selected{background-color:#e4eeda;background-image:none;border:2px solid #78ab46;padding:0;vertical-align:top;border-color:#e4eeda;outline:2px solid #207ab7}.tox iframe.tox-tinymceai__annotation--modified__highlight,.tox img.tox-tinymceai__annotation--modified__highlight,.tox video.tox-tinymceai__annotation--modified__highlight{background-color:#d2e4f1;background-image:none;border:2px solid #207ab7;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--modified__selected,.tox img.tox-tinymceai__annotation--modified__selected,.tox video.tox-tinymceai__annotation--modified__selected{background-color:#d2e4f1;background-image:none;border:2px solid #207ab7;padding:0;vertical-align:top;border-color:#d2e4f1;outline:2px solid #207ab7}.tox iframe.tox-tinymceai__annotation--removed__highlight,.tox img.tox-tinymceai__annotation--removed__highlight,.tox video.tox-tinymceai__annotation--removed__highlight{background-color:#f5cccc;background-image:none;border:2px solid #c00;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--removed__selected,.tox img.tox-tinymceai__annotation--removed__selected,.tox video.tox-tinymceai__annotation--removed__selected{background-color:#f5cccc;background-image:none;border:2px solid #c00;padding:0;vertical-align:top;border-color:#f5cccc;outline:2px solid #207ab7}.tox .tox-tinymceai__annotation--removed__highlight iframe,.tox .tox-tinymceai__annotation--removed__highlight img,.tox .tox-tinymceai__annotation--removed__highlight video,.tox .tox-tinymceai__annotation--removed__selected iframe,.tox .tox-tinymceai__annotation--removed__selected img,.tox .tox-tinymceai__annotation--removed__selected video{background-color:#f5cccc;background-image:none;border:2px solid #c00;padding:0;vertical-align:top}.tox .tox-tinymceai__annotation--removed__selected iframe,.tox .tox-tinymceai__annotation--removed__selected img,.tox .tox-tinymceai__annotation--removed__selected video{border-color:#f5cccc;outline:2px solid #207ab7}.tox div.tox-tinymceai__annotation:has(> hr){background-size:auto;padding:.25em}.tox div.tox-tinymceai__annotation--removed__highlight>hr{border-color:rgba(0,0,0,.2)}.tox div.tox-tinymceai__annotation--added__highlight>hr{border-color:rgba(0,0,0,.2)}.tox .tox-tinymceai__deleted-media-overlay{inset:0;overflow:hidden;pointer-events:none;position:absolute;z-index:11}.tox .tox-tinymceai__deleted-media-wash{fill:#fff;fill-opacity:0.4}.tox .tox-tinymceai__deleted-media-mark{stroke:#c00}.tox .tox-tinymceai__deleted-media-halo{stroke:#fff}.tox .mce-pagebreak.tox-tinymceai__annotation--added__selected,.tox .mce-pagebreak.tox-tinymceai__annotation--modified__selected,.tox .mce-pagebreak.tox-tinymceai__annotation--removed__selected{border:1px dashed #aaa;box-shadow:none;background-image:none}.tox .mce-pagebreak.tox-tinymceai__annotation--added__highlight,.tox .mce-pagebreak.tox-tinymceai__annotation--modified__highlight,.tox .mce-pagebreak.tox-tinymceai__annotation--removed__highlight{padding:0}.tox .tox-tinymceai__diff-focus-overlay{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:10}.tox .tox-tinymceai__diff-focus-overlay-dim{fill:rgba(34,47,62,0.2)}.tox .tox-ai__scroll:has(.tox-card-group){padding-top:0}.tox .tox-ai__scroll:has(.tox-card-group) .tox-ai__review-sidebar-container .tox-card-list{gap:0}.tox .tox-ai__scroll .tox-ai__review-sidebar-container{scrollbar-gutter:stable;width:100%;height:100%;display:flex;flex-direction:column;gap:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-card-list{gap:8px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-card-group__title{margin-inline:-12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-initializing{padding:var(--tox-private-pad-md,16px)}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-description{padding-bottom:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));font-size:var(--tox-private-font-size-sm, 14px)}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-choose-container{padding-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-custom-input{margin-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-custom-actions{display:flex;gap:8px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container{margin-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container button.tox-ai__review-input-button{width:100%;background-color:var(--tox-private-background-color,#fff);display:flex;justify-content:space-between;align-items:center;border:1px solid #ccc;border-radius:3px;box-sizing:border-box}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container .tox-ai__review-dropdown-content{width:anchor-size(width)}.tox .tox-statusbar{align-items:center;background-color:#fff;border-top:1px solid #ccc;color:rgba(34,47,62,.7);display:flex;flex:0 0 auto;font-size:12px;font-weight:400;height:18px;overflow:hidden;padding:0 8px;position:relative;text-transform:uppercase}.tox .tox-statusbar__path{display:flex;flex:1 1 auto;text-overflow:ellipsis;white-space:nowrap}.tox .tox-statusbar__right-container{display:flex;justify-content:flex-end;white-space:nowrap}.tox .tox-statusbar__help-text{text-align:center}.tox .tox-statusbar__text-container{align-items:flex-start;display:flex;flex:1 1 auto;height:16px;justify-content:space-between}@media only screen and (min-width:768px){.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__help-text,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__path,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__right-container{flex:0 0 calc(100% / 3)}}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-end{justify-content:flex-end}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-start{justify-content:flex-start}.tox .tox-statusbar__text-container.tox-statusbar__text-container--space-around{justify-content:space-around}.tox .tox-statusbar__path>*{display:inline;white-space:nowrap}.tox .tox-statusbar__wordcount{flex:0 0 auto;margin-left:1ch}@media only screen and (max-width:767px){.tox .tox-statusbar__text-container .tox-statusbar__help-text{display:none}.tox .tox-statusbar__text-container .tox-statusbar__help-text:only-child{display:block}}.tox .tox-statusbar a,.tox .tox-statusbar__path-item,.tox .tox-statusbar__wordcount{color:rgba(34,47,62,.7);position:relative;-webkit-text-decoration:none;text-decoration:none}.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]){color:#222f3e;cursor:pointer}.tox .tox-statusbar a:focus-visible::after,.tox .tox-statusbar__path-item:focus-visible::after,.tox .tox-statusbar__wordcount:focus-visible::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-statusbar a:focus-visible::after,.tox .tox-statusbar__path-item:focus-visible::after,.tox .tox-statusbar__wordcount:focus-visible::after{border:2px solid highlight}}.tox .tox-statusbar__branding svg{fill:rgba(34,47,62,0.8);height:1em;margin-left:.3em;width:auto}@media (forced-colors:active){.tox .tox-statusbar__branding svg{fill:currentColor}}.tox .tox-statusbar__branding a{align-items:center;display:inline-flex}.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg,.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg{fill:#222f3e}.tox .tox-statusbar__resize-cursor-default{cursor:ns-resize}.tox .tox-statusbar__resize-cursor-both{cursor:nwse-resize}.tox .tox-statusbar__resize-handle{align-items:flex-end;align-self:stretch;display:flex;flex:0 0 auto;justify-content:flex-end;margin-bottom:3px;margin-left:4px;margin-right:calc(3px - 8px);margin-top:3px;padding-bottom:0;padding-left:0;padding-right:0;position:relative}.tox .tox-statusbar__resize-handle svg{display:block;fill:rgba(34,47,62,0.5)}.tox .tox-statusbar__resize-handle:focus svg,.tox .tox-statusbar__resize-handle:hover svg{fill:#222f3e}.tox .tox-statusbar__resize-handle:focus-visible{background-color:transparent;border-radius:1px 1px -4px 1px;box-shadow:0 0 0 2px transparent}.tox .tox-statusbar__resize-handle:focus-visible::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-statusbar__resize-handle:focus-visible::after{border:2px solid highlight}}.tox .tox-statusbar__resize-handle:only-child{margin-left:auto}.tox:not([dir=rtl]) .tox-statusbar__path>*{margin-right:4px}.tox:not([dir=rtl]) .tox-statusbar__branding{margin-left:2ch}.tox[dir=rtl] .tox-statusbar{flex-direction:row-reverse}.tox[dir=rtl] .tox-statusbar__path>*{margin-left:4px}.tox[dir=rtl] .tox-statusbar__branding svg{margin-left:0;margin-right:.3em}.tox a.tox-tag{cursor:pointer}.tox .tox-tag{width:fit-content;box-sizing:border-box;display:flex;padding:var(--tox-private-pad-xs,4px) 6px;position:relative;align-items:center;gap:var(--tox-private-pad-xs,4px);border-radius:3px;background:hsl(from var(--tox-private-color-tint,#207ab7) h s l / 10%);line-height:var(--tox-private-base-value, 16px);font-size:var(--tox-private-font-size-xs, 12px)}.tox .tox-tag::before{border-radius:var(--tox-private-control-border-radius,3px);bottom:calc(-1 * var(--tox-private-tag-border-width,1px));box-shadow:var(--tox-private-tag-focus-outline,inset 0 0 0 1px #fff,0 0 0 2px #207ab7);content:'';left:calc(-1 * var(--tox-private-tag-border-width,1px));opacity:0;pointer-events:none;position:absolute;right:calc(-1 * var(--tox-private-tag-border-width,1px));top:calc(-1 * var(--tox-private-tag-border-width,1px))}.tox .tox-tag:focus:not(:disabled)::before{opacity:1}.tox .tox-tag>*{flex-shrink:0}.tox .tox-tag .tox-icon{height:var(--tox-private-base-value,16px);fill:var(--tox-private-text-color,#222f3e)}.tox .tox-tag .tox-tag__label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;flex-shrink:1;color:var(--tox-private-text-color,#222f3e)}.tox .tox-tag .tox-tag__close{height:var(--tox-private-base-value,16px)}.tox .tox-tag .tox-tag__close .tox-button.tox-button--icon{border:0;padding:0;color:var(--tox-private-text-color-muted,rgba(34,47,62,.7))}.tox .tox-tag .tox-tag__close .tox-button.tox-button--icon::before{box-shadow:none}.tox .tox-throbber{z-index:1299}.tox .tox-throbber__busy-spinner{align-items:center;background-color:rgba(255,255,255,.6);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.tox .tox-segmented-control{display:inline-flex;position:relative;border:none;border-radius:var(--tox-private-control-border-radius,3px);box-shadow:inset 0 0 0 1px var(--tox-private-segmented-control-border-color,#e3e3e3);overflow:hidden;padding:var(--tox-private-pad-xs,4px);background-color:var(--tox-private-background-color,#fff)}.tox .tox-segmented-control__segment{flex:1;padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-sm,8px);cursor:pointer;background:0 0;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:16px;border:1px solid transparent;border-radius:calc(var(--tox-private-control-border-radius,3px) - 1px);text-align:center;white-space:nowrap;display:inline-block;vertical-align:middle;color:var(--tox-private-segmented-control-text-color,#222f3e)}.tox .tox-segmented-control__segment--active{border-color:var(--tox-private-segmented-control-active-border-color,#207ab7);color:var(--tox-private-segmented-control-active-text-color,#207ab7);background-color:var(--tox-private-segmented-control-active-bg-color,rgba(32,122,183,.1))}.tox .tox-segmented-control:not(.tox-segmented-control--disabled) .tox-segmented-control__segment{transition:all .2s}.tox .tox-segmented-control.tox-segmented-control--disabled .tox-segmented-control__segment{opacity:.5;cursor:not-allowed;pointer-events:none}.tox .tox-segmented-control__segment:focus{outline:2px solid var(--tox-private-color-tint,#207ab7);outline-offset:2px}.tox .tox-segmented-control__segment:focus:not(:focus-visible){outline:0}.tox .tox-toggle{display:flex;align-items:center;gap:var(--tox-private-pad-xs,4px);padding:var(--tox-private-pad-xs,4px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:var(--tox-private-control-line-height, 24px);white-space:nowrap;background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color,#222f3e)}.tox .tox-toggle input{position:absolute;opacity:0;width:0;height:0}.tox .tox-toggle__slider{position:relative;cursor:pointer;box-sizing:border-box;transition:.4s;border-radius:34px;width:28px;height:16px;background-color:var(--tox-private-slider-background-color,#fff);border:1px solid var(--tox-private-slider-border-color,#e3e3e3)}.tox .tox-toggle__slider::before{position:absolute;content:"";height:12px;width:12px;left:1px;bottom:1px;transition:.4s;border-radius:50%;background-color:var(--tox-private-slider-handle-background-color,#222f3e)}.tox input:checked+.tox-toggle__slider{background-color:var(--tox-private-slider-checked-background-color,#207ab7);border:1px solid var(--tox-private-slider-checked-border-color,#207ab7)}.tox input:focus+.tox-toggle__slider{box-shadow:0 0 0 1px var(--tox-private-color-white,#fff),0 0 0 2px var(--tox-private-color-tint,#207ab7)}.tox input:checked+.tox-toggle__slider::before{transform:translateX(12px);background-color:var(--tox-private-slider-checked-handle-background-color,#fff)}.tox input:disabled+.tox-toggle__slider::before{opacity:50%}.tox .tox-tbtn{align-items:center;background:#fff;border:0;border-radius:3px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:34px;justify-content:center;margin:3px 0 2px 0;outline:0;padding:0;text-transform:none;width:34px}.tox .tox-tbtn .tox-tbtn__icon-wrap{pointer-events:none}@media (forced-colors:active){.tox .tox-tbtn.tox-tbtn:hover,.tox .tox-tbtn:hover{outline:1px dashed currentColor}.tox .tox-tbtn.tox-tbtn--active,.tox .tox-tbtn.tox-tbtn--enabled,.tox .tox-tbtn.tox-tbtn--enabled:focus,.tox .tox-tbtn.tox-tbtn--enabled:hover,.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){outline:1px solid currentColor;position:relative}}.tox .tox-tbtn svg{display:block;fill:#222f3e}@media (forced-colors:active){.tox .tox-tbtn svg{fill:currentColor!important}.tox .tox-tbtn svg.tox-tbtn--enabled,.tox .tox-tbtn svg:focus:not(.tox-tbtn--disabled){fill:currentColor!important}.tox .tox-tbtn svg .tox-tbtn:disabled,.tox .tox-tbtn svg .tox-tbtn:disabled:hover,.tox .tox-tbtn svg.tox-tbtn--disabled,.tox .tox-tbtn svg.tox-tbtn--disabled:hover{filter:contrast(0%)}}.tox .tox-tbtn.tox-tbtn-more{padding-left:5px;padding-right:5px;width:inherit}.tox .tox-tbtn:focus{background:#dee0e2;border:0;box-shadow:none;position:relative;z-index:1}.tox .tox-tbtn:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-tbtn:focus::after{border:2px solid highlight}}.tox .tox-tbtn:hover{background:#dee0e2;border:0;box-shadow:none;color:#222f3e}.tox .tox-tbtn:hover svg{fill:#222f3e}.tox .tox-tbtn:active{background:#c8cbcf;border:0;box-shadow:none;color:#222f3e}.tox .tox-tbtn:active svg{fill:#222f3e}.tox .tox-tbtn--disabled .tox-tbtn--enabled svg{fill:rgba(34,47,62,0.5)}.tox .tox-tbtn--disabled,.tox .tox-tbtn--disabled:hover,.tox .tox-tbtn:disabled,.tox .tox-tbtn:disabled:hover{background:#fff;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-tbtn--disabled svg,.tox .tox-tbtn--disabled:hover svg,.tox .tox-tbtn:disabled svg,.tox .tox-tbtn:disabled:hover svg{fill:rgba(34,47,62,0.5)}.tox .tox-tbtn--active,.tox .tox-tbtn--enabled,.tox .tox-tbtn--enabled:focus,.tox .tox-tbtn--enabled:hover{background:#c8cbcf;border:0;box-shadow:none;color:#222f3e;position:relative}.tox .tox-tbtn--active>*,.tox .tox-tbtn--enabled:focus>*,.tox .tox-tbtn--enabled:hover>*,.tox .tox-tbtn--enabled>*{transform:none}.tox .tox-tbtn--active svg,.tox .tox-tbtn--enabled svg,.tox .tox-tbtn--enabled:focus svg,.tox .tox-tbtn--enabled:hover svg{fill:#222f3e}.tox .tox-tbtn--active.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled:focus.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled:hover.tox-tbtn--disabled svg{fill:rgba(34,47,62,0.5)}.tox .tox-tbtn--enabled:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-tbtn--enabled:focus::after{border:2px solid highlight}}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){color:#222f3e}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg{fill:#222f3e}.tox .tox-tbtn:active>*{transform:none}.tox .tox-tbtn--md{height:51px;width:51px}.tox .tox-tbtn--lg{flex-direction:column;height:68px;width:68px}.tox .tox-tbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tbtn--labeled{padding:0 4px;width:unset}.tox .tox-tbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-label--context-toolbar{margin:6px 1px 5px 0;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-number-input{background:0 0;border-radius:3px;display:flex;margin:3px 0 2px 0;position:relative;width:auto}.tox .tox-number-input:focus{background:#dee0e2}.tox .tox-number-input:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input:focus::after{border:2px solid highlight}}.tox .tox-number-input .tox-input-wrapper{display:flex;pointer-events:none;position:relative;text-align:center}.tox .tox-number-input .tox-input-wrapper:focus{background-color:#dee0e2;z-index:1}.tox .tox-number-input .tox-input-wrapper:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input .tox-input-wrapper:focus::after{border:2px solid highlight}}.tox .tox-number-input .tox-input-wrapper:has(input:focus)::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input .tox-input-wrapper:has(input:focus)::after{border:2px solid highlight}}.tox .tox-number-input input{border-radius:3px;color:#222f3e;font-size:14px;margin:2px 0;pointer-events:all;position:relative;width:60px}.tox .tox-number-input input:hover{background:#dee0e2;color:#222f3e}.tox .tox-number-input input:focus{background-color:#dee0e2}.tox .tox-number-input input:disabled{background:#fff;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-number-input button{color:#222f3e;height:34px;position:relative;text-align:center;width:24px}@media (forced-colors:active){.tox .tox-number-input button:active,.tox .tox-number-input button:focus,.tox .tox-number-input button:hover{outline:1px solid currentColor!important}}.tox .tox-number-input button svg{display:block;fill:#222f3e;margin:0 auto;transform:scale(.67)}@media (forced-colors:active){.tox .tox-number-input button svg,.tox .tox-number-input button svg:active,.tox .tox-number-input button svg:hover{fill:currentColor!important}.tox .tox-number-input button svg:disabled{filter:contrast(0)}}.tox .tox-number-input button:focus{background:#dee0e2;z-index:1}.tox .tox-number-input button:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input button:focus::after{border:2px solid highlight}}.tox .tox-number-input button:hover{background:#dee0e2;border:0;box-shadow:none;color:#222f3e}.tox .tox-number-input button:hover svg{fill:#222f3e}.tox .tox-number-input button:active{background:#c8cbcf;border:0;box-shadow:none;color:#222f3e}.tox .tox-number-input button:active svg{fill:#222f3e}.tox .tox-number-input button:disabled{background:#fff;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-number-input button:disabled svg{fill:rgba(34,47,62,0.5)}.tox .tox-number-input button.minus{border-radius:3px 0 0 3px}.tox .tox-number-input button.plus{border-radius:0 3px 3px 0}.tox .tox-number-input:focus:not(:active)>.tox-input-wrapper,.tox .tox-number-input:focus:not(:active)>button{background:#dee0e2}.tox .tox-tbtn--select{margin:3px 0 2px 0;padding:0 4px;width:auto}.tox .tox-tbtn--bordered,.tox .tox-tbtn--bordered:focus,.tox .tox-tbtn--bordered:hover{border:1px solid #ccc}.tox .tox-tbtn__select-label{cursor:default;font-weight:400;height:initial;margin:0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-tbtn__select-chevron svg{fill:rgba(34,47,62,0.5)}@media (forced-colors:active){.tox .tox-tbtn__select-chevron svg{fill:currentColor}}.tox .tox-tbtn--bespoke{background:0 0}.tox .tox-tbtn--bespoke:focus{background:#dee0e2}.tox .tox-tbtn--bespoke+.tox-tbtn--bespoke{margin-inline-start:0}.tox .tox-tbtn--bespoke .tox-tbtn__select-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:7em}.tox .tox-tbtn--disabled .tox-tbtn__select-label,.tox .tox-tbtn--select:disabled .tox-tbtn__select-label{cursor:not-allowed}.tox .tox-split-button__main{border-radius:3px 0 0 3px;margin-right:0}.tox .tox-split-button__main:focus{border:0;box-shadow:none;background:#dee0e2;color:#222f3e;position:relative;z-index:1}.tox .tox-split-button__main:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0;border-radius:3px 0 0 3px}@media (forced-colors:active){.tox .tox-split-button__main:focus::after{border:2px solid highlight}}.tox .tox-split-button__chevron{width:16px;border-radius:0 3px 3px 0;margin-left:0}.tox .tox-split-button__chevron:focus{border:0;box-shadow:none;background:#dee0e2;color:#222f3e;position:relative;z-index:1}.tox .tox-split-button__chevron:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0;border-radius:0 3px 3px 0}@media (forced-colors:active){.tox .tox-split-button__chevron:focus::after{border:2px solid highlight}}.tox .tox-split-button__chevron svg{fill:rgba(34,47,62,0.5)}@media (forced-colors:active){.tox .tox-split-button__chevron svg{fill:currentColor}}.tox.tox-platform-touch .tox-split-button__main{width:30px}.tox.tox-platform-touch .tox-split-button__chevron{width:20px}.tox .tox-split-button__chevron.tox-tbtn--disabled,.tox .tox-split-button__main.tox-tbtn--disabled{background:#fff;box-shadow:none;color:rgba(34,47,62,.5)}.tox .tox-split-button__chevron.tox-tbtn--disabled:hover,.tox .tox-split-button__main.tox-tbtn--disabled:hover{background:#fff;box-shadow:none;color:rgba(34,47,62,.5)}.tox .tox-split-button__chevron.tox-tbtn--disabled:focus,.tox .tox-split-button__main.tox-tbtn--disabled:focus{background:#fff;box-shadow:none;color:rgba(34,47,62,.5)}.tox .tox-split-button__main.tox-tbtn--disabled svg .tox-icon-highlight-bg-color__color,.tox .tox-split-button__main.tox-tbtn--disabled svg .tox-icon-text-color__color{opacity:.3}.tox .tox-toolbar-overlord{background-color:#fff}.tox .tox-toolbar,.tox .tox-toolbar__overflow,.tox .tox-toolbar__primary{background-attachment:local;background-color:#fff;background-image:repeating-linear-gradient(#ccc 0 1px,transparent 1px 39px);background-position:center top 39px;background-repeat:no-repeat;background-size:calc(100% - 4px * 2) calc(100% - 39px);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;padding:0 0;transform:perspective(1px)}.tox .tox-toolbar-overlord>.tox-toolbar,.tox .tox-toolbar-overlord>.tox-toolbar__overflow,.tox .tox-toolbar-overlord>.tox-toolbar__primary{background-position:center top 0;background-size:calc(100% - 4px * 2) calc(100% - 0px)}.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed{height:0;opacity:0;padding-bottom:0;padding-top:0;visibility:hidden}.tox .tox-toolbar__overflow--growing{transition:height .3s ease,opacity .2s linear .1s}.tox .tox-toolbar__overflow--shrinking{transition:opacity .3s ease,height .2s linear .1s,visibility 0s linear .3s}.tox .tox-anchorbar,.tox .tox-toolbar-overlord{grid-column:1/-1}.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{border-top:1px solid #ccc;margin-top:-1px;padding-bottom:0;padding-top:0}@media (forced-colors:active){.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{outline:1px solid currentColor}}.tox .tox-toolbar--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-pop .tox-toolbar{border-width:0}.tox .tox-toolbar--no-divider{background-image:none}.tox .tox-toolbar-overlord .tox-toolbar:not(.tox-toolbar--scrolling):first-child,.tox .tox-toolbar-overlord .tox-toolbar__primary{background-position:center top 39px}.tox .tox-editor-header>.tox-toolbar--scrolling,.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child{background-image:none}.tox .tox-focusable-wrapper{border:1px solid transparent;margin-right:2px;pointer-events:none}.tox .tox-focusable-wrapper .tox-textfield-size{pointer-events:all}.tox .tox-focusable-wrapper:focus{background-color:#dee0e2;border-radius:3px;border-style:solid;border-width:1px}.tox.tox-tinymce-aux .tox-toolbar__overflow{background-color:#fff;background-position:center top 43px;background-size:calc(100% - 8px * 2) calc(100% - 51px);border:none;border-radius:3px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);overscroll-behavior:none;padding:4px 0}@media (forced-colors:active){.tox.tox-tinymce-aux .tox-toolbar__overflow{border:solid}}.tox-pop .tox-pop__dialog .tox-toolbar{background-position:center top 43px;background-size:calc(100% - 4px * 2) calc(100% - 51px);padding:4px 0}.tox-context-form__group{display:flex;align-items:center}.tox .tox-toolbar__group{align-items:center;display:flex;flex-wrap:wrap;margin:0 0;padding:0 4px 0 4px}.tox .tox-toolbar__group--pull-right{margin-left:auto}.tox .tox-toolbar--scrolling .tox-toolbar__group{flex-shrink:0;flex-wrap:nowrap}.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type){border-right:1px solid #ccc}.tox[dir=rtl] .tox-toolbar__group:not(:last-of-type){border-left:1px solid #ccc}.tox .tox-toolbar-input-form{display:flex;align-items:center;background-color:var(--tox-private-background-color,#fff);padding:0 var(--tox-private-pad-sm,8px)}.tox .tox-tooltip{display:inline-block;max-width:min(80%,15em);padding:8px 0 0 0;position:relative;width:max-content;z-index:1150}.tox .tox-tooltip.tox-tooltip--anchor{display:none;padding:var(--tox-private-pad-xs,4px) 0 0;position:fixed;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;height:fit-content}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--up{position-area:block-end}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--down{position-area:block-start}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--left{position-area:inline-start}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--right{position-area:inline-end}.tox .tox-tooltip__body{background-color:#222f3e;border-radius:3px;box-shadow:none;color:#fff;font-size:12px;font-style:normal;font-weight:600;overflow-wrap:break-word;padding:4px 6px;text-transform:none}@media (forced-colors:active){.tox .tox-tooltip__body{outline:outset 1px}}.tox .tox-tooltip__arrow{position:absolute}.tox .tox-tooltip--down .tox-tooltip__arrow{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #222f3e;bottom:0;left:50%;position:absolute;transform:translateX(-50%)}.tox .tox-tooltip--up .tox-tooltip__arrow{border-bottom:8px solid #222f3e;border-left:8px solid transparent;border-right:8px solid transparent;left:50%;position:absolute;top:0;transform:translateX(-50%)}.tox .tox-tooltip--right .tox-tooltip__arrow{border-bottom:8px solid transparent;border-left:8px solid #222f3e;border-top:8px solid transparent;position:absolute;right:0;top:50%;transform:translateY(-50%)}.tox .tox-tooltip--left .tox-tooltip__arrow{border-bottom:8px solid transparent;border-right:8px solid #222f3e;border-top:8px solid transparent;left:0;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-tree{display:flex;flex-direction:column}.tox .tox-tree .tox-trbtn{align-items:center;background:0 0;border:0;border-radius:4px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;margin-bottom:4px;margin-top:4px;outline:0;overflow:hidden;padding:0;padding-left:8px;text-transform:none}.tox .tox-tree .tox-trbtn .tox-tree__label{cursor:default;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tree .tox-trbtn svg{display:block;fill:#222f3e}.tox .tox-tree .tox-trbtn:focus{background:#dee0e2;border:0;box-shadow:none}.tox .tox-tree .tox-trbtn:hover{background:#dee0e2;border:0;box-shadow:none;color:#222f3e}.tox .tox-tree .tox-trbtn:hover svg{fill:#222f3e}.tox .tox-tree .tox-trbtn:active{background:#b1d0e6;border:0;box-shadow:none;color:#222f3e}.tox .tox-tree .tox-trbtn:active svg{fill:#222f3e}.tox .tox-tree .tox-trbtn--disabled,.tox .tox-tree .tox-trbtn--disabled:hover,.tox .tox-tree .tox-trbtn:disabled,.tox .tox-tree .tox-trbtn:disabled:hover{background:0 0;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-tree .tox-trbtn--disabled svg,.tox .tox-tree .tox-trbtn--disabled:hover svg,.tox .tox-tree .tox-trbtn:disabled svg,.tox .tox-tree .tox-trbtn:disabled:hover svg{fill:rgba(34,47,62,0.5)}.tox .tox-tree .tox-trbtn--enabled,.tox .tox-tree .tox-trbtn--enabled:hover{background:#b1d0e6;border:0;box-shadow:none;color:#222f3e}.tox .tox-tree .tox-trbtn--enabled:hover>*,.tox .tox-tree .tox-trbtn--enabled>*{transform:none}.tox .tox-tree .tox-trbtn--enabled svg,.tox .tox-tree .tox-trbtn--enabled:hover svg{fill:#222f3e}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled){color:#222f3e}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled) svg{fill:#222f3e}.tox .tox-tree .tox-trbtn:active>*{transform:none}.tox .tox-tree .tox-trbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tree .tox-trbtn--labeled{padding:0 4px;width:unset}.tox .tox-tree .tox-trbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-tree .tox-tree--directory{display:flex;flex-direction:column}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label{font-weight:700}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn:focus svg{fill:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:focus .tox-mbtn svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover .tox-mbtn svg{fill:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-chevron{margin-right:6px}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--shrinking) .tox-chevron{transition:transform .5s ease-in-out}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--open) .tox-chevron{transform:rotate(90deg)}.tox .tox-tree .tox-tree--leaf__label{font-weight:400}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--leaf__label .tox-mbtn:focus svg{fill:#222f3e}.tox .tox-tree .tox-tree--leaf__label:hover .tox-mbtn svg{fill:#222f3e}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#222f3e}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#222f3e}.tox .tox-tree .tox-icon-custom-state{flex-grow:1;display:flex;justify-content:flex-end}.tox .tox-tree .tox-tree--directory__children{overflow:hidden;padding-left:16px}.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--growing,.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--shrinking{transition:height .5s ease-in-out}.tox .tox-tree .tox-trbtn.tox-tree--leaf__label{display:flex;justify-content:space-between}[data-mce-name=uploadcare-enhance-filter] .color-swatch-remove-color path{fill:#c00;stroke:#c00}.tox .tox-view-wrap,.tox .tox-view-wrap__slot-container{background-color:#fff;display:flex;flex:1;flex-direction:column;height:100%;min-height:0}.tox .tox-view{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden;background-color:#fff}.tox .tox-view__header{align-items:center;display:flex;font-size:16px;justify-content:space-between;padding:8px;position:relative}.tox .tox-view__label{color:#222f3e;font-weight:700;line-height:24px;padding:4px 16px;text-align:center;white-space:nowrap}.tox .tox-view__label--normal{font-size:16px}.tox .tox-view__label--large{font-size:20px}.tox .tox-view--mobile.tox-view__header,.tox .tox-view--mobile.tox-view__toolbar{padding:8px}.tox .tox-view--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-view__align-right{margin-left:auto}.tox .tox-view__toolbar{display:flex;flex-direction:row;gap:8px;justify-content:space-between;overflow-x:auto;padding:8px}.tox .tox-view__toolbar__group{display:flex;flex-direction:row;gap:12px}.tox .tox-view__header-end,.tox .tox-view__header-start{display:flex}.tox .tox-view__pane{height:100%;padding:8px;position:relative;width:100%}.tox .tox-view__pane_panel{border:1px solid #ccc;border-radius:3px}.tox:not([dir=rtl]) .tox-view__header .tox-view__header-end>*,.tox:not([dir=rtl]) .tox-view__header .tox-view__header-start>*{margin-left:8px}.tox[dir=rtl] .tox-view__header .tox-view__header-end>*,.tox[dir=rtl] .tox-view__header .tox-view__header-start>*{margin-right:8px}.tox .tox-well{border:1px solid #ccc;border-radius:3px;padding:8px;width:100%}.tox .tox-well>:first-child{margin-top:0}.tox .tox-well>:last-child{margin-bottom:0}.tox .tox-well>:only-child{margin:0}.tox .tox-custom-editor{border:1px solid #ccc;border-radius:3px;display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-view .tox-revisionhistory__pane{padding:0}.tox .tox-revisionhistory__container{display:flex;flex-direction:column;height:100%}.tox .tox-revisionhistory{background-color:#fff;border-top:1px solid #f0f0f0;display:flex;flex:1;height:100%;overflow-x:auto;overflow-y:hidden;position:relative;width:100%}.tox .tox-revisionhistory__iframe{flex:1}.tox .tox-revisionhistory__sidebar{display:flex;flex-direction:column;height:100%;min-width:248px;width:316px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__sidebar-title{background-color:#fff;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);color:#222f3e;font-size:20px;font-weight:400;line-height:28px;padding:12px;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions{background-color:#f0f0f0;display:flex;flex:1;flex-direction:column;gap:12px;overflow-y:auto;padding:10px 12px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus{height:100%;position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus::after{bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0;border-radius:3px;bottom:1px;left:1px;right:1px;top:1px}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card{background-color:#fff;border:1px solid #f0f0f0;border-radius:6px;color:#222f3e;cursor:pointer;display:flex;flex-direction:column;font-size:14px;padding:12px;width:100%}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:hover{box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus{position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent #006ce7;content:'';left:0;position:absolute;right:0;top:0;border-radius:6px;box-shadow:0 0 0 2px #006ce7;box-shadow:0 0 0 2px #006ce7!important}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected{background-color:#fff5cc;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);position:relative}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent #e3b82a;content:'';left:0;position:absolute;right:0;top:0;border-radius:6px;box-shadow:0 0 0 2px #e3b82a}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-tags{display:flex;align-items:flex-start;flex-direction:row;gap:8px;overflow-x:auto}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-label{display:block;max-width:min-content;padding:4px 8px;margin-bottom:8px;font-size:12px;font-weight:700;border-radius:4px;background:#d3d5d8;text-wrap:balance;flex:0 1 auto}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-content{display:flex;flex-direction:row;gap:8px;align-items:center}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution{align-items:center;display:flex}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution .tox-revisionhistory__avatar{position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution .tox-revisionhistory__avatar+.tox-revisionhistory__card-ai-icon{margin-left:-4px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-info{display:flex;flex-direction:column;flex:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-date-label{font-size:14px;font-weight:700;line-height:18px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-author-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:400}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__avatar{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-ai-icon{display:flex;height:36px;width:36px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__norevision{color:rgba(34,47,62,.7);font-size:16px;line-height:24px;padding:5px 5.5px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-check-icon{color:#222f3e;height:24px}.tox .tox-card{background-color:#fff;border-radius:3px;display:flex;flex-direction:column;gap:12px;padding:12px;cursor:pointer;transition:box-shadow .15s ease-in-out,border .15s ease-in-out;border:0 solid transparent}.tox .tox-card:hover{box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-card--selected{border-color:#207ab7}.tox .tox-card:focus-visible{outline:0 solid transparent;border-color:transparent}.tox .tox-card--has-decision{background-color:#f0f0f0}.tox .tox-card--has-decision:not(.tox-card--selected){border-width:1px;border-color:rgba(34,47,62,.7);padding:11px}.tox .tox-card--has-decision .tox-card__header{font-size:12px}.tox .tox-card--has-decision .tox-card__body{color:rgba(34,47,62,.7)}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline{border-color:#e0e0e0}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:focus:not(:disabled),.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:hover:not(:disabled){background-color:#e0e0e0;border-color:#d1d1d1}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:active:not(:disabled){background-color:#d1d1d1;border-color:#d1d1d1}.tox .tox-card__header{padding-bottom:0;color:#222f3e;font-size:16px;font-weight:700;text-transform:uppercase;display:flex;flex-direction:column;gap:12px}.tox .tox-card__header-label{font-size:12px;font-weight:700;text-transform:uppercase;color:#222f3e}.tox .tox-card__header-content{flex:1;min-width:0;font-weight:400;text-transform:none}.tox .tox-card__header-actions{display:flex;align-items:center;gap:4px;flex-shrink:0;opacity:1;pointer-events:auto;transition:opacity .15s ease-in-out}.tox .tox-card__header-actions--hover-visible,.tox .tox-card__header-actions--on-focus{opacity:0;pointer-events:none}.tox .tox-card__header-actions--always-visible{opacity:1;pointer-events:auto}.tox .tox-card__header:has(.tox-card__header-actions),.tox .tox-card__header:has(.tox-card__header-content){flex-direction:row;align-items:center}.tox .tox-card__header:has(.tox-card__header-content){justify-content:space-between}.tox .tox-card__header:has(.tox-card__header-actions):not(:has(.tox-card__header-content)){justify-content:flex-end}.tox .tox-card:focus-within .tox-card__header-actions--hover-visible,.tox .tox-card:focus-within .tox-card__header-actions--on-focus,.tox .tox-card:hover .tox-card__header-actions--hover-visible{opacity:1;pointer-events:auto}.tox .tox-card__body{color:#222f3e;font-size:14px}.tox .tox-card__body .tox-expandable-box{background:0 0;border:none;gap:12px}.tox .tox-card__body .tox-expandable-box .tox-expandable-box__content,.tox .tox-card__body .tox-expandable-box>.tox-button{margin:0}.tox .tox-card__highlight{padding:4px 6px;border-bottom:0 solid #207ab7}.tox .tox-card__highlight--added{background-color:#e4eeda}.tox .tox-card__highlight--deleted{background-color:#f5cccc}.tox .tox-card__highlight--modified{background-color:#d2e4f1}.tox .tox-card__actions{display:flex;gap:8px}.tox .tox-card__actions--space-between{justify-content:space-between}.tox .tox-card__actions--flex-start{justify-content:flex-start}.tox .tox-card__actions .tox-button,.tox .tox-card__actions .tox-button--icon,.tox .tox-card__actions .tox-button:has(.tox-icon:only-child){padding:4px 16px}.tox .tox-card__divider{margin:12px 0;border:none;border-top:1px solid #ccc}.tox .tox-card__expansion{display:flex;flex-direction:column;gap:12px;width:100%}.tox .tox-card__expansion:has(> .tox-card__expansion-content--collapsed:only-child){margin-block-start:-12px}.tox .tox-card__expansion-content{display:grid;font-size:14px;grid-template-rows:0fr;transition:grid-template-rows .2s ease-in-out}.tox .tox-card__expansion-content--expanded{grid-template-rows:1fr}.tox .tox-card__expansion-content--expanded>.tox-card__expansion-content-inner{min-height:auto;overflow:visible}.tox .tox-card__expansion-content--collapsed{grid-template-rows:0fr}.tox .tox-card__expansion-content-inner{min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:12px}.tox .tox-card.tox-skeleton{cursor:default;pointer-events:none;box-shadow:none}.tox .tox-card.tox-skeleton:hover{box-shadow:none}.tox .tox-card.tox-skeleton .tox-skeleton__line{border-radius:3px;margin:0}.tox .tox-card.tox-skeleton .tox-card__body{display:flex;flex-direction:column;gap:4px}.tox .tox-card-list{display:flex;flex-direction:column;gap:12px}.tox .tox-card-list:has(.tox-card-group){gap:0}.tox .tox-card-list:focus{outline:0}.tox .tox-card-group{background-color:#f0f0f0;display:flex;flex-direction:column}.tox .tox-card-group .tox-card{scroll-margin-top:53px}.tox .tox-card-group__title{align-items:center;background-color:#fff;border-bottom:1px solid #ccc;color:#222f3e;display:flex;font-size:14px;font-weight:700;gap:8px;line-height:16px;overflow:hidden;padding:12px;position:sticky;top:0;z-index:1}.tox .tox-card-group__title-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-card-group__status{color:rgba(34,47,62,.7);flex:0 0 auto;font-size:12px;font-weight:400;margin-inline-start:auto}.tox .tox-card-group__content{display:flex;flex-direction:column;gap:12px;padding-block:12px}.tox .tox-profile{align-items:center;display:flex;gap:8px}.tox .tox-profile__image{align-items:center;display:flex;flex-shrink:0}.tox .tox-profile__badge{display:flex;flex-shrink:0;height:36px;margin-inline-start:-4px;width:36px}.tox .tox-profile__badge svg{display:block;height:100%;width:100%}.tox .tox-user-avatar{width:36px;height:36px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center}.tox .tox-user-avatar img{width:100%;height:100%;object-fit:cover}.tox .tox-profile__body{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;flex:1}.tox .tox-profile__heading{color:#222f3e;font-size:14px;font-weight:700;line-height:18px;text-transform:none}.tox .tox-profile__subheading{color:#222f3e;font-size:12px;font-weight:400;line-height:16px;padding-block:4px;text-transform:none}.tox .tox-profile__subheading .tox-icon svg{fill:rgba(34,47,62,0.5);margin-block:-4px;vertical-align:top}.tox [data-mce-name=suggestededits] .tox-icon .tox-icon--badge{fill:#207ab7}.tox .tox-view .tox-suggestededits__pane{padding:0}.tox .tox-suggestededits__sink{position:relative;z-index:1000}.tox .tox-suggestededits__sink .tox-tiered-menu .tox-collection--list{position:absolute}.tox .tox-suggestededits__container{height:100%;display:flex;flex-direction:column}.tox .tox-suggestededits__container .tox-suggestededits{background-color:#fff;display:flex;flex:1;height:inherit;overflow-x:auto;overflow-y:hidden;position:relative}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__content{flex:1}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__model{height:100%;position:relative}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__model .tox-suggestededits__iframe{height:100%;width:100%;overflow:scroll;background-color:#fff}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar{background-color:#f0f0f0;border-left:1px solid #c1c1c1;display:flex;flex-direction:column;flex:0 1 auto;min-width:248px;width:441px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__announcer{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;margin:-1px;padding:0;border:0}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar{padding:4px 12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar:not(:empty){padding:12px 12px 6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button:has(.tox-icon:only-child){gap:0;padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-md,16px)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button:has(.tox-icon:only-child) .tox-icon{align-items:center;display:flex;flex:0 0 auto;height:24px;justify-content:center;width:24px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline{border-color:#e3e3e3}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:focus:not(:disabled),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:hover:not(:disabled){background-color:rgba(34,47,62,.12);border-color:rgba(34,47,62,.12)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline.tox-button--enabled:not(:disabled),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:active:not(:disabled){background-color:rgba(34,47,62,.18);border-color:rgba(34,47,62,.18);color:#222f3e}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline[disabled]{border-color:#e3e3e3}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content{display:flex;flex:1;flex-direction:column;gap:12px;overflow:auto;padding:6px 12px 12px 12px;position:relative;scroll-padding-block:6px 12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-card--selected:has(textarea:focus){border-color:transparent}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__divider,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--divider{background-color:#f0f0f0;height:1px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--editor,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--single{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;gap:12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--editor{padding:6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header{display:flex;flex:auto;justify-content:space-between;align-items:center;gap:8px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__card--timestamp,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__card--timestamp{color:#222f3e}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__card--timestamp .tox-icon svg,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__card--timestamp .tox-icon svg{fill:rgba(34,47,62,0.5)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution{align-items:center;border:0;border-radius:20px;color:rgba(34,47,62,.7);height:20px;width:20px;display:flex;flex:0 0 auto;justify-content:center;text-align:center}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button{padding:var(--tox-private-button-padding-y,4px) var(--tox-private-button-padding-x,16px)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button .tox-suggestededits__resolution--label{display:none}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:not(:hover):not(:focus-visible),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:not(:hover):not(:focus-visible){border-color:transparent}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution{display:none}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution--label{display:inline}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content{display:flex;flex-direction:column;align-self:stretch;flex:auto;gap:6px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations{display:flex;gap:8px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-details,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-details{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-text,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-text{color:#222f3e;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:18px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-content-text,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-content-text{font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:20px;overflow-wrap:break-word}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-content-text-joiner,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-content-text-joiner{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__card--feedback,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__card--feedback{color:#222f3e;overflow-wrap:anywhere;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__actions,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--buttons{display:flex;align-items:center;gap:8px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__actions.tox-suggestededits__card--feedback-buttons,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--buttons.tox-suggestededits__card--feedback-buttons{justify-content:flex-end}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-suggestededits__card--active .tox-suggestededits__card--single{border-radius:6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-suggestededits__card--active .tox-suggestededits__card--single:focus-visible{outline:2px solid #207ab7}.tox .tox-dialog-loading::before{background-color:rgba(0,0,0,.5);content:"";height:100%;position:absolute;width:100%;z-index:1000}.tox .tox-tab{cursor:pointer}.tox .tox-dialog__content-js{display:flex;flex:1}.tox .tox-dialog__body-content .tox-collection{display:flex;flex:1}.tox:not(.tox-tinymce-inline) .tox-editor-header{background-color:none;padding:0}.tox.tox-tinymce--toolbar-bottom .tox-editor-header,.tox.tox-tinymce-inline .tox-editor-header{margin-bottom:-1px}.tox.tox-tinymce-inline .tox-editor-container{overflow:hidden}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header{border-top:none;box-shadow:none}.tox.tox.tox-tinymce--toolbar-sticky-on .tox-editor-header{background-color:transparent;box-shadow:0 4px 4px -3px rgba(0,0,0,.25);padding:0}.tox.tox.tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header{box-shadow:0 4px 4px -3px rgba(0,0,0,.25)}.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker{margin:-4px 0}.tox .tox-menu.tox-collection.tox-collection--list{padding:0}.tox .tox-pop{box-shadow:none}.tox .tox-label,.tox .tox-number-input,.tox .tox-split-button,.tox .tox-tbtn,.tox .tox-tbtn--select,.tox .tox-toolbar-label{margin:2px 0 3px 0}.tox .tox-tbtn--bordered,.tox .tox-tbtn--bordered:focus,.tox .tox-tbtn--bordered:hover{border:1px solid #ccc}.tox .tox-pop__dialog .tox-toolbar,.tox .tox-toolbar,.tox .tox-toolbar__overflow,.tox .tox-toolbar__primary{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}.tox .tox-menubar+.tox-toolbar-overlord{border-top:none}.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord .tox-toolbar__primary{border-top:1px solid #ccc;margin-top:-1px}.tox.tox-tinymce-aux .tox-toolbar__overflow{border:1px solid #ccc;padding:0}.tox .tox-pop .tox-pop__dialog .tox-toolbar{padding:0}.tox .tox-context-toolbar .tox-toolbar{background:0 0}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-menubar{border-top:1px solid #ccc}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-toolbar-overlord:first-child .tox-toolbar__primary,.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-toolbar:first-child{border-top:1px solid #ccc}.tox .tox-toolbar__group{padding:0 4px 0 4px}.tox .tox-collection__item{border-radius:0;cursor:pointer}.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]){color:#222f3e}.tox .tox-statusbar__branding svg{fill:rgba(34,47,62,0.8);height:1em;margin-left:.3em;width:auto}@media (forced-colors:active){.tox .tox-statusbar__branding svg{fill:currentColor}}.tox .tox-statusbar__branding a{align-items:center;display:inline-flex}.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg,.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg{fill:#222f3e}.tox:not([dir=rtl]) .tox-statusbar__branding{margin-left:1ch}.tox[dir=rtl] .tox-statusbar__branding svg{margin-left:0;margin-right:.3em}.tox .tox-statusbar__resize-handle{padding-bottom:0;padding-right:0}.tox .tox-button::before{display:none}`) \ No newline at end of file +tinymce.Resource.add('ui/tinymce-5/skin.css', `.tox{box-shadow:none;box-sizing:content-box;cursor:auto;font-style:normal;font-weight:400;line-height:normal;-webkit-tap-highlight-color:transparent;-webkit-text-decoration:none;text-decoration:none;text-shadow:none;text-transform:none;vertical-align:initial;white-space:normal}.tox :not(svg):not(rect){box-sizing:inherit;color:inherit;cursor:inherit;direction:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;-webkit-tap-highlight-color:inherit;text-align:inherit;text-decoration:inherit;text-shadow:inherit;text-transform:inherit;vertical-align:inherit;white-space:inherit}.tox :not(svg):not(rect){background:0 0;border:0;box-shadow:none;float:none;height:auto;margin:0;max-width:none;outline:0;padding:0;position:static;width:auto}.tox:not([dir=rtl]){direction:ltr;text-align:left}.tox[dir=rtl]{direction:rtl;text-align:right}.tox-tinymce :focus,.tox-tinymce-aux :focus{outline:0}button::-moz-focus-inner{border:0}@keyframes tox-rotation{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes tox-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox{color:var(--tox-private-color-black,#222f3e);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-font-size-base, 16px)}.tox-tinymce{border:1px solid #ccc;border-radius:0;box-shadow:none;box-sizing:border-box;display:flex;flex-direction:column;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);overflow:hidden;position:relative;visibility:inherit!important}.tox.tox-tinymce-inline{border:none;box-shadow:none;overflow:initial}.tox.tox-tinymce-inline .tox-editor-container{overflow:initial}.tox.tox-tinymce-inline .tox-editor-header{background-color:#fff;border:1px solid #ccc;border-radius:0;box-shadow:none;overflow:hidden}.tox-tinymce-aux{font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);z-index:var(--tox-private-z-index-sink,1300)}.tox[dir=rtl] .tox-icon--flip svg{transform:rotateY(180deg)}.tox .tox-editor-container{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.tox .tox-editor-container--keep-toolbar{flex:0 0 auto;overflow:visible}.tox .tox-editor-header{display:grid;grid-template-columns:1fr min-content;z-index:2}.tox:not(.tox-tinymce-inline) .tox-editor-header{background-color:#fff;border-bottom:none;box-shadow:none;padding:4px 0}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(.tox-editor-dock-transition){transition:box-shadow .5s}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header{border-top:1px solid #ccc;box-shadow:none}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header{background-color:#fff;box-shadow:0 4px 4px -3px rgba(0,0,0,.25);padding:4px 0}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header{box-shadow:0 4px 4px -3px rgba(0,0,0,.25)}.tox.tox:not(.tox-tinymce-inline) .tox-editor-header.tox-editor-header--empty{background:0 0;border:none;box-shadow:none;padding:0}.tox-editor-dock-fadeout{opacity:0;visibility:hidden}.tox-editor-dock-fadein{opacity:1;visibility:visible}.tox-editor-dock-transition{transition:visibility 0s linear .25s,opacity .25s ease}.tox-editor-dock-transition.tox-editor-dock-fadein{transition-delay:0s}.tox .accessibility-issue__header{align-items:center;display:flex;margin-bottom:4px}.tox #accessibility-issue__subheader{font-size:16px;color:#222f3e}.tox .accessbility-sr-only{position:absolute;clip:rect(1px,1px,1px,1px);clip-path:inset(0 0 99.9% 99.9%);overflow:hidden;height:1px;width:1px;padding:0;border:0}.tox .accessibility-issue__description{align-items:stretch;border-radius:3px;justify-content:space-between}.tox .accessibility-issue__description>div{padding-bottom:4px}.tox .accessibility-issue__description>div>div{align-items:center;display:flex;margin-bottom:4px}.tox .accessibility-issue__description>div>div .tox-icon svg{display:block}.tox #accessibility-issue__contentID{margin-top:8px;margin-bottom:8px}.tox #accessibility-issue__contentID span:first-child{font-weight:700}.tox #accessibility-issue__document{padding-bottom:8px}.tox .accessibility-issue__repair{margin-top:8px}.tox .accessibility-issue__repair .tox-form__group .tox-form__group--error{color:#c00}.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description{background-color:#e9f2f8;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2{font-size:14px;color:#207ab7}.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon.accessibility-issue__icon svg{fill:#207ab7}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon{background-color:#207ab7;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:hover{background-color:#1c6ca1}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:active{background-color:#185d8c}.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description{background-color:#fffae6;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2{font-size:14px;color:#7a6e25}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon.accessibility-issue__icon svg{fill:#7a6e25}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon{background-color:#ffe89d;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:hover{background-color:#f2d574;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:active{background-color:#e8c657;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description{background-color:#fae6e6;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2{font-size:14px;color:#c00}.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon.accessibility-issue__icon svg{fill:#c00}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon{background-color:#f2bfbf;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:hover{background-color:#e9a4a4;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:active{background-color:#ee9494;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description{background-color:rgba(120,171,70,.1);color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description>:last-child{display:none}.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2{color:#527530}.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon.accessibility-issue__icon svg{fill:#527530}.tox .tox-dialog__body-content .accessibility-issue__header .tox-form__group h1,.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2{margin-top:0}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-left:4px}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-left:auto}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description{padding:8px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-right:4px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-right:auto}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description{padding:4px 8px 4px 4px}.tox .mce-codemirror{background:#fff;bottom:0;font-size:13px;left:0;position:absolute;right:0;top:0;z-index:1}.tox .mce-codemirror.tox-inline-codemirror{margin:8px;position:absolute}.tox .tox-advtemplate .tox-form__grid{flex:1}.tox .tox-advtemplate .tox-form__grid>div:first-child{display:flex;flex-direction:column;width:30%}.tox .tox-advtemplate .tox-form__grid>div:first-child>div:nth-child(2){flex-basis:0;flex-grow:1;overflow:auto}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-advtemplate .tox-form__grid>div:first-child{width:100%}}.tox .tox-advtemplate iframe{border-color:#ccc;border-radius:0;border-style:solid;border-width:1px;margin:0 10px}.tox .tox-accordion{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__item{background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color,#222f3e);border-radius:var(--tox-private-control-border-radius,3px);position:relative}.tox .tox-accordion__item.tox-accordion__item--expanded{background-color:var(--tox-private-background-secondary,#f0f0f0)}.tox .tox-accordion__item.tox-accordion__item--expanded .tox-accordion__content--expanded .tox-accordion__content-inner{padding-top:0}.tox .tox-accordion__item::after{border-radius:var(--tox-private-control-border-radius,3px);box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,0) var(--tox-private-keyboard-focus-outline-color,transparent);content:'';inset:0;opacity:0;pointer-events:none;position:absolute}@media (forced-colors:active){.tox .tox-accordion__item::after{border:2px solid highlight}}.tox .tox-accordion__item:focus{outline:0;z-index:1}.tox .tox-accordion__item:focus::after{opacity:1}.tox .tox-accordion__heading{margin:0;width:100%}.tox .tox-accordion__heading:focus{outline:0}.tox .tox-accordion__header{align-items:center;border:none;border-radius:var(--tox-private-control-border-radius,3px);box-sizing:border-box;color:var(--tox-private-text-color,#222f3e);cursor:pointer;display:flex;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:var(--tox-private-line-height-base, 1.3);outline:0;padding:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));text-align:left;width:100%}.tox .tox-accordion__header::after{border-radius:var(--tox-private-control-border-radius,3px);bottom:0;box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,0) var(--tox-private-keyboard-focus-outline-color,transparent);content:'';left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-accordion__header::after{border:2px solid highlight}}.tox .tox-accordion__header:hover:not(.tox-accordion__header--disabled){background-color:var(--tox-private-background-secondary,#f0f0f0)}.tox .tox-accordion__header:focus:not(.tox-accordion__header--disabled){position:relative;z-index:1}.tox .tox-accordion__header:focus:not(.tox-accordion__header--disabled)::after{opacity:1}.tox .tox-accordion__header.tox-accordion__header--disabled{cursor:not-allowed;opacity:.5}.tox .tox-accordion__header.tox-accordion__header--icon-end{padding-right:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__header-icon{align-items:center;color:var(--tox-private-text-color,#222f3e);display:flex;flex-shrink:0;height:calc(var(--tox-private-base-value,16px) * 1.5);justify-content:center;width:calc(var(--tox-private-base-value,16px) * 1.5)}.tox .tox-accordion__header-icon svg{display:block;fill:currentColor;height:100%;width:100%;max-height:calc(var(--tox-private-base-value,16px) * 1.5);max-width:calc(var(--tox-private-base-value,16px) * 1.5)}.tox .tox-accordion__header:not(.tox-accordion__header--icon-end) .tox-accordion__header-icon{margin-right:var(--tox-private-pad-sm,8px);margin-left:0}.tox .tox-accordion__header--icon-end .tox-accordion__header-icon{margin-left:auto}.tox .tox-accordion__header-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-accordion__header--icon-end .tox-accordion__header-text{flex:0 1 auto;margin-right:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__content{border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-accordion__content.tox-accordion__content--collapsed{display:none}.tox .tox-accordion__content.tox-accordion__content--expanded{display:block}.tox .tox-accordion__content-inner{padding:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px)) calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__content-inner .tox-form__group:last-child{margin-bottom:0}.tox .tox-accordion__content-inner .tox-form__group>:not(:first-child){margin-top:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__content-inner .tox-form__group>.tox-dropdown-content{margin-top:0}.tox .tox-accordion__content-inner .tox-button-group{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__content-inner .tox-accordion__model-button{border-radius:var(--tox-private-control-border-radius,3px);align-items:center;appearance:none;background:0 0;border:none;color:inherit;cursor:pointer;display:flex;font-family:inherit;font-size:inherit;gap:var(--tox-private-pad-xs,4px);margin:0;outline:0;padding:6px calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));position:relative}.tox .tox-accordion__content-inner .tox-accordion__model-button::after{border-radius:var(--tox-private-control-border-radius,3px);bottom:0;box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,0) var(--tox-private-keyboard-focus-outline-color,transparent);content:'';left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-accordion__content-inner .tox-accordion__model-button::after{border:2px solid highlight}}.tox .tox-accordion__content-inner .tox-accordion__model-button:focus{z-index:1}.tox .tox-accordion__content-inner .tox-accordion__model-button:focus::after{opacity:1}.tox .tox-accordion .tox-selectfield{align-items:center;background-color:var(--tox-private-background-color,#fff);border:1px solid var(--tox-private-border-color,#ccc);border-radius:var(--tox-private-control-border-radius,3px);box-sizing:border-box;display:flex;height:34px;padding:0 6px;position:relative;width:100%}.tox .tox-accordion .tox-selectfield:focus-within{box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,0) var(--tox-private-keyboard-focus-outline-color,transparent);z-index:1}@media (forced-colors:active){.tox .tox-accordion .tox-selectfield:focus-within{border-color:highlight;box-shadow:0 0 0 2px highlight}}.tox .tox-accordion .tox-selectfield button{appearance:none;background:0 0;border:none;color:inherit;cursor:pointer;flex:1;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;outline:0;padding:5px 0;text-align:left}.tox .tox-accordion .tox-selectfield .tox-icon{display:flex;flex-shrink:0;padding:9px 0;pointer-events:none}.tox .tox-accordion .tox-selectfield .tox-icon svg{height:var(--tox-private-base-value,16px);width:var(--tox-private-base-value,16px)}.tox[dir=rtl] .tox-accordion__header{text-align:right}.tox[dir=rtl] .tox-accordion__header:not(.tox-accordion__header--icon-end) .tox-accordion__header-icon{margin-left:var(--tox-private-pad-sm,8px);margin-right:0}.tox[dir=rtl] .tox-accordion__header--icon-end .tox-accordion__header-icon{margin-right:auto;margin-left:0}.tox[dir=rtl] .tox-accordion__header--icon-end .tox-accordion__header-text{margin-left:var(--tox-private-pad-sm,8px);margin-right:0}.tox .tox-alert{align-items:flex-start;align-self:stretch;border-radius:var(--tox-private-panel-border-radius,3px);border-style:solid;border-width:1px;box-sizing:border-box;color:var(--tox-private-text-color,#222f3e);display:flex;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-normal,normal);gap:var(--tox-private-pad-xs,4px);line-height:var(--tox-private-line-height-base, 1.3);padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-sm,8px);width:100%}.tox .tox-alert--error{background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#fff) r g b / .8) 0,rgba(from var(--tox-private-background-color,#fff) r g b / .8) 100%),var(--tox-private-color-error,#c00);border-color:var(--tox-private-color-error,#c00)}.tox .tox-alert--warning{background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#fff) r g b / .8) 0,rgba(from var(--tox-private-background-color,#fff) r g b / .8) 100%),var(--tox-private-color-warning,#fc0);border-color:var(--tox-private-color-warning,#fc0)}.tox .tox-alert__body{display:flex;flex:1 0 0;flex-direction:column;min-width:0}.tox .tox-alert__content{align-items:center;display:flex;flex:1 0 0;gap:var(--tox-private-pad-sm,8px);padding:var(--tox-private-pad-sm,8px) 0}.tox .tox-alert__message{margin:0;text-align:left}.tox .tox-alert__actions{align-items:center;display:flex;flex-wrap:wrap;gap:var(--tox-private-pad-xs,4px);justify-content:flex-start}.tox .tox-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bottom-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bar{display:flex;flex:0 0 auto}.tox .tox-button{border-width:var(--tox-private-button-border-width,1px);border-style:var(--tox-private-button-border-style,solid);border-radius:var(--tox-private-control-border-radius,3px);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-button-font-size, 14px);font-style:var(--tox-private-button-font-style,normal);font-weight:var(--tox-private-button-font-weight,bold);line-height:var(--tox-private-control-line-height, 24px);padding:var(--tox-private-button-padding-y,4px) var(--tox-private-button-padding-x,16px);text-align:center;-webkit-text-decoration:none;text-decoration:none;text-transform:none;letter-spacing:normal;box-shadow:none;box-sizing:border-box;cursor:pointer;outline:0;position:relative;white-space:nowrap;display:inline-flex;justify-content:center;align-items:center;gap:var(--tox-private-pad-xs,4px)}.tox .tox-button::before{border-radius:var(--tox-private-control-border-radius,3px);bottom:calc(-1 * var(--tox-private-button-border-width,1px));box-shadow:var(--tox-private-button-focus-outline,inset 0 0 0 1px #fff,0 0 0 2px #207ab7);content:'';left:calc(-1 * var(--tox-private-button-border-width,1px));opacity:0;pointer-events:none;position:absolute;right:calc(-1 * var(--tox-private-button-border-width,1px));top:calc(-1 * var(--tox-private-button-border-width,1px))}.tox .tox-button:focus:not(:disabled){background-color:var(--tox-private-button-focus-background-color,#1c6ca1);background-image:none;border-color:var(--tox-private-button-focus-border-color,#1c6ca1);box-shadow:var(--tox-private-button-focus-box-shadow,none);color:var(--tox-private-button-focus-text-color,#fff)}.tox .tox-button:focus:not(:disabled)::before{opacity:1}.tox .tox-button.tox-button--icon,.tox .tox-button:has(.tox-icon:only-child){padding:4px}.tox .tox-button .tox-icon svg{display:block;fill:currentColor}.tox .tox-button .tox-icon.tox-icon--success svg{fill:var(--tox-private-color-success,#78AB46)}.tox .tox-button .tox-icon.tox-icon--error svg{fill:var(--tox-private-color-error,#c00)}.tox .tox-button--stretch{width:100%}.tox-context-form__group .tox-button--icon,.tox-context-form__group .tox-button.tox-button--icon{margin:3px 0 2px 0;padding:0}.tox .tox-button{background-color:var(--tox-private-button-primary-background-color,#207ab7);background-image:none;background-position:0 0;background-repeat:repeat;color:var(--tox-private-button-primary-text-color,#fff);border-color:var(--tox-private-button-primary-border-color,#207ab7)}.tox .tox-button[disabled]{background-color:var(--tox-private-button-primary-disabled-background-color,#207ab7);background-image:none;border-color:var(--tox-private-button-primary-disabled-border-color,#207ab7);color:var(--tox-private-button-primary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button:focus:not(:disabled){background-color:var(--tox-private-button-primary-focus-background-color,#1c6ca1);border-color:var(--tox-private-button-primary-focus-border-color,#1c6ca1);color:var(--tox-private-button-primary-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button:hover:not(:disabled){background-color:var(--tox-private-button-primary-hover-background-color,#1c6ca1);border-color:var(--tox-private-button-primary-hover-border-color,#1c6ca1);color:var(--tox-private-button-primary-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button:active:not(:disabled){background-color:var(--tox-private-button-primary-active-background-color,#185d8c);border-color:var(--tox-private-button-primary-active-border-color,#185d8c);color:var(--tox-private-button-primary-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled{background-color:var(--tox-private-button-primary-enabled-background-color,#185d8c);border-color:var(--tox-private-button-primary-enabled-border-color,#185d8c);color:var(--tox-private-button-primary-enabled-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled[disabled]{color:var(--tox-private-button-primary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-primary-enabled-focus-background-color,#154f76);border-color:var(--tox-private-button-primary-enabled-focus-border-color,#154f76);color:var(--tox-private-button-primary-enabled-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-primary-enabled-hover-background-color,#154f76);border-color:var(--tox-private-button-primary-enabled-hover-border-color,#154f76);color:var(--tox-private-button-primary-enabled-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-primary-enabled-active-background-color,#114060);border-color:var(--tox-private-button-primary-enabled-active-border-color,#114060);color:var(--tox-private-button-primary-enabled-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary{background-color:var(--tox-private-button-secondary-background-color,#f0f0f0);border-color:var(--tox-private-button-secondary-border-color,#f0f0f0);color:var(--tox-private-button-secondary-text-color,#222f3e);border-style:solid;border-width:1px;background-image:none;background-position:0 0;background-repeat:repeat;border-radius:3px;box-shadow:none;font-size:14px;font-style:normal;font-weight:700;letter-spacing:normal;outline:0;padding:4px 16px;-webkit-text-decoration:none;text-decoration:none;text-transform:none}.tox .tox-button--secondary[disabled]{background-color:var(--tox-private-button-secondary-disabled-background-color,#f0f0f0);background-image:none;border-color:var(--tox-private-button-secondary-disabled-border-color,#f0f0f0);color:var(--tox-private-button-secondary-disabled-text-color,rgba(34,47,62,.5));cursor:not-allowed}.tox .tox-button--secondary:focus:not(:disabled){background-color:var(--tox-private-button-secondary-focus-background-color,#e3e3e3);border-color:var(--tox-private-button-secondary-focus-border-color,#e3e3e3);color:var(--tox-private-button-secondary-focus-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary:hover:not(:disabled){background-color:var(--tox-private-button-secondary-hover-background-color,#e3e3e3);border-color:var(--tox-private-button-secondary-hover-border-color,#e3e3e3);color:var(--tox-private-button-secondary-hover-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary:active:not(:disabled){background-color:var(--tox-private-button-secondary-active-background-color,#d6d6d6);border-color:var(--tox-private-button-secondary-active-border-color,#d6d6d6);color:var(--tox-private-button-secondary-active-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled{background-color:var(--tox-private-button-secondary-enabled-background-color,#b1d0e6);border-color:var(--tox-private-button-secondary-enabled-border-color,#b1d0e6);color:var(--tox-private-button-secondary-enabled-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled[disabled]{color:var(--tox-private-button-secondary-disabled-text-color,rgba(34,47,62,.5));cursor:not-allowed}.tox .tox-button--secondary.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-focus-background-color,#9ec5e0);border-color:var(--tox-private-button-secondary-enabled-focus-border-color,#9ec5e0);color:var(--tox-private-button-secondary-enabled-focus-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-hover-background-color,#9ec5e0);border-color:var(--tox-private-button-secondary-enabled-hover-border-color,#9ec5e0);color:var(--tox-private-button-secondary-enabled-hover-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-active-background-color,#8ab9d9);border-color:var(--tox-private-button-secondary-enabled-active-border-color,#8ab9d9);color:var(--tox-private-button-secondary-enabled-active-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--naked{background-color:transparent;border-color:transparent;box-shadow:unset;color:var(--tox-private-button-naked-text-color,#222f3e)}.tox .tox-button--naked[disabled]{background-color:#f0f0f0;border-color:#f0f0f0;color:var(--tox-private-button-naked-disabled-text-color,rgba(34,47,62,.5));cursor:not-allowed}.tox .tox-button--naked:focus:not(:disabled){background-color:var(--tox-private-button-naked-focus-background-color,#e3e3e3);border-color:var(--tox-private-button-naked-focus-border-color,#e3e3e3);color:var(--tox-private-button-naked-focus-text-color,#222f3e);box-shadow:none}.tox .tox-button--naked:hover:not(:disabled){background-color:var(--tox-private-button-naked-hover-background-color,#e3e3e3);border-color:var(--tox-private-button-naked-hover-background-color,#e3e3e3);color:var(--tox-private-button-naked-hover-text-color,#222f3e);box-shadow:none}.tox .tox-button--naked:active:not(:disabled){background-color:var(--tox-private-button-naked-active-background-color,#d6d6d6);border-color:var(--tox-private-button-naked-active-border-color,#d6d6d6);color:var(--tox-private-button-naked-active-text-color,#222f3e);box-shadow:none}.tox .tox-button--naked.tox-button--enabled{background-color:var(--tox-private-button-naked-enabled-background-color,#b1ccdf);border-color:var(--tox-private-button-naked-enabled-border-color,#b1ccdf);color:var(--tox-private-button-naked-enabled-text-color,#222f3e);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled[disabled]{color:var(--tox-private-button-naked-disabled-text-color,rgba(34,47,62,.5));cursor:not-allowed}.tox .tox-button--naked.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-naked-enabled-focus-background-color,#9fc1d7);border-color:var(--tox-private-button-naked-enabled-focus-border-color,#9fc1d7);color:var(--tox-private-button-naked-enabled-focus-text-color,#222f3e);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-naked-enabled-hover-background-color,#9fc1d7);border-color:var(--tox-private-button-naked-enabled-hover-border-color,#9fc1d7);color:var(--tox-private-button-naked-enabled-hover-text-color,#222f3e);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-naked-enabled-active-background-color,#8db5d0);border-color:var(--tox-private-button-naked-enabled-active-border-color,#8db5d0);color:var(--tox-private-button-naked-enabled-active-text-color,#222f3e);box-shadow:unset}.tox .tox-button--secondary--outline{background-color:transparent;border-color:var(--tox-private-button-secondary-outline-border-color,#f0f0f0);color:var(--tox-private-button-secondary-outline-text-color,#222f3e)}.tox .tox-button--secondary--outline:focus:not(:disabled){background-color:var(--tox-private-button-secondary-outline-focus-background-color,#e3e3e3);border-color:var(--tox-private-button-secondary-outline-focus-border-color,#e3e3e3);color:var(--tox-private-button-secondary-outline-focus-text-color,#222f3e)}.tox .tox-button--secondary--outline:hover:not(:disabled){background-color:var(--tox-private-button-secondary-outline-hover-background-color,#f0f0f0);border-color:var(--tox-private-button-secondary-outline-hover-border-color,#e3e3e3);color:var(--tox-private-button-secondary-outline-hover-text-color,#222f3e)}.tox .tox-button--secondary--outline:active:not(:disabled){background-color:var(--tox-private-button-secondary-outline-active-background-color,#e3e3e3);border-color:var(--tox-private-button-secondary-outline-active-border-color,#e3e3e3);color:var(--tox-private-button-secondary-outline-active-text-color,#222f3e)}.tox .tox-button--secondary--outline[disabled]{background-color:var(--tox-private-button-secondary-outline-disabled-background-color,transparent);border-color:var(--tox-private-button-secondary-outline-disabled-border-color,#f0f0f0);color:var(--tox-private-button-secondary-outline-disabled-text-color,rgba(34,47,62,.5))}.tox .tox-checkbox{align-items:center;border-radius:var(--tox-private-checkbox-border-radius,3px);cursor:pointer;display:flex;height:var(--tox-private-control-height,36px);min-width:var(--tox-private-control-height,36px)}.tox .tox-checkbox__input{height:1px;overflow:hidden;position:absolute;top:auto;width:1px}.tox .tox-checkbox__icons{display:flex;align-items:center;justify-content:center;box-sizing:content-box;padding:var(--tox-private-pad-xs,calc(4px - 1px));border-radius:var(--tox-private-checkbox-border-radius,3px);box-shadow:0 0 0 2px transparent;height:var(--tox-private-control-line-height,24px);aspect-ratio:1/1}.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:block;fill:var(--tox-private-checkbox-unselected-color,rgba(34,47,62,0.3))}@media (forced-colors:active){.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:currentColor!important}}.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:none;fill:var(--tox-private-checkbox-indeterminate-color,#207ab7)}.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg{display:none;fill:var(--tox-private-checkbox-selected-color,#207ab7)}.tox .tox-checkbox--disabled{color:var(--tox-private-checkbox-disabled-text-color,rgba(34,47,62,.5));cursor:not-allowed}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(34,47,62,0.5))}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(34,47,62,0.5))}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(34,47,62,0.5))}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__checked svg{display:block}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:block}.tox input.tox-checkbox__input:focus+.tox-checkbox__icons{box-shadow:var(--tox-private-checkbox-focus-box-shadow,inset 0 0 0 1px #207ab7)}.tox:not([dir=rtl]) .tox-checkbox__label{margin-left:var(--tox-private-pad-xs,4px)}.tox:not([dir=rtl]) .tox-checkbox__input{left:-10000px}.tox:not([dir=rtl]) .tox-bar .tox-checkbox{margin-left:var(--tox-private-pad-xs,4px)}.tox[dir=rtl] .tox-checkbox__label{margin-right:var(--tox-private-pad-xs,4px)}.tox[dir=rtl] .tox-checkbox__input{right:-10000px}.tox[dir=rtl] .tox-bar .tox-checkbox{margin-right:var(--tox-private-pad-xs,4px)}.tox .tox-collection--toolbar .tox-collection__group{display:flex;padding:0}.tox .tox-collection--grid .tox-collection__group{display:flex;flex-wrap:wrap;max-height:208px;overflow-x:hidden;overflow-y:auto;padding:0}.tox .tox-collection--list .tox-collection__group{border-bottom-width:0;border-color:#ccc;border-left-width:0;border-right-width:0;border-style:solid;border-top-width:1px;padding:4px 0;display:flex;flex-direction:column}.tox .tox-collection--list .tox-collection__group:first-child{border-top-width:0}.tox .tox-collection__group-heading{background-color:#e6e6e6;color:rgba(34,47,62,.7);cursor:default;font-size:12px;font-style:normal;font-weight:400;margin-bottom:4px;margin-top:-4px;padding:4px 8px;text-transform:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-collection__item{align-items:center;border-radius:3px;color:#222f3e;display:flex;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-image-selector-menu .tox-collection__item,.tox .tox-image-selector-menu .tox-collection__item-image-selector{flex-direction:column}.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-checkmark,.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-icon,.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-image,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-checkmark,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-icon,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-image{flex-grow:1}.tox .tox-image-selector-menu .tox-collection__item label,.tox .tox-image-selector-menu .tox-collection__item-image-selector label{width:48px;white-space:nowrap;overflow:hidden;font-size:12px;color:#222f3e;text-align:center;align-self:flex-end}.tox .tox-image-selector-menu .tox-collection__item-checkmark{height:24px;width:24px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.tox .tox-image-selector-menu .tox-collection__item-checkmark svg path{fill:#207ab7;stroke:#207ab7}.tox .tox-image-selector-menu .tox-image-selector__row .tox-collection__item-image-selector.tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#fff}.tox .tox-image-selector-menu .tox-image-selector__row .tox-collection__item-image-selector.tox-collection__item--enabled:not(.tox-collection__item--state-disabled){z-index:2;background-color:#fff;opacity:.8;background-clip:content-box}.tox .tox-collection--list .tox-collection__item{padding:4px 8px}.tox .tox-collection--toolbar .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--grid .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--list .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#fff;color:#222f3e}.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#dee0e2;color:#222f3e}@media (forced-colors:active){.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){border:solid 1px}}.tox .tox-collection--grid .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#c8cbcf;color:#222f3e}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#dee0e2;color:#222f3e;position:relative;z-index:1}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent inset;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border:2px solid highlight}}.tox .tox-collection--toolbar .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#c8cbcf;color:#222f3e}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){border-radius:3px;outline:solid 1px}}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled){color:#222f3e;background-color:#fff;position:relative}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):hover{background-color:#dee0e2;color:#222f3e}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus{background-color:#dee0e2;color:#222f3e}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border:2px solid highlight}}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):hover{border-radius:3px;outline:solid 1px}}.tox .tox-collection__item-image{border:1px solid #ccc;border-radius:3px;display:flex;flex-direction:column;justify-content:center;margin-bottom:4px;position:relative}.tox .tox-collection__item-checkmark,.tox .tox-collection__item-icon{align-items:center;display:flex;height:24px;justify-content:center;width:24px}.tox .tox-collection__item-checkmark svg,.tox .tox-collection__item-icon svg{fill:currentColor}.tox .tox-collection--toolbar-lg .tox-collection__item-icon{height:48px;width:48px}.tox .tox-collection__item-label{color:currentColor;display:inline-block;flex:1;font-size:14px;font-style:normal;font-weight:400;line-height:24px;max-width:100%;text-transform:none;word-break:break-all}.tox .tox-collection__item-separator{border-bottom:1px solid #ccc;height:0;margin:4px 0}.tox .tox-collection__item-accessory{color:currentColor;display:inline-block;font-size:14px;height:24px;line-height:24px;text-transform:none}.tox .tox-collection__item-caret{align-items:center;display:flex;min-height:24px}.tox .tox-collection__item-caret::after{content:'';font-size:0;min-height:inherit}.tox .tox-collection__item-caret svg{fill:currentColor}.tox .tox-collection__item--state-disabled{background-color:transparent;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg{fill:rgba(34,47,62,0.5)}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg{display:none}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-accessory+.tox-collection__item-checkmark{display:none}.tox .tox-collection--horizontal{background-color:#fff;border:1px solid #ccc;border-radius:3px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:nowrap;margin-bottom:0;overflow-x:auto;padding:0}.tox .tox-collection--horizontal .tox-collection__group{align-items:center;display:flex;flex-wrap:nowrap;margin:0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item{height:34px;margin:3px 0 2px 0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item-label{white-space:nowrap}.tox .tox-collection--horizontal .tox-collection__item-caret{margin-left:4px}.tox .tox-collection__item-container{display:flex}.tox .tox-collection__item-container--row{align-items:center;flex:1 1 auto;flex-direction:row}.tox .tox-collection__item-container--row.tox-collection__item-container--align-left{margin-right:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--align-right{justify-content:flex-end;margin-left:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-top{align-items:flex-start;margin-bottom:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-middle{align-items:center}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-bottom{align-items:flex-end;margin-top:auto}.tox .tox-collection__item-container--column{align-self:center;flex:1 1 auto;flex-direction:column}.tox .tox-collection__item-container--column.tox-collection__item-container--align-left{align-items:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--align-right{align-items:flex-end}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-top{align-self:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-middle{align-self:center}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-bottom{align-self:flex-end}.tox:not([dir=rtl]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-right:1px solid #ccc}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>:not(:first-child){margin-left:8px}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-left:4px}.tox:not([dir=rtl]) .tox-collection__item-accessory{margin-left:16px;text-align:right}.tox:not([dir=rtl]) .tox-collection .tox-collection__item-caret{margin-left:16px}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-left:1px solid #ccc}.tox[dir=rtl] .tox-collection--list .tox-collection__item>:not(:first-child){margin-right:8px}.tox[dir=rtl] .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-right:4px}.tox[dir=rtl] .tox-collection__item-accessory{margin-right:16px;text-align:left}.tox[dir=rtl] .tox-collection .tox-collection__item-caret{margin-right:16px;transform:rotateY(180deg)}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__item-caret{margin-right:4px}@media (forced-colors:active){.tox .tox-hue-slider,.tox .tox-rgb-form .tox-rgba-preview{background-color:currentColor!important;border:1px solid highlight!important;forced-color-adjust:none}}.tox .tox-color-picker-container{display:flex;flex-direction:row;height:225px;margin:0}.tox .tox-sv-palette{box-sizing:border-box;display:flex;height:100%}.tox .tox-sv-palette-spectrum{height:100%}.tox .tox-sv-palette,.tox .tox-sv-palette-spectrum{width:225px}.tox .tox-sv-palette-thumb{background:0 0;border:1px solid #000;border-radius:50%;box-sizing:content-box;height:12px;position:absolute;width:12px}.tox .tox-sv-palette-inner-thumb{border:1px solid #fff;border-radius:50%;height:10px;position:absolute;width:10px}.tox .tox-hue-slider{box-sizing:border-box;height:100%;width:25px}.tox .tox-hue-slider-spectrum{background:linear-gradient(to bottom,red,#ff0080,#f0f,#8000ff,#00f,#0080ff,#0ff,#00ff80,#0f0,#80ff00,#ff0,#ff8000,red);height:100%;width:100%}.tox .tox-hue-slider,.tox .tox-hue-slider-spectrum{width:20px}.tox .tox-hue-slider-spectrum:focus,.tox .tox-sv-palette-spectrum:focus{outline:#08f solid}.tox .tox-hue-slider-thumb{background:#fff;border:1px solid #000;box-sizing:content-box;height:4px;width:100%}.tox .tox-rgb-form{display:flex;flex-direction:column;justify-content:space-between}.tox .tox-rgb-form div{align-items:center;display:flex;justify-content:space-between;margin-bottom:5px;width:inherit}.tox .tox-rgb-form input{min-width:6em}.tox .tox-rgb-form input.tox-invalid{border:1px solid red!important;box-shadow:0 0 0 1px red}.tox .tox-rgb-container{position:relative}.tox .tox-rgb-form .tox-invalid-icon{align-content:center;align-items:center;display:none;height:100%;position:absolute;right:0;top:0}.tox .tox-rgb-form .tox-invalid-icon .tox-control-wrap__status-icon-invalid{margin:0}.tox .tox-rgb-warning-note{background-color:#f5cccc;border:1px solid #f0b3b3;border-radius:3px;color:#77181f;padding:3px}.tox input.tox-invalid+.tox-invalid-icon{display:flex}.tox .tox-rgb-form .tox-rgba-preview{border:1px solid #000;flex-grow:2;margin-bottom:0}.tox:not([dir=rtl]) .tox-sv-palette{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider-thumb{margin-left:-1px}.tox:not([dir=rtl]) .tox-rgb-form label{margin-right:.5em}.tox[dir=rtl] .tox-sv-palette{margin-left:15px}.tox[dir=rtl] .tox-hue-slider{margin-left:15px}.tox[dir=rtl] .tox-hue-slider-thumb{margin-right:-1px}.tox[dir=rtl] .tox-rgb-form label{margin-left:.5em}.tox .tox-toolbar .tox-swatches,.tox .tox-toolbar__overflow .tox-swatches,.tox .tox-toolbar__primary .tox-swatches{margin:2px 0 3px 4px}.tox .tox-collection--list .tox-collection__group .tox-swatches-menu{border:0;margin:-4px 0}.tox .tox-swatches__row{display:flex}@media (forced-colors:active){.tox .tox-swatches__row{forced-color-adjust:none}}.tox .tox-swatch{height:30px;transition:transform .15s,box-shadow .15s;width:30px}.tox .tox-swatch:focus,.tox .tox-swatch:hover{box-shadow:0 0 0 1px rgba(127,127,127,.3) inset;transform:scale(.8)}.tox .tox-swatch--remove{align-items:center;display:flex;justify-content:center}.tox .tox-swatch--remove svg path{stroke:#e74c3c}.tox .tox-swatches__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-swatches__picker-btn svg{fill:#222f3e;height:24px;width:24px}.tox .tox-swatches__picker-btn:hover{background:#dee0e2}.tox div.tox-swatch:not(.tox-swatch--remove) svg{display:none;fill:#222f3e;height:24px;margin:calc((30px - 24px)/ 2) calc((30px - 24px)/ 2);width:24px}.tox div.tox-swatch:not(.tox-swatch--remove) svg path{fill:#fff;paint-order:stroke;stroke:#222f3e;stroke-width:2px}.tox div.tox-swatch:not(.tox-swatch--remove).tox-collection__item--enabled svg{display:block}.tox:not([dir=rtl]) .tox-swatches__picker-btn{margin-left:auto}.tox[dir=rtl] .tox-swatches__picker-btn{margin-right:auto}.tox .tox-comment{background:#fff;border:1px solid #fff;border-radius:3px;padding:8px;padding-bottom:16px;position:relative}.tox .tox-comment:hover{box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-comment.tox-comment--selected{background-color:#fff2c9;border:1px solid #ffcf30;box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-comment.tox-comment--selected:focus{border:2px solid transparent;margin:-1px}.tox .tox-comment.tox-comment--selected:focus:not(:first-child){margin-top:7px}.tox .tox-comment.tox-comment--selected .tox-comment__single{margin-bottom:12px}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus{position:relative}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus::after{top:-9px;pointer-events:none;position:absolute;content:"";display:block;bottom:-9px;left:-9px;right:-9px;border-radius:3px;border:2px solid transparent}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus:last-of-type:has(textarea):after{bottom:calc((12px + 16px + 1px) * -1)}.tox .tox-comment__header{align-items:center;color:#222f3e;display:flex;justify-content:space-between}.tox .tox-comment__date{color:#222f3e;font-size:12px;line-height:18px}.tox .tox-comment__body{color:#222f3e;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;margin-top:8px;position:relative;text-transform:initial;transition:max-height .5s cubic-bezier(0, 1, 0, 1);white-space:pre-wrap}.tox .tox-comment__body.tox-comment__body--expanded{max-height:100em;transition:max-height 1s ease-in-out}.tox .tox-comment__body.tox-comment__body--pending{transition:max-height 0s}.tox .tox-comment__body p{margin:0}.tox .tox-comment__body textarea{resize:none;white-space:normal;width:100%;font-size:16px}.tox .tox-comment__loading-text{align-items:center;color:#222f3e;display:flex;flex-direction:column;position:relative}.tox .tox-comment__loading-text>div{padding-bottom:16px}.tox .tox-comment__overlaytext{bottom:0;flex-direction:column;font-size:14px;left:0;padding:1em;position:absolute;right:0;top:0;z-index:10}.tox .tox-comment__overlaytext p{background-color:#fff;box-shadow:0 0 8px 8px #fff;color:#222f3e;text-align:center}.tox .tox-comment__overlaytext div:nth-of-type(2){font-size:.8em}.tox .tox-comment__expander{padding-top:8px}.tox .tox-comment__expander p{color:rgba(34,47,62,.7);font-size:14px;font-style:normal}.tox .tox-comment__expander p:focus{font-weight:700}.tox .tox-comment__buttonspacing{padding-top:16px;text-align:center}.tox .tox-tbtn.tox-comment__mention-btn{display:flex;width:34px;height:34px;padding:5px;justify-content:center;align-items:center;margin:0;background-color:transparent}.tox .tox-comment-thread{background:#fff;position:relative;border-radius:3px;background-color:transparent}.tox .tox-comment-thread>:not(:first-child){margin-top:8px}.tox .tox-comment-thread__overlay::after{background:#fff;bottom:0;content:"";display:flex;left:0;opacity:.9;position:absolute;right:0;top:0;z-index:5}.tox .tox-comment__reply{display:flex;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__reply>:first-child{margin-bottom:8px;width:100%}.tox .tox-comment__edit{display:flex;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__gradient::after{background:linear-gradient(rgba(255,255,255,0),#fff);bottom:0;content:"";display:block;height:5em;margin-top:-40px;position:absolute;width:100%}.tox .tox-comment__overlay{background:#fff;bottom:0;display:flex;flex-direction:column;flex-grow:1;left:0;opacity:.9;position:absolute;right:0;text-align:center;top:0;z-index:5}.tox .tox-comment__busy-spinner{align-items:center;background-color:#fff;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:20}.tox .tox-comment__scroll{display:flex;flex-direction:column;flex-shrink:1;overflow:auto;padding:12px;scroll-behavior:smooth}.tox .tox-comment__scroll:has(textarea:focus){scroll-behavior:auto}.tox .tox-comment--disappearing{transition:opacity .5s ease}.tox .tox-comment[data-transitioning-destination=deleting]{opacity:0}.tox .tox-ring-loader{width:10px;height:10px;border:1px solid #fff;border-bottom-color:transparent;border-radius:50%;display:inline-block;box-sizing:border-box;animation:tox-rotation 1s linear infinite}.tox:not([dir=rtl]) .tox-comment__edit{margin-left:8px}.tox:not([dir=rtl]) .tox-comment__buttonspacing>:last-child,.tox:not([dir=rtl]) .tox-comment__edit>:last-child,.tox:not([dir=rtl]) .tox-comment__reply>:last-child{margin-left:8px}.tox[dir=rtl] .tox-comment__edit{margin-right:8px}.tox[dir=rtl] .tox-comment__buttonspacing>:last-child,.tox[dir=rtl] .tox-comment__edit>:last-child,.tox[dir=rtl] .tox-comment__reply>:last-child{margin-right:8px}.tox .tox-user{align-items:center;display:flex}.tox .tox-user__avatar svg{fill:rgba(34,47,62,0.7)}.tox .tox-user__avatar img{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-user__name{color:#222f3e;font-size:14px;font-style:normal;font-weight:700;line-height:18px;text-transform:none}.tox:not([dir=rtl]) .tox-user__avatar img,.tox:not([dir=rtl]) .tox-user__avatar svg{margin-right:8px}.tox:not([dir=rtl]) .tox-user__avatar+.tox-user__name{margin-left:8px}.tox[dir=rtl] .tox-user__avatar img,.tox[dir=rtl] .tox-user__avatar svg{margin-left:8px}.tox[dir=rtl] .tox-user__avatar+.tox-user__name{margin-right:8px}.tox .tox-dialog-wrap{align-items:center;display:flex;justify-content:center;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1100}.tox .tox-dialog-wrap__backdrop{background-color:rgba(255,255,255,.75);bottom:0;left:0;position:absolute;right:0;top:0;z-index:1}.tox .tox-dialog-wrap__backdrop--opaque{background-color:#fff}.tox .tox-dialog{background-color:#fff;border-color:#ccc;border-radius:3px;border-style:solid;border-width:1px;box-shadow:0 16px 16px -10px rgba(34,47,62,.15),0 0 40px 1px rgba(34,47,62,.15);display:flex;flex-direction:column;max-height:100%;max-width:480px;overflow:hidden;position:relative;width:95vw;z-index:2}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog{align-self:flex-start;margin:8px auto;max-height:calc(100vh - 8px * 2);width:calc(100vw - 16px)}}.tox .tox-dialog-inline{z-index:1100}.tox .tox-dialog__header{align-items:center;background-color:#fff;border-bottom:none;color:#222f3e;display:flex;font-size:16px;justify-content:space-between;padding:8px 16px 0 16px;position:relative}.tox .tox-dialog__header .tox-button{z-index:1}.tox .tox-dialog__draghandle{cursor:grab;height:100%;left:0;position:absolute;top:0;width:100%}.tox .tox-dialog__draghandle:active{cursor:grabbing}.tox .tox-dialog__dismiss{margin-left:auto}.tox .tox-dialog__title{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:20px;font-style:normal;font-weight:400;line-height:1.3;margin:0;text-transform:none}.tox .tox-dialog__body{color:#222f3e;display:flex;flex:1;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;min-width:0;text-align:left;text-transform:none}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body{flex-direction:column}}.tox .tox-dialog__body-nav{align-items:flex-start;display:flex;flex-direction:column;flex-shrink:0;padding:16px 16px}@media only screen and (min-width:768px){.tox .tox-dialog__body-nav{max-width:11em}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body-nav{flex-direction:row;-webkit-overflow-scrolling:touch;overflow-x:auto;padding-bottom:0}}.tox .tox-dialog__body-nav-item{border-bottom:2px solid transparent;color:rgba(34,47,62,.7);display:inline-block;flex-shrink:0;font-size:14px;line-height:1.3;margin-bottom:8px;max-width:13em;-webkit-text-decoration:none;text-decoration:none}.tox .tox-dialog__body-nav-item:focus{background-color:rgba(32,122,183,.1)}.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid #214d6e;color:#214d6e}@media (forced-colors:active){.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid highlight;color:highlight}}.tox .tox-dialog__body-content{box-sizing:border-box;display:flex;flex:1;flex-direction:column;max-height:min(650px,calc(100vh - 110px));overflow:auto;-webkit-overflow-scrolling:touch;padding:16px 16px}.tox .tox-dialog__body-content>*{margin-bottom:0;margin-top:16px}.tox .tox-dialog__body-content>:first-child{margin-top:0}.tox .tox-dialog__body-content>:last-child{margin-bottom:0}.tox .tox-dialog__body-content>:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content a{color:#214d6e;cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content a:focus,.tox .tox-dialog__body-content a:hover{color:#0a1620;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content a:focus-visible{border-radius:1px;outline:2px solid #214d6e;outline-offset:2px}.tox .tox-dialog__body-content a:active{color:#000;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content svg{fill:#222f3e}.tox .tox-dialog__body-content strong{font-weight:700}.tox .tox-dialog__body-content ul{list-style-type:disc}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{padding-inline-start:2.5rem}.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{margin-bottom:16px}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content dt,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{display:block;margin-inline-end:0;margin-inline-start:0}.tox .tox-dialog__body-content .tox-form__group h1{color:#222f3e;font-size:20px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group h2{color:#222f3e;font-size:16px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group p{margin-bottom:16px}.tox .tox-dialog__body-content .tox-form__group h1:first-child,.tox .tox-dialog__body-content .tox-form__group h2:first-child,.tox .tox-dialog__body-content .tox-form__group p:first-child{margin-top:0}.tox .tox-dialog__body-content .tox-form__group h1:last-child,.tox .tox-dialog__body-content .tox-form__group h2:last-child,.tox .tox-dialog__body-content .tox-form__group p:last-child{margin-bottom:0}.tox .tox-dialog__body-content .tox-form__group h1:only-child,.tox .tox-dialog__body-content .tox-form__group h2:only-child,.tox .tox-dialog__body-content .tox-form__group p:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--center{text-align:center}.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--end{text-align:end}.tox .tox-dialog--width-lg{height:650px;max-width:1200px}.tox .tox-dialog--fullscreen{height:100%;max-width:100%}.tox .tox-dialog--fullscreen .tox-dialog__body-content{max-height:100%}.tox .tox-dialog--width-md{max-width:800px}.tox .tox-dialog--width-md .tox-dialog__body-content{overflow:auto}.tox .tox-dialog__body-content--centered{text-align:center}.tox .tox-dialog__footer{align-items:center;background-color:#fff;border-top:1px solid #ccc;display:flex;justify-content:space-between;padding:8px 16px}.tox .tox-dialog__footer-end,.tox .tox-dialog__footer-start{display:flex}.tox .tox-dialog__busy-spinner{align-items:center;background-color:rgba(255,255,255,.75);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:3}.tox .tox-dialog__table{border-collapse:collapse;width:100%}.tox .tox-dialog__table thead th{font-weight:700;padding-bottom:8px}.tox .tox-dialog__table thead th:first-child{padding-right:8px}.tox .tox-dialog__table tbody tr{border-bottom:1px solid #404040}.tox .tox-dialog__table tbody tr:last-child{border-bottom:none}.tox .tox-dialog__table td{padding-bottom:8px;padding-top:8px}.tox .tox-dialog__table td:first-child{padding-right:8px}.tox .tox-dialog__iframe{min-height:200px}.tox .tox-dialog__iframe.tox-dialog__iframe--opaque{background:#fff}.tox .tox-navobj-bordered{position:relative}.tox .tox-navobj-bordered::before{border:1px solid #ccc;border-radius:3px;content:'';inset:0;opacity:1;pointer-events:none;position:absolute;z-index:1}.tox .tox-navobj-bordered iframe{border-radius:3px}.tox .tox-navobj-bordered-focus.tox-navobj-bordered::before{border-color:#207ab7;box-shadow:none;outline:2px solid rgba(32,122,183,.25)}.tox .tox-dialog__popups{position:absolute;width:100%;z-index:1100}.tox .tox-dialog__body-iframe{display:flex;flex:1;flex-direction:column}.tox .tox-dialog__body-iframe .tox-navobj{display:flex;flex:1}.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2){flex:1;height:100%}.tox .tox-dialog-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-dialog-dock-fadein{opacity:1;visibility:visible}.tox .tox-dialog-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein{transition-delay:0s}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav{margin-right:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav-item:not(:first-child){margin-left:8px}}.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-end>*,.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-start>*{margin-left:8px}.tox[dir=rtl] .tox-dialog__body{text-align:right}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav{margin-left:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav-item:not(:first-child){margin-right:8px}}.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-end>*,.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-start>*{margin-right:8px}.tox .tox-dropdown-content{box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);position:fixed;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;overflow:auto;height:fit-content;width:fit-content;border-radius:var(--tox-private-panel-border-radius,3px);background-color:var(--tox-private-background-color,#fff);max-height:50vh}.tox .tox-dropdown-content .tox-menu{width:100%;box-shadow:none}body.tox-dialog__disable-scroll{overflow:hidden}.tox .tox-dropzone-container{display:flex;flex:1}.tox .tox-dropzone{align-items:center;background:#fff;border:2px dashed #ccc;box-sizing:border-box;display:flex;flex-direction:column;flex-grow:1;justify-content:center;min-height:100px;padding:10px}.tox .tox-dropzone p{color:rgba(34,47,62,.7);margin:0 0 16px 0}.tox .tox-edit-area{display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-edit-area::before{border:0 solid transparent;border-radius:4px;content:'';inset:0;opacity:0;pointer-events:none;position:absolute;transition:opacity .15s;z-index:1}@media (forced-colors:active){.tox .tox-edit-area::before{border:0 solid highlight}}.tox .tox-edit-area__iframe{background-color:#fff;border:0;box-sizing:border-box;flex:1;height:100%;position:absolute;width:100%}.tox.tox-edit-focus .tox-edit-area::before{opacity:1}.tox.tox-inline-edit-area{border:1px dotted #ccc}.tox .tox-expandable-box{background:var(--tox-private-background-color,#fff);border-radius:var(--tox-private-control-border-radius,3px);border:1px solid var(--tox-private-border-color,#ccc);display:flex;flex-direction:column;justify-content:stretch;overflow:hidden}.tox .tox-expandable-box>.tox-button{margin:0 var(--tox-private-pad-md,16px) var(--tox-private-pad-md,16px)}.tox .tox-expandable-box__title{align-items:center;background:hsl(from var(--tox-private-color-tint,#207ab7) h s l / 10%);border-bottom:1px solid var(--tox-private-border-color,#ccc);color:var(--tox-private-text-color,#222f3e);display:flex;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);gap:var(--tox-private-pad-sm,8px);min-width:0;padding:var(--tox-private-pad-sm,8px) var(--tox-private-pad-md,16px)}.tox .tox-expandable-box__title .tox-icon{flex-shrink:0;height:var(--tox-private-base-value,16px);fill:var(--tox-private-text-color,#222f3e)}.tox .tox-expandable-box__title-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-expandable-box__content{margin:var(--tox-private-pad-md,16px);overflow:auto}.tox .tox-expandable-box__content--overflowing{position:relative;overflow:hidden}.tox .tox-expandable-box__content--overflowing::after{content:'';position:absolute;bottom:0;left:0;right:0;height:min(100px,100%);pointer-events:none;background:linear-gradient(to bottom,transparent 50%,var(--tox-private-background-color,#fff))}.tox .tox-expandable-box__content--expanded{max-height:fit-content}.tox .tox-control-wrap{flex:1;position:relative}.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid,.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown,.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid{display:none}.tox .tox-control-wrap svg{display:block}.tox .tox-control-wrap__status-icon-wrap{position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-control-wrap__status-icon-invalid svg{fill:#c00}.tox .tox-control-wrap__status-icon-unknown svg{fill:orange}.tox .tox-control-wrap__status-icon-valid svg{fill:green}.tox:not([dir=rtl]) .tox-control-wrap--status-invalid .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-unknown .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-valid .tox-textfield{padding-right:32px}.tox:not([dir=rtl]) .tox-control-wrap__status-icon-wrap{right:4px}.tox[dir=rtl] .tox-control-wrap--status-invalid .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-unknown .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-valid .tox-textfield{padding-left:32px}.tox[dir=rtl] .tox-control-wrap__status-icon-wrap{left:4px}.tox .tox-custom-preview{border-color:#ccc;border-radius:3px;border-style:solid;border-width:1px;flex:1;padding:8px}.tox .tox-autocompleter{max-width:25em}.tox .tox-autocompleter .tox-menu{box-sizing:border-box;max-width:25em}.tox .tox-autocompleter .tox-autocompleter-highlight{font-weight:700}.tox .tox-color-input{display:flex;position:relative;z-index:1}.tox .tox-color-input .tox-textfield{z-index:-1}.tox .tox-color-input span{border-color:rgba(34 47 62 / 20%);border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;height:24px;position:absolute;top:6px;width:24px}@media (forced-colors:active){.tox .tox-color-input span{border-color:currentColor;border-width:2px!important;forced-color-adjust:none}}.tox .tox-color-input span:focus:not([aria-disabled=true]),.tox .tox-color-input span:hover:not([aria-disabled=true]){border-color:#207ab7;cursor:pointer}.tox .tox-color-input span::before{background-image:linear-gradient(45deg,rgba(0,0,0,.25) 25%,transparent 25%),linear-gradient(-45deg,rgba(0,0,0,.25) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.25) 75%),linear-gradient(-45deg,transparent 75%,rgba(0,0,0,.25) 75%);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px;border:1px solid #fff;border-radius:3px;box-sizing:border-box;content:'';height:24px;left:-1px;position:absolute;top:-1px;width:24px;z-index:-1}@media (forced-colors:active){.tox .tox-color-input span::before{border:none}}.tox .tox-color-input span[aria-disabled=true]{cursor:not-allowed}.tox:not([dir=rtl]) .tox-color-input .tox-textfield{padding-left:36px}.tox:not([dir=rtl]) .tox-color-input span{left:6px}.tox[dir=rtl] .tox-color-input .tox-textfield{padding-right:36px}.tox[dir=rtl] .tox-color-input span{right:6px}.tox .tox-label,.tox .tox-toolbar-label{color:rgba(34,47,62,.7);display:block;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;padding:0 8px 0 0;text-transform:none;white-space:nowrap}.tox .tox-toolbar-label{padding:0 8px}.tox[dir=rtl] .tox-label{padding:0 0 0 8px}.tox .tox-form{display:flex;flex:1;flex-direction:column}.tox .tox-form__group{box-sizing:border-box;margin-bottom:4px}.tox .tox-form-group--maximize{flex:1}.tox .tox-form__group--error{color:#c00}.tox .tox-form__group--collection{display:flex}.tox .tox-form__grid{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}.tox .tox-form__grid--2col>.tox-form__group{width:calc(50% - (8px / 2))}.tox .tox-form__grid--3col>.tox-form__group{width:calc(100% / 3 - (8px / 2))}.tox .tox-form__grid--4col>.tox-form__group{width:calc(25% - (8px / 2))}.tox .tox-form__controls-h-stack{align-items:center;display:flex}.tox .tox-form__group--inline{align-items:center;display:flex}.tox .tox-form__group--stretched{display:flex;flex:1;flex-direction:column}.tox .tox-form__group--stretched .tox-textarea{flex:1}.tox .tox-form__group--stretched .tox-navobj{display:flex;flex:1}.tox .tox-form__group--stretched .tox-navobj :nth-child(2){flex:1;height:100%}.tox:not([dir=rtl]) .tox-form__controls-h-stack>:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-form__controls-h-stack>:not(:first-child){margin-right:4px}.tox .tox-lock.tox-locked .tox-lock-icon__unlock,.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock{display:none}.tox .tox-context-form__group .tox-button--icon.tox-lock-context-form-size-input{margin-left:8px;margin-right:8px}.tox .tox-listboxfield .tox-listbox--select,.tox .tox-textarea,.tox .tox-textarea-wrap .tox-textarea:focus,.tox .tox-textfield,.tox .tox-toolbar-textfield{appearance:none;background-color:#fff;border-color:#ccc;border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#222f3e;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 4.75px;resize:none;width:100%}.tox .tox-textarea[disabled],.tox .tox-textfield[disabled],.tox .tox-toolbar-textfield[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-custom-editor:focus-within,.tox .tox-focusable-wrapper:focus,.tox .tox-listboxfield .tox-listbox--select:focus,.tox .tox-textarea-wrap:focus-within,.tox .tox-textarea:focus,.tox .tox-textfield:focus,.tox .tox-toolbar-textfield:focus{background-color:#fff;border-color:#207ab7;box-shadow:none;outline:2px solid rgba(32,122,183,.25)}.tox .tox-toolbar-textfield{max-width:250px;min-height:unset;height:34px;margin:2px 0 3px 0}.tox .tox-naked-btn{background-color:transparent;border:0;border-color:transparent;box-shadow:unset;color:#207ab7;cursor:pointer;display:block;margin:0;padding:0}.tox .tox-naked-btn svg{display:block;fill:#222f3e}.tox .tox-textfield-size{width:80px}.tox:not([dir=rtl]) .tox-toolbar-textfield+*{margin-left:4px}.tox[dir=rtl] .tox-toolbar-textfield+*{margin-right:4px}.tox .tox-listboxfield{cursor:pointer;position:relative}.tox .tox-listboxfield .tox-listbox--select[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-listbox__select-label{cursor:default;flex:1;margin:0 4px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-listbox__menu .tox-menu{box-sizing:border-box}.tox .tox-listbox__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-listbox__select-chevron svg{fill:#222f3e}@media (forced-colors:active){.tox .tox-listbox__select-chevron svg{fill:currentColor!important}}.tox .tox-listboxfield .tox-listbox--select{align-items:center;display:flex}.tox:not([dir=rtl]) .tox-listboxfield svg{right:8px}.tox[dir=rtl] .tox-listboxfield svg{left:8px}.tox .tox-selectfield{cursor:pointer;position:relative}.tox .tox-selectfield select{appearance:none;background-color:#fff;border-color:#ccc;border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#222f3e;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 4.75px;resize:none;width:100%}.tox .tox-selectfield select[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-selectfield select::-ms-expand{display:none}.tox .tox-selectfield select:focus{background-color:#fff;border-color:#207ab7;box-shadow:none;outline:2px solid rgba(32,122,183,.25)}.tox .tox-selectfield svg{pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-selectfield select option:checked{background-color:revert;color:revert}.tox:not([dir=rtl]) .tox-selectfield select[size="0"],.tox:not([dir=rtl]) .tox-selectfield select[size="1"]{padding-right:24px}.tox:not([dir=rtl]) .tox-selectfield svg{right:8px}.tox[dir=rtl] .tox-selectfield select[size="0"],.tox[dir=rtl] .tox-selectfield select[size="1"]{padding-left:24px}.tox[dir=rtl] .tox-selectfield svg{left:8px}.tox .tox-textarea-wrap{border-color:#ccc;border-radius:3px;border-style:solid;border-width:1px;display:flex;flex:1;overflow:hidden}.tox .tox-textarea{appearance:textarea;white-space:pre-wrap}.tox .tox-textarea-wrap .tox-textarea{border:none}.tox .tox-textarea-wrap .tox-textarea:focus{border:none}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}.tox .tox-help__more-link{list-style:none;margin-top:1em}.tox .tox-imagepreview{background-color:#666;height:380px;overflow:hidden;position:relative;width:100%}.tox .tox-imagepreview.tox-imagepreview__loaded{overflow:auto}.tox .tox-imagepreview__container{display:flex;left:100vw;position:absolute;top:100vw}.tox .tox-imagepreview__image{background:url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==)}.tox .tox-image-tools .tox-spacer{flex:1}.tox .tox-image-tools .tox-bar{align-items:center;display:flex;height:60px;justify-content:center}.tox .tox-image-tools .tox-imagepreview,.tox .tox-image-tools .tox-imagepreview+.tox-bar{margin-top:8px}.tox .tox-image-tools .tox-croprect-block{background:#000;opacity:.5;position:absolute;zoom:1}.tox .tox-image-tools .tox-croprect-handle{border:2px solid #fff;height:20px;left:0;position:absolute;top:0;width:20px}.tox .tox-image-tools .tox-croprect-handle-move{border:0;cursor:move;position:absolute}.tox .tox-image-tools .tox-croprect-handle-nw{border-width:2px 0 0 2px;cursor:nw-resize;left:100px;margin:-2px 0 0 -2px;top:100px}.tox .tox-image-tools .tox-croprect-handle-ne{border-width:2px 2px 0 0;cursor:ne-resize;left:200px;margin:-2px 0 0 -20px;top:100px}.tox .tox-image-tools .tox-croprect-handle-sw{border-width:0 0 2px 2px;cursor:sw-resize;left:100px;margin:-20px 2px 0 -2px;top:200px}.tox .tox-image-tools .tox-croprect-handle-se{border-width:0 2px 2px 0;cursor:se-resize;left:200px;margin:-20px 0 0 -20px;top:200px}.tox .tox-image-selector-loading-spinner-wrapper{display:flex;justify-content:center;align-items:center}.tox .tox-image-selector-loading-spinner{position:absolute;width:min(24px,30%);aspect-ratio:1/1;border-radius:50%;border:3px solid #207ab7;border-bottom-color:transparent;animation:tox-rotation 1s linear infinite}.tox .tox-toolbar .tox-image-selector,.tox .tox-toolbar__overflow .tox-image-selector,.tox .tox-toolbar__primary .tox-image-selector{margin:2px 0 3px 4px}.tox .tox-image-selector-menu{border:0;border-radius:3px;margin:-4px 0;padding:4px}.tox .tox-image-selector-menu .tox-collection--list .tox-collection__group{border:0;padding:0;margin:-4px 0}.tox .tox-image-selector-menu .tox-collection__item{max-width:48px}.tox .tox-image-selector-menu .tox-collection__item-icon{border:1px solid #ccc;border-radius:3px;margin-bottom:4px;width:100%}.tox .tox-image-selector-menu .tox-collection__item-icon svg path{stroke:#c00}.tox .tox-image-selector__row{display:flex}.tox .tox-image-selector--remove{align-items:center;display:flex;justify-content:center}.tox .tox-image-selector--remove svg path{stroke:#c00}.tox .tox-image-selector-image-wrapper{width:46px;height:46px;display:flex;align-items:center;justify-content:center}.tox .tox-image-selector-image-img{max-width:100%;max-height:100%}.tox .tox-image-selector__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-image-selector__picker-btn svg{fill:#222f3e;height:24px;width:24px}.tox .tox-image-selector__picker-btn:hover{background:#dee0e2}.tox .tox-context-toolbar{position:absolute;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;z-index:1150;background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color,#222f3e);border:1px solid #e3e3e3;border-radius:6px;box-shadow:0 2px 8px rgba(0,0,0,.08);padding:8px}.tox .tox-context-toolbar[popover]{inset:auto;margin:0}.tox .tox-context-toolbar .tox-toolbar{display:flex;flex-wrap:nowrap;gap:8px}.tox .tox-context-toolbar .tox-toolbar__group{display:flex;flex-wrap:nowrap;flex-shrink:0;gap:8px;align-items:center;padding:0}.tox .tox-insert-table-picker{background-color:#fff;display:flex;flex-wrap:wrap;width:170px}.tox .tox-insert-table-picker>div{border-color:#ccc;border-style:solid;border-width:0 1px 1px 0;box-sizing:border-box;height:17px;width:17px}.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker{margin:0 -4px}.tox .tox-insert-table-picker .tox-insert-table-picker__selected{background-color:rgba(32,122,183,.5);border-color:rgba(32,122,183,.5)}@media (forced-colors:active){.tox .tox-insert-table-picker .tox-insert-table-picker__selected{border-color:Highlight;filter:contrast(50%)}}.tox .tox-insert-table-picker__label{color:rgba(34,47,62,.7);display:block;font-size:14px;padding:4px;text-align:center;width:100%}.tox:not([dir=rtl]) .tox-insert-table-picker>div:nth-child(10n){border-right:0}.tox[dir=rtl] .tox-insert-table-picker>div:nth-child(10n+1){border-right:0}.tox-mentions__card-common{z-index:1200}.tox.tox-mentions__card{background:#fff;border:1px solid #ccc;display:flex;padding:4px 8px}.tox.tox-mentions__card .tox-mentions__container{display:flex;flex-direction:column;align-self:center;margin:0 4px}.tox .tox-mentions__avatar{width:42px;height:42px;border-radius:50%;margin-right:4px}.tox .tox-mentions__username{font-size:14px;line-height:21px;color:#222f3e}.tox .tox-mentions__description{font-size:12px;line-height:21px;color:rgba(34,47,62,.7)}.tox .tox-collection__item--active .tox-mentions__description,.tox .tox-collection__item--active .tox-mentions__username{color:inherit}.tox .tox-menu{background-color:#fff;border:1px solid #ccc;border-radius:3px;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);display:inline-block;overflow:hidden;vertical-align:top;z-index:1150}.tox .tox-menu.tox-collection.tox-collection--list{padding:0 0}.tox .tox-menu.tox-collection.tox-collection--toolbar{padding:4px}.tox .tox-menu.tox-collection.tox-collection--grid{padding:4px}@media only screen and (min-width:768px){.tox .tox-menu .tox-collection__item-label{overflow-wrap:break-word;word-break:normal}.tox .tox-dialog__popups .tox-menu .tox-collection__item-label{word-break:break-all}}.tox .tox-menu__label blockquote,.tox .tox-menu__label code,.tox .tox-menu__label h1,.tox .tox-menu__label h2,.tox .tox-menu__label h3,.tox .tox-menu__label h4,.tox .tox-menu__label h5,.tox .tox-menu__label h6,.tox .tox-menu__label p{margin:0}.tox .tox-menubar{background: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;background-color:#fff;display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;grid-column:1/-1;grid-row:1;padding:0 4px 0 4px}.tox .tox-promotion+.tox-menubar{grid-column:1}@media (max-width:480px){.tox:not(.tox-tinymce-inline) .tox-menubar{flex-wrap:nowrap;min-width:0;min-height:39px;overflow-x:auto;overflow-y:hidden}}.tox .tox-promotion{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;background-color:#fff;grid-column:2;grid-row:1;padding-inline-end:8px;padding-inline-start:4px;padding-top:5px}.tox .tox-promotion-link{align-items:unsafe center;background-color:#e8f1f8;border-radius:5px;color:#086be6;cursor:pointer;display:flex;font-size:14px;height:26.6px;padding:4px 8px;white-space:nowrap}.tox .tox-promotion-link:hover{background-color:#b4d7ff}.tox .tox-promotion-link:focus{background-color:#d9edf7}.tox .tox-mbtn{align-items:center;background:#fff;border:0;border-radius:3px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:34px;justify-content:center;margin:2px 0 3px 0;outline:0;padding:0 4px;text-transform:none;width:auto}.tox .tox-mbtn[disabled]{background-color:#fff;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-mbtn:focus:not(:disabled){background:#dee0e2;border:0;box-shadow:none;color:#222f3e;position:relative;z-index:1}.tox .tox-mbtn:focus:not(:disabled)::after{pointer-events:none;border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-mbtn:focus:not(:disabled)::after{border:2px solid highlight}}.tox .tox-mbtn--active,.tox .tox-mbtn:not(:disabled).tox-mbtn--active:focus{background:#c8cbcf;border:0;box-shadow:none;color:#222f3e}.tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active){background:#dee0e2;border:0;box-shadow:none;color:#222f3e}.tox .tox-mbtn__select-label{cursor:default;font-weight:400;margin:0 4px}.tox .tox-mbtn[disabled] .tox-mbtn__select-label{cursor:not-allowed}.tox .tox-mbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px;display:none}.tox .tox-notification{border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;display:grid;font-size:14px;font-weight:400;grid-template-columns:minmax(40px,1fr) auto minmax(40px,1fr);margin-left:auto;margin-right:auto;margin-top:4px;opacity:0;padding:4px;transition:transform .1s ease-in,opacity 150ms ease-in;width:max-content}.tox .tox-notification a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification p{font-size:14px;font-weight:400}.tox .tox-notification:focus{border-color:#207ab7;box-shadow:none}.tox .tox-notification--in{opacity:1}.tox .tox-notification--success{background-color:#e4eeda;border-color:#d7e6c8;color:#222f3e}.tox .tox-notification--success p{color:#222f3e}.tox .tox-notification--success a{color:#517342}.tox .tox-notification--success a:focus,.tox .tox-notification--success a:hover{color:#24321d;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--success a:focus-visible{border-radius:1px;outline:2px solid #517342;outline-offset:2px}.tox .tox-notification--success a:active{color:#0d120a;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--success svg{fill:#222f3e}.tox .tox-notification--error{background-color:#f5cccc;border-color:#f0b3b3;color:#222f3e}.tox .tox-notification--error p{color:#222f3e}.tox .tox-notification--error a{color:#77181f}.tox .tox-notification--error a:focus,.tox .tox-notification--error a:hover{color:#220709;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--error a:focus-visible{border-radius:1px;outline:2px solid #77181f;outline-offset:2px}.tox .tox-notification--error a:active{color:#000;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--error svg{fill:#222f3e}.tox .tox-notification--warn,.tox .tox-notification--warning{background-color:#fff5cc;border-color:#fff0b3;color:#222f3e}.tox .tox-notification--warn p,.tox .tox-notification--warning p{color:#222f3e}.tox .tox-notification--warn a,.tox .tox-notification--warning a{color:#7a6e25}.tox .tox-notification--warn a:focus,.tox .tox-notification--warn a:hover,.tox .tox-notification--warning a:focus,.tox .tox-notification--warning a:hover{color:#2c280d;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--warn a:focus-visible,.tox .tox-notification--warning a:focus-visible{border-radius:1px;outline:2px solid #7a6e25;outline-offset:2px}.tox .tox-notification--warn a:active,.tox .tox-notification--warning a:active{color:#050502;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--warn svg,.tox .tox-notification--warning svg{fill:#222f3e}.tox .tox-notification--info{background-color:#d6e7fb;border-color:#c1dbf9;color:#222f3e}.tox .tox-notification--info p{color:#222f3e}.tox .tox-notification--info a{color:#2a64a6}.tox .tox-notification--info a:focus,.tox .tox-notification--info a:hover{color:#163355;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--info a:focus-visible{border-radius:1px;outline:2px solid #2a64a6;outline-offset:2px}.tox .tox-notification--info a:active{color:#0b1a2c;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--info svg{fill:#222f3e}.tox .tox-notification__body{align-self:center;color:#222f3e;font-size:14px;grid-column-end:3;grid-column-start:2;grid-row-end:2;grid-row-start:1;text-align:center;white-space:normal;word-break:break-all;word-break:break-word}.tox .tox-notification__body>*{margin:0}.tox .tox-notification__body>*+*{margin-top:1rem}.tox .tox-notification__icon{align-self:center;grid-column-end:2;grid-column-start:1;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification__icon svg{display:block}.tox .tox-notification__dismiss{align-self:start;grid-column-end:4;grid-column-start:3;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification .tox-progress-bar{grid-column-end:4;grid-column-start:1;grid-row-end:3;grid-row-start:2;justify-self:center}.tox .tox-notification-container-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-notification-container-dock-fadein{opacity:1;visibility:visible}.tox .tox-notification-container-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-notification-container-dock-transition.tox-notification-container-dock-fadein{transition-delay:0s}.tox .tox-onboarding-overlay{height:100%;background-color:#f0f0f0;position:absolute;top:0;left:0;right:0;z-index:1302;overflow:auto;display:grid;justify-content:center;align-items:center}.tox .tox-onboarding-dialog{max-width:512px;background-color:#fff;display:flex;flex-direction:column;box-shadow:0 16px 16px -10px rgba(34,47,62,.15),0 0 40px 1px rgba(34,47,62,.15);border-radius:12px;margin:8px}.tox .tox-onboarding-dialog .tox-onboarding-header{color:#222f3e;display:flex;justify-content:center;align-items:center;font-size:20px;margin:24px 0 8px}.tox .tox-onboarding-dialog .tox-onboarding-step{display:grid;grid-template-columns:min-content 1fr min-content;align-items:center;margin:0 24px}.tox .tox-onboarding-dialog .tox-onboarding-step:not(:last-child){border-bottom:1px solid #c1c1c1}.tox .tox-onboarding-dialog .tox-onboarding-step--number{width:24px;aspect-ratio:1/1;border-radius:50%;border:1px solid #00ad0e;display:flex;justify-content:center;align-items:center;font-size:12px;font-weight:700;color:#00ad0e}.tox .tox-onboarding-dialog .tox-onboarding-step--body{padding:24px 0 24px 16px}.tox .tox-onboarding-dialog .tox-onboarding-step--body-header{color:#222f3e;font-size:14px;font-weight:700;margin-bottom:4px}.tox .tox-onboarding-dialog .tox-onboarding-step--body-details{color:rgba(34,47,62,.7);font-size:14px}.tox .tox-onboarding-dialog .tox-onboarding-step--action{padding-left:24px}.tox .tox-onboarding-dialog .tox-onboarding-footer{background-color:#f0f0f0;display:flex;justify-content:space-between;align-items:center;padding:16px 24px;border-bottom-left-radius:12px;border-bottom-right-radius:12px}.tox .tox-onboarding-dialog .tox-onboarding-footer p{display:flex;align-items:center;justify-content:center;gap:4px;font-size:14px;color:rgba(34,47,62,.7)}.tox .tox-onboarding-dialog svg{width:24px;fill:rgba(34,47,62,0.7)}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin{display:grid;align-items:center;grid-template-columns:min-content 1fr min-content;border-bottom:1px solid #c1c1c1;padding:24px 0;margin:0 16px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body{margin:0 16px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body .tox-promotion-dialog-plugin-header{color:#222f3e;font-size:14px;font-weight:700;margin-bottom:4px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body .tox-promotion-dialog-plugin-details{color:rgba(34,47,62,.7);font-size:14px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--icon{display:grid;place-content:center;width:56px;height:56px;line-height:24px;font-size:24px;border-radius:12px;background:linear-gradient(180deg,#fff 24%,#f0f0f0 100%);box-shadow:0 1px 1px 0 #222f3e12,0 3px 6px 0 #222f3e06;color:#207ab7}.tox .tox-promotion-dialog--subtitle{margin:16px;color:rgba(34,47,62,.7);font-size:14px}.tox .tox-promotion-dialog--explore{text-align:center;margin:16px;color:rgba(34,47,62,.7);font-size:14px}.tox .tox-promotion-dialog--explore a{color:#207ab7}.tox .tox-promotion-dialog--footer{background-color:#f0f0f0;color:rgba(34,47,62,.7);font-size:12px;text-align:center;padding:16px}.tox .tox-promotion-button{display:flex;align-items:center;height:26.6px;line-height:26.6px;font-size:14px;font-weight:700;background-color:#f1ebf9;color:#851aff;padding:8px 16px;cursor:pointer;white-space:nowrap;border-radius:5px}.tox .tox-promotion-button:focus{outline:1px solid #851AFF}.tox .tox-onboarding-dialog a,.tox .tox-promotion-dialog--footer a{color:rgba(34,47,62,.7);cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-onboarding-dialog a:focus,.tox .tox-onboarding-dialog a:hover,.tox .tox-promotion-dialog--footer a:focus,.tox .tox-promotion-dialog--footer a:hover{color:#0a1620;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-onboarding-dialog a:focus-visible,.tox .tox-promotion-dialog--footer a:focus-visible{border-radius:1px;outline:2px solid #214d6e;outline-offset:2px}.tox .tox-onboarding-dialog a:active,.tox .tox-promotion-dialog--footer a:active{color:#000;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-pop{display:inline-block;position:relative}.tox .tox-pop--resizing{transition:width .1s ease}.tox .tox-pop--resizing .tox-toolbar,.tox .tox-pop--resizing .tox-toolbar__group{flex-wrap:nowrap}.tox .tox-pop--transition{transition:.15s ease;transition-property:left,right,top,bottom}.tox .tox-pop--transition::after,.tox .tox-pop--transition::before{transition:all .15s,visibility 0s,opacity 75ms ease 75ms}.tox .tox-pop__dialog{background-color:#fff;border:1px solid #ccc;border-radius:3px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);min-width:0;overflow:hidden}.tox .tox-pop__dialog>:not(.tox-toolbar){margin:4px 4px 4px 8px}.tox .tox-pop__dialog .tox-toolbar{background-color:transparent;margin-bottom:-1px}.tox .tox-pop::after,.tox .tox-pop::before{border-style:solid;content:'';display:block;height:0;opacity:1;position:absolute;width:0}@media (forced-colors:active){.tox .tox-pop::after,.tox .tox-pop::before{content:none}}.tox .tox-pop.tox-pop--inset::after,.tox .tox-pop.tox-pop--inset::before{opacity:0;transition:all 0s .15s,visibility 0s,opacity 75ms ease}.tox .tox-pop.tox-pop--bottom::after,.tox .tox-pop.tox-pop--bottom::before{left:50%;top:100%}.tox .tox-pop.tox-pop--bottom::after{border-color:#fff transparent transparent transparent;border-width:8px;margin-left:-8px;margin-top:-1px}.tox .tox-pop.tox-pop--bottom::before{border-color:#ccc transparent transparent transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--top::after,.tox .tox-pop.tox-pop--top::before{left:50%;top:0;transform:translateY(-100%)}.tox .tox-pop.tox-pop--top::after{border-color:transparent transparent #fff transparent;border-width:8px;margin-left:-8px;margin-top:1px}.tox .tox-pop.tox-pop--top::before{border-color:transparent transparent #ccc transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--left::after,.tox .tox-pop.tox-pop--left::before{left:0;top:calc(50% - 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--left::after{border-color:transparent #fff transparent transparent;border-width:8px;margin-left:-15px}.tox .tox-pop.tox-pop--left::before{border-color:transparent #ccc transparent transparent;border-width:10px;margin-left:-19px}.tox .tox-pop.tox-pop--right::after,.tox .tox-pop.tox-pop--right::before{left:100%;top:calc(50% + 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--right::after{border-color:transparent transparent transparent #fff;border-width:8px;margin-left:-1px}.tox .tox-pop.tox-pop--right::before{border-color:transparent transparent transparent #ccc;border-width:10px;margin-left:-1px}.tox .tox-pop.tox-pop--align-left::after,.tox .tox-pop.tox-pop--align-left::before{left:20px}.tox .tox-pop.tox-pop--align-right::after,.tox .tox-pop.tox-pop--align-right::before{left:calc(100% - 20px)}.tox.tox-edit-focus .tox-sidebar__resize-handle:hover::before{border-left:0 solid transparent}.tox .tox-sidebar-wrap{--tox-private-min-editing-area-width:280px;flex-grow:1;min-height:0}.tox .tox-sidebar-wrap:not(.tox .tox-sidebar-wrap--resizable){display:flex;flex-direction:row}.tox .tox-sidebar-wrap--resizable{display:grid;grid-template-columns:minmax(var(--tox-private-min-editing-area-width),1fr) minmax(0,max-content);grid-template-rows:minmax(0,1fr)}.tox .tox-sidebar{background-color:var(--tox-private-sidebar-background-color,#f0f0f0);display:flex;flex-direction:row;justify-content:flex-end}.tox .tox-sidebar__slider{display:flex;overflow:hidden}.tox .tox-sidebar-wrap--resizable .tox-sidebar__pane-container{width:var(--tox-private-requested-sidebar-width)}.tox .tox-sidebar-wrap--resizable .tox-sidebar--sliding-growing .tox-sidebar__pane-container,.tox .tox-sidebar-wrap--resizable .tox-sidebar--sliding-shrinking .tox-sidebar__pane-container{width:var(--tox-private-resolved-sidebar-width);min-width:var(--tox-private-resolved-sidebar-width)}.tox .tox-sidebar__pane-container{display:flex}.tox .tox-sidebar-wrap--resizable .tox-sidebar__resize-handle{display:block}.tox .tox-sidebar__resize-handle{display:none;position:relative;width:var(--tox-private-sidebar-resize-handle-width,1px);height:100%;cursor:col-resize;background-color:var(--tox-private-separator-color,#c1c1c1);z-index:1}.tox .tox-sidebar__resize-handle::before{content:'';position:absolute;top:0;bottom:0;width:8px;box-sizing:border-box;border-left:0 solid transparent;transition:border-left-width .15s ease,border-left-color .15s ease}.tox .tox-sidebar__resize-handle:hover::before{border-left:3px solid #207ab7}.tox .tox-sidebar-wrap--resizable .tox-sidebar__pane{width:calc(100% - var(--tox-private-sidebar-resize-handle-width,1px))}.tox .tox-sidebar__pane{display:flex}.tox .tox-sidebar--sliding-closed{opacity:0}.tox .tox-sidebar--sliding-open{opacity:1}.tox .tox-sidebar--sliding-growing,.tox .tox-sidebar--sliding-shrinking{transition:width .5s ease,opacity .5s ease}.tox .tox-sidebar-content{display:flex;flex-direction:column;position:relative;width:100%;height:100%}.tox .tox-sidebar-content__header{align-items:center;display:flex;justify-content:space-between;border-bottom:var(--tox-private-tinymceai-border-width,1px) solid var(--tox-private-neutral-20,#e3e3e3);padding:var(--tox-private-pad-sm,8px) 12px;background:var(--tox-private-background-color,#fff)}.tox .tox-sidebar-content__header .tox-sidebar-content__header-close-button{margin-left:auto}.tox .tox-sidebar-content__actions{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-sidebar-content__title{font-size:var(--tox-private-font-size-lg, 20px);font-weight:var(--tox-private-font-weight-normal,normal);padding:var(--tox-private-pad-sm,8px) 0 var(--tox-private-pad-sm,8px) 0;color:var(--tox-private-text-color,#222f3e);line-height:28px}.tox .tox-floating-sidebar{--tox-private-floating-sidebar-width:min(380px, 90vw);--tox-private-floating-sidebar-height:80vh;position:fixed;z-index:var(--tox-private-z-index-floatingsidebar,1050);box-shadow:var(--tox-private-floating-sidebar-box-shadow,0 0 40px 1px rgba(34,47,62,.15),0 16px 16px -10px rgba(34,47,62,.15),0 0 0 1px rgba(34,47,62,.15));width:var(--tox-private-floating-sidebar-width);height:var(--tox-private-floating-sidebar-height);background-color:var(--tox-private-floating-sidebar-background-color,#f0f0f0);border-radius:var(--tox-private-panel-border-radius,3px);overflow:hidden}.tox .tox-floating-sidebar:not(.tox .tox-floating-sidebar--open){display:none}.tox .tox-floating-sidebar--open{display:block}.tox .tox-floating-sidebar__content-wrapper{width:100%;height:100%;display:flex;flex-direction:column}.tox .tox-floating-sidebar__header{position:relative}.tox .tox-floating-sidebar .tox-ai__scroll:has(.tox-card-list){background-color:inherit}.tox .tox-ai .tox-expandable-box{margin-bottom:calc(var(--tox-private-pad-md,16px) * .75)}.tox .tox-ai .tox-expandable-box .tox-expandable-box__content{margin:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-md,16px) * .75)}.tox .tox-ai .tox-expandable-box>.tox-button{margin:0 calc(var(--tox-private-pad-md,16px) * .75) var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-expandable-box:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#207ab7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-sidebar-content__header{border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-background-color,#fff);padding:calc(var(--tox-private-pad-sm,8px) - var(--tox-private-tinymceai-focus-border-width,2px)) calc(12px - var(--tox-private-tinymceai-focus-border-width,2px));border-bottom:1px solid var(--tox-private-separator-color,#c1c1c1)}.tox .tox-ai .tox-sidebar-content__header:focus-visible:not(:disabled){border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#207ab7);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-sidebar-content__loader{align-items:center;display:flex;height:100%;justify-content:center;width:100%;z-index:1000}.tox .tox-ai .tox-sidebar-content__title{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin-right:auto}.tox .tox-ai .tox-sidebar-content__title:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#207ab7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-sidebar-content__actions .tox-ai__complete-review{display:flex;align-items:center;gap:6px;padding-top:var(--tox-private-pad-xs,4px);padding-bottom:var(--tox-private-pad-xs,4px);padding-left:var(--tox-private-pad-md,16px);padding-right:var(--tox-private-pad-md,16px)}.tox .tox-ai .tox-menu{width:-webkit-fill-available;width:-moz-available;width:stretch;overflow:visible}.tox .tox-ai .tox-ai__user-prompt{display:flex;flex-direction:column;margin-left:auto;gap:inherit;width:100%}.tox .tox-ai .tox-ai__user-prompt__context{margin-left:auto;display:flex;flex-direction:column;gap:inherit;align-items:end;width:100%}.tox .tox-ai .tox-ai__user-prompt__context .tox-tag{max-width:100%}.tox .tox-ai .tox-ai__user-prompt__text{background-color:var(--tox-private-background-secondary,#f0f0f0);padding:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-md,16px) * .75);border-radius:var(--tox-private-control-border-radius,3px);max-width:80%;align-self:flex-end;color:var(--tox-private-text-color,#222f3e);white-space:pre-wrap}.tox .tox-ai .tox-ai__user-prompt__text:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#207ab7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-ai__scroll{overflow-y:auto;overflow-x:hidden;background-color:var(--tox-private-background-color,#fff);display:flex;padding:12px;flex-direction:column;align-items:flex-start;gap:12px;flex:1 0 0;align-self:stretch}.tox .tox-ai .tox-ai__scroll:focus-visible:not(:disabled){outline:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#207ab7);outline-offset:calc(-1 * var(--tox-private-tinymceai-focus-border-width,2px));border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-ai__scroll--review:not(:has(.tox-sidebar-content__message-text)){background-color:var(--tox-private-background-secondary,#f0f0f0)}.tox .tox-ai .tox-ai__spinner svg{fill:var(--tox-private-color-tint,#207ab7)}.tox .tox-ai .tox-ai__response{width:100%;min-width:100%;max-width:100%}.tox .tox-ai .tox-ai__response__header{display:flex;align-items:center;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response__header .tox-icon svg{fill:var(--tox-private-color-tint,#207ab7)}.tox .tox-ai .tox-ai__response-status{display:flex;color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));font-size:var(--tox-private-font-size-sm, 14px);gap:var(--tox-private-pad-xs,4px);line-height:var(--tox-private-tinymceai-response-status-icon-height, max(24px, calc(14px + 4px)));padding-top:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response-status svg{fill:var(--tox-private-text-color-muted,rgba(34,47,62,0.7))}.tox .tox-ai .tox-ai__response-status-icon{border-radius:999px;border:1px solid var(--tox-private-neutral-20,#e3e3e3);background-color:var(--tox-private-background-color,#fff);height:var(--tox-private-tinymceai-response-status-icon-height,max(24px,calc(14px + 4px)));flex:0 0 24px;display:flex;align-items:center;justify-content:center}.tox .tox-ai .tox-ai__response-status-icon .tox-icon{display:contents}.tox .tox-ai .tox-ai__response-status-icon+.tox-ai__response-status-icon{margin-left:calc((var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px)) * -1)}.tox .tox-ai .tox-ai__icon{display:flex;align-items:center;justify-content:center}.tox .tox-ai .tox-ai__response-sources{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response-sources-header{display:block}.tox .tox-ai .tox-ai__response-sources-list{display:flex;align-items:center;gap:var(--tox-private-pad-sm,8px);align-self:stretch;flex-wrap:wrap}.tox .tox-ai .tox-ai__response-sources-list .tox-tag{border:1px solid var(--tox-private-separator-color,#c1c1c1);background-color:transparent;max-width:32%;max-height:24px;cursor:pointer}.tox .tox-ai .tox-ai__response-sources-list .tox-tag img,.tox .tox-ai .tox-ai__response-sources-list .tox-tag svg{width:16px;height:16px;min-width:16px;min-height:16px;max-width:16px;max-height:16px}.tox .tox-ai .tox-ai__response-content{padding:var(--tox-private-pad-sm,8px) 0;color:var(--tox-private-text-color,#222f3e);font-feature-settings:'liga' off,'clig' off;font-size:var(--tox-private-font-size-sm, 14px);font-style:normal;font-weight:var(--tox-private-font-weight-normal,normal);line-height:var(--tox-private-line-height, 18px);display:flex;flex-direction:column}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming{position:relative}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming .tox-ai__response-status{color:var(--tox-private-text-color,#222f3e);font-size:var(--tox-private-font-size-md, 16px);line-height:calc(var(--tox-private-font-size-md, 16px) + 4px)}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming::after{content:'';position:absolute;bottom:0;left:0;right:0;height:min(100px,100%);pointer-events:none;background:linear-gradient(to bottom,transparent 60px,transparent 60px,var(--tox-private-background-color,#fff))}.tox .tox-ai .tox-ai-error{border-radius:var(--tox-private-panel-border-radius,3px);border:1px solid var(--tox-private-color-error,#c00);background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#fff) r g b / .9) 0,rgba(from var(--tox-private-background-color,#fff) r g b / .9) 100%),var(--tox-private-color-error,#c00);padding:var(--tox-private-pad-sm,8px);width:100%;display:flex;gap:var(--tox-private-pad-sm,8px);align-items:center}.tox .tox-ai .tox-ai-error__message{flex:1 0 0}.tox .tox-ai .tox-ai-error__icon{flex:0 0 auto;align-self:flex-start}.tox .tox-ai .tox-ai__footer{padding:calc(12px - var(--tox-private-tinymceai-focus-border-width,2px));gap:var(--tox-private-pad-sm,8px);background-color:var(--tox-private-background-color,#fff);display:flex;flex-direction:column;border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-background-color,#fff);border-top:1px solid var(--tox-private-separator-color,#c1c1c1)}.tox .tox-ai .tox-ai__footer:focus-visible:not(:disabled){border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#207ab7);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-ai__context{display:flex;gap:var(--tox-private-pad-sm,8px);flex-wrap:wrap;max-height:calc((2 * (2 * var(--tox-private-pad-xs,4px) + var(--tox-private-base-value,16px))) + var(--tox-private-pad-sm,8px))}.tox .tox-ai .tox-ai__context .tox-tag{max-width:calc((100% - var(--tox-private-pad-sm,8px))/ 2)}.tox .tox-ai .tox-ai__context-more{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px);padding:var(--tox-private-pad-sm,8px);overflow:auto;max-width:var(--tox-private-tinymceai-context-more-max-width,320px)}.tox .tox-ai .tox-ai__context-more .tox-tag{max-width:100%}.tox .tox-ai .tox-ai__stop-generating{display:flex;align-items:center;gap:6px}.tox .tox-ai .tox-ai__footer-actions{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-model-selection-button{display:flex;gap:var(--tox-private-pad-xs,4px)}.tox .tox-ai .tox-ai__footer-note{align-items:center;color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));display:flex;font-size:var(--tox-private-font-size-xs, 12px);height:24px;justify-content:center;letter-spacing:0;padding-top:var(--tox-private-pad-sm,8px);width:100%}.tox .tox-ai .tox-ai__models-menu{max-width:350px}.tox .tox-ai .tox-ai__models-menu .tox-menu{max-height:inherit;padding:var(--tox-private-pad-xs,4px)}.tox .tox-ai .tox-ai__models-menu__item__description{display:flex;flex-direction:column;align-items:start}.tox .tox-ai .tox-ai__models-menu__item__description__title{font-weight:var(--tox-private-font-weight-bold,bold);font-size:var(--tox-private-font-size-sm, 14px);line-height:calc(var(--tox-private-font-size-sm, 14px) * 1.28572);padding-bottom:4px}.tox .tox-ai .tox-ai__models-menu__item__description__content{color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));font-size:var(--tox-private-font-size-xs, 12px);line-height:calc(var(--tox-private-font-size-xs, 12px) * 1.33333)}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content{color:inherit}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content .tox-ai__models-menu__item__description__ability{color:var(--tox-private-color-white,#fff)}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content .tox-ai__models-menu__item__description__content_body{color:rgba(from var(--tox-private-color-white,#fff) r g b / .7)}.tox .tox-ai .tox-ai__models-menu__item__description__ability{color:var(--tox-private-text-color,#222f3e);padding-bottom:4px}.tox .tox-ai .tox-ai__models-menu__item__description__ability__enabled{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-ai .tox-ai-chat-history-list{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px);padding-top:var(--tox-private-pad-xs,4px);width:100%}.tox .tox-ai .tox-ai-chat-history-list .tox-collection__group{gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-chat-history-list__title{color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:18px;letter-spacing:1px}.tox .tox-ai .tox-ai-chat-history-list__item{display:flex;padding:12px;gap:var(--tox-private-pad-sm,8px);border-radius:var(--tox-private-control-border-radius,3px);cursor:pointer}.tox .tox-ai .tox-ai-chat-history-list__item.tox-ai-chat-history-list__item--active{background-color:var(--tox-private-background-secondary,#f0f0f0)}.tox .tox-ai .tox-ai-chat-history-list__item:focus,.tox .tox-ai .tox-ai-chat-history-list__item:focus-visible{background-color:var(--tox-private-background-secondary,#f0f0f0)}.tox .tox-ai .tox-ai-chat-history-list__item.tox-ai-chat-history-list__item-edit-title{background-color:var(--tox-private-background-secondary,#f0f0f0);flex-direction:column}.tox .tox-ai .tox-ai-chat-history-list__item-edit-actions{display:flex;justify-content:flex-end;width:100%;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-chat-history-list__item-edit-actions .tox-ai__spinner svg{fill:rgba(from var(--tox-private-color-white,#fff) r g b / 0.5)}.tox .tox-ai .tox-ai-chat-history-list__item-content{display:flex;flex-direction:column;margin-right:auto;overflow:hidden}.tox .tox-ai .tox-ai-chat-history-list__item-actions{display:flex;align-items:center;min-width:calc(24px + (var(--tox-private-pad-xs,4px) + 1px)*2)}.tox .tox-ai .tox-ai-chat-history-list__item-content-title{color:var(--tox-private-text-color,#222f3e);font-size:var(--tox-private-font-size-base, 16px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:var(--tox-private-font-size-lg, 20px);overflow:hidden;text-overflow:ellipsis}.tox .tox-ai .tox-ai-chat-history-list__item-content-date{color:var(--tox-private-text-color,#222f3e);font-size:var(--tox-private-font-size-xs, 12px);line-height:var(--tox-private-line-height-base, 1.3)}.tox .tox-ai .tox-sidebar-content__message{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;gap:var(--tox-private-pad-md,16px);width:100%}.tox .tox-ai .tox-sidebar-content__message-text{text-align:center;color:var(--tox-private-text-color,#222f3e);font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:20px}.tox .tox-ai .tox-sidebar-content__message-action{display:flex;justify-content:center;align-items:center;align-self:stretch}.tox .tox-ai .tox-ai-chat-action-button{line-height:var(--tox-private-base-value, 16px);font-size:var(--tox-private-font-size-xs, 12px);padding:6px var(--tox-private-pad-sm,8px);margin:var(--tox-private-pad-xs,4px) 0;font-weight:var(--tox-private-font-weight-normal,normal);width:min-content}.tox .tox-ai .tox-ai-chat-action-button .tox-icon{display:inline-flex;align-items:center;justify-content:center;height:16px;width:16px;overflow:hidden}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg{display:block;flex:none;fill:var(--tox-private-tinymceai-chat-action-button-icon-color,#207ab7)}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='24'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='24px']{transform:scale(calc(16 / 24))}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='20'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='20px']{transform:scale(calc(16 / 20))}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='18'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='18px']{transform:scale(calc(16 / 18))}.tox .tox-ai .tox-ai-chat-action-button:not(:has(+ .tox-ai-chat-action-button)){margin-bottom:var(--tox-private-pad-sm,8px)}.tox .tox-ai-removed-content{font-style:italic;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));line-height:var(--tox-private-line-height-base, 1.3);margin:0 1em}.tox .tox-ai-removed-content::before{content:"⊘ ";font-style:normal;font-size:calc(var(--tox-private-line-height-base, 1.3) * 1em)}.tox .tox-ai-html-content{font-size:var(--tox-private-font-size-md, 16px);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color,#222f3e);line-height:var(--tox-private-line-height-base, 1.3);overflow-x:auto}.tox .tox-ai-html-content:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#207ab7);outline-offset:var(--tox-private-tinymceai-html-content-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai-html-content h1{font-size:1.6em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.67em 0}.tox .tox-ai-html-content h2{font-size:1.4em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.83em 0}.tox .tox-ai-html-content h3{font-size:1.2em;font-weight:var(--tox-private-font-weight-bold,bold);margin:1em 0}.tox .tox-ai-html-content h4,.tox .tox-ai-html-content h5,.tox .tox-ai-html-content h6{font-size:1em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.33em 0}.tox .tox-ai-html-content p{margin:var(--tox-private-pad-sm,8px) 0}.tox .tox-ai-html-content ol,.tox .tox-ai-html-content ul{padding-left:2em;margin:1em 0}.tox .tox-ai-html-content li:has(input:first-child){list-style-type:none}.tox .tox-ai-html-content a{color:var(--tox-private-color-tint,#207ab7);-webkit-text-decoration:underline;text-decoration:underline;cursor:pointer}.tox .tox-ai-html-content a:link:active,.tox .tox-ai-html-content a:visited:active{color:#8864ad}.tox .tox-ai-html-content blockquote{border-left:2px solid var(--tox-private-separator-color,#c1c1c1);margin-left:1.5rem;padding-left:1rem;font-style:italic}.tox .tox-ai-html-content code{font-family:ui-monospace,monospace;background:var(--tox-private-separator-color,#c1c1c1);padding:.1em .2em;border-radius:4px}.tox .tox-ai-html-content pre code{display:block;font-family:ui-monospace,monospace;background:var(--tox-private-separator-color,#c1c1c1);border-radius:4px;white-space:pre-wrap;margin:1em 0;overflow-wrap:break-word}.tox .tox-ai-html-content hr{border:none;border-top:1px solid var(--tox-private-border-color,#ccc)}.tox .tox-ai-html-content table{width:100%;border-collapse:collapse;margin:.5em 0;font-size:.95em;line-height:1.45}.tox .tox-ai-html-content table:not([cellpadding]) td,.tox .tox-ai-html-content table:not([cellpadding]) th{padding:.4rem}.tox .tox-ai-html-content td,.tox .tox-ai-html-content th{border:1px solid var(--tox-private-border-color,#ccc)}.tox .tox-ai-html-content th{font-weight:var(--tox-private-font-weight-bold,bold);text-align:left;white-space:nowrap}.tox .tox-ai-html-content b,.tox .tox-ai-html-content strong{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-ai-html-content em,.tox .tox-ai-html-content i{font-style:italic}.tox .tox-ai-html-content del{-webkit-text-decoration:line-through;text-decoration:line-through}.tox .tox-ai-html-content sub,.tox .tox-ai-html-content sup{font-size:.75em;line-height:0;vertical-align:baseline}.tox .tox-ai-html-content sup{vertical-align:super}.tox .tox-ai-html-content sub{vertical-align:sub}.tox .tox-ai-html-content mark{background:hsl(from var(--tox-private-color-active,#ffcf30) h s l / 30%);padding:.05em .2em;border-radius:2px}.tox .tox-ai-html-content small{font-size:.85em}.tox .tox-ai-html-content kbd{font-family:ui-monospace,monospace;font-size:.85em;padding:.15em .4em;border-radius:4px;border:1px solid var(--tox-private-border-color,#ccc);background:var(--tox-private-separator-color,#c1c1c1);box-shadow:inset 0 -1px 0 var(--tox-private-border-color,#ccc)}.tox .tox-ai-html-content img{max-width:100%;height:auto;vertical-align:middle;border-radius:4px}.tox .tox-expandable-box__content .tox-ai-html-content+.tox-ai-html-content::before,.tox .tox-expandable-box__content .tox-ai-html-content:has(+ .tox-ai-removed-content)::after,.tox .tox-expandable-box__content .tox-ai-removed-content+.tox-ai-html-content::before{content:"〰〰";color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));text-align:center;width:100%;display:block}.tox .tox-diff-preview{display:contents}.tox .tox-diff-preview__host{height:100%;position:relative;flex:1 1 0}.tox .tox-diff-preview__host:empty{pointer-events:none}.tox .tox-diff-preview__layer{display:flex;flex-direction:column;inset:0;position:absolute}.tox .tox-diff-preview__layer--loading .tox-diff-preview__frame{pointer-events:none;visibility:hidden}.tox .tox-diff-preview__viewport{flex:1 1 auto;min-height:0;position:relative}.tox .tox-diff-preview__frame{background-color:#fff;border:0;height:100%;min-height:0;position:relative;width:100%}.tox .tox-diff-preview__footer{background-color:var(--tox-private-background-color,#fff);border-top:1px solid #e3e3e3;flex:0 0 auto}.tox .tox-diff-preview__toolbar{display:flex;gap:8px;justify-content:flex-end;padding:12px 16px}.tox .tox-ai__preview-overlay{position:absolute;inset:0;width:100%;height:100%;font-size:14px}.tox .tox-ai__preview-overlay--hidden{visibility:hidden}.tox .tox-ai__preview-overlay--pass-through{pointer-events:none}.tox .tox-ai__preview-overlay--dim{background:rgba(34,47,62,.2)}.tox .tox-ai__preview-overlay--centered{display:flex;align-items:center;justify-content:center}.tox .tox-ai__preview-overlay--clipped{overflow:clip}.tox .tox-tinymceai-previewloader{display:flex;align-items:center;gap:var(--tox-private-pad-md,16px);padding:var(--tox-private-pad-sm,8px);border-radius:var(--tox-private-panel-border-radius,3px);box-shadow:var(--tox-private-ai-preview-loader-box-shadow,0 0 40px 1px rgba(34,47,62,.15),0 16px 16px -10px rgba(34,47,62,.15));background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color,#222f3e);pointer-events:auto}.tox .tox-tinymceai-previewloader__content{display:flex;align-items:center;justify-content:center;padding:0 var(--tox-private-pad-xs,4px);gap:var(--tox-private-pad-sm,8px)}.tox .tox-selector{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;display:inline-block;height:10px;position:absolute;width:10px}.tox.tox-platform-touch .tox-selector{height:12px;width:12px}.tox .tox-skeleton .tox-skeleton__line{height:16px;width:100%;background:linear-gradient(to right,rgba(240,240,240,.5) 8%,rgba(240,240,240,.7) 18%,rgba(240,240,240,.5) 33%);animation:wave 2s infinite ease-out}.tox .tox-skeleton .tox-skeleton__circle{height:36px;width:36px;margin-right:8px;border-radius:100%;background:linear-gradient(to right,rgba(240,240,240,.5) 8%,rgba(240,240,240,.7) 18%,rgba(240,240,240,.5) 33%);animation:wave 2s infinite ease-out}@keyframes wave{0%{background-position:-268px 0}100%{background-position:268px 0}}.tox .tox-slider{align-items:center;display:flex;flex:1;height:24px;justify-content:center;position:relative}.tox .tox-slider__rail{background-color:transparent;border:1px solid #ccc;border-radius:3px;height:10px;min-width:120px;width:100%}.tox .tox-slider__handle{background-color:#207ab7;border:2px solid #185d8c;border-radius:3px;box-shadow:none;height:24px;left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%);width:14px}.tox .tox-form__controls-h-stack>.tox-slider:not(:first-of-type){margin-inline-start:8px}.tox .tox-form__controls-h-stack>.tox-form__group+.tox-slider{margin-inline-start:32px}.tox .tox-form__controls-h-stack>.tox-slider+.tox-form__group{margin-inline-start:32px}.tox .tox-toolbar-slider{align-items:center;display:inline-flex;height:16px}.tox .tox-toolbar-slider__input{appearance:none;background:#ccc;border-radius:16px;width:130px;height:2px}.tox .tox-toolbar-slider__input::-webkit-slider-runnable-track{background-color:transparent;height:16px}.tox .tox-toolbar-slider__input::-moz-range-track{background-color:transparent;height:16px}.tox .tox-toolbar-slider__input::-webkit-slider-thumb{-webkit-appearance:none;background-color:#207ab7;border-radius:16px;border:none;height:16px;width:16px}.tox .tox-toolbar-slider__input::-moz-range-thumb{appearance:none;background-color:#207ab7;border-radius:16px;border:none;height:16px;width:16px}.tox .tox-toolbar-slider__input:focus-visible{outline:0}.tox .tox-toolbar-slider__input:focus::-webkit-slider-thumb{background-color:#1c6ca1;box-shadow:inset 0 0 0 1px #fff,0 0 0 2px #207ab7}.tox .tox-toolbar-slider__input:focus::-moz-range-thumb{background-color:#1c6ca1;box-shadow:inset 0 0 0 1px #fff,0 0 0 2px #207ab7}.tox .tox-toolbar-slider__input:hover::-webkit-slider-thumb{background-color:#1c6ca1}.tox .tox-toolbar-slider__input:hover::-moz-range-thumb{background-color:#1c6ca1}.tox .tox-toolbar-slider__input:active::-webkit-slider-thumb{background-color:#185d8c}.tox .tox-toolbar-slider__input:active::-moz-range-thumb{background-color:#185d8c}.tox .tox-toolbar-slider__input[disabled]::-webkit-slider-thumb{background-color:rgba(255,255,255,.5)}.tox .tox-toolbar-slider__input[disabled]::-moz-range-thumb{background-color:rgba(255,255,255,.5)}.tox .tox-source-code{overflow:auto}.tox .tox-spinner{display:flex}.tox .tox-spinner>div{animation:tam-bouncing-dots 1.5s ease-in-out 0s infinite both;background-color:rgba(34,47,62,.7);border-radius:100%;height:8px;width:8px}.tox .tox-spinner>div:first-child{animation-delay:-.32s}.tox .tox-spinner>div:nth-child(2){animation-delay:-.16s}@keyframes tam-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox:not([dir=rtl]) .tox-spinner>div:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-spinner>div:not(:first-child){margin-right:4px}.tox .tox-ai__spinner{--tox-private-spinner-color:var(--tox-private-color-tint, #207ab7);--tox-private-spinner-size:24px;--tox-private-spinner-circle-width:3px;--tox-private-spinner-dot-size:6px;width:var(--tox-private-spinner-size);aspect-ratio:1/1}.tox .tox-ai__spinner--small{--tox-private-spinner-size:16px;--tox-private-spinner-circle-width:2px;--tox-private-spinner-dot-size:4px}.tox .tox-ai__spinner--circle{animation:tox-rotation 1s linear infinite;border-radius:50%;background:conic-gradient(var(--tox-private-spinner-color) 0 calc(360deg - 30deg),transparent calc(360deg - 30deg) 100%);mask:radial-gradient(calc((var(--tox-private-spinner-size) - var(--tox-private-spinner-circle-width) * 2)/ 2),#0000 98%,#000)}.tox .tox-ai__spinner--dots{display:flex;align-items:center;justify-content:center;gap:1px}.tox .tox-ai__spinner--dots>div{animation:tox-bouncing-dots 1.5s ease-in-out 0s infinite both;aspect-ratio:1/1;width:var(--tox-private-spinner-dot-size);background-color:var(--tox-private-spinner-color);border-radius:100%}.tox .tox-ai__spinner--dots>div:first-child{animation-delay:-.32s}.tox .tox-ai__spinner--dots>div:nth-child(2){animation-delay:-.16s}.tox .tox-tinymceai__annotation--added,.tox .tox-tinymceai__annotation--modified,.tox .tox-tinymceai__annotation--removed{padding-block:calc((1lh - 1.1em)/ 2);-webkit-text-decoration:none;text-decoration:none;background-repeat:no-repeat;text-decoration-thickness:max(1px,0.07em)}.tox .tox-tinymceai__annotation--added__highlight{background-position:bottom;background-image:linear-gradient(rgba(120,171,70,.2) calc(100% - 2px),#78ab46 calc(100% - 2px))}.tox .tox-tinymceai__annotation--added__selected{background-image:none;background-color:rgba(120,171,70,.2);box-shadow:0 2px 0 0 #207ab7,0 -2px 0 0 #207ab7}.tox .tox-tinymceai__annotation--modified__highlight{background-position:bottom;background-image:linear-gradient(rgba(32,122,183,.2) calc(100% - 2px),#207ab7 calc(100% - 2px))}.tox .tox-tinymceai__annotation--modified__selected{background-image:none;background-color:rgba(32,122,183,.2);box-shadow:0 2px 0 0 #207ab7,0 -2px 0 0 #207ab7}.tox .tox-tinymceai__annotation--removed__highlight{-webkit-text-decoration:line-through;text-decoration:line-through;background-position:bottom;background-image:linear-gradient(rgba(204,0,0,.2) calc(100% - 2px),#c00 calc(100% - 2px))}.tox .tox-tinymceai__annotation--removed__selected{-webkit-text-decoration:line-through;text-decoration:line-through;background-image:none;background-color:rgba(204,0,0,.2);box-shadow:0 2px 0 0 #207ab7,0 -2px 0 0 #207ab7}.tox .mce-object.tox-tinymceai__annotation--added,.tox .mce-object.tox-tinymceai__annotation--modified,.tox .mce-object.tox-tinymceai__annotation--removed,.tox .mce-preview-object.tox-tinymceai__annotation--added,.tox .mce-preview-object.tox-tinymceai__annotation--modified,.tox .mce-preview-object.tox-tinymceai__annotation--removed,.tox iframe.tox-tinymceai__annotation--added,.tox iframe.tox-tinymceai__annotation--modified,.tox iframe.tox-tinymceai__annotation--removed,.tox img.tox-tinymceai__annotation--added,.tox img.tox-tinymceai__annotation--modified,.tox img.tox-tinymceai__annotation--removed,.tox video.tox-tinymceai__annotation--added,.tox video.tox-tinymceai__annotation--modified,.tox video.tox-tinymceai__annotation--removed{padding-block:0;vertical-align:top}.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object),.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object),.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object){padding-block:0}.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) video,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) video,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) video{vertical-align:top}.tox del.tox-tinymceai__annotation--added__selected,.tox ins.tox-tinymceai__annotation--added__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#207ab7 3px,rgba(120,171,70,.2) 3px,rgba(120,171,70,.2) calc(100% - 3px),#207ab7 calc(100% - 3px))}.tox del.tox-tinymceai__annotation--modified__selected,.tox ins.tox-tinymceai__annotation--modified__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#207ab7 3px,rgba(32,122,183,.2) 3px,rgba(32,122,183,.2) calc(100% - 3px),#207ab7 calc(100% - 3px))}.tox del.tox-tinymceai__annotation--removed__selected,.tox ins.tox-tinymceai__annotation--removed__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#207ab7 3px,rgba(204,0,0,.2) 3px,rgba(204,0,0,.2) calc(100% - 3px),#207ab7 calc(100% - 3px))}.tox .tox-tinymceai__annotation--added.tox-tinymceai__annotation--added__hidden,.tox .tox-tinymceai__annotation--modified.tox-tinymceai__annotation--modified__hidden,.tox .tox-tinymceai__annotation--removed.tox-tinymceai__annotation--removed__hidden{display:none;-webkit-text-decoration:none;text-decoration:none}.tox :has(> div > iframe).tox-tinymceai__annotation--added,.tox :has(> div > iframe).tox-tinymceai__annotation--modified,.tox :has(> div > iframe).tox-tinymceai__annotation--removed{padding:7px;margin:5px}.tox iframe.tox-tinymceai__annotation--added__highlight,.tox img.tox-tinymceai__annotation--added__highlight,.tox video.tox-tinymceai__annotation--added__highlight{background-color:#e4eeda;background-image:none;border:2px solid #78ab46;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--added__selected,.tox img.tox-tinymceai__annotation--added__selected,.tox video.tox-tinymceai__annotation--added__selected{background-color:#e4eeda;background-image:none;border:2px solid #78ab46;padding:0;vertical-align:top;border-color:#e4eeda;outline:2px solid #207ab7}.tox iframe.tox-tinymceai__annotation--modified__highlight,.tox img.tox-tinymceai__annotation--modified__highlight,.tox video.tox-tinymceai__annotation--modified__highlight{background-color:#d2e4f1;background-image:none;border:2px solid #207ab7;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--modified__selected,.tox img.tox-tinymceai__annotation--modified__selected,.tox video.tox-tinymceai__annotation--modified__selected{background-color:#d2e4f1;background-image:none;border:2px solid #207ab7;padding:0;vertical-align:top;border-color:#d2e4f1;outline:2px solid #207ab7}.tox iframe.tox-tinymceai__annotation--removed__highlight,.tox img.tox-tinymceai__annotation--removed__highlight,.tox video.tox-tinymceai__annotation--removed__highlight{background-color:#f5cccc;background-image:none;border:2px solid #c00;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--removed__selected,.tox img.tox-tinymceai__annotation--removed__selected,.tox video.tox-tinymceai__annotation--removed__selected{background-color:#f5cccc;background-image:none;border:2px solid #c00;padding:0;vertical-align:top;border-color:#f5cccc;outline:2px solid #207ab7}.tox .tox-tinymceai__annotation--removed__highlight iframe,.tox .tox-tinymceai__annotation--removed__highlight img,.tox .tox-tinymceai__annotation--removed__highlight video,.tox .tox-tinymceai__annotation--removed__selected iframe,.tox .tox-tinymceai__annotation--removed__selected img,.tox .tox-tinymceai__annotation--removed__selected video{background-color:#f5cccc;background-image:none;border:2px solid #c00;padding:0;vertical-align:top}.tox .tox-tinymceai__annotation--removed__selected iframe,.tox .tox-tinymceai__annotation--removed__selected img,.tox .tox-tinymceai__annotation--removed__selected video{border-color:#f5cccc;outline:2px solid #207ab7}.tox div.tox-tinymceai__annotation:has(> hr){background-size:auto;padding:.25em}.tox div.tox-tinymceai__annotation--removed__highlight>hr{border-color:rgba(0,0,0,.2)}.tox div.tox-tinymceai__annotation--added__highlight>hr{border-color:rgba(0,0,0,.2)}.tox .tox-tinymceai__deleted-media-overlay{inset:0;overflow:hidden;pointer-events:none;position:absolute;z-index:11}.tox .tox-tinymceai__deleted-media-wash{fill:#fff;fill-opacity:0.4}.tox .tox-tinymceai__deleted-media-mark{stroke:#c00}.tox .tox-tinymceai__deleted-media-halo{stroke:#fff}.tox .mce-pagebreak.tox-tinymceai__annotation--added__selected,.tox .mce-pagebreak.tox-tinymceai__annotation--modified__selected,.tox .mce-pagebreak.tox-tinymceai__annotation--removed__selected{border:1px dashed #aaa;box-shadow:none;background-image:none}.tox .mce-pagebreak.tox-tinymceai__annotation--added__highlight,.tox .mce-pagebreak.tox-tinymceai__annotation--modified__highlight,.tox .mce-pagebreak.tox-tinymceai__annotation--removed__highlight{padding:0}.tox .tox-tinymceai__diff-focus-overlay{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:10}.tox .tox-tinymceai__diff-focus-overlay-dim{fill:rgba(34,47,62,0.2)}.tox .tox-ai__scroll:has(.tox-card-group){padding-top:0}.tox .tox-ai__scroll:has(.tox-card-group) .tox-ai__review-sidebar-container .tox-card-list{gap:0}.tox .tox-ai__scroll .tox-ai__review-sidebar-container{scrollbar-gutter:stable;width:100%;height:100%;display:flex;flex-direction:column;gap:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-card-list{gap:8px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-card-group__title{margin-inline:-12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-initializing{padding:var(--tox-private-pad-md,16px)}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-description{padding-bottom:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));font-size:var(--tox-private-font-size-sm, 14px)}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-choose-container{padding-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-custom-input{margin-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-custom-actions{display:flex;gap:8px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container{margin-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container button.tox-ai__review-input-button{width:100%;background-color:var(--tox-private-background-color,#fff);display:flex;justify-content:space-between;align-items:center;border:1px solid #ccc;border-radius:3px;box-sizing:border-box}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container .tox-ai__review-dropdown-content{width:anchor-size(width)}.tox .tox-statusbar{align-items:center;background-color:#fff;border-top:1px solid #ccc;color:rgba(34,47,62,.7);display:flex;flex:0 0 auto;font-size:12px;font-weight:400;height:18px;overflow:hidden;padding:0 8px;position:relative;text-transform:uppercase}.tox .tox-statusbar__path{display:flex;flex:1 1 auto;text-overflow:ellipsis;white-space:nowrap}.tox .tox-statusbar__right-container{display:flex;justify-content:flex-end;white-space:nowrap}.tox .tox-statusbar__help-text{text-align:center}.tox .tox-statusbar__text-container{align-items:flex-start;display:flex;flex:1 1 auto;height:16px;justify-content:space-between}@media only screen and (min-width:768px){.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__help-text,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__path,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__right-container{flex:0 0 calc(100% / 3)}}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-end{justify-content:flex-end}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-start{justify-content:flex-start}.tox .tox-statusbar__text-container.tox-statusbar__text-container--space-around{justify-content:space-around}.tox .tox-statusbar__path>*{display:inline;white-space:nowrap}.tox .tox-statusbar__wordcount{flex:0 0 auto;margin-left:1ch}@media only screen and (max-width:767px){.tox .tox-statusbar__text-container .tox-statusbar__help-text{display:none}.tox .tox-statusbar__text-container .tox-statusbar__help-text:only-child{display:block}}.tox .tox-statusbar a,.tox .tox-statusbar__path-item,.tox .tox-statusbar__wordcount{color:rgba(34,47,62,.7);position:relative;-webkit-text-decoration:none;text-decoration:none}.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]){color:#222f3e;cursor:pointer}.tox .tox-statusbar a:focus-visible::after,.tox .tox-statusbar__path-item:focus-visible::after,.tox .tox-statusbar__wordcount:focus-visible::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-statusbar a:focus-visible::after,.tox .tox-statusbar__path-item:focus-visible::after,.tox .tox-statusbar__wordcount:focus-visible::after{border:2px solid highlight}}.tox .tox-statusbar__branding svg{fill:rgba(34,47,62,0.8);height:1em;margin-left:.3em;width:auto}@media (forced-colors:active){.tox .tox-statusbar__branding svg{fill:currentColor}}.tox .tox-statusbar__branding a{align-items:center;display:inline-flex}.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg,.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg{fill:#222f3e}.tox .tox-statusbar__resize-cursor-default{cursor:ns-resize}.tox .tox-statusbar__resize-cursor-both{cursor:nwse-resize}.tox .tox-statusbar__resize-handle{align-items:flex-end;align-self:stretch;display:flex;flex:0 0 auto;justify-content:flex-end;margin-bottom:3px;margin-left:4px;margin-right:calc(3px - 8px);margin-top:3px;padding-bottom:0;padding-left:0;padding-right:0;position:relative}.tox .tox-statusbar__resize-handle svg{display:block;fill:rgba(34,47,62,0.5)}.tox .tox-statusbar__resize-handle:focus svg,.tox .tox-statusbar__resize-handle:hover svg{fill:#222f3e}.tox .tox-statusbar__resize-handle:focus-visible{background-color:transparent;border-radius:1px 1px -4px 1px;box-shadow:0 0 0 2px transparent}.tox .tox-statusbar__resize-handle:focus-visible::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-statusbar__resize-handle:focus-visible::after{border:2px solid highlight}}.tox .tox-statusbar__resize-handle:only-child{margin-left:auto}.tox:not([dir=rtl]) .tox-statusbar__path>*{margin-right:4px}.tox:not([dir=rtl]) .tox-statusbar__branding{margin-left:2ch}.tox[dir=rtl] .tox-statusbar{flex-direction:row-reverse}.tox[dir=rtl] .tox-statusbar__path>*{margin-left:4px}.tox[dir=rtl] .tox-statusbar__branding svg{margin-left:0;margin-right:.3em}.tox a.tox-tag{cursor:pointer}.tox .tox-tag{width:fit-content;box-sizing:border-box;display:flex;padding:var(--tox-private-pad-xs,4px) 6px;position:relative;align-items:center;gap:var(--tox-private-pad-xs,4px);border-radius:3px;background:hsl(from var(--tox-private-color-tint,#207ab7) h s l / 10%);line-height:var(--tox-private-base-value, 16px);font-size:var(--tox-private-font-size-xs, 12px)}.tox .tox-tag::before{border-radius:var(--tox-private-control-border-radius,3px);bottom:calc(-1 * var(--tox-private-tag-border-width,1px));box-shadow:var(--tox-private-tag-focus-outline,inset 0 0 0 1px #fff,0 0 0 2px #207ab7);content:'';left:calc(-1 * var(--tox-private-tag-border-width,1px));opacity:0;pointer-events:none;position:absolute;right:calc(-1 * var(--tox-private-tag-border-width,1px));top:calc(-1 * var(--tox-private-tag-border-width,1px))}.tox .tox-tag:focus:not(:disabled)::before{opacity:1}.tox .tox-tag>*{flex-shrink:0}.tox .tox-tag .tox-icon{height:var(--tox-private-base-value,16px);fill:var(--tox-private-text-color,#222f3e)}.tox .tox-tag .tox-tag__label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;flex-shrink:1;color:var(--tox-private-text-color,#222f3e)}.tox .tox-tag .tox-tag__close{height:var(--tox-private-base-value,16px)}.tox .tox-tag .tox-tag__close .tox-button.tox-button--icon{border:0;padding:0;color:var(--tox-private-text-color-muted,rgba(34,47,62,.7))}.tox .tox-tag .tox-tag__close .tox-button.tox-button--icon::before{box-shadow:none}.tox .tox-throbber{z-index:1299}.tox .tox-throbber__busy-spinner{align-items:center;background-color:rgba(255,255,255,.6);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.tox .tox-segmented-control{display:inline-flex;position:relative;border:none;border-radius:var(--tox-private-control-border-radius,3px);box-shadow:inset 0 0 0 1px var(--tox-private-segmented-control-border-color,#e3e3e3);overflow:hidden;padding:var(--tox-private-pad-xs,4px);background-color:var(--tox-private-background-color,#fff)}.tox .tox-segmented-control__segment{flex:1;padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-sm,8px);cursor:pointer;background:0 0;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:16px;border:1px solid transparent;border-radius:calc(var(--tox-private-control-border-radius,3px) - 1px);text-align:center;white-space:nowrap;display:inline-block;vertical-align:middle;color:var(--tox-private-segmented-control-text-color,#222f3e)}.tox .tox-segmented-control__segment--active{border-color:var(--tox-private-segmented-control-active-border-color,#207ab7);color:var(--tox-private-segmented-control-active-text-color,#207ab7);background-color:var(--tox-private-segmented-control-active-bg-color,rgba(32,122,183,.1))}.tox .tox-segmented-control:not(.tox-segmented-control--disabled) .tox-segmented-control__segment{transition:all .2s}.tox .tox-segmented-control.tox-segmented-control--disabled .tox-segmented-control__segment{opacity:.5;cursor:not-allowed;pointer-events:none}.tox .tox-segmented-control__segment:focus{outline:2px solid var(--tox-private-color-tint,#207ab7);outline-offset:2px}.tox .tox-segmented-control__segment:focus:not(:focus-visible){outline:0}.tox .tox-toggle{display:flex;align-items:center;gap:var(--tox-private-pad-xs,4px);padding:var(--tox-private-pad-xs,4px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:var(--tox-private-control-line-height, 24px);white-space:nowrap;background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color,#222f3e)}.tox .tox-toggle input{position:absolute;opacity:0;width:0;height:0}.tox .tox-toggle__slider{position:relative;cursor:pointer;box-sizing:border-box;transition:.4s;border-radius:34px;width:28px;height:16px;background-color:var(--tox-private-slider-background-color,#fff);border:1px solid var(--tox-private-slider-border-color,#e3e3e3)}.tox .tox-toggle__slider::before{position:absolute;content:"";height:12px;width:12px;left:1px;bottom:1px;transition:.4s;border-radius:50%;background-color:var(--tox-private-slider-handle-background-color,#222f3e)}.tox input:checked+.tox-toggle__slider{background-color:var(--tox-private-slider-checked-background-color,#207ab7);border:1px solid var(--tox-private-slider-checked-border-color,#207ab7)}.tox input:focus+.tox-toggle__slider{box-shadow:0 0 0 1px var(--tox-private-color-white,#fff),0 0 0 2px var(--tox-private-color-tint,#207ab7)}.tox input:checked+.tox-toggle__slider::before{transform:translateX(12px);background-color:var(--tox-private-slider-checked-handle-background-color,#fff)}.tox input:disabled+.tox-toggle__slider::before{opacity:50%}.tox .tox-tbtn{align-items:center;background:#fff;border:0;border-radius:3px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:34px;justify-content:center;margin:3px 0 2px 0;outline:0;padding:0;text-transform:none;width:34px}.tox .tox-tbtn .tox-tbtn__icon-wrap{pointer-events:none}@media (forced-colors:active){.tox .tox-tbtn.tox-tbtn:hover,.tox .tox-tbtn:hover{outline:1px dashed currentColor}.tox .tox-tbtn.tox-tbtn--active,.tox .tox-tbtn.tox-tbtn--enabled,.tox .tox-tbtn.tox-tbtn--enabled:focus,.tox .tox-tbtn.tox-tbtn--enabled:hover,.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){outline:1px solid currentColor;position:relative}}.tox .tox-tbtn svg{display:block;fill:#222f3e}@media (forced-colors:active){.tox .tox-tbtn svg{fill:currentColor!important}.tox .tox-tbtn svg.tox-tbtn--enabled,.tox .tox-tbtn svg:focus:not(.tox-tbtn--disabled){fill:currentColor!important}.tox .tox-tbtn svg .tox-tbtn:disabled,.tox .tox-tbtn svg .tox-tbtn:disabled:hover,.tox .tox-tbtn svg.tox-tbtn--disabled,.tox .tox-tbtn svg.tox-tbtn--disabled:hover{filter:contrast(0%)}}.tox .tox-tbtn.tox-tbtn-more{padding-left:5px;padding-right:5px;width:inherit}.tox .tox-tbtn:focus{background:#dee0e2;border:0;box-shadow:none;position:relative;z-index:1}.tox .tox-tbtn:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-tbtn:focus::after{border:2px solid highlight}}.tox .tox-tbtn:hover{background:#dee0e2;border:0;box-shadow:none;color:#222f3e}.tox .tox-tbtn:hover svg{fill:#222f3e}.tox .tox-tbtn:active{background:#c8cbcf;border:0;box-shadow:none;color:#222f3e}.tox .tox-tbtn:active svg{fill:#222f3e}.tox .tox-tbtn--disabled .tox-tbtn--enabled svg{fill:rgba(34,47,62,0.5)}.tox .tox-tbtn--disabled,.tox .tox-tbtn--disabled:hover,.tox .tox-tbtn:disabled,.tox .tox-tbtn:disabled:hover{background:#fff;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-tbtn--disabled svg,.tox .tox-tbtn--disabled:hover svg,.tox .tox-tbtn:disabled svg,.tox .tox-tbtn:disabled:hover svg{fill:rgba(34,47,62,0.5)}.tox .tox-tbtn--active,.tox .tox-tbtn--enabled,.tox .tox-tbtn--enabled:focus,.tox .tox-tbtn--enabled:hover{background:#c8cbcf;border:0;box-shadow:none;color:#222f3e;position:relative}.tox .tox-tbtn--active>*,.tox .tox-tbtn--enabled:focus>*,.tox .tox-tbtn--enabled:hover>*,.tox .tox-tbtn--enabled>*{transform:none}.tox .tox-tbtn--active svg,.tox .tox-tbtn--enabled svg,.tox .tox-tbtn--enabled:focus svg,.tox .tox-tbtn--enabled:hover svg{fill:#222f3e}.tox .tox-tbtn--active.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled:focus.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled:hover.tox-tbtn--disabled svg{fill:rgba(34,47,62,0.5)}.tox .tox-tbtn--enabled:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-tbtn--enabled:focus::after{border:2px solid highlight}}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){color:#222f3e}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg{fill:#222f3e}.tox .tox-tbtn:active>*{transform:none}.tox .tox-tbtn--md{height:51px;width:51px}.tox .tox-tbtn--lg{flex-direction:column;height:68px;width:68px}.tox .tox-tbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tbtn--labeled{padding:0 4px;width:unset}.tox .tox-tbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-label--context-toolbar{margin:6px 1px 5px 0;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-number-input{background:0 0;border-radius:3px;display:flex;margin:3px 0 2px 0;position:relative;width:auto}.tox .tox-number-input:focus{background:#dee0e2}.tox .tox-number-input:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input:focus::after{border:2px solid highlight}}.tox .tox-number-input .tox-input-wrapper{display:flex;pointer-events:none;position:relative;text-align:center}.tox .tox-number-input .tox-input-wrapper:focus{background-color:#dee0e2;z-index:1}.tox .tox-number-input .tox-input-wrapper:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input .tox-input-wrapper:focus::after{border:2px solid highlight}}.tox .tox-number-input .tox-input-wrapper:has(input:focus)::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input .tox-input-wrapper:has(input:focus)::after{border:2px solid highlight}}.tox .tox-number-input input{border-radius:3px;color:#222f3e;font-size:14px;margin:2px 0;pointer-events:all;position:relative;width:60px}.tox .tox-number-input input:hover{background:#dee0e2;color:#222f3e}.tox .tox-number-input input:focus{background-color:#dee0e2}.tox .tox-number-input input:disabled{background:#fff;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-number-input button{color:#222f3e;height:34px;position:relative;text-align:center;width:24px}@media (forced-colors:active){.tox .tox-number-input button:active,.tox .tox-number-input button:focus,.tox .tox-number-input button:hover{outline:1px solid currentColor!important}}.tox .tox-number-input button svg{display:block;fill:#222f3e;margin:0 auto;transform:scale(.67)}@media (forced-colors:active){.tox .tox-number-input button svg,.tox .tox-number-input button svg:active,.tox .tox-number-input button svg:hover{fill:currentColor!important}.tox .tox-number-input button svg:disabled{filter:contrast(0)}}.tox .tox-number-input button:focus{background:#dee0e2;z-index:1}.tox .tox-number-input button:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input button:focus::after{border:2px solid highlight}}.tox .tox-number-input button:hover{background:#dee0e2;border:0;box-shadow:none;color:#222f3e}.tox .tox-number-input button:hover svg{fill:#222f3e}.tox .tox-number-input button:active{background:#c8cbcf;border:0;box-shadow:none;color:#222f3e}.tox .tox-number-input button:active svg{fill:#222f3e}.tox .tox-number-input button:disabled{background:#fff;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-number-input button:disabled svg{fill:rgba(34,47,62,0.5)}.tox .tox-number-input button.minus{border-radius:3px 0 0 3px}.tox .tox-number-input button.plus{border-radius:0 3px 3px 0}.tox .tox-number-input:focus:not(:active)>.tox-input-wrapper,.tox .tox-number-input:focus:not(:active)>button{background:#dee0e2}.tox .tox-tbtn--select{margin:3px 0 2px 0;padding:0 4px;width:auto}.tox .tox-tbtn--bordered,.tox .tox-tbtn--bordered:focus,.tox .tox-tbtn--bordered:hover{border:1px solid #ccc}.tox .tox-tbtn__select-label{cursor:default;font-weight:400;height:initial;margin:0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-tbtn__select-chevron svg{fill:rgba(34,47,62,0.5)}@media (forced-colors:active){.tox .tox-tbtn__select-chevron svg{fill:currentColor}}.tox .tox-tbtn--bespoke{background:0 0}.tox .tox-tbtn--bespoke:focus{background:#dee0e2}.tox .tox-tbtn--bespoke+.tox-tbtn--bespoke{margin-inline-start:0}.tox .tox-tbtn--bespoke .tox-tbtn__select-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:7em}.tox .tox-tbtn--disabled .tox-tbtn__select-label,.tox .tox-tbtn--select:disabled .tox-tbtn__select-label{cursor:not-allowed}.tox .tox-split-button__main{border-radius:3px 0 0 3px;margin-right:0}.tox .tox-split-button__main:focus{border:0;box-shadow:none;background:#dee0e2;color:#222f3e;position:relative;z-index:1}.tox .tox-split-button__main:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0;border-radius:3px 0 0 3px}@media (forced-colors:active){.tox .tox-split-button__main:focus::after{border:2px solid highlight}}.tox .tox-split-button__chevron{width:16px;border-radius:0 3px 3px 0;margin-left:0}.tox .tox-split-button__chevron:focus{border:0;box-shadow:none;background:#dee0e2;color:#222f3e;position:relative;z-index:1}.tox .tox-split-button__chevron:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0;border-radius:0 3px 3px 0}@media (forced-colors:active){.tox .tox-split-button__chevron:focus::after{border:2px solid highlight}}.tox .tox-split-button__chevron svg{fill:rgba(34,47,62,0.5)}@media (forced-colors:active){.tox .tox-split-button__chevron svg{fill:currentColor}}.tox.tox-platform-touch .tox-split-button__main{width:30px}.tox.tox-platform-touch .tox-split-button__chevron{width:20px}.tox .tox-split-button__chevron.tox-tbtn--disabled,.tox .tox-split-button__main.tox-tbtn--disabled{background:#fff;box-shadow:none;color:rgba(34,47,62,.5)}.tox .tox-split-button__chevron.tox-tbtn--disabled:hover,.tox .tox-split-button__main.tox-tbtn--disabled:hover{background:#fff;box-shadow:none;color:rgba(34,47,62,.5)}.tox .tox-split-button__chevron.tox-tbtn--disabled:focus,.tox .tox-split-button__main.tox-tbtn--disabled:focus{background:#fff;box-shadow:none;color:rgba(34,47,62,.5)}.tox .tox-split-button__main.tox-tbtn--disabled svg .tox-icon-highlight-bg-color__color,.tox .tox-split-button__main.tox-tbtn--disabled svg .tox-icon-text-color__color{opacity:.3}.tox .tox-toolbar-overlord{background-color:#fff}.tox .tox-toolbar,.tox .tox-toolbar__overflow,.tox .tox-toolbar__primary{background-attachment:local;background-color:#fff;background-image:repeating-linear-gradient(#ccc 0 1px,transparent 1px 39px);background-position:center top 39px;background-repeat:no-repeat;background-size:calc(100% - 4px * 2) calc(100% - 39px);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;padding:0 0;transform:perspective(1px)}.tox .tox-toolbar-overlord>.tox-toolbar,.tox .tox-toolbar-overlord>.tox-toolbar__overflow,.tox .tox-toolbar-overlord>.tox-toolbar__primary{background-position:center top 0;background-size:calc(100% - 4px * 2) calc(100% - 0px)}.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed{height:0;opacity:0;padding-bottom:0;padding-top:0;visibility:hidden}.tox .tox-toolbar__overflow--growing{transition:height .3s ease,opacity .2s linear .1s}.tox .tox-toolbar__overflow--shrinking{transition:opacity .3s ease,height .2s linear .1s,visibility 0s linear .3s}.tox .tox-anchorbar,.tox .tox-toolbar-overlord{grid-column:1/-1}.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{border-top:1px solid #ccc;margin-top:-1px;padding-bottom:0;padding-top:0}@media (forced-colors:active){.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{outline:1px solid currentColor}}.tox .tox-toolbar--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-pop .tox-toolbar{border-width:0}.tox .tox-toolbar--no-divider{background-image:none}.tox .tox-toolbar-overlord .tox-toolbar:not(.tox-toolbar--scrolling):first-child,.tox .tox-toolbar-overlord .tox-toolbar__primary{background-position:center top 39px}.tox .tox-editor-header>.tox-toolbar--scrolling,.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child{background-image:none}.tox .tox-focusable-wrapper{border:1px solid transparent;margin-right:2px;pointer-events:none}.tox .tox-focusable-wrapper .tox-textfield-size{pointer-events:all}.tox .tox-focusable-wrapper:focus{background-color:#dee0e2;border-radius:3px;border-style:solid;border-width:1px}.tox.tox-tinymce-aux .tox-toolbar__overflow{background-color:#fff;background-position:center top 43px;background-size:calc(100% - 8px * 2) calc(100% - 51px);border:none;border-radius:3px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);overscroll-behavior:none;padding:4px 0}@media (forced-colors:active){.tox.tox-tinymce-aux .tox-toolbar__overflow{border:solid}}.tox-pop .tox-pop__dialog .tox-toolbar{background-position:center top 43px;background-size:calc(100% - 4px * 2) calc(100% - 51px);padding:4px 0}.tox-context-form__group{display:flex;align-items:center}.tox .tox-toolbar__group{align-items:center;display:flex;flex-wrap:wrap;margin:0 0;padding:0 4px 0 4px}.tox .tox-toolbar__group--pull-right{margin-left:auto}.tox .tox-toolbar--scrolling .tox-toolbar__group{flex-shrink:0;flex-wrap:nowrap}.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type){border-right:1px solid #ccc}.tox[dir=rtl] .tox-toolbar__group:not(:last-of-type){border-left:1px solid #ccc}.tox .tox-toolbar-input-form{display:flex;align-items:center;background-color:var(--tox-private-background-color,#fff);padding:0 var(--tox-private-pad-sm,8px)}.tox .tox-tooltip{display:inline-block;max-width:min(80%,15em);padding:8px 0 0 0;position:relative;width:max-content;z-index:1150}.tox .tox-tooltip.tox-tooltip--anchor{display:none;padding:var(--tox-private-pad-xs,4px) 0 0;position:fixed;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;height:fit-content}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--up{position-area:block-end}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--down{position-area:block-start}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--left{position-area:inline-start}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--right{position-area:inline-end}.tox .tox-tooltip__body{background-color:#222f3e;border-radius:3px;box-shadow:none;color:#fff;font-size:12px;font-style:normal;font-weight:600;overflow-wrap:break-word;padding:4px 6px;text-transform:none}@media (forced-colors:active){.tox .tox-tooltip__body{outline:outset 1px}}.tox .tox-tooltip__arrow{position:absolute}.tox .tox-tooltip--down .tox-tooltip__arrow{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #222f3e;bottom:0;left:50%;position:absolute;transform:translateX(-50%)}.tox .tox-tooltip--up .tox-tooltip__arrow{border-bottom:8px solid #222f3e;border-left:8px solid transparent;border-right:8px solid transparent;left:50%;position:absolute;top:0;transform:translateX(-50%)}.tox .tox-tooltip--right .tox-tooltip__arrow{border-bottom:8px solid transparent;border-left:8px solid #222f3e;border-top:8px solid transparent;position:absolute;right:0;top:50%;transform:translateY(-50%)}.tox .tox-tooltip--left .tox-tooltip__arrow{border-bottom:8px solid transparent;border-right:8px solid #222f3e;border-top:8px solid transparent;left:0;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-tree{display:flex;flex-direction:column}.tox .tox-tree .tox-trbtn{align-items:center;background:0 0;border:0;border-radius:4px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;margin-bottom:4px;margin-top:4px;outline:0;overflow:hidden;padding:0;padding-left:8px;text-transform:none}.tox .tox-tree .tox-trbtn .tox-tree__label{cursor:default;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tree .tox-trbtn svg{display:block;fill:#222f3e}.tox .tox-tree .tox-trbtn:focus{background:#dee0e2;border:0;box-shadow:none}.tox .tox-tree .tox-trbtn:hover{background:#dee0e2;border:0;box-shadow:none;color:#222f3e}.tox .tox-tree .tox-trbtn:hover svg{fill:#222f3e}.tox .tox-tree .tox-trbtn:active{background:#b1d0e6;border:0;box-shadow:none;color:#222f3e}.tox .tox-tree .tox-trbtn:active svg{fill:#222f3e}.tox .tox-tree .tox-trbtn--disabled,.tox .tox-tree .tox-trbtn--disabled:hover,.tox .tox-tree .tox-trbtn:disabled,.tox .tox-tree .tox-trbtn:disabled:hover{background:0 0;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-tree .tox-trbtn--disabled svg,.tox .tox-tree .tox-trbtn--disabled:hover svg,.tox .tox-tree .tox-trbtn:disabled svg,.tox .tox-tree .tox-trbtn:disabled:hover svg{fill:rgba(34,47,62,0.5)}.tox .tox-tree .tox-trbtn--enabled,.tox .tox-tree .tox-trbtn--enabled:hover{background:#b1d0e6;border:0;box-shadow:none;color:#222f3e}.tox .tox-tree .tox-trbtn--enabled:hover>*,.tox .tox-tree .tox-trbtn--enabled>*{transform:none}.tox .tox-tree .tox-trbtn--enabled svg,.tox .tox-tree .tox-trbtn--enabled:hover svg{fill:#222f3e}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled){color:#222f3e}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled) svg{fill:#222f3e}.tox .tox-tree .tox-trbtn:active>*{transform:none}.tox .tox-tree .tox-trbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tree .tox-trbtn--labeled{padding:0 4px;width:unset}.tox .tox-tree .tox-trbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-tree .tox-tree--directory{display:flex;flex-direction:column}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label{font-weight:700}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn:focus svg{fill:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:focus .tox-mbtn svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover .tox-mbtn svg{fill:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-chevron{margin-right:6px}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--shrinking) .tox-chevron{transition:transform .5s ease-in-out}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--open) .tox-chevron{transform:rotate(90deg)}.tox .tox-tree .tox-tree--leaf__label{font-weight:400}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--leaf__label .tox-mbtn:focus svg{fill:#222f3e}.tox .tox-tree .tox-tree--leaf__label:hover .tox-mbtn svg{fill:#222f3e}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#222f3e}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#222f3e}.tox .tox-tree .tox-icon-custom-state{flex-grow:1;display:flex;justify-content:flex-end}.tox .tox-tree .tox-tree--directory__children{overflow:hidden;padding-left:16px}.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--growing,.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--shrinking{transition:height .5s ease-in-out}.tox .tox-tree .tox-trbtn.tox-tree--leaf__label{display:flex;justify-content:space-between}[data-mce-name=uploadcare-enhance-filter] .color-swatch-remove-color path{fill:#c00;stroke:#c00}.tox .tox-view-wrap,.tox .tox-view-wrap__slot-container{background-color:#fff;display:flex;flex:1;flex-direction:column;height:100%;min-height:0}.tox .tox-view{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden;background-color:#fff}.tox .tox-view__header{align-items:center;display:flex;font-size:16px;justify-content:space-between;padding:8px;position:relative}.tox .tox-view__label{color:#222f3e;font-weight:700;line-height:24px;padding:4px 16px;text-align:center;white-space:nowrap}.tox .tox-view__label--normal{font-size:16px}.tox .tox-view__label--large{font-size:20px}.tox .tox-view--mobile.tox-view__header,.tox .tox-view--mobile.tox-view__toolbar{padding:8px}.tox .tox-view--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-view__align-right{margin-left:auto}.tox .tox-view__toolbar{display:flex;flex-direction:row;gap:8px;justify-content:space-between;overflow-x:auto;padding:8px}.tox .tox-view__toolbar__group{display:flex;flex-direction:row;gap:12px}.tox .tox-view__header-end,.tox .tox-view__header-start{display:flex}.tox .tox-view__pane{height:100%;padding:8px;position:relative;width:100%}.tox .tox-view__pane_panel{border:1px solid #ccc;border-radius:3px}.tox:not([dir=rtl]) .tox-view__header .tox-view__header-end>*,.tox:not([dir=rtl]) .tox-view__header .tox-view__header-start>*{margin-left:8px}.tox[dir=rtl] .tox-view__header .tox-view__header-end>*,.tox[dir=rtl] .tox-view__header .tox-view__header-start>*{margin-right:8px}.tox .tox-well{border:1px solid #ccc;border-radius:3px;padding:8px;width:100%}.tox .tox-well>:first-child{margin-top:0}.tox .tox-well>:last-child{margin-bottom:0}.tox .tox-well>:only-child{margin:0}.tox .tox-custom-editor{border:1px solid #ccc;border-radius:3px;display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-view .tox-revisionhistory__pane{padding:0}.tox .tox-revisionhistory__container{display:flex;flex-direction:column;height:100%}.tox .tox-revisionhistory{background-color:#fff;border-top:1px solid #f0f0f0;display:flex;flex:1;height:100%;overflow-x:auto;overflow-y:hidden;position:relative;width:100%}.tox .tox-revisionhistory__iframe{flex:1}.tox .tox-revisionhistory__sidebar{display:flex;flex-direction:column;height:100%;min-width:248px;width:316px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__sidebar-title{background-color:#fff;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);color:#222f3e;font-size:20px;font-weight:400;line-height:28px;padding:12px;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions{background-color:#f0f0f0;display:flex;flex:1;flex-direction:column;gap:12px;overflow-y:auto;padding:10px 12px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus{height:100%;position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus::after{bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0;border-radius:3px;bottom:1px;left:1px;right:1px;top:1px}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card{background-color:#fff;border:1px solid #f0f0f0;border-radius:6px;color:#222f3e;cursor:pointer;display:flex;flex-direction:column;font-size:14px;padding:12px;width:100%}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:hover{box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus{position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent #006ce7;content:'';left:0;position:absolute;right:0;top:0;border-radius:6px;box-shadow:0 0 0 2px #006ce7;box-shadow:0 0 0 2px #006ce7!important}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected{background-color:#fff5cc;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);position:relative}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent #e3b82a;content:'';left:0;position:absolute;right:0;top:0;border-radius:6px;box-shadow:0 0 0 2px #e3b82a}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-tags{display:flex;align-items:flex-start;flex-direction:row;gap:8px;overflow-x:auto}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-label{display:block;max-width:min-content;padding:4px 8px;margin-bottom:8px;font-size:12px;font-weight:700;border-radius:4px;background:#d3d5d8;text-wrap:balance;flex:0 1 auto}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-content{display:flex;flex-direction:row;gap:8px;align-items:center}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution{align-items:center;display:flex}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution .tox-revisionhistory__avatar{position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution .tox-revisionhistory__avatar+.tox-revisionhistory__card-ai-icon{margin-left:-4px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-info{display:flex;flex-direction:column;flex:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-date-label{font-size:14px;font-weight:700;line-height:18px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-author-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:400}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__avatar{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-ai-icon{display:flex;height:36px;width:36px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__norevision{color:rgba(34,47,62,.7);font-size:16px;line-height:24px;padding:5px 5.5px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-check-icon{color:#222f3e;height:24px}.tox .tox-card{background-color:#fff;border-radius:3px;display:flex;flex-direction:column;gap:12px;padding:12px;cursor:pointer;transition:box-shadow .15s ease-in-out,border .15s ease-in-out;border:0 solid transparent}.tox .tox-card:hover{box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-card--selected{border-color:#207ab7}.tox .tox-card:focus-visible{outline:0 solid transparent;border-color:transparent}.tox .tox-card--has-decision{background-color:#f0f0f0}.tox .tox-card--has-decision:not(.tox-card--selected){border-width:1px;border-color:rgba(34,47,62,.7);padding:11px}.tox .tox-card--has-decision .tox-card__header{font-size:12px}.tox .tox-card--has-decision .tox-card__body{color:rgba(34,47,62,.7)}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline{border-color:#e0e0e0}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:focus:not(:disabled),.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:hover:not(:disabled){background-color:#e0e0e0;border-color:#d1d1d1}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:active:not(:disabled){background-color:#d1d1d1;border-color:#d1d1d1}.tox .tox-card__header{padding-bottom:0;color:#222f3e;font-size:16px;font-weight:700;text-transform:uppercase;display:flex;flex-direction:column;gap:12px}.tox .tox-card__header-label{font-size:12px;font-weight:700;text-transform:uppercase;color:#222f3e}.tox .tox-card__header-content{flex:1;min-width:0;font-weight:400;text-transform:none}.tox .tox-card__header-actions{display:flex;align-items:center;gap:4px;flex-shrink:0;opacity:1;pointer-events:auto;transition:opacity .15s ease-in-out}.tox .tox-card__header-actions--hover-visible,.tox .tox-card__header-actions--on-focus{opacity:0;pointer-events:none}.tox .tox-card__header-actions--always-visible{opacity:1;pointer-events:auto}.tox .tox-card__header:has(.tox-card__header-actions),.tox .tox-card__header:has(.tox-card__header-content){flex-direction:row;align-items:center}.tox .tox-card__header:has(.tox-card__header-content){justify-content:space-between}.tox .tox-card__header:has(.tox-card__header-actions):not(:has(.tox-card__header-content)){justify-content:flex-end}.tox .tox-card:focus-within .tox-card__header-actions--hover-visible,.tox .tox-card:focus-within .tox-card__header-actions--on-focus,.tox .tox-card:hover .tox-card__header-actions--hover-visible{opacity:1;pointer-events:auto}.tox .tox-card__body{color:#222f3e;font-size:14px}.tox .tox-card__body .tox-expandable-box{background:0 0;border:none;gap:12px}.tox .tox-card__body .tox-expandable-box .tox-expandable-box__content,.tox .tox-card__body .tox-expandable-box>.tox-button{margin:0}.tox .tox-card__highlight{padding:4px 6px;border-bottom:0 solid #207ab7}.tox .tox-card__highlight--added{background-color:#e4eeda}.tox .tox-card__highlight--deleted{background-color:#f5cccc}.tox .tox-card__highlight--modified{background-color:#d2e4f1}.tox .tox-card__actions{display:flex;gap:8px}.tox .tox-card__actions--space-between{justify-content:space-between}.tox .tox-card__actions--flex-start{justify-content:flex-start}.tox .tox-card__actions .tox-button,.tox .tox-card__actions .tox-button--icon,.tox .tox-card__actions .tox-button:has(.tox-icon:only-child){padding:4px 16px}.tox .tox-card__divider{margin:12px 0;border:none;border-top:1px solid #ccc}.tox .tox-card__expansion{display:flex;flex-direction:column;gap:12px;width:100%}.tox .tox-card__expansion:has(> .tox-card__expansion-content--collapsed:only-child){margin-block-start:-12px}.tox .tox-card__expansion-content{display:grid;font-size:14px;grid-template-rows:0fr;transition:grid-template-rows .2s ease-in-out}.tox .tox-card__expansion-content--expanded{grid-template-rows:1fr}.tox .tox-card__expansion-content--expanded>.tox-card__expansion-content-inner{min-height:auto;overflow:visible}.tox .tox-card__expansion-content--collapsed{grid-template-rows:0fr}.tox .tox-card__expansion-content-inner{min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:12px}.tox .tox-card.tox-skeleton{cursor:default;pointer-events:none;box-shadow:none}.tox .tox-card.tox-skeleton:hover{box-shadow:none}.tox .tox-card.tox-skeleton .tox-skeleton__line{border-radius:3px;margin:0}.tox .tox-card.tox-skeleton .tox-card__body{display:flex;flex-direction:column;gap:4px}.tox .tox-card-list{display:flex;flex-direction:column;gap:12px}.tox .tox-card-list:has(.tox-card-group){gap:0}.tox .tox-card-list:focus{outline:0}.tox .tox-card-group{background-color:#f0f0f0;display:flex;flex-direction:column}.tox .tox-card-group .tox-card{scroll-margin-top:53px}.tox .tox-card-group__title{align-items:center;background-color:#fff;border-bottom:1px solid #ccc;color:#222f3e;display:flex;font-size:14px;font-weight:700;gap:8px;line-height:16px;overflow:hidden;padding:12px;position:sticky;top:0;z-index:1}.tox .tox-card-group__title-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-card-group__status{color:rgba(34,47,62,.7);flex:0 0 auto;font-size:12px;font-weight:400;margin-inline-start:auto}.tox .tox-card-group__content{display:flex;flex-direction:column;gap:12px;padding-block:12px}.tox .tox-profile{align-items:center;display:flex;gap:8px}.tox .tox-profile__image{align-items:center;display:flex;flex-shrink:0}.tox .tox-profile__badge{display:flex;flex-shrink:0;height:36px;margin-inline-start:-4px;width:36px}.tox .tox-profile__badge svg{display:block;height:100%;width:100%}.tox .tox-user-avatar{width:36px;height:36px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center}.tox .tox-user-avatar img{width:100%;height:100%;object-fit:cover}.tox .tox-profile__body{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;flex:1}.tox .tox-profile__heading{color:#222f3e;font-size:14px;font-weight:700;line-height:18px;text-transform:none}.tox .tox-profile__subheading{color:#222f3e;font-size:12px;font-weight:400;line-height:16px;padding-block:4px;text-transform:none}.tox .tox-profile__subheading .tox-icon svg{fill:rgba(34,47,62,0.5);margin-block:-4px;vertical-align:top}.tox [data-mce-name=suggestededits] .tox-icon .tox-icon--badge{fill:#207ab7}.tox .tox-view .tox-suggestededits__pane{padding:0}.tox .tox-suggestededits__sink{position:relative;z-index:1000}.tox .tox-suggestededits__sink .tox-tiered-menu .tox-collection--list{position:absolute}.tox .tox-suggestededits__container{height:100%;display:flex;flex-direction:column}.tox .tox-suggestededits__container .tox-suggestededits{background-color:#fff;display:flex;flex:1;height:inherit;overflow-x:auto;overflow-y:hidden;position:relative}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__content{flex:1}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__model{height:100%;position:relative}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__model .tox-suggestededits__iframe{height:100%;width:100%;overflow:scroll;background-color:#fff}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar{background-color:#f0f0f0;border-left:1px solid #c1c1c1;display:flex;flex-direction:column;flex:0 1 auto;min-width:248px;width:441px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__announcer{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;margin:-1px;padding:0;border:0}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar{padding:4px 12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar:not(:empty){padding:12px 12px 6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button:has(.tox-icon:only-child){gap:0;padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-md,16px)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button:has(.tox-icon:only-child) .tox-icon{align-items:center;display:flex;flex:0 0 auto;height:24px;justify-content:center;width:24px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline{border-color:#e3e3e3}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:focus:not(:disabled),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:hover:not(:disabled){background-color:rgba(34,47,62,.12);border-color:rgba(34,47,62,.12)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline.tox-button--enabled:not(:disabled),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:active:not(:disabled){background-color:rgba(34,47,62,.18);border-color:rgba(34,47,62,.18);color:#222f3e}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline[disabled]{border-color:#e3e3e3}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content{display:flex;flex:1;flex-direction:column;gap:12px;overflow:auto;padding:6px 12px 12px 12px;position:relative;scroll-padding-block:6px 12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-card--selected:has(textarea:focus){border-color:transparent}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__divider,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--divider{background-color:#f0f0f0;height:1px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--editor,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--single{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;gap:12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--editor{padding:6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header{display:flex;flex:auto;justify-content:space-between;align-items:center;gap:8px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__card--timestamp,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__card--timestamp{color:#222f3e}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__card--timestamp .tox-icon svg,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__card--timestamp .tox-icon svg{fill:rgba(34,47,62,0.5)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution{align-items:center;border:0;border-radius:20px;color:rgba(34,47,62,.7);height:20px;width:20px;display:flex;flex:0 0 auto;justify-content:center;text-align:center}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button{padding:var(--tox-private-button-padding-y,4px) var(--tox-private-button-padding-x,16px)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button .tox-suggestededits__resolution--label{display:none}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:not(:hover):not(:focus-visible),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:not(:hover):not(:focus-visible){border-color:transparent}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution{display:none}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution--label{display:inline}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content{display:flex;flex-direction:column;align-self:stretch;flex:auto;gap:6px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations{display:flex;gap:8px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-details,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-details{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-text,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-text{color:#222f3e;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:18px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-content-text,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-content-text{font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:20px;overflow-wrap:break-word}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-content-text-joiner,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-content-text-joiner{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__card--feedback,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__card--feedback{color:#222f3e;overflow-wrap:anywhere;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__actions,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--buttons{display:flex;align-items:center;gap:8px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__actions.tox-suggestededits__card--feedback-buttons,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--buttons.tox-suggestededits__card--feedback-buttons{justify-content:flex-end}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-suggestededits__card--active .tox-suggestededits__card--single{border-radius:6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-suggestededits__card--active .tox-suggestededits__card--single:focus-visible{outline:2px solid #207ab7}.tox .tox-dialog-loading::before{background-color:rgba(0,0,0,.5);content:"";height:100%;position:absolute;width:100%;z-index:1000}.tox .tox-tab{cursor:pointer}.tox .tox-dialog__content-js{display:flex;flex:1}.tox .tox-dialog__body-content .tox-collection{display:flex;flex:1}.tox:not(.tox-tinymce-inline) .tox-editor-header{background-color:none;padding:0}.tox.tox-tinymce--toolbar-bottom .tox-editor-header,.tox.tox-tinymce-inline .tox-editor-header{margin-bottom:-1px}.tox.tox-tinymce-inline .tox-editor-container{overflow:hidden}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header{border-top:none;box-shadow:none}.tox.tox.tox-tinymce--toolbar-sticky-on .tox-editor-header{background-color:transparent;box-shadow:0 4px 4px -3px rgba(0,0,0,.25);padding:0}.tox.tox.tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header{box-shadow:0 4px 4px -3px rgba(0,0,0,.25)}.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker{margin:-4px 0}.tox .tox-menu.tox-collection.tox-collection--list{padding:0}.tox .tox-pop{box-shadow:none}.tox .tox-label,.tox .tox-number-input,.tox .tox-split-button,.tox .tox-tbtn,.tox .tox-tbtn--select,.tox .tox-toolbar-label{margin:2px 0 3px 0}.tox .tox-tbtn--bordered,.tox .tox-tbtn--bordered:focus,.tox .tox-tbtn--bordered:hover{border:1px solid #ccc}.tox .tox-pop__dialog .tox-toolbar,.tox .tox-toolbar,.tox .tox-toolbar__overflow,.tox .tox-toolbar__primary{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}.tox .tox-menubar+.tox-toolbar-overlord{border-top:none}.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord .tox-toolbar__primary{border-top:1px solid #ccc;margin-top:-1px}.tox.tox-tinymce-aux .tox-toolbar__overflow{border:1px solid #ccc;padding:0}.tox .tox-pop .tox-pop__dialog .tox-toolbar{padding:0}.tox .tox-context-toolbar .tox-toolbar{background:0 0}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-menubar{border-top:1px solid #ccc}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-toolbar-overlord:first-child .tox-toolbar__primary,.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-toolbar:first-child{border-top:1px solid #ccc}.tox .tox-toolbar__group{padding:0 4px 0 4px}.tox .tox-collection__item{border-radius:0;cursor:pointer}.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]){color:#222f3e}.tox .tox-statusbar__branding svg{fill:rgba(34,47,62,0.8);height:1em;margin-left:.3em;width:auto}@media (forced-colors:active){.tox .tox-statusbar__branding svg{fill:currentColor}}.tox .tox-statusbar__branding a{align-items:center;display:inline-flex}.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg,.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg{fill:#222f3e}.tox:not([dir=rtl]) .tox-statusbar__branding{margin-left:1ch}.tox[dir=rtl] .tox-statusbar__branding svg{margin-left:0;margin-right:.3em}.tox .tox-statusbar__resize-handle{padding-bottom:0;padding-right:0}.tox .tox-button::before{display:none}`) \ No newline at end of file diff --git a/libraries/tinymce/js/tinymce/skins/ui/tinymce-5/skin.min.css b/libraries/tinymce/js/tinymce/skins/ui/tinymce-5/skin.min.css index 33c9223..fb62768 100644 --- a/libraries/tinymce/js/tinymce/skins/ui/tinymce-5/skin.min.css +++ b/libraries/tinymce/js/tinymce/skins/ui/tinymce-5/skin.min.css @@ -1 +1 @@ -.tox{box-shadow:none;box-sizing:content-box;cursor:auto;font-style:normal;font-weight:400;line-height:normal;-webkit-tap-highlight-color:transparent;-webkit-text-decoration:none;text-decoration:none;text-shadow:none;text-transform:none;vertical-align:initial;white-space:normal}.tox :not(svg):not(rect){box-sizing:inherit;color:inherit;cursor:inherit;direction:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;-webkit-tap-highlight-color:inherit;text-align:inherit;text-decoration:inherit;text-shadow:inherit;text-transform:inherit;vertical-align:inherit;white-space:inherit}.tox :not(svg):not(rect){background:0 0;border:0;box-shadow:none;float:none;height:auto;margin:0;max-width:none;outline:0;padding:0;position:static;width:auto}.tox:not([dir=rtl]){direction:ltr;text-align:left}.tox[dir=rtl]{direction:rtl;text-align:right}.tox-tinymce :focus,.tox-tinymce-aux :focus{outline:0}button::-moz-focus-inner{border:0}@keyframes tox-rotation{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes tox-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox{color:var(--tox-private-color-black,#222f3e);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-font-size-base, 16px)}.tox-tinymce{border:1px solid #ccc;border-radius:0;box-shadow:none;box-sizing:border-box;display:flex;flex-direction:column;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);overflow:hidden;position:relative;visibility:inherit!important}.tox.tox-tinymce-inline{border:none;box-shadow:none;overflow:initial}.tox.tox-tinymce-inline .tox-editor-container{overflow:initial}.tox.tox-tinymce-inline .tox-editor-header{background-color:#fff;border:1px solid #ccc;border-radius:0;box-shadow:none;overflow:hidden}.tox-tinymce-aux{font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);z-index:var(--tox-private-z-index-sink,1300)}.tox[dir=rtl] .tox-icon--flip svg{transform:rotateY(180deg)}.tox .tox-editor-container{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.tox .tox-editor-container--keep-toolbar{flex:0 0 auto;overflow:visible}.tox .tox-editor-header{display:grid;grid-template-columns:1fr min-content;z-index:2}.tox:not(.tox-tinymce-inline) .tox-editor-header{background-color:#fff;border-bottom:none;box-shadow:none;padding:4px 0}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(.tox-editor-dock-transition){transition:box-shadow .5s}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header{border-top:1px solid #ccc;box-shadow:none}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header{background-color:#fff;box-shadow:0 4px 4px -3px rgba(0,0,0,.25);padding:4px 0}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header{box-shadow:0 4px 4px -3px rgba(0,0,0,.25)}.tox.tox:not(.tox-tinymce-inline) .tox-editor-header.tox-editor-header--empty{background:0 0;border:none;box-shadow:none;padding:0}.tox-editor-dock-fadeout{opacity:0;visibility:hidden}.tox-editor-dock-fadein{opacity:1;visibility:visible}.tox-editor-dock-transition{transition:visibility 0s linear .25s,opacity .25s ease}.tox-editor-dock-transition.tox-editor-dock-fadein{transition-delay:0s}.tox .accessibility-issue__header{align-items:center;display:flex;margin-bottom:4px}.tox #accessibility-issue__subheader{font-size:16px;color:#222f3e}.tox .accessbility-sr-only{position:absolute;clip:rect(1px,1px,1px,1px);clip-path:inset(0 0 99.9% 99.9%);overflow:hidden;height:1px;width:1px;padding:0;border:0}.tox .accessibility-issue__description{align-items:stretch;border-radius:3px;justify-content:space-between}.tox .accessibility-issue__description>div{padding-bottom:4px}.tox .accessibility-issue__description>div>div{align-items:center;display:flex;margin-bottom:4px}.tox .accessibility-issue__description>div>div .tox-icon svg{display:block}.tox #accessibility-issue__contentID{margin-top:8px;margin-bottom:8px}.tox #accessibility-issue__contentID span:first-child{font-weight:700}.tox #accessibility-issue__document{padding-bottom:8px}.tox .accessibility-issue__repair{margin-top:8px}.tox .accessibility-issue__repair .tox-form__group .tox-form__group--error{color:#c00}.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description{background-color:#e9f2f8;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2{font-size:14px;color:#207ab7}.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon.accessibility-issue__icon svg{fill:#207ab7}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon{background-color:#207ab7;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:hover{background-color:#1c6ca1}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:active{background-color:#185d8c}.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description{background-color:#fffae6;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2{font-size:14px;color:#7a6e25}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon.accessibility-issue__icon svg{fill:#7a6e25}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon{background-color:#ffe89d;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:hover{background-color:#f2d574;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:active{background-color:#e8c657;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description{background-color:#fae6e6;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2{font-size:14px;color:#c00}.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon.accessibility-issue__icon svg{fill:#c00}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon{background-color:#f2bfbf;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:hover{background-color:#e9a4a4;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:active{background-color:#ee9494;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description{background-color:rgba(120,171,70,.1);color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description>:last-child{display:none}.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2{color:#527530}.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon.accessibility-issue__icon svg{fill:#527530}.tox .tox-dialog__body-content .accessibility-issue__header .tox-form__group h1,.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2{margin-top:0}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-left:4px}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-left:auto}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description{padding:8px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-right:4px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-right:auto}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description{padding:4px 8px 4px 4px}.tox .mce-codemirror{background:#fff;bottom:0;font-size:13px;left:0;position:absolute;right:0;top:0;z-index:1}.tox .mce-codemirror.tox-inline-codemirror{margin:8px;position:absolute}.tox .tox-advtemplate .tox-form__grid{flex:1}.tox .tox-advtemplate .tox-form__grid>div:first-child{display:flex;flex-direction:column;width:30%}.tox .tox-advtemplate .tox-form__grid>div:first-child>div:nth-child(2){flex-basis:0;flex-grow:1;overflow:auto}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-advtemplate .tox-form__grid>div:first-child{width:100%}}.tox .tox-advtemplate iframe{border-color:#ccc;border-radius:0;border-style:solid;border-width:1px;margin:0 10px}.tox .tox-accordion{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__item{background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color,#222f3e);border-radius:var(--tox-private-control-border-radius,3px);position:relative}.tox .tox-accordion__item.tox-accordion__item--expanded{background-color:var(--tox-private-background-secondary,#f0f0f0)}.tox .tox-accordion__item.tox-accordion__item--expanded .tox-accordion__content--expanded .tox-accordion__content-inner{padding-top:0}.tox .tox-accordion__item::after{border-radius:var(--tox-private-control-border-radius,3px);box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,0) var(--tox-private-keyboard-focus-outline-color,transparent);content:'';inset:0;opacity:0;pointer-events:none;position:absolute}@media (forced-colors:active){.tox .tox-accordion__item::after{border:2px solid highlight}}.tox .tox-accordion__item:focus{outline:0;z-index:1}.tox .tox-accordion__item:focus::after{opacity:1}.tox .tox-accordion__heading{margin:0;width:100%}.tox .tox-accordion__heading:focus{outline:0}.tox .tox-accordion__header{align-items:center;border:none;border-radius:var(--tox-private-control-border-radius,3px);box-sizing:border-box;color:var(--tox-private-text-color,#222f3e);cursor:pointer;display:flex;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:var(--tox-private-line-height-base, 1.3);outline:0;padding:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));text-align:left;width:100%}.tox .tox-accordion__header::after{border-radius:var(--tox-private-control-border-radius,3px);bottom:0;box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,0) var(--tox-private-keyboard-focus-outline-color,transparent);content:'';left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-accordion__header::after{border:2px solid highlight}}.tox .tox-accordion__header:hover:not(.tox-accordion__header--disabled){background-color:var(--tox-private-background-secondary,#f0f0f0)}.tox .tox-accordion__header:focus:not(.tox-accordion__header--disabled){position:relative;z-index:1}.tox .tox-accordion__header:focus:not(.tox-accordion__header--disabled)::after{opacity:1}.tox .tox-accordion__header.tox-accordion__header--disabled{cursor:not-allowed;opacity:.5}.tox .tox-accordion__header.tox-accordion__header--icon-end{padding-right:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__header-icon{align-items:center;color:var(--tox-private-text-color,#222f3e);display:flex;flex-shrink:0;height:calc(var(--tox-private-base-value,16px) * 1.5);justify-content:center;width:calc(var(--tox-private-base-value,16px) * 1.5)}.tox .tox-accordion__header-icon svg{display:block;fill:currentColor;height:100%;width:100%;max-height:calc(var(--tox-private-base-value,16px) * 1.5);max-width:calc(var(--tox-private-base-value,16px) * 1.5)}.tox .tox-accordion__header:not(.tox-accordion__header--icon-end) .tox-accordion__header-icon{margin-right:var(--tox-private-pad-sm,8px);margin-left:0}.tox .tox-accordion__header--icon-end .tox-accordion__header-icon{margin-left:auto}.tox .tox-accordion__header-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-accordion__header--icon-end .tox-accordion__header-text{flex:0 1 auto;margin-right:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__content{border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-accordion__content.tox-accordion__content--collapsed{display:none}.tox .tox-accordion__content.tox-accordion__content--expanded{display:block}.tox .tox-accordion__content-inner{padding:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px)) calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__content-inner .tox-form__group:last-child{margin-bottom:0}.tox .tox-accordion__content-inner .tox-form__group>:not(:first-child){margin-top:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__content-inner .tox-form__group>.tox-dropdown-content{margin-top:0}.tox .tox-accordion__content-inner .tox-button-group{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__content-inner .tox-accordion__model-button{border-radius:var(--tox-private-control-border-radius,3px);align-items:center;appearance:none;background:0 0;border:none;color:inherit;cursor:pointer;display:flex;font-family:inherit;font-size:inherit;gap:var(--tox-private-pad-xs,4px);margin:0;outline:0;padding:6px calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));position:relative}.tox .tox-accordion__content-inner .tox-accordion__model-button::after{border-radius:var(--tox-private-control-border-radius,3px);bottom:0;box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,0) var(--tox-private-keyboard-focus-outline-color,transparent);content:'';left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-accordion__content-inner .tox-accordion__model-button::after{border:2px solid highlight}}.tox .tox-accordion__content-inner .tox-accordion__model-button:focus{z-index:1}.tox .tox-accordion__content-inner .tox-accordion__model-button:focus::after{opacity:1}.tox .tox-accordion .tox-selectfield{align-items:center;background-color:var(--tox-private-background-color,#fff);border:1px solid var(--tox-private-border-color,#ccc);border-radius:var(--tox-private-control-border-radius,3px);box-sizing:border-box;display:flex;height:34px;padding:0 6px;position:relative;width:100%}.tox .tox-accordion .tox-selectfield:focus-within{box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,0) var(--tox-private-keyboard-focus-outline-color,transparent);z-index:1}@media (forced-colors:active){.tox .tox-accordion .tox-selectfield:focus-within{border-color:highlight;box-shadow:0 0 0 2px highlight}}.tox .tox-accordion .tox-selectfield button{appearance:none;background:0 0;border:none;color:inherit;cursor:pointer;flex:1;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;outline:0;padding:5px 0;text-align:left}.tox .tox-accordion .tox-selectfield .tox-icon{display:flex;flex-shrink:0;padding:9px 0;pointer-events:none}.tox .tox-accordion .tox-selectfield .tox-icon svg{height:var(--tox-private-base-value,16px);width:var(--tox-private-base-value,16px)}.tox[dir=rtl] .tox-accordion__header{text-align:right}.tox[dir=rtl] .tox-accordion__header:not(.tox-accordion__header--icon-end) .tox-accordion__header-icon{margin-left:var(--tox-private-pad-sm,8px);margin-right:0}.tox[dir=rtl] .tox-accordion__header--icon-end .tox-accordion__header-icon{margin-right:auto;margin-left:0}.tox[dir=rtl] .tox-accordion__header--icon-end .tox-accordion__header-text{margin-left:var(--tox-private-pad-sm,8px);margin-right:0}.tox .tox-alert{align-items:flex-start;align-self:stretch;border-radius:var(--tox-private-panel-border-radius,3px);border-style:solid;border-width:1px;box-sizing:border-box;color:var(--tox-private-text-color,#222f3e);display:flex;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-normal,normal);gap:var(--tox-private-pad-xs,4px);line-height:var(--tox-private-line-height-base, 1.3);padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-sm,8px);width:100%}.tox .tox-alert--error{background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#fff) r g b / .8) 0,rgba(from var(--tox-private-background-color,#fff) r g b / .8) 100%),var(--tox-private-color-error,#c00);border-color:var(--tox-private-color-error,#c00)}.tox .tox-alert--warning{background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#fff) r g b / .8) 0,rgba(from var(--tox-private-background-color,#fff) r g b / .8) 100%),var(--tox-private-color-warning,#fc0);border-color:var(--tox-private-color-warning,#fc0)}.tox .tox-alert__body{display:flex;flex:1 0 0;flex-direction:column;min-width:0}.tox .tox-alert__content{align-items:center;display:flex;flex:1 0 0;gap:var(--tox-private-pad-sm,8px);padding:var(--tox-private-pad-sm,8px) 0}.tox .tox-alert__message{margin:0;text-align:left}.tox .tox-alert__actions{align-items:center;display:flex;flex-wrap:wrap;gap:var(--tox-private-pad-xs,4px);justify-content:flex-start}.tox .tox-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bottom-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bar{display:flex;flex:0 0 auto}.tox .tox-button{border-width:var(--tox-private-button-border-width,1px);border-style:var(--tox-private-button-border-style,solid);border-radius:var(--tox-private-control-border-radius,3px);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-button-font-size, 14px);font-style:var(--tox-private-button-font-style,normal);font-weight:var(--tox-private-button-font-weight,bold);line-height:var(--tox-private-control-line-height, 24px);padding:var(--tox-private-button-padding-y,4px) var(--tox-private-button-padding-x,16px);text-align:center;-webkit-text-decoration:none;text-decoration:none;text-transform:none;letter-spacing:normal;box-shadow:none;box-sizing:border-box;cursor:pointer;outline:0;position:relative;white-space:nowrap;display:inline-flex;justify-content:center;align-items:center;gap:var(--tox-private-pad-xs,4px)}.tox .tox-button::before{border-radius:var(--tox-private-control-border-radius,3px);bottom:calc(-1 * var(--tox-private-button-border-width,1px));box-shadow:var(--tox-private-button-focus-outline,inset 0 0 0 1px #fff,0 0 0 2px #207ab7);content:'';left:calc(-1 * var(--tox-private-button-border-width,1px));opacity:0;pointer-events:none;position:absolute;right:calc(-1 * var(--tox-private-button-border-width,1px));top:calc(-1 * var(--tox-private-button-border-width,1px))}.tox .tox-button:focus:not(:disabled){background-color:var(--tox-private-button-focus-background-color,#1c6ca1);background-image:none;border-color:var(--tox-private-button-focus-border-color,#1c6ca1);box-shadow:var(--tox-private-button-focus-box-shadow,none);color:var(--tox-private-button-focus-text-color,#fff)}.tox .tox-button:focus:not(:disabled)::before{opacity:1}.tox .tox-button.tox-button--icon,.tox .tox-button:has(.tox-icon:only-child){padding:4px}.tox .tox-button .tox-icon svg{display:block;fill:currentColor}.tox .tox-button .tox-icon.tox-icon--success svg{fill:var(--tox-private-color-success,#78AB46)}.tox .tox-button .tox-icon.tox-icon--error svg{fill:var(--tox-private-color-error,#c00)}.tox .tox-button--stretch{width:100%}.tox-context-form__group .tox-button--icon,.tox-context-form__group .tox-button.tox-button--icon{margin:3px 0 2px 0;padding:0}.tox .tox-button{background-color:var(--tox-private-button-primary-background-color,#207ab7);background-image:none;background-position:0 0;background-repeat:repeat;color:var(--tox-private-button-primary-text-color,#fff);border-color:var(--tox-private-button-primary-border-color,#207ab7)}.tox .tox-button[disabled]{background-color:var(--tox-private-button-primary-disabled-background-color,#207ab7);background-image:none;border-color:var(--tox-private-button-primary-disabled-border-color,#207ab7);color:var(--tox-private-button-primary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button:focus:not(:disabled){background-color:var(--tox-private-button-primary-focus-background-color,#1c6ca1);border-color:var(--tox-private-button-primary-focus-border-color,#1c6ca1);color:var(--tox-private-button-primary-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button:hover:not(:disabled){background-color:var(--tox-private-button-primary-hover-background-color,#1c6ca1);border-color:var(--tox-private-button-primary-hover-border-color,#1c6ca1);color:var(--tox-private-button-primary-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button:active:not(:disabled){background-color:var(--tox-private-button-primary-active-background-color,#185d8c);border-color:var(--tox-private-button-primary-active-border-color,#185d8c);color:var(--tox-private-button-primary-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled{background-color:var(--tox-private-button-primary-enabled-background-color,#185d8c);border-color:var(--tox-private-button-primary-enabled-border-color,#185d8c);color:var(--tox-private-button-primary-enabled-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled[disabled]{color:var(--tox-private-button-primary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-primary-enabled-focus-background-color,#154f76);border-color:var(--tox-private-button-primary-enabled-focus-border-color,#154f76);color:var(--tox-private-button-primary-enabled-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-primary-enabled-hover-background-color,#154f76);border-color:var(--tox-private-button-primary-enabled-hover-border-color,#154f76);color:var(--tox-private-button-primary-enabled-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-primary-enabled-active-background-color,#114060);border-color:var(--tox-private-button-primary-enabled-active-border-color,#114060);color:var(--tox-private-button-primary-enabled-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary{background-color:var(--tox-private-button-secondary-background-color,#f0f0f0);border-color:var(--tox-private-button-secondary-border-color,#f0f0f0);color:var(--tox-private-button-secondary-text-color,#222f3e);border-style:solid;border-width:1px;background-image:none;background-position:0 0;background-repeat:repeat;border-radius:3px;box-shadow:none;font-size:14px;font-style:normal;font-weight:700;letter-spacing:normal;outline:0;padding:4px 16px;-webkit-text-decoration:none;text-decoration:none;text-transform:none}.tox .tox-button--secondary[disabled]{background-color:var(--tox-private-button-secondary-disabled-background-color,#f0f0f0);background-image:none;border-color:var(--tox-private-button-secondary-disabled-border-color,#f0f0f0);color:var(--tox-private-button-secondary-disabled-text-color,rgba(34,47,62,.5));cursor:not-allowed}.tox .tox-button--secondary:focus:not(:disabled){background-color:var(--tox-private-button-secondary-focus-background-color,#e3e3e3);border-color:var(--tox-private-button-secondary-focus-border-color,#e3e3e3);color:var(--tox-private-button-secondary-focus-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary:hover:not(:disabled){background-color:var(--tox-private-button-secondary-hover-background-color,#e3e3e3);border-color:var(--tox-private-button-secondary-hover-border-color,#e3e3e3);color:var(--tox-private-button-secondary-hover-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary:active:not(:disabled){background-color:var(--tox-private-button-secondary-active-background-color,#d6d6d6);border-color:var(--tox-private-button-secondary-active-border-color,#d6d6d6);color:var(--tox-private-button-secondary-active-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled{background-color:var(--tox-private-button-secondary-enabled-background-color,#b1d0e6);border-color:var(--tox-private-button-secondary-enabled-border-color,#b1d0e6);color:var(--tox-private-button-secondary-enabled-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled[disabled]{color:var(--tox-private-button-secondary-disabled-text-color,rgba(34,47,62,.5));cursor:not-allowed}.tox .tox-button--secondary.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-focus-background-color,#9ec5e0);border-color:var(--tox-private-button-secondary-enabled-focus-border-color,#9ec5e0);color:var(--tox-private-button-secondary-enabled-focus-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-hover-background-color,#9ec5e0);border-color:var(--tox-private-button-secondary-enabled-hover-border-color,#9ec5e0);color:var(--tox-private-button-secondary-enabled-hover-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-active-background-color,#8ab9d9);border-color:var(--tox-private-button-secondary-enabled-active-border-color,#8ab9d9);color:var(--tox-private-button-secondary-enabled-active-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--naked{background-color:transparent;border-color:transparent;box-shadow:unset;color:var(--tox-private-button-naked-text-color,#222f3e)}.tox .tox-button--naked[disabled]{background-color:#f0f0f0;border-color:#f0f0f0;color:var(--tox-private-button-naked-disabled-text-color,rgba(34,47,62,.5));cursor:not-allowed}.tox .tox-button--naked:focus:not(:disabled){background-color:var(--tox-private-button-naked-focus-background-color,#e3e3e3);border-color:var(--tox-private-button-naked-focus-border-color,#e3e3e3);color:var(--tox-private-button-naked-focus-text-color,#222f3e);box-shadow:none}.tox .tox-button--naked:hover:not(:disabled){background-color:var(--tox-private-button-naked-hover-background-color,#e3e3e3);border-color:var(--tox-private-button-naked-hover-background-color,#e3e3e3);color:var(--tox-private-button-naked-hover-text-color,#222f3e);box-shadow:none}.tox .tox-button--naked:active:not(:disabled){background-color:var(--tox-private-button-naked-active-background-color,#d6d6d6);border-color:var(--tox-private-button-naked-active-border-color,#d6d6d6);color:var(--tox-private-button-naked-active-text-color,#222f3e);box-shadow:none}.tox .tox-button--naked.tox-button--enabled{background-color:var(--tox-private-button-naked-enabled-background-color,#b1ccdf);border-color:var(--tox-private-button-naked-enabled-border-color,#b1ccdf);color:var(--tox-private-button-naked-enabled-text-color,#222f3e);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled[disabled]{color:var(--tox-private-button-naked-disabled-text-color,rgba(34,47,62,.5));cursor:not-allowed}.tox .tox-button--naked.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-naked-enabled-focus-background-color,#9fc1d7);border-color:var(--tox-private-button-naked-enabled-focus-border-color,#9fc1d7);color:var(--tox-private-button-naked-enabled-focus-text-color,#222f3e);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-naked-enabled-hover-background-color,#9fc1d7);border-color:var(--tox-private-button-naked-enabled-hover-border-color,#9fc1d7);color:var(--tox-private-button-naked-enabled-hover-text-color,#222f3e);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-naked-enabled-active-background-color,#8db5d0);border-color:var(--tox-private-button-naked-enabled-active-border-color,#8db5d0);color:var(--tox-private-button-naked-enabled-active-text-color,#222f3e);box-shadow:unset}.tox .tox-button--secondary--outline{background-color:transparent;border-color:var(--tox-private-button-secondary-outline-border-color,#f0f0f0);color:var(--tox-private-button-secondary-outline-text-color,#222f3e)}.tox .tox-button--secondary--outline:focus:not(:disabled){background-color:var(--tox-private-button-secondary-outline-focus-background-color,#e3e3e3);border-color:var(--tox-private-button-secondary-outline-focus-border-color,#e3e3e3);color:var(--tox-private-button-secondary-outline-focus-text-color,#222f3e)}.tox .tox-button--secondary--outline:hover:not(:disabled){background-color:var(--tox-private-button-secondary-outline-hover-background-color,#f0f0f0);border-color:var(--tox-private-button-secondary-outline-hover-border-color,#e3e3e3);color:var(--tox-private-button-secondary-outline-hover-text-color,#222f3e)}.tox .tox-button--secondary--outline:active:not(:disabled){background-color:var(--tox-private-button-secondary-outline-active-background-color,#e3e3e3);border-color:var(--tox-private-button-secondary-outline-active-border-color,#e3e3e3);color:var(--tox-private-button-secondary-outline-active-text-color,#222f3e)}.tox .tox-button--secondary--outline[disabled]{background-color:var(--tox-private-button-secondary-outline-disabled-background-color,transparent);border-color:var(--tox-private-button-secondary-outline-disabled-border-color,#f0f0f0);color:var(--tox-private-button-secondary-outline-disabled-text-color,rgba(34,47,62,.5))}.tox .tox-checkbox{align-items:center;border-radius:var(--tox-private-checkbox-border-radius,3px);cursor:pointer;display:flex;height:var(--tox-private-control-height,36px);min-width:var(--tox-private-control-height,36px)}.tox .tox-checkbox__input{height:1px;overflow:hidden;position:absolute;top:auto;width:1px}.tox .tox-checkbox__icons{display:flex;align-items:center;justify-content:center;box-sizing:content-box;padding:var(--tox-private-pad-xs,calc(4px - 1px));border-radius:var(--tox-private-checkbox-border-radius,3px);box-shadow:0 0 0 2px transparent;height:var(--tox-private-control-line-height,24px);aspect-ratio:1/1}.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:block;fill:var(--tox-private-checkbox-unselected-color,rgba(34,47,62,0.3))}@media (forced-colors:active){.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:currentColor!important}}.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:none;fill:var(--tox-private-checkbox-indeterminate-color,#207ab7)}.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg{display:none;fill:var(--tox-private-checkbox-selected-color,#207ab7)}.tox .tox-checkbox--disabled{color:var(--tox-private-checkbox-disabled-text-color,rgba(34,47,62,.5));cursor:not-allowed}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(34,47,62,0.5))}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(34,47,62,0.5))}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(34,47,62,0.5))}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__checked svg{display:block}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:block}.tox input.tox-checkbox__input:focus+.tox-checkbox__icons{box-shadow:var(--tox-private-checkbox-focus-box-shadow,inset 0 0 0 1px #207ab7)}.tox:not([dir=rtl]) .tox-checkbox__label{margin-left:var(--tox-private-pad-xs,4px)}.tox:not([dir=rtl]) .tox-checkbox__input{left:-10000px}.tox:not([dir=rtl]) .tox-bar .tox-checkbox{margin-left:var(--tox-private-pad-xs,4px)}.tox[dir=rtl] .tox-checkbox__label{margin-right:var(--tox-private-pad-xs,4px)}.tox[dir=rtl] .tox-checkbox__input{right:-10000px}.tox[dir=rtl] .tox-bar .tox-checkbox{margin-right:var(--tox-private-pad-xs,4px)}.tox .tox-collection--toolbar .tox-collection__group{display:flex;padding:0}.tox .tox-collection--grid .tox-collection__group{display:flex;flex-wrap:wrap;max-height:208px;overflow-x:hidden;overflow-y:auto;padding:0}.tox .tox-collection--list .tox-collection__group{border-bottom-width:0;border-color:#ccc;border-left-width:0;border-right-width:0;border-style:solid;border-top-width:1px;padding:4px 0;display:flex;flex-direction:column}.tox .tox-collection--list .tox-collection__group:first-child{border-top-width:0}.tox .tox-collection__group-heading{background-color:#e6e6e6;color:rgba(34,47,62,.7);cursor:default;font-size:12px;font-style:normal;font-weight:400;margin-bottom:4px;margin-top:-4px;padding:4px 8px;text-transform:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-collection__item{align-items:center;border-radius:3px;color:#222f3e;display:flex;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-image-selector-menu .tox-collection__item,.tox .tox-image-selector-menu .tox-collection__item-image-selector{flex-direction:column}.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-checkmark,.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-icon,.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-image,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-checkmark,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-icon,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-image{flex-grow:1}.tox .tox-image-selector-menu .tox-collection__item label,.tox .tox-image-selector-menu .tox-collection__item-image-selector label{width:48px;white-space:nowrap;overflow:hidden;font-size:12px;color:#222f3e;text-align:center;align-self:flex-end}.tox .tox-image-selector-menu .tox-collection__item-checkmark{height:24px;width:24px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.tox .tox-image-selector-menu .tox-collection__item-checkmark svg path{fill:#207ab7;stroke:#207ab7}.tox .tox-image-selector-menu .tox-image-selector__row .tox-collection__item-image-selector.tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#fff}.tox .tox-image-selector-menu .tox-image-selector__row .tox-collection__item-image-selector.tox-collection__item--enabled:not(.tox-collection__item--state-disabled){z-index:2;background-color:#fff;opacity:.8;background-clip:content-box}.tox .tox-collection--list .tox-collection__item{padding:4px 8px}.tox .tox-collection--toolbar .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--grid .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--list .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#fff;color:#222f3e}.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#dee0e2;color:#222f3e}@media (forced-colors:active){.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){border:solid 1px}}.tox .tox-collection--grid .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#c8cbcf;color:#222f3e}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#dee0e2;color:#222f3e;position:relative;z-index:1}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent inset;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border:2px solid highlight}}.tox .tox-collection--toolbar .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#c8cbcf;color:#222f3e}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){border-radius:3px;outline:solid 1px}}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled){color:#222f3e;background-color:#fff;position:relative}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):hover{background-color:#dee0e2;color:#222f3e}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus{background-color:#dee0e2;color:#222f3e}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border:2px solid highlight}}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):hover{border-radius:3px;outline:solid 1px}}.tox .tox-collection__item-image{border:1px solid #ccc;border-radius:3px;display:flex;flex-direction:column;justify-content:center;margin-bottom:4px;position:relative}.tox .tox-collection__item-checkmark,.tox .tox-collection__item-icon{align-items:center;display:flex;height:24px;justify-content:center;width:24px}.tox .tox-collection__item-checkmark svg,.tox .tox-collection__item-icon svg{fill:currentColor}.tox .tox-collection--toolbar-lg .tox-collection__item-icon{height:48px;width:48px}.tox .tox-collection__item-label{color:currentColor;display:inline-block;flex:1;font-size:14px;font-style:normal;font-weight:400;line-height:24px;max-width:100%;text-transform:none;word-break:break-all}.tox .tox-collection__item-separator{border-bottom:1px solid #ccc;height:0;margin:4px 0}.tox .tox-collection__item-accessory{color:currentColor;display:inline-block;font-size:14px;height:24px;line-height:24px;text-transform:none}.tox .tox-collection__item-caret{align-items:center;display:flex;min-height:24px}.tox .tox-collection__item-caret::after{content:'';font-size:0;min-height:inherit}.tox .tox-collection__item-caret svg{fill:currentColor}.tox .tox-collection__item--state-disabled{background-color:transparent;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg{fill:rgba(34,47,62,0.5)}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg{display:none}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-accessory+.tox-collection__item-checkmark{display:none}.tox .tox-collection--horizontal{background-color:#fff;border:1px solid #ccc;border-radius:3px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:nowrap;margin-bottom:0;overflow-x:auto;padding:0}.tox .tox-collection--horizontal .tox-collection__group{align-items:center;display:flex;flex-wrap:nowrap;margin:0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item{height:34px;margin:3px 0 2px 0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item-label{white-space:nowrap}.tox .tox-collection--horizontal .tox-collection__item-caret{margin-left:4px}.tox .tox-collection__item-container{display:flex}.tox .tox-collection__item-container--row{align-items:center;flex:1 1 auto;flex-direction:row}.tox .tox-collection__item-container--row.tox-collection__item-container--align-left{margin-right:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--align-right{justify-content:flex-end;margin-left:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-top{align-items:flex-start;margin-bottom:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-middle{align-items:center}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-bottom{align-items:flex-end;margin-top:auto}.tox .tox-collection__item-container--column{align-self:center;flex:1 1 auto;flex-direction:column}.tox .tox-collection__item-container--column.tox-collection__item-container--align-left{align-items:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--align-right{align-items:flex-end}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-top{align-self:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-middle{align-self:center}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-bottom{align-self:flex-end}.tox:not([dir=rtl]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-right:1px solid #ccc}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>:not(:first-child){margin-left:8px}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-left:4px}.tox:not([dir=rtl]) .tox-collection__item-accessory{margin-left:16px;text-align:right}.tox:not([dir=rtl]) .tox-collection .tox-collection__item-caret{margin-left:16px}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-left:1px solid #ccc}.tox[dir=rtl] .tox-collection--list .tox-collection__item>:not(:first-child){margin-right:8px}.tox[dir=rtl] .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-right:4px}.tox[dir=rtl] .tox-collection__item-accessory{margin-right:16px;text-align:left}.tox[dir=rtl] .tox-collection .tox-collection__item-caret{margin-right:16px;transform:rotateY(180deg)}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__item-caret{margin-right:4px}@media (forced-colors:active){.tox .tox-hue-slider,.tox .tox-rgb-form .tox-rgba-preview{background-color:currentColor!important;border:1px solid highlight!important;forced-color-adjust:none}}.tox .tox-color-picker-container{display:flex;flex-direction:row;height:225px;margin:0}.tox .tox-sv-palette{box-sizing:border-box;display:flex;height:100%}.tox .tox-sv-palette-spectrum{height:100%}.tox .tox-sv-palette,.tox .tox-sv-palette-spectrum{width:225px}.tox .tox-sv-palette-thumb{background:0 0;border:1px solid #000;border-radius:50%;box-sizing:content-box;height:12px;position:absolute;width:12px}.tox .tox-sv-palette-inner-thumb{border:1px solid #fff;border-radius:50%;height:10px;position:absolute;width:10px}.tox .tox-hue-slider{box-sizing:border-box;height:100%;width:25px}.tox .tox-hue-slider-spectrum{background:linear-gradient(to bottom,red,#ff0080,#f0f,#8000ff,#00f,#0080ff,#0ff,#00ff80,#0f0,#80ff00,#ff0,#ff8000,red);height:100%;width:100%}.tox .tox-hue-slider,.tox .tox-hue-slider-spectrum{width:20px}.tox .tox-hue-slider-spectrum:focus,.tox .tox-sv-palette-spectrum:focus{outline:#08f solid}.tox .tox-hue-slider-thumb{background:#fff;border:1px solid #000;box-sizing:content-box;height:4px;width:100%}.tox .tox-rgb-form{display:flex;flex-direction:column;justify-content:space-between}.tox .tox-rgb-form div{align-items:center;display:flex;justify-content:space-between;margin-bottom:5px;width:inherit}.tox .tox-rgb-form input{min-width:6em}.tox .tox-rgb-form input.tox-invalid{border:1px solid red!important;box-shadow:0 0 0 1px red}.tox .tox-rgb-container{position:relative}.tox .tox-rgb-form .tox-invalid-icon{align-content:center;align-items:center;display:none;height:100%;position:absolute;right:0;top:0}.tox .tox-rgb-form .tox-invalid-icon .tox-control-wrap__status-icon-invalid{margin:0}.tox .tox-rgb-warning-note{background-color:#f5cccc;border:1px solid #f0b3b3;border-radius:3px;color:#77181f;padding:3px}.tox input.tox-invalid+.tox-invalid-icon{display:flex}.tox .tox-rgb-form .tox-rgba-preview{border:1px solid #000;flex-grow:2;margin-bottom:0}.tox:not([dir=rtl]) .tox-sv-palette{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider-thumb{margin-left:-1px}.tox:not([dir=rtl]) .tox-rgb-form label{margin-right:.5em}.tox[dir=rtl] .tox-sv-palette{margin-left:15px}.tox[dir=rtl] .tox-hue-slider{margin-left:15px}.tox[dir=rtl] .tox-hue-slider-thumb{margin-right:-1px}.tox[dir=rtl] .tox-rgb-form label{margin-left:.5em}.tox .tox-toolbar .tox-swatches,.tox .tox-toolbar__overflow .tox-swatches,.tox .tox-toolbar__primary .tox-swatches{margin:2px 0 3px 4px}.tox .tox-collection--list .tox-collection__group .tox-swatches-menu{border:0;margin:-4px 0}.tox .tox-swatches__row{display:flex}@media (forced-colors:active){.tox .tox-swatches__row{forced-color-adjust:none}}.tox .tox-swatch{height:30px;transition:transform .15s,box-shadow .15s;width:30px}.tox .tox-swatch:focus,.tox .tox-swatch:hover{box-shadow:0 0 0 1px rgba(127,127,127,.3) inset;transform:scale(.8)}.tox .tox-swatch--remove{align-items:center;display:flex;justify-content:center}.tox .tox-swatch--remove svg path{stroke:#e74c3c}.tox .tox-swatches__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-swatches__picker-btn svg{fill:#222f3e;height:24px;width:24px}.tox .tox-swatches__picker-btn:hover{background:#dee0e2}.tox div.tox-swatch:not(.tox-swatch--remove) svg{display:none;fill:#222f3e;height:24px;margin:calc((30px - 24px)/ 2) calc((30px - 24px)/ 2);width:24px}.tox div.tox-swatch:not(.tox-swatch--remove) svg path{fill:#fff;paint-order:stroke;stroke:#222f3e;stroke-width:2px}.tox div.tox-swatch:not(.tox-swatch--remove).tox-collection__item--enabled svg{display:block}.tox:not([dir=rtl]) .tox-swatches__picker-btn{margin-left:auto}.tox[dir=rtl] .tox-swatches__picker-btn{margin-right:auto}.tox .tox-comment{background:#fff;border:1px solid #fff;border-radius:3px;padding:8px;padding-bottom:16px;position:relative}.tox .tox-comment:hover{box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-comment.tox-comment--selected{background-color:#fff2c9;border:1px solid #ffcf30;box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-comment.tox-comment--selected:focus{border:2px solid transparent;margin:-1px}.tox .tox-comment.tox-comment--selected:focus:not(:first-child){margin-top:7px}.tox .tox-comment.tox-comment--selected .tox-comment__single{margin-bottom:12px}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus{position:relative}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus::after{top:-9px;pointer-events:none;position:absolute;content:"";display:block;bottom:-9px;left:-9px;right:-9px;border-radius:3px;border:2px solid transparent}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus:last-of-type:has(textarea):after{bottom:calc((12px + 16px + 1px) * -1)}.tox .tox-comment__header{align-items:center;color:#222f3e;display:flex;justify-content:space-between}.tox .tox-comment__date{color:#222f3e;font-size:12px;line-height:18px}.tox .tox-comment__body{color:#222f3e;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;margin-top:8px;position:relative;text-transform:initial;transition:max-height .5s cubic-bezier(0, 1, 0, 1);white-space:pre-wrap}.tox .tox-comment__body.tox-comment__body--expanded{max-height:100em;transition:max-height 1s ease-in-out}.tox .tox-comment__body.tox-comment__body--pending{transition:max-height 0s}.tox .tox-comment__body p{margin:0}.tox .tox-comment__body textarea{resize:none;white-space:normal;width:100%;font-size:16px}.tox .tox-comment__loading-text{align-items:center;color:#222f3e;display:flex;flex-direction:column;position:relative}.tox .tox-comment__loading-text>div{padding-bottom:16px}.tox .tox-comment__overlaytext{bottom:0;flex-direction:column;font-size:14px;left:0;padding:1em;position:absolute;right:0;top:0;z-index:10}.tox .tox-comment__overlaytext p{background-color:#fff;box-shadow:0 0 8px 8px #fff;color:#222f3e;text-align:center}.tox .tox-comment__overlaytext div:nth-of-type(2){font-size:.8em}.tox .tox-comment__expander{padding-top:8px}.tox .tox-comment__expander p{color:rgba(34,47,62,.7);font-size:14px;font-style:normal}.tox .tox-comment__expander p:focus{font-weight:700}.tox .tox-comment__buttonspacing{padding-top:16px;text-align:center}.tox .tox-tbtn.tox-comment__mention-btn{display:flex;width:34px;height:34px;padding:5px;justify-content:center;align-items:center;margin:0;background-color:transparent}.tox .tox-comment-thread{background:#fff;position:relative;border-radius:3px;background-color:transparent}.tox .tox-comment-thread>:not(:first-child){margin-top:8px}.tox .tox-comment-thread__overlay::after{background:#fff;bottom:0;content:"";display:flex;left:0;opacity:.9;position:absolute;right:0;top:0;z-index:5}.tox .tox-comment__reply{display:flex;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__reply>:first-child{margin-bottom:8px;width:100%}.tox .tox-comment__edit{display:flex;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__gradient::after{background:linear-gradient(rgba(255,255,255,0),#fff);bottom:0;content:"";display:block;height:5em;margin-top:-40px;position:absolute;width:100%}.tox .tox-comment__overlay{background:#fff;bottom:0;display:flex;flex-direction:column;flex-grow:1;left:0;opacity:.9;position:absolute;right:0;text-align:center;top:0;z-index:5}.tox .tox-comment__busy-spinner{align-items:center;background-color:#fff;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:20}.tox .tox-comment__scroll{display:flex;flex-direction:column;flex-shrink:1;overflow:auto;padding:12px;scroll-behavior:smooth}.tox .tox-comment__scroll:has(textarea:focus){scroll-behavior:auto}.tox .tox-comment--disappearing{transition:opacity .5s ease}.tox .tox-comment[data-transitioning-destination=deleting]{opacity:0}.tox .tox-ring-loader{width:10px;height:10px;border:1px solid #fff;border-bottom-color:transparent;border-radius:50%;display:inline-block;box-sizing:border-box;animation:tox-rotation 1s linear infinite}.tox:not([dir=rtl]) .tox-comment__edit{margin-left:8px}.tox:not([dir=rtl]) .tox-comment__buttonspacing>:last-child,.tox:not([dir=rtl]) .tox-comment__edit>:last-child,.tox:not([dir=rtl]) .tox-comment__reply>:last-child{margin-left:8px}.tox[dir=rtl] .tox-comment__edit{margin-right:8px}.tox[dir=rtl] .tox-comment__buttonspacing>:last-child,.tox[dir=rtl] .tox-comment__edit>:last-child,.tox[dir=rtl] .tox-comment__reply>:last-child{margin-right:8px}.tox .tox-user{align-items:center;display:flex}.tox .tox-user__avatar svg{fill:rgba(34,47,62,0.7)}.tox .tox-user__avatar img{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-user__name{color:#222f3e;font-size:14px;font-style:normal;font-weight:700;line-height:18px;text-transform:none}.tox:not([dir=rtl]) .tox-user__avatar img,.tox:not([dir=rtl]) .tox-user__avatar svg{margin-right:8px}.tox:not([dir=rtl]) .tox-user__avatar+.tox-user__name{margin-left:8px}.tox[dir=rtl] .tox-user__avatar img,.tox[dir=rtl] .tox-user__avatar svg{margin-left:8px}.tox[dir=rtl] .tox-user__avatar+.tox-user__name{margin-right:8px}.tox .tox-dialog-wrap{align-items:center;display:flex;justify-content:center;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1100}.tox .tox-dialog-wrap__backdrop{background-color:rgba(255,255,255,.75);bottom:0;left:0;position:absolute;right:0;top:0;z-index:1}.tox .tox-dialog-wrap__backdrop--opaque{background-color:#fff}.tox .tox-dialog{background-color:#fff;border-color:#ccc;border-radius:3px;border-style:solid;border-width:1px;box-shadow:0 16px 16px -10px rgba(34,47,62,.15),0 0 40px 1px rgba(34,47,62,.15);display:flex;flex-direction:column;max-height:100%;max-width:480px;overflow:hidden;position:relative;width:95vw;z-index:2}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog{align-self:flex-start;margin:8px auto;max-height:calc(100vh - 8px * 2);width:calc(100vw - 16px)}}.tox .tox-dialog-inline{z-index:1100}.tox .tox-dialog__header{align-items:center;background-color:#fff;border-bottom:none;color:#222f3e;display:flex;font-size:16px;justify-content:space-between;padding:8px 16px 0 16px;position:relative}.tox .tox-dialog__header .tox-button{z-index:1}.tox .tox-dialog__draghandle{cursor:grab;height:100%;left:0;position:absolute;top:0;width:100%}.tox .tox-dialog__draghandle:active{cursor:grabbing}.tox .tox-dialog__dismiss{margin-left:auto}.tox .tox-dialog__title{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:20px;font-style:normal;font-weight:400;line-height:1.3;margin:0;text-transform:none}.tox .tox-dialog__body{color:#222f3e;display:flex;flex:1;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;min-width:0;text-align:left;text-transform:none}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body{flex-direction:column}}.tox .tox-dialog__body-nav{align-items:flex-start;display:flex;flex-direction:column;flex-shrink:0;padding:16px 16px}@media only screen and (min-width:768px){.tox .tox-dialog__body-nav{max-width:11em}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body-nav{flex-direction:row;-webkit-overflow-scrolling:touch;overflow-x:auto;padding-bottom:0}}.tox .tox-dialog__body-nav-item{border-bottom:2px solid transparent;color:rgba(34,47,62,.7);display:inline-block;flex-shrink:0;font-size:14px;line-height:1.3;margin-bottom:8px;max-width:13em;-webkit-text-decoration:none;text-decoration:none}.tox .tox-dialog__body-nav-item:focus{background-color:rgba(32,122,183,.1)}.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid #214d6e;color:#214d6e}@media (forced-colors:active){.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid highlight;color:highlight}}.tox .tox-dialog__body-content{box-sizing:border-box;display:flex;flex:1;flex-direction:column;max-height:min(650px,calc(100vh - 110px));overflow:auto;-webkit-overflow-scrolling:touch;padding:16px 16px}.tox .tox-dialog__body-content>*{margin-bottom:0;margin-top:16px}.tox .tox-dialog__body-content>:first-child{margin-top:0}.tox .tox-dialog__body-content>:last-child{margin-bottom:0}.tox .tox-dialog__body-content>:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content a{color:#214d6e;cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content a:focus,.tox .tox-dialog__body-content a:hover{color:#0a1620;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content a:focus-visible{border-radius:1px;outline:2px solid #214d6e;outline-offset:2px}.tox .tox-dialog__body-content a:active{color:#000;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content svg{fill:#222f3e}.tox .tox-dialog__body-content strong{font-weight:700}.tox .tox-dialog__body-content ul{list-style-type:disc}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{padding-inline-start:2.5rem}.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{margin-bottom:16px}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content dt,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{display:block;margin-inline-end:0;margin-inline-start:0}.tox .tox-dialog__body-content .tox-form__group h1{color:#222f3e;font-size:20px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group h2{color:#222f3e;font-size:16px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group p{margin-bottom:16px}.tox .tox-dialog__body-content .tox-form__group h1:first-child,.tox .tox-dialog__body-content .tox-form__group h2:first-child,.tox .tox-dialog__body-content .tox-form__group p:first-child{margin-top:0}.tox .tox-dialog__body-content .tox-form__group h1:last-child,.tox .tox-dialog__body-content .tox-form__group h2:last-child,.tox .tox-dialog__body-content .tox-form__group p:last-child{margin-bottom:0}.tox .tox-dialog__body-content .tox-form__group h1:only-child,.tox .tox-dialog__body-content .tox-form__group h2:only-child,.tox .tox-dialog__body-content .tox-form__group p:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--center{text-align:center}.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--end{text-align:end}.tox .tox-dialog--width-lg{height:650px;max-width:1200px}.tox .tox-dialog--fullscreen{height:100%;max-width:100%}.tox .tox-dialog--fullscreen .tox-dialog__body-content{max-height:100%}.tox .tox-dialog--width-md{max-width:800px}.tox .tox-dialog--width-md .tox-dialog__body-content{overflow:auto}.tox .tox-dialog__body-content--centered{text-align:center}.tox .tox-dialog__footer{align-items:center;background-color:#fff;border-top:1px solid #ccc;display:flex;justify-content:space-between;padding:8px 16px}.tox .tox-dialog__footer-end,.tox .tox-dialog__footer-start{display:flex}.tox .tox-dialog__busy-spinner{align-items:center;background-color:rgba(255,255,255,.75);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:3}.tox .tox-dialog__table{border-collapse:collapse;width:100%}.tox .tox-dialog__table thead th{font-weight:700;padding-bottom:8px}.tox .tox-dialog__table thead th:first-child{padding-right:8px}.tox .tox-dialog__table tbody tr{border-bottom:1px solid #404040}.tox .tox-dialog__table tbody tr:last-child{border-bottom:none}.tox .tox-dialog__table td{padding-bottom:8px;padding-top:8px}.tox .tox-dialog__table td:first-child{padding-right:8px}.tox .tox-dialog__iframe{min-height:200px}.tox .tox-dialog__iframe.tox-dialog__iframe--opaque{background:#fff}.tox .tox-navobj-bordered{position:relative}.tox .tox-navobj-bordered::before{border:1px solid #ccc;border-radius:3px;content:'';inset:0;opacity:1;pointer-events:none;position:absolute;z-index:1}.tox .tox-navobj-bordered iframe{border-radius:3px}.tox .tox-navobj-bordered-focus.tox-navobj-bordered::before{border-color:#207ab7;box-shadow:none;outline:2px solid rgba(32,122,183,.25)}.tox .tox-dialog__popups{position:absolute;width:100%;z-index:1100}.tox .tox-dialog__body-iframe{display:flex;flex:1;flex-direction:column}.tox .tox-dialog__body-iframe .tox-navobj{display:flex;flex:1}.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2){flex:1;height:100%}.tox .tox-dialog-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-dialog-dock-fadein{opacity:1;visibility:visible}.tox .tox-dialog-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein{transition-delay:0s}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav{margin-right:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav-item:not(:first-child){margin-left:8px}}.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-end>*,.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-start>*{margin-left:8px}.tox[dir=rtl] .tox-dialog__body{text-align:right}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav{margin-left:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav-item:not(:first-child){margin-right:8px}}.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-end>*,.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-start>*{margin-right:8px}.tox .tox-dropdown-content{box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);position:fixed;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;overflow:auto;height:fit-content;width:fit-content;border-radius:var(--tox-private-panel-border-radius,3px);background-color:var(--tox-private-background-color,#fff);max-height:50vh}.tox .tox-dropdown-content .tox-menu{width:100%;box-shadow:none}body.tox-dialog__disable-scroll{overflow:hidden}.tox .tox-dropzone-container{display:flex;flex:1}.tox .tox-dropzone{align-items:center;background:#fff;border:2px dashed #ccc;box-sizing:border-box;display:flex;flex-direction:column;flex-grow:1;justify-content:center;min-height:100px;padding:10px}.tox .tox-dropzone p{color:rgba(34,47,62,.7);margin:0 0 16px 0}.tox .tox-edit-area{display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-edit-area::before{border:0 solid transparent;border-radius:4px;content:'';inset:0;opacity:0;pointer-events:none;position:absolute;transition:opacity .15s;z-index:1}@media (forced-colors:active){.tox .tox-edit-area::before{border:0 solid highlight}}.tox .tox-edit-area__iframe{background-color:#fff;border:0;box-sizing:border-box;flex:1;height:100%;position:absolute;width:100%}.tox.tox-edit-focus .tox-edit-area::before{opacity:1}.tox.tox-inline-edit-area{border:1px dotted #ccc}.tox .tox-expandable-box{background:var(--tox-private-background-color,#fff);border-radius:var(--tox-private-control-border-radius,3px);border:1px solid var(--tox-private-border-color,#ccc);display:flex;flex-direction:column;justify-content:stretch;overflow:hidden}.tox .tox-expandable-box>.tox-button{margin:0 var(--tox-private-pad-md,16px) var(--tox-private-pad-md,16px)}.tox .tox-expandable-box__title{align-items:center;background:hsl(from var(--tox-private-color-tint,#207ab7) h s l / 10%);border-bottom:1px solid var(--tox-private-border-color,#ccc);color:var(--tox-private-text-color,#222f3e);display:flex;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);gap:var(--tox-private-pad-sm,8px);min-width:0;padding:var(--tox-private-pad-sm,8px) var(--tox-private-pad-md,16px)}.tox .tox-expandable-box__title .tox-icon{flex-shrink:0;height:var(--tox-private-base-value,16px);fill:var(--tox-private-text-color,#222f3e)}.tox .tox-expandable-box__title-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-expandable-box__content{margin:var(--tox-private-pad-md,16px);overflow:auto}.tox .tox-expandable-box__content--overflowing{position:relative;overflow:hidden}.tox .tox-expandable-box__content--overflowing::after{content:'';position:absolute;bottom:0;left:0;right:0;height:min(100px,100%);pointer-events:none;background:linear-gradient(to bottom,transparent 50%,var(--tox-private-background-color,#fff))}.tox .tox-expandable-box__content--expanded{max-height:fit-content}.tox .tox-control-wrap{flex:1;position:relative}.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid,.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown,.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid{display:none}.tox .tox-control-wrap svg{display:block}.tox .tox-control-wrap__status-icon-wrap{position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-control-wrap__status-icon-invalid svg{fill:#c00}.tox .tox-control-wrap__status-icon-unknown svg{fill:orange}.tox .tox-control-wrap__status-icon-valid svg{fill:green}.tox:not([dir=rtl]) .tox-control-wrap--status-invalid .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-unknown .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-valid .tox-textfield{padding-right:32px}.tox:not([dir=rtl]) .tox-control-wrap__status-icon-wrap{right:4px}.tox[dir=rtl] .tox-control-wrap--status-invalid .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-unknown .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-valid .tox-textfield{padding-left:32px}.tox[dir=rtl] .tox-control-wrap__status-icon-wrap{left:4px}.tox .tox-custom-preview{border-color:#ccc;border-radius:3px;border-style:solid;border-width:1px;flex:1;padding:8px}.tox .tox-autocompleter{max-width:25em}.tox .tox-autocompleter .tox-menu{box-sizing:border-box;max-width:25em}.tox .tox-autocompleter .tox-autocompleter-highlight{font-weight:700}.tox .tox-color-input{display:flex;position:relative;z-index:1}.tox .tox-color-input .tox-textfield{z-index:-1}.tox .tox-color-input span{border-color:rgba(34 47 62 / 20%);border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;height:24px;position:absolute;top:6px;width:24px}@media (forced-colors:active){.tox .tox-color-input span{border-color:currentColor;border-width:2px!important;forced-color-adjust:none}}.tox .tox-color-input span:focus:not([aria-disabled=true]),.tox .tox-color-input span:hover:not([aria-disabled=true]){border-color:#207ab7;cursor:pointer}.tox .tox-color-input span::before{background-image:linear-gradient(45deg,rgba(0,0,0,.25) 25%,transparent 25%),linear-gradient(-45deg,rgba(0,0,0,.25) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.25) 75%),linear-gradient(-45deg,transparent 75%,rgba(0,0,0,.25) 75%);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px;border:1px solid #fff;border-radius:3px;box-sizing:border-box;content:'';height:24px;left:-1px;position:absolute;top:-1px;width:24px;z-index:-1}@media (forced-colors:active){.tox .tox-color-input span::before{border:none}}.tox .tox-color-input span[aria-disabled=true]{cursor:not-allowed}.tox:not([dir=rtl]) .tox-color-input .tox-textfield{padding-left:36px}.tox:not([dir=rtl]) .tox-color-input span{left:6px}.tox[dir=rtl] .tox-color-input .tox-textfield{padding-right:36px}.tox[dir=rtl] .tox-color-input span{right:6px}.tox .tox-label,.tox .tox-toolbar-label{color:rgba(34,47,62,.7);display:block;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;padding:0 8px 0 0;text-transform:none;white-space:nowrap}.tox .tox-toolbar-label{padding:0 8px}.tox[dir=rtl] .tox-label{padding:0 0 0 8px}.tox .tox-form{display:flex;flex:1;flex-direction:column}.tox .tox-form__group{box-sizing:border-box;margin-bottom:4px}.tox .tox-form-group--maximize{flex:1}.tox .tox-form__group--error{color:#c00}.tox .tox-form__group--collection{display:flex}.tox .tox-form__grid{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}.tox .tox-form__grid--2col>.tox-form__group{width:calc(50% - (8px / 2))}.tox .tox-form__grid--3col>.tox-form__group{width:calc(100% / 3 - (8px / 2))}.tox .tox-form__grid--4col>.tox-form__group{width:calc(25% - (8px / 2))}.tox .tox-form__controls-h-stack{align-items:center;display:flex}.tox .tox-form__group--inline{align-items:center;display:flex}.tox .tox-form__group--stretched{display:flex;flex:1;flex-direction:column}.tox .tox-form__group--stretched .tox-textarea{flex:1}.tox .tox-form__group--stretched .tox-navobj{display:flex;flex:1}.tox .tox-form__group--stretched .tox-navobj :nth-child(2){flex:1;height:100%}.tox:not([dir=rtl]) .tox-form__controls-h-stack>:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-form__controls-h-stack>:not(:first-child){margin-right:4px}.tox .tox-lock.tox-locked .tox-lock-icon__unlock,.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock{display:none}.tox .tox-context-form__group .tox-button--icon.tox-lock-context-form-size-input{margin-left:8px;margin-right:8px}.tox .tox-listboxfield .tox-listbox--select,.tox .tox-textarea,.tox .tox-textarea-wrap .tox-textarea:focus,.tox .tox-textfield,.tox .tox-toolbar-textfield{appearance:none;background-color:#fff;border-color:#ccc;border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#222f3e;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 4.75px;resize:none;width:100%}.tox .tox-textarea[disabled],.tox .tox-textfield[disabled],.tox .tox-toolbar-textfield[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-custom-editor:focus-within,.tox .tox-focusable-wrapper:focus,.tox .tox-listboxfield .tox-listbox--select:focus,.tox .tox-textarea-wrap:focus-within,.tox .tox-textarea:focus,.tox .tox-textfield:focus,.tox .tox-toolbar-textfield:focus{background-color:#fff;border-color:#207ab7;box-shadow:none;outline:2px solid rgba(32,122,183,.25)}.tox .tox-toolbar-textfield{max-width:250px;min-height:unset;height:34px;margin:2px 0 3px 0}.tox .tox-naked-btn{background-color:transparent;border:0;border-color:transparent;box-shadow:unset;color:#207ab7;cursor:pointer;display:block;margin:0;padding:0}.tox .tox-naked-btn svg{display:block;fill:#222f3e}.tox .tox-textfield-size{width:80px}.tox:not([dir=rtl]) .tox-toolbar-textfield+*{margin-left:4px}.tox[dir=rtl] .tox-toolbar-textfield+*{margin-right:4px}.tox .tox-listboxfield{cursor:pointer;position:relative}.tox .tox-listboxfield .tox-listbox--select[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-listbox__select-label{cursor:default;flex:1;margin:0 4px}.tox .tox-listbox__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-listbox__select-chevron svg{fill:#222f3e}@media (forced-colors:active){.tox .tox-listbox__select-chevron svg{fill:currentColor!important}}.tox .tox-listboxfield .tox-listbox--select{align-items:center;display:flex}.tox:not([dir=rtl]) .tox-listboxfield svg{right:8px}.tox[dir=rtl] .tox-listboxfield svg{left:8px}.tox .tox-selectfield{cursor:pointer;position:relative}.tox .tox-selectfield select{appearance:none;background-color:#fff;border-color:#ccc;border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#222f3e;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 4.75px;resize:none;width:100%}.tox .tox-selectfield select[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-selectfield select::-ms-expand{display:none}.tox .tox-selectfield select:focus{background-color:#fff;border-color:#207ab7;box-shadow:none;outline:2px solid rgba(32,122,183,.25)}.tox .tox-selectfield svg{pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-selectfield select option:checked{background-color:revert;color:revert}.tox:not([dir=rtl]) .tox-selectfield select[size="0"],.tox:not([dir=rtl]) .tox-selectfield select[size="1"]{padding-right:24px}.tox:not([dir=rtl]) .tox-selectfield svg{right:8px}.tox[dir=rtl] .tox-selectfield select[size="0"],.tox[dir=rtl] .tox-selectfield select[size="1"]{padding-left:24px}.tox[dir=rtl] .tox-selectfield svg{left:8px}.tox .tox-textarea-wrap{border-color:#ccc;border-radius:3px;border-style:solid;border-width:1px;display:flex;flex:1;overflow:hidden}.tox .tox-textarea{appearance:textarea;white-space:pre-wrap}.tox .tox-textarea-wrap .tox-textarea{border:none}.tox .tox-textarea-wrap .tox-textarea:focus{border:none}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}.tox .tox-help__more-link{list-style:none;margin-top:1em}.tox .tox-imagepreview{background-color:#666;height:380px;overflow:hidden;position:relative;width:100%}.tox .tox-imagepreview.tox-imagepreview__loaded{overflow:auto}.tox .tox-imagepreview__container{display:flex;left:100vw;position:absolute;top:100vw}.tox .tox-imagepreview__image{background:url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==)}.tox .tox-image-tools .tox-spacer{flex:1}.tox .tox-image-tools .tox-bar{align-items:center;display:flex;height:60px;justify-content:center}.tox .tox-image-tools .tox-imagepreview,.tox .tox-image-tools .tox-imagepreview+.tox-bar{margin-top:8px}.tox .tox-image-tools .tox-croprect-block{background:#000;opacity:.5;position:absolute;zoom:1}.tox .tox-image-tools .tox-croprect-handle{border:2px solid #fff;height:20px;left:0;position:absolute;top:0;width:20px}.tox .tox-image-tools .tox-croprect-handle-move{border:0;cursor:move;position:absolute}.tox .tox-image-tools .tox-croprect-handle-nw{border-width:2px 0 0 2px;cursor:nw-resize;left:100px;margin:-2px 0 0 -2px;top:100px}.tox .tox-image-tools .tox-croprect-handle-ne{border-width:2px 2px 0 0;cursor:ne-resize;left:200px;margin:-2px 0 0 -20px;top:100px}.tox .tox-image-tools .tox-croprect-handle-sw{border-width:0 0 2px 2px;cursor:sw-resize;left:100px;margin:-20px 2px 0 -2px;top:200px}.tox .tox-image-tools .tox-croprect-handle-se{border-width:0 2px 2px 0;cursor:se-resize;left:200px;margin:-20px 0 0 -20px;top:200px}.tox .tox-image-selector-loading-spinner-wrapper{display:flex;justify-content:center;align-items:center}.tox .tox-image-selector-loading-spinner{position:absolute;width:min(24px,30%);aspect-ratio:1/1;border-radius:50%;border:3px solid #207ab7;border-bottom-color:transparent;animation:tox-rotation 1s linear infinite}.tox .tox-toolbar .tox-image-selector,.tox .tox-toolbar__overflow .tox-image-selector,.tox .tox-toolbar__primary .tox-image-selector{margin:2px 0 3px 4px}.tox .tox-image-selector-menu{border:0;border-radius:3px;margin:-4px 0;padding:4px}.tox .tox-image-selector-menu .tox-collection--list .tox-collection__group{border:0;padding:0;margin:-4px 0}.tox .tox-image-selector-menu .tox-collection__item{max-width:48px}.tox .tox-image-selector-menu .tox-collection__item-icon{border:1px solid #ccc;border-radius:3px;margin-bottom:4px;width:100%}.tox .tox-image-selector-menu .tox-collection__item-icon svg path{stroke:#c00}.tox .tox-image-selector__row{display:flex}.tox .tox-image-selector--remove{align-items:center;display:flex;justify-content:center}.tox .tox-image-selector--remove svg path{stroke:#c00}.tox .tox-image-selector-image-wrapper{width:46px;height:46px;display:flex;align-items:center;justify-content:center}.tox .tox-image-selector-image-img{max-width:100%;max-height:100%}.tox .tox-image-selector__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-image-selector__picker-btn svg{fill:#222f3e;height:24px;width:24px}.tox .tox-image-selector__picker-btn:hover{background:#dee0e2}.tox .tox-context-toolbar{position:absolute;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;z-index:1150;background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color,#222f3e);border:1px solid #e3e3e3;border-radius:6px;box-shadow:0 2px 8px rgba(0,0,0,.08);padding:8px}.tox .tox-context-toolbar[popover]{inset:auto;margin:0}.tox .tox-context-toolbar .tox-toolbar{display:flex;flex-wrap:nowrap;gap:8px}.tox .tox-context-toolbar .tox-toolbar__group{display:flex;flex-wrap:nowrap;flex-shrink:0;gap:8px;align-items:center;padding:0}.tox .tox-insert-table-picker{background-color:#fff;display:flex;flex-wrap:wrap;width:170px}.tox .tox-insert-table-picker>div{border-color:#ccc;border-style:solid;border-width:0 1px 1px 0;box-sizing:border-box;height:17px;width:17px}.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker{margin:0 -4px}.tox .tox-insert-table-picker .tox-insert-table-picker__selected{background-color:rgba(32,122,183,.5);border-color:rgba(32,122,183,.5)}@media (forced-colors:active){.tox .tox-insert-table-picker .tox-insert-table-picker__selected{border-color:Highlight;filter:contrast(50%)}}.tox .tox-insert-table-picker__label{color:rgba(34,47,62,.7);display:block;font-size:14px;padding:4px;text-align:center;width:100%}.tox:not([dir=rtl]) .tox-insert-table-picker>div:nth-child(10n){border-right:0}.tox[dir=rtl] .tox-insert-table-picker>div:nth-child(10n+1){border-right:0}.tox-mentions__card-common{z-index:1200}.tox.tox-mentions__card{background:#fff;border:1px solid #ccc;display:flex;padding:4px 8px}.tox.tox-mentions__card .tox-mentions__container{display:flex;flex-direction:column;align-self:center;margin:0 4px}.tox .tox-mentions__avatar{width:42px;height:42px;border-radius:50%;margin-right:4px}.tox .tox-mentions__username{font-size:14px;line-height:21px;color:#222f3e}.tox .tox-mentions__description{font-size:12px;line-height:21px;color:rgba(34,47,62,.7)}.tox .tox-collection__item--active .tox-mentions__description,.tox .tox-collection__item--active .tox-mentions__username{color:inherit}.tox .tox-menu{background-color:#fff;border:1px solid #ccc;border-radius:3px;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);display:inline-block;overflow:hidden;vertical-align:top;z-index:1150}.tox .tox-menu.tox-collection.tox-collection--list{padding:0 0}.tox .tox-menu.tox-collection.tox-collection--toolbar{padding:4px}.tox .tox-menu.tox-collection.tox-collection--grid{padding:4px}@media only screen and (min-width:768px){.tox .tox-menu .tox-collection__item-label{overflow-wrap:break-word;word-break:normal}.tox .tox-dialog__popups .tox-menu .tox-collection__item-label{word-break:break-all}}.tox .tox-menu__label blockquote,.tox .tox-menu__label code,.tox .tox-menu__label h1,.tox .tox-menu__label h2,.tox .tox-menu__label h3,.tox .tox-menu__label h4,.tox .tox-menu__label h5,.tox .tox-menu__label h6,.tox .tox-menu__label p{margin:0}.tox .tox-menubar{background: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;background-color:#fff;display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;grid-column:1/-1;grid-row:1;padding:0 4px 0 4px}.tox .tox-promotion+.tox-menubar{grid-column:1}@media (max-width:480px){.tox:not(.tox-tinymce-inline) .tox-menubar{flex-wrap:nowrap;min-width:0;min-height:39px;overflow-x:auto;overflow-y:hidden}}.tox .tox-promotion{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;background-color:#fff;grid-column:2;grid-row:1;padding-inline-end:8px;padding-inline-start:4px;padding-top:5px}.tox .tox-promotion-link{align-items:unsafe center;background-color:#e8f1f8;border-radius:5px;color:#086be6;cursor:pointer;display:flex;font-size:14px;height:26.6px;padding:4px 8px;white-space:nowrap}.tox .tox-promotion-link:hover{background-color:#b4d7ff}.tox .tox-promotion-link:focus{background-color:#d9edf7}.tox .tox-mbtn{align-items:center;background:#fff;border:0;border-radius:3px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:34px;justify-content:center;margin:2px 0 3px 0;outline:0;padding:0 4px;text-transform:none;width:auto}.tox .tox-mbtn[disabled]{background-color:#fff;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-mbtn:focus:not(:disabled){background:#dee0e2;border:0;box-shadow:none;color:#222f3e;position:relative;z-index:1}.tox .tox-mbtn:focus:not(:disabled)::after{pointer-events:none;border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-mbtn:focus:not(:disabled)::after{border:2px solid highlight}}.tox .tox-mbtn--active,.tox .tox-mbtn:not(:disabled).tox-mbtn--active:focus{background:#c8cbcf;border:0;box-shadow:none;color:#222f3e}.tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active){background:#dee0e2;border:0;box-shadow:none;color:#222f3e}.tox .tox-mbtn__select-label{cursor:default;font-weight:400;margin:0 4px}.tox .tox-mbtn[disabled] .tox-mbtn__select-label{cursor:not-allowed}.tox .tox-mbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px;display:none}.tox .tox-notification{border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;display:grid;font-size:14px;font-weight:400;grid-template-columns:minmax(40px,1fr) auto minmax(40px,1fr);margin-left:auto;margin-right:auto;margin-top:4px;opacity:0;padding:4px;transition:transform .1s ease-in,opacity 150ms ease-in;width:max-content}.tox .tox-notification a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification p{font-size:14px;font-weight:400}.tox .tox-notification:focus{border-color:#207ab7;box-shadow:none}.tox .tox-notification--in{opacity:1}.tox .tox-notification--success{background-color:#e4eeda;border-color:#d7e6c8;color:#222f3e}.tox .tox-notification--success p{color:#222f3e}.tox .tox-notification--success a{color:#517342}.tox .tox-notification--success a:focus,.tox .tox-notification--success a:hover{color:#24321d;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--success a:focus-visible{border-radius:1px;outline:2px solid #517342;outline-offset:2px}.tox .tox-notification--success a:active{color:#0d120a;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--success svg{fill:#222f3e}.tox .tox-notification--error{background-color:#f5cccc;border-color:#f0b3b3;color:#222f3e}.tox .tox-notification--error p{color:#222f3e}.tox .tox-notification--error a{color:#77181f}.tox .tox-notification--error a:focus,.tox .tox-notification--error a:hover{color:#220709;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--error a:focus-visible{border-radius:1px;outline:2px solid #77181f;outline-offset:2px}.tox .tox-notification--error a:active{color:#000;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--error svg{fill:#222f3e}.tox .tox-notification--warn,.tox .tox-notification--warning{background-color:#fff5cc;border-color:#fff0b3;color:#222f3e}.tox .tox-notification--warn p,.tox .tox-notification--warning p{color:#222f3e}.tox .tox-notification--warn a,.tox .tox-notification--warning a{color:#7a6e25}.tox .tox-notification--warn a:focus,.tox .tox-notification--warn a:hover,.tox .tox-notification--warning a:focus,.tox .tox-notification--warning a:hover{color:#2c280d;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--warn a:focus-visible,.tox .tox-notification--warning a:focus-visible{border-radius:1px;outline:2px solid #7a6e25;outline-offset:2px}.tox .tox-notification--warn a:active,.tox .tox-notification--warning a:active{color:#050502;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--warn svg,.tox .tox-notification--warning svg{fill:#222f3e}.tox .tox-notification--info{background-color:#d6e7fb;border-color:#c1dbf9;color:#222f3e}.tox .tox-notification--info p{color:#222f3e}.tox .tox-notification--info a{color:#2a64a6}.tox .tox-notification--info a:focus,.tox .tox-notification--info a:hover{color:#163355;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--info a:focus-visible{border-radius:1px;outline:2px solid #2a64a6;outline-offset:2px}.tox .tox-notification--info a:active{color:#0b1a2c;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--info svg{fill:#222f3e}.tox .tox-notification__body{align-self:center;color:#222f3e;font-size:14px;grid-column-end:3;grid-column-start:2;grid-row-end:2;grid-row-start:1;text-align:center;white-space:normal;word-break:break-all;word-break:break-word}.tox .tox-notification__body>*{margin:0}.tox .tox-notification__body>*+*{margin-top:1rem}.tox .tox-notification__icon{align-self:center;grid-column-end:2;grid-column-start:1;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification__icon svg{display:block}.tox .tox-notification__dismiss{align-self:start;grid-column-end:4;grid-column-start:3;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification .tox-progress-bar{grid-column-end:4;grid-column-start:1;grid-row-end:3;grid-row-start:2;justify-self:center}.tox .tox-notification-container-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-notification-container-dock-fadein{opacity:1;visibility:visible}.tox .tox-notification-container-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-notification-container-dock-transition.tox-notification-container-dock-fadein{transition-delay:0s}.tox .tox-onboarding-overlay{height:100%;background-color:#f0f0f0;position:absolute;top:0;left:0;right:0;z-index:1302;overflow:auto;display:grid;justify-content:center;align-items:center}.tox .tox-onboarding-dialog{max-width:512px;background-color:#fff;display:flex;flex-direction:column;box-shadow:0 16px 16px -10px rgba(34,47,62,.15),0 0 40px 1px rgba(34,47,62,.15);border-radius:12px;margin:8px}.tox .tox-onboarding-dialog .tox-onboarding-header{color:#222f3e;display:flex;justify-content:center;align-items:center;font-size:20px;margin:24px 0 8px}.tox .tox-onboarding-dialog .tox-onboarding-step{display:grid;grid-template-columns:min-content 1fr min-content;align-items:center;margin:0 24px}.tox .tox-onboarding-dialog .tox-onboarding-step:not(:last-child){border-bottom:1px solid #c1c1c1}.tox .tox-onboarding-dialog .tox-onboarding-step--number{width:24px;aspect-ratio:1/1;border-radius:50%;border:1px solid #00ad0e;display:flex;justify-content:center;align-items:center;font-size:12px;font-weight:700;color:#00ad0e}.tox .tox-onboarding-dialog .tox-onboarding-step--body{padding:24px 0 24px 16px}.tox .tox-onboarding-dialog .tox-onboarding-step--body-header{color:#222f3e;font-size:14px;font-weight:700;margin-bottom:4px}.tox .tox-onboarding-dialog .tox-onboarding-step--body-details{color:rgba(34,47,62,.7);font-size:14px}.tox .tox-onboarding-dialog .tox-onboarding-step--action{padding-left:24px}.tox .tox-onboarding-dialog .tox-onboarding-footer{background-color:#f0f0f0;display:flex;justify-content:space-between;align-items:center;padding:16px 24px;border-bottom-left-radius:12px;border-bottom-right-radius:12px}.tox .tox-onboarding-dialog .tox-onboarding-footer p{display:flex;align-items:center;justify-content:center;gap:4px;font-size:14px;color:rgba(34,47,62,.7)}.tox .tox-onboarding-dialog svg{width:24px;fill:rgba(34,47,62,0.7)}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin{display:grid;align-items:center;grid-template-columns:min-content 1fr min-content;border-bottom:1px solid #c1c1c1;padding:24px 0;margin:0 16px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body{margin:0 16px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body .tox-promotion-dialog-plugin-header{color:#222f3e;font-size:14px;font-weight:700;margin-bottom:4px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body .tox-promotion-dialog-plugin-details{color:rgba(34,47,62,.7);font-size:14px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--icon{display:grid;place-content:center;width:56px;height:56px;line-height:24px;font-size:24px;border-radius:12px;background:linear-gradient(180deg,#fff 24%,#f0f0f0 100%);box-shadow:0 1px 1px 0 #222f3e12,0 3px 6px 0 #222f3e06;color:#207ab7}.tox .tox-promotion-dialog--subtitle{margin:16px;color:rgba(34,47,62,.7);font-size:14px}.tox .tox-promotion-dialog--explore{text-align:center;margin:16px;color:rgba(34,47,62,.7);font-size:14px}.tox .tox-promotion-dialog--explore a{color:#207ab7}.tox .tox-promotion-dialog--footer{background-color:#f0f0f0;color:rgba(34,47,62,.7);font-size:12px;text-align:center;padding:16px}.tox .tox-promotion-button{display:flex;align-items:center;height:26.6px;line-height:26.6px;font-size:14px;font-weight:700;background-color:#f1ebf9;color:#851aff;padding:8px 16px;cursor:pointer;white-space:nowrap;border-radius:5px}.tox .tox-promotion-button:focus{outline:1px solid #851AFF}.tox .tox-onboarding-dialog a,.tox .tox-promotion-dialog--footer a{color:rgba(34,47,62,.7);cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-onboarding-dialog a:focus,.tox .tox-onboarding-dialog a:hover,.tox .tox-promotion-dialog--footer a:focus,.tox .tox-promotion-dialog--footer a:hover{color:#0a1620;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-onboarding-dialog a:focus-visible,.tox .tox-promotion-dialog--footer a:focus-visible{border-radius:1px;outline:2px solid #214d6e;outline-offset:2px}.tox .tox-onboarding-dialog a:active,.tox .tox-promotion-dialog--footer a:active{color:#000;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-pop{display:inline-block;position:relative}.tox .tox-pop--resizing{transition:width .1s ease}.tox .tox-pop--resizing .tox-toolbar,.tox .tox-pop--resizing .tox-toolbar__group{flex-wrap:nowrap}.tox .tox-pop--transition{transition:.15s ease;transition-property:left,right,top,bottom}.tox .tox-pop--transition::after,.tox .tox-pop--transition::before{transition:all .15s,visibility 0s,opacity 75ms ease 75ms}.tox .tox-pop__dialog{background-color:#fff;border:1px solid #ccc;border-radius:3px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);min-width:0;overflow:hidden}.tox .tox-pop__dialog>:not(.tox-toolbar){margin:4px 4px 4px 8px}.tox .tox-pop__dialog .tox-toolbar{background-color:transparent;margin-bottom:-1px}.tox .tox-pop::after,.tox .tox-pop::before{border-style:solid;content:'';display:block;height:0;opacity:1;position:absolute;width:0}@media (forced-colors:active){.tox .tox-pop::after,.tox .tox-pop::before{content:none}}.tox .tox-pop.tox-pop--inset::after,.tox .tox-pop.tox-pop--inset::before{opacity:0;transition:all 0s .15s,visibility 0s,opacity 75ms ease}.tox .tox-pop.tox-pop--bottom::after,.tox .tox-pop.tox-pop--bottom::before{left:50%;top:100%}.tox .tox-pop.tox-pop--bottom::after{border-color:#fff transparent transparent transparent;border-width:8px;margin-left:-8px;margin-top:-1px}.tox .tox-pop.tox-pop--bottom::before{border-color:#ccc transparent transparent transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--top::after,.tox .tox-pop.tox-pop--top::before{left:50%;top:0;transform:translateY(-100%)}.tox .tox-pop.tox-pop--top::after{border-color:transparent transparent #fff transparent;border-width:8px;margin-left:-8px;margin-top:1px}.tox .tox-pop.tox-pop--top::before{border-color:transparent transparent #ccc transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--left::after,.tox .tox-pop.tox-pop--left::before{left:0;top:calc(50% - 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--left::after{border-color:transparent #fff transparent transparent;border-width:8px;margin-left:-15px}.tox .tox-pop.tox-pop--left::before{border-color:transparent #ccc transparent transparent;border-width:10px;margin-left:-19px}.tox .tox-pop.tox-pop--right::after,.tox .tox-pop.tox-pop--right::before{left:100%;top:calc(50% + 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--right::after{border-color:transparent transparent transparent #fff;border-width:8px;margin-left:-1px}.tox .tox-pop.tox-pop--right::before{border-color:transparent transparent transparent #ccc;border-width:10px;margin-left:-1px}.tox .tox-pop.tox-pop--align-left::after,.tox .tox-pop.tox-pop--align-left::before{left:20px}.tox .tox-pop.tox-pop--align-right::after,.tox .tox-pop.tox-pop--align-right::before{left:calc(100% - 20px)}.tox.tox-edit-focus .tox-sidebar__resize-handle:hover::before{border-left:0 solid transparent}.tox .tox-sidebar-wrap{--tox-private-min-editing-area-width:280px;flex-grow:1;min-height:0}.tox .tox-sidebar-wrap:not(.tox .tox-sidebar-wrap--resizable){display:flex;flex-direction:row}.tox .tox-sidebar-wrap--resizable{display:grid;grid-template-columns:minmax(var(--tox-private-min-editing-area-width),1fr) minmax(0,max-content);grid-template-rows:minmax(0,1fr)}.tox .tox-sidebar{background-color:var(--tox-private-sidebar-background-color,#f0f0f0);display:flex;flex-direction:row;justify-content:flex-end}.tox .tox-sidebar__slider{display:flex;overflow:hidden}.tox .tox-sidebar-wrap--resizable .tox-sidebar__pane-container{width:var(--tox-private-requested-sidebar-width)}.tox .tox-sidebar-wrap--resizable .tox-sidebar--sliding-growing .tox-sidebar__pane-container,.tox .tox-sidebar-wrap--resizable .tox-sidebar--sliding-shrinking .tox-sidebar__pane-container{width:var(--tox-private-resolved-sidebar-width);min-width:var(--tox-private-resolved-sidebar-width)}.tox .tox-sidebar__pane-container{display:flex}.tox .tox-sidebar-wrap--resizable .tox-sidebar__resize-handle{display:block}.tox .tox-sidebar__resize-handle{display:none;position:relative;width:var(--tox-private-sidebar-resize-handle-width,1px);height:100%;cursor:col-resize;background-color:var(--tox-private-separator-color,#c1c1c1);z-index:1}.tox .tox-sidebar__resize-handle::before{content:'';position:absolute;top:0;bottom:0;width:8px;box-sizing:border-box;border-left:0 solid transparent;transition:border-left-width .15s ease,border-left-color .15s ease}.tox .tox-sidebar__resize-handle:hover::before{border-left:3px solid #207ab7}.tox .tox-sidebar-wrap--resizable .tox-sidebar__pane{width:calc(100% - var(--tox-private-sidebar-resize-handle-width,1px))}.tox .tox-sidebar__pane{display:flex}.tox .tox-sidebar--sliding-closed{opacity:0}.tox .tox-sidebar--sliding-open{opacity:1}.tox .tox-sidebar--sliding-growing,.tox .tox-sidebar--sliding-shrinking{transition:width .5s ease,opacity .5s ease}.tox .tox-sidebar-content{display:flex;flex-direction:column;position:relative;width:100%;height:100%}.tox .tox-sidebar-content__header{align-items:center;display:flex;justify-content:space-between;border-bottom:var(--tox-private-tinymceai-border-width,1px) solid var(--tox-private-neutral-20,#e3e3e3);padding:var(--tox-private-pad-sm,8px) 12px;background:var(--tox-private-background-color,#fff)}.tox .tox-sidebar-content__header .tox-sidebar-content__header-close-button{margin-left:auto}.tox .tox-sidebar-content__actions{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-sidebar-content__title{font-size:var(--tox-private-font-size-lg, 20px);font-weight:var(--tox-private-font-weight-normal,normal);padding:var(--tox-private-pad-sm,8px) 0 var(--tox-private-pad-sm,8px) 0;color:var(--tox-private-text-color,#222f3e);line-height:28px}.tox .tox-floating-sidebar{--tox-private-floating-sidebar-width:min(380px, 90vw);--tox-private-floating-sidebar-height:80vh;position:fixed;z-index:var(--tox-private-z-index-floatingsidebar,1050);box-shadow:var(--tox-private-floating-sidebar-box-shadow,0 0 40px 1px rgba(34,47,62,.15),0 16px 16px -10px rgba(34,47,62,.15),0 0 0 1px rgba(34,47,62,.15));width:var(--tox-private-floating-sidebar-width);height:var(--tox-private-floating-sidebar-height);background-color:var(--tox-private-floating-sidebar-background-color,#f0f0f0);border-radius:var(--tox-private-panel-border-radius,3px);overflow:hidden}.tox .tox-floating-sidebar:not(.tox .tox-floating-sidebar--open){display:none}.tox .tox-floating-sidebar--open{display:block}.tox .tox-floating-sidebar__content-wrapper{width:100%;height:100%;display:flex;flex-direction:column}.tox .tox-floating-sidebar__header{position:relative}.tox .tox-floating-sidebar .tox-ai__scroll:has(.tox-card-list){background-color:inherit}.tox .tox-ai .tox-expandable-box{margin-bottom:calc(var(--tox-private-pad-md,16px) * .75)}.tox .tox-ai .tox-expandable-box .tox-expandable-box__content{margin:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-md,16px) * .75)}.tox .tox-ai .tox-expandable-box>.tox-button{margin:0 calc(var(--tox-private-pad-md,16px) * .75) var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-expandable-box:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#207ab7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-sidebar-content__header{border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-background-color,#fff);padding:calc(var(--tox-private-pad-sm,8px) - var(--tox-private-tinymceai-focus-border-width,2px)) calc(12px - var(--tox-private-tinymceai-focus-border-width,2px));border-bottom:1px solid var(--tox-private-separator-color,#c1c1c1)}.tox .tox-ai .tox-sidebar-content__header:focus-visible:not(:disabled){border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#207ab7);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-sidebar-content__loader{align-items:center;display:flex;height:100%;justify-content:center;width:100%;z-index:1000}.tox .tox-ai .tox-sidebar-content__title{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin-right:auto}.tox .tox-ai .tox-sidebar-content__title:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#207ab7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-sidebar-content__actions .tox-ai__complete-review{display:flex;align-items:center;gap:6px;padding-top:var(--tox-private-pad-xs,4px);padding-bottom:var(--tox-private-pad-xs,4px);padding-left:var(--tox-private-pad-md,16px);padding-right:var(--tox-private-pad-md,16px)}.tox .tox-ai .tox-menu{width:-webkit-fill-available;width:-moz-available;width:stretch;overflow:visible}.tox .tox-ai .tox-ai__user-prompt{display:flex;flex-direction:column;margin-left:auto;gap:inherit;width:100%}.tox .tox-ai .tox-ai__user-prompt__context{margin-left:auto;display:flex;flex-direction:column;gap:inherit;align-items:end;width:100%}.tox .tox-ai .tox-ai__user-prompt__context .tox-tag{max-width:100%}.tox .tox-ai .tox-ai__user-prompt__text{background-color:var(--tox-private-background-secondary,#f0f0f0);padding:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-md,16px) * .75);border-radius:var(--tox-private-control-border-radius,3px);max-width:80%;align-self:flex-end;color:var(--tox-private-text-color,#222f3e);white-space:pre-wrap}.tox .tox-ai .tox-ai__user-prompt__text:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#207ab7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-ai__scroll{overflow-y:auto;overflow-x:hidden;background-color:var(--tox-private-background-color,#fff);display:flex;padding:12px;flex-direction:column;align-items:flex-start;gap:12px;flex:1 0 0;align-self:stretch}.tox .tox-ai .tox-ai__scroll:focus-visible:not(:disabled){outline:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#207ab7);outline-offset:calc(-1 * var(--tox-private-tinymceai-focus-border-width,2px));border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-ai__scroll--review:not(:has(.tox-sidebar-content__message-text)){background-color:var(--tox-private-background-secondary,#f0f0f0)}.tox .tox-ai .tox-ai__spinner svg{fill:var(--tox-private-color-tint,#207ab7)}.tox .tox-ai .tox-ai__response{width:100%;min-width:100%;max-width:100%}.tox .tox-ai .tox-ai__response__header{display:flex;align-items:center;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response__header .tox-icon svg{fill:var(--tox-private-color-tint,#207ab7)}.tox .tox-ai .tox-ai__response-status{display:flex;color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));font-size:var(--tox-private-font-size-sm, 14px);gap:var(--tox-private-pad-xs,4px);line-height:var(--tox-private-tinymceai-response-status-icon-height, max(24px, calc(14px + 4px)));padding-top:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response-status svg{fill:var(--tox-private-text-color-muted,rgba(34,47,62,0.7))}.tox .tox-ai .tox-ai__response-status-icon{border-radius:999px;border:1px solid var(--tox-private-neutral-20,#e3e3e3);background-color:var(--tox-private-background-color,#fff);height:var(--tox-private-tinymceai-response-status-icon-height,max(24px,calc(14px + 4px)));flex:0 0 24px;display:flex;align-items:center;justify-content:center}.tox .tox-ai .tox-ai__response-status-icon .tox-icon{display:contents}.tox .tox-ai .tox-ai__response-status-icon+.tox-ai__response-status-icon{margin-left:calc((var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px)) * -1)}.tox .tox-ai .tox-ai__icon{display:flex;align-items:center;justify-content:center}.tox .tox-ai .tox-ai__response-sources{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response-sources-header{display:block}.tox .tox-ai .tox-ai__response-sources-list{display:flex;align-items:center;gap:var(--tox-private-pad-sm,8px);align-self:stretch;flex-wrap:wrap}.tox .tox-ai .tox-ai__response-sources-list .tox-tag{border:1px solid var(--tox-private-separator-color,#c1c1c1);background-color:transparent;max-width:32%;max-height:24px;cursor:pointer}.tox .tox-ai .tox-ai__response-sources-list .tox-tag img,.tox .tox-ai .tox-ai__response-sources-list .tox-tag svg{width:16px;height:16px;min-width:16px;min-height:16px;max-width:16px;max-height:16px}.tox .tox-ai .tox-ai__response-content{padding:var(--tox-private-pad-sm,8px) 0;color:var(--tox-private-text-color,#222f3e);font-feature-settings:'liga' off,'clig' off;font-size:var(--tox-private-font-size-sm, 14px);font-style:normal;font-weight:var(--tox-private-font-weight-normal,normal);line-height:var(--tox-private-line-height, 18px);display:flex;flex-direction:column}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming{position:relative}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming .tox-ai__response-status{color:var(--tox-private-text-color,#222f3e);font-size:var(--tox-private-font-size-md, 16px);line-height:calc(var(--tox-private-font-size-md, 16px) + 4px)}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming::after{content:'';position:absolute;bottom:0;left:0;right:0;height:min(100px,100%);pointer-events:none;background:linear-gradient(to bottom,transparent 60px,transparent 60px,var(--tox-private-background-color,#fff))}.tox .tox-ai .tox-ai-error{border-radius:var(--tox-private-panel-border-radius,3px);border:1px solid var(--tox-private-color-error,#c00);background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#fff) r g b / .9) 0,rgba(from var(--tox-private-background-color,#fff) r g b / .9) 100%),var(--tox-private-color-error,#c00);padding:var(--tox-private-pad-sm,8px);width:100%;display:flex;gap:var(--tox-private-pad-sm,8px);align-items:center}.tox .tox-ai .tox-ai-error__message{flex:1 0 0}.tox .tox-ai .tox-ai-error__icon{flex:0 0 auto;align-self:flex-start}.tox .tox-ai .tox-ai__footer{padding:calc(12px - var(--tox-private-tinymceai-focus-border-width,2px));gap:var(--tox-private-pad-sm,8px);background-color:var(--tox-private-background-color,#fff);display:flex;flex-direction:column;border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-background-color,#fff);border-top:1px solid var(--tox-private-separator-color,#c1c1c1)}.tox .tox-ai .tox-ai__footer:focus-visible:not(:disabled){border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#207ab7);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-ai__context{display:flex;gap:var(--tox-private-pad-sm,8px);flex-wrap:wrap;max-height:calc((2 * (2 * var(--tox-private-pad-xs,4px) + var(--tox-private-base-value,16px))) + var(--tox-private-pad-sm,8px))}.tox .tox-ai .tox-ai__context .tox-tag{max-width:calc((100% - var(--tox-private-pad-sm,8px))/ 2)}.tox .tox-ai .tox-ai__context-more{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px);padding:var(--tox-private-pad-sm,8px);overflow:auto;max-width:var(--tox-private-tinymceai-context-more-max-width,320px)}.tox .tox-ai .tox-ai__context-more .tox-tag{max-width:100%}.tox .tox-ai .tox-ai__stop-generating{display:flex;align-items:center;gap:6px}.tox .tox-ai .tox-ai__footer-actions{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-model-selection-button{display:flex;gap:var(--tox-private-pad-xs,4px)}.tox .tox-ai .tox-ai__footer-note{align-items:center;color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));display:flex;font-size:var(--tox-private-font-size-xs, 12px);height:24px;justify-content:center;letter-spacing:0;padding-top:var(--tox-private-pad-sm,8px);width:100%}.tox .tox-ai .tox-ai__models-menu{max-width:350px}.tox .tox-ai .tox-ai__models-menu .tox-menu{max-height:inherit;padding:var(--tox-private-pad-xs,4px)}.tox .tox-ai .tox-ai__models-menu__item__description{display:flex;flex-direction:column;align-items:start}.tox .tox-ai .tox-ai__models-menu__item__description__title{font-weight:var(--tox-private-font-weight-bold,bold);font-size:var(--tox-private-font-size-sm, 14px);line-height:calc(var(--tox-private-font-size-sm, 14px) * 1.28572);padding-bottom:4px}.tox .tox-ai .tox-ai__models-menu__item__description__content{color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));font-size:var(--tox-private-font-size-xs, 12px);line-height:calc(var(--tox-private-font-size-xs, 12px) * 1.33333)}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content{color:inherit}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content .tox-ai__models-menu__item__description__ability{color:var(--tox-private-color-white,#fff)}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content .tox-ai__models-menu__item__description__content_body{color:rgba(from var(--tox-private-color-white,#fff) r g b / .7)}.tox .tox-ai .tox-ai__models-menu__item__description__ability{color:var(--tox-private-text-color,#222f3e);padding-bottom:4px}.tox .tox-ai .tox-ai__models-menu__item__description__ability__enabled{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-ai .tox-ai-chat-history-list{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px);padding-top:var(--tox-private-pad-xs,4px);width:100%}.tox .tox-ai .tox-ai-chat-history-list .tox-collection__group{gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-chat-history-list__title{color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:18px;letter-spacing:1px}.tox .tox-ai .tox-ai-chat-history-list__item{display:flex;padding:12px;gap:var(--tox-private-pad-sm,8px);border-radius:var(--tox-private-control-border-radius,3px);cursor:pointer}.tox .tox-ai .tox-ai-chat-history-list__item.tox-ai-chat-history-list__item--active{background-color:var(--tox-private-background-secondary,#f0f0f0)}.tox .tox-ai .tox-ai-chat-history-list__item:focus,.tox .tox-ai .tox-ai-chat-history-list__item:focus-visible{background-color:var(--tox-private-background-secondary,#f0f0f0)}.tox .tox-ai .tox-ai-chat-history-list__item.tox-ai-chat-history-list__item-edit-title{background-color:var(--tox-private-background-secondary,#f0f0f0);flex-direction:column}.tox .tox-ai .tox-ai-chat-history-list__item-edit-actions{display:flex;justify-content:flex-end;width:100%;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-chat-history-list__item-edit-actions .tox-ai__spinner svg{fill:rgba(from var(--tox-private-color-white,#fff) r g b / 0.5)}.tox .tox-ai .tox-ai-chat-history-list__item-content{display:flex;flex-direction:column;margin-right:auto;overflow:hidden}.tox .tox-ai .tox-ai-chat-history-list__item-actions{display:flex;align-items:center;min-width:calc(24px + (var(--tox-private-pad-xs,4px) + 1px)*2)}.tox .tox-ai .tox-ai-chat-history-list__item-content-title{color:var(--tox-private-text-color,#222f3e);font-size:var(--tox-private-font-size-base, 16px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:var(--tox-private-font-size-lg, 20px);overflow:hidden;text-overflow:ellipsis}.tox .tox-ai .tox-ai-chat-history-list__item-content-date{color:var(--tox-private-text-color,#222f3e);font-size:var(--tox-private-font-size-xs, 12px);line-height:var(--tox-private-line-height-base, 1.3)}.tox .tox-ai .tox-sidebar-content__message{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;gap:var(--tox-private-pad-md,16px);width:100%}.tox .tox-ai .tox-sidebar-content__message-text{text-align:center;color:var(--tox-private-text-color,#222f3e);font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:20px}.tox .tox-ai .tox-sidebar-content__message-action{display:flex;justify-content:center;align-items:center;align-self:stretch}.tox .tox-ai .tox-ai-chat-action-button{line-height:var(--tox-private-base-value, 16px);font-size:var(--tox-private-font-size-xs, 12px);padding:6px var(--tox-private-pad-sm,8px);margin:var(--tox-private-pad-xs,4px) 0;font-weight:var(--tox-private-font-weight-normal,normal);width:min-content}.tox .tox-ai .tox-ai-chat-action-button .tox-icon{display:inline-flex;align-items:center;justify-content:center;height:16px;width:16px;overflow:hidden}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg{display:block;flex:none;fill:var(--tox-private-tinymceai-chat-action-button-icon-color,#207ab7)}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='24'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='24px']{transform:scale(calc(16 / 24))}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='20'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='20px']{transform:scale(calc(16 / 20))}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='18'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='18px']{transform:scale(calc(16 / 18))}.tox .tox-ai .tox-ai-chat-action-button:not(:has(+ .tox-ai-chat-action-button)){margin-bottom:var(--tox-private-pad-sm,8px)}.tox .tox-ai-removed-content{font-style:italic;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));line-height:var(--tox-private-line-height-base, 1.3);margin:0 1em}.tox .tox-ai-removed-content::before{content:"⊘ ";font-style:normal;font-size:calc(var(--tox-private-line-height-base, 1.3) * 1em)}.tox .tox-ai-html-content{font-size:var(--tox-private-font-size-md, 16px);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color,#222f3e);line-height:var(--tox-private-line-height-base, 1.3);overflow-x:auto}.tox .tox-ai-html-content:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#207ab7);outline-offset:var(--tox-private-tinymceai-html-content-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai-html-content h1{font-size:1.6em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.67em 0}.tox .tox-ai-html-content h2{font-size:1.4em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.83em 0}.tox .tox-ai-html-content h3{font-size:1.2em;font-weight:var(--tox-private-font-weight-bold,bold);margin:1em 0}.tox .tox-ai-html-content h4,.tox .tox-ai-html-content h5,.tox .tox-ai-html-content h6{font-size:1em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.33em 0}.tox .tox-ai-html-content p{margin:var(--tox-private-pad-sm,8px) 0}.tox .tox-ai-html-content ol,.tox .tox-ai-html-content ul{padding-left:2em;margin:1em 0}.tox .tox-ai-html-content li:has(input:first-child){list-style-type:none}.tox .tox-ai-html-content a{color:var(--tox-private-color-tint,#207ab7);-webkit-text-decoration:underline;text-decoration:underline;cursor:pointer}.tox .tox-ai-html-content a:link:active,.tox .tox-ai-html-content a:visited:active{color:#8864ad}.tox .tox-ai-html-content blockquote{border-left:2px solid var(--tox-private-separator-color,#c1c1c1);margin-left:1.5rem;padding-left:1rem;font-style:italic}.tox .tox-ai-html-content code{font-family:ui-monospace,monospace;background:var(--tox-private-separator-color,#c1c1c1);padding:.1em .2em;border-radius:4px}.tox .tox-ai-html-content pre code{display:block;font-family:ui-monospace,monospace;background:var(--tox-private-separator-color,#c1c1c1);border-radius:4px;white-space:pre-wrap;margin:1em 0;overflow-wrap:break-word}.tox .tox-ai-html-content hr{border:none;border-top:1px solid var(--tox-private-border-color,#ccc)}.tox .tox-ai-html-content table{width:100%;border-collapse:collapse;margin:.5em 0;font-size:.95em;line-height:1.45}.tox .tox-ai-html-content table:not([cellpadding]) td,.tox .tox-ai-html-content table:not([cellpadding]) th{padding:.4rem}.tox .tox-ai-html-content td,.tox .tox-ai-html-content th{border:1px solid var(--tox-private-border-color,#ccc)}.tox .tox-ai-html-content th{font-weight:var(--tox-private-font-weight-bold,bold);text-align:left;white-space:nowrap}.tox .tox-ai-html-content b,.tox .tox-ai-html-content strong{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-ai-html-content em,.tox .tox-ai-html-content i{font-style:italic}.tox .tox-ai-html-content del{-webkit-text-decoration:line-through;text-decoration:line-through}.tox .tox-ai-html-content sub,.tox .tox-ai-html-content sup{font-size:.75em;line-height:0;vertical-align:baseline}.tox .tox-ai-html-content sup{vertical-align:super}.tox .tox-ai-html-content sub{vertical-align:sub}.tox .tox-ai-html-content mark{background:hsl(from var(--tox-private-color-active,#ffcf30) h s l / 30%);padding:.05em .2em;border-radius:2px}.tox .tox-ai-html-content small{font-size:.85em}.tox .tox-ai-html-content kbd{font-family:ui-monospace,monospace;font-size:.85em;padding:.15em .4em;border-radius:4px;border:1px solid var(--tox-private-border-color,#ccc);background:var(--tox-private-separator-color,#c1c1c1);box-shadow:inset 0 -1px 0 var(--tox-private-border-color,#ccc)}.tox .tox-ai-html-content img{max-width:100%;height:auto;vertical-align:middle;border-radius:4px}.tox .tox-expandable-box__content .tox-ai-html-content+.tox-ai-html-content::before,.tox .tox-expandable-box__content .tox-ai-html-content:has(+ .tox-ai-removed-content)::after,.tox .tox-expandable-box__content .tox-ai-removed-content+.tox-ai-html-content::before{content:"〰〰";color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));text-align:center;width:100%;display:block}.tox .tox-diff-preview{display:contents}.tox .tox-diff-preview__host{height:100%;position:relative;flex:1 1 0}.tox .tox-diff-preview__host:empty{pointer-events:none}.tox .tox-diff-preview__layer{display:flex;flex-direction:column;inset:0;position:absolute}.tox .tox-diff-preview__layer--loading .tox-diff-preview__frame{pointer-events:none;visibility:hidden}.tox .tox-diff-preview__viewport{flex:1 1 auto;min-height:0;position:relative}.tox .tox-diff-preview__frame{background-color:#fff;border:0;height:100%;min-height:0;position:relative;width:100%}.tox .tox-diff-preview__footer{background-color:var(--tox-private-background-color,#fff);border-top:1px solid #e3e3e3;flex:0 0 auto}.tox .tox-diff-preview__toolbar{display:flex;gap:8px;justify-content:flex-end;padding:12px 16px}.tox .tox-ai__preview-overlay{position:absolute;inset:0;width:100%;height:100%;font-size:14px}.tox .tox-ai__preview-overlay--hidden{visibility:hidden}.tox .tox-ai__preview-overlay--pass-through{pointer-events:none}.tox .tox-ai__preview-overlay--dim{background:rgba(34,47,62,.2)}.tox .tox-ai__preview-overlay--centered{display:flex;align-items:center;justify-content:center}.tox .tox-ai__preview-overlay--clipped{overflow:clip}.tox .tox-tinymceai-previewloader{display:flex;align-items:center;gap:var(--tox-private-pad-md,16px);padding:var(--tox-private-pad-sm,8px);border-radius:var(--tox-private-panel-border-radius,3px);box-shadow:var(--tox-private-ai-preview-loader-box-shadow,0 0 40px 1px rgba(34,47,62,.15),0 16px 16px -10px rgba(34,47,62,.15));background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color,#222f3e);pointer-events:auto}.tox .tox-tinymceai-previewloader__content{display:flex;align-items:center;justify-content:center;padding:0 var(--tox-private-pad-xs,4px);gap:var(--tox-private-pad-sm,8px)}.tox .tox-selector{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;display:inline-block;height:10px;position:absolute;width:10px}.tox.tox-platform-touch .tox-selector{height:12px;width:12px}.tox .tox-skeleton .tox-skeleton__line{height:16px;width:100%;background:linear-gradient(to right,rgba(240,240,240,.5) 8%,rgba(240,240,240,.7) 18%,rgba(240,240,240,.5) 33%);animation:wave 2s infinite ease-out}.tox .tox-skeleton .tox-skeleton__circle{height:36px;width:36px;margin-right:8px;border-radius:100%;background:linear-gradient(to right,rgba(240,240,240,.5) 8%,rgba(240,240,240,.7) 18%,rgba(240,240,240,.5) 33%);animation:wave 2s infinite ease-out}@keyframes wave{0%{background-position:-268px 0}100%{background-position:268px 0}}.tox .tox-slider{align-items:center;display:flex;flex:1;height:24px;justify-content:center;position:relative}.tox .tox-slider__rail{background-color:transparent;border:1px solid #ccc;border-radius:3px;height:10px;min-width:120px;width:100%}.tox .tox-slider__handle{background-color:#207ab7;border:2px solid #185d8c;border-radius:3px;box-shadow:none;height:24px;left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%);width:14px}.tox .tox-form__controls-h-stack>.tox-slider:not(:first-of-type){margin-inline-start:8px}.tox .tox-form__controls-h-stack>.tox-form__group+.tox-slider{margin-inline-start:32px}.tox .tox-form__controls-h-stack>.tox-slider+.tox-form__group{margin-inline-start:32px}.tox .tox-toolbar-slider{align-items:center;display:inline-flex;height:16px}.tox .tox-toolbar-slider__input{appearance:none;background:#ccc;border-radius:16px;width:130px;height:2px}.tox .tox-toolbar-slider__input::-webkit-slider-runnable-track{background-color:transparent;height:16px}.tox .tox-toolbar-slider__input::-moz-range-track{background-color:transparent;height:16px}.tox .tox-toolbar-slider__input::-webkit-slider-thumb{-webkit-appearance:none;background-color:#207ab7;border-radius:16px;border:none;height:16px;width:16px}.tox .tox-toolbar-slider__input::-moz-range-thumb{appearance:none;background-color:#207ab7;border-radius:16px;border:none;height:16px;width:16px}.tox .tox-toolbar-slider__input:focus-visible{outline:0}.tox .tox-toolbar-slider__input:focus::-webkit-slider-thumb{background-color:#1c6ca1;box-shadow:inset 0 0 0 1px #fff,0 0 0 2px #207ab7}.tox .tox-toolbar-slider__input:focus::-moz-range-thumb{background-color:#1c6ca1;box-shadow:inset 0 0 0 1px #fff,0 0 0 2px #207ab7}.tox .tox-toolbar-slider__input:hover::-webkit-slider-thumb{background-color:#1c6ca1}.tox .tox-toolbar-slider__input:hover::-moz-range-thumb{background-color:#1c6ca1}.tox .tox-toolbar-slider__input:active::-webkit-slider-thumb{background-color:#185d8c}.tox .tox-toolbar-slider__input:active::-moz-range-thumb{background-color:#185d8c}.tox .tox-toolbar-slider__input[disabled]::-webkit-slider-thumb{background-color:rgba(255,255,255,.5)}.tox .tox-toolbar-slider__input[disabled]::-moz-range-thumb{background-color:rgba(255,255,255,.5)}.tox .tox-source-code{overflow:auto}.tox .tox-spinner{display:flex}.tox .tox-spinner>div{animation:tam-bouncing-dots 1.5s ease-in-out 0s infinite both;background-color:rgba(34,47,62,.7);border-radius:100%;height:8px;width:8px}.tox .tox-spinner>div:first-child{animation-delay:-.32s}.tox .tox-spinner>div:nth-child(2){animation-delay:-.16s}@keyframes tam-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox:not([dir=rtl]) .tox-spinner>div:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-spinner>div:not(:first-child){margin-right:4px}.tox .tox-ai__spinner{--tox-private-spinner-color:var(--tox-private-color-tint, #207ab7);--tox-private-spinner-size:24px;--tox-private-spinner-circle-width:3px;--tox-private-spinner-dot-size:6px;width:var(--tox-private-spinner-size);aspect-ratio:1/1}.tox .tox-ai__spinner--small{--tox-private-spinner-size:16px;--tox-private-spinner-circle-width:2px;--tox-private-spinner-dot-size:4px}.tox .tox-ai__spinner--circle{animation:tox-rotation 1s linear infinite;border-radius:50%;background:conic-gradient(var(--tox-private-spinner-color) 0 calc(360deg - 30deg),transparent calc(360deg - 30deg) 100%);mask:radial-gradient(calc((var(--tox-private-spinner-size) - var(--tox-private-spinner-circle-width) * 2)/ 2),#0000 98%,#000)}.tox .tox-ai__spinner--dots{display:flex;align-items:center;justify-content:center;gap:1px}.tox .tox-ai__spinner--dots>div{animation:tox-bouncing-dots 1.5s ease-in-out 0s infinite both;aspect-ratio:1/1;width:var(--tox-private-spinner-dot-size);background-color:var(--tox-private-spinner-color);border-radius:100%}.tox .tox-ai__spinner--dots>div:first-child{animation-delay:-.32s}.tox .tox-ai__spinner--dots>div:nth-child(2){animation-delay:-.16s}.tox .tox-tinymceai__annotation--added,.tox .tox-tinymceai__annotation--modified,.tox .tox-tinymceai__annotation--removed{padding-block:calc((1lh - 1.1em)/ 2);-webkit-text-decoration:none;text-decoration:none;background-repeat:no-repeat;text-decoration-thickness:max(1px,0.07em)}.tox .tox-tinymceai__annotation--added__highlight{background-position:bottom;background-image:linear-gradient(rgba(120,171,70,.2) calc(100% - 2px),#78ab46 calc(100% - 2px))}.tox .tox-tinymceai__annotation--added__selected{background-image:none;background-color:rgba(120,171,70,.2);box-shadow:0 2px 0 0 #207ab7,0 -2px 0 0 #207ab7}.tox .tox-tinymceai__annotation--modified__highlight{background-position:bottom;background-image:linear-gradient(rgba(32,122,183,.2) calc(100% - 2px),#207ab7 calc(100% - 2px))}.tox .tox-tinymceai__annotation--modified__selected{background-image:none;background-color:rgba(32,122,183,.2);box-shadow:0 2px 0 0 #207ab7,0 -2px 0 0 #207ab7}.tox .tox-tinymceai__annotation--removed__highlight{-webkit-text-decoration:line-through;text-decoration:line-through;background-position:bottom;background-image:linear-gradient(rgba(204,0,0,.2) calc(100% - 2px),#c00 calc(100% - 2px))}.tox .tox-tinymceai__annotation--removed__selected{-webkit-text-decoration:line-through;text-decoration:line-through;background-image:none;background-color:rgba(204,0,0,.2);box-shadow:0 2px 0 0 #207ab7,0 -2px 0 0 #207ab7}.tox .mce-object.tox-tinymceai__annotation--added,.tox .mce-object.tox-tinymceai__annotation--modified,.tox .mce-object.tox-tinymceai__annotation--removed,.tox .mce-preview-object.tox-tinymceai__annotation--added,.tox .mce-preview-object.tox-tinymceai__annotation--modified,.tox .mce-preview-object.tox-tinymceai__annotation--removed,.tox iframe.tox-tinymceai__annotation--added,.tox iframe.tox-tinymceai__annotation--modified,.tox iframe.tox-tinymceai__annotation--removed,.tox img.tox-tinymceai__annotation--added,.tox img.tox-tinymceai__annotation--modified,.tox img.tox-tinymceai__annotation--removed,.tox video.tox-tinymceai__annotation--added,.tox video.tox-tinymceai__annotation--modified,.tox video.tox-tinymceai__annotation--removed{padding-block:0;vertical-align:top}.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object),.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object),.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object){padding-block:0}.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) video,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) video,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) video{vertical-align:top}.tox del.tox-tinymceai__annotation--added__selected,.tox ins.tox-tinymceai__annotation--added__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#207ab7 3px,rgba(120,171,70,.2) 3px,rgba(120,171,70,.2) calc(100% - 3px),#207ab7 calc(100% - 3px))}.tox del.tox-tinymceai__annotation--modified__selected,.tox ins.tox-tinymceai__annotation--modified__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#207ab7 3px,rgba(32,122,183,.2) 3px,rgba(32,122,183,.2) calc(100% - 3px),#207ab7 calc(100% - 3px))}.tox del.tox-tinymceai__annotation--removed__selected,.tox ins.tox-tinymceai__annotation--removed__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#207ab7 3px,rgba(204,0,0,.2) 3px,rgba(204,0,0,.2) calc(100% - 3px),#207ab7 calc(100% - 3px))}.tox .tox-tinymceai__annotation--added.tox-tinymceai__annotation--added__hidden,.tox .tox-tinymceai__annotation--modified.tox-tinymceai__annotation--modified__hidden,.tox .tox-tinymceai__annotation--removed.tox-tinymceai__annotation--removed__hidden{display:none;-webkit-text-decoration:none;text-decoration:none}.tox :has(> div > iframe).tox-tinymceai__annotation--added,.tox :has(> div > iframe).tox-tinymceai__annotation--modified,.tox :has(> div > iframe).tox-tinymceai__annotation--removed{padding:7px;margin:5px}.tox iframe.tox-tinymceai__annotation--added__highlight,.tox img.tox-tinymceai__annotation--added__highlight,.tox video.tox-tinymceai__annotation--added__highlight{background-color:#e4eeda;background-image:none;border:2px solid #78ab46;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--added__selected,.tox img.tox-tinymceai__annotation--added__selected,.tox video.tox-tinymceai__annotation--added__selected{background-color:#e4eeda;background-image:none;border:2px solid #78ab46;padding:0;vertical-align:top;border-color:#e4eeda;outline:2px solid #207ab7}.tox iframe.tox-tinymceai__annotation--modified__highlight,.tox img.tox-tinymceai__annotation--modified__highlight,.tox video.tox-tinymceai__annotation--modified__highlight{background-color:#d2e4f1;background-image:none;border:2px solid #207ab7;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--modified__selected,.tox img.tox-tinymceai__annotation--modified__selected,.tox video.tox-tinymceai__annotation--modified__selected{background-color:#d2e4f1;background-image:none;border:2px solid #207ab7;padding:0;vertical-align:top;border-color:#d2e4f1;outline:2px solid #207ab7}.tox iframe.tox-tinymceai__annotation--removed__highlight,.tox img.tox-tinymceai__annotation--removed__highlight,.tox video.tox-tinymceai__annotation--removed__highlight{background-color:#f5cccc;background-image:none;border:2px solid #c00;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--removed__selected,.tox img.tox-tinymceai__annotation--removed__selected,.tox video.tox-tinymceai__annotation--removed__selected{background-color:#f5cccc;background-image:none;border:2px solid #c00;padding:0;vertical-align:top;border-color:#f5cccc;outline:2px solid #207ab7}.tox .tox-tinymceai__annotation--removed__highlight iframe,.tox .tox-tinymceai__annotation--removed__highlight img,.tox .tox-tinymceai__annotation--removed__highlight video,.tox .tox-tinymceai__annotation--removed__selected iframe,.tox .tox-tinymceai__annotation--removed__selected img,.tox .tox-tinymceai__annotation--removed__selected video{background-color:#f5cccc;background-image:none;border:2px solid #c00;padding:0;vertical-align:top}.tox .tox-tinymceai__annotation--removed__selected iframe,.tox .tox-tinymceai__annotation--removed__selected img,.tox .tox-tinymceai__annotation--removed__selected video{border-color:#f5cccc;outline:2px solid #207ab7}.tox div.tox-tinymceai__annotation:has(> hr){background-size:auto;padding:.25em}.tox div.tox-tinymceai__annotation--removed__highlight>hr{border-color:rgba(0,0,0,.2)}.tox div.tox-tinymceai__annotation--added__highlight>hr{border-color:rgba(0,0,0,.2)}.tox .tox-tinymceai__deleted-media-overlay{inset:0;overflow:hidden;pointer-events:none;position:absolute;z-index:11}.tox .tox-tinymceai__deleted-media-wash{fill:#fff;fill-opacity:0.4}.tox .tox-tinymceai__deleted-media-mark{stroke:#c00}.tox .tox-tinymceai__deleted-media-halo{stroke:#fff}.tox .mce-pagebreak.tox-tinymceai__annotation--added__selected,.tox .mce-pagebreak.tox-tinymceai__annotation--modified__selected,.tox .mce-pagebreak.tox-tinymceai__annotation--removed__selected{border:1px dashed #aaa;box-shadow:none;background-image:none}.tox .mce-pagebreak.tox-tinymceai__annotation--added__highlight,.tox .mce-pagebreak.tox-tinymceai__annotation--modified__highlight,.tox .mce-pagebreak.tox-tinymceai__annotation--removed__highlight{padding:0}.tox .tox-tinymceai__diff-focus-overlay{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:10}.tox .tox-tinymceai__diff-focus-overlay-dim{fill:rgba(34,47,62,0.2)}.tox .tox-ai__scroll:has(.tox-card-group){padding-top:0}.tox .tox-ai__scroll:has(.tox-card-group) .tox-ai__review-sidebar-container .tox-card-list{gap:0}.tox .tox-ai__scroll .tox-ai__review-sidebar-container{scrollbar-gutter:stable;width:100%;height:100%;display:flex;flex-direction:column;gap:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-card-list{gap:8px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-card-group__title{margin-inline:-12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-initializing{padding:var(--tox-private-pad-md,16px)}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-description{padding-bottom:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));font-size:var(--tox-private-font-size-sm, 14px)}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-choose-container{padding-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-custom-input{margin-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-custom-actions{display:flex;gap:8px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container{margin-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container button.tox-ai__review-input-button{width:100%;background-color:var(--tox-private-background-color,#fff);display:flex;justify-content:space-between;align-items:center;border:1px solid #ccc;border-radius:3px;box-sizing:border-box}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container .tox-ai__review-dropdown-content{width:anchor-size(width)}.tox .tox-statusbar{align-items:center;background-color:#fff;border-top:1px solid #ccc;color:rgba(34,47,62,.7);display:flex;flex:0 0 auto;font-size:12px;font-weight:400;height:18px;overflow:hidden;padding:0 8px;position:relative;text-transform:uppercase}.tox .tox-statusbar__path{display:flex;flex:1 1 auto;text-overflow:ellipsis;white-space:nowrap}.tox .tox-statusbar__right-container{display:flex;justify-content:flex-end;white-space:nowrap}.tox .tox-statusbar__help-text{text-align:center}.tox .tox-statusbar__text-container{align-items:flex-start;display:flex;flex:1 1 auto;height:16px;justify-content:space-between}@media only screen and (min-width:768px){.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__help-text,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__path,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__right-container{flex:0 0 calc(100% / 3)}}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-end{justify-content:flex-end}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-start{justify-content:flex-start}.tox .tox-statusbar__text-container.tox-statusbar__text-container--space-around{justify-content:space-around}.tox .tox-statusbar__path>*{display:inline;white-space:nowrap}.tox .tox-statusbar__wordcount{flex:0 0 auto;margin-left:1ch}@media only screen and (max-width:767px){.tox .tox-statusbar__text-container .tox-statusbar__help-text{display:none}.tox .tox-statusbar__text-container .tox-statusbar__help-text:only-child{display:block}}.tox .tox-statusbar a,.tox .tox-statusbar__path-item,.tox .tox-statusbar__wordcount{color:rgba(34,47,62,.7);position:relative;-webkit-text-decoration:none;text-decoration:none}.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]){color:#222f3e;cursor:pointer}.tox .tox-statusbar a:focus-visible::after,.tox .tox-statusbar__path-item:focus-visible::after,.tox .tox-statusbar__wordcount:focus-visible::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-statusbar a:focus-visible::after,.tox .tox-statusbar__path-item:focus-visible::after,.tox .tox-statusbar__wordcount:focus-visible::after{border:2px solid highlight}}.tox .tox-statusbar__branding svg{fill:rgba(34,47,62,0.8);height:1em;margin-left:.3em;width:auto}@media (forced-colors:active){.tox .tox-statusbar__branding svg{fill:currentColor}}.tox .tox-statusbar__branding a{align-items:center;display:inline-flex}.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg,.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg{fill:#222f3e}.tox .tox-statusbar__resize-cursor-default{cursor:ns-resize}.tox .tox-statusbar__resize-cursor-both{cursor:nwse-resize}.tox .tox-statusbar__resize-handle{align-items:flex-end;align-self:stretch;display:flex;flex:0 0 auto;justify-content:flex-end;margin-bottom:3px;margin-left:4px;margin-right:calc(3px - 8px);margin-top:3px;padding-bottom:0;padding-left:0;padding-right:0;position:relative}.tox .tox-statusbar__resize-handle svg{display:block;fill:rgba(34,47,62,0.5)}.tox .tox-statusbar__resize-handle:focus svg,.tox .tox-statusbar__resize-handle:hover svg{fill:#222f3e}.tox .tox-statusbar__resize-handle:focus-visible{background-color:transparent;border-radius:1px 1px -4px 1px;box-shadow:0 0 0 2px transparent}.tox .tox-statusbar__resize-handle:focus-visible::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-statusbar__resize-handle:focus-visible::after{border:2px solid highlight}}.tox .tox-statusbar__resize-handle:only-child{margin-left:auto}.tox:not([dir=rtl]) .tox-statusbar__path>*{margin-right:4px}.tox:not([dir=rtl]) .tox-statusbar__branding{margin-left:2ch}.tox[dir=rtl] .tox-statusbar{flex-direction:row-reverse}.tox[dir=rtl] .tox-statusbar__path>*{margin-left:4px}.tox[dir=rtl] .tox-statusbar__branding svg{margin-left:0;margin-right:.3em}.tox a.tox-tag{cursor:pointer}.tox .tox-tag{width:fit-content;box-sizing:border-box;display:flex;padding:var(--tox-private-pad-xs,4px) 6px;position:relative;align-items:center;gap:var(--tox-private-pad-xs,4px);border-radius:3px;background:hsl(from var(--tox-private-color-tint,#207ab7) h s l / 10%);line-height:var(--tox-private-base-value, 16px);font-size:var(--tox-private-font-size-xs, 12px)}.tox .tox-tag::before{border-radius:var(--tox-private-control-border-radius,3px);bottom:calc(-1 * var(--tox-private-tag-border-width,1px));box-shadow:var(--tox-private-tag-focus-outline,inset 0 0 0 1px #fff,0 0 0 2px #207ab7);content:'';left:calc(-1 * var(--tox-private-tag-border-width,1px));opacity:0;pointer-events:none;position:absolute;right:calc(-1 * var(--tox-private-tag-border-width,1px));top:calc(-1 * var(--tox-private-tag-border-width,1px))}.tox .tox-tag:focus:not(:disabled)::before{opacity:1}.tox .tox-tag>*{flex-shrink:0}.tox .tox-tag .tox-icon{height:var(--tox-private-base-value,16px);fill:var(--tox-private-text-color,#222f3e)}.tox .tox-tag .tox-tag__label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;flex-shrink:1;color:var(--tox-private-text-color,#222f3e)}.tox .tox-tag .tox-tag__close{height:var(--tox-private-base-value,16px)}.tox .tox-tag .tox-tag__close .tox-button.tox-button--icon{border:0;padding:0;color:var(--tox-private-text-color-muted,rgba(34,47,62,.7))}.tox .tox-tag .tox-tag__close .tox-button.tox-button--icon::before{box-shadow:none}.tox .tox-throbber{z-index:1299}.tox .tox-throbber__busy-spinner{align-items:center;background-color:rgba(255,255,255,.6);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.tox .tox-segmented-control{display:inline-flex;position:relative;border:none;border-radius:var(--tox-private-control-border-radius,3px);box-shadow:inset 0 0 0 1px var(--tox-private-segmented-control-border-color,#e3e3e3);overflow:hidden;padding:var(--tox-private-pad-xs,4px);background-color:var(--tox-private-background-color,#fff)}.tox .tox-segmented-control__segment{flex:1;padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-sm,8px);cursor:pointer;background:0 0;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:16px;border:1px solid transparent;border-radius:calc(var(--tox-private-control-border-radius,3px) - 1px);text-align:center;white-space:nowrap;display:inline-block;vertical-align:middle;color:var(--tox-private-segmented-control-text-color,#222f3e)}.tox .tox-segmented-control__segment--active{border-color:var(--tox-private-segmented-control-active-border-color,#207ab7);color:var(--tox-private-segmented-control-active-text-color,#207ab7);background-color:var(--tox-private-segmented-control-active-bg-color,rgba(32,122,183,.1))}.tox .tox-segmented-control:not(.tox-segmented-control--disabled) .tox-segmented-control__segment{transition:all .2s}.tox .tox-segmented-control.tox-segmented-control--disabled .tox-segmented-control__segment{opacity:.5;cursor:not-allowed;pointer-events:none}.tox .tox-segmented-control__segment:focus{outline:2px solid var(--tox-private-color-tint,#207ab7);outline-offset:2px}.tox .tox-segmented-control__segment:focus:not(:focus-visible){outline:0}.tox .tox-toggle{display:flex;align-items:center;gap:var(--tox-private-pad-xs,4px);padding:var(--tox-private-pad-xs,4px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:var(--tox-private-control-line-height, 24px);white-space:nowrap;background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color,#222f3e)}.tox .tox-toggle input{position:absolute;opacity:0;width:0;height:0}.tox .tox-toggle__slider{position:relative;cursor:pointer;box-sizing:border-box;transition:.4s;border-radius:34px;width:28px;height:16px;background-color:var(--tox-private-slider-background-color,#fff);border:1px solid var(--tox-private-slider-border-color,#e3e3e3)}.tox .tox-toggle__slider::before{position:absolute;content:"";height:12px;width:12px;left:1px;bottom:1px;transition:.4s;border-radius:50%;background-color:var(--tox-private-slider-handle-background-color,#222f3e)}.tox input:checked+.tox-toggle__slider{background-color:var(--tox-private-slider-checked-background-color,#207ab7);border:1px solid var(--tox-private-slider-checked-border-color,#207ab7)}.tox input:focus+.tox-toggle__slider{box-shadow:0 0 0 1px var(--tox-private-color-white,#fff),0 0 0 2px var(--tox-private-color-tint,#207ab7)}.tox input:checked+.tox-toggle__slider::before{transform:translateX(12px);background-color:var(--tox-private-slider-checked-handle-background-color,#fff)}.tox input:disabled+.tox-toggle__slider::before{opacity:50%}.tox .tox-tbtn{align-items:center;background:#fff;border:0;border-radius:3px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:34px;justify-content:center;margin:3px 0 2px 0;outline:0;padding:0;text-transform:none;width:34px}.tox .tox-tbtn .tox-tbtn__icon-wrap{pointer-events:none}@media (forced-colors:active){.tox .tox-tbtn.tox-tbtn:hover,.tox .tox-tbtn:hover{outline:1px dashed currentColor}.tox .tox-tbtn.tox-tbtn--active,.tox .tox-tbtn.tox-tbtn--enabled,.tox .tox-tbtn.tox-tbtn--enabled:focus,.tox .tox-tbtn.tox-tbtn--enabled:hover,.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){outline:1px solid currentColor;position:relative}}.tox .tox-tbtn svg{display:block;fill:#222f3e}@media (forced-colors:active){.tox .tox-tbtn svg{fill:currentColor!important}.tox .tox-tbtn svg.tox-tbtn--enabled,.tox .tox-tbtn svg:focus:not(.tox-tbtn--disabled){fill:currentColor!important}.tox .tox-tbtn svg .tox-tbtn:disabled,.tox .tox-tbtn svg .tox-tbtn:disabled:hover,.tox .tox-tbtn svg.tox-tbtn--disabled,.tox .tox-tbtn svg.tox-tbtn--disabled:hover{filter:contrast(0%)}}.tox .tox-tbtn.tox-tbtn-more{padding-left:5px;padding-right:5px;width:inherit}.tox .tox-tbtn:focus{background:#dee0e2;border:0;box-shadow:none;position:relative;z-index:1}.tox .tox-tbtn:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-tbtn:focus::after{border:2px solid highlight}}.tox .tox-tbtn:hover{background:#dee0e2;border:0;box-shadow:none;color:#222f3e}.tox .tox-tbtn:hover svg{fill:#222f3e}.tox .tox-tbtn:active{background:#c8cbcf;border:0;box-shadow:none;color:#222f3e}.tox .tox-tbtn:active svg{fill:#222f3e}.tox .tox-tbtn--disabled .tox-tbtn--enabled svg{fill:rgba(34,47,62,0.5)}.tox .tox-tbtn--disabled,.tox .tox-tbtn--disabled:hover,.tox .tox-tbtn:disabled,.tox .tox-tbtn:disabled:hover{background:#fff;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-tbtn--disabled svg,.tox .tox-tbtn--disabled:hover svg,.tox .tox-tbtn:disabled svg,.tox .tox-tbtn:disabled:hover svg{fill:rgba(34,47,62,0.5)}.tox .tox-tbtn--active,.tox .tox-tbtn--enabled,.tox .tox-tbtn--enabled:focus,.tox .tox-tbtn--enabled:hover{background:#c8cbcf;border:0;box-shadow:none;color:#222f3e;position:relative}.tox .tox-tbtn--active>*,.tox .tox-tbtn--enabled:focus>*,.tox .tox-tbtn--enabled:hover>*,.tox .tox-tbtn--enabled>*{transform:none}.tox .tox-tbtn--active svg,.tox .tox-tbtn--enabled svg,.tox .tox-tbtn--enabled:focus svg,.tox .tox-tbtn--enabled:hover svg{fill:#222f3e}.tox .tox-tbtn--active.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled:focus.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled:hover.tox-tbtn--disabled svg{fill:rgba(34,47,62,0.5)}.tox .tox-tbtn--enabled:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-tbtn--enabled:focus::after{border:2px solid highlight}}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){color:#222f3e}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg{fill:#222f3e}.tox .tox-tbtn:active>*{transform:none}.tox .tox-tbtn--md{height:51px;width:51px}.tox .tox-tbtn--lg{flex-direction:column;height:68px;width:68px}.tox .tox-tbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tbtn--labeled{padding:0 4px;width:unset}.tox .tox-tbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-label--context-toolbar{margin:6px 1px 5px 0;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-number-input{background:0 0;border-radius:3px;display:flex;margin:3px 0 2px 0;position:relative;width:auto}.tox .tox-number-input:focus{background:#dee0e2}.tox .tox-number-input:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input:focus::after{border:2px solid highlight}}.tox .tox-number-input .tox-input-wrapper{display:flex;pointer-events:none;position:relative;text-align:center}.tox .tox-number-input .tox-input-wrapper:focus{background-color:#dee0e2;z-index:1}.tox .tox-number-input .tox-input-wrapper:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input .tox-input-wrapper:focus::after{border:2px solid highlight}}.tox .tox-number-input .tox-input-wrapper:has(input:focus)::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input .tox-input-wrapper:has(input:focus)::after{border:2px solid highlight}}.tox .tox-number-input input{border-radius:3px;color:#222f3e;font-size:14px;margin:2px 0;pointer-events:all;position:relative;width:60px}.tox .tox-number-input input:hover{background:#dee0e2;color:#222f3e}.tox .tox-number-input input:focus{background-color:#dee0e2}.tox .tox-number-input input:disabled{background:#fff;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-number-input button{color:#222f3e;height:34px;position:relative;text-align:center;width:24px}@media (forced-colors:active){.tox .tox-number-input button:active,.tox .tox-number-input button:focus,.tox .tox-number-input button:hover{outline:1px solid currentColor!important}}.tox .tox-number-input button svg{display:block;fill:#222f3e;margin:0 auto;transform:scale(.67)}@media (forced-colors:active){.tox .tox-number-input button svg,.tox .tox-number-input button svg:active,.tox .tox-number-input button svg:hover{fill:currentColor!important}.tox .tox-number-input button svg:disabled{filter:contrast(0)}}.tox .tox-number-input button:focus{background:#dee0e2;z-index:1}.tox .tox-number-input button:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input button:focus::after{border:2px solid highlight}}.tox .tox-number-input button:hover{background:#dee0e2;border:0;box-shadow:none;color:#222f3e}.tox .tox-number-input button:hover svg{fill:#222f3e}.tox .tox-number-input button:active{background:#c8cbcf;border:0;box-shadow:none;color:#222f3e}.tox .tox-number-input button:active svg{fill:#222f3e}.tox .tox-number-input button:disabled{background:#fff;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-number-input button:disabled svg{fill:rgba(34,47,62,0.5)}.tox .tox-number-input button.minus{border-radius:3px 0 0 3px}.tox .tox-number-input button.plus{border-radius:0 3px 3px 0}.tox .tox-number-input:focus:not(:active)>.tox-input-wrapper,.tox .tox-number-input:focus:not(:active)>button{background:#dee0e2}.tox .tox-tbtn--select{margin:3px 0 2px 0;padding:0 4px;width:auto}.tox .tox-tbtn--bordered,.tox .tox-tbtn--bordered:focus,.tox .tox-tbtn--bordered:hover{border:1px solid #ccc}.tox .tox-tbtn__select-label{cursor:default;font-weight:400;height:initial;margin:0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-tbtn__select-chevron svg{fill:rgba(34,47,62,0.5)}@media (forced-colors:active){.tox .tox-tbtn__select-chevron svg{fill:currentColor}}.tox .tox-tbtn--bespoke{background:0 0}.tox .tox-tbtn--bespoke:focus{background:#dee0e2}.tox .tox-tbtn--bespoke+.tox-tbtn--bespoke{margin-inline-start:0}.tox .tox-tbtn--bespoke .tox-tbtn__select-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:7em}.tox .tox-tbtn--disabled .tox-tbtn__select-label,.tox .tox-tbtn--select:disabled .tox-tbtn__select-label{cursor:not-allowed}.tox .tox-split-button__main{border-radius:3px 0 0 3px;margin-right:0}.tox .tox-split-button__main:focus{border:0;box-shadow:none;background:#dee0e2;color:#222f3e;position:relative;z-index:1}.tox .tox-split-button__main:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0;border-radius:3px 0 0 3px}@media (forced-colors:active){.tox .tox-split-button__main:focus::after{border:2px solid highlight}}.tox .tox-split-button__chevron{width:16px;border-radius:0 3px 3px 0;margin-left:0}.tox .tox-split-button__chevron:focus{border:0;box-shadow:none;background:#dee0e2;color:#222f3e;position:relative;z-index:1}.tox .tox-split-button__chevron:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0;border-radius:0 3px 3px 0}@media (forced-colors:active){.tox .tox-split-button__chevron:focus::after{border:2px solid highlight}}.tox .tox-split-button__chevron svg{fill:rgba(34,47,62,0.5)}@media (forced-colors:active){.tox .tox-split-button__chevron svg{fill:currentColor}}.tox.tox-platform-touch .tox-split-button__main{width:30px}.tox.tox-platform-touch .tox-split-button__chevron{width:20px}.tox .tox-split-button__chevron.tox-tbtn--disabled,.tox .tox-split-button__main.tox-tbtn--disabled{background:#fff;box-shadow:none;color:rgba(34,47,62,.5)}.tox .tox-split-button__chevron.tox-tbtn--disabled:hover,.tox .tox-split-button__main.tox-tbtn--disabled:hover{background:#fff;box-shadow:none;color:rgba(34,47,62,.5)}.tox .tox-split-button__chevron.tox-tbtn--disabled:focus,.tox .tox-split-button__main.tox-tbtn--disabled:focus{background:#fff;box-shadow:none;color:rgba(34,47,62,.5)}.tox .tox-split-button__main.tox-tbtn--disabled svg .tox-icon-highlight-bg-color__color,.tox .tox-split-button__main.tox-tbtn--disabled svg .tox-icon-text-color__color{opacity:.3}.tox .tox-toolbar-overlord{background-color:#fff}.tox .tox-toolbar,.tox .tox-toolbar__overflow,.tox .tox-toolbar__primary{background-attachment:local;background-color:#fff;background-image:repeating-linear-gradient(#ccc 0 1px,transparent 1px 39px);background-position:center top 39px;background-repeat:no-repeat;background-size:calc(100% - 4px * 2) calc(100% - 39px);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;padding:0 0;transform:perspective(1px)}.tox .tox-toolbar-overlord>.tox-toolbar,.tox .tox-toolbar-overlord>.tox-toolbar__overflow,.tox .tox-toolbar-overlord>.tox-toolbar__primary{background-position:center top 0;background-size:calc(100% - 4px * 2) calc(100% - 0px)}.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed{height:0;opacity:0;padding-bottom:0;padding-top:0;visibility:hidden}.tox .tox-toolbar__overflow--growing{transition:height .3s ease,opacity .2s linear .1s}.tox .tox-toolbar__overflow--shrinking{transition:opacity .3s ease,height .2s linear .1s,visibility 0s linear .3s}.tox .tox-anchorbar,.tox .tox-toolbar-overlord{grid-column:1/-1}.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{border-top:1px solid #ccc;margin-top:-1px;padding-bottom:0;padding-top:0}@media (forced-colors:active){.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{outline:1px solid currentColor}}.tox .tox-toolbar--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-pop .tox-toolbar{border-width:0}.tox .tox-toolbar--no-divider{background-image:none}.tox .tox-toolbar-overlord .tox-toolbar:not(.tox-toolbar--scrolling):first-child,.tox .tox-toolbar-overlord .tox-toolbar__primary{background-position:center top 39px}.tox .tox-editor-header>.tox-toolbar--scrolling,.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child{background-image:none}.tox .tox-focusable-wrapper{border:1px solid transparent;margin-right:2px;pointer-events:none}.tox .tox-focusable-wrapper .tox-textfield-size{pointer-events:all}.tox .tox-focusable-wrapper:focus{background-color:#dee0e2;border-radius:3px;border-style:solid;border-width:1px}.tox.tox-tinymce-aux .tox-toolbar__overflow{background-color:#fff;background-position:center top 43px;background-size:calc(100% - 8px * 2) calc(100% - 51px);border:none;border-radius:3px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);overscroll-behavior:none;padding:4px 0}@media (forced-colors:active){.tox.tox-tinymce-aux .tox-toolbar__overflow{border:solid}}.tox-pop .tox-pop__dialog .tox-toolbar{background-position:center top 43px;background-size:calc(100% - 4px * 2) calc(100% - 51px);padding:4px 0}.tox-context-form__group{display:flex;align-items:center}.tox .tox-toolbar__group{align-items:center;display:flex;flex-wrap:wrap;margin:0 0;padding:0 4px 0 4px}.tox .tox-toolbar__group--pull-right{margin-left:auto}.tox .tox-toolbar--scrolling .tox-toolbar__group{flex-shrink:0;flex-wrap:nowrap}.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type){border-right:1px solid #ccc}.tox[dir=rtl] .tox-toolbar__group:not(:last-of-type){border-left:1px solid #ccc}.tox .tox-toolbar-input-form{display:flex;align-items:center;background-color:var(--tox-private-background-color,#fff);padding:0 var(--tox-private-pad-sm,8px)}.tox .tox-tooltip{display:inline-block;max-width:min(80%,15em);padding:8px 0 0 0;position:relative;width:max-content;z-index:1150}.tox .tox-tooltip.tox-tooltip--anchor{display:none;padding:var(--tox-private-pad-xs,4px) 0 0;position:fixed;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;height:fit-content}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--up{position-area:block-end}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--down{position-area:block-start}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--left{position-area:inline-start}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--right{position-area:inline-end}.tox .tox-tooltip__body{background-color:#222f3e;border-radius:3px;box-shadow:none;color:#fff;font-size:12px;font-style:normal;font-weight:600;overflow-wrap:break-word;padding:4px 6px;text-transform:none}@media (forced-colors:active){.tox .tox-tooltip__body{outline:outset 1px}}.tox .tox-tooltip__arrow{position:absolute}.tox .tox-tooltip--down .tox-tooltip__arrow{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #222f3e;bottom:0;left:50%;position:absolute;transform:translateX(-50%)}.tox .tox-tooltip--up .tox-tooltip__arrow{border-bottom:8px solid #222f3e;border-left:8px solid transparent;border-right:8px solid transparent;left:50%;position:absolute;top:0;transform:translateX(-50%)}.tox .tox-tooltip--right .tox-tooltip__arrow{border-bottom:8px solid transparent;border-left:8px solid #222f3e;border-top:8px solid transparent;position:absolute;right:0;top:50%;transform:translateY(-50%)}.tox .tox-tooltip--left .tox-tooltip__arrow{border-bottom:8px solid transparent;border-right:8px solid #222f3e;border-top:8px solid transparent;left:0;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-tree{display:flex;flex-direction:column}.tox .tox-tree .tox-trbtn{align-items:center;background:0 0;border:0;border-radius:4px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;margin-bottom:4px;margin-top:4px;outline:0;overflow:hidden;padding:0;padding-left:8px;text-transform:none}.tox .tox-tree .tox-trbtn .tox-tree__label{cursor:default;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tree .tox-trbtn svg{display:block;fill:#222f3e}.tox .tox-tree .tox-trbtn:focus{background:#dee0e2;border:0;box-shadow:none}.tox .tox-tree .tox-trbtn:hover{background:#dee0e2;border:0;box-shadow:none;color:#222f3e}.tox .tox-tree .tox-trbtn:hover svg{fill:#222f3e}.tox .tox-tree .tox-trbtn:active{background:#b1d0e6;border:0;box-shadow:none;color:#222f3e}.tox .tox-tree .tox-trbtn:active svg{fill:#222f3e}.tox .tox-tree .tox-trbtn--disabled,.tox .tox-tree .tox-trbtn--disabled:hover,.tox .tox-tree .tox-trbtn:disabled,.tox .tox-tree .tox-trbtn:disabled:hover{background:0 0;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-tree .tox-trbtn--disabled svg,.tox .tox-tree .tox-trbtn--disabled:hover svg,.tox .tox-tree .tox-trbtn:disabled svg,.tox .tox-tree .tox-trbtn:disabled:hover svg{fill:rgba(34,47,62,0.5)}.tox .tox-tree .tox-trbtn--enabled,.tox .tox-tree .tox-trbtn--enabled:hover{background:#b1d0e6;border:0;box-shadow:none;color:#222f3e}.tox .tox-tree .tox-trbtn--enabled:hover>*,.tox .tox-tree .tox-trbtn--enabled>*{transform:none}.tox .tox-tree .tox-trbtn--enabled svg,.tox .tox-tree .tox-trbtn--enabled:hover svg{fill:#222f3e}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled){color:#222f3e}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled) svg{fill:#222f3e}.tox .tox-tree .tox-trbtn:active>*{transform:none}.tox .tox-tree .tox-trbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tree .tox-trbtn--labeled{padding:0 4px;width:unset}.tox .tox-tree .tox-trbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-tree .tox-tree--directory{display:flex;flex-direction:column}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label{font-weight:700}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn:focus svg{fill:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:focus .tox-mbtn svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover .tox-mbtn svg{fill:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-chevron{margin-right:6px}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--shrinking) .tox-chevron{transition:transform .5s ease-in-out}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--open) .tox-chevron{transform:rotate(90deg)}.tox .tox-tree .tox-tree--leaf__label{font-weight:400}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--leaf__label .tox-mbtn:focus svg{fill:#222f3e}.tox .tox-tree .tox-tree--leaf__label:hover .tox-mbtn svg{fill:#222f3e}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#222f3e}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#222f3e}.tox .tox-tree .tox-icon-custom-state{flex-grow:1;display:flex;justify-content:flex-end}.tox .tox-tree .tox-tree--directory__children{overflow:hidden;padding-left:16px}.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--growing,.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--shrinking{transition:height .5s ease-in-out}.tox .tox-tree .tox-trbtn.tox-tree--leaf__label{display:flex;justify-content:space-between}[data-mce-name=uploadcare-enhance-filter] .color-swatch-remove-color path{fill:#c00;stroke:#c00}.tox .tox-view-wrap,.tox .tox-view-wrap__slot-container{background-color:#fff;display:flex;flex:1;flex-direction:column;height:100%;min-height:0}.tox .tox-view{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden;background-color:#fff}.tox .tox-view__header{align-items:center;display:flex;font-size:16px;justify-content:space-between;padding:8px;position:relative}.tox .tox-view__label{color:#222f3e;font-weight:700;line-height:24px;padding:4px 16px;text-align:center;white-space:nowrap}.tox .tox-view__label--normal{font-size:16px}.tox .tox-view__label--large{font-size:20px}.tox .tox-view--mobile.tox-view__header,.tox .tox-view--mobile.tox-view__toolbar{padding:8px}.tox .tox-view--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-view__align-right{margin-left:auto}.tox .tox-view__toolbar{display:flex;flex-direction:row;gap:8px;justify-content:space-between;overflow-x:auto;padding:8px}.tox .tox-view__toolbar__group{display:flex;flex-direction:row;gap:12px}.tox .tox-view__header-end,.tox .tox-view__header-start{display:flex}.tox .tox-view__pane{height:100%;padding:8px;position:relative;width:100%}.tox .tox-view__pane_panel{border:1px solid #ccc;border-radius:3px}.tox:not([dir=rtl]) .tox-view__header .tox-view__header-end>*,.tox:not([dir=rtl]) .tox-view__header .tox-view__header-start>*{margin-left:8px}.tox[dir=rtl] .tox-view__header .tox-view__header-end>*,.tox[dir=rtl] .tox-view__header .tox-view__header-start>*{margin-right:8px}.tox .tox-well{border:1px solid #ccc;border-radius:3px;padding:8px;width:100%}.tox .tox-well>:first-child{margin-top:0}.tox .tox-well>:last-child{margin-bottom:0}.tox .tox-well>:only-child{margin:0}.tox .tox-custom-editor{border:1px solid #ccc;border-radius:3px;display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-view .tox-revisionhistory__pane{padding:0}.tox .tox-revisionhistory__container{display:flex;flex-direction:column;height:100%}.tox .tox-revisionhistory{background-color:#fff;border-top:1px solid #f0f0f0;display:flex;flex:1;height:100%;overflow-x:auto;overflow-y:hidden;position:relative;width:100%}.tox .tox-revisionhistory__iframe{flex:1}.tox .tox-revisionhistory__sidebar{display:flex;flex-direction:column;height:100%;min-width:248px;width:316px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__sidebar-title{background-color:#fff;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);color:#222f3e;font-size:20px;font-weight:400;line-height:28px;padding:12px;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions{background-color:#f0f0f0;display:flex;flex:1;flex-direction:column;gap:12px;overflow-y:auto;padding:10px 12px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus{height:100%;position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus::after{bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0;border-radius:3px;bottom:1px;left:1px;right:1px;top:1px}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card{background-color:#fff;border:1px solid #f0f0f0;border-radius:6px;color:#222f3e;cursor:pointer;display:flex;flex-direction:column;font-size:14px;padding:12px;width:100%}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:hover{box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus{position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent #006ce7;content:'';left:0;position:absolute;right:0;top:0;border-radius:6px;box-shadow:0 0 0 2px #006ce7;box-shadow:0 0 0 2px #006ce7!important}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected{background-color:#fff5cc;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);position:relative}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent #e3b82a;content:'';left:0;position:absolute;right:0;top:0;border-radius:6px;box-shadow:0 0 0 2px #e3b82a}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-tags{display:flex;align-items:flex-start;flex-direction:row;gap:8px;overflow-x:auto}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-label{display:block;max-width:min-content;padding:4px 8px;margin-bottom:8px;font-size:12px;font-weight:700;border-radius:4px;background:#d3d5d8;text-wrap:balance;flex:0 1 auto}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-content{display:flex;flex-direction:row;gap:8px;align-items:center}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution{align-items:center;display:flex}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution .tox-revisionhistory__avatar{position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution .tox-revisionhistory__avatar+.tox-revisionhistory__card-ai-icon{margin-left:-4px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-info{display:flex;flex-direction:column;flex:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-date-label{font-size:14px;font-weight:700;line-height:18px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-author-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:400}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__avatar{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-ai-icon{display:flex;height:36px;width:36px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__norevision{color:rgba(34,47,62,.7);font-size:16px;line-height:24px;padding:5px 5.5px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-check-icon{color:#222f3e;height:24px}.tox .tox-card{background-color:#fff;border-radius:3px;display:flex;flex-direction:column;gap:12px;padding:12px;cursor:pointer;transition:box-shadow .15s ease-in-out,border .15s ease-in-out;border:0 solid transparent}.tox .tox-card:hover{box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-card--selected{border-color:#207ab7}.tox .tox-card:focus-visible{outline:0 solid transparent;border-color:transparent}.tox .tox-card--has-decision{background-color:#f0f0f0}.tox .tox-card--has-decision:not(.tox-card--selected){border-width:1px;border-color:rgba(34,47,62,.7);padding:11px}.tox .tox-card--has-decision .tox-card__header{font-size:12px}.tox .tox-card--has-decision .tox-card__body{color:rgba(34,47,62,.7)}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline{border-color:#e0e0e0}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:focus:not(:disabled),.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:hover:not(:disabled){background-color:#e0e0e0;border-color:#d1d1d1}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:active:not(:disabled){background-color:#d1d1d1;border-color:#d1d1d1}.tox .tox-card__header{padding-bottom:0;color:#222f3e;font-size:16px;font-weight:700;text-transform:uppercase;display:flex;flex-direction:column;gap:12px}.tox .tox-card__header-label{font-size:12px;font-weight:700;text-transform:uppercase;color:#222f3e}.tox .tox-card__header-content{flex:1;min-width:0;font-weight:400;text-transform:none}.tox .tox-card__header-actions{display:flex;align-items:center;gap:4px;flex-shrink:0;opacity:1;pointer-events:auto;transition:opacity .15s ease-in-out}.tox .tox-card__header-actions--hover-visible,.tox .tox-card__header-actions--on-focus{opacity:0;pointer-events:none}.tox .tox-card__header-actions--always-visible{opacity:1;pointer-events:auto}.tox .tox-card__header:has(.tox-card__header-actions),.tox .tox-card__header:has(.tox-card__header-content){flex-direction:row;align-items:center}.tox .tox-card__header:has(.tox-card__header-content){justify-content:space-between}.tox .tox-card__header:has(.tox-card__header-actions):not(:has(.tox-card__header-content)){justify-content:flex-end}.tox .tox-card:focus-within .tox-card__header-actions--hover-visible,.tox .tox-card:focus-within .tox-card__header-actions--on-focus,.tox .tox-card:hover .tox-card__header-actions--hover-visible{opacity:1;pointer-events:auto}.tox .tox-card__body{color:#222f3e;font-size:14px}.tox .tox-card__body .tox-expandable-box{background:0 0;border:none;gap:12px}.tox .tox-card__body .tox-expandable-box .tox-expandable-box__content,.tox .tox-card__body .tox-expandable-box>.tox-button{margin:0}.tox .tox-card__highlight{padding:4px 6px;border-bottom:0 solid #207ab7}.tox .tox-card__highlight--added{background-color:#e4eeda}.tox .tox-card__highlight--deleted{background-color:#f5cccc}.tox .tox-card__highlight--modified{background-color:#d2e4f1}.tox .tox-card__actions{display:flex;gap:8px}.tox .tox-card__actions--space-between{justify-content:space-between}.tox .tox-card__actions--flex-start{justify-content:flex-start}.tox .tox-card__actions .tox-button,.tox .tox-card__actions .tox-button--icon,.tox .tox-card__actions .tox-button:has(.tox-icon:only-child){padding:4px 16px}.tox .tox-card__divider{margin:12px 0;border:none;border-top:1px solid #ccc}.tox .tox-card__expansion{display:flex;flex-direction:column;gap:12px;width:100%}.tox .tox-card__expansion:has(> .tox-card__expansion-content--collapsed:only-child){margin-block-start:-12px}.tox .tox-card__expansion-content{display:grid;font-size:14px;grid-template-rows:0fr;transition:grid-template-rows .2s ease-in-out}.tox .tox-card__expansion-content--expanded{grid-template-rows:1fr}.tox .tox-card__expansion-content--expanded>.tox-card__expansion-content-inner{min-height:auto;overflow:visible}.tox .tox-card__expansion-content--collapsed{grid-template-rows:0fr}.tox .tox-card__expansion-content-inner{min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:12px}.tox .tox-card.tox-skeleton{cursor:default;pointer-events:none;box-shadow:none}.tox .tox-card.tox-skeleton:hover{box-shadow:none}.tox .tox-card.tox-skeleton .tox-skeleton__line{border-radius:3px;margin:0}.tox .tox-card.tox-skeleton .tox-card__body{display:flex;flex-direction:column;gap:4px}.tox .tox-card-list{display:flex;flex-direction:column;gap:12px}.tox .tox-card-list:has(.tox-card-group){gap:0}.tox .tox-card-list:focus{outline:0}.tox .tox-card-group{background-color:#f0f0f0;display:flex;flex-direction:column}.tox .tox-card-group .tox-card{scroll-margin-top:53px}.tox .tox-card-group__title{align-items:center;background-color:#fff;border-bottom:1px solid #ccc;color:#222f3e;display:flex;font-size:14px;font-weight:700;gap:8px;line-height:16px;overflow:hidden;padding:12px;position:sticky;top:0;z-index:1}.tox .tox-card-group__title-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-card-group__status{color:rgba(34,47,62,.7);flex:0 0 auto;font-size:12px;font-weight:400;margin-inline-start:auto}.tox .tox-card-group__content{display:flex;flex-direction:column;gap:12px;padding-block:12px}.tox .tox-profile{align-items:center;display:flex;gap:8px}.tox .tox-profile__image{align-items:center;display:flex;flex-shrink:0}.tox .tox-profile__badge{display:flex;flex-shrink:0;height:36px;margin-inline-start:-4px;width:36px}.tox .tox-profile__badge svg{display:block;height:100%;width:100%}.tox .tox-user-avatar{width:36px;height:36px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center}.tox .tox-user-avatar img{width:100%;height:100%;object-fit:cover}.tox .tox-profile__body{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;flex:1}.tox .tox-profile__heading{color:#222f3e;font-size:14px;font-weight:700;line-height:18px;text-transform:none}.tox .tox-profile__subheading{color:#222f3e;font-size:12px;font-weight:400;line-height:16px;padding-block:4px;text-transform:none}.tox .tox-profile__subheading .tox-icon svg{fill:rgba(34,47,62,0.5);margin-block:-4px;vertical-align:top}.tox [data-mce-name=suggestededits] .tox-icon .tox-icon--badge{fill:#207ab7}.tox .tox-view .tox-suggestededits__pane{padding:0}.tox .tox-suggestededits__sink{position:relative;z-index:1000}.tox .tox-suggestededits__sink .tox-tiered-menu .tox-collection--list{position:absolute}.tox .tox-suggestededits__container{height:100%;display:flex;flex-direction:column}.tox .tox-suggestededits__container .tox-suggestededits{background-color:#fff;display:flex;flex:1;height:inherit;overflow-x:auto;overflow-y:hidden;position:relative}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__content{flex:1}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__model{height:100%;position:relative}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__model .tox-suggestededits__iframe{height:100%;width:100%;overflow:scroll;background-color:#fff}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar{background-color:#f0f0f0;border-left:1px solid #c1c1c1;display:flex;flex-direction:column;flex:0 1 auto;min-width:248px;width:441px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__announcer{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;margin:-1px;padding:0;border:0}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar{padding:4px 12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar:not(:empty){padding:12px 12px 6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button:has(.tox-icon:only-child){gap:0;padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-md,16px)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button:has(.tox-icon:only-child) .tox-icon{align-items:center;display:flex;flex:0 0 auto;height:24px;justify-content:center;width:24px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline{border-color:#e3e3e3}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:focus:not(:disabled),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:hover:not(:disabled){background-color:rgba(34,47,62,.12);border-color:rgba(34,47,62,.12)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline.tox-button--enabled:not(:disabled),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:active:not(:disabled){background-color:rgba(34,47,62,.18);border-color:rgba(34,47,62,.18);color:#222f3e}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline[disabled]{border-color:#e3e3e3}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content{display:flex;flex:1;flex-direction:column;gap:12px;overflow:auto;padding:6px 12px 12px 12px;position:relative;scroll-padding-block:6px 12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-card--selected:has(textarea:focus){border-color:transparent}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__divider,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--divider{background-color:#f0f0f0;height:1px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--editor,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--single{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;gap:12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--editor{padding:6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header{display:flex;flex:auto;justify-content:space-between;align-items:center;gap:8px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__card--timestamp,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__card--timestamp{color:#222f3e}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__card--timestamp .tox-icon svg,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__card--timestamp .tox-icon svg{fill:rgba(34,47,62,0.5)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution{align-items:center;border:0;border-radius:20px;color:rgba(34,47,62,.7);height:20px;width:20px;display:flex;flex:0 0 auto;justify-content:center;text-align:center}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button{padding:var(--tox-private-button-padding-y,4px) var(--tox-private-button-padding-x,16px)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button .tox-suggestededits__resolution--label{display:none}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:not(:hover):not(:focus-visible),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:not(:hover):not(:focus-visible){border-color:transparent}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution{display:none}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution--label{display:inline}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content{display:flex;flex-direction:column;align-self:stretch;flex:auto;gap:6px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations{display:flex;gap:8px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-details,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-details{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-text,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-text{color:#222f3e;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:18px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-content-text,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-content-text{font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:20px;overflow-wrap:break-word}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-content-text-joiner,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-content-text-joiner{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__card--feedback,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__card--feedback{color:#222f3e;overflow-wrap:anywhere;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__actions,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--buttons{display:flex;align-items:center;gap:8px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__actions.tox-suggestededits__card--feedback-buttons,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--buttons.tox-suggestededits__card--feedback-buttons{justify-content:flex-end}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-suggestededits__card--active .tox-suggestededits__card--single{border-radius:6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-suggestededits__card--active .tox-suggestededits__card--single:focus-visible{outline:2px solid #207ab7}.tox .tox-dialog-loading::before{background-color:rgba(0,0,0,.5);content:"";height:100%;position:absolute;width:100%;z-index:1000}.tox .tox-tab{cursor:pointer}.tox .tox-dialog__content-js{display:flex;flex:1}.tox .tox-dialog__body-content .tox-collection{display:flex;flex:1}.tox:not(.tox-tinymce-inline) .tox-editor-header{background-color:none;padding:0}.tox.tox-tinymce--toolbar-bottom .tox-editor-header,.tox.tox-tinymce-inline .tox-editor-header{margin-bottom:-1px}.tox.tox-tinymce-inline .tox-editor-container{overflow:hidden}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header{border-top:none;box-shadow:none}.tox.tox.tox-tinymce--toolbar-sticky-on .tox-editor-header{background-color:transparent;box-shadow:0 4px 4px -3px rgba(0,0,0,.25);padding:0}.tox.tox.tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header{box-shadow:0 4px 4px -3px rgba(0,0,0,.25)}.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker{margin:-4px 0}.tox .tox-menu.tox-collection.tox-collection--list{padding:0}.tox .tox-pop{box-shadow:none}.tox .tox-label,.tox .tox-number-input,.tox .tox-split-button,.tox .tox-tbtn,.tox .tox-tbtn--select,.tox .tox-toolbar-label{margin:2px 0 3px 0}.tox .tox-tbtn--bordered,.tox .tox-tbtn--bordered:focus,.tox .tox-tbtn--bordered:hover{border:1px solid #ccc}.tox .tox-pop__dialog .tox-toolbar,.tox .tox-toolbar,.tox .tox-toolbar__overflow,.tox .tox-toolbar__primary{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}.tox .tox-menubar+.tox-toolbar-overlord{border-top:none}.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord .tox-toolbar__primary{border-top:1px solid #ccc;margin-top:-1px}.tox.tox-tinymce-aux .tox-toolbar__overflow{border:1px solid #ccc;padding:0}.tox .tox-pop .tox-pop__dialog .tox-toolbar{padding:0}.tox .tox-context-toolbar .tox-toolbar{background:0 0}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-menubar{border-top:1px solid #ccc}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-toolbar-overlord:first-child .tox-toolbar__primary,.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-toolbar:first-child{border-top:1px solid #ccc}.tox .tox-toolbar__group{padding:0 4px 0 4px}.tox .tox-collection__item{border-radius:0;cursor:pointer}.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]){color:#222f3e}.tox .tox-statusbar__branding svg{fill:rgba(34,47,62,0.8);height:1em;margin-left:.3em;width:auto}@media (forced-colors:active){.tox .tox-statusbar__branding svg{fill:currentColor}}.tox .tox-statusbar__branding a{align-items:center;display:inline-flex}.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg,.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg{fill:#222f3e}.tox:not([dir=rtl]) .tox-statusbar__branding{margin-left:1ch}.tox[dir=rtl] .tox-statusbar__branding svg{margin-left:0;margin-right:.3em}.tox .tox-statusbar__resize-handle{padding-bottom:0;padding-right:0}.tox .tox-button::before{display:none} +.tox{box-shadow:none;box-sizing:content-box;cursor:auto;font-style:normal;font-weight:400;line-height:normal;-webkit-tap-highlight-color:transparent;-webkit-text-decoration:none;text-decoration:none;text-shadow:none;text-transform:none;vertical-align:initial;white-space:normal}.tox :not(svg):not(rect){box-sizing:inherit;color:inherit;cursor:inherit;direction:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;-webkit-tap-highlight-color:inherit;text-align:inherit;text-decoration:inherit;text-shadow:inherit;text-transform:inherit;vertical-align:inherit;white-space:inherit}.tox :not(svg):not(rect){background:0 0;border:0;box-shadow:none;float:none;height:auto;margin:0;max-width:none;outline:0;padding:0;position:static;width:auto}.tox:not([dir=rtl]){direction:ltr;text-align:left}.tox[dir=rtl]{direction:rtl;text-align:right}.tox-tinymce :focus,.tox-tinymce-aux :focus{outline:0}button::-moz-focus-inner{border:0}@keyframes tox-rotation{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes tox-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox{color:var(--tox-private-color-black,#222f3e);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-font-size-base, 16px)}.tox-tinymce{border:1px solid #ccc;border-radius:0;box-shadow:none;box-sizing:border-box;display:flex;flex-direction:column;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);overflow:hidden;position:relative;visibility:inherit!important}.tox.tox-tinymce-inline{border:none;box-shadow:none;overflow:initial}.tox.tox-tinymce-inline .tox-editor-container{overflow:initial}.tox.tox-tinymce-inline .tox-editor-header{background-color:#fff;border:1px solid #ccc;border-radius:0;box-shadow:none;overflow:hidden}.tox-tinymce-aux{font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);z-index:var(--tox-private-z-index-sink,1300)}.tox[dir=rtl] .tox-icon--flip svg{transform:rotateY(180deg)}.tox .tox-editor-container{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.tox .tox-editor-container--keep-toolbar{flex:0 0 auto;overflow:visible}.tox .tox-editor-header{display:grid;grid-template-columns:1fr min-content;z-index:2}.tox:not(.tox-tinymce-inline) .tox-editor-header{background-color:#fff;border-bottom:none;box-shadow:none;padding:4px 0}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(.tox-editor-dock-transition){transition:box-shadow .5s}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header{border-top:1px solid #ccc;box-shadow:none}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header{background-color:#fff;box-shadow:0 4px 4px -3px rgba(0,0,0,.25);padding:4px 0}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header{box-shadow:0 4px 4px -3px rgba(0,0,0,.25)}.tox.tox:not(.tox-tinymce-inline) .tox-editor-header.tox-editor-header--empty{background:0 0;border:none;box-shadow:none;padding:0}.tox-editor-dock-fadeout{opacity:0;visibility:hidden}.tox-editor-dock-fadein{opacity:1;visibility:visible}.tox-editor-dock-transition{transition:visibility 0s linear .25s,opacity .25s ease}.tox-editor-dock-transition.tox-editor-dock-fadein{transition-delay:0s}.tox .accessibility-issue__header{align-items:center;display:flex;margin-bottom:4px}.tox #accessibility-issue__subheader{font-size:16px;color:#222f3e}.tox .accessbility-sr-only{position:absolute;clip:rect(1px,1px,1px,1px);clip-path:inset(0 0 99.9% 99.9%);overflow:hidden;height:1px;width:1px;padding:0;border:0}.tox .accessibility-issue__description{align-items:stretch;border-radius:3px;justify-content:space-between}.tox .accessibility-issue__description>div{padding-bottom:4px}.tox .accessibility-issue__description>div>div{align-items:center;display:flex;margin-bottom:4px}.tox .accessibility-issue__description>div>div .tox-icon svg{display:block}.tox #accessibility-issue__contentID{margin-top:8px;margin-bottom:8px}.tox #accessibility-issue__contentID span:first-child{font-weight:700}.tox #accessibility-issue__document{padding-bottom:8px}.tox .accessibility-issue__repair{margin-top:8px}.tox .accessibility-issue__repair .tox-form__group .tox-form__group--error{color:#c00}.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description{background-color:#e9f2f8;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2{font-size:14px;color:#207ab7}.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon.accessibility-issue__icon svg{fill:#207ab7}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon{background-color:#207ab7;color:#fff}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:hover{background-color:#1c6ca1}.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:active{background-color:#185d8c}.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description{background-color:#fffae6;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2{font-size:14px;color:#7a6e25}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon.accessibility-issue__icon svg{fill:#7a6e25}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon{background-color:#ffe89d;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:hover{background-color:#f2d574;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:active{background-color:#e8c657;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description{background-color:#fae6e6;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2{font-size:14px;color:#c00}.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon.accessibility-issue__icon svg{fill:#c00}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon{background-color:#f2bfbf;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:focus,.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:hover{background-color:#e9a4a4;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:active{background-color:#ee9494;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description{background-color:rgba(120,171,70,.1);color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description>:last-child{display:none}.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2{color:#527530}.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon.accessibility-issue__icon svg{fill:#527530}.tox .tox-dialog__body-content .accessibility-issue__header .tox-form__group h1,.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2{margin-top:0}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-left:4px}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-left:auto}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description{padding:8px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-right:4px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-right:auto}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description{padding:4px 8px 4px 4px}.tox .mce-codemirror{background:#fff;bottom:0;font-size:13px;left:0;position:absolute;right:0;top:0;z-index:1}.tox .mce-codemirror.tox-inline-codemirror{margin:8px;position:absolute}.tox .tox-advtemplate .tox-form__grid{flex:1}.tox .tox-advtemplate .tox-form__grid>div:first-child{display:flex;flex-direction:column;width:30%}.tox .tox-advtemplate .tox-form__grid>div:first-child>div:nth-child(2){flex-basis:0;flex-grow:1;overflow:auto}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-advtemplate .tox-form__grid>div:first-child{width:100%}}.tox .tox-advtemplate iframe{border-color:#ccc;border-radius:0;border-style:solid;border-width:1px;margin:0 10px}.tox .tox-accordion{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__item{background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color,#222f3e);border-radius:var(--tox-private-control-border-radius,3px);position:relative}.tox .tox-accordion__item.tox-accordion__item--expanded{background-color:var(--tox-private-background-secondary,#f0f0f0)}.tox .tox-accordion__item.tox-accordion__item--expanded .tox-accordion__content--expanded .tox-accordion__content-inner{padding-top:0}.tox .tox-accordion__item::after{border-radius:var(--tox-private-control-border-radius,3px);box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,0) var(--tox-private-keyboard-focus-outline-color,transparent);content:'';inset:0;opacity:0;pointer-events:none;position:absolute}@media (forced-colors:active){.tox .tox-accordion__item::after{border:2px solid highlight}}.tox .tox-accordion__item:focus{outline:0;z-index:1}.tox .tox-accordion__item:focus::after{opacity:1}.tox .tox-accordion__heading{margin:0;width:100%}.tox .tox-accordion__heading:focus{outline:0}.tox .tox-accordion__header{align-items:center;border:none;border-radius:var(--tox-private-control-border-radius,3px);box-sizing:border-box;color:var(--tox-private-text-color,#222f3e);cursor:pointer;display:flex;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:var(--tox-private-line-height-base, 1.3);outline:0;padding:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));text-align:left;width:100%}.tox .tox-accordion__header::after{border-radius:var(--tox-private-control-border-radius,3px);bottom:0;box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,0) var(--tox-private-keyboard-focus-outline-color,transparent);content:'';left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-accordion__header::after{border:2px solid highlight}}.tox .tox-accordion__header:hover:not(.tox-accordion__header--disabled){background-color:var(--tox-private-background-secondary,#f0f0f0)}.tox .tox-accordion__header:focus:not(.tox-accordion__header--disabled){position:relative;z-index:1}.tox .tox-accordion__header:focus:not(.tox-accordion__header--disabled)::after{opacity:1}.tox .tox-accordion__header.tox-accordion__header--disabled{cursor:not-allowed;opacity:.5}.tox .tox-accordion__header.tox-accordion__header--icon-end{padding-right:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__header-icon{align-items:center;color:var(--tox-private-text-color,#222f3e);display:flex;flex-shrink:0;height:calc(var(--tox-private-base-value,16px) * 1.5);justify-content:center;width:calc(var(--tox-private-base-value,16px) * 1.5)}.tox .tox-accordion__header-icon svg{display:block;fill:currentColor;height:100%;width:100%;max-height:calc(var(--tox-private-base-value,16px) * 1.5);max-width:calc(var(--tox-private-base-value,16px) * 1.5)}.tox .tox-accordion__header:not(.tox-accordion__header--icon-end) .tox-accordion__header-icon{margin-right:var(--tox-private-pad-sm,8px);margin-left:0}.tox .tox-accordion__header--icon-end .tox-accordion__header-icon{margin-left:auto}.tox .tox-accordion__header-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-accordion__header--icon-end .tox-accordion__header-text{flex:0 1 auto;margin-right:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__content{border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-accordion__content.tox-accordion__content--collapsed{display:none}.tox .tox-accordion__content.tox-accordion__content--expanded{display:block}.tox .tox-accordion__content-inner{padding:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px)) calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__content-inner .tox-form__group:last-child{margin-bottom:0}.tox .tox-accordion__content-inner .tox-form__group>:not(:first-child){margin-top:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px))}.tox .tox-accordion__content-inner .tox-form__group>.tox-dropdown-content{margin-top:0}.tox .tox-accordion__content-inner .tox-button-group{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-accordion__content-inner .tox-accordion__model-button{border-radius:var(--tox-private-control-border-radius,3px);align-items:center;appearance:none;background:0 0;border:none;color:inherit;cursor:pointer;display:flex;font-family:inherit;font-size:inherit;gap:var(--tox-private-pad-xs,4px);margin:0;outline:0;padding:6px calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));position:relative}.tox .tox-accordion__content-inner .tox-accordion__model-button::after{border-radius:var(--tox-private-control-border-radius,3px);bottom:0;box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,0) var(--tox-private-keyboard-focus-outline-color,transparent);content:'';left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-accordion__content-inner .tox-accordion__model-button::after{border:2px solid highlight}}.tox .tox-accordion__content-inner .tox-accordion__model-button:focus{z-index:1}.tox .tox-accordion__content-inner .tox-accordion__model-button:focus::after{opacity:1}.tox .tox-accordion .tox-selectfield{align-items:center;background-color:var(--tox-private-background-color,#fff);border:1px solid var(--tox-private-border-color,#ccc);border-radius:var(--tox-private-control-border-radius,3px);box-sizing:border-box;display:flex;height:34px;padding:0 6px;position:relative;width:100%}.tox .tox-accordion .tox-selectfield:focus-within{box-shadow:0 0 0 var(--tox-private-keyboard-focus-outline-width,0) var(--tox-private-keyboard-focus-outline-color,transparent);z-index:1}@media (forced-colors:active){.tox .tox-accordion .tox-selectfield:focus-within{border-color:highlight;box-shadow:0 0 0 2px highlight}}.tox .tox-accordion .tox-selectfield button{appearance:none;background:0 0;border:none;color:inherit;cursor:pointer;flex:1;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;outline:0;padding:5px 0;text-align:left}.tox .tox-accordion .tox-selectfield .tox-icon{display:flex;flex-shrink:0;padding:9px 0;pointer-events:none}.tox .tox-accordion .tox-selectfield .tox-icon svg{height:var(--tox-private-base-value,16px);width:var(--tox-private-base-value,16px)}.tox[dir=rtl] .tox-accordion__header{text-align:right}.tox[dir=rtl] .tox-accordion__header:not(.tox-accordion__header--icon-end) .tox-accordion__header-icon{margin-left:var(--tox-private-pad-sm,8px);margin-right:0}.tox[dir=rtl] .tox-accordion__header--icon-end .tox-accordion__header-icon{margin-right:auto;margin-left:0}.tox[dir=rtl] .tox-accordion__header--icon-end .tox-accordion__header-text{margin-left:var(--tox-private-pad-sm,8px);margin-right:0}.tox .tox-alert{align-items:flex-start;align-self:stretch;border-radius:var(--tox-private-panel-border-radius,3px);border-style:solid;border-width:1px;box-sizing:border-box;color:var(--tox-private-text-color,#222f3e);display:flex;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-normal,normal);gap:var(--tox-private-pad-xs,4px);line-height:var(--tox-private-line-height-base, 1.3);padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-sm,8px);width:100%}.tox .tox-alert--error{background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#fff) r g b / .8) 0,rgba(from var(--tox-private-background-color,#fff) r g b / .8) 100%),var(--tox-private-color-error,#c00);border-color:var(--tox-private-color-error,#c00)}.tox .tox-alert--warning{background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#fff) r g b / .8) 0,rgba(from var(--tox-private-background-color,#fff) r g b / .8) 100%),var(--tox-private-color-warning,#fc0);border-color:var(--tox-private-color-warning,#fc0)}.tox .tox-alert__body{display:flex;flex:1 0 0;flex-direction:column;min-width:0}.tox .tox-alert__content{align-items:center;display:flex;flex:1 0 0;gap:var(--tox-private-pad-sm,8px);padding:var(--tox-private-pad-sm,8px) 0}.tox .tox-alert__message{margin:0;text-align:left}.tox .tox-alert__actions{align-items:center;display:flex;flex-wrap:wrap;gap:var(--tox-private-pad-xs,4px);justify-content:flex-start}.tox .tox-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bottom-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bar{display:flex;flex:0 0 auto}.tox .tox-button{border-width:var(--tox-private-button-border-width,1px);border-style:var(--tox-private-button-border-style,solid);border-radius:var(--tox-private-control-border-radius,3px);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--tox-private-button-font-size, 14px);font-style:var(--tox-private-button-font-style,normal);font-weight:var(--tox-private-button-font-weight,bold);line-height:var(--tox-private-control-line-height, 24px);padding:var(--tox-private-button-padding-y,4px) var(--tox-private-button-padding-x,16px);text-align:center;-webkit-text-decoration:none;text-decoration:none;text-transform:none;letter-spacing:normal;box-shadow:none;box-sizing:border-box;cursor:pointer;outline:0;position:relative;white-space:nowrap;display:inline-flex;justify-content:center;align-items:center;gap:var(--tox-private-pad-xs,4px)}.tox .tox-button::before{border-radius:var(--tox-private-control-border-radius,3px);bottom:calc(-1 * var(--tox-private-button-border-width,1px));box-shadow:var(--tox-private-button-focus-outline,inset 0 0 0 1px #fff,0 0 0 2px #207ab7);content:'';left:calc(-1 * var(--tox-private-button-border-width,1px));opacity:0;pointer-events:none;position:absolute;right:calc(-1 * var(--tox-private-button-border-width,1px));top:calc(-1 * var(--tox-private-button-border-width,1px))}.tox .tox-button:focus:not(:disabled){background-color:var(--tox-private-button-focus-background-color,#1c6ca1);background-image:none;border-color:var(--tox-private-button-focus-border-color,#1c6ca1);box-shadow:var(--tox-private-button-focus-box-shadow,none);color:var(--tox-private-button-focus-text-color,#fff)}.tox .tox-button:focus:not(:disabled)::before{opacity:1}.tox .tox-button.tox-button--icon,.tox .tox-button:has(.tox-icon:only-child){padding:4px}.tox .tox-button .tox-icon svg{display:block;fill:currentColor}.tox .tox-button .tox-icon.tox-icon--success svg{fill:var(--tox-private-color-success,#78AB46)}.tox .tox-button .tox-icon.tox-icon--error svg{fill:var(--tox-private-color-error,#c00)}.tox .tox-button--stretch{width:100%}.tox-context-form__group .tox-button--icon,.tox-context-form__group .tox-button.tox-button--icon{margin:3px 0 2px 0;padding:0}.tox .tox-button{background-color:var(--tox-private-button-primary-background-color,#207ab7);background-image:none;background-position:0 0;background-repeat:repeat;color:var(--tox-private-button-primary-text-color,#fff);border-color:var(--tox-private-button-primary-border-color,#207ab7)}.tox .tox-button[disabled]{background-color:var(--tox-private-button-primary-disabled-background-color,#207ab7);background-image:none;border-color:var(--tox-private-button-primary-disabled-border-color,#207ab7);color:var(--tox-private-button-primary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button:focus:not(:disabled){background-color:var(--tox-private-button-primary-focus-background-color,#1c6ca1);border-color:var(--tox-private-button-primary-focus-border-color,#1c6ca1);color:var(--tox-private-button-primary-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button:hover:not(:disabled){background-color:var(--tox-private-button-primary-hover-background-color,#1c6ca1);border-color:var(--tox-private-button-primary-hover-border-color,#1c6ca1);color:var(--tox-private-button-primary-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button:active:not(:disabled){background-color:var(--tox-private-button-primary-active-background-color,#185d8c);border-color:var(--tox-private-button-primary-active-border-color,#185d8c);color:var(--tox-private-button-primary-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled{background-color:var(--tox-private-button-primary-enabled-background-color,#185d8c);border-color:var(--tox-private-button-primary-enabled-border-color,#185d8c);color:var(--tox-private-button-primary-enabled-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled[disabled]{color:var(--tox-private-button-primary-disabled-text-color,rgba(255,255,255,.5));cursor:not-allowed}.tox .tox-button.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-primary-enabled-focus-background-color,#154f76);border-color:var(--tox-private-button-primary-enabled-focus-border-color,#154f76);color:var(--tox-private-button-primary-enabled-focus-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-primary-enabled-hover-background-color,#154f76);border-color:var(--tox-private-button-primary-enabled-hover-border-color,#154f76);color:var(--tox-private-button-primary-enabled-hover-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-primary-enabled-active-background-color,#114060);border-color:var(--tox-private-button-primary-enabled-active-border-color,#114060);color:var(--tox-private-button-primary-enabled-active-text-color,#fff);background-image:none;box-shadow:none}.tox .tox-button--secondary{background-color:var(--tox-private-button-secondary-background-color,#f0f0f0);border-color:var(--tox-private-button-secondary-border-color,#f0f0f0);color:var(--tox-private-button-secondary-text-color,#222f3e);border-style:solid;border-width:1px;background-image:none;background-position:0 0;background-repeat:repeat;border-radius:3px;box-shadow:none;font-size:14px;font-style:normal;font-weight:700;letter-spacing:normal;outline:0;padding:4px 16px;-webkit-text-decoration:none;text-decoration:none;text-transform:none}.tox .tox-button--secondary[disabled]{background-color:var(--tox-private-button-secondary-disabled-background-color,#f0f0f0);background-image:none;border-color:var(--tox-private-button-secondary-disabled-border-color,#f0f0f0);color:var(--tox-private-button-secondary-disabled-text-color,rgba(34,47,62,.5));cursor:not-allowed}.tox .tox-button--secondary:focus:not(:disabled){background-color:var(--tox-private-button-secondary-focus-background-color,#e3e3e3);border-color:var(--tox-private-button-secondary-focus-border-color,#e3e3e3);color:var(--tox-private-button-secondary-focus-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary:hover:not(:disabled){background-color:var(--tox-private-button-secondary-hover-background-color,#e3e3e3);border-color:var(--tox-private-button-secondary-hover-border-color,#e3e3e3);color:var(--tox-private-button-secondary-hover-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary:active:not(:disabled){background-color:var(--tox-private-button-secondary-active-background-color,#d6d6d6);border-color:var(--tox-private-button-secondary-active-border-color,#d6d6d6);color:var(--tox-private-button-secondary-active-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled{background-color:var(--tox-private-button-secondary-enabled-background-color,#b1d0e6);border-color:var(--tox-private-button-secondary-enabled-border-color,#b1d0e6);color:var(--tox-private-button-secondary-enabled-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled[disabled]{color:var(--tox-private-button-secondary-disabled-text-color,rgba(34,47,62,.5));cursor:not-allowed}.tox .tox-button--secondary.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-focus-background-color,#9ec5e0);border-color:var(--tox-private-button-secondary-enabled-focus-border-color,#9ec5e0);color:var(--tox-private-button-secondary-enabled-focus-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-hover-background-color,#9ec5e0);border-color:var(--tox-private-button-secondary-enabled-hover-border-color,#9ec5e0);color:var(--tox-private-button-secondary-enabled-hover-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--secondary.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-secondary-enabled-active-background-color,#8ab9d9);border-color:var(--tox-private-button-secondary-enabled-active-border-color,#8ab9d9);color:var(--tox-private-button-secondary-enabled-active-text-color,#222f3e);background-image:none;box-shadow:none}.tox .tox-button--naked{background-color:transparent;border-color:transparent;box-shadow:unset;color:var(--tox-private-button-naked-text-color,#222f3e)}.tox .tox-button--naked[disabled]{background-color:#f0f0f0;border-color:#f0f0f0;color:var(--tox-private-button-naked-disabled-text-color,rgba(34,47,62,.5));cursor:not-allowed}.tox .tox-button--naked:focus:not(:disabled){background-color:var(--tox-private-button-naked-focus-background-color,#e3e3e3);border-color:var(--tox-private-button-naked-focus-border-color,#e3e3e3);color:var(--tox-private-button-naked-focus-text-color,#222f3e);box-shadow:none}.tox .tox-button--naked:hover:not(:disabled){background-color:var(--tox-private-button-naked-hover-background-color,#e3e3e3);border-color:var(--tox-private-button-naked-hover-background-color,#e3e3e3);color:var(--tox-private-button-naked-hover-text-color,#222f3e);box-shadow:none}.tox .tox-button--naked:active:not(:disabled){background-color:var(--tox-private-button-naked-active-background-color,#d6d6d6);border-color:var(--tox-private-button-naked-active-border-color,#d6d6d6);color:var(--tox-private-button-naked-active-text-color,#222f3e);box-shadow:none}.tox .tox-button--naked.tox-button--enabled{background-color:var(--tox-private-button-naked-enabled-background-color,#b1ccdf);border-color:var(--tox-private-button-naked-enabled-border-color,#b1ccdf);color:var(--tox-private-button-naked-enabled-text-color,#222f3e);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled[disabled]{color:var(--tox-private-button-naked-disabled-text-color,rgba(34,47,62,.5));cursor:not-allowed}.tox .tox-button--naked.tox-button--enabled:focus:not(:disabled){background-color:var(--tox-private-button-naked-enabled-focus-background-color,#9fc1d7);border-color:var(--tox-private-button-naked-enabled-focus-border-color,#9fc1d7);color:var(--tox-private-button-naked-enabled-focus-text-color,#222f3e);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled:hover:not(:disabled){background-color:var(--tox-private-button-naked-enabled-hover-background-color,#9fc1d7);border-color:var(--tox-private-button-naked-enabled-hover-border-color,#9fc1d7);color:var(--tox-private-button-naked-enabled-hover-text-color,#222f3e);box-shadow:unset}.tox .tox-button--naked.tox-button--enabled:active:not(:disabled){background-color:var(--tox-private-button-naked-enabled-active-background-color,#8db5d0);border-color:var(--tox-private-button-naked-enabled-active-border-color,#8db5d0);color:var(--tox-private-button-naked-enabled-active-text-color,#222f3e);box-shadow:unset}.tox .tox-button--secondary--outline{background-color:transparent;border-color:var(--tox-private-button-secondary-outline-border-color,#f0f0f0);color:var(--tox-private-button-secondary-outline-text-color,#222f3e)}.tox .tox-button--secondary--outline:focus:not(:disabled){background-color:var(--tox-private-button-secondary-outline-focus-background-color,#e3e3e3);border-color:var(--tox-private-button-secondary-outline-focus-border-color,#e3e3e3);color:var(--tox-private-button-secondary-outline-focus-text-color,#222f3e)}.tox .tox-button--secondary--outline:hover:not(:disabled){background-color:var(--tox-private-button-secondary-outline-hover-background-color,#f0f0f0);border-color:var(--tox-private-button-secondary-outline-hover-border-color,#e3e3e3);color:var(--tox-private-button-secondary-outline-hover-text-color,#222f3e)}.tox .tox-button--secondary--outline:active:not(:disabled){background-color:var(--tox-private-button-secondary-outline-active-background-color,#e3e3e3);border-color:var(--tox-private-button-secondary-outline-active-border-color,#e3e3e3);color:var(--tox-private-button-secondary-outline-active-text-color,#222f3e)}.tox .tox-button--secondary--outline[disabled]{background-color:var(--tox-private-button-secondary-outline-disabled-background-color,transparent);border-color:var(--tox-private-button-secondary-outline-disabled-border-color,#f0f0f0);color:var(--tox-private-button-secondary-outline-disabled-text-color,rgba(34,47,62,.5))}.tox .tox-checkbox{align-items:center;border-radius:var(--tox-private-checkbox-border-radius,3px);cursor:pointer;display:flex;height:var(--tox-private-control-height,36px);min-width:var(--tox-private-control-height,36px)}.tox .tox-checkbox__input{height:1px;overflow:hidden;position:absolute;top:auto;width:1px}.tox .tox-checkbox__icons{display:flex;align-items:center;justify-content:center;box-sizing:content-box;padding:var(--tox-private-pad-xs,calc(4px - 1px));border-radius:var(--tox-private-checkbox-border-radius,3px);box-shadow:0 0 0 2px transparent;height:var(--tox-private-control-line-height,24px);aspect-ratio:1/1}.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:block;fill:var(--tox-private-checkbox-unselected-color,rgba(34,47,62,0.3))}@media (forced-colors:active){.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:currentColor!important}}.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:none;fill:var(--tox-private-checkbox-indeterminate-color,#207ab7)}.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg{display:none;fill:var(--tox-private-checkbox-selected-color,#207ab7)}.tox .tox-checkbox--disabled{color:var(--tox-private-checkbox-disabled-text-color,rgba(34,47,62,.5));cursor:not-allowed}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(34,47,62,0.5))}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(34,47,62,0.5))}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{fill:var(--tox-private-checkbox-disabled-text-color,rgba(34,47,62,0.5))}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__checked svg{display:block}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:block}.tox input.tox-checkbox__input:focus+.tox-checkbox__icons{box-shadow:var(--tox-private-checkbox-focus-box-shadow,inset 0 0 0 1px #207ab7)}.tox:not([dir=rtl]) .tox-checkbox__label{margin-left:var(--tox-private-pad-xs,4px)}.tox:not([dir=rtl]) .tox-checkbox__input{left:-10000px}.tox:not([dir=rtl]) .tox-bar .tox-checkbox{margin-left:var(--tox-private-pad-xs,4px)}.tox[dir=rtl] .tox-checkbox__label{margin-right:var(--tox-private-pad-xs,4px)}.tox[dir=rtl] .tox-checkbox__input{right:-10000px}.tox[dir=rtl] .tox-bar .tox-checkbox{margin-right:var(--tox-private-pad-xs,4px)}.tox .tox-collection--toolbar .tox-collection__group{display:flex;padding:0}.tox .tox-collection--grid .tox-collection__group{display:flex;flex-wrap:wrap;max-height:208px;overflow-x:hidden;overflow-y:auto;padding:0}.tox .tox-collection--list .tox-collection__group{border-bottom-width:0;border-color:#ccc;border-left-width:0;border-right-width:0;border-style:solid;border-top-width:1px;padding:4px 0;display:flex;flex-direction:column}.tox .tox-collection--list .tox-collection__group:first-child{border-top-width:0}.tox .tox-collection__group-heading{background-color:#e6e6e6;color:rgba(34,47,62,.7);cursor:default;font-size:12px;font-style:normal;font-weight:400;margin-bottom:4px;margin-top:-4px;padding:4px 8px;text-transform:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-collection__item{align-items:center;border-radius:3px;color:#222f3e;display:flex;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-image-selector-menu .tox-collection__item,.tox .tox-image-selector-menu .tox-collection__item-image-selector{flex-direction:column}.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-checkmark,.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-icon,.tox .tox-image-selector-menu .tox-collection__item .tox-collection__item-image,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-checkmark,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-icon,.tox .tox-image-selector-menu .tox-collection__item-image-selector .tox-collection__item-image{flex-grow:1}.tox .tox-image-selector-menu .tox-collection__item label,.tox .tox-image-selector-menu .tox-collection__item-image-selector label{width:48px;white-space:nowrap;overflow:hidden;font-size:12px;color:#222f3e;text-align:center;align-self:flex-end}.tox .tox-image-selector-menu .tox-collection__item-checkmark{height:24px;width:24px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.tox .tox-image-selector-menu .tox-collection__item-checkmark svg path{fill:#207ab7;stroke:#207ab7}.tox .tox-image-selector-menu .tox-image-selector__row .tox-collection__item-image-selector.tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#fff}.tox .tox-image-selector-menu .tox-image-selector__row .tox-collection__item-image-selector.tox-collection__item--enabled:not(.tox-collection__item--state-disabled){z-index:2;background-color:#fff;opacity:.8;background-clip:content-box}.tox .tox-collection--list .tox-collection__item{padding:4px 8px}.tox .tox-collection--toolbar .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--grid .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--list .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#fff;color:#222f3e}.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#dee0e2;color:#222f3e}@media (forced-colors:active){.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){border:solid 1px}}.tox .tox-collection--grid .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#c8cbcf;color:#222f3e}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#dee0e2;color:#222f3e;position:relative;z-index:1}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent inset;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border:2px solid highlight}}.tox .tox-collection--toolbar .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){background-color:#c8cbcf;color:#222f3e}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--enabled:not(.tox-collection__item--state-disabled){border-radius:3px;outline:solid 1px}}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled){color:#222f3e;background-color:#fff;position:relative}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):hover{background-color:#dee0e2;color:#222f3e}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus{background-color:#dee0e2;color:#222f3e}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after{border:2px solid highlight}}@media (forced-colors:active){.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):hover{border-radius:3px;outline:solid 1px}}.tox .tox-collection__item-image{border:1px solid #ccc;border-radius:3px;display:flex;flex-direction:column;justify-content:center;margin-bottom:4px;position:relative}.tox .tox-collection__item-checkmark,.tox .tox-collection__item-icon{align-items:center;display:flex;height:24px;justify-content:center;width:24px}.tox .tox-collection__item-checkmark svg,.tox .tox-collection__item-icon svg{fill:currentColor}.tox .tox-collection--toolbar-lg .tox-collection__item-icon{height:48px;width:48px}.tox .tox-collection__item-label{color:currentColor;display:inline-block;flex:1;font-size:14px;font-style:normal;font-weight:400;line-height:24px;max-width:100%;text-transform:none;word-break:break-all}.tox .tox-collection__item-separator{border-bottom:1px solid #ccc;height:0;margin:4px 0}.tox .tox-collection__item-accessory{color:currentColor;display:inline-block;font-size:14px;height:24px;line-height:24px;text-transform:none}.tox .tox-collection__item-caret{align-items:center;display:flex;min-height:24px}.tox .tox-collection__item-caret::after{content:'';font-size:0;min-height:inherit}.tox .tox-collection__item-caret svg{fill:currentColor}.tox .tox-collection__item--state-disabled{background-color:transparent;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg{fill:rgba(34,47,62,0.5)}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg{display:none}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-accessory+.tox-collection__item-checkmark{display:none}.tox .tox-collection--horizontal{background-color:#fff;border:1px solid #ccc;border-radius:3px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:nowrap;margin-bottom:0;overflow-x:auto;padding:0}.tox .tox-collection--horizontal .tox-collection__group{align-items:center;display:flex;flex-wrap:nowrap;margin:0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item{height:34px;margin:3px 0 2px 0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item-label{white-space:nowrap}.tox .tox-collection--horizontal .tox-collection__item-caret{margin-left:4px}.tox .tox-collection__item-container{display:flex}.tox .tox-collection__item-container--row{align-items:center;flex:1 1 auto;flex-direction:row}.tox .tox-collection__item-container--row.tox-collection__item-container--align-left{margin-right:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--align-right{justify-content:flex-end;margin-left:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-top{align-items:flex-start;margin-bottom:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-middle{align-items:center}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-bottom{align-items:flex-end;margin-top:auto}.tox .tox-collection__item-container--column{align-self:center;flex:1 1 auto;flex-direction:column}.tox .tox-collection__item-container--column.tox-collection__item-container--align-left{align-items:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--align-right{align-items:flex-end}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-top{align-self:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-middle{align-self:center}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-bottom{align-self:flex-end}.tox:not([dir=rtl]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-right:1px solid #ccc}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>:not(:first-child){margin-left:8px}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-left:4px}.tox:not([dir=rtl]) .tox-collection__item-accessory{margin-left:16px;text-align:right}.tox:not([dir=rtl]) .tox-collection .tox-collection__item-caret{margin-left:16px}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-left:1px solid #ccc}.tox[dir=rtl] .tox-collection--list .tox-collection__item>:not(:first-child){margin-right:8px}.tox[dir=rtl] .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-right:4px}.tox[dir=rtl] .tox-collection__item-accessory{margin-right:16px;text-align:left}.tox[dir=rtl] .tox-collection .tox-collection__item-caret{margin-right:16px;transform:rotateY(180deg)}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__item-caret{margin-right:4px}@media (forced-colors:active){.tox .tox-hue-slider,.tox .tox-rgb-form .tox-rgba-preview{background-color:currentColor!important;border:1px solid highlight!important;forced-color-adjust:none}}.tox .tox-color-picker-container{display:flex;flex-direction:row;height:225px;margin:0}.tox .tox-sv-palette{box-sizing:border-box;display:flex;height:100%}.tox .tox-sv-palette-spectrum{height:100%}.tox .tox-sv-palette,.tox .tox-sv-palette-spectrum{width:225px}.tox .tox-sv-palette-thumb{background:0 0;border:1px solid #000;border-radius:50%;box-sizing:content-box;height:12px;position:absolute;width:12px}.tox .tox-sv-palette-inner-thumb{border:1px solid #fff;border-radius:50%;height:10px;position:absolute;width:10px}.tox .tox-hue-slider{box-sizing:border-box;height:100%;width:25px}.tox .tox-hue-slider-spectrum{background:linear-gradient(to bottom,red,#ff0080,#f0f,#8000ff,#00f,#0080ff,#0ff,#00ff80,#0f0,#80ff00,#ff0,#ff8000,red);height:100%;width:100%}.tox .tox-hue-slider,.tox .tox-hue-slider-spectrum{width:20px}.tox .tox-hue-slider-spectrum:focus,.tox .tox-sv-palette-spectrum:focus{outline:#08f solid}.tox .tox-hue-slider-thumb{background:#fff;border:1px solid #000;box-sizing:content-box;height:4px;width:100%}.tox .tox-rgb-form{display:flex;flex-direction:column;justify-content:space-between}.tox .tox-rgb-form div{align-items:center;display:flex;justify-content:space-between;margin-bottom:5px;width:inherit}.tox .tox-rgb-form input{min-width:6em}.tox .tox-rgb-form input.tox-invalid{border:1px solid red!important;box-shadow:0 0 0 1px red}.tox .tox-rgb-container{position:relative}.tox .tox-rgb-form .tox-invalid-icon{align-content:center;align-items:center;display:none;height:100%;position:absolute;right:0;top:0}.tox .tox-rgb-form .tox-invalid-icon .tox-control-wrap__status-icon-invalid{margin:0}.tox .tox-rgb-warning-note{background-color:#f5cccc;border:1px solid #f0b3b3;border-radius:3px;color:#77181f;padding:3px}.tox input.tox-invalid+.tox-invalid-icon{display:flex}.tox .tox-rgb-form .tox-rgba-preview{border:1px solid #000;flex-grow:2;margin-bottom:0}.tox:not([dir=rtl]) .tox-sv-palette{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider-thumb{margin-left:-1px}.tox:not([dir=rtl]) .tox-rgb-form label{margin-right:.5em}.tox[dir=rtl] .tox-sv-palette{margin-left:15px}.tox[dir=rtl] .tox-hue-slider{margin-left:15px}.tox[dir=rtl] .tox-hue-slider-thumb{margin-right:-1px}.tox[dir=rtl] .tox-rgb-form label{margin-left:.5em}.tox .tox-toolbar .tox-swatches,.tox .tox-toolbar__overflow .tox-swatches,.tox .tox-toolbar__primary .tox-swatches{margin:2px 0 3px 4px}.tox .tox-collection--list .tox-collection__group .tox-swatches-menu{border:0;margin:-4px 0}.tox .tox-swatches__row{display:flex}@media (forced-colors:active){.tox .tox-swatches__row{forced-color-adjust:none}}.tox .tox-swatch{height:30px;transition:transform .15s,box-shadow .15s;width:30px}.tox .tox-swatch:focus,.tox .tox-swatch:hover{box-shadow:0 0 0 1px rgba(127,127,127,.3) inset;transform:scale(.8)}.tox .tox-swatch--remove{align-items:center;display:flex;justify-content:center}.tox .tox-swatch--remove svg path{stroke:#e74c3c}.tox .tox-swatches__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-swatches__picker-btn svg{fill:#222f3e;height:24px;width:24px}.tox .tox-swatches__picker-btn:hover{background:#dee0e2}.tox div.tox-swatch:not(.tox-swatch--remove) svg{display:none;fill:#222f3e;height:24px;margin:calc((30px - 24px)/ 2) calc((30px - 24px)/ 2);width:24px}.tox div.tox-swatch:not(.tox-swatch--remove) svg path{fill:#fff;paint-order:stroke;stroke:#222f3e;stroke-width:2px}.tox div.tox-swatch:not(.tox-swatch--remove).tox-collection__item--enabled svg{display:block}.tox:not([dir=rtl]) .tox-swatches__picker-btn{margin-left:auto}.tox[dir=rtl] .tox-swatches__picker-btn{margin-right:auto}.tox .tox-comment{background:#fff;border:1px solid #fff;border-radius:3px;padding:8px;padding-bottom:16px;position:relative}.tox .tox-comment:hover{box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-comment.tox-comment--selected{background-color:#fff2c9;border:1px solid #ffcf30;box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-comment.tox-comment--selected:focus{border:2px solid transparent;margin:-1px}.tox .tox-comment.tox-comment--selected:focus:not(:first-child){margin-top:7px}.tox .tox-comment.tox-comment--selected .tox-comment__single{margin-bottom:12px}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus{position:relative}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus::after{top:-9px;pointer-events:none;position:absolute;content:"";display:block;bottom:-9px;left:-9px;right:-9px;border-radius:3px;border:2px solid transparent}.tox .tox-comment.tox-comment--selected .tox-comment__single:focus:last-of-type:has(textarea):after{bottom:calc((12px + 16px + 1px) * -1)}.tox .tox-comment__header{align-items:center;color:#222f3e;display:flex;justify-content:space-between}.tox .tox-comment__date{color:#222f3e;font-size:12px;line-height:18px}.tox .tox-comment__body{color:#222f3e;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;margin-top:8px;position:relative;text-transform:initial;transition:max-height .5s cubic-bezier(0, 1, 0, 1);white-space:pre-wrap}.tox .tox-comment__body.tox-comment__body--expanded{max-height:100em;transition:max-height 1s ease-in-out}.tox .tox-comment__body.tox-comment__body--pending{transition:max-height 0s}.tox .tox-comment__body p{margin:0}.tox .tox-comment__body textarea{resize:none;white-space:normal;width:100%;font-size:16px}.tox .tox-comment__loading-text{align-items:center;color:#222f3e;display:flex;flex-direction:column;position:relative}.tox .tox-comment__loading-text>div{padding-bottom:16px}.tox .tox-comment__overlaytext{bottom:0;flex-direction:column;font-size:14px;left:0;padding:1em;position:absolute;right:0;top:0;z-index:10}.tox .tox-comment__overlaytext p{background-color:#fff;box-shadow:0 0 8px 8px #fff;color:#222f3e;text-align:center}.tox .tox-comment__overlaytext div:nth-of-type(2){font-size:.8em}.tox .tox-comment__expander{padding-top:8px}.tox .tox-comment__expander p{color:rgba(34,47,62,.7);font-size:14px;font-style:normal}.tox .tox-comment__expander p:focus{font-weight:700}.tox .tox-comment__buttonspacing{padding-top:16px;text-align:center}.tox .tox-tbtn.tox-comment__mention-btn{display:flex;width:34px;height:34px;padding:5px;justify-content:center;align-items:center;margin:0;background-color:transparent}.tox .tox-comment-thread{background:#fff;position:relative;border-radius:3px;background-color:transparent}.tox .tox-comment-thread>:not(:first-child){margin-top:8px}.tox .tox-comment-thread__overlay::after{background:#fff;bottom:0;content:"";display:flex;left:0;opacity:.9;position:absolute;right:0;top:0;z-index:5}.tox .tox-comment__reply{display:flex;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__reply>:first-child{margin-bottom:8px;width:100%}.tox .tox-comment__edit{display:flex;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__gradient::after{background:linear-gradient(rgba(255,255,255,0),#fff);bottom:0;content:"";display:block;height:5em;margin-top:-40px;position:absolute;width:100%}.tox .tox-comment__overlay{background:#fff;bottom:0;display:flex;flex-direction:column;flex-grow:1;left:0;opacity:.9;position:absolute;right:0;text-align:center;top:0;z-index:5}.tox .tox-comment__busy-spinner{align-items:center;background-color:#fff;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:20}.tox .tox-comment__scroll{display:flex;flex-direction:column;flex-shrink:1;overflow:auto;padding:12px;scroll-behavior:smooth}.tox .tox-comment__scroll:has(textarea:focus){scroll-behavior:auto}.tox .tox-comment--disappearing{transition:opacity .5s ease}.tox .tox-comment[data-transitioning-destination=deleting]{opacity:0}.tox .tox-ring-loader{width:10px;height:10px;border:1px solid #fff;border-bottom-color:transparent;border-radius:50%;display:inline-block;box-sizing:border-box;animation:tox-rotation 1s linear infinite}.tox:not([dir=rtl]) .tox-comment__edit{margin-left:8px}.tox:not([dir=rtl]) .tox-comment__buttonspacing>:last-child,.tox:not([dir=rtl]) .tox-comment__edit>:last-child,.tox:not([dir=rtl]) .tox-comment__reply>:last-child{margin-left:8px}.tox[dir=rtl] .tox-comment__edit{margin-right:8px}.tox[dir=rtl] .tox-comment__buttonspacing>:last-child,.tox[dir=rtl] .tox-comment__edit>:last-child,.tox[dir=rtl] .tox-comment__reply>:last-child{margin-right:8px}.tox .tox-user{align-items:center;display:flex}.tox .tox-user__avatar svg{fill:rgba(34,47,62,0.7)}.tox .tox-user__avatar img{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-user__name{color:#222f3e;font-size:14px;font-style:normal;font-weight:700;line-height:18px;text-transform:none}.tox:not([dir=rtl]) .tox-user__avatar img,.tox:not([dir=rtl]) .tox-user__avatar svg{margin-right:8px}.tox:not([dir=rtl]) .tox-user__avatar+.tox-user__name{margin-left:8px}.tox[dir=rtl] .tox-user__avatar img,.tox[dir=rtl] .tox-user__avatar svg{margin-left:8px}.tox[dir=rtl] .tox-user__avatar+.tox-user__name{margin-right:8px}.tox .tox-dialog-wrap{align-items:center;display:flex;justify-content:center;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1100}.tox .tox-dialog-wrap__backdrop{background-color:rgba(255,255,255,.75);bottom:0;left:0;position:absolute;right:0;top:0;z-index:1}.tox .tox-dialog-wrap__backdrop--opaque{background-color:#fff}.tox .tox-dialog{background-color:#fff;border-color:#ccc;border-radius:3px;border-style:solid;border-width:1px;box-shadow:0 16px 16px -10px rgba(34,47,62,.15),0 0 40px 1px rgba(34,47,62,.15);display:flex;flex-direction:column;max-height:100%;max-width:480px;overflow:hidden;position:relative;width:95vw;z-index:2}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog{align-self:flex-start;margin:8px auto;max-height:calc(100vh - 8px * 2);width:calc(100vw - 16px)}}.tox .tox-dialog-inline{z-index:1100}.tox .tox-dialog__header{align-items:center;background-color:#fff;border-bottom:none;color:#222f3e;display:flex;font-size:16px;justify-content:space-between;padding:8px 16px 0 16px;position:relative}.tox .tox-dialog__header .tox-button{z-index:1}.tox .tox-dialog__draghandle{cursor:grab;height:100%;left:0;position:absolute;top:0;width:100%}.tox .tox-dialog__draghandle:active{cursor:grabbing}.tox .tox-dialog__dismiss{margin-left:auto}.tox .tox-dialog__title{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:20px;font-style:normal;font-weight:400;line-height:1.3;margin:0;text-transform:none}.tox .tox-dialog__body{color:#222f3e;display:flex;flex:1;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;min-width:0;text-align:left;text-transform:none}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body{flex-direction:column}}.tox .tox-dialog__body-nav{align-items:flex-start;display:flex;flex-direction:column;flex-shrink:0;padding:16px 16px}@media only screen and (min-width:768px){.tox .tox-dialog__body-nav{max-width:11em}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body-nav{flex-direction:row;-webkit-overflow-scrolling:touch;overflow-x:auto;padding-bottom:0}}.tox .tox-dialog__body-nav-item{border-bottom:2px solid transparent;color:rgba(34,47,62,.7);display:inline-block;flex-shrink:0;font-size:14px;line-height:1.3;margin-bottom:8px;max-width:13em;-webkit-text-decoration:none;text-decoration:none}.tox .tox-dialog__body-nav-item:focus{background-color:rgba(32,122,183,.1)}.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid #214d6e;color:#214d6e}@media (forced-colors:active){.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid highlight;color:highlight}}.tox .tox-dialog__body-content{box-sizing:border-box;display:flex;flex:1;flex-direction:column;max-height:min(650px,calc(100vh - 110px));overflow:auto;-webkit-overflow-scrolling:touch;padding:16px 16px}.tox .tox-dialog__body-content>*{margin-bottom:0;margin-top:16px}.tox .tox-dialog__body-content>:first-child{margin-top:0}.tox .tox-dialog__body-content>:last-child{margin-bottom:0}.tox .tox-dialog__body-content>:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content a{color:#214d6e;cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content a:focus,.tox .tox-dialog__body-content a:hover{color:#0a1620;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content a:focus-visible{border-radius:1px;outline:2px solid #214d6e;outline-offset:2px}.tox .tox-dialog__body-content a:active{color:#000;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-dialog__body-content svg{fill:#222f3e}.tox .tox-dialog__body-content strong{font-weight:700}.tox .tox-dialog__body-content ul{list-style-type:disc}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{padding-inline-start:2.5rem}.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{margin-bottom:16px}.tox .tox-dialog__body-content dd,.tox .tox-dialog__body-content dl,.tox .tox-dialog__body-content dt,.tox .tox-dialog__body-content ol,.tox .tox-dialog__body-content ul{display:block;margin-inline-end:0;margin-inline-start:0}.tox .tox-dialog__body-content .tox-form__group h1{color:#222f3e;font-size:20px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group h2{color:#222f3e;font-size:16px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group p{margin-bottom:16px}.tox .tox-dialog__body-content .tox-form__group h1:first-child,.tox .tox-dialog__body-content .tox-form__group h2:first-child,.tox .tox-dialog__body-content .tox-form__group p:first-child{margin-top:0}.tox .tox-dialog__body-content .tox-form__group h1:last-child,.tox .tox-dialog__body-content .tox-form__group h2:last-child,.tox .tox-dialog__body-content .tox-form__group p:last-child{margin-bottom:0}.tox .tox-dialog__body-content .tox-form__group h1:only-child,.tox .tox-dialog__body-content .tox-form__group h2:only-child,.tox .tox-dialog__body-content .tox-form__group p:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--center{text-align:center}.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--end{text-align:end}.tox .tox-dialog--width-lg{height:650px;max-width:1200px}.tox .tox-dialog--fullscreen{height:100%;max-width:100%}.tox .tox-dialog--fullscreen .tox-dialog__body-content{max-height:100%}.tox .tox-dialog--width-md{max-width:800px}.tox .tox-dialog--width-md .tox-dialog__body-content{overflow:auto}.tox .tox-dialog__body-content--centered{text-align:center}.tox .tox-dialog__footer{align-items:center;background-color:#fff;border-top:1px solid #ccc;display:flex;justify-content:space-between;padding:8px 16px}.tox .tox-dialog__footer-end,.tox .tox-dialog__footer-start{display:flex}.tox .tox-dialog__busy-spinner{align-items:center;background-color:rgba(255,255,255,.75);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:3}.tox .tox-dialog__table{border-collapse:collapse;width:100%}.tox .tox-dialog__table thead th{font-weight:700;padding-bottom:8px}.tox .tox-dialog__table thead th:first-child{padding-right:8px}.tox .tox-dialog__table tbody tr{border-bottom:1px solid #404040}.tox .tox-dialog__table tbody tr:last-child{border-bottom:none}.tox .tox-dialog__table td{padding-bottom:8px;padding-top:8px}.tox .tox-dialog__table td:first-child{padding-right:8px}.tox .tox-dialog__iframe{min-height:200px}.tox .tox-dialog__iframe.tox-dialog__iframe--opaque{background:#fff}.tox .tox-navobj-bordered{position:relative}.tox .tox-navobj-bordered::before{border:1px solid #ccc;border-radius:3px;content:'';inset:0;opacity:1;pointer-events:none;position:absolute;z-index:1}.tox .tox-navobj-bordered iframe{border-radius:3px}.tox .tox-navobj-bordered-focus.tox-navobj-bordered::before{border-color:#207ab7;box-shadow:none;outline:2px solid rgba(32,122,183,.25)}.tox .tox-dialog__popups{position:absolute;width:100%;z-index:1100}.tox .tox-dialog__body-iframe{display:flex;flex:1;flex-direction:column}.tox .tox-dialog__body-iframe .tox-navobj{display:flex;flex:1}.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2){flex:1;height:100%}.tox .tox-dialog-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-dialog-dock-fadein{opacity:1;visibility:visible}.tox .tox-dialog-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein{transition-delay:0s}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav{margin-right:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav-item:not(:first-child){margin-left:8px}}.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-end>*,.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-start>*{margin-left:8px}.tox[dir=rtl] .tox-dialog__body{text-align:right}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav{margin-left:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav-item:not(:first-child){margin-right:8px}}.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-end>*,.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-start>*{margin-right:8px}.tox .tox-dropdown-content{box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);position:fixed;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;overflow:auto;height:fit-content;width:fit-content;border-radius:var(--tox-private-panel-border-radius,3px);background-color:var(--tox-private-background-color,#fff);max-height:50vh}.tox .tox-dropdown-content .tox-menu{width:100%;box-shadow:none}body.tox-dialog__disable-scroll{overflow:hidden}.tox .tox-dropzone-container{display:flex;flex:1}.tox .tox-dropzone{align-items:center;background:#fff;border:2px dashed #ccc;box-sizing:border-box;display:flex;flex-direction:column;flex-grow:1;justify-content:center;min-height:100px;padding:10px}.tox .tox-dropzone p{color:rgba(34,47,62,.7);margin:0 0 16px 0}.tox .tox-edit-area{display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-edit-area::before{border:0 solid transparent;border-radius:4px;content:'';inset:0;opacity:0;pointer-events:none;position:absolute;transition:opacity .15s;z-index:1}@media (forced-colors:active){.tox .tox-edit-area::before{border:0 solid highlight}}.tox .tox-edit-area__iframe{background-color:#fff;border:0;box-sizing:border-box;flex:1;height:100%;position:absolute;width:100%}.tox.tox-edit-focus .tox-edit-area::before{opacity:1}.tox.tox-inline-edit-area{border:1px dotted #ccc}.tox .tox-expandable-box{background:var(--tox-private-background-color,#fff);border-radius:var(--tox-private-control-border-radius,3px);border:1px solid var(--tox-private-border-color,#ccc);display:flex;flex-direction:column;justify-content:stretch;overflow:hidden}.tox .tox-expandable-box>.tox-button{margin:0 var(--tox-private-pad-md,16px) var(--tox-private-pad-md,16px)}.tox .tox-expandable-box__title{align-items:center;background:hsl(from var(--tox-private-color-tint,#207ab7) h s l / 10%);border-bottom:1px solid var(--tox-private-border-color,#ccc);color:var(--tox-private-text-color,#222f3e);display:flex;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);gap:var(--tox-private-pad-sm,8px);min-width:0;padding:var(--tox-private-pad-sm,8px) var(--tox-private-pad-md,16px)}.tox .tox-expandable-box__title .tox-icon{flex-shrink:0;height:var(--tox-private-base-value,16px);fill:var(--tox-private-text-color,#222f3e)}.tox .tox-expandable-box__title-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-expandable-box__content{margin:var(--tox-private-pad-md,16px);overflow:auto}.tox .tox-expandable-box__content--overflowing{position:relative;overflow:hidden}.tox .tox-expandable-box__content--overflowing::after{content:'';position:absolute;bottom:0;left:0;right:0;height:min(100px,100%);pointer-events:none;background:linear-gradient(to bottom,transparent 50%,var(--tox-private-background-color,#fff))}.tox .tox-expandable-box__content--expanded{max-height:fit-content}.tox .tox-control-wrap{flex:1;position:relative}.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid,.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown,.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid{display:none}.tox .tox-control-wrap svg{display:block}.tox .tox-control-wrap__status-icon-wrap{position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-control-wrap__status-icon-invalid svg{fill:#c00}.tox .tox-control-wrap__status-icon-unknown svg{fill:orange}.tox .tox-control-wrap__status-icon-valid svg{fill:green}.tox:not([dir=rtl]) .tox-control-wrap--status-invalid .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-unknown .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-valid .tox-textfield{padding-right:32px}.tox:not([dir=rtl]) .tox-control-wrap__status-icon-wrap{right:4px}.tox[dir=rtl] .tox-control-wrap--status-invalid .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-unknown .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-valid .tox-textfield{padding-left:32px}.tox[dir=rtl] .tox-control-wrap__status-icon-wrap{left:4px}.tox .tox-custom-preview{border-color:#ccc;border-radius:3px;border-style:solid;border-width:1px;flex:1;padding:8px}.tox .tox-autocompleter{max-width:25em}.tox .tox-autocompleter .tox-menu{box-sizing:border-box;max-width:25em}.tox .tox-autocompleter .tox-autocompleter-highlight{font-weight:700}.tox .tox-color-input{display:flex;position:relative;z-index:1}.tox .tox-color-input .tox-textfield{z-index:-1}.tox .tox-color-input span{border-color:rgba(34 47 62 / 20%);border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;height:24px;position:absolute;top:6px;width:24px}@media (forced-colors:active){.tox .tox-color-input span{border-color:currentColor;border-width:2px!important;forced-color-adjust:none}}.tox .tox-color-input span:focus:not([aria-disabled=true]),.tox .tox-color-input span:hover:not([aria-disabled=true]){border-color:#207ab7;cursor:pointer}.tox .tox-color-input span::before{background-image:linear-gradient(45deg,rgba(0,0,0,.25) 25%,transparent 25%),linear-gradient(-45deg,rgba(0,0,0,.25) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.25) 75%),linear-gradient(-45deg,transparent 75%,rgba(0,0,0,.25) 75%);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px;border:1px solid #fff;border-radius:3px;box-sizing:border-box;content:'';height:24px;left:-1px;position:absolute;top:-1px;width:24px;z-index:-1}@media (forced-colors:active){.tox .tox-color-input span::before{border:none}}.tox .tox-color-input span[aria-disabled=true]{cursor:not-allowed}.tox:not([dir=rtl]) .tox-color-input .tox-textfield{padding-left:36px}.tox:not([dir=rtl]) .tox-color-input span{left:6px}.tox[dir=rtl] .tox-color-input .tox-textfield{padding-right:36px}.tox[dir=rtl] .tox-color-input span{right:6px}.tox .tox-label,.tox .tox-toolbar-label{color:rgba(34,47,62,.7);display:block;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;padding:0 8px 0 0;text-transform:none;white-space:nowrap}.tox .tox-toolbar-label{padding:0 8px}.tox[dir=rtl] .tox-label{padding:0 0 0 8px}.tox .tox-form{display:flex;flex:1;flex-direction:column}.tox .tox-form__group{box-sizing:border-box;margin-bottom:4px}.tox .tox-form-group--maximize{flex:1}.tox .tox-form__group--error{color:#c00}.tox .tox-form__group--collection{display:flex}.tox .tox-form__grid{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}.tox .tox-form__grid--2col>.tox-form__group{width:calc(50% - (8px / 2))}.tox .tox-form__grid--3col>.tox-form__group{width:calc(100% / 3 - (8px / 2))}.tox .tox-form__grid--4col>.tox-form__group{width:calc(25% - (8px / 2))}.tox .tox-form__controls-h-stack{align-items:center;display:flex}.tox .tox-form__group--inline{align-items:center;display:flex}.tox .tox-form__group--stretched{display:flex;flex:1;flex-direction:column}.tox .tox-form__group--stretched .tox-textarea{flex:1}.tox .tox-form__group--stretched .tox-navobj{display:flex;flex:1}.tox .tox-form__group--stretched .tox-navobj :nth-child(2){flex:1;height:100%}.tox:not([dir=rtl]) .tox-form__controls-h-stack>:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-form__controls-h-stack>:not(:first-child){margin-right:4px}.tox .tox-lock.tox-locked .tox-lock-icon__unlock,.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock{display:none}.tox .tox-context-form__group .tox-button--icon.tox-lock-context-form-size-input{margin-left:8px;margin-right:8px}.tox .tox-listboxfield .tox-listbox--select,.tox .tox-textarea,.tox .tox-textarea-wrap .tox-textarea:focus,.tox .tox-textfield,.tox .tox-toolbar-textfield{appearance:none;background-color:#fff;border-color:#ccc;border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#222f3e;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 4.75px;resize:none;width:100%}.tox .tox-textarea[disabled],.tox .tox-textfield[disabled],.tox .tox-toolbar-textfield[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-custom-editor:focus-within,.tox .tox-focusable-wrapper:focus,.tox .tox-listboxfield .tox-listbox--select:focus,.tox .tox-textarea-wrap:focus-within,.tox .tox-textarea:focus,.tox .tox-textfield:focus,.tox .tox-toolbar-textfield:focus{background-color:#fff;border-color:#207ab7;box-shadow:none;outline:2px solid rgba(32,122,183,.25)}.tox .tox-toolbar-textfield{max-width:250px;min-height:unset;height:34px;margin:2px 0 3px 0}.tox .tox-naked-btn{background-color:transparent;border:0;border-color:transparent;box-shadow:unset;color:#207ab7;cursor:pointer;display:block;margin:0;padding:0}.tox .tox-naked-btn svg{display:block;fill:#222f3e}.tox .tox-textfield-size{width:80px}.tox:not([dir=rtl]) .tox-toolbar-textfield+*{margin-left:4px}.tox[dir=rtl] .tox-toolbar-textfield+*{margin-right:4px}.tox .tox-listboxfield{cursor:pointer;position:relative}.tox .tox-listboxfield .tox-listbox--select[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-listbox__select-label{cursor:default;flex:1;margin:0 4px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-listbox__menu .tox-menu{box-sizing:border-box}.tox .tox-listbox__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-listbox__select-chevron svg{fill:#222f3e}@media (forced-colors:active){.tox .tox-listbox__select-chevron svg{fill:currentColor!important}}.tox .tox-listboxfield .tox-listbox--select{align-items:center;display:flex}.tox:not([dir=rtl]) .tox-listboxfield svg{right:8px}.tox[dir=rtl] .tox-listboxfield svg{left:8px}.tox .tox-selectfield{cursor:pointer;position:relative}.tox .tox-selectfield select{appearance:none;background-color:#fff;border-color:#ccc;border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#222f3e;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 4.75px;resize:none;width:100%}.tox .tox-selectfield select[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-selectfield select::-ms-expand{display:none}.tox .tox-selectfield select:focus{background-color:#fff;border-color:#207ab7;box-shadow:none;outline:2px solid rgba(32,122,183,.25)}.tox .tox-selectfield svg{pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-selectfield select option:checked{background-color:revert;color:revert}.tox:not([dir=rtl]) .tox-selectfield select[size="0"],.tox:not([dir=rtl]) .tox-selectfield select[size="1"]{padding-right:24px}.tox:not([dir=rtl]) .tox-selectfield svg{right:8px}.tox[dir=rtl] .tox-selectfield select[size="0"],.tox[dir=rtl] .tox-selectfield select[size="1"]{padding-left:24px}.tox[dir=rtl] .tox-selectfield svg{left:8px}.tox .tox-textarea-wrap{border-color:#ccc;border-radius:3px;border-style:solid;border-width:1px;display:flex;flex:1;overflow:hidden}.tox .tox-textarea{appearance:textarea;white-space:pre-wrap}.tox .tox-textarea-wrap .tox-textarea{border:none}.tox .tox-textarea-wrap .tox-textarea:focus{border:none}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}.tox .tox-help__more-link{list-style:none;margin-top:1em}.tox .tox-imagepreview{background-color:#666;height:380px;overflow:hidden;position:relative;width:100%}.tox .tox-imagepreview.tox-imagepreview__loaded{overflow:auto}.tox .tox-imagepreview__container{display:flex;left:100vw;position:absolute;top:100vw}.tox .tox-imagepreview__image{background:url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==)}.tox .tox-image-tools .tox-spacer{flex:1}.tox .tox-image-tools .tox-bar{align-items:center;display:flex;height:60px;justify-content:center}.tox .tox-image-tools .tox-imagepreview,.tox .tox-image-tools .tox-imagepreview+.tox-bar{margin-top:8px}.tox .tox-image-tools .tox-croprect-block{background:#000;opacity:.5;position:absolute;zoom:1}.tox .tox-image-tools .tox-croprect-handle{border:2px solid #fff;height:20px;left:0;position:absolute;top:0;width:20px}.tox .tox-image-tools .tox-croprect-handle-move{border:0;cursor:move;position:absolute}.tox .tox-image-tools .tox-croprect-handle-nw{border-width:2px 0 0 2px;cursor:nw-resize;left:100px;margin:-2px 0 0 -2px;top:100px}.tox .tox-image-tools .tox-croprect-handle-ne{border-width:2px 2px 0 0;cursor:ne-resize;left:200px;margin:-2px 0 0 -20px;top:100px}.tox .tox-image-tools .tox-croprect-handle-sw{border-width:0 0 2px 2px;cursor:sw-resize;left:100px;margin:-20px 2px 0 -2px;top:200px}.tox .tox-image-tools .tox-croprect-handle-se{border-width:0 2px 2px 0;cursor:se-resize;left:200px;margin:-20px 0 0 -20px;top:200px}.tox .tox-image-selector-loading-spinner-wrapper{display:flex;justify-content:center;align-items:center}.tox .tox-image-selector-loading-spinner{position:absolute;width:min(24px,30%);aspect-ratio:1/1;border-radius:50%;border:3px solid #207ab7;border-bottom-color:transparent;animation:tox-rotation 1s linear infinite}.tox .tox-toolbar .tox-image-selector,.tox .tox-toolbar__overflow .tox-image-selector,.tox .tox-toolbar__primary .tox-image-selector{margin:2px 0 3px 4px}.tox .tox-image-selector-menu{border:0;border-radius:3px;margin:-4px 0;padding:4px}.tox .tox-image-selector-menu .tox-collection--list .tox-collection__group{border:0;padding:0;margin:-4px 0}.tox .tox-image-selector-menu .tox-collection__item{max-width:48px}.tox .tox-image-selector-menu .tox-collection__item-icon{border:1px solid #ccc;border-radius:3px;margin-bottom:4px;width:100%}.tox .tox-image-selector-menu .tox-collection__item-icon svg path{stroke:#c00}.tox .tox-image-selector__row{display:flex}.tox .tox-image-selector--remove{align-items:center;display:flex;justify-content:center}.tox .tox-image-selector--remove svg path{stroke:#c00}.tox .tox-image-selector-image-wrapper{width:46px;height:46px;display:flex;align-items:center;justify-content:center}.tox .tox-image-selector-image-img{max-width:100%;max-height:100%}.tox .tox-image-selector__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-image-selector__picker-btn svg{fill:#222f3e;height:24px;width:24px}.tox .tox-image-selector__picker-btn:hover{background:#dee0e2}.tox .tox-context-toolbar{position:absolute;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;z-index:1150;background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color,#222f3e);border:1px solid #e3e3e3;border-radius:6px;box-shadow:0 2px 8px rgba(0,0,0,.08);padding:8px}.tox .tox-context-toolbar[popover]{inset:auto;margin:0}.tox .tox-context-toolbar .tox-toolbar{display:flex;flex-wrap:nowrap;gap:8px}.tox .tox-context-toolbar .tox-toolbar__group{display:flex;flex-wrap:nowrap;flex-shrink:0;gap:8px;align-items:center;padding:0}.tox .tox-insert-table-picker{background-color:#fff;display:flex;flex-wrap:wrap;width:170px}.tox .tox-insert-table-picker>div{border-color:#ccc;border-style:solid;border-width:0 1px 1px 0;box-sizing:border-box;height:17px;width:17px}.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker{margin:0 -4px}.tox .tox-insert-table-picker .tox-insert-table-picker__selected{background-color:rgba(32,122,183,.5);border-color:rgba(32,122,183,.5)}@media (forced-colors:active){.tox .tox-insert-table-picker .tox-insert-table-picker__selected{border-color:Highlight;filter:contrast(50%)}}.tox .tox-insert-table-picker__label{color:rgba(34,47,62,.7);display:block;font-size:14px;padding:4px;text-align:center;width:100%}.tox:not([dir=rtl]) .tox-insert-table-picker>div:nth-child(10n){border-right:0}.tox[dir=rtl] .tox-insert-table-picker>div:nth-child(10n+1){border-right:0}.tox-mentions__card-common{z-index:1200}.tox.tox-mentions__card{background:#fff;border:1px solid #ccc;display:flex;padding:4px 8px}.tox.tox-mentions__card .tox-mentions__container{display:flex;flex-direction:column;align-self:center;margin:0 4px}.tox .tox-mentions__avatar{width:42px;height:42px;border-radius:50%;margin-right:4px}.tox .tox-mentions__username{font-size:14px;line-height:21px;color:#222f3e}.tox .tox-mentions__description{font-size:12px;line-height:21px;color:rgba(34,47,62,.7)}.tox .tox-collection__item--active .tox-mentions__description,.tox .tox-collection__item--active .tox-mentions__username{color:inherit}.tox .tox-menu{background-color:#fff;border:1px solid #ccc;border-radius:3px;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);display:inline-block;overflow:hidden;vertical-align:top;z-index:1150}.tox .tox-menu.tox-collection.tox-collection--list{padding:0 0}.tox .tox-menu.tox-collection.tox-collection--toolbar{padding:4px}.tox .tox-menu.tox-collection.tox-collection--grid{padding:4px}@media only screen and (min-width:768px){.tox .tox-menu .tox-collection__item-label{overflow-wrap:break-word;word-break:normal}.tox .tox-dialog__popups .tox-menu .tox-collection__item-label{word-break:break-all}}.tox .tox-menu__label blockquote,.tox .tox-menu__label code,.tox .tox-menu__label h1,.tox .tox-menu__label h2,.tox .tox-menu__label h3,.tox .tox-menu__label h4,.tox .tox-menu__label h5,.tox .tox-menu__label h6,.tox .tox-menu__label p{margin:0}.tox .tox-menubar{background: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;background-color:#fff;display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;grid-column:1/-1;grid-row:1;padding:0 4px 0 4px}.tox .tox-promotion+.tox-menubar{grid-column:1}@media (max-width:480px){.tox:not(.tox-tinymce-inline) .tox-menubar{flex-wrap:nowrap;min-width:0;min-height:39px;overflow-x:auto;overflow-y:hidden}}.tox .tox-promotion{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;background-color:#fff;grid-column:2;grid-row:1;padding-inline-end:8px;padding-inline-start:4px;padding-top:5px}.tox .tox-promotion-link{align-items:unsafe center;background-color:#e8f1f8;border-radius:5px;color:#086be6;cursor:pointer;display:flex;font-size:14px;height:26.6px;padding:4px 8px;white-space:nowrap}.tox .tox-promotion-link:hover{background-color:#b4d7ff}.tox .tox-promotion-link:focus{background-color:#d9edf7}.tox .tox-mbtn{align-items:center;background:#fff;border:0;border-radius:3px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:34px;justify-content:center;margin:2px 0 3px 0;outline:0;padding:0 4px;text-transform:none;width:auto}.tox .tox-mbtn[disabled]{background-color:#fff;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-mbtn:focus:not(:disabled){background:#dee0e2;border:0;box-shadow:none;color:#222f3e;position:relative;z-index:1}.tox .tox-mbtn:focus:not(:disabled)::after{pointer-events:none;border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-mbtn:focus:not(:disabled)::after{border:2px solid highlight}}.tox .tox-mbtn--active,.tox .tox-mbtn:not(:disabled).tox-mbtn--active:focus{background:#c8cbcf;border:0;box-shadow:none;color:#222f3e}.tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active){background:#dee0e2;border:0;box-shadow:none;color:#222f3e}.tox .tox-mbtn__select-label{cursor:default;font-weight:400;margin:0 4px}.tox .tox-mbtn[disabled] .tox-mbtn__select-label{cursor:not-allowed}.tox .tox-mbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px;display:none}.tox .tox-notification{border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;display:grid;font-size:14px;font-weight:400;grid-template-columns:minmax(40px,1fr) auto minmax(40px,1fr);margin-left:auto;margin-right:auto;margin-top:4px;opacity:0;padding:4px;transition:transform .1s ease-in,opacity 150ms ease-in;width:max-content}.tox .tox-notification a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification p{font-size:14px;font-weight:400}.tox .tox-notification:focus{border-color:#207ab7;box-shadow:none}.tox .tox-notification--in{opacity:1}.tox .tox-notification--success{background-color:#e4eeda;border-color:#d7e6c8;color:#222f3e}.tox .tox-notification--success p{color:#222f3e}.tox .tox-notification--success a{color:#517342}.tox .tox-notification--success a:focus,.tox .tox-notification--success a:hover{color:#24321d;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--success a:focus-visible{border-radius:1px;outline:2px solid #517342;outline-offset:2px}.tox .tox-notification--success a:active{color:#0d120a;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--success svg{fill:#222f3e}.tox .tox-notification--error{background-color:#f5cccc;border-color:#f0b3b3;color:#222f3e}.tox .tox-notification--error p{color:#222f3e}.tox .tox-notification--error a{color:#77181f}.tox .tox-notification--error a:focus,.tox .tox-notification--error a:hover{color:#220709;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--error a:focus-visible{border-radius:1px;outline:2px solid #77181f;outline-offset:2px}.tox .tox-notification--error a:active{color:#000;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--error svg{fill:#222f3e}.tox .tox-notification--warn,.tox .tox-notification--warning{background-color:#fff5cc;border-color:#fff0b3;color:#222f3e}.tox .tox-notification--warn p,.tox .tox-notification--warning p{color:#222f3e}.tox .tox-notification--warn a,.tox .tox-notification--warning a{color:#7a6e25}.tox .tox-notification--warn a:focus,.tox .tox-notification--warn a:hover,.tox .tox-notification--warning a:focus,.tox .tox-notification--warning a:hover{color:#2c280d;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--warn a:focus-visible,.tox .tox-notification--warning a:focus-visible{border-radius:1px;outline:2px solid #7a6e25;outline-offset:2px}.tox .tox-notification--warn a:active,.tox .tox-notification--warning a:active{color:#050502;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--warn svg,.tox .tox-notification--warning svg{fill:#222f3e}.tox .tox-notification--info{background-color:#d6e7fb;border-color:#c1dbf9;color:#222f3e}.tox .tox-notification--info p{color:#222f3e}.tox .tox-notification--info a{color:#2a64a6}.tox .tox-notification--info a:focus,.tox .tox-notification--info a:hover{color:#163355;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--info a:focus-visible{border-radius:1px;outline:2px solid #2a64a6;outline-offset:2px}.tox .tox-notification--info a:active{color:#0b1a2c;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-notification--info svg{fill:#222f3e}.tox .tox-notification__body{align-self:center;color:#222f3e;font-size:14px;grid-column-end:3;grid-column-start:2;grid-row-end:2;grid-row-start:1;text-align:center;white-space:normal;word-break:break-all;word-break:break-word}.tox .tox-notification__body>*{margin:0}.tox .tox-notification__body>*+*{margin-top:1rem}.tox .tox-notification__icon{align-self:center;grid-column-end:2;grid-column-start:1;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification__icon svg{display:block}.tox .tox-notification__dismiss{align-self:start;grid-column-end:4;grid-column-start:3;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification .tox-progress-bar{grid-column-end:4;grid-column-start:1;grid-row-end:3;grid-row-start:2;justify-self:center}.tox .tox-notification-container-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-notification-container-dock-fadein{opacity:1;visibility:visible}.tox .tox-notification-container-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-notification-container-dock-transition.tox-notification-container-dock-fadein{transition-delay:0s}.tox .tox-onboarding-overlay{height:100%;background-color:#f0f0f0;position:absolute;top:0;left:0;right:0;z-index:1302;overflow:auto;display:grid;justify-content:center;align-items:center}.tox .tox-onboarding-dialog{max-width:512px;background-color:#fff;display:flex;flex-direction:column;box-shadow:0 16px 16px -10px rgba(34,47,62,.15),0 0 40px 1px rgba(34,47,62,.15);border-radius:12px;margin:8px}.tox .tox-onboarding-dialog .tox-onboarding-header{color:#222f3e;display:flex;justify-content:center;align-items:center;font-size:20px;margin:24px 0 8px}.tox .tox-onboarding-dialog .tox-onboarding-step{display:grid;grid-template-columns:min-content 1fr min-content;align-items:center;margin:0 24px}.tox .tox-onboarding-dialog .tox-onboarding-step:not(:last-child){border-bottom:1px solid #c1c1c1}.tox .tox-onboarding-dialog .tox-onboarding-step--number{width:24px;aspect-ratio:1/1;border-radius:50%;border:1px solid #00ad0e;display:flex;justify-content:center;align-items:center;font-size:12px;font-weight:700;color:#00ad0e}.tox .tox-onboarding-dialog .tox-onboarding-step--body{padding:24px 0 24px 16px}.tox .tox-onboarding-dialog .tox-onboarding-step--body-header{color:#222f3e;font-size:14px;font-weight:700;margin-bottom:4px}.tox .tox-onboarding-dialog .tox-onboarding-step--body-details{color:rgba(34,47,62,.7);font-size:14px}.tox .tox-onboarding-dialog .tox-onboarding-step--action{padding-left:24px}.tox .tox-onboarding-dialog .tox-onboarding-footer{background-color:#f0f0f0;display:flex;justify-content:space-between;align-items:center;padding:16px 24px;border-bottom-left-radius:12px;border-bottom-right-radius:12px}.tox .tox-onboarding-dialog .tox-onboarding-footer p{display:flex;align-items:center;justify-content:center;gap:4px;font-size:14px;color:rgba(34,47,62,.7)}.tox .tox-onboarding-dialog svg{width:24px;fill:rgba(34,47,62,0.7)}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin{display:grid;align-items:center;grid-template-columns:min-content 1fr min-content;border-bottom:1px solid #c1c1c1;padding:24px 0;margin:0 16px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body{margin:0 16px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body .tox-promotion-dialog-plugin-header{color:#222f3e;font-size:14px;font-weight:700;margin-bottom:4px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--body .tox-promotion-dialog-plugin-details{color:rgba(34,47,62,.7);font-size:14px}.tox .tox-promotion-dialog .tox-promotion-dialog-plugin--icon{display:grid;place-content:center;width:56px;height:56px;line-height:24px;font-size:24px;border-radius:12px;background:linear-gradient(180deg,#fff 24%,#f0f0f0 100%);box-shadow:0 1px 1px 0 #222f3e12,0 3px 6px 0 #222f3e06;color:#207ab7}.tox .tox-promotion-dialog--subtitle{margin:16px;color:rgba(34,47,62,.7);font-size:14px}.tox .tox-promotion-dialog--explore{text-align:center;margin:16px;color:rgba(34,47,62,.7);font-size:14px}.tox .tox-promotion-dialog--explore a{color:#207ab7}.tox .tox-promotion-dialog--footer{background-color:#f0f0f0;color:rgba(34,47,62,.7);font-size:12px;text-align:center;padding:16px}.tox .tox-promotion-button{display:flex;align-items:center;height:26.6px;line-height:26.6px;font-size:14px;font-weight:700;background-color:#f1ebf9;color:#851aff;padding:8px 16px;cursor:pointer;white-space:nowrap;border-radius:5px}.tox .tox-promotion-button:focus{outline:1px solid #851AFF}.tox .tox-onboarding-dialog a,.tox .tox-promotion-dialog--footer a{color:rgba(34,47,62,.7);cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-onboarding-dialog a:focus,.tox .tox-onboarding-dialog a:hover,.tox .tox-promotion-dialog--footer a:focus,.tox .tox-promotion-dialog--footer a:hover{color:#0a1620;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-onboarding-dialog a:focus-visible,.tox .tox-promotion-dialog--footer a:focus-visible{border-radius:1px;outline:2px solid #214d6e;outline-offset:2px}.tox .tox-onboarding-dialog a:active,.tox .tox-promotion-dialog--footer a:active{color:#000;-webkit-text-decoration:underline;text-decoration:underline}.tox .tox-pop{display:inline-block;position:relative}.tox .tox-pop--resizing{transition:width .1s ease}.tox .tox-pop--resizing .tox-toolbar,.tox .tox-pop--resizing .tox-toolbar__group{flex-wrap:nowrap}.tox .tox-pop--transition{transition:.15s ease;transition-property:left,right,top,bottom}.tox .tox-pop--transition::after,.tox .tox-pop--transition::before{transition:all .15s,visibility 0s,opacity 75ms ease 75ms}.tox .tox-pop__dialog{background-color:#fff;border:1px solid #ccc;border-radius:3px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);min-width:0;overflow:hidden}.tox .tox-pop__dialog>:not(.tox-toolbar){margin:4px 4px 4px 8px}.tox .tox-pop__dialog .tox-toolbar{background-color:transparent;margin-bottom:-1px}.tox .tox-pop::after,.tox .tox-pop::before{border-style:solid;content:'';display:block;height:0;opacity:1;position:absolute;width:0}@media (forced-colors:active){.tox .tox-pop::after,.tox .tox-pop::before{content:none}}.tox .tox-pop.tox-pop--inset::after,.tox .tox-pop.tox-pop--inset::before{opacity:0;transition:all 0s .15s,visibility 0s,opacity 75ms ease}.tox .tox-pop.tox-pop--bottom::after,.tox .tox-pop.tox-pop--bottom::before{left:50%;top:100%}.tox .tox-pop.tox-pop--bottom::after{border-color:#fff transparent transparent transparent;border-width:8px;margin-left:-8px;margin-top:-1px}.tox .tox-pop.tox-pop--bottom::before{border-color:#ccc transparent transparent transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--top::after,.tox .tox-pop.tox-pop--top::before{left:50%;top:0;transform:translateY(-100%)}.tox .tox-pop.tox-pop--top::after{border-color:transparent transparent #fff transparent;border-width:8px;margin-left:-8px;margin-top:1px}.tox .tox-pop.tox-pop--top::before{border-color:transparent transparent #ccc transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--left::after,.tox .tox-pop.tox-pop--left::before{left:0;top:calc(50% - 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--left::after{border-color:transparent #fff transparent transparent;border-width:8px;margin-left:-15px}.tox .tox-pop.tox-pop--left::before{border-color:transparent #ccc transparent transparent;border-width:10px;margin-left:-19px}.tox .tox-pop.tox-pop--right::after,.tox .tox-pop.tox-pop--right::before{left:100%;top:calc(50% + 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--right::after{border-color:transparent transparent transparent #fff;border-width:8px;margin-left:-1px}.tox .tox-pop.tox-pop--right::before{border-color:transparent transparent transparent #ccc;border-width:10px;margin-left:-1px}.tox .tox-pop.tox-pop--align-left::after,.tox .tox-pop.tox-pop--align-left::before{left:20px}.tox .tox-pop.tox-pop--align-right::after,.tox .tox-pop.tox-pop--align-right::before{left:calc(100% - 20px)}.tox.tox-edit-focus .tox-sidebar__resize-handle:hover::before{border-left:0 solid transparent}.tox .tox-sidebar-wrap{--tox-private-min-editing-area-width:280px;flex-grow:1;min-height:0}.tox .tox-sidebar-wrap:not(.tox .tox-sidebar-wrap--resizable){display:flex;flex-direction:row}.tox .tox-sidebar-wrap--resizable{display:grid;grid-template-columns:minmax(var(--tox-private-min-editing-area-width),1fr) minmax(0,max-content);grid-template-rows:minmax(0,1fr)}.tox .tox-sidebar{background-color:var(--tox-private-sidebar-background-color,#f0f0f0);display:flex;flex-direction:row;justify-content:flex-end}.tox .tox-sidebar__slider{display:flex;overflow:hidden}.tox .tox-sidebar-wrap--resizable .tox-sidebar__pane-container{width:var(--tox-private-requested-sidebar-width)}.tox .tox-sidebar-wrap--resizable .tox-sidebar--sliding-growing .tox-sidebar__pane-container,.tox .tox-sidebar-wrap--resizable .tox-sidebar--sliding-shrinking .tox-sidebar__pane-container{width:var(--tox-private-resolved-sidebar-width);min-width:var(--tox-private-resolved-sidebar-width)}.tox .tox-sidebar__pane-container{display:flex}.tox .tox-sidebar-wrap--resizable .tox-sidebar__resize-handle{display:block}.tox .tox-sidebar__resize-handle{display:none;position:relative;width:var(--tox-private-sidebar-resize-handle-width,1px);height:100%;cursor:col-resize;background-color:var(--tox-private-separator-color,#c1c1c1);z-index:1}.tox .tox-sidebar__resize-handle::before{content:'';position:absolute;top:0;bottom:0;width:8px;box-sizing:border-box;border-left:0 solid transparent;transition:border-left-width .15s ease,border-left-color .15s ease}.tox .tox-sidebar__resize-handle:hover::before{border-left:3px solid #207ab7}.tox .tox-sidebar-wrap--resizable .tox-sidebar__pane{width:calc(100% - var(--tox-private-sidebar-resize-handle-width,1px))}.tox .tox-sidebar__pane{display:flex}.tox .tox-sidebar--sliding-closed{opacity:0}.tox .tox-sidebar--sliding-open{opacity:1}.tox .tox-sidebar--sliding-growing,.tox .tox-sidebar--sliding-shrinking{transition:width .5s ease,opacity .5s ease}.tox .tox-sidebar-content{display:flex;flex-direction:column;position:relative;width:100%;height:100%}.tox .tox-sidebar-content__header{align-items:center;display:flex;justify-content:space-between;border-bottom:var(--tox-private-tinymceai-border-width,1px) solid var(--tox-private-neutral-20,#e3e3e3);padding:var(--tox-private-pad-sm,8px) 12px;background:var(--tox-private-background-color,#fff)}.tox .tox-sidebar-content__header .tox-sidebar-content__header-close-button{margin-left:auto}.tox .tox-sidebar-content__actions{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-sidebar-content__title{font-size:var(--tox-private-font-size-lg, 20px);font-weight:var(--tox-private-font-weight-normal,normal);padding:var(--tox-private-pad-sm,8px) 0 var(--tox-private-pad-sm,8px) 0;color:var(--tox-private-text-color,#222f3e);line-height:28px}.tox .tox-floating-sidebar{--tox-private-floating-sidebar-width:min(380px, 90vw);--tox-private-floating-sidebar-height:80vh;position:fixed;z-index:var(--tox-private-z-index-floatingsidebar,1050);box-shadow:var(--tox-private-floating-sidebar-box-shadow,0 0 40px 1px rgba(34,47,62,.15),0 16px 16px -10px rgba(34,47,62,.15),0 0 0 1px rgba(34,47,62,.15));width:var(--tox-private-floating-sidebar-width);height:var(--tox-private-floating-sidebar-height);background-color:var(--tox-private-floating-sidebar-background-color,#f0f0f0);border-radius:var(--tox-private-panel-border-radius,3px);overflow:hidden}.tox .tox-floating-sidebar:not(.tox .tox-floating-sidebar--open){display:none}.tox .tox-floating-sidebar--open{display:block}.tox .tox-floating-sidebar__content-wrapper{width:100%;height:100%;display:flex;flex-direction:column}.tox .tox-floating-sidebar__header{position:relative}.tox .tox-floating-sidebar .tox-ai__scroll:has(.tox-card-list){background-color:inherit}.tox .tox-ai .tox-expandable-box{margin-bottom:calc(var(--tox-private-pad-md,16px) * .75)}.tox .tox-ai .tox-expandable-box .tox-expandable-box__content{margin:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-md,16px) * .75)}.tox .tox-ai .tox-expandable-box>.tox-button{margin:0 calc(var(--tox-private-pad-md,16px) * .75) var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-expandable-box:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#207ab7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-sidebar-content__header{border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-background-color,#fff);padding:calc(var(--tox-private-pad-sm,8px) - var(--tox-private-tinymceai-focus-border-width,2px)) calc(12px - var(--tox-private-tinymceai-focus-border-width,2px));border-bottom:1px solid var(--tox-private-separator-color,#c1c1c1)}.tox .tox-ai .tox-sidebar-content__header:focus-visible:not(:disabled){border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#207ab7);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-sidebar-content__loader{align-items:center;display:flex;height:100%;justify-content:center;width:100%;z-index:1000}.tox .tox-ai .tox-sidebar-content__title{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin-right:auto}.tox .tox-ai .tox-sidebar-content__title:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#207ab7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-sidebar-content__actions .tox-ai__complete-review{display:flex;align-items:center;gap:6px;padding-top:var(--tox-private-pad-xs,4px);padding-bottom:var(--tox-private-pad-xs,4px);padding-left:var(--tox-private-pad-md,16px);padding-right:var(--tox-private-pad-md,16px)}.tox .tox-ai .tox-menu{width:-webkit-fill-available;width:-moz-available;width:stretch;overflow:visible}.tox .tox-ai .tox-ai__user-prompt{display:flex;flex-direction:column;margin-left:auto;gap:inherit;width:100%}.tox .tox-ai .tox-ai__user-prompt__context{margin-left:auto;display:flex;flex-direction:column;gap:inherit;align-items:end;width:100%}.tox .tox-ai .tox-ai__user-prompt__context .tox-tag{max-width:100%}.tox .tox-ai .tox-ai__user-prompt__text{background-color:var(--tox-private-background-secondary,#f0f0f0);padding:var(--tox-private-pad-sm,8px) calc(var(--tox-private-pad-md,16px) * .75);border-radius:var(--tox-private-control-border-radius,3px);max-width:80%;align-self:flex-end;color:var(--tox-private-text-color,#222f3e);white-space:pre-wrap}.tox .tox-ai .tox-ai__user-prompt__text:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#207ab7);outline-offset:var(--tox-private-tinymceai-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-ai__scroll{overflow-y:auto;overflow-x:hidden;background-color:var(--tox-private-background-color,#fff);display:flex;padding:12px;flex-direction:column;align-items:flex-start;gap:12px;flex:1 0 0;align-self:stretch}.tox .tox-ai .tox-ai__scroll:focus-visible:not(:disabled){outline:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#207ab7);outline-offset:calc(-1 * var(--tox-private-tinymceai-focus-border-width,2px));border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-ai__scroll--review:not(:has(.tox-sidebar-content__message-text)){background-color:var(--tox-private-background-secondary,#f0f0f0)}.tox .tox-ai .tox-ai__spinner svg{fill:var(--tox-private-color-tint,#207ab7)}.tox .tox-ai .tox-ai__response{width:100%;min-width:100%;max-width:100%}.tox .tox-ai .tox-ai__response__header{display:flex;align-items:center;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response__header .tox-icon svg{fill:var(--tox-private-color-tint,#207ab7)}.tox .tox-ai .tox-ai__response-status{display:flex;color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));font-size:var(--tox-private-font-size-sm, 14px);gap:var(--tox-private-pad-xs,4px);line-height:var(--tox-private-tinymceai-response-status-icon-height, max(24px, calc(14px + 4px)));padding-top:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response-status svg{fill:var(--tox-private-text-color-muted,rgba(34,47,62,0.7))}.tox .tox-ai .tox-ai__response-status-icon{border-radius:999px;border:1px solid var(--tox-private-neutral-20,#e3e3e3);background-color:var(--tox-private-background-color,#fff);height:var(--tox-private-tinymceai-response-status-icon-height,max(24px,calc(14px + 4px)));flex:0 0 24px;display:flex;align-items:center;justify-content:center}.tox .tox-ai .tox-ai__response-status-icon .tox-icon{display:contents}.tox .tox-ai .tox-ai__response-status-icon+.tox-ai__response-status-icon{margin-left:calc((var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px)) * -1)}.tox .tox-ai .tox-ai__icon{display:flex;align-items:center;justify-content:center}.tox .tox-ai .tox-ai__response-sources{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai__response-sources-header{display:block}.tox .tox-ai .tox-ai__response-sources-list{display:flex;align-items:center;gap:var(--tox-private-pad-sm,8px);align-self:stretch;flex-wrap:wrap}.tox .tox-ai .tox-ai__response-sources-list .tox-tag{border:1px solid var(--tox-private-separator-color,#c1c1c1);background-color:transparent;max-width:32%;max-height:24px;cursor:pointer}.tox .tox-ai .tox-ai__response-sources-list .tox-tag img,.tox .tox-ai .tox-ai__response-sources-list .tox-tag svg{width:16px;height:16px;min-width:16px;min-height:16px;max-width:16px;max-height:16px}.tox .tox-ai .tox-ai__response-content{padding:var(--tox-private-pad-sm,8px) 0;color:var(--tox-private-text-color,#222f3e);font-feature-settings:'liga' off,'clig' off;font-size:var(--tox-private-font-size-sm, 14px);font-style:normal;font-weight:var(--tox-private-font-weight-normal,normal);line-height:var(--tox-private-line-height, 18px);display:flex;flex-direction:column}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming{position:relative}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming .tox-ai__response-status{color:var(--tox-private-text-color,#222f3e);font-size:var(--tox-private-font-size-md, 16px);line-height:calc(var(--tox-private-font-size-md, 16px) + 4px)}.tox .tox-ai .tox-ai__response.tox-ai__response-streaming::after{content:'';position:absolute;bottom:0;left:0;right:0;height:min(100px,100%);pointer-events:none;background:linear-gradient(to bottom,transparent 60px,transparent 60px,var(--tox-private-background-color,#fff))}.tox .tox-ai .tox-ai-error{border-radius:var(--tox-private-panel-border-radius,3px);border:1px solid var(--tox-private-color-error,#c00);background:linear-gradient(0deg,rgba(from var(--tox-private-background-color,#fff) r g b / .9) 0,rgba(from var(--tox-private-background-color,#fff) r g b / .9) 100%),var(--tox-private-color-error,#c00);padding:var(--tox-private-pad-sm,8px);width:100%;display:flex;gap:var(--tox-private-pad-sm,8px);align-items:center}.tox .tox-ai .tox-ai-error__message{flex:1 0 0}.tox .tox-ai .tox-ai-error__icon{flex:0 0 auto;align-self:flex-start}.tox .tox-ai .tox-ai__footer{padding:calc(12px - var(--tox-private-tinymceai-focus-border-width,2px));gap:var(--tox-private-pad-sm,8px);background-color:var(--tox-private-background-color,#fff);display:flex;flex-direction:column;border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-background-color,#fff);border-top:1px solid var(--tox-private-separator-color,#c1c1c1)}.tox .tox-ai .tox-ai__footer:focus-visible:not(:disabled){border:var(--tox-private-tinymceai-focus-border-width,2px) solid var(--tox-private-color-tint,#207ab7);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai .tox-ai__context{display:flex;gap:var(--tox-private-pad-sm,8px);flex-wrap:wrap;max-height:calc((2 * (2 * var(--tox-private-pad-xs,4px) + var(--tox-private-base-value,16px))) + var(--tox-private-pad-sm,8px))}.tox .tox-ai .tox-ai__context .tox-tag{max-width:calc((100% - var(--tox-private-pad-sm,8px))/ 2)}.tox .tox-ai .tox-ai__context-more{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px);padding:var(--tox-private-pad-sm,8px);overflow:auto;max-width:var(--tox-private-tinymceai-context-more-max-width,320px)}.tox .tox-ai .tox-ai__context-more .tox-tag{max-width:100%}.tox .tox-ai .tox-ai__stop-generating{display:flex;align-items:center;gap:6px}.tox .tox-ai .tox-ai__footer-actions{display:flex;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-model-selection-button{display:flex;gap:var(--tox-private-pad-xs,4px)}.tox .tox-ai .tox-ai__footer-note{align-items:center;color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));display:flex;font-size:var(--tox-private-font-size-xs, 12px);height:24px;justify-content:center;letter-spacing:0;padding-top:var(--tox-private-pad-sm,8px);width:100%}.tox .tox-ai .tox-ai__models-menu{max-width:350px}.tox .tox-ai .tox-ai__models-menu .tox-menu{max-height:inherit;padding:var(--tox-private-pad-xs,4px)}.tox .tox-ai .tox-ai__models-menu__item__description{display:flex;flex-direction:column;align-items:start}.tox .tox-ai .tox-ai__models-menu__item__description__title{font-weight:var(--tox-private-font-weight-bold,bold);font-size:var(--tox-private-font-size-sm, 14px);line-height:calc(var(--tox-private-font-size-sm, 14px) * 1.28572);padding-bottom:4px}.tox .tox-ai .tox-ai__models-menu__item__description__content{color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));font-size:var(--tox-private-font-size-xs, 12px);line-height:calc(var(--tox-private-font-size-xs, 12px) * 1.33333)}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content{color:inherit}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content .tox-ai__models-menu__item__description__ability{color:var(--tox-private-color-white,#fff)}.tox .tox-ai .tox-collection__item--active:not(.tox-collection__item--state-disabled) .tox-ai__models-menu__item__description__content .tox-ai__models-menu__item__description__content_body{color:rgba(from var(--tox-private-color-white,#fff) r g b / .7)}.tox .tox-ai .tox-ai__models-menu__item__description__ability{color:var(--tox-private-text-color,#222f3e);padding-bottom:4px}.tox .tox-ai .tox-ai__models-menu__item__description__ability__enabled{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-ai .tox-ai-chat-history-list{display:flex;flex-direction:column;gap:var(--tox-private-pad-sm,8px);padding-top:var(--tox-private-pad-xs,4px);width:100%}.tox .tox-ai .tox-ai-chat-history-list .tox-collection__group{gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-chat-history-list__title{color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:18px;letter-spacing:1px}.tox .tox-ai .tox-ai-chat-history-list__item{display:flex;padding:12px;gap:var(--tox-private-pad-sm,8px);border-radius:var(--tox-private-control-border-radius,3px);cursor:pointer}.tox .tox-ai .tox-ai-chat-history-list__item.tox-ai-chat-history-list__item--active{background-color:var(--tox-private-background-secondary,#f0f0f0)}.tox .tox-ai .tox-ai-chat-history-list__item:focus,.tox .tox-ai .tox-ai-chat-history-list__item:focus-visible{background-color:var(--tox-private-background-secondary,#f0f0f0)}.tox .tox-ai .tox-ai-chat-history-list__item.tox-ai-chat-history-list__item-edit-title{background-color:var(--tox-private-background-secondary,#f0f0f0);flex-direction:column}.tox .tox-ai .tox-ai-chat-history-list__item-edit-actions{display:flex;justify-content:flex-end;width:100%;gap:var(--tox-private-pad-sm,8px)}.tox .tox-ai .tox-ai-chat-history-list__item-edit-actions .tox-ai__spinner svg{fill:rgba(from var(--tox-private-color-white,#fff) r g b / 0.5)}.tox .tox-ai .tox-ai-chat-history-list__item-content{display:flex;flex-direction:column;margin-right:auto;overflow:hidden}.tox .tox-ai .tox-ai-chat-history-list__item-actions{display:flex;align-items:center;min-width:calc(24px + (var(--tox-private-pad-xs,4px) + 1px)*2)}.tox .tox-ai .tox-ai-chat-history-list__item-content-title{color:var(--tox-private-text-color,#222f3e);font-size:var(--tox-private-font-size-base, 16px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:var(--tox-private-font-size-lg, 20px);overflow:hidden;text-overflow:ellipsis}.tox .tox-ai .tox-ai-chat-history-list__item-content-date{color:var(--tox-private-text-color,#222f3e);font-size:var(--tox-private-font-size-xs, 12px);line-height:var(--tox-private-line-height-base, 1.3)}.tox .tox-ai .tox-sidebar-content__message{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;gap:var(--tox-private-pad-md,16px);width:100%}.tox .tox-ai .tox-sidebar-content__message-text{text-align:center;color:var(--tox-private-text-color,#222f3e);font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:20px}.tox .tox-ai .tox-sidebar-content__message-action{display:flex;justify-content:center;align-items:center;align-self:stretch}.tox .tox-ai .tox-ai-chat-action-button{line-height:var(--tox-private-base-value, 16px);font-size:var(--tox-private-font-size-xs, 12px);padding:6px var(--tox-private-pad-sm,8px);margin:var(--tox-private-pad-xs,4px) 0;font-weight:var(--tox-private-font-weight-normal,normal);width:min-content}.tox .tox-ai .tox-ai-chat-action-button .tox-icon{display:inline-flex;align-items:center;justify-content:center;height:16px;width:16px;overflow:hidden}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg{display:block;flex:none;fill:var(--tox-private-tinymceai-chat-action-button-icon-color,#207ab7)}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='24'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='24px']{transform:scale(calc(16 / 24))}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='20'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='20px']{transform:scale(calc(16 / 20))}.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='18'],.tox .tox-ai .tox-ai-chat-action-button .tox-icon svg[width='18px']{transform:scale(calc(16 / 18))}.tox .tox-ai .tox-ai-chat-action-button:not(:has(+ .tox-ai-chat-action-button)){margin-bottom:var(--tox-private-pad-sm,8px)}.tox .tox-ai-removed-content{font-style:italic;font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));line-height:var(--tox-private-line-height-base, 1.3);margin:0 1em}.tox .tox-ai-removed-content::before{content:"⊘ ";font-style:normal;font-size:calc(var(--tox-private-line-height-base, 1.3) * 1em)}.tox .tox-ai-html-content{font-size:var(--tox-private-font-size-md, 16px);font-family:var(--tox-private-font-stack, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color,#222f3e);line-height:var(--tox-private-line-height-base, 1.3);overflow-x:auto}.tox .tox-ai-html-content:focus-visible:not(:disabled){outline:2px solid var(--tox-private-color-tint,#207ab7);outline-offset:var(--tox-private-tinymceai-html-content-border-width,1px);box-shadow:0 0 0 1px var(--tox-private-color-white,#fff);border-radius:var(--tox-private-control-border-radius,3px)}.tox .tox-ai-html-content h1{font-size:1.6em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.67em 0}.tox .tox-ai-html-content h2{font-size:1.4em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.83em 0}.tox .tox-ai-html-content h3{font-size:1.2em;font-weight:var(--tox-private-font-weight-bold,bold);margin:1em 0}.tox .tox-ai-html-content h4,.tox .tox-ai-html-content h5,.tox .tox-ai-html-content h6{font-size:1em;font-weight:var(--tox-private-font-weight-bold,bold);margin:.33em 0}.tox .tox-ai-html-content p{margin:var(--tox-private-pad-sm,8px) 0}.tox .tox-ai-html-content ol,.tox .tox-ai-html-content ul{padding-left:2em;margin:1em 0}.tox .tox-ai-html-content li:has(input:first-child){list-style-type:none}.tox .tox-ai-html-content a{color:var(--tox-private-color-tint,#207ab7);-webkit-text-decoration:underline;text-decoration:underline;cursor:pointer}.tox .tox-ai-html-content a:link:active,.tox .tox-ai-html-content a:visited:active{color:#8864ad}.tox .tox-ai-html-content blockquote{border-left:2px solid var(--tox-private-separator-color,#c1c1c1);margin-left:1.5rem;padding-left:1rem;font-style:italic}.tox .tox-ai-html-content code{font-family:ui-monospace,monospace;background:var(--tox-private-separator-color,#c1c1c1);padding:.1em .2em;border-radius:4px}.tox .tox-ai-html-content pre code{display:block;font-family:ui-monospace,monospace;background:var(--tox-private-separator-color,#c1c1c1);border-radius:4px;white-space:pre-wrap;margin:1em 0;overflow-wrap:break-word}.tox .tox-ai-html-content hr{border:none;border-top:1px solid var(--tox-private-border-color,#ccc)}.tox .tox-ai-html-content table{width:100%;border-collapse:collapse;margin:.5em 0;font-size:.95em;line-height:1.45}.tox .tox-ai-html-content table:not([cellpadding]) td,.tox .tox-ai-html-content table:not([cellpadding]) th{padding:.4rem}.tox .tox-ai-html-content td,.tox .tox-ai-html-content th{border:1px solid var(--tox-private-border-color,#ccc)}.tox .tox-ai-html-content th{font-weight:var(--tox-private-font-weight-bold,bold);text-align:left;white-space:nowrap}.tox .tox-ai-html-content b,.tox .tox-ai-html-content strong{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-ai-html-content em,.tox .tox-ai-html-content i{font-style:italic}.tox .tox-ai-html-content del{-webkit-text-decoration:line-through;text-decoration:line-through}.tox .tox-ai-html-content sub,.tox .tox-ai-html-content sup{font-size:.75em;line-height:0;vertical-align:baseline}.tox .tox-ai-html-content sup{vertical-align:super}.tox .tox-ai-html-content sub{vertical-align:sub}.tox .tox-ai-html-content mark{background:hsl(from var(--tox-private-color-active,#ffcf30) h s l / 30%);padding:.05em .2em;border-radius:2px}.tox .tox-ai-html-content small{font-size:.85em}.tox .tox-ai-html-content kbd{font-family:ui-monospace,monospace;font-size:.85em;padding:.15em .4em;border-radius:4px;border:1px solid var(--tox-private-border-color,#ccc);background:var(--tox-private-separator-color,#c1c1c1);box-shadow:inset 0 -1px 0 var(--tox-private-border-color,#ccc)}.tox .tox-ai-html-content img{max-width:100%;height:auto;vertical-align:middle;border-radius:4px}.tox .tox-expandable-box__content .tox-ai-html-content+.tox-ai-html-content::before,.tox .tox-expandable-box__content .tox-ai-html-content:has(+ .tox-ai-removed-content)::after,.tox .tox-expandable-box__content .tox-ai-removed-content+.tox-ai-html-content::before{content:"〰〰";color:var(--tox-private-text-color-muted,rgba(34,47,62,.7));text-align:center;width:100%;display:block}.tox .tox-diff-preview{display:contents}.tox .tox-diff-preview__host{height:100%;position:relative;flex:1 1 0}.tox .tox-diff-preview__host:empty{pointer-events:none}.tox .tox-diff-preview__layer{display:flex;flex-direction:column;inset:0;position:absolute}.tox .tox-diff-preview__layer--loading .tox-diff-preview__frame{pointer-events:none;visibility:hidden}.tox .tox-diff-preview__viewport{flex:1 1 auto;min-height:0;position:relative}.tox .tox-diff-preview__frame{background-color:#fff;border:0;height:100%;min-height:0;position:relative;width:100%}.tox .tox-diff-preview__footer{background-color:var(--tox-private-background-color,#fff);border-top:1px solid #e3e3e3;flex:0 0 auto}.tox .tox-diff-preview__toolbar{display:flex;gap:8px;justify-content:flex-end;padding:12px 16px}.tox .tox-ai__preview-overlay{position:absolute;inset:0;width:100%;height:100%;font-size:14px}.tox .tox-ai__preview-overlay--hidden{visibility:hidden}.tox .tox-ai__preview-overlay--pass-through{pointer-events:none}.tox .tox-ai__preview-overlay--dim{background:rgba(34,47,62,.2)}.tox .tox-ai__preview-overlay--centered{display:flex;align-items:center;justify-content:center}.tox .tox-ai__preview-overlay--clipped{overflow:clip}.tox .tox-tinymceai-previewloader{display:flex;align-items:center;gap:var(--tox-private-pad-md,16px);padding:var(--tox-private-pad-sm,8px);border-radius:var(--tox-private-panel-border-radius,3px);box-shadow:var(--tox-private-ai-preview-loader-box-shadow,0 0 40px 1px rgba(34,47,62,.15),0 16px 16px -10px rgba(34,47,62,.15));background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color,#222f3e);pointer-events:auto}.tox .tox-tinymceai-previewloader__content{display:flex;align-items:center;justify-content:center;padding:0 var(--tox-private-pad-xs,4px);gap:var(--tox-private-pad-sm,8px)}.tox .tox-selector{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;display:inline-block;height:10px;position:absolute;width:10px}.tox.tox-platform-touch .tox-selector{height:12px;width:12px}.tox .tox-skeleton .tox-skeleton__line{height:16px;width:100%;background:linear-gradient(to right,rgba(240,240,240,.5) 8%,rgba(240,240,240,.7) 18%,rgba(240,240,240,.5) 33%);animation:wave 2s infinite ease-out}.tox .tox-skeleton .tox-skeleton__circle{height:36px;width:36px;margin-right:8px;border-radius:100%;background:linear-gradient(to right,rgba(240,240,240,.5) 8%,rgba(240,240,240,.7) 18%,rgba(240,240,240,.5) 33%);animation:wave 2s infinite ease-out}@keyframes wave{0%{background-position:-268px 0}100%{background-position:268px 0}}.tox .tox-slider{align-items:center;display:flex;flex:1;height:24px;justify-content:center;position:relative}.tox .tox-slider__rail{background-color:transparent;border:1px solid #ccc;border-radius:3px;height:10px;min-width:120px;width:100%}.tox .tox-slider__handle{background-color:#207ab7;border:2px solid #185d8c;border-radius:3px;box-shadow:none;height:24px;left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%);width:14px}.tox .tox-form__controls-h-stack>.tox-slider:not(:first-of-type){margin-inline-start:8px}.tox .tox-form__controls-h-stack>.tox-form__group+.tox-slider{margin-inline-start:32px}.tox .tox-form__controls-h-stack>.tox-slider+.tox-form__group{margin-inline-start:32px}.tox .tox-toolbar-slider{align-items:center;display:inline-flex;height:16px}.tox .tox-toolbar-slider__input{appearance:none;background:#ccc;border-radius:16px;width:130px;height:2px}.tox .tox-toolbar-slider__input::-webkit-slider-runnable-track{background-color:transparent;height:16px}.tox .tox-toolbar-slider__input::-moz-range-track{background-color:transparent;height:16px}.tox .tox-toolbar-slider__input::-webkit-slider-thumb{-webkit-appearance:none;background-color:#207ab7;border-radius:16px;border:none;height:16px;width:16px}.tox .tox-toolbar-slider__input::-moz-range-thumb{appearance:none;background-color:#207ab7;border-radius:16px;border:none;height:16px;width:16px}.tox .tox-toolbar-slider__input:focus-visible{outline:0}.tox .tox-toolbar-slider__input:focus::-webkit-slider-thumb{background-color:#1c6ca1;box-shadow:inset 0 0 0 1px #fff,0 0 0 2px #207ab7}.tox .tox-toolbar-slider__input:focus::-moz-range-thumb{background-color:#1c6ca1;box-shadow:inset 0 0 0 1px #fff,0 0 0 2px #207ab7}.tox .tox-toolbar-slider__input:hover::-webkit-slider-thumb{background-color:#1c6ca1}.tox .tox-toolbar-slider__input:hover::-moz-range-thumb{background-color:#1c6ca1}.tox .tox-toolbar-slider__input:active::-webkit-slider-thumb{background-color:#185d8c}.tox .tox-toolbar-slider__input:active::-moz-range-thumb{background-color:#185d8c}.tox .tox-toolbar-slider__input[disabled]::-webkit-slider-thumb{background-color:rgba(255,255,255,.5)}.tox .tox-toolbar-slider__input[disabled]::-moz-range-thumb{background-color:rgba(255,255,255,.5)}.tox .tox-source-code{overflow:auto}.tox .tox-spinner{display:flex}.tox .tox-spinner>div{animation:tam-bouncing-dots 1.5s ease-in-out 0s infinite both;background-color:rgba(34,47,62,.7);border-radius:100%;height:8px;width:8px}.tox .tox-spinner>div:first-child{animation-delay:-.32s}.tox .tox-spinner>div:nth-child(2){animation-delay:-.16s}@keyframes tam-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox:not([dir=rtl]) .tox-spinner>div:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-spinner>div:not(:first-child){margin-right:4px}.tox .tox-ai__spinner{--tox-private-spinner-color:var(--tox-private-color-tint, #207ab7);--tox-private-spinner-size:24px;--tox-private-spinner-circle-width:3px;--tox-private-spinner-dot-size:6px;width:var(--tox-private-spinner-size);aspect-ratio:1/1}.tox .tox-ai__spinner--small{--tox-private-spinner-size:16px;--tox-private-spinner-circle-width:2px;--tox-private-spinner-dot-size:4px}.tox .tox-ai__spinner--circle{animation:tox-rotation 1s linear infinite;border-radius:50%;background:conic-gradient(var(--tox-private-spinner-color) 0 calc(360deg - 30deg),transparent calc(360deg - 30deg) 100%);mask:radial-gradient(calc((var(--tox-private-spinner-size) - var(--tox-private-spinner-circle-width) * 2)/ 2),#0000 98%,#000)}.tox .tox-ai__spinner--dots{display:flex;align-items:center;justify-content:center;gap:1px}.tox .tox-ai__spinner--dots>div{animation:tox-bouncing-dots 1.5s ease-in-out 0s infinite both;aspect-ratio:1/1;width:var(--tox-private-spinner-dot-size);background-color:var(--tox-private-spinner-color);border-radius:100%}.tox .tox-ai__spinner--dots>div:first-child{animation-delay:-.32s}.tox .tox-ai__spinner--dots>div:nth-child(2){animation-delay:-.16s}.tox .tox-tinymceai__annotation--added,.tox .tox-tinymceai__annotation--modified,.tox .tox-tinymceai__annotation--removed{padding-block:calc((1lh - 1.1em)/ 2);-webkit-text-decoration:none;text-decoration:none;background-repeat:no-repeat;text-decoration-thickness:max(1px,0.07em)}.tox .tox-tinymceai__annotation--added__highlight{background-position:bottom;background-image:linear-gradient(rgba(120,171,70,.2) calc(100% - 2px),#78ab46 calc(100% - 2px))}.tox .tox-tinymceai__annotation--added__selected{background-image:none;background-color:rgba(120,171,70,.2);box-shadow:0 2px 0 0 #207ab7,0 -2px 0 0 #207ab7}.tox .tox-tinymceai__annotation--modified__highlight{background-position:bottom;background-image:linear-gradient(rgba(32,122,183,.2) calc(100% - 2px),#207ab7 calc(100% - 2px))}.tox .tox-tinymceai__annotation--modified__selected{background-image:none;background-color:rgba(32,122,183,.2);box-shadow:0 2px 0 0 #207ab7,0 -2px 0 0 #207ab7}.tox .tox-tinymceai__annotation--removed__highlight{-webkit-text-decoration:line-through;text-decoration:line-through;background-position:bottom;background-image:linear-gradient(rgba(204,0,0,.2) calc(100% - 2px),#c00 calc(100% - 2px))}.tox .tox-tinymceai__annotation--removed__selected{-webkit-text-decoration:line-through;text-decoration:line-through;background-image:none;background-color:rgba(204,0,0,.2);box-shadow:0 2px 0 0 #207ab7,0 -2px 0 0 #207ab7}.tox .mce-object.tox-tinymceai__annotation--added,.tox .mce-object.tox-tinymceai__annotation--modified,.tox .mce-object.tox-tinymceai__annotation--removed,.tox .mce-preview-object.tox-tinymceai__annotation--added,.tox .mce-preview-object.tox-tinymceai__annotation--modified,.tox .mce-preview-object.tox-tinymceai__annotation--removed,.tox iframe.tox-tinymceai__annotation--added,.tox iframe.tox-tinymceai__annotation--modified,.tox iframe.tox-tinymceai__annotation--removed,.tox img.tox-tinymceai__annotation--added,.tox img.tox-tinymceai__annotation--modified,.tox img.tox-tinymceai__annotation--removed,.tox video.tox-tinymceai__annotation--added,.tox video.tox-tinymceai__annotation--modified,.tox video.tox-tinymceai__annotation--removed{padding-block:0;vertical-align:top}.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object),.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object),.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object){padding-block:0}.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--added:has(img,video,iframe,.mce-object,.mce-preview-object) video,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--modified:has(img,video,iframe,.mce-object,.mce-preview-object) video,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-object,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) .mce-preview-object,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) iframe,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) img,.tox .tox-tinymceai__annotation--removed:has(img,video,iframe,.mce-object,.mce-preview-object) video{vertical-align:top}.tox del.tox-tinymceai__annotation--added__selected,.tox ins.tox-tinymceai__annotation--added__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#207ab7 3px,rgba(120,171,70,.2) 3px,rgba(120,171,70,.2) calc(100% - 3px),#207ab7 calc(100% - 3px))}.tox del.tox-tinymceai__annotation--modified__selected,.tox ins.tox-tinymceai__annotation--modified__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#207ab7 3px,rgba(32,122,183,.2) 3px,rgba(32,122,183,.2) calc(100% - 3px),#207ab7 calc(100% - 3px))}.tox del.tox-tinymceai__annotation--removed__selected,.tox ins.tox-tinymceai__annotation--removed__selected{background-color:transparent;box-shadow:none;background-position:center;background-size:100% calc(1lh + 3px);background-image:linear-gradient(#207ab7 3px,rgba(204,0,0,.2) 3px,rgba(204,0,0,.2) calc(100% - 3px),#207ab7 calc(100% - 3px))}.tox .tox-tinymceai__annotation--added.tox-tinymceai__annotation--added__hidden,.tox .tox-tinymceai__annotation--modified.tox-tinymceai__annotation--modified__hidden,.tox .tox-tinymceai__annotation--removed.tox-tinymceai__annotation--removed__hidden{display:none;-webkit-text-decoration:none;text-decoration:none}.tox :has(> div > iframe).tox-tinymceai__annotation--added,.tox :has(> div > iframe).tox-tinymceai__annotation--modified,.tox :has(> div > iframe).tox-tinymceai__annotation--removed{padding:7px;margin:5px}.tox iframe.tox-tinymceai__annotation--added__highlight,.tox img.tox-tinymceai__annotation--added__highlight,.tox video.tox-tinymceai__annotation--added__highlight{background-color:#e4eeda;background-image:none;border:2px solid #78ab46;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--added__selected,.tox img.tox-tinymceai__annotation--added__selected,.tox video.tox-tinymceai__annotation--added__selected{background-color:#e4eeda;background-image:none;border:2px solid #78ab46;padding:0;vertical-align:top;border-color:#e4eeda;outline:2px solid #207ab7}.tox iframe.tox-tinymceai__annotation--modified__highlight,.tox img.tox-tinymceai__annotation--modified__highlight,.tox video.tox-tinymceai__annotation--modified__highlight{background-color:#d2e4f1;background-image:none;border:2px solid #207ab7;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--modified__selected,.tox img.tox-tinymceai__annotation--modified__selected,.tox video.tox-tinymceai__annotation--modified__selected{background-color:#d2e4f1;background-image:none;border:2px solid #207ab7;padding:0;vertical-align:top;border-color:#d2e4f1;outline:2px solid #207ab7}.tox iframe.tox-tinymceai__annotation--removed__highlight,.tox img.tox-tinymceai__annotation--removed__highlight,.tox video.tox-tinymceai__annotation--removed__highlight{background-color:#f5cccc;background-image:none;border:2px solid #c00;padding:0;vertical-align:top}.tox iframe.tox-tinymceai__annotation--removed__selected,.tox img.tox-tinymceai__annotation--removed__selected,.tox video.tox-tinymceai__annotation--removed__selected{background-color:#f5cccc;background-image:none;border:2px solid #c00;padding:0;vertical-align:top;border-color:#f5cccc;outline:2px solid #207ab7}.tox .tox-tinymceai__annotation--removed__highlight iframe,.tox .tox-tinymceai__annotation--removed__highlight img,.tox .tox-tinymceai__annotation--removed__highlight video,.tox .tox-tinymceai__annotation--removed__selected iframe,.tox .tox-tinymceai__annotation--removed__selected img,.tox .tox-tinymceai__annotation--removed__selected video{background-color:#f5cccc;background-image:none;border:2px solid #c00;padding:0;vertical-align:top}.tox .tox-tinymceai__annotation--removed__selected iframe,.tox .tox-tinymceai__annotation--removed__selected img,.tox .tox-tinymceai__annotation--removed__selected video{border-color:#f5cccc;outline:2px solid #207ab7}.tox div.tox-tinymceai__annotation:has(> hr){background-size:auto;padding:.25em}.tox div.tox-tinymceai__annotation--removed__highlight>hr{border-color:rgba(0,0,0,.2)}.tox div.tox-tinymceai__annotation--added__highlight>hr{border-color:rgba(0,0,0,.2)}.tox .tox-tinymceai__deleted-media-overlay{inset:0;overflow:hidden;pointer-events:none;position:absolute;z-index:11}.tox .tox-tinymceai__deleted-media-wash{fill:#fff;fill-opacity:0.4}.tox .tox-tinymceai__deleted-media-mark{stroke:#c00}.tox .tox-tinymceai__deleted-media-halo{stroke:#fff}.tox .mce-pagebreak.tox-tinymceai__annotation--added__selected,.tox .mce-pagebreak.tox-tinymceai__annotation--modified__selected,.tox .mce-pagebreak.tox-tinymceai__annotation--removed__selected{border:1px dashed #aaa;box-shadow:none;background-image:none}.tox .mce-pagebreak.tox-tinymceai__annotation--added__highlight,.tox .mce-pagebreak.tox-tinymceai__annotation--modified__highlight,.tox .mce-pagebreak.tox-tinymceai__annotation--removed__highlight{padding:0}.tox .tox-tinymceai__diff-focus-overlay{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:10}.tox .tox-tinymceai__diff-focus-overlay-dim{fill:rgba(34,47,62,0.2)}.tox .tox-ai__scroll:has(.tox-card-group){padding-top:0}.tox .tox-ai__scroll:has(.tox-card-group) .tox-ai__review-sidebar-container .tox-card-list{gap:0}.tox .tox-ai__scroll .tox-ai__review-sidebar-container{scrollbar-gutter:stable;width:100%;height:100%;display:flex;flex-direction:column;gap:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-card-list{gap:8px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-card-group__title{margin-inline:-12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-initializing{padding:var(--tox-private-pad-md,16px)}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-description{padding-bottom:calc(var(--tox-private-pad-sm,8px) + var(--tox-private-pad-xs,4px));font-size:var(--tox-private-font-size-sm, 14px)}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-choose-container{padding-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-custom-input{margin-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-custom-actions{display:flex;gap:8px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container{margin-bottom:12px}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container button.tox-ai__review-input-button{width:100%;background-color:var(--tox-private-background-color,#fff);display:flex;justify-content:space-between;align-items:center;border:1px solid #ccc;border-radius:3px;box-sizing:border-box}.tox .tox-ai__scroll .tox-ai__review-sidebar-container .tox-ai__review-input-container .tox-ai__review-dropdown-content{width:anchor-size(width)}.tox .tox-statusbar{align-items:center;background-color:#fff;border-top:1px solid #ccc;color:rgba(34,47,62,.7);display:flex;flex:0 0 auto;font-size:12px;font-weight:400;height:18px;overflow:hidden;padding:0 8px;position:relative;text-transform:uppercase}.tox .tox-statusbar__path{display:flex;flex:1 1 auto;text-overflow:ellipsis;white-space:nowrap}.tox .tox-statusbar__right-container{display:flex;justify-content:flex-end;white-space:nowrap}.tox .tox-statusbar__help-text{text-align:center}.tox .tox-statusbar__text-container{align-items:flex-start;display:flex;flex:1 1 auto;height:16px;justify-content:space-between}@media only screen and (min-width:768px){.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__help-text,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__path,.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols>.tox-statusbar__right-container{flex:0 0 calc(100% / 3)}}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-end{justify-content:flex-end}.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-start{justify-content:flex-start}.tox .tox-statusbar__text-container.tox-statusbar__text-container--space-around{justify-content:space-around}.tox .tox-statusbar__path>*{display:inline;white-space:nowrap}.tox .tox-statusbar__wordcount{flex:0 0 auto;margin-left:1ch}@media only screen and (max-width:767px){.tox .tox-statusbar__text-container .tox-statusbar__help-text{display:none}.tox .tox-statusbar__text-container .tox-statusbar__help-text:only-child{display:block}}.tox .tox-statusbar a,.tox .tox-statusbar__path-item,.tox .tox-statusbar__wordcount{color:rgba(34,47,62,.7);position:relative;-webkit-text-decoration:none;text-decoration:none}.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]){color:#222f3e;cursor:pointer}.tox .tox-statusbar a:focus-visible::after,.tox .tox-statusbar__path-item:focus-visible::after,.tox .tox-statusbar__wordcount:focus-visible::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-statusbar a:focus-visible::after,.tox .tox-statusbar__path-item:focus-visible::after,.tox .tox-statusbar__wordcount:focus-visible::after{border:2px solid highlight}}.tox .tox-statusbar__branding svg{fill:rgba(34,47,62,0.8);height:1em;margin-left:.3em;width:auto}@media (forced-colors:active){.tox .tox-statusbar__branding svg{fill:currentColor}}.tox .tox-statusbar__branding a{align-items:center;display:inline-flex}.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg,.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg{fill:#222f3e}.tox .tox-statusbar__resize-cursor-default{cursor:ns-resize}.tox .tox-statusbar__resize-cursor-both{cursor:nwse-resize}.tox .tox-statusbar__resize-handle{align-items:flex-end;align-self:stretch;display:flex;flex:0 0 auto;justify-content:flex-end;margin-bottom:3px;margin-left:4px;margin-right:calc(3px - 8px);margin-top:3px;padding-bottom:0;padding-left:0;padding-right:0;position:relative}.tox .tox-statusbar__resize-handle svg{display:block;fill:rgba(34,47,62,0.5)}.tox .tox-statusbar__resize-handle:focus svg,.tox .tox-statusbar__resize-handle:hover svg{fill:#222f3e}.tox .tox-statusbar__resize-handle:focus-visible{background-color:transparent;border-radius:1px 1px -4px 1px;box-shadow:0 0 0 2px transparent}.tox .tox-statusbar__resize-handle:focus-visible::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-statusbar__resize-handle:focus-visible::after{border:2px solid highlight}}.tox .tox-statusbar__resize-handle:only-child{margin-left:auto}.tox:not([dir=rtl]) .tox-statusbar__path>*{margin-right:4px}.tox:not([dir=rtl]) .tox-statusbar__branding{margin-left:2ch}.tox[dir=rtl] .tox-statusbar{flex-direction:row-reverse}.tox[dir=rtl] .tox-statusbar__path>*{margin-left:4px}.tox[dir=rtl] .tox-statusbar__branding svg{margin-left:0;margin-right:.3em}.tox a.tox-tag{cursor:pointer}.tox .tox-tag{width:fit-content;box-sizing:border-box;display:flex;padding:var(--tox-private-pad-xs,4px) 6px;position:relative;align-items:center;gap:var(--tox-private-pad-xs,4px);border-radius:3px;background:hsl(from var(--tox-private-color-tint,#207ab7) h s l / 10%);line-height:var(--tox-private-base-value, 16px);font-size:var(--tox-private-font-size-xs, 12px)}.tox .tox-tag::before{border-radius:var(--tox-private-control-border-radius,3px);bottom:calc(-1 * var(--tox-private-tag-border-width,1px));box-shadow:var(--tox-private-tag-focus-outline,inset 0 0 0 1px #fff,0 0 0 2px #207ab7);content:'';left:calc(-1 * var(--tox-private-tag-border-width,1px));opacity:0;pointer-events:none;position:absolute;right:calc(-1 * var(--tox-private-tag-border-width,1px));top:calc(-1 * var(--tox-private-tag-border-width,1px))}.tox .tox-tag:focus:not(:disabled)::before{opacity:1}.tox .tox-tag>*{flex-shrink:0}.tox .tox-tag .tox-icon{height:var(--tox-private-base-value,16px);fill:var(--tox-private-text-color,#222f3e)}.tox .tox-tag .tox-tag__label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;flex-shrink:1;color:var(--tox-private-text-color,#222f3e)}.tox .tox-tag .tox-tag__close{height:var(--tox-private-base-value,16px)}.tox .tox-tag .tox-tag__close .tox-button.tox-button--icon{border:0;padding:0;color:var(--tox-private-text-color-muted,rgba(34,47,62,.7))}.tox .tox-tag .tox-tag__close .tox-button.tox-button--icon::before{box-shadow:none}.tox .tox-throbber{z-index:1299}.tox .tox-throbber__busy-spinner{align-items:center;background-color:rgba(255,255,255,.6);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.tox .tox-segmented-control{display:inline-flex;position:relative;border:none;border-radius:var(--tox-private-control-border-radius,3px);box-shadow:inset 0 0 0 1px var(--tox-private-segmented-control-border-color,#e3e3e3);overflow:hidden;padding:var(--tox-private-pad-xs,4px);background-color:var(--tox-private-background-color,#fff)}.tox .tox-segmented-control__segment{flex:1;padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-sm,8px);cursor:pointer;background:0 0;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:16px;border:1px solid transparent;border-radius:calc(var(--tox-private-control-border-radius,3px) - 1px);text-align:center;white-space:nowrap;display:inline-block;vertical-align:middle;color:var(--tox-private-segmented-control-text-color,#222f3e)}.tox .tox-segmented-control__segment--active{border-color:var(--tox-private-segmented-control-active-border-color,#207ab7);color:var(--tox-private-segmented-control-active-text-color,#207ab7);background-color:var(--tox-private-segmented-control-active-bg-color,rgba(32,122,183,.1))}.tox .tox-segmented-control:not(.tox-segmented-control--disabled) .tox-segmented-control__segment{transition:all .2s}.tox .tox-segmented-control.tox-segmented-control--disabled .tox-segmented-control__segment{opacity:.5;cursor:not-allowed;pointer-events:none}.tox .tox-segmented-control__segment:focus{outline:2px solid var(--tox-private-color-tint,#207ab7);outline-offset:2px}.tox .tox-segmented-control__segment:focus:not(:focus-visible){outline:0}.tox .tox-toggle{display:flex;align-items:center;gap:var(--tox-private-pad-xs,4px);padding:var(--tox-private-pad-xs,4px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:var(--tox-private-control-line-height, 24px);white-space:nowrap;background-color:var(--tox-private-background-color,#fff);color:var(--tox-private-text-color,#222f3e)}.tox .tox-toggle input{position:absolute;opacity:0;width:0;height:0}.tox .tox-toggle__slider{position:relative;cursor:pointer;box-sizing:border-box;transition:.4s;border-radius:34px;width:28px;height:16px;background-color:var(--tox-private-slider-background-color,#fff);border:1px solid var(--tox-private-slider-border-color,#e3e3e3)}.tox .tox-toggle__slider::before{position:absolute;content:"";height:12px;width:12px;left:1px;bottom:1px;transition:.4s;border-radius:50%;background-color:var(--tox-private-slider-handle-background-color,#222f3e)}.tox input:checked+.tox-toggle__slider{background-color:var(--tox-private-slider-checked-background-color,#207ab7);border:1px solid var(--tox-private-slider-checked-border-color,#207ab7)}.tox input:focus+.tox-toggle__slider{box-shadow:0 0 0 1px var(--tox-private-color-white,#fff),0 0 0 2px var(--tox-private-color-tint,#207ab7)}.tox input:checked+.tox-toggle__slider::before{transform:translateX(12px);background-color:var(--tox-private-slider-checked-handle-background-color,#fff)}.tox input:disabled+.tox-toggle__slider::before{opacity:50%}.tox .tox-tbtn{align-items:center;background:#fff;border:0;border-radius:3px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:34px;justify-content:center;margin:3px 0 2px 0;outline:0;padding:0;text-transform:none;width:34px}.tox .tox-tbtn .tox-tbtn__icon-wrap{pointer-events:none}@media (forced-colors:active){.tox .tox-tbtn.tox-tbtn:hover,.tox .tox-tbtn:hover{outline:1px dashed currentColor}.tox .tox-tbtn.tox-tbtn--active,.tox .tox-tbtn.tox-tbtn--enabled,.tox .tox-tbtn.tox-tbtn--enabled:focus,.tox .tox-tbtn.tox-tbtn--enabled:hover,.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){outline:1px solid currentColor;position:relative}}.tox .tox-tbtn svg{display:block;fill:#222f3e}@media (forced-colors:active){.tox .tox-tbtn svg{fill:currentColor!important}.tox .tox-tbtn svg.tox-tbtn--enabled,.tox .tox-tbtn svg:focus:not(.tox-tbtn--disabled){fill:currentColor!important}.tox .tox-tbtn svg .tox-tbtn:disabled,.tox .tox-tbtn svg .tox-tbtn:disabled:hover,.tox .tox-tbtn svg.tox-tbtn--disabled,.tox .tox-tbtn svg.tox-tbtn--disabled:hover{filter:contrast(0%)}}.tox .tox-tbtn.tox-tbtn-more{padding-left:5px;padding-right:5px;width:inherit}.tox .tox-tbtn:focus{background:#dee0e2;border:0;box-shadow:none;position:relative;z-index:1}.tox .tox-tbtn:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-tbtn:focus::after{border:2px solid highlight}}.tox .tox-tbtn:hover{background:#dee0e2;border:0;box-shadow:none;color:#222f3e}.tox .tox-tbtn:hover svg{fill:#222f3e}.tox .tox-tbtn:active{background:#c8cbcf;border:0;box-shadow:none;color:#222f3e}.tox .tox-tbtn:active svg{fill:#222f3e}.tox .tox-tbtn--disabled .tox-tbtn--enabled svg{fill:rgba(34,47,62,0.5)}.tox .tox-tbtn--disabled,.tox .tox-tbtn--disabled:hover,.tox .tox-tbtn:disabled,.tox .tox-tbtn:disabled:hover{background:#fff;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-tbtn--disabled svg,.tox .tox-tbtn--disabled:hover svg,.tox .tox-tbtn:disabled svg,.tox .tox-tbtn:disabled:hover svg{fill:rgba(34,47,62,0.5)}.tox .tox-tbtn--active,.tox .tox-tbtn--enabled,.tox .tox-tbtn--enabled:focus,.tox .tox-tbtn--enabled:hover{background:#c8cbcf;border:0;box-shadow:none;color:#222f3e;position:relative}.tox .tox-tbtn--active>*,.tox .tox-tbtn--enabled:focus>*,.tox .tox-tbtn--enabled:hover>*,.tox .tox-tbtn--enabled>*{transform:none}.tox .tox-tbtn--active svg,.tox .tox-tbtn--enabled svg,.tox .tox-tbtn--enabled:focus svg,.tox .tox-tbtn--enabled:hover svg{fill:#222f3e}.tox .tox-tbtn--active.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled:focus.tox-tbtn--disabled svg,.tox .tox-tbtn--enabled:hover.tox-tbtn--disabled svg{fill:rgba(34,47,62,0.5)}.tox .tox-tbtn--enabled:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-tbtn--enabled:focus::after{border:2px solid highlight}}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){color:#222f3e}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg{fill:#222f3e}.tox .tox-tbtn:active>*{transform:none}.tox .tox-tbtn--md{height:51px;width:51px}.tox .tox-tbtn--lg{flex-direction:column;height:68px;width:68px}.tox .tox-tbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tbtn--labeled{padding:0 4px;width:unset}.tox .tox-tbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-label--context-toolbar{margin:6px 1px 5px 0;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.tox .tox-number-input{background:0 0;border-radius:3px;display:flex;margin:3px 0 2px 0;position:relative;width:auto}.tox .tox-number-input:focus{background:#dee0e2}.tox .tox-number-input:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input:focus::after{border:2px solid highlight}}.tox .tox-number-input .tox-input-wrapper{display:flex;pointer-events:none;position:relative;text-align:center}.tox .tox-number-input .tox-input-wrapper:focus{background-color:#dee0e2;z-index:1}.tox .tox-number-input .tox-input-wrapper:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input .tox-input-wrapper:focus::after{border:2px solid highlight}}.tox .tox-number-input .tox-input-wrapper:has(input:focus)::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input .tox-input-wrapper:has(input:focus)::after{border:2px solid highlight}}.tox .tox-number-input input{border-radius:3px;color:#222f3e;font-size:14px;margin:2px 0;pointer-events:all;position:relative;width:60px}.tox .tox-number-input input:hover{background:#dee0e2;color:#222f3e}.tox .tox-number-input input:focus{background-color:#dee0e2}.tox .tox-number-input input:disabled{background:#fff;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-number-input button{color:#222f3e;height:34px;position:relative;text-align:center;width:24px}@media (forced-colors:active){.tox .tox-number-input button:active,.tox .tox-number-input button:focus,.tox .tox-number-input button:hover{outline:1px solid currentColor!important}}.tox .tox-number-input button svg{display:block;fill:#222f3e;margin:0 auto;transform:scale(.67)}@media (forced-colors:active){.tox .tox-number-input button svg,.tox .tox-number-input button svg:active,.tox .tox-number-input button svg:hover{fill:currentColor!important}.tox .tox-number-input button svg:disabled{filter:contrast(0)}}.tox .tox-number-input button:focus{background:#dee0e2;z-index:1}.tox .tox-number-input button:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0}@media (forced-colors:active){.tox .tox-number-input button:focus::after{border:2px solid highlight}}.tox .tox-number-input button:hover{background:#dee0e2;border:0;box-shadow:none;color:#222f3e}.tox .tox-number-input button:hover svg{fill:#222f3e}.tox .tox-number-input button:active{background:#c8cbcf;border:0;box-shadow:none;color:#222f3e}.tox .tox-number-input button:active svg{fill:#222f3e}.tox .tox-number-input button:disabled{background:#fff;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-number-input button:disabled svg{fill:rgba(34,47,62,0.5)}.tox .tox-number-input button.minus{border-radius:3px 0 0 3px}.tox .tox-number-input button.plus{border-radius:0 3px 3px 0}.tox .tox-number-input:focus:not(:active)>.tox-input-wrapper,.tox .tox-number-input:focus:not(:active)>button{background:#dee0e2}.tox .tox-tbtn--select{margin:3px 0 2px 0;padding:0 4px;width:auto}.tox .tox-tbtn--bordered,.tox .tox-tbtn--bordered:focus,.tox .tox-tbtn--bordered:hover{border:1px solid #ccc}.tox .tox-tbtn__select-label{cursor:default;font-weight:400;height:initial;margin:0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-tbtn__select-chevron svg{fill:rgba(34,47,62,0.5)}@media (forced-colors:active){.tox .tox-tbtn__select-chevron svg{fill:currentColor}}.tox .tox-tbtn--bespoke{background:0 0}.tox .tox-tbtn--bespoke:focus{background:#dee0e2}.tox .tox-tbtn--bespoke+.tox-tbtn--bespoke{margin-inline-start:0}.tox .tox-tbtn--bespoke .tox-tbtn__select-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:7em}.tox .tox-tbtn--disabled .tox-tbtn__select-label,.tox .tox-tbtn--select:disabled .tox-tbtn__select-label{cursor:not-allowed}.tox .tox-split-button__main{border-radius:3px 0 0 3px;margin-right:0}.tox .tox-split-button__main:focus{border:0;box-shadow:none;background:#dee0e2;color:#222f3e;position:relative;z-index:1}.tox .tox-split-button__main:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0;border-radius:3px 0 0 3px}@media (forced-colors:active){.tox .tox-split-button__main:focus::after{border:2px solid highlight}}.tox .tox-split-button__chevron{width:16px;border-radius:0 3px 3px 0;margin-left:0}.tox .tox-split-button__chevron:focus{border:0;box-shadow:none;background:#dee0e2;color:#222f3e;position:relative;z-index:1}.tox .tox-split-button__chevron:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0;border-radius:0 3px 3px 0}@media (forced-colors:active){.tox .tox-split-button__chevron:focus::after{border:2px solid highlight}}.tox .tox-split-button__chevron svg{fill:rgba(34,47,62,0.5)}@media (forced-colors:active){.tox .tox-split-button__chevron svg{fill:currentColor}}.tox.tox-platform-touch .tox-split-button__main{width:30px}.tox.tox-platform-touch .tox-split-button__chevron{width:20px}.tox .tox-split-button__chevron.tox-tbtn--disabled,.tox .tox-split-button__main.tox-tbtn--disabled{background:#fff;box-shadow:none;color:rgba(34,47,62,.5)}.tox .tox-split-button__chevron.tox-tbtn--disabled:hover,.tox .tox-split-button__main.tox-tbtn--disabled:hover{background:#fff;box-shadow:none;color:rgba(34,47,62,.5)}.tox .tox-split-button__chevron.tox-tbtn--disabled:focus,.tox .tox-split-button__main.tox-tbtn--disabled:focus{background:#fff;box-shadow:none;color:rgba(34,47,62,.5)}.tox .tox-split-button__main.tox-tbtn--disabled svg .tox-icon-highlight-bg-color__color,.tox .tox-split-button__main.tox-tbtn--disabled svg .tox-icon-text-color__color{opacity:.3}.tox .tox-toolbar-overlord{background-color:#fff}.tox .tox-toolbar,.tox .tox-toolbar__overflow,.tox .tox-toolbar__primary{background-attachment:local;background-color:#fff;background-image:repeating-linear-gradient(#ccc 0 1px,transparent 1px 39px);background-position:center top 39px;background-repeat:no-repeat;background-size:calc(100% - 4px * 2) calc(100% - 39px);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;padding:0 0;transform:perspective(1px)}.tox .tox-toolbar-overlord>.tox-toolbar,.tox .tox-toolbar-overlord>.tox-toolbar__overflow,.tox .tox-toolbar-overlord>.tox-toolbar__primary{background-position:center top 0;background-size:calc(100% - 4px * 2) calc(100% - 0px)}.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed{height:0;opacity:0;padding-bottom:0;padding-top:0;visibility:hidden}.tox .tox-toolbar__overflow--growing{transition:height .3s ease,opacity .2s linear .1s}.tox .tox-toolbar__overflow--shrinking{transition:opacity .3s ease,height .2s linear .1s,visibility 0s linear .3s}.tox .tox-anchorbar,.tox .tox-toolbar-overlord{grid-column:1/-1}.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{border-top:1px solid #ccc;margin-top:-1px;padding-bottom:0;padding-top:0}@media (forced-colors:active){.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{outline:1px solid currentColor}}.tox .tox-toolbar--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-pop .tox-toolbar{border-width:0}.tox .tox-toolbar--no-divider{background-image:none}.tox .tox-toolbar-overlord .tox-toolbar:not(.tox-toolbar--scrolling):first-child,.tox .tox-toolbar-overlord .tox-toolbar__primary{background-position:center top 39px}.tox .tox-editor-header>.tox-toolbar--scrolling,.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child{background-image:none}.tox .tox-focusable-wrapper{border:1px solid transparent;margin-right:2px;pointer-events:none}.tox .tox-focusable-wrapper .tox-textfield-size{pointer-events:all}.tox .tox-focusable-wrapper:focus{background-color:#dee0e2;border-radius:3px;border-style:solid;border-width:1px}.tox.tox-tinymce-aux .tox-toolbar__overflow{background-color:#fff;background-position:center top 43px;background-size:calc(100% - 8px * 2) calc(100% - 51px);border:none;border-radius:3px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);overscroll-behavior:none;padding:4px 0}@media (forced-colors:active){.tox.tox-tinymce-aux .tox-toolbar__overflow{border:solid}}.tox-pop .tox-pop__dialog .tox-toolbar{background-position:center top 43px;background-size:calc(100% - 4px * 2) calc(100% - 51px);padding:4px 0}.tox-context-form__group{display:flex;align-items:center}.tox .tox-toolbar__group{align-items:center;display:flex;flex-wrap:wrap;margin:0 0;padding:0 4px 0 4px}.tox .tox-toolbar__group--pull-right{margin-left:auto}.tox .tox-toolbar--scrolling .tox-toolbar__group{flex-shrink:0;flex-wrap:nowrap}.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type){border-right:1px solid #ccc}.tox[dir=rtl] .tox-toolbar__group:not(:last-of-type){border-left:1px solid #ccc}.tox .tox-toolbar-input-form{display:flex;align-items:center;background-color:var(--tox-private-background-color,#fff);padding:0 var(--tox-private-pad-sm,8px)}.tox .tox-tooltip{display:inline-block;max-width:min(80%,15em);padding:8px 0 0 0;position:relative;width:max-content;z-index:1150}.tox .tox-tooltip.tox-tooltip--anchor{display:none;padding:var(--tox-private-pad-xs,4px) 0 0;position:fixed;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;height:fit-content}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--up{position-area:block-end}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--down{position-area:block-start}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--left{position-area:inline-start}.tox .tox-tooltip.tox-tooltip--anchor.tox-tooltip--right{position-area:inline-end}.tox .tox-tooltip__body{background-color:#222f3e;border-radius:3px;box-shadow:none;color:#fff;font-size:12px;font-style:normal;font-weight:600;overflow-wrap:break-word;padding:4px 6px;text-transform:none}@media (forced-colors:active){.tox .tox-tooltip__body{outline:outset 1px}}.tox .tox-tooltip__arrow{position:absolute}.tox .tox-tooltip--down .tox-tooltip__arrow{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #222f3e;bottom:0;left:50%;position:absolute;transform:translateX(-50%)}.tox .tox-tooltip--up .tox-tooltip__arrow{border-bottom:8px solid #222f3e;border-left:8px solid transparent;border-right:8px solid transparent;left:50%;position:absolute;top:0;transform:translateX(-50%)}.tox .tox-tooltip--right .tox-tooltip__arrow{border-bottom:8px solid transparent;border-left:8px solid #222f3e;border-top:8px solid transparent;position:absolute;right:0;top:50%;transform:translateY(-50%)}.tox .tox-tooltip--left .tox-tooltip__arrow{border-bottom:8px solid transparent;border-right:8px solid #222f3e;border-top:8px solid transparent;left:0;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-tree{display:flex;flex-direction:column}.tox .tox-tree .tox-trbtn{align-items:center;background:0 0;border:0;border-radius:4px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;margin-bottom:4px;margin-top:4px;outline:0;overflow:hidden;padding:0;padding-left:8px;text-transform:none}.tox .tox-tree .tox-trbtn .tox-tree__label{cursor:default;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-tree .tox-trbtn svg{display:block;fill:#222f3e}.tox .tox-tree .tox-trbtn:focus{background:#dee0e2;border:0;box-shadow:none}.tox .tox-tree .tox-trbtn:hover{background:#dee0e2;border:0;box-shadow:none;color:#222f3e}.tox .tox-tree .tox-trbtn:hover svg{fill:#222f3e}.tox .tox-tree .tox-trbtn:active{background:#b1d0e6;border:0;box-shadow:none;color:#222f3e}.tox .tox-tree .tox-trbtn:active svg{fill:#222f3e}.tox .tox-tree .tox-trbtn--disabled,.tox .tox-tree .tox-trbtn--disabled:hover,.tox .tox-tree .tox-trbtn:disabled,.tox .tox-tree .tox-trbtn:disabled:hover{background:0 0;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-tree .tox-trbtn--disabled svg,.tox .tox-tree .tox-trbtn--disabled:hover svg,.tox .tox-tree .tox-trbtn:disabled svg,.tox .tox-tree .tox-trbtn:disabled:hover svg{fill:rgba(34,47,62,0.5)}.tox .tox-tree .tox-trbtn--enabled,.tox .tox-tree .tox-trbtn--enabled:hover{background:#b1d0e6;border:0;box-shadow:none;color:#222f3e}.tox .tox-tree .tox-trbtn--enabled:hover>*,.tox .tox-tree .tox-trbtn--enabled>*{transform:none}.tox .tox-tree .tox-trbtn--enabled svg,.tox .tox-tree .tox-trbtn--enabled:hover svg{fill:#222f3e}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled){color:#222f3e}.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled) svg{fill:#222f3e}.tox .tox-tree .tox-trbtn:active>*{transform:none}.tox .tox-tree .tox-trbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tree .tox-trbtn--labeled{padding:0 4px;width:unset}.tox .tox-tree .tox-trbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-tree .tox-tree--directory{display:flex;flex-direction:column}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label{font-weight:700}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn:focus svg{fill:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:focus .tox-mbtn svg,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover .tox-mbtn svg{fill:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#222f3e}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-chevron{margin-right:6px}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--shrinking) .tox-chevron{transition:transform .5s ease-in-out}.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--growing) .tox-chevron,.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--open) .tox-chevron{transform:rotate(90deg)}.tox .tox-tree .tox-tree--leaf__label{font-weight:400}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn{margin-left:auto}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn svg{fill:transparent}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tree .tox-tree--leaf__label .tox-mbtn:focus svg{fill:#222f3e}.tox .tox-tree .tox-tree--leaf__label:hover .tox-mbtn svg{fill:#222f3e}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover){background-color:transparent;color:#222f3e}.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover) .tox-chevron svg{fill:#222f3e}.tox .tox-tree .tox-icon-custom-state{flex-grow:1;display:flex;justify-content:flex-end}.tox .tox-tree .tox-tree--directory__children{overflow:hidden;padding-left:16px}.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--growing,.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--shrinking{transition:height .5s ease-in-out}.tox .tox-tree .tox-trbtn.tox-tree--leaf__label{display:flex;justify-content:space-between}[data-mce-name=uploadcare-enhance-filter] .color-swatch-remove-color path{fill:#c00;stroke:#c00}.tox .tox-view-wrap,.tox .tox-view-wrap__slot-container{background-color:#fff;display:flex;flex:1;flex-direction:column;height:100%;min-height:0}.tox .tox-view{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden;background-color:#fff}.tox .tox-view__header{align-items:center;display:flex;font-size:16px;justify-content:space-between;padding:8px;position:relative}.tox .tox-view__label{color:#222f3e;font-weight:700;line-height:24px;padding:4px 16px;text-align:center;white-space:nowrap}.tox .tox-view__label--normal{font-size:16px}.tox .tox-view__label--large{font-size:20px}.tox .tox-view--mobile.tox-view__header,.tox .tox-view--mobile.tox-view__toolbar{padding:8px}.tox .tox-view--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-view__align-right{margin-left:auto}.tox .tox-view__toolbar{display:flex;flex-direction:row;gap:8px;justify-content:space-between;overflow-x:auto;padding:8px}.tox .tox-view__toolbar__group{display:flex;flex-direction:row;gap:12px}.tox .tox-view__header-end,.tox .tox-view__header-start{display:flex}.tox .tox-view__pane{height:100%;padding:8px;position:relative;width:100%}.tox .tox-view__pane_panel{border:1px solid #ccc;border-radius:3px}.tox:not([dir=rtl]) .tox-view__header .tox-view__header-end>*,.tox:not([dir=rtl]) .tox-view__header .tox-view__header-start>*{margin-left:8px}.tox[dir=rtl] .tox-view__header .tox-view__header-end>*,.tox[dir=rtl] .tox-view__header .tox-view__header-start>*{margin-right:8px}.tox .tox-well{border:1px solid #ccc;border-radius:3px;padding:8px;width:100%}.tox .tox-well>:first-child{margin-top:0}.tox .tox-well>:last-child{margin-bottom:0}.tox .tox-well>:only-child{margin:0}.tox .tox-custom-editor{border:1px solid #ccc;border-radius:3px;display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-view .tox-revisionhistory__pane{padding:0}.tox .tox-revisionhistory__container{display:flex;flex-direction:column;height:100%}.tox .tox-revisionhistory{background-color:#fff;border-top:1px solid #f0f0f0;display:flex;flex:1;height:100%;overflow-x:auto;overflow-y:hidden;position:relative;width:100%}.tox .tox-revisionhistory__iframe{flex:1}.tox .tox-revisionhistory__sidebar{display:flex;flex-direction:column;height:100%;min-width:248px;width:316px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__sidebar-title{background-color:#fff;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);color:#222f3e;font-size:20px;font-weight:400;line-height:28px;padding:12px;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions{background-color:#f0f0f0;display:flex;flex:1;flex-direction:column;gap:12px;overflow-y:auto;padding:10px 12px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus{height:100%;position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus::after{bottom:0;box-shadow:0 0 0 0 transparent;content:'';left:0;position:absolute;right:0;top:0;border-radius:3px;bottom:1px;left:1px;right:1px;top:1px}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card{background-color:#fff;border:1px solid #f0f0f0;border-radius:6px;color:#222f3e;cursor:pointer;display:flex;flex-direction:column;font-size:14px;padding:12px;width:100%}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:hover{box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus{position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent #006ce7;content:'';left:0;position:absolute;right:0;top:0;border-radius:6px;box-shadow:0 0 0 2px #006ce7;box-shadow:0 0 0 2px #006ce7!important}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected{background-color:#fff5cc;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);position:relative}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected::after{border-radius:3px;bottom:0;box-shadow:0 0 0 0 transparent #e3b82a;content:'';left:0;position:absolute;right:0;top:0;border-radius:6px;box-shadow:0 0 0 2px #e3b82a}@media (forced-colors:active){.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected::after{border:2px solid highlight}}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-tags{display:flex;align-items:flex-start;flex-direction:row;gap:8px;overflow-x:auto}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-label{display:block;max-width:min-content;padding:4px 8px;margin-bottom:8px;font-size:12px;font-weight:700;border-radius:4px;background:#d3d5d8;text-wrap:balance;flex:0 1 auto}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-content{display:flex;flex-direction:row;gap:8px;align-items:center}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution{align-items:center;display:flex}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution .tox-revisionhistory__avatar{position:relative;z-index:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-attribution .tox-revisionhistory__avatar+.tox-revisionhistory__card-ai-icon{margin-left:-4px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-info{display:flex;flex-direction:column;flex:1}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-date-label{font-size:14px;font-weight:700;line-height:18px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-author-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:400}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__avatar{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-ai-icon{display:flex;height:36px;width:36px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__norevision{color:rgba(34,47,62,.7);font-size:16px;line-height:24px;padding:5px 5.5px}.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card-check-icon{color:#222f3e;height:24px}.tox .tox-card{background-color:#fff;border-radius:3px;display:flex;flex-direction:column;gap:12px;padding:12px;cursor:pointer;transition:box-shadow .15s ease-in-out,border .15s ease-in-out;border:0 solid transparent}.tox .tox-card:hover{box-shadow:0 4px 8px 0 rgba(34,47,62,.1)}.tox .tox-card--selected{border-color:#207ab7}.tox .tox-card:focus-visible{outline:0 solid transparent;border-color:transparent}.tox .tox-card--has-decision{background-color:#f0f0f0}.tox .tox-card--has-decision:not(.tox-card--selected){border-width:1px;border-color:rgba(34,47,62,.7);padding:11px}.tox .tox-card--has-decision .tox-card__header{font-size:12px}.tox .tox-card--has-decision .tox-card__body{color:rgba(34,47,62,.7)}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline{border-color:#e0e0e0}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:focus:not(:disabled),.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:hover:not(:disabled){background-color:#e0e0e0;border-color:#d1d1d1}.tox .tox-card--has-decision .tox-card__actions .tox-button--secondary--outline:active:not(:disabled){background-color:#d1d1d1;border-color:#d1d1d1}.tox .tox-card__header{padding-bottom:0;color:#222f3e;font-size:16px;font-weight:700;text-transform:uppercase;display:flex;flex-direction:column;gap:12px}.tox .tox-card__header-label{font-size:12px;font-weight:700;text-transform:uppercase;color:#222f3e}.tox .tox-card__header-content{flex:1;min-width:0;font-weight:400;text-transform:none}.tox .tox-card__header-actions{display:flex;align-items:center;gap:4px;flex-shrink:0;opacity:1;pointer-events:auto;transition:opacity .15s ease-in-out}.tox .tox-card__header-actions--hover-visible,.tox .tox-card__header-actions--on-focus{opacity:0;pointer-events:none}.tox .tox-card__header-actions--always-visible{opacity:1;pointer-events:auto}.tox .tox-card__header:has(.tox-card__header-actions),.tox .tox-card__header:has(.tox-card__header-content){flex-direction:row;align-items:center}.tox .tox-card__header:has(.tox-card__header-content){justify-content:space-between}.tox .tox-card__header:has(.tox-card__header-actions):not(:has(.tox-card__header-content)){justify-content:flex-end}.tox .tox-card:focus-within .tox-card__header-actions--hover-visible,.tox .tox-card:focus-within .tox-card__header-actions--on-focus,.tox .tox-card:hover .tox-card__header-actions--hover-visible{opacity:1;pointer-events:auto}.tox .tox-card__body{color:#222f3e;font-size:14px}.tox .tox-card__body .tox-expandable-box{background:0 0;border:none;gap:12px}.tox .tox-card__body .tox-expandable-box .tox-expandable-box__content,.tox .tox-card__body .tox-expandable-box>.tox-button{margin:0}.tox .tox-card__highlight{padding:4px 6px;border-bottom:0 solid #207ab7}.tox .tox-card__highlight--added{background-color:#e4eeda}.tox .tox-card__highlight--deleted{background-color:#f5cccc}.tox .tox-card__highlight--modified{background-color:#d2e4f1}.tox .tox-card__actions{display:flex;gap:8px}.tox .tox-card__actions--space-between{justify-content:space-between}.tox .tox-card__actions--flex-start{justify-content:flex-start}.tox .tox-card__actions .tox-button,.tox .tox-card__actions .tox-button--icon,.tox .tox-card__actions .tox-button:has(.tox-icon:only-child){padding:4px 16px}.tox .tox-card__divider{margin:12px 0;border:none;border-top:1px solid #ccc}.tox .tox-card__expansion{display:flex;flex-direction:column;gap:12px;width:100%}.tox .tox-card__expansion:has(> .tox-card__expansion-content--collapsed:only-child){margin-block-start:-12px}.tox .tox-card__expansion-content{display:grid;font-size:14px;grid-template-rows:0fr;transition:grid-template-rows .2s ease-in-out}.tox .tox-card__expansion-content--expanded{grid-template-rows:1fr}.tox .tox-card__expansion-content--expanded>.tox-card__expansion-content-inner{min-height:auto;overflow:visible}.tox .tox-card__expansion-content--collapsed{grid-template-rows:0fr}.tox .tox-card__expansion-content-inner{min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:12px}.tox .tox-card.tox-skeleton{cursor:default;pointer-events:none;box-shadow:none}.tox .tox-card.tox-skeleton:hover{box-shadow:none}.tox .tox-card.tox-skeleton .tox-skeleton__line{border-radius:3px;margin:0}.tox .tox-card.tox-skeleton .tox-card__body{display:flex;flex-direction:column;gap:4px}.tox .tox-card-list{display:flex;flex-direction:column;gap:12px}.tox .tox-card-list:has(.tox-card-group){gap:0}.tox .tox-card-list:focus{outline:0}.tox .tox-card-group{background-color:#f0f0f0;display:flex;flex-direction:column}.tox .tox-card-group .tox-card{scroll-margin-top:53px}.tox .tox-card-group__title{align-items:center;background-color:#fff;border-bottom:1px solid #ccc;color:#222f3e;display:flex;font-size:14px;font-weight:700;gap:8px;line-height:16px;overflow:hidden;padding:12px;position:sticky;top:0;z-index:1}.tox .tox-card-group__title-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-card-group__status{color:rgba(34,47,62,.7);flex:0 0 auto;font-size:12px;font-weight:400;margin-inline-start:auto}.tox .tox-card-group__content{display:flex;flex-direction:column;gap:12px;padding-block:12px}.tox .tox-profile{align-items:center;display:flex;gap:8px}.tox .tox-profile__image{align-items:center;display:flex;flex-shrink:0}.tox .tox-profile__badge{display:flex;flex-shrink:0;height:36px;margin-inline-start:-4px;width:36px}.tox .tox-profile__badge svg{display:block;height:100%;width:100%}.tox .tox-user-avatar{width:36px;height:36px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center}.tox .tox-user-avatar img{width:100%;height:100%;object-fit:cover}.tox .tox-profile__body{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;flex:1}.tox .tox-profile__heading{color:#222f3e;font-size:14px;font-weight:700;line-height:18px;text-transform:none}.tox .tox-profile__subheading{color:#222f3e;font-size:12px;font-weight:400;line-height:16px;padding-block:4px;text-transform:none}.tox .tox-profile__subheading .tox-icon svg{fill:rgba(34,47,62,0.5);margin-block:-4px;vertical-align:top}.tox [data-mce-name=suggestededits] .tox-icon .tox-icon--badge{fill:#207ab7}.tox .tox-view .tox-suggestededits__pane{padding:0}.tox .tox-suggestededits__sink{position:relative;z-index:1000}.tox .tox-suggestededits__sink .tox-tiered-menu .tox-collection--list{position:absolute}.tox .tox-suggestededits__container{height:100%;display:flex;flex-direction:column}.tox .tox-suggestededits__container .tox-suggestededits{background-color:#fff;display:flex;flex:1;height:inherit;overflow-x:auto;overflow-y:hidden;position:relative}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__content{flex:1}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__model{height:100%;position:relative}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__model .tox-suggestededits__iframe{height:100%;width:100%;overflow:scroll;background-color:#fff}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar{background-color:#f0f0f0;border-left:1px solid #c1c1c1;display:flex;flex-direction:column;flex:0 1 auto;min-width:248px;width:441px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__announcer{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;margin:-1px;padding:0;border:0}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar{padding:4px 12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar:not(:empty){padding:12px 12px 6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button:has(.tox-icon:only-child){gap:0;padding:var(--tox-private-pad-xs,4px) var(--tox-private-pad-md,16px)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button:has(.tox-icon:only-child) .tox-icon{align-items:center;display:flex;flex:0 0 auto;height:24px;justify-content:center;width:24px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline{border-color:#e3e3e3}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:focus:not(:disabled),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:hover:not(:disabled){background-color:rgba(34,47,62,.12);border-color:rgba(34,47,62,.12)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline.tox-button--enabled:not(:disabled),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline:active:not(:disabled){background-color:rgba(34,47,62,.18);border-color:rgba(34,47,62,.18);color:#222f3e}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-toolbar .tox-button--secondary--outline[disabled]{border-color:#e3e3e3}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content{display:flex;flex:1;flex-direction:column;gap:12px;overflow:auto;padding:6px 12px 12px 12px;position:relative;scroll-padding-block:6px 12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-card--selected:has(textarea:focus){border-color:transparent}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__divider,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--divider{background-color:#f0f0f0;height:1px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--editor,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--single{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;gap:12px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--editor{padding:6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header{display:flex;flex:auto;justify-content:space-between;align-items:center;gap:8px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__card--timestamp,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__card--timestamp{color:#222f3e}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__card--timestamp .tox-icon svg,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__card--timestamp .tox-icon svg{fill:rgba(34,47,62,0.5)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution{align-items:center;border:0;border-radius:20px;color:rgba(34,47,62,.7);height:20px;width:20px;display:flex;flex:0 0 auto;justify-content:center;text-align:center}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button{padding:var(--tox-private-button-padding-y,4px) var(--tox-private-button-padding-x,16px)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button .tox-suggestededits__resolution--label{display:none}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:not(:hover):not(:focus-visible),.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:not(:hover):not(:focus-visible){border-color:transparent}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution{display:none}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:focus-visible .tox-suggestededits__resolution--label,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--header .tox-suggestededits__resolution--button:hover .tox-suggestededits__resolution--label{display:inline}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content{display:flex;flex-direction:column;align-self:stretch;flex:auto;gap:6px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations{display:flex;gap:8px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-details,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-details{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-text,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-text{color:#222f3e;font-size:var(--tox-private-font-size-sm, 14px);font-weight:var(--tox-private-font-weight-bold,bold);line-height:18px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-content-text,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-content-text{font-size:var(--tox-private-font-size-md, 16px);font-weight:var(--tox-private-font-weight-normal,normal);line-height:20px;overflow-wrap:break-word}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__operations .tox-suggestededits__operations-content-text-joiner,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__operations .tox-suggestededits__operations-content-text-joiner{font-weight:var(--tox-private-font-weight-bold,bold)}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__body .tox-suggestededits__card--feedback,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--content .tox-suggestededits__card--feedback{color:#222f3e;overflow-wrap:anywhere;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__actions,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--buttons{display:flex;align-items:center;gap:8px;width:100%}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-card__actions.tox-suggestededits__card--feedback-buttons,.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card .tox-suggestededits__card--buttons.tox-suggestededits__card--feedback-buttons{justify-content:flex-end}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-suggestededits__card--active .tox-suggestededits__card--single{border-radius:6px}.tox .tox-suggestededits__container .tox-suggestededits .tox-suggestededits__sidebar-content .tox-suggestededits__card.tox-suggestededits__card--active .tox-suggestededits__card--single:focus-visible{outline:2px solid #207ab7}.tox .tox-dialog-loading::before{background-color:rgba(0,0,0,.5);content:"";height:100%;position:absolute;width:100%;z-index:1000}.tox .tox-tab{cursor:pointer}.tox .tox-dialog__content-js{display:flex;flex:1}.tox .tox-dialog__body-content .tox-collection{display:flex;flex:1}.tox:not(.tox-tinymce-inline) .tox-editor-header{background-color:none;padding:0}.tox.tox-tinymce--toolbar-bottom .tox-editor-header,.tox.tox-tinymce-inline .tox-editor-header{margin-bottom:-1px}.tox.tox-tinymce-inline .tox-editor-container{overflow:hidden}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header{border-top:none;box-shadow:none}.tox.tox.tox-tinymce--toolbar-sticky-on .tox-editor-header{background-color:transparent;box-shadow:0 4px 4px -3px rgba(0,0,0,.25);padding:0}.tox.tox.tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header{box-shadow:0 4px 4px -3px rgba(0,0,0,.25)}.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker{margin:-4px 0}.tox .tox-menu.tox-collection.tox-collection--list{padding:0}.tox .tox-pop{box-shadow:none}.tox .tox-label,.tox .tox-number-input,.tox .tox-split-button,.tox .tox-tbtn,.tox .tox-tbtn--select,.tox .tox-toolbar-label{margin:2px 0 3px 0}.tox .tox-tbtn--bordered,.tox .tox-tbtn--bordered:focus,.tox .tox-tbtn--bordered:hover{border:1px solid #ccc}.tox .tox-pop__dialog .tox-toolbar,.tox .tox-toolbar,.tox .tox-toolbar__overflow,.tox .tox-toolbar__primary{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}.tox .tox-menubar+.tox-toolbar-overlord{border-top:none}.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord .tox-toolbar__primary{border-top:1px solid #ccc;margin-top:-1px}.tox.tox-tinymce-aux .tox-toolbar__overflow{border:1px solid #ccc;padding:0}.tox .tox-pop .tox-pop__dialog .tox-toolbar{padding:0}.tox .tox-context-toolbar .tox-toolbar{background:0 0}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-menubar{border-top:1px solid #ccc}.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-toolbar-overlord:first-child .tox-toolbar__primary,.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-toolbar:first-child{border-top:1px solid #ccc}.tox .tox-toolbar__group{padding:0 4px 0 4px}.tox .tox-collection__item{border-radius:0;cursor:pointer}.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]){color:#222f3e}.tox .tox-statusbar__branding svg{fill:rgba(34,47,62,0.8);height:1em;margin-left:.3em;width:auto}@media (forced-colors:active){.tox .tox-statusbar__branding svg{fill:currentColor}}.tox .tox-statusbar__branding a{align-items:center;display:inline-flex}.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg,.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg{fill:#222f3e}.tox:not([dir=rtl]) .tox-statusbar__branding{margin-left:1ch}.tox[dir=rtl] .tox-statusbar__branding svg{margin-left:0;margin-right:.3em}.tox .tox-statusbar__resize-handle{padding-bottom:0;padding-right:0}.tox .tox-button::before{display:none} diff --git a/libraries/tinymce/js/tinymce/themes/silver/theme.min.js b/libraries/tinymce/js/tinymce/themes/silver/theme.min.js index 4c3621b..136d890 100644 --- a/libraries/tinymce/js/tinymce/themes/silver/theme.min.js +++ b/libraries/tinymce/js/tinymce/themes/silver/theme.min.js @@ -1,3 +1,3 @@ !function(){"use strict";const e=Object.getPrototypeOf,t=(e,t,o)=>!!o(e,t.prototype)||e.constructor?.name===t.name,o=e=>o=>(e=>{const o=typeof e;return null===e?"null":"object"===o&&Array.isArray(e)?"array":"object"===o&&t(e,String,(e,t)=>t.isPrototypeOf(e))?"string":o})(o)===e,n=e=>t=>typeof t===e,s=e=>t=>e===t,r=o("string"),a=o("object"),i=o=>((o,n)=>a(o)&&t(o,n,(t,o)=>e(t)===o))(o,Object),l=o("array"),c=s(null),d=n("boolean"),u=s(void 0),m=e=>null==e,g=e=>!m(e),p=n("function"),h=n("number"),f=(e,t)=>{if(l(e)){for(let o=0,n=e.length;o{},v=e=>()=>e(),x=(e,t)=>(...o)=>e(t.apply(null,o)),y=e=>()=>e,w=e=>e,S=(e,t)=>e===t;function C(e,...t){return(...o)=>{const n=t.concat(o);return e.apply(null,n)}}const k=e=>t=>!e(t),O=e=>()=>{throw new Error(e)},_=e=>e(),T=y(!1),E=y(!0);class A{tag;value;static singletonNone=new A(!1);constructor(e,t){this.tag=e,this.value=t}static some(e){return new A(!0,e)}static none(){return A.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?A.some(e(this.value)):A.none()}bind(e){return this.tag?e(this.value):A.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:A.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(e??"Called getOrDie on None")}static from(e){return g(e)?A.some(e):A.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}const D=Array.prototype.slice,M=Array.prototype.indexOf,B=Array.prototype.push,I=(e,t)=>M.call(e,t),F=(e,t)=>I(e,t)>-1,R=(e,t)=>{for(let o=0,n=e.length;o{const o=[];for(let n=0;n{const o=[];for(let n=0;n{const o=e.length,n=new Array(o);for(let s=0;s{for(let o=0,n=e.length;o{const o=[],n=[];for(let s=0,r=e.length;s{const o=[];for(let n=0,s=e.length;n(((e,t)=>{for(let o=e.length-1;o>=0;o--)t(e[o],o)})(e,(e,n)=>{o=t(o,e,n)}),o),W=(e,t,o)=>(L(e,(e,n)=>{o=t(o,e,n)}),o),j=(e,t)=>((e,t,o)=>{for(let n=0,s=e.length;n{for(let o=0,n=e.length;o{const t=[];for(let o=0,n=e.length;oG(V(e,t)),Y=(e,t)=>{for(let o=0,n=e.length;o{const t=D.call(e,0);return t.reverse(),t},K=(e,t)=>P(e,e=>!F(t,e)),J=(e,t)=>{const o={};for(let n=0,s=e.length;n[e],Z=(e,t)=>{const o=D.call(e,0);return o.sort(t),o},ee=(e,t)=>t>=0&&tee(e,0),oe=e=>ee(e,e.length-1),ne=p(Array.from)?Array.from:e=>D.call(e),se=(e,t)=>{for(let o=0;o{const o=re(e);for(let n=0,s=o.length;nce(e,(e,o)=>({k:o,v:t(e,o)})),ce=(e,t)=>{const o={};return ie(e,(e,n)=>{const s=t(e,n);o[s.k]=s.v}),o},de=e=>(t,o)=>{e[o]=t},ue=(e,t,o,n)=>{ie(e,(e,s)=>{(t(e,s)?o:n)(e,s)})},me=(e,t)=>{const o={};return ue(e,t,de(o),b),o},ge=(e,t)=>{const o=[];return ie(e,(e,n)=>{o.push(t(e,n))}),o},pe=(e,t)=>{const o=re(e);for(let n=0,s=o.length;nge(e,w),fe=(e,t)=>be(e,t)?A.from(e[t]):A.none(),be=(e,t)=>ae.call(e,t),ve=(e,t)=>be(e,t)&&void 0!==e[t]&&null!==e[t],xe=e=>{if(!l(e))throw new Error("cases must be an array");if(0===e.length)throw new Error("there must be at least one case");const t=[],o={};return L(e,(n,s)=>{const r=re(n);if(1!==r.length)throw new Error("one and only one name per case");const a=r[0],i=n[a];if(void 0!==o[a])throw new Error("duplicate key detected:"+a);if("cata"===a)throw new Error("cannot have a case named cata (sorry)");if(!l(i))throw new Error("case arguments must be an array");t.push(a),o[a]=(...o)=>{const n=o.length;if(n!==i.length)throw new Error("Wrong number of arguments to case "+a+". Expected "+i.length+" ("+i+"), got "+n);return{fold:(...t)=>{if(t.length!==e.length)throw new Error("Wrong number of arguments to fold. Expected "+e.length+", got "+t.length);return t[s].apply(null,o)},match:e=>{const n=re(e);if(t.length!==n.length)throw new Error("Wrong number of arguments to match. Expected: "+t.join(",")+"\nActual: "+n.join(","));if(!Y(t,e=>F(n,e)))throw new Error("Not all branches were specified when using match. Specified: "+n.join(", ")+"\nRequired: "+t.join(", "));return e[a].apply(null,o)},log:e=>{console.log(e,{constructors:t,constructor:a,params:o})}}}}),o},ye=e=>{let t=e;return{get:()=>t,set:e=>{t=e}}},we=e=>{let t=A.none(),o=[];const n=e=>{s()?r(e):o.push(e)},s=()=>t.isSome(),r=e=>{t.each(t=>{setTimeout(()=>{e(t)},0)})};return e(e=>{s()||(t=A.some(e),L(o,r),o=[])}),{get:n,map:e=>we(t=>{n(o=>{t(e(o))})}),isReady:s}},Se={nu:we,pure:e=>we(t=>{t(e)})},Ce=e=>{setTimeout(()=>{throw e},0)},ke=e=>{const t=t=>{e().then(t,Ce)};return{map:t=>ke(()=>e().then(t)),bind:t=>ke(()=>e().then(e=>t(e).toPromise())),anonBind:t=>ke(()=>e().then(()=>t.toPromise())),toLazy:()=>Se.nu(t),toCached:()=>{let t=null;return ke(()=>(null===t&&(t=e()),t))},toPromise:e,get:t}},Oe=e=>ke(()=>new Promise(e)),_e=e=>ke(()=>Promise.resolve(e)),Te=e=>{const t=t=>t(e),o=y(e),n=()=>s,s={tag:!0,inner:e,fold:(t,o)=>o(e),isValue:E,isError:T,map:t=>Ae.value(t(e)),mapError:n,bind:t,exists:t,forall:t,getOr:o,or:n,getOrThunk:o,orThunk:n,getOrDie:o,each:t=>{t(e)},toOptional:()=>A.some(e)};return s},Ee=e=>{const t=()=>o,o={tag:!1,inner:e,fold:(t,o)=>t(e),isValue:T,isError:E,map:t,mapError:t=>Ae.error(t(e)),bind:t,exists:T,forall:E,getOr:w,or:w,getOrThunk:_,orThunk:_,getOrDie:O(String(e)),each:b,toOptional:A.none};return o},Ae={value:Te,error:Ee,fromOption:(e,t)=>e.fold(()=>Ee(t),Te)},De=e=>({...e,toCached:()=>De(e.toCached()),bindFuture:t=>De(e.bind(e=>e.fold(e=>_e(Ae.error(e)),e=>t(e)))),bindResult:t=>De(e.map(e=>e.bind(t))),mapResult:t=>De(e.map(e=>e.map(t))),mapError:t=>De(e.map(e=>e.mapError(t))),foldResult:(t,o)=>e.map(e=>e.fold(t,o)),withTimeout:(t,o)=>De(Oe(n=>{let s=!1;const r=setTimeout(()=>{s=!0,n(Ae.error(o()))},t);e.get(e=>{s||(clearTimeout(r),n(e))})}))}),Me=e=>De(Oe(e)),Be="undefined"!=typeof window?window:Function("return this;")(),Ie=(e,t,o,n)=>{const s=e+t;return s>n?o:sMath.min(Math.max(e,t),o);let Re=0;const Ne=e=>{const t=(new Date).getTime(),o=Math.floor(window.crypto.getRandomValues(new Uint32Array(1))[0]/4294967295*1e9);return Re++,e+"_"+o+Re+String(t)},ze=e=>(...t)=>{if(0===t.length)throw new Error("Can't merge zero objects");const o={};for(let n=0;ni(e)&&i(t)?Ve(e,t):t),Le=ze((e,t)=>t),He=(e,t,o=S)=>e.exists(e=>o(e,t)),Pe=e=>{const t=[],o=e=>{t.push(e)};for(let t=0;te.isSome()&&t.isSome()?A.some(o(e.getOrDie(),t.getOrDie())):A.none(),We=(e,t)=>null!=e?A.some(t(e)):A.none(),je=(e,t)=>e?A.some(t):A.none(),$e=(e,t)=>((e,t)=>{let o=null!=t?t:Be;for(let t=0;t{const t=ye(A.none()),o=()=>t.get().each(e);return{clear:()=>{o(),t.set(A.none())},isSet:()=>t.get().isSome(),get:()=>t.get(),set:e=>{o(),t.set(A.some(e))}}},qe=()=>Ge(e=>e.unbind()),Ye=()=>{const e=Ge(b);return{...e,on:t=>e.get().each(t)}},Xe=(e,t,o)=>""===t||e.length>=t.length&&e.substr(o,o+t.length)===t,Ke=(e,t)=>Qe(e,t)?((e,t)=>e.substring(t))(e,t.length):e,Je=(e,t,o=0,n)=>{const s=e.indexOf(t,o);return-1!==s&&(!!u(n)||s+t.length<=n)},Qe=(e,t)=>Xe(e,t,0),Ze=(e,t)=>Xe(e,t,e.length-t.length),et=(bt=/^\s+|\s+$/g,e=>e.replace(bt,"")),tt=e=>e.length>0,ot=e=>!tt(e),nt=(e,t)=>{let o=null;const n=()=>{c(o)||(clearTimeout(o),o=null)};return{cancel:n,throttle:(...s)=>{n(),o=setTimeout(()=>{o=null,e.apply(null,s)},t)}}},st=e=>{let t,o=!1;return(...n)=>(o||(o=!0,t=e.apply(null,n)),t)},rt=e=>{if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},at=(e,t)=>{const o=(t||document).createElement("div");if(o.innerHTML=e,!o.hasChildNodes()||o.childNodes.length>1){const t="HTML does not have a single root node";throw console.error(t,e),new Error(t)}return rt(o.childNodes[0])},it=(e,t)=>{const o=(t||document).createElement(e);return rt(o)},lt=(e,t)=>{const o=(t||document).createTextNode(e);return rt(o)},ct=rt,dt=(e,t,o)=>{const n=e.document.createRange();var s;return s=n,t.fold(e=>{s.setStartBefore(e.dom)},(e,t)=>{s.setStart(e.dom,t)},e=>{s.setStartAfter(e.dom)}),((e,t)=>{t.fold(t=>{e.setEndBefore(t.dom)},(t,o)=>{e.setEnd(t.dom,o)},t=>{e.setEndAfter(t.dom)})})(n,o),n},ut=(e,t,o,n,s)=>{const r=e.document.createRange();return r.setStart(t.dom,o),r.setEnd(n.dom,s),r},mt=e=>({left:e.left,top:e.top,right:e.right,bottom:e.bottom,width:e.width,height:e.height}),gt=xe([{ltr:["start","soffset","finish","foffset"]},{rtl:["start","soffset","finish","foffset"]}]),pt=(e,t,o)=>t(ct(o.startContainer),o.startOffset,ct(o.endContainer),o.endOffset),ht=(e,t)=>{const o=((e,t)=>t.match({domRange:e=>({ltr:y(e),rtl:A.none}),relative:(t,o)=>({ltr:st(()=>dt(e,t,o)),rtl:st(()=>A.some(dt(e,o,t)))}),exact:(t,o,n,s)=>({ltr:st(()=>ut(e,t,o,n,s)),rtl:st(()=>A.some(ut(e,n,s,t,o)))})}))(e,t);return((e,t)=>{const o=t.ltr();return o.collapsed?t.rtl().filter(e=>!1===e.collapsed).map(e=>gt.rtl(ct(e.endContainer),e.endOffset,ct(e.startContainer),e.startOffset)).getOrThunk(()=>pt(0,gt.ltr,o)):pt(0,gt.ltr,o)})(0,o)},ft=(e,t)=>ht(e,t).match({ltr:(t,o,n,s)=>{const r=e.document.createRange();return r.setStart(t.dom,o),r.setEnd(n.dom,s),r},rtl:(t,o,n,s)=>{const r=e.document.createRange();return r.setStart(n.dom,s),r.setEnd(t.dom,o),r}});var bt;gt.ltr,gt.rtl;const vt=(e,t)=>{const o=e.dom;if(1!==o.nodeType)return!1;{const e=o;if(void 0!==e.matches)return e.matches(t);if(void 0!==e.msMatchesSelector)return e.msMatchesSelector(t);if(void 0!==e.webkitMatchesSelector)return e.webkitMatchesSelector(t);if(void 0!==e.mozMatchesSelector)return e.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")}},xt=e=>1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType||0===e.childElementCount,yt=(e,t)=>{const o=void 0===t?document:t.dom;return xt(o)?A.none():A.from(o.querySelector(e)).map(ct)},wt=(e,t)=>e.dom===t.dom,St=(e,t)=>{const o=e.dom,n=t.dom;return o!==n&&o.contains(n)},Ct=()=>kt(0,0),kt=(e,t)=>({major:e,minor:t}),Ot={nu:kt,detect:(e,t)=>{const o=String(t).toLowerCase();return 0===e.length?Ct():((e,t)=>{const o=((e,t)=>{for(let o=0;oNumber(t.replace(o,"$"+e));return kt(n(1),n(2))})(e,o)},unknown:Ct},_t=(e,t)=>{const o=String(t).toLowerCase();return j(e,e=>e.search(o))},Tt=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,Et=e=>t=>Je(t,e),At=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:e=>Je(e,"edge/")&&Je(e,"chrome")&&Je(e,"safari")&&Je(e,"applewebkit")},{name:"Chromium",brand:"Chromium",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,Tt],search:e=>Je(e,"chrome")&&!Je(e,"chromeframe")},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:e=>Je(e,"msie")||Je(e,"trident")},{name:"Opera",versionRegexes:[Tt,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:Et("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:Et("firefox")},{name:"Safari",versionRegexes:[Tt,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:e=>(Je(e,"safari")||Je(e,"mobile/"))&&Je(e,"applewebkit")}],Dt=[{name:"Windows",search:Et("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:e=>Je(e,"iphone")||Je(e,"ipad"),versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:Et("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"macOS",search:Et("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:Et("linux"),versionRegexes:[]},{name:"Solaris",search:Et("sunos"),versionRegexes:[]},{name:"FreeBSD",search:Et("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:Et("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}],Mt={browsers:y(At),oses:y(Dt)},Bt="Edge",It="Chromium",Ft="Opera",Rt="Firefox",Nt="Safari",zt=e=>{const t=e.current,o=e.version,n=e=>()=>t===e;return{current:t,version:o,isEdge:n(Bt),isChromium:n(It),isIE:n("IE"),isOpera:n(Ft),isFirefox:n(Rt),isSafari:n(Nt)}},Vt=()=>zt({current:void 0,version:Ot.unknown()}),Lt=zt,Ht=(y(Bt),y(It),y("IE"),y(Ft),y(Rt),y(Nt),"Windows"),Pt="Android",Ut="Linux",Wt="macOS",jt="Solaris",$t="FreeBSD",Gt="ChromeOS",qt=e=>{const t=e.current,o=e.version,n=e=>()=>t===e;return{current:t,version:o,isWindows:n(Ht),isiOS:n("iOS"),isAndroid:n(Pt),isMacOS:n(Wt),isLinux:n(Ut),isSolaris:n(jt),isFreeBSD:n($t),isChromeOS:n(Gt)}},Yt=()=>qt({current:void 0,version:Ot.unknown()}),Xt=qt,Kt=(y(Ht),y("iOS"),y(Pt),y(Ut),y(Wt),y(jt),y($t),y(Gt),e=>window.matchMedia(e).matches);let Jt=st(()=>((e,t,o)=>{const n=Mt.browsers(),s=Mt.oses(),r=t.bind(e=>((e,t)=>se(t.brands,t=>{const o=t.brand.toLowerCase();return j(e,e=>o===e.brand?.toLowerCase()).map(e=>({current:e.name,version:Ot.nu(parseInt(t.version,10),0)}))}))(n,e)).orThunk(()=>((e,t)=>_t(e,t).map(e=>{const o=Ot.detect(e.versionRegexes,t);return{current:e.name,version:o}}))(n,e)).fold(Vt,Lt),a=((e,t)=>_t(e,t).map(e=>{const o=Ot.detect(e.versionRegexes,t);return{current:e.name,version:o}}))(s,e).fold(Yt,Xt),i=((e,t,o,n)=>{const s=e.isiOS()&&!0===/ipad/i.test(o),r=e.isiOS()&&!s,a=e.isiOS()||e.isAndroid(),i=a||n("(pointer:coarse)"),l=s||!r&&a&&n("(min-device-width:768px)"),c=r||a&&!l,d=t.isSafari()&&e.isiOS()&&!1===/safari/i.test(o),u=!c&&!l&&!d;return{isiPad:y(s),isiPhone:y(r),isTablet:y(l),isPhone:y(c),isTouch:y(i),isAndroid:e.isAndroid,isiOS:e.isiOS,isWebView:y(d),isDesktop:y(u)}})(a,r,e,o);return{browser:r,os:a,deviceType:i}})(window.navigator.userAgent,A.from(window.navigator.userAgentData),Kt));const Qt=()=>Jt(),Zt=Object.getPrototypeOf,eo=e=>{const t=$e("ownerDocument.defaultView",e);return a(e)&&((e=>((e,t)=>{const o=((e,t)=>$e(e,t))(e,t);if(null==o)throw new Error(e+" not available on this browser");return o})("HTMLElement",e))(t).prototype.isPrototypeOf(e)||/^HTML\w*Element$/.test(Zt(e).constructor.name))},to=e=>e.dom.nodeName.toLowerCase(),oo=e=>t=>(e=>e.dom.nodeType)(t)===e,no=e=>so(e)&&eo(e.dom),so=oo(1),ro=oo(3),ao=oo(9),io=oo(11),lo=e=>t=>so(t)&&to(t)===e,co=e=>ct(e.dom.ownerDocument),uo=e=>ao(e)?e:co(e),mo=e=>ct(uo(e).dom.documentElement),go=e=>ct(uo(e).dom.defaultView),po=e=>A.from(e.dom.parentNode).map(ct),ho=e=>A.from(e.dom.parentElement).map(ct),fo=e=>A.from(e.dom.offsetParent).map(ct),bo=e=>A.from(e.dom.previousSibling).map(ct),vo=e=>A.from(e.dom.nextSibling).map(ct),xo=e=>V(e.dom.childNodes,ct),yo=(e,t)=>{const o=e.dom.childNodes;return A.from(o[t]).map(ct)},wo=e=>yo(e,0),So=(e,t)=>({element:e,offset:t}),Co=(e,t)=>{const o=xo(e);return o.length>0&&tio(e)&&g(e.dom.host),Oo=e=>ct(e.dom.getRootNode()),_o=e=>ko(e)?e:ct(uo(e).dom.body),To=e=>{const t=Oo(e);return ko(t)?A.some(t):A.none()},Eo=e=>ct(e.dom.host),Ao=e=>{const t=ct((e=>{if(g(e.target)){const t=ct(e.target);if(so(t)&&(e=>g(e.dom.shadowRoot))(t)&&e.composed&&e.composedPath){const t=e.composedPath();if(t)return te(t)}}return A.from(e.target)})(e).getOr(e.target)),o=()=>e.stopPropagation(),n=()=>e.preventDefault(),s=x(n,o);return((e,t,o,n,s,r,a)=>({target:e,x:t,y:o,stop:n,prevent:s,kill:r,raw:a}))(t,e.clientX,e.clientY,o,n,s,e)},Do=(e,t,o,n,s)=>{const r=((e,t)=>o=>{e(o)&&t(Ao(o))})(o,n);return e.dom.addEventListener(t,r,s),{unbind:C(Mo,e,t,r,s)}},Mo=(e,t,o,n)=>{e.dom.removeEventListener(t,o,n)},Bo=E,Io=(e,t,o)=>((e,t,o,n)=>Do(e,t,o,n,!1))(e,t,Bo,o),Fo=(e,t,o)=>((e,t,o,n)=>Do(e,t,o,n,!0))(e,t,Bo,o),Ro=Ao,No=()=>ct(document),zo=(e,t=!1)=>e.dom.focus({preventScroll:t}),Vo=e=>e.dom.blur(),Lo=e=>{const t=Oo(e).dom;return e.dom===t.activeElement},Ho=(e=No())=>A.from(e.dom.activeElement).map(ct),Po=e=>Ho(Oo(e)).filter(t=>e.dom.contains(t.dom)),Uo=(e,t)=>{po(e).each(o=>{o.dom.insertBefore(t.dom,e.dom)})},Wo=(e,t)=>{vo(e).fold(()=>{po(e).each(e=>{$o(e,t)})},e=>{Uo(e,t)})},jo=(e,t)=>{wo(e).fold(()=>{$o(e,t)},o=>{e.dom.insertBefore(t.dom,o.dom)})},$o=(e,t)=>{e.dom.appendChild(t.dom)},Go=(e,t)=>{L(t,t=>{$o(e,t)})},qo=(e,t,o)=>{if(!(r(o)||d(o)||h(o)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",o,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,o+"")},Yo=(e,t,o)=>{qo(e.dom,t,o)},Xo=(e,t)=>{const o=e.dom;ie(t,(e,t)=>{qo(o,t,e)})},Ko=(e,t)=>{const o=e.dom.getAttribute(t);return null===o?void 0:o},Jo=(e,t)=>A.from(Ko(e,t)),Qo=(e,t)=>{const o=e.dom;return!(!o||!o.hasAttribute)&&o.hasAttribute(t)},Zo=(e,t)=>{e.dom.removeAttribute(t)},en=e=>{e.dom.textContent="",L(xo(e),e=>{tn(e)})},tn=e=>{const t=e.dom;null!==t.parentNode&&t.parentNode.removeChild(t)},on=(e,t)=>ct(e.dom.cloneNode(t)),nn=e=>e.dom.innerHTML,sn=(e,t)=>{const o=co(e).dom,n=ct(o.createDocumentFragment()),s=((e,t)=>{const o=(t||document).createElement("div");return o.innerHTML=e,xo(ct(o))})(t,o);Go(n,s),en(e),$o(e,n)},rn=e=>new Promise((t,o)=>{const n=()=>{r(),t(e)},s=[Io(e,"load",n),Io(e,"error",()=>{r(),o("Unable to load data from image: "+e.dom.src)})],r=()=>L(s,e=>e.unbind());e.dom.complete&&n()}),an=e=>void 0!==e.style&&p(e.style.getPropertyValue),ln=e=>{const t=ro(e)?e.dom.parentNode:e.dom;if(null==t||null===t.ownerDocument)return!1;const o=t.ownerDocument;return To(ct(t)).fold(()=>o.body.contains(t),(n=ln,s=Eo,e=>n(s(e))));var n,s},cn=()=>dn(ct(document)),dn=e=>{const t=e.dom.body;if(null==t)throw new Error("Body is not available yet");return ct(t)},un=(e,t,o)=>{if(!r(o))throw console.error("Invalid call to CSS.set. Property ",t,":: Value ",o,":: Element ",e),new Error("CSS value must be a string: "+o);an(e)&&e.style.setProperty(t,o)},mn=(e,t)=>{an(e)&&e.style.removeProperty(t)},gn=(e,t,o)=>{const n=e.dom;un(n,t,o)},pn=(e,t)=>{const o=e.dom;ie(t,(e,t)=>{un(o,t,e)})},hn=(e,t)=>{const o=e.dom;ie(t,(e,t)=>{e.fold(()=>{mn(o,t)},e=>{un(o,t,e)})})},fn=(e,t)=>{const o=e.dom,n=window.getComputedStyle(o).getPropertyValue(t);return""!==n||ln(e)?n:bn(o,t)},bn=(e,t)=>an(e)?e.style.getPropertyValue(t):"",vn=(e,t)=>{const o=e.dom,n=bn(o,t);return A.from(n).filter(e=>e.length>0)},xn=e=>{const t={},o=e.dom;if(an(o))for(let e=0;e{const n=it(e);return gn(n,t,o),vn(n,t).isSome()},wn=(e,t)=>{const o=e.dom;mn(o,t),He(Jo(e,"style").map(et),"")&&Zo(e,"style")},Sn=e=>e.dom.offsetWidth,Cn=(e,t)=>{const o=o=>{const n=t(o);if(n<=0||null===n){const t=fn(o,e);return parseFloat(t)||0}return n},n=(e,t)=>W(t,(t,o)=>{const n=fn(e,o),s=void 0===n?0:parseInt(n,10);return isNaN(s)?t:t+s},0);return{set:(t,o)=>{if(!h(o)&&!o.match(/^[0-9]+$/))throw new Error(e+".set accepts only positive integer values. Value was "+o);const n=t.dom;an(n)&&(n.style[e]=o+"px")},get:o,getOuter:o,aggregate:n,max:(e,t,o)=>{const s=n(e,o);return t>s?t-s:0}}},kn=Cn("height",e=>{const t=e.dom;return ln(e)?t.getBoundingClientRect().height:t.offsetHeight}),On=e=>kn.get(e),_n=e=>kn.getOuter(e),Tn=e=>!(e=>e.offsetWidth<=0&&e.offsetHeight<=0)(e.dom),En=Cn("width",e=>{const t=e.dom;return ln(e)?t.getBoundingClientRect().width:t.offsetWidth}),An=e=>En.get(e),Dn=e=>En.getOuter(e),Mn=(e,t)=>({left:e,top:t,translate:(o,n)=>Mn(e+o,t+n)}),Bn=Mn,In=(e,t)=>void 0!==e?e:void 0!==t?t:0,Fn=e=>{const t=e.dom.ownerDocument,o=t.body,n=t.defaultView,s=t.documentElement;if(o===e.dom)return Bn(o.offsetLeft,o.offsetTop);const r=In(n?.pageYOffset,s.scrollTop),a=In(n?.pageXOffset,s.scrollLeft),i=In(s.clientTop,o.clientTop),l=In(s.clientLeft,o.clientLeft);return Rn(e).translate(a-l,r-i)},Rn=e=>{const t=e.dom,o=t.ownerDocument.body;return o===t?Bn(o.offsetLeft,o.offsetTop):ln(e)?(e=>{const t=e.getBoundingClientRect();return Bn(t.left,t.top)})(t):Bn(0,0)},Nn=e=>{const t=void 0!==e?e.dom:document,o=t.body.scrollLeft||t.documentElement.scrollLeft,n=t.body.scrollTop||t.documentElement.scrollTop;return Bn(o,n)},zn=(e,t,o)=>{const n=(void 0!==o?o.dom:document).defaultView;n&&n.scrollTo(e,t)},Vn=(e=>{const t=t=>e(t)?A.from(t.dom.nodeValue):A.none();return{get:o=>{if(!e(o))throw new Error("Can only get text value of a text node");return t(o).getOr("")},getOption:t,set:(t,o)=>{if(!e(t))throw new Error("Can only set raw text value of a text node");t.dom.nodeValue=o}}})(ro),Ln=(e,t)=>o=>"rtl"===Hn(o)?t:e,Hn=e=>"rtl"===fn(e,"direction")?"rtl":"ltr",Pn=(e,t)=>{const o=Ko(e,t);return void 0===o||""===o?[]:o.split(" ")};var Un=(e,t,o,n,s)=>e(o,n)?A.some(o):p(s)&&s(o)?A.none():t(o,n,s);const Wn=(e,t,o)=>{let n=e.dom;const s=p(o)?o:T;for(;n.parentNode;){n=n.parentNode;const e=ct(n);if(t(e))return A.some(e);if(s(e))break}return A.none()},jn=(e,t,o)=>Un((e,t)=>t(e),Wn,e,t,o),$n=(e,t)=>j(e.dom.childNodes,e=>t(ct(e))).map(ct),Gn=(e,t,o)=>Wn(e,e=>vt(e,t),o),qn=(e,t)=>(e=>{const o=e.dom;return o.parentNode?$n(ct(o.parentNode),o=>!wt(e,o)&&vt(o,t)):A.none()})(e),Yn=(e,t)=>$n(e,e=>vt(e,t)),Xn=(e,t)=>yt(t,e),Kn=(e,t,o)=>Un((e,t)=>vt(e,t),Gn,e,t,o),Jn=(e,t)=>{e.dom.checked=t},Qn=e=>e.dom.checked,Zn=e=>void 0!==e.dom.classList,es=e=>Pn(e,"class"),ts=(e,t)=>((e,t,o)=>{const n=Pn(e,t).concat([o]);return Yo(e,t,n.join(" ")),!0})(e,"class",t),os=(e,t)=>((e,t,o)=>{const n=P(Pn(e,t),e=>e!==o);return n.length>0?Yo(e,t,n.join(" ")):Zo(e,t),!1})(e,"class",t),ns=(e,t)=>{Zn(e)?e.dom.classList.add(t):ts(e,t)},ss=e=>{0===(Zn(e)?e.dom.classList:es(e)).length&&Zo(e,"class")},rs=(e,t)=>{Zn(e)?e.dom.classList.remove(t):os(e,t),ss(e)},as=(e,t)=>Zn(e)&&e.dom.classList.contains(t),is=(e,t)=>{L(t,t=>{ns(e,t)})},ls=(e,t)=>{L(t,t=>{rs(e,t)})},cs=e=>Zn(e)?(e=>{const t=e.dom.classList,o=new Array(t.length);for(let e=0;ee.dom.value,us=(e,t)=>{if(void 0===t)throw new Error("Value.set was undefined");e.dom.value=t},ms=(e,t,o)=>P(((e,t)=>{const o=p(t)?t:T;let n=e.dom;const s=[];for(;null!==n.parentNode&&void 0!==n.parentNode;){const e=n.parentNode,t=ct(e);if(s.push(t),!0===o(t))break;n=e}return s})(e,o),t),gs=(e,t)=>((e,t)=>{const o=void 0===t?document:t.dom;return xt(o)?[]:V(o.querySelectorAll(e),ct)})(t,e),ps=(e,t,o)=>jn(e,t,o).isSome(),hs=(e,t,o)=>Kn(e,t,o).isSome(),fs=e=>p(e)?e:T,bs=(e,t,o)=>{let n=e.dom;const s=fs(o);for(;n.parentNode;){n=n.parentNode;const e=ct(n),o=t(e);if(o.isSome())return o;if(s(e))break}return A.none()},vs=(e,t,o)=>{const n=t(e),s=fs(o);return n.orThunk(()=>s(e)?A.none():bs(e,t,s))},xs=(e,t,o,n)=>({start:e,soffset:t,finish:o,foffset:n}),ys=xe([{before:["element"]},{on:["element","offset"]},{after:["element"]}]),ws={before:ys.before,on:ys.on,after:ys.after,cata:(e,t,o,n)=>e.fold(t,o,n),getStart:e=>e.fold(w,w,w)},Ss=xe([{domRange:["rng"]},{relative:["startSitu","finishSitu"]},{exact:["start","soffset","finish","foffset"]}]),Cs={domRange:Ss.domRange,relative:Ss.relative,exact:Ss.exact,exactFromRange:e=>Ss.exact(e.start,e.soffset,e.finish,e.foffset),getWin:e=>{const t=(e=>e.match({domRange:e=>ct(e.startContainer),relative:(e,t)=>ws.getStart(e),exact:(e,t,o,n)=>e}))(e);return go(t)},range:xs},ks=(e,t)=>{const o=to(e);return"input"===o?ws.after(e):F(["br","img"],o)?0===t?ws.before(e):ws.after(e):ws.on(e,t)},Os=e=>A.from(e.getSelection()),_s=(e,t,o,n,s)=>{((e,t)=>{Os(e).each(e=>{e.removeAllRanges(),e.addRange(t)})})(e,ut(e,t,o,n,s))},Ts=e=>{if(e.rangeCount>0){const t=e.getRangeAt(0),o=e.getRangeAt(e.rangeCount-1);return A.some(xs(ct(t.startContainer),t.startOffset,ct(o.endContainer),o.endOffset))}return A.none()},Es=e=>{if(null===e.anchorNode||null===e.focusNode)return Ts(e);{const t=ct(e.anchorNode),o=ct(e.focusNode);return((e,t,o,n)=>{const s=((e,t,o,n)=>{const s=co(e).dom.createRange();return s.setStart(e.dom,t),s.setEnd(o.dom,n),s})(e,t,o,n),r=wt(e,o)&&t===n;return s.collapsed&&!r})(t,e.anchorOffset,o,e.focusOffset)?A.some(xs(t,e.anchorOffset,o,e.focusOffset)):Ts(e)}},As=e=>Os(e).filter(e=>e.rangeCount>0).bind(Es),Ds=(e,t)=>(e=>{const t=e.getClientRects(),o=t.length>0?t[0]:e.getBoundingClientRect();return o.width>0||o.height>0?A.some(o).map(mt):A.none()})(ft(e,t)),Ms={unsupportedLength:["em","ex","cap","ch","ic","rem","lh","rlh","vw","vh","vi","vb","vmin","vmax","cm","mm","Q","in","pc","pt","px"],fixed:["px","pt"],relative:["%"],empty:[""]},Bs=(()=>{const e="[0-9]+",t="[eE][+-]?"+e,o=e=>`(?:${e})?`,n=["Infinity",e+"\\."+o(e)+o(t),"\\."+e+o(t),e+o(t)].join("|");return new RegExp(`^([+-]?(?:${n}))(.*)$`)})(),Is=(e,t)=>A.from(Bs.exec(e)).bind(e=>{const o=Number(e[1]),n=e[2];return((e,t)=>R(t,t=>R(Ms[t],t=>e===t)))(n,t)?A.some({value:o,unit:n}):A.none()}),Fs=(e,t,o,n)=>({x:e,y:t,width:o,height:n,right:e+o,bottom:t+n}),Rs=e=>{const t=void 0===e?window:e,o=t.document,n=Nn(ct(o));return(e=>{const t=void 0===e?window:e;return Qt().browser.isFirefox()?A.none():A.from(t.visualViewport)})(t).fold(()=>{const e=t.document.documentElement,o=e.clientWidth,s=e.clientHeight;return Fs(n.left,n.top,o,s)},e=>Fs(Math.max(e.pageLeft,n.left),Math.max(e.pageTop,n.top),e.width,e.height))},Ns=(e,t)=>e.view(t).fold(y([]),t=>{const o=e.owner(t),n=Ns(e,o);return[t].concat(n)});var zs=Object.freeze({__proto__:null,view:e=>(e.dom===document?A.none():A.from(e.dom.defaultView?.frameElement)).map(ct),owner:e=>co(e)});const Vs=e=>{const t=No(),o=Nn(t),n=((e,t)=>{const o=t.owner(e),n=Ns(t,o);return A.some(n)})(e,zs);return n.fold(C(Fn,e),t=>{const n=Rn(e),s=U(t,(e,t)=>{const o=Rn(t);return{left:e.left+o.left,top:e.top+o.top}},{left:0,top:0});return Bn(s.left+n.left+o.left,s.top+n.top+o.top)})},Ls=(e,t,o,n)=>({x:e,y:t,width:o,height:n,right:e+o,bottom:t+n}),Hs=e=>{const t=Fn(e),o=Dn(e),n=_n(e);return Ls(t.left,t.top,o,n)},Ps=e=>{const t=Vs(e),o=Dn(e),n=_n(e);return Ls(t.left,t.top,o,n)},Us=(e,t)=>{const o=Math.max(e.x,t.x),n=Math.max(e.y,t.y),s=Math.min(e.right,t.right),r=Math.min(e.bottom,t.bottom);return Ls(o,n,s-o,r-n)},Ws=()=>Rs(window),js=(e,t)=>wt(e.element,t.event.target),$s=e=>(He(vn(e,"position"),"fixed")?A.none():fo(e)).orThunk(()=>{const t=it("span");return po(e).bind(e=>{$o(e,t);const o=fo(t);return tn(t),o})}),Gs=e=>$s(e).map(Fn).getOrThunk(()=>Bn(0,0)),qs=(e,t)=>{const o=A.from(Ko(e,"id")).getOrThunk(()=>{const e=Ne("aria");return Yo(t,"id",e),e});Yo(e,"aria-describedby",o)};var Ys;!function(e){e[e.Error=0]="Error",e[e.Value=1]="Value"}(Ys||(Ys={}));const Xs=(e,t,o)=>e.stype===Ys.Error?t(e.serror):o(e.svalue),Ks=e=>({stype:Ys.Value,svalue:e}),Js=e=>({stype:Ys.Error,serror:e}),Qs=Ks,Zs=Js,er=Xs,tr=e=>a(e)&&re(e).length>100?" removed due to size":JSON.stringify(e,null,2),or=(e,t)=>Zs([{path:e,getErrorInfo:t}]),nr=e=>({extract:(t,o)=>((e,t)=>e.stype===Ys.Error?t(e.serror):e)(e(o),e=>((e,t)=>or(e,y(t)))(t,e)),toString:y("val")}),sr=nr(Qs),rr=y(sr),ar=(e,t)=>nr(o=>{const n=typeof o;return e(o)?Qs(o):Zs(`Expected type: ${t} but got: ${n}`)}),ir=ar(h,"number"),lr=ar(r,"string"),cr=ar(d,"boolean"),dr=ar(p,"function"),ur=e=>{if(Object(e)!==e)return!0;switch({}.toString.call(e).slice(8,-1)){case"Boolean":case"Number":case"String":case"Date":case"RegExp":case"Blob":case"FileList":case"ImageData":case"ImageBitmap":case"ArrayBuffer":return!0;case"Array":case"Object":return Object.keys(e).every(t=>ur(e[t]));default:return!1}},mr=nr(e=>ur(e)?Qs(e):Zs("Expected value to be acceptable for sending via postMessage")),gr=e=>({tag:"defaultedThunk",process:e}),pr=e=>gr(y(e)),hr=e=>({tag:"mergeWithThunk",process:e}),fr=(e,t,o,n)=>({tag:"field",key:e,newKey:t,presence:o,prop:n}),br=(e,t,o)=>{switch(e.tag){case"field":return t(e.key,e.newKey,e.presence,e.prop);case"custom":return o(e.newKey,e.instantiator)}},vr=e=>{const t=(e=>{const t=[],o=[];return L(e,e=>{Xs(e,e=>o.push(e),e=>t.push(e))}),{values:t,errors:o}})(e);return t.errors.length>0?(o=t.errors,x(Zs,G)(o)):Qs(t.values);var o},xr=(e,t,o,n)=>n(fe(e,t).getOrThunk(()=>o(e))),yr=(e,t,o,n,s)=>{const r=e=>s.extract(t.concat([n]),e),a=e=>e.fold(()=>Qs(A.none()),e=>((e,t)=>e.stype===Ys.Value?{stype:Ys.Value,svalue:t(e.svalue)}:e)(s.extract(t.concat([n]),e),A.some));switch(e.tag){case"required":return((e,t,o,n)=>fe(t,o).fold(()=>((e,t,o)=>or(e,()=>'Could not find valid *required* value for "'+t+'" in '+tr(o)))(e,o,t),n))(t,o,n,r);case"defaultedThunk":return xr(o,n,e.process,r);case"option":return((e,t,o)=>o(fe(e,t)))(o,n,a);case"defaultedOptionThunk":return((e,t,o,n)=>n(fe(e,t).map(t=>!0===t?o(e):t)))(o,n,e.process,a);case"mergeWithThunk":return xr(o,n,y({}),t=>{const n=Ve(e.process(o),t);return r(n)})}},wr=e=>({extract:(t,o)=>e().extract(t,o),toString:()=>e().toString()}),Sr=e=>re(me(e,g)),Cr=e=>{const t=kr(e),o=U(e,(e,t)=>br(t,t=>Ve(e,{[t]:!0}),y(e)),{});return{extract:(e,n)=>{const s=d(n)?[]:Sr(n),r=P(s,e=>!ve(o,e));return 0===r.length?t.extract(e,n):((e,t)=>or(e,()=>"There are unsupported fields: ["+t.join(", ")+"] specified"))(e,r)},toString:t.toString}},kr=e=>({extract:(t,o)=>((e,t,o)=>{const n={},s=[];for(const r of o)br(r,(o,r,a,i)=>{const l=yr(a,e,t,o,i);er(l,e=>{s.push(...e)},e=>{n[r]=e})},(e,o)=>{n[e]=o(t)});return s.length>0?Zs(s):Qs(n)})(t,o,e),toString:()=>{const t=V(e,e=>br(e,(e,t,o,n)=>e+" -> "+n.toString(),(e,t)=>"state("+e+")"));return"obj{\n"+t.join("\n")+"}"}}),Or=e=>({extract:(t,o)=>{const n=V(o,(o,n)=>e.extract(t.concat(["["+n+"]"]),o));return vr(n)},toString:()=>"array("+e.toString()+")"}),_r=(e,t)=>{const o=void 0!==t?t:w;return{extract:(t,n)=>{const s=[];for(const r of e){const e=r.extract(t,n);if(e.stype===Ys.Value)return{stype:Ys.Value,svalue:o(e.svalue)};s.push(e)}return vr(s)},toString:()=>"oneOf("+V(e,e=>e.toString()).join(", ")+")"}},Tr=(e,t)=>({extract:(o,n)=>{const s=re(n),r=((t,o)=>Or(nr(e)).extract(t,o))(o,s);return((e,t)=>e.stype===Ys.Value?t(e.svalue):e)(r,e=>{const s=V(e,e=>fr(e,e,{tag:"required",process:{}},t));return kr(s).extract(o,n)})},toString:()=>"setOf("+t.toString()+")"}),Er=x(Or,kr),Ar=(e,t)=>({extract:(o,n)=>fe(n,e).fold(()=>((e,t)=>or(e,()=>'Choice schema did not contain choice key: "'+t+'"'))(o,e),e=>((e,t,o,n)=>fe(o,n).fold(()=>((e,t,o)=>or(e,()=>'The chosen schema: "'+o+'" did not exist in branches: '+tr(t)))(e,o,n),o=>o.extract(e.concat(["branch: "+n]),t)))(o,n,t,e)),toString:()=>"chooseOn("+e+"). Possible values: "+re(t)}),Dr=e=>nr(t=>e(t).fold(Zs,Qs)),Mr=(e,t)=>Tr(t=>e(t).fold(Js,Ks),t),Br=(e,t,o)=>{return n=((e,t,o)=>((e,t)=>e.stype===Ys.Error?{stype:Ys.Error,serror:t(e.serror)}:e)(t.extract([e],o),e=>({input:o,errors:e})))(e,t,o),Xs(n,Ae.error,Ae.value);var n},Ir=e=>e.fold(e=>{throw new Error(Rr(e))},w),Fr=(e,t,o)=>Ir(Br(e,t,o)),Rr=e=>"Errors: \n"+(e=>{const t=e.length>10?e.slice(0,10).concat([{path:[],getErrorInfo:y("... (only showing first ten failures)")}]):e;return V(t,e=>"Failed path: ("+e.path.join(" > ")+")\n"+e.getErrorInfo())})(e.errors).join("\n")+"\n\nInput object: "+tr(e.input),Nr=(e,t)=>Ar(e,le(t,kr)),zr=(e,t)=>((e,t)=>{const o=st(t);return{extract:(e,t)=>o().extract(e,t),toString:()=>o().toString()}})(0,t),Vr=fr,Lr=(e,t)=>({tag:"custom",newKey:e,instantiator:t}),Hr=e=>Dr(t=>F(e,t)?Ae.value(t):Ae.error(`Unsupported value: "${t}", choose one of "${e.join(", ")}".`)),Pr=e=>Vr(e,e,{tag:"required",process:{}},rr()),Ur=(e,t)=>Vr(e,e,{tag:"required",process:{}},t),Wr=e=>Ur(e,ir),jr=e=>Ur(e,lr),$r=(e,t)=>Vr(e,e,{tag:"required",process:{}},Hr(t)),Gr=e=>Ur(e,dr),qr=(e,t)=>Vr(e,e,{tag:"required",process:{}},kr(t)),Yr=(e,t)=>Vr(e,e,{tag:"required",process:{}},Er(t)),Xr=(e,t)=>Vr(e,e,{tag:"required",process:{}},Or(t)),Kr=e=>Vr(e,e,{tag:"option",process:{}},rr()),Jr=(e,t)=>Vr(e,e,{tag:"option",process:{}},t),Qr=e=>Jr(e,ir),Zr=e=>Jr(e,lr),ea=(e,t)=>Jr(e,Hr(t)),ta=e=>Jr(e,dr),oa=(e,t)=>Jr(e,Or(t)),na=(e,t)=>Jr(e,kr(t)),sa=(e,t)=>Vr(e,e,pr(t),rr()),ra=(e,t,o)=>Vr(e,e,pr(t),o),aa=(e,t)=>ra(e,t,ir),ia=(e,t)=>ra(e,t,lr),la=(e,t,o)=>ra(e,t,Hr(o)),ca=(e,t)=>ra(e,t,cr),da=(e,t)=>ra(e,t,dr),ua=(e,t,o)=>ra(e,t,Or(o)),ma=(e,t,o)=>ra(e,t,kr(o)),ga=(e,t)=>((e,t)=>({[e]:t}))(e,t),pa=e=>(e=>{const t={};return L(e,e=>{t[e.key]=e.value}),t})(e),ha=y,fa=ha("touchstart"),ba=ha("touchmove"),va=ha("touchend"),xa=ha("touchcancel"),ya=ha("mousedown"),wa=ha("mousemove"),Sa=ha("mouseout"),Ca=ha("mouseup"),ka=ha("mouseover"),Oa=ha("focusin"),_a=ha("focusout"),Ta=ha("keydown"),Ea=ha("keyup"),Aa=ha("input"),Da=ha("change"),Ma=ha("click"),Ba=ha("transitioncancel"),Ia=ha("transitionend"),Fa=ha("transitionstart"),Ra=ha("selectstart"),Na=ha("pointerdown"),za=ha("pointermove"),Va=ha("pointerup"),La=ha("lostpointercapture"),Ha=e=>y("alloy."+e),Pa={tap:Ha("tap")},Ua=Ha("focus"),Wa=Ha("blur.post"),ja=Ha("paste.post"),$a=Ha("receive"),Ga=Ha("execute"),qa=Ha("focus.item"),Ya=Pa.tap,Xa=Ha("longpress"),Ka=Ha("sandbox.close"),Ja=Ha("typeahead.cancel"),Qa=Ha("system.init"),Za=Ha("system.touchmove"),ei=Ha("system.touchend"),ti=Ha("system.scroll"),oi=Ha("system.resize"),ni=Ha("system.attached"),si=Ha("system.detached"),ri=Ha("system.dismissRequested"),ai=Ha("system.repositionRequested"),ii=Ha("focusmanager.shifted"),li=Ha("slotcontainer.visibility"),ci=Ha("system.external.element.scroll"),di=Ha("change.tab"),ui=Ha("dismiss.tab"),mi=Ha("highlight"),gi=Ha("dehighlight"),pi=e=>(e=>{if(ko(e))return"#shadow-root";{const t=(e=>on(e,!1))(e);return(e=>{const t=it("div"),o=ct(e.dom.cloneNode(!0));return $o(t,o),nn(t)})(t)}})(e);var hi;!function(e){e[e.STOP=0]="STOP",e[e.NORMAL=1]="NORMAL",e[e.LOGGING=2]="LOGGING"}(hi||(hi={}));const fi=ye({}),bi=["alloy/data/Fields","alloy/debugging/Debugging"],vi=(e,t,o)=>((e,t,o)=>{switch(fe(fi.get(),e).orThunk(()=>{const t=re(fi.get());return se(t,t=>e.indexOf(t)>-1?A.some(fi.get()[t]):A.none())}).getOr(hi.NORMAL)){case hi.NORMAL:return o(xi());case hi.LOGGING:{const n=((e,t)=>{const o=[],n=(new Date).getTime();return{logEventCut:(e,t,n)=>{o.push({outcome:"cut",target:t,purpose:n})},logEventStopped:(e,t,n)=>{o.push({outcome:"stopped",target:t,purpose:n})},logNoParent:(e,t,n)=>{o.push({outcome:"no-parent",target:t,purpose:n})},logEventNoHandlers:(e,t)=>{o.push({outcome:"no-handlers-left",target:t})},logEventResponse:(e,t,n)=>{o.push({outcome:"response",purpose:n,target:t})},write:()=>{const s=(new Date).getTime();F(["mousemove","mouseover","mouseout",Qa()],e)||console.log(e,{event:e,time:s-n,target:t.dom,sequence:V(o,e=>F(["cut","stopped","response"],e.outcome)?"{"+e.purpose+"} "+e.outcome+" at ("+pi(e.target)+")":e.outcome)})}}})(e,t),s=o(n);return n.write(),s}case hi.STOP:return!0}})(e,t,o),xi=y({logEventCut:b,logEventStopped:b,logNoParent:b,logEventNoHandlers:b,logEventResponse:b,write:b}),yi=y([Pr("menu"),Pr("selectedMenu")]),wi=y([Pr("item"),Pr("selectedItem")]);y(kr(wi().concat(yi())));const Si=y(kr(wi())),Ci=qr("initSize",[Pr("numColumns"),Pr("numRows")]),ki=()=>qr("markers",[Pr("backgroundMenu")].concat(yi()).concat(wi())),Oi=e=>qr("markers",V(e,Pr)),_i=(e,t,o)=>((()=>{const e=new Error;if(void 0!==e.stack){const t=e.stack.split("\n");j(t,e=>e.indexOf("alloy")>0&&!R(bi,t=>e.indexOf(t)>-1)).getOr("unknown")}})(),Vr(t,t,o,Dr(e=>Ae.value((...t)=>e.apply(void 0,t))))),Ti=e=>_i(0,e,pr(b)),Ei=e=>_i(0,e,pr(A.none)),Ai=e=>_i(0,e,{tag:"required",process:{}}),Di=e=>_i(0,e,{tag:"required",process:{}}),Mi=(e,t)=>Lr(e,y(t)),Bi=e=>Lr(e,w),Ii=y(Ci),Fi=e=>V(e,e=>Ze(e,"/*")?e.substring(0,e.length-2):e),Ri=(e,t)=>{const o=e.toString(),n=o.indexOf(")")+1,s=o.indexOf("("),r=o.substring(s+1,n-1).split(/,\s*/);return e.toFunctionAnnotation=()=>({name:t,parameters:Fi(r)}),e},Ni=(e,t)=>{let o=null;return{cancel:()=>{null!==o&&(clearTimeout(o),o=null)},schedule:(...n)=>{o=setTimeout(()=>{e.apply(null,n),o=null},t)}}},zi=e=>{const t=e.raw;return void 0===t.touches||1!==t.touches.length?A.none():A.some(t.touches[0])};var Vi;!function(e){e.OnFocusMode="onFocus",e.OnEnterOrSpaceMode="onEnterOrSpace",e.OnApiMode="onApi"}(Vi||(Vi={}));const Li="placeholder",Hi=xe([{single:["required","valueThunk"]},{multiple:["required","valueThunks"]}]),Pi=e=>be(e,"uiType"),Ui=(e,t,o,n)=>((e,t,o,n)=>Pi(o)&&o.uiType===Li?((e,t,o,n)=>e.exists(e=>e!==o.owner)?Hi.single(!0,y(o)):fe(n,o.name).fold(()=>{throw new Error("Unknown placeholder component: "+o.name+"\nKnown: ["+re(n)+"]\nNamespace: "+e.getOr("none")+"\nSpec: "+JSON.stringify(o,null,2))},e=>e.replace()))(e,0,o,n):Hi.single(!1,y(o)))(e,0,o,n).fold((s,r)=>{const a=Pi(o)?r(t,o.config,o.validated):r(t),i=fe(a,"components").getOr([]),l=q(i,o=>Ui(e,t,o,n));return[{...a,components:l}]},(e,n)=>{if(Pi(o)){const e=n(t,o.config,o.validated);return o.validated.preprocess.getOr(w)(e)}return n(t)}),Wi=Hi.single,ji=Hi.multiple,$i=y(Li),Gi=xe([{required:["data"]},{external:["data"]},{optional:["data"]},{group:["data"]}]),qi=sa("factory",{sketch:w}),Yi=sa("schema",[]),Xi=Pr("name"),Ki=Vr("pname","pname",gr(e=>""),rr()),Ji=Lr("schema",()=>[Kr("preprocess")]),Qi=sa("defaults",y({})),Zi=sa("overrides",y({})),el=kr([qi,Yi,Xi,Ki,Qi,Zi]),tl=kr([qi,Yi,Xi,Qi,Zi]),ol=kr([qi,Yi,Xi,Ki,Qi,Zi]),nl=kr([qi,Ji,Xi,Pr("unit"),Ki,Qi,Zi]),sl=e=>e.fold(A.some,A.none,A.some,A.some),rl=e=>{const t=e=>e.name;return e.fold(t,t,t,t)},al=(e,t)=>o=>{const n=Fr("Converting part type",t,o);return e(n)},il=al(Gi.required,el),ll=al(Gi.external,tl),cl=al(Gi.optional,ol),dl=al(Gi.group,nl),ul=y("entirety");var ml=Object.freeze({__proto__:null,required:il,external:ll,optional:cl,group:dl,asNamedPart:sl,name:rl,asCommon:e=>e.fold(w,w,w,w),original:ul});const gl=(e,t,o,n)=>Ve(t.defaults(e,o,n),o,{uid:e.partUids[t.name]},t.overrides(e,o,n)),pl=(e,t)=>{const o={};return L(t,t=>{sl(t).each(t=>{const n=hl(e,t.pname);o[t.name]=o=>{const s=Fr("Part: "+t.name+" in "+e,kr(t.schema),o);return{...n,config:o,validated:s}}})}),o},hl=(e,t)=>({uiType:$i(),owner:e,name:t}),fl=(e,t,o)=>({uiType:$i(),owner:e,name:t,config:o,validated:{}}),bl=e=>q(e,e=>e.fold(A.none,A.some,A.none,A.none).map(e=>qr(e.name,e.schema.concat([Bi(ul())]))).toArray()),vl=e=>V(e,rl),xl=(e,t,o)=>((e,t,o)=>{const n={},s={};return L(o,e=>{e.fold(e=>{n[e.pname]=Wi(!0,(t,o,n)=>e.factory.sketch(gl(t,e,o,n)))},e=>{const o=t.parts[e.name];s[e.name]=y(e.factory.sketch(gl(t,e,o[ul()]),o))},e=>{n[e.pname]=Wi(!1,(t,o,n)=>e.factory.sketch(gl(t,e,o,n)))},e=>{n[e.pname]=ji(!0,(t,o,n)=>{const s=t[e.name];return V(s,o=>e.factory.sketch(Ve(e.defaults(t,o,n),o,e.overrides(t,o))))})})}),{internals:y(n),externals:y(s)}})(0,t,o),yl=(e,t,o)=>((e,t,o,n)=>{const s=le(n,(e,t)=>((e,t)=>{let o=!1;return{name:y(e),required:()=>t.fold((e,t)=>e,(e,t)=>e),used:()=>o,replace:()=>{if(o)throw new Error("Trying to use the same placeholder more than once: "+e);return o=!0,t}}})(t,e)),r=((e,t,o,n)=>q(o,o=>Ui(e,t,o,n)))(e,t,o,s);return ie(s,o=>{if(!1===o.used()&&o.required())throw new Error("Placeholder: "+o.name()+" was not found in components list\nNamespace: "+e.getOr("none")+"\nComponents: "+JSON.stringify(t.components,null,2))}),r})(A.some(e),t,t.components,o),wl=(e,t,o)=>{const n=t.partUids[o];return e.getSystem().getByUid(n).toOptional()},Sl=(e,t,o)=>wl(e,t,o).getOrDie("Could not find part: "+o),Cl=(e,t,o)=>{const n={},s=t.partUids,r=e.getSystem();return L(o,e=>{n[e]=y(r.getByUid(s[e]))}),n},kl=(e,t)=>{const o=e.getSystem();return le(t.partUids,(e,t)=>y(o.getByUid(e)))},Ol=e=>re(e.partUids),_l=(e,t,o)=>{const n={},s=t.partUids,r=e.getSystem();return L(o,e=>{n[e]=y(r.getByUid(s[e]).getOrDie())}),n},Tl=(e,t)=>{const o=vl(t);return pa(V(o,t=>({key:t,value:e+"-"+t})))},El=e=>Vr("partUids","partUids",hr(t=>Tl(t.uid,e)),rr());var Al=Object.freeze({__proto__:null,generate:pl,generateOne:fl,schemas:bl,names:vl,substitutes:xl,components:yl,defaultUids:Tl,defaultUidsSchema:El,getAllParts:kl,getAllPartNames:Ol,getPart:wl,getPartOrDie:Sl,getParts:Cl,getPartsOrDie:_l});const Dl=["valignCentre","alignLeft","alignRight","alignCentre","top","bottom","left","right","inset"],Ml=(e,t,o,n=1)=>{const s=e*n,r=t*n,a=e=>fe(o,e).getOr([]),i=(e,t,o)=>{const n=K(Dl,o);return{offset:Bn(e,t),classesOn:q(o,a),classesOff:q(n,a)}};return{southeast:()=>i(-e,t,["top","alignLeft"]),southwest:()=>i(e,t,["top","alignRight"]),south:()=>i(-e/2,t,["top","alignCentre"]),northeast:()=>i(-e,-t,["bottom","alignLeft"]),northwest:()=>i(e,-t,["bottom","alignRight"]),north:()=>i(-e/2,-t,["bottom","alignCentre"]),east:()=>i(e,-t/2,["valignCentre","left"]),west:()=>i(-e,-t/2,["valignCentre","right"]),insetNortheast:()=>i(s,r,["top","alignLeft","inset"]),insetNorthwest:()=>i(-s,r,["top","alignRight","inset"]),insetNorth:()=>i(-s/2,r,["top","alignCentre","inset"]),insetSoutheast:()=>i(s,-r,["bottom","alignLeft","inset"]),insetSouthwest:()=>i(-s,-r,["bottom","alignRight","inset"]),insetSouth:()=>i(-s/2,-r,["bottom","alignCentre","inset"]),insetEast:()=>i(-s,-r/2,["valignCentre","right","inset"]),insetWest:()=>i(s,-r/2,["valignCentre","left","inset"])}},Bl=()=>Ml(0,0,{}),Il=(e,t,o,n,s,r,a,i=!1)=>({x:e,y:t,bubble:o,direction:n,placement:s,restriction:r,label:`${a}-${s}`,alwaysFit:i}),Fl=xe([{southeast:[]},{southwest:[]},{northeast:[]},{northwest:[]},{south:[]},{north:[]},{east:[]},{west:[]}]),Rl=Fl.southeast,Nl=Fl.southwest,zl=Fl.northeast,Vl=Fl.northwest,Ll=Fl.south,Hl=Fl.north,Pl=Fl.east,Ul=Fl.west,Wl=(e,t)=>J(["left","right","top","bottom"],o=>fe(t,o).map(t=>((e,t)=>{switch(t){case 1:return e.x;case 0:return e.x+e.width;case 2:return e.y;case 3:return e.y+e.height}})(e,t))),jl="layout",$l=e=>e.x,Gl=(e,t)=>e.x+e.width/2-t.width/2,ql=(e,t)=>e.x+e.width-t.width,Yl=(e,t)=>e.y-t.height,Xl=e=>e.y+e.height,Kl=(e,t)=>e.y+e.height/2-t.height/2,Jl=(e,t,o)=>Il($l(e),Xl(e),o.southeast(),Rl(),"southeast",Wl(e,{left:1,top:3}),jl),Ql=(e,t,o)=>Il(ql(e,t),Xl(e),o.southwest(),Nl(),"southwest",Wl(e,{right:0,top:3}),jl),Zl=(e,t,o)=>Il($l(e),Yl(e,t),o.northeast(),zl(),"northeast",Wl(e,{left:1,bottom:2}),jl),ec=(e,t,o)=>Il(ql(e,t),Yl(e,t),o.northwest(),Vl(),"northwest",Wl(e,{right:0,bottom:2}),jl),tc=(e,t,o)=>Il(Gl(e,t),Yl(e,t),o.north(),Hl(),"north",Wl(e,{bottom:2}),jl),oc=(e,t,o)=>Il(Gl(e,t),Xl(e),o.south(),Ll(),"south",Wl(e,{top:3}),jl),nc=(e,t,o)=>Il((e=>e.x+e.width)(e),Kl(e,t),o.east(),Pl(),"east",Wl(e,{left:0}),jl),sc=(e,t,o)=>Il(((e,t)=>e.x-t.width)(e,t),Kl(e,t),o.west(),Ul(),"west",Wl(e,{right:1}),jl),rc=()=>[Jl,Ql,Zl,ec,oc,tc,nc,sc],ac=()=>[Ql,Jl,ec,Zl,oc,tc,nc,sc],ic=()=>[Zl,ec,Jl,Ql,tc,oc],lc=()=>[ec,Zl,Ql,Jl,tc,oc],cc=()=>[Jl,Ql,Zl,ec,oc,tc],dc=()=>[Ql,Jl,ec,Zl,oc,tc],uc="data-alloy-placement",mc=e=>Jo(e,uc),gc="layout-inset",pc=e=>e.x,hc=(e,t)=>e.x+e.width/2-t.width/2,fc=(e,t)=>e.x+e.width-t.width,bc=e=>e.y,vc=(e,t)=>e.y+e.height-t.height,xc=(e,t)=>e.y+e.height/2-t.height/2,yc=(e,t,o)=>Il(fc(e,t),vc(e,t),o.insetSouthwest(),Vl(),"southwest",Wl(e,{right:0,bottom:3}),gc),wc=(e,t,o)=>Il(pc(e),vc(e,t),o.insetSoutheast(),zl(),"southeast",Wl(e,{left:1,bottom:3}),gc),Sc=(e,t,o)=>Il(fc(e,t),bc(e),o.insetNorthwest(),Nl(),"northwest",Wl(e,{right:0,top:2}),gc),Cc=(e,t,o)=>Il(pc(e),bc(e),o.insetNortheast(),Rl(),"northeast",Wl(e,{left:1,top:2}),gc),kc=(e,t,o)=>Il(hc(e,t),bc(e),o.insetNorth(),Ll(),"north",Wl(e,{top:2}),gc),Oc=(e,t,o)=>Il(hc(e,t),vc(e,t),o.insetSouth(),Hl(),"south",Wl(e,{bottom:3}),gc),_c=(e,t,o)=>Il(fc(e,t),xc(e,t),o.insetEast(),Ul(),"east",Wl(e,{right:0}),gc),Tc=(e,t,o)=>Il(pc(e),xc(e,t),o.insetWest(),Pl(),"west",Wl(e,{left:1}),gc),Ec=e=>{switch(e){case"north":return kc;case"northeast":return Cc;case"northwest":return Sc;case"south":return Oc;case"southeast":return wc;case"southwest":return yc;case"east":return _c;case"west":return Tc}},Ac=(e,t,o,n,s)=>mc(n).map(Ec).getOr(kc)(e,t,o,n,s),Dc=e=>{switch(e){case"north":return Oc;case"northeast":return wc;case"northwest":return yc;case"south":return kc;case"southeast":return Cc;case"southwest":return Sc;case"east":return Tc;case"west":return _c}},Mc=(e,t,o,n,s)=>mc(n).map(Dc).getOr(kc)(e,t,o,n,s),Bc=(e,t)=>{((e,t)=>{const o=kn.max(e,t,["margin-top","border-top-width","padding-top","padding-bottom","border-bottom-width","margin-bottom"]);gn(e,"max-height",o+"px")})(e,Math.floor(t))},Ic=y((e,t)=>{Bc(e,t),pn(e,{"overflow-x":"hidden","overflow-y":"auto"})}),Fc=y((e,t)=>{Bc(e,t)}),Rc=y((e,t)=>{((e,t)=>{const o=En.max(e,t,["margin-left","border-left-width","padding-left","padding-right","border-right-width","margin-right"]);gn(e,"max-width",o+"px")})(e,Math.floor(t))});var Nc;!function(e){e.TopToBottom="toptobottom",e.BottomToTop="bottomtotop"}(Nc||(Nc={}));const zc="data-alloy-vertical-dir",Vc=e=>ps(e,e=>so(e)&&Ko(e,"data-alloy-vertical-dir")===Nc.BottomToTop);var Lc;!function(e){e[e.HighlightMenuAndItem=0]="HighlightMenuAndItem",e[e.HighlightJustMenu=1]="HighlightJustMenu",e[e.HighlightNone=2]="HighlightNone"}(Lc||(Lc={}));const Hc={init:()=>Pc({readState:y("No State required")})},Pc=e=>e,Uc={can:E,abort:T,run:b},Wc=e=>{if(!ve(e,"can")&&!ve(e,"abort")&&!ve(e,"run"))throw new Error("EventHandler defined by: "+JSON.stringify(e,null,2)+" does not have can, abort, or run!");return{...Uc,...e}},jc=(e,t)=>{Yc(e,e.element,t,{})},$c=(e,t,o)=>{Yc(e,e.element,t,o)},Gc=e=>{jc(e,Ga())},qc=(e,t,o)=>{Yc(e,t,o,{})},Yc=(e,t,o,n)=>{const s={target:t,...n};e.getSystem().triggerEvent(o,t,s)},Xc=(e,t,o,n)=>{e.getSystem().triggerEvent(o,t,n.event)},Kc=e=>pa(e),Jc=(e,t)=>({key:e,value:Wc({abort:t})}),Qc=e=>({key:e,value:Wc({run:(e,t)=>{t.event.prevent()}})}),Zc=(e,t)=>({key:e,value:Wc({run:t})}),ed=(e,t,o)=>({key:e,value:Wc({run:(e,n)=>{t.apply(void 0,[e,n].concat(o))}})}),td=e=>t=>({key:e,value:Wc({run:(e,o)=>{js(e,o)&&t(e,o)}})}),od=(e,t,o)=>((e,t)=>Zc(e,(o,n)=>{o.getSystem().getByUid(t).each(t=>{Xc(t,t.element,e,n)})}))(e,t.partUids[o]),nd=(e,t)=>Zc(e,(e,o)=>{const n=o.event,s=e.getSystem().getByDom(n.target).getOrThunk(()=>vs(n.target,t=>e.getSystem().getByDom(t).toOptional(),T).getOr(e));t(e,s,o)}),sd=e=>Zc(e,(e,t)=>{t.cut()}),rd=e=>Zc(e,(e,t)=>{t.stop()}),ad=(e,t)=>td(e)(t),id=td(ni()),ld=td(si()),cd=td(Qa()),dd=(e=>t=>Zc(e,t))(Ga()),ud=e=>({classes:u(e.classes)?[]:e.classes,attributes:u(e.attributes)?{}:e.attributes,styles:u(e.styles)?{}:e.styles}),md=(e,t,o)=>cd((n,s)=>{o(n,e,t)}),gd=e=>({key:e,value:void 0}),pd=(e,t,o,n,s,r,a)=>{const i=e=>ve(e,o)?e[o]():A.none(),l=le(s,(e,t)=>((e,t,o)=>((e,t,o)=>{const n=o.toString(),s=n.indexOf(")")+1,r=n.indexOf("("),a=n.substring(r+1,s-1).split(/,\s*/);return e.toFunctionAnnotation=()=>({name:t,parameters:Fi(a.slice(0,1).concat(a.slice(3)))}),e})((n,...s)=>{const r=[n].concat(s);return n.config({name:y(e)}).fold(()=>{throw new Error("We could not find any behaviour configuration for: "+e+". Using API: "+o)},e=>{const o=Array.prototype.slice.call(r,1);return t.apply(void 0,[n,e.config,e.state].concat(o))})},o,t))(o,e,t)),c={...le(r,(e,t)=>Ri(e,t)),...l,revoke:C(gd,o),config:t=>{const n=Fr(o+"-config",e,t);return{key:o,value:{config:n,me:c,configAsRaw:st(()=>Fr(o+"-config",e,t)),initialConfig:t,state:a}}},schema:y(t),exhibit:(e,t)=>Ue(i(e),fe(n,"exhibit"),(e,o)=>o(t,e.config,e.state)).getOrThunk(()=>ud({})),name:y(o),handlers:e=>i(e).map(e=>fe(n,"events").getOr(()=>({}))(e.config,e.state)).getOr({})};return c},hd=e=>pa(e),fd=Cr([Pr("fields"),Pr("name"),sa("active",{}),sa("apis",{}),sa("state",Hc),sa("extra",{})]),bd=e=>{const t=Fr("Creating behaviour: "+e.name,fd,e);return((e,t,o,n,s,r)=>{const a=Cr(e),i=na(t,[(l=e,Jr("config",Cr(l)))]);var l;return pd(a,i,t,o,n,s,r)})(t.fields,t.name,t.active,t.apis,t.extra,t.state)},vd=Cr([Pr("branchKey"),Pr("branches"),Pr("name"),sa("active",{}),sa("apis",{}),sa("state",Hc),sa("extra",{})]),xd=e=>{const t=Fr("Creating behaviour: "+e.name,vd,e);return((e,t,o,n,s,r)=>{const a=e,i=na(t,[Jr("config",e)]);return pd(a,i,t,o,n,s,r)})(Nr(t.branchKey,t.branches),t.name,t.active,t.apis,t.extra,t.state)},yd=y(void 0),wd=(e,t)=>{const o=((e,t)=>{const o=Kc(t);return bd({fields:[Pr("enabled")],name:e,active:{events:y(o)}})})(e,t);return{key:e,value:{config:{},me:o,configAsRaw:y({}),initialConfig:{},state:Hc}}},Sd=(e,t)=>{t.ignore||(zo(e.element),t.onFocus(e))};var Cd=Object.freeze({__proto__:null,focus:Sd,blur:(e,t)=>{t.ignore||Vo(e.element)},isFocused:e=>Lo(e.element)}),kd=Object.freeze({__proto__:null,exhibit:(e,t)=>{const o=t.ignore?{}:{attributes:{tabindex:"-1"}};return ud(o)},events:e=>Kc([Zc(Ua(),(t,o)=>{Sd(t,e),o.stop()})].concat(e.stopMousedown?[Zc(ya(),(e,t)=>{t.event.prevent()})]:[]))}),Od=[Ti("onFocus"),sa("stopMousedown",!1),sa("ignore",!1)];const _d=bd({fields:Od,name:"focusing",active:kd,apis:Cd}),Td=[8],Ed=[9],Ad=[13],Dd=[27],Md=[32],Bd=[37],Id=[38],Fd=[39],Rd=[40],Nd=y("tooltipping.close.all"),zd=y("dismiss.popups"),Vd=y("reposition.popups"),Ld=y("mouse.released"),Hd=(e,t,o)=>{const n=X(e.slice(0,t)),s=X(e.slice(t+1));return j(n.concat(s),o)},Pd=(e,t,o)=>{const n=X(e.slice(0,t));return j(n,o)},Ud=(e,t,o)=>{const n=e.slice(0,t),s=e.slice(t+1);return j(s.concat(n),o)},Wd=(e,t,o)=>{const n=e.slice(t+1);return j(n,o)},jd=e=>t=>{const o=t.raw;return F(e,o.which)},$d=e=>t=>Y(e,e=>e(t)),Gd=e=>!0===e.raw.shiftKey,qd=e=>!0===e.raw.ctrlKey,Yd=k(Gd),Xd=(e,t)=>({matches:e,classification:t}),Kd=(e,t,o,n)=>{const s=gs(e.element,"."+t.highlightClass);L(s,o=>{R(n,e=>wt(e.element,o))||(rs(o,t.highlightClass),e.getSystem().getByDom(o).each(o=>{t.onDehighlight(e,o),jc(o,gi())}))})},Jd=(e,t,o,n)=>{Kd(e,t,0,[n]),Qd(e,t,o,n)||(ns(n.element,t.highlightClass),t.onHighlight(e,n),jc(n,mi()))},Qd=(e,t,o,n)=>as(n.element,t.highlightClass),Zd=(e,t,o)=>Xn(e.element,"."+t.itemClass).bind(t=>e.getSystem().getByDom(t).toOptional()),eu=(e,t,o)=>{const n=gs(e.element,"."+t.itemClass);return(n.length>0?A.some(n[n.length-1]):A.none()).bind(t=>e.getSystem().getByDom(t).toOptional())},tu=(e,t,o,n)=>{const s=gs(e.element,"."+t.itemClass);return $(s,e=>as(e,t.highlightClass)).bind(t=>{const o=Ie(t,n,0,s.length-1);return e.getSystem().getByDom(s[o]).toOptional()})},ou=(e,t,o)=>{const n=gs(e.element,"."+t.itemClass);return Pe(V(n,t=>e.getSystem().getByDom(t).toOptional()))};var nu=Object.freeze({__proto__:null,dehighlightAll:(e,t,o)=>Kd(e,t,0,[]),dehighlight:(e,t,o,n)=>{Qd(e,t,o,n)&&(rs(n.element,t.highlightClass),t.onDehighlight(e,n),jc(n,gi()))},highlight:Jd,highlightFirst:(e,t,o)=>{Zd(e,t).each(n=>{Jd(e,t,o,n)})},highlightLast:(e,t,o)=>{eu(e,t).each(n=>{Jd(e,t,o,n)})},highlightAt:(e,t,o,n)=>{((e,t,o,n)=>{const s=gs(e.element,"."+t.itemClass);return A.from(s[n]).fold(()=>Ae.error(new Error("No element found with index "+n)),e.getSystem().getByDom)})(e,t,0,n).fold(e=>{throw e},n=>{Jd(e,t,o,n)})},highlightBy:(e,t,o,n)=>{const s=ou(e,t);j(s,n).each(n=>{Jd(e,t,o,n)})},isHighlighted:Qd,getHighlighted:(e,t,o)=>Xn(e.element,"."+t.highlightClass).bind(t=>e.getSystem().getByDom(t).toOptional()),getFirst:Zd,getLast:eu,getPrevious:(e,t,o)=>tu(e,t,0,-1),getNext:(e,t,o)=>tu(e,t,0,1),getCandidates:ou}),su=[Pr("highlightClass"),Pr("itemClass"),Ti("onHighlight"),Ti("onDehighlight")];const ru=bd({fields:su,name:"highlighting",apis:nu}),au=(e,t,o)=>{t.exists(e=>o.exists(t=>wt(t,e)))||$c(e,ii(),{prevFocus:t,newFocus:o})},iu=()=>{const e=e=>Po(e.element);return{get:e,set:(t,o)=>{const n=e(t);t.getSystem().triggerFocus(o,t.element);const s=e(t);au(t,n,s)}}},lu=()=>{const e=e=>ru.getHighlighted(e).map(e=>e.element);return{get:e,set:(t,o)=>{const n=e(t);t.getSystem().getByDom(o).fold(b,e=>{ru.highlight(t,e)});const s=e(t);au(t,n,s)}}},cu=(e,t,o,n,s)=>{const r=(e,t,o,n,s)=>{return(r=o(e,t,n,s),a=t.event,j(r,e=>e.matches(a)).map(e=>e.classification)).bind(o=>o(e,t,n,s));var r,a},a={schema:()=>e.concat([sa("focusManager",iu()),ra("focusInside","onFocus",Dr(e=>F(["onFocus","onEnterOrSpace","onApi"],e)?Ae.value(e):Ae.error("Invalid value for focusInside"))),Mi("handler",a),Mi("state",t),Mi("sendFocusIn",s)]),processKey:r,toEvents:(e,t)=>{const a=e.focusInside!==Vi.OnFocusMode?A.none():s(e).map(o=>Zc(Ua(),(n,s)=>{o(n,e,t),s.stop()})),i=[Zc(Ta(),(n,a)=>{r(n,a,o,e,t).fold(()=>{((o,n)=>{const r=jd(Md.concat(Ad))(n.event);e.focusInside===Vi.OnEnterOrSpaceMode&&r&&js(o,n)&&s(e).each(s=>{s(o,e,t),n.stop()})})(n,a)},e=>{a.stop()})}),Zc(Ea(),(o,s)=>{r(o,s,n,e,t).each(e=>{s.stop()})})];return Kc(a.toArray().concat(i))}};return a},du=e=>{const t=[Kr("onEscape"),Kr("onEnter"),sa("selector",'[data-alloy-tabstop="true"]:not(:disabled)'),sa("firstTabstop",0),sa("useTabstopAt",E),Kr("visibilitySelector")].concat([e]),o=(e,t)=>{const o=e.visibilitySelector.bind(e=>Kn(t,e)).getOr(t);return On(o)>0},n=(e,t)=>t.focusManager.get(e).bind(e=>Kn(e,t.selector)),s=(e,t,n)=>{((e,t)=>{const n=gs(e.element,t.selector),s=P(n,e=>o(t,e));return A.from(s[t.firstTabstop])})(e,t).each(o=>{t.focusManager.set(e,o)})},r=(e,t,s,r)=>{const a=P(gs(e.element,s.selector),e=>o(s,e));return n(e,s).bind(t=>$(a,C(wt,t)).bind(t=>((e,t,n,s,r)=>r(t,n,e=>((e,t)=>o(e,t)&&e.useTabstopAt(t))(s,e)).fold(()=>s.cyclic?A.some(!0):A.none(),t=>(s.focusManager.set(e,t),A.some(!0))))(e,a,t,s,r)))},a=(e,t,o)=>{const n=o.cyclic?Hd:Pd;return r(e,0,o,n)},i=(e,t,o)=>{const n=o.cyclic?Ud:Wd;return r(e,0,o,n)},l=y([Xd($d([Gd,jd(Ed)]),a),Xd(jd(Ed),i),Xd($d([Yd,jd(Ad)]),(e,t,o)=>o.onEnter.bind(o=>o(e,t)))]),c=y([Xd(jd(Dd),(e,t,o)=>(e.getSystem().broadcastOn([Nd()],{closedTooltip:()=>{t.stop()}}),t.isStopped()?A.none():o.onEscape.bind(o=>o(e,t)))),Xd(jd(Ed),(e,t,o)=>n(e,o).filter(e=>!o.useTabstopAt(e)).bind(n=>((e=>(e=>po(e))(e).bind(wo).exists(t=>wt(t,e)))(n)?a:i)(e,t,o)))]);return cu(t,Hc.init,l,c,()=>A.some(s))};var uu=du(Lr("cyclic",T)),mu=du(Lr("cyclic",E));const gu=e=>lo("input")(e)&&"radio"!==Ko(e,"type")||lo("textarea")(e),pu=(e,t,o)=>gu(o)&&jd(Md)(t.event)?A.none():((e,t,o)=>(qc(e,o,Ga()),A.some(!0)))(e,0,o),hu=(e,t)=>A.some(!0),fu=[sa("execute",pu),sa("useSpace",!1),sa("useEnter",!0),sa("useControlEnter",!1),sa("useDown",!1)],bu=(e,t,o)=>o.execute(e,t,e.element);var vu=cu(fu,Hc.init,(e,t,o,n)=>{const s=o.useSpace&&!gu(e.element)?Md:[],r=o.useEnter?Ad:[],a=o.useDown?Rd:[],i=s.concat(r).concat(a);return[Xd(jd(i),bu)].concat(o.useControlEnter?[Xd($d([qd,jd(Ad)]),bu)]:[])},(e,t,o,n)=>o.useSpace&&!gu(e.element)?[Xd(jd(Md),hu)]:[],()=>A.none());const xu=()=>{const e=Ye();return Pc({readState:()=>e.get().map(e=>({numRows:String(e.numRows),numColumns:String(e.numColumns)})).getOr({numRows:"?",numColumns:"?"}),setGridSize:(t,o)=>{e.set({numRows:t,numColumns:o})},getNumRows:()=>e.get().map(e=>e.numRows),getNumColumns:()=>e.get().map(e=>e.numColumns)})};var yu=Object.freeze({__proto__:null,flatgrid:xu,init:e=>e.state(e)});const wu=e=>(t,o,n,s)=>{const r=e(t.element);return Ou(r,t,o,n,s)},Su=(e,t)=>{const o=Ln(e,t);return wu(o)},Cu=(e,t)=>{const o=Ln(t,e);return wu(o)},ku=e=>(t,o,n,s)=>Ou(e,t,o,n,s),Ou=(e,t,o,n,s)=>n.focusManager.get(t).bind(o=>e(t.element,o,n,s)).map(e=>(n.focusManager.set(t,e),!0)),_u=ku,Tu=ku,Eu=ku,Au=(e,t,o)=>{const n=gs(e,o);return(e=>$(e,e=>wt(e,t)).map(t=>({index:t,candidates:e})))(P(n,Tn))},Du=(e,t)=>$(e,e=>wt(t,e)),Mu=(e,t,o,n)=>n(Math.floor(t/o),t%o).bind(t=>{const n=t.row*o+t.column;return n>=0&&nMu(e,t,n,(t,r)=>{const a=t===o-1?e.length-t*n:n,i=Ie(r,s,0,a-1);return A.some({row:t,column:i})}),Iu=(e,t,o,n,s)=>Mu(e,t,n,(t,r)=>{const a=Ie(t,s,0,o-1),i=a===o-1?e.length-a*n:n,l=Fe(r,0,i-1);return A.some({row:a,column:l})}),Fu=[Pr("selector"),sa("execute",pu),Ei("onEscape"),sa("captureTab",!1),Ii()],Ru=(e,t,o)=>{Xn(e.element,t.selector).each(o=>{t.focusManager.set(e,o)})},Nu=e=>(t,o,n,s)=>Au(t,o,n.selector).bind(t=>e(t.candidates,t.index,s.getNumRows().getOr(n.initSize.numRows),s.getNumColumns().getOr(n.initSize.numColumns))),zu=(e,t,o)=>o.captureTab?A.some(!0):A.none(),Vu=Nu((e,t,o,n)=>Bu(e,t,o,n,-1)),Lu=Nu((e,t,o,n)=>Bu(e,t,o,n,1)),Hu=Nu((e,t,o,n)=>Iu(e,t,o,n,-1)),Pu=Nu((e,t,o,n)=>Iu(e,t,o,n,1)),Uu=y([Xd(jd(Bd),Su(Vu,Lu)),Xd(jd(Fd),Cu(Vu,Lu)),Xd(jd(Id),_u(Hu)),Xd(jd(Rd),Tu(Pu)),Xd($d([Gd,jd(Ed)]),zu),Xd($d([Yd,jd(Ed)]),zu),Xd(jd(Md.concat(Ad)),(e,t,o,n)=>((e,t)=>t.focusManager.get(e).bind(e=>Kn(e,t.selector)))(e,o).bind(n=>o.execute(e,t,n)))]),Wu=y([Xd(jd(Dd),(e,t,o)=>o.onEscape(e,t)),Xd(jd(Md),hu)]);var ju=cu(Fu,xu,Uu,Wu,()=>A.some(Ru));const $u=(e,t,o,n,s)=>{const r=(e,t,o)=>s(e,t,n,0,o.length-1,o[t],t=>{return n=o[t],"button"===to(n)&&"disabled"===Ko(n,"disabled")?r(e,t,o):A.from(o[t]);var n});return Au(e,o,t).bind(e=>{const t=e.index,o=e.candidates;return r(t,t,o)})},Gu=(e,t,o,n)=>$u(e,t,o,n,(e,t,o,n,s,r,a)=>{const i=Fe(t+o,n,s);return i===e?A.from(r):a(i)}),qu=(e,t,o,n)=>$u(e,t,o,n,(e,t,o,n,s,r,a)=>{const i=Ie(t,o,n,s);return i===e?A.none():a(i)}),Yu=[Pr("selector"),sa("getInitial",A.none),sa("execute",pu),Ei("onEscape"),sa("executeOnMove",!1),sa("allowVertical",!0),sa("allowHorizontal",!0),sa("cycles",!0)],Xu=(e,t,o)=>((e,t)=>t.focusManager.get(e).bind(e=>Kn(e,t.selector)))(e,o).bind(n=>o.execute(e,t,n)),Ku=(e,t,o)=>{t.getInitial(e).orThunk(()=>Xn(e.element,t.selector)).each(o=>{t.focusManager.set(e,o)})},Ju=(e,t,o)=>(o.cycles?qu:Gu)(e,o.selector,t,-1),Qu=(e,t,o)=>(o.cycles?qu:Gu)(e,o.selector,t,1),Zu=e=>(t,o,n,s)=>e(t,o,n,s).bind(()=>n.executeOnMove?Xu(t,o,n):A.some(!0)),em=y([Xd(jd(Md),hu),Xd(jd(Dd),(e,t,o)=>o.onEscape(e,t))]);var tm=cu(Yu,Hc.init,(e,t,o,n)=>{const s=[...o.allowHorizontal?Bd:[]].concat(o.allowVertical?Id:[]),r=[...o.allowHorizontal?Fd:[]].concat(o.allowVertical?Rd:[]);return[Xd(jd(s),Zu(Su(Ju,Qu))),Xd(jd(r),Zu(Cu(Ju,Qu))),Xd(jd(Ad),Xu),Xd(jd(Md),Xu)]},em,()=>A.some(Ku));const om=(e,t,o)=>A.from(e[t]).bind(e=>A.from(e[o]).map(e=>({rowIndex:t,columnIndex:o,cell:e}))),nm=(e,t,o,n)=>{const s=e[t].length,r=Ie(o,n,0,s-1);return om(e,t,r)},sm=(e,t,o,n)=>{const s=Ie(o,n,0,e.length-1),r=e[s].length,a=Fe(t,0,r-1);return om(e,s,a)},rm=(e,t,o,n)=>{const s=e[t].length,r=Fe(o+n,0,s-1);return om(e,t,r)},am=(e,t,o,n)=>{const s=Fe(o+n,0,e.length-1),r=e[s].length,a=Fe(t,0,r-1);return om(e,s,a)},im=[qr("selectors",[Pr("row"),Pr("cell")]),sa("cycles",!0),sa("previousSelector",A.none),sa("execute",pu)],lm=(e,t,o)=>{t.previousSelector(e).orThunk(()=>{const o=t.selectors;return Xn(e.element,o.cell)}).each(o=>{t.focusManager.set(e,o)})},cm=(e,t)=>(o,n,s)=>{const r=s.cycles?e:t;return Kn(n,s.selectors.row).bind(e=>{const t=gs(e,s.selectors.cell);return Du(t,n).bind(t=>{const n=gs(o,s.selectors.row);return Du(n,e).bind(e=>{const o=((e,t)=>V(e,e=>gs(e,t.selectors.cell)))(n,s);return r(o,e,t).map(e=>e.cell)})})})},dm=cm((e,t,o)=>nm(e,t,o,-1),(e,t,o)=>rm(e,t,o,-1)),um=cm((e,t,o)=>nm(e,t,o,1),(e,t,o)=>rm(e,t,o,1)),mm=cm((e,t,o)=>sm(e,o,t,-1),(e,t,o)=>am(e,o,t,-1)),gm=cm((e,t,o)=>sm(e,o,t,1),(e,t,o)=>am(e,o,t,1)),pm=y([Xd(jd(Bd),Su(dm,um)),Xd(jd(Fd),Cu(dm,um)),Xd(jd(Id),_u(mm)),Xd(jd(Rd),Tu(gm)),Xd(jd(Md.concat(Ad)),(e,t,o)=>Po(e.element).bind(n=>o.execute(e,t,n)))]),hm=y([Xd(jd(Md),hu)]);var fm=cu(im,Hc.init,pm,hm,()=>A.some(lm));const bm=[Pr("selector"),sa("execute",pu)],vm=(e,t,o)=>o.focusManager.get(e).bind(n=>o.execute(e,t,n)),xm=(e,t,o)=>{Xn(e.element,t.selector).each(o=>{t.focusManager.set(e,o)})},ym=y([Xd(jd(Id),Eu((e,t,o)=>qu(e,o.selector,t,-1))),Xd(jd(Rd),Eu((e,t,o)=>qu(e,o.selector,t,1))),Xd(jd(Ad),vm),Xd(jd(Md),vm)]),wm=y([Xd(jd(Md),hu)]);var Sm=cu(bm,Hc.init,ym,wm,()=>A.some(xm));const Cm=[Ei("onSpace"),Ei("onEnter"),Ei("onShiftEnter"),Ei("onLeft"),Ei("onRight"),Ei("onTab"),Ei("onShiftTab"),Ei("onUp"),Ei("onDown"),Ei("onEscape"),sa("stopSpaceKeyup",!1),Kr("focusIn")];var km=cu(Cm,Hc.init,(e,t,o)=>[Xd(jd(Md),o.onSpace),Xd($d([Yd,jd(Ad)]),o.onEnter),Xd($d([Gd,jd(Ad)]),o.onShiftEnter),Xd($d([Gd,jd(Ed)]),o.onShiftTab),Xd($d([Yd,jd(Ed)]),o.onTab),Xd(jd(Id),o.onUp),Xd(jd(Rd),o.onDown),Xd(jd(Bd),o.onLeft),Xd(jd(Fd),o.onRight),Xd(jd(Md),o.onSpace)],(e,t,o)=>[...o.stopSpaceKeyup?[Xd(jd(Md),hu)]:[],Xd(jd(Dd),o.onEscape)],e=>e.focusIn);const Om=uu.schema(),_m=mu.schema(),Tm=tm.schema(),Em=ju.schema(),Am=fm.schema(),Dm=vu.schema(),Mm=Sm.schema(),Bm=km.schema(),Im=xd({branchKey:"mode",branches:Object.freeze({__proto__:null,acyclic:Om,cyclic:_m,flow:Tm,flatgrid:Em,matrix:Am,execution:Dm,menu:Mm,special:Bm}),name:"keying",active:{events:(e,t)=>e.handler.toEvents(e,t)},apis:{focusIn:(e,t,o)=>{t.sendFocusIn(t).fold(()=>{e.getSystem().triggerFocus(e.element,e.element)},n=>{n(e,t,o)})},setGridSize:(e,t,o,n,s)=>{(e=>ve(e,"setGridSize"))(o)?o.setGridSize(n,s):console.error("Layout does not support setGridSize")}},state:yu}),Fm=Ne("alloy-premade"),Rm=e=>(Object.defineProperty(e.element.dom,Fm,{value:e.uid,writable:!0}),ga(Fm,e)),Nm=e=>fe(e,Fm),zm=e=>((e,t)=>{const o=t.toString(),n=o.indexOf(")")+1,s=o.indexOf("("),r=o.substring(s+1,n-1).split(/,\s*/);return e.toFunctionAnnotation=()=>({name:"OVERRIDE",parameters:Fi(r.slice(1))}),e})((t,...o)=>e(t.getApis(),t,...o),e),Vm=e=>e.getSystem().isConnected(),Lm=e=>{jc(e,si());const t=e.components();L(t,Lm)},Hm=e=>{const t=e.components();L(t,Hm),jc(e,ni())},Pm=(e,t)=>{e.getSystem().addToWorld(t),ln(e.element)&&Hm(t)},Um=e=>{Lm(e),e.getSystem().removeFromWorld(e)},Wm=(e,t)=>{$o(e.element,t.element)},jm=(e,t)=>{$m(e,t,$o)},$m=(e,t,o)=>{e.getSystem().addToWorld(t),o(e.element,t.element),ln(e.element)&&Hm(t),e.syncComponents()},Gm=e=>{Lm(e),tn(e.element),e.getSystem().removeFromWorld(e)},qm=e=>{const t=po(e.element).bind(t=>e.getSystem().getByDom(t).toOptional());Gm(e),t.each(e=>{e.syncComponents()})},Ym=e=>{const t=e.components();L(t,Gm),en(e.element),e.syncComponents()},Xm=(e,t)=>{Jm(e,t,$o)},Km=(e,t)=>{Jm(e,t,Wo)},Jm=(e,t,o)=>{o(e,t.element);const n=xo(t.element);L(n,e=>{t.getByDom(e).each(Hm)})},Qm=e=>{const t=xo(e.element);L(t,t=>{e.getByDom(t).each(Lm)}),tn(e.element)},Zm=(e,t,o)=>{o.fold(()=>$o(e,t),e=>{wt(e,t)||(Uo(e,t),tn(e))})},eg=(e,t,o)=>{const n=V(t,o),s=xo(e);return L(s.slice(n.length),tn),n},tg=(e,t,o,n)=>{const s=yo(e,t),r=n(o,s),a=((e,t,o)=>yo(e,t).map(e=>{if(o.exists(t=>!wt(t,e))){const t=o.map(to).getOr("span"),n=it(t);return Uo(e,n),n}return e}))(e,t,s);return Zm(e,r.element,a),r},og=(e,t)=>{const o=Oo(t),n=Ho(o).bind(e=>{const o=t=>wt(e,t);return o(t)?A.some(t):((e,t)=>{const o=e=>{for(let n=0;n{Ho(o).filter(t=>wt(t,e)).fold(()=>{zo(e)},b)}),s},ng=(e,t)=>{og(()=>{((e,t,o)=>{const n=e.components();(e=>{L(e.components(),e=>tn(e.element)),en(e.element),e.syncComponents()})(e);const s=o(t),r=K(n,s);L(r,t=>{Lm(t),e.getSystem().removeFromWorld(t)}),L(s,t=>{Vm(t)?Wm(e,t):(e.getSystem().addToWorld(t),Wm(e,t),ln(e.element)&&Hm(t))}),e.syncComponents()})(e,t,()=>V(t,e.getSystem().build))},e.element)},sg=(e,t)=>{og(()=>{((o,n)=>{const s=o.components(),r=q(n,e=>Nm(e).toArray());L(s,e=>{F(r,e)||Um(e)});const a=((e,t,o)=>eg(e,t,(t,n)=>tg(e,n,t,o)))(e.element,t,e.getSystem().buildOrPatch),i=K(s,a);L(i,e=>{Vm(e)&&Um(e)}),L(a,e=>{Vm(e)||Pm(o,e)}),o.syncComponents()})(e,t)},e.element)},rg=(e,t,o,n)=>{Um(t);const s=tg(e.element,o,n,e.getSystem().buildOrPatch);Pm(e,s),e.syncComponents()},ag=(e,t,o)=>{const n=e.getSystem().build(o);$m(e,n,t)},ig=(e,t,o,n)=>{qm(t),ag(e,(e,t)=>((e,t,o)=>{yo(e,o).fold(()=>{$o(e,t)},e=>{Uo(e,t)})})(e,t,o),n)},lg=(e,t)=>e.components(),cg=(e,t,o,n,s)=>{const r=lg(e);return A.from(r[n]).map(o=>(s.fold(()=>qm(o),s=>{(t.reuseDom?rg:ig)(e,o,n,s)}),o))};var dg=Object.freeze({__proto__:null,append:(e,t,o,n)=>{ag(e,$o,n)},prepend:(e,t,o,n)=>{ag(e,jo,n)},remove:(e,t,o,n)=>{const s=lg(e),r=j(s,e=>wt(n.element,e.element));r.each(qm)},replaceAt:cg,replaceBy:(e,t,o,n,s)=>{const r=lg(e);return $(r,n).bind(o=>cg(e,t,0,o,s))},set:(e,t,o,n)=>(t.reuseDom?sg:ng)(e,n),contents:lg});const ug=bd({fields:[ca("reuseDom",!0)],name:"replacing",apis:dg}),mg=Kc([(e=>({key:e,value:Wc({can:(e,t)=>{const o=t.event,n=o.originator,s=o.target;return!((e,t,o)=>wt(t,e.element)&&!wt(t,o))(e,n,s)||(console.warn(Ua()+" did not get interpreted by the desired target. \nOriginator: "+pi(n)+"\nTarget: "+pi(s)+"\nCheck the "+Ua()+" event handlers"),!1)}})}))(Ua())]);var gg=Object.freeze({__proto__:null,events:mg});const pg=y("alloy-id-"),hg=y("data-alloy-id"),fg=pg(),bg=hg(),vg=(e,t)=>{Object.defineProperty(e.dom,bg,{value:t,writable:!0})},xg=e=>{const t=so(e)?e.dom[bg]:null;return A.from(t)},yg=e=>Ne(e),wg=w,Sg=e=>{const t=t=>`The component must be in a context to execute: ${t}`+(e?"\n"+pi(e().element)+" is not in context.":""),o=e=>()=>{throw new Error(t(e))},n=e=>()=>{console.warn(t(e))};return{debugInfo:y("fake"),triggerEvent:n("triggerEvent"),triggerFocus:n("triggerFocus"),triggerEscape:n("triggerEscape"),broadcast:n("broadcast"),broadcastOn:n("broadcastOn"),broadcastEvent:n("broadcastEvent"),build:o("build"),buildOrPatch:o("buildOrPatch"),addToWorld:o("addToWorld"),removeFromWorld:o("removeFromWorld"),addToGui:o("addToGui"),removeFromGui:o("removeFromGui"),getByUid:o("getByUid"),getByDom:o("getByDom"),isConnected:T}},Cg=Sg(),kg=(e,t)=>{const o={};return ie(e,(e,n)=>{ie(e,(e,s)=>{const r=fe(o,s).getOr([]);o[s]=r.concat([t(n,e)])})}),o},Og=e=>e.cHandler,_g=(e,t)=>({name:e,handler:t}),Tg=(e,t)=>{const o={};return L(e,e=>{o[e.name()]=e.handlers(t)}),o},Eg=(e,t,o)=>{const n=t[o];return n?((e,t,o,n)=>{try{const s=Z(o,(o,s)=>{const r=o[t],a=s[t],i=n.indexOf(r),l=n.indexOf(a);if(-1===i)throw new Error("The ordering for "+e+" does not have an entry for "+r+".\nOrder specified: "+JSON.stringify(n,null,2));if(-1===l)throw new Error("The ordering for "+e+" does not have an entry for "+a+".\nOrder specified: "+JSON.stringify(n,null,2));return i(e=>{const t=(e=>(...t)=>W(e,(e,o)=>e&&(e=>e.can)(o).apply(void 0,t),!0))(e),o=(e=>(...t)=>W(e,(e,o)=>e||(e=>e.abort)(o).apply(void 0,t),!1))(e);return{can:t,abort:o,run:(...t)=>{L(e,e=>{e.run.apply(void 0,t)})}}})(V(e,e=>e.handler))):((e,t)=>Ae.error(["The event ("+e+') has more than one behaviour that listens to it.\nWhen this occurs, you must specify an event ordering for the behaviours in your spec (e.g. [ "listing", "toggling" ]).\nThe behaviours that can trigger it are: '+JSON.stringify(V(t,e=>e.name),null,2)]))(o,e)},Ag=(e,t)=>((e,t)=>{const o=(e=>{const t=[],o=[];return L(e,e=>{e.fold(e=>{t.push(e)},e=>{o.push(e)})}),{errors:t,values:o}})(e);return o.errors.length>0?(n=o.errors,Ae.error(G(n))):((e,t)=>0===e.length?Ae.value(t):Ae.value(Ve(t,Le.apply(void 0,e))))(o.values,t);var n})(ge(e,(e,o)=>(1===e.length?Ae.value(e[0].handler):Eg(e,t,o)).map(n=>{const s=(e=>{const t=(e=>p(e)?{can:E,abort:T,run:e}:e)(e);return(e,o,...n)=>{const s=[e,o].concat(n);t.abort.apply(void 0,s)?o.stop():t.can.apply(void 0,s)&&t.run.apply(void 0,s)}})(n),r=e.length>1?P(t[o],t=>R(e,e=>e.name===t)).join(" > "):e[0].name;return ga(o,((e,t)=>({handler:e,purpose:t}))(s,r))})),{}),Dg="alloy.base.behaviour",Mg=kr([Vr("dom","dom",{tag:"required",process:{}},kr([Pr("tag"),sa("styles",{}),sa("classes",[]),sa("attributes",{}),Kr("value"),Kr("innerHtml")])),Pr("components"),Pr("uid"),sa("events",{}),sa("apis",{}),Vr("eventOrder","eventOrder",(Wg={[Ga()]:["disabling",Dg,"toggling","typeaheadevents"],[Ua()]:[Dg,"focusing","keying"],[Qa()]:[Dg,"disabling","toggling","representing","tooltipping"],[Aa()]:[Dg,"representing","streaming","invalidating"],[si()]:[Dg,"representing","item-events","toolbar-button-events","tooltipping"],[ya()]:["focusing",Dg,"item-type-events"],[fa()]:["focusing",Dg,"item-type-events"],[ka()]:["item-type-events","tooltipping"],[$a()]:["receiving","reflecting","tooltipping"]},hr(y(Wg))),rr()),Kr("domModification")]),Bg=e=>e.events,Ig=(e,t)=>{const o=re(e),n=re(t),s=K(n,o),r=(e=>{const o={},n={};return ue(e,(e,o)=>!be(t,o)||e!==t[o],de(o),de(n)),{t:o,f:n}})(e).t;return{toRemove:s,toSet:r}},Fg=(e,t)=>{const o=t.filter(t=>to(t)===e.tag&&!(e=>e.innerHtml.isSome()&&e.domChildren.length>0)(e)&&!(e=>be(e.dom,Fm))(t)).bind(t=>((e,t)=>{try{const o=((e,t)=>{const{class:o,style:n,...s}=(e=>W(e.dom.attributes,(e,t)=>(e[t.name]=t.value,e),{}))(t),{toSet:r,toRemove:a}=Ig(e.attributes,s),i=xn(t),{toSet:l,toRemove:c}=Ig(e.styles,i),d=cs(t),u=K(d,e.classes),m=K(e.classes,d);return L(a,e=>Zo(t,e)),Xo(t,r),is(t,m),ls(t,u),L(c,e=>wn(t,e)),pn(t,l),e.innerHtml.fold(()=>{const o=e.domChildren;((e,t)=>{eg(e,t,(t,o)=>{const n=yo(e,o);return Zm(e,t,n),t})})(t,o)},e=>{sn(t,e)}),(()=>{const o=t,n=e.value.getOrUndefined();n!==ds(o)&&us(o,n??"")})(),t})(e,t);return A.some(o)}catch{return A.none()}})(e,t)).getOrThunk(()=>(e=>{const t=it(e.tag);Xo(t,e.attributes),is(t,e.classes),pn(t,e.styles),e.innerHtml.each(e=>sn(t,e));const o=e.domChildren;return Go(t,o),e.value.each(e=>{us(t,e)}),t})(e));return vg(o,e.uid),o},Rg=e=>{const t=(e=>{const t=fe(e,"behaviours").getOr({});return q(re(t),e=>{const o=t[e];return g(o)?[o.me]:[]})})(e);return((e,t)=>((e,t)=>{const o=V(t,e=>na(e.name(),[Pr("config"),sa("state",Hc)])),n=Br("component.behaviours",kr(o),e.behaviours).fold(t=>{throw new Error(Rr(t)+"\nComplete spec:\n"+JSON.stringify(e,null,2))},w);return{list:t,data:le(n,e=>{const t=e.map(e=>({config:e.config,state:e.state.init(e.config)}));return y(t)})}})(e,t))(e,t)},Ng=(e,t)=>{const o=()=>m,n=ye(Cg),s=Ir((e=>Br("custom.definition",Mg,e))(e)),r=Rg(e),a=(e=>e.list)(r),i=(e=>e.data)(r),l=((e,t,o)=>{const n={...(s=e).dom,uid:s.uid,domChildren:V(s.components,e=>e.element)};var s;const r=(e=>e.domModification.fold(()=>ud({}),ud))(e),a={"alloy.base.modification":r},i=t.length>0?((e,t,o,n)=>{const s={...t};L(o,t=>{s[t.name()]=t.exhibit(e,n)});const r=kg(s,(e,t)=>({name:e,modification:t})),a=e=>U(e,(e,t)=>({...t.modification,...e}),{}),i=U(r.classes,(e,t)=>t.modification.concat(e),[]),l=a(r.attributes),c=a(r.styles);return ud({classes:i,attributes:l,styles:c})})(o,a,t,n):r;return l=n,c=i,{...l,attributes:{...l.attributes,...c.attributes},styles:{...l.styles,...c.styles},classes:l.classes.concat(c.classes)};var l,c})(s,a,i),c=Fg(l,t),d=((e,t,o)=>{const n={"alloy.base.behaviour":Bg(e)};return((e,t,o,n)=>{const s=((e,t,o)=>{const n={...o,...Tg(t,e)};return kg(n,_g)})(e,o,n);return Ag(s,t)})(o,e.eventOrder,t,n).getOrDie()})(s,a,i),u=ye(s.components),m={uid:e.uid,getSystem:n.get,config:t=>{const o=i;return(p(o[t.name()])?o[t.name()]:()=>{throw new Error("Could not find "+t.name()+" in "+JSON.stringify(e,null,2))})()},hasConfigured:e=>p(i[e.name()]),spec:e,readState:e=>i[e]().map(e=>e.state.readState()).getOr("not enabled"),getApis:()=>s.apis,connect:e=>{n.set(e)},disconnect:()=>{n.set(Sg(o))},element:c,syncComponents:()=>{const e=xo(c),t=q(e,e=>n.get().getByDom(e).fold(()=>[],Q));u.set(t)},components:u.get,events:d};return m},zg=e=>{const t=lt(e);return Vg({element:t})},Vg=e=>{const t=Fr("external.component",Cr([Pr("element"),Kr("uid")]),e),o=ye(Sg()),n=t.uid.getOrThunk(()=>yg("external"));vg(t.element,n);const s={uid:n,getSystem:o.get,config:A.none,hasConfigured:T,connect:e=>{o.set(e)},disconnect:()=>{o.set(Sg(()=>s))},getApis:()=>({}),element:t.element,spec:e,readState:y("No state"),syncComponents:b,components:y([]),events:{}};return Rm(s)},Lg=yg,Hg=(e,t)=>Nm(e).getOrThunk(()=>((e,t)=>{const{events:o,...n}=wg(e),s=((e,t)=>{const o=fe(e,"components").getOr([]);return t.fold(()=>V(o,Pg),e=>V(o,(t,o)=>Hg(t,yo(e,o))))})(n,t),r={...n,events:{...gg,...o},components:s};return Ae.value(Ng(r,t))})((e=>be(e,"uid"))(e)?e:{uid:Lg(""),...e},t).getOrDie()),Pg=e=>Hg(e,A.none()),Ug=Rm;var Wg,jg=Object.freeze({__proto__:null,block:(e,t,o,n)=>{Yo(e.element,"aria-busy",!0);const s=t.getRoot(e).getOr(e),r=hd([Im.config({mode:"special",onTab:()=>A.some(!0),onShiftTab:()=>A.some(!0)}),_d.config({})]),a=n(s,r),i=s.getSystem().build(a);ug.append(s,Ug(i)),i.hasConfigured(Im)&&t.focus&&Im.focusIn(i),o.isBlocked()||t.onBlock(e),o.blockWith(()=>ug.remove(s,i))},unblock:(e,t,o)=>{Zo(e.element,"aria-busy"),o.isBlocked()&&t.onUnblock(e),o.clear()},isBlocked:(e,t,o)=>o.isBlocked()}),$g=[da("getRoot",A.none),ca("focus",!0),Ti("onBlock"),Ti("onUnblock")];const Gg=bd({fields:$g,name:"blocking",apis:jg,state:Object.freeze({__proto__:null,init:()=>{const e=Ge(e=>e.destroy());return Pc({readState:e.isSet,blockWith:t=>{e.set({destroy:t})},clear:e.clear,isBlocked:e.isSet})}})});var qg=Object.freeze({__proto__:null,getCurrent:(e,t,o)=>t.find(e)});const Yg=[Pr("find")],Xg=bd({fields:Yg,name:"composing",apis:qg});var Kg=Object.freeze({__proto__:null,getCoupled:(e,t,o,n)=>o.getOrCreate(e,t,n),getExistingCoupled:(e,t,o,n)=>o.getExisting(e,t,n)}),Jg=[Ur("others",Mr(Ae.value,rr()))],Qg=Object.freeze({__proto__:null,init:()=>{const e={},t=(t,o)=>{if(0===re(t.others).length)throw new Error("Cannot find any known coupled components");return fe(e,o)},o=y({});return Pc({readState:o,getExisting:(e,o,n)=>t(o,n).orThunk(()=>(fe(o.others,n).getOrDie("No information found for coupled component: "+n),A.none())),getOrCreate:(o,n,s)=>t(n,s).getOrThunk(()=>{const t=fe(n.others,s).getOrDie("No information found for coupled component: "+s)(o),r=o.getSystem().build(t);return e[s]=r,r})})}});const Zg=bd({fields:Jg,name:"coupling",apis:Kg,state:Qg}),ep=["input","button","textarea","select"],tp=(e,t,o)=>{(t.disabled()?ip:lp)(e,t)},op=(e,t)=>!0===t.useNative&&F(ep,to(e.element)),np=e=>{Yo(e.element,"disabled","disabled")},sp=e=>{Zo(e.element,"disabled")},rp=e=>{Yo(e.element,"aria-disabled","true")},ap=e=>{Yo(e.element,"aria-disabled","false")},ip=(e,t,o)=>{t.disableClass.each(t=>{ns(e.element,t)}),(op(e,t)?np:rp)(e),t.onDisabled(e)},lp=(e,t,o)=>{t.disableClass.each(t=>{rs(e.element,t)}),(op(e,t)?sp:ap)(e),t.onEnabled(e)},cp=(e,t)=>op(e,t)?(e=>Qo(e.element,"disabled"))(e):(e=>"true"===Ko(e.element,"aria-disabled"))(e);var dp=Object.freeze({__proto__:null,enable:lp,disable:ip,isDisabled:cp,onLoad:tp,set:(e,t,o,n)=>{(n?ip:lp)(e,t)}}),up=Object.freeze({__proto__:null,exhibit:(e,t)=>ud({classes:t.disabled()?t.disableClass.toArray():[]}),events:(e,t)=>Kc([Jc(Ga(),(t,o)=>cp(t,e)),md(e,t,tp)])}),mp=[da("disabled",T),sa("useNative",!0),Kr("disableClass"),Ti("onDisabled"),Ti("onEnabled")];const gp=bd({fields:mp,name:"disabling",active:up,apis:dp}),pp=(e,t,o,n,s)=>{const r=e=>e+"px";return{position:e,left:t.map(r),top:o.map(r),right:n.map(r),bottom:s.map(r)}},hp=(e,t)=>{hn(e,(e=>({...e,position:A.some(e.position)}))(t))},fp=(e,t)=>{const o=e.element;ns(o,t.transitionClass),rs(o,t.fadeOutClass),ns(o,t.fadeInClass),t.onShow(e)},bp=(e,t)=>{const o=e.element;ns(o,t.transitionClass),rs(o,t.fadeInClass),ns(o,t.fadeOutClass),t.onHide(e)},vp=(e,t)=>e.y>=t.y,xp=(e,t)=>e.bottom<=t.bottom,yp=(e,t,o)=>({location:"top",leftX:t,topY:o.bounds.y-e.y}),wp=(e,t,o)=>({location:"bottom",leftX:t,bottomY:e.bottom-o.bounds.bottom}),Sp=e=>e.box.x-e.win.x,Cp=(e,t,o)=>o.getInitialPos().map(o=>{const n=((e,t)=>{const o=t.optScrollEnv.fold(y(e.bounds.y),t=>t.scrollElmTop+(e.bounds.y-t.currentScrollTop));return Bn(e.bounds.x,o)})(o,t);return{box:Ls(n.left,n.top,An(e),On(e)),location:o.location}}),kp=(e,t,o,n,s)=>{const r=((e,t)=>{const o=t.optScrollEnv.fold(y(e.y),t=>e.y+t.currentScrollTop-t.scrollElmTop);return Bn(e.x,o)})(t,o),a=Ls(r.left,r.top,t.width,t.height);n.setInitialPos({style:xn(e),position:fn(e,"position")||"static",bounds:a,location:s.location})},Op=(e,t,o)=>o.getInitialPos().bind(n=>{switch(o.clearInitialPos(),n.position){case"static":return A.some({morph:"static"});case"absolute":const o=$s(e).getOr(cn()),s=Hs(o),r=o.dom.scrollTop??0;return A.some({morph:"absolute",positionCss:pp("absolute",fe(n.style,"left").map(e=>t.x-s.x),fe(n.style,"top").map(e=>t.y-s.y+r),fe(n.style,"right").map(e=>s.right-t.right),fe(n.style,"bottom").map(e=>s.bottom-t.bottom))});default:return A.none()}}),_p=e=>{switch(e.location){case"top":return A.some({morph:"fixed",positionCss:pp("fixed",A.some(e.leftX),A.some(e.topY),A.none(),A.none())});case"bottom":return A.some({morph:"fixed",positionCss:pp("fixed",A.some(e.leftX),A.none(),A.none(),A.some(e.bottomY))});default:return A.none()}},Tp=(e,t,o)=>{const n=e.element;return He(vn(n,"position"),"fixed")?((e,t,o)=>((e,t,o)=>Cp(e,t,o).filter(({box:e})=>((e,t,o)=>Y(e,e=>{switch(e){case"bottom":return xp(t,o.bounds);case"top":return vp(t,o.bounds)}}))(o.getModes(),e,t)).bind(({box:t})=>Op(e,t,o)))(e,t,o).orThunk(()=>t.optScrollEnv.bind(n=>Cp(e,t,o)).bind(({box:e,location:o})=>{const n=Ws(),s=Sp({win:n,box:e}),r="top"===o?yp(n,s,t):wp(n,s,t);return _p(r)})))(n,t,o):((e,t,o)=>{const n=Hs(e),s=Ws(),r=((e,t,o)=>{const n=t.win,s=t.box,r=Sp(t);return se(e,e=>{switch(e){case"bottom":return xp(s,o.bounds)?A.none():A.some(wp(n,r,o));case"top":return vp(s,o.bounds)?A.none():A.some(yp(n,r,o));default:return A.none()}}).getOr({location:"no-dock"})})(o.getModes(),{win:s,box:n},t);return"top"===r.location||"bottom"===r.location?(kp(e,n,t,o,r),_p(r)):A.none()})(n,t,o)},Ep=(e,t,o)=>{o.setDocked(!1),L(["left","right","top","bottom","position"],t=>wn(e.element,t)),t.onUndocked(e)},Ap=(e,t,o,n)=>{const s="fixed"===n.position;o.setDocked(s),hp(e.element,n),(s?t.onDocked:t.onUndocked)(e)},Dp=(e,t,o,n,s=!1)=>{t.contextual.each(t=>{t.lazyContext(e).each(r=>{const a=((e,t)=>e.yt.y)(r,n.bounds);a!==o.isVisible()&&(o.setVisible(a),s&&!a?(is(e.element,[t.fadeOutClass]),t.onHide(e)):(a?fp:bp)(e,t))})})},Mp=(e,t,o,n,s)=>{Dp(e,t,o,n,!0),Ap(e,t,o,s.positionCss)},Bp=(e,t,o)=>{e.getSystem().isConnected()&&((e,t,o)=>{const n=t.lazyViewport(e);Dp(e,t,o,n),Tp(e,n,o).each(s=>{((e,t,o,n,s)=>{switch(s.morph){case"static":return Ep(e,t,o);case"absolute":return Ap(e,t,o,s.positionCss);case"fixed":Mp(e,t,o,n,s)}})(e,t,o,n,s)})})(e,t,o)},Ip=(e,t,o)=>{o.isDocked()&&((e,t,o)=>{const n=e.element;o.setDocked(!1);const s=t.lazyViewport(e);((e,t,o)=>{const n=e.element;return Cp(n,t,o).bind(({box:e})=>Op(n,e,o))})(e,s,o).each(n=>{switch(n.morph){case"static":Ep(e,t,o);break;case"absolute":Ap(e,t,o,n.positionCss)}}),o.setVisible(!0),t.contextual.each(t=>{ls(n,[t.fadeInClass,t.fadeOutClass,t.transitionClass]),t.onShow(e)}),Bp(e,t,o)})(e,t,o)},Fp=e=>(t,o,n)=>{const s=o.lazyViewport(t);((e,t,o,n)=>{const s=Hs(e),r=Ws(),a=n(r,Sp({win:r,box:s}),t);return"bottom"===a.location||"top"===a.location?(((e,t,o,n,s)=>{n.getInitialPos().fold(()=>kp(e,t,o,n,s),()=>b)})(e,s,t,o,a),_p(a)):A.none()})(t.element,s,n,e).each(e=>{Mp(t,o,n,s,e)})},Rp=Fp(yp),Np=Fp(wp);var zp=Object.freeze({__proto__:null,refresh:Bp,reset:Ip,isDocked:(e,t,o)=>o.isDocked(),getModes:(e,t,o)=>o.getModes(),setModes:(e,t,o,n)=>o.setModes(n),forceDockToTop:Rp,forceDockToBottom:Np}),Vp=Object.freeze({__proto__:null,events:(e,t)=>Kc([ad(Ia(),(o,n)=>{e.contextual.each(e=>{as(o.element,e.transitionClass)&&(ls(o.element,[e.transitionClass,e.fadeInClass]),(t.isVisible()?e.onShown:e.onHidden)(o)),n.stop()})}),Zc(ti(),(o,n)=>{Bp(o,e,t)}),Zc(ci(),(o,n)=>{Bp(o,e,t)}),Zc(oi(),(o,n)=>{Ip(o,e,t)})])}),Lp=[na("contextual",[jr("fadeInClass"),jr("fadeOutClass"),jr("transitionClass"),Gr("lazyContext"),Ti("onShow"),Ti("onShown"),Ti("onHide"),Ti("onHidden")]),da("lazyViewport",()=>({bounds:Ws(),optScrollEnv:A.none()})),ua("modes",["top","bottom"],lr),Ti("onDocked"),Ti("onUndocked")];const Hp=bd({fields:Lp,name:"docking",active:Vp,apis:zp,state:Object.freeze({__proto__:null,init:e=>{const t=ye(!1),o=ye(!0),n=Ye(),s=ye(e.modes);return Pc({isDocked:t.get,setDocked:t.set,getInitialPos:n.get,setInitialPos:n.set,clearInitialPos:n.clear,isVisible:o.get,setVisible:o.set,getModes:s.get,setModes:s.set,readState:()=>`docked: ${t.get()}, visible: ${o.get()}, modes: ${s.get().join(",")}`})}})}),Pp=xe([{offset:["x","y"]},{absolute:["x","y"]},{fixed:["x","y"]}]),Up=e=>t=>t.translate(-e.left,-e.top),Wp=e=>t=>t.translate(e.left,e.top),jp=e=>(t,o)=>W(e,(e,t)=>t(e),Bn(t,o)),$p=(e,t,o)=>e.fold(jp([Wp(o),Up(t)]),jp([Up(t)]),jp([])),Gp=(e,t,o)=>e.fold(jp([Wp(o)]),jp([]),jp([Wp(t)])),qp=(e,t,o)=>e.fold(jp([]),jp([Up(o)]),jp([Wp(t),Up(o)])),Yp=(e,t,o)=>{const n=e.fold((e,t)=>({position:A.some("absolute"),left:A.some(e+"px"),top:A.some(t+"px")}),(e,t)=>({position:A.some("absolute"),left:A.some(e-o.left+"px"),top:A.some(t-o.top+"px")}),(e,t)=>({position:A.some("fixed"),left:A.some(e+"px"),top:A.some(t+"px")}));return{right:A.none(),bottom:A.none(),...n}},Xp=(e,t,o,n)=>{const s=(e,s)=>(r,a)=>{const i=e(t,o,n);return s(r.getOr(i.left),a.getOr(i.top))};return e.fold(s(qp,Kp),s(Gp,Jp),s($p,Qp))},Kp=Pp.offset,Jp=Pp.absolute,Qp=Pp.fixed,Zp=(e,t)=>{const o=Ko(e,t);return u(o)?NaN:parseInt(o,10)},eh=(e,t,o,n,s,r)=>{const a=((e,t,o,n)=>((e,t)=>{const o=e.element,n=Zp(o,t.leftAttr),s=Zp(o,t.topAttr);return isNaN(n)||isNaN(s)?A.none():A.some(Bn(n,s))})(e,t).fold(()=>o,e=>Qp(e.left+n.left,e.top+n.top)))(e,t,o,n),i=t.mustSnap?oh(e,t,a,s,r):nh(e,t,a,s,r),l=$p(a,s,r);return((e,t,o)=>{const n=e.element;Yo(n,t.leftAttr,o.left+"px"),Yo(n,t.topAttr,o.top+"px")})(e,t,l),i.fold(()=>({coord:Qp(l.left,l.top),extra:A.none()}),e=>({coord:e.output,extra:e.extra}))},th=(e,t,o,n)=>se(e,e=>{const s=e.sensor,r=((e,t,o,n,s,r)=>{const a=Gp(e,s,r),i=Gp(t,s,r);return Math.abs(a.left-i.left)<=o&&Math.abs(a.top-i.top)<=n})(t,s,e.range.left,e.range.top,o,n);return r?A.some({output:Xp(e.output,t,o,n),extra:e.extra}):A.none()}),oh=(e,t,o,n,s)=>{const r=t.getSnapPoints(e);return th(r,o,n,s).orThunk(()=>{const e=W(r,(e,t)=>{const r=t.sensor,a=((e,t,o,n,s,r)=>{const a=Gp(e,s,r),i=Gp(t,s,r),l=Math.abs(a.left-i.left),c=Math.abs(a.top-i.top);return Bn(l,c)})(o,r,t.range.left,t.range.top,n,s);return e.deltas.fold(()=>({deltas:A.some(a),snap:A.some(t)}),o=>(a.left+a.top)/2<=(o.left+o.top)/2?{deltas:A.some(a),snap:A.some(t)}:e)},{deltas:A.none(),snap:A.none()});return e.snap.map(e=>({output:Xp(e.output,o,n,s),extra:e.extra}))})},nh=(e,t,o,n,s)=>{const r=t.getSnapPoints(e);return th(r,o,n,s)};var sh=Object.freeze({__proto__:null,snapTo:(e,t,o,n)=>{const s=t.getTarget(e.element);if(t.repositionTarget){const t=co(e.element),o=Nn(t),r=Gs(s),a=((e,t,o)=>({coord:Xp(e.output,e.output,t,o),extra:e.extra}))(n,o,r),i=Yp(a.coord,0,r);hn(s,i)}}});const rh=(e,t)=>ma(e,{},V(t,t=>{return o=t.name(),n="Cannot configure "+t.name()+" for "+e,Vr(o,o,{tag:"option",process:{}},nr(e=>Zs("The field: "+o+" is forbidden. "+n)));var o,n}).concat([Lr("dump",w)])),ah=e=>e.dump,ih=(e,t)=>({...hd(t),...e.dump}),lh=rh,ch=ih,dh=(e,t,o,n,s)=>{const r=((e,t)=>(e.length>0?[qr("parts",e)]:[]).concat([Pr("uid"),sa("dom",{}),sa("components",[]),Bi("originalSpec"),sa("debug.sketcher",{})]).concat(t))(n,s);return Fr(e+" [SpecSchema]",Cr(r.concat(t)),o)},uh=(e,t,o,n,s)=>{const r=mh(s),a=bl(o),i=El(o),l=dh(e,t,r,a,[i]),c=xl(0,l,o);return n(l,yl(e,l,c.internals()),r,c.externals())},mh=e=>(e=>be(e,"uid"))(e)?e:{...e,uid:yg("uid")},gh=Cr([Pr("name"),Pr("factory"),Pr("configFields"),sa("apis",{}),sa("extraApis",{})]),ph=Cr([Pr("name"),Pr("factory"),Pr("configFields"),Pr("partFields"),sa("apis",{}),sa("extraApis",{})]),hh=e=>{const t=Fr("Sketcher for "+e.name,gh,e),o=le(t.apis,zm),n=le(t.extraApis,(e,t)=>Ri(e,t));return{name:t.name,configFields:t.configFields,sketch:e=>((e,t,o,n)=>{const s=mh(n);return o(dh(e,t,s,[],[]),s)})(t.name,t.configFields,t.factory,e),...o,...n}},fh=e=>{const t=Fr("Sketcher for "+e.name,ph,e),o=pl(t.name,t.partFields),n=le(t.apis,zm),s=le(t.extraApis,(e,t)=>Ri(e,t));return{name:t.name,partFields:t.partFields,configFields:t.configFields,sketch:e=>uh(t.name,t.configFields,t.partFields,t.factory,e),parts:o,...n,...s}},bh=hh({name:"Container",factory:e=>{const{attributes:t,...o}=e.dom;return{uid:e.uid,dom:{tag:"div",attributes:{role:"presentation",...t},...o},components:e.components,behaviours:ah(e.containerBehaviours),events:e.events,domModification:e.domModification,eventOrder:e.eventOrder}},configFields:[sa("components",[]),rh("containerBehaviours",[]),sa("events",{}),sa("domModification",{}),sa("eventOrder",{})]}),vh="data-initial-z-index",xh=(e,t)=>{e.getSystem().addToGui(t),(e=>{po(e.element).filter(so).each(t=>{vn(t,"z-index").each(e=>{Yo(t,vh,e)}),gn(t,"z-index",fn(e.element,"z-index"))})})(t)},yh=e=>{(e=>{po(e.element).filter(so).each(e=>{Jo(e,vh).fold(()=>wn(e,"z-index"),t=>gn(e,"z-index",t)),Zo(e,vh)})})(e),e.getSystem().removeFromGui(e)},wh=(e,t,o)=>e.getSystem().build(bh.sketch({dom:{styles:{left:"0px",top:"0px",width:"100%",height:"100%",position:"fixed","z-index":"1000000000000000"},classes:[t]},events:o}));var Sh=na("snaps",[Pr("getSnapPoints"),Ti("onSensor"),Pr("leftAttr"),Pr("topAttr"),sa("lazyViewport",Ws),sa("mustSnap",!1)]);const Ch=[sa("useFixed",T),sa("getTarget",w),sa("onDragStart",b),sa("onDrag",b),sa("repositionTarget",!0),sa("onDrop",b),da("getBounds",Ws),Sh],kh=e=>{return(t=vn(e,"left"),o=vn(e,"top"),n=vn(e,"position"),t.isSome()&&o.isSome()&&n.isSome()?A.some(((e,t,o)=>("fixed"===o?Qp:Kp)(parseInt(e,10),parseInt(t,10)))(t.getOrDie(),o.getOrDie(),n.getOrDie())):A.none()).getOrThunk(()=>{const t=Fn(e);return Jp(t.left,t.top)});var t,o,n},Oh=(e,t)=>({bounds:e.getBounds(),height:_n(t.element),width:Dn(t.element)}),_h=(e,t,o,n,s)=>{const r=o.update(n,s),a=o.getStartData().getOrThunk(()=>Oh(t,e));r.each(o=>{((e,t,o,n)=>{const s=t.getTarget(e.element);if(t.repositionTarget){const r=co(e.element),a=Nn(r),i=Gs(s),l=kh(s),c=((e,t,o,n,s,r,a)=>((e,t,o,n,s)=>{const r=s.bounds,a=Gp(t,o,n),i=Fe(a.left,r.x,r.x+r.width-s.width),l=Fe(a.top,r.y,r.y+r.height-s.height),c=Jp(i,l);return t.fold(()=>{const e=qp(c,o,n);return Kp(e.left,e.top)},y(c),()=>{const e=$p(c,o,n);return Qp(e.left,e.top)})})(0,t.fold(()=>{const e=(t=o,a=r.left,i=r.top,t.fold((e,t)=>Kp(e+a,t+i),(e,t)=>Jp(e+a,t+i),(e,t)=>Qp(e+a,t+i)));var t,a,i;const l=$p(e,n,s);return Qp(l.left,l.top)},t=>{const a=eh(e,t,o,r,n,s);return a.extra.each(o=>{t.onSensor(e,o)}),a.coord}),n,s,a))(e,t.snaps,l,a,i,n,o),d=Yp(c,0,i);hn(s,d)}t.onDrag(e,s,n)})(e,t,a,o)})},Th=(e,t,o,n)=>{t.each(yh),o.snaps.each(t=>{((e,t)=>{((e,t)=>{const o=e.element;Zo(o,t.leftAttr),Zo(o,t.topAttr)})(e,t)})(e,t)});const s=o.getTarget(e.element);n.reset(),o.onDrop(e,s)},Eh=e=>(t,o)=>{const n=e=>{const n=o.getStartData().isSome();if(o.setStartData(Oh(t,e)),!n){const o=t.getTarget(e.element);t.onDragStart(e,o)}};return Kc([Zc(ti(),e=>{o.getStartData().each(()=>n(e))}),...e(t,o,n)])};var Ah=Object.freeze({__proto__:null,getData:e=>A.from(Bn(e.x,e.y)),getDelta:(e,t)=>Bn(t.left-e.left,t.top-e.top)});const Dh=(e,t,o)=>[Zc(ya(),(n,s)=>{if(0!==s.event.raw.button)return;s.stop();const r=()=>Th(n,A.some(l),e,t),a=Ni(r,200),i={drop:r,delayDrop:a.schedule,forceDrop:r,move:o=>{a.cancel(),_h(n,e,t,Ah,o)}},l=wh(n,e.blockerClass,(e=>Kc([Zc(ya(),e.forceDrop),Zc(Ca(),e.drop),Zc(wa(),(t,o)=>{e.move(o.event)}),Zc(Sa(),e.delayDrop)]))(i));o(n),xh(n,l)})],Mh=[...Ch,Pr("blockerClass"),Mi("dragger",{handlers:Eh(Dh)})];var Bh=Object.freeze({__proto__:null,getData:e=>{const t=e.raw.touches;return 1===t.length?(e=>{const t=e[0];return A.some(Bn(t.clientX,t.clientY))})(t):A.none()},getDelta:(e,t)=>Bn(t.left-e.left,t.top-e.top)});const Ih=(e,t,o)=>{const n=Ye(),s=o=>{Th(o,n.get(),e,t),n.clear()};return[Zc(fa(),(r,a)=>{a.stop();const i=()=>s(r),l={drop:i,delayDrop:b,forceDrop:i,move:o=>{_h(r,e,t,Bh,o)}},c=wh(r,e.blockerClass,(e=>Kc([Zc(fa(),e.forceDrop),Zc(va(),e.drop),Zc(xa(),e.drop),Zc(ba(),(t,o)=>{e.move(o.event)})]))(l));n.set(c),o(r),xh(r,c)}),Zc(ba(),(o,n)=>{n.stop(),_h(o,e,t,Bh,n.event)}),Zc(va(),(e,t)=>{t.stop(),s(e)}),Zc(xa(),s)]},Fh=[...Ch,Pr("blockerClass"),Mi("dragger",{handlers:Eh(Ih)})],Rh=[...Ch,Pr("blockerClass"),Mi("dragger",{handlers:Eh((e,t,o)=>[...Dh(e,t,o),...Ih(e,t,o)])})];var Nh=Object.freeze({__proto__:null,getData:e=>A.from(Bn(e.x,e.y)),getDelta:(e,t)=>Bn(t.left-e.left,t.top-e.top)});const zh=Mh,Vh=Fh,Lh=Rh,Hh=[...Ch,Mi("dragger",{handlers:Eh((e,t,o)=>[Zc(Na(),(e,n)=>{const s=n.event.raw;0===s.button&&t.getStartData().isNone()&&(n.stop(),e.element.dom.setPointerCapture(s.pointerId),t.setActivePointerId(s.pointerId),o(e))}),Zc(za(),(o,n)=>{const s=n.event.raw.pointerId;Ue(t.getStartData(),t.getActivePointerId(),(r,a)=>{s===a&&_h(o,e,t,Nh,n.event)})}),Zc(Va(),(o,n)=>{const s=n.event.raw.pointerId;Ue(t.getStartData(),t.getActivePointerId(),(n,r)=>{s===r&&(o.element.dom.releasePointerCapture(s),Th(o,A.none(),e,t))})}),Zc(La(),o=>{t.getStartData().each(()=>{Th(o,A.none(),e,t)})})])})];var Ph=Object.freeze({__proto__:null,mouse:zh,touch:Vh,mouseOrTouch:Lh,pointer:Hh}),Uh=Object.freeze({__proto__:null,init:()=>{const e=Ye(),t=Ye(),o=Ye(),n=y({});return Pc({readState:n,reset:()=>{e.clear(),t.clear(),o.clear()},update:(t,o)=>t.getData(o).bind(o=>((t,o)=>{const n=e.get().map(e=>t.getDelta(e,o));return e.set(o),n})(t,o)),getStartData:()=>t.get(),setStartData:e=>{t.set(e)},setActivePointerId:e=>{o.set(e)},getActivePointerId:()=>o.get()})}});const Wh=xd({branchKey:"mode",branches:Ph,name:"dragging",active:{events:(e,t)=>e.dragger.handlers(e,t)},extra:{snap:e=>({sensor:e.sensor,range:e.range,output:e.output,extra:A.from(e.extra)})},state:Uh,apis:sh}),jh=["input","textarea"],$h=e=>{const t=to(e);return F(jh,t)},Gh=(e,t)=>{const o=t.getRoot(e).getOr(e.element);rs(o,t.invalidClass),t.notify.each(t=>{$h(e.element)&&Yo(e.element,"aria-invalid",!1),t.getContainer(e).each(e=>{sn(e,t.validHtml)}),t.onValid(e)})},qh=(e,t,o,n)=>{const s=t.getRoot(e).getOr(e.element);ns(s,t.invalidClass),t.notify.each(t=>{$h(e.element)&&Yo(e.element,"aria-invalid",!0),t.getContainer(e).each(e=>{sn(e,n)}),t.onInvalid(e,n)})},Yh=(e,t,o)=>t.validator.fold(()=>_e(Ae.value(!0)),t=>t.validate(e)),Xh=(e,t,o)=>(t.notify.each(t=>{t.onValidate(e)}),Yh(e,t).map(o=>e.getSystem().isConnected()?o.fold(o=>(qh(e,t,0,o),Ae.error(o)),o=>(Gh(e,t),Ae.value(o))):Ae.error("No longer in system")));var Kh=Object.freeze({__proto__:null,markValid:Gh,markInvalid:qh,query:Yh,run:Xh,isInvalid:(e,t)=>{const o=t.getRoot(e).getOr(e.element);return as(o,t.invalidClass)}}),Jh=Object.freeze({__proto__:null,events:(e,t)=>e.validator.map(t=>Kc([Zc(t.onEvent,t=>{Xh(t,e).get(w)})].concat(t.validateOnLoad?[id(t=>{Xh(t,e).get(b)})]:[]))).getOr({})}),Qh=[Pr("invalidClass"),sa("getRoot",A.none),na("notify",[sa("aria","alert"),sa("getContainer",A.none),sa("validHtml",""),Ti("onValid"),Ti("onInvalid"),Ti("onValidate")]),na("validator",[Pr("validate"),sa("onEvent","input"),sa("validateOnLoad",!0)])];const Zh=(e,t,o)=>{t.store.manager.onLoad(e,t,o)},ef=(e,t,o)=>{t.store.manager.onUnload(e,t,o)};var tf=Object.freeze({__proto__:null,onLoad:Zh,onUnload:ef,setValue:(e,t,o,n)=>{t.store.manager.setValue(e,t,o,n)},getValue:(e,t,o)=>t.store.manager.getValue(e,t,o),getState:(e,t,o)=>o}),of=Object.freeze({__proto__:null,events:(e,t)=>{const o=e.resetOnDom?[id((o,n)=>{Zh(o,e,t)}),ld((o,n)=>{ef(o,e,t)})]:[md(e,t,Zh)];return Kc(o)}});const nf=()=>{const e=ye(null);return Pc({set:e.set,get:e.get,isNotSet:()=>null===e.get(),clear:()=>{e.set(null)},readState:()=>({mode:"memory",value:e.get()})})},sf=()=>{const e=ye({}),t=ye({});return Pc({readState:()=>({mode:"dataset",dataByValue:e.get(),dataByText:t.get()}),lookup:o=>fe(e.get(),o).orThunk(()=>fe(t.get(),o)),update:o=>{const n=e.get(),s=t.get(),r={},a={};L(o,e=>{r[e.value]=e,fe(e,"meta").each(t=>{fe(t,"text").each(t=>{a[t]=e})})}),e.set({...n,...r}),t.set({...s,...a})},clear:()=>{e.set({}),t.set({})}})};var rf=Object.freeze({__proto__:null,memory:nf,dataset:sf,manual:()=>Pc({readState:b}),init:e=>e.store.manager.state(e)});const af=(e,t,o,n)=>{const s=t.store;o.update([n]),s.setValue(e,n),t.onSetValue(e,n)};var lf=[Kr("initialValue"),Pr("getFallbackEntry"),Pr("getDataKey"),Pr("setValue"),Mi("manager",{setValue:af,getValue:(e,t,o)=>{const n=t.store,s=n.getDataKey(e);return o.lookup(s).getOrThunk(()=>n.getFallbackEntry(s))},onLoad:(e,t,o)=>{t.store.initialValue.each(n=>{af(e,t,o,n)})},onUnload:(e,t,o)=>{o.clear()},state:sf})],cf=[Pr("getValue"),sa("setValue",b),Kr("initialValue"),Mi("manager",{setValue:(e,t,o,n)=>{t.store.setValue(e,n),t.onSetValue(e,n)},getValue:(e,t,o)=>t.store.getValue(e),onLoad:(e,t,o)=>{t.store.initialValue.each(o=>{t.store.setValue(e,o)})},onUnload:b,state:Hc.init})],df=[Kr("initialValue"),Mi("manager",{setValue:(e,t,o,n)=>{o.set(n),t.onSetValue(e,n)},getValue:(e,t,o)=>o.get(),onLoad:(e,t,o)=>{t.store.initialValue.each(e=>{o.isNotSet()&&o.set(e)})},onUnload:(e,t,o)=>{o.clear()},state:nf})],uf=[ra("store",{mode:"memory"},Nr("mode",{memory:df,manual:cf,dataset:lf})),Ti("onSetValue"),sa("resetOnDom",!1)];const mf=bd({fields:uf,name:"representing",active:of,apis:tf,extra:{setValueFrom:(e,t)=>{const o=mf.getValue(t);mf.setValue(e,o)}},state:rf}),gf=bd({fields:Qh,name:"invalidating",active:Jh,apis:Kh,extra:{validation:e=>t=>{const o=mf.getValue(t);return _e(e(o))}}});var pf=Object.freeze({__proto__:null,exhibit:(e,t)=>ud({classes:[],styles:t.useFixed()?{}:{position:"relative"}})});const hf=xe([{none:[]},{relative:["x","y","width","height"]},{fixed:["x","y","width","height"]}]),ff=(e,t,o,n,s,r)=>{const a=t.rect,i=a.x-o,l=a.y-n,c=s-(i+a.width),d=r-(l+a.height),u=A.some(i),m=A.some(l),g=A.some(c),p=A.some(d),h=A.none();return t.direction.fold(()=>pp(e,u,m,h,h),()=>pp(e,h,m,g,h),()=>pp(e,u,h,h,p),()=>pp(e,h,h,g,p),()=>pp(e,u,m,h,h),()=>pp(e,u,h,h,p),()=>pp(e,u,m,h,h),()=>pp(e,h,m,g,h))},bf=(e,t)=>e.fold(()=>{const e=t.rect;return pp("absolute",A.some(e.x),A.some(e.y),A.none(),A.none())},(e,o,n,s)=>ff("absolute",t,e,o,n,s),(e,o,n,s)=>ff("fixed",t,e,o,n,s)),vf=(e,t)=>{const o=C(Vs,t),n=e.fold(o,o,()=>{const e=Nn();return Vs(t).translate(-e.left,-e.top)}),s=Dn(t),r=_n(t);return Ls(n.left,n.top,s,r)},xf=(e,t)=>t.fold(()=>e.fold(Ws,Ws,Ls),t=>e.fold(y(t),y(t),()=>{const o=yf(e,t.x,t.y);return Ls(o.left,o.top,t.width,t.height)})),yf=(e,t,o)=>{const n=Bn(t,o);return e.fold(y(n),y(n),()=>{const e=Nn();return n.translate(-e.left,-e.top)})};hf.none;const wf=hf.relative,Sf=hf.fixed,Cf=xe([{fit:["reposition"]},{nofit:["reposition","visibleW","visibleH","isVisible"]}]),kf=(e,t,o,n)=>{const s=e.bubble,r=s.offset,a=((e,t,o)=>{const n=(n,s)=>t[n].map(t=>{const r="top"===n||"bottom"===n,a=r?o.top:o.left,i=("left"===n||"top"===n?Math.max:Math.min)(t,s)+a;return r?Fe(i,e.y,e.bottom):Fe(i,e.x,e.right)}).getOr(s),s=n("left",e.x),r=n("top",e.y),a=n("right",e.right),i=n("bottom",e.bottom);return Ls(s,r,a-s,i-r)})(n,e.restriction,r),i=e.x+r.left,l=e.y+r.top,c=Ls(i,l,t,o),{originInBounds:d,sizeInBounds:u,visibleW:m,visibleH:g}=((e,t)=>{const{x:o,y:n,right:s,bottom:r}=t,{x:a,y:i,right:l,bottom:c,width:d,height:u}=e;return{originInBounds:a>=o&&a<=s&&i>=n&&i<=r,sizeInBounds:l<=s&&l>=o&&c<=r&&c>=n,visibleW:Math.min(d,a>=o?s-a:l-o),visibleH:Math.min(u,i>=n?r-i:c-n)}})(c,a),p=d&&u,h=p?c:((e,t)=>{const{x:o,y:n,right:s,bottom:r}=t,{x:a,y:i,width:l,height:c}=e,d=Math.max(o,s-l),u=Math.max(n,r-c),m=Fe(a,o,d),g=Fe(i,n,u),p=Math.min(m+l,s)-m,h=Math.min(g+c,r)-g;return Ls(m,g,p,h)})(c,a),f=h.width>0&&h.height>0,{maxWidth:b,maxHeight:v}=((e,t,o)=>{const n=y(t.bottom-o.y),s=y(o.bottom-t.y),r=((e,t,o,n)=>e.fold(t,t,n,n,t,n,o,o))(e,s,s,n),a=y(t.right-o.x),i=y(o.right-t.x),l=((e,t,o,n)=>e.fold(t,n,t,n,o,o,t,n))(e,i,i,a);return{maxWidth:l,maxHeight:r}})(e.direction,h,n),x={rect:h,maxHeight:v,maxWidth:b,direction:e.direction,placement:e.placement,classes:{on:s.classesOn,off:s.classesOff},layout:e.label,testY:l};return p||e.alwaysFit?Cf.fit(x):Cf.nofit(x,m,g,f)},Of=["top","bottom","right","left"],_f="data-alloy-transition-timer",Tf=(e,t,o,n,s,a)=>{const i=((e,t,o)=>o.exists(o=>{const n=e.mode;return"all"===n||o[n]!==t[n]}))(n,s,a);if(i||((e,t)=>((e,t)=>Y(t,t=>as(e,t)))(e,t.classes))(e,n)){gn(e,"position",o.position);const a=vf(t,e),l=bf(t,{...s,rect:a}),c=J(Of,e=>l[e]);((e,t)=>{const o=e=>parseFloat(e).toFixed(3);return pe(t,(t,n)=>!((e,t,o=S)=>Ue(e,t,o).getOr(e.isNone()&&t.isNone()))(e[n].map(o),t.map(o))).isSome()})(o,c)&&(hn(e,c),i&&((e,t)=>{is(e,t.classes),Jo(e,_f).each(t=>{clearTimeout(parseInt(t,10)),Zo(e,_f)}),((e,t)=>{const o=qe(),n=qe();let s;const a=t=>{const o=t.raw.pseudoElement??"";return wt(t.target,e)&&ot(o)&&F(Of,t.raw.propertyName)},i=r=>{if(m(r)||a(r)){o.clear(),n.clear();const a=r?.raw.type;(m(a)||a===Ia())&&(clearTimeout(s),Zo(e,_f),ls(e,t.classes))}},l=Io(e,Fa(),t=>{a(t)&&(l.unbind(),o.set(Io(e,Ia(),i)),n.set(Io(e,Ba(),i)))}),c=(e=>{const t=t=>{const o=fn(e,t).split(/\s*,\s*/);return P(o,tt)},o=e=>{if(r(e)&&/^[\d.]+/.test(e)){const t=parseFloat(e);return Ze(e,"ms")?t:1e3*t}return 0},n=t("transition-delay"),s=t("transition-duration");return W(s,(e,t,s)=>{const r=o(n[s])+o(t);return Math.max(e,r)},0)})(e);window.requestAnimationFrame(()=>{s=setTimeout(i,c+17),Yo(e,_f,s)})})(e,t)})(e,n),Sn(e))}else ls(e,n.classes)},Ef=(e,t,o)=>void 0===e[t]?o:e[t],Af=(e,t,o,n)=>{const s=((e,t,o,n)=>{wn(t,"max-height"),wn(t,"max-width");const s=(r=t,{width:Math.ceil(Dn(r)),height:_n(r)});var r;return((e,t,o,n,s,r)=>{const a=n.width,i=n.height,l=(t,l,c,d,u)=>{const m=t(o,n,s,e,r),g=kf(m,a,i,r);return g.fold(y(g),(e,t,o,n)=>(u===n?o>d||t>c:!u&&n)?g:Cf.nofit(l,c,d,u))};return W(t,(e,t)=>{const o=C(l,t);return e.fold(y(e),o)},Cf.nofit({rect:o,maxHeight:n.height,maxWidth:n.width,direction:Rl(),placement:"southeast",classes:{on:[],off:[]},layout:"none",testY:o.y},-1,-1,!1)).fold(w,w)})(t,n.preference,e,s,o,n.bounds)})(e,t,o,n);return((e,t,o)=>{const n=bf(o.origin,t);o.transition.each(s=>{Tf(e,o.origin,n,s,t,o.lastPlacement)}),hp(e,n)})(t,s,n),((e,t)=>{((e,t)=>{Yo(e,uc,t)})(e,t.placement)})(t,s),((e,t)=>{const o=t.classes;ls(e,o.off),is(e,o.on)})(t,s),((e,t,o)=>{(0,o.maxHeightFunction)(e,t.maxHeight)})(t,s,n),((e,t,o)=>{(0,o.maxWidthFunction)(e,t.maxWidth)})(t,s,n),{layout:s.layout,placement:s.placement}},Df=w,Mf=()=>na("layouts",[Pr("onLtr"),Pr("onRtl"),Kr("onBottomLtr"),Kr("onBottomRtl")]),Bf=(e,t,o,n,s,r,a)=>{const i=a.map(Vc).getOr(!1),l=t.layouts.map(t=>t.onLtr(e)),c=t.layouts.map(t=>t.onRtl(e)),d=i?t.layouts.bind(t=>t.onBottomLtr.map(t=>t(e))).or(l).getOr(s):l.getOr(o),u=i?t.layouts.bind(t=>t.onBottomRtl.map(t=>t(e))).or(c).getOr(r):c.getOr(n);return Ln(d,u)(e)};var If=[Pr("hotspot"),Kr("bubble"),sa("overrides",{}),Mf(),Mi("placement",(e,t,o)=>{const n=t.hotspot,s=vf(o,n.element),r=Bf(e.element,t,cc(),dc(),ic(),lc(),A.some(t.hotspot.element));return A.some(Df({anchorBox:s,bubble:t.bubble.getOr(Bl()),overrides:t.overrides,layouts:r}))})],Ff=[Pr("x"),Pr("y"),sa("height",0),sa("width",0),sa("bubble",Bl()),sa("overrides",{}),Mf(),Mi("placement",(e,t,o)=>{const n=yf(o,t.x,t.y),s=Ls(n.left,n.top,t.width,t.height),r=Bf(e.element,t,rc(),ac(),rc(),ac(),A.none());return A.some(Df({anchorBox:s,bubble:t.bubble,overrides:t.overrides,layouts:r}))})];const Rf=xe([{screen:["point"]},{absolute:["point","scrollLeft","scrollTop"]}]),Nf=e=>e.fold(w,(e,t,o)=>e.translate(-t,-o)),zf=e=>e.fold(w,w),Vf=e=>W(e,(e,t)=>e.translate(t.left,t.top),Bn(0,0)),Lf=e=>{const t=V(e,zf);return Vf(t)},Hf=Rf.screen,Pf=Rf.absolute,Uf=(e,t,o)=>{const n=co(e.element),s=Nn(n),r=((e,t,o)=>{const n=go(o.root).dom;return A.from(n.frameElement).map(ct).filter(t=>{const o=co(t),n=co(e.element);return wt(o,n)}).map(Fn)})(e,0,o).getOr(s);return Pf(r,s.left,s.top)},Wf=(e,t,o,n)=>{const s=Hf(Bn(e,t));return A.some(((e,t,o)=>({point:e,width:t,height:o}))(s,o,n))},jf=(e,t,o,n,s)=>e.map(e=>{const r=[t,e.point],a=(i=()=>Lf(r),l=()=>Lf(r),c=()=>(e=>{const t=V(e,Nf);return Vf(t)})(r),n.fold(i,l,c));var i,l,c;const d=(p=a.left,h=a.top,f=e.width,b=e.height,{x:p,y:h,width:f,height:b}),u=o.showAbove?ic():cc(),m=o.showAbove?lc():dc(),g=Bf(s,o,u,m,u,m,A.none());var p,h,f,b;return Df({anchorBox:d,bubble:o.bubble.getOr(Bl()),overrides:o.overrides,layouts:g})});var $f=[Pr("node"),Pr("root"),Kr("bubble"),Mf(),sa("overrides",{}),sa("showAbove",!1),Mi("placement",(e,t,o)=>{const n=Uf(e,0,t);return t.node.filter(ln).bind(s=>{const r=s.dom.getBoundingClientRect(),a=Wf(r.left,r.top,r.width,r.height),i=t.node.getOr(e.element);return jf(a,n,t,o,i)})})];const Gf=(e,t)=>({element:e,offset:t}),qf=(e,t)=>ro(e)?Gf(e,t):((e,t)=>{const o=xo(e);if(0===o.length)return Gf(e,t);if(tVn.get(e))(e).length:xo(e).length;return Gf(e,t)}})(e,t),Yf=e=>void 0!==e.foffset,Xf=(e,t)=>t.getSelection.getOrThunk(()=>()=>As(e))().map(e=>{if(Yf(e)){const t=qf(e.start,e.soffset),o=qf(e.finish,e.foffset);return Cs.range(t.element,t.offset,o.element,o.offset)}return e});var Kf=[Kr("getSelection"),Pr("root"),Kr("bubble"),Mf(),sa("overrides",{}),sa("showAbove",!1),Mi("placement",(e,t,o)=>{const n=go(t.root).dom,s=Uf(e,0,t),r=Xf(n,t).bind(e=>{if(Yf(e)){const t=((e,t)=>(e=>{const t=e.getBoundingClientRect();return t.width>0||t.height>0?A.some(t).map(mt):A.none()})(ft(e,t)))(n,Cs.exactFromRange(e)).orThunk(()=>{const t=lt("\ufeff"),o=As(n);Uo(e.start,t);const s=Ds(n,Cs.exact(t,0,t,1));return tn(t),o.each(e=>((e,t,o,n,s)=>{const r=((e,t,o,n)=>{const s=ks(e,t),r=ks(o,n);return Cs.relative(s,r)})(t,o,n,s);((e,t)=>{ht(e,t).match({ltr:(t,o,n,s)=>{_s(e,t,o,n,s)},rtl:(t,o,n,s)=>{Os(e).each(r=>{if(r.setBaseAndExtent)r.setBaseAndExtent(t.dom,o,n.dom,s);else if(r.extend)try{((e,t,o,n,s,r)=>{t.collapse(o.dom,n),t.extend(s.dom,r)})(0,r,t,o,n,s)}catch{_s(e,n,s,t,o)}else _s(e,n,s,t,o)})}})})(e,r)})(n,e.start,e.soffset,e.finish,e.foffset)),s});return t.bind(e=>Wf(e.left,e.top,e.width,e.height))}{const t=le(e,e=>e.dom.getBoundingClientRect()),o={left:Math.min(t.firstCell.left,t.lastCell.left),right:Math.max(t.firstCell.right,t.lastCell.right),top:Math.min(t.firstCell.top,t.lastCell.top),bottom:Math.max(t.firstCell.bottom,t.lastCell.bottom)};return Wf(o.left,o.top,o.right-o.left,o.bottom-o.top)}}),a=Xf(n,t).bind(e=>Yf(e)?so(e.start)?A.some(e.start):ho(e.start):A.some(e.firstCell)).getOr(e.element);return jf(r,s,t,o,a)})];const Jf="link-layout",Qf=e=>e.x+e.width,Zf=(e,t)=>e.x-t.width,eb=(e,t)=>e.y-t.height+e.height,tb=e=>e.y,ob=(e,t,o)=>Il(Qf(e),tb(e),o.southeast(),Rl(),"southeast",Wl(e,{left:0,top:2}),Jf),nb=(e,t,o)=>Il(Zf(e,t),tb(e),o.southwest(),Nl(),"southwest",Wl(e,{right:1,top:2}),Jf),sb=(e,t,o)=>Il(Qf(e),eb(e,t),o.northeast(),zl(),"northeast",Wl(e,{left:0,bottom:3}),Jf),rb=(e,t,o)=>Il(Zf(e,t),eb(e,t),o.northwest(),Vl(),"northwest",Wl(e,{right:1,bottom:3}),Jf),ab=()=>[ob,nb,sb,rb],ib=()=>[nb,ob,rb,sb];var lb=[Pr("item"),Mf(),sa("overrides",{}),Mi("placement",(e,t,o)=>{const n=vf(o,t.item.element),s=Bf(e.element,t,ab(),ib(),ab(),ib(),A.none());return A.some(Df({anchorBox:n,bubble:Bl(),overrides:t.overrides,layouts:s}))})],cb=Nr("type",{selection:Kf,node:$f,hotspot:If,submenu:lb,makeshift:Ff});const db=[Xr("classes",lr),la("mode","all",["all","layout","placement"])],ub=[sa("useFixed",T),Kr("getBounds")],mb=[Ur("anchor",cb),na("transition",db)],gb=(e,t,o,n,s,r)=>{const a=Fr("placement.info",kr(mb),s),i=a.anchor,l=n.element,c=o.get(n.uid);og(()=>{gn(l,"position","fixed");const s=vn(l,"visibility");gn(l,"visibility","hidden");const d=t.useFixed()?(()=>{const e=document.documentElement;return Sf(0,0,e.clientWidth,e.clientHeight)})():(e=>{const t=Fn(e.element),o=e.element.dom.getBoundingClientRect();return wf(t.left,t.top,o.width,o.height)})(e);i.placement(e,i,d).each(e=>{const s=r.orThunk(()=>t.getBounds.map(_)),i=((e,t,o,n,s,r)=>((e,t,o,n,s,r,a,i)=>{const l=Ef(a,"maxHeightFunction",Ic()),c=Ef(a,"maxWidthFunction",b),d=e.anchorBox,u=e.origin,m={bounds:xf(u,r),origin:u,preference:n,maxHeightFunction:l,maxWidthFunction:c,lastPlacement:s,transition:i};return Af(d,t,o,m)})(((e,t)=>((e,t)=>({anchorBox:e,origin:t}))(e,t))(t.anchorBox,e),n.element,t.bubble,t.layouts,s,o,t.overrides,r))(d,e,s,n,c,a.transition);o.set(n.uid,i)}),s.fold(()=>{wn(l,"visibility")},e=>{gn(l,"visibility",e)}),vn(l,"left").isNone()&&vn(l,"top").isNone()&&vn(l,"right").isNone()&&vn(l,"bottom").isNone()&&He(vn(l,"position"),"fixed")&&wn(l,"position")},l)};var pb=Object.freeze({__proto__:null,position:(e,t,o,n,s)=>{const r=A.none();gb(e,t,o,n,s,r)},positionWithinBounds:gb,getMode:(e,t,o)=>t.useFixed()?"fixed":"absolute",reset:(e,t,o,n)=>{const s=n.element;L(["position","left","right","top","bottom"],e=>wn(s,e)),(e=>{Zo(e,uc)})(s),o.clear(n.uid)}});const hb=bd({fields:ub,name:"positioning",active:pf,apis:pb,state:Object.freeze({__proto__:null,init:()=>{let e={};return Pc({readState:()=>e,clear:t=>{g(t)?delete e[t]:e={}},set:(t,o)=>{e[t]=o},get:t=>fe(e,t)})}})});var fb=Object.freeze({__proto__:null,events:e=>Kc([Zc($a(),(t,o)=>{const n=e.channels,s=re(n),r=o,a=((e,t)=>t.universal?e:P(e,e=>F(t.channels,e)))(s,r);L(a,e=>{const o=n[e],s=o.schema,a=Fr("channel["+e+"] data\nReceiver: "+pi(t.element),s,r.data);o.onReceive(t,a)})})])}),bb=[Ur("channels",Mr(Ae.value,Cr([Ai("onReceive"),sa("schema",rr())])))];const vb=bd({fields:bb,name:"receiving",active:fb});var xb=Object.freeze({__proto__:null,events:(e,t)=>{const o=(o,n)=>{e.updateState.each(e=>{const s=e(o,n);t.set(s)}),e.renderComponents.each(s=>{const r=s(n,t.get());(e.reuseDom?sg:ng)(o,r)})};return Kc([Zc($a(),(t,n)=>{const s=n;if(!s.universal){const n=e.channel;F(s.channels,n)&&o(t,s.data)}}),id((t,n)=>{e.initialData.each(e=>{o(t,e)})})])}}),yb=Object.freeze({__proto__:null,getState:(e,t,o)=>o}),wb=[Pr("channel"),Kr("renderComponents"),Kr("updateState"),Kr("initialData"),ca("reuseDom",!0)];const Sb=bd({fields:wb,name:"reflecting",active:xb,apis:yb,state:Object.freeze({__proto__:null,init:()=>{const e=ye(A.none());return{readState:()=>e.get().getOr("none"),get:e.get,set:e.set,clear:()=>e.set(A.none())}}})}),Cb=e=>{const t=e.getAccumulatedDelta(),o=e.getBounds();return{width:Fe(Math.round(e.getOriginalWidth()+t.left),o.minWidth.getOr(0),o.maxWidth.getOr(Number.MAX_VALUE)),height:Fe(Math.round(e.getOriginalHeight()+t.top),o.minHeight.getOr(0),o.maxHeight.getOr(Number.MAX_VALUE))}};var kb=Object.freeze({__proto__:null,start:(e,t,o,n,s,r)=>{o.start(n,s,r)},moveBy:(e,t,o,n)=>o.isActive()?(o.drag(n),A.some(Cb(o))):A.none(),stop:(e,t,o)=>o.isActive()?(o.stop(),A.some(Cb(o))):A.none()}),Ob=Object.freeze({__proto__:null,init:()=>{const e=ye(0),t=ye(0),o=ye(Bn(0,0)),n=ye(!1),s=ye({minWidth:A.none(),maxWidth:A.none(),minHeight:A.none(),maxHeight:A.none()});return Pc({start:(r,a,i={})=>{e.set(r),t.set(a),o.set(Bn(0,0)),s.set({minWidth:A.from(i.minWidth),maxWidth:A.from(i.maxWidth),minHeight:A.from(i.minHeight),maxHeight:A.from(i.maxHeight)}),n.set(!0)},stop:()=>{n.set(!1)},isActive:()=>n.get(),drag:e=>{const t=o.get().translate(e.left,e.top);return o.set(t),t},getAccumulatedDelta:()=>o.get(),getOriginalWidth:()=>e.get(),getOriginalHeight:()=>t.get(),getBounds:()=>s.get(),readState:()=>({originalWidth:e.get(),originalHeight:t.get(),accumulatedDelta:o.get(),active:n.get(),bounds:s.get()})})}});const _b=bd({fields:[],name:"resizing",apis:kb,state:Ob}),Tb=(e,t,o,n)=>{o.get().each(t=>{Ym(e)});const s=t.getAttachPoint(e);jm(s,e);const r=e.getSystem().build(n);return jm(e,r),o.set(r),r},Eb=(e,t,o,n)=>{const s=Tb(e,t,o,n);return t.onOpen(e,s),s},Ab=(e,t,o)=>{o.get().each(n=>{Ym(e),qm(e),t.onClose(e,n),o.clear()})},Db=(e,t,o)=>o.isOpen(),Mb=(e,t,o)=>{const n=t.getAttachPoint(e);gn(e.element,"position",hb.getMode(n)),((e,t,o)=>{vn(e.element,t).fold(()=>{Zo(e.element,o)},t=>{Yo(e.element,o,t)}),gn(e.element,t,"hidden")})(e,"visibility",t.cloakVisibilityAttr)},Bb=(e,t,o)=>{(e=>R(["top","left","right","bottom"],t=>vn(e,t).isSome()))(e.element)||wn(e.element,"position"),((e,t,o)=>{Jo(e.element,o).fold(()=>wn(e.element,t),o=>gn(e.element,t,o))})(e,"visibility",t.cloakVisibilityAttr)};var Ib=Object.freeze({__proto__:null,cloak:Mb,decloak:Bb,open:Eb,openWhileCloaked:(e,t,o,n,s)=>{Mb(e,t),Eb(e,t,o,n),s(),Bb(e,t)},close:Ab,isOpen:Db,isPartOf:(e,t,o,n)=>Db(0,0,o)&&o.get().exists(o=>t.isPartOf(e,o,n)),getState:(e,t,o)=>o.get(),setContent:(e,t,o,n)=>o.get().map(()=>Tb(e,t,o,n))}),Fb=Object.freeze({__proto__:null,events:(e,t)=>Kc([Zc(Ka(),(o,n)=>{Ab(o,e,t)})])}),Rb=[Ti("onOpen"),Ti("onClose"),Pr("isPartOf"),Pr("getAttachPoint"),sa("cloakVisibilityAttr","data-precloak-visibility")],Nb=Object.freeze({__proto__:null,init:()=>{const e=Ye(),t=y("not-implemented");return Pc({readState:t,isOpen:e.isSet,clear:e.clear,set:e.set,get:e.get})}});const zb=bd({fields:Rb,name:"sandboxing",active:Fb,apis:Ib,state:Nb}),Vb=(e,t)=>t.getAnimationRoot.fold(()=>e.element,t=>t(e)),Lb=e=>e.dimension.property,Hb=(e,t)=>e.dimension.getDimension(t),Pb=(e,t)=>{const o=Vb(e,t);ls(o,[t.shrinkingClass,t.growingClass])},Ub=(e,t)=>{rs(e.element,t.openClass),ns(e.element,t.closedClass),gn(e.element,Lb(t),"0px"),Sn(e.element)},Wb=(e,t)=>{rs(e.element,t.closedClass),ns(e.element,t.openClass),wn(e.element,Lb(t))},jb=(e,t,o,n)=>{o.setCollapsed(),gn(e.element,Lb(t),Hb(t,e.element)),Pb(e,t),Ub(e,t),t.onStartShrink(e),t.onShrunk(e)},$b=(e,t,o,n)=>{const s=n.getOrThunk(()=>Hb(t,e.element));o.setCollapsed(),gn(e.element,Lb(t),s),Sn(e.element);const r=Vb(e,t);rs(r,t.growingClass),ns(r,t.shrinkingClass),Ub(e,t),t.onStartShrink(e)},Gb=(e,t,o)=>{const n=Hb(t,e.element);("0px"===n?jb:$b)(e,t,o,A.some(n))},qb=(e,t,o)=>{const n=Vb(e,t),s=as(n,t.shrinkingClass),r=Hb(t,e.element);Wb(e,t);const a=Hb(t,e.element);(s?()=>{gn(e.element,Lb(t),r),Sn(e.element)}:()=>{Ub(e,t)})(),rs(n,t.shrinkingClass),ns(n,t.growingClass),Wb(e,t),gn(e.element,Lb(t),a),o.setExpanded(),t.onStartGrow(e)},Yb=(e,t,o)=>{const n=Vb(e,t);return!0===as(n,t.growingClass)},Xb=(e,t,o)=>{const n=Vb(e,t);return!0===as(n,t.shrinkingClass)};var Kb=Object.freeze({__proto__:null,refresh:(e,t,o)=>{if(o.isExpanded()){wn(e.element,Lb(t));const o=Hb(t,e.element);gn(e.element,Lb(t),o)}},grow:(e,t,o)=>{o.isExpanded()||qb(e,t,o)},shrink:(e,t,o)=>{o.isExpanded()&&Gb(e,t,o)},immediateShrink:(e,t,o)=>{o.isExpanded()&&jb(e,t,o)},hasGrown:(e,t,o)=>o.isExpanded(),hasShrunk:(e,t,o)=>o.isCollapsed(),isGrowing:Yb,isShrinking:Xb,isTransitioning:(e,t,o)=>Yb(e,t)||Xb(e,t),toggleGrow:(e,t,o)=>{(o.isExpanded()?Gb:qb)(e,t,o)},disableTransitions:Pb,immediateGrow:(e,t,o)=>{o.isExpanded()||(Wb(e,t),gn(e.element,Lb(t),Hb(t,e.element)),Pb(e,t),o.setExpanded(),t.onStartGrow(e),t.onGrown(e))}}),Jb=Object.freeze({__proto__:null,exhibit:(e,t,o)=>{const n=t.expanded;return ud(n?{classes:[t.openClass],styles:{}}:{classes:[t.closedClass],styles:ga(t.dimension.property,"0px")})},events:(e,t)=>Kc([ad(Ia(),(o,n)=>{n.event.raw.propertyName===e.dimension.property&&(Pb(o,e),t.isExpanded()&&wn(o.element,e.dimension.property),(t.isExpanded()?e.onGrown:e.onShrunk)(o))})])}),Qb=[Pr("closedClass"),Pr("openClass"),Pr("shrinkingClass"),Pr("growingClass"),Kr("getAnimationRoot"),Ti("onShrunk"),Ti("onStartShrink"),Ti("onGrown"),Ti("onStartGrow"),sa("expanded",!1),Ur("dimension",Nr("property",{width:[Mi("property","width"),Mi("getDimension",e=>An(e)+"px")],height:[Mi("property","height"),Mi("getDimension",e=>On(e)+"px")]}))];const Zb=bd({fields:Qb,name:"sliding",active:Jb,apis:Kb,state:Object.freeze({__proto__:null,init:e=>{const t=ye(e.expanded);return Pc({isExpanded:()=>!0===t.get(),isCollapsed:()=>!1===t.get(),setCollapsed:C(t.set,!1),setExpanded:C(t.set,!0),readState:()=>"expanded: "+t.get()})}})});var ev=Object.freeze({__proto__:null,events:(e,t)=>{const o=e.stream.streams.setup(e,t);return Kc([Zc(e.event,o),ld(()=>t.cancel())].concat(e.cancelEvent.map(e=>[Zc(e,()=>t.cancel())]).getOr([])))}});const tv=e=>{const t=ye(null);return Pc({readState:()=>({timer:null!==t.get()?"set":"unset"}),setTimer:e=>{t.set(e)},cancel:()=>{const e=t.get();null!==e&&e.cancel()}})};var ov=Object.freeze({__proto__:null,throttle:tv,init:e=>e.stream.streams.state(e)}),nv=[Ur("stream",Nr("mode",{throttle:[Pr("delay"),sa("stopEvent",!0),Mi("streams",{setup:(e,t)=>{const o=e.stream,n=nt(e.onStream,o.delay);return t.setTimer(n),(e,t)=>{n.throttle(e,t),o.stopEvent&&t.stop()}},state:tv})]})),sa("event","input"),Kr("cancelEvent"),Ai("onStream")];const sv=bd({fields:nv,name:"streaming",active:ev,state:ov});var rv=Object.freeze({__proto__:null,exhibit:(e,t)=>ud({attributes:pa([{key:t.tabAttr,value:"true"}])})}),av=[sa("tabAttr","data-alloy-tabstop")];const iv=bd({fields:av,name:"tabstopping",active:rv}),lv=(e,t,o,n)=>{const s=o.get();o.set(n),((e,t,o)=>{t.toggleClass.each(t=>{o.get()?ns(e.element,t):rs(e.element,t)})})(e,t,o),((e,t,o)=>{const n=t.aria;n.update(e,n,o.get())})(e,t,o),s!==n&&t.onToggled(e,n)},cv=(e,t,o)=>{lv(e,t,o,!o.get())},dv=(e,t,o)=>{lv(e,t,o,t.selected)};var uv=Object.freeze({__proto__:null,onLoad:dv,toggle:cv,isOn:(e,t,o)=>o.get(),on:(e,t,o)=>{lv(e,t,o,!0)},off:(e,t,o)=>{lv(e,t,o,!1)},set:lv}),mv=Object.freeze({__proto__:null,exhibit:()=>ud({}),events:(e,t)=>{const o=(n=e,s=t,r=cv,dd(e=>{r(e,n,s)}));var n,s,r;const a=md(e,t,dv);return Kc(G([e.toggleOnExecute?[o]:[],[a]]))}});const gv=(e,t,o)=>{Yo(e.element,"aria-expanded",o)};var pv=[sa("selected",!1),Kr("toggleClass"),sa("toggleOnExecute",!0),Ti("onToggled"),ra("aria",{mode:"none"},Nr("mode",{pressed:[sa("syncWithExpanded",!1),Mi("update",(e,t,o)=>{Yo(e.element,"aria-pressed",o),t.syncWithExpanded&&gv(e,0,o)})],checked:[Mi("update",(e,t,o)=>{Yo(e.element,"aria-checked",o)})],expanded:[Mi("update",gv)],selected:[Mi("update",(e,t,o)=>{Yo(e.element,"aria-selected",o)})],none:[Mi("update",b)]}))];const hv=bd({fields:pv,name:"toggling",active:mv,apis:uv,state:(fv=!1,{init:()=>{const e=ye(fv);return{get:()=>e.get(),set:t=>e.set(t),clear:()=>e.set(fv),readState:()=>e.get()}}})});var fv;const bv=Ne("tooltip.exclusive"),vv=Ne("tooltip.show"),xv=Ne("tooltip.hide"),yv=Ne("tooltip.immediateHide"),wv=Ne("tooltip.immediateShow"),Sv=(e,t,o)=>{e.getSystem().broadcastOn([bv],{})};var Cv=Object.freeze({__proto__:null,hideAllExclusive:Sv,immediateOpenClose:(e,t,o,n)=>jc(e,n?wv:yv),isEnabled:(e,t,o)=>o.isEnabled(),setComponents:(e,t,o,n)=>{o.getTooltip().each(e=>{e.getSystem().isConnected()&&ug.set(e,n)})},setEnabled:(e,t,o,n)=>o.setEnabled(n)}),kv=Object.freeze({__proto__:null,events:(e,t)=>{const o=o=>{t.getTooltip().each(n=>{n.getSystem().isConnected()&&(qm(n),e.onHide(o,n),t.clearTooltip())}),t.clearTimer()},n=o=>{if(!t.isShowing()&&t.isEnabled()){Sv(o);const n=e.lazySink(o).getOrDie(),s=o.getSystem().build({dom:e.tooltipDom,components:e.tooltipComponents,events:Kc("normal"===e.mode?[Zc(ka(),e=>{jc(o,vv)}),Zc(Sa(),e=>{jc(o,xv)})]:[]),behaviours:hd([ug.config({})])});t.setTooltip(s),jm(n,s),e.onShow(o,s),hb.position(n,s,{anchor:e.anchor(o)})}},s=o=>{t.getTooltip().each(t=>{const n=e.lazySink(o).getOrDie();hb.position(n,t,{anchor:e.anchor(o)})})};return Kc(G([[cd(t=>{e.onSetup(t)}),Zc(vv,o=>{t.resetTimer(()=>{n(o)},e.delayForShow())}),Zc(xv,n=>{t.resetTimer(()=>{o(n)},e.delayForHide())}),Zc(wv,e=>{t.resetTimer(()=>{n(e)},0)}),Zc(yv,e=>{t.resetTimer(()=>{o(e)},0)}),Zc($a(),(e,n)=>{const s=n;s.universal||(F(s.channels,bv)||F(s.channels,Nd()))&&(s.data.closedTooltip&&t.isShowing()&&s.data.closedTooltip(),o(e))}),ld(e=>{o(e)})],(()=>{switch(e.mode){case"normal":return[Zc(Oa(),e=>{jc(e,wv)}),Zc(Wa(),e=>{jc(e,yv)}),Zc(ka(),e=>{jc(e,vv)}),Zc(Sa(),e=>{jc(e,xv)})];case"follow-highlight":return[Zc(mi(),(e,t)=>{jc(e,vv)}),Zc(gi(),e=>{jc(e,xv)})];case"children-normal":return[Zc(Oa(),(o,n)=>{Po(o.element).each(r=>{vt(n.event.target,"[data-mce-tooltip]")&&t.getTooltip().fold(()=>{jc(o,wv)},n=>{t.isShowing()&&(e.onShow(o,n),s(o))})})}),Zc(Wa(),e=>{Po(e.element).fold(()=>{jc(e,yv)},b)}),Zc(ka(),o=>{Xn(o.element,"[data-mce-tooltip]:hover").each(n=>{t.getTooltip().fold(()=>{jc(o,vv)},n=>{t.isShowing()&&(e.onShow(o,n),s(o))})})}),Zc(Sa(),e=>{Xn(e.element,"[data-mce-tooltip]:hover").fold(()=>{jc(e,xv)},b)})];default:return[Zc(Oa(),(o,n)=>{Po(o.element).each(r=>{vt(n.event.target,"[data-mce-tooltip]")&&t.getTooltip().fold(()=>{jc(o,wv)},n=>{t.isShowing()&&(e.onShow(o,n),s(o))})})}),Zc(Wa(),e=>{Po(e.element).fold(()=>{jc(e,yv)},b)})]}})()]))}}),Ov=[Pr("lazySink"),Pr("tooltipDom"),sa("exclusive",!0),sa("tooltipComponents",[]),da("delayForShow",y(300)),da("delayForHide",y(100)),da("onSetup",b),la("mode","normal",["normal","follow-highlight","children-keyboard-focus","children-normal"]),sa("anchor",e=>({type:"hotspot",hotspot:e,layouts:{onLtr:y([oc,tc,Jl,Zl,Ql,ec]),onRtl:y([oc,tc,Jl,Zl,Ql,ec])},bubble:Ml(0,-2,{})})),Ti("onHide"),Ti("onShow")],_v=Object.freeze({__proto__:null,init:()=>{const e=ye(!0),t=Ye(),o=Ye(),n=()=>{t.on(clearTimeout)},s=y("not-implemented");return Pc({getTooltip:o.get,isShowing:o.isSet,setTooltip:o.set,clearTooltip:o.clear,clearTimer:n,resetTimer:(e,o)=>{n(),t.set(setTimeout(e,o))},readState:s,isEnabled:()=>e.get(),setEnabled:t=>e.set(t)})}});const Tv=bd({fields:Ov,name:"tooltipping",active:kv,state:_v,apis:Cv}),Ev=bd({fields:[],name:"unselecting",active:Object.freeze({__proto__:null,events:()=>Kc([Jc(Ra(),E)]),exhibit:()=>ud({styles:{"-webkit-user-select":"none","user-select":"none","-ms-user-select":"none","-moz-user-select":"-moz-none"},attributes:{unselectable:"on"}})})}),Av=e=>{const t=at(e),o=xo(t),n=(e=>{const t=void 0!==e.dom.attributes?e.dom.attributes:[];return W(t,(e,t)=>"class"===t.name?e:{...e,[t.name]:t.value},{})})(t),s=(e=>Array.prototype.slice.call(e.dom.classList,0))(t),r=0===o.length?{}:{innerHtml:nn(t)};return{tag:to(t),classes:s,attributes:n,...r}},Dv=e=>{const t=(e=>void 0!==e.uid)(e)&&ve(e,"uid")?e.uid:yg("memento");return{get:e=>e.getSystem().getByUid(t).getOrDie(),getOpt:e=>e.getSystem().getByUid(t).toOptional(),asSpec:()=>({...e,uid:t})}},Mv=Al,Bv=ml,Iv=(e,t)=>{const o={stopBackspace:!0,...t},n=(e=>{const t=Ye(),o=ye(!1),n=Ni(t=>{e.triggerEvent(Xa(),t),o.set(!0)},400),s=pa([{key:fa(),value:e=>(zi(e).each(s=>{n.cancel();const r={x:s.clientX,y:s.clientY,target:e.target};n.schedule(e),o.set(!1),t.set(r)}),A.none())},{key:ba(),value:e=>(n.cancel(),zi(e).each(e=>{t.on(o=>{((e,t)=>{const o=Math.abs(e.clientX-t.x),n=Math.abs(e.clientY-t.y);return o>5||n>5})(e,o)&&t.clear()})}),A.none())},{key:va(),value:s=>(n.cancel(),t.get().filter(e=>wt(e.target,s.target)).map(t=>o.get()?(s.prevent(),!1):e.triggerEvent(Ya(),s)))}]);return{fireIfReady:(e,t)=>fe(s,t).bind(t=>t(e))}})(o),s=V(["touchstart","touchmove","touchend","touchcancel","gesturestart","mousedown","mouseup","mouseover","mousemove","mouseout","click","pointerdown","pointermove","pointerup","lostpointercapture"].concat(["selectstart","input","contextmenu","change","transitionend","transitioncancel","drag","dragstart","dragend","dragenter","dragleave","dragover","drop","keyup"]),t=>Io(e,t,e=>{n.fireIfReady(e,t).each(t=>{t&&e.kill()}),o.triggerEvent(t,e)&&e.kill()})),r=Ye(),a=Io(e,"paste",e=>{n.fireIfReady(e,"paste").each(t=>{t&&e.kill()}),o.triggerEvent("paste",e)&&e.kill(),r.set(setTimeout(()=>{o.triggerEvent(ja(),e)},0))}),i=Io(e,"keydown",e=>{o.triggerEvent("keydown",e)?e.kill():o.stopBackspace&&(e=>e.raw.which===Td[0]&&!F(["input","textarea"],to(e.target))&&!hs(e.target,'[contenteditable="true"]'))(e)&&e.prevent()}),l=Io(e,"focusin",e=>{o.triggerEvent("focusin",e)&&e.kill()}),c=Ye(),d=Io(e,"focusout",e=>{o.triggerEvent("focusout",e)&&e.kill(),c.set(setTimeout(()=>{o.triggerEvent(Wa(),e)},0))});return{unbind:()=>{L(s,e=>{e.unbind()}),i.unbind(),l.unbind(),d.unbind(),a.unbind(),r.on(clearTimeout),c.on(clearTimeout)}}},Fv=(e,t)=>{const o=fe(e,"target").getOr(t);return ye(o)},Rv=xe([{stopped:[]},{resume:["element"]},{complete:[]}]),Nv=(e,t,o,n,s,r)=>{const a=e(t,n),i=((e,t)=>{const o=ye(!1),n=ye(!1);return{stop:()=>{o.set(!0)},cut:()=>{n.set(!0)},isStopped:o.get,isCut:n.get,event:e,setSource:t.set,getSource:t.get}})(o,s);return a.fold(()=>(r.logEventNoHandlers(t,n),Rv.complete()),e=>{const o=e.descHandler;return Og(o)(i),i.isStopped()?(r.logEventStopped(t,e.element,o.purpose),Rv.stopped()):i.isCut()?(r.logEventCut(t,e.element,o.purpose),Rv.complete()):po(e.element).fold(()=>(r.logNoParent(t,e.element,o.purpose),Rv.complete()),n=>(r.logEventResponse(t,e.element,o.purpose),Rv.resume(n)))})},zv=(e,t,o,n,s,r)=>Nv(e,t,o,n,s,r).fold(E,n=>zv(e,t,o,n,s,r),T),Vv=(e,t,o,n,s)=>{const r=Fv(o,n);return zv(e,t,o,n,r,s)},Lv=()=>{const e=(()=>{const e={};return{registerId:(t,o,n)=>{ie(n,(n,s)=>{const r=void 0!==e[s]?e[s]:{};r[o]=((e,t)=>({cHandler:C.apply(void 0,[e.handler].concat(t)),purpose:e.purpose}))(n,t),e[s]=r})},unregisterId:t=>{ie(e,(e,o)=>{be(e,t)&&delete e[t]})},filterByType:t=>fe(e,t).map(e=>ge(e,(e,t)=>((e,t)=>({id:e,descHandler:t}))(t,e))).getOr([]),find:(t,o,n)=>fe(e,o).bind(e=>vs(n,t=>((e,t)=>xg(t).bind(t=>fe(e,t)).map(e=>((e,t)=>({element:e,descHandler:t}))(t,e)))(e,t),t))}})(),t={},o=o=>{xg(o.element).each(o=>{delete t[o],e.unregisterId(o)})};return{find:(t,o,n)=>e.find(t,o,n),filter:t=>e.filterByType(t),register:n=>{const s=(e=>{const t=e.element;return xg(t).getOrThunk(()=>((e,t)=>{const o=Ne(fg+"uid-");return vg(t,o),o})(0,e.element))})(n);ve(t,s)&&((e,n)=>{const s=t[n];if(s!==e)throw new Error('The tagId "'+n+'" is already used by: '+pi(s.element)+"\nCannot use it for: "+pi(e.element)+"\nThe conflicting element is"+(ln(s.element)?" ":" not ")+"already in the DOM");o(e)})(n,s);const r=[n];e.registerId(r,s,n.events),t[s]=n},unregister:o,getById:e=>fe(t,e)}},Hv=e=>{const t=t=>po(e.element).fold(E,e=>wt(t,e)),o=Lv(),n=(e,n)=>o.find(t,e,n),s=Iv(e.element,{triggerEvent:(e,t)=>vi(e,t.target,o=>((e,t,o,n)=>Vv(e,t,o,o.target,n))(n,e,t,o))}),r={debugInfo:y("real"),triggerEvent:(e,t,o)=>{vi(e,t,s=>Vv(n,e,o,t,s))},triggerFocus:(e,t)=>{xg(e).fold(()=>{zo(e)},o=>{vi(Ua(),e,o=>(((e,t,o,n,s)=>{const r=Fv(o,n);Nv(e,t,o,n,r,s)})(n,Ua(),{originator:t,kill:b,prevent:b,target:e},e,o),!1))})},triggerEscape:(e,t)=>{r.triggerEvent("keydown",e.element,t.event)},getByUid:e=>p(e),getByDom:e=>h(e),build:Pg,buildOrPatch:Hg,addToGui:e=>{l(e)},removeFromGui:e=>{c(e)},addToWorld:e=>{a(e)},removeFromWorld:e=>{i(e)},broadcast:e=>{u(e)},broadcastOn:(e,t)=>{m(e,t)},broadcastEvent:(e,t)=>{g(e,t)},isConnected:E},a=e=>{e.connect(r),ro(e.element)||(o.register(e),L(e.components(),a),r.triggerEvent(Qa(),e.element,{target:e.element}))},i=e=>{ro(e.element)||(L(e.components(),i),o.unregister(e)),e.disconnect()},l=t=>{jm(e,t)},c=e=>{qm(e)},d=e=>{const t=o.filter($a());L(t,t=>{const o=t.descHandler;Og(o)(e)})},u=e=>{d({universal:!0,data:e})},m=(e,t)=>{d({universal:!1,channels:e,data:t})},g=(e,t)=>((e,t)=>{const o=(e=>{const t=ye(!1);return{stop:()=>{t.set(!0)},cut:b,isStopped:t.get,isCut:T,event:e,setSource:O("Cannot set source of a broadcasted event"),getSource:O("Cannot get source of a broadcasted event")}})(t);return L(e,e=>{const t=e.descHandler;Og(t)(o)}),o.isStopped()})(o.filter(e),t),p=e=>o.getById(e).fold(()=>Ae.error(new Error('Could not find component with uid: "'+e+'" in system.')),Ae.value),h=e=>{const t=xg(e).getOr("not found");return p(t)};return a(e),{root:e,element:e.element,destroy:()=>{s.unbind(),tn(e.element)},add:l,remove:c,getByUid:p,getByDom:h,addToWorld:a,removeFromWorld:i,broadcast:u,broadcastOn:m,broadcastEvent:g}},Pv=()=>{const e=(e,t)=>{t.stop(),Gc(e)};return[Zc(Ma(),e),Zc(Ya(),e),sd(fa()),sd(ya())]},Uv=e=>Kc(G([e.map(e=>dd((t,o)=>{e(t),o.stop()})).toArray(),Pv()])),Wv=hh({name:"Button",factory:e=>{const t=Uv(e.action),o=e.dom.tag,n=t=>fe(e.dom,"attributes").bind(e=>fe(e,t));return{uid:e.uid,dom:e.dom,components:e.components,events:t,behaviours:ch(e.buttonBehaviours,[_d.config({}),Im.config({mode:"execution",useSpace:!0,useEnter:!0})]),domModification:{attributes:"button"===o?{type:n("type").getOr("button"),...n("role").map(e=>({role:e})).getOr({})}:{role:e.role.getOr(n("role").getOr("button"))}},eventOrder:e.eventOrder}},configFields:[sa("uid",void 0),Pr("dom"),sa("components",[]),lh("buttonBehaviours",[_d,Im]),Kr("action"),Kr("role"),sa("eventOrder",{})]}),jv=y([sa("shell",!1),Pr("makeItem"),sa("setupItem",b),lh("listBehaviours",[ug])]),$v=cl({name:"items",overrides:()=>({behaviours:hd([ug.config({})])})}),Gv=y([$v]),qv=fh({name:y("CustomList")(),configFields:jv(),partFields:Gv(),factory:(e,t,o,n)=>{const s=e.shell?{behaviours:[ug.config({})],components:[]}:{behaviours:[],components:t};return{uid:e.uid,dom:e.dom,components:s.components,behaviours:ih(e.listBehaviours,s.behaviours),apis:{setItems:(t,o)=>{var n;(n=t,e.shell?A.some(n):wl(n,e,"items")).fold(()=>{throw console.error("Custom List was defined to not be a shell, but no item container was specified in components"),new Error("Custom List was defined to not be a shell, but no item container was specified in components")},n=>{const s=ug.contents(n),r=o.length,a=r-s.length,i=a>0?N(a,()=>e.makeItem()):[],l=s.slice(r);L(l,e=>ug.remove(n,e)),L(i,e=>ug.append(n,e));const c=ug.contents(n);L(c,(n,s)=>{e.setupItem(t,n,o[s],s)})})}}}},apis:{setItems:(e,t,o)=>{e.setItems(t,o)}}}),Yv="aria-controls",Xv=()=>{const e=Ne(Yv);return{id:e,link:t=>{Yo(t,Yv,e)},unlink:e=>{Zo(e,Yv)}}},Kv=(e,t)=>ps(t,t=>wt(t,e.element),T)||((e,t)=>(e=>jn(e,e=>{if(!so(e))return!1;const t=Ko(e,"id");return void 0!==t&&t.indexOf(Yv)>-1}).bind(e=>{const t=Ko(e,"id"),o=Oo(e);return Xn(o,`[${Yv}="${t}"]`)}))(t).exists(t=>Kv(e,t)))(e,t),Jv="alloy.item-hover",Qv="alloy.item-focus",Zv="alloy.item-toggled",ex=e=>{(Po(e.element).isNone()||_d.isFocused(e))&&(_d.isFocused(e)||_d.focus(e),$c(e,Jv,{item:e}))},tx=e=>{$c(e,Qv,{item:e})},ox=y(Jv),nx=y(Qv),sx=y(Zv),rx=e=>e.role.fold(()=>e.toggling.map(e=>e.exclusive?"menuitemradio":"menuitemcheckbox").getOr("menuitem"),w);var ax=[Pr("data"),Pr("components"),Pr("dom"),sa("hasSubmenu",!1),Kr("toggling"),Kr("role"),lh("itemBehaviours",[hv,_d,Im,mf]),sa("ignoreFocus",!1),sa("domModification",{}),Mi("builder",e=>({dom:e.dom,domModification:{...e.domModification,attributes:{role:rx(e),...e.domModification.attributes,"aria-haspopup":e.hasSubmenu,...e.hasSubmenu?{"aria-expanded":!1}:{}}},behaviours:ch(e.itemBehaviours,[e.toggling.fold(hv.revoke,t=>hv.config(((e,t)=>({aria:{mode:t?"selected":"checked"},...me(e,(e,t)=>"exclusive"!==t),onToggled:(t,o)=>{p(e.onToggled)&&e.onToggled(t,o),((e,t)=>{$c(e,Zv,{item:e,state:t})})(t,o)}}))(t,e.role.exists(e=>"option"===e)))),_d.config({ignore:e.ignoreFocus,stopMousedown:e.ignoreFocus,onFocus:e=>{tx(e)}}),Im.config({mode:"execution"}),mf.config({store:{mode:"memory",initialValue:e.data}}),wd("item-type-events",[...Pv(),Zc(ka(),ex),Zc(qa(),_d.focus)])]),components:e.components,eventOrder:e.eventOrder})),sa("eventOrder",{})],ix=[Pr("dom"),Pr("components"),Mi("builder",e=>({dom:e.dom,components:e.components,events:Kc([rd(qa())])}))];const lx=y("item-widget"),cx=y([il({name:"widget",overrides:e=>({behaviours:hd([mf.config({store:{mode:"manual",getValue:t=>e.data,setValue:b}})])})})]),dx=[Pr("uid"),Pr("data"),Pr("components"),Pr("dom"),sa("autofocus",!1),sa("ignoreFocus",!1),lh("widgetBehaviours",[mf,_d,Im]),sa("domModification",{}),El(cx()),Mi("builder",e=>{const t=xl(lx(),e,cx()),o=yl(lx(),e,t.internals()),n=t=>wl(t,e,"widget").map(e=>(Im.focusIn(e),e)),s=(t,o)=>gu(o.event.target)?A.none():e.autofocus?(o.setSource(t.element),A.none()):A.none();return{dom:e.dom,components:o,domModification:e.domModification,events:Kc([dd((e,t)=>{n(e).each(e=>{t.stop()})}),Zc(ka(),ex),Zc(qa(),(t,o)=>{e.autofocus?n(t):_d.focus(t)})]),behaviours:ch(e.widgetBehaviours,[mf.config({store:{mode:"memory",initialValue:e.data}}),_d.config({ignore:e.ignoreFocus,onFocus:e=>{tx(e)}}),Im.config({mode:"special",focusIn:e.autofocus?e=>{n(e)}:yd(),onLeft:s,onRight:s,onEscape:(t,o)=>_d.isFocused(t)||e.autofocus?e.autofocus?(o.setSource(t.element),A.none()):A.none():(_d.focus(t),A.some(!0))})])}})],ux=Nr("type",{widget:dx,item:ax,separator:ix}),mx=y([dl({factory:{sketch:e=>{const t=Fr("menu.spec item",ux,e);return t.builder(t)}},name:"items",unit:"item",defaults:(e,t)=>be(t,"uid")?t:{...t,uid:yg("item")},overrides:(e,t)=>({type:t.type,ignoreFocus:e.fakeFocus,domModification:{classes:[e.markers.item]}})})]),gx=y([Zr("role"),Pr("value"),Pr("items"),Pr("dom"),Pr("components"),sa("eventOrder",{}),rh("menuBehaviours",[ru,mf,Xg,Im]),ra("movement",{mode:"menu"},Nr("mode",{grid:[Ii(),Mi("config",(e,t)=>({mode:"flatgrid",selector:"."+e.markers.item,initSize:{numColumns:t.initSize.numColumns,numRows:t.initSize.numRows},focusManager:e.focusManager}))],matrix:[Mi("config",(e,t)=>({mode:"matrix",selectors:{row:t.rowSelector,cell:"."+e.markers.item},previousSelector:t.previousSelector,focusManager:e.focusManager})),Pr("rowSelector"),sa("previousSelector",A.none)],menu:[Mi("config",(e,t)=>({mode:"menu",selector:"."+e.markers.item,focusManager:e.focusManager}))]})),Ur("markers",Si()),sa("fakeFocus",!1),sa("focusManager",iu()),Ti("onHighlight"),Ti("onDehighlight"),sa("showMenuRole",!0)]),px=y("alloy.menu-focus"),hx=fh({name:"Menu",configFields:gx(),partFields:mx(),factory:(e,t,o,n)=>({uid:e.uid,dom:e.dom,markers:e.markers,behaviours:ih(e.menuBehaviours,[ru.config({highlightClass:e.markers.selectedItem,itemClass:e.markers.item,onHighlight:e.onHighlight,onDehighlight:e.onDehighlight}),mf.config({store:{mode:"memory",initialValue:e.value}}),Xg.config({find:A.some}),Im.config(e.movement.config(e,e.movement))]),events:Kc([Zc(nx(),(e,t)=>{const o=t.event;e.getSystem().getByDom(o.target).each(o=>{ru.highlight(e,o),t.stop(),$c(e,px(),{menu:e,item:o})})}),Zc(ox(),(e,t)=>{const o=t.event.item;ru.highlight(e,o)}),Zc(sx(),(e,t)=>{const{item:o,state:n}=t.event;n&&"menuitemradio"===Ko(o.element,"role")&&((e,t)=>{const o=gs(e.element,'[role="menuitemradio"][aria-checked="true"]');L(o,o=>{wt(o,t.element)||e.getSystem().getByDom(o).each(e=>{hv.off(e)})})})(e,o)})]),components:t,eventOrder:e.eventOrder,...e.showMenuRole?{domModification:{attributes:{role:e.role.getOr("menu")}}}:{}})}),fx=(e,t,o,n)=>fe(o,n).bind(n=>fe(e,n).bind(n=>{const s=fx(e,t,o,n);return A.some([n].concat(s))})).getOr([]),bx=e=>"prepared"===e.type?A.some(e.menu):A.none(),vx=()=>{const e=ye({}),t=ye({}),o=ye({}),n=Ye(),s=ye({}),r=e=>a(e).bind(bx),a=e=>fe(t.get(),e),i=t=>fe(e.get(),t);return{setMenuBuilt:(e,o)=>{t.set({...t.get(),[e]:{type:"prepared",menu:o}})},setContents:(r,a,i,l)=>{n.set(r),e.set(i),t.set(a),s.set(l);const c=((e,t)=>{const o={};ie(e,(e,t)=>{L(e,e=>{o[e]=t})});const n=t,s=ce(t,(e,t)=>({k:e,v:t})),r=le(s,(e,t)=>[t].concat(fx(o,n,s,t)));return le(o,e=>fe(r,e).getOr([e]))})(l,i);o.set(c)},expand:t=>fe(e.get(),t).map(e=>{const n=fe(o.get(),t).getOr([]);return[e].concat(n)}),refresh:e=>fe(o.get(),e),collapse:e=>fe(o.get(),e).bind(e=>e.length>1?A.some(e.slice(1)):A.none()),lookupMenu:a,lookupItem:i,otherMenus:e=>{const t=s.get();return K(re(t),e)},getPrimary:()=>n.get().bind(r),getMenus:()=>t.get(),clear:()=>{e.set({}),t.set({}),o.set({}),n.clear()},isClear:()=>n.get().isNone(),getTriggeringPath:(t,s)=>{const a=P(i(t).toArray(),e=>r(e).isSome());return fe(o.get(),t).bind(t=>{const o=X(a.concat(t));return(e=>{const t=[];for(let o=0;o((t,o,n)=>r(t).bind(s=>(t=>pe(e.get(),(e,o)=>e===t))(t).bind(e=>o(e).map(e=>({triggeredMenu:s,triggeringItem:e,triggeringPath:n})))))(t,s,o.slice(0,a+1)).fold(()=>He(n.get(),t)?[]:[A.none()],e=>[A.some(e)])))})}}},xx=bx,yx=Ne("tiered-menu-item-highlight"),wx=Ne("tiered-menu-item-dehighlight"),Sx=y("collapse-item"),Cx=hh({name:"TieredMenu",configFields:[Di("onExecute"),Di("onEscape"),Ei("onTab"),Ei("onShiftTab"),Ai("onOpenMenu"),Ai("onOpenSubmenu"),Ti("onRepositionMenu"),Ti("onCollapseMenu"),sa("highlightOnOpen",Lc.HighlightMenuAndItem),qr("data",[Pr("primary"),Pr("menus"),Pr("expansions")]),sa("fakeFocus",!1),Ti("onHighlightItem"),Ti("onDehighlightItem"),Ti("onHover"),ki(),Pr("dom"),sa("navigateOnHover",!0),sa("stayInDom",!1),rh("tmenuBehaviours",[Im,ru,Xg,ug]),sa("eventOrder",{})],apis:{collapseMenu:(e,t)=>{e.collapseMenu(t)},highlightPrimary:(e,t)=>{e.highlightPrimary(t)},repositionMenus:(e,t)=>{e.repositionMenus(t)}},factory:(e,t)=>{const o=Ye(),n=vx(),s=e=>mf.getValue(e).value,r=t=>le(e.data.menus,(e,t)=>q(e.items,e=>"separator"===e.type?[]:[e.data.value])),a=ru.highlight,i=(t,o)=>{a(t,o),ru.getHighlighted(o).orThunk(()=>ru.getFirst(o)).each(n=>{e.fakeFocus?ru.highlight(o,n):qc(t,n.element,qa())})},l=(e,t)=>Pe(V(t,t=>e.lookupMenu(t).bind(e=>"prepared"===e.type?A.some(e.menu):A.none()))),c=(t,o,n)=>{const s=l(o,o.otherMenus(n));L(s,o=>{ls(o.element,[e.markers.backgroundMenu]),e.stayInDom||ug.remove(t,o)})},d=(t,n)=>{const r=(t=>o.get().getOrThunk(()=>{const n={},r=gs(t.element,`.${e.markers.item}`),a=P(r,e=>"true"===Ko(e,"aria-haspopup"));return L(a,e=>{t.getSystem().getByDom(e).each(e=>{const t=s(e);n[t]=e})}),o.set(n),n}))(t);ie(r,(e,t)=>{const o=F(n,t);Yo(e.element,"aria-expanded",o)})},u=(t,o,n)=>A.from(n[0]).bind(s=>o.lookupMenu(s).bind(s=>{if("notbuilt"===s.type)return A.none();{const r=s.menu,a=l(o,n.slice(1));return L(a,t=>{ns(t.element,e.markers.backgroundMenu)}),ln(r.element)||ug.append(t,Ug(r)),ls(r.element,[e.markers.backgroundMenu]),i(t,r),c(t,o,n),A.some(r)}}));let m;!function(e){e[e.HighlightSubmenu=0]="HighlightSubmenu",e[e.HighlightParent=1]="HighlightParent"}(m||(m={}));const g=(t,o,r=m.HighlightSubmenu)=>{if(o.hasConfigured(gp)&&gp.isDisabled(o))return A.some(o);{const a=s(o);return n.expand(a).bind(s=>(d(t,s),A.from(s[0]).bind(a=>n.lookupMenu(a).bind(i=>{const l=((e,t,o)=>{if("notbuilt"===o.type){const s=e.getSystem().build(o.nbMenu());return n.setMenuBuilt(t,s),s}return o.menu})(t,a,i);return ln(l.element)||ug.append(t,Ug(l)),e.onOpenSubmenu(t,o,l,X(s)),r===m.HighlightSubmenu?(ru.highlightFirst(l),u(t,n,s)):(ru.dehighlightAll(l),A.some(o))}))))}},p=(t,o)=>{const r=s(o);return n.collapse(r).bind(s=>(d(t,s),u(t,n,s).map(n=>(e.onCollapseMenu(t,o,n),n))))},h=t=>(o,n)=>Kn(n.getSource(),`.${e.markers.item}`).bind(e=>o.getSystem().getByDom(e).toOptional().bind(e=>t(o,e).map(E))),f=Kc([Zc(px(),(e,t)=>{const o=t.event.item;n.lookupItem(s(o)).each(()=>{const o=t.event.menu;ru.highlight(e,o);const r=s(t.event.item);n.refresh(r).each(t=>c(e,n,t))})}),dd((t,o)=>{const n=o.event.target;t.getSystem().getByDom(n).each(o=>{0===s(o).indexOf("collapse-item")&&p(t,o),g(t,o,m.HighlightSubmenu).fold(()=>{e.onExecute(t,o)},b)})}),id((t,o)=>{(t=>{const o=((t,o,n)=>le(n,(n,s)=>{const r=()=>hx.sketch({...n,value:s,markers:e.markers,fakeFocus:e.fakeFocus,onHighlight:(e,t)=>{$c(e,yx,{menuComp:e,itemComp:t})},onDehighlight:(e,t)=>{$c(e,wx,{menuComp:e,itemComp:t})},focusManager:e.fakeFocus?lu():iu()});return s===o?{type:"prepared",menu:t.getSystem().build(r())}:{type:"notbuilt",nbMenu:r}}))(t,e.data.primary,e.data.menus),s=r();return n.setContents(e.data.primary,o,e.data.expansions,s),n.getPrimary()})(t).each(o=>{ug.append(t,Ug(o)),e.onOpenMenu(t,o),e.highlightOnOpen===Lc.HighlightMenuAndItem?i(t,o):e.highlightOnOpen===Lc.HighlightJustMenu&&a(t,o)})}),Zc(yx,(t,o)=>{e.onHighlightItem(t,o.event.menuComp,o.event.itemComp)}),Zc(wx,(t,o)=>{e.onDehighlightItem(t,o.event.menuComp,o.event.itemComp)}),...e.navigateOnHover?[Zc(ox(),(t,o)=>{const r=o.event.item;((e,t)=>{const o=s(t);n.refresh(o).bind(t=>(d(e,t),u(e,n,t)))})(t,r),g(t,r,m.HighlightParent),e.onHover(t,r)})]:[]]),v=e=>ru.getHighlighted(e).bind(ru.getHighlighted),x={collapseMenu:e=>{v(e).each(t=>{p(e,t)})},highlightPrimary:e=>{n.getPrimary().each(t=>{i(e,t)})},repositionMenus:t=>{const o=n.getPrimary().bind(e=>v(t).bind(e=>{const t=s(e),o=he(n.getMenus()),r=Pe(V(o,xx));return n.getTriggeringPath(t,e=>((e,t,o)=>se(t,e=>{if(!e.getSystem().isConnected())return A.none();const t=ru.getCandidates(e);return j(t,e=>s(e)===o)}))(0,r,e))}).map(t=>({primary:e,triggeringPath:t})));o.fold(()=>{(e=>A.from(e.components()[0]).filter(e=>"menu"===Ko(e.element,"role")))(t).each(o=>{e.onRepositionMenu(t,o,[])})},({primary:o,triggeringPath:n})=>{e.onRepositionMenu(t,o,n)})}};return{uid:e.uid,dom:e.dom,markers:e.markers,behaviours:ih(e.tmenuBehaviours,[Im.config({mode:"special",onRight:h((e,t)=>gu(t.element)?A.none():g(e,t,m.HighlightSubmenu)),onLeft:h((e,t)=>gu(t.element)?A.none():p(e,t)),onEscape:h((t,o)=>p(t,o).orThunk(()=>e.onEscape(t,o).map(()=>t))),onTab:e.onTab,onShiftTab:e.onShiftTab,focusIn:(e,t)=>{n.getPrimary().each(t=>{qc(e,t.element,qa())})}}),ru.config({highlightClass:e.markers.selectedMenu,itemClass:e.markers.menu}),Xg.config({find:e=>ru.getHighlighted(e)}),ug.config({})]),eventOrder:e.eventOrder,apis:x,events:f}},extraApis:{tieredData:(e,t,o)=>({primary:e,menus:t,expansions:o}),singleData:(e,t)=>({primary:e,menus:ga(e,t),expansions:{}}),collapseItem:e=>({value:Ne(Sx()),meta:{text:e}})}}),kx=y("sink"),Ox=y(cl({name:kx(),overrides:y({dom:{tag:"div"},behaviours:hd([hb.config({useFixed:E})]),events:Kc([sd(Ta()),sd(ya()),sd(Ma())])})})),_x=Cr([sa("isExtraPart",T),na("fireEventInstead",[sa("event",ri())])]),Tx=e=>{const t=Fr("Dismissal",_x,e);return{[zd()]:{schema:Cr([Pr("target")]),onReceive:(e,o)=>{zb.isOpen(e)&&(zb.isPartOf(e,o.target)||t.isExtraPart(e,o.target)||t.fireEventInstead.fold(()=>zb.close(e),t=>jc(e,t.event)))}}}},Ex=Cr([na("fireEventInstead",[sa("event",ai())]),Gr("doReposition")]),Ax=e=>{const t=Fr("Reposition",Ex,e);return{[Vd()]:{onReceive:e=>{zb.isOpen(e)&&t.fireEventInstead.fold(()=>t.doReposition(e),t=>jc(e,t.event))}}}},Dx=(e,t)=>{const o=e.getHotspot(t).getOr(t),n="hotspot",s=e.getAnchorOverrides();return e.layouts.fold(()=>({type:n,hotspot:o,overrides:s}),e=>({type:n,hotspot:o,overrides:s,layouts:e}))},Mx=(e,t,o,n,s,r,a)=>{const i=((e,t,o,n,s,r,a)=>{const i=((e,t,o)=>(0,e.fetch)(o).map(t))(e,t,n),l=Fx(n,e),c=(e,t)=>(_d.focus(n),$c(n,"keydown",{raw:t.event.raw}),zb.close(s),A.some(!0));return i.map(t=>t.bind(t=>{const i=t.menus[t.primary];return A.from(i).each(t=>{e.listRole.each(e=>{t.role=e})}),A.from(Cx.sketch({...r.menu(),uid:yg(""),data:t,highlightOnOpen:a,onOpenMenu:(e,t)=>{const n=l().getOrDie();hb.position(n,t,{anchor:o}),zb.decloak(s)},onOpenSubmenu:(e,t,o)=>{const n=l().getOrDie();hb.position(n,o,{anchor:{type:"submenu",item:t}}),zb.decloak(s)},onRepositionMenu:(e,t,n)=>{const s=l().getOrDie();hb.position(s,t,{anchor:o}),L(n,e=>{hb.position(s,e.triggeredMenu,{anchor:{type:"submenu",item:e.triggeringItem}})})},onEscape:()=>(_d.focus(n),zb.close(s),A.some(!0)),onTab:c,onShiftTab:c}))}))})(e,t,Dx(e,o),o,n,s,a);return i.map(e=>(e.fold(()=>{zb.isOpen(n)&&zb.close(n)},e=>{zb.cloak(n),zb.open(n,e),r(n)}),n))},Bx=(e,t,o,n,s,r,a)=>(zb.close(n),_e(n)),Ix=(e,t,o,n,s,r)=>{const a=Zg.getCoupled(o,"sandbox");return(zb.isOpen(a)?Bx:Mx)(e,t,o,a,n,s,r)},Fx=(e,t)=>e.getSystem().getByUid(t.uid+"-"+kx()).map(e=>()=>Ae.value(e)).getOrThunk(()=>t.lazySink.fold(()=>()=>Ae.error(new Error("No internal sink is specified, nor could an external sink be found")),t=>()=>t(e))),Rx=e=>{zb.getState(e).each(e=>{Cx.repositionMenus(e)})},Nx=(e,t,o)=>{const n=Xv(),s=Fx(t,e);return{dom:{tag:"div",classes:e.sandboxClasses,attributes:{id:n.id}},behaviours:ch(e.sandboxBehaviours,[mf.config({store:{mode:"memory",initialValue:t}}),zb.config({onOpen:(s,r)=>{const a=Dx(e,t);n.link(t.element),e.matchWidth&&((e,t,o)=>{const n=Xg.getCurrent(t).getOr(t),s=An(e.element);o?gn(n.element,"min-width",s+"px"):((e,t)=>{En.set(e,t)})(n.element,s)})(a.hotspot,r,e.useMinWidth),e.onOpen(a,s,r),void 0!==o&&void 0!==o.onOpen&&o.onOpen(s,r),Cx.repositionMenus(r)},onClose:(e,r)=>{n.unlink(t.element),s().getOr(r).element.dom.dispatchEvent(new window.FocusEvent("focusout")),void 0!==o&&void 0!==o.onClose&&o.onClose(e,r)},isPartOf:(e,o,n)=>Kv(o,n)||Kv(t,n),getAttachPoint:()=>s().getOrDie()}),Xg.config({find:e=>zb.getState(e).bind(e=>Xg.getCurrent(e))}),vb.config({channels:{...Tx({isExtraPart:T}),...Ax({doReposition:Rx})}})])}},zx=()=>[sa("sandboxClasses",[]),lh("sandboxBehaviours",[Xg,vb,zb,mf])],Vx=y([Pr("dom"),Pr("fetch"),Ti("onOpen"),Ei("onExecute"),sa("getHotspot",A.some),sa("getAnchorOverrides",y({})),Mf(),rh("dropdownBehaviours",[hv,Zg,Im,_d]),Pr("toggleClass"),sa("eventOrder",{}),Kr("lazySink"),sa("matchWidth",!1),sa("useMinWidth",!1),Kr("role"),Kr("listRole")].concat(zx())),Lx=y([ll({schema:[ki(),sa("fakeFocus",!1)],name:"menu",defaults:e=>({onExecute:e.onExecute})}),Ox()]),Hx=fh({name:"Dropdown",configFields:Vx(),partFields:Lx(),factory:(e,t,o,n)=>{const s=e=>{zb.getState(e).each(e=>{Cx.highlightPrimary(e)})},r=(t,o,s)=>Ix(e,w,t,n,o,s),a={expand:e=>{hv.isOn(e)||r(e,b,Lc.HighlightNone).get(b)},open:e=>{hv.isOn(e)||r(e,b,Lc.HighlightMenuAndItem).get(b)},refetch:t=>Zg.getExistingCoupled(t,"sandbox").fold(()=>r(t,b,Lc.HighlightMenuAndItem).map(b),o=>Mx(e,w,t,o,n,b,Lc.HighlightMenuAndItem).map(b)),isOpen:hv.isOn,close:e=>{hv.isOn(e)&&r(e,b,Lc.HighlightMenuAndItem).get(b)},repositionMenus:e=>{hv.isOn(e)&&(e=>{const t=Zg.getCoupled(e,"sandbox");Rx(t)})(e)}},i=(e,t)=>(Gc(e),A.some(!0));return{uid:e.uid,dom:e.dom,components:t,behaviours:ih(e.dropdownBehaviours,[hv.config({toggleClass:e.toggleClass,aria:{mode:"expanded"}}),Zg.config({others:{sandbox:t=>Nx(e,t,{onOpen:()=>hv.on(t),onClose:()=>hv.off(t)})}}),Im.config({mode:"special",onSpace:i,onEnter:i,onDown:(e,t)=>{if(Hx.isOpen(e)){const t=Zg.getCoupled(e,"sandbox");s(t)}else Hx.open(e);return A.some(!0)},onEscape:(e,t)=>Hx.isOpen(e)?(Hx.close(e),A.some(!0)):A.none()}),_d.config({})]),events:Uv(A.some(e=>{r(e,s,Lc.HighlightMenuAndItem).get(b)})),eventOrder:{...e.eventOrder,[Ga()]:["disabling","toggling","alloy.base.behaviour"]},apis:a,domModification:{attributes:{"aria-haspopup":e.listRole.getOr("true"),...e.role.fold(()=>({}),e=>({role:e})),..."button"===e.dom.tag?{type:fe(e.dom,"attributes").bind(e=>fe(e,"type")).getOr("button")}:{}}}}},apis:{open:(e,t)=>e.open(t),refetch:(e,t)=>e.refetch(t),expand:(e,t)=>e.expand(t),close:(e,t)=>e.close(t),isOpen:(e,t)=>e.isOpen(t),repositionMenus:(e,t)=>e.repositionMenus(t)}}),Px="form",Ux=[rh("formBehaviours",[mf])],Wx=e=>"",jx=(e,t)=>({uid:e.uid,dom:e.dom,components:t,behaviours:ih(e.formBehaviours,[mf.config({store:{mode:"manual",getValue:t=>{const o=kl(t,e);return le(o,(e,t)=>e().bind(e=>{return o=Xg.getCurrent(e),n=new Error(`Cannot find a current component to extract the value from for form part '${t}': `+pi(e.element)),o.fold(()=>Ae.error(n),Ae.value);var o,n}).map(mf.getValue))},setValue:(t,o)=>{ie(o,(o,n)=>{wl(t,e,n).each(e=>{Xg.getCurrent(e).each(e=>{mf.setValue(e,o)})})})}}})]),apis:{getField:(t,o)=>wl(t,e,o).bind(Xg.getCurrent)}}),$x={getField:zm((e,t,o)=>e.getField(t,o)),sketch:e=>{const t=(()=>{const e=[];return{field:(t,o)=>(e.push(t),fl(Px,Wx(t),o)),record:y(e)}})(),o=e(t),n=t.record(),s=V(n,e=>il({name:e,pname:Wx(e)}));return uh(Px,Ux,s,jx,o)}},Gx=y([Pr("dom"),sa("shell",!0),rh("toolbarBehaviours",[ug])]),qx=y([cl({name:"groups",overrides:()=>({behaviours:hd([ug.config({})])})})]),Yx=fh({name:"Toolbar",configFields:Gx(),partFields:qx(),factory:(e,t,o,n)=>{const s=e.shell?{behaviours:[ug.config({})],components:[]}:{behaviours:[],components:t};return{uid:e.uid,dom:e.dom,components:s.components,behaviours:ih(e.toolbarBehaviours,s.behaviours),apis:{setGroups:(t,o)=>{var n;(n=t,e.shell?A.some(n):wl(n,e,"groups")).fold(()=>{throw console.error("Toolbar was defined to not be a shell, but no groups container was specified in components"),new Error("Toolbar was defined to not be a shell, but no groups container was specified in components")},e=>{ug.set(e,o)})},refresh:b},domModification:{attributes:{role:"toolbar"}}}},apis:{setGroups:(e,t,o)=>{e.setGroups(t,o)}}}),Xx=y([Oi(["toggledClass"]),Pr("lazySink"),Gr("fetch"),ta("getBounds"),na("fireDismissalEventInstead",[sa("event",ri())]),Mf(),Ti("onToggled")]),Kx=y([ll({name:"button",overrides:e=>({dom:{attributes:{"aria-haspopup":"true"}},buttonBehaviours:hd([hv.config({toggleClass:e.markers.toggledClass,aria:{mode:"expanded"},toggleOnExecute:!1,onToggled:e.onToggled})])})}),ll({factory:Yx,schema:Gx(),name:"toolbar",overrides:e=>({toolbarBehaviours:hd([Im.config({mode:"cyclic",onEscape:t=>(wl(t,e,"button").each(_d.focus),A.none())})])})})]),Jx=Ye(),Qx=(e,t)=>{const o=Zg.getCoupled(e,"toolbarSandbox");zb.isOpen(o)?zb.close(o):zb.open(o,t.toolbar())},Zx=(e,t,o,n)=>{const s=o.getBounds.map(e=>e()),r=o.lazySink(e).getOrDie();hb.positionWithinBounds(r,t,{anchor:{type:"hotspot",hotspot:e,layouts:n,overrides:{maxWidthFunction:Rc()}}},s)},ey=(e,t,o,n,s)=>{Yx.setGroups(t,s),Zx(e,t,o,n),hv.on(e)},ty=fh({name:"FloatingToolbarButton",factory:(e,t,o,n)=>({...Wv.sketch({...n.button(),action:e=>{Qx(e,n)},buttonBehaviours:ch({dump:n.button().buttonBehaviours},[Zg.config({others:{toolbarSandbox:t=>((e,t,o)=>{const n=Xv();return{dom:{tag:"div",attributes:{id:n.id}},behaviours:hd([Im.config({mode:"special",onEscape:e=>(zb.close(e),A.some(!0))}),zb.config({onOpen:(s,r)=>{const a=Jx.get().getOr(!1);o.fetch().get(s=>{ey(e,r,o,t.layouts,s),n.link(e.element),a||Im.focusIn(r)})},onClose:()=>{hv.off(e),Jx.get().getOr(!1)||_d.focus(e),n.unlink(e.element)},isPartOf:(t,o,n)=>Kv(o,n)||Kv(e,n),getAttachPoint:()=>o.lazySink(e).getOrDie()}),vb.config({channels:{...Tx({isExtraPart:T,...o.fireDismissalEventInstead.map(e=>({fireEventInstead:{event:e.event}})).getOr({})}),...Ax({doReposition:()=>{zb.getState(Zg.getCoupled(e,"toolbarSandbox")).each(n=>{Zx(e,n,o,t.layouts)})}})}})])}})(t,o,e)}})])}),apis:{setGroups:(t,n)=>{zb.getState(Zg.getCoupled(t,"toolbarSandbox")).each(s=>{ey(t,s,e,o.layouts,n)})},reposition:t=>{zb.getState(Zg.getCoupled(t,"toolbarSandbox")).each(n=>{Zx(t,n,e,o.layouts)})},toggle:e=>{Qx(e,n)},toggleWithoutFocusing:e=>{((e,t)=>{Jx.set(!0),Qx(e,t),Jx.clear()})(e,n)},getToolbar:e=>zb.getState(Zg.getCoupled(e,"toolbarSandbox")),isOpen:e=>zb.isOpen(Zg.getCoupled(e,"toolbarSandbox"))}}),configFields:Xx(),partFields:Kx(),apis:{setGroups:(e,t,o)=>{e.setGroups(t,o)},reposition:(e,t)=>{e.reposition(t)},toggle:(e,t)=>{e.toggle(t)},toggleWithoutFocusing:(e,t)=>{e.toggleWithoutFocusing(t)},getToolbar:(e,t)=>e.getToolbar(t),isOpen:(e,t)=>e.isOpen(t)}}),oy=y([sa("prefix","form-field"),rh("fieldBehaviours",[Xg,mf])]),ny=y([cl({schema:[Pr("dom")],name:"label"}),cl({factory:{sketch:e=>({uid:e.uid,dom:{tag:"span",styles:{display:"none"},attributes:{"aria-hidden":"true"},innerHtml:e.text}})},schema:[Pr("text")],name:"aria-descriptor"}),il({factory:{sketch:e=>{const t=((e,t)=>{const o={};return ie(e,(e,n)=>{F(t,n)||(o[n]=e)}),o})(e,["factory"]);return e.factory.sketch(t)}},schema:[Pr("factory")],name:"field"})]),sy=fh({name:"FormField",configFields:oy(),partFields:ny(),factory:(e,t,o,n)=>{const s=ih(e.fieldBehaviours,[Xg.config({find:t=>wl(t,e,"field")}),mf.config({store:{mode:"manual",getValue:e=>Xg.getCurrent(e).bind(mf.getValue),setValue:(e,t)=>{Xg.getCurrent(e).each(e=>{mf.setValue(e,t)})}}})]),r=Kc([id((t,o)=>{const n=Cl(t,e,["label","field","aria-descriptor"]);n.field().each(t=>{const o=Ne(e.prefix);n.label().each(e=>{Yo(e.element,"for",o),Yo(t.element,"id",o)}),n["aria-descriptor"]().each(o=>{const n=Ne(e.prefix);Yo(o.element,"id",n),Yo(t.element,"aria-describedby",n)})})})]),a={getField:t=>wl(t,e,"field"),getLabel:t=>wl(t,e,"label")};return{uid:e.uid,dom:e.dom,components:t,behaviours:s,events:r,apis:a}},apis:{getField:(e,t)=>e.getField(t),getLabel:(e,t)=>e.getLabel(t)}}),ry=y([sa("field1Name","field1"),sa("field2Name","field2"),Ai("onLockedChange"),Oi(["lockClass"]),sa("locked",!1),lh("coupledFieldBehaviours",[Xg,mf]),da("onInput",b)]),ay=(e,t)=>il({factory:sy,name:e,overrides:e=>({fieldBehaviours:hd([wd("coupled-input-behaviour",[Zc(Aa(),o=>{((e,t,o)=>wl(e,t,o).bind(Xg.getCurrent))(o,e,t).each(t=>{wl(o,e,"lock").each(n=>{hv.isOn(n)&&e.onLockedChange(o,t,n),e.onInput(o)})})})])])})}),iy=y([ay("field1","field2"),ay("field2","field1"),il({factory:Wv,schema:[Pr("dom")],name:"lock",overrides:e=>({buttonBehaviours:hd([hv.config({selected:e.locked,toggleClass:e.markers.lockClass,aria:{mode:"pressed"}})])})})]),ly=fh({name:"FormCoupledInputs",configFields:ry(),partFields:iy(),factory:(e,t,o,n)=>({uid:e.uid,dom:e.dom,components:t,behaviours:ch(e.coupledFieldBehaviours,[Xg.config({find:A.some}),mf.config({store:{mode:"manual",getValue:t=>{const o=_l(t,e,["field1","field2"]);return{[e.field1Name]:mf.getValue(o.field1()),[e.field2Name]:mf.getValue(o.field2())}},setValue:(t,o)=>{const n=_l(t,e,["field1","field2"]);ve(o,e.field1Name)&&mf.setValue(n.field1(),o[e.field1Name]),ve(o,e.field2Name)&&mf.setValue(n.field2(),o[e.field2Name])}}})]),apis:{getField1:t=>wl(t,e,"field1"),getField2:t=>wl(t,e,"field2"),getLock:t=>wl(t,e,"lock")}}),apis:{getField1:(e,t)=>e.getField1(t),getField2:(e,t)=>e.getField2(t),getLock:(e,t)=>e.getLock(t)}}),cy=hh({name:"HtmlSelect",configFields:[Pr("options"),rh("selectBehaviours",[_d,mf]),sa("selectClasses",[]),sa("selectAttributes",{}),Kr("data")],factory:(e,t)=>{const o=V(e.options,e=>({dom:{tag:"option",value:e.value,innerHtml:e.text}})),n=e.data.map(e=>ga("initialValue",e)).getOr({});return{uid:e.uid,dom:{tag:"select",classes:e.selectClasses,attributes:e.selectAttributes},components:o,behaviours:ih(e.selectBehaviours,[_d.config({}),mf.config({store:{mode:"manual",getValue:e=>ds(e.element),setValue:(t,o)=>{const n=te(e.options);j(e.options,e=>e.value===o).isSome()?us(t.element,o):-1===t.element.dom.selectedIndex&&""===o&&n.each(e=>us(t.element,e.value))},...n}})])}}}),dy=hh({name:"InlineView",configFields:[Pr("lazySink"),Ti("onShow"),Ti("onHide"),ta("onEscape"),rh("inlineBehaviours",[zb,mf,vb]),na("fireDismissalEventInstead",[sa("event",ri())]),na("fireRepositionEventInstead",[sa("event",ai())]),sa("getRelated",A.none),sa("isExtraPart",T),sa("eventOrder",A.none)],factory:(e,t)=>{const o=(t,o,n,s)=>{const r=e.lazySink(t).getOrDie();zb.openWhileCloaked(t,o,()=>hb.positionWithinBounds(r,t,n,s())),mf.setValue(t,A.some({mode:"position",config:n,getBounds:s}))},n=(t,o,n,s)=>{const r=((e,t,o,n,s)=>{const r=()=>e.lazySink(t),a="horizontal"===n.type?{layouts:{onLtr:()=>cc(),onRtl:()=>dc()}}:{},i=e=>(e=>2===e.length)(e)?a:{};return Cx.sketch({dom:{tag:"div"},data:n.data,markers:n.menu.markers,highlightOnOpen:n.menu.highlightOnOpen,fakeFocus:n.menu.fakeFocus,onEscape:()=>(zb.close(t),e.onEscape.map(e=>e(t)),A.some(!0)),onExecute:()=>A.some(!0),onOpenMenu:(e,t)=>{hb.positionWithinBounds(r().getOrDie(),t,o,s())},onOpenSubmenu:(e,t,o,n)=>{const s=r().getOrDie();hb.position(s,o,{anchor:{type:"submenu",item:t,...i(n)}})},onRepositionMenu:(e,t,n)=>{const a=r().getOrDie();hb.positionWithinBounds(a,t,o,s()),L(n,e=>{const t=i(e.triggeringPath);hb.position(a,e.triggeredMenu,{anchor:{type:"submenu",item:e.triggeringItem,...t}})})}})})(e,t,o,n,s);zb.open(t,r),mf.setValue(t,A.some({mode:"menu",menu:r}))},s=t=>{zb.isOpen(t)&&mf.getValue(t).each(o=>{switch(o.mode){case"menu":zb.getState(t).each(Cx.repositionMenus);break;case"position":const n=e.lazySink(t).getOrDie();hb.positionWithinBounds(n,t,o.config,o.getBounds())}})},r={setContent:(e,t)=>{zb.setContent(e,t)},showAt:(e,t,n)=>{const s=A.none;o(e,t,n,s)},showWithinBounds:o,showMenuAt:(e,t,o)=>{n(e,t,o,A.none)},showMenuWithinBounds:n,hide:e=>{zb.isOpen(e)&&(mf.setValue(e,A.none()),zb.close(e))},getContent:e=>zb.getState(e),reposition:s,isOpen:zb.isOpen};return{uid:e.uid,dom:e.dom,behaviours:ih(e.inlineBehaviours,[zb.config({isPartOf:(t,o,n)=>Kv(o,n)||((t,o)=>e.getRelated(t).exists(e=>Kv(e,o)))(t,n),getAttachPoint:t=>e.lazySink(t).getOrDie(),onOpen:t=>{e.onShow(t)},onClose:t=>{e.onHide(t)}}),mf.config({store:{mode:"memory",initialValue:A.none()}}),vb.config({channels:{...Tx({isExtraPart:t.isExtraPart,...e.fireDismissalEventInstead.map(e=>({fireEventInstead:{event:e.event}})).getOr({})}),...Ax({...e.fireRepositionEventInstead.map(e=>({fireEventInstead:{event:e.event}})).getOr({}),doReposition:s})}})]),eventOrder:e.eventOrder,apis:r}},apis:{showAt:(e,t,o,n)=>{e.showAt(t,o,n)},showWithinBounds:(e,t,o,n,s)=>{e.showWithinBounds(t,o,n,s)},showMenuAt:(e,t,o,n)=>{e.showMenuAt(t,o,n)},showMenuWithinBounds:(e,t,o,n,s)=>{e.showMenuWithinBounds(t,o,n,s)},hide:(e,t)=>{e.hide(t)},isOpen:(e,t)=>e.isOpen(t),getContent:(e,t)=>e.getContent(t),setContent:(e,t,o)=>{e.setContent(t,o)},reposition:(e,t)=>{e.reposition(t)}}}),uy=y([ia("type","text"),Kr("data"),sa("inputAttributes",{}),sa("inputStyles",{}),sa("tag","input"),sa("inputClasses",[]),Ti("onSetValue"),da("fromInputValue",w),da("toInputValue",w),sa("styles",{}),sa("eventOrder",{}),rh("inputBehaviours",[mf,_d]),sa("selectOnFocus",!0)]),my=e=>hd([_d.config({onFocus:e.selectOnFocus?t=>{const o=t.element,n=ds(o);"range"!==e.type&&o.dom.setSelectionRange(0,n.length)}:b})]),gy=e=>({...my(e),...ih(e.inputBehaviours,[mf.config({store:{mode:"manual",...e.data.map(e=>({initialValue:e})).getOr({}),getValue:t=>e.fromInputValue(ds(t.element)),setValue:(t,o)=>{ds(t.element)!==o&&us(t.element,e.toInputValue(o))}},onSetValue:e.onSetValue})])}),py=e=>({tag:e.tag,attributes:{type:e.type,...e.inputAttributes},styles:e.inputStyles,classes:e.inputClasses}),hy=hh({name:"Input",configFields:uy(),factory:(e,t)=>({uid:e.uid,dom:py(e),components:[],behaviours:gy(e),eventOrder:e.eventOrder})}),fy=pl(lx(),cx()),by=y([Pr("lazySink"),Kr("dragBlockClass"),da("getBounds",Ws),sa("useTabstopAt",E),sa("firstTabstop",0),sa("eventOrder",{}),la("role","dialog",["dialog","alertdialog"]),rh("modalBehaviours",[Im]),Ei("onExecute"),Di("onEscape")]),vy={sketch:w},xy=y([cl({name:"draghandle",overrides:(e,t)=>({behaviours:hd([Wh.config({mode:"mouse",getTarget:e=>Gn(e,'[role="dialog"]').getOr(e),blockerClass:e.dragBlockClass.getOrDie(new Error("The drag blocker class was not specified for a dialog with a drag handle: \n"+JSON.stringify(t,null,2)).message),getBounds:e.getDragBounds})])})}),il({schema:[Pr("dom")],name:"title"}),il({factory:vy,schema:[Pr("dom")],name:"close"}),il({factory:vy,schema:[Pr("dom")],name:"body"}),cl({factory:vy,schema:[Pr("dom")],name:"footer"}),ll({factory:{sketch:(e,t)=>({...e,dom:t.dom,components:t.components})},schema:[sa("dom",{tag:"div",styles:{position:"fixed",left:"0px",top:"0px",right:"0px",bottom:"0px"}}),sa("components",[])],name:"blocker"})]),yy=fh({name:"ModalDialog",configFields:by(),partFields:xy(),factory:(e,t,o,n)=>{const s=Ye(),r=Ne("modal-events"),a={...e.eventOrder,[ni()]:[r].concat(e.eventOrder["alloy.system.attached"]||[])},i=Qt();return{uid:e.uid,dom:e.dom,components:t,apis:{show:t=>{s.set(t);const o=e.lazySink(t).getOrDie(),r=n.blocker(),a=o.getSystem().build({...r,components:r.components.concat([Ug(t)]),behaviours:hd([_d.config({}),wd("dialog-blocker-events",[ad(Oa(),()=>{Gg.isBlocked(t)||Im.focusIn(t)})])])});jm(o,a),Im.focusIn(t)},hide:e=>{s.clear(),po(e.element).each(t=>{e.getSystem().getByDom(t).each(e=>{qm(e)})})},getBody:t=>Sl(t,e,"body"),getFooter:t=>wl(t,e,"footer"),setIdle:e=>{Gg.unblock(e)},setBusy:(e,t)=>{Gg.block(e,t)}},eventOrder:a,domModification:{attributes:{role:e.role,"aria-modal":"true"}},behaviours:ih(e.modalBehaviours,[ug.config({}),Im.config({mode:"cyclic",onEnter:e.onExecute,onEscape:e.onEscape,useTabstopAt:e.useTabstopAt,firstTabstop:e.firstTabstop}),Gg.config({getRoot:s.get}),wd(r,[id(t=>{const o=Sl(t,e,"title").element,n=(e=>e.dom.textContent)(o);g(n)&&""!==n&&(i.os.isMacOS()?Yo(t.element,"aria-label",n):((e,t)=>{const o=Jo(e,"id").fold(()=>{const e=Ne("dialog-label");return Yo(t,"id",e),e},w);Yo(e,"aria-labelledby",o)})(t.element,o))})])])}},apis:{show:(e,t)=>{e.show(t)},hide:(e,t)=>{e.hide(t)},getBody:(e,t)=>e.getBody(t),getFooter:(e,t)=>e.getFooter(t),setBusy:(e,t,o)=>{e.setBusy(t,o)},setIdle:(e,t)=>{e.setIdle(t)}}}),wy=cl({schema:[Pr("dom")],name:"label"}),Sy=e=>cl({name:e+"-edge",overrides:t=>t.model.manager.edgeActions[e].fold(()=>({}),e=>({events:Kc([ed(fa(),(t,o,n)=>e(t,n),[t]),ed(ya(),(t,o,n)=>e(t,n),[t]),ed(wa(),(t,o,n)=>{n.mouseIsDown.get()&&e(t,n)},[t])])}))}),Cy=Sy("top-left"),ky=Sy("top"),Oy=Sy("top-right"),_y=Sy("right"),Ty=Sy("bottom-right"),Ey=Sy("bottom"),Ay=Sy("bottom-left"),Dy=Sy("left"),My=il({name:"thumb",defaults:y({dom:{styles:{position:"absolute"}}}),overrides:e=>({events:Kc([od(fa(),e,"spectrum"),od(ba(),e,"spectrum"),od(va(),e,"spectrum"),od(ya(),e,"spectrum"),od(wa(),e,"spectrum"),od(Ca(),e,"spectrum")])})}),By=e=>Gd(e.event),Iy=il({schema:[Lr("mouseIsDown",()=>ye(!1))],name:"spectrum",overrides:e=>{const t=e.model.manager,o=(o,n)=>t.getValueFromEvent(n).map(n=>t.setValueFrom(o,e,n));return{behaviours:hd([Im.config({mode:"special",onLeft:(o,n)=>t.onLeft(o,e,By(n)),onRight:(o,n)=>t.onRight(o,e,By(n)),onUp:(o,n)=>t.onUp(o,e,By(n)),onDown:(o,n)=>t.onDown(o,e,By(n))}),iv.config({}),_d.config({})]),events:Kc([Zc(fa(),o),Zc(ba(),o),Zc(ya(),o),Zc(wa(),(t,n)=>{e.mouseIsDown.get()&&o(t,n)})])}}});var Fy=[wy,Dy,_y,ky,Ey,Cy,Oy,Ay,Ty,My,Iy];const Ry=y("slider.change.value"),Ny=e=>{const t=e.event.raw;if((e=>-1!==e.type.indexOf("touch"))(t)){const e=t;return void 0!==e.touches&&1===e.touches.length?A.some(e.touches[0]).map(e=>Bn(e.clientX,e.clientY)):A.none()}{const e=t;return void 0!==e.clientX?A.some(e).map(e=>Bn(e.clientX,e.clientY)):A.none()}},zy=e=>e.model.minX,Vy=e=>e.model.minY,Ly=e=>e.model.minX-1,Hy=e=>e.model.minY-1,Py=e=>e.model.maxX,Uy=e=>e.model.maxY,Wy=e=>e.model.maxX+1,jy=e=>e.model.maxY+1,$y=(e,t,o)=>t(e)-o(e),Gy=e=>$y(e,Py,zy),qy=e=>$y(e,Uy,Vy),Yy=e=>Gy(e)/2,Xy=e=>qy(e)/2,Ky=(e,t)=>t?e.stepSize*e.speedMultiplier:e.stepSize,Jy=e=>e.snapToGrid,Qy=e=>e.snapStart,Zy=e=>e.rounded,ew=(e,t)=>void 0!==e[t+"-edge"],tw=e=>ew(e,"left"),ow=e=>ew(e,"right"),nw=e=>ew(e,"top"),sw=e=>ew(e,"bottom"),rw=e=>e.model.value.get(),aw=(e,t)=>({x:e,y:t}),iw=(e,t)=>{$c(e,Ry(),{value:t})},lw=(e,t,o,n)=>eo?o:e===t?t-1:Math.max(t,e-n),cw=(e,t,o,n)=>e>o?e:eMath.max(t,Math.min(o,e)),uw=e=>{const{min:t,max:o,range:n,value:s,step:r,snap:a,snapStart:i,rounded:l,hasMinEdge:c,hasMaxEdge:d,minBound:u,maxBound:m,screenRange:g}=e,p=c?t-1:t,h=d?o+1:o;if(sm)return h;{const e=((e,t,o)=>Math.min(o,Math.max(e,t))-t)(s,u,m),c=dw(e/g*n+t,p,h);return a&&c>=t&&c<=o?((e,t,o,n,s)=>s.fold(()=>{const s=e-t,r=Math.round(s/n)*n;return dw(t+r,t-1,o+1)},t=>{const s=(e-t)%n,r=Math.round(s/n),a=Math.floor((e-t)/n),i=Math.floor((o-t)/n),l=t+Math.min(i,a+r)*n;return Math.max(t,l)}))(c,t,o,r,i):l?Math.round(c):c}},mw=e=>{const{min:t,max:o,range:n,value:s,hasMinEdge:r,hasMaxEdge:a,maxBound:i,maxOffset:l,centerMinEdge:c,centerMaxEdge:d}=e;return so?a?i:d:(s-t)/n*l},gw="top",pw="right",hw="bottom",fw="left",bw=e=>e.element.dom.getBoundingClientRect(),vw=(e,t)=>e[t],xw=e=>{const t=bw(e);return vw(t,fw)},yw=e=>{const t=bw(e);return vw(t,pw)},ww=e=>{const t=bw(e);return vw(t,gw)},Sw=e=>{const t=bw(e);return vw(t,hw)},Cw=e=>{const t=bw(e);return vw(t,"width")},kw=e=>{const t=bw(e);return vw(t,"height")},Ow=(e,t,o)=>(e+t)/2-o,_w=(e,t)=>{const o=bw(e),n=bw(t),s=vw(o,fw),r=vw(o,pw),a=vw(n,fw);return Ow(s,r,a)},Tw=(e,t)=>{const o=bw(e),n=bw(t),s=vw(o,gw),r=vw(o,hw),a=vw(n,gw);return Ow(s,r,a)},Ew=(e,t)=>{$c(e,Ry(),{value:t})},Aw=(e,t,o)=>{const n={min:zy(t),max:Py(t),range:Gy(t),value:o,step:Ky(t),snap:Jy(t),snapStart:Qy(t),rounded:Zy(t),hasMinEdge:tw(t),hasMaxEdge:ow(t),minBound:xw(e),maxBound:yw(e),screenRange:Cw(e)};return uw(n)},Dw=e=>(t,o,n)=>((e,t,o,n)=>{const s=(e>0?cw:lw)(rw(o),zy(o),Py(o),Ky(o,n));return Ew(t,s),A.some(s)})(e,t,o,n).map(E),Mw=(e,t,o,n,s,r)=>{const a=((e,t,o,n,s)=>{const r=Cw(e),a=n.bind(t=>A.some(_w(t,e))).getOr(0),i=s.bind(t=>A.some(_w(t,e))).getOr(r),l={min:zy(t),max:Py(t),range:Gy(t),value:o,hasMinEdge:tw(t),hasMaxEdge:ow(t),minBound:xw(e),minOffset:0,maxBound:yw(e),maxOffset:r,centerMinEdge:a,centerMaxEdge:i};return mw(l)})(t,r,o,n,s);return xw(t)-xw(e)+a},Bw=Dw(-1),Iw=Dw(1),Fw=A.none,Rw=A.none,Nw={"top-left":A.none(),top:A.none(),"top-right":A.none(),right:A.some((e,t)=>{iw(e,Wy(t))}),"bottom-right":A.none(),bottom:A.none(),"bottom-left":A.none(),left:A.some((e,t)=>{iw(e,Ly(t))})};var zw=Object.freeze({__proto__:null,setValueFrom:(e,t,o)=>{const n=Aw(e,t,o);return Ew(e,n),n},setToMin:(e,t)=>{const o=zy(t);Ew(e,o)},setToMax:(e,t)=>{const o=Py(t);Ew(e,o)},findValueOfOffset:Aw,getValueFromEvent:e=>Ny(e).map(e=>e.left),findPositionOfValue:Mw,setPositionFromValue:(e,t,o,n)=>{const s=rw(o),r=Mw(e,n.getSpectrum(e),s,n.getLeftEdge(e),n.getRightEdge(e),o),a=An(t.element)/2;gn(t.element,"left",r-a+"px")},onLeft:Bw,onRight:Iw,onUp:Fw,onDown:Rw,edgeActions:Nw});const Vw=(e,t)=>{$c(e,Ry(),{value:t})},Lw=(e,t,o)=>{const n={min:Vy(t),max:Uy(t),range:qy(t),value:o,step:Ky(t),snap:Jy(t),snapStart:Qy(t),rounded:Zy(t),hasMinEdge:nw(t),hasMaxEdge:sw(t),minBound:ww(e),maxBound:Sw(e),screenRange:kw(e)};return uw(n)},Hw=e=>(t,o,n)=>((e,t,o,n)=>{const s=(e>0?cw:lw)(rw(o),Vy(o),Uy(o),Ky(o,n));return Vw(t,s),A.some(s)})(e,t,o,n).map(E),Pw=(e,t,o,n,s,r)=>{const a=((e,t,o,n,s)=>{const r=kw(e),a=n.bind(t=>A.some(Tw(t,e))).getOr(0),i=s.bind(t=>A.some(Tw(t,e))).getOr(r),l={min:Vy(t),max:Uy(t),range:qy(t),value:o,hasMinEdge:nw(t),hasMaxEdge:sw(t),minBound:ww(e),minOffset:0,maxBound:Sw(e),maxOffset:r,centerMinEdge:a,centerMaxEdge:i};return mw(l)})(t,r,o,n,s);return ww(t)-ww(e)+a},Uw=A.none,Ww=A.none,jw=Hw(-1),$w=Hw(1),Gw={"top-left":A.none(),top:A.some((e,t)=>{iw(e,Hy(t))}),"top-right":A.none(),right:A.none(),"bottom-right":A.none(),bottom:A.some((e,t)=>{iw(e,jy(t))}),"bottom-left":A.none(),left:A.none()};var qw=Object.freeze({__proto__:null,setValueFrom:(e,t,o)=>{const n=Lw(e,t,o);return Vw(e,n),n},setToMin:(e,t)=>{const o=Vy(t);Vw(e,o)},setToMax:(e,t)=>{const o=Uy(t);Vw(e,o)},findValueOfOffset:Lw,getValueFromEvent:e=>Ny(e).map(e=>e.top),findPositionOfValue:Pw,setPositionFromValue:(e,t,o,n)=>{const s=rw(o),r=Pw(e,n.getSpectrum(e),s,n.getTopEdge(e),n.getBottomEdge(e),o),a=On(t.element)/2;gn(t.element,"top",r-a+"px")},onLeft:Uw,onRight:Ww,onUp:jw,onDown:$w,edgeActions:Gw});const Yw=(e,t)=>{$c(e,Ry(),{value:t})},Xw=(e,t)=>({x:e,y:t}),Kw=(e,t)=>(o,n,s)=>((e,t,o,n,s)=>{const r=e>0?cw:lw,a=t?rw(n).x:r(rw(n).x,zy(n),Py(n),Ky(n,s)),i=t?r(rw(n).y,Vy(n),Uy(n),Ky(n,s)):rw(n).y;return Yw(o,Xw(a,i)),A.some(a)})(e,t,o,n,s).map(E),Jw=Kw(-1,!1),Qw=Kw(1,!1),Zw=Kw(-1,!0),eS=Kw(1,!0),tS={"top-left":A.some((e,t)=>{iw(e,aw(Ly(t),Hy(t)))}),top:A.some((e,t)=>{iw(e,aw(Yy(t),Hy(t)))}),"top-right":A.some((e,t)=>{iw(e,aw(Wy(t),Hy(t)))}),right:A.some((e,t)=>{iw(e,aw(Wy(t),Xy(t)))}),"bottom-right":A.some((e,t)=>{iw(e,aw(Wy(t),jy(t)))}),bottom:A.some((e,t)=>{iw(e,aw(Yy(t),jy(t)))}),"bottom-left":A.some((e,t)=>{iw(e,aw(Ly(t),jy(t)))}),left:A.some((e,t)=>{iw(e,aw(Ly(t),Xy(t)))})};var oS=Object.freeze({__proto__:null,setValueFrom:(e,t,o)=>{const n=Aw(e,t,o.left),s=Lw(e,t,o.top),r=Xw(n,s);return Yw(e,r),r},setToMin:(e,t)=>{const o=zy(t),n=Vy(t);Yw(e,Xw(o,n))},setToMax:(e,t)=>{const o=Py(t),n=Uy(t);Yw(e,Xw(o,n))},getValueFromEvent:e=>Ny(e),setPositionFromValue:(e,t,o,n)=>{const s=rw(o),r=Mw(e,n.getSpectrum(e),s.x,n.getLeftEdge(e),n.getRightEdge(e),o),a=Pw(e,n.getSpectrum(e),s.y,n.getTopEdge(e),n.getBottomEdge(e),o),i=An(t.element)/2,l=On(t.element)/2;gn(t.element,"left",r-i+"px"),gn(t.element,"top",a-l+"px")},onLeft:Jw,onRight:Qw,onUp:Zw,onDown:eS,edgeActions:tS});const nS=fh({name:"Slider",configFields:[sa("stepSize",1),sa("speedMultiplier",10),sa("onChange",b),sa("onChoose",b),sa("onInit",b),sa("onDragStart",b),sa("onDragEnd",b),sa("snapToGrid",!1),sa("rounded",!0),Kr("snapStart"),Ur("model",Nr("mode",{x:[sa("minX",0),sa("maxX",100),Lr("value",e=>ye(e.mode.minX)),Pr("getInitialValue"),Mi("manager",zw)],y:[sa("minY",0),sa("maxY",100),Lr("value",e=>ye(e.mode.minY)),Pr("getInitialValue"),Mi("manager",qw)],xy:[sa("minX",0),sa("maxX",100),sa("minY",0),sa("maxY",100),Lr("value",e=>ye({x:e.mode.minX,y:e.mode.minY})),Pr("getInitialValue"),Mi("manager",oS)]})),rh("sliderBehaviours",[Im,mf]),Lr("mouseIsDown",()=>ye(!1))],partFields:Fy,factory:(e,t,o,n)=>{const s=t=>Sl(t,e,"thumb"),r=t=>Sl(t,e,"spectrum"),a=t=>wl(t,e,"left-edge"),i=t=>wl(t,e,"right-edge"),l=t=>wl(t,e,"top-edge"),c=t=>wl(t,e,"bottom-edge"),d=e.model,u=d.manager,m=(t,o)=>{u.setPositionFromValue(t,o,e,{getLeftEdge:a,getRightEdge:i,getTopEdge:l,getBottomEdge:c,getSpectrum:r})},g=(e,t)=>{d.value.set(t);const o=s(e);m(e,o)},p=t=>{const o=e.mouseIsDown.get();e.mouseIsDown.set(!1),o&&wl(t,e,"thumb").each(o=>{const n=d.value.get();e.onChoose(t,o,n)})},h=(t,o)=>{o.stop(),e.mouseIsDown.set(!0),e.onDragStart(t,s(t))},f=(t,o)=>{o.stop(),e.onDragEnd(t,s(t)),p(t)},b=t=>{wl(t,e,"spectrum").map(Im.focusIn)};return{uid:e.uid,dom:e.dom,components:t,behaviours:ih(e.sliderBehaviours,[Im.config({mode:"special",focusIn:b}),mf.config({store:{mode:"manual",getValue:e=>d.value.get(),setValue:g}}),vb.config({channels:{[Ld()]:{onReceive:p}}})]),events:Kc([Zc(Ry(),(t,o)=>{((t,o)=>{g(t,o);const n=s(t);e.onChange(t,n,o),A.some(!0)})(t,o.event.value)}),id((t,o)=>{const n=d.getInitialValue();d.value.set(n);const a=s(t);m(t,a);const i=r(t);e.onInit(t,a,i,d.value.get())}),Zc(fa(),h),Zc(va(),f),Zc(ya(),(e,t)=>{b(e),h(e,t)}),Zc(Ca(),f)]),apis:{resetToMin:t=>{u.setToMin(t,e)},resetToMax:t=>{u.setToMax(t,e)},setValue:g,refresh:m},domModification:{styles:{position:"relative"}}}},apis:{setValue:(e,t,o)=>{e.setValue(t,o)},resetToMin:(e,t)=>{e.resetToMin(t)},resetToMax:(e,t)=>{e.resetToMax(t)},refresh:(e,t)=>{e.refresh(t)}}}),sS="container",rS=[rh("slotBehaviours",[])],aS=e=>"",iS=(e,t)=>{const o=t=>Ol(e),n=(t,o)=>(n,s)=>wl(n,e,s).map(e=>t(e,s)).getOr(o),s=(e,t)=>"true"!==Ko(e.element,"aria-hidden"),r=n(s,!1),a=n((e,t)=>{if(s(e)){const o=e.element;gn(o,"display","none"),Yo(o,"aria-hidden","true"),$c(e,li(),{name:t,visible:!1})}}),i=(e=>(t,o)=>{L(o,o=>e(t,o))})(a),l=n((e,t)=>{if(!s(e)){const o=e.element;wn(o,"display"),Zo(o,"aria-hidden"),$c(e,li(),{name:t,visible:!0})}}),c={getSlotNames:o,getSlot:(t,o)=>wl(t,e,o),isShowing:r,hideSlot:a,hideAllSlots:e=>i(e,o()),showSlot:l};return{uid:e.uid,dom:e.dom,components:t,behaviours:ah(e.slotBehaviours),apis:c}},lS=le({getSlotNames:(e,t)=>e.getSlotNames(t),getSlot:(e,t,o)=>e.getSlot(t,o),isShowing:(e,t,o)=>e.isShowing(t,o),hideSlot:(e,t,o)=>e.hideSlot(t,o),hideAllSlots:(e,t)=>e.hideAllSlots(t),showSlot:(e,t,o)=>e.showSlot(t,o)},e=>zm(e)),cS={...lS,sketch:e=>{const t=(()=>{const e=[];return{slot:(t,o)=>(e.push(t),fl(sS,aS(t),o)),record:y(e)}})(),o=e(t),n=t.record(),s=V(n,e=>il({name:e,pname:aS(e)}));return uh(sS,rS,s,iS,o)}},dS=(e,t,o)=>({within:e,extra:t,withinWidth:o}),uS=(e,t,o)=>{const n=W(e,(e,t)=>((e,t)=>{const n=o(e);return A.some({element:e,start:t,finish:t+n,width:n})})(t,e.len).fold(y(e),t=>({len:t.finish,list:e.list.concat([t])})),{len:0,list:[]}).list,s=P(n,e=>e.finish<=t),r=U(s,(e,t)=>e+t.width,0);return{within:s,extra:n.slice(s.length),withinWidth:r}},mS=e=>V(e,e=>e.element),gS=(e,t)=>{const o=V(t,e=>Ug(e));Yx.setGroups(e,o)},pS=(e,t,o)=>{const n=t.builtGroups.get();if(0===n.length)return;const s=Sl(e,t,"primary"),r=Zg.getCoupled(e,"overflowGroup");gn(s.element,"visibility","hidden");const a=n.concat([r]),i=se(a,e=>Po(e.element).bind(t=>e.getSystem().getByDom(t).toOptional()));o([]),gS(s,a);const l=((e,t,o,n)=>{const s=((e,t,o)=>{const n=uS(t,e,o);return 0===n.extra.length?A.some(n):A.none()})(e,t,o).getOrThunk(()=>uS(t,e-o(n),o)),r=s.within,a=s.extra,i=s.withinWidth;return 1===a.length&&a[0].width<=o(n)?((e,t,o)=>{const n=mS(e.concat(t));return dS(n,[],o)})(r,a,i):a.length>=1?((e,t,o,n)=>{const s=mS(e).concat([o]);return dS(s,mS(t),n)})(r,a,n,i):((e,t,o)=>dS(mS(e),[],o))(r,0,i)})(An(s.element),t.builtGroups.get(),e=>Math.ceil(e.element.dom.getBoundingClientRect().width),r);0===l.extra.length?(ug.remove(s,r),o([])):(gS(s,l.within),o(l.extra)),wn(s.element,"visibility"),Sn(s.element),i.each(_d.focus)},hS=y([rh("splitToolbarBehaviours",[Zg]),Lr("builtGroups",()=>ye([]))]),fS=y([Oi(["overflowToggledClass"]),ta("getOverflowBounds"),Pr("lazySink"),Lr("overflowGroups",()=>ye([])),Ti("onOpened"),Ti("onClosed")].concat(hS())),bS=y([il({factory:Yx,schema:Gx(),name:"primary"}),ll({schema:Gx(),name:"overflow"}),ll({name:"overflow-button"}),ll({name:"overflow-group"})]),vS=y([Pr("items"),Oi(["itemSelector"]),rh("tgroupBehaviours",[Im])]),xS=y([dl({name:"items",unit:"item"})]),yS=fh({name:"ToolbarGroup",configFields:vS(),partFields:xS(),factory:(e,t,o,n)=>({uid:e.uid,dom:e.dom,components:t,behaviours:ih(e.tgroupBehaviours,[Im.config({mode:"flow",selector:e.markers.itemSelector})]),domModification:{attributes:{role:"group"}}})}),wS=e=>V(e,e=>Ug(e)),SS=(e,t,o)=>{pS(e,o,n=>{o.overflowGroups.set(n),t.getOpt(e).each(e=>{ty.setGroups(e,wS(n))})})},CS=fh({name:"SplitFloatingToolbar",configFields:fS(),partFields:bS(),factory:(e,t,o,n)=>{const s=Dv(ty.sketch({fetch:()=>Oe(t=>{t(wS(e.overflowGroups.get()))}),layouts:{onLtr:()=>[Ql,Jl],onRtl:()=>[Jl,Ql],onBottomLtr:()=>[ec,Zl],onBottomRtl:()=>[Zl,ec]},getBounds:o.getOverflowBounds,lazySink:e.lazySink,fireDismissalEventInstead:{},markers:{toggledClass:e.markers.overflowToggledClass},parts:{button:n["overflow-button"](),toolbar:n.overflow()},onToggled:(t,o)=>e[o?"onOpened":"onClosed"](t)}));return{uid:e.uid,dom:e.dom,components:t,behaviours:ih(e.splitToolbarBehaviours,[Zg.config({others:{overflowGroup:()=>yS.sketch({...n["overflow-group"](),items:[s.asSpec()]})}})]),apis:{setGroups:(t,o)=>{e.builtGroups.set(V(o,t.getSystem().build)),SS(t,s,e)},refresh:t=>SS(t,s,e),toggle:e=>{s.getOpt(e).each(e=>{ty.toggle(e)})},toggleWithoutFocusing:e=>{s.getOpt(e).each(ty.toggleWithoutFocusing)},isOpen:e=>s.getOpt(e).map(ty.isOpen).getOr(!1),reposition:e=>{s.getOpt(e).each(e=>{ty.reposition(e)})},getOverflow:e=>s.getOpt(e).bind(ty.getToolbar)},domModification:{attributes:{role:"group"}}}},apis:{setGroups:(e,t,o)=>{e.setGroups(t,o)},refresh:(e,t)=>{e.refresh(t)},reposition:(e,t)=>{e.reposition(t)},toggle:(e,t)=>{e.toggle(t)},toggleWithoutFocusing:(e,t)=>{e.toggle(t)},isOpen:(e,t)=>e.isOpen(t),getOverflow:(e,t)=>e.getOverflow(t)}}),kS=y([Oi(["closedClass","openClass","shrinkingClass","growingClass","overflowToggledClass"]),Ti("onOpened"),Ti("onClosed")].concat(hS())),OS=y([il({factory:Yx,schema:Gx(),name:"primary"}),il({factory:Yx,schema:Gx(),name:"overflow",overrides:e=>({toolbarBehaviours:hd([Zb.config({dimension:{property:"height"},closedClass:e.markers.closedClass,openClass:e.markers.openClass,shrinkingClass:e.markers.shrinkingClass,growingClass:e.markers.growingClass,onShrunk:t=>{wl(t,e,"overflow-button").each(e=>{hv.off(e)}),e.onClosed(t)},onGrown:t=>{e.onOpened(t)},onStartGrow:t=>{wl(t,e,"overflow-button").each(hv.on)}}),Im.config({mode:"acyclic",onEscape:t=>(wl(t,e,"overflow-button").each(_d.focus),A.some(!0))})])})}),ll({name:"overflow-button",overrides:e=>({buttonBehaviours:hd([hv.config({toggleClass:e.markers.overflowToggledClass,aria:{mode:"expanded"},toggleOnExecute:!1})])})}),ll({name:"overflow-group"})]),_S=(e,t,o)=>{wl(e,t,"overflow-button").each(n=>{wl(e,t,"overflow").each(s=>{if(TS(e,t),Zb.hasShrunk(s)){const e=t.onOpened;t.onOpened=n=>{o||Im.focusIn(s),e(n),t.onOpened=e}}else{const e=t.onClosed;t.onClosed=s=>{o||_d.focus(n),e(s),t.onClosed=e}}Zb.toggleGrow(s)})})},TS=(e,t)=>{wl(e,t,"overflow").each(o=>{pS(e,t,e=>{const t=V(e,e=>Ug(e));Yx.setGroups(o,t)}),wl(e,t,"overflow-button").each(e=>{Zb.hasGrown(o)&&hv.on(e)}),Zb.refresh(o)})},ES=fh({name:"SplitSlidingToolbar",configFields:kS(),partFields:OS(),factory:(e,t,o,n)=>{const s="alloy.toolbar.toggle";return{uid:e.uid,dom:e.dom,components:t,behaviours:ih(e.splitToolbarBehaviours,[Zg.config({others:{overflowGroup:e=>yS.sketch({...n["overflow-group"](),items:[Wv.sketch({...n["overflow-button"](),action:t=>{jc(e,s)}})]})}}),wd("toolbar-toggle-events",[Zc(s,t=>{_S(t,e,!1)})])]),apis:{setGroups:(t,o)=>{((t,o)=>{const n=V(o,t.getSystem().build);e.builtGroups.set(n)})(t,o),TS(t,e)},refresh:t=>TS(t,e),toggle:t=>{_S(t,e,!1)},toggleWithoutFocusing:t=>{_S(t,e,!0)},isOpen:t=>((e,t)=>wl(e,t,"overflow").map(Zb.hasGrown).getOr(!1))(t,e)},domModification:{attributes:{role:"group"}}}},apis:{setGroups:(e,t,o)=>{e.setGroups(t,o)},refresh:(e,t)=>{e.refresh(t)},toggle:(e,t)=>{e.toggle(t)},isOpen:(e,t)=>e.isOpen(t)}}),AS=hh({name:"TabButton",configFields:[sa("uid",void 0),Pr("value"),Vr("dom","dom",hr(()=>({attributes:{role:"tab",id:Ne("aria"),"aria-selected":"false"}})),rr()),Kr("action"),sa("domModification",{}),rh("tabButtonBehaviours",[_d,Im,mf]),Pr("view")],factory:(e,t)=>({uid:e.uid,dom:e.dom,components:e.components,events:Uv(e.action),behaviours:ih(e.tabButtonBehaviours,[_d.config({}),Im.config({mode:"execution",useSpace:!0,useEnter:!0}),mf.config({store:{mode:"memory",initialValue:e.value}})]),domModification:e.domModification})}),DS=y([Pr("tabs"),Pr("dom"),sa("clickToDismiss",!1),rh("tabbarBehaviours",[ru,Im]),Oi(["tabClass","selectedClass"])]),MS=dl({factory:AS,name:"tabs",unit:"tab",overrides:e=>{const t=(e,t)=>{ru.dehighlight(e,t),$c(e,ui(),{tabbar:e,button:t})},o=(e,t)=>{ru.highlight(e,t),$c(e,di(),{tabbar:e,button:t})};return{action:n=>{const s=n.getSystem().getByUid(e.uid).getOrDie(),r=ru.isHighlighted(s,n);(r&&e.clickToDismiss?t:r?b:o)(s,n)},domModification:{classes:[e.markers.tabClass]}}}}),BS=y([MS]),IS=fh({name:"Tabbar",configFields:DS(),partFields:BS(),factory:(e,t,o,n)=>({uid:e.uid,dom:e.dom,components:t,"debug.sketcher":"Tabbar",domModification:{attributes:{role:"tablist"}},behaviours:ih(e.tabbarBehaviours,[ru.config({highlightClass:e.markers.selectedClass,itemClass:e.markers.tabClass,onHighlight:(e,t)=>{Yo(t.element,"aria-selected","true")},onDehighlight:(e,t)=>{Yo(t.element,"aria-selected","false")}}),Im.config({mode:"flow",getInitial:e=>ru.getHighlighted(e).map(e=>e.element),selector:"."+e.markers.tabClass,executeOnMove:!0})])})}),FS=hh({name:"Tabview",configFields:[rh("tabviewBehaviours",[ug])],factory:(e,t)=>({uid:e.uid,dom:e.dom,behaviours:ih(e.tabviewBehaviours,[ug.config({})]),domModification:{attributes:{role:"tabpanel"}}})}),RS=y([sa("selectFirst",!0),Ti("onChangeTab"),Ti("onDismissTab"),sa("tabs",[]),rh("tabSectionBehaviours",[])]),NS=il({factory:IS,schema:[Pr("dom"),qr("markers",[Pr("tabClass"),Pr("selectedClass")])],name:"tabbar",defaults:e=>({tabs:e.tabs})}),zS=il({factory:FS,name:"tabview"}),VS=y([NS,zS]),LS=fh({name:"TabSection",configFields:RS(),partFields:VS(),factory:(e,t,o,n)=>{const s=(t,o)=>{wl(t,e,"tabbar").each(e=>{o(e).each(Gc)})};return{uid:e.uid,dom:e.dom,components:t,behaviours:ah(e.tabSectionBehaviours),events:Kc(G([e.selectFirst?[id((e,t)=>{s(e,ru.getFirst)})]:[],[Zc(di(),(t,o)=>{(t=>{const o=mf.getValue(t);wl(t,e,"tabview").each(n=>{j(e.tabs,e=>e.value===o).each(o=>{const s=o.view();Jo(t.element,"id").each(e=>{Yo(n.element,"aria-labelledby",e)}),ug.set(n,s),e.onChangeTab(n,t,s)})})})(o.event.button)}),Zc(ui(),(t,o)=>{const n=o.event.button;e.onDismissTab(t,n)})]])),apis:{getViewItems:t=>wl(t,e,"tabview").map(e=>ug.contents(e)).getOr([]),showTab:(e,t)=>{s(e,e=>{const o=ru.getCandidates(e);return j(o,e=>mf.getValue(e)===t).filter(t=>!ru.isHighlighted(e,t))})}}}},apis:{getViewItems:(e,t)=>e.getViewItems(t),showTab:(e,t,o)=>{e.showTab(t,o)}}}),HS=(e,t,o)=>{const n=mf.getValue(o);mf.setValue(t,n),US(t)},PS=(e,t)=>{const o=e.element,n=ds(o),s=o.dom;"number"!==Ko(o,"type")&&t(s,n)},US=e=>{PS(e,(e,t)=>e.setSelectionRange(t.length,t.length))},WS=y("alloy.typeahead.itemexecute"),jS=y([Kr("lazySink"),Pr("fetch"),sa("minChars",5),sa("responseTime",1e3),Ti("onOpen"),sa("getHotspot",A.some),sa("getAnchorOverrides",y({})),sa("layouts",A.none()),sa("eventOrder",{}),ma("model",{},[sa("getDisplayText",e=>void 0!==e.meta&&void 0!==e.meta.text?e.meta.text:e.value),sa("selectsOver",!0),sa("populateFromBrowse",!0)]),Ti("onSetValue"),Ei("onExecute"),Ti("onItemExecute"),sa("inputClasses",[]),sa("inputAttributes",{}),sa("inputStyles",{}),sa("matchWidth",!0),sa("useMinWidth",!1),sa("dismissOnBlur",!0),Oi(["openClass"]),Kr("initialData"),Kr("listRole"),rh("typeaheadBehaviours",[_d,mf,sv,Im,hv,Zg]),Lr("lazyTypeaheadComp",()=>ye(A.none)),Lr("previewing",()=>ye(!0))].concat(uy()).concat(zx())),$S=y([ll({schema:[ki()],name:"menu",overrides:e=>({fakeFocus:!0,onHighlightItem:(t,o,n)=>{e.previewing.get()?e.lazyTypeaheadComp.get().each(t=>{((e,t,o)=>{if(e.selectsOver){const n=mf.getValue(t),s=e.getDisplayText(n),r=mf.getValue(o);return 0===e.getDisplayText(r).indexOf(s)?A.some(()=>{HS(0,t,o),((e,t)=>{PS(e,(e,o)=>e.setSelectionRange(t,o.length))})(t,s.length)}):A.none()}return A.none()})(e.model,t,n).fold(()=>{e.model.selectsOver?(ru.dehighlight(o,n),e.previewing.set(!0)):e.previewing.set(!1)},t=>{t(),e.previewing.set(!1)})}):e.lazyTypeaheadComp.get().each(t=>{e.model.populateFromBrowse&&HS(e.model,t,n),Jo(n.element,"id").each(e=>Yo(t.element,"aria-activedescendant",e))})},onExecute:(t,o)=>e.lazyTypeaheadComp.get().map(e=>($c(e,WS(),{item:o}),!0)),onHover:(t,o)=>{e.previewing.set(!1),e.lazyTypeaheadComp.get().each(t=>{e.model.populateFromBrowse&&HS(e.model,t,o)})}})})]),GS=fh({name:"Typeahead",configFields:jS(),partFields:$S(),factory:(e,t,o,n)=>{const s=(t,o,s)=>{e.previewing.set(!1);const r=Zg.getCoupled(t,"sandbox");if(zb.isOpen(r))Xg.getCurrent(r).each(e=>{ru.getHighlighted(e).fold(()=>{s(e)},()=>{Xc(r,e.element,"keydown",o)})});else{const o=e=>{Xg.getCurrent(e).each(s)};Mx(e,a(t),t,r,n,o,Lc.HighlightMenuAndItem).get(b)}},r=my(e),a=e=>t=>t.map(t=>{const o=he(t.menus),n=q(o,e=>P(e.items,e=>"item"===e.type));return mf.getState(e).update(V(n,e=>e.data)),t}),i=e=>Xg.getCurrent(e),l="typeaheadevents",c=[_d.config({}),mf.config({onSetValue:e.onSetValue,store:{mode:"dataset",getDataKey:e=>ds(e.element),getFallbackEntry:e=>({value:e,meta:{}}),setValue:(t,o)=>{us(t.element,e.model.getDisplayText(o))},...e.initialData.map(e=>ga("initialValue",e)).getOr({})}}),sv.config({stream:{mode:"throttle",delay:e.responseTime,stopEvent:!1},onStream:(t,o)=>{const s=Zg.getCoupled(t,"sandbox");if(_d.isFocused(t)&&ds(t.element).length>=e.minChars){const o=i(s).bind(e=>ru.getHighlighted(e).map(mf.getValue));e.previewing.set(!0);const r=t=>{i(s).each(t=>{o.fold(()=>{e.model.selectsOver&&ru.highlightFirst(t)},e=>{ru.highlightBy(t,t=>mf.getValue(t).value===e.value),ru.getHighlighted(t).orThunk(()=>(ru.highlightFirst(t),A.none()))})})};Mx(e,a(t),t,s,n,r,Lc.HighlightJustMenu).get(b)}},cancelEvent:Ja()}),Im.config({mode:"special",onDown:(e,t)=>(s(e,t,ru.highlightFirst),A.some(!0)),onEscape:e=>{const t=Zg.getCoupled(e,"sandbox");return zb.isOpen(t)?(zb.close(t),A.some(!0)):A.none()},onUp:(e,t)=>(s(e,t,ru.highlightLast),A.some(!0)),onEnter:t=>{const o=Zg.getCoupled(t,"sandbox"),n=zb.isOpen(o);if(n&&!e.previewing.get())return i(o).bind(e=>ru.getHighlighted(e)).map(e=>($c(t,WS(),{item:e}),!0));{const s=mf.getValue(t);return jc(t,Ja()),e.onExecute(o,t,s),n&&zb.close(o),A.some(!0)}}}),hv.config({toggleClass:e.markers.openClass,aria:{mode:"expanded"}}),Zg.config({others:{sandbox:t=>Nx(e,t,{onOpen:()=>hv.on(t),onClose:()=>{e.lazyTypeaheadComp.get().each(e=>Zo(e.element,"aria-activedescendant")),hv.off(t)}})}}),wd(l,[id(t=>{e.lazyTypeaheadComp.set(A.some(t))}),ld(t=>{e.lazyTypeaheadComp.set(A.none())}),dd(t=>{const o=b;Ix(e,a(t),t,n,o,Lc.HighlightMenuAndItem).get(b)}),Zc(WS(),(t,o)=>{const n=Zg.getCoupled(t,"sandbox");HS(e.model,t,o.event.item),jc(t,Ja()),e.onItemExecute(t,n,o.event.item,mf.getValue(t)),zb.close(n),US(t)})].concat(e.dismissOnBlur?[Zc(Wa(),e=>{const t=Zg.getCoupled(e,"sandbox");Po(t.element).isNone()&&zb.close(t)})]:[]))],d={[si()]:[mf.name(),sv.name(),l],...e.eventOrder};return{uid:e.uid,dom:py(Ve(e,{inputAttributes:{role:"combobox","aria-autocomplete":"list","aria-haspopup":"true"}})),behaviours:{...r,...ih(e.typeaheadBehaviours,c)},eventOrder:d}}});var qS=tinymce.util.Tools.resolve("tinymce.ThemeManager"),YS=tinymce.util.Tools.resolve("tinymce.util.Delay"),XS=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),KS=tinymce.util.Tools.resolve("tinymce.EditorManager"),JS=tinymce.util.Tools.resolve("tinymce.Env");const QS={default:"wrap",floating:"floating",sliding:"sliding",scrolling:"scrolling"},ZS={auto:"auto",top:"top",bottom:"bottom"},eC=e=>t=>t.options.get(e),tC=e=>t=>A.from(e(t)),oC=e=>{const t=JS.deviceType.isPhone(),o=JS.deviceType.isTablet()||t,n=e.options.register,s=e=>r(e)||!1===e,a=e=>r(e)||h(e);n("skin",{processor:e=>r(e)||!1===e,default:"oxide"}),n("skin_url",{processor:"string"}),n("height",{processor:a,default:Math.max(e.getElement().offsetHeight,400)}),n("width",{processor:a,default:XS.DOM.getStyle(e.getElement(),"width")}),n("min_height",{processor:"number",default:100}),n("min_width",{processor:"number"}),n("max_height",{processor:"number"}),n("max_width",{processor:"number"}),n("style_formats",{processor:"object[]"}),n("style_formats_merge",{processor:"boolean",default:!1}),n("style_formats_autohide",{processor:"boolean",default:!1}),n("line_height_formats",{processor:"string",default:"1 1.1 1.2 1.3 1.4 1.5 2"}),n("font_family_formats",{processor:"string",default:"Andale Mono=andale mono,monospace;Arial=arial,helvetica,sans-serif;Arial Black=arial black,sans-serif;Book Antiqua=book antiqua,palatino,serif;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,palatino,serif;Helvetica=helvetica,arial,sans-serif;Impact=impact,sans-serif;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco,monospace;Times New Roman=times new roman,times,serif;Trebuchet MS=trebuchet ms,geneva,sans-serif;Verdana=verdana,geneva,sans-serif;Webdings=webdings;Wingdings=wingdings,zapf dingbats"}),n("font_size_formats",{processor:"string",default:"8pt 10pt 12pt 14pt 18pt 24pt 36pt"}),n("font_size_input_default_unit",{processor:"string",default:"pt"}),n("block_formats",{processor:"string",default:"Paragraph=p;Heading 1=h1;Heading 2=h2;Heading 3=h3;Heading 4=h4;Heading 5=h5;Heading 6=h6;Preformatted=pre"}),n("content_langs",{processor:"object[]"}),n("removed_menuitems",{processor:"string",default:""}),n("menubar",{processor:e=>r(e)||d(e),default:!t}),n("menu",{processor:"object",default:{}}),n("toolbar",{processor:e=>d(e)||r(e)||l(e)?{value:e,valid:!0}:{valid:!1,message:"Must be a boolean, string or array."},default:!0}),N(9,e=>{n("toolbar"+(e+1),{processor:"string"})}),n("toolbar_mode",{processor:"string",default:o?"scrolling":"floating"}),n("toolbar_groups",{processor:"object",default:{}}),n("toolbar_location",{processor:"string",default:ZS.auto}),n("toolbar_persist",{processor:"boolean",default:!1}),n("toolbar_sticky",{processor:"boolean",default:e.inline}),n("toolbar_sticky_offset",{processor:"number",default:0}),n("fixed_toolbar_container",{processor:"string",default:""}),n("fixed_toolbar_container_target",{processor:"object"}),n("ui_mode",{processor:"string",default:"combined"}),n("file_picker_callback",{processor:"function"}),n("file_picker_validator_handler",{processor:"function"}),n("file_picker_types",{processor:"string"}),n("typeahead_urls",{processor:"boolean",default:!0}),n("anchor_top",{processor:s,default:"#top"}),n("anchor_bottom",{processor:s,default:"#bottom"}),n("draggable_modal",{processor:"boolean",default:!1}),n("statusbar",{processor:"boolean",default:!0}),n("elementpath",{processor:"boolean",default:!0}),n("branding",{processor:"boolean",default:!0}),n("promotion",{processor:"boolean",default:!0}),n("resize",{processor:e=>"both"===e||d(e),default:!JS.deviceType.isTouch()}),n("sidebar_show",{processor:"string"}),n("sidebar_width",{processor:"number",default:440}),n("sidebar_min_width",{processor:"number",default:300}),n("sidebar_max_width",{processor:"number",default:800}),n("view_show",{processor:"string"}),n("help_accessibility",{processor:"boolean",default:e.hasPlugin("help")}),n("default_font_stack",{processor:"string[]",default:[]})},nC=eC("readonly"),sC=eC("disabled"),rC=eC("height"),aC=eC("width"),iC=tC(eC("min_width")),lC=tC(eC("min_height")),cC=tC(eC("max_width")),dC=tC(eC("max_height")),uC=tC(eC("style_formats")),mC=eC("style_formats_merge"),gC=eC("style_formats_autohide"),pC=eC("content_langs"),hC=eC("removed_menuitems"),fC=eC("toolbar_mode"),bC=eC("toolbar_groups"),vC=eC("toolbar_location"),xC=eC("fixed_toolbar_container"),yC=eC("fixed_toolbar_container_target"),wC=eC("toolbar_persist"),SC=eC("toolbar_sticky_offset"),CC=eC("menubar"),kC=eC("toolbar"),OC=eC("file_picker_callback"),_C=eC("file_picker_validator_handler"),TC=eC("font_size_input_default_unit"),EC=eC("file_picker_types"),AC=eC("typeahead_urls"),DC=eC("anchor_top"),MC=eC("anchor_bottom"),BC=eC("draggable_modal"),IC=eC("statusbar"),FC=eC("elementpath"),RC=eC("branding"),NC=eC("resize"),zC=eC("paste_as_text"),VC=eC("sidebar_show"),LC=eC("sidebar_width"),HC=eC("sidebar_min_width"),PC=eC("sidebar_max_width"),UC=eC("view_show"),WC=eC("promotion"),jC=eC("help_accessibility"),$C=eC("default_font_stack"),GC=eC("skin"),qC=e=>!1===e.options.get("skin"),YC=e=>!1!==e.options.get("menubar"),XC=e=>{const t=e.options.get("skin_url");if(qC(e))return t;if(t)return e.documentBaseURI.toAbsolute(t);{const t=e.options.get("skin");return KS.baseURL+"/skins/ui/"+t}},KC=e=>e.options.get("line_height_formats").split(" "),JC=e=>{const t=kC(e),o=r(t),n=l(t)&&t.length>0;return!ZC(e)&&(n||o||!0===t)},QC=e=>{const t=N(9,t=>e.options.get("toolbar"+(t+1))),o=P(t,r);return je(o.length>0,o)},ZC=e=>QC(e).fold(()=>{const t=kC(e);return f(t,r)&&t.length>0},E),ek=e=>vC(e)===ZS.bottom,tk=e=>{if(!e.inline)return A.none();const t=xC(e)??"";if(t.length>0)return Xn(cn(),t);const o=yC(e);return g(o)?A.some(ct(o)):A.none()},ok=e=>e.inline&&tk(e).isSome(),nk=e=>tk(e).getOrThunk(()=>_o(Oo(ct(e.getElement())))),sk=e=>e.inline&&!YC(e)&&!JC(e)&&!ZC(e),rk=e=>(e.options.get("toolbar_sticky")||e.inline)&&!ok(e)&&!sk(e),ak=e=>!ok(e)&&"split"===e.options.get("ui_mode"),ik=e=>{const t=e.options.get("menu");return le(t,e=>({...e,items:e.items}))};var lk=Object.freeze({__proto__:null,ToolbarMode:QS,ToolbarLocation:ZS,getAnchorBottom:MC,getAnchorTop:DC,getContentLanguages:pC,getDefaultFontStack:$C,getFilePickerCallback:OC,getFilePickerTypes:EC,getFilePickerValidatorHandler:_C,getFontSizeInputDefaultUnit:TC,getHeightOption:rC,getLineHeightFormats:KC,getMaxHeightOption:dC,getMaxWidthOption:cC,getMenubar:CC,getMenus:ik,getMinHeightOption:lC,getMinWidthOption:iC,getMultipleToolbarsOption:QC,getPasteAsText:zC,getRemovedMenuItems:hC,getResize:NC,getSidebarShow:VC,getSidebarWidth:LC,getSidebarMinWidth:HC,getSidebarMaxWidth:PC,getSkin:GC,getSkinUrl:XC,getSkinUrlOption:e=>A.from(e.options.get("skin_url")),getStickyToolbarOffset:SC,getToolbar:kC,getToolbarGroups:bC,getToolbarLocation:vC,getToolbarMode:fC,getUiContainer:nk,getUserStyleFormats:uC,getViewShow:UC,getWidthOption:aC,isDisabled:sC,isDistractionFree:sk,isDraggableModal:BC,isMenubarEnabled:YC,isMultipleToolbars:ZC,isReadOnly:nC,isSkinDisabled:qC,isSplitUiMode:ak,isStickyToolbar:rk,isToolbarEnabled:JC,isToolbarLocationBottom:ek,isToolbarPersist:wC,promotionEnabled:WC,register:oC,shouldAutoHideStyleFormats:gC,shouldMergeStyleFormats:mC,useBranding:RC,useElementPath:FC,useFixedContainer:ok,useHelpAccessibility:jC,useStatusBar:IC,useTypeaheadUrls:AC});const ck=["visible","hidden","clip"],dk=e=>et(e).length>0&&!F(ck,e),uk=e=>{if(no(e)){const t=fn(e,"overflow-x"),o=fn(e,"overflow-y");return dk(t)||dk(o)}return!1},mk=e=>e.plugins.fullscreen&&e.plugins.fullscreen.isFullscreen(),gk=(e,t)=>ak(e)?((e,t)=>{const o=ms(t,uk),n=0===o.length?To(t).map(Eo).map(e=>ms(e,uk)).getOr([]):o;return te(n).map(t=>({element:t,others:n.slice(1),isFullscreen:()=>mk(e)}))})(e,t):A.none(),pk=e=>{const t=[...V(e.others,Hs),Ws()];return e.isFullscreen()?Ws():((e,t)=>W(t,(e,t)=>Us(e,t),e))(Hs(e.element),t)}; /*! @license DOMPurify 3.4.12 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.12/LICENSE */ -function hk(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=Array(t);o2?o-2:0),s=2;s1?t-1:0),n=1;n1?o-1:0),s=1;s2&&void 0!==arguments[2]?arguments[2]:Fk;if(vk&&vk(e,null),!Ik(t))return e;let n=t.length;for(;n--;){let s=t[n];if("string"==typeof s){const e=o(s);e!==s&&(xk(t)||(t[n]=e),s=e)}e[s]=!0}return e}function Jk(e){for(let t=0;t/g),gO=Ck(/\${[\w\W]*/g),pO=Ck(/^data-[\-\w.\u00B7-\uFFFF]+$/),hO=Ck(/^aria-[\-\w]+$/),fO=Ck(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),bO=Ck(/^(?:\w+script|data):/i),vO=Ck(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),xO=Ck(/^html$/i),yO=Ck(/^[a-z][.\w]*(-[.\w]+)+$/i),wO=Ck(/<[/\w!]/g),SO=Ck(/<[/\w]/g),CO=Ck(/<\/no(script|embed|frames)/i),kO=Ck(/\/>/i),OO=function(){return"undefined"==typeof window?null:window},_O=function(e,t,o,n){return jk(e,t)&&Ik(e[t])?Kk(n.base?Qk(n.base):{},e[t],n.transform):o};var TO=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:OO();const o=t=>e(t);if(o.version="3.4.12",o.removed=[],!t||!t.document||9!==t.document.nodeType||!t.Element)return o.isSupported=!1,o;let n=t.document;const s=n,r=s.currentScript;t.DocumentFragment;const a=t.HTMLTemplateElement,i=t.Node,l=t.Element,c=t.NodeFilter;void 0===t.NamedNodeMap&&(t.NamedNodeMap||t.MozNamedAttrMap),t.HTMLFormElement;const d=t.DOMParser,u=t.trustedTypes,m=l.prototype,g=Zk(m,"cloneNode"),p=Zk(m,"remove"),h=Zk(m,"nextSibling"),f=Zk(m,"childNodes"),b=Zk(m,"parentNode"),v=Zk(m,"shadowRoot"),x=Zk(m,"attributes"),y=i&&i.prototype?Zk(i.prototype,"nodeType"):null,w=i&&i.prototype?Zk(i.prototype,"nodeName"):null;if("function"==typeof a){const e=n.createElement("template");e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let S,C,k="",O=!1,_=0;const T=function(){if(_>0)throw qk('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},E=function(e){T(),_++;try{return S.createHTML(e)}finally{_--}},A=n,D=A.implementation,M=A.createNodeIterator,B=A.createDocumentFragment,I=A.getElementsByTagName,F=s.importNode;let R={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};o.isSupported="function"==typeof bk&&"function"==typeof b&&D&&void 0!==D.createHTMLDocument;const N=uO,z=mO,V=gO,L=pO,H=hO,P=bO,U=vO,W=yO;let j=fO,$=null;const G=Kk({},[...eO,...tO,...oO,...sO,...aO]);let q=null;const Y=Kk({},[...iO,...lO,...cO,...dO]);let X=Object.seal(kk(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),K=null,J=null;const Q=Object.seal(kk(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Z=!0,ee=!0,te=!1,oe=!0,ne=!1,se=!0,re=!1,ae=!1,ie=null,le=null,ce=!1,de=!1,ue=!1,me=!1,ge=!0,pe=!1;const he="user-content-";let fe=!0,be=!1,ve={},xe=null;const ye=Kk({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let we=null;const Se=Kk({},["audio","video","img","source","image","track"]);let Ce=null;const ke=Kk({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Oe="http://www.w3.org/1998/Math/MathML",_e="http://www.w3.org/2000/svg",Te="http://www.w3.org/1999/xhtml";let Ee=Te,Ae=!1,De=null;const Me=Kk({},[Oe,_e,Te],Rk),Be=Sk(["mi","mo","mn","ms","mtext"]);let Ie=Kk({},Be);const Fe=Sk(["annotation-xml"]);let Re=Kk({},Fe);const Ne=Kk({},["title","style","font","a","script"]);let ze=null;const Ve=["application/xhtml+xml","text/html"];let Le=null,He=null;const Pe=n.createElement("form"),Ue=function(e){return e instanceof RegExp||e instanceof Function},We=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(He&&He===e)return;e&&"object"==typeof e||(e={}),e=Qk(e),ze=-1===Ve.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Le="application/xhtml+xml"===ze?Rk:Fk,$=_O(e,"ALLOWED_TAGS",G,{transform:Le}),q=_O(e,"ALLOWED_ATTR",Y,{transform:Le}),De=_O(e,"ALLOWED_NAMESPACES",Me,{transform:Rk}),Ce=_O(e,"ADD_URI_SAFE_ATTR",ke,{transform:Le,base:ke}),we=_O(e,"ADD_DATA_URI_TAGS",Se,{transform:Le,base:Se}),xe=_O(e,"FORBID_CONTENTS",ye,{transform:Le}),K=_O(e,"FORBID_TAGS",Qk({}),{transform:Le}),J=_O(e,"FORBID_ATTR",Qk({}),{transform:Le}),ve=!!jk(e,"USE_PROFILES")&&(e.USE_PROFILES&&"object"==typeof e.USE_PROFILES?Qk(e.USE_PROFILES):e.USE_PROFILES),Z=!1!==e.ALLOW_ARIA_ATTR,ee=!1!==e.ALLOW_DATA_ATTR,te=e.ALLOW_UNKNOWN_PROTOCOLS||!1,oe=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,ne=e.SAFE_FOR_TEMPLATES||!1,se=!1!==e.SAFE_FOR_XML,re=e.WHOLE_DOCUMENT||!1,de=e.RETURN_DOM||!1,ue=e.RETURN_DOM_FRAGMENT||!1,me=e.RETURN_TRUSTED_TYPE||!1,ce=e.FORCE_BODY||!1,ge=!1!==e.SANITIZE_DOM,pe=e.SANITIZE_NAMED_PROPS||!1,fe=!1!==e.KEEP_CONTENT,be=e.IN_PLACE||!1,j=function(e){try{return Gk(e,""),!0}catch(e){return!1}}(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:fO,Ee="string"==typeof e.NAMESPACE?e.NAMESPACE:Te,Ie=jk(e,"MATHML_TEXT_INTEGRATION_POINTS")&&e.MATHML_TEXT_INTEGRATION_POINTS&&"object"==typeof e.MATHML_TEXT_INTEGRATION_POINTS?Qk(e.MATHML_TEXT_INTEGRATION_POINTS):Kk({},Be),Re=jk(e,"HTML_INTEGRATION_POINTS")&&e.HTML_INTEGRATION_POINTS&&"object"==typeof e.HTML_INTEGRATION_POINTS?Qk(e.HTML_INTEGRATION_POINTS):Kk({},Fe);const t=jk(e,"CUSTOM_ELEMENT_HANDLING")&&e.CUSTOM_ELEMENT_HANDLING&&"object"==typeof e.CUSTOM_ELEMENT_HANDLING?Qk(e.CUSTOM_ELEMENT_HANDLING):kk(null);if(X=kk(null),jk(t,"tagNameCheck")&&Ue(t.tagNameCheck)&&(X.tagNameCheck=t.tagNameCheck),jk(t,"attributeNameCheck")&&Ue(t.attributeNameCheck)&&(X.attributeNameCheck=t.attributeNameCheck),jk(t,"allowCustomizedBuiltInElements")&&"boolean"==typeof t.allowCustomizedBuiltInElements&&(X.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),Ck(X),ne&&(ee=!1),ue&&(de=!0),ve&&($=Kk({},aO),q=kk(null),!0===ve.html&&(Kk($,eO),Kk(q,iO)),!0===ve.svg&&(Kk($,tO),Kk(q,lO),Kk(q,dO)),!0===ve.svgFilters&&(Kk($,oO),Kk(q,lO),Kk(q,dO)),!0===ve.mathMl&&(Kk($,sO),Kk(q,cO),Kk(q,dO))),Q.tagCheck=null,Q.attributeCheck=null,jk(e,"ADD_TAGS")&&("function"==typeof e.ADD_TAGS?Q.tagCheck=e.ADD_TAGS:Ik(e.ADD_TAGS)&&($===G&&($=Qk($)),Kk($,e.ADD_TAGS,Le))),jk(e,"ADD_ATTR")&&("function"==typeof e.ADD_ATTR?Q.attributeCheck=e.ADD_ATTR:Ik(e.ADD_ATTR)&&(q===Y&&(q=Qk(q)),Kk(q,e.ADD_ATTR,Le))),jk(e,"ADD_URI_SAFE_ATTR")&&Ik(e.ADD_URI_SAFE_ATTR)&&Kk(Ce,e.ADD_URI_SAFE_ATTR,Le),jk(e,"FORBID_CONTENTS")&&Ik(e.FORBID_CONTENTS)&&(xe===ye&&(xe=Qk(xe)),Kk(xe,e.FORBID_CONTENTS,Le)),jk(e,"ADD_FORBID_CONTENTS")&&Ik(e.ADD_FORBID_CONTENTS)&&(xe===ye&&(xe=Qk(xe)),Kk(xe,e.ADD_FORBID_CONTENTS,Le)),fe&&($["#text"]=!0),re&&Kk($,["html","head","body"]),$.table&&(Kk($,["tbody"]),delete K.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw qk('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw qk('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const t=S;S=e.TRUSTED_TYPES_POLICY;try{k=E("")}catch(e){throw S=t,e}}else null===e.TRUSTED_TYPES_POLICY?(S=void 0,k=""):(void 0===S&&(O||(C=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let o=null;const n="data-tt-policy-suffix";t&&t.hasAttribute(n)&&(o=t.getAttribute(n));const s="dompurify"+(o?"#"+o:"");try{return e.createPolicy(s,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+s+" could not be created."),null}}(u,r),O=!0),S=C),S&&"string"==typeof k&&(k=E("")));Sk&&Sk(e),He=e},je=Kk({},[...tO,...oO,...nO]),$e=Kk({},[...sO,...rO]),Ge=function(e){Mk(o.removed,{element:e});try{b(e).removeChild(e)}catch(t){if(p(e),!b(e))throw qk("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},qe=function(e){Ke(e);const t=f(e);if(t){const e=[];Ek(t,t=>{Mk(e,t)}),Ek(e,e=>{try{p(e)}catch(e){}})}const o=x(e);if(o)for(let t=o.length-1;t>=0;--t){const n=o[t],s=n&&n.name;if("string"==typeof s)try{e.removeAttribute(s)}catch(e){}}},Ye=function(e,t){try{Mk(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){Mk(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(de||ue)try{Ge(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Xe=function(e){const t=x(e);if(t)for(let o=t.length-1;o>=0;--o){const n=t[o],s=n&&n.name;if("string"==typeof s&&!q[Le(s)])try{e.removeAttribute(s)}catch(e){}}},Ke=function(e){const t=[e];for(;t.length>0;){const e=t.pop();1===(y?y(e):e.nodeType)&&Xe(e);const o=f(e);if(o)for(let e=o.length-1;e>=0;--e)t.push(o[e])}},Je=function(e){let t=null,o=null;if(ce)e=""+e;else{const t=Nk(e,/^[\r\n\t ]+/);o=t&&t[0]}"application/xhtml+xml"===ze&&Ee===Te&&(e=''+e+"");const s=S?E(e):e;if(Ee===Te)try{t=(new d).parseFromString(s,ze)}catch(e){}if(!t||!t.documentElement){t=D.createDocument(Ee,"template",null);try{t.documentElement.innerHTML=Ae?k:s}catch(e){}}const r=t.body||t.documentElement;return e&&o&&r.insertBefore(n.createTextNode(o),r.childNodes[0]||null),Ee===Te?I.call(t,re?"html":"body")[0]:re?t.documentElement:r},Qe=function(e){return M.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},Ze=function(e){return e=zk(e,N," "),e=zk(e,z," "),zk(e,V," ")},et=function(e){var t;e.normalize();const o=M.call(e.ownerDocument||e,e,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null);let n=o.nextNode();for(;n;)n.data=Ze(n.data),n=o.nextNode();const s=null===(t=e.querySelectorAll)||void 0===t?void 0:t.call(e,"template");s&&Ek(s,e=>{ot(e.content)&&et(e.content)})},tt=function(e){const t=w?w(e):null;return"string"==typeof t&&"form"===Le(t)&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||e.attributes!==x(e)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes||e.nodeType!==y(e)||e.childNodes!==f(e))},ot=function(e){if(!y||"object"!=typeof e||null===e)return!1;try{return 11===y(e)}catch(e){return!1}},nt=function(e){if(!y||"object"!=typeof e||null===e)return!1;try{return"number"==typeof y(e)}catch(e){return!1}};function st(e,t,n){0!==e.length&&Ek(e,e=>{e.call(o,t,n,He)})}const rt=function(e,t){if(st(R.beforeSanitizeElements,e,null),e!==t&&null===b(e))return!0;if(tt(e))return Ge(e),!0;const n=Le(w?w(e):e.nodeName);if(st(R.uponSanitizeElement,e,{tagName:n,allowedTags:$}),e!==t&&null===b(e))return!0;if(function(e,t){return!!(se&&e.hasChildNodes()&&!nt(e.firstElementChild)&&Gk(wO,e.textContent)&&Gk(wO,e.innerHTML))||!(!se||e.namespaceURI!==Te||"style"!==t||!nt(e.firstElementChild))||7===e.nodeType||!(!se||8!==e.nodeType||!Gk(SO,e.data))}(e,n))return Ge(e),!0;if(K[n]||!(Q.tagCheck instanceof Function&&Q.tagCheck(n))&&!$[n]){const t=function(e,t){if(!K[t]&<(t)){if(X.tagNameCheck instanceof RegExp&&Gk(X.tagNameCheck,t))return!1;if(X.tagNameCheck instanceof Function&&X.tagNameCheck(t))return!1}if(fe&&!xe[t]){const t=b(e),o=f(e);if(o&&t)for(let n=o.length-1;n>=0;--n){const s=be?o[n]:g(o[n],!0);t.insertBefore(s,h(e))}}return Ge(e),!0}(e,n);return!1===t&&st(R.afterSanitizeElements,e,null),t}if(1===(y?y(e):e.nodeType)&&!function(e){let t=b(e);t&&t.tagName||(t={namespaceURI:Ee,tagName:"template"});const o=Fk(e.tagName),n=Fk(t.tagName);return!!De[e.namespaceURI]&&(e.namespaceURI===_e?function(e,t,o){return t.namespaceURI===Te?"svg"===e:t.namespaceURI===Oe?"svg"===e&&("annotation-xml"===o||Ie[o]):Boolean(je[e])}(o,t,n):e.namespaceURI===Oe?function(e,t,o){return t.namespaceURI===Te?"math"===e:t.namespaceURI===_e?"math"===e&&Re[o]:Boolean($e[e])}(o,t,n):e.namespaceURI===Te?function(e,t,o){return!(t.namespaceURI===_e&&!Re[o])&&!(t.namespaceURI===Oe&&!Ie[o])&&!$e[e]&&(Ne[e]||!je[e])}(o,t,n):!("application/xhtml+xml"!==ze||!De[e.namespaceURI]))}(e))return Ge(e),!0;if(("noscript"===n||"noembed"===n||"noframes"===n)&&Gk(CO,e.innerHTML))return Ge(e),!0;if(ne&&3===e.nodeType){const t=Ze(e.textContent);e.textContent!==t&&(Mk(o.removed,{element:e.cloneNode()}),e.textContent=t)}return st(R.afterSanitizeElements,e,null),!1},at=function(e,t,o){if(J[t])return!1;if(se&&"patchsrc"===t)return!1;if(se&&"for"===t&&"label"!==e&&"output"!==e)return!1;if(ge&&("id"===t||"name"===t)&&(o in n||o in Pe))return!1;const s=q[t]||Q.attributeCheck instanceof Function&&Q.attributeCheck(t,e);if(ee&&Gk(L,t));else if(Z&&Gk(H,t));else if(s){if(Ce[t]);else if(Gk(j,zk(o,U,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==Vk(o,"data:")||!we[e])if(te&&!Gk(P,zk(o,U,"")));else if(o)return!1}else if(!(lt(e)&&(X.tagNameCheck instanceof RegExp&&Gk(X.tagNameCheck,e)||X.tagNameCheck instanceof Function&&X.tagNameCheck(e))&&(X.attributeNameCheck instanceof RegExp&&Gk(X.attributeNameCheck,t)||X.attributeNameCheck instanceof Function&&X.attributeNameCheck(t,e))||"is"===t&&X.allowCustomizedBuiltInElements&&(X.tagNameCheck instanceof RegExp&&Gk(X.tagNameCheck,o)||X.tagNameCheck instanceof Function&&X.tagNameCheck(o))))return!1;return!0},it=Kk({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),lt=function(e){return!it[Fk(e)]&&Gk(W,e)},ct=function(e,t,o,n){if(S&&"object"==typeof u&&"function"==typeof u.getAttributeType&&!o)switch(u.getAttributeType(e,t)){case"TrustedHTML":return E(n);case"TrustedScriptURL":return function(e){T(),_++;try{return S.createScriptURL(e)}finally{_--}}(n)}return n},dt=function(e,t,n,s){try{n?e.setAttributeNS(n,t,s):e.setAttribute(t,s),tt(e)?Ge(e):Dk(o.removed)}catch(o){Ye(t,e)}},ut=function(e){st(R.beforeSanitizeAttributes,e,null);const t=e.attributes;if(!t||tt(e))return;const o={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:q,forceKeepAttr:void 0};let n=t.length;const s=Le(e.nodeName);for(;n--;){const r=t[n],a=r.name,i=r.namespaceURI,l=r.value,c=Le(a),d=l;let u="value"===a?d:Lk(d);o.attrName=c,o.attrValue=u,o.keepAttr=!0,o.forceKeepAttr=void 0,st(R.uponSanitizeAttribute,e,o),u=o.attrValue,!pe||"id"!==c&&"name"!==c||0===Vk(u,he)||(Ye(a,e),u=he+u),se&&Gk(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,u)||"attributename"===c&&Nk(u,"href")?Ye(a,e):o.forceKeepAttr||(!o.keepAttr||!oe&&Gk(kO,u)?Ye(a,e):(ne&&(u=Ze(u)),at(s,c,u)?(u=ct(s,c,i,u),u!==d&&dt(e,a,i,u)):Ye(a,e)))}st(R.afterSanitizeAttributes,e,null)},mt=function(e){let t=null;const o=Qe(e);for(st(R.beforeSanitizeShadowDOM,e,null);t=o.nextNode();)if(st(R.uponSanitizeShadowNode,t,null),rt(t,e),ut(t),ot(t.content)&&mt(t.content),1===(y?y(t):t.nodeType)){const e=v(t);ot(e)&&(gt(e),mt(e))}st(R.afterSanitizeShadowDOM,e,null)},gt=function(e){const t=[{node:e,shadow:null}];for(;t.length>0;){const e=t.pop();if(e.shadow){mt(e.shadow);continue}const o=e.node,n=1===(y?y(o):o.nodeType),s=f(o);if(s)for(let e=s.length-1;e>=0;--e)t.push({node:s[e],shadow:null});if(n){const e=w?w(o):null;if("string"==typeof e&&"template"===Le(e)){const e=o.content;ot(e)&&t.push({node:e,shadow:null})}}if(n){const e=v(o);ot(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return o.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,r=null,a=null,i=null;if(Ae=!e,Ae&&(e="\x3c!--\x3e"),"string"!=typeof e&&!nt(e)&&(e=function(e){switch(typeof e){case"string":return e;case"number":return Hk(e);case"boolean":return Pk(e);case"bigint":return Uk?Uk(e):"0";case"symbol":return Wk?Wk(e):"Symbol()";case"undefined":default:return $k(e);case"function":case"object":{if(null===e)return $k(e);const t=e,o=Zk(t,"toString");if("function"==typeof o){const e=o(t);return"string"==typeof e?e:$k(e)}return $k(e)}}}(e),"string"!=typeof e))throw qk("dirty is not a string, aborting");if(!o.isSupported)return e;ae?($=ie,q=le):We(t),(R.uponSanitizeElement.length>0||R.uponSanitizeAttribute.length>0)&&($=Qk($)),R.uponSanitizeAttribute.length>0&&(q=Qk(q)),o.removed=[];const l=be&&"string"!=typeof e&&nt(e);if(l){!function(e){if(!se)return;const t=[e];for(;t.length>0;){const e=t.pop(),o=y?y(e):e.nodeType;if(7===o||8===o&&Gk(SO,e.data)){try{p(e)}catch(e){}continue}if(1===o){const t=e,o=Le(w?w(e):e.nodeName);try{t.hasAttribute&&t.hasAttribute("patchsrc")&&t.removeAttribute("patchsrc"),t.hasAttribute&&t.hasAttribute("for")&&"label"!==o&&"output"!==o&&t.removeAttribute("for")}catch(e){}}const n=f(e);if(n)for(let e=n.length-1;e>=0;--e)t.push(n[e])}}(e);const t=w?w(e):e.nodeName;if("string"==typeof t){const o=Le(t);if(!$[o]||K[o])throw qe(e),qk("root node is forbidden and cannot be sanitized in-place")}if(tt(e))throw qe(e),qk("root node is clobbered and cannot be sanitized in-place");try{gt(e)}catch(t){throw qe(e),t}}else if(nt(e))n=Je("\x3c!----\x3e"),r=n.ownerDocument.importNode(e,!0),1===r.nodeType&&"BODY"===r.nodeName||"HTML"===r.nodeName?n=r:n.appendChild(r),gt(r);else{if(!de&&!ne&&!re&&-1===e.indexOf("<"))return S&&me?E(e):e;if(n=Je(e),!n)return de?null:me?k:""}n&&ce&&Ge(n.firstChild);const c=l?e:n,d=Qe(c);try{for(;a=d.nextNode();)rt(a,c),ut(a),ot(a.content)&&mt(a.content)}catch(t){throw l&&(qe(e),Ek(o.removed,e=>{e.element&&Ke(e.element)})),t}if(l)return Ek(o.removed,e=>{e.element&&Ke(e.element)}),ne&&et(e),e;if(de){if(ne&&et(n),ue)for(i=B.call(n.ownerDocument);n.firstChild;)i.appendChild(n.firstChild);else i=n;return(q.shadowroot||q.shadowrootmode)&&(i=F.call(s,i,!0)),i}let u=re?n.outerHTML:n.innerHTML;return re&&$["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&Gk(xO,n.ownerDocument.doctype.name)&&(u="\n"+u),ne&&(u=Ze(u)),S&&me?E(u):u},o.setConfig=function(){We(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),ae=!0,ie=$,le=q},o.clearConfig=function(){He=null,ae=!1,ie=null,le=null,S=C,k=""},o.isValidAttribute=function(e,t,o){He||We({});const n=Le(e),s=Le(t);return at(n,s,o)},o.addHook=function(e,t){"function"==typeof t&&jk(R,e)&&Mk(R[e],t)},o.removeHook=function(e,t){if(jk(R,e)){if(void 0!==t){const o=Ak(R[e],t);return-1===o?void 0:Bk(R[e],o,1)[0]}return Dk(R[e])}},o.removeHooks=function(e){jk(R,e)&&(R[e]=[])},o.removeAllHooks=function(){R={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},o}();const EO=e=>TO().sanitize(e);var AO=tinymce.util.Tools.resolve("tinymce.util.I18n");const DO={indent:!0,outdent:!0,"table-insert-column-after":!0,"table-insert-column-before":!0,"paste-column-after":!0,"paste-column-before":!0,"unordered-list":!0,"list-bull-circle":!0,"list-bull-disc":!0,"list-bull-default":!0,"list-bull-square":!0},MO="temporary-placeholder",BO=e=>()=>fe(e,MO).getOr("!not found!"),IO=(e,t)=>{const o=e.toLowerCase();if(AO.isRtl()){const e=((e,t)=>Ze(e,t)?e:((e,t)=>e+t)(e,t))(o,"-rtl");return be(t,e)?e:o}return o},FO=(e,t)=>fe(t,IO(e,t)),RO=(e,t)=>{const o=t();return FO(e,o).getOrThunk(BO(o))},NO=()=>wd("add-focusable",[id(e=>{Yn(e.element,"svg").each(e=>Yo(e,"focusable","false"))})]),zO=(e,t,o,n)=>{const s=(e=>!!AO.isRtl()&&be(DO,e))(t)?["tox-icon--flip"]:[],r=fe(o,IO(t,o)).or(n).getOrThunk(BO(o));return{dom:{tag:e.tag,attributes:e.attributes??{},classes:e.classes.concat(s),innerHtml:r},behaviours:hd([...e.behaviours??[],NO()]),eventOrder:e.eventOrder??{}}},VO=(e,t,o,n=A.none())=>zO(t,e,o(),n),LO={success:"checkmark",error:"warning",err:"error",warning:"warning",warn:"warning",info:"info"},HO=hh({name:"Notification",factory:e=>{const t=Ne("notification-text"),o=Dv({dom:Av(`

${EO(e.backstageProvider.translate(e.text))}

`),behaviours:hd([ug.config({})])}),n=e=>({dom:{tag:"div",classes:["tox-bar"],styles:{width:`${e}%`}}}),s=e=>({dom:{tag:"div",classes:["tox-text"],innerHtml:`${e}%`}}),r=Dv({dom:{tag:"div",classes:e.progress?["tox-progress-bar","tox-progress-indicator"]:["tox-progress-bar"]},components:[{dom:{tag:"div",classes:["tox-bar-container"]},components:[n(0)]},s(0)],behaviours:hd([ug.config({})])}),a={updateProgress:(e,t)=>{e.getSystem().isConnected()&&r.getOpt(e).each(e=>{ug.set(e,[{dom:{tag:"div",classes:["tox-bar-container"]},components:[n(t)]},s(t)])})},updateText:(e,t)=>{if(e.getSystem().isConnected()){const n=o.get(e);ug.set(n,[zg(t)])}}},i=G([e.icon.toArray(),[e.level],A.from(LO[e.level]).toArray()]),l=Dv(Wv.sketch({dom:{tag:"button",classes:["tox-notification__dismiss","tox-button","tox-button--naked","tox-button--icon"],attributes:{"aria-label":e.backstageProvider.translate("Close")}},components:[VO("close",{tag:"span",classes:["tox-icon"]},e.iconProvider)],buttonBehaviours:hd([iv.config({}),Tv.config({...e.backstageProvider.tooltips.getConfig({tooltipText:e.backstageProvider.translate("Close")})})]),action:t=>{e.onAction(t)}})),c=((e,t,o)=>{const n=o(),s=j(e,e=>be(n,IO(e,n)));return zO({tag:"div",classes:["tox-notification__icon"]},s.getOr(MO),n,A.none())})(i,0,e.iconProvider),d=[c,{dom:{tag:"div",classes:["tox-notification__body"]},components:[o.asSpec()],behaviours:hd([ug.config({})])}];return{uid:e.uid,dom:{tag:"div",attributes:{role:"alert","aria-labelledby":t},classes:["tox-notification","tox-notification--in",`tox-notification--${e.level}`]},behaviours:hd([iv.config({}),_d.config({}),Im.config({mode:"special",onEscape:t=>(e.onAction(t),A.some(!0))})]),components:d.concat(e.progress?[r.asSpec()]:[]).concat([l.asSpec()]),apis:a}},configFields:[la("level","info",["success","error","warning","warn","info"]),Pr("progress"),Kr("icon"),Pr("onAction"),Pr("text"),Pr("iconProvider"),Pr("backstageProvider")],apis:{updateProgress:(e,t,o)=>{e.updateProgress(t,o)},updateText:(e,t,o)=>{e.updateText(t,o)}}});var PO=(e,t,o,n)=>{const s=t.backstage.shared,r=()=>ct(""===e.queryCommandValue("ToggleView")?e.getContentAreaContainer():e.getContainer()),a=()=>{const e=Hs(r());return A.some(e)},i=e=>{a().each(t=>{L(e,e=>{wn(e.element,"width"),An(e.element)>t.width&&gn(e.element,"width",t.width+"px")})})};return{open:(t,l,c)=>{const d=()=>{n.on(t=>{l();const o=c();(e=>{ug.remove(e,u),m()})(t),((t,o)=>{0===xo(t.element).length?((t,o)=>{dy.hide(t),n.clear(),o&&e.focus()})(t,o):((e,t)=>{t&&Im.focusIn(e)})(t,o)})(t,o)})},u=Pg(HO.sketch({text:t.text,level:F(["success","error","warning","warn","info"],t.type)?t.type:void 0,progress:!0===t.progressBar,icon:t.icon,onAction:d,iconProvider:s.providers.icons,backstageProvider:s.providers}));if(n.isSet()){const e=Ug(u);n.on(t=>{ug.append(t,e),dy.reposition(t),u.hasConfigured(Hp)&&Hp.refresh(t),i(t.components())})}else{const t=Pg(dy.sketch({dom:{tag:"div",classes:["tox-notifications-container"],attributes:{"aria-label":"Notifications",role:"region"}},lazySink:s.getSink,fireDismissalEventInstead:{},...s.header.isPositionedAtTop()?{}:{fireRepositionEventInstead:{}},inlineBehaviours:hd([Im.config({mode:"cyclic",selector:".tox-notification, .tox-notification a, .tox-notification button"}),ug.config({}),...rk(e)&&s.header.isPositionedAtTop()?[]:[Hp.config({contextual:{lazyContext:()=>A.some(Hs(r())),fadeInClass:"tox-notification-container-dock-fadein",fadeOutClass:"tox-notification-container-dock-fadeout",transitionClass:"tox-notification-container-dock-transition"},modes:["top"],lazyViewport:t=>gk(e,t.element).map(e=>({bounds:pk(e),optScrollEnv:A.some({currentScrollTop:e.element.dom.scrollTop,scrollElmTop:Fn(e.element).top})})).getOrThunk(()=>({bounds:Ws(),optScrollEnv:A.none()}))})]])})),i=Ug(u),l={maxHeightFunction:Fc()},c={...s.anchors.banner(),overrides:l};n.set(t),o.add(t),dy.showWithinBounds(t,i,{anchor:c},a)}h(t.timeout)&&t.timeout>0&&YS.setEditorTimeout(e,()=>{d()},t.timeout);const m=()=>{n.on(e=>{dy.reposition(e),e.hasConfigured(Hp)&&Hp.refresh(e),i(e.components())})};return{close:d,reposition:m,text:e=>{HO.updateText(u,e)},settings:t,getEl:()=>u.element.dom,progressBar:{value:e=>{HO.updateProgress(u,e)}}}},close:e=>{e.close()},getArgs:e=>e.settings}};var UO;!function(e){e[e.CLOSE_ON_EXECUTE=0]="CLOSE_ON_EXECUTE",e[e.BUBBLE_TO_SANDBOX=1]="BUBBLE_TO_SANDBOX"}(UO||(UO={}));var WO=UO;const jO="tox-menu-nav__js",$O="tox-collection__item",GO="tox-swatch",qO={normal:jO,color:GO},YO="tox-collection__item--enabled",XO="tox-collection__item-icon",KO="tox-collection__item-label",JO="tox-collection__item-caret",QO="tox-collection__item--active",ZO="tox-collection__item-container",e_="tox-collection__item-container--row",t_=e=>fe(qO,e).getOr(jO),o_=e=>"color"===e?"tox-swatches":"tox-menu",n_=e=>({backgroundMenu:"tox-background-menu",selectedMenu:"tox-selected-menu",selectedItem:"tox-collection__item--active",hasIcons:"tox-menu--has-icons",menu:o_(e),tieredMenu:"tox-tiered-menu"}),s_=e=>{const t=n_(e);return{backgroundMenu:t.backgroundMenu,selectedMenu:t.selectedMenu,menu:t.menu,selectedItem:t.selectedItem,item:t_(e)}},r_=(e,t,o)=>{const n=n_(o);return{tag:"div",classes:G([[n.menu,`tox-menu-${t}-column`],e?[n.hasIcons]:[]])}},a_=[hx.parts.items({})],i_=(e,t,o)=>{const n=n_(o);return{dom:{tag:"div",classes:G([[n.tieredMenu]])},markers:s_(o)}},l_=Ne("refetch-trigger-event"),c_=Ne("redirect-menu-item-interaction"),d_="tox-menu__searcher",u_=e=>Xn(e.element,`.${d_}`).bind(t=>e.getSystem().getByDom(t).toOptional()),m_=u_,g_=e=>({fetchPattern:mf.getValue(e),selectionStart:e.element.dom.selectionStart,selectionEnd:e.element.dom.selectionEnd}),p_=e=>{const t=(e,t)=>(t.cut(),A.none()),o=(e,t)=>{const o={interactionEvent:t.event,eventType:t.event.raw.type};return $c(e,c_,o),A.some(!0)},n="searcher-events";return{dom:{tag:"div",classes:[$O]},components:[hy.sketch({inputClasses:[d_,"tox-textfield"],inputAttributes:{...e.placeholder.map(t=>({placeholder:e.i18n(t)})).getOr({}),type:"search","aria-autocomplete":"list"},inputBehaviours:hd([wd(n,[Zc(Aa(),e=>{jc(e,l_)}),Zc(Ta(),(e,t)=>{"Escape"===t.event.raw.key&&t.stop()})]),Im.config({mode:"special",onLeft:t,onRight:t,onSpace:t,onEnter:o,onEscape:o,onUp:o,onDown:o})]),eventOrder:{keydown:[n,Im.name()]}})]}},h_="tox-collection--results__js",f_=e=>e.dom?{...e,dom:{...e.dom,attributes:{...e.dom.attributes??{},id:Ne("aria-item-search-result-id"),"aria-selected":"false"}}}:e,b_="Use arrow keys to navigate.",v_=(e,t)=>o=>{const n=z(o,t);return V(n,t=>({dom:e,components:t}))},x_=(e,t)=>{const o=[];let n=[];return L(e,(e,s)=>{t(e,s)?(n.length>0&&o.push(n),n=[],(be(e.dom,"innerHtml")||e.components&&e.components.length>0)&&n.push(e)):n.push(e)}),n.length>0&&o.push(n),V(o,e=>({dom:{tag:"div",classes:["tox-collection__group"]},components:e}))},y_=(e,t,o)=>hx.parts.items({preprocess:n=>{const s=V(n,o);return"auto"!==e&&e>1?v_({tag:"div",classes:["tox-collection__group"]},e)(s):x_(s,(e,o)=>"separator"===t[o].type)}}),w_=(e,t,o=!0)=>{return{dom:{tag:"div",classes:["tox-menu","tox-collection"].concat(1===e?["tox-collection--list"]:["tox-collection--grid"]),attributes:{...(n=t,R(n,e=>"widget"===e.type)?{"aria-label":AO.translate(b_)}:{})}},components:[y_(e,t,w)]};var n},S_=e=>R(e,e=>"icon"in e&&void 0!==e.icon),C_=e=>(console.error(Rr(e)),console.log(e),A.none()),k_=(e,t,o,n,s)=>{const r=(a=o,{dom:{tag:"div",classes:["tox-collection","tox-collection--horizontal"]},components:[hx.parts.items({preprocess:e=>x_(e,(e,t)=>"separator"===a[t].type)})]});var a;return{value:e,dom:r.dom,components:r.components,items:o}},O_=(e,t,o,n,s)=>{if("color"===s.menuType){const t=(e=>({dom:{tag:"div",classes:["tox-menu","tox-swatches-menu"],attributes:{"aria-label":AO.translate(b_)}},components:[{dom:{tag:"div",classes:["tox-swatches"]},components:[hx.parts.items({preprocess:"auto"!==e?v_({tag:"div",classes:["tox-swatches__row"]},e):w})]}]}))(n);return{value:e,dom:t.dom,components:t.components,items:o}}if("imageselector"===s.menuType&&"auto"!==n){const t=(e=>({dom:{tag:"div",classes:["tox-menu","tox-image-selector-menu"]},components:[{dom:{tag:"div",classes:["tox-image-selector"]},components:[hx.parts.items({preprocess:"auto"!==e?v_({tag:"div",classes:["tox-image-selector__row"]},e):w})]}]}))(n);return{value:e,dom:t.dom,components:t.components,items:o}}if("normal"===s.menuType&&"auto"===n){const t=w_(n,o);return{value:e,dom:t.dom,components:t.components,items:o}}if("normal"===s.menuType||"searchable"===s.menuType){const t="searchable"!==s.menuType?w_(n,o):"search-with-field"===s.searchMode.searchMode?((e,t,o)=>{const n=Ne("aria-controls-search-results");return{dom:{tag:"div",classes:["tox-menu","tox-collection"].concat(1===e?["tox-collection--list"]:["tox-collection--grid"])},components:[p_({i18n:AO.translate,placeholder:o.placeholder}),{dom:{tag:"div",classes:[...1===e?["tox-collection--list"]:["tox-collection--grid"],h_],attributes:{id:n}},components:[y_(e,t,f_)]}]}})(n,o,s.searchMode):((e,t)=>{const o=Ne("aria-controls-search-results");return{dom:{tag:"div",classes:["tox-menu","tox-collection",h_].concat(1===e?["tox-collection--list"]:["tox-collection--grid"]),attributes:{id:o}},components:[y_(e,t,f_)]}})(n,o);return{value:e,dom:t.dom,components:t.components,items:o}}if("listpreview"===s.menuType&&"auto"!==n){const t=(e=>({dom:{tag:"div",classes:["tox-menu","tox-collection","tox-collection--toolbar","tox-collection--toolbar-lg"]},components:[hx.parts.items({preprocess:v_({tag:"div",classes:["tox-collection__group"]},e)})]}))(n);return{value:e,dom:t.dom,components:t.components,items:o}}return{value:e,dom:r_(t,n,s.menuType),components:a_,items:o}},__=jr("type"),T_=jr("name"),E_=jr("label"),A_=jr("text"),D_=jr("title"),M_=jr("icon"),B_=jr("url"),I_=jr("value"),F_=Gr("fetch"),R_=Gr("getSubmenuItems"),N_=Gr("onAction"),z_=Gr("onItemAction"),V_=da("onSetup",()=>b),L_=Zr("name"),H_=Zr("text"),P_=Zr("role"),U_=Zr("icon"),W_=Zr("tooltip"),j_=Zr("chevronTooltip"),$_=Zr("label"),G_=Zr("shortcut"),q_=ta("select"),Y_=ca("active",!1),X_=ca("borderless",!1),K_=ca("enabled",!0),J_=ca("primary",!1),Q_=e=>sa("columns",e),Z_=sa("meta",{}),eT=da("onAction",b),tT=e=>ia("type",e),oT=e=>Vr("name","name",gr(()=>Ne(`${e}-name`)),lr),nT=[__,A_,$r("level",["info","warn","error","success"]),M_,sa("url","")],sT=kr(nT),rT=[__,A_,K_,oT("button"),U_,X_,ea("buttonType",["primary","secondary","toolbar"]),J_,ia("context","mode:design")],aT=kr(rT),iT=[__,T_],lT=iT.concat([$_]),cT=iT.concat([E_,K_,ia("context","mode:design")]),dT=kr(cT),uT=cr,mT=lT.concat([Q_("auto"),ia("context","mode:design")]),gT=kr(mT),pT=Er([I_,A_,M_]),hT=lT.concat([ia("storageKey","default"),ia("context","mode:design")]),fT=kr(hT),bT=lr,vT=kr(lT),xT=lr,yT=iT.concat([ia("tag","textarea"),jr("scriptId"),jr("scriptUrl"),ta("onFocus"),ra("settings",void 0,mr)]),wT=iT.concat([ia("tag","textarea"),Gr("init")]),ST=Dr(e=>Br("customeditor.old",Cr(wT),e).orThunk(()=>Br("customeditor.new",Cr(yT),e))),CT=lr,kT=[K_,H_,P_,G_,Vr("value","value",gr(()=>Ne("menuitem-value")),rr()),Z_,ia("context","mode:design")];const OT=kr([__,T_].concat(kT)),_T=cr,TT=[oT("button"),U_,la("align","end",["start","end"]),J_,K_,ea("buttonType",["primary","secondary"]),ia("context","mode:design")],ET=[...TT,A_],AT=[$r("type",["submit","cancel","custom"]),...ET],DT=[$r("type",["menu"]),H_,W_,U_,Xr("items",OT),...TT],MT=[...TT,$r("type",["togglebutton"]),W_,U_,H_,ca("active",!1)],BT=Nr("type",{submit:AT,cancel:AT,custom:AT,menu:DT,togglebutton:MT}),IT=lT.concat([ia("context","mode:design"),Zr("dropAreaLabel"),Zr("buttonLabel"),Zr("allowedFileTypes"),oa("allowedFileExtensions",lr),da("onInvalidFiles",()=>Promise.resolve())]),FT=kr(IT),RT=Or(sr),NT=e=>[__,Wr("columns"),e],zT=[__,jr("html"),la("presets","presentation",["presentation","document"]),da("onInit",b),ca("stretched",!1)],VT=kr(zT),LT=lT.concat([ca("border",!1),ca("sandboxed",!0),ca("streamContent",!1),ca("transparent",!0)]),HT=kr(LT),PT=lr,UT=kr(iT.concat([Zr("height")])),WT=kr([jr("url"),Qr("zoom"),Qr("cachedWidth"),Qr("cachedHeight")]),jT=lT.concat([Zr("inputMode"),Zr("placeholder"),ca("maximized",!1),K_,ia("context","mode:design")]),$T=kr(jT),GT=lr,qT=e=>[__,E_,e,la("align","start",["start","center","end"]),Zr("for")],YT=[A_,I_],XT=[A_,Xr("items",zr(0,()=>KT))],KT=_r([kr(YT),kr(XT)]),JT=lT.concat([Xr("items",KT),K_,ia("context","mode:design")]),QT=kr(JT),ZT=lr,eE=lT.concat([Yr("items",[A_,I_]),aa("size",1),K_,ia("context","mode:design")]),tE=kr(eE),oE=lr,nE=lT.concat([ca("constrain",!0),K_,ia("context","mode:design")]),sE=kr(nE),rE=kr([jr("width"),jr("height")]),aE=iT.concat([E_,aa("min",0),aa("max",0)]),iE=kr(aE),lE=ir,cE=[__,Xr("header",lr),Xr("cells",Or(lr))],dE=kr(cE),uE=lT.concat([Zr("placeholder"),ca("maximized",!1),K_,ia("context","mode:design"),Jr("spellcheck",cr)]);const mE=kr(uE),gE=lr,pE=[ia("buttonType","default"),Zr("text"),Zr("tooltip"),Zr("icon"),ra("search",!1,_r([cr,kr([Zr("placeholder")])],e=>d(e)?e?A.some({placeholder:A.none()}):A.none():A.some(e))),Gr("fetch"),da("onSetup",()=>b),ia("context","mode:design")],hE=kr([__,...pE]),fE=e=>Br("menubutton",hE,e),bE=[$r("type",["directory","leaf"]),D_,jr("id"),Jr("menu",hE),Zr("customStateIcon"),Zr("customStateIconTooltip")],vE=kr(bE),xE=bE.concat([Xr("children",zr(0,()=>Ar("type",{directory:yE,leaf:vE})))]),yE=kr(xE),wE=Ar("type",{directory:yE,leaf:vE}),SE=[__,Xr("items",wE),ta("onLeafAction"),ta("onToggleExpand"),ua("defaultExpandedIds",[],lr),Zr("defaultSelectedId")],CE=kr(SE),kE=lT.concat([la("filetype","file",["image","media","file"]),K_,Zr("picker_text"),ia("context","mode:design")]),OE=kr(kE),_E=kr([I_,Z_]),TE=e=>Vr("items","items",{tag:"required",process:{}},Or(Dr(t=>Br(`Checking item of ${e}`,EE,t).fold(e=>Ae.error(Rr(e)),e=>Ae.value(e))))),EE=wr(()=>{return Ar("type",{alertbanner:sT,bar:kr((e=TE("bar"),[__,e])),button:aT,checkbox:dT,colorinput:fT,colorpicker:vT,dropzone:FT,grid:kr(NT(TE("grid"))),iframe:HT,input:$T,listbox:QT,selectbox:tE,sizeinput:sE,slider:iE,textarea:mE,urlinput:OE,customeditor:ST,htmlpanel:VT,imagepreview:UT,collection:gT,label:kr(qT(TE("label"))),table:dE,tree:CE,panel:DE});var e}),AE=[__,sa("classes",[]),Xr("items",EE)],DE=kr(AE),ME=[oT("tab"),D_,Xr("items",EE)],BE=[__,Yr("tabs",ME),ca("dynamicHeight",!1)],IE=kr(BE),FE=ET,RE=BT,NE=kr([jr("title"),Ur("body",Ar("type",{panel:DE,tabpanel:IE})),ia("size","normal"),ua("buttons",[],RE),sa("initialData",{}),da("onAction",b),da("onChange",b),da("onSubmit",b),da("onClose",b),da("onCancel",b),da("onTabChange",b)]),zE=kr([$r("type",["cancel","custom"]),...FE]),VE=kr([jr("title"),jr("url"),Qr("height"),Qr("width"),oa("buttons",zE),da("onAction",b),da("onCancel",b),da("onClose",b),da("onMessage",b)]),LE=e=>a(e)?[e].concat(q(he(e),LE)):l(e)?q(e,LE):[],HE=e=>r(e.type)&&r(e.name),PE={checkbox:uT,colorinput:bT,colorpicker:xT,dropzone:RT,input:GT,iframe:PT,imagepreview:WT,selectbox:oE,sizeinput:rE,slider:lE,listbox:ZT,size:rE,textarea:gE,urlinput:_E,customeditor:CT,collection:pT,togglemenuitem:_T},UE=e=>{const t=(e=>P(LE(e),HE))(e),o=q(t,e=>(e=>A.from(PE[e.type]))(e).fold(()=>[],t=>[Ur(e.name,t)]));return kr(o)},WE=e=>({internalDialog:Ir(Br("dialog",NE,e)),dataValidator:UE(e),initialData:e.initialData??{}}),jE={open:(e,t)=>{const o=WE(t);return e(o.internalDialog,o.initialData,o.dataValidator)},openUrl:(e,t)=>e(Ir(Br("dialog",VE,t))),redial:e=>WE(e)},$E=kr([__,H_]),GE=kr([tT("autocompleteitem"),Y_,K_,Z_,I_,H_,U_]);kr([__,jr("trigger"),aa("minChars",1),Q_(1),aa("maxResults",10),ta("matches"),F_,N_,ua("highlightOn",[],lr)]);const qE=[K_,W_,U_,H_,V_,ia("context","mode:design")],YE=kr([__,N_,G_].concat(qE)),XE=e=>Br("toolbarbutton",YE,e),KE=[Y_].concat(qE),JE=kr(KE.concat([__,N_,G_])),QE=e=>Br("ToggleButton",JE,e),ZE=[da("predicate",T),la("scope","node",["node","editor"]),la("position","selection",["node","selection","line"])],eA=qE.concat([tT("contextformbutton"),ia("align","end"),J_,N_,Lr("original",w)]),tA=KE.concat([tT("contextformbutton"),ia("align","end"),J_,N_,Lr("original",w)]),oA=qE.concat([tT("contextformbutton")]),nA=KE.concat([tT("contextformtogglebutton")]),sA=[$_,Xr("commands",Nr("type",{contextformbutton:eA,contextformtogglebutton:tA})),Jr("launch",Nr("type",{contextformbutton:oA,contextformtogglebutton:nA})),da("onInput",b),da("onSetup",b)],rA=[...ZE,...sA,$r("type",["contextform"]),da("initValue",y("")),Zr("placeholder")],aA=[...ZE,...sA,$r("type",["contextsliderform"]),da("initValue",y(0)),da("min",y(0)),da("max",y(100))],iA=[...ZE,...sA,$r("type",["contextsizeinputform"]),da("initValue",y({width:"",height:""}))],lA=Nr("type",{contextform:rA,contextsliderform:aA,contextsizeinputform:iA}),cA=qE.concat([tT("contexttoolbarbutton")]),dA=kr([tT("contexttoolbar"),na("launch",cA),Ur("items",_r([lr,Er([Zr("name"),Zr("label"),Xr("items",lr)])]))].concat(ZE)),uA=e=>({name:e.name.getOrUndefined(),label:e.label.getOrUndefined(),items:e.items}),mA=[__,jr("src"),Zr("alt"),ua("classes",[],lr)],gA=kr(mA),pA=[__,A_,L_,ua("classes",["tox-collection__item-label"],lr)],hA=kr(pA),fA=wr(()=>Ar("type",{cardimage:gA,cardtext:hA,cardcontainer:bA})),bA=kr([__,ia("direction","horizontal"),ia("align","left"),ia("valign","middle"),Xr("items",fA)]),vA=kr([__,$_,Xr("items",fA),V_,eT].concat(kT)),xA=kr([__,Y_,U_,$_].concat(kT)),yA=[__,jr("fancytype"),eT],wA=[sa("initData",{})].concat(yA),SA=[ta("select"),ma("initData",{},[ca("allowCustomColors",!0),ia("storageKey","default"),oa("colors",rr())])].concat(yA),CA=[ta("select"),qr("initData",[Wr("columns"),ua("items",[],rr())])].concat(yA),kA=Nr("fancytype",{inserttable:wA,colorswatch:SA,imageselect:CA}),OA=kr([__,Y_,B_,$_,W_].concat(kT)),_A=kr([__,Y_,M_,E_,W_,I_].concat(kT)),TA=kr([__,V_,eT,U_].concat(kT)),EA=kr([__,R_,V_,U_].concat(kT)),AA=kr([__,U_,Y_,V_,N_].concat(kT)),DA=kr([U_,W_,ca("resizable",!1),da("onShow",b),da("onHide",b),V_]),MA=kr([__,Ur("items",_r([Er([T_,Xr("items",lr)]),lr]))].concat(qE)),BA=kr([__,W_,j_,U_,H_,q_,F_,V_,la("presets","normal",["normal","color","listpreview"]),Q_(1),N_,z_,ia("context","mode:design")]),IA=[H_,U_,Zr("tooltip"),la("buttonType","secondary",["primary","secondary"]),ca("borderless",!1),Gr("onAction"),ia("context","mode:design")],FA={button:[...IA,A_,$r("type",["button"])],togglebutton:[...IA,ca("active",!1),$r("type",["togglebutton"])]},RA=[$r("type",["group"]),ua("buttons",[],Nr("type",FA))],NA=Nr("type",{...FA,group:RA}),zA=kr([ua("buttons",[],NA),ca("keepToolbar",!1),Gr("onShow"),Gr("onHide")]),VA=(e,t,o)=>{const n=gs(e.element,"."+o);if(n.length>0){const e=$(n,e=>{const o=e.dom.getBoundingClientRect().top,s=n[0].dom.getBoundingClientRect().top;return Math.abs(o-s)>t}).getOr(n.length);return A.some({numColumns:e,numRows:Math.ceil(n.length/e)})}return A.none()},LA=e=>((e,t)=>hd([wd(e,t)]))(Ne("unnamed-events"),e),HA=e=>gp.config({disabled:e,disableClass:"tox-collection__item--state-disabled"}),PA=e=>gp.config({disabled:e}),UA=e=>gp.config({disabled:e,disableClass:"tox-tbtn--disabled",useNative:!1}),WA=(e,t)=>{const o=e.getApi(t);return e=>{e(o)}},jA=(e,t)=>id(o=>{p(e.onBeforeSetup)&&e.onBeforeSetup(o),WA(e,o)(o=>{const n=e.onSetup(o);p(n)&&t.set(n)})}),$A=(e,t)=>ld(o=>WA(e,o)(t.get())),GA=(e,t,o)=>ld(n=>(o.set(mf.getValue(n)),WA(e,n)(t.get()))),qA="silver.uistate",YA="setDisabled",XA="init",KA=["switchmode",XA],JA=(e,t)=>{const o=e.mainUi.outerContainer,n=[e.mainUi.mothership,...e.uiMotherships];t===YA&&L(n,e=>{e.broadcastOn([zd()],{target:o.element})}),L(n,e=>{e.broadcastOn([qA],t)})},QA=(e,t)=>{e.on("init SwitchMode",e=>{JA(t,e.type)}),e.on("DisabledStateChange",o=>{if(!o.isDefaultPrevented()){const n=o.state?YA:XA;JA(t,n),o.state||e.nodeChanged()}}),e.on("NodeChange",o=>{const n=e.ui.isEnabled()?o.type:YA;JA(t,n)}),nC(e)&&e.mode.set("readonly")},ZA=e=>vb.config({channels:{[qA]:{onReceive:(t,o)=>{if(o===YA||"setEnabled"===o)return void gp.set(t,o===YA);const{contextType:n,shouldDisable:s}=e();("mode"!==n||F(KA,o))&&gp.set(t,s)}}}}),eD=(e,t)=>dd((o,n)=>{WA(e,o)(e.onAction),e.triggersSubmenu||t!==WO.CLOSE_ON_EXECUTE||(o.getSystem().isConnected()&&jc(o,Ka()),n.stop())}),tD={[Ga()]:["disabling","alloy.base.behaviour","toggling","item-events"]},oD=Pe,nD=(e,t,o,n)=>{const s=ye(b);return{type:"item",dom:t.dom,components:oD(t.optComponents),data:e.data,eventOrder:tD,hasSubmenu:e.triggersSubmenu,itemBehaviours:hd([wd("item-events",[eD(e,o),jA(e,s),$A(e,s)]),HA(()=>!e.enabled||n.checkUiComponentContext(e.context).shouldDisable),ZA(()=>n.checkUiComponentContext(e.context)),ug.config({})].concat(e.itemBehaviours))}},sD=e=>({value:e.value,meta:{text:e.text.getOr(""),...e.meta}}),rD=(e,t)=>{const o=it("div");return ns(o,"tox-image-selector-loading-spinner"),{dom:{tag:e.tag,attributes:e.attributes??{},classes:e.classes},components:[{dom:{tag:"div",classes:["tox-image-selector-image-wrapper"]},components:[{dom:{tag:"img",attributes:{src:t},classes:["tox-image-selector-image-img"]}}]},...e.checkMark.toArray()],behaviours:hd([...e.behaviours??[],wd("render-image-events",[id(e=>{var t;t=e.element,ns(t,"tox-image-selector-loading-spinner-wrapper"),$o(t,o),Xn(e.element,"img").each(t=>{rn(t).catch(e=>{console.error(e)}).finally(()=>{(e=>{rs(e,"tox-image-selector-loading-spinner-wrapper"),tn(o)})(e.element)})})})])])}},aD=e=>{const t=JS.os.isMacOS()||JS.os.isiOS(),o=t?{alt:"\u2325",ctrl:"\u2303",shift:"\u21e7",meta:"\u2318",access:"\u2303\u2325"}:{meta:"Ctrl",access:"Shift+Alt"},n=e.split("+"),s=V(n,e=>{const t=e.toLowerCase().trim();return be(o,t)?o[t]:e});return t?s.join(""):s.join("+")},iD=(e,t,o=[XO])=>VO(e,{tag:"div",classes:o},t),lD=e=>({dom:{tag:"div",classes:[KO]},components:[zg(AO.translate(e))]}),cD=(e,t)=>({dom:{tag:"div",classes:t,innerHtml:e}}),dD=(e,t)=>({dom:{tag:"div",classes:[KO]},components:[{dom:{tag:e.tag,styles:e.styles},components:[zg(AO.translate(t))]}]}),uD=e=>({dom:{tag:"div",classes:["tox-collection__item-accessory"]},components:[zg(aD(e))]}),mD=e=>iD("checkmark",e,["tox-collection__item-checkmark"]),gD=(e,t)=>{const o=e.map(e=>({attributes:{id:Ne("menu-item"),"aria-label":AO.translate(e)}})).getOr({});return{tag:"div",classes:[jO,$O].concat(t),...o}},pD=e=>({dom:{tag:"label"},components:[zg(e)]}),hD=(e,t,o,n=A.none())=>"color"===e.presets?((e,t,o)=>{const n=e.value,s=e.iconContent.map(e=>((e,t,o)=>{const n=t();return FO(e,n).or(o).getOrThunk(BO(n))})(e,t.icons,o)),r=e.ariaLabel.map(e=>({"aria-label":t.translate(e),"data-mce-name":e})).getOr({});return{dom:(()=>{const e=GO,t=s.getOr(""),o={tag:"div",attributes:r,classes:[e]};return"custom"===n?{...o,tag:"button",classes:[...o.classes,"tox-swatches__picker-btn"],innerHtml:t}:"remove"===n?{...o,classes:[...o.classes,"tox-swatch--remove"],innerHtml:t}:g(n)?{...o,attributes:{...o.attributes,"data-mce-color":n},styles:{"background-color":n},innerHtml:t}:o})(),optComponents:[]}})(e,t,n):"img"===e.presets?(e=>{var t,o;return{dom:gD(e.ariaLabel,["tox-collection__item-image-selector"]),optComponents:[A.some((t=e.iconContent.getOrDie(),o={tag:"div",classes:["tox-collection__item-image"],checkMark:e.checkMark},rD(o,t))),e.labelContent.map(pD)]}})(e):((e,t,o,n)=>{const s={tag:"div",classes:[XO]},r=o?e.iconContent.map(e=>VO(e,s,t.icons,n)).orThunk(()=>A.some({dom:s})):A.none(),a=e.checkMark,i=A.from(e.meta).fold(()=>lD,e=>be(e,"style")?C(dD,e.style):lD),l=e.htmlContent.fold(()=>e.textContent.map(i),e=>A.some(cD(e,[KO])));return{dom:gD(e.ariaLabel,[]),optComponents:[r,l,e.shortcutContent.map(uD),a,e.caret,e.labelContent.map(pD)]}})(e,t,o,n),fD=(e,t,o)=>fe(e,"tooltipWorker").map(e=>[Tv.config({lazySink:t.getSink,tooltipDom:{tag:"div",classes:["tox-tooltip-worker-container"]},tooltipComponents:[],anchor:e=>({type:"submenu",item:e,overrides:{maxHeightFunction:Fc}}),mode:"follow-highlight",onShow:(t,o)=>{e(e=>{Tv.setComponents(t,[Vg({element:ct(e)})])})}})]).getOrThunk(()=>o.map(e=>[Tv.config({...t.providers.tooltips.getConfig({tooltipText:e}),mode:"follow-highlight"})]).getOr([])),bD=(e,t)=>{const o=(e=>XS.DOM.encode(e))(AO.translate(e));if(t.length>0){const e=new RegExp((e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))(t),"gi");return o.replace(e,e=>`${e}`)}return o},vD=(e,t,o,n,s,r,a,i=!0)=>{const l=hD({presets:o,textContent:t?e.text:A.none(),htmlContent:A.none(),labelContent:e.label,ariaLabel:e.text,iconContent:e.icon,shortcutContent:t?e.shortcut:A.none(),checkMark:t?A.some(mD(a.icons)):A.none(),caret:A.none(),value:e.value},a,i),c=e.text.filter(y(!t)).map(e=>Tv.config(a.tooltips.getConfig({tooltipText:a.translate(e)})));return Ve(nD({context:e.context,data:sD(e),enabled:e.enabled,getApi:e=>({setActive:t=>{hv.set(e,t)},isActive:()=>hv.isOn(e),isEnabled:()=>!gp.isDisabled(e),setEnabled:t=>gp.set(e,!t)}),onAction:t=>n(e.value),onSetup:e=>(e.setActive(s),b),triggersSubmenu:!1,itemBehaviours:[...c.toArray()]},l,r,a),{toggling:{toggleClass:YO,toggleOnExecute:!1,selected:e.active,exclusive:!0}})},xD=e=>({type:"separator",dom:{tag:"div",classes:[$O,"tox-collection__group-heading"]},components:e.text.map(zg).toArray()}),yD=e=>({value:kD(e)}),wD=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,SD=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,CD=e=>wD.test(e)||SD.test(e),kD=e=>Ke(e,"#").toUpperCase(),OD=e=>{const t=e.toString(16);return(1===t.length?"0"+t:t).toUpperCase()},_D=e=>{const t=OD(e.red)+OD(e.green)+OD(e.blue);return yD(t)},TD=(e,t,o)=>({hue:e,saturation:t,value:o}),ED=e=>{let t=0,o=0,n=0;const s=e.red/255,r=e.green/255,a=e.blue/255,i=Math.min(s,Math.min(r,a)),l=Math.max(s,Math.max(r,a));return i===l?(n=i,TD(0,0,100*n)):(t=s===i?3:a===i?1:5,t=60*(t-(s===i?r-a:a===i?s-r:a-s)/(l-i)),o=(l-i)/l,n=l,TD(Math.round(t),Math.round(100*o),Math.round(100*n)))},AD=Math.min,DD=Math.max,MD=Math.round,BD=/^\s*rgb\s*\(\s*(\d+)\s*[,\s]\s*(\d+)\s*[,\s]\s*(\d+)\s*\)\s*$/i,ID=/^\s*rgba\s*\(\s*(\d+)\s*[,\s]\s*(\d+)\s*[,\s]\s*(\d+)\s*[,\s]\s*((?:\d?\.\d+|\d+)%?)\s*\)\s*$/i,FD=(e,t,o,n)=>({red:e,green:t,blue:o,alpha:n}),RD=e=>{const t=parseInt(e,10);return t.toString()===e&&t>=0&&t<=255},ND=e=>{let t,o,n;const s=(e.hue||0)%360;let r=e.saturation/100,a=e.value/100;if(r=DD(0,AD(r,1)),a=DD(0,AD(a,1)),0===r)return t=o=n=MD(255*a),FD(t,o,n,1);const i=s/60,l=a*r,c=l*(1-Math.abs(i%2-1)),d=a-l;switch(Math.floor(i)){case 0:t=l,o=c,n=0;break;case 1:t=c,o=l,n=0;break;case 2:t=0,o=l,n=c;break;case 3:t=0,o=c,n=l;break;case 4:t=c,o=0,n=l;break;case 5:t=l,o=0,n=c;break;default:t=o=n=0}return t=MD(255*(t+d)),o=MD(255*(o+d)),n=MD(255*(n+d)),FD(t,o,n,1)},zD=e=>{const t=(e=>{const t=(e=>{const t=e.value.replace(wD,(e,t,o,n)=>t+t+o+o+n+n);return{value:t}})(e),o=SD.exec(t.value);return null===o?["FFFFFF","FF","FF","FF"]:o})(e),o=parseInt(t[1],16),n=parseInt(t[2],16),s=parseInt(t[3],16);return FD(o,n,s,1)},VD=(e,t,o,n)=>{const s=parseInt(e,10),r=parseInt(t,10),a=parseInt(o,10),i=parseFloat(n);return FD(s,r,a,i)},LD=e=>{const t=BD.exec(e);if(null!==t)return A.some(VD(t[1],t[2],t[3],"1"));const o=ID.exec(e);return null!==o?A.some(VD(o[1],o[2],o[3],o[4])):A.none()},HD=e=>`rgba(${e.red},${e.green},${e.blue},${e.alpha})`,PD=FD(255,0,0,1),UD=e=>_D(ND(e)),WD=(e,t)=>{e.dispatch("ResizeContent",t)},jD=(e,t)=>{e.dispatch("TextColorChange",t)},$D=(e,t)=>e.dispatch("ResolveName",{name:t.nodeName.toLowerCase(),target:t}),GD=e=>{e.dispatch("ToggleSidebar")},qD=e=>{e.dispatch("ContextToolbarClose")},YD=(e,t)=>()=>{e(),t()},XD=(e,t=E)=>JD(e,"NodeChange",o=>{o.setEnabled(e.selection.isEditable()&&t())}),KD=(e,t)=>o=>{const n=XD(e)(o),s=((e,t)=>o=>{const n=qe(),s=()=>{o.setActive(e.formatter.match(t));const s=e.formatter.formatChanged(t,o.setActive);n.set(s)};return e.initialized?s():e.once("init",s),()=>{e.off("init",s),n.clear()}})(e,t)(o);return()=>{n(),s()}},JD=(e,t,o)=>n=>{const s=()=>o(n),r=()=>{o(n),e.on(t,s)};return e.initialized?r():e.once("init",r),()=>{e.off("init",r),e.off(t,s)}},QD=e=>t=>()=>{e.undoManager.transact(()=>{e.focus(),e.execCommand("mceToggleFormat",!1,t.format)})},ZD=(e,t)=>()=>e.execCommand(t);var eM=tinymce.util.Tools.resolve("tinymce.util.LocalStorage");const tM={},oM=e=>fe(tM,e).getOrThunk(()=>{const t=`tinymce-custom-colors-${e}`,o=eM.getItem(t);if(m(o)){const e=eM.getItem("tinymce-custom-colors");eM.setItem(t,g(e)?e:"[]")}const n=((e,t=10)=>{const o=eM.getItem(e),n=r(o)?JSON.parse(o):[],s=t-(a=n).length<0?a.slice(0,t):a;var a;const i=e=>{s.splice(e,1)};return{add:o=>{((e,t)=>{const o=I(e,t);return-1===o?A.none():A.some(o)})(s,o).each(i),s.unshift(o),s.length>t&&s.pop(),eM.setItem(e,JSON.stringify(s))},state:()=>s.slice(0)}})(t,10);return tM[e]=n,n}),nM=(e,t)=>{oM(e).add(t)},sM="forecolor",rM="hilitecolor",aM=e=>{const t=[];for(let o=0;ot=>t.options.get(e),lM="#000000",cM=(e,t)=>t===sM&&e.options.isSet("color_map_foreground")?iM("color_map_foreground")(e):t===rM&&e.options.isSet("color_map_background")?iM("color_map_background")(e):e.options.isSet("color_map_raw")?iM("color_map_raw")(e):iM("color_map")(e),dM=(e,t="default")=>Math.max(5,Math.ceil(Math.sqrt(cM(e,t).length))),uM=(e,t)=>{const o=iM("color_cols")(e),n=dM(e,t);return o===dM(e)?n:o},mM=(e,t="default")=>Math.round(t===sM?iM("color_cols_foreground")(e):t===rM?iM("color_cols_background")(e):iM("color_cols")(e)),gM=iM("custom_colors"),pM=iM("color_default_foreground"),hM=iM("color_default_background"),fM=(e,t)=>{const o=ct(e.selection.getStart()),n="hilitecolor"===t?vs(o,e=>{if(so(e)){const t=fn(e,"background-color");return je((e=>LD(e).exists(e=>0!==e.alpha))(t),t)}return A.none()}).getOr("rgba(0, 0, 0, 0)"):fn(o,"color");return LD(n).map(e=>"#"+_D(e).value)},bM=e=>{const t="choiceitem",o={type:t,text:"Remove color",icon:"color-swatch-remove-color",value:"remove"};return e?[o,{type:t,text:"Custom color",icon:"color-picker",value:"custom"}]:[o]},vM=(e,t,o,n)=>{"custom"===o?TM(e)(o=>{o.each(o=>{nM(t,o),e.execCommand("mceApplyTextcolor",t,o),n(o)})},fM(e,t).getOr(lM)):"remove"===o?(n(""),e.execCommand("mceRemoveTextcolor",t)):(n(o),e.execCommand("mceApplyTextcolor",t,o))},xM=(e,t,o)=>e.concat((e=>V(oM(e).state(),e=>({type:"choiceitem",text:e,icon:"checkmark",value:e})))(t).concat(bM(o))),yM=(e,t,o)=>n=>{n(xM(e,t,o))},wM=(e,t,o)=>{const n="forecolor"===t?"tox-icon-text-color__color":"tox-icon-highlight-bg-color__color";e.setIconFill(n,o)},SM=(e,t)=>{e.setTooltip(t)},CM=(e,t)=>o=>{const n=fM(e,t);return He(n,o.toUpperCase())},kM=(e,t,o)=>{if(ot(o))return"forecolor"===t?"Text color":"Background color";const n="forecolor"===t?"Text color {0}":"Background color {0}",s=xM(cM(e,t),t,!1),r=j(s,e=>e.value===o).getOr({text:""}).text;return e.translate([n,e.translate(r)])},OM=(e,t,o,n)=>{e.ui.registry.addSplitButton(t,{tooltip:kM(e,o,n.get()),chevronTooltip:"forecolor"===t?"Text color menu":"Background color menu",presets:"color",icon:"forecolor"===t?"text-color":"highlight-bg-color",select:CM(e,o),columns:mM(e,o),fetch:yM(cM(e,o),o,gM(e)),onAction:t=>{vM(e,o,n.get(),b)},onItemAction:(s,r)=>{vM(e,o,r,o=>{n.set(o),jD(e,{name:t,color:o})})},onSetup:s=>{wM(s,t,n.get());const r=n=>{n.name===t&&(wM(s,n.name,n.color),SM(s,kM(e,o,n.color)))};return e.on("TextColorChange",r),YD(XD(e)(s),()=>{e.off("TextColorChange",r)})}})},_M=(e,t,o,n,s)=>{e.ui.registry.addNestedMenuItem(t,{text:n,icon:"forecolor"===t?"text-color":"highlight-bg-color",onSetup:n=>(SM(n,kM(e,o,s.get())),wM(n,t,s.get()),XD(e)(n)),getSubmenuItems:()=>[{type:"fancymenuitem",fancytype:"colorswatch",select:CM(e,o),initData:{storageKey:o},onAction:n=>{vM(e,o,n.value,o=>{s.set(o),jD(e,{name:t,color:o})})}}]})},TM=e=>(t,o)=>{let n=!1;const s={colorpicker:o};e.windowManager.open({title:"Color Picker",size:"normal",body:{type:"panel",items:[{type:"colorpicker",name:"colorpicker",label:"Color"}]},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:s,onAction:(e,t)=>{"hex-valid"===t.name&&(n=t.value)},onSubmit:o=>{const s=o.getData().colorpicker;n?(t(A.from(s)),o.close()):e.windowManager.alert(e.translate(["Invalid hex color code: {0}",s]))},onClose:b,onCancel:()=>{t(A.none())}})},EM=(e,t,o,n,s,r,a,i)=>{const l=S_(t),c=AM(t,o,n,"color"!==s?"normal":"color",r,a,i);return O_(e,l,c,n,{menuType:s})},AM=(e,t,o,n,s,r,a)=>Pe(V(e,i=>{return"choiceitem"===i.type?(l=i,Br("choicemenuitem",xA,l)).fold(C_,i=>A.some(vD(i,1===o,n,t,r(i.value),s,a,S_(e)))):"imageitem"===i.type?(e=>Br("imagemenuitem",OA,e))(i).fold(C_,e=>A.some(((e,t,o,n,s)=>{const r=hD({presets:"img",textContent:A.none(),htmlContent:A.none(),ariaLabel:e.tooltip,iconContent:A.some(e.url),labelContent:e.label,shortcutContent:A.none(),checkMark:A.some(mD(s.icons)),caret:A.none(),value:e.value},s,!0),a=e.tooltip.map(e=>Tv.config(s.tooltips.getConfig({tooltipText:s.translate(e)})));return Ve(nD({context:e.context,data:sD(e),enabled:e.enabled,getApi:e=>({setActive:t=>{hv.set(e,t)},isActive:()=>hv.isOn(e),isEnabled:()=>!gp.isDisabled(e),setEnabled:t=>gp.set(e,!t)}),onAction:o=>{t(e.value),o.setActive(!0)},onSetup:e=>(e.setActive(o),b),triggersSubmenu:!1,itemBehaviours:[...a.toArray()]},r,n,s),{toggling:{toggleClass:YO,toggleOnExecute:!1,selected:e.active,exclusive:!0}})})(e,t,r(e.value),s,a))):"resetimage"===i.type?(e=>Br("resetimageitem",_A,e))(i).fold(C_,i=>A.some(vD({...i,type:"choiceitem",text:i.tooltip,icon:A.some(i.icon),label:A.some(i.label)},1===o,n,t,r(i.value),s,a,S_(e)))):A.none();var l})),DM=(e,t)=>{const o=s_(t);return 1===e?{mode:"menu"}:"auto"===e?{mode:"grid",selector:"."+o.item,initSize:{numColumns:1,numRows:1}}:{mode:"matrix",rowSelector:"."+{color:"tox-swatches__row",imageselector:"tox-image-selector__row",listpreview:"tox-collection__group",normal:"tox-collection__group"}[t],previousSelector:e=>"color"===t?Xn(e.element,"[aria-checked=true]"):A.none()}},MM=Ne("cell-over"),BM=Ne("cell-execute"),IM=(e,t,o)=>{const n=o=>$c(o,BM,{row:e,col:t}),s=(e,t)=>{t.stop(),n(e)};return Pg({dom:{tag:"div",attributes:{role:"button","aria-label":o}},behaviours:hd([wd("insert-table-picker-cell",[Zc(ka(),_d.focus),Zc(Ga(),n),Zc(Ma(),s),Zc(Ya(),s)]),hv.config({toggleClass:"tox-insert-table-picker__selected",toggleOnExecute:!1}),_d.config({onFocus:o=>$c(o,MM,{row:e,col:t})})])})},FM=e=>q(e,e=>V(e,Ug)),RM=(e,t)=>zg(`${t}x${e}`),NM={inserttable:(e,t)=>{const o=(e=>(t,o)=>e.shared.providers.translate(["{0} columns, {1} rows",o,t]))(t),n=(e=>{const t=[];for(let o=0;o<10;o++){const n=[];for(let t=0;t<10;t++){const s=e(o+1,t+1);n.push(IM(o,t,s))}t.push(n)}return t})(o),s=RM(0,0),r=Dv({dom:{tag:"span",classes:["tox-insert-table-picker__label"]},components:[s],behaviours:hd([ug.config({})])});return{type:"widget",data:{value:Ne("widget-id")},dom:{tag:"div",classes:["tox-fancymenuitem"]},autofocus:!0,components:[fy.widget({dom:{tag:"div",classes:["tox-insert-table-picker"]},components:FM(n).concat(r.asSpec()),behaviours:hd([wd("insert-table-picker",[id(e=>{ug.set(r.get(e),[s])}),nd(MM,(e,t,o)=>{const{row:s,col:a}=o.event;((e,t,o)=>{for(let n=0;n<10;n++)for(let s=0;s<10;s++)hv.set(e[n][s],n<=t&&s<=o)})(n,s,a),ug.set(r.get(e),[RM(s+1,a+1)])}),nd(BM,(t,o,n)=>{const{row:s,col:r}=n.event;jc(t,Ka()),e.onAction({numRows:s+1,numColumns:r+1})})]),Im.config({initSize:{numRows:10,numColumns:10},mode:"flatgrid",selector:'[role="button"]'})])})]}},colorswatch:(e,t)=>{const o=((e,t)=>{const o=e.initData.allowCustomColors&&t.colorinput.hasCustomColors();return e.initData.colors.fold(()=>xM(t.colorinput.getColors(e.initData.storageKey),e.initData.storageKey,o),e=>e.concat(bM(o)))})(e,t),n=t.colorinput.getColorCols(e.initData.storageKey),s="color",r=EM(Ne("menu-value"),o,t=>{e.onAction({value:t})},n,s,WO.CLOSE_ON_EXECUTE,e.select.getOr(T),t.shared.providers),a={...r,markers:s_(s),movement:DM(n,s),showMenuRole:!1};return{type:"widget",data:{value:Ne("widget-id")},dom:{tag:"div",classes:["tox-fancymenuitem"]},autofocus:!0,components:[fy.widget(hx.sketch(a))]}},imageselect:(e,t)=>{const o="imageselector",n=e.initData.columns,s=EM(Ne("menu-value"),e.initData.items,t=>{e.onAction({value:t})},n,o,WO.CLOSE_ON_EXECUTE,e.select.getOr(T),t.shared.providers),r={...s,markers:s_(o),movement:DM(n,o),showMenuRole:!1};return{type:"widget",data:{value:Ne("widget-id")},dom:{tag:"div",classes:["tox-fancymenuitem","tox-collection--toolbar"]},autofocus:!0,components:[fy.widget(hx.sketch(r))]}}},zM=(e,t)=>V(e,e=>{switch(e.type){case"cardcontainer":return((e,t)=>{const o="vertical"===e.direction?"tox-collection__item-container--column":e_,n="left"===e.align?"tox-collection__item-container--align-left":"tox-collection__item-container--align-right";return{dom:{tag:"div",classes:[ZO,o,n,(()=>{switch(e.valign){case"top":return"tox-collection__item-container--valign-top";case"middle":return"tox-collection__item-container--valign-middle";case"bottom":return"tox-collection__item-container--valign-bottom"}})()]},components:t}})(e,zM(e.items,t));case"cardimage":return((e,t,o)=>({dom:{tag:"img",classes:t,attributes:{src:e,alt:o.getOr("")}}}))(e.src,e.classes,e.alt);case"cardtext":const o=e.name.exists(e=>F(t.cardText.highlightOn,e)),n=o?A.from(t.cardText.matchText).getOr(""):"";return cD(bD(e.text,n),e.classes)}}),VM=(e,t,o)=>{m_(e).each(e=>{var n;((e,t)=>{Jo(t.element,"id").each(t=>Yo(e.element,"aria-activedescendant",t))})(e,o),(as((n=t).element,h_)?A.some(n.element):Xn(n.element,"."+h_)).each(t=>{Jo(t,"id").each(t=>Yo(e.element,"aria-controls",t))})}),Yo(o.element,"aria-selected","true")},LM=(e,t,o)=>{Yo(o.element,"aria-selected","false")},HM=e=>Zg.getExistingCoupled(e,"sandbox").bind(u_).map(g_).map(e=>e.fetchPattern).getOr("");var PM;!function(e){e[e.ContentFocus=0]="ContentFocus",e[e.UiFocus=1]="UiFocus"}(PM||(PM={}));const UM=(e,t,o,n,s)=>{const r=o.shared.providers,a=e=>s?{...e,shortcut:A.none(),icon:e.text.isSome()?A.none():e.icon}:e;switch(e.type){case"menuitem":return(i=e,Br("menuitem",TA,i)).fold(C_,e=>A.some(((e,t,o,n=!0)=>{const s=hD({presets:"normal",iconContent:e.icon,textContent:e.text,htmlContent:A.none(),labelContent:A.none(),ariaLabel:e.text,caret:A.none(),checkMark:A.none(),shortcutContent:e.shortcut},o,n);return nD({context:e.context,data:sD(e),getApi:e=>({isEnabled:()=>!gp.isDisabled(e),setEnabled:t=>gp.set(e,!t)}),enabled:e.enabled,onAction:e.onAction,onSetup:e.onSetup,triggersSubmenu:!1,itemBehaviours:[]},s,t,o)})(a(e),t,r,n)));case"nestedmenuitem":return(e=>Br("nestedmenuitem",EA,e))(e).fold(C_,e=>A.some(((e,t,o,n=!0,s=!1)=>{const r=s?(a=o.icons,iD("chevron-down",a,[JO])):(e=>iD("chevron-right",e,[JO]))(o.icons);var a;const i=hD({presets:"normal",iconContent:e.icon,textContent:e.text,htmlContent:A.none(),ariaLabel:e.text,labelContent:A.none(),caret:A.some(r),checkMark:A.none(),shortcutContent:e.shortcut},o,n);return nD({context:e.context,data:sD(e),getApi:e=>({isEnabled:()=>!gp.isDisabled(e),setEnabled:t=>gp.set(e,!t),setIconFill:(t,o)=>{Xn(e.element,`svg path[class="${t}"], rect[class="${t}"]`).each(e=>{Yo(e,"fill",o)})},setTooltip:t=>{const n=o.translate(t);Yo(e.element,"aria-label",n)}}),enabled:e.enabled,onAction:b,onSetup:e.onSetup,triggersSubmenu:!0,itemBehaviours:[]},i,t,o)})(a(e),t,r,n,s)));case"togglemenuitem":return(e=>Br("togglemenuitem",AA,e))(e).fold(C_,e=>A.some(((e,t,o,n=!0)=>{const s=hD({iconContent:e.icon,textContent:e.text,htmlContent:A.none(),labelContent:A.none(),ariaLabel:e.text,checkMark:A.some(mD(o.icons)),caret:A.none(),shortcutContent:e.shortcut,presets:"normal",meta:e.meta},o,n);return Ve(nD({context:e.context,data:sD(e),enabled:e.enabled,getApi:e=>({setActive:t=>{hv.set(e,t)},isActive:()=>hv.isOn(e),isEnabled:()=>!gp.isDisabled(e),setEnabled:t=>gp.set(e,!t)}),onAction:e.onAction,onSetup:e.onSetup,triggersSubmenu:!1,itemBehaviours:[]},s,t,o),{toggling:{toggleClass:YO,toggleOnExecute:!1,selected:e.active},role:e.role.getOrUndefined()})})(a(e),t,r,n)));case"separator":return(e=>Br("separatormenuitem",$E,e))(e).fold(C_,e=>A.some(xD(e)));case"fancymenuitem":return(e=>Br("fancymenuitem",kA,e))(e).fold(C_,e=>((e,t)=>fe(NM,e.fancytype).map(o=>o(e,t)))(e,o));default:return console.error("Unknown item in general menu",e),A.none()}var i},WM=(e,t,o,n,s,r)=>{const a=S_(t),i=Pe(V(t,e=>{const t=e=>UM(e,o,n,(e=>s?!be(e,"text"):a)(e),s);return"nestedmenuitem"===e.type&&e.getSubmenuItems().length<=0?t({...e,enabled:!1}):t(e)})),l=(e=>"no-search"===e.searchMode?{menuType:"normal"}:{menuType:"searchable",searchMode:e})(r);return(s?k_:O_)(e,a,i,1,l)},jM=e=>Cx.singleData(e.value,e),$M=e=>xs(ct(e.startContainer),e.startOffset,ct(e.endContainer),e.endOffset),GM=(e,t)=>{const o=Ne("autocompleter"),n=ye(!1),s=ye(!1),r=Ye(),a=Pg(dy.sketch({dom:{tag:"div",classes:["tox-autocompleter"],attributes:{id:o}},components:[],fireDismissalEventInstead:{},inlineBehaviours:hd([wd("dismissAutocompleter",[Zc(ri(),()=>u()),Zc(mi(),(t,o)=>{Jo(o.event.target,"id").each(t=>Yo(ct(e.getBody()),"aria-activedescendant",t))})])]),lazySink:t.getSink})),i=()=>dy.isOpen(a),l=s.get,c=()=>{if(i()){dy.hide(a),e.dom.remove(o,!1);const t=ct(e.getBody());Jo(t,"aria-owns").filter(e=>e===o).each(()=>{Zo(t,"aria-owns"),Zo(t,"aria-activedescendant")})}},d=()=>dy.getContent(a).bind(e=>ee(e.components(),0)),u=()=>e.execCommand("mceAutocompleterClose"),m=s=>{const i=(o=>{const s=se(o,e=>A.from(e.columns)).getOr(1);return q(o,o=>((e,t,o,n,s,r,a)=>{const i=1===n,l=!i||S_(e);return Pe(V(e,e=>{switch(e.type){case"separator":return(n=e,Br("Autocompleter.Separator",$E,n)).fold(C_,e=>A.some(xD(e)));case"cardmenuitem":return(e=>Br("cardmenuitem",vA,e))(e).fold(C_,e=>A.some(((e,t,o,n)=>{const s={dom:gD(e.label,[]),optComponents:[A.some({dom:{tag:"div",classes:[ZO,e_]},components:zM(e.items,n)})]};return nD({context:"mode:design",data:sD({text:A.none(),...e}),enabled:e.enabled,getApi:e=>({isEnabled:()=>!gp.isDisabled(e),setEnabled:t=>{gp.set(e,!t),L(gs(e.element,"*"),o=>{e.getSystem().getByDom(o).each(e=>{e.hasConfigured(gp)&&gp.set(e,!t)})})}}),onAction:e.onAction,onSetup:e.onSetup,triggersSubmenu:!1,itemBehaviours:A.from(n.itemBehaviours).getOr([])},s,t,o.providers)})({...e,onAction:t=>{e.onAction(t),o(e.value,e.meta)}},s,r,{itemBehaviours:fD(e.meta,r,A.none()),cardText:{matchText:t,highlightOn:a}})));default:return(e=>Br("Autocompleter.Item",GE,e))(e).fold(C_,e=>A.some(((e,t,o,n,s,r,a,i=!0)=>{const l=hD({presets:"normal",textContent:A.none(),htmlContent:o?e.text.map(e=>bD(e,t)):A.none(),ariaLabel:e.text,labelContent:A.none(),iconContent:e.icon,shortcutContent:A.none(),checkMark:A.none(),caret:A.none(),value:e.value},a.providers,i,e.icon),c=e.text.filter(e=>!o&&""!==e);return nD({context:"mode:design",data:sD(e),enabled:e.enabled,getApi:y({}),onAction:t=>s(e.value,e.meta),onSetup:y(b),triggersSubmenu:!1,itemBehaviours:fD(e,a,c)},l,r,a.providers)})(e,t,i,0,o,s,r,l)))}var n}))})(o.items,o.matchText,(t,s)=>{const a={hide:()=>u(),reload:t=>{c(),e.execCommand("mceAutocompleterReload",!1,{fetchOptions:t})}};e.execCommand("mceAutocompleterRefreshActiveRange"),r.get().each(e=>{n.set(!0),o.onAction(a,e,t,s),n.set(!1)})},s,WO.BUBBLE_TO_SANDBOX,t,o.highlightOn))})(s);i.length>0?(((t,o)=>{const n=se(t,e=>A.from(e.columns)).getOr(1);dy.showMenuAt(a,{anchor:{type:"selection",getSelection:()=>r.get().map($M),root:ct(e.getBody())}},((e,t,o,n)=>{const s=DM(t,n),r=s_(n);return{data:jM({...e,movement:s,menuBehaviours:LA("auto"!==t?[]:[id((e,t)=>{VA(e,4,r.item).each(({numColumns:t,numRows:o})=>{Im.setGridSize(e,o,t)})})])}),menu:{markers:s_(n),fakeFocus:o===PM.ContentFocus}}})(O_("autocompleter-value",!0,o,n,{menuType:"normal"}),n,PM.ContentFocus,"normal")),d().each(ru.highlightFirst)})(s,i),Yo(ct(e.getBody()),"aria-owns",o),e.inline||g()):c()},g=()=>{e.dom.get(o)&&e.dom.remove(o,!1);const t=e.getDoc().documentElement,n=e.selection.getNode(),s=(e=>on(e,!0))(a.element);pn(s,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px",top:`${n.offsetTop}px`,left:`${n.offsetLeft}px`}),e.dom.add(t,s.dom),Xn(s,'[role="menu"]').each(e=>{wn(e,"position"),wn(e,"max-height")})};e.on("AutocompleterStart",({lookupData:e})=>{s.set(!0),n.set(!1),m(e)}),e.on("AutocompleterUpdate",({lookupData:e})=>m(e)),e.on("AutocompleterUpdateActiveRange",({range:e})=>r.set(e)),e.on("AutocompleterEnd",()=>{c(),s.set(!1),n.set(!1),r.clear()});((e,t)=>{const o=(e,t)=>{$c(e,Ta(),{raw:t})},n=()=>e.getMenu().bind(ru.getHighlighted);t.on("keydown",t=>{const s=t.which;e.isActive()&&(e.isMenuOpen()?13===s?(n().each(Gc),t.preventDefault()):40===s?(n().fold(()=>{e.getMenu().each(ru.highlightFirst)},e=>{o(e,t)}),t.preventDefault(),t.stopImmediatePropagation()):37!==s&&38!==s&&39!==s||n().each(e=>{o(e,t),t.preventDefault(),t.stopImmediatePropagation()}):13!==s&&38!==s&&40!==s||e.cancelIfNecessary())}),t.on("NodeChange",()=>{!e.isActive()||e.isProcessingAction()||t.queryCommandState("mceAutoCompleterInRange")||e.cancelIfNecessary()})})({cancelIfNecessary:u,isMenuOpen:i,isActive:l,isProcessingAction:n.get,getMenu:d},e)};var qM=tinymce.util.Tools.resolve("tinymce.html.Entities");const YM=(e,t,o,n)=>{const s=XM(e,t,o,n);return sy.sketch(s)},XM=(e,t,o,n)=>({dom:KM(o),components:e.toArray().concat([t]),fieldBehaviours:hd(n)}),KM=e=>({tag:"div",classes:["tox-form__group"].concat(e)}),JM=(e,t)=>sy.parts.label({dom:{tag:"label",classes:["tox-label"]},components:[zg(t.translate(e))]}),QM=Ne("form-component-change"),ZM=Ne("form-component-input"),eB=Ne("form-close"),tB=Ne("form-cancel"),oB=Ne("form-action"),nB=Ne("form-submit"),sB=Ne("form-block"),rB=Ne("form-unblock"),aB=Ne("form-tabchange"),iB=Ne("form-resize"),lB=(e,t,o)=>{const n=e.label.map(e=>JM(e,t)),s=t.icons(),r=e=>(t,o)=>{Kn(o.event.target,"[data-collection-item-value]").each(n=>{e(t,o,n,Ko(n,"data-collection-item-value"))})},a=r((o,n,s,r)=>{n.stop(),t.checkUiComponentContext("mode:design").shouldDisable||t.isDisabled()||$c(o,oB,{name:e.name,value:r})}),i=[Zc(ka(),r((e,t,o)=>{zo(o,!0)})),Zc(Ma(),a),Zc(Ya(),a),Zc(Oa(),r((e,t,o)=>{Xn(e.element,"."+QO).each(e=>{rs(e,QO)}),ns(o,QO)})),Zc(_a(),r(e=>{Xn(e.element,"."+QO).each(e=>{rs(e,QO),Vo(e)})})),dd(r((t,o,n,s)=>{$c(t,oB,{name:e.name,value:s})}))],l=(e,t)=>V(gs(e.element,".tox-collection__item"),t),c=sy.parts.field({dom:{tag:"div",classes:["tox-collection"].concat(1!==e.columns?["tox-collection--grid"]:["tox-collection--list"])},components:[],factory:{sketch:w},behaviours:hd([gp.config({disabled:()=>t.checkUiComponentContext(e.context).shouldDisable,onDisabled:e=>{l(e,e=>{ns(e,"tox-collection__item--state-disabled"),Yo(e,"aria-disabled",!0)})},onEnabled:e=>{l(e,e=>{rs(e,"tox-collection__item--state-disabled"),Zo(e,"aria-disabled")})}}),ZA(()=>t.checkUiComponentContext(e.context)),ug.config({}),Tv.config({...t.tooltips.getConfig({tooltipText:"",onShow:e=>{Xn(e.element,"."+QO+"[data-mce-tooltip]").each(o=>{Jo(o,"data-mce-tooltip").each(o=>{Tv.setComponents(e,t.tooltips.getComponents({tooltipText:o}))})})}}),mode:"children-keyboard-focus",anchor:e=>({type:"node",node:Xn(e.element,"."+QO).orThunk(()=>yt(".tox-collection__item")),root:e.element,layouts:{onLtr:y([oc,tc,Jl,Zl,Ql,ec]),onRtl:y([oc,tc,Jl,Zl,Ql,ec])},bubble:Ml(0,-2,{})})}),mf.config({store:{mode:"memory",initialValue:o.getOr([])},onSetValue:(o,n)=>{((o,n)=>{const r=t.checkUiComponentContext("mode:design").shouldDisable||t.isDisabled()?" tox-collection__item--state-disabled":"",a=V(n,t=>{const o=AO.translate(t.text),n=1===e.columns?`
${o}
`:"",a=`
${(e=>s[e]??e)(t.icon)}
`,i={_:" "," - ":" ","-":" "},l=o.replace(/\_| \- |\-/g,e=>i[e]);return`
${a}${n}
`}),i="auto"!==e.columns&&e.columns>1?z(a,e.columns):[a],l=V(i,e=>`
${e.join("")}
`);sn(o.element,l.join(""))})(o,n),"auto"===e.columns&&VA(o,5,"tox-collection__item").each(({numRows:e,numColumns:t})=>{Im.setGridSize(o,e,t)}),jc(o,iB)}}),iv.config({}),Im.config((d=e.columns,1===d?{mode:"menu",selector:".tox-collection__item"}:"auto"===d?{mode:"flatgrid",selector:".tox-collection__item",initSize:{numColumns:1,numRows:1}}:{mode:"matrix",selectors:{row:".tox-collection__group",cell:`.${$O}`}})),wd("collection-events",i)]),eventOrder:{[Ga()]:["disabling","alloy.base.behaviour","collection-events"],[Oa()]:["collection-events","tooltipping"]}});var d;return YM(n,c,["tox-form__group--collection"],[])},cB=Ne("color-input-change"),dB=Ne("color-swatch-change"),uB=Ne("color-picker-cancel"),mB=()=>Xg.config({find:A.some}),gB=e=>Xg.config({find:t=>yo(t.element,e).bind(e=>t.getSystem().getByDom(e).toOptional())}),pB=kr([sa("preprocess",w),sa("postprocess",w)]),hB=(e,t)=>{const o=Fr("RepresentingConfigs.memento processors",pB,t);return mf.config({store:{mode:"manual",getValue:t=>{const n=e.get(t),s=mf.getValue(n);return o.postprocess(s)},setValue:(t,n)=>{const s=o.preprocess(n),r=e.get(t);mf.setValue(r,s)}}})},fB=(e,t,o)=>mf.config({store:{mode:"manual",...e.map(e=>({initialValue:e})).getOr({}),getValue:t,setValue:o}}),bB=(e,t,o)=>fB(e,e=>t(e.element),(e,t)=>o(e.element,t)),vB=e=>mf.config({store:{mode:"memory",initialValue:e}}),xB=Ne("rgb-hex-update"),yB=Ne("slider-update"),wB=Ne("palette-update"),SB=Ne("valid-input"),CB=Ne("invalid-input"),kB=Ne("validating-input"),OB="colorcustom.rgb.",_B={isEnabled:E,setEnabled:b,immediatelyShow:b,immediatelyHide:b},TB=(e,t,o,n,s,r)=>{const a=(e,t)=>{const o=t.get();e!==o.isEnabled()&&(o.setEnabled(e),e?o.immediatelyShow():o.immediatelyHide())},i=(o,n,s)=>gf.config({invalidClass:t("invalid"),notify:{onValidate:e=>{$c(e,kB,{type:o})},onValid:e=>{a(!1,s),$c(e,SB,{type:o,value:mf.getValue(e)})},onInvalid:e=>{a(!0,s),$c(e,CB,{type:o,value:mf.getValue(e)})}},validator:{validate:t=>{const o=mf.getValue(t),s=n(o)?Ae.value(!0):Ae.error(e("aria.input.invalid"));return _e(s)},validateOnLoad:!1}}),l=(o,n,a,l,c)=>{const d=ye(_B),u=e(OB+"range"),m=sy.parts.label({dom:{tag:"label"},components:[zg(a)]}),g=sy.parts.field({data:c,factory:hy,inputAttributes:{type:"text","aria-label":l,..."hex"===n?{"aria-live":"polite"}:{}},inputClasses:[t("textfield")],inputBehaviours:hd([i(n,o,d),iv.config({}),Tv.config({...s({tooltipText:"",onSetup:e=>{d.set({isEnabled:()=>Tv.isEnabled(e),setEnabled:t=>Tv.setEnabled(e,t),immediatelyShow:()=>Tv.immediateOpenClose(e,!0),immediatelyHide:()=>Tv.immediateOpenClose(e,!1)}),Tv.setEnabled(e,!1)},onShow:(o,s)=>{Tv.setComponents(o,[{dom:{tag:"p",classes:[t("rgb-warning-note")]},components:[zg(e("hex"===n?"colorcustom.rgb.invalidHex":"colorcustom.rgb.invalid"))]}])}})})]),onSetValue:e=>{gf.isInvalid(e)&&gf.run(e).get(b)}}),p=Ne("aria-invalid"),h=Dv(r("invalid",A.some(p),"warning")),f=[m,g,Dv({dom:{tag:"div",classes:[t("invalid-icon")]},components:[h.asSpec()]}).asSpec()],v="hex"!==n?[sy.parts["aria-descriptor"]({text:u})]:[],x=f.concat(v);return{dom:{tag:"div",attributes:{role:"presentation"},classes:[t("rgb-container")]},components:x}},c=(e,t)=>{const o=t.red,n=t.green,s=t.blue;mf.setValue(e,{red:o,green:n,blue:s})},d=Dv({dom:{tag:"div",classes:[t("rgba-preview")],styles:{"background-color":"white"},attributes:{role:"presentation"}}}),u=(e,t)=>{d.getOpt(e).each(e=>{gn(e.element,"background-color","#"+t.value)})},m=hh({factory:()=>{const s={red:ye(A.some(255)),green:ye(A.some(255)),blue:ye(A.some(255)),hex:ye(A.some("ffffff"))},r=e=>s[e].get(),a=(e,t)=>{s[e].set(t)},i=e=>{const t=e.red,o=e.green,n=e.blue;a("red",A.some(t)),a("green",A.some(o)),a("blue",A.some(n))},m=(e,t)=>{const o=t.event;"hex"!==o.type?a(o.type,A.none()):n(e)},g=(e,t)=>{const n=t.event;(e=>"hex"===e.type)(n)?((e,t)=>{o(e);const n=yD(t);a("hex",A.some(n.value));const s=zD(n);c(e,s),i(s),$c(e,xB,{hex:n}),u(e,n)})(e,n.value):((e,t,o)=>{const n=parseInt(o,10);a(t,A.some(n)),r("red").bind(e=>r("green").bind(t=>r("blue").map(o=>FD(e,t,o,1)))).each(t=>{const o=((e,t)=>{const o=_D(t);return $x.getField(e,"hex").each(t=>{_d.isFocused(t)||mf.setValue(e,{hex:o.value})}),o})(e,t);$c(e,xB,{hex:o}),u(e,o)})})(e,n.type,n.value)},p=t=>({label:e(OB+t+".label"),description:e(OB+t+".description")}),h=p("red"),f=p("green"),b=p("blue"),v=p("hex");return Ve($x.sketch(o=>({dom:{tag:"form",classes:[t("rgb-form")],attributes:{"aria-label":e("aria.color.picker")}},components:[o.field("red",sy.sketch(l(RD,"red",h.label,h.description,255))),o.field("green",sy.sketch(l(RD,"green",f.label,f.description,255))),o.field("blue",sy.sketch(l(RD,"blue",b.label,b.description,255))),o.field("hex",sy.sketch(l(CD,"hex",v.label,v.description,"ffffff"))),d.asSpec()],formBehaviours:hd([gf.config({invalidClass:t("form-invalid")}),wd("rgb-form-events",[Zc(SB,g),Zc(CB,m),Zc(kB,m)])])})),{apis:{updateHex:(e,t)=>{mf.setValue(e,{hex:t.value}),((e,t)=>{const o=zD(t);c(e,o),i(o)})(e,t),u(e,t)}}})},name:"RgbForm",configFields:[],apis:{updateHex:(e,t,o)=>{e.updateHex(t,o)}},extraApis:{}});return m},EB=(e,t,o,n)=>{const s=hh({name:"ColourPicker",configFields:[Pr("dom"),sa("onValidHex",b),sa("onInvalidHex",b)],factory:s=>{const r=TB(e,t,s.onValidHex,s.onInvalidHex,o,n),a=((e,t)=>{const o=nS.parts.spectrum({dom:{tag:"canvas",attributes:{role:"presentation"},classes:[t("sv-palette-spectrum")]}}),n=nS.parts.thumb({dom:{tag:"div",attributes:{role:"presentation"},classes:[t("sv-palette-thumb")],innerHtml:``}}),s=(e,t)=>{const{width:o,height:n}=e,s=e.getContext("2d");if(null===s)return;s.fillStyle=t,s.fillRect(0,0,o,n);const r=s.createLinearGradient(0,0,o,0);r.addColorStop(0,"rgba(255,255,255,1)"),r.addColorStop(1,"rgba(255,255,255,0)"),s.fillStyle=r,s.fillRect(0,0,o,n);const a=s.createLinearGradient(0,0,0,n);a.addColorStop(0,"rgba(0,0,0,0)"),a.addColorStop(1,"rgba(0,0,0,1)"),s.fillStyle=a,s.fillRect(0,0,o,n)},r=hh({factory:r=>{const a=y({x:0,y:0}),i=hd([Xg.config({find:A.some}),_d.config({})]);return nS.sketch({dom:{tag:"div",attributes:{role:"slider","aria-valuetext":e(["Saturation {0}%, Brightness {1}%",0,0])},classes:[t("sv-palette")]},model:{mode:"xy",getInitialValue:a},rounded:!1,components:[o,n],onChange:(t,o,n)=>{h(n)||Yo(t.element,"aria-valuetext",e(["Saturation {0}%, Brightness {1}%",Math.floor(n.x),Math.floor(100-n.y)])),$c(t,wB,{value:n})},onInit:(e,t,o,n)=>{s(o.element.dom,HD(PD))},sliderBehaviours:i})},name:"SaturationBrightnessPalette",configFields:[],apis:{setHue:(e,t,o)=>{((e,t)=>{const o=e.components()[0].element.dom,n=TD(t,100,100),r=ND(n);s(o,HD(r))})(t,o)},setThumb:(t,o,n)=>{((t,o)=>{const n=ED(zD(o));nS.setValue(t,{x:n.saturation,y:100-n.value}),Yo(t.element,"aria-valuetext",e(["Saturation {0}%, Brightness {1}%",n.saturation,n.value]))})(o,n)}},extraApis:{}});return r})(e,t),i={paletteRgba:ye(PD),paletteHue:ye(0)},l=Dv(((e,t)=>{const o=nS.parts.spectrum({dom:{tag:"div",classes:[t("hue-slider-spectrum")],attributes:{role:"presentation"}}}),n=nS.parts.thumb({dom:{tag:"div",classes:[t("hue-slider-thumb")],attributes:{role:"presentation"}}});return nS.sketch({dom:{tag:"div",classes:[t("hue-slider")],attributes:{role:"slider","aria-valuemin":0,"aria-valuemax":360,"aria-valuenow":120}},rounded:!1,model:{mode:"y",getInitialValue:y(0)},components:[o,n],sliderBehaviours:hd([_d.config({})]),onChange:(e,t,o)=>{Yo(e.element,"aria-valuenow",Math.floor(360-3.6*o)),$c(e,yB,{value:o})}})})(0,t)),c=Dv(a.sketch({})),d=Dv(r.sketch({})),u=(e,t,o)=>{c.getOpt(e).each(e=>{a.setHue(e,o)})},m=(e,t)=>{d.getOpt(e).each(e=>{r.updateHex(e,t)})},g=(e,t,o)=>{l.getOpt(e).each(e=>{nS.setValue(e,(e=>100-e/360*100)(o))})},p=(e,t)=>{c.getOpt(e).each(e=>{a.setThumb(e,t)})},f=(e,t,o,n)=>{((e,t)=>{const o=zD(e);i.paletteRgba.set(o),i.paletteHue.set(t)})(t,o),L(n,n=>{n(e,t,o)})};return{uid:s.uid,dom:s.dom,components:[c.asSpec(),l.asSpec(),d.asSpec()],behaviours:hd([wd("colour-picker-events",[Zc(xB,(()=>{const e=[u,g,p];return(t,o)=>{const n=o.event.hex,s=(e=>ED(zD(e)))(n);f(t,n,s.hue,e)}})()),Zc(wB,(()=>{const e=[m];return(t,o)=>{const n=o.event.value,s=i.paletteHue.get(),r=TD(s,n.x,100-n.y),a=UD(r);f(t,a,s,e)}})()),Zc(yB,(()=>{const e=[u,m];return(t,o)=>{const n=(e=>(100-e)/100*360)(o.event.value),s=i.paletteRgba.get(),r=ED(s),a=TD(n,r.saturation,r.value),l=UD(a);f(t,l,n,e)}})())]),Xg.config({find:e=>d.getOpt(e)}),Im.config({mode:"acyclic"})])}}});return s},AB={"colorcustom.rgb.red.label":"R","colorcustom.rgb.red.description":"Red channel","colorcustom.rgb.green.label":"G","colorcustom.rgb.green.description":"Green channel","colorcustom.rgb.blue.label":"B","colorcustom.rgb.blue.description":"Blue channel","colorcustom.rgb.hex.label":"#","colorcustom.rgb.hex.description":"Hex color code","colorcustom.rgb.range":"Range 0 to 255","colorcustom.rgb.invalid":"Numbers only, 0 to 255","colorcustom.rgb.invalidHex":"Hexadecimal only, 000000 to FFFFFF","aria.color.picker":"Color Picker","aria.input.invalid":"Invalid input"};var DB=tinymce.util.Tools.resolve("tinymce.Resource");const MB=e=>be(e,"init");var BB=tinymce.util.Tools.resolve("tinymce.util.Tools");const IB=Ne("browse.files.event"),FB=(e,t,o)=>{const n=(e,t)=>{t.stop()},s=e=>(t,o)=>{L(e,e=>{e(t,o)})},r=Dv({dom:{tag:"input",attributes:{type:"file",accept:e.allowedFileTypes.getOr("image/*")},styles:{display:"none"}},behaviours:hd([wd("input-file-events",[sd(Ma()),sd(Ya())])])}),a=e.label.map(e=>JM(e,t)),i=sy.parts.field({factory:Wv,dom:{tag:"button",styles:{position:"relative"},classes:["tox-button","tox-button--secondary"]},components:[zg(t.translate(e.buttonLabel.getOr("Browse for an image"))),r.asSpec()],action:e=>{r.get(e).element.dom.click()},buttonBehaviours:hd([mB(),vB(o.getOr([])),iv.config({}),PA(()=>t.checkUiComponentContext(e.context).shouldDisable),ZA(()=>t.checkUiComponentContext(e.context))])}),l={dom:{tag:"div",classes:["tox-dropzone-container"]},behaviours:hd([gp.config({disabled:()=>t.checkUiComponentContext(e.context).shouldDisable}),ZA(()=>t.checkUiComponentContext(e.context)),hv.config({toggleClass:"dragenter",toggleOnExecute:!1}),wd("dropzone-events",[Zc("dragenter",s([n,hv.toggle])),Zc("dragleave",s([n,hv.toggle])),Zc("dragover",n),Zc("drop",s([n,(e,t)=>{if(!gp.isDisabled(e)){const o=t.event.raw;$c(e,IB,{files:o.dataTransfer?.files})}}])),Zc(Da(),(e,t)=>{const o=t.event.raw.target;$c(e,IB,{files:o.files})})])]),components:[{dom:{tag:"div",classes:["tox-dropzone"],styles:{}},components:[{dom:{tag:"p"},components:[zg(t.translate(e.dropAreaLabel.getOr("Drop an image here")))]},i]}]};return YM(a,l,["tox-form__group--stretched"],[wd("handle-files",[Zc(IB,(o,n)=>{sy.getField(o).each(o=>{((o,n)=>{if(n){const s=((e,t,o)=>{const n=BB.explode(t.getOption("images_file_types"));return P(ne(e),e=>o.fold(()=>R(n,t=>Ze(e.name.toLowerCase(),`.${t.toLowerCase()}`)),t=>R(t,t=>Ze(e.name.toLowerCase(),`.${t.toLowerCase()}`))))})(n,t,e.allowedFileExtensions);mf.setValue(o,s),$c(o,QM,{name:e.name}),0===s.length&&e.onInvalidFiles().finally(()=>{o.element.dom.focus()}).catch(b)}})(o,n.event.files)})})])])},RB=Ne("alloy-fake-before-tabstop"),NB=Ne("alloy-fake-after-tabstop"),zB=e=>({dom:{tag:"div",styles:{width:"1px",height:"1px",outline:"none"},attributes:{tabindex:"0"},classes:e},behaviours:hd([_d.config({ignore:!0}),iv.config({})])}),VB=(e,t)=>({dom:{tag:"div",classes:["tox-navobj",...e.getOr([])]},components:[zB([RB]),t,zB([NB])],behaviours:hd([gB(1)])}),LB=(e,t)=>{$c(e,Ta(),{raw:{which:9,shiftKey:t}})},HB=(e,t)=>{const o=t.element;as(o,RB)?LB(e,!0):as(o,NB)&&LB(e,!1)},PB=e=>hs(e,["."+RB,"."+NB].join(","),T),UB=Ne("update-dialog"),WB=Ne("update-title"),jB=Ne("update-body"),$B=Ne("update-footer"),GB=Ne("body-send-message"),qB=Ne("dialog-focus-shifted"),YB=Qt().browser,XB=YB.isSafari(),KB=YB.isFirefox(),JB=XB||KB,QB=YB.isChromium(),ZB=({scrollTop:e,scrollHeight:t,clientHeight:o})=>Math.ceil(e)+o>=t,eI=(e,t)=>e.scrollTo(0,"bottom"===t?99999999:t),tI=(e,t,o)=>{const n=e.dom;A.from(n.contentDocument).fold(o,e=>{let o=0;const s=((e,t)=>{const o=e.body;return A.from(!/^1))?o:e.documentElement)})(e,t).map(e=>(o=e.scrollTop,e)).forall(ZB),r=()=>{const e=n.contentWindow;g(e)&&(s?eI(e,"bottom"):!s&&JB&&0!==o&&eI(e,o))};XB&&n.addEventListener("load",r,{once:!0}),e.open(),e.write(t),e.close(),XB||r()})},oI=je(JB,XB?500:200).map(e=>((e,t)=>{let o=null,n=null;return{cancel:()=>{c(o)||(clearTimeout(o),o=null,n=null)},throttle:(...s)=>{n=s,c(o)&&(o=setTimeout(()=>{const t=n;o=null,n=null,e.apply(null,t)},t))}}})(tI,e)),nI=Ne("toolbar.button.execute"),sI=Ne("common-button-display-events"),rI={[Ga()]:["disabling","alloy.base.behaviour","toggling","toolbar-button-events","tooltipping"],[ni()]:["toolbar-button-events",sI],[si()]:["toolbar-button-events","dropdown-events","tooltipping"],[ya()]:["focusing","alloy.base.behaviour",sI]},aI=e=>gn(e.element,"width",fn(e.element,"width")),iI=(e,t,o)=>VO(e,{tag:"span",classes:["tox-icon","tox-tbtn__icon-wrap"],behaviours:o},t),lI=(e,t)=>iI(e,t,[]),cI=(e,t)=>iI(e,t,[ug.config({})]),dI=(e,t,o)=>({dom:{tag:"span",classes:[`${t}__select-label`]},components:[zg(o.translate(e))],behaviours:hd([ug.config({})])}),uI=Ne("update-menu-text"),mI=Ne("update-menu-icon"),gI=Ne("update-tooltip-text"),pI=(e,t,o,n)=>{const s=ye(b),r=ye(e.tooltip),a=e.text.map(e=>Dv(dI(e,t,o.providers))),i=e.icon.map(e=>Dv(cI(e,o.providers.icons))),l=(e,t)=>{const o=mf.getValue(e);return _d.focus(o),$c(o,"keydown",{raw:t.event.raw}),Hx.close(o),A.some(!0)},c=e.role.fold(()=>({}),e=>({role:e})),d=A.from(e.listRole).map(e=>({listRole:e})).getOr({}),u=e.ariaLabel.fold(()=>({}),e=>({"aria-label":o.providers.translate(e)})),m=VO("chevron-down",{tag:"div",classes:[`${t}__select-chevron`]},o.providers.icons),p=Ne("common-button-display-events"),h="dropdown-events",f=Dv(Hx.sketch({...e.uid?{uid:e.uid}:{},...c,...d,dom:{tag:"button",classes:[t,`${t}--select`].concat(V(e.classes,e=>`${t}--${e}`)),attributes:{...u,...g(n)?{"data-mce-name":n}:{}}},components:oD([i.map(e=>e.asSpec()),a.map(e=>e.asSpec()),A.some(m)]),matchWidth:!0,useMinWidth:!0,onOpen:(t,o,n)=>{e.searchable&&(e=>{m_(e).each(e=>_d.focus(e))})(n)},dropdownBehaviours:hd([...e.dropdownBehaviours,PA(()=>e.disabled||o.providers.checkUiComponentContext(e.context).shouldDisable),ZA(()=>o.providers.checkUiComponentContext(e.context)),Ev.config({}),ug.config({}),...e.tooltip.map(t=>Tv.config(o.providers.tooltips.getConfig({tooltipText:o.providers.translate(t),onShow:t=>{if(Ue(r.get(),e.tooltip,(e,t)=>t!==e).getOr(!1)){const e=o.providers.translate(r.get().getOr(""));Tv.setComponents(t,o.providers.tooltips.getComponents({tooltipText:e}))}}}))).toArray(),wd(h,[jA(e,s),$A(e,s)]),wd(p,[id((t,o)=>{"listbox"!==e.listRole&&aI(t)})]),wd("update-dropdown-width-variable",[Zc(oi(),(e,t)=>Hx.close(e))]),wd("menubutton-update-display-text",[Zc(uI,(e,t)=>{a.bind(t=>t.getOpt(e)).each(e=>{ug.set(e,[zg(o.providers.translate(t.event.text))])})}),Zc(mI,(e,t)=>{i.bind(t=>t.getOpt(e)).each(e=>{ug.set(e,[cI(t.event.icon,o.providers.icons)])})}),Zc(gI,(e,t)=>{const n=o.providers.translate(t.event.text);Yo(e.element,"aria-label",n),r.set(A.some(t.event.text))})])]),eventOrder:Ve(rI,{[ya()]:["focusing","alloy.base.behaviour","item-type-events","normal-dropdown-events"],[ni()]:["toolbar-button-events",Tv.name(),h,p]}),sandboxBehaviours:hd([Im.config({mode:"special",onLeft:l,onRight:l}),wd("dropdown-sandbox-events",[Zc(l_,(e,t)=>{(e=>{const t=mf.getValue(e),o=u_(e).map(g_);Hx.refetch(t).get(()=>{const e=Zg.getCoupled(t,"sandbox");o.each(t=>u_(e).each(e=>((e,t)=>{mf.setValue(e,t.fetchPattern),e.element.dom.selectionStart=t.selectionStart,e.element.dom.selectionEnd=t.selectionEnd})(e,t)))})})(e),t.stop()}),Zc(c_,(e,t)=>{((e,t)=>{(e=>zb.getState(e).bind(ru.getHighlighted).bind(ru.getHighlighted))(e).each(o=>{((e,t,o,n)=>{const s={...n,target:t};e.getSystem().triggerEvent(o,t,s)})(e,o.element,t.event.eventType,t.event.interactionEvent)})})(e,t),t.stop()})])]),lazySink:o.getSink,toggleClass:`${t}--active`,parts:{menu:{...i_(0,e.columns,e.presets),fakeFocus:e.searchable,..."listbox"===e.listRole?{}:{onHighlightItem:VM,onCollapseMenu:(e,t,o)=>{ru.getHighlighted(o).each(t=>{VM(e,o,t)})},onDehighlightItem:LM}}},getAnchorOverrides:()=>({maxHeightFunction:(e,t)=>{Ic()(e,t-10)}}),fetch:t=>Oe(C(e.fetch,t))}));return f.asSpec()},hI=e=>"separator"===e.type,fI={type:"separator"},bI=(e,t)=>{const o=((e,t)=>{const o=W(e,(e,o)=>(e=>r(e))(o)?""===o?e:"|"===o?e.length>0&&!hI(e[e.length-1])?e.concat([fI]):e:be(t,o.toLowerCase())?e.concat([t[o.toLowerCase()]]):e:e.concat([o]),[]);return o.length>0&&hI(o[o.length-1])&&o.pop(),o})(r(e)?e.split(" "):e,t);return U(o,(e,o)=>{if((e=>be(e,"getSubmenuItems"))(o)){const n=(e=>{const t=fe(e,"value").getOrThunk(()=>Ne("generated-menu-item"));return Ve({value:t},e)})(o),s=((e,t)=>{const o=e.getSubmenuItems(),n=bI(o,t);return{item:e,menus:Ve(n.menus,{[e.value]:n.items}),expansions:Ve(n.expansions,{[e.value]:e.value})}})(n,t);return{menus:Ve(e.menus,s.menus),items:[s.item,...e.items],expansions:Ve(e.expansions,s.expansions)}}return{...e,items:[o,...e.items]}},{menus:{},expansions:{},items:[]})},vI=(e,t,o,n)=>{const s=Ne("primary-menu"),r=bI(e,o.shared.providers.menuItems());if(0===r.items.length)return A.none();const a=(e=>e.search.fold(()=>({searchMode:"no-search"}),e=>({searchMode:"search-with-field",placeholder:e.placeholder})))(n),i=WM(s,r.items,t,o,n.isHorizontalMenu,a),l=(e=>e.search.fold(()=>({searchMode:"no-search"}),e=>({searchMode:"search-with-results"})))(n),c=le(r.menus,(e,n)=>WM(n,e,t,o,!1,l)),d=Ve(c,ga(s,i));return A.from(Cx.tieredData(s,d,r.expansions))},xI=e=>!be(e,"items"),yI="data-value",wI=(e,t,o,n,s)=>V(o,o=>xI(o)?{type:"togglemenuitem",...s?{}:{role:"option"},text:o.text,value:o.value,active:o.value===n,onAction:()=>{mf.setValue(e,o.value),$c(e,QM,{name:t}),_d.focus(e)}}:{type:"nestedmenuitem",text:o.text,getSubmenuItems:()=>wI(e,t,o.items,n,s)}),SI=(e,t)=>se(e,e=>xI(e)?je(e.value===t,e):SI(e.items,t)),CI=e=>{const t={"":0,px:0,pt:1,mm:1,pc:2,ex:2,em:2,ch:2,rem:2,cm:3,in:4,"%":4};let o=e.value.toFixed((n=e.unit)in t?t[n]:1);var n;return-1!==o.indexOf(".")&&(o=o.replace(/\.?0*$/,"")),o+e.unit},kI=e=>{const t=/^\s*(\d+(?:\.\d+)?)\s*(|cm|mm|in|px|pt|pc|em|ex|ch|rem|vw|vh|vmin|vmax|%)\s*$/.exec(e);if(null!==t){const e=parseFloat(t[1]),o=t[2];return Ae.value({value:e,unit:o})}return Ae.error(e)},OI=(e,t)=>{const o={"":96,px:96,pt:72,cm:2.54,pc:12,mm:25.4,in:1},n=e=>be(o,e);return e.unit===t?A.some(e.value):n(e.unit)&&n(t)?o[e.unit]===o[t]?A.some(e.value):A.some(e.value/o[e.unit]*o[t]):A.none()},_I=e=>A.none(),TI=(e,t)=>{const o=kI(e).toOptional(),n=kI(t).toOptional();return Ue(o,n,(e,t)=>OI(e,t.unit).map(e=>t.value/e).map(e=>{return o=e,n=t.unit,e=>OI(e,n).map(e=>({value:e*o,unit:n}));var o,n}).getOr(_I)).getOr(_I)},EI=(e,t)=>{const o=e.label.map(e=>JM(e,t)),n=[gp.config({disabled:()=>e.disabled||t.checkUiComponentContext(e.context).shouldDisable}),ZA(()=>t.checkUiComponentContext(e.context)),Im.config({mode:"execution",useEnter:!0!==e.multiline,useControlEnter:!0===e.multiline,execute:e=>(jc(e,nB),A.some(!0))}),wd("textfield-change",[Zc(Aa(),(t,o)=>{$c(t,QM,{name:e.name})}),Zc(ja(),(t,o)=>{$c(t,QM,{name:e.name})})]),iv.config({})],s=e.validation.map(e=>gf.config({getRoot:e=>ho(e.element),invalidClass:"tox-invalid",validator:{validate:t=>{const o=mf.getValue(t),n=e.validator(o);return _e(!0===n?Ae.value(o):Ae.error(n))},validateOnLoad:e.validateOnLoad}})).toArray(),r=e.placeholder.fold(y({}),e=>({placeholder:t.translate(e)})),a=e.inputMode.fold(y({}),e=>({inputmode:e})),i={...e.spellcheck.fold(y({}),e=>({spellcheck:e})),...r,...a,"data-mce-name":e.name},l=sy.parts.field({tag:!0===e.multiline?"textarea":"input",...e.data.map(e=>({data:e})).getOr({}),inputAttributes:i,inputClasses:[e.classname],inputBehaviours:hd(G([n,s])),selectOnFocus:!1,factory:hy}),c=e.multiline?{dom:{tag:"div",classes:["tox-textarea-wrap"]},components:[l]}:l,d=(e.flex?["tox-form__group--stretched"]:[]).concat(e.maximized?["tox-form-group--maximize"]:[]),u=[gp.config({disabled:()=>e.disabled||t.checkUiComponentContext(e.context).shouldDisable,onDisabled:e=>{sy.getField(e).each(gp.disable)},onEnabled:e=>{sy.getField(e).each(gp.enable)}}),ZA(()=>t.checkUiComponentContext(e.context))];return YM(o,c,d,u)},AI=e=>({isEnabled:()=>!gp.isDisabled(e),setEnabled:t=>gp.set(e,!t),setActive:t=>{const o=e.element;t?(ns(o,"tox-tbtn--enabled"),Yo(o,"aria-pressed",!0)):(rs(o,"tox-tbtn--enabled"),Zo(o,"aria-pressed"))},isActive:()=>as(e.element,"tox-tbtn--enabled"),setTooltip:t=>{$c(e,gI,{text:t})},setText:t=>{$c(e,uI,{text:t})},setIcon:t=>$c(e,mI,{icon:t})}),DI=(e,t,o,n,s=!0,r)=>{const a="bordered"===e.buttonType?["bordered"]:[];return pI({text:e.text,icon:e.icon,tooltip:e.tooltip,ariaLabel:e.tooltip,searchable:e.search.isSome(),role:n,fetch:(t,n)=>{const s={pattern:e.search.isSome()?HM(t):""};e.fetch(t=>{n(vI(t,WO.CLOSE_ON_EXECUTE,o,{isHorizontalMenu:!1,search:e.search}))},s,AI(t))},onSetup:e.onSetup,getApi:e=>AI(e),columns:1,presets:"normal",classes:a,dropdownBehaviours:[...s?[iv.config({})]:[]],context:e.context},t,o.shared,r)},MI=(e,t,o)=>{const n=e=>n=>{const s=!n.isActive();n.setActive(s),e.storage.set(s),o.shared.getSink().each(o=>{t().getOpt(o).each(t=>{zo(t.element),$c(t,oB,{name:e.name,value:e.storage.get()})})})},s=e=>t=>{t.setActive(e.storage.get())};return t=>{t(V(e,e=>{const t=e.text.fold(()=>({}),e=>({text:e}));return{type:e.type,active:!1,...t,context:e.context,onAction:n(e),onSetup:s(e)}}))}},BI=e=>({dom:{tag:"span",classes:["tox-tree__label"],attributes:{"aria-label":e}},components:[zg(e)]}),II=(e,t,o)=>{e.customStateIcon.each(n=>t.push(NI(n,o.shared.providers.icons,e.customStateIconTooltip.fold(()=>[],e=>[Tv.config(o.shared.providers.tooltips.getConfig({tooltipText:e}))]),["tox-icon-custom-state"])))},FI=Ne("leaf-label-event-id"),RI=({leaf:e,onLeafAction:t,visible:o,treeId:n,selectedId:s,backstage:r})=>{const a=e.menu.map(e=>DI(e,"tox-mbtn",r,A.none(),o)),i=[BI(e.title)];return II(e,i,r),a.each(e=>i.push(e)),Wv.sketch({dom:{tag:"div",classes:["tox-tree--leaf__label","tox-trbtn"].concat(o?["tox-tree--leaf__label--visible"]:[])},components:i,role:"treeitem",action:o=>{t(e.id),o.getSystem().broadcastOn([`update-active-item-${n}`],{value:e.id})},eventOrder:{[Ta()]:[FI,"keying"]},buttonBehaviours:hd([...o?[iv.config({})]:[],hv.config({toggleClass:"tox-trbtn--enabled",toggleOnExecute:!1,aria:{mode:"selected"}}),vb.config({channels:{[`update-active-item-${n}`]:{onReceive:(t,o)=>{(o.value===e.id?hv.on:hv.off)(t)}}}}),wd(FI,[id((t,o)=>{s.each(o=>{(o===e.id?hv.on:hv.off)(t)})}),Zc(Ta(),(e,t)=>{const o="ArrowLeft"===t.event.raw.code,n="ArrowRight"===t.event.raw.code;o?(Gn(e.element,".tox-tree--directory").each(t=>{e.getSystem().getByDom(t).each(e=>{Yn(t,".tox-tree--directory__label").each(t=>{e.getSystem().getByDom(t).each(_d.focus)})})}),t.stop()):n&&t.stop()})])])})},NI=(e,t,o,n,s)=>VO(e,{tag:"span",classes:["tox-tree__icon-wrap","tox-icon"].concat(n||[]),behaviours:o,attributes:s},t),zI=Ne("directory-label-event-id"),VI=({directory:e,visible:t,noChildren:o,backstage:n})=>{const s=e.menu.map(e=>DI(e,"tox-mbtn",n,A.none())),r=[{dom:{tag:"div",classes:["tox-chevron"]},components:[(a=n.shared.providers.icons,NI("chevron-right",a,[]))]},BI(e.title)];var a;II(e,r,n),s.each(e=>{r.push(e)});const i=t=>{Gn(t.element,".tox-tree--directory").each(o=>{t.getSystem().getByDom(o).each(o=>{const n=!hv.isOn(o);hv.toggle(o),$c(t,"expand-tree-node",{expanded:n,node:e.id})})})};return Wv.sketch({dom:{tag:"div",classes:["tox-tree--directory__label","tox-trbtn"].concat(t?["tox-tree--directory__label--visible"]:[])},components:r,action:i,eventOrder:{[Ta()]:[zI,"keying"]},buttonBehaviours:hd([...t?[iv.config({})]:[],wd(zI,[Zc(Ta(),(e,t)=>{const n="ArrowRight"===t.event.raw.code,s="ArrowLeft"===t.event.raw.code;n&&o&&t.stop(),(n||s)&&Gn(e.element,".tox-tree--directory").each(o=>{e.getSystem().getByDom(o).each(o=>{!hv.isOn(o)&&n||hv.isOn(o)&&s?(i(e),t.stop()):s&&!hv.isOn(o)&&(Gn(o.element,".tox-tree--directory").each(e=>{Yn(e,".tox-tree--directory__label").each(e=>{o.getSystem().getByDom(e).each(_d.focus)})}),t.stop())})})})])])})},LI=({children:e,onLeafAction:t,visible:o,treeId:n,expandedIds:s,selectedId:r,backstage:a})=>({dom:{tag:"div",classes:["tox-tree--directory__children"]},components:e.map(e=>"leaf"===e.type?RI({leaf:e,selectedId:r,onLeafAction:t,visible:o,treeId:n,backstage:a}):PI({directory:e,expandedIds:s,selectedId:r,onLeafAction:t,labelTabstopping:o,treeId:n,backstage:a})),behaviours:hd([Zb.config({dimension:{property:"height"},closedClass:"tox-tree--directory__children--closed",openClass:"tox-tree--directory__children--open",growingClass:"tox-tree--directory__children--growing",shrinkingClass:"tox-tree--directory__children--shrinking",expanded:o}),ug.config({})])}),HI=Ne("directory-event-id"),PI=({directory:e,onLeafAction:t,labelTabstopping:o,treeId:n,backstage:s,expandedIds:r,selectedId:a})=>{const{children:i}=e,l=ye(r),c=r.includes(e.id);return{dom:{tag:"div",classes:["tox-tree--directory"],attributes:{role:"treeitem"}},components:[VI({directory:e,visible:o,noChildren:0===e.children.length,backstage:s}),LI({children:i,expandedIds:r,selectedId:a,onLeafAction:t,visible:c,treeId:n,backstage:s})],behaviours:hd([wd(HI,[id((e,t)=>{hv.set(e,c)}),Zc("expand-tree-node",(e,t)=>{const{expanded:o,node:n}=t.event;l.set(o?[...l.get(),n]:l.get().filter(e=>e!==n))})]),hv.config({...e.children.length>0?{aria:{mode:"expanded"}}:{},toggleClass:"tox-tree--directory--expanded",onToggled:(e,o)=>{const r=e.components()[1],c=(d=o,i.map(e=>"leaf"===e.type?RI({leaf:e,selectedId:a,onLeafAction:t,visible:d,treeId:n,backstage:s}):PI({directory:e,expandedIds:l.get(),selectedId:a,onLeafAction:t,labelTabstopping:d,treeId:n,backstage:s})));var d;o?Zb.grow(r):Zb.shrink(r),ug.set(r,c)}})])}},UI=Ne("tree-event-id"),WI=(e,t,o=[],n,s,r,a)=>{const i=t.fold(()=>({}),e=>({action:e})),l={buttonBehaviours:hd([HA(()=>!e.enabled||a.checkUiComponentContext(e.context).shouldDisable),ZA(()=>a.checkUiComponentContext(e.context)),iv.config({}),...r.map(e=>Tv.config(a.tooltips.getConfig({tooltipText:a.translate(e)}))).toArray(),wd("button press",[Qc("click")])].concat(o)),eventOrder:{click:["button press","alloy.base.behaviour"],mousedown:["button press","alloy.base.behaviour"]},...i},c=Ve(l,{dom:n});return Ve(c,{components:s})},jI=(e,t,o,n=[],s)=>{const r={tag:"button",classes:["tox-tbtn"],attributes:{...e.tooltip.map(e=>({"aria-label":o.translate(e)})).getOr({}),"data-mce-name":s}},a=e.icon.map(e=>lI(e,o.icons)),i=oD([a]);return WI(e,t,n,r,i,e.tooltip,o)},$I=e=>{switch(e){case"primary":return["tox-button"];case"toolbar":return["tox-tbtn"];default:return["tox-button","tox-button--secondary"]}},GI=(e,t,o,n=[],s=[])=>{const r=o.translate(e.text),a=e.icon.map(e=>lI(e,o.icons)),i=[a.getOrThunk(()=>zg(r))],l=e.buttonType.getOr(e.primary||e.borderless?"primary":"secondary"),c={tag:"button",classes:[...$I(l),...a.isSome()?["tox-button--icon"]:[],...e.borderless?["tox-button--naked"]:[],...s],attributes:{"aria-label":r,"data-mce-name":e.text}},d=e.icon.map(y(r));return WI(e,t,n,c,i,d,o)},qI=(e,t,o,n=[],s=[])=>{const r=GI(e,A.some(t),o,n,s);return Wv.sketch(r)},YI=(e,t)=>o=>{"custom"===t?$c(o,oB,{name:e,value:{}}):"submit"===t?jc(o,nB):"cancel"===t?jc(o,tB):console.error("Unknown button type: ",t)},XI=(e,t,o)=>{if(((e,t)=>"menu"===t)(0,t)){const t=()=>r,n=e,s={...e,buttonType:"default",type:"menubutton",search:A.none(),onSetup:t=>(t.setEnabled(e.enabled),b),fetch:MI(n.items,t,o)},r=Dv(DI(s,"tox-tbtn",o,A.none(),!0,e.text.or(e.tooltip).getOrUndefined()));return r.asSpec()}if(((e,t)=>"custom"===t||"cancel"===t||"submit"===t)(0,t)){const n=YI(e.name,t),s={...e,context:"cancel"===t?"any":e.context,borderless:!1};return qI(s,n,o.shared.providers,[])}if(((e,t)=>"togglebutton"===t)(0,t))return((e,t,o)=>{const n=e.icon.map(e=>cI(e,t.icons)).map(Dv),s=e.buttonType.getOr(e.primary?"primary":"secondary"),r={...e,name:e.name??"",primary:"primary"===s,tooltip:e.tooltip,enabled:e.enabled??!1,borderless:!1},a=r.tooltip.or(e.text).map(e=>({"aria-label":t.translate(e)})).getOr({}),i=$I(s??"secondary"),l=e.icon.isSome()&&e.text.isSome(),c={tag:"button",classes:[...i.concat(e.icon.isSome()?["tox-button--icon"]:[]),...e.active?["tox-button--enabled"]:[],...l?["tox-button--icon-and-text"]:[]],attributes:{...a,...g(o)?{"data-mce-name":o}:{}}},d=t.translate(e.text.getOr("")),u=zg(d),m=[...oD([n.map(e=>e.asSpec())]),...e.text.isSome()?[u]:[]],p=WI(r,A.some(o=>{$c(o,oB,{name:e.name,value:{setIcon:e=>{n.map(n=>n.getOpt(o).each(o=>{ug.set(o,[cI(e,t.icons)])}))}}})}),[],c,m,e.tooltip,t);return Wv.sketch(p)})(e,o.shared.providers,e.text.or(e.tooltip).getOrUndefined());throw console.error("Unknown footer button type: ",t),new Error("Unknown footer button type")},KI={type:"separator"},JI=e=>({type:"menuitem",value:e.url,text:e.title,meta:{attach:e.attach},onAction:b}),QI=(e,t)=>({type:"menuitem",value:t,text:e,meta:{attach:void 0},onAction:b}),ZI=(e,t)=>(e=>V(e,JI))(((e,t)=>P(t,t=>t.type===e))(e,t)),eF=e=>ZI("header",e.targets),tF=e=>ZI("anchor",e.targets),oF=e=>A.from(e.anchorTop).map(e=>QI("",e)).toArray(),nF=e=>A.from(e.anchorBottom).map(e=>QI("",e)).toArray(),sF=(e,t)=>{const o=e.toLowerCase();return P(t,e=>{const t=void 0!==e.meta&&void 0!==e.meta.text?e.meta.text:e.text,n=e.value??"";return Je(t.toLowerCase(),o)||Je(n.toLowerCase(),o)})},rF=Ne("aria-invalid"),aF=e=>(t,o,n,s,r)=>fe(o,"name").fold(()=>e(o,s,A.none(),r),a=>t.field(a,e(o,s,fe(n,a),r))),iF={bar:aF((e,t)=>((e,t)=>({dom:{tag:"div",classes:["tox-bar","tox-form__controls-h-stack"]},components:V(e.items,t.interpreter)}))(e,t.shared)),collection:aF((e,t,o)=>lB(e,t.shared.providers,o)),alertbanner:aF((e,t)=>((e,t)=>{const o=RO(e.icon,t.icons);return bh.sketch({dom:{tag:"div",attributes:{role:"alert"},classes:["tox-notification","tox-notification--in",`tox-notification--${e.level}`]},components:[{dom:{tag:"div",classes:["tox-notification__icon"],innerHtml:e.url?void 0:o},components:e.url?[Wv.sketch({dom:{tag:"button",classes:["tox-button","tox-button--naked","tox-button--icon"],innerHtml:o,attributes:{title:t.translate(e.iconTooltip)}},action:t=>$c(t,oB,{name:"alert-banner",value:e.url}),buttonBehaviours:hd([NO()])})]:void 0},{dom:{tag:"div",classes:["tox-notification__body"],innerHtml:t.translate(e.text)}}]})})(e,t.shared.providers)),input:aF((e,t,o)=>((e,t,o)=>EI({name:e.name,multiline:!1,label:e.label,inputMode:e.inputMode,placeholder:e.placeholder,flex:!1,disabled:!e.enabled,classname:"tox-textfield",validation:A.none(),maximized:e.maximized,data:o,context:e.context,spellcheck:A.none()},t))(e,t.shared.providers,o)),textarea:aF((e,t,o)=>((e,t,o)=>EI({name:e.name,multiline:!0,label:e.label,inputMode:A.none(),placeholder:e.placeholder,flex:!0,disabled:!e.enabled,classname:"tox-textarea",validation:A.none(),maximized:e.maximized,data:o,context:e.context,spellcheck:e.spellcheck},t))(e,t.shared.providers,o)),label:aF((e,t,o,n)=>((e,t,o)=>{const n="tox-label",s="center"===e.align?[`${n}--center`]:[],r="end"===e.align?[`${n}--end`]:[],a=Dv({dom:{tag:"label",classes:[n,...s,...r]},components:[zg(t.providers.translate(e.label))]}),i=V(e.items,t.interpreter);return{dom:{tag:"div",classes:["tox-form__group"]},components:[a.asSpec(),...i],behaviours:hd([mB(),ug.config({}),(l=A.none(),bB(l,nn,sn)),Im.config({mode:"acyclic"}),wd("label",[id(t=>{e.for.each(e=>{o(e).each(e=>{a.getOpt(t).each(t=>{const o=Ko(e.element,"id")??Ne("form-field");Yo(e.element,"id",o),Yo(t.element,"for",o)})})})})])])};var l})(e,t.shared,n)),iframe:(iR=(e,t,o)=>((e,t,o)=>{const n="tox-dialog__iframe",s=e.transparent?[]:[`${n}--opaque`],r=e.border?["tox-navobj-bordered"]:[],a={...e.label.map(e=>({title:e})).getOr({}),...o.map(e=>({srcdoc:e})).getOr({}),...e.sandboxed?{sandbox:"allow-scripts allow-same-origin"}:{}},i=((e,t)=>{const o=ye(e.getOr(""));return{getValue:e=>o.get(),setValue:(e,n)=>{if(o.get()!==n){const o=e.element,s=()=>Yo(o,"srcdoc",n);t?oI.fold(y(tI),e=>e.throttle)(o,n,s):s()}o.set(n)}}})(o,e.streamContent),l=e.label.map(e=>JM(e,t)),c=sy.parts.field({factory:{sketch:e=>VB(A.from(r),{uid:e.uid,dom:{tag:"iframe",attributes:a,classes:[n,...s]},behaviours:hd([iv.config({}),_d.config({}),fB(o,i.getValue,i.setValue),vb.config({channels:{[qB]:{onReceive:(e,t)=>{t.newFocus.each(t=>{ho(e.element).each(o=>{(wt(e.element,t)?ns:rs)(o,"tox-navobj-bordered-focus")})})}}}})])})}});return YM(l,c,["tox-form__group--stretched"],[])})(e,t.shared.providers,o),(e,t,o,n,s)=>{const r=Ve(t,{source:"dynamic"});return aF(iR)(e,r,o,n,s)}),button:aF((e,t)=>((e,t)=>{const o=YI(e.name,"custom");return n=A.none(),s=sy.parts.field({factory:Wv,...GI(e,A.some(o),t,[vB(""),mB()])}),YM(n,s,[],[]);var n,s})(e,t.shared.providers)),checkbox:aF((e,t,o)=>((e,t,o)=>{const n=e=>(e.element.dom.click(),A.some(!0)),s=sy.parts.field({factory:{sketch:w},dom:{tag:"input",classes:["tox-checkbox__input"],attributes:{type:"checkbox"}},behaviours:hd([mB(),gp.config({disabled:()=>!e.enabled||t.checkUiComponentContext(e.context).shouldDisable,onDisabled:e=>{ho(e.element).each(e=>ns(e,"tox-checkbox--disabled"))},onEnabled:e=>{ho(e.element).each(e=>rs(e,"tox-checkbox--disabled"))}}),iv.config({}),_d.config({}),bB(o,Qn,Jn),Im.config({mode:"special",onEnter:n,onSpace:n,stopSpaceKeyup:!0}),wd("checkbox-events",[Zc(Da(),(t,o)=>{$c(t,QM,{name:e.name})})])])}),r=sy.parts.label({dom:{tag:"span",classes:["tox-checkbox__label"]},components:[zg(t.translate(e.label))],behaviours:hd([Ev.config({})])}),a=e=>VO("checked"===e?"selected":"unselected",{tag:"span",classes:["tox-icon","tox-checkbox-icon__"+e]},t.icons),i=Dv({dom:{tag:"div",classes:["tox-checkbox__icons"]},components:[a("checked"),a("unchecked")]});return sy.sketch({dom:{tag:"label",classes:["tox-checkbox"]},components:[s,i.asSpec(),r],fieldBehaviours:hd([gp.config({disabled:()=>!e.enabled||t.checkUiComponentContext(e.context).shouldDisable}),ZA(()=>t.checkUiComponentContext(e.context))])})})(e,t.shared.providers,o)),colorinput:aF((e,t,o)=>((e,t,o,n)=>{const s=sy.parts.field({factory:hy,inputClasses:["tox-textfield"],data:n,onSetValue:e=>gf.run(e).get(b),inputBehaviours:hd([gp.config({disabled:()=>t.providers.isDisabled()||t.providers.checkUiComponentContext(e.context).shouldDisable}),ZA(()=>t.providers.checkUiComponentContext(e.context)),iv.config({}),gf.config({invalidClass:"tox-textbox-field-invalid",getRoot:e=>ho(e.element),notify:{onValid:e=>{const t=mf.getValue(e);$c(e,cB,{color:t})}},validator:{validateOnLoad:!1,validate:e=>{const t=mf.getValue(e);if(0===t.length)return _e(Ae.value(!0));{const e=it("span");gn(e,"background-color",t);const o=vn(e,"background-color").fold(()=>Ae.error("blah"),e=>Ae.value(t));return _e(o)}}}})]),selectOnFocus:!1}),r=e.label.map(e=>JM(e,t.providers)),a=(e,t)=>{$c(e,dB,{value:t})},i=Dv(((e,t)=>Hx.sketch({dom:e.dom,components:e.components,toggleClass:"mce-active",dropdownBehaviours:hd([PA(()=>t.providers.isDisabled()||t.providers.checkUiComponentContext(e.context).shouldDisable),ZA(()=>t.providers.checkUiComponentContext(e.context)),Ev.config({}),iv.config({})]),layouts:e.layouts,sandboxClasses:["tox-dialog__popups"],lazySink:t.getSink,fetch:o=>Oe(t=>e.fetch(t)).map(n=>A.from(jM(Ve(EM(Ne("menu-value"),n,t=>{e.onItemAction(o,t)},e.columns,e.presets,WO.CLOSE_ON_EXECUTE,T,t.providers),{movement:DM(e.columns,e.presets)})))),parts:{menu:i_(0,0,e.presets)}}))({dom:{tag:"span",attributes:{"aria-label":t.providers.translate("Color swatch")}},layouts:{onRtl:()=>[Ql,Jl,oc],onLtr:()=>[Jl,Ql,oc]},components:[],fetch:yM(o.getColors(e.storageKey),e.storageKey,o.hasCustomColors()),columns:o.getColorCols(e.storageKey),presets:"color",onItemAction:(t,n)=>{i.getOpt(t).each(t=>{"custom"===n?o.colorPicker(o=>{o.fold(()=>jc(t,uB),o=>{a(t,o),nM(e.storageKey,o)})},"#ffffff"):a(t,"remove"===n?"":n)})},context:e.context},t));return sy.sketch({dom:{tag:"div",classes:["tox-form__group"]},components:r.toArray().concat([{dom:{tag:"div",classes:["tox-color-input"]},components:[s,i.asSpec()]}]),fieldBehaviours:hd([wd("form-field-events",[Zc(cB,(t,o)=>{i.getOpt(t).each(e=>{gn(e.element,"background-color",o.event.color)}),$c(t,QM,{name:e.name})}),Zc(dB,(e,t)=>{sy.getField(e).each(o=>{mf.setValue(o,t.event.value),Xg.getCurrent(e).each(_d.focus)})}),Zc(uB,(e,t)=>{sy.getField(e).each(t=>{Xg.getCurrent(e).each(_d.focus)})})])])})})(e,t.shared,t.colorinput,o)),colorpicker:aF((e,t,o)=>((e,t,o)=>{const n=e=>"tox-"+e,s=EB((e=>t=>r(t)?e.translate(AB[t]):e.translate(t))(t),n,t.tooltips.getConfig,(e,o,n=e,s=e)=>VO(n,{tag:"div",classes:["tox-icon","tox-control-wrap__status-icon-"+e],attributes:{title:t.translate(s),"aria-live":"polite",...o.fold(()=>({}),e=>({id:e}))}},t.icons)),a=Dv(s.sketch({dom:{tag:"div",classes:[n("color-picker-container")],attributes:{role:"presentation"}},onValidHex:e=>{$c(e,oB,{name:"hex-valid",value:!0})},onInvalidHex:e=>{$c(e,oB,{name:"hex-valid",value:!1})}}));return{dom:{tag:"div"},components:[a.asSpec()],behaviours:hd([fB(o,e=>{const t=a.get(e);return Xg.getCurrent(t).bind(e=>mf.getValue(e).hex).map(e=>"#"+Ke(e,"#")).getOr("")},(e,t)=>{const o=A.from(/^#([a-fA-F0-9]{3}(?:[a-fA-F0-9]{3})?)/.exec(t)).bind(e=>ee(e,1)),n=a.get(e);Xg.getCurrent(n).fold(()=>{console.log("Can not find form")},e=>{mf.setValue(e,{hex:o.getOr("")}),$x.getField(e,"hex").each(e=>{jc(e,Aa())})})}),mB()])}})(0,t.shared.providers,o)),dropzone:aF((e,t,o)=>FB(e,t.shared.providers,o)),grid:aF((e,t)=>((e,t)=>({dom:{tag:"div",classes:["tox-form__grid",`tox-form__grid--${e.columns}col`]},components:V(e.items,t.interpreter)}))(e,t.shared)),listbox:aF((e,t,o)=>((e,t,o)=>{const n=R(e.items,e=>!xI(e)),s=t.shared.providers,r=o.bind(t=>SI(e.items,t)).orThunk(()=>te(e.items).filter(xI)),a=e.label.map(e=>JM(e,s)),i=sy.parts.field({dom:{},factory:{sketch:o=>pI({context:e.context,uid:o.uid,text:r.map(e=>e.text),icon:A.none(),tooltip:A.none(),role:je(!n,"combobox"),...n?{}:{listRole:"listbox"},ariaLabel:e.label,fetch:(o,s)=>{const r=wI(o,e.name,e.items,mf.getValue(o),n);s(vI(r,WO.CLOSE_ON_EXECUTE,t,{isHorizontalMenu:!1,search:A.none()}))},onSetup:y(b),getApi:y({}),columns:1,presets:"normal",classes:[],dropdownBehaviours:[iv.config({}),fB(r.map(e=>e.value),e=>Ko(e.element,yI),(t,o)=>{SI(e.items,o).each(e=>{Yo(t.element,yI,e.value),$c(t,uI,{text:e.text})})})]},"tox-listbox",t.shared)}}),l={dom:{tag:"div",classes:["tox-listboxfield"]},components:[i]};return sy.sketch({dom:{tag:"div",classes:["tox-form__group"]},components:G([a.toArray(),[l]]),fieldBehaviours:hd([gp.config({disabled:()=>!e.enabled||s.checkUiComponentContext(e.context).shouldDisable,onDisabled:e=>{sy.getField(e).each(gp.disable)},onEnabled:e=>{sy.getField(e).each(gp.enable)}})])})})(e,t,o)),selectbox:aF((e,t,o)=>((e,t,o)=>{const n=V(e.items,e=>({text:t.translate(e.text),value:e.value})),s=e.label.map(e=>JM(e,t)),r=sy.parts.field({dom:{},...o.map(e=>({data:e})).getOr({}),selectAttributes:{size:e.size},options:n,factory:cy,selectBehaviours:hd([gp.config({disabled:()=>!e.enabled||t.checkUiComponentContext(e.context).shouldDisable}),iv.config({}),wd("selectbox-change",[Zc(Da(),(t,o)=>{$c(t,QM,{name:e.name})})])])}),a=e.size>1?A.none():A.some(VO("chevron-down",{tag:"div",classes:["tox-selectfield__icon-js"]},t.icons)),i={dom:{tag:"div",classes:["tox-selectfield"]},components:G([[r],a.toArray()])};return sy.sketch({dom:{tag:"div",classes:["tox-form__group"]},components:G([s.toArray(),[i]]),fieldBehaviours:hd([gp.config({disabled:()=>!e.enabled||t.checkUiComponentContext(e.context).shouldDisable,onDisabled:e=>{sy.getField(e).each(gp.disable)},onEnabled:e=>{sy.getField(e).each(gp.enable)}}),ZA(()=>t.checkUiComponentContext(e.context))])})})(e,t.shared.providers,o)),sizeinput:aF((e,t)=>((e,t)=>{let o=_I;const n=Ne("ratio-event"),s=e=>VO(e,{tag:"span",classes:["tox-icon","tox-lock-icon__"+e]},t.icons),r=()=>!e.enabled||t.checkUiComponentContext(e.context).shouldDisable,a=ZA(()=>t.checkUiComponentContext(e.context)),i=e.label.getOr("Constrain proportions"),l=t.translate(i),c=ly.parts.lock({dom:{tag:"button",classes:["tox-lock","tox-button","tox-button--naked","tox-button--icon"],attributes:{"aria-label":l,"data-mce-name":i}},components:[s("lock"),s("unlock")],buttonBehaviours:hd([gp.config({disabled:r}),a,iv.config({}),Tv.config(t.tooltips.getConfig({tooltipText:l}))])}),d=e=>({dom:{tag:"div",classes:["tox-form__group"]},components:e}),u=t=>sy.parts.field({factory:hy,inputClasses:["tox-textfield"],inputBehaviours:hd([gp.config({disabled:r}),a,iv.config({}),wd("size-input-events",[Zc(Oa(),(e,o)=>{$c(e,n,{isField1:t})}),Zc(Da(),(t,o)=>{$c(t,QM,{name:e.name})})])]),selectOnFocus:!1}),m=e=>({dom:{tag:"label",classes:["tox-label"]},components:[zg(t.translate(e))]}),g=ly.parts.field1(d([sy.parts.label(m("Width")),u(!0)])),p=ly.parts.field2(d([sy.parts.label(m("Height")),u(!1)]));return ly.sketch({dom:{tag:"div",classes:["tox-form__group"]},components:[{dom:{tag:"div",classes:["tox-form__controls-h-stack"]},components:[g,p,d([m("\xa0"),c])]}],field1Name:"width",field2Name:"height",locked:!0,markers:{lockClass:"tox-locked"},onLockedChange:(e,t,n)=>{kI(mf.getValue(e)).each(e=>{o(e).each(e=>{mf.setValue(t,CI(e))})})},coupledFieldBehaviours:hd([gp.config({disabled:r,onDisabled:e=>{ly.getField1(e).bind(sy.getField).each(gp.disable),ly.getField2(e).bind(sy.getField).each(gp.disable),ly.getLock(e).each(gp.disable)},onEnabled:e=>{ly.getField1(e).bind(sy.getField).each(gp.enable),ly.getField2(e).bind(sy.getField).each(gp.enable),ly.getLock(e).each(gp.enable)}}),ZA(()=>t.checkUiComponentContext("mode:design")),wd("size-input-events2",[Zc(n,(e,t)=>{const n=t.event.isField1,s=n?ly.getField1(e):ly.getField2(e),r=n?ly.getField2(e):ly.getField1(e),a=s.map(mf.getValue).getOr(""),i=r.map(mf.getValue).getOr("");o=TI(a,i)})])])})})(e,t.shared.providers)),slider:aF((e,t,o)=>((e,t,o)=>{const n=nS.parts.label({dom:{tag:"label",classes:["tox-label"]},components:[zg(t.translate(e.label))]}),s=nS.parts.spectrum({dom:{tag:"div",classes:["tox-slider__rail"],attributes:{role:"presentation"}}}),r=nS.parts.thumb({dom:{tag:"div",classes:["tox-slider__handle"],attributes:{role:"presentation"}}});return nS.sketch({dom:{tag:"div",classes:["tox-slider"],attributes:{role:"presentation"}},model:{mode:"x",minX:e.min,maxX:e.max,getInitialValue:y(o.getOrThunk(()=>(Math.abs(e.max)-Math.abs(e.min))/2))},components:[n,s,r],sliderBehaviours:hd([mB(),_d.config({})]),onChoose:(t,o,n)=>{$c(t,QM,{name:e.name,value:n})},onChange:(t,o,n)=>{$c(t,QM,{name:e.name,value:n})}})})(e,t.shared.providers,o)),urlinput:aF((e,t,o)=>((e,t,o,n)=>{const s=t.shared.providers,r=t=>{const n=mf.getValue(t);o.addToHistory(n.value,e.filetype)},a={...n.map(e=>({initialData:e})).getOr({}),dismissOnBlur:!0,inputClasses:["tox-textfield"],sandboxClasses:["tox-dialog__popups"],inputAttributes:{type:"url"},minChars:0,responseTime:0,fetch:n=>{const s=((e,t,o)=>{const n=mf.getValue(t),s=n?.meta?.text??n.value;return o.getLinkInformation().fold(()=>[],t=>{const n=sF(s,(e=>V(e,e=>QI(e,e)))(o.getHistory(e)));return"file"===e?(r=[n,sF(s,eF(t)),sF(s,G([oF(t),tF(t),nF(t)]))],W(r,(e,t)=>0===e.length||0===t.length?e.concat(t):e.concat(KI,t),[])):n;var r})})(e.filetype,n,o),r=vI(s,WO.BUBBLE_TO_SANDBOX,t,{isHorizontalMenu:!1,search:A.none()});return _e(r)},getHotspot:e=>g.getOpt(e),onSetValue:(e,t)=>{e.hasConfigured(gf)&&gf.run(e).get(b)},typeaheadBehaviours:hd([...o.getValidationHandler().map(t=>gf.config({getRoot:e=>ho(e.element),invalidClass:"tox-control-wrap--status-invalid",notify:{onInvalid:(e,t)=>{c.getOpt(e).each(e=>{Yo(e.element,"title",s.translate(t))})}},validator:{validate:o=>{const n=mf.getValue(o);return Me(s=>{t({type:e.filetype,url:n.value},e=>{if("invalid"===e.status){Yo(o.element,"aria-errormessage",rF);const t=Ae.error(e.message);s(t)}else{Zo(o.element,"aria-errormessage");const t=Ae.value(e.message);s(t)}})})},validateOnLoad:!1}})).toArray(),gp.config({disabled:()=>!e.enabled||s.checkUiComponentContext(e.context).shouldDisable}),iv.config({}),wd("urlinput-events",[Zc(Aa(),t=>{const o=ds(t.element),n=o.trim();n!==o&&us(t.element,n),"file"===e.filetype&&$c(t,QM,{name:e.name})}),Zc(Da(),t=>{$c(t,QM,{name:e.name}),r(t)}),Zc(ja(),t=>{$c(t,QM,{name:e.name}),r(t)})])]),eventOrder:{[Aa()]:["streaming","urlinput-events","invalidating"]},model:{getDisplayText:e=>e.value,selectsOver:!1,populateFromBrowse:!1},markers:{openClass:"tox-textfield--popup-open"},lazySink:t.shared.getSink,parts:{menu:i_(0,0,"normal")},onExecute:(e,t,o)=>{$c(t,nB,{})},onItemExecute:(t,o,n,s)=>{r(t),$c(t,QM,{name:e.name})}},i=sy.parts.field({...a,factory:GS}),l=e.label.map(e=>JM(e,s)),c=Dv(((e,t,o=e,n=e)=>VO(o,{tag:"div",classes:["tox-icon","tox-control-wrap__status-icon-"+e],attributes:{title:s.translate(n),"aria-live":"polite",...t.fold(()=>({}),e=>({id:e}))}},s.icons))("invalid",A.some(rF),"warning")),d=Dv({dom:{tag:"div",classes:["tox-control-wrap__status-icon-wrap"]},components:[c.asSpec()]}),u=o.getUrlPicker(e.filetype),m=Ne("browser.url.event"),g=Dv({dom:{tag:"div",classes:["tox-control-wrap"]},components:[i,d.asSpec()],behaviours:hd([gp.config({disabled:()=>!e.enabled||s.checkUiComponentContext(e.context).shouldDisable})])}),p=Dv(qI({context:e.context,name:e.name,icon:A.some("browse"),text:e.picker_text.or(e.label).getOr(""),enabled:e.enabled,primary:!1,buttonType:A.none(),borderless:!0},e=>jc(e,m),s,[],["tox-browse-url"]));return sy.sketch({dom:KM([]),components:l.toArray().concat([{dom:{tag:"div",classes:["tox-form__controls-h-stack"]},components:G([[g.asSpec()],u.map(()=>p.asSpec()).toArray()])}]),fieldBehaviours:hd([gp.config({disabled:()=>!e.enabled||s.checkUiComponentContext(e.context).shouldDisable,onDisabled:e=>{sy.getField(e).each(gp.disable),p.getOpt(e).each(gp.disable)},onEnabled:e=>{sy.getField(e).each(gp.enable),p.getOpt(e).each(gp.enable)}}),ZA(()=>s.checkUiComponentContext(e.context)),wd("url-input-events",[Zc(m,t=>{Xg.getCurrent(t).each(o=>{const n=mf.getValue(o),s={fieldname:e.name,...n};u.each(n=>{n(s).get(n=>{mf.setValue(o,n),$c(t,QM,{name:e.name})})})})})])])})})(e,t,t.urlinput,o)),customeditor:aF(e=>{const t=Ye(),o=Dv({dom:{tag:e.tag}}),n=Ye(),s=!MB(e)&&e.onFocus.isSome()?[_d.config({onFocus:t=>{e.onFocus.each(e=>{e(t.element.dom)})}}),iv.config({})]:[];return{dom:{tag:"div",classes:["tox-custom-editor"]},behaviours:hd([wd("custom-editor-events",[id(s=>{o.getOpt(s).each(o=>{(MB(e)?e.init(o.element.dom):DB.load(e.scriptId,e.scriptUrl).then(t=>t(o.element.dom,e.settings))).then(e=>{n.on(t=>{e.setValue(t)}),n.clear(),t.set(e)})})})]),fB(A.none(),()=>t.get().fold(()=>n.get().getOr(""),e=>e.getValue()),(e,o)=>{t.get().fold(()=>n.set(o),e=>e.setValue(o))}),mB()].concat(s)),components:[o.asSpec()]}}),htmlpanel:aF((e,t)=>((e,t)=>{const o=["tox-form__group",...e.stretched?["tox-form__group--stretched"]:[]],n=wd("htmlpanel",[id(t=>{e.onInit(t.element.dom)})]);return"presentation"===e.presets?bh.sketch({dom:{tag:"div",classes:o,innerHtml:e.html},containerBehaviours:hd([Tv.config({...t.tooltips.getConfig({tooltipText:"",onShow:e=>{Xn(e.element,"[data-mce-tooltip]:hover").orThunk(()=>Po(e.element)).each(o=>{Jo(o,"data-mce-tooltip").each(o=>{Tv.setComponents(e,t.tooltips.getComponents({tooltipText:o}))})})}}),mode:"children-normal",anchor:e=>({type:"node",node:Xn(e.element,"[data-mce-tooltip]:hover").orThunk(()=>Po(e.element).filter(e=>Jo(e,"data-mce-tooltip").isSome())),root:e.element,layouts:{onLtr:y([oc,tc,Jl,Zl,Ql,ec]),onRtl:y([oc,tc,Jl,Zl,Ql,ec])},bubble:Ml(0,-2,{})})}),n])}):bh.sketch({dom:{tag:"div",classes:o,innerHtml:e.html,attributes:{role:"document"}},containerBehaviours:hd([iv.config({}),_d.config({}),n])})})(e,t.shared.providers)),imagepreview:aF((e,t,o)=>((e,t)=>{const o=ye(t.getOr({url:""})),n=Dv({dom:{tag:"img",classes:["tox-imagepreview__image"],attributes:t.map(e=>({src:e.url})).getOr({})}}),s=Dv({dom:{tag:"div",classes:["tox-imagepreview__container"],attributes:{role:"presentation"}},components:[n.asSpec()]}),r={};e.height.each(e=>r.height=e);const a=t.map(e=>({url:e.url,zoom:A.from(e.zoom),cachedWidth:A.from(e.cachedWidth),cachedHeight:A.from(e.cachedHeight)}));return{dom:{tag:"div",classes:["tox-imagepreview"],styles:r,attributes:{role:"presentation"}},components:[s.asSpec()],behaviours:hd([mB(),fB(a,()=>o.get(),(e,t)=>{const r={url:t.url};t.zoom.each(e=>r.zoom=e),t.cachedWidth.each(e=>r.cachedWidth=e),t.cachedHeight.each(e=>r.cachedHeight=e),o.set(r);const a=()=>{const{cachedWidth:t,cachedHeight:o,zoom:n}=r;if(!u(t)&&!u(o)){if(u(n)){const n=((e,t,o)=>{const n=An(e),s=On(e);return Math.min(n/t,s/o,1)})(e.element,t,o);r.zoom=n}const a=((e,t,o,n,s)=>{const r=o*s,a=n*s,i=Math.max(0,e/2-r/2),l=Math.max(0,t/2-a/2);return{left:i.toString()+"px",top:l.toString()+"px",width:r.toString()+"px",height:a.toString()+"px"}})(An(e.element),On(e.element),t,o,r.zoom);s.getOpt(e).each(e=>{pn(e.element,a)})}};n.getOpt(e).each(o=>{const n=o.element;t.url!==Ko(n,"src")&&(Yo(n,"src",t.url),rs(e.element,"tox-imagepreview__loaded")),a(),rn(n).then(t=>{e.getSystem().isConnected()&&(ns(e.element,"tox-imagepreview__loaded"),r.cachedWidth=t.dom.naturalWidth,r.cachedHeight=t.dom.naturalHeight,a())})})})])}})(e,o)),table:aF((e,t)=>((e,t)=>{const o=e=>({dom:{tag:"td",innerHtml:t.translate(e)}});return{dom:{tag:"table",classes:["tox-dialog__table"]},components:[(s=e.header,{dom:{tag:"thead"},components:[{dom:{tag:"tr"},components:V(s,e=>({dom:{tag:"th",innerHtml:t.translate(e)}}))}]}),(n=e.cells,{dom:{tag:"tbody"},components:V(n,e=>({dom:{tag:"tr"},components:V(e,o)}))})],behaviours:hd([iv.config({}),_d.config({})])};var n,s})(e,t.shared.providers)),tree:aF((e,t)=>((e,t)=>{const o=e.onLeafAction.getOr(b),n=e.onToggleExpand.getOr(b),s=e.defaultExpandedIds,r=ye(s),a=ye(e.defaultSelectedId),i=Ne("tree-id"),l=(n,s)=>e.items.map(e=>"leaf"===e.type?RI({leaf:e,selectedId:n,onLeafAction:o,visible:!0,treeId:i,backstage:t}):PI({directory:e,selectedId:n,onLeafAction:o,expandedIds:s,labelTabstopping:!0,treeId:i,backstage:t}));return{dom:{tag:"div",classes:["tox-tree"],attributes:{role:"tree"}},components:l(a.get(),r.get()),behaviours:hd([Im.config({mode:"flow",selector:".tox-tree--leaf__label--visible, .tox-tree--directory__label--visible",cycles:!1}),wd(UI,[Zc("expand-tree-node",(e,t)=>{const{expanded:o,node:s}=t.event;r.set(o?[...r.get(),s]:r.get().filter(e=>e!==s)),n(r.get(),{expanded:o,node:s})})]),vb.config({channels:{[`update-active-item-${i}`]:{onReceive:(e,t)=>{a.set(A.some(t.value)),ug.set(e,l(A.some(t.value),r.get()))}}}}),ug.config({})])}})(e,t)),panel:aF((e,t)=>((e,t)=>({dom:{tag:"div",classes:e.classes},components:V(e.items,t.shared.interpreter)}))(e,t))},lF={field:(e,t)=>t,record:y([])},cF=(e,t,o,n,s)=>{const r=Ve(n,{shared:{interpreter:t=>dF(e,t,o,r,s)}});return dF(e,t,o,r,s)},dF=(e,t,o,n,s)=>fe(iF,t.type).fold(()=>(console.error(`Unknown factory type "${t.type}", defaulting to container: `,t),t),r=>r(e,t,o,n,s)),uF=(e,t,o,n)=>dF(lF,e,t,o,n),mF={valignCentre:[],alignCentre:[],alignLeft:[],alignRight:[],right:[],left:[],bottom:[],top:[]},gF=(e,t,o)=>{const n={maxHeightFunction:Fc()};return()=>o()?{type:"node",root:_o(Oo(e())),node:A.from(e()),bubble:Ml(12,12,mF),layouts:{onRtl:()=>[Cc],onLtr:()=>[Sc]},overrides:n}:{type:"hotspot",hotspot:t(),bubble:Ml(-12,12,mF),layouts:{onRtl:()=>[Jl,Ql,oc],onLtr:()=>[Ql,Jl,oc]},overrides:n}},pF=(e,t,o,n)=>{const s={maxHeightFunction:Fc()};return()=>n()?{type:"node",root:_o(Oo(t())),node:A.from(t()),bubble:Ml(12,12,mF),layouts:{onRtl:()=>[kc],onLtr:()=>[kc]},overrides:s}:e?{type:"node",root:_o(Oo(t())),node:A.from(t()),bubble:Ml(0,-_n(t()),mF),layouts:{onRtl:()=>[tc],onLtr:()=>[tc]},overrides:s}:{type:"hotspot",hotspot:o(),bubble:Ml(0,0,mF),layouts:{onRtl:()=>[tc],onLtr:()=>[tc]},overrides:s}},hF=(e,t,o)=>()=>o()?{type:"node",root:_o(Oo(e())),node:A.from(e()),layouts:{onRtl:()=>[kc],onLtr:()=>[kc]}}:{type:"hotspot",hotspot:t(),layouts:{onRtl:()=>[oc],onLtr:()=>[oc]}},fF=(e,t)=>()=>({type:"selection",root:t(),getSelection:()=>{const t=e.selection.getRng(),o=e.model.table.getSelectedCells();if(o.length>1){const e=o[0],t=o[o.length-1],n={firstCell:ct(e),lastCell:ct(t)};return A.some(n)}return A.some(Cs.range(ct(t.startContainer),t.startOffset,ct(t.endContainer),t.endOffset))}}),bF=e=>t=>({type:"node",root:e(),node:t}),vF=(e,t,o,n)=>{const s=ok(e),r=()=>ct(e.getBody()),a=()=>ct(e.getContentAreaContainer()),i=()=>s||!n();return{inlineDialog:gF(a,t,i),inlineBottomDialog:pF(e.inline,a,o,i),banner:hF(a,t,i),cursor:fF(e,r),node:bF(r)}},xF=e=>(t,o)=>{TM(e)(t,o)},yF=e=>()=>gM(e),wF=e=>t=>cM(e,t),SF=e=>t=>mM(e,t),CF=e=>()=>BC(e),kF=e=>ve(e,"items"),OF=e=>ve(e,"format"),_F=[{title:"Headings",items:[{title:"Heading 1",format:"h1"},{title:"Heading 2",format:"h2"},{title:"Heading 3",format:"h3"},{title:"Heading 4",format:"h4"},{title:"Heading 5",format:"h5"},{title:"Heading 6",format:"h6"}]},{title:"Inline",items:[{title:"Bold",format:"bold"},{title:"Italic",format:"italic"},{title:"Underline",format:"underline"},{title:"Strikethrough",format:"strikethrough"},{title:"Superscript",format:"superscript"},{title:"Subscript",format:"subscript"},{title:"Code",format:"code"}]},{title:"Blocks",items:[{title:"Paragraph",format:"p"},{title:"Blockquote",format:"blockquote"},{title:"Div",format:"div"},{title:"Pre",format:"pre"}]},{title:"Align",items:[{title:"Left",format:"alignleft"},{title:"Center",format:"aligncenter"},{title:"Right",format:"alignright"},{title:"Justify",format:"alignjustify"}]}],TF=e=>W(e,(e,t)=>{if(be(t,"items")){const o=TF(t.items);return{customFormats:e.customFormats.concat(o.customFormats),formats:e.formats.concat([{title:t.title,items:o.formats}])}}if(be(t,"inline")||(e=>be(e,"block"))(t)||(e=>be(e,"selector"))(t)){const o=`custom-${r(t.name)?t.name:t.title.toLowerCase()}`;return{customFormats:e.customFormats.concat([{name:o,format:t}]),formats:e.formats.concat([{title:t.title,format:o,icon:t.icon}])}}return{...e,formats:e.formats.concat(t)}},{customFormats:[],formats:[]}),EF=e=>uC(e).map(t=>{const o=((e,t)=>{const o=TF(t),n=t=>{L(t,t=>{e.formatter.has(t.name)||e.formatter.register(t.name,t.format)})};return e.formatter?n(o.customFormats):e.on("init",()=>{n(o.customFormats)}),o.formats})(e,t);return mC(e)?_F.concat(o):o}).getOr(_F),AF=(e,t,o)=>({...e,type:"formatter",isSelected:t(e.format),getStylePreview:o(e.format)}),DF=(e,t,o,n)=>{const s=t=>V(t,t=>kF(t)?(e=>{const t=s(e.items);return{...e,type:"submenu",getStyleItems:y(t)}})(t):OF(t)?(e=>AF(e,o,n))(t):(e=>{const t=re(e);return 1===t.length&&F(t,"title")})(t)?{...t,type:"separator"}:(t=>{const s=r(t.name)?t.name:Ne(t.title),a=`custom-${s}`,i={...t,type:"formatter",format:a,isSelected:o(a),getStylePreview:n(a)};return e.formatter.register(s,i),i})(t));return s(t)},MF=e=>{let t=0;const o=e=>[{dom:{tag:"div",classes:["tox-tooltip__body"]},components:[zg(e.tooltipText)]}];return{getConfig:n=>({delayForShow:()=>t>0?60:300,delayForHide:y(300),exclusive:!0,lazySink:e,tooltipDom:{tag:"div",classes:["tox-tooltip","tox-tooltip--up"]},tooltipComponents:o(n),onShow:(e,o)=>{t++,n.onShow&&n.onShow(e,o)},onHide:(e,o)=>{t--,n.onHide&&n.onHide(e,o)},onSetup:n.onSetup}),getComponents:o}},BF=BB.trim,IF=e=>t=>{if((e=>g(e)&&1===e.nodeType)(t)){if(t.contentEditable===e)return!0;if(t.getAttribute("data-mce-contenteditable")===e)return!0}return!1},FF=IF("true"),RF=IF("false"),NF=(e,t,o,n,s)=>({type:e,title:t,url:o,level:n,attach:s}),zF=e=>e.innerText||e.textContent,VF=e=>(e=>e&&"A"===e.nodeName&&void 0!==(e.id||e.name))(e)&&HF(e),LF=e=>e&&/^(H[1-6])$/.test(e.nodeName),HF=e=>(e=>{let t=e;for(;t=t.parentNode;){const e=t.contentEditable;if(e&&"inherit"!==e)return FF(t)}return!1})(e)&&!RF(e),PF=e=>LF(e)&&HF(e),UF=e=>{const t=(e=>e.id?e.id:Ne("h"))(e);return NF("header",zF(e)??"","#"+t,(e=>LF(e)?parseInt(e.nodeName.substr(1),10):0)(e),()=>{e.id=t})},WF=e=>{const t=e.id||e.name,o=zF(e);return NF("anchor",o||"#"+t,"#"+t,0,b)},jF=e=>BF(e.title).length>0,$F=e=>{const t=(e=>{const t=V(gs(ct(e),"h1,h2,h3,h4,h5,h6,a:not([href])"),e=>e.dom);return t})(e);return P((e=>V(P(e,PF),UF))(t).concat((e=>V(P(e,VF),WF))(t)),jF)},GF="tinymce-url-history",qF=e=>r(e)&&/^https?/.test(e),YF=e=>a(e)&&pe(e,e=>{return!(l(t=e)&&t.length<=5&&Y(t,qF));var t}).isNone(),XF=()=>{const e=eM.getItem(GF);if(null===e)return{};let t;try{t=JSON.parse(e)}catch(e){if(e instanceof SyntaxError)return console.log("Local storage "+GF+" was not valid JSON",e),{};throw e}return YF(t)?t:(console.log("Local storage "+GF+" was not valid format",t),{})},KF=e=>{const t=XF();return fe(t,e).getOr([])},JF=(e,t)=>{if(!qF(e))return;const o=XF(),n=fe(o,t).getOr([]),s=P(n,t=>t!==e);o[t]=[e].concat(s).slice(0,5),(e=>{if(!YF(e))throw new Error("Bad format for history:\n"+JSON.stringify(e));eM.setItem(GF,JSON.stringify(e))})(o)},QF=e=>!!e,ZF=e=>le(BB.makeMap(e,/[, ]/),QF),eR=e=>A.from(OC(e)),tR=e=>A.from(e).filter(r).getOrUndefined(),oR=e=>({getHistory:KF,addToHistory:JF,getLinkInformation:()=>(e=>AC(e)?A.some({targets:$F(e.getBody()),anchorTop:tR(DC(e)),anchorBottom:tR(MC(e))}):A.none())(e),getValidationHandler:()=>(e=>A.from(_C(e)))(e),getUrlPicker:t=>((e,t)=>((e,t)=>{const o=(e=>{const t=A.from(EC(e)).filter(QF).map(ZF);return eR(e).fold(T,e=>t.fold(E,e=>re(e).length>0&&e))})(e);return d(o)?o?eR(e):A.none():o[t]?eR(e):A.none()})(e,t).map(o=>n=>Oe(s=>{const i={filetype:t,fieldname:n.fieldname,...A.from(n.meta).getOr({})};o.call(e,(e,t)=>{if(!r(e))throw new Error("Expected value to be string");if(void 0!==t&&!a(t))throw new Error("Expected meta to be a object");s({value:e,meta:t})},n.value,i)})))(e,t)}),nR={skipFocus:"ToggleToolbarDrawer skipFocus is deprecated see migration guide: https://www.tiny.cloud/docs/tinymce/latest/migration-from-7x/"},sR=b,rR=T,aR=y([]);var iR,lR=Object.freeze({__proto__:null,setup:sR,isDocked:rR,getBehaviours:aR});const cR=y(Ne("toolbar-height-change")),dR={fadeInClass:"tox-editor-dock-fadein",fadeOutClass:"tox-editor-dock-fadeout",transitionClass:"tox-editor-dock-transition"},uR="tox-tinymce--toolbar-sticky-on",mR="tox-tinymce--toolbar-sticky-off",gR=(e,t)=>F(Hp.getModes(e),t),pR=e=>{const t=e.element;ho(t).each(o=>{const n="padding-"+Hp.getModes(e)[0];if(Hp.isDocked(e)){const e=An(o);gn(t,"width",e+"px"),gn(o,n,(e=>_n(e)+(parseInt(fn(e,"margin-top"),10)||0)+(parseInt(fn(e,"margin-bottom"),10)||0))(t)+"px")}else wn(t,"width"),wn(o,n)})},hR=(e,t)=>{t?(rs(e,dR.fadeOutClass),is(e,[dR.transitionClass,dR.fadeInClass])):(rs(e,dR.fadeInClass),is(e,[dR.fadeOutClass,dR.transitionClass]))},fR=(e,t)=>{const o=ct(e.getContainer());t?(ns(o,uR),rs(o,mR)):(ns(o,mR),rs(o,uR))},bR=(e,t)=>{const o=Ye(),n=t.getSink,s=e=>{n().each(t=>e(t.element))},r=t=>{e.inline||pR(t),fR(e,Hp.isDocked(t)),t.getSystem().broadcastOn([Vd()],{}),n().each(e=>e.getSystem().broadcastOn([Vd()],{}))},a=e.inline?[]:[vb.config({channels:{[cR()]:{onReceive:pR}}})];return[_d.config({}),Hp.config({contextual:{lazyContext:t=>{const o=_n(t.element),n=e.inline?e.getContentAreaContainer():e.getContainer();return A.from(n).map(n=>{const s=Hs(ct(n));return gk(e,t.element).fold(()=>{const e=s.height-o,n=s.y+(gR(t,"top")?0:o);return Ls(s.x,n,s.width,e)},e=>{const n=Us(s,pk(e)),r=gR(t,"top")?n.y:n.y+o;return Ls(n.x,r,n.width,n.height-o)})})},onShow:()=>{s(e=>hR(e,!0))},onShown:e=>{s(e=>ls(e,[dR.transitionClass,dR.fadeInClass])),o.get().each(t=>{((e,t)=>{const o=co(t);Ho(o).filter(e=>!wt(t,e)).filter(t=>wt(t,ct(o.dom.body))||St(e,t)).each(()=>zo(t))})(e.element,t),o.clear()})},onHide:e=>{((e,t)=>Po(e).orThunk(()=>t().toOptional().bind(e=>Po(e.element))))(e.element,n).fold(o.clear,o.set),s(e=>hR(e,!1))},onHidden:()=>{s(e=>ls(e,[dR.transitionClass]))},...dR},lazyViewport:t=>gk(e,t.element).fold(()=>{const o=Ws(),n=SC(e),s=o.y+(gR(t,"top")&&!mk(e)?n:0),r=o.height-(gR(t,"bottom")?n:0);return{bounds:Ls(o.x,s,o.width,r),optScrollEnv:A.none()}},e=>({bounds:pk(e),optScrollEnv:A.some({currentScrollTop:e.element.dom.scrollTop,scrollElmTop:Fn(e.element).top})})),modes:[t.header.getDockingMode()],onDocked:r,onUndocked:r}),...a]};var vR=Object.freeze({__proto__:null,setup:(e,t,o)=>{e.inline||(t.header.isPositionedAtTop()||e.on("ResizeEditor",()=>{o().each(Hp.reset)}),e.on("ResizeWindow ResizeEditor",()=>{o().each(pR)}),e.on("SkinLoaded",()=>{o().each(e=>{Hp.isDocked(e)?Hp.reset(e):Hp.refresh(e)})}),e.on("FullscreenStateChanged",()=>{o().each(Hp.reset)})),e.on("AfterScrollIntoView",e=>{o().each(t=>{Hp.refresh(t);const o=t.element;Tn(o)&&((e,t)=>{const o=co(t),n=go(t).dom.innerHeight,s=Nn(o),r=ct(e.elm),a=Ps(r),i=On(r),l=a.y,c=l+i,d=Fn(t),u=On(t),m=d.top,g=m+u,p=Math.abs(m-s.top)<2,h=Math.abs(g-(s.top+n))<2;if(p&&lm){const e=l-n+i+u;zn(s.left,e,o)}})(e,o)})}),e.on("PostRender",()=>{fR(e,!1)})},isDocked:e=>e().map(Hp.isDocked).getOr(!1),getBehaviours:bR}),xR=hh({factory:(e,t)=>{const o={focus:Im.focusIn,setMenus:(e,o)=>{const n=V(o,e=>{const o={type:"menubutton",text:e.text,fetch:t=>{t(e.getItems())},context:"any"},n=fE(o).mapError(e=>Rr(e)).getOrDie();return DI(n,"tox-mbtn",t.backstage,A.some("menuitem"))});ug.set(e,n)}};return{uid:e.uid,dom:e.dom,components:[],behaviours:hd([ug.config({}),wd("menubar-events",[id(t=>{e.onSetup(t)}),Zc(ka(),(e,t)=>{Xn(e.element,".tox-mbtn--active").each(o=>{Kn(t.event.target,".tox-mbtn").each(t=>{wt(o,t)||e.getSystem().getByDom(o).each(o=>{e.getSystem().getByDom(t).each(e=>{Hx.expand(e),Hx.close(o),_d.focus(e)})})})})}),Zc(ii(),(e,t)=>{t.event.prevFocus.bind(t=>e.getSystem().getByDom(t).toOptional()).each(o=>{t.event.newFocus.bind(t=>e.getSystem().getByDom(t).toOptional()).each(e=>{Hx.isOpen(o)&&(Hx.expand(e),Hx.close(o))})})})]),Im.config({mode:"flow",selector:".tox-mbtn",onEscape:t=>(e.onEscape(t),A.some(!0))}),iv.config({})]),apis:o,domModification:{attributes:{role:"menubar"}}}},name:"silver.Menubar",configFields:[Pr("dom"),Pr("uid"),Pr("onEscape"),Pr("backstage"),sa("onSetup",b)],apis:{focus:(e,t)=>{e.focus(t)},setMenus:(e,t,o)=>{e.setMenus(t,o)}}});const yR=e=>/^[0-9\.]+(|px)$/i.test(""+e)?A.some(parseInt(""+e,10)):A.none(),wR=e=>h(e)?e+"px":e,SR=(e,t,o)=>{const n=t.filter(t=>ee>t);return n.or(s).getOr(e)},CR="--tox-private-requested-sidebar-width",kR="--tox-private-resolved-sidebar-width",OR=e=>Gn(e.element,".tox-sidebar"),_R=(e,t)=>{const{minWidth:o,maxWidth:n}=e;return{dom:{tag:"div",classes:["tox-sidebar__resize-handle"]},behaviours:hd([Wh.config({mode:"pointer",repositionTarget:!1,onDragStart:e=>{OR(e).each(s=>{const r=An(s),a=Ue((e=>Gn(e.element,".tox-sidebar-wrap"))(e),(e=>yR(fn(e,"--tox-private-min-editing-area-width")))(s),(e,t)=>Math.floor(An(e))-t).getOr(n),i=Math.min(n,a);i>=o&&(_b.start(e,r,On(s),{minWidth:o,maxWidth:i}),t.dispatch("SidebarResizeStart"))})},onDrag:(e,t,o)=>{_b.moveBy(e,Bn(-1*o.left,0)).each(({width:t})=>{OR(e).each(e=>((e,t)=>{gn(e,CR,wR(t))})(e,t))})},onDrop:e=>{_b.stop(e).each(({width:e})=>{((e,t)=>{e.dispatch("SidebarResized",{width:t})})(t,e)})}}),_b.config({})])}},TR=e=>({element:()=>e.element.dom}),ER=(e,t)=>{const o=V(re(t),e=>{const o=t[e],n=Ir((e=>Br("sidebar",DA,e))(o));return{name:e,getApi:TR,onSetup:n.onSetup,onShow:n.onShow,onHide:n.onHide,resizable:n.resizable}});return V(o,t=>{const n=ye(b);return e.slot(t.name,{dom:{tag:"div",classes:["tox-sidebar__pane"]},behaviours:LA([jA(t,n),$A(t,n),Zc(li(),(e,t)=>{const n=t.event,s=j(o,e=>e.name===n.name);s.each(t=>{$c(e,RR,n.visible?{visible:!0,resizable:t.resizable}:{visible:!1}),(n.visible?t.onShow:t.onHide)(t.getApi(e))})})])})})},AR=(e,t,o)=>cS.sketch(n=>({dom:{tag:"div",classes:["tox-sidebar__pane-container"]},components:[_R(t,o),...ER(n,e)],slotBehaviours:LA([id(e=>cS.hideAllSlots(e))])})),DR=(e,t)=>{Yo(e,"role",t)},MR=e=>{Xg.getCurrent(e).each(t=>{Zb.immediateShrink(t),DR(e.element,"presentation")})},BR=e=>Xg.getCurrent(e).bind(e=>Zb.isGrowing(e)||Zb.hasGrown(e)?Xg.getCurrent(e).bind(e=>j(cS.getSlotNames(e),t=>cS.isShowing(e,t))):A.none()),IR=Ne("FixSizeEvent"),FR=Ne("AutoSizeEvent"),RR=Ne("SidebarContentChanged"),NR=e=>Xg.getCurrent(e).each(e=>zo(e.element,!0)),zR=(e,t,o)=>{const n=ye(!1),s=Ye(),r=o=>{var s;n.get()&&(!(e=>"focusin"===e.type)(s=o)||!(s.composed?te(s.composedPath()):A.from(s.target)).map(ct).filter(so).exists(e=>as(e,"mce-pastebin")))&&(o.preventDefault(),NR(t()),e.editorManager.setActive(e))};e.inline||e.on("PreInit",()=>{e.dom.bind(e.getWin(),"focusin",r),e.on("BeforeExecCommand",e=>{"mcefocus"===e.command.toLowerCase()&&!0!==e.value&&r(e)})});const a=s=>{s!==n.get()&&(n.set(s),((e,t,o,n)=>{const s=t.element;if(((e,t)=>{const o="tabindex",n=`data-mce-${o}`;A.from(e.iframeElement).map(ct).each(e=>{t?(Jo(e,o).each(t=>Yo(e,n,t)),Yo(e,o,-1)):(Zo(e,o),Jo(e,n).each(t=>{Yo(e,o,t),Zo(e,n)}))})})(e,o),o)Gg.block(t,(e=>(t,o)=>({dom:{tag:"div",attributes:{"aria-label":e.translate("Loading..."),tabindex:"0"},classes:["tox-throbber__busy-spinner"]},components:[{dom:Av('
')}]}))(n)),wn(s,"display"),Zo(s,"aria-hidden"),e.hasFocus()&&NR(t);else{const o=Xg.getCurrent(t).exists(e=>Lo(e.element));Gg.unblock(t),gn(s,"display","none"),Yo(s,"aria-hidden","true"),o&&e.focus()}})(e,t(),s,o.providers),((e,t)=>{e.dispatch("AfterProgressState",{state:t})})(e,s))};e.on("ProgressState",t=>{if(s.on(clearTimeout),h(t.time)){const o=YS.setEditorTimeout(e,()=>a(t.state),t.time);s.set(o)}else a(t.state),s.clear()})},VR=e=>{const t=e.label.or(e.title).fold(()=>({}),e=>({attributes:{"aria-label":e}}));return{dom:{tag:"div",classes:["tox-toolbar__group"].concat(e.label.isSome()?["tox-toolbar__group_with_label"]:[]),...t},components:[...e.label.map(e=>({dom:{tag:"span",classes:["tox-label","tox-label--context-toolbar"]},components:[zg(e)]})).toArray(),yS.parts.items({})],items:e.items,markers:{itemSelector:".tox-tbtn:not([disabled]), .tox-toolbar-nav-item:not([disabled]), .tox-number-input:not([disabled])"},tgroupBehaviours:hd([iv.config({}),_d.config({ignore:!0})])}},LR=e=>yS.sketch(VR(e)),HR=(e,t)=>{const o=id(t=>{const o=V(e.initGroups,LR);Yx.setGroups(t,o)});return hd([UA(()=>e.providers.checkUiComponentContext("any").shouldDisable),ZA(()=>e.providers.checkUiComponentContext("any")),Im.config({mode:t,onEscape:e.onEscape,visibilitySelector:".tox-toolbar__overflow",selector:".tox-toolbar__group"}),wd("toolbar-events",[o])])},PR=e=>{const t=e.cyclicKeying?"cyclic":"acyclic";return{uid:e.uid,dom:{tag:"div",classes:["tox-toolbar-overlord"]},parts:{"overflow-group":VR({title:A.none(),label:A.none(),items:[]}),"overflow-button":jI({context:"any",name:"more",icon:A.some("more-drawer"),enabled:!0,tooltip:A.some("Reveal or hide additional toolbar items"),primary:!1,buttonType:A.none(),borderless:!1},A.none(),e.providers,[],"overflow-button")},splitToolbarBehaviours:HR(e,t)}},UR=e=>{const t=PR(e),o=CS.parts.primary({dom:{tag:"div",classes:["tox-toolbar__primary"]}});return CS.sketch({...t,lazySink:e.getSink,getOverflowBounds:()=>{const t=e.moreDrawerData.lazyHeader().element,o=Ps(t),n=mo(t),s=Ps(n),r=Math.max(n.dom.scrollHeight,s.height);return Ls(o.x+4,s.y,o.width-8,r)},parts:{...t.parts,overflow:{dom:{tag:"div",classes:["tox-toolbar__overflow"],attributes:e.attributes}}},components:[o],markers:{overflowToggledClass:"tox-tbtn--enabled"},onOpened:t=>e.onToggled(t,!0),onClosed:t=>e.onToggled(t,!1)})},WR=e=>{const t=ES.parts.primary({dom:{tag:"div",classes:["tox-toolbar__primary"]}}),o=ES.parts.overflow({dom:{tag:"div",classes:["tox-toolbar__overflow"]}}),n=PR(e);return ES.sketch({...n,components:[t,o],markers:{openClass:"tox-toolbar__overflow--open",closedClass:"tox-toolbar__overflow--closed",growingClass:"tox-toolbar__overflow--growing",shrinkingClass:"tox-toolbar__overflow--shrinking",overflowToggledClass:"tox-tbtn--enabled"},onOpened:t=>{t.getSystem().broadcastOn([cR()],{type:"opened"}),e.onToggled(t,!0)},onClosed:t=>{t.getSystem().broadcastOn([cR()],{type:"closed"}),e.onToggled(t,!1)}})},jR=e=>{const t=e.cyclicKeying?"cyclic":"acyclic";return Yx.sketch({uid:e.uid,dom:{tag:"div",classes:["tox-toolbar"].concat(e.type===QS.scrolling?["tox-toolbar--scrolling"]:[])},components:[Yx.parts.groups({})],toolbarBehaviours:HR(e,t)})},$R=(e,t)=>((e,t)=>{const o="togglebutton"===e.type,n=e.icon.map(e=>cI(e,t.icons)).map(Dv),s={...e,name:o?e.text.getOr(e.icon.getOr("")):e.text??e.icon.getOr(""),primary:"primary"===e.buttonType,buttonType:A.from(e.buttonType),tooltip:e.tooltip,icon:e.icon,enabled:!0,borderless:e.borderless},r=$I(e.buttonType??"secondary"),a=o?e.text.map(t.translate):A.some(t.translate(e.text)),i=a.map(zg),l=s.tooltip.or(a).map(e=>({"aria-label":t.translate(e)})).getOr({}),c=n.map(e=>e.asSpec()),d=oD([c,i]),u=e.icon.isSome()&&i.isSome(),m={tag:"button",classes:r.concat(...e.icon.isSome()&&!u?["tox-button--icon"]:[]).concat(...u?["tox-button--icon-and-text"]:[]).concat(...e.borderless?["tox-button--naked"]:[]).concat(..."togglebutton"===e.type&&e.active?["tox-button--enabled"]:[]),attributes:l},g=WI(s,A.some(s=>{const r=e=>{n.map(o=>o.getOpt(s).each(o=>{ug.set(o,[cI(e,t.icons)])}))};return o?e.onAction({setIcon:r,setActive:e=>{const t=s.element;e?(ns(t,"tox-button--enabled"),Yo(t,"aria-pressed",!0)):(rs(t,"tox-button--enabled"),Zo(t,"aria-pressed"))},isActive:()=>as(s.element,"tox-button--enabled"),focus:()=>zo(s.element)}):"button"===e.type?e.onAction({setIcon:r}):void 0}),[],m,d,e.tooltip,t);return Wv.sketch(g)})(e,t),GR=Qt().deviceType,qR=GR.isPhone(),YR=GR.isTablet();var XR=fh({name:"silver.View",configFields:[Pr("viewConfig")],partFields:[cl({factory:{sketch:e=>{let t=!1;const o=V(e.buttons,o=>"group"===o.type?(t=!0,((e,t)=>({dom:{tag:"div",classes:["tox-view__toolbar__group"]},components:V(e.buttons,e=>$R(e,t))}))(o,e.providers)):$R(o,e.providers));return{uid:e.uid,dom:{tag:"div",classes:[t?"tox-view__toolbar":"tox-view__header",...qR||YR?["tox-view--mobile","tox-view--scrolling"]:[]]},behaviours:hd([_d.config({}),Im.config({mode:"flow",selector:"button, .tox-button",focusInside:Vi.OnEnterOrSpaceMode})]),components:t?o:[bh.sketch({dom:{tag:"div",classes:["tox-view__header-start"]},components:[]}),bh.sketch({dom:{tag:"div",classes:["tox-view__header-end"]},components:o})]}}},schema:[Pr("buttons"),Pr("providers")],name:"header"}),cl({factory:{sketch:e=>({uid:e.uid,behaviours:hd([_d.config({}),iv.config({})]),dom:{tag:"div",classes:["tox-view__pane"]}})},schema:[],name:"pane"})],factory:(e,t,o,n)=>{const s={getPane:t=>Mv.getPart(t,e,"pane"),getOnShow:t=>e.viewConfig.onShow,getOnHide:t=>e.viewConfig.onHide};return{uid:e.uid,dom:e.dom,components:t,behaviours:hd([_d.config({}),Im.config({mode:"cyclic",focusInside:Vi.OnEnterOrSpaceMode})]),apis:s}},apis:{getPane:(e,t)=>e.getPane(t),getOnShow:(e,t)=>e.getOnShow(t),getOnHide:(e,t)=>e.getOnHide(t)}});const KR=(e,t,o)=>ge(t,(t,n)=>{const s=Ir(Br("view",zA,t));return e.slot(n,XR.sketch({dom:{tag:"div",classes:["tox-view"]},viewConfig:s,components:[...s.buttons.length>0?[XR.parts.header({buttons:s.buttons,providers:o})]:[],XR.parts.pane({})]}))}),JR=(e,t)=>cS.sketch(o=>({dom:{tag:"div",classes:["tox-view-wrap__slot-container"]},components:KR(o,e,t),slotBehaviours:LA([id(e=>cS.hideAllSlots(e))])})),QR=e=>j(cS.getSlotNames(e),t=>cS.isShowing(e,t)),ZR=(e,t,o)=>{cS.getSlot(e,t).each(e=>{XR.getPane(e).each(t=>{var n;o(e)((n=t.element.dom,{getContainer:y(n)}))})})};var eN=hh({factory:(e,t)=>{let o={};const n={setViews:(e,n)=>{o=n,ug.set(e,[JR(n,t.backstage.shared.providers)])},whichView:e=>Xg.getCurrent(e).bind(QR),toggleView:(e,t,n,s)=>Xg.getCurrent(e).exists(r=>{const a=QR(r),i=a.exists(e=>s===e),l=cS.getSlot(r,s).isSome();return l&&(cS.hideAllSlots(r),i?((e=>{const t=e.element;gn(t,"display","none"),Yo(t,"aria-hidden","true")})(e),t()):(n(!0===o[s]?.keepToolbar),(e=>{const t=e.element;wn(t,"display"),Zo(t,"aria-hidden")})(e),cS.showSlot(r,s),((e,t)=>{ZR(e,t,XR.getOnShow)})(r,s)),a.each(e=>((e,t)=>ZR(e,t,XR.getOnHide))(r,e))),l})};return{uid:e.uid,dom:{tag:"div",classes:["tox-view-wrap"],attributes:{"aria-hidden":"true"},styles:{display:"none"}},components:[],behaviours:hd([ug.config({}),Xg.config({find:e=>{const t=ug.contents(e);return te(t)}})]),apis:n}},name:"silver.ViewWrapper",configFields:[Pr("backstage")],apis:{setViews:(e,t,o)=>e.setViews(t,o),toggleView:(e,t,o,n,s)=>e.toggleView(t,o,n,s),whichView:(e,t)=>e.whichView(t)}});const tN="tox-editor-container--keep-toolbar",oN=(e,t)=>{t?(gn(e,"display","none"),Yo(e,"aria-hidden","true")):(wn(e,"display"),Zo(e,"aria-hidden"))},nN=Bv.optional({factory:xR,name:"menubar",schema:[Pr("backstage")]}),sN=Bv.optional({factory:{sketch:e=>qv.sketch({uid:e.uid,dom:e.dom,listBehaviours:hd([Im.config({mode:"acyclic",selector:".tox-toolbar"})]),makeItem:()=>jR({type:e.type,uid:Ne("multiple-toolbar-item"),cyclicKeying:!1,initGroups:[],providers:e.providers,onEscape:()=>(e.onEscape(),A.some(!0))}),setupItem:(e,t,o,n)=>{Yx.setGroups(t,o)},shell:!0})},name:"multiple-toolbar",schema:[Pr("dom"),Pr("onEscape")]}),rN=Bv.optional({factory:{sketch:e=>{const t=(e=>e.type===QS.sliding?WR:e.type===QS.floating?UR:jR)(e);return t({type:e.type,uid:e.uid,onEscape:()=>(e.onEscape(),A.some(!0)),onToggled:(t,o)=>e.onToolbarToggled(o),cyclicKeying:!1,initGroups:[],getSink:e.getSink,providers:e.providers,moreDrawerData:{lazyToolbar:e.lazyToolbar,lazyMoreButton:e.lazyMoreButton,lazyHeader:e.lazyHeader},attributes:e.attributes})}},name:"toolbar",schema:[Pr("dom"),Pr("onEscape"),Pr("getSink")]}),aN=Bv.optional({factory:{sketch:e=>{const t=e.editor,o=e.sticky?bR:aR;return{uid:e.uid,dom:e.dom,components:e.components,behaviours:hd(o(t,e.sharedBackstage))}}},name:"header",schema:[Pr("dom")]}),iN=Bv.optional({factory:{sketch:e=>{const t=e.promotionLink?[{dom:{tag:"a",attributes:{href:"https://www.tiny.cloud/tinymce-upgrade-to-cloud/?utm_campaign=self_hosted_upgrade_promo&utm_source=tiny&utm_medium=referral",rel:"noopener",target:"_blank","aria-hidden":"true"},classes:["tox-promotion-link"],innerHtml:"\u{1f49d} Get all features"}}]:[];return{uid:e.uid,dom:e.dom,components:t}}},name:"promotion",schema:[Pr("dom"),Pr("promotionLink")]}),lN=Bv.optional({name:"socket",schema:[Pr("dom")]}),cN=Bv.optional({factory:{sketch:e=>({uid:e.uid,dom:{tag:"div",classes:["tox-sidebar"],styles:{[CR]:wR(e.configuredSidebarWidth)},attributes:{role:"presentation"}},components:[{dom:{tag:"div",classes:["tox-sidebar__slider"]},components:[],behaviours:hd([iv.config({}),_d.config({}),Zb.config({dimension:{property:"width"},closedClass:"tox-sidebar--sliding-closed",openClass:"tox-sidebar--sliding-open",shrinkingClass:"tox-sidebar--sliding-shrinking",growingClass:"tox-sidebar--sliding-growing",onShrunk:e=>{Xg.getCurrent(e).each(cS.hideAllSlots),jc(e,FR)},onGrown:e=>{jc(e,FR)},onStartGrow:e=>{$c(e,IR,{width:vn(e.element,"width").getOr("")})},onStartShrink:e=>{$c(e,IR,{width:An(e.element)+"px"})}}),ug.config({}),Xg.config({find:e=>{const t=ug.contents(e);return te(t)}})])}],behaviours:hd([gB(0),wd("sidebar-sliding-events",[Zc(IR,(e,t)=>{gn(e.element,"width",t.event.width),gn(e.element,kR,t.event.width)}),Zc(FR,(e,t)=>{wn(e.element,"width"),wn(e.element,kR)})])])})},name:"sidebar",schema:[Pr("dom"),Pr("configuredSidebarWidth")]}),dN=Bv.optional({factory:{sketch:e=>({uid:e.uid,dom:{tag:"div",attributes:{"aria-hidden":"true"},classes:["tox-throbber"],styles:{display:"none"}},behaviours:hd([ug.config({}),Gg.config({focus:!1}),Xg.config({find:e=>te(e.components())})]),components:[]})},name:"throbber",schema:[Pr("dom")]}),uN=Bv.optional({factory:eN,name:"viewWrapper",schema:[Pr("backstage")]}),mN=Bv.optional({factory:{sketch:e=>({uid:e.uid,dom:{tag:"div",classes:["tox-editor-container"]},components:e.components})},name:"editorContainer",schema:[]});var gN=fh({name:"OuterContainer",factory:(e,t,o)=>{let n=!1,s=!0;const a=(e,t)=>{qn(e,".tox-statusbar").each(e=>{oN(e,t)})},i=(e,t)=>{Xn(e,".tox-sidebar-wrap").each(e=>{oN(e,t)})},l={getSocket:t=>Mv.getPart(t,e,"socket"),setSidebar:(t,o,n,s,a)=>{Mv.getPart(t,e,"sidebar").each(e=>((e,t,o,n,s)=>{Xg.getCurrent(e).each(a=>{ug.set(a,[AR(t,n,s)]);const i=o?.toLowerCase();r(i)&&be(t,i)&&Xg.getCurrent(a).each(t=>{cS.showSlot(t,i),Zb.immediateGrow(a),wn(a.element,"width"),DR(e.element,"region")})})})(e,o,n,s,a))},toggleSidebar:(t,o)=>{Mv.getPart(t,e,"sidebar").each(e=>((e,t)=>{Xg.getCurrent(e).each(o=>{Xg.getCurrent(o).each(n=>{Zb.hasGrown(o)?cS.isShowing(n,t)?(Zb.shrink(o),DR(e.element,"presentation")):(cS.hideAllSlots(n),cS.showSlot(n,t),DR(e.element,"region")):(cS.hideAllSlots(n),cS.showSlot(n,t),Zb.grow(o),DR(e.element,"region"))})})})(e,o))},whichSidebar:t=>Mv.getPart(t,e,"sidebar").bind(BR).getOrNull(),getHeader:t=>Mv.getPart(t,e,"header"),getToolbar:t=>Mv.getPart(t,e,"toolbar"),setToolbar:(t,o)=>{Mv.getPart(t,e,"toolbar").each(e=>{const t=V(o,LR);e.getApis().setGroups(e,t)})},setToolbars:(t,o)=>{Mv.getPart(t,e,"multiple-toolbar").each(e=>{const t=V(o,e=>V(e,LR));qv.setItems(e,t)})},refreshToolbar:t=>{Mv.getPart(t,e,"toolbar").each(e=>e.getApis().refresh(e))},toggleToolbarDrawer:t=>{Mv.getPart(t,e,"toolbar").each(e=>{We(e.getApis().toggle,t=>t(e))})},toggleToolbarDrawerWithoutFocusing:t=>{Mv.getPart(t,e,"toolbar").each(e=>{We(e.getApis().toggleWithoutFocusing,t=>t(e))})},isToolbarDrawerToggled:t=>Mv.getPart(t,e,"toolbar").bind(e=>A.from(e.getApis().isOpen).map(t=>t(e))).getOr(!1),getThrobber:t=>Mv.getPart(t,e,"throbber"),focusToolbar:t=>{Mv.getPart(t,e,"toolbar").orThunk(()=>Mv.getPart(t,e,"multiple-toolbar")).each(e=>{Im.focusIn(e)})},setMenubar:(t,o)=>{Mv.getPart(t,e,"menubar").each(e=>{xR.setMenus(e,o)})},focusMenubar:t=>{Mv.getPart(t,e,"menubar").each(e=>{xR.focus(e)})},setViews:(t,o,n)=>{Mv.getPart(t,e,"viewWrapper").each(e=>{eN.setViews(e,o)});const s=n?.toLowerCase();r(s)&&be(o,s)&&l.toggleView(t,s)},toggleView:(t,o)=>Mv.getPart(t,e,"viewWrapper").exists(e=>eN.toggleView(e,()=>l.showMainView(t),e=>l.hideMainView(t,e),o)),whichView:t=>Mv.getPart(t,e,"viewWrapper").bind(eN.whichView).getOrNull(),hideMainView:(t,o)=>{const r=o&&!s&&n;o?n=!1:s&&(n=l.isToolbarDrawerToggled(t),n&&l.toggleToolbarDrawer(t)),s=o,Mv.getPart(t,e,"editorContainer").each(n=>{const s=n.element;a(s,!o),o?(Mv.getPart(t,e,"sidebar").each(MR),ns(s,tN),oN(s,!1),i(s,!0)):(rs(s,tN),i(s,!1),oN(s,!0))}),r&&l.toggleToolbarDrawerWithoutFocusing(t)},showMainView:t=>{n&&(l.toggleToolbarDrawer(t),n=!1),s=!0,Mv.getPart(t,e,"editorContainer").each(e=>{const t=e.element;rs(t,tN),i(t,!1),a(t,!1),oN(t,!1)})}};return{uid:e.uid,dom:e.dom,components:t,apis:l,behaviours:e.behaviours}},configFields:[Pr("dom"),Pr("behaviours")],partFields:[aN,nN,rN,sN,lN,cN,iN,dN,uN,mN],apis:{getSocket:(e,t)=>e.getSocket(t),setSidebar:(e,t,o,n,s,r)=>{e.setSidebar(t,o,n,s,r)},toggleSidebar:(e,t,o)=>{e.toggleSidebar(t,o)},whichSidebar:(e,t)=>e.whichSidebar(t),getHeader:(e,t)=>e.getHeader(t),getToolbar:(e,t)=>e.getToolbar(t),setToolbar:(e,t,o)=>{e.setToolbar(t,o)},setToolbars:(e,t,o)=>{e.setToolbars(t,o)},refreshToolbar:(e,t)=>e.refreshToolbar(t),toggleToolbarDrawer:(e,t)=>{e.toggleToolbarDrawer(t)},toggleToolbarDrawerWithoutFocusing:(e,t)=>{e.toggleToolbarDrawerWithoutFocusing(t)},isToolbarDrawerToggled:(e,t)=>e.isToolbarDrawerToggled(t),getThrobber:(e,t)=>e.getThrobber(t),setMenubar:(e,t,o)=>{e.setMenubar(t,o)},focusMenubar:(e,t)=>{e.focusMenubar(t)},focusToolbar:(e,t)=>{e.focusToolbar(t)},setViews:(e,t,o,n)=>{e.setViews(t,o,n)},toggleView:(e,t,o)=>e.toggleView(t,o),whichView:(e,t)=>e.whichView(t)}});const pN={file:{title:"File",items:"newdocument restoredraft | preview | importword exportpdf exportword | export print | deleteallconversations"},edit:{title:"Edit",items:"undo redo | cut copy paste pastetext | selectall | searchreplace"},view:{title:"View",items:"code suggestededits revisionhistory | visualaid visualchars visualblocks | spellchecker | preview fullscreen | showcomments"},insert:{title:"Insert",items:"image video link media addcomment pageembed inserttemplate codesample inserttable accordion math | charmap emoticons hr | pagebreak nonbreaking anchor tableofcontents footnotes | mergetags | insertdatetime"},format:{title:"Format",items:"bold italic underline strikethrough superscript subscript codeformat | styles blocks fontfamily fontsize align lineheight | forecolor backcolor | language | removeformat"},tools:{title:"Tools",items:"tinymceai-chat tinymceai-review tinymceai-quickactions aidialog aishortcuts | spellchecker spellcheckerlanguage | autocorrect capitalization | a11ycheck code typography wordcount addtemplate"},table:{title:"Table",items:"inserttable | cell row column | advtablesort | tableprops deletetable"},help:{title:"Help",items:"help"}},hN=e=>e.split(" "),fN=(e,t)=>{const o={...pN,...t.menus},n=re(t.menus).length>0,s=void 0===t.menubar||!0===t.menubar?hN("file edit view insert format tools table help"):hN(!1===t.menubar?"":t.menubar),a=P(s,e=>{const o=be(pN,e);return n?o||fe(t.menus,e).exists(e=>be(e,"items")):o}),i=V(a,n=>{const s=o[n];return((e,t,o)=>{const n=hC(o).split(/[ ,]/);return{text:e.title,getItems:()=>q(e.items,e=>{const o=e.toLowerCase();return 0===o.trim().length||R(n,e=>e===o)?[]:"separator"===o||"|"===o?[{type:"separator"}]:t.menuItems[o]?[t.menuItems[o]]:[]})}})({title:s.title,items:hN(s.items)},t,e)});return P(i,e=>e.getItems().length>0&&R(e.getItems(),e=>r(e)||"separator"!==e.type))},bN=(e,t,o)=>(e.on("remove",()=>o.unload(t)),o.load(t)),vN=(e,t,o,n)=>(e.on("remove",()=>n.unloadRawCss(t)),n.loadRawCss(t,o)),xN=e=>A.from(tinymce.Resource.get(e)).filter(r),yN=(e,t,o="")=>{const n=(e=>{const t=GC(e);return t?A.from(t):A.none()})(e).map(e=>((e,t)=>"ui/"+e+"/"+t)(e,`${t}.css`)),s=n.bind(xN);return Ue(n,s,(e,t)=>({_kind:"load-raw",key:e,css:t})).getOrThunk(()=>{const n=e.editorManager.suffix;return{_kind:"load-stylesheet",url:o+`/${t}${n}.css`}})},wN=(e,t)=>{const o=e.ui.styleSheetLoader,n=yN(e,"skin",t);switch(n._kind){case"load-raw":const{key:t,css:s}=n;return vN(e,t,s,o),Promise.resolve();case"load-stylesheet":const{url:r}=n;return bN(e,r,o);default:return Promise.resolve()}},SN=(e,t)=>{var o;if(o=ct(e.getElement()),!To(o).isSome())return Promise.resolve();{const o=XS.DOM.styleSheetLoader,n=yN(e,"skin.shadowdom",t);switch(n._kind){case"load-raw":const{key:t,css:s}=n;return vN(e,t,s,o),Promise.resolve();case"load-stylesheet":const{url:r}=n;return bN(e,r,o);default:return Promise.resolve()}}},CN=(e,t)=>(async(e,t)=>{const o=XC(t);if(await((e,t,o)=>{const n=yN(e,t?"content.inline":"content",o);if(!o)return Promise.resolve();switch(n._kind){case"load-raw":const{key:t}=n;return e.contentCSS.push(t),Promise.resolve();case"load-stylesheet":const{url:o}=n;return e.contentCSS.push(o),Promise.resolve();default:return Promise.resolve()}})(t,e,o),!qC(t)&&r(o))return Promise.all([wN(t,o),SN(t,o)]).then()})(e,t).then((e=>{const t=()=>{e._skinLoaded=!0,(e=>{e.dispatch("SkinLoaded")})(e)};return()=>{e.initialized?t():e.on("init",t)}})(t),(e=>()=>((e,t)=>{e.dispatch("SkinLoadError",t)})(e,{message:"Skin could not be loaded"}))(t)),kN=C(CN,!1),ON=C(CN,!0),_N=e=>({isEnabled:()=>!gp.isDisabled(e),setEnabled:t=>gp.set(e,!t),setText:t=>$c(e,uI,{text:t}),setIcon:t=>$c(e,mI,{icon:t})}),TN=e=>({setActive:t=>{hv.set(e,t)},isActive:()=>hv.isOn(e),isEnabled:()=>!gp.isDisabled(e),setEnabled:t=>gp.set(e,!t),setText:t=>$c(e,uI,{text:t}),setIcon:t=>$c(e,mI,{icon:t})}),EN=(e,t)=>e.map(e=>({"aria-label":t.translate(e)})).getOr({}),AN=Ne("focus-button"),DN=(e,t,o,n,s,r,a)=>{const i=t.map(e=>Dv(dI(e,"tox-tbtn",s))),l=e.map(e=>Dv(cI(e,s.icons)));return{dom:{tag:"button",classes:["tox-tbtn"].concat(t.isSome()?["tox-tbtn--select"]:[]),attributes:{...EN(o,s),...g(a)?{"data-mce-name":a}:{}}},components:oD([l.map(e=>e.asSpec()),i.map(e=>e.asSpec())]),eventOrder:{[ya()]:["focusing","alloy.base.behaviour",sI],[ni()]:[sI,"toolbar-group-button-events"],[si()]:[sI,"toolbar-group-button-events","tooltipping"]},buttonBehaviours:hd([UA(()=>s.checkUiComponentContext(r).shouldDisable),ZA(()=>s.checkUiComponentContext(r)),wd(sI,[id((e,t)=>aI(e)),Zc(uI,(e,t)=>{i.bind(t=>t.getOpt(e)).each(e=>{ug.set(e,[zg(s.translate(t.event.text))])})}),Zc(mI,(e,t)=>{l.bind(t=>t.getOpt(e)).each(e=>{ug.set(e,[cI(t.event.icon,s.icons)])})}),Zc(ya(),(e,t)=>{t.event.prevent(),jc(e,AN)})])].concat(n.getOr([])))}},MN=(e,t,o,n)=>{const s=ye(b),r=DN(e.icon,e.text,e.tooltip,A.none(),o,e.context,n);return Wv.sketch({dom:r.dom,components:r.components,eventOrder:rI,buttonBehaviours:{...hd([wd("toolbar-button-events",[(a={onAction:e.onAction,getApi:t.getApi},dd((e,t)=>{WA(a,e)(t=>{$c(e,nI,{buttonApi:t}),a.onAction(t)})})),jA(t,s),$A(t,s)]),...e.tooltip.map(t=>Tv.config(o.tooltips.getConfig({tooltipText:o.translate(t)+e.shortcut.map(e=>` (${aD(e)})`).getOr("")}))).toArray(),UA(()=>!e.enabled||o.checkUiComponentContext(e.context).shouldDisable),ZA(()=>o.checkUiComponentContext(e.context))].concat(t.toolbarButtonBehaviours)),[sI]:r.buttonBehaviours?.[sI]}});var a},BN=(e,t,o,n)=>MN(e,{toolbarButtonBehaviours:o.length>0?[wd("toolbarButtonWith",o)]:[],getApi:_N,onSetup:e.onSetup},t,n),IN=(e,t,o,n)=>MN(e,{toolbarButtonBehaviours:[ug.config({}),hv.config({toggleClass:"tox-tbtn--enabled",aria:{mode:"pressed"},toggleOnExecute:!1})].concat(o.length>0?[wd("toolbarToggleButtonWith",o)]:[]),getApi:TN,onSetup:e.onSetup},t,n),FN=(e,t,o)=>n=>Oe(e=>t.fetch(e)).map(s=>A.from(jM(Ve(EM(Ne("menu-value"),s,o=>{t.onItemAction(e(n),o)},t.columns,t.presets,WO.CLOSE_ON_EXECUTE,t.select.getOr(T),o),{movement:DM(t.columns,t.presets),menuBehaviours:LA("auto"!==t.columns?[]:[id((e,o)=>{VA(e,4,t_(t.presets)).each(({numRows:t,numColumns:o})=>{Im.setGridSize(e,t,o)})})])})))),RN=e=>{dy.getContent(e).each(e=>{Xn(e.element,".tox-toolbar-slider__input,.tox-toolbar-textfield").fold(()=>Im.focusIn(e),zo)})},NN=Ne("forward-slide"),zN=Ne("backward-slide"),VN=Ne("change-slide-event"),LN="tox-pop--resizing",HN=(e,t,o)=>ot(o)?e.translate(t):e.translate([t,e.translate(o)]),PN=(e,t)=>{const o=(o,s,r,a)=>{const i=e.shared.providers.translate(o.title);if("separator"===o.type)return A.some({type:"separator",text:i});if("submenu"===o.type){const e=q(o.getStyleItems(),e=>n(e,s,a));return 0===s&&e.length<=0?A.none():A.some({type:"nestedmenuitem",text:i,enabled:e.length>0,getSubmenuItems:()=>q(o.getStyleItems(),e=>n(e,s,a))})}return A.some({type:"togglemenuitem",text:i,icon:o.icon,active:o.isSelected(a),enabled:!r,onAction:t.onAction(o),...o.getStylePreview().fold(()=>({}),e=>({meta:{style:e}}))})},n=(e,n,s)=>{const r="formatter"===e.type&&t.isInvalid(e);return 0===n?r?[]:o(e,n,!1,s).toArray():o(e,n,r,s).toArray()},s=e=>{const o=t.getCurrentValue(),s=t.shouldHide?0:1;return q(e,e=>n(e,s,o))};return{validateItems:s,getFetch:(e,t)=>(o,n)=>{const r=t(),a=s(r);n(vI(a,WO.CLOSE_ON_EXECUTE,e,{isHorizontalMenu:!1,search:A.none()}))}}},UN=(e,t)=>{const o=t.dataset,n="basic"===o.type?()=>V(o.data,e=>AF(e,t.isSelectedFor,t.getPreviewFor)):o.getData;return{items:PN(e,t),getStyleItems:n}},WN=(e,t,o,n,s,r)=>{const{items:a,getStyleItems:i}=UN(t,o),l=ye(o.tooltip);return pI({context:"mode:design",text:o.icon.isSome()?A.none():o.text,icon:o.icon,ariaLabel:A.some(o.tooltip),tooltip:A.none(),role:A.none(),fetch:a.getFetch(t,i),onSetup:t=>{const r=o=>t.setTooltip(HN(e,n(o.value),o.value));return e.on(s,r),YD(JD(e,"NodeChange",t=>{const n=t.getComponent();o.updateText(n),gp.set(t.getComponent(),!e.selection.isEditable()||0===i().length)})(t),()=>e.off(s,r))},getApi:e=>({getComponent:y(e),setTooltip:o=>{const n=t.shared.providers.translate(o);Yo(e.element,"aria-label",n),l.set(o)}}),columns:1,presets:"normal",classes:o.icon.isSome()?[]:["bespoke"],dropdownBehaviours:[Tv.config({...t.shared.providers.tooltips.getConfig({tooltipText:t.shared.providers.translate(o.tooltip),onShow:e=>{if(o.tooltip!==l.get()){const o=t.shared.providers.translate(l.get());Tv.setComponents(e,t.shared.providers.tooltips.getComponents({tooltipText:o}))}}})})]},"tox-tbtn",t.shared,r)};var jN;!function(e){e[e.SemiColon=0]="SemiColon",e[e.Space=1]="Space"}(jN||(jN={}));const $N=(e,t,o)=>{const n=(s=((e,t)=>t===jN.SemiColon?e.replace(/;$/,"").split(";"):e.split(" "))(e.options.get(t),o),V(s,e=>{let t=e,o=e;const n=e.split("=");return n.length>1&&(t=n[0],o=n[1]),{title:t,format:o}}));var s;return{type:"basic",data:n}},GN=y("Alignment {0}"),qN="left",YN=[{title:"Left",icon:"align-left",format:"alignleft",command:"JustifyLeft"},{title:"Center",icon:"align-center",format:"aligncenter",command:"JustifyCenter"},{title:"Right",icon:"align-right",format:"alignright",command:"JustifyRight"},{title:"Justify",icon:"align-justify",format:"alignjustify",command:"JustifyFull"}],XN=e=>{const t={type:"basic",data:YN};return{tooltip:HN(e,GN(),qN),text:A.none(),icon:A.some("align-left"),isSelectedFor:t=>()=>e.formatter.match(t),getCurrentValue:A.none,getPreviewFor:e=>A.none,onAction:t=>()=>j(YN,e=>e.format===t.format).each(t=>e.execCommand(t.command)),updateText:t=>{const o=j(YN,t=>e.formatter.match(t.format)).fold(y(qN),e=>e.title.toLowerCase());$c(t,mI,{icon:`align-${o}`}),((e,t)=>{e.dispatch("AlignTextUpdate",t)})(e,{value:o})},dataset:t,shouldHide:!1,isInvalid:t=>!e.formatter.canApply(t.format)}},KN=(e,t)=>{const o=t(),n=V(o,e=>e.format);return A.from(e.formatter.closest(n)).bind(e=>j(o,t=>t.format===e))},JN=y("Block {0}"),QN="Paragraph",ZN=e=>{const t=$N(e,"block_formats",jN.SemiColon);return{tooltip:HN(e,JN(),QN),text:A.some(QN),icon:A.none(),isSelectedFor:t=>()=>e.formatter.match(t),getCurrentValue:A.none,getPreviewFor:t=>()=>{const o=e.formatter.get(t);return o?A.some({tag:o.length>0&&(o[0].inline||o[0].block)||"div",styles:e.dom.parseStyle(e.formatter.getCssText(t))}):A.none()},onAction:QD(e),updateText:o=>{const n=KN(e,()=>t.data).fold(y(QN),e=>e.title);$c(o,uI,{text:n}),((e,t)=>{e.dispatch("BlocksTextUpdate",t)})(e,{value:n})},dataset:t,shouldHide:!1,isInvalid:t=>!e.formatter.canApply(t.format)}},ez=y("Font {0}"),tz="System Font",oz=["-apple-system","Segoe UI","Roboto","Helvetica Neue","sans-serif"],nz=e=>{const t=e.split(/\s*,\s*/);return V(t,e=>e.replace(/^['"]+|['"]+$/g,""))},sz=(e,t)=>t.length>0&&Y(t,t=>e.indexOf(t.toLowerCase())>-1),rz=e=>{const t=()=>{const t=e=>e?nz(e)[0]:"",n=e.queryCommandValue("FontName"),s=o.data,r=n?n.toLowerCase():"",a=$C(e),i=j(s,e=>{const o=e.format;return o.toLowerCase()===r||t(o).toLowerCase()===t(r).toLowerCase()}).orThunk(()=>je(((e,t)=>{if(0===e.indexOf("-apple-system")||t.length>0){const o=nz(e.toLowerCase());return sz(o,oz)||sz(o,t)}return!1})(r,a),{title:tz,format:r}));return{matchOpt:i,font:n}},o=$N(e,"font_family_formats",jN.SemiColon);return{tooltip:HN(e,ez(),tz),text:A.some(tz),icon:A.none(),isSelectedFor:e=>t=>t.exists(t=>t.format===e),getCurrentValue:()=>{const{matchOpt:e}=t();return e},getPreviewFor:e=>()=>A.some({tag:"div",styles:-1===e.indexOf("dings")?{"font-family":e}:{}}),onAction:t=>()=>{e.undoManager.transact(()=>{e.focus(),e.execCommand("FontName",!1,t.format)})},updateText:o=>{const{matchOpt:n,font:s}=t(),r=n.fold(y(s),e=>e.title);$c(o,uI,{text:r}),((e,t)=>{e.dispatch("FontFamilyTextUpdate",t)})(e,{value:r})},dataset:o,shouldHide:!1,isInvalid:T}};var az=tinymce.util.Tools.resolve("tinymce.util.VK");const iz=y("Font size {0}"),lz="12pt",cz={"8pt":"1","10pt":"2","12pt":"3","14pt":"4","18pt":"5","24pt":"6","36pt":"7"},dz={"xx-small":"7pt","x-small":"8pt",small:"10pt",medium:"12pt",large:"14pt","x-large":"18pt","xx-large":"24pt"},uz=(e,t)=>/[0-9.]+px$/.test(e)?((e,t)=>{const o=Math.pow(10,t);return Math.round(e*o)/o})(72*parseInt(e,10)/96,t||0)+"pt":fe(dz,e).getOr(e),mz=e=>fe(cz,e).getOr(""),gz=e=>{const t=()=>{let t=A.none();const o=n.data,s=e.queryCommandValue("FontSize");if(s)for(let e=3;t.isNone()&&e>=0;e--){const n=uz(s,e),r=mz(n);t=j(o,e=>e.format===s||e.format===n||e.format===r)}return{matchOpt:t,size:s}},o=y(A.none),n=$N(e,"font_size_formats",jN.Space);return{tooltip:HN(e,iz(),lz),text:A.some(lz),icon:A.none(),isSelectedFor:e=>t=>t.exists(t=>t.format===e),getPreviewFor:o,getCurrentValue:()=>{const{matchOpt:e}=t();return e},onAction:t=>()=>{e.undoManager.transact(()=>{e.focus(),e.execCommand("FontSize",!1,t.format)})},updateText:o=>{const{matchOpt:n,size:s}=t(),r=n.fold(y(s),e=>e.title);$c(o,uI,{text:r}),((e,t)=>{e.dispatch("FontSizeTextUpdate",t)})(e,{value:r})},dataset:n,shouldHide:!1,isInvalid:T}},pz=e=>ot(e)?"Formats":"Format {0}",hz=(e,t)=>{const o="Formats";return{tooltip:HN(e,pz(""),""),text:A.some(o),icon:A.none(),isSelectedFor:t=>()=>e.formatter.match(t),getCurrentValue:A.none,getPreviewFor:t=>()=>{const o=e.formatter.get(t);return void 0!==o?A.some({tag:o.length>0&&(o[0].inline||o[0].block)||"div",styles:e.dom.parseStyle(e.formatter.getCssText(t))}):A.none()},onAction:QD(e),updateText:t=>{const n=e=>kF(e)?q(e.items,n):OF(e)?[{title:e.title,format:e.format}]:[],s=q(EF(e),n),r=KN(e,y(s)).fold(y({title:o,tooltipLabel:""}),e=>({title:e.title,tooltipLabel:e.title}));$c(t,uI,{text:r.title}),((e,t)=>{e.dispatch("StylesTextUpdate",t)})(e,{value:r.tooltipLabel})},shouldHide:gC(e),isInvalid:t=>!e.formatter.canApply(t.format),dataset:t}},fz=[{name:"history",items:["undo","redo"]},{name:"ai",items:["tinymceai-chat","tinymceai-review","tinymceai-quickactions","aidialog","aishortcuts"]},{name:"styles",items:["styles"]},{name:"formatting",items:["bold","italic"]},{name:"alignment",items:["alignleft","aligncenter","alignright","alignjustify"]},{name:"indentation",items:["outdent","indent"]},{name:"permanent pen",items:["permanentpen"]},{name:"comments",items:["addcomment"]}],bz=(e,t)=>(o,n,s,r)=>{const a=e(o).mapError(e=>Rr(e)).getOrDie();return t(a,n,s,r)},vz={button:bz(XE,(e,t,o,n)=>((e,t,o)=>BN(e,t,[],o))(e,t.shared.providers,n)),togglebutton:bz(QE,(e,t,o,n)=>((e,t,o)=>IN(e,t,[],o))(e,t.shared.providers,n)),menubutton:bz(fE,(e,t,o,n)=>DI(e,"tox-tbtn",t,A.none(),!1,n)),splitbutton:bz(e=>Br("SplitButton",BA,e),(e,t,o,n)=>((e,t,o)=>{const n=ye(b),s=ye(e.tooltip.getOr("")),r=((e,t,o)=>n=>{const s=n.getSystem(),r=n.element,a=()=>{const e=as(r,"tox-split-button__chevron");return{mainOpt:e?bo(r).bind(e=>s.getByDom(e).toOptional()):A.some(n),chevronOpt:e?A.some(n):vo(r).bind(e=>s.getByDom(e).toOptional().filter(e=>as(e.element,"tox-split-button__chevron")))}},i=e=>{const{mainOpt:t,chevronOpt:o}=a();t.each(e),o.each(e)};return{isEnabled:()=>{const{mainOpt:e}=a();return e.exists(e=>!gp.isDisabled(e))},setEnabled:e=>i(t=>gp.set(t,!e)),setText:e=>{const{mainOpt:t}=a();t.each(t=>$c(t,uI,{text:e}))},setIcon:e=>{const{mainOpt:t}=a();t.each(t=>$c(t,mI,{icon:e}))},setIconFill:(e,t)=>i(o=>{Xn(o.element,`svg path[class="${e}"], rect[class="${e}"]`).each(e=>{Yo(e,"fill",t)})}),isActive:()=>{const{mainOpt:e}=a();return e.exists(e=>hv.isOn(e))},setActive:e=>{const{mainOpt:t}=a();t.each(t=>hv.set(t,e))},setTooltip:n=>{e.set(n);const{mainOpt:s,chevronOpt:r}=a();s.each(e=>Yo(e.element,"aria-label",t.providers.translate(n)));const i=o.chevronTooltip.map(e=>t.providers.translate(e)).getOr(t.providers.translate(n));r.each(e=>Yo(e.element,"aria-label",i))}}})(s,t,e),a=Ne("tox-split-menu"),i=ye(!1),l=()=>e.tooltip.map(e=>t.providers.translate(e)).getOr(t.providers.translate("Text color")),c=()=>e.chevronTooltip.map(e=>t.providers.translate(e)).getOrThunk(()=>{const e=l();return t.providers.translate(["{0} menu",e])}),d=(e,t)=>{i.set(e),Yo(t.element,"aria-expanded",String(e))},u=Hx.sketch({dom:{tag:"button",classes:["tox-tbtn","tox-split-button__chevron"],innerHtml:RO("chevron-down",t.providers.icons),attributes:{"aria-label":c(),...g(o)?{"data-mce-name":o+"-chevron"}:{},"aria-haspopup":"menu","aria-expanded":String(i.get()),"aria-controls":a}},components:[],toggleClass:"tox-tbtn--enabled",dropdownBehaviours:hd([wd("split-dropdown-events",[id((e,t)=>aI(e)),jA({getApi:r,onSetup:e.onSetup},n),Zc("alloy-dropdown-open",e=>d(!0,e)),Zc("alloy-dropdown-close",e=>d(!1,e))]),UA(()=>t.providers.checkUiComponentContext(e.context).shouldDisable),ZA(()=>t.providers.checkUiComponentContext(e.context)),Ev.config({}),Tv.config(t.providers.tooltips.getConfig({tooltipText:c(),onShow:o=>{if(s.get()!==e.tooltip.getOr("")){const n=e.chevronTooltip.map(e=>t.providers.translate(e)).getOr(`${t.providers.translate(s.get())} menu`);Tv.setComponents(o,t.providers.tooltips.getComponents({tooltipText:n}))}}}))]),lazySink:t.getSink,fetch:FN(r,e,t.providers),getHotspot:e=>bo(e.element).bind(t=>e.getSystem().getByDom(t).toOptional()),onOpen:(e,t,o)=>{ru.highlightBy(o,e=>as(e.element,"tox-collection__item--active")),ru.getHighlighted(o).each(Im.focusIn)},parts:{menu:{...i_(0,e.columns,e.presets),dom:{...i_(0,e.columns,e.presets).dom,tag:"div",attributes:{id:a}}}}}),m=DN(e.icon,e.text,A.none(),A.some([hv.config({toggleClass:"tox-tbtn--enabled",aria:"color"===e.presets?{mode:"none"}:{mode:"pressed"},toggleOnExecute:!1}),...e.tooltip.isSome()?[Tv.config(t.providers.tooltips.getConfig({tooltipText:t.providers.translate(e.tooltip.getOr("")),onShow:o=>{if(s.get()!==e.tooltip.getOr("")){const e=t.providers.translate(s.get());Tv.setComponents(o,t.providers.tooltips.getComponents({tooltipText:e}))}}}))]:[]]),t.providers,e.context,o),p=Wv.sketch({dom:{...m.dom,classes:["tox-tbtn","tox-split-button__main"].concat(e.text.isSome()?["tox-tbtn--select"]:[]),attributes:{"aria-label":l(),...g(o)?{"data-mce-name":o}:{}}},components:m.components,eventOrder:m.eventOrder,buttonBehaviours:m.buttonBehaviours,action:t=>{if(e.onAction){const o=r(t);o.isEnabled()&&e.onAction(o)}}});return[p,u]})(e,t.shared,n)),grouptoolbarbutton:bz(e=>Br("GroupToolbarButton",MA,e),(e,t,o,n)=>{const s=o.ui.registry.getAll().buttons,r={[zc]:t.shared.header.isPositionedAtTop()?Nc.TopToBottom:Nc.BottomToTop};if(fC(o)===QS.floating)return((e,t,o,n,s)=>{const r=t.shared,a=ye(b),i={toolbarButtonBehaviours:[],getApi:_N,onSetup:e.onSetup},l=[wd("toolbar-group-button-events",[jA(i,a),$A(i,a)]),...e.tooltip.map(e=>Tv.config(t.shared.providers.tooltips.getConfig({tooltipText:t.shared.providers.translate(e)}))).toArray()];return ty.sketch({lazySink:r.getSink,fetch:()=>Oe(t=>{t(V(o(e.items),LR))}),markers:{toggledClass:"tox-tbtn--enabled"},parts:{button:DN(e.icon,e.text,e.tooltip,A.some(l),r.providers,e.context,s),toolbar:{dom:{tag:"div",classes:["tox-toolbar__overflow"],attributes:n}}}})})(e,t,e=>yz(o,{buttons:s,toolbar:e,allowToolbarGroups:!1},t,A.none()),r,n);throw new Error("Toolbar groups are only supported when using floating toolbar mode")})},xz={styles:(e,t)=>{const o={type:"advanced",...t.styles};return WN(e,t,hz(e,o),pz,"StylesTextUpdate","styles")},fontsize:(e,t)=>WN(e,t,gz(e),iz,"FontSizeTextUpdate","fontsize"),fontsizeinput:(e,t)=>((e,t,o,n)=>{let s=A.none();const r=JD(e,"NodeChange SwitchMode DisabledStateChange",t=>{const n=t.getComponent();s=A.some(n),o.updateInputValue(n),gp.set(n,!e.selection.isEditable()||sC(e))}),a=e=>({getComponent:y(e)}),i=ye(b),l=Ne("custom-number-input-events"),c=(e,t,n)=>{const r=s.map(e=>mf.getValue(e)).getOr(""),a=o.getNewValue(r,e),i=r.length-`${a}`.length,l=s.map(e=>e.element.dom.selectionStart-i),c=s.map(e=>e.element.dom.selectionEnd-i);o.onAction(a,n),s.each(e=>{mf.setValue(e,a),t&&(l.each(t=>e.element.dom.selectionStart=t),c.each(t=>e.element.dom.selectionEnd=t))})},d=(e,t)=>c((e,t)=>e-t,e,t),u=(e,t)=>c((e,t)=>e+t,e,t),m=e=>ho(e.element).fold(A.none,e=>(zo(e),A.some(!0))),p=e=>Lo(e.element)?(wo(e.element).each(e=>zo(e)),A.some(!0)):A.none(),h=(o,n,s,r)=>{const i=ye(b),l=t.shared.providers.translate(s),c=Ne("altExecuting"),d=JD(e,"NodeChange SwitchMode DisabledStateChange",t=>{gp.set(t.getComponent(),!e.selection.isEditable()||sC(e))}),u=e=>{gp.isDisabled(e)||o(!0)};return Wv.sketch({dom:{tag:"button",attributes:{"aria-label":l,"data-mce-name":n},classes:r.concat(n)},components:[lI(n,t.shared.providers.icons)],buttonBehaviours:hd([gp.config({}),Tv.config(t.shared.providers.tooltips.getConfig({tooltipText:l})),wd(c,[jA({onSetup:d,getApi:a},i),$A({getApi:a},i),Zc(Ta(),(e,t)=>{t.event.raw.keyCode!==az.SPACEBAR&&t.event.raw.keyCode!==az.ENTER||gp.isDisabled(e)||o(!1)}),Zc(Ma(),u),Zc(va(),u)])]),eventOrder:{[Ta()]:[c,"keying"],[Ma()]:[c,"alloy.base.behaviour"],[va()]:[c,"alloy.base.behaviour"],[ni()]:["alloy.base.behaviour",c,"tooltipping"],[si()]:[c,"tooltipping"]}})},f=Dv(h(e=>d(!1,e),"minus","Decrease font size",[])),v=Dv(h(e=>u(!1,e),"plus","Increase font size",[])),x=Dv({dom:{tag:"div",classes:["tox-input-wrapper"]},components:[hy.sketch({inputBehaviours:hd([gp.config({}),wd(l,[jA({onSetup:r,getApi:a},i),$A({getApi:a},i)]),wd("input-update-display-text",[Zc(uI,(e,t)=>{mf.setValue(e,t.event.text)}),Zc(_a(),e=>{o.onAction(mf.getValue(e))}),Zc(Da(),e=>{o.onAction(mf.getValue(e))})]),Im.config({mode:"special",onEnter:e=>(c(w,!0,!0),A.some(!0)),onEscape:m,onUp:e=>(u(!0,!1),A.some(!0)),onDown:e=>(d(!0,!1),A.some(!0)),onLeft:(e,t)=>(t.cut(),A.none()),onRight:(e,t)=>(t.cut(),A.none())})])})],behaviours:hd([_d.config({}),Im.config({mode:"special",onEnter:p,onSpace:p,onEscape:m}),wd("input-wrapper-events",[Zc(ka(),e=>{L([f,v],t=>{const o=ct(t.get(e).element.dom);Lo(o)&&Vo(o)})})])])});return{dom:{tag:"div",classes:["tox-number-input"],attributes:{...g(n)?{"data-mce-name":n}:{}}},components:[f.asSpec(),x.asSpec(),v.asSpec()],behaviours:hd([_d.config({}),Im.config({mode:"flow",focusInside:Vi.OnEnterOrSpaceMode,cycles:!1,selector:"button, .tox-input-wrapper",onEscape:e=>Lo(e.element)?A.none():(zo(e.element),A.some(!0))})])}})(e,t,(e=>{const t=()=>e.queryCommandValue("FontSize");return{updateInputValue:e=>$c(e,uI,{text:t()}),onAction:(t,o)=>e.execCommand("FontSize",!1,t,{skip_focus:!o}),getNewValue:(o,n)=>{Is(o,["unsupportedLength","empty"]);const s=t(),r=Is(o,["unsupportedLength","empty"]).or(Is(s,["unsupportedLength","empty"])),a=r.map(e=>e.value).getOr(16),i=TC(e),l=r.map(e=>e.unit).filter(e=>""!==e).getOr(i),c=n(a,(e=>({em:{step:.1},cm:{step:.1},in:{step:.1},pc:{step:.1},ch:{step:.1},rem:{step:.1}}[e]??{step:1}))(l).step),d=`${(e=>e>=0)(c)?c:a}${l}`;return d!==s&&((e,t)=>{e.dispatch("FontSizeInputTextUpdate",t)})(e,{value:d}),d}}})(e),"fontsizeinput"),fontfamily:(e,t)=>WN(e,t,rz(e),ez,"FontFamilyTextUpdate","fontfamily"),blocks:(e,t)=>WN(e,t,ZN(e),JN,"BlocksTextUpdate","blocks"),align:(e,t)=>WN(e,t,XN(e),GN,"AlignTextUpdate","align"),navigateback:(e,t)=>{const o=Ir(XE({type:"button",icon:"chevron-left",tooltip:"Back",onAction:b}));return BN(o,t.shared.providers,[Zc(nI,e=>{jc(e,zN)})])}},yz=(e,t,o,n)=>{const s=(e=>{const t=e.toolbar,o=e.buttons;return!1===t?[]:void 0===t||!0===t?(e=>{const t=V(fz,t=>{const o=P(t.items,t=>be(e,t)||be(xz,t));return{name:t.name,items:o}});return P(t,e=>e.items.length>0)})(o):r(t)?(e=>{const t=e.split("|");return V(t,e=>({items:e.trim().split(" ")}))})(t):(e=>f(e,e=>(be(e,"name")||be(e,"label"))&&be(e,"items")))(t)?t:(console.error("Toolbar type should be string, string[], boolean or ToolbarGroup[]"),[])})(t),a=V(s,s=>{const r=q(s.items,s=>0===s.trim().length?[]:((e,t,o,n,s,r)=>fe(t,o.toLowerCase()).orThunk(()=>r.bind(e=>se(e,e=>fe(t,e+o.toLowerCase())))).fold(()=>fe(xz,o.toLowerCase()).map(t=>t(e,s)),t=>"grouptoolbarbutton"!==t.type||n?((e,t,o,n)=>fe(vz,e.type).fold(()=>(console.error("skipping button defined by",e),A.none()),s=>A.some(s(e,t,o,n))))(t,s,e,o.toLowerCase()):(console.warn(`Ignoring the '${o}' toolbar button. Group toolbar buttons are only supported when using floating toolbar mode and cannot be nested.`),A.none())))(e,t.buttons,s,t.allowToolbarGroups,o,n).map(e=>Array.isArray(e)?e:[e]).getOr([]));return{title:A.from(e.translate(s.name)),label:je(void 0!==s.label,e.translate(s.label)),items:r}});return P(a,e=>e.items.length>0)},wz=(e,t,o,n)=>{const s=t.mainUi.outerContainer,a=o.toolbar,i=o.buttons;if(f(a,r)){const t=a.map(t=>{const s={toolbar:t,buttons:i,allowToolbarGroups:o.allowToolbarGroups};return yz(e,s,n,A.none())});gN.setToolbars(s,t)}else gN.setToolbar(s,yz(e,o,n,A.none()))},Sz=Qt(),Cz=Sz.os.isiOS()&&Sz.os.version.major<=12;var kz=Object.freeze({__proto__:null,render:(e,t,o,n,s)=>{const{mainUi:r,uiMotherships:a}=t,i=ye(0),l=r.outerContainer;kN(e);const d=ct(s.targetNode),u=_o(Oo(d));Km(d,r.mothership),((e,t,o)=>{ak(e)&&Km(o.mainUi.mothership.element,o.popupUi.mothership),Xm(t,o.dialogUi.mothership)})(e,u,t),e.on("PostRender",()=>{gN.setSidebar(l,o.sidebar,VC(e),{minWidth:HC(e),maxWidth:PC(e)},e),gN.setViews(l,o.views,UC(e))},!0),e.on("SkinLoaded",()=>{wz(e,t,o,n),i.set(e.getWin().innerWidth),gN.setMenubar(l,fN(e,o)),((e,t)=>{const{uiMotherships:o}=t,n=e.dom;let s=e.getWin();const r=e.getDoc().documentElement,a=ye(Bn(s.innerWidth,s.innerHeight)),i=ye(Bn(r.offsetWidth,r.offsetHeight)),l=()=>{const t=a.get();t.left===s.innerWidth&&t.top===s.innerHeight||(a.set(Bn(s.innerWidth,s.innerHeight)),WD(e))},c=()=>{const t=e.getDoc().documentElement,o=i.get();o.left===t.offsetWidth&&o.top===t.offsetHeight||(i.set(Bn(t.offsetWidth,t.offsetHeight)),WD(e))},d=t=>{((e,t)=>{e.dispatch("ScrollContent",t)})(e,t)};n.bind(s,"resize",l),n.bind(s,"scroll",d);const u=Fo(ct(e.getBody()),"load",c);e.on("hide",()=>{L(o,e=>{gn(e.element,"display","none")})}),e.on("show",()=>{L(o,e=>{wn(e.element,"display")})}),e.on("NodeChange",c),e.on("remove",()=>{u.unbind(),n.unbind(s,"resize",l),n.unbind(s,"scroll",d),s=null})})(e,t)});const m=gN.getSocket(l).getOrDie("Could not find expected socket element");if(Cz){pn(m.element,{overflow:"scroll","-webkit-overflow-scrolling":"touch"});const t=(e=>{let t=null;return{cancel:()=>{c(t)||(clearTimeout(t),t=null)},throttle:(...o)=>{c(t)&&(t=setTimeout(()=>{t=null,e.apply(null,o)},20))}}})(()=>{e.dispatch("ScrollContent")}),o=Io(m.element,"scroll",t.throttle);e.on("remove",o.unbind)}QA(e,t),e.addCommand("ToggleSidebar",(t,o)=>{gN.toggleSidebar(l,o),GD(e)}),e.addQueryValueHandler("ToggleSidebar",()=>gN.whichSidebar(l)??""),e.addCommand("ToggleView",(t,o)=>{const n=gN.whichSidebar(l);if(gN.toggleView(l,o)){const t=l.element;r.mothership.broadcastOn([zd()],{target:t}),L(a,e=>{e.broadcastOn([zd()],{target:t})}),c(gN.whichView(l))&&(e.focus({scrollToSelection:!1}),e.nodeChanged(),gN.refreshToolbar(l)),n!==gN.whichSidebar(l)&&GD(e),(e=>{e.dispatch("ToggleView")})(e)}}),e.addQueryValueHandler("ToggleView",()=>gN.whichView(l)??"");const g=fC(e);g!==QS.sliding&&g!==QS.floating||e.on("ResizeWindow ResizeEditor ResizeContent",()=>{const o=e.getWin().innerWidth;o!==i.get()&&(gN.refreshToolbar(t.mainUi.outerContainer),i.set(o))});const p={setEnabled:e=>{JA(t,e?"setEnabled":"setDisabled")},isEnabled:()=>!gp.isDisabled(l)};return{iframeContainer:m.element.dom,editorContainer:l.element.dom,api:p}}});const Oz=e=>{const t=aC(e),o=iC(e),n=cC(e);return yR(t).map(e=>SR(e,o,n))},{ToolbarLocation:_z,ToolbarMode:Tz}=lk,Ez=(e,t,o,n,s)=>{const{mainUi:r,uiMotherships:a}=o,i=XS.DOM,l=ok(e),c=rk(e),d=cC(e).or(Oz(e)),u=n.shared.header,m=u.isPositionedAtTop,g=fC(e),p=g===Tz.sliding||g===Tz.floating,h=ye(!1),f=()=>h.get()&&!e.removed,b=e=>p?e.fold(y(0),e=>e.components().length>1?On(e.components()[1].element):0):0,v=()=>{L(a,e=>{e.broadcastOn([Vd()],{})})},x=o=>{if(!f())return;l||s.on(e=>{const o=d.getOrThunk(()=>Rs().width-Rn(t).left-10);gn(e.element,"max-width",o+"px")});const n=Nn(),a=!(l||l||!(Fn(r.outerContainer.element).left+Dn(r.outerContainer.element)>=window.innerWidth-40||vn(r.outerContainer.element,"width").isSome())||(gn(r.outerContainer.element,"position","absolute"),gn(r.outerContainer.element,"left","0px"),wn(r.outerContainer.element,"width"),0));if(p&&gN.refreshToolbar(r.outerContainer),!l){const o=Nn(),i=je(n.left!==o.left,n);((o,n)=>{s.on(s=>{const a=gN.getToolbar(r.outerContainer),i=b(a),l=Hs(t),c=((e,t)=>ak(e)?$s(t):A.none())(e,r.outerContainer.element),d=c.fold(()=>l.x,e=>{const t=Hs(e);return wt(e,cn())?l.x:l.x-t.x}),u=je(o,Math.ceil(r.outerContainer.element.dom.getBoundingClientRect().width)).filter(e=>e>150).map(e=>{const t=n.getOr(Nn()),o=window.innerWidth-(d-t.left),s=Math.max(Math.min(e,o),150);return om()?Math.max(l.y-On(s.element)+i,0):l.bottom,e=>{const t=Hs(e),o=e.dom.scrollTop??0,n=wt(e,cn())?Math.max(l.y-On(s.element)+i,0):l.y-t.y+o-On(s.element)+i;return m()?n:l.bottom})+"px"};pn(r.outerContainer.element,{...g,...u})})})(a,i),i.each(e=>{zn(e.left,o.top)})}c&&s.on(o),v()},w=()=>!(l||!c||!f())&&s.get().exists(o=>{const n=u.getDockingMode(),a=(o=>{switch(vC(e)){case _z.auto:const e=gN.getToolbar(r.outerContainer),n=b(e),s=On(o.element)-n,a=Hs(t);if(a.y>s)return"top";{const e=mo(t),o=Math.max(e.dom.scrollHeight,On(e));return a.bottom{Hp.setModes(e,[i]),u.setDockingMode(i);const t=m()?Nc.TopToBottom:Nc.BottomToTop;Yo(e.element,zc,t)}),!0);var i});return{isVisible:f,isPositionedAtTop:m,show:()=>{h.set(!0),gn(r.outerContainer.element,"display","flex"),i.addClass(e.getBody(),"mce-edit-focus"),L(a,e=>{wn(e.element,"display")}),w(),ak(e)?x(e=>Hp.isDocked(e)?Hp.reset(e):Hp.refresh(e)):x(Hp.refresh)},hide:()=>{h.set(!1),gn(r.outerContainer.element,"display","none"),i.removeClass(e.getBody(),"mce-edit-focus"),L(a,e=>{gn(e.element,"display","none")})},update:x,updateMode:()=>{w()&&x(Hp.reset)},repositionPopups:v}},Az=(e,t)=>{const o=Hs(e);return{pos:t?o.y:o.bottom,bounds:o}};var Dz=Object.freeze({__proto__:null,render:(e,t,o,n,s)=>{const{mainUi:r}=t,a=Ye(),i=ct(s.targetNode),l=Ez(e,i,t,n,a),c=wC(e);ON(e);const d=()=>{if(a.isSet())return void l.show();a.set(gN.getHeader(r.outerContainer).getOrDie());const s=nk(e);ak(e)?(Km(i,r.mothership),Km(i,t.popupUi.mothership)):Xm(s,r.mothership),Xm(s,t.dialogUi.mothership);const d=()=>{wz(e,t,o,n),gN.setMenubar(r.outerContainer,fN(e,o)),l.show(),((e,t,o,n)=>{const s=ye(Az(t,o.isPositionedAtTop())),r=n=>{const{pos:r,bounds:a}=Az(t,o.isPositionedAtTop()),{pos:i,bounds:l}=s.get(),c=a.height!==l.height||a.width!==l.width;s.set({pos:r,bounds:a}),c&&WD(e,n),o.isVisible()&&(i!==r?o.update(Hp.reset):c&&(o.updateMode(),o.repositionPopups()))};n||(e.on("activate",o.show),e.on("deactivate",o.hide)),e.on("SkinLoaded ResizeWindow",()=>o.update(Hp.reset)),e.on("NodeChange keydown",e=>{requestAnimationFrame(()=>r(e))});let a=0;const i=nt(()=>o.update(Hp.refresh),33);e.on("ScrollWindow",()=>{const e=Nn().left;e!==a&&(a=e,i.throttle()),o.updateMode()}),ak(e)&&e.on("ElementScroll",e=>{o.update(Hp.refresh)});const l=qe();l.set(Fo(ct(e.getBody()),"load",e=>r(e.raw))),e.on("remove",()=>{l.clear()})})(e,i,l,c),e.nodeChanged()};c?e.once("SkinLoaded",d):d()};e.on("show",d),e.on("hide",l.hide),c||(e.on("focus",d),e.on("blur",l.hide)),e.on("init",()=>{(e.hasFocus()||c)&&d()}),QA(e,t);const u={show:d,hide:l.hide,setEnabled:e=>{JA(t,e?"setEnabled":"setDisabled")},isEnabled:()=>!gp.isDisabled(r.outerContainer)};return{editorContainer:r.outerContainer.element.dom,api:u}}});const Mz="contexttoolbar-hide",Bz=(e,t,o)=>({setInputEnabled:t=>{!t&&o&&zo(o),gp.set(e,!t)},isInputEnabled:()=>!gp.isDisabled(e),hide:()=>{jc(e,Ka())},back:()=>{jc(e,zN)},getValue:()=>t.get().getOrThunk(()=>mf.getValue(e)),setValue:o=>{e.getSystem().isConnected()?mf.setValue(e,o):t.set(o)}}),Iz=(e,t,o)=>{const n=po(e.element).bind(t=>e.getSystem().getByDom(t).toOptional());return Bz(n.getOr(e),t,o)},Fz=(e,t,o)=>Zc(nI,(n,s)=>{const r=e.get(n),a=Bz(r,o,n.element);t.onAction(a,s.event.buttonApi)}),Rz=(e,t,o,n)=>{const s=V(t,t=>Dv(((e,t,o,n)=>(e=>"contextformtogglebutton"===e.type)(t)?((e,t,o,n)=>{const{primary:s,...r}=t.original,a=Ir(QE({...r,type:"togglebutton",onAction:b}));return IN(a,o,[Fz(e,t,n)])})(e,t,o,n):((e,t,o,n)=>{const{primary:s,...r}=t.original,a=Ir(XE({...r,type:"button",onAction:b}));return BN(a,o,[Fz(e,t,n)])})(e,t,o,n))(e,t,o,n)));return{asSpecs:()=>V(s,e=>e.asSpec()),findPrimary:e=>se(t,(t,o)=>t.primary?A.from(s[o]).bind(t=>t.getOpt(e)).filter(k(gp.isDisabled)):A.none())}},Nz=(e,t,o,n)=>{const{width:s,height:r}=e.initValue();let a=_I;const i=Ne("ratio-event"),l=e=>Bz(e,n),c=e=>VO(e,{tag:"span",classes:["tox-icon","tox-lock-icon__"+e]},t.icons),d=()=>!1,u=e.label.getOr("Constrain proportions"),m=t.translate(u),g=ly.parts.lock({dom:{tag:"button",classes:["tox-lock","tox-lock-context-form-size-input","tox-button","tox-button--naked","tox-button--icon"],attributes:{"aria-label":m,"data-mce-name":u}},components:[c("lock"),c("unlock")],buttonBehaviours:hd([gp.config({disabled:d}),iv.config({}),Tv.config(t.tooltips.getConfig({tooltipText:m}))])}),p=e=>({dom:{tag:"div",classes:["tox-context-form__group"]},components:e}),h=e=>Gn(e.element,"div.tox-focusable-wrapper").fold(A.none,e=>(zo(e),A.some(!0))),f=e=>sy.parts.field({factory:hy,inputClasses:["tox-textfield","tox-toolbar-textfield","tox-textfield-size"],data:e?s:r,inputBehaviours:hd([gp.config({disabled:d}),iv.config({}),wd("size-input-toolbar-events",[Zc(Oa(),(t,o)=>{$c(t,i,{isField1:e})})]),Im.config({mode:"special",onEnter:o,onEscape:h})]),selectOnFocus:!1}),v=e=>({dom:{tag:"label",classes:["tox-label"]},components:[zg(t.translate(e))]}),x=e=>({dom:{tag:"div",classes:["tox-focusable-wrapper","tox-toolbar-nav-item"]},components:[e],behaviours:hd([iv.config({}),_d.config({}),Im.config({mode:"special",onEnter:e=>Xn(e.element,"input").fold(A.none,e=>(zo(e),A.some(!0)))})])}),y=x(ly.parts.field1(p([sy.parts.label(v("Width:")),f(!0)]))),w=x(ly.parts.field2(p([sy.parts.label(v("Height:")),f(!1)]))),S=ye(b),C=[jA({onBeforeSetup:e=>Xn(e.element,"input").each(zo),onSetup:e.onSetup,getApi:l},S),GA({getApi:l},S,n)];return ly.sketch({dom:{tag:"div",classes:["tox-context-form__group"]},components:[y,p([g]),w],field1Name:"width",field2Name:"height",locked:!0,markers:{lockClass:"tox-locked"},onLockedChange:(e,t,o)=>{kI(mf.getValue(e)).each(e=>{a(e).each(e=>{mf.setValue(t,CI(e))})})},onInput:e=>jc(e,ZM),coupledFieldBehaviours:hd([_d.config({}),Im.config({mode:"flow",focusInside:Vi.OnEnterOrSpaceMode,cycles:!1,selector:"button, .tox-focusable-wrapper"}),gp.config({disabled:d,onDisabled:e=>{ly.getField1(e).bind(sy.getField).each(gp.disable),ly.getField2(e).bind(sy.getField).each(gp.disable),ly.getLock(e).each(gp.disable)},onEnabled:e=>{ly.getField1(e).bind(sy.getField).each(gp.enable),ly.getField2(e).bind(sy.getField).each(gp.enable),ly.getLock(e).each(gp.enable)}}),ZA(()=>t.checkUiComponentContext("mode:design")),wd("size-input-toolbar-events2",[Zc(i,(e,t)=>{const o=t.event.isField1,n=o?ly.getField1(e):ly.getField2(e),s=o?ly.getField2(e):ly.getField1(e),r=n.map(mf.getValue).getOr(""),i=s.map(mf.getValue).getOr("");a=TI(r,i)}),Zc(ZM,t=>e.onInput(l(t))),...C])])})},zz=(e,t,o)=>sy.sketch({dom:{tag:"div",classes:["tox-context-form__group"]},components:[...e.toArray(),t],fieldBehaviours:hd([gp.config({disabled:()=>o.checkUiComponentContext("mode:design").shouldDisable,onDisabled:e=>{(e=>{Po(e.element).each(e=>{Gn(e,'[tabindex="-1"]').each(e=>{zo(e)})})})(e),sy.getField(e).each(gp.disable)},onEnabled:e=>{sy.getField(e).each(gp.enable)}})])}),Vz=(e,t,o,n)=>{const s=ye(b),r=e=>Iz(e,n),a=e.label.map(e=>sy.parts.label({dom:{tag:"label",classes:["tox-label"]},components:[zg(t.translate(e))]})),i=sy.parts.field({factory:hy,type:"range",inputClasses:["tox-toolbar-slider__input","tox-toolbar-nav-item"],inputAttributes:{min:String(e.min()),max:String(e.max())},data:e.initValue().toString(),fromInputValue:t=>(e=>{const t=parseFloat(e);return isNaN(t)?A.none():A.some(t)})(t).getOr(e.min()),toInputValue:e=>String(e),inputBehaviours:hd([gp.config({disabled:()=>t.checkUiComponentContext("mode:design").shouldDisable}),ZA(()=>t.checkUiComponentContext("mode:design")),Im.config({mode:"special",onEnter:o,onLeft:(e,t)=>(t.cut(),A.none()),onRight:(e,t)=>(t.cut(),A.none())}),wd("slider-events",[jA({onSetup:e.onSetup,getApi:r,onBeforeSetup:Im.focusIn},s),GA({getApi:r},s,n),Zc(Aa(),t=>{e.onInput(r(t))})])])});return zz(a,i,t)},Lz=(e,t,o,n)=>{const s=ye(b),r=e=>Iz(e,n),a=e.label.map(e=>sy.parts.label({dom:{tag:"label",classes:["tox-label"]},components:[zg(t.translate(e))]})),i={...e.placeholder.map(e=>({placeholder:t.translate(e)})).getOr({})},l=sy.parts.field({factory:hy,inputClasses:["tox-toolbar-textfield","tox-toolbar-nav-item"],inputAttributes:i,data:e.initValue(),selectOnFocus:!0,inputBehaviours:hd([gp.config({disabled:()=>t.checkUiComponentContext("mode:design").shouldDisable}),ZA(()=>t.checkUiComponentContext("mode:design")),Im.config({mode:"special",onEnter:o,onLeft:(e,t)=>(t.cut(),A.none()),onRight:(e,t)=>(t.cut(),A.none())}),wd("input-events",[jA({onSetup:e.onSetup,getApi:e=>Gn(e.element,".tox-toolbar").bind(e=>Xn(e,"button:enabled")).fold(()=>Iz(e,n),t=>Iz(e,n,t)),onBeforeSetup:Im.focusIn},s),GA({getApi:r},s,n),Zc(Aa(),t=>{e.onInput(r(t))})])])});return zz(a,l,t)},Hz=(e,t,o)=>{const n=Ye(),s=Dv(e(o,e=>a.findPrimary(e).orThunk(()=>i.findPrimary(e)).map(e=>(Gc(e),!0)),n)),r=H(t.commands,e=>"start"===e.align),a=Rz(s,r.pass,o,n),i=Rz(s,r.fail,o,n);return P([{title:A.none(),label:A.none(),items:a.asSpecs()},{title:A.none(),label:A.none(),items:[s.asSpec()]},{title:A.none(),label:A.none(),items:i.asSpecs()}],e=>e.items.length>0)},Pz=(e,t)=>{switch(e.type){case"contextform":return Hz(C(Lz,e),e,t);case"contextsliderform":return Hz(C(Vz,e),e,t);case"contextsizeinputform":return Hz(C(Nz,e),e,t)}},Uz=(e,t,o)=>t.bottom-e.y>=o&&e.bottom-t.y>=o,Wz=e=>{const t=(e=>{const t=e.getBoundingClientRect();if(t.height<=0&&t.width<=0){const o=Co(ct(e.startContainer),e.startOffset).element;return(ro(o)?po(o):A.some(o)).filter(so).map(e=>e.dom.getBoundingClientRect()).getOr(t)}return t})(e.selection.getRng());if(e.inline){const e=Nn();return Ls(e.left+t.left,e.top+t.top,t.width,t.height)}{const o=Ps(ct(e.getBody()));return Ls(o.x+t.left,o.y+t.top,t.width,t.height)}},jz=(e,t,o,n=0)=>{const s=Rs(window),r=Hs(ct(e.getContentAreaContainer())),a=YC(e)||JC(e)||ZC(e),{x:i,width:l}=((e,t,o)=>{const n=Math.max(e.x+o,t.x);return{x:n,width:Math.min(e.right-o,t.right)-n}})(r,s,n);if(e.inline&&!a)return Ls(i,s.y,l,s.height);{const a=t.header.isPositionedAtTop(),{y:c,bottom:d}=((e,t,o,n,s,r)=>{const a=ct(e.getContainer()),i=Xn(a,".tox-editor-header").getOr(a),l=Hs(i),c=l.y>=t.bottom,d=n&&!c;if(e.inline&&d)return{y:Math.max(l.bottom+r,o.y),bottom:o.bottom};if(e.inline&&!d)return{y:o.y,bottom:Math.min(l.y-r,o.bottom)};const u="line"===s?Hs(a):t;return d?{y:Math.max(l.bottom+r,o.y),bottom:Math.min(u.bottom-r,o.bottom)}:{y:Math.max(u.y+r,o.y),bottom:Math.min(l.y-r,o.bottom)}})(e,r,s,a,o,n);return Ls(i,c,l,d-c)}},$z={valignCentre:[],alignCentre:[],alignLeft:["tox-pop--align-left"],alignRight:["tox-pop--align-right"],right:["tox-pop--right"],left:["tox-pop--left"],bottom:["tox-pop--bottom"],top:["tox-pop--top"],inset:["tox-pop--inset"]},Gz={maxHeightFunction:Fc(),maxWidthFunction:Rc()},qz=e=>"node"===e,Yz=(e,t,o,n,s)=>{const r=Wz(e),a=n.lastElement().exists(e=>wt(o,e));return((e,t)=>{const o=e.selection.getRng(),n=Co(ct(o.startContainer),o.startOffset);return o.startContainer===o.endContainer&&o.startOffset===o.endOffset-1&&wt(n.element,t)})(e,o)?a?Ac:kc:a?((e,o)=>{const s=vn(e,"position");gn(e,"position",o);const a=Uz(r,Hs(t),-20)&&!n.isReposition()?Mc:Ac;return s.each(t=>gn(e,"position",t)),a})(t,n.getMode()):("fixed"===n.getMode()?s.y+Nn().top:s.y)+(On(t)+12)<=r.y?kc:Oc},Xz=(e,t,o,n)=>{const s=t=>(n,s,r,a,i)=>({...Yz(e,a,t,o,i)({...n,y:i.y,height:i.height},s,r,a,i),alwaysFit:!0}),r=e=>qz(n)?[s(e)]:[];return t?{onLtr:e=>[oc,Jl,Ql,Zl,ec,tc].concat(r(e)),onRtl:e=>[oc,Ql,Jl,ec,Zl,tc].concat(r(e))}:{onLtr:e=>[tc,oc,Zl,Jl,ec,Ql].concat(r(e)),onRtl:e=>[tc,oc,ec,Ql,Zl,Jl].concat(r(e))}},Kz=(e,t)=>{const o=P(t,t=>t.predicate(e.dom)),{pass:n,fail:s}=H(o,e=>"contexttoolbar"===e.type);return{contextToolbars:n,contextForms:s}},Jz=(e,t)=>{const o={},n=[],s=[],r={},a={},i=re(e);return L(i,i=>{const l=e[i];"contextform"===l.type||"contextsliderform"===l.type||"contextsizeinputform"===l.type?((e,i)=>{const l=Ir(Br("ContextForm",lA,i));o[e]=l,l.launch.map(o=>{r["form:"+e]={...i.launch,type:"contextformtogglebutton"===o.type?"togglebutton":"button",onAction:()=>{t(l)}}}),"editor"===l.scope?s.push(l):n.push(l),a[e]=l})(i,l):"contexttoolbar"===l.type&&((e,o)=>{var i;(i=o,Br("ContextToolbar",dA,i)).each(i=>{i.launch.isSome()&&(r["toolbar:"+e]={...o.launch,type:"button",onAction:()=>{t(i)}}),"editor"===o.scope?s.push(i):n.push(i),a[e]=i})})(i,l)}),{forms:o,inNodeScope:n,inEditorScope:s,lookupTable:a,formNavigators:r}},Qz="tox-pop--transition",Zz=(e,t,o,n)=>{const s=n.backstage,a=s.shared,i=Qt().deviceType.isTouch,l=Ye(),c=Ye(),d=Ye(),u=(e=>{const t=ye([]),o=dy.sketch({dom:{tag:"div",classes:["tox-pop"]},fireDismissalEventInstead:{event:"doNotDismissYet"},onShow:e=>{t.set([]),dy.getContent(e).each(e=>{wn(e.element,"visibility")}),rs(e.element,LN),wn(e.element,"width")},onHide:()=>{t.set([]),e.onHide()},inlineBehaviours:hd([wd("context-toolbar-events",[ad(Ia(),(e,t)=>{"width"===t.event.raw.propertyName&&(rs(e.element,LN),wn(e.element,"width"))}),Zc(VN,(t,o)=>{const n=t.element;wn(n,"width");const s=An(n),r=Po(t.element).isSome();wn(n,"left"),wn(n,"right"),wn(n,"max-width"),dy.setContent(t,o.event.contents),ns(n,LN);const a=An(n);gn(n,"transition","none"),dy.reposition(t),wn(n,"transition"),gn(n,"width",s+"px"),o.event.focus.fold(()=>{r&&RN(t)},o=>{Ho(Oo(t.element)).fold(()=>zo(o),t=>{wt(t,o)||e.focusElement(o)})}),setTimeout(()=>{gn(t.element,"width",a+"px")},0)}),Zc(NN,(e,o)=>{dy.getContent(e).each(o=>{t.set(t.get().concat([{bar:o,focus:Ho(Oo(e.element))}]))}),$c(e,VN,{contents:o.event.forwardContents,focus:A.none()})}),Zc(zN,(o,n)=>{e.onBack(),oe(t.get()).each(e=>{t.set(t.get().slice(0,t.get().length-1)),$c(o,VN,{contents:Ug(e.bar),focus:e.focus})})})]),Im.config({mode:"special",onEscape:o=>oe(t.get()).fold(()=>e.onEscape(),e=>(jc(o,zN),A.some(!0)))})]),lazySink:()=>Ae.value(e.sink)});return{sketch:o,inSubtoolbar:()=>t.get().length>0}})({sink:o,onEscape:()=>(e.focus(),qD(e),A.some(!0)),onHide:()=>{qD(e)},onBack:()=>{(e=>{e.dispatch("ContextFormSlideBack")})(e)},focusElement:t=>{e.getBody().contains(t.dom)?e.focus():zo(t)}}),m=Pg(u.sketch),g=()=>{const t=d.get().getOr("node"),o=qz(t)?1:0;return jz(e,a,t,o)},p=()=>!(e.removed||i()&&s.isContextMenuOpen()),h=()=>{if(p()){const t=g(),o=He(d.get(),"node")?((e,t)=>t.filter(e=>ln(e)&&no(e)).map(Ps).getOrThunk(()=>Wz(e)))(e,l.get()):Wz(e);return t.height<=0||!Uz(o,t,.01)}return!0},f=()=>{l.clear(),c.clear(),d.clear(),dy.hide(m)},v=()=>{if(dy.isOpen(m)){const e=m.element;wn(e,"display"),h()?gn(e,"display","none"):(c.set(0),dy.reposition(m))}},x=t=>({dom:{tag:"div",classes:["tox-pop__dialog"]},components:[t],behaviours:hd([Im.config({mode:"acyclic"}),wd("pop-dialog-wrap-events",[id(t=>{e.shortcuts.add("ctrl+F9","focus statusbar",()=>Im.focusIn(t))}),ld(t=>{e.shortcuts.remove("ctrl+F9")})])])}),y=e=>{const t=S([e]);$c(m,NN,{forwardContents:x(t)})},w=st(()=>Jz(t,y)),S=t=>{const{buttons:o}=e.ui.registry.getAll(),s={...o,...w().formNavigators},i=fC(e)===QS.scrolling?QS.scrolling:QS.default,l=G(V(t,t=>{return"contexttoolbar"===t.type?((t,o)=>yz(e,{buttons:t,toolbar:o.items,allowToolbarGroups:!1},n.backstage,A.some(["form:","toolbar:"])))(s,(o=t,{...o,launch:o.launch.getOrUndefined(),items:r(o.items)?o.items:V(o.items,uA)})):((e,t)=>Pz(e,t))(t,a.providers);var o}));return jR({type:i,uid:Ne("context-toolbar"),initGroups:l,onEscape:A.none,cyclicKeying:!0,providers:a.providers})},C=(t,n)=>{if(O.cancel(),!p())return;const s=S(t),r=t[0].position,u=((t,n)=>{const s="node"===t?a.anchors.node(n):a.anchors.cursor(),r=((e,t,o,n)=>"line"===t?{bubble:Ml(12,0,$z),layouts:{onLtr:()=>[nc,sc],onRtl:()=>[sc,nc]},overrides:Gz}:{bubble:Ml(0,12,$z,1/12),layouts:Xz(e,o,n,t),overrides:Gz})(e,t,i(),{lastElement:l.get,isReposition:()=>He(c.get(),0),getMode:()=>hb.getMode(o)});return Ve(s,r)})(r,n);d.set(r),c.set(1);const f=m.element;wn(f,"display"),(e=>He(Ue(e,l.get(),wt),!0))(n)||(rs(f,Qz),hb.reset(o,m)),dy.showWithinBounds(m,x(s),{anchor:u,transition:{classes:[Qz],mode:"placement"}},()=>A.some(g())),n.fold(l.clear,l.set),h()&&gn(f,"display","none")};let k=!1;const O=nt(()=>{!e.hasFocus()||e.removed||k||(as(m.element,Qz)?O.throttle():((e,t)=>{const o=ct(t.getBody()),n=e=>wt(e,o),s=ct(t.selection.getNode());return(e=>!n(e)&&!St(o,e))(s)?A.none():((e,t,o)=>{const n=Kz(e,t);if(n.contextForms.length>0)return A.some({elem:e,toolbars:[n.contextForms[0]]});{const t=Kz(e,o);if(t.contextForms.length>0)return A.some({elem:e,toolbars:[t.contextForms[0]]});if(n.contextToolbars.length>0||t.contextToolbars.length>0){const o=(e=>{if(e.length<=1)return e;{const t=t=>R(e,e=>e.position===t),o=t=>P(e,e=>e.position===t),n=t("selection"),s=t("node");if(n||s){if(s&&n){const e=o("node"),t=V(o("selection"),e=>({...e,position:"node"}));return e.concat(t)}return o(n?"selection":"node")}return o("line")}})(n.contextToolbars.concat(t.contextToolbars));return A.some({elem:e,toolbars:o})}return A.none()}})(s,e.inNodeScope,e.inEditorScope).orThunk(()=>((e,t,o)=>e(t)?A.none():bs(t,e=>{if(so(e)){const{contextToolbars:t,contextForms:n}=Kz(e,o.inNodeScope),s=n.length>0?n:(e=>{if(e.length<=1)return e;{const t=t=>j(e,e=>e.position===t);return t("selection").orThunk(()=>t("node")).orThunk(()=>t("line")).map(e=>e.position).fold(()=>[],t=>P(e,e=>e.position===t))}})(t);return s.length>0?A.some({elem:e,toolbars:s}):A.none()}return A.none()},e))(n,s,e))})(w(),e).fold(f,e=>{C(e.toolbars,A.some(e.elem))}))},17);e.on("init",()=>{e.on("remove",f),e.on("ScrollContent ScrollWindow ObjectResized ResizeEditor longpress",v),e.on("click focus SetContent",O.throttle),e.on("keyup",e=>{var t;((t=e.keyCode)!==az.ENTER&&t!==az.SPACEBAR||!u.inSubtoolbar())&&O.throttle()}),e.on(Mz,f),e.on("contexttoolbar-show",t=>{const o=w();fe(o.lookupTable,t.toolbarKey).each(o=>{C([o],je(t.target!==e,t.target)),RN(m)})}),e.on("focusout",t=>{YS.setEditorTimeout(e,()=>{Po(o.element).isNone()&&Po(m.element).isNone()&&!e.hasFocus()&&f()},0)}),e.on("SwitchMode",()=>{e.mode.isReadOnly()&&f()}),e.on("DisabledStateChange",e=>{e.state&&f()}),e.on("ExecCommand",({command:e})=>{"toggleview"===e.toLowerCase()&&f()}),e.on("AfterProgressState",t=>{t.state?f():e.hasFocus()&&O.throttle()}),e.on("dragstart",()=>{k=!0}),e.on("dragend drop",()=>{k=!1}),e.on("NodeChange",e=>{u.inSubtoolbar()?(gn(m.element,"transition","none"),v(),wn(m.element,"transition")):Po(m.element).fold(O.throttle,b)})})},eV=(e,t)=>{const o=()=>{const o=t.getOptions(e),n=t.getCurrent(e).map(t.hash),s=Ye();return V(o,o=>({type:"togglemenuitem",text:t.display(o),onSetup:r=>{const a=e=>{e&&(s.on(e=>e.setActive(!1)),s.set(r)),r.setActive(e)};a(He(n,t.hash(o)));const i=t.watcher(e,o,a);return()=>{s.clear(),i()}},onAction:()=>t.setCurrent(e,o)}))};e.ui.registry.addMenuButton(t.name,{tooltip:t.text,icon:t.icon,fetch:e=>e(o()),onSetup:t.onToolbarSetup}),e.ui.registry.addNestedMenuItem(t.name,{type:"nestedmenuitem",text:t.text,getSubmenuItems:o,onSetup:t.onMenuSetup})},tV=e=>{eV(e,(e=>({name:"lineheight",text:"Line height",icon:"line-height",getOptions:KC,hash:e=>(e=>Is(e,["fixed","relative","empty"]).map(({value:e,unit:t})=>e+t))(e).getOr(e),display:w,watcher:(e,t,o)=>e.formatter.formatChanged("lineheight",o,!1,{value:t}).unbind,getCurrent:e=>A.from(e.queryCommandValue("LineHeight")),setCurrent:(e,t)=>e.execCommand("LineHeight",!1,t),onToolbarSetup:XD(e),onMenuSetup:XD(e)}))(e)),(e=>A.from(pC(e)).map(t=>({name:"language",text:"Language",icon:"language",getOptions:y(t),hash:e=>u(e.customCode)?e.code:`${e.code}/${e.customCode}`,display:e=>e.title,watcher:(e,t,o)=>e.formatter.formatChanged("lang",o,!1,{value:t.code,customValue:t.customCode??null}).unbind,getCurrent:e=>{const t=ct(e.selection.getNode());return vs(t,e=>A.some(e).filter(so).bind(e=>Jo(e,"lang").map(t=>({code:t,customCode:Jo(e,"data-mce-lang").getOrUndefined(),title:""}))))},setCurrent:(e,t)=>e.execCommand("Lang",!1,t),onToolbarSetup:t=>{const o=qe();return t.setActive(e.formatter.match("lang",{},void 0,!0)),o.set(e.formatter.formatChanged("lang",t.setActive,!0)),YD(o.clear,XD(e)(t))},onMenuSetup:XD(e)})))(e).each(t=>eV(e,t))},oV=e=>JD(e,"NodeChange",t=>{t.setEnabled(e.queryCommandState("outdent")&&e.selection.isEditable())}),nV=(e,t)=>o=>{o.setActive(t.get());const n=e=>{t.set(e.state),o.setActive(e.state)};return e.on("PastePlainTextToggle",n),YD(()=>e.off("PastePlainTextToggle",n),XD(e)(o))},sV=(e,t)=>()=>{e.execCommand("mceToggleFormat",!1,t)},rV=e=>{(e=>{(e=>{BB.each([{name:"bold",text:"Bold",icon:"bold",shortcut:"Meta+B"},{name:"italic",text:"Italic",icon:"italic",shortcut:"Meta+I"},{name:"underline",text:"Underline",icon:"underline",shortcut:"Meta+U"},{name:"strikethrough",text:"Strikethrough",icon:"strike-through"},{name:"subscript",text:"Subscript",icon:"subscript"},{name:"superscript",text:"Superscript",icon:"superscript"}],(t,o)=>{e.ui.registry.addToggleButton(t.name,{tooltip:t.text,icon:t.icon,onSetup:KD(e,t.name),onAction:sV(e,t.name),shortcut:t.shortcut})});for(let t=1;t<=6;t++){const o="h"+t,n=`Access+${t}`;e.ui.registry.addToggleButton(o,{text:o.toUpperCase(),tooltip:"Heading "+t,onSetup:KD(e,o),onAction:sV(e,o),shortcut:n})}})(e),(e=>{BB.each([{name:"copy",text:"Copy",action:"Copy",icon:"copy",context:"any"},{name:"help",text:"Help",action:"mceHelp",icon:"help",shortcut:"Alt+0",context:"any"},{name:"selectall",text:"Select all",action:"SelectAll",icon:"select-all",shortcut:"Meta+A",context:"any"},{name:"newdocument",text:"New document",action:"mceNewDocument",icon:"new-document"},{name:"print",text:"Print",action:"mcePrint",icon:"print",shortcut:"Meta+P",context:"any"}],t=>{e.ui.registry.addButton(t.name,{tooltip:t.text,icon:t.icon,onAction:ZD(e,t.action),shortcut:t.shortcut,context:t.context})}),BB.each([{name:"cut",text:"Cut",action:"Cut",icon:"cut"},{name:"paste",text:"Paste",action:"Paste",icon:"paste"},{name:"removeformat",text:"Clear formatting",action:"RemoveFormat",icon:"remove-formatting"},{name:"remove",text:"Remove",action:"Delete",icon:"remove"},{name:"hr",text:"Horizontal line",action:"InsertHorizontalRule",icon:"horizontal-rule"}],t=>{e.ui.registry.addButton(t.name,{tooltip:t.text,icon:t.icon,onSetup:XD(e),onAction:ZD(e,t.action)})})})(e),(e=>{BB.each([{name:"blockquote",text:"Blockquote",action:"mceBlockQuote",icon:"quote"}],t=>{e.ui.registry.addToggleButton(t.name,{tooltip:t.text,icon:t.icon,onAction:ZD(e,t.action),onSetup:KD(e,t.name)})})})(e)})(e),(e=>{BB.each([{name:"newdocument",text:"New document",action:"mceNewDocument",icon:"new-document"},{name:"copy",text:"Copy",action:"Copy",icon:"copy",shortcut:"Meta+C",context:"any"},{name:"selectall",text:"Select all",action:"SelectAll",icon:"select-all",shortcut:"Meta+A",context:"any"},{name:"print",text:"Print...",action:"mcePrint",icon:"print",shortcut:"Meta+P",context:"any"}],t=>{e.ui.registry.addMenuItem(t.name,{text:t.text,icon:t.icon,shortcut:t.shortcut,onAction:ZD(e,t.action),context:t.context})}),BB.each([{name:"bold",text:"Bold",action:"Bold",icon:"bold",shortcut:"Meta+B"},{name:"italic",text:"Italic",action:"Italic",icon:"italic",shortcut:"Meta+I"},{name:"underline",text:"Underline",action:"Underline",icon:"underline",shortcut:"Meta+U"},{name:"strikethrough",text:"Strikethrough",action:"Strikethrough",icon:"strike-through"},{name:"subscript",text:"Subscript",action:"Subscript",icon:"subscript"},{name:"superscript",text:"Superscript",action:"Superscript",icon:"superscript"},{name:"removeformat",text:"Clear formatting",action:"RemoveFormat",icon:"remove-formatting"},{name:"cut",text:"Cut",action:"Cut",icon:"cut",shortcut:"Meta+X"},{name:"paste",text:"Paste",action:"Paste",icon:"paste",shortcut:"Meta+V"},{name:"hr",text:"Horizontal line",action:"InsertHorizontalRule",icon:"horizontal-rule"}],t=>{e.ui.registry.addMenuItem(t.name,{text:t.text,icon:t.icon,shortcut:t.shortcut,onSetup:XD(e),onAction:ZD(e,t.action)})}),e.ui.registry.addMenuItem("codeformat",{text:"Code",icon:"sourcecode",onSetup:XD(e),onAction:sV(e,"code")})})(e)},aV=(e,t)=>JD(e,"Undo Redo AddUndo TypingUndo ClearUndos SwitchMode",o=>{o.setEnabled(!e.mode.isReadOnly()&&e.undoManager[t]())}),iV=e=>JD(e,"VisualAid",t=>{t.setActive(e.hasVisual)}),lV=(e,t)=>{(e=>{L([{name:"alignleft",text:"Align left",cmd:"JustifyLeft",icon:"align-left"},{name:"aligncenter",text:"Align center",cmd:"JustifyCenter",icon:"align-center"},{name:"alignright",text:"Align right",cmd:"JustifyRight",icon:"align-right"},{name:"alignjustify",text:"Justify",cmd:"JustifyFull",icon:"align-justify"}],t=>{e.ui.registry.addToggleButton(t.name,{tooltip:t.text,icon:t.icon,onAction:ZD(e,t.cmd),onSetup:KD(e,t.name)})}),e.ui.registry.addButton("alignnone",{tooltip:"No alignment",icon:"align-none",onSetup:XD(e),onAction:ZD(e,"JustifyNone")})})(e),rV(e),((e,t)=>{((e,t)=>{const o=UN(t,XN(e));e.ui.registry.addNestedMenuItem("align",{text:t.shared.providers.translate("Align"),onSetup:XD(e),getSubmenuItems:()=>o.items.validateItems(o.getStyleItems())})})(e,t),((e,t)=>{const o=UN(t,rz(e));e.ui.registry.addNestedMenuItem("fontfamily",{text:t.shared.providers.translate("Fonts"),onSetup:XD(e),getSubmenuItems:()=>o.items.validateItems(o.getStyleItems())})})(e,t),((e,t)=>{const o={type:"advanced",...t.styles},n=UN(t,hz(e,o));e.ui.registry.addNestedMenuItem("styles",{text:"Formats",onSetup:XD(e,()=>n.getStyleItems().length>0),getSubmenuItems:()=>n.items.validateItems(n.getStyleItems())})})(e,t),((e,t)=>{const o=UN(t,ZN(e));e.ui.registry.addNestedMenuItem("blocks",{text:"Blocks",onSetup:XD(e),getSubmenuItems:()=>o.items.validateItems(o.getStyleItems())})})(e,t),((e,t)=>{const o=UN(t,gz(e));e.ui.registry.addNestedMenuItem("fontsize",{text:"Font sizes",onSetup:XD(e),getSubmenuItems:()=>o.items.validateItems(o.getStyleItems())})})(e,t)})(e,t),(e=>{(e=>{e.ui.registry.addMenuItem("undo",{text:"Undo",icon:"undo",shortcut:"Meta+Z",onSetup:aV(e,"hasUndo"),onAction:ZD(e,"undo")}),e.ui.registry.addMenuItem("redo",{text:"Redo",icon:"redo",shortcut:"Meta+Y",onSetup:aV(e,"hasRedo"),onAction:ZD(e,"redo")})})(e),(e=>{e.ui.registry.addButton("undo",{tooltip:"Undo",icon:"undo",enabled:!1,onSetup:aV(e,"hasUndo"),onAction:ZD(e,"undo"),shortcut:"Meta+Z"}),e.ui.registry.addButton("redo",{tooltip:"Redo",icon:"redo",enabled:!1,onSetup:aV(e,"hasRedo"),onAction:ZD(e,"redo"),shortcut:"Meta+Y"})})(e)})(e),(e=>{(e=>{e.addCommand("mceApplyTextcolor",(t,o)=>{((e,t,o)=>{e.undoManager.transact(()=>{e.focus(),e.formatter.apply(t,{value:o}),e.nodeChanged()})})(e,t,o)}),e.addCommand("mceRemoveTextcolor",t=>{((e,t)=>{e.undoManager.transact(()=>{e.focus(),e.formatter.remove(t,{value:null},void 0,!0),e.nodeChanged()})})(e,t)})})(e);const t=pM(e),o=hM(e),n=ye(t),s=ye(o);OM(e,"forecolor","forecolor",n),OM(e,"backcolor","hilitecolor",s),_M(e,"forecolor","forecolor","Text color",n),_M(e,"backcolor","hilitecolor","Background color",s)})(e),(e=>{(e=>{e.ui.registry.addButton("visualaid",{tooltip:"Visual aids",text:"Visual aids",onAction:ZD(e,"mceToggleVisualAid"),context:"any"})})(e),(e=>{e.ui.registry.addToggleMenuItem("visualaid",{text:"Visual aids",onSetup:iV(e),onAction:ZD(e,"mceToggleVisualAid"),context:"any"})})(e)})(e),(e=>{(e=>{e.ui.registry.addButton("outdent",{tooltip:"Decrease indent",icon:"outdent",onSetup:oV(e),onAction:ZD(e,"outdent")}),e.ui.registry.addButton("indent",{tooltip:"Increase indent",icon:"indent",onSetup:XD(e,()=>e.queryCommandState("indent")),onAction:ZD(e,"indent")})})(e)})(e),tV(e),(e=>{const t=ye(zC(e)),o=()=>e.execCommand("mceTogglePlainTextPaste");e.ui.registry.addToggleButton("pastetext",{active:!1,icon:"paste-text",tooltip:"Paste as text",onAction:o,onSetup:nV(e,t)}),e.ui.registry.addToggleMenuItem("pastetext",{text:"Paste as text",icon:"paste-text",onAction:o,onSetup:nV(e,t)})})(e),(e=>{e.ui.registry.addContext("editable",()=>e.selection.isEditable()),e.ui.registry.addContext("mode",t=>e.mode.get()===t),e.ui.registry.addContext("any",E),e.ui.registry.addContext("formatting",t=>e.formatter.canApply(t)),e.ui.registry.addContext("insert",t=>e.schema.isValidChild(e.selection.getNode().tagName,t))})(e)},cV=e=>r(e)?e.split(/[ ,]/):e,dV=e=>t=>t.options.get(e),uV=dV("contextmenu_never_use_native"),mV=dV("contextmenu_avoid_overlap"),gV=e=>{const t=e.ui.registry.getAll().contextMenus,o=e.options.get("contextmenu");return e.options.isSet("contextmenu")?o:P(o,e=>be(t,e))},pV=(e,t)=>({type:"makeshift",x:e,y:t}),hV=e=>"longpress"===e.type||0===e.type.indexOf("touch"),fV=(e,t)=>"contextmenu"===t.type||"longpress"===t.type?e.inline?(e=>{if(hV(e)){const t=e.touches[0];return pV(t.pageX,t.pageY)}return pV(e.pageX,e.pageY)})(t):((e,t)=>{const o=XS.DOM.getPos(e);return((e,t,o)=>pV(e.x+t,e.y+o))(t,o.x,o.y)})(e.getContentAreaContainer(),(e=>{if(hV(e)){const t=e.touches[0];return pV(t.clientX,t.clientY)}return pV(e.clientX,e.clientY)})(t)):bV(e),bV=e=>({type:"selection",root:ct(e.selection.getNode())}),vV=(e,t,o)=>{switch(o){case"node":return(e=>({type:"node",node:A.some(ct(e.selection.getNode())),root:ct(e.getBody())}))(e);case"point":return fV(e,t);case"selection":return bV(e)}},xV=(e,t,o,n,s,r)=>{const a=o(),i=vV(e,t,r);vI(a,WO.CLOSE_ON_EXECUTE,n,{isHorizontalMenu:!1,search:A.none()}).map(e=>{t.preventDefault(),dy.showMenuAt(s,{anchor:i},{menu:{markers:s_("normal")},data:e})})},yV={onLtr:()=>[oc,Jl,Ql,Zl,ec,tc,kc,Oc,Cc,wc,Sc,yc],onRtl:()=>[oc,Ql,Jl,ec,Zl,tc,kc,Oc,Sc,yc,Cc,wc]},wV={valignCentre:[],alignCentre:[],alignLeft:["tox-pop--align-left"],alignRight:["tox-pop--align-right"],right:["tox-pop--right"],left:["tox-pop--left"],bottom:["tox-pop--bottom"],top:["tox-pop--top"]},SV=(e,t,o,n,s,r)=>{const a=Qt(),i=a.os.isiOS(),l=a.os.isMacOS(),c=a.os.isAndroid(),d=a.deviceType.isTouch(),u=()=>{const a=o();((e,t,o,n,s,r,a)=>{const i=((e,t,o)=>{const n=vV(e,t,o);return{bubble:Ml(0,"point"===o?12:0,wV),layouts:yV,overrides:{maxWidthFunction:Rc(),maxHeightFunction:Fc()},...n}})(e,t,r);vI(o,WO.CLOSE_ON_EXECUTE,n,{isHorizontalMenu:!0,search:A.none()}).map(o=>{t.preventDefault();const l=a?Lc.HighlightMenuAndItem:Lc.HighlightNone;dy.showMenuWithinBounds(s,{anchor:i},{menu:{markers:s_("normal"),highlightOnOpen:l},data:o,type:"horizontal"},()=>A.some(jz(e,n.shared,"node"===r?"node":"selection"))),e.dispatch(Mz)})})(e,t,a,n,s,r,!(c||i||l&&d))};if((l||i)&&"node"!==r){const o=()=>{(e=>{const t=e.selection.getRng(),o=()=>{YS.setEditorTimeout(e,()=>{e.selection.setRng(t)},10),r()};e.once("touchend",o);const n=e=>{e.preventDefault(),e.stopImmediatePropagation()};e.on("mousedown",n,!0);const s=()=>r();e.once("longpresscancel",s);const r=()=>{e.off("touchend",o),e.off("longpresscancel",s),e.off("mousedown",n)}})(e),u()};((e,t)=>{const o=e.selection;if(o.isCollapsed()||t.touches.length<1)return!1;{const n=t.touches[0],s=o.getRng();return Ds(e.getWin(),Cs.domRange(s)).exists(e=>e.left<=n.clientX&&e.right>=n.clientX&&e.top<=n.clientY&&e.bottom>=n.clientY)}})(e,t)?o():(e.once("selectionchange",o),e.once("touchend",()=>e.off("selectionchange",o)))}else u()},CV=e=>r(e)?"|"===e:"separator"===e.type,kV={type:"separator"},OV=e=>{const t=e=>({text:e.text,icon:e.icon,enabled:e.enabled,shortcut:e.shortcut});if(r(e))return e;switch(e.type){case"separator":return kV;case"submenu":return{type:"nestedmenuitem",...t(e),getSubmenuItems:()=>{const t=e.getSubmenuItems();return r(t)?t:V(t,OV)}};default:const o=e;return{type:"menuitem",...t(o),onAction:v(o.onAction)}}},_V=(e,t)=>{if(0===t.length)return e;const o=oe(e).filter(e=>!CV(e)).fold(()=>[],e=>[kV]);return e.concat(o).concat(t).concat([kV])},TV=(e,t)=>!(e=>"longpress"===e.type||be(e,"touches"))(t)&&(2!==t.button||t.target===e.getBody()&&""===t.pointerType),EV=(e,t)=>TV(e,t)?e.selection.getStart(!0):t.target,AV=(e,t,o)=>{const n=Qt().deviceType.isTouch,s=Pg(dy.sketch({dom:{tag:"div"},lazySink:t,onEscape:()=>e.focus(),onShow:()=>o.setContextMenuState(!0),onHide:()=>o.setContextMenuState(!1),fireDismissalEventInstead:{},inlineBehaviours:hd([wd("dismissContextMenu",[Zc(ri(),(t,o)=>{zb.close(t),e.focus()})])])})),a=()=>dy.hide(s),i=t=>{if(uV(e)&&t.preventDefault(),((e,t)=>t.ctrlKey&&!uV(e))(e,t)||(e=>0===gV(e).length)(e))return;const a=((e,t)=>{const o=mV(e),n=TV(e,t)?"selection":"point";if(tt(o)){const s=EV(e,t);return hs(ct(s),o)?"node":n}return n})(e,t);(n()?SV:xV)(e,t,()=>{const o=EV(e,t),n=e.ui.registry.getAll(),s=gV(e);return((e,t,o)=>{const n=W(t,(t,n)=>fe(e,n.toLowerCase()).map(e=>{const n=e.update(o);if(r(n)&&tt(et(n)))return _V(t,n.split(" "));if(l(n)&&n.length>0){const e=V(n,OV);return _V(t,e)}return t}).getOrThunk(()=>t.concat([n])),[]);return n.length>0&&CV(n[n.length-1])&&n.pop(),n})(n.contextMenus,s,o)},o,s,a)};e.on("init",()=>{const t="ResizeEditor ScrollContent ScrollWindow longpresscancel"+(n()?"":" ResizeWindow");e.on(t,a),e.on("longpress contextmenu",i)})},DV=(e,t,o,n,s,r)=>e.fold(()=>Wh.snap({sensor:Jp(o-20,n-20),range:Bn(s,r),output:Jp(A.some(o),A.some(n)),extra:{td:t}}),e=>{const s=o-20,r=n-20,a=e.element.dom.getBoundingClientRect();return Wh.snap({sensor:Jp(s,r),range:Bn(40,40),output:Jp(A.some(o-a.width/2),A.some(n-a.height/2)),extra:{td:t}})}),MV=(e,t,o)=>({getSnapPoints:e,leftAttr:"data-drag-left",topAttr:"data-drag-top",onSensor:(e,n)=>{const s=n.td;((e,t)=>e.exists(e=>wt(e,t)))(t.get(),s)||(t.set(s),o(s))},mustSnap:!0}),BV=e=>Dv(Wv.sketch({dom:{tag:"div",classes:["tox-selector"]},buttonBehaviours:hd([Wh.config({mode:"mouseOrTouch",blockerClass:"blocker",snaps:e}),Ev.config({})]),eventOrder:{mousedown:["dragging","alloy.base.behaviour"],touchstart:["dragging","alloy.base.behaviour"]}})),IV=(e,t)=>{const o=ye([]),n=ye([]),s=ye(!1),r=Ye(),a=Ye(),i=e=>{const o=Ps(e);return DV(u.getOpt(t),e,o.x,o.y,o.width,o.height)},l=e=>{const o=Ps(e);return DV(m.getOpt(t),e,o.right,o.bottom,o.width,o.height)},c=MV(()=>V(o.get(),e=>i(e)),r,t=>{a.get().each(o=>{e.dispatch("TableSelectorChange",{start:t,finish:o})})}),d=MV(()=>V(n.get(),e=>l(e)),a,t=>{r.get().each(o=>{e.dispatch("TableSelectorChange",{start:o,finish:t})})}),u=BV(c),m=BV(d),g=Pg(u.asSpec()),p=Pg(m.asSpec()),h=(t,o,n,s)=>{const r=n(o);Wh.snapTo(t,r),((t,o)=>{const n=o.dom.getBoundingClientRect();wn(t.element,"display");const r=go(ct(e.getBody())).dom.innerHeight,a=n[s]<0,i=((e,t)=>e[s]>t)(n,r);(a||i)&&gn(t.element,"display","none")})(t,o)},f=e=>h(g,e,i,"top"),b=e=>h(p,e,l,"bottom");if(Qt().deviceType.isTouch()){const i=e=>V(e,ct);e.on("TableSelectionChange",e=>{s.get()||(jm(t,g),jm(t,p),s.set(!0));const l=ct(e.start),c=ct(e.finish);r.set(l),a.set(c),A.from(e.otherCells).each(e=>{o.set(i(e.upOrLeftCells)),n.set(i(e.downOrRightCells)),f(l),b(c)})}),e.on("ResizeEditor ResizeWindow ScrollContent",()=>{r.get().each(f),a.get().each(b)}),e.on("TableSelectionClear",()=>{s.get()&&(qm(g),qm(p),s.set(!1)),r.clear(),a.clear()})}},FV=e=>"BR"===e.nodeName||!!e.getAttribute("data-mce-bogus")||"bookmark"===e.getAttribute("data-mce-type"),RV=(e,t,o)=>{const n=t.delimiter??"\u203a",s=()=>""!==e.queryCommandValue("ToggleView"),r=()=>o.isDisabled()||s(),a=()=>{const e=o.checkUiComponentContext("any");return{contextType:e.contextType,shouldDisable:e.shouldDisable||s()}};return{dom:{tag:"div",classes:["tox-statusbar__path"],attributes:{role:"group","aria-label":o.translate("Element Path")}},behaviours:hd([Im.config({mode:"flow",selector:"div[role=button]"}),gp.config({disabled:r}),ZA(a),iv.config({}),ug.config({}),wd("elementPathEvents",[id((t,s)=>{e.shortcuts.add("alt+F11","focus statusbar elementpath",()=>Im.focusIn(t)),e.on("NodeChange",s=>{const i=(t=>{const o=[];let n=t.length;for(;n-- >0;){const s=t[n];if(1===s.nodeType&&!FV(s)){const t=$D(e,s);if(t.isDefaultPrevented()||o.push({name:t.name,element:s}),t.isPropagationStopped())break}}return o})(s.parents),l=i.length>0?W(i,(t,s,i)=>{const l=((t,n,s)=>Wv.sketch({dom:{tag:"div",classes:["tox-statusbar__path-item"],attributes:{"data-index":s}},components:[zg(t)],action:t=>{e.focus(),e.selection.select(n),e.nodeChanged()},buttonBehaviours:hd([Tv.config({...o.tooltips.getConfig({tooltipText:o.translate(["Select the {0} element",n.nodeName.toLowerCase()]),onShow:(e,t)=>{qs(e.element,t.element)},onHide:e=>{var t;t=e.element,Zo(t,"aria-describedby")}})}),PA(r),ZA(a)])}))(s.name,s.element,i);return 0===i?t.concat([l]):t.concat([{dom:{tag:"div",classes:["tox-statusbar__path-divider"],attributes:{"aria-hidden":!0}},components:[zg(` ${n} `)]},l])},[]):[];ug.set(t,l)}),e.on("ToggleView",()=>{const e=r();gp.set(t,e),L(ug.contents(t),t=>{t.hasConfigured(gp)&&gp.set(t,e)})})})])]),components:[]}};var NV;!function(e){e[e.None=0]="None",e[e.Both=1]="Both",e[e.Vertical=2]="Vertical"}(NV||(NV={}));const zV=e=>{const t=ct(e.getContainer());return{height:On(t),width:An(t)}},VV=(e,t,o)=>{const n=ct(e.getContainer()),s=((e,t,o,n)=>{const s=SR(n.height+t.top,lC(e),dC(e));return o===NV.Both?{height:s,width:SR(n.width+t.left,iC(e),cC(e))}:{height:s}})(e,t,o,zV(e));return ie(s,(e,t)=>{h(e)&&gn(n,t,wR(e))}),(e=>{e.dispatch("ResizeEditor")})(e),s},LV=(e,t,o,n,s)=>{Yo(e.element,"aria-valuetext",((e,t)=>t===NV.Both?AO.translate(["Editor's height: {0} pixels, Editor's width: {1} pixels",e.height,e.width]):AO.translate(["Editor's height: {0} pixels",e.height]))(t,o)),o===NV.Vertical&&(Yo(e.element,"aria-valuenow",t.height),Yo(e.element,"aria-valuemin",n.getOr(0)),Yo(e.element,"aria-valuemax",s.getOr(t.height+20)))},HV=(e,t,o,n,s,r,a)=>{const i=Bn(20*n,20*s),l=VV(e,i,o);return LV(t,l,o,r,a),A.some(!0)},PV=(e,t)=>{const o=()=>{const o=[],n=jC(e),s=FC(e),r=RC(e)||e.hasPlugin("wordcount");return s&&o.push(RV(e,{},t)),n&&o.push((()=>{const e=aD("Alt+0");return{dom:{tag:"div",classes:["tox-statusbar__help-text"]},components:[zg(AO.translate(["Press {0} for help",e]))]}})()),r&&o.push((()=>{const o=[];return e.hasPlugin("wordcount")&&o.push(((e,t)=>{const o=(e,o,n)=>ug.set(e,[zg(t.translate(["{0} "+n,o[n]]))]);return Wv.sketch({dom:{tag:"button",classes:["tox-statusbar__wordcount"]},components:[],buttonBehaviours:hd([PA(t.isDisabled),ZA(()=>t.checkUiComponentContext("any")),iv.config({}),ug.config({}),mf.config({store:{mode:"memory",initialValue:{mode:"words",count:{words:0,characters:0}}}}),wd("wordcount-events",[dd(e=>{const t=mf.getValue(e),n="words"===t.mode?"characters":"words";mf.setValue(e,{mode:n,count:t.count}),o(e,t.count,n)}),id(t=>{e.on("wordCountUpdate",e=>{const{mode:n}=mf.getValue(t);mf.setValue(t,{mode:n,count:e.wordCount}),o(t,e.wordCount,n)})})])]),eventOrder:{[Ga()]:["disabling","alloy.base.behaviour","wordcount-events"]}})})(e,t)),RC(e)&&o.push({dom:{tag:"span",classes:["tox-statusbar__branding"]},components:[{dom:{tag:"a",attributes:{href:"https://www.tiny.cloud/powered-by-tiny?utm_campaign=poweredby&utm_source=tiny&utm_medium=referral&utm_content=v7",rel:"noopener",target:"_blank","aria-label":e.translate(["Build with {0}","TinyMCE"])},innerHtml:e.translate(["Build with {0}",'\n'.trim()])},behaviours:hd([_d.config({})])}]}),{dom:{tag:"div",classes:["tox-statusbar__right-container"]},components:o}})()),o.length>0?[{dom:{tag:"div",classes:["tox-statusbar__text-container",...(()=>{const e="tox-statusbar__text-container--flex-start",t="tox-statusbar__text-container--flex-end";if(n){const o="tox-statusbar__text-container-3-cols";return r||s?r&&!s?[o,t]:[o,e]:[o,"tox-statusbar__text-container--space-around"]}return[r&&!s?t:e]})()]},components:o}]:[]};return{dom:{tag:"div",classes:["tox-statusbar"]},components:(()=>{const n=o(),s=((e,t)=>{const o=(e=>{const t=NC(e);return!1===t?NV.None:"both"===t?NV.Both:NV.Vertical})(e);if(o===NV.None)return A.none();const n=lC(e),s=dC(e),r=o===NV.Both?AO.translate("Press the arrow keys to resize the editor."):AO.translate("Press the Up and Down arrow keys to resize the editor."),a=o===NV.Both?"tox-statusbar__resize-cursor-both":"tox-statusbar__resize-cursor-default";return A.some(VO("resize-handle",{tag:"div",classes:["tox-statusbar__resize-handle",a],attributes:{"aria-label":t.translate(r),"data-mce-name":"resize-handle",role:"separator"},behaviours:[Wh.config({mode:"pointer",repositionTarget:!1,onDragStart:e=>{Tv.immediateOpenClose(e,!1),Tv.setEnabled(e,!1)},onDrag:(t,r,a)=>{const i=VV(e,a,o);LV(t,i,o,n,s)},onDrop:e=>{Tv.setEnabled(e,!0)}}),Im.config({mode:"special",onLeft:t=>HV(e,t,o,-1,0,n,s),onRight:t=>HV(e,t,o,1,0,n,s),onUp:t=>HV(e,t,o,0,-1,n,s),onDown:t=>HV(e,t,o,0,1,n,s)}),iv.config({}),_d.config({}),Tv.config(t.tooltips.getConfig({tooltipText:t.translate("Resize")})),wd("set-aria-valuetext",[id(t=>{const r=()=>{LV(t,zV(e),o,n,s)};e._skinLoaded?r():e.once("SkinLoaded",r)})])],eventOrder:{[ni()]:["add-focusable","set-aria-valuetext"]}},t.icons))})(e,t);return n.concat(s.toArray())})()}},UV=(e,t)=>t.get().getOrDie(`UI for ${e} has not been rendered`),WV=(e,t)=>{const o=e.inline,n=o?Dz:kz,s=rk(e)?vR:lR,r=(()=>{const e=Ye(),t=Ye(),o=Ye();return{dialogUi:e,popupUi:t,mainUi:o,getUiMotherships:()=>{const o=e.get().map(e=>e.mothership),n=t.get().map(e=>e.mothership);return o.fold(()=>n.toArray(),e=>n.fold(()=>[e],t=>wt(e.element,t.element)?[e]:[e,t]))},lazyGetInOuterOrDie:(e,t)=>()=>o.get().bind(e=>t(e.outerContainer)).getOrDie(`Could not find ${e} element in OuterContainer`)}})(),a=Ye(),i=Ye(),l=Ye(),c=Qt().deviceType.isTouch()?["tox-platform-touch"]:[],d=ek(e),u=fC(e),m=Dv({dom:{tag:"div",classes:["tox-anchorbar"]}}),g=Dv({dom:{tag:"div",classes:["tox-bottom-anchorbar"]}}),p=()=>r.mainUi.get().map(e=>e.outerContainer).bind(gN.getHeader),h=r.lazyGetInOuterOrDie("anchor bar",m.getOpt),f=r.lazyGetInOuterOrDie("bottom anchor bar",g.getOpt),b=r.lazyGetInOuterOrDie("toolbar",gN.getToolbar),v=r.lazyGetInOuterOrDie("throbber",gN.getThrobber),x=((e,t,o,n)=>{const s=ye(!1),r=(e=>{const t=ye(ek(e)?"bottom":"top");return{isPositionedAtTop:()=>"top"===t.get(),getDockingMode:t.get,setDockingMode:t.set}})(t),a={icons:()=>t.ui.registry.getAll().icons,menuItems:()=>t.ui.registry.getAll().menuItems,translate:AO.translate,isDisabled:()=>!t.ui.isEnabled(),getOption:t.options.get,tooltips:MF(e.dialog),checkUiComponentContext:e=>{if(sC(t))return{contextType:"disabled",shouldDisable:!0};const[o,n=""]=e.split(":"),s=t.ui.registry.getAll().contexts;return{contextType:o,shouldDisable:!fe(s,o).fold(()=>fe(s,"mode").map(e=>e("design")).getOr(!1),e=>"!"===n.charAt(0)?!e(n.slice(1)):e(n))}}},i=oR(t),l=(e=>{const t=t=>()=>e.formatter.match(t),o=t=>()=>{const o=e.formatter.get(t);return void 0!==o?A.some({tag:o.length>0&&(o[0].inline||o[0].block)||"div",styles:e.dom.parseStyle(e.formatter.getCssText(t))}):A.none()},n=ye([]),s=ye([]),r=ye(!1);return e.on("PreInit",s=>{const r=EF(e),a=DF(e,r,t,o);n.set(a)}),e.on("addStyleModifications",n=>{const a=DF(e,n.items,t,o);s.set(a),r.set(n.replace)}),{getData:()=>{const e=r.get()?[]:n.get(),t=s.get();return e.concat(t)}}})(t),c=(e=>({colorPicker:xF(e),hasCustomColors:yF(e),getColors:wF(e),getColorCols:SF(e)}))(t),d=(e=>({isDraggableModal:CF(e)}))(t),u={shared:{providers:a,anchors:vF(t,o,n,r.isPositionedAtTop),header:r},urlinput:i,styles:l,colorinput:c,dialog:d,isContextMenuOpen:()=>s.get(),setContextMenuState:e=>s.set(e)},m=e=>A.none(),g={...u,shared:{...u.shared,interpreter:e=>uF(e,{},g,m),getSink:e.popup}},p={...u,shared:{...u.shared,interpreter:e=>uF(e,{},p,m),getSink:e.dialog}};return{popup:g,dialog:p}})({popup:()=>Ae.fromOption(r.popupUi.get().map(e=>e.sink),"(popup) UI has not been rendered"),dialog:()=>Ae.fromOption(r.dialogUi.get().map(e=>e.sink),"UI has not been rendered")},e,h,f),y=()=>{const t=(()=>{const t={attributes:{[zc]:d?Nc.BottomToTop:Nc.TopToBottom}},o=gN.parts.menubar({dom:{tag:"div",classes:["tox-menubar"]},backstage:x.popup,onEscape:()=>{e.focus()}}),n=gN.parts.toolbar({dom:{tag:"div",classes:["tox-toolbar"]},getSink:x.popup.shared.getSink,providers:x.popup.shared.providers,onEscape:()=>{e.focus()},onToolbarToggled:t=>{((e,t)=>{e.dispatch("ToggleToolbarDrawer",{state:t})})(e,t)},type:u,lazyToolbar:b,lazyHeader:()=>p().getOrDie("Could not find header element"),...t}),s=gN.parts["multiple-toolbar"]({dom:{tag:"div",classes:["tox-toolbar-overlord"]},providers:x.popup.shared.providers,onEscape:()=>{e.focus()},type:u}),r=ZC(e),a=JC(e),i=YC(e),l=WC(e),c=r||a||i,g=[(h=l,gN.parts.promotion({dom:{tag:"div",classes:["tox-promotion"]},promotionLink:h})),o];var h;return gN.parts.header({dom:{tag:"div",classes:["tox-editor-header"].concat(c?[]:["tox-editor-header--empty"]),...t},components:G([i?g:[],r?[s]:a?[n]:[],ok(e)?[]:[m.asSpec()]]),sticky:rk(e),editor:e,sharedBackstage:x.popup.shared})})(),n={dom:{tag:"div",classes:["tox-sidebar-wrap"]},components:[gN.parts.socket({dom:{tag:"div",classes:["tox-edit-area"]}}),gN.parts.sidebar({dom:{tag:"div",classes:["tox-sidebar"]},configuredSidebarWidth:LC(e)})],behaviours:LA([Zc(RR,(e,t)=>{(t.event.visible&&t.event.resizable?ns:rs)(e.element,"tox-sidebar-wrap--resizable")})])},s=gN.parts.throbber({dom:{tag:"div",classes:["tox-throbber"]},backstage:x.popup}),r=gN.parts.viewWrapper({backstage:x.popup}),i=IC(e)&&!o?A.some(PV(e,x.popup.shared.providers)):A.none(),l=G([d?[]:[t],o?[]:[n],d?[t]:[]]),h=gN.parts.editorContainer({components:G([l,o?[]:[g.asSpec()]])}),f=sk(e),v={role:"application",...AO.isRtl()?{dir:"rtl"}:{},...f?{"aria-hidden":"true"}:{}},y=Pg(gN.sketch({dom:{tag:"div",classes:["tox","tox-tinymce"].concat(o?["tox-tinymce-inline"]:[]).concat(d?["tox-tinymce--toolbar-bottom"]:[]).concat(c),styles:{visibility:"hidden",...f?{opacity:"0",border:"0"}:{}},attributes:v},components:[h,...o?[]:[r,...i.toArray()],s],behaviours:hd([ZA(()=>x.popup.shared.providers.checkUiComponentContext("any")),gp.config({disableClass:"tox-tinymce--disabled"}),Im.config({mode:"cyclic",selector:".tox-menubar, .tox-toolbar, .tox-toolbar__primary, .tox-toolbar__overflow--open, .tox-sidebar__overflow--open, .tox-statusbar__path, .tox-statusbar__wordcount, .tox-statusbar__branding a, .tox-statusbar__resize-handle"})])})),w=Hv(y);return a.set(w),{mothership:w,outerContainer:y}},w=t=>{const o=wR((e=>(e=>{const t=((e,t)=>{if("number"==typeof t)return A.from(t);const o=/^([0-9.]+)(pt|em|px)$/.exec(t.trim());if(o){const t=o[2],n=Number.parseFloat(o[1]);if(Number.isNaN(n)||n<0)return A.none();if("em"===t)return A.from(n*Number.parseFloat(window.getComputedStyle(e.dom).fontSize));if("pt"===t)return A.from(.75*n);if("px"===t)return A.from(n)}return A.none()})(ct(e.targetElm),rC(e)),o=lC(e),n=dC(e);return t.map(e=>SR(e,o,n))})(e).getOr(rC(e)))(e)),n=wR((e=>Oz(e).getOr(aC(e)))(e));return e.inline||(yn("div","width",n)&&gn(t.element,"width",n),yn("div","height",o)?gn(t.element,"height",o):gn(t.element,"height","400px")),o},S=t=>{const{mainUi:o,popupUi:r,uiMotherships:a}=t;le(bC(e),(t,o)=>{e.ui.registry.addGroupToolbarButton(o,t)});const{buttons:i,menuItems:l,contextToolbars:c,sidebars:d,views:m}=e.ui.registry.getAll(),g=QC(e),h={menuItems:l,menus:ik(e),menubar:CC(e),toolbar:g.getOrThunk(()=>kC(e)),allowToolbarGroups:u===QS.floating,buttons:i,sidebar:d,views:m};var f;f=o.outerContainer,e.addShortcut("alt+F9","focus menubar",()=>{gN.focusMenubar(f)}),e.addShortcut("alt+F10","focus toolbar",()=>{gN.focusToolbar(f)}),e.addCommand("ToggleToolbarDrawer",(e,t,o)=>{t?.skipFocus?(console.warn(nR.skipFocus,(new Error).stack),gN.toggleToolbarDrawerWithoutFocusing(f)):o?.skip_focus?gN.toggleToolbarDrawerWithoutFocusing(f):gN.toggleToolbarDrawer(f)}),e.addQueryStateHandler("ToggleToolbarDrawer",()=>gN.isToolbarDrawerToggled(f)),e.on("blur",()=>{fC(e)===QS.floating&&gN.isToolbarDrawerToggled(f)&&gN.toggleToolbarDrawerWithoutFocusing(f)}),((e,t,o)=>{const n=(e,n)=>{L([t,...o],t=>{t.broadcastEvent(e,n)})},s=(e,n)=>{L([t,...o],t=>{t.broadcastOn([e],n)})},r=e=>s(zd(),{target:e.target}),a=e=>{s(Nd(),{closedTooltip:()=>{e.preventDefault()}})},i=No(),l=Io(i,"touchstart",r),c=Io(i,"touchmove",e=>n(Za(),e)),d=Io(i,"touchend",e=>n(ei(),e)),u=Io(i,"mousedown",r),m=Io(i,"mouseup",e=>{0===e.raw.button&&s(Ld(),{target:e.target})}),g=e=>s(zd(),{target:ct(e.target)}),p=e=>{0===e.button&&s(Ld(),{target:ct(e.target)})},h=()=>{L(e.editorManager.get(),t=>{e!==t&&t.dispatch("DismissPopups",{relatedTarget:e})})},f=e=>n(ti(),Ro(e)),b=e=>{s(Vd(),{}),n(oi(),Ro(e))},v=Oo(ct(e.getElement())),x=Fo(v,"scroll",o=>{requestAnimationFrame(()=>{if(null!=e.getContainer()){const s=gk(e,t.element).map(e=>[e.element,...e.others]).getOr([]);R(s,e=>wt(e,o.target))&&(e.dispatch("ElementScroll",{target:o.target.dom}),n(ci(),o))}})}),y=()=>s(Vd(),{}),w=t=>{t.state&&s(zd(),{target:ct(e.getContainer())})},S=e=>{s(zd(),{target:ct(e.relatedTarget.getContainer())})},C=t=>e.dispatch("focusin",t),k=t=>e.dispatch("focusout",t);e.on("PostRender",()=>{e.on("click",g),e.on("tap",g),e.on("mouseup",p),e.on("mousedown",h),e.on("ScrollWindow",f),e.on("ResizeWindow",b),e.on("ResizeEditor",y),e.on("AfterProgressState",w),e.on("DismissPopups",S),e.on("CloseActiveTooltips",a),L([t,...o],e=>{e.element.dom.addEventListener("focusin",C),e.element.dom.addEventListener("focusout",k)})}),e.on("remove",()=>{e.off("click",g),e.off("tap",g),e.off("mouseup",p),e.off("mousedown",h),e.off("ScrollWindow",f),e.off("ResizeWindow",b),e.off("ResizeEditor",y),e.off("AfterProgressState",w),e.off("DismissPopups",S),e.off("CloseActiveTooltips",a),L([t,...o],e=>{e.element.dom.removeEventListener("focusin",C),e.element.dom.removeEventListener("focusout",k)}),u.unbind(),l.unbind(),c.unbind(),d.unbind(),m.unbind(),x.unbind()}),e.on("detach",()=>{L([t,...o],Qm),L([t,...o],e=>e.destroy())})})(e,o.mothership,a),s.setup(e,x.popup.shared,p),lV(e,x.popup),AV(e,x.popup.shared.getSink,x.popup),(e=>{const{sidebars:t}=e.ui.registry.getAll();L(re(t),o=>{const n=t[o],s=()=>He(A.from(e.queryCommandValue("ToggleSidebar")),o);e.ui.registry.addToggleButton(o,{icon:n.icon,tooltip:n.tooltip,onAction:t=>{e.execCommand("ToggleSidebar",!1,o,{skip_focus:!0}),t.setActive(s())},onSetup:t=>{t.setActive(s());const o=()=>t.setActive(s());return e.on("ToggleSidebar",o),()=>{e.off("ToggleSidebar",o)}},context:"any"})})})(e),zR(e,v,x.popup.shared),Zz(e,c,r.sink,{backstage:x.popup}),IV(e,r.sink);const b={targetNode:e.getElement(),height:w(o.outerContainer)};return n.render(e,t,h,x.popup,b)};return{popups:{backstage:x.popup,getMothership:()=>UV("popups",l)},dialogs:{backstage:x.dialog,getMothership:()=>UV("dialogs",i)},renderUI:()=>{const o=y(),n=(()=>{const t=nk(e),o=wt(cn(),t)&&"grid"===fn(t,"display"),n={dom:{tag:"div",classes:["tox","tox-silver-sink","tox-tinymce-aux"].concat(c),attributes:{...AO.isRtl()?{dir:"rtl"}:{}}},behaviours:hd([hb.config({useFixed:()=>s.isDocked(p),getBounds:()=>r.dialogUi.get().bind(({sink:e})=>{const t=Oo(e.element);return ko(t)?A.some(Hs(Eo(t))):A.none()}).getOr(Ws())})])},a={dom:{styles:{width:document.body.clientWidth+"px"}},events:Kc([Zc(oi(),e=>{gn(e.element,"width",document.body.clientWidth+"px")})])},l=Pg(Ve(n,o?a:{})),d=Hv(l);return i.set(d),{sink:l,mothership:d}})(),a=ak(e)?(()=>{const e={dom:{tag:"div",classes:["tox","tox-silver-sink","tox-silver-popup-sink","tox-tinymce-aux"].concat(c),attributes:{...AO.isRtl()?{dir:"rtl"}:{}}},behaviours:hd([hb.config({useFixed:()=>s.isDocked(p),getBounds:()=>t.getPopupSinkBounds()})])},o=Pg(e),n=Hv(o);return l.set(n),{sink:o,mothership:n}})():(e=>(l.set(e.mothership),e))(n);r.dialogUi.set(n),r.popupUi.set(a),r.mainUi.set(o);const d={popupUi:a,dialogUi:n,mainUi:o,uiMotherships:r.getUiMotherships()};return S(d)}}},jV=e=>{const t=[],o={};return ie(e,(e,n)=>{e.fold(()=>{t.push(n)},e=>{o[n]=e})}),t.length>0?Ae.error(t):Ae.value(o)},$V=(e,t,o,n)=>{const s=Dv($x.sketch(s=>({dom:{tag:"div",classes:["tox-form"].concat(e.classes)},components:V(e.items,e=>cF(s,e,t,o,n))})));return{dom:{tag:"div",classes:["tox-dialog__body"]},components:[{dom:{tag:"div",classes:["tox-dialog__body-content"]},components:[s.asSpec()]}],behaviours:hd([Im.config({mode:"acyclic",useTabstopAt:k(PB)}),(r=s,Xg.config({find:r.getOpt})),hB(s,{postprocess:e=>jV(e).fold(e=>(console.error(e),{}),w)}),wd("dialog-body-panel",[Zc(Oa(),(e,t)=>{e.getSystem().broadcastOn([qB],{newFocus:A.some(t.event.target)})})])])};var r},GV=(e,t)=>{gn(e,"height",t+"px"),gn(e,"flex-basis",t+"px")},qV=(e,t,o)=>{Gn(e,'[role="dialog"]').each(e=>{Xn(e,'[role="tablist"]').each(n=>{o.get().map(o=>(gn(t,"height","0"),gn(t,"flex-basis","0"),Math.min(o,((e,t,o)=>{const n=mo(e).dom,s=Gn(e,".tox-dialog-wrap").getOr(e);let r;r="fixed"===fn(s,"position")?Math.max(n.clientHeight,window.innerHeight):Math.max(n.offsetHeight,n.scrollHeight);const a=On(t),i=t.dom.offsetLeft>=o.dom.offsetLeft+An(o)?Math.max(On(o),a):a,l=parseInt(fn(e,"margin-top"),10)||0,c=parseInt(fn(e,"margin-bottom"),10)||0;return r-(On(e)+l+c-i)})(e,t,n)))).each(e=>{GV(t,e)})})})},YV=e=>Xn(e,'[role="tabpanel"]'),XV="send-data-to-section",KV="send-data-to-view",JV=(e,t,o,n)=>{const s=ye({}),r=e=>{const t=mf.getValue(e),o=jV(t).getOr({}),n=s.get(),r=Ve(n,o);s.set(r)},a=e=>{const t=s.get();mf.setValue(e,t)},i=ye(null),l=V(e.tabs,e=>({value:e.name,dom:{tag:"div",classes:["tox-dialog__body-nav-item"]},components:[zg(o.shared.providers.translate(e.title))],view:()=>[$x.sketch(s=>({dom:{tag:"div",classes:["tox-form"]},components:V(e.items,e=>cF(s,e,t,o,n)),formBehaviours:hd([Im.config({mode:"acyclic",useTabstopAt:k(PB)}),wd("TabView.form.events",[id(a),ld(r)]),vb.config({channels:pa([{key:XV,value:{onReceive:r}},{key:KV,value:{onReceive:a}}])})])}))]})),c=e.dynamicHeight?{extraEvents:[],selectFirst:!0}:(e=>{const t=Ye(),o=[id(o=>{const n=o.element;YV(n).each(s=>{gn(s,"visibility","hidden"),o.getSystem().getByDom(s).toOptional().each(o=>{const n=((e,t,o)=>V(e,(n,s)=>{ug.set(o,e[s].view());const r=t.dom.getBoundingClientRect();return ug.set(o,[]),r.height}))(e,s,o),r=(e=>te(Z(e,(e,t)=>e>t?-1:e{te(e).each(e=>LS.showTab(t,e.value))})(e,o),requestAnimationFrame(()=>{qV(n,s,t)})})}),Zc(oi(),e=>{const o=e.element;YV(o).each(e=>{qV(o,e,t)})}),Zc(iB,(e,o)=>{const n=e.element;YV(n).each(e=>{const o=Ho(Oo(e));gn(e,"visibility","hidden");const s=vn(e,"height").map(e=>parseInt(e,10));wn(e,"height"),wn(e,"flex-basis");const r=e.dom.getBoundingClientRect().height;s.forall(e=>r>e)?(t.set(r),qV(n,e,t)):s.each(t=>{GV(e,t)}),wn(e,"visibility"),o.each(zo)})})];return{extraEvents:o,selectFirst:!1}})(l);return LS.sketch({dom:{tag:"div",classes:["tox-dialog__body"]},onChangeTab:(e,t,o)=>{const n=mf.getValue(t);$c(e,aB,{name:n,oldName:i.get()}),i.set(n)},tabs:l,components:[LS.parts.tabbar({dom:{tag:"div",classes:["tox-dialog__body-nav"]},components:[IS.parts.tabs({})],markers:{tabClass:"tox-tab",selectedClass:"tox-dialog__body-nav-item--active"},tabbarBehaviours:hd([iv.config({})])}),LS.parts.tabview({dom:{tag:"div",classes:["tox-dialog__body-content"]}})],selectFirst:c.selectFirst,tabSectionBehaviours:hd([wd("tabpanel",c.extraEvents),Im.config({mode:"acyclic"}),Xg.config({find:e=>te(LS.getViewItems(e))}),fB(A.none(),e=>(e.getSystem().broadcastOn([XV],{}),s.get()),(e,t)=>{s.set(t),e.getSystem().broadcastOn([KV],{})})])})},QV=(e,t,o,n,s,r)=>({dom:{tag:"div",classes:["tox-dialog__content-js"],attributes:{...o.map(e=>({id:e})).getOr({}),...s?{"aria-live":"polite"}:{}}},components:[],behaviours:hd([gB(0),Sb.config({channel:`${jB}-${t}`,updateState:(e,t)=>A.some({isTabPanel:()=>"tabpanel"===t.body.type}),renderComponents:e=>{const t=e.body;return"tabpanel"===t.type?[JV(t,e.initialData,n,r)]:[$V(t,e.initialData,n,r)]},initialData:e})])}),ZV=JS.deviceType.isTouch(),eL=(e,t)=>({dom:{tag:"div",styles:{display:"none"},classes:["tox-dialog__header"]},components:[e,t]}),tL=(e,t)=>yy.parts.close(Wv.sketch({dom:{tag:"button",classes:["tox-button","tox-button--icon","tox-button--naked"],attributes:{type:"button","aria-label":t.translate("Close")}},action:e,buttonBehaviours:hd([iv.config({})])})),oL=()=>yy.parts.title({dom:{tag:"div",classes:["tox-dialog__title"],innerHtml:"",styles:{display:"none"}}}),nL=(e,t)=>yy.parts.body({dom:{tag:"div",classes:["tox-dialog__body"]},components:[{dom:{tag:"div",classes:["tox-dialog__body-content"]},components:[{dom:Av(`

${EO(t.translate(e))}

`)}]}]}),sL=e=>yy.parts.footer({dom:{tag:"div",classes:["tox-dialog__footer"]},components:e}),rL=(e,t)=>[bh.sketch({dom:{tag:"div",classes:["tox-dialog__footer-start"]},components:e}),bh.sketch({dom:{tag:"div",classes:["tox-dialog__footer-end"]},components:t})],aL=e=>{const t="tox-dialog",o=t+"-wrap",n=o+"__backdrop",s=t+"__disable-scroll";return yy.sketch({role:e.role,lazySink:e.lazySink,onEscape:t=>(e.onEscape(t),A.some(!0)),useTabstopAt:e=>!PB(e),firstTabstop:e.firstTabstop,dom:{tag:"div",classes:[t].concat(e.extraClasses),styles:{position:"relative",...e.extraStyles}},components:[e.header,e.body,...e.footer.toArray()],parts:{blocker:{dom:Av(`
`),components:[{dom:{tag:"div",classes:ZV?[n,n+"--opaque"]:[n]}}]}},dragBlockClass:o,modalBehaviours:hd([_d.config({}),wd("dialog-events",e.dialogEvents.concat([ad(Oa(),(e,t)=>{Gg.isBlocked(e)||Im.focusIn(e)}),Zc(ii(),(e,t)=>{e.getSystem().broadcastOn([qB],{newFocus:t.event.newFocus})})])),wd("scroll-lock",[id(()=>{ns(cn(),s)}),ld(()=>{rs(cn(),s)})]),...e.extraBehaviours]),eventOrder:{[Ga()]:["dialog-events"],[ni()]:["scroll-lock","dialog-events","alloy.base.behaviour"],[si()]:["alloy.base.behaviour","dialog-events","scroll-lock"],...e.eventOrder}})},iL=e=>Wv.sketch({dom:{tag:"button",classes:["tox-button","tox-button--icon","tox-button--naked"],attributes:{type:"button","aria-label":e.translate("Close"),"data-mce-name":"close"}},buttonBehaviours:hd([iv.config({}),Tv.config(e.tooltips.getConfig({tooltipText:e.translate("Close")}))]),components:[VO("close",{tag:"span",classes:["tox-icon"]},e.icons)],action:e=>{jc(e,tB)}}),lL=(e,t,o,n)=>({dom:{tag:"h1",classes:["tox-dialog__title"],attributes:{...o.map(e=>({id:e})).getOr({})}},components:[],behaviours:hd([Sb.config({channel:`${WB}-${t}`,initialData:e,renderComponents:e=>[zg(n.translate(e.title))]})])}),cL=()=>({dom:Av('
')}),dL=(e,t,o)=>((e,t,o)=>{const n=yy.parts.title(lL(e,t,A.none(),o)),s=yy.parts.draghandle(cL()),r=yy.parts.close(iL(o)),a=[n].concat(e.draggable?[s]:[]).concat([r]);return bh.sketch({dom:Av('
'),components:a})})({title:o.shared.providers.translate(e),draggable:o.dialog.isDraggableModal()},t,o.shared.providers),uL=(e,t,o,n)=>({dom:{tag:"div",classes:["tox-dialog__busy-spinner"],attributes:{"aria-label":o.translate(e)},styles:{left:"0px",right:"0px",bottom:"0px",top:`${n.getOr(0)}px`,position:"absolute"}},behaviours:t,components:[{dom:Av('
')}]}),mL=(e,t,o)=>({onClose:()=>o.closeWindow(),onBlock:o=>{const n=Xn(e().element,".tox-dialog__header").map(e=>On(e));yy.setBusy(e(),(e,s)=>uL(o.message,s,t,n))},onUnblock:()=>{yy.setIdle(e())}}),gL="tox-dialog--fullscreen",pL="tox-dialog--width-lg",hL="tox-dialog--width-md",fL=e=>{switch(e){case"large":return A.some(pL);case"medium":return A.some(hL);default:return A.none()}},bL=(e,t)=>{const o=ct(t.element.dom);as(o,gL)||(ls(o,[pL,hL]),fL(e).each(e=>ns(o,e)))},vL=(e,t)=>{const o=ct(e.element.dom),n=cs(o),s=j(n,e=>e===pL||e===hL).or(fL(t));((e,t)=>{L(t,t=>{((e,t)=>{const o=Zn(e)?e.dom.classList.toggle(t):((e,t)=>F(es(e),t)?os(e,t):ts(e,t))(e,t);ss(e)})(e,t)})})(o,[gL,...s.toArray()])},xL=(e,t,o)=>Pg(aL({...e,firstTabstop:1,lazySink:o.shared.getSink,extraBehaviours:[vB({}),...e.extraBehaviours],onEscape:e=>{jc(e,tB)},dialogEvents:t,eventOrder:{[$a()]:[Sb.name(),vb.name()],[ni()]:["scroll-lock",Sb.name(),"messages","dialog-events","alloy.base.behaviour"],[si()]:["alloy.base.behaviour","dialog-events","messages",Sb.name(),"scroll-lock"]}})),yL=(e,t={})=>V(e,e=>"menu"===e.type?(e=>{const o=V(e.items,e=>{const o=fe(t,e.name).getOr(ye(!1));return{...e,storage:o}});return{...e,items:o}})(e):e),wL=e=>W(e,(e,t)=>"menu"===t.type?W(t.items,(e,t)=>(e[t.name]=t.storage,e),e):e,{}),SL=(e,t)=>{const o=()=>t.getSystem().isConnected()?Im.focusIn(t):void 0,n=e=>Qo(e,"disabled")||Jo(e,"aria-disabled").exists(e=>"true"===e),s=Oo(t.element),r=Ho(s);Ho(s).fold(o,t=>{n(t)||r.exists(e=>St(t,e)&&n(e))?o():e().toOptional().filter(e=>!St(e.element,t)).each(o)})},CL=(e,t,o)=>[nd(Oa(),HB),e(eB,(e,o,n,s)=>{Lo(s.element)&&Ho(Oo(s.element)).each(Vo),t.onClose(),o.onClose()}),e(tB,(e,t,o,n)=>{t.onCancel(e),jc(n,eB)}),Zc(rB,(e,n)=>{t.onUnblock(),SL(o,e)}),Zc(sB,(e,o)=>t.onBlock(o.event))],kL=(e,t,o)=>{const n=(t,o)=>Zc(t,(t,n)=>{s(t,(s,r)=>{o(e(),s,n.event,t)})}),s=(e,t)=>{Sb.getState(e).get().each(o=>{t(o.internalDialog,e)})};return[...CL(n,t,o),n(nB,(e,t)=>t.onSubmit(e)),n(QM,(e,t,o)=>{t.onChange(e,{name:o.name})}),n(oB,(e,t,n,s)=>{t.onAction(e,{name:n.name,value:n.value}),SL(o,s)}),n(aB,(e,t,o)=>{t.onTabChange(e,{newTabName:o.name,oldTabName:o.oldName})}),ld(t=>{const o=e();mf.setValue(t,o.getData())})]},OL=(e,t)=>{const o=t.map(e=>e.footerButtons).getOr([]),n=H(o,e=>"start"===e.align),s=(e,t)=>bh.sketch({dom:{tag:"div",classes:[`tox-dialog__footer-${e}`]},components:V(t,e=>e.memento.asSpec())});return[s("start",n.pass),s("end",n.fail)]},_L=(e,t,o)=>({dom:Av(''),components:[],behaviours:hd([Sb.config({channel:`${$B}-${t}`,initialData:e,updateState:(e,t)=>{const n=V(t.buttons,e=>{const t=Dv(((e,t)=>XI(e,e.type,t))(e,o));return{name:e.name,align:e.align,memento:t}});return A.some({lookupByName:t=>((e,t,o)=>j(t,e=>e.name===o).bind(t=>t.memento.getOpt(e)))(e,n,t),footerButtons:n})},renderComponents:OL})])}),TL=(e,t,o)=>yy.parts.footer(_L(e,t,o)),EL=(e,t)=>{if(e.getRoot().getSystem().isConnected()){const o=Xg.getCurrent(e.getFormWrapper()).getOr(e.getFormWrapper());return $x.getField(o,t).orThunk(()=>{const o=e.getFooter().bind(e=>Sb.getState(e).get());return o.bind(e=>e.lookupByName(t))})}return A.none()},AL=(e,t,o)=>{const n=t=>{const o=e.getRoot();o.getSystem().isConnected()&&t(o)},s={getData:()=>{const t=e.getRoot(),n=t.getSystem().isConnected()?e.getFormWrapper():t;return{...mf.getValue(n),...le(o,e=>e.get())}},setData:t=>{n(n=>{const r=s.getData(),a=Ve(r,t),i=((e,t)=>{const o=e.getRoot();return Sb.getState(o).get().map(e=>Ir(Br("data",e.dataValidator,t))).getOr(t)})(e,a),l=e.getFormWrapper();mf.setValue(l,i),ie(o,(e,t)=>{be(a,t)&&e.set(a[t])})})},setEnabled:(t,o)=>{EL(e,t).each(o?gp.enable:gp.disable)},focus:t=>{EL(e,t).each(_d.focus)},block:e=>{if(!r(e))throw new Error("The dialogInstanceAPI.block function should be passed a blocking message of type string as an argument");n(t=>{$c(t,sB,{message:e})})},unblock:()=>{n(e=>{jc(e,rB)})},showTab:t=>{n(o=>{const n=e.getBody();Sb.getState(n).get().exists(e=>e.isTabPanel())&&Xg.getCurrent(n).each(e=>{LS.showTab(e,t)})})},redial:r=>{n(n=>{const a=e.getId(),i=t(r),l=yL(i.internalDialog.buttons,o);n.getSystem().broadcastOn([`${UB}-${a}`],i),n.getSystem().broadcastOn([`${WB}-${a}`],i.internalDialog),n.getSystem().broadcastOn([`${jB}-${a}`],i.internalDialog),n.getSystem().broadcastOn([`${$B}-${a}`],{...i.internalDialog,buttons:l}),s.setData(i.initialData)})},close:()=>{n(e=>{jc(e,eB)})},toggleFullscreen:e.toggleFullscreen};return s},DL=(e,t,o,n=!1,s)=>{const r=Ne("dialog"),a=Ne("dialog-label"),i=Ne("dialog-content"),l=e.internalDialog,c=ye(l.size),d=fL(c.get()).toArray(),u=Dv(((e,t,o,n)=>bh.sketch({dom:Av('
'),components:[lL(e,t,A.some(o),n),cL(),iL(n)],containerBehaviours:hd([Wh.config({mode:"mouse",blockerClass:"blocker",getTarget:e=>Kn(e,'[role="dialog"]').getOrDie(),snaps:{getSnapPoints:()=>[],leftAttr:"data-drag-left",topAttr:"data-drag-top"},onDrag:(e,t)=>{e.getSystem().broadcastOn([Vd()],{target:t})}})])}))({title:l.title,draggable:!0},r,a,o.shared.providers)),m=Dv(((e,t,o,n,s,r)=>QV(e,t,A.some(o),n,s,r))({body:l.body,initialData:l.initialData},r,i,o,n,e=>EL(x,e))),g=yL(l.buttons),p=wL(g),h=je(0!==g.length,Dv(((e,t,o)=>_L(e,t,o))({buttons:g},r,o))),f=kL(()=>w,{onBlock:e=>{Gg.block(v,(t,n)=>{const s=u.getOpt(v).map(e=>On(e.element));return uL(e.message,n,o.shared.providers,s)})},onUnblock:()=>{Gg.unblock(v)},onClose:()=>t.closeWindow()},o.shared.getSink),b=Qt().os,v=Pg({dom:{tag:"div",classes:["tox-dialog","tox-dialog-inline",...d],attributes:{role:"dialog",...b.isMacOS()?{"aria-label":l.title}:{"aria-labelledby":a}}},eventOrder:{[$a()]:[Sb.name(),vb.name()],[Ga()]:["execute-on-form"],[ni()]:["reflecting","execute-on-form"]},behaviours:hd([Im.config({mode:"cyclic",onEscape:e=>(jc(e,eB),A.some(!0)),useTabstopAt:e=>!PB(e)&&("button"!==to(e)||"disabled"!==Ko(e,"disabled")),firstTabstop:1}),Sb.config({channel:`${UB}-${r}`,updateState:(e,t)=>(c.set(t.internalDialog.size),bL(t.internalDialog.size,e),s(),A.some(t)),initialData:e}),_d.config({}),wd("execute-on-form",f.concat([ad(Oa(),(e,t)=>{Im.focusIn(e)}),Zc(ii(),(e,t)=>{e.getSystem().broadcastOn([qB],{newFocus:t.event.newFocus})})])),Gg.config({getRoot:()=>A.some(v)}),ug.config({}),vB({})]),components:[u.asSpec(),m.asSpec(),...h.map(e=>e.asSpec()).toArray()]}),x={getId:y(r),getRoot:y(v),getFooter:()=>h.map(e=>e.get(v)),getBody:()=>m.get(v),getFormWrapper:()=>{const e=m.get(v);return Xg.getCurrent(e).getOr(e)},toggleFullscreen:()=>{vL(v,c.get())}},w=AL(x,t.redial,p);return{dialog:v,instanceApi:w}};var ML=tinymce.util.Tools.resolve("tinymce.util.URI");const BL=["insertContent","setContent","execCommand","close","block","unblock"],IL=e=>a(e)&&-1!==BL.indexOf(e.mceAction),FL=(e,t,o,n)=>{const s=Ne("dialog"),i=dL(e.title,s,n),l=(e=>{const t={dom:{tag:"div",classes:["tox-dialog__content-js"]},components:[{dom:{tag:"div",classes:["tox-dialog__body-iframe"]},components:[VB(A.none(),{dom:{tag:"iframe",attributes:{src:e.url}},behaviours:hd([iv.config({}),_d.config({})])})]}],behaviours:hd([Im.config({mode:"acyclic",useTabstopAt:k(PB)})])};return yy.parts.body(t)})(e),c=e.buttons.bind(e=>0===e.length?A.none():A.some(TL({buttons:e},s,n))),u=((e,t,o)=>{const n=(e,t)=>Zc(e,(e,o)=>{s(e,(n,s)=>{t(y,n,o.event,e)})}),s=(e,t)=>{Sb.getState(e).get().each(o=>{t(o,e)})};return[...CL(n,t,o),n(oB,(e,t,o)=>{t.onAction(e,{name:o.name})})]})(0,mL(()=>x,n.shared.providers,t),n.shared.getSink),m={...e.height.fold(()=>({}),e=>({height:e+"px","max-height":e+"px"})),...e.width.fold(()=>({}),e=>({width:e+"px","max-width":e+"px"}))},p=e.width.isNone()&&e.height.isNone()?["tox-dialog--width-lg"]:[],h=new ML(e.url,{base_uri:new ML(window.location.href)}),f=`${h.protocol}://${h.host}${h.port?":"+h.port:""}`,b=qe(),v=[Sb.config({channel:`${UB}-${s}`,updateState:(e,t)=>A.some(t),initialData:e}),wd("messages",[id(()=>{const t=Io(ct(window),"message",t=>{if(h.isSameOrigin(new ML(t.raw.origin))){const n=t.raw.data;IL(n)?((e,t,o)=>{switch(o.mceAction){case"insertContent":e.insertContent(o.content);break;case"setContent":e.setContent(o.content);break;case"execCommand":const n=!!d(o.ui)&&o.ui;e.execCommand(o.cmd,n,o.value);break;case"close":t.close();break;case"block":t.block(o.message);break;case"unblock":t.unblock()}})(o,y,n):(e=>!IL(e)&&a(e)&&be(e,"mceAction"))(n)&&e.onMessage(y,n)}});b.set(t)}),ld(b.clear)]),vb.config({channels:{[GB]:{onReceive:(e,t)=>{Xn(e.element,"iframe").each(e=>{const o=e.dom.contentWindow;g(o)&&o.postMessage(t,f)})}}}})],x=xL({id:s,header:i,body:l,footer:c,extraClasses:p,extraBehaviours:v,extraStyles:m},u,n),y=(e=>{const t=t=>{e.getSystem().isConnected()&&t(e)};return{block:e=>{if(!r(e))throw new Error("The urlDialogInstanceAPI.block function should be passed a blocking message of type string as an argument");t(t=>{$c(t,sB,{message:e})})},unblock:()=>{t(e=>{jc(e,rB)})},close:()=>{t(e=>{jc(e,eB)})},sendMessage:e=>{t(t=>{t.getSystem().broadcastOn([GB],e)})}}})(x);return{dialog:x,instanceApi:y}},RL=(e,t)=>Ir(Br("data",t,e)),NL=e=>hs(e,".tox-alert-dialog")||hs(e,".tox-confirm-dialog"),zL=(e,t,o,n)=>t&&o?[]:[Hp.config({contextual:{lazyContext:()=>A.some(Hs(ct(e.getContentAreaContainer()))),fadeInClass:"tox-dialog-dock-fadein",fadeOutClass:"tox-dialog-dock-fadeout",transitionClass:"tox-dialog-dock-transition",onHide:n},modes:["top"],lazyViewport:t=>gk(e,t.element).map(e=>({bounds:pk(e),optScrollEnv:A.some({currentScrollTop:e.element.dom.scrollTop,scrollElmTop:Fn(e.element).top})})).getOrThunk(()=>({bounds:Ws(),optScrollEnv:A.none()}))})],VL=e=>{const t=e.editor,o=rk(t),n=(e=>{const t=e.shared;return{open:(o,n)=>{const s=()=>{yy.hide(l),n()},r=Dv(XI({context:"any",name:"close-alert",text:"OK",primary:!0,buttonType:A.some("primary"),align:"end",enabled:!0,icon:A.none()},"cancel",e)),a=oL(),i=tL(s,t.providers),l=Pg(aL({role:"alertdialog",lazySink:()=>t.getSink(),header:eL(a,i),body:nL(o,t.providers),footer:A.some(sL(rL([],[r.asSpec()]))),onEscape:s,extraClasses:["tox-alert-dialog"],extraBehaviours:[],extraStyles:{},dialogEvents:[Zc(tB,s),id(e=>{const t=yy.getBody(e);qs(e.element,t.element)})],eventOrder:{}}));yy.show(l);const c=r.get(l);_d.focus(c)}}})(e.backstages.dialog),s=(e=>{const t=e.shared;return{open:(o,n)=>{const s=e=>{yy.hide(c),n(e)},r=Dv(XI({context:"any",name:"yes",text:"Yes",primary:!0,buttonType:A.some("primary"),align:"end",enabled:!0,icon:A.none()},"submit",e)),a=XI({context:"any",name:"no",text:"No",primary:!1,buttonType:A.some("secondary"),align:"end",enabled:!0,icon:A.none()},"cancel",e),i=oL(),l=tL(()=>s(!1),t.providers),c=Pg(aL({role:"alertdialog",lazySink:()=>t.getSink(),header:eL(i,l),body:nL(o,t.providers),footer:A.some(sL(rL([],[a,r.asSpec()]))),onEscape:()=>s(!1),extraClasses:["tox-confirm-dialog"],extraBehaviours:[],extraStyles:{},dialogEvents:[Zc(tB,()=>s(!1)),Zc(nB,()=>s(!0)),id(e=>{const t=yy.getBody(e);qs(e.element,t.element)})],eventOrder:{}}));yy.show(c);const d=r.get(c);_d.focus(d)}}})(e.backstages.dialog),r=(t,o)=>jE.open((t,n,s)=>{const r=n,a=((e,t,o)=>{const n=Ne("dialog"),s=e.internalDialog,r=dL(s.title,n,o),a=ye(s.size),i=fL(a.get()).toArray(),l=((e,t,o,n)=>{const s=QV(e,t,A.none(),o,!1,n);return yy.parts.body(s)})({body:s.body,initialData:s.initialData},n,o,e=>EL(h,e)),c=yL(s.buttons),d=wL(c),u=je(0!==c.length,TL({buttons:c},n,o)),m=kL(()=>f,mL(()=>p,o.shared.providers,t),o.shared.getSink),g={id:n,header:r,body:l,footer:u,extraClasses:i,extraBehaviours:[Sb.config({channel:`${UB}-${n}`,updateState:(e,t)=>(a.set(t.internalDialog.size),bL(t.internalDialog.size,e),A.some(t)),initialData:e})],extraStyles:{}},p=xL(g,m,o),h={getId:y(n),getRoot:y(p),getBody:()=>yy.getBody(p),getFooter:()=>yy.getFooter(p),getFormWrapper:()=>{const e=yy.getBody(p);return Xg.getCurrent(e).getOr(e)},toggleFullscreen:()=>{vL(p,a.get())}},f=AL(h,t.redial,d);return{dialog:p,instanceApi:f}})({dataValidator:s,initialData:r,internalDialog:t},{redial:jE.redial,closeWindow:()=>{yy.hide(a.dialog),o(a.instanceApi)}},e.backstages.dialog);return yy.show(a.dialog),a.instanceApi.setData(r),a.instanceApi},t),a=(n,s,r,a)=>jE.open((n,i,l)=>{const c=RL(i,l),d=Ye(),u=e.backstages.popup.shared.header.isPositionedAtTop(),m=()=>d.on(e=>{dy.reposition(e),o&&u||Hp.refresh(e)}),g=DL({dataValidator:l,initialData:c,internalDialog:n},{redial:jE.redial,closeWindow:()=>{d.on(dy.hide),t.off("ResizeEditor",m),t.off("ScrollWindow",p),d.clear(),r(g.instanceApi)}},e.backstages.popup,a.ariaAttrs,m),p=()=>g.dialog.getSystem().broadcastOn([Vd()],{target:g.dialog.element}),h=Pg(dy.sketch({lazySink:e.backstages.popup.shared.getSink,dom:{tag:"div",classes:[]},fireDismissalEventInstead:a.persistent?{event:"doNotDismissYet"}:{},...u?{}:{fireRepositionEventInstead:{}},inlineBehaviours:hd([wd("window-manager-inline-events",[Zc(ri(),(e,t)=>{jc(g.dialog,tB)})]),...zL(t,o,u,()=>g.dialog.getSystem().broadcastOn([zd()],{target:g.dialog.element}))]),isExtraPart:(e,t)=>NL(t)}));return d.set(h),dy.showWithinBounds(h,Ug(g.dialog),{anchor:s},()=>{const e=t.inline?cn():ct(t.getContainer()),o=Hs(e);return A.some(o)}),o&&u||(Hp.refresh(h),t.on("ResizeEditor",m)),t.on("ScrollWindow",p),g.instanceApi.setData(c),Im.focusIn(g.dialog),g.instanceApi},n),i=(o,n,s,r)=>jE.open((o,a,i)=>{const l=RL(a,i),c=Ye(),d=e.backstages.popup.shared.header.isPositionedAtTop(),u=()=>c.on(e=>{dy.reposition(e),Hp.refresh(e)}),m=DL({dataValidator:i,initialData:l,internalDialog:o},{redial:jE.redial,closeWindow:()=>{c.on(dy.hide),t.off("ResizeEditor ScrollWindow ElementScroll",u),c.clear(),s(m.instanceApi)}},e.backstages.popup,r.ariaAttrs,u),g=Pg(dy.sketch({lazySink:e.backstages.popup.shared.getSink,dom:{tag:"div",classes:[]},fireDismissalEventInstead:r.persistent?{event:"doNotDismissYet"}:{},...d?{}:{fireRepositionEventInstead:{}},inlineBehaviours:hd([wd("window-manager-inline-events",[Zc(ri(),(e,t)=>{jc(m.dialog,tB)})]),Hp.config({contextual:{lazyContext:()=>A.some(Hs(ct(t.getContentAreaContainer()))),fadeInClass:"tox-dialog-dock-fadein",fadeOutClass:"tox-dialog-dock-fadeout",transitionClass:"tox-dialog-dock-transition"},modes:["top","bottom"],lazyViewport:e=>gk(t,e.element).map(e=>({bounds:pk(e),optScrollEnv:A.some({currentScrollTop:e.element.dom.scrollTop,scrollElmTop:Fn(e.element).top})})).getOrThunk(()=>({bounds:Ws(),optScrollEnv:A.none()}))})]),isExtraPart:(e,t)=>NL(t)}));return c.set(g),dy.showWithinBounds(g,Ug(m.dialog),{anchor:n},()=>e.backstages.popup.shared.getSink().toOptional().bind(e=>{const o=gk(t,e.element).map(e=>pk(e)).getOr(Ws()),n=Hs(ct(t.getContentAreaContainer())),s=Us(n,o);return A.some(Ls(s.x,s.y,s.width,s.height-15))})),Hp.refresh(g),t.on("ResizeEditor ScrollWindow ElementScroll ResizeWindow",u),m.instanceApi.setData(l),Im.focusIn(m.dialog),m.instanceApi},o);return{open:(t,o,n)=>{if(!u(o)){if("toolbar"===o.inline)return a(t,e.backstages.popup.shared.anchors.inlineDialog(),n,o);if("bottom"===o.inline)return i(t,e.backstages.popup.shared.anchors.inlineBottomDialog(),n,o);if("cursor"===o.inline)return a(t,e.backstages.popup.shared.anchors.cursor(),n,o)}return r(t,n)},openUrl:(o,n)=>((o,n)=>jE.openUrl(o=>{const s=FL(o,{closeWindow:()=>{yy.hide(s.dialog),n(s.instanceApi)}},t,e.backstages.dialog);return yy.show(s.dialog),s.instanceApi},o))(o,n),alert:(e,t)=>{n.open(e,t)},close:e=>{e.close()},confirm:(e,t)=>{s.open(e,t)}}},LL=e=>{oC(e),(e=>{const t=e.options.register,o=e=>{return f(e,r)?{value:(t=e,aM(t.map((e,t)=>t%2==0?"#"+(e=>{return(t=e,CD(t)?A.some({value:kD(t)}):A.none()).orThunk(()=>LD(e).map(_D)).getOrThunk(()=>{const t=document.createElement("canvas");t.height=1,t.width=1;const o=t.getContext("2d");o.clearRect(0,0,t.width,t.height),o.fillStyle="#FFFFFF",o.fillStyle=e,o.fillRect(0,0,1,1);const n=o.getImageData(0,0,1,1).data,s=n[0],r=n[1],a=n[2],i=n[3];return _D(FD(s,r,a,i))});var t})(e).value:e))),valid:!0}:{valid:!1,message:"Must be an array of strings."};var t},n=e=>h(e)&&e>0?{value:e,valid:!0}:{valid:!1,message:"Must be a positive number."};t("color_map",{processor:o,default:["#BFEDD2","Light Green","#FBEEB8","Light Yellow","#F8CAC6","Light Red","#ECCAFA","Light Purple","#C2E0F4","Light Blue","#2DC26B","Green","#F1C40F","Yellow","#E03E2D","Red","#B96AD9","Purple","#3598DB","Blue","#169179","Dark Turquoise","#E67E23","Orange","#BA372A","Dark Red","#843FA1","Dark Purple","#236FA1","Dark Blue","#ECF0F1","Light Gray","#CED4D9","Medium Gray","#95A5A6","Gray","#7E8C8D","Dark Gray","#34495E","Navy Blue","#000000","Black","#ffffff","White"]}),t("color_map_raw",{processor:e=>f(e,r)?{value:aM(e),valid:!0}:{valid:!1,message:"Must be an array of strings."}}),t("color_map_background",{processor:o}),t("color_map_foreground",{processor:o}),t("color_cols",{processor:n,default:dM(e)}),t("color_cols_foreground",{processor:n,default:uM(e,sM)}),t("color_cols_background",{processor:n,default:uM(e,rM)}),t("custom_colors",{processor:"boolean",default:!0}),t("color_default_foreground",{processor:"string",default:lM}),t("color_default_background",{processor:"string",default:lM})})(e),(e=>{const t=e.options.register;t("contextmenu_avoid_overlap",{processor:"string",default:""}),t("contextmenu_never_use_native",{processor:"boolean",default:!1}),t("contextmenu",{processor:e=>!1===e?{value:[],valid:!0}:r(e)||f(e,r)?{value:cV(e),valid:!0}:{valid:!1,message:"Must be false or a string."},default:"link linkchecker image editimage table spellchecker configurepermanentpen"})})(e)};qS.add("silver",e=>{LL(e);let t=()=>Ws();const{dialogs:o,popups:n,renderUI:s}=WV(e,{getPopupSinkBounds:()=>t()});GM(e,n.backstage.shared);const r=VL({editor:e,backstages:{popup:n.backstage,dialog:o.backstage}}),a=Ye();return{renderUI:()=>{const o=s();return gk(e,n.getMothership().element).each(e=>{t=()=>pk(e)}),o},getWindowManagerImpl:y(r),getNotificationManagerImpl:()=>PO(e,{backstage:n.backstage},n.getMothership(),a),getPromotionElement:()=>Xn(ct(e.getContainer()),".tox-promotion").map(e=>e.dom).getOrNull(),getSinkElement:e=>"dialog"===e?o.getMothership().element.dom:n.getMothership().element.dom}})}(); \ No newline at end of file +function hk(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=Array(t);o2?o-2:0),s=2;s1?t-1:0),n=1;n1?o-1:0),s=1;s2&&void 0!==arguments[2]?arguments[2]:Fk;if(vk&&vk(e,null),!Ik(t))return e;let n=t.length;for(;n--;){let s=t[n];if("string"==typeof s){const e=o(s);e!==s&&(xk(t)||(t[n]=e),s=e)}e[s]=!0}return e}function Jk(e){for(let t=0;t/g),gO=Ck(/\${[\w\W]*/g),pO=Ck(/^data-[\-\w.\u00B7-\uFFFF]+$/),hO=Ck(/^aria-[\-\w]+$/),fO=Ck(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),bO=Ck(/^(?:\w+script|data):/i),vO=Ck(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),xO=Ck(/^html$/i),yO=Ck(/^[a-z][.\w]*(-[.\w]+)+$/i),wO=Ck(/<[/\w!]/g),SO=Ck(/<[/\w]/g),CO=Ck(/<\/no(script|embed|frames)/i),kO=Ck(/\/>/i),OO=function(){return"undefined"==typeof window?null:window},_O=function(e,t,o,n){return jk(e,t)&&Ik(e[t])?Kk(n.base?Qk(n.base):{},e[t],n.transform):o};var TO=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:OO();const o=t=>e(t);if(o.version="3.4.12",o.removed=[],!t||!t.document||9!==t.document.nodeType||!t.Element)return o.isSupported=!1,o;let n=t.document;const s=n,r=s.currentScript;t.DocumentFragment;const a=t.HTMLTemplateElement,i=t.Node,l=t.Element,c=t.NodeFilter;void 0===t.NamedNodeMap&&(t.NamedNodeMap||t.MozNamedAttrMap),t.HTMLFormElement;const d=t.DOMParser,u=t.trustedTypes,m=l.prototype,g=Zk(m,"cloneNode"),p=Zk(m,"remove"),h=Zk(m,"nextSibling"),f=Zk(m,"childNodes"),b=Zk(m,"parentNode"),v=Zk(m,"shadowRoot"),x=Zk(m,"attributes"),y=i&&i.prototype?Zk(i.prototype,"nodeType"):null,w=i&&i.prototype?Zk(i.prototype,"nodeName"):null;if("function"==typeof a){const e=n.createElement("template");e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let S,C,k="",O=!1,_=0;const T=function(){if(_>0)throw qk('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},E=function(e){T(),_++;try{return S.createHTML(e)}finally{_--}},A=n,D=A.implementation,M=A.createNodeIterator,B=A.createDocumentFragment,I=A.getElementsByTagName,F=s.importNode;let R={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};o.isSupported="function"==typeof bk&&"function"==typeof b&&D&&void 0!==D.createHTMLDocument;const N=uO,z=mO,V=gO,L=pO,H=hO,P=bO,U=vO,W=yO;let j=fO,$=null;const G=Kk({},[...eO,...tO,...oO,...sO,...aO]);let q=null;const Y=Kk({},[...iO,...lO,...cO,...dO]);let X=Object.seal(kk(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),K=null,J=null;const Q=Object.seal(kk(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Z=!0,ee=!0,te=!1,oe=!0,ne=!1,se=!0,re=!1,ae=!1,ie=null,le=null,ce=!1,de=!1,ue=!1,me=!1,ge=!0,pe=!1;const he="user-content-";let fe=!0,be=!1,ve={},xe=null;const ye=Kk({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let we=null;const Se=Kk({},["audio","video","img","source","image","track"]);let Ce=null;const ke=Kk({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Oe="http://www.w3.org/1998/Math/MathML",_e="http://www.w3.org/2000/svg",Te="http://www.w3.org/1999/xhtml";let Ee=Te,Ae=!1,De=null;const Me=Kk({},[Oe,_e,Te],Rk),Be=Sk(["mi","mo","mn","ms","mtext"]);let Ie=Kk({},Be);const Fe=Sk(["annotation-xml"]);let Re=Kk({},Fe);const Ne=Kk({},["title","style","font","a","script"]);let ze=null;const Ve=["application/xhtml+xml","text/html"];let Le=null,He=null;const Pe=n.createElement("form"),Ue=function(e){return e instanceof RegExp||e instanceof Function},We=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(He&&He===e)return;e&&"object"==typeof e||(e={}),e=Qk(e),ze=-1===Ve.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Le="application/xhtml+xml"===ze?Rk:Fk,$=_O(e,"ALLOWED_TAGS",G,{transform:Le}),q=_O(e,"ALLOWED_ATTR",Y,{transform:Le}),De=_O(e,"ALLOWED_NAMESPACES",Me,{transform:Rk}),Ce=_O(e,"ADD_URI_SAFE_ATTR",ke,{transform:Le,base:ke}),we=_O(e,"ADD_DATA_URI_TAGS",Se,{transform:Le,base:Se}),xe=_O(e,"FORBID_CONTENTS",ye,{transform:Le}),K=_O(e,"FORBID_TAGS",Qk({}),{transform:Le}),J=_O(e,"FORBID_ATTR",Qk({}),{transform:Le}),ve=!!jk(e,"USE_PROFILES")&&(e.USE_PROFILES&&"object"==typeof e.USE_PROFILES?Qk(e.USE_PROFILES):e.USE_PROFILES),Z=!1!==e.ALLOW_ARIA_ATTR,ee=!1!==e.ALLOW_DATA_ATTR,te=e.ALLOW_UNKNOWN_PROTOCOLS||!1,oe=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,ne=e.SAFE_FOR_TEMPLATES||!1,se=!1!==e.SAFE_FOR_XML,re=e.WHOLE_DOCUMENT||!1,de=e.RETURN_DOM||!1,ue=e.RETURN_DOM_FRAGMENT||!1,me=e.RETURN_TRUSTED_TYPE||!1,ce=e.FORCE_BODY||!1,ge=!1!==e.SANITIZE_DOM,pe=e.SANITIZE_NAMED_PROPS||!1,fe=!1!==e.KEEP_CONTENT,be=e.IN_PLACE||!1,j=function(e){try{return Gk(e,""),!0}catch(e){return!1}}(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:fO,Ee="string"==typeof e.NAMESPACE?e.NAMESPACE:Te,Ie=jk(e,"MATHML_TEXT_INTEGRATION_POINTS")&&e.MATHML_TEXT_INTEGRATION_POINTS&&"object"==typeof e.MATHML_TEXT_INTEGRATION_POINTS?Qk(e.MATHML_TEXT_INTEGRATION_POINTS):Kk({},Be),Re=jk(e,"HTML_INTEGRATION_POINTS")&&e.HTML_INTEGRATION_POINTS&&"object"==typeof e.HTML_INTEGRATION_POINTS?Qk(e.HTML_INTEGRATION_POINTS):Kk({},Fe);const t=jk(e,"CUSTOM_ELEMENT_HANDLING")&&e.CUSTOM_ELEMENT_HANDLING&&"object"==typeof e.CUSTOM_ELEMENT_HANDLING?Qk(e.CUSTOM_ELEMENT_HANDLING):kk(null);if(X=kk(null),jk(t,"tagNameCheck")&&Ue(t.tagNameCheck)&&(X.tagNameCheck=t.tagNameCheck),jk(t,"attributeNameCheck")&&Ue(t.attributeNameCheck)&&(X.attributeNameCheck=t.attributeNameCheck),jk(t,"allowCustomizedBuiltInElements")&&"boolean"==typeof t.allowCustomizedBuiltInElements&&(X.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),Ck(X),ne&&(ee=!1),ue&&(de=!0),ve&&($=Kk({},aO),q=kk(null),!0===ve.html&&(Kk($,eO),Kk(q,iO)),!0===ve.svg&&(Kk($,tO),Kk(q,lO),Kk(q,dO)),!0===ve.svgFilters&&(Kk($,oO),Kk(q,lO),Kk(q,dO)),!0===ve.mathMl&&(Kk($,sO),Kk(q,cO),Kk(q,dO))),Q.tagCheck=null,Q.attributeCheck=null,jk(e,"ADD_TAGS")&&("function"==typeof e.ADD_TAGS?Q.tagCheck=e.ADD_TAGS:Ik(e.ADD_TAGS)&&($===G&&($=Qk($)),Kk($,e.ADD_TAGS,Le))),jk(e,"ADD_ATTR")&&("function"==typeof e.ADD_ATTR?Q.attributeCheck=e.ADD_ATTR:Ik(e.ADD_ATTR)&&(q===Y&&(q=Qk(q)),Kk(q,e.ADD_ATTR,Le))),jk(e,"ADD_URI_SAFE_ATTR")&&Ik(e.ADD_URI_SAFE_ATTR)&&Kk(Ce,e.ADD_URI_SAFE_ATTR,Le),jk(e,"FORBID_CONTENTS")&&Ik(e.FORBID_CONTENTS)&&(xe===ye&&(xe=Qk(xe)),Kk(xe,e.FORBID_CONTENTS,Le)),jk(e,"ADD_FORBID_CONTENTS")&&Ik(e.ADD_FORBID_CONTENTS)&&(xe===ye&&(xe=Qk(xe)),Kk(xe,e.ADD_FORBID_CONTENTS,Le)),fe&&($["#text"]=!0),re&&Kk($,["html","head","body"]),$.table&&(Kk($,["tbody"]),delete K.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw qk('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw qk('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const t=S;S=e.TRUSTED_TYPES_POLICY;try{k=E("")}catch(e){throw S=t,e}}else null===e.TRUSTED_TYPES_POLICY?(S=void 0,k=""):(void 0===S&&(O||(C=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let o=null;const n="data-tt-policy-suffix";t&&t.hasAttribute(n)&&(o=t.getAttribute(n));const s="dompurify"+(o?"#"+o:"");try{return e.createPolicy(s,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+s+" could not be created."),null}}(u,r),O=!0),S=C),S&&"string"==typeof k&&(k=E("")));Sk&&Sk(e),He=e},je=Kk({},[...tO,...oO,...nO]),$e=Kk({},[...sO,...rO]),Ge=function(e){Mk(o.removed,{element:e});try{b(e).removeChild(e)}catch(t){if(p(e),!b(e))throw qk("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},qe=function(e){Ke(e);const t=f(e);if(t){const e=[];Ek(t,t=>{Mk(e,t)}),Ek(e,e=>{try{p(e)}catch(e){}})}const o=x(e);if(o)for(let t=o.length-1;t>=0;--t){const n=o[t],s=n&&n.name;if("string"==typeof s)try{e.removeAttribute(s)}catch(e){}}},Ye=function(e,t){try{Mk(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){Mk(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(de||ue)try{Ge(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Xe=function(e){const t=x(e);if(t)for(let o=t.length-1;o>=0;--o){const n=t[o],s=n&&n.name;if("string"==typeof s&&!q[Le(s)])try{e.removeAttribute(s)}catch(e){}}},Ke=function(e){const t=[e];for(;t.length>0;){const e=t.pop();1===(y?y(e):e.nodeType)&&Xe(e);const o=f(e);if(o)for(let e=o.length-1;e>=0;--e)t.push(o[e])}},Je=function(e){let t=null,o=null;if(ce)e=""+e;else{const t=Nk(e,/^[\r\n\t ]+/);o=t&&t[0]}"application/xhtml+xml"===ze&&Ee===Te&&(e=''+e+"");const s=S?E(e):e;if(Ee===Te)try{t=(new d).parseFromString(s,ze)}catch(e){}if(!t||!t.documentElement){t=D.createDocument(Ee,"template",null);try{t.documentElement.innerHTML=Ae?k:s}catch(e){}}const r=t.body||t.documentElement;return e&&o&&r.insertBefore(n.createTextNode(o),r.childNodes[0]||null),Ee===Te?I.call(t,re?"html":"body")[0]:re?t.documentElement:r},Qe=function(e){return M.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},Ze=function(e){return e=zk(e,N," "),e=zk(e,z," "),zk(e,V," ")},et=function(e){var t;e.normalize();const o=M.call(e.ownerDocument||e,e,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null);let n=o.nextNode();for(;n;)n.data=Ze(n.data),n=o.nextNode();const s=null===(t=e.querySelectorAll)||void 0===t?void 0:t.call(e,"template");s&&Ek(s,e=>{ot(e.content)&&et(e.content)})},tt=function(e){const t=w?w(e):null;return"string"==typeof t&&"form"===Le(t)&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||e.attributes!==x(e)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes||e.nodeType!==y(e)||e.childNodes!==f(e))},ot=function(e){if(!y||"object"!=typeof e||null===e)return!1;try{return 11===y(e)}catch(e){return!1}},nt=function(e){if(!y||"object"!=typeof e||null===e)return!1;try{return"number"==typeof y(e)}catch(e){return!1}};function st(e,t,n){0!==e.length&&Ek(e,e=>{e.call(o,t,n,He)})}const rt=function(e,t){if(st(R.beforeSanitizeElements,e,null),e!==t&&null===b(e))return!0;if(tt(e))return Ge(e),!0;const n=Le(w?w(e):e.nodeName);if(st(R.uponSanitizeElement,e,{tagName:n,allowedTags:$}),e!==t&&null===b(e))return!0;if(function(e,t){return!!(se&&e.hasChildNodes()&&!nt(e.firstElementChild)&&Gk(wO,e.textContent)&&Gk(wO,e.innerHTML))||!(!se||e.namespaceURI!==Te||"style"!==t||!nt(e.firstElementChild))||7===e.nodeType||!(!se||8!==e.nodeType||!Gk(SO,e.data))}(e,n))return Ge(e),!0;if(K[n]||!(Q.tagCheck instanceof Function&&Q.tagCheck(n))&&!$[n]){const t=function(e,t){if(!K[t]&<(t)){if(X.tagNameCheck instanceof RegExp&&Gk(X.tagNameCheck,t))return!1;if(X.tagNameCheck instanceof Function&&X.tagNameCheck(t))return!1}if(fe&&!xe[t]){const t=b(e),o=f(e);if(o&&t)for(let n=o.length-1;n>=0;--n){const s=be?o[n]:g(o[n],!0);t.insertBefore(s,h(e))}}return Ge(e),!0}(e,n);return!1===t&&st(R.afterSanitizeElements,e,null),t}if(1===(y?y(e):e.nodeType)&&!function(e){let t=b(e);t&&t.tagName||(t={namespaceURI:Ee,tagName:"template"});const o=Fk(e.tagName),n=Fk(t.tagName);return!!De[e.namespaceURI]&&(e.namespaceURI===_e?function(e,t,o){return t.namespaceURI===Te?"svg"===e:t.namespaceURI===Oe?"svg"===e&&("annotation-xml"===o||Ie[o]):Boolean(je[e])}(o,t,n):e.namespaceURI===Oe?function(e,t,o){return t.namespaceURI===Te?"math"===e:t.namespaceURI===_e?"math"===e&&Re[o]:Boolean($e[e])}(o,t,n):e.namespaceURI===Te?function(e,t,o){return!(t.namespaceURI===_e&&!Re[o])&&!(t.namespaceURI===Oe&&!Ie[o])&&!$e[e]&&(Ne[e]||!je[e])}(o,t,n):!("application/xhtml+xml"!==ze||!De[e.namespaceURI]))}(e))return Ge(e),!0;if(("noscript"===n||"noembed"===n||"noframes"===n)&&Gk(CO,e.innerHTML))return Ge(e),!0;if(ne&&3===e.nodeType){const t=Ze(e.textContent);e.textContent!==t&&(Mk(o.removed,{element:e.cloneNode()}),e.textContent=t)}return st(R.afterSanitizeElements,e,null),!1},at=function(e,t,o){if(J[t])return!1;if(se&&"patchsrc"===t)return!1;if(se&&"for"===t&&"label"!==e&&"output"!==e)return!1;if(ge&&("id"===t||"name"===t)&&(o in n||o in Pe))return!1;const s=q[t]||Q.attributeCheck instanceof Function&&Q.attributeCheck(t,e);if(ee&&Gk(L,t));else if(Z&&Gk(H,t));else if(s){if(Ce[t]);else if(Gk(j,zk(o,U,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==Vk(o,"data:")||!we[e])if(te&&!Gk(P,zk(o,U,"")));else if(o)return!1}else if(!(lt(e)&&(X.tagNameCheck instanceof RegExp&&Gk(X.tagNameCheck,e)||X.tagNameCheck instanceof Function&&X.tagNameCheck(e))&&(X.attributeNameCheck instanceof RegExp&&Gk(X.attributeNameCheck,t)||X.attributeNameCheck instanceof Function&&X.attributeNameCheck(t,e))||"is"===t&&X.allowCustomizedBuiltInElements&&(X.tagNameCheck instanceof RegExp&&Gk(X.tagNameCheck,o)||X.tagNameCheck instanceof Function&&X.tagNameCheck(o))))return!1;return!0},it=Kk({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),lt=function(e){return!it[Fk(e)]&&Gk(W,e)},ct=function(e,t,o,n){if(S&&"object"==typeof u&&"function"==typeof u.getAttributeType&&!o)switch(u.getAttributeType(e,t)){case"TrustedHTML":return E(n);case"TrustedScriptURL":return function(e){T(),_++;try{return S.createScriptURL(e)}finally{_--}}(n)}return n},dt=function(e,t,n,s){try{n?e.setAttributeNS(n,t,s):e.setAttribute(t,s),tt(e)?Ge(e):Dk(o.removed)}catch(o){Ye(t,e)}},ut=function(e){st(R.beforeSanitizeAttributes,e,null);const t=e.attributes;if(!t||tt(e))return;const o={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:q,forceKeepAttr:void 0};let n=t.length;const s=Le(e.nodeName);for(;n--;){const r=t[n],a=r.name,i=r.namespaceURI,l=r.value,c=Le(a),d=l;let u="value"===a?d:Lk(d);o.attrName=c,o.attrValue=u,o.keepAttr=!0,o.forceKeepAttr=void 0,st(R.uponSanitizeAttribute,e,o),u=o.attrValue,!pe||"id"!==c&&"name"!==c||0===Vk(u,he)||(Ye(a,e),u=he+u),se&&Gk(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,u)||"attributename"===c&&Nk(u,"href")?Ye(a,e):o.forceKeepAttr||(!o.keepAttr||!oe&&Gk(kO,u)?Ye(a,e):(ne&&(u=Ze(u)),at(s,c,u)?(u=ct(s,c,i,u),u!==d&&dt(e,a,i,u)):Ye(a,e)))}st(R.afterSanitizeAttributes,e,null)},mt=function(e){let t=null;const o=Qe(e);for(st(R.beforeSanitizeShadowDOM,e,null);t=o.nextNode();)if(st(R.uponSanitizeShadowNode,t,null),rt(t,e),ut(t),ot(t.content)&&mt(t.content),1===(y?y(t):t.nodeType)){const e=v(t);ot(e)&&(gt(e),mt(e))}st(R.afterSanitizeShadowDOM,e,null)},gt=function(e){const t=[{node:e,shadow:null}];for(;t.length>0;){const e=t.pop();if(e.shadow){mt(e.shadow);continue}const o=e.node,n=1===(y?y(o):o.nodeType),s=f(o);if(s)for(let e=s.length-1;e>=0;--e)t.push({node:s[e],shadow:null});if(n){const e=w?w(o):null;if("string"==typeof e&&"template"===Le(e)){const e=o.content;ot(e)&&t.push({node:e,shadow:null})}}if(n){const e=v(o);ot(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return o.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,r=null,a=null,i=null;if(Ae=!e,Ae&&(e="\x3c!--\x3e"),"string"!=typeof e&&!nt(e)&&(e=function(e){switch(typeof e){case"string":return e;case"number":return Hk(e);case"boolean":return Pk(e);case"bigint":return Uk?Uk(e):"0";case"symbol":return Wk?Wk(e):"Symbol()";case"undefined":default:return $k(e);case"function":case"object":{if(null===e)return $k(e);const t=e,o=Zk(t,"toString");if("function"==typeof o){const e=o(t);return"string"==typeof e?e:$k(e)}return $k(e)}}}(e),"string"!=typeof e))throw qk("dirty is not a string, aborting");if(!o.isSupported)return e;ae?($=ie,q=le):We(t),(R.uponSanitizeElement.length>0||R.uponSanitizeAttribute.length>0)&&($=Qk($)),R.uponSanitizeAttribute.length>0&&(q=Qk(q)),o.removed=[];const l=be&&"string"!=typeof e&&nt(e);if(l){!function(e){if(!se)return;const t=[e];for(;t.length>0;){const e=t.pop(),o=y?y(e):e.nodeType;if(7===o||8===o&&Gk(SO,e.data)){try{p(e)}catch(e){}continue}if(1===o){const t=e,o=Le(w?w(e):e.nodeName);try{t.hasAttribute&&t.hasAttribute("patchsrc")&&t.removeAttribute("patchsrc"),t.hasAttribute&&t.hasAttribute("for")&&"label"!==o&&"output"!==o&&t.removeAttribute("for")}catch(e){}}const n=f(e);if(n)for(let e=n.length-1;e>=0;--e)t.push(n[e])}}(e);const t=w?w(e):e.nodeName;if("string"==typeof t){const o=Le(t);if(!$[o]||K[o])throw qe(e),qk("root node is forbidden and cannot be sanitized in-place")}if(tt(e))throw qe(e),qk("root node is clobbered and cannot be sanitized in-place");try{gt(e)}catch(t){throw qe(e),t}}else if(nt(e))n=Je("\x3c!----\x3e"),r=n.ownerDocument.importNode(e,!0),1===r.nodeType&&"BODY"===r.nodeName||"HTML"===r.nodeName?n=r:n.appendChild(r),gt(r);else{if(!de&&!ne&&!re&&-1===e.indexOf("<"))return S&&me?E(e):e;if(n=Je(e),!n)return de?null:me?k:""}n&&ce&&Ge(n.firstChild);const c=l?e:n,d=Qe(c);try{for(;a=d.nextNode();)rt(a,c),ut(a),ot(a.content)&&mt(a.content)}catch(t){throw l&&(qe(e),Ek(o.removed,e=>{e.element&&Ke(e.element)})),t}if(l)return Ek(o.removed,e=>{e.element&&Ke(e.element)}),ne&&et(e),e;if(de){if(ne&&et(n),ue)for(i=B.call(n.ownerDocument);n.firstChild;)i.appendChild(n.firstChild);else i=n;return(q.shadowroot||q.shadowrootmode)&&(i=F.call(s,i,!0)),i}let u=re?n.outerHTML:n.innerHTML;return re&&$["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&Gk(xO,n.ownerDocument.doctype.name)&&(u="\n"+u),ne&&(u=Ze(u)),S&&me?E(u):u},o.setConfig=function(){We(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),ae=!0,ie=$,le=q},o.clearConfig=function(){He=null,ae=!1,ie=null,le=null,S=C,k=""},o.isValidAttribute=function(e,t,o){He||We({});const n=Le(e),s=Le(t);return at(n,s,o)},o.addHook=function(e,t){"function"==typeof t&&jk(R,e)&&Mk(R[e],t)},o.removeHook=function(e,t){if(jk(R,e)){if(void 0!==t){const o=Ak(R[e],t);return-1===o?void 0:Bk(R[e],o,1)[0]}return Dk(R[e])}},o.removeHooks=function(e){jk(R,e)&&(R[e]=[])},o.removeAllHooks=function(){R={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},o}();const EO=e=>TO().sanitize(e);var AO=tinymce.util.Tools.resolve("tinymce.util.I18n");const DO={indent:!0,outdent:!0,"table-insert-column-after":!0,"table-insert-column-before":!0,"paste-column-after":!0,"paste-column-before":!0,"unordered-list":!0,"list-bull-circle":!0,"list-bull-disc":!0,"list-bull-default":!0,"list-bull-square":!0},MO="temporary-placeholder",BO=e=>()=>fe(e,MO).getOr("!not found!"),IO=(e,t)=>{const o=e.toLowerCase();if(AO.isRtl()){const e=((e,t)=>Ze(e,t)?e:((e,t)=>e+t)(e,t))(o,"-rtl");return be(t,e)?e:o}return o},FO=(e,t)=>fe(t,IO(e,t)),RO=(e,t)=>{const o=t();return FO(e,o).getOrThunk(BO(o))},NO=()=>wd("add-focusable",[id(e=>{Yn(e.element,"svg").each(e=>Yo(e,"focusable","false"))})]),zO=(e,t,o,n)=>{const s=(e=>!!AO.isRtl()&&be(DO,e))(t)?["tox-icon--flip"]:[],r=fe(o,IO(t,o)).or(n).getOrThunk(BO(o));return{dom:{tag:e.tag,attributes:e.attributes??{},classes:e.classes.concat(s),innerHtml:r},behaviours:hd([...e.behaviours??[],NO()]),eventOrder:e.eventOrder??{}}},VO=(e,t,o,n=A.none())=>zO(t,e,o(),n),LO={success:"checkmark",error:"warning",err:"error",warning:"warning",warn:"warning",info:"info"},HO=hh({name:"Notification",factory:e=>{const t=Ne("notification-text"),o=Dv({dom:Av(`

${EO(e.backstageProvider.translate(e.text))}

`),behaviours:hd([ug.config({})])}),n=e=>({dom:{tag:"div",classes:["tox-bar"],styles:{width:`${e}%`}}}),s=e=>({dom:{tag:"div",classes:["tox-text"],innerHtml:`${e}%`}}),r=Dv({dom:{tag:"div",classes:e.progress?["tox-progress-bar","tox-progress-indicator"]:["tox-progress-bar"]},components:[{dom:{tag:"div",classes:["tox-bar-container"]},components:[n(0)]},s(0)],behaviours:hd([ug.config({})])}),a={updateProgress:(e,t)=>{e.getSystem().isConnected()&&r.getOpt(e).each(e=>{ug.set(e,[{dom:{tag:"div",classes:["tox-bar-container"]},components:[n(t)]},s(t)])})},updateText:(e,t)=>{if(e.getSystem().isConnected()){const n=o.get(e);ug.set(n,[zg(t)])}}},i=G([e.icon.toArray(),[e.level],A.from(LO[e.level]).toArray()]),l=Dv(Wv.sketch({dom:{tag:"button",classes:["tox-notification__dismiss","tox-button","tox-button--naked","tox-button--icon"],attributes:{"aria-label":e.backstageProvider.translate("Close")}},components:[VO("close",{tag:"span",classes:["tox-icon"]},e.iconProvider)],buttonBehaviours:hd([iv.config({}),Tv.config({...e.backstageProvider.tooltips.getConfig({tooltipText:e.backstageProvider.translate("Close")})})]),action:t=>{e.onAction(t)}})),c=((e,t,o)=>{const n=o(),s=j(e,e=>be(n,IO(e,n)));return zO({tag:"div",classes:["tox-notification__icon"]},s.getOr(MO),n,A.none())})(i,0,e.iconProvider),d=[c,{dom:{tag:"div",classes:["tox-notification__body"]},components:[o.asSpec()],behaviours:hd([ug.config({})])}];return{uid:e.uid,dom:{tag:"div",attributes:{role:"alert","aria-labelledby":t},classes:["tox-notification","tox-notification--in",`tox-notification--${e.level}`]},behaviours:hd([iv.config({}),_d.config({}),Im.config({mode:"special",onEscape:t=>(e.onAction(t),A.some(!0))})]),components:d.concat(e.progress?[r.asSpec()]:[]).concat([l.asSpec()]),apis:a}},configFields:[la("level","info",["success","error","warning","warn","info"]),Pr("progress"),Kr("icon"),Pr("onAction"),Pr("text"),Pr("iconProvider"),Pr("backstageProvider")],apis:{updateProgress:(e,t,o)=>{e.updateProgress(t,o)},updateText:(e,t,o)=>{e.updateText(t,o)}}});var PO=(e,t,o,n)=>{const s=t.backstage.shared,r=()=>ct(""===e.queryCommandValue("ToggleView")?e.getContentAreaContainer():e.getContainer()),a=()=>{const e=Hs(r());return A.some(e)},i=e=>{a().each(t=>{L(e,e=>{wn(e.element,"width"),An(e.element)>t.width&&gn(e.element,"width",t.width+"px")})})};return{open:(t,l,c)=>{const d=()=>{n.on(t=>{l();const o=c();(e=>{ug.remove(e,u),m()})(t),((t,o)=>{0===xo(t.element).length?((t,o)=>{dy.hide(t),n.clear(),o&&e.focus()})(t,o):((e,t)=>{t&&Im.focusIn(e)})(t,o)})(t,o)})},u=Pg(HO.sketch({text:t.text,level:F(["success","error","warning","warn","info"],t.type)?t.type:void 0,progress:!0===t.progressBar,icon:t.icon,onAction:d,iconProvider:s.providers.icons,backstageProvider:s.providers}));if(n.isSet()){const e=Ug(u);n.on(t=>{ug.append(t,e),dy.reposition(t),u.hasConfigured(Hp)&&Hp.refresh(t),i(t.components())})}else{const t=Pg(dy.sketch({dom:{tag:"div",classes:["tox-notifications-container"],attributes:{"aria-label":"Notifications",role:"region"}},lazySink:s.getSink,fireDismissalEventInstead:{},...s.header.isPositionedAtTop()?{}:{fireRepositionEventInstead:{}},inlineBehaviours:hd([Im.config({mode:"cyclic",selector:".tox-notification, .tox-notification a, .tox-notification button"}),ug.config({}),...rk(e)&&s.header.isPositionedAtTop()?[]:[Hp.config({contextual:{lazyContext:()=>A.some(Hs(r())),fadeInClass:"tox-notification-container-dock-fadein",fadeOutClass:"tox-notification-container-dock-fadeout",transitionClass:"tox-notification-container-dock-transition"},modes:["top"],lazyViewport:t=>gk(e,t.element).map(e=>({bounds:pk(e),optScrollEnv:A.some({currentScrollTop:e.element.dom.scrollTop,scrollElmTop:Fn(e.element).top})})).getOrThunk(()=>({bounds:Ws(),optScrollEnv:A.none()}))})]])})),i=Ug(u),l={maxHeightFunction:Fc()},c={...s.anchors.banner(),overrides:l};n.set(t),o.add(t),dy.showWithinBounds(t,i,{anchor:c},a)}h(t.timeout)&&t.timeout>0&&YS.setEditorTimeout(e,()=>{d()},t.timeout);const m=()=>{n.on(e=>{dy.reposition(e),e.hasConfigured(Hp)&&Hp.refresh(e),i(e.components())})};return{close:d,reposition:m,text:e=>{HO.updateText(u,e)},settings:t,getEl:()=>u.element.dom,progressBar:{value:e=>{HO.updateProgress(u,e)}}}},close:e=>{e.close()},getArgs:e=>e.settings}};var UO;!function(e){e[e.CLOSE_ON_EXECUTE=0]="CLOSE_ON_EXECUTE",e[e.BUBBLE_TO_SANDBOX=1]="BUBBLE_TO_SANDBOX"}(UO||(UO={}));var WO=UO;const jO="tox-menu-nav__js",$O="tox-collection__item",GO="tox-swatch",qO={normal:jO,color:GO},YO="tox-collection__item--enabled",XO="tox-collection__item-icon",KO="tox-collection__item-label",JO="tox-collection__item-caret",QO="tox-collection__item--active",ZO="tox-collection__item-container",e_="tox-collection__item-container--row",t_=e=>fe(qO,e).getOr(jO),o_=e=>"color"===e?"tox-swatches":"tox-menu",n_=e=>({backgroundMenu:"tox-background-menu",selectedMenu:"tox-selected-menu",selectedItem:"tox-collection__item--active",hasIcons:"tox-menu--has-icons",menu:o_(e),tieredMenu:"tox-tiered-menu"}),s_=e=>{const t=n_(e);return{backgroundMenu:t.backgroundMenu,selectedMenu:t.selectedMenu,menu:t.menu,selectedItem:t.selectedItem,item:t_(e)}},r_=(e,t,o)=>{const n=n_(o);return{tag:"div",classes:G([[n.menu,`tox-menu-${t}-column`],e?[n.hasIcons]:[]])}},a_=[hx.parts.items({})],i_=(e,t,o)=>{const n=n_(o);return{dom:{tag:"div",classes:G([[n.tieredMenu]])},markers:s_(o)}},l_=Ne("refetch-trigger-event"),c_=Ne("redirect-menu-item-interaction"),d_="tox-menu__searcher",u_=e=>Xn(e.element,`.${d_}`).bind(t=>e.getSystem().getByDom(t).toOptional()),m_=u_,g_=e=>({fetchPattern:mf.getValue(e),selectionStart:e.element.dom.selectionStart,selectionEnd:e.element.dom.selectionEnd}),p_=e=>{const t=(e,t)=>(t.cut(),A.none()),o=(e,t)=>{const o={interactionEvent:t.event,eventType:t.event.raw.type};return $c(e,c_,o),A.some(!0)},n="searcher-events";return{dom:{tag:"div",classes:[$O]},components:[hy.sketch({inputClasses:[d_,"tox-textfield"],inputAttributes:{...e.placeholder.map(t=>({placeholder:e.i18n(t)})).getOr({}),type:"search","aria-autocomplete":"list"},inputBehaviours:hd([wd(n,[Zc(Aa(),e=>{jc(e,l_)}),Zc(Ta(),(e,t)=>{"Escape"===t.event.raw.key&&t.stop()})]),Im.config({mode:"special",onLeft:t,onRight:t,onSpace:t,onEnter:o,onEscape:o,onUp:o,onDown:o})]),eventOrder:{keydown:[n,Im.name()]}})]}},h_="tox-collection--results__js",f_=e=>e.dom?{...e,dom:{...e.dom,attributes:{...e.dom.attributes??{},id:Ne("aria-item-search-result-id"),"aria-selected":"false"}}}:e,b_="Use arrow keys to navigate.",v_=(e,t)=>o=>{const n=z(o,t);return V(n,t=>({dom:e,components:t}))},x_=(e,t)=>{const o=[];let n=[];return L(e,(e,s)=>{t(e,s)?(n.length>0&&o.push(n),n=[],(be(e.dom,"innerHtml")||e.components&&e.components.length>0)&&n.push(e)):n.push(e)}),n.length>0&&o.push(n),V(o,e=>({dom:{tag:"div",classes:["tox-collection__group"]},components:e}))},y_=(e,t,o)=>hx.parts.items({preprocess:n=>{const s=V(n,o);return"auto"!==e&&e>1?v_({tag:"div",classes:["tox-collection__group"]},e)(s):x_(s,(e,o)=>"separator"===t[o].type)}}),w_=(e,t,o=!0)=>{return{dom:{tag:"div",classes:["tox-menu","tox-collection"].concat(1===e?["tox-collection--list"]:["tox-collection--grid"]),attributes:{...(n=t,R(n,e=>"widget"===e.type)?{"aria-label":AO.translate(b_)}:{})}},components:[y_(e,t,w)]};var n},S_=e=>R(e,e=>"icon"in e&&void 0!==e.icon),C_=e=>(console.error(Rr(e)),console.log(e),A.none()),k_=(e,t,o,n,s)=>{const r=(a=o,{dom:{tag:"div",classes:["tox-collection","tox-collection--horizontal"]},components:[hx.parts.items({preprocess:e=>x_(e,(e,t)=>"separator"===a[t].type)})]});var a;return{value:e,dom:r.dom,components:r.components,items:o}},O_=(e,t,o,n,s)=>{if("color"===s.menuType){const t=(e=>({dom:{tag:"div",classes:["tox-menu","tox-swatches-menu"],attributes:{"aria-label":AO.translate(b_)}},components:[{dom:{tag:"div",classes:["tox-swatches"]},components:[hx.parts.items({preprocess:"auto"!==e?v_({tag:"div",classes:["tox-swatches__row"]},e):w})]}]}))(n);return{value:e,dom:t.dom,components:t.components,items:o}}if("imageselector"===s.menuType&&"auto"!==n){const t=(e=>({dom:{tag:"div",classes:["tox-menu","tox-image-selector-menu"]},components:[{dom:{tag:"div",classes:["tox-image-selector"]},components:[hx.parts.items({preprocess:"auto"!==e?v_({tag:"div",classes:["tox-image-selector__row"]},e):w})]}]}))(n);return{value:e,dom:t.dom,components:t.components,items:o}}if("normal"===s.menuType&&"auto"===n){const t=w_(n,o);return{value:e,dom:t.dom,components:t.components,items:o}}if("normal"===s.menuType||"searchable"===s.menuType){const t="searchable"!==s.menuType?w_(n,o):"search-with-field"===s.searchMode.searchMode?((e,t,o)=>{const n=Ne("aria-controls-search-results");return{dom:{tag:"div",classes:["tox-menu","tox-collection"].concat(1===e?["tox-collection--list"]:["tox-collection--grid"])},components:[p_({i18n:AO.translate,placeholder:o.placeholder}),{dom:{tag:"div",classes:[...1===e?["tox-collection--list"]:["tox-collection--grid"],h_],attributes:{id:n}},components:[y_(e,t,f_)]}]}})(n,o,s.searchMode):((e,t)=>{const o=Ne("aria-controls-search-results");return{dom:{tag:"div",classes:["tox-menu","tox-collection",h_].concat(1===e?["tox-collection--list"]:["tox-collection--grid"]),attributes:{id:o}},components:[y_(e,t,f_)]}})(n,o);return{value:e,dom:t.dom,components:t.components,items:o}}if("listpreview"===s.menuType&&"auto"!==n){const t=(e=>({dom:{tag:"div",classes:["tox-menu","tox-collection","tox-collection--toolbar","tox-collection--toolbar-lg"]},components:[hx.parts.items({preprocess:v_({tag:"div",classes:["tox-collection__group"]},e)})]}))(n);return{value:e,dom:t.dom,components:t.components,items:o}}return{value:e,dom:r_(t,n,s.menuType),components:a_,items:o}},__=jr("type"),T_=jr("name"),E_=jr("label"),A_=jr("text"),D_=jr("title"),M_=jr("icon"),B_=jr("url"),I_=jr("value"),F_=Gr("fetch"),R_=Gr("getSubmenuItems"),N_=Gr("onAction"),z_=Gr("onItemAction"),V_=da("onSetup",()=>b),L_=Zr("name"),H_=Zr("text"),P_=Zr("role"),U_=Zr("icon"),W_=Zr("tooltip"),j_=Zr("chevronTooltip"),$_=Zr("label"),G_=Zr("shortcut"),q_=ta("select"),Y_=ca("active",!1),X_=ca("borderless",!1),K_=ca("enabled",!0),J_=ca("primary",!1),Q_=e=>sa("columns",e),Z_=sa("meta",{}),eT=da("onAction",b),tT=e=>ia("type",e),oT=e=>Vr("name","name",gr(()=>Ne(`${e}-name`)),lr),nT=[__,A_,$r("level",["info","warn","error","success"]),M_,sa("url","")],sT=kr(nT),rT=[__,A_,K_,oT("button"),U_,X_,ea("buttonType",["primary","secondary","toolbar"]),J_,ia("context","mode:design")],aT=kr(rT),iT=[__,T_],lT=iT.concat([$_]),cT=iT.concat([E_,K_,ia("context","mode:design")]),dT=kr(cT),uT=cr,mT=lT.concat([Q_("auto"),ia("context","mode:design")]),gT=kr(mT),pT=Er([I_,A_,M_]),hT=lT.concat([ia("storageKey","default"),ia("context","mode:design")]),fT=kr(hT),bT=lr,vT=kr(lT),xT=lr,yT=iT.concat([ia("tag","textarea"),jr("scriptId"),jr("scriptUrl"),ta("onFocus"),ra("settings",void 0,mr)]),wT=iT.concat([ia("tag","textarea"),Gr("init")]),ST=Dr(e=>Br("customeditor.old",Cr(wT),e).orThunk(()=>Br("customeditor.new",Cr(yT),e))),CT=lr,kT=[K_,H_,P_,G_,Vr("value","value",gr(()=>Ne("menuitem-value")),rr()),Z_,ia("context","mode:design")];const OT=kr([__,T_].concat(kT)),_T=cr,TT=[oT("button"),U_,la("align","end",["start","end"]),J_,K_,ea("buttonType",["primary","secondary"]),ia("context","mode:design")],ET=[...TT,A_],AT=[$r("type",["submit","cancel","custom"]),...ET],DT=[$r("type",["menu"]),H_,W_,U_,Xr("items",OT),...TT],MT=[...TT,$r("type",["togglebutton"]),W_,U_,H_,ca("active",!1)],BT=Nr("type",{submit:AT,cancel:AT,custom:AT,menu:DT,togglebutton:MT}),IT=lT.concat([ia("context","mode:design"),Zr("dropAreaLabel"),Zr("buttonLabel"),Zr("allowedFileTypes"),oa("allowedFileExtensions",lr),da("onInvalidFiles",()=>Promise.resolve())]),FT=kr(IT),RT=Or(sr),NT=e=>[__,Wr("columns"),e],zT=[__,jr("html"),la("presets","presentation",["presentation","document"]),da("onInit",b),ca("stretched",!1)],VT=kr(zT),LT=lT.concat([ca("border",!1),ca("sandboxed",!0),ca("streamContent",!1),ca("transparent",!0)]),HT=kr(LT),PT=lr,UT=kr(iT.concat([Zr("height")])),WT=kr([jr("url"),Qr("zoom"),Qr("cachedWidth"),Qr("cachedHeight")]),jT=lT.concat([Zr("inputMode"),Zr("placeholder"),ca("maximized",!1),K_,ia("context","mode:design")]),$T=kr(jT),GT=lr,qT=e=>[__,E_,e,la("align","start",["start","center","end"]),Zr("for")],YT=[A_,I_],XT=[A_,Xr("items",zr(0,()=>KT))],KT=_r([kr(YT),kr(XT)]),JT=lT.concat([Xr("items",KT),K_,ia("context","mode:design")]),QT=kr(JT),ZT=lr,eE=lT.concat([Yr("items",[A_,I_]),aa("size",1),K_,ia("context","mode:design")]),tE=kr(eE),oE=lr,nE=lT.concat([ca("constrain",!0),K_,ia("context","mode:design")]),sE=kr(nE),rE=kr([jr("width"),jr("height")]),aE=iT.concat([E_,aa("min",0),aa("max",0)]),iE=kr(aE),lE=ir,cE=[__,Xr("header",lr),Xr("cells",Or(lr))],dE=kr(cE),uE=lT.concat([Zr("placeholder"),ca("maximized",!1),K_,ia("context","mode:design"),Jr("spellcheck",cr)]);const mE=kr(uE),gE=lr,pE=[ia("buttonType","default"),Zr("text"),Zr("tooltip"),Zr("icon"),ra("search",!1,_r([cr,kr([Zr("placeholder")])],e=>d(e)?e?A.some({placeholder:A.none()}):A.none():A.some(e))),Gr("fetch"),da("onSetup",()=>b),ia("context","mode:design")],hE=kr([__,...pE]),fE=e=>Br("menubutton",hE,e),bE=[$r("type",["directory","leaf"]),D_,jr("id"),Jr("menu",hE),Zr("customStateIcon"),Zr("customStateIconTooltip")],vE=kr(bE),xE=bE.concat([Xr("children",zr(0,()=>Ar("type",{directory:yE,leaf:vE})))]),yE=kr(xE),wE=Ar("type",{directory:yE,leaf:vE}),SE=[__,Xr("items",wE),ta("onLeafAction"),ta("onToggleExpand"),ua("defaultExpandedIds",[],lr),Zr("defaultSelectedId")],CE=kr(SE),kE=lT.concat([la("filetype","file",["image","media","file"]),K_,Zr("picker_text"),ia("context","mode:design")]),OE=kr(kE),_E=kr([I_,Z_]),TE=e=>Vr("items","items",{tag:"required",process:{}},Or(Dr(t=>Br(`Checking item of ${e}`,EE,t).fold(e=>Ae.error(Rr(e)),e=>Ae.value(e))))),EE=wr(()=>{return Ar("type",{alertbanner:sT,bar:kr((e=TE("bar"),[__,e])),button:aT,checkbox:dT,colorinput:fT,colorpicker:vT,dropzone:FT,grid:kr(NT(TE("grid"))),iframe:HT,input:$T,listbox:QT,selectbox:tE,sizeinput:sE,slider:iE,textarea:mE,urlinput:OE,customeditor:ST,htmlpanel:VT,imagepreview:UT,collection:gT,label:kr(qT(TE("label"))),table:dE,tree:CE,panel:DE});var e}),AE=[__,sa("classes",[]),Xr("items",EE)],DE=kr(AE),ME=[oT("tab"),D_,Xr("items",EE)],BE=[__,Yr("tabs",ME),ca("dynamicHeight",!1)],IE=kr(BE),FE=ET,RE=BT,NE=kr([jr("title"),Ur("body",Ar("type",{panel:DE,tabpanel:IE})),ia("size","normal"),ua("buttons",[],RE),sa("initialData",{}),da("onAction",b),da("onChange",b),da("onSubmit",b),da("onClose",b),da("onCancel",b),da("onTabChange",b)]),zE=kr([$r("type",["cancel","custom"]),...FE]),VE=kr([jr("title"),jr("url"),Qr("height"),Qr("width"),oa("buttons",zE),da("onAction",b),da("onCancel",b),da("onClose",b),da("onMessage",b)]),LE=e=>a(e)?[e].concat(q(he(e),LE)):l(e)?q(e,LE):[],HE=e=>r(e.type)&&r(e.name),PE={checkbox:uT,colorinput:bT,colorpicker:xT,dropzone:RT,input:GT,iframe:PT,imagepreview:WT,selectbox:oE,sizeinput:rE,slider:lE,listbox:ZT,size:rE,textarea:gE,urlinput:_E,customeditor:CT,collection:pT,togglemenuitem:_T},UE=e=>{const t=(e=>P(LE(e),HE))(e),o=q(t,e=>(e=>A.from(PE[e.type]))(e).fold(()=>[],t=>[Ur(e.name,t)]));return kr(o)},WE=e=>({internalDialog:Ir(Br("dialog",NE,e)),dataValidator:UE(e),initialData:e.initialData??{}}),jE={open:(e,t)=>{const o=WE(t);return e(o.internalDialog,o.initialData,o.dataValidator)},openUrl:(e,t)=>e(Ir(Br("dialog",VE,t))),redial:e=>WE(e)},$E=kr([__,H_]),GE=kr([tT("autocompleteitem"),Y_,K_,Z_,I_,H_,U_]);kr([__,jr("trigger"),aa("minChars",1),Q_(1),aa("maxResults",10),ta("matches"),F_,N_,ua("highlightOn",[],lr)]);const qE=[K_,W_,U_,H_,V_,ia("context","mode:design")],YE=kr([__,N_,G_].concat(qE)),XE=e=>Br("toolbarbutton",YE,e),KE=[Y_].concat(qE),JE=kr(KE.concat([__,N_,G_])),QE=e=>Br("ToggleButton",JE,e),ZE=[da("predicate",T),la("scope","node",["node","editor"]),la("position","selection",["node","selection","line"])],eA=qE.concat([tT("contextformbutton"),ia("align","end"),J_,N_,Lr("original",w)]),tA=KE.concat([tT("contextformbutton"),ia("align","end"),J_,N_,Lr("original",w)]),oA=qE.concat([tT("contextformbutton")]),nA=KE.concat([tT("contextformtogglebutton")]),sA=[$_,Xr("commands",Nr("type",{contextformbutton:eA,contextformtogglebutton:tA})),Jr("launch",Nr("type",{contextformbutton:oA,contextformtogglebutton:nA})),da("onInput",b),da("onSetup",b)],rA=[...ZE,...sA,$r("type",["contextform"]),da("initValue",y("")),Zr("placeholder")],aA=[...ZE,...sA,$r("type",["contextsliderform"]),da("initValue",y(0)),da("min",y(0)),da("max",y(100))],iA=[...ZE,...sA,$r("type",["contextsizeinputform"]),da("initValue",y({width:"",height:""}))],lA=Nr("type",{contextform:rA,contextsliderform:aA,contextsizeinputform:iA}),cA=qE.concat([tT("contexttoolbarbutton")]),dA=kr([tT("contexttoolbar"),na("launch",cA),Ur("items",_r([lr,Er([Zr("name"),Zr("label"),Xr("items",lr)])]))].concat(ZE)),uA=e=>({name:e.name.getOrUndefined(),label:e.label.getOrUndefined(),items:e.items}),mA=[__,jr("src"),Zr("alt"),ua("classes",[],lr)],gA=kr(mA),pA=[__,A_,L_,ua("classes",["tox-collection__item-label"],lr)],hA=kr(pA),fA=wr(()=>Ar("type",{cardimage:gA,cardtext:hA,cardcontainer:bA})),bA=kr([__,ia("direction","horizontal"),ia("align","left"),ia("valign","middle"),Xr("items",fA)]),vA=kr([__,$_,Xr("items",fA),V_,eT].concat(kT)),xA=kr([__,Y_,U_,$_].concat(kT)),yA=[__,jr("fancytype"),eT],wA=[sa("initData",{})].concat(yA),SA=[ta("select"),ma("initData",{},[ca("allowCustomColors",!0),ia("storageKey","default"),oa("colors",rr())])].concat(yA),CA=[ta("select"),qr("initData",[Wr("columns"),ua("items",[],rr())])].concat(yA),kA=Nr("fancytype",{inserttable:wA,colorswatch:SA,imageselect:CA}),OA=kr([__,Y_,B_,$_,W_].concat(kT)),_A=kr([__,Y_,M_,E_,W_,I_].concat(kT)),TA=kr([__,V_,eT,U_].concat(kT)),EA=kr([__,R_,V_,U_].concat(kT)),AA=kr([__,U_,Y_,V_,N_].concat(kT)),DA=kr([U_,W_,ca("resizable",!1),da("onShow",b),da("onHide",b),V_]),MA=kr([__,Ur("items",_r([Er([T_,Xr("items",lr)]),lr]))].concat(qE)),BA=kr([__,W_,j_,U_,H_,q_,F_,V_,la("presets","normal",["normal","color","listpreview"]),Q_(1),N_,z_,ia("context","mode:design")]),IA=[H_,U_,Zr("tooltip"),la("buttonType","secondary",["primary","secondary"]),ca("borderless",!1),Gr("onAction"),ia("context","mode:design")],FA={button:[...IA,A_,$r("type",["button"])],togglebutton:[...IA,ca("active",!1),$r("type",["togglebutton"])]},RA=[$r("type",["group"]),ua("buttons",[],Nr("type",FA))],NA=Nr("type",{...FA,group:RA}),zA=kr([ua("buttons",[],NA),ca("keepToolbar",!1),Gr("onShow"),Gr("onHide")]),VA=(e,t,o)=>{const n=gs(e.element,"."+o);if(n.length>0){const e=$(n,e=>{const o=e.dom.getBoundingClientRect().top,s=n[0].dom.getBoundingClientRect().top;return Math.abs(o-s)>t}).getOr(n.length);return A.some({numColumns:e,numRows:Math.ceil(n.length/e)})}return A.none()},LA=e=>((e,t)=>hd([wd(e,t)]))(Ne("unnamed-events"),e),HA=e=>gp.config({disabled:e,disableClass:"tox-collection__item--state-disabled"}),PA=e=>gp.config({disabled:e}),UA=e=>gp.config({disabled:e,disableClass:"tox-tbtn--disabled",useNative:!1}),WA=(e,t)=>{const o=e.getApi(t);return e=>{e(o)}},jA=(e,t)=>id(o=>{p(e.onBeforeSetup)&&e.onBeforeSetup(o),WA(e,o)(o=>{const n=e.onSetup(o);p(n)&&t.set(n)})}),$A=(e,t)=>ld(o=>WA(e,o)(t.get())),GA=(e,t,o)=>ld(n=>(o.set(mf.getValue(n)),WA(e,n)(t.get()))),qA="silver.uistate",YA="setDisabled",XA="init",KA=["switchmode",XA],JA=(e,t)=>{const o=e.mainUi.outerContainer,n=[e.mainUi.mothership,...e.uiMotherships];t===YA&&L(n,e=>{e.broadcastOn([zd()],{target:o.element})}),L(n,e=>{e.broadcastOn([qA],t)})},QA=(e,t)=>{e.on("init SwitchMode",e=>{JA(t,e.type)}),e.on("DisabledStateChange",o=>{if(!o.isDefaultPrevented()){const n=o.state?YA:XA;JA(t,n),o.state||e.nodeChanged()}}),e.on("NodeChange",o=>{const n=e.ui.isEnabled()?o.type:YA;JA(t,n)}),nC(e)&&e.mode.set("readonly")},ZA=e=>vb.config({channels:{[qA]:{onReceive:(t,o)=>{if(o===YA||"setEnabled"===o)return void gp.set(t,o===YA);const{contextType:n,shouldDisable:s}=e();("mode"!==n||F(KA,o))&&gp.set(t,s)}}}}),eD=(e,t)=>dd((o,n)=>{WA(e,o)(e.onAction),e.triggersSubmenu||t!==WO.CLOSE_ON_EXECUTE||(o.getSystem().isConnected()&&jc(o,Ka()),n.stop())}),tD={[Ga()]:["disabling","alloy.base.behaviour","toggling","item-events"]},oD=Pe,nD=(e,t,o,n)=>{const s=ye(b);return{type:"item",dom:t.dom,components:oD(t.optComponents),data:e.data,eventOrder:tD,hasSubmenu:e.triggersSubmenu,itemBehaviours:hd([wd("item-events",[eD(e,o),jA(e,s),$A(e,s)]),HA(()=>!e.enabled||n.checkUiComponentContext(e.context).shouldDisable),ZA(()=>n.checkUiComponentContext(e.context)),ug.config({})].concat(e.itemBehaviours))}},sD=e=>({value:e.value,meta:{text:e.text.getOr(""),...e.meta}}),rD=(e,t)=>{const o=it("div");return ns(o,"tox-image-selector-loading-spinner"),{dom:{tag:e.tag,attributes:e.attributes??{},classes:e.classes},components:[{dom:{tag:"div",classes:["tox-image-selector-image-wrapper"]},components:[{dom:{tag:"img",attributes:{src:t},classes:["tox-image-selector-image-img"]}}]},...e.checkMark.toArray()],behaviours:hd([...e.behaviours??[],wd("render-image-events",[id(e=>{var t;t=e.element,ns(t,"tox-image-selector-loading-spinner-wrapper"),$o(t,o),Xn(e.element,"img").each(t=>{rn(t).catch(e=>{console.error(e)}).finally(()=>{(e=>{rs(e,"tox-image-selector-loading-spinner-wrapper"),tn(o)})(e.element)})})})])])}},aD=e=>{const t=JS.os.isMacOS()||JS.os.isiOS(),o=t?{alt:"\u2325",ctrl:"\u2303",shift:"\u21e7",meta:"\u2318",access:"\u2303\u2325"}:{meta:"Ctrl",access:"Shift+Alt"},n=e.split("+"),s=V(n,e=>{const t=e.toLowerCase().trim();return be(o,t)?o[t]:e});return t?s.join(""):s.join("+")},iD=(e,t,o=[XO])=>VO(e,{tag:"div",classes:o},t),lD=e=>({dom:{tag:"div",classes:[KO]},components:[zg(AO.translate(e))]}),cD=(e,t)=>({dom:{tag:"div",classes:t,innerHtml:e}}),dD=(e,t)=>({dom:{tag:"div",classes:[KO]},components:[{dom:{tag:e.tag,styles:e.styles},components:[zg(AO.translate(t))]}]}),uD=e=>({dom:{tag:"div",classes:["tox-collection__item-accessory"]},components:[zg(aD(e))]}),mD=e=>iD("checkmark",e,["tox-collection__item-checkmark"]),gD=(e,t)=>{const o=e.map(e=>({attributes:{id:Ne("menu-item"),"aria-label":AO.translate(e)}})).getOr({});return{tag:"div",classes:[jO,$O].concat(t),...o}},pD=e=>({dom:{tag:"label"},components:[zg(e)]}),hD=(e,t,o,n=A.none())=>"color"===e.presets?((e,t,o)=>{const n=e.value,s=e.iconContent.map(e=>((e,t,o)=>{const n=t();return FO(e,n).or(o).getOrThunk(BO(n))})(e,t.icons,o)),r=e.ariaLabel.map(e=>({"aria-label":t.translate(e),"data-mce-name":e})).getOr({});return{dom:(()=>{const e=GO,t=s.getOr(""),o={tag:"div",attributes:r,classes:[e]};return"custom"===n?{...o,tag:"button",classes:[...o.classes,"tox-swatches__picker-btn"],innerHtml:t}:"remove"===n?{...o,classes:[...o.classes,"tox-swatch--remove"],innerHtml:t}:g(n)?{...o,attributes:{...o.attributes,"data-mce-color":n},styles:{"background-color":n},innerHtml:t}:o})(),optComponents:[]}})(e,t,n):"img"===e.presets?(e=>{var t,o;return{dom:gD(e.ariaLabel,["tox-collection__item-image-selector"]),optComponents:[A.some((t=e.iconContent.getOrDie(),o={tag:"div",classes:["tox-collection__item-image"],checkMark:e.checkMark},rD(o,t))),e.labelContent.map(pD)]}})(e):((e,t,o,n)=>{const s={tag:"div",classes:[XO]},r=o?e.iconContent.map(e=>VO(e,s,t.icons,n)).orThunk(()=>A.some({dom:s})):A.none(),a=e.checkMark,i=A.from(e.meta).fold(()=>lD,e=>be(e,"style")?C(dD,e.style):lD),l=e.htmlContent.fold(()=>e.textContent.map(i),e=>A.some(cD(e,[KO])));return{dom:gD(e.ariaLabel,[]),optComponents:[r,l,e.shortcutContent.map(uD),a,e.caret,e.labelContent.map(pD)]}})(e,t,o,n),fD=(e,t,o)=>fe(e,"tooltipWorker").map(e=>[Tv.config({lazySink:t.getSink,tooltipDom:{tag:"div",classes:["tox-tooltip-worker-container"]},tooltipComponents:[],anchor:e=>({type:"submenu",item:e,overrides:{maxHeightFunction:Fc}}),mode:"follow-highlight",onShow:(t,o)=>{e(e=>{Tv.setComponents(t,[Vg({element:ct(e)})])})}})]).getOrThunk(()=>o.map(e=>[Tv.config({...t.providers.tooltips.getConfig({tooltipText:e}),mode:"follow-highlight"})]).getOr([])),bD=(e,t)=>{const o=(e=>XS.DOM.encode(e))(AO.translate(e));if(t.length>0){const e=new RegExp((e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))(t),"gi");return o.replace(e,e=>`${e}`)}return o},vD=(e,t,o,n,s,r,a,i=!0)=>{const l=hD({presets:o,textContent:t?e.text:A.none(),htmlContent:A.none(),labelContent:e.label,ariaLabel:e.text,iconContent:e.icon,shortcutContent:t?e.shortcut:A.none(),checkMark:t?A.some(mD(a.icons)):A.none(),caret:A.none(),value:e.value},a,i),c=e.text.filter(y(!t)).map(e=>Tv.config(a.tooltips.getConfig({tooltipText:a.translate(e)})));return Ve(nD({context:e.context,data:sD(e),enabled:e.enabled,getApi:e=>({setActive:t=>{hv.set(e,t)},isActive:()=>hv.isOn(e),isEnabled:()=>!gp.isDisabled(e),setEnabled:t=>gp.set(e,!t)}),onAction:t=>n(e.value),onSetup:e=>(e.setActive(s),b),triggersSubmenu:!1,itemBehaviours:[...c.toArray()]},l,r,a),{toggling:{toggleClass:YO,toggleOnExecute:!1,selected:e.active,exclusive:!0}})},xD=e=>({type:"separator",dom:{tag:"div",classes:[$O,"tox-collection__group-heading"]},components:e.text.map(zg).toArray()}),yD=e=>({value:kD(e)}),wD=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,SD=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,CD=e=>wD.test(e)||SD.test(e),kD=e=>Ke(e,"#").toUpperCase(),OD=e=>{const t=e.toString(16);return(1===t.length?"0"+t:t).toUpperCase()},_D=e=>{const t=OD(e.red)+OD(e.green)+OD(e.blue);return yD(t)},TD=(e,t,o)=>({hue:e,saturation:t,value:o}),ED=e=>{let t=0,o=0,n=0;const s=e.red/255,r=e.green/255,a=e.blue/255,i=Math.min(s,Math.min(r,a)),l=Math.max(s,Math.max(r,a));return i===l?(n=i,TD(0,0,100*n)):(t=s===i?3:a===i?1:5,t=60*(t-(s===i?r-a:a===i?s-r:a-s)/(l-i)),o=(l-i)/l,n=l,TD(Math.round(t),Math.round(100*o),Math.round(100*n)))},AD=Math.min,DD=Math.max,MD=Math.round,BD=/^\s*rgb\s*\(\s*(\d+)\s*[,\s]\s*(\d+)\s*[,\s]\s*(\d+)\s*\)\s*$/i,ID=/^\s*rgba\s*\(\s*(\d+)\s*[,\s]\s*(\d+)\s*[,\s]\s*(\d+)\s*[,\s]\s*((?:\d?\.\d+|\d+)%?)\s*\)\s*$/i,FD=(e,t,o,n)=>({red:e,green:t,blue:o,alpha:n}),RD=e=>{const t=parseInt(e,10);return t.toString()===e&&t>=0&&t<=255},ND=e=>{let t,o,n;const s=(e.hue||0)%360;let r=e.saturation/100,a=e.value/100;if(r=DD(0,AD(r,1)),a=DD(0,AD(a,1)),0===r)return t=o=n=MD(255*a),FD(t,o,n,1);const i=s/60,l=a*r,c=l*(1-Math.abs(i%2-1)),d=a-l;switch(Math.floor(i)){case 0:t=l,o=c,n=0;break;case 1:t=c,o=l,n=0;break;case 2:t=0,o=l,n=c;break;case 3:t=0,o=c,n=l;break;case 4:t=c,o=0,n=l;break;case 5:t=l,o=0,n=c;break;default:t=o=n=0}return t=MD(255*(t+d)),o=MD(255*(o+d)),n=MD(255*(n+d)),FD(t,o,n,1)},zD=e=>{const t=(e=>{const t=(e=>{const t=e.value.replace(wD,(e,t,o,n)=>t+t+o+o+n+n);return{value:t}})(e),o=SD.exec(t.value);return null===o?["FFFFFF","FF","FF","FF"]:o})(e),o=parseInt(t[1],16),n=parseInt(t[2],16),s=parseInt(t[3],16);return FD(o,n,s,1)},VD=(e,t,o,n)=>{const s=parseInt(e,10),r=parseInt(t,10),a=parseInt(o,10),i=parseFloat(n);return FD(s,r,a,i)},LD=e=>{const t=BD.exec(e);if(null!==t)return A.some(VD(t[1],t[2],t[3],"1"));const o=ID.exec(e);return null!==o?A.some(VD(o[1],o[2],o[3],o[4])):A.none()},HD=e=>`rgba(${e.red},${e.green},${e.blue},${e.alpha})`,PD=FD(255,0,0,1),UD=e=>_D(ND(e)),WD=(e,t)=>{e.dispatch("ResizeContent",t)},jD=(e,t)=>{e.dispatch("TextColorChange",t)},$D=(e,t)=>e.dispatch("ResolveName",{name:t.nodeName.toLowerCase(),target:t}),GD=e=>{e.dispatch("ToggleSidebar")},qD=e=>{e.dispatch("ContextToolbarClose")},YD=(e,t)=>()=>{e(),t()},XD=(e,t=E)=>JD(e,"NodeChange",o=>{o.setEnabled(e.selection.isEditable()&&t())}),KD=(e,t)=>o=>{const n=XD(e)(o),s=((e,t)=>o=>{const n=qe(),s=()=>{o.setActive(e.formatter.match(t));const s=e.formatter.formatChanged(t,o.setActive);n.set(s)};return e.initialized?s():e.once("init",s),()=>{e.off("init",s),n.clear()}})(e,t)(o);return()=>{n(),s()}},JD=(e,t,o)=>n=>{const s=()=>o(n),r=()=>{o(n),e.on(t,s)};return e.initialized?r():e.once("init",r),()=>{e.off("init",r),e.off(t,s)}},QD=e=>t=>()=>{e.undoManager.transact(()=>{e.focus(),e.execCommand("mceToggleFormat",!1,t.format)})},ZD=(e,t)=>()=>e.execCommand(t);var eM=tinymce.util.Tools.resolve("tinymce.util.LocalStorage");const tM={},oM=e=>fe(tM,e).getOrThunk(()=>{const t=`tinymce-custom-colors-${e}`,o=eM.getItem(t);if(m(o)){const e=eM.getItem("tinymce-custom-colors");eM.setItem(t,g(e)?e:"[]")}const n=((e,t=10)=>{const o=eM.getItem(e),n=r(o)?JSON.parse(o):[],s=t-(a=n).length<0?a.slice(0,t):a;var a;const i=e=>{s.splice(e,1)};return{add:o=>{((e,t)=>{const o=I(e,t);return-1===o?A.none():A.some(o)})(s,o).each(i),s.unshift(o),s.length>t&&s.pop(),eM.setItem(e,JSON.stringify(s))},state:()=>s.slice(0)}})(t,10);return tM[e]=n,n}),nM=(e,t)=>{oM(e).add(t)},sM="forecolor",rM="hilitecolor",aM=e=>{const t=[];for(let o=0;ot=>t.options.get(e),lM="#000000",cM=(e,t)=>t===sM&&e.options.isSet("color_map_foreground")?iM("color_map_foreground")(e):t===rM&&e.options.isSet("color_map_background")?iM("color_map_background")(e):e.options.isSet("color_map_raw")?iM("color_map_raw")(e):iM("color_map")(e),dM=(e,t="default")=>Math.max(5,Math.ceil(Math.sqrt(cM(e,t).length))),uM=(e,t)=>{const o=iM("color_cols")(e),n=dM(e,t);return o===dM(e)?n:o},mM=(e,t="default")=>Math.round(t===sM?iM("color_cols_foreground")(e):t===rM?iM("color_cols_background")(e):iM("color_cols")(e)),gM=iM("custom_colors"),pM=iM("color_default_foreground"),hM=iM("color_default_background"),fM=(e,t)=>{const o=ct(e.selection.getStart()),n="hilitecolor"===t?vs(o,e=>{if(so(e)){const t=fn(e,"background-color");return je((e=>LD(e).exists(e=>0!==e.alpha))(t),t)}return A.none()}).getOr("rgba(0, 0, 0, 0)"):fn(o,"color");return LD(n).map(e=>"#"+_D(e).value)},bM=e=>{const t="choiceitem",o={type:t,text:"Remove color",icon:"color-swatch-remove-color",value:"remove"};return e?[o,{type:t,text:"Custom color",icon:"color-picker",value:"custom"}]:[o]},vM=(e,t,o,n)=>{"custom"===o?TM(e)(o=>{o.each(o=>{nM(t,o),e.execCommand("mceApplyTextcolor",t,o),n(o)})},fM(e,t).getOr(lM)):"remove"===o?(n(""),e.execCommand("mceRemoveTextcolor",t)):(n(o),e.execCommand("mceApplyTextcolor",t,o))},xM=(e,t,o)=>e.concat((e=>V(oM(e).state(),e=>({type:"choiceitem",text:e,icon:"checkmark",value:e})))(t).concat(bM(o))),yM=(e,t,o)=>n=>{n(xM(e,t,o))},wM=(e,t,o)=>{const n="forecolor"===t?"tox-icon-text-color__color":"tox-icon-highlight-bg-color__color";e.setIconFill(n,o)},SM=(e,t)=>{e.setTooltip(t)},CM=(e,t)=>o=>{const n=fM(e,t);return He(n,o.toUpperCase())},kM=(e,t,o)=>{if(ot(o))return"forecolor"===t?"Text color":"Background color";const n="forecolor"===t?"Text color {0}":"Background color {0}",s=xM(cM(e,t),t,!1),r=j(s,e=>e.value===o).getOr({text:""}).text;return e.translate([n,e.translate(r)])},OM=(e,t,o,n)=>{e.ui.registry.addSplitButton(t,{tooltip:kM(e,o,n.get()),chevronTooltip:"forecolor"===t?"Text color menu":"Background color menu",presets:"color",icon:"forecolor"===t?"text-color":"highlight-bg-color",select:CM(e,o),columns:mM(e,o),fetch:yM(cM(e,o),o,gM(e)),onAction:t=>{vM(e,o,n.get(),b)},onItemAction:(s,r)=>{vM(e,o,r,o=>{n.set(o),jD(e,{name:t,color:o})})},onSetup:s=>{wM(s,t,n.get());const r=n=>{n.name===t&&(wM(s,n.name,n.color),SM(s,kM(e,o,n.color)))};return e.on("TextColorChange",r),YD(XD(e)(s),()=>{e.off("TextColorChange",r)})}})},_M=(e,t,o,n,s)=>{e.ui.registry.addNestedMenuItem(t,{text:n,icon:"forecolor"===t?"text-color":"highlight-bg-color",onSetup:n=>(SM(n,kM(e,o,s.get())),wM(n,t,s.get()),XD(e)(n)),getSubmenuItems:()=>[{type:"fancymenuitem",fancytype:"colorswatch",select:CM(e,o),initData:{storageKey:o},onAction:n=>{vM(e,o,n.value,o=>{s.set(o),jD(e,{name:t,color:o})})}}]})},TM=e=>(t,o)=>{let n=!1;const s={colorpicker:o};e.windowManager.open({title:"Color Picker",size:"normal",body:{type:"panel",items:[{type:"colorpicker",name:"colorpicker",label:"Color"}]},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:s,onAction:(e,t)=>{"hex-valid"===t.name&&(n=t.value)},onSubmit:o=>{const s=o.getData().colorpicker;n?(t(A.from(s)),o.close()):e.windowManager.alert(e.translate(["Invalid hex color code: {0}",s]))},onClose:b,onCancel:()=>{t(A.none())}})},EM=(e,t,o,n,s,r,a,i)=>{const l=S_(t),c=AM(t,o,n,"color"!==s?"normal":"color",r,a,i);return O_(e,l,c,n,{menuType:s})},AM=(e,t,o,n,s,r,a)=>Pe(V(e,i=>{return"choiceitem"===i.type?(l=i,Br("choicemenuitem",xA,l)).fold(C_,i=>A.some(vD(i,1===o,n,t,r(i.value),s,a,S_(e)))):"imageitem"===i.type?(e=>Br("imagemenuitem",OA,e))(i).fold(C_,e=>A.some(((e,t,o,n,s)=>{const r=hD({presets:"img",textContent:A.none(),htmlContent:A.none(),ariaLabel:e.tooltip,iconContent:A.some(e.url),labelContent:e.label,shortcutContent:A.none(),checkMark:A.some(mD(s.icons)),caret:A.none(),value:e.value},s,!0),a=e.tooltip.map(e=>Tv.config(s.tooltips.getConfig({tooltipText:s.translate(e)})));return Ve(nD({context:e.context,data:sD(e),enabled:e.enabled,getApi:e=>({setActive:t=>{hv.set(e,t)},isActive:()=>hv.isOn(e),isEnabled:()=>!gp.isDisabled(e),setEnabled:t=>gp.set(e,!t)}),onAction:o=>{t(e.value),o.setActive(!0)},onSetup:e=>(e.setActive(o),b),triggersSubmenu:!1,itemBehaviours:[...a.toArray()]},r,n,s),{toggling:{toggleClass:YO,toggleOnExecute:!1,selected:e.active,exclusive:!0}})})(e,t,r(e.value),s,a))):"resetimage"===i.type?(e=>Br("resetimageitem",_A,e))(i).fold(C_,i=>A.some(vD({...i,type:"choiceitem",text:i.tooltip,icon:A.some(i.icon),label:A.some(i.label)},1===o,n,t,r(i.value),s,a,S_(e)))):A.none();var l})),DM=(e,t)=>{const o=s_(t);return 1===e?{mode:"menu"}:"auto"===e?{mode:"grid",selector:"."+o.item,initSize:{numColumns:1,numRows:1}}:{mode:"matrix",rowSelector:"."+{color:"tox-swatches__row",imageselector:"tox-image-selector__row",listpreview:"tox-collection__group",normal:"tox-collection__group"}[t],previousSelector:e=>"color"===t?Xn(e.element,"[aria-checked=true]"):A.none()}},MM=Ne("cell-over"),BM=Ne("cell-execute"),IM=(e,t,o)=>{const n=o=>$c(o,BM,{row:e,col:t}),s=(e,t)=>{t.stop(),n(e)};return Pg({dom:{tag:"div",attributes:{role:"button","aria-label":o}},behaviours:hd([wd("insert-table-picker-cell",[Zc(ka(),_d.focus),Zc(Ga(),n),Zc(Ma(),s),Zc(Ya(),s)]),hv.config({toggleClass:"tox-insert-table-picker__selected",toggleOnExecute:!1}),_d.config({onFocus:o=>$c(o,MM,{row:e,col:t})})])})},FM=e=>q(e,e=>V(e,Ug)),RM=(e,t)=>zg(`${t}x${e}`),NM={inserttable:(e,t)=>{const o=(e=>(t,o)=>e.shared.providers.translate(["{0} columns, {1} rows",o,t]))(t),n=(e=>{const t=[];for(let o=0;o<10;o++){const n=[];for(let t=0;t<10;t++){const s=e(o+1,t+1);n.push(IM(o,t,s))}t.push(n)}return t})(o),s=RM(0,0),r=Dv({dom:{tag:"span",classes:["tox-insert-table-picker__label"]},components:[s],behaviours:hd([ug.config({})])});return{type:"widget",data:{value:Ne("widget-id")},dom:{tag:"div",classes:["tox-fancymenuitem"]},autofocus:!0,components:[fy.widget({dom:{tag:"div",classes:["tox-insert-table-picker"]},components:FM(n).concat(r.asSpec()),behaviours:hd([wd("insert-table-picker",[id(e=>{ug.set(r.get(e),[s])}),nd(MM,(e,t,o)=>{const{row:s,col:a}=o.event;((e,t,o)=>{for(let n=0;n<10;n++)for(let s=0;s<10;s++)hv.set(e[n][s],n<=t&&s<=o)})(n,s,a),ug.set(r.get(e),[RM(s+1,a+1)])}),nd(BM,(t,o,n)=>{const{row:s,col:r}=n.event;jc(t,Ka()),e.onAction({numRows:s+1,numColumns:r+1})})]),Im.config({initSize:{numRows:10,numColumns:10},mode:"flatgrid",selector:'[role="button"]'})])})]}},colorswatch:(e,t)=>{const o=((e,t)=>{const o=e.initData.allowCustomColors&&t.colorinput.hasCustomColors();return e.initData.colors.fold(()=>xM(t.colorinput.getColors(e.initData.storageKey),e.initData.storageKey,o),e=>e.concat(bM(o)))})(e,t),n=t.colorinput.getColorCols(e.initData.storageKey),s="color",r=EM(Ne("menu-value"),o,t=>{e.onAction({value:t})},n,s,WO.CLOSE_ON_EXECUTE,e.select.getOr(T),t.shared.providers),a={...r,markers:s_(s),movement:DM(n,s),showMenuRole:!1};return{type:"widget",data:{value:Ne("widget-id")},dom:{tag:"div",classes:["tox-fancymenuitem"]},autofocus:!0,components:[fy.widget(hx.sketch(a))]}},imageselect:(e,t)=>{const o="imageselector",n=e.initData.columns,s=EM(Ne("menu-value"),e.initData.items,t=>{e.onAction({value:t})},n,o,WO.CLOSE_ON_EXECUTE,e.select.getOr(T),t.shared.providers),r={...s,markers:s_(o),movement:DM(n,o),showMenuRole:!1};return{type:"widget",data:{value:Ne("widget-id")},dom:{tag:"div",classes:["tox-fancymenuitem","tox-collection--toolbar"]},autofocus:!0,components:[fy.widget(hx.sketch(r))]}}},zM=(e,t)=>V(e,e=>{switch(e.type){case"cardcontainer":return((e,t)=>{const o="vertical"===e.direction?"tox-collection__item-container--column":e_,n="left"===e.align?"tox-collection__item-container--align-left":"tox-collection__item-container--align-right";return{dom:{tag:"div",classes:[ZO,o,n,(()=>{switch(e.valign){case"top":return"tox-collection__item-container--valign-top";case"middle":return"tox-collection__item-container--valign-middle";case"bottom":return"tox-collection__item-container--valign-bottom"}})()]},components:t}})(e,zM(e.items,t));case"cardimage":return((e,t,o)=>({dom:{tag:"img",classes:t,attributes:{src:e,alt:o.getOr("")}}}))(e.src,e.classes,e.alt);case"cardtext":const o=e.name.exists(e=>F(t.cardText.highlightOn,e)),n=o?A.from(t.cardText.matchText).getOr(""):"";return cD(bD(e.text,n),e.classes)}}),VM=(e,t,o)=>{m_(e).each(e=>{var n;((e,t)=>{Jo(t.element,"id").each(t=>Yo(e.element,"aria-activedescendant",t))})(e,o),(as((n=t).element,h_)?A.some(n.element):Xn(n.element,"."+h_)).each(t=>{Jo(t,"id").each(t=>Yo(e.element,"aria-controls",t))})}),Yo(o.element,"aria-selected","true")},LM=(e,t,o)=>{Yo(o.element,"aria-selected","false")},HM=e=>Zg.getExistingCoupled(e,"sandbox").bind(u_).map(g_).map(e=>e.fetchPattern).getOr("");var PM;!function(e){e[e.ContentFocus=0]="ContentFocus",e[e.UiFocus=1]="UiFocus"}(PM||(PM={}));const UM=(e,t,o,n,s)=>{const r=o.shared.providers,a=e=>s?{...e,shortcut:A.none(),icon:e.text.isSome()?A.none():e.icon}:e;switch(e.type){case"menuitem":return(i=e,Br("menuitem",TA,i)).fold(C_,e=>A.some(((e,t,o,n=!0)=>{const s=hD({presets:"normal",iconContent:e.icon,textContent:e.text,htmlContent:A.none(),labelContent:A.none(),ariaLabel:e.text,caret:A.none(),checkMark:A.none(),shortcutContent:e.shortcut},o,n);return nD({context:e.context,data:sD(e),getApi:e=>({isEnabled:()=>!gp.isDisabled(e),setEnabled:t=>gp.set(e,!t)}),enabled:e.enabled,onAction:e.onAction,onSetup:e.onSetup,triggersSubmenu:!1,itemBehaviours:[]},s,t,o)})(a(e),t,r,n)));case"nestedmenuitem":return(e=>Br("nestedmenuitem",EA,e))(e).fold(C_,e=>A.some(((e,t,o,n=!0,s=!1)=>{const r=s?(a=o.icons,iD("chevron-down",a,[JO])):(e=>iD("chevron-right",e,[JO]))(o.icons);var a;const i=hD({presets:"normal",iconContent:e.icon,textContent:e.text,htmlContent:A.none(),ariaLabel:e.text,labelContent:A.none(),caret:A.some(r),checkMark:A.none(),shortcutContent:e.shortcut},o,n);return nD({context:e.context,data:sD(e),getApi:e=>({isEnabled:()=>!gp.isDisabled(e),setEnabled:t=>gp.set(e,!t),setIconFill:(t,o)=>{Xn(e.element,`svg path[class="${t}"], rect[class="${t}"]`).each(e=>{Yo(e,"fill",o)})},setTooltip:t=>{const n=o.translate(t);Yo(e.element,"aria-label",n)}}),enabled:e.enabled,onAction:b,onSetup:e.onSetup,triggersSubmenu:!0,itemBehaviours:[]},i,t,o)})(a(e),t,r,n,s)));case"togglemenuitem":return(e=>Br("togglemenuitem",AA,e))(e).fold(C_,e=>A.some(((e,t,o,n=!0)=>{const s=hD({iconContent:e.icon,textContent:e.text,htmlContent:A.none(),labelContent:A.none(),ariaLabel:e.text,checkMark:A.some(mD(o.icons)),caret:A.none(),shortcutContent:e.shortcut,presets:"normal",meta:e.meta},o,n);return Ve(nD({context:e.context,data:sD(e),enabled:e.enabled,getApi:e=>({setActive:t=>{hv.set(e,t)},isActive:()=>hv.isOn(e),isEnabled:()=>!gp.isDisabled(e),setEnabled:t=>gp.set(e,!t)}),onAction:e.onAction,onSetup:e.onSetup,triggersSubmenu:!1,itemBehaviours:[]},s,t,o),{toggling:{toggleClass:YO,toggleOnExecute:!1,selected:e.active},role:e.role.getOrUndefined()})})(a(e),t,r,n)));case"separator":return(e=>Br("separatormenuitem",$E,e))(e).fold(C_,e=>A.some(xD(e)));case"fancymenuitem":return(e=>Br("fancymenuitem",kA,e))(e).fold(C_,e=>((e,t)=>fe(NM,e.fancytype).map(o=>o(e,t)))(e,o));default:return console.error("Unknown item in general menu",e),A.none()}var i},WM=(e,t,o,n,s,r)=>{const a=S_(t),i=Pe(V(t,e=>{const t=e=>UM(e,o,n,(e=>s?!be(e,"text"):a)(e),s);return"nestedmenuitem"===e.type&&e.getSubmenuItems().length<=0?t({...e,enabled:!1}):t(e)})),l=(e=>"no-search"===e.searchMode?{menuType:"normal"}:{menuType:"searchable",searchMode:e})(r);return(s?k_:O_)(e,a,i,1,l)},jM=e=>Cx.singleData(e.value,e),$M=e=>xs(ct(e.startContainer),e.startOffset,ct(e.endContainer),e.endOffset),GM=(e,t)=>{const o=Ne("autocompleter"),n=ye(!1),s=ye(!1),r=Ye(),a=Pg(dy.sketch({dom:{tag:"div",classes:["tox-autocompleter"],attributes:{id:o}},components:[],fireDismissalEventInstead:{},inlineBehaviours:hd([wd("dismissAutocompleter",[Zc(ri(),()=>u()),Zc(mi(),(t,o)=>{Jo(o.event.target,"id").each(t=>Yo(ct(e.getBody()),"aria-activedescendant",t))})])]),lazySink:t.getSink})),i=()=>dy.isOpen(a),l=s.get,c=()=>{if(i()){dy.hide(a),e.dom.remove(o,!1);const t=ct(e.getBody());Jo(t,"aria-owns").filter(e=>e===o).each(()=>{Zo(t,"aria-owns"),Zo(t,"aria-activedescendant")})}},d=()=>dy.getContent(a).bind(e=>ee(e.components(),0)),u=()=>e.execCommand("mceAutocompleterClose"),m=s=>{const i=(o=>{const s=se(o,e=>A.from(e.columns)).getOr(1);return q(o,o=>((e,t,o,n,s,r,a)=>{const i=1===n,l=!i||S_(e);return Pe(V(e,e=>{switch(e.type){case"separator":return(n=e,Br("Autocompleter.Separator",$E,n)).fold(C_,e=>A.some(xD(e)));case"cardmenuitem":return(e=>Br("cardmenuitem",vA,e))(e).fold(C_,e=>A.some(((e,t,o,n)=>{const s={dom:gD(e.label,[]),optComponents:[A.some({dom:{tag:"div",classes:[ZO,e_]},components:zM(e.items,n)})]};return nD({context:"mode:design",data:sD({text:A.none(),...e}),enabled:e.enabled,getApi:e=>({isEnabled:()=>!gp.isDisabled(e),setEnabled:t=>{gp.set(e,!t),L(gs(e.element,"*"),o=>{e.getSystem().getByDom(o).each(e=>{e.hasConfigured(gp)&&gp.set(e,!t)})})}}),onAction:e.onAction,onSetup:e.onSetup,triggersSubmenu:!1,itemBehaviours:A.from(n.itemBehaviours).getOr([])},s,t,o.providers)})({...e,onAction:t=>{e.onAction(t),o(e.value,e.meta)}},s,r,{itemBehaviours:fD(e.meta,r,A.none()),cardText:{matchText:t,highlightOn:a}})));default:return(e=>Br("Autocompleter.Item",GE,e))(e).fold(C_,e=>A.some(((e,t,o,n,s,r,a,i=!0)=>{const l=hD({presets:"normal",textContent:A.none(),htmlContent:o?e.text.map(e=>bD(e,t)):A.none(),ariaLabel:e.text,labelContent:A.none(),iconContent:e.icon,shortcutContent:A.none(),checkMark:A.none(),caret:A.none(),value:e.value},a.providers,i,e.icon),c=e.text.filter(e=>!o&&""!==e);return nD({context:"mode:design",data:sD(e),enabled:e.enabled,getApi:y({}),onAction:t=>s(e.value,e.meta),onSetup:y(b),triggersSubmenu:!1,itemBehaviours:fD(e,a,c)},l,r,a.providers)})(e,t,i,0,o,s,r,l)))}var n}))})(o.items,o.matchText,(t,s)=>{const a={hide:()=>u(),reload:t=>{c(),e.execCommand("mceAutocompleterReload",!1,{fetchOptions:t})}};e.execCommand("mceAutocompleterRefreshActiveRange"),r.get().each(e=>{n.set(!0),o.onAction(a,e,t,s),n.set(!1)})},s,WO.BUBBLE_TO_SANDBOX,t,o.highlightOn))})(s);i.length>0?(((t,o)=>{const n=se(t,e=>A.from(e.columns)).getOr(1);dy.showMenuAt(a,{anchor:{type:"selection",getSelection:()=>r.get().map($M),root:ct(e.getBody())}},((e,t,o,n)=>{const s=DM(t,n),r=s_(n);return{data:jM({...e,movement:s,menuBehaviours:LA("auto"!==t?[]:[id((e,t)=>{VA(e,4,r.item).each(({numColumns:t,numRows:o})=>{Im.setGridSize(e,o,t)})})])}),menu:{markers:s_(n),fakeFocus:o===PM.ContentFocus}}})(O_("autocompleter-value",!0,o,n,{menuType:"normal"}),n,PM.ContentFocus,"normal")),d().each(ru.highlightFirst)})(s,i),Yo(ct(e.getBody()),"aria-owns",o),e.inline||g()):c()},g=()=>{e.dom.get(o)&&e.dom.remove(o,!1);const t=e.getDoc().documentElement,n=e.selection.getNode(),s=(e=>on(e,!0))(a.element);pn(s,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px",top:`${n.offsetTop}px`,left:`${n.offsetLeft}px`}),e.dom.add(t,s.dom),Xn(s,'[role="menu"]').each(e=>{wn(e,"position"),wn(e,"max-height")})};e.on("AutocompleterStart",({lookupData:e})=>{s.set(!0),n.set(!1),m(e)}),e.on("AutocompleterUpdate",({lookupData:e})=>m(e)),e.on("AutocompleterUpdateActiveRange",({range:e})=>r.set(e)),e.on("AutocompleterEnd",()=>{c(),s.set(!1),n.set(!1),r.clear()});((e,t)=>{const o=(e,t)=>{$c(e,Ta(),{raw:t})},n=()=>e.getMenu().bind(ru.getHighlighted);t.on("keydown",t=>{const s=t.which;e.isActive()&&(e.isMenuOpen()?13===s?(n().each(Gc),t.preventDefault()):40===s?(n().fold(()=>{e.getMenu().each(ru.highlightFirst)},e=>{o(e,t)}),t.preventDefault(),t.stopImmediatePropagation()):37!==s&&38!==s&&39!==s||n().each(e=>{o(e,t),t.preventDefault(),t.stopImmediatePropagation()}):13!==s&&38!==s&&40!==s||e.cancelIfNecessary())}),t.on("NodeChange",()=>{!e.isActive()||e.isProcessingAction()||t.queryCommandState("mceAutoCompleterInRange")||e.cancelIfNecessary()})})({cancelIfNecessary:u,isMenuOpen:i,isActive:l,isProcessingAction:n.get,getMenu:d},e)};var qM=tinymce.util.Tools.resolve("tinymce.html.Entities");const YM=(e,t,o,n)=>{const s=XM(e,t,o,n);return sy.sketch(s)},XM=(e,t,o,n)=>({dom:KM(o),components:e.toArray().concat([t]),fieldBehaviours:hd(n)}),KM=e=>({tag:"div",classes:["tox-form__group"].concat(e)}),JM=(e,t)=>sy.parts.label({dom:{tag:"label",classes:["tox-label"]},components:[zg(t.translate(e))]}),QM=Ne("form-component-change"),ZM=Ne("form-component-input"),eB=Ne("form-close"),tB=Ne("form-cancel"),oB=Ne("form-action"),nB=Ne("form-submit"),sB=Ne("form-block"),rB=Ne("form-unblock"),aB=Ne("form-tabchange"),iB=Ne("form-resize"),lB=(e,t,o)=>{const n=e.label.map(e=>JM(e,t)),s=t.icons(),r=e=>(t,o)=>{Kn(o.event.target,"[data-collection-item-value]").each(n=>{e(t,o,n,Ko(n,"data-collection-item-value"))})},a=r((o,n,s,r)=>{n.stop(),t.checkUiComponentContext("mode:design").shouldDisable||t.isDisabled()||$c(o,oB,{name:e.name,value:r})}),i=[Zc(ka(),r((e,t,o)=>{zo(o,!0)})),Zc(Ma(),a),Zc(Ya(),a),Zc(Oa(),r((e,t,o)=>{Xn(e.element,"."+QO).each(e=>{rs(e,QO)}),ns(o,QO)})),Zc(_a(),r(e=>{Xn(e.element,"."+QO).each(e=>{rs(e,QO),Vo(e)})})),dd(r((t,o,n,s)=>{$c(t,oB,{name:e.name,value:s})}))],l=(e,t)=>V(gs(e.element,".tox-collection__item"),t),c=sy.parts.field({dom:{tag:"div",classes:["tox-collection"].concat(1!==e.columns?["tox-collection--grid"]:["tox-collection--list"])},components:[],factory:{sketch:w},behaviours:hd([gp.config({disabled:()=>t.checkUiComponentContext(e.context).shouldDisable,onDisabled:e=>{l(e,e=>{ns(e,"tox-collection__item--state-disabled"),Yo(e,"aria-disabled",!0)})},onEnabled:e=>{l(e,e=>{rs(e,"tox-collection__item--state-disabled"),Zo(e,"aria-disabled")})}}),ZA(()=>t.checkUiComponentContext(e.context)),ug.config({}),Tv.config({...t.tooltips.getConfig({tooltipText:"",onShow:e=>{Xn(e.element,"."+QO+"[data-mce-tooltip]").each(o=>{Jo(o,"data-mce-tooltip").each(o=>{Tv.setComponents(e,t.tooltips.getComponents({tooltipText:o}))})})}}),mode:"children-keyboard-focus",anchor:e=>({type:"node",node:Xn(e.element,"."+QO).orThunk(()=>yt(".tox-collection__item")),root:e.element,layouts:{onLtr:y([oc,tc,Jl,Zl,Ql,ec]),onRtl:y([oc,tc,Jl,Zl,Ql,ec])},bubble:Ml(0,-2,{})})}),mf.config({store:{mode:"memory",initialValue:o.getOr([])},onSetValue:(o,n)=>{((o,n)=>{const r=t.checkUiComponentContext("mode:design").shouldDisable||t.isDisabled()?" tox-collection__item--state-disabled":"",a=V(n,t=>{const o=AO.translate(t.text),n=1===e.columns?`
${o}
`:"",a=`
${(e=>s[e]??e)(t.icon)}
`,i={_:" "," - ":" ","-":" "},l=o.replace(/\_| \- |\-/g,e=>i[e]);return`
${a}${n}
`}),i="auto"!==e.columns&&e.columns>1?z(a,e.columns):[a],l=V(i,e=>`
${e.join("")}
`);sn(o.element,l.join(""))})(o,n),"auto"===e.columns&&VA(o,5,"tox-collection__item").each(({numRows:e,numColumns:t})=>{Im.setGridSize(o,e,t)}),jc(o,iB)}}),iv.config({}),Im.config((d=e.columns,1===d?{mode:"menu",selector:".tox-collection__item"}:"auto"===d?{mode:"flatgrid",selector:".tox-collection__item",initSize:{numColumns:1,numRows:1}}:{mode:"matrix",selectors:{row:".tox-collection__group",cell:`.${$O}`}})),wd("collection-events",i)]),eventOrder:{[Ga()]:["disabling","alloy.base.behaviour","collection-events"],[Oa()]:["collection-events","tooltipping"]}});var d;return YM(n,c,["tox-form__group--collection"],[])},cB=Ne("color-input-change"),dB=Ne("color-swatch-change"),uB=Ne("color-picker-cancel"),mB=()=>Xg.config({find:A.some}),gB=e=>Xg.config({find:t=>yo(t.element,e).bind(e=>t.getSystem().getByDom(e).toOptional())}),pB=kr([sa("preprocess",w),sa("postprocess",w)]),hB=(e,t)=>{const o=Fr("RepresentingConfigs.memento processors",pB,t);return mf.config({store:{mode:"manual",getValue:t=>{const n=e.get(t),s=mf.getValue(n);return o.postprocess(s)},setValue:(t,n)=>{const s=o.preprocess(n),r=e.get(t);mf.setValue(r,s)}}})},fB=(e,t,o)=>mf.config({store:{mode:"manual",...e.map(e=>({initialValue:e})).getOr({}),getValue:t,setValue:o}}),bB=(e,t,o)=>fB(e,e=>t(e.element),(e,t)=>o(e.element,t)),vB=e=>mf.config({store:{mode:"memory",initialValue:e}}),xB=Ne("rgb-hex-update"),yB=Ne("slider-update"),wB=Ne("palette-update"),SB=Ne("valid-input"),CB=Ne("invalid-input"),kB=Ne("validating-input"),OB="colorcustom.rgb.",_B={isEnabled:E,setEnabled:b,immediatelyShow:b,immediatelyHide:b},TB=(e,t,o,n,s,r)=>{const a=(e,t)=>{const o=t.get();e!==o.isEnabled()&&(o.setEnabled(e),e?o.immediatelyShow():o.immediatelyHide())},i=(o,n,s)=>gf.config({invalidClass:t("invalid"),notify:{onValidate:e=>{$c(e,kB,{type:o})},onValid:e=>{a(!1,s),$c(e,SB,{type:o,value:mf.getValue(e)})},onInvalid:e=>{a(!0,s),$c(e,CB,{type:o,value:mf.getValue(e)})}},validator:{validate:t=>{const o=mf.getValue(t),s=n(o)?Ae.value(!0):Ae.error(e("aria.input.invalid"));return _e(s)},validateOnLoad:!1}}),l=(o,n,a,l,c)=>{const d=ye(_B),u=e(OB+"range"),m=sy.parts.label({dom:{tag:"label"},components:[zg(a)]}),g=sy.parts.field({data:c,factory:hy,inputAttributes:{type:"text","aria-label":l,..."hex"===n?{"aria-live":"polite"}:{}},inputClasses:[t("textfield")],inputBehaviours:hd([i(n,o,d),iv.config({}),Tv.config({...s({tooltipText:"",onSetup:e=>{d.set({isEnabled:()=>Tv.isEnabled(e),setEnabled:t=>Tv.setEnabled(e,t),immediatelyShow:()=>Tv.immediateOpenClose(e,!0),immediatelyHide:()=>Tv.immediateOpenClose(e,!1)}),Tv.setEnabled(e,!1)},onShow:(o,s)=>{Tv.setComponents(o,[{dom:{tag:"p",classes:[t("rgb-warning-note")]},components:[zg(e("hex"===n?"colorcustom.rgb.invalidHex":"colorcustom.rgb.invalid"))]}])}})})]),onSetValue:e=>{gf.isInvalid(e)&&gf.run(e).get(b)}}),p=Ne("aria-invalid"),h=Dv(r("invalid",A.some(p),"warning")),f=[m,g,Dv({dom:{tag:"div",classes:[t("invalid-icon")]},components:[h.asSpec()]}).asSpec()],v="hex"!==n?[sy.parts["aria-descriptor"]({text:u})]:[],x=f.concat(v);return{dom:{tag:"div",attributes:{role:"presentation"},classes:[t("rgb-container")]},components:x}},c=(e,t)=>{const o=t.red,n=t.green,s=t.blue;mf.setValue(e,{red:o,green:n,blue:s})},d=Dv({dom:{tag:"div",classes:[t("rgba-preview")],styles:{"background-color":"white"},attributes:{role:"presentation"}}}),u=(e,t)=>{d.getOpt(e).each(e=>{gn(e.element,"background-color","#"+t.value)})},m=hh({factory:()=>{const s={red:ye(A.some(255)),green:ye(A.some(255)),blue:ye(A.some(255)),hex:ye(A.some("ffffff"))},r=e=>s[e].get(),a=(e,t)=>{s[e].set(t)},i=e=>{const t=e.red,o=e.green,n=e.blue;a("red",A.some(t)),a("green",A.some(o)),a("blue",A.some(n))},m=(e,t)=>{const o=t.event;"hex"!==o.type?a(o.type,A.none()):n(e)},g=(e,t)=>{const n=t.event;(e=>"hex"===e.type)(n)?((e,t)=>{o(e);const n=yD(t);a("hex",A.some(n.value));const s=zD(n);c(e,s),i(s),$c(e,xB,{hex:n}),u(e,n)})(e,n.value):((e,t,o)=>{const n=parseInt(o,10);a(t,A.some(n)),r("red").bind(e=>r("green").bind(t=>r("blue").map(o=>FD(e,t,o,1)))).each(t=>{const o=((e,t)=>{const o=_D(t);return $x.getField(e,"hex").each(t=>{_d.isFocused(t)||mf.setValue(e,{hex:o.value})}),o})(e,t);$c(e,xB,{hex:o}),u(e,o)})})(e,n.type,n.value)},p=t=>({label:e(OB+t+".label"),description:e(OB+t+".description")}),h=p("red"),f=p("green"),b=p("blue"),v=p("hex");return Ve($x.sketch(o=>({dom:{tag:"form",classes:[t("rgb-form")],attributes:{"aria-label":e("aria.color.picker")}},components:[o.field("red",sy.sketch(l(RD,"red",h.label,h.description,255))),o.field("green",sy.sketch(l(RD,"green",f.label,f.description,255))),o.field("blue",sy.sketch(l(RD,"blue",b.label,b.description,255))),o.field("hex",sy.sketch(l(CD,"hex",v.label,v.description,"ffffff"))),d.asSpec()],formBehaviours:hd([gf.config({invalidClass:t("form-invalid")}),wd("rgb-form-events",[Zc(SB,g),Zc(CB,m),Zc(kB,m)])])})),{apis:{updateHex:(e,t)=>{mf.setValue(e,{hex:t.value}),((e,t)=>{const o=zD(t);c(e,o),i(o)})(e,t),u(e,t)}}})},name:"RgbForm",configFields:[],apis:{updateHex:(e,t,o)=>{e.updateHex(t,o)}},extraApis:{}});return m},EB=(e,t,o,n)=>{const s=hh({name:"ColourPicker",configFields:[Pr("dom"),sa("onValidHex",b),sa("onInvalidHex",b)],factory:s=>{const r=TB(e,t,s.onValidHex,s.onInvalidHex,o,n),a=((e,t)=>{const o=nS.parts.spectrum({dom:{tag:"canvas",attributes:{role:"presentation"},classes:[t("sv-palette-spectrum")]}}),n=nS.parts.thumb({dom:{tag:"div",attributes:{role:"presentation"},classes:[t("sv-palette-thumb")],innerHtml:``}}),s=(e,t)=>{const{width:o,height:n}=e,s=e.getContext("2d");if(null===s)return;s.fillStyle=t,s.fillRect(0,0,o,n);const r=s.createLinearGradient(0,0,o,0);r.addColorStop(0,"rgba(255,255,255,1)"),r.addColorStop(1,"rgba(255,255,255,0)"),s.fillStyle=r,s.fillRect(0,0,o,n);const a=s.createLinearGradient(0,0,0,n);a.addColorStop(0,"rgba(0,0,0,0)"),a.addColorStop(1,"rgba(0,0,0,1)"),s.fillStyle=a,s.fillRect(0,0,o,n)},r=hh({factory:r=>{const a=y({x:0,y:0}),i=hd([Xg.config({find:A.some}),_d.config({})]);return nS.sketch({dom:{tag:"div",attributes:{role:"slider","aria-valuetext":e(["Saturation {0}%, Brightness {1}%",0,0])},classes:[t("sv-palette")]},model:{mode:"xy",getInitialValue:a},rounded:!1,components:[o,n],onChange:(t,o,n)=>{h(n)||Yo(t.element,"aria-valuetext",e(["Saturation {0}%, Brightness {1}%",Math.floor(n.x),Math.floor(100-n.y)])),$c(t,wB,{value:n})},onInit:(e,t,o,n)=>{s(o.element.dom,HD(PD))},sliderBehaviours:i})},name:"SaturationBrightnessPalette",configFields:[],apis:{setHue:(e,t,o)=>{((e,t)=>{const o=e.components()[0].element.dom,n=TD(t,100,100),r=ND(n);s(o,HD(r))})(t,o)},setThumb:(t,o,n)=>{((t,o)=>{const n=ED(zD(o));nS.setValue(t,{x:n.saturation,y:100-n.value}),Yo(t.element,"aria-valuetext",e(["Saturation {0}%, Brightness {1}%",n.saturation,n.value]))})(o,n)}},extraApis:{}});return r})(e,t),i={paletteRgba:ye(PD),paletteHue:ye(0)},l=Dv(((e,t)=>{const o=nS.parts.spectrum({dom:{tag:"div",classes:[t("hue-slider-spectrum")],attributes:{role:"presentation"}}}),n=nS.parts.thumb({dom:{tag:"div",classes:[t("hue-slider-thumb")],attributes:{role:"presentation"}}});return nS.sketch({dom:{tag:"div",classes:[t("hue-slider")],attributes:{role:"slider","aria-valuemin":0,"aria-valuemax":360,"aria-valuenow":120}},rounded:!1,model:{mode:"y",getInitialValue:y(0)},components:[o,n],sliderBehaviours:hd([_d.config({})]),onChange:(e,t,o)=>{Yo(e.element,"aria-valuenow",Math.floor(360-3.6*o)),$c(e,yB,{value:o})}})})(0,t)),c=Dv(a.sketch({})),d=Dv(r.sketch({})),u=(e,t,o)=>{c.getOpt(e).each(e=>{a.setHue(e,o)})},m=(e,t)=>{d.getOpt(e).each(e=>{r.updateHex(e,t)})},g=(e,t,o)=>{l.getOpt(e).each(e=>{nS.setValue(e,(e=>100-e/360*100)(o))})},p=(e,t)=>{c.getOpt(e).each(e=>{a.setThumb(e,t)})},f=(e,t,o,n)=>{((e,t)=>{const o=zD(e);i.paletteRgba.set(o),i.paletteHue.set(t)})(t,o),L(n,n=>{n(e,t,o)})};return{uid:s.uid,dom:s.dom,components:[c.asSpec(),l.asSpec(),d.asSpec()],behaviours:hd([wd("colour-picker-events",[Zc(xB,(()=>{const e=[u,g,p];return(t,o)=>{const n=o.event.hex,s=(e=>ED(zD(e)))(n);f(t,n,s.hue,e)}})()),Zc(wB,(()=>{const e=[m];return(t,o)=>{const n=o.event.value,s=i.paletteHue.get(),r=TD(s,n.x,100-n.y),a=UD(r);f(t,a,s,e)}})()),Zc(yB,(()=>{const e=[u,m];return(t,o)=>{const n=(e=>(100-e)/100*360)(o.event.value),s=i.paletteRgba.get(),r=ED(s),a=TD(n,r.saturation,r.value),l=UD(a);f(t,l,n,e)}})())]),Xg.config({find:e=>d.getOpt(e)}),Im.config({mode:"acyclic"})])}}});return s},AB={"colorcustom.rgb.red.label":"R","colorcustom.rgb.red.description":"Red channel","colorcustom.rgb.green.label":"G","colorcustom.rgb.green.description":"Green channel","colorcustom.rgb.blue.label":"B","colorcustom.rgb.blue.description":"Blue channel","colorcustom.rgb.hex.label":"#","colorcustom.rgb.hex.description":"Hex color code","colorcustom.rgb.range":"Range 0 to 255","colorcustom.rgb.invalid":"Numbers only, 0 to 255","colorcustom.rgb.invalidHex":"Hexadecimal only, 000000 to FFFFFF","aria.color.picker":"Color Picker","aria.input.invalid":"Invalid input"};var DB=tinymce.util.Tools.resolve("tinymce.Resource");const MB=e=>be(e,"init");var BB=tinymce.util.Tools.resolve("tinymce.util.Tools");const IB=Ne("browse.files.event"),FB=(e,t,o)=>{const n=(e,t)=>{t.stop()},s=e=>(t,o)=>{L(e,e=>{e(t,o)})},r=Dv({dom:{tag:"input",attributes:{type:"file",accept:e.allowedFileTypes.getOr("image/*")},styles:{display:"none"}},behaviours:hd([wd("input-file-events",[sd(Ma()),sd(Ya())])])}),a=e.label.map(e=>JM(e,t)),i=sy.parts.field({factory:Wv,dom:{tag:"button",styles:{position:"relative"},classes:["tox-button","tox-button--secondary"]},components:[zg(t.translate(e.buttonLabel.getOr("Browse for an image"))),r.asSpec()],action:e=>{r.get(e).element.dom.click()},buttonBehaviours:hd([mB(),vB(o.getOr([])),iv.config({}),PA(()=>t.checkUiComponentContext(e.context).shouldDisable),ZA(()=>t.checkUiComponentContext(e.context))])}),l={dom:{tag:"div",classes:["tox-dropzone-container"]},behaviours:hd([gp.config({disabled:()=>t.checkUiComponentContext(e.context).shouldDisable}),ZA(()=>t.checkUiComponentContext(e.context)),hv.config({toggleClass:"dragenter",toggleOnExecute:!1}),wd("dropzone-events",[Zc("dragenter",s([n,hv.toggle])),Zc("dragleave",s([n,hv.toggle])),Zc("dragover",n),Zc("drop",s([n,(e,t)=>{if(!gp.isDisabled(e)){const o=t.event.raw;$c(e,IB,{files:o.dataTransfer?.files})}}])),Zc(Da(),(e,t)=>{const o=t.event.raw.target;$c(e,IB,{files:o.files})})])]),components:[{dom:{tag:"div",classes:["tox-dropzone"],styles:{}},components:[{dom:{tag:"p"},components:[zg(t.translate(e.dropAreaLabel.getOr("Drop an image here")))]},i]}]};return YM(a,l,["tox-form__group--stretched"],[wd("handle-files",[Zc(IB,(o,n)=>{sy.getField(o).each(o=>{((o,n)=>{if(n){const s=((e,t,o)=>{const n=BB.explode(t.getOption("images_file_types"));return P(ne(e),e=>o.fold(()=>R(n,t=>Ze(e.name.toLowerCase(),`.${t.toLowerCase()}`)),t=>R(t,t=>Ze(e.name.toLowerCase(),`.${t.toLowerCase()}`))))})(n,t,e.allowedFileExtensions);mf.setValue(o,s),$c(o,QM,{name:e.name}),0===s.length&&e.onInvalidFiles().finally(()=>{o.element.dom.focus()}).catch(b)}})(o,n.event.files)})})])])},RB=Ne("alloy-fake-before-tabstop"),NB=Ne("alloy-fake-after-tabstop"),zB=e=>({dom:{tag:"div",styles:{width:"1px",height:"1px",outline:"none"},attributes:{tabindex:"0"},classes:e},behaviours:hd([_d.config({ignore:!0}),iv.config({})])}),VB=(e,t)=>({dom:{tag:"div",classes:["tox-navobj",...e.getOr([])]},components:[zB([RB]),t,zB([NB])],behaviours:hd([gB(1)])}),LB=(e,t)=>{$c(e,Ta(),{raw:{which:9,shiftKey:t}})},HB=(e,t)=>{const o=t.element;as(o,RB)?LB(e,!0):as(o,NB)&&LB(e,!1)},PB=e=>hs(e,["."+RB,"."+NB].join(","),T),UB=Ne("update-dialog"),WB=Ne("update-title"),jB=Ne("update-body"),$B=Ne("update-footer"),GB=Ne("body-send-message"),qB=Ne("dialog-focus-shifted"),YB=Qt().browser,XB=YB.isSafari(),KB=YB.isFirefox(),JB=XB||KB,QB=YB.isChromium(),ZB=({scrollTop:e,scrollHeight:t,clientHeight:o})=>Math.ceil(e)+o>=t,eI=(e,t)=>e.scrollTo(0,"bottom"===t?99999999:t),tI=(e,t,o)=>{const n=e.dom;A.from(n.contentDocument).fold(o,e=>{let o=0;const s=((e,t)=>{const o=e.body;return A.from(!/^1))?o:e.documentElement)})(e,t).map(e=>(o=e.scrollTop,e)).forall(ZB),r=()=>{const e=n.contentWindow;g(e)&&(s?eI(e,"bottom"):!s&&JB&&0!==o&&eI(e,o))};XB&&n.addEventListener("load",r,{once:!0}),e.open(),e.write(t),e.close(),XB||r()})},oI=je(JB,XB?500:200).map(e=>((e,t)=>{let o=null,n=null;return{cancel:()=>{c(o)||(clearTimeout(o),o=null,n=null)},throttle:(...s)=>{n=s,c(o)&&(o=setTimeout(()=>{const t=n;o=null,n=null,e.apply(null,t)},t))}}})(tI,e)),nI=Ne("toolbar.button.execute"),sI=Ne("common-button-display-events"),rI={[Ga()]:["disabling","alloy.base.behaviour","toggling","toolbar-button-events","tooltipping"],[ni()]:["toolbar-button-events",sI],[si()]:["toolbar-button-events","dropdown-events","tooltipping"],[ya()]:["focusing","alloy.base.behaviour",sI]},aI=e=>gn(e.element,"width",fn(e.element,"width")),iI=(e,t,o)=>VO(e,{tag:"span",classes:["tox-icon","tox-tbtn__icon-wrap"],behaviours:o},t),lI=(e,t)=>iI(e,t,[]),cI=(e,t)=>iI(e,t,[ug.config({})]),dI=(e,t,o)=>({dom:{tag:"span",classes:[`${t}__select-label`]},components:[zg(o.translate(e))],behaviours:hd([ug.config({})])}),uI=Ne("update-menu-text"),mI=Ne("update-menu-icon"),gI=Ne("update-tooltip-text"),pI=(e,t,o,n)=>{const s=ye(b),r=ye(e.tooltip),a=e.text.map(e=>Dv(dI(e,t,o.providers))),i=e.icon.map(e=>Dv(cI(e,o.providers.icons))),l=(e,t)=>{const o=mf.getValue(e);return _d.focus(o),$c(o,"keydown",{raw:t.event.raw}),Hx.close(o),A.some(!0)},c=e.role.fold(()=>({}),e=>({role:e})),d=A.from(e.listRole).map(e=>({listRole:e})).getOr({}),u=e.ariaLabel.fold(()=>({}),e=>({"aria-label":o.providers.translate(e)})),m=VO("chevron-down",{tag:"div",classes:[`${t}__select-chevron`]},o.providers.icons),p=Ne("common-button-display-events"),h="dropdown-events",f=Dv(Hx.sketch({...e.uid?{uid:e.uid}:{},...c,...d,dom:{tag:"button",classes:[t,`${t}--select`].concat(V(e.classes,e=>`${t}--${e}`)),attributes:{...u,...g(n)?{"data-mce-name":n}:{}}},components:oD([i.map(e=>e.asSpec()),a.map(e=>e.asSpec()),A.some(m)]),matchWidth:!0,useMinWidth:e.useMinWidth??!0,sandboxClasses:e.sandboxClasses??[],onOpen:(t,o,n)=>{e.searchable&&(e=>{m_(e).each(e=>_d.focus(e))})(n)},dropdownBehaviours:hd([...e.dropdownBehaviours,PA(()=>e.disabled||o.providers.checkUiComponentContext(e.context).shouldDisable),ZA(()=>o.providers.checkUiComponentContext(e.context)),Ev.config({}),ug.config({}),...e.tooltip.map(t=>Tv.config(o.providers.tooltips.getConfig({tooltipText:o.providers.translate(t),onShow:t=>{if(Ue(r.get(),e.tooltip,(e,t)=>t!==e).getOr(!1)){const e=o.providers.translate(r.get().getOr(""));Tv.setComponents(t,o.providers.tooltips.getComponents({tooltipText:e}))}}}))).toArray(),wd(h,[jA(e,s),$A(e,s)]),wd(p,[id((t,o)=>{"listbox"!==e.listRole&&aI(t)})]),wd("update-dropdown-width-variable",[Zc(oi(),(e,t)=>Hx.close(e))]),wd("menubutton-update-display-text",[Zc(uI,(e,t)=>{a.bind(t=>t.getOpt(e)).each(e=>{ug.set(e,[zg(o.providers.translate(t.event.text))])})}),Zc(mI,(e,t)=>{i.bind(t=>t.getOpt(e)).each(e=>{ug.set(e,[cI(t.event.icon,o.providers.icons)])})}),Zc(gI,(e,t)=>{const n=o.providers.translate(t.event.text);Yo(e.element,"aria-label",n),r.set(A.some(t.event.text))})])]),eventOrder:Ve(rI,{[ya()]:["focusing","alloy.base.behaviour","item-type-events","normal-dropdown-events"],[ni()]:["toolbar-button-events",Tv.name(),h,p]}),sandboxBehaviours:hd([Im.config({mode:"special",onLeft:l,onRight:l}),wd("dropdown-sandbox-events",[Zc(l_,(e,t)=>{(e=>{const t=mf.getValue(e),o=u_(e).map(g_);Hx.refetch(t).get(()=>{const e=Zg.getCoupled(t,"sandbox");o.each(t=>u_(e).each(e=>((e,t)=>{mf.setValue(e,t.fetchPattern),e.element.dom.selectionStart=t.selectionStart,e.element.dom.selectionEnd=t.selectionEnd})(e,t)))})})(e),t.stop()}),Zc(c_,(e,t)=>{((e,t)=>{(e=>zb.getState(e).bind(ru.getHighlighted).bind(ru.getHighlighted))(e).each(o=>{((e,t,o,n)=>{const s={...n,target:t};e.getSystem().triggerEvent(o,t,s)})(e,o.element,t.event.eventType,t.event.interactionEvent)})})(e,t),t.stop()})])]),lazySink:o.getSink,toggleClass:`${t}--active`,parts:{menu:{...i_(0,e.columns,e.presets),fakeFocus:e.searchable,..."listbox"===e.listRole?{}:{onHighlightItem:VM,onCollapseMenu:(e,t,o)=>{ru.getHighlighted(o).each(t=>{VM(e,o,t)})},onDehighlightItem:LM}}},getAnchorOverrides:()=>({maxHeightFunction:(e,t)=>{Ic()(e,t-10)}}),fetch:t=>Oe(C(e.fetch,t))}));return f.asSpec()},hI=e=>"separator"===e.type,fI={type:"separator"},bI=(e,t)=>{const o=((e,t)=>{const o=W(e,(e,o)=>(e=>r(e))(o)?""===o?e:"|"===o?e.length>0&&!hI(e[e.length-1])?e.concat([fI]):e:be(t,o.toLowerCase())?e.concat([t[o.toLowerCase()]]):e:e.concat([o]),[]);return o.length>0&&hI(o[o.length-1])&&o.pop(),o})(r(e)?e.split(" "):e,t);return U(o,(e,o)=>{if((e=>be(e,"getSubmenuItems"))(o)){const n=(e=>{const t=fe(e,"value").getOrThunk(()=>Ne("generated-menu-item"));return Ve({value:t},e)})(o),s=((e,t)=>{const o=e.getSubmenuItems(),n=bI(o,t);return{item:e,menus:Ve(n.menus,{[e.value]:n.items}),expansions:Ve(n.expansions,{[e.value]:e.value})}})(n,t);return{menus:Ve(e.menus,s.menus),items:[s.item,...e.items],expansions:Ve(e.expansions,s.expansions)}}return{...e,items:[o,...e.items]}},{menus:{},expansions:{},items:[]})},vI=(e,t,o,n)=>{const s=Ne("primary-menu"),r=bI(e,o.shared.providers.menuItems());if(0===r.items.length)return A.none();const a=(e=>e.search.fold(()=>({searchMode:"no-search"}),e=>({searchMode:"search-with-field",placeholder:e.placeholder})))(n),i=WM(s,r.items,t,o,n.isHorizontalMenu,a),l=(e=>e.search.fold(()=>({searchMode:"no-search"}),e=>({searchMode:"search-with-results"})))(n),c=le(r.menus,(e,n)=>WM(n,e,t,o,!1,l)),d=Ve(c,ga(s,i));return A.from(Cx.tieredData(s,d,r.expansions))},xI=e=>!be(e,"items"),yI="data-value",wI=(e,t,o,n,s)=>V(o,o=>xI(o)?{type:"togglemenuitem",...s?{}:{role:"option"},text:o.text,value:o.value,active:o.value===n,onAction:()=>{mf.setValue(e,o.value),$c(e,QM,{name:t}),_d.focus(e)}}:{type:"nestedmenuitem",text:o.text,getSubmenuItems:()=>wI(e,t,o.items,n,s)}),SI=(e,t)=>se(e,e=>xI(e)?je(e.value===t,e):SI(e.items,t)),CI=e=>{const t={"":0,px:0,pt:1,mm:1,pc:2,ex:2,em:2,ch:2,rem:2,cm:3,in:4,"%":4};let o=e.value.toFixed((n=e.unit)in t?t[n]:1);var n;return-1!==o.indexOf(".")&&(o=o.replace(/\.?0*$/,"")),o+e.unit},kI=e=>{const t=/^\s*(\d+(?:\.\d+)?)\s*(|cm|mm|in|px|pt|pc|em|ex|ch|rem|vw|vh|vmin|vmax|%)\s*$/.exec(e);if(null!==t){const e=parseFloat(t[1]),o=t[2];return Ae.value({value:e,unit:o})}return Ae.error(e)},OI=(e,t)=>{const o={"":96,px:96,pt:72,cm:2.54,pc:12,mm:25.4,in:1},n=e=>be(o,e);return e.unit===t?A.some(e.value):n(e.unit)&&n(t)?o[e.unit]===o[t]?A.some(e.value):A.some(e.value/o[e.unit]*o[t]):A.none()},_I=e=>A.none(),TI=(e,t)=>{const o=kI(e).toOptional(),n=kI(t).toOptional();return Ue(o,n,(e,t)=>OI(e,t.unit).map(e=>t.value/e).map(e=>{return o=e,n=t.unit,e=>OI(e,n).map(e=>({value:e*o,unit:n}));var o,n}).getOr(_I)).getOr(_I)},EI=(e,t)=>{const o=e.label.map(e=>JM(e,t)),n=[gp.config({disabled:()=>e.disabled||t.checkUiComponentContext(e.context).shouldDisable}),ZA(()=>t.checkUiComponentContext(e.context)),Im.config({mode:"execution",useEnter:!0!==e.multiline,useControlEnter:!0===e.multiline,execute:e=>(jc(e,nB),A.some(!0))}),wd("textfield-change",[Zc(Aa(),(t,o)=>{$c(t,QM,{name:e.name})}),Zc(ja(),(t,o)=>{$c(t,QM,{name:e.name})})]),iv.config({})],s=e.validation.map(e=>gf.config({getRoot:e=>ho(e.element),invalidClass:"tox-invalid",validator:{validate:t=>{const o=mf.getValue(t),n=e.validator(o);return _e(!0===n?Ae.value(o):Ae.error(n))},validateOnLoad:e.validateOnLoad}})).toArray(),r=e.placeholder.fold(y({}),e=>({placeholder:t.translate(e)})),a=e.inputMode.fold(y({}),e=>({inputmode:e})),i={...e.spellcheck.fold(y({}),e=>({spellcheck:e})),...r,...a,"data-mce-name":e.name},l=sy.parts.field({tag:!0===e.multiline?"textarea":"input",...e.data.map(e=>({data:e})).getOr({}),inputAttributes:i,inputClasses:[e.classname],inputBehaviours:hd(G([n,s])),selectOnFocus:!1,factory:hy}),c=e.multiline?{dom:{tag:"div",classes:["tox-textarea-wrap"]},components:[l]}:l,d=(e.flex?["tox-form__group--stretched"]:[]).concat(e.maximized?["tox-form-group--maximize"]:[]),u=[gp.config({disabled:()=>e.disabled||t.checkUiComponentContext(e.context).shouldDisable,onDisabled:e=>{sy.getField(e).each(gp.disable)},onEnabled:e=>{sy.getField(e).each(gp.enable)}}),ZA(()=>t.checkUiComponentContext(e.context))];return YM(o,c,d,u)},AI=e=>({isEnabled:()=>!gp.isDisabled(e),setEnabled:t=>gp.set(e,!t),setActive:t=>{const o=e.element;t?(ns(o,"tox-tbtn--enabled"),Yo(o,"aria-pressed",!0)):(rs(o,"tox-tbtn--enabled"),Zo(o,"aria-pressed"))},isActive:()=>as(e.element,"tox-tbtn--enabled"),setTooltip:t=>{$c(e,gI,{text:t})},setText:t=>{$c(e,uI,{text:t})},setIcon:t=>$c(e,mI,{icon:t})}),DI=(e,t,o,n,s=!0,r)=>{const a="bordered"===e.buttonType?["bordered"]:[];return pI({text:e.text,icon:e.icon,tooltip:e.tooltip,ariaLabel:e.tooltip,searchable:e.search.isSome(),role:n,fetch:(t,n)=>{const s={pattern:e.search.isSome()?HM(t):""};e.fetch(t=>{n(vI(t,WO.CLOSE_ON_EXECUTE,o,{isHorizontalMenu:!1,search:e.search}))},s,AI(t))},onSetup:e.onSetup,getApi:e=>AI(e),columns:1,presets:"normal",classes:a,dropdownBehaviours:[...s?[iv.config({})]:[]],context:e.context},t,o.shared,r)},MI=(e,t,o)=>{const n=e=>n=>{const s=!n.isActive();n.setActive(s),e.storage.set(s),o.shared.getSink().each(o=>{t().getOpt(o).each(t=>{zo(t.element),$c(t,oB,{name:e.name,value:e.storage.get()})})})},s=e=>t=>{t.setActive(e.storage.get())};return t=>{t(V(e,e=>{const t=e.text.fold(()=>({}),e=>({text:e}));return{type:e.type,active:!1,...t,context:e.context,onAction:n(e),onSetup:s(e)}}))}},BI=e=>({dom:{tag:"span",classes:["tox-tree__label"],attributes:{"aria-label":e}},components:[zg(e)]}),II=(e,t,o)=>{e.customStateIcon.each(n=>t.push(NI(n,o.shared.providers.icons,e.customStateIconTooltip.fold(()=>[],e=>[Tv.config(o.shared.providers.tooltips.getConfig({tooltipText:e}))]),["tox-icon-custom-state"])))},FI=Ne("leaf-label-event-id"),RI=({leaf:e,onLeafAction:t,visible:o,treeId:n,selectedId:s,backstage:r})=>{const a=e.menu.map(e=>DI(e,"tox-mbtn",r,A.none(),o)),i=[BI(e.title)];return II(e,i,r),a.each(e=>i.push(e)),Wv.sketch({dom:{tag:"div",classes:["tox-tree--leaf__label","tox-trbtn"].concat(o?["tox-tree--leaf__label--visible"]:[])},components:i,role:"treeitem",action:o=>{t(e.id),o.getSystem().broadcastOn([`update-active-item-${n}`],{value:e.id})},eventOrder:{[Ta()]:[FI,"keying"]},buttonBehaviours:hd([...o?[iv.config({})]:[],hv.config({toggleClass:"tox-trbtn--enabled",toggleOnExecute:!1,aria:{mode:"selected"}}),vb.config({channels:{[`update-active-item-${n}`]:{onReceive:(t,o)=>{(o.value===e.id?hv.on:hv.off)(t)}}}}),wd(FI,[id((t,o)=>{s.each(o=>{(o===e.id?hv.on:hv.off)(t)})}),Zc(Ta(),(e,t)=>{const o="ArrowLeft"===t.event.raw.code,n="ArrowRight"===t.event.raw.code;o?(Gn(e.element,".tox-tree--directory").each(t=>{e.getSystem().getByDom(t).each(e=>{Yn(t,".tox-tree--directory__label").each(t=>{e.getSystem().getByDom(t).each(_d.focus)})})}),t.stop()):n&&t.stop()})])])})},NI=(e,t,o,n,s)=>VO(e,{tag:"span",classes:["tox-tree__icon-wrap","tox-icon"].concat(n||[]),behaviours:o,attributes:s},t),zI=Ne("directory-label-event-id"),VI=({directory:e,visible:t,noChildren:o,backstage:n})=>{const s=e.menu.map(e=>DI(e,"tox-mbtn",n,A.none())),r=[{dom:{tag:"div",classes:["tox-chevron"]},components:[(a=n.shared.providers.icons,NI("chevron-right",a,[]))]},BI(e.title)];var a;II(e,r,n),s.each(e=>{r.push(e)});const i=t=>{Gn(t.element,".tox-tree--directory").each(o=>{t.getSystem().getByDom(o).each(o=>{const n=!hv.isOn(o);hv.toggle(o),$c(t,"expand-tree-node",{expanded:n,node:e.id})})})};return Wv.sketch({dom:{tag:"div",classes:["tox-tree--directory__label","tox-trbtn"].concat(t?["tox-tree--directory__label--visible"]:[])},components:r,action:i,eventOrder:{[Ta()]:[zI,"keying"]},buttonBehaviours:hd([...t?[iv.config({})]:[],wd(zI,[Zc(Ta(),(e,t)=>{const n="ArrowRight"===t.event.raw.code,s="ArrowLeft"===t.event.raw.code;n&&o&&t.stop(),(n||s)&&Gn(e.element,".tox-tree--directory").each(o=>{e.getSystem().getByDom(o).each(o=>{!hv.isOn(o)&&n||hv.isOn(o)&&s?(i(e),t.stop()):s&&!hv.isOn(o)&&(Gn(o.element,".tox-tree--directory").each(e=>{Yn(e,".tox-tree--directory__label").each(e=>{o.getSystem().getByDom(e).each(_d.focus)})}),t.stop())})})})])])})},LI=({children:e,onLeafAction:t,visible:o,treeId:n,expandedIds:s,selectedId:r,backstage:a})=>({dom:{tag:"div",classes:["tox-tree--directory__children"]},components:e.map(e=>"leaf"===e.type?RI({leaf:e,selectedId:r,onLeafAction:t,visible:o,treeId:n,backstage:a}):PI({directory:e,expandedIds:s,selectedId:r,onLeafAction:t,labelTabstopping:o,treeId:n,backstage:a})),behaviours:hd([Zb.config({dimension:{property:"height"},closedClass:"tox-tree--directory__children--closed",openClass:"tox-tree--directory__children--open",growingClass:"tox-tree--directory__children--growing",shrinkingClass:"tox-tree--directory__children--shrinking",expanded:o}),ug.config({})])}),HI=Ne("directory-event-id"),PI=({directory:e,onLeafAction:t,labelTabstopping:o,treeId:n,backstage:s,expandedIds:r,selectedId:a})=>{const{children:i}=e,l=ye(r),c=r.includes(e.id);return{dom:{tag:"div",classes:["tox-tree--directory"],attributes:{role:"treeitem"}},components:[VI({directory:e,visible:o,noChildren:0===e.children.length,backstage:s}),LI({children:i,expandedIds:r,selectedId:a,onLeafAction:t,visible:c,treeId:n,backstage:s})],behaviours:hd([wd(HI,[id((e,t)=>{hv.set(e,c)}),Zc("expand-tree-node",(e,t)=>{const{expanded:o,node:n}=t.event;l.set(o?[...l.get(),n]:l.get().filter(e=>e!==n))})]),hv.config({...e.children.length>0?{aria:{mode:"expanded"}}:{},toggleClass:"tox-tree--directory--expanded",onToggled:(e,o)=>{const r=e.components()[1],c=(d=o,i.map(e=>"leaf"===e.type?RI({leaf:e,selectedId:a,onLeafAction:t,visible:d,treeId:n,backstage:s}):PI({directory:e,expandedIds:l.get(),selectedId:a,onLeafAction:t,labelTabstopping:d,treeId:n,backstage:s})));var d;o?Zb.grow(r):Zb.shrink(r),ug.set(r,c)}})])}},UI=Ne("tree-event-id"),WI=(e,t,o=[],n,s,r,a)=>{const i=t.fold(()=>({}),e=>({action:e})),l={buttonBehaviours:hd([HA(()=>!e.enabled||a.checkUiComponentContext(e.context).shouldDisable),ZA(()=>a.checkUiComponentContext(e.context)),iv.config({}),...r.map(e=>Tv.config(a.tooltips.getConfig({tooltipText:a.translate(e)}))).toArray(),wd("button press",[Qc("click")])].concat(o)),eventOrder:{click:["button press","alloy.base.behaviour"],mousedown:["button press","alloy.base.behaviour"]},...i},c=Ve(l,{dom:n});return Ve(c,{components:s})},jI=(e,t,o,n=[],s)=>{const r={tag:"button",classes:["tox-tbtn"],attributes:{...e.tooltip.map(e=>({"aria-label":o.translate(e)})).getOr({}),"data-mce-name":s}},a=e.icon.map(e=>lI(e,o.icons)),i=oD([a]);return WI(e,t,n,r,i,e.tooltip,o)},$I=e=>{switch(e){case"primary":return["tox-button"];case"toolbar":return["tox-tbtn"];default:return["tox-button","tox-button--secondary"]}},GI=(e,t,o,n=[],s=[])=>{const r=o.translate(e.text),a=e.icon.map(e=>lI(e,o.icons)),i=[a.getOrThunk(()=>zg(r))],l=e.buttonType.getOr(e.primary||e.borderless?"primary":"secondary"),c={tag:"button",classes:[...$I(l),...a.isSome()?["tox-button--icon"]:[],...e.borderless?["tox-button--naked"]:[],...s],attributes:{"aria-label":r,"data-mce-name":e.text}},d=e.icon.map(y(r));return WI(e,t,n,c,i,d,o)},qI=(e,t,o,n=[],s=[])=>{const r=GI(e,A.some(t),o,n,s);return Wv.sketch(r)},YI=(e,t)=>o=>{"custom"===t?$c(o,oB,{name:e,value:{}}):"submit"===t?jc(o,nB):"cancel"===t?jc(o,tB):console.error("Unknown button type: ",t)},XI=(e,t,o)=>{if(((e,t)=>"menu"===t)(0,t)){const t=()=>r,n=e,s={...e,buttonType:"default",type:"menubutton",search:A.none(),onSetup:t=>(t.setEnabled(e.enabled),b),fetch:MI(n.items,t,o)},r=Dv(DI(s,"tox-tbtn",o,A.none(),!0,e.text.or(e.tooltip).getOrUndefined()));return r.asSpec()}if(((e,t)=>"custom"===t||"cancel"===t||"submit"===t)(0,t)){const n=YI(e.name,t),s={...e,context:"cancel"===t?"any":e.context,borderless:!1};return qI(s,n,o.shared.providers,[])}if(((e,t)=>"togglebutton"===t)(0,t))return((e,t,o)=>{const n=e.icon.map(e=>cI(e,t.icons)).map(Dv),s=e.buttonType.getOr(e.primary?"primary":"secondary"),r={...e,name:e.name??"",primary:"primary"===s,tooltip:e.tooltip,enabled:e.enabled??!1,borderless:!1},a=r.tooltip.or(e.text).map(e=>({"aria-label":t.translate(e)})).getOr({}),i=$I(s??"secondary"),l=e.icon.isSome()&&e.text.isSome(),c={tag:"button",classes:[...i.concat(e.icon.isSome()?["tox-button--icon"]:[]),...e.active?["tox-button--enabled"]:[],...l?["tox-button--icon-and-text"]:[]],attributes:{...a,...g(o)?{"data-mce-name":o}:{}}},d=t.translate(e.text.getOr("")),u=zg(d),m=[...oD([n.map(e=>e.asSpec())]),...e.text.isSome()?[u]:[]],p=WI(r,A.some(o=>{$c(o,oB,{name:e.name,value:{setIcon:e=>{n.map(n=>n.getOpt(o).each(o=>{ug.set(o,[cI(e,t.icons)])}))}}})}),[],c,m,e.tooltip,t);return Wv.sketch(p)})(e,o.shared.providers,e.text.or(e.tooltip).getOrUndefined());throw console.error("Unknown footer button type: ",t),new Error("Unknown footer button type")},KI={type:"separator"},JI=e=>({type:"menuitem",value:e.url,text:e.title,meta:{attach:e.attach},onAction:b}),QI=(e,t)=>({type:"menuitem",value:t,text:e,meta:{attach:void 0},onAction:b}),ZI=(e,t)=>(e=>V(e,JI))(((e,t)=>P(t,t=>t.type===e))(e,t)),eF=e=>ZI("header",e.targets),tF=e=>ZI("anchor",e.targets),oF=e=>A.from(e.anchorTop).map(e=>QI("",e)).toArray(),nF=e=>A.from(e.anchorBottom).map(e=>QI("",e)).toArray(),sF=(e,t)=>{const o=e.toLowerCase();return P(t,e=>{const t=void 0!==e.meta&&void 0!==e.meta.text?e.meta.text:e.text,n=e.value??"";return Je(t.toLowerCase(),o)||Je(n.toLowerCase(),o)})},rF=Ne("aria-invalid"),aF=e=>(t,o,n,s,r)=>fe(o,"name").fold(()=>e(o,s,A.none(),r),a=>t.field(a,e(o,s,fe(n,a),r))),iF={bar:aF((e,t)=>((e,t)=>({dom:{tag:"div",classes:["tox-bar","tox-form__controls-h-stack"]},components:V(e.items,t.interpreter)}))(e,t.shared)),collection:aF((e,t,o)=>lB(e,t.shared.providers,o)),alertbanner:aF((e,t)=>((e,t)=>{const o=RO(e.icon,t.icons);return bh.sketch({dom:{tag:"div",attributes:{role:"alert"},classes:["tox-notification","tox-notification--in",`tox-notification--${e.level}`]},components:[{dom:{tag:"div",classes:["tox-notification__icon"],innerHtml:e.url?void 0:o},components:e.url?[Wv.sketch({dom:{tag:"button",classes:["tox-button","tox-button--naked","tox-button--icon"],innerHtml:o,attributes:{title:t.translate(e.iconTooltip)}},action:t=>$c(t,oB,{name:"alert-banner",value:e.url}),buttonBehaviours:hd([NO()])})]:void 0},{dom:{tag:"div",classes:["tox-notification__body"],innerHtml:t.translate(e.text)}}]})})(e,t.shared.providers)),input:aF((e,t,o)=>((e,t,o)=>EI({name:e.name,multiline:!1,label:e.label,inputMode:e.inputMode,placeholder:e.placeholder,flex:!1,disabled:!e.enabled,classname:"tox-textfield",validation:A.none(),maximized:e.maximized,data:o,context:e.context,spellcheck:A.none()},t))(e,t.shared.providers,o)),textarea:aF((e,t,o)=>((e,t,o)=>EI({name:e.name,multiline:!0,label:e.label,inputMode:A.none(),placeholder:e.placeholder,flex:!0,disabled:!e.enabled,classname:"tox-textarea",validation:A.none(),maximized:e.maximized,data:o,context:e.context,spellcheck:e.spellcheck},t))(e,t.shared.providers,o)),label:aF((e,t,o,n)=>((e,t,o)=>{const n="tox-label",s="center"===e.align?[`${n}--center`]:[],r="end"===e.align?[`${n}--end`]:[],a=Dv({dom:{tag:"label",classes:[n,...s,...r]},components:[zg(t.providers.translate(e.label))]}),i=V(e.items,t.interpreter);return{dom:{tag:"div",classes:["tox-form__group"]},components:[a.asSpec(),...i],behaviours:hd([mB(),ug.config({}),(l=A.none(),bB(l,nn,sn)),Im.config({mode:"acyclic"}),wd("label",[id(t=>{e.for.each(e=>{o(e).each(e=>{a.getOpt(t).each(t=>{const o=Ko(e.element,"id")??Ne("form-field");Yo(e.element,"id",o),Yo(t.element,"for",o)})})})})])])};var l})(e,t.shared,n)),iframe:(iR=(e,t,o)=>((e,t,o)=>{const n="tox-dialog__iframe",s=e.transparent?[]:[`${n}--opaque`],r=e.border?["tox-navobj-bordered"]:[],a={...e.label.map(e=>({title:e})).getOr({}),...o.map(e=>({srcdoc:e})).getOr({}),...e.sandboxed?{sandbox:"allow-scripts allow-same-origin"}:{}},i=((e,t)=>{const o=ye(e.getOr(""));return{getValue:e=>o.get(),setValue:(e,n)=>{if(o.get()!==n){const o=e.element,s=()=>Yo(o,"srcdoc",n);t?oI.fold(y(tI),e=>e.throttle)(o,n,s):s()}o.set(n)}}})(o,e.streamContent),l=e.label.map(e=>JM(e,t)),c=sy.parts.field({factory:{sketch:e=>VB(A.from(r),{uid:e.uid,dom:{tag:"iframe",attributes:a,classes:[n,...s]},behaviours:hd([iv.config({}),_d.config({}),fB(o,i.getValue,i.setValue),vb.config({channels:{[qB]:{onReceive:(e,t)=>{t.newFocus.each(t=>{ho(e.element).each(o=>{(wt(e.element,t)?ns:rs)(o,"tox-navobj-bordered-focus")})})}}}})])})}});return YM(l,c,["tox-form__group--stretched"],[])})(e,t.shared.providers,o),(e,t,o,n,s)=>{const r=Ve(t,{source:"dynamic"});return aF(iR)(e,r,o,n,s)}),button:aF((e,t)=>((e,t)=>{const o=YI(e.name,"custom");return n=A.none(),s=sy.parts.field({factory:Wv,...GI(e,A.some(o),t,[vB(""),mB()])}),YM(n,s,[],[]);var n,s})(e,t.shared.providers)),checkbox:aF((e,t,o)=>((e,t,o)=>{const n=e=>(e.element.dom.click(),A.some(!0)),s=sy.parts.field({factory:{sketch:w},dom:{tag:"input",classes:["tox-checkbox__input"],attributes:{type:"checkbox"}},behaviours:hd([mB(),gp.config({disabled:()=>!e.enabled||t.checkUiComponentContext(e.context).shouldDisable,onDisabled:e=>{ho(e.element).each(e=>ns(e,"tox-checkbox--disabled"))},onEnabled:e=>{ho(e.element).each(e=>rs(e,"tox-checkbox--disabled"))}}),iv.config({}),_d.config({}),bB(o,Qn,Jn),Im.config({mode:"special",onEnter:n,onSpace:n,stopSpaceKeyup:!0}),wd("checkbox-events",[Zc(Da(),(t,o)=>{$c(t,QM,{name:e.name})})])])}),r=sy.parts.label({dom:{tag:"span",classes:["tox-checkbox__label"]},components:[zg(t.translate(e.label))],behaviours:hd([Ev.config({})])}),a=e=>VO("checked"===e?"selected":"unselected",{tag:"span",classes:["tox-icon","tox-checkbox-icon__"+e]},t.icons),i=Dv({dom:{tag:"div",classes:["tox-checkbox__icons"]},components:[a("checked"),a("unchecked")]});return sy.sketch({dom:{tag:"label",classes:["tox-checkbox"]},components:[s,i.asSpec(),r],fieldBehaviours:hd([gp.config({disabled:()=>!e.enabled||t.checkUiComponentContext(e.context).shouldDisable}),ZA(()=>t.checkUiComponentContext(e.context))])})})(e,t.shared.providers,o)),colorinput:aF((e,t,o)=>((e,t,o,n)=>{const s=sy.parts.field({factory:hy,inputClasses:["tox-textfield"],data:n,onSetValue:e=>gf.run(e).get(b),inputBehaviours:hd([gp.config({disabled:()=>t.providers.isDisabled()||t.providers.checkUiComponentContext(e.context).shouldDisable}),ZA(()=>t.providers.checkUiComponentContext(e.context)),iv.config({}),gf.config({invalidClass:"tox-textbox-field-invalid",getRoot:e=>ho(e.element),notify:{onValid:e=>{const t=mf.getValue(e);$c(e,cB,{color:t})}},validator:{validateOnLoad:!1,validate:e=>{const t=mf.getValue(e);if(0===t.length)return _e(Ae.value(!0));{const e=it("span");gn(e,"background-color",t);const o=vn(e,"background-color").fold(()=>Ae.error("blah"),e=>Ae.value(t));return _e(o)}}}})]),selectOnFocus:!1}),r=e.label.map(e=>JM(e,t.providers)),a=(e,t)=>{$c(e,dB,{value:t})},i=Dv(((e,t)=>Hx.sketch({dom:e.dom,components:e.components,toggleClass:"mce-active",dropdownBehaviours:hd([PA(()=>t.providers.isDisabled()||t.providers.checkUiComponentContext(e.context).shouldDisable),ZA(()=>t.providers.checkUiComponentContext(e.context)),Ev.config({}),iv.config({})]),layouts:e.layouts,sandboxClasses:["tox-dialog__popups"],lazySink:t.getSink,fetch:o=>Oe(t=>e.fetch(t)).map(n=>A.from(jM(Ve(EM(Ne("menu-value"),n,t=>{e.onItemAction(o,t)},e.columns,e.presets,WO.CLOSE_ON_EXECUTE,T,t.providers),{movement:DM(e.columns,e.presets)})))),parts:{menu:i_(0,0,e.presets)}}))({dom:{tag:"span",attributes:{"aria-label":t.providers.translate("Color swatch")}},layouts:{onRtl:()=>[Ql,Jl,oc],onLtr:()=>[Jl,Ql,oc]},components:[],fetch:yM(o.getColors(e.storageKey),e.storageKey,o.hasCustomColors()),columns:o.getColorCols(e.storageKey),presets:"color",onItemAction:(t,n)=>{i.getOpt(t).each(t=>{"custom"===n?o.colorPicker(o=>{o.fold(()=>jc(t,uB),o=>{a(t,o),nM(e.storageKey,o)})},"#ffffff"):a(t,"remove"===n?"":n)})},context:e.context},t));return sy.sketch({dom:{tag:"div",classes:["tox-form__group"]},components:r.toArray().concat([{dom:{tag:"div",classes:["tox-color-input"]},components:[s,i.asSpec()]}]),fieldBehaviours:hd([wd("form-field-events",[Zc(cB,(t,o)=>{i.getOpt(t).each(e=>{gn(e.element,"background-color",o.event.color)}),$c(t,QM,{name:e.name})}),Zc(dB,(e,t)=>{sy.getField(e).each(o=>{mf.setValue(o,t.event.value),Xg.getCurrent(e).each(_d.focus)})}),Zc(uB,(e,t)=>{sy.getField(e).each(t=>{Xg.getCurrent(e).each(_d.focus)})})])])})})(e,t.shared,t.colorinput,o)),colorpicker:aF((e,t,o)=>((e,t,o)=>{const n=e=>"tox-"+e,s=EB((e=>t=>r(t)?e.translate(AB[t]):e.translate(t))(t),n,t.tooltips.getConfig,(e,o,n=e,s=e)=>VO(n,{tag:"div",classes:["tox-icon","tox-control-wrap__status-icon-"+e],attributes:{title:t.translate(s),"aria-live":"polite",...o.fold(()=>({}),e=>({id:e}))}},t.icons)),a=Dv(s.sketch({dom:{tag:"div",classes:[n("color-picker-container")],attributes:{role:"presentation"}},onValidHex:e=>{$c(e,oB,{name:"hex-valid",value:!0})},onInvalidHex:e=>{$c(e,oB,{name:"hex-valid",value:!1})}}));return{dom:{tag:"div"},components:[a.asSpec()],behaviours:hd([fB(o,e=>{const t=a.get(e);return Xg.getCurrent(t).bind(e=>mf.getValue(e).hex).map(e=>"#"+Ke(e,"#")).getOr("")},(e,t)=>{const o=A.from(/^#([a-fA-F0-9]{3}(?:[a-fA-F0-9]{3})?)/.exec(t)).bind(e=>ee(e,1)),n=a.get(e);Xg.getCurrent(n).fold(()=>{console.log("Can not find form")},e=>{mf.setValue(e,{hex:o.getOr("")}),$x.getField(e,"hex").each(e=>{jc(e,Aa())})})}),mB()])}})(0,t.shared.providers,o)),dropzone:aF((e,t,o)=>FB(e,t.shared.providers,o)),grid:aF((e,t)=>((e,t)=>({dom:{tag:"div",classes:["tox-form__grid",`tox-form__grid--${e.columns}col`]},components:V(e.items,t.interpreter)}))(e,t.shared)),listbox:aF((e,t,o)=>((e,t,o)=>{const n=R(e.items,e=>!xI(e)),s=t.shared.providers,r=o.bind(t=>SI(e.items,t)).orThunk(()=>te(e.items).filter(xI)),a=e.label.map(e=>JM(e,s)),i=sy.parts.field({dom:{},factory:{sketch:o=>pI({context:e.context,uid:o.uid,text:r.map(e=>e.text),icon:A.none(),tooltip:A.none(),role:je(!n,"combobox"),...n?{}:{listRole:"listbox"},ariaLabel:e.label,fetch:(o,s)=>{const r=wI(o,e.name,e.items,mf.getValue(o),n);s(vI(r,WO.CLOSE_ON_EXECUTE,t,{isHorizontalMenu:!1,search:A.none()}))},onSetup:y(b),getApi:y({}),columns:1,presets:"normal",classes:[],useMinWidth:!1,sandboxClasses:["tox-listbox__menu"],dropdownBehaviours:[iv.config({}),fB(r.map(e=>e.value),e=>Ko(e.element,yI),(t,o)=>{SI(e.items,o).each(e=>{Yo(t.element,yI,e.value),$c(t,uI,{text:e.text})})})]},"tox-listbox",t.shared)}}),l={dom:{tag:"div",classes:["tox-listboxfield"]},components:[i]};return sy.sketch({dom:{tag:"div",classes:["tox-form__group"]},components:G([a.toArray(),[l]]),fieldBehaviours:hd([gp.config({disabled:()=>!e.enabled||s.checkUiComponentContext(e.context).shouldDisable,onDisabled:e=>{sy.getField(e).each(gp.disable)},onEnabled:e=>{sy.getField(e).each(gp.enable)}})])})})(e,t,o)),selectbox:aF((e,t,o)=>((e,t,o)=>{const n=V(e.items,e=>({text:t.translate(e.text),value:e.value})),s=e.label.map(e=>JM(e,t)),r=sy.parts.field({dom:{},...o.map(e=>({data:e})).getOr({}),selectAttributes:{size:e.size},options:n,factory:cy,selectBehaviours:hd([gp.config({disabled:()=>!e.enabled||t.checkUiComponentContext(e.context).shouldDisable}),iv.config({}),wd("selectbox-change",[Zc(Da(),(t,o)=>{$c(t,QM,{name:e.name})})])])}),a=e.size>1?A.none():A.some(VO("chevron-down",{tag:"div",classes:["tox-selectfield__icon-js"]},t.icons)),i={dom:{tag:"div",classes:["tox-selectfield"]},components:G([[r],a.toArray()])};return sy.sketch({dom:{tag:"div",classes:["tox-form__group"]},components:G([s.toArray(),[i]]),fieldBehaviours:hd([gp.config({disabled:()=>!e.enabled||t.checkUiComponentContext(e.context).shouldDisable,onDisabled:e=>{sy.getField(e).each(gp.disable)},onEnabled:e=>{sy.getField(e).each(gp.enable)}}),ZA(()=>t.checkUiComponentContext(e.context))])})})(e,t.shared.providers,o)),sizeinput:aF((e,t)=>((e,t)=>{let o=_I;const n=Ne("ratio-event"),s=e=>VO(e,{tag:"span",classes:["tox-icon","tox-lock-icon__"+e]},t.icons),r=()=>!e.enabled||t.checkUiComponentContext(e.context).shouldDisable,a=ZA(()=>t.checkUiComponentContext(e.context)),i=e.label.getOr("Constrain proportions"),l=t.translate(i),c=ly.parts.lock({dom:{tag:"button",classes:["tox-lock","tox-button","tox-button--naked","tox-button--icon"],attributes:{"aria-label":l,"data-mce-name":i}},components:[s("lock"),s("unlock")],buttonBehaviours:hd([gp.config({disabled:r}),a,iv.config({}),Tv.config(t.tooltips.getConfig({tooltipText:l}))])}),d=e=>({dom:{tag:"div",classes:["tox-form__group"]},components:e}),u=t=>sy.parts.field({factory:hy,inputClasses:["tox-textfield"],inputBehaviours:hd([gp.config({disabled:r}),a,iv.config({}),wd("size-input-events",[Zc(Oa(),(e,o)=>{$c(e,n,{isField1:t})}),Zc(Da(),(t,o)=>{$c(t,QM,{name:e.name})})])]),selectOnFocus:!1}),m=e=>({dom:{tag:"label",classes:["tox-label"]},components:[zg(t.translate(e))]}),g=ly.parts.field1(d([sy.parts.label(m("Width")),u(!0)])),p=ly.parts.field2(d([sy.parts.label(m("Height")),u(!1)]));return ly.sketch({dom:{tag:"div",classes:["tox-form__group"]},components:[{dom:{tag:"div",classes:["tox-form__controls-h-stack"]},components:[g,p,d([m("\xa0"),c])]}],field1Name:"width",field2Name:"height",locked:!0,markers:{lockClass:"tox-locked"},onLockedChange:(e,t,n)=>{kI(mf.getValue(e)).each(e=>{o(e).each(e=>{mf.setValue(t,CI(e))})})},coupledFieldBehaviours:hd([gp.config({disabled:r,onDisabled:e=>{ly.getField1(e).bind(sy.getField).each(gp.disable),ly.getField2(e).bind(sy.getField).each(gp.disable),ly.getLock(e).each(gp.disable)},onEnabled:e=>{ly.getField1(e).bind(sy.getField).each(gp.enable),ly.getField2(e).bind(sy.getField).each(gp.enable),ly.getLock(e).each(gp.enable)}}),ZA(()=>t.checkUiComponentContext("mode:design")),wd("size-input-events2",[Zc(n,(e,t)=>{const n=t.event.isField1,s=n?ly.getField1(e):ly.getField2(e),r=n?ly.getField2(e):ly.getField1(e),a=s.map(mf.getValue).getOr(""),i=r.map(mf.getValue).getOr("");o=TI(a,i)})])])})})(e,t.shared.providers)),slider:aF((e,t,o)=>((e,t,o)=>{const n=nS.parts.label({dom:{tag:"label",classes:["tox-label"]},components:[zg(t.translate(e.label))]}),s=nS.parts.spectrum({dom:{tag:"div",classes:["tox-slider__rail"],attributes:{role:"presentation"}}}),r=nS.parts.thumb({dom:{tag:"div",classes:["tox-slider__handle"],attributes:{role:"presentation"}}});return nS.sketch({dom:{tag:"div",classes:["tox-slider"],attributes:{role:"presentation"}},model:{mode:"x",minX:e.min,maxX:e.max,getInitialValue:y(o.getOrThunk(()=>(Math.abs(e.max)-Math.abs(e.min))/2))},components:[n,s,r],sliderBehaviours:hd([mB(),_d.config({})]),onChoose:(t,o,n)=>{$c(t,QM,{name:e.name,value:n})},onChange:(t,o,n)=>{$c(t,QM,{name:e.name,value:n})}})})(e,t.shared.providers,o)),urlinput:aF((e,t,o)=>((e,t,o,n)=>{const s=t.shared.providers,r=t=>{const n=mf.getValue(t);o.addToHistory(n.value,e.filetype)},a={...n.map(e=>({initialData:e})).getOr({}),dismissOnBlur:!0,inputClasses:["tox-textfield"],sandboxClasses:["tox-dialog__popups"],inputAttributes:{type:"url"},minChars:0,responseTime:0,fetch:n=>{const s=((e,t,o)=>{const n=mf.getValue(t),s=n?.meta?.text??n.value;return o.getLinkInformation().fold(()=>[],t=>{const n=sF(s,(e=>V(e,e=>QI(e,e)))(o.getHistory(e)));return"file"===e?(r=[n,sF(s,eF(t)),sF(s,G([oF(t),tF(t),nF(t)]))],W(r,(e,t)=>0===e.length||0===t.length?e.concat(t):e.concat(KI,t),[])):n;var r})})(e.filetype,n,o),r=vI(s,WO.BUBBLE_TO_SANDBOX,t,{isHorizontalMenu:!1,search:A.none()});return _e(r)},getHotspot:e=>g.getOpt(e),onSetValue:(e,t)=>{e.hasConfigured(gf)&&gf.run(e).get(b)},typeaheadBehaviours:hd([...o.getValidationHandler().map(t=>gf.config({getRoot:e=>ho(e.element),invalidClass:"tox-control-wrap--status-invalid",notify:{onInvalid:(e,t)=>{c.getOpt(e).each(e=>{Yo(e.element,"title",s.translate(t))})}},validator:{validate:o=>{const n=mf.getValue(o);return Me(s=>{t({type:e.filetype,url:n.value},e=>{if("invalid"===e.status){Yo(o.element,"aria-errormessage",rF);const t=Ae.error(e.message);s(t)}else{Zo(o.element,"aria-errormessage");const t=Ae.value(e.message);s(t)}})})},validateOnLoad:!1}})).toArray(),gp.config({disabled:()=>!e.enabled||s.checkUiComponentContext(e.context).shouldDisable}),iv.config({}),wd("urlinput-events",[Zc(Aa(),t=>{const o=ds(t.element),n=o.trim();n!==o&&us(t.element,n),"file"===e.filetype&&$c(t,QM,{name:e.name})}),Zc(Da(),t=>{$c(t,QM,{name:e.name}),r(t)}),Zc(ja(),t=>{$c(t,QM,{name:e.name}),r(t)})])]),eventOrder:{[Aa()]:["streaming","urlinput-events","invalidating"]},model:{getDisplayText:e=>e.value,selectsOver:!1,populateFromBrowse:!1},markers:{openClass:"tox-textfield--popup-open"},lazySink:t.shared.getSink,parts:{menu:i_(0,0,"normal")},onExecute:(e,t,o)=>{$c(t,nB,{})},onItemExecute:(t,o,n,s)=>{r(t),$c(t,QM,{name:e.name})}},i=sy.parts.field({...a,factory:GS}),l=e.label.map(e=>JM(e,s)),c=Dv(((e,t,o=e,n=e)=>VO(o,{tag:"div",classes:["tox-icon","tox-control-wrap__status-icon-"+e],attributes:{title:s.translate(n),"aria-live":"polite",...t.fold(()=>({}),e=>({id:e}))}},s.icons))("invalid",A.some(rF),"warning")),d=Dv({dom:{tag:"div",classes:["tox-control-wrap__status-icon-wrap"]},components:[c.asSpec()]}),u=o.getUrlPicker(e.filetype),m=Ne("browser.url.event"),g=Dv({dom:{tag:"div",classes:["tox-control-wrap"]},components:[i,d.asSpec()],behaviours:hd([gp.config({disabled:()=>!e.enabled||s.checkUiComponentContext(e.context).shouldDisable})])}),p=Dv(qI({context:e.context,name:e.name,icon:A.some("browse"),text:e.picker_text.or(e.label).getOr(""),enabled:e.enabled,primary:!1,buttonType:A.none(),borderless:!0},e=>jc(e,m),s,[],["tox-browse-url"]));return sy.sketch({dom:KM([]),components:l.toArray().concat([{dom:{tag:"div",classes:["tox-form__controls-h-stack"]},components:G([[g.asSpec()],u.map(()=>p.asSpec()).toArray()])}]),fieldBehaviours:hd([gp.config({disabled:()=>!e.enabled||s.checkUiComponentContext(e.context).shouldDisable,onDisabled:e=>{sy.getField(e).each(gp.disable),p.getOpt(e).each(gp.disable)},onEnabled:e=>{sy.getField(e).each(gp.enable),p.getOpt(e).each(gp.enable)}}),ZA(()=>s.checkUiComponentContext(e.context)),wd("url-input-events",[Zc(m,t=>{Xg.getCurrent(t).each(o=>{const n=mf.getValue(o),s={fieldname:e.name,...n};u.each(n=>{n(s).get(n=>{mf.setValue(o,n),$c(t,QM,{name:e.name})})})})})])])})})(e,t,t.urlinput,o)),customeditor:aF(e=>{const t=Ye(),o=Dv({dom:{tag:e.tag}}),n=Ye(),s=!MB(e)&&e.onFocus.isSome()?[_d.config({onFocus:t=>{e.onFocus.each(e=>{e(t.element.dom)})}}),iv.config({})]:[];return{dom:{tag:"div",classes:["tox-custom-editor"]},behaviours:hd([wd("custom-editor-events",[id(s=>{o.getOpt(s).each(o=>{(MB(e)?e.init(o.element.dom):DB.load(e.scriptId,e.scriptUrl).then(t=>t(o.element.dom,e.settings))).then(e=>{n.on(t=>{e.setValue(t)}),n.clear(),t.set(e)})})})]),fB(A.none(),()=>t.get().fold(()=>n.get().getOr(""),e=>e.getValue()),(e,o)=>{t.get().fold(()=>n.set(o),e=>e.setValue(o))}),mB()].concat(s)),components:[o.asSpec()]}}),htmlpanel:aF((e,t)=>((e,t)=>{const o=["tox-form__group",...e.stretched?["tox-form__group--stretched"]:[]],n=wd("htmlpanel",[id(t=>{e.onInit(t.element.dom)})]);return"presentation"===e.presets?bh.sketch({dom:{tag:"div",classes:o,innerHtml:e.html},containerBehaviours:hd([Tv.config({...t.tooltips.getConfig({tooltipText:"",onShow:e=>{Xn(e.element,"[data-mce-tooltip]:hover").orThunk(()=>Po(e.element)).each(o=>{Jo(o,"data-mce-tooltip").each(o=>{Tv.setComponents(e,t.tooltips.getComponents({tooltipText:o}))})})}}),mode:"children-normal",anchor:e=>({type:"node",node:Xn(e.element,"[data-mce-tooltip]:hover").orThunk(()=>Po(e.element).filter(e=>Jo(e,"data-mce-tooltip").isSome())),root:e.element,layouts:{onLtr:y([oc,tc,Jl,Zl,Ql,ec]),onRtl:y([oc,tc,Jl,Zl,Ql,ec])},bubble:Ml(0,-2,{})})}),n])}):bh.sketch({dom:{tag:"div",classes:o,innerHtml:e.html,attributes:{role:"document"}},containerBehaviours:hd([iv.config({}),_d.config({}),n])})})(e,t.shared.providers)),imagepreview:aF((e,t,o)=>((e,t)=>{const o=ye(t.getOr({url:""})),n=Dv({dom:{tag:"img",classes:["tox-imagepreview__image"],attributes:t.map(e=>({src:e.url})).getOr({})}}),s=Dv({dom:{tag:"div",classes:["tox-imagepreview__container"],attributes:{role:"presentation"}},components:[n.asSpec()]}),r={};e.height.each(e=>r.height=e);const a=t.map(e=>({url:e.url,zoom:A.from(e.zoom),cachedWidth:A.from(e.cachedWidth),cachedHeight:A.from(e.cachedHeight)}));return{dom:{tag:"div",classes:["tox-imagepreview"],styles:r,attributes:{role:"presentation"}},components:[s.asSpec()],behaviours:hd([mB(),fB(a,()=>o.get(),(e,t)=>{const r={url:t.url};t.zoom.each(e=>r.zoom=e),t.cachedWidth.each(e=>r.cachedWidth=e),t.cachedHeight.each(e=>r.cachedHeight=e),o.set(r);const a=()=>{const{cachedWidth:t,cachedHeight:o,zoom:n}=r;if(!u(t)&&!u(o)){if(u(n)){const n=((e,t,o)=>{const n=An(e),s=On(e);return Math.min(n/t,s/o,1)})(e.element,t,o);r.zoom=n}const a=((e,t,o,n,s)=>{const r=o*s,a=n*s,i=Math.max(0,e/2-r/2),l=Math.max(0,t/2-a/2);return{left:i.toString()+"px",top:l.toString()+"px",width:r.toString()+"px",height:a.toString()+"px"}})(An(e.element),On(e.element),t,o,r.zoom);s.getOpt(e).each(e=>{pn(e.element,a)})}};n.getOpt(e).each(o=>{const n=o.element;t.url!==Ko(n,"src")&&(Yo(n,"src",t.url),rs(e.element,"tox-imagepreview__loaded")),a(),rn(n).then(t=>{e.getSystem().isConnected()&&(ns(e.element,"tox-imagepreview__loaded"),r.cachedWidth=t.dom.naturalWidth,r.cachedHeight=t.dom.naturalHeight,a())})})})])}})(e,o)),table:aF((e,t)=>((e,t)=>{const o=e=>({dom:{tag:"td",innerHtml:t.translate(e)}});return{dom:{tag:"table",classes:["tox-dialog__table"]},components:[(s=e.header,{dom:{tag:"thead"},components:[{dom:{tag:"tr"},components:V(s,e=>({dom:{tag:"th",innerHtml:t.translate(e)}}))}]}),(n=e.cells,{dom:{tag:"tbody"},components:V(n,e=>({dom:{tag:"tr"},components:V(e,o)}))})],behaviours:hd([iv.config({}),_d.config({})])};var n,s})(e,t.shared.providers)),tree:aF((e,t)=>((e,t)=>{const o=e.onLeafAction.getOr(b),n=e.onToggleExpand.getOr(b),s=e.defaultExpandedIds,r=ye(s),a=ye(e.defaultSelectedId),i=Ne("tree-id"),l=(n,s)=>e.items.map(e=>"leaf"===e.type?RI({leaf:e,selectedId:n,onLeafAction:o,visible:!0,treeId:i,backstage:t}):PI({directory:e,selectedId:n,onLeafAction:o,expandedIds:s,labelTabstopping:!0,treeId:i,backstage:t}));return{dom:{tag:"div",classes:["tox-tree"],attributes:{role:"tree"}},components:l(a.get(),r.get()),behaviours:hd([Im.config({mode:"flow",selector:".tox-tree--leaf__label--visible, .tox-tree--directory__label--visible",cycles:!1}),wd(UI,[Zc("expand-tree-node",(e,t)=>{const{expanded:o,node:s}=t.event;r.set(o?[...r.get(),s]:r.get().filter(e=>e!==s)),n(r.get(),{expanded:o,node:s})})]),vb.config({channels:{[`update-active-item-${i}`]:{onReceive:(e,t)=>{a.set(A.some(t.value)),ug.set(e,l(A.some(t.value),r.get()))}}}}),ug.config({})])}})(e,t)),panel:aF((e,t)=>((e,t)=>({dom:{tag:"div",classes:e.classes},components:V(e.items,t.shared.interpreter)}))(e,t))},lF={field:(e,t)=>t,record:y([])},cF=(e,t,o,n,s)=>{const r=Ve(n,{shared:{interpreter:t=>dF(e,t,o,r,s)}});return dF(e,t,o,r,s)},dF=(e,t,o,n,s)=>fe(iF,t.type).fold(()=>(console.error(`Unknown factory type "${t.type}", defaulting to container: `,t),t),r=>r(e,t,o,n,s)),uF=(e,t,o,n)=>dF(lF,e,t,o,n),mF={valignCentre:[],alignCentre:[],alignLeft:[],alignRight:[],right:[],left:[],bottom:[],top:[]},gF=(e,t,o)=>{const n={maxHeightFunction:Fc()};return()=>o()?{type:"node",root:_o(Oo(e())),node:A.from(e()),bubble:Ml(12,12,mF),layouts:{onRtl:()=>[Cc],onLtr:()=>[Sc]},overrides:n}:{type:"hotspot",hotspot:t(),bubble:Ml(-12,12,mF),layouts:{onRtl:()=>[Jl,Ql,oc],onLtr:()=>[Ql,Jl,oc]},overrides:n}},pF=(e,t,o,n)=>{const s={maxHeightFunction:Fc()};return()=>n()?{type:"node",root:_o(Oo(t())),node:A.from(t()),bubble:Ml(12,12,mF),layouts:{onRtl:()=>[kc],onLtr:()=>[kc]},overrides:s}:e?{type:"node",root:_o(Oo(t())),node:A.from(t()),bubble:Ml(0,-_n(t()),mF),layouts:{onRtl:()=>[tc],onLtr:()=>[tc]},overrides:s}:{type:"hotspot",hotspot:o(),bubble:Ml(0,0,mF),layouts:{onRtl:()=>[tc],onLtr:()=>[tc]},overrides:s}},hF=(e,t,o)=>()=>o()?{type:"node",root:_o(Oo(e())),node:A.from(e()),layouts:{onRtl:()=>[kc],onLtr:()=>[kc]}}:{type:"hotspot",hotspot:t(),layouts:{onRtl:()=>[oc],onLtr:()=>[oc]}},fF=(e,t)=>()=>({type:"selection",root:t(),getSelection:()=>{const t=e.selection.getRng(),o=e.model.table.getSelectedCells();if(o.length>1){const e=o[0],t=o[o.length-1],n={firstCell:ct(e),lastCell:ct(t)};return A.some(n)}return A.some(Cs.range(ct(t.startContainer),t.startOffset,ct(t.endContainer),t.endOffset))}}),bF=e=>t=>({type:"node",root:e(),node:t}),vF=(e,t,o,n)=>{const s=ok(e),r=()=>ct(e.getBody()),a=()=>ct(e.getContentAreaContainer()),i=()=>s||!n();return{inlineDialog:gF(a,t,i),inlineBottomDialog:pF(e.inline,a,o,i),banner:hF(a,t,i),cursor:fF(e,r),node:bF(r)}},xF=e=>(t,o)=>{TM(e)(t,o)},yF=e=>()=>gM(e),wF=e=>t=>cM(e,t),SF=e=>t=>mM(e,t),CF=e=>()=>BC(e),kF=e=>ve(e,"items"),OF=e=>ve(e,"format"),_F=[{title:"Headings",items:[{title:"Heading 1",format:"h1"},{title:"Heading 2",format:"h2"},{title:"Heading 3",format:"h3"},{title:"Heading 4",format:"h4"},{title:"Heading 5",format:"h5"},{title:"Heading 6",format:"h6"}]},{title:"Inline",items:[{title:"Bold",format:"bold"},{title:"Italic",format:"italic"},{title:"Underline",format:"underline"},{title:"Strikethrough",format:"strikethrough"},{title:"Superscript",format:"superscript"},{title:"Subscript",format:"subscript"},{title:"Code",format:"code"}]},{title:"Blocks",items:[{title:"Paragraph",format:"p"},{title:"Blockquote",format:"blockquote"},{title:"Div",format:"div"},{title:"Pre",format:"pre"}]},{title:"Align",items:[{title:"Left",format:"alignleft"},{title:"Center",format:"aligncenter"},{title:"Right",format:"alignright"},{title:"Justify",format:"alignjustify"}]}],TF=e=>W(e,(e,t)=>{if(be(t,"items")){const o=TF(t.items);return{customFormats:e.customFormats.concat(o.customFormats),formats:e.formats.concat([{title:t.title,items:o.formats}])}}if(be(t,"inline")||(e=>be(e,"block"))(t)||(e=>be(e,"selector"))(t)){const o=`custom-${r(t.name)?t.name:t.title.toLowerCase()}`;return{customFormats:e.customFormats.concat([{name:o,format:t}]),formats:e.formats.concat([{title:t.title,format:o,icon:t.icon}])}}return{...e,formats:e.formats.concat(t)}},{customFormats:[],formats:[]}),EF=e=>uC(e).map(t=>{const o=((e,t)=>{const o=TF(t),n=t=>{L(t,t=>{e.formatter.has(t.name)||e.formatter.register(t.name,t.format)})};return e.formatter?n(o.customFormats):e.on("init",()=>{n(o.customFormats)}),o.formats})(e,t);return mC(e)?_F.concat(o):o}).getOr(_F),AF=(e,t,o)=>({...e,type:"formatter",isSelected:t(e.format),getStylePreview:o(e.format)}),DF=(e,t,o,n)=>{const s=t=>V(t,t=>kF(t)?(e=>{const t=s(e.items);return{...e,type:"submenu",getStyleItems:y(t)}})(t):OF(t)?(e=>AF(e,o,n))(t):(e=>{const t=re(e);return 1===t.length&&F(t,"title")})(t)?{...t,type:"separator"}:(t=>{const s=r(t.name)?t.name:Ne(t.title),a=`custom-${s}`,i={...t,type:"formatter",format:a,isSelected:o(a),getStylePreview:n(a)};return e.formatter.register(s,i),i})(t));return s(t)},MF=e=>{let t=0;const o=e=>[{dom:{tag:"div",classes:["tox-tooltip__body"]},components:[zg(e.tooltipText)]}];return{getConfig:n=>({delayForShow:()=>t>0?60:300,delayForHide:y(300),exclusive:!0,lazySink:e,tooltipDom:{tag:"div",classes:["tox-tooltip","tox-tooltip--up"]},tooltipComponents:o(n),onShow:(e,o)=>{t++,n.onShow&&n.onShow(e,o)},onHide:(e,o)=>{t--,n.onHide&&n.onHide(e,o)},onSetup:n.onSetup}),getComponents:o}},BF=BB.trim,IF=e=>t=>{if((e=>g(e)&&1===e.nodeType)(t)){if(t.contentEditable===e)return!0;if(t.getAttribute("data-mce-contenteditable")===e)return!0}return!1},FF=IF("true"),RF=IF("false"),NF=(e,t,o,n,s)=>({type:e,title:t,url:o,level:n,attach:s}),zF=e=>e.innerText||e.textContent,VF=e=>(e=>e&&"A"===e.nodeName&&void 0!==(e.id||e.name))(e)&&HF(e),LF=e=>e&&/^(H[1-6])$/.test(e.nodeName),HF=e=>(e=>{let t=e;for(;t=t.parentNode;){const e=t.contentEditable;if(e&&"inherit"!==e)return FF(t)}return!1})(e)&&!RF(e),PF=e=>LF(e)&&HF(e),UF=e=>{const t=(e=>e.id?e.id:Ne("h"))(e);return NF("header",zF(e)??"","#"+t,(e=>LF(e)?parseInt(e.nodeName.substr(1),10):0)(e),()=>{e.id=t})},WF=e=>{const t=e.id||e.name,o=zF(e);return NF("anchor",o||"#"+t,"#"+t,0,b)},jF=e=>BF(e.title).length>0,$F=e=>{const t=(e=>{const t=V(gs(ct(e),"h1,h2,h3,h4,h5,h6,a:not([href])"),e=>e.dom);return t})(e);return P((e=>V(P(e,PF),UF))(t).concat((e=>V(P(e,VF),WF))(t)),jF)},GF="tinymce-url-history",qF=e=>r(e)&&/^https?/.test(e),YF=e=>a(e)&&pe(e,e=>{return!(l(t=e)&&t.length<=5&&Y(t,qF));var t}).isNone(),XF=()=>{const e=eM.getItem(GF);if(null===e)return{};let t;try{t=JSON.parse(e)}catch(e){if(e instanceof SyntaxError)return console.log("Local storage "+GF+" was not valid JSON",e),{};throw e}return YF(t)?t:(console.log("Local storage "+GF+" was not valid format",t),{})},KF=e=>{const t=XF();return fe(t,e).getOr([])},JF=(e,t)=>{if(!qF(e))return;const o=XF(),n=fe(o,t).getOr([]),s=P(n,t=>t!==e);o[t]=[e].concat(s).slice(0,5),(e=>{if(!YF(e))throw new Error("Bad format for history:\n"+JSON.stringify(e));eM.setItem(GF,JSON.stringify(e))})(o)},QF=e=>!!e,ZF=e=>le(BB.makeMap(e,/[, ]/),QF),eR=e=>A.from(OC(e)),tR=e=>A.from(e).filter(r).getOrUndefined(),oR=e=>({getHistory:KF,addToHistory:JF,getLinkInformation:()=>(e=>AC(e)?A.some({targets:$F(e.getBody()),anchorTop:tR(DC(e)),anchorBottom:tR(MC(e))}):A.none())(e),getValidationHandler:()=>(e=>A.from(_C(e)))(e),getUrlPicker:t=>((e,t)=>((e,t)=>{const o=(e=>{const t=A.from(EC(e)).filter(QF).map(ZF);return eR(e).fold(T,e=>t.fold(E,e=>re(e).length>0&&e))})(e);return d(o)?o?eR(e):A.none():o[t]?eR(e):A.none()})(e,t).map(o=>n=>Oe(s=>{const i={filetype:t,fieldname:n.fieldname,...A.from(n.meta).getOr({})};o.call(e,(e,t)=>{if(!r(e))throw new Error("Expected value to be string");if(void 0!==t&&!a(t))throw new Error("Expected meta to be a object");s({value:e,meta:t})},n.value,i)})))(e,t)}),nR={skipFocus:"ToggleToolbarDrawer skipFocus is deprecated see migration guide: https://www.tiny.cloud/docs/tinymce/latest/migration-from-7x/"},sR=b,rR=T,aR=y([]);var iR,lR=Object.freeze({__proto__:null,setup:sR,isDocked:rR,getBehaviours:aR});const cR=y(Ne("toolbar-height-change")),dR={fadeInClass:"tox-editor-dock-fadein",fadeOutClass:"tox-editor-dock-fadeout",transitionClass:"tox-editor-dock-transition"},uR="tox-tinymce--toolbar-sticky-on",mR="tox-tinymce--toolbar-sticky-off",gR=(e,t)=>F(Hp.getModes(e),t),pR=e=>{const t=e.element;ho(t).each(o=>{const n="padding-"+Hp.getModes(e)[0];if(Hp.isDocked(e)){const e=An(o);gn(t,"width",e+"px"),gn(o,n,(e=>_n(e)+(parseInt(fn(e,"margin-top"),10)||0)+(parseInt(fn(e,"margin-bottom"),10)||0))(t)+"px")}else wn(t,"width"),wn(o,n)})},hR=(e,t)=>{t?(rs(e,dR.fadeOutClass),is(e,[dR.transitionClass,dR.fadeInClass])):(rs(e,dR.fadeInClass),is(e,[dR.fadeOutClass,dR.transitionClass]))},fR=(e,t)=>{const o=ct(e.getContainer());t?(ns(o,uR),rs(o,mR)):(ns(o,mR),rs(o,uR))},bR=(e,t)=>{const o=Ye(),n=t.getSink,s=e=>{n().each(t=>e(t.element))},r=t=>{e.inline||pR(t),fR(e,Hp.isDocked(t)),t.getSystem().broadcastOn([Vd()],{}),n().each(e=>e.getSystem().broadcastOn([Vd()],{}))},a=e.inline?[]:[vb.config({channels:{[cR()]:{onReceive:pR}}})];return[_d.config({}),Hp.config({contextual:{lazyContext:t=>{const o=_n(t.element),n=e.inline?e.getContentAreaContainer():e.getContainer();return A.from(n).map(n=>{const s=Hs(ct(n));return gk(e,t.element).fold(()=>{const e=s.height-o,n=s.y+(gR(t,"top")?0:o);return Ls(s.x,n,s.width,e)},e=>{const n=Us(s,pk(e)),r=gR(t,"top")?n.y:n.y+o;return Ls(n.x,r,n.width,n.height-o)})})},onShow:()=>{s(e=>hR(e,!0))},onShown:e=>{s(e=>ls(e,[dR.transitionClass,dR.fadeInClass])),o.get().each(t=>{((e,t)=>{const o=co(t);Ho(o).filter(e=>!wt(t,e)).filter(t=>wt(t,ct(o.dom.body))||St(e,t)).each(()=>zo(t))})(e.element,t),o.clear()})},onHide:e=>{((e,t)=>Po(e).orThunk(()=>t().toOptional().bind(e=>Po(e.element))))(e.element,n).fold(o.clear,o.set),s(e=>hR(e,!1))},onHidden:()=>{s(e=>ls(e,[dR.transitionClass]))},...dR},lazyViewport:t=>gk(e,t.element).fold(()=>{const o=Ws(),n=SC(e),s=o.y+(gR(t,"top")&&!mk(e)?n:0),r=o.height-(gR(t,"bottom")?n:0);return{bounds:Ls(o.x,s,o.width,r),optScrollEnv:A.none()}},e=>({bounds:pk(e),optScrollEnv:A.some({currentScrollTop:e.element.dom.scrollTop,scrollElmTop:Fn(e.element).top})})),modes:[t.header.getDockingMode()],onDocked:r,onUndocked:r}),...a]};var vR=Object.freeze({__proto__:null,setup:(e,t,o)=>{e.inline||(t.header.isPositionedAtTop()||e.on("ResizeEditor",()=>{o().each(Hp.reset)}),e.on("ResizeWindow ResizeEditor",()=>{o().each(pR)}),e.on("SkinLoaded",()=>{o().each(e=>{Hp.isDocked(e)?Hp.reset(e):Hp.refresh(e)})}),e.on("FullscreenStateChanged",()=>{o().each(Hp.reset)})),e.on("AfterScrollIntoView",e=>{o().each(t=>{Hp.refresh(t);const o=t.element;Tn(o)&&((e,t)=>{const o=co(t),n=go(t).dom.innerHeight,s=Nn(o),r=ct(e.elm),a=Ps(r),i=On(r),l=a.y,c=l+i,d=Fn(t),u=On(t),m=d.top,g=m+u,p=Math.abs(m-s.top)<2,h=Math.abs(g-(s.top+n))<2;if(p&&lm){const e=l-n+i+u;zn(s.left,e,o)}})(e,o)})}),e.on("PostRender",()=>{fR(e,!1)})},isDocked:e=>e().map(Hp.isDocked).getOr(!1),getBehaviours:bR}),xR=hh({factory:(e,t)=>{const o={focus:Im.focusIn,setMenus:(e,o)=>{const n=V(o,e=>{const o={type:"menubutton",text:e.text,fetch:t=>{t(e.getItems())},context:"any"},n=fE(o).mapError(e=>Rr(e)).getOrDie();return DI(n,"tox-mbtn",t.backstage,A.some("menuitem"))});ug.set(e,n)}};return{uid:e.uid,dom:e.dom,components:[],behaviours:hd([ug.config({}),wd("menubar-events",[id(t=>{e.onSetup(t)}),Zc(ka(),(e,t)=>{Xn(e.element,".tox-mbtn--active").each(o=>{Kn(t.event.target,".tox-mbtn").each(t=>{wt(o,t)||e.getSystem().getByDom(o).each(o=>{e.getSystem().getByDom(t).each(e=>{Hx.expand(e),Hx.close(o),_d.focus(e)})})})})}),Zc(ii(),(e,t)=>{t.event.prevFocus.bind(t=>e.getSystem().getByDom(t).toOptional()).each(o=>{t.event.newFocus.bind(t=>e.getSystem().getByDom(t).toOptional()).each(e=>{Hx.isOpen(o)&&(Hx.expand(e),Hx.close(o))})})})]),Im.config({mode:"flow",selector:".tox-mbtn",onEscape:t=>(e.onEscape(t),A.some(!0))}),iv.config({})]),apis:o,domModification:{attributes:{role:"menubar"}}}},name:"silver.Menubar",configFields:[Pr("dom"),Pr("uid"),Pr("onEscape"),Pr("backstage"),sa("onSetup",b)],apis:{focus:(e,t)=>{e.focus(t)},setMenus:(e,t,o)=>{e.setMenus(t,o)}}});const yR=e=>/^[0-9\.]+(|px)$/i.test(""+e)?A.some(parseInt(""+e,10)):A.none(),wR=e=>h(e)?e+"px":e,SR=(e,t,o)=>{const n=t.filter(t=>ee>t);return n.or(s).getOr(e)},CR="--tox-private-requested-sidebar-width",kR="--tox-private-resolved-sidebar-width",OR=e=>Gn(e.element,".tox-sidebar"),_R=(e,t)=>{const{minWidth:o,maxWidth:n}=e;return{dom:{tag:"div",classes:["tox-sidebar__resize-handle"]},behaviours:hd([Wh.config({mode:"pointer",repositionTarget:!1,onDragStart:e=>{OR(e).each(s=>{const r=An(s),a=Ue((e=>Gn(e.element,".tox-sidebar-wrap"))(e),(e=>yR(fn(e,"--tox-private-min-editing-area-width")))(s),(e,t)=>Math.floor(An(e))-t).getOr(n),i=Math.min(n,a);i>=o&&(_b.start(e,r,On(s),{minWidth:o,maxWidth:i}),t.dispatch("SidebarResizeStart"))})},onDrag:(e,t,o)=>{_b.moveBy(e,Bn(-1*o.left,0)).each(({width:t})=>{OR(e).each(e=>((e,t)=>{gn(e,CR,wR(t))})(e,t))})},onDrop:e=>{_b.stop(e).each(({width:e})=>{((e,t)=>{e.dispatch("SidebarResized",{width:t})})(t,e)})}}),_b.config({})])}},TR=e=>({element:()=>e.element.dom}),ER=(e,t)=>{const o=V(re(t),e=>{const o=t[e],n=Ir((e=>Br("sidebar",DA,e))(o));return{name:e,getApi:TR,onSetup:n.onSetup,onShow:n.onShow,onHide:n.onHide,resizable:n.resizable}});return V(o,t=>{const n=ye(b);return e.slot(t.name,{dom:{tag:"div",classes:["tox-sidebar__pane"]},behaviours:LA([jA(t,n),$A(t,n),Zc(li(),(e,t)=>{const n=t.event,s=j(o,e=>e.name===n.name);s.each(t=>{$c(e,RR,n.visible?{visible:!0,resizable:t.resizable}:{visible:!1}),(n.visible?t.onShow:t.onHide)(t.getApi(e))})})])})})},AR=(e,t,o)=>cS.sketch(n=>({dom:{tag:"div",classes:["tox-sidebar__pane-container"]},components:[_R(t,o),...ER(n,e)],slotBehaviours:LA([id(e=>cS.hideAllSlots(e))])})),DR=(e,t)=>{Yo(e,"role",t)},MR=e=>{Xg.getCurrent(e).each(t=>{Zb.immediateShrink(t),DR(e.element,"presentation")})},BR=e=>Xg.getCurrent(e).bind(e=>Zb.isGrowing(e)||Zb.hasGrown(e)?Xg.getCurrent(e).bind(e=>j(cS.getSlotNames(e),t=>cS.isShowing(e,t))):A.none()),IR=Ne("FixSizeEvent"),FR=Ne("AutoSizeEvent"),RR=Ne("SidebarContentChanged"),NR=e=>Xg.getCurrent(e).each(e=>zo(e.element,!0)),zR=(e,t,o)=>{const n=ye(!1),s=Ye(),r=o=>{var s;n.get()&&(!(e=>"focusin"===e.type)(s=o)||!(s.composed?te(s.composedPath()):A.from(s.target)).map(ct).filter(so).exists(e=>as(e,"mce-pastebin")))&&(o.preventDefault(),NR(t()),e.editorManager.setActive(e))};e.inline||e.on("PreInit",()=>{e.dom.bind(e.getWin(),"focusin",r),e.on("BeforeExecCommand",e=>{"mcefocus"===e.command.toLowerCase()&&!0!==e.value&&r(e)})});const a=s=>{s!==n.get()&&(n.set(s),((e,t,o,n)=>{const s=t.element;if(((e,t)=>{const o="tabindex",n=`data-mce-${o}`;A.from(e.iframeElement).map(ct).each(e=>{t?(Jo(e,o).each(t=>Yo(e,n,t)),Yo(e,o,-1)):(Zo(e,o),Jo(e,n).each(t=>{Yo(e,o,t),Zo(e,n)}))})})(e,o),o)Gg.block(t,(e=>(t,o)=>({dom:{tag:"div",attributes:{"aria-label":e.translate("Loading..."),tabindex:"0"},classes:["tox-throbber__busy-spinner"]},components:[{dom:Av('
')}]}))(n)),wn(s,"display"),Zo(s,"aria-hidden"),e.hasFocus()&&NR(t);else{const o=Xg.getCurrent(t).exists(e=>Lo(e.element));Gg.unblock(t),gn(s,"display","none"),Yo(s,"aria-hidden","true"),o&&e.focus()}})(e,t(),s,o.providers),((e,t)=>{e.dispatch("AfterProgressState",{state:t})})(e,s))};e.on("ProgressState",t=>{if(s.on(clearTimeout),h(t.time)){const o=YS.setEditorTimeout(e,()=>a(t.state),t.time);s.set(o)}else a(t.state),s.clear()})},VR=e=>{const t=e.label.or(e.title).fold(()=>({}),e=>({attributes:{"aria-label":e}}));return{dom:{tag:"div",classes:["tox-toolbar__group"].concat(e.label.isSome()?["tox-toolbar__group_with_label"]:[]),...t},components:[...e.label.map(e=>({dom:{tag:"span",classes:["tox-label","tox-label--context-toolbar"]},components:[zg(e)]})).toArray(),yS.parts.items({})],items:e.items,markers:{itemSelector:".tox-tbtn:not([disabled]), .tox-toolbar-nav-item:not([disabled]), .tox-number-input:not([disabled])"},tgroupBehaviours:hd([iv.config({}),_d.config({ignore:!0})])}},LR=e=>yS.sketch(VR(e)),HR=(e,t)=>{const o=id(t=>{const o=V(e.initGroups,LR);Yx.setGroups(t,o)});return hd([UA(()=>e.providers.checkUiComponentContext("any").shouldDisable),ZA(()=>e.providers.checkUiComponentContext("any")),Im.config({mode:t,onEscape:e.onEscape,visibilitySelector:".tox-toolbar__overflow",selector:".tox-toolbar__group"}),wd("toolbar-events",[o])])},PR=e=>{const t=e.cyclicKeying?"cyclic":"acyclic";return{uid:e.uid,dom:{tag:"div",classes:["tox-toolbar-overlord"]},parts:{"overflow-group":VR({title:A.none(),label:A.none(),items:[]}),"overflow-button":jI({context:"any",name:"more",icon:A.some("more-drawer"),enabled:!0,tooltip:A.some("Reveal or hide additional toolbar items"),primary:!1,buttonType:A.none(),borderless:!1},A.none(),e.providers,[],"overflow-button")},splitToolbarBehaviours:HR(e,t)}},UR=e=>{const t=PR(e),o=CS.parts.primary({dom:{tag:"div",classes:["tox-toolbar__primary"]}});return CS.sketch({...t,lazySink:e.getSink,getOverflowBounds:()=>{const t=e.moreDrawerData.lazyHeader().element,o=Ps(t),n=mo(t),s=Ps(n),r=Math.max(n.dom.scrollHeight,s.height);return Ls(o.x+4,s.y,o.width-8,r)},parts:{...t.parts,overflow:{dom:{tag:"div",classes:["tox-toolbar__overflow"],attributes:e.attributes}}},components:[o],markers:{overflowToggledClass:"tox-tbtn--enabled"},onOpened:t=>e.onToggled(t,!0),onClosed:t=>e.onToggled(t,!1)})},WR=e=>{const t=ES.parts.primary({dom:{tag:"div",classes:["tox-toolbar__primary"]}}),o=ES.parts.overflow({dom:{tag:"div",classes:["tox-toolbar__overflow"]}}),n=PR(e);return ES.sketch({...n,components:[t,o],markers:{openClass:"tox-toolbar__overflow--open",closedClass:"tox-toolbar__overflow--closed",growingClass:"tox-toolbar__overflow--growing",shrinkingClass:"tox-toolbar__overflow--shrinking",overflowToggledClass:"tox-tbtn--enabled"},onOpened:t=>{t.getSystem().broadcastOn([cR()],{type:"opened"}),e.onToggled(t,!0)},onClosed:t=>{t.getSystem().broadcastOn([cR()],{type:"closed"}),e.onToggled(t,!1)}})},jR=e=>{const t=e.cyclicKeying?"cyclic":"acyclic";return Yx.sketch({uid:e.uid,dom:{tag:"div",classes:["tox-toolbar"].concat(e.type===QS.scrolling?["tox-toolbar--scrolling"]:[])},components:[Yx.parts.groups({})],toolbarBehaviours:HR(e,t)})},$R=(e,t)=>((e,t)=>{const o="togglebutton"===e.type,n=e.icon.map(e=>cI(e,t.icons)).map(Dv),s={...e,name:o?e.text.getOr(e.icon.getOr("")):e.text??e.icon.getOr(""),primary:"primary"===e.buttonType,buttonType:A.from(e.buttonType),tooltip:e.tooltip,icon:e.icon,enabled:!0,borderless:e.borderless},r=$I(e.buttonType??"secondary"),a=o?e.text.map(t.translate):A.some(t.translate(e.text)),i=a.map(zg),l=s.tooltip.or(a).map(e=>({"aria-label":t.translate(e)})).getOr({}),c=n.map(e=>e.asSpec()),d=oD([c,i]),u=e.icon.isSome()&&i.isSome(),m={tag:"button",classes:r.concat(...e.icon.isSome()&&!u?["tox-button--icon"]:[]).concat(...u?["tox-button--icon-and-text"]:[]).concat(...e.borderless?["tox-button--naked"]:[]).concat(..."togglebutton"===e.type&&e.active?["tox-button--enabled"]:[]),attributes:l},g=WI(s,A.some(s=>{const r=e=>{n.map(o=>o.getOpt(s).each(o=>{ug.set(o,[cI(e,t.icons)])}))};return o?e.onAction({setIcon:r,setActive:e=>{const t=s.element;e?(ns(t,"tox-button--enabled"),Yo(t,"aria-pressed",!0)):(rs(t,"tox-button--enabled"),Zo(t,"aria-pressed"))},isActive:()=>as(s.element,"tox-button--enabled"),focus:()=>zo(s.element)}):"button"===e.type?e.onAction({setIcon:r}):void 0}),[],m,d,e.tooltip,t);return Wv.sketch(g)})(e,t),GR=Qt().deviceType,qR=GR.isPhone(),YR=GR.isTablet();var XR=fh({name:"silver.View",configFields:[Pr("viewConfig")],partFields:[cl({factory:{sketch:e=>{let t=!1;const o=V(e.buttons,o=>"group"===o.type?(t=!0,((e,t)=>({dom:{tag:"div",classes:["tox-view__toolbar__group"]},components:V(e.buttons,e=>$R(e,t))}))(o,e.providers)):$R(o,e.providers));return{uid:e.uid,dom:{tag:"div",classes:[t?"tox-view__toolbar":"tox-view__header",...qR||YR?["tox-view--mobile","tox-view--scrolling"]:[]]},behaviours:hd([_d.config({}),Im.config({mode:"flow",selector:"button, .tox-button",focusInside:Vi.OnEnterOrSpaceMode})]),components:t?o:[bh.sketch({dom:{tag:"div",classes:["tox-view__header-start"]},components:[]}),bh.sketch({dom:{tag:"div",classes:["tox-view__header-end"]},components:o})]}}},schema:[Pr("buttons"),Pr("providers")],name:"header"}),cl({factory:{sketch:e=>({uid:e.uid,behaviours:hd([_d.config({}),iv.config({})]),dom:{tag:"div",classes:["tox-view__pane"]}})},schema:[],name:"pane"})],factory:(e,t,o,n)=>{const s={getPane:t=>Mv.getPart(t,e,"pane"),getOnShow:t=>e.viewConfig.onShow,getOnHide:t=>e.viewConfig.onHide};return{uid:e.uid,dom:e.dom,components:t,behaviours:hd([_d.config({}),Im.config({mode:"cyclic",focusInside:Vi.OnEnterOrSpaceMode})]),apis:s}},apis:{getPane:(e,t)=>e.getPane(t),getOnShow:(e,t)=>e.getOnShow(t),getOnHide:(e,t)=>e.getOnHide(t)}});const KR=(e,t,o)=>ge(t,(t,n)=>{const s=Ir(Br("view",zA,t));return e.slot(n,XR.sketch({dom:{tag:"div",classes:["tox-view"]},viewConfig:s,components:[...s.buttons.length>0?[XR.parts.header({buttons:s.buttons,providers:o})]:[],XR.parts.pane({})]}))}),JR=(e,t)=>cS.sketch(o=>({dom:{tag:"div",classes:["tox-view-wrap__slot-container"]},components:KR(o,e,t),slotBehaviours:LA([id(e=>cS.hideAllSlots(e))])})),QR=e=>j(cS.getSlotNames(e),t=>cS.isShowing(e,t)),ZR=(e,t,o)=>{cS.getSlot(e,t).each(e=>{XR.getPane(e).each(t=>{var n;o(e)((n=t.element.dom,{getContainer:y(n)}))})})};var eN=hh({factory:(e,t)=>{let o={};const n={setViews:(e,n)=>{o=n,ug.set(e,[JR(n,t.backstage.shared.providers)])},whichView:e=>Xg.getCurrent(e).bind(QR),toggleView:(e,t,n,s)=>Xg.getCurrent(e).exists(r=>{const a=QR(r),i=a.exists(e=>s===e),l=cS.getSlot(r,s).isSome();return l&&(cS.hideAllSlots(r),i?((e=>{const t=e.element;gn(t,"display","none"),Yo(t,"aria-hidden","true")})(e),t()):(n(!0===o[s]?.keepToolbar),(e=>{const t=e.element;wn(t,"display"),Zo(t,"aria-hidden")})(e),cS.showSlot(r,s),((e,t)=>{ZR(e,t,XR.getOnShow)})(r,s)),a.each(e=>((e,t)=>ZR(e,t,XR.getOnHide))(r,e))),l})};return{uid:e.uid,dom:{tag:"div",classes:["tox-view-wrap"],attributes:{"aria-hidden":"true"},styles:{display:"none"}},components:[],behaviours:hd([ug.config({}),Xg.config({find:e=>{const t=ug.contents(e);return te(t)}})]),apis:n}},name:"silver.ViewWrapper",configFields:[Pr("backstage")],apis:{setViews:(e,t,o)=>e.setViews(t,o),toggleView:(e,t,o,n,s)=>e.toggleView(t,o,n,s),whichView:(e,t)=>e.whichView(t)}});const tN="tox-editor-container--keep-toolbar",oN=(e,t)=>{t?(gn(e,"display","none"),Yo(e,"aria-hidden","true")):(wn(e,"display"),Zo(e,"aria-hidden"))},nN=Bv.optional({factory:xR,name:"menubar",schema:[Pr("backstage")]}),sN=Bv.optional({factory:{sketch:e=>qv.sketch({uid:e.uid,dom:e.dom,listBehaviours:hd([Im.config({mode:"acyclic",selector:".tox-toolbar"})]),makeItem:()=>jR({type:e.type,uid:Ne("multiple-toolbar-item"),cyclicKeying:!1,initGroups:[],providers:e.providers,onEscape:()=>(e.onEscape(),A.some(!0))}),setupItem:(e,t,o,n)=>{Yx.setGroups(t,o)},shell:!0})},name:"multiple-toolbar",schema:[Pr("dom"),Pr("onEscape")]}),rN=Bv.optional({factory:{sketch:e=>{const t=(e=>e.type===QS.sliding?WR:e.type===QS.floating?UR:jR)(e);return t({type:e.type,uid:e.uid,onEscape:()=>(e.onEscape(),A.some(!0)),onToggled:(t,o)=>e.onToolbarToggled(o),cyclicKeying:!1,initGroups:[],getSink:e.getSink,providers:e.providers,moreDrawerData:{lazyToolbar:e.lazyToolbar,lazyMoreButton:e.lazyMoreButton,lazyHeader:e.lazyHeader},attributes:e.attributes})}},name:"toolbar",schema:[Pr("dom"),Pr("onEscape"),Pr("getSink")]}),aN=Bv.optional({factory:{sketch:e=>{const t=e.editor,o=e.sticky?bR:aR;return{uid:e.uid,dom:e.dom,components:e.components,behaviours:hd(o(t,e.sharedBackstage))}}},name:"header",schema:[Pr("dom")]}),iN=Bv.optional({factory:{sketch:e=>{const t=e.promotionLink?[{dom:{tag:"a",attributes:{href:"https://www.tiny.cloud/tinymce-upgrade-to-cloud/?utm_campaign=self_hosted_upgrade_promo&utm_source=tiny&utm_medium=referral",rel:"noopener",target:"_blank","aria-hidden":"true"},classes:["tox-promotion-link"],innerHtml:"\u{1f49d} Get all features"}}]:[];return{uid:e.uid,dom:e.dom,components:t}}},name:"promotion",schema:[Pr("dom"),Pr("promotionLink")]}),lN=Bv.optional({name:"socket",schema:[Pr("dom")]}),cN=Bv.optional({factory:{sketch:e=>({uid:e.uid,dom:{tag:"div",classes:["tox-sidebar"],styles:{[CR]:wR(e.configuredSidebarWidth)},attributes:{role:"presentation"}},components:[{dom:{tag:"div",classes:["tox-sidebar__slider"]},components:[],behaviours:hd([iv.config({}),_d.config({}),Zb.config({dimension:{property:"width"},closedClass:"tox-sidebar--sliding-closed",openClass:"tox-sidebar--sliding-open",shrinkingClass:"tox-sidebar--sliding-shrinking",growingClass:"tox-sidebar--sliding-growing",onShrunk:e=>{Xg.getCurrent(e).each(cS.hideAllSlots),jc(e,FR)},onGrown:e=>{jc(e,FR)},onStartGrow:e=>{$c(e,IR,{width:vn(e.element,"width").getOr("")})},onStartShrink:e=>{$c(e,IR,{width:An(e.element)+"px"})}}),ug.config({}),Xg.config({find:e=>{const t=ug.contents(e);return te(t)}})])}],behaviours:hd([gB(0),wd("sidebar-sliding-events",[Zc(IR,(e,t)=>{gn(e.element,"width",t.event.width),gn(e.element,kR,t.event.width)}),Zc(FR,(e,t)=>{wn(e.element,"width"),wn(e.element,kR)})])])})},name:"sidebar",schema:[Pr("dom"),Pr("configuredSidebarWidth")]}),dN=Bv.optional({factory:{sketch:e=>({uid:e.uid,dom:{tag:"div",attributes:{"aria-hidden":"true"},classes:["tox-throbber"],styles:{display:"none"}},behaviours:hd([ug.config({}),Gg.config({focus:!1}),Xg.config({find:e=>te(e.components())})]),components:[]})},name:"throbber",schema:[Pr("dom")]}),uN=Bv.optional({factory:eN,name:"viewWrapper",schema:[Pr("backstage")]}),mN=Bv.optional({factory:{sketch:e=>({uid:e.uid,dom:{tag:"div",classes:["tox-editor-container"]},components:e.components})},name:"editorContainer",schema:[]});var gN=fh({name:"OuterContainer",factory:(e,t,o)=>{let n=!1,s=!0;const a=(e,t)=>{qn(e,".tox-statusbar").each(e=>{oN(e,t)})},i=(e,t)=>{Xn(e,".tox-sidebar-wrap").each(e=>{oN(e,t)})},l={getSocket:t=>Mv.getPart(t,e,"socket"),setSidebar:(t,o,n,s,a)=>{Mv.getPart(t,e,"sidebar").each(e=>((e,t,o,n,s)=>{Xg.getCurrent(e).each(a=>{ug.set(a,[AR(t,n,s)]);const i=o?.toLowerCase();r(i)&&be(t,i)&&Xg.getCurrent(a).each(t=>{cS.showSlot(t,i),Zb.immediateGrow(a),wn(a.element,"width"),DR(e.element,"region")})})})(e,o,n,s,a))},toggleSidebar:(t,o)=>{Mv.getPart(t,e,"sidebar").each(e=>((e,t)=>{Xg.getCurrent(e).each(o=>{Xg.getCurrent(o).each(n=>{Zb.hasGrown(o)?cS.isShowing(n,t)?(Zb.shrink(o),DR(e.element,"presentation")):(cS.hideAllSlots(n),cS.showSlot(n,t),DR(e.element,"region")):(cS.hideAllSlots(n),cS.showSlot(n,t),Zb.grow(o),DR(e.element,"region"))})})})(e,o))},whichSidebar:t=>Mv.getPart(t,e,"sidebar").bind(BR).getOrNull(),getHeader:t=>Mv.getPart(t,e,"header"),getToolbar:t=>Mv.getPart(t,e,"toolbar"),setToolbar:(t,o)=>{Mv.getPart(t,e,"toolbar").each(e=>{const t=V(o,LR);e.getApis().setGroups(e,t)})},setToolbars:(t,o)=>{Mv.getPart(t,e,"multiple-toolbar").each(e=>{const t=V(o,e=>V(e,LR));qv.setItems(e,t)})},refreshToolbar:t=>{Mv.getPart(t,e,"toolbar").each(e=>e.getApis().refresh(e))},toggleToolbarDrawer:t=>{Mv.getPart(t,e,"toolbar").each(e=>{We(e.getApis().toggle,t=>t(e))})},toggleToolbarDrawerWithoutFocusing:t=>{Mv.getPart(t,e,"toolbar").each(e=>{We(e.getApis().toggleWithoutFocusing,t=>t(e))})},isToolbarDrawerToggled:t=>Mv.getPart(t,e,"toolbar").bind(e=>A.from(e.getApis().isOpen).map(t=>t(e))).getOr(!1),getThrobber:t=>Mv.getPart(t,e,"throbber"),focusToolbar:t=>{Mv.getPart(t,e,"toolbar").orThunk(()=>Mv.getPart(t,e,"multiple-toolbar")).each(e=>{Im.focusIn(e)})},setMenubar:(t,o)=>{Mv.getPart(t,e,"menubar").each(e=>{xR.setMenus(e,o)})},focusMenubar:t=>{Mv.getPart(t,e,"menubar").each(e=>{xR.focus(e)})},setViews:(t,o,n)=>{Mv.getPart(t,e,"viewWrapper").each(e=>{eN.setViews(e,o)});const s=n?.toLowerCase();r(s)&&be(o,s)&&l.toggleView(t,s)},toggleView:(t,o)=>Mv.getPart(t,e,"viewWrapper").exists(e=>eN.toggleView(e,()=>l.showMainView(t),e=>l.hideMainView(t,e),o)),whichView:t=>Mv.getPart(t,e,"viewWrapper").bind(eN.whichView).getOrNull(),hideMainView:(t,o)=>{const r=o&&!s&&n;o?n=!1:s&&(n=l.isToolbarDrawerToggled(t),n&&l.toggleToolbarDrawer(t)),s=o,Mv.getPart(t,e,"editorContainer").each(n=>{const s=n.element;a(s,!o),o?(Mv.getPart(t,e,"sidebar").each(MR),ns(s,tN),oN(s,!1),i(s,!0)):(rs(s,tN),i(s,!1),oN(s,!0))}),r&&l.toggleToolbarDrawerWithoutFocusing(t)},showMainView:t=>{n&&(l.toggleToolbarDrawer(t),n=!1),s=!0,Mv.getPart(t,e,"editorContainer").each(e=>{const t=e.element;rs(t,tN),i(t,!1),a(t,!1),oN(t,!1)})}};return{uid:e.uid,dom:e.dom,components:t,apis:l,behaviours:e.behaviours}},configFields:[Pr("dom"),Pr("behaviours")],partFields:[aN,nN,rN,sN,lN,cN,iN,dN,uN,mN],apis:{getSocket:(e,t)=>e.getSocket(t),setSidebar:(e,t,o,n,s,r)=>{e.setSidebar(t,o,n,s,r)},toggleSidebar:(e,t,o)=>{e.toggleSidebar(t,o)},whichSidebar:(e,t)=>e.whichSidebar(t),getHeader:(e,t)=>e.getHeader(t),getToolbar:(e,t)=>e.getToolbar(t),setToolbar:(e,t,o)=>{e.setToolbar(t,o)},setToolbars:(e,t,o)=>{e.setToolbars(t,o)},refreshToolbar:(e,t)=>e.refreshToolbar(t),toggleToolbarDrawer:(e,t)=>{e.toggleToolbarDrawer(t)},toggleToolbarDrawerWithoutFocusing:(e,t)=>{e.toggleToolbarDrawerWithoutFocusing(t)},isToolbarDrawerToggled:(e,t)=>e.isToolbarDrawerToggled(t),getThrobber:(e,t)=>e.getThrobber(t),setMenubar:(e,t,o)=>{e.setMenubar(t,o)},focusMenubar:(e,t)=>{e.focusMenubar(t)},focusToolbar:(e,t)=>{e.focusToolbar(t)},setViews:(e,t,o,n)=>{e.setViews(t,o,n)},toggleView:(e,t,o)=>e.toggleView(t,o),whichView:(e,t)=>e.whichView(t)}});const pN={file:{title:"File",items:"newdocument restoredraft | preview | importword exportpdf exportword | export print | deleteallconversations"},edit:{title:"Edit",items:"undo redo | cut copy paste pastetext | selectall | searchreplace"},view:{title:"View",items:"code suggestededits revisionhistory | visualaid visualchars visualblocks | spellchecker | preview fullscreen | showcomments"},insert:{title:"Insert",items:"image video link media addcomment pageembed inserttemplate codesample inserttable accordion math | charmap emoticons hr | pagebreak nonbreaking anchor tableofcontents footnotes | mergetags | insertdatetime"},format:{title:"Format",items:"bold italic underline strikethrough superscript subscript codeformat | styles blocks fontfamily fontsize align lineheight | forecolor backcolor | language | removeformat"},tools:{title:"Tools",items:"tinymceai-chat tinymceai-review tinymceai-quickactions aidialog aishortcuts | spellchecker spellcheckerlanguage | autocorrect capitalization | a11ycheck code typography wordcount addtemplate"},table:{title:"Table",items:"inserttable | cell row column | advtablesort | tableprops deletetable"},help:{title:"Help",items:"help"}},hN=e=>e.split(" "),fN=(e,t)=>{const o={...pN,...t.menus},n=re(t.menus).length>0,s=void 0===t.menubar||!0===t.menubar?hN("file edit view insert format tools table help"):hN(!1===t.menubar?"":t.menubar),a=P(s,e=>{const o=be(pN,e);return n?o||fe(t.menus,e).exists(e=>be(e,"items")):o}),i=V(a,n=>{const s=o[n];return((e,t,o)=>{const n=hC(o).split(/[ ,]/);return{text:e.title,getItems:()=>q(e.items,e=>{const o=e.toLowerCase();return 0===o.trim().length||R(n,e=>e===o)?[]:"separator"===o||"|"===o?[{type:"separator"}]:t.menuItems[o]?[t.menuItems[o]]:[]})}})({title:s.title,items:hN(s.items)},t,e)});return P(i,e=>e.getItems().length>0&&R(e.getItems(),e=>r(e)||"separator"!==e.type))},bN=(e,t,o)=>(e.on("remove",()=>o.unload(t)),o.load(t)),vN=(e,t,o,n)=>(e.on("remove",()=>n.unloadRawCss(t)),n.loadRawCss(t,o)),xN=e=>A.from(tinymce.Resource.get(e)).filter(r),yN=(e,t,o="")=>{const n=(e=>{const t=GC(e);return t?A.from(t):A.none()})(e).map(e=>((e,t)=>"ui/"+e+"/"+t)(e,`${t}.css`)),s=n.bind(xN);return Ue(n,s,(e,t)=>({_kind:"load-raw",key:e,css:t})).getOrThunk(()=>{const n=e.editorManager.suffix;return{_kind:"load-stylesheet",url:o+`/${t}${n}.css`}})},wN=(e,t)=>{const o=e.ui.styleSheetLoader,n=yN(e,"skin",t);switch(n._kind){case"load-raw":const{key:t,css:s}=n;return vN(e,t,s,o),Promise.resolve();case"load-stylesheet":const{url:r}=n;return bN(e,r,o);default:return Promise.resolve()}},SN=(e,t)=>{var o;if(o=ct(e.getElement()),!To(o).isSome())return Promise.resolve();{const o=XS.DOM.styleSheetLoader,n=yN(e,"skin.shadowdom",t);switch(n._kind){case"load-raw":const{key:t,css:s}=n;return vN(e,t,s,o),Promise.resolve();case"load-stylesheet":const{url:r}=n;return bN(e,r,o);default:return Promise.resolve()}}},CN=(e,t)=>(async(e,t)=>{const o=XC(t);if(await((e,t,o)=>{const n=yN(e,t?"content.inline":"content",o);if(!o)return Promise.resolve();switch(n._kind){case"load-raw":const{key:t}=n;return e.contentCSS.push(t),Promise.resolve();case"load-stylesheet":const{url:o}=n;return e.contentCSS.push(o),Promise.resolve();default:return Promise.resolve()}})(t,e,o),!qC(t)&&r(o))return Promise.all([wN(t,o),SN(t,o)]).then()})(e,t).then((e=>{const t=()=>{e._skinLoaded=!0,(e=>{e.dispatch("SkinLoaded")})(e)};return()=>{e.initialized?t():e.on("init",t)}})(t),(e=>()=>((e,t)=>{e.dispatch("SkinLoadError",t)})(e,{message:"Skin could not be loaded"}))(t)),kN=C(CN,!1),ON=C(CN,!0),_N=e=>({isEnabled:()=>!gp.isDisabled(e),setEnabled:t=>gp.set(e,!t),setText:t=>$c(e,uI,{text:t}),setIcon:t=>$c(e,mI,{icon:t})}),TN=e=>({setActive:t=>{hv.set(e,t)},isActive:()=>hv.isOn(e),isEnabled:()=>!gp.isDisabled(e),setEnabled:t=>gp.set(e,!t),setText:t=>$c(e,uI,{text:t}),setIcon:t=>$c(e,mI,{icon:t})}),EN=(e,t)=>e.map(e=>({"aria-label":t.translate(e)})).getOr({}),AN=Ne("focus-button"),DN=(e,t,o,n,s,r,a)=>{const i=t.map(e=>Dv(dI(e,"tox-tbtn",s))),l=e.map(e=>Dv(cI(e,s.icons)));return{dom:{tag:"button",classes:["tox-tbtn"].concat(t.isSome()?["tox-tbtn--select"]:[]),attributes:{...EN(o,s),...g(a)?{"data-mce-name":a}:{}}},components:oD([l.map(e=>e.asSpec()),i.map(e=>e.asSpec())]),eventOrder:{[ya()]:["focusing","alloy.base.behaviour",sI],[ni()]:[sI,"toolbar-group-button-events"],[si()]:[sI,"toolbar-group-button-events","tooltipping"]},buttonBehaviours:hd([UA(()=>s.checkUiComponentContext(r).shouldDisable),ZA(()=>s.checkUiComponentContext(r)),wd(sI,[id((e,t)=>aI(e)),Zc(uI,(e,t)=>{i.bind(t=>t.getOpt(e)).each(e=>{ug.set(e,[zg(s.translate(t.event.text))])})}),Zc(mI,(e,t)=>{l.bind(t=>t.getOpt(e)).each(e=>{ug.set(e,[cI(t.event.icon,s.icons)])})}),Zc(ya(),(e,t)=>{t.event.prevent(),jc(e,AN)})])].concat(n.getOr([])))}},MN=(e,t,o,n)=>{const s=ye(b),r=DN(e.icon,e.text,e.tooltip,A.none(),o,e.context,n);return Wv.sketch({dom:r.dom,components:r.components,eventOrder:rI,buttonBehaviours:{...hd([wd("toolbar-button-events",[(a={onAction:e.onAction,getApi:t.getApi},dd((e,t)=>{WA(a,e)(t=>{$c(e,nI,{buttonApi:t}),a.onAction(t)})})),jA(t,s),$A(t,s)]),...e.tooltip.map(t=>Tv.config(o.tooltips.getConfig({tooltipText:o.translate(t)+e.shortcut.map(e=>` (${aD(e)})`).getOr("")}))).toArray(),UA(()=>!e.enabled||o.checkUiComponentContext(e.context).shouldDisable),ZA(()=>o.checkUiComponentContext(e.context))].concat(t.toolbarButtonBehaviours)),[sI]:r.buttonBehaviours?.[sI]}});var a},BN=(e,t,o,n)=>MN(e,{toolbarButtonBehaviours:o.length>0?[wd("toolbarButtonWith",o)]:[],getApi:_N,onSetup:e.onSetup},t,n),IN=(e,t,o,n)=>MN(e,{toolbarButtonBehaviours:[ug.config({}),hv.config({toggleClass:"tox-tbtn--enabled",aria:{mode:"pressed"},toggleOnExecute:!1})].concat(o.length>0?[wd("toolbarToggleButtonWith",o)]:[]),getApi:TN,onSetup:e.onSetup},t,n),FN=(e,t,o)=>n=>Oe(e=>t.fetch(e)).map(s=>A.from(jM(Ve(EM(Ne("menu-value"),s,o=>{t.onItemAction(e(n),o)},t.columns,t.presets,WO.CLOSE_ON_EXECUTE,t.select.getOr(T),o),{movement:DM(t.columns,t.presets),menuBehaviours:LA("auto"!==t.columns?[]:[id((e,o)=>{VA(e,4,t_(t.presets)).each(({numRows:t,numColumns:o})=>{Im.setGridSize(e,t,o)})})])})))),RN=e=>{dy.getContent(e).each(e=>{Xn(e.element,".tox-toolbar-slider__input,.tox-toolbar-textfield").fold(()=>Im.focusIn(e),zo)})},NN=Ne("forward-slide"),zN=Ne("backward-slide"),VN=Ne("change-slide-event"),LN="tox-pop--resizing",HN=(e,t,o)=>ot(o)?e.translate(t):e.translate([t,e.translate(o)]),PN=(e,t)=>{const o=(o,s,r,a)=>{const i=e.shared.providers.translate(o.title);if("separator"===o.type)return A.some({type:"separator",text:i});if("submenu"===o.type){const e=q(o.getStyleItems(),e=>n(e,s,a));return 0===s&&e.length<=0?A.none():A.some({type:"nestedmenuitem",text:i,enabled:e.length>0,getSubmenuItems:()=>q(o.getStyleItems(),e=>n(e,s,a))})}return A.some({type:"togglemenuitem",text:i,icon:o.icon,active:o.isSelected(a),enabled:!r,onAction:t.onAction(o),...o.getStylePreview().fold(()=>({}),e=>({meta:{style:e}}))})},n=(e,n,s)=>{const r="formatter"===e.type&&t.isInvalid(e);return 0===n?r?[]:o(e,n,!1,s).toArray():o(e,n,r,s).toArray()},s=e=>{const o=t.getCurrentValue(),s=t.shouldHide?0:1;return q(e,e=>n(e,s,o))};return{validateItems:s,getFetch:(e,t)=>(o,n)=>{const r=t(),a=s(r);n(vI(a,WO.CLOSE_ON_EXECUTE,e,{isHorizontalMenu:!1,search:A.none()}))}}},UN=(e,t)=>{const o=t.dataset,n="basic"===o.type?()=>V(o.data,e=>AF(e,t.isSelectedFor,t.getPreviewFor)):o.getData;return{items:PN(e,t),getStyleItems:n}},WN=(e,t,o,n,s,r)=>{const{items:a,getStyleItems:i}=UN(t,o),l=ye(o.tooltip);return pI({context:"mode:design",text:o.icon.isSome()?A.none():o.text,icon:o.icon,ariaLabel:A.some(o.tooltip),tooltip:A.none(),role:A.none(),fetch:a.getFetch(t,i),onSetup:t=>{const r=o=>t.setTooltip(HN(e,n(o.value),o.value));return e.on(s,r),YD(JD(e,"NodeChange",t=>{const n=t.getComponent();o.updateText(n),gp.set(t.getComponent(),!e.selection.isEditable()||0===i().length)})(t),()=>e.off(s,r))},getApi:e=>({getComponent:y(e),setTooltip:o=>{const n=t.shared.providers.translate(o);Yo(e.element,"aria-label",n),l.set(o)}}),columns:1,presets:"normal",classes:o.icon.isSome()?[]:["bespoke"],dropdownBehaviours:[Tv.config({...t.shared.providers.tooltips.getConfig({tooltipText:t.shared.providers.translate(o.tooltip),onShow:e=>{if(o.tooltip!==l.get()){const o=t.shared.providers.translate(l.get());Tv.setComponents(e,t.shared.providers.tooltips.getComponents({tooltipText:o}))}}})})]},"tox-tbtn",t.shared,r)};var jN;!function(e){e[e.SemiColon=0]="SemiColon",e[e.Space=1]="Space"}(jN||(jN={}));const $N=(e,t,o)=>{const n=(s=((e,t)=>t===jN.SemiColon?e.replace(/;$/,"").split(";"):e.split(" "))(e.options.get(t),o),V(s,e=>{let t=e,o=e;const n=e.split("=");return n.length>1&&(t=n[0],o=n[1]),{title:t,format:o}}));var s;return{type:"basic",data:n}},GN=y("Alignment {0}"),qN="left",YN=[{title:"Left",icon:"align-left",format:"alignleft",command:"JustifyLeft"},{title:"Center",icon:"align-center",format:"aligncenter",command:"JustifyCenter"},{title:"Right",icon:"align-right",format:"alignright",command:"JustifyRight"},{title:"Justify",icon:"align-justify",format:"alignjustify",command:"JustifyFull"}],XN=e=>{const t={type:"basic",data:YN};return{tooltip:HN(e,GN(),qN),text:A.none(),icon:A.some("align-left"),isSelectedFor:t=>()=>e.formatter.match(t),getCurrentValue:A.none,getPreviewFor:e=>A.none,onAction:t=>()=>j(YN,e=>e.format===t.format).each(t=>e.execCommand(t.command)),updateText:t=>{const o=j(YN,t=>e.formatter.match(t.format)).fold(y(qN),e=>e.title.toLowerCase());$c(t,mI,{icon:`align-${o}`}),((e,t)=>{e.dispatch("AlignTextUpdate",t)})(e,{value:o})},dataset:t,shouldHide:!1,isInvalid:t=>!e.formatter.canApply(t.format)}},KN=(e,t)=>{const o=t(),n=V(o,e=>e.format);return A.from(e.formatter.closest(n)).bind(e=>j(o,t=>t.format===e))},JN=y("Block {0}"),QN="Paragraph",ZN=e=>{const t=$N(e,"block_formats",jN.SemiColon);return{tooltip:HN(e,JN(),QN),text:A.some(QN),icon:A.none(),isSelectedFor:t=>()=>e.formatter.match(t),getCurrentValue:A.none,getPreviewFor:t=>()=>{const o=e.formatter.get(t);return o?A.some({tag:o.length>0&&(o[0].inline||o[0].block)||"div",styles:e.dom.parseStyle(e.formatter.getCssText(t))}):A.none()},onAction:QD(e),updateText:o=>{const n=KN(e,()=>t.data).fold(y(QN),e=>e.title);$c(o,uI,{text:n}),((e,t)=>{e.dispatch("BlocksTextUpdate",t)})(e,{value:n})},dataset:t,shouldHide:!1,isInvalid:t=>!e.formatter.canApply(t.format)}},ez=y("Font {0}"),tz="System Font",oz=["-apple-system","Segoe UI","Roboto","Helvetica Neue","sans-serif"],nz=e=>{const t=e.split(/\s*,\s*/);return V(t,e=>e.replace(/^['"]+|['"]+$/g,""))},sz=(e,t)=>t.length>0&&Y(t,t=>e.indexOf(t.toLowerCase())>-1),rz=e=>{const t=()=>{const t=e=>e?nz(e)[0]:"",n=e.queryCommandValue("FontName"),s=o.data,r=n?n.toLowerCase():"",a=$C(e),i=j(s,e=>{const o=e.format;return o.toLowerCase()===r||t(o).toLowerCase()===t(r).toLowerCase()}).orThunk(()=>je(((e,t)=>{if(0===e.indexOf("-apple-system")||t.length>0){const o=nz(e.toLowerCase());return sz(o,oz)||sz(o,t)}return!1})(r,a),{title:tz,format:r}));return{matchOpt:i,font:n}},o=$N(e,"font_family_formats",jN.SemiColon);return{tooltip:HN(e,ez(),tz),text:A.some(tz),icon:A.none(),isSelectedFor:e=>t=>t.exists(t=>t.format===e),getCurrentValue:()=>{const{matchOpt:e}=t();return e},getPreviewFor:e=>()=>A.some({tag:"div",styles:-1===e.indexOf("dings")?{"font-family":e}:{}}),onAction:t=>()=>{e.undoManager.transact(()=>{e.focus(),e.execCommand("FontName",!1,t.format)})},updateText:o=>{const{matchOpt:n,font:s}=t(),r=n.fold(y(s),e=>e.title);$c(o,uI,{text:r}),((e,t)=>{e.dispatch("FontFamilyTextUpdate",t)})(e,{value:r})},dataset:o,shouldHide:!1,isInvalid:T}};var az=tinymce.util.Tools.resolve("tinymce.util.VK");const iz=y("Font size {0}"),lz="12pt",cz={"8pt":"1","10pt":"2","12pt":"3","14pt":"4","18pt":"5","24pt":"6","36pt":"7"},dz={"xx-small":"7pt","x-small":"8pt",small:"10pt",medium:"12pt",large:"14pt","x-large":"18pt","xx-large":"24pt"},uz=(e,t)=>/[0-9.]+px$/.test(e)?((e,t)=>{const o=Math.pow(10,t);return Math.round(e*o)/o})(72*parseInt(e,10)/96,t||0)+"pt":fe(dz,e).getOr(e),mz=e=>fe(cz,e).getOr(""),gz=e=>{const t=()=>{let t=A.none();const o=n.data,s=e.queryCommandValue("FontSize");if(s)for(let e=3;t.isNone()&&e>=0;e--){const n=uz(s,e),r=mz(n);t=j(o,e=>e.format===s||e.format===n||e.format===r)}return{matchOpt:t,size:s}},o=y(A.none),n=$N(e,"font_size_formats",jN.Space);return{tooltip:HN(e,iz(),lz),text:A.some(lz),icon:A.none(),isSelectedFor:e=>t=>t.exists(t=>t.format===e),getPreviewFor:o,getCurrentValue:()=>{const{matchOpt:e}=t();return e},onAction:t=>()=>{e.undoManager.transact(()=>{e.focus(),e.execCommand("FontSize",!1,t.format)})},updateText:o=>{const{matchOpt:n,size:s}=t(),r=n.fold(y(s),e=>e.title);$c(o,uI,{text:r}),((e,t)=>{e.dispatch("FontSizeTextUpdate",t)})(e,{value:r})},dataset:n,shouldHide:!1,isInvalid:T}},pz=e=>ot(e)?"Formats":"Format {0}",hz=(e,t)=>{const o="Formats";return{tooltip:HN(e,pz(""),""),text:A.some(o),icon:A.none(),isSelectedFor:t=>()=>e.formatter.match(t),getCurrentValue:A.none,getPreviewFor:t=>()=>{const o=e.formatter.get(t);return void 0!==o?A.some({tag:o.length>0&&(o[0].inline||o[0].block)||"div",styles:e.dom.parseStyle(e.formatter.getCssText(t))}):A.none()},onAction:QD(e),updateText:t=>{const n=e=>kF(e)?q(e.items,n):OF(e)?[{title:e.title,format:e.format}]:[],s=q(EF(e),n),r=KN(e,y(s)).fold(y({title:o,tooltipLabel:""}),e=>({title:e.title,tooltipLabel:e.title}));$c(t,uI,{text:r.title}),((e,t)=>{e.dispatch("StylesTextUpdate",t)})(e,{value:r.tooltipLabel})},shouldHide:gC(e),isInvalid:t=>!e.formatter.canApply(t.format),dataset:t}},fz=[{name:"history",items:["undo","redo"]},{name:"ai",items:["tinymceai-chat","tinymceai-review","tinymceai-quickactions","aidialog","aishortcuts"]},{name:"styles",items:["styles"]},{name:"formatting",items:["bold","italic"]},{name:"alignment",items:["alignleft","aligncenter","alignright","alignjustify"]},{name:"indentation",items:["outdent","indent"]},{name:"permanent pen",items:["permanentpen"]},{name:"comments",items:["addcomment"]}],bz=(e,t)=>(o,n,s,r)=>{const a=e(o).mapError(e=>Rr(e)).getOrDie();return t(a,n,s,r)},vz={button:bz(XE,(e,t,o,n)=>((e,t,o)=>BN(e,t,[],o))(e,t.shared.providers,n)),togglebutton:bz(QE,(e,t,o,n)=>((e,t,o)=>IN(e,t,[],o))(e,t.shared.providers,n)),menubutton:bz(fE,(e,t,o,n)=>DI(e,"tox-tbtn",t,A.none(),!1,n)),splitbutton:bz(e=>Br("SplitButton",BA,e),(e,t,o,n)=>((e,t,o)=>{const n=ye(b),s=ye(e.tooltip.getOr("")),r=((e,t,o)=>n=>{const s=n.getSystem(),r=n.element,a=()=>{const e=as(r,"tox-split-button__chevron");return{mainOpt:e?bo(r).bind(e=>s.getByDom(e).toOptional()):A.some(n),chevronOpt:e?A.some(n):vo(r).bind(e=>s.getByDom(e).toOptional().filter(e=>as(e.element,"tox-split-button__chevron")))}},i=e=>{const{mainOpt:t,chevronOpt:o}=a();t.each(e),o.each(e)};return{isEnabled:()=>{const{mainOpt:e}=a();return e.exists(e=>!gp.isDisabled(e))},setEnabled:e=>i(t=>gp.set(t,!e)),setText:e=>{const{mainOpt:t}=a();t.each(t=>$c(t,uI,{text:e}))},setIcon:e=>{const{mainOpt:t}=a();t.each(t=>$c(t,mI,{icon:e}))},setIconFill:(e,t)=>i(o=>{Xn(o.element,`svg path[class="${e}"], rect[class="${e}"]`).each(e=>{Yo(e,"fill",t)})}),isActive:()=>{const{mainOpt:e}=a();return e.exists(e=>hv.isOn(e))},setActive:e=>{const{mainOpt:t}=a();t.each(t=>hv.set(t,e))},setTooltip:n=>{e.set(n);const{mainOpt:s,chevronOpt:r}=a();s.each(e=>Yo(e.element,"aria-label",t.providers.translate(n)));const i=o.chevronTooltip.map(e=>t.providers.translate(e)).getOr(t.providers.translate(n));r.each(e=>Yo(e.element,"aria-label",i))}}})(s,t,e),a=Ne("tox-split-menu"),i=ye(!1),l=()=>e.tooltip.map(e=>t.providers.translate(e)).getOr(t.providers.translate("Text color")),c=()=>e.chevronTooltip.map(e=>t.providers.translate(e)).getOrThunk(()=>{const e=l();return t.providers.translate(["{0} menu",e])}),d=(e,t)=>{i.set(e),Yo(t.element,"aria-expanded",String(e))},u=Hx.sketch({dom:{tag:"button",classes:["tox-tbtn","tox-split-button__chevron"],innerHtml:RO("chevron-down",t.providers.icons),attributes:{"aria-label":c(),...g(o)?{"data-mce-name":o+"-chevron"}:{},"aria-haspopup":"menu","aria-expanded":String(i.get()),"aria-controls":a}},components:[],toggleClass:"tox-tbtn--enabled",dropdownBehaviours:hd([wd("split-dropdown-events",[id((e,t)=>aI(e)),jA({getApi:r,onSetup:e.onSetup},n),Zc("alloy-dropdown-open",e=>d(!0,e)),Zc("alloy-dropdown-close",e=>d(!1,e))]),UA(()=>t.providers.checkUiComponentContext(e.context).shouldDisable),ZA(()=>t.providers.checkUiComponentContext(e.context)),Ev.config({}),Tv.config(t.providers.tooltips.getConfig({tooltipText:c(),onShow:o=>{if(s.get()!==e.tooltip.getOr("")){const n=e.chevronTooltip.map(e=>t.providers.translate(e)).getOr(`${t.providers.translate(s.get())} menu`);Tv.setComponents(o,t.providers.tooltips.getComponents({tooltipText:n}))}}}))]),lazySink:t.getSink,fetch:FN(r,e,t.providers),getHotspot:e=>bo(e.element).bind(t=>e.getSystem().getByDom(t).toOptional()),onOpen:(e,t,o)=>{ru.highlightBy(o,e=>as(e.element,"tox-collection__item--active")),ru.getHighlighted(o).each(Im.focusIn)},parts:{menu:{...i_(0,e.columns,e.presets),dom:{...i_(0,e.columns,e.presets).dom,tag:"div",attributes:{id:a}}}}}),m=DN(e.icon,e.text,A.none(),A.some([hv.config({toggleClass:"tox-tbtn--enabled",aria:"color"===e.presets?{mode:"none"}:{mode:"pressed"},toggleOnExecute:!1}),...e.tooltip.isSome()?[Tv.config(t.providers.tooltips.getConfig({tooltipText:t.providers.translate(e.tooltip.getOr("")),onShow:o=>{if(s.get()!==e.tooltip.getOr("")){const e=t.providers.translate(s.get());Tv.setComponents(o,t.providers.tooltips.getComponents({tooltipText:e}))}}}))]:[]]),t.providers,e.context,o),p=Wv.sketch({dom:{...m.dom,classes:["tox-tbtn","tox-split-button__main"].concat(e.text.isSome()?["tox-tbtn--select"]:[]),attributes:{"aria-label":l(),...g(o)?{"data-mce-name":o}:{}}},components:m.components,eventOrder:m.eventOrder,buttonBehaviours:m.buttonBehaviours,action:t=>{if(e.onAction){const o=r(t);o.isEnabled()&&e.onAction(o)}}});return[p,u]})(e,t.shared,n)),grouptoolbarbutton:bz(e=>Br("GroupToolbarButton",MA,e),(e,t,o,n)=>{const s=o.ui.registry.getAll().buttons,r={[zc]:t.shared.header.isPositionedAtTop()?Nc.TopToBottom:Nc.BottomToTop};if(fC(o)===QS.floating)return((e,t,o,n,s)=>{const r=t.shared,a=ye(b),i={toolbarButtonBehaviours:[],getApi:_N,onSetup:e.onSetup},l=[wd("toolbar-group-button-events",[jA(i,a),$A(i,a)]),...e.tooltip.map(e=>Tv.config(t.shared.providers.tooltips.getConfig({tooltipText:t.shared.providers.translate(e)}))).toArray()];return ty.sketch({lazySink:r.getSink,fetch:()=>Oe(t=>{t(V(o(e.items),LR))}),markers:{toggledClass:"tox-tbtn--enabled"},parts:{button:DN(e.icon,e.text,e.tooltip,A.some(l),r.providers,e.context,s),toolbar:{dom:{tag:"div",classes:["tox-toolbar__overflow"],attributes:n}}}})})(e,t,e=>yz(o,{buttons:s,toolbar:e,allowToolbarGroups:!1},t,A.none()),r,n);throw new Error("Toolbar groups are only supported when using floating toolbar mode")})},xz={styles:(e,t)=>{const o={type:"advanced",...t.styles};return WN(e,t,hz(e,o),pz,"StylesTextUpdate","styles")},fontsize:(e,t)=>WN(e,t,gz(e),iz,"FontSizeTextUpdate","fontsize"),fontsizeinput:(e,t)=>((e,t,o,n)=>{let s=A.none();const r=JD(e,"NodeChange SwitchMode DisabledStateChange",t=>{const n=t.getComponent();s=A.some(n),o.updateInputValue(n),gp.set(n,!e.selection.isEditable()||sC(e))}),a=e=>({getComponent:y(e)}),i=ye(b),l=Ne("custom-number-input-events"),c=(e,t,n)=>{const r=s.map(e=>mf.getValue(e)).getOr(""),a=o.getNewValue(r,e),i=r.length-`${a}`.length,l=s.map(e=>e.element.dom.selectionStart-i),c=s.map(e=>e.element.dom.selectionEnd-i);o.onAction(a,n),s.each(e=>{mf.setValue(e,a),t&&(l.each(t=>e.element.dom.selectionStart=t),c.each(t=>e.element.dom.selectionEnd=t))})},d=(e,t)=>c((e,t)=>e-t,e,t),u=(e,t)=>c((e,t)=>e+t,e,t),m=e=>ho(e.element).fold(A.none,e=>(zo(e),A.some(!0))),p=e=>Lo(e.element)?(wo(e.element).each(e=>zo(e)),A.some(!0)):A.none(),h=(o,n,s,r)=>{const i=ye(b),l=t.shared.providers.translate(s),c=Ne("altExecuting"),d=JD(e,"NodeChange SwitchMode DisabledStateChange",t=>{gp.set(t.getComponent(),!e.selection.isEditable()||sC(e))}),u=e=>{gp.isDisabled(e)||o(!0)};return Wv.sketch({dom:{tag:"button",attributes:{"aria-label":l,"data-mce-name":n},classes:r.concat(n)},components:[lI(n,t.shared.providers.icons)],buttonBehaviours:hd([gp.config({}),Tv.config(t.shared.providers.tooltips.getConfig({tooltipText:l})),wd(c,[jA({onSetup:d,getApi:a},i),$A({getApi:a},i),Zc(Ta(),(e,t)=>{t.event.raw.keyCode!==az.SPACEBAR&&t.event.raw.keyCode!==az.ENTER||gp.isDisabled(e)||o(!1)}),Zc(Ma(),u),Zc(va(),u)])]),eventOrder:{[Ta()]:[c,"keying"],[Ma()]:[c,"alloy.base.behaviour"],[va()]:[c,"alloy.base.behaviour"],[ni()]:["alloy.base.behaviour",c,"tooltipping"],[si()]:[c,"tooltipping"]}})},f=Dv(h(e=>d(!1,e),"minus","Decrease font size",[])),v=Dv(h(e=>u(!1,e),"plus","Increase font size",[])),x=Dv({dom:{tag:"div",classes:["tox-input-wrapper"]},components:[hy.sketch({inputBehaviours:hd([gp.config({}),wd(l,[jA({onSetup:r,getApi:a},i),$A({getApi:a},i)]),wd("input-update-display-text",[Zc(uI,(e,t)=>{mf.setValue(e,t.event.text)}),Zc(_a(),e=>{o.onAction(mf.getValue(e))}),Zc(Da(),e=>{o.onAction(mf.getValue(e))})]),Im.config({mode:"special",onEnter:e=>(c(w,!0,!0),A.some(!0)),onEscape:m,onUp:e=>(u(!0,!1),A.some(!0)),onDown:e=>(d(!0,!1),A.some(!0)),onLeft:(e,t)=>(t.cut(),A.none()),onRight:(e,t)=>(t.cut(),A.none())})])})],behaviours:hd([_d.config({}),Im.config({mode:"special",onEnter:p,onSpace:p,onEscape:m}),wd("input-wrapper-events",[Zc(ka(),e=>{L([f,v],t=>{const o=ct(t.get(e).element.dom);Lo(o)&&Vo(o)})})])])});return{dom:{tag:"div",classes:["tox-number-input"],attributes:{...g(n)?{"data-mce-name":n}:{}}},components:[f.asSpec(),x.asSpec(),v.asSpec()],behaviours:hd([_d.config({}),Im.config({mode:"flow",focusInside:Vi.OnEnterOrSpaceMode,cycles:!1,selector:"button, .tox-input-wrapper",onEscape:e=>Lo(e.element)?A.none():(zo(e.element),A.some(!0))})])}})(e,t,(e=>{const t=()=>e.queryCommandValue("FontSize");return{updateInputValue:e=>$c(e,uI,{text:t()}),onAction:(t,o)=>e.execCommand("FontSize",!1,t,{skip_focus:!o}),getNewValue:(o,n)=>{Is(o,["unsupportedLength","empty"]);const s=t(),r=Is(o,["unsupportedLength","empty"]).or(Is(s,["unsupportedLength","empty"])),a=r.map(e=>e.value).getOr(16),i=TC(e),l=r.map(e=>e.unit).filter(e=>""!==e).getOr(i),c=n(a,(e=>({em:{step:.1},cm:{step:.1},in:{step:.1},pc:{step:.1},ch:{step:.1},rem:{step:.1}}[e]??{step:1}))(l).step),d=`${(e=>e>=0)(c)?c:a}${l}`;return d!==s&&((e,t)=>{e.dispatch("FontSizeInputTextUpdate",t)})(e,{value:d}),d}}})(e),"fontsizeinput"),fontfamily:(e,t)=>WN(e,t,rz(e),ez,"FontFamilyTextUpdate","fontfamily"),blocks:(e,t)=>WN(e,t,ZN(e),JN,"BlocksTextUpdate","blocks"),align:(e,t)=>WN(e,t,XN(e),GN,"AlignTextUpdate","align"),navigateback:(e,t)=>{const o=Ir(XE({type:"button",icon:"chevron-left",tooltip:"Back",onAction:b}));return BN(o,t.shared.providers,[Zc(nI,e=>{jc(e,zN)})])}},yz=(e,t,o,n)=>{const s=(e=>{const t=e.toolbar,o=e.buttons;return!1===t?[]:void 0===t||!0===t?(e=>{const t=V(fz,t=>{const o=P(t.items,t=>be(e,t)||be(xz,t));return{name:t.name,items:o}});return P(t,e=>e.items.length>0)})(o):r(t)?(e=>{const t=e.split("|");return V(t,e=>({items:e.trim().split(" ")}))})(t):(e=>f(e,e=>(be(e,"name")||be(e,"label"))&&be(e,"items")))(t)?t:(console.error("Toolbar type should be string, string[], boolean or ToolbarGroup[]"),[])})(t),a=V(s,s=>{const r=q(s.items,s=>0===s.trim().length?[]:((e,t,o,n,s,r)=>fe(t,o.toLowerCase()).orThunk(()=>r.bind(e=>se(e,e=>fe(t,e+o.toLowerCase())))).fold(()=>fe(xz,o.toLowerCase()).map(t=>t(e,s)),t=>"grouptoolbarbutton"!==t.type||n?((e,t,o,n)=>fe(vz,e.type).fold(()=>(console.error("skipping button defined by",e),A.none()),s=>A.some(s(e,t,o,n))))(t,s,e,o.toLowerCase()):(console.warn(`Ignoring the '${o}' toolbar button. Group toolbar buttons are only supported when using floating toolbar mode and cannot be nested.`),A.none())))(e,t.buttons,s,t.allowToolbarGroups,o,n).map(e=>Array.isArray(e)?e:[e]).getOr([]));return{title:A.from(e.translate(s.name)),label:je(void 0!==s.label,e.translate(s.label)),items:r}});return P(a,e=>e.items.length>0)},wz=(e,t,o,n)=>{const s=t.mainUi.outerContainer,a=o.toolbar,i=o.buttons;if(f(a,r)){const t=a.map(t=>{const s={toolbar:t,buttons:i,allowToolbarGroups:o.allowToolbarGroups};return yz(e,s,n,A.none())});gN.setToolbars(s,t)}else gN.setToolbar(s,yz(e,o,n,A.none()))},Sz=Qt(),Cz=Sz.os.isiOS()&&Sz.os.version.major<=12;var kz=Object.freeze({__proto__:null,render:(e,t,o,n,s)=>{const{mainUi:r,uiMotherships:a}=t,i=ye(0),l=r.outerContainer;kN(e);const d=ct(s.targetNode),u=_o(Oo(d));Km(d,r.mothership),((e,t,o)=>{ak(e)&&Km(o.mainUi.mothership.element,o.popupUi.mothership),Xm(t,o.dialogUi.mothership)})(e,u,t),e.on("PostRender",()=>{gN.setSidebar(l,o.sidebar,VC(e),{minWidth:HC(e),maxWidth:PC(e)},e),gN.setViews(l,o.views,UC(e))},!0),e.on("SkinLoaded",()=>{wz(e,t,o,n),i.set(e.getWin().innerWidth),gN.setMenubar(l,fN(e,o)),((e,t)=>{const{uiMotherships:o}=t,n=e.dom;let s=e.getWin();const r=e.getDoc().documentElement,a=ye(Bn(s.innerWidth,s.innerHeight)),i=ye(Bn(r.offsetWidth,r.offsetHeight)),l=()=>{const t=a.get();t.left===s.innerWidth&&t.top===s.innerHeight||(a.set(Bn(s.innerWidth,s.innerHeight)),WD(e))},c=()=>{const t=e.getDoc().documentElement,o=i.get();o.left===t.offsetWidth&&o.top===t.offsetHeight||(i.set(Bn(t.offsetWidth,t.offsetHeight)),WD(e))},d=t=>{((e,t)=>{e.dispatch("ScrollContent",t)})(e,t)};n.bind(s,"resize",l),n.bind(s,"scroll",d);const u=Fo(ct(e.getBody()),"load",c);e.on("hide",()=>{L(o,e=>{gn(e.element,"display","none")})}),e.on("show",()=>{L(o,e=>{wn(e.element,"display")})}),e.on("NodeChange",c),e.on("remove",()=>{u.unbind(),n.unbind(s,"resize",l),n.unbind(s,"scroll",d),s=null})})(e,t)});const m=gN.getSocket(l).getOrDie("Could not find expected socket element");if(Cz){pn(m.element,{overflow:"scroll","-webkit-overflow-scrolling":"touch"});const t=(e=>{let t=null;return{cancel:()=>{c(t)||(clearTimeout(t),t=null)},throttle:(...o)=>{c(t)&&(t=setTimeout(()=>{t=null,e.apply(null,o)},20))}}})(()=>{e.dispatch("ScrollContent")}),o=Io(m.element,"scroll",t.throttle);e.on("remove",o.unbind)}QA(e,t),e.addCommand("ToggleSidebar",(t,o)=>{gN.toggleSidebar(l,o),GD(e)}),e.addQueryValueHandler("ToggleSidebar",()=>gN.whichSidebar(l)??""),e.addCommand("ToggleView",(t,o)=>{const n=gN.whichSidebar(l);if(gN.toggleView(l,o)){const t=l.element;r.mothership.broadcastOn([zd()],{target:t}),L(a,e=>{e.broadcastOn([zd()],{target:t})}),c(gN.whichView(l))&&(e.focus({scrollToSelection:!1}),e.nodeChanged(),gN.refreshToolbar(l)),n!==gN.whichSidebar(l)&&GD(e),(e=>{e.dispatch("ToggleView")})(e)}}),e.addQueryValueHandler("ToggleView",()=>gN.whichView(l)??"");const g=fC(e);g!==QS.sliding&&g!==QS.floating||e.on("ResizeWindow ResizeEditor ResizeContent",()=>{const o=e.getWin().innerWidth;o!==i.get()&&(gN.refreshToolbar(t.mainUi.outerContainer),i.set(o))});const p={setEnabled:e=>{JA(t,e?"setEnabled":"setDisabled")},isEnabled:()=>!gp.isDisabled(l)};return{iframeContainer:m.element.dom,editorContainer:l.element.dom,api:p}}});const Oz=e=>{const t=aC(e),o=iC(e),n=cC(e);return yR(t).map(e=>SR(e,o,n))},{ToolbarLocation:_z,ToolbarMode:Tz}=lk,Ez=(e,t,o,n,s)=>{const{mainUi:r,uiMotherships:a}=o,i=XS.DOM,l=ok(e),c=rk(e),d=cC(e).or(Oz(e)),u=n.shared.header,m=u.isPositionedAtTop,g=fC(e),p=g===Tz.sliding||g===Tz.floating,h=ye(!1),f=()=>h.get()&&!e.removed,b=e=>p?e.fold(y(0),e=>e.components().length>1?On(e.components()[1].element):0):0,v=()=>{L(a,e=>{e.broadcastOn([Vd()],{})})},x=o=>{if(!f())return;l||s.on(e=>{const o=d.getOrThunk(()=>Rs().width-Rn(t).left-10);gn(e.element,"max-width",o+"px")});const n=Nn(),a=!(l||l||!(Fn(r.outerContainer.element).left+Dn(r.outerContainer.element)>=window.innerWidth-40||vn(r.outerContainer.element,"width").isSome())||(gn(r.outerContainer.element,"position","absolute"),gn(r.outerContainer.element,"left","0px"),wn(r.outerContainer.element,"width"),0));if(p&&gN.refreshToolbar(r.outerContainer),!l){const o=Nn(),i=je(n.left!==o.left,n);((o,n)=>{s.on(s=>{const a=gN.getToolbar(r.outerContainer),i=b(a),l=Hs(t),c=((e,t)=>ak(e)?$s(t):A.none())(e,r.outerContainer.element),d=c.fold(()=>l.x,e=>{const t=Hs(e);return wt(e,cn())?l.x:l.x-t.x}),u=je(o,Math.ceil(r.outerContainer.element.dom.getBoundingClientRect().width)).filter(e=>e>150).map(e=>{const t=n.getOr(Nn()),o=window.innerWidth-(d-t.left),s=Math.max(Math.min(e,o),150);return om()?Math.max(l.y-On(s.element)+i,0):l.bottom,e=>{const t=Hs(e),o=e.dom.scrollTop??0,n=wt(e,cn())?Math.max(l.y-On(s.element)+i,0):l.y-t.y+o-On(s.element)+i;return m()?n:l.bottom})+"px"};pn(r.outerContainer.element,{...g,...u})})})(a,i),i.each(e=>{zn(e.left,o.top)})}c&&s.on(o),v()},w=()=>!(l||!c||!f())&&s.get().exists(o=>{const n=u.getDockingMode(),a=(o=>{switch(vC(e)){case _z.auto:const e=gN.getToolbar(r.outerContainer),n=b(e),s=On(o.element)-n,a=Hs(t);if(a.y>s)return"top";{const e=mo(t),o=Math.max(e.dom.scrollHeight,On(e));return a.bottom{Hp.setModes(e,[i]),u.setDockingMode(i);const t=m()?Nc.TopToBottom:Nc.BottomToTop;Yo(e.element,zc,t)}),!0);var i});return{isVisible:f,isPositionedAtTop:m,show:()=>{h.set(!0),gn(r.outerContainer.element,"display","flex"),i.addClass(e.getBody(),"mce-edit-focus"),L(a,e=>{wn(e.element,"display")}),w(),ak(e)?x(e=>Hp.isDocked(e)?Hp.reset(e):Hp.refresh(e)):x(Hp.refresh)},hide:()=>{h.set(!1),gn(r.outerContainer.element,"display","none"),i.removeClass(e.getBody(),"mce-edit-focus"),L(a,e=>{gn(e.element,"display","none")})},update:x,updateMode:()=>{w()&&x(Hp.reset)},repositionPopups:v}},Az=(e,t)=>{const o=Hs(e);return{pos:t?o.y:o.bottom,bounds:o}};var Dz=Object.freeze({__proto__:null,render:(e,t,o,n,s)=>{const{mainUi:r}=t,a=Ye(),i=ct(s.targetNode),l=Ez(e,i,t,n,a),c=wC(e);ON(e);const d=()=>{if(a.isSet())return void l.show();a.set(gN.getHeader(r.outerContainer).getOrDie());const s=nk(e);ak(e)?(Km(i,r.mothership),Km(i,t.popupUi.mothership)):Xm(s,r.mothership),Xm(s,t.dialogUi.mothership);const d=()=>{wz(e,t,o,n),gN.setMenubar(r.outerContainer,fN(e,o)),l.show(),((e,t,o,n)=>{const s=ye(Az(t,o.isPositionedAtTop())),r=n=>{const{pos:r,bounds:a}=Az(t,o.isPositionedAtTop()),{pos:i,bounds:l}=s.get(),c=a.height!==l.height||a.width!==l.width;s.set({pos:r,bounds:a}),c&&WD(e,n),o.isVisible()&&(i!==r?o.update(Hp.reset):c&&(o.updateMode(),o.repositionPopups()))};n||(e.on("activate",o.show),e.on("deactivate",o.hide)),e.on("SkinLoaded ResizeWindow",()=>o.update(Hp.reset)),e.on("NodeChange keydown",e=>{requestAnimationFrame(()=>r(e))});let a=0;const i=nt(()=>o.update(Hp.refresh),33);e.on("ScrollWindow",()=>{const e=Nn().left;e!==a&&(a=e,i.throttle()),o.updateMode()}),ak(e)&&e.on("ElementScroll",e=>{o.update(Hp.refresh)});const l=qe();l.set(Fo(ct(e.getBody()),"load",e=>r(e.raw))),e.on("remove",()=>{l.clear()})})(e,i,l,c),e.nodeChanged()};c?e.once("SkinLoaded",d):d()};e.on("show",d),e.on("hide",l.hide),c||(e.on("focus",d),e.on("blur",l.hide)),e.on("init",()=>{(e.hasFocus()||c)&&d()}),QA(e,t);const u={show:d,hide:l.hide,setEnabled:e=>{JA(t,e?"setEnabled":"setDisabled")},isEnabled:()=>!gp.isDisabled(r.outerContainer)};return{editorContainer:r.outerContainer.element.dom,api:u}}});const Mz="contexttoolbar-hide",Bz=(e,t,o)=>({setInputEnabled:t=>{!t&&o&&zo(o),gp.set(e,!t)},isInputEnabled:()=>!gp.isDisabled(e),hide:()=>{jc(e,Ka())},back:()=>{jc(e,zN)},getValue:()=>t.get().getOrThunk(()=>mf.getValue(e)),setValue:o=>{e.getSystem().isConnected()?mf.setValue(e,o):t.set(o)}}),Iz=(e,t,o)=>{const n=po(e.element).bind(t=>e.getSystem().getByDom(t).toOptional());return Bz(n.getOr(e),t,o)},Fz=(e,t,o)=>Zc(nI,(n,s)=>{const r=e.get(n),a=Bz(r,o,n.element);t.onAction(a,s.event.buttonApi)}),Rz=(e,t,o,n)=>{const s=V(t,t=>Dv(((e,t,o,n)=>(e=>"contextformtogglebutton"===e.type)(t)?((e,t,o,n)=>{const{primary:s,...r}=t.original,a=Ir(QE({...r,type:"togglebutton",onAction:b}));return IN(a,o,[Fz(e,t,n)])})(e,t,o,n):((e,t,o,n)=>{const{primary:s,...r}=t.original,a=Ir(XE({...r,type:"button",onAction:b}));return BN(a,o,[Fz(e,t,n)])})(e,t,o,n))(e,t,o,n)));return{asSpecs:()=>V(s,e=>e.asSpec()),findPrimary:e=>se(t,(t,o)=>t.primary?A.from(s[o]).bind(t=>t.getOpt(e)).filter(k(gp.isDisabled)):A.none())}},Nz=(e,t,o,n)=>{const{width:s,height:r}=e.initValue();let a=_I;const i=Ne("ratio-event"),l=e=>Bz(e,n),c=e=>VO(e,{tag:"span",classes:["tox-icon","tox-lock-icon__"+e]},t.icons),d=()=>!1,u=e.label.getOr("Constrain proportions"),m=t.translate(u),g=ly.parts.lock({dom:{tag:"button",classes:["tox-lock","tox-lock-context-form-size-input","tox-button","tox-button--naked","tox-button--icon"],attributes:{"aria-label":m,"data-mce-name":u}},components:[c("lock"),c("unlock")],buttonBehaviours:hd([gp.config({disabled:d}),iv.config({}),Tv.config(t.tooltips.getConfig({tooltipText:m}))])}),p=e=>({dom:{tag:"div",classes:["tox-context-form__group"]},components:e}),h=e=>Gn(e.element,"div.tox-focusable-wrapper").fold(A.none,e=>(zo(e),A.some(!0))),f=e=>sy.parts.field({factory:hy,inputClasses:["tox-textfield","tox-toolbar-textfield","tox-textfield-size"],data:e?s:r,inputBehaviours:hd([gp.config({disabled:d}),iv.config({}),wd("size-input-toolbar-events",[Zc(Oa(),(t,o)=>{$c(t,i,{isField1:e})})]),Im.config({mode:"special",onEnter:o,onEscape:h})]),selectOnFocus:!1}),v=e=>({dom:{tag:"label",classes:["tox-label"]},components:[zg(t.translate(e))]}),x=e=>({dom:{tag:"div",classes:["tox-focusable-wrapper","tox-toolbar-nav-item"]},components:[e],behaviours:hd([iv.config({}),_d.config({}),Im.config({mode:"special",onEnter:e=>Xn(e.element,"input").fold(A.none,e=>(zo(e),A.some(!0)))})])}),y=x(ly.parts.field1(p([sy.parts.label(v("Width:")),f(!0)]))),w=x(ly.parts.field2(p([sy.parts.label(v("Height:")),f(!1)]))),S=ye(b),C=[jA({onBeforeSetup:e=>Xn(e.element,"input").each(zo),onSetup:e.onSetup,getApi:l},S),GA({getApi:l},S,n)];return ly.sketch({dom:{tag:"div",classes:["tox-context-form__group"]},components:[y,p([g]),w],field1Name:"width",field2Name:"height",locked:!0,markers:{lockClass:"tox-locked"},onLockedChange:(e,t,o)=>{kI(mf.getValue(e)).each(e=>{a(e).each(e=>{mf.setValue(t,CI(e))})})},onInput:e=>jc(e,ZM),coupledFieldBehaviours:hd([_d.config({}),Im.config({mode:"flow",focusInside:Vi.OnEnterOrSpaceMode,cycles:!1,selector:"button, .tox-focusable-wrapper"}),gp.config({disabled:d,onDisabled:e=>{ly.getField1(e).bind(sy.getField).each(gp.disable),ly.getField2(e).bind(sy.getField).each(gp.disable),ly.getLock(e).each(gp.disable)},onEnabled:e=>{ly.getField1(e).bind(sy.getField).each(gp.enable),ly.getField2(e).bind(sy.getField).each(gp.enable),ly.getLock(e).each(gp.enable)}}),ZA(()=>t.checkUiComponentContext("mode:design")),wd("size-input-toolbar-events2",[Zc(i,(e,t)=>{const o=t.event.isField1,n=o?ly.getField1(e):ly.getField2(e),s=o?ly.getField2(e):ly.getField1(e),r=n.map(mf.getValue).getOr(""),i=s.map(mf.getValue).getOr("");a=TI(r,i)}),Zc(ZM,t=>e.onInput(l(t))),...C])])})},zz=(e,t,o)=>sy.sketch({dom:{tag:"div",classes:["tox-context-form__group"]},components:[...e.toArray(),t],fieldBehaviours:hd([gp.config({disabled:()=>o.checkUiComponentContext("mode:design").shouldDisable,onDisabled:e=>{(e=>{Po(e.element).each(e=>{Gn(e,'[tabindex="-1"]').each(e=>{zo(e)})})})(e),sy.getField(e).each(gp.disable)},onEnabled:e=>{sy.getField(e).each(gp.enable)}})])}),Vz=(e,t,o,n)=>{const s=ye(b),r=e=>Iz(e,n),a=e.label.map(e=>sy.parts.label({dom:{tag:"label",classes:["tox-label"]},components:[zg(t.translate(e))]})),i=sy.parts.field({factory:hy,type:"range",inputClasses:["tox-toolbar-slider__input","tox-toolbar-nav-item"],inputAttributes:{min:String(e.min()),max:String(e.max())},data:e.initValue().toString(),fromInputValue:t=>(e=>{const t=parseFloat(e);return isNaN(t)?A.none():A.some(t)})(t).getOr(e.min()),toInputValue:e=>String(e),inputBehaviours:hd([gp.config({disabled:()=>t.checkUiComponentContext("mode:design").shouldDisable}),ZA(()=>t.checkUiComponentContext("mode:design")),Im.config({mode:"special",onEnter:o,onLeft:(e,t)=>(t.cut(),A.none()),onRight:(e,t)=>(t.cut(),A.none())}),wd("slider-events",[jA({onSetup:e.onSetup,getApi:r,onBeforeSetup:Im.focusIn},s),GA({getApi:r},s,n),Zc(Aa(),t=>{e.onInput(r(t))})])])});return zz(a,i,t)},Lz=(e,t,o,n)=>{const s=ye(b),r=e=>Iz(e,n),a=e.label.map(e=>sy.parts.label({dom:{tag:"label",classes:["tox-label"]},components:[zg(t.translate(e))]})),i={...e.placeholder.map(e=>({placeholder:t.translate(e)})).getOr({})},l=sy.parts.field({factory:hy,inputClasses:["tox-toolbar-textfield","tox-toolbar-nav-item"],inputAttributes:i,data:e.initValue(),selectOnFocus:!0,inputBehaviours:hd([gp.config({disabled:()=>t.checkUiComponentContext("mode:design").shouldDisable}),ZA(()=>t.checkUiComponentContext("mode:design")),Im.config({mode:"special",onEnter:o,onLeft:(e,t)=>(t.cut(),A.none()),onRight:(e,t)=>(t.cut(),A.none())}),wd("input-events",[jA({onSetup:e.onSetup,getApi:e=>Gn(e.element,".tox-toolbar").bind(e=>Xn(e,"button:enabled")).fold(()=>Iz(e,n),t=>Iz(e,n,t)),onBeforeSetup:Im.focusIn},s),GA({getApi:r},s,n),Zc(Aa(),t=>{e.onInput(r(t))})])])});return zz(a,l,t)},Hz=(e,t,o)=>{const n=Ye(),s=Dv(e(o,e=>a.findPrimary(e).orThunk(()=>i.findPrimary(e)).map(e=>(Gc(e),!0)),n)),r=H(t.commands,e=>"start"===e.align),a=Rz(s,r.pass,o,n),i=Rz(s,r.fail,o,n);return P([{title:A.none(),label:A.none(),items:a.asSpecs()},{title:A.none(),label:A.none(),items:[s.asSpec()]},{title:A.none(),label:A.none(),items:i.asSpecs()}],e=>e.items.length>0)},Pz=(e,t)=>{switch(e.type){case"contextform":return Hz(C(Lz,e),e,t);case"contextsliderform":return Hz(C(Vz,e),e,t);case"contextsizeinputform":return Hz(C(Nz,e),e,t)}},Uz=(e,t,o)=>t.bottom-e.y>=o&&e.bottom-t.y>=o,Wz=e=>{const t=(e=>{const t=e.getBoundingClientRect();if(t.height<=0&&t.width<=0){const o=Co(ct(e.startContainer),e.startOffset).element;return(ro(o)?po(o):A.some(o)).filter(so).map(e=>e.dom.getBoundingClientRect()).getOr(t)}return t})(e.selection.getRng());if(e.inline){const e=Nn();return Ls(e.left+t.left,e.top+t.top,t.width,t.height)}{const o=Ps(ct(e.getBody()));return Ls(o.x+t.left,o.y+t.top,t.width,t.height)}},jz=(e,t,o,n=0)=>{const s=Rs(window),r=Hs(ct(e.getContentAreaContainer())),a=YC(e)||JC(e)||ZC(e),{x:i,width:l}=((e,t)=>{const o=Math.max(e.x,t.x);return{x:o,width:Math.min(e.right,t.right)-o}})(r,s);if(e.inline&&!a)return Ls(i,s.y,l,s.height);{const a=t.header.isPositionedAtTop(),{y:c,bottom:d}=((e,t,o,n,s,r)=>{const a=ct(e.getContainer()),i=Xn(a,".tox-editor-header").getOr(a),l=Hs(i),c=l.y>=t.bottom,d=n&&!c;if(e.inline&&d)return{y:Math.max(l.bottom+r,o.y),bottom:o.bottom};if(e.inline&&!d)return{y:o.y,bottom:Math.min(l.y-r,o.bottom)};const u="line"===s?Hs(a):t;return d?{y:Math.max(l.bottom+r,o.y),bottom:Math.min(u.bottom-r,o.bottom)}:{y:Math.max(u.y+r,o.y),bottom:Math.min(l.y-r,o.bottom)}})(e,r,s,a,o,n);return Ls(i,c,l,d-c)}},$z={valignCentre:[],alignCentre:[],alignLeft:["tox-pop--align-left"],alignRight:["tox-pop--align-right"],right:["tox-pop--right"],left:["tox-pop--left"],bottom:["tox-pop--bottom"],top:["tox-pop--top"],inset:["tox-pop--inset"]},Gz={maxHeightFunction:Fc(),maxWidthFunction:Rc()},qz=e=>"node"===e,Yz=(e,t,o,n,s)=>{const r=Wz(e),a=n.lastElement().exists(e=>wt(o,e));return((e,t)=>{const o=e.selection.getRng(),n=Co(ct(o.startContainer),o.startOffset);return o.startContainer===o.endContainer&&o.startOffset===o.endOffset-1&&wt(n.element,t)})(e,o)?a?Ac:kc:a?((e,o)=>{const s=vn(e,"position");gn(e,"position",o);const a=Uz(r,Hs(t),-20)&&!n.isReposition()?Mc:Ac;return s.each(t=>gn(e,"position",t)),a})(t,n.getMode()):("fixed"===n.getMode()?s.y+Nn().top:s.y)+(On(t)+12)<=r.y?kc:Oc},Xz=(e,t,o,n)=>{const s=t=>(n,s,r,a,i)=>({...Yz(e,a,t,o,i)({...n,y:i.y,height:i.height},s,r,a,i),alwaysFit:!0}),r=e=>qz(n)?[s(e)]:[];return t?{onLtr:e=>[oc,Jl,Ql,Zl,ec,tc].concat(r(e)),onRtl:e=>[oc,Ql,Jl,ec,Zl,tc].concat(r(e))}:{onLtr:e=>[tc,oc,Zl,Jl,ec,Ql].concat(r(e)),onRtl:e=>[tc,oc,ec,Ql,Zl,Jl].concat(r(e))}},Kz=(e,t)=>{const o=P(t,t=>t.predicate(e.dom)),{pass:n,fail:s}=H(o,e=>"contexttoolbar"===e.type);return{contextToolbars:n,contextForms:s}},Jz=(e,t)=>{const o={},n=[],s=[],r={},a={},i=re(e);return L(i,i=>{const l=e[i];"contextform"===l.type||"contextsliderform"===l.type||"contextsizeinputform"===l.type?((e,i)=>{const l=Ir(Br("ContextForm",lA,i));o[e]=l,l.launch.map(o=>{r["form:"+e]={...i.launch,type:"contextformtogglebutton"===o.type?"togglebutton":"button",onAction:()=>{t(l)}}}),"editor"===l.scope?s.push(l):n.push(l),a[e]=l})(i,l):"contexttoolbar"===l.type&&((e,o)=>{var i;(i=o,Br("ContextToolbar",dA,i)).each(i=>{i.launch.isSome()&&(r["toolbar:"+e]={...o.launch,type:"button",onAction:()=>{t(i)}}),"editor"===o.scope?s.push(i):n.push(i),a[e]=i})})(i,l)}),{forms:o,inNodeScope:n,inEditorScope:s,lookupTable:a,formNavigators:r}},Qz="tox-pop--transition",Zz=(e,t,o,n)=>{const s=n.backstage,a=s.shared,i=Qt().deviceType.isTouch,l=Ye(),c=Ye(),d=Ye(),u=(e=>{const t=ye([]),o=dy.sketch({dom:{tag:"div",classes:["tox-pop"]},fireDismissalEventInstead:{event:"doNotDismissYet"},onShow:e=>{t.set([]),dy.getContent(e).each(e=>{wn(e.element,"visibility")}),rs(e.element,LN),wn(e.element,"width")},onHide:()=>{t.set([]),e.onHide()},inlineBehaviours:hd([wd("context-toolbar-events",[ad(Ia(),(e,t)=>{"width"===t.event.raw.propertyName&&(rs(e.element,LN),wn(e.element,"width"))}),Zc(VN,(t,o)=>{const n=t.element;wn(n,"width");const s=An(n),r=Po(t.element).isSome();wn(n,"left"),wn(n,"right"),wn(n,"max-width"),dy.setContent(t,o.event.contents),ns(n,LN);const a=An(n);gn(n,"transition","none"),dy.reposition(t),wn(n,"transition"),gn(n,"width",s+"px"),o.event.focus.fold(()=>{r&&RN(t)},o=>{Ho(Oo(t.element)).fold(()=>zo(o),t=>{wt(t,o)||e.focusElement(o)})}),setTimeout(()=>{gn(t.element,"width",a+"px")},0)}),Zc(NN,(e,o)=>{dy.getContent(e).each(o=>{t.set(t.get().concat([{bar:o,focus:Ho(Oo(e.element))}]))}),$c(e,VN,{contents:o.event.forwardContents,focus:A.none()})}),Zc(zN,(o,n)=>{e.onBack(),oe(t.get()).each(e=>{t.set(t.get().slice(0,t.get().length-1)),$c(o,VN,{contents:Ug(e.bar),focus:e.focus})})})]),Im.config({mode:"special",onEscape:o=>oe(t.get()).fold(()=>e.onEscape(),e=>(jc(o,zN),A.some(!0)))})]),lazySink:()=>Ae.value(e.sink)});return{sketch:o,inSubtoolbar:()=>t.get().length>0}})({sink:o,onEscape:()=>(e.focus(),qD(e),A.some(!0)),onHide:()=>{qD(e)},onBack:()=>{(e=>{e.dispatch("ContextFormSlideBack")})(e)},focusElement:t=>{e.getBody().contains(t.dom)?e.focus():zo(t)}}),m=Pg(u.sketch),g=()=>{const t=d.get().getOr("node"),o=qz(t)?1:0;return jz(e,a,t,o)},p=()=>!(e.removed||i()&&s.isContextMenuOpen()),h=()=>{if(p()){const t=g(),o=He(d.get(),"node")?((e,t)=>t.filter(e=>ln(e)&&no(e)).map(Ps).getOrThunk(()=>Wz(e)))(e,l.get()):Wz(e);return t.height<=0||!Uz(o,t,.01)}return!0},f=()=>{l.clear(),c.clear(),d.clear(),dy.hide(m)},v=()=>{if(dy.isOpen(m)){const e=m.element;wn(e,"display"),h()?gn(e,"display","none"):(c.set(0),dy.reposition(m))}},x=t=>({dom:{tag:"div",classes:["tox-pop__dialog"]},components:[t],behaviours:hd([Im.config({mode:"acyclic"}),wd("pop-dialog-wrap-events",[id(t=>{e.shortcuts.add("ctrl+F9","focus statusbar",()=>Im.focusIn(t))}),ld(t=>{e.shortcuts.remove("ctrl+F9")})])])}),y=e=>{const t=S([e]);$c(m,NN,{forwardContents:x(t)})},w=st(()=>Jz(t,y)),S=t=>{const{buttons:o}=e.ui.registry.getAll(),s={...o,...w().formNavigators},i=fC(e)===QS.scrolling?QS.scrolling:QS.default,l=G(V(t,t=>{return"contexttoolbar"===t.type?((t,o)=>yz(e,{buttons:t,toolbar:o.items,allowToolbarGroups:!1},n.backstage,A.some(["form:","toolbar:"])))(s,(o=t,{...o,launch:o.launch.getOrUndefined(),items:r(o.items)?o.items:V(o.items,uA)})):((e,t)=>Pz(e,t))(t,a.providers);var o}));return jR({type:i,uid:Ne("context-toolbar"),initGroups:l,onEscape:A.none,cyclicKeying:!0,providers:a.providers})},C=(t,n)=>{if(_.cancel(),!p())return;const s=S(t),r=t[0].position,u=((t,n)=>{const s="node"===t?a.anchors.node(n):a.anchors.cursor(),r=((e,t,o,n)=>"line"===t?{bubble:Ml(12,0,$z),layouts:{onLtr:()=>[nc,sc],onRtl:()=>[sc,nc]},overrides:Gz}:{bubble:Ml(0,12,$z,1/12),layouts:Xz(e,o,n,t),overrides:Gz})(e,t,i(),{lastElement:l.get,isReposition:()=>He(c.get(),0),getMode:()=>hb.getMode(o)});return Ve(s,r)})(r,n);d.set(r),c.set(1);const f=m.element;wn(f,"display"),(e=>He(Ue(e,l.get(),wt),!0))(n)||(rs(f,Qz),hb.reset(o,m)),dy.showWithinBounds(m,x(s),{anchor:u,transition:{classes:[Qz],mode:"placement"}},()=>A.some(g())),n.fold(l.clear,l.set),h()&&gn(f,"display","none")},k=()=>{gn(m.element,"transition","none"),v(),wn(m.element,"transition")};let O=!1;const _=nt(()=>{!e.hasFocus()||e.removed||O||(as(m.element,Qz)?_.throttle():((e,t)=>{const o=ct(t.getBody()),n=e=>wt(e,o),s=ct(t.selection.getNode());return(e=>!n(e)&&!St(o,e))(s)?A.none():((e,t,o)=>{const n=Kz(e,t);if(n.contextForms.length>0)return A.some({elem:e,toolbars:[n.contextForms[0]]});{const t=Kz(e,o);if(t.contextForms.length>0)return A.some({elem:e,toolbars:[t.contextForms[0]]});if(n.contextToolbars.length>0||t.contextToolbars.length>0){const o=(e=>{if(e.length<=1)return e;{const t=t=>R(e,e=>e.position===t),o=t=>P(e,e=>e.position===t),n=t("selection"),s=t("node");if(n||s){if(s&&n){const e=o("node"),t=V(o("selection"),e=>({...e,position:"node"}));return e.concat(t)}return o(n?"selection":"node")}return o("line")}})(n.contextToolbars.concat(t.contextToolbars));return A.some({elem:e,toolbars:o})}return A.none()}})(s,e.inNodeScope,e.inEditorScope).orThunk(()=>((e,t,o)=>e(t)?A.none():bs(t,e=>{if(so(e)){const{contextToolbars:t,contextForms:n}=Kz(e,o.inNodeScope),s=n.length>0?n:(e=>{if(e.length<=1)return e;{const t=t=>j(e,e=>e.position===t);return t("selection").orThunk(()=>t("node")).orThunk(()=>t("line")).map(e=>e.position).fold(()=>[],t=>P(e,e=>e.position===t))}})(t);return s.length>0?A.some({elem:e,toolbars:s}):A.none()}return A.none()},e))(n,s,e))})(w(),e).fold(f,e=>{C(e.toolbars,A.some(e.elem))}))},17);e.on("init",()=>{e.on("remove",f),e.on("ScrollContent ScrollWindow longpress",v),e.on("ObjectResized ResizeEditor",k),e.on("click focus SetContent",_.throttle),e.on("keyup",e=>{var t;((t=e.keyCode)!==az.ENTER&&t!==az.SPACEBAR||!u.inSubtoolbar())&&_.throttle()}),e.on(Mz,f),e.on("contexttoolbar-show",t=>{const o=w();fe(o.lookupTable,t.toolbarKey).each(o=>{C([o],je(t.target!==e,t.target)),RN(m)})}),e.on("focusout",t=>{YS.setEditorTimeout(e,()=>{Po(o.element).isNone()&&Po(m.element).isNone()&&!e.hasFocus()&&f()},0)}),e.on("SwitchMode",()=>{e.mode.isReadOnly()&&f()}),e.on("DisabledStateChange",e=>{e.state&&f()}),e.on("ExecCommand",({command:e})=>{"toggleview"===e.toLowerCase()&&f()}),e.on("AfterProgressState",t=>{t.state?f():e.hasFocus()&&_.throttle()}),e.on("dragstart",()=>{O=!0}),e.on("dragend drop",()=>{O=!1}),e.on("NodeChange",e=>{u.inSubtoolbar()?k():Po(m.element).fold(_.throttle,b)})})},eV=(e,t)=>{const o=()=>{const o=t.getOptions(e),n=t.getCurrent(e).map(t.hash),s=Ye();return V(o,o=>({type:"togglemenuitem",text:t.display(o),onSetup:r=>{const a=e=>{e&&(s.on(e=>e.setActive(!1)),s.set(r)),r.setActive(e)};a(He(n,t.hash(o)));const i=t.watcher(e,o,a);return()=>{s.clear(),i()}},onAction:()=>t.setCurrent(e,o)}))};e.ui.registry.addMenuButton(t.name,{tooltip:t.text,icon:t.icon,fetch:e=>e(o()),onSetup:t.onToolbarSetup}),e.ui.registry.addNestedMenuItem(t.name,{type:"nestedmenuitem",text:t.text,getSubmenuItems:o,onSetup:t.onMenuSetup})},tV=e=>{eV(e,(e=>({name:"lineheight",text:"Line height",icon:"line-height",getOptions:KC,hash:e=>(e=>Is(e,["fixed","relative","empty"]).map(({value:e,unit:t})=>e+t))(e).getOr(e),display:w,watcher:(e,t,o)=>e.formatter.formatChanged("lineheight",o,!1,{value:t}).unbind,getCurrent:e=>A.from(e.queryCommandValue("LineHeight")),setCurrent:(e,t)=>e.execCommand("LineHeight",!1,t),onToolbarSetup:XD(e),onMenuSetup:XD(e)}))(e)),(e=>A.from(pC(e)).map(t=>({name:"language",text:"Language",icon:"language",getOptions:y(t),hash:e=>u(e.customCode)?e.code:`${e.code}/${e.customCode}`,display:e=>e.title,watcher:(e,t,o)=>e.formatter.formatChanged("lang",o,!1,{value:t.code,customValue:t.customCode??null}).unbind,getCurrent:e=>{const t=ct(e.selection.getNode());return vs(t,e=>A.some(e).filter(so).bind(e=>Jo(e,"lang").map(t=>({code:t,customCode:Jo(e,"data-mce-lang").getOrUndefined(),title:""}))))},setCurrent:(e,t)=>e.execCommand("Lang",!1,t),onToolbarSetup:t=>{const o=qe();return t.setActive(e.formatter.match("lang",{},void 0,!0)),o.set(e.formatter.formatChanged("lang",t.setActive,!0)),YD(o.clear,XD(e)(t))},onMenuSetup:XD(e)})))(e).each(t=>eV(e,t))},oV=e=>JD(e,"NodeChange",t=>{t.setEnabled(e.queryCommandState("outdent")&&e.selection.isEditable())}),nV=(e,t)=>o=>{o.setActive(t.get());const n=e=>{t.set(e.state),o.setActive(e.state)};return e.on("PastePlainTextToggle",n),YD(()=>e.off("PastePlainTextToggle",n),XD(e)(o))},sV=(e,t)=>()=>{e.execCommand("mceToggleFormat",!1,t)},rV=e=>{(e=>{(e=>{BB.each([{name:"bold",text:"Bold",icon:"bold",shortcut:"Meta+B"},{name:"italic",text:"Italic",icon:"italic",shortcut:"Meta+I"},{name:"underline",text:"Underline",icon:"underline",shortcut:"Meta+U"},{name:"strikethrough",text:"Strikethrough",icon:"strike-through"},{name:"subscript",text:"Subscript",icon:"subscript"},{name:"superscript",text:"Superscript",icon:"superscript"}],(t,o)=>{e.ui.registry.addToggleButton(t.name,{tooltip:t.text,icon:t.icon,onSetup:KD(e,t.name),onAction:sV(e,t.name),shortcut:t.shortcut})});for(let t=1;t<=6;t++){const o="h"+t,n=`Access+${t}`;e.ui.registry.addToggleButton(o,{text:o.toUpperCase(),tooltip:"Heading "+t,onSetup:KD(e,o),onAction:sV(e,o),shortcut:n})}})(e),(e=>{BB.each([{name:"copy",text:"Copy",action:"Copy",icon:"copy",context:"any"},{name:"help",text:"Help",action:"mceHelp",icon:"help",shortcut:"Alt+0",context:"any"},{name:"selectall",text:"Select all",action:"SelectAll",icon:"select-all",shortcut:"Meta+A",context:"any"},{name:"newdocument",text:"New document",action:"mceNewDocument",icon:"new-document"},{name:"print",text:"Print",action:"mcePrint",icon:"print",shortcut:"Meta+P",context:"any"}],t=>{e.ui.registry.addButton(t.name,{tooltip:t.text,icon:t.icon,onAction:ZD(e,t.action),shortcut:t.shortcut,context:t.context})}),BB.each([{name:"cut",text:"Cut",action:"Cut",icon:"cut"},{name:"paste",text:"Paste",action:"Paste",icon:"paste"},{name:"removeformat",text:"Clear formatting",action:"RemoveFormat",icon:"remove-formatting"},{name:"remove",text:"Remove",action:"Delete",icon:"remove"},{name:"hr",text:"Horizontal line",action:"InsertHorizontalRule",icon:"horizontal-rule"}],t=>{e.ui.registry.addButton(t.name,{tooltip:t.text,icon:t.icon,onSetup:XD(e),onAction:ZD(e,t.action)})})})(e),(e=>{BB.each([{name:"blockquote",text:"Blockquote",action:"mceBlockQuote",icon:"quote"}],t=>{e.ui.registry.addToggleButton(t.name,{tooltip:t.text,icon:t.icon,onAction:ZD(e,t.action),onSetup:KD(e,t.name)})})})(e)})(e),(e=>{BB.each([{name:"newdocument",text:"New document",action:"mceNewDocument",icon:"new-document"},{name:"copy",text:"Copy",action:"Copy",icon:"copy",shortcut:"Meta+C",context:"any"},{name:"selectall",text:"Select all",action:"SelectAll",icon:"select-all",shortcut:"Meta+A",context:"any"},{name:"print",text:"Print...",action:"mcePrint",icon:"print",shortcut:"Meta+P",context:"any"}],t=>{e.ui.registry.addMenuItem(t.name,{text:t.text,icon:t.icon,shortcut:t.shortcut,onAction:ZD(e,t.action),context:t.context})}),BB.each([{name:"bold",text:"Bold",action:"Bold",icon:"bold",shortcut:"Meta+B"},{name:"italic",text:"Italic",action:"Italic",icon:"italic",shortcut:"Meta+I"},{name:"underline",text:"Underline",action:"Underline",icon:"underline",shortcut:"Meta+U"},{name:"strikethrough",text:"Strikethrough",action:"Strikethrough",icon:"strike-through"},{name:"subscript",text:"Subscript",action:"Subscript",icon:"subscript"},{name:"superscript",text:"Superscript",action:"Superscript",icon:"superscript"},{name:"removeformat",text:"Clear formatting",action:"RemoveFormat",icon:"remove-formatting"},{name:"cut",text:"Cut",action:"Cut",icon:"cut",shortcut:"Meta+X"},{name:"paste",text:"Paste",action:"Paste",icon:"paste",shortcut:"Meta+V"},{name:"hr",text:"Horizontal line",action:"InsertHorizontalRule",icon:"horizontal-rule"}],t=>{e.ui.registry.addMenuItem(t.name,{text:t.text,icon:t.icon,shortcut:t.shortcut,onSetup:XD(e),onAction:ZD(e,t.action)})}),e.ui.registry.addMenuItem("codeformat",{text:"Code",icon:"sourcecode",onSetup:XD(e),onAction:sV(e,"code")})})(e)},aV=(e,t)=>JD(e,"Undo Redo AddUndo TypingUndo ClearUndos SwitchMode",o=>{o.setEnabled(!e.mode.isReadOnly()&&e.undoManager[t]())}),iV=e=>JD(e,"VisualAid",t=>{t.setActive(e.hasVisual)}),lV=(e,t)=>{(e=>{L([{name:"alignleft",text:"Align left",cmd:"JustifyLeft",icon:"align-left"},{name:"aligncenter",text:"Align center",cmd:"JustifyCenter",icon:"align-center"},{name:"alignright",text:"Align right",cmd:"JustifyRight",icon:"align-right"},{name:"alignjustify",text:"Justify",cmd:"JustifyFull",icon:"align-justify"}],t=>{e.ui.registry.addToggleButton(t.name,{tooltip:t.text,icon:t.icon,onAction:ZD(e,t.cmd),onSetup:KD(e,t.name)})}),e.ui.registry.addButton("alignnone",{tooltip:"No alignment",icon:"align-none",onSetup:XD(e),onAction:ZD(e,"JustifyNone")})})(e),rV(e),((e,t)=>{((e,t)=>{const o=UN(t,XN(e));e.ui.registry.addNestedMenuItem("align",{text:t.shared.providers.translate("Align"),onSetup:XD(e),getSubmenuItems:()=>o.items.validateItems(o.getStyleItems())})})(e,t),((e,t)=>{const o=UN(t,rz(e));e.ui.registry.addNestedMenuItem("fontfamily",{text:t.shared.providers.translate("Fonts"),onSetup:XD(e),getSubmenuItems:()=>o.items.validateItems(o.getStyleItems())})})(e,t),((e,t)=>{const o={type:"advanced",...t.styles},n=UN(t,hz(e,o));e.ui.registry.addNestedMenuItem("styles",{text:"Formats",onSetup:XD(e,()=>n.getStyleItems().length>0),getSubmenuItems:()=>n.items.validateItems(n.getStyleItems())})})(e,t),((e,t)=>{const o=UN(t,ZN(e));e.ui.registry.addNestedMenuItem("blocks",{text:"Blocks",onSetup:XD(e),getSubmenuItems:()=>o.items.validateItems(o.getStyleItems())})})(e,t),((e,t)=>{const o=UN(t,gz(e));e.ui.registry.addNestedMenuItem("fontsize",{text:"Font sizes",onSetup:XD(e),getSubmenuItems:()=>o.items.validateItems(o.getStyleItems())})})(e,t)})(e,t),(e=>{(e=>{e.ui.registry.addMenuItem("undo",{text:"Undo",icon:"undo",shortcut:"Meta+Z",onSetup:aV(e,"hasUndo"),onAction:ZD(e,"undo")}),e.ui.registry.addMenuItem("redo",{text:"Redo",icon:"redo",shortcut:"Meta+Y",onSetup:aV(e,"hasRedo"),onAction:ZD(e,"redo")})})(e),(e=>{e.ui.registry.addButton("undo",{tooltip:"Undo",icon:"undo",enabled:!1,onSetup:aV(e,"hasUndo"),onAction:ZD(e,"undo"),shortcut:"Meta+Z"}),e.ui.registry.addButton("redo",{tooltip:"Redo",icon:"redo",enabled:!1,onSetup:aV(e,"hasRedo"),onAction:ZD(e,"redo"),shortcut:"Meta+Y"})})(e)})(e),(e=>{(e=>{e.addCommand("mceApplyTextcolor",(t,o)=>{((e,t,o)=>{e.undoManager.transact(()=>{e.focus(),e.formatter.apply(t,{value:o}),e.nodeChanged()})})(e,t,o)}),e.addCommand("mceRemoveTextcolor",t=>{((e,t)=>{e.undoManager.transact(()=>{e.focus(),e.formatter.remove(t,{value:null},void 0,!0),e.nodeChanged()})})(e,t)})})(e);const t=pM(e),o=hM(e),n=ye(t),s=ye(o);OM(e,"forecolor","forecolor",n),OM(e,"backcolor","hilitecolor",s),_M(e,"forecolor","forecolor","Text color",n),_M(e,"backcolor","hilitecolor","Background color",s)})(e),(e=>{(e=>{e.ui.registry.addButton("visualaid",{tooltip:"Visual aids",text:"Visual aids",onAction:ZD(e,"mceToggleVisualAid"),context:"any"})})(e),(e=>{e.ui.registry.addToggleMenuItem("visualaid",{text:"Visual aids",onSetup:iV(e),onAction:ZD(e,"mceToggleVisualAid"),context:"any"})})(e)})(e),(e=>{(e=>{e.ui.registry.addButton("outdent",{tooltip:"Decrease indent",icon:"outdent",onSetup:oV(e),onAction:ZD(e,"outdent")}),e.ui.registry.addButton("indent",{tooltip:"Increase indent",icon:"indent",onSetup:XD(e,()=>e.queryCommandState("indent")),onAction:ZD(e,"indent")})})(e)})(e),tV(e),(e=>{const t=ye(zC(e)),o=()=>e.execCommand("mceTogglePlainTextPaste");e.ui.registry.addToggleButton("pastetext",{active:!1,icon:"paste-text",tooltip:"Paste as text",onAction:o,onSetup:nV(e,t)}),e.ui.registry.addToggleMenuItem("pastetext",{text:"Paste as text",icon:"paste-text",onAction:o,onSetup:nV(e,t)})})(e),(e=>{e.ui.registry.addContext("editable",()=>e.selection.isEditable()),e.ui.registry.addContext("mode",t=>e.mode.get()===t),e.ui.registry.addContext("any",E),e.ui.registry.addContext("formatting",t=>e.formatter.canApply(t)),e.ui.registry.addContext("insert",t=>e.schema.isValidChild(e.selection.getNode().tagName,t))})(e)},cV=e=>r(e)?e.split(/[ ,]/):e,dV=e=>t=>t.options.get(e),uV=dV("contextmenu_never_use_native"),mV=dV("contextmenu_avoid_overlap"),gV=e=>{const t=e.ui.registry.getAll().contextMenus,o=e.options.get("contextmenu");return e.options.isSet("contextmenu")?o:P(o,e=>be(t,e))},pV=(e,t)=>({type:"makeshift",x:e,y:t}),hV=e=>"longpress"===e.type||0===e.type.indexOf("touch"),fV=(e,t)=>"contextmenu"===t.type||"longpress"===t.type?e.inline?(e=>{if(hV(e)){const t=e.touches[0];return pV(t.pageX,t.pageY)}return pV(e.pageX,e.pageY)})(t):((e,t)=>{const o=XS.DOM.getPos(e);return((e,t,o)=>pV(e.x+t,e.y+o))(t,o.x,o.y)})(e.getContentAreaContainer(),(e=>{if(hV(e)){const t=e.touches[0];return pV(t.clientX,t.clientY)}return pV(e.clientX,e.clientY)})(t)):bV(e),bV=e=>({type:"selection",root:ct(e.selection.getNode())}),vV=(e,t,o)=>{switch(o){case"node":return(e=>({type:"node",node:A.some(ct(e.selection.getNode())),root:ct(e.getBody())}))(e);case"point":return fV(e,t);case"selection":return bV(e)}},xV=(e,t,o,n,s,r)=>{const a=o(),i=vV(e,t,r);vI(a,WO.CLOSE_ON_EXECUTE,n,{isHorizontalMenu:!1,search:A.none()}).map(e=>{t.preventDefault(),dy.showMenuAt(s,{anchor:i},{menu:{markers:s_("normal")},data:e})})},yV={onLtr:()=>[oc,Jl,Ql,Zl,ec,tc,kc,Oc,Cc,wc,Sc,yc],onRtl:()=>[oc,Ql,Jl,ec,Zl,tc,kc,Oc,Sc,yc,Cc,wc]},wV={valignCentre:[],alignCentre:[],alignLeft:["tox-pop--align-left"],alignRight:["tox-pop--align-right"],right:["tox-pop--right"],left:["tox-pop--left"],bottom:["tox-pop--bottom"],top:["tox-pop--top"]},SV=(e,t,o,n,s,r)=>{const a=Qt(),i=a.os.isiOS(),l=a.os.isMacOS(),c=a.os.isAndroid(),d=a.deviceType.isTouch(),u=()=>{const a=o();((e,t,o,n,s,r,a)=>{const i=((e,t,o)=>{const n=vV(e,t,o);return{bubble:Ml(0,"point"===o?12:0,wV),layouts:yV,overrides:{maxWidthFunction:Rc(),maxHeightFunction:Fc()},...n}})(e,t,r);vI(o,WO.CLOSE_ON_EXECUTE,n,{isHorizontalMenu:!0,search:A.none()}).map(o=>{t.preventDefault();const l=a?Lc.HighlightMenuAndItem:Lc.HighlightNone;dy.showMenuWithinBounds(s,{anchor:i},{menu:{markers:s_("normal"),highlightOnOpen:l},data:o,type:"horizontal"},()=>A.some(jz(e,n.shared,"node"===r?"node":"selection"))),e.dispatch(Mz)})})(e,t,a,n,s,r,!(c||i||l&&d))};if((l||i)&&"node"!==r){const o=()=>{(e=>{const t=e.selection.getRng(),o=()=>{YS.setEditorTimeout(e,()=>{e.selection.setRng(t)},10),r()};e.once("touchend",o);const n=e=>{e.preventDefault(),e.stopImmediatePropagation()};e.on("mousedown",n,!0);const s=()=>r();e.once("longpresscancel",s);const r=()=>{e.off("touchend",o),e.off("longpresscancel",s),e.off("mousedown",n)}})(e),u()};((e,t)=>{const o=e.selection;if(o.isCollapsed()||t.touches.length<1)return!1;{const n=t.touches[0],s=o.getRng();return Ds(e.getWin(),Cs.domRange(s)).exists(e=>e.left<=n.clientX&&e.right>=n.clientX&&e.top<=n.clientY&&e.bottom>=n.clientY)}})(e,t)?o():(e.once("selectionchange",o),e.once("touchend",()=>e.off("selectionchange",o)))}else u()},CV=e=>r(e)?"|"===e:"separator"===e.type,kV={type:"separator"},OV=e=>{const t=e=>({text:e.text,icon:e.icon,enabled:e.enabled,shortcut:e.shortcut});if(r(e))return e;switch(e.type){case"separator":return kV;case"submenu":return{type:"nestedmenuitem",...t(e),getSubmenuItems:()=>{const t=e.getSubmenuItems();return r(t)?t:V(t,OV)}};default:const o=e;return{type:"menuitem",...t(o),onAction:v(o.onAction)}}},_V=(e,t)=>{if(0===t.length)return e;const o=oe(e).filter(e=>!CV(e)).fold(()=>[],e=>[kV]);return e.concat(o).concat(t).concat([kV])},TV=(e,t)=>!(e=>"longpress"===e.type||be(e,"touches"))(t)&&(2!==t.button||t.target===e.getBody()&&""===t.pointerType),EV=(e,t)=>TV(e,t)?e.selection.getStart(!0):t.target,AV=(e,t,o)=>{const n=Qt().deviceType.isTouch,s=Pg(dy.sketch({dom:{tag:"div"},lazySink:t,onEscape:()=>e.focus(),onShow:()=>o.setContextMenuState(!0),onHide:()=>o.setContextMenuState(!1),fireDismissalEventInstead:{},inlineBehaviours:hd([wd("dismissContextMenu",[Zc(ri(),(t,o)=>{zb.close(t),e.focus()})])])})),a=()=>dy.hide(s),i=t=>{if(uV(e)&&t.preventDefault(),((e,t)=>t.ctrlKey&&!uV(e))(e,t)||(e=>0===gV(e).length)(e))return;const a=((e,t)=>{const o=mV(e),n=TV(e,t)?"selection":"point";if(tt(o)){const s=EV(e,t);return hs(ct(s),o)?"node":n}return n})(e,t);(n()?SV:xV)(e,t,()=>{const o=EV(e,t),n=e.ui.registry.getAll(),s=gV(e);return((e,t,o)=>{const n=W(t,(t,n)=>fe(e,n.toLowerCase()).map(e=>{const n=e.update(o);if(r(n)&&tt(et(n)))return _V(t,n.split(" "));if(l(n)&&n.length>0){const e=V(n,OV);return _V(t,e)}return t}).getOrThunk(()=>t.concat([n])),[]);return n.length>0&&CV(n[n.length-1])&&n.pop(),n})(n.contextMenus,s,o)},o,s,a)};e.on("init",()=>{const t="ResizeEditor ScrollContent ScrollWindow longpresscancel"+(n()?"":" ResizeWindow");e.on(t,a),e.on("longpress contextmenu",i)})},DV=(e,t,o,n,s,r)=>e.fold(()=>Wh.snap({sensor:Jp(o-20,n-20),range:Bn(s,r),output:Jp(A.some(o),A.some(n)),extra:{td:t}}),e=>{const s=o-20,r=n-20,a=e.element.dom.getBoundingClientRect();return Wh.snap({sensor:Jp(s,r),range:Bn(40,40),output:Jp(A.some(o-a.width/2),A.some(n-a.height/2)),extra:{td:t}})}),MV=(e,t,o)=>({getSnapPoints:e,leftAttr:"data-drag-left",topAttr:"data-drag-top",onSensor:(e,n)=>{const s=n.td;((e,t)=>e.exists(e=>wt(e,t)))(t.get(),s)||(t.set(s),o(s))},mustSnap:!0}),BV=e=>Dv(Wv.sketch({dom:{tag:"div",classes:["tox-selector"]},buttonBehaviours:hd([Wh.config({mode:"mouseOrTouch",blockerClass:"blocker",snaps:e}),Ev.config({})]),eventOrder:{mousedown:["dragging","alloy.base.behaviour"],touchstart:["dragging","alloy.base.behaviour"]}})),IV=(e,t)=>{const o=ye([]),n=ye([]),s=ye(!1),r=Ye(),a=Ye(),i=e=>{const o=Ps(e);return DV(u.getOpt(t),e,o.x,o.y,o.width,o.height)},l=e=>{const o=Ps(e);return DV(m.getOpt(t),e,o.right,o.bottom,o.width,o.height)},c=MV(()=>V(o.get(),e=>i(e)),r,t=>{a.get().each(o=>{e.dispatch("TableSelectorChange",{start:t,finish:o})})}),d=MV(()=>V(n.get(),e=>l(e)),a,t=>{r.get().each(o=>{e.dispatch("TableSelectorChange",{start:o,finish:t})})}),u=BV(c),m=BV(d),g=Pg(u.asSpec()),p=Pg(m.asSpec()),h=(t,o,n,s)=>{const r=n(o);Wh.snapTo(t,r),((t,o)=>{const n=o.dom.getBoundingClientRect();wn(t.element,"display");const r=go(ct(e.getBody())).dom.innerHeight,a=n[s]<0,i=((e,t)=>e[s]>t)(n,r);(a||i)&&gn(t.element,"display","none")})(t,o)},f=e=>h(g,e,i,"top"),b=e=>h(p,e,l,"bottom");if(Qt().deviceType.isTouch()){const i=e=>V(e,ct);e.on("TableSelectionChange",e=>{s.get()||(jm(t,g),jm(t,p),s.set(!0));const l=ct(e.start),c=ct(e.finish);r.set(l),a.set(c),A.from(e.otherCells).each(e=>{o.set(i(e.upOrLeftCells)),n.set(i(e.downOrRightCells)),f(l),b(c)})}),e.on("ResizeEditor ResizeWindow ScrollContent",()=>{r.get().each(f),a.get().each(b)}),e.on("TableSelectionClear",()=>{s.get()&&(qm(g),qm(p),s.set(!1)),r.clear(),a.clear()})}},FV=e=>"BR"===e.nodeName||!!e.getAttribute("data-mce-bogus")||"bookmark"===e.getAttribute("data-mce-type"),RV=(e,t,o)=>{const n=t.delimiter??"\u203a",s=()=>""!==e.queryCommandValue("ToggleView"),r=()=>o.isDisabled()||s(),a=()=>{const e=o.checkUiComponentContext("any");return{contextType:e.contextType,shouldDisable:e.shouldDisable||s()}};return{dom:{tag:"div",classes:["tox-statusbar__path"],attributes:{role:"group","aria-label":o.translate("Element Path")}},behaviours:hd([Im.config({mode:"flow",selector:"div[role=button]"}),gp.config({disabled:r}),ZA(a),iv.config({}),ug.config({}),wd("elementPathEvents",[id((t,s)=>{e.shortcuts.add("alt+F11","focus statusbar elementpath",()=>Im.focusIn(t)),e.on("NodeChange",s=>{const i=(t=>{const o=[];let n=t.length;for(;n-- >0;){const s=t[n];if(1===s.nodeType&&!FV(s)){const t=$D(e,s);if(t.isDefaultPrevented()||o.push({name:t.name,element:s}),t.isPropagationStopped())break}}return o})(s.parents),l=i.length>0?W(i,(t,s,i)=>{const l=((t,n,s)=>Wv.sketch({dom:{tag:"div",classes:["tox-statusbar__path-item"],attributes:{"data-index":s}},components:[zg(t)],action:t=>{e.focus(),e.selection.select(n),e.nodeChanged()},buttonBehaviours:hd([Tv.config({...o.tooltips.getConfig({tooltipText:o.translate(["Select the {0} element",n.nodeName.toLowerCase()]),onShow:(e,t)=>{qs(e.element,t.element)},onHide:e=>{var t;t=e.element,Zo(t,"aria-describedby")}})}),PA(r),ZA(a)])}))(s.name,s.element,i);return 0===i?t.concat([l]):t.concat([{dom:{tag:"div",classes:["tox-statusbar__path-divider"],attributes:{"aria-hidden":!0}},components:[zg(` ${n} `)]},l])},[]):[];ug.set(t,l)}),e.on("ToggleView",()=>{const e=r();gp.set(t,e),L(ug.contents(t),t=>{t.hasConfigured(gp)&&gp.set(t,e)})})})])]),components:[]}};var NV;!function(e){e[e.None=0]="None",e[e.Both=1]="Both",e[e.Vertical=2]="Vertical"}(NV||(NV={}));const zV=e=>{const t=ct(e.getContainer());return{height:On(t),width:An(t)}},VV=(e,t,o)=>{const n=ct(e.getContainer()),s=((e,t,o,n)=>{const s=SR(n.height+t.top,lC(e),dC(e));return o===NV.Both?{height:s,width:SR(n.width+t.left,iC(e),cC(e))}:{height:s}})(e,t,o,zV(e));return ie(s,(e,t)=>{h(e)&&gn(n,t,wR(e))}),(e=>{e.dispatch("ResizeEditor")})(e),s},LV=(e,t,o,n,s)=>{Yo(e.element,"aria-valuetext",((e,t)=>t===NV.Both?AO.translate(["Editor's height: {0} pixels, Editor's width: {1} pixels",e.height,e.width]):AO.translate(["Editor's height: {0} pixels",e.height]))(t,o)),o===NV.Vertical&&(Yo(e.element,"aria-valuenow",t.height),Yo(e.element,"aria-valuemin",n.getOr(0)),Yo(e.element,"aria-valuemax",s.getOr(t.height+20)))},HV=(e,t,o,n,s,r,a)=>{const i=Bn(20*n,20*s),l=VV(e,i,o);return LV(t,l,o,r,a),A.some(!0)},PV=(e,t)=>{const o=()=>{const o=[],n=jC(e),s=FC(e),r=RC(e)||e.hasPlugin("wordcount");return s&&o.push(RV(e,{},t)),n&&o.push((()=>{const e=aD("Alt+0");return{dom:{tag:"div",classes:["tox-statusbar__help-text"]},components:[zg(AO.translate(["Press {0} for help",e]))]}})()),r&&o.push((()=>{const o=[];return e.hasPlugin("wordcount")&&o.push(((e,t)=>{const o=(e,o,n)=>ug.set(e,[zg(t.translate(["{0} "+n,o[n]]))]);return Wv.sketch({dom:{tag:"button",classes:["tox-statusbar__wordcount"]},components:[],buttonBehaviours:hd([PA(t.isDisabled),ZA(()=>t.checkUiComponentContext("any")),iv.config({}),ug.config({}),mf.config({store:{mode:"memory",initialValue:{mode:"words",count:{words:0,characters:0}}}}),wd("wordcount-events",[dd(e=>{const t=mf.getValue(e),n="words"===t.mode?"characters":"words";mf.setValue(e,{mode:n,count:t.count}),o(e,t.count,n)}),id(t=>{e.on("wordCountUpdate",e=>{const{mode:n}=mf.getValue(t);mf.setValue(t,{mode:n,count:e.wordCount}),o(t,e.wordCount,n)})})])]),eventOrder:{[Ga()]:["disabling","alloy.base.behaviour","wordcount-events"]}})})(e,t)),RC(e)&&o.push({dom:{tag:"span",classes:["tox-statusbar__branding"]},components:[{dom:{tag:"a",attributes:{href:"https://www.tiny.cloud/powered-by-tiny?utm_campaign=poweredby&utm_source=tiny&utm_medium=referral&utm_content=v7",rel:"noopener",target:"_blank","aria-label":e.translate(["Build with {0}","TinyMCE"])},innerHtml:e.translate(["Build with {0}",'\n'.trim()])},behaviours:hd([_d.config({})])}]}),{dom:{tag:"div",classes:["tox-statusbar__right-container"]},components:o}})()),o.length>0?[{dom:{tag:"div",classes:["tox-statusbar__text-container",...(()=>{const e="tox-statusbar__text-container--flex-start",t="tox-statusbar__text-container--flex-end";if(n){const o="tox-statusbar__text-container-3-cols";return r||s?r&&!s?[o,t]:[o,e]:[o,"tox-statusbar__text-container--space-around"]}return[r&&!s?t:e]})()]},components:o}]:[]};return{dom:{tag:"div",classes:["tox-statusbar"]},components:(()=>{const n=o(),s=((e,t)=>{const o=(e=>{const t=NC(e);return!1===t?NV.None:"both"===t?NV.Both:NV.Vertical})(e);if(o===NV.None)return A.none();const n=lC(e),s=dC(e),r=o===NV.Both?AO.translate("Press the arrow keys to resize the editor."):AO.translate("Press the Up and Down arrow keys to resize the editor."),a=o===NV.Both?"tox-statusbar__resize-cursor-both":"tox-statusbar__resize-cursor-default";return A.some(VO("resize-handle",{tag:"div",classes:["tox-statusbar__resize-handle",a],attributes:{"aria-label":t.translate(r),"data-mce-name":"resize-handle",role:"separator"},behaviours:[Wh.config({mode:"pointer",repositionTarget:!1,onDragStart:e=>{Tv.immediateOpenClose(e,!1),Tv.setEnabled(e,!1)},onDrag:(t,r,a)=>{const i=VV(e,a,o);LV(t,i,o,n,s)},onDrop:e=>{Tv.setEnabled(e,!0)}}),Im.config({mode:"special",onLeft:t=>HV(e,t,o,-1,0,n,s),onRight:t=>HV(e,t,o,1,0,n,s),onUp:t=>HV(e,t,o,0,-1,n,s),onDown:t=>HV(e,t,o,0,1,n,s)}),iv.config({}),_d.config({}),Tv.config(t.tooltips.getConfig({tooltipText:t.translate("Resize")})),wd("set-aria-valuetext",[id(t=>{const r=()=>{LV(t,zV(e),o,n,s)};e._skinLoaded?r():e.once("SkinLoaded",r)})])],eventOrder:{[ni()]:["add-focusable","set-aria-valuetext"]}},t.icons))})(e,t);return n.concat(s.toArray())})()}},UV=(e,t)=>t.get().getOrDie(`UI for ${e} has not been rendered`),WV=(e,t)=>{const o=e.inline,n=o?Dz:kz,s=rk(e)?vR:lR,r=(()=>{const e=Ye(),t=Ye(),o=Ye();return{dialogUi:e,popupUi:t,mainUi:o,getUiMotherships:()=>{const o=e.get().map(e=>e.mothership),n=t.get().map(e=>e.mothership);return o.fold(()=>n.toArray(),e=>n.fold(()=>[e],t=>wt(e.element,t.element)?[e]:[e,t]))},lazyGetInOuterOrDie:(e,t)=>()=>o.get().bind(e=>t(e.outerContainer)).getOrDie(`Could not find ${e} element in OuterContainer`)}})(),a=Ye(),i=Ye(),l=Ye(),c=Qt().deviceType.isTouch()?["tox-platform-touch"]:[],d=ek(e),u=fC(e),m=Dv({dom:{tag:"div",classes:["tox-anchorbar"]}}),g=Dv({dom:{tag:"div",classes:["tox-bottom-anchorbar"]}}),p=()=>r.mainUi.get().map(e=>e.outerContainer).bind(gN.getHeader),h=r.lazyGetInOuterOrDie("anchor bar",m.getOpt),f=r.lazyGetInOuterOrDie("bottom anchor bar",g.getOpt),b=r.lazyGetInOuterOrDie("toolbar",gN.getToolbar),v=r.lazyGetInOuterOrDie("throbber",gN.getThrobber),x=((e,t,o,n)=>{const s=ye(!1),r=(e=>{const t=ye(ek(e)?"bottom":"top");return{isPositionedAtTop:()=>"top"===t.get(),getDockingMode:t.get,setDockingMode:t.set}})(t),a={icons:()=>t.ui.registry.getAll().icons,menuItems:()=>t.ui.registry.getAll().menuItems,translate:AO.translate,isDisabled:()=>!t.ui.isEnabled(),getOption:t.options.get,tooltips:MF(e.dialog),checkUiComponentContext:e=>{if(sC(t))return{contextType:"disabled",shouldDisable:!0};const[o,n=""]=e.split(":"),s=t.ui.registry.getAll().contexts;return{contextType:o,shouldDisable:!fe(s,o).fold(()=>fe(s,"mode").map(e=>e("design")).getOr(!1),e=>"!"===n.charAt(0)?!e(n.slice(1)):e(n))}}},i=oR(t),l=(e=>{const t=t=>()=>e.formatter.match(t),o=t=>()=>{const o=e.formatter.get(t);return void 0!==o?A.some({tag:o.length>0&&(o[0].inline||o[0].block)||"div",styles:e.dom.parseStyle(e.formatter.getCssText(t))}):A.none()},n=ye([]),s=ye([]),r=ye(!1);return e.on("PreInit",s=>{const r=EF(e),a=DF(e,r,t,o);n.set(a)}),e.on("addStyleModifications",n=>{const a=DF(e,n.items,t,o);s.set(a),r.set(n.replace)}),{getData:()=>{const e=r.get()?[]:n.get(),t=s.get();return e.concat(t)}}})(t),c=(e=>({colorPicker:xF(e),hasCustomColors:yF(e),getColors:wF(e),getColorCols:SF(e)}))(t),d=(e=>({isDraggableModal:CF(e)}))(t),u={shared:{providers:a,anchors:vF(t,o,n,r.isPositionedAtTop),header:r},urlinput:i,styles:l,colorinput:c,dialog:d,isContextMenuOpen:()=>s.get(),setContextMenuState:e=>s.set(e)},m=e=>A.none(),g={...u,shared:{...u.shared,interpreter:e=>uF(e,{},g,m),getSink:e.popup}},p={...u,shared:{...u.shared,interpreter:e=>uF(e,{},p,m),getSink:e.dialog}};return{popup:g,dialog:p}})({popup:()=>Ae.fromOption(r.popupUi.get().map(e=>e.sink),"(popup) UI has not been rendered"),dialog:()=>Ae.fromOption(r.dialogUi.get().map(e=>e.sink),"UI has not been rendered")},e,h,f),y=()=>{const t=(()=>{const t={attributes:{[zc]:d?Nc.BottomToTop:Nc.TopToBottom}},o=gN.parts.menubar({dom:{tag:"div",classes:["tox-menubar"]},backstage:x.popup,onEscape:()=>{e.focus()}}),n=gN.parts.toolbar({dom:{tag:"div",classes:["tox-toolbar"]},getSink:x.popup.shared.getSink,providers:x.popup.shared.providers,onEscape:()=>{e.focus()},onToolbarToggled:t=>{((e,t)=>{e.dispatch("ToggleToolbarDrawer",{state:t})})(e,t)},type:u,lazyToolbar:b,lazyHeader:()=>p().getOrDie("Could not find header element"),...t}),s=gN.parts["multiple-toolbar"]({dom:{tag:"div",classes:["tox-toolbar-overlord"]},providers:x.popup.shared.providers,onEscape:()=>{e.focus()},type:u}),r=ZC(e),a=JC(e),i=YC(e),l=WC(e),c=r||a||i,g=[(h=l,gN.parts.promotion({dom:{tag:"div",classes:["tox-promotion"]},promotionLink:h})),o];var h;return gN.parts.header({dom:{tag:"div",classes:["tox-editor-header"].concat(c?[]:["tox-editor-header--empty"]),...t},components:G([i?g:[],r?[s]:a?[n]:[],ok(e)?[]:[m.asSpec()]]),sticky:rk(e),editor:e,sharedBackstage:x.popup.shared})})(),n={dom:{tag:"div",classes:["tox-sidebar-wrap"]},components:[gN.parts.socket({dom:{tag:"div",classes:["tox-edit-area"]}}),gN.parts.sidebar({dom:{tag:"div",classes:["tox-sidebar"]},configuredSidebarWidth:LC(e)})],behaviours:LA([Zc(RR,(e,t)=>{(t.event.visible&&t.event.resizable?ns:rs)(e.element,"tox-sidebar-wrap--resizable")})])},s=gN.parts.throbber({dom:{tag:"div",classes:["tox-throbber"]},backstage:x.popup}),r=gN.parts.viewWrapper({backstage:x.popup}),i=IC(e)&&!o?A.some(PV(e,x.popup.shared.providers)):A.none(),l=G([d?[]:[t],o?[]:[n],d?[t]:[]]),h=gN.parts.editorContainer({components:G([l,o?[]:[g.asSpec()]])}),f=sk(e),v={role:"application",...AO.isRtl()?{dir:"rtl"}:{},...f?{"aria-hidden":"true"}:{}},y=Pg(gN.sketch({dom:{tag:"div",classes:["tox","tox-tinymce"].concat(o?["tox-tinymce-inline"]:[]).concat(d?["tox-tinymce--toolbar-bottom"]:[]).concat(c),styles:{visibility:"hidden",...f?{opacity:"0",border:"0"}:{}},attributes:v},components:[h,...o?[]:[r,...i.toArray()],s],behaviours:hd([ZA(()=>x.popup.shared.providers.checkUiComponentContext("any")),gp.config({disableClass:"tox-tinymce--disabled"}),Im.config({mode:"cyclic",selector:".tox-menubar, .tox-toolbar, .tox-toolbar__primary, .tox-toolbar__overflow--open, .tox-sidebar__overflow--open, .tox-statusbar__path, .tox-statusbar__wordcount, .tox-statusbar__branding a, .tox-statusbar__resize-handle"})])})),w=Hv(y);return a.set(w),{mothership:w,outerContainer:y}},w=t=>{const o=wR((e=>(e=>{const t=((e,t)=>{if("number"==typeof t)return A.from(t);const o=/^([0-9.]+)(pt|em|px)$/.exec(t.trim());if(o){const t=o[2],n=Number.parseFloat(o[1]);if(Number.isNaN(n)||n<0)return A.none();if("em"===t)return A.from(n*Number.parseFloat(window.getComputedStyle(e.dom).fontSize));if("pt"===t)return A.from(.75*n);if("px"===t)return A.from(n)}return A.none()})(ct(e.targetElm),rC(e)),o=lC(e),n=dC(e);return t.map(e=>SR(e,o,n))})(e).getOr(rC(e)))(e)),n=wR((e=>Oz(e).getOr(aC(e)))(e));return e.inline||(yn("div","width",n)&&gn(t.element,"width",n),yn("div","height",o)?gn(t.element,"height",o):gn(t.element,"height","400px")),o},S=t=>{const{mainUi:o,popupUi:r,uiMotherships:a}=t;le(bC(e),(t,o)=>{e.ui.registry.addGroupToolbarButton(o,t)});const{buttons:i,menuItems:l,contextToolbars:c,sidebars:d,views:m}=e.ui.registry.getAll(),g=QC(e),h={menuItems:l,menus:ik(e),menubar:CC(e),toolbar:g.getOrThunk(()=>kC(e)),allowToolbarGroups:u===QS.floating,buttons:i,sidebar:d,views:m};var f;f=o.outerContainer,e.addShortcut("alt+F9","focus menubar",()=>{gN.focusMenubar(f)}),e.addShortcut("alt+F10","focus toolbar",()=>{gN.focusToolbar(f)}),e.addCommand("ToggleToolbarDrawer",(e,t,o)=>{t?.skipFocus?(console.warn(nR.skipFocus,(new Error).stack),gN.toggleToolbarDrawerWithoutFocusing(f)):o?.skip_focus?gN.toggleToolbarDrawerWithoutFocusing(f):gN.toggleToolbarDrawer(f)}),e.addQueryStateHandler("ToggleToolbarDrawer",()=>gN.isToolbarDrawerToggled(f)),e.on("blur",()=>{fC(e)===QS.floating&&gN.isToolbarDrawerToggled(f)&&gN.toggleToolbarDrawerWithoutFocusing(f)}),((e,t,o)=>{const n=(e,n)=>{L([t,...o],t=>{t.broadcastEvent(e,n)})},s=(e,n)=>{L([t,...o],t=>{t.broadcastOn([e],n)})},r=e=>s(zd(),{target:e.target}),a=e=>{s(Nd(),{closedTooltip:()=>{e.preventDefault()}})},i=No(),l=Io(i,"touchstart",r),c=Io(i,"touchmove",e=>n(Za(),e)),d=Io(i,"touchend",e=>n(ei(),e)),u=Io(i,"mousedown",r),m=Io(i,"mouseup",e=>{0===e.raw.button&&s(Ld(),{target:e.target})}),g=e=>s(zd(),{target:ct(e.target)}),p=e=>{0===e.button&&s(Ld(),{target:ct(e.target)})},h=()=>{L(e.editorManager.get(),t=>{e!==t&&t.dispatch("DismissPopups",{relatedTarget:e})})},f=e=>n(ti(),Ro(e)),b=e=>{s(Vd(),{}),n(oi(),Ro(e))},v=Oo(ct(e.getElement())),x=Fo(v,"scroll",o=>{requestAnimationFrame(()=>{if(null!=e.getContainer()){const s=gk(e,t.element).map(e=>[e.element,...e.others]).getOr([]);R(s,e=>wt(e,o.target))&&(e.dispatch("ElementScroll",{target:o.target.dom}),n(ci(),o))}})}),y=()=>s(Vd(),{}),w=t=>{t.state&&s(zd(),{target:ct(e.getContainer())})},S=e=>{s(zd(),{target:ct(e.relatedTarget.getContainer())})},C=t=>e.dispatch("focusin",t),k=t=>e.dispatch("focusout",t);e.on("PostRender",()=>{e.on("click",g),e.on("tap",g),e.on("mouseup",p),e.on("mousedown",h),e.on("ScrollWindow",f),e.on("ResizeWindow",b),e.on("ResizeEditor",y),e.on("AfterProgressState",w),e.on("DismissPopups",S),e.on("CloseActiveTooltips",a),L([t,...o],e=>{e.element.dom.addEventListener("focusin",C),e.element.dom.addEventListener("focusout",k)})}),e.on("remove",()=>{e.off("click",g),e.off("tap",g),e.off("mouseup",p),e.off("mousedown",h),e.off("ScrollWindow",f),e.off("ResizeWindow",b),e.off("ResizeEditor",y),e.off("AfterProgressState",w),e.off("DismissPopups",S),e.off("CloseActiveTooltips",a),L([t,...o],e=>{e.element.dom.removeEventListener("focusin",C),e.element.dom.removeEventListener("focusout",k)}),u.unbind(),l.unbind(),c.unbind(),d.unbind(),m.unbind(),x.unbind()}),e.on("detach",()=>{L([t,...o],Qm),L([t,...o],e=>e.destroy())})})(e,o.mothership,a),s.setup(e,x.popup.shared,p),lV(e,x.popup),AV(e,x.popup.shared.getSink,x.popup),(e=>{const{sidebars:t}=e.ui.registry.getAll();L(re(t),o=>{const n=t[o],s=()=>He(A.from(e.queryCommandValue("ToggleSidebar")),o);e.ui.registry.addToggleButton(o,{icon:n.icon,tooltip:n.tooltip,onAction:t=>{e.execCommand("ToggleSidebar",!1,o,{skip_focus:!0}),t.setActive(s())},onSetup:t=>{t.setActive(s());const o=()=>t.setActive(s());return e.on("ToggleSidebar",o),()=>{e.off("ToggleSidebar",o)}},context:"any"})})})(e),zR(e,v,x.popup.shared),Zz(e,c,r.sink,{backstage:x.popup}),IV(e,r.sink);const b={targetNode:e.getElement(),height:w(o.outerContainer)};return n.render(e,t,h,x.popup,b)};return{popups:{backstage:x.popup,getMothership:()=>UV("popups",l)},dialogs:{backstage:x.dialog,getMothership:()=>UV("dialogs",i)},renderUI:()=>{const o=y(),n=(()=>{const t=nk(e),o=wt(cn(),t)&&"grid"===fn(t,"display"),n={dom:{tag:"div",classes:["tox","tox-silver-sink","tox-tinymce-aux"].concat(c),attributes:{...AO.isRtl()?{dir:"rtl"}:{}}},behaviours:hd([hb.config({useFixed:()=>s.isDocked(p),getBounds:()=>r.dialogUi.get().bind(({sink:e})=>{const t=Oo(e.element);return ko(t)?A.some(Hs(Eo(t))):A.none()}).getOr(Ws())})])},a={dom:{styles:{width:document.body.clientWidth+"px"}},events:Kc([Zc(oi(),e=>{gn(e.element,"width",document.body.clientWidth+"px")})])},l=Pg(Ve(n,o?a:{})),d=Hv(l);return i.set(d),{sink:l,mothership:d}})(),a=ak(e)?(()=>{const e={dom:{tag:"div",classes:["tox","tox-silver-sink","tox-silver-popup-sink","tox-tinymce-aux"].concat(c),attributes:{...AO.isRtl()?{dir:"rtl"}:{}}},behaviours:hd([hb.config({useFixed:()=>s.isDocked(p),getBounds:()=>t.getPopupSinkBounds()})])},o=Pg(e),n=Hv(o);return l.set(n),{sink:o,mothership:n}})():(e=>(l.set(e.mothership),e))(n);r.dialogUi.set(n),r.popupUi.set(a),r.mainUi.set(o);const d={popupUi:a,dialogUi:n,mainUi:o,uiMotherships:r.getUiMotherships()};return S(d)}}},jV=e=>{const t=[],o={};return ie(e,(e,n)=>{e.fold(()=>{t.push(n)},e=>{o[n]=e})}),t.length>0?Ae.error(t):Ae.value(o)},$V=(e,t,o,n)=>{const s=Dv($x.sketch(s=>({dom:{tag:"div",classes:["tox-form"].concat(e.classes)},components:V(e.items,e=>cF(s,e,t,o,n))})));return{dom:{tag:"div",classes:["tox-dialog__body"]},components:[{dom:{tag:"div",classes:["tox-dialog__body-content"]},components:[s.asSpec()]}],behaviours:hd([Im.config({mode:"acyclic",useTabstopAt:k(PB)}),(r=s,Xg.config({find:r.getOpt})),hB(s,{postprocess:e=>jV(e).fold(e=>(console.error(e),{}),w)}),wd("dialog-body-panel",[Zc(Oa(),(e,t)=>{e.getSystem().broadcastOn([qB],{newFocus:A.some(t.event.target)})})])])};var r},GV=(e,t)=>{gn(e,"height",t+"px"),gn(e,"flex-basis",t+"px")},qV=(e,t,o)=>{Gn(e,'[role="dialog"]').each(e=>{Xn(e,'[role="tablist"]').each(n=>{o.get().map(o=>(gn(t,"height","0"),gn(t,"flex-basis","0"),Math.min(o,((e,t,o)=>{const n=mo(e).dom,s=Gn(e,".tox-dialog-wrap").getOr(e);let r;r="fixed"===fn(s,"position")?Math.max(n.clientHeight,window.innerHeight):Math.max(n.offsetHeight,n.scrollHeight);const a=On(t),i=t.dom.offsetLeft>=o.dom.offsetLeft+An(o)?Math.max(On(o),a):a,l=parseInt(fn(e,"margin-top"),10)||0,c=parseInt(fn(e,"margin-bottom"),10)||0;return r-(On(e)+l+c-i)})(e,t,n)))).each(e=>{GV(t,e)})})})},YV=e=>Xn(e,'[role="tabpanel"]'),XV="send-data-to-section",KV="send-data-to-view",JV=(e,t,o,n)=>{const s=ye({}),r=e=>{const t=mf.getValue(e),o=jV(t).getOr({}),n=s.get(),r=Ve(n,o);s.set(r)},a=e=>{const t=s.get();mf.setValue(e,t)},i=ye(null),l=V(e.tabs,e=>({value:e.name,dom:{tag:"div",classes:["tox-dialog__body-nav-item"]},components:[zg(o.shared.providers.translate(e.title))],view:()=>[$x.sketch(s=>({dom:{tag:"div",classes:["tox-form"]},components:V(e.items,e=>cF(s,e,t,o,n)),formBehaviours:hd([Im.config({mode:"acyclic",useTabstopAt:k(PB)}),wd("TabView.form.events",[id(a),ld(r)]),vb.config({channels:pa([{key:XV,value:{onReceive:r}},{key:KV,value:{onReceive:a}}])})])}))]})),c=e.dynamicHeight?{extraEvents:[],selectFirst:!0}:(e=>{const t=Ye(),o=[id(o=>{const n=o.element;YV(n).each(s=>{gn(s,"visibility","hidden"),o.getSystem().getByDom(s).toOptional().each(o=>{const n=((e,t,o)=>V(e,(n,s)=>{ug.set(o,e[s].view());const r=t.dom.getBoundingClientRect();return ug.set(o,[]),r.height}))(e,s,o),r=(e=>te(Z(e,(e,t)=>e>t?-1:e{te(e).each(e=>LS.showTab(t,e.value))})(e,o),requestAnimationFrame(()=>{qV(n,s,t)})})}),Zc(oi(),e=>{const o=e.element;YV(o).each(e=>{qV(o,e,t)})}),Zc(iB,(e,o)=>{const n=e.element;YV(n).each(e=>{const o=Ho(Oo(e));gn(e,"visibility","hidden");const s=vn(e,"height").map(e=>parseInt(e,10));wn(e,"height"),wn(e,"flex-basis");const r=e.dom.getBoundingClientRect().height;s.forall(e=>r>e)?(t.set(r),qV(n,e,t)):s.each(t=>{GV(e,t)}),wn(e,"visibility"),o.each(zo)})})];return{extraEvents:o,selectFirst:!1}})(l);return LS.sketch({dom:{tag:"div",classes:["tox-dialog__body"]},onChangeTab:(e,t,o)=>{const n=mf.getValue(t);$c(e,aB,{name:n,oldName:i.get()}),i.set(n)},tabs:l,components:[LS.parts.tabbar({dom:{tag:"div",classes:["tox-dialog__body-nav"]},components:[IS.parts.tabs({})],markers:{tabClass:"tox-tab",selectedClass:"tox-dialog__body-nav-item--active"},tabbarBehaviours:hd([iv.config({})])}),LS.parts.tabview({dom:{tag:"div",classes:["tox-dialog__body-content"]}})],selectFirst:c.selectFirst,tabSectionBehaviours:hd([wd("tabpanel",c.extraEvents),Im.config({mode:"acyclic"}),Xg.config({find:e=>te(LS.getViewItems(e))}),fB(A.none(),e=>(e.getSystem().broadcastOn([XV],{}),s.get()),(e,t)=>{s.set(t),e.getSystem().broadcastOn([KV],{})})])})},QV=(e,t,o,n,s,r)=>({dom:{tag:"div",classes:["tox-dialog__content-js"],attributes:{...o.map(e=>({id:e})).getOr({}),...s?{"aria-live":"polite"}:{}}},components:[],behaviours:hd([gB(0),Sb.config({channel:`${jB}-${t}`,updateState:(e,t)=>A.some({isTabPanel:()=>"tabpanel"===t.body.type}),renderComponents:e=>{const t=e.body;return"tabpanel"===t.type?[JV(t,e.initialData,n,r)]:[$V(t,e.initialData,n,r)]},initialData:e})])}),ZV=JS.deviceType.isTouch(),eL=(e,t)=>({dom:{tag:"div",styles:{display:"none"},classes:["tox-dialog__header"]},components:[e,t]}),tL=(e,t)=>yy.parts.close(Wv.sketch({dom:{tag:"button",classes:["tox-button","tox-button--icon","tox-button--naked"],attributes:{type:"button","aria-label":t.translate("Close")}},action:e,buttonBehaviours:hd([iv.config({})])})),oL=()=>yy.parts.title({dom:{tag:"div",classes:["tox-dialog__title"],innerHtml:"",styles:{display:"none"}}}),nL=(e,t)=>yy.parts.body({dom:{tag:"div",classes:["tox-dialog__body"]},components:[{dom:{tag:"div",classes:["tox-dialog__body-content"]},components:[{dom:Av(`

${EO(t.translate(e))}

`)}]}]}),sL=e=>yy.parts.footer({dom:{tag:"div",classes:["tox-dialog__footer"]},components:e}),rL=(e,t)=>[bh.sketch({dom:{tag:"div",classes:["tox-dialog__footer-start"]},components:e}),bh.sketch({dom:{tag:"div",classes:["tox-dialog__footer-end"]},components:t})],aL=e=>{const t="tox-dialog",o=t+"-wrap",n=o+"__backdrop",s=t+"__disable-scroll";return yy.sketch({role:e.role,lazySink:e.lazySink,onEscape:t=>(e.onEscape(t),A.some(!0)),useTabstopAt:e=>!PB(e),firstTabstop:e.firstTabstop,dom:{tag:"div",classes:[t].concat(e.extraClasses),styles:{position:"relative",...e.extraStyles}},components:[e.header,e.body,...e.footer.toArray()],parts:{blocker:{dom:Av(`
`),components:[{dom:{tag:"div",classes:ZV?[n,n+"--opaque"]:[n]}}]}},dragBlockClass:o,modalBehaviours:hd([_d.config({}),wd("dialog-events",e.dialogEvents.concat([ad(Oa(),(e,t)=>{Gg.isBlocked(e)||Im.focusIn(e)}),Zc(ii(),(e,t)=>{e.getSystem().broadcastOn([qB],{newFocus:t.event.newFocus})})])),wd("scroll-lock",[id(()=>{ns(cn(),s)}),ld(()=>{rs(cn(),s)})]),...e.extraBehaviours]),eventOrder:{[Ga()]:["dialog-events"],[ni()]:["scroll-lock","dialog-events","alloy.base.behaviour"],[si()]:["alloy.base.behaviour","dialog-events","scroll-lock"],...e.eventOrder}})},iL=e=>Wv.sketch({dom:{tag:"button",classes:["tox-button","tox-button--icon","tox-button--naked"],attributes:{type:"button","aria-label":e.translate("Close"),"data-mce-name":"close"}},buttonBehaviours:hd([iv.config({}),Tv.config(e.tooltips.getConfig({tooltipText:e.translate("Close")}))]),components:[VO("close",{tag:"span",classes:["tox-icon"]},e.icons)],action:e=>{jc(e,tB)}}),lL=(e,t,o,n)=>({dom:{tag:"h1",classes:["tox-dialog__title"],attributes:{...o.map(e=>({id:e})).getOr({})}},components:[],behaviours:hd([Sb.config({channel:`${WB}-${t}`,initialData:e,renderComponents:e=>[zg(n.translate(e.title))]})])}),cL=()=>({dom:Av('
')}),dL=(e,t,o)=>((e,t,o)=>{const n=yy.parts.title(lL(e,t,A.none(),o)),s=yy.parts.draghandle(cL()),r=yy.parts.close(iL(o)),a=[n].concat(e.draggable?[s]:[]).concat([r]);return bh.sketch({dom:Av('
'),components:a})})({title:o.shared.providers.translate(e),draggable:o.dialog.isDraggableModal()},t,o.shared.providers),uL=(e,t,o,n)=>({dom:{tag:"div",classes:["tox-dialog__busy-spinner"],attributes:{"aria-label":o.translate(e)},styles:{left:"0px",right:"0px",bottom:"0px",top:`${n.getOr(0)}px`,position:"absolute"}},behaviours:t,components:[{dom:Av('
')}]}),mL=(e,t,o)=>({onClose:()=>o.closeWindow(),onBlock:o=>{const n=Xn(e().element,".tox-dialog__header").map(e=>On(e));yy.setBusy(e(),(e,s)=>uL(o.message,s,t,n))},onUnblock:()=>{yy.setIdle(e())}}),gL="tox-dialog--fullscreen",pL="tox-dialog--width-lg",hL="tox-dialog--width-md",fL=e=>{switch(e){case"large":return A.some(pL);case"medium":return A.some(hL);default:return A.none()}},bL=(e,t)=>{const o=ct(t.element.dom);as(o,gL)||(ls(o,[pL,hL]),fL(e).each(e=>ns(o,e)))},vL=(e,t)=>{const o=ct(e.element.dom),n=cs(o),s=j(n,e=>e===pL||e===hL).or(fL(t));((e,t)=>{L(t,t=>{((e,t)=>{const o=Zn(e)?e.dom.classList.toggle(t):((e,t)=>F(es(e),t)?os(e,t):ts(e,t))(e,t);ss(e)})(e,t)})})(o,[gL,...s.toArray()])},xL=(e,t,o)=>Pg(aL({...e,firstTabstop:1,lazySink:o.shared.getSink,extraBehaviours:[vB({}),...e.extraBehaviours],onEscape:e=>{jc(e,tB)},dialogEvents:t,eventOrder:{[$a()]:[Sb.name(),vb.name()],[ni()]:["scroll-lock",Sb.name(),"messages","dialog-events","alloy.base.behaviour"],[si()]:["alloy.base.behaviour","dialog-events","messages",Sb.name(),"scroll-lock"]}})),yL=(e,t={})=>V(e,e=>"menu"===e.type?(e=>{const o=V(e.items,e=>{const o=fe(t,e.name).getOr(ye(!1));return{...e,storage:o}});return{...e,items:o}})(e):e),wL=e=>W(e,(e,t)=>"menu"===t.type?W(t.items,(e,t)=>(e[t.name]=t.storage,e),e):e,{}),SL=(e,t)=>{const o=()=>t.getSystem().isConnected()?Im.focusIn(t):void 0,n=e=>Qo(e,"disabled")||Jo(e,"aria-disabled").exists(e=>"true"===e),s=Oo(t.element),r=Ho(s);Ho(s).fold(o,t=>{n(t)||r.exists(e=>St(t,e)&&n(e))?o():e().toOptional().filter(e=>!St(e.element,t)).each(o)})},CL=(e,t,o)=>[nd(Oa(),HB),e(eB,(e,o,n,s)=>{Lo(s.element)&&Ho(Oo(s.element)).each(Vo),t.onClose(),o.onClose()}),e(tB,(e,t,o,n)=>{t.onCancel(e),jc(n,eB)}),Zc(rB,(e,n)=>{t.onUnblock(),SL(o,e)}),Zc(sB,(e,o)=>t.onBlock(o.event))],kL=(e,t,o)=>{const n=(t,o)=>Zc(t,(t,n)=>{s(t,(s,r)=>{o(e(),s,n.event,t)})}),s=(e,t)=>{Sb.getState(e).get().each(o=>{t(o.internalDialog,e)})};return[...CL(n,t,o),n(nB,(e,t)=>t.onSubmit(e)),n(QM,(e,t,o)=>{t.onChange(e,{name:o.name})}),n(oB,(e,t,n,s)=>{t.onAction(e,{name:n.name,value:n.value}),SL(o,s)}),n(aB,(e,t,o)=>{t.onTabChange(e,{newTabName:o.name,oldTabName:o.oldName})}),ld(t=>{const o=e();mf.setValue(t,o.getData())})]},OL=(e,t)=>{const o=t.map(e=>e.footerButtons).getOr([]),n=H(o,e=>"start"===e.align),s=(e,t)=>bh.sketch({dom:{tag:"div",classes:[`tox-dialog__footer-${e}`]},components:V(t,e=>e.memento.asSpec())});return[s("start",n.pass),s("end",n.fail)]},_L=(e,t,o)=>({dom:Av(''),components:[],behaviours:hd([Sb.config({channel:`${$B}-${t}`,initialData:e,updateState:(e,t)=>{const n=V(t.buttons,e=>{const t=Dv(((e,t)=>XI(e,e.type,t))(e,o));return{name:e.name,align:e.align,memento:t}});return A.some({lookupByName:t=>((e,t,o)=>j(t,e=>e.name===o).bind(t=>t.memento.getOpt(e)))(e,n,t),footerButtons:n})},renderComponents:OL})])}),TL=(e,t,o)=>yy.parts.footer(_L(e,t,o)),EL=(e,t)=>{if(e.getRoot().getSystem().isConnected()){const o=Xg.getCurrent(e.getFormWrapper()).getOr(e.getFormWrapper());return $x.getField(o,t).orThunk(()=>{const o=e.getFooter().bind(e=>Sb.getState(e).get());return o.bind(e=>e.lookupByName(t))})}return A.none()},AL=(e,t,o)=>{const n=t=>{const o=e.getRoot();o.getSystem().isConnected()&&t(o)},s={getData:()=>{const t=e.getRoot(),n=t.getSystem().isConnected()?e.getFormWrapper():t;return{...mf.getValue(n),...le(o,e=>e.get())}},setData:t=>{n(n=>{const r=s.getData(),a=Ve(r,t),i=((e,t)=>{const o=e.getRoot();return Sb.getState(o).get().map(e=>Ir(Br("data",e.dataValidator,t))).getOr(t)})(e,a),l=e.getFormWrapper();mf.setValue(l,i),ie(o,(e,t)=>{be(a,t)&&e.set(a[t])})})},setEnabled:(t,o)=>{EL(e,t).each(o?gp.enable:gp.disable)},focus:t=>{EL(e,t).each(_d.focus)},block:e=>{if(!r(e))throw new Error("The dialogInstanceAPI.block function should be passed a blocking message of type string as an argument");n(t=>{$c(t,sB,{message:e})})},unblock:()=>{n(e=>{jc(e,rB)})},showTab:t=>{n(o=>{const n=e.getBody();Sb.getState(n).get().exists(e=>e.isTabPanel())&&Xg.getCurrent(n).each(e=>{LS.showTab(e,t)})})},redial:r=>{n(n=>{const a=e.getId(),i=t(r),l=yL(i.internalDialog.buttons,o);n.getSystem().broadcastOn([`${UB}-${a}`],i),n.getSystem().broadcastOn([`${WB}-${a}`],i.internalDialog),n.getSystem().broadcastOn([`${jB}-${a}`],i.internalDialog),n.getSystem().broadcastOn([`${$B}-${a}`],{...i.internalDialog,buttons:l}),s.setData(i.initialData)})},close:()=>{n(e=>{jc(e,eB)})},toggleFullscreen:e.toggleFullscreen};return s},DL=(e,t,o,n=!1,s)=>{const r=Ne("dialog"),a=Ne("dialog-label"),i=Ne("dialog-content"),l=e.internalDialog,c=ye(l.size),d=fL(c.get()).toArray(),u=Dv(((e,t,o,n)=>bh.sketch({dom:Av('
'),components:[lL(e,t,A.some(o),n),cL(),iL(n)],containerBehaviours:hd([Wh.config({mode:"mouse",blockerClass:"blocker",getTarget:e=>Kn(e,'[role="dialog"]').getOrDie(),snaps:{getSnapPoints:()=>[],leftAttr:"data-drag-left",topAttr:"data-drag-top"},onDrag:(e,t)=>{e.getSystem().broadcastOn([Vd()],{target:t})}})])}))({title:l.title,draggable:!0},r,a,o.shared.providers)),m=Dv(((e,t,o,n,s,r)=>QV(e,t,A.some(o),n,s,r))({body:l.body,initialData:l.initialData},r,i,o,n,e=>EL(x,e))),g=yL(l.buttons),p=wL(g),h=je(0!==g.length,Dv(((e,t,o)=>_L(e,t,o))({buttons:g},r,o))),f=kL(()=>w,{onBlock:e=>{Gg.block(v,(t,n)=>{const s=u.getOpt(v).map(e=>On(e.element));return uL(e.message,n,o.shared.providers,s)})},onUnblock:()=>{Gg.unblock(v)},onClose:()=>t.closeWindow()},o.shared.getSink),b=Qt().os,v=Pg({dom:{tag:"div",classes:["tox-dialog","tox-dialog-inline",...d],attributes:{role:"dialog",...b.isMacOS()?{"aria-label":l.title}:{"aria-labelledby":a}}},eventOrder:{[$a()]:[Sb.name(),vb.name()],[Ga()]:["execute-on-form"],[ni()]:["reflecting","execute-on-form"]},behaviours:hd([Im.config({mode:"cyclic",onEscape:e=>(jc(e,eB),A.some(!0)),useTabstopAt:e=>!PB(e)&&("button"!==to(e)||"disabled"!==Ko(e,"disabled")),firstTabstop:1}),Sb.config({channel:`${UB}-${r}`,updateState:(e,t)=>(c.set(t.internalDialog.size),bL(t.internalDialog.size,e),s(),A.some(t)),initialData:e}),_d.config({}),wd("execute-on-form",f.concat([ad(Oa(),(e,t)=>{Im.focusIn(e)}),Zc(ii(),(e,t)=>{e.getSystem().broadcastOn([qB],{newFocus:t.event.newFocus})})])),Gg.config({getRoot:()=>A.some(v)}),ug.config({}),vB({})]),components:[u.asSpec(),m.asSpec(),...h.map(e=>e.asSpec()).toArray()]}),x={getId:y(r),getRoot:y(v),getFooter:()=>h.map(e=>e.get(v)),getBody:()=>m.get(v),getFormWrapper:()=>{const e=m.get(v);return Xg.getCurrent(e).getOr(e)},toggleFullscreen:()=>{vL(v,c.get())}},w=AL(x,t.redial,p);return{dialog:v,instanceApi:w}};var ML=tinymce.util.Tools.resolve("tinymce.util.URI");const BL=["insertContent","setContent","execCommand","close","block","unblock"],IL=e=>a(e)&&-1!==BL.indexOf(e.mceAction),FL=(e,t,o,n)=>{const s=Ne("dialog"),i=dL(e.title,s,n),l=(e=>{const t={dom:{tag:"div",classes:["tox-dialog__content-js"]},components:[{dom:{tag:"div",classes:["tox-dialog__body-iframe"]},components:[VB(A.none(),{dom:{tag:"iframe",attributes:{src:e.url}},behaviours:hd([iv.config({}),_d.config({})])})]}],behaviours:hd([Im.config({mode:"acyclic",useTabstopAt:k(PB)})])};return yy.parts.body(t)})(e),c=e.buttons.bind(e=>0===e.length?A.none():A.some(TL({buttons:e},s,n))),u=((e,t,o)=>{const n=(e,t)=>Zc(e,(e,o)=>{s(e,(n,s)=>{t(y,n,o.event,e)})}),s=(e,t)=>{Sb.getState(e).get().each(o=>{t(o,e)})};return[...CL(n,t,o),n(oB,(e,t,o)=>{t.onAction(e,{name:o.name})})]})(0,mL(()=>x,n.shared.providers,t),n.shared.getSink),m={...e.height.fold(()=>({}),e=>({height:e+"px","max-height":e+"px"})),...e.width.fold(()=>({}),e=>({width:e+"px","max-width":e+"px"}))},p=e.width.isNone()&&e.height.isNone()?["tox-dialog--width-lg"]:[],h=new ML(e.url,{base_uri:new ML(window.location.href)}),f=`${h.protocol}://${h.host}${h.port?":"+h.port:""}`,b=qe(),v=[Sb.config({channel:`${UB}-${s}`,updateState:(e,t)=>A.some(t),initialData:e}),wd("messages",[id(()=>{const t=Io(ct(window),"message",t=>{if(h.isSameOrigin(new ML(t.raw.origin))){const n=t.raw.data;IL(n)?((e,t,o)=>{switch(o.mceAction){case"insertContent":e.insertContent(o.content);break;case"setContent":e.setContent(o.content);break;case"execCommand":const n=!!d(o.ui)&&o.ui;e.execCommand(o.cmd,n,o.value);break;case"close":t.close();break;case"block":t.block(o.message);break;case"unblock":t.unblock()}})(o,y,n):(e=>!IL(e)&&a(e)&&be(e,"mceAction"))(n)&&e.onMessage(y,n)}});b.set(t)}),ld(b.clear)]),vb.config({channels:{[GB]:{onReceive:(e,t)=>{Xn(e.element,"iframe").each(e=>{const o=e.dom.contentWindow;g(o)&&o.postMessage(t,f)})}}}})],x=xL({id:s,header:i,body:l,footer:c,extraClasses:p,extraBehaviours:v,extraStyles:m},u,n),y=(e=>{const t=t=>{e.getSystem().isConnected()&&t(e)};return{block:e=>{if(!r(e))throw new Error("The urlDialogInstanceAPI.block function should be passed a blocking message of type string as an argument");t(t=>{$c(t,sB,{message:e})})},unblock:()=>{t(e=>{jc(e,rB)})},close:()=>{t(e=>{jc(e,eB)})},sendMessage:e=>{t(t=>{t.getSystem().broadcastOn([GB],e)})}}})(x);return{dialog:x,instanceApi:y}},RL=(e,t)=>Ir(Br("data",t,e)),NL=e=>hs(e,".tox-alert-dialog")||hs(e,".tox-confirm-dialog"),zL=(e,t,o,n)=>t&&o?[]:[Hp.config({contextual:{lazyContext:()=>A.some(Hs(ct(e.getContentAreaContainer()))),fadeInClass:"tox-dialog-dock-fadein",fadeOutClass:"tox-dialog-dock-fadeout",transitionClass:"tox-dialog-dock-transition",onHide:n},modes:["top"],lazyViewport:t=>gk(e,t.element).map(e=>({bounds:pk(e),optScrollEnv:A.some({currentScrollTop:e.element.dom.scrollTop,scrollElmTop:Fn(e.element).top})})).getOrThunk(()=>({bounds:Ws(),optScrollEnv:A.none()}))})],VL=e=>{const t=e.editor,o=rk(t),n=(e=>{const t=e.shared;return{open:(o,n)=>{const s=()=>{yy.hide(l),n()},r=Dv(XI({context:"any",name:"close-alert",text:"OK",primary:!0,buttonType:A.some("primary"),align:"end",enabled:!0,icon:A.none()},"cancel",e)),a=oL(),i=tL(s,t.providers),l=Pg(aL({role:"alertdialog",lazySink:()=>t.getSink(),header:eL(a,i),body:nL(o,t.providers),footer:A.some(sL(rL([],[r.asSpec()]))),onEscape:s,extraClasses:["tox-alert-dialog"],extraBehaviours:[],extraStyles:{},dialogEvents:[Zc(tB,s),id(e=>{const t=yy.getBody(e);qs(e.element,t.element)})],eventOrder:{}}));yy.show(l);const c=r.get(l);_d.focus(c)}}})(e.backstages.dialog),s=(e=>{const t=e.shared;return{open:(o,n)=>{const s=e=>{yy.hide(c),n(e)},r=Dv(XI({context:"any",name:"yes",text:"Yes",primary:!0,buttonType:A.some("primary"),align:"end",enabled:!0,icon:A.none()},"submit",e)),a=XI({context:"any",name:"no",text:"No",primary:!1,buttonType:A.some("secondary"),align:"end",enabled:!0,icon:A.none()},"cancel",e),i=oL(),l=tL(()=>s(!1),t.providers),c=Pg(aL({role:"alertdialog",lazySink:()=>t.getSink(),header:eL(i,l),body:nL(o,t.providers),footer:A.some(sL(rL([],[a,r.asSpec()]))),onEscape:()=>s(!1),extraClasses:["tox-confirm-dialog"],extraBehaviours:[],extraStyles:{},dialogEvents:[Zc(tB,()=>s(!1)),Zc(nB,()=>s(!0)),id(e=>{const t=yy.getBody(e);qs(e.element,t.element)})],eventOrder:{}}));yy.show(c);const d=r.get(c);_d.focus(d)}}})(e.backstages.dialog),r=(t,o)=>jE.open((t,n,s)=>{const r=n,a=((e,t,o)=>{const n=Ne("dialog"),s=e.internalDialog,r=dL(s.title,n,o),a=ye(s.size),i=fL(a.get()).toArray(),l=((e,t,o,n)=>{const s=QV(e,t,A.none(),o,!1,n);return yy.parts.body(s)})({body:s.body,initialData:s.initialData},n,o,e=>EL(h,e)),c=yL(s.buttons),d=wL(c),u=je(0!==c.length,TL({buttons:c},n,o)),m=kL(()=>f,mL(()=>p,o.shared.providers,t),o.shared.getSink),g={id:n,header:r,body:l,footer:u,extraClasses:i,extraBehaviours:[Sb.config({channel:`${UB}-${n}`,updateState:(e,t)=>(a.set(t.internalDialog.size),bL(t.internalDialog.size,e),A.some(t)),initialData:e})],extraStyles:{}},p=xL(g,m,o),h={getId:y(n),getRoot:y(p),getBody:()=>yy.getBody(p),getFooter:()=>yy.getFooter(p),getFormWrapper:()=>{const e=yy.getBody(p);return Xg.getCurrent(e).getOr(e)},toggleFullscreen:()=>{vL(p,a.get())}},f=AL(h,t.redial,d);return{dialog:p,instanceApi:f}})({dataValidator:s,initialData:r,internalDialog:t},{redial:jE.redial,closeWindow:()=>{yy.hide(a.dialog),o(a.instanceApi)}},e.backstages.dialog);return yy.show(a.dialog),a.instanceApi.setData(r),a.instanceApi},t),a=(n,s,r,a)=>jE.open((n,i,l)=>{const c=RL(i,l),d=Ye(),u=e.backstages.popup.shared.header.isPositionedAtTop(),m=()=>d.on(e=>{dy.reposition(e),o&&u||Hp.refresh(e)}),g=DL({dataValidator:l,initialData:c,internalDialog:n},{redial:jE.redial,closeWindow:()=>{d.on(dy.hide),t.off("ResizeEditor",m),t.off("ScrollWindow",p),d.clear(),r(g.instanceApi)}},e.backstages.popup,a.ariaAttrs,m),p=()=>g.dialog.getSystem().broadcastOn([Vd()],{target:g.dialog.element}),h=Pg(dy.sketch({lazySink:e.backstages.popup.shared.getSink,dom:{tag:"div",classes:[]},fireDismissalEventInstead:a.persistent?{event:"doNotDismissYet"}:{},...u?{}:{fireRepositionEventInstead:{}},inlineBehaviours:hd([wd("window-manager-inline-events",[Zc(ri(),(e,t)=>{jc(g.dialog,tB)})]),...zL(t,o,u,()=>g.dialog.getSystem().broadcastOn([zd()],{target:g.dialog.element}))]),isExtraPart:(e,t)=>NL(t)}));return d.set(h),dy.showWithinBounds(h,Ug(g.dialog),{anchor:s},()=>{const e=t.inline?cn():ct(t.getContainer()),o=Hs(e);return A.some(o)}),o&&u||(Hp.refresh(h),t.on("ResizeEditor",m)),t.on("ScrollWindow",p),g.instanceApi.setData(c),Im.focusIn(g.dialog),g.instanceApi},n),i=(o,n,s,r)=>jE.open((o,a,i)=>{const l=RL(a,i),c=Ye(),d=e.backstages.popup.shared.header.isPositionedAtTop(),u=()=>c.on(e=>{dy.reposition(e),Hp.refresh(e)}),m=DL({dataValidator:i,initialData:l,internalDialog:o},{redial:jE.redial,closeWindow:()=>{c.on(dy.hide),t.off("ResizeEditor ScrollWindow ElementScroll",u),c.clear(),s(m.instanceApi)}},e.backstages.popup,r.ariaAttrs,u),g=Pg(dy.sketch({lazySink:e.backstages.popup.shared.getSink,dom:{tag:"div",classes:[]},fireDismissalEventInstead:r.persistent?{event:"doNotDismissYet"}:{},...d?{}:{fireRepositionEventInstead:{}},inlineBehaviours:hd([wd("window-manager-inline-events",[Zc(ri(),(e,t)=>{jc(m.dialog,tB)})]),Hp.config({contextual:{lazyContext:()=>A.some(Hs(ct(t.getContentAreaContainer()))),fadeInClass:"tox-dialog-dock-fadein",fadeOutClass:"tox-dialog-dock-fadeout",transitionClass:"tox-dialog-dock-transition"},modes:["top","bottom"],lazyViewport:e=>gk(t,e.element).map(e=>({bounds:pk(e),optScrollEnv:A.some({currentScrollTop:e.element.dom.scrollTop,scrollElmTop:Fn(e.element).top})})).getOrThunk(()=>({bounds:Ws(),optScrollEnv:A.none()}))})]),isExtraPart:(e,t)=>NL(t)}));return c.set(g),dy.showWithinBounds(g,Ug(m.dialog),{anchor:n},()=>e.backstages.popup.shared.getSink().toOptional().bind(e=>{const o=gk(t,e.element).map(e=>pk(e)).getOr(Ws()),n=Hs(ct(t.getContentAreaContainer())),s=Us(n,o);return A.some(Ls(s.x,s.y,s.width,s.height-15))})),Hp.refresh(g),t.on("ResizeEditor ScrollWindow ElementScroll ResizeWindow",u),m.instanceApi.setData(l),Im.focusIn(m.dialog),m.instanceApi},o);return{open:(t,o,n)=>{if(!u(o)){if("toolbar"===o.inline)return a(t,e.backstages.popup.shared.anchors.inlineDialog(),n,o);if("bottom"===o.inline)return i(t,e.backstages.popup.shared.anchors.inlineBottomDialog(),n,o);if("cursor"===o.inline)return a(t,e.backstages.popup.shared.anchors.cursor(),n,o)}return r(t,n)},openUrl:(o,n)=>((o,n)=>jE.openUrl(o=>{const s=FL(o,{closeWindow:()=>{yy.hide(s.dialog),n(s.instanceApi)}},t,e.backstages.dialog);return yy.show(s.dialog),s.instanceApi},o))(o,n),alert:(e,t)=>{n.open(e,t)},close:e=>{e.close()},confirm:(e,t)=>{s.open(e,t)}}},LL=e=>{oC(e),(e=>{const t=e.options.register,o=e=>{return f(e,r)?{value:(t=e,aM(t.map((e,t)=>t%2==0?"#"+(e=>{return(t=e,CD(t)?A.some({value:kD(t)}):A.none()).orThunk(()=>LD(e).map(_D)).getOrThunk(()=>{const t=document.createElement("canvas");t.height=1,t.width=1;const o=t.getContext("2d");o.clearRect(0,0,t.width,t.height),o.fillStyle="#FFFFFF",o.fillStyle=e,o.fillRect(0,0,1,1);const n=o.getImageData(0,0,1,1).data,s=n[0],r=n[1],a=n[2],i=n[3];return _D(FD(s,r,a,i))});var t})(e).value:e))),valid:!0}:{valid:!1,message:"Must be an array of strings."};var t},n=e=>h(e)&&e>0?{value:e,valid:!0}:{valid:!1,message:"Must be a positive number."};t("color_map",{processor:o,default:["#BFEDD2","Light Green","#FBEEB8","Light Yellow","#F8CAC6","Light Red","#ECCAFA","Light Purple","#C2E0F4","Light Blue","#2DC26B","Green","#F1C40F","Yellow","#E03E2D","Red","#B96AD9","Purple","#3598DB","Blue","#169179","Dark Turquoise","#E67E23","Orange","#BA372A","Dark Red","#843FA1","Dark Purple","#236FA1","Dark Blue","#ECF0F1","Light Gray","#CED4D9","Medium Gray","#95A5A6","Gray","#7E8C8D","Dark Gray","#34495E","Navy Blue","#000000","Black","#ffffff","White"]}),t("color_map_raw",{processor:e=>f(e,r)?{value:aM(e),valid:!0}:{valid:!1,message:"Must be an array of strings."}}),t("color_map_background",{processor:o}),t("color_map_foreground",{processor:o}),t("color_cols",{processor:n,default:dM(e)}),t("color_cols_foreground",{processor:n,default:uM(e,sM)}),t("color_cols_background",{processor:n,default:uM(e,rM)}),t("custom_colors",{processor:"boolean",default:!0}),t("color_default_foreground",{processor:"string",default:lM}),t("color_default_background",{processor:"string",default:lM})})(e),(e=>{const t=e.options.register;t("contextmenu_avoid_overlap",{processor:"string",default:""}),t("contextmenu_never_use_native",{processor:"boolean",default:!1}),t("contextmenu",{processor:e=>!1===e?{value:[],valid:!0}:r(e)||f(e,r)?{value:cV(e),valid:!0}:{valid:!1,message:"Must be false or a string."},default:"link linkchecker image editimage table spellchecker configurepermanentpen"})})(e)};qS.add("silver",e=>{LL(e);let t=()=>Ws();const{dialogs:o,popups:n,renderUI:s}=WV(e,{getPopupSinkBounds:()=>t()});GM(e,n.backstage.shared);const r=VL({editor:e,backstages:{popup:n.backstage,dialog:o.backstage}}),a=Ye();return{renderUI:()=>{const o=s();return gk(e,n.getMothership().element).each(e=>{t=()=>pk(e)}),o},getWindowManagerImpl:y(r),getNotificationManagerImpl:()=>PO(e,{backstage:n.backstage},n.getMothership(),a),getPromotionElement:()=>Xn(ct(e.getContainer()),".tox-promotion").map(e=>e.dom).getOrNull(),getSinkElement:e=>"dialog"===e?o.getMothership().element.dom:n.getMothership().element.dom}})}(); \ No newline at end of file diff --git a/libraries/tinymce/js/tinymce/tinymce.d.ts b/libraries/tinymce/js/tinymce/tinymce.d.ts index b2ad40e..f457262 100644 --- a/libraries/tinymce/js/tinymce/tinymce.d.ts +++ b/libraries/tinymce/js/tinymce/tinymce.d.ts @@ -2622,6 +2622,7 @@ interface EditorSelection { getStart: (real?: boolean) => Element; getEnd: (real?: boolean) => Element; getSelectedBlocks: (startElm?: Element, endElm?: Element) => Element[]; + getFullySelectedBlocks: () => Element[]; normalize: () => Range; selectorChanged: (selector: string, callback: (active: boolean, args: { node: Node; diff --git a/libraries/tinymce/js/tinymce/tinymce.min.js b/libraries/tinymce/js/tinymce/tinymce.min.js index 1a5762c..fa61adf 100644 --- a/libraries/tinymce/js/tinymce/tinymce.min.js +++ b/libraries/tinymce/js/tinymce/tinymce.min.js @@ -1,5 +1,5 @@ /** - * TinyMCE version 8.10.0 (2026-10-14) + * TinyMCE version 8.10.2 (2026-11-11) */ /** @@ -7,6 +7,6 @@ * DOMPurify 3.4.11 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.11/LICENSE */ -!function(){"use strict";var e=function(e){if(null===e)return"null";if(void 0===e)return"undefined";var t=typeof e;return"object"===t&&(Array.prototype.isPrototypeOf(e)||e.constructor&&"Array"===e.constructor.name)?"array":"object"===t&&(String.prototype.isPrototypeOf(e)||e.constructor&&"String"===e.constructor.name)?"string":t},t=function(e){return{eq:e}},n=t(function(e,t){return e===t}),o=function(e){return t(function(t,n){if(t.length!==n.length)return!1;for(var o=t.length,r=0;r!!n(e,t.prototype)||e.constructor?.name===t.name,l=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&i(e,String,(e,t)=>t.isPrototypeOf(e))?"string":t})(t)===e,c=e=>t=>typeof t===e,d=e=>t=>e===t,m=(e,t)=>f(e)&&i(e,t,(e,t)=>a(e)===t),u=l("string"),f=l("object"),g=e=>m(e,Object),p=l("array"),h=d(null),b=c("boolean"),y=d(void 0),v=e=>null==e,C=e=>!v(e),w=c("function"),S=c("number"),E=(e,t)=>{if(p(e)){for(let n=0,o=e.length;n{},_=(e,t)=>(...n)=>e(t.apply(null,n)),k=(e,t)=>n=>e(t(n)),N=e=>()=>e,R=e=>e,A=(e,t)=>e===t;function D(e,...t){return(...n)=>{const o=t.concat(n);return e.apply(null,o)}}const T=e=>t=>!e(t),O=e=>()=>{throw new Error(e)},B=e=>e(),P=e=>{e()},L=N(!1),M=N(!0);class I{tag;value;static singletonNone=new I(!1);constructor(e,t){this.tag=e,this.value=t}static some(e){return new I(!0,e)}static none(){return I.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?I.some(e(this.value)):I.none()}bind(e){return this.tag?e(this.value):I.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:I.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(e??"Called getOrDie on None")}static from(e){return C(e)?I.some(e):I.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}const F=Array.prototype.slice,U=Array.prototype.indexOf,z=Array.prototype.push,j=(e,t)=>U.call(e,t),$=(e,t)=>j(e,t)>-1,H=(e,t)=>{for(let n=0,o=e.length;n{const n=e.length,o=new Array(n);for(let r=0;r{for(let n=0,o=e.length;n{for(let n=e.length-1;n>=0;n--)t(e[n],n)},K=(e,t)=>{const n=[],o=[];for(let r=0,s=e.length;r{const n=[];for(let o=0,r=e.length;o(W(e,(e,o)=>{n=t(n,e,o)}),n),X=(e,t,n)=>(q(e,(e,o)=>{n=t(n,e,o)}),n),Q=(e,t,n)=>{for(let o=0,r=e.length;oQ(e,t,L),J=(e,t)=>{for(let n=0,o=e.length;n{for(let n=e.length-1;n>=0;n--)if(t(e[n],n))return I.some({v:e[n],i:n});return I.none()},te=e=>{const t=[];for(let n=0,o=e.length;nte(V(e,t)),oe=(e,t)=>{for(let n=0,o=e.length;n{const t=F.call(e,0);return t.reverse(),t},se=(e,t)=>Y(e,e=>!$(t,e)),ae=(e,t)=>{const n={};for(let o=0,r=e.length;o{const n=F.call(e,0);return n.sort(t),n},le=(e,t)=>t>=0&&tle(e,0),de=e=>le(e,e.length-1),me=w(Array.from)?Array.from:e=>F.call(e),ue=(e,t)=>{for(let n=0;n{const n=[],o=w(t)?e=>H(n,n=>t(n,e)):e=>$(n,e);for(let t=0,r=e.length;t{const n=ge(e);for(let o=0,r=n.length;oye(e,(e,n)=>({k:n,v:t(e,n)})),ye=(e,t)=>{const n={};return he(e,(e,o)=>{const r=t(e,o);n[r.k]=r.v}),n},ve=e=>(t,n)=>{e[n]=t},Ce=(e,t,n,o)=>{he(e,(e,r)=>{(t(e,r)?n:o)(e,r)})},we=(e,t)=>{const n={};return Ce(e,t,ve(n),x),n},Se=(e,t)=>{const n=[];return he(e,(e,o)=>{n.push(t(e,o))}),n},Ee=e=>Se(e,R),xe=(e,t)=>_e(e,t)?I.from(e[t]):I.none(),_e=(e,t)=>pe.call(e,t),ke=(e,t)=>_e(e,t)&&void 0!==e[t]&&null!==e[t],Ne=e=>{if(!p(e))throw new Error("cases must be an array");if(0===e.length)throw new Error("there must be at least one case");const t=[],n={};return q(e,(o,r)=>{const s=ge(o);if(1!==s.length)throw new Error("one and only one name per case");const a=s[0],i=o[a];if(void 0!==n[a])throw new Error("duplicate key detected:"+a);if("cata"===a)throw new Error("cannot have a case named cata (sorry)");if(!p(i))throw new Error("case arguments must be an array");t.push(a),n[a]=(...n)=>{const o=n.length;if(o!==i.length)throw new Error("Wrong number of arguments to case "+a+". Expected "+i.length+" ("+i+"), got "+o);return{fold:(...t)=>{if(t.length!==e.length)throw new Error("Wrong number of arguments to fold. Expected "+e.length+", got "+t.length);return t[r].apply(null,n)},match:e=>{const o=ge(e);if(t.length!==o.length)throw new Error("Wrong number of arguments to match. Expected: "+t.join(",")+"\nActual: "+o.join(","));if(!oe(t,e=>$(o,e)))throw new Error("Not all branches were specified when using match. Specified: "+o.join(", ")+"\nRequired: "+t.join(", "));return e[a].apply(null,n)},log:e=>{console.log(e,{constructors:t,constructor:a,params:n})}}}}),n},Re=e=>{let t=e;return{get:()=>t,set:e=>{t=e}}},Ae=e=>{const t=t=>t(e),n=N(e),o=()=>r,r={tag:!0,inner:e,fold:(t,n)=>n(e),isValue:M,isError:L,map:t=>Te.value(t(e)),mapError:o,bind:t,exists:t,forall:t,getOr:n,or:o,getOrThunk:n,orThunk:o,getOrDie:n,each:t=>{t(e)},toOptional:()=>I.some(e)};return r},De=e=>{const t=()=>n,n={tag:!1,inner:e,fold:(t,n)=>t(e),isValue:L,isError:M,map:t,mapError:t=>Te.error(t(e)),bind:t,exists:L,forall:M,getOr:R,or:R,getOrThunk:B,orThunk:B,getOrDie:O(String(e)),each:x,toOptional:I.none};return n},Te={value:Ae,error:De,fromOption:(e,t)=>e.fold(()=>De(t),Ae)},Oe="undefined"!=typeof window?window:Function("return this;")(),Be=()=>window.crypto.getRandomValues(new Uint32Array(1))[0]/4294967295;let Pe=0;const Le=e=>{const t=(new Date).getTime(),n=Math.floor(1e9*Be());return Pe++,e+"_"+n+Pe+String(t)},Me=()=>window.isSecureContext?window.crypto.randomUUID():(()=>{const e=(()=>{const e=window.crypto.getRandomValues(new Uint8Array(16));return e[6]=15&e[6]|64,e[8]=63&e[8]|128,e})(),t=(t,n)=>{let o="";for(let r=t;r<=n;++r)o+=e[r].toString(16).padStart(2,"0");return o};return`${t(0,3)}-${t(4,5)}-${t(6,7)}-${t(8,9)}-${t(10,15)}`})(),Ie=e=>(...t)=>{if(0===t.length)throw new Error("Can't merge zero objects");const n={};for(let o=0;og(e)&&g(t)?Fe(e,t):t),Ue=Ie((e,t)=>t),ze=(e,t,n=A)=>e.exists(e=>n(e,t)),je=(e,t,n=A)=>$e(e,t,n).getOr(e.isNone()&&t.isNone()),$e=(e,t,n)=>e.isSome()&&t.isSome()?I.some(n(e.getOrDie(),t.getOrDie())):I.none(),He=(e,t)=>e?I.some(t):I.none(),Ve=(e,t)=>((e,t)=>{let n=null!=t?t:Oe;for(let t=0;t{const t=[],n=[];return q(e,e=>{e.fold(e=>{t.push(e)},e=>{n.push(e)})}),{errors:t,values:n}},We=e=>{const t=Re(I.none()),n=()=>t.get().each(e=>clearInterval(e));return{clear:()=>{n(),t.set(I.none())},isSet:()=>t.get().isSome(),get:()=>t.get(),set:o=>{n(),t.set(I.some(setInterval(o,e)))}}},Ke=()=>{const e=(e=>{const t=Re(I.none()),n=()=>t.get().each(e);return{clear:()=>{n(),t.set(I.none())},isSet:()=>t.get().isSome(),get:()=>t.get(),set:e=>{n(),t.set(I.some(e))}}})(x);return{...e,on:t=>e.get().each(t)}},Ye=(e,t,n)=>""===t||e.length>=t.length&&e.substr(n,n+t.length)===t,Ge=(e,t)=>Qe(e,t)?((e,t)=>e.substring(t))(e,t.length):e,Xe=(e,t,n=0,o)=>{const r=e.indexOf(t,n);return-1!==r&&(!!y(o)||r+t.length<=o)},Qe=(e,t)=>Ye(e,t,0),Ze=(e,t)=>Ye(e,t,e.length-t.length),Je=e=>t=>t.replace(e,""),et=Je(/^\s+|\s+$/g),tt=Je(/^\s+/g),nt=Je(/\s+$/g),ot=e=>e.length>0,rt=e=>!ot(e),st=(e,t=10)=>{const n=parseInt(e,t);return isNaN(n)?I.none():I.some(n)},at=(e,t)=>{let n=null;return{cancel:()=>{h(n)||(clearTimeout(n),n=null)},throttle:(...o)=>{h(n)&&(n=setTimeout(()=>{n=null,e.apply(null,o)},t))}}},it=(e,t)=>{let n=null;const o=()=>{h(n)||(clearTimeout(n),n=null)};return{cancel:o,throttle:(...r)=>{o(),n=setTimeout(()=>{n=null,e.apply(null,r)},t)}}},lt=e=>{let t,n=!1;return(...o)=>(n||(n=!0,t=e.apply(null,o)),t)},ct="\ufeff",dt="\xa0",mt=e=>e===ct,ut=e=>{const t={};return q(e,e=>{t[e]={}}),ge(t)},ft=e=>void 0!==e.length,gt=Array.isArray,pt=(e,t,n)=>{if(!e)return!1;if(n=n||e,ft(e)){for(let o=0,r=e.length;o{const n=[];return pt(e,(o,r)=>{n.push(t(o,r,e))}),n},bt=(e,t)=>{const n=[];return pt(e,(o,r)=>{t&&!t(o,r,e)||n.push(o)}),n},yt=(e,t,n,o)=>{let r=y(n)?e[0]:n;for(let n=0;n{for(let o=0,r=e.length;oe[e.length-1],wt=()=>St(0,0),St=(e,t)=>({major:e,minor:t}),Et={nu:St,detect:(e,t)=>{const n=String(t).toLowerCase();return 0===e.length?wt():((e,t)=>{const n=((e,t)=>{for(let n=0;nNumber(t.replace(n,"$"+e));return St(o(1),o(2))})(e,n)},unknown:wt},xt=(e,t)=>{const n=String(t).toLowerCase();return Z(e,e=>e.search(n))},_t=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,kt=e=>t=>Xe(t,e),Nt=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:e=>Xe(e,"edge/")&&Xe(e,"chrome")&&Xe(e,"safari")&&Xe(e,"applewebkit")},{name:"Chromium",brand:"Chromium",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,_t],search:e=>Xe(e,"chrome")&&!Xe(e,"chromeframe")},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:e=>Xe(e,"msie")||Xe(e,"trident")},{name:"Opera",versionRegexes:[_t,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:kt("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:kt("firefox")},{name:"Safari",versionRegexes:[_t,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:e=>(Xe(e,"safari")||Xe(e,"mobile/"))&&Xe(e,"applewebkit")}],Rt=[{name:"Windows",search:kt("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:e=>Xe(e,"iphone")||Xe(e,"ipad"),versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:kt("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"macOS",search:kt("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:kt("linux"),versionRegexes:[]},{name:"Solaris",search:kt("sunos"),versionRegexes:[]},{name:"FreeBSD",search:kt("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:kt("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}],At={browsers:N(Nt),oses:N(Rt)},Dt="Edge",Tt="Chromium",Ot="Opera",Bt="Firefox",Pt="Safari",Lt=e=>{const t=e.current,n=e.version,o=e=>()=>t===e;return{current:t,version:n,isEdge:o(Dt),isChromium:o(Tt),isIE:o("IE"),isOpera:o(Ot),isFirefox:o(Bt),isSafari:o(Pt)}},Mt=()=>Lt({current:void 0,version:Et.unknown()}),It=Lt,Ft=(N(Dt),N(Tt),N("IE"),N(Ot),N(Bt),N(Pt),"Windows"),Ut="Android",zt="Linux",jt="macOS",$t="Solaris",Ht="FreeBSD",Vt="ChromeOS",qt=e=>{const t=e.current,n=e.version,o=e=>()=>t===e;return{current:t,version:n,isWindows:o(Ft),isiOS:o("iOS"),isAndroid:o(Ut),isMacOS:o(jt),isLinux:o(zt),isSolaris:o($t),isFreeBSD:o(Ht),isChromeOS:o(Vt)}},Wt=()=>qt({current:void 0,version:Et.unknown()}),Kt=qt,Yt=(N(Ft),N("iOS"),N(Ut),N(zt),N(jt),N($t),N(Ht),N(Vt),e=>window.matchMedia(e).matches);let Gt=lt(()=>((e,t,n)=>{const o=At.browsers(),r=At.oses(),s=t.bind(e=>((e,t)=>ue(t.brands,t=>{const n=t.brand.toLowerCase();return Z(e,e=>n===e.brand?.toLowerCase()).map(e=>({current:e.name,version:Et.nu(parseInt(t.version,10),0)}))}))(o,e)).orThunk(()=>((e,t)=>xt(e,t).map(e=>{const n=Et.detect(e.versionRegexes,t);return{current:e.name,version:n}}))(o,e)).fold(Mt,It),a=((e,t)=>xt(e,t).map(e=>{const n=Et.detect(e.versionRegexes,t);return{current:e.name,version:n}}))(r,e).fold(Wt,Kt),i=((e,t,n,o)=>{const r=e.isiOS()&&!0===/ipad/i.test(n),s=e.isiOS()&&!r,a=e.isiOS()||e.isAndroid(),i=a||o("(pointer:coarse)"),l=r||!s&&a&&o("(min-device-width:768px)"),c=s||a&&!l,d=t.isSafari()&&e.isiOS()&&!1===/safari/i.test(n),m=!c&&!l&&!d;return{isiPad:N(r),isiPhone:N(s),isTablet:N(l),isPhone:N(c),isTouch:N(i),isAndroid:e.isAndroid,isiOS:e.isiOS,isWebView:N(d),isDesktop:N(m)}})(a,s,e,n);return{browser:s,os:a,deviceType:i}})(window.navigator.userAgent,I.from(window.navigator.userAgentData),Yt));const Xt=()=>Gt(),Qt=Object.getPrototypeOf,Zt=e=>{const t=Ve("ownerDocument.defaultView",e);return f(e)&&((e=>((e,t)=>{const n=((e,t)=>Ve(e,t))(e,t);if(null==n)throw new Error(e+" not available on this browser");return n})("HTMLElement",e))(t).prototype.isPrototypeOf(e)||/^HTML\w*Element$/.test(Qt(e).constructor.name))},Jt=window.navigator.userAgent,en=Xt(),tn=en.browser,nn=en.os,on=en.deviceType,rn=-1!==Jt.indexOf("Windows Phone"),sn={transparentSrc:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",documentMode:tn.isIE()?document.documentMode||7:10,cacheSuffix:null,container:null,canHaveCSP:!tn.isIE(),windowsPhone:rn,browser:{current:tn.current,version:tn.version,isChromium:tn.isChromium,isEdge:tn.isEdge,isFirefox:tn.isFirefox,isIE:tn.isIE,isOpera:tn.isOpera,isSafari:tn.isSafari},os:{current:nn.current,version:nn.version,isAndroid:nn.isAndroid,isChromeOS:nn.isChromeOS,isFreeBSD:nn.isFreeBSD,isiOS:nn.isiOS,isLinux:nn.isLinux,isMacOS:nn.isMacOS,isSolaris:nn.isSolaris,isWindows:nn.isWindows},deviceType:{isDesktop:on.isDesktop,isiPad:on.isiPad,isiPhone:on.isiPhone,isPhone:on.isPhone,isTablet:on.isTablet,isTouch:on.isTouch,isWebView:on.isWebView}},an=/^\s*|\s*$/g,ln=e=>v(e)?"":(""+e).replace(an,""),cn=function(e,t,n,o){o=o||this,e&&(n&&(e=e[n]),pt(e,(e,r)=>!1!==t.call(o,e,r,n)&&(cn(e,t,n,o),!0)))},dn={trim:ln,isArray:gt,is:(e,t)=>t?!("array"!==t||!gt(e))||typeof e===t:void 0!==e,toArray:e=>{if(gt(e))return e;{const t=[];for(let n=0,o=e.length;n{const o=u(e)?e.split(t||","):e||[];let r=o.length;for(;r--;)n[o[r]]={};return n},each:pt,map:ht,grep:bt,inArray:(e,t)=>{if(e)for(let n=0,o=e.length;n{for(let n=0;n{const n=e.split(".");for(let e=0,o=n.length;ep(e)?e:""===e?[]:ht(e.split(t||","),ln),_addCacheSuffix:e=>{const t=sn.cacheSuffix;return t&&(e+=(-1===e.indexOf("?")?"?":"&")+t),e}},mn=e=>{if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},un={fromHtml:(e,t)=>{const n=(t||document).createElement("div");if(n.innerHTML=e,!n.hasChildNodes()||n.childNodes.length>1){const t="HTML does not have a single root node";throw console.error(t,e),new Error(t)}return mn(n.childNodes[0])},fromTag:(e,t)=>{const n=(t||document).createElement(e);return mn(n)},fromText:(e,t)=>{const n=(t||document).createTextNode(e);return mn(n)},fromDom:mn,fromPoint:(e,t,n)=>I.from(e.dom.elementFromPoint(t,n)).map(mn)},fn=(e,t,n)=>{const o=e.document.createRange();var r;return r=o,t.fold(e=>{r.setStartBefore(e.dom)},(e,t)=>{r.setStart(e.dom,t)},e=>{r.setStartAfter(e.dom)}),((e,t)=>{t.fold(t=>{e.setEndBefore(t.dom)},(t,n)=>{e.setEnd(t.dom,n)},t=>{e.setEndAfter(t.dom)})})(o,n),o},gn=(e,t,n,o,r)=>{const s=e.document.createRange();return s.setStart(t.dom,n),s.setEnd(o.dom,r),s},pn=Ne([{ltr:["start","soffset","finish","foffset"]},{rtl:["start","soffset","finish","foffset"]}]),hn=(e,t,n)=>t(un.fromDom(n.startContainer),n.startOffset,un.fromDom(n.endContainer),n.endOffset);pn.ltr,pn.rtl;const bn=(e,t)=>{const n=e.dom;if(1!==n.nodeType)return!1;{const e=n;if(void 0!==e.matches)return e.matches(t);if(void 0!==e.msMatchesSelector)return e.msMatchesSelector(t);if(void 0!==e.webkitMatchesSelector)return e.webkitMatchesSelector(t);if(void 0!==e.mozMatchesSelector)return e.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")}},yn=e=>1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType||0===e.childElementCount,vn=(e,t)=>e.dom===t.dom,Cn=(e,t)=>{const n=e.dom,o=t.dom;return n!==o&&n.contains(o)},wn=bn,Sn=(e,t)=>{const n=[],o=e=>(n.push(e),t(e));let r=t(e);do{r=r.bind(o)}while(r.isSome());return n},En=e=>e.dom.nodeName.toLowerCase(),xn=e=>e.dom.nodeType,_n=e=>t=>xn(t)===e,kn=e=>8===xn(e)||"#comment"===En(e),Nn=e=>Rn(e)&&Zt(e.dom),Rn=_n(1),An=_n(3),Dn=_n(9),Tn=_n(11),On=e=>t=>Rn(t)&&En(t)===e,Bn=e=>un.fromDom(e.dom.ownerDocument),Pn=e=>Dn(e)?e:Bn(e),Ln=e=>un.fromDom(Pn(e).dom.defaultView),Mn=e=>I.from(e.dom.parentNode).map(un.fromDom),In=e=>I.from(e.dom.parentElement).map(un.fromDom),Fn=(e,t)=>{const n=w(t)?t:L;let o=e.dom;const r=[];for(;null!==o.parentNode&&void 0!==o.parentNode;){const e=o.parentNode,t=un.fromDom(e);if(r.push(t),!0===n(t))break;o=e}return r},Un=e=>Mn(e).map(Vn).map(t=>Y(t,t=>!vn(e,t))).getOr([]),zn=e=>I.from(e.dom.previousSibling).map(un.fromDom),jn=e=>I.from(e.dom.nextSibling).map(un.fromDom),$n=e=>re(Sn(e,zn)),Hn=e=>Sn(e,jn),Vn=e=>V(e.dom.childNodes,un.fromDom),qn=(e,t)=>{const n=e.dom.childNodes;return I.from(n[t]).map(un.fromDom)},Wn=e=>qn(e,0),Kn=e=>qn(e,e.dom.childNodes.length-1),Yn=e=>e.dom.childNodes.length,Gn=e=>{const t=e.dom.head;if(null==t)throw new Error("Head is not available yet");return un.fromDom(t)},Xn=e=>Tn(e)&&C(e.dom.host),Qn=e=>un.fromDom(e.dom.getRootNode()),Zn=e=>Xn(e)?e:Gn(Pn(e)),Jn=e=>un.fromDom(e.dom.host),eo=e=>{if(C(e.target)){const t=un.fromDom(e.target);if(Rn(t)&&to(t)&&e.composed&&e.composedPath){const t=e.composedPath();if(t)return ce(t)}}return I.from(e.target)},to=e=>C(e.dom.shadowRoot),no=(e,t,n,o)=>((e,t,n,o,r)=>{const s=((e,t)=>n=>{e(n)&&t((e=>{const t=un.fromDom(eo(e).getOr(e.target)),n=()=>e.stopPropagation(),o=()=>e.preventDefault(),r=_(o,n);return((e,t,n,o,r,s,a)=>({target:e,x:t,y:n,stop:o,prevent:r,kill:s,raw:a}))(t,e.clientX,e.clientY,n,o,r,e)})(n))})(n,o);return e.dom.addEventListener(t,s,r),{unbind:D(oo,e,t,s,r)}})(e,t,n,o,!1),oo=(e,t,n,o)=>{e.dom.removeEventListener(t,n,o)},ro=M,so=(e,t,n)=>no(e,t,ro,n),ao=()=>un.fromDom(document),io=(e,t=!1)=>e.dom.focus({preventScroll:t}),lo=e=>{const t=Qn(e).dom;return e.dom===t.activeElement},co=(e=ao())=>I.from(e.dom.activeElement).map(un.fromDom),mo=(e,t)=>{Mn(e).each(n=>{n.dom.insertBefore(t.dom,e.dom)})},uo=(e,t)=>{jn(e).fold(()=>{Mn(e).each(e=>{go(e,t)})},e=>{mo(e,t)})},fo=(e,t)=>{Wn(e).fold(()=>{go(e,t)},n=>{e.dom.insertBefore(t.dom,n.dom)})},go=(e,t)=>{e.dom.appendChild(t.dom)},po=(e,t)=>{mo(e,t),go(t,e)},ho=(e,t)=>{q(t,(n,o)=>{const r=0===o?e:t[o-1];uo(r,n)})},bo=(e,t)=>{q(t,t=>{go(e,t)})},yo=(e,t,n)=>{if(!(u(n)||b(n)||S(n)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",n,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,n+"")},vo=(e,t,n)=>{yo(e.dom,t,n)},Co=(e,t)=>{const n=e.dom;he(t,(e,t)=>{yo(n,t,e)})},wo=(e,t)=>{const n=e.dom.getAttribute(t);return null===n?void 0:n},So=(e,t)=>I.from(wo(e,t)),Eo=(e,t)=>{const n=e.dom;return!(!n||!n.hasAttribute)&&n.hasAttribute(t)},xo=(e,t)=>{e.dom.removeAttribute(t)},_o=e=>{const t=e.dom.attributes;return null==t||0===t.length},ko=e=>X(e.dom.attributes,(e,t)=>(e[t.name]=t.value,e),{}),No=e=>{e.dom.textContent="",q(Vn(e),e=>{Ro(e)})},Ro=e=>{const t=e.dom;null!==t.parentNode&&t.parentNode.removeChild(t)},Ao=e=>{const t=Vn(e);t.length>0&&ho(e,t),Ro(e)},Do=(e,t)=>un.fromDom(e.dom.cloneNode(t)),To=e=>Do(e,!1),Oo=e=>Do(e,!0),Bo=(e,t)=>{const n=((e,t)=>{const n=un.fromTag(t),o=ko(e);return Co(n,o),n})(e,t);uo(e,n);const o=Vn(e);return bo(n,o),Ro(e),n},Po=e=>V(e,un.fromDom),Lo=e=>e.dom.innerHTML,Mo=(e,t)=>{const n=Bn(e).dom,o=un.fromDom(n.createDocumentFragment()),r=((e,t)=>{const n=(t||document).createElement("div");return n.innerHTML=e,Vn(un.fromDom(n))})(t,n);bo(o,r),No(e),go(e,o)},Io=e=>void 0!==e.style&&w(e.style.getPropertyValue),Fo=e=>{const t=An(e)?e.dom.parentNode:e.dom;if(null==t||null===t.ownerDocument)return!1;const n=t.ownerDocument;return(e=>{const t=Qn(e);return Xn(t)?I.some(t):I.none()})(un.fromDom(t)).fold(()=>n.body.contains(t),k(Fo,Jn))},Uo=(e,t,n)=>{if(!u(n))throw console.error("Invalid call to CSS.set. Property ",t,":: Value ",n,":: Element ",e),new Error("CSS value must be a string: "+n);Io(e)&&e.style.setProperty(t,n)},zo=(e,t,n)=>{const o=e.dom;Uo(o,t,n)},jo=(e,t)=>{const n=e.dom;he(t,(e,t)=>{Uo(n,t,e)})},$o=(e,t)=>{const n=e.dom,o=window.getComputedStyle(n).getPropertyValue(t);return""!==o||Fo(e)?o:Ho(n,t)},Ho=(e,t)=>Io(e)?e.style.getPropertyValue(t):"",Vo=(e,t)=>{const n=e.dom,o=Ho(n,t);return I.from(o).filter(e=>e.length>0)},qo=e=>{const t={},n=e.dom;if(Io(n))for(let e=0;e{((e,t)=>{Io(e)&&e.style.removeProperty(t)})(e.dom,t),ze(So(e,"style").map(et),"")&&xo(e,"style")},Ko=(e=>{const t=t=>{const n=(e=>{const t=e.dom;return Fo(e)?t.getBoundingClientRect().height:t.offsetHeight})(t);if(n<=0||null===n){const n=$o(t,e);return parseFloat(n)||0}return n},n=(e,t)=>X(t,(t,n)=>{const o=$o(e,n),r=void 0===o?0:parseInt(o,10);return isNaN(r)?t:t+r},0);return{set:(t,n)=>{if(!S(n)&&!n.match(/^[0-9]+$/))throw new Error(e+".set accepts only positive integer values. Value was "+n);const o=t.dom;Io(o)&&(o.style[e]=n+"px")},get:t,getOuter:t,aggregate:n,max:(e,t,o)=>{const r=n(e,o);return t>r?t-r:0}}})("height"),Yo=(e,t)=>({left:e,top:t,translate:(n,o)=>Yo(e+n,t+o)}),Go=Yo,Xo=(e,t)=>void 0!==e?e:void 0!==t?t:0,Qo=e=>{const t=e.dom,n=t.ownerDocument.body;return n===t?Go(n.offsetLeft,n.offsetTop):Fo(e)?(e=>{const t=e.getBoundingClientRect();return Go(t.left,t.top)})(t):Go(0,0)},Zo=e=>{const t=void 0!==e?e.dom:document,n=t.body.scrollLeft||t.documentElement.scrollLeft,o=t.body.scrollTop||t.documentElement.scrollTop;return Go(n,o)},Jo=(e,t,n)=>{const o=(void 0!==n?n.dom:document).defaultView;o&&o.scrollTo(e,t)},er=(e,t)=>{Xt().browser.isSafari()&&w(e.dom.scrollIntoViewIfNeeded)?e.dom.scrollIntoViewIfNeeded(!1):e.dom.scrollIntoView(t)},tr=(e,t)=>{const n=(t||document).createDocumentFragment();return q(e,e=>{n.appendChild(e.dom)}),un.fromDom(n)},nr=(e=>{const t=t=>e(t)?I.from(t.dom.nodeValue):I.none();return{get:n=>{if(!e(n))throw new Error("Can only get text value of a text node");return t(n).getOr("")},getOption:t,set:(t,n)=>{if(!e(t))throw new Error("Can only set raw text value of a text node");t.dom.nodeValue=n}}})(An),or=e=>nr.get(e),rr=(e,t)=>nr.set(e,t),sr=(e,t)=>{const n=wo(e,t);return void 0===n||""===n?[]:n.split(" ")};var ar=(e,t,n,o,r)=>e(n,o)?I.some(n):w(r)&&r(n)?I.none():t(n,o,r);const ir=(e,t,n)=>{let o=e.dom;const r=w(n)?n:L;for(;o.parentNode;){o=o.parentNode;const e=un.fromDom(o);if(t(e))return I.some(e);if(r(e))break}return I.none()},lr=(e,t,n)=>ar((e,t)=>t(e),ir,e,t,n),cr=(e,t)=>Z(e.dom.childNodes,e=>t(un.fromDom(e))).map(un.fromDom),dr=(e,t)=>{const n=e=>{for(let o=0;oir(e,e=>bn(e,t),n),ur=(e,t)=>((e,t)=>{const n=void 0===t?document:t.dom;return yn(n)?I.none():I.from(n.querySelector(e)).map(un.fromDom)})(t,e),fr=(e,t,n)=>ar((e,t)=>bn(e,t),mr,e,t,n),gr=e=>void 0!==e.dom.classList,pr=e=>sr(e,"class"),hr=(e,t)=>((e,t,n)=>{const o=sr(e,t).concat([n]);return vo(e,t,o.join(" ")),!0})(e,"class",t),br=(e,t)=>((e,t,n)=>{const o=Y(sr(e,t),e=>e!==n);return o.length>0?vo(e,t,o.join(" ")):xo(e,t),!1})(e,"class",t),yr=(e,t)=>{gr(e)?e.dom.classList.add(t):hr(e,t)},vr=e=>{0===(gr(e)?e.dom.classList:pr(e)).length&&xo(e,"class")},Cr=(e,t)=>{gr(e)?e.dom.classList.remove(t):br(e,t),vr(e)},wr=(e,t)=>gr(e)&&e.dom.classList.contains(t),Sr=(e,t=!1)=>{return Fo(e)?e.dom.isContentEditable:(n=e,fr(n,"[contenteditable]")).fold(N(t),e=>"true"===Er(e));var n},Er=e=>e.dom.contentEditable,xr=(e,t)=>{e.dom.contentEditable=t?"true":"false"},_r=(e,t,n)=>Y(Fn(e,n),t),kr=(e,t)=>Y(Vn(e),t),Nr=(e,t)=>{let n=[];return q(Vn(e),e=>{t(e)&&(n=n.concat([e])),n=n.concat(Nr(e,t))}),n},Rr=(e,t)=>((e,t)=>{const n=void 0===t?document:t.dom;return yn(n)?[]:V(n.querySelectorAll(e),un.fromDom)})(t,e),Ar=(e,t,n)=>ir(e,t,n).isSome(),Dr=(e,t)=>dr(e,t).isSome(),Tr=e=>w(e)?e:L,Or=(e,t,n)=>{const o=t(e),r=Tr(n);return o.orThunk(()=>r(e)?I.none():((e,t,n)=>{let o=e.dom;const r=Tr(n);for(;o.parentNode;){o=o.parentNode;const e=un.fromDom(o),n=t(e);if(n.isSome())return n;if(r(e))break}return I.none()})(e,t,r))},Br=["img","br"],Pr=e=>{return(t=e,nr.getOption(t)).filter(e=>0!==e.trim().length||e.indexOf(dt)>-1).isSome()||$(Br,En(e))||(e=>Nn(e)&&"false"===wo(e,"contenteditable"))(e);var t},Lr=(e,t,n,o)=>({start:e,soffset:t,finish:n,foffset:o}),Mr=Ne([{before:["element"]},{on:["element","offset"]},{after:["element"]}]),Ir={before:Mr.before,on:Mr.on,after:Mr.after,cata:(e,t,n,o)=>e.fold(t,n,o),getStart:e=>e.fold(R,R,R)},Fr=Ne([{domRange:["rng"]},{relative:["startSitu","finishSitu"]},{exact:["start","soffset","finish","foffset"]}]),Ur={domRange:Fr.domRange,relative:Fr.relative,exact:Fr.exact,exactFromRange:e=>Fr.exact(e.start,e.soffset,e.finish,e.foffset),getWin:e=>{const t=(e=>e.match({domRange:e=>un.fromDom(e.startContainer),relative:(e,t)=>Ir.getStart(e),exact:(e,t,n,o)=>e}))(e);return Ln(t)},range:Lr},zr=(e,t)=>{const n=En(e);return"input"===n?Ir.after(e):$(["br","img"],n)?0===t?Ir.before(e):Ir.after(e):Ir.on(e,t)},jr=(e,t)=>{const n=e.fold(Ir.before,zr,Ir.after),o=t.fold(Ir.before,zr,Ir.after);return Ur.relative(n,o)},$r=(e,t,n,o)=>{const r=zr(e,t),s=zr(n,o);return Ur.relative(r,s)},Hr=e=>{const t=Ur.getWin(e).dom,n=(e,n,o,r)=>gn(t,e,n,o,r),o=(e=>e.match({domRange:e=>{const t=un.fromDom(e.startContainer),n=un.fromDom(e.endContainer);return $r(t,e.startOffset,n,e.endOffset)},relative:jr,exact:$r}))(e);return((e,t)=>{const n=((e,t)=>t.match({domRange:e=>({ltr:N(e),rtl:I.none}),relative:(t,n)=>({ltr:lt(()=>fn(e,t,n)),rtl:lt(()=>I.some(fn(e,n,t)))}),exact:(t,n,o,r)=>({ltr:lt(()=>gn(e,t,n,o,r)),rtl:lt(()=>I.some(gn(e,o,r,t,n)))})}))(e,t);return((e,t)=>{const n=t.ltr();return n.collapsed?t.rtl().filter(e=>!1===e.collapsed).map(e=>pn.rtl(un.fromDom(e.endContainer),e.endOffset,un.fromDom(e.startContainer),e.startOffset)).getOrThunk(()=>hn(0,pn.ltr,n)):hn(0,pn.ltr,n)})(0,n)})(t,o).match({ltr:n,rtl:n})},Vr=(e,t,n)=>((e,t,n)=>((e,t,n)=>e.caretPositionFromPoint?((e,t,n)=>I.from(e.caretPositionFromPoint?.(t,n)).bind(t=>{if(null===t.offsetNode)return I.none();const n=e.createRange();return n.setStart(t.offsetNode,t.offset),n.collapse(),I.some(n)}))(e,t,n):e.caretRangeFromPoint?((e,t,n)=>I.from(e.caretRangeFromPoint?.(t,n)))(e,t,n):I.none())(e.document,t,n).map(e=>Lr(un.fromDom(e.startContainer),e.startOffset,un.fromDom(e.endContainer),e.endOffset)))(e,t,n),qr=(e,t,n,o)=>({x:e,y:t,width:n,height:o,right:e+n,bottom:t+o}),Wr=e=>{const t=void 0===e?window:e,n=t.document,o=Zo(un.fromDom(n));return(e=>{const t=void 0===e?window:e;return Xt().browser.isFirefox()?I.none():I.from(t.visualViewport)})(t).fold(()=>{const e=t.document.documentElement,n=e.clientWidth,r=e.clientHeight;return qr(o.left,o.top,n,r)},e=>qr(Math.max(e.pageLeft,o.left),Math.max(e.pageTop,o.top),e.width,e.height))};class Kr{rootNode;node;constructor(e,t){this.node=e,this.rootNode=t,this.current=this.current.bind(this),this.next=this.next.bind(this),this.prev=this.prev.bind(this),this.prev2=this.prev2.bind(this)}current(){return this.node}next(e){return this.node=this.findSibling(this.node,"firstChild","nextSibling",e),this.node}prev(e){return this.node=this.findSibling(this.node,"lastChild","previousSibling",e),this.node}prev2(e){return this.node=this.findPreviousNode(this.node,e),this.node}findSibling(e,t,n,o){if(e){if(!o&&e[t])return e[t];if(e!==this.rootNode){let t=e[n];if(t)return t;for(let o=e.parentNode;o&&o!==this.rootNode;o=o.parentNode)if(t=o[n],t)return t}}}findPreviousNode(e,t){if(e){const n=e.previousSibling;if(this.rootNode&&n===this.rootNode)return;if(n){if(!t)for(let e=n.lastChild;e;e=e.lastChild)if(!e.lastChild)return e;return n}const o=e.parentNode;if(o&&o!==this.rootNode)return o}}}const Yr=e=>t=>!!t&&t.nodeType===e,Gr=e=>!!e&&!Object.getPrototypeOf(e),Xr=Yr(1),Qr=e=>Xr(e)&&Nn(un.fromDom(e)),Zr=e=>{const t=e.toLowerCase();return e=>C(e)&&e.nodeName.toLowerCase()===t},Jr=e=>{const t=e.map(e=>e.toLowerCase());return e=>{if(e&&e.nodeName){const n=e.nodeName.toLowerCase();return $(t,n)}return!1}},es=(e,t)=>{const n=t.toLowerCase().split(" ");return t=>{if(Xr(t)){const o=t.ownerDocument.defaultView;if(o)for(let r=0;rXr(e)&&e.hasAttribute("data-mce-bogus"),ns=e=>Xr(e)&&"TABLE"===e.tagName,os=e=>t=>{if(Qr(t)){if(t.contentEditable===e)return!0;if(t.getAttribute("data-mce-contenteditable")===e)return!0}return!1},rs=Jr(["textarea","input"]),ss=Yr(3),as=Yr(4),is=Yr(7),ls=Yr(8),cs=Yr(9),ds=Yr(11),ms=Zr("br"),us=Zr("img"),fs=Zr("a"),gs=os("true"),ps=os("false"),hs=e=>Qr(e)&&e.isContentEditable&&C(e.parentElement)&&!e.parentElement.isContentEditable,bs=Jr(["td","th"]),ys=Jr(["td","th","caption"]),vs=Zr("template"),Cs=Jr(["video","audio","object","embed"]),ws=Zr("li"),Ss=Zr("details"),Es=Zr("summary"),xs="uc-video",_s=Zr(xs),ks=/^[ \t\r\n]*$/,Ns=e=>ks.test(e),Rs=e=>"\n"===e||"\r"===e,As=(e,t=4,n=!0,o=!0)=>{const r=((e,t)=>t<=0?"":new Array(t+1).join(" "))(0,t),s=e.replace(/\t/g,r),a=X(s,(e,t)=>(e=>-1!==" \f\t\v".indexOf(e))(t)||t===dt?e.pcIsSpace||""===e.str&&n||e.str.length===s.length-1&&o||((e,t)=>t=0&&Rs(e[t]))(s,e.str.length+1)?{pcIsSpace:!1,str:e.str+dt}:{pcIsSpace:!0,str:e.str+" "}:{pcIsSpace:Rs(t),str:e.str+t},{pcIsSpace:!1,str:""});return a.str},Ds={skipBogus:!0,includeZwsp:!1,checkRootAsContent:!1},Ts=e=>Xr(e)&&e.hasAttribute("data-mce-bookmark");const Os=(e,t,n,o)=>ss(e)&&!((e,t,n)=>Ns(e.data)&&!((e,t,n)=>{const o=un.fromDom(t),r=un.fromDom(e),s=n.getWhitespaceElements();return Ar(r,e=>_e(s,En(e)),D(vn,o))})(e,t,n))(e,t,n)&&(!o.includeZwsp||!(e=>{for(const t of e)if(!mt(t))return!1;return!0})(e.data)),Bs=(e,t,n,o)=>w(o.isContent)&&o.isContent(t)||((e,t)=>Xr(e)&&_e(t.getNonEmptyElements(),e.nodeName))(t,e)||Ts(t)||(e=>Xr(e)&&"A"===e.nodeName&&!e.hasAttribute("href")&&(e.hasAttribute("name")||e.hasAttribute("id")))(t)||Os(t,n,e,o)||ps(t)||gs(t)&&(e=>In(un.fromDom(e)).exists(e=>!Sr(e)))(t),Ps=(e,t,n)=>{const o={...Ds,...n};if(o.checkRootAsContent&&Bs(e,t,t,o))return!1;let r=t.firstChild,s=0;if(!r)return!0;const a=new Kr(r,t);do{if(o.skipBogus&&Xr(r)){const e=r.getAttribute("data-mce-bogus");if(e){r=a.next("all"===e);continue}}if(ls(r))r=a.next(!0);else if(ms(r))s++,r=a.next();else{if(Bs(e,r,t,o))return!1;r=a.next()}}while(r);return s<=1},Ls=(e,t,n)=>Ps(e,t.dom,{checkRootAsContent:!0,...n}),Ms=(e,t,n)=>Bs(e,t,t,{includeZwsp:Ds.includeZwsp,...n}),Is=e=>{const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":"html"},Fs=e=>"html"!==Is(e),Us=e=>Fs(e.nodeName),zs=e=>Is(e.nodeName),js=["svg","math"],$s="data-mce-block",Hs=e=>V((e=>Y(ge(e),e=>!/[A-Z]/.test(e)))(e),e=>{const t=CSS.escape(e);return`${t}:`+V(js,e=>`not(${e} ${t})`).join(":")}).join(","),Vs=(e,t)=>C(t.querySelector(e))?(t.setAttribute($s,"true"),"inline-boundary"===t.getAttribute("data-mce-selected")&&t.removeAttribute("data-mce-selected"),!0):(t.removeAttribute($s),!1),qs=(e,t)=>{const n=Hs(e.getTransparentElements()),o=Hs(e.getBlockElements());return Y(t.querySelectorAll(n),e=>Vs(o,e))},Ws=(e,t,n)=>{const o=n?"lastChild":"firstChild";for(let n=t[o];n;n=n[o])if(Ps(e,n,{checkRootAsContent:!0}))return void n.parentNode?.removeChild(n)},Ks=(e,t)=>{const n=qs(e,t);((e,t,n)=>{const o=e.getBlockElements(),r=un.fromDom(t),s=e=>En(e)in o,a=e=>vn(e,r);q(Po(n),t=>{ir(t,s,a).each(n=>{const o=kr(t,t=>s(t)&&!e.isValidChild(En(n),En(t)));if(o.length>0){const t=In(n);q(o,t=>{ir(t,s,a).each(n=>{((e,t,n)=>{const o=document.createRange(),r=t.parentNode;if(r){o.setStartBefore(t),o.setEndBefore(n);const s=o.extractContents();Ws(e,s,!0),o.setStartAfter(n),o.setEndAfter(t);const a=o.extractContents();Ws(e,a,!1),Ps(e,s,{checkRootAsContent:!0})||r.insertBefore(s,t),Ps(e,n,{checkRootAsContent:!0})||r.insertBefore(n,t),Ps(e,a,{checkRootAsContent:!0})||r.insertBefore(a,t),r.removeChild(t)}})(e,n.dom,t.dom)})}),t.each(t=>qs(e,t.dom))}})})})(e,t,n),((e,t,n)=>{q([...n,...Zs(e,t)?[t]:[]],t=>q(Rr(un.fromDom(t),t.nodeName.toLowerCase()),t=>{Js(e,t.dom)&&Ao(t)}))})(e,t,n)},Ys=(e,t)=>{if(Qs(e,t)){const n=Hs(e.getBlockElements());Vs(n,t)}},Gs=e=>e.hasAttribute($s),Xs=(e,t)=>_e(e.getTransparentElements(),t),Qs=(e,t)=>Xr(t)&&Xs(e,t.nodeName),Zs=(e,t)=>Qs(e,t)&&Gs(t),Js=(e,t)=>Qs(e,t)&&!Gs(t),ea=(e,t)=>1===t.type&&Xs(e,t.name)&&u(t.attr($s)),ta=Xt().browser,na=e=>Z(e,Rn),oa=(e,t)=>e.children&&$(e.children,t),ra=(e,t={})=>{let n=0;const o={},r=un.fromDom(e),s=Pn(r),a=e=>{go(Zn(r),e)},i=e=>{const t=Zn(r);ur(t,"#"+e).each(Ro)},l=e=>xe(o,e).getOrThunk(()=>({id:"mce-u"+n++,passed:[],failed:[],count:0})),c=e=>new Promise((n,r)=>{let i;const c=dn._addCacheSuffix(e),d=l(c);o[c]=d,d.count++;const m=(e,t)=>{q(e,P),d.status=t,d.passed=[],d.failed=[],i&&(i.onload=null,i.onerror=null,i=null)},u=()=>m(d.passed,2),f=()=>m(d.failed,3);if(n&&d.passed.push(n),r&&d.failed.push(r),1===d.status)return;if(2===d.status)return void u();if(3===d.status)return void f();d.status=1;const g=un.fromTag("link",s.dom);Co(g,{rel:"stylesheet",type:"text/css",id:d.id});const p=((e,t)=>{const n=t.crossOrigin;return t.contentCssCors?"anonymous":w(n)?n(e):void 0})(e,t);void 0!==p&&vo(g,"crossOrigin",p),t.referrerPolicy&&vo(g,"referrerpolicy",t.referrerPolicy),i=g.dom,i.onload=u,i.onerror=f,a(g),vo(g,"href",c)}),d=e=>{const t=dn._addCacheSuffix(e);xe(o,t).each(e=>{0===--e.count&&(delete o[t],i(e.id))})};return{load:c,loadRawCss:(e,t)=>{const n=l(e);o[e]=n,n.count++;const r=un.fromTag("style",s.dom);Co(r,{rel:"stylesheet",type:"text/css",id:n.id,"data-mce-key":e}),r.dom.innerHTML=t,a(r)},loadAll:e=>Promise.allSettled(V(e,e=>c(e).then(N(e)))).then(e=>{const t=K(e,e=>"fulfilled"===e.status);return t.fail.length>0?Promise.reject(V(t.fail,e=>e.reason)):V(t.pass,e=>e.value)}),unload:d,unloadRawCss:e=>{xe(o,e).each(t=>{0===--t.count&&(delete o[e],i(t.id))})},unloadAll:e=>{q(e,e=>{d(e)})},_setReferrerPolicy:e=>{t.referrerPolicy=e},_setContentCssCors:e=>{t.contentCssCors=e},_setCrossOrigin:e=>{t.crossOrigin=e}}},sa=(()=>{const e=new WeakMap;return{forElement:(t,n)=>{const o=Qn(t).dom;return I.from(e.get(o)).getOrThunk(()=>{const t=ra(o,n);return e.set(o,t),t})}}})(),aa=(e,t)=>C(e)&&(Ms(t,e)||t.isInline(e.nodeName.toLowerCase())),ia=e=>(e=>"span"===e.nodeName.toLowerCase())(e)&&"bookmark"===e.getAttribute("data-mce-type"),la=(e,t,n,o)=>{const r=o||t;if(Xr(t)&&ia(t))return t;const s=t.childNodes;for(let t=s.length-1;t>=0;t--)la(e,s[t],n,r);if(Xr(t)){const e=t.childNodes;1===e.length&&ia(e[0])&&t.parentNode?.insertBefore(e[0],t)}return(e=>ds(e)||cs(e))(t)||Ms(n,t)||(e=>!!Xr(e)&&e.childNodes.length>0)(t)||((e,t,n)=>ss(e)&&e.data.length>0&&((e,t,n)=>{const o=new Kr(e,t).prev(!1),r=new Kr(e,t).next(!1),s=y(o)||aa(o,n),a=y(r)||aa(r,n);return s&&a})(e,t,n))(t,r,n)||e.remove(t),t},ca=dn.makeMap,da=/[&<>\"\u0060\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ma=/[<>&\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ua=/[<>&\"\']/g,fa=/&#([a-z0-9]+);?|&([a-z0-9]+);/gi,ga={128:"\u20ac",130:"\u201a",131:"\u0192",132:"\u201e",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02c6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017d",145:"\u2018",146:"\u2019",147:"\u201c",148:"\u201d",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02dc",153:"\u2122",154:"\u0161",155:"\u203a",156:"\u0153",158:"\u017e",159:"\u0178"},pa={'"':""","'":"'","<":"<",">":">","&":"&","`":"`"},ha={"<":"<",">":">","&":"&",""":'"',"'":"'"},ba=(e,t)=>{const n={};if(e){const o=e.split(",");t=t||10;for(let e=0;ee.replace(t?da:ma,e=>pa[e]||e),Ca=(e,t)=>e.replace(t?da:ma,e=>e.length>1?"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";":pa[e]||"&#"+e.charCodeAt(0)+";"),wa=(e,t,n)=>{const o=n||ya;return e.replace(t?da:ma,e=>pa[e]||o[e]||e)},Sa={encodeRaw:va,encodeAllRaw:e=>(""+e).replace(ua,e=>pa[e]||e),encodeNumeric:Ca,encodeNamed:wa,getEncodeFunc:(e,t)=>{const n=ba(t)||ya,o=ca(e.replace(/\+/g,","));return o.named&&o.numeric?(e,t)=>e.replace(t?da:ma,e=>void 0!==pa[e]?pa[e]:void 0!==n[e]?n[e]:e.length>1?"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";":"&#"+e.charCodeAt(0)+";"):o.named?t?(e,t)=>wa(e,t,n):wa:o.numeric?Ca:va},decode:e=>e.replace(fa,(e,t)=>t?(t="x"===t.charAt(0).toLowerCase()?parseInt(t.substr(1),16):parseInt(t,10))>65535?(t-=65536,String.fromCharCode(55296+(t>>10),56320+(1023&t))):ga[t]||String.fromCharCode(t):ha[e]||ya[e]||(e=>{const t=un.fromTag("div").dom;return t.innerHTML=e,t.textContent||t.innerText||e})(e))},Ea=(e,t)=>(e=dn.trim(e))?e.split(t||" "):[],xa=e=>new RegExp("^"+e.replace(/([?+*])/g,".$1")+"$"),_a=e=>Object.freeze(["id","accesskey","class","dir","lang","style","tabindex","title","role",..."html4"!==e?["contenteditable","contextmenu","draggable","dropzone","hidden","spellcheck","translate","itemprop","itemscope","itemtype"]:[],..."html5-strict"!==e?["xml:lang"]:[]]),ka=e=>{let t,n;t="address blockquote div dl fieldset form h1 h2 h3 h4 h5 h6 hr menu ol p pre table ul",n="a abbr b bdo br button cite code del dfn em embed i iframe img input ins kbd label map noscript object q s samp script select small span strong sub sup textarea u var #text #comment","html4"!==e&&(t+=" article aside details dialog figure main header footer hgroup section nav a ins del canvas map",n+=" audio canvas command data datalist mark meter output picture progress template time wbr video ruby bdi keygen svg"),"html5-strict"!==e&&(n=[n,"acronym applet basefont big font strike tt"].join(" "),t=[t,"center dir isindex noframes"].join(" "));const o=[t,n].join(" ");return{blockContent:t,phrasingContent:n,flowContent:o}},Na=e=>{const{blockContent:t,phrasingContent:n,flowContent:o}=ka(e),r=e=>Object.freeze(e.split(" "));return Object.freeze({blockContent:r(t),phrasingContent:r(n),flowContent:r(o)})},Ra={html4:lt(()=>Na("html4")),html5:lt(()=>Na("html5")),"html5-strict":lt(()=>Na("html5-strict"))},Aa=(e,t)=>{const{blockContent:n,phrasingContent:o,flowContent:r}=Ra[e]();return"blocks"===t?I.some(n):"phrasing"===t?I.some(o):"flow"===t?I.some(r):I.none()},Da=e=>I.from(/^(@?)([A-Za-z0-9_\-.\u00b7\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u037d\u037f-\u1fff\u200c-\u200d\u203f-\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]+)$/.exec(e)).map(e=>({preset:"@"===e[1],name:e[2]})),Ta={},Oa=dn.makeMap,Ba=dn.each,Pa=dn.extend,La=dn.explode,Ma=(e,t={})=>{const n=Oa(e," ",Oa(e.toUpperCase()," "));return Pa(n,t)},Ia=e=>Ma("td th li dt dd figcaption caption details summary",e.getTextBlockElements()),Fa=(e,t)=>{if(e){const n={};return u(e)&&(e={"*":e}),Ba(e,(e,o)=>{n[o]=n[o.toUpperCase()]="map"===t?Oa(e,/[, ]/):La(e,/[, ]/)}),n}},Ua=(e={})=>{const t={},n={};let o=[];const r={},s={},a={},i=(t,n,o)=>{const r=e[t];if(r)return Oa(r,/[, ]/,Oa(r.toUpperCase(),/[, ]/));{let e=Ta[t];return e||(e=Ma(n,o),Ta[t]=e),e}},l=e.schema??"html5",c=(e=>{const t=_a(e),{phrasingContent:n,flowContent:o}=ka(e),r={},s=(e,t,n)=>{r[e]={attributes:ae(t,N({})),attributesOrder:t,children:ae(n,N({}))}},a=(e,n="",o="")=>{const r=Ea(o),a=Ea(e);let i=a.length;const l=[...t,...Ea(n)];for(;i--;)s(a[i],l.slice(),r)},i=(e,t)=>{const n=Ea(e),o=Ea(t);let s=n.length;for(;s--;){const e=r[n[s]];for(let t=0,n=o.length;t{a(e,"",n)}),q(Ea("center dir isindex noframes"),e=>{a(e,"",o)})),a("html","manifest","head body"),a("head","","base command link meta noscript script style title"),a("title hr noscript br"),a("base","href target"),a("link","href rel media hreflang type sizes hreflang"),a("meta","name http-equiv content charset property"),a("style","media type scoped"),a("script","src async defer type charset"),a("body","onafterprint onbeforeprint onbeforeunload onblur onerror onfocus onhashchange onload onmessage onoffline ononline onpagehide onpageshow onpopstate onresize onscroll onstorage onunload",o),a("dd div","",o),a("address dt caption","","html4"===e?n:o),a("h1 h2 h3 h4 h5 h6 pre p abbr code var samp kbd sub sup i b u bdo span legend em strong small s cite dfn","",n),a("blockquote","cite",o),a("ol","reversed start type","li"),a("ul","","li"),a("li","value",o),a("dl","","dt dd"),a("a","href target rel media hreflang type","html4"===e?n:o),a("q","cite",n),a("ins del","cite datetime",o),a("img","src sizes srcset alt usemap ismap width height"),a("iframe","src name width height",o),a("embed","src type width height"),a("object","data type typemustmatch name usemap form width height",[o,"param"].join(" ")),a("param","name value"),a("map","name",[o,"area"].join(" ")),a("area","alt coords shape href target rel media hreflang type"),a("table","border","caption colgroup thead tfoot tbody tr"+("html4"===e?" col":"")),a("colgroup","span","col"),a("col","span"),a("tbody thead tfoot","","tr"),a("tr","","td th"),a("td","colspan rowspan headers",o),a("th","colspan rowspan headers scope abbr",o),a("form","accept-charset action autocomplete enctype method name novalidate target",o),a("fieldset","disabled form name",[o,"legend"].join(" ")),a("label","form for",n),a("input","accept alt autocomplete checked dirname disabled form formaction formenctype formmethod formnovalidate formtarget height list max maxlength min multiple name pattern readonly required size src step type value width"),a("button","disabled form formaction formenctype formmethod formnovalidate formtarget name type value","html4"===e?o:n),a("select","disabled form multiple name required size","option optgroup"),a("optgroup","disabled label","option"),a("option","disabled label selected value"),a("textarea","cols dirname disabled form maxlength name readonly required rows wrap"),a("menu","type label",[o,"li"].join(" ")),a("noscript","",o),"html4"!==e&&(a("wbr"),a("ruby","",[n,"rt rp"].join(" ")),a("figcaption","",o),a("mark rt rp bdi","",n),a("summary","",[n,"h1 h2 h3 h4 h5 h6"].join(" ")),a("canvas","width height",o),a("data","value",n),a("video","src crossorigin poster preload autoplay mediagroup loop controlslist disablepictureinpicture disableremoteplayback playsinline muted controls width height buffered",[o,"track source"].join(" ")),a("audio","src crossorigin preload autoplay mediagroup loop muted controls buffered volume",[o,"track source"].join(" ")),a("picture","","img source"),a("source","src srcset type media sizes"),a("track","kind src srclang label default"),a("datalist","",[n,"option"].join(" ")),a("article section nav aside main header footer","",o),a("hgroup","","h1 h2 h3 h4 h5 h6"),a("figure","",[o,"figcaption"].join(" ")),a("time","datetime",n),a("dialog","open",o),a("command","type label icon disabled checked radiogroup command"),a("output","for form name",n),a("progress","value max",n),a("meter","value min max low high optimum",n),a("details","open",[o,"summary"].join(" ")),a("keygen","autofocus challenge disabled form keytype name"),s("svg","id tabindex lang xml:space class style x y width height viewBox preserveAspectRatio zoomAndPan transform".split(" "),[])),"html5-strict"!==e&&(i("script","language xml:space"),i("style","xml:space"),i("object","declare classid code codebase codetype archive standby align border hspace vspace"),i("embed","align name hspace vspace"),i("param","valuetype type"),i("a","charset name rev shape coords"),i("br","clear"),i("applet","codebase archive code object alt name width height align hspace vspace"),i("img","name longdesc align border hspace vspace"),i("iframe","longdesc frameborder marginwidth marginheight scrolling align"),i("font basefont","size color face"),i("input","usemap align"),i("select"),i("textarea"),i("h1 h2 h3 h4 h5 h6 div p legend caption","align"),i("ul","type compact"),i("li","type"),i("ol dl menu dir","compact"),i("pre","width xml:space"),i("hr","align noshade size width"),i("isindex","prompt"),i("table","summary width frame rules cellspacing cellpadding align bgcolor"),i("col","width align char charoff valign"),i("colgroup","width align char charoff valign"),i("thead","align char charoff valign"),i("tr","align char charoff valign bgcolor"),i("th","axis align char charoff valign nowrap bgcolor width height"),i("form","accept"),i("td","abbr axis scope align char charoff valign nowrap bgcolor width height"),i("tfoot","align char charoff valign"),i("tbody","align char charoff valign"),i("area","nohref"),i("body","background bgcolor text link vlink alink")),"html4"!==e&&(i("input button select textarea","autofocus"),i("input textarea","placeholder"),i("a","download"),i("link script img","crossorigin"),i("img","loading"),i("iframe","sandbox seamless allow allowfullscreen loading referrerpolicy")),"html4"!==e&&q([r.video,r.audio],e=>{delete e.children.audio,delete e.children.video}),q(Ea("a form meter progress dfn"),e=>{r[e]&&delete r[e].children[e]}),delete r.caption.children.table,delete r.script,r})(l);!1===e.verify_html&&(e.valid_elements="*[*]");const d=Fa(e.valid_styles),m=Fa(e.invalid_styles,"map"),g=Fa(e.valid_classes,"map"),h=i("whitespace_elements","pre script noscript style textarea video audio iframe object code"),y=i("self_closing_elements","colgroup dd dt li option p td tfoot th thead tr"),v=i("void_elements","area base basefont br col frame hr img input isindex link meta param embed source wbr track"),C=i("boolean_attributes","checked compact declare defer disabled ismap multiple nohref noresize noshade nowrap readonly selected autoplay loop controls allowfullscreen"),w="td th iframe video audio object script code",S=i("non_empty_elements",w+" pre svg textarea summary",v),E=i("move_caret_before_on_enter_elements",w+" table",v),x="h1 h2 h3 h4 h5 h6",_=i("text_block_elements",x+" p div address pre form blockquote center dir fieldset header footer article section hgroup aside main nav figure"),k=i("block_elements","hr table tbody thead tfoot th tr td li ol ul caption dl dt dd noscript menu isindex option datalist select optgroup figcaption details summary html body multicol listing colgroup col",_),R=i("text_inline_elements","span strong b em i font s strike u var cite dfn code mark q sup sub samp"),A=i("transparent_elements","a ins del canvas map"),D=i("wrap_block_elements","pre "+x);Ba("script noscript iframe noframes noembed title style textarea xmp plaintext".split(" "),e=>{s[e]=new RegExp("]*>","gi")});const T=e=>{const n=I.from(t["@"]),r=/[*?+]/;q(((e,t)=>{const n=/^([#+\-])?([^\[!\/]+)(?:\/([^\[!]+))?(?:(!?)\[([^\]]+)])?$/;return ne(Ea(t,","),t=>{const o=n.exec(t);if(o){const t=o[1],n=o[2],r=o[3],s=o[4],a=o[5],i={attributes:{},attributesOrder:[]};if(e.each(e=>((e,t)=>{he(e.attributes,(e,n)=>{t.attributes[n]=e}),t.attributesOrder.push(...e.attributesOrder)})(e,i)),"#"===t?i.paddEmpty=!0:"-"===t&&(i.removeEmpty=!0),"!"===s&&(i.removeEmptyAttrs=!0),a&&((e,t)=>{const n=/^([!\-])?(\w+[\\:]:\w+|[^=~<]+)?(?:([=~<])(.*))?$/,o=/[*?+]/,{attributes:r,attributesOrder:s}=t;q(Ea(e,"|"),e=>{const a=n.exec(e);if(a){const e={},n=a[1],i=a[2].replace(/[\\:]:/g,":"),l=a[3],c=a[4];if("!"===n&&(t.attributesRequired=t.attributesRequired||[],t.attributesRequired.push(i),e.required=!0),"-"===n)return delete r[i],void s.splice(dn.inArray(s,i),1);if(l&&("="===l?(t.attributesDefault=t.attributesDefault||[],t.attributesDefault.push({name:i,value:c}),e.defaultValue=c):"~"===l?(t.attributesForced=t.attributesForced||[],t.attributesForced.push({name:i,value:c}),e.forcedValue=c):"<"===l&&(e.validValues=dn.makeMap(c,"?"))),o.test(i)){const n=e;t.attributePatterns=t.attributePatterns||[],n.pattern=xa(i),t.attributePatterns.push(n)}else r[i]||s.push(i),r[i]=e}})})(a,i),r&&(i.outputName=n),"@"===n){if(!e.isNone())return[];e=I.some(i)}return[r?{name:n,element:i,aliasName:r}:{name:n,element:i}]}return[]})})(n,e??""),({name:e,element:n,aliasName:s})=>{if(s&&(t[s]=n),r.test(e)){const t=n;t.pattern=xa(e),o.push(t)}else t[e]=n})},O=e=>{o=[],q(ge(t),e=>{delete t[e]}),T(e)},B=(e,o)=>{delete Ta.text_block_elements,delete Ta.block_elements;const s=!!o.extends&&!oe(o.extends),a=o.extends;if(n[e]=a?n[a]:{},r[e]=a??e,S[e.toUpperCase()]={},S[e]={},s||(k[e.toUpperCase()]={},k[e]={}),a&&!t[e]&&t[a]){const n=(e=>{const t=e=>p(e)?V(e,t):(e=>f(e)&&e.source&&"[object RegExp]"===Object.prototype.toString.call(e))(e)?new RegExp(e.source,e.flags):f(e)?be(e,t):e;return t(e)})(t[a]);delete n.removeEmptyAttrs,delete n.removeEmpty,t[e]=n}else t[e]={attributesOrder:[],attributes:{}};if(p(o.attributes)){const n=e=>{r.attributesOrder.push(e),r.attributes[e]={}},r=t[e]??{};delete r.attributesDefault,delete r.attributesForced,delete r.attributePatterns,delete r.attributesRequired,r.attributesOrder=[],r.attributes={},q(o.attributes,e=>{const t=_a(l);Da(e).each(({preset:e,name:o})=>{e?"global"===o&&q(t,n):n(o)})}),t[e]=r}if(b(o.padEmpty)){const n=t[e]??{};n.paddEmpty=o.padEmpty,t[e]=n}if(p(o.children)){const t={},r=e=>{t[e]={}},s=e=>{Aa(l,e).each(e=>{q(e,r)})};q(o.children,e=>{Da(e).each(({preset:e,name:t})=>{e?s(t):r(t)})}),n[e]=t}a&&he(n,(t,o)=>{t[a]&&(n[o]=t=Pa({},n[o]),t[e]=t[a])})},P=e=>{f(e)?he(e,(e,t)=>{const n=e.componentUrl;u(n)&&((e,t)=>{a[e]=t})(t,n),B(t,e)}):u(e)&&(e=>{q((e=>{const t=/^(~)?(.+)$/;return ne(Ea(e,","),e=>{const n=t.exec(e);return n?[{cloneName:"~"===n[1]?"span":"div",name:n[2]}]:[]})})(e??""),({name:e,cloneName:t})=>{B(e,{extends:t})})})(e)},L=e=>{q((e=>{const t=/^([+\-]?)([A-Za-z0-9_\-.\u00b7\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u037d\u037f-\u1fff\u200c-\u200d\u203f-\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]+)\[([^\]]+)]$/;return ne(Ea(e,","),e=>{const n=t.exec(e);if(n){const e=n[1],t=e?(e=>"-"===e?"remove":"add")(e):"replace";return[{operation:t,name:n[2],validChildren:ne(Ea(n[3],"|"),e=>Da(e).toArray())}]}return[]})})(e??""),({operation:e,name:t,validChildren:o})=>{const r="replace"===e?{"#comment":{}}:n[t],s=t=>{"remove"===e?delete r[t]:r[t]={}};q(o,({preset:e,name:t})=>{e?(e=>{Aa(l,e).each(e=>{q(e,s)})})(t):s(t)}),n[t]=r})},M=e=>{const n=t[e];if(n)return n;let r=o.length;for(;r--;){const t=o[r];if(t.pattern.test(e))return t}},F=N(d),U=N(m),z=N(g),j=N(C),$=N(k),H=N(_),W=N(R),K=N(Object.seal(v)),Y=N(y),G=N(S),X=N(E),Q=N(h),Z=N(A),J=N(D),ee=N(Object.seal(s)),te=(e,t)=>{const n=M(e);if(n){if(!t)return!0;{if(n.attributes[t])return!0;const e=n.attributePatterns;if(e){let n=e.length;for(;n--;)if(e[n].pattern.test(t))return!0}}}return!1},oe=e=>_e($(),e),re=e=>!Qe(e,"#")&&te(e)&&!oe(e),se=N(r),ie=N(a);return e.valid_elements?(O(e.valid_elements),Ba(c,(e,t)=>{n[t]=e.children})):(Ba(c,(e,o)=>{t[o]={attributes:e.attributes,attributesOrder:e.attributesOrder},n[o]=e.children}),Ba(Ea("strong/b em/i"),e=>{const n=Ea(e,"/");t[n[1]].outputName=n[0]}),Ba(R,(n,o)=>{t[o]&&(e.padd_empty_block_inline_children&&(t[o].paddInEmptyBlock=!0),t[o].removeEmpty=!0)}),Ba(Ea("ol ul blockquote a table tbody"),e=>{t[e]&&(t[e].removeEmpty=!0)}),Ba(Ea("p h1 h2 h3 h4 h5 h6 th td pre div address caption li summary"),e=>{t[e]&&(t[e].paddEmpty=!0)}),Ba(Ea("span"),e=>{t[e].removeEmptyAttrs=!0})),delete t.svg,P(e.custom_elements),L(e.valid_children),T(e.extended_valid_elements),L("+ol[ul|ol],+ul[ul|ol]"),Ba({dd:"dl",dt:"dl",li:"ul ol",td:"tr",th:"tr",tr:"tbody thead tfoot",tbody:"table",thead:"table",tfoot:"table",legend:"fieldset",area:"map",param:"video audio object"},(e,n)=>{t[n]&&(t[n].parentsRequired=Ea(e))}),e.invalid_elements&&Ba(La(e.invalid_elements),e=>{t[e]&&delete t[e]}),M("span")||T("span[!data-mce-type|*]"),{type:l,children:n,elements:t,getValidStyles:F,getValidClasses:z,getBlockElements:$,getInvalidStyles:U,getVoidElements:K,getTextBlockElements:H,getTextInlineElements:W,getBoolAttrs:j,getElementRule:M,getSelfClosingElements:Y,getNonEmptyElements:G,getMoveCaretBeforeOnEnterElements:X,getWhitespaceElements:Q,getTransparentElements:Z,getSpecialElements:ee,getComponentUrls:ie,isValidChild:(e,t)=>{const o=n[e.toLowerCase()];return!(!o||!o[t.toLowerCase()])},isValid:te,isBlock:oe,isInline:re,isWrapper:e=>_e(J(),e)||re(e),getCustomElements:se,addValidElements:T,setValidElements:O,addCustomElements:P,addValidChildren:L}},za=e=>{const t=e.toString(16);return(1===t.length?"0"+t:t).toUpperCase()},ja=e=>(e=>{return{value:(t=e,Ge(t,"#").toUpperCase())};var t})(za(e.red)+za(e.green)+za(e.blue)),$a=/^\s*rgb\s*\(\s*(\d+)\s*[,\s]\s*(\d+)\s*[,\s]\s*(\d+)\s*\)\s*$/i,Ha=/^\s*rgba\s*\(\s*(\d+)\s*[,\s]\s*(\d+)\s*[,\s]\s*(\d+)\s*[,\s]\s*((?:\d?\.\d+|\d+)%?)\s*\)\s*$/i,Va=(e,t,n,o)=>((e,t,n,o)=>({red:e,green:t,blue:n,alpha:o}))(parseInt(e,10),parseInt(t,10),parseInt(n,10),parseFloat(o)),qa=e=>$a.test(e)?"rgb":Ha.test(e)?"rgba":"other",Wa=e=>{const t=$a.exec(e);if(null!==t)return I.some(Va(t[1],t[2],t[3],"1"));const n=Ha.exec(e);return null!==n?I.some(Va(n[1],n[2],n[3],n[4])):I.none()},Ka=e=>`rgba(${e.red},${e.green},${e.blue},${e.alpha})`,Ya=e=>Wa(e).map(ja).map(e=>"#"+e.value).getOr(e),Ga=(e={},t)=>{const n=/(?:url(?:(?:\(\s*\"([^\"]+)\"\s*\))|(?:\(\s*\'([^\']+)\'\s*\))|(?:\(\s*([^)\s]+)\s*\))))|(?:\'([^\']+)\')|(?:\"([^\"]+)\")/gi,o=/\s*([^:]+):\s*([^;]+);?/g,r=/\s+$/,s={};let a,i;const l=ct;t&&(a=t.getValidStyles(),i=t.getInvalidStyles());const c="\\\" \\' \\; \\: ; : \ufeff".split(" ");for(let e=0;e{const a={};let i=!1;const c=e.url_converter,m=e.url_converter_scope||d,u=(e,t,n)=>{const o=a[e+"-top"+t];if(!o)return;const r=a[e+"-right"+t];if(!r)return;const s=a[e+"-bottom"+t];if(!s)return;const i=a[e+"-left"+t];if(!i)return;const l=[o,r,s,i];let c=l.length-1;for(;c--&&l[c]===l[c+1];);c>-1&&n||(a[e+t]=-1===c?l[0]:l.join(" "),delete a[e+"-top"+t],delete a[e+"-right"+t],delete a[e+"-bottom"+t],delete a[e+"-left"+t])},f=e=>{const t=a[e];if(!t)return;const n=t.indexOf(",")>-1?[t]:t.split(" ");let o=n.length;for(;o--;)if(n[o]!==n[0])return!1;return a[e]=n[0],!0},g=e=>(i=!0,s[e]),p=(e,t)=>(i&&(e=e.replace(/\uFEFF[0-9]/g,e=>s[e])),t||(e=e.replace(/\\([\'\";:])/g,"$1")),e),h=e=>String.fromCharCode(parseInt(e.slice(1),16)),b=e=>e.replace(/\\[0-9a-f]+/gi,h),y=(t,n,o,r,s,a)=>{if(s=s||a)return"'"+(s=p(s)).replace(/\'/g,"\\'")+"'";if(n=p(n||o||r||""),!e.allow_script_urls){const t=n.replace(/[\s\r\n]+/g,"");if(/(java|vb)script:/i.test(t))return"";if(!e.allow_svg_data_urls&&/^data:image\/svg/i.test(t))return""}return c&&(n=c.call(m,n,"style")),"url('"+n.replace(/\'/g,"\\'")+"')"};if(t){let s;for(t=(t=t.replace(/[\u0000-\u001F]/g,"")).replace(/\\[\"\';:\uFEFF]/g,g).replace(/\"[^\"]+\"|\'[^\']+\'/g,e=>e.replace(/[;:]/g,g));s=o.exec(t);){o.lastIndex=s.index+s[0].length;let t=s[1].replace(r,""),c=s[2].replace(r,"");if(t&&c){if(t=b(t),c=b(c),t.startsWith("--")||(t=t.toLowerCase()),-1!==t.indexOf(l)||-1!==t.indexOf('"'))continue;if(!e.allow_script_urls&&("behavior"===t||/expression\s*\(|\/\*|\*\//.test(c)))continue;"font-weight"===t&&"700"===c&&(c="bold"),"rgb"===qa(c)&&Wa(c).each(e=>{c=Ya(Ka(e)).toLowerCase()}),c=c.replace(n,y),a[t]=i?p(c,!0):c}}u("border","",!0),u("border","-width"),u("border","-color"),u("border","-style"),u("padding",""),u("margin",""),/(#.* rgb(a?)\(.*)|(rgb(a?)\(.*\) )/.test(a["border-color"])||(C="border-style",w="border-color",f(v="border-width")&&f(C)&&f(w)&&(a.border=a[v]+" "+a[C]+" "+a[w],delete a[v],delete a[C],delete a[w])),"medium none"===a.border&&delete a.border,"none"===a["border-image"]&&delete a["border-image"]}var v,C,w;return a},serialize:(e,t)=>{let n="";const o=(t,o)=>{const r=o[t];if(r)for(let t=0,o=r.length;t0?" ":"")+o+": "+s+";")}};return t&&a?(o("*",a),o(t,a)):he(e,(e,o)=>{e&&((e,t)=>{if(!i||!t)return!0;let n=i["*"];return!(n&&n[e]||(n=i[t],n&&n[e]))})(o,t)&&(n+=(n.length>0?" ":"")+o+": "+e+";")}),n}};return d},Xa={keyLocation:!0,layerX:!0,layerY:!0,returnValue:!0,webkitMovementX:!0,webkitMovementY:!0,keyIdentifier:!0,mozPressure:!0,mozInputSource:!0},Qa=(e,t)=>{const n=t??{};for(const t in e)_e(Xa,t)||(n[t]=e[t]);return C(e.composedPath)&&(n.composedPath=()=>e.composedPath()),C(e.getModifierState)&&(n.getModifierState=t=>e.getModifierState(t)),C(e.getTargetRanges)&&(n.getTargetRanges=()=>e.getTargetRanges()),n},Za=(e,t,n,o)=>{const r=Qa(t,o);return r.type=e,v(r.target)&&(r.target=r.srcElement??n),(e=>v(e.preventDefault)||(e=>e instanceof Event||w(e.initEvent))(e))(t)&&(r.preventDefault=()=>{r.defaultPrevented=!0,r.isDefaultPrevented=M,w(t.preventDefault)&&t.preventDefault()},r.stopPropagation=()=>{r.cancelBubble=!0,r.isPropagationStopped=M,w(t.stopPropagation)&&t.stopPropagation()},r.stopImmediatePropagation=()=>{r.isImmediatePropagationStopped=M,r.stopPropagation()},(e=>e.isDefaultPrevented===M||e.isDefaultPrevented===L)(r)||(r.isDefaultPrevented=!0===r.defaultPrevented?M:L,r.isPropagationStopped=!0===r.cancelBubble?M:L,r.isImmediatePropagationStopped=L)),r},Ja=/^(?:mouse|contextmenu)|click/,ei=(e,t,n,o)=>{e.addEventListener(t,n,o||!1)},ti=(e,t,n,o)=>{e.removeEventListener(t,n,o||!1)},ni=(e,t)=>{const n=Za(e.type,e,document,t);if((e=>C(e)&&Ja.test(e.type))(e)&&y(e.pageX)&&!y(e.clientX)){const t=n.target.ownerDocument||document,o=t.documentElement,r=t.body,s=n;s.pageX=e.clientX+(o&&o.scrollLeft||r&&r.scrollLeft||0)-(o&&o.clientLeft||r&&r.clientLeft||0),s.pageY=e.clientY+(o&&o.scrollTop||r&&r.scrollTop||0)-(o&&o.clientTop||r&&r.clientTop||0)}return n},oi=(e,t,n)=>{const o=e.document,r={type:"ready"};if(n.domLoaded)return void t(r);const s=()=>{ti(e,"DOMContentLoaded",s),ti(e,"load",s),n.domLoaded||(n.domLoaded=!0,t(r)),e=null};"complete"===o.readyState||"interactive"===o.readyState&&o.body?s():ei(e,"DOMContentLoaded",s),n.domLoaded||ei(e,"load",s)};class ri{static Event=new ri;domLoaded=!1;events={};expando;hasFocusIn;count=1;constructor(){this.expando="mce-data-"+(+new Date).toString(32),this.hasFocusIn="onfocusin"in document.documentElement,this.count=1}bind(e,t,n,o){const r=this;let s;const a=window,i=e=>{r.executeHandlers(ni(e||a.event),l)};if(!e||ss(e)||ls(e))return n;let l;e[r.expando]?l=e[r.expando]:(l=r.count++,e[r.expando]=l,r.events[l]={}),o=o||e;const c=t.split(" ");let d=c.length;for(;d--;){let t=c[d],m=i,u=!1,f=!1;"DOMContentLoaded"===t&&(t="ready"),r.domLoaded&&"ready"===t&&"complete"===e.readyState?n.call(o,ni({type:t})):(r.hasFocusIn||"focusin"!==t&&"focusout"!==t||(u=!0,f="focusin"===t?"focus":"blur",m=e=>{const t=ni(e||a.event);t.type="focus"===t.type?"focusin":"focusout",r.executeHandlers(t,l)}),s=r.events[l][t],s?"ready"===t&&r.domLoaded?n(ni({type:t})):s.push({func:n,scope:o}):(r.events[l][t]=s=[{func:n,scope:o}],s.fakeName=f,s.capture=u,s.nativeHandler=m,"ready"===t?oi(e,m,r):ei(e,f||t,m,u)))}return e=s=null,n}unbind(e,t,n){if(!e||ss(e)||ls(e))return this;const o=e[this.expando];if(o){let r=this.events[o];if(t){const o=t.split(" ");let s=o.length;for(;s--;){const t=o[s],a=r[t];if(a){if(n){let e=a.length;for(;e--;)if(a[e].func===n){const n=a.nativeHandler,o=a.fakeName,s=a.capture,i=a.slice(0,e).concat(a.slice(e+1));i.nativeHandler=n,i.fakeName=o,i.capture=s,r[t]=i}}n&&0!==a.length||(delete r[t],ti(e,a.fakeName||t,a.nativeHandler,a.capture))}}}else he(r,(t,n)=>{ti(e,t.fakeName||n,t.nativeHandler,t.capture)}),r={};for(const e in r)if(_e(r,e))return this;delete this.events[o];try{delete e[this.expando]}catch{e[this.expando]=null}}return this}fire(e,t,n){return this.dispatch(e,t,n)}dispatch(e,t,n){if(!e||ss(e)||ls(e))return this;const o=ni({type:t,target:e},n);do{const t=e[this.expando];t&&this.executeHandlers(o,t),e=e.parentNode||e.ownerDocument||e.defaultView||e.parentWindow}while(e&&!o.isPropagationStopped());return this}clean(e){if(!e||ss(e)||ls(e))return this;if(e[this.expando]&&this.unbind(e),e.getElementsByTagName||(e=e.document),e&&e.getElementsByTagName){this.unbind(e);const t=e.getElementsByTagName("*");let n=t.length;for(;n--;)(e=t[n])[this.expando]&&this.unbind(e)}return this}destroy(){this.events={}}cancel(e){return e&&(e.preventDefault(),e.stopImmediatePropagation()),!1}executeHandlers(e,t){const n=this.events[t],o=n&&n[e.type];if(o)for(let t=0,n=o.length;t{v(n)||""===n?xo(e,t):vo(e,t,n)},di=e=>e.replace(/[A-Z]/g,e=>"-"+e.toLowerCase()),mi=(e,t)=>{let n=0;if(e)for(let o=e.nodeType,r=e.previousSibling;r;r=r.previousSibling){const e=r.nodeType;(!t||!ss(r)||e!==o&&r.data.length)&&(n++,o=e)}return n},ui=(e,t)=>{const n=wo(t,"style"),o=e.serialize(e.parse(n),En(t));ci(t,ii,o)},fi=(e,t,n)=>{const o=di(t);v(n)||""===n?Wo(e,o):zo(e,o,((e,t)=>S(e)?_e(li,t)?e+"":e+"px":e)(n,o))},gi=(e,t={})=>{const n={},o=window,r={};let s=0;const a=sa.forElement(un.fromDom(e),{contentCssCors:t.contentCssCors,referrerPolicy:t.referrerPolicy,crossOrigin:e=>{const n=t.crossOrigin;return w(n)?n(e,"stylesheet"):void 0}}),i=[],l=t.schema?t.schema:Ua({}),c=Ga({url_converter:t.url_converter,url_converter_scope:t.url_converter_scope},t.schema),d=t.ownEvents?new ri:ri.Event,m=l.getBlockElements(),f=t=>t&&e&&u(t)?e.getElementById(t):t,h=e=>{const t=f(e);return C(t)?un.fromDom(t):null},b=(e,t,n="")=>{let o;const r=h(e);if(C(r)&&Rn(r)){const e=G[t];o=e&&e.get?e.get(r.dom,t):wo(r,t)}return C(o)?o:n},y=e=>{const t=f(e);return v(t)?[]:t.attributes},S=(e,n,o)=>{O(e,e=>{if(Xr(e)){const r=un.fromDom(e),s=""===o?null:o,a=wo(r,n),i=G[n];i&&i.set?i.set(r.dom,s,n):ci(r,n,s),a!==s&&t.onSetAttrib&&t.onSetAttrib({attrElm:r.dom,attrName:n,attrValue:s})}})},E=()=>t.root_element||e.body,_=(t,n)=>((e,t,n)=>{let o=0,r=0;const s=e.ownerDocument;if(n=n||e,t){if(n===e&&t.getBoundingClientRect&&"static"===$o(un.fromDom(e),"position")){const n=t.getBoundingClientRect();return o=n.left+(s.documentElement.scrollLeft||e.scrollLeft)-s.documentElement.clientLeft,r=n.top+(s.documentElement.scrollTop||e.scrollTop)-s.documentElement.clientTop,{x:o,y:r}}let a=t;for(;a&&a!==n&&a.nodeType&&!oa(a,n);){const e=a;o+=e.offsetLeft||0,r+=e.offsetTop||0,a=e.offsetParent}for(a=t.parentNode;a&&a!==n&&a.nodeType&&!oa(a,n);)o-=a.scrollLeft||0,r-=a.scrollTop||0,a=a.parentNode;r+=(e=>ta.isFirefox()&&"table"===En(e)?na(Vn(e)).filter(e=>"caption"===En(e)).bind(e=>na(Hn(e)).map(t=>{const n=t.dom.offsetTop,o=e.dom.offsetTop,r=e.dom.offsetHeight;return n<=o?-r:0})).getOr(0):0)(un.fromDom(t))}return{x:o,y:r}})(e.body,f(t),n),k=(e,t,n)=>{const o=f(e);var r;if(!v(o)&&(Qr(o)||Xr(r=o)&&"http://www.w3.org/2000/svg"===r.namespaceURI))return n?$o(un.fromDom(o),di(t)):("float"===(t=t.replace(/-(\D)/g,(e,t)=>t.toUpperCase()))&&(t="cssFloat"),o.style?o.style[t]:void 0)},R=e=>{const t=f(e);if(!t)return{w:0,h:0};let n=k(t,"width"),o=k(t,"height");return n&&-1!==n.indexOf("px")||(n="0"),o&&-1!==o.indexOf("px")||(o="0"),{w:parseInt(n,10)||t.offsetWidth||t.clientWidth,h:parseInt(o,10)||t.offsetHeight||t.clientHeight}},A=(e,t)=>{if(!e)return!1;const n=p(e)?e:[e];return H(n,e=>bn(un.fromDom(e),t))},D=(e,t,n,o)=>{const r=[];let s=f(e);o=void 0===o;const a=n||("BODY"!==E().nodeName?E().parentNode:null);if(u(t))if("*"===t)t=Xr;else{const e=t;t=t=>A(t,e)}for(;s&&!(s===a||v(s.nodeType)||cs(s)||ds(s));){if(!t||t(s)){if(!o)return[s];r.push(s)}s=s.parentNode}return o?r:null},T=(e,t,n)=>{let o=t;if(e){u(t)&&(o=e=>A(e,t));for(let t=e[n];t;t=t[n])if(w(o)&&o(t))return t}return null},O=function(e,t,n){const o=n??this;if(p(e)){const n=[];return si(e,(e,r)=>{const s=f(e);s&&n.push(t.call(o,s,r))}),n}{const n=f(e);return!!n&&t.call(o,n)}},B=(e,t)=>{O(e,e=>{he(t,(t,n)=>{S(e,n,t)})})},P=(e,t)=>{O(e,e=>{const n=un.fromDom(e);Mo(n,t)})},L=(t,n,o,r,s)=>O(t,t=>{const a=u(n)?e.createElement(n):n;return C(o)&&B(a,o),r&&(!u(r)&&r.nodeType?a.appendChild(r):u(r)&&P(a,r)),s?a:t.appendChild(a)}),M=(t,n,o)=>L(e.createElement(t),t,n,o,!0),I=Sa.encodeAllRaw,F=(e,t)=>O(e,e=>{const n=un.fromDom(e);return t&&q(Vn(n),e=>{An(e)&&0===e.dom.length?Ro(e):mo(n,e)}),Ro(n),n.dom}),U=(e,t,n)=>{O(e,e=>{if(Xr(e)){const o=un.fromDom(e),r=t.split(" ");q(r,e=>{C(n)?(n?yr:Cr)(o,e):((e,t)=>{const n=gr(e)?e.dom.classList.toggle(t):((e,t)=>$(pr(e),t)?br(e,t):hr(e,t))(e,t);vr(e)})(o,e)})}})},z=(e,t,n)=>O(t,o=>{const r=p(t)?e.cloneNode(!0):e;return n&&si(ai(o.childNodes),e=>{r.appendChild(e)}),o.parentNode?.replaceChild(r,o),o}),j=()=>e.createRange(),V=(n,r,s,a)=>{if(p(n)){let e=n.length;const t=[];for(;e--;)t[e]=V(n[e],r,s,a);return t}return!t.collect||n!==e&&n!==o||i.push([n,r,s,a]),d.bind(n,r,s,a||Y)},W=(t,n,r)=>{if(p(t)){let e=t.length;const o=[];for(;e--;)o[e]=W(t[e],n,r);return o}if(i.length>0&&(t===e||t===o)){let e=i.length;for(;e--;){const[o,s,a]=i[e];t!==o||n&&n!==s||r&&r!==a||d.unbind(o,s,a)}}return d.unbind(t,n,r)},K=e=>{if(e&&Qr(e)){const t=e.getAttribute("data-mce-contenteditable");return t&&"inherit"!==t?t:"inherit"!==e.contentEditable?e.contentEditable:null}return null},Y={doc:e,settings:t,win:o,files:r,stdMode:!0,boxModel:!0,styleSheetLoader:a,boundEvents:i,styles:c,schema:l,events:d,isBlock:e=>u(e)?_e(m,e):Xr(e)&&(_e(m,e.nodeName)||Zs(l,e)),root:null,clone:(e,t)=>e.cloneNode(t),getRoot:E,getViewPort:e=>{const t=Wr(e);return{x:t.x,y:t.y,w:t.width,h:t.height}},getRect:e=>{const t=f(e),n=_(t),o=R(t);return{x:n.x,y:n.y,w:o.w,h:o.h}},getSize:R,getParent:(e,t,n)=>{const o=D(e,t,n,!1);return o&&o.length>0?o[0]:null},getParents:D,get:f,getNext:(e,t)=>T(e,t,"nextSibling"),getPrev:(e,t)=>T(e,t,"previousSibling"),select:(n,o)=>{const r=f(o)??t.root_element??e;return w(r.querySelectorAll)?me(r.querySelectorAll(n)):[]},is:A,add:L,create:M,createHTML:(e,t,n="")=>{let o="<"+e;for(const e in t)ke(t,e)&&(o+=" "+e+'="'+I(t[e])+'"');return rt(n)&&_e(l.getVoidElements(),e)?o+" />":o+">"+n+""},createFragment:t=>{const n=e.createElement("div"),o=e.createDocumentFragment();let r;for(o.appendChild(n),t&&(n.innerHTML=t);r=n.firstChild;)o.appendChild(r);return o.removeChild(n),o},remove:F,setStyle:(e,n,o)=>{O(e,e=>{const r=un.fromDom(e);fi(r,n,o),t.update_styles&&ui(c,r)})},getStyle:k,setStyles:(e,n)=>{O(e,e=>{const o=un.fromDom(e);he(n,(e,t)=>{fi(o,t,e)}),t.update_styles&&ui(c,o)})},removeAllAttribs:e=>O(e,e=>{const t=e.attributes;for(let n=t.length-1;n>=0;n--)e.removeAttributeNode(t.item(n))}),setAttrib:S,setAttribs:B,getAttrib:b,getPos:_,parseStyle:e=>c.parse(e),serializeStyle:(e,t)=>c.serialize(e,t),addStyle:t=>{if(Y!==gi.DOM&&e===document){if(n[t])return;n[t]=!0}let o=e.getElementById("mceDefaultStyles");if(!o){o=e.createElement("style"),o.id="mceDefaultStyles",o.type="text/css";const t=e.head;t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o)}o.styleSheet?o.styleSheet.cssText+=t:o.appendChild(e.createTextNode(t))},loadCSS:e=>{e||(e=""),q(e.split(","),e=>{r[e]=!0,a.load(e).catch(x)})},addClass:(e,t)=>{U(e,t,!0)},removeClass:(e,t)=>{U(e,t,!1)},hasClass:(e,t)=>{const n=h(e),o=t.split(" ");return C(n)&&oe(o,e=>wr(n,e))},toggleClass:U,show:e=>{O(e,e=>Wo(un.fromDom(e),"display"))},hide:e=>{O(e,e=>zo(un.fromDom(e),"display","none"))},isHidden:e=>{const t=h(e);return C(t)&&ze(Vo(t,"display"),"none")},uniqueId:e=>(e||"mce_")+s++,setHTML:P,getOuterHTML:e=>{const t=h(e);return C(t)?Xr(t.dom)?t.dom.outerHTML:(e=>{const t=un.fromTag("div"),n=un.fromDom(e.dom.cloneNode(!0));return go(t,n),Lo(t)})(t):""},setOuterHTML:(e,t)=>{O(e,e=>{Xr(e)&&(e.outerHTML=t)})},decode:Sa.decode,encode:I,insertAfter:(e,t)=>{const n=f(t);return O(e,e=>{const t=n?.parentNode,o=n?.nextSibling;return t&&(o?t.insertBefore(e,o):t.appendChild(e)),e})},replace:z,rename:(e,t)=>{if(e.nodeName!==t.toUpperCase()){const n=M(t);return si(y(e),t=>{S(n,t.nodeName,b(e,t.nodeName))}),z(n,e,!0),n}return e},findCommonAncestor:(e,t)=>{let n=e;for(;n;){let e=t;for(;e&&n!==e;)e=e.parentNode;if(n===e)break;n=n.parentNode}return!n&&e.ownerDocument?e.ownerDocument.documentElement:n},run:O,getAttribs:y,isEmpty:(e,t,n)=>{if(g(t)){const o=e=>{const n=e.nodeName.toLowerCase();return Boolean(t[n])};return Ps(l,e,{...n,isContent:o})}return Ps(l,e,n)},createRng:j,nodeIndex:mi,split:(e,t,n)=>{let o,r,s=j();if(e&&t&&e.parentNode&&t.parentNode){const a=e.parentNode;return s.setStart(a,mi(e)),s.setEnd(t.parentNode,mi(t)),o=s.extractContents(),s=j(),s.setStart(t.parentNode,mi(t)+1),s.setEnd(a,mi(e)+1),r=s.extractContents(),a.insertBefore(la(Y,o,l),e),n?a.insertBefore(n,e):a.insertBefore(t,e),a.insertBefore(la(Y,r,l),e),F(e),n||t}},bind:V,unbind:W,fire:(e,t,n)=>d.dispatch(e,t,n),dispatch:(e,t,n)=>d.dispatch(e,t,n),getContentEditable:K,getContentEditableParent:e=>{const t=E();let n=null;for(let o=e;o&&o!==t&&(n=K(o),null===n);o=o.parentNode);return n},isEditable:e=>{if(C(e)){const t=Xr(e)?e:e.parentElement;return C(t)&&Qr(t)&&Sr(un.fromDom(t))}return!1},destroy:()=>{if(i.length>0){let e=i.length;for(;e--;){const[t,n,o]=i[e];d.unbind(t,n,o)}}he(r,(e,t)=>{a.unload(t),delete r[t]})},isChildOf:(e,t)=>e===t||t.contains(e),dumpRng:e=>"startContainer: "+e.startContainer.nodeName+", startOffset: "+e.startOffset+", endContainer: "+e.endContainer.nodeName+", endOffset: "+e.endOffset},G=((e,t,n)=>{const o=t.keep_values,r={set:(e,o,r)=>{const s=un.fromDom(e);w(t.url_converter)&&C(o)&&(o=t.url_converter.call(t.url_converter_scope||n(),String(o),r,e)),ci(s,"data-mce-"+r,o),ci(s,r,o)},get:(e,t)=>{const n=un.fromDom(e);return wo(n,"data-mce-"+t)||wo(n,t)}},s={style:{set:(t,n)=>{const r=un.fromDom(t);o&&ci(r,ii,n),xo(r,"style"),u(n)&&jo(r,e.parse(n))},get:t=>{const n=un.fromDom(t),o=wo(n,ii)||wo(n,"style");return e.serialize(e.parse(o),En(n))}}};return o&&(s.href=s.src=r),s})(c,t,N(Y));return Y};gi.DOM=gi(document),gi.nodeIndex=mi;const pi=gi.DOM;class hi{static ScriptLoader=new hi;settings;states={};queue=[];scriptLoadedCallbacks={};queueLoadedCallbacks=[];loading=!1;constructor(e={}){this.settings=e}_setReferrerPolicy(e){this.settings.referrerPolicy=e}_setCrossOrigin(e){this.settings.crossOrigin=e}loadScript(e){return new Promise((t,n)=>{const o=pi,r=document;let s;const a=()=>{o.remove(i),s&&(s.onerror=s.onload=s=null)},i=o.uniqueId();s=r.createElement("script"),s.id=i,s.type="text/javascript",s.src=dn._addCacheSuffix(e),this.settings.referrerPolicy&&o.setAttrib(s,"referrerpolicy",this.settings.referrerPolicy);const l=this.settings.crossOrigin;if(w(l)){const t=l(e);void 0!==t&&o.setAttrib(s,"crossorigin",t)}s.onload=()=>{a(),t()},s.onerror=()=>{a(),n("Failed to load script: "+e)},(r.head||r.body).appendChild(s)})}isDone(e){return 2===this.states[e]}markDone(e){this.states[e]=2}add(e){const t=this;return t.queue.push(e),void 0===t.states[e]&&(t.states[e]=0),new Promise((n,o)=>{t.scriptLoadedCallbacks[e]||(t.scriptLoadedCallbacks[e]=[]),t.scriptLoadedCallbacks[e].push({resolve:n,reject:o})})}load(e){return this.add(e)}remove(e){delete this.states[e],delete this.scriptLoadedCallbacks[e]}loadQueue(){const e=this.queue;return this.queue=[],this.loadScripts(e)}loadScripts(e){const t=this,n=(e,n)=>{xe(t.scriptLoadedCallbacks,n).each(t=>{q(t,t=>t[e](n))}),delete t.scriptLoadedCallbacks[n]},o=e=>{const t=Y(e,e=>"rejected"===e.status);return t.length>0?Promise.reject(ne(t,({reason:e})=>p(e)?e:[e])):Promise.resolve()},r=e=>Promise.allSettled(V(e,e=>2===t.states[e]?(n("resolve",e),Promise.resolve()):3===t.states[e]?(n("reject",e),Promise.reject(e)):(t.states[e]=1,t.loadScript(e).then(()=>{t.states[e]=2,n("resolve",e);const s=t.queue;return s.length>0?(t.queue=[],r(s).then(o)):Promise.resolve()},()=>(t.states[e]=3,n("reject",e),Promise.reject(e)))))),s=e=>(t.loading=!0,r(e).then(e=>{t.loading=!1;const n=t.queueLoadedCallbacks.shift();return I.from(n).each(P),o(e)})),a=ut(e);return t.loading?new Promise((e,n)=>{t.queueLoadedCallbacks.push(()=>{s(a).then(e,n)})}):s(a)}getScriptAttributes(e){const t={};this.settings.referrerPolicy&&(t.referrerpolicy=this.settings.referrerPolicy);const n=this.settings.crossOrigin;if(w(n)){const o=n(e);u(o)&&(t.crossorigin=o)}return t}}const bi={},yi=Re("en"),vi=()=>xe(bi,yi.get()),Ci={getData:()=>be(bi,e=>({...e})),setCode:e=>{e&&yi.set(e)},getCode:()=>yi.get(),add:(e,t)=>{let n=bi[e];n||(bi[e]=n={});const o=V(ge(t),e=>e.toLowerCase());he(t,(e,r)=>{const s=r.toLowerCase();s!==r&&((e,t)=>{const n=e.indexOf(t);return-1!==n&&e.indexOf(t,n+1)>n})(o,s)?(_e(t,s)||(n[s]=e),n[r]=e):n[s]=e})},translate:e=>{const t=vi().getOr({}),n=e=>w(e)?Object.prototype.toString.call(e):o(e)?"":""+e,o=e=>""===e||null==e,r=e=>{const o=n(e);return _e(t,o)?n(t[o]):xe(t,o.toLowerCase()).map(n).getOr(o)},s=e=>e.replace(/{context:\w+}$/,""),a=e=>e.replaceAll("...","\u2026");if(o(e))return"";if(f(i=e)&&_e(i,"raw"))return a(n(e.raw));var i;if((e=>p(e)&&e.length>1)(e)){const t=e.slice(1);return a(s(r(e[0]).replace(/\{([0-9]+)\}/g,(e,o)=>_e(t,o)?n(t[o]):e)))}return a(s(r(e)))},isRtl:()=>vi().bind(e=>xe(e,"_dir")).exists(e=>"rtl"===e),hasCode:e=>_e(bi,e)},wi=()=>{const e=[],t={},n={},o=[],r=(e,t)=>{const n=Y(o,n=>n.name===e&&n.state===t);q(n,e=>e.resolve())},s=e=>_e(t,e),a=(e,n)=>{const o=Ci.getCode();!o||n&&-1===(","+(n||"")+",").indexOf(","+o+",")||hi.ScriptLoader.add(t[e]+"/langs/"+o+".js")},i=(e,t="added")=>"added"===t&&(e=>_e(n,e))(e)||"loaded"===t&&s(e)?Promise.resolve():new Promise(n=>{o.push({name:e,state:t,resolve:n})});return{items:e,urls:t,lookup:n,get:e=>{if(n[e])return n[e].instance},requireLangPack:(e,t)=>{!1!==wi.languageLoad&&(s(e)?a(e,t):i(e,"loaded").then(()=>a(e,t)))},add:(t,o)=>(e.push(o),n[t]={instance:o},r(t,"added"),o),remove:e=>{delete t[e],delete n[e]},createUrl:(e,t)=>u(t)?u(e)?{prefix:"",resource:t,suffix:""}:{prefix:e.prefix,resource:t,suffix:e.suffix}:t,load:(e,o)=>{if(t[e])return Promise.resolve();let s=u(o)?o:o.prefix+o.resource+o.suffix;0!==s.indexOf("/")&&-1===s.indexOf("://")&&(s=wi.baseURL+"/"+s),t[e]=s.substring(0,s.lastIndexOf("/"));const a=()=>(r(e,"loaded"),Promise.resolve());return n[e]?a():hi.ScriptLoader.add(s).then(a)},waitFor:i}};wi.languageLoad=!0,wi.baseURL="",wi.PluginManager=wi(),wi.ThemeManager=wi(),wi.ModelManager=wi();const Si=N("mce-annotation"),Ei=N("data-mce-annotation"),xi=N("data-mce-annotation-uid"),_i=N("data-mce-annotation-active"),ki=N("data-mce-annotation-classes"),Ni=N("data-mce-annotation-attrs"),Ri=e=>t=>vn(t,e),Ai=(e,t)=>{const n=e.selection.getRng(),o=un.fromDom(n.startContainer),r=un.fromDom(e.getBody()),s=t.fold(()=>"."+Si(),e=>`[${Ei()}="${e}"]`),a=qn(o,n.startOffset).getOr(o);return fr(a,s,Ri(r)).bind(t=>So(t,`${xi()}`).bind(n=>So(t,`${Ei()}`).map(t=>{const o=Ti(e,n);return{uid:n,name:t,elements:o}})))},Di=(e,t)=>Eo(e,"data-mce-bogus")||((e,t,n)=>mr(e,'[data-mce-bogus="all"]',n).isSome())(e,0,Ri(t)),Ti=(e,t)=>{const n=un.fromDom(e.getBody()),o=Rr(n,`[${xi()}="${t}"]`);return Y(o,e=>!Di(e,n))},Oi=(e,t)=>{const n=un.fromDom(e.getBody()),o=Rr(n,`[${Ei()}="${t}"]`),r={};return q(o,e=>{if(!Di(e,n)){const t=wo(e,xi()),n=xe(r,t).getOr([]);r[t]=n.concat([e])}}),r},Bi=(e,t,n=L)=>{const o=new Kr(e,t),r=e=>{let t;do{t=o[e]()}while(t&&!ss(t)&&!n(t));return I.from(t).filter(ss)};return{current:()=>I.from(o.current()).filter(ss),next:()=>r("next"),prev:()=>r("prev"),prev2:()=>r("prev2")}},Pi=(e,t)=>{const n=t||(t=>e.isBlock(t)||ms(t)||ps(t)),o=(e,t,n,r)=>{if(ss(e)){const n=r(e,t,e.data);if(-1!==n)return I.some({container:e,offset:n})}return n().bind(e=>o(e.container,e.offset,n,r))};return{backwards:(t,r,s,a)=>{const i=Bi(t,a??e.getRoot(),n);return o(t,r,()=>i.prev().map(e=>({container:e,offset:e.length})),s).getOrNull()},forwards:(t,r,s,a)=>{const i=Bi(t,a??e.getRoot(),n);return o(t,r,()=>i.next().map(e=>({container:e,offset:0})),s).getOrNull()}}},Li=e=>{let t;return n=>(t=t||ae(e,M),_e(t,En(n)))},Mi=e=>Rn(e)&&"br"===En(e),Ii=e=>Rn(e)&&"script"===En(e),Fi=e=>Rn(e)&&"style"===En(e),Ui=Li(["h1","h2","h3","h4","h5","h6","p","div","address","pre","form","blockquote","center","dir","fieldset","header","footer","article","section","hgroup","aside","nav","figure"]),zi=Li(["ul","ol","dl"]),ji=Li(["li","dd","dt"]),$i=Li(["thead","tbody","tfoot"]),Hi=Li(["td","th"]),Vi=Li(["pre","script","textarea","style"]),qi=()=>{const e=un.fromTag("br");return vo(e,"data-mce-bogus","1"),e},Wi=e=>{No(e),go(e,qi())},Ki=ct,Yi=mt,Gi=e=>e.replace(/\uFEFF/g,""),Xi=Xr,Qi=ss,Zi=e=>(Qi(e)&&(e=e.parentNode),Xi(e)&&e.hasAttribute("data-mce-caret")),Ji=e=>Qi(e)&&Yi(e.data),el=e=>Zi(e)||Ji(e),tl=e=>e.firstChild!==e.lastChild||!ms(e.firstChild),nl=e=>{const t=e.container();return!!ss(t)&&(t.data.charAt(e.offset())===Ki||e.isAtStart()&&Ji(t.previousSibling))},ol=e=>{const t=e.container();return!!ss(t)&&(t.data.charAt(e.offset()-1)===Ki||e.isAtEnd()&&Ji(t.nextSibling))},rl=e=>Qi(e)&&e.data[0]===Ki,sl=e=>Qi(e)&&e.data[e.data.length-1]===Ki,al=e=>e&&e.hasAttribute("data-mce-caret")?((e=>{const t=e.getElementsByTagName("br"),n=t[t.length-1];ts(n)&&n.parentNode?.removeChild(n)})(e),e.removeAttribute("data-mce-caret"),e.removeAttribute("data-mce-bogus"),e.removeAttribute("style"),e.removeAttribute("data-mce-style"),e.removeAttribute("_moz_abspos"),e):null,il=e=>Zi(e.startContainer),ll=Math.round,cl=e=>e?{left:ll(e.left),top:ll(e.top),bottom:ll(e.bottom),right:ll(e.right),width:ll(e.width),height:ll(e.height)}:{left:0,top:0,bottom:0,right:0,width:0,height:0},dl=(e,t)=>(e=cl(e),t||(e.left=e.left+e.width),e.right=e.left,e.width=0,e),ml=(e,t,n)=>e>=0&&e<=Math.min(t.height,n.height)/2,ul=(e,t)=>{const n=Math.min(t.height/2,e.height/2);return e.bottom-nt.bottom)&&ml(t.top-e.bottom,e,t)},fl=(e,t)=>e.top>t.bottom||!(e.bottom{const o=Math.max(Math.min(t,e.left+e.width),e.left),r=Math.max(Math.min(n,e.top+e.height),e.top);return Math.sqrt((t-o)*(t-o)+(n-r)*(n-r))},pl=e=>{const t=e.startContainer,n=e.startOffset;return t===e.endContainer&&t.hasChildNodes()&&e.endOffset===n+1?t.childNodes[n]:null},hl=(e,t)=>{if(Xr(e)&&e.hasChildNodes()){const n=e.childNodes,o=((e,t,n)=>Math.min(Math.max(e,0),n))(t,0,n.length-1);return n[o]}return e},bl=new RegExp("[\u0300-\u036f\u0483-\u0487\u0488-\u0489\u0591-\u05bd\u05bf\u05c1-\u05c2\u05c4-\u05c5\u05c7\u0610-\u061a\u064b-\u065f\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7-\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u08e3-\u0902\u093a\u093c\u0941-\u0948\u094d\u0951-\u0957\u0962-\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2-\u09e3\u0a01-\u0a02\u0a3c\u0a41-\u0a42\u0a47-\u0a48\u0a4b-\u0a4d\u0a51\u0a70-\u0a71\u0a75\u0a81-\u0a82\u0abc\u0ac1-\u0ac5\u0ac7-\u0ac8\u0acd\u0ae2-\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62-\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c00\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55-\u0c56\u0c62-\u0c63\u0c81\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc-\u0ccd\u0cd5-\u0cd6\u0ce2-\u0ce3\u0d01\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62-\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb-\u0ebc\u0ec8-\u0ecd\u0f18-\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86-\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039-\u103a\u103d-\u103e\u1058-\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085-\u1086\u108d\u109d\u135d-\u135f\u1712-\u1714\u1732-\u1734\u1752-\u1753\u1772-\u1773\u17b4-\u17b5\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927-\u1928\u1932\u1939-\u193b\u1a17-\u1a18\u1a1b\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1ab0-\u1abd\u1abe\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80-\u1b81\u1ba2-\u1ba5\u1ba8-\u1ba9\u1bab-\u1bad\u1be6\u1be8-\u1be9\u1bed\u1bef-\u1bf1\u1c2c-\u1c33\u1c36-\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1cf4\u1cf8-\u1cf9\u1dc0-\u1df5\u1dfc-\u1dff\u200c-\u200d\u20d0-\u20dc\u20dd-\u20e0\u20e1\u20e2-\u20e4\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302d\u302e-\u302f\u3099-\u309a\ua66f\ua670-\ua672\ua674-\ua67d\ua69e-\ua69f\ua6f0-\ua6f1\ua802\ua806\ua80b\ua825-\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\ua9e5\uaa29-\uaa2e\uaa31-\uaa32\uaa35-\uaa36\uaa43\uaa4c\uaa7c\uaab0\uaab2-\uaab4\uaab7-\uaab8\uaabe-\uaabf\uaac1\uaaec-\uaaed\uaaf6\uabe5\uabe8\uabed\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\uff9e-\uff9f]"),yl=e=>u(e)&&e.charCodeAt(0)>=768&&bl.test(e),vl=gs,Cl=ps,wl=ms,Sl=ss,El=Jr(["script","style","textarea"]),xl=Jr(["img","input","textarea","hr","iframe","video","audio","object","embed"]),_l=Jr(["table"]),kl=el,Nl=e=>!kl(e)&&(Sl(e)?!El(e.parentNode):xl(e)||wl(e)||_l(e)||Rl(e)),Rl=e=>!(e=>Xr(e)&&"true"===e.getAttribute("unselectable"))(e)&&Cl(e),Al=(e,t)=>Nl(e)&&((e,t)=>{for(let n=e.parentNode;n&&n!==t;n=n.parentNode){if(Rl(n))return!1;if(vl(n))return!0}return!0})(e,t),Dl=Xr,Tl=Nl,Ol=es("display","block table"),Bl=es("float","left right"),Pl=((...e)=>t=>{for(let n=0;nt<0&&Xr(e)&&e.hasChildNodes()?void 0:hl(e,t),zl=e=>e?e.createRange():gi.DOM.createRng(),jl=e=>u(e)&&/[\r\n\t ]/.test(e),$l=e=>!!e.setStart&&!!e.setEnd,Hl=e=>{const t=e.startContainer,n=e.startOffset;if(jl(e.toString())&&Ll(t.parentNode)&&ss(t)){const e=t.data;if(jl(e[n-1])||jl(e[n+1]))return!0}return!1},Vl=e=>0===e.left&&0===e.right&&0===e.top&&0===e.bottom,ql=e=>{let t;const n=e.getClientRects();return t=n.length>0?cl(n[0]):cl(e.getBoundingClientRect()),!$l(e)&&Il(e)&&Vl(t)?(e=>{const t=e.ownerDocument,n=zl(t),o=t.createTextNode(dt),r=e.parentNode;r.insertBefore(o,e),n.setStart(o,0),n.setEnd(o,1);const s=cl(n.getBoundingClientRect());return r.removeChild(o),s})(e):Vl(t)&&$l(e)?(e=>{const t=e.startContainer,n=e.endContainer,o=e.startOffset,r=e.endOffset;if(t===n&&ss(n)&&0===o&&1===r){const t=e.cloneRange();return t.setEndAfter(n),ql(t)}return null})(e)??t:t},Wl=(e,t)=>{const n=dl(e,t);return n.width=1,n.right=n.left+1,n},Kl=(e,t,n)=>{const o=()=>(n||(n=(e=>{const t=[],n=e=>{var n,o;0!==e.height&&(t.length>0&&(n=e,o=t[t.length-1],n.left===o.left&&n.top===o.top&&n.bottom===o.bottom&&n.right===o.right)||t.push(e))},o=(e,t)=>{const o=zl(e.ownerDocument);if(t0&&(o.setStart(e,t-1),o.setEnd(e,t),Hl(o)||n(Wl(ql(o),!1))),t{const n=zl(e.ownerDocument);return n.setStart(e,t),n.setEnd(e,t),n},getClientRects:o,isVisible:()=>o().length>0,isAtStart:()=>(Ml(e),0===t),isAtEnd:()=>Ml(e)?t>=e.data.length:t>=e.childNodes.length,isEqual:n=>n&&e===n.container()&&t===n.offset(),getNode:n=>Ul(e,n?t-1:t)}};Kl.fromRangeStart=e=>Kl(e.startContainer,e.startOffset),Kl.fromRangeEnd=e=>Kl(e.endContainer,e.endOffset),Kl.after=e=>Kl(e.parentNode,Fl(e)+1),Kl.before=e=>Kl(e.parentNode,Fl(e)),Kl.isAbove=(e,t)=>$e(ce(t.getClientRects()),de(e.getClientRects()),ul).getOr(!1),Kl.isBelow=(e,t)=>$e(de(t.getClientRects()),ce(e.getClientRects()),fl).getOr(!1),Kl.isAtStart=e=>!!e&&e.isAtStart(),Kl.isAtEnd=e=>!!e&&e.isAtEnd(),Kl.isTextPosition=e=>!!e&&ss(e.container()),Kl.isElementPosition=e=>!Kl.isTextPosition(e);const Yl=(e,t)=>{ss(t)&&0===t.data.length&&e.remove(t)},Gl=(e,t,n)=>{ds(n)?((e,t,n)=>{const o=I.from(n.firstChild),r=I.from(n.lastChild);t.insertNode(n),o.each(t=>Yl(e,t.previousSibling)),r.each(t=>Yl(e,t.nextSibling))})(e,t,n):((e,t,n)=>{t.insertNode(n),Yl(e,n.previousSibling),Yl(e,n.nextSibling)})(e,t,n)},Xl=ss,Ql=ts,Zl=gi.nodeIndex,Jl=e=>{const t=e.parentNode;return Ql(t)?Jl(t):t},ec=e=>e?yt(e.childNodes,(e,t)=>(Ql(t)&&"BR"!==t.nodeName?e=e.concat(ec(t)):e.push(t),e),[]):[],tc=e=>t=>e===t,nc=e=>(Xl(e)?"text()":e.nodeName.toLowerCase())+"["+(e=>{let t,n;t=ec(Jl(e)),n=vt(t,tc(e),e),t=t.slice(0,n+1);const o=yt(t,(e,n,o)=>(Xl(n)&&Xl(t[o-1])&&e++,e),0);return t=bt(t,Jr([e.nodeName])),n=vt(t,tc(e),e),n-o})(e)+"]",oc=(e,t)=>{let n,o=[],r=t.container(),s=t.offset();if(Xl(r))n=((e,t)=>{let n=e;for(;(n=n.previousSibling)&&Xl(n);)t+=n.data.length;return t})(r,s);else{const e=r.childNodes;s>=e.length?(n="after",s=e.length-1):n="before",r=e[s]}o.push(nc(r));let a=((e,t)=>{const n=[];for(let o=t.parentNode;o&&o!==e;o=o.parentNode)n.push(o);return n})(e,r);return a=bt(a,T(ts)),o=o.concat(ht(a,e=>nc(e))),o.reverse().join("/")+","+n},rc=(e,t)=>{if(!t)return null;const n=t.split(","),o=n[0].split("/"),r=n.length>1?n[1]:"before",s=yt(o,(e,t)=>{const n=/([\w\-\(\)]+)\[([0-9]+)\]/.exec(t);return n?("text()"===n[1]&&(n[1]="#text"),((e,t,n)=>{let o=ec(e);return o=bt(o,(e,t)=>!Xl(e)||!Xl(o[t-1])),o=bt(o,Jr([t])),o[n]})(e,n[1],parseInt(n[2],10))):null},e);if(!s)return null;if(!Xl(s)&&s.parentNode){let e;return e="after"===r?Zl(s)+1:Zl(s),Kl(s.parentNode,e)}return((e,t)=>{let n=e,o=0;for(;Xl(n);){const r=n.data.length;if(t>=o&&t<=o+r){e=n,t-=o;break}if(!Xl(n.nextSibling)){e=n,t=r;break}o+=r,n=n.nextSibling}return Xl(e)&&t>e.data.length&&(t=e.data.length),Kl(e,t)})(s,parseInt(r,10))},sc=ps,ac=(e,t,n,o,r)=>{const s=r?o.startContainer:o.endContainer;let a=r?o.startOffset:o.endOffset;const i=[],l=e.getRoot();if(ss(s))i.push(n?((e,t,n)=>{let o=e(t.data.slice(0,n)).length;for(let n=t.previousSibling;n&&ss(n);n=n.previousSibling)o+=e(n.data).length;return o})(t,s,a):a);else{let t=0;const o=s.childNodes;a>=o.length&&o.length&&(t=1,a=Math.max(0,o.length-1)),i.push(e.nodeIndex(o[a],n)+t)}for(let t=s;t&&t!==l;t=t.parentNode)i.push(e.nodeIndex(t,n));return i},ic=(e,t,n)=>{let o=0;return dn.each(e.select(t),e=>"all"===e.getAttribute("data-mce-bogus")?void 0:e!==n&&void o++),o},lc=(e,t)=>{let n=t?e.startContainer:e.endContainer,o=t?e.startOffset:e.endOffset;if(Xr(n)&&"TR"===n.nodeName){const r=n.childNodes;n=r[Math.min(t?o:o-1,r.length-1)],n&&(o=t?0:n.childNodes.length,t?e.setStart(n,o):e.setEnd(n,o))}},cc=e=>(lc(e,!0),lc(e,!1),e),dc=(e,t)=>{if(Xr(e)&&(e=hl(e,t),sc(e)))return e;if(el(e)){ss(e)&&Zi(e)&&(e=e.parentNode);let t=e.previousSibling;if(sc(t))return t;if(t=e.nextSibling,sc(t))return t}},mc=(e,t,n)=>{const o=n.getNode(),r=n.getRng();if("IMG"===o.nodeName||sc(o)){const e=o.nodeName;return{name:e,index:ic(n.dom,e,o)}}const s=(e=>dc(e.startContainer,e.startOffset)||dc(e.endContainer,e.endOffset))(r);if(s){const e=s.tagName;return{name:e,index:ic(n.dom,e,s)}}return((e,t,n,o)=>{const r=t.dom,s=ac(r,e,n,o,!0),a=t.isForward(),i=il(o)?{isFakeCaret:!0}:{};return t.isCollapsed()?{start:s,forward:a,...i}:{start:s,end:ac(r,e,n,o,!1),forward:a,...i}})(e,n,t,r)},uc=(e,t,n)=>{const o={"data-mce-type":"bookmark",id:t,style:"overflow:hidden;line-height:0px"};return n?e.create("span",o,""):e.create("span",o)},fc=(e,t)=>{const n=e.dom;let o=e.getRng();const r=n.uniqueId(),s=e.isCollapsed(),a=e.getNode(),i=a.nodeName,l=e.isForward();if("IMG"===i)return{name:i,index:ic(n,i,a)};const c=cc(o.cloneRange());if(!s){c.collapse(!1);const e=uc(n,r+"_end",t);Gl(n,c,e)}o=cc(o),o.collapse(!0);const d=uc(n,r+"_start",t);return Gl(n,o,d),e.moveToBookmark({id:r,keep:!0,forward:l}),{id:r,forward:l}},gc=D(mc,R,!0),pc=e=>1===e,hc=e=>-1===e;var bc;!function(e){e[e.Error=0]="Error",e[e.Value=1]="Value"}(bc||(bc={}));const yc=(e,t,n)=>e.stype===bc.Error?t(e.serror):n(e.svalue),vc=e=>({stype:bc.Value,svalue:e}),Cc=e=>({stype:bc.Error,serror:e}),wc=yc,Sc=e=>f(e)&&ge(e).length>100?" removed due to size":JSON.stringify(e,null,2),Ec=(e,t)=>Cc([{path:e,getErrorInfo:t}]),xc=e=>({extract:(t,n)=>{return o=e(n),r=e=>((e,t)=>Ec(e,N(t)))(t,e),o.stype===bc.Error?r(o.serror):o;var o,r},toString:N("val")}),_c=xc(vc),kc=N(_c),Nc=(e,t)=>xc(n=>{const o=typeof n;return e(n)?vc(n):Cc(`Expected type: ${t} but got: ${o}`)}),Rc=Nc(S,"number"),Ac=Nc(u,"string"),Dc=Nc(w,"function"),Tc=e=>({tag:"defaultedThunk",process:N(e)}),Oc=(e,t,n)=>{switch(e.tag){case"field":return t(e.key,e.newKey,e.presence,e.prop);case"custom":return n(e.newKey,e.instantiator)}},Bc=e=>{const t=(e=>{const t=[],n=[];return q(e,e=>{yc(e,e=>n.push(e),e=>t.push(e))}),{values:t,errors:n}})(e);return t.errors.length>0?(n=t.errors,_(Cc,te)(n)):vc(t.values);var n},Pc=(e,t,n,o)=>o(xe(e,t).getOrThunk(()=>n(e))),Lc=(e,t,n,o,r)=>{const s=e=>r.extract(t.concat([o]),e),a=e=>e.fold(()=>vc(I.none()),e=>{const n=r.extract(t.concat([o]),e);return s=n,a=I.some,s.stype===bc.Value?{stype:bc.Value,svalue:a(s.svalue)}:s;var s,a});switch(e.tag){case"required":return((e,t,n,o)=>xe(t,n).fold(()=>((e,t,n)=>Ec(e,()=>'Could not find valid *required* value for "'+t+'" in '+Sc(n)))(e,n,t),o))(t,n,o,s);case"defaultedThunk":return Pc(n,o,e.process,s);case"option":return((e,t,n)=>n(xe(e,t)))(n,o,a);case"defaultedOptionThunk":return((e,t,n,o)=>o(xe(e,t).map(t=>!0===t?n(e):t)))(n,o,e.process,a);case"mergeWithThunk":return Pc(n,o,N({}),t=>{const o=Fe(e.process(n),t);return s(o)})}},Mc=e=>({extract:(t,n)=>((e,t,n)=>{const o={},r=[];for(const s of n)Oc(s,(n,s,a,i)=>{const l=Lc(a,e,t,n,i);wc(l,e=>{r.push(...e)},e=>{o[s]=e})},(e,n)=>{o[e]=n(t)});return r.length>0?Cc(r):vc(o)})(t,n,e),toString:()=>{const t=V(e,e=>Oc(e,(e,t,n,o)=>e+" -> "+o.toString(),(e,t)=>"state("+e+")"));return"obj{\n"+t.join("\n")+"}"}}),Ic=e=>({extract:(t,n)=>{const o=V(n,(n,o)=>e.extract(t.concat(["["+o+"]"]),n));return Bc(o)},toString:()=>"array("+e.toString()+")"}),Fc=_(Ic,Mc),Uc=(e,t,n)=>{return o=((e,t,n)=>((e,t)=>e.stype===bc.Error?{stype:bc.Error,serror:t(e.serror)}:e)(t.extract([e],n),e=>({input:n,errors:e})))(e,t,n),yc(o,Te.error,Te.value);var o},zc=e=>"Errors: \n"+(e=>{const t=e.length>10?e.slice(0,10).concat([{path:[],getErrorInfo:N("... (only showing first ten failures)")}]):e;return V(t,e=>"Failed path: ("+e.path.join(" > ")+")\n"+e.getErrorInfo())})(e.errors).join("\n")+"\n\nInput object: "+Sc(e.input),jc=(e,t,n,o)=>({tag:"field",key:e,newKey:t,presence:n,prop:o}),$c=(e,t)=>jc(e,e,{tag:"required",process:{}},t),Hc=e=>$c(e,Ac),Vc=e=>$c(e,Dc),qc=(e,t)=>jc(e,e,{tag:"option",process:{}},t),Wc=e=>qc(e,Ac),Kc=(e,t,n)=>jc(e,e,Tc(t),n),Yc=(e,t)=>Kc(e,t,Rc),Gc=e=>"inline-command"===e.type||"inline-format"===e.type,Xc=e=>"block-command"===e.type||"block-format"===e.type,Qc=e=>{const t=t=>Te.error({message:t,pattern:e}),n=(n,o,r)=>{if(void 0!==e.format){let r;if(p(e.format)){if(!oe(e.format,u))return t(n+" pattern has non-string items in the `format` array");r=e.format}else{if(!u(e.format))return t(n+" pattern has non-string `format` parameter");r=[e.format]}return Te.value(o(r))}return void 0!==e.cmd?u(e.cmd)?Te.value(r(e.cmd,e.value)):t(n+" pattern has non-string `cmd` parameter"):t(n+" pattern is missing both `format` and `cmd` parameters")};if(!f(e))return t("Raw pattern is not an object");if(!u(e.start))return t("Raw pattern is missing `start` parameter");if(void 0!==e.end){if(!u(e.end))return t("Inline pattern has non-string `end` parameter");if(0===e.start.length&&0===e.end.length)return t("Inline pattern has empty `start` and `end` parameters");let o=e.start,r=e.end;return 0===r.length&&(r=o,o=""),n("Inline",e=>({type:"inline-format",start:o,end:r,format:e}),(e,t)=>({type:"inline-command",start:o,end:r,cmd:e,value:t}))}if(void 0!==e.replacement)return u(e.replacement)?0===e.start.length?t("Replacement pattern has empty `start` parameter"):Te.value({type:"inline-command",start:"",end:e.start,cmd:"mceInsertContent",value:e.replacement}):t("Replacement pattern has non-string `replacement` parameter");{const o=e.trigger??"space";return 0===e.start.length?t("Block pattern has empty `start` parameter"):n("Block",t=>({type:"block-format",start:e.start,format:t[0],trigger:o}),(t,n)=>({type:"block-command",start:e.start,cmd:t,value:n,trigger:o}))}},Zc=e=>Y(e,Xc),Jc=e=>Y(e,Gc),ed=(e,t)=>({...e,blockPatterns:Y(e.blockPatterns,e=>((e,t)=>("block-command"===e.type||"block-format"===e.type)&&e.trigger===t)(e,t))}),td=e=>{const t=qe(V(e,Qc));return q(t.errors,e=>console.error(e.message,e.pattern)),t.values},nd=(e,t,n)=>{e.dispatch(t,n)},od=(e,t,n,o)=>{e.dispatch("FormatApply",{format:t,node:n,vars:o})},rd=(e,t,n,o)=>{e.dispatch("FormatRemove",{format:t,node:n,vars:o})},sd=(e,t)=>e.dispatch("SetContent",t),ad=(e,t)=>e.dispatch("GetContent",t),id=(e,t)=>{e.dispatch("AutocompleterUpdateActiveRange",t)},ld=(e,t)=>e.dispatch("PastePlainTextToggle",{state:t}),cd=Xt().deviceType,dd=cd.isTouch(),md=gi.DOM,ud=e=>m(e,RegExp),fd=e=>t=>t.options.get(e),gd=e=>u(e)||f(e),pd=(e,t="")=>n=>{const o=u(n);if(o){if(-1!==n.indexOf("=")){const r=(e=>{const t=e.indexOf("=")>0?e.split(/[;,](?![^=;,]*(?:[;,]|$))/):e.split(",");return X(t,(e,t)=>{const n=t.split("="),o=n[0],r=n.length>1?n[1]:o;return e[et(o)]=et(r),e},{})})(n);return{value:xe(r,e.id).getOr(t),valid:o}}return{value:n,valid:o}}return{valid:!1,message:"Must be a string."}},hd=fd("iframe_attrs"),bd=fd("doctype"),yd=fd("document_base_url"),vd=fd("body_id"),Cd=fd("body_class"),wd=fd("content_security_policy"),Sd=fd("br_in_pre"),Ed=fd("forced_root_block"),xd=fd("forced_root_block_attrs"),_d=fd("newline_behavior"),kd=fd("br_newline_selector"),Nd=fd("no_newline_selector"),Rd=fd("keep_styles"),Ad=fd("end_container_on_empty_block"),Dd=fd("automatic_uploads"),Td=fd("images_reuse_filename"),Od=fd("images_replace_blob_uris"),Bd=fd("icons"),Pd=fd("icons_url"),Ld=fd("images_upload_url"),Md=fd("images_upload_base_path"),Id=fd("images_upload_credentials"),Fd=fd("images_upload_handler"),Ud=fd("content_css_cors"),zd=fd("referrer_policy"),jd=fd("crossorigin"),$d=fd("language"),Hd=fd("language_url"),Vd=fd("indent_use_margin"),qd=fd("indentation"),Wd=fd("content_css"),Kd=fd("content_style"),Yd=fd("content_language"),Gd=fd("font_css"),Xd=fd("directionality"),Qd=fd("inline_boundaries_selector"),Zd=fd("object_resizing"),Jd=fd("resize_img_proportional"),em=fd("placeholder"),tm=fd("event_root"),nm=fd("service_message"),om=fd("theme"),rm=fd("theme_url"),sm=fd("model"),am=fd("model_url"),im=fd("inline_boundaries"),lm=fd("formats"),cm=fd("preview_styles"),dm=fd("format_empty_lines"),mm=fd("format_noneditable_selector"),um=fd("custom_ui_selector"),fm=fd("inline"),gm=fd("hidden_input"),pm=fd("submit_patch"),hm=fd("add_form_submit_trigger"),bm=fd("add_unload_trigger"),ym=fd("custom_undo_redo_levels"),vm=fd("disable_nodechange"),Cm=fd("readonly"),wm=fd("editable_root"),Sm=fd("content_css_cors"),Em=fd("plugins"),xm=fd("external_plugins"),_m=fd("block_unsupported_drop"),km=fd("visual"),Nm=fd("visual_table_class"),Rm=fd("visual_anchor_class"),Am=fd("iframe_aria_text"),Dm=fd("setup"),Tm=fd("init_instance_callback"),Om=fd("urlconverter_callback"),Bm=fd("auto_focus"),Pm=fd("browser_spellcheck"),Lm=fd("protect"),Mm=fd("paste_block_drop"),Im=fd("paste_data_images"),Fm=fd("paste_preprocess"),Um=fd("paste_postprocess"),zm=fd("newdocument_content"),jm=fd("paste_webkit_styles"),$m=fd("paste_remove_styles_if_webkit"),Hm=fd("paste_merge_formats"),Vm=fd("smart_paste"),qm=fd("paste_as_text"),Wm=fd("paste_tab_spaces"),Km=fd("allow_html_data_urls"),Ym=fd("text_patterns"),Gm=fd("text_patterns_lookup"),Xm=fd("allow_noneditable"),Qm=fd("noneditable_class"),Zm=fd("editable_class"),Jm=fd("noneditable_regexp"),eu=fd("preserve_cdata"),tu=fd("highlight_on_focus"),nu=fd("xss_sanitization"),ou=fd("init_content_sync"),ru=e=>dn.explode(e.options.get("images_file_types")),su=fd("table_tab_navigation"),au=fd("details_initial_state"),iu=fd("details_serialized_state"),lu=fd("sandbox_iframes"),cu=e=>e.options.get("sandbox_iframes_exclusions"),du=fd("convert_unsafe_embeds"),mu=fd("license_key"),uu=fd("api_key"),fu=fd("disabled"),gu=fd("user_id"),pu=fd("fetch_users"),hu=fd("lists_indent_on_tab"),bu=e=>I.from(e.options.get("list_max_depth")),yu=Xr,vu=ss,Cu=e=>{const t=e.parentNode;t&&t.removeChild(e)},wu=e=>{const t=Gi(e);return{count:e.length-t.length,text:t}},Su=e=>{let t;for(;-1!==(t=e.data.lastIndexOf(Ki));)e.deleteData(t,1)},Eu=(e,t)=>(_u(e),t),xu=(e,t)=>Kl.isTextPosition(t)?((e,t)=>vu(e)&&t.container()===e?((e,t)=>{const n=wu(e.data.substr(0,t.offset())),o=wu(e.data.substr(t.offset()));return(n.text+o.text).length>0?(Su(e),Kl(e,t.offset()-n.count)):t})(e,t):Eu(e,t))(e,t):((e,t)=>t.container()===e.parentNode?((e,t)=>{const n=t.container(),o=((e,t)=>{const n=j(e,t);return-1===n?I.none():I.some(n)})(me(n.childNodes),e).map(e=>e{yu(e)&&el(e)&&(tl(e)?e.removeAttribute("data-mce-caret"):Cu(e)),vu(e)&&(Su(e),0===e.data.length&&Cu(e))},ku=ps,Nu=Cs,Ru=bs,Au=(e,t,n)=>{const o=dl(t.getBoundingClientRect(),n);let r,s;if("BODY"===e.tagName){const t=e.ownerDocument.documentElement;r=e.scrollLeft||t.scrollLeft,s=e.scrollTop||t.scrollTop}else{const t=e.getBoundingClientRect();r=e.scrollLeft-t.left,s=e.scrollTop-t.top}o.left+=r,o.right+=r,o.top+=s,o.bottom+=s,o.width=1;let a=t.offsetWidth-t.clientWidth;return a>0&&(n&&(a*=-1),o.left+=a,o.right+=a),o},Du=(e,t,n,o)=>{const r=Ke();let s,a;const i=Ed(e),l=e.dom,c=()=>{(e=>{const t=Rr(un.fromDom(e),"*[contentEditable=false],video,audio,embed,object");for(let e=0;e{l.remove(e.caret),r.clear()}),s&&(clearInterval(s),s=void 0)};return{isShowing:r.isSet,show:(e,d)=>{let m;if(c(),Ru(d))return null;if(!n(d))return a=((e,t)=>{const n=(e.ownerDocument??document).createTextNode(Ki),o=e.parentNode;if(t){const t=e.previousSibling;if(Qi(t)){if(el(t))return t;if(sl(t))return t.splitText(t.data.length-1)}o?.insertBefore(n,e)}else{const t=e.nextSibling;if(Qi(t)){if(el(t))return t;if(rl(t))return t.splitText(1),t}e.nextSibling?o?.insertBefore(n,e.nextSibling):o?.appendChild(n)}return n})(d,e),m=d.ownerDocument.createRange(),Ou(a.nextSibling)?(m.setStart(a,0),m.setEnd(a,0)):(m.setStart(a,1),m.setEnd(a,1)),m;{const n=((e,t,n)=>{const o=(t.ownerDocument??document).createElement(e);o.setAttribute("data-mce-caret",n?"before":"after"),o.setAttribute("data-mce-bogus","all"),o.appendChild(qi().dom);const r=t.parentNode;return n?r?.insertBefore(o,t):t.nextSibling?r?.insertBefore(o,t.nextSibling):r?.appendChild(o),o})(i,d,e),c=Au(t,d,e);l.setStyle(n,"top",c.top),l.setStyle(n,"caret-color","transparent"),a=n;const u=l.create("div",{class:"mce-visual-caret","data-mce-bogus":"all"});l.setStyles(u,{...c}),l.add(t,u),r.set({caret:u,element:d,before:e}),e&&l.addClass(u,"mce-visual-caret-before"),s=window.setInterval(()=>{r.on(e=>{o()?l.toggleClass(e.caret,"mce-visual-caret-hidden"):l.addClass(e.caret,"mce-visual-caret-hidden")})},500),m=d.ownerDocument.createRange(),m.setStart(n,0),m.setEnd(n,0)}return m},hide:c,getCss:()=>".mce-visual-caret {position: absolute;background-color: black;background-color: currentcolor;}.mce-visual-caret-hidden {display: none;}*[data-mce-caret] {position: absolute;left: -1000px;right: auto;top: 0;margin: 0;padding: 0;}",reposition:()=>{r.on(e=>{const n=Au(t,e.element,e.before);l.setStyles(e.caret,{...n})})},destroy:()=>clearInterval(s)}},Tu=()=>sn.browser.isFirefox(),Ou=e=>ku(e)||Nu(e),Bu=e=>(Ou(e)||ns(e)&&Tu())&&In(un.fromDom(e)).exists(Sr),Pu=gs,Lu=ps,Mu=Cs,Iu=es("display","block table table-cell table-row table-caption list-item"),Fu=el,Uu=Zi,zu=Xr,ju=ss,$u=Nl,Hu=(e,t)=>{let n;for(;n=e(t);)if(!Uu(n))return n;return null},Vu=(e,t,n,o,r)=>{const s=new Kr(e,o),a=Lu(e)||Uu(e);let i;if(hc(t)){if(a&&(i=Hu(s.prev.bind(s),!0),n(i)))return i;for(;i=Hu(s.prev.bind(s),r);)if(n(i))return i}if(pc(t)){if(a&&(i=Hu(s.next.bind(s),!0),n(i)))return i;for(;i=Hu(s.next.bind(s),r);)if(n(i))return i}return null},qu=e=>Xr(e)&&"absolute"===$o(un.fromDom(e),"position"),Wu=(e,t)=>Lu(e)&&qu(e)&&((e,t)=>e.parentNode!==t)(e,t),Ku=(e,t)=>{for(;e&&e!==t;){if(Iu(e)&&!Wu(e,t))return e;e=e.parentNode}return null},Yu=(e,t,n)=>Ku(e.container(),n)===Ku(t.container(),n),Gu=(e,t)=>{if(!t)return I.none();const n=t.container(),o=t.offset();return zu(n)?I.from(n.childNodes[o+e]):I.none()},Xu=(e,t)=>{const n=(t.ownerDocument??document).createRange();return e?(n.setStartBefore(t),n.setEndBefore(t)):(n.setStartAfter(t),n.setEndAfter(t)),n},Qu=(e,t,n)=>Ku(t,e)===Ku(n,e),Zu=(e,t,n)=>{const o=e?"previousSibling":"nextSibling";let r=n;for(;r&&r!==t;){let e=r[o];if(e&&Fu(e)&&(e=e[o]),Lu(e)||Mu(e)){if(Qu(t,e,r))return e;break}if($u(e))break;r=r.parentNode}return null},Ju=D(Xu,!0),ef=D(Xu,!1),tf=(e,t,n)=>{let o;const r=D(Zu,!0,t),s=D(Zu,!1,t),a=n.startContainer,i=n.startOffset;if(Zi(a)){const e=ju(a)?a.parentNode:a,t=e.getAttribute("data-mce-caret");if("before"===t&&(o=e.nextSibling,Bu(o)))return Ju(o);if("after"===t&&(o=e.previousSibling,Bu(o)))return ef(o)}if(!n.collapsed)return n;if(ss(a)){if(Fu(a)){if(1===e){if(o=s(a),o)return Ju(o);if(o=r(a),o)return ef(o)}if(-1===e){if(o=r(a),o)return ef(o);if(o=s(a),o)return Ju(o)}return n}if(sl(a)&&i>=a.data.length-1)return 1===e&&(o=s(a),o)?Ju(o):n;if(rl(a)&&i<=1)return-1===e&&(o=r(a),o)?ef(o):n;if(i===a.data.length)return o=s(a),o?Ju(o):n;if(0===i)return o=r(a),o?ef(o):n}return n},nf=(e,t)=>Gu(e?0:-1,t).filter(Lu),of=(e,t,n)=>{const o=tf(e,t,n);return-1===e?Kl.fromRangeStart(o):Kl.fromRangeEnd(o)},rf=e=>I.from(e.getNode()).map(un.fromDom),sf=(e,t)=>{let n=t;for(;n=e(n);)if(n.isVisible())return n;return n},af=(e,t)=>{const n=Yu(e,t);return!(n||!ms(e.getNode()))||n},lf=ps,cf=ss,df=Xr,mf=ms,uf=Nl,ff=e=>xl(e)||(e=>!!Rl(e)&&!X(me(e.getElementsByTagName("*")),(e,t)=>e||vl(t),!1))(e),gf=Al,pf=(e,t)=>e.hasChildNodes()&&t{if(pc(e)){if(uf(t.previousSibling)&&!cf(t.previousSibling))return Kl.before(t);if(cf(t))return Kl(t,0)}if(hc(e)){if(uf(t.nextSibling)&&!cf(t.nextSibling))return Kl.after(t);if(cf(t))return Kl(t,t.data.length)}return hc(e)?mf(t)?Kl.before(t):Kl.after(t):Kl.before(t)},bf=(e,t,n)=>{let o,r,s,a;if(!df(n)||!t)return null;if(t.isEqual(Kl.after(n))&&n.lastChild){if(a=Kl.after(n.lastChild),hc(e)&&uf(n.lastChild)&&df(n.lastChild))return mf(n.lastChild)?Kl.before(n.lastChild):a}else a=t;const i=a.container();let l=a.offset();if(cf(i)){if(hc(e)&&l>0)return Kl(i,--l);if(pc(e)&&l0&&(r=pf(i,l-1),uf(r)))return!ff(r)&&(s=Vu(r,e,gf,r),s)?cf(s)?Kl(s,s.data.length):Kl.after(s):cf(r)?Kl(r,r.data.length):Kl.before(r);if(pc(e)&&l{const n=t.nextSibling;return n&&uf(n)?cf(n)?Kl(n,0):Kl.before(n):bf(1,Kl.after(t),e)})(n,r):!ff(r)&&(s=Vu(r,e,gf,r),s)?cf(s)?Kl(s,0):Kl.before(s):cf(r)?Kl(r,0):Kl.after(r);o=r||a.getNode()}if(o&&(pc(e)&&a.isAtEnd()||hc(e)&&a.isAtStart())&&(o=Vu(o,e,M,n,!0),gf(o,n)))return hf(e,o);r=o?Vu(o,e,gf,n):o;const c=Ct(Y(((e,t)=>{const n=[];let o=e;for(;o&&o!==t;)n.push(o),o=o.parentNode;return n})(i,n),lf));return!c||r&&c.contains(r)?r?hf(e,r):null:(a=pc(e)?Kl.after(c):Kl.before(c),a)},yf=e=>({next:t=>bf(1,t,e),prev:t=>bf(-1,t,e)}),vf=e=>Kl.isTextPosition(e)?0===e.offset():Nl(e.getNode()),Cf=e=>{if(Kl.isTextPosition(e)){const t=e.container();return e.offset()===t.data.length}return Nl(e.getNode(!0))},wf=(e,t)=>!Kl.isTextPosition(e)&&!Kl.isTextPosition(t)&&e.getNode()===t.getNode(!0),Sf=(e,t,n)=>{const o=yf(t);return I.from(e?o.next(n):o.prev(n))},Ef=(e,t,n)=>Sf(e,t,n).bind(o=>Yu(n,o,t)&&((e,t,n)=>{return e?!wf(t,n)&&(o=t,!(!Kl.isTextPosition(o)&&ms(o.getNode())))&&Cf(t)&&vf(n):!wf(n,t)&&vf(t)&&Cf(n);var o})(e,n,o)?Sf(e,t,o):I.some(o)),xf=(e,t,n,o)=>Ef(e,t,n).bind(n=>o(n)?xf(e,t,n,o):I.some(n)),_f=(e,t)=>{const n=e?t.firstChild:t.lastChild;return ss(n)?I.some(Kl(n,e?0:n.data.length)):n?Nl(n)?I.some(e?Kl.before(n):ms(o=n)?Kl.before(o):Kl.after(o)):((e,t,n)=>{const o=e?Kl.before(n):Kl.after(n);return Sf(e,t,o)})(e,t,n):I.none();var o},kf=D(Sf,!0),Nf=D(Sf,!1),Rf=D(_f,!0),Af=D(_f,!1),Df="_mce_caret",Tf=e=>Xr(e)&&e.id===Df,Of=(e,t)=>{let n=t;for(;n&&n!==e;){if(Tf(n))return n;n=n.parentNode}return null},Bf=e=>_e(e,"name"),Pf=e=>dn.isArray(e.start),Lf=e=>!(!Bf(e)&&b(e.forward))||e.forward,Mf=(e,t)=>(Xr(t)&&e.isBlock(t)&&!t.innerHTML&&(t.innerHTML='
'),t),If=(e,t)=>Af(e).fold(L,e=>(t.setStart(e.container(),e.offset()),t.setEnd(e.container(),e.offset()),!0)),Ff=(e,t,n)=>!(!(e=>!e.hasChildNodes())(t)||!Of(e,t)||(((e,t)=>{const n=(e.ownerDocument??document).createTextNode(Ki);e.appendChild(n),t.setStart(n,0),t.setEnd(n,0)})(t,n),0)),Uf=(e,t,n,o)=>{const r=n[t?"start":"end"],s=e.getRoot();if(r){let e=s,n=r[0];for(let t=r.length-1;e&&t>=1;t--){const n=e.childNodes;if(Ff(s,e,o))return!0;if(r[t]>n.length-1)return!!Ff(s,e,o)||If(e,o);e=n[r[t]]}ss(e)&&(n=Math.min(r[0],e.data.length)),Xr(e)&&(n=Math.min(r[0],e.childNodes.length)),t?o.setStart(e,n):o.setEnd(e,n)}return!0},zf=e=>ss(e)&&e.data.length>0,jf=(e,t,n)=>{const o=e.get(n.id+"_"+t),r=o?.parentNode,s=n.keep;if(o&&r){let a,i;if("start"===t?s?o.hasChildNodes()?(a=o.firstChild,i=1):zf(o.nextSibling)?(a=o.nextSibling,i=0):zf(o.previousSibling)?(a=o.previousSibling,i=o.previousSibling.data.length):(a=r,i=e.nodeIndex(o)+1):(a=r,i=e.nodeIndex(o)):s?o.hasChildNodes()?(a=o.firstChild,i=1):zf(o.previousSibling)?(a=o.previousSibling,i=o.previousSibling.data.length):(a=r,i=e.nodeIndex(o)):(a=r,i=e.nodeIndex(o)),!s){const r=o.previousSibling,s=o.nextSibling;let l;for(dn.each(dn.grep(o.childNodes),e=>{ss(e)&&(e.data=e.data.replace(/\uFEFF/g,""))});l=e.get(n.id+"_"+t);)e.remove(l,!0);if(ss(s)&&ss(r)&&!sn.browser.isOpera()){const t=r.data.length;r.appendData(s.data),e.remove(s),a=r,i=t}}return I.some(Kl(a,i))}return I.none()},$f=(e,t,n)=>((e,t,n=!1)=>2===t?mc(Gi,n,e):3===t?(e=>{const t=e.getRng();return{start:oc(e.dom.getRoot(),Kl.fromRangeStart(t)),end:oc(e.dom.getRoot(),Kl.fromRangeEnd(t)),forward:e.isForward()}})(e):t?(e=>({rng:e.getRng(),forward:e.isForward()}))(e):fc(e,!1))(e,t,n),Hf=(e,t)=>{((e,t)=>{const n=e.dom;if(t){if(Pf(t))return((e,t)=>{const n=e.createRng();return Uf(e,!0,t,n)&&Uf(e,!1,t,n)?I.some({range:n,forward:Lf(t)}):I.none()})(n,t);if((e=>u(e.start))(t))return((e,t)=>{const n=I.from(rc(e.getRoot(),t.start)),o=I.from(rc(e.getRoot(),t.end));return $e(n,o,(n,o)=>{const r=e.createRng();return r.setStart(n.container(),n.offset()),r.setEnd(o.container(),o.offset()),{range:r,forward:Lf(t)}})})(n,t);if((e=>_e(e,"id"))(t))return((e,t)=>{const n=jf(e,"start",t),o=jf(e,"end",t);return $e(n,o.or(n),(n,o)=>{const r=e.createRng();return r.setStart(Mf(e,n.container()),n.offset()),r.setEnd(Mf(e,o.container()),o.offset()),{range:r,forward:Lf(t)}})})(n,t);if(Bf(t))return((e,t)=>I.from(e.select(t.name)[t.index]).map(t=>{const n=e.createRng();return n.selectNode(t),{range:n,forward:!0}}))(n,t);if((e=>_e(e,"rng"))(t))return I.some({range:t.rng,forward:Lf(t)})}return I.none()})(e,t).each(({range:t,forward:n})=>{e.setRng(t,n)})},Vf=e=>Xr(e)&&"SPAN"===e.tagName&&"bookmark"===e.getAttribute("data-mce-type"),qf=(Wf=dt,e=>Wf===e);var Wf;const Kf=e=>""!==e&&-1!==" \f\n\r\t\v".indexOf(e),Yf=e=>!Kf(e)&&!qf(e)&&!mt(e),Gf=e=>{const t=[];if(e)for(let n=0;n{const n=Rr(t,"td[data-mce-selected],th[data-mce-selected]");return n.length>0?n:(e=>Y((e=>ne(e,e=>{const t=pl(e);return t?[un.fromDom(t)]:[]}))(e),Hi))(e)},Qf=e=>Xf(Gf(e.selection.getSel()),un.fromDom(e.getBody())),Zf=(e,t)=>mr(e,"table",t),Jf=e=>Wn(e).fold(N([e]),t=>[e].concat(Jf(t))),eg=e=>Kn(e).fold(N([e]),t=>"br"===En(t)?zn(t).map(t=>[e].concat(eg(t))).getOr([]):[e].concat(eg(t))),tg=(e,t)=>$e((e=>{const t=e.startContainer,n=e.startOffset;return ss(t)?0===n?I.some(un.fromDom(t)):I.none():I.from(t.childNodes[n]).map(un.fromDom)})(t),(e=>{const t=e.endContainer,n=e.endOffset;return ss(t)?n===t.data.length?I.some(un.fromDom(t)):I.none():I.from(t.childNodes[n-1]).map(un.fromDom)})(t),(t,n)=>{const o=Z(Jf(e),D(vn,t)),r=Z(eg(e),D(vn,n));return o.isSome()&&r.isSome()}).getOr(!1),ng=(e,t,n,o)=>{const r=n,s=new Kr(n,r),a=we(e.schema.getMoveCaretBeforeOnEnterElements(),(e,t)=>!$(["td","th","table"],t.toLowerCase()));let i=n;do{if(ss(i)&&0!==dn.trim(i.data).length)return void(o?t.setStart(i,0):t.setEnd(i,i.data.length));if(a[i.nodeName])return void(o?t.setStartBefore(i):"BR"===i.nodeName?t.setEndBefore(i):t.setEndAfter(i))}while(i=o?s.next():s.prev());"BODY"===r.nodeName&&(o?t.setStart(r,0):t.setEnd(r,r.childNodes.length))},og=e=>{const t=e.selection.getSel();return C(t)&&t.rangeCount>0},rg=(e,t)=>{const n=Qf(e);n.length>0?q(n,n=>{const o=n.dom,r=e.dom.createRng();r.setStartBefore(o),r.setEndAfter(o),t(r,!0)}):t(e.selection.getRng(),!1)},sg=(e,t,n)=>{const o=fc(e,t);n(o),e.moveToBookmark(o)},ag=(e,t)=>e.startContainer===e.endContainer&&e.endOffset-e.startOffset===1&&t(e.startContainer.childNodes[e.startOffset]),ig=e=>S(e?.nodeType),lg=e=>Xr(e)&&!Vf(e)&&!Tf(e)&&!ts(e),cg=(e,t,n)=>{const{selection:o,dom:r}=e,s=o.getNode(),a=ps(s);sg(o,!0,()=>{t()}),a&&ps(s)&&r.isChildOf(s,e.getBody())?e.selection.select(s):n(o.getStart())&&dg(r,o)},dg=(e,t)=>{const n=t.getRng(),{startContainer:o,startOffset:r}=n;if(!((e,t)=>{if(lg(t)&&!/^(TD|TH)$/.test(t.nodeName)){const n=e.getAttrib(t,"data-mce-selected"),o=parseInt(n,10);return!isNaN(o)&&o>0}return!1})(e,t.getNode())&&Xr(o)){const s=o.childNodes,a=e.getRoot();let i;if(r{if(e){const o=t?"nextSibling":"previousSibling";for(e=n?e:e[o];e;e=e[o])if(Xr(e)||!gg(e))return e}},ug=(e,t)=>!!e.getTextBlockElements()[t.nodeName.toLowerCase()]||Zs(e,t),fg=(e,t,n)=>e.schema.isValidChild(t,n),gg=(e,t=!1)=>{if(C(e)&&ss(e)){const n=t?e.data.replace(/ /g,"\xa0"):e.data;return Ns(n)}return!1},pg=(e,t)=>e.select('[contenteditable="true"]',t).length>0,hg=(e,t)=>X(me(t.childNodes),(t,n)=>[...t,...Xr(n)&&"true"===e.getContentEditable(n)?[n]:hg(e,n)],[]),bg=(e,t)=>{const n=e.dom;return lg(t)&&"false"===n.getContentEditable(t)&&((e,t)=>{const n="[data-mce-cef-wrappable]",o=mm(e),r=rt(o)?n:`${n},${o}`;return bn(un.fromDom(t),r)})(e,t)&&!pg(n,t)},yg=(e,t)=>w(e)?e(t):(C(t)&&(e=e.replace(/%(\w+)/g,(e,n)=>t[n]||e)),e),vg=(e,t)=>(t=t||"",e=""+((e=e||"").nodeName||e),t=""+(t.nodeName||t),e.toLowerCase()===t.toLowerCase()),Cg=(e,t)=>{if(v(e))return null;{let n=String(e);return"color"!==t&&"backgroundColor"!==t||(n=Ya(n)),"fontWeight"===t&&700===e&&(n="bold"),"fontFamily"===t&&(n=n.replace(/[\'\"]/g,"").replace(/,\s+/g,",")),n}},wg=(e,t,n)=>{const o=e.getStyle(t,n);return Cg(o,n)},Sg=(e,t)=>{let n;return e.getParent(t,t=>!!Xr(t)&&(n=e.getStyle(t,"text-decoration"),!!n&&"none"!==n)),n},Eg=(e,t,n)=>e.getParents(t,n,e.getRoot()),xg=(e,t,n)=>{const o=e.formatter.get(t);return C(o)&&H(o,n)},_g=e=>ke(e,"block"),kg=e=>_g(e)&&!0===e.wrapper,Ng=e=>ke(e,"selector"),Rg=e=>ke(e,"inline"),Ag=e=>Ng(e)&&!1!==e.expand&&!Rg(e),Dg=e=>(e=>{const t=[];let n=e;for(;n;){if(ss(n)&&n.data!==Ki||n.childNodes.length>1)return[];Xr(n)&&t.push(n),n=n.firstChild}return t})(e).length>0,Tg=e=>Tf(e.dom)&&Dg(e.dom),Og=Vf,Bg=Eg,Pg=gg,Lg=ug,Mg=e=>ms(e)&&e.getAttribute("data-mce-bogus")&&!e.nextSibling,Ig=(e,t)=>{let n=t;for(;n;){if(Xr(n)&&e.getContentEditable(n))return"false"===e.getContentEditable(n)?n:t;n=n.parentNode}return t},Fg=(e,t,n,o)=>{const r=t.data;if(e){for(let e=n;e>0;e--)if(o(r.charAt(e-1)))return e}else for(let e=n;eFg(e,t,n,e=>qf(e)||Kf(e)),zg=(e,t,n)=>Fg(e,t,n,Yf),jg=(e,t,n,o,r,s)=>{let a;const i=e.getParent(n,t=>hs(t)||e.isBlock(t)),l=C(i)?i:t,c=(t,n,o)=>{const s=Pi(e),i=r?s.backwards:s.forwards;return I.from(i(t,n,(e,t)=>Og(e.parentNode)?-1:(a=e,o(r,e,t)),l))};return c(n,o,Ug).bind(e=>s?c(e.container,e.offset+(r?-1:0),zg):I.some(e)).orThunk(()=>a?I.some({container:a,offset:r?0:a.length}):I.none())},$g=(e,t,n,o,r)=>{const s=o[r];ss(o)&&rt(o.data)&&s&&(o=s);const a=Bg(e,o);for(let o=0;o{let r=n;const s=e.getRoot(),a=t[0];if(_g(a)&&(r=a.wrapper?null:e.getParent(n,a.block,s)),!r){const t=e.getParent(n,"LI,TD,TH,SUMMARY")??s;r=e.getParent(ss(n)?n.parentNode:n,t=>t!==s&&Lg(e.schema,t),t)}if(r&&_g(a)&&a.wrapper&&(r=Bg(e,r,"ul,ol").reverse()[0]||r),!r)for(r=n;r&&r[o]&&!e.isBlock(r[o])&&(r=r[o],!vg(r,"br")););return r||n},Vg=(e,t,n,o)=>{const r=n.parentNode;return!C(n[o])&&(!(r!==t&&!v(r)&&!e.isBlock(r))||Vg(e,t,r,o))},qg=(e,t,n,o,r,s)=>{let a=n;const i=r?"previousSibling":"nextSibling",l=e.getRoot();if(ss(n)&&!Pg(n)&&(r?o>0:oOg(e.parentNode)||Og(e),Kg=(e,t,n,o={})=>{const{includeTrailingSpace:r=!1,expandToBlock:s=!0}=o,a=e.getParent(t.commonAncestorContainer,e=>hs(e)),i=C(a)?a:e.getRoot();let{startContainer:l,startOffset:c,endContainer:d,endOffset:m}=t;const u=n[0];return Xr(l)&&l.hasChildNodes()&&(l=hl(l,c),ss(l)&&(c=0)),Xr(d)&&d.hasChildNodes()&&(d=hl(d,t.collapsed?m:m-1),ss(d)&&(m=d.data.length)),l=Ig(e,l),d=Ig(e,d),Wg(l)&&(l=Og(l)?l:l.parentNode,l=t.collapsed?l.previousSibling||l:l.nextSibling||l,ss(l)&&(c=t.collapsed?l.length:0)),Wg(d)&&(d=Og(d)?d:d.parentNode,d=t.collapsed?d.nextSibling||d:d.previousSibling||d,ss(d)&&(m=t.collapsed?0:d.length)),t.collapsed&&(jg(e,i,l,c,!0,r).each(({container:e,offset:t})=>{l=e,c=t}),jg(e,i,d,m,!1,r).each(({container:e,offset:t})=>{d=e,m=t})),(Rg(u)||u.block_expand)&&(Rg(u)&&ss(l)&&0!==c||(l=qg(e,n,l,c,!0,s)),Rg(u)&&ss(d)&&m!==d.data.length||(d=qg(e,n,d,m,!1,s))),Ag(u)&&(l=$g(e,n,t,l,"previousSibling"),d=$g(e,n,t,d,"nextSibling")),(_g(u)||Ng(u))&&(l=Hg(e,n,l,"previousSibling"),d=Hg(e,n,d,"nextSibling"),_g(u)&&(e.isBlock(l)||(l=qg(e,n,l,c,!0,s),ss(l)&&(c=0)),e.isBlock(d)||(d=qg(e,n,d,m,!1,s),ss(d)&&(m=d.data.length)))),Xr(l)&&l.parentNode&&(c=e.nodeIndex(l),l=l.parentNode),Xr(d)&&d.parentNode&&(m=e.nodeIndex(d)+1,d=d.parentNode),{startContainer:l,startOffset:c,endContainer:d,endOffset:m}},Yg=(e,t,n)=>{const o=t.startOffset,r=hl(t.startContainer,o),s=t.endOffset,a=hl(t.endContainer,s-1),i=e=>{const t=e[0];ss(t)&&t===r&&o>=t.data.length&&e.splice(0,1);const n=e[e.length-1];return 0===s&&e.length>0&&n===a&&ss(n)&&e.splice(e.length-1,1),e},l=(e,t,n)=>{const o=[];for(;e&&e!==n;e=e[t])o.push(e);return o},c=(t,n)=>e.getParent(t,e=>e.parentNode===n,n),d=(e,t,o)=>{const r=o?"nextSibling":"previousSibling";for(let s=e,a=s.parentNode;s&&s!==t;s=a){a=s.parentNode;const t=l(s===e?s:s[r],r);t.length&&(o||t.reverse(),n(i(t)))}};if(r===a)return n(i([r]));const m=e.findCommonAncestor(r,a)??e.getRoot();if(e.isChildOf(r,a))return d(r,m,!0);if(e.isChildOf(a,r))return d(a,m);const u=c(r,m)||r,f=c(a,m)||a;d(r,u,!0);const g=l(u===r?u:u.nextSibling,"nextSibling",f===a?f.nextSibling:f);g.length&&n(i(g)),d(a,f)},Gg=['pre[class*=language-][contenteditable="false"]',"figure.image","div[data-ephox-embed-iri]","div.tiny-pageembed","div.mce-toc","div[data-mce-toc]","div.mce-footnotes"],Xg=(e,t,n,o,r,s)=>{const{uid:a=t,...i}=n;yr(e,Si()),vo(e,`${xi()}`,a),vo(e,`${Ei()}`,o);const{attributes:l={},classes:c=[]}=r(a,i);if(Co(e,l),((e,t)=>{q(t,t=>{yr(e,t)})})(e,c),s){c.length>0&&vo(e,`${ki()}`,c.join(","));const t=ge(l);t.length>0&&vo(e,`${Ni()}`,t.join(","))}},Qg=(e,t,n,o,r)=>{const s=un.fromTag("span",e);return Xg(s,t,n,o,r,!1),s},Zg=(e,t,n,o,r,s)=>{const a=[],i=Qg(e.getDoc(),n,s,o,r),l=Ke(),c=()=>{l.clear()},d=e=>{q(e,m)},m=t=>{switch(((e,t,n,o)=>In(t).fold(()=>"skipping",r=>"br"===o||(e=>An(e)&&or(e)===Ki)(t)?"valid":(e=>Rn(e)&&wr(e,Si()))(t)?"existing":Tf(t.dom)?"caret":H(Gg,e=>bn(t,e))?"valid-block":fg(e,n,o)&&fg(e,En(r),n)?"valid":"invalid-child"))(e,t,"span",En(t))){case"invalid-child":{c();const e=Vn(t);d(e),c();break}case"valid-block":c(),Xg(t,n,s,o,r,!0);break;case"valid":{const e=l.get().getOrThunk(()=>{const e=To(i);return a.push(e),l.set(e),e});po(t,e);break}}};return Yg(e.dom,t,e=>{c(),(e=>{const t=V(e,un.fromDom);d(t)})(e)}),a},Jg=e=>{const t=(()=>{const e={};return{register:(t,n)=>{e[t]={name:t,settings:n}},lookup:t=>xe(e,t).map(e=>e.settings),getNames:()=>ge(e)}})();((e,t)=>{const n=Ei(),o=e=>I.from(e.attr(n)).bind(t.lookup),r=e=>{e.attr(xi(),null),e.attr(Ei(),null),e.attr(_i(),null);const t=I.from(e.attr(Ni())).map(e=>e.split(",")).getOr([]),n=I.from(e.attr(ki())).map(e=>e.split(",")).getOr([]);q(t,t=>e.attr(t,null));const o=e.attr("class")?.split(" ")??[],r=se(o,[Si()].concat(n));e.attr("class",r.length>0?r.join(" "):null),e.attr(ki(),null),e.attr(Ni(),null)};e.serializer.addTempAttr(_i()),e.serializer.addAttributeFilter(n,e=>{for(const t of e)o(t).each(e=>{!1===e.persistent&&("span"===t.name?t.unwrap():r(t))})})})(e,t);const n=((e,t)=>{const n=Re({}),o=()=>({listeners:[],previous:Ke()}),r=(e,t)=>{s(e,e=>(t(e),e))},s=(e,t)=>{const r=n.get(),s=t(xe(r,e).getOrThunk(o));r[e]=s,n.set(r)},a=(t,n)=>{q(Ti(e,t),e=>{n?vo(e,_i(),"true"):xo(e,_i())})},i=it(()=>{const n=ie(t.getNames());q(n,t=>{s(t,n=>{const o=n.previous.get();return Ai(e,I.some(t)).fold(()=>{o.each(e=>{(e=>{r(e,t=>{q(t.listeners,t=>t(!1,e))})})(t),n.previous.clear(),a(e,!1)})},({uid:e,name:t,elements:s})=>{ze(o,e)||(o.each(e=>a(e,!1)),((e,t,n)=>{r(e,o=>{q(o.listeners,o=>o(!0,e,{uid:t,nodes:V(n,e=>e.dom)}))})})(t,e,s),n.previous.set(e),a(e,!0))}),{previous:n.previous,listeners:n.listeners}})})},30);return e.on("remove",()=>{i.cancel()}),e.on("NodeChange",()=>{i.throttle()}),{addListener:(e,t)=>{s(e,e=>({previous:e.previous,listeners:e.listeners.concat([t])}))}}})(e,t),o=On("span"),r=e=>{q(e,e=>{o(e)?Ao(e):(e=>{Cr(e,Si()),xo(e,`${xi()}`),xo(e,`${Ei()}`),xo(e,`${_i()}`);const t=So(e,`${Ni()}`).map(e=>e.split(",")).getOr([]),n=So(e,`${ki()}`).map(e=>e.split(",")).getOr([]);var o;q(t,t=>xo(e,t)),o=e,q(n,e=>{Cr(o,e)}),xo(e,`${ki()}`),xo(e,`${Ni()}`)})(e)})};return{register:(e,n)=>{t.register(e,n)},annotate:(n,o)=>{t.lookup(n).each(t=>{((e,t,n,o)=>{e.undoManager.transact(()=>{const r=e.selection,s=r.getRng(),a=Qf(e).length>0,i=Le("mce-annotation");if(s.collapsed&&!a&&((e,t)=>{const n=Kg(e.dom,t,[{inline:"span"}]);t.setStart(n.startContainer,n.startOffset),t.setEnd(n.endContainer,n.endOffset),e.selection.setRng(t)})(e,s),r.getRng().collapsed&&!a){const s=Qg(e.getDoc(),i,o,t,n.decorate);Mo(s,dt),r.getRng().insertNode(s.dom),r.select(s.dom)}else sg(r,!1,()=>{rg(e,r=>{Zg(e,r,i,t,n.decorate,o)})})})})(e,n,t,o)})},annotationChanged:(e,t)=>{n.addListener(e,t)},remove:t=>{Ai(e,I.some(t)).each(({elements:t})=>{const n=e.selection.getBookmark();r(t),e.selection.moveToBookmark(n)})},removeAll:t=>{const n=e.selection.getBookmark();he(Oi(e,t),(e,t)=>{r(e)}),e.selection.moveToBookmark(n)},getAll:t=>{const n=Oi(e,t);return be(n,e=>V(e,e=>e.dom))}}},ep=Le("tiny-aria-announcer"),tp="data-mce-announced-at",np={position:"absolute",left:"-9999px",width:"1px",height:"1px",overflow:"hidden"},op=e=>{const t=un.fromTag("div");return Co(t,{"aria-live":e,"aria-atomic":"false","aria-relevant":"additions"}),t},rp=()=>{const e=un.fromTag("div"),t=op("polite"),n=op("assertive");return vo(e,"id",ep),jo(e,np),go(e,t),go(e,n),go((e=>{const t=e.dom.body;if(null==t)throw new Error("Body is not available yet");return un.fromDom(t)})(un.fromDom(document)),e),{container:e,politeRegion:t,assertiveRegion:n}},sp=(()=>{const e=Ke(),t=async()=>{const t=async()=>{const t=new Promise(e=>{const t=rp();setTimeout(()=>e(t),100)});return e.set(t),t};return e.get().fold(t,async n=>{const{container:o}=await n;return o.dom.isConnected?n:e.get().filter(e=>e!==n).getOrThunk(t)})},n=(e,t)=>{const n=Date.now();((e,t)=>{var n;q((n=`div[${tp}]`,kr(e,e=>bn(e,n))),e=>{So(e,tp).bind(e=>st(e)).filter(e=>t-e>6e5).each(()=>Ro(e))})})(e,n);const o=un.fromTag("div");vo(o,tp,String(n)),go(o,un.fromText(t)),go(e,o)};return{polite:async e=>{const{politeRegion:o}=await t();n(o,e)},assertive:async e=>{const{assertiveRegion:o}=await t();n(o,e)}}})(),ap={announce:(e,t)=>{!0===t?.assertive?sp.assertive(e).catch(x):sp.polite(e).catch(x)}},ip=e=>({getBookmark:D($f,e),moveToBookmark:D(Hf,e)});ip.isBookmarkNode=Vf;const lp=(e,t,n)=>!n.collapsed&&H(n.getClientRects(),n=>((e,t,n)=>t>=e.left&&t<=e.right&&n>=e.top&&n<=e.bottom)(n,e,t)),cp=(e,t)=>{const n=An(t)?or(t).length:Vn(t).length+1;return e>n?n:e<0?0:e},dp=e=>Ur.range(e.start,cp(e.soffset,e.start),e.finish,cp(e.foffset,e.finish)),mp=(e,t)=>!Gr(t.dom)&&(Cn(e,t)||vn(e,t)),up=e=>t=>mp(e,t.start)&&mp(e,t.finish),fp=e=>Ur.range(un.fromDom(e.startContainer),e.startOffset,un.fromDom(e.endContainer),e.endOffset),gp=e=>{const t=document.createRange();try{return t.setStart(e.start.dom,e.soffset),t.setEnd(e.finish.dom,e.foffset),I.some(t)}catch{return I.none()}},pp=e=>{const t=(e=>e.inline||sn.browser.isFirefox())(e)?(n=un.fromDom(e.getBody()),(e=>{const t=e.getSelection();return(t&&0!==t.rangeCount?I.from(t.getRangeAt(0)):I.none()).map(fp)})(Ln(n).dom).filter(up(n))):I.none();var n;e.bookmark=t.isSome()?t:e.bookmark},hp=e=>(e.bookmark?e.bookmark:I.none()).bind(t=>{return n=un.fromDom(e.getBody()),o=t,I.from(o).filter(up(n)).map(dp);var n,o}).bind(gp),bp={isEditorUIElement:e=>{const t=e.className.toString();return-1!==t.indexOf("tox-")||-1!==t.indexOf("mce-")}},yp={setEditorTimeout:(e,t,n)=>((e,t)=>(S(t)||(t=0),window.setTimeout(e,t)))(()=>{e.removed||t()},n),setEditorInterval:(e,t,n)=>{const o=((e,t)=>(S(t)||(t=0),window.setInterval(e,t)))(()=>{e.removed?window.clearInterval(o):t()},n);return o}};let vp;const Cp=gi.DOM,wp=e=>{const t=e.classList;return void 0!==t&&(t.contains("tox-edit-area")||t.contains("tox-edit-area__iframe")||t.contains("mce-content-body"))},Sp=(e,t)=>{const n=um(e),o=Cp.getParent(t,t=>(e=>Xr(e)&&bp.isEditorUIElement(e))(t)||!!n&&e.dom.is(t,n));return null!==o},Ep=e=>{try{const t=Qn(un.fromDom(e.getElement()));return co(t).fold(()=>document.body,e=>e.dom)}catch{return document.body}},xp=(e,t)=>{const n=t.editor;(e=>{const t=at(()=>{pp(e)},0);e.on("init",()=>{e.inline&&((e,t)=>{const n=()=>{t.throttle()};gi.DOM.bind(document,"mouseup",n),e.on("remove",()=>{gi.DOM.unbind(document,"mouseup",n)})})(e,t),((e,t)=>{((e,t)=>{e.on("mouseup touchend",e=>{t.throttle()})})(e,t),e.on("keyup NodeChange AfterSetSelectionRange",t=>{(e=>"nodechange"===e.type&&e.selectionChange)(t)||pp(e)})})(e,t)}),e.on("remove",()=>{t.cancel()})})(n);const o=(e,t)=>{tu(e)&&!0!==e.inline&&t(un.fromDom(e.getContainer()),"tox-edit-focus")};n.on("focusin",()=>{const t=e.focusedEditor;wp(Ep(n))&&o(n,yr),t!==n&&(t&&t.dispatch("blur",{focusedEditor:n}),e.setActive(n),e.focusedEditor=n,n.dispatch("focus",{blurredEditor:t}),n.focus(!0))}),n.on("focusout",()=>{yp.setEditorTimeout(n,()=>{const t=e.focusedEditor;wp(Ep(n))&&t===n||o(n,Cr),Sp(n,Ep(n))||t!==n||(n.dispatch("blur",{focusedEditor:null}),e.focusedEditor=null)})}),vp||(vp=t=>{const n=e.activeEditor;n&&eo(t).each(t=>{const o=t;o.ownerDocument===document&&(o===document.body||Sp(n,o)||e.focusedEditor!==n||(n.dispatch("blur",{focusedEditor:null}),e.focusedEditor=null))})},Cp.bind(document,"focusin",vp))},_p=(e,t)=>{e.focusedEditor===t.editor&&(e.focusedEditor=null),!e.activeEditor&&vp&&(Cp.unbind(document,"focusin",vp),vp=null)},kp=(e,t)=>{((e,t)=>(e=>e.collapsed?I.from(hl(e.startContainer,e.startOffset)).map(un.fromDom):I.none())(t).bind(t=>$i(t)?I.some(t):Cn(e,t)?I.none():I.some(e)))(un.fromDom(e.getBody()),t).bind(e=>Rf(e.dom)).fold(()=>{e.selection.normalize()},t=>e.selection.setRng(t.toRange()))},Np=(e,t=!1)=>{if(t)e.focus({preventScroll:!0});else if(e.setActive)try{e.setActive()}catch{e.focus()}else e.focus()},Rp=e=>e.inline?(e=>{const t=e.getBody();return t&&(n=un.fromDom(t),lo(n)||(o=n,co(Qn(o)).filter(e=>o.dom.contains(e.dom))).isSome());var n,o})(e):(e=>C(e.iframeElement)&&lo(un.fromDom(e.iframeElement)))(e),Ap=e=>Rp(e)||(e=>{const t=Qn(un.fromDom(e.getElement()));return co(t).filter(t=>!wp(t.dom)&&Sp(e,t.dom)).isSome()})(e),Dp=e=>e.editorManager.setActive(e),Tp={BACKSPACE:8,DELETE:46,DOWN:40,ENTER:13,ESC:27,LEFT:37,RIGHT:39,SPACEBAR:32,TAB:9,UP:38,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,modifierPressed:e=>e.shiftKey||e.ctrlKey||e.altKey||Tp.metaKeyPressed(e),metaKeyPressed:e=>sn.os.isMacOS()||sn.os.isiOS()?e.metaKey:e.ctrlKey&&!e.altKey},Op="data-mce-selected",Bp=`table,img,figure.image,hr,video,span.mce-preview-object,details,${xs}`,Pp=Math.abs,Lp=Math.round,Mp={nw:[0,0,-1,-1],ne:[1,0,1,-1],se:[1,1,1,1],sw:[0,1,-1,1]},Ip=(e,t)=>{const n=t.dom,o=t.getDoc(),r=document,s=t.getBody();let a,i,l,c,d,m,u,f,g,p,b,y,v,w,S;const E=e=>C(e)&&(us(e)||n.is(e,"figure.image")),x=e=>Cs(e)||n.hasClass(e,"mce-preview-object"),_=e=>{const n=e.target;((e,t)=>{if((e=>"longpress"===e.type||0===e.type.indexOf("touch"))(e)){const n=e.touches[0];return E(e.target)&&!lp(n.clientX,n.clientY,t)}return E(e.target)&&!lp(e.clientX,e.clientY,t)})(e,t.selection.getRng())&&!e.isDefaultPrevented()&&t.selection.select(n)},k=e=>n.hasClass(e,"mce-preview-object")&&C(e.firstElementChild)?[e,e.firstElementChild]:n.is(e,"figure.image")?[e.querySelector("img")]:[e],N=e=>{const o=Zd(t);return!(!o||t.mode.isReadOnly())&&"false"!==e.getAttribute("data-mce-resize")&&e!==t.getBody()&&(n.hasClass(e,"mce-preview-object")&&C(e.firstElementChild)?bn(un.fromDom(e.firstElementChild),o):bn(un.fromDom(e),o))},R=(e,o,r)=>{if(C(r)){const s=k(e);q(s,e=>{_s(e)?((e,t,o)=>{e[t]=o;const r=400;if(e.width>r&&!("width"===t&&o{R(e,"width",t),R(e,"height",n)},D=e=>{let o,r,d,h,C;o=e.screenX-m,r=e.screenY-u,y=o*c[2]+f,v=r*c[3]+g,y=y<5?5:y,v=v<5?5:v,d=(E(a)||x(a)||_s(a))&&!1!==Jd(t)?!Tp.modifierPressed(e):Tp.modifierPressed(e),d&&(Pp(o)>Pp(r)?(v=Lp(y*p),y=Lp(v/p)):(y=Lp(v/p),v=Lp(y*p))),A(i,y,v),h=c.startPos.x+o,C=c.startPos.y+r,h=h>0?h:0,C=C>0?C:0,n.setStyles(l,{left:h,top:C,display:"block"}),l.innerHTML=y+" × "+v,o=s.scrollWidth-w,r=s.scrollHeight-S,o+r!==0&&n.setStyles(l,{left:h-o,top:C-r}),b||(((e,t,n,o,r)=>{e.dispatch("ObjectResizeStart",{target:t,width:n,height:o,origin:r})})(t,a,f,g,"corner-"+c.name),b=!0)},T=()=>{const e=b;b=!1,e&&(R(a,"width",y),R(a,"height",v)),n.unbind(o,"mousemove",D),n.unbind(o,"mouseup",T),r!==o&&(n.unbind(r,"mousemove",D),n.unbind(r,"mouseup",T)),n.remove(i),n.remove(l),n.remove(d),O(a),e&&(((e,t,n,o,r)=>{e.dispatch("ObjectResized",{target:t,width:n,height:o,origin:r})})(t,a,y,v,"corner-"+c.name),n.setAttrib(a,"style",n.getAttrib(a,"style"))),t.nodeChanged()},O=e=>{if(!e.isConnected)return void P();I();const h=n.getPos(e,s),b=h.x,C=h.y,E=e.getBoundingClientRect(),_=E.width||E.right-E.left,R=E.height||E.bottom-E.top;a!==e&&(P(),a=e,y=v=0);const O=t.dispatch("ObjectSelected",{target:e});N(e)&&!O.isDefaultPrevented()?he(Mp,(e,t)=>{let h=n.get("mceResizeHandle"+t);h&&n.remove(h),h=n.add(s,"div",{id:"mceResizeHandle"+t,"data-mce-bogus":"all",class:"mce-resizehandle",unselectable:!0,style:"cursor:"+t+"-resize; margin:0; padding:0"}),n.bind(h,"mousedown",h=>{h.stopImmediatePropagation(),h.preventDefault(),(h=>{const y=k(a)[0];m=h.screenX,u=h.screenY,f=y.clientWidth,g=y.clientHeight,p=g/f,c=e,c.name=t,c.startPos={x:_*e[0]+b,y:R*e[1]+C},w=s.scrollWidth,S=s.scrollHeight,d=n.add(s,"div",{class:"mce-resize-backdrop","data-mce-bogus":"all"}),n.setStyles(d,{position:"fixed",left:"0",top:"0",width:"100%",height:"100%"}),i=((e,t)=>{if(x(t))return e.create("img",{src:sn.transparentSrc});if(ns(t)){const n=Qe(c.name,"n")?ce:de,o=t.cloneNode(!0);return n(e.select("tr",o)).each(t=>{const n=e.select("td,th",t);e.setStyle(t,"height",null),q(n,t=>e.setStyle(t,"height",null))}),o}return t.cloneNode(!0)})(n,a),n.addClass(i,"mce-clonedresizable"),n.setAttrib(i,"data-mce-bogus","all"),i.contentEditable="false",n.setStyles(i,{left:b,top:C,margin:0}),A(i,_,R),i.removeAttribute(Op),s.appendChild(i),n.bind(o,"mousemove",D),n.bind(o,"mouseup",T),r!==o&&(n.bind(r,"mousemove",D),n.bind(r,"mouseup",T)),l=n.add(s,"div",{class:"mce-resize-helper","data-mce-bogus":"all"},f+" × "+g)})(h)}),e.elm=h,n.setStyles(h,{left:_*e[0]+b-h.offsetWidth/2,top:R*e[1]+C-h.offsetHeight/2})}):P(!1)},B=(e=>{let t=null,n=null;return{cancel:()=>{h(t)||(clearTimeout(t),t=null,n=null)},throttle:(...o)=>{n=o,h(t)&&(t=setTimeout(()=>{const o=n;t=null,n=null,e.apply(null,o)},0))}}})(O),P=(e=!0)=>{B.cancel(),I(),a&&e&&a.removeAttribute(Op),he(Mp,(e,t)=>{const o=n.get("mceResizeHandle"+t);o&&(n.unbind(o),n.remove(o))})},L=(e,t)=>n.isChildOf(e,t),M=o=>{if(b||t.removed||t.composing)return;const r="mousedown"===o.type?o.target:e.getNode(),a=fr(un.fromDom(r),Bp).map(e=>e.dom).filter(e=>n.isEditable(e.parentElement)||"IMG"===e.nodeName&&n.isEditable(e)).getOrUndefined(),i=C(a)?n.getAttrib(a,Op,"1"):"1";if(q(n.select(`img[${Op}],hr[${Op}]`),e=>{e.removeAttribute(Op)}),C(a)&&L(a,s)&&Ap(t)){F();const t=e.getStart(!0);if(L(t,a)&&L(e.getEnd(!0),a))return n.setAttrib(a,Op,i),void B.throttle(a)}P()},I=()=>{he(Mp,e=>{e.elm&&(n.unbind(e.elm),delete e.elm)})},F=()=>{try{t.getDoc().execCommand("enableObjectResizing",!1,"false")}catch{}};return t.on("init",()=>{F(),t.on("NodeChange ResizeEditor ResizeWindow ResizeContent drop",M),t.on("keyup compositionend",e=>{a&&"TABLE"===a.nodeName&&M(e)}),t.on("hide blur",P),t.on("contextmenu longpress",_,!0)}),t.on("remove",I),{isResizable:N,showResizeRect:O,hideResizeRect:P,updateResizeRect:M,destroy:()=>{B.cancel(),a=i=d=null}}},Fp=(e,t,n)=>{const o=Ln(un.fromDom(n));return Vr(o.dom,e,t).map(e=>{const t=n.createRange();return t.setStart(e.start.dom,e.soffset),t.setEnd(e.finish.dom,e.foffset),t}).getOrUndefined()},Up=(e,t)=>C(e)&&C(t)&&e.startContainer===t.startContainer&&e.startOffset===t.startOffset&&e.endContainer===t.endContainer&&e.endOffset===t.endOffset,zp=(e,t,n)=>null!==((e,t,n)=>{let o=e;for(;o&&o!==t;){if(n(o))return o;o=o.parentNode}return null})(e,t,n),jp=(e,t,n)=>zp(e,t,e=>e.nodeName===n),$p=(e,t)=>el(e)&&!zp(e,t,Tf),Hp=(e,t,n)=>{const o=t.parentNode;if(o){const r=new Kr(t,e.getParent(o,e.isBlock)||e.getRoot());let s;for(;s=r[n?"prev":"next"]();)if(ms(s))return!0}return!1},Vp=(e,t,n,o,r)=>{const s=e.getRoot(),a=e.schema.getNonEmptyElements(),i=r.parentNode;let l,c;if(!i)return I.none();const d=e.getParent(i,e.isBlock)||s;if(o&&ms(r)&&t&&e.isEmpty(d))return I.some(Kl(i,e.nodeIndex(r)));const m=new Kr(r,d);for(;c=m[o?"prev":"next"]();){if("false"===e.getContentEditableParent(c)||$p(c,s))return I.none();if(ss(c)&&c.data.length>0)return jp(c,s,"A")?I.none():I.some(Kl(c,o?c.data.length:0));if(e.isBlock(c)||a[c.nodeName.toLowerCase()])return I.none();l=c}return ls(l)?I.none():n&&l?I.some(Kl(l,0)):I.none()},qp=(e,t,n,o)=>{const r=e.getRoot();let s,a=!1,i=n?o.startContainer:o.endContainer,l=n?o.startOffset:o.endOffset;const c=Xr(i)&&l===i.childNodes.length,d=e.schema.getNonEmptyElements();let m=n;if(el(i))return I.none();if(Xr(i)&&l>i.childNodes.length-1&&(m=!1),cs(i)&&(i=r,l=0),i===r){if(m&&(s=i.childNodes[l>0?l-1:0],s)){if(el(s))return I.none();if(d[s.nodeName]||ns(s))return I.none()}if(i.hasChildNodes()){if(l=Math.min(!m&&l>0?l-1:l,i.childNodes.length-1),i=i.childNodes[l],l=ss(i)&&c?i.data.length:0,!t&&i===r.lastChild&&ns(i))return I.none();if(((e,t)=>{let n=t;for(;n&&n!==e;){if(ps(n))return!0;n=n.parentNode}return!1})(r,i)||el(i))return I.none();if(Ss(i))return I.none();if(i.hasChildNodes()&&!ns(i)){s=i;const t=new Kr(i,r);do{if(ps(s)||el(s)){a=!1;break}if(ss(s)&&s.data.length>0){l=m?0:s.data.length,i=s,a=!0;break}if(d[s.nodeName.toLowerCase()]&&!ys(s)){l=e.nodeIndex(s),i=s.parentNode,m||l++,a=!0;break}}while(s=m?t.next():t.prev())}}}return t&&(ss(i)&&0===l&&Vp(e,c,t,!0,i).each(e=>{i=e.container(),l=e.offset(),a=!0}),Xr(i)&&(s=i.childNodes[l],s||(s=i.childNodes[l-1]),!s||!ms(s)||(e=>"A"===e.previousSibling?.nodeName)(s)||Hp(e,s,!1)||Hp(e,s,!0)||Vp(e,c,t,!0,s).each(e=>{i=e.container(),l=e.offset(),a=!0}))),m&&!t&&ss(i)&&l===i.data.length&&Vp(e,c,t,!1,i).each(e=>{i=e.container(),l=e.offset(),a=!0}),a&&i?I.some(Kl(i,l)):I.none()},Wp=(e,t)=>{const n=t.collapsed,o=t.cloneRange(),r=Kl.fromRangeStart(t);return qp(e,n,!0,o).each(e=>{n&&Kl.isAbove(r,e)||o.setStart(e.container(),e.offset())}),n||qp(e,n,!1,o).each(e=>{o.setEnd(e.container(),e.offset())}),n&&o.collapse(!0),Up(t,o)?I.none():I.some(o)},Kp=(e,t)=>e.splitText(t),Yp=e=>{let t=e.startContainer,n=e.startOffset,o=e.endContainer,r=e.endOffset;if(t===o&&ss(t)){if(n>0&&nn){r-=n;const e=Kp(o,r).previousSibling;t=o=e,r=e.data.length,n=0}else r=0}else if(ss(t)&&n>0&&n0&&r({walk:(t,n)=>Yg(e,t,n),split:Yp,expand:(t,n={type:"word"})=>{if("word"===n.type){const n=Kg(e,t,[{inline:"span"}],{includeTrailingSpace:!1,expandToBlock:!1}),o=e.createRng();return o.setStart(n.startContainer,n.startOffset),o.setEnd(n.endContainer,n.endOffset),o}return t},normalize:t=>Wp(e,t).fold(L,e=>(t.setStart(e.startContainer,e.startOffset),t.setEnd(e.endContainer,e.endOffset),!0))});Gp.compareRanges=Up,Gp.getCaretRangeFromPoint=Fp,Gp.getSelectedNode=pl,Gp.getNode=hl;const Xp=(e,t)=>e.view(t).fold(N([]),t=>{const n=e.owner(t),o=Xp(e,n);return[t].concat(o)});var Qp=Object.freeze({__proto__:null,view:e=>(e.dom===document?I.none():I.from(e.dom.defaultView?.frameElement)).map(un.fromDom),owner:e=>Pn(e)});const Zp=e=>"textarea"===En(e),Jp=(e,t)=>{const n=(e=>{const t=e.dom.ownerDocument,n=t.body,o=t.defaultView,r=t.documentElement;if(n===e.dom)return Go(n.offsetLeft,n.offsetTop);const s=Xo(o?.pageYOffset,r.scrollTop),a=Xo(o?.pageXOffset,r.scrollLeft),i=Xo(r.clientTop,n.clientTop),l=Xo(r.clientLeft,n.clientLeft);return Qo(e).translate(a-l,s-i)})(e),o=(e=>Ko.get(e))(e);return{element:e,bottom:n.top+o,height:o,pos:n,cleanup:t}},eh=(e,t,n,o)=>{rh(e,(r,s)=>nh(e,t,n,o),n)},th=(e,t,n,o,r)=>{const s={elm:o.element.dom,alignToTop:r};((e,t)=>e.dispatch("ScrollIntoView",t).isDefaultPrevented())(e,s)||(n(e,t,Zo(t).top,o,r),((e,t)=>{e.dispatch("AfterScrollIntoView",t)})(e,s))},nh=(e,t,n,o)=>{const r=un.fromDom(e.getBody()),s=un.fromDom(e.getDoc());r.dom.offsetWidth;const a=((e,t)=>{const n=((e,t)=>{const n=Vn(e);if(0===n.length||Zp(e))return{element:e,offset:t};if(t\ufeff');return mo(n.element,o),Jp(o,()=>Ro(o))})(un.fromDom(n.startContainer),n.startOffset);th(e,s,t,a,o),a.cleanup()},oh=(e,t,n,o)=>{const r=un.fromDom(e.getDoc());th(e,r,n,(e=>Jp(un.fromDom(e),x))(t),o)},rh=(e,t,n)=>{const o=n.startContainer,r=n.startOffset,s=n.endContainer,a=n.endOffset;t(un.fromDom(o),un.fromDom(s));const i=e.dom.createRng();i.setStart(o,r),i.setEnd(s,a),e.selection.setRng(n)},sh=(e,t,n,o,r)=>{const s=t.pos;if(o)Jo(s.left,Math.max(0,s.top-30),r);else{const o=s.top-n+t.height+30;Jo(-e.getBody().getBoundingClientRect().left,o,r)}},ah=(e,t,n,o,r,s)=>{const a=o+n,i=r.pos.top,l=r.bottom,c=l-i>=o;ia?sh(e,r,o,c?!1!==s:!0===s,t):l>a&&!c&&sh(e,r,o,!0===s,t)},ih=(e,t,n,o,r)=>{const s=Ln(t).dom.innerHeight;ah(e,t,n,s,o,r)},lh=(e,t,n,o,r)=>{const s=Ln(t).dom.innerHeight;ah(e,t,n,s,o,r);const a=(e=>{const t=ao(),n=Zo(t),o=((e,t)=>{const n=t.owner(e);return Xp(t,n)})(e,Qp),r=Qo(e),s=G(o,(e,t)=>{const n=Qo(t);return{left:e.left+n.left,top:e.top+n.top}},{left:0,top:0});return Go(s.left+r.left+n.left,s.top+r.top+n.top)})(o.element),i=Wr(window);a.topi.bottom&&er(o.element,!0===r)},ch=(e,t,n)=>eh(e,ih,t,n),dh=(e,t,n)=>oh(e,t,ih,n),mh=(e,t,n)=>eh(e,lh,t,n),uh=(e,t,n)=>oh(e,t,lh,n),fh=(e,t,n)=>{(e.inline?ch:mh)(e,t,n)},gh=(e,t)=>t.collapsed?e.isEditable(t.startContainer):e.isEditable(t.startContainer)&&e.isEditable(t.endContainer),ph=(e,t,n,o,r)=>{const s=n?t.startContainer:t.endContainer,a=n?t.startOffset:t.endOffset;return I.from(s).map(un.fromDom).map(e=>o&&t.collapsed?e:qn(e,r(e,a)).getOr(e)).bind(e=>Rn(e)?I.some(e):Mn(e).filter(Rn)).map(e=>e.dom).getOr(e)},hh=(e,t,n=!1)=>ph(e,t,!0,n,(e,t)=>Math.min(Yn(e),t)),bh=(e,t,n=!1)=>ph(e,t,!1,n,(e,t)=>t>0?t-1:t),yh=(e,t)=>{const n=e;for(;e&&ss(e)&&0===e.length;)e=t?e.nextSibling:e.previousSibling;return e||n},vh=(e,t)=>V(t,t=>{const n=e.dispatch("GetSelectionRange",{range:t});return n.range!==t?n.range:t}),Ch={"#text":3,"#comment":8,"#cdata":4,"#pi":7,"#doctype":10,"#document-fragment":11},wh=(e,t,n)=>{const o=n?"lastChild":"firstChild",r=n?"prev":"next";if(e[o])return e[o];if(e!==t){let n=e[r];if(n)return n;for(let o=e.parent;o&&o!==t;o=o.parent)if(n=o[r],n)return n}},Sh=e=>{const t=e.value??"";if(!Ns(t))return!1;const n=e.parent;return!n||"span"===n.name&&!n.attr("style")||!/^[ ]+$/.test(t)},Eh=e=>{const t="a"===e.name&&!e.attr("href")&&e.attr("id");return e.attr("name")||e.attr("id")&&!e.firstChild||e.attr("data-mce-bookmark")||t};class xh{static create(e,t){const n=new xh(e,Ch[e]||1);return t&&he(t,(e,t)=>{n.attr(t,e)}),n}name;type;attributes;value;parent;firstChild;lastChild;next;prev;raw;constructor(e,t){this.name=e,this.type=t,1===t&&(this.attributes=[],this.attributes.map={})}replace(e){const t=this;return e.parent&&e.remove(),t.insert(e,t),t.remove(),t}attr(e,t){const n=this;if(!u(e))return C(e)&&he(e,(e,t)=>{n.attr(t,e)}),n;const o=n.attributes;if(o){if(void 0!==t){if(null===t){if(e in o.map){delete o.map[e];let t=o.length;for(;t--;)if(o[t].name===e)return o.splice(t,1),n}return n}if(e in o.map){let n=o.length;for(;n--;)if(o[n].name===e){o[n].value=t;break}}else o.push({name:e,value:t});return o.map[e]=t,n}return o.map[e]}}clone(){const e=this,t=new xh(e.name,e.type),n=e.attributes;if(n){const e=[];e.map={};for(let t=0,o=n.length;tu(e.nodeValue)&&e.nodeValue.includes(Ki),Nh=e=>(0===e.length?"":`${V(e,e=>`[${e}]`).join(",")},`)+'[data-mce-bogus="all"]',Rh=e=>document.createTreeWalker(e,NodeFilter.SHOW_COMMENT,e=>kh(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP),Ah=e=>document.createTreeWalker(e,NodeFilter.SHOW_TEXT,e=>{if(kh(e)){const t=e.parentNode;return t&&_e(_h,t.nodeName)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}return NodeFilter.FILTER_SKIP}),Dh=e=>null!==Rh(e).nextNode(),Th=e=>null!==Ah(e).nextNode(),Oh=(e,t)=>null!==t.querySelector(Nh(e)),Bh=(e,t)=>{q(((e,t)=>t.querySelectorAll(Nh(e)))(e,t),t=>{const n=un.fromDom(t);"all"===wo(n,"data-mce-bogus")?Ro(n):q(e,e=>{Eo(n,e)&&xo(n,e)})})},Ph=e=>{let t=e.nextNode();for(;null!==t;)t.nodeValue=null,t=e.nextNode()},Lh=_(Ph,Rh),Mh=_(Ph,Ah),Ih=(e,t)=>{const n=[{condition:D(Oh,t),action:D(Bh,t)},{condition:Dh,action:Lh},{condition:Th,action:Mh}];let o=e,r=!1;return q(n,({condition:t,action:n})=>{t(o)&&(r||(o=e.cloneNode(!0),r=!0),n(o))}),o},Fh=e=>{const t=Rr(e,"[data-mce-bogus]");q(t,e=>{"all"===wo(e,"data-mce-bogus")?Ro(e):Mi(e)?(mo(e,un.fromText(ct)),Ro(e)):Ao(e)})},Uh=e=>{const t=Rr(e,"input");q(t,e=>{xo(e,"name")})},zh=(e,t,n)=>{let o;return o="raw"===t.format?dn.trim(Gi(Ih(n,e.serializer.getTempAttrs()).innerHTML)):"text"===t.format?((e,t)=>{const n=e.getDoc(),o=Qn(un.fromDom(e.getBody())),r=un.fromTag("div",n);vo(r,"data-mce-bogus","all"),jo(r,{position:"fixed",left:"-9999999px",top:"0"}),Mo(r,t.innerHTML),Fh(r),Uh(r);const s=(e=>Xn(e)?e:un.fromDom(Pn(e).dom.body))(o);go(s,r);const a=Gi(r.dom.innerText);return Ro(r),a})(e,n):"tree"===t.format?e.serializer.serialize(n,t):((e,t)=>{const n=new RegExp(`^(<${e}[^>]*>( | |\\s|\xa0|
|)<\\/${e}>[\r\n]*|
[\r\n]*)$`);return t.replace(n,"")})(Ed(e),e.serializer.serialize(n,t)),"text"!==t.format&&!Vi(un.fromDom(n))&&u(o)?dn.trim(o):o},jh=dn.makeMap,$h=e=>{const t=[],n=(e=e||{}).indent,o=jh(e.indent_before||""),r=jh(e.indent_after||""),s=Sa.getEncodeFunc(e.entity_encoding||"raw",e.entities),a="xhtml"!==e.element_format;return{start:(e,i,l)=>{if(n&&o[e]&&t.length>0){const e=t[t.length-1];e.length>0&&"\n"!==e&&t.push("\n")}if(t.push("<",e),i)for(let e=0,n=i.length;e":" />",l&&n&&r[e]&&t.length>0){const e=t[t.length-1];e.length>0&&"\n"!==e&&t.push("\n")}},end:e=>{let o;t.push(""),n&&r[e]&&t.length>0&&(o=t[t.length-1],o.length>0&&"\n"!==o&&t.push("\n"))},text:(e,n)=>{e.length>0&&(t[t.length]=n?e:s(e))},cdata:e=>{t.push("")},comment:e=>{t.push("\x3c!--",e,"--\x3e")},pi:(e,o)=>{o?t.push(""):t.push(""),n&&t.push("\n")},doctype:e=>{t.push("",n?"\n":"")},reset:()=>{t.length=0},getContent:()=>t.join("").replace(/\n$/,"")}},Hh=(e={},t=Ua())=>{const n=$h(e);return e.validate=!("validate"in e)||e.validate,{serialize:o=>{const r=e.validate,s={3:e=>{n.text(e.value??"",e.raw)},8:e=>{n.comment(e.value??"")},7:e=>{n.pi(e.name,e.value)},10:e=>{n.doctype(e.value??"")},4:e=>{n.cdata(e.value??"")},11:e=>{let t=e;if(t=t.firstChild)do{a(t)}while(t=t.next)}};n.reset();const a=e=>{const o=s[e.type];if(o)o(e);else{const o=e.name,s=o in t.getVoidElements();let i=e.attributes;if(r&&i&&i.length>1){const n=[];n.map={};const o=t.getElementRule(e.name);if(o){for(let e=0,t=o.attributesOrder.length;e{Vh.add(e)});const qh=new Set;q(["background-color"],e=>{qh.add(e)});const Wh=["font","text-decoration","text-emphasis"],Kh=(e,t)=>ge(((e,t)=>e.parseStyle(e.getAttrib(t,"style")))(e,t)),Yh=(e,t)=>H(Kh(e,t),e=>(e=>Vh.has(e))(e)),Gh=(e,t,n)=>I.from(n.container()).filter(ss).exists(o=>{const r=e?0:-1;return t(o.data.charAt(n.offset()+r))}),Xh=D(Gh,!0,Kf),Qh=D(Gh,!1,Kf),Zh=e=>{const t=e.container();return ss(t)&&(0===t.data.length||Yi(t.data)&&ip.isBookmarkNode(t.parentNode))},Jh=(e,t)=>n=>Gu(e?0:-1,n).filter(t).isSome(),eb=e=>us(e)&&"block"===$o(un.fromDom(e),"display"),tb=e=>ps(e)&&!(e=>Xr(e)&&"all"===e.getAttribute("data-mce-bogus"))(e),nb=Jh(!0,eb),ob=Jh(!1,eb),rb=Jh(!0,Cs),sb=Jh(!1,Cs),ab=Jh(!0,ns),ib=Jh(!1,ns),lb=Jh(!0,tb),cb=Jh(!1,tb),db=(e,t)=>((e,t,n)=>Cn(t,e)?Fn(e,e=>n(e)||vn(e,t)).slice(0,-1):[])(e,t,L),mb=(e,t)=>[e].concat(db(e,t)),ub=(e,t,n)=>xf(e,t,n,Zh),fb=(e,t,n)=>Z(mb(un.fromDom(t.container()),e),(e=>t=>e.isBlock(En(t)))(n)),gb=(e,t,n,o)=>ub(e,t.dom,n).forall(e=>fb(t,n,o).fold(()=>!Yu(e,n,t.dom),o=>!Yu(e,n,t.dom)&&Cn(o,un.fromDom(e.container())))),pb=(e,t,n,o)=>fb(t,n,o).fold(()=>ub(e,t.dom,n).forall(e=>!Yu(e,n,t.dom)),t=>ub(e,t.dom,n).isNone()),hb=D(pb,!1),bb=D(pb,!0),yb=D(gb,!1),vb=D(gb,!0),Cb=e=>rf(e).exists(Mi),wb=(e,t,n,o)=>{const r=Y(mb(un.fromDom(n.container()),t),e=>o.isBlock(En(e))),s=ce(r).getOr(t);return Sf(e,s.dom,n).filter(Cb)},Sb=(e,t,n)=>rf(t).exists(Mi)||wb(!0,e,t,n).isSome(),Eb=(e,t,n)=>(e=>I.from(e.getNode(!0)).map(un.fromDom))(t).exists(Mi)||wb(!1,e,t,n).isSome(),xb=D(wb,!1),_b=D(wb,!0),kb=e=>Kl.isTextPosition(e)&&!e.isAtStart()&&!e.isAtEnd(),Nb=(e,t,n)=>{const o=Y(mb(un.fromDom(t.container()),e),e=>n.isBlock(En(e)));return ce(o).getOr(e)},Rb=(e,t,n)=>kb(t)?Qh(t):Qh(t)||Nf(Nb(e,t,n).dom,t).exists(Qh),Ab=(e,t,n)=>kb(t)?Xh(t):Xh(t)||kf(Nb(e,t,n).dom,t).exists(Xh),Db=e=>rf(e).bind(e=>lr(e,Rn)).exists(e=>(e=>$(["pre","pre-wrap"],e))($o(e,"white-space"))),Tb=(e,t)=>n=>{return o=new Kr(n,e)[t](),C(o)&&ps(o)&&Iu(o);var o},Ob=(e,t,n)=>!Db(t)&&(((e,t,n)=>((e,t)=>Nf(e.dom,t).isNone())(e,t)||((e,t)=>kf(e.dom,t).isNone())(e,t)||hb(e,t,n)||bb(e,t,n)||Eb(e,t,n)||Sb(e,t,n))(e,t,n)||Rb(e,t,n)||Ab(e,t,n)),Bb=(e,t,n)=>!Db(t)&&(hb(e,t,n)||yb(e,t,n)||Eb(e,t,n)||Rb(e,t,n)||((e,t)=>{const n=Nf(e.dom,t).getOr(t),o=Tb(e.dom,"prev");return t.isAtStart()&&(o(t.container())||o(n.container()))})(e,t)),Pb=(e,t,n)=>!Db(t)&&(bb(e,t,n)||vb(e,t,n)||Sb(e,t,n)||Ab(e,t,n)||((e,t)=>{const n=kf(e.dom,t).getOr(t),o=Tb(e.dom,"next");return t.isAtEnd()&&(o(t.container())||o(n.container()))})(e,t)),Lb=(e,t,n)=>Bb(e,t,n)||Pb(e,(e=>{const t=e.container(),n=e.offset();return ss(t)&&nqf(e.charAt(t)),Ib=(e,t)=>Kf(e.charAt(t)),Fb=(e,t,n,o)=>{const r=t.data,s=Kl(t,0);return n||!Mb(r,0)||Lb(e,s,o)?!!(n&&Ib(r,0)&&Bb(e,s,o))&&(t.data=dt+r.slice(1),!0):(t.data=" "+r.slice(1),!0)},Ub=(e,t,n,o)=>{const r=t.data,s=Kl(t,r.length-1);return n||!Mb(r,r.length-1)||Lb(e,s,o)?!!(n&&Ib(r,r.length-1)&&Pb(e,s,o))&&(t.data=r.slice(0,-1)+dt,!0):(t.data=r.slice(0,-1)+" ",!0)},zb=(e,t,n)=>{const o=t.container();if(!ss(o))return I.none();if((e=>{const t=e.container();return ss(t)&&Xe(t.data,dt)})(t)){const r=Fb(e,o,!1,n)||(e=>{const t=e.data,n=(e=>{const t=e.split("");return V(t,(e,n)=>qf(e)&&n>0&&n{if(0===n)return;const r=un.fromDom(e),s=ir(r,e=>o.isBlock(En(e))).getOr(r),a=e.data.slice(t,t+n),i=t+n>=e.data.length&&Pb(s,Kl(e,e.data.length),o),l=0===t&&Bb(s,Kl(e,0),o);e.replaceData(t,n,As(a,4,l,i))},$b=(e,t,n)=>{const o=e.data.slice(t),r=o.length-tt(o).length;jb(e,t,r,n)},Hb=(e,t,n)=>{const o=e.data.slice(0,t),r=o.length-nt(o).length;jb(e,t-r,r,n)},Vb=(e,t,n,o,r=!0)=>{const s=nt(e.data).length,a=r?e:t,i=r?t:e;return r?a.appendData(i.data):a.insertData(0,i.data),Ro(un.fromDom(i)),o&&$b(a,s,n),a},qb=(e,t)=>((e,t)=>{const n=e.container(),o=e.offset();return!Kl.isTextPosition(e)&&n===t.parentNode&&o>Kl.before(t).offset()})(t,e)?Kl(t.container(),t.offset()-1):t,Wb=e=>{return Nl(e.previousSibling)?I.some((t=e.previousSibling,ss(t)?Kl(t,t.data.length):Kl.after(t))):e.previousSibling?Af(e.previousSibling):I.none();var t},Kb=e=>{return Nl(e.nextSibling)?I.some((t=e.nextSibling,ss(t)?Kl(t,0):Kl.before(t))):e.nextSibling?Rf(e.nextSibling):I.none();var t},Yb=(e,t,n)=>((e,t,n)=>e?((e,t)=>Kb(t).orThunk(()=>Wb(t)).orThunk(()=>((e,t)=>kf(e,Kl.after(t)).orThunk(()=>Nf(e,Kl.before(t))))(e,t)))(t,n):((e,t)=>Wb(t).orThunk(()=>Kb(t)).orThunk(()=>((e,t)=>I.from(t.previousSibling?t.previousSibling:t.parentNode).bind(t=>Nf(e,Kl.before(t))).orThunk(()=>kf(e,Kl.after(t))))(e,t)))(t,n))(e,t,n).map(D(qb,n)),Gb=(e,t,n)=>{n.fold(()=>{e.focus()},n=>{e.selection.setRng(n.toRange(),t)})},Xb=(e,t)=>t&&_e(e.schema.getBlockElements(),En(t)),Qb=(e,t,n,o=!0,r=!1)=>{const s=Yb(t,e.getBody(),n.dom),a=ir(n,D(Xb,e),(i=e.getBody(),e=>e.dom===i));var i;const l=((e,t,n,o)=>{const r=zn(e).filter(An),s=jn(e).filter(An);return Ro(e),(a=r,i=s,l=t,c=(e,t,r)=>{const s=e.dom,a=t.dom,i=s.data.length;return Vb(s,a,n,o),r.container()===a?Kl(s,i):r},a.isSome()&&i.isSome()&&l.isSome()?I.some(c(a.getOrDie(),i.getOrDie(),l.getOrDie())):I.none()).orThunk(()=>(o&&(r.each(e=>Hb(e.dom,e.dom.length,n)),s.each(e=>$b(e.dom,0,n))),t));var a,i,l,c})(n,s,e.schema,((e,t)=>_e(e.schema.getTextInlineElements(),En(t)))(e,n));e.dom.isEmpty(e.getBody())?(e.setContent(""),e.selection.setCursorLocation()):a.bind(t=>((e,t,n)=>{if(Ls(e,t)){const e=un.fromHtml('
');return n?q(Vn(t),e=>{Tg(e)||Ro(e)}):No(t),go(t,e),I.some(Kl.before(e.dom))}return I.none()})(e.schema,t,r)).fold(()=>{o&&Gb(e,t,l)},n=>{o&&Gb(e,t,I.some(n))})},Zb=/[\u0591-\u07FF\uFB1D-\uFDFF\uFE70-\uFEFC]/,Jb=(e,t)=>bn(un.fromDom(t),Qd(e))&&!Zs(e.schema,t)&&e.dom.isEditable(t),ey=e=>"rtl"===gi.DOM.getStyle(e,"direction",!0)||(e=>Zb.test(e))(e.textContent??""),ty=(e,t,n)=>{const o=((e,t,n)=>Y(gi.DOM.getParents(n.container(),"*",t),e))(e,t,n);return I.from(o[o.length-1])},ny=(e,t)=>{const n=t.container(),o=t.offset();return e?Ji(n)?ss(n.nextSibling)?Kl(n.nextSibling,0):Kl.after(n):nl(t)?Kl(n,o+1):t:Ji(n)?ss(n.previousSibling)?Kl(n.previousSibling,n.previousSibling.data.length):Kl.before(n):ol(t)?Kl(n,o-1):t},oy=D(ny,!0),ry=D(ny,!1),sy=(e,t)=>{const n=e=>e.stopImmediatePropagation();e.on("beforeinput input",n,!0),e.getDoc().execCommand(t),e.off("beforeinput input",n)},ay=e=>sy(e,"Delete"),iy=e=>sy(e,"ForwardDelete"),ly=e=>Ui(e)||ji(e),cy=(e,t)=>Cn(e,t)?lr(t,ly,(e=>t=>ze(Mn(t),e,vn))(e)):I.none(),dy=(e,t=!0)=>{e.dom.isEmpty(e.getBody())&&e.setContent("",{no_selection:!t})},my=(e,t,n)=>$e(Rf(n),Af(n),(o,r)=>{const s=ny(!0,o),a=ny(!1,r),i=ny(!1,t);return e?kf(n,i).exists(e=>e.isEqual(a)&&t.isEqual(s)):Nf(n,i).exists(e=>e.isEqual(s)&&t.isEqual(a))}).getOr(!0),uy=e=>(kn(e)?zn(e):Kn(e)).bind(uy).orThunk(()=>I.some(e)),fy=(e,t,n,o=!0)=>{t.deleteContents();const r=uy(n).getOr(n),s=un.fromDom(e.dom.getParent(r.dom,e.dom.isBlock)??n.dom);if(s.dom===e.getBody()?dy(e,o):Ls(e.schema,s,{checkRootAsContent:!1})&&(Wi(s),o&&e.selection.setCursorLocation(s.dom,0)),!vn(n,s)){const t=ze(Mn(s),n)?[]:Un(s);q(t.concat(Vn(n)),t=>{vn(t,s)||Cn(t,s)||!Ls(e.schema,t)||Ro(t)})}},gy=e=>Rr(e,"td,th"),py=(e,t)=>Zf(un.fromDom(e),t),hy=(e,t)=>({start:e,end:t}),by=Ne([{singleCellTable:["rng","cell"]},{fullTable:["table"]},{partialTable:["cells","outsideDetails"]},{multiTable:["startTableCells","endTableCells","betweenRng"]}]),yy=(e,t)=>fr(un.fromDom(e),"td,th",t),vy=e=>!vn(e.start,e.end),Cy=(e,t)=>Zf(e.start,t).bind(n=>Zf(e.end,t).bind(e=>He(vn(n,e),n))),wy=e=>t=>Cy(t,e).map(e=>((e,t,n)=>({rng:e,table:t,cells:n}))(t,e,gy(e))),Sy=(e,t,n,o)=>{if(n.collapsed||!e.forall(vy))return I.none();if(t.isSameTable){const t=e.bind(wy(o));return I.some({start:t,end:t})}{const e=yy(n.startContainer,o),t=yy(n.endContainer,o),r=e.bind((e=>t=>Zf(t,e).bind(e=>de(gy(e)).map(e=>hy(t,e))))(o)).bind(wy(o)),s=t.bind((e=>t=>Zf(t,e).bind(e=>ce(gy(e)).map(e=>hy(e,t))))(o)).bind(wy(o));return I.some({start:r,end:s})}},Ey=(e,t)=>J(e,e=>vn(e,t)),xy=e=>$e(Ey(e.cells,e.rng.start),Ey(e.cells,e.rng.end),(t,n)=>e.cells.slice(t,n+1)),_y=(e,t)=>{const{startTable:n,endTable:o}=t,r=e.cloneRange();return n.each(e=>r.setStartAfter(e.dom)),o.each(e=>r.setEndBefore(e.dom)),r},ky=(e,t)=>{const n=(e=>t=>vn(e,t))(e),o=((e,t)=>{const n=yy(e.startContainer,t),o=yy(e.endContainer,t);return $e(n,o,hy)})(t,n),r=((e,t)=>{const n=py(e.startContainer,t),o=py(e.endContainer,t),r=n.isSome(),s=o.isSome(),a=$e(n,o,vn).getOr(!1);return(e=>$e(e.startTable,e.endTable,(t,n)=>{const o=Dr(t,e=>vn(e,n)),r=Dr(n,e=>vn(e,t));return o||r?{...e,startTable:o?I.none():e.startTable,endTable:r?I.none():e.endTable,isSameTable:!1,isMultiTable:!1}:e}).getOr(e))({startTable:n,endTable:o,isStartInTable:r,isEndInTable:s,isSameTable:a,isMultiTable:!a&&r&&s})})(t,n);return((e,t,n)=>e.exists(e=>((e,t)=>!vy(e)&&Cy(e,t).exists(e=>{const t=e.dom.rows;return 1===t.length&&1===t[0].cells.length}))(e,n)&&tg(e.start,t)))(o,t,n)?o.map(e=>by.singleCellTable(t,e.start)):r.isMultiTable?((e,t,n,o)=>Sy(e,t,n,o).bind(({start:e,end:o})=>{const r=e.bind(xy).getOr([]),s=o.bind(xy).getOr([]);if(r.length>0&&s.length>0){const e=_y(n,t);return I.some(by.multiTable(r,s,e))}return I.none()}))(o,r,t,n):((e,t,n,o)=>Sy(e,t,n,o).bind(({start:e,end:t})=>e.or(t)).bind(e=>{const{isSameTable:o}=t,r=xy(e).getOr([]);if(o&&e.cells.length===r.length)return I.some(by.fullTable(e.table));if(r.length>0){if(o)return I.some(by.partialTable(r,I.none()));{const e=_y(n,t);return I.some(by.partialTable(r,I.some({...t,rng:e})))}}return I.none()}))(o,r,t,n)},Ny=e=>q(e,e=>{xo(e,"contenteditable"),Wi(e)}),Ry=(e,t,n,o)=>{const r=n.cloneRange();o?(r.setStart(n.startContainer,n.startOffset),r.setEndAfter(t.dom.lastChild)):(r.setStartBefore(t.dom.firstChild),r.setEnd(n.endContainer,n.endOffset)),Oy(e,r,t,!1).each(e=>e())},Ay=e=>{const t=Qf(e),n=un.fromDom(e.selection.getNode());bs(n.dom)&&Ls(e.schema,n)?e.selection.setCursorLocation(n.dom,0):e.selection.collapse(!0),t.length>1&&H(t,e=>vn(e,n))&&vo(n,"data-mce-selected","1")},Dy=(e,t,n)=>I.some(()=>{const o=e.selection.getRng(),r=n.bind(({rng:n,isStartInTable:r})=>{const s=((e,t)=>I.from(e.dom.getParent(t,e.dom.isBlock)).map(un.fromDom))(e,r?n.endContainer:n.startContainer);n.deleteContents(),((e,t,n)=>{n.each(n=>{t?Ro(n):(Wi(n),e.selection.setCursorLocation(n.dom,0))})})(e,r,s.filter(D(Ls,e.schema)));const a=r?t[0]:t[t.length-1];return Ry(e,a,o,r),Ls(e.schema,a)?I.none():I.some(r?t.slice(1):t.slice(0,-1))}).getOr(t);Ny(r),Ay(e)}),Ty=(e,t,n,o)=>I.some(()=>{const r=e.selection.getRng(),s=t[0],a=n[n.length-1];Ry(e,s,r,!0),Ry(e,a,r,!1);const i=Ls(e.schema,s)?t:t.slice(1),l=Ls(e.schema,a)?n:n.slice(0,-1);Ny(i.concat(l)),o.deleteContents(),Ay(e)}),Oy=(e,t,n,o=!0)=>I.some(()=>{fy(e,t,n,o)}),By=(e,t)=>I.some(()=>Qb(e,!1,t)),Py=(e,t)=>Z(mb(t,e),Hi),Ly=(e,t)=>Z(mb(t,e),On("caption")),My=(e,t)=>I.some(()=>{Wi(t),e.selection.setCursorLocation(t.dom,0)}),Iy=(e,t)=>e?ab(t):ib(t),Fy=(e,t,n)=>{const o=un.fromDom(e.getBody());return Ly(o,n).fold(()=>((e,t,n,o)=>{const r=Kl.fromRangeStart(e.selection.getRng());return Py(n,o).bind(o=>Ls(e.schema,o,{checkRootAsContent:!1})?My(e,o):((e,t,n,o,r)=>Ef(n,e.getBody(),r).bind(e=>Py(t,un.fromDom(e.getNode())).bind(e=>vn(e,o)?I.none():I.some(x))))(e,n,t,o,r))})(e,t,o,n).orThunk(()=>He(((e,t)=>{const n=Kl.fromRangeStart(e.selection.getRng());return Iy(t,n)||Sf(t,e.getBody(),n).exists(e=>Iy(t,e))})(e,t),x)),n=>((e,t,n,o)=>{const r=Kl.fromRangeStart(e.selection.getRng());return Ls(e.schema,o)?My(e,o):((e,t,n,o,r)=>Ef(n,e.getBody(),r).fold(()=>I.some(x),s=>((e,t,n,o)=>Rf(e.dom).bind(r=>Af(e.dom).map(e=>t?n.isEqual(r)&&o.isEqual(e):n.isEqual(e)&&o.isEqual(r))).getOr(!0))(o,n,r,s)?((e,t)=>My(e,t))(e,o):((e,t,n)=>Ly(e,un.fromDom(n.getNode())).fold(()=>I.some(x),e=>He(!vn(e,t),x)))(t,o,s)))(e,n,t,o,r)})(e,t,o,n))},Uy=(e,t)=>{const n=un.fromDom(e.selection.getStart(!0)),o=Qf(e);return e.selection.isCollapsed()&&0===o.length?Fy(e,t,n):((e,t,n)=>{const o=un.fromDom(e.getBody()),r=e.selection.getRng();return 0!==n.length?Dy(e,n,I.none()):((e,t,n,o)=>Ly(t,o).fold(()=>((e,t,n)=>ky(t,n).bind(t=>t.fold(D(Oy,e),D(By,e),D(Dy,e),D(Ty,e))))(e,t,n),t=>((e,t)=>My(e,t))(e,t)))(e,o,r,t)})(e,n,o)},zy=(e,t)=>{let n=t;for(;n&&n!==e;){if(gs(n)||ps(n))return n;n=n.parentNode}return null},jy=["data-ephox-","data-mce-","data-alloy-","data-snooker-","_"],$y=dn.each,Hy=e=>{const t=e.dom,n=new Set(e.serializer.getTempAttrs()),o=e=>H(jy,t=>Qe(e,t))||n.has(e);return{compare:(e,n)=>{if(e.nodeName!==n.nodeName||e.nodeType!==n.nodeType)return!1;const r=e=>{const n={};return $y(t.getAttribs(e),r=>{const s=r.nodeName.toLowerCase();"style"===s||o(s)||(n[s]=t.getAttrib(e,s))}),n},s=(e,t)=>{for(const n in e)if(_e(e,n)){const o=t[n];if(y(o))return!1;if(e[n]!==o)return!1;delete t[n]}for(const e in t)if(_e(t,e))return!1;return!0};if(Xr(e)&&Xr(n)){if(!s(r(e),r(n)))return!1;if(!s(t.parseStyle(t.getAttrib(e,"style")),t.parseStyle(t.getAttrib(n,"style"))))return!1}return!Vf(e)&&!Vf(n)},isAttributeInternal:o}},Vy=(e,t)=>{if(ss(e))return{container:e,offset:t};const n=Gp.getNode(e,t);return ss(n)?{container:n,offset:t>=e.childNodes.length?n.data.length:0}:n.previousSibling&&ss(n.previousSibling)?{container:n.previousSibling,offset:n.previousSibling.data.length}:n.nextSibling&&ss(n.nextSibling)?{container:n.nextSibling,offset:0}:{container:e,offset:t}},qy=gi.DOM,Wy=()=>qy.create("span",{"data-mce-type":"bookmark"}),Ky=(e,t,n)=>{if(Xr(e)){const o=n();return e.hasChildNodes()?t===e.childNodes.length?e.appendChild(o):e.insertBefore(o,e.childNodes[t]):e.appendChild(o),{container:o,offset:0}}return{container:e,offset:t}},Yy=(e,t)=>{if(Xr(e)&&C(e.parentNode)){const n=e;t=(e=>{let t=e.parentNode?.firstChild,n=0;for(;t;){if(t===e)return n;Xr(t)&&"bookmark"===t.getAttribute("data-mce-type")||n++,t=t.nextSibling}return-1})(e),e=e.parentNode,qy.remove(n),!e.hasChildNodes()&&qy.isBlock(e)&&e.appendChild(qy.create("br"))}return{container:e,offset:t}},Gy=(e,t,n,o)=>{const r=qy.createRng();return r.setStart(e,t),r.setEnd(n,o),(e=>{const t=e.cloneRange(),n=Vy(e.startContainer,e.startOffset);t.setStart(n.container,n.offset);const o=Vy(e.endContainer,e.endOffset);return t.setEnd(o.container,o.offset),t})(r)},Xy=(e,t=Wy)=>{const{container:n,offset:o}=Ky(e.startContainer,e.startOffset,t);if(e.collapsed)return{startContainer:n,startOffset:o};{const{container:r,offset:s}=Ky(e.endContainer,e.endOffset,t);return{startContainer:n,startOffset:o,endContainer:r,endOffset:s}}},Qy=e=>{const{container:t,offset:n}=Yy(e.startContainer,e.startOffset);if(y(e.endContainer)||y(e.endOffset))return Gy(t,n,t,n);{const{container:o,offset:r}=Yy(e.endContainer,e.endOffset);return Gy(t,n,o,r)}},Zy=(e,t,n,o)=>{if(dn.each(n.styles,(n,r)=>{e.setStyle(t,r,yg(n,o))}),n.styles){const n=e.getAttrib(t,"style");n&&e.setAttrib(t,"data-mce-style",n)}},Jy=(e,t,n,o,r)=>{const s=e.dom;w(n.onformat)&&n.onformat(t,n,o,r),Zy(s,t,n,o),dn.each(n.attributes,(e,n)=>{s.setAttrib(t,n,yg(e,o))}),dn.each(n.classes,e=>{const n=yg(e,o);s.hasClass(t,n)||s.addClass(t,n)})},ev=vg,tv=(e,t,n)=>{const o=e.formatter.get(n);if(o)for(let n=0;n{const s=e.dom.getRoot();if(t===s)return!1;const a=e.dom.getParent(t,t=>!!tv(e,t,n)||t.parentNode===s||!!sv(e,t,n,o,!0));return!!sv(e,a,n,o,r)},ov=(e,t,n)=>!(!Rg(n)||!ev(t,n.inline))||!(!_g(n)||!ev(t,n.block))||!!Ng(n)&&Xr(t)&&e.is(t,n.selector),rv=(e,t,n,o,r,s)=>{const a=n[o],i="attributes"===o;if(w(n.onmatch))return n.onmatch(t,n,o);if(a)if(ft(a)){for(let n=0;n{const s=e.formatter.get(n),a=e.dom;if(s&&Xr(t))for(let n=0;nC(sv(e,t,n,o,r))||H(me(t.childNodes),t=>av(e,t,n,o,r)),iv=(e,t,n,o,r)=>{const s=e.dom;return!(!Xr(t)||"false"!==s.getContentEditable(t)||bg(e,t))&&H(hg(s,t),t=>av(e,t,n,o,r))},lv=(e,t,n,o,r)=>{if(o)return nv(e,o,t,n,r)||iv(e,o,t,n,r);if(o=e.selection.getNode(),nv(e,o,t,n,r)||iv(e,o,t,n,r))return!0;const s=e.selection.getStart();return!(s===o||!nv(e,s,t,n,r))},cv=Ki,dv=e=>{if(e){const t=new Kr(e,e);for(let e=t.current();e;e=t.next())if(ss(e))return e}return null},mv=e=>{const t=un.fromTag("span");return Co(t,{id:Df,"data-mce-bogus":"1","data-mce-type":"format-caret"}),e&&go(t,un.fromText(cv)),t},uv=(e,t,n)=>{const o=e.dom,r=e.selection;if(Dg(t))Qb(e,!1,un.fromDom(t),n,!0);else{const e=r.getRng(),n=o.getParent(t,o.isBlock),s=e.startContainer,a=e.startOffset,i=e.endContainer,l=e.endOffset,c=(e=>{const t=dv(e);return t&&t.data.charAt(0)===cv&&t.deleteData(0,1),t})(t);o.remove(t,!0),s===c&&a>0&&e.setStart(c,a-1),i===c&&l>0&&e.setEnd(c,l-1),n&&o.isEmpty(n)&&Wi(un.fromDom(n)),r.setRng(e)}},fv=(e,t)=>e.nextSibling===t||e.previousSibling===t,gv=(e,t,n)=>e===t||e===n||fv(e,t)||fv(e,n),pv=(e,t,n)=>{const o=e.dom,r=e.selection;if(t)uv(e,t,n);else if(!(t=Of(e.getBody(),r.getStart()))){const n=e.selection.getRng().startContainer,r=e.selection.getRng().endContainer;for(;t=o.get(Df);)uv(e,t,gv(t,n,r))}},hv=(e,t)=>(e.appendChild(t),t),bv=(e,t)=>{const n=G(e,(e,t)=>hv(e,t.cloneNode(!1)),t),o=n.ownerDocument??document;return hv(n,o.createTextNode(cv))},yv=e=>rr(e,or(e).replace(new RegExp(`${dt}$`)," ")),vv=(e,t)=>{const n=()=>{null===t||e.dom.isEmpty(t)||zn(un.fromDom(t)).each(e=>{An(e)?yv(e):dr(e,e=>An(e)).each(e=>{An(e)&&yv(e)})})};e.once("input",t=>{t.data&&!Kf(t.data)&&(t.isComposing?e.once("compositionend",()=>{n()}):n())})},Cv=(e,t,n,o)=>{const a=e.dom,i=e.selection;let l=!1;const c=e.formatter.get(t);if(!c)return;const d=i.getRng(),m=d.startContainer,u=d.startOffset;let f=m;ss(m)&&(u!==m.data.length&&(l=!0),f=f.parentNode);const g=[];let h;for(;f;){if(sv(e,f,t,n,o)){h=f;break}f.nextSibling&&(l=!0),g.push(f),f=f.parentNode}if(h)if(l){const r=i.getBookmark();d.collapse(!0);let s=Kg(a,d,c,{includeTrailingSpace:!0});s=Yp(s),e.formatter.remove(t,n,s,o),i.moveToBookmark(r)}else{const l=Of(e.getBody(),h),c=C(l)?a.getParents(h.parentNode,M,l):[],d=mv(!1).dom;((e,t,n)=>{const o=e.dom,r=o.getParent(n,D(ug,e.schema));r&&o.isEmpty(r)?n.parentNode?.replaceChild(t,n):((e=>{const t=Rr(e,"br"),n=Y((e=>{const t=[];let n=e.dom;for(;n;)t.push(un.fromDom(n)),n=n.lastChild;return t})(e).slice(-1),Mi);t.length===n.length&&q(n,Ro)})(un.fromDom(n)),o.isEmpty(n)?n.parentNode?.replaceChild(t,n):o.insertAfter(t,n))})(e,d,l??h);const m=((e,t,n,o,a,i)=>{const l=e.formatter,c=e.dom,d=Y(ge(l.get()),e=>e!==o&&!Xe(e,"removeformat")),m=((e,t,n)=>X(n,(n,o)=>{const r=((e,t)=>xg(e,t,e=>{const t=e=>w(e)||e.length>1&&"%"===e.charAt(0);return H(["styles","attributes"],n=>xe(e,n).exists(e=>{const n=p(e)?e:Ee(e);return H(n,t)}))}))(e,o);return e.formatter.matchNode(t,o,{},r)?n.concat([o]):n},[]))(e,n,d);if(Y(m,t=>!((e,t,n)=>{const o=["inline","block","selector","attributes","styles","classes"],a=e=>we(e,(e,t)=>H(o,e=>e===t));return xg(e,t,t=>{const o=a(t);return xg(e,n,e=>{const t=a(e);return((e,t,n=s)=>r(n).eq(e,t))(o,t)})})})(e,t,o)).length>0){const e=n.cloneNode(!1);return c.add(t,e),l.remove(o,a,e,i),c.remove(e),I.some(e)}return I.none()})(e,d,h,t,n,o),u=bv([...g,...m.toArray(),...c],d);l&&uv(e,l,C(l)),i.setCursorLocation(u,1),vv(e,d),a.isEmpty(h)&&a.remove(h)}},wv=e=>{const t=mv(!1),n=bv(e,t.dom);return{caretContainer:t,caretPosition:Kl(n,0)}},Sv=(e,t)=>{const{caretContainer:n,caretPosition:o}=wv(t);return mo(un.fromDom(e),n),Ro(un.fromDom(e)),o},Ev=(e,t)=>{if(Tf(t.dom))return!1;const n=e.schema.getTextInlineElements();return _e(n,En(t))&&!Tf(t.dom)&&!ts(t.dom)},xv=["fontWeight","fontStyle","color","fontSize","fontFamily"],_v=(e,t)=>{const n=e.get(t);return p(n)?Z(n,e=>Rg(e)&&"span"===e.inline&&(e=>f(e.styles)&&H(ge(e.styles),e=>$(xv,e)))(e)):I.none()},kv=(e,t)=>Nf(t,Kl.fromRangeStart(e)).isNone(),Nv=(e,t)=>!1===kf(t,Kl.fromRangeEnd(e)).exists(e=>!ms(e.getNode())||kf(t,e).isSome()),Rv=e=>t=>ws(t)&&e.isEditable(t),Av=(e,t)=>V(e.getSelectedBlocks(),(n,o)=>0===o&&t(n)?e.dom.getParent(n,ws)??n:n),Dv=e=>{const t=Qf(e);if(t.length>0){const e=ne(t,e=>Rr(e,"li"));return I.some(V(e,e=>e.dom))}return I.none()},Tv=e=>{const t=Dv(e).getOrThunk(()=>Av(e.selection,e=>!ws(e)));return Y(t,Rv(e.selection.dom))},Ov=dn.each,Bv=e=>Xr(e)&&!Vf(e)&&!Tf(e)&&!ts(e),Pv=(e,t)=>{for(let n=e;n;n=n[t]){if(ss(n)&&ot(n.data))return e;if(Xr(n)&&!Vf(n))return n}return e},Lv=(e,t,n)=>{const o=Hy(e),r=Qr(t)&&e.dom.isEditable(t),s=Qr(n)&&e.dom.isEditable(n);if(r&&s){const r=Pv(t,"previousSibling"),s=Pv(n,"nextSibling");if(o.compare(r,s)){for(let e=r.nextSibling;e&&e!==s;){const t=e;e=e.nextSibling,r.appendChild(t)}return e.dom.remove(s),dn.each(dn.grep(s.childNodes),e=>{r.appendChild(e)}),r}}return n},Mv=(e,t,n,o)=>{if(o&&!1!==t.merge_siblings){const t=Lv(e,mg(o),o)??o;Lv(e,t,mg(t,!0))}},Iv=(e,t,n)=>{Ov(e.childNodes,e=>{Bv(e)&&(t(e)&&n(e),e.hasChildNodes()&&Iv(e,t,n))})},Fv=(e,t)=>n=>!(!n||!wg(e,n,t)),Uv=(e,t,n)=>o=>{e.setStyle(o,t,n),""===o.getAttribute("style")&&o.removeAttribute("style"),((e,t)=>{"SPAN"===t.nodeName&&0===e.getAttribs(t).length&&e.remove(t,!0)})(e,o)},zv=Ne([{keep:[]},{rename:["name"]},{removed:[]}]),jv=/^(src|href|style)$/,$v=dn.each,Hv=vg,Vv=(e,t,n)=>e.isChildOf(t,n)&&t!==n&&!e.isBlock(n),qv=(e,t,n)=>{let o=t[n?"startContainer":"endContainer"],r=t[n?"startOffset":"endOffset"];if(Xr(o)){const e=o.childNodes.length-1;!n&&r&&r--,o=o.childNodes[r>e?e:r]}return ss(o)&&n&&r>=o.data.length&&(o=new Kr(o,e.getBody()).next()||o),ss(o)&&!n&&0===r&&(o=new Kr(o,e.getBody()).prev()||o),o},Wv=(e,t)=>{const n=t?"firstChild":"lastChild",o=e[n];return(e=>/^(TR|TH|TD)$/.test(e.nodeName))(e)&&o?"TR"===e.nodeName&&o[n]||o:e},Kv=(e,t,n,o)=>{const r=e.create(n,o);return t.parentNode?.insertBefore(r,t),r.appendChild(t),r},Yv=(e,t,n,o,r)=>{const s=un.fromDom(t),a=un.fromDom(e.create(o,r)),i=n?Hn(s):$n(s);return bo(a,i),n?(mo(s,a),fo(a,s)):(uo(s,a),go(a,s)),a.dom},Gv=(e,t,n)=>{const o=t.parentNode;let r;const s=e.dom,a=Ed(e);_g(n)&&o===s.getRoot()&&(n.list_block&&Hv(t,n.list_block)||q(me(t.childNodes),t=>{fg(e,a,t.nodeName.toLowerCase())?r?r.appendChild(t):(r=Kv(s,t,a),s.setAttribs(r,xd(e))):r=null})),(e=>Ng(e)&&Rg(e)&&ze(xe(e,"mixed"),!0))(n)&&!Hv(n.inline,t)||s.remove(t,!0)},Xv=(e,t,n)=>S(e)?{name:t,value:null}:{name:e,value:yg(t,n)},Qv=(e,t)=>{""===e.getAttrib(t,"style")&&(t.removeAttribute("style"),t.removeAttribute("data-mce-style"))},Zv=(e,t,n,o,r)=>{let s=!1;$v(n.styles,(a,i)=>{const{name:l,value:c}=Xv(i,a,o),d=Cg(c,l);(n.remove_similar||h(c)||!Xr(r)||Hv(wg(e,r,l),d))&&e.setStyle(t,l,""),s=!0}),s&&Qv(e,t)},Jv=(e,t,n,o,r)=>{const s=e.dom,a=Hy(e),i=e.schema;if(Rg(t)&&Xs(i,t.inline)&&Zs(i,o)&&o.parentElement===e.getBody())return Gv(e,o,t),zv.removed();if(!t.ceFalseOverride&&o&&"false"===s.getContentEditableParent(o))return zv.keep();if(o&&!ov(s,o,t)&&!((e,t)=>t.links&&"A"===e.nodeName)(o,t))return zv.keep();const l=o,c=t.preserve_attributes;if(Rg(t)&&"all"===t.remove&&p(c)){const e=Y(s.getAttribs(l),e=>$(c,e.name.toLowerCase()));if(s.removeAllAttribs(l),q(e,e=>s.setAttrib(l,e.name,e.value)),e.length>0)return zv.rename("span")}if("all"!==t.remove){Zv(s,l,t,n,r),$v(t.attributes,(e,o)=>{const{name:a,value:i}=Xv(o,e,n);if(t.remove_similar||h(i)||!Xr(r)||Hv(s.getAttrib(r,a),i)){if("class"===a){const e=s.getAttrib(l,a);if(e){let t="";if(q(e.split(/\s+/),e=>{/mce\-\w+/.test(e)&&(t+=(t?" ":"")+e)}),t)return void s.setAttrib(l,a,t)}}if(jv.test(a)&&l.removeAttribute("data-mce-"+a),"style"===a&&Jr(["li"])(l)&&"none"===s.getStyle(l,"list-style-type"))return l.removeAttribute(a),void s.setStyle(l,"list-style-type","none");"class"===a&&l.removeAttribute("className"),l.removeAttribute(a)}}),$v(t.classes,e=>{e=yg(e,n),Xr(r)&&!s.hasClass(r,e)||s.removeClass(l,e)});const e=s.getAttribs(l);for(let t=0;tJv(e,t,n,o,o).fold(N(o),t=>(e.dom.createFragment().appendChild(o),e.dom.rename(o,t)),N(null)),tC=(e,t,n,o,r)=>{(o||e.selection.isEditable())&&((e,t,n,o,r)=>{const s=e.formatter.get(t),a=s[0],i=e.dom,l=e.selection,c=o=>{const i=((e,t,n,o,r)=>{let s;return t.parentNode&&q(Eg(e.dom,t.parentNode).reverse(),t=>{if(!s&&Xr(t)&&"_start"!==t.id&&"_end"!==t.id){const a=sv(e,t,n,o,r);a&&!1!==a.split&&(s=t)}}),s})(e,o,t,n,r);return((e,t,n,o,r,s,a,i)=>{let l,c;const d=e.dom;if(n){const s=n.parentNode;for(let n=o.parentNode;n&&n!==s;n=n.parentNode){let o=d.clone(n,!1);for(let n=0;nH(s,o=>nC(e,o,n,t,t)),m=t=>{const n=me(t.childNodes),o=d(t)||H(s,e=>ov(i,t,e)),r=t.parentNode;if(!o&&C(r)&&Ag(a)&&d(r),a.deep&&n.length)for(let e=0;e{Xr(t)&&e.dom.getStyle(t,"text-decoration")===n&&t.parentNode&&Sg(i,t.parentNode)===n&&nC(e,{deep:!1,exact:!0,inline:"span",styles:{textDecoration:n}},void 0,t)})},u=e=>{const t=i.get(e?"_start":"_end");if(t){let n=t[e?"firstChild":"lastChild"];return(e=>Vf(e)&&Xr(e)&&("_start"===e.id||"_end"===e.id))(n)&&(n=n[e?"firstChild":"lastChild"]),ss(n)&&0===n.data.length&&(n=e?t.previousSibling||t.nextSibling:t.nextSibling||t.previousSibling),i.remove(t,!0),n}return null},f=t=>{let n,o,r=Kg(i,t,s,{includeTrailingSpace:t.collapsed});if(a.split){if(r=Yp(r),n=qv(e,r,!0),o=qv(e,r),n!==o){if(n=Wv(n,!0),o=Wv(o,!1),Vv(i,n,o)){const e=I.from(n.firstChild).getOr(n);return c(Yv(i,e,!0,"span",{id:"_start","data-mce-type":"bookmark"})),void u(!0)}if(Vv(i,o,n)){const e=I.from(o.lastChild).getOr(o);return c(Yv(i,e,!1,"span",{id:"_end","data-mce-type":"bookmark"})),void u(!1)}n=Kv(i,n,"span",{id:"_start","data-mce-type":"bookmark"}),o=Kv(i,o,"span",{id:"_end","data-mce-type":"bookmark"});const e=i.createRng();e.setStartAfter(n),e.setEndBefore(o),Yg(i,e,e=>{q(e,e=>{Vf(e)||Vf(e.parentNode)||c(e)})}),c(n),c(o),n=u(!0),o=u()}else n=o=c(n);r.startContainer=n.parentNode?n.parentNode:n,r.startOffset=i.nodeIndex(n),r.endContainer=o.parentNode?o.parentNode:o,r.endOffset=i.nodeIndex(o)+1}Yg(i,r,e=>{q(e,m)})};if(o){if(ig(o)){const e=i.createRng();e.setStartBefore(o),e.setEndAfter(o),f(e)}else f(o);rd(e,t,o,n)}else l.isCollapsed()&&Rg(a)&&!Qf(e).length?Cv(e,t,n,r):(cg(e,()=>rg(e,f),o=>Rg(a)&&lv(e,t,n,o)),e.nodeChanged()),((e,t,n)=>{"removeformat"===t?q(Tv(e),t=>{q(xv,n=>e.dom.setStyle(t,n,"")),Qv(e.dom,t)}):_v(e.formatter,t).each(t=>{q(Tv(e),o=>Zv(e.dom,o,t,n,null))})})(e,t,n),rd(e,t,o,n)})(e,t,n,o,r)},nC=(e,t,n,o,r)=>Jv(e,t,n,o,r).fold(L,t=>(e.dom.rename(o,t),!0),M),oC=["fontsize","subscript","superscript"],rC=["strikethrough",...oC],sC=(e,t)=>H(oC,n=>((e,t,n)=>C(e.matchNode(t.dom,n,{},"fontsize"===n)))(e,t,n)),aC=(e,t,n,o,r)=>{const s=t=>vn(un.fromDom(e.getRoot()),t)||e.isBlock(t.dom);q(t,t=>{((e,t,n,o,r)=>{const s=Fn(t,e).filter(Rn);return(a=s,i=n,ee(a,i).map(e=>e.i)).map(e=>{const t=s[e];return{container:t,innerWrapper:o(t),outerWrappers:[...r(To(t)).toArray(),...ne(s.slice(0,e),e=>n(e)?r(e).toArray():[To(e)])]}});var a,i})(s,t,n,o,r).each(({container:o,innerWrapper:s,outerWrappers:a})=>{e.split(o.dom,t.dom),((e,t,n,o)=>{q(Vn(e),e=>{Rn(e)&&n(e)&&o(e).isNone()&&Ao(e)}),q(Vn(e),e=>go(t,e)),fo(e,t)})(t,s,n,r),((e,t)=>{if(t.length>0){const n=t[t.length-1];mo(e,n);const o=X(t.slice(0,t.length-1),(e,t)=>(go(e,t),t),n);go(o,e)}})(t,a)})})},iC=(e,t,n)=>{const o=Xy(e.selection.getRng());aC(e.dom,n,n=>C(sv(e,n.dom,t)),n=>{const o=un.fromTag(En(n)),r=sv(e,n.dom,t,{});return C(r)&&(e=>!p(e.attributes)&&!p(e.styles))(r)&&Jy(e,o.dom,r),o},n=>{const o=sv(e,n.dom,t,{});return C(o)?((e,t,n,o)=>Jv(e,t,{},o).fold(()=>I.some(o),t=>I.some(e.dom.rename(o,t)),I.none))(e,o,0,n.dom).map(un.fromDom):I.some(n)}),e.selection.setRng(Qy(o))},lC=e=>["h1","h2","h3","h4","h5","h6"].includes(e.name),cC=(e,t,n,o)=>{const r=n.name;for(let t=0,s=e.length;t{const n=(e,n)=>{he(e,e=>{const o=me(e.nodes);q(e.filter.callbacks,r=>{for(let t=o.length-1;t>=0;t--){const r=o[t];(n?void 0!==r.attr(e.filter.name):r.name===e.filter.name)&&!v(r.parent)||o.splice(t,1)}o.length>0&&r(o,e.filter.name,t)})})};n(e.nodes,!1),n(e.attributes,!0)},mC=(e,t,n,o={})=>{const r=((e,t,n)=>{const o={nodes:{},attributes:{}};return n.firstChild&&((e,t)=>{let n=e;for(;n=n.walk();)t(n)})(n,n=>{cC(e,t,n,o)}),o})(e,t,n);dC(r,o)},uC=(e,t,n,o)=>{if((e.pad_empty_with_br||t.insert)&&n(o)){const e=new xh("br",1);t.insert&&e.attr("data-mce-bogus","1"),o.empty().append(e)}else o.empty().append(new xh("#text",3)).value=dt},fC=(e,t)=>{const n=e?.firstChild;return C(n)&&n===e.lastChild&&n.name===t},gC=(e,t,n,o)=>o.isEmpty(t,n,t=>((e,t)=>{const n=e.getElementRule(t.name);return!0===n?.paddEmpty})(e,t)),pC=e=>{let t;for(let n=e;n;n=n.parent){const e=n.attr("contenteditable");if("false"===e)break;"true"===e&&(t=n)}return I.from(t)},hC=(e,t,n=e.parent)=>{if(t.getSpecialElements()[e.name])e.empty().remove();else{const o=e.children();for(const e of o)n&&!t.isValidChild(n.name,e.name)&&hC(e,t,n);e.unwrap()}},bC=(e,t,n,o=x)=>{const r=t.getTextBlockElements(),s=t.getNonEmptyElements(),a=t.getWhitespaceElements(),i=dn.makeMap("tr,td,th,tbody,thead,tfoot,table,summary"),l=new Set,c=e=>e!==n&&!i[e.name];for(let n=0;n1)if(yC(t,i,d))hC(i,t);else{f.reverse(),m=f[0].clone(),o(m);let e=m;for(let n=0;n0?(u=f[n].clone(),o(u),e.append(u)):u=e;for(let e=f[n].firstChild;e&&e!==f[n+1];){const t=e.next;u.append(e),e=t}e=u}gC(t,s,a,m)?d.insert(i,f[0],!0):(d.insert(m,f[0],!0),d.insert(i,m)),d=f[0],(gC(t,s,a,d)||fC(d,"br"))&&d.empty().remove()}else if(i.parent){if("li"===i.name){let e=i.prev;if(e&&("ul"===e.name||"ol"===e.name)){e.append(i);continue}if(e=i.next,e&&("ul"===e.name||"ol"===e.name)&&e.firstChild){e.insert(i,e.firstChild,!0);continue}const t=new xh("ul",1);o(t),i.wrap(t);continue}if(t.isValidChild(i.parent.name,"div")&&t.isValidChild("div",i.name)){const e=new xh("div",1);o(e),i.wrap(e)}else hC(i,t)}}},yC=(e,t,n=t.parent)=>!(!n||(!e.children[t.name]||e.isValidChild(n.name,t.name))&&("a"!==t.name||!(e=>{let t=e;for(;t;){if("a"===t.name)return!0;t=t.parent}return!1})(n))&&(!(e=>"summary"===e.name)(n)||!lC(t)||n?.firstChild===t&&n?.lastChild===t)),vC=e=>e.collapsed?e:(e=>{const t=Kl.fromRangeStart(e),n=Kl.fromRangeEnd(e),o=e.commonAncestorContainer;return Sf(!1,o,n).map(r=>!Yu(t,n,o)&&Yu(t,r,o)?((e,t,n,o)=>{const r=document.createRange();return r.setStart(e,t),r.setEnd(n,o),r})(t.container(),t.offset(),r.container(),r.offset()):e).getOr(e)})(e),CC=dn.explode,wC=()=>{const e={};return{addFilter:(t,n)=>{q(CC(t),t=>{_e(e,t)||(e[t]={name:t,callbacks:[]}),e[t].callbacks.push(n)})},getFilters:()=>Ee(e),removeFilter:(t,n)=>{q(CC(t),t=>{if(_e(e,t))if(C(n)){const o=e[t],r=Y(o.callbacks,e=>e!==n);r.length>0?o.callbacks=r:delete e[t]}else delete e[t]})}}},SC=e=>e.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&"),EC=(e,t,n)=>{const o=Ga();t.convert_fonts_to_spans&&((e,t,n)=>{e.addNodeFilter("font",e=>{q(e,e=>{const o=t.parse(e.attr("style")),r=e.attr("color"),s=e.attr("face"),a=e.attr("size");r&&(o.color=r),s&&(o["font-family"]=s),a&&st(a).each(e=>{o["font-size"]=n[e-1]}),e.name="span",e.attr("style",t.serialize(o)),(e=>{q(["color","face","size"],t=>{e.attr(t,null)})})(e)})})})(e,o,dn.explode(t.font_size_legacy_values??"")),((e,t,n)=>{e.addNodeFilter("strike",e=>{const o="html4"!==t.type;q(e,e=>{if(o)e.name="s";else{const t=n.parse(e.attr("style"));t["text-decoration"]="line-through",e.name="span",e.attr("style",n.serialize(t))}})})})(e,n,o)},xC=e=>{const[t,...n]=e.split(","),o=n.join(","),r=/data:([^/]+\/[^;]+)(;.+)?/.exec(t);if(r){const e=";base64"===r[2],t=(e=>{try{return decodeURIComponent(e)}catch{return e}})(o),n=e?(e=>{const t=/([a-z0-9+\/=\s]+)/i.exec(e);return t?t[1]:""})(t):t;return I.some({type:r[1],data:n,base64Encoded:e})}return I.none()},_C=(e,t,n=!0)=>{let o=t;if(n)try{o=atob(t)}catch{return I.none()}const r=new Uint8Array(o.length);for(let e=0;enew Promise((t,n)=>{const o=new FileReader;o.onloadend=()=>{t(o.result)},o.onerror=()=>{n(o.error?.message)},o.readAsDataURL(e)});let NC=0;const RC=(e,t,n)=>xC(e).bind(({data:e,type:o,base64Encoded:r})=>{if(t&&!r)return I.none();{const t=r?e:btoa((s=e,X((new window.TextEncoder).encode(s),(e,t)=>e+String.fromCharCode(t),"")));return n(t,o)}var s}),AC=(e,t,n)=>{const o=e.create("blobid"+NC++,t,n);return e.add(o),o},DC=(e,t,n=!1)=>RC(t,n,(t,n)=>I.from(e.getByData(t,n)).orThunk(()=>_C(n,t).map(n=>AC(e,n,t)))),TC=/^(?:(?:(?:[A-Za-z][A-Za-z\d.+-]{0,14}:\/\/(?:[-.~*+=!&;:'%@?^${}(),\w]+@)?|www\.|[-;:&=+$,.\w]+@)([A-Za-z\d-]+(?:\.[A-Za-z\d-]+)*))(?::\d+)?(?:\/(?:[-.~*+=!;:'%@$(),\/\w]*[-~*+=%@$()\/\w])?)?(?:\?(?:[-.~*+=!&;:'%@?^${}(),\/\w]+)?)?(?:#(?:[-.~*+=!&;:'%@?^${}(),\/\w]+)?)?)$/,OC=e=>I.from(e.match(TC)).bind(e=>le(e,1)).map(e=>Qe(e,"www.")?e.substring(4):e),BC=(e,t)=>{I.from(e.attr("src")).bind(OC).forall(e=>!$(t,e))&&e.attr("sandbox","")},PC=(e,t)=>Qe(e,`${t}/`); +!function(){"use strict";var e=function(e){if(null===e)return"null";if(void 0===e)return"undefined";var t=typeof e;return"object"===t&&(Array.prototype.isPrototypeOf(e)||e.constructor&&"Array"===e.constructor.name)?"array":"object"===t&&(String.prototype.isPrototypeOf(e)||e.constructor&&"String"===e.constructor.name)?"string":t},t=function(e){return{eq:e}},n=t(function(e,t){return e===t}),o=function(e){return t(function(t,n){if(t.length!==n.length)return!1;for(var o=t.length,r=0;r!!n(e,t.prototype)||e.constructor?.name===t.name,l=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&i(e,String,(e,t)=>t.isPrototypeOf(e))?"string":t})(t)===e,c=e=>t=>typeof t===e,d=e=>t=>e===t,m=(e,t)=>f(e)&&i(e,t,(e,t)=>a(e)===t),u=l("string"),f=l("object"),g=e=>m(e,Object),p=l("array"),h=d(null),b=c("boolean"),y=d(void 0),v=e=>null==e,C=e=>!v(e),w=c("function"),S=c("number"),E=(e,t)=>{if(p(e)){for(let n=0,o=e.length;n{},k=(e,t)=>(...n)=>e(t.apply(null,n)),_=(e,t)=>n=>e(t(n)),N=e=>()=>e,A=e=>e,R=(e,t)=>e===t;function D(e,...t){return(...n)=>{const o=t.concat(n);return e.apply(null,o)}}const T=e=>t=>!e(t),O=e=>()=>{throw new Error(e)},B=e=>e(),P=e=>{e()},L=N(!1),M=N(!0);class I{tag;value;static singletonNone=new I(!1);constructor(e,t){this.tag=e,this.value=t}static some(e){return new I(!0,e)}static none(){return I.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?I.some(e(this.value)):I.none()}bind(e){return this.tag?e(this.value):I.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:I.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(e??"Called getOrDie on None")}static from(e){return C(e)?I.some(e):I.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}const F=Array.prototype.slice,U=Array.prototype.indexOf,z=Array.prototype.push,j=(e,t)=>U.call(e,t),$=(e,t)=>j(e,t)>-1,H=(e,t)=>{for(let n=0,o=e.length;n{const n=e.length,o=new Array(n);for(let r=0;r{for(let n=0,o=e.length;n{for(let n=e.length-1;n>=0;n--)t(e[n],n)},K=(e,t)=>{const n=[],o=[];for(let r=0,s=e.length;r{const n=[];for(let o=0,r=e.length;o(W(e,(e,o)=>{n=t(n,e,o)}),n),X=(e,t,n)=>(q(e,(e,o)=>{n=t(n,e,o)}),n),Q=(e,t,n)=>{for(let o=0,r=e.length;oQ(e,t,L),J=(e,t)=>{for(let n=0,o=e.length;n{for(let n=e.length-1;n>=0;n--)if(t(e[n],n))return I.some({v:e[n],i:n});return I.none()},te=e=>{const t=[];for(let n=0,o=e.length;nte(V(e,t)),oe=(e,t)=>{for(let n=0,o=e.length;n{const t=F.call(e,0);return t.reverse(),t},se=(e,t)=>Y(e,e=>!$(t,e)),ae=(e,t)=>{const n={};for(let o=0,r=e.length;o{const n=F.call(e,0);return n.sort(t),n},le=(e,t)=>t>=0&&tle(e,0),de=e=>le(e,e.length-1),me=w(Array.from)?Array.from:e=>F.call(e),ue=(e,t)=>{for(let n=0;n{const n=[],o=w(t)?e=>H(n,n=>t(n,e)):e=>$(n,e);for(let t=0,r=e.length;t{const n=ge(e);for(let o=0,r=n.length;oye(e,(e,n)=>({k:n,v:t(e,n)})),ye=(e,t)=>{const n={};return he(e,(e,o)=>{const r=t(e,o);n[r.k]=r.v}),n},ve=e=>(t,n)=>{e[n]=t},Ce=(e,t,n,o)=>{he(e,(e,r)=>{(t(e,r)?n:o)(e,r)})},we=(e,t)=>{const n={};return Ce(e,t,ve(n),x),n},Se=(e,t)=>{const n=[];return he(e,(e,o)=>{n.push(t(e,o))}),n},Ee=e=>Se(e,A),xe=(e,t)=>ke(e,t)?I.from(e[t]):I.none(),ke=(e,t)=>pe.call(e,t),_e=(e,t)=>ke(e,t)&&void 0!==e[t]&&null!==e[t],Ne=e=>{if(!p(e))throw new Error("cases must be an array");if(0===e.length)throw new Error("there must be at least one case");const t=[],n={};return q(e,(o,r)=>{const s=ge(o);if(1!==s.length)throw new Error("one and only one name per case");const a=s[0],i=o[a];if(void 0!==n[a])throw new Error("duplicate key detected:"+a);if("cata"===a)throw new Error("cannot have a case named cata (sorry)");if(!p(i))throw new Error("case arguments must be an array");t.push(a),n[a]=(...n)=>{const o=n.length;if(o!==i.length)throw new Error("Wrong number of arguments to case "+a+". Expected "+i.length+" ("+i+"), got "+o);return{fold:(...t)=>{if(t.length!==e.length)throw new Error("Wrong number of arguments to fold. Expected "+e.length+", got "+t.length);return t[r].apply(null,n)},match:e=>{const o=ge(e);if(t.length!==o.length)throw new Error("Wrong number of arguments to match. Expected: "+t.join(",")+"\nActual: "+o.join(","));if(!oe(t,e=>$(o,e)))throw new Error("Not all branches were specified when using match. Specified: "+o.join(", ")+"\nRequired: "+t.join(", "));return e[a].apply(null,n)},log:e=>{console.log(e,{constructors:t,constructor:a,params:n})}}}}),n},Ae=e=>{let t=e;return{get:()=>t,set:e=>{t=e}}},Re=e=>{const t=t=>t(e),n=N(e),o=()=>r,r={tag:!0,inner:e,fold:(t,n)=>n(e),isValue:M,isError:L,map:t=>Te.value(t(e)),mapError:o,bind:t,exists:t,forall:t,getOr:n,or:o,getOrThunk:n,orThunk:o,getOrDie:n,each:t=>{t(e)},toOptional:()=>I.some(e)};return r},De=e=>{const t=()=>n,n={tag:!1,inner:e,fold:(t,n)=>t(e),isValue:L,isError:M,map:t,mapError:t=>Te.error(t(e)),bind:t,exists:L,forall:M,getOr:A,or:A,getOrThunk:B,orThunk:B,getOrDie:O(String(e)),each:x,toOptional:I.none};return n},Te={value:Re,error:De,fromOption:(e,t)=>e.fold(()=>De(t),Re)},Oe="undefined"!=typeof window?window:Function("return this;")(),Be=()=>window.crypto.getRandomValues(new Uint32Array(1))[0]/4294967295;let Pe=0;const Le=e=>{const t=(new Date).getTime(),n=Math.floor(1e9*Be());return Pe++,e+"_"+n+Pe+String(t)},Me=()=>window.isSecureContext?window.crypto.randomUUID():(()=>{const e=(()=>{const e=window.crypto.getRandomValues(new Uint8Array(16));return e[6]=15&e[6]|64,e[8]=63&e[8]|128,e})(),t=(t,n)=>{let o="";for(let r=t;r<=n;++r)o+=e[r].toString(16).padStart(2,"0");return o};return`${t(0,3)}-${t(4,5)}-${t(6,7)}-${t(8,9)}-${t(10,15)}`})(),Ie=e=>(...t)=>{if(0===t.length)throw new Error("Can't merge zero objects");const n={};for(let o=0;og(e)&&g(t)?Fe(e,t):t),Ue=Ie((e,t)=>t),ze=(e,t,n=R)=>e.exists(e=>n(e,t)),je=(e,t,n=R)=>$e(e,t,n).getOr(e.isNone()&&t.isNone()),$e=(e,t,n)=>e.isSome()&&t.isSome()?I.some(n(e.getOrDie(),t.getOrDie())):I.none(),He=(e,t)=>e?I.some(t):I.none(),Ve=(e,t)=>((e,t)=>{let n=null!=t?t:Oe;for(let t=0;t{const t=[],n=[];return q(e,e=>{e.fold(e=>{t.push(e)},e=>{n.push(e)})}),{errors:t,values:n}},We=e=>{const t=Ae(I.none()),n=()=>t.get().each(e=>clearInterval(e));return{clear:()=>{n(),t.set(I.none())},isSet:()=>t.get().isSome(),get:()=>t.get(),set:o=>{n(),t.set(I.some(setInterval(o,e)))}}},Ke=()=>{const e=(e=>{const t=Ae(I.none()),n=()=>t.get().each(e);return{clear:()=>{n(),t.set(I.none())},isSet:()=>t.get().isSome(),get:()=>t.get(),set:e=>{n(),t.set(I.some(e))}}})(x);return{...e,on:t=>e.get().each(t)}},Ye=(e,t,n)=>""===t||e.length>=t.length&&e.substr(n,n+t.length)===t,Ge=(e,t)=>Qe(e,t)?((e,t)=>e.substring(t))(e,t.length):e,Xe=(e,t,n=0,o)=>{const r=e.indexOf(t,n);return-1!==r&&(!!y(o)||r+t.length<=o)},Qe=(e,t)=>Ye(e,t,0),Ze=(e,t)=>Ye(e,t,e.length-t.length),Je=e=>t=>t.replace(e,""),et=Je(/^\s+|\s+$/g),tt=Je(/^\s+/g),nt=Je(/\s+$/g),ot=e=>e.length>0,rt=e=>!ot(e),st=(e,t=10)=>{const n=parseInt(e,t);return isNaN(n)?I.none():I.some(n)},at=(e,t)=>{let n=null;return{cancel:()=>{h(n)||(clearTimeout(n),n=null)},throttle:(...o)=>{h(n)&&(n=setTimeout(()=>{n=null,e.apply(null,o)},t))}}},it=(e,t)=>{let n=null;const o=()=>{h(n)||(clearTimeout(n),n=null)};return{cancel:o,throttle:(...r)=>{o(),n=setTimeout(()=>{n=null,e.apply(null,r)},t)}}},lt=e=>{let t,n=!1;return(...o)=>(n||(n=!0,t=e.apply(null,o)),t)},ct="\ufeff",dt="\xa0",mt=e=>e===ct,ut=e=>{const t={};return q(e,e=>{t[e]={}}),ge(t)},ft=e=>void 0!==e.length,gt=Array.isArray,pt=(e,t,n)=>{if(!e)return!1;if(n=n||e,ft(e)){for(let o=0,r=e.length;o{const n=[];return pt(e,(o,r)=>{n.push(t(o,r,e))}),n},bt=(e,t)=>{const n=[];return pt(e,(o,r)=>{t&&!t(o,r,e)||n.push(o)}),n},yt=(e,t,n,o)=>{let r=y(n)?e[0]:n;for(let n=0;n{for(let o=0,r=e.length;oe[e.length-1],wt=()=>St(0,0),St=(e,t)=>({major:e,minor:t}),Et={nu:St,detect:(e,t)=>{const n=String(t).toLowerCase();return 0===e.length?wt():((e,t)=>{const n=((e,t)=>{for(let n=0;nNumber(t.replace(n,"$"+e));return St(o(1),o(2))})(e,n)},unknown:wt},xt=(e,t)=>{const n=String(t).toLowerCase();return Z(e,e=>e.search(n))},kt=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,_t=e=>t=>Xe(t,e),Nt=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:e=>Xe(e,"edge/")&&Xe(e,"chrome")&&Xe(e,"safari")&&Xe(e,"applewebkit")},{name:"Chromium",brand:"Chromium",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,kt],search:e=>Xe(e,"chrome")&&!Xe(e,"chromeframe")},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:e=>Xe(e,"msie")||Xe(e,"trident")},{name:"Opera",versionRegexes:[kt,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:_t("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:_t("firefox")},{name:"Safari",versionRegexes:[kt,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:e=>(Xe(e,"safari")||Xe(e,"mobile/"))&&Xe(e,"applewebkit")}],At=[{name:"Windows",search:_t("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:e=>Xe(e,"iphone")||Xe(e,"ipad"),versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:_t("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"macOS",search:_t("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:_t("linux"),versionRegexes:[]},{name:"Solaris",search:_t("sunos"),versionRegexes:[]},{name:"FreeBSD",search:_t("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:_t("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}],Rt={browsers:N(Nt),oses:N(At)},Dt="Edge",Tt="Chromium",Ot="Opera",Bt="Firefox",Pt="Safari",Lt=e=>{const t=e.current,n=e.version,o=e=>()=>t===e;return{current:t,version:n,isEdge:o(Dt),isChromium:o(Tt),isIE:o("IE"),isOpera:o(Ot),isFirefox:o(Bt),isSafari:o(Pt)}},Mt=()=>Lt({current:void 0,version:Et.unknown()}),It=Lt,Ft=(N(Dt),N(Tt),N("IE"),N(Ot),N(Bt),N(Pt),"Windows"),Ut="Android",zt="Linux",jt="macOS",$t="Solaris",Ht="FreeBSD",Vt="ChromeOS",qt=e=>{const t=e.current,n=e.version,o=e=>()=>t===e;return{current:t,version:n,isWindows:o(Ft),isiOS:o("iOS"),isAndroid:o(Ut),isMacOS:o(jt),isLinux:o(zt),isSolaris:o($t),isFreeBSD:o(Ht),isChromeOS:o(Vt)}},Wt=()=>qt({current:void 0,version:Et.unknown()}),Kt=qt,Yt=(N(Ft),N("iOS"),N(Ut),N(zt),N(jt),N($t),N(Ht),N(Vt),e=>window.matchMedia(e).matches);let Gt=lt(()=>((e,t,n)=>{const o=Rt.browsers(),r=Rt.oses(),s=t.bind(e=>((e,t)=>ue(t.brands,t=>{const n=t.brand.toLowerCase();return Z(e,e=>n===e.brand?.toLowerCase()).map(e=>({current:e.name,version:Et.nu(parseInt(t.version,10),0)}))}))(o,e)).orThunk(()=>((e,t)=>xt(e,t).map(e=>{const n=Et.detect(e.versionRegexes,t);return{current:e.name,version:n}}))(o,e)).fold(Mt,It),a=((e,t)=>xt(e,t).map(e=>{const n=Et.detect(e.versionRegexes,t);return{current:e.name,version:n}}))(r,e).fold(Wt,Kt),i=((e,t,n,o)=>{const r=e.isiOS()&&!0===/ipad/i.test(n),s=e.isiOS()&&!r,a=e.isiOS()||e.isAndroid(),i=a||o("(pointer:coarse)"),l=r||!s&&a&&o("(min-device-width:768px)"),c=s||a&&!l,d=t.isSafari()&&e.isiOS()&&!1===/safari/i.test(n),m=!c&&!l&&!d;return{isiPad:N(r),isiPhone:N(s),isTablet:N(l),isPhone:N(c),isTouch:N(i),isAndroid:e.isAndroid,isiOS:e.isiOS,isWebView:N(d),isDesktop:N(m)}})(a,s,e,n);return{browser:s,os:a,deviceType:i}})(window.navigator.userAgent,I.from(window.navigator.userAgentData),Yt));const Xt=()=>Gt(),Qt=Object.getPrototypeOf,Zt=e=>{const t=Ve("ownerDocument.defaultView",e);return f(e)&&((e=>((e,t)=>{const n=((e,t)=>Ve(e,t))(e,t);if(null==n)throw new Error(e+" not available on this browser");return n})("HTMLElement",e))(t).prototype.isPrototypeOf(e)||/^HTML\w*Element$/.test(Qt(e).constructor.name))},Jt=window.navigator.userAgent,en=Xt(),tn=en.browser,nn=en.os,on=en.deviceType,rn=-1!==Jt.indexOf("Windows Phone"),sn={transparentSrc:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",documentMode:tn.isIE()?document.documentMode||7:10,cacheSuffix:null,container:null,canHaveCSP:!tn.isIE(),windowsPhone:rn,browser:{current:tn.current,version:tn.version,isChromium:tn.isChromium,isEdge:tn.isEdge,isFirefox:tn.isFirefox,isIE:tn.isIE,isOpera:tn.isOpera,isSafari:tn.isSafari},os:{current:nn.current,version:nn.version,isAndroid:nn.isAndroid,isChromeOS:nn.isChromeOS,isFreeBSD:nn.isFreeBSD,isiOS:nn.isiOS,isLinux:nn.isLinux,isMacOS:nn.isMacOS,isSolaris:nn.isSolaris,isWindows:nn.isWindows},deviceType:{isDesktop:on.isDesktop,isiPad:on.isiPad,isiPhone:on.isiPhone,isPhone:on.isPhone,isTablet:on.isTablet,isTouch:on.isTouch,isWebView:on.isWebView}},an=/^\s*|\s*$/g,ln=e=>v(e)?"":(""+e).replace(an,""),cn=function(e,t,n,o){o=o||this,e&&(n&&(e=e[n]),pt(e,(e,r)=>!1!==t.call(o,e,r,n)&&(cn(e,t,n,o),!0)))},dn={trim:ln,isArray:gt,is:(e,t)=>t?!("array"!==t||!gt(e))||typeof e===t:void 0!==e,toArray:e=>{if(gt(e))return e;{const t=[];for(let n=0,o=e.length;n{const o=u(e)?e.split(t||","):e||[];let r=o.length;for(;r--;)n[o[r]]={};return n},each:pt,map:ht,grep:bt,inArray:(e,t)=>{if(e)for(let n=0,o=e.length;n{for(let n=0;n{const n=e.split(".");for(let e=0,o=n.length;ep(e)?e:""===e?[]:ht(e.split(t||","),ln),_addCacheSuffix:e=>{const t=sn.cacheSuffix;return t&&(e+=(-1===e.indexOf("?")?"?":"&")+t),e}},mn=e=>{if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},un={fromHtml:(e,t)=>{const n=(t||document).createElement("div");if(n.innerHTML=e,!n.hasChildNodes()||n.childNodes.length>1){const t="HTML does not have a single root node";throw console.error(t,e),new Error(t)}return mn(n.childNodes[0])},fromTag:(e,t)=>{const n=(t||document).createElement(e);return mn(n)},fromText:(e,t)=>{const n=(t||document).createTextNode(e);return mn(n)},fromDom:mn,fromPoint:(e,t,n)=>I.from(e.dom.elementFromPoint(t,n)).map(mn)},fn=(e,t,n)=>{const o=e.document.createRange();var r;return r=o,t.fold(e=>{r.setStartBefore(e.dom)},(e,t)=>{r.setStart(e.dom,t)},e=>{r.setStartAfter(e.dom)}),((e,t)=>{t.fold(t=>{e.setEndBefore(t.dom)},(t,n)=>{e.setEnd(t.dom,n)},t=>{e.setEndAfter(t.dom)})})(o,n),o},gn=(e,t,n,o,r)=>{const s=e.document.createRange();return s.setStart(t.dom,n),s.setEnd(o.dom,r),s},pn=Ne([{ltr:["start","soffset","finish","foffset"]},{rtl:["start","soffset","finish","foffset"]}]),hn=(e,t,n)=>t(un.fromDom(n.startContainer),n.startOffset,un.fromDom(n.endContainer),n.endOffset);pn.ltr,pn.rtl;const bn=(e,t)=>{const n=e.dom;if(1!==n.nodeType)return!1;{const e=n;if(void 0!==e.matches)return e.matches(t);if(void 0!==e.msMatchesSelector)return e.msMatchesSelector(t);if(void 0!==e.webkitMatchesSelector)return e.webkitMatchesSelector(t);if(void 0!==e.mozMatchesSelector)return e.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")}},yn=e=>1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType||0===e.childElementCount,vn=(e,t)=>e.dom===t.dom,Cn=(e,t)=>{const n=e.dom,o=t.dom;return n!==o&&n.contains(o)},wn=bn,Sn=(e,t)=>{const n=[],o=e=>(n.push(e),t(e));let r=t(e);do{r=r.bind(o)}while(r.isSome());return n},En=e=>e.dom.nodeName.toLowerCase(),xn=e=>e.dom.nodeType,kn=e=>t=>xn(t)===e,_n=e=>8===xn(e)||"#comment"===En(e),Nn=e=>An(e)&&Zt(e.dom),An=kn(1),Rn=kn(3),Dn=kn(9),Tn=kn(11),On=e=>t=>An(t)&&En(t)===e,Bn=e=>un.fromDom(e.dom.ownerDocument),Pn=e=>Dn(e)?e:Bn(e),Ln=e=>un.fromDom(Pn(e).dom.defaultView),Mn=e=>I.from(e.dom.parentNode).map(un.fromDom),In=e=>I.from(e.dom.parentElement).map(un.fromDom),Fn=(e,t)=>{const n=w(t)?t:L;let o=e.dom;const r=[];for(;null!==o.parentNode&&void 0!==o.parentNode;){const e=o.parentNode,t=un.fromDom(e);if(r.push(t),!0===n(t))break;o=e}return r},Un=e=>Mn(e).map(Vn).map(t=>Y(t,t=>!vn(e,t))).getOr([]),zn=e=>I.from(e.dom.previousSibling).map(un.fromDom),jn=e=>I.from(e.dom.nextSibling).map(un.fromDom),$n=e=>re(Sn(e,zn)),Hn=e=>Sn(e,jn),Vn=e=>V(e.dom.childNodes,un.fromDom),qn=(e,t)=>{const n=e.dom.childNodes;return I.from(n[t]).map(un.fromDom)},Wn=e=>qn(e,0),Kn=e=>qn(e,e.dom.childNodes.length-1),Yn=e=>e.dom.childNodes.length,Gn=e=>{const t=e.dom.head;if(null==t)throw new Error("Head is not available yet");return un.fromDom(t)},Xn=e=>Tn(e)&&C(e.dom.host),Qn=e=>un.fromDom(e.dom.getRootNode()),Zn=e=>Xn(e)?e:Gn(Pn(e)),Jn=e=>un.fromDom(e.dom.host),eo=e=>{if(C(e.target)){const t=un.fromDom(e.target);if(An(t)&&to(t)&&e.composed&&e.composedPath){const t=e.composedPath();if(t)return ce(t)}}return I.from(e.target)},to=e=>C(e.dom.shadowRoot),no=(e,t,n,o)=>((e,t,n,o,r)=>{const s=((e,t)=>n=>{e(n)&&t((e=>{const t=un.fromDom(eo(e).getOr(e.target)),n=()=>e.stopPropagation(),o=()=>e.preventDefault(),r=k(o,n);return((e,t,n,o,r,s,a)=>({target:e,x:t,y:n,stop:o,prevent:r,kill:s,raw:a}))(t,e.clientX,e.clientY,n,o,r,e)})(n))})(n,o);return e.dom.addEventListener(t,s,r),{unbind:D(oo,e,t,s,r)}})(e,t,n,o,!1),oo=(e,t,n,o)=>{e.dom.removeEventListener(t,n,o)},ro=M,so=(e,t,n)=>no(e,t,ro,n),ao=()=>un.fromDom(document),io=(e,t=!1)=>e.dom.focus({preventScroll:t}),lo=e=>{const t=Qn(e).dom;return e.dom===t.activeElement},co=(e=ao())=>I.from(e.dom.activeElement).map(un.fromDom),mo=(e,t)=>{Mn(e).each(n=>{n.dom.insertBefore(t.dom,e.dom)})},uo=(e,t)=>{jn(e).fold(()=>{Mn(e).each(e=>{go(e,t)})},e=>{mo(e,t)})},fo=(e,t)=>{Wn(e).fold(()=>{go(e,t)},n=>{e.dom.insertBefore(t.dom,n.dom)})},go=(e,t)=>{e.dom.appendChild(t.dom)},po=(e,t)=>{mo(e,t),go(t,e)},ho=(e,t)=>{q(t,(n,o)=>{const r=0===o?e:t[o-1];uo(r,n)})},bo=(e,t)=>{q(t,t=>{go(e,t)})},yo=(e,t,n)=>{if(!(u(n)||b(n)||S(n)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",n,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,n+"")},vo=(e,t,n)=>{yo(e.dom,t,n)},Co=(e,t)=>{const n=e.dom;he(t,(e,t)=>{yo(n,t,e)})},wo=(e,t)=>{const n=e.dom.getAttribute(t);return null===n?void 0:n},So=(e,t)=>I.from(wo(e,t)),Eo=(e,t)=>{const n=e.dom;return!(!n||!n.hasAttribute)&&n.hasAttribute(t)},xo=(e,t)=>{e.dom.removeAttribute(t)},ko=e=>{const t=e.dom.attributes;return null==t||0===t.length},_o=e=>X(e.dom.attributes,(e,t)=>(e[t.name]=t.value,e),{}),No=e=>{e.dom.textContent="",q(Vn(e),e=>{Ao(e)})},Ao=e=>{const t=e.dom;null!==t.parentNode&&t.parentNode.removeChild(t)},Ro=e=>{const t=Vn(e);t.length>0&&ho(e,t),Ao(e)},Do=(e,t)=>un.fromDom(e.dom.cloneNode(t)),To=e=>Do(e,!1),Oo=e=>Do(e,!0),Bo=(e,t)=>{const n=((e,t)=>{const n=un.fromTag(t),o=_o(e);return Co(n,o),n})(e,t);uo(e,n);const o=Vn(e);return bo(n,o),Ao(e),n},Po=e=>V(e,un.fromDom),Lo=e=>e.dom.innerHTML,Mo=(e,t)=>{const n=Bn(e).dom,o=un.fromDom(n.createDocumentFragment()),r=((e,t)=>{const n=(t||document).createElement("div");return n.innerHTML=e,Vn(un.fromDom(n))})(t,n);bo(o,r),No(e),go(e,o)},Io=e=>void 0!==e.style&&w(e.style.getPropertyValue),Fo=e=>{const t=Rn(e)?e.dom.parentNode:e.dom;if(null==t||null===t.ownerDocument)return!1;const n=t.ownerDocument;return(e=>{const t=Qn(e);return Xn(t)?I.some(t):I.none()})(un.fromDom(t)).fold(()=>n.body.contains(t),_(Fo,Jn))},Uo=(e,t,n)=>{if(!u(n))throw console.error("Invalid call to CSS.set. Property ",t,":: Value ",n,":: Element ",e),new Error("CSS value must be a string: "+n);Io(e)&&e.style.setProperty(t,n)},zo=(e,t,n)=>{const o=e.dom;Uo(o,t,n)},jo=(e,t)=>{const n=e.dom;he(t,(e,t)=>{Uo(n,t,e)})},$o=(e,t)=>{const n=e.dom,o=window.getComputedStyle(n).getPropertyValue(t);return""!==o||Fo(e)?o:Ho(n,t)},Ho=(e,t)=>Io(e)?e.style.getPropertyValue(t):"",Vo=(e,t)=>{const n=e.dom,o=Ho(n,t);return I.from(o).filter(e=>e.length>0)},qo=e=>{const t={},n=e.dom;if(Io(n))for(let e=0;e{((e,t)=>{Io(e)&&e.style.removeProperty(t)})(e.dom,t),ze(So(e,"style").map(et),"")&&xo(e,"style")},Ko=(e=>{const t=t=>{const n=(e=>{const t=e.dom;return Fo(e)?t.getBoundingClientRect().height:t.offsetHeight})(t);if(n<=0||null===n){const n=$o(t,e);return parseFloat(n)||0}return n},n=(e,t)=>X(t,(t,n)=>{const o=$o(e,n),r=void 0===o?0:parseInt(o,10);return isNaN(r)?t:t+r},0);return{set:(t,n)=>{if(!S(n)&&!n.match(/^[0-9]+$/))throw new Error(e+".set accepts only positive integer values. Value was "+n);const o=t.dom;Io(o)&&(o.style[e]=n+"px")},get:t,getOuter:t,aggregate:n,max:(e,t,o)=>{const r=n(e,o);return t>r?t-r:0}}})("height"),Yo=(e,t)=>({left:e,top:t,translate:(n,o)=>Yo(e+n,t+o)}),Go=Yo,Xo=(e,t)=>void 0!==e?e:void 0!==t?t:0,Qo=e=>{const t=e.dom,n=t.ownerDocument.body;return n===t?Go(n.offsetLeft,n.offsetTop):Fo(e)?(e=>{const t=e.getBoundingClientRect();return Go(t.left,t.top)})(t):Go(0,0)},Zo=e=>{const t=void 0!==e?e.dom:document,n=t.body.scrollLeft||t.documentElement.scrollLeft,o=t.body.scrollTop||t.documentElement.scrollTop;return Go(n,o)},Jo=(e,t,n)=>{const o=(void 0!==n?n.dom:document).defaultView;o&&o.scrollTo(e,t)},er=(e,t)=>{Xt().browser.isSafari()&&w(e.dom.scrollIntoViewIfNeeded)?e.dom.scrollIntoViewIfNeeded(!1):e.dom.scrollIntoView(t)},tr=(e,t)=>{const n=(t||document).createDocumentFragment();return q(e,e=>{n.appendChild(e.dom)}),un.fromDom(n)},nr=(e=>{const t=t=>e(t)?I.from(t.dom.nodeValue):I.none();return{get:n=>{if(!e(n))throw new Error("Can only get text value of a text node");return t(n).getOr("")},getOption:t,set:(t,n)=>{if(!e(t))throw new Error("Can only set raw text value of a text node");t.dom.nodeValue=n}}})(Rn),or=e=>nr.get(e),rr=(e,t)=>nr.set(e,t),sr=(e,t)=>{const n=wo(e,t);return void 0===n||""===n?[]:n.split(" ")};var ar=(e,t,n,o,r)=>e(n,o)?I.some(n):w(r)&&r(n)?I.none():t(n,o,r);const ir=(e,t,n)=>{let o=e.dom;const r=w(n)?n:L;for(;o.parentNode;){o=o.parentNode;const e=un.fromDom(o);if(t(e))return I.some(e);if(r(e))break}return I.none()},lr=(e,t,n)=>ar((e,t)=>t(e),ir,e,t,n),cr=(e,t)=>Z(e.dom.childNodes,e=>t(un.fromDom(e))).map(un.fromDom),dr=(e,t)=>{const n=e=>{for(let o=0;oir(e,e=>bn(e,t),n),ur=(e,t)=>((e,t)=>{const n=void 0===t?document:t.dom;return yn(n)?I.none():I.from(n.querySelector(e)).map(un.fromDom)})(t,e),fr=(e,t,n)=>ar((e,t)=>bn(e,t),mr,e,t,n),gr=e=>void 0!==e.dom.classList,pr=e=>sr(e,"class"),hr=(e,t)=>((e,t,n)=>{const o=sr(e,t).concat([n]);return vo(e,t,o.join(" ")),!0})(e,"class",t),br=(e,t)=>((e,t,n)=>{const o=Y(sr(e,t),e=>e!==n);return o.length>0?vo(e,t,o.join(" ")):xo(e,t),!1})(e,"class",t),yr=(e,t)=>{gr(e)?e.dom.classList.add(t):hr(e,t)},vr=e=>{0===(gr(e)?e.dom.classList:pr(e)).length&&xo(e,"class")},Cr=(e,t)=>{gr(e)?e.dom.classList.remove(t):br(e,t),vr(e)},wr=(e,t)=>gr(e)&&e.dom.classList.contains(t),Sr=(e,t=!1)=>{return Fo(e)?e.dom.isContentEditable:(n=e,fr(n,"[contenteditable]")).fold(N(t),e=>"true"===Er(e));var n},Er=e=>e.dom.contentEditable,xr=(e,t)=>{e.dom.contentEditable=t?"true":"false"},kr=(e,t,n)=>Y(Fn(e,n),t),_r=(e,t)=>Y(Vn(e),t),Nr=(e,t)=>{let n=[];return q(Vn(e),e=>{t(e)&&(n=n.concat([e])),n=n.concat(Nr(e,t))}),n},Ar=(e,t)=>((e,t)=>{const n=void 0===t?document:t.dom;return yn(n)?[]:V(n.querySelectorAll(e),un.fromDom)})(t,e),Rr=(e,t,n)=>ir(e,t,n).isSome(),Dr=(e,t)=>dr(e,t).isSome(),Tr=e=>w(e)?e:L,Or=(e,t,n)=>{const o=t(e),r=Tr(n);return o.orThunk(()=>r(e)?I.none():((e,t,n)=>{let o=e.dom;const r=Tr(n);for(;o.parentNode;){o=o.parentNode;const e=un.fromDom(o),n=t(e);if(n.isSome())return n;if(r(e))break}return I.none()})(e,t,r))},Br=["img","br"],Pr=e=>{return(t=e,nr.getOption(t)).filter(e=>0!==e.trim().length||e.indexOf(dt)>-1).isSome()||$(Br,En(e))||(e=>Nn(e)&&"false"===wo(e,"contenteditable"))(e);var t},Lr=(e,t,n,o)=>({start:e,soffset:t,finish:n,foffset:o}),Mr=Ne([{before:["element"]},{on:["element","offset"]},{after:["element"]}]),Ir={before:Mr.before,on:Mr.on,after:Mr.after,cata:(e,t,n,o)=>e.fold(t,n,o),getStart:e=>e.fold(A,A,A)},Fr=Ne([{domRange:["rng"]},{relative:["startSitu","finishSitu"]},{exact:["start","soffset","finish","foffset"]}]),Ur={domRange:Fr.domRange,relative:Fr.relative,exact:Fr.exact,exactFromRange:e=>Fr.exact(e.start,e.soffset,e.finish,e.foffset),getWin:e=>{const t=(e=>e.match({domRange:e=>un.fromDom(e.startContainer),relative:(e,t)=>Ir.getStart(e),exact:(e,t,n,o)=>e}))(e);return Ln(t)},range:Lr},zr=(e,t)=>{const n=En(e);return"input"===n?Ir.after(e):$(["br","img"],n)?0===t?Ir.before(e):Ir.after(e):Ir.on(e,t)},jr=(e,t)=>{const n=e.fold(Ir.before,zr,Ir.after),o=t.fold(Ir.before,zr,Ir.after);return Ur.relative(n,o)},$r=(e,t,n,o)=>{const r=zr(e,t),s=zr(n,o);return Ur.relative(r,s)},Hr=e=>{const t=Ur.getWin(e).dom,n=(e,n,o,r)=>gn(t,e,n,o,r),o=(e=>e.match({domRange:e=>{const t=un.fromDom(e.startContainer),n=un.fromDom(e.endContainer);return $r(t,e.startOffset,n,e.endOffset)},relative:jr,exact:$r}))(e);return((e,t)=>{const n=((e,t)=>t.match({domRange:e=>({ltr:N(e),rtl:I.none}),relative:(t,n)=>({ltr:lt(()=>fn(e,t,n)),rtl:lt(()=>I.some(fn(e,n,t)))}),exact:(t,n,o,r)=>({ltr:lt(()=>gn(e,t,n,o,r)),rtl:lt(()=>I.some(gn(e,o,r,t,n)))})}))(e,t);return((e,t)=>{const n=t.ltr();return n.collapsed?t.rtl().filter(e=>!1===e.collapsed).map(e=>pn.rtl(un.fromDom(e.endContainer),e.endOffset,un.fromDom(e.startContainer),e.startOffset)).getOrThunk(()=>hn(0,pn.ltr,n)):hn(0,pn.ltr,n)})(0,n)})(t,o).match({ltr:n,rtl:n})},Vr=(e,t,n)=>((e,t,n)=>((e,t,n)=>e.caretPositionFromPoint?((e,t,n)=>I.from(e.caretPositionFromPoint?.(t,n)).bind(t=>{if(null===t.offsetNode)return I.none();const n=e.createRange();return n.setStart(t.offsetNode,t.offset),n.collapse(),I.some(n)}))(e,t,n):e.caretRangeFromPoint?((e,t,n)=>I.from(e.caretRangeFromPoint?.(t,n)))(e,t,n):I.none())(e.document,t,n).map(e=>Lr(un.fromDom(e.startContainer),e.startOffset,un.fromDom(e.endContainer),e.endOffset)))(e,t,n),qr=(e,t,n,o)=>({x:e,y:t,width:n,height:o,right:e+n,bottom:t+o}),Wr=e=>{const t=void 0===e?window:e,n=t.document,o=Zo(un.fromDom(n));return(e=>{const t=void 0===e?window:e;return Xt().browser.isFirefox()?I.none():I.from(t.visualViewport)})(t).fold(()=>{const e=t.document.documentElement,n=e.clientWidth,r=e.clientHeight;return qr(o.left,o.top,n,r)},e=>qr(Math.max(e.pageLeft,o.left),Math.max(e.pageTop,o.top),e.width,e.height))};class Kr{rootNode;node;constructor(e,t){this.node=e,this.rootNode=t,this.current=this.current.bind(this),this.next=this.next.bind(this),this.prev=this.prev.bind(this),this.prev2=this.prev2.bind(this)}current(){return this.node}next(e){return this.node=this.findSibling(this.node,"firstChild","nextSibling",e),this.node}prev(e){return this.node=this.findSibling(this.node,"lastChild","previousSibling",e),this.node}prev2(e){return this.node=this.findPreviousNode(this.node,e),this.node}findSibling(e,t,n,o){if(e){if(!o&&e[t])return e[t];if(e!==this.rootNode){let t=e[n];if(t)return t;for(let o=e.parentNode;o&&o!==this.rootNode;o=o.parentNode)if(t=o[n],t)return t}}}findPreviousNode(e,t){if(e){const n=e.previousSibling;if(this.rootNode&&n===this.rootNode)return;if(n){if(!t)for(let e=n.lastChild;e;e=e.lastChild)if(!e.lastChild)return e;return n}const o=e.parentNode;if(o&&o!==this.rootNode)return o}}}const Yr=e=>t=>!!t&&t.nodeType===e,Gr=e=>!!e&&!Object.getPrototypeOf(e),Xr=Yr(1),Qr=e=>Xr(e)&&Nn(un.fromDom(e)),Zr=e=>{const t=e.toLowerCase();return e=>C(e)&&e.nodeName.toLowerCase()===t},Jr=e=>{const t=e.map(e=>e.toLowerCase());return e=>{if(e&&e.nodeName){const n=e.nodeName.toLowerCase();return $(t,n)}return!1}},es=(e,t)=>{const n=t.toLowerCase().split(" ");return t=>{if(Xr(t)){const o=t.ownerDocument.defaultView;if(o)for(let r=0;rXr(e)&&e.hasAttribute("data-mce-bogus"),ns=e=>Xr(e)&&"TABLE"===e.tagName,os=e=>t=>{if(Qr(t)){if(t.contentEditable===e)return!0;if(t.getAttribute("data-mce-contenteditable")===e)return!0}return!1},rs=Jr(["textarea","input"]),ss=Yr(3),as=Yr(4),is=Yr(7),ls=Yr(8),cs=Yr(9),ds=Yr(11),ms=Zr("br"),us=Zr("img"),fs=Zr("a"),gs=os("true"),ps=os("false"),hs=e=>Qr(e)&&e.isContentEditable&&C(e.parentElement)&&!e.parentElement.isContentEditable,bs=Jr(["td","th"]),ys=Jr(["td","th","caption"]),vs=Zr("template"),Cs=Jr(["video","audio","object","embed"]),ws=Zr("li"),Ss=Zr("details"),Es=Zr("summary"),xs="uc-video",ks=Zr(xs),_s=/^[ \t\r\n]*$/,Ns=e=>_s.test(e),As=e=>"\n"===e||"\r"===e,Rs=(e,t=4,n=!0,o=!0)=>{const r=((e,t)=>t<=0?"":new Array(t+1).join(" "))(0,t),s=e.replace(/\t/g,r),a=X(s,(e,t)=>(e=>-1!==" \f\t\v".indexOf(e))(t)||t===dt?e.pcIsSpace||""===e.str&&n||e.str.length===s.length-1&&o||((e,t)=>t=0&&As(e[t]))(s,e.str.length+1)?{pcIsSpace:!1,str:e.str+dt}:{pcIsSpace:!0,str:e.str+" "}:{pcIsSpace:As(t),str:e.str+t},{pcIsSpace:!1,str:""});return a.str},Ds={skipBogus:!0,includeZwsp:!1,checkRootAsContent:!1},Ts=e=>Xr(e)&&e.hasAttribute("data-mce-bookmark");const Os=(e,t,n,o)=>ss(e)&&!((e,t,n)=>Ns(e.data)&&!((e,t,n)=>{const o=un.fromDom(t),r=un.fromDom(e),s=n.getWhitespaceElements();return Rr(r,e=>ke(s,En(e)),D(vn,o))})(e,t,n))(e,t,n)&&(!o.includeZwsp||!(e=>{for(const t of e)if(!mt(t))return!1;return!0})(e.data)),Bs=(e,t,n,o)=>w(o.isContent)&&o.isContent(t)||((e,t)=>Xr(e)&&ke(t.getNonEmptyElements(),e.nodeName))(t,e)||Ts(t)||(e=>Xr(e)&&"A"===e.nodeName&&!e.hasAttribute("href")&&(e.hasAttribute("name")||e.hasAttribute("id")))(t)||Os(t,n,e,o)||ps(t)||gs(t)&&(e=>In(un.fromDom(e)).exists(e=>!Sr(e)))(t),Ps=(e,t,n)=>{const o={...Ds,...n};if(o.checkRootAsContent&&Bs(e,t,t,o))return!1;let r=t.firstChild,s=0;if(!r)return!0;const a=new Kr(r,t);do{if(o.skipBogus&&Xr(r)){const e=r.getAttribute("data-mce-bogus");if(e){r=a.next("all"===e);continue}}if(ls(r))r=a.next(!0);else if(ms(r))s++,r=a.next();else{if(Bs(e,r,t,o))return!1;r=a.next()}}while(r);return s<=1},Ls=(e,t,n)=>Ps(e,t.dom,{checkRootAsContent:!0,...n}),Ms=(e,t,n)=>Bs(e,t,t,{includeZwsp:Ds.includeZwsp,...n}),Is=e=>{const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":"html"},Fs=e=>"html"!==Is(e),Us=e=>Fs(e.nodeName),zs=e=>Is(e.nodeName),js=["svg","math"],$s="data-mce-block",Hs=e=>V((e=>Y(ge(e),e=>!/[A-Z]/.test(e)))(e),e=>{const t=CSS.escape(e);return`${t}:`+V(js,e=>`not(${e} ${t})`).join(":")}).join(","),Vs=(e,t)=>C(t.querySelector(e))?(t.setAttribute($s,"true"),"inline-boundary"===t.getAttribute("data-mce-selected")&&t.removeAttribute("data-mce-selected"),!0):(t.removeAttribute($s),!1),qs=(e,t)=>{const n=Hs(e.getTransparentElements()),o=Hs(e.getBlockElements());return Y(t.querySelectorAll(n),e=>Vs(o,e))},Ws=(e,t,n)=>{const o=n?"lastChild":"firstChild";for(let n=t[o];n;n=n[o])if(Ps(e,n,{checkRootAsContent:!0}))return void n.parentNode?.removeChild(n)},Ks=(e,t)=>{const n=qs(e,t);((e,t,n)=>{const o=e.getBlockElements(),r=un.fromDom(t),s=e=>En(e)in o,a=e=>vn(e,r);q(Po(n),t=>{ir(t,s,a).each(n=>{const o=_r(t,t=>s(t)&&!e.isValidChild(En(n),En(t)));if(o.length>0){const t=In(n);q(o,t=>{ir(t,s,a).each(n=>{((e,t,n)=>{const o=document.createRange(),r=t.parentNode;if(r){o.setStartBefore(t),o.setEndBefore(n);const s=o.extractContents();Ws(e,s,!0),o.setStartAfter(n),o.setEndAfter(t);const a=o.extractContents();Ws(e,a,!1),Ps(e,s,{checkRootAsContent:!0})||r.insertBefore(s,t),Ps(e,n,{checkRootAsContent:!0})||r.insertBefore(n,t),Ps(e,a,{checkRootAsContent:!0})||r.insertBefore(a,t),r.removeChild(t)}})(e,n.dom,t.dom)})}),t.each(t=>qs(e,t.dom))}})})})(e,t,n),((e,t,n)=>{q([...n,...Zs(e,t)?[t]:[]],t=>q(Ar(un.fromDom(t),t.nodeName.toLowerCase()),t=>{Js(e,t.dom)&&Ro(t)}))})(e,t,n)},Ys=(e,t)=>{if(Qs(e,t)){const n=Hs(e.getBlockElements());Vs(n,t)}},Gs=e=>e.hasAttribute($s),Xs=(e,t)=>ke(e.getTransparentElements(),t),Qs=(e,t)=>Xr(t)&&Xs(e,t.nodeName),Zs=(e,t)=>Qs(e,t)&&Gs(t),Js=(e,t)=>Qs(e,t)&&!Gs(t),ea=(e,t)=>1===t.type&&Xs(e,t.name)&&u(t.attr($s)),ta=Xt().browser,na=e=>Z(e,An),oa=(e,t)=>e.children&&$(e.children,t),ra=(e,t={})=>{let n=0;const o={},r=un.fromDom(e),s=Pn(r),a=e=>{go(Zn(r),e)},i=e=>{const t=Zn(r);ur(t,"#"+e).each(Ao)},l=e=>xe(o,e).getOrThunk(()=>({id:"mce-u"+n++,passed:[],failed:[],count:0})),c=e=>new Promise((n,r)=>{let i;const c=dn._addCacheSuffix(e),d=l(c);o[c]=d,d.count++;const m=(e,t)=>{q(e,P),d.status=t,d.passed=[],d.failed=[],i&&(i.onload=null,i.onerror=null,i=null)},u=()=>m(d.passed,2),f=()=>m(d.failed,3);if(n&&d.passed.push(n),r&&d.failed.push(r),1===d.status)return;if(2===d.status)return void u();if(3===d.status)return void f();d.status=1;const g=un.fromTag("link",s.dom);Co(g,{rel:"stylesheet",type:"text/css",id:d.id});const p=((e,t)=>{const n=t.crossOrigin;return t.contentCssCors?"anonymous":w(n)?n(e):void 0})(e,t);void 0!==p&&vo(g,"crossOrigin",p),t.referrerPolicy&&vo(g,"referrerpolicy",t.referrerPolicy),i=g.dom,i.onload=u,i.onerror=f,a(g),vo(g,"href",c)}),d=e=>{const t=dn._addCacheSuffix(e);xe(o,t).each(e=>{0===--e.count&&(delete o[t],i(e.id))})};return{load:c,loadRawCss:(e,t)=>{const n=l(e);o[e]=n,n.count++;const r=un.fromTag("style",s.dom);Co(r,{rel:"stylesheet",type:"text/css",id:n.id,"data-mce-key":e}),r.dom.innerHTML=t,a(r)},loadAll:e=>Promise.allSettled(V(e,e=>c(e).then(N(e)))).then(e=>{const t=K(e,e=>"fulfilled"===e.status);return t.fail.length>0?Promise.reject(V(t.fail,e=>e.reason)):V(t.pass,e=>e.value)}),unload:d,unloadRawCss:e=>{xe(o,e).each(t=>{0===--t.count&&(delete o[e],i(t.id))})},unloadAll:e=>{q(e,e=>{d(e)})},_setReferrerPolicy:e=>{t.referrerPolicy=e},_setContentCssCors:e=>{t.contentCssCors=e},_setCrossOrigin:e=>{t.crossOrigin=e}}},sa=(()=>{const e=new WeakMap;return{forElement:(t,n)=>{const o=Qn(t).dom;return I.from(e.get(o)).getOrThunk(()=>{const t=ra(o,n);return e.set(o,t),t})}}})(),aa=(e,t)=>C(e)&&(Ms(t,e)||t.isInline(e.nodeName.toLowerCase())),ia=e=>(e=>"span"===e.nodeName.toLowerCase())(e)&&"bookmark"===e.getAttribute("data-mce-type"),la=(e,t,n,o)=>{const r=o||t;if(Xr(t)&&ia(t))return t;const s=t.childNodes;for(let t=s.length-1;t>=0;t--)la(e,s[t],n,r);if(Xr(t)){const e=t.childNodes;1===e.length&&ia(e[0])&&t.parentNode?.insertBefore(e[0],t)}return(e=>ds(e)||cs(e))(t)||Ms(n,t)||(e=>!!Xr(e)&&e.childNodes.length>0)(t)||((e,t,n)=>ss(e)&&e.data.length>0&&((e,t,n)=>{const o=new Kr(e,t).prev(!1),r=new Kr(e,t).next(!1),s=y(o)||aa(o,n),a=y(r)||aa(r,n);return s&&a})(e,t,n))(t,r,n)||e.remove(t),t},ca=dn.makeMap,da=/[&<>\"\u0060\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ma=/[<>&\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ua=/[<>&\"\']/g,fa=/&#([a-z0-9]+);?|&([a-z0-9]+);/gi,ga={128:"\u20ac",130:"\u201a",131:"\u0192",132:"\u201e",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02c6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017d",145:"\u2018",146:"\u2019",147:"\u201c",148:"\u201d",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02dc",153:"\u2122",154:"\u0161",155:"\u203a",156:"\u0153",158:"\u017e",159:"\u0178"},pa={'"':""","'":"'","<":"<",">":">","&":"&","`":"`"},ha={"<":"<",">":">","&":"&",""":'"',"'":"'"},ba=(e,t)=>{const n={};if(e){const o=e.split(",");t=t||10;for(let e=0;ee.replace(t?da:ma,e=>pa[e]||e),Ca=(e,t)=>e.replace(t?da:ma,e=>e.length>1?"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";":pa[e]||"&#"+e.charCodeAt(0)+";"),wa=(e,t,n)=>{const o=n||ya;return e.replace(t?da:ma,e=>pa[e]||o[e]||e)},Sa={encodeRaw:va,encodeAllRaw:e=>(""+e).replace(ua,e=>pa[e]||e),encodeNumeric:Ca,encodeNamed:wa,getEncodeFunc:(e,t)=>{const n=ba(t)||ya,o=ca(e.replace(/\+/g,","));return o.named&&o.numeric?(e,t)=>e.replace(t?da:ma,e=>void 0!==pa[e]?pa[e]:void 0!==n[e]?n[e]:e.length>1?"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";":"&#"+e.charCodeAt(0)+";"):o.named?t?(e,t)=>wa(e,t,n):wa:o.numeric?Ca:va},decode:e=>e.replace(fa,(e,t)=>t?(t="x"===t.charAt(0).toLowerCase()?parseInt(t.substr(1),16):parseInt(t,10))>65535?(t-=65536,String.fromCharCode(55296+(t>>10),56320+(1023&t))):ga[t]||String.fromCharCode(t):ha[e]||ya[e]||(e=>{const t=un.fromTag("div").dom;return t.innerHTML=e,t.textContent||t.innerText||e})(e))},Ea=(e,t)=>(e=dn.trim(e))?e.split(t||" "):[],xa=e=>new RegExp("^"+e.replace(/([?+*])/g,".$1")+"$"),ka=e=>Object.freeze(["id","accesskey","class","dir","lang","style","tabindex","title","role",..."html4"!==e?["contenteditable","contextmenu","draggable","dropzone","hidden","spellcheck","translate","itemprop","itemscope","itemtype"]:[],..."html5-strict"!==e?["xml:lang"]:[]]),_a=e=>{let t,n;t="address blockquote div dl fieldset form h1 h2 h3 h4 h5 h6 hr menu ol p pre table ul",n="a abbr b bdo br button cite code del dfn em embed i iframe img input ins kbd label map noscript object q s samp script select small span strong sub sup textarea u var #text #comment","html4"!==e&&(t+=" article aside details dialog figure main header footer hgroup section nav a ins del canvas map",n+=" audio canvas command data datalist mark meter output picture progress template time wbr video ruby bdi keygen svg"),"html5-strict"!==e&&(n=[n,"acronym applet basefont big font strike tt"].join(" "),t=[t,"center dir isindex noframes"].join(" "));const o=[t,n].join(" ");return{blockContent:t,phrasingContent:n,flowContent:o}},Na=e=>{const{blockContent:t,phrasingContent:n,flowContent:o}=_a(e),r=e=>Object.freeze(e.split(" "));return Object.freeze({blockContent:r(t),phrasingContent:r(n),flowContent:r(o)})},Aa={html4:lt(()=>Na("html4")),html5:lt(()=>Na("html5")),"html5-strict":lt(()=>Na("html5-strict"))},Ra=(e,t)=>{const{blockContent:n,phrasingContent:o,flowContent:r}=Aa[e]();return"blocks"===t?I.some(n):"phrasing"===t?I.some(o):"flow"===t?I.some(r):I.none()},Da=e=>I.from(/^(@?)([A-Za-z0-9_\-.\u00b7\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u037d\u037f-\u1fff\u200c-\u200d\u203f-\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]+)$/.exec(e)).map(e=>({preset:"@"===e[1],name:e[2]})),Ta={},Oa=dn.makeMap,Ba=dn.each,Pa=dn.extend,La=dn.explode,Ma=(e,t={})=>{const n=Oa(e," ",Oa(e.toUpperCase()," "));return Pa(n,t)},Ia=e=>Ma("td th li dt dd figcaption caption details summary",e.getTextBlockElements()),Fa=(e,t)=>{if(e){const n={};return u(e)&&(e={"*":e}),Ba(e,(e,o)=>{n[o]=n[o.toUpperCase()]="map"===t?Oa(e,/[, ]/):La(e,/[, ]/)}),n}},Ua=(e={})=>{const t={},n={};let o=[];const r={},s={},a={},i=(t,n,o)=>{const r=e[t];if(r)return Oa(r,/[, ]/,Oa(r.toUpperCase(),/[, ]/));{let e=Ta[t];return e||(e=Ma(n,o),Ta[t]=e),e}},l=e.schema??"html5",c=(e=>{const t=ka(e),{phrasingContent:n,flowContent:o}=_a(e),r={},s=(e,t,n)=>{r[e]={attributes:ae(t,N({})),attributesOrder:t,children:ae(n,N({}))}},a=(e,n="",o="")=>{const r=Ea(o),a=Ea(e);let i=a.length;const l=[...t,...Ea(n)];for(;i--;)s(a[i],l.slice(),r)},i=(e,t)=>{const n=Ea(e),o=Ea(t);let s=n.length;for(;s--;){const e=r[n[s]];for(let t=0,n=o.length;t{a(e,"",n)}),q(Ea("center dir isindex noframes"),e=>{a(e,"",o)})),a("html","manifest","head body"),a("head","","base command link meta noscript script style title"),a("title hr noscript br"),a("base","href target"),a("link","href rel media hreflang type sizes hreflang"),a("meta","name http-equiv content charset property"),a("style","media type scoped"),a("script","src async defer type charset"),a("body","onafterprint onbeforeprint onbeforeunload onblur onerror onfocus onhashchange onload onmessage onoffline ononline onpagehide onpageshow onpopstate onresize onscroll onstorage onunload",o),a("dd div","",o),a("address dt caption","","html4"===e?n:o),a("h1 h2 h3 h4 h5 h6 pre p abbr code var samp kbd sub sup i b u bdo span legend em strong small s cite dfn","",n),a("blockquote","cite",o),a("ol","reversed start type","li"),a("ul","","li"),a("li","value",o),a("dl","","dt dd"),a("a","href target rel media hreflang type","html4"===e?n:o),a("q","cite",n),a("ins del","cite datetime",o),a("img","src sizes srcset alt usemap ismap width height"),a("iframe","src name width height",o),a("embed","src type width height"),a("object","data type typemustmatch name usemap form width height",[o,"param"].join(" ")),a("param","name value"),a("map","name",[o,"area"].join(" ")),a("area","alt coords shape href target rel media hreflang type"),a("table","border","caption colgroup thead tfoot tbody tr"+("html4"===e?" col":"")),a("colgroup","span","col"),a("col","span"),a("tbody thead tfoot","","tr"),a("tr","","td th"),a("td","colspan rowspan headers",o),a("th","colspan rowspan headers scope abbr",o),a("form","accept-charset action autocomplete enctype method name novalidate target",o),a("fieldset","disabled form name",[o,"legend"].join(" ")),a("label","form for",n),a("input","accept alt autocomplete checked dirname disabled form formaction formenctype formmethod formnovalidate formtarget height list max maxlength min multiple name pattern readonly required size src step type value width"),a("button","disabled form formaction formenctype formmethod formnovalidate formtarget name type value","html4"===e?o:n),a("select","disabled form multiple name required size","option optgroup"),a("optgroup","disabled label","option"),a("option","disabled label selected value"),a("textarea","cols dirname disabled form maxlength name readonly required rows wrap"),a("menu","type label",[o,"li"].join(" ")),a("noscript","",o),"html4"!==e&&(a("wbr"),a("ruby","",[n,"rt rp"].join(" ")),a("figcaption","",o),a("mark rt rp bdi","",n),a("summary","",[n,"h1 h2 h3 h4 h5 h6"].join(" ")),a("canvas","width height",o),a("data","value",n),a("video","src crossorigin poster preload autoplay mediagroup loop controlslist disablepictureinpicture disableremoteplayback playsinline muted controls width height buffered",[o,"track source"].join(" ")),a("audio","src crossorigin preload autoplay mediagroup loop muted controls buffered volume",[o,"track source"].join(" ")),a("picture","","img source"),a("source","src srcset type media sizes"),a("track","kind src srclang label default"),a("datalist","",[n,"option"].join(" ")),a("article section nav aside main header footer","",o),a("hgroup","","h1 h2 h3 h4 h5 h6"),a("figure","",[o,"figcaption"].join(" ")),a("time","datetime",n),a("dialog","open",o),a("command","type label icon disabled checked radiogroup command"),a("output","for form name",n),a("progress","value max",n),a("meter","value min max low high optimum",n),a("details","open",[o,"summary"].join(" ")),a("keygen","autofocus challenge disabled form keytype name"),s("svg","id tabindex lang xml:space class style x y width height viewBox preserveAspectRatio zoomAndPan transform".split(" "),[])),"html5-strict"!==e&&(i("script","language xml:space"),i("style","xml:space"),i("object","declare classid code codebase codetype archive standby align border hspace vspace"),i("embed","align name hspace vspace"),i("param","valuetype type"),i("a","charset name rev shape coords"),i("br","clear"),i("applet","codebase archive code object alt name width height align hspace vspace"),i("img","name longdesc align border hspace vspace"),i("iframe","longdesc frameborder marginwidth marginheight scrolling align"),i("font basefont","size color face"),i("input","usemap align"),i("select"),i("textarea"),i("h1 h2 h3 h4 h5 h6 div p legend caption","align"),i("ul","type compact"),i("li","type"),i("ol dl menu dir","compact"),i("pre","width xml:space"),i("hr","align noshade size width"),i("isindex","prompt"),i("table","summary width frame rules cellspacing cellpadding align bgcolor"),i("col","width align char charoff valign"),i("colgroup","width align char charoff valign"),i("thead","align char charoff valign"),i("tr","align char charoff valign bgcolor"),i("th","axis align char charoff valign nowrap bgcolor width height"),i("form","accept"),i("td","abbr axis scope align char charoff valign nowrap bgcolor width height"),i("tfoot","align char charoff valign"),i("tbody","align char charoff valign"),i("area","nohref"),i("body","background bgcolor text link vlink alink")),"html4"!==e&&(i("input button select textarea","autofocus"),i("input textarea","placeholder"),i("a","download"),i("link script img","crossorigin"),i("img","loading"),i("iframe","sandbox seamless allow allowfullscreen loading referrerpolicy")),"html4"!==e&&q([r.video,r.audio],e=>{delete e.children.audio,delete e.children.video}),q(Ea("a form meter progress dfn"),e=>{r[e]&&delete r[e].children[e]}),delete r.caption.children.table,delete r.script,r})(l);!1===e.verify_html&&(e.valid_elements="*[*]");const d=Fa(e.valid_styles),m=Fa(e.invalid_styles,"map"),g=Fa(e.valid_classes,"map"),h=i("whitespace_elements","pre script noscript style textarea video audio iframe object code"),y=i("self_closing_elements","colgroup dd dt li option p td tfoot th thead tr"),v=i("void_elements","area base basefont br col frame hr img input isindex link meta param embed source wbr track"),C=i("boolean_attributes","checked compact declare defer disabled ismap multiple nohref noresize noshade nowrap readonly selected autoplay loop controls allowfullscreen"),w="td th iframe video audio object script code",S=i("non_empty_elements",w+" pre svg textarea summary",v),E=i("move_caret_before_on_enter_elements",w+" table",v),x="h1 h2 h3 h4 h5 h6",k=i("text_block_elements",x+" p div address pre form blockquote center dir fieldset header footer article section hgroup aside main nav figure"),_=i("block_elements","hr table tbody thead tfoot th tr td li ol ul caption dl dt dd noscript menu isindex option datalist select optgroup figcaption details summary html body multicol listing colgroup col",k),A=i("text_inline_elements","span strong b em i font s strike u var cite dfn code mark q sup sub samp"),R=i("transparent_elements","a ins del canvas map"),D=i("wrap_block_elements","pre "+x);Ba("script noscript iframe noframes noembed title style textarea xmp plaintext".split(" "),e=>{s[e]=new RegExp("]*>","gi")});const T=e=>{const n=I.from(t["@"]),r=/[*?+]/;q(((e,t)=>{const n=/^([#+\-])?([^\[!\/]+)(?:\/([^\[!]+))?(?:(!?)\[([^\]]+)])?$/;return ne(Ea(t,","),t=>{const o=n.exec(t);if(o){const t=o[1],n=o[2],r=o[3],s=o[4],a=o[5],i={attributes:{},attributesOrder:[]};if(e.each(e=>((e,t)=>{he(e.attributes,(e,n)=>{t.attributes[n]=e}),t.attributesOrder.push(...e.attributesOrder)})(e,i)),"#"===t?i.paddEmpty=!0:"-"===t&&(i.removeEmpty=!0),"!"===s&&(i.removeEmptyAttrs=!0),a&&((e,t)=>{const n=/^([!\-])?(\w+[\\:]:\w+|[^=~<]+)?(?:([=~<])(.*))?$/,o=/[*?+]/,{attributes:r,attributesOrder:s}=t;q(Ea(e,"|"),e=>{const a=n.exec(e);if(a){const e={},n=a[1],i=a[2].replace(/[\\:]:/g,":"),l=a[3],c=a[4];if("!"===n&&(t.attributesRequired=t.attributesRequired||[],t.attributesRequired.push(i),e.required=!0),"-"===n)return delete r[i],void s.splice(dn.inArray(s,i),1);if(l&&("="===l?(t.attributesDefault=t.attributesDefault||[],t.attributesDefault.push({name:i,value:c}),e.defaultValue=c):"~"===l?(t.attributesForced=t.attributesForced||[],t.attributesForced.push({name:i,value:c}),e.forcedValue=c):"<"===l&&(e.validValues=dn.makeMap(c,"?"))),o.test(i)){const n=e;t.attributePatterns=t.attributePatterns||[],n.pattern=xa(i),t.attributePatterns.push(n)}else r[i]||s.push(i),r[i]=e}})})(a,i),r&&(i.outputName=n),"@"===n){if(!e.isNone())return[];e=I.some(i)}return[r?{name:n,element:i,aliasName:r}:{name:n,element:i}]}return[]})})(n,e??""),({name:e,element:n,aliasName:s})=>{if(s&&(t[s]=n),r.test(e)){const t=n;t.pattern=xa(e),o.push(t)}else t[e]=n})},O=e=>{o=[],q(ge(t),e=>{delete t[e]}),T(e)},B=(e,o)=>{delete Ta.text_block_elements,delete Ta.block_elements;const s=!!o.extends&&!oe(o.extends),a=o.extends;if(n[e]=a?n[a]:{},r[e]=a??e,S[e.toUpperCase()]={},S[e]={},s||(_[e.toUpperCase()]={},_[e]={}),a&&!t[e]&&t[a]){const n=(e=>{const t=e=>p(e)?V(e,t):(e=>f(e)&&e.source&&"[object RegExp]"===Object.prototype.toString.call(e))(e)?new RegExp(e.source,e.flags):f(e)?be(e,t):e;return t(e)})(t[a]);delete n.removeEmptyAttrs,delete n.removeEmpty,t[e]=n}else t[e]={attributesOrder:[],attributes:{}};if(p(o.attributes)){const n=e=>{r.attributesOrder.push(e),r.attributes[e]={}},r=t[e]??{};delete r.attributesDefault,delete r.attributesForced,delete r.attributePatterns,delete r.attributesRequired,r.attributesOrder=[],r.attributes={},q(o.attributes,e=>{const t=ka(l);Da(e).each(({preset:e,name:o})=>{e?"global"===o&&q(t,n):n(o)})}),t[e]=r}if(b(o.padEmpty)){const n=t[e]??{};n.paddEmpty=o.padEmpty,t[e]=n}if(p(o.children)){const t={},r=e=>{t[e]={}},s=e=>{Ra(l,e).each(e=>{q(e,r)})};q(o.children,e=>{Da(e).each(({preset:e,name:t})=>{e?s(t):r(t)})}),n[e]=t}a&&he(n,(t,o)=>{t[a]&&(n[o]=t=Pa({},n[o]),t[e]=t[a])})},P=e=>{f(e)?he(e,(e,t)=>{const n=e.componentUrl;u(n)&&((e,t)=>{a[e]=t})(t,n),B(t,e)}):u(e)&&(e=>{q((e=>{const t=/^(~)?(.+)$/;return ne(Ea(e,","),e=>{const n=t.exec(e);return n?[{cloneName:"~"===n[1]?"span":"div",name:n[2]}]:[]})})(e??""),({name:e,cloneName:t})=>{B(e,{extends:t})})})(e)},L=e=>{q((e=>{const t=/^([+\-]?)([A-Za-z0-9_\-.\u00b7\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u037d\u037f-\u1fff\u200c-\u200d\u203f-\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]+)\[([^\]]+)]$/;return ne(Ea(e,","),e=>{const n=t.exec(e);if(n){const e=n[1],t=e?(e=>"-"===e?"remove":"add")(e):"replace";return[{operation:t,name:n[2],validChildren:ne(Ea(n[3],"|"),e=>Da(e).toArray())}]}return[]})})(e??""),({operation:e,name:t,validChildren:o})=>{const r="replace"===e?{"#comment":{}}:n[t],s=t=>{"remove"===e?delete r[t]:r[t]={}};q(o,({preset:e,name:t})=>{e?(e=>{Ra(l,e).each(e=>{q(e,s)})})(t):s(t)}),n[t]=r})},M=e=>{const n=t[e];if(n)return n;let r=o.length;for(;r--;){const t=o[r];if(t.pattern.test(e))return t}},F=N(d),U=N(m),z=N(g),j=N(C),$=N(_),H=N(k),W=N(A),K=N(Object.seal(v)),Y=N(y),G=N(S),X=N(E),Q=N(h),Z=N(R),J=N(D),ee=N(Object.seal(s)),te=(e,t)=>{const n=M(e);if(n){if(!t)return!0;{if(n.attributes[t])return!0;const e=n.attributePatterns;if(e){let n=e.length;for(;n--;)if(e[n].pattern.test(t))return!0}}}return!1},oe=e=>ke($(),e),re=e=>!Qe(e,"#")&&te(e)&&!oe(e),se=N(r),ie=N(a);return e.valid_elements?(O(e.valid_elements),Ba(c,(e,t)=>{n[t]=e.children})):(Ba(c,(e,o)=>{t[o]={attributes:e.attributes,attributesOrder:e.attributesOrder},n[o]=e.children}),Ba(Ea("strong/b em/i"),e=>{const n=Ea(e,"/");t[n[1]].outputName=n[0]}),Ba(A,(n,o)=>{t[o]&&(e.padd_empty_block_inline_children&&(t[o].paddInEmptyBlock=!0),t[o].removeEmpty=!0)}),Ba(Ea("ol ul blockquote a table tbody"),e=>{t[e]&&(t[e].removeEmpty=!0)}),Ba(Ea("p h1 h2 h3 h4 h5 h6 th td pre div address caption li summary"),e=>{t[e]&&(t[e].paddEmpty=!0)}),Ba(Ea("span"),e=>{t[e].removeEmptyAttrs=!0})),delete t.svg,P(e.custom_elements),L(e.valid_children),T(e.extended_valid_elements),L("+ol[ul|ol],+ul[ul|ol]"),Ba({dd:"dl",dt:"dl",li:"ul ol",td:"tr",th:"tr",tr:"tbody thead tfoot",tbody:"table",thead:"table",tfoot:"table",legend:"fieldset",area:"map",param:"video audio object"},(e,n)=>{t[n]&&(t[n].parentsRequired=Ea(e))}),e.invalid_elements&&Ba(La(e.invalid_elements),e=>{t[e]&&delete t[e]}),M("span")||T("span[!data-mce-type|*]"),{type:l,children:n,elements:t,getValidStyles:F,getValidClasses:z,getBlockElements:$,getInvalidStyles:U,getVoidElements:K,getTextBlockElements:H,getTextInlineElements:W,getBoolAttrs:j,getElementRule:M,getSelfClosingElements:Y,getNonEmptyElements:G,getMoveCaretBeforeOnEnterElements:X,getWhitespaceElements:Q,getTransparentElements:Z,getSpecialElements:ee,getComponentUrls:ie,isValidChild:(e,t)=>{const o=n[e.toLowerCase()];return!(!o||!o[t.toLowerCase()])},isValid:te,isBlock:oe,isInline:re,isWrapper:e=>ke(J(),e)||re(e),getCustomElements:se,addValidElements:T,setValidElements:O,addCustomElements:P,addValidChildren:L}},za=e=>{const t=e.toString(16);return(1===t.length?"0"+t:t).toUpperCase()},ja=e=>(e=>{return{value:(t=e,Ge(t,"#").toUpperCase())};var t})(za(e.red)+za(e.green)+za(e.blue)),$a=/^\s*rgb\s*\(\s*(\d+)\s*[,\s]\s*(\d+)\s*[,\s]\s*(\d+)\s*\)\s*$/i,Ha=/^\s*rgba\s*\(\s*(\d+)\s*[,\s]\s*(\d+)\s*[,\s]\s*(\d+)\s*[,\s]\s*((?:\d?\.\d+|\d+)%?)\s*\)\s*$/i,Va=(e,t,n,o)=>((e,t,n,o)=>({red:e,green:t,blue:n,alpha:o}))(parseInt(e,10),parseInt(t,10),parseInt(n,10),parseFloat(o)),qa=e=>$a.test(e)?"rgb":Ha.test(e)?"rgba":"other",Wa=e=>{const t=$a.exec(e);if(null!==t)return I.some(Va(t[1],t[2],t[3],"1"));const n=Ha.exec(e);return null!==n?I.some(Va(n[1],n[2],n[3],n[4])):I.none()},Ka=e=>`rgba(${e.red},${e.green},${e.blue},${e.alpha})`,Ya=e=>Wa(e).map(ja).map(e=>"#"+e.value).getOr(e),Ga=(e={},t)=>{const n=/(?:url(?:(?:\(\s*\"([^\"]+)\"\s*\))|(?:\(\s*\'([^\']+)\'\s*\))|(?:\(\s*([^)\s]+)\s*\))))|(?:\'([^\']+)\')|(?:\"([^\"]+)\")/gi,o=/\s*([^:]+):\s*([^;]+);?/g,r=/\s+$/,s={};let a,i;const l=ct;t&&(a=t.getValidStyles(),i=t.getInvalidStyles());const c="\\\" \\' \\; \\: ; : \ufeff".split(" ");for(let e=0;e{const a={};let i=!1;const c=e.url_converter,m=e.url_converter_scope||d,u=(e,t,n)=>{const o=a[e+"-top"+t];if(!o)return;const r=a[e+"-right"+t];if(!r)return;const s=a[e+"-bottom"+t];if(!s)return;const i=a[e+"-left"+t];if(!i)return;const l=[o,r,s,i];let c=l.length-1;for(;c--&&l[c]===l[c+1];);c>-1&&n||(a[e+t]=-1===c?l[0]:l.join(" "),delete a[e+"-top"+t],delete a[e+"-right"+t],delete a[e+"-bottom"+t],delete a[e+"-left"+t])},f=e=>{const t=a[e];if(!t)return;const n=t.indexOf(",")>-1?[t]:t.split(" ");let o=n.length;for(;o--;)if(n[o]!==n[0])return!1;return a[e]=n[0],!0},g=e=>(i=!0,s[e]),p=(e,t)=>(i&&(e=e.replace(/\uFEFF[0-9]/g,e=>s[e])),t||(e=e.replace(/\\([\'\";:])/g,"$1")),e),h=e=>String.fromCharCode(parseInt(e.slice(1),16)),b=e=>e.replace(/\\[0-9a-f]+/gi,h),y=(t,n,o,r,s,a)=>{if(s=s||a)return"'"+(s=p(s)).replace(/\'/g,"\\'")+"'";if(n=p(n||o||r||""),!e.allow_script_urls){const t=n.replace(/[\s\r\n]+/g,"");if(/(java|vb)script:/i.test(t))return"";if(!e.allow_svg_data_urls&&/^data:image\/svg/i.test(t))return""}return c&&(n=c.call(m,n,"style")),"url('"+n.replace(/\'/g,"\\'")+"')"};if(t){let s;for(t=(t=t.replace(/[\u0000-\u001F]/g,"")).replace(/\\[\"\';:\uFEFF]/g,g).replace(/\"[^\"]+\"|\'[^\']+\'/g,e=>e.replace(/[;:]/g,g));s=o.exec(t);){o.lastIndex=s.index+s[0].length;let t=s[1].replace(r,""),c=s[2].replace(r,"");if(t&&c){if(t=b(t),c=b(c),t.startsWith("--")||(t=t.toLowerCase()),-1!==t.indexOf(l)||-1!==t.indexOf('"'))continue;if(!e.allow_script_urls&&("behavior"===t||/expression\s*\(|\/\*|\*\//.test(c)))continue;"font-weight"===t&&"700"===c&&(c="bold"),"rgb"===qa(c)&&Wa(c).each(e=>{c=Ya(Ka(e)).toLowerCase()}),c=c.replace(n,y),a[t]=i?p(c,!0):c}}u("border","",!0),u("border","-width"),u("border","-color"),u("border","-style"),u("padding",""),u("margin",""),/(#.* rgb(a?)\(.*)|(rgb(a?)\(.*\) )/.test(a["border-color"])||(C="border-style",w="border-color",f(v="border-width")&&f(C)&&f(w)&&(a.border=a[v]+" "+a[C]+" "+a[w],delete a[v],delete a[C],delete a[w])),"medium none"===a.border&&delete a.border,"none"===a["border-image"]&&delete a["border-image"]}var v,C,w;return a},serialize:(e,t)=>{let n="";const o=(t,o)=>{const r=o[t];if(r)for(let t=0,o=r.length;t0?" ":"")+o+": "+s+";")}};return t&&a?(o("*",a),o(t,a)):he(e,(e,o)=>{e&&((e,t)=>{if(!i||!t)return!0;let n=i["*"];return!(n&&n[e]||(n=i[t],n&&n[e]))})(o,t)&&(n+=(n.length>0?" ":"")+o+": "+e+";")}),n}};return d},Xa={keyLocation:!0,layerX:!0,layerY:!0,returnValue:!0,webkitMovementX:!0,webkitMovementY:!0,keyIdentifier:!0,mozPressure:!0,mozInputSource:!0},Qa=(e,t)=>{const n=t??{};for(const t in e)ke(Xa,t)||(n[t]=e[t]);return C(e.composedPath)&&(n.composedPath=()=>e.composedPath()),C(e.getModifierState)&&(n.getModifierState=t=>e.getModifierState(t)),C(e.getTargetRanges)&&(n.getTargetRanges=()=>e.getTargetRanges()),n},Za=(e,t,n,o)=>{const r=Qa(t,o);return r.type=e,v(r.target)&&(r.target=r.srcElement??n),(e=>v(e.preventDefault)||(e=>e instanceof Event||w(e.initEvent))(e))(t)&&(r.preventDefault=()=>{r.defaultPrevented=!0,r.isDefaultPrevented=M,w(t.preventDefault)&&t.preventDefault()},r.stopPropagation=()=>{r.cancelBubble=!0,r.isPropagationStopped=M,w(t.stopPropagation)&&t.stopPropagation()},r.stopImmediatePropagation=()=>{r.isImmediatePropagationStopped=M,r.stopPropagation()},(e=>e.isDefaultPrevented===M||e.isDefaultPrevented===L)(r)||(r.isDefaultPrevented=!0===r.defaultPrevented?M:L,r.isPropagationStopped=!0===r.cancelBubble?M:L,r.isImmediatePropagationStopped=L)),r},Ja=/^(?:mouse|contextmenu)|click/,ei=(e,t,n,o)=>{e.addEventListener(t,n,o||!1)},ti=(e,t,n,o)=>{e.removeEventListener(t,n,o||!1)},ni=(e,t)=>{const n=Za(e.type,e,document,t);if((e=>C(e)&&Ja.test(e.type))(e)&&y(e.pageX)&&!y(e.clientX)){const t=n.target.ownerDocument||document,o=t.documentElement,r=t.body,s=n;s.pageX=e.clientX+(o&&o.scrollLeft||r&&r.scrollLeft||0)-(o&&o.clientLeft||r&&r.clientLeft||0),s.pageY=e.clientY+(o&&o.scrollTop||r&&r.scrollTop||0)-(o&&o.clientTop||r&&r.clientTop||0)}return n},oi=(e,t,n)=>{const o=e.document,r={type:"ready"};if(n.domLoaded)return void t(r);const s=()=>{ti(e,"DOMContentLoaded",s),ti(e,"load",s),n.domLoaded||(n.domLoaded=!0,t(r)),e=null};"complete"===o.readyState||"interactive"===o.readyState&&o.body?s():ei(e,"DOMContentLoaded",s),n.domLoaded||ei(e,"load",s)};class ri{static Event=new ri;domLoaded=!1;events={};expando;hasFocusIn;count=1;constructor(){this.expando="mce-data-"+(+new Date).toString(32),this.hasFocusIn="onfocusin"in document.documentElement,this.count=1}bind(e,t,n,o){const r=this;let s;const a=window,i=e=>{r.executeHandlers(ni(e||a.event),l)};if(!e||ss(e)||ls(e))return n;let l;e[r.expando]?l=e[r.expando]:(l=r.count++,e[r.expando]=l,r.events[l]={}),o=o||e;const c=t.split(" ");let d=c.length;for(;d--;){let t=c[d],m=i,u=!1,f=!1;"DOMContentLoaded"===t&&(t="ready"),r.domLoaded&&"ready"===t&&"complete"===e.readyState?n.call(o,ni({type:t})):(r.hasFocusIn||"focusin"!==t&&"focusout"!==t||(u=!0,f="focusin"===t?"focus":"blur",m=e=>{const t=ni(e||a.event);t.type="focus"===t.type?"focusin":"focusout",r.executeHandlers(t,l)}),s=r.events[l][t],s?"ready"===t&&r.domLoaded?n(ni({type:t})):s.push({func:n,scope:o}):(r.events[l][t]=s=[{func:n,scope:o}],s.fakeName=f,s.capture=u,s.nativeHandler=m,"ready"===t?oi(e,m,r):ei(e,f||t,m,u)))}return e=s=null,n}unbind(e,t,n){if(!e||ss(e)||ls(e))return this;const o=e[this.expando];if(o){let r=this.events[o];if(t){const o=t.split(" ");let s=o.length;for(;s--;){const t=o[s],a=r[t];if(a){if(n){let e=a.length;for(;e--;)if(a[e].func===n){const n=a.nativeHandler,o=a.fakeName,s=a.capture,i=a.slice(0,e).concat(a.slice(e+1));i.nativeHandler=n,i.fakeName=o,i.capture=s,r[t]=i}}n&&0!==a.length||(delete r[t],ti(e,a.fakeName||t,a.nativeHandler,a.capture))}}}else he(r,(t,n)=>{ti(e,t.fakeName||n,t.nativeHandler,t.capture)}),r={};for(const e in r)if(ke(r,e))return this;delete this.events[o];try{delete e[this.expando]}catch{e[this.expando]=null}}return this}fire(e,t,n){return this.dispatch(e,t,n)}dispatch(e,t,n){if(!e||ss(e)||ls(e))return this;const o=ni({type:t,target:e},n);do{const t=e[this.expando];t&&this.executeHandlers(o,t),e=e.parentNode||e.ownerDocument||e.defaultView||e.parentWindow}while(e&&!o.isPropagationStopped());return this}clean(e){if(!e||ss(e)||ls(e))return this;if(e[this.expando]&&this.unbind(e),e.getElementsByTagName||(e=e.document),e&&e.getElementsByTagName){this.unbind(e);const t=e.getElementsByTagName("*");let n=t.length;for(;n--;)(e=t[n])[this.expando]&&this.unbind(e)}return this}destroy(){this.events={}}cancel(e){return e&&(e.preventDefault(),e.stopImmediatePropagation()),!1}executeHandlers(e,t){const n=this.events[t],o=n&&n[e.type];if(o)for(let t=0,n=o.length;t{v(n)||""===n?xo(e,t):vo(e,t,n)},di=e=>e.replace(/[A-Z]/g,e=>"-"+e.toLowerCase()),mi=(e,t)=>{let n=0;if(e)for(let o=e.nodeType,r=e.previousSibling;r;r=r.previousSibling){const e=r.nodeType;(!t||!ss(r)||e!==o&&r.data.length)&&(n++,o=e)}return n},ui=(e,t)=>{const n=wo(t,"style"),o=e.serialize(e.parse(n),En(t));ci(t,ii,o)},fi=(e,t,n)=>{const o=di(t);v(n)||""===n?Wo(e,o):zo(e,o,((e,t)=>S(e)?ke(li,t)?e+"":e+"px":e)(n,o))},gi=(e,t={})=>{const n={},o=window,r={};let s=0;const a=sa.forElement(un.fromDom(e),{contentCssCors:t.contentCssCors,referrerPolicy:t.referrerPolicy,crossOrigin:e=>{const n=t.crossOrigin;return w(n)?n(e,"stylesheet"):void 0}}),i=[],l=t.schema?t.schema:Ua({}),c=Ga({url_converter:t.url_converter,url_converter_scope:t.url_converter_scope},t.schema),d=t.ownEvents?new ri:ri.Event,m=l.getBlockElements(),f=t=>t&&e&&u(t)?e.getElementById(t):t,h=e=>{const t=f(e);return C(t)?un.fromDom(t):null},b=(e,t,n="")=>{let o;const r=h(e);if(C(r)&&An(r)){const e=G[t];o=e&&e.get?e.get(r.dom,t):wo(r,t)}return C(o)?o:n},y=e=>{const t=f(e);return v(t)?[]:t.attributes},S=(e,n,o)=>{O(e,e=>{if(Xr(e)){const r=un.fromDom(e),s=""===o?null:o,a=wo(r,n),i=G[n];i&&i.set?i.set(r.dom,s,n):ci(r,n,s),a!==s&&t.onSetAttrib&&t.onSetAttrib({attrElm:r.dom,attrName:n,attrValue:s})}})},E=()=>t.root_element||e.body,k=(t,n)=>((e,t,n)=>{let o=0,r=0;const s=e.ownerDocument;if(n=n||e,t){if(n===e&&t.getBoundingClientRect&&"static"===$o(un.fromDom(e),"position")){const n=t.getBoundingClientRect();return o=n.left+(s.documentElement.scrollLeft||e.scrollLeft)-s.documentElement.clientLeft,r=n.top+(s.documentElement.scrollTop||e.scrollTop)-s.documentElement.clientTop,{x:o,y:r}}let a=t;for(;a&&a!==n&&a.nodeType&&!oa(a,n);){const e=a;o+=e.offsetLeft||0,r+=e.offsetTop||0,a=e.offsetParent}for(a=t.parentNode;a&&a!==n&&a.nodeType&&!oa(a,n);)o-=a.scrollLeft||0,r-=a.scrollTop||0,a=a.parentNode;r+=(e=>ta.isFirefox()&&"table"===En(e)?na(Vn(e)).filter(e=>"caption"===En(e)).bind(e=>na(Hn(e)).map(t=>{const n=t.dom.offsetTop,o=e.dom.offsetTop,r=e.dom.offsetHeight;return n<=o?-r:0})).getOr(0):0)(un.fromDom(t))}return{x:o,y:r}})(e.body,f(t),n),_=(e,t,n)=>{const o=f(e);var r;if(!v(o)&&(Qr(o)||Xr(r=o)&&"http://www.w3.org/2000/svg"===r.namespaceURI))return n?$o(un.fromDom(o),di(t)):("float"===(t=t.replace(/-(\D)/g,(e,t)=>t.toUpperCase()))&&(t="cssFloat"),o.style?o.style[t]:void 0)},A=e=>{const t=f(e);if(!t)return{w:0,h:0};let n=_(t,"width"),o=_(t,"height");return n&&-1!==n.indexOf("px")||(n="0"),o&&-1!==o.indexOf("px")||(o="0"),{w:parseInt(n,10)||t.offsetWidth||t.clientWidth,h:parseInt(o,10)||t.offsetHeight||t.clientHeight}},R=(e,t)=>{if(!e)return!1;const n=p(e)?e:[e];return H(n,e=>bn(un.fromDom(e),t))},D=(e,t,n,o)=>{const r=[];let s=f(e);o=void 0===o;const a=n||("BODY"!==E().nodeName?E().parentNode:null);if(u(t))if("*"===t)t=Xr;else{const e=t;t=t=>R(t,e)}for(;s&&!(s===a||v(s.nodeType)||cs(s)||ds(s));){if(!t||t(s)){if(!o)return[s];r.push(s)}s=s.parentNode}return o?r:null},T=(e,t,n)=>{let o=t;if(e){u(t)&&(o=e=>R(e,t));for(let t=e[n];t;t=t[n])if(w(o)&&o(t))return t}return null},O=function(e,t,n){const o=n??this;if(p(e)){const n=[];return si(e,(e,r)=>{const s=f(e);s&&n.push(t.call(o,s,r))}),n}{const n=f(e);return!!n&&t.call(o,n)}},B=(e,t)=>{O(e,e=>{he(t,(t,n)=>{S(e,n,t)})})},P=(e,t)=>{O(e,e=>{const n=un.fromDom(e);Mo(n,t)})},L=(t,n,o,r,s)=>O(t,t=>{const a=u(n)?e.createElement(n):n;return C(o)&&B(a,o),r&&(!u(r)&&r.nodeType?a.appendChild(r):u(r)&&P(a,r)),s?a:t.appendChild(a)}),M=(t,n,o)=>L(e.createElement(t),t,n,o,!0),I=Sa.encodeAllRaw,F=(e,t)=>O(e,e=>{const n=un.fromDom(e);return t&&q(Vn(n),e=>{Rn(e)&&0===e.dom.length?Ao(e):mo(n,e)}),Ao(n),n.dom}),U=(e,t,n)=>{O(e,e=>{if(Xr(e)){const o=un.fromDom(e),r=t.split(" ");q(r,e=>{C(n)?(n?yr:Cr)(o,e):((e,t)=>{const n=gr(e)?e.dom.classList.toggle(t):((e,t)=>$(pr(e),t)?br(e,t):hr(e,t))(e,t);vr(e)})(o,e)})}})},z=(e,t,n)=>O(t,o=>{const r=p(t)?e.cloneNode(!0):e;return n&&si(ai(o.childNodes),e=>{r.appendChild(e)}),o.parentNode?.replaceChild(r,o),o}),j=()=>e.createRange(),V=(n,r,s,a)=>{if(p(n)){let e=n.length;const t=[];for(;e--;)t[e]=V(n[e],r,s,a);return t}return!t.collect||n!==e&&n!==o||i.push([n,r,s,a]),d.bind(n,r,s,a||Y)},W=(t,n,r)=>{if(p(t)){let e=t.length;const o=[];for(;e--;)o[e]=W(t[e],n,r);return o}if(i.length>0&&(t===e||t===o)){let e=i.length;for(;e--;){const[o,s,a]=i[e];t!==o||n&&n!==s||r&&r!==a||d.unbind(o,s,a)}}return d.unbind(t,n,r)},K=e=>{if(e&&Qr(e)){const t=e.getAttribute("data-mce-contenteditable");return t&&"inherit"!==t?t:"inherit"!==e.contentEditable?e.contentEditable:null}return null},Y={doc:e,settings:t,win:o,files:r,stdMode:!0,boxModel:!0,styleSheetLoader:a,boundEvents:i,styles:c,schema:l,events:d,isBlock:e=>u(e)?ke(m,e):Xr(e)&&(ke(m,e.nodeName)||Zs(l,e)),root:null,clone:(e,t)=>e.cloneNode(t),getRoot:E,getViewPort:e=>{const t=Wr(e);return{x:t.x,y:t.y,w:t.width,h:t.height}},getRect:e=>{const t=f(e),n=k(t),o=A(t);return{x:n.x,y:n.y,w:o.w,h:o.h}},getSize:A,getParent:(e,t,n)=>{const o=D(e,t,n,!1);return o&&o.length>0?o[0]:null},getParents:D,get:f,getNext:(e,t)=>T(e,t,"nextSibling"),getPrev:(e,t)=>T(e,t,"previousSibling"),select:(n,o)=>{const r=f(o)??t.root_element??e;return w(r.querySelectorAll)?me(r.querySelectorAll(n)):[]},is:R,add:L,create:M,createHTML:(e,t,n="")=>{let o="<"+e;for(const e in t)_e(t,e)&&(o+=" "+e+'="'+I(t[e])+'"');return rt(n)&&ke(l.getVoidElements(),e)?o+" />":o+">"+n+""},createFragment:t=>{const n=e.createElement("div"),o=e.createDocumentFragment();let r;for(o.appendChild(n),t&&(n.innerHTML=t);r=n.firstChild;)o.appendChild(r);return o.removeChild(n),o},remove:F,setStyle:(e,n,o)=>{O(e,e=>{const r=un.fromDom(e);fi(r,n,o),t.update_styles&&ui(c,r)})},getStyle:_,setStyles:(e,n)=>{O(e,e=>{const o=un.fromDom(e);he(n,(e,t)=>{fi(o,t,e)}),t.update_styles&&ui(c,o)})},removeAllAttribs:e=>O(e,e=>{const t=e.attributes;for(let n=t.length-1;n>=0;n--)e.removeAttributeNode(t.item(n))}),setAttrib:S,setAttribs:B,getAttrib:b,getPos:k,parseStyle:e=>c.parse(e),serializeStyle:(e,t)=>c.serialize(e,t),addStyle:t=>{if(Y!==gi.DOM&&e===document){if(n[t])return;n[t]=!0}let o=e.getElementById("mceDefaultStyles");if(!o){o=e.createElement("style"),o.id="mceDefaultStyles",o.type="text/css";const t=e.head;t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o)}o.styleSheet?o.styleSheet.cssText+=t:o.appendChild(e.createTextNode(t))},loadCSS:e=>{e||(e=""),q(e.split(","),e=>{r[e]=!0,a.load(e).catch(x)})},addClass:(e,t)=>{U(e,t,!0)},removeClass:(e,t)=>{U(e,t,!1)},hasClass:(e,t)=>{const n=h(e),o=t.split(" ");return C(n)&&oe(o,e=>wr(n,e))},toggleClass:U,show:e=>{O(e,e=>Wo(un.fromDom(e),"display"))},hide:e=>{O(e,e=>zo(un.fromDom(e),"display","none"))},isHidden:e=>{const t=h(e);return C(t)&&ze(Vo(t,"display"),"none")},uniqueId:e=>(e||"mce_")+s++,setHTML:P,getOuterHTML:e=>{const t=h(e);return C(t)?Xr(t.dom)?t.dom.outerHTML:(e=>{const t=un.fromTag("div"),n=un.fromDom(e.dom.cloneNode(!0));return go(t,n),Lo(t)})(t):""},setOuterHTML:(e,t)=>{O(e,e=>{Xr(e)&&(e.outerHTML=t)})},decode:Sa.decode,encode:I,insertAfter:(e,t)=>{const n=f(t);return O(e,e=>{const t=n?.parentNode,o=n?.nextSibling;return t&&(o?t.insertBefore(e,o):t.appendChild(e)),e})},replace:z,rename:(e,t)=>{if(e.nodeName!==t.toUpperCase()){const n=M(t);return si(y(e),t=>{S(n,t.nodeName,b(e,t.nodeName))}),z(n,e,!0),n}return e},findCommonAncestor:(e,t)=>{let n=e;for(;n;){let e=t;for(;e&&n!==e;)e=e.parentNode;if(n===e)break;n=n.parentNode}return!n&&e.ownerDocument?e.ownerDocument.documentElement:n},run:O,getAttribs:y,isEmpty:(e,t,n)=>{if(g(t)){const o=e=>{const n=e.nodeName.toLowerCase();return Boolean(t[n])};return Ps(l,e,{...n,isContent:o})}return Ps(l,e,n)},createRng:j,nodeIndex:mi,split:(e,t,n)=>{let o,r,s=j();if(e&&t&&e.parentNode&&t.parentNode){const a=e.parentNode;return s.setStart(a,mi(e)),s.setEnd(t.parentNode,mi(t)),o=s.extractContents(),s=j(),s.setStart(t.parentNode,mi(t)+1),s.setEnd(a,mi(e)+1),r=s.extractContents(),a.insertBefore(la(Y,o,l),e),n?a.insertBefore(n,e):a.insertBefore(t,e),a.insertBefore(la(Y,r,l),e),F(e),n||t}},bind:V,unbind:W,fire:(e,t,n)=>d.dispatch(e,t,n),dispatch:(e,t,n)=>d.dispatch(e,t,n),getContentEditable:K,getContentEditableParent:e=>{const t=E();let n=null;for(let o=e;o&&o!==t&&(n=K(o),null===n);o=o.parentNode);return n},isEditable:e=>{if(C(e)){const t=Xr(e)?e:e.parentElement;return C(t)&&Qr(t)&&Sr(un.fromDom(t))}return!1},destroy:()=>{if(i.length>0){let e=i.length;for(;e--;){const[t,n,o]=i[e];d.unbind(t,n,o)}}he(r,(e,t)=>{a.unload(t),delete r[t]})},isChildOf:(e,t)=>e===t||t.contains(e),dumpRng:e=>"startContainer: "+e.startContainer.nodeName+", startOffset: "+e.startOffset+", endContainer: "+e.endContainer.nodeName+", endOffset: "+e.endOffset},G=((e,t,n)=>{const o=t.keep_values,r={set:(e,o,r)=>{const s=un.fromDom(e);w(t.url_converter)&&C(o)&&(o=t.url_converter.call(t.url_converter_scope||n(),String(o),r,e)),ci(s,"data-mce-"+r,o),ci(s,r,o)},get:(e,t)=>{const n=un.fromDom(e);return wo(n,"data-mce-"+t)||wo(n,t)}},s={style:{set:(t,n)=>{const r=un.fromDom(t);o&&ci(r,ii,n),xo(r,"style"),u(n)&&jo(r,e.parse(n))},get:t=>{const n=un.fromDom(t),o=wo(n,ii)||wo(n,"style");return e.serialize(e.parse(o),En(n))}}};return o&&(s.href=s.src=r),s})(c,t,N(Y));return Y};gi.DOM=gi(document),gi.nodeIndex=mi;const pi=gi.DOM;class hi{static ScriptLoader=new hi;settings;states={};queue=[];scriptLoadedCallbacks={};queueLoadedCallbacks=[];loading=!1;constructor(e={}){this.settings=e}_setReferrerPolicy(e){this.settings.referrerPolicy=e}_setCrossOrigin(e){this.settings.crossOrigin=e}loadScript(e){return new Promise((t,n)=>{const o=pi,r=document;let s;const a=()=>{o.remove(i),s&&(s.onerror=s.onload=s=null)},i=o.uniqueId();s=r.createElement("script"),s.id=i,s.type="text/javascript",s.src=dn._addCacheSuffix(e),this.settings.referrerPolicy&&o.setAttrib(s,"referrerpolicy",this.settings.referrerPolicy);const l=this.settings.crossOrigin;if(w(l)){const t=l(e);void 0!==t&&o.setAttrib(s,"crossorigin",t)}s.onload=()=>{a(),t()},s.onerror=()=>{a(),n("Failed to load script: "+e)},(r.head||r.body).appendChild(s)})}isDone(e){return 2===this.states[e]}markDone(e){this.states[e]=2}add(e){const t=this;return t.queue.push(e),void 0===t.states[e]&&(t.states[e]=0),new Promise((n,o)=>{t.scriptLoadedCallbacks[e]||(t.scriptLoadedCallbacks[e]=[]),t.scriptLoadedCallbacks[e].push({resolve:n,reject:o})})}load(e){return this.add(e)}remove(e){delete this.states[e],delete this.scriptLoadedCallbacks[e]}loadQueue(){const e=this.queue;return this.queue=[],this.loadScripts(e)}loadScripts(e){const t=this,n=(e,n)=>{xe(t.scriptLoadedCallbacks,n).each(t=>{q(t,t=>t[e](n))}),delete t.scriptLoadedCallbacks[n]},o=e=>{const t=Y(e,e=>"rejected"===e.status);return t.length>0?Promise.reject(ne(t,({reason:e})=>p(e)?e:[e])):Promise.resolve()},r=e=>Promise.allSettled(V(e,e=>2===t.states[e]?(n("resolve",e),Promise.resolve()):3===t.states[e]?(n("reject",e),Promise.reject(e)):(t.states[e]=1,t.loadScript(e).then(()=>{t.states[e]=2,n("resolve",e);const s=t.queue;return s.length>0?(t.queue=[],r(s).then(o)):Promise.resolve()},()=>(t.states[e]=3,n("reject",e),Promise.reject(e)))))),s=e=>(t.loading=!0,r(e).then(e=>{t.loading=!1;const n=t.queueLoadedCallbacks.shift();return I.from(n).each(P),o(e)})),a=ut(e);return t.loading?new Promise((e,n)=>{t.queueLoadedCallbacks.push(()=>{s(a).then(e,n)})}):s(a)}getScriptAttributes(e){const t={};this.settings.referrerPolicy&&(t.referrerpolicy=this.settings.referrerPolicy);const n=this.settings.crossOrigin;if(w(n)){const o=n(e);u(o)&&(t.crossorigin=o)}return t}}const bi={},yi=Ae("en"),vi=()=>xe(bi,yi.get()),Ci={getData:()=>be(bi,e=>({...e})),setCode:e=>{e&&yi.set(e)},getCode:()=>yi.get(),add:(e,t)=>{let n=bi[e];n||(bi[e]=n={});const o=V(ge(t),e=>e.toLowerCase());he(t,(e,r)=>{const s=r.toLowerCase();s!==r&&((e,t)=>{const n=e.indexOf(t);return-1!==n&&e.indexOf(t,n+1)>n})(o,s)?(ke(t,s)||(n[s]=e),n[r]=e):n[s]=e})},translate:e=>{const t=vi().getOr({}),n=e=>w(e)?Object.prototype.toString.call(e):o(e)?"":""+e,o=e=>""===e||null==e,r=e=>{const o=n(e);return ke(t,o)?n(t[o]):xe(t,o.toLowerCase()).map(n).getOr(o)},s=e=>e.replace(/{context:\w+}$/,""),a=e=>e.replaceAll("...","\u2026");if(o(e))return"";if(f(i=e)&&ke(i,"raw"))return a(n(e.raw));var i;if((e=>p(e)&&e.length>1)(e)){const t=e.slice(1);return a(s(r(e[0]).replace(/\{([0-9]+)\}/g,(e,o)=>ke(t,o)?n(t[o]):e)))}return a(s(r(e)))},isRtl:()=>vi().bind(e=>xe(e,"_dir")).exists(e=>"rtl"===e),hasCode:e=>ke(bi,e)},wi=()=>{const e=[],t={},n={},o=[],r=(e,t)=>{const n=Y(o,n=>n.name===e&&n.state===t);q(n,e=>e.resolve())},s=e=>ke(t,e),a=(e,n)=>{const o=Ci.getCode();!o||n&&-1===(","+(n||"")+",").indexOf(","+o+",")||hi.ScriptLoader.add(t[e]+"/langs/"+o+".js")},i=(e,t="added")=>"added"===t&&(e=>ke(n,e))(e)||"loaded"===t&&s(e)?Promise.resolve():new Promise(n=>{o.push({name:e,state:t,resolve:n})});return{items:e,urls:t,lookup:n,get:e=>{if(n[e])return n[e].instance},requireLangPack:(e,t)=>{!1!==wi.languageLoad&&(s(e)?a(e,t):i(e,"loaded").then(()=>a(e,t)))},add:(t,o)=>(e.push(o),n[t]={instance:o},r(t,"added"),o),remove:e=>{delete t[e],delete n[e]},createUrl:(e,t)=>u(t)?u(e)?{prefix:"",resource:t,suffix:""}:{prefix:e.prefix,resource:t,suffix:e.suffix}:t,load:(e,o)=>{if(t[e])return Promise.resolve();let s=u(o)?o:o.prefix+o.resource+o.suffix;0!==s.indexOf("/")&&-1===s.indexOf("://")&&(s=wi.baseURL+"/"+s),t[e]=s.substring(0,s.lastIndexOf("/"));const a=()=>(r(e,"loaded"),Promise.resolve());return n[e]?a():hi.ScriptLoader.add(s).then(a)},waitFor:i}};wi.languageLoad=!0,wi.baseURL="",wi.PluginManager=wi(),wi.ThemeManager=wi(),wi.ModelManager=wi();const Si=N("mce-annotation"),Ei=N("data-mce-annotation"),xi=N("data-mce-annotation-uid"),ki=N("data-mce-annotation-active"),_i=N("data-mce-annotation-classes"),Ni=N("data-mce-annotation-attrs"),Ai=e=>t=>vn(t,e),Ri=(e,t)=>{const n=e.selection.getRng(),o=un.fromDom(n.startContainer),r=un.fromDom(e.getBody()),s=t.fold(()=>"."+Si(),e=>`[${Ei()}="${e}"]`),a=qn(o,n.startOffset).getOr(o);return fr(a,s,Ai(r)).bind(t=>So(t,`${xi()}`).bind(n=>So(t,`${Ei()}`).map(t=>{const o=Ti(e,n);return{uid:n,name:t,elements:o}})))},Di=(e,t)=>Eo(e,"data-mce-bogus")||((e,t,n)=>mr(e,'[data-mce-bogus="all"]',n).isSome())(e,0,Ai(t)),Ti=(e,t)=>{const n=un.fromDom(e.getBody()),o=Ar(n,`[${xi()}="${t}"]`);return Y(o,e=>!Di(e,n))},Oi=(e,t)=>{const n=un.fromDom(e.getBody()),o=Ar(n,`[${Ei()}="${t}"]`),r={};return q(o,e=>{if(!Di(e,n)){const t=wo(e,xi()),n=xe(r,t).getOr([]);r[t]=n.concat([e])}}),r},Bi=(e,t,n=L)=>{const o=new Kr(e,t),r=e=>{let t;do{t=o[e]()}while(t&&!ss(t)&&!n(t));return I.from(t).filter(ss)};return{current:()=>I.from(o.current()).filter(ss),next:()=>r("next"),prev:()=>r("prev"),prev2:()=>r("prev2")}},Pi=(e,t)=>{const n=t||(t=>e.isBlock(t)||ms(t)||ps(t)),o=(e,t,n,r)=>{if(ss(e)){const n=r(e,t,e.data);if(-1!==n)return I.some({container:e,offset:n})}return n().bind(e=>o(e.container,e.offset,n,r))};return{backwards:(t,r,s,a)=>{const i=Bi(t,a??e.getRoot(),n);return o(t,r,()=>i.prev().map(e=>({container:e,offset:e.length})),s).getOrNull()},forwards:(t,r,s,a)=>{const i=Bi(t,a??e.getRoot(),n);return o(t,r,()=>i.next().map(e=>({container:e,offset:0})),s).getOrNull()}}},Li=e=>{let t;return n=>(t=t||ae(e,M),ke(t,En(n)))},Mi=e=>An(e)&&"br"===En(e),Ii=e=>An(e)&&"script"===En(e),Fi=e=>An(e)&&"style"===En(e),Ui=Li(["h1","h2","h3","h4","h5","h6","p","div","address","pre","form","blockquote","center","dir","fieldset","header","footer","article","section","hgroup","aside","nav","figure"]),zi=Li(["ul","ol","dl"]),ji=Li(["li","dd","dt"]),$i=Li(["thead","tbody","tfoot"]),Hi=Li(["td","th"]),Vi=Li(["pre","script","textarea","style"]),qi=()=>{const e=un.fromTag("br");return vo(e,"data-mce-bogus","1"),e},Wi=e=>{No(e),go(e,qi())},Ki=ct,Yi=mt,Gi=e=>e.replace(/\uFEFF/g,""),Xi=Xr,Qi=ss,Zi=e=>(Qi(e)&&(e=e.parentNode),Xi(e)&&e.hasAttribute("data-mce-caret")),Ji=e=>Qi(e)&&Yi(e.data),el=e=>Zi(e)||Ji(e),tl=e=>e.firstChild!==e.lastChild||!ms(e.firstChild),nl=e=>{const t=e.container();return!!ss(t)&&(t.data.charAt(e.offset())===Ki||e.isAtStart()&&Ji(t.previousSibling))},ol=e=>{const t=e.container();return!!ss(t)&&(t.data.charAt(e.offset()-1)===Ki||e.isAtEnd()&&Ji(t.nextSibling))},rl=e=>Qi(e)&&e.data[0]===Ki,sl=e=>Qi(e)&&e.data[e.data.length-1]===Ki,al=e=>e&&e.hasAttribute("data-mce-caret")?((e=>{const t=e.getElementsByTagName("br"),n=t[t.length-1];ts(n)&&n.parentNode?.removeChild(n)})(e),e.removeAttribute("data-mce-caret"),e.removeAttribute("data-mce-bogus"),e.removeAttribute("style"),e.removeAttribute("data-mce-style"),e.removeAttribute("_moz_abspos"),e):null,il=e=>Zi(e.startContainer),ll=Math.round,cl=e=>e?{left:ll(e.left),top:ll(e.top),bottom:ll(e.bottom),right:ll(e.right),width:ll(e.width),height:ll(e.height)}:{left:0,top:0,bottom:0,right:0,width:0,height:0},dl=(e,t)=>(e=cl(e),t||(e.left=e.left+e.width),e.right=e.left,e.width=0,e),ml=(e,t,n)=>e>=0&&e<=Math.min(t.height,n.height)/2,ul=(e,t)=>{const n=Math.min(t.height/2,e.height/2);return e.bottom-nt.bottom)&&ml(t.top-e.bottom,e,t)},fl=(e,t)=>e.top>t.bottom||!(e.bottom{const o=Math.max(Math.min(t,e.left+e.width),e.left),r=Math.max(Math.min(n,e.top+e.height),e.top);return Math.sqrt((t-o)*(t-o)+(n-r)*(n-r))},pl=e=>{const t=e.startContainer,n=e.startOffset;return t===e.endContainer&&t.hasChildNodes()&&e.endOffset===n+1?t.childNodes[n]:null},hl=(e,t)=>{if(Xr(e)&&e.hasChildNodes()){const n=e.childNodes,o=((e,t,n)=>Math.min(Math.max(e,0),n))(t,0,n.length-1);return n[o]}return e},bl=new RegExp("[\u0300-\u036f\u0483-\u0487\u0488-\u0489\u0591-\u05bd\u05bf\u05c1-\u05c2\u05c4-\u05c5\u05c7\u0610-\u061a\u064b-\u065f\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7-\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u08e3-\u0902\u093a\u093c\u0941-\u0948\u094d\u0951-\u0957\u0962-\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2-\u09e3\u0a01-\u0a02\u0a3c\u0a41-\u0a42\u0a47-\u0a48\u0a4b-\u0a4d\u0a51\u0a70-\u0a71\u0a75\u0a81-\u0a82\u0abc\u0ac1-\u0ac5\u0ac7-\u0ac8\u0acd\u0ae2-\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62-\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c00\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55-\u0c56\u0c62-\u0c63\u0c81\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc-\u0ccd\u0cd5-\u0cd6\u0ce2-\u0ce3\u0d01\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62-\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb-\u0ebc\u0ec8-\u0ecd\u0f18-\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86-\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039-\u103a\u103d-\u103e\u1058-\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085-\u1086\u108d\u109d\u135d-\u135f\u1712-\u1714\u1732-\u1734\u1752-\u1753\u1772-\u1773\u17b4-\u17b5\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927-\u1928\u1932\u1939-\u193b\u1a17-\u1a18\u1a1b\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1ab0-\u1abd\u1abe\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80-\u1b81\u1ba2-\u1ba5\u1ba8-\u1ba9\u1bab-\u1bad\u1be6\u1be8-\u1be9\u1bed\u1bef-\u1bf1\u1c2c-\u1c33\u1c36-\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1cf4\u1cf8-\u1cf9\u1dc0-\u1df5\u1dfc-\u1dff\u200c-\u200d\u20d0-\u20dc\u20dd-\u20e0\u20e1\u20e2-\u20e4\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302d\u302e-\u302f\u3099-\u309a\ua66f\ua670-\ua672\ua674-\ua67d\ua69e-\ua69f\ua6f0-\ua6f1\ua802\ua806\ua80b\ua825-\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\ua9e5\uaa29-\uaa2e\uaa31-\uaa32\uaa35-\uaa36\uaa43\uaa4c\uaa7c\uaab0\uaab2-\uaab4\uaab7-\uaab8\uaabe-\uaabf\uaac1\uaaec-\uaaed\uaaf6\uabe5\uabe8\uabed\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\uff9e-\uff9f]"),yl=e=>u(e)&&e.charCodeAt(0)>=768&&bl.test(e),vl=gs,Cl=ps,wl=ms,Sl=ss,El=Jr(["script","style","textarea"]),xl=Jr(["img","input","textarea","hr","iframe","video","audio","object","embed"]),kl=Jr(["table"]),_l=el,Nl=e=>!_l(e)&&(Sl(e)?!El(e.parentNode):xl(e)||wl(e)||kl(e)||Al(e)),Al=e=>!(e=>Xr(e)&&"true"===e.getAttribute("unselectable"))(e)&&Cl(e),Rl=(e,t)=>Nl(e)&&((e,t)=>{for(let n=e.parentNode;n&&n!==t;n=n.parentNode){if(Al(n))return!1;if(vl(n))return!0}return!0})(e,t),Dl=Xr,Tl=Nl,Ol=es("display","block table"),Bl=es("float","left right"),Pl=((...e)=>t=>{for(let n=0;nt<0&&Xr(e)&&e.hasChildNodes()?void 0:hl(e,t),zl=e=>e?e.createRange():gi.DOM.createRng(),jl=e=>u(e)&&/[\r\n\t ]/.test(e),$l=e=>!!e.setStart&&!!e.setEnd,Hl=e=>{const t=e.startContainer,n=e.startOffset;if(jl(e.toString())&&Ll(t.parentNode)&&ss(t)){const e=t.data;if(jl(e[n-1])||jl(e[n+1]))return!0}return!1},Vl=e=>0===e.left&&0===e.right&&0===e.top&&0===e.bottom,ql=e=>{let t;const n=e.getClientRects();return t=n.length>0?cl(n[0]):cl(e.getBoundingClientRect()),!$l(e)&&Il(e)&&Vl(t)?(e=>{const t=e.ownerDocument,n=zl(t),o=t.createTextNode(dt),r=e.parentNode;r.insertBefore(o,e),n.setStart(o,0),n.setEnd(o,1);const s=cl(n.getBoundingClientRect());return r.removeChild(o),s})(e):Vl(t)&&$l(e)?(e=>{const t=e.startContainer,n=e.endContainer,o=e.startOffset,r=e.endOffset;if(t===n&&ss(n)&&0===o&&1===r){const t=e.cloneRange();return t.setEndAfter(n),ql(t)}return null})(e)??t:t},Wl=(e,t)=>{const n=dl(e,t);return n.width=1,n.right=n.left+1,n},Kl=(e,t,n)=>{const o=()=>(n||(n=(e=>{const t=[],n=e=>{var n,o;0!==e.height&&(t.length>0&&(n=e,o=t[t.length-1],n.left===o.left&&n.top===o.top&&n.bottom===o.bottom&&n.right===o.right)||t.push(e))},o=(e,t)=>{const o=zl(e.ownerDocument);if(t0&&(o.setStart(e,t-1),o.setEnd(e,t),Hl(o)||n(Wl(ql(o),!1))),t{const n=zl(e.ownerDocument);return n.setStart(e,t),n.setEnd(e,t),n},getClientRects:o,isVisible:()=>o().length>0,isAtStart:()=>(Ml(e),0===t),isAtEnd:()=>Ml(e)?t>=e.data.length:t>=e.childNodes.length,isEqual:n=>n&&e===n.container()&&t===n.offset(),getNode:n=>Ul(e,n?t-1:t)}};Kl.fromRangeStart=e=>Kl(e.startContainer,e.startOffset),Kl.fromRangeEnd=e=>Kl(e.endContainer,e.endOffset),Kl.after=e=>Kl(e.parentNode,Fl(e)+1),Kl.before=e=>Kl(e.parentNode,Fl(e)),Kl.isAbove=(e,t)=>$e(ce(t.getClientRects()),de(e.getClientRects()),ul).getOr(!1),Kl.isBelow=(e,t)=>$e(de(t.getClientRects()),ce(e.getClientRects()),fl).getOr(!1),Kl.isAtStart=e=>!!e&&e.isAtStart(),Kl.isAtEnd=e=>!!e&&e.isAtEnd(),Kl.isTextPosition=e=>!!e&&ss(e.container()),Kl.isElementPosition=e=>!Kl.isTextPosition(e);const Yl=(e,t)=>{ss(t)&&0===t.data.length&&e.remove(t)},Gl=(e,t,n)=>{ds(n)?((e,t,n)=>{const o=I.from(n.firstChild),r=I.from(n.lastChild);t.insertNode(n),o.each(t=>Yl(e,t.previousSibling)),r.each(t=>Yl(e,t.nextSibling))})(e,t,n):((e,t,n)=>{t.insertNode(n),Yl(e,n.previousSibling),Yl(e,n.nextSibling)})(e,t,n)},Xl=ss,Ql=ts,Zl=gi.nodeIndex,Jl=e=>{const t=e.parentNode;return Ql(t)?Jl(t):t},ec=e=>e?yt(e.childNodes,(e,t)=>(Ql(t)&&"BR"!==t.nodeName?e=e.concat(ec(t)):e.push(t),e),[]):[],tc=e=>t=>e===t,nc=e=>(Xl(e)?"text()":e.nodeName.toLowerCase())+"["+(e=>{let t,n;t=ec(Jl(e)),n=vt(t,tc(e),e),t=t.slice(0,n+1);const o=yt(t,(e,n,o)=>(Xl(n)&&Xl(t[o-1])&&e++,e),0);return t=bt(t,Jr([e.nodeName])),n=vt(t,tc(e),e),n-o})(e)+"]",oc=(e,t)=>{let n,o=[],r=t.container(),s=t.offset();if(Xl(r))n=((e,t)=>{let n=e;for(;(n=n.previousSibling)&&Xl(n);)t+=n.data.length;return t})(r,s);else{const e=r.childNodes;s>=e.length?(n="after",s=e.length-1):n="before",r=e[s]}o.push(nc(r));let a=((e,t)=>{const n=[];for(let o=t.parentNode;o&&o!==e;o=o.parentNode)n.push(o);return n})(e,r);return a=bt(a,T(ts)),o=o.concat(ht(a,e=>nc(e))),o.reverse().join("/")+","+n},rc=(e,t)=>{if(!t)return null;const n=t.split(","),o=n[0].split("/"),r=n.length>1?n[1]:"before",s=yt(o,(e,t)=>{const n=/([\w\-\(\)]+)\[([0-9]+)\]/.exec(t);return n?("text()"===n[1]&&(n[1]="#text"),((e,t,n)=>{let o=ec(e);return o=bt(o,(e,t)=>!Xl(e)||!Xl(o[t-1])),o=bt(o,Jr([t])),o[n]})(e,n[1],parseInt(n[2],10))):null},e);if(!s)return null;if(!Xl(s)&&s.parentNode){let e;return e="after"===r?Zl(s)+1:Zl(s),Kl(s.parentNode,e)}return((e,t)=>{let n=e,o=0;for(;Xl(n);){const r=n.data.length;if(t>=o&&t<=o+r){e=n,t-=o;break}if(!Xl(n.nextSibling)){e=n,t=r;break}o+=r,n=n.nextSibling}return Xl(e)&&t>e.data.length&&(t=e.data.length),Kl(e,t)})(s,parseInt(r,10))},sc=ps,ac=(e,t,n,o,r)=>{const s=r?o.startContainer:o.endContainer;let a=r?o.startOffset:o.endOffset;const i=[],l=e.getRoot();if(ss(s))i.push(n?((e,t,n)=>{let o=e(t.data.slice(0,n)).length;for(let n=t.previousSibling;n&&ss(n);n=n.previousSibling)o+=e(n.data).length;return o})(t,s,a):a);else{let t=0;const o=s.childNodes;a>=o.length&&o.length&&(t=1,a=Math.max(0,o.length-1)),i.push(e.nodeIndex(o[a],n)+t)}for(let t=s;t&&t!==l;t=t.parentNode)i.push(e.nodeIndex(t,n));return i},ic=(e,t,n)=>{let o=0;return dn.each(e.select(t),e=>"all"===e.getAttribute("data-mce-bogus")?void 0:e!==n&&void o++),o},lc=(e,t)=>{let n=t?e.startContainer:e.endContainer,o=t?e.startOffset:e.endOffset;if(Xr(n)&&"TR"===n.nodeName){const r=n.childNodes;n=r[Math.min(t?o:o-1,r.length-1)],n&&(o=t?0:n.childNodes.length,t?e.setStart(n,o):e.setEnd(n,o))}},cc=e=>(lc(e,!0),lc(e,!1),e),dc=(e,t)=>{if(Xr(e)&&(e=hl(e,t),sc(e)))return e;if(el(e)){ss(e)&&Zi(e)&&(e=e.parentNode);let t=e.previousSibling;if(sc(t))return t;if(t=e.nextSibling,sc(t))return t}},mc=(e,t,n)=>{const o=n.getNode(),r=n.getRng();if("IMG"===o.nodeName||sc(o)){const e=o.nodeName;return{name:e,index:ic(n.dom,e,o)}}const s=(e=>dc(e.startContainer,e.startOffset)||dc(e.endContainer,e.endOffset))(r);if(s){const e=s.tagName;return{name:e,index:ic(n.dom,e,s)}}return((e,t,n,o)=>{const r=t.dom,s=ac(r,e,n,o,!0),a=t.isForward(),i=il(o)?{isFakeCaret:!0}:{};return t.isCollapsed()?{start:s,forward:a,...i}:{start:s,end:ac(r,e,n,o,!1),forward:a,...i}})(e,n,t,r)},uc=(e,t,n)=>{const o={"data-mce-type":"bookmark",id:t,style:"overflow:hidden;line-height:0px"};return n?e.create("span",o,""):e.create("span",o)},fc=(e,t)=>{const n=e.dom;let o=e.getRng();const r=n.uniqueId(),s=e.isCollapsed(),a=e.getNode(),i=a.nodeName,l=e.isForward();if("IMG"===i)return{name:i,index:ic(n,i,a)};const c=cc(o.cloneRange());if(!s){c.collapse(!1);const e=uc(n,r+"_end",t);Gl(n,c,e)}o=cc(o),o.collapse(!0);const d=uc(n,r+"_start",t);return Gl(n,o,d),e.moveToBookmark({id:r,keep:!0,forward:l}),{id:r,forward:l}},gc=D(mc,A,!0),pc=e=>1===e,hc=e=>-1===e;var bc;!function(e){e[e.Error=0]="Error",e[e.Value=1]="Value"}(bc||(bc={}));const yc=(e,t,n)=>e.stype===bc.Error?t(e.serror):n(e.svalue),vc=e=>({stype:bc.Value,svalue:e}),Cc=e=>({stype:bc.Error,serror:e}),wc=yc,Sc=e=>f(e)&&ge(e).length>100?" removed due to size":JSON.stringify(e,null,2),Ec=(e,t)=>Cc([{path:e,getErrorInfo:t}]),xc=e=>({extract:(t,n)=>{return o=e(n),r=e=>((e,t)=>Ec(e,N(t)))(t,e),o.stype===bc.Error?r(o.serror):o;var o,r},toString:N("val")}),kc=xc(vc),_c=N(kc),Nc=(e,t)=>xc(n=>{const o=typeof n;return e(n)?vc(n):Cc(`Expected type: ${t} but got: ${o}`)}),Ac=Nc(S,"number"),Rc=Nc(u,"string"),Dc=Nc(w,"function"),Tc=e=>({tag:"defaultedThunk",process:N(e)}),Oc=(e,t,n)=>{switch(e.tag){case"field":return t(e.key,e.newKey,e.presence,e.prop);case"custom":return n(e.newKey,e.instantiator)}},Bc=e=>{const t=(e=>{const t=[],n=[];return q(e,e=>{yc(e,e=>n.push(e),e=>t.push(e))}),{values:t,errors:n}})(e);return t.errors.length>0?(n=t.errors,k(Cc,te)(n)):vc(t.values);var n},Pc=(e,t,n,o)=>o(xe(e,t).getOrThunk(()=>n(e))),Lc=(e,t,n,o,r)=>{const s=e=>r.extract(t.concat([o]),e),a=e=>e.fold(()=>vc(I.none()),e=>{const n=r.extract(t.concat([o]),e);return s=n,a=I.some,s.stype===bc.Value?{stype:bc.Value,svalue:a(s.svalue)}:s;var s,a});switch(e.tag){case"required":return((e,t,n,o)=>xe(t,n).fold(()=>((e,t,n)=>Ec(e,()=>'Could not find valid *required* value for "'+t+'" in '+Sc(n)))(e,n,t),o))(t,n,o,s);case"defaultedThunk":return Pc(n,o,e.process,s);case"option":return((e,t,n)=>n(xe(e,t)))(n,o,a);case"defaultedOptionThunk":return((e,t,n,o)=>o(xe(e,t).map(t=>!0===t?n(e):t)))(n,o,e.process,a);case"mergeWithThunk":return Pc(n,o,N({}),t=>{const o=Fe(e.process(n),t);return s(o)})}},Mc=e=>({extract:(t,n)=>((e,t,n)=>{const o={},r=[];for(const s of n)Oc(s,(n,s,a,i)=>{const l=Lc(a,e,t,n,i);wc(l,e=>{r.push(...e)},e=>{o[s]=e})},(e,n)=>{o[e]=n(t)});return r.length>0?Cc(r):vc(o)})(t,n,e),toString:()=>{const t=V(e,e=>Oc(e,(e,t,n,o)=>e+" -> "+o.toString(),(e,t)=>"state("+e+")"));return"obj{\n"+t.join("\n")+"}"}}),Ic=e=>({extract:(t,n)=>{const o=V(n,(n,o)=>e.extract(t.concat(["["+o+"]"]),n));return Bc(o)},toString:()=>"array("+e.toString()+")"}),Fc=k(Ic,Mc),Uc=(e,t,n)=>{return o=((e,t,n)=>((e,t)=>e.stype===bc.Error?{stype:bc.Error,serror:t(e.serror)}:e)(t.extract([e],n),e=>({input:n,errors:e})))(e,t,n),yc(o,Te.error,Te.value);var o},zc=e=>"Errors: \n"+(e=>{const t=e.length>10?e.slice(0,10).concat([{path:[],getErrorInfo:N("... (only showing first ten failures)")}]):e;return V(t,e=>"Failed path: ("+e.path.join(" > ")+")\n"+e.getErrorInfo())})(e.errors).join("\n")+"\n\nInput object: "+Sc(e.input),jc=(e,t,n,o)=>({tag:"field",key:e,newKey:t,presence:n,prop:o}),$c=(e,t)=>jc(e,e,{tag:"required",process:{}},t),Hc=e=>$c(e,Rc),Vc=e=>$c(e,Dc),qc=(e,t)=>jc(e,e,{tag:"option",process:{}},t),Wc=e=>qc(e,Rc),Kc=(e,t,n)=>jc(e,e,Tc(t),n),Yc=(e,t)=>Kc(e,t,Ac),Gc=e=>"inline-command"===e.type||"inline-format"===e.type,Xc=e=>"block-command"===e.type||"block-format"===e.type,Qc=e=>{const t=t=>Te.error({message:t,pattern:e}),n=(n,o,r)=>{if(void 0!==e.format){let r;if(p(e.format)){if(!oe(e.format,u))return t(n+" pattern has non-string items in the `format` array");r=e.format}else{if(!u(e.format))return t(n+" pattern has non-string `format` parameter");r=[e.format]}return Te.value(o(r))}return void 0!==e.cmd?u(e.cmd)?Te.value(r(e.cmd,e.value)):t(n+" pattern has non-string `cmd` parameter"):t(n+" pattern is missing both `format` and `cmd` parameters")};if(!f(e))return t("Raw pattern is not an object");if(!u(e.start))return t("Raw pattern is missing `start` parameter");if(void 0!==e.end){if(!u(e.end))return t("Inline pattern has non-string `end` parameter");if(0===e.start.length&&0===e.end.length)return t("Inline pattern has empty `start` and `end` parameters");let o=e.start,r=e.end;return 0===r.length&&(r=o,o=""),n("Inline",e=>({type:"inline-format",start:o,end:r,format:e}),(e,t)=>({type:"inline-command",start:o,end:r,cmd:e,value:t}))}if(void 0!==e.replacement)return u(e.replacement)?0===e.start.length?t("Replacement pattern has empty `start` parameter"):Te.value({type:"inline-command",start:"",end:e.start,cmd:"mceInsertContent",value:e.replacement}):t("Replacement pattern has non-string `replacement` parameter");{const o=e.trigger??"space";return 0===e.start.length?t("Block pattern has empty `start` parameter"):n("Block",t=>({type:"block-format",start:e.start,format:t[0],trigger:o}),(t,n)=>({type:"block-command",start:e.start,cmd:t,value:n,trigger:o}))}},Zc=e=>Y(e,Xc),Jc=e=>Y(e,Gc),ed=(e,t)=>({...e,blockPatterns:Y(e.blockPatterns,e=>((e,t)=>("block-command"===e.type||"block-format"===e.type)&&e.trigger===t)(e,t))}),td=e=>{const t=qe(V(e,Qc));return q(t.errors,e=>console.error(e.message,e.pattern)),t.values},nd=(e,t,n)=>{e.dispatch(t,n)},od=(e,t,n,o)=>{e.dispatch("FormatApply",{format:t,node:n,vars:o})},rd=(e,t,n,o)=>{e.dispatch("FormatRemove",{format:t,node:n,vars:o})},sd=(e,t)=>e.dispatch("SetContent",t),ad=(e,t)=>e.dispatch("GetContent",t),id=(e,t)=>{e.dispatch("AutocompleterUpdateActiveRange",t)},ld=(e,t)=>e.dispatch("PastePlainTextToggle",{state:t}),cd=Xt().deviceType,dd=cd.isTouch(),md=gi.DOM,ud=e=>m(e,RegExp),fd=e=>t=>t.options.get(e),gd=e=>u(e)||f(e),pd=(e,t="")=>n=>{const o=u(n);if(o){if(-1!==n.indexOf("=")){const r=(e=>{const t=e.indexOf("=")>0?e.split(/[;,](?![^=;,]*(?:[;,]|$))/):e.split(",");return X(t,(e,t)=>{const n=t.split("="),o=n[0],r=n.length>1?n[1]:o;return e[et(o)]=et(r),e},{})})(n);return{value:xe(r,e.id).getOr(t),valid:o}}return{value:n,valid:o}}return{valid:!1,message:"Must be a string."}},hd=fd("iframe_attrs"),bd=fd("doctype"),yd=fd("document_base_url"),vd=fd("body_id"),Cd=fd("body_class"),wd=fd("content_security_policy"),Sd=fd("br_in_pre"),Ed=fd("forced_root_block"),xd=fd("forced_root_block_attrs"),kd=fd("newline_behavior"),_d=fd("br_newline_selector"),Nd=fd("no_newline_selector"),Ad=fd("keep_styles"),Rd=fd("end_container_on_empty_block"),Dd=fd("automatic_uploads"),Td=fd("images_reuse_filename"),Od=fd("images_replace_blob_uris"),Bd=fd("icons"),Pd=fd("icons_url"),Ld=fd("images_upload_url"),Md=fd("images_upload_base_path"),Id=fd("images_upload_credentials"),Fd=fd("images_upload_handler"),Ud=fd("content_css_cors"),zd=fd("referrer_policy"),jd=fd("crossorigin"),$d=fd("language"),Hd=fd("language_url"),Vd=fd("indent_use_margin"),qd=fd("indentation"),Wd=fd("content_css"),Kd=fd("content_style"),Yd=fd("content_language"),Gd=fd("font_css"),Xd=fd("directionality"),Qd=fd("inline_boundaries_selector"),Zd=fd("object_resizing"),Jd=fd("resize_img_proportional"),em=fd("placeholder"),tm=fd("event_root"),nm=fd("service_message"),om=fd("theme"),rm=fd("theme_url"),sm=fd("model"),am=fd("model_url"),im=fd("inline_boundaries"),lm=fd("formats"),cm=fd("preview_styles"),dm=fd("format_empty_lines"),mm=fd("format_noneditable_selector"),um=fd("custom_ui_selector"),fm=fd("inline"),gm=fd("hidden_input"),pm=fd("submit_patch"),hm=fd("add_form_submit_trigger"),bm=fd("add_unload_trigger"),ym=fd("custom_undo_redo_levels"),vm=fd("disable_nodechange"),Cm=fd("readonly"),wm=fd("editable_root"),Sm=fd("content_css_cors"),Em=fd("plugins"),xm=fd("external_plugins"),km=fd("block_unsupported_drop"),_m=fd("visual"),Nm=fd("visual_table_class"),Am=fd("visual_anchor_class"),Rm=fd("iframe_aria_text"),Dm=fd("setup"),Tm=fd("init_instance_callback"),Om=fd("urlconverter_callback"),Bm=fd("auto_focus"),Pm=fd("browser_spellcheck"),Lm=fd("protect"),Mm=fd("paste_block_drop"),Im=fd("paste_data_images"),Fm=fd("paste_preprocess"),Um=fd("paste_postprocess"),zm=fd("newdocument_content"),jm=fd("paste_webkit_styles"),$m=fd("paste_remove_styles_if_webkit"),Hm=fd("paste_merge_formats"),Vm=fd("smart_paste"),qm=fd("paste_as_text"),Wm=fd("paste_tab_spaces"),Km=fd("allow_html_data_urls"),Ym=fd("text_patterns"),Gm=fd("text_patterns_lookup"),Xm=fd("allow_noneditable"),Qm=fd("noneditable_class"),Zm=fd("editable_class"),Jm=fd("noneditable_regexp"),eu=fd("preserve_cdata"),tu=fd("highlight_on_focus"),nu=fd("xss_sanitization"),ou=fd("init_content_sync"),ru=e=>dn.explode(e.options.get("images_file_types")),su=fd("table_tab_navigation"),au=fd("details_initial_state"),iu=fd("details_serialized_state"),lu=fd("sandbox_iframes"),cu=e=>e.options.get("sandbox_iframes_exclusions"),du=fd("convert_unsafe_embeds"),mu=fd("license_key"),uu=fd("api_key"),fu=fd("disabled"),gu=fd("user_id"),pu=fd("fetch_users"),hu=fd("lists_indent_on_tab"),bu=e=>I.from(e.options.get("list_max_depth")),yu=Xr,vu=ss,Cu=e=>{const t=e.parentNode;t&&t.removeChild(e)},wu=e=>{const t=Gi(e);return{count:e.length-t.length,text:t}},Su=e=>{let t;for(;-1!==(t=e.data.lastIndexOf(Ki));)e.deleteData(t,1)},Eu=(e,t)=>(ku(e),t),xu=(e,t)=>Kl.isTextPosition(t)?((e,t)=>vu(e)&&t.container()===e?((e,t)=>{const n=wu(e.data.substr(0,t.offset())),o=wu(e.data.substr(t.offset()));return(n.text+o.text).length>0?(Su(e),Kl(e,t.offset()-n.count)):t})(e,t):Eu(e,t))(e,t):((e,t)=>t.container()===e.parentNode?((e,t)=>{const n=t.container(),o=((e,t)=>{const n=j(e,t);return-1===n?I.none():I.some(n)})(me(n.childNodes),e).map(e=>e{yu(e)&&el(e)&&(tl(e)?e.removeAttribute("data-mce-caret"):Cu(e)),vu(e)&&(Su(e),0===e.data.length&&Cu(e))},_u=ps,Nu=Cs,Au=bs,Ru=(e,t,n)=>{const o=dl(t.getBoundingClientRect(),n);let r,s;if("BODY"===e.tagName){const t=e.ownerDocument.documentElement;r=e.scrollLeft||t.scrollLeft,s=e.scrollTop||t.scrollTop}else{const t=e.getBoundingClientRect();r=e.scrollLeft-t.left,s=e.scrollTop-t.top}o.left+=r,o.right+=r,o.top+=s,o.bottom+=s,o.width=1;let a=t.offsetWidth-t.clientWidth;return a>0&&(n&&(a*=-1),o.left+=a,o.right+=a),o},Du=(e,t,n,o)=>{const r=Ke();let s,a;const i=Ed(e),l=e.dom,c=()=>{(e=>{const t=Ar(un.fromDom(e),"*[contentEditable=false],video,audio,embed,object");for(let e=0;e{l.remove(e.caret),r.clear()}),s&&(clearInterval(s),s=void 0)};return{isShowing:r.isSet,show:(e,d)=>{let m;if(c(),Au(d))return null;if(!n(d))return a=((e,t)=>{const n=(e.ownerDocument??document).createTextNode(Ki),o=e.parentNode;if(t){const t=e.previousSibling;if(Qi(t)){if(el(t))return t;if(sl(t))return t.splitText(t.data.length-1)}o?.insertBefore(n,e)}else{const t=e.nextSibling;if(Qi(t)){if(el(t))return t;if(rl(t))return t.splitText(1),t}e.nextSibling?o?.insertBefore(n,e.nextSibling):o?.appendChild(n)}return n})(d,e),m=d.ownerDocument.createRange(),Ou(a.nextSibling)?(m.setStart(a,0),m.setEnd(a,0)):(m.setStart(a,1),m.setEnd(a,1)),m;{const n=((e,t,n)=>{const o=(t.ownerDocument??document).createElement(e);o.setAttribute("data-mce-caret",n?"before":"after"),o.setAttribute("data-mce-bogus","all"),o.appendChild(qi().dom);const r=t.parentNode;return n?r?.insertBefore(o,t):t.nextSibling?r?.insertBefore(o,t.nextSibling):r?.appendChild(o),o})(i,d,e),c=Ru(t,d,e);l.setStyle(n,"top",c.top),l.setStyle(n,"caret-color","transparent"),a=n;const u=l.create("div",{class:"mce-visual-caret","data-mce-bogus":"all"});l.setStyles(u,{...c}),l.add(t,u),r.set({caret:u,element:d,before:e}),e&&l.addClass(u,"mce-visual-caret-before"),s=window.setInterval(()=>{r.on(e=>{o()?l.toggleClass(e.caret,"mce-visual-caret-hidden"):l.addClass(e.caret,"mce-visual-caret-hidden")})},500),m=d.ownerDocument.createRange(),m.setStart(n,0),m.setEnd(n,0)}return m},hide:c,getCss:()=>".mce-visual-caret {position: absolute;background-color: black;background-color: currentcolor;}.mce-visual-caret-hidden {display: none;}*[data-mce-caret] {position: absolute;left: -1000px;right: auto;top: 0;margin: 0;padding: 0;}",reposition:()=>{r.on(e=>{const n=Ru(t,e.element,e.before);l.setStyles(e.caret,{...n})})},destroy:()=>clearInterval(s)}},Tu=()=>sn.browser.isFirefox(),Ou=e=>_u(e)||Nu(e),Bu=e=>(Ou(e)||ns(e)&&Tu())&&In(un.fromDom(e)).exists(Sr),Pu=gs,Lu=ps,Mu=Cs,Iu=es("display","block table table-cell table-row table-caption list-item"),Fu=el,Uu=Zi,zu=Xr,ju=ss,$u=Nl,Hu=(e,t)=>{let n;for(;n=e(t);)if(!Uu(n))return n;return null},Vu=(e,t,n,o,r)=>{const s=new Kr(e,o),a=Lu(e)||Uu(e);let i;if(hc(t)){if(a&&(i=Hu(s.prev.bind(s),!0),n(i)))return i;for(;i=Hu(s.prev.bind(s),r);)if(n(i))return i}if(pc(t)){if(a&&(i=Hu(s.next.bind(s),!0),n(i)))return i;for(;i=Hu(s.next.bind(s),r);)if(n(i))return i}return null},qu=e=>Xr(e)&&"absolute"===$o(un.fromDom(e),"position"),Wu=(e,t)=>Lu(e)&&qu(e)&&((e,t)=>e.parentNode!==t)(e,t),Ku=(e,t)=>{for(;e&&e!==t;){if(Iu(e)&&!Wu(e,t))return e;e=e.parentNode}return null},Yu=(e,t,n)=>Ku(e.container(),n)===Ku(t.container(),n),Gu=(e,t)=>{if(!t)return I.none();const n=t.container(),o=t.offset();return zu(n)?I.from(n.childNodes[o+e]):I.none()},Xu=(e,t)=>{const n=(t.ownerDocument??document).createRange();return e?(n.setStartBefore(t),n.setEndBefore(t)):(n.setStartAfter(t),n.setEndAfter(t)),n},Qu=(e,t,n)=>Ku(t,e)===Ku(n,e),Zu=(e,t,n)=>{const o=e?"previousSibling":"nextSibling";let r=n;for(;r&&r!==t;){let e=r[o];if(e&&Fu(e)&&(e=e[o]),Lu(e)||Mu(e)){if(Qu(t,e,r))return e;break}if($u(e))break;r=r.parentNode}return null},Ju=D(Xu,!0),ef=D(Xu,!1),tf=(e,t,n)=>{let o;const r=D(Zu,!0,t),s=D(Zu,!1,t),a=n.startContainer,i=n.startOffset;if(Zi(a)){const e=ju(a)?a.parentNode:a,t=e.getAttribute("data-mce-caret");if("before"===t&&(o=e.nextSibling,Bu(o)))return Ju(o);if("after"===t&&(o=e.previousSibling,Bu(o)))return ef(o)}if(!n.collapsed)return n;if(ss(a)){if(Fu(a)){if(1===e){if(o=s(a),o)return Ju(o);if(o=r(a),o)return ef(o)}if(-1===e){if(o=r(a),o)return ef(o);if(o=s(a),o)return Ju(o)}return n}if(sl(a)&&i>=a.data.length-1)return 1===e&&(o=s(a),o)?Ju(o):n;if(rl(a)&&i<=1)return-1===e&&(o=r(a),o)?ef(o):n;if(i===a.data.length)return o=s(a),o?Ju(o):n;if(0===i)return o=r(a),o?ef(o):n}return n},nf=(e,t)=>Gu(e?0:-1,t).filter(Lu),of=(e,t,n)=>{const o=tf(e,t,n);return-1===e?Kl.fromRangeStart(o):Kl.fromRangeEnd(o)},rf=e=>I.from(e.getNode()).map(un.fromDom),sf=(e,t)=>{let n=t;for(;n=e(n);)if(n.isVisible())return n;return n},af=(e,t)=>{const n=Yu(e,t);return!(n||!ms(e.getNode()))||n},lf=ps,cf=ss,df=Xr,mf=ms,uf=Nl,ff=e=>xl(e)||(e=>!!Al(e)&&!X(me(e.getElementsByTagName("*")),(e,t)=>e||vl(t),!1))(e),gf=Rl,pf=(e,t)=>e.hasChildNodes()&&t{if(pc(e)){if(uf(t.previousSibling)&&!cf(t.previousSibling))return Kl.before(t);if(cf(t))return Kl(t,0)}if(hc(e)){if(uf(t.nextSibling)&&!cf(t.nextSibling))return Kl.after(t);if(cf(t))return Kl(t,t.data.length)}return hc(e)?mf(t)?Kl.before(t):Kl.after(t):Kl.before(t)},bf=(e,t,n)=>{let o,r,s,a;if(!df(n)||!t)return null;if(t.isEqual(Kl.after(n))&&n.lastChild){if(a=Kl.after(n.lastChild),hc(e)&&uf(n.lastChild)&&df(n.lastChild))return mf(n.lastChild)?Kl.before(n.lastChild):a}else a=t;const i=a.container();let l=a.offset();if(cf(i)){if(hc(e)&&l>0)return Kl(i,--l);if(pc(e)&&l0&&(r=pf(i,l-1),uf(r)))return!ff(r)&&(s=Vu(r,e,gf,r),s)?cf(s)?Kl(s,s.data.length):Kl.after(s):cf(r)?Kl(r,r.data.length):Kl.before(r);if(pc(e)&&l{const n=t.nextSibling;return n&&uf(n)?cf(n)?Kl(n,0):Kl.before(n):bf(1,Kl.after(t),e)})(n,r):!ff(r)&&(s=Vu(r,e,gf,r),s)?cf(s)?Kl(s,0):Kl.before(s):cf(r)?Kl(r,0):Kl.after(r);o=r||a.getNode()}if(o&&(pc(e)&&a.isAtEnd()||hc(e)&&a.isAtStart())&&(o=Vu(o,e,M,n,!0),gf(o,n)))return hf(e,o);r=o?Vu(o,e,gf,n):o;const c=Ct(Y(((e,t)=>{const n=[];let o=e;for(;o&&o!==t;)n.push(o),o=o.parentNode;return n})(i,n),lf));return!c||r&&c.contains(r)?r?hf(e,r):null:(a=pc(e)?Kl.after(c):Kl.before(c),a)},yf=e=>({next:t=>bf(1,t,e),prev:t=>bf(-1,t,e)}),vf=e=>Kl.isTextPosition(e)?0===e.offset():Nl(e.getNode()),Cf=e=>{if(Kl.isTextPosition(e)){const t=e.container();return e.offset()===t.data.length}return Nl(e.getNode(!0))},wf=(e,t)=>!Kl.isTextPosition(e)&&!Kl.isTextPosition(t)&&e.getNode()===t.getNode(!0),Sf=(e,t,n)=>{const o=yf(t);return I.from(e?o.next(n):o.prev(n))},Ef=(e,t,n)=>Sf(e,t,n).bind(o=>Yu(n,o,t)&&((e,t,n)=>{return e?!wf(t,n)&&(o=t,!(!Kl.isTextPosition(o)&&ms(o.getNode())))&&Cf(t)&&vf(n):!wf(n,t)&&vf(t)&&Cf(n);var o})(e,n,o)?Sf(e,t,o):I.some(o)),xf=(e,t,n,o)=>Ef(e,t,n).bind(n=>o(n)?xf(e,t,n,o):I.some(n)),kf=(e,t)=>{const n=e?t.firstChild:t.lastChild;return ss(n)?I.some(Kl(n,e?0:n.data.length)):n?Nl(n)?I.some(e?Kl.before(n):ms(o=n)?Kl.before(o):Kl.after(o)):((e,t,n)=>{const o=e?Kl.before(n):Kl.after(n);return Sf(e,t,o)})(e,t,n):I.none();var o},_f=D(Sf,!0),Nf=D(Sf,!1),Af=D(kf,!0),Rf=D(kf,!1),Df="_mce_caret",Tf=e=>Xr(e)&&e.id===Df,Of=(e,t)=>{let n=t;for(;n&&n!==e;){if(Tf(n))return n;n=n.parentNode}return null},Bf=e=>ke(e,"name"),Pf=e=>dn.isArray(e.start),Lf=e=>!(!Bf(e)&&b(e.forward))||e.forward,Mf=(e,t)=>(Xr(t)&&e.isBlock(t)&&!t.innerHTML&&(t.innerHTML='
'),t),If=(e,t)=>Rf(e).fold(L,e=>(t.setStart(e.container(),e.offset()),t.setEnd(e.container(),e.offset()),!0)),Ff=(e,t,n)=>!(!(e=>!e.hasChildNodes())(t)||!Of(e,t)||(((e,t)=>{const n=(e.ownerDocument??document).createTextNode(Ki);e.appendChild(n),t.setStart(n,0),t.setEnd(n,0)})(t,n),0)),Uf=(e,t,n,o)=>{const r=n[t?"start":"end"],s=e.getRoot();if(r){let e=s,n=r[0];for(let t=r.length-1;e&&t>=1;t--){const n=e.childNodes;if(Ff(s,e,o))return!0;if(r[t]>n.length-1)return!!Ff(s,e,o)||If(e,o);e=n[r[t]]}ss(e)&&(n=Math.min(r[0],e.data.length)),Xr(e)&&(n=Math.min(r[0],e.childNodes.length)),t?o.setStart(e,n):o.setEnd(e,n)}return!0},zf=e=>ss(e)&&e.data.length>0,jf=(e,t,n)=>{const o=e.get(n.id+"_"+t),r=o?.parentNode,s=n.keep;if(o&&r){let a,i;if("start"===t?s?o.hasChildNodes()?(a=o.firstChild,i=1):zf(o.nextSibling)?(a=o.nextSibling,i=0):zf(o.previousSibling)?(a=o.previousSibling,i=o.previousSibling.data.length):(a=r,i=e.nodeIndex(o)+1):(a=r,i=e.nodeIndex(o)):s?o.hasChildNodes()?(a=o.firstChild,i=1):zf(o.previousSibling)?(a=o.previousSibling,i=o.previousSibling.data.length):(a=r,i=e.nodeIndex(o)):(a=r,i=e.nodeIndex(o)),!s){const r=o.previousSibling,s=o.nextSibling;let l;for(dn.each(dn.grep(o.childNodes),e=>{ss(e)&&(e.data=e.data.replace(/\uFEFF/g,""))});l=e.get(n.id+"_"+t);)e.remove(l,!0);if(ss(s)&&ss(r)&&!sn.browser.isOpera()){const t=r.data.length;r.appendData(s.data),e.remove(s),a=r,i=t}}return I.some(Kl(a,i))}return I.none()},$f=(e,t,n)=>((e,t,n=!1)=>2===t?mc(Gi,n,e):3===t?(e=>{const t=e.getRng();return{start:oc(e.dom.getRoot(),Kl.fromRangeStart(t)),end:oc(e.dom.getRoot(),Kl.fromRangeEnd(t)),forward:e.isForward()}})(e):t?(e=>({rng:e.getRng(),forward:e.isForward()}))(e):fc(e,!1))(e,t,n),Hf=(e,t)=>{((e,t)=>{const n=e.dom;if(t){if(Pf(t))return((e,t)=>{const n=e.createRng();return Uf(e,!0,t,n)&&Uf(e,!1,t,n)?I.some({range:n,forward:Lf(t)}):I.none()})(n,t);if((e=>u(e.start))(t))return((e,t)=>{const n=I.from(rc(e.getRoot(),t.start)),o=I.from(rc(e.getRoot(),t.end));return $e(n,o,(n,o)=>{const r=e.createRng();return r.setStart(n.container(),n.offset()),r.setEnd(o.container(),o.offset()),{range:r,forward:Lf(t)}})})(n,t);if((e=>ke(e,"id"))(t))return((e,t)=>{const n=jf(e,"start",t),o=jf(e,"end",t);return $e(n,o.or(n),(n,o)=>{const r=e.createRng();return r.setStart(Mf(e,n.container()),n.offset()),r.setEnd(Mf(e,o.container()),o.offset()),{range:r,forward:Lf(t)}})})(n,t);if(Bf(t))return((e,t)=>I.from(e.select(t.name)[t.index]).map(t=>{const n=e.createRng();return n.selectNode(t),{range:n,forward:!0}}))(n,t);if((e=>ke(e,"rng"))(t))return I.some({range:t.rng,forward:Lf(t)})}return I.none()})(e,t).each(({range:t,forward:n})=>{e.setRng(t,n)})},Vf=e=>Xr(e)&&"SPAN"===e.tagName&&"bookmark"===e.getAttribute("data-mce-type"),qf=(Wf=dt,e=>Wf===e);var Wf;const Kf=e=>""!==e&&-1!==" \f\n\r\t\v".indexOf(e),Yf=e=>!Kf(e)&&!qf(e)&&!mt(e),Gf=e=>{const t=[];if(e)for(let n=0;n{const n=Ar(t,"td[data-mce-selected],th[data-mce-selected]");return n.length>0?n:(e=>Y((e=>ne(e,e=>{const t=pl(e);return t?[un.fromDom(t)]:[]}))(e),Hi))(e)},Qf=e=>Xf(Gf(e.selection.getSel()),un.fromDom(e.getBody())),Zf=(e,t)=>mr(e,"table",t),Jf=e=>Wn(e).fold(N([e]),t=>[e].concat(Jf(t))),eg=e=>Kn(e).fold(N([e]),t=>"br"===En(t)?zn(t).map(t=>[e].concat(eg(t))).getOr([]):[e].concat(eg(t))),tg=(e,t)=>$e((e=>{const t=e.startContainer,n=e.startOffset;return ss(t)?0===n?I.some(un.fromDom(t)):I.none():I.from(t.childNodes[n]).map(un.fromDom)})(t),(e=>{const t=e.endContainer,n=e.endOffset;return ss(t)?n===t.data.length?I.some(un.fromDom(t)):I.none():I.from(t.childNodes[n-1]).map(un.fromDom)})(t),(t,n)=>{const o=Z(Jf(e),D(vn,t)),r=Z(eg(e),D(vn,n));return o.isSome()&&r.isSome()}).getOr(!1),ng=(e,t,n,o)=>{const r=n,s=new Kr(n,r),a=we(e.schema.getMoveCaretBeforeOnEnterElements(),(e,t)=>!$(["td","th","table"],t.toLowerCase()));let i=n;do{if(ss(i)&&0!==dn.trim(i.data).length)return void(o?t.setStart(i,0):t.setEnd(i,i.data.length));if(a[i.nodeName])return void(o?t.setStartBefore(i):"BR"===i.nodeName?t.setEndBefore(i):t.setEndAfter(i))}while(i=o?s.next():s.prev());"BODY"===r.nodeName&&(o?t.setStart(r,0):t.setEnd(r,r.childNodes.length))},og=e=>{const t=e.selection.getSel();return C(t)&&t.rangeCount>0},rg=(e,t)=>{const n=Qf(e);n.length>0?q(n,n=>{const o=n.dom,r=e.dom.createRng();r.setStartBefore(o),r.setEndAfter(o),t(r,!0)}):t(e.selection.getRng(),!1)},sg=(e,t,n)=>{const o=fc(e,t);n(o),e.moveToBookmark(o)},ag=(e,t)=>e.startContainer===e.endContainer&&e.endOffset-e.startOffset===1&&t(e.startContainer.childNodes[e.startOffset]),ig=(e,t)=>Nf(t,Kl.fromRangeStart(e)).isNone(),lg=(e,t)=>!1===_f(t,Kl.fromRangeEnd(e)).exists(e=>!ms(e.getNode())||_f(t,e).isSome()),cg=(e,t)=>{if(1===t.length)return ig(e,t[0])&&lg(e,t[0])?t:[];{const n=ce(t).filter(t=>ig(e,t)).toArray(),o=de(t).filter(t=>lg(e,t)).toArray(),r=t.slice(1,-1);return n.concat(r).concat(o)}},dg=e=>S(e?.nodeType),mg=e=>Xr(e)&&!Vf(e)&&!Tf(e)&&!ts(e),ug=(e,t,n)=>{const{selection:o,dom:r}=e,s=o.getNode(),a=ps(s);sg(o,!0,()=>{t()}),a&&ps(s)&&r.isChildOf(s,e.getBody())?e.selection.select(s):n(o.getStart())&&fg(r,o)},fg=(e,t)=>{const n=t.getRng(),{startContainer:o,startOffset:r}=n;if(!((e,t)=>{if(mg(t)&&!/^(TD|TH)$/.test(t.nodeName)){const n=e.getAttrib(t,"data-mce-selected"),o=parseInt(n,10);return!isNaN(o)&&o>0}return!1})(e,t.getNode())&&Xr(o)){const s=o.childNodes,a=e.getRoot();let i;if(r{if(e){const o=t?"nextSibling":"previousSibling";for(e=n?e:e[o];e;e=e[o])if(Xr(e)||!bg(e))return e}},pg=(e,t)=>!!e.getTextBlockElements()[t.nodeName.toLowerCase()]||Zs(e,t),hg=(e,t,n)=>e.schema.isValidChild(t,n),bg=(e,t=!1)=>{if(C(e)&&ss(e)){const n=t?e.data.replace(/ /g,"\xa0"):e.data;return Ns(n)}return!1},yg=e=>C(e)&&ss(e)&&0===e.length,vg=(e,t)=>e.select('[contenteditable="true"]',t).length>0,Cg=(e,t)=>X(me(t.childNodes),(t,n)=>[...t,...Xr(n)&&"true"===e.getContentEditable(n)?[n]:Cg(e,n)],[]),wg=(e,t)=>{const n=e.dom;return mg(t)&&"false"===n.getContentEditable(t)&&((e,t)=>{const n="[data-mce-cef-wrappable]",o=mm(e),r=rt(o)?n:`${n},${o}`;return bn(un.fromDom(t),r)})(e,t)&&!vg(n,t)},Sg=(e,t)=>w(e)?e(t):(C(t)&&(e=e.replace(/%(\w+)/g,(e,n)=>t[n]||e)),e),Eg=(e,t)=>(t=t||"",e=""+((e=e||"").nodeName||e),t=""+(t.nodeName||t),e.toLowerCase()===t.toLowerCase()),xg=(e,t)=>{if(v(e))return null;{let n=String(e);return"color"!==t&&"backgroundColor"!==t||(n=Ya(n)),"fontWeight"===t&&700===e&&(n="bold"),"fontFamily"===t&&(n=n.replace(/[\'\"]/g,"").replace(/,\s+/g,",")),n}},kg=(e,t,n)=>{const o=e.getStyle(t,n);return xg(o,n)},_g=(e,t)=>{let n;return e.getParent(t,t=>!!Xr(t)&&(n=e.getStyle(t,"text-decoration"),!!n&&"none"!==n)),n},Ng=(e,t,n)=>e.getParents(t,n,e.getRoot()),Ag=(e,t,n)=>{const o=e.formatter.get(t);return C(o)&&H(o,n)},Rg=e=>_e(e,"block"),Dg=e=>Rg(e)&&!0===e.wrapper,Tg=e=>_e(e,"selector"),Og=e=>_e(e,"inline"),Bg=e=>Tg(e)&&!1!==e.expand&&!Og(e),Pg=e=>(e=>{const t=[];let n=e;for(;n;){if(ss(n)&&n.data!==Ki||n.childNodes.length>1)return[];Xr(n)&&t.push(n),n=n.firstChild}return t})(e).length>0,Lg=e=>Tf(e.dom)&&Pg(e.dom),Mg=Vf,Ig=Ng,Fg=bg,Ug=pg,zg=e=>ms(e)&&e.getAttribute("data-mce-bogus")&&!e.nextSibling,jg=(e,t)=>{let n=t;for(;n;){if(Xr(n)&&e.getContentEditable(n))return"false"===e.getContentEditable(n)?n:t;n=n.parentNode}return t},$g=(e,t,n,o)=>{const r=t.data;if(e){for(let e=n;e>0;e--)if(o(r.charAt(e-1)))return e}else for(let e=n;e$g(e,t,n,e=>qf(e)||Kf(e)),Vg=(e,t,n)=>$g(e,t,n,Yf),qg=(e,t,n,o,r,s)=>{let a;const i=e.getParent(n,t=>hs(t)||e.isBlock(t)),l=C(i)?i:t,c=(t,n,o)=>{const s=Pi(e),i=r?s.backwards:s.forwards;return I.from(i(t,n,(e,t)=>Mg(e.parentNode)?-1:(a=e,o(r,e,t)),l))};return c(n,o,Hg).bind(e=>s?c(e.container,e.offset+(r?-1:0),Vg):I.some(e)).orThunk(()=>a?I.some({container:a,offset:r?0:a.length}):I.none())},Wg=(e,t,n,o,r)=>{const s=o[r];ss(o)&&rt(o.data)&&s&&(o=s);const a=Ig(e,o);for(let o=0;o{let r=n;const s=e.getRoot(),a=t[0];if(Rg(a)&&(r=a.wrapper?null:e.getParent(n,a.block,s)),!r){const t=e.getParent(n,"LI,TD,TH,SUMMARY")??s;r=e.getParent(ss(n)?n.parentNode:n,t=>t!==s&&Ug(e.schema,t),t)}if(r&&Rg(a)&&a.wrapper&&(r=Ig(e,r,"ul,ol").reverse()[0]||r),!r)for(r=n;r&&r[o]&&!e.isBlock(r[o])&&(r=r[o],!Eg(r,"br")););return r||n},Yg=(e,t,n,o)=>{const r=n.parentNode;return!C(n[o])&&(!(r!==t&&!v(r)&&!e.isBlock(r))||Yg(e,t,r,o))},Gg=(e,t,n,o,r,s)=>{let a=n;const i=r?"previousSibling":"nextSibling",l=e.getRoot();if(ss(n)&&!Fg(n)&&(r?o>0:oMg(e.parentNode)||Mg(e),Qg=(e,t,n,o={})=>{const{includeTrailingSpace:r=!1,expandToBlock:s=!0}=o,a=e.getParent(t.commonAncestorContainer,e=>hs(e)),i=C(a)?a:e.getRoot();let{startContainer:l,startOffset:c,endContainer:d,endOffset:m}=t;const u=n[0];return Xr(l)&&l.hasChildNodes()&&(l=hl(l,c),ss(l)&&(c=0)),Xr(d)&&d.hasChildNodes()&&(d=hl(d,t.collapsed?m:m-1),ss(d)&&(m=d.data.length)),l=jg(e,l),d=jg(e,d),Xg(l)&&(l=Mg(l)?l:l.parentNode,l=t.collapsed?l.previousSibling||l:l.nextSibling||l,ss(l)&&(c=t.collapsed?l.length:0)),Xg(d)&&(d=Mg(d)?d:d.parentNode,d=t.collapsed?d.nextSibling||d:d.previousSibling||d,ss(d)&&(m=t.collapsed?0:d.length)),t.collapsed&&(qg(e,i,l,c,!0,r).each(({container:e,offset:t})=>{l=e,c=t}),qg(e,i,d,m,!1,r).each(({container:e,offset:t})=>{d=e,m=t})),(Og(u)||u.block_expand)&&(Og(u)&&ss(l)&&0!==c||(l=Gg(e,n,l,c,!0,s)),Og(u)&&ss(d)&&m!==d.data.length||(d=Gg(e,n,d,m,!1,s))),Bg(u)&&(l=Wg(e,n,t,l,"previousSibling"),d=Wg(e,n,t,d,"nextSibling")),(Rg(u)||Tg(u))&&(l=Kg(e,n,l,"previousSibling"),d=Kg(e,n,d,"nextSibling"),Rg(u)&&(e.isBlock(l)||(l=Gg(e,n,l,c,!0,s),ss(l)&&(c=0)),e.isBlock(d)||(d=Gg(e,n,d,m,!1,s),ss(d)&&(m=d.data.length)))),Xr(l)&&l.parentNode&&(c=e.nodeIndex(l),l=l.parentNode),Xr(d)&&d.parentNode&&(m=e.nodeIndex(d)+1,d=d.parentNode),{startContainer:l,startOffset:c,endContainer:d,endOffset:m}},Zg=(e,t,n)=>{const o=t.startOffset,r=hl(t.startContainer,o),s=t.endOffset,a=hl(t.endContainer,s-1),i=e=>{const t=e[0];ss(t)&&t===r&&o>=t.data.length&&e.splice(0,1);const n=e[e.length-1];return 0===s&&e.length>0&&n===a&&ss(n)&&e.splice(e.length-1,1),e},l=(e,t,n)=>{const o=[];for(;e&&e!==n;e=e[t])o.push(e);return o},c=(t,n)=>e.getParent(t,e=>e.parentNode===n,n),d=(e,t,o)=>{const r=o?"nextSibling":"previousSibling";for(let s=e,a=s.parentNode;s&&s!==t;s=a){a=s.parentNode;const t=l(s===e?s:s[r],r);t.length&&(o||t.reverse(),n(i(t)))}};if(r===a)return n(i([r]));const m=e.findCommonAncestor(r,a)??e.getRoot();if(e.isChildOf(r,a))return d(r,m,!0);if(e.isChildOf(a,r))return d(a,m);const u=c(r,m)||r,f=c(a,m)||a;d(r,u,!0);const g=l(u===r?u:u.nextSibling,"nextSibling",f===a?f.nextSibling:f);g.length&&n(i(g)),d(a,f)},Jg=['pre[class*=language-][contenteditable="false"]',"figure.image","div[data-ephox-embed-iri]","div.tiny-pageembed","div.mce-toc","div[data-mce-toc]","div.mce-footnotes"],ep=(e,t,n,o,r,s)=>{const{uid:a=t,...i}=n;yr(e,Si()),vo(e,`${xi()}`,a),vo(e,`${Ei()}`,o);const{attributes:l={},classes:c=[]}=r(a,i);if(Co(e,l),((e,t)=>{q(t,t=>{yr(e,t)})})(e,c),s){c.length>0&&vo(e,`${_i()}`,c.join(","));const t=ge(l);t.length>0&&vo(e,`${Ni()}`,t.join(","))}},tp=(e,t,n,o,r)=>{const s=un.fromTag("span",e);return ep(s,t,n,o,r,!1),s},np=(e,t,n,o,r,s)=>{const a=[],i=tp(e.getDoc(),n,s,o,r),l=Ke(),c=()=>{l.clear()},d=e=>{q(e,m)},m=t=>{switch(((e,t,n,o)=>In(t).fold(()=>"skipping",r=>"br"===o||(e=>Rn(e)&&or(e)===Ki)(t)?"valid":(e=>An(e)&&wr(e,Si()))(t)?"existing":Tf(t.dom)?"caret":H(Jg,e=>bn(t,e))?"valid-block":hg(e,n,o)&&hg(e,En(r),n)?"valid":"invalid-child"))(e,t,"span",En(t))){case"invalid-child":{c();const e=Vn(t);d(e),c();break}case"valid-block":c(),ep(t,n,s,o,r,!0);break;case"valid":{const e=l.get().getOrThunk(()=>{const e=To(i);return a.push(e),l.set(e),e});po(t,e);break}}};return Zg(e.dom,t,e=>{c(),(e=>{const t=V(e,un.fromDom);d(t)})(e)}),a},op=e=>{const t=(()=>{const e={};return{register:(t,n)=>{e[t]={name:t,settings:n}},lookup:t=>xe(e,t).map(e=>e.settings),getNames:()=>ge(e)}})();((e,t)=>{const n=Ei(),o=e=>I.from(e.attr(n)).bind(t.lookup),r=e=>{e.attr(xi(),null),e.attr(Ei(),null),e.attr(ki(),null);const t=I.from(e.attr(Ni())).map(e=>e.split(",")).getOr([]),n=I.from(e.attr(_i())).map(e=>e.split(",")).getOr([]);q(t,t=>e.attr(t,null));const o=e.attr("class")?.split(" ")??[],r=se(o,[Si()].concat(n));e.attr("class",r.length>0?r.join(" "):null),e.attr(_i(),null),e.attr(Ni(),null)};e.serializer.addTempAttr(ki()),e.serializer.addAttributeFilter(n,e=>{for(const t of e)o(t).each(e=>{!1===e.persistent&&("span"===t.name?t.unwrap():r(t))})})})(e,t);const n=((e,t)=>{const n=Ae({}),o=()=>({listeners:[],previous:Ke()}),r=(e,t)=>{s(e,e=>(t(e),e))},s=(e,t)=>{const r=n.get(),s=t(xe(r,e).getOrThunk(o));r[e]=s,n.set(r)},a=(t,n)=>{q(Ti(e,t),e=>{n?vo(e,ki(),"true"):xo(e,ki())})},i=it(()=>{const n=ie(t.getNames());q(n,t=>{s(t,n=>{const o=n.previous.get();return Ri(e,I.some(t)).fold(()=>{o.each(e=>{(e=>{r(e,t=>{q(t.listeners,t=>t(!1,e))})})(t),n.previous.clear(),a(e,!1)})},({uid:e,name:t,elements:s})=>{ze(o,e)||(o.each(e=>a(e,!1)),((e,t,n)=>{r(e,o=>{q(o.listeners,o=>o(!0,e,{uid:t,nodes:V(n,e=>e.dom)}))})})(t,e,s),n.previous.set(e),a(e,!0))}),{previous:n.previous,listeners:n.listeners}})})},30);return e.on("remove",()=>{i.cancel()}),e.on("NodeChange",()=>{i.throttle()}),{addListener:(e,t)=>{s(e,e=>({previous:e.previous,listeners:e.listeners.concat([t])}))}}})(e,t),o=On("span"),r=e=>{q(e,e=>{o(e)?Ro(e):(e=>{Cr(e,Si()),xo(e,`${xi()}`),xo(e,`${Ei()}`),xo(e,`${ki()}`);const t=So(e,`${Ni()}`).map(e=>e.split(",")).getOr([]),n=So(e,`${_i()}`).map(e=>e.split(",")).getOr([]);var o;q(t,t=>xo(e,t)),o=e,q(n,e=>{Cr(o,e)}),xo(e,`${_i()}`),xo(e,`${Ni()}`)})(e)})};return{register:(e,n)=>{t.register(e,n)},annotate:(n,o)=>{t.lookup(n).each(t=>{((e,t,n,o)=>{e.undoManager.transact(()=>{const r=e.selection,s=r.getRng(),a=Qf(e).length>0,i=Le("mce-annotation");if(s.collapsed&&!a&&((e,t)=>{const n=Qg(e.dom,t,[{inline:"span"}]);t.setStart(n.startContainer,n.startOffset),t.setEnd(n.endContainer,n.endOffset),e.selection.setRng(t)})(e,s),r.getRng().collapsed&&!a){const s=tp(e.getDoc(),i,o,t,n.decorate);Mo(s,dt),r.getRng().insertNode(s.dom),r.select(s.dom)}else sg(r,!1,()=>{rg(e,r=>{np(e,r,i,t,n.decorate,o)})})})})(e,n,t,o)})},annotationChanged:(e,t)=>{n.addListener(e,t)},remove:t=>{Ri(e,I.some(t)).each(({elements:t})=>{const n=e.selection.getBookmark();r(t),e.selection.moveToBookmark(n)})},removeAll:t=>{const n=e.selection.getBookmark();he(Oi(e,t),(e,t)=>{r(e)}),e.selection.moveToBookmark(n)},getAll:t=>{const n=Oi(e,t);return be(n,e=>V(e,e=>e.dom))}}},rp=Le("tiny-aria-announcer"),sp="data-mce-announced-at",ap={position:"absolute",left:"-9999px",width:"1px",height:"1px",overflow:"hidden"},ip=e=>{const t=un.fromTag("div");return Co(t,{"aria-live":e,"aria-atomic":"false","aria-relevant":"additions"}),t},lp=()=>{const e=un.fromTag("div"),t=ip("polite"),n=ip("assertive");return vo(e,"id",rp),jo(e,ap),go(e,t),go(e,n),go((e=>{const t=e.dom.body;if(null==t)throw new Error("Body is not available yet");return un.fromDom(t)})(un.fromDom(document)),e),{container:e,politeRegion:t,assertiveRegion:n}},cp=(()=>{const e=Ke(),t=async()=>{const t=async()=>{const t=new Promise(e=>{const t=lp();setTimeout(()=>e(t),100)});return e.set(t),t};return e.get().fold(t,async n=>{const{container:o}=await n;return o.dom.isConnected?n:e.get().filter(e=>e!==n).getOrThunk(t)})},n=(e,t)=>{const n=Date.now();((e,t)=>{var n;q((n=`div[${sp}]`,_r(e,e=>bn(e,n))),e=>{So(e,sp).bind(e=>st(e)).filter(e=>t-e>6e5).each(()=>Ao(e))})})(e,n);const o=un.fromTag("div");vo(o,sp,String(n)),go(o,un.fromText(t)),go(e,o)};return{polite:async e=>{const{politeRegion:o}=await t();n(o,e)},assertive:async e=>{const{assertiveRegion:o}=await t();n(o,e)}}})(),dp={announce:(e,t)=>{!0===t?.assertive?cp.assertive(e).catch(x):cp.polite(e).catch(x)}},mp=e=>({getBookmark:D($f,e),moveToBookmark:D(Hf,e)});mp.isBookmarkNode=Vf;const up=(e,t,n)=>!n.collapsed&&H(n.getClientRects(),n=>((e,t,n)=>t>=e.left&&t<=e.right&&n>=e.top&&n<=e.bottom)(n,e,t)),fp=(e,t)=>{const n=Rn(t)?or(t).length:Vn(t).length+1;return e>n?n:e<0?0:e},gp=e=>Ur.range(e.start,fp(e.soffset,e.start),e.finish,fp(e.foffset,e.finish)),pp=(e,t)=>!Gr(t.dom)&&(Cn(e,t)||vn(e,t)),hp=e=>t=>pp(e,t.start)&&pp(e,t.finish),bp=e=>Ur.range(un.fromDom(e.startContainer),e.startOffset,un.fromDom(e.endContainer),e.endOffset),yp=e=>{const t=document.createRange();try{return t.setStart(e.start.dom,e.soffset),t.setEnd(e.finish.dom,e.foffset),I.some(t)}catch{return I.none()}},vp=e=>{const t=(e=>e.inline||sn.browser.isFirefox())(e)?(n=un.fromDom(e.getBody()),(e=>{const t=e.getSelection();return(t&&0!==t.rangeCount?I.from(t.getRangeAt(0)):I.none()).map(bp)})(Ln(n).dom).filter(hp(n))):I.none();var n;e.bookmark=t.isSome()?t:e.bookmark},Cp=e=>(e.bookmark?e.bookmark:I.none()).bind(t=>{return n=un.fromDom(e.getBody()),o=t,I.from(o).filter(hp(n)).map(gp);var n,o}).bind(yp),wp={isEditorUIElement:e=>{const t=e.className.toString();return-1!==t.indexOf("tox-")||-1!==t.indexOf("mce-")}},Sp={setEditorTimeout:(e,t,n)=>((e,t)=>(S(t)||(t=0),window.setTimeout(e,t)))(()=>{e.removed||t()},n),setEditorInterval:(e,t,n)=>{const o=((e,t)=>(S(t)||(t=0),window.setInterval(e,t)))(()=>{e.removed?window.clearInterval(o):t()},n);return o}};let Ep;const xp=gi.DOM,kp=e=>{const t=e.classList;return void 0!==t&&(t.contains("tox-edit-area")||t.contains("tox-edit-area__iframe")||t.contains("mce-content-body"))},_p=(e,t)=>{const n=um(e),o=xp.getParent(t,t=>(e=>Xr(e)&&wp.isEditorUIElement(e))(t)||!!n&&e.dom.is(t,n));return null!==o},Np=e=>{try{const t=Qn(un.fromDom(e.getElement()));return co(t).fold(()=>document.body,e=>e.dom)}catch{return document.body}},Ap=(e,t)=>{const n=t.editor;(e=>{const t=at(()=>{vp(e)},0);e.on("init",()=>{e.inline&&((e,t)=>{const n=()=>{t.throttle()};gi.DOM.bind(document,"mouseup",n),e.on("remove",()=>{gi.DOM.unbind(document,"mouseup",n)})})(e,t),((e,t)=>{((e,t)=>{e.on("mouseup touchend",e=>{t.throttle()})})(e,t),e.on("keyup NodeChange AfterSetSelectionRange",t=>{(e=>"nodechange"===e.type&&e.selectionChange)(t)||vp(e)})})(e,t)}),e.on("remove",()=>{t.cancel()})})(n);const o=(e,t)=>{tu(e)&&!0!==e.inline&&t(un.fromDom(e.getContainer()),"tox-edit-focus")};n.on("focusin",()=>{const t=e.focusedEditor;kp(Np(n))&&o(n,yr),t!==n&&(t&&t.dispatch("blur",{focusedEditor:n}),e.setActive(n),e.focusedEditor=n,n.dispatch("focus",{blurredEditor:t}),n.focus(!0))}),n.on("focusout",()=>{Sp.setEditorTimeout(n,()=>{const t=e.focusedEditor;kp(Np(n))&&t===n||o(n,Cr),_p(n,Np(n))||t!==n||(n.dispatch("blur",{focusedEditor:null}),e.focusedEditor=null)})}),Ep||(Ep=t=>{const n=e.activeEditor;n&&eo(t).each(t=>{const o=t;o.ownerDocument===document&&(o===document.body||_p(n,o)||e.focusedEditor!==n||(n.dispatch("blur",{focusedEditor:null}),e.focusedEditor=null))})},xp.bind(document,"focusin",Ep))},Rp=(e,t)=>{e.focusedEditor===t.editor&&(e.focusedEditor=null),!e.activeEditor&&Ep&&(xp.unbind(document,"focusin",Ep),Ep=null)},Dp=(e,t)=>{((e,t)=>(e=>e.collapsed?I.from(hl(e.startContainer,e.startOffset)).map(un.fromDom):I.none())(t).bind(t=>$i(t)?I.some(t):Cn(e,t)?I.none():I.some(e)))(un.fromDom(e.getBody()),t).bind(e=>Af(e.dom)).fold(()=>{e.selection.normalize()},t=>e.selection.setRng(t.toRange()))},Tp=(e,t=!1)=>{if(t)e.focus({preventScroll:!0});else if(e.setActive)try{e.setActive()}catch{e.focus()}else e.focus()},Op=e=>e.inline?(e=>{const t=e.getBody();return t&&(n=un.fromDom(t),lo(n)||(o=n,co(Qn(o)).filter(e=>o.dom.contains(e.dom))).isSome());var n,o})(e):(e=>C(e.iframeElement)&&lo(un.fromDom(e.iframeElement)))(e),Bp=e=>Op(e)||(e=>{const t=Qn(un.fromDom(e.getElement()));return co(t).filter(t=>!kp(t.dom)&&_p(e,t.dom)).isSome()})(e),Pp=e=>e.editorManager.setActive(e),Lp={BACKSPACE:8,DELETE:46,DOWN:40,ENTER:13,ESC:27,LEFT:37,RIGHT:39,SPACEBAR:32,TAB:9,UP:38,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,modifierPressed:e=>e.shiftKey||e.ctrlKey||e.altKey||Lp.metaKeyPressed(e),metaKeyPressed:e=>sn.os.isMacOS()||sn.os.isiOS()?e.metaKey:e.ctrlKey&&!e.altKey},Mp="data-mce-selected",Ip=`table,img,figure.image,hr,video,span.mce-preview-object,details,${xs}`,Fp=Math.abs,Up=Math.round,zp={nw:[0,0,-1,-1],ne:[1,0,1,-1],se:[1,1,1,1],sw:[0,1,-1,1]},jp=(e,t)=>{const n=t.dom,o=t.getDoc(),r=document,s=t.getBody();let a,i,l,c,d,m,u,f,g,p,b,y,v,w,S;const E=e=>C(e)&&(us(e)||n.is(e,"figure.image")),x=e=>Cs(e)||n.hasClass(e,"mce-preview-object"),k=e=>{const n=e.target;((e,t)=>{if((e=>"longpress"===e.type||0===e.type.indexOf("touch"))(e)){const n=e.touches[0];return E(e.target)&&!up(n.clientX,n.clientY,t)}return E(e.target)&&!up(e.clientX,e.clientY,t)})(e,t.selection.getRng())&&!e.isDefaultPrevented()&&t.selection.select(n)},_=e=>n.hasClass(e,"mce-preview-object")&&C(e.firstElementChild)?[e,e.firstElementChild]:n.is(e,"figure.image")?[e.querySelector("img")]:[e],N=e=>{const o=Zd(t);return!(!o||t.mode.isReadOnly())&&"false"!==e.getAttribute("data-mce-resize")&&e!==t.getBody()&&(n.hasClass(e,"mce-preview-object")&&C(e.firstElementChild)?bn(un.fromDom(e.firstElementChild),o):bn(un.fromDom(e),o))},A=(e,o,r)=>{if(C(r)){const s=_(e);q(s,e=>{ks(e)?((e,t,o)=>{e[t]=o;const r=400;if(e.width>r&&!("width"===t&&o{A(e,"width",t),A(e,"height",n)},D=e=>{let o,r,d,h,C;o=e.screenX-m,r=e.screenY-u,y=o*c[2]+f,v=r*c[3]+g,y=y<5?5:y,v=v<5?5:v,d=(E(a)||x(a)||ks(a))&&!1!==Jd(t)?!Lp.modifierPressed(e):Lp.modifierPressed(e),d&&(Fp(o)>Fp(r)?(v=Up(y*p),y=Up(v/p)):(y=Up(v/p),v=Up(y*p))),R(i,y,v),h=c.startPos.x+o,C=c.startPos.y+r,h=h>0?h:0,C=C>0?C:0,n.setStyles(l,{left:h,top:C,display:"block"}),l.innerHTML=y+" × "+v,o=s.scrollWidth-w,r=s.scrollHeight-S,o+r!==0&&n.setStyles(l,{left:h-o,top:C-r}),b||(((e,t,n,o,r)=>{e.dispatch("ObjectResizeStart",{target:t,width:n,height:o,origin:r})})(t,a,f,g,"corner-"+c.name),b=!0)},T=()=>{const e=b;b=!1,e&&(A(a,"width",y),A(a,"height",v)),n.unbind(o,"mousemove",D),n.unbind(o,"mouseup",T),r!==o&&(n.unbind(r,"mousemove",D),n.unbind(r,"mouseup",T)),n.remove(i),n.remove(l),n.remove(d),O(a),e&&(((e,t,n,o,r)=>{e.dispatch("ObjectResized",{target:t,width:n,height:o,origin:r})})(t,a,y,v,"corner-"+c.name),n.setAttrib(a,"style",n.getAttrib(a,"style"))),t.nodeChanged()},O=e=>{if(!e.isConnected)return void P();I();const h=n.getPos(e,s),b=h.x,C=h.y,E=e.getBoundingClientRect(),k=E.width||E.right-E.left,A=E.height||E.bottom-E.top;a!==e&&(P(),a=e,y=v=0);const O=t.dispatch("ObjectSelected",{target:e});N(e)&&!O.isDefaultPrevented()?he(zp,(e,t)=>{let h=n.get("mceResizeHandle"+t);h&&n.remove(h),h=n.add(s,"div",{id:"mceResizeHandle"+t,"data-mce-bogus":"all",class:"mce-resizehandle",unselectable:!0,"aria-hidden":"true",style:"cursor:"+t+"-resize; margin:0; padding:0"}),n.bind(h,"mousedown",h=>{h.stopImmediatePropagation(),h.preventDefault(),(h=>{const y=_(a)[0];m=h.screenX,u=h.screenY,f=y.clientWidth,g=y.clientHeight,p=g/f,c=e,c.name=t,c.startPos={x:k*e[0]+b,y:A*e[1]+C},w=s.scrollWidth,S=s.scrollHeight,d=n.add(s,"div",{class:"mce-resize-backdrop","data-mce-bogus":"all","aria-hidden":"true"}),n.setStyles(d,{position:"fixed",left:"0",top:"0",width:"100%",height:"100%"}),i=((e,t)=>{if(x(t))return e.create("img",{src:sn.transparentSrc});if(ns(t)){const n=Qe(c.name,"n")?ce:de,o=t.cloneNode(!0);return n(e.select("tr",o)).each(t=>{const n=e.select("td,th",t);e.setStyle(t,"height",null),q(n,t=>e.setStyle(t,"height",null))}),o}return t.cloneNode(!0)})(n,a),n.addClass(i,"mce-clonedresizable"),n.setAttrib(i,"data-mce-bogus","all"),n.setAttrib(i,"aria-hidden","true"),i.contentEditable="false",n.setStyles(i,{left:b,top:C,margin:0}),R(i,k,A),i.removeAttribute(Mp),s.appendChild(i),n.bind(o,"mousemove",D),n.bind(o,"mouseup",T),r!==o&&(n.bind(r,"mousemove",D),n.bind(r,"mouseup",T)),l=n.add(s,"div",{class:"mce-resize-helper","data-mce-bogus":"all","aria-hidden":"true"},f+" × "+g)})(h)}),e.elm=h,n.setStyles(h,{left:k*e[0]+b-h.offsetWidth/2,top:A*e[1]+C-h.offsetHeight/2})}):P(!1)},B=(e=>{let t=null,n=null;return{cancel:()=>{h(t)||(clearTimeout(t),t=null,n=null)},throttle:(...o)=>{n=o,h(t)&&(t=setTimeout(()=>{const o=n;t=null,n=null,e.apply(null,o)},0))}}})(O),P=(e=!0)=>{B.cancel(),I(),a&&e&&a.removeAttribute(Mp),he(zp,(e,t)=>{const o=n.get("mceResizeHandle"+t);o&&(n.unbind(o),n.remove(o))})},L=(e,t)=>n.isChildOf(e,t),M=o=>{if(b||t.removed||t.composing)return;const r="mousedown"===o.type?o.target:e.getNode(),a=fr(un.fromDom(r),Ip).map(e=>e.dom).filter(e=>n.isEditable(e.parentElement)||"IMG"===e.nodeName&&n.isEditable(e)).getOrUndefined(),i=C(a)?n.getAttrib(a,Mp,"1"):"1";if(q(n.select(`img[${Mp}],hr[${Mp}]`),e=>{e.removeAttribute(Mp)}),C(a)&&L(a,s)&&Bp(t)){F();const t=e.getStart(!0);if(L(t,a)&&L(e.getEnd(!0),a))return n.setAttrib(a,Mp,i),void B.throttle(a)}P()},I=()=>{he(zp,e=>{e.elm&&(n.unbind(e.elm),delete e.elm)})},F=()=>{try{t.getDoc().execCommand("enableObjectResizing",!1,"false")}catch{}};return t.on("init",()=>{F(),t.on("NodeChange ResizeEditor ResizeWindow ResizeContent drop",M),t.on("keyup compositionend",e=>{a&&"TABLE"===a.nodeName&&M(e)}),t.on("hide blur",P),t.on("contextmenu longpress",k,!0)}),t.on("remove",I),{isResizable:N,showResizeRect:O,hideResizeRect:P,updateResizeRect:M,destroy:()=>{B.cancel(),a=i=d=null}}},$p=(e,t,n)=>{const o=Ln(un.fromDom(n));return Vr(o.dom,e,t).map(e=>{const t=n.createRange();return t.setStart(e.start.dom,e.soffset),t.setEnd(e.finish.dom,e.foffset),t}).getOrUndefined()},Hp=(e,t)=>C(e)&&C(t)&&e.startContainer===t.startContainer&&e.startOffset===t.startOffset&&e.endContainer===t.endContainer&&e.endOffset===t.endOffset,Vp=(e,t,n)=>null!==((e,t,n)=>{let o=e;for(;o&&o!==t;){if(n(o))return o;o=o.parentNode}return null})(e,t,n),qp=(e,t,n)=>Vp(e,t,e=>e.nodeName===n),Wp=(e,t)=>el(e)&&!Vp(e,t,Tf),Kp=(e,t,n)=>{const o=t.parentNode;if(o){const r=new Kr(t,e.getParent(o,e.isBlock)||e.getRoot());let s;for(;s=r[n?"prev":"next"]();)if(ms(s))return!0}return!1},Yp=(e,t,n,o,r)=>{const s=e.getRoot(),a=e.schema.getNonEmptyElements(),i=r.parentNode;let l,c;if(!i)return I.none();const d=e.getParent(i,e.isBlock)||s;if(o&&ms(r)&&t&&e.isEmpty(d))return I.some(Kl(i,e.nodeIndex(r)));const m=new Kr(r,d);for(;c=m[o?"prev":"next"]();){if("false"===e.getContentEditableParent(c)||Wp(c,s))return I.none();if(ss(c)&&c.data.length>0)return qp(c,s,"A")?I.none():I.some(Kl(c,o?c.data.length:0));if(e.isBlock(c)||a[c.nodeName.toLowerCase()])return I.none();l=c}return ls(l)?I.none():n&&l?I.some(Kl(l,0)):I.none()},Gp=(e,t,n,o)=>{const r=e.getRoot();let s,a=!1,i=n?o.startContainer:o.endContainer,l=n?o.startOffset:o.endOffset;const c=Xr(i)&&l===i.childNodes.length,d=e.schema.getNonEmptyElements();let m=n;if(el(i))return I.none();if(Xr(i)&&l>i.childNodes.length-1&&(m=!1),cs(i)&&(i=r,l=0),i===r){if(m&&(s=i.childNodes[l>0?l-1:0],s)){if(el(s))return I.none();if(d[s.nodeName]||ns(s))return I.none()}if(i.hasChildNodes()){if(l=Math.min(!m&&l>0?l-1:l,i.childNodes.length-1),i=i.childNodes[l],l=ss(i)&&c?i.data.length:0,!t&&i===r.lastChild&&ns(i))return I.none();if(((e,t)=>{let n=t;for(;n&&n!==e;){if(ps(n))return!0;n=n.parentNode}return!1})(r,i)||el(i))return I.none();if(Ss(i))return I.none();if(i.hasChildNodes()&&!ns(i)){s=i;const t=new Kr(i,r);do{if(ps(s)||el(s)){a=!1;break}if(ss(s)&&s.data.length>0){l=m?0:s.data.length,i=s,a=!0;break}if(d[s.nodeName.toLowerCase()]&&!ys(s)){l=e.nodeIndex(s),i=s.parentNode,m||l++,a=!0;break}}while(s=m?t.next():t.prev())}}}return t&&(ss(i)&&0===l&&Yp(e,c,t,!0,i).each(e=>{i=e.container(),l=e.offset(),a=!0}),Xr(i)&&(s=i.childNodes[l],s||(s=i.childNodes[l-1]),!s||!ms(s)||(e=>"A"===e.previousSibling?.nodeName)(s)||Kp(e,s,!1)||Kp(e,s,!0)||Yp(e,c,t,!0,s).each(e=>{i=e.container(),l=e.offset(),a=!0}))),m&&!t&&ss(i)&&l===i.data.length&&Yp(e,c,t,!1,i).each(e=>{i=e.container(),l=e.offset(),a=!0}),a&&i?I.some(Kl(i,l)):I.none()},Xp=(e,t)=>{const n=t.collapsed,o=t.cloneRange(),r=Kl.fromRangeStart(t);return Gp(e,n,!0,o).each(e=>{n&&Kl.isAbove(r,e)||o.setStart(e.container(),e.offset())}),n||Gp(e,n,!1,o).each(e=>{o.setEnd(e.container(),e.offset())}),n&&o.collapse(!0),Hp(t,o)?I.none():I.some(o)},Qp=(e,t)=>e.splitText(t),Zp=e=>{let t=e.startContainer,n=e.startOffset,o=e.endContainer,r=e.endOffset;if(t===o&&ss(t)){if(n>0&&nn){r-=n;const e=Qp(o,r).previousSibling;t=o=e,r=e.data.length,n=0}else r=0}else if(ss(t)&&n>0&&n0&&r({walk:(t,n)=>Zg(e,t,n),split:Zp,expand:(t,n={type:"word"})=>{if("word"===n.type){const n=Qg(e,t,[{inline:"span"}],{includeTrailingSpace:!1,expandToBlock:!1}),o=e.createRng();return o.setStart(n.startContainer,n.startOffset),o.setEnd(n.endContainer,n.endOffset),o}return t},normalize:t=>Xp(e,t).fold(L,e=>(t.setStart(e.startContainer,e.startOffset),t.setEnd(e.endContainer,e.endOffset),!0))});Jp.compareRanges=Hp,Jp.getCaretRangeFromPoint=$p,Jp.getSelectedNode=pl,Jp.getNode=hl;const eh=(e,t)=>e.view(t).fold(N([]),t=>{const n=e.owner(t),o=eh(e,n);return[t].concat(o)});var th=Object.freeze({__proto__:null,view:e=>(e.dom===document?I.none():I.from(e.dom.defaultView?.frameElement)).map(un.fromDom),owner:e=>Pn(e)});const nh=e=>"textarea"===En(e),oh=(e,t)=>{const n=(e=>{const t=e.dom.ownerDocument,n=t.body,o=t.defaultView,r=t.documentElement;if(n===e.dom)return Go(n.offsetLeft,n.offsetTop);const s=Xo(o?.pageYOffset,r.scrollTop),a=Xo(o?.pageXOffset,r.scrollLeft),i=Xo(r.clientTop,n.clientTop),l=Xo(r.clientLeft,n.clientLeft);return Qo(e).translate(a-l,s-i)})(e),o=(e=>Ko.get(e))(e);return{element:e,bottom:n.top+o,height:o,pos:n,cleanup:t}},rh=(e,t,n,o)=>{lh(e,(r,s)=>ah(e,t,n,o),n)},sh=(e,t,n,o,r)=>{const s={elm:o.element.dom,alignToTop:r};((e,t)=>e.dispatch("ScrollIntoView",t).isDefaultPrevented())(e,s)||(n(e,t,Zo(t).top,o,r),((e,t)=>{e.dispatch("AfterScrollIntoView",t)})(e,s))},ah=(e,t,n,o)=>{const r=un.fromDom(e.getBody()),s=un.fromDom(e.getDoc());r.dom.offsetWidth;const a=((e,t)=>{const n=((e,t)=>{const n=Vn(e);if(0===n.length||nh(e))return{element:e,offset:t};if(t\ufeff');return mo(n.element,o),oh(o,()=>Ao(o))})(un.fromDom(n.startContainer),n.startOffset);sh(e,s,t,a,o),a.cleanup()},ih=(e,t,n,o)=>{const r=un.fromDom(e.getDoc());sh(e,r,n,(e=>oh(un.fromDom(e),x))(t),o)},lh=(e,t,n)=>{const o=n.startContainer,r=n.startOffset,s=n.endContainer,a=n.endOffset;t(un.fromDom(o),un.fromDom(s));const i=e.dom.createRng();i.setStart(o,r),i.setEnd(s,a),e.selection.setRng(n)},ch=(e,t,n,o,r)=>{const s=t.pos;if(o)Jo(s.left,Math.max(0,s.top-30),r);else{const o=s.top-n+t.height+30;Jo(-e.getBody().getBoundingClientRect().left,o,r)}},dh=(e,t,n,o,r,s)=>{const a=o+n,i=r.pos.top,l=r.bottom,c=l-i>=o;ia?ch(e,r,o,c?!1!==s:!0===s,t):l>a&&!c&&ch(e,r,o,!0===s,t)},mh=(e,t,n,o,r)=>{const s=Ln(t).dom.innerHeight;dh(e,t,n,s,o,r)},uh=(e,t,n,o,r)=>{const s=Ln(t).dom.innerHeight;dh(e,t,n,s,o,r);const a=(e=>{const t=ao(),n=Zo(t),o=((e,t)=>{const n=t.owner(e);return eh(t,n)})(e,th),r=Qo(e),s=G(o,(e,t)=>{const n=Qo(t);return{left:e.left+n.left,top:e.top+n.top}},{left:0,top:0});return Go(s.left+r.left+n.left,s.top+r.top+n.top)})(o.element),i=Wr(window);a.topi.bottom&&er(o.element,!0===r)},fh=(e,t,n)=>rh(e,mh,t,n),gh=(e,t,n)=>ih(e,t,mh,n),ph=(e,t,n)=>rh(e,uh,t,n),hh=(e,t,n)=>ih(e,t,uh,n),bh=(e,t,n)=>{(e.inline?fh:ph)(e,t,n)},yh=(e,t)=>t.collapsed?e.isEditable(t.startContainer):e.isEditable(t.startContainer)&&e.isEditable(t.endContainer),vh=(e,t,n,o,r)=>{const s=n?t.startContainer:t.endContainer,a=n?t.startOffset:t.endOffset;return I.from(s).map(un.fromDom).map(e=>o&&t.collapsed?e:qn(e,r(e,a)).getOr(e)).bind(e=>An(e)?I.some(e):Mn(e).filter(An)).map(e=>e.dom).getOr(e)},Ch=(e,t,n=!1)=>vh(e,t,!0,n,(e,t)=>Math.min(Yn(e),t)),wh=(e,t,n=!1)=>vh(e,t,!1,n,(e,t)=>t>0?t-1:t),Sh=(e,t)=>{const n=e;for(;e&&ss(e)&&0===e.length;)e=t?e.nextSibling:e.previousSibling;return e||n},Eh=(e,t)=>V(t,t=>{const n=e.dispatch("GetSelectionRange",{range:t});return n.range!==t?n.range:t}),xh={"#text":3,"#comment":8,"#cdata":4,"#pi":7,"#doctype":10,"#document-fragment":11},kh=(e,t,n)=>{const o=n?"lastChild":"firstChild",r=n?"prev":"next";if(e[o])return e[o];if(e!==t){let n=e[r];if(n)return n;for(let o=e.parent;o&&o!==t;o=o.parent)if(n=o[r],n)return n}},_h=e=>{const t=e.value??"";if(!Ns(t))return!1;const n=e.parent;return!n||"span"===n.name&&!n.attr("style")||!/^[ ]+$/.test(t)},Nh=e=>{const t="a"===e.name&&!e.attr("href")&&e.attr("id");return e.attr("name")||e.attr("id")&&!e.firstChild||e.attr("data-mce-bookmark")||t};class Ah{static create(e,t){const n=new Ah(e,xh[e]||1);return t&&he(t,(e,t)=>{n.attr(t,e)}),n}name;type;attributes;value;parent;firstChild;lastChild;next;prev;raw;constructor(e,t){this.name=e,this.type=t,1===t&&(this.attributes=[],this.attributes.map={})}replace(e){const t=this;return e.parent&&e.remove(),t.insert(e,t),t.remove(),t}attr(e,t){const n=this;if(!u(e))return C(e)&&he(e,(e,t)=>{n.attr(t,e)}),n;const o=n.attributes;if(o){if(void 0!==t){if(null===t){if(e in o.map){delete o.map[e];let t=o.length;for(;t--;)if(o[t].name===e)return o.splice(t,1),n}return n}if(e in o.map){let n=o.length;for(;n--;)if(o[n].name===e){o[n].value=t;break}}else o.push({name:e,value:t});return o.map[e]=t,n}return o.map[e]}}clone(){const e=this,t=new Ah(e.name,e.type),n=e.attributes;if(n){const e=[];e.map={};for(let t=0,o=n.length;tu(e.nodeValue)&&e.nodeValue.includes(Ki),Th=e=>(0===e.length?"":`${V(e,e=>`[${e}]`).join(",")},`)+'[data-mce-bogus="all"]',Oh=e=>document.createTreeWalker(e,NodeFilter.SHOW_COMMENT,e=>Dh(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP),Bh=e=>document.createTreeWalker(e,NodeFilter.SHOW_TEXT,e=>{if(Dh(e)){const t=e.parentNode;return t&&ke(Rh,t.nodeName)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}return NodeFilter.FILTER_SKIP}),Ph=e=>null!==Oh(e).nextNode(),Lh=e=>null!==Bh(e).nextNode(),Mh=(e,t)=>null!==t.querySelector(Th(e)),Ih=(e,t)=>{q(((e,t)=>t.querySelectorAll(Th(e)))(e,t),t=>{const n=un.fromDom(t);"all"===wo(n,"data-mce-bogus")?Ao(n):q(e,e=>{Eo(n,e)&&xo(n,e)})})},Fh=e=>{let t=e.nextNode();for(;null!==t;)t.nodeValue=null,t=e.nextNode()},Uh=k(Fh,Oh),zh=k(Fh,Bh),jh=(e,t)=>{const n=[{condition:D(Mh,t),action:D(Ih,t)},{condition:Ph,action:Uh},{condition:Lh,action:zh}];let o=e,r=!1;return q(n,({condition:t,action:n})=>{t(o)&&(r||(o=e.cloneNode(!0),r=!0),n(o))}),o},$h=e=>{const t=Ar(e,"[data-mce-bogus]");q(t,e=>{"all"===wo(e,"data-mce-bogus")?Ao(e):Mi(e)?(mo(e,un.fromText(ct)),Ao(e)):Ro(e)})},Hh=e=>{const t=Ar(e,"input");q(t,e=>{xo(e,"name")})},Vh=(e,t,n)=>{let o;return o="raw"===t.format?dn.trim(Gi(jh(n,e.serializer.getTempAttrs()).innerHTML)):"text"===t.format?((e,t)=>{const n=e.getDoc(),o=Qn(un.fromDom(e.getBody())),r=un.fromTag("div",n);vo(r,"data-mce-bogus","all"),jo(r,{position:"fixed",left:"-9999999px",top:"0"}),Mo(r,t.innerHTML),$h(r),Hh(r);const s=(e=>Xn(e)?e:un.fromDom(Pn(e).dom.body))(o);go(s,r);const a=Gi(r.dom.innerText);return Ao(r),a})(e,n):"tree"===t.format?e.serializer.serialize(n,t):((e,t)=>{const n=new RegExp(`^(<${e}[^>]*>( | |\\s|\xa0|
|)<\\/${e}>[\r\n]*|
[\r\n]*)$`);return t.replace(n,"")})(Ed(e),e.serializer.serialize(n,t)),"text"!==t.format&&!Vi(un.fromDom(n))&&u(o)?dn.trim(o):o},qh=dn.makeMap,Wh=e=>{const t=[],n=(e=e||{}).indent,o=qh(e.indent_before||""),r=qh(e.indent_after||""),s=Sa.getEncodeFunc(e.entity_encoding||"raw",e.entities),a="xhtml"!==e.element_format;return{start:(e,i,l)=>{if(n&&o[e]&&t.length>0){const e=t[t.length-1];e.length>0&&"\n"!==e&&t.push("\n")}if(t.push("<",e),i)for(let e=0,n=i.length;e":" />",l&&n&&r[e]&&t.length>0){const e=t[t.length-1];e.length>0&&"\n"!==e&&t.push("\n")}},end:e=>{let o;t.push(""),n&&r[e]&&t.length>0&&(o=t[t.length-1],o.length>0&&"\n"!==o&&t.push("\n"))},text:(e,n)=>{e.length>0&&(t[t.length]=n?e:s(e))},cdata:e=>{t.push("")},comment:e=>{t.push("\x3c!--",e,"--\x3e")},pi:(e,o)=>{o?t.push(""):t.push(""),n&&t.push("\n")},doctype:e=>{t.push("",n?"\n":"")},reset:()=>{t.length=0},getContent:()=>t.join("").replace(/\n$/,"")}},Kh=(e={},t=Ua())=>{const n=Wh(e);return e.validate=!("validate"in e)||e.validate,{serialize:o=>{const r=e.validate,s={3:e=>{n.text(e.value??"",e.raw)},8:e=>{n.comment(e.value??"")},7:e=>{n.pi(e.name,e.value)},10:e=>{n.doctype(e.value??"")},4:e=>{n.cdata(e.value??"")},11:e=>{let t=e;if(t=t.firstChild)do{a(t)}while(t=t.next)}};n.reset();const a=e=>{const o=s[e.type];if(o)o(e);else{const o=e.name,s=o in t.getVoidElements();let i=e.attributes;if(r&&i&&i.length>1){const n=[];n.map={};const o=t.getElementRule(e.name);if(o){for(let e=0,t=o.attributesOrder.length;e{Yh.add(e)});const Gh=new Set;q(["background-color"],e=>{Gh.add(e)});const Xh=["font","text-decoration","text-emphasis"],Qh=(e,t)=>ge(((e,t)=>e.parseStyle(e.getAttrib(t,"style")))(e,t)),Zh=(e,t)=>H(Qh(e,t),e=>(e=>Yh.has(e))(e)),Jh=(e,t,n)=>I.from(n.container()).filter(ss).exists(o=>{const r=e?0:-1;return t(o.data.charAt(n.offset()+r))}),eb=D(Jh,!0,Kf),tb=D(Jh,!1,Kf),nb=e=>{const t=e.container();return ss(t)&&(0===t.data.length||Yi(t.data)&&mp.isBookmarkNode(t.parentNode))},ob=(e,t)=>n=>Gu(e?0:-1,n).filter(t).isSome(),rb=e=>us(e)&&"block"===$o(un.fromDom(e),"display"),sb=e=>ps(e)&&!(e=>Xr(e)&&"all"===e.getAttribute("data-mce-bogus"))(e),ab=ob(!0,rb),ib=ob(!1,rb),lb=ob(!0,Cs),cb=ob(!1,Cs),db=ob(!0,ns),mb=ob(!1,ns),ub=ob(!0,sb),fb=ob(!1,sb),gb=(e,t)=>((e,t,n)=>Cn(t,e)?Fn(e,e=>n(e)||vn(e,t)).slice(0,-1):[])(e,t,L),pb=(e,t)=>[e].concat(gb(e,t)),hb=(e,t,n)=>xf(e,t,n,nb),bb=(e,t,n)=>Z(pb(un.fromDom(t.container()),e),(e=>t=>e.isBlock(En(t)))(n)),yb=(e,t,n,o)=>hb(e,t.dom,n).forall(e=>bb(t,n,o).fold(()=>!Yu(e,n,t.dom),o=>!Yu(e,n,t.dom)&&Cn(o,un.fromDom(e.container())))),vb=(e,t,n,o)=>bb(t,n,o).fold(()=>hb(e,t.dom,n).forall(e=>!Yu(e,n,t.dom)),t=>hb(e,t.dom,n).isNone()),Cb=D(vb,!1),wb=D(vb,!0),Sb=D(yb,!1),Eb=D(yb,!0),xb=e=>rf(e).exists(Mi),kb=(e,t,n,o)=>{const r=Y(pb(un.fromDom(n.container()),t),e=>o.isBlock(En(e))),s=ce(r).getOr(t);return Sf(e,s.dom,n).filter(xb)},_b=(e,t,n)=>rf(t).exists(Mi)||kb(!0,e,t,n).isSome(),Nb=(e,t,n)=>(e=>I.from(e.getNode(!0)).map(un.fromDom))(t).exists(Mi)||kb(!1,e,t,n).isSome(),Ab=D(kb,!1),Rb=D(kb,!0),Db=e=>Kl.isTextPosition(e)&&!e.isAtStart()&&!e.isAtEnd(),Tb=(e,t,n)=>{const o=Y(pb(un.fromDom(t.container()),e),e=>n.isBlock(En(e)));return ce(o).getOr(e)},Ob=(e,t,n)=>Db(t)?tb(t):tb(t)||Nf(Tb(e,t,n).dom,t).exists(tb),Bb=(e,t,n)=>Db(t)?eb(t):eb(t)||_f(Tb(e,t,n).dom,t).exists(eb),Pb=e=>rf(e).bind(e=>lr(e,An)).exists(e=>(e=>$(["pre","pre-wrap"],e))($o(e,"white-space"))),Lb=(e,t)=>n=>{return o=new Kr(n,e)[t](),C(o)&&ps(o)&&Iu(o);var o},Mb=(e,t,n)=>!Pb(t)&&(((e,t,n)=>((e,t)=>Nf(e.dom,t).isNone())(e,t)||((e,t)=>_f(e.dom,t).isNone())(e,t)||Cb(e,t,n)||wb(e,t,n)||Nb(e,t,n)||_b(e,t,n))(e,t,n)||Ob(e,t,n)||Bb(e,t,n)),Ib=(e,t,n)=>!Pb(t)&&(Cb(e,t,n)||Sb(e,t,n)||Nb(e,t,n)||Ob(e,t,n)||((e,t)=>{const n=Nf(e.dom,t).getOr(t),o=Lb(e.dom,"prev");return t.isAtStart()&&(o(t.container())||o(n.container()))})(e,t)),Fb=(e,t,n)=>!Pb(t)&&(wb(e,t,n)||Eb(e,t,n)||_b(e,t,n)||Bb(e,t,n)||((e,t)=>{const n=_f(e.dom,t).getOr(t),o=Lb(e.dom,"next");return t.isAtEnd()&&(o(t.container())||o(n.container()))})(e,t)),Ub=(e,t,n)=>Ib(e,t,n)||Fb(e,(e=>{const t=e.container(),n=e.offset();return ss(t)&&nqf(e.charAt(t)),jb=(e,t)=>Kf(e.charAt(t)),$b=(e,t,n,o)=>{const r=t.data,s=Kl(t,0);return n||!zb(r,0)||Ub(e,s,o)?!!(n&&jb(r,0)&&Ib(e,s,o))&&(t.data=dt+r.slice(1),!0):(t.data=" "+r.slice(1),!0)},Hb=(e,t,n,o)=>{const r=t.data,s=Kl(t,r.length-1);return n||!zb(r,r.length-1)||Ub(e,s,o)?!!(n&&jb(r,r.length-1)&&Fb(e,s,o))&&(t.data=r.slice(0,-1)+dt,!0):(t.data=r.slice(0,-1)+" ",!0)},Vb=(e,t,n)=>{const o=t.container();if(!ss(o))return I.none();if((e=>{const t=e.container();return ss(t)&&Xe(t.data,dt)})(t)){const r=$b(e,o,!1,n)||(e=>{const t=e.data,n=(e=>{const t=e.split("");return V(t,(e,n)=>qf(e)&&n>0&&n{if(0===n)return;const r=un.fromDom(e),s=ir(r,e=>o.isBlock(En(e))).getOr(r),a=e.data.slice(t,t+n),i=t+n>=e.data.length&&Fb(s,Kl(e,e.data.length),o),l=0===t&&Ib(s,Kl(e,0),o);e.replaceData(t,n,Rs(a,4,l,i))},Wb=(e,t,n)=>{const o=e.data.slice(t),r=o.length-tt(o).length;qb(e,t,r,n)},Kb=(e,t,n)=>{const o=e.data.slice(0,t),r=o.length-nt(o).length;qb(e,t-r,r,n)},Yb=(e,t,n,o,r=!0)=>{const s=nt(e.data).length,a=r?e:t,i=r?t:e;return r?a.appendData(i.data):a.insertData(0,i.data),Ao(un.fromDom(i)),o&&Wb(a,s,n),a},Gb=(e,t)=>((e,t)=>{const n=e.container(),o=e.offset();return!Kl.isTextPosition(e)&&n===t.parentNode&&o>Kl.before(t).offset()})(t,e)?Kl(t.container(),t.offset()-1):t,Xb=e=>{return Nl(e.previousSibling)?I.some((t=e.previousSibling,ss(t)?Kl(t,t.data.length):Kl.after(t))):e.previousSibling?Rf(e.previousSibling):I.none();var t},Qb=e=>{return Nl(e.nextSibling)?I.some((t=e.nextSibling,ss(t)?Kl(t,0):Kl.before(t))):e.nextSibling?Af(e.nextSibling):I.none();var t},Zb=(e,t,n)=>((e,t,n)=>e?((e,t)=>Qb(t).orThunk(()=>Xb(t)).orThunk(()=>((e,t)=>_f(e,Kl.after(t)).orThunk(()=>Nf(e,Kl.before(t))))(e,t)))(t,n):((e,t)=>Xb(t).orThunk(()=>Qb(t)).orThunk(()=>((e,t)=>I.from(t.previousSibling?t.previousSibling:t.parentNode).bind(t=>Nf(e,Kl.before(t))).orThunk(()=>_f(e,Kl.after(t))))(e,t)))(t,n))(e,t,n).map(D(Gb,n)),Jb=(e,t,n)=>{n.fold(()=>{e.focus()},n=>{e.selection.setRng(n.toRange(),t)})},ey=(e,t)=>t&&ke(e.schema.getBlockElements(),En(t)),ty=(e,t,n,o=!0,r=!1)=>{const s=Zb(t,e.getBody(),n.dom),a=ir(n,D(ey,e),(i=e.getBody(),e=>e.dom===i));var i;const l=((e,t,n,o)=>{const r=zn(e).filter(Rn),s=jn(e).filter(Rn);return Ao(e),(a=r,i=s,l=t,c=(e,t,r)=>{const s=e.dom,a=t.dom,i=s.data.length;return Yb(s,a,n,o),r.container()===a?Kl(s,i):r},a.isSome()&&i.isSome()&&l.isSome()?I.some(c(a.getOrDie(),i.getOrDie(),l.getOrDie())):I.none()).orThunk(()=>(o&&(r.each(e=>Kb(e.dom,e.dom.length,n)),s.each(e=>Wb(e.dom,0,n))),t));var a,i,l,c})(n,s,e.schema,((e,t)=>ke(e.schema.getTextInlineElements(),En(t)))(e,n));e.dom.isEmpty(e.getBody())?(e.setContent(""),e.selection.setCursorLocation()):a.bind(t=>((e,t,n)=>{if(Ls(e,t)){const e=un.fromHtml('
');return n?q(Vn(t),e=>{Lg(e)||Ao(e)}):No(t),go(t,e),I.some(Kl.before(e.dom))}return I.none()})(e.schema,t,r)).fold(()=>{o&&Jb(e,t,l)},n=>{o&&Jb(e,t,I.some(n))})},ny=/[\u0591-\u07FF\uFB1D-\uFDFF\uFE70-\uFEFC]/,oy=(e,t)=>bn(un.fromDom(t),Qd(e))&&!Zs(e.schema,t)&&e.dom.isEditable(t),ry=e=>"rtl"===gi.DOM.getStyle(e,"direction",!0)||(e=>ny.test(e))(e.textContent??""),sy=(e,t,n)=>{const o=((e,t,n)=>Y(gi.DOM.getParents(n.container(),"*",t),e))(e,t,n);return I.from(o[o.length-1])},ay=(e,t)=>{const n=t.container(),o=t.offset();return e?Ji(n)?ss(n.nextSibling)?Kl(n.nextSibling,0):Kl.after(n):nl(t)?Kl(n,o+1):t:Ji(n)?ss(n.previousSibling)?Kl(n.previousSibling,n.previousSibling.data.length):Kl.before(n):ol(t)?Kl(n,o-1):t},iy=D(ay,!0),ly=D(ay,!1),cy=(e,t)=>{const n=e=>e.stopImmediatePropagation();e.on("beforeinput input",n,!0),e.getDoc().execCommand(t),e.off("beforeinput input",n)},dy=e=>cy(e,"Delete"),my=e=>cy(e,"ForwardDelete"),uy=e=>Ui(e)||ji(e),fy=(e,t)=>Cn(e,t)?lr(t,uy,(e=>t=>ze(Mn(t),e,vn))(e)):I.none(),gy=(e,t=!0)=>{e.dom.isEmpty(e.getBody())&&e.setContent("",{no_selection:!t})},py=(e,t,n)=>$e(Af(n),Rf(n),(o,r)=>{const s=ay(!0,o),a=ay(!1,r),i=ay(!1,t);return e?_f(n,i).exists(e=>e.isEqual(a)&&t.isEqual(s)):Nf(n,i).exists(e=>e.isEqual(s)&&t.isEqual(a))}).getOr(!0),hy=e=>(_n(e)?zn(e):Kn(e)).bind(hy).orThunk(()=>I.some(e)),by=(e,t,n,o=!0)=>{t.deleteContents();const r=hy(n).getOr(n),s=un.fromDom(e.dom.getParent(r.dom,e.dom.isBlock)??n.dom);if(s.dom===e.getBody()?gy(e,o):Ls(e.schema,s,{checkRootAsContent:!1})&&(Wi(s),o&&e.selection.setCursorLocation(s.dom,0)),!vn(n,s)){const t=ze(Mn(s),n)?[]:Un(s);q(t.concat(Vn(n)),t=>{vn(t,s)||Cn(t,s)||!Ls(e.schema,t)||Ao(t)})}},yy=e=>Ar(e,"td,th"),vy=(e,t)=>Zf(un.fromDom(e),t),Cy=(e,t)=>({start:e,end:t}),wy=Ne([{singleCellTable:["rng","cell"]},{fullTable:["table"]},{partialTable:["cells","outsideDetails"]},{multiTable:["startTableCells","endTableCells","betweenRng"]}]),Sy=(e,t)=>fr(un.fromDom(e),"td,th",t),Ey=e=>!vn(e.start,e.end),xy=(e,t)=>Zf(e.start,t).bind(n=>Zf(e.end,t).bind(e=>He(vn(n,e),n))),ky=e=>t=>xy(t,e).map(e=>((e,t,n)=>({rng:e,table:t,cells:n}))(t,e,yy(e))),_y=(e,t,n,o)=>{if(n.collapsed||!e.forall(Ey))return I.none();if(t.isSameTable){const t=e.bind(ky(o));return I.some({start:t,end:t})}{const e=Sy(n.startContainer,o),t=Sy(n.endContainer,o),r=e.bind((e=>t=>Zf(t,e).bind(e=>de(yy(e)).map(e=>Cy(t,e))))(o)).bind(ky(o)),s=t.bind((e=>t=>Zf(t,e).bind(e=>ce(yy(e)).map(e=>Cy(e,t))))(o)).bind(ky(o));return I.some({start:r,end:s})}},Ny=(e,t)=>J(e,e=>vn(e,t)),Ay=e=>$e(Ny(e.cells,e.rng.start),Ny(e.cells,e.rng.end),(t,n)=>e.cells.slice(t,n+1)),Ry=(e,t)=>{const{startTable:n,endTable:o}=t,r=e.cloneRange();return n.each(e=>r.setStartAfter(e.dom)),o.each(e=>r.setEndBefore(e.dom)),r},Dy=(e,t)=>{const n=(e=>t=>vn(e,t))(e),o=((e,t)=>{const n=Sy(e.startContainer,t),o=Sy(e.endContainer,t);return $e(n,o,Cy)})(t,n),r=((e,t)=>{const n=vy(e.startContainer,t),o=vy(e.endContainer,t),r=n.isSome(),s=o.isSome(),a=$e(n,o,vn).getOr(!1);return(e=>$e(e.startTable,e.endTable,(t,n)=>{const o=Dr(t,e=>vn(e,n)),r=Dr(n,e=>vn(e,t));return o||r?{...e,startTable:o?I.none():e.startTable,endTable:r?I.none():e.endTable,isSameTable:!1,isMultiTable:!1}:e}).getOr(e))({startTable:n,endTable:o,isStartInTable:r,isEndInTable:s,isSameTable:a,isMultiTable:!a&&r&&s})})(t,n);return((e,t,n)=>e.exists(e=>((e,t)=>!Ey(e)&&xy(e,t).exists(e=>{const t=e.dom.rows;return 1===t.length&&1===t[0].cells.length}))(e,n)&&tg(e.start,t)))(o,t,n)?o.map(e=>wy.singleCellTable(t,e.start)):r.isMultiTable?((e,t,n,o)=>_y(e,t,n,o).bind(({start:e,end:o})=>{const r=e.bind(Ay).getOr([]),s=o.bind(Ay).getOr([]);if(r.length>0&&s.length>0){const e=Ry(n,t);return I.some(wy.multiTable(r,s,e))}return I.none()}))(o,r,t,n):((e,t,n,o)=>_y(e,t,n,o).bind(({start:e,end:t})=>e.or(t)).bind(e=>{const{isSameTable:o}=t,r=Ay(e).getOr([]);if(o&&e.cells.length===r.length)return I.some(wy.fullTable(e.table));if(r.length>0){if(o)return I.some(wy.partialTable(r,I.none()));{const e=Ry(n,t);return I.some(wy.partialTable(r,I.some({...t,rng:e})))}}return I.none()}))(o,r,t,n)},Ty=e=>q(e,e=>{xo(e,"contenteditable"),Wi(e)}),Oy=(e,t,n,o)=>{const r=n.cloneRange();o?(r.setStart(n.startContainer,n.startOffset),r.setEndAfter(t.dom.lastChild)):(r.setStartBefore(t.dom.firstChild),r.setEnd(n.endContainer,n.endOffset)),My(e,r,t,!1).each(e=>e())},By=e=>{const t=Qf(e),n=un.fromDom(e.selection.getNode());bs(n.dom)&&Ls(e.schema,n)?e.selection.setCursorLocation(n.dom,0):e.selection.collapse(!0),t.length>1&&H(t,e=>vn(e,n))&&vo(n,"data-mce-selected","1")},Py=(e,t,n)=>I.some(()=>{const o=e.selection.getRng(),r=n.bind(({rng:n,isStartInTable:r})=>{const s=((e,t)=>I.from(e.dom.getParent(t,e.dom.isBlock)).map(un.fromDom))(e,r?n.endContainer:n.startContainer);n.deleteContents(),((e,t,n)=>{n.each(n=>{t?Ao(n):(Wi(n),e.selection.setCursorLocation(n.dom,0))})})(e,r,s.filter(D(Ls,e.schema)));const a=r?t[0]:t[t.length-1];return Oy(e,a,o,r),Ls(e.schema,a)?I.none():I.some(r?t.slice(1):t.slice(0,-1))}).getOr(t);Ty(r),By(e)}),Ly=(e,t,n,o)=>I.some(()=>{const r=e.selection.getRng(),s=t[0],a=n[n.length-1];Oy(e,s,r,!0),Oy(e,a,r,!1);const i=Ls(e.schema,s)?t:t.slice(1),l=Ls(e.schema,a)?n:n.slice(0,-1);Ty(i.concat(l)),o.deleteContents(),By(e)}),My=(e,t,n,o=!0)=>I.some(()=>{by(e,t,n,o)}),Iy=(e,t)=>I.some(()=>ty(e,!1,t)),Fy=(e,t)=>Z(pb(t,e),Hi),Uy=(e,t)=>Z(pb(t,e),On("caption")),zy=(e,t)=>I.some(()=>{Wi(t),e.selection.setCursorLocation(t.dom,0)}),jy=(e,t)=>e?db(t):mb(t),$y=(e,t,n)=>{const o=un.fromDom(e.getBody());return Uy(o,n).fold(()=>((e,t,n,o)=>{const r=Kl.fromRangeStart(e.selection.getRng());return Fy(n,o).bind(o=>Ls(e.schema,o,{checkRootAsContent:!1})?zy(e,o):((e,t,n,o,r)=>Ef(n,e.getBody(),r).bind(e=>Fy(t,un.fromDom(e.getNode())).bind(e=>vn(e,o)?I.none():I.some(x))))(e,n,t,o,r))})(e,t,o,n).orThunk(()=>He(((e,t)=>{const n=Kl.fromRangeStart(e.selection.getRng());return jy(t,n)||Sf(t,e.getBody(),n).exists(e=>jy(t,e))})(e,t),x)),n=>((e,t,n,o)=>{const r=Kl.fromRangeStart(e.selection.getRng());return Ls(e.schema,o)?zy(e,o):((e,t,n,o,r)=>Ef(n,e.getBody(),r).fold(()=>I.some(x),s=>((e,t,n,o)=>Af(e.dom).bind(r=>Rf(e.dom).map(e=>t?n.isEqual(r)&&o.isEqual(e):n.isEqual(e)&&o.isEqual(r))).getOr(!0))(o,n,r,s)?((e,t)=>zy(e,t))(e,o):((e,t,n)=>Uy(e,un.fromDom(n.getNode())).fold(()=>I.some(x),e=>He(!vn(e,t),x)))(t,o,s)))(e,n,t,o,r)})(e,t,o,n))},Hy=(e,t)=>{const n=un.fromDom(e.selection.getStart(!0)),o=Qf(e);return e.selection.isCollapsed()&&0===o.length?$y(e,t,n):((e,t,n)=>{const o=un.fromDom(e.getBody()),r=e.selection.getRng();return 0!==n.length?Py(e,n,I.none()):((e,t,n,o)=>Uy(t,o).fold(()=>((e,t,n)=>Dy(t,n).bind(t=>t.fold(D(My,e),D(Iy,e),D(Py,e),D(Ly,e))))(e,t,n),t=>((e,t)=>zy(e,t))(e,t)))(e,o,r,t)})(e,n,o)},Vy=(e,t)=>{let n=t;for(;n&&n!==e;){if(gs(n)||ps(n))return n;n=n.parentNode}return null},qy=["data-ephox-","data-mce-","data-alloy-","data-snooker-","_"],Wy=dn.each,Ky=e=>{const t=e.dom,n=new Set(e.serializer.getTempAttrs()),o=e=>H(qy,t=>Qe(e,t))||n.has(e);return{compare:(e,n)=>{if(e.nodeName!==n.nodeName||e.nodeType!==n.nodeType)return!1;const r=e=>{const n={};return Wy(t.getAttribs(e),r=>{const s=r.nodeName.toLowerCase();"style"===s||o(s)||(n[s]=t.getAttrib(e,s))}),n},s=(e,t)=>{for(const n in e)if(ke(e,n)){const o=t[n];if(y(o))return!1;if(e[n]!==o)return!1;delete t[n]}for(const e in t)if(ke(t,e))return!1;return!0};if(Xr(e)&&Xr(n)){if(!s(r(e),r(n)))return!1;if(!s(t.parseStyle(t.getAttrib(e,"style")),t.parseStyle(t.getAttrib(n,"style"))))return!1}return!Vf(e)&&!Vf(n)},isAttributeInternal:o}},Yy=Eg,Gy=(e,t,n)=>{const o=e.formatter.get(n);if(o)for(let n=0;n{const s=e.dom.getRoot();if(t===s)return!1;const a=e.dom.getParent(t,t=>!!Gy(e,t,n)||t.parentNode===s||!!Jy(e,t,n,o,!0));return!!Jy(e,a,n,o,r)},Qy=(e,t,n)=>!(!Og(n)||!Yy(t,n.inline))||!(!Rg(n)||!Yy(t,n.block))||!!Tg(n)&&Xr(t)&&e.is(t,n.selector),Zy=(e,t,n,o,r,s)=>{const a=n[o],i="attributes"===o;if(w(n.onmatch))return n.onmatch(t,n,o);if(a)if(ft(a)){for(let n=0;n{const s=e.formatter.get(n),a=e.dom;if(s&&Xr(t))for(let n=0;nC(Jy(e,t,n,o,r))||H(me(t.childNodes),t=>ev(e,t,n,o,r)),tv=(e,t,n,o,r)=>{const s=e.dom;return!(!Xr(t)||"false"!==s.getContentEditable(t)||wg(e,t))&&H(Cg(s,t),t=>ev(e,t,n,o,r))},nv=(e,t,n,o,r)=>{if(o)return Xy(e,o,t,n,r)||tv(e,o,t,n,r);if(o=e.selection.getNode(),Xy(e,o,t,n,r)||tv(e,o,t,n,r))return!0;const s=e.selection.getStart();return!(s===o||!Xy(e,s,t,n,r))},ov=Ki,rv=e=>{if(e){const t=new Kr(e,e);for(let e=t.current();e;e=t.next())if(ss(e))return e}return null},sv=e=>{const t=un.fromTag("span");return Co(t,{id:Df,"data-mce-bogus":"1","data-mce-type":"format-caret"}),e&&go(t,un.fromText(ov)),t},av=(e,t,n)=>{const o=e.dom,r=e.selection;if(Pg(t))ty(e,!1,un.fromDom(t),n,!0);else{const e=r.getRng(),n=o.getParent(t,o.isBlock),s=e.startContainer,a=e.startOffset,i=e.endContainer,l=e.endOffset,c=(e=>{const t=rv(e);return t&&t.data.charAt(0)===ov&&t.deleteData(0,1),t})(t);o.remove(t,!0),s===c&&a>0&&e.setStart(c,a-1),i===c&&l>0&&e.setEnd(c,l-1),n&&o.isEmpty(n)&&Wi(un.fromDom(n)),r.setRng(e)}},iv=(e,t)=>e.nextSibling===t||e.previousSibling===t,lv=(e,t,n)=>e===t||e===n||iv(e,t)||iv(e,n),cv=(e,t,n)=>{const o=e.dom,r=e.selection;if(t)av(e,t,n);else if(!(t=Of(e.getBody(),r.getStart()))){const n=e.selection.getRng().startContainer,r=e.selection.getRng().endContainer;for(;t=o.get(Df);)av(e,t,lv(t,n,r))}},dv=(e,t)=>(e.appendChild(t),t),mv=(e,t)=>{const n=G(e,(e,t)=>dv(e,t.cloneNode(!1)),t),o=n.ownerDocument??document;return dv(n,o.createTextNode(ov))},uv=e=>rr(e,or(e).replace(new RegExp(`${dt}$`)," ")),fv=(e,t)=>{const n=()=>{null===t||e.dom.isEmpty(t)||zn(un.fromDom(t)).each(e=>{Rn(e)?uv(e):dr(e,e=>Rn(e)).each(e=>{Rn(e)&&uv(e)})})};e.once("input",t=>{t.data&&!Kf(t.data)&&(t.isComposing?e.once("compositionend",()=>{n()}):n())})},gv=(e,t,n,o)=>{const a=e.dom,i=e.selection;let l=!1;const c=e.formatter.get(t);if(!c)return;const d=i.getRng(),m=d.startContainer,u=d.startOffset;let f=m;ss(m)&&(u!==m.data.length&&(l=!0),f=f.parentNode);const g=[];let h;for(;f;){if(Jy(e,f,t,n,o)){h=f;break}f.nextSibling&&(l=!0),g.push(f),f=f.parentNode}if(h)if(l){const r=i.getBookmark();d.collapse(!0);let s=Qg(a,d,c,{includeTrailingSpace:!0});s=Zp(s),e.formatter.remove(t,n,s,o),i.moveToBookmark(r)}else{const l=Of(e.getBody(),h),c=C(l)?a.getParents(h.parentNode,M,l):[],d=sv(!1).dom;((e,t,n)=>{const o=e.dom,r=o.getParent(n,D(pg,e.schema));r&&o.isEmpty(r)?n.parentNode?.replaceChild(t,n):((e=>{const t=Ar(e,"br"),n=Y((e=>{const t=[];let n=e.dom;for(;n;)t.push(un.fromDom(n)),n=n.lastChild;return t})(e).slice(-1),Mi);t.length===n.length&&q(n,Ao)})(un.fromDom(n)),o.isEmpty(n)?n.parentNode?.replaceChild(t,n):o.insertAfter(t,n))})(e,d,l??h);const m=((e,t,n,o,a,i)=>{const l=e.formatter,c=e.dom,d=Y(ge(l.get()),e=>e!==o&&!Xe(e,"removeformat")),m=((e,t,n)=>X(n,(n,o)=>{const r=((e,t)=>Ag(e,t,e=>{const t=e=>w(e)||e.length>1&&"%"===e.charAt(0);return H(["styles","attributes"],n=>xe(e,n).exists(e=>{const n=p(e)?e:Ee(e);return H(n,t)}))}))(e,o);return e.formatter.matchNode(t,o,{},r)?n.concat([o]):n},[]))(e,n,d);if(Y(m,t=>!((e,t,n)=>{const o=["inline","block","selector","attributes","styles","classes"],a=e=>we(e,(e,t)=>H(o,e=>e===t));return Ag(e,t,t=>{const o=a(t);return Ag(e,n,e=>{const t=a(e);return((e,t,n=s)=>r(n).eq(e,t))(o,t)})})})(e,t,o)).length>0){const e=n.cloneNode(!1);return c.add(t,e),l.remove(o,a,e,i),c.remove(e),I.some(e)}return I.none()})(e,d,h,t,n,o),u=mv([...g,...m.toArray(),...c],d);l&&av(e,l,C(l)),i.setCursorLocation(u,1),fv(e,d),a.isEmpty(h)&&a.remove(h)}},pv=e=>{const t=sv(!1),n=mv(e,t.dom);return{caretContainer:t,caretPosition:Kl(n,0)}},hv=(e,t)=>{const{caretContainer:n,caretPosition:o}=pv(t);return mo(un.fromDom(e),n),Ao(un.fromDom(e)),o},bv=(e,t)=>{if(Tf(t.dom))return!1;const n=e.schema.getTextInlineElements();return ke(n,En(t))&&!Tf(t.dom)&&!ts(t.dom)},yv=(e,t)=>{if(ss(e))return{container:e,offset:t};const n=Jp.getNode(e,t);return ss(n)?{container:n,offset:t>=e.childNodes.length?n.data.length:0}:n.previousSibling&&ss(n.previousSibling)?{container:n.previousSibling,offset:n.previousSibling.data.length}:n.nextSibling&&ss(n.nextSibling)?{container:n.nextSibling,offset:0}:{container:e,offset:t}},vv=gi.DOM,Cv=()=>vv.create("span",{"data-mce-type":"bookmark"}),wv=(e,t,n)=>{if(Xr(e)){const o=n();return e.hasChildNodes()?t===e.childNodes.length?e.appendChild(o):e.insertBefore(o,e.childNodes[t]):e.appendChild(o),{container:o,offset:0}}return{container:e,offset:t}},Sv=(e,t)=>{if(Xr(e)&&C(e.parentNode)){const n=e;t=(e=>{let t=e.parentNode?.firstChild,n=0;for(;t;){if(t===e)return n;Xr(t)&&"bookmark"===t.getAttribute("data-mce-type")||n++,t=t.nextSibling}return-1})(e),e=e.parentNode,vv.remove(n),!e.hasChildNodes()&&vv.isBlock(e)&&e.appendChild(vv.create("br"))}return{container:e,offset:t}},Ev=(e,t,n,o)=>{const r=vv.createRng();return r.setStart(e,t),r.setEnd(n,o),(e=>{const t=e.cloneRange(),n=yv(e.startContainer,e.startOffset);t.setStart(n.container,n.offset);const o=yv(e.endContainer,e.endOffset);return t.setEnd(o.container,o.offset),t})(r)},xv=(e,t=Cv)=>{const{container:n,offset:o}=wv(e.startContainer,e.startOffset,t);if(e.collapsed)return{startContainer:n,startOffset:o};{const{container:r,offset:s}=wv(e.endContainer,e.endOffset,t);return{startContainer:n,startOffset:o,endContainer:r,endOffset:s}}},kv=e=>{const{container:t,offset:n}=Sv(e.startContainer,e.startOffset);if(y(e.endContainer)||y(e.endOffset))return Ev(t,n,t,n);{const{container:o,offset:r}=Sv(e.endContainer,e.endOffset);return Ev(t,n,o,r)}},_v=(e,t,n,o)=>{if(dn.each(n.styles,(n,r)=>{e.setStyle(t,r,Sg(n,o))}),n.styles){const n=e.getAttrib(t,"style");n&&e.setAttrib(t,"data-mce-style",n)}},Nv=(e,t,n,o,r)=>{const s=e.dom;w(n.onformat)&&n.onformat(t,n,o,r),_v(s,t,n,o),dn.each(n.attributes,(e,n)=>{s.setAttrib(t,n,Sg(e,o))}),dn.each(n.classes,e=>{const n=Sg(e,o);s.hasClass(t,n)||s.addClass(t,n)})},Av=e=>!p(e.attributes)&&!p(e.styles),Rv=dn.each,Dv=e=>Xr(e)&&!Vf(e)&&!Tf(e)&&!ts(e),Tv=(e,t)=>{for(let n=e;n;n=n[t]){if(ss(n)&&ot(n.data))return e;if(Xr(n)&&!Vf(n))return n}return e},Ov=(e,t,n)=>{const o=Ky(e),r=Qr(t)&&e.dom.isEditable(t),s=Qr(n)&&e.dom.isEditable(n);if(r&&s){const r=Tv(t,"previousSibling"),s=Tv(n,"nextSibling");if(o.compare(r,s)){for(let e=r.nextSibling;e&&e!==s;){const t=e;e=e.nextSibling,r.appendChild(t)}return e.dom.remove(s),dn.each(dn.grep(s.childNodes),e=>{r.appendChild(e)}),r}}return n},Bv=(e,t,n,o)=>{if(o&&!1!==t.merge_siblings){const t=Ov(e,gg(o),o)??o;Ov(e,t,gg(t,!0))}},Pv=(e,t,n)=>{Rv(e.childNodes,e=>{Dv(e)&&(t(e)&&n(e),e.hasChildNodes()&&Pv(e,t,n))})},Lv=(e,t)=>n=>!(!n||!kg(e,n,t)),Mv=(e,t,n)=>o=>{e.setStyle(o,t,n),""===o.getAttribute("style")&&o.removeAttribute("style"),((e,t)=>{"SPAN"===t.nodeName&&0===e.getAttribs(t).length&&e.remove(t,!0)})(e,o)},Iv=["fontWeight","fontStyle","color","fontSize","fontFamily"],Fv=(e,t)=>{const n=e.get(t);return p(n)?Z(n,e=>Og(e)&&"span"===e.inline&&(e=>f(e.styles)&&H(ge(e.styles),e=>$(Iv,e)))(e)):I.none()},Uv=e=>t=>ws(t)&&e.isEditable(t),zv=(e,t)=>V(e.getSelectedBlocks(),(n,o)=>0===o&&t(n)?e.dom.getParent(n,ws)??n:n),jv=e=>{const t=Qf(e);if(t.length>0){const e=ne(t,e=>Ar(e,"li"));return I.some(V(e,e=>e.dom))}return I.none()},$v=e=>{const t=jv(e).getOrThunk(()=>zv(e.selection,e=>!ws(e)));return Y(t,Uv(e.selection.dom))},Hv=Ne([{keep:[]},{rename:["name"]},{removed:[]}]),Vv=/^(src|href|style)$/,qv=dn.each,Wv=Eg,Kv=(e,t,n)=>e.isChildOf(t,n)&&t!==n&&!e.isBlock(n),Yv=(e,t,n)=>{let o=t[n?"startContainer":"endContainer"],r=t[n?"startOffset":"endOffset"];if(Xr(o)){const e=o.childNodes.length-1;!n&&r&&r--,o=o.childNodes[r>e?e:r]}return ss(o)&&n&&r>=o.data.length&&(o=new Kr(o,e.getBody()).next()||o),ss(o)&&!n&&0===r&&(o=new Kr(o,e.getBody()).prev()||o),o},Gv=(e,t)=>{const n=t?"firstChild":"lastChild",o=e[n];return(e=>/^(TR|TH|TD)$/.test(e.nodeName))(e)&&o?"TR"===e.nodeName&&o[n]||o:e},Xv=(e,t,n,o)=>{const r=e.create(n,o);return t.parentNode?.insertBefore(r,t),r.appendChild(t),r},Qv=(e,t,n,o,r)=>{const s=un.fromDom(t),a=un.fromDom(e.create(o,r)),i=n?Hn(s):$n(s);return bo(a,i),n?(mo(s,a),fo(a,s)):(uo(s,a),go(a,s)),a.dom},Zv=(e,t,n)=>{const o=t.parentNode;let r;const s=e.dom,a=Ed(e);Rg(n)&&o===s.getRoot()&&(n.list_block&&Wv(t,n.list_block)||q(me(t.childNodes),t=>{hg(e,a,t.nodeName.toLowerCase())?r?r.appendChild(t):(r=Xv(s,t,a),s.setAttribs(r,xd(e))):r=null})),(e=>Tg(e)&&Og(e)&&ze(xe(e,"mixed"),!0))(n)&&!Wv(n.inline,t)||s.remove(t,!0)},Jv=(e,t,n)=>S(e)?{name:t,value:null}:{name:e,value:Sg(t,n)},eC=(e,t)=>{""===e.getAttrib(t,"style")&&(t.removeAttribute("style"),t.removeAttribute("data-mce-style"))},tC=(e,t,n,o,r)=>{let s=!1;qv(n.styles,(a,i)=>{const{name:l,value:c}=Jv(i,a,o),d=xg(c,l);(n.remove_similar||h(c)||!Xr(r)||Wv(kg(e,r,l),d))&&e.setStyle(t,l,""),s=!0}),s&&eC(e,t)},nC=(e,t,n,o,r)=>{const s=e.dom,a=Ky(e),i=e.schema;if(Og(t)&&Xs(i,t.inline)&&Zs(i,o)&&o.parentElement===e.getBody())return Zv(e,o,t),Hv.removed();if(!t.ceFalseOverride&&o&&"false"===s.getContentEditableParent(o))return Hv.keep();if(o&&!Qy(s,o,t)&&!((e,t)=>t.links&&"A"===e.nodeName)(o,t))return Hv.keep();const l=o,c=t.preserve_attributes;if(Og(t)&&"all"===t.remove&&p(c)){const e=Y(s.getAttribs(l),e=>$(c,e.name.toLowerCase()));if(s.removeAllAttribs(l),q(e,e=>s.setAttrib(l,e.name,e.value)),e.length>0)return Hv.rename("span")}if("all"!==t.remove){tC(s,l,t,n,r),qv(t.attributes,(e,o)=>{const{name:a,value:i}=Jv(o,e,n);if(t.remove_similar||h(i)||!Xr(r)||Wv(s.getAttrib(r,a),i)){if("class"===a){const e=s.getAttrib(l,a);if(e){let t="";if(q(e.split(/\s+/),e=>{/mce\-\w+/.test(e)&&(t+=(t?" ":"")+e)}),t)return void s.setAttrib(l,a,t)}}if(Vv.test(a)&&l.removeAttribute("data-mce-"+a),"style"===a&&Jr(["li"])(l)&&"none"===s.getStyle(l,"list-style-type"))return l.removeAttribute(a),void s.setStyle(l,"list-style-type","none");"class"===a&&l.removeAttribute("className"),l.removeAttribute(a)}}),qv(t.classes,e=>{e=Sg(e,n),Xr(r)&&!s.hasClass(r,e)||s.removeClass(l,e)});const e=s.getAttribs(l);for(let t=0;tnC(e,t,n,o,o).fold(N(o),t=>(e.dom.createFragment().appendChild(o),e.dom.rename(o,t)),N(null)),rC=(e,t,n,o,r)=>{(o||e.selection.isEditable())&&((e,t,n,o,r)=>{const s=e.formatter.get(t),a=s[0],i=e.dom,l=e.selection,c=o=>{const i=((e,t,n,o,r)=>{let s;return t.parentNode&&q(Ng(e.dom,t.parentNode).reverse(),t=>{if(!s&&Xr(t)&&"_start"!==t.id&&"_end"!==t.id){const a=Jy(e,t,n,o,r);a&&!1!==a.split&&(s=t)}}),s})(e,o,t,n,r);return((e,t,n,o,r,s,a,i)=>{let l,c;const d=e.dom;if(n){const s=n.parentNode;for(let n=o.parentNode;n&&n!==s;n=n.parentNode){let o=d.clone(n,!1);for(let n=0;nH(s,o=>sC(e,o,n,t,t)),m=t=>{const n=me(t.childNodes),o=d(t)||H(s,e=>Qy(i,t,e)),r=t.parentNode;if(!o&&C(r)&&Bg(a)&&d(r),a.deep&&n.length)for(let e=0;e{Xr(t)&&e.dom.getStyle(t,"text-decoration")===n&&t.parentNode&&_g(i,t.parentNode)===n&&sC(e,{deep:!1,exact:!0,inline:"span",styles:{textDecoration:n}},void 0,t)})},u=e=>{const t=i.get(e?"_start":"_end");if(t){let n=t[e?"firstChild":"lastChild"];return(e=>Vf(e)&&Xr(e)&&("_start"===e.id||"_end"===e.id))(n)&&(n=n[e?"firstChild":"lastChild"]),ss(n)&&0===n.data.length&&(n=e?t.previousSibling||t.nextSibling:t.nextSibling||t.previousSibling),i.remove(t,!0),n}return null},f=t=>{let n,o,r=Qg(i,t,s,{includeTrailingSpace:t.collapsed});if(a.split){if(r=Zp(r),n=Yv(e,r,!0),o=Yv(e,r),n!==o){if(n=Gv(n,!0),o=Gv(o,!1),Kv(i,n,o)){const e=I.from(n.firstChild).getOr(n);return c(Qv(i,e,!0,"span",{id:"_start","data-mce-type":"bookmark"})),void u(!0)}if(Kv(i,o,n)){const e=I.from(o.lastChild).getOr(o);return c(Qv(i,e,!1,"span",{id:"_end","data-mce-type":"bookmark"})),void u(!1)}n=Xv(i,n,"span",{id:"_start","data-mce-type":"bookmark"}),o=Xv(i,o,"span",{id:"_end","data-mce-type":"bookmark"});const e=i.createRng();e.setStartAfter(n),e.setEndBefore(o),Zg(i,e,e=>{q(e,e=>{Vf(e)||Vf(e.parentNode)||c(e)})}),c(n),c(o),n=u(!0),o=u()}else n=o=c(n);r.startContainer=n.parentNode?n.parentNode:n,r.startOffset=i.nodeIndex(n),r.endContainer=o.parentNode?o.parentNode:o,r.endOffset=i.nodeIndex(o)+1}Zg(i,r,e=>{q(e,m)})};if(o){if(dg(o)){const e=i.createRng();e.setStartBefore(o),e.setEndAfter(o),f(e)}else f(o);rd(e,t,o,n)}else l.isCollapsed()&&Og(a)&&!Qf(e).length?gv(e,t,n,r):(ug(e,()=>rg(e,f),o=>Og(a)&&nv(e,t,n,o)),e.nodeChanged()),((e,t,n)=>{"removeformat"===t?q($v(e),t=>{q(Iv,n=>e.dom.setStyle(t,n,"")),eC(e.dom,t)}):Fv(e.formatter,t).each(t=>{q($v(e),o=>tC(e.dom,o,t,n,null))})})(e,t,n),rd(e,t,o,n)})(e,t,n,o,r)},sC=(e,t,n,o,r)=>nC(e,t,n,o,r).fold(L,t=>(e.dom.rename(o,t),!0),M),aC=dn.each,iC=(e,t,n,o)=>{const r=t=>{if(Qr(t)&&Xr(t.parentNode)&&e.isEditable(t)){const n=_g(e,t.parentNode);e.getStyle(t,"color")&&n?e.setStyle(t,"text-decoration",n):e.getStyle(t,"text-decoration")===n&&e.setStyle(t,"text-decoration",null)}};t.styles&&(t.styles.color||t.styles.textDecoration)&&(dn.walk(o,r,"childNodes"),r(o))},lC=["subscript","superscript"],cC=[{format:"strikethrough",fontSizeAlteringFormats:["fontsize",...lC],keepsColoredDecorations:!1},{format:"underline",fontSizeAlteringFormats:lC,keepsColoredDecorations:!0}],dC=(e,t,n)=>H(t.fontSizeAlteringFormats,t=>((e,t,n)=>C(e.matchNode(t.dom,n,{},"fontsize"===n)))(e,n,t)),mC=(e,t,n,o,r,s)=>{const a=t=>vn(un.fromDom(e.getRoot()),t)||e.isBlock(t.dom);q(t,t=>{((e,t,n,o,r,s)=>{const a=Fn(t,e).filter(An);return(i=a,l=n,ee(i,l).map(e=>e.i)).map(e=>{const t=a[e];return{container:t,innerWrapper:r(t),outerWrappers:[...s(To(t)).toArray(),...ne(a.slice(0,e),e=>n(e)?s(o(e)?To(e):e).toArray():[To(e)])]}});var i,l})(a,t,n,o,r,s).each(({container:r,innerWrapper:a,outerWrappers:i})=>{e.split(r.dom,t.dom),((e,t,n,o,r)=>{q(Vn(e),e=>{An(e)&&n(e)&&!o(e)&&r(e).isNone()&&Ro(e)}),q(Vn(e),e=>go(t,e)),fo(e,t)})(t,a,n,o,s),((e,t)=>{if(t.length>0){const n=t[t.length-1];mo(e,n);const o=X(t.slice(0,t.length-1),(e,t)=>(go(e,t),t),n);go(o,e)}})(t,i)})})},uC=(e,t,n)=>{const o=t.format;mC(e.dom,n,t=>C(Jy(e,t.dom,o)),e=>t.keepsColoredDecorations&&Vo(e,"color").isSome(),t=>{const n=un.fromTag(En(t)),r=Jy(e,t.dom,o,{});return C(r)&&Av(r)&&Nv(e,n.dom,r),n},t=>{const n=Jy(e,t.dom,o,{});return C(n)?((e,t,n,o)=>nC(e,t,{},o).fold(()=>I.some(o),t=>I.some(e.dom.rename(o,t)),I.none))(e,n,0,t.dom).map(un.fromDom):I.some(t)})},fC=(e,t)=>{const n=xv(e.selection.getRng());t(),e.selection.setRng(kv(n))},gC=e=>["h1","h2","h3","h4","h5","h6"].includes(e.name),pC=(e,t,n,o)=>{const r=n.name;for(let t=0,s=e.length;t{const n=(e,n)=>{he(e,e=>{const o=me(e.nodes);q(e.filter.callbacks,r=>{for(let t=o.length-1;t>=0;t--){const r=o[t];(n?void 0!==r.attr(e.filter.name):r.name===e.filter.name)&&!v(r.parent)||o.splice(t,1)}o.length>0&&r(o,e.filter.name,t)})})};n(e.nodes,!1),n(e.attributes,!0)},bC=(e,t,n,o={})=>{const r=((e,t,n)=>{const o={nodes:{},attributes:{}};return n.firstChild&&((e,t)=>{let n=e;for(;n=n.walk();)t(n)})(n,n=>{pC(e,t,n,o)}),o})(e,t,n);hC(r,o)},yC=(e,t,n,o)=>{if((e.pad_empty_with_br||t.insert)&&n(o)){const e=new Ah("br",1);t.insert&&e.attr("data-mce-bogus","1"),o.empty().append(e)}else o.empty().append(new Ah("#text",3)).value=dt},vC=(e,t)=>{const n=e?.firstChild;return C(n)&&n===e.lastChild&&n.name===t},CC=(e,t,n,o)=>o.isEmpty(t,n,t=>((e,t)=>{const n=e.getElementRule(t.name);return!0===n?.paddEmpty})(e,t)),wC=e=>{let t;for(let n=e;n;n=n.parent){const e=n.attr("contenteditable");if("false"===e)break;"true"===e&&(t=n)}return I.from(t)},SC=(e,t,n=e.parent)=>{if(t.getSpecialElements()[e.name])e.empty().remove();else{const o=e.children();for(const e of o)n&&!t.isValidChild(n.name,e.name)&&SC(e,t,n);e.unwrap()}},EC=(e,t,n,o=x)=>{const r=t.getTextBlockElements(),s=t.getNonEmptyElements(),a=t.getWhitespaceElements(),i=dn.makeMap("tr,td,th,tbody,thead,tfoot,table,summary"),l=new Set,c=e=>e!==n&&!i[e.name];for(let n=0;n1)if(xC(t,i,d))SC(i,t);else{f.reverse(),m=f[0].clone(),o(m);let e=m;for(let n=0;n0?(u=f[n].clone(),o(u),e.append(u)):u=e;for(let e=f[n].firstChild;e&&e!==f[n+1];){const t=e.next;u.append(e),e=t}e=u}CC(t,s,a,m)?d.insert(i,f[0],!0):(d.insert(m,f[0],!0),d.insert(i,m)),d=f[0],(CC(t,s,a,d)||vC(d,"br"))&&d.empty().remove()}else if(i.parent){if("li"===i.name){let e=i.prev;if(e&&("ul"===e.name||"ol"===e.name)){e.append(i);continue}if(e=i.next,e&&("ul"===e.name||"ol"===e.name)&&e.firstChild){e.insert(i,e.firstChild,!0);continue}const t=new Ah("ul",1);o(t),i.wrap(t);continue}if(t.isValidChild(i.parent.name,"div")&&t.isValidChild("div",i.name)){const e=new Ah("div",1);o(e),i.wrap(e)}else SC(i,t)}}},xC=(e,t,n=t.parent)=>!(!n||(!e.children[t.name]||e.isValidChild(n.name,t.name))&&("a"!==t.name||!(e=>{let t=e;for(;t;){if("a"===t.name)return!0;t=t.parent}return!1})(n))&&(!(e=>"summary"===e.name)(n)||!gC(t)||n?.firstChild===t&&n?.lastChild===t)),kC=e=>e.collapsed?e:(e=>{const t=Kl.fromRangeStart(e),n=Kl.fromRangeEnd(e),o=e.commonAncestorContainer;return Sf(!1,o,n).map(r=>!Yu(t,n,o)&&Yu(t,r,o)?((e,t,n,o)=>{const r=document.createRange();return r.setStart(e,t),r.setEnd(n,o),r})(t.container(),t.offset(),r.container(),r.offset()):e).getOr(e)})(e),_C=dn.explode,NC=()=>{const e={};return{addFilter:(t,n)=>{q(_C(t),t=>{ke(e,t)||(e[t]={name:t,callbacks:[]}),e[t].callbacks.push(n)})},getFilters:()=>Ee(e),removeFilter:(t,n)=>{q(_C(t),t=>{if(ke(e,t))if(C(n)){const o=e[t],r=Y(o.callbacks,e=>e!==n);r.length>0?o.callbacks=r:delete e[t]}else delete e[t]})}}},AC=e=>e.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&"),RC=(e,t,n)=>{const o=Ga();t.convert_fonts_to_spans&&((e,t,n)=>{e.addNodeFilter("font",e=>{q(e,e=>{const o=t.parse(e.attr("style")),r=e.attr("color"),s=e.attr("face"),a=e.attr("size");r&&(o.color=r),s&&(o["font-family"]=s),a&&st(a).each(e=>{o["font-size"]=n[e-1]}),e.name="span",e.attr("style",t.serialize(o)),(e=>{q(["color","face","size"],t=>{e.attr(t,null)})})(e)})})})(e,o,dn.explode(t.font_size_legacy_values??"")),((e,t,n)=>{e.addNodeFilter("strike",e=>{const o="html4"!==t.type;q(e,e=>{if(o)e.name="s";else{const t=n.parse(e.attr("style"));t["text-decoration"]="line-through",e.name="span",e.attr("style",n.serialize(t))}})})})(e,n,o)},DC=e=>{const[t,...n]=e.split(","),o=n.join(","),r=/data:([^/]+\/[^;]+)(;.+)?/.exec(t);if(r){const e=";base64"===r[2],t=(e=>{try{return decodeURIComponent(e)}catch{return e}})(o),n=e?(e=>{const t=/([a-z0-9+\/=\s]+)/i.exec(e);return t?t[1]:""})(t):t;return I.some({type:r[1],data:n,base64Encoded:e})}return I.none()},TC=(e,t,n=!0)=>{let o=t;if(n)try{o=atob(t)}catch{return I.none()}const r=new Uint8Array(o.length);for(let e=0;enew Promise((t,n)=>{const o=new FileReader;o.onloadend=()=>{t(o.result)},o.onerror=()=>{n(o.error?.message)},o.readAsDataURL(e)});let BC=0;const PC=(e,t,n)=>DC(e).bind(({data:e,type:o,base64Encoded:r})=>{if(t&&!r)return I.none();{const t=r?e:btoa((s=e,X((new window.TextEncoder).encode(s),(e,t)=>e+String.fromCharCode(t),"")));return n(t,o)}var s}),LC=(e,t,n)=>{const o=e.create("blobid"+BC++,t,n);return e.add(o),o},MC=(e,t,n=!1)=>PC(t,n,(t,n)=>I.from(e.getByData(t,n)).orThunk(()=>TC(n,t).map(n=>LC(e,n,t)))),IC=/^(?:(?:(?:[A-Za-z][A-Za-z\d.+-]{0,14}:\/\/(?:[-.~*+=!&;:'%@?^${}(),\w]+@)?|www\.|[-;:&=+$,.\w]+@)([A-Za-z\d-]+(?:\.[A-Za-z\d-]+)*))(?::\d+)?(?:\/(?:[-.~*+=!;:'%@$(),\/\w]*[-~*+=%@$()\/\w])?)?(?:\?(?:[-.~*+=!&;:'%@?^${}(),\/\w]+)?)?(?:#(?:[-.~*+=!&;:'%@?^${}(),\/\w]+)?)?)$/,FC=e=>I.from(e.match(IC)).bind(e=>le(e,1)).map(e=>Qe(e,"www.")?e.substring(4):e),UC=(e,t)=>{I.from(e.attr("src")).bind(FC).forall(e=>!$(t,e))&&e.attr("sandbox","")},zC=(e,t)=>Qe(e,`${t}/`); /*! @license DOMPurify 3.4.12 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.12/LICENSE */ -function LC(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n2?n-2:0),r=2;r1?t-1:0),o=1;o1?n-1:0),r=1;r2&&void 0!==arguments[2]?arguments[2]:ew;if(FC&&FC(e,null),!JC(t))return e;let o=t.length;for(;o--;){let r=t[o];if("string"==typeof r){const e=n(r);e!==r&&(UC(t)||(t[o]=e),r=e)}e[r]=!0}return e}function bw(e){for(let t=0;t/g),Bw=HC(/\${[\w\W]*/g),Pw=HC(/^data-[\-\w.\u00B7-\uFFFF]+$/),Lw=HC(/^aria-[\-\w]+$/),Mw=HC(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Iw=HC(/^(?:\w+script|data):/i),Fw=HC(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Uw=HC(/^html$/i),zw=HC(/^[a-z][.\w]*(-[.\w]+)+$/i),jw=HC(/<[/\w!]/g),$w=HC(/<[/\w]/g),Hw=HC(/<\/no(script|embed|frames)/i),Vw=HC(/\/>/i),qw=function(){return"undefined"==typeof window?null:window},Ww=function(e,t,n,o){return dw(e,t)&&JC(e[t])?hw(o.base?yw(o.base):{},e[t],o.transform):n};var Kw=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:qw();const n=t=>e(t);if(n.version="3.4.12",n.removed=[],!t||!t.document||9!==t.document.nodeType||!t.Element)return n.isSupported=!1,n;let o=t.document;const r=o,s=r.currentScript;t.DocumentFragment;const a=t.HTMLTemplateElement,i=t.Node,l=t.Element,c=t.NodeFilter;void 0===t.NamedNodeMap&&(t.NamedNodeMap||t.MozNamedAttrMap),t.HTMLFormElement;const d=t.DOMParser,m=t.trustedTypes,u=l.prototype,f=vw(u,"cloneNode"),g=vw(u,"remove"),p=vw(u,"nextSibling"),h=vw(u,"childNodes"),b=vw(u,"parentNode"),y=vw(u,"shadowRoot"),v=vw(u,"attributes"),C=i&&i.prototype?vw(i.prototype,"nodeType"):null,w=i&&i.prototype?vw(i.prototype,"nodeName"):null;if("function"==typeof a){const e=o.createElement("template");e.content&&e.content.ownerDocument&&(o=e.content.ownerDocument)}let S,E,x="",_=!1,k=0;const N=function(){if(k>0)throw fw('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},R=function(e){N(),k++;try{return S.createHTML(e)}finally{k--}},A=o,D=A.implementation,T=A.createNodeIterator,O=A.createDocumentFragment,B=A.getElementsByTagName,P=r.importNode;let L={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof IC&&"function"==typeof b&&D&&void 0!==D.createHTMLDocument;const M=Tw,I=Ow,F=Bw,U=Pw,z=Lw,j=Iw,$=Fw,H=zw;let V=Mw,q=null;const W=hw({},[...Cw,...ww,...Sw,...xw,...kw]);let K=null;const Y=hw({},[...Nw,...Rw,...Aw,...Dw]);let G=Object.seal(VC(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),X=null,Q=null;const Z=Object.seal(VC(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let J=!0,ee=!0,te=!1,ne=!0,oe=!1,re=!0,se=!1,ae=!1,ie=null,le=null,ce=!1,de=!1,me=!1,ue=!1,fe=!0,ge=!1;const pe="user-content-";let he=!0,be=!1,ye={},ve=null;const Ce=hw({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let we=null;const Se=hw({},["audio","video","img","source","image","track"]);let Ee=null;const xe=hw({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),_e="http://www.w3.org/1998/Math/MathML",ke="http://www.w3.org/2000/svg",Ne="http://www.w3.org/1999/xhtml";let Re=Ne,Ae=!1,De=null;const Te=hw({},[_e,ke,Ne],tw),Oe=$C(["mi","mo","mn","ms","mtext"]);let Be=hw({},Oe);const Pe=$C(["annotation-xml"]);let Le=hw({},Pe);const Me=hw({},["title","style","font","a","script"]);let Ie=null;const Fe=["application/xhtml+xml","text/html"];let Ue=null,ze=null;const je=o.createElement("form"),$e=function(e){return e instanceof RegExp||e instanceof Function},He=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(ze&&ze===e)return;e&&"object"==typeof e||(e={}),e=yw(e),Ie=-1===Fe.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Ue="application/xhtml+xml"===Ie?tw:ew,q=Ww(e,"ALLOWED_TAGS",W,{transform:Ue}),K=Ww(e,"ALLOWED_ATTR",Y,{transform:Ue}),De=Ww(e,"ALLOWED_NAMESPACES",Te,{transform:tw}),Ee=Ww(e,"ADD_URI_SAFE_ATTR",xe,{transform:Ue,base:xe}),we=Ww(e,"ADD_DATA_URI_TAGS",Se,{transform:Ue,base:Se}),ve=Ww(e,"FORBID_CONTENTS",Ce,{transform:Ue}),X=Ww(e,"FORBID_TAGS",yw({}),{transform:Ue}),Q=Ww(e,"FORBID_ATTR",yw({}),{transform:Ue}),ye=!!dw(e,"USE_PROFILES")&&(e.USE_PROFILES&&"object"==typeof e.USE_PROFILES?yw(e.USE_PROFILES):e.USE_PROFILES),J=!1!==e.ALLOW_ARIA_ATTR,ee=!1!==e.ALLOW_DATA_ATTR,te=e.ALLOW_UNKNOWN_PROTOCOLS||!1,ne=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,oe=e.SAFE_FOR_TEMPLATES||!1,re=!1!==e.SAFE_FOR_XML,se=e.WHOLE_DOCUMENT||!1,de=e.RETURN_DOM||!1,me=e.RETURN_DOM_FRAGMENT||!1,ue=e.RETURN_TRUSTED_TYPE||!1,ce=e.FORCE_BODY||!1,fe=!1!==e.SANITIZE_DOM,ge=e.SANITIZE_NAMED_PROPS||!1,he=!1!==e.KEEP_CONTENT,be=e.IN_PLACE||!1,V=function(e){try{return uw(e,""),!0}catch(e){return!1}}(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:Mw,Re="string"==typeof e.NAMESPACE?e.NAMESPACE:Ne,Be=dw(e,"MATHML_TEXT_INTEGRATION_POINTS")&&e.MATHML_TEXT_INTEGRATION_POINTS&&"object"==typeof e.MATHML_TEXT_INTEGRATION_POINTS?yw(e.MATHML_TEXT_INTEGRATION_POINTS):hw({},Oe),Le=dw(e,"HTML_INTEGRATION_POINTS")&&e.HTML_INTEGRATION_POINTS&&"object"==typeof e.HTML_INTEGRATION_POINTS?yw(e.HTML_INTEGRATION_POINTS):hw({},Pe);const t=dw(e,"CUSTOM_ELEMENT_HANDLING")&&e.CUSTOM_ELEMENT_HANDLING&&"object"==typeof e.CUSTOM_ELEMENT_HANDLING?yw(e.CUSTOM_ELEMENT_HANDLING):VC(null);if(G=VC(null),dw(t,"tagNameCheck")&&$e(t.tagNameCheck)&&(G.tagNameCheck=t.tagNameCheck),dw(t,"attributeNameCheck")&&$e(t.attributeNameCheck)&&(G.attributeNameCheck=t.attributeNameCheck),dw(t,"allowCustomizedBuiltInElements")&&"boolean"==typeof t.allowCustomizedBuiltInElements&&(G.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),HC(G),oe&&(ee=!1),me&&(de=!0),ye&&(q=hw({},kw),K=VC(null),!0===ye.html&&(hw(q,Cw),hw(K,Nw)),!0===ye.svg&&(hw(q,ww),hw(K,Rw),hw(K,Dw)),!0===ye.svgFilters&&(hw(q,Sw),hw(K,Rw),hw(K,Dw)),!0===ye.mathMl&&(hw(q,xw),hw(K,Aw),hw(K,Dw))),Z.tagCheck=null,Z.attributeCheck=null,dw(e,"ADD_TAGS")&&("function"==typeof e.ADD_TAGS?Z.tagCheck=e.ADD_TAGS:JC(e.ADD_TAGS)&&(q===W&&(q=yw(q)),hw(q,e.ADD_TAGS,Ue))),dw(e,"ADD_ATTR")&&("function"==typeof e.ADD_ATTR?Z.attributeCheck=e.ADD_ATTR:JC(e.ADD_ATTR)&&(K===Y&&(K=yw(K)),hw(K,e.ADD_ATTR,Ue))),dw(e,"ADD_URI_SAFE_ATTR")&&JC(e.ADD_URI_SAFE_ATTR)&&hw(Ee,e.ADD_URI_SAFE_ATTR,Ue),dw(e,"FORBID_CONTENTS")&&JC(e.FORBID_CONTENTS)&&(ve===Ce&&(ve=yw(ve)),hw(ve,e.FORBID_CONTENTS,Ue)),dw(e,"ADD_FORBID_CONTENTS")&&JC(e.ADD_FORBID_CONTENTS)&&(ve===Ce&&(ve=yw(ve)),hw(ve,e.ADD_FORBID_CONTENTS,Ue)),he&&(q["#text"]=!0),se&&hw(q,["html","head","body"]),q.table&&(hw(q,["tbody"]),delete X.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw fw('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw fw('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const t=S;S=e.TRUSTED_TYPES_POLICY;try{x=R("")}catch(e){throw S=t,e}}else null===e.TRUSTED_TYPES_POLICY?(S=void 0,x=""):(void 0===S&&(_||(E=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(n=t.getAttribute(o));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}}(m,s),_=!0),S=E),S&&"string"==typeof x&&(x=R("")));$C&&$C(e),ze=e},Ve=hw({},[...ww,...Sw,...Ew]),qe=hw({},[...xw,..._w]),We=function(e){QC(n.removed,{element:e});try{b(e).removeChild(e)}catch(t){if(g(e),!b(e))throw fw("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},Ke=function(e){Xe(e);const t=h(e);if(t){const e=[];YC(t,t=>{QC(e,t)}),YC(e,e=>{try{g(e)}catch(e){}})}const n=v(e);if(n)for(let t=n.length-1;t>=0;--t){const o=n[t],r=o&&o.name;if("string"==typeof r)try{e.removeAttribute(r)}catch(e){}}},Ye=function(e,t){try{QC(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){QC(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(de||me)try{We(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Ge=function(e){const t=v(e);if(t)for(let n=t.length-1;n>=0;--n){const o=t[n],r=o&&o.name;if("string"==typeof r&&!K[Ue(r)])try{e.removeAttribute(r)}catch(e){}}},Xe=function(e){const t=[e];for(;t.length>0;){const e=t.pop();1===(C?C(e):e.nodeType)&&Ge(e);const n=h(e);if(n)for(let e=n.length-1;e>=0;--e)t.push(n[e])}},Qe=function(e){let t=null,n=null;if(ce)e=""+e;else{const t=nw(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===Ie&&Re===Ne&&(e=''+e+"");const r=S?R(e):e;if(Re===Ne)try{t=(new d).parseFromString(r,Ie)}catch(e){}if(!t||!t.documentElement){t=D.createDocument(Re,"template",null);try{t.documentElement.innerHTML=Ae?x:r}catch(e){}}const s=t.body||t.documentElement;return e&&n&&s.insertBefore(o.createTextNode(n),s.childNodes[0]||null),Re===Ne?B.call(t,se?"html":"body")[0]:se?t.documentElement:s},Ze=function(e){return T.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},Je=function(e){return e=ow(e,M," "),e=ow(e,I," "),ow(e,F," ")},et=function(e){var t;e.normalize();const n=T.call(e.ownerDocument||e,e,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null);let o=n.nextNode();for(;o;)o.data=Je(o.data),o=n.nextNode();const r=null===(t=e.querySelectorAll)||void 0===t?void 0:t.call(e,"template");r&&YC(r,e=>{nt(e.content)&&et(e.content)})},tt=function(e){const t=w?w(e):null;return"string"==typeof t&&"form"===Ue(t)&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||e.attributes!==v(e)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes||e.nodeType!==C(e)||e.childNodes!==h(e))},nt=function(e){if(!C||"object"!=typeof e||null===e)return!1;try{return 11===C(e)}catch(e){return!1}},ot=function(e){if(!C||"object"!=typeof e||null===e)return!1;try{return"number"==typeof C(e)}catch(e){return!1}};function rt(e,t,o){0!==e.length&&YC(e,e=>{e.call(n,t,o,ze)})}const st=function(e,t){if(rt(L.beforeSanitizeElements,e,null),e!==t&&null===b(e))return!0;if(tt(e))return We(e),!0;const o=Ue(w?w(e):e.nodeName);if(rt(L.uponSanitizeElement,e,{tagName:o,allowedTags:q}),e!==t&&null===b(e))return!0;if(function(e,t){return!!(re&&e.hasChildNodes()&&!ot(e.firstElementChild)&&uw(jw,e.textContent)&&uw(jw,e.innerHTML))||!(!re||e.namespaceURI!==Ne||"style"!==t||!ot(e.firstElementChild))||7===e.nodeType||!(!re||8!==e.nodeType||!uw($w,e.data))}(e,o))return We(e),!0;if(X[o]||!(Z.tagCheck instanceof Function&&Z.tagCheck(o))&&!q[o]){const t=function(e,t){if(!X[t]&<(t)){if(G.tagNameCheck instanceof RegExp&&uw(G.tagNameCheck,t))return!1;if(G.tagNameCheck instanceof Function&&G.tagNameCheck(t))return!1}if(he&&!ve[t]){const t=b(e),n=h(e);if(n&&t)for(let o=n.length-1;o>=0;--o){const r=be?n[o]:f(n[o],!0);t.insertBefore(r,p(e))}}return We(e),!0}(e,o);return!1===t&&rt(L.afterSanitizeElements,e,null),t}if(1===(C?C(e):e.nodeType)&&!function(e){let t=b(e);t&&t.tagName||(t={namespaceURI:Re,tagName:"template"});const n=ew(e.tagName),o=ew(t.tagName);return!!De[e.namespaceURI]&&(e.namespaceURI===ke?function(e,t,n){return t.namespaceURI===Ne?"svg"===e:t.namespaceURI===_e?"svg"===e&&("annotation-xml"===n||Be[n]):Boolean(Ve[e])}(n,t,o):e.namespaceURI===_e?function(e,t,n){return t.namespaceURI===Ne?"math"===e:t.namespaceURI===ke?"math"===e&&Le[n]:Boolean(qe[e])}(n,t,o):e.namespaceURI===Ne?function(e,t,n){return!(t.namespaceURI===ke&&!Le[n])&&!(t.namespaceURI===_e&&!Be[n])&&!qe[e]&&(Me[e]||!Ve[e])}(n,t,o):!("application/xhtml+xml"!==Ie||!De[e.namespaceURI]))}(e))return We(e),!0;if(("noscript"===o||"noembed"===o||"noframes"===o)&&uw(Hw,e.innerHTML))return We(e),!0;if(oe&&3===e.nodeType){const t=Je(e.textContent);e.textContent!==t&&(QC(n.removed,{element:e.cloneNode()}),e.textContent=t)}return rt(L.afterSanitizeElements,e,null),!1},at=function(e,t,n){if(Q[t])return!1;if(re&&"patchsrc"===t)return!1;if(re&&"for"===t&&"label"!==e&&"output"!==e)return!1;if(fe&&("id"===t||"name"===t)&&(n in o||n in je))return!1;const r=K[t]||Z.attributeCheck instanceof Function&&Z.attributeCheck(t,e);if(ee&&uw(U,t));else if(J&&uw(z,t));else if(r){if(Ee[t]);else if(uw(V,ow(n,$,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==rw(n,"data:")||!we[e])if(te&&!uw(j,ow(n,$,"")));else if(n)return!1}else if(!(lt(e)&&(G.tagNameCheck instanceof RegExp&&uw(G.tagNameCheck,e)||G.tagNameCheck instanceof Function&&G.tagNameCheck(e))&&(G.attributeNameCheck instanceof RegExp&&uw(G.attributeNameCheck,t)||G.attributeNameCheck instanceof Function&&G.attributeNameCheck(t,e))||"is"===t&&G.allowCustomizedBuiltInElements&&(G.tagNameCheck instanceof RegExp&&uw(G.tagNameCheck,n)||G.tagNameCheck instanceof Function&&G.tagNameCheck(n))))return!1;return!0},it=hw({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),lt=function(e){return!it[ew(e)]&&uw(H,e)},ct=function(e,t,n,o){if(S&&"object"==typeof m&&"function"==typeof m.getAttributeType&&!n)switch(m.getAttributeType(e,t)){case"TrustedHTML":return R(o);case"TrustedScriptURL":return function(e){N(),k++;try{return S.createScriptURL(e)}finally{k--}}(o)}return o},dt=function(e,t,o,r){try{o?e.setAttributeNS(o,t,r):e.setAttribute(t,r),tt(e)?We(e):XC(n.removed)}catch(n){Ye(t,e)}},mt=function(e){rt(L.beforeSanitizeAttributes,e,null);const t=e.attributes;if(!t||tt(e))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:K,forceKeepAttr:void 0};let o=t.length;const r=Ue(e.nodeName);for(;o--;){const s=t[o],a=s.name,i=s.namespaceURI,l=s.value,c=Ue(a),d=l;let m="value"===a?d:sw(d);n.attrName=c,n.attrValue=m,n.keepAttr=!0,n.forceKeepAttr=void 0,rt(L.uponSanitizeAttribute,e,n),m=n.attrValue,!ge||"id"!==c&&"name"!==c||0===rw(m,pe)||(Ye(a,e),m=pe+m),re&&uw(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,m)||"attributename"===c&&nw(m,"href")?Ye(a,e):n.forceKeepAttr||(!n.keepAttr||!ne&&uw(Vw,m)?Ye(a,e):(oe&&(m=Je(m)),at(r,c,m)?(m=ct(r,c,i,m),m!==d&&dt(e,a,i,m)):Ye(a,e)))}rt(L.afterSanitizeAttributes,e,null)},ut=function(e){let t=null;const n=Ze(e);for(rt(L.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if(rt(L.uponSanitizeShadowNode,t,null),st(t,e),mt(t),nt(t.content)&&ut(t.content),1===(C?C(t):t.nodeType)){const e=y(t);nt(e)&&(ft(e),ut(e))}rt(L.afterSanitizeShadowDOM,e,null)},ft=function(e){const t=[{node:e,shadow:null}];for(;t.length>0;){const e=t.pop();if(e.shadow){ut(e.shadow);continue}const n=e.node,o=1===(C?C(n):n.nodeType),r=h(n);if(r)for(let e=r.length-1;e>=0;--e)t.push({node:r[e],shadow:null});if(o){const e=w?w(n):null;if("string"==typeof e&&"template"===Ue(e)){const e=n.content;nt(e)&&t.push({node:e,shadow:null})}}if(o){const e=y(n);nt(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=null,s=null,a=null,i=null;if(Ae=!e,Ae&&(e="\x3c!--\x3e"),"string"!=typeof e&&!ot(e)&&(e=function(e){switch(typeof e){case"string":return e;case"number":return aw(e);case"boolean":return iw(e);case"bigint":return lw?lw(e):"0";case"symbol":return cw?cw(e):"Symbol()";case"undefined":default:return mw(e);case"function":case"object":{if(null===e)return mw(e);const t=e,n=vw(t,"toString");if("function"==typeof n){const e=n(t);return"string"==typeof e?e:mw(e)}return mw(e)}}}(e),"string"!=typeof e))throw fw("dirty is not a string, aborting");if(!n.isSupported)return e;ae?(q=ie,K=le):He(t),(L.uponSanitizeElement.length>0||L.uponSanitizeAttribute.length>0)&&(q=yw(q)),L.uponSanitizeAttribute.length>0&&(K=yw(K)),n.removed=[];const l=be&&"string"!=typeof e&&ot(e);if(l){!function(e){if(!re)return;const t=[e];for(;t.length>0;){const e=t.pop(),n=C?C(e):e.nodeType;if(7===n||8===n&&uw($w,e.data)){try{g(e)}catch(e){}continue}if(1===n){const t=e,n=Ue(w?w(e):e.nodeName);try{t.hasAttribute&&t.hasAttribute("patchsrc")&&t.removeAttribute("patchsrc"),t.hasAttribute&&t.hasAttribute("for")&&"label"!==n&&"output"!==n&&t.removeAttribute("for")}catch(e){}}const o=h(e);if(o)for(let e=o.length-1;e>=0;--e)t.push(o[e])}}(e);const t=w?w(e):e.nodeName;if("string"==typeof t){const n=Ue(t);if(!q[n]||X[n])throw Ke(e),fw("root node is forbidden and cannot be sanitized in-place")}if(tt(e))throw Ke(e),fw("root node is clobbered and cannot be sanitized in-place");try{ft(e)}catch(t){throw Ke(e),t}}else if(ot(e))o=Qe("\x3c!----\x3e"),s=o.ownerDocument.importNode(e,!0),1===s.nodeType&&"BODY"===s.nodeName||"HTML"===s.nodeName?o=s:o.appendChild(s),ft(s);else{if(!de&&!oe&&!se&&-1===e.indexOf("<"))return S&&ue?R(e):e;if(o=Qe(e),!o)return de?null:ue?x:""}o&&ce&&We(o.firstChild);const c=l?e:o,d=Ze(c);try{for(;a=d.nextNode();)st(a,c),mt(a),nt(a.content)&&ut(a.content)}catch(t){throw l&&(Ke(e),YC(n.removed,e=>{e.element&&Xe(e.element)})),t}if(l)return YC(n.removed,e=>{e.element&&Xe(e.element)}),oe&&et(e),e;if(de){if(oe&&et(o),me)for(i=O.call(o.ownerDocument);o.firstChild;)i.appendChild(o.firstChild);else i=o;return(K.shadowroot||K.shadowrootmode)&&(i=P.call(r,i,!0)),i}let m=se?o.outerHTML:o.innerHTML;return se&&q["!doctype"]&&o.ownerDocument&&o.ownerDocument.doctype&&o.ownerDocument.doctype.name&&uw(Uw,o.ownerDocument.doctype.name)&&(m="\n"+m),oe&&(m=Je(m)),S&&ue?R(m):m},n.setConfig=function(){He(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),ae=!0,ie=q,le=K},n.clearConfig=function(){ze=null,ae=!1,ie=null,le=null,S=E,x=""},n.isValidAttribute=function(e,t,n){ze||He({});const o=Ue(e),r=Ue(t);return at(o,r,n)},n.addHook=function(e,t){"function"==typeof t&&dw(L,e)&&QC(L[e],t)},n.removeHook=function(e,t){if(dw(L,e)){if(void 0!==t){const n=GC(L[e],t);return-1===n?void 0:ZC(L[e],n,1)[0]}return XC(L[e])}},n.removeHooks=function(e){dw(L,e)&&(L[e]=[])},n.removeAllHooks=function(){L={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();const Yw=dn.each,Gw=dn.trim,Xw=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],Qw={ftp:21,http:80,https:443,mailto:25},Zw=["img","video"],Jw=(e,t,n)=>{const o=(e=>{try{return decodeURIComponent(e)}catch{return unescape(e)}})(t).replace(/\s/g,"");return!e.allow_script_urls&&(!!/((java|vb)script|mhtml):/i.test(o)||!e.allow_html_data_urls&&(/^data:image\//i.test(o)?((e,t)=>C(e)?!e:!C(t)||!$(Zw,t))(e.allow_svg_data_urls,n)&&/^data:image\/svg\+xml/i.test(o):/^data:/i.test(o)))};class eS{static parseDataUri(e){let t;const n=decodeURIComponent(e).split(","),o=/data:([^;]+)/.exec(n[0]);return o&&(t=o[1]),{type:t,data:n[1]}}static isDomSafe(e,t,n={}){if(n.allow_script_urls)return!0;{const o=Sa.decode(e).replace(/[\s\u0000-\u001F]+/g,"");return!Jw(n,o,t)}}static getDocumentBaseUrl(e){let t;return t=0!==e.protocol.indexOf("http")&&"file:"!==e.protocol?e.href??"":e.protocol+"//"+e.host+e.pathname,/^[^:]+:\/\/\/?[^\/]+\//.test(t)&&(t=t.replace(/[\?#].*$/,"").replace(/[\/\\][^\/]+$/,""),/[\/\\]$/.test(t)||(t+="/")),t}source;protocol;authority;userInfo;user;password;host;port;relative;path="";directory="";file;query;anchor;settings;constructor(e,t={}){e=Gw(e),this.settings=t;const n=t.base_uri,o=this;if(/^([\w\-]+):([^\/]{2})/i.test(e)||/^\s*#/.test(e))return void(o.source=e);const r=0===e.indexOf("//");if(0!==e.indexOf("/")||r||(e=(n&&n.protocol||"http")+"://mce_host"+e),!/^[\w\-]*:?\/\//.test(e)){const t=n?n.path:new eS(document.location.href).directory;if(""===n?.protocol)e="//mce_host"+o.toAbsPath(t,e);else{const r=/([^#?]*)([#?]?.*)/.exec(e);r&&(e=(n&&n.protocol||"http")+"://mce_host"+o.toAbsPath(t,r[1])+r[2])}}e=e.replace(/@@/g,"(mce_at)");const s=/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@\/]*):?([^:@\/]*))?@)?(\[[a-zA-Z0-9:.%]+\]|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/.exec(e);s&&Yw(Xw,(e,t)=>{let n=s[t];n&&(n=n.replace(/\(mce_at\)/g,"@@")),o[e]=n}),n&&(o.protocol||(o.protocol=n.protocol),o.userInfo||(o.userInfo=n.userInfo),o.port||"mce_host"!==o.host||(o.port=n.port),o.host&&"mce_host"!==o.host||(o.host=n.host),o.source=""),r&&(o.protocol="")}setPath(e){const t=/^(.*?)\/?(\w+)?$/.exec(e);t&&(this.path=t[0],this.directory=t[1],this.file=t[2]),this.source="",this.getURI()}toRelative(e){if("./"===e)return e;const t=new eS(e,{base_uri:this});if("mce_host"!==t.host&&this.host!==t.host&&t.host||this.port!==t.port||this.protocol!==t.protocol&&""!==t.protocol)return t.getURI();const n=this.getURI(),o=t.getURI();if(n===o||"/"===n.charAt(n.length-1)&&n.substr(0,n.length-1)===o)return n;let r=this.toRelPath(this.path,t.path);return t.query&&(r+="?"+t.query),t.anchor&&(r+="#"+t.anchor),r}toAbsolute(e,t){const n=new eS(e,{base_uri:this});return n.getURI(t&&this.isSameOrigin(n))}isSameOrigin(e){if(this.host==e.host&&this.protocol==e.protocol){if(this.port==e.port)return!0;const t=this.protocol?Qw[this.protocol]:null;if(t&&(this.port||t)==(e.port||t))return!0}return!1}toRelPath(e,t){let n,o,r=0,s="";const a=e.substring(0,e.lastIndexOf("/")).split("/"),i=t.split("/");if(a.length>=i.length)for(n=0,o=a.length;n=i.length||a[n]!==i[n]){r=n+1;break}if(a.length=a.length||a[n]!==i[n]){r=n+1;break}if(1===r)return t;for(n=0,o=a.length-(r-1);n{e&&a.push(e)});const i=[];for(let e=s.length-1;e>=0;e--)0!==s[e].length&&"."!==s[e]&&(".."!==s[e]?n>0?n--:i.push(s[e]):n++);const l=a.length-n;let c;return c=l<=0?re(i).join("/"):a.slice(0,l).join("/")+"/"+re(i).join("/"),0!==c.indexOf("/")&&(c="/"+c),o&&c.lastIndexOf("/")!==c.length-1&&(c+=o),c}getURI(e=!1){let t;return this.source&&!e||(t="",e||(this.protocol?t+=this.protocol+"://":t+="//",this.userInfo&&(t+=this.userInfo+"@"),this.host&&(t+=this.host),this.port&&(t+=":"+this.port)),this.path&&(t+=this.path),this.query&&(t+="?"+this.query),this.anchor&&(t+="#"+this.anchor),this.source=t),this.source}}const tS=dn.makeMap("src,href,data,background,action,formaction,poster,xlink:href"),nS="data-mce-type";let oS=0;const rS=(e,t,n,o,r)=>{const s=t.validate,a=n.getSpecialElements();8===e.nodeType&&(!t.allow_conditional_comments&&/^\[if/i.test(e.nodeValue??"")&&(e.nodeValue=" "+e.nodeValue),t.sanitize&&t.allow_html_in_comments&&u(e.nodeValue)&&(e.nodeValue=(e=>e.replace(/&/g,"&").replace(//g,">"))(e.nodeValue)));const i=r?.tagName??e.nodeName.toLowerCase();if("html"!==o&&n.isValid(o))return void(C(r)&&(r.allowedTags[i]=!0));if(1!==e.nodeType||"body"===i)return;const l=un.fromDom(e);if(t.sanitize){const e=Ii(l)&&n.isValid("script")||Fi(l)&&n.isValid("style");e&&I.from((e=>e.dom.textContent)(l)).each(e=>vo(l,"data-mce-tmp",e));const t=(e=>Rn(e)&&"iframe"===En(e))(l)&&n.isValid("iframe");(e||t)&&No(l)}const c=Eo(l,nS),d=wo(l,"data-mce-bogus");if(!c&&u(d))return void("all"===d?Ro(l):Ao(l));const m=n.getElementRule(i);if(!s||m){if(C(r)&&(r.allowedTags[i]=!0),s&&m&&!c){if(q(m.attributesForced??[],e=>{vo(l,e.name,"{$uid}"===e.value?"mce_"+oS++:e.value)}),q(m.attributesDefault??[],e=>{Eo(l,e.name)||vo(l,e.name,"{$uid}"===e.value?"mce_"+oS++:e.value)}),m.attributesRequired&&!H(m.attributesRequired,e=>Eo(l,e)))return void Ao(l);if(m.removeEmptyAttrs&&_o(l))return void Ao(l);m.outputName&&m.outputName!==i&&Bo(l,m.outputName)}}else _e(a,i)?Ro(l):Ao(l)},sS=(e,t,n,o,r,s)=>"html"!==n&&!Fs(o)||!(r in tS&&Jw(e,s,o))&&(!e.validate||t.isValid(o,r)||Qe(r,"data-")||Qe(r,"aria-")),aS=(e,t)=>e.hasAttribute(nS)&&("id"===t||"class"===t||"style"===t),iS=(e,t,n)=>e in t.getBoolAttrs()&&!_e(t.getCustomElements(),n.toLowerCase()),lS=(e,t,n,o)=>{const{attributes:r}=e;for(let s=r.length-1;s>=0;s--){const a=r[s],i=a.name,l=a.value;sS(t,n,o,e.tagName.toLowerCase(),i,l)||aS(e,i)?iS(i,n,e.nodeName)&&e.setAttribute(i,i):e.removeAttribute(i)}},cS=(e,t,n)=>{const o=Kw();return o.addHook("uponSanitizeElement",(o,r)=>{rS(o,e,t,n.track(o),r)}),o.addHook("afterSanitizeElements",e=>{(e=>{const t=un.fromDom(e);(Ii(t)||Fi(t))&&So(t,"data-mce-tmp").each(e=>{((e,t)=>{e.dom.textContent=t})(t,e),xo(t,"data-mce-tmp")})})(e)}),o.addHook("uponSanitizeAttribute",(o,r)=>{((e,t,n,o,r)=>{const s=e.tagName.toLowerCase(),{attrName:a,attrValue:i}=r;r.keepAttr=sS(t,n,o,s,a,i),r.keepAttr?(r.allowedAttributes[a]=!0,iS(a,n,e.nodeName)&&(r.attrValue=a),t.allow_svg_data_urls&&Qe(i,"data:image/svg+xml")&&(r.forceKeepAttr=!0)):aS(e,a)&&(r.forceKeepAttr=!0)})(o,e,t,n.current(),r)}),o},dS=(e,t)=>{const n=Kw(),o=t.allow_mathml_annotation_encodings,r=p(o)&&o.length>0;n.addHook("uponSanitizeElement",(e,n)=>{const s=n.tagName??e.nodeName.toLowerCase();((e,n)=>r&&"semantics"===n?I.some(!0):"annotation"===n?I.some(Xr(e)&&(e=>{const t=e.getAttribute("encoding");return r&&u(t)&&$(o,t)})(e)):p(t.extended_mathml_elements)&&t.extended_mathml_elements.includes(n)?I.from(!0):I.none())(e,s).each(o=>{n.allowedTags[s]=o,!o&&t.sanitize&&Xr(e)&&e.remove()})}),n.addHook("uponSanitizeAttribute",(e,n)=>{p(t.extended_mathml_attributes)&&t.extended_mathml_attributes.includes(n.attrName)&&(n.forceKeepAttr=!0)}),n.sanitize(e,{IN_PLACE:!0,USE_PROFILES:{mathMl:!0}})},mS=e=>t=>{const n=zs(t);if("svg"===n)(e=>{const t=["type","href","role","arcrole","title","show","actuate","label","from","to"].map(e=>`xlink:${e}`),n={IN_PLACE:!0,USE_PROFILES:{html:!0,svg:!0,svgFilters:!0},ALLOWED_ATTR:t};Kw().sanitize(e,n)})(t);else{if("math"!==n)throw new Error("Not a namespace element");dS(t,e)}},uS=["script","style","template","param","meta","title","link"],fS=dn.makeMap,gS=dn.extend,pS=(e,t,n,o,r)=>{const s=e.name,a=s in n&&"title"!==s&&"textarea"!==s&&"noscript"!==s,i=t.childNodes;for(let t=0,s=i.length;t{const n=wC(),o=wC(),r={validate:!0,root_name:"body",sanitize:!0,allow_html_in_comments:!1,...e},s=new DOMParser,a=((e,t)=>{const n=(()=>{const e=Ke(),t=()=>e.get().map(zs).getOr("html");return{track:n=>(Us(n)?e.set(n):e.get().exists(e=>!e.contains(n))&&e.clear(),t()),current:t,reset:()=>{e.clear()}}})();if(e.sanitize){const o=cS(e,t,n),r=(t,r)=>{o.sanitize(t,((e,t)=>{const n={IN_PLACE:!0,ALLOW_UNKNOWN_PROTOCOLS:!0,ALLOWED_TAGS:["#comment","#cdata-section","body","html"],ALLOWED_ATTR:[]};return n.PARSER_MEDIA_TYPE=t,e.allow_script_urls?n.ALLOWED_URI_REGEXP=/.*/:e.allow_html_data_urls&&(n.ALLOWED_URI_REGEXP=/^(?!(\w+script|mhtml):)/i),n})(e,r)),o.removed=[],n.reset()};return{sanitizeHtmlElement:r,sanitizeNamespaceElement:mS(e)}}return{sanitizeHtmlElement:(o,r)=>{const s=document.createNodeIterator(o,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_COMMENT|NodeFilter.SHOW_TEXT);let a;for(;a=s.nextNode();){const o=n.track(a);rS(a,e,t,o),Xr(a)&&lS(a,e,t,o)}n.reset()},sanitizeNamespaceElement:x}})(r,t),i=n.addFilter,l=n.getFilters,c=n.removeFilter,d=o.addFilter,m=o.getFilters,f=o.removeFilter,g=(e,n)=>{const o=u(n.attr(nS)),r=1===n.type&&!_e(e,n.name)&&!ea(t,n)&&!Fs(n.name);return 3===n.type||r&&!o},p={schema:t,addAttributeFilter:d,getAttributeFilters:m,removeAttributeFilter:f,addNodeFilter:i,getNodeFilters:l,removeNodeFilter:c,parse:(e,n={})=>{const o=r.validate,i="#document"===(n.context??r.root_name),c=n.context??(i?"html":r.root_name),d=((e,n,o="html",r=!1)=>{const i="xhtml"===o,l=i?"application/xhtml+xml":"text/html",c=_e(t.getSpecialElements(),n.toLowerCase()),d=c?`<${n}>${e}`:e,m=s.parseFromString(/^[\s]*${d}`:i?`${d}`:`${d}`,l),u=r?m.documentElement:m.body;return a.sanitizeHtmlElement(u,l),c?u.firstChild:u})(e,c,n.format,i);Ks(t,d);const u=new xh(c,11);pS(u,d,t.getSpecialElements(),a.sanitizeNamespaceElement,r.sanitize&&r.allow_html_in_comments),d.innerHTML="";const[f,p]=((e,t,n,o)=>{const r=n.validate,s=t.getNonEmptyElements(),a=t.getWhitespaceElements(),i=gS(fS(uS),t.getBlockElements()),l=Ia(t),c=/[ \t\r\n]+/g,d=/^[ \t\r\n]+/,m=/[ \t\r\n]+$/,u=e=>{let t=e.parent;for(;C(t);){if(t.name in a)return!0;t=t.parent}return!1},f=n=>n.name in i||ea(t,n)||Fs(n.name)&&n.parent===e,g=(t,n)=>{const r=n?t.prev:t.next;return!C(r)&&!v(t.parent)&&f(t.parent)&&(t.parent!==e||!0===o.isRootContent)};return[e=>{if(3===e.type&&!u(e)){let t=e.value??"";t=t.replace(c," "),(((e,t)=>C(e)&&(t(e)||"br"===e.name))(e.prev,f)||g(e,!0))&&(t=t.replace(d,"")),0===t.length||" "===t&&e.prev&&8===e.prev.type&&e.next&&8===e.next.type?e.remove():e.value=t}},e=>{if(1===e.type){const i=t.getElementRule(e.name);if(r&&i){const r=gC(t,s,a,e);i.paddInEmptyBlock&&r&&(e=>{let n=e;for(;C(n);){if(n.name in l)return gC(t,s,a,n);n=n.parent}return!1})(e)?uC(n,o,f,e):i.removeEmpty&&r?f(e)?e.remove():e.unwrap():i.paddEmpty&&(r||(e=>fC(e,"#text")&&e?.firstChild?.value===dt)(e))&&uC(n,o,f,e)}}else if(3===e.type&&!u(e)){let t=e.value??"";(e.next&&f(e.next)||g(e,!1))&&(t=t.replace(m,"")),0===t.length?e.remove():e.value=t}}]})(u,t,r,n),h=[],b=o?e=>((e,n)=>{yC(t,e)&&n.push(e)})(e,h):x,y={nodes:{},attributes:{}},w=e=>cC(l(),m(),e,y);((e,t,n)=>{const o=[];for(let n=e,r=n;n;r=n,n=n.walk()){const s=n;q(t,e=>e(s)),v(s.parent)&&s!==e?n=r:o.push(s)}for(let e=o.length-1;e>=0;e--){const t=o[e];q(n,e=>e(t))}})(u,[f,w],[p,b]),h.reverse(),o&&h.length>0&&(n.context?n.invalid=!0:bC(h,t,u,w));const S=((e,t)=>{const n=t.forced_root_block??e.forced_root_block;return!1===n?"":!0===n?"p":n})(r,n);return S&&("body"===u.name||n.isRootContent)&&((e,n)=>{const o=gS(fS(uS),t.getBlockElements()),s=/^[ \t\r\n]+/,a=/[ \t\r\n]+$/;let i=e.firstChild,l=null;const c=e=>{e&&(i=e.firstChild,i&&3===i.type&&(i.value=i.value?.replace(s,"")),i=e.lastChild,i&&3===i.type&&(i.value=i.value?.replace(a,"")))};if(t.isValidChild(e.name,n.toLowerCase())){for(;i;){const t=i.next;g(o,i)?(l||(l=new xh(n,1),l.attr(r.forced_root_block_attrs),e.insert(l,i)),l.append(i)):(c(l),l=null),i=t}c(l)}})(u,S),n.invalid||dC(y,n),u}};return((e,t)=>{const n=e.schema;e.addAttributeFilter("href",e=>{let n=e.length;const o=e=>{const t=e?dn.trim(e):"";return/\b(noopener)\b/g.test(t)?t:(e=>e.split(" ").filter(e=>e.length>0).concat(["noopener"]).sort().join(" "))(t)};if(!t.allow_unsafe_link_target)for(;n--;){const t=e[n];"a"===t.name&&"_blank"===t.attr("target")&&t.attr("rel",o(t.attr("rel")))}}),t.allow_html_in_named_anchor||e.addAttributeFilter("id,name",e=>{let t,n,o,r,s=e.length;for(;s--;)if(r=e[s],"a"===r.name&&r.firstChild&&!r.attr("href"))for(o=r.parent,t=r.lastChild;t&&o;)n=t.prev,o.insert(t,r),t=n}),t.fix_list_elements&&e.addNodeFilter("ul,ol",e=>{let t,n,o=e.length;for(;o--;)if(t=e[o],n=t.parent,n&&("ul"===n.name||"ol"===n.name))if(t.prev&&"li"===t.prev.name)t.prev.append(t);else{const e=new xh("li",1);e.attr("style","list-style-type: none"),t.wrap(e)}});const o=n.getValidClasses();t.validate&&o&&e.addAttributeFilter("class",e=>{let t=e.length;for(;t--;){const n=e[t],r=n.attr("class")??"",s=dn.explode(r," ");let a="";for(let e=0;e{const{blob_cache:n}=t;if(n){const t=e=>{const t=e.attr("src");(e=>e.attr("src")===sn.transparentSrc||C(e.attr("data-mce-placeholder")))(e)||(e=>C(e.attr("data-mce-bogus")))(e)||v(t)||DC(n,t,!0).each(t=>{e.attr("src",t.blobUri())})};e.addAttributeFilter("src",e=>q(e,t))}})(e,t);const r=t.sandbox_iframes??!1,s=fe(t.sandbox_iframes_exclusions??[]);t.convert_unsafe_embeds&&e.addNodeFilter("object,embed",e=>q(e,e=>{e.replace((({type:e,src:t,width:n,height:o}={},r,s)=>{const a=(e=>y(e)?"iframe":PC(e,"image")?"img":PC(e,"video")?"video":PC(e,"audio")?"audio":"iframe")(e),i=new xh(a,1);return i.attr("audio"===a?{src:t}:{src:t,width:n,height:o}),"audio"!==a&&"video"!==a||i.attr("controls",""),"iframe"===a&&r&&BC(i,s),i})({type:e.attr("type"),src:"object"===e.name?e.attr("data"):e.attr("src"),width:e.attr("width"),height:e.attr("height")},r,s))})),r&&e.addNodeFilter("iframe",e=>q(e,e=>BC(e,s)))})(p,r),((e,t,n)=>{t.inline_styles&&EC(e,t,n)})(p,r,t),p},yS=e=>e instanceof xh,vS=(e,t,n)=>{const o=(e=>yS(e)?Hh({validate:!1}).serialize(e):e)(e),r=t(o);if(r.isDefaultPrevented())return r;if(yS(e)){if(r.content!==o){const t=bS({validate:!1,forced_root_block:!1,...n}).parse(r.content,{context:e.name});return{...r,content:t}}return{...r,content:e}}return r},CS=e=>({sanitize:nu(e),sandbox_iframes:lu(e),sandbox_iframes_exclusions:cu(e)}),wS=(e,t)=>{if(t.no_events)return Te.value(t);{const n=((e,t)=>e.dispatch("BeforeGetContent",t))(e,t);return n.isDefaultPrevented()?Te.error(ad(e,{content:"",...n}).content):Te.value(n)}},SS=(e,t,n)=>{if(n.no_events)return t;{const o=vS(t,t=>ad(e,{...n,content:t}),CS(e));return o.content}},ES=(e,t)=>{if(t.no_events)return Te.value(t);{const n=vS(t.content,n=>((e,t)=>e.dispatch("BeforeSetContent",t))(e,{...t,content:n}),CS(e));return n.isDefaultPrevented()?(sd(e,n),Te.error(void 0)):Te.value(n)}},xS=(e,t,n)=>{n.no_events||sd(e,{...n,content:t})},_S="autoresize_on_init,content_editable_state,padd_empty_with_br,block_elements,boolean_attributes,editor_deselector,editor_selector,elements,file_browser_callback_types,filepicker_validator_handler,force_hex_style_colors,force_p_newlines,gecko_spellcheck,images_dataimg_filter,media_scripts,mode,move_caret_before_on_enter_elements,non_empty_elements,self_closing_elements,short_ended_elements,special,spellchecker_select_languages,spellchecker_whitelist,tab_focus,tabfocus_elements,table_responsive_width,text_block_elements,text_inline_elements,toolbar_drawer,types,validate,whitespace_elements,paste_enable_default_filters,paste_filter_drop,paste_word_valid_elements,paste_retain_style_properties,paste_convert_word_fake_lists,template_cdate_classes,template_mdate_classes,template_selected_content_classes,template_preview_replace_values,template_replace_values,templates,template_cdate_format,template_mdate_format".split(","),kS=["content_css_cors"],NS="bbcode,colorpicker,contextmenu,fullpage,legacyoutput,spellchecker,template,textcolor,rtc".split(","),RS=[{name:"export",replacedWith:"Export to PDF"}],AS=(e,t)=>{const n=Y(t,t=>_e(e,t));return ie(n)},DS=e=>{const t=AS(e,_S),n=e.forced_root_block;return!1!==n&&""!==n||t.push("forced_root_block (false only)"),ie(t)},TS=e=>AS(e,kS),OS=(e,t)=>{const n=dn.makeMap(e.plugins," "),o=Y(t,e=>_e(n,e));return ie(o)},BS=e=>OS(e,NS),PS=e=>OS(e,RS.map(e=>e.name)),LS=e=>Z(RS,t=>t.name===e).fold(()=>e,t=>t.replacedWith?`${e}, replaced by ${t.replacedWith}`:e),MS={fire:'The "fire" event api has been deprecated and will be removed in TinyMCE 9. Use "dispatch" instead.',selectionSetContent:'The "editor.selection.setContent" method has been deprecated and will be removed in TinyMCE 9. Use "editor.insertContent" instead.'},IS=e=>{console.warn(MS[e],(new Error).stack)},FS=e=>0===e.dom.length?(Ro(e),I.none()):I.some(e),US=(e,t,n,o,r)=>{e.bind(e=>((o?Hb:$b)(e.dom,o?e.dom.length:0,r),t.filter(An).map(t=>((e,t,n,o,r)=>{const s=e.dom,a=t.dom,i=o?s.length:a.length;o?(Vb(s,a,r,!1,!o),n.setStart(a,i)):(Vb(a,s,r,!1,!o),n.setEnd(a,i))})(e,t,n,o,r)))).orThunk(()=>{const e=((e,t)=>e.filter(e=>ip.isBookmarkNode(e.dom)).bind(t?jn:zn))(t,o).or(t).filter(An);return e.map(e=>((e,t,n)=>{Mn(e).each(o=>{const r=e.dom;t&&Bb(o,Kl(r,0),n)?$b(r,0,n):!t&&Pb(o,Kl(r,r.length),n)&&Hb(r,r.length,n)})})(e,o,r))})},zS=(e,t,n={})=>{const o=((e,t)=>({format:"html",...e,set:!0,selection:!0,content:t}))(n,t);ES(e,o).each(t=>{const n=((e,t)=>{if("raw"!==t.format){const n=e.selection.getRng(),o=e.dom.getParent(n.commonAncestorContainer,e.dom.isBlock),r=o?{context:o.nodeName.toLowerCase()}:{},s=e.parser.parse(t.content,{forced_root_block:!1,...r,...t});return Hh({validate:!1},e.schema).serialize(s)}return t.content})(e,t),o=e.selection.getRng();((e,t,n)=>{const o=I.from(t.firstChild).map(un.fromDom),r=I.from(t.lastChild).map(un.fromDom);e.deleteContents(),e.insertNode(t);const s=o.bind(zn).filter(An).bind(FS),a=r.bind(jn).filter(An).bind(FS);US(s,o,e,!0,n),US(a,r,e,!1,n),e.collapse(!1)})(o,o.createContextualFragment(n),e.schema),e.selection.setRng(o),fh(e,o),xS(e,n,t)})},jS=(e,t)=>{let n=t.firstChild,o=t.lastChild;return n&&"meta"===n.name&&(n=n.next),o&&"mce_marker"===o.attr("id")&&(o=o.prev),((e,t)=>{const n=e.getNonEmptyElements();return C(t)&&(t.isEmpty(n)||((e,t)=>e.getBlockElements()[t.name]&&(e=>C(e.firstChild)&&e.firstChild===e.lastChild)(t)&&(e=>"br"===e.name||e.value===dt)(t.firstChild))(e,t))})(e,o)&&(o=o?.prev),!(!n||n!==o||"ul"!==n.name&&"ol"!==n.name)},$S=e=>{return e.length>0&&(!(n=e[e.length-1]).firstChild||(t=n,C(t?.firstChild)&&t.firstChild===t.lastChild&&(e=>e.data===dt||ms(e))(t.firstChild)))?e.slice(0,-1):e;var t,n},HS=(e,t)=>{const n=e.getParent(t,e.isBlock);return n&&"LI"===n.nodeName?n:null},VS=(e,t)=>{const n=Kl.after(e),o=yf(t).prev(n);return o?o.toRange():null},qS=(e,t,n,o)=>{const r=((e,t,n)=>{const o=t.serialize(n);return(e=>{const t=e.firstChild,n=e.lastChild;return t&&"META"===t.nodeName&&t.parentNode?.removeChild(t),n&&"mce_marker"===n.id&&n.parentNode?.removeChild(n),e})(e.createFragment(o))})(t,e,o),s=HS(t,n.startContainer),a=$S((i=r.firstChild,Y(i?.childNodes??[],e=>"LI"===e.nodeName)));var i;const l=t.getRoot(),c=e=>{const o=Kl.fromRangeStart(n),r=yf(t.getRoot()),a=1===e?r.prev(o):r.next(o),i=a?.getNode();return!i||HS(t,i)!==s};return s?c(1)?((e,t,n)=>{const o=e.parentNode;return o&&dn.each(t,t=>{o.insertBefore(t,e)}),((e,t)=>{const n=Kl.before(e),o=yf(t).next(n);return o?o.toRange():null})(e,n)})(s,a,l):c(2)?((e,t,n,o)=>(o.insertAfter(t.reverse(),e),VS(t[0],n)))(s,a,l,t):((e,t,n,o)=>{const r=((e,t)=>{const n=t.cloneRange(),o=t.cloneRange();return n.setStartBefore(e),o.setEndAfter(e),[n.cloneContents(),o.cloneContents()]})(e,o),s=e.parentNode;return s&&(s.insertBefore(r[0],e),dn.each(t,t=>{s.insertBefore(t,e)}),s.insertBefore(r[1],e),s.removeChild(e)),VS(t[t.length-1],n)})(s,a,l,n):null},WS=["pre"],KS=bs,YS=(e,t)=>{const n=e.schema.getTextInlineElements(),o=e.dom;if(t){const t=e.getBody(),r=Hy(e),s="*[data-mce-fragment]",a=o.select(s);dn.each(a,e=>{const a=e=>C(n[e.nodeName.toLowerCase()]),i=e=>1===e.childNodes.length;if(!Yh(o,l=e)&&!((e,t)=>Yh(e,t)&&H(Kh(e,t),e=>(e=>qh.has(e))(e)))(o,l)&&a(e)&&i(e)){const n=Kh(o,e),l=(e,t)=>oe(e,e=>$(t,e)),c=t=>i(e)&&o.is(t,s)&&a(t)&&(t.nodeName===e.nodeName&&l(n,Kh(o,t))||c(t.children[0])),d=n=>C(n)&&n!==t&&(r.compare(e,n)||d(n.parentElement)),m=n=>C(n)&&n!==t&&o.is(n,s)&&(((e,t,n)=>{const o=Kh(e,t),r=Kh(e,n),s=o=>{const r=e.getStyle(t,o)??"",s=e.getStyle(n,o)??"";return ot(r)&&ot(s)&&r!==s};return H(o,e=>{const t=t=>H(t,t=>t===e);if(!t(r)&&t(Wh)){const e=Y(r,e=>H(Wh,t=>Qe(e,t)));return H(e,s)}return s(e)})})(o,e,n)||m(n.parentElement));(c(e.children[0])||d(e.parentElement)&&!m(e.parentElement))&&o.remove(e,!0)}var l}),((e,t)=>{const n=Y(t,t=>sC(e.formatter,t));iC(e,"strikethrough",n)})(e,Po(a))}},GS=(e,t,n)=>{const o=e.selection,r=e.dom,s=e.parser,a=n.merge,i=Hh({validate:!0},e.schema),l='';n.preserve_zwsp||(t=Gi(t)),-1===t.indexOf("{$caret}")&&(t+="{$caret}"),t=t.replace(/\{\$caret\}/,l);let c=o.getRng();const d=c.startContainer,m=e.getBody();d===m&&o.isCollapsed()&&r.isBlock(m.firstChild)&&((e,t)=>C(t)&&!e.schema.getVoidElements()[t.nodeName])(e,m.firstChild)&&r.isEmpty(m.firstChild)&&(c=r.createRng(),c.setStart(m.firstChild,0),c.setEnd(m.firstChild,0),o.setRng(c)),o.isCollapsed()||(e=>{const t=e.dom,n=vC(e.selection.getRng());e.selection.setRng(n);const o=t.getParent(n.startContainer,KS);((e,t,n)=>!!C(n)&&n===e.getParent(t.endContainer,KS)&&tg(un.fromDom(n),t))(t,n,o)?Oy(e,n,un.fromDom(o)):ag(n,fs)||(r=n,ag(r,ss))?n.deleteContents():e.getDoc().execCommand("Delete",!1);var r})(e);const u=o.getNode(),f={context:u.nodeName.toLowerCase(),data:n.data,insert:!0},g=s.parse(t,f);if(!0===n.paste&&jS(e.schema,g)&&((e,t)=>!!HS(e,t))(r,u))return c=qS(i,r,o.getRng(),g),c&&o.setRng(c),t;!0===n.paste&&((e,t,n,o)=>{const r=t.firstChild,s=t.lastChild,a=r===("bookmark"===s.attr("data-mce-type")?s.prev:s),i=$(WS,r.name);if(a&&i){const t="false"!==r.attr("contenteditable"),s=e.getParent(n,e.isBlock)?.nodeName.toLowerCase()===r.name,a=I.from(zy(o,n)).forall(gs);return t&&s&&a}return!1})(r,g,u,e.getBody())&&g.firstChild?.unwrap(),(e=>{let t=e;for(;t=t.walk();)1===t.type&&t.attr("data-mce-fragment","1")})(g);let p=g.lastChild;if(p&&"mce_marker"===p.attr("id")){const t=p;for(p=p.prev;p&&"table"!==p.name;p=p.walk(!0))if(3===p.type||!r.isBlock(p.name)){p.parent&&e.schema.isValidChild(p.parent.name,"span")&&p.parent.insert(t,p,"br"===p.name);break}}if(e._selectionOverrides.showBlockCaretContainer(u),f.invalid||((e,t,n)=>H(n.children(),lC)&&"SUMMARY"===e.getParent(t,e.isBlock)?.nodeName)(r,u,g)){zS(e,l);let n,a=o.getNode();const c=e.getBody();for(cs(a)?a=n=c:n=a;n&&n!==c;)a=n,n=n.parentNode;t=a===c?c.innerHTML:r.getOuterHTML(a);const d=s.parse(t),m=(e=>{for(let t=e;t;t=t.walk())if("mce_marker"===t.attr("id"))return I.some(t);return I.none()})(d),u=m.bind(pC).getOr(d);m.each(e=>e.replace(g));const f=(e=>{const t=[];for(let n=e.firstChild;C(n);n=n.walk())t.push(n);return t})(g);g.unwrap();const p=Y(f,t=>yC(e.schema,t));bC(p,e.schema,u),mC(s.getNodeFilters(),s.getAttributeFilters(),d),t=i.serialize(d),a===c?r.setHTML(c,t):r.setOuterHTML(a,t)}else t=i.serialize(g),((e,t,n)=>{"all"===n.getAttribute("data-mce-bogus")?n.parentNode?.insertBefore(e.dom.createFragment(t),n):((e,t)=>{if(e.isBlock(t)&&e.isEditable(t)){const e=t.childNodes;return 1===e.length&&ms(e[0])||0===e.length}return!1})(e.dom,n)?e.dom.setHTML(n,t):zS(e,t,{no_events:!0})})(e,t,u);var h;return YS(e,a),((e,t)=>{let n;const o=e.dom,r=e.selection;if(!t)return;r.scrollIntoView(t);const s=zy(e.getBody(),t);if(s&&"false"===o.getContentEditable(s))return o.remove(t),void r.select(s);let a=o.createRng();const i=t.previousSibling;if(ss(i)){a.setStart(i,i.nodeValue?.length??0);const e=t.nextSibling;ss(e)&&(i.appendData(e.data),e.parentNode?.removeChild(e))}else a.setStartBefore(t),a.setEndBefore(t);const l=o.getParent(t,o.isBlock);if(o.remove(t),l&&o.isEmpty(l)){const t=KS(l);No(un.fromDom(l)),a.setStart(l,0),a.setEnd(l,0),t||(e=>!!e.getAttribute("data-mce-fragment"))(l)||!(n=(t=>{let n=Kl.fromRangeStart(t);return n=yf(e.getBody()).next(n),n?.toRange()})(a))?o.add(l,o.create("br",t?{}:{"data-mce-bogus":"1"})):(a=n,o.remove(l))}r.setRng(a)})(e,r.get("mce_marker")),h=e.getBody(),dn.each(h.getElementsByTagName("*"),e=>{e.removeAttribute("data-mce-fragment")}),((e,t,n)=>{I.from(e.getParent(t,"td,th")).map(un.fromDom).each(e=>((e,t)=>{Kn(e).each(n=>{zn(n).each(o=>{t.isBlock(En(e))&&Mi(n)&&t.isBlock(En(o))&&Ro(n)})})})(e,n))})(r,o.getStart(),e.schema),((e,t,n)=>{const o=Fn(un.fromDom(n),e=>vn(e,un.fromDom(t)));le(o,o.length-2).filter(Rn).fold(()=>Ks(e,t),t=>Ks(e,t.dom))})(e.schema,e.getBody(),o.getStart()),t},XS=(e,t,n)=>{e.dom.setHTML(e.getBody(),t),!0!==n&&(e=>{Rp(e)&&Rf(e.getBody()).each(t=>{const n=t.getNode(),o=ns(n)?Rf(n).getOr(t):t;e.selection.setRng(o.toRange())})})(e)},QS={},ZS=Jr(["pre"]);(e=>{QS[e]||(QS[e]=[]),QS[e].push(e=>{if(!e.selection.getRng().collapsed){const t=e.selection.getSelectedBlocks(),n=Y(Y(t,ZS),(e=>t=>{const n=t.previousSibling;return ZS(n)&&$(e,n)})(t));q(n,e=>{((e,t)=>{const n=un.fromDom(t),o=Pn(n).dom;Ro(n),bo(un.fromDom(e),[un.fromTag("br",o),un.fromTag("br",o),...Vn(n)])})(e.previousSibling,e)})}})})("pre");const JS=dn.each,eE=dn.each,tE=(e,t,n,o)=>{const r=e.formatter.get(t),s=r[0],a=!o&&e.selection.isCollapsed(),i=e.dom,l=e.selection,c=(t,o)=>{let r=!1;return eE(t,t=>!(!Ng(t)||("false"!==i.getContentEditable(o)||t.ceFalseOverride)&&(!C(t.collapsed)||t.collapsed===a)&&i.is(o,t.selector)&&!Tf(o)&&(Jy(e,o,t,n,o),r=!0,1))),r},d=t=>{if(u(t)){const r=i.create(t);return Jy(e,r,s,n,o),r}return null},m=(a,i,l)=>{const m=[];let u=!0;const f=s.inline||s.block,g=d(f);Yg(a,i,o=>{let i;const d=o=>{let p=!1,h=u,b=!1;const y=o.parentNode,v=y.nodeName.toLowerCase(),w=a.getContentEditable(o);C(w)&&(h=u,u="true"===w,p=!0,b=bg(e,o));const S=u&&!p;if(ms(o)&&!((e,t,n,o)=>{if(dm(e)&&Rg(t)&&n.parentNode){const t=Ia(e.schema),a=(r=un.fromDom(n),s=e=>Tf(e.dom),((e,t)=>{const n=e.dom;return n.parentNode?cr(un.fromDom(n.parentNode),n=>!vn(e,n)&&t(n)):I.none()})(r,s).isSome());return ke(t,o)&&Ps(e.schema,n.parentNode,{skipBogus:!1,includeZwsp:!0})&&!a}var r,s;return!1})(e,s,o,v))return i=null,void(_g(s)&&a.remove(o));if((o=>kg(s)&&sv(e,o,t,n))(o))i=null;else{if(((t,n,o)=>{const r=(e=>_g(e)&&!0!==e.wrapper)(s)&&ug(e.schema,t)&&fg(e,n,f)&&(t=>oe(t.childNodes,t=>!ug(e.schema,t)||fg(e,f,t.nodeName.toLowerCase())))(t);return o&&r})(o,v,S)){const t=a.rename(o,f);return Jy(e,t,s,n,o),m.push(t),void(i=null)}if(Ng(s)){let e=c(r,o);if(!e&&C(y)&&Ag(s)&&(e=c(r,y)),!Rg(s)||e)return void(i=null)}C(g)&&((t,n,o,r)=>{const i=t.nodeName.toLowerCase(),c=fg(e,f,i)&&fg(e,n,f),d=!l&&ss(t)&&Yi(t.data),m=Tf(t),u=!Rg(s)||!a.isBlock(t);return(o||r)&&c&&!d&&!m&&u})(o,v,S,b)?(i||(i=a.clone(g,!1),y.insertBefore(i,o),m.push(i)),b&&p&&(u=h),i.appendChild(o)):(i=null,q(me(o.childNodes),d),p&&(u=h),i=null)}};q(o,d)}),!0===s.links&&q(m,t=>{const r=t=>{"A"===t.nodeName&&Jy(e,t,s,n,o),q(me(t.childNodes),r)};r(t)}),((e,t,n)=>{if($(rC,t)){const t=((e,t)=>ne(t,t=>{const n=Nr(t,t=>sC(e,t));return sC(e,t)?[t,...n]:n}))(e.formatter,n);iC(e,"strikethrough",t)}})(e,t,Po(m)),q(m,o=>{const i=(e=>{let t=0;return q(e.childNodes,e=>{(e=>C(e)&&ss(e)&&0===e.length)(e)||Vf(e)||t++}),t})(o);!(m.length>1)&&a.isBlock(o)||0!==i?(Rg(s)||_g(s)&&s.wrapper)&&(s.exact||1!==i||(o=(t=>{const o=Z(t.childNodes,lg).filter(e=>"false"!==a.getContentEditable(e)&&ov(a,e,s));return o.map(o=>{const r=a.clone(o,!1);return Jy(e,r,s,n,t),a.replace(r,t,!0),a.remove(o,!0),r}).getOr(t)})(o)),((e,t,n,o)=>{JS(t,t=>{Rg(t)&&JS(e.dom.select(t.inline,o),o=>{Bv(o)&&nC(e,t,n,o,t.exact?o:null)}),((e,t,n)=>{if(t.clear_child_styles){const o=t.links?"*:not(a)":"*";Ov(e.select(o,n),n=>{Bv(n)&&e.isEditable(n)&&Ov(t.styles,(t,o)=>{e.setStyle(n,o,"")})})}})(e.dom,t,o)})})(e,r,n,o),((e,t,n,o,r)=>{const s=r.parentNode;sv(e,s,n,o)&&nC(e,t,o,r)||t.merge_with_parents&&s&&e.dom.getParent(s,s=>!!sv(e,s,n,o)&&(nC(e,t,o,r),!0))})(e,s,t,n,o),((e,t,n,o)=>{if(t.styles&&t.styles.backgroundColor){const r=Fv(e,"fontSize");Iv(o,t=>r(t)&&e.isEditable(t),Uv(e,"backgroundColor",yg(t.styles.backgroundColor,n)))}})(a,s,n,o),((e,t,n,o)=>{const r=t=>{if(Qr(t)&&Xr(t.parentNode)&&e.isEditable(t)){const n=Sg(e,t.parentNode);e.getStyle(t,"color")&&n?e.setStyle(t,"text-decoration",n):e.getStyle(t,"text-decoration")===n&&e.setStyle(t,"text-decoration",null)}};t.styles&&(t.styles.color||t.styles.textDecoration)&&(dn.walk(o,r,"childNodes"),r(o))})(a,s,0,o),((e,t,n,o)=>{if(Rg(t)&&("sub"===t.inline||"sup"===t.inline)){const n=Fv(e,"fontSize");Iv(o,t=>n(t)&&e.isEditable(t),Uv(e,"fontSize",""));const r=Y(e.select("sup"===t.inline?"sub":"sup",o),e.isEditable);e.remove(r,!0)}})(a,s,0,o),Mv(e,s,0,o)):a.remove(o,!0)})},f=ig(o)?o:l.getNode();if("false"!==i.getContentEditable(f)||bg(e,f)){if(s){if(o)if(ig(o)){if(!c(r,o)){const e=i.createRng();e.setStartBefore(o),e.setEndAfter(o),m(i,Kg(i,e,r),!0)}}else m(i,o,!0);else a&&Rg(s)&&!Qf(e).length?((e,t,n)=>{let o;const r=e.selection,s=e.formatter.get(t);if(!s)return;const a=r.getRng();let i=a.startOffset;const l=a.startContainer.nodeValue;o=Of(e.getBody(),r.getStart());const c=/[^\s\u00a0\u00ad\u200b\ufeff]/;if(l&&i>0&&i{rg(e,(e,t)=>{const n=t?e:Kg(i,e,r);m(i,n,!1)})},M),e.nodeChanged()),_v(e.formatter,t).each(t=>{const o=(e=>{const t=Dv(e).getOrThunk(()=>(e=>{if(e.isCollapsed())return[];const t=e.getRng(),n=Av(e,e=>kv(t,e)&&!ws(e));if(1===n.length)return kv(t,n[0])&&Nv(t,n[0])?n:[];{const e=ce(n).filter(e=>kv(t,e)).toArray(),o=de(n).filter(e=>Nv(t,e)).toArray(),r=n.slice(1,-1);return e.concat(r).concat(o)}})(e.selection));return Y(t,Rv(e.selection.dom))})(e);q(o,e=>Zy(i,e,t,n))});((e,t)=>{_e(QS,e)&&q(QS[e],e=>{e(t)})})(t,e)}od(e,t,o,n)}else{if(c(r,o=f),pg(i,o))return void q(hg(i,o),e=>{const t=i.createRng();t.selectNodeContents(e),m(i,t,!0)});if(_g(s)&&!i.isBlock(o)){const t=i.getParent(o,i.isBlock);if(i.isEditable(t)){const r=s.block;if(t.nodeName.toLowerCase()===r.toLowerCase())Jy(e,t,s,n,o);else if(!kg(s)){const a=i.rename(t,r);Jy(e,a,s,n,o)}}}else{const e=Y(r,Ng);I.from(i.getParent(o,t=>H(e,e=>i.is(t,e.selector)))).filter(i.isEditable).each(e=>c(r,e))}od(e,t,o,n)}},nE=(e,t,n,o)=>{(o||e.selection.isEditable())&&tE(e,t,n,o)},oE=e=>_e(e,"vars"),rE=e=>e.selection.getStart(),sE=(e,t,n,o,r)=>Q(t,t=>{const s=e.formatter.matchNode(t,n,r??{},o);return!y(s)},t=>!!tv(e,t,n)||!o&&C(e.formatter.matchNode(t,n,r,!0))),aE=(e,t)=>{const n=t??rE(e);return Y(Eg(e.dom,n),e=>Xr(e)&&!ts(e))},iE=(e,t,n)=>{const o=aE(e,t);he(n,(n,r)=>{const s=n=>{const s=sE(e,o,r,n.similar,oE(n)?n.vars:void 0),a=s.isSome();if(n.state.get()!==a){n.state.set(a);const e=s.getOr(t);oE(n)?n.callback(a,{node:e,format:r,parents:o}):q(n.callbacks,t=>t(a,{node:e,format:r,parents:o}))}};q([n.withSimilar,n.withoutSimilar],s),q(n.withVars,s)})},lE=(e,t,n)=>({element:e,width:t,rows:n}),cE=(e,t)=>({element:e,cells:t}),dE=(e,t)=>({x:e,y:t}),mE=(e,t)=>So(e,t).bind(st).getOr(1),uE=(e,t,n)=>{const o=e.rows;return!!(o[n]?o[n].cells:[])[t]},fE=e=>X(e,(e,t)=>t.cells.length>e?t.cells.length:e,0),gE=(e,t)=>{const n=e.rows;for(let e=0;e{const s=[],a=e.rows;for(let e=n;e<=r;e++){const n=a[e].cells,r=t((e,t)=>{const n=To(e.element),o=un.fromTag("tbody");return bo(o,t),go(n,o),n})(e,(e=>V(e.rows,e=>{const t=V(e.cells,e=>{const t=Oo(e);return xo(t,"colspan"),xo(t,"rowspan"),t}),n=To(e.element);return bo(n,t),n}))(e)),bE=(e,t,n)=>{const o=un.fromDom(t.commonAncestorContainer),r=mb(o,e),s=Y(r,e=>n.isWrapper(En(e))),a=((e,t)=>Z(e,e=>"li"===En(e)&&tg(e,t)).fold(N([]),t=>(e=>Z(e,e=>"ul"===En(e)||"ol"===En(e)))(e).map(e=>{const t=un.fromTag(En(e)),n=we(qo(e),(e,t)=>Qe(t,"list-style"));return jo(t,n),[un.fromTag("li"),t]}).getOr([])))(r,t),i=s.concat(a.length?a:(e=>ji(e)?Mn(e).filter(zi).fold(N([]),t=>[e,t]):zi(e)?[e]:[])(o));return V(i,To)},yE=()=>tr([]),vE=(e,t)=>((e,t)=>mr(t,"table",D(vn,e)))(e,t[0]).bind(e=>{const n=t[0],o=t[t.length-1],r=(e=>{const t=lE(To(e),0,[]);return q(Rr(e,"tr"),(e,n)=>{q(Rr(e,"td,th"),(o,r)=>{((e,t,n,o,r)=>{const s=mE(r,"rowspan"),a=mE(r,"colspan"),i=e.rows;for(let e=n;e{for(;uE(e,t,n);)t++;return t})(t,r,n),n,e,o)})}),lE(t.element,fE(t.rows),t.rows)})(e);return((e,t,n)=>gE(e,t).bind(t=>gE(e,n).map(n=>((e,t,n)=>{const o=t.x,r=t.y,s=n.x,a=n.y,i=rtr([hE(e)]))}).getOrThunk(yE),CE=(e,t,n)=>{const o=Xf(t,e);return o.length>0?vE(e,o):((e,t,n)=>t.length>0&&t[0].collapsed?yE():((e,t,n)=>((e,t)=>{const n=X(t,(e,t)=>(go(t,e),t),e);return t.length>0?tr([n]):n})(un.fromDom(t.cloneContents()),bE(e,t,n)))(e,t[0],n))(e,t,n)},wE=(e,t)=>t>=0&&tGi(e.innerText),EE=e=>Xr(e)?e.outerHTML:ss(e)?Sa.encodeRaw(e.data,!1):ls(e)?"\x3c!--"+e.data+"--\x3e":"",xE=(e,t)=>(((e,t)=>{let n=0;q(e,e=>{0===e[0]?n++:1===e[0]?(((e,t,n)=>{const o=(e=>{let t;const n=document.createElement("div"),o=document.createDocumentFragment();for(e&&(n.innerHTML=e);t=n.firstChild;)o.appendChild(t);return o})(t);if(e.hasChildNodes()&&n{if(e.hasChildNodes()&&t{const n=e.length+t.length+2,o=new Array(n),r=new Array(n),s=(n,o,r,a,l)=>{const c=i(n,o,r,a);if(null===c||c.start===o&&c.diag===o-a||c.end===n&&c.diag===n-r){let s=n,i=r;for(;sa-r?(l.push([2,e[s]]),++s):(l.push([1,t[i]]),++i)}else{s(n,c.start,r,c.start-c.diag,l);for(let t=c.start;t{let a=n;for(;a-o({start:e,end:t,diag:n}))(n,a,o)},i=(n,s,i,l)=>{const c=s-n,d=l-i;if(0===c||0===d)return null;const m=c-d,u=d+c,f=(u%2==0?u:u+1)/2;let g,p,h,b,y;for(o[1+f]=n,r[1+f]=s+1,g=0;g<=f;++g){for(p=-g;p<=g;p+=2){for(h=p+f,p===-g||p!==g&&o[h-1]=n&&y>=i&&e[b]===t[y];)r[h]=b--,y--;if(m%2==0&&-g<=p&&p<=g&&r[h]<=o[h+m])return a(r[h],p+n-i,s,l)}}return null},l=[];return s(0,e.length,0,t.length,l),l})(V(me(t.childNodes),EE),e),t),t),_E=lt(()=>document.implementation.createHTMLDocument("undo")),kE=e=>{const t=e.serializer.getTempAttrs(),n=Ih(e.getBody(),t);return(e=>null!==e.querySelector(`iframe, ${xs}`))(n)?{type:"fragmented",fragments:Y(V(me(n.childNodes),_(Gi,EE)),e=>e.length>0),content:"",bookmark:null,beforeBookmark:null}:{type:"complete",fragments:null,content:Gi(n.innerHTML),bookmark:null,beforeBookmark:null}},NE=(e,t,n)=>{const o=n?t.beforeBookmark:t.bookmark;"fragmented"===t.type?xE(t.fragments,e.getBody()):e.setContent(t.content,{format:"raw",no_selection:!C(o)||!Pf(o)||!o.isFakeCaret}),o&&(e.selection.moveToBookmark(o),e.selection.scrollIntoView())},RE=e=>"fragmented"===e.type?e.fragments.join(""):e.content,AE=(e,t)=>{const n=un.fromTag("body",_E());return Mo(n,RE(t)),q(Rr(n,"*[data-mce-bogus]"),Ao),e&&q(Rr(n,"details[open]"),e=>xo(e,"open")),Lo(n)},DE=(e,t,n)=>!(!t||!n)&&(!!((e,t)=>RE(e)===RE(t))(t,n)||((e,t,n)=>AE(e,t)===AE(e,n))(e,t,n)),TE=e=>0===e.get(),OE=(e,t,n)=>{TE(n)&&(e.typing=t)},BE=(e,t)=>{e.typing&&(OE(e,!1,t),e.add())},PE=e=>({init:{bindEvents:x},undoManager:{beforeChange:(t,n)=>((e,t,n)=>{TE(t)&&n.set(gc(e.selection))})(e,t,n),add:(t,n,o,r,s,a)=>((e,t,n,o,r,s,a)=>{const i=kE(e),l=dn.extend(s||{},i);if(!TE(o)||e.removed)return null;const c=t.data[n.get()];if(e.dispatch("BeforeAddUndo",{level:l,lastLevel:c,originalEvent:a}).isDefaultPrevented())return null;if(c&&DE(e.readonly,c,l))return null;t.data[n.get()]&&r.get().each(e=>{t.data[n.get()].beforeBookmark=e});const d=ym(e);if(d&&t.data.length>d){for(let e=0;e0?(e.setDirty(!0),e.dispatch("AddUndo",m),e.dispatch("change",m)):e.dispatch("AddUndo",m),l})(e,t,n,o,r,s,a),undo:(t,n,o)=>((e,t,n,o)=>{let r;return t.typing&&(t.add(),t.typing=!1,OE(t,!1,n)),o.get()>0&&(o.set(o.get()-1),r=t.data[o.get()],NE(e,r,!0),e.setDirty(!0),e.dispatch("Undo",{level:r})),r})(e,t,n,o),redo:(t,n)=>((e,t,n)=>{let o;return t.get()((e,t,n)=>{t.data=[],n.set(0),t.typing=!1,e.dispatch("ClearUndos")})(e,t,n),reset:e=>(e=>{e.clear(),e.add()})(e),hasUndo:(t,n)=>((e,t,n)=>n.get()>0||t.typing&&t.data[0]&&!DE(e.readonly,kE(e),t.data[0]))(e,t,n),hasRedo:(e,t)=>((e,t)=>t.get()((e,t,n)=>(BE(e,t),e.beforeChange(),e.ignore(n),e.add()))(e,t,n),ignore:(e,t)=>((e,t)=>{try{e.set(e.get()+1),t()}finally{e.set(e.get()-1)}})(e,t),extra:(t,n,o,r)=>((e,t,n,o,r)=>{if(t.transact(o)){const o=t.data[n.get()].bookmark,s=t.data[n.get()-1];NE(e,s,!0),t.transact(r)&&(t.data[n.get()-1].beforeBookmark=o)}})(e,t,n,o,r)},formatter:{match:(t,n,o,r)=>lv(e,t,n,o,r),matchAll:(t,n)=>((e,t,n)=>{const o=[],r={},s=e.selection.getStart();return e.dom.getParent(s,s=>{for(let a=0;asv(e,t,n,o,r),canApply:t=>((e,t)=>{const n=e.formatter.get(t),o=e.dom;if(n&&e.selection.isEditable()){const t=e.selection.getStart(),r=Eg(o,t);for(let e=n.length-1;e>=0;e--){const t=n[e];if(!Ng(t))return!0;for(let e=r.length-1;e>=0;e--)if(o.is(r[e],t.selector))return!0}}return!1})(e,t),closest:t=>((e,t)=>{const n=t=>vn(t,un.fromDom(e.getBody()));return I.from(e.selection.getStart(!0)).bind(o=>Or(un.fromDom(o),n=>ue(t,t=>((t,n)=>sv(e,t.dom,n)?I.some(n):I.none())(n,t)),n)).getOrNull()})(e,t),apply:(t,n,o)=>nE(e,t,n,o),remove:(t,n,o,r)=>tC(e,t,n,o,r),toggle:(t,n,o)=>((e,t,n,o)=>{const r=e.formatter.get(t);r&&(!lv(e,t,n,o)||"toggle"in r[0]&&!r[0].toggle?nE(e,t,n,o):tC(e,t,n,o))})(e,t,n,o),formatChanged:(t,n,o,r,s)=>((e,t,n,o,r,s)=>(((e,t,n,o,r,s)=>{const a=t.get();q(n.split(","),t=>{const n=xe(a,t).getOrThunk(()=>{const e={withSimilar:{state:Re(!1),similar:!0,callbacks:[]},withoutSimilar:{state:Re(!1),similar:!1,callbacks:[]},withVars:[]};return a[t]=e,e}),i=()=>{const n=aE(e);return sE(e,n,t,r,s).isSome()};if(y(s)){const e=r?n.withSimilar:n.withoutSimilar;e.callbacks.push(o),1===e.callbacks.length&&e.state.set(i())}else n.withVars.push({state:Re(i()),similar:r,vars:s,callback:o})}),t.set(a)})(e,t,n,o,r,s),{unbind:()=>((e,t,n)=>{const o=e.get();q(t.split(","),e=>xe(o,e).each(t=>{o[e]={withSimilar:{...t.withSimilar,callbacks:Y(t.withSimilar.callbacks,e=>e!==n)},withoutSimilar:{...t.withoutSimilar,callbacks:Y(t.withoutSimilar.callbacks,e=>e!==n)},withVars:Y(t.withVars,e=>e.callback!==n)}})),e.set(o)})(t,n,o)}))(e,t,n,o,r,s)},editor:{getContent:t=>((e,t)=>I.from(e.getBody()).fold(N("tree"===t.format?new xh("body",11):""),n=>zh(e,t,n)))(e,t),setContent:(t,n)=>((e,t,n)=>I.from(e.getBody()).map(o=>yS(t)?((e,t,n,o)=>{mC(e.parser.getNodeFilters(),e.parser.getAttributeFilters(),n);const r=Hh({validate:!1},e.schema).serialize(n),s=Gi(Vi(un.fromDom(t))?r:dn.trim(r));return XS(e,s,o.no_selection),{content:n,html:s}})(e,o,t,n):((e,t,n,o)=>{if(0===(n=Gi(n)).length||/^\s+$/.test(n)){const r='
';"TABLE"===t.nodeName?n=""+r+"":/^(UL|OL)$/.test(t.nodeName)&&(n="
  • "+r+"
  • ");const s=Ed(e);return e.schema.isValidChild(t.nodeName.toLowerCase(),s.toLowerCase())?(n=r,n=e.dom.createHTML(s,xd(e),n)):n||(n=r),XS(e,n,o.no_selection),{content:n,html:n}}{"raw"!==o.format&&(n=Hh({validate:!1},e.schema).serialize(e.parser.parse(n,{isRootContent:!0,insert:!0})));const r=Vi(un.fromDom(t))?n:dn.trim(n);return XS(e,r,o.no_selection),{content:r,html:r}}})(e,o,t,n)).getOr({content:t,html:yS(n.content)?"":n.content}))(e,t,n),insertContent:(t,n)=>GS(e,t,n),addVisual:t=>((e,t)=>{const n=e.dom,o=C(t)?t:e.getBody();q(n.select("table,a",o),t=>{switch(t.nodeName){case"TABLE":const o=Nm(e),r=n.getAttrib(t,"border");r&&"0"!==r||!e.hasVisual?n.removeClass(t,o):n.addClass(t,o);break;case"A":if(!n.getAttrib(t,"href")){const o=n.getAttrib(t,"name")||t.id,r=Rm(e);o&&e.hasVisual?n.addClass(t,r):n.removeClass(t,r)}}}),e.dispatch("VisualAid",{element:t,hasVisual:e.hasVisual})})(e,t)},selection:{getContent:(t,n)=>((e,t,n={})=>{const o=((e,t)=>({...e,format:t,get:!0,selection:!0,getInner:!0}))(n,t);return wS(e,o).fold(R,t=>{const n=((e,t)=>{if("text"===t.format)return(e=>I.from(e.selection.getRng()).map(t=>{const n=I.from(e.dom.getParent(t.commonAncestorContainer,e.dom.isBlock)),o=e.getBody(),r=(e=>e.map(e=>e.nodeName).getOr("div").toLowerCase())(n),s=un.fromDom(t.cloneContents());Fh(s),Uh(s);const a=e.dom.add(o,r,{"data-mce-bogus":"all",style:"overflow: hidden; opacity: 0;"},s.dom),i=SE(a),l=Gi(a.textContent??"");if(e.dom.remove(a),wE(l,0)||wE(l,l.length-1)){const e=n.getOr(o),t=SE(e),r=t.indexOf(i);return-1===r?i:(wE(t,r-1)?" ":"")+i+(wE(t,r+i.length)?" ":"")}return i}).getOr(""))(e);{const n=((e,t)=>{const n=e.selection.getRng(),o=e.dom.create("body"),r=e.selection.getSel(),s=vh(e,Gf(r)),a=t.contextual?CE(un.fromDom(e.getBody()),s,e.schema).dom:n.cloneContents();return a&&o.appendChild(a),e.selection.serializer.serialize(o,t)})(e,t);return"tree"===t.format?n:e.selection.isCollapsed()?"":n}})(e,t);return SS(e,n,t)})})(e,t,n)},autocompleter:{addDecoration:x,removeDecoration:x},raw:{getModel:()=>I.none()}}),LE=e=>_e(e.plugins,"rtc"),ME=e=>e.rtcInstance?e.rtcInstance:PE(e),IE=e=>{const t=e.rtcInstance;if(t)return t;throw new Error("Failed to get RTC instance not yet initialized.")},FE=e=>IE(e).init.bindEvents(),UE=(e,t,n)=>{if(_e(e,t)){const o=Y(e[t],e=>e!==n);0===o.length?delete e[t]:e[t]=o}};const zE=e=>!(!e||!e.ownerDocument)&&Cn(un.fromDom(e.ownerDocument),un.fromDom(e)),jE=(e,t,n,o)=>{let r,s;const{selectorChangedWithUnbind:a}=((e,t)=>{let n,o;const r=(t,n)=>Z(n,n=>e.is(n,t)),s=t=>e.getParents(t,void 0,e.getRoot());return{selectorChangedWithUnbind:(e,a)=>(n||(n={},o={},t.on("NodeChange",e=>{const t=e.element,a=s(t),i={};he(n,(e,t)=>{r(t,a).each(n=>{o[t]||(q(e,e=>{e(!0,{node:n,selector:t,parents:a})}),o[t]=e),i[t]=e})}),he(o,(e,n)=>{i[n]||(delete o[n],q(e,e=>{e(!1,{node:t,selector:n,parents:a})}))})})),n[e]||(n[e]=[]),n[e].push(a),r(e,s(t.selection.getStart())).each(()=>{o[e]=n[e]}),{unbind:()=>{UE(n,e,a),UE(o,e,a)}})}})(e,o),i=e=>{const t=c();t.collapse(!!e),d(t)},l=()=>t.getSelection?t.getSelection():t.document.selection,c=()=>{let n;const a=(e,t,n)=>{try{return t.compareBoundaryPoints(e,n)}catch{return-1}},i=t.document;if(C(o.bookmark)&&!Rp(o)){const e=hp(o);if(e.isSome())return e.map(e=>vh(o,[e])[0]).getOr(i.createRange())}try{const e=l();e&&!Gr(e.anchorNode)&&(n=e.rangeCount>0?e.getRangeAt(0):i.createRange(),n=vh(o,[n])[0])}catch{}if(n||(n=i.createRange()),cs(n.startContainer)&&n.collapsed){const t=e.getRoot();n.setStart(t,0),n.setEnd(t,0)}return r&&s&&(0===a(n.START_TO_START,n,r)&&0===a(n.END_TO_END,n,r)?n=s:(r=null,s=null)),n},d=(e,t)=>{if(!(e=>!!e&&zE(e.startContainer)&&zE(e.endContainer))(e))return;const n=l();if(e=o.dispatch("SetSelectionRange",{range:e,forward:t}).range,n){s=e;try{n.removeAllRanges(),n.addRange(e)}catch{}!1===t&&n.extend&&(n.collapse(e.endContainer,e.endOffset),n.extend(e.startContainer,e.startOffset)),r=n.rangeCount>0?n.getRangeAt(0):null}if(!e.collapsed&&e.startContainer===e.endContainer&&n?.setBaseAndExtent&&e.endOffset-e.startOffset<2&&e.startContainer.hasChildNodes()){const t=e.startContainer.childNodes[e.startOffset];t&&"IMG"===t.nodeName&&(n.setBaseAndExtent(e.startContainer,e.startOffset,e.endContainer,e.endOffset),n.anchorNode===e.startContainer&&n.focusNode===e.endContainer||n.setBaseAndExtent(t,0,t,1))}o.dispatch("AfterSetSelectionRange",{range:e,forward:t})},m=()=>{const t=l(),n=t?.anchorNode,o=t?.focusNode;if(!t||!n||!o||Gr(n)||Gr(o))return!0;const r=e.createRng(),s=e.createRng();try{r.setStart(n,t.anchorOffset),r.collapse(!0),s.setStart(o,t.focusOffset),s.collapse(!0)}catch{return!0}return r.compareBoundaryPoints(r.START_TO_START,s)<=0},u={dom:e,win:t,serializer:n,editor:o,expand:(t={type:"word"})=>d(Gp(e).expand(c(),t)),collapse:i,setCursorLocation:(t,n)=>{const r=e.createRng();C(t)&&C(n)?(r.setStart(t,n),r.setEnd(t,n),d(r),i(!1)):(ng(e,r,o.getBody(),!0),d(r))},getContent:e=>((e,t={})=>((e,t,n)=>IE(e).selection.getContent(t,n))(e,t.format?t.format:"html",t))(o,e),setContent:(e,t)=>((e,t,n={})=>{IS("selectionSetContent"),zS(e,t,n)})(o,e,t),getBookmark:(e,t)=>f.getBookmark(e,t),moveToBookmark:e=>f.moveToBookmark(e),select:(t,n)=>(((e,t,n)=>I.from(t).bind(t=>I.from(t.parentNode).map(o=>{const r=e.nodeIndex(t),s=e.createRng();return s.setStart(o,r),s.setEnd(o,r+1),n&&(ng(e,s,t,!0),ng(e,s,t,!1)),s})))(e,t,n).each(d),t),isCollapsed:()=>{const e=c(),t=l();return!(!e||e.item)&&(e.compareEndPoints?0===e.compareEndPoints("StartToEnd",e):!t||e.collapsed)},isEditable:()=>{if(o.mode.isReadOnly())return!1;const t=c(),n=o.getBody().querySelectorAll('[data-mce-selected="1"]');return n.length>0?oe(n,t=>e.isEditable(t.parentElement)):gh(e,t)},isForward:m,setNode:t=>(zS(o,e.getOuterHTML(t)),t),getNode:()=>((e,t)=>{if(!t)return e;let n=t.startContainer,o=t.endContainer;const r=t.startOffset,s=t.endOffset;let a=t.commonAncestorContainer;t.collapsed||(n===o&&s-r<2&&n.hasChildNodes()&&(a=n.childNodes[r]),ss(n)&&ss(o)&&(n=n.length===r?yh(n.nextSibling,!0):n.parentNode,o=0===s?yh(o.previousSibling,!1):o.parentNode,n&&n===o&&(a=n)));const i=ss(a)?a.parentNode:a;return Qr(i)?i:e})(o.getBody(),c()),getSel:l,setRng:d,getRng:c,getStart:e=>hh(o.getBody(),c(),e),getEnd:e=>bh(o.getBody(),c(),e),getSelectedBlocks:(t,n)=>((e,t,n,o)=>{const r=[],s=e.getRoot(),a=e.getParent(n||hh(s,t,t.collapsed),e.isBlock),i=e.getParent(o||bh(s,t,t.collapsed),e.isBlock);if(a&&a!==s&&r.push(a),a&&i&&a!==i){let t;const n=new Kr(a,s);for(;(t=n.next())&&t!==i;)e.isBlock(t)&&r.push(t)}return i&&a!==i&&i!==s&&r.push(i),r})(e,c(),t,n),normalize:()=>{const t=c(),n=l();if(!(Gf(n).length>1)&&og(o)){const n=Wp(e,t);return n.each(e=>{d(e,m())}),n.getOr(t)}return t},selectorChanged:(e,t)=>(a(e,t),u),selectorChangedWithUnbind:a,getScrollContainer:()=>{let t,n=e.getRoot();for(;n&&"BODY"!==n.nodeName;){if(n.scrollHeight>n.clientHeight){t=n;break}n=n.parentNode}return t},scrollIntoView:(e,t)=>{C(e)?((e,t,n)=>{(e.inline?dh:uh)(e,t,n)})(o,e,t):fh(o,c(),t)},placeCaretAt:(e,t)=>d(Fp(e,t,o.getDoc())),getBoundingClientRect:()=>{const e=c();return e.collapsed?Kl.fromRangeStart(e).getClientRects()[0]:e.getBoundingClientRect()},destroy:()=>{t=r=s=null,g.destroy()}},f=ip(u),g=Ip(u,o);return u.bookmarkManager=f,u.controlSelection=g,u},$E=(e,t,n)=>{-1===dn.inArray(t,n)&&(e.addAttributeFilter(n,(e,t)=>{let n=e.length;for(;n--;)e[n].attr(t,null)}),t.push(n))},HE=(e,t)=>{const n=["data-mce-selected"],o={entity_encoding:"named",remove_trailing_brs:!0,pad_empty_with_br:!1,...e},r=t&&t.dom?t.dom:gi.DOM,s=t&&t.schema?t.schema:Ua(o),a=bS(o,s);return((e,t,n)=>{e.addAttributeFilter("data-mce-tabindex",(e,t)=>{let n=e.length;for(;n--;){const o=e[n];o.attr("tabindex",o.attr("data-mce-tabindex")),o.attr(t,null)}}),e.addAttributeFilter("src,href,style",(e,o)=>{const r="data-mce-"+o,s=t.url_converter,a=t.url_converter_scope;let i=e.length;for(;i--;){const t=e[i];let l=t.attr(r);void 0!==l?(t.attr(o,l.length>0?l:null),t.attr(r,null)):(l=t.attr(o),"style"===o?l=n.serializeStyle(n.parseStyle(l),t.name):s&&(l=s.call(a,l,o,t.name)),t.attr(o,l.length>0?l:null))}}),e.addAttributeFilter("class",e=>{let t=e.length;for(;t--;){const n=e[t];let o=n.attr("class");o&&(o=o.replace(/(?:^|\s)mce-item-\w+(?!\S)/g,""),n.attr("class",o.length>0?o:null))}}),e.addAttributeFilter("data-mce-type",(e,t,n)=>{let o=e.length;for(;o--;){const t=e[o];if("bookmark"===t.attr("data-mce-type")&&!n.cleanup){const e=I.from(t.firstChild).exists(e=>!Yi(e.value??""));e?t.unwrap():t.remove()}}}),e.addNodeFilter("script,style",(e,n)=>{const o=e=>e.replace(/()/g,"\n").replace(/^[\r\n]*|[\r\n]*$/g,"").replace(/^\s*(()?|\s*\/\/\s*\]\]>(-->)?|\/\/\s*(-->)?|\]\]>|\/\*\s*-->\s*\*\/|\s*-->\s*)\s*$/g,"");let r=e.length;for(;r--;){const s=e[r],a=s.firstChild,i=a?.value??"";if("script"===n){const e=s.attr("type");e&&s.attr("type","mce-no/type"===e?null:e.replace(/^mce\-/,"")),"xhtml"===t.element_format&&a&&i.length>0&&(a.value="// ")}else"xhtml"===t.element_format&&a&&i.length>0&&(a.value="\x3c!--\n"+o(i)+"\n--\x3e")}}),e.addNodeFilter("#comment",e=>{let o=e.length;for(;o--;){const r=e[o],s=r.value;t.preserve_cdata&&0===s?.indexOf("[CDATA[")&&(r.name="#cdata",r.type=4,r.value=n.decode(s.replace(/^\[CDATA\[|\]\]$/g,"")))}}),e.addNodeFilter("xml:namespace,input",(e,t)=>{let n=e.length;for(;n--;){const o=e[n];7===o.type?o.remove():1===o.type&&("input"!==t||o.attr("type")||o.attr("type","text"))}}),e.addAttributeFilter("data-mce-type",t=>{q(t,t=>{"format-caret"===t.attr("data-mce-type")&&(t.isEmpty(e.schema.getNonEmptyElements())?t.remove():t.unwrap())})}),e.addAttributeFilter("data-mce-src,data-mce-href,data-mce-style,data-mce-selected,data-mce-expando,data-mce-block,data-mce-type,data-mce-resize,data-mce-placeholder",(e,t)=>{let n=e.length;for(;n--;)e[n].attr(t,null)}),t.remove_trailing_brs&&((e,t,n)=>{t.addNodeFilter("br",(t,o,r)=>{const s=dn.extend({},n.getBlockElements()),a=n.getNonEmptyElements(),i=n.getWhitespaceElements();s.body=1;const l=e=>e.name in s||ea(n,e);for(let o=0,c=t.length;o{const{indent:i,entity_encoding:l,...c}=n,d={format:"html",...c},m=((e,t,n)=>((e,t)=>C(e)&&e.hasEventListeners("PreProcess")&&!t.no_events)(e,n)?((e,t,n)=>{let o;const r=e.dom;let s=t.cloneNode(!0);const a=document.implementation;if(a.createHTMLDocument){const e=a.createHTMLDocument("");dn.each("BODY"===s.nodeName?s.childNodes:[s],t=>{e.body.appendChild(e.importNode(t,!0))}),s="BODY"!==s.nodeName?e.body.firstChild:e.body,o=r.doc,r.doc=e}return((e,t)=>{e.dispatch("PreProcess",t)})(e,{...n,node:s}),o&&(r.doc=o),s})(e,t,n):t)(t,e,d),u=((e,t,n)=>{const o=Gi(n.getInner?t.innerHTML:e.getOuterHTML(t));return n.selection||Vi(un.fromDom(t))?o:dn.trim(o)})(r,m,d),f=((e,t,n)=>{const o=n.selection?{forced_root_block:!1,...n}:n,r=e.parse(t,o);return(e=>{const t=e=>"br"===e?.name,n=e.lastChild;if(t(n)){const e=n.prev;t(e)&&(n.remove(),e.remove())}})(r),r})(a,u,d);if("tree"===d.format)return f;const g={...o,...C(i)?{indent:i}:{},...C(l)?{entity_encoding:l}:{}};return((e,t,n,o,r)=>{const s=((e,t,n)=>Hh(e,t).serialize(n))(t,n,o);return((e,t,n)=>{if(!t.no_events&&e){const o=((e,t)=>e.dispatch("PostProcess",t))(e,{...t,content:n});return o.content}return n})(e,r,s)})(t,g,s,f,d)},addRules:s.addValidElements,setRules:s.setValidElements,addTempAttr:D($E,a,n),getTempAttrs:N(n),getNodeFilters:a.getNodeFilters,getAttributeFilters:a.getAttributeFilters,removeNodeFilter:a.removeNodeFilter,removeAttributeFilter:a.removeAttributeFilter}},VE=(e,t)=>{const n=HE(e,t);return{schema:n.schema,addNodeFilter:n.addNodeFilter,addAttributeFilter:n.addAttributeFilter,serialize:n.serialize,addRules:n.addRules,setRules:n.setRules,addTempAttr:n.addTempAttr,getTempAttrs:n.getTempAttrs,getNodeFilters:n.getNodeFilters,getAttributeFilters:n.getAttributeFilters,removeNodeFilter:n.removeNodeFilter,removeAttributeFilter:n.removeAttributeFilter}},qE=(e,t,n={})=>{const o=((e,t)=>({format:"html",...e,set:!0,content:t}))(n,t);ES(e,o).each(t=>{const n=((e,t,n)=>ME(e).editor.setContent(t,n))(e,t.content,t);xS(e,n.html,t)})},WE=gi.DOM,KE=e=>I.from(e).each(e=>e.destroy()),YE=(()=>{const e={};return{add:(t,n)=>{e[t]=n},get:t=>e[t]?e[t]:{icons:{}},has:t=>_e(e,t)}})(),GE=wi.ModelManager,XE=(e,t)=>t.dom[e],QE=(e,t)=>parseInt($o(t,e),10),ZE=D(XE,"clientWidth"),JE=D(XE,"clientHeight"),ex=D(QE,"margin-top"),tx=D(QE,"margin-left"),nx=e=>{const t=[],n=()=>{const t=e.theme;return t&&t.getNotificationManagerImpl?t.getNotificationManagerImpl():(()=>{const e=()=>{throw new Error("Theme did not provide a NotificationManager implementation.")};return{open:e,close:e,getArgs:e}})()},o=()=>I.from(t[0]),r=()=>{o().each(e=>{e.reposition()})},s=e=>{J(t,t=>t===e).each(e=>{t.splice(e,1)})},a=(o,a=!0)=>e.removed||!(e=>{return(t=e.inline?e.getBody():e.getContentAreaContainer(),I.from(t).map(un.fromDom)).map(Fo).getOr(!1);var t})(e)?{}:(a&&e.dispatch("BeforeOpenNotification",{notification:o}),Z(t,e=>{return t=n().getArgs(e),r=o,!(t.type!==r.type||t.text!==r.text||t.progressBar||t.timeout||r.progressBar||r.timeout);var t,r}).getOrThunk(()=>{e.editorManager.setActive(e);const a=n().open(o,()=>{s(a)},()=>Ap(e));return(e=>{t.push(e)})(a),r(),e.dispatch("OpenNotification",{notification:{...a}}),a})),i=N(t);return(e=>{e.on("SkinLoaded",()=>{const t=nm(e);t&&a({text:t,type:"warning",timeout:0},!1),r()}),e.on("show ResizeEditor ResizeWindow NodeChange ToggleView FullscreenStateChanged",()=>{requestAnimationFrame(r)}),e.on("remove",()=>{q(t.slice(),e=>{n().close(e)})}),e.on("keydown",e=>{const t="f12"===e.key?.toLowerCase()||123===e.keyCode;e.altKey&&t&&(e.preventDefault(),o().map(e=>un.fromDom(e.getEl())).each(e=>io(e)))})})(e),{open:a,close:()=>{o().each(e=>{n().close(e),s(e),r()})},getNotifications:i}},ox=wi.PluginManager,rx=wi.ThemeManager,sx=e=>{let t=[];const n=()=>{const t=e.theme;return t&&t.getWindowManagerImpl?t.getWindowManagerImpl():(()=>{const e=()=>{throw new Error("Theme did not provide a WindowManager implementation.")};return{open:e,openUrl:e,alert:e,confirm:e,close:e}})()},o=(e,t)=>(...n)=>t?t.apply(e,n):void 0,r=n=>{(t=>{e.dispatch("CloseWindow",{dialog:t})})(n);const o=ue(t,({instanceApi:e,triggerElement:t})=>e===n?t:I.none());t=Y(t,({instanceApi:e})=>e!==n),0===t.length?e.focus():o.filter(Fo).each(io)},s=n=>{e.editorManager.setActive(e),pp(e);const o=co();e.ui.show();const r=n();return((n,o)=>{t.push({instanceApi:n,triggerElement:o}),(t=>{e.dispatch("OpenWindow",{dialog:t})})(n)})(r,o),r},a=e=>{0!==t.length&&e.each(e=>io(e))};return e.on("remove",()=>{q(t,({instanceApi:e})=>{n().close(e)})}),{open:(e,t)=>s(()=>n().open(e,t,r)),openUrl:e=>s(()=>n().openUrl(e,r)),alert:(e,t,r)=>{const s=co(),i=n();i.alert(e,o(r||i,()=>{a(s),t?.()}))},confirm:(e,t,r)=>{const s=co(),i=n();i.confirm(e,o(r||i,e=>{a(s),t?.(e)}))},close:()=>{I.from(t[t.length-1]).each(({instanceApi:e})=>{n().close(e),r(e)})}}},ax=(e,t)=>{e.notificationManager.open({type:"error",text:t})},ix=(e,t)=>{e._skinLoaded?ax(e,t):e.on("SkinLoaded",()=>{ax(e,t)})},lx=(e,t,n)=>{nd(e,t,{message:n}),console.error(n)},cx=(e,t,n)=>n?`Failed to load ${e}: ${n} from url ${t}`:`Failed to load ${e} url: ${t}`,dx=(e,...t)=>{const n=window.console;n&&(n.error?n.error(e,...t):n.log(e,...t))},mx=new WeakMap,ux=(e,t)=>{const{type:n,message:o}=t;e.notificationManager.open({type:n,text:o})},fx=e=>{const t=(e=>{switch(e){case"error":return console.error;case"info":return console.info;case"warn":return console.warn;default:return console.log}})(e.type);t(e.message)},gx=(e,t)=>{const{console:n,editor:o}=t;C(o)&&(e._skinLoaded?ux(e,o):e.on("SkinLoaded",()=>{ux(e,o)})),C(n)&&fx(n)},px="Read more: https://www.tiny.cloud/docs/tinymce/latest/license-key/",hx="Make sure to provide a valid license key or add license_key: 'gpl' to the init config to agree to the open source license terms.",bx="licensekeymanager",yx=e=>{const t=(e=>u(uu(e))?"online":"offline")(e),n=(e=>{const t=mu(e)?.toLowerCase();return"gpl"===t?"gpl":v(t)?"no_key":"non_gpl"})(e),o=new Set([...Em(e),...ge(xm(e))]).has(bx);return"gpl"!==n||"online"===t||o?{type:"use_plugin",onlineStatus:t,licenseKeyType:n,forcePlugin:o}:{type:"use_gpl",onlineStatus:t,licenseKeyType:n,forcePlugin:o}},vx=e=>t=>{let n=!1;return{validate:o=>{const{plugin:r}=o,s=u(r);return s&&(((e,t,n)=>{gx(e,{console:{type:"error",message:[`The "${t}" plugin requires a valid TinyMCE license key.`,px].join(" ")},...n?{}:{editor:{type:"warning",message:"One or more premium plugins are disabled due to license key restrictions."}}})})(t,r,n),n=!0),Promise.resolve(e&&!s)}}},Cx=vx(!1),wx=vx(!0),Sx="manager",Ex=bx,xx=(()=>{const e=wi();return{load:(t,n)=>{if("use_plugin"===yx(t).type){const o=xe(xm(t),Ex).map(et).filter(ot).getOr(`plugins/${Ex}/plugin${n}.js`);e.load(Sx,o).catch(()=>{((e,t)=>{lx(e,"LicenseKeyManagerLoadError",cx("license key manager",t))})(t,o)})}},add:t=>{e.add(Sx,t)},init:t=>{const n=e=>{Object.defineProperty(t,"licenseKeyManager",{value:e,writable:!1,configurable:!1,enumerable:!0})},o=yx(t),r=e.get(Sx);if(C(r))n(r(t,e.urls[Sx]));else switch(o.type){case"use_gpl":n(wx(t));break;case"use_plugin":(e=>{mx.has(e)||(mx.set(e,!0),e.initialized?(e.removed||e.mode.set("readonly"),e.options.set("disabled",!0)):e.on("init",()=>{e.removed||e.mode.set("readonly"),e.options.set("disabled",!0)}),e.on("DisabledStateChange",e=>{const{state:t}=e;t||e.preventDefault()},!0),e.on("SwitchMode",t=>{const{mode:n}=t;"readonly"!==n&&e.mode.set("readonly")}))})(t),n(Cx(t)),"offline"===o.onlineStatus&&"no_key"===o.licenseKeyType?(e=>{const t="The editor is disabled because a TinyMCE license key has not been provided.";gx(e,{console:{type:"error",message:[`${t}`,hx,px].join(" ")},editor:{type:"warning",message:`${t}`}})})(t):((e,t)=>{const n=("online"===t?"API":"license")+" key",o=`The editor is disabled because the TinyMCE ${n} could not be validated.`;gx(e,{console:{type:"error",message:[`${o}`,`The TinyMCE Commercial License Key Manager plugin is required for the provided ${n} to be validated but could not be loaded.`,px].join(" ")},editor:{type:"warning",message:`${o}`}})})(t,o.onlineStatus)}t.licenseKeyManager.validate({})}}})(),_x=(e,t,n)=>{try{e.getDoc().execCommand(t,!1,String(n))}catch{}},kx=(e,t,n)=>{wr(e,t)&&!n?Cr(e,t):n&&yr(e,t)},Nx=e=>{const t=un.fromDom(e.getBody());kx(t,"mce-content-readonly",!0),e.selection.controlSelection.hideResizeRect(),e._selectionOverrides.hideFakeCaret(),(e=>{I.from(e.selection.getNode()).each(e=>{e.removeAttribute("data-mce-selected")})})(e)},Rx=e=>{const t=un.fromDom(e.getBody());kx(t,"mce-content-readonly",!1),e.hasEditableRoot()&&xr(t,!0),((e,t)=>{_x(e,"StyleWithCSS",t),_x(e,"enableInlineTableEditing",t),_x(e,"enableObjectResizing",t)})(e,!1),Ap(e)&&e.focus(),(e=>{e.selection.setRng(e.selection.getRng())})(e),e.nodeChanged()},Ax=e=>fu(e),Dx="data-mce-contenteditable",Tx=(e,t)=>{const n=un.fromDom(e.getBody());t?(Nx(e),xr(n,!1),q(Rr(n,'*[contenteditable="true"]'),e=>{vo(e,Dx,"true"),xr(e,!1)})):(q(Rr(n,`*[${Dx}="true"]`),e=>{xo(e,Dx),xr(e,!0)}),Rx(e))},Ox=e=>{e.parser.addAttributeFilter("contenteditable",t=>{Ax(e)&&q(t,e=>{e.attr(Dx,e.attr("contenteditable")),e.attr("contenteditable","false")})}),e.serializer.addAttributeFilter(Dx,t=>{Ax(e)&&q(t,e=>{e.attr("contenteditable",e.attr(Dx))})}),e.serializer.addTempAttr(Dx)},Bx=["copy"],Px=(e,t)=>fr(t,"details",t=>vn(t,un.fromDom(e.getBody()))).isSome(),Lx=e=>"content/"+e+"/content.css",Mx=(e,t)=>{const n=e.editorManager.baseURL+"/skins/content",o=`content${e.editorManager.suffix}.css`;return V(t,t=>(e=>tinymce.Resource.has(Lx(e)))(t)?Lx(t):(e=>/^[a-z0-9\-]+$/i.test(e))(t)&&!e.inline?`${n}/${t}/${o}`:e.documentBaseURI.toAbsolute(t))},Ix=(e,t)=>{const n={};return{findAll:(o,r=M)=>{const s=Y((e=>e?me(e.getElementsByTagName("img")):[])(o),t=>{const n=t.src;return!t.hasAttribute("data-mce-bogus")&&!t.hasAttribute("data-mce-placeholder")&&!(!n||n===sn.transparentSrc)&&(Qe(n,"blob:")?!e.isUploaded(n)&&r(t):!!Qe(n,"data:")&&r(t))}),a=V(s,e=>{const o=e.src;if(_e(n,o))return n[o].then(t=>u(t)?t:{image:e,blobInfo:t.blobInfo});{const r=((e,t)=>{const n=()=>Promise.reject("Invalid data URI");if(Qe(t,"blob:")){const s=e.getByUri(t);return C(s)?Promise.resolve(s):(o=t,Qe(o,"blob:")?(e=>fetch(e).then(e=>e.ok?e.blob():Promise.reject()).catch(()=>Promise.reject({message:`Cannot convert ${e} to Blob. Resource might not exist or is inaccessible.`,uriType:"blob"})))(o):Qe(o,"data:")?(r=o,new Promise((e,t)=>{xC(r).bind(({type:e,data:t,base64Encoded:n})=>_C(e,t,n)).fold(()=>t("Invalid data URI"),e)})):Promise.reject("Unknown URI format")).then(t=>kC(t).then(o=>RC(o,!1,n=>I.some(AC(e,t,n))).getOrThunk(n)))}var o,r;return Qe(t,"data:")?DC(e,t).fold(n,e=>Promise.resolve(e)):Promise.reject("Unknown image data format")})(t,o).then(t=>(delete n[o],{image:e,blobInfo:t})).catch(e=>(delete n[o],e));return n[o]=r,r}});return Promise.all(a)}}},Fx=()=>{let e={};const t=(e,t)=>({status:e,resultUri:t}),n=t=>t in e;return{hasBlobUri:n,getResultUri:t=>{const n=e[t];return n?n.resultUri:null},isPending:t=>!!n(t)&&1===e[t].status,isUploaded:t=>!!n(t)&&2===e[t].status,markPending:n=>{e[n]=t(1,null)},markUploaded:(n,o)=>{e[n]=t(2,o)},removeFailed:t=>{delete e[t]},destroy:()=>{e={}}}};let Ux=0;const zx=(e,t)=>{const n={},o=(e,n)=>new Promise((o,r)=>{const s=new XMLHttpRequest;s.open("POST",t.url),s.withCredentials=t.credentials,s.upload.onprogress=e=>{n(e.loaded/e.total*100)},s.onerror=()=>{r("Image upload failed due to a XHR Transport error. Code: "+s.status)},s.onload=()=>{if(s.status<200||s.status>=300)return void r("HTTP Error: "+s.status);const e=JSON.parse(s.responseText);var n,a;e&&u(e.location)?o((n=t.basePath,a=e.location,n?n.replace(/\/$/,"")+"/"+a.replace(/^\//,""):a)):r("Invalid JSON: "+s.responseText)};const a=new FormData;a.append("file",e.blob(),e.filename()),s.send(a)}),r=w(t.handler)?t.handler:o,s=(e,t)=>({url:t,blobInfo:e,status:!0}),a=(e,t)=>({url:"",blobInfo:e,status:!1,error:t}),i=(e,t)=>{dn.each(n[e],e=>{e(t)}),delete n[e]};return{upload:(l,c)=>t.url||r!==o?((t,o)=>(t=dn.grep(t,t=>!e.isUploaded(t.blobUri())),Promise.all(dn.map(t,t=>e.isPending(t.blobUri())?(e=>{const t=e.blobUri();return new Promise(e=>{n[t]=n[t]||[],n[t].push(e)})})(t):((t,n,o)=>(e.markPending(t.blobUri()),new Promise(r=>{let l,c;try{const d=()=>{l&&(l.close(),c=x)},m=n=>{d();const o=u(n)?n:n.url;e.markUploaded(t.blobUri(),o),i(t.blobUri(),s(t,o)),r(s(t,o))},f=n=>{d(),e.removeFailed(t.blobUri()),i(t.blobUri(),a(t,n)),r(a(t,n))};c=e=>{e<0||e>100||I.from(l).orThunk(()=>I.from(o).map(B)).each(t=>{l=t,t.progressBar.value(e)})},n(t,c).then(m,e=>{f(u(e)?{message:e}:e)})}catch(e){r(a(t,e))}})))(t,r,o)))))(l,c):new Promise(e=>{e([])})}},jx=e=>()=>e.notificationManager.open({text:e.translate("Image uploading..."),type:"info",timeout:-1,progressBar:!0}),$x=(e,t)=>zx(t,{url:Ld(e),basePath:Md(e),credentials:Id(e),handler:Fd(e)}),Hx=e=>{const t=(()=>{let e=[];const t=e=>{if(v(e.blob)||v(e.base64)||""===e.base64&&!e.allowEmptyFile)throw new Error("blob and base64 representations of the image are required for BlobInfo to be created");const t=e.id||"blobid"+Ux+++(()=>{const e=()=>Math.round(4294967295*Be()).toString(36);return"s"+(new Date).getTime().toString(36)+e()+e()+e()})(),n=e.name||t,o=e.blob;var r;return{id:N(t),name:N(n),filename:N(e.filename||n+"."+(r=o.type,{"image/jpeg":"jpg","image/jpg":"jpg","image/gif":"gif","image/png":"png","image/apng":"apng","image/avif":"avif","image/svg+xml":"svg","image/webp":"webp","image/bmp":"bmp","image/tiff":"tiff"}[r.toLowerCase()]||"dat")),blob:N(o),base64:N(e.base64),blobUri:N(e.blobUri||URL.createObjectURL(o)),uri:N(e.uri)}},n=t=>Z(e,t).getOrUndefined(),o=e=>n(t=>t.id()===e);return{create:(e,n,o,r,s)=>{if(u(e))return t({id:e,name:r,filename:s,blob:n,base64:o});if(f(e))return t(e);throw new Error("Unknown input type")},add:t=>{o(t.id())||e.push(t)},get:o,getByUri:e=>n(t=>t.blobUri()===e),getByData:(e,t)=>n(n=>n.base64()===e&&n.blob().type===t),findFirst:n,removeByUri:t=>{e=Y(e,e=>e.blobUri()!==t||(URL.revokeObjectURL(e.blobUri()),!1))},destroy:()=>{q(e,e=>{URL.revokeObjectURL(e.blobUri())}),e=[]}}})();let n,o;const r=Fx(),s=[],a=t=>n=>e.selection?t(n):[],i=(e,t,n)=>{let o=0;do{o=e.indexOf(t,o),-1!==o&&(e=e.substring(0,o)+n+e.substr(o+t.length),o+=n.length-t.length+1)}while(-1!==o);return e},l=(e,t,n)=>{const o=`src="${n}"${n===sn.transparentSrc?' data-mce-placeholder="1"':""}`;return e=i(e,`src="${t}"`,o),i(e,'data-mce-src="'+t+'"','data-mce-src="'+n+'"')},c=(t,n)=>{q(e.undoManager.data,e=>{"fragmented"===e.type?e.fragments=V(e.fragments,e=>l(e,t,n)):e.content=l(e.content,t,n)})},d=()=>(n||(n=$x(e,r)),p().then(a(o=>{const r=V(o,e=>e.blobInfo);return n.upload(r,jx(e)).then(a(n=>{const r=[];let s=!1;const a=V(n,(n,a)=>{const{blobInfo:i,image:l}=o[a];let d=!1;return n.status&&Od(e)?(n.url&&!Xe(l.src,n.url)&&(s=!0),t.removeByUri(l.src),LE(e)||((t,n)=>{const o=e.convertURL(n,"src");var r;c(t.src,n),Co(un.fromDom(t),{src:Td(e)?(r=n,r+(-1===r.indexOf("?")?"?":"&")+(new Date).getTime()):n,"data-mce-src":o})})(l,n.url)):n.error&&(n.error.remove&&(c(l.src,sn.transparentSrc),r.push(l),d=!0),((e,t)=>{ix(e,Ci.translate(["Failed to upload image: {0}",t]))})(e,n.error.message)),{element:l,status:n.status,uploadUri:n.url,blobInfo:i,removed:d}});return r.length>0&&!LE(e)?e.undoManager.transact(()=>{q(Po(r),n=>{const o=Mn(n);Ro(n),o.each((e=>t=>{((e,t)=>e.dom.isEmpty(t.dom)&&C(e.schema.getTextBlockElements()[En(t)]))(e,t)&&go(t,un.fromHtml('
    '))})(e)),t.removeByUri(n.dom.src)})}):s&&e.undoManager.dispatchChange(),a}))}))),m=()=>Dd(e)?d():Promise.resolve([]),g=e=>oe(s,t=>t(e)),p=()=>(o||(o=Ix(r,t)),o.findAll(e.getBody(),g).then(a(t=>{const n=Y(t,t=>u(t)?(ix(e,t),!1):"blob"!==t.uriType);return LE(e)||q(n,e=>{c(e.image.src,e.blobInfo.blobUri()),e.image.src=e.blobInfo.blobUri(),e.image.removeAttribute("data-mce-src")}),n}))),h=n=>n.replace(/src="(blob:[^"]+)"/g,(n,o)=>{const s=r.getResultUri(o);if(s)return'src="'+s+'"';let a=t.getByUri(o);return a||(a=X(e.editorManager.get(),(e,t)=>e||t.editorUpload&&t.editorUpload.blobCache.getByUri(o),void 0)),a?'src="data:'+a.blob().type+";base64,"+a.base64()+'"':n});return e.on("SetContent",()=>{Dd(e)?m():p()}),e.on("RawSaveContent",e=>{e.content=h(e.content)}),e.on("GetContent",e=>{e.source_view||"raw"===e.format||"tree"===e.format||(e.content=h(e.content))}),e.on("PostRender",()=>{e.parser.addNodeFilter("img",e=>{q(e,e=>{const n=e.attr("src");if(!n||t.getByUri(n))return;const o=r.getResultUri(n);o&&e.attr("src",o)})})}),{blobCache:t,addFilter:e=>{s.push(e)},uploadImages:d,uploadImagesAuto:m,scanForImages:p,destroy:()=>{t.destroy(),r.destroy(),o=n=null}}},Vx={remove_similar:!0,inherit:!1},qx={selector:"td,th",...Vx},Wx={tablecellbackgroundcolor:{styles:{backgroundColor:"%value"},...qx},tablecellverticalalign:{styles:{"vertical-align":"%value"},...qx},tablecellbordercolor:{styles:{borderColor:"%value"},...qx},tablecellclass:{classes:["%value"],...qx},tableclass:{selector:"table",classes:["%value"],...Vx},tablecellborderstyle:{styles:{borderStyle:"%value"},...qx},tablecellborderwidth:{styles:{borderWidth:"%value"},...qx}},Kx=N(Wx),Yx=dn.each,Gx=gi.DOM,Xx=e=>C(e)&&f(e),Qx=(e,t)=>{const n=t&&t.schema||Ua({}),o=e=>{const t=u(e)?{name:e,classes:[],attrs:{}}:e,n=Gx.create(t.name);return((e,t)=>{t.classes.length>0&&Gx.addClass(e,t.classes.join(" ")),Gx.setAttribs(e,t.attrs)})(n,t),n},r=(e,t,s)=>{let a;const i=t[0],l=Xx(i)?i.name:void 0,c=((e,t)=>{const o=n.getElementRule(e.nodeName.toLowerCase()),r=o?.parentsRequired;return!(!r||!r.length)&&(t&&$(r,t)?t:r[0])})(e,l);if(c)l===c?(a=i,t=t.slice(1)):a=c;else if(i)a=i,t=t.slice(1);else if(!s)return e;const d=a?o(a):Gx.create("div");d.appendChild(e),s&&dn.each(s,t=>{const n=o(t);d.insertBefore(n,e)});const m=Xx(a)?a.siblings:void 0;return r(d,t,m)},s=Gx.create("div");if(e.length>0){const t=e[0],n=o(t),a=Xx(t)?t.siblings:void 0;s.appendChild(r(n,e.slice(1),a))}return s},Zx=e=>{let t="div";const n={name:t,classes:[],attrs:{},selector:e=dn.trim(e)};return"*"!==e&&(t=e.replace(/(?:([#\.]|::?)([\w\-]+)|(\[)([^\]]+)\]?)/g,(e,t,o,r,s)=>{switch(t){case"#":n.attrs.id=o;break;case".":n.classes.push(o);break;case":":-1!==dn.inArray("checked disabled enabled read-only required".split(" "),o)&&(n.attrs[o]=o)}if("["===r){const e=s.match(/([\w\-]+)(?:\=\"([^\"]+))?/);e&&(n.attrs[e[1]]=e[2])}return""})),n.name=t||"div",n},Jx=(e,t)=>{let n="",o=cm(e);if(""===o)return"";const r=e=>u(e)?e.replace(/%(\w+)/g,""):"",s=(t,n)=>Gx.getStyle(n??e.getBody(),t,!0);if(u(t)){const n=e.formatter.get(t);if(!n)return"";t=n[0]}if("preview"in t){const e=t.preview;if(!1===e)return"";o=e||o}let a,i=t.block||t.inline||"span";const l=(c=t.selector,u(c)?(c=(c=c.split(/\s*,\s*/)[0]).replace(/\s*(~\+|~|\+|>)\s*/g,"$1"),dn.map(c.split(/(?:>|\s+(?![^\[\]]+\]))/),e=>{const t=dn.map(e.split(/(?:~\+|~|\+)/),Zx),n=t.pop();return t.length&&(n.siblings=t),n}).reverse()):[]);var c;l.length>0?(l[0].name||(l[0].name=i),i=t.selector,a=Qx(l,e)):a=Qx([i],e);const d=Gx.select(i,a)[0]||a.firstChild;Yx(t.styles,(e,t)=>{const n=r(e);n&&Gx.setStyle(d,t,n)}),Yx(t.attributes,(e,t)=>{const n=r(e);n&&Gx.setAttrib(d,t,n)}),Yx(t.classes,e=>{const t=r(e);Gx.hasClass(d,t)||Gx.addClass(d,t)}),e.dispatch("PreviewFormats"),Gx.setStyles(a,{position:"absolute",left:-65535}),e.getBody().appendChild(a);const m=s("fontSize"),f=/px$/.test(m)?parseInt(m,10):0;return Yx(o.split(" "),e=>{let t=s(e,d);if(!("background-color"===e&&/transparent|rgba\s*\([^)]+,\s*0\)/.test(t)&&(t=s(e),"#ffffff"===Ya(t).toLowerCase())||"color"===e&&"#000000"===Ya(t).toLowerCase())){if("font-size"===e&&/em|%$/.test(t)){if(0===f)return;t=parseFloat(t)/(/%$/.test(t)?100:1)*f+"px"}"border"===e&&t&&(n+="padding:0 2px;"),n+=e+":"+t+";"}}),e.dispatch("AfterPreviewFormats"),Gx.remove(a),n},e_=e=>{const t=(e=>{const t={},n=(e,o)=>{e&&(u(e)?(p(o)||(o=[o]),q(o,e=>{y(e.deep)&&(e.deep=!Ng(e)),y(e.split)&&(e.split=!Ng(e)||Rg(e)),y(e.remove)&&Ng(e)&&!Rg(e)&&(e.remove="none"),Ng(e)&&Rg(e)&&(e.mixed=!0,e.block_expand=!0),u(e.classes)&&(e.classes=e.classes.split(/\s+/))}),t[e]=o):he(e,(e,t)=>{n(t,e)}))};return n((e=>{const t=e.dom,n=e.schema.type,o={valigntop:[{selector:"td,th",styles:{verticalAlign:"top"}}],valignmiddle:[{selector:"td,th",styles:{verticalAlign:"middle"}}],valignbottom:[{selector:"td,th",styles:{verticalAlign:"bottom"}}],alignleft:[{selector:"figure.image",collapsed:!1,classes:"align-left",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li,pre",styles:{textAlign:"left"},inherit:!1,preview:!1},{selector:"img,audio,video",collapsed:!1,styles:{float:"left"},preview:"font-family font-size"},{selector:".mce-placeholder",styles:{float:"left"},ceFalseOverride:!0},{selector:"table",collapsed:!1,styles:{marginLeft:"0px",marginRight:"auto"},onformat:e=>{t.setStyle(e,"float",null)},preview:"font-family font-size"},{selector:".mce-preview-object,[data-ephox-embed-iri],.tiny-pageembed",ceFalseOverride:!0,styles:{float:"left"}}],aligncenter:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li,pre",styles:{textAlign:"center"},inherit:!1,preview:"font-family font-size"},{selector:"figure.image",collapsed:!1,classes:"align-center",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"img,audio,video",collapsed:!1,styles:{display:"block",marginLeft:"auto",marginRight:"auto"},preview:!1},{selector:".mce-placeholder",styles:{display:"block",marginLeft:"auto",marginRight:"auto"},ceFalseOverride:!0},{selector:"table",collapsed:!1,styles:{marginLeft:"auto",marginRight:"auto"},preview:"font-family font-size"},{selector:".mce-preview-object,.tiny-pageembed",ceFalseOverride:!0,styles:{display:"table",marginLeft:"auto",marginRight:"auto"},preview:!1},{selector:"[data-ephox-embed-iri]",ceFalseOverride:!0,styles:{marginLeft:"auto",marginRight:"auto"},preview:!1}],alignright:[{selector:"figure.image",collapsed:!1,classes:"align-right",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li,pre",styles:{textAlign:"right"},inherit:!1,preview:"font-family font-size"},{selector:"img,audio,video",collapsed:!1,styles:{float:"right"},preview:"font-family font-size"},{selector:".mce-placeholder",styles:{float:"right"},ceFalseOverride:!0},{selector:"table",collapsed:!1,styles:{marginRight:"0px",marginLeft:"auto"},onformat:e=>{t.setStyle(e,"float",null)},preview:"font-family font-size"},{selector:".mce-preview-object,[data-ephox-embed-iri],.tiny-pageembed",ceFalseOverride:!0,styles:{float:"right"},preview:!1}],alignjustify:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li,pre",styles:{textAlign:"justify"},inherit:!1,preview:"font-family font-size"}],bold:[{inline:"strong",remove:"all",preserve_attributes:["class","style"]},{inline:"span",styles:{fontWeight:"bold"}},{inline:"b",remove:"all",preserve_attributes:["class","style"]}],italic:[{inline:"em",remove:"all",preserve_attributes:["class","style"]},{inline:"span",styles:{fontStyle:"italic"}},{inline:"i",remove:"all",preserve_attributes:["class","style"]}],underline:[{inline:"span",styles:{textDecoration:"underline"},exact:!0},{inline:"u",remove:"all",preserve_attributes:["class","style"]}],strikethrough:(()=>{const e={inline:"span",styles:{textDecoration:"line-through"},exact:!0},t={inline:"strike",remove:"all",preserve_attributes:["class","style"]},o={inline:"s",remove:"all",preserve_attributes:["class","style"]};return"html4"!==n?[o,e,t]:[e,o,t]})(),forecolor:{inline:"span",styles:{color:"%value"},links:!0,remove_similar:!0,clear_child_styles:!0},hilitecolor:{inline:"span",styles:{backgroundColor:"%value"},links:!0,remove_similar:!0,clear_child_styles:!0},fontname:{inline:"span",toggle:!1,styles:{fontFamily:"%value"},clear_child_styles:!0},fontsize:{inline:"span",toggle:!1,styles:{fontSize:"%value"},clear_child_styles:!0},lineheight:{selector:"h1,h2,h3,h4,h5,h6,p,li,td,th,div",styles:{lineHeight:"%value"},remove_similar:!0},fontsize_class:{inline:"span",attributes:{class:"%value"}},blockquote:{block:"blockquote",wrapper:!0,remove:"all"},subscript:{inline:"sub"},superscript:{inline:"sup"},code:{inline:"code"},samp:{inline:"samp"},link:{inline:"a",selector:"a",remove:"all",split:!0,deep:!0,onmatch:(e,t,n)=>Xr(e)&&e.hasAttribute("href"),onformat:(e,n,o)=>{dn.each(o,(n,o)=>{t.setAttrib(e,o,n)})}},lang:{inline:"span",clear_child_styles:!0,remove_similar:!0,attributes:{lang:"%value","data-mce-lang":e=>e?.customValue??null}},removeformat:[{selector:"b,strong,em,i,font,u,strike,s,sub,sup,dfn,code,samp,kbd,var,cite,mark,q,del,ins,small",remove:"all",split:!0,expand:!1,block_expand:!0,deep:!0},{selector:"span",attributes:["style","class"],remove:"empty",split:!0,expand:!1,deep:!0},{selector:"*",attributes:["style","class"],split:!1,expand:!1,deep:!0}]};return dn.each("p h1 h2 h3 h4 h5 h6 div address pre dt dd".split(/\s/),e=>{o[e]={block:e,remove:"all"}}),o})(e)),n(Kx()),n(lm(e)),{get:e=>C(e)?t[e]:t,has:e=>_e(t,e),register:n,unregister:e=>(e&&t[e]&&delete t[e],t)}})(e),n=Re({});return(e=>{e.addShortcut("meta+b","","Bold"),e.addShortcut("meta+i","","Italic"),e.addShortcut("meta+u","","Underline");for(let t=1;t<=6;t++)e.addShortcut("access+"+t,"",["FormatBlock",!1,"h"+t]);e.addShortcut("access+7","",["FormatBlock",!1,"p"]),e.addShortcut("access+8","",["FormatBlock",!1,"div"]),e.addShortcut("access+9","",["FormatBlock",!1,"address"])})(e),(e=>{e.on("mouseup keydown",t=>{((e,t)=>{const n=e.selection,o=e.getBody();pv(e,null,!1),8!==t&&46!==t||!n.isCollapsed()||n.getStart().innerHTML!==cv||pv(e,Of(o,n.getStart()),!0),37!==t&&39!==t||pv(e,Of(o,n.getStart()),!0)})(e,t.keyCode)})})(e),LE(e)||((e,t)=>{e.set({}),t.on("NodeChange",n=>{iE(t,n.element,e.get())}),t.on("FormatApply FormatRemove",n=>{const o=I.from(n.node).map(e=>ig(e)?e:e.startContainer).bind(e=>Xr(e)?I.some(e):I.from(e.parentElement)).getOrThunk(()=>rE(t));iE(t,o,e.get())})})(n,e),{get:t.get,has:t.has,register:t.register,unregister:t.unregister,apply:(t,n,o)=>{((e,t,n,o)=>{IE(e).formatter.apply(t,n,o)})(e,t,n,o)},remove:(t,n,o,r)=>{((e,t,n,o,r)=>{IE(e).formatter.remove(t,n,o,r)})(e,t,n,o,r)},toggle:(t,n,o)=>{((e,t,n,o)=>{IE(e).formatter.toggle(t,n,o)})(e,t,n,o)},match:(t,n,o,r)=>((e,t,n,o,r)=>IE(e).formatter.match(t,n,o,r))(e,t,n,o,r),closest:t=>((e,t)=>IE(e).formatter.closest(t))(e,t),matchAll:(t,n)=>((e,t,n)=>IE(e).formatter.matchAll(t,n))(e,t,n),matchNode:(t,n,o,r)=>((e,t,n,o,r)=>IE(e).formatter.matchNode(t,n,o,r))(e,t,n,o,r),canApply:t=>((e,t)=>IE(e).formatter.canApply(t))(e,t),formatChanged:(t,o,r,s)=>((e,t,n,o,r,s)=>IE(e).formatter.formatChanged(t,n,o,r,s))(e,n,t,o,r,s),getCssText:D(Jx,e)}},t_=e=>{switch(e.toLowerCase()){case"undo":case"redo":case"mcefocus":return!0;default:return!1}},n_=e=>{const t=Ke(),n=Re(0),o=Re(0),r={data:[],typing:!1,beforeChange:()=>{((e,t,n)=>{IE(e).undoManager.beforeChange(t,n)})(e,n,t)},add:(s,a)=>((e,t,n,o,r,s,a)=>IE(e).undoManager.add(t,n,o,r,s,a))(e,r,o,n,t,s,a),dispatchChange:()=>{e.setDirty(!0);const t=kE(e);t.bookmark=gc(e.selection),e.dispatch("change",{level:t,lastLevel:le(r.data,o.get()).getOrUndefined()})},undo:()=>((e,t,n,o)=>IE(e).undoManager.undo(t,n,o))(e,r,n,o),redo:()=>((e,t,n)=>IE(e).undoManager.redo(t,n))(e,o,r.data),clear:()=>{((e,t,n)=>{IE(e).undoManager.clear(t,n)})(e,r,o)},reset:()=>{((e,t)=>{IE(e).undoManager.reset(t)})(e,r)},hasUndo:()=>((e,t,n)=>IE(e).undoManager.hasUndo(t,n))(e,r,o),hasRedo:()=>((e,t,n)=>IE(e).undoManager.hasRedo(t,n))(e,r,o),transact:t=>((e,t,n,o)=>IE(e).undoManager.transact(t,n,o))(e,r,n,t),ignore:t=>{((e,t,n)=>{IE(e).undoManager.ignore(t,n)})(e,n,t)},extra:(t,n)=>{((e,t,n,o,r)=>{IE(e).undoManager.extra(t,n,o,r)})(e,r,o,t,n)}};return LE(e)||((e,t,n)=>{const o=Re(!1),r=e=>{OE(t,!1,n),t.add({},e)};e.on("init",()=>{t.add()}),e.on("BeforeExecCommand",e=>{const o=e.command;t_(o)||(BE(t,n),t.beforeChange())}),e.on("ExecCommand",e=>{const t=e.command;t_(t)||r(e)}),e.on("ObjectResizeStart cut",()=>{t.beforeChange()}),e.on("SaveContent ObjectResized blur",r),e.on("dragend",r),e.on("keyup",n=>{const s=n.keyCode;if(n.isDefaultPrevented())return;const a=sn.os.isMacOS()&&"Meta"===n.key;(s>=33&&s<=36||s>=37&&s<=40||45===s||n.ctrlKey||a)&&(r(),e.nodeChanged()),46!==s&&8!==s||e.nodeChanged(),o.get()&&t.typing&&!DE(e.readonly,kE(e),t.data[0])&&(e.isDirty()||e.setDirty(!0),e.dispatch("TypingUndo"),o.set(!1),e.nodeChanged())}),e.on("keydown",e=>{const s=e.keyCode;if(e.isDefaultPrevented())return;if(s>=33&&s<=36||s>=37&&s<=40||45===s)return void(t.typing&&r(e));const a=e.ctrlKey&&!e.altKey||e.metaKey;if((s<16||s>20)&&224!==s&&91!==s&&!t.typing&&!a)return t.beforeChange(),OE(t,!0,n),t.add({},e),void o.set(!0);!(sn.os.isMacOS()?e.metaKey:e.ctrlKey&&!e.altKey)||"Backspace"!==e.key&&"Delete"!==e.key||t.beforeChange()}),e.on("mousedown",e=>{t.typing&&r(e)}),e.on("input",e=>{var t;e.inputType&&("insertReplacementText"===e.inputType||"insertText"===(t=e).inputType&&null===t.data||(e=>"insertFromPaste"===e.inputType||"insertFromDrop"===e.inputType)(e))&&r(e)}),e.on("AddUndo Undo Redo ClearUndos",t=>{t.isDefaultPrevented()||e.nodeChanged()})})(e,r,n),(e=>{e.addShortcut("meta+z","","Undo"),e.addShortcut("meta+y,meta+shift+z","","Redo")})(e),r},o_=[9,27,Tp.HOME,Tp.END,19,20,44,144,145,33,34,45,16,17,18,91,92,93,Tp.DOWN,Tp.UP,Tp.LEFT,Tp.RIGHT].concat(sn.browser.isFirefox()?[224]:[]),r_="data-mce-placeholder",s_=e=>"keydown"===e.type||"keyup"===e.type,a_=e=>{const t=e.keyCode;return t===Tp.BACKSPACE||t===Tp.DELETE},i_=e=>(t,n,o={})=>{const r=t.getBody(),s={bubbles:!0,composed:!0,data:null,isComposing:!1,detail:0,view:null,target:r,currentTarget:r,eventPhase:Event.AT_TARGET,originalTarget:r,explicitOriginalTarget:r,isTrusted:!1,srcElement:r,cancelable:!1,preventDefault:x,inputType:n},a=Qa(new InputEvent(e));return t.dispatch(e,{...a,...s,...o})},l_=i_("input"),c_=i_("beforeinput"),d_=(e,t,n)=>{let o=!0;const r=()=>o=!1;if(c_(e,t?"deleteContentForward":"deleteContentBackward").isDefaultPrevented())return!1;e.on("input",r);try{n()}finally{e.off("input",r)}return o&&e.dispatch("input"),!0},m_=e=>t=>C(t)&&e.test(t.nodeName),u_=e=>C(e)&&3===e.nodeType,f_=e=>C(e)&&1===e.nodeType,g_=m_(/^(OL|UL|DL)$/),p_=m_(/^(OL|UL)$/),h_=m_(/^(LI|DT|DD)$/),b_=m_(/^(DT|DD)$/),y_=m_(/^(TH|TD)$/),v_=e=>C(e)&&"br"===e.nodeName.toLowerCase(),C_=(e,t)=>C(t)&&t.nodeName in e.schema.getTextBlockElements(),w_=(e,t)=>C(e)&&e.nodeName in t,S_=(e,t)=>C(t)&&t.nodeName in e.schema.getVoidElements(),E_=(e,t,n)=>{const o=e.isEmpty(t);return!(n&&e.select("span[data-mce-type=bookmark]",t).length>0)&&o},x_=(e,t)=>e.isChildOf(t,e.getRoot()),__=gi.DOM,k_=(e,t)=>{const n=dn.grep(e.select("ol,ul",t));dn.each(n,t=>{((e,t)=>{const n=t.parentElement;if(n&&"LI"===n.nodeName&&n.firstChild===t){const o=n.previousSibling;o&&"LI"===o.nodeName?(o.appendChild(t),E_(e,n)&&__.remove(n)):__.setStyle(n,"listStyleType","none")}if(g_(n)){const e=n.previousSibling;e&&"LI"===e.nodeName&&e.appendChild(t)}})(e,t)})},N_=(e,t)=>{if(u_(e))return{container:e,offset:t};const n=Gp.getNode(e,t);return u_(n)?{container:n,offset:t>=e.childNodes.length?n.data.length:0}:n.previousSibling&&u_(n.previousSibling)?{container:n.previousSibling,offset:n.previousSibling.data.length}:n.nextSibling&&u_(n.nextSibling)?{container:n.nextSibling,offset:0}:{container:e,offset:t}},R_=e=>{const t=e.cloneRange(),n=N_(e.startContainer,e.startOffset);t.setStart(n.container,n.offset);const o=N_(e.endContainer,e.endOffset);return t.setEnd(o.container,o.offset),t},A_=e=>wn(e,"OL,UL"),D_=e=>wn(e,"LI"),T_=e=>Wn(e).exists(A_),O_=["OL","UL","DL"],B_=O_.join(","),P_=(e,t)=>{const n=t||e.selection.getStart(!0);return e.dom.getParent(n,B_,I_(e,n,e.selection.isCollapsed()))},L_=e=>{const t=e.selection.getSelectedBlocks();return Y(((e,t,n)=>{const o=dn.map(t,t=>e.dom.getParent(t,"li,dd,dt",I_(e,t,n))||t);return fe(o)})(e,t,e.selection.isCollapsed()),h_)},M_=(e,t)=>{const n=e.dom.getParents(t,"TD,TH");return n.length>0?n[0]:e.getBody()},I_=(e,t,n)=>{const o=e.dom.getParents(t,e.dom.isBlock);let r=!(e=>ue(e,e=>D_(un.fromDom(e))?I.some(!0):y_(e)?I.some(!1):I.none()).getOr(!1))(o);const s=Z(o,t=>{return(D_(un.fromDom(a=t))||A_(un.fromDom(a)))&&(r=!0),r&&(!n||(t=>t.nodeName.toLowerCase()!==Ed(e))(t))&&(o=e.schema,!g_(s=t)&&!h_(s)&&H(O_,e=>o.isValidChild(s.nodeName,e)));var o,s,a});return s.getOr(e.getBody())},F_=(e,t)=>{const n=e.dom.getParents(t,"ol,ul",I_(e,t,!0));return de(n)},U_=(e,t)=>{const n=V(t,t=>F_(e,t).getOr(t));return fe(n)},z_=e=>/\btox\-/.test(e.className),j_=(e,t)=>null!==t&&!e.dom.isEditable(t),$_=(e,t)=>{const n=e.dom.getParent(t,"ol,ul,dl");return j_(e,n)||!e.selection.isEditable()},H_=(e,t,n)=>e.dispatch("ListMutation",{action:t,element:n}),V_=(e,t,n={})=>{const o=e.dom,r=e.schema.getBlockElements(),s=o.createFragment(),a=Ed(e),i=xd(e);let l,c,d=!1;for(c=o.create(a,{...i,...n.style?{style:n.style}:{}}),w_(t.firstChild,r)||s.appendChild(c);l=t.firstChild;){const e=l.nodeName;d||"SPAN"===e&&"bookmark"===l.getAttribute("data-mce-type")||(d=!0),w_(l,r)?(s.appendChild(l),c=null):(c||(c=o.create(a,i),s.appendChild(c)),c.appendChild(l))}return!d&&c&&c.appendChild(o.create("br",{"data-mce-bogus":"1"})),s},q_=e=>"listAttributes"in e,W_=e=>"isComment"in e,K_=e=>e.depth>0,Y_=e=>e.isSelected,G_=e=>{const t=Vn(e),n=Kn(e).exists(A_)?t.slice(0,-1):t;return V(n,Oo)},X_=(e,t)=>{go(e.item,t.list)},Q_=(e,t)=>{const n={list:un.fromTag(t,e),item:un.fromTag("li",e)};return go(n.list,n.item),n},Z_=(e,t,n)=>{const o=t.slice(0,n.depth);return de(o).each(t=>{if(q_(n)){const o=((e,t,n)=>{const o=un.fromTag("li",e);return Co(o,t),bo(o,n),o})(e,n.itemAttributes,n.content);((e,t)=>{go(e.list,t),e.item=t})(t,o),((e,t)=>{En(e.list)!==t.listType&&(e.list=Bo(e.list,t.listType)),Co(e.list,t.listAttributes)})(t,n)}else if((e=>"isFragment"in e)(n))bo(t.item,n.content);else{const e=un.fromHtml(`\x3c!--${n.content}--\x3e`);go(t.list,e)}}),o},J_=e=>(q(e,(t,n)=>{((e,t)=>{const n=e[t].depth,o=e=>e.depth===n&&!e.dirty,r=e=>e.depthQ(e.slice(t+1),o,r))})(e,n).fold(()=>{t.dirty&&q_(t)&&(e=>{e.listAttributes=we(e.listAttributes,(e,t)=>"start"!==t)})(t)},e=>{return o=e,void(q_(n=t)&&q_(o)&&(n.listType=o.listType,n.listAttributes={...o.listAttributes}));var n,o})}),e),ek=(e,t,n,o)=>{if(kn(o))return[{depth:e+1,content:o.dom.nodeValue??"",dirty:!1,isSelected:!1,isComment:!0}];t.each(e=>{vn(e.start,o)&&n.set(!0)});const r=((e,t,n)=>Mn(e).filter(Rn).map(o=>({depth:t,dirty:!1,isSelected:n,content:G_(e),itemAttributes:ko(e),listAttributes:ko(o),listType:En(o),isInPreviousLi:!1})))(o,e,n.get());t.each(e=>{vn(e.end,o)&&n.set(!1)});const s=Kn(o).filter(A_).map(o=>nk(e,t,n,o)).getOr([]);return r.toArray().concat(s)},tk=(e,t,n,o)=>Wn(o).filter(A_).fold(()=>ek(e,t,n,o),r=>{const s=X(Vn(o),(o,s,a)=>{if(0===a)return o;if(D_(s))return o.concat(ek(e,t,n,s));{const t={isFragment:!0,depth:e,content:[s],isSelected:!1,dirty:!1,parentListType:En(r)};return o.concat(t)}},[]);return nk(e,t,n,r).concat(s)}),nk=(e,t,n,o)=>ne(Vn(o),o=>(A_(o)?nk:tk)(e+1,t,n,o)),ok=(e,t)=>{const n=J_(t);return((e,t)=>{let n=I.none();const o=X(t,(t,o,r)=>W_(o)?0===r?(n=I.some(o),t):Z_(e,t,o):o.depth>t.length?((e,t,n)=>{const o=((e,t,n)=>{const o=[];for(let r=0;r{for(let t=1;t{for(let t=0;t{q_(t)&&(Co(e.list,t.listAttributes),Co(e.item,t.itemAttributes)),bo(e.item,t.content)})})(o,n),r=o,$e(de(t),ce(r),X_),t.concat(o)})(e,t,o):Z_(e,t,o),[]);return n.each(e=>{const t=un.fromHtml(`\x3c!--${e.content}--\x3e`);ce(o).each(e=>{fo(e.list,t)})}),ce(o).map(e=>e.list)})(e.contentDocument,n).toArray()},rk=(e,t,n)=>{const o=((e,t)=>{const n=Re(!1);return V(e,e=>({sourceList:e,entries:nk(0,t,n,e)}))})(t,(e=>{const t=V(L_(e),un.fromDom);return $e(Z(t,T(T_)),Z(re(t),T(T_)),(e,t)=>({start:e,end:t}))})(e));q(o,t=>{((e,t,n)=>{q(Y(t,Y_),t=>((e,t,n)=>{switch(t){case"Indent":if(!((e,t)=>bu(e).map(e=>e>=t).getOr(!0))(e,n.depth))return;n.depth++;break;case"Outdent":n.depth--;break;case"Flatten":n.depth=0}n.dirty=!0})(e,n,t))})(e,t.entries,n);const o=((e,t)=>ne(((e,t)=>{if(0===e.length)return[];{let n=t(e[0]);const o=[];let r=[];for(let s=0,a=e.length;sce(t).exists(K_)?ok(e,t):((e,t)=>{const n=J_(t);return V(n,t=>{const n=W_(t)?tr([un.fromHtml(`\x3c!--${t.content}--\x3e`)]):tr(t.content),o=q_(t)?t.itemAttributes:{};return un.fromDom(V_(e,n.dom,o))})})(e,t)))(e,t.entries);var r;q(o,t=>{H_(e,"Indent"===n?"IndentList":"OutdentList",t.dom)}),r=t.sourceList,q(o,e=>{mo(r,e)}),Ro(t.sourceList)})},sk=gi.DOM,ak=On("dd"),ik=On("dt"),lk=e=>{ik(e)&&Bo(e,"dd")},ck=(e,t,n)=>{q(n,"Indent"===t?lk:t=>((e,t)=>{ak(t)?Bo(t,"dt"):ik(t)&&In(t).each(n=>((e,t,n)=>{const o=sk.select('span[data-mce-type="bookmark"]',t),r=V_(e,n),s=sk.createRng();s.setStartAfter(n),s.setEndAfter(t);const a=s.extractContents();for(let t=a.firstChild;t;t=t.firstChild)if("LI"===t.nodeName&&e.dom.isEmpty(t)){sk.remove(t);break}e.dom.isEmpty(a)||sk.insertAfter(a,t),sk.insertAfter(r,t);const i=n.parentElement;i&&E_(e.dom,i)&&(e=>{const t=e.parentNode;t&&dn.each(o,e=>{t.insertBefore(e,n.parentNode)}),sk.remove(e)})(i),sk.remove(n),E_(e.dom,t)&&sk.remove(t)})(e,n.dom,t.dom))})(e,t))},dk=(e,t)=>{const n=Po((e=>{const t=(e=>{const t=F_(e,e.selection.getStart()),n=Y(e.selection.getSelectedBlocks(),p_);return t.toArray().concat(n)})(e),n=(e=>{const t=e.selection.getStart();return e.dom.getParents(t,"ol,ul",I_(e,t,e.selection.isCollapsed()))})(e);return Z(n,e=>{return t=un.fromDom(e),Mn(t).exists(e=>h_(e.dom)&&Wn(e).exists(e=>!g_(e.dom))&&Kn(e).exists(e=>!g_(e.dom)));var t}).fold(()=>U_(e,t),e=>[e])})(e)),o=Po((e=>Y(L_(e),b_))(e));let r=!1;if(n.length||o.length){const s=e.selection.getBookmark();rk(e,n,t),ck(e,t,o),e.selection.moveToBookmark(s),e.selection.setRng(R_(e.selection.getRng())),e.nodeChanged(),r=!0}return r},mk=(e,t)=>!(e=>{const t=P_(e);return j_(e,t)||!e.selection.isEditable()})(e)&&dk(e,t),uk=e=>mk(e,"Indent"),fk=e=>mk(e,"Outdent"),gk=e=>mk(e,"Flatten"),pk=e=>{switch(e){case"UL":return"ToggleUlList";case"OL":return"ToggleOlList";case"DL":return"ToggleDLList"}},hk=(e,t)=>{dn.each(t,(t,n)=>{e.setAttribute(n,t)})},bk=(e,t,n)=>{((e,t,n)=>{const o=n["list-style-type"]?n["list-style-type"]:null;e.setStyle(t,"list-style-type",o)})(e,t,n),((e,t,n)=>{hk(t,n["list-attributes"]),dn.each(e.select("li",t),e=>{hk(e,n["list-item-attributes"])})})(e,t,n)},yk=(e,t)=>C(t)&&!w_(t,e.schema.getBlockElements()),vk=(e,t,n,o)=>{let r=t[n?"startContainer":"endContainer"];const s=t[n?"startOffset":"endOffset"];f_(r)&&(r=r.childNodes[Math.min(s,r.childNodes.length-1)]||r),!n&&v_(r.nextSibling)&&(r=r.nextSibling);const a=(t,n)=>{const r=new Kr(t,(t=>{for(;!e.dom.isBlock(t)&&t.parentNode&&o!==t;)t=t.parentNode;return t})(t)),s=n?"next":"prev";let a;for(;a=r[s]();)if(!S_(e,a)&&!mt(a.textContent)&&0!==a.textContent?.length)return I.some(a);return I.none()};if(n&&u_(r))if(mt(r.textContent))r=a(r,!1).getOr(r);else for(null!==r.parentNode&&yk(e,r.parentNode)&&(r=r.parentNode);null!==r.previousSibling&&(yk(e,r.previousSibling)||u_(r.previousSibling));)r=r.previousSibling;if(!n&&u_(r))if(mt(r.textContent))r=a(r,!0).getOr(r);else for(null!==r.parentNode&&yk(e,r.parentNode)&&(r=r.parentNode);null!==r.nextSibling&&(yk(e,r.nextSibling)||u_(r.nextSibling));)r=r.nextSibling;for(;r.parentNode!==o;){const t=r.parentNode;if(C_(e,r))return r;if(/^(TD|TH)$/.test(t.nodeName))return r;r=t}return r},Ck=(e,t,n)=>{const o=e.selection.getRng();let r="LI";const s=I_(e,((e,t)=>{const n=e.selection.getStart(!0),o=vk(e,t,!0,e.getBody());return r=un.fromDom(o),s=un.fromDom(t.commonAncestorContainer),Ar(r,D(vn,s))?t.commonAncestorContainer:n;var r,s})(e,o),o.collapsed),a=e.dom;if("false"===a.getContentEditable(e.selection.getNode()))return;"DL"===(t=t.toUpperCase())&&(r="DT");const i=Xy(o),l=Y(((e,t,n)=>{const o=[],r=e.dom,s=vk(e,t,!0,n),a=vk(e,t,!1,n);let i;const l=[];for(let e=s;e&&(l.push(e),e!==a);e=e.nextSibling);return dn.each(l,t=>{if(C_(e,t))return o.push(t),void(i=null);if(r.isBlock(t)||v_(t))return v_(t)&&r.remove(t),void(i=null);const s=t.nextSibling;ip.isBookmarkNode(t)&&(g_(s)||C_(e,s)||!s&&t.parentNode===n)?i=null:(i||(i=r.create("p"),t.parentNode?.insertBefore(i,t),o.push(i)),i.appendChild(t))}),o})(e,o,s),e.dom.isEditable);dn.each(l,o=>{let s;const i=o.previousSibling,l=o.parentNode;h_(l)||(i&&g_(i)&&i.nodeName===t&&((e,t,n)=>{const o=e.getStyle(t,"list-style-type");let r=n?n["list-style-type"]:"";return r=null===r?"":r,o===r})(a,i,n)?(s=i,o=a.rename(o,r),i.appendChild(o)):(s=a.create(t),l.insertBefore(s,o),s.appendChild(o),o=a.rename(o,r)),((e,t)=>{dn.each(["margin","margin-right","margin-bottom","margin-left","margin-top","padding","padding-right","padding-bottom","padding-left","padding-top"],n=>e.setStyle(t,n,""))})(a,o),bk(a,s,n),Sk(e.dom,s))}),e.selection.setRng(Qy(i))},wk=(e,t,n)=>{return((e,t)=>g_(e)&&e.nodeName===t?.nodeName)(t,n)&&((e,t,n)=>e.getStyle(t,"list-style-type",!0)===e.getStyle(n,"list-style-type",!0))(e,t,n)&&(o=n,t.className===o.className);var o},Sk=(e,t)=>{let n,o=t.nextSibling;if(wk(e,t,o)){const r=o;for(;n=r.firstChild;)t.appendChild(n);e.remove(r)}if(o=t.previousSibling,wk(e,t,o)){const r=o;for(;n=r.lastChild;)t.insertBefore(n,t.firstChild);e.remove(r)}},Ek=(e,t,n,o)=>{if(t.nodeName!==n){const r=e.dom.rename(t,n);bk(e.dom,r,o),H_(e,pk(n),r)}else bk(e.dom,t,o),H_(e,pk(n),t)},xk=(e,t,n,o)=>{if(t.classList.forEach((e,n,o)=>{e.startsWith("tox-")&&(o.remove(e),0===o.length&&t.removeAttribute("class"))}),t.nodeName!==n){const r=e.dom.rename(t,n);bk(e.dom,r,o),H_(e,pk(n),r)}else bk(e.dom,t,o),H_(e,pk(n),t)},_k=e=>"list-style-type"in e,kk=(e,t,n)=>{const o=P_(e);if($_(e,o))return;const r=(e=>{const t=P_(e),n=e.selection.getSelectedBlocks();return((e,t)=>C(e)&&1===t.length&&t[0]===e)(t,n)?(e=>Y(e.querySelectorAll(B_),g_))(t):Y(n,e=>g_(e)&&t!==e)})(e),s=f(n)?n:{};r.length>0?((e,t,n,o,r)=>{const s=g_(t);if(!s||t.nodeName!==o||_k(r)||z_(t)){Ck(e,o,r);const a=Xy(e.selection.getRng()),i=s?[t,...n]:n,l=s&&z_(t)?xk:Ek;dn.each(i,t=>{l(e,t,o,r)}),e.selection.setRng(Qy(a))}else gk(e)})(e,o,r,t,s):((e,t,n,o)=>{if(t!==e.getBody())if(t)if(t.nodeName!==n||_k(o)||z_(t)){const r=Xy(e.selection.getRng());z_(t)&&t.classList.forEach((e,n,o)=>{e.startsWith("tox-")&&(o.remove(e),0===o.length&&t.removeAttribute("class"))}),bk(e.dom,t,o);const s=e.dom.rename(t,n);Sk(e.dom,s),e.selection.setRng(Qy(r)),Ck(e,n,o),H_(e,pk(n),s)}else gk(e);else Ck(e,n,o),H_(e,pk(n),t)})(e,o,t,s),(e=>{q(L_(e),t=>{const n=e.dom.getStyle(t,"list-style-type");C(n)&&"none"!==n&&e.dom.setStyle(t,"list-style-type","")})})(e)},Nk=(e,t,n,o)=>{let r=t.startContainer;const s=t.startOffset;if(u_(r)&&(n?s0))return r;const a=e.schema.getNonEmptyElements();f_(r)&&(r=Gp.getNode(r,s));const i=new Kr(r,o);n&&((e,t)=>!!v_(t)&&e.isBlock(t.nextSibling)&&!v_(t.previousSibling))(e.dom,r)&&i.next();const l=n?i.next.bind(i):i.prev2.bind(i);for(;r=l();){if("LI"===r.nodeName&&!r.hasChildNodes())return r;if(a[r.nodeName])return r;if(u_(r)&&r.data.length>0)return r}return null},Rk=(e,t)=>{const n=t.childNodes;return 1===n.length&&!g_(n[0])&&e.isBlock(n[0])},Ak=(e,t,n)=>{let o;const r=Rk(e,n)?n.firstChild:n;if(((e,t)=>{var n;Rk(e,t)&&(n=t.firstChild,I.from(n).map(un.fromDom).filter(Nn).exists(e=>Sr(e)&&!$(["details"],En(e))))&&e.remove(t.firstChild,!0)})(e,t),!E_(e,t,!0))for(;o=t.firstChild;)r.appendChild(o)},Dk=(e,t,n)=>{let o;const r=t.parentNode;if(!x_(e,t)||!x_(e,n))return;g_(n.lastChild)&&(o=n.lastChild),r===n.lastChild&&v_(r.previousSibling)&&e.remove(r.previousSibling);const s=n.lastChild;s&&v_(s)&&t.hasChildNodes()&&e.remove(s),E_(e,n,!0)&&No(un.fromDom(n)),Ak(e,t,n),o&&n.appendChild(o);const a=Cn(un.fromDom(n),un.fromDom(t))?e.getParents(t,g_,n):[];e.remove(t),q(a,t=>{E_(e,t)&&t!==e.getRoot()&&e.remove(t)})},Tk=(e,t)=>{const n=e.dom,o=e.selection,r=o.getStart(),s=M_(e,r),a=n.getParent(o.getStart(),"LI",s);if(a){const r=a.parentElement;if(r===e.getBody()&&E_(n,r))return!0;const i=R_(o.getRng()),l=n.getParent(Nk(e,i,t,s),"LI",s),c=l&&(t?n.isChildOf(a,l):n.isChildOf(l,a));if(l&&l!==a&&!c)return e.undoManager.transact(()=>{var n;t?((e,t,n,o)=>{const r=e.dom;if(r.isEmpty(o))((e,t,n)=>{No(un.fromDom(n)),Dk(e.dom,t,n),e.selection.setCursorLocation(n,0)})(e,n,o);else{const s=Xy(t);Dk(r,n,o),e.selection.setRng(Qy(s))}})(e,i,l,a):(n=a,n.parentNode?.firstChild===n?fk(e):((e,t,n,o)=>{const r=Xy(t);Dk(e.dom,n,o);const s=Qy(r);e.selection.setRng(s)})(e,i,a,l))}),!0;if(c&&!t&&l!==a){const t=i.commonAncestorContainer.parentElement;return!(!t||n.isChildOf(l,t)||(e.undoManager.transact(()=>{const o=Xy(i);Ak(n,t,l),t.remove();const r=Qy(o);e.selection.setRng(r)}),0))}if(!l&&!t&&0===i.startOffset&&0===i.endOffset)return e.undoManager.transact(()=>{gk(e)}),!0}return!1},Ok=e=>{const t=e.selection.getStart(),n=M_(e,t),o=e.dom.getParent(t,"LI,DT,DD",n);return C(o)||L_(e).length>0},Bk=(e,t)=>{const n=e.selection;return!$_(e,n.getNode())&&(n.isCollapsed()?((e,t)=>Tk(e,t)||((e,t)=>{const n=e.dom,o=e.selection.getStart(),r=M_(e,o),s=n.getParent(o,n.isBlock,r);if(s&&n.isEmpty(s,void 0,{checkRootAsContent:!0})){const o=R_(e.selection.getRng()),a=Nk(e,o,t,r),i=n.getParent(a,"LI",r);if(a&&i&&(t||!n.isChildOf(a,s))){const l=e=>$(["td","th","caption"],En(e)),c=e=>e.dom===r,d=lr(un.fromDom(i),l,c),m=lr(un.fromDom(o.startContainer),l,c);return!!je(d,m,vn)&&(e.undoManager.transact(()=>{const o=i.parentNode;((e,t,n)=>{const o=e.getParent(t.parentNode,e.isBlock,n);e.remove(t),o&&e.isEmpty(o)&&e.remove(o)})(n,s,r),Sk(n,o),e.selection.select(a,!0),e.selection.collapse(t)}),!0)}}return!1})(e,t))(e,t):((e,t)=>!!Ok(e)&&(e.undoManager.transact(()=>{d_(e,t,()=>e.execCommand("Delete"))&&k_(e.dom,e.getBody())}),!0))(e,t))},Pk=(e,t)=>({from:e,to:t}),Lk=(e,t)=>{const n=un.fromDom(e),o=un.fromDom(t.container());return cy(n,o).map(e=>((e,t)=>({block:e,position:t}))(e,t))},Mk=(e,t)=>lr(t,e=>Hi(e)||gs(e.dom),t=>vn(t,e)).filter(Rn).getOr(e),Ik=(e,t)=>{const n=((e,t)=>{const n=Vn(e);return J(n,e=>t.isBlock(En(e))).fold(N(n),e=>n.slice(0,e))})(e,t);return q(n,Ro),n},Fk=(e,t,n)=>{const o=mb(n,t);return Z(o.reverse(),t=>Ls(e,t)).each(Ro)},Uk=(e,t,n,o,r)=>{if(Ls(o,n))return Wi(n),Rf(n.dom);((e,t)=>0===Y($n(t),t=>!Ls(e,t)).length)(o,r)&&Ls(o,t)&&mo(r,un.fromTag("br"));const s=Nf(n.dom,Kl.before(r.dom));return q(Ik(t,o),e=>{mo(r,e)}),Fk(o,e,t),s},zk=(e,t,n,o)=>{if(Ls(o,n)){if(Ls(o,t)){const e=e=>{const t=(e,n)=>Wn(e).fold(()=>n,e=>((e,t)=>e.isInline(En(t)))(o,e)?t(e,n.concat(To(e))):n);return t(e,[])},r=G(e(n),(e,t)=>(po(e,t),t),qi());No(t),go(t,r)}return Ro(n),Rf(t.dom)}const r=Af(n.dom);return q(Ik(t,o),e=>{go(n,e)}),Fk(o,e,t),r},jk=(e,t)=>{_f(e,t.dom).bind(e=>I.from(e.getNode())).map(un.fromDom).filter(Mi).each(Ro)},$k=(e,t,n,o)=>(jk(!0,t),jk(!1,n),((e,t)=>Cn(t,e)?((e,t)=>{const n=mb(t,e);return I.from(n[n.length-1])})(t,e):I.none())(t,n).fold(D(zk,e,t,n,o),D(Uk,e,t,n,o))),Hk=(e,t,n,o,r)=>t?$k(e,o,n,r):$k(e,n,o,r),Vk=(e,t)=>{const n=un.fromDom(e.getBody()),o=((e,t,n,o)=>o.collapsed?((e,t,n,o)=>{const r=Lk(t,Kl.fromRangeStart(o)),s=r.bind(o=>Sf(n,t,o.position).bind(o=>Lk(t,o).map(o=>((e,t,n,o)=>ms(o.position.getNode())&&!Ls(e,o.block)?_f(!1,o.block.dom).bind(e=>e.isEqual(o.position)?Sf(n,t,e).bind(e=>Lk(t,e)):I.some(o)).getOr(o):o)(e,t,n,o))));return $e(r,s,Pk).filter(e=>(e=>!vn(e.from.block,e.to.block))(e)&&((e,t)=>{const n=un.fromDom(e);return vn(Mk(n,t.from.block),Mk(n,t.to.block))})(t,e)&&(e=>!1===ps(e.from.block.dom)&&!1===ps(e.to.block.dom))(e)&&(e=>{const t=e=>Ui(e)||Gs(e.dom)||ji(e);return t(e.from.block)&&t(e.to.block)})(e)&&(e=>!(Cn(e.to.block,e.from.block)||Cn(e.from.block,e.to.block)))(e))})(e,t,n,o):I.none())(e.schema,n.dom,t,e.selection.getRng()).map(o=>()=>{Hk(n,t,o.from.block,o.to.block,e.schema).each(t=>{e.selection.setRng(t.toRange())})});return o},qk=(e,t)=>{const n=un.fromDom(t),o=D(vn,e);return ir(n,Hi,o).isSome()},Wk=e=>{const t=un.fromDom(e.getBody());return((e,t)=>{const n=Nf(e.dom,Kl.fromRangeStart(t)).isNone(),o=kf(e.dom,Kl.fromRangeEnd(t)).isNone();return!((e,t)=>qk(e,t.startContainer)||qk(e,t.endContainer))(e,t)&&n&&o})(t,e.selection.getRng())?(e=>I.some(()=>{e.setContent(""),e.selection.setCursorLocation()}))(e):((e,t,n)=>{const o=t.getRng();return $e(cy(e,un.fromDom(o.startContainer)),cy(e,un.fromDom(o.endContainer)),(r,s)=>vn(r,s)?I.none():I.some(()=>{o.deleteContents(),Hk(e,!0,r,s,n).each(e=>{t.setRng(e.toRange())})})).getOr(I.none())})(t,e.selection,e.schema)},Kk=(e,t)=>e.selection.isCollapsed()?I.none():Wk(e),Yk=(e,t,n,o,r)=>I.from(t._selectionOverrides.showCaret(e,n,o,r)),Gk=(e,t)=>e.dispatch("BeforeObjectSelected",{target:t}).isDefaultPrevented()?I.none():I.some((e=>{const t=e.ownerDocument.createRange();return t.selectNode(e),t})(t)),Xk=(e,t,n)=>t.collapsed?((e,t,n)=>{const o=tf(1,e.getBody(),t),r=Kl.fromRangeStart(o),s=r.getNode();if(Ou(s))return Yk(1,e,s,!r.isAtEnd(),!1);const a=r.getNode(!0);if(Ou(a))return Yk(1,e,a,!1,!1);const i=zy(e.dom.getRoot(),r.getNode());return Ou(i)?Yk(1,e,i,!1,n):I.none()})(e,t,n).getOr(t):t,Qk=e=>lb(e)||rb(e),Zk=e=>cb(e)||sb(e),Jk=(e,t,n,o,r,s)=>{Yk(o,e,s.getNode(!r),r,!0).each(n=>{if(t.collapsed){const e=t.cloneRange();r?e.setEnd(n.startContainer,n.startOffset):e.setStart(n.endContainer,n.endOffset),e.deleteContents()}else t.deleteContents();e.selection.setRng(n)}),((e,t)=>{ss(t)&&0===t.data.length&&e.remove(t)})(e.dom,n)},eN=(e,t)=>((e,t)=>{const n=e.selection.getRng();if(!ss(n.commonAncestorContainer))return I.none();const o=t?1:-1,r=yf(e.getBody()),s=D(sf,t?r.next:r.prev),a=t?Qk:Zk,i=of(o,e.getBody(),n),l=s(i),c=l?ny(t,l):l;if(!c||!af(i,c))return I.none();if(a(c))return I.some(()=>Jk(e,n,i.getNode(),o,t,c));const d=s(c);return d&&a(d)&&af(c,d)?I.some(()=>Jk(e,n,i.getNode(),o,t,d)):I.none()})(e,t),tN=(e,t)=>{const n=e.getBody();return t?Rf(n).filter(lb):Af(n).filter(cb)},nN=e=>{const t=e.selection.getRng();return!t.collapsed&&(tN(e,!0).exists(e=>e.isEqual(Kl.fromRangeStart(t)))||tN(e,!1).exists(e=>e.isEqual(Kl.fromRangeEnd(t))))},oN=Ne([{remove:["element"]},{moveToElement:["element"]},{moveToPosition:["position"]}]),rN=(e,t,n,o)=>Sf(t,e,n).bind(r=>{return s=r.getNode(),C(s)&&(Hi(un.fromDom(s))||ji(un.fromDom(s)))||((e,t,n,o,r)=>{const s=t=>r.isInline(t.nodeName.toLowerCase())&&!Yu(n,o,e);return nf(!t,n).fold(()=>nf(t,o).fold(L,s),s)})(e,t,n,r,o)?I.none():t&&ps(r.getNode())||!t&&ps(r.getNode(!0))?((e,t,n,o,r)=>{const s=r.getNode(!n);return cy(un.fromDom(t),un.fromDom(o.getNode())).map(t=>Ls(e,t)?oN.remove(t.dom):oN.moveToElement(s)).orThunk(()=>I.some(oN.moveToElement(s)))})(o,e,t,n,r):t&&cb(n)||!t&&lb(n)?I.some(oN.moveToPosition(r)):I.none();var s}),sN=(e,t)=>I.from(zy(e.getBody(),t)),aN=(e,t)=>{const n=e.selection.getNode();return sN(e,n).filter(ps).fold(()=>((e,t,n,o)=>{const r=tf(t?1:-1,e,n),s=Kl.fromRangeStart(r),a=un.fromDom(e);return!t&&cb(s)?I.some(oN.remove(s.getNode(!0))):t&&lb(s)?I.some(oN.remove(s.getNode())):!t&&lb(s)&&Eb(a,s,o)?xb(a,s,o).map(e=>oN.remove(e.getNode())):t&&cb(s)&&Sb(a,s,o)?_b(a,s,o).map(e=>oN.remove(e.getNode())):((e,t,n,o)=>((e,t)=>{const n=t.getNode(!e),o=e?"after":"before";return Xr(n)&&n.getAttribute("data-mce-caret")===o})(t,n)?((e,t)=>v(t)?I.none():e&&ps(t.nextSibling)?I.some(oN.moveToElement(t.nextSibling)):!e&&ps(t.previousSibling)?I.some(oN.moveToElement(t.previousSibling)):I.none())(t,n.getNode(!t)).orThunk(()=>rN(e,t,n,o)):rN(e,t,n,o).bind(t=>((e,t,n)=>n.fold(e=>I.some(oN.remove(e)),e=>I.some(oN.moveToElement(e)),n=>Yu(t,n,e)?I.none():I.some(oN.moveToPosition(n))))(e,n,t)))(e,t,s,o)})(e.getBody(),t,e.selection.getRng(),e.schema).map(n=>()=>n.fold(((e,t)=>n=>(e._selectionOverrides.hideFakeCaret(),Qb(e,t,un.fromDom(n)),!0))(e,t),((e,t)=>n=>{const o=t?Kl.before(n):Kl.after(n);return e.selection.setRng(o.toRange()),!0})(e,t),(e=>t=>(e.selection.setRng(t.toRange()),!0))(e))),()=>I.some(x))},iN=e=>{const t=e.dom,n=e.selection,o=zy(e.getBody(),n.getNode());if(gs(o)&&t.isBlock(o)&&t.isEmpty(o)){const e=t.create("br",{"data-mce-bogus":"1"});t.setHTML(o,""),o.appendChild(e),n.setRng(Kl.before(e).toRange())}return!0},lN=(e,t)=>e.selection.isCollapsed()?aN(e,t):((e,t)=>{const n=e.selection.getNode();return ps(n)&&!bs(n)?sN(e,n.parentNode).filter(ps).fold(()=>I.some(()=>{var n;n=un.fromDom(e.getBody()),q(Rr(n,".mce-offscreen-selection"),Ro),Qb(e,t,un.fromDom(e.selection.getNode())),dy(e)}),()=>I.some(x)):nN(e)?I.some(()=>{fy(e,e.selection.getRng(),un.fromDom(e.getBody()))}):I.none()})(e,t),cN=(e,t)=>{const n=e.dom,o=n.getParent(e.selection.getStart(),n.isBlock),r=n.getParent(e.selection.getEnd(),n.isBlock),s=e.getBody(),a=o?.nodeName?.toLowerCase();if("div"===a&&o&&r&&o===s.firstChild&&r===s.lastChild&&!n.isEmpty(s)){const n=o.cloneNode(!1),r=()=>{if(t?iy(e):ay(e),s.firstChild!==o){const t=Xy(e.selection.getRng(),()=>document.createElement("span"));Array.from(s.childNodes).forEach(e=>n.appendChild(e)),s.appendChild(n),e.selection.setRng(Qy(t))}};return I.some(r)}return I.none()},dN=(e,t)=>e.selection.isCollapsed()?((e,t)=>{const n=Kl.fromRangeStart(e.selection.getRng());return Sf(t,e.getBody(),n).filter(e=>t?nb(e):ob(e)).bind(e=>Gu(t?0:-1,e)).map(t=>()=>e.selection.select(t))})(e,t):I.none(),mN=ss,uN=e=>mN(e)&&e.data[0]===Ki,fN=e=>mN(e)&&e.data[e.data.length-1]===Ki,gN=e=>(e.ownerDocument??document).createTextNode(Ki),pN=(e,t)=>e?(e=>{if(mN(e.previousSibling))return fN(e.previousSibling)||e.previousSibling.appendData(Ki),e.previousSibling;if(mN(e))return uN(e)||e.insertData(0,Ki),e;{const t=gN(e);return e.parentNode?.insertBefore(t,e),t}})(t):(e=>{if(mN(e.nextSibling))return uN(e.nextSibling)||e.nextSibling.insertData(0,Ki),e.nextSibling;if(mN(e))return fN(e)||e.appendData(Ki),e;{const t=gN(e);return e.nextSibling?e.parentNode?.insertBefore(t,e.nextSibling):e.parentNode?.appendChild(t),t}})(t),hN=D(pN,!0),bN=D(pN,!1),yN=(e,t)=>ss(e.container())?pN(t,e.container()):pN(t,e.getNode()),vN=(e,t)=>{const n=t.get();return n&&e.container()===n&&Ji(n)},CN=(e,t)=>t.fold(t=>{_u(e.get());const n=hN(t);return e.set(n),I.some(Kl(n,n.length-1))},t=>Rf(t).map(t=>{if(vN(t,e)){const t=e.get();return Kl(t,1)}{_u(e.get());const n=yN(t,!0);return e.set(n),Kl(n,1)}}),t=>Af(t).map(t=>{if(vN(t,e)){const t=e.get();return Kl(t,t.length-1)}{_u(e.get());const n=yN(t,!1);return e.set(n),Kl(n,n.length-1)}}),t=>{_u(e.get());const n=bN(t);return e.set(n),I.some(Kl(n,1))}),wN=(e,t)=>{for(let n=0;nKu(t,e)||e,xN=(e,t,n)=>{const o=oy(n),r=EN(t,o.container());return ty(e,r,o).fold(()=>kf(r,o).bind(D(ty,e,r)).map(e=>SN.before(e)),I.none)},_N=(e,t)=>null===Of(e,t),kN=(e,t,n)=>ty(e,t,n).filter(D(_N,t)),NN=(e,t,n)=>{const o=ry(n);return kN(e,t,o).bind(e=>Nf(e,o).isNone()?I.some(SN.start(e)):I.none())},RN=(e,t,n)=>{const o=oy(n);return kN(e,t,o).bind(e=>kf(e,o).isNone()?I.some(SN.end(e)):I.none())},AN=(e,t,n)=>{const o=ry(n),r=EN(t,o.container());return ty(e,r,o).fold(()=>Nf(r,o).bind(D(ty,e,r)).map(e=>SN.after(e)),I.none)},DN=e=>!ey(ON(e)),TN=(e,t,n)=>wN([xN,NN,RN,AN],[e,t,n]).filter(DN),ON=e=>e.fold(R,R,R,R),BN=e=>e.fold(N("before"),N("start"),N("end"),N("after")),PN=e=>e.fold(SN.before,SN.before,SN.after,SN.after),LN=e=>e.fold(SN.start,SN.start,SN.end,SN.end),MN=(e,t,n,o,r,s)=>$e(ty(t,n,o),ty(t,n,r),(t,o)=>t!==o&&((e,t,n)=>{const o=Ku(t,e),r=Ku(n,e);return C(o)&&o===r})(n,t,o)?SN.after(e?t:o):s).getOr(s),IN=(e,t)=>e.fold(M,e=>{return o=t,!(BN(n=e)===BN(o)&&ON(n)===ON(o));var n,o}),FN=(e,t)=>e?t.fold(_(I.some,SN.start),I.none,_(I.some,SN.after),I.none):t.fold(I.none,_(I.some,SN.before),I.none,_(I.some,SN.end)),UN=(e,t,n)=>{const o=e?1:-1;return t.setRng(Kl(n.container(),n.offset()+o).toRange()),t.getSel().modify("move",e?"forward":"backward","word"),!0};var zN;!function(e){e[e.Br=0]="Br",e[e.Block=1]="Block",e[e.Wrap=2]="Wrap",e[e.Eol=3]="Eol"}(zN||(zN={}));const jN=(e,t)=>-1===e?re(t):t,$N=(e,t,n)=>1===e?t.next(n):t.prev(n),HN=(e,t,n,o)=>ms(o.getNode(1===t))?zN.Br:!1===Yu(n,o)?zN.Block:zN.Wrap,VN=(e,t,n,o)=>{const r=yf(n);let s=o;const a=[];for(;s;){const n=$N(t,r,s);if(!n)break;if(ms(n.getNode(!1)))return 1===t?{positions:jN(t,a).concat([n]),breakType:zN.Br,breakAt:I.some(n)}:{positions:jN(t,a),breakType:zN.Br,breakAt:I.some(n)};if(n.isVisible()){if(e(s,n)){const e=HN(0,t,s,n);return{positions:jN(t,a),breakType:e,breakAt:I.some(n)}}a.push(n),s=n}else s=n}return{positions:jN(t,a),breakType:zN.Eol,breakAt:I.none()}},qN=(e,t,n,o)=>t(n,o).breakAt.map(o=>{const r=t(n,o).positions;return-1===e?r.concat(o):[o].concat(r)}).getOr([]),WN=(e,t)=>X(e,(e,n)=>e.fold(()=>I.some(n),o=>$e(ce(o.getClientRects()),ce(n.getClientRects()),(e,r)=>{const s=Math.abs(t-e.left);return Math.abs(t-r.left)<=s?n:o}).or(e)),I.none()),KN=(e,t)=>ce(t.getClientRects()).bind(t=>WN(e,t.left)),YN=D(VN,Kl.isAbove,-1),GN=D(VN,Kl.isBelow,1),XN=D(qN,-1,YN),QN=D(qN,1,GN),ZN=(e,t)=>YN(e,t).breakAt.isNone(),JN=(e,t)=>GN(e,t).breakAt.isNone(),eR=(e,t)=>KN(XN(e,t),t),tR=(e,t)=>KN(QN(e,t),t),nR=ps,oR=(e,t)=>Math.abs(e.left-t),rR=(e,t)=>Math.abs(e.right-t),sR=(e,t)=>yt(e,(e,n)=>{const o=Math.min(oR(e,t),rR(e,t)),r=Math.min(oR(n,t),rR(n,t));return r===o&&ke(n,"node")&&nR(n.node)||r{const t=t=>V(t,t=>{const n=cl(t);return n.node=e,n});if(Xr(e))return t(e.getClientRects());if(ss(e)){const n=e.ownerDocument.createRange();return n.setStart(e,0),n.setEnd(e,e.data.length),t(n.getClientRects())}return[]},iR=e=>ne(e,aR);var lR;!function(e){e[e.Up=-1]="Up",e[e.Down=1]="Down"}(lR||(lR={}));const cR=(e,t,n,o,r,s)=>{let a=0;const i=[],l=o=>{let s=iR([o]);e===lR.Up&&(s=s.reverse());for(let e=0;e0&&t(o,Ct(i))&&a++,o.line=a,r(o))return!0;i.push(o)}}return!1},c=Ct(s.getClientRects());if(!c)return i;const d=s.getNode();return d&&(l(d),((e,t,n,o)=>{let r=o;for(;r=Vu(r,e,Al,t);)if(n(r))return})(e,o,l,d)),i},dR=D(cR,lR.Up,ul,fl),mR=D(cR,lR.Down,fl,ul),uR=e=>Ct(e.getClientRects()),fR=e=>t=>((e,t)=>t.line>e)(e,t),gR=e=>t=>((e,t)=>t.line===e)(e,t),pR=(e,t)=>{e.selection.setRng(t),fh(e,e.selection.getRng())},hR=(e,t,n)=>I.some(Xk(e,t,n)),bR=(e,t)=>{const n=e.getNode(-1===t);return C(n)&&qu(n)?I.some(n):I.none()},yR=(e,t)=>{const n=e.dom.createRng();return n.selectNode(t),n},vR=(e,t,n,o,r,s)=>{const a=1===t,i=yf(e.getBody()),l=D(sf,a?i.next:i.prev),c=a?o:r;if(!n.collapsed){const o=pl(n);if(s(o)){if(qu(o)){const o=of(t,e.getBody(),n);return I.from(l(o)).map(e=>e.toRange())}return Yk(t,e,o,-1===t,!1)}if(nN(e)){const e=n.cloneRange();return e.collapse(-1===t),I.from(e)}}const d=of(t,e.getBody(),n);if(c(d))return Gk(e,d.getNode(!a));let m=l(d);const u=il(n);if(!m)return u?I.some(n):I.none();if(m=ny(a,m),c(m))return bR(m,t).fold(()=>Yk(t,e,m?.getNode(!a),a,!1),t=>I.some(yR(e,t)));const f=l(m);return f&&c(f)&&af(m,f)?bR(m,t).fold(()=>Yk(t,e,f.getNode(!a),a,!1),t=>I.some(yR(e,t))):u?hR(e,m.toRange(),!1):I.none()},CR=(e,t,n,o,r,s)=>{const a=of(t,e.getBody(),n),i=Ct(a.getClientRects()),l=t===lR.Down,c=e.getBody();if(!i)return I.none();if(nN(e)){const e=l?Kl.fromRangeEnd(n):Kl.fromRangeStart(n);return(l?tR:eR)(c,e).orThunk(()=>I.from(e)).map(e=>e.toRange())}const d=(l?mR:dR)(c,fR(1),a),m=Y(d,gR(1)),u=i.left,f=sR(m,u);if(f&&s(f.node)){const n=Math.abs(u-f.left),o=Math.abs(u-f.right);return Yk(t,e,f.node,n{const r=yf(t);let s,a,i,l;const c=[];let d=0;e===lR.Down?(s=r.next,a=fl,i=ul,l=Kl.after(o)):(s=r.prev,a=ul,i=fl,l=Kl.before(o));const m=uR(l);do{if(!l.isVisible())continue;const e=uR(l);if(i(e,m))continue;c.length>0&&a(e,Ct(c))&&d++;const t=cl(e);if(t.position=l,t.line=d,n(t))return c;c.push(t)}while(l=s(l));return c})(t,c,fR(1),g);let o=sR(Y(n,gR(1)),u);if(o)return hR(e,o.position.toRange(),!1);if(o=Ct(Y(n,gR(0))),o)return hR(e,o.position.toRange(),!1)}return 0===m.length?wR(e,l).filter(l?r:o).map(t=>Xk(e,t.toRange(),!1)):I.none()},wR=(e,t)=>{const n=e.selection.getRng(),o=t?Kl.fromRangeEnd(n):Kl.fromRangeStart(n),r=(s=o.container(),a=e.getBody(),ir(un.fromDom(s),e=>Pu(e.dom),e=>e.dom===a).map(e=>e.dom).getOr(a));var s,a;if(t){const e=GN(r,o);return de(e.positions)}{const e=YN(r,o);return ce(e.positions)}},SR=(e,t,n)=>wR(e,t).filter(n).exists(t=>(e.selection.setRng(t.toRange()),!0)),ER=(e,t)=>{const n=e.dom.createRng();n.setStart(t.container(),t.offset()),n.setEnd(t.container(),t.offset()),e.selection.setRng(n)},xR=(e,t)=>{e?t.setAttribute("data-mce-selected","inline-boundary"):t.removeAttribute("data-mce-selected")},_R=(e,t,n)=>CN(t,n).map(t=>(ER(e,t),n)),kR=(e,t,n)=>{const o=e.getBody(),r=((e,t,n)=>{const o=Kl.fromRangeStart(e);if(e.collapsed)return o;{const r=Kl.fromRangeEnd(e);return n?Nf(t,r).getOr(r):kf(t,o).getOr(o)}})(e.selection.getRng(),o,n);return((e,t,n,o)=>{const r=ny(e,o),s=TN(t,n,r);return TN(t,n,r).bind(D(FN,e)).orThunk(()=>((e,t,n,o,r)=>{const s=ny(e,r);return Sf(e,n,s).map(D(ny,e)).fold(()=>o.map(PN),r=>TN(t,n,r).map(D(MN,e,t,n,s,r)).filter(D(IN,o))).filter(DN)})(e,t,n,s,o))})(n,D(Jb,e),o,r).bind(n=>_R(e,t,n))},NR=(e,t,n)=>!!im(e)&&kR(e,t,n).isSome(),RR=(e,t,n)=>!!im(t)&&((e,t)=>{const n=t.selection.getRng(),o=e?Kl.fromRangeEnd(n):Kl.fromRangeStart(n);return!!(e=>w(e.selection.getSel().modify))(t)&&(e&&nl(o)?UN(!0,t.selection,o):!(e||!ol(o))&&UN(!1,t.selection,o))})(e,t),AR=e=>{const t=Re(null),n=D(Jb,e);return e.on("NodeChange",o=>{im(e)&&(((e,t,n)=>{const o=V(Rr(un.fromDom(t.getRoot()),'*[data-mce-selected="inline-boundary"]'),e=>e.dom),r=Y(o,e),s=Y(n,e);q(se(r,s),D(xR,!1)),q(se(s,r),D(xR,!0))})(n,e.dom,o.parents),((e,t)=>{const n=t.get();if(e.selection.isCollapsed()&&!e.composing&&n){const o=Kl.fromRangeStart(e.selection.getRng());Kl.isTextPosition(o)&&!(e=>nl(e)||ol(e))(o)&&(ER(e,xu(n,o)),t.set(null))}})(e,t),((e,t,n,o)=>{if(t.selection.isCollapsed()){const r=Y(o,e);q(r,o=>{const r=Kl.fromRangeStart(t.selection.getRng());TN(e,t.getBody(),r).bind(e=>_R(t,n,e))})}})(n,e,t,o.parents))}),t},DR=D(RR,!0),TR=D(RR,!1),OR=(e,t,n)=>{if(im(e)){const o=wR(e,t).getOrThunk(()=>{const n=e.selection.getRng();return t?Kl.fromRangeEnd(n):Kl.fromRangeStart(n)});return TN(D(Jb,e),e.getBody(),o).exists(t=>{const o=PN(t);return CN(n,o).exists(t=>(ER(e,t),!0))})}return!1},BR=(e,t)=>n=>CN(t,n).map(t=>()=>ER(e,t)),PR=(e,t,n,o)=>{const r=e.getBody(),s=D(Jb,e);e.undoManager.ignore(()=>{e.selection.setRng(((e,t)=>{const n=document.createRange();return n.setStart(e.container(),e.offset()),n.setEnd(t.container(),t.offset()),n})(n,o)),ay(e),TN(s,r,Kl.fromRangeStart(e.selection.getRng())).map(LN).bind(BR(e,t)).each(P)}),e.nodeChanged()},LR=(e,t,n)=>{if(e.selection.isCollapsed()&&im(e)){const o=Kl.fromRangeStart(e.selection.getRng());return((e,t,n,o)=>{const r=((e,t)=>Ku(t,e)||e)(e.getBody(),o.container()),s=D(Jb,e),a=TN(s,r,o);return a.bind(e=>n?e.fold(N(I.some(LN(e))),I.none,N(I.some(PN(e))),I.none):e.fold(I.none,N(I.some(PN(e))),I.none,N(I.some(LN(e))))).map(BR(e,t)).getOrThunk(()=>{const i=Ef(n,r,o),l=i.bind(e=>TN(s,r,e));return $e(a,l,()=>ty(s,r,o).bind(t=>(e=>$e(Rf(e),Af(e),(t,n)=>{const o=ny(!0,t),r=ny(!1,n);return kf(e,o).forall(e=>e.isEqual(r))}).getOr(!0))(t)?I.some(()=>{Qb(e,n,un.fromDom(t))}):I.none())).getOrThunk(()=>l.bind(()=>i.map(r=>()=>{n?PR(e,t,o,r):PR(e,t,r,o)})))})})(e,t,n,o)}return I.none()},MR=(e,t)=>{const n=un.fromDom(e.getBody()),o=un.fromDom(e.selection.getStart()),r=mb(o,n);return J(r,t).fold(N(r),e=>r.slice(0,e))},IR=e=>1===Yn(e),FR=(e,t)=>{const n=D(Ev,e);return ne(t,e=>n(e)?[e.dom]:[])},UR=e=>{const t=(e=>MR(e,t=>e.schema.isBlock(En(t))))(e);return FR(e,t)},zR=(e,t)=>{const n=Y((e=>MR(e,t=>e.schema.isBlock(En(t))||(e=>Yn(e)>1)(t)))(e),IR);return de(n).bind(o=>{const r=Kl.fromRangeStart(e.selection.getRng());return my(t,r,o.dom)&&!Tg(o)?I.some(()=>((e,t,n,o)=>{const r=FR(t,o);if(0===r.length)Qb(t,e,n);else{const e=Sv(n.dom,r);t.selection.setRng(e.toRange())}})(t,e,o,n)):I.none()})},jR=(e,t)=>{const n=e.selection.getStart(),o=((e,t)=>{const n=t.parentElement;return ms(t)&&!h(n)&&e.dom.isEmpty(n)})(e,n)||Tg(un.fromDom(n))?Sv(n,t):((e,t)=>{const{caretContainer:n,caretPosition:o}=wv(t);return e.insertNode(n.dom),o})(e.selection.getRng(),t);e.selection.setRng(o.toRange())},$R=(e,t)=>{const n=se(t,UR(e));n.length>0&&jR(e,n)},HR=e=>ss(e.startContainer),VR=e=>{const t=e.selection.getRng();return(e=>0===e.startOffset&&HR(e))(t)&&((e,t)=>{const n=t.startContainer.parentElement;return!h(n)&&Ev(e,un.fromDom(n))})(e,t)&&(e=>(e=>(e=>{const t=e.startContainer.parentNode,n=e.endContainer.parentNode;return!h(t)&&!h(n)&&t.isEqualNode(n)})(e)&&(e=>{const t=e.endContainer;return e.endOffset===(ss(t)?t.length:t.childNodes.length)})(e))(e)||(e=>!e.endContainer.isEqualNode(e.commonAncestorContainer))(e))(t)},qR=(e,t)=>e.selection.isCollapsed()?zR(e,t):(e=>{if(VR(e)){const t=UR(e);return I.some(()=>{ay(e),$R(e,t)})}return I.none()})(e),WR=e=>((e=>{const t=e.selection.getRng();return t.collapsed&&(HR(t)||e.dom.isEmpty(t.startContainer))&&!(e=>{return t=un.fromDom(e.selection.getStart()),n=e.schema,Ar(t,e=>Tf(e.dom),e=>n.isBlock(En(e)));var t,n})(e)})(e)&&jR(e,[]),!0),KR=(e,t,n)=>C(n)?I.some(()=>{e._selectionOverrides.hideFakeCaret(),Qb(e,t,un.fromDom(n))}):I.none(),YR=(e,t)=>e.selection.isCollapsed()?((e,t)=>{const n=t?rb:sb,o=of(t?1:-1,e.getBody(),e.selection.getRng());return n(o)?KR(e,t,o.getNode(!t)):I.from(ny(t,o)).filter(e=>n(e)&&af(o,e)).bind(n=>KR(e,t,n.getNode(!t)))})(e,t):((e,t)=>{const n=e.selection.getNode();return Cs(n)?KR(e,t,n):I.none()})(e,t),GR=e=>st(e??"").getOr(0),XR=(e,t)=>(e||"table"===En(t)?"margin":"padding")+("rtl"===$o(t,"direction")?"-right":"-left"),QR=e=>{const t=JR(e);return!e.mode.isReadOnly()&&(t.length>1||((e,t)=>oe(t,t=>{const n=XR(Vd(e),t),o=Vo(t,n).map(GR).getOr(0);return"false"!==e.dom.getContentEditable(t.dom)&&o>0}))(e,t))},ZR=e=>zi(e)||ji(e),JR=e=>{const t=Qf(e);return 0===t.length?Y(Po(e.selection.getSelectedBlocks()),e=>!ZR(e)&&!(e=>Mn(e).exists(ZR))(e)&&lr(e,e=>gs(e.dom)||ps(e.dom)).exists(e=>gs(e.dom))):t},eA=(e,t)=>{if(e.mode.isReadOnly())return;const{dom:n}=e,o=qd(e),r=/[a-z%]+$/i.exec(o)?.[0]??"px",s=GR(o),a=Vd(e);q(JR(e),e=>{((e,t,n,o,r,s)=>{const a=XR(n,un.fromDom(s)),i=GR(e.getStyle(s,a));if("outdent"===t){const t=Math.max(0,i-o);e.setStyle(s,a,t?t+r:"")}else{const t=i+o+r;e.setStyle(s,a,t)}})(n,t,a,s,r,e.dom)}),"indent"===t?uk(e):fk(e)},tA=e=>eA(e,"outdent"),nA=e=>{if(e.selection.isCollapsed()&&QR(e)){const t=e.dom,n=e.selection.getRng(),o=Kl.fromRangeStart(n),r=t.getParent(n.startContainer,t.isBlock);if(null!==r&&hb(un.fromDom(r),o,e.schema))return I.some(()=>tA(e))}return I.none()},oA=(e,t)=>e.selection.isCollapsed()?I.none():((e,t)=>{const n=e.selection.getRng();return(e=>ag(e,Qr))(vC(n))?I.some(()=>Qb(e,t,un.fromDom(n.startContainer.childNodes[n.startOffset]))):I.none()})(e,t),rA=(e,t,n)=>ue([nA,lN,eN,(e,n)=>LR(e,t,n),Vk,Uy,dN,YR,Kk,qR,cN,oA],t=>t(e,n)).filter(t=>e.selection.isEditable()),sA=(e,t)=>{rA(e,t,!1).fold(()=>{e.selection.isEditable()&&(ay(e),dy(e))},P),Ok(e)&&k_(e.dom,e.getBody())},aA=e=>void 0===e.touches||1!==e.touches.length?I.none():I.some(e.touches[0]),iA=(e,t)=>_e(e,t.nodeName),lA=(e,t)=>!!ss(t)||!!Xr(t)&&!(iA(e.getBlockElements(),t)||Vf(t)||Zs(e,t)||Us(t)||vs(t)),cA=(e,t)=>{if(ss(t)){if(0===t.data.length)return!0;if(/^\s+$/.test(t.data))return!t.nextSibling||iA(e,t.nextSibling)||Us(t.nextSibling)}return!1},dA=e=>e.dom.create(Ed(e),xd(e)),mA=(e,t,n)=>{const o=un.fromDom(dA(e)),r=qi();go(o,r),n(t,o);const s=document.createRange();return s.setStartBefore(r.dom),s.setEndBefore(r.dom),s},uA=e=>t=>-1!==(" "+t.attr("class")+" ").indexOf(e),fA=(e,t,n)=>function(o){const r=arguments,s=r[r.length-2],a=s>0?t.charAt(s-1):"";if('"'===a)return o;if(">"===a){const e=t.lastIndexOf("<",s);if(-1!==e&&-1!==t.substring(e,s).indexOf('contenteditable="false"'))return o}return''+e.dom.encode("string"==typeof r[1]?r[1]:r[0])+""},gA=(e,t)=>oe(e,e=>{const n=t.match(e);return null!==n&&n[0].length===t.length}),pA=(e,t)=>{t.hasAttribute("data-mce-caret")&&(al(t),e.selection.setRng(e.selection.getRng()),e.selection.scrollIntoView(t))},hA=(e,t)=>{const n=(e=>ur(un.fromDom(e.getBody()),"*[data-mce-caret]").map(e=>e.dom).getOrNull())(e);if(n)return"compositionstart"===t.type?(t.preventDefault(),t.stopPropagation(),void pA(e,n)):void(tl(n)&&(pA(e,n),e.undoManager.add()))},bA=ps,yA=(e,t,n)=>{const o=yf(e.getBody()),r=D(sf,1===t?o.next:o.prev);if(n.collapsed){const o=e.dom.getParent(n.startContainer,"PRE");if(!o)return;if(!r(Kl.fromRangeStart(n))){const n=un.fromDom((e=>{const t=e.dom.create(Ed(e));return t.innerHTML='
    ',t})(e));1===t?uo(un.fromDom(o),n):mo(un.fromDom(o),n),e.selection.select(n.dom,!0),e.selection.collapse()}}},vA=(e,t)=>((e,t)=>{const n=t?1:-1,o=e.selection.getRng();return((e,t,n)=>vR(t,e,n,lb,cb,bA))(n,e,o).orThunk(()=>(yA(e,n,o),I.none()))})(e,((e,t)=>{const n=t?e.getEnd(!0):e.getStart(!0);return ey(n)?!t:t})(e.selection,t)).exists(t=>(pR(e,t),!0)),CA=(e,t)=>((e,t)=>{const n=t?1:-1,o=e.selection.getRng();return((e,t,n)=>CR(t,e,n,e=>lb(e)||ab(e),e=>cb(e)||ib(e),bA))(n,e,o).orThunk(()=>(yA(e,n,o),I.none()))})(e,t).exists(t=>(pR(e,t),!0)),wA=(e,t)=>SR(e,t,t?cb:lb),SA=(e,t)=>tN(e,!t).map(n=>{const o=n.toRange(),r=e.selection.getRng();return t?o.setStart(r.startContainer,r.startOffset):o.setEnd(r.endContainer,r.endOffset),o}).exists(t=>(pR(e,t),!0)),EA=(e,t)=>{const n=e=>vn(e,t),o=un.fromDom(e.container());return lr(o,e=>gs(e.dom),n).filter(e=>!n(e))},xA=(e,t)=>((e,t)=>{const n=Kl.fromRangeStart(e.selection.getRng()),o=Kl.fromRangeEnd(e.selection.getRng()),r=un.fromDom(e.getBody());return $e(EA(n,r),EA(o,r),(e,t)=>vn(e,t)?I.some(e):I.none()).bind(R).fold(L,r=>!!(t&&JN(r.dom,o)||!t&&ZN(r.dom,n))&&((e,t,n)=>(n?tR:eR)(e.getBody(),t).map(e=>e.toRange()))(e,t?o:n,t).exists(t=>(pR(e,t),!0)))})(e,t),_A=e=>$(["figcaption"],En(e)),kA=(e,t)=>!!e.selection.isCollapsed()&&((e,t)=>{const n=un.fromDom(e.getBody()),o=Kl.fromRangeStart(e.selection.getRng());return((e,t,n)=>{const o=D(vn,t);return lr(un.fromDom(e.container()),e=>n.isBlock(En(e)),o).filter(_A)})(o,n,e.schema).exists(()=>{if(((e,t,n)=>t?JN(e.dom,n):ZN(e.dom,n))(n,t,o)){const o=mA(e,n,t?go:fo);return e.selection.setRng(o),!0}return!1})})(e,t),NA=(e,t)=>((e,t)=>t?I.from(e.dom.getParent(e.selection.getNode(),"details")).map(t=>((e,t)=>{const n=e.selection.getRng(),o=Kl.fromRangeStart(n);return!(e.getBody().lastChild!==t||!JN(t,o)||(e.execCommand("InsertNewBlockAfter"),0))})(e,t)).getOr(!1):I.from(e.dom.getParent(e.selection.getNode(),"summary")).bind(t=>I.from(e.dom.getParent(t,"details")).map(n=>((e,t,n)=>{const o=e.selection.getRng(),r=Kl.fromRangeStart(o);return!(e.getBody().firstChild!==t||!ZN(n,r)||(e.execCommand("InsertNewBlockBefore"),0))})(e,n,t))).getOr(!1))(e,t),RA={shiftKey:!1,altKey:!1,ctrlKey:!1,metaKey:!1,keyCode:0},AA=(e,t)=>t.keyCode===e.keyCode&&t.shiftKey===e.shiftKey&&t.altKey===e.altKey&&t.ctrlKey===e.ctrlKey&&t.metaKey===e.metaKey,DA=(e,...t)=>()=>e.apply(null,t),TA=(e,t)=>Z(((e,t)=>ne((e=>V(e,e=>({...RA,...e})))(e),e=>AA(e,t)?[e]:[]))(e,t),e=>e.action()),OA=(e,t)=>ue(((e,t)=>ne((e=>V(e,e=>({...RA,...e})))(e),e=>AA(e,t)?[e]:[]))(e,t),e=>e.action()),BA=(e,t)=>{const n=t?1:-1,o=e.selection.getRng();return vR(e,n,o,rb,sb,Cs).exists(t=>(pR(e,t),!0))},PA=(e,t)=>{const n=t?1:-1,o=e.selection.getRng();return CR(e,n,o,rb,sb,Cs).exists(t=>(pR(e,t),!0))},LA=(e,t)=>SR(e,t,t?sb:rb),MA=(e,t,n)=>ne(Vn(e),e=>bn(e,t)?n(e)?[e]:[]:MA(e,t,n)),IA=(e,t)=>fr(e,"table",t),FA=Ne([{none:["current"]},{first:["current"]},{middle:["current","target"]},{last:["current"]}]),UA={...FA,none:e=>FA.none(e)},zA=(e,t,n,o,r=M)=>{const s=1===o;if(!s&&n<=0)return UA.first(e[0]);if(s&&n>=e.length-1)return UA.last(e[e.length-1]);{const s=n+o,a=e[s];return r(a)?UA.middle(t,a):zA(e,t,s,o,r)}},jA=(e,t)=>IA(e,t).bind(t=>{const n=MA(t,"th,td",M);return J(n,t=>vn(e,t)).map(e=>({index:e,all:n}))});var $A=["body","p","div","article","aside","figcaption","figure","footer","header","nav","section","ol","ul","li","table","thead","tbody","tfoot","caption","tr","td","th","h1","h2","h3","h4","h5","h6","blockquote","pre","address"];const HA=(e,t)=>({element:e,offset:t}),VA=(e,t)=>{if(e.property().isText(t))return HA(t,e.property().getText(t).length);{const n=e.property().children(t);return n.length>0?VA(e,n[n.length-1]):HA(t,n.length)}},qA=(e,t,n)=>{const o=e.property().children(t);return o.length>0&&n0&&e.property().isElement(t)&&o.length===n?VA(e,o[o.length-1]):HA(t,n)},WA=qA,KA={up:N({selector:mr,closest:fr,predicate:ir,all:Fn}),down:N({selector:Rr,predicate:Nr}),styles:N({get:$o,getRaw:Vo,set:zo,remove:Wo}),attrs:N({get:wo,set:vo,remove:xo,copyTo:(e,t)=>{const n=ko(e);Co(t,n)}}),insert:N({before:mo,after:uo,afterAll:ho,append:go,appendAll:bo,prepend:fo,wrap:po}),remove:N({unwrap:Ao,remove:Ro}),create:N({nu:un.fromTag,clone:e=>un.fromDom(e.dom.cloneNode(!1)),text:un.fromText}),query:N({comparePosition:(e,t)=>e.dom.compareDocumentPosition(t.dom),prevSibling:zn,nextSibling:jn}),property:N({children:Vn,name:En,parent:Mn,document:e=>Pn(e).dom,isText:An,isComment:kn,isElement:Rn,isSpecial:e=>{const t=En(e);return $(["script","noscript","iframe","noframes","noembed","title","style","textarea","xmp"],t)},getLanguage:e=>Rn(e)?So(e,"lang"):I.none(),getText:or,setText:rr,isBoundary:e=>!!Rn(e)&&("body"===En(e)||$($A,En(e))),isEmptyTag:e=>!!Rn(e)&&$(["br","img","hr","input"],En(e)),isNonEditable:e=>Rn(e)&&"false"===wo(e,"contenteditable")}),eq:vn,is:wn},YA=(e,t)=>WA(KA,e,t),GA=Le("image"),XA=Le("event"),QA=e=>t=>{t[XA]=e},ZA=QA(0),JA=QA(2),eD=QA(1),tD=e=>{const t=e;return I.from(t[XA]).exists(e=>0===e)};const nD=Le("mode"),oD=e=>t=>{t[nD]=e},rD=(e,t)=>oD(t)(e),sD=oD(0),aD=oD(2),iD=oD(1),lD=e=>t=>{const n=t;return I.from(n[nD]).exists(t=>t===e)},cD=lD(0),dD=lD(1),mD=["none","copy","link","move"],uD=["none","copy","copyLink","copyMove","link","linkMove","move","all","uninitialized"],fD=()=>{const e=new window.DataTransfer;let t="move",n="all";const o={get dropEffect(){return t},set dropEffect(e){$(mD,e)&&(t=e)},get effectAllowed(){return n},set effectAllowed(e){tD(o)&&$(uD,e)&&(n=e)},get items(){return((e,t)=>({...t,get length(){return t.length},add:(n,o)=>{if(cD(e)){if(!u(n))return t.add(n);if(!y(o))return t.add(n,o)}return null},remove:n=>{cD(e)&&t.remove(n)},clear:()=>{cD(e)&&t.clear()}}))(o,e.items)},get files(){return dD(o)?(()=>{const e=[];return Object.freeze({length:0,item:e=>null,[Symbol.iterator]:()=>e[Symbol.iterator]()})})():e.files},get types(){return e.types},setDragImage:(t,n,r)=>{var s;cD(o)&&(s={image:t,x:n,y:r},o[GA]=s,e.setDragImage(t,n,r))},getData:t=>dD(o)?"":e.getData(t),setData:(t,n)=>{cD(o)&&e.setData(t,n)},clearData:t=>{cD(o)&&e.clearData(t)}};return sD(o),o},gD=(e,t)=>e.setData("text/html",t),pD=(e,t,n,o,r)=>{const s=Rr(un.fromDom(n),"td,th,caption").map(e=>e.dom),a=Y(((e,t)=>ne(t,t=>{const n=((e,t)=>({left:e.left-t,top:e.top-t,right:e.right+-2,bottom:e.bottom+-2,width:e.width+t,height:e.height+t}))(cl(t.getBoundingClientRect()),-1);return[{x:n.left,y:e(n),cell:t},{x:n.right,y:e(n),cell:t}]}))(e,s),e=>t(e,r));return((e,t,n)=>X(e,(e,o)=>e.fold(()=>I.some(o),e=>{const r=Math.sqrt(Math.abs(e.x-t)+Math.abs(e.y-n)),s=Math.sqrt(Math.abs(o.x-t)+Math.abs(o.y-n));return I.some(se.cell)},hD=D(pD,e=>e.bottom,(e,t)=>e.ye.top,(e,t)=>e.y>t),yD=(e,t,n)=>{const o=e(t,n);return(e=>e.breakType===zN.Wrap&&0===e.positions.length)(o)||!ms(n.getNode())&&(e=>e.breakType===zN.Br&&1===e.positions.length)(o)?!((e,t,n)=>n.breakAt.exists(n=>e(t,n).breakAt.isSome()))(e,t,o):o.breakAt.isNone()},vD=D(yD,YN),CD=D(yD,GN),wD=(e,t,n,o)=>{const r=e.selection.getRng(),s=t?1:-1;return!(!Tu()||!((e,t,n)=>{const o=Kl.fromRangeStart(t);return _f(!e,n).exists(e=>e.isEqual(o))})(t,r,n)||(Yk(s,e,n,!t,!1).each(t=>{pR(e,t)}),0))},SD=(e,t,n)=>{const o=((e,t)=>{const n=t.getNode(e);return ns(n)?I.some(n):I.none()})(!!t,n),r=!1===t;o.fold(()=>pR(e,n.toRange()),o=>_f(r,e.getBody()).filter(e=>e.isEqual(n)).fold(()=>pR(e,n.toRange()),n=>((e,t,n)=>{t.undoManager.transact(()=>{const o=e?uo:mo,r=mA(t,un.fromDom(n),o);pR(t,r)})})(t,e,o)))},ED=(e,t,n,o)=>{const r=e.selection.getRng(),s=Kl.fromRangeStart(r),a=e.getBody();if(!t&&vD(o,s)){const o=((e,t,n)=>((e,t)=>ce(t.getClientRects()).bind(t=>hD(e,t.left,t.top)).bind(e=>{return KN(Af(n=e).map(e=>YN(n,e).positions.concat(e)).getOr([]),t);var n}))(t,n).orThunk(()=>ce(n.getClientRects()).bind(n=>WN(XN(e,Kl.before(t)),n.left))).getOr(Kl.before(t)))(a,n,s);return SD(e,t,o),!0}if(t&&CD(o,s)){const o=((e,t,n)=>((e,t)=>de(t.getClientRects()).bind(t=>bD(e,t.left,t.top)).bind(e=>{return KN(Rf(n=e).map(e=>[e].concat(GN(n,e).positions)).getOr([]),t);var n}))(t,n).orThunk(()=>ce(n.getClientRects()).bind(n=>WN(QN(e,Kl.after(t)),n.left))).getOr(Kl.after(t)))(a,n,s);return SD(e,t,o),!0}return!1},xD=(e,t,n)=>I.from(e.dom.getParent(e.selection.getNode(),"td,th")).bind(o=>I.from(e.dom.getParent(o,"table")).map(r=>n(e,t,r,o))).getOr(!1),_D=(e,t)=>xD(e,t,wD),kD=(e,t)=>xD(e,t,ED),ND=(e,t,n)=>n.fold(I.none,I.none,(e,t)=>{return(n=t,dr(n,Pr)).map(e=>(e=>{const t=Ur.exact(e,0,e,0);return Hr(t)})(e));var n},n=>!e.mode.isReadOnly()&&RD(n)&&(e=>TD(e)||Un(e).some(e=>Nn(e)&&TD(e)))(n)?(e.execCommand("mceTableInsertRowAfter"),AD(e,t,n)):I.none()),RD=e=>lr(e,On("table")).exists(Sr),AD=(e,t,n)=>{return ND(e,t,(r=TD,jA(o=n,void 0).fold(()=>UA.none(o),e=>zA(e.all,o,e.index,1,r))));var o,r},DD=(e,t,n)=>{return ND(e,t,(r=TD,jA(o=n,void 0).fold(()=>UA.none(),e=>zA(e.all,o,e.index,-1,r))));var o,r},TD=e=>Sr(e)||Dr(e,OD),OD=e=>Nn(e)&&Sr(e),BD=(e,t)=>{const n=["table","li","dl"],o=un.fromDom(e.getBody()),r=e=>{const t=En(e);return vn(e,o)||$(n,t)},s=e.selection.getRng();return((e,t)=>((e,t,n=L)=>n(t)?I.none():$(e,En(t))?I.some(t):mr(t,e.join(","),e=>bn(e,"table")||n(e)))(["td","th"],e,t))(un.fromDom(t?s.endContainer:s.startContainer),r).map(n=>(IA(n,r).each(t=>{e.model.table.clearSelectedCells(t.dom)}),e.selection.collapse(!t),(t?AD:DD)(e,r,n).each(t=>{e.selection.setRng(t)}),!0)).getOr(!1)},PD=(e,t)=>({container:e,offset:t}),LD=gi.DOM,MD=e=>t=>e===t?-1:0,ID=(e,t,n)=>{if(ss(e)&&t>=0)return I.some(PD(e,t));{const o=Pi(LD);return I.from(o.backwards(e,t,MD(e),n)).map(e=>PD(e.container,e.container.data.length))}},FD=(e,t,n)=>{if(!ss(e))return I.none();const o=e.data;if(t>=0&&t<=o.length)return I.some(PD(e,t));{const o=Pi(LD);return I.from(o.backwards(e,t,MD(e),n)).bind(e=>{const o=e.container.data;return FD(e.container,t+o.length,n)})}},UD=(e,t,n)=>{if(!ss(e))return I.none();const o=e.data;if(t<=o.length)return I.some(PD(e,t));{const r=Pi(LD);return I.from(r.forwards(e,t,MD(e),n)).bind(e=>UD(e.container,t-o.length,n))}},zD=(e,t,n,o,r)=>{const s=Pi(e,(e=>t=>e.isBlock(t)||$(["BR","IMG","HR","INPUT"],t.nodeName)||"false"===e.getContentEditable(t))(e));return I.from(s.backwards(t,n,o,r))},jD=e=>""!==e&&-1!==" \xa0\ufeff\f\n\r\t\v".indexOf(e),$D=(e,t)=>e.substring(t.length),HD=(e,t,n,o=!1)=>{if(!(r=t).collapsed||!ss(r.startContainer))return I.none();var r;const s={text:"",offset:0},a=e.getParent(t.startContainer,e.isBlock)||e.getRoot();return zD(e,t.startContainer,t.startOffset,(e,t,r)=>(s.text=r+s.text,s.offset+=t,((e,t,n,o=!1)=>{let r;const s=n.charAt(0);for(r=t-1;r>=0;r--){const a=e.charAt(r);if(!o&&jD(a))return I.none();if(s===a&&Xe(e,n,r,t))break}return I.some(r)})(s.text,s.offset,n,o).getOr(t)),a).bind(e=>{const o=t.cloneRange();if(o.setStart(e.container,e.offset),o.setEnd(t.endContainer,t.endOffset),o.collapsed)return I.none();const r=(e=>Gi(e.toString().replace(/\u00A0/g," ")))(o);return 0!==r.lastIndexOf(n)?I.none():I.some({text:$D(r,n),range:o,trigger:n})})},VD=e=>{if((e=>3===e.nodeType)(e))return PD(e,e.data.length);{const t=e.childNodes;return t.length>0?VD(t[t.length-1]):PD(e,t.length)}},qD=(e,t)=>{const n=e.childNodes;return n.length>0&&t0&&(e=>1===e.nodeType)(e)&&n.length===t?VD(n[n.length-1]):PD(e,t)},WD=(e,t,n,o={})=>{const r=t(),s=e.selection.getRng().startContainer.nodeValue??"",a=Y(r.lookupByTrigger(n.trigger),t=>n.text.length>=t.minChars&&t.matches.getOrThunk(()=>(e=>t=>{const n=qD(t.startContainer,t.startOffset);return!((e,t)=>{const n=e.getParent(t.container,e.isBlock)??e.getRoot();return zD(e,t.container,t.offset,(e,t)=>0===t?-1:t,n).filter(e=>{const t=e.container.data.charAt(e.offset-1);return!jD(t)}).isSome()})(e,n)})(e.dom))(n.range,s,n.text));if(0===a.length)return I.none();const i=Promise.all(V(a,e=>e.fetch(n.text,e.maxResults,o).then(t=>({matchText:n.text,items:t,columns:e.columns,onAction:e.onAction,highlightOn:e.highlightOn}))));return I.some({lookupData:i,context:n})},KD=Hc("type"),YD=Vc("fetch"),GD=Vc("onAction");Wc("name"),Wc("text"),Wc("role"),Wc("icon"),Wc("url"),Wc("tooltip"),Wc("chevronTooltip"),Wc("label"),Wc("shortcut");const XD=Mc([KD,Hc("trigger"),Yc("minChars",1),(e=>jc(e,e,Tc(1),kc()))("columns"),Yc("maxResults",10),qc("matches",Dc),YD,GD,(QD=Ac,Kc("highlightOn",[],Ic(QD)))]);var QD;const ZD=e=>{const t=Ke(),n=Re(!1),o=t.isSet,r=()=>{o()&&((e=>{e.dispatch("AutocompleterEnd")})(e),n.set(!1),t.clear())},s=lt(()=>(e=>{const t=e.ui.registry.getAll().popups,n=be(t,e=>{return(t=e,Uc("Autocompleter",XD,t)).fold(e=>{throw new Error(zc(e))},R);var t}),o=ut(Se(n,e=>e.trigger)),r=Ee(n);return{dataset:n,triggers:o,lookupByTrigger:e=>Y(r,t=>t.trigger===e)}})(e)),a=a=>{(n=>t.get().map(t=>HD(e.dom,e.selection.getRng(),t.trigger,!0).bind(t=>WD(e,s,t,n))).getOrThunk(()=>((e,t)=>{const n=t(),o=e.selection.getRng();return((e,t,n)=>ue(n.triggers,n=>HD(e,t,n)))(e.dom,o,n).bind(n=>WD(e,t,n))})(e,s)))(a).fold(r,r=>{(e=>{o()||t.set({trigger:e.trigger,matchLength:e.text.length})})(r.context),r.lookupData.then(o=>{t.get().map(s=>{const a=r.context;s.trigger===a.trigger&&(t.set({...s,matchLength:a.text.length}),n.get()?(id(e,{range:a.range}),((e,t)=>{e.dispatch("AutocompleterUpdate",t)})(e,{lookupData:o})):(n.set(!0),id(e,{range:a.range}),((e,t)=>{e.dispatch("AutocompleterStart",t)})(e,{lookupData:o})))})})})},i=()=>t.get().bind(({trigger:t})=>{const o=e.selection.getRng();return HD(e.dom,o,t,n.get()).filter(({range:e})=>((e,t)=>{const n=e.compareBoundaryPoints(window.Range.START_TO_START,t),o=e.compareBoundaryPoints(window.Range.END_TO_END,t);return n>=0&&o<=0})(o,e)).map(({range:e})=>e)});e.addCommand("mceAutocompleterReload",(e,t)=>{const n=f(t)?t.fetchOptions:{};a(n)}),e.addCommand("mceAutocompleterClose",r),e.addCommand("mceAutocompleterRefreshActiveRange",()=>{i().each(t=>{id(e,{range:t})})}),e.editorCommands.addQueryStateHandler("mceAutoCompleterInRange",()=>i().isSome()),((e,t)=>{const n=it(t.load,50);e.on("input",t=>{("insertCompositionText"!==t.inputType||e.composing)&&n.throttle()}),e.on("keydown",e=>{const o=e.which;8===o?n.throttle():27===o?(n.cancel(),t.cancelIfNecessary()):38!==o&&40!==o||n.cancel()},!0),e.on("remove",n.cancel)})(e,{cancelIfNecessary:r,load:a})},JD=Xt().browser.isSafari(),eT=e=>Wi(un.fromDom(e)),tT=(e,t)=>0===e.startOffset&&e.endOffset===t.textContent?.length,nT=(e,t)=>I.from(e.getParent(t.container(),"details")),oT=(e,t)=>nT(e,t).isSome(),rT=(e,t)=>{const n=t.getNode();y(n)||e.selection.setCursorLocation(n,t.offset())},sT=(e,t,n)=>{const o=e.dom.getParent(t.container(),"details");if(o&&!o.open){const t=e.dom.select("summary",o)[0];t&&(n?Rf(t):Af(t)).each(t=>rT(e,t))}else rT(e,t)},aT=(e,t,n)=>{const{dom:o,selection:r}=e,s=e.getBody();if("character"===n){const n=Kl.fromRangeStart(r.getRng()),a=o.getParent(n.container(),o.isBlock),i=nT(o,n),l=a&&o.isEmpty(a),c=h(a?.previousSibling),d=h(a?.nextSibling);return!!(l&&(t?d:c)&&Ef(!t,s,n).exists(e=>oT(o,e)&&!je(i,nT(o,e))))||Ef(t,s,n).fold(L,n=>{const r=nT(o,n);if(oT(o,n)&&!je(i,r)){if(t||sT(e,n,!1),a&&l){if(t&&c)return!0;if(!t&&d)return!0;sT(e,n,t),e.dom.remove(a)}return!0}return!1})}return!1},iT=(e,t,n,o)=>{const r=e.selection.getRng(),s=Kl.fromRangeStart(r),a=e.getBody();return"selection"===o?((e,t)=>{const n=t.startSummary.exists(t=>t.contains(e.startContainer)),o=t.startSummary.exists(t=>t.contains(e.endContainer)),r=t.startDetails.forall(e=>t.endDetails.forall(t=>e!==t));return(n||o)&&!(n&&o)||r})(r,t):n?((e,t)=>t.startSummary.exists(t=>((e,t)=>Af(t).exists(n=>ms(n.getNode())&&Nf(t,n).exists(t=>t.isEqual(e))||n.isEqual(e)))(e,t)))(s,t)||((e,t,n)=>n.startDetails.exists(n=>kf(e,t).forall(e=>!n.contains(e.container()))))(a,s,t):((e,t)=>t.startSummary.exists(t=>((e,t)=>Rf(t).exists(t=>t.isEqual(e)))(e,t)))(s,t)||((e,t)=>t.startDetails.exists(n=>Nf(n,e).forall(n=>t.startSummary.exists(t=>!t.contains(e.container())&&t.contains(n.container())))))(s,t)},lT=(e,t,n)=>((e,t,n)=>((e,t)=>{const n=I.from(e.getParent(t.startContainer,"details")),o=I.from(e.getParent(t.endContainer,"details"));if(n.isSome()||o.isSome()){const t=n.bind(t=>I.from(e.select("summary",t)[0]));return I.some({startSummary:t,startDetails:n,endDetails:o})}return I.none()})(e.dom,e.selection.getRng()).fold(()=>aT(e,t,n),o=>iT(e,o,t,n)||aT(e,t,n)))(e,t,n)||JD&&((e,t,n)=>{const o=e.selection,r=o.getNode(),s=o.getRng(),a=Kl.fromRangeStart(s);return!!Es(r)&&("selection"===n&&tT(s,r)||my(t,a,r)?eT(r):e.undoManager.transact(()=>{const s=o.getSel();let{anchorNode:a,anchorOffset:i,focusNode:l,focusOffset:c}=s??{};const d=()=>{C(a)&&C(i)&&C(l)&&C(c)&&s?.setBaseAndExtent(a,i,l,c)},m=(e,t)=>{q(e.childNodes,e=>{ig(e)&&t.appendChild(e)})},u=e.dom.create("span",{"data-mce-bogus":"1"});m(r,u),r.appendChild(u),d(),"word"!==n&&"line"!==n||s?.modify("extend",t?"right":"left",n),!o.isCollapsed()&&tT(o.getRng(),u)?eT(r):(e.execCommand(t?"ForwardDelete":"Delete"),a=s?.anchorNode,i=s?.anchorOffset,l=s?.focusNode,c=s?.focusOffset,m(u,r),d()),e.dom.remove(u)}),!0)})(e,t,n)?I.some(x):I.none(),cT=Xt(),dT=cT.os,mT=dT.isMacOS()||dT.isiOS(),uT=cT.browser.isFirefox(),fT=(e,t)=>{const n=e.dom,o=e.schema.getMoveCaretBeforeOnEnterElements();if(!t)return;if(ji(un.fromDom(t))){const e=e=>zi(e)?I.from(e):dr(e,zi),o=e=>n.isEmpty(e.dom);(e=>{for(;e;){if(Xr(e)||ss(e)&&e.data&&/[\r\n\s]/.test(e.data))return I.from(un.fromDom(e));e=e.nextSibling}return I.none()})(t.firstChild).each(t=>{e(t).fold(()=>{if(o(t)){const e=YA(t,0).element;Rn(e)&&!Mi(e)&&go(e,un.fromHtml('
    '))}},e=>{mo(e,un.fromText(dt))})})}const r=n.createRng();if(t.normalize(),t.hasChildNodes()){const e=new Kr(t,t);let n,s=t;for(;n=e.current();){if(ss(n)){r.setStart(n,0),r.setEnd(n,0);break}if(o[n.nodeName.toLowerCase()]){r.setStartBefore(n),r.setEndBefore(n);break}s=n,n=e.next()}n||(r.setStart(s,0),r.setEnd(s,0))}else ms(t)?t.nextSibling&&n.isBlock(t.nextSibling)?(r.setStartBefore(t),r.setEndBefore(t)):(r.setStartAfter(t),r.setEndAfter(t)):(r.setStart(t,0),r.setEnd(t,0));e.selection.setRng(r),fh(e,r)},gT=(e,t)=>{const n=e.getRoot();let o,r=t;for(;r!==n&&r&&"false"!==e.getContentEditable(r);){if("true"===e.getContentEditable(r)){o=r;break}r=r.parentNode}return r!==n?o:n},pT=e=>I.from(e.dom.getParent(e.selection.getStart(!0),e.dom.isBlock)),hT=e=>{e.innerHTML='
    '},bT=(e,t)=>{Ed(e).toLowerCase()===t.tagName.toLowerCase()&&((e,t,n)=>{const o=e.dom;I.from(n.style).map(o.parseStyle).each(e=>{const n={...qo(un.fromDom(t)),...e};o.setStyles(t,n)});const r=I.from(n.class).map(e=>e.split(/\s+/)),s=I.from(t.className).map(e=>Y(e.split(/\s+/),e=>""!==e));$e(r,s,(e,n)=>{const r=Y(n,t=>!$(e,t)),s=[...e,...r];o.setAttrib(t,"class",s.join(" "))});const a=["style","class"],i=we(n,(e,t)=>!$(a,t));o.setAttribs(t,i)})(e,t,xd(e))},yT=(e,t,n,o,r=!0,s,a)=>{const i=e.dom,l=e.schema,c=Ed(e),d=n?n.nodeName.toUpperCase():"";let m=t;const u=l.getTextInlineElements();let f;f=s||"TABLE"===d||"HR"===d?i.create(s||c,a||{}):n.cloneNode(!1);let g=f;if(r){do{if(u[m.nodeName]){if(Tf(m)||Vf(m))continue;const e=m.cloneNode(!1);i.setAttrib(e,"id",""),f.hasChildNodes()?(e.appendChild(f.firstChild),f.appendChild(e)):(g=e,f.appendChild(e))}}while((m=m.parentNode)&&m!==o);"LI"!==f.nodeName&&((e,t)=>{const n=un.fromDom(e),o=un.fromDom(t),r=On("span"),s=D(vn,n),a=e=>Rn(e)&&Vo(e,"font-size").isSome(),i=[...a(o)?[o]:[],..._r(o,a,s)];q(i.slice(1),e=>{Wo(e,"font-size"),xo(e,"data-mce-style"),r(e)&&_o(e)&&Ao(e)})})(f,g)}else i.setAttrib(f,"style",null),i.setAttrib(f,"class",null);return bT(e,f),hT(g),f},vT=(e,t)=>{const n=e?.parentNode;return C(n)&&n.nodeName===t},CT=e=>C(e)&&/^(OL|UL|LI)$/.test(e.nodeName),wT=e=>C(e)&&/^(LI|DT|DD)$/.test(e.nodeName),ST=e=>{const t=e.parentNode;return wT(t)?t:e},ET=(e,t,n)=>{let o=e[n?"firstChild":"lastChild"];for(;o&&!Xr(o);)o=o[n?"nextSibling":"previousSibling"];return o===t},xT=e=>X(Se(qo(un.fromDom(e)),(e,t)=>`${t}: ${e};`),(e,t)=>e+t,""),_T=(e,t)=>t&&"A"===t.nodeName&&e.isEmpty(t),kT=(e,t)=>e.nodeName===t||e.previousSibling&&e.previousSibling.nodeName===t,NT=(e,t)=>C(t)&&e.isBlock(t)&&!/^(TD|TH|CAPTION|FORM)$/.test(t.nodeName)&&!/^(fixed|absolute)/i.test(t.style.position)&&e.isEditable(t.parentNode)&&"false"!==e.getContentEditable(t),RT=(e,t,n)=>ss(t)?e?1===n&&t.data.charAt(n-1)===Ki?0:n:n===t.data.length-1&&t.data.charAt(n)===Ki?t.data.length:n:n,AT={insert:(e,t)=>{let n,o,r,s,a=!1;const i=e.dom,l=e.schema.getNonEmptyElements(),c=e.selection.getRng(),d=Ed(e),m=un.fromDom(c.startContainer),f=qn(m,c.startOffset),g=f.exists(e=>Nn(e)&&!Sr(e)),p=c.collapsed&&g,b=(t,o)=>yT(e,n,_,x,Rd(e),t,o),y=e=>{const t=RT(e,n,o);if(ss(n)&&(e?t>0:t"BR"===e.nodeName||e.nextSibling&&"BR"===e.nextSibling.nodeName)(n)?!e:a&&!e||!a&&e;const r=new Kr(n,_);let s;for(ss(n)&&(e&&0===t?r.prev():e||t!==n.data.length||r.next());s=r.current();){if(Xr(s)){if(!s.getAttribute("data-mce-bogus")){const e=s.nodeName.toLowerCase();if(l[e]&&"br"!==e)return!1}}else if(ss(s)&&!Ns(s.data))return!1;e?r.prev():r.next()}return!0},w=()=>{let t;return t=/^(H[1-6]|PRE|FIGURE)$/.test(r)&&"HGROUP"!==k?b(d):b(),((e,t)=>{const n=Ad(e);return!v(t)&&(u(n)?$(dn.explode(n),t.nodeName.toLowerCase()):n)})(e,s)&&NT(i,s)&&i.isEmpty(_,void 0,{includeZwsp:!0})?t=i.split(s,_):i.insertAfter(t,_),fT(e,t),t};Wp(i,c).each(e=>{c.setStart(e.startContainer,e.startOffset),c.setEnd(e.endContainer,e.endOffset)}),n=c.startContainer,o=c.startOffset;const S=!(!t||!t.shiftKey),E=!(!t||!t.ctrlKey);Xr(n)&&n.hasChildNodes()&&!p&&(a=o>n.childNodes.length-1,n=n.childNodes[Math.min(o,n.childNodes.length-1)]||n,o=a&&ss(n)?n.data.length:0);const x=gT(i,n);if(!x||((e,t)=>{const n=e.dom.getParent(t,"ol,ul,dl");return null!==n&&"false"===e.dom.getContentEditableParent(n)})(e,n))return;S||(n=((e,t,n,o,r)=>{const s=e.dom,a=gT(s,o)??s.getRoot();let i=s.getParent(o,s.isBlock);if(!i||!NT(s,i)){if(i=i||a,!i.hasChildNodes()){const o=s.create(t);return bT(e,o),i.appendChild(o),n.setStart(o,0),n.setEnd(o,0),o}let l,c=o;for(;c&&c.parentNode!==i;)c=c.parentNode;for(;c&&!s.isBlock(c);)l=c,c=c.previousSibling;const d=l?.parentElement?.nodeName;if(l&&d&&e.schema.isValidChild(d,t.toLowerCase())){const a=l.parentNode,i=s.create(t);for(bT(e,i),a.insertBefore(i,l),c=l;c&&!s.isBlock(c);){const e=c.nextSibling;i.appendChild(c),c=e}n.setStart(o,r),n.setEnd(o,r)}}return o})(e,d,c,n,o));let _=i.getParent(n,i.isBlock)||i.getRoot();s=C(_?.parentNode)?i.getParent(_.parentNode,i.isBlock):null,r=_?_.nodeName.toUpperCase():"";const k=s?s.nodeName.toUpperCase():"";if("LI"!==k||E||(_=s,s=s.parentNode,r=k),Xr(s)&&((e,t,n)=>!t&&n.nodeName.toLowerCase()===Ed(e)&&e.dom.isEmpty(n)&&((e,t,n)=>{let o=t;for(;o&&o!==e&&h(o.nextSibling);){const e=o.parentElement;if(!e||!n(e))return Ss(e);o=e}return!1})(e.getBody(),n,t=>_e(e.schema.getTextBlockElements(),t.nodeName.toLowerCase())))(e,S,_))return((e,t,n)=>{const o=t(Ed(e)),r=((e,t)=>e.dom.getParent(t,Ss))(e,n);r&&(e.dom.insertAfter(o,r),fT(e,o),(n.parentElement?.childNodes?.length??0)>1&&e.dom.remove(n))})(e,b,_);if(/^(LI|DT|DD)$/.test(r)&&Xr(s)&&i.isEmpty(_))return void((e,t,n,o,r)=>{const s=e.dom,a=e.selection.getRng(),i=n.parentNode;if(n===e.getBody()||!i)return;var l;CT(l=n)&&CT(l.parentNode)&&(r="LI");const c=wT(o)?xT(o):void 0;let d=wT(o)&&c?t(r,{style:xT(o)}):t(r);if(ET(n,o,!0)&&ET(n,o,!1))if(vT(n,"LI")){const e=ST(n);s.insertAfter(d,e),(e=>e.parentNode?.firstChild===e)(n)?s.remove(e):s.remove(n)}else s.replace(d,n);else if(ET(n,o,!0))vT(n,"LI")?(s.insertAfter(d,ST(n)),d.appendChild(s.doc.createTextNode(" ")),d.appendChild(n)):i.insertBefore(d,n),s.remove(o);else if(ET(n,o,!1))s.insertAfter(d,ST(n)),s.remove(o);else{n=ST(n);const e=a.cloneRange();e.setStartAfter(o),e.setEndAfter(n);const t=e.extractContents();if("LI"===r&&(e=>e.firstChild&&"LI"===e.firstChild.nodeName)(t)){const e=Y(V(d.children,un.fromDom),T(On("br")));d=t.firstChild,s.insertAfter(t,n),q(e,e=>fo(un.fromDom(d),e)),c&&d.setAttribute("style",c)}else s.insertAfter(t,n),s.insertAfter(d,n);s.remove(o)}fT(e,d)})(e,b,s,_,d);if(!(p||_!==e.getBody()&&NT(i,_)))return;const N=_.parentNode;let R;if(p)R=b(d),f.fold(()=>{go(m,un.fromDom(R))},e=>{mo(e,un.fromDom(R))}),e.selection.setCursorLocation(R,0);else if(Zi(_))R=al(_),i.isEmpty(_)&&hT(_),bT(e,R),fT(e,R);else if(y(!1))R=w();else if(y(!0)&&N){const t=Kl.fromRangeStart(c),n=ib(t),o=un.fromDom(_),r=Eb(o,t,e.schema)?xb(o,t,e.schema).bind(e=>I.from(e.getNode())):I.none();R=N.insertBefore(b(),_);const s=kT(_,"HR")||n?R:r.getOr(_);fT(e,s)}else{const t=(e=>{const t=e.cloneRange();return t.setStart(e.startContainer,RT(!0,e.startContainer,e.startOffset)),t.setEnd(e.endContainer,RT(!1,e.endContainer,e.endOffset)),t})(c).cloneRange();t.setEndAfter(_);const n=t.extractContents();(e=>{q(Nr(un.fromDom(e),An),e=>{const t=e.dom;t.nodeValue=Gi(t.data)})})(n),(e=>{let t=e;do{ss(t)&&(t.data=t.data.replace(/^[\r\n]+/,"")),t=t.firstChild}while(t)})(n),R=n.firstChild,_===R?C(N)&&i.insertAfter(n,N):i.insertAfter(n,_),(e=>{const t=Wn(e).bind(jn);return ji(e)&&t.exists(zi)})(un.fromDom(R))?(e=>{const t=YA(un.fromDom(e),0).element;An(t)&&i.isEmpty(t.dom)&&t.dom.remove()})(R):(((e,t,n)=>{const o=[];if(!n)return;let r=n;for(;r=r.firstChild;){if(e.isBlock(r))return;Xr(r)&&!t[r.nodeName.toLowerCase()]&&o.push(r)}let s=o.length;for(;s--;)r=o[s],(!r.hasChildNodes()||r.firstChild===r.lastChild&&""===r.firstChild?.nodeValue||_T(e,r))&&e.remove(r)})(i,l,R),((e,t)=>{t.normalize();const n=t.lastChild;(!n||Xr(n)&&/^(left|right)$/gi.test(e.getStyle(n,"float",!0)))&&e.add(t,"br")})(i,_)),i.isEmpty(_)&&hT(_),R.normalize(),i.isEmpty(R)?(i.remove(R),w()):(bT(e,R),fT(e,R))}i.setAttrib(R,"id",""),e.dispatch("NewBlock",{newBlock:R})},fakeEventName:"insertParagraph"},DT=(e,t,n)=>{const o=e.dom.createRng();n?(o.setStartBefore(t),o.setEndBefore(t)):(o.setStartAfter(t),o.setEndAfter(t)),e.selection.setRng(o),fh(e,o)},TT=(e,t)=>{const n=un.fromTag("br");mo(un.fromDom(t),n),e.undoManager.add()},OT=(e,t)=>{BT(e.getBody(),t)||uo(un.fromDom(t),un.fromTag("br"));const n=un.fromTag("br");uo(un.fromDom(t),n),DT(e,n.dom,!1),e.undoManager.add()},BT=(e,t)=>{return n=Kl.after(t),!!ms(n.getNode())||kf(e,Kl.after(t)).map(e=>ms(e.getNode())).getOr(!1);var n},PT=e=>e&&"A"===e.nodeName&&"href"in e,LT=e=>e.fold(L,PT,PT,L),MT=(e,t)=>{t.fold(x,D(TT,e),D(OT,e),x)},IT={insert:(e,t)=>{const n=(e=>{const t=D(Jb,e),n=Kl.fromRangeStart(e.selection.getRng());return TN(t,e.getBody(),n).filter(LT)})(e);n.isSome()?n.each(D(MT,e)):((e,t)=>{const n=e.selection,o=e.dom,r=n.getRng();let s,a=!1;Wp(o,r).each(e=>{r.setStart(e.startContainer,e.startOffset),r.setEnd(e.endContainer,e.endOffset)});let i=r.startOffset,l=r.startContainer;if(Xr(l)&&l.hasChildNodes()){const e=i>l.childNodes.length-1;l=l.childNodes[Math.min(i,l.childNodes.length-1)]||l,i=e&&ss(l)?l.data.length:0}let c=o.getParent(l,o.isBlock);const d=c&&c.parentNode?o.getParent(c.parentNode,o.isBlock):null,m=d?d.nodeName.toUpperCase():"",u=!(!t||!t.ctrlKey);"LI"!==m||u||(c=d),ss(l)&&i>=l.data.length&&(((e,t,n)=>{const o=new Kr(t,n);let r;const s=e.getNonEmptyElements();for(;r=o.next();)if(s[r.nodeName.toLowerCase()]||ss(r)&&r.length>0)return!0;return!1})(e.schema,l,c||o.getRoot())||(s=o.create("br"),r.insertNode(s),r.setStartAfter(s),r.setEndAfter(s),a=!0)),s=o.create("br"),Gl(o,r,s),DT(e,s,a),e.undoManager.add()})(e,t)},fakeEventName:"insertLineBreak"},FT=(e,t)=>pT(e).filter(e=>t.length>0&&bn(un.fromDom(e),t)).isSome(),UT=Ne([{br:[]},{block:[]},{none:[]}]),zT=(e,t)=>(e=>FT(e,Nd(e)))(e),jT=e=>(t,n)=>(e=>pT(e).filter(e=>ji(un.fromDom(e))).isSome())(t)===e,$T=(e,t)=>(n,o)=>{const r=(e=>pT(e).fold(N(""),e=>e.nodeName.toUpperCase()))(n)===e.toUpperCase();return r===t},HT=e=>{const t=gT(e.dom,e.selection.getStart());return v(t)},VT=e=>$T("pre",e),qT=e=>(t,n)=>Sd(t)===e,WT=(e,t)=>(e=>FT(e,kd(e)))(e),KT=(e,t)=>t,YT=e=>{const t=Ed(e),n=gT(e.dom,e.selection.getStart());return C(n)&&e.schema.isValidChild(n.nodeName,t)},GT=e=>{const t=e.selection.getRng(),n=un.fromDom(t.startContainer),o=qn(n,t.startOffset).map(e=>Nn(e)&&!Sr(e));return t.collapsed&&o.getOr(!0)},XT=(e,t)=>(n,o)=>X(e,(e,t)=>e&&t(n,o),!0)?I.some(t):I.none(),QT=(e,t,n)=>{if(!t.mode.isReadOnly()){if(t.selection.isCollapsed()||(e=>{e.execCommand("delete")})(t),C(n)&&c_(t,e.fakeEventName).isDefaultPrevented())return;e.insert(t,n),C(n)&&l_(t,e.fakeEventName)}},ZT=(e,t)=>{if(e.mode.isReadOnly())return;const n=()=>QT(IT,e,t),o=()=>QT(AT,e,t),r=((e,t)=>wN([XT([zT],UT.none()),XT([VT(!0),HT],UT.none()),XT([$T("summary",!0)],UT.br()),XT([VT(!0),qT(!1),KT],UT.br()),XT([VT(!0),qT(!1)],UT.block()),XT([VT(!0),qT(!0),KT],UT.block()),XT([VT(!0),qT(!0)],UT.br()),XT([jT(!0),KT],UT.br()),XT([jT(!0)],UT.block()),XT([WT],UT.br()),XT([KT],UT.br()),XT([YT],UT.block()),XT([GT],UT.block())],[e,!(!t||!t.shiftKey)]).getOr(UT.none()))(e,t);switch(_d(e)){case"linebreak":r.fold(n,n,x);break;case"block":r.fold(o,o,x);break;case"invert":r.fold(o,n,x);break;default:r.fold(n,o,x)}},JT=Xt(),eO=JT.os.isiOS()&&JT.browser.isSafari(),tO=(e,t)=>{var n;t.isDefaultPrevented()||(t.preventDefault(),(n=e.undoManager).typing&&(n.typing=!1,n.add()),e.undoManager.transact(()=>{ZT(e,t)}))},nO=Xt(),oO=e=>e.stopImmediatePropagation(),rO=e=>e.keyCode===Tp.PAGE_UP||e.keyCode===Tp.PAGE_DOWN,sO=(e,t,n)=>{n&&!e.get()?t.on("NodeChange",oO,!0):!n&&e.get()&&t.off("NodeChange",oO),e.set(n)},aO=(e,t)=>e===t||e.contains(t),iO=(e,t)=>{const n=t.container(),o=t.offset();return ss(n)?(n.insertData(o,e),I.some(Kl(n,o+e.length))):rf(t).map(n=>{const o=un.fromText(e);return t.isAtEnd()?uo(n,o):mo(n,o),Kl(o.dom,e.length)})},lO=D(iO,dt),cO=D(iO," "),dO=e=>t=>{e.selection.setRng(t.toRange()),e.nodeChanged()},mO=e=>{const t=Kl.fromRangeStart(e.selection.getRng()),n=un.fromDom(e.getBody());if(e.selection.isCollapsed()){const o=D(Jb,e),r=Kl.fromRangeStart(e.selection.getRng());return TN(o,e.getBody(),r).bind((e=>t=>t.fold(t=>Nf(e.dom,Kl.before(t)),e=>Rf(e),e=>Af(e),t=>kf(e.dom,Kl.after(t))))(n)).map(o=>()=>((e,t,n)=>o=>Ob(e,o,n)?lO(t):cO(t))(n,t,e.schema)(o).each(dO(e)))}return I.none()},uO=e=>{return He(sn.browser.isFirefox()&&e.selection.isEditable()&&(t=e.dom,n=e.selection.getRng().startContainer,t.isEditable(t.getParent(n,"summary"))),()=>{const t=un.fromDom(e.getBody());e.selection.isCollapsed()||e.getDoc().execCommand("Delete"),((e,t,n)=>Ob(e,t,n)?lO(t):cO(t))(t,Kl.fromRangeStart(e.selection.getRng()),e.schema).each(dO(e))});var t,n},fO=e=>su(e)?[{keyCode:Tp.TAB,action:DA(BD,e,!0)},{keyCode:Tp.TAB,shiftKey:!0,action:DA(BD,e,!1)}]:[],gO=e=>{if(e.addShortcut("Meta+P","","mcePrint"),ZD(e),LE(e))return Re(null);{const t=AR(e);return(e=>{e.on("beforeinput",t=>{e.selection.isEditable()&&!H(t.getTargetRanges(),t=>!((e,t)=>!aO(e.getBody(),t.startContainer)||!aO(e.getBody(),t.endContainer)||gh(e.dom,t))(e,t))||t.preventDefault()})})(e),(e=>{e.on("keyup compositionstart",D(hA,e))})(e),((e,t)=>{e.on("keydown",n=>{n.isDefaultPrevented()||((e,t,n)=>{const o=sn.os.isMacOS()||sn.os.isiOS(),r=sn.browser.isFirefox();TA([{keyCode:Tp.RIGHT,action:DA(vA,e,!0)},{keyCode:Tp.LEFT,action:DA(vA,e,!1)},{keyCode:Tp.UP,action:DA(CA,e,!1)},{keyCode:Tp.DOWN,action:DA(CA,e,!0)},...o?[{keyCode:Tp.UP,action:DA(SA,e,!1),metaKey:!0,shiftKey:!0},{keyCode:Tp.DOWN,action:DA(SA,e,!0),metaKey:!0,shiftKey:!0}]:[],{keyCode:Tp.RIGHT,action:DA(_D,e,!0)},{keyCode:Tp.LEFT,action:DA(_D,e,!1)},{keyCode:Tp.UP,action:DA(kD,e,!1)},{keyCode:Tp.DOWN,action:DA(kD,e,!0)},{keyCode:Tp.UP,action:DA(kD,e,!1)},{keyCode:Tp.UP,action:DA(NA,e,!1)},{keyCode:Tp.DOWN,action:DA(NA,e,!0)},{keyCode:Tp.RIGHT,action:DA(BA,e,!0)},{keyCode:Tp.LEFT,action:DA(BA,e,!1)},{keyCode:Tp.UP,action:DA(PA,e,!1)},{keyCode:Tp.DOWN,action:DA(PA,e,!0)},{keyCode:Tp.RIGHT,action:DA(NR,e,t,!0)},{keyCode:Tp.LEFT,action:DA(NR,e,t,!1)},{keyCode:Tp.RIGHT,ctrlKey:!o,altKey:o,action:DA(DR,e,t)},{keyCode:Tp.LEFT,ctrlKey:!o,altKey:o,action:DA(TR,e,t)},{keyCode:Tp.UP,action:DA(kA,e,!1)},{keyCode:Tp.DOWN,action:DA(kA,e,!0)},...r?[{keyCode:Tp.UP,action:DA(xA,e,!1)},{keyCode:Tp.DOWN,action:DA(xA,e,!0)}]:[]],n).each(e=>{n.preventDefault()})})(e,t,n)})})(e,t),((e,t)=>{let n=!1,o=[];e.on("init",()=>{e.on("keydown",r=>{n=r.keyCode===Tp.BACKSPACE,o=UR(e),r.isDefaultPrevented()||((e,t,n)=>{const o=n.keyCode===Tp.BACKSPACE?"deleteContentBackward":"deleteContentForward",r=e.selection.isCollapsed(),s=r?"character":"selection",a=e=>r?e?"word":"line":"selection";OA([{keyCode:Tp.BACKSPACE,action:DA(nA,e)},{keyCode:Tp.BACKSPACE,action:DA(lN,e,!1)},{keyCode:Tp.DELETE,action:DA(lN,e,!0)},{keyCode:Tp.BACKSPACE,action:DA(eN,e,!1)},{keyCode:Tp.DELETE,action:DA(eN,e,!0)},{keyCode:Tp.BACKSPACE,action:DA(LR,e,t,!1)},{keyCode:Tp.DELETE,action:DA(LR,e,t,!0)},{keyCode:Tp.BACKSPACE,action:DA(Uy,e,!1)},{keyCode:Tp.DELETE,action:DA(Uy,e,!0)},{keyCode:Tp.BACKSPACE,action:DA(lT,e,!1,s)},{keyCode:Tp.DELETE,action:DA(lT,e,!0,s)},...mT?[{keyCode:Tp.BACKSPACE,altKey:!0,action:DA(lT,e,!1,a(!0))},{keyCode:Tp.DELETE,altKey:!0,action:DA(lT,e,!0,a(!0))},{keyCode:Tp.BACKSPACE,metaKey:!0,action:DA(lT,e,!1,a(!1))}]:[{keyCode:Tp.BACKSPACE,ctrlKey:!0,action:DA(lT,e,!1,a(!0))},{keyCode:Tp.DELETE,ctrlKey:!0,action:DA(lT,e,!0,a(!0))}],{keyCode:Tp.BACKSPACE,action:DA(dN,e,!1)},{keyCode:Tp.DELETE,action:DA(dN,e,!0)},{keyCode:Tp.BACKSPACE,action:DA(YR,e,!1)},{keyCode:Tp.DELETE,action:DA(YR,e,!0)},{keyCode:Tp.BACKSPACE,action:DA(Kk,e,!1)},{keyCode:Tp.DELETE,action:DA(Kk,e,!0)},{keyCode:Tp.BACKSPACE,action:DA(Vk,e,!1)},{keyCode:Tp.DELETE,action:DA(Vk,e,!0)},{keyCode:Tp.BACKSPACE,action:DA(qR,e,!1)},{keyCode:Tp.DELETE,action:DA(qR,e,!0)},{keyCode:Tp.BACKSPACE,action:DA(cN,e,!1)},{keyCode:Tp.DELETE,action:DA(cN,e,!0)},{keyCode:Tp.BACKSPACE,action:DA(oA,e,!1)},{keyCode:Tp.DELETE,action:DA(oA,e,!0)}],n).filter(t=>e.selection.isEditable()).each(t=>{n.preventDefault(),c_(e,o).isDefaultPrevented()||(t(),l_(e,o))})})(e,t,r)}),e.on("keyup",t=>{t.isDefaultPrevented()||(((e,t,n,o)=>{TA([{keyCode:Tp.BACKSPACE,action:DA(iN,e)},{keyCode:Tp.DELETE,action:DA(iN,e)},...mT?[{keyCode:Tp.BACKSPACE,altKey:!0,action:DA(WR,e)},{keyCode:Tp.DELETE,altKey:!0,action:DA(WR,e)},...n?[{keyCode:uT?224:91,action:DA(()=>($R(e,o),WR(e)))}]:[]]:[{keyCode:Tp.BACKSPACE,ctrlKey:!0,action:DA(WR,e)},{keyCode:Tp.DELETE,ctrlKey:!0,action:DA(WR,e)}]],t)})(e,t,n,o),o.length=0),n=!1})})})(e,t),(e=>{let t=I.none();e.on("keydown",n=>{n.keyCode===Tp.ENTER&&(eO&&(e=>{if(!e.collapsed)return!1;const t=e.startContainer;if(ss(t)){const n=/^[\uAC00-\uD7AF\u1100-\u11FF\u3130-\u318F\uA960-\uA97F\uD7B0-\uD7FF]$/,o=t.data.charAt(e.startOffset-1);return n.test(o)}return!1})(e.selection.getRng())?(e=>{t=I.some(e.selection.getBookmark()),e.undoManager.add()})(e):tO(e,n))}),e.on("keyup",n=>{n.keyCode===Tp.ENTER&&t.each(()=>((e,n)=>{e.undoManager.undo(),t.fold(x,t=>e.selection.moveToBookmark(t)),tO(e,n),t=I.none()})(e,n))})})(e),(e=>{e.on("keydown",t=>{t.isDefaultPrevented()||((e,t)=>{OA([{keyCode:Tp.SPACEBAR,action:DA(mO,e)},{keyCode:Tp.SPACEBAR,action:DA(uO,e)}],t).each(n=>{t.preventDefault(),c_(e,"insertText",{data:" "}).isDefaultPrevented()||(n(),l_(e,"insertText",{data:" "}))})})(e,t)})})(e),(e=>{e.on("input",t=>{t.isComposing||(e=>{const t=un.fromDom(e.getBody());e.selection.isCollapsed()&&zb(t,Kl.fromRangeStart(e.selection.getRng()),e.schema).each(t=>{e.selection.setRng(t.toRange())})})(e)})})(e),(e=>{e.on("keydown",t=>{t.isDefaultPrevented()||((e,t)=>{TA([...fO(e)],t).each(e=>{t.preventDefault()})})(e,t)})})(e),((e,t)=>{e.on("keydown",n=>{n.isDefaultPrevented()||((e,t,n)=>{const o=sn.os.isMacOS()||sn.os.isiOS();TA([{keyCode:Tp.END,action:DA(wA,e,!0)},{keyCode:Tp.HOME,action:DA(wA,e,!1)},...o?[]:[{keyCode:Tp.HOME,action:DA(SA,e,!1),ctrlKey:!0,shiftKey:!0},{keyCode:Tp.END,action:DA(SA,e,!0),ctrlKey:!0,shiftKey:!0}],{keyCode:Tp.END,action:DA(LA,e,!0)},{keyCode:Tp.HOME,action:DA(LA,e,!1)},{keyCode:Tp.END,action:DA(OR,e,!0,t)},{keyCode:Tp.HOME,action:DA(OR,e,!1,t)}],n).each(e=>{n.preventDefault()})})(e,t,n)})})(e,t),((e,t)=>{if(nO.os.isMacOS())return;const n=Re(!1);e.on("keydown",t=>{rO(t)&&sO(n,e,!0)}),e.on("keyup",o=>{o.isDefaultPrevented()||((e,t,n)=>{TA([{keyCode:Tp.PAGE_UP,action:DA(OR,e,!1,t)},{keyCode:Tp.PAGE_DOWN,action:DA(OR,e,!0,t)}],n)})(e,t,o),rO(o)&&n.get()&&(sO(n,e,!1),e.nodeChanged())})})(e,t),t}},pO=(e,t)=>()=>{const n=P_(e);return C(n)&&n.nodeName===t},hO=e=>3===e.type,bO=e=>0===e.length,yO=e=>{const t=(t,n)=>{const o=xh.create("li");q(t,e=>o.append(e)),n?e.insert(o,n,!0):e.append(o)},n=X(e.children(),(e,n)=>hO(n)?[...e,n]:bO(e)||hO(n)?e:(t(e,n),[]),[]);bO(n)||t(n)},vO=e=>{(e=>{e.on("init",()=>{e.on("keydown",t=>{t.defaultPrevented||(t.keyCode===Tp.BACKSPACE?Bk(e,!1)&&t.preventDefault():t.keyCode===Tp.DELETE&&Bk(e,!0)&&t.preventDefault())})})})(e),(e=>{e.addCommand("InsertUnorderedList",(t,n)=>{kk(e,"UL",n)}),e.addCommand("InsertOrderedList",(t,n)=>{kk(e,"OL",n)}),e.addCommand("InsertDefinitionList",(t,n)=>{kk(e,"DL",n)}),e.addCommand("RemoveList",()=>{gk(e)}),e.addCommand("mceListUpdate",(t,n)=>{f(n)&&((e,t)=>{const n=P_(e);null===n||$_(e,n)||e.undoManager.transact(()=>{f(t.styles)&&e.dom.setStyles(n,t.styles),f(t.attrs)&&he(t.attrs,(t,o)=>e.dom.setAttrib(n,o,t))})})(e,n)}),e.addCommand("mceListBackspaceDelete",(t,n)=>{Bk(e,n)}),e.addQueryStateHandler("InsertUnorderedList",pO(e,"UL")),e.addQueryStateHandler("InsertOrderedList",pO(e,"OL")),e.addQueryStateHandler("InsertDefinitionList",pO(e,"DL"))})(e),(e=>{e.on("PreInit",()=>{const{parser:t}=e;t.addNodeFilter("ul,ol",e=>q(e,yO))})})(e),(e=>{hu(e)&&(e=>{e.on("keydown",t=>{t.keyCode!==Tp.TAB||Tp.metaKeyPressed(t)||e.undoManager.transact(()=>{(t.shiftKey?fk(e):uk(e))&&t.preventDefault()})})})(e)})(e)};class CO{editor;lastPath=[];constructor(e){let t;this.editor=e;const n=this;"onselectionchange"in e.getDoc()||e.on("NodeChange click mouseup keyup focus",n=>{const o=e.selection.getRng(),r={startContainer:o.startContainer,startOffset:o.startOffset,endContainer:o.endContainer,endOffset:o.endOffset};"nodechange"!==n.type&&Up(r,t)||e.dispatch("SelectionChange"),t=r}),e.on("contextmenu",()=>{pp(e),e.dispatch("SelectionChange")}),e.on("SelectionChange",()=>{const t=e.selection.getStart(!0);t&&og(e)&&!n.isSameElementPath(t)&&e.dom.isChildOf(t,e.getBody())&&e.nodeChanged({selectionChange:!0})}),e.on("mouseup",t=>{!t.isDefaultPrevented()&&og(e)&&("IMG"===e.selection.getNode().nodeName?yp.setEditorTimeout(e,()=>{e.nodeChanged()}):e.nodeChanged())})}nodeChanged(e={}){const t=this.editor,n=t.selection;let o;if(t.initialized&&n&&!vm(t)&&!fu(t)){const r=t.getBody();o=n.getStart(!0)||r,o.ownerDocument===t.getDoc()&&t.dom.isChildOf(o,r)||(o=r);const s=[];t.dom.getParent(o,e=>e===r||(s.push(e),!1)),t.dispatch("NodeChange",{...e,element:o,parents:s})}}isSameElementPath(e){let t;const n=this.editor,o=re(n.dom.getParents(e,M,n.getBody()));if(o.length===this.lastPath.length){for(t=o.length;t>=0&&o[t]===this.lastPath[t];t--);if(-1===t)return this.lastPath=o,!0}return this.lastPath=o,!1}}const wO="x-tinymce/html",SO=N(wO),EO="\x3c!-- "+wO+" --\x3e",xO=e=>EO+e,_O=e=>-1!==e.indexOf(EO),kO="%MCEPASTEBIN%",NO=e=>e.dom.get("mcepastebin"),RO=e=>C(e)&&"mcepastebin"===e.id,AO=e=>e===kO,DO=(e,t)=>(dn.each(t,t=>{e=m(t,RegExp)?e.replace(t,""):e.replace(t[0],t[1])}),e),TO=e=>DO(e,[/^[\s\S]*]*>\s*|\s*<\/body[^>]*>[\s\S]*$/gi,/|/g,[/( ?)\u00a0<\/span>( ?)/g,(e,t,n)=>t||n?dt:" "],/
    /g,/
    $/i]),OO=(e,t)=>({content:e,cancelled:t}),BO=(e,t)=>(e.insertContent(t,{merge:Hm(e),paste:!0}),!0),PO=e=>/^https?:\/\/[\w\-\/+=.,!;:&%@^~(){}?#]+$/i.test(e),LO=(e,t,n)=>!(e.selection.isCollapsed()||!PO(t))&&((e,t,n)=>(e.undoManager.extra(()=>{n(e,t)},()=>{e.execCommand("mceInsertLink",!1,t)}),!0))(e,t,n),MO=(e,t,n)=>!!((e,t)=>PO(t)&&H(ru(e),e=>Ze(t.toLowerCase(),`.${e.toLowerCase()}`)))(e,t)&&((e,t,n)=>(e.undoManager.extra(()=>{n(e,t)},()=>{e.insertContent('')}),!0))(e,t,n),IO=(()=>{let e=0;return()=>"mceclip"+e++})(),FO=e=>{const t=fD();return gD(t,e),aD(t),t},UO=(e,t,n,o,r)=>{const s=((e,t,n)=>((e,t,n)=>{const o=((e,t,n)=>e.dispatch("PastePreProcess",{content:t,internal:n}))(e,t,n),r=((e,t)=>{const n=bS({sanitize:nu(e),sandbox_iframes:lu(e),sandbox_iframes_exclusions:cu(e),convert_unsafe_embeds:du(e)},e.schema);n.addNodeFilter("meta",e=>{dn.each(e,e=>{e.remove()})});const o=n.parse(t,{forced_root_block:!1,isRootContent:!0});return Hh({validate:!0},e.schema).serialize(o)})(e,o.content);return e.hasEventListeners("PastePostProcess")&&!o.isDefaultPrevented()?((e,t,n)=>{const o=e.dom.create("div",{style:"display:none"},t),r=((e,t,n)=>e.dispatch("PastePostProcess",{node:t,internal:n}))(e,o,n);return OO(r.node.innerHTML,r.isDefaultPrevented())})(e,r,n):OO(r,o.isDefaultPrevented())})(e,t,n))(e,t,n);if(!s.cancelled){const t=s.content,n=()=>((e,t,n)=>{n||!Vm(e)?BO(e,t):((e,t)=>{dn.each([LO,MO,BO],n=>!n(e,t,BO))})(e,t)})(e,t,o);r?c_(e,"insertFromPaste",{dataTransfer:FO(t)}).isDefaultPrevented()||(n(),l_(e,"insertFromPaste")):n()}},zO=(e,t,n,o)=>{const r=n||_O(t);UO(e,(e=>e.replace(EO,""))(t),r,!1,o)},jO=(e,t,n)=>{const o=e.dom.encode(t).replace(/\r\n/g,"\n"),r=((e,t,n)=>{const o=e.split(/\n\n/),r=((e,t)=>{let n="<"+e;const o=Se(t,(e,t)=>t+'="'+Sa.encodeAllRaw(e)+'"');return o.length&&(n+=" "+o.join(" ")),n+">"})(t,n),s="",a=V(o,e=>e.split(/\n/).join("
    "));return 1===a.length?a[0]:V(a,e=>r+e+s).join("")})(As(o,Wm(e)),Ed(e),xd(e));UO(e,r,!1,!0,n)},$O=e=>{const t={};if(e&&e.types)for(let n=0;nt in e&&e[t].length>0,VO=e=>HO(e,"text/html")||HO(e,"text/plain"),qO=async(e,t)=>xC(t.uri).fold(()=>Promise.resolve(),({data:n,type:o,base64Encoded:r})=>{const s=r?n:btoa(n),a=t.file,i=e.editorUpload.blobCache,l=(i.getByData(s,o)??((e,t,n,o)=>{const r=IO(),s=Td(e)&&C(n.name),a=s?((e,t)=>{const n=t.match(/([\s\S]+?)(?:\.[a-z0-9.]+)$/i);return C(n)?e.dom.encode(n[1]):void 0})(e,n.name):r,i=s?n.name:void 0,l=t.create(r,n,o,a,i);return t.add(l),l})(e,i,a,s)).blobUri();return(c=l,new Promise((e,t)=>{const n=document.createElement("img");n.addEventListener("load",()=>{e({width:n.naturalWidth,height:n.naturalHeight})}),n.addEventListener("error",()=>{t(`Failed to get image dimensions for: ${c}`)}),n.src=c})).then(({width:t,height:n})=>{zO(e,``,!1,!0)}).catch(()=>{zO(e,``,!1,!0)});var c}),WO=(e,t,n)=>{const o="paste"===t.type?t.clipboardData:t.dataTransfer;var r;if(Im(e)&&o){const s=((e,t)=>{const n=t.items?ne(me(t.items),e=>"file"===e.kind?[e.getAsFile()]:[]):[],o=t.files?me(t.files):[];return Y(n.length>0?n:o,(e=>{const t=ru(e);return e=>Qe(e.type,"image/")&&H(t,t=>(e=>{const t=e.toLowerCase(),n={jpg:"jpeg",jpe:"jpeg",jfi:"jpeg",jif:"jpeg",jfif:"jpeg",pjpeg:"jpeg",pjp:"jpeg",svg:"svg+xml"};return dn.hasOwn(n,t)?"image/"+n[t]:"image/"+t})(t)===e.type)})(e))})(e,o);if(s.length>0)return t.preventDefault(),(r=s,Promise.all(V(r,e=>kC(e).then(t=>({file:e,uri:t}))))).then(async t=>{n&&e.selection.setRng(n);for(const n of t)await qO(e,n)}),!0}return!1},KO=(e,t,n,o,r)=>{let s=TO(n);const a=HO(t,SO())||_O(n),i=!a&&(e=>!/<(?:\/?(?!(?:div|p|br|span)>)\w+|(?:(?!(?:span style="white-space:\s?pre;?">)|br\s?\/>))\w+\s[^>]+)>/i.test(e))(s),l=PO(s);(AO(s)||!s.length||i&&!l)&&(o=!0),(o||l)&&(s=HO(t,"text/plain")&&i?t["text/plain"]:(e=>{const t=Ua(),n=bS({},t);let o="";const r=t.getVoidElements(),s=dn.makeMap("script noscript style textarea video audio iframe object"," "),a=t.getBlockElements(),i=e=>{const n=e.name,l=e;if("br"!==n){if("wbr"!==n)if(r[n]&&(o+=" "),s[n])o+=" ";else{if(3===e.type&&(o+=e.value),!(e.name in t.getVoidElements())){let t=e.firstChild;if(t)do{i(t)}while(t=t.next)}a[n]&&l.next&&(o+="\n","p"===n&&(o+="\n"))}}else o+="\n"};return e=DO(e,[//g]),i(n.parse(e)),o})(s)),AO(s)||(o?jO(e,s,r):zO(e,s,a,r))},YO=(e,t,n)=>{((e,t,n)=>{let o;e.on("keydown",e=>{(e=>Tp.metaKeyPressed(e)&&86===e.keyCode||e.shiftKey&&45===e.keyCode)(e)&&!e.isDefaultPrevented()&&(o=e.shiftKey&&86===e.keyCode)}),e.on("paste",r=>{if(r.isDefaultPrevented()||(e=>sn.os.isAndroid()&&0===e.clipboardData?.items?.length)(r))return;const s="text"===n.get()||o;o=!1;const a=$O(r.clipboardData);!VO(a)&&WO(e,r,t.getLastRng()||e.selection.getRng())||(HO(a,"text/html")?(r.preventDefault(),KO(e,a,a["text/html"],s,!0)):HO(a,"text/plain")&&HO(a,"text/uri-list")?(r.preventDefault(),KO(e,a,a["text/plain"],s,!0)):(t.create(),yp.setEditorTimeout(e,()=>{const n=t.getHtml();t.remove(),KO(e,a,n,s,!1)},0)))})})(e,t,n),(e=>{const t=e=>Qe(e,"webkit-fake-url"),n=e=>Qe(e,"data:");e.parser.addNodeFilter("img",(o,r,s)=>{if(!Im(e)&&(e=>!0===e.data?.paste)(s))for(const r of o){const o=r.attr("src");u(o)&&!r.attr("data-mce-object")&&o!==sn.transparentSrc&&(t(o)||!Km(e)&&n(o))&&r.remove()}})})(e)},GO=(e,t,n,o)=>{((e,t,n)=>{if(!e)return!1;try{return e.clearData(),e.setData("text/html",t),e.setData("text/plain",n),e.setData(SO(),t),!0}catch{return!1}})(e.clipboardData,t.html,t.text)?(e.preventDefault(),o()):n(t.html,o)},XO=e=>(t,n)=>{const{dom:o,selection:r}=e,s=o.create("div",{contenteditable:"false","data-mce-bogus":"all"}),a=o.create("div",{contenteditable:"true"},t);o.setStyles(s,{position:"fixed",top:"0",left:"-3000px",width:"1000px",overflow:"hidden"}),s.appendChild(a),o.add(e.getBody(),s);const i=r.getRng();a.focus();const l=o.createRng();l.selectNodeContents(a),r.setRng(l),yp.setEditorTimeout(e,()=>{r.setRng(i),o.remove(s),n()},0)},QO=e=>({html:xO(e.selection.getContent({contextual:!0})),text:e.selection.getContent({format:"text"})}),ZO=e=>!e.selection.isCollapsed()||(e=>!!e.dom.getParent(e.selection.getStart(),"td[data-mce-selected],th[data-mce-selected]",e.getBody()))(e),JO=(e,t)=>Gp.getCaretRangeFromPoint(t.clientX??0,t.clientY??0,e.getDoc()),eB=(e,t)=>{t&&e.selection.setRng(t),e.focus()},tB=/rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*\)/gi,nB=e=>dn.trim(e).replace(tB,Ya).toLowerCase(),oB=(e,t,n)=>{const o=jm(e);if(n||"all"===o||!$m(e))return t;const r=o?o.split(/[, ]/):[];if(r&&"none"!==o){const n=e.dom,o=e.selection.getNode();t=t.replace(/(<[^>]+) style="([^"]*)"([^>]*>)/gi,(e,t,s,a)=>{const i=n.parseStyle(n.decode(s)),l={};for(let e=0;e]+) style="([^"]*)"([^>]*>)/gi,"$1$3");return t=t.replace(/(<[^>]+) data-mce-style="([^"]+)"([^>]*>)/gi,(e,t,n,o)=>t+' style="'+n+'"'+o),t},rB=(e,t)=>{const n=Re(!1),o=Re(qm(e)?"text":"html"),r=(e=>{const t=Re(null);return{create:()=>((e,t)=>{const{dom:n,selection:o}=e,r=e.getBody();t.set(o.getRng());const s=n.add(e.getBody(),"div",{id:"mcepastebin",class:"mce-pastebin",contentEditable:!0,"data-mce-bogus":"all",style:"position: fixed; top: 50%; width: 10px; height: 10px; overflow: hidden; opacity: 0"},kO);sn.browser.isFirefox()&&n.setStyle(s,"left","rtl"===n.getStyle(r,"direction",!0)?65535:-65535),n.bind(s,"beforedeactivate focusin focusout",e=>{e.stopPropagation()}),s.focus(),o.select(s,!0)})(e,t),remove:()=>((e,t)=>{const n=e.dom;if(NO(e)){let o;const r=t.get();for(;o=NO(e);)n.remove(o),n.unbind(o);r&&e.selection.setRng(r)}t.set(null)})(e,t),getEl:()=>NO(e),getHtml:()=>(e=>{const t=e.dom,n=(e,n)=>{e.appendChild(n),t.remove(n,!0)},[o,...r]=Y(e.getBody().childNodes,RO);q(r,e=>{n(o,e)});const s=t.select("div[id=mcepastebin]",o);for(let e=s.length-1;e>=0;e--){const r=t.create("div");o.insertBefore(r,s[e]),n(r,s[e])}return o?o.innerHTML:""})(e),getLastRng:t.get}})(e);(e=>{(sn.browser.isChromium()||sn.browser.isSafari())&&((e,t)=>{e.on("PastePreProcess",n=>{n.content=t(e,n.content,n.internal)})})(e,oB)})(e),((e,t)=>{e.addCommand("mceTogglePlainTextPaste",()=>{((e,t)=>{"text"===t.get()?(t.set("html"),ld(e,!1)):(t.set("text"),ld(e,!0)),e.focus()})(e,t)}),e.addCommand("mceInsertClipboardContent",(t,n)=>{n.html&&zO(e,n.html,n.internal,!1),n.text&&jO(e,n.text,!1)})})(e,o),(e=>{const t=t=>n=>{t(e,n)},n=Fm(e);w(n)&&e.on("PastePreProcess",t(n));const o=Um(e);w(o)&&e.on("PastePostProcess",t(o))})(e),e.addQueryStateHandler("mceTogglePlainTextPaste",()=>"text"===o.get()),e.on("PreInit",()=>{((e,t)=>{e.on("cut",((e,t)=>n=>{!n.isDefaultPrevented()&&ZO(e)&&e.selection.isEditable()&&GO(n,QO(e),XO(e),()=>{if(sn.browser.isChromium()||sn.browser.isFirefox()){const n=e.selection.getRng();yp.setEditorTimeout(e,()=>{e.selection.setRng(n),sA(e,t)},0)}else sA(e,t)})})(e,t)),e.on("copy",(e=>t=>{!t.isDefaultPrevented()&&ZO(e)&&GO(t,QO(e),XO(e),x)})(e))})(e,t),((e,t)=>{Mm(e)&&e.on("dragend dragover draggesture dragdrop drop drag",e=>{e.preventDefault(),e.stopPropagation()}),Im(e)||e.on("drop",e=>{const t=e.dataTransfer;t&&(e=>H(e.files,e=>/^image\//.test(e.type)))(t)&&e.preventDefault()}),e.on("drop",n=>{if(n.isDefaultPrevented())return;const o=JO(e,n);if(v(o))return;const r=$O(n.dataTransfer),s=HO(r,SO());if((!VO(r)||(e=>{const t=e["text/plain"];return!!t&&0===t.indexOf("file://")})(r))&&WO(e,n,o))return;const a=r[SO()],i=a||r["text/html"]||r["text/plain"],l=((e,t,n,o)=>{const r=e.getParent(n,e=>Zs(t,e));if(!h(e.getParent(n,"summary")))return!0;if(r&&_e(o,"text/html")){const e=(new DOMParser).parseFromString(o["text/html"],"text/html").body;return!h(e.querySelector(r.nodeName.toLowerCase()))}return!1})(e.dom,e.schema,o.startContainer,r),c=t.get();c&&!l||i&&(n.preventDefault(),yp.setEditorTimeout(e,()=>{e.undoManager.transact(()=>{(a||c&&l)&&e.execCommand("Delete"),eB(e,o);const t=TO(i);r["text/html"]?zO(e,t,s,!0):jO(e,t,!0)})}))}),e.on("dragstart",e=>{t.set(!0)}),e.on("dragover dragend",n=>{Im(e)&&!t.get()&&(n.preventDefault(),eB(e,JO(e,n))),"dragend"===n.type&&t.set(!1)}),(e=>{e.on("input",t=>{const n=e=>h(e.querySelector("summary"));if("deleteByDrag"===t.inputType){const t=Y(e.dom.select("details"),n);q(t,t=>{ms(t.firstChild)&&t.firstChild.remove();const n=e.dom.create("summary");n.appendChild(qi().dom),t.prepend(n)})}})})(e)})(e,n),YO(e,r,o)})},sB=ms,aB=ss,iB=e=>ps(e.dom),lB=e=>t=>vn(un.fromDom(e),t),cB=(e,t)=>lr(un.fromDom(e),iB,lB(t)),dB=(e,t,n)=>{const o=new Kr(e,t),r=n?o.next.bind(o):o.prev.bind(o);let s=e;for(let t=n?e:r();t&&!sB(t);t=r())Nl(t)&&(s=t);return s},mB=e=>{const t=((e,t,n)=>{const o=Kl.fromRangeStart(e).getNode(),r=((e,t,n)=>lr(un.fromDom(e),e=>(e=>gs(e.dom))(e)||n.isBlock(En(e)),lB(t)).getOr(un.fromDom(t)).dom)(o,t,n),s=dB(o,r,!1),a=dB(o,r,!0),i=document.createRange();return cB(s,r).fold(()=>{aB(s)?i.setStart(s,0):i.setStartBefore(s)},e=>i.setStartBefore(e.dom)),cB(a,r).fold(()=>{aB(a)?i.setEnd(a,a.data.length):i.setEndAfter(a)},e=>i.setEndAfter(e.dom)),i})(e.selection.getRng(),e.getBody(),e.schema);e.selection.setRng(vC(t))};var uB;!function(e){e.Before="before",e.After="after"}(uB||(uB={}));const fB=(e,t)=>Math.abs(e.left-t),gB=(e,t)=>Math.abs(e.right-t),pB=(e,t)=>(e=>X(e,(e,t)=>e.fold(()=>I.some(t),e=>{const n=Math.min(t.left,e.left),o=Math.min(t.top,e.top),r=Math.max(t.right,e.right),s=Math.max(t.bottom,e.bottom);return I.some({top:o,right:r,bottom:s,left:n,width:r-n,height:s-o})}),I.none()))(Y(e,e=>{return(n=t)>=(o=e).top&&n<=o.bottom;var n,o})).fold(()=>[[],e],t=>{const{pass:n,fail:o}=K(e,e=>((e,t)=>{const n=((e,t)=>Math.max(0,Math.min(e.bottom,t.bottom)-Math.max(e.top,t.top)))(e,t)/Math.min(e.height,t.height);return((e,t)=>e.topt.top)(e,t)&&n>.5})(e,t));return[n,o]}),hB=(e,t,n)=>t>e.left&&t{const r=e=>Nl(e.node)?I.some(e):Xr(e.node)?bB(me(e.node.childNodes),t,n,!1):I.none(),s=(e,s)=>{const a=ie(e,(e,o)=>s(e,t,n)-s(o,t,n));return ue(a,r).map(e=>o&&!ss(e.node)&&a.length>1?((e,o,s)=>r(o).filter(o=>Math.abs(s(e,t,n)-s(o,t,n))<2&&ss(o.node)))(e,a[1],s).getOr(e):e)},[a,i]=pB(iR(e),n),{pass:l,fail:c}=K(i,e=>e.tops(c,gl)).orThunk(()=>s(l,gl))},yB=(e,t,n)=>((e,t,n)=>{const o=un.fromDom(e),r=Pn(o),s=un.fromPoint(r,t,n).filter(e=>Cn(o,e)).getOr(o);return((e,t,n,o)=>{const r=(t,s)=>{const a=Y(t.dom.childNodes,T(e=>Xr(e)&&e.classList.contains("mce-drag-container")));return s.fold(()=>bB(a,n,o,!0),e=>{const t=Y(a,t=>t!==e.dom);return bB(t,n,o,!0)}).orThunk(()=>(vn(t,e)?I.none():In(t)).bind(e=>r(e,I.some(t))))};return r(t,I.none())})(o,s,t,n)})(e,t,n).filter(e=>Bu(e.node)).map(e=>((e,t)=>({node:e.node,position:fB(e,t){const t=e.getBoundingClientRect(),n=e.ownerDocument,o=n.documentElement,r=n.defaultView;return{top:t.top+(r?.scrollY??0)-o.clientTop,left:t.left+(r?.scrollX??0)-o.clientLeft}},CB=e=>({target:e,srcElement:e}),wB=(e,t,n,o)=>{const r=((e,t)=>{const n=(e=>{const t=fD(),n=(e=>{const t=e;return I.from(t[nD])})(e);return aD(e),ZA(t),t.dropEffect=e.dropEffect,t.effectAllowed=e.effectAllowed,(e=>{const t=e;return I.from(t[GA])})(e).each(e=>t.setDragImage(e.image,e.x,e.y)),q(e.types,n=>{"Files"!==n&&t.setData(n,e.getData(n))}),q(e.files,e=>t.items.add(e)),(e=>{const t=e;return I.from(t[XA])})(e).each(e=>{((e,t)=>{QA(t)(e)})(t,e)}),n.each(n=>{rD(e,n),rD(t,n)}),t})(e);return"dragstart"===t?(ZA(n),sD(n)):"drop"===t?(JA(n),aD(n)):(eD(n),iD(n)),n})(n,e);return y(o)?((e,t,n)=>{const o=O("Function not supported on simulated event.");return{bubbles:!0,cancelBubble:!1,cancelable:!0,composed:!1,currentTarget:null,defaultPrevented:!1,eventPhase:0,isTrusted:!0,returnValue:!1,timeStamp:0,type:e,composedPath:o,initEvent:o,preventDefault:x,stopImmediatePropagation:x,stopPropagation:x,AT_TARGET:window.Event.AT_TARGET,BUBBLING_PHASE:window.Event.BUBBLING_PHASE,CAPTURING_PHASE:window.Event.CAPTURING_PHASE,NONE:window.Event.NONE,altKey:!1,button:0,buttons:0,clientX:0,clientY:0,ctrlKey:!1,layerX:0,layerY:0,metaKey:!1,movementX:0,movementY:0,offsetX:0,offsetY:0,pageX:0,pageY:0,relatedTarget:null,screenX:0,screenY:0,shiftKey:!1,x:0,y:0,detail:0,view:null,which:0,initUIEvent:o,initMouseEvent:o,getModifierState:o,dataTransfer:n,...CB(t)}})(e,t,r):((e,t,n,o)=>({...t,dataTransfer:o,type:e,...CB(n)}))(e,o,t,r)},SB=ps,EB=((...e)=>t=>{for(let n=0;n{const r=e.dom,s=t.cloneNode(!0);r.setStyles(s,{width:n,height:o}),r.setAttrib(s,"data-mce-selected",null);const a=r.create("div",{class:"mce-drag-container","data-mce-bogus":"all",unselectable:"on",contenteditable:"false"});return r.setStyles(a,{position:"absolute",opacity:.5,overflow:"hidden",border:0,padding:0,margin:0,width:n,height:o}),r.setStyles(s,{margin:0,boxSizing:"border-box"}),a.appendChild(s),a},_B=(e,t)=>n=>()=>{const o="left"===e?n.scrollX:n.scrollY;n.scroll({[e]:o+t,behavior:"smooth"})},kB=_B("left",-32),NB=_B("left",32),RB=_B("top",-32),AB=_B("top",32),DB=e=>{e&&e.parentNode&&e.parentNode.removeChild(e)},TB=(e,t,n,o,r)=>{"dragstart"===t&&gD(o,e.dom.getOuterHTML(n));const s=wB(t,n,o,r);return e.dispatch(t,s)},OB=(e,t)=>{const n=at((e,n)=>((e,t,n)=>{e._selectionOverrides.hideFakeCaret(),yB(e.getBody(),t,n).fold(()=>e.selection.placeCaretAt(t,n),o=>{const r=e._selectionOverrides.showCaret(1,o.node,o.position===uB.Before,!1);r?e.selection.setRng(r):e.selection.placeCaretAt(t,n)})})(t,e,n),0);t.on("remove",n.cancel);const o=e;return r=>e.on(e=>{const s=Math.max(Math.abs(r.screenX-e.screenX),Math.abs(r.screenY-e.screenY));if(!e.dragging&&s>10){const n=TB(t,"dragstart",e.element,e.dataTransfer,r);if(C(n.dataTransfer)&&(e.dataTransfer=n.dataTransfer),n.isDefaultPrevented())return;e.dragging=!0,t.focus()}if(e.dragging){const s=r.currentTarget===t.getDoc().documentElement,l=((e,t)=>({pageX:t.pageX-e.relX,pageY:t.pageY+5}))(e,((e,t)=>{return n=(e=>e.inline?vB(e.getBody()):{left:0,top:0})(e),o=(e=>{const t=e.getBody();return e.inline?{left:t.scrollLeft,top:t.scrollTop}:{left:0,top:0}})(e),r=((e,t)=>{if(t.target.ownerDocument!==e.getDoc()){const n=vB(e.getContentAreaContainer()),o=(e=>{const t=e.getBody(),n=e.getDoc().documentElement,o={left:t.scrollLeft,top:t.scrollTop},r={left:t.scrollLeft||n.scrollLeft,top:t.scrollTop||n.scrollTop};return e.inline?o:r})(e);return{left:t.pageX-n.left+o.left,top:t.pageY-n.top+o.top}}return{left:t.pageX,top:t.pageY}})(e,t),{pageX:r.left-n.left+o.left,pageY:r.top-n.top+o.top};var n,o,r})(t,r));a=e.ghost,i=t.getBody(),a.parentNode!==i&&i.appendChild(a),((e,t,n,o,r,s,a,i,l,c,d,m)=>{let u=0,f=0;e.style.left=t.pageX+"px",e.style.top=t.pageY+"px",t.pageX+n>r&&(u=t.pageX+n-r),t.pageY+o>s&&(f=t.pageY+o-s),e.style.width=n-u+"px",e.style.height=o-f+"px";const g=l.clientHeight,p=l.clientWidth,h=a+l.getBoundingClientRect().top,b=i+l.getBoundingClientRect().left;d.on(e=>{e.intervalId.clear(),e.dragging&&m&&(a+8>=g?e.intervalId.set(AB(c)):a-8<=0?e.intervalId.set(RB(c)):i+8>=p?e.intervalId.set(NB(c)):i-8<=0?e.intervalId.set(kB(c)):h+16>=window.innerHeight?e.intervalId.set(AB(window)):h-16<=0?e.intervalId.set(RB(window)):b+16>=window.innerWidth?e.intervalId.set(NB(window)):b-16<=0&&e.intervalId.set(kB(window)))})})(e.ghost,l,e.width,e.height,e.maxX,e.maxY,r.clientY,r.clientX,t.getContentAreaContainer(),t.getWin(),o,s),n.throttle(r.clientX,r.clientY)}var a,i})},BB=(e,t,n)=>{e.on(e=>{e.intervalId.clear(),e.dragging&&n.fold(()=>TB(t,"dragend",e.element,e.dataTransfer),n=>TB(t,"dragend",e.element,e.dataTransfer,n))}),PB(e)},PB=e=>{e.on(e=>{e.intervalId.clear(),DB(e.ghost)}),e.clear()},LB=e=>{const t=Ke(),n=gi.DOM,o=document,r=((e,t)=>n=>{if((e=>0===e.button)(n)){const o=Z(t.dom.getParents(n.target),EB).getOr(null);if(C(o)&&((e,t,n)=>SB(n)&&n!==t&&e.isEditable(n.parentElement))(t.dom,t.getBody(),o)){const r=t.dom.getPos(o),s=t.getBody(),a=t.getDoc().documentElement;e.set({element:o,dataTransfer:fD(),dragging:!1,screenX:n.screenX,screenY:n.screenY,maxX:(t.inline?s.scrollWidth:a.offsetWidth)-2,maxY:(t.inline?s.scrollHeight:a.offsetHeight)-2,relX:n.pageX-r.x,relY:n.pageY-r.y,width:o.offsetWidth,height:o.offsetHeight,ghost:xB(t,o,o.offsetWidth,o.offsetHeight),intervalId:We(100)})}}})(t,e),s=OB(t,e),a=((e,t)=>n=>{e.on(e=>{if(e.intervalId.clear(),e.dragging){if(((e,t,n)=>!v(t)&&t!==n&&!e.dom.isChildOf(t,n)&&e.dom.isEditable(t))(t,(e=>{const t=e.getSel();if(C(t)){const e=t.getRangeAt(0).startContainer;return ss(e)?e.parentNode:e}return null})(t.selection),e.element)){const o=t.getDoc().elementFromPoint(n.clientX,n.clientY)??t.getBody();TB(t,"drop",o,e.dataTransfer,n).isDefaultPrevented()||t.undoManager.transact(()=>{((e,t)=>{const n=e.getParent(t.parentNode,e.isBlock);DB(t),n&&n!==e.getRoot()&&e.isEmpty(n)&&Wi(un.fromDom(n))})(t.dom,e.element),(e=>{const t=e.getData("text/html");return""===t?I.none():I.some(t)})(e.dataTransfer).each(e=>t.insertContent(e)),t._selectionOverrides.hideFakeCaret()})}TB(t,"dragend",t.getBody(),e.dataTransfer,n)}}),PB(e)})(t,e),i=((e,t)=>n=>BB(e,t,I.some(n)))(t,e);e.on("mousedown",r),e.on("mousemove",s),e.on("mouseup",a),n.bind(o,"mousemove",s),n.bind(o,"mouseup",i),e.on("remove",()=>{n.unbind(o,"mousemove",s),n.unbind(o,"mouseup",i)}),e.on("keydown",n=>{n.keyCode===Tp.ESC&&BB(t,e,I.none())})},MB=ps,IB=(e,t)=>zy(e.getBody(),t),FB=e=>{const t=e.selection,n=e.dom,o=e.getBody(),r=Du(e,o,n.isBlock,()=>Rp(e)),s="sel-"+n.uniqueId(),a="data-mce-selected";let i;const l=e=>e!==o&&(MB(e)||Cs(e))&&n.isChildOf(e,o)&&n.isEditable(e.parentNode),c=(n,o,s,a=!0)=>e.dispatch("ShowCaret",{target:o,direction:n,before:s}).isDefaultPrevented()?null:(a&&t.scrollIntoView(o,-1===n),r.show(s,o)),d=e=>el(e)||rl(e)||sl(e),m=e=>d(e.startContainer)||d(e.endContainer),u=t=>{const o=e.schema.getVoidElements(),r=n.createRng(),s=t.startContainer,a=t.startOffset,i=t.endContainer,l=t.endOffset;return _e(o,s.nodeName.toLowerCase())?0===a?r.setStartBefore(s):r.setStartAfter(s):r.setStart(s,a),_e(o,i.nodeName.toLowerCase())?0===l?r.setEndBefore(i):r.setEndAfter(i):r.setEnd(i,l),r},f=(r,d)=>{if(!r)return null;if(r.collapsed){if(!m(r)){const e=d?1:-1,t=of(e,o,r),s=t.getNode(!d);if(C(s)){if(Bu(s))return c(e,s,!!d&&!t.isAtEnd(),!1);if(Ji(s)&&ps(s.nextSibling)){const e=n.createRng();return e.setStart(s,0),e.setEnd(s,0),e}}const a=t.getNode(d);if(C(a)){if(Bu(a))return c(e,a,!d&&!t.isAtEnd(),!1);if(Ji(a)&&ps(a.previousSibling)){const e=n.createRng();return e.setStart(a,1),e.setEnd(a,1),e}}}return null}let u=r.startContainer,f=r.startOffset;const g=r.endOffset;if(ss(u)&&0===f&&MB(u.parentNode)&&(u=u.parentNode,f=n.nodeIndex(u),u=u.parentNode),!Xr(u))return null;if(g===f+1&&u===r.endContainer){const o=u.childNodes[f];if(l(o))return(o=>{const r=_s(o)?(t=>{const n=e.getDoc().createElement("div");n.style.width=t.style.width,n.style.height=t.style.height;const o=t.getAttribute("width");o&&n.setAttribute("width",o);const r=t.getAttribute("height");return r&&n.setAttribute("height",r),n})(o):o.cloneNode(!0),l=e.dispatch("ObjectSelected",{target:o,targetClone:r});if(l.isDefaultPrevented())return null;const c=((o,r)=>{const a=un.fromDom(e.getBody()),i=e.getDoc(),l=ur(a,"#"+s).getOrThunk(()=>{const e=un.fromHtml('
    ',i);return vo(e,"id",s),go(a,e),e}),c=n.createRng();No(l),bo(l,[un.fromText(dt,i),un.fromDom(r),un.fromText(dt,i)]),c.setStart(l.dom.firstChild,1),c.setEnd(l.dom.lastChild,0),jo(l,{top:n.getPos(o,e.getBody()).y+"px"}),io(l);const d=t.getSel();return d&&(d.removeAllRanges(),d.addRange(c)),c})(o,l.targetClone),d=un.fromDom(o);return q(Rr(un.fromDom(e.getBody()),`*[${a}]`),e=>{vn(d,e)||xo(e,a)}),n.getAttrib(o,a)||o.setAttribute(a,"1"),i=o,p(),c})(o)}return null},g=()=>{i&&i.removeAttribute(a),ur(un.fromDom(e.getBody()),"#"+s).each(Ro),i=null},p=()=>{r.hide()};return LE(e)||(e.on("click",t=>{n.isEditable(t.target)||(t.preventDefault(),e.focus())}),e.on("blur NewBlock",g),e.on("ResizeWindow FullscreenStateChanged",r.reposition),e.on("tap",t=>{const n=t.target,o=IB(e,n);MB(o)?(t.preventDefault(),Gk(e,o).each(f)):l(n)&&Gk(e,n).each(f)},!0),e.on("mousedown",r=>{const s=r.target;if(s!==o&&"HTML"!==s.nodeName&&!n.isChildOf(s,o))return;if(!((e,t,n)=>{const o=un.fromDom(e.getBody()),r=e.inline?o:un.fromDom(Pn(o).dom.documentElement),s=((e,t,n,o)=>{const r=(e=>e.dom.getBoundingClientRect())(t);return{x:n-(e?r.left+t.dom.clientLeft+tx(t):0),y:o-(e?r.top+t.dom.clientTop+ex(t):0)}})(e.inline,r,t,n);return((e,t,n)=>{const o=ZE(e),r=JE(e);return t>=0&&n>=0&&t<=o&&n<=r})(r,s.x,s.y)})(e,r.clientX,r.clientY))return;g(),p();const a=IB(e,s);MB(a)?(r.preventDefault(),Gk(e,a).each(f)):yB(o,r.clientX,r.clientY).each(n=>{var o;r.preventDefault(),(o=c(1,n.node,n.position===uB.Before,!1))&&t.setRng(o),Qr(a)?a.focus():e.getBody().focus()})}),e.on("keypress",e=>{Tp.modifierPressed(e)||MB(t.getNode())&&e.preventDefault()}),e.on("GetSelectionRange",e=>{let t=e.range;if(i){if(!i.parentNode)return void(i=null);t=t.cloneRange(),t.selectNode(i),e.range=t}}),e.on("focusin",t=>{if(!Cs(t.target)&&e.getBody().contains(t.target)&&t.target!==e.getBody()&&!e.dom.isEditable(t.target.parentNode)){r.isShowing()&&r.hide(),t.target.contains(e.selection.getNode())||(e.selection.select(t.target,!0),e.selection.collapse(!0));const n=f(e.selection.getRng(),!0);n&&e.selection.setRng(n)}}),e.on("SetSelectionRange",e=>{e.range=u(e.range);const t=f(e.range,e.forward);t&&(e.range=t)}),e.on("AfterSetSelectionRange",e=>{const t=e.range,o=t.startContainer.parentElement;var r;m(t)||Xr(r=o)&&"mcepastebin"===r.id||p(),(e=>C(e)&&n.hasClass(e,"mce-offscreen-selection"))(o)||g()}),(e=>{LB(e),_m(e)&&(e=>{const t=t=>{if(!t.isDefaultPrevented()){const n=t.dataTransfer;n&&($(n.types,"Files")||n.files.length>0)&&(t.preventDefault(),"drop"===t.type&&ix(e,"Dropped file type is not supported"))}},n=n=>{Sp(e,n.target)&&t(n)},o=()=>{const o=gi.DOM,r=e.dom,s=document,a=e.inline?e.getBody():e.getDoc(),i=["drop","dragover"];q(i,e=>{o.bind(s,e,n),r.bind(a,e,t)}),e.on("remove",()=>{q(i,e=>{o.unbind(s,e,n),r.unbind(a,e,t)})})};e.on("init",()=>{yp.setEditorTimeout(e,o,0)})})(e)})(e),(e=>{const t=at(()=>{if(!e.removed&&e.getBody().contains(document.activeElement)){const t=e.selection.getRng();if(t.collapsed){const n=Xk(e,t,!1);e.selection.setRng(n)}}},0);e.on("focus",()=>{t.throttle()}),e.on("blur",()=>{t.cancel()})})(e),(e=>{e.on("init",()=>{e.on("focusin",t=>{const n=t.target;if(Cs(n)){const t=zy(e.getBody(),n),o=ps(t)?t:n;e.selection.getNode()!==o&&Gk(e,o).each(t=>e.selection.setRng(t))}})})})(e)),{showCaret:c,showBlockCaretContainer:e=>{e.hasAttribute("data-mce-caret")&&(al(e),t.scrollIntoView(e))},hideFakeCaret:p,destroy:()=>{r.destroy(),i=null}}},UB=(e,t)=>{let n=t;for(let t=e.previousSibling;ss(t);t=t.previousSibling)n+=t.data.length;return n},zB=(e,t,n,o,r)=>{if(ss(n)&&(o<0||o>n.data.length))return[];const s=r&&ss(n)?[UB(n,o)]:[o];let a=n;for(;a!==t&&a.parentNode;)s.push(e.nodeIndex(a,r)),a=a.parentNode;return a===t?s.reverse():[]},jB=(e,t,n,o,r,s,a=!1)=>({start:zB(e,t,n,o,a),end:zB(e,t,r,s,a)}),$B=(e,t)=>{const n=t.slice(),o=n.pop();return S(o)?X(n,(e,t)=>e.bind(e=>I.from(e.childNodes[t])),I.some(e)).bind(e=>ss(e)&&(o<0||o>e.data.length)?I.none():I.some({node:e,offset:o})):I.none()},HB=(e,t)=>$B(e,t.start).bind(({node:n,offset:o})=>$B(e,t.end).map(({node:e,offset:t})=>{const r=document.createRange();return r.setStart(n,o),r.setEnd(e,t),r})),VB=(e,t,n)=>{if(t&&e.isEmpty(t)&&!n(t)){const o=t.parentNode;e.remove(t,ss(t.firstChild)&&Ns(t.firstChild.data)),VB(e,o,n)}},qB=(e,t,n,o=!0)=>{const r=t.startContainer.parentNode,s=t.endContainer.parentNode;t.deleteContents(),o&&!n(t.startContainer)&&(ss(t.startContainer)&&0===t.startContainer.data.length&&e.remove(t.startContainer),ss(t.endContainer)&&0===t.endContainer.data.length&&e.remove(t.endContainer),VB(e,r,n),r!==s&&VB(e,s,n))},WB=(e,t)=>I.from(e.dom.getParent(t.startContainer,e.dom.isBlock)),KB=(e,t,n)=>{const o=e.dynamicPatternsLookup({text:n,block:t});return{...e,blockPatterns:Zc(o).concat(e.blockPatterns),inlinePatterns:Jc(o).concat(e.inlinePatterns)}},YB=(e,t,n,o)=>{const r=e.createRng();return r.setStart(t,0),r.setEnd(n,o),r.toString()},GB=(e,t)=>e.create("span",{"data-mce-type":"bookmark",id:t}),XB=(e,t)=>{const n=e.createRng();return n.setStartAfter(t.start),n.setEndBefore(t.end),n},QB=(e,t,n)=>{const o=HB(e.getRoot(),n).getOrDie("Unable to resolve path range"),r=o.startContainer,s=o.endContainer,a=0===o.endOffset?s:s.splitText(o.endOffset),i=0===o.startOffset?r:r.splitText(o.startOffset),l=i.parentNode;return{prefix:t,end:a.parentNode.insertBefore(GB(e,t+"-end"),a),start:l.insertBefore(GB(e,t+"-start"),i)}},ZB=(e,t,n)=>{VB(e,e.get(t.prefix+"-end"),n),VB(e,e.get(t.prefix+"-start"),n)},JB=e=>0===e.start.length,eP=(e,t,n,o)=>{const r=t.start;var s;return zD(e,o.container,o.offset,(s=r,(e,t)=>{const n=e.data.substring(0,t),o=n.lastIndexOf(s.charAt(s.length-1)),r=n.lastIndexOf(s);return-1!==r?r+s.length:-1!==o?o+1:-1}),n).bind(o=>{const s=n.textContent?.indexOf(r)??-1;if(-1!==s&&o.offset>=s+r.length){const t=e.createRng();return t.setStart(o.container,o.offset-r.length),t.setEnd(o.container,o.offset),I.some(t)}{const s=o.offset-r.length;return FD(o.container,s,n).map(t=>{const n=e.createRng();return n.setStart(t.container,t.offset),n.setEnd(o.container,o.offset),n}).filter(e=>e.toString()===r).orThunk(()=>eP(e,t,n,PD(o.container,0)))}})},tP=(e,t,n,o)=>{const r=e.dom,s=r.getRoot(),a=n.pattern,i=n.position.container,l=n.position.offset;return FD(i,l-n.pattern.end.length,t).bind(c=>{const d=jB(r,s,c.container,c.offset,i,l,o);if(JB(a))return I.some({matches:[{pattern:a,startRng:d,endRng:d}],position:c});{const i=nP(e,n.remainingPatterns,c.container,c.offset,t,o),l=i.getOr({matches:[],position:c}),m=l.position,u=((e,t,n,o,r,s=!1)=>{if(0===t.start.length&&!s){const t=e.createRng();return t.setStart(n,o),t.setEnd(n,o),I.some(t)}return ID(n,o,r).bind(n=>eP(e,t,r,n).bind(e=>{if(s){if(e.endContainer===n.container&&e.endOffset===n.offset)return I.none();if(0===n.offset&&e.endContainer.textContent?.length===e.endOffset)return I.none()}return I.some(e)}))})(r,a,m.container,m.offset,t,i.isNone());return u.map(e=>{const t=((e,t,n,o=!1)=>jB(e,t,n.startContainer,n.startOffset,n.endContainer,n.endOffset,o))(r,s,e,o);return{matches:l.matches.concat([{pattern:a,startRng:t,endRng:d}]),position:PD(e.startContainer,e.startOffset)}})}})},nP=(e,t,n,o,r,s)=>{const a=e.dom;return ID(n,o,a.getRoot()).bind(i=>{const l=YB(a,r,n,o);for(let a=0;a0)return nP(e,t,n,o-1,r,s);if(m.isSome())return m}return I.none()})},oP=(e,t,n)=>{e.selection.setRng(n),"inline-format"===t.type?q(t.format,t=>{e.formatter.apply(t)}):e.execCommand(t.cmd,!1,t.value)},rP=(e,t,n,o,r,s)=>{var a;return((e,t)=>{const n=oe(e,e=>H(t,t=>e.pattern.start===t.pattern.start&&e.pattern.end===t.pattern.end));return e.length===t.length?n?e:t:e.length>t.length?e:t})(nP(e,r.inlinePatterns,n,o,t,s).fold(()=>[],e=>e.matches),nP(e,(a=r.inlinePatterns,ie(a,(e,t)=>t.end.length-e.end.length)),n,o,t,s).fold(()=>[],e=>e.matches))},sP=(e,t)=>{if(0===t.length)return;const n=e.dom,o=e.selection.getBookmark(),r=((e,t)=>{const n=Le("mce_textpattern"),o=G(t,(t,o)=>{const r=QB(e,n+`_end${t.length}`,o.endRng);return t.concat([{...o,endMarker:r}])},[]);return G(o,(t,r)=>{const s=o.length-t.length-1,a=JB(r.pattern)?r.endMarker:QB(e,n+`_start${s}`,r.startRng);return t.concat([{...r,startMarker:a}])},[])})(n,t);q(r,t=>{const o=n.getParent(t.startMarker.start,n.isBlock),r=e=>e===o;JB(t.pattern)?((e,t,n,o)=>{const r=XB(e.dom,n);qB(e.dom,r,o),oP(e,t,r)})(e,t.pattern,t.endMarker,r):((e,t,n,o,r)=>{const s=e.dom,a=XB(s,o),i=XB(s,n);qB(s,i,r),qB(s,a,r);const l={prefix:n.prefix,start:n.end,end:o.start},c=XB(s,l);oP(e,t,c)})(e,t.pattern,t.startMarker,t.endMarker,r),ZB(n,t.endMarker,r),ZB(n,t.startMarker,r)}),e.selection.moveToBookmark(o)},aP=(e,t,n)=>((e,t,n)=>{if(ss(e)&&0>=e.length)return I.some(PD(e,0));{const t=Pi(LD);return I.from(t.forwards(e,0,MD(e),n)).map(e=>PD(e.container,0))}})(t,0,t).map(o=>{const r=o.container;return UD(r,n.start.length,t).each(n=>{const o=e.createRng();o.setStart(r,0),o.setEnd(n.container,n.offset),qB(e,o,e=>e===t)}),r}),iP=e=>(t,n)=>{const o=t.dom,r=n.pattern,s=HB(o.getRoot(),n.range).getOrDie("Unable to resolve path range");return WB(t,s).each(n=>{"block-format"===r.type?((e,t)=>{const n=t.get(e);return p(n)&&ce(n).exists(e=>_e(e,"block"))})(r.format,t.formatter)&&t.undoManager.transact(()=>{e(t.dom,n,r),t.formatter.apply(r.format)}):"block-command"===r.type&&t.undoManager.transact(()=>{e(t.dom,n,r),t.execCommand(r.cmd,!1,r.value)})}),!0},lP=e=>(t,n)=>{const o=(e=>ie(e,(e,t)=>t.start.length-e.start.length))(t),r=n.replace(dt," ");return Z(o,t=>e(t,n,r))},cP=(e,t)=>(n,o,r,s,a=o.textContent??"")=>{const i=n.dom,l=Ed(n);return i.is(o,l)?e(r.blockPatterns,a).map(e=>t&&dn.trim(a).length===e.start.length?[]:[{pattern:e,range:jB(i,i.getRoot(),o,0,o,0,s)}]).getOr([]):[]},dP=iP((e,t,n)=>{aP(e,t,n).each(e=>{const t=un.fromDom(e),n=or(t);/^\s[^\s]/.test(n)&&rr(t,n.slice(1))})}),mP=lP((e,t,n)=>0===t.indexOf(e.start)||0===n.indexOf(e.start)),uP=cP(mP,!0),fP=iP(aP),gP=lP((e,t,n)=>t===e.start||n===e.start),pP=cP(gP,!1),hP=(e,t,n)=>{for(let o=0;o{const t=[",",".",";",":","!","?"],n=[32],o=()=>{return t=Ym(e).filter(t=>"inline-command"!==t.type&&"block-command"!==t.type||e.queryCommandSupported(t.cmd)),n=Gm(e),{inlinePatterns:Jc(t),blockPatterns:Zc(t),dynamicPatternsLookup:n};var t,n},r=()=>(e=>e.options.isSet("text_patterns_lookup"))(e);e.on("keydown",t=>{if(13===t.keyCode&&!Tp.modifierPressed(t)&&e.selection.isCollapsed()&&e.selection.isEditable()){const n=ed(o(),"enter");(n.inlinePatterns.length>0||n.blockPatterns.length>0||r())&&((e,t)=>((e,t)=>{const n=e.selection.getRng();return WB(e,n).map(o=>{const r=Math.max(0,n.startOffset),s=KB(t,o,o.textContent??"");return{inlineMatches:rP(e,o,n.startContainer,r,s,!0),blockMatches:uP(e,o,s,!0)}}).filter(({inlineMatches:e,blockMatches:t})=>t.length>0||e.length>0)})(e,t).fold(L,({inlineMatches:t,blockMatches:n})=>(e.undoManager.add(),e.undoManager.extra(()=>{e.execCommand("mceInsertNewLine")},()=>{(e=>{e.insertContent(Ki,{preserve_zwsp:!0})})(e),sP(e,t),((e,t)=>{if(0===t.length)return;const n=e.selection.getBookmark();q(t,t=>dP(e,t)),e.selection.moveToBookmark(n)})(e,n);const o=e.selection.getRng(),r=ID(o.startContainer,o.startOffset,e.dom.getRoot());e.execCommand("mceInsertNewLine"),r.each(t=>{const n=t.container;n.data.charAt(t.offset-1)===ct&&(n.deleteData(t.offset-1,1),VB(e.dom,n.parentNode,t=>t===e.dom.getRoot()))})}),!0)))(e,n)&&t.preventDefault()}},!0),e.on("keydown",t=>{if(32===t.keyCode&&e.selection.isCollapsed()&&e.selection.isEditable()){const n=ed(o(),"space");(n.blockPatterns.length>0||r())&&((e,t)=>((e,t)=>{const n=e.selection.getRng();return WB(e,n).map(o=>{const r=Math.max(0,n.startOffset),s=YB(e.dom,o,n.startContainer,r),a=KB(t,o,s);return pP(e,o,a,!1,s)}).filter(e=>e.length>0)})(e,t).fold(L,t=>(e.undoManager.transact(()=>{((e,t)=>{q(t,t=>fP(e,t))})(e,t)}),!0)))(e,n)&&t.preventDefault()}},!0);const s=()=>{if(e.selection.isCollapsed()&&e.selection.isEditable()){const t=ed(o(),"space");(t.inlinePatterns.length>0||r())&&((e,t)=>{const n=e.selection.getRng();WB(e,n).map(o=>{const r=Math.max(0,n.startOffset-1),s=YB(e.dom,o,n.startContainer,r),a=KB(t,o,s),i=rP(e,o,n.startContainer,r,a,!1);i.length>0&&e.undoManager.transact(()=>{sP(e,i)})})})(e,t)}};e.on("keyup",e=>{hP(n,e,(e,t)=>e===t.keyCode&&!Tp.modifierPressed(t))&&s()}),e.on("keypress",n=>{hP(t,n,(e,t)=>e.charCodeAt(0)===t.charCode)&&yp.setEditorTimeout(e,s)})},yP=e=>{const t=dn.each,n=Tp.BACKSPACE,o=Tp.DELETE,r=e.dom,s=e.selection,a=e.parser,i=sn.browser,l=i.isFirefox(),c=i.isChromium()||i.isSafari(),d=i.isSafari(),m=sn.deviceType.isiPhone()||sn.deviceType.isiPad(),u=sn.os.isMacOS()||sn.os.isiOS(),f=(t,n)=>{try{e.getDoc().execCommand(t,!1,String(n))}catch{}},g=e=>e.isDefaultPrevented(),p=()=>{e.shortcuts.add("meta+a",null,"SelectAll")},h=()=>{e.inline||r.bind(e.getDoc(),"mousedown mouseup",t=>{let n;if(t.target===e.getDoc().documentElement)if(n=s.getRng(),null!==e.getDoc().getSelection()?.anchorNode&&e.getBody().focus(),"mousedown"===t.type){if(el(n.startContainer))return;s.placeCaretAt(t.clientX,t.clientY)}else s.setRng(n)})},b=()=>{Range.prototype.getClientRects||e.on("mousedown",t=>{if(!g(t)&&"HTML"===t.target.nodeName){const t=e.getBody();t.blur(),yp.setEditorTimeout(e,()=>{t.focus()})}})},y=()=>{const t=Rm(e);e.on("click",n=>{const o=n.target;/^(IMG|HR)$/.test(o.nodeName)&&r.isEditable(o)&&(n.preventDefault(),e.selection.select(o),e.nodeChanged()),"A"===o.nodeName&&r.hasClass(o,t)&&0===o.childNodes.length&&r.isEditable(o.parentNode)&&(n.preventDefault(),s.select(o))})},v=()=>{e.on("keydown",e=>{if(!g(e)&&e.keyCode===n&&s.isCollapsed()&&0===s.getRng().startOffset){const t=s.getNode().previousSibling;if(t&&t.nodeName&&"table"===t.nodeName.toLowerCase())return e.preventDefault(),!1}return!0})},w=()=>{Cm(e)||e.on("BeforeExecCommand mousedown",()=>{f("StyleWithCSS",!1),f("enableInlineTableEditing",!1),Zd(e)||f("enableObjectResizing",!1)})},S=()=>{e.inline||e.on("keydown",()=>{document.activeElement===document.body&&e.getWin().focus()})},E=()=>{e.inline||(e.contentStyles.push("body {min-height: 150px}"),e.on("click",t=>{let n;"HTML"===t.target.nodeName&&(n=e.selection.getRng(),e.getBody().focus(),e.selection.setRng(n),e.selection.normalize(),e.nodeChanged())}))},_=()=>{u&&e.on("keydown",t=>{!Tp.metaKeyPressed(t)||t.shiftKey||37!==t.keyCode&&39!==t.keyCode||(t.preventDefault(),e.selection.getSel().modify("move",37===t.keyCode?"backward":"forward","lineboundary"))})},k=()=>{e.on("click",e=>{let t=e.target;do{if("A"===t.tagName)return void e.preventDefault()}while(t=t.parentNode)}),e.contentStyles.push(".mce-content-body {-webkit-touch-callout: none}")},N=()=>{e.on("init",()=>{e.dom.bind(e.getBody(),"submit",e=>{e.preventDefault()})})},R=e=>iR([e.dom]).length>0,A=(e,t,n)=>le(iR([n.dom]),0).exists(n=>e>=n.right&&t>=n.top&&t<=n.bottom),D=(e,t,n)=>{t.preventDefault(),e.selection.setRng(n.toRange()),e.focus()},T=x;return LE(e)?(c&&(h(),y(),N(),p(),m&&(S(),E(),k())),l&&(b(),w(),_())):(e.on("keydown",t=>{if(g(t)||t.keyCode!==Tp.BACKSPACE)return;let n=s.getRng();const o=n.startContainer,a=n.startOffset,i=r.getRoot();let l=o;if(n.collapsed&&0===a){for(;l.parentNode&&l.parentNode.firstChild===l&&l.parentNode!==i;)l=l.parentNode;"BLOCKQUOTE"===l.nodeName&&(e.formatter.toggle("blockquote",void 0,l),n=r.createRng(),n.setStart(o,0),n.setEnd(o,0),s.setRng(n))}}),(()=>{const t=e=>{const t=r.create("body"),n=e.cloneContents();return t.appendChild(n),s.serializer.serialize(t,{format:"html"})};e.on("keydown",s=>{const a=s.keyCode;if(!g(s)&&(a===o||a===n)&&e.selection.isEditable()){const n=e.selection.isCollapsed(),i=e.getBody();if(n&&!Ps(e.schema,i))return;if(!n&&!(n=>{const o=t(n),s=r.createRng();return s.selectNode(e.getBody()),o===t(s)})(e.selection.getRng()))return;s.preventDefault(),d_(e,a===o,()=>e.setContent(""))&&(i.firstChild&&r.isBlock(i.firstChild)?e.selection.setCursorLocation(i.firstChild,0):e.selection.setCursorLocation(i,0))}})})(),sn.windowsPhone||e.on("keyup focusin mouseup",t=>{Tp.modifierPressed(t)||(e=>{const t=e.getBody(),n=e.selection.getRng();return n.startContainer===n.endContainer&&n.startContainer===t&&0===n.startOffset&&n.endOffset===t.childNodes.length})(e)||s.normalize()},!0),c&&(h(),y(),e.on("init",()=>{f("DefaultParagraphSeparator",Ed(e))}),N(),v(),a.addNodeFilter("br",e=>{let t=e.length;for(;t--;)"Apple-interchange-newline"===e[t].attr("class")&&e[t].remove()}),d||e.on("click",t=>{const n=un.fromDom(t.target);ji(n)&&(e=>cr(e,e=>Mi(e)||Rn(e)&&"block"===$o(e,"display")))(n).fold(()=>{Kn(n).each(o=>{A(t.clientX,t.clientY,o)&&Af(n.dom).each(n=>D(e,t,n))})},o=>{var r,s;(r=$n(o),s=R,ee(r,s).map(e=>e.v)).each(r=>{A(t.clientX,t.clientY,r)&&Nf(n.dom,Kl(o.dom,0)).each(n=>D(e,t,n))})})}),m?(S(),E(),k()):p()),l&&((()=>{const t=On("figcaption");e.on("keydown",n=>{if(n.keyCode===Tp.LEFT||n.keyCode===Tp.RIGHT){const o=un.fromDom(e.selection.getNode());t(o)&&e.selection.isCollapsed()&&Mn(o).bind(t=>0===e.selection.getRng().startOffset&&n.keyCode===Tp.LEFT?zn(t):e.selection.getRng().endOffset===o.dom.textContent?.length&&n.keyCode===Tp.RIGHT?jn(t):I.none()).each(t=>{e.selection.setCursorLocation(t.dom,0)})}})})(),e.on("mousedown",t=>{$e(I.from(t.clientX),I.from(t.clientY),(n,o)=>{const r=e.getDoc().caretPositionFromPoint(n,o),s=r?.offsetNode?.childNodes[r.offset-(r.offset>0?1:0)]||r?.offsetNode;if(C(s)&&"IMG"===(a=s).nodeName&&e.dom.isEditable(a)){const n=s.getBoundingClientRect();t.preventDefault(),e.hasFocus()||e.focus(),e.selection.select(s),t.clientXn.right||t.clientY>n.bottom)&&e.selection.collapse(!1)}var a})}),e.on("keydown",t=>{if(!g(t)&&t.keyCode===n){if(!e.getBody().getElementsByTagName("hr").length)return;if(s.isCollapsed()&&0===s.getRng().startOffset){const e=s.getNode(),n=e.previousSibling;if("HR"===e.nodeName)return r.remove(e),void t.preventDefault();n&&n.nodeName&&"hr"===n.nodeName.toLowerCase()&&(r.remove(n),t.preventDefault())}}}),b(),(()=>{const n=()=>{const n=r.getAttribs(s.getStart().cloneNode(!1));return()=>{const o=s.getStart();o!==e.getBody()&&(r.setAttrib(o,"style",null),t(n,e=>{o.setAttributeNode(e.cloneNode(!0))}))}},o=()=>!s.isCollapsed()&&r.getParent(s.getStart(),r.isBlock)!==r.getParent(s.getEnd(),r.isBlock);e.on("keypress",t=>{let r;return!(!(g(t)||8!==t.keyCode&&46!==t.keyCode)&&o()&&(r=n(),e.getDoc().execCommand("delete",!1),r(),t.preventDefault(),1))}),r.bind(e.getDoc(),"cut",t=>{if(!g(t)&&o()){const t=n();yp.setEditorTimeout(e,()=>{t()})}})})(),w(),e.on("SetContent ExecCommand",e=>{"setcontent"!==e.type&&"mceInsertLink"!==e.command||t(r.select("a:not([data-mce-block])"),e=>{let t=e.parentNode;const n=r.getRoot();if(t?.lastChild===e){for(;t&&!r.isBlock(t);){if(t.parentNode?.lastChild!==t||t===n)return;t=t.parentNode}r.add(t,"br",{"data-mce-bogus":1})}})}),_(),v())),{refreshContentEditable:T,isHidden:()=>{if(!l||e.removed)return!1;const t=e.selection.getSel();return!t||!t.rangeCount||0===t.rangeCount}}};class vP extends Error{url;constructor(e,t){super(e),this.url=t}}const CP={},wP=async(e,t)=>{const n=hi.ScriptLoader.getScriptAttributes(e);return await((e,t,n)=>new Promise((o,r)=>{const s=un.fromTag("script");Co(s,{type:"text/javascript",src:e,...n});const a=()=>{Ro(s)};so(s,"load",()=>{a(),o()}),so(s,"error",()=>{a(),r(new Error(`Failed to load script url: ${e}`))}),go(Gn(t),s)}))(e,t,n).catch(()=>Promise.reject(new vP(`Failed to load component url: ${e}`,e))),e},SP=async e=>{const t=(e=>{const t=e.schema.getComponentUrls();return e.inline?(e=>Se(e,(e,t)=>xe(CP,e).getOrThunk(()=>{if(v(window.customElements.get(t))){const t=wP(e,ao());return CP[e]=t,t}return Promise.resolve(e)}).catch(t=>(delete CP[e],Promise.reject(t)))))(t):((e,t)=>{const n=fe(Ee(e));return V(n,e=>wP(e,un.fromDom(t)))})(t,e.getDoc())})(e),n=Y(await Promise.allSettled(t),e=>"rejected"===e.status);n.length>0&&q(n,t=>{if(t.reason instanceof vP){const{url:n}=t.reason;((e,t)=>{lx(e,"ComponentLoadError",cx("component",t))})(e,n)}})},EP=gi.DOM,xP=e=>e.inline?e.getElement().nodeName.toLowerCase():void 0,_P=e=>we(e,e=>!1===y(e)),kP=e=>{const t=e.options.get,n=e.editorUpload.blobCache;return _P({allow_conditional_comments:t("allow_conditional_comments"),allow_html_data_urls:t("allow_html_data_urls"),allow_svg_data_urls:t("allow_svg_data_urls"),allow_html_in_named_anchor:t("allow_html_in_named_anchor"),allow_script_urls:t("allow_script_urls"),allow_html_in_comments:t("allow_html_in_comments"),allow_mathml_annotation_encodings:t("allow_mathml_annotation_encodings"),allow_unsafe_link_target:t("allow_unsafe_link_target"),convert_unsafe_embeds:t("convert_unsafe_embeds"),convert_fonts_to_spans:t("convert_fonts_to_spans"),extended_mathml_attributes:t("extended_mathml_attributes"),extended_mathml_elements:t("extended_mathml_elements"),fix_list_elements:t("fix_list_elements"),font_size_legacy_values:t("font_size_legacy_values"),forced_root_block:t("forced_root_block"),forced_root_block_attrs:t("forced_root_block_attrs"),preserve_cdata:t("preserve_cdata"),inline_styles:t("inline_styles"),root_name:xP(e),sandbox_iframes:t("sandbox_iframes"),sandbox_iframes_exclusions:cu(e),sanitize:t("xss_sanitization"),validate:!0,blob_cache:n,document:e.getDoc()})},NP=e=>{const t=e.options.get;return _P({custom_elements:t("custom_elements"),extended_valid_elements:t("extended_valid_elements"),invalid_elements:t("invalid_elements"),invalid_styles:t("invalid_styles"),schema:t("schema"),valid_children:t("valid_children"),valid_classes:t("valid_classes"),valid_elements:t("valid_elements"),valid_styles:t("valid_styles"),verify_html:t("verify_html"),padd_empty_block_inline_children:t("format_empty_lines")})},RP=e=>e.inline?e.ui.styleSheetLoader:e.dom.styleSheetLoader,AP=e=>{const t=RP(e),n=Gd(e),o=e.contentCSS,r=()=>{t.unloadAll(o),e.inline||e.ui.styleSheetLoader.unloadAll(n)},s=()=>{e.removed?r():e.on("remove",r)};if(e.contentStyles.length>0){let t="";dn.each(e.contentStyles,e=>{t+=e+"\r\n"}),e.dom.addStyle(t)}const a=Promise.all(((e,t,n)=>{const{pass:o,fail:r}=K(t,e=>tinymce.Resource.has(e)),s=o.map(t=>{const n=tinymce.Resource.get(t);return u(n)?Promise.resolve(RP(e).loadRawCss(t,n)):Promise.resolve()}),a=[...s,RP(e).loadAll(r)];return e.inline?a:a.concat([e.ui.styleSheetLoader.loadAll(n)])})(e,o,n)).then(s).catch(s),i=Kd(e);return i&&((e,t)=>{const n=un.fromDom(e.getBody()),o=Zn(Qn(n)),r=un.fromTag("style");vo(r,"type","text/css"),go(r,un.fromText(t)),go(o,r),e.on("remove",()=>{Ro(r)})})(e,i),a},DP=e=>{!0!==e.removed&&((e=>{LE(e)||e.load({initial:!0,format:"html"}),e.startContent=e.getContent({format:"raw"})})(e),(e=>{e.bindPendingEventDelegates(),e.initialized=!0,(e=>{e.dispatch("Init")})(e),e.focus(!0),(e=>{const t=e.dom.getRoot();e.inline||og(e)&&e.selection.getStart(!0)!==t||Rf(t).each(t=>{const n=t.getNode(),o=ns(n)?Rf(n).getOr(t):t;e.selection.setRng(o.toRange())})})(e),e.nodeChanged({initial:!0});const t=Tm(e);w(t)&&t.call(e,e),(e=>{const t=Bm(e);t&&yp.setEditorTimeout(e,()=>{let n;n=!0===t?e:e.editorManager.get(t),n&&!n.destroyed&&(n.focus(),n.selection.scrollIntoView())},100)})(e),Ax(e)&&Tx(e,!0)})(e))},TP=e=>{const t=e.getElement();let n=e.getDoc();e.inline&&(EP.addClass(t,"mce-content-body"),e.contentDocument=n=document,e.contentWindow=window,e.bodyElement=t,e.contentAreaContainer=t);const o=Yd(e);if(o){const r=e.inline?t:n.documentElement;EP.setAttrib(r,"lang",o)}const r=e.getBody();r.disabled=!0,e.readonly=Cm(e),e._editableRoot=wm(e),!fu(e)&&e.hasEditableRoot()&&(e.inline&&"static"===EP.getStyle(r,"position",!0)&&(r.style.position="relative"),r.contentEditable="true"),r.disabled=!1,e.editorUpload=Hx(e),e.schema=Ua(NP(e)),e.dom=gi(n,{keep_values:!0,url_converter:e.convertURL,url_converter_scope:e,update_styles:!0,root_element:e.inline?e.getBody():null,collect:e.inline,schema:e.schema,contentCssCors:Ud(e),referrerPolicy:zd(e),crossOrigin:jd(e),onSetAttrib:t=>{e.dispatch("SetAttrib",t)}}),e.parser=(e=>{const t=bS(kP(e),e.schema);return t.addAttributeFilter("data-mce-src,data-mce-href,data-mce-style",(e,t)=>{for(let n=0;n{const o=e.dom,r="data-mce-"+n;let s=t.length;for(;s--;){const a=t[s];let i=a.attr(n);if(i&&!a.attr(r)){if(0===i.indexOf("data:")||0===i.indexOf("blob:"))continue;"style"===n?(i=o.serializeStyle(o.parseStyle(i),a.name),i.length||(i=null),a.attr(r,i),a.attr(n,i)):"tabindex"===n?(a.attr(r,i),a.attr(n,null)):a.attr(r,e.convertURL(i,n,a.name))}}}),t.addNodeFilter("script",e=>{let t=e.length;for(;t--;){const n=e[t],o=n.attr("type")||"no/type";0!==o.indexOf("mce-")&&n.attr("type","mce-"+o)}}),eu(e)&&t.addNodeFilter("#cdata",t=>{let n=t.length;for(;n--;){const o=t[n];o.type=8,o.name="#comment",o.value="[CDATA["+e.dom.encode(o.value??"")+"]]"}}),t.addNodeFilter("p,h1,h2,h3,h4,h5,h6,div",t=>{let n=t.length;const o=e.schema.getNonEmptyElements();for(;n--;){const e=t[n];e.isEmpty(o)&&0===e.getAll("br").length&&e.append(new xh("br",1))}}),t})(e),e.serializer=VE((e=>{const t=e.options.get;return{...kP(e),...NP(e),..._P({remove_trailing_brs:t("remove_trailing_brs"),pad_empty_with_br:t("pad_empty_with_br"),url_converter:t("url_converter"),url_converter_scope:t("url_converter_scope"),element_format:t("element_format"),entities:t("entities"),entity_encoding:t("entity_encoding"),indent:t("indent"),indent_after:t("indent_after"),indent_before:t("indent_before")})}})(e),e),e.selection=jE(e.dom,e.getWin(),e.serializer,e),e.annotator=Jg(e),e.formatter=e_(e),e.undoManager=n_(e),e._nodeChangeDispatcher=new CO(e),e._selectionOverrides=FB(e),vO(e),(e=>{const t=Ke(),n=Re(!1),o=it(t=>{e.dispatch("longpress",{...t,type:"longpress"}),n.set(!0)},400);e.on("touchstart",e=>{aA(e).each(r=>{o.cancel();const s={x:r.clientX,y:r.clientY,target:e.target};o.throttle(e),n.set(!1),t.set(s)})},!0),e.on("touchmove",r=>{o.cancel(),aA(r).each(o=>{t.on(r=>{((e,t)=>{const n=Math.abs(e.clientX-t.x),o=Math.abs(e.clientY-t.y);return n>5||o>5})(o,r)&&(t.clear(),n.set(!1),e.dispatch("longpresscancel"))})})},!0),e.on("touchend touchcancel",r=>{o.cancel(),"touchcancel"!==r.type&&t.get().filter(e=>e.target.isEqualNode(r.target)).each(()=>{n.get()?r.preventDefault():e.dispatch("tap",{...r,type:"tap"})})},!0)})(e),(e=>{(e=>{e.on("click",t=>{e.dom.getParent(t.target,"details")&&t.preventDefault()})})(e),(e=>{e.parser.addNodeFilter("details",t=>{const n=au(e);q(t,e=>{"expanded"===n?e.attr("open","open"):"collapsed"===n&&e.attr("open",null)})}),e.serializer.addNodeFilter("details",t=>{const n=iu(e);q(t,e=>{"expanded"===n?e.attr("open","open"):"collapsed"===n&&e.attr("open",null)})})})(e)})(e),Xm(e)&&(e=>{const t="contenteditable",n=" "+dn.trim(Zm(e))+" ",o=" "+dn.trim(Qm(e))+" ",r=uA(n),s=uA(o),a=Jm(e);a.length>0&&e.on("BeforeSetContent",t=>{((e,t,n)=>{let o=t.length,r=n.content;if("raw"!==n.format){for(;o--;)r=r.replace(t[o],fA(e,r,Qm(e)));n.content=r}})(e,a,t)}),e.parser.addAttributeFilter("class",e=>{let n=e.length;for(;n--;){const o=e[n];r(o)?o.attr(t,"true"):s(o)&&o.attr(t,"false")}}),e.serializer.addAttributeFilter(t,e=>{let n=e.length;for(;n--;){const o=e[n];if(!r(o)&&!s(o))continue;const i=o.attr("data-mce-content");a.length>0&&i?gA(a,i)?(o.name="#text",o.type=3,o.raw=!0,o.value=i):o.remove():o.attr(t,null)}})})(e),LE(e)||((e=>{e.on("mousedown",t=>{t.detail>=3&&(t.preventDefault(),mB(e))})})(e),(e=>{bP(e)})(e));const s=gO(e);((e,t)=>{e.addCommand("delete",()=>{sA(e,t)}),e.addCommand("forwardDelete",()=>{((e,t)=>{rA(e,t,!0).fold(()=>{e.selection.isEditable()&&iy(e)},P),Ok(e)&&k_(e.dom,e.getBody())})(e,t)})})(e,s),(e=>{e.on("NodeChange",()=>(e=>{const t=e.dom,n=e.selection,o=e.schema,r=o.getBlockElements(),s=n.getStart(),a=e.getBody();let i,l,c=null;const d=Ed(e);if(!s||!Xr(s))return;const m=a.nodeName.toLowerCase();if(!o.isValidChild(m,d.toLowerCase())||((e,t,n)=>H(db(un.fromDom(n),un.fromDom(t)),t=>iA(e,t.dom)))(r,a,s))return;if(a.firstChild===a.lastChild&&ms(a.firstChild))return i=dA(e),i.appendChild(qi().dom),a.replaceChild(i,a.firstChild),e.selection.setCursorLocation(i,0),void e.nodeChanged();let u=a.firstChild;for(;u;)if(Xr(u)&&Ys(o,u),lA(o,u)){if(cA(r,u)){l=u,u=u.nextSibling,t.remove(l);continue}if(!i){if(!c&&e.hasFocus()&&(c=Xy(e.selection.getRng(),()=>document.createElement("span"))),!u.parentNode){u=null;break}i=dA(e),a.insertBefore(i,u)}l=u,u=u.nextSibling,i.appendChild(l)}else i=null,u=u.nextSibling;c&&(e.selection.setRng(Qy(c)),e.nodeChanged())})(e))})(e),(e=>{const t=e.dom,n=Ed(e),o=em(e)??"",r=(s,a)=>{if((e=>{if(s_(e)){const t=e.keyCode;return!a_(e)&&(Tp.metaKeyPressed(e)||e.altKey||t>=112&&t<=123||$(o_,t))}return!1})(s))return;const i=e.getBody(),l=!(e=>s_(e)&&!(a_(e)||"keyup"===e.type&&229===e.keyCode))(s)&&((e,t,n)=>{if(e.isEmpty(t,void 0,{skipBogus:!1,includeZwsp:!0})){const o=t.firstElementChild;return!o||!e.getStyle(t.firstElementChild,"padding-left")&&!e.getStyle(t.firstElementChild,"padding-right")&&n===o.nodeName.toLowerCase()}return!1})(t,i,n);(""!==t.getAttrib(i,r_)!==l||a)&&(t.setAttrib(i,r_,l?o:null),((e,t)=>{e.dispatch("PlaceholderToggle",{state:t})})(e,l),e.on(l?"keydown":"keyup",r),e.off(l?"keyup":"keydown",r))};ot(o)&&e.on("init",t=>{r(t,!0),e.on("change SetContent ExecCommand",r),e.on("paste",t=>yp.setEditorTimeout(e,()=>r(t)))})})(e),rB(e,s);const a=(e=>{const t=e;return(e=>xe(e.plugins,"rtc").bind(e=>I.from(e.setup)))(e).fold(()=>(t.rtcInstance=PE(e),I.none()),e=>(t.rtcInstance=(()=>{const e=N(null),t=N("");return{init:{bindEvents:x},undoManager:{beforeChange:x,add:e,undo:e,redo:e,clear:x,reset:x,hasUndo:L,hasRedo:L,transact:e,ignore:x,extra:x},formatter:{match:L,matchAll:N([]),matchNode:N(void 0),canApply:L,closest:t,apply:x,remove:x,toggle:x,formatChanged:N({unbind:x})},editor:{getContent:t,setContent:N({content:"",html:""}),insertContent:N(""),addVisual:x},selection:{getContent:t},autocompleter:{addDecoration:x,removeDecoration:x},raw:{getModel:N(I.none())}}})(),I.some(()=>e().then(e=>(t.rtcInstance=(e=>{const t=e=>f(e)?e:{},{init:n,undoManager:o,formatter:r,editor:s,selection:a,autocompleter:i,raw:l}=e;return{init:{bindEvents:n.bindEvents},undoManager:{beforeChange:o.beforeChange,add:o.add,undo:o.undo,redo:o.redo,clear:o.clear,reset:o.reset,hasUndo:o.hasUndo,hasRedo:o.hasRedo,transact:(e,t,n)=>o.transact(n),ignore:(e,t)=>o.ignore(t),extra:(e,t,n,r)=>o.extra(n,r)},formatter:{match:(e,n,o,s)=>r.match(e,t(n),s),matchAll:r.matchAll,matchNode:r.matchNode,canApply:e=>r.canApply(e),closest:e=>r.closest(e),apply:(e,n,o)=>r.apply(e,t(n)),remove:(e,n,o,s)=>r.remove(e,t(n)),toggle:(e,n,o)=>r.toggle(e,t(n)),formatChanged:(e,t,n,o,s)=>r.formatChanged(t,n,o,s)},editor:{getContent:e=>s.getContent(e),setContent:(e,t)=>({content:s.setContent(e,t),html:""}),insertContent:(e,t)=>(s.insertContent(e),""),addVisual:s.addVisual},selection:{getContent:(e,t)=>a.getContent(t)},autocompleter:{addDecoration:i.addDecoration,removeDecoration:i.removeDecoration},raw:{getModel:()=>I.some(l.getRawModel())}}})(e),e.rtc.isRemote)))))})(e);(e=>{const t=e.getDoc(),n=e.getBody();(e=>{e.dispatch("PreInit")})(e),Pm(e)||(t.body.spellcheck=!1,EP.setAttrib(n,"spellcheck","false")),e.quirks=yP(e),(e=>{e.dispatch("PostRender")})(e);const o=Xd(e);void 0!==o&&(n.dir=o);const r=Lm(e);r&&((e,t)=>{((e,t)=>{e.on("BeforeSetContent",e=>{q(t,t=>{e.content=e.content.replace(t,e=>"\x3c!--mce:protected "+escape(e)+"--\x3e")})})})(e,t),((e,t)=>{e.serializer.addNodeFilter("#comment",e=>{let n=e.length;for(;n--;){const o=e[n],r=o.value;if(0===r?.indexOf("mce:protected ")){const e=unescape(r).substr(14);H(t,t=>{const n=e.match(t);return null!==n&&n[0].length===e.length})?(o.name="#text",o.type=3,o.raw=!0,o.value=e):o.remove()}}})})(e,t)})(e,r),e.on("SetContent",()=>{e.addVisual(e.getBody())}),e.on("compositionstart compositionend",t=>{e.composing="compositionstart"===t.type})})(e),(e=>{SP(e)})(e),a.fold(()=>{const t=(e=>{let t=!1;const n=setTimeout(()=>{t||e.setProgressState(!0)},500);return()=>{clearTimeout(n),t=!0,e.setProgressState(!1)}})(e);AP(e).then(()=>{DP(e),t()})},t=>{e.setProgressState(!0),AP(e).then(()=>{t().then(t=>{e.setProgressState(!1),DP(e),FE(e)},t=>{e.notificationManager.open({type:"error",text:String(t)}),DP(e),FE(e)})})})},OP=gi.DOM,BP=(e,t)=>{((e,t)=>{const n=Am(e),o=e.translate(n),r=So(un.fromDom(e.getElement()),"tabindex").bind(st),s=((e,t,n,o)=>{const r=un.fromTag("iframe");return o.each(e=>vo(r,"tabindex",e)),Co(r,n),Co(r,{id:e+"_ifr",frameBorder:"0",allowTransparency:"true",title:t}),yr(r,"tox-edit-area__iframe"),r})(e.id,o,hd(e),r).dom;s.onload=()=>{s.onload=null,e.dispatch("load")},e.contentAreaContainer=t.iframeContainer,e.iframeElement=s,e.iframeHTML=(e=>{let t=bd(e)+"";yd(e)!==e.editorManager.documentBaseURL&&(t+=''),t+='';const n=vd(e),o=Cd(e),r=e.translate(Am(e)),s=sn.os.isMacOS()||sn.os.isiOS()?`role="textbox" aria-multiline="true" aria-label="${r}"`:"";return wd(e)&&(t+=''),t+=`
    `,t})(e),OP.add(t.iframeContainer,s)})(e,t),t.editorContainer&&(t.editorContainer.style.display=e.orgDisplay,e.hidden=OP.isHidden(t.editorContainer)),e.getElement().style.display="none",OP.setAttrib(e.id,"aria-hidden","true"),e.getElement().style.visibility=e.orgVisibility,(e=>{const t=e.iframeElement,n=()=>{e.contentDocument=t.contentDocument,TP(e)};if(ou(e)||sn.browser.isFirefox()){const t=e.getDoc();t.open(),t.write(e.iframeHTML),t.close(),n()}else{const o=so(un.fromDom(t),"load",()=>{o.unbind(),n()});t.srcdoc=e.iframeHTML}})(e)},PP=gi.DOM,LP=(e,t)=>({editorContainer:e,iframeContainer:t,api:{}}),MP=e=>{const t=e.getElement();return e.inline?LP(null):(e=>{const t=PP.create("div");return PP.insertAfter(t,e),LP(t,t)})(t)},IP=async e=>{e.dispatch("ScriptsLoaded"),(e=>{const t=dn.trim(Bd(e)),n=e.ui.registry.getAll().icons,o={...YE.get("default").icons,...YE.get(t).icons};he(o,(t,o)=>{_e(n,o)||e.ui.registry.addIcon(o,t)})})(e),(e=>{const t=t=>{t.keyCode!==Tp.ESC||t.defaultPrevented||q(e.editorManager.get(),e=>{(e=>e.dispatch("CloseActiveTooltips"))(e).isDefaultPrevented()&&t.preventDefault()})};document.addEventListener("keyup",t),e.inline||e.on("keyup",t),e.on("remove",()=>{document.removeEventListener("keyup",t),e.inline||e.off("keyup",t)})})(e),(e=>{const t=om(e);if(u(t)){const n=rx.get(t);e.theme=n(e,rx.urls[t])||{},w(e.theme.init)&&e.theme.init(e,rx.urls[t]||e.editorManager.documentBaseURL.replace(/\/$/,""))}else e.theme={}})(e),(e=>{const t=sm(e),n=GE.get(t);e.model=n(e,GE.urls[t])})(e),(e=>{xx.init(e)})(e),(e=>{const t=[];q(Em(e),n=>{((e,t,n)=>{const o=ox.get(n),r=ox.urls[n]||e.editorManager.documentBaseURL.replace(/\/$/,"");if(n=dn.trim(n),o&&-1===dn.inArray(t,n)){if(e.plugins[n])return;try{const s=o(e,r)||{};e.plugins[n]=s,w(s.init)&&(s.init(e,r),t.push(n))}catch(t){((e,t,n)=>{const o=Ci.translate(["Failed to initialize plugin: {0}",t]);nd(e,"PluginLoadError",{message:o}),dx(o,n),ix(e,o)})(e,n,t)}}})(e,t,(e=>e.replace(/^\-/,""))(n))})})(e);const t=await(e=>{const t=e.getElement();return e.orgDisplay=t.style.display,u(om(e))?(e=>{const t=e.theme.renderUI;return t?t():MP(e)})(e):w(om(e))?(e=>{const t=e.getElement(),n=om(e)(e,t);return n.editorContainer.nodeType&&(n.editorContainer.id=n.editorContainer.id||e.id+"_parent"),n.iframeContainer&&n.iframeContainer.nodeType&&(n.iframeContainer.id=n.iframeContainer.id||e.id+"_iframecontainer"),n.height=n.iframeHeight?n.iframeHeight:t.offsetHeight,n})(e):MP(e)})(e);((e,t)=>{const n={show:I.from(t.show).getOr(x),hide:I.from(t.hide).getOr(x),isEnabled:I.from(t.isEnabled).getOr(M),setEnabled:n=>{n&&("readonly"===e.mode.get()||Ax(e))||I.from(t.setEnabled).each(e=>e(n))}};e.ui={...e.ui,...n}})(e,I.from(t.api).getOr({})),e.editorContainer=t.editorContainer,(e=>{e.contentCSS=e.contentCSS.concat((e=>Mx(e,Wd(e)))(e),(e=>Mx(e,Gd(e)))(e))})(e),e.inline?TP(e):BP(e,{editorContainer:t.editorContainer,iframeContainer:t.iframeContainer})},FP=gi.DOM,UP=e=>"-"===e.charAt(0),zP=(e,t,n)=>I.from(t).filter(e=>ot(e)&&!YE.has(e)).map(t=>({url:`${e.editorManager.baseURL}/icons/${t}/icons${n}.js`,name:I.some(t)})),jP=(e,t)=>{const n=hi.ScriptLoader,o=()=>{!e.removed&&(e=>{const t=om(e);return!u(t)||C(rx.get(t))})(e)&&(e=>{const t=sm(e);return C(GE.get(t))})(e)&&IP(e)};((e,t)=>{const n=om(e);if(u(n)&&!UP(n)&&!_e(rx.urls,n)){const o=rm(e),r=o?e.documentBaseURI.toAbsolute(o):`themes/${n}/theme${t}.js`;rx.load(n,r).catch(()=>{((e,t,n)=>{lx(e,"ThemeLoadError",cx("theme",t,n))})(e,r,n)})}})(e,t),((e,t)=>{const n=sm(e);if("plugin"!==n&&!_e(GE.urls,n)){const o=am(e),r=u(o)?e.documentBaseURI.toAbsolute(o):`models/${n}/model${t}.js`;GE.load(n,r).catch(()=>{((e,t,n)=>{lx(e,"ModelLoadError",cx("model",t,n))})(e,r,n)})}})(e,t),((e,t)=>{xx.load(e,t)})(e,t),((e,t)=>{const n=$d(t),o=Hd(t);if(!Ci.hasCode(n)&&"en"!==n){const r=ot(o)?o:`${t.editorManager.baseURL}/langs/${n}.js`;e.add(r).catch(()=>{((e,t,n)=>{lx(e,"LanguageLoadError",cx("language",t,n))})(t,r,n)})}})(n,e),((e,t,n)=>{const o=zP(t,"default",n),r=(e=>I.from(Pd(e)).filter(ot).map(e=>({url:e,name:I.none()})))(t).orThunk(()=>zP(t,Bd(t),""));q((e=>{const t=[],n=e=>{t.push(e)};for(let t=0;t{e.add(n.url).catch(()=>{((e,t,n)=>{lx(e,"IconsLoadError",cx("icons",t,n))})(t,n.url,n.name.getOrUndefined())})})})(n,e,t),((e,t)=>{const n=(t,n)=>{"licensekeymanager"!==t&&ox.load(t,n).catch(()=>{((e,t,n)=>{lx(e,"PluginLoadError",cx("plugin",t,n))})(e,n,t)})};he(xm(e),(t,o)=>{n(o,t),e.options.set("plugins",Em(e).concat(o))}),q(Em(e),e=>{!(e=dn.trim(e))||ox.urls[e]||UP(e)||n(e,`plugins/${e}/plugin${t}.js`)})})(e,t),n.loadQueue().then(o,o)},$P=["#E41B60","#AD1457","#1939EC","#001CB5","#648000","#465B00","#006CE7","#0054B4","#00838F","#006064","#00866F","#004D40","#51742F","#385021","#CF4900","#A84600","#CC0000","#6A1B9A","#9C27B0","#6A00AB","#3041BA","#0A1877","#774433","#452B24","#607D8B","#455A64"],HP=(e,t={size:36})=>{return n=(e=>{if(Intl.Segmenter){const t=(new Intl.Segmenter).segment(e)[Symbol.iterator]();return`${t.next().value?.segment}`}return e.trim()[0]})(e.name),o=(e=>{const t=((e,t)=>{let n=5381;for(let t=0;t>>0)%(t+1)})(e??"",$P.length-1);return $P[t]})(e.id),r=t.size,"data:image/svg+xml,"+encodeURIComponent(((e,t,n)=>{const o=n/2;return``+e+""})(n,o,r));var n,o,r},VP=Mc([jc("id","id",{tag:"required",process:{}},kc()),Wc("name"),Wc("avatar"),(e=>jc(e,e,{tag:"option",process:{}},kc()))("custom")]),qP=e=>{const t={};return he(e,(e,n)=>{e.each(e=>{t[n]=e})}),t},WP=e=>{if(!Array.isArray(e))throw new Error("fetch_users must return an array");const t=V(e,e=>Uc("Invalid user object",VP,e)),{errors:n,values:o}=qe(t);if(n.length>0){const e=V(n,(e,t)=>`User at index ${t}: ${zc(e)}`);console.warn("User validation errors:\n"+e.join("\n"))}return V(o,e=>{const{id:t,name:n,avatar:o,...r}=e;return{id:t,name:n.getOr(t),avatar:o.getOr(HP({id:t,name:n.getOr(t)})),...qP(r)}})},KP=Xt().deviceType,YP=KP.isPhone(),GP=KP.isTablet(),XP=e=>{if(v(e))return[];{const t=p(e)?e:e.split(/[ ,]/),n=V(t,et);return Y(n,ot)}},QP=(e,t)=>{const n=(t=>{const n={},o={};return Ce(t,(t,n)=>$(e,n),ve(n),ve(o)),{t:n,f:o}})(t);return o=n.t,r=n.f,{sections:N(o),options:N(r)};var o,r},ZP=(e,t)=>_e(e.sections(),t),JP=(e,t)=>({table_grid:!1,object_resizing:!1,resize:!1,toolbar_mode:xe(e,"toolbar_mode").getOr("scrolling"),toolbar_sticky:!1,...t?{menubar:!1}:{}}),eL=(e,t)=>{const n=t.external_plugins??{};return e&&e.external_plugins?dn.extend({},e.external_plugins,n):n},tL=(e,t,n,o,r)=>{const s=e?{mobile:JP(r.mobile??{},t)}:{},a=QP(["mobile"],Fe(s,r)),i=dn.extend(n,o,a.options(),((e,t)=>e&&ZP(t,"mobile"))(e,a)?((e,t,n={})=>{const o=e.sections(),r=xe(o,t).getOr({});return dn.extend({},n,r)})(a,"mobile"):{},{external_plugins:eL(o,a.options())});return((e,t,n,o)=>{const r=XP(n.forced_plugins),s=XP(o.plugins),a=((e,t)=>ZP(e,t)?e.sections()[t]:{})(t,"mobile"),i=((e,t,n,o)=>e&&ZP(t,"mobile")?o:n)(e,t,s,a.plugins?XP(a.plugins):s),l=((e,t)=>[...XP(e),...XP(t)])(r,i);return dn.extend(o,{forced_plugins:r,plugins:l})})(e,a,o,i)},nL=e=>{(e=>{const t=t=>()=>{q("left,center,right,justify".split(","),n=>{t!==n&&e.formatter.remove("align"+n)}),"none"!==t&&(t=>{e.formatter.toggle(t,void 0),e.nodeChanged()})("align"+t)};e.editorCommands.addCommands({JustifyLeft:t("left"),JustifyCenter:t("center"),JustifyRight:t("right"),JustifyFull:t("justify"),JustifyNone:t("none")})})(e),(e=>{const t=t=>()=>{const n=e.selection,o=n.isCollapsed()?[e.dom.getParent(n.getNode(),e.dom.isBlock)]:n.getSelectedBlocks();return H(o,n=>C(e.formatter.matchNode(n,t)))};e.editorCommands.addCommands({JustifyLeft:t("alignleft"),JustifyCenter:t("aligncenter"),JustifyRight:t("alignright"),JustifyFull:t("alignjustify")},"state")})(e)},oL=(e,t)=>{const n=e.selection,o=e.dom;return/^ | $/.test(t)?((e,t,n,o)=>{const r=un.fromDom(e.getRoot());return n=Bb(r,Kl.fromRangeStart(t),o)?n.replace(/^ /," "):n.replace(/^ /," "),Pb(r,Kl.fromRangeEnd(t),o)?n.replace(/( | )()?$/," "):n.replace(/ ()?$/," ")})(o,n.getRng(),t,e.schema):t},rL=(e,t)=>{if(e.selection.isEditable()){const{content:n,details:o}=(e=>{if("string"!=typeof e){const t=dn.extend({paste:e.paste,data:{paste:e.paste}},e);return{content:e.content,details:t}}return{content:e,details:{}}})(t);ES(e,{...o,content:oL(e,n),format:"html",set:!1,selection:!0}).each(t=>{const n=((e,t,n)=>ME(e).editor.insertContent(t,n))(e,t.content,o);xS(e,n,t),e.addVisual()})}},sL={"font-size":"size","font-family":"face"},aL=On("font"),iL=e=>(t,n)=>I.from(n).map(un.fromDom).filter(Rn).bind(n=>((e,t,n)=>Or(un.fromDom(n),t=>(t=>Vo(t,e).orThunk(()=>aL(t)?xe(sL,e).bind(e=>So(t,e)):I.none()))(t),e=>vn(un.fromDom(t),e)))(e,t,n.dom).or(((e,t)=>I.from(gi.DOM.getStyle(t,e,!0)))(e,n.dom))).getOr(""),lL=iL("font-size"),cL=_(e=>e.replace(/[\'\"\\]/g,"").replace(/,\s+/g,","),iL("font-family")),dL=e=>Rf(e.getBody()).bind(e=>{const t=e.container();return I.from(ss(t)?t.parentNode:t)}),mL=(e,t)=>((e,t)=>(e=>I.from(e.selection.getRng()).bind(t=>{const n=e.getBody();return t.startContainer===n&&0===t.startOffset?I.none():I.from(e.selection.getStart(!0))}))(e).orThunk(D(dL,e)).map(un.fromDom).filter(Rn).bind(t))(e,k(I.some,t)),uL=(e,t)=>{if(/^[0-9.]+$/.test(t)){const n=parseInt(t,10);if(n>=1&&n<=7){const o=(e=>dn.explode(e.options.get("font_size_style_values")))(e),r=(e=>dn.explode(e.options.get("font_size_classes")))(e);return r.length>0?r[n-1]||t:o[n-1]||t}return t}return t},fL=e=>{const t=e.split(/\s*,\s*/);return V(t,e=>-1===e.indexOf(" ")||Qe(e,'"')||Qe(e,"'")?e:`'${e}'`).join(",")},gL=e=>{e.editorCommands.addCommands({Indent:()=>{(e=>{eA(e,"indent")})(e)},Outdent:()=>{tA(e)}}),e.editorCommands.addCommands({Outdent:()=>QR(e),Indent:()=>(e=>!e.mode.isReadOnly()&&(e=>bu(e).forall(t=>{const n=e.selection.getSelectedBlocks();return H(n,e=>fr(un.fromDom(e),"li").forall(e=>{return(n=e,_r(n,e=>bn(e,"ol,ul"),void 0)).length<=t;var n}))}))(e))(e)},"state")},pL=(e,t)=>{if(e.mode.isReadOnly())return;const n=e.dom,o=e.selection.getRng(),r=t?e.selection.getStart():e.selection.getEnd(),s=t?o.startContainer:o.endContainer,a=gT(n,s);if(!a||!a.isContentEditable)return;const i=t?mo:uo,l=Ed(e);((e,t,n,o)=>{const r=e.dom,s=e=>r.isBlock(e)&&e.parentElement===n,a=s(t)?t:r.getParent(o,s,n);return I.from(a).map(un.fromDom)})(e,r,a,s).each(t=>{const n=yT(e,s,t.dom,a,!1,l);i(t,un.fromDom(n)),e.selection.setCursorLocation(n,0),e.dispatch("NewBlock",{newBlock:n}),l_(e,"insertParagraph")})},hL=e=>{nL(e),(e=>{e.editorCommands.addCommands({"Cut,Copy,Paste":t=>{const n=e.getDoc();let o;try{n.execCommand(t)}catch{o=!0}if("paste"!==t||n.queryCommandEnabled(t)||(o=!0),o||!n.queryCommandSupported(t)){let t=e.translate("Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead.");(sn.os.isMacOS()||sn.os.isiOS())&&(t=t.replace(/Ctrl\+/g,"\u2318+")),e.notificationManager.open({text:t,type:"error"})}}})})(e),(e=>{e.editorCommands.addCommands({mceAddUndoLevel:()=>{e.undoManager.add()},mceEndUndoLevel:()=>{e.undoManager.add()},Undo:()=>{e.undoManager.undo()},Redo:()=>{e.undoManager.redo()}})})(e),(e=>{e.editorCommands.addCommands({mceSelectNodeDepth:(t,n,o)=>{let r=0;e.dom.getParent(e.selection.getNode(),t=>!Xr(t)||r++!==o||(e.selection.select(t),!1),e.getBody())},mceSelectNode:(t,n,o)=>{e.selection.select(o)},selectAll:()=>{const t=e.dom.getParent(e.selection.getStart(),gs);if(t){const n=e.dom.createRng();n.selectNodeContents(t),e.selection.setRng(n)}}})})(e),(e=>{e.editorCommands.addCommands({mceCleanup:()=>{const t=e.selection.getBookmark();e.setContent(e.getContent()),e.selection.moveToBookmark(t)},insertImage:(t,n,o)=>{rL(e,e.dom.createHTML("img",{src:o}))},insertHorizontalRule:()=>{e.execCommand("mceInsertContent",!1,"
    ")},insertText:(t,n,o)=>{rL(e,e.dom.encode(o))},insertHTML:(t,n,o)=>{rL(e,o)},mceInsertContent:(t,n,o)=>{rL(e,o)},mceSetContent:(t,n,o)=>{e.setContent(o)},mceReplaceContent:(t,n,o)=>{e.execCommand("mceInsertContent",!1,o.replace(/\{\$selection\}/g,e.selection.getContent({format:"text"})))},mceNewDocument:()=>{e.setContent(zm(e))}})})(e),(e=>{const t=(t,n,o)=>{if(e.mode.isReadOnly())return;const r=u(o)?{href:o}:o,s=e.dom.getParent(e.selection.getNode(),"a");f(r)&&u(r.href)&&(r.href=r.href.replace(/ /g,"%20").replace(/&/g,"&"),s&&r.href||e.formatter.remove("link"),r.href&&e.formatter.apply("link",r,s))};e.editorCommands.addCommands({unlink:()=>{if(e.selection.isEditable()){if(e.selection.isCollapsed()){const t=e.dom.getParent(e.selection.getStart(),"a");return void(t&&e.dom.remove(t,!0))}e.formatter.remove("link")}},mceInsertLink:t,createLink:t})})(e),gL(e),(e=>{e.editorCommands.addCommands({InsertNewBlockBefore:()=>{(e=>{pL(e,!0)})(e)},InsertNewBlockAfter:()=>{(e=>{pL(e,!1)})(e)}})})(e),(e=>{e.editorCommands.addCommands({insertParagraph:()=>{QT(AT,e)},mceInsertNewLine:(t,n,o)=>{ZT(e,o)},InsertLineBreak:(t,n,o)=>{QT(IT,e)}})})(e),(e=>{(e=>{const t=(t,n)=>{e.formatter.toggle(t,n),e.nodeChanged()};e.editorCommands.addCommands({"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":e=>{t(e)},"ForeColor,HiliteColor":(e,n,o)=>{t(e,{value:o})},BackColor:(e,n,o)=>{t("hilitecolor",{value:o})},FontName:(t,n,o)=>{((e,t)=>{const n=uL(e,t);e.formatter.toggle("fontname",{value:fL(n)}),e.nodeChanged()})(e,o)},FontSize:(t,n,o)=>{((e,t)=>{e.formatter.toggle("fontsize",{value:uL(e,t)}),e.nodeChanged()})(e,o)},LineHeight:(t,n,o)=>{((e,t)=>{e.formatter.toggle("lineheight",{value:String(t)}),e.nodeChanged()})(e,o)},Lang:(e,n,o)=>{t(e,{value:o.code,customValue:o.customCode??null})},RemoveFormat:t=>{e.formatter.remove(t)},mceBlockQuote:()=>{t("blockquote")},FormatBlock:(e,n,o)=>{t(u(o)?o:"p")},mceToggleFormat:(e,n,o)=>{t(o)}})})(e),(e=>{const t=t=>e.formatter.match(t);e.editorCommands.addCommands({"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":e=>t(e),mceBlockQuote:()=>t("blockquote")},"state"),e.editorCommands.addQueryValueHandler("FontName",()=>(e=>mL(e,t=>cL(e.getBody(),t.dom)).getOr(""))(e)),e.editorCommands.addQueryValueHandler("FontSize",()=>(e=>mL(e,t=>lL(e.getBody(),t.dom)).getOr(""))(e)),e.editorCommands.addQueryValueHandler("LineHeight",()=>(e=>mL(e,t=>{const n=un.fromDom(e.getBody()),o=Or(t,e=>Vo(e,"line-height"),D(vn,n));return o.getOrThunk(()=>{const e=parseFloat($o(t,"line-height")),n=parseFloat($o(t,"font-size"));return String(e/n)})}).getOr(""))(e))})(e)})(e),(e=>{e.editorCommands.addCommands({mceRemoveNode:(t,n,o)=>{const r=o??e.selection.getNode();if(r!==e.getBody()){const t=e.selection.getBookmark();e.dom.remove(r,!0),e.selection.moveToBookmark(t)}},mcePrint:()=>{e.getWin().print()},mceFocus:(t,n,o)=>{((e,t)=>{if(e.removed)return;if(!0===t)return void Dp(e);const n=(e=>C(e)&&!b(e)?e:{scrollToSelection:!0})(t);((e,t)=>{const n=e.selection,o=e.getBody();let r=n.getRng();e.quirks.refreshContentEditable();const s=e=>{hp(e).each(t=>{e.selection.setRng(t),r=t})};!Rp(e)&&e.hasEditableRoot()&&s(e);const a=((e,t)=>e.dom.getParent(t,t=>"true"===e.dom.getContentEditable(t)))(e,n.getNode());if(a&&e.dom.isChildOf(a,o))return((e,t)=>null!==e.dom.getParent(t,t=>"false"===e.dom.getContentEditable(t)))(e,a)||Np(o,t),Np(a,t),e.hasEditableRoot()||s(e),kp(e,r),void Dp(e);e.inline||(Np(o,t),t?C(e.iframeElement)&&e.iframeElement.focus({preventScroll:!0}):e.getWin().focus()),(sn.browser.isFirefox()||e.inline)&&(Np(o,t),kp(e,r)),Dp(e)})(e,!1===n.scrollToSelection)})(e,o)},mceToggleVisualAid:()=>{e.hasVisual=!e.hasVisual,e.addVisual()}})})(e)},bL=["toggleview"],yL=e=>$(bL,e.toLowerCase());class vL{editor;commands={state:{},exec:{},value:{}};constructor(e){this.editor=e}execCommand(e,t=!1,n,o){const r=this.editor,s=e.toLowerCase(),a=o?.skip_focus;if(r.removed)return!1;if("mcefocus"!==s&&(/^(mceAddUndoLevel|mceEndUndoLevel|toggleview)$/i.test(s)||a?(e=>{hp(e).each(t=>e.selection.setRng(t))})(r):r.focus()),r.dispatch("BeforeExecCommand",{command:e,ui:t,value:n}).isDefaultPrevented())return!1;const i=this.commands.exec[s];return!!w(i)&&(i(s,t,n,o),r.dispatch("ExecCommand",{command:e,ui:t,value:n,args:o}),!0)}queryCommandState(e){if(!yL(e)&&this.editor.quirks.isHidden()||this.editor.removed)return!1;const t=e.toLowerCase(),n=this.commands.state[t];return!!w(n)&&n(t)}queryCommandValue(e){if(!yL(e)&&this.editor.quirks.isHidden()||this.editor.removed)return"";const t=e.toLowerCase(),n=this.commands.value[t];return w(n)?n(t):""}addCommands(e,t="exec"){const n=this.commands;he(e,(e,o)=>{q(o.toLowerCase().split(","),o=>{n[t][o]=e})})}addCommand(e,t,n){const o=e.toLowerCase();this.commands.exec[o]=(e,o,r,s)=>t.call(n??this.editor,o,r,s)}removeCommand(e,t){const n=e.toLowerCase();t?delete this.commands[t][n]:(delete this.commands.exec[n],delete this.commands.state[n],delete this.commands.value[n])}queryCommandSupported(e){const t=e.toLowerCase();return!!this.commands.exec[t]}addQueryStateHandler(e,t,n){this.commands.state[e.toLowerCase()]=()=>t.call(n??this.editor)}addQueryValueHandler(e,t,n){this.commands.value[e.toLowerCase()]=()=>t.call(n??this.editor)}}const CL=dn.makeMap("focus blur focusin focusout click dblclick mousedown mouseup mousemove mouseover beforepaste paste cut copy selectionchange mouseout mouseenter mouseleave wheel keydown keypress keyup input beforeinput contextmenu dragstart dragend dragover draggesture dragdrop drop drag submit compositionstart compositionend compositionupdate touchstart touchmove touchend touchcancel"," ");class wL{static isNative(e){return!!CL[e.toLowerCase()]}settings;scope;toggleEvent;bindings={};constructor(e){this.settings=e||{},this.scope=this.settings.scope||this,this.toggleEvent=this.settings.toggleEvent||L}fire(e,t){return this.dispatch(e,t)}dispatch(e,t){const n=e.toLowerCase(),o=Za(n,t??{},this.scope);this.settings.beforeFire&&this.settings.beforeFire(o);const r=this.bindings[n];if(r)for(let e=0,t=r.length;e{this.toggleEvent(t,!1),delete this.bindings[t]}),this;if(s){if(t){const e=K(s,e=>e.func===t);s=e.fail,this.bindings[r]=s,q(e.pass,e=>{e.removed=!0})}else s.length=0;s.length||(this.toggleEvent(e,!1),delete this.bindings[r])}}}else he(this.bindings,(e,t)=>{this.toggleEvent(t,!1)}),this.bindings={};return this}once(e,t,n){return this.on(e,t,n,{once:!0})}has(e){e=e.toLowerCase();const t=this.bindings[e];return!(!t||0===t.length)}}const SL=e=>(e._eventDispatcher||(e._eventDispatcher=new wL({scope:e,toggleEvent:(t,n)=>{wL.isNative(t)&&e.toggleNativeEvent&&e.toggleNativeEvent(t,n)}})),e._eventDispatcher),EL={fire(e,t,n){return IS("fire"),this.dispatch(e,t,n)},dispatch(e,t,n){const o=this;if(o.removed&&"remove"!==e&&"detach"!==e)return Za(e.toLowerCase(),t??{},o);const r=SL(o).dispatch(e,t);if(!1!==n&&o.parent){let t=o.parent();for(;t&&!r.isPropagationStopped();)t.dispatch(e,r,!1),t=t.parent?t.parent():void 0}return r},on(e,t,n){return SL(this).on(e,t,n)},off(e,t){return SL(this).off(e,t)},once(e,t){return SL(this).once(e,t)},hasEventListeners(e){return SL(this).has(e)}},xL=gi.DOM;let _L;const kL=(e,t)=>{if("selectionchange"===t)return e.getDoc();if(!e.inline&&/^(?:mouse|touch|click|contextmenu|drop|dragover|dragend)/.test(t))return e.getDoc().documentElement;const n=tm(e);return n?(e.eventRoot||(e.eventRoot=xL.select(n)[0]),e.eventRoot):e.getBody()},NL=(e,t,n)=>{(e=>!e.hidden&&!Ax(e))(e)?e.dispatch(t,n):Ax(e)&&((e,t)=>{if((e=>"click"===e.type)(t)&&!Tp.metaKeyPressed(t)){const n=un.fromDom(t.target);((e,t)=>fr(t,"a",t=>vn(t,un.fromDom(e.getBody()))).bind(e=>So(e,"href")))(e,n).fold(()=>{Px(e,n)&&t.preventDefault()},n=>{if(t.preventDefault(),/^#/.test(n)){const t=Ge(n,"#"),o=e.dom.select(`[id="${t}"],[name="${t}"]`);o.length&&e.selection.scrollIntoView(o[0],!0)}else window.open(n,"_blank","rel=noopener noreferrer,menubar=yes,toolbar=yes,location=yes,status=yes,resizable=yes,scrollbars=yes")})}else(e=>$(Bx,e.type))(t)&&e.dispatch(t.type,t)})(e,n)},RL=(e,t)=>{if(e.delegates||(e.delegates={}),e.delegates[t]||e.removed)return;const n=kL(e,t);if(tm(e)){if(_L||(_L={},e.editorManager.on("removeEditor",()=>{e.editorManager.activeEditor||_L&&(he(_L,(t,n)=>{e.dom.unbind(kL(e,n))}),_L=null)})),_L[t])return;const o=n=>{const o=n.target,r=e.editorManager.get();let s=r.length;for(;s--;){const e=r[s].getBody();(e===o||xL.isChildOf(o,e))&&NL(r[s],t,n)}};_L[t]=o,xL.bind(n,t,o)}else{const o=n=>{NL(e,t,n)};xL.bind(n,t,o),e.delegates[t]=o}},AL={...EL,bindPendingEventDelegates(){const e=this;dn.each(e._pendingNativeEvents,t=>{RL(e,t)})},toggleNativeEvent(e,t){const n=this;"focus"!==e&&"blur"!==e&&(n.removed||(t?n.initialized?RL(n,e):n._pendingNativeEvents?n._pendingNativeEvents.push(e):n._pendingNativeEvents=[e]:n.initialized&&n.delegates&&(n.dom.unbind(kL(n,e),e,n.delegates[e]),delete n.delegates[e])))},unbindAllNativeEvents(){const e=this,t=e.getBody(),n=e.dom;e.delegates&&(he(e.delegates,(t,n)=>{e.dom.unbind(kL(e,n),n,t)}),delete e.delegates),!e.inline&&t&&n&&(t.onload=null,n.unbind(e.getWin()),n.unbind(e.getDoc())),n&&(n.unbind(t),n.unbind(e.getContainer()))}},DL=e=>u(e)?{value:e.split(/[ ,]/),valid:!0}:E(e,u)?{value:e,valid:!0}:{valid:!1,message:"The value must be a string[] or a comma/space separated string."},TL=(e,t)=>e+(rt(t.message)?"":`. ${t.message}`),OL=e=>e.valid,BL=(e,t,n="")=>{const o=t(e);return b(o)?o?{value:e,valid:!0}:{valid:!1,message:n}:o},PL=e=>e.readonly,LL=["design","readonly"],ML=(e,t,n,o)=>{const r=n[t.get()],s=n[o];try{s.activate()}catch(e){return void console.error(`problem while activating editor mode ${o}:`,e)}r.deactivate(),r.editorReadOnly!==s.editorReadOnly&&((e,t)=>{const n=un.fromDom(e.getBody());t?(e.readonly=!0,e.hasEditableRoot()&&(n.dom.contentEditable="true"),Nx(e)):(e.readonly=!1,Rx(e))})(e,s.editorReadOnly),t.set(o),((e,t)=>{e.dispatch("SwitchMode",{mode:t})})(e,o)},IL=e=>{const t=Re("design"),n=Re({design:{activate:x,deactivate:x,editorReadOnly:!1},readonly:{activate:x,deactivate:x,editorReadOnly:!0}});return(e=>{const t=t=>{PL(e)&&(e=>H(e,e=>"characterData"===e.type||"childList"===e.type))(t)&&(e=>{const t=e.undoManager.add();C(t)&&(e.undoManager.undo(),e.undoManager.reset())})(e)},n=new MutationObserver(t);e.on("beforeinput paste cut dragend dragover draggesture dragdrop drop drag",t=>{PL(e)&&t.preventDefault()}),e.on("BeforeExecCommand",t=>{"Undo"!==t.command&&"Redo"!==t.command||!PL(e)||t.preventDefault()}),e.on("compositionstart",()=>{PL(e)&&n.observe(e.getBody(),{characterData:!0,childList:!0,subtree:!0})}),e.on("compositionend",()=>{if(PL(e)){const e=n.takeRecords();t(e)}n.disconnect()})})(e),(e=>{(e=>{e.serializer?Ox(e):e.on("PreInit",()=>{Ox(e)})})(e),(e=>{e.on("ShowCaret ObjectSelected",t=>{Ax(e)&&t.preventDefault()}),e.on("DisabledStateChange",t=>{t.isDefaultPrevented()||Tx(e,t.state)})})(e)})(e),{isReadOnly:()=>PL(e),set:o=>((e,t,n,o)=>{if(!(o===n.get()||e.initialized&&Ax(e))){if(!_e(t,o))throw new Error(`Editor mode '${o}' is invalid`);e.initialized?ML(e,n,t,o):e.on("init",()=>ML(e,n,t,o))}})(e,n.get(),t,o),get:()=>t.get(),register:(e,t)=>{n.set(((e,t,n)=>{if($(LL,t))throw new Error(`Cannot override default mode ${t}`);return{...e,[t]:{...n,deactivate:()=>{try{n.deactivate()}catch(e){console.error(`problem while deactivating editor mode ${t}:`,e)}}}}})(n.get(),e,t))}}},FL=dn.each,UL=dn.explode,zL={f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123},jL=dn.makeMap("alt,ctrl,shift,meta,access"),$L=e=>{const t={},n=sn.os.isMacOS()||sn.os.isiOS();FL(UL(e.toLowerCase(),"+"),e=>{(e=>e in jL)(e)?t[e]=!0:/^[0-9]{2,}$/.test(e)?t.keyCode=parseInt(e,10):(t.charCode=e.charCodeAt(0),t.keyCode=zL[e]||e.toUpperCase().charCodeAt(0))});const o=[t.keyCode];let r;for(r in jL)t[r]?o.push(r):t[r]=!1;return t.id=o.join(","),t.access&&(t.alt=!0,n?t.ctrl=!0:t.shift=!0),t.meta&&(n?t.meta=!0:(t.ctrl=!0,t.meta=!1)),t};class HL{editor;shortcuts={};pendingPatterns=[];constructor(e){this.editor=e;const t=this;e.on("keyup keypress keydown",e=>{!t.hasModifier(e)&&!t.isFunctionKey(e)||e.isDefaultPrevented()||(FL(t.shortcuts,n=>{t.matchShortcut(e,n)&&(t.pendingPatterns=n.subpatterns.slice(0),"keydown"===e.type&&t.executeShortcutAction(n))}),t.matchShortcut(e,t.pendingPatterns[0])&&(1===t.pendingPatterns.length&&"keydown"===e.type&&t.executeShortcutAction(t.pendingPatterns[0]),t.pendingPatterns.shift()))})}add(e,t,n,o){const r=this,s=r.normalizeCommandFunc(n);return FL(UL(dn.trim(e)),e=>{const n=r.createShortcut(e,t,s,o);r.shortcuts[n.id]=n}),!0}remove(e){const t=this.createShortcut(e);return!!this.shortcuts[t.id]&&(delete this.shortcuts[t.id],!0)}normalizeCommandFunc(e){const t=this,n=e;return"string"==typeof n?()=>{t.editor.execCommand(n,!1,null)}:dn.isArray(n)?()=>{t.editor.execCommand(n[0],n[1],n[2])}:n}createShortcut(e,t,n,o){const r=dn.map(UL(e,">"),$L);return r[r.length-1]=dn.extend(r[r.length-1],{func:n,scope:o||this.editor}),dn.extend(r[0],{desc:this.editor.translate(t),subpatterns:r.slice(1)})}hasModifier(e){return e.altKey||e.ctrlKey||e.metaKey}isFunctionKey(e){return"keydown"===e.type&&e.keyCode>=112&&e.keyCode<=123}matchShortcut(e,t){return!!t&&t.ctrl===e.ctrlKey&&t.meta===e.metaKey&&t.alt===e.altKey&&t.shift===e.shiftKey&&!!(e.keyCode===t.keyCode||e.charCode&&e.charCode===t.charCode)&&(e.preventDefault(),!0)}executeShortcutAction(e){return e.func?e.func.call(e.scope):null}}const VL=()=>{const e=(()=>{const e={},t={},n={},o={},r={},s={},a={},i={},l={},c=(e,t)=>(n,o)=>{e[n.toLowerCase()]={...o,type:t}};return{addButton:c(e,"button"),addGroupToolbarButton:c(e,"grouptoolbarbutton"),addToggleButton:c(e,"togglebutton"),addMenuButton:c(e,"menubutton"),addSplitButton:c(e,"splitbutton"),addMenuItem:c(t,"menuitem"),addNestedMenuItem:c(t,"nestedmenuitem"),addToggleMenuItem:c(t,"togglemenuitem"),addAutocompleter:c(n,"autocompleter"),addContextMenu:c(r,"contextmenu"),addContextToolbar:c(s,"contexttoolbar"),addContextForm:(d=s,(e,t)=>{d[e.toLowerCase()]={type:"contextform",...t}}),addSidebar:c(i,"sidebar"),addView:c(l,"views"),addIcon:(e,t)=>o[e.toLowerCase()]=t,addContext:(e,t)=>a[e.toLowerCase()]=t,getAll:()=>({buttons:e,menuItems:t,icons:o,popups:n,contextMenus:r,contextToolbars:s,sidebars:i,views:l,contexts:a})};var d})();return{addAutocompleter:e.addAutocompleter,addButton:e.addButton,addContextForm:e.addContextForm,addContextMenu:e.addContextMenu,addContextToolbar:e.addContextToolbar,addIcon:e.addIcon,addMenuButton:e.addMenuButton,addMenuItem:e.addMenuItem,addNestedMenuItem:e.addNestedMenuItem,addSidebar:e.addSidebar,addSplitButton:e.addSplitButton,addToggleButton:e.addToggleButton,addGroupToolbarButton:e.addGroupToolbarButton,addToggleMenuItem:e.addToggleMenuItem,addView:e.addView,addContext:e.addContext,getAll:e.getAll}},qL=gi.DOM,WL=dn.extend,KL=dn.each;class YL{baseUri;id;editorUid;plugins={};documentBaseURI;baseURI;contentCSS=[];contentStyles=[];ui;mode;options;editorUpload;userLookup;shortcuts;loadedCSS={};editorCommands;suffix;editorManager;hidden;inline;hasVisual;isNotDirty=!1;annotator;bodyElement;bookmark;composing=!1;container;contentAreaContainer;contentDocument;contentWindow;delegates;destroyed=!1;dom;editorContainer;eventRoot;formatter;formElement;formEventDelegate;hasHiddenInput=!1;iframeElement=null;iframeHTML;initialized=!1;notificationManager;orgDisplay;orgVisibility;parser;quirks;readonly=!1;removed=!1;schema;selection;serializer;startContent="";targetElm;theme;model;undoManager;windowManager;licenseKeyManager;_beforeUnload;_eventDispatcher;_nodeChangeDispatcher;_pendingNativeEvents=[];_selectionOverrides;_skinLoaded=!1;_editableRoot=!0;bindPendingEventDelegates;toggleNativeEvent;unbindAllNativeEvents;fire;dispatch;on;off;once;hasEventListeners;constructor(e,t,n){this.editorManager=n,WL(this,AL);const o=this;this.id=e,this.editorUid=Me(),this.hidden=!1;const r=((e,t)=>{const n=Ue(t);return tL(YP||GP,YP,n,e,n)})(n.defaultOptions,t);this.options=((e,t,n=t)=>{const o={},r={},s=(e,t,n)=>{const o=BL(t,n);return OL(o)?(r[e]=o.value,!0):(console.warn(TL(`Invalid value passed for the ${e} option`,o)),!1)},a=e=>_e(o,e);return{register:(e,n)=>{const a=(e=>u(e.processor))(n)?(e=>{const t=(()=>{switch(e){case"array":return p;case"boolean":return b;case"function":return w;case"number":return S;case"object":return f;case"string":return u;case"string[]":return DL;case"object[]":return e=>E(e,f);case"regexp":return e=>m(e,RegExp);default:return M}})();return n=>BL(n,t,`The value must be a ${e}.`)})(n.processor):n.processor,i=((e,t,n)=>{if(!y(t)){const o=BL(t,n);if(OL(o))return o.value;console.error(TL(`Invalid default value passed for the "${e}" option`,o))}})(e,n.default,a);o[e]={...n,default:i,processor:a},xe(r,e).orThunk(()=>xe(t,e)).each(t=>s(e,t,a))},isRegistered:a,get:e=>xe(r,e).orThunk(()=>xe(o,e).map(e=>e.default)).getOrUndefined(),set:(e,t)=>{if(a(e)){const n=o[e];return n.immutable?(console.error(`"${e}" is an immutable option and cannot be updated`),!1):s(e,t,n.processor)}return console.warn(`"${e}" is not a registered option. Ensure the option has been registered before setting a value.`),!1},unset:e=>{const t=a(e);return t&&delete r[e],t},isSet:e=>_e(r,e),debug:()=>{try{console.log(JSON.parse(JSON.stringify(n,(e,t)=>b(t)||S(t)||u(t)||h(t)||p(t)||g(t)?t:Object.prototype.toString.call(t))))}catch(e){console.error(e)}}}})(0,r,t),(e=>{const t=e.options.register;t("id",{processor:"string",default:e.id}),t("selector",{processor:"string"}),t("target",{processor:"object"}),t("suffix",{processor:"string"}),t("cache_suffix",{processor:"string"}),t("base_url",{processor:"string"}),t("referrer_policy",{processor:"string",default:""}),t("crossorigin",{processor:"function",default:N(void 0)}),t("language_load",{processor:"boolean",default:!0}),t("inline",{processor:"boolean",default:!1}),t("iframe_attrs",{processor:"object",default:{}}),t("doctype",{processor:"string",default:""}),t("document_base_url",{processor:"string",default:e.editorManager.documentBaseURL}),t("body_id",{processor:pd(e,"tinymce"),default:"tinymce"}),t("body_class",{processor:pd(e),default:""}),t("content_security_policy",{processor:"string",default:""}),t("br_in_pre",{processor:"boolean",default:!0}),t("forced_root_block",{processor:e=>{const t=u(e)&&ot(e);return t?{value:e,valid:t}:{valid:!1,message:"Must be a non-empty string."}},default:"p"}),t("forced_root_block_attrs",{processor:"object",default:{}}),t("newline_behavior",{processor:e=>{const t=$(["block","linebreak","invert","default"],e);return t?{value:e,valid:t}:{valid:!1,message:"Must be one of: block, linebreak, invert or default."}},default:"default"}),t("br_newline_selector",{processor:"string",default:".mce-toc h2,figcaption,caption"}),t("no_newline_selector",{processor:"string",default:""}),t("keep_styles",{processor:"boolean",default:!0}),t("end_container_on_empty_block",{processor:e=>b(e)||u(e)?{valid:!0,value:e}:{valid:!1,message:"Must be boolean or a string"},default:"blockquote"}),t("font_size_style_values",{processor:"string",default:"xx-small,x-small,small,medium,large,x-large,xx-large"}),t("font_size_legacy_values",{processor:"string",default:"xx-small,small,medium,large,x-large,xx-large,300%"}),t("font_size_classes",{processor:"string",default:""}),t("automatic_uploads",{processor:"boolean",default:!0}),t("images_reuse_filename",{processor:"boolean",default:!1}),t("images_replace_blob_uris",{processor:"boolean",default:!0}),t("icons",{processor:"string",default:""}),t("icons_url",{processor:"string",default:""}),t("images_upload_url",{processor:"string",default:""}),t("images_upload_base_path",{processor:"string",default:""}),t("images_upload_credentials",{processor:"boolean",default:!1}),t("images_upload_handler",{processor:"function"}),t("language",{processor:"string",default:"en"}),t("language_url",{processor:"string",default:""}),t("entity_encoding",{processor:"string",default:"named"}),t("indent",{processor:"boolean",default:!0}),t("indent_before",{processor:"string",default:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,details,summary,article,hgroup,aside,figure,figcaption,option,optgroup,datalist"}),t("indent_after",{processor:"string",default:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,details,summary,article,hgroup,aside,figure,figcaption,option,optgroup,datalist"}),t("indent_use_margin",{processor:"boolean",default:!1}),t("indentation",{processor:"string",default:"40px"}),t("content_css",{processor:e=>{const t=!1===e||u(e)||E(e,u);return t?u(e)?{value:V(e.split(","),et),valid:t}:p(e)?{value:e,valid:t}:!1===e?{value:[],valid:t}:{value:e,valid:t}:{valid:!1,message:"Must be false, a string or an array of strings."}},default:fm(e)?[]:["default"]}),t("content_style",{processor:"string"}),t("content_language",{processor:"string"}),t("content_css_cors",{processor:"boolean",default:!1}),t("font_css",{processor:e=>{const t=u(e)||E(e,u);return t?{value:p(e)?e:V(e.split(","),et),valid:t}:{valid:!1,message:"Must be a string or an array of strings."}},default:[]}),t("extended_mathml_attributes",{processor:"string[]"}),t("extended_mathml_elements",{processor:"string[]"}),t("inline_boundaries",{processor:"boolean",default:!0}),t("inline_boundaries_selector",{processor:"string",default:"a[href],code,span.mce-annotation"}),t("object_resizing",{processor:e=>{const t=b(e)||u(e);return t?!1===e||cd.isiPhone()||cd.isiPad()?{value:"",valid:t}:{value:!0===e?"table,img,figure.image,div,video,iframe":e,valid:t}:{valid:!1,message:"Must be boolean or a string"}},default:!dd}),t("resize_img_proportional",{processor:"boolean",default:!0}),t("event_root",{processor:"string"}),t("service_message",{processor:"string"}),t("onboarding",{processor:"boolean",default:!0}),t("tiny_cloud_entry_url",{processor:"string"}),t("theme",{processor:e=>!1===e||u(e)||w(e),default:"silver"}),t("theme_url",{processor:"string"}),t("formats",{processor:"object"}),t("format_empty_lines",{processor:"boolean",default:!1}),t("format_noneditable_selector",{processor:"string",default:""}),t("preview_styles",{processor:e=>{const t=!1===e||u(e);return t?{value:!1===e?"":e,valid:t}:{valid:!1,message:"Must be false or a string"}},default:"font-family font-size font-weight font-style text-decoration text-transform color background-color border border-radius outline text-shadow"}),t("custom_ui_selector",{processor:"string",default:""}),t("hidden_input",{processor:"boolean",default:!0}),t("submit_patch",{processor:"boolean",default:!0}),t("encoding",{processor:"string"}),t("add_form_submit_trigger",{processor:"boolean",default:!0}),t("add_unload_trigger",{processor:"boolean",default:!0}),t("custom_undo_redo_levels",{processor:"number",default:0}),t("disable_nodechange",{processor:"boolean",default:!1}),t("disabled",{processor:t=>b(t)?(e.initialized&&fu(e)!==t&&Promise.resolve().then(()=>{((e,t)=>{e.dispatch("DisabledStateChange",{state:t})})(e,t)}),{valid:!0,value:t}):{valid:!1,message:"The value must be a boolean."},default:!1}),t("readonly",{processor:"boolean",default:!1}),t("editable_root",{processor:"boolean",default:!0}),t("plugins",{processor:"string[]",default:[]}),t("external_plugins",{processor:"object"}),t("forced_plugins",{processor:"string[]"}),t("model",{processor:"string",default:e.hasPlugin("rtc")?"plugin":"dom"}),t("model_url",{processor:"string"}),t("block_unsupported_drop",{processor:"boolean",default:!0}),t("visual",{processor:"boolean",default:!0}),t("visual_table_class",{processor:"string",default:"mce-item-table"}),t("visual_anchor_class",{processor:"string",default:"mce-item-anchor"}),t("iframe_aria_text",{processor:"string",default:"Rich Text Area".concat(e.hasPlugin("help")?". Press ALT-0 for help.":"")}),t("setup",{processor:"function"}),t("init_instance_callback",{processor:"function"}),t("url_converter",{processor:"function",default:e.convertURL}),t("url_converter_scope",{processor:"object",default:e}),t("urlconverter_callback",{processor:"function"}),t("allow_conditional_comments",{processor:"boolean",default:!1}),t("allow_html_data_urls",{processor:"boolean",default:!1}),t("allow_svg_data_urls",{processor:"boolean"}),t("allow_html_in_named_anchor",{processor:"boolean",default:!1}),t("allow_html_in_comments",{processor:"boolean",default:!1}),t("allow_script_urls",{processor:"boolean",default:!1}),t("allow_unsafe_link_target",{processor:"boolean",default:!1}),t("allow_mathml_annotation_encodings",{processor:e=>{const t=E(e,u);return t?{value:e,valid:t}:{valid:!1,message:"Must be an array of strings."}},default:[]}),t("convert_fonts_to_spans",{processor:"boolean",default:!0,deprecated:!0}),t("fix_list_elements",{processor:"boolean",default:!1}),t("preserve_cdata",{processor:"boolean",default:!1}),t("remove_trailing_brs",{processor:"boolean",default:!0}),t("pad_empty_with_br",{processor:"boolean",default:!1}),t("inline_styles",{processor:"boolean",default:!0,deprecated:!0}),t("element_format",{processor:"string",default:"html"}),t("entities",{processor:"string"}),t("schema",{processor:"string",default:"html5"}),t("convert_urls",{processor:"boolean",default:!0}),t("relative_urls",{processor:"boolean",default:!0}),t("remove_script_host",{processor:"boolean",default:!0}),t("custom_elements",{processor:gd}),t("extended_valid_elements",{processor:"string"}),t("invalid_elements",{processor:"string"}),t("invalid_styles",{processor:gd}),t("valid_children",{processor:"string"}),t("valid_classes",{processor:gd}),t("valid_elements",{processor:"string"}),t("valid_styles",{processor:gd}),t("verify_html",{processor:"boolean",default:!0}),t("auto_focus",{processor:e=>u(e)||!0===e}),t("browser_spellcheck",{processor:"boolean",default:!1}),t("protect",{processor:"array"}),t("images_file_types",{processor:"string",default:"jpeg,jpg,jpe,jfi,jif,jfif,png,gif,bmp,webp"}),t("deprecation_warnings",{processor:"boolean",default:!0}),t("a11y_advanced_options",{processor:"boolean",default:!1}),t("api_key",{processor:"string"}),t("license_key",{processor:"string"}),t("paste_block_drop",{processor:"boolean",default:!1}),t("paste_data_images",{processor:"boolean",default:!0}),t("paste_preprocess",{processor:"function"}),t("paste_postprocess",{processor:"function"}),t("paste_webkit_styles",{processor:"string",default:"none"}),t("paste_remove_styles_if_webkit",{processor:"boolean",default:!0}),t("paste_merge_formats",{processor:"boolean",default:!0}),t("smart_paste",{processor:"boolean",default:!0}),t("paste_as_text",{processor:"boolean",default:!1}),t("paste_tab_spaces",{processor:"number",default:4}),t("text_patterns",{processor:e=>E(e,f)||!1===e?{value:td(!1===e?[]:e),valid:!0}:{valid:!1,message:"Must be an array of objects or false."},default:[{start:"*",end:"*",format:"italic"},{start:"**",end:"**",format:"bold"},{start:"#",format:"h1",trigger:"space"},{start:"##",format:"h2",trigger:"space"},{start:"###",format:"h3",trigger:"space"},{start:"####",format:"h4",trigger:"space"},{start:"#####",format:"h5",trigger:"space"},{start:"######",format:"h6",trigger:"space"},{start:"1.",cmd:"InsertOrderedList",trigger:"space"},{start:"*",cmd:"InsertUnorderedList",trigger:"space"},{start:"-",cmd:"InsertUnorderedList",trigger:"space"},{start:">",cmd:"mceBlockQuote",trigger:"space"},{start:"---",cmd:"InsertHorizontalRule",trigger:"space"}]}),t("text_patterns_lookup",{processor:e=>{return w(e)?{value:(t=e,e=>{const n=t(e);return td(n)}),valid:!0}:{valid:!1,message:"Must be a single function"};var t},default:e=>[]}),t("allow_noneditable",{processor:"boolean",default:!0}),t("noneditable_class",{processor:"string",default:"mceNonEditable"}),t("editable_class",{processor:"string",default:"mceEditable"}),t("noneditable_regexp",{processor:e=>E(e,ud)?{value:e,valid:!0}:ud(e)?{value:[e],valid:!0}:{valid:!1,message:"Must be a RegExp or an array of RegExp."},default:[]}),t("table_tab_navigation",{processor:"boolean",default:!0}),t("highlight_on_focus",{processor:"boolean",default:!0}),t("xss_sanitization",{processor:"boolean",default:!0}),t("details_initial_state",{processor:e=>{const t=$(["inherited","collapsed","expanded"],e);return t?{value:e,valid:t}:{valid:!1,message:"Must be one of: inherited, collapsed, or expanded."}},default:"inherited"}),t("details_serialized_state",{processor:e=>{const t=$(["inherited","collapsed","expanded"],e);return t?{value:e,valid:t}:{valid:!1,message:"Must be one of: inherited, collapsed, or expanded."}},default:"inherited"}),t("init_content_sync",{processor:"boolean",default:!1}),t("newdocument_content",{processor:"string",default:""}),t("sandbox_iframes",{processor:"boolean",default:!0}),t("sandbox_iframes_exclusions",{processor:"string[]",default:["youtube.com","youtu.be","vimeo.com","player.vimeo.com","dailymotion.com","embed.music.apple.com","open.spotify.com","giphy.com","dai.ly","codepen.io"]}),t("convert_unsafe_embeds",{processor:"boolean",default:!0}),t("user_id",{processor:"string",default:"Anonymous"}),t("content_id",{processor:"string"}),t("fetch_users",{processor:e=>void 0===e?{valid:!0,value:void 0}:w(e)?{valid:!0,value:e}:{valid:!1,message:"fetch_users must be a function that returns a Promise"}});const n=Fc([Hc("mimeType"),(o="extensions",s=e=>u(e)?Te.value(e):Te.error("Extensions must be an array of strings"),r=xc(e=>s(e).fold(Cc,vc)),jc(o,o,{tag:"required",process:{}},Ic(r)))]);var o,r,s;t("documents_file_types",{processor:e=>Uc("documents_file_types",n,e).fold(e=>({valid:!1,message:"Must be a non-empty array of objects matching the configuration schema: https://www.tiny.cloud/docs/tinymce/latest/uploadcare-documents/#documents-file-types"}),e=>({valid:!0,value:e}))}),e.on("ScriptsLoaded",()=>{t("directionality",{processor:"string",default:Ci.isRtl()?"rtl":void 0}),t("placeholder",{processor:"string",default:md.getAttrib(e.getElement(),"placeholder")})}),t("lists_indent_on_tab",{processor:"boolean",default:!0}),t("list_max_depth",{processor:e=>{const t=S(e);if(t){if(e<0)throw new Error("list_max_depth cannot be set to lower than 0");return{value:e,valid:t}}return{valid:!1,message:"Must be a number"}}})})(o),this.userLookup=(e=>{const t=new Map,n=new Map,o=e=>I.from(t.get(e)),r=(e,t)=>I.from(n.get(e)).each(({reject:o})=>{o(t),n.delete(e)}),s=gu(e);return Object.freeze({userId:s,fetchUsers:s=>{const a=pu(e);if(!Array.isArray(s))return{};if(!a)return ae(s,e=>Promise.resolve({id:e,name:e,avatar:HP({id:e,name:e})}));const i=fe(Y(s,e=>!o(e).isSome()));return q(i,e=>{const o=new Promise((t,o)=>{n.set(e,{resolve:t,reject:o})});((e,n)=>{t.set(n,e)})(o,e)}),i.length>0&&a(i).then(WP).then(e=>{const t=new Set(V(e,e=>e.id));q(e,e=>((e,t)=>I.from(n.get(e)).each(({resolve:o})=>{o(t),n.delete(e)}))(e.id,e)),q(i,e=>{t.has(e)||r(e,new Error(`User ${e} not found`))})}).catch(e=>{q(i,t=>r(t,e instanceof Error?e:new Error("Network error")))}),X(s,(e,t)=>(e[t]=o(t).getOr(Promise.resolve({id:t,name:t,avatar:HP({id:t,name:t})})),e),{})}})})(this);const s=this.options.get;s("deprecation_warnings")&&((e,t)=>{((e,t)=>{const n=DS(e),o=BS(t),r=o.length>0,s=n.length>0,a="mobile"===t.theme;if(r||s||a){const e="\n- ",t=a?`\n\nThemes:${e}mobile`:"",i=r?`\n\nPlugins:${e}${o.join(e)}`:"",l=s?`\n\nOptions:${e}${n.join(e)}`:"";console.warn("The following deprecated features are currently enabled and have been removed in TinyMCE 8.0. These features will no longer work and should be removed from the TinyMCE configuration. See https://www.tiny.cloud/docs/tinymce/8/migration-from-7x/ for more information."+t+i+l)}})(e,t),((e,t)=>{const n=TS(e),o=PS(t),r=o.length>0,s=n.length>0;if(r||s){const e="\n- ",t=r?`\n\nPlugins:${e}${o.map(LS).join(e)}`:"",a=s?`\n\nOptions:${e}${n.join(e)}`:"";console.warn("The following deprecated features are currently enabled but will be removed soon."+t+a)}})(e,t)})(t,r);const a=s("suffix");a&&(n.suffix=a),this.suffix=n.suffix;const i=s("base_url");i&&n._setBaseUrl(i),this.baseUri=n.baseURI;const l=zd(o);l&&(hi.ScriptLoader._setReferrerPolicy(l),gi.DOM.styleSheetLoader._setReferrerPolicy(l)),hi.ScriptLoader._setCrossOrigin(e=>jd(o)(e,"script")),gi.DOM.styleSheetLoader._setCrossOrigin(e=>jd(o)(e,"stylesheet"));const c=Sm(o);C(c)&&gi.DOM.styleSheetLoader._setContentCssCors(c),wi.languageLoad=s("language_load"),wi.baseURL=n.baseURL,this.setDirty(!1),this.documentBaseURI=new eS(yd(o),{base_uri:this.baseUri}),this.baseURI=this.baseUri,this.inline=fm(o),this.hasVisual=km(o),this.shortcuts=new HL(this),this.editorCommands=new vL(this),hL(this);const d=s("cache_suffix");d&&(sn.cacheSuffix=d.replace(/^[\?\&]+/,"")),this.ui={registry:VL(),styleSheetLoader:void 0,show:x,hide:x,setEnabled:x,isEnabled:M},this.mode=IL(o),Object.defineProperty(this,"editorUid",{writable:!1,configurable:!1,enumerable:!0}),n.dispatch("SetupEditor",{editor:this});const v=Dm(o);w(v)&&v.call(o,o)}render(){(e=>{const t=e.id;Ci.setCode($d(e));const n=()=>{FP.unbind(window,"ready",n),e.render()};if(!ri.Event.domLoaded)return void FP.bind(window,"ready",n);if(!e.getElement())return;const o=un.fromDom(e.getElement()),r=ko(o);e.on("remove",()=>{W(o.dom.attributes,e=>xo(o,e.name)),Co(o,r)}),e.ui.styleSheetLoader=((e,t)=>sa.forElement(e,{contentCssCors:Sm(t),referrerPolicy:zd(t)}))(o,e),fm(e)?e.inline=!0:(e.orgVisibility=e.getElement().style.visibility,e.getElement().style.visibility="hidden");const s=e.getElement().form||FP.getParent(t,"form");s&&(e.formElement=s,gm(e)&&!rs(e.getElement())&&(FP.insertAfter(FP.create("input",{type:"hidden",name:t}),t),e.hasHiddenInput=!0),e.formEventDelegate=t=>{e.dispatch(t.type,t)},FP.bind(s,"submit reset",e.formEventDelegate),e.on("reset",()=>{e.resetContent()}),!pm(e)||s.submit.nodeType||s.submit.length||s._mceOldSubmit||(s._mceOldSubmit=s.submit,s.submit=()=>(e.editorManager.triggerSave(),e.setDirty(!1),s._mceOldSubmit(s)))),e.windowManager=sx(e),e.notificationManager=nx(e),(e=>"xml"===e.options.get("encoding"))(e)&&e.on("GetContent",e=>{e.save&&(e.content=FP.encode(e.content))}),hm(e)&&e.on("submit",()=>{e.initialized&&e.save()}),bm(e)&&(e._beforeUnload=()=>{!e.initialized||e.destroyed||e.isHidden()||e.save({format:"raw",no_events:!0,set_dirty:!1})},e.editorManager.on("BeforeUnload",e._beforeUnload)),e.editorManager.add(e),jP(e,e.suffix)})(this)}focus(e){this.execCommand("mceFocus",!1,e)}hasFocus(){return Rp(this)}translate(e){return Ci.translate(e)}getParam(e,t,n){const o=this.options;return o.isRegistered(e)||(C(n)?o.register(e,{processor:n,default:t}):o.register(e,{processor:M,default:t})),o.isSet(e)||y(t)?o.get(e):t}hasPlugin(e,t){return!(!$(Em(this),e)||t&&void 0===ox.get(e))}nodeChanged(e){this._nodeChangeDispatcher.nodeChanged(e)}addCommand(e,t,n){this.editorCommands.addCommand(e,t,n)}addQueryStateHandler(e,t,n){this.editorCommands.addQueryStateHandler(e,t,n)}addQueryValueHandler(e,t,n){this.editorCommands.addQueryValueHandler(e,t,n)}addShortcut(e,t,n,o){this.shortcuts.add(e,t,n,o)}execCommand(e,t,n,o){return this.editorCommands.execCommand(e,t,n,o)}queryCommandState(e){return this.editorCommands.queryCommandState(e)}queryCommandValue(e){return this.editorCommands.queryCommandValue(e)}queryCommandSupported(e){return this.editorCommands.queryCommandSupported(e)}show(){const e=this;e.hidden&&(e.hidden=!1,e.inline?e.getBody().contentEditable="true":(qL.show(e.getContainer()),qL.hide(e.id)),e.load(),e.dispatch("show"))}hide(){const e=this;e.hidden||(e.save(),e.inline?(e.getBody().contentEditable="false",e===e.editorManager.focusedEditor&&(e.editorManager.focusedEditor=null)):(qL.hide(e.getContainer()),qL.setStyle(e.id,"display",e.orgDisplay)),e.hidden=!0,e.dispatch("hide"))}isHidden(){return this.hidden}setProgressState(e,t){this.dispatch("ProgressState",{state:e,time:t})}load(e={}){const t=this,n=t.getElement();if(!t.removed&&n){const o={...e,load:!0},r=rs(n)?n.value:n.innerHTML;t.setContent(r,o),o.no_events||t.dispatch("LoadContent",{...o,element:n})}}save(e={}){const t=this;let n=t.getElement();if(!n||!t.initialized||t.removed)return"";const o={...e,save:!0,element:n};let r=t.getContent(o);const s={...o,content:r};if(s.no_events||t.dispatch("SaveContent",s),"raw"===s.format&&t.dispatch("RawSaveContent",s),r=s.content,rs(n))n.value=r;else{!e.is_removing&&t.inline||(n.innerHTML=r);const o=qL.getParent(t.id,"form");o&&KL(o.elements,e=>e.name!==t.id||(e.value=r,!1))}return s.element=o.element=n=null,!1!==s.set_dirty&&t.setDirty(!1),r}setContent(e,t){qE(this,e,t)}getContent(e){return((e,t={})=>{const n=((e,t)=>({...e,format:t,get:!0,getInner:!0}))(t,t.format?t.format:"html");return wS(e,n).fold(R,t=>{const n=((e,t)=>ME(e).editor.getContent(t))(e,t);return SS(e,n,t)})})(this,e)}insertContent(e,t){t&&(e=WL({content:e},t)),this.execCommand("mceInsertContent",!1,e)}resetContent(e){void 0===e?qE(this,this.startContent,{initial:!0,format:"raw"}):qE(this,e,{initial:!0}),this.undoManager.reset(),this.setDirty(!1),this.nodeChanged()}isDirty(){return!this.isNotDirty}setDirty(e){const t=!this.isNotDirty;this.isNotDirty=!e,e&&e!==t&&this.dispatch("dirty")}getContainer(){const e=this;return e.container||(e.container=e.editorContainer||qL.get(e.id+"_parent")),e.container}getContentAreaContainer(){return this.contentAreaContainer}getElement(){return this.targetElm||(this.targetElm=qL.get(this.id)),this.targetElm}getWin(){const e=this;if(!e.contentWindow){const t=e.iframeElement;t&&(e.contentWindow=t.contentWindow)}return e.contentWindow}getDoc(){const e=this;if(!e.contentDocument){const t=e.getWin();t&&(e.contentDocument=t.document)}return e.contentDocument}getBody(){const e=this.getDoc();return this.bodyElement??e?.body??null}convertURL(e,t,n){const o=this,r=o.options.get,s=Om(o);if(w(s))return s.call(o,e,n,!0,t);if(!r("convert_urls")||"link"===n||f(n)&&"LINK"===n.nodeName||0===e.indexOf("file:")||0===e.length)return e;const a=new eS(e);return"http"!==a.protocol&&"https"!==a.protocol&&""!==a.protocol?e:r("relative_urls")?o.documentBaseURI.toRelative(e):e=o.documentBaseURI.toAbsolute(e,r("remove_script_host"))}addVisual(e){((e,t)=>{((e,t)=>{IE(e).editor.addVisual(t)})(e,t)})(this,e)}setEditableRoot(e){((e,t)=>{e._editableRoot!==t&&(e._editableRoot=t,Ax(e)||(e.getBody().contentEditable=String(e.hasEditableRoot()),e.nodeChanged()),((e,t)=>{e.dispatch("EditableRootStateChange",{state:t})})(e,t))})(this,e)}hasEditableRoot(){return this._editableRoot}announce(e,t){ap.announce(e,t)}remove(){(e=>{if(!e.removed){const{_selectionOverrides:t,editorUpload:n}=e,o=e.getBody(),r=e.getElement();o&&e.save({is_removing:!0}),e.removed=!0,e.unbindAllNativeEvents(),e.hasHiddenInput&&C(r?.nextSibling)&&WE.remove(r.nextSibling),(e=>{e.dispatch("remove")})(e),e.editorManager.remove(e),!e.inline&&o&&(e=>{WE.setStyle(e.id,"display",e.orgDisplay)})(e),(e=>{e.dispatch("detach")})(e),WE.remove(e.getContainer()),KE(t),KE(n),e.destroy()}})(this)}destroy(e){((e,t)=>{const{selection:n,dom:o}=e;e.destroyed||(t||e.removed?(t||(e.editorManager.off("beforeunload",e._beforeUnload),e.theme&&e.theme.destroy&&e.theme.destroy(),KE(n),KE(o)),(e=>{const t=e.formElement;t&&(t._mceOldSubmit&&(t.submit=t._mceOldSubmit,delete t._mceOldSubmit),WE.unbind(t,"submit reset",e.formEventDelegate))})(e),(e=>{const t=e;t.contentAreaContainer=t.formElement=t.container=t.editorContainer=null,t.bodyElement=t.contentDocument=t.contentWindow=null,t.iframeElement=t.targetElm=null;const n=e.selection;if(n){const e=n.dom;t.selection=n.win=n.dom=e.doc=null}})(e),e.destroyed=!0):e.remove())})(this,e)}uploadImages(){return this.editorUpload.uploadImages()}_scanForImages(){return this.editorUpload.scanForImages()}}const GL=gi.DOM,XL=dn.each;let QL,ZL=!1,JL=[];const eM=e=>{const t=e.type;XL(rM.get(),n=>{switch(t){case"scroll":n.dispatch("ScrollWindow",e);break;case"resize":n.dispatch("ResizeWindow",e)}})},tM=e=>{if(e!==ZL){const t=gi.DOM;e?(t.bind(window,"resize",eM),t.bind(window,"scroll",eM)):(t.unbind(window,"resize",eM),t.unbind(window,"scroll",eM)),ZL=e}},nM=e=>{const t=JL;return JL=Y(JL,t=>e!==t),rM.activeEditor===e&&(rM.activeEditor=JL.length>0?JL[0]:null),rM.focusedEditor===e&&(rM.focusedEditor=null),t.length!==JL.length},oM="CSS1Compat"!==document.compatMode,rM={...EL,baseURI:null,baseURL:null,defaultOptions:{},documentBaseURL:null,suffix:null,pageUid:Me(),majorVersion:"8",minorVersion:"10.0",releaseDate:"2026-10-14",i18n:Ci,activeEditor:null,focusedEditor:null,setup(){const e=this;let t="",n="",o=eS.getDocumentBaseUrl(document.location);/^[^:]+:\/\/\/?[^\/]+\//.test(o)&&(o=o.replace(/[\?#].*$/,"").replace(/[\/\\][^\/]+$/,""),/[\/\\]$/.test(o)||(o+="/"));const r=window.tinymce||window.tinyMCEPreInit;if(r)t=r.base||r.baseURL,n=r.suffix;else{const e=document.getElementsByTagName("script");for(let o=0;oObject.defineProperty(e,t,{writable:!1,configurable:!1,enumerable:!0}))},overrideDefaults(e){const t=e.base_url;t&&this._setBaseUrl(t);const n=e.suffix;n&&(this.suffix=n),this.defaultOptions=e;const o=e.plugin_base_urls;void 0!==o&&he(o,(e,t)=>{wi.PluginManager.urls[t]=e})},init(e){const t=this;let n;const o=dn.makeMap("area base basefont br col frame hr img input isindex link meta param embed source wbr track colgroup option table tbody tfoot thead tr th td script noscript style textarea video audio iframe object menu"," ");let r=e=>{n=e};const s=()=>{let n=0;const a=[];let i;GL.unbind(window,"ready",s),(()=>{const n=e.onpageload;n&&n.apply(t,[])})(),i=fe((e=>sn.browser.isIE()||sn.browser.isEdge()?(dx("TinyMCE does not support the browser you are using. For a list of supported browsers please see: https://www.tiny.cloud/docs/tinymce/8/support/#supportedwebbrowsers"),[]):oM?(dx("Failed to initialize the editor as the document is not in standards mode. TinyMCE requires standards mode."),[]):u(e.selector)?GL.select(e.selector):C(e.target)?[e.target]:[])(e)),dn.each(i,e=>{var n;(n=t.get(e.id))&&n.initialized&&!(n.getContainer()||n.getBody()).parentNode&&(nM(n),n.unbindAllNativeEvents(),n.destroy(!0),n.removed=!0)}),i=dn.grep(i,e=>!t.get(e.id)),0===i.length?r([]):XL(i,s=>{((e,t)=>e.inline&&t.tagName.toLowerCase()in o)(e,s)?dx("Could not initialize inline editor on invalid inline target element",s):((e,o,s)=>{const l=new YL(e,o,t);a.push(l),l.on("init",()=>{++n===i.length&&r(a)}),l.targetElm=l.targetElm||s,l.render()})((e=>{let t=e.id;return t||(t=xe(e,"name").filter(e=>!GL.get(e)).getOrThunk(GL.uniqueId),e.setAttribute("id",t)),t})(s),e,s)})};return GL.bind(window,"ready",s),new Promise(e=>{n?e(n):r=t=>{e(t)}})},get(e){return 0===arguments.length?JL.slice(0):u(e)?Z(JL,t=>t.id===e).getOr(null):S(e)&&JL[e]?JL[e]:null},add(e){const t=this,n=t.get(e.id);return n===e||(null===n&&JL.push(e),tM(!0),t.activeEditor=e,t.dispatch("AddEditor",{editor:e}),QL||(QL=e=>{const n=t.dispatch("BeforeUnload");if(n.returnValue)return e.preventDefault(),e.returnValue=n.returnValue,n.returnValue},window.addEventListener("beforeunload",QL))),e},createEditor(e,t){return this.add(new YL(e,t,this))},remove(e){const t=this;let n;if(e){if(!u(e))return n=e,h(t.get(n.id))?null:(nM(n)&&t.dispatch("RemoveEditor",{editor:n}),0===JL.length&&window.removeEventListener("beforeunload",QL),n.remove(),tM(JL.length>0),n);XL(GL.select(e),e=>{n=t.get(e.id),n&&t.remove(n)})}else for(let e=JL.length-1;e>=0;e--)t.remove(JL[e])},execCommand(e,t,n){const o=this,r=f(n)?n.id??n.index:n;switch(e){case"mceAddEditor":if(!o.get(r)){const e=n.options;new YL(r,e,o).render()}return!0;case"mceRemoveEditor":{const e=o.get(r);return e&&e.remove(),!0}case"mceToggleEditor":{const e=o.get(r);return e?(e.isHidden()?e.show():e.hide(),!0):(o.execCommand("mceAddEditor",!1,n),!0)}}return!!o.activeEditor&&o.activeEditor.execCommand(e,t,n)},triggerSave:()=>{XL(JL,e=>{e.save()})},addI18n:(e,t)=>{Ci.add(e,t)},translate:e=>Ci.translate(e),setActive(e){const t=this.activeEditor;this.activeEditor!==e&&(t&&t.dispatch("deactivate",{relatedTarget:e}),e.dispatch("activate",{relatedTarget:t})),this.activeEditor=e},_setBaseUrl(e){this.baseURL=new eS(this.documentBaseURL).toAbsolute(e.replace(/\/+$/,"")),this.baseURI=new eS(this.baseURL)},_addLicenseKeyManager:e=>xx.add(e)};rM.setup();const sM=(()=>{const e=Ke();return{FakeClipboardItem:e=>({items:e,types:ge(e),getType:t=>xe(e,t).getOrUndefined()}),write:t=>{e.set(t)},read:()=>e.get().getOrUndefined(),clear:e.clear}})(),aM=Math.min,iM=Math.max,lM=Math.round,cM=(e,t,n)=>{let o=t.x,r=t.y;const s=e.w,a=e.h,i=t.w,l=t.h,c=(n||"").split("");return"b"===c[0]&&(r+=l),"r"===c[1]&&(o+=i),"c"===c[0]&&(r+=lM(l/2)),"c"===c[1]&&(o+=lM(i/2)),"b"===c[3]&&(r-=a),"r"===c[4]&&(o-=s),"c"===c[3]&&(r-=lM(a/2)),"c"===c[4]&&(o-=lM(s/2)),dM(o,r,s,a)},dM=(e,t,n,o)=>({x:e,y:t,w:n,h:o}),mM={inflate:(e,t,n)=>dM(e.x-t,e.y-n,e.w+2*t,e.h+2*n),relativePosition:cM,findBestRelativePosition:(e,t,n,o)=>{for(let r=0;r=n.x&&s.x+s.w<=n.w+n.x&&s.y>=n.y&&s.y+s.h<=n.h+n.y)return o[r]}return null},intersect:(e,t)=>{const n=iM(e.x,t.x),o=iM(e.y,t.y),r=aM(e.x+e.w,t.x+t.w),s=aM(e.y+e.h,t.y+t.h);return r-n<0||s-o<0?null:dM(n,o,r-n,s-o)},clamp:(e,t,n)=>{let o=e.x,r=e.y,s=e.x+e.w,a=e.y+e.h;const i=t.x+t.w,l=t.y+t.h,c=iM(0,t.x-o),d=iM(0,t.y-r),m=iM(0,s-i),u=iM(0,a-l);return o+=c,r+=d,n&&(s+=c,a+=d,o-=m,r-=u),s-=m,a-=u,dM(o,r,s-o,a-r)},create:dM,fromClientRect:e=>dM(e.left,e.top,e.width,e.height)},uM=(()=>{const e={},t={},n={};return{load:(n,o)=>{const r=`Script at URL "${o}" failed to load`,s=`Script at URL "${o}" did not call \`tinymce.Resource.add('${n}', data)\` within 1 second`;if(void 0!==e[n])return e[n];{const a=new Promise((e,a)=>{const i=((e,t,n=1e3)=>{let o=!1,r=null;const s=e=>(...t)=>{o||(o=!0,null!==r&&(window.clearTimeout(r),r=null),e.apply(null,t))},a=s(e),i=s(t);return{start:(...e)=>{o||null!==r||(r=window.setTimeout(()=>i.apply(null,e),n))},resolve:a,reject:i}})(e,a);t[n]=i.resolve,hi.ScriptLoader.loadScript(o).then(()=>i.start(s),()=>i.reject(r))});return e[n]=a,a}},add:(o,r)=>{void 0!==t[o]&&(t[o](r),delete t[o]),e[o]=Promise.resolve(r),n[o]=r},has:e=>e in n,get:e=>n[e],unload:t=>{delete e[t],delete n[t]}}})();let fM;try{const e="__storage_test__";fM=window.localStorage,fM.setItem(e,e),fM.removeItem(e)}catch{fM=(()=>{let e={},t=[];const n={getItem:t=>e[t]||null,setItem:(n,o)=>{t.push(n),e[n]=String(o)},key:e=>t[e],removeItem:n=>{t=t.filter(e=>e===n),delete e[n]},clear:()=>{t=[],e={}},length:0};return Object.defineProperty(n,"length",{get:()=>t.length,configurable:!1,enumerable:!1}),n})()}const gM={geom:{Rect:mM},util:{Delay:yp,Tools:dn,VK:Tp,URI:eS,EventDispatcher:wL,Observable:EL,I18n:Ci,LocalStorage:fM,ImageUploader:e=>{const t=Fx(),n=$x(e,t);return{upload:(t,o=!0)=>n.upload(t,o?jx(e):void 0)}}},dom:{EventUtils:ri,TreeWalker:Kr,TextSeeker:Pi,DOMUtils:gi,ScriptLoader:hi,RangeUtils:Gp,Serializer:VE,StyleSheetLoader:ra,ControlSelection:Ip,BookmarkManager:ip,Selection:jE,AriaAnnouncer:ap,Event:ri.Event},html:{Styles:Ga,Entities:Sa,Node:xh,Schema:Ua,DomParser:bS,Writer:$h,Serializer:Hh},Env:sn,AddOnManager:wi,Annotator:Jg,Formatter:e_,UndoManager:n_,EditorCommands:vL,WindowManager:sx,NotificationManager:nx,EditorObservable:AL,Shortcuts:HL,Editor:YL,FocusManager:bp,EditorManager:rM,DOM:gi.DOM,ScriptLoader:hi.ScriptLoader,PluginManager:ox,ThemeManager:rx,ModelManager:GE,IconManager:YE,Resource:uM,FakeClipboard:sM,trim:dn.trim,isArray:dn.isArray,is:dn.is,toArray:dn.toArray,makeMap:dn.makeMap,each:dn.each,map:dn.map,grep:dn.grep,inArray:dn.inArray,extend:dn.extend,walk:dn.walk,resolve:dn.resolve,explode:dn.explode,_addCacheSuffix:dn._addCacheSuffix},pM=dn.extend(rM,gM);(e=>{window.tinymce=e,window.tinyMCE=e})(pM),(e=>{if("object"==typeof module)try{module.exports=e}catch{}})(pM)}(); \ No newline at end of file +function jC(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n2?n-2:0),r=2;r1?t-1:0),o=1;o1?n-1:0),r=1;r2&&void 0!==arguments[2]?arguments[2]:aw;if(VC&&VC(e,null),!sw(t))return e;let o=t.length;for(;o--;){let r=t[o];if("string"==typeof r){const e=n(r);e!==r&&(qC(t)||(t[o]=e),r=e)}e[r]=!0}return e}function Ew(e){for(let t=0;t/g),Uw=GC(/\${[\w\W]*/g),zw=GC(/^data-[\-\w.\u00B7-\uFFFF]+$/),jw=GC(/^aria-[\-\w]+$/),$w=GC(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Hw=GC(/^(?:\w+script|data):/i),Vw=GC(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),qw=GC(/^html$/i),Ww=GC(/^[a-z][.\w]*(-[.\w]+)+$/i),Kw=GC(/<[/\w!]/g),Yw=GC(/<[/\w]/g),Gw=GC(/<\/no(script|embed|frames)/i),Xw=GC(/\/>/i),Qw=function(){return"undefined"==typeof window?null:window},Zw=function(e,t,n,o){return hw(e,t)&&sw(e[t])?Sw(o.base?xw(o.base):{},e[t],o.transform):n};var Jw=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Qw();const n=t=>e(t);if(n.version="3.4.12",n.removed=[],!t||!t.document||9!==t.document.nodeType||!t.Element)return n.isSupported=!1,n;let o=t.document;const r=o,s=r.currentScript;t.DocumentFragment;const a=t.HTMLTemplateElement,i=t.Node,l=t.Element,c=t.NodeFilter;void 0===t.NamedNodeMap&&(t.NamedNodeMap||t.MozNamedAttrMap),t.HTMLFormElement;const d=t.DOMParser,m=t.trustedTypes,u=l.prototype,f=kw(u,"cloneNode"),g=kw(u,"remove"),p=kw(u,"nextSibling"),h=kw(u,"childNodes"),b=kw(u,"parentNode"),y=kw(u,"shadowRoot"),v=kw(u,"attributes"),C=i&&i.prototype?kw(i.prototype,"nodeType"):null,w=i&&i.prototype?kw(i.prototype,"nodeName"):null;if("function"==typeof a){const e=o.createElement("template");e.content&&e.content.ownerDocument&&(o=e.content.ownerDocument)}let S,E,x="",k=!1,_=0;const N=function(){if(_>0)throw vw('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},A=function(e){N(),_++;try{return S.createHTML(e)}finally{_--}},R=o,D=R.implementation,T=R.createNodeIterator,O=R.createDocumentFragment,B=R.getElementsByTagName,P=r.importNode;let L={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof HC&&"function"==typeof b&&D&&void 0!==D.createHTMLDocument;const M=Iw,I=Fw,F=Uw,U=zw,z=jw,j=Hw,$=Vw,H=Ww;let V=$w,q=null;const W=Sw({},[..._w,...Nw,...Aw,...Dw,...Ow]);let K=null;const Y=Sw({},[...Bw,...Pw,...Lw,...Mw]);let G=Object.seal(XC(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),X=null,Q=null;const Z=Object.seal(XC(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let J=!0,ee=!0,te=!1,ne=!0,oe=!1,re=!0,se=!1,ae=!1,ie=null,le=null,ce=!1,de=!1,me=!1,ue=!1,fe=!0,ge=!1;const pe="user-content-";let he=!0,be=!1,ye={},ve=null;const Ce=Sw({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let we=null;const Se=Sw({},["audio","video","img","source","image","track"]);let Ee=null;const xe=Sw({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ke="http://www.w3.org/1998/Math/MathML",_e="http://www.w3.org/2000/svg",Ne="http://www.w3.org/1999/xhtml";let Ae=Ne,Re=!1,De=null;const Te=Sw({},[ke,_e,Ne],iw),Oe=YC(["mi","mo","mn","ms","mtext"]);let Be=Sw({},Oe);const Pe=YC(["annotation-xml"]);let Le=Sw({},Pe);const Me=Sw({},["title","style","font","a","script"]);let Ie=null;const Fe=["application/xhtml+xml","text/html"];let Ue=null,ze=null;const je=o.createElement("form"),$e=function(e){return e instanceof RegExp||e instanceof Function},He=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(ze&&ze===e)return;e&&"object"==typeof e||(e={}),e=xw(e),Ie=-1===Fe.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Ue="application/xhtml+xml"===Ie?iw:aw,q=Zw(e,"ALLOWED_TAGS",W,{transform:Ue}),K=Zw(e,"ALLOWED_ATTR",Y,{transform:Ue}),De=Zw(e,"ALLOWED_NAMESPACES",Te,{transform:iw}),Ee=Zw(e,"ADD_URI_SAFE_ATTR",xe,{transform:Ue,base:xe}),we=Zw(e,"ADD_DATA_URI_TAGS",Se,{transform:Ue,base:Se}),ve=Zw(e,"FORBID_CONTENTS",Ce,{transform:Ue}),X=Zw(e,"FORBID_TAGS",xw({}),{transform:Ue}),Q=Zw(e,"FORBID_ATTR",xw({}),{transform:Ue}),ye=!!hw(e,"USE_PROFILES")&&(e.USE_PROFILES&&"object"==typeof e.USE_PROFILES?xw(e.USE_PROFILES):e.USE_PROFILES),J=!1!==e.ALLOW_ARIA_ATTR,ee=!1!==e.ALLOW_DATA_ATTR,te=e.ALLOW_UNKNOWN_PROTOCOLS||!1,ne=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,oe=e.SAFE_FOR_TEMPLATES||!1,re=!1!==e.SAFE_FOR_XML,se=e.WHOLE_DOCUMENT||!1,de=e.RETURN_DOM||!1,me=e.RETURN_DOM_FRAGMENT||!1,ue=e.RETURN_TRUSTED_TYPE||!1,ce=e.FORCE_BODY||!1,fe=!1!==e.SANITIZE_DOM,ge=e.SANITIZE_NAMED_PROPS||!1,he=!1!==e.KEEP_CONTENT,be=e.IN_PLACE||!1,V=function(e){try{return yw(e,""),!0}catch(e){return!1}}(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:$w,Ae="string"==typeof e.NAMESPACE?e.NAMESPACE:Ne,Be=hw(e,"MATHML_TEXT_INTEGRATION_POINTS")&&e.MATHML_TEXT_INTEGRATION_POINTS&&"object"==typeof e.MATHML_TEXT_INTEGRATION_POINTS?xw(e.MATHML_TEXT_INTEGRATION_POINTS):Sw({},Oe),Le=hw(e,"HTML_INTEGRATION_POINTS")&&e.HTML_INTEGRATION_POINTS&&"object"==typeof e.HTML_INTEGRATION_POINTS?xw(e.HTML_INTEGRATION_POINTS):Sw({},Pe);const t=hw(e,"CUSTOM_ELEMENT_HANDLING")&&e.CUSTOM_ELEMENT_HANDLING&&"object"==typeof e.CUSTOM_ELEMENT_HANDLING?xw(e.CUSTOM_ELEMENT_HANDLING):XC(null);if(G=XC(null),hw(t,"tagNameCheck")&&$e(t.tagNameCheck)&&(G.tagNameCheck=t.tagNameCheck),hw(t,"attributeNameCheck")&&$e(t.attributeNameCheck)&&(G.attributeNameCheck=t.attributeNameCheck),hw(t,"allowCustomizedBuiltInElements")&&"boolean"==typeof t.allowCustomizedBuiltInElements&&(G.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),GC(G),oe&&(ee=!1),me&&(de=!0),ye&&(q=Sw({},Ow),K=XC(null),!0===ye.html&&(Sw(q,_w),Sw(K,Bw)),!0===ye.svg&&(Sw(q,Nw),Sw(K,Pw),Sw(K,Mw)),!0===ye.svgFilters&&(Sw(q,Aw),Sw(K,Pw),Sw(K,Mw)),!0===ye.mathMl&&(Sw(q,Dw),Sw(K,Lw),Sw(K,Mw))),Z.tagCheck=null,Z.attributeCheck=null,hw(e,"ADD_TAGS")&&("function"==typeof e.ADD_TAGS?Z.tagCheck=e.ADD_TAGS:sw(e.ADD_TAGS)&&(q===W&&(q=xw(q)),Sw(q,e.ADD_TAGS,Ue))),hw(e,"ADD_ATTR")&&("function"==typeof e.ADD_ATTR?Z.attributeCheck=e.ADD_ATTR:sw(e.ADD_ATTR)&&(K===Y&&(K=xw(K)),Sw(K,e.ADD_ATTR,Ue))),hw(e,"ADD_URI_SAFE_ATTR")&&sw(e.ADD_URI_SAFE_ATTR)&&Sw(Ee,e.ADD_URI_SAFE_ATTR,Ue),hw(e,"FORBID_CONTENTS")&&sw(e.FORBID_CONTENTS)&&(ve===Ce&&(ve=xw(ve)),Sw(ve,e.FORBID_CONTENTS,Ue)),hw(e,"ADD_FORBID_CONTENTS")&&sw(e.ADD_FORBID_CONTENTS)&&(ve===Ce&&(ve=xw(ve)),Sw(ve,e.ADD_FORBID_CONTENTS,Ue)),he&&(q["#text"]=!0),se&&Sw(q,["html","head","body"]),q.table&&(Sw(q,["tbody"]),delete X.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw vw('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw vw('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const t=S;S=e.TRUSTED_TYPES_POLICY;try{x=A("")}catch(e){throw S=t,e}}else null===e.TRUSTED_TYPES_POLICY?(S=void 0,x=""):(void 0===S&&(k||(E=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(n=t.getAttribute(o));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}}(m,s),k=!0),S=E),S&&"string"==typeof x&&(x=A("")));YC&&YC(e),ze=e},Ve=Sw({},[...Nw,...Aw,...Rw]),qe=Sw({},[...Dw,...Tw]),We=function(e){ow(n.removed,{element:e});try{b(e).removeChild(e)}catch(t){if(g(e),!b(e))throw vw("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},Ke=function(e){Xe(e);const t=h(e);if(t){const e=[];ew(t,t=>{ow(e,t)}),ew(e,e=>{try{g(e)}catch(e){}})}const n=v(e);if(n)for(let t=n.length-1;t>=0;--t){const o=n[t],r=o&&o.name;if("string"==typeof r)try{e.removeAttribute(r)}catch(e){}}},Ye=function(e,t){try{ow(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){ow(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(de||me)try{We(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Ge=function(e){const t=v(e);if(t)for(let n=t.length-1;n>=0;--n){const o=t[n],r=o&&o.name;if("string"==typeof r&&!K[Ue(r)])try{e.removeAttribute(r)}catch(e){}}},Xe=function(e){const t=[e];for(;t.length>0;){const e=t.pop();1===(C?C(e):e.nodeType)&&Ge(e);const n=h(e);if(n)for(let e=n.length-1;e>=0;--e)t.push(n[e])}},Qe=function(e){let t=null,n=null;if(ce)e=""+e;else{const t=lw(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===Ie&&Ae===Ne&&(e=''+e+"");const r=S?A(e):e;if(Ae===Ne)try{t=(new d).parseFromString(r,Ie)}catch(e){}if(!t||!t.documentElement){t=D.createDocument(Ae,"template",null);try{t.documentElement.innerHTML=Re?x:r}catch(e){}}const s=t.body||t.documentElement;return e&&n&&s.insertBefore(o.createTextNode(n),s.childNodes[0]||null),Ae===Ne?B.call(t,se?"html":"body")[0]:se?t.documentElement:s},Ze=function(e){return T.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},Je=function(e){return e=cw(e,M," "),e=cw(e,I," "),cw(e,F," ")},et=function(e){var t;e.normalize();const n=T.call(e.ownerDocument||e,e,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null);let o=n.nextNode();for(;o;)o.data=Je(o.data),o=n.nextNode();const r=null===(t=e.querySelectorAll)||void 0===t?void 0:t.call(e,"template");r&&ew(r,e=>{nt(e.content)&&et(e.content)})},tt=function(e){const t=w?w(e):null;return"string"==typeof t&&"form"===Ue(t)&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||e.attributes!==v(e)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes||e.nodeType!==C(e)||e.childNodes!==h(e))},nt=function(e){if(!C||"object"!=typeof e||null===e)return!1;try{return 11===C(e)}catch(e){return!1}},ot=function(e){if(!C||"object"!=typeof e||null===e)return!1;try{return"number"==typeof C(e)}catch(e){return!1}};function rt(e,t,o){0!==e.length&&ew(e,e=>{e.call(n,t,o,ze)})}const st=function(e,t){if(rt(L.beforeSanitizeElements,e,null),e!==t&&null===b(e))return!0;if(tt(e))return We(e),!0;const o=Ue(w?w(e):e.nodeName);if(rt(L.uponSanitizeElement,e,{tagName:o,allowedTags:q}),e!==t&&null===b(e))return!0;if(function(e,t){return!!(re&&e.hasChildNodes()&&!ot(e.firstElementChild)&&yw(Kw,e.textContent)&&yw(Kw,e.innerHTML))||!(!re||e.namespaceURI!==Ne||"style"!==t||!ot(e.firstElementChild))||7===e.nodeType||!(!re||8!==e.nodeType||!yw(Yw,e.data))}(e,o))return We(e),!0;if(X[o]||!(Z.tagCheck instanceof Function&&Z.tagCheck(o))&&!q[o]){const t=function(e,t){if(!X[t]&<(t)){if(G.tagNameCheck instanceof RegExp&&yw(G.tagNameCheck,t))return!1;if(G.tagNameCheck instanceof Function&&G.tagNameCheck(t))return!1}if(he&&!ve[t]){const t=b(e),n=h(e);if(n&&t)for(let o=n.length-1;o>=0;--o){const r=be?n[o]:f(n[o],!0);t.insertBefore(r,p(e))}}return We(e),!0}(e,o);return!1===t&&rt(L.afterSanitizeElements,e,null),t}if(1===(C?C(e):e.nodeType)&&!function(e){let t=b(e);t&&t.tagName||(t={namespaceURI:Ae,tagName:"template"});const n=aw(e.tagName),o=aw(t.tagName);return!!De[e.namespaceURI]&&(e.namespaceURI===_e?function(e,t,n){return t.namespaceURI===Ne?"svg"===e:t.namespaceURI===ke?"svg"===e&&("annotation-xml"===n||Be[n]):Boolean(Ve[e])}(n,t,o):e.namespaceURI===ke?function(e,t,n){return t.namespaceURI===Ne?"math"===e:t.namespaceURI===_e?"math"===e&&Le[n]:Boolean(qe[e])}(n,t,o):e.namespaceURI===Ne?function(e,t,n){return!(t.namespaceURI===_e&&!Le[n])&&!(t.namespaceURI===ke&&!Be[n])&&!qe[e]&&(Me[e]||!Ve[e])}(n,t,o):!("application/xhtml+xml"!==Ie||!De[e.namespaceURI]))}(e))return We(e),!0;if(("noscript"===o||"noembed"===o||"noframes"===o)&&yw(Gw,e.innerHTML))return We(e),!0;if(oe&&3===e.nodeType){const t=Je(e.textContent);e.textContent!==t&&(ow(n.removed,{element:e.cloneNode()}),e.textContent=t)}return rt(L.afterSanitizeElements,e,null),!1},at=function(e,t,n){if(Q[t])return!1;if(re&&"patchsrc"===t)return!1;if(re&&"for"===t&&"label"!==e&&"output"!==e)return!1;if(fe&&("id"===t||"name"===t)&&(n in o||n in je))return!1;const r=K[t]||Z.attributeCheck instanceof Function&&Z.attributeCheck(t,e);if(ee&&yw(U,t));else if(J&&yw(z,t));else if(r){if(Ee[t]);else if(yw(V,cw(n,$,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==dw(n,"data:")||!we[e])if(te&&!yw(j,cw(n,$,"")));else if(n)return!1}else if(!(lt(e)&&(G.tagNameCheck instanceof RegExp&&yw(G.tagNameCheck,e)||G.tagNameCheck instanceof Function&&G.tagNameCheck(e))&&(G.attributeNameCheck instanceof RegExp&&yw(G.attributeNameCheck,t)||G.attributeNameCheck instanceof Function&&G.attributeNameCheck(t,e))||"is"===t&&G.allowCustomizedBuiltInElements&&(G.tagNameCheck instanceof RegExp&&yw(G.tagNameCheck,n)||G.tagNameCheck instanceof Function&&G.tagNameCheck(n))))return!1;return!0},it=Sw({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),lt=function(e){return!it[aw(e)]&&yw(H,e)},ct=function(e,t,n,o){if(S&&"object"==typeof m&&"function"==typeof m.getAttributeType&&!n)switch(m.getAttributeType(e,t)){case"TrustedHTML":return A(o);case"TrustedScriptURL":return function(e){N(),_++;try{return S.createScriptURL(e)}finally{_--}}(o)}return o},dt=function(e,t,o,r){try{o?e.setAttributeNS(o,t,r):e.setAttribute(t,r),tt(e)?We(e):nw(n.removed)}catch(n){Ye(t,e)}},mt=function(e){rt(L.beforeSanitizeAttributes,e,null);const t=e.attributes;if(!t||tt(e))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:K,forceKeepAttr:void 0};let o=t.length;const r=Ue(e.nodeName);for(;o--;){const s=t[o],a=s.name,i=s.namespaceURI,l=s.value,c=Ue(a),d=l;let m="value"===a?d:mw(d);n.attrName=c,n.attrValue=m,n.keepAttr=!0,n.forceKeepAttr=void 0,rt(L.uponSanitizeAttribute,e,n),m=n.attrValue,!ge||"id"!==c&&"name"!==c||0===dw(m,pe)||(Ye(a,e),m=pe+m),re&&yw(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,m)||"attributename"===c&&lw(m,"href")?Ye(a,e):n.forceKeepAttr||(!n.keepAttr||!ne&&yw(Xw,m)?Ye(a,e):(oe&&(m=Je(m)),at(r,c,m)?(m=ct(r,c,i,m),m!==d&&dt(e,a,i,m)):Ye(a,e)))}rt(L.afterSanitizeAttributes,e,null)},ut=function(e){let t=null;const n=Ze(e);for(rt(L.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if(rt(L.uponSanitizeShadowNode,t,null),st(t,e),mt(t),nt(t.content)&&ut(t.content),1===(C?C(t):t.nodeType)){const e=y(t);nt(e)&&(ft(e),ut(e))}rt(L.afterSanitizeShadowDOM,e,null)},ft=function(e){const t=[{node:e,shadow:null}];for(;t.length>0;){const e=t.pop();if(e.shadow){ut(e.shadow);continue}const n=e.node,o=1===(C?C(n):n.nodeType),r=h(n);if(r)for(let e=r.length-1;e>=0;--e)t.push({node:r[e],shadow:null});if(o){const e=w?w(n):null;if("string"==typeof e&&"template"===Ue(e)){const e=n.content;nt(e)&&t.push({node:e,shadow:null})}}if(o){const e=y(n);nt(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=null,s=null,a=null,i=null;if(Re=!e,Re&&(e="\x3c!--\x3e"),"string"!=typeof e&&!ot(e)&&(e=function(e){switch(typeof e){case"string":return e;case"number":return uw(e);case"boolean":return fw(e);case"bigint":return gw?gw(e):"0";case"symbol":return pw?pw(e):"Symbol()";case"undefined":default:return bw(e);case"function":case"object":{if(null===e)return bw(e);const t=e,n=kw(t,"toString");if("function"==typeof n){const e=n(t);return"string"==typeof e?e:bw(e)}return bw(e)}}}(e),"string"!=typeof e))throw vw("dirty is not a string, aborting");if(!n.isSupported)return e;ae?(q=ie,K=le):He(t),(L.uponSanitizeElement.length>0||L.uponSanitizeAttribute.length>0)&&(q=xw(q)),L.uponSanitizeAttribute.length>0&&(K=xw(K)),n.removed=[];const l=be&&"string"!=typeof e&&ot(e);if(l){!function(e){if(!re)return;const t=[e];for(;t.length>0;){const e=t.pop(),n=C?C(e):e.nodeType;if(7===n||8===n&&yw(Yw,e.data)){try{g(e)}catch(e){}continue}if(1===n){const t=e,n=Ue(w?w(e):e.nodeName);try{t.hasAttribute&&t.hasAttribute("patchsrc")&&t.removeAttribute("patchsrc"),t.hasAttribute&&t.hasAttribute("for")&&"label"!==n&&"output"!==n&&t.removeAttribute("for")}catch(e){}}const o=h(e);if(o)for(let e=o.length-1;e>=0;--e)t.push(o[e])}}(e);const t=w?w(e):e.nodeName;if("string"==typeof t){const n=Ue(t);if(!q[n]||X[n])throw Ke(e),vw("root node is forbidden and cannot be sanitized in-place")}if(tt(e))throw Ke(e),vw("root node is clobbered and cannot be sanitized in-place");try{ft(e)}catch(t){throw Ke(e),t}}else if(ot(e))o=Qe("\x3c!----\x3e"),s=o.ownerDocument.importNode(e,!0),1===s.nodeType&&"BODY"===s.nodeName||"HTML"===s.nodeName?o=s:o.appendChild(s),ft(s);else{if(!de&&!oe&&!se&&-1===e.indexOf("<"))return S&&ue?A(e):e;if(o=Qe(e),!o)return de?null:ue?x:""}o&&ce&&We(o.firstChild);const c=l?e:o,d=Ze(c);try{for(;a=d.nextNode();)st(a,c),mt(a),nt(a.content)&&ut(a.content)}catch(t){throw l&&(Ke(e),ew(n.removed,e=>{e.element&&Xe(e.element)})),t}if(l)return ew(n.removed,e=>{e.element&&Xe(e.element)}),oe&&et(e),e;if(de){if(oe&&et(o),me)for(i=O.call(o.ownerDocument);o.firstChild;)i.appendChild(o.firstChild);else i=o;return(K.shadowroot||K.shadowrootmode)&&(i=P.call(r,i,!0)),i}let m=se?o.outerHTML:o.innerHTML;return se&&q["!doctype"]&&o.ownerDocument&&o.ownerDocument.doctype&&o.ownerDocument.doctype.name&&yw(qw,o.ownerDocument.doctype.name)&&(m="\n"+m),oe&&(m=Je(m)),S&&ue?A(m):m},n.setConfig=function(){He(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),ae=!0,ie=q,le=K},n.clearConfig=function(){ze=null,ae=!1,ie=null,le=null,S=E,x=""},n.isValidAttribute=function(e,t,n){ze||He({});const o=Ue(e),r=Ue(t);return at(o,r,n)},n.addHook=function(e,t){"function"==typeof t&&hw(L,e)&&ow(L[e],t)},n.removeHook=function(e,t){if(hw(L,e)){if(void 0!==t){const n=tw(L[e],t);return-1===n?void 0:rw(L[e],n,1)[0]}return nw(L[e])}},n.removeHooks=function(e){hw(L,e)&&(L[e]=[])},n.removeAllHooks=function(){L={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();const eS=dn.each,tS=dn.trim,nS=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],oS={ftp:21,http:80,https:443,mailto:25},rS=["img","video"],sS=(e,t,n)=>{const o=(e=>{try{return decodeURIComponent(e)}catch{return unescape(e)}})(t).replace(/\s/g,"");return!e.allow_script_urls&&(!!/((java|vb)script|mhtml):/i.test(o)||!e.allow_html_data_urls&&(/^data:image\//i.test(o)?((e,t)=>C(e)?!e:!C(t)||!$(rS,t))(e.allow_svg_data_urls,n)&&/^data:image\/svg\+xml/i.test(o):/^data:/i.test(o)))};class aS{static parseDataUri(e){let t;const n=decodeURIComponent(e).split(","),o=/data:([^;]+)/.exec(n[0]);return o&&(t=o[1]),{type:t,data:n[1]}}static isDomSafe(e,t,n={}){if(n.allow_script_urls)return!0;{const o=Sa.decode(e).replace(/[\s\u0000-\u001F]+/g,"");return!sS(n,o,t)}}static getDocumentBaseUrl(e){let t;return t=0!==e.protocol.indexOf("http")&&"file:"!==e.protocol?e.href??"":e.protocol+"//"+e.host+e.pathname,/^[^:]+:\/\/\/?[^\/]+\//.test(t)&&(t=t.replace(/[\?#].*$/,"").replace(/[\/\\][^\/]+$/,""),/[\/\\]$/.test(t)||(t+="/")),t}source;protocol;authority;userInfo;user;password;host;port;relative;path="";directory="";file;query;anchor;settings;constructor(e,t={}){e=tS(e),this.settings=t;const n=t.base_uri,o=this;if(/^([\w\-]+):([^\/]{2})/i.test(e)||/^\s*#/.test(e))return void(o.source=e);const r=0===e.indexOf("//");if(0!==e.indexOf("/")||r||(e=(n&&n.protocol||"http")+"://mce_host"+e),!/^[\w\-]*:?\/\//.test(e)){const t=n?n.path:new aS(document.location.href).directory;if(""===n?.protocol)e="//mce_host"+o.toAbsPath(t,e);else{const r=/([^#?]*)([#?]?.*)/.exec(e);r&&(e=(n&&n.protocol||"http")+"://mce_host"+o.toAbsPath(t,r[1])+r[2])}}e=e.replace(/@@/g,"(mce_at)");const s=/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@\/]*):?([^:@\/]*))?@)?(\[[a-zA-Z0-9:.%]+\]|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/.exec(e);s&&eS(nS,(e,t)=>{let n=s[t];n&&(n=n.replace(/\(mce_at\)/g,"@@")),o[e]=n}),n&&(o.protocol||(o.protocol=n.protocol),o.userInfo||(o.userInfo=n.userInfo),o.port||"mce_host"!==o.host||(o.port=n.port),o.host&&"mce_host"!==o.host||(o.host=n.host),o.source=""),r&&(o.protocol="")}setPath(e){const t=/^(.*?)\/?(\w+)?$/.exec(e);t&&(this.path=t[0],this.directory=t[1],this.file=t[2]),this.source="",this.getURI()}toRelative(e){if("./"===e)return e;const t=new aS(e,{base_uri:this});if("mce_host"!==t.host&&this.host!==t.host&&t.host||this.port!==t.port||this.protocol!==t.protocol&&""!==t.protocol)return t.getURI();const n=this.getURI(),o=t.getURI();if(n===o||"/"===n.charAt(n.length-1)&&n.substr(0,n.length-1)===o)return n;let r=this.toRelPath(this.path,t.path);return t.query&&(r+="?"+t.query),t.anchor&&(r+="#"+t.anchor),r}toAbsolute(e,t){const n=new aS(e,{base_uri:this});return n.getURI(t&&this.isSameOrigin(n))}isSameOrigin(e){if(this.host==e.host&&this.protocol==e.protocol){if(this.port==e.port)return!0;const t=this.protocol?oS[this.protocol]:null;if(t&&(this.port||t)==(e.port||t))return!0}return!1}toRelPath(e,t){let n,o,r=0,s="";const a=e.substring(0,e.lastIndexOf("/")).split("/"),i=t.split("/");if(a.length>=i.length)for(n=0,o=a.length;n=i.length||a[n]!==i[n]){r=n+1;break}if(a.length=a.length||a[n]!==i[n]){r=n+1;break}if(1===r)return t;for(n=0,o=a.length-(r-1);n{e&&a.push(e)});const i=[];for(let e=s.length-1;e>=0;e--)0!==s[e].length&&"."!==s[e]&&(".."!==s[e]?n>0?n--:i.push(s[e]):n++);const l=a.length-n;let c;return c=l<=0?re(i).join("/"):a.slice(0,l).join("/")+"/"+re(i).join("/"),0!==c.indexOf("/")&&(c="/"+c),o&&c.lastIndexOf("/")!==c.length-1&&(c+=o),c}getURI(e=!1){let t;return this.source&&!e||(t="",e||(this.protocol?t+=this.protocol+"://":t+="//",this.userInfo&&(t+=this.userInfo+"@"),this.host&&(t+=this.host),this.port&&(t+=":"+this.port)),this.path&&(t+=this.path),this.query&&(t+="?"+this.query),this.anchor&&(t+="#"+this.anchor),this.source=t),this.source}}const iS=dn.makeMap("src,href,data,background,action,formaction,poster,xlink:href"),lS="data-mce-type";let cS=0;const dS=(e,t,n,o,r)=>{const s=t.validate,a=n.getSpecialElements();8===e.nodeType&&(!t.allow_conditional_comments&&/^\[if/i.test(e.nodeValue??"")&&(e.nodeValue=" "+e.nodeValue),t.sanitize&&t.allow_html_in_comments&&u(e.nodeValue)&&(e.nodeValue=(e=>e.replace(/&/g,"&").replace(//g,">"))(e.nodeValue)));const i=r?.tagName??e.nodeName.toLowerCase();if("html"!==o&&n.isValid(o))return void(C(r)&&(r.allowedTags[i]=!0));if(1!==e.nodeType||"body"===i)return;const l=un.fromDom(e);if(t.sanitize){const e=Ii(l)&&n.isValid("script")||Fi(l)&&n.isValid("style");e&&I.from((e=>e.dom.textContent)(l)).each(e=>vo(l,"data-mce-tmp",e));const t=(e=>An(e)&&"iframe"===En(e))(l)&&n.isValid("iframe");(e||t)&&No(l)}const c=Eo(l,lS),d=wo(l,"data-mce-bogus");if(!c&&u(d))return void("all"===d?Ao(l):Ro(l));const m=n.getElementRule(i);if(!s||m){if(C(r)&&(r.allowedTags[i]=!0),s&&m&&!c){if(q(m.attributesForced??[],e=>{vo(l,e.name,"{$uid}"===e.value?"mce_"+cS++:e.value)}),q(m.attributesDefault??[],e=>{Eo(l,e.name)||vo(l,e.name,"{$uid}"===e.value?"mce_"+cS++:e.value)}),m.attributesRequired&&!H(m.attributesRequired,e=>Eo(l,e)))return void Ro(l);if(m.removeEmptyAttrs&&ko(l))return void Ro(l);m.outputName&&m.outputName!==i&&Bo(l,m.outputName)}}else ke(a,i)?Ao(l):Ro(l)},mS=(e,t,n,o,r,s)=>"html"!==n&&!Fs(o)||!(r in iS&&sS(e,s,o))&&(!e.validate||t.isValid(o,r)||Qe(r,"data-")||Qe(r,"aria-")),uS=(e,t)=>e.hasAttribute(lS)&&("id"===t||"class"===t||"style"===t),fS=(e,t,n)=>e in t.getBoolAttrs()&&!ke(t.getCustomElements(),n.toLowerCase()),gS=(e,t,n,o)=>{const{attributes:r}=e;for(let s=r.length-1;s>=0;s--){const a=r[s],i=a.name,l=a.value;mS(t,n,o,e.tagName.toLowerCase(),i,l)||uS(e,i)?fS(i,n,e.nodeName)&&e.setAttribute(i,i):e.removeAttribute(i)}},pS=(e,t,n)=>{const o=Jw();return o.addHook("uponSanitizeElement",(o,r)=>{dS(o,e,t,n.track(o),r)}),o.addHook("afterSanitizeElements",e=>{(e=>{const t=un.fromDom(e);(Ii(t)||Fi(t))&&So(t,"data-mce-tmp").each(e=>{((e,t)=>{e.dom.textContent=t})(t,e),xo(t,"data-mce-tmp")})})(e)}),o.addHook("uponSanitizeAttribute",(o,r)=>{((e,t,n,o,r)=>{const s=e.tagName.toLowerCase(),{attrName:a,attrValue:i}=r;r.keepAttr=mS(t,n,o,s,a,i),r.keepAttr?(r.allowedAttributes[a]=!0,fS(a,n,e.nodeName)&&(r.attrValue=a),t.allow_svg_data_urls&&Qe(i,"data:image/svg+xml")&&(r.forceKeepAttr=!0)):uS(e,a)&&(r.forceKeepAttr=!0)})(o,e,t,n.current(),r)}),o},hS=(e,t)=>{const n=Jw(),o=t.allow_mathml_annotation_encodings,r=p(o)&&o.length>0;n.addHook("uponSanitizeElement",(e,n)=>{const s=n.tagName??e.nodeName.toLowerCase();((e,n)=>r&&"semantics"===n?I.some(!0):"annotation"===n?I.some(Xr(e)&&(e=>{const t=e.getAttribute("encoding");return r&&u(t)&&$(o,t)})(e)):p(t.extended_mathml_elements)&&t.extended_mathml_elements.includes(n)?I.from(!0):I.none())(e,s).each(o=>{n.allowedTags[s]=o,!o&&t.sanitize&&Xr(e)&&e.remove()})}),n.addHook("uponSanitizeAttribute",(e,n)=>{p(t.extended_mathml_attributes)&&t.extended_mathml_attributes.includes(n.attrName)&&(n.forceKeepAttr=!0)}),n.sanitize(e,{IN_PLACE:!0,USE_PROFILES:{mathMl:!0}})},bS=e=>t=>{const n=zs(t);if("svg"===n)(e=>{const t=["type","href","role","arcrole","title","show","actuate","label","from","to"].map(e=>`xlink:${e}`),n={IN_PLACE:!0,USE_PROFILES:{html:!0,svg:!0,svgFilters:!0},ALLOWED_ATTR:t};Jw().sanitize(e,n)})(t);else{if("math"!==n)throw new Error("Not a namespace element");hS(t,e)}},yS=["script","style","template","param","meta","title","link"],vS=dn.makeMap,CS=dn.extend,wS=(e,t,n,o,r)=>{const s=e.name,a=s in n&&"title"!==s&&"textarea"!==s&&"noscript"!==s,i=t.childNodes;for(let t=0,s=i.length;t{const n=NC(),o=NC(),r={validate:!0,root_name:"body",sanitize:!0,allow_html_in_comments:!1,...e},s=new DOMParser,a=((e,t)=>{const n=(()=>{const e=Ke(),t=()=>e.get().map(zs).getOr("html");return{track:n=>(Us(n)?e.set(n):e.get().exists(e=>!e.contains(n))&&e.clear(),t()),current:t,reset:()=>{e.clear()}}})();if(e.sanitize){const o=pS(e,t,n),r=(t,r)=>{o.sanitize(t,((e,t)=>{const n={IN_PLACE:!0,ALLOW_UNKNOWN_PROTOCOLS:!0,ALLOWED_TAGS:["#comment","#cdata-section","body","html"],ALLOWED_ATTR:[]};return n.PARSER_MEDIA_TYPE=t,e.allow_script_urls?n.ALLOWED_URI_REGEXP=/.*/:e.allow_html_data_urls&&(n.ALLOWED_URI_REGEXP=/^(?!(\w+script|mhtml):)/i),n})(e,r)),o.removed=[],n.reset()};return{sanitizeHtmlElement:r,sanitizeNamespaceElement:bS(e)}}return{sanitizeHtmlElement:(o,r)=>{const s=document.createNodeIterator(o,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_COMMENT|NodeFilter.SHOW_TEXT);let a;for(;a=s.nextNode();){const o=n.track(a);dS(a,e,t,o),Xr(a)&&gS(a,e,t,o)}n.reset()},sanitizeNamespaceElement:x}})(r,t),i=n.addFilter,l=n.getFilters,c=n.removeFilter,d=o.addFilter,m=o.getFilters,f=o.removeFilter,g=(e,n)=>{const o=u(n.attr(lS)),r=1===n.type&&!ke(e,n.name)&&!ea(t,n)&&!Fs(n.name);return 3===n.type||r&&!o},p={schema:t,addAttributeFilter:d,getAttributeFilters:m,removeAttributeFilter:f,addNodeFilter:i,getNodeFilters:l,removeNodeFilter:c,parse:(e,n={})=>{const o=r.validate,i="#document"===(n.context??r.root_name),c=n.context??(i?"html":r.root_name),d=((e,n,o="html",r=!1)=>{const i="xhtml"===o,l=i?"application/xhtml+xml":"text/html",c=ke(t.getSpecialElements(),n.toLowerCase()),d=c?`<${n}>${e}`:e,m=s.parseFromString(/^[\s]*${d}`:i?`${d}`:`${d}`,l),u=r?m.documentElement:m.body;return a.sanitizeHtmlElement(u,l),c?u.firstChild:u})(e,c,n.format,i);Ks(t,d);const u=new Ah(c,11);wS(u,d,t.getSpecialElements(),a.sanitizeNamespaceElement,r.sanitize&&r.allow_html_in_comments),d.innerHTML="";const[f,p]=((e,t,n,o)=>{const r=n.validate,s=t.getNonEmptyElements(),a=t.getWhitespaceElements(),i=CS(vS(yS),t.getBlockElements()),l=Ia(t),c=/[ \t\r\n]+/g,d=/^[ \t\r\n]+/,m=/[ \t\r\n]+$/,u=e=>{let t=e.parent;for(;C(t);){if(t.name in a)return!0;t=t.parent}return!1},f=n=>n.name in i||ea(t,n)||Fs(n.name)&&n.parent===e,g=(t,n)=>{const r=n?t.prev:t.next;return!C(r)&&!v(t.parent)&&f(t.parent)&&(t.parent!==e||!0===o.isRootContent)};return[e=>{if(3===e.type&&!u(e)){let t=e.value??"";t=t.replace(c," "),(((e,t)=>C(e)&&(t(e)||"br"===e.name))(e.prev,f)||g(e,!0))&&(t=t.replace(d,"")),0===t.length||" "===t&&e.prev&&8===e.prev.type&&e.next&&8===e.next.type?e.remove():e.value=t}},e=>{if(1===e.type){const i=t.getElementRule(e.name);if(r&&i){const r=CC(t,s,a,e);i.paddInEmptyBlock&&r&&(e=>{let n=e;for(;C(n);){if(n.name in l)return CC(t,s,a,n);n=n.parent}return!1})(e)?yC(n,o,f,e):i.removeEmpty&&r?f(e)?e.remove():e.unwrap():i.paddEmpty&&(r||(e=>vC(e,"#text")&&e?.firstChild?.value===dt)(e))&&yC(n,o,f,e)}}else if(3===e.type&&!u(e)){let t=e.value??"";(e.next&&f(e.next)||g(e,!1))&&(t=t.replace(m,"")),0===t.length?e.remove():e.value=t}}]})(u,t,r,n),h=[],b=o?e=>((e,n)=>{xC(t,e)&&n.push(e)})(e,h):x,y={nodes:{},attributes:{}},w=e=>pC(l(),m(),e,y);((e,t,n)=>{const o=[];for(let n=e,r=n;n;r=n,n=n.walk()){const s=n;q(t,e=>e(s)),v(s.parent)&&s!==e?n=r:o.push(s)}for(let e=o.length-1;e>=0;e--){const t=o[e];q(n,e=>e(t))}})(u,[f,w],[p,b]),h.reverse(),o&&h.length>0&&(n.context?n.invalid=!0:EC(h,t,u,w));const S=((e,t)=>{const n=t.forced_root_block??e.forced_root_block;return!1===n?"":!0===n?"p":n})(r,n);return S&&("body"===u.name||n.isRootContent)&&((e,n)=>{const o=CS(vS(yS),t.getBlockElements()),s=/^[ \t\r\n]+/,a=/[ \t\r\n]+$/;let i=e.firstChild,l=null;const c=e=>{e&&(i=e.firstChild,i&&3===i.type&&(i.value=i.value?.replace(s,"")),i=e.lastChild,i&&3===i.type&&(i.value=i.value?.replace(a,"")))};if(t.isValidChild(e.name,n.toLowerCase())){for(;i;){const t=i.next;g(o,i)?(l||(l=new Ah(n,1),l.attr(r.forced_root_block_attrs),e.insert(l,i)),l.append(i)):(c(l),l=null),i=t}c(l)}})(u,S),n.invalid||hC(y,n),u}};return((e,t)=>{const n=e.schema;e.addAttributeFilter("href",e=>{let n=e.length;const o=e=>{const t=e?dn.trim(e):"";return/\b(noopener)\b/g.test(t)?t:(e=>e.split(" ").filter(e=>e.length>0).concat(["noopener"]).sort().join(" "))(t)};if(!t.allow_unsafe_link_target)for(;n--;){const t=e[n];"a"===t.name&&"_blank"===t.attr("target")&&t.attr("rel",o(t.attr("rel")))}}),t.allow_html_in_named_anchor||e.addAttributeFilter("id,name",e=>{let t,n,o,r,s=e.length;for(;s--;)if(r=e[s],"a"===r.name&&r.firstChild&&!r.attr("href"))for(o=r.parent,t=r.lastChild;t&&o;)n=t.prev,o.insert(t,r),t=n}),t.fix_list_elements&&e.addNodeFilter("ul,ol",e=>{let t,n,o=e.length;for(;o--;)if(t=e[o],n=t.parent,n&&("ul"===n.name||"ol"===n.name))if(t.prev&&"li"===t.prev.name)t.prev.append(t);else{const e=new Ah("li",1);e.attr("style","list-style-type: none"),t.wrap(e)}});const o=n.getValidClasses();t.validate&&o&&e.addAttributeFilter("class",e=>{let t=e.length;for(;t--;){const n=e[t],r=n.attr("class")??"",s=dn.explode(r," ");let a="";for(let e=0;e{const{blob_cache:n}=t;if(n){const t=e=>{const t=e.attr("src");(e=>e.attr("src")===sn.transparentSrc||C(e.attr("data-mce-placeholder")))(e)||(e=>C(e.attr("data-mce-bogus")))(e)||v(t)||MC(n,t,!0).each(t=>{e.attr("src",t.blobUri())})};e.addAttributeFilter("src",e=>q(e,t))}})(e,t);const r=t.sandbox_iframes??!1,s=fe(t.sandbox_iframes_exclusions??[]);t.convert_unsafe_embeds&&e.addNodeFilter("object,embed",e=>q(e,e=>{e.replace((({type:e,src:t,width:n,height:o}={},r,s)=>{const a=(e=>y(e)?"iframe":zC(e,"image")?"img":zC(e,"video")?"video":zC(e,"audio")?"audio":"iframe")(e),i=new Ah(a,1);return i.attr("audio"===a?{src:t}:{src:t,width:n,height:o}),"audio"!==a&&"video"!==a||i.attr("controls",""),"iframe"===a&&r&&UC(i,s),i})({type:e.attr("type"),src:"object"===e.name?e.attr("data"):e.attr("src"),width:e.attr("width"),height:e.attr("height")},r,s))})),r&&e.addNodeFilter("iframe",e=>q(e,e=>UC(e,s)))})(p,r),((e,t,n)=>{t.inline_styles&&RC(e,t,n)})(p,r,t),p},xS=e=>e instanceof Ah,kS=(e,t,n)=>{const o=(e=>xS(e)?Kh({validate:!1}).serialize(e):e)(e),r=t(o);if(r.isDefaultPrevented())return r;if(xS(e)){if(r.content!==o){const t=ES({validate:!1,forced_root_block:!1,...n}).parse(r.content,{context:e.name});return{...r,content:t}}return{...r,content:e}}return r},_S=e=>({sanitize:nu(e),sandbox_iframes:lu(e),sandbox_iframes_exclusions:cu(e)}),NS=(e,t)=>{if(t.no_events)return Te.value(t);{const n=((e,t)=>e.dispatch("BeforeGetContent",t))(e,t);return n.isDefaultPrevented()?Te.error(ad(e,{content:"",...n}).content):Te.value(n)}},AS=(e,t,n)=>{if(n.no_events)return t;{const o=kS(t,t=>ad(e,{...n,content:t}),_S(e));return o.content}},RS=(e,t)=>{if(t.no_events)return Te.value(t);{const n=kS(t.content,n=>((e,t)=>e.dispatch("BeforeSetContent",t))(e,{...t,content:n}),_S(e));return n.isDefaultPrevented()?(sd(e,n),Te.error(void 0)):Te.value(n)}},DS=(e,t,n)=>{n.no_events||sd(e,{...n,content:t})},TS="autoresize_on_init,content_editable_state,padd_empty_with_br,block_elements,boolean_attributes,editor_deselector,editor_selector,elements,file_browser_callback_types,filepicker_validator_handler,force_hex_style_colors,force_p_newlines,gecko_spellcheck,images_dataimg_filter,media_scripts,mode,move_caret_before_on_enter_elements,non_empty_elements,self_closing_elements,short_ended_elements,special,spellchecker_select_languages,spellchecker_whitelist,tab_focus,tabfocus_elements,table_responsive_width,text_block_elements,text_inline_elements,toolbar_drawer,types,validate,whitespace_elements,paste_enable_default_filters,paste_filter_drop,paste_word_valid_elements,paste_retain_style_properties,paste_convert_word_fake_lists,template_cdate_classes,template_mdate_classes,template_selected_content_classes,template_preview_replace_values,template_replace_values,templates,template_cdate_format,template_mdate_format".split(","),OS=["content_css_cors"],BS="bbcode,colorpicker,contextmenu,fullpage,legacyoutput,spellchecker,template,textcolor,rtc".split(","),PS=[{name:"export",replacedWith:"Export to PDF"}],LS=(e,t)=>{const n=Y(t,t=>ke(e,t));return ie(n)},MS=e=>{const t=LS(e,TS),n=e.forced_root_block;return!1!==n&&""!==n||t.push("forced_root_block (false only)"),ie(t)},IS=e=>LS(e,OS),FS=(e,t)=>{const n=dn.makeMap(e.plugins," "),o=Y(t,e=>ke(n,e));return ie(o)},US=e=>FS(e,BS),zS=e=>FS(e,PS.map(e=>e.name)),jS=e=>Z(PS,t=>t.name===e).fold(()=>e,t=>t.replacedWith?`${e}, replaced by ${t.replacedWith}`:e),$S={fire:'The "fire" event api has been deprecated and will be removed in TinyMCE 9. Use "dispatch" instead.',selectionSetContent:'The "editor.selection.setContent" method has been deprecated and will be removed in TinyMCE 9. Use "editor.insertContent" instead.'},HS=e=>{console.warn($S[e],(new Error).stack)},VS=e=>0===e.dom.length?(Ao(e),I.none()):I.some(e),qS=(e,t,n,o,r)=>{e.bind(e=>((o?Kb:Wb)(e.dom,o?e.dom.length:0,r),t.filter(Rn).map(t=>((e,t,n,o,r)=>{const s=e.dom,a=t.dom,i=o?s.length:a.length;o?(Yb(s,a,r,!1,!o),n.setStart(a,i)):(Yb(a,s,r,!1,!o),n.setEnd(a,i))})(e,t,n,o,r)))).orThunk(()=>{const e=((e,t)=>e.filter(e=>mp.isBookmarkNode(e.dom)).bind(t?jn:zn))(t,o).or(t).filter(Rn);return e.map(e=>((e,t,n)=>{Mn(e).each(o=>{const r=e.dom;t&&Ib(o,Kl(r,0),n)?Wb(r,0,n):!t&&Fb(o,Kl(r,r.length),n)&&Kb(r,r.length,n)})})(e,o,r))})},WS=(e,t,n={})=>{const o=((e,t)=>({format:"html",...e,set:!0,selection:!0,content:t}))(n,t);RS(e,o).each(t=>{const n=((e,t)=>{if("raw"!==t.format){const n=e.selection.getRng(),o=e.dom.getParent(n.commonAncestorContainer,e.dom.isBlock),r=o?{context:o.nodeName.toLowerCase()}:{},s=e.parser.parse(t.content,{forced_root_block:!1,...r,...t});return Kh({validate:!1},e.schema).serialize(s)}return t.content})(e,t),o=e.selection.getRng();((e,t,n)=>{const o=I.from(t.firstChild).map(un.fromDom),r=I.from(t.lastChild).map(un.fromDom);e.deleteContents(),e.insertNode(t);const s=o.bind(zn).filter(Rn).bind(VS),a=r.bind(jn).filter(Rn).bind(VS);qS(s,o,e,!0,n),qS(a,r,e,!1,n),e.collapse(!1)})(o,o.createContextualFragment(n),e.schema),e.selection.setRng(o),bh(e,o),DS(e,n,t)})},KS=(e,t)=>{let n=t.firstChild,o=t.lastChild;return n&&"meta"===n.name&&(n=n.next),o&&"mce_marker"===o.attr("id")&&(o=o.prev),((e,t)=>{const n=e.getNonEmptyElements();return C(t)&&(t.isEmpty(n)||((e,t)=>e.getBlockElements()[t.name]&&(e=>C(e.firstChild)&&e.firstChild===e.lastChild)(t)&&(e=>"br"===e.name||e.value===dt)(t.firstChild))(e,t))})(e,o)&&(o=o?.prev),!(!n||n!==o||"ul"!==n.name&&"ol"!==n.name)},YS=e=>{return e.length>0&&(!(n=e[e.length-1]).firstChild||(t=n,C(t?.firstChild)&&t.firstChild===t.lastChild&&(e=>e.data===dt||ms(e))(t.firstChild)))?e.slice(0,-1):e;var t,n},GS=(e,t)=>{const n=e.getParent(t,e.isBlock);return n&&"LI"===n.nodeName?n:null},XS=(e,t)=>{const n=Kl.after(e),o=yf(t).prev(n);return o?o.toRange():null},QS=(e,t,n,o)=>{const r=((e,t,n)=>{const o=t.serialize(n);return(e=>{const t=e.firstChild,n=e.lastChild;return t&&"META"===t.nodeName&&t.parentNode?.removeChild(t),n&&"mce_marker"===n.id&&n.parentNode?.removeChild(n),e})(e.createFragment(o))})(t,e,o),s=GS(t,n.startContainer),a=YS((i=r.firstChild,Y(i?.childNodes??[],e=>"LI"===e.nodeName)));var i;const l=t.getRoot(),c=e=>{const o=Kl.fromRangeStart(n),r=yf(t.getRoot()),a=1===e?r.prev(o):r.next(o),i=a?.getNode();return!i||GS(t,i)!==s};return s?c(1)?((e,t,n)=>{const o=e.parentNode;return o&&dn.each(t,t=>{o.insertBefore(t,e)}),((e,t)=>{const n=Kl.before(e),o=yf(t).next(n);return o?o.toRange():null})(e,n)})(s,a,l):c(2)?((e,t,n,o)=>(o.insertAfter(t.reverse(),e),XS(t[0],n)))(s,a,l,t):((e,t,n,o)=>{const r=((e,t)=>{const n=t.cloneRange(),o=t.cloneRange();return n.setStartBefore(e),o.setEndAfter(e),[n.cloneContents(),o.cloneContents()]})(e,o),s=e.parentNode;return s&&(s.insertBefore(r[0],e),dn.each(t,t=>{s.insertBefore(t,e)}),s.insertBefore(r[1],e),s.removeChild(e)),XS(t[t.length-1],n)})(s,a,l,n):null},ZS=["pre"],JS=bs,eE=(e,t)=>{const n=e.schema.getTextInlineElements(),o=e.dom;if(t){const t=e.getBody(),r=Ky(e),s="*[data-mce-fragment]",a=o.select(s);dn.each(a,e=>{const a=e=>C(n[e.nodeName.toLowerCase()]),i=e=>1===e.childNodes.length;if(!Zh(o,l=e)&&!((e,t)=>Zh(e,t)&&H(Qh(e,t),e=>(e=>Gh.has(e))(e)))(o,l)&&a(e)&&i(e)){const n=Qh(o,e),l=(e,t)=>oe(e,e=>$(t,e)),c=t=>i(e)&&o.is(t,s)&&a(t)&&(t.nodeName===e.nodeName&&l(n,Qh(o,t))||c(t.children[0])),d=n=>C(n)&&n!==t&&(r.compare(e,n)||d(n.parentElement)),m=n=>C(n)&&n!==t&&o.is(n,s)&&(((e,t,n)=>{const o=Qh(e,t),r=Qh(e,n),s=o=>{const r=e.getStyle(t,o)??"",s=e.getStyle(n,o)??"";return ot(r)&&ot(s)&&r!==s};return H(o,e=>{const t=t=>H(t,t=>t===e);if(!t(r)&&t(Xh)){const e=Y(r,e=>H(Xh,t=>Qe(e,t)));return H(e,s)}return s(e)})})(o,e,n)||m(n.parentElement));(c(e.children[0])||d(e.parentElement)&&!m(e.parentElement))&&o.remove(e,!0)}var l}),((e,t)=>{const n=n=>Y(t,t=>dC(e.formatter,n,t)),o=Y(cC,e=>n(e).length>0);o.length>0&&fC(e,()=>q(o,t=>uC(e,t,n(t))))})(e,Po(a))}},tE=(e,t,n)=>{const o=e.selection,r=e.dom,s=e.parser,a=n.merge,i=Kh({validate:!0},e.schema),l='';n.preserve_zwsp||(t=Gi(t)),-1===t.indexOf("{$caret}")&&(t+="{$caret}"),t=t.replace(/\{\$caret\}/,l);let c=o.getRng();const d=c.startContainer,m=e.getBody();d===m&&o.isCollapsed()&&r.isBlock(m.firstChild)&&((e,t)=>C(t)&&!e.schema.getVoidElements()[t.nodeName])(e,m.firstChild)&&r.isEmpty(m.firstChild)&&(c=r.createRng(),c.setStart(m.firstChild,0),c.setEnd(m.firstChild,0),o.setRng(c)),o.isCollapsed()||(e=>{const t=e.dom,n=kC(e.selection.getRng());e.selection.setRng(n);const o=t.getParent(n.startContainer,JS);((e,t,n)=>!!C(n)&&n===e.getParent(t.endContainer,JS)&&tg(un.fromDom(n),t))(t,n,o)?My(e,n,un.fromDom(o)):ag(n,fs)||(r=n,ag(r,ss))||((e,t)=>{const n=e.dom,o=t.commonAncestorContainer,r=ss(o)?o.parentNode:o;if(!Xr(r)||!n.isEditable(r)||!bv(e,un.fromDom(r)))return!1;const s=n.getParent(r,n.isBlock);return C(s)&&Nf(s,Kl.fromRangeStart(t)).isNone()&&_f(s,Kl.fromRangeEnd(t)).isNone()})(e,n)?n.deleteContents():e.getDoc().execCommand("Delete",!1);var r})(e);const u=o.getNode(),f={context:u.nodeName.toLowerCase(),data:n.data,insert:!0},g=s.parse(t,f);if(!0===n.paste&&KS(e.schema,g)&&((e,t)=>!!GS(e,t))(r,u))return c=QS(i,r,o.getRng(),g),c&&o.setRng(c),t;!0===n.paste&&((e,t,n,o)=>{const r=t.firstChild,s=t.lastChild,a=r===("bookmark"===s.attr("data-mce-type")?s.prev:s),i=$(ZS,r.name);if(a&&i){const t="false"!==r.attr("contenteditable"),s=e.getParent(n,e.isBlock)?.nodeName.toLowerCase()===r.name,a=I.from(Vy(o,n)).forall(gs);return t&&s&&a}return!1})(r,g,u,e.getBody())&&g.firstChild?.unwrap(),(e=>{let t=e;for(;t=t.walk();)1===t.type&&t.attr("data-mce-fragment","1")})(g);let p=g.lastChild;if(p&&"mce_marker"===p.attr("id")){const t=p;for(p=p.prev;p&&"table"!==p.name;p=p.walk(!0))if(3===p.type||!r.isBlock(p.name)){p.parent&&e.schema.isValidChild(p.parent.name,"span")&&p.parent.insert(t,p,"br"===p.name);break}}if(e._selectionOverrides.showBlockCaretContainer(u),f.invalid||((e,t,n)=>H(n.children(),gC)&&"SUMMARY"===e.getParent(t,e.isBlock)?.nodeName)(r,u,g)){WS(e,l);let n,a=o.getNode();const c=e.getBody();for(cs(a)?a=n=c:n=a;n&&n!==c;)a=n,n=n.parentNode;t=a===c?c.innerHTML:r.getOuterHTML(a);const d=s.parse(t),m=(e=>{for(let t=e;t;t=t.walk())if("mce_marker"===t.attr("id"))return I.some(t);return I.none()})(d),u=m.bind(wC).getOr(d);m.each(e=>e.replace(g));const f=(e=>{const t=[];for(let n=e.firstChild;C(n);n=n.walk())t.push(n);return t})(g);g.unwrap();const p=Y(f,t=>xC(e.schema,t));EC(p,e.schema,u),bC(s.getNodeFilters(),s.getAttributeFilters(),d),t=i.serialize(d),a===c?r.setHTML(c,t):r.setOuterHTML(a,t)}else t=i.serialize(g),((e,t,n)=>{"all"===n.getAttribute("data-mce-bogus")?n.parentNode?.insertBefore(e.dom.createFragment(t),n):((e,t)=>{if(e.isBlock(t)&&e.isEditable(t)){const e=t.childNodes;return 1===e.length&&ms(e[0])||0===e.length}return!1})(e.dom,n)?e.dom.setHTML(n,t):WS(e,t,{no_events:!0})})(e,t,u);var h;return eE(e,a),((e,t)=>{let n;const o=e.dom,r=e.selection;if(!t)return;r.scrollIntoView(t);const s=Vy(e.getBody(),t);if(s&&"false"===o.getContentEditable(s))return o.remove(t),void r.select(s);let a=o.createRng();const i=t.previousSibling;if(ss(i)){a.setStart(i,i.nodeValue?.length??0);const e=t.nextSibling;ss(e)&&(i.appendData(e.data),e.parentNode?.removeChild(e))}else a.setStartBefore(t),a.setEndBefore(t);const l=o.getParent(t,o.isBlock);if(o.remove(t),l&&o.isEmpty(l)){const t=JS(l);No(un.fromDom(l)),a.setStart(l,0),a.setEnd(l,0),t||(e=>!!e.getAttribute("data-mce-fragment"))(l)||!(n=(t=>{let n=Kl.fromRangeStart(t);return n=yf(e.getBody()).next(n),n?.toRange()})(a))?o.add(l,o.create("br",t?{}:{"data-mce-bogus":"1"})):(a=n,o.remove(l))}r.setRng(a)})(e,r.get("mce_marker")),h=e.getBody(),dn.each(h.getElementsByTagName("*"),e=>{e.removeAttribute("data-mce-fragment")}),((e,t,n)=>{I.from(e.getParent(t,"td,th")).map(un.fromDom).each(e=>((e,t)=>{Kn(e).each(n=>{zn(n).each(o=>{t.isBlock(En(e))&&Mi(n)&&t.isBlock(En(o))&&Ao(n)})})})(e,n))})(r,o.getStart(),e.schema),((e,t,n)=>{const o=Fn(un.fromDom(n),e=>vn(e,un.fromDom(t)));le(o,o.length-2).filter(An).fold(()=>Ks(e,t),t=>Ks(e,t.dom))})(e.schema,e.getBody(),o.getStart()),t},nE=(e,t,n)=>{e.dom.setHTML(e.getBody(),t),!0!==n&&(e=>{Op(e)&&Af(e.getBody()).each(t=>{const n=t.getNode(),o=ns(n)?Af(n).getOr(t):t;e.selection.setRng(o.toRange())})})(e)},oE={},rE=Jr(["pre"]);(e=>{oE[e]||(oE[e]=[]),oE[e].push(e=>{if(!e.selection.getRng().collapsed){const t=e.selection.getSelectedBlocks(),n=Y(Y(t,rE),(e=>t=>{const n=t.previousSibling;return rE(n)&&$(e,n)})(t));q(n,e=>{((e,t)=>{const n=un.fromDom(t),o=Pn(n).dom;Ao(n),bo(un.fromDom(e),[un.fromTag("br",o),un.fromTag("br",o),...Vn(n)])})(e.previousSibling,e)})}})})("pre");const sE=dn.each,aE=(e,t,n,o)=>{const r=e.formatter.get(t),s=r[0],a=!o&&e.selection.isCollapsed(),i=e.dom,l=e.selection,c=(t,o)=>{let r=!1;return sE(t,t=>!(!Tg(t)||("false"!==i.getContentEditable(o)||t.ceFalseOverride)&&(!C(t.collapsed)||t.collapsed===a)&&i.is(o,t.selector)&&!Tf(o)&&(Nv(e,o,t,n,o),r=!0,1))),r},d=t=>{if(u(t)){const r=i.create(t);return Nv(e,r,s,n,o),r}return null},m=(a,i,l)=>{const m=[];let u=!0;const f=s.inline||s.block,g=d(f);Zg(a,i,o=>{let i;const d=o=>{let p=!1,h=u,b=!1;const y=o.parentNode,v=y.nodeName.toLowerCase(),w=a.getContentEditable(o);C(w)&&(h=u,u="true"===w,p=!0,b=wg(e,o));const S=u&&!p;if(ms(o)&&!((e,t,n,o)=>{if(dm(e)&&Og(t)&&n.parentNode){const t=Ia(e.schema),a=(r=un.fromDom(n),s=e=>Tf(e.dom),((e,t)=>{const n=e.dom;return n.parentNode?cr(un.fromDom(n.parentNode),n=>!vn(e,n)&&t(n)):I.none()})(r,s).isSome());return _e(t,o)&&Ps(e.schema,n.parentNode,{skipBogus:!1,includeZwsp:!0})&&!a}var r,s;return!1})(e,s,o,v))return i=null,void(Rg(s)&&a.remove(o));if((o=>Dg(s)&&Jy(e,o,t,n))(o))i=null;else{if(((t,n,o)=>{const r=(e=>Rg(e)&&!0!==e.wrapper)(s)&&pg(e.schema,t)&&hg(e,n,f)&&(t=>oe(t.childNodes,t=>!pg(e.schema,t)||hg(e,f,t.nodeName.toLowerCase())))(t);return o&&r})(o,v,S)){const t=a.rename(o,f);return Nv(e,t,s,n,o),m.push(t),void(i=null)}if(Tg(s)){let e=c(r,o);if(!e&&C(y)&&Bg(s)&&(e=c(r,y)),!Og(s)||e)return void(i=null)}C(g)&&((t,n,o,r)=>{const i=t.nodeName.toLowerCase(),c=hg(e,f,i)&&hg(e,n,f),d=!l&&ss(t)&&Yi(t.data),m=Tf(t),u=!Og(s)||!a.isBlock(t);return(o||r)&&c&&!d&&!m&&u})(o,v,S,b)?(i||(i=a.clone(g,!1),y.insertBefore(i,o),m.push(i)),b&&p&&(u=h),i.appendChild(o)):(i=null,q(me(o.childNodes),d),p&&(u=h),i=null)}};q(o,d)}),!0===s.links&&q(m,t=>{const r=t=>{"A"===t.nodeName&&Nv(e,t,s,n,o),q(me(t.childNodes),r)};r(t)}),((e,t,n)=>{const o=t=>((e,t,n)=>ne(n,n=>{const o=Nr(n,n=>dC(e,t,n));return dC(e,t,n)?[n,...o]:o}))(e.formatter,t,n),r=Y(cC,e=>((e,t)=>e.format===t||$(e.fontSizeAlteringFormats,t))(e,t)&&o(e).length>0);r.length>0&&fC(e,()=>q(r,r=>{r.keepsColoredDecorations&&r.format===t&&((e,t,n)=>{q(n,n=>{const o=Jy(e,n.dom,t.format,{});C(o)&&Av(o)&&Dr(n,n=>dC(e.formatter,t,n))&&iC(e.dom,o,0,n.dom)})})(e,r,n),uC(e,r,o(r))}))})(e,t,Po(m)),q(m,o=>{const i=(e=>{let t=0;return q(e.childNodes,e=>{yg(e)||Vf(e)||t++}),t})(o);!(m.length>1)&&a.isBlock(o)||0!==i?(Og(s)||Rg(s)&&s.wrapper)&&(s.exact||1!==i||(o=(t=>{const o=Z(t.childNodes,mg).filter(e=>"false"!==a.getContentEditable(e)&&Qy(a,e,s));return o.map(o=>{const r=a.clone(o,!1);return Nv(e,r,s,n,t),a.replace(r,t,!0),a.remove(o,!0),r}).getOr(t)})(o)),((e,t,n,o)=>{aC(t,t=>{Og(t)&&aC(e.dom.select(t.inline,o),o=>{Dv(o)&&sC(e,t,n,o,t.exact?o:null)}),((e,t,n)=>{if(t.clear_child_styles){const o=t.links?"*:not(a)":"*";Rv(e.select(o,n),n=>{Dv(n)&&e.isEditable(n)&&Rv(t.styles,(t,o)=>{e.setStyle(n,o,"")})})}})(e.dom,t,o)})})(e,r,n,o),((e,t,n,o,r)=>{const s=r.parentNode;Jy(e,s,n,o)&&sC(e,t,o,r)||t.merge_with_parents&&s&&e.dom.getParent(s,s=>!!Jy(e,s,n,o)&&(sC(e,t,o,r),!0))})(e,s,t,n,o),((e,t,n,o)=>{if(t.styles&&t.styles.backgroundColor){const r=Lv(e,"fontSize");Pv(o,t=>r(t)&&e.isEditable(t),Mv(e,"backgroundColor",Sg(t.styles.backgroundColor,n)))}})(a,s,n,o),iC(a,s,0,o),((e,t,n,o)=>{if(Og(t)&&("sub"===t.inline||"sup"===t.inline)){const n=Lv(e,"fontSize");Pv(o,t=>n(t)&&e.isEditable(t),Mv(e,"fontSize",""));const r=Y(e.select("sup"===t.inline?"sub":"sup",o),e.isEditable);e.remove(r,!0)}})(a,s,0,o),Bv(e,s,0,o)):a.remove(o,!0)})},f=dg(o)?o:l.getNode();if("false"!==i.getContentEditable(f)||wg(e,f)){if(s){if(o)if(dg(o)){if(!c(r,o)){const e=i.createRng();e.setStartBefore(o),e.setEndAfter(o),m(i,Qg(i,e,r),!0)}}else m(i,o,!0);else a&&Og(s)&&!Qf(e).length?((e,t,n)=>{let o;const r=e.selection,s=e.formatter.get(t);if(!s)return;const a=r.getRng();let i=a.startOffset;const l=a.startContainer.nodeValue;o=Of(e.getBody(),r.getStart());const c=/[^\s\u00a0\u00ad\u200b\ufeff]/;if(l&&i>0&&i{rg(e,(e,t)=>{const n=t?e:Qg(i,e,r);m(i,n,!1)})},M),e.nodeChanged()),Fv(e.formatter,t).each(t=>{const o=(e=>{const t=jv(e).getOrThunk(()=>(e=>{if(e.isCollapsed())return[];const t=e.getRng(),n=zv(e,e=>ig(t,e)&&!ws(e));return cg(t,n)})(e.selection));return Y(t,Uv(e.selection.dom))})(e);q(o,e=>_v(i,e,t,n))});((e,t)=>{ke(oE,e)&&q(oE[e],e=>{e(t)})})(t,e)}od(e,t,o,n)}else{if(c(r,o=f),vg(i,o))return void q(Cg(i,o),e=>{const t=i.createRng();t.selectNodeContents(e),m(i,t,!0)});if(Rg(s)&&!i.isBlock(o)){const t=i.getParent(o,i.isBlock);if(i.isEditable(t)){const r=s.block;if(t.nodeName.toLowerCase()===r.toLowerCase())Nv(e,t,s,n,o);else if(!Dg(s)){const a=i.rename(t,r);Nv(e,a,s,n,o)}}}else{const e=Y(r,Tg);I.from(i.getParent(o,t=>H(e,e=>i.is(t,e.selector)))).filter(i.isEditable).each(e=>c(r,e))}od(e,t,o,n)}},iE=(e,t,n,o)=>{(o||e.selection.isEditable())&&aE(e,t,n,o)},lE=e=>ke(e,"vars"),cE=e=>e.selection.getStart(),dE=(e,t,n,o,r)=>Q(t,t=>{const s=e.formatter.matchNode(t,n,r??{},o);return!y(s)},t=>!!Gy(e,t,n)||!o&&C(e.formatter.matchNode(t,n,r,!0))),mE=(e,t)=>{const n=t??cE(e);return Y(Ng(e.dom,n),e=>Xr(e)&&!ts(e))},uE=(e,t,n)=>{const o=mE(e,t);he(n,(n,r)=>{const s=n=>{const s=dE(e,o,r,n.similar,lE(n)?n.vars:void 0),a=s.isSome();if(n.state.get()!==a){n.state.set(a);const e=s.getOr(t);lE(n)?n.callback(a,{node:e,format:r,parents:o}):q(n.callbacks,t=>t(a,{node:e,format:r,parents:o}))}};q([n.withSimilar,n.withoutSimilar],s),q(n.withVars,s)})},fE=(e,t,n)=>({element:e,width:t,rows:n}),gE=(e,t)=>({element:e,cells:t}),pE=(e,t)=>({x:e,y:t}),hE=(e,t)=>So(e,t).bind(st).getOr(1),bE=(e,t,n)=>{const o=e.rows;return!!(o[n]?o[n].cells:[])[t]},yE=e=>X(e,(e,t)=>t.cells.length>e?t.cells.length:e,0),vE=(e,t)=>{const n=e.rows;for(let e=0;e{const s=[],a=e.rows;for(let e=n;e<=r;e++){const n=a[e].cells,r=t((e,t)=>{const n=To(e.element),o=un.fromTag("tbody");return bo(o,t),go(n,o),n})(e,(e=>V(e.rows,e=>{const t=V(e.cells,e=>{const t=Oo(e);return xo(t,"colspan"),xo(t,"rowspan"),t}),n=To(e.element);return bo(n,t),n}))(e)),SE=(e,t,n)=>{const o=un.fromDom(t.commonAncestorContainer),r=pb(o,e),s=Y(r,e=>n.isWrapper(En(e))),a=((e,t)=>Z(e,e=>"li"===En(e)&&tg(e,t)).fold(N([]),t=>(e=>Z(e,e=>"ul"===En(e)||"ol"===En(e)))(e).map(e=>{const t=un.fromTag(En(e)),n=we(qo(e),(e,t)=>Qe(t,"list-style"));return jo(t,n),[un.fromTag("li"),t]}).getOr([])))(r,t),i=s.concat(a.length?a:(e=>ji(e)?Mn(e).filter(zi).fold(N([]),t=>[e,t]):zi(e)?[e]:[])(o));return V(i,To)},EE=()=>tr([]),xE=(e,t)=>((e,t)=>mr(t,"table",D(vn,e)))(e,t[0]).bind(e=>{const n=t[0],o=t[t.length-1],r=(e=>{const t=fE(To(e),0,[]);return q(Ar(e,"tr"),(e,n)=>{q(Ar(e,"td,th"),(o,r)=>{((e,t,n,o,r)=>{const s=hE(r,"rowspan"),a=hE(r,"colspan"),i=e.rows;for(let e=n;e{for(;bE(e,t,n);)t++;return t})(t,r,n),n,e,o)})}),fE(t.element,yE(t.rows),t.rows)})(e);return((e,t,n)=>vE(e,t).bind(t=>vE(e,n).map(n=>((e,t,n)=>{const o=t.x,r=t.y,s=n.x,a=n.y,i=rtr([wE(e)]))}).getOrThunk(EE),kE=(e,t,n)=>{const o=Xf(t,e);return o.length>0?xE(e,o):((e,t,n)=>t.length>0&&t[0].collapsed?EE():((e,t,n)=>((e,t)=>{const n=X(t,(e,t)=>(go(t,e),t),e);return t.length>0?tr([n]):n})(un.fromDom(t.cloneContents()),SE(e,t,n)))(e,t[0],n))(e,t,n)},_E=(e,t)=>t>=0&&tGi(e.innerText),AE=e=>Xr(e)?e.outerHTML:ss(e)?Sa.encodeRaw(e.data,!1):ls(e)?"\x3c!--"+e.data+"--\x3e":"",RE=(e,t)=>(((e,t)=>{let n=0;q(e,e=>{0===e[0]?n++:1===e[0]?(((e,t,n)=>{const o=(e=>{let t;const n=document.createElement("div"),o=document.createDocumentFragment();for(e&&(n.innerHTML=e);t=n.firstChild;)o.appendChild(t);return o})(t);if(e.hasChildNodes()&&n{if(e.hasChildNodes()&&t{const n=e.length+t.length+2,o=new Array(n),r=new Array(n),s=(n,o,r,a,l)=>{const c=i(n,o,r,a);if(null===c||c.start===o&&c.diag===o-a||c.end===n&&c.diag===n-r){let s=n,i=r;for(;sa-r?(l.push([2,e[s]]),++s):(l.push([1,t[i]]),++i)}else{s(n,c.start,r,c.start-c.diag,l);for(let t=c.start;t{let a=n;for(;a-o({start:e,end:t,diag:n}))(n,a,o)},i=(n,s,i,l)=>{const c=s-n,d=l-i;if(0===c||0===d)return null;const m=c-d,u=d+c,f=(u%2==0?u:u+1)/2;let g,p,h,b,y;for(o[1+f]=n,r[1+f]=s+1,g=0;g<=f;++g){for(p=-g;p<=g;p+=2){for(h=p+f,p===-g||p!==g&&o[h-1]=n&&y>=i&&e[b]===t[y];)r[h]=b--,y--;if(m%2==0&&-g<=p&&p<=g&&r[h]<=o[h+m])return a(r[h],p+n-i,s,l)}}return null},l=[];return s(0,e.length,0,t.length,l),l})(V(me(t.childNodes),AE),e),t),t),DE=lt(()=>document.implementation.createHTMLDocument("undo")),TE=e=>{const t=e.serializer.getTempAttrs(),n=jh(e.getBody(),t);return(e=>null!==e.querySelector(`iframe, ${xs}`))(n)?{type:"fragmented",fragments:Y(V(me(n.childNodes),k(Gi,AE)),e=>e.length>0),content:"",bookmark:null,beforeBookmark:null}:{type:"complete",fragments:null,content:Gi(n.innerHTML),bookmark:null,beforeBookmark:null}},OE=(e,t,n)=>{const o=n?t.beforeBookmark:t.bookmark;"fragmented"===t.type?RE(t.fragments,e.getBody()):e.setContent(t.content,{format:"raw",no_selection:!C(o)||!Pf(o)||!o.isFakeCaret}),o&&(e.selection.moveToBookmark(o),e.selection.scrollIntoView())},BE=e=>"fragmented"===e.type?e.fragments.join(""):e.content,PE=(e,t)=>{const n=un.fromTag("body",DE());return Mo(n,BE(t)),q(Ar(n,"*[data-mce-bogus]"),Ro),e&&q(Ar(n,"details[open]"),e=>xo(e,"open")),Lo(n)},LE=(e,t,n)=>!(!t||!n)&&(!!((e,t)=>BE(e)===BE(t))(t,n)||((e,t,n)=>PE(e,t)===PE(e,n))(e,t,n)),ME=e=>0===e.get(),IE=(e,t,n)=>{ME(n)&&(e.typing=t)},FE=(e,t)=>{e.typing&&(IE(e,!1,t),e.add())},UE=e=>({init:{bindEvents:x},undoManager:{beforeChange:(t,n)=>((e,t,n)=>{ME(t)&&n.set(gc(e.selection))})(e,t,n),add:(t,n,o,r,s,a)=>((e,t,n,o,r,s,a)=>{const i=TE(e),l=dn.extend(s||{},i);if(!ME(o)||e.removed)return null;const c=t.data[n.get()];if(e.dispatch("BeforeAddUndo",{level:l,lastLevel:c,originalEvent:a}).isDefaultPrevented())return null;if(c&&LE(e.readonly,c,l))return null;t.data[n.get()]&&r.get().each(e=>{t.data[n.get()].beforeBookmark=e});const d=ym(e);if(d&&t.data.length>d){for(let e=0;e0?(e.setDirty(!0),e.dispatch("AddUndo",m),e.dispatch("change",m)):e.dispatch("AddUndo",m),l})(e,t,n,o,r,s,a),undo:(t,n,o)=>((e,t,n,o)=>{let r;return t.typing&&(t.add(),t.typing=!1,IE(t,!1,n)),o.get()>0&&(o.set(o.get()-1),r=t.data[o.get()],OE(e,r,!0),e.setDirty(!0),e.dispatch("Undo",{level:r})),r})(e,t,n,o),redo:(t,n)=>((e,t,n)=>{let o;return t.get()((e,t,n)=>{t.data=[],n.set(0),t.typing=!1,e.dispatch("ClearUndos")})(e,t,n),reset:e=>(e=>{e.clear(),e.add()})(e),hasUndo:(t,n)=>((e,t,n)=>n.get()>0||t.typing&&t.data[0]&&!LE(e.readonly,TE(e),t.data[0]))(e,t,n),hasRedo:(e,t)=>((e,t)=>t.get()((e,t,n)=>(FE(e,t),e.beforeChange(),e.ignore(n),e.add()))(e,t,n),ignore:(e,t)=>((e,t)=>{try{e.set(e.get()+1),t()}finally{e.set(e.get()-1)}})(e,t),extra:(t,n,o,r)=>((e,t,n,o,r)=>{if(t.transact(o)){const o=t.data[n.get()].bookmark,s=t.data[n.get()-1];OE(e,s,!0),t.transact(r)&&(t.data[n.get()-1].beforeBookmark=o)}})(e,t,n,o,r)},formatter:{match:(t,n,o,r)=>nv(e,t,n,o,r),matchAll:(t,n)=>((e,t,n)=>{const o=[],r={},s=e.selection.getStart();return e.dom.getParent(s,s=>{for(let a=0;aJy(e,t,n,o,r),canApply:t=>((e,t)=>{const n=e.formatter.get(t),o=e.dom;if(n&&e.selection.isEditable()){const t=e.selection.getStart(),r=Ng(o,t);for(let e=n.length-1;e>=0;e--){const t=n[e];if(!Tg(t))return!0;for(let e=r.length-1;e>=0;e--)if(o.is(r[e],t.selector))return!0}}return!1})(e,t),closest:t=>((e,t)=>{const n=t=>vn(t,un.fromDom(e.getBody()));return I.from(e.selection.getStart(!0)).bind(o=>Or(un.fromDom(o),n=>ue(t,t=>((t,n)=>Jy(e,t.dom,n)?I.some(n):I.none())(n,t)),n)).getOrNull()})(e,t),apply:(t,n,o)=>iE(e,t,n,o),remove:(t,n,o,r)=>rC(e,t,n,o,r),toggle:(t,n,o)=>((e,t,n,o)=>{const r=e.formatter.get(t);r&&(!nv(e,t,n,o)||"toggle"in r[0]&&!r[0].toggle?iE(e,t,n,o):rC(e,t,n,o))})(e,t,n,o),formatChanged:(t,n,o,r,s)=>((e,t,n,o,r,s)=>(((e,t,n,o,r,s)=>{const a=t.get();q(n.split(","),t=>{const n=xe(a,t).getOrThunk(()=>{const e={withSimilar:{state:Ae(!1),similar:!0,callbacks:[]},withoutSimilar:{state:Ae(!1),similar:!1,callbacks:[]},withVars:[]};return a[t]=e,e}),i=()=>{const n=mE(e);return dE(e,n,t,r,s).isSome()};if(y(s)){const e=r?n.withSimilar:n.withoutSimilar;e.callbacks.push(o),1===e.callbacks.length&&e.state.set(i())}else n.withVars.push({state:Ae(i()),similar:r,vars:s,callback:o})}),t.set(a)})(e,t,n,o,r,s),{unbind:()=>((e,t,n)=>{const o=e.get();q(t.split(","),e=>xe(o,e).each(t=>{o[e]={withSimilar:{...t.withSimilar,callbacks:Y(t.withSimilar.callbacks,e=>e!==n)},withoutSimilar:{...t.withoutSimilar,callbacks:Y(t.withoutSimilar.callbacks,e=>e!==n)},withVars:Y(t.withVars,e=>e.callback!==n)}})),e.set(o)})(t,n,o)}))(e,t,n,o,r,s)},editor:{getContent:t=>((e,t)=>I.from(e.getBody()).fold(N("tree"===t.format?new Ah("body",11):""),n=>Vh(e,t,n)))(e,t),setContent:(t,n)=>((e,t,n)=>I.from(e.getBody()).map(o=>xS(t)?((e,t,n,o)=>{bC(e.parser.getNodeFilters(),e.parser.getAttributeFilters(),n);const r=Kh({validate:!1},e.schema).serialize(n),s=Gi(Vi(un.fromDom(t))?r:dn.trim(r));return nE(e,s,o.no_selection),{content:n,html:s}})(e,o,t,n):((e,t,n,o)=>{if(0===(n=Gi(n)).length||/^\s+$/.test(n)){const r='
    ';"TABLE"===t.nodeName?n=""+r+"":/^(UL|OL)$/.test(t.nodeName)&&(n="
  • "+r+"
  • ");const s=Ed(e);return e.schema.isValidChild(t.nodeName.toLowerCase(),s.toLowerCase())?(n=r,n=e.dom.createHTML(s,xd(e),n)):n||(n=r),nE(e,n,o.no_selection),{content:n,html:n}}{"raw"!==o.format&&(n=Kh({validate:!1},e.schema).serialize(e.parser.parse(n,{isRootContent:!0,insert:!0})));const r=Vi(un.fromDom(t))?n:dn.trim(n);return nE(e,r,o.no_selection),{content:r,html:r}}})(e,o,t,n)).getOr({content:t,html:xS(n.content)?"":n.content}))(e,t,n),insertContent:(t,n)=>tE(e,t,n),addVisual:t=>((e,t)=>{const n=e.dom,o=C(t)?t:e.getBody();q(n.select("table,a",o),t=>{switch(t.nodeName){case"TABLE":const o=Nm(e),r=n.getAttrib(t,"border");r&&"0"!==r||!e.hasVisual?n.removeClass(t,o):n.addClass(t,o);break;case"A":if(!n.getAttrib(t,"href")){const o=n.getAttrib(t,"name")||t.id,r=Am(e);o&&e.hasVisual?n.addClass(t,r):n.removeClass(t,r)}}}),e.dispatch("VisualAid",{element:t,hasVisual:e.hasVisual})})(e,t)},selection:{getContent:(t,n)=>((e,t,n={})=>{const o=((e,t)=>({...e,format:t,get:!0,selection:!0,getInner:!0}))(n,t);return NS(e,o).fold(A,t=>{const n=((e,t)=>{if("text"===t.format)return(e=>I.from(e.selection.getRng()).map(t=>{const n=I.from(e.dom.getParent(t.commonAncestorContainer,e.dom.isBlock)),o=e.getBody(),r=(e=>e.map(e=>e.nodeName).getOr("div").toLowerCase())(n),s=un.fromDom(t.cloneContents());$h(s),Hh(s);const a=e.dom.add(o,r,{"data-mce-bogus":"all",style:"overflow: hidden; opacity: 0;"},s.dom),i=NE(a),l=Gi(a.textContent??"");if(e.dom.remove(a),_E(l,0)||_E(l,l.length-1)){const e=n.getOr(o),t=NE(e),r=t.indexOf(i);return-1===r?i:(_E(t,r-1)?" ":"")+i+(_E(t,r+i.length)?" ":"")}return i}).getOr(""))(e);{const n=((e,t)=>{const n=e.selection.getRng(),o=e.dom.create("body"),r=e.selection.getSel(),s=Eh(e,Gf(r)),a=t.contextual?kE(un.fromDom(e.getBody()),s,e.schema).dom:n.cloneContents();return a&&o.appendChild(a),e.selection.serializer.serialize(o,t)})(e,t);return"tree"===t.format?n:e.selection.isCollapsed()?"":n}})(e,t);return AS(e,n,t)})})(e,t,n)},autocompleter:{addDecoration:x,removeDecoration:x},raw:{getModel:()=>I.none()}}),zE=e=>ke(e.plugins,"rtc"),jE=e=>e.rtcInstance?e.rtcInstance:UE(e),$E=e=>{const t=e.rtcInstance;if(t)return t;throw new Error("Failed to get RTC instance not yet initialized.")},HE=e=>$E(e).init.bindEvents(),VE=(e,t,n)=>{if(ke(e,t)){const o=Y(e[t],e=>e!==n);0===o.length?delete e[t]:e[t]=o}};const qE=e=>!(!e||!e.ownerDocument)&&Cn(un.fromDom(e.ownerDocument),un.fromDom(e)),WE=(e,t,n,o)=>{let r,s;const{selectorChangedWithUnbind:a}=((e,t)=>{let n,o;const r=(t,n)=>Z(n,n=>e.is(n,t)),s=t=>e.getParents(t,void 0,e.getRoot());return{selectorChangedWithUnbind:(e,a)=>(n||(n={},o={},t.on("NodeChange",e=>{const t=e.element,a=s(t),i={};he(n,(e,t)=>{r(t,a).each(n=>{o[t]||(q(e,e=>{e(!0,{node:n,selector:t,parents:a})}),o[t]=e),i[t]=e})}),he(o,(e,n)=>{i[n]||(delete o[n],q(e,e=>{e(!1,{node:t,selector:n,parents:a})}))})})),n[e]||(n[e]=[]),n[e].push(a),r(e,s(t.selection.getStart())).each(()=>{o[e]=n[e]}),{unbind:()=>{VE(n,e,a),VE(o,e,a)}})}})(e,o),i=e=>{const t=c();t.collapse(!!e),d(t)},l=()=>t.getSelection?t.getSelection():t.document.selection,c=()=>{let n;const a=(e,t,n)=>{try{return t.compareBoundaryPoints(e,n)}catch{return-1}},i=t.document;if(C(o.bookmark)&&!Op(o)){const e=Cp(o);if(e.isSome())return e.map(e=>Eh(o,[e])[0]).getOr(i.createRange())}try{const e=l();e&&!Gr(e.anchorNode)&&(n=e.rangeCount>0?e.getRangeAt(0):i.createRange(),n=Eh(o,[n])[0])}catch{}if(n||(n=i.createRange()),cs(n.startContainer)&&n.collapsed){const t=e.getRoot();n.setStart(t,0),n.setEnd(t,0)}return r&&s&&(0===a(n.START_TO_START,n,r)&&0===a(n.END_TO_END,n,r)?n=s:(r=null,s=null)),n},d=(e,t)=>{if(!(e=>!!e&&qE(e.startContainer)&&qE(e.endContainer))(e))return;const n=l();if(e=o.dispatch("SetSelectionRange",{range:e,forward:t}).range,n){s=e;try{n.removeAllRanges(),n.addRange(e)}catch{}!1===t&&n.extend&&(n.collapse(e.endContainer,e.endOffset),n.extend(e.startContainer,e.startOffset)),r=n.rangeCount>0?n.getRangeAt(0):null}if(!e.collapsed&&e.startContainer===e.endContainer&&n?.setBaseAndExtent&&e.endOffset-e.startOffset<2&&e.startContainer.hasChildNodes()){const t=e.startContainer.childNodes[e.startOffset];t&&"IMG"===t.nodeName&&(n.setBaseAndExtent(e.startContainer,e.startOffset,e.endContainer,e.endOffset),n.anchorNode===e.startContainer&&n.focusNode===e.endContainer||n.setBaseAndExtent(t,0,t,1))}o.dispatch("AfterSetSelectionRange",{range:e,forward:t})},m=()=>{const t=l(),n=t?.anchorNode,o=t?.focusNode;if(!t||!n||!o||Gr(n)||Gr(o))return!0;const r=e.createRng(),s=e.createRng();try{r.setStart(n,t.anchorOffset),r.collapse(!0),s.setStart(o,t.focusOffset),s.collapse(!0)}catch{return!0}return r.compareBoundaryPoints(r.START_TO_START,s)<=0},u={dom:e,win:t,serializer:n,editor:o,expand:(t={type:"word"})=>d(Jp(e).expand(c(),t)),collapse:i,setCursorLocation:(t,n)=>{const r=e.createRng();C(t)&&C(n)?(r.setStart(t,n),r.setEnd(t,n),d(r),i(!1)):(ng(e,r,o.getBody(),!0),d(r))},getContent:e=>((e,t={})=>((e,t,n)=>$E(e).selection.getContent(t,n))(e,t.format?t.format:"html",t))(o,e),setContent:(e,t)=>((e,t,n={})=>{HS("selectionSetContent"),WS(e,t,n)})(o,e,t),getBookmark:(e,t)=>f.getBookmark(e,t),moveToBookmark:e=>f.moveToBookmark(e),select:(t,n)=>(((e,t,n)=>I.from(t).bind(t=>I.from(t.parentNode).map(o=>{const r=e.nodeIndex(t),s=e.createRng();return s.setStart(o,r),s.setEnd(o,r+1),n&&(ng(e,s,t,!0),ng(e,s,t,!1)),s})))(e,t,n).each(d),t),isCollapsed:()=>{const e=c(),t=l();return!(!e||e.item)&&(e.compareEndPoints?0===e.compareEndPoints("StartToEnd",e):!t||e.collapsed)},isEditable:()=>{if(o.mode.isReadOnly())return!1;const t=c(),n=o.getBody().querySelectorAll('[data-mce-selected="1"]');return n.length>0?oe(n,t=>e.isEditable(t.parentElement)):yh(e,t)},isForward:m,setNode:t=>(WS(o,e.getOuterHTML(t)),t),getNode:()=>((e,t)=>{if(!t)return e;let n=t.startContainer,o=t.endContainer;const r=t.startOffset,s=t.endOffset;let a=t.commonAncestorContainer;t.collapsed||(n===o&&s-r<2&&n.hasChildNodes()&&(a=n.childNodes[r]),ss(n)&&ss(o)&&(n=n.length===r?Sh(n.nextSibling,!0):n.parentNode,o=0===s?Sh(o.previousSibling,!1):o.parentNode,n&&n===o&&(a=n)));const i=ss(a)?a.parentNode:a;return Qr(i)?i:e})(o.getBody(),c()),getSel:l,setRng:d,getRng:c,getStart:e=>Ch(o.getBody(),c(),e),getEnd:e=>wh(o.getBody(),c(),e),getSelectedBlocks:(t,n)=>((e,t,n,o)=>{const r=[],s=e.getRoot(),a=e.getParent(n||Ch(s,t,t.collapsed),e.isBlock),i=e.getParent(o||wh(s,t,t.collapsed),e.isBlock);if(a&&a!==s&&r.push(a),a&&i&&a!==i){let t;const n=new Kr(a,s);for(;(t=n.next())&&t!==i;)e.isBlock(t)&&r.push(t)}return i&&a!==i&&i!==s&&r.push(i),r})(e,c(),t,n),getFullySelectedBlocks:()=>{return(e=u).isCollapsed()?[]:cg(e.getRng(),e.getSelectedBlocks());var e},normalize:()=>{const t=c(),n=l();if(!(Gf(n).length>1)&&og(o)){const n=Xp(e,t);return n.each(e=>{d(e,m())}),n.getOr(t)}return t},selectorChanged:(e,t)=>(a(e,t),u),selectorChangedWithUnbind:a,getScrollContainer:()=>{let t,n=e.getRoot();for(;n&&"BODY"!==n.nodeName;){if(n.scrollHeight>n.clientHeight){t=n;break}n=n.parentNode}return t},scrollIntoView:(e,t)=>{C(e)?((e,t,n)=>{(e.inline?gh:hh)(e,t,n)})(o,e,t):bh(o,c(),t)},placeCaretAt:(e,t)=>d($p(e,t,o.getDoc())),getBoundingClientRect:()=>{const e=c();return e.collapsed?Kl.fromRangeStart(e).getClientRects()[0]:e.getBoundingClientRect()},destroy:()=>{t=r=s=null,g.destroy()}},f=mp(u),g=jp(u,o);return u.bookmarkManager=f,u.controlSelection=g,u},KE=(e,t,n)=>{-1===dn.inArray(t,n)&&(e.addAttributeFilter(n,(e,t)=>{let n=e.length;for(;n--;)e[n].attr(t,null)}),t.push(n))},YE=(e,t)=>{const n=["data-mce-selected"],o={entity_encoding:"named",remove_trailing_brs:!0,pad_empty_with_br:!1,...e},r=t&&t.dom?t.dom:gi.DOM,s=t&&t.schema?t.schema:Ua(o),a=ES(o,s);return((e,t,n)=>{e.addAttributeFilter("data-mce-tabindex",(e,t)=>{let n=e.length;for(;n--;){const o=e[n];o.attr("tabindex",o.attr("data-mce-tabindex")),o.attr(t,null)}}),e.addAttributeFilter("src,href,style",(e,o)=>{const r="data-mce-"+o,s=t.url_converter,a=t.url_converter_scope;let i=e.length;for(;i--;){const t=e[i];let l=t.attr(r);void 0!==l?(t.attr(o,l.length>0?l:null),t.attr(r,null)):(l=t.attr(o),"style"===o?l=n.serializeStyle(n.parseStyle(l),t.name):s&&(l=s.call(a,l,o,t.name)),t.attr(o,l.length>0?l:null))}}),e.addAttributeFilter("class",e=>{let t=e.length;for(;t--;){const n=e[t];let o=n.attr("class");o&&(o=o.replace(/(?:^|\s)mce-item-\w+(?!\S)/g,""),n.attr("class",o.length>0?o:null))}}),e.addAttributeFilter("data-mce-type",(e,t,n)=>{let o=e.length;for(;o--;){const t=e[o];if("bookmark"===t.attr("data-mce-type")&&!n.cleanup){const e=I.from(t.firstChild).exists(e=>!Yi(e.value??""));e?t.unwrap():t.remove()}}}),e.addNodeFilter("script,style",(e,n)=>{const o=e=>e.replace(/()/g,"\n").replace(/^[\r\n]*|[\r\n]*$/g,"").replace(/^\s*(()?|\s*\/\/\s*\]\]>(-->)?|\/\/\s*(-->)?|\]\]>|\/\*\s*-->\s*\*\/|\s*-->\s*)\s*$/g,"");let r=e.length;for(;r--;){const s=e[r],a=s.firstChild,i=a?.value??"";if("script"===n){const e=s.attr("type");e&&s.attr("type","mce-no/type"===e?null:e.replace(/^mce\-/,"")),"xhtml"===t.element_format&&a&&i.length>0&&(a.value="// ")}else"xhtml"===t.element_format&&a&&i.length>0&&(a.value="\x3c!--\n"+o(i)+"\n--\x3e")}}),e.addNodeFilter("#comment",e=>{let o=e.length;for(;o--;){const r=e[o],s=r.value;t.preserve_cdata&&0===s?.indexOf("[CDATA[")&&(r.name="#cdata",r.type=4,r.value=n.decode(s.replace(/^\[CDATA\[|\]\]$/g,"")))}}),e.addNodeFilter("xml:namespace,input",(e,t)=>{let n=e.length;for(;n--;){const o=e[n];7===o.type?o.remove():1===o.type&&("input"!==t||o.attr("type")||o.attr("type","text"))}}),e.addAttributeFilter("data-mce-type",t=>{q(t,t=>{"format-caret"===t.attr("data-mce-type")&&(t.isEmpty(e.schema.getNonEmptyElements())?t.remove():t.unwrap())})}),e.addAttributeFilter("data-mce-src,data-mce-href,data-mce-style,data-mce-selected,data-mce-expando,data-mce-block,data-mce-type,data-mce-resize,data-mce-placeholder",(e,t)=>{let n=e.length;for(;n--;)e[n].attr(t,null)}),t.remove_trailing_brs&&((e,t,n)=>{t.addNodeFilter("br",(t,o,r)=>{const s=dn.extend({},n.getBlockElements()),a=n.getNonEmptyElements(),i=n.getWhitespaceElements();s.body=1;const l=e=>e.name in s||ea(n,e);for(let o=0,c=t.length;o{const{indent:i,entity_encoding:l,...c}=n,d={format:"html",...c},m=((e,t,n)=>((e,t)=>C(e)&&e.hasEventListeners("PreProcess")&&!t.no_events)(e,n)?((e,t,n)=>{let o;const r=e.dom;let s=t.cloneNode(!0);const a=document.implementation;if(a.createHTMLDocument){const e=a.createHTMLDocument("");dn.each("BODY"===s.nodeName?s.childNodes:[s],t=>{e.body.appendChild(e.importNode(t,!0))}),s="BODY"!==s.nodeName?e.body.firstChild:e.body,o=r.doc,r.doc=e}return((e,t)=>{e.dispatch("PreProcess",t)})(e,{...n,node:s}),o&&(r.doc=o),s})(e,t,n):t)(t,e,d),u=((e,t,n)=>{const o=Gi(n.getInner?t.innerHTML:e.getOuterHTML(t));return n.selection||Vi(un.fromDom(t))?o:dn.trim(o)})(r,m,d),f=((e,t,n)=>{const o=n.selection?{forced_root_block:!1,...n}:n,r=e.parse(t,o);return(e=>{const t=e=>"br"===e?.name,n=e.lastChild;if(t(n)){const e=n.prev;t(e)&&(n.remove(),e.remove())}})(r),r})(a,u,d);if("tree"===d.format)return f;const g={...o,...C(i)?{indent:i}:{},...C(l)?{entity_encoding:l}:{}};return((e,t,n,o,r)=>{const s=((e,t,n)=>Kh(e,t).serialize(n))(t,n,o);return((e,t,n)=>{if(!t.no_events&&e){const o=((e,t)=>e.dispatch("PostProcess",t))(e,{...t,content:n});return o.content}return n})(e,r,s)})(t,g,s,f,d)},addRules:s.addValidElements,setRules:s.setValidElements,addTempAttr:D(KE,a,n),getTempAttrs:N(n),getNodeFilters:a.getNodeFilters,getAttributeFilters:a.getAttributeFilters,removeNodeFilter:a.removeNodeFilter,removeAttributeFilter:a.removeAttributeFilter}},GE=(e,t)=>{const n=YE(e,t);return{schema:n.schema,addNodeFilter:n.addNodeFilter,addAttributeFilter:n.addAttributeFilter,serialize:n.serialize,addRules:n.addRules,setRules:n.setRules,addTempAttr:n.addTempAttr,getTempAttrs:n.getTempAttrs,getNodeFilters:n.getNodeFilters,getAttributeFilters:n.getAttributeFilters,removeNodeFilter:n.removeNodeFilter,removeAttributeFilter:n.removeAttributeFilter}},XE=(e,t,n={})=>{const o=((e,t)=>({format:"html",...e,set:!0,content:t}))(n,t);RS(e,o).each(t=>{const n=((e,t,n)=>jE(e).editor.setContent(t,n))(e,t.content,t);DS(e,n.html,t)})},QE=gi.DOM,ZE=e=>I.from(e).each(e=>e.destroy()),JE=(()=>{const e={};return{add:(t,n)=>{e[t]=n},get:t=>e[t]?e[t]:{icons:{}},has:t=>ke(e,t)}})(),ex=wi.ModelManager,tx=(e,t)=>t.dom[e],nx=(e,t)=>parseInt($o(t,e),10),ox=D(tx,"clientWidth"),rx=D(tx,"clientHeight"),sx=D(nx,"margin-top"),ax=D(nx,"margin-left"),ix=e=>{const t=[],n=()=>{const t=e.theme;return t&&t.getNotificationManagerImpl?t.getNotificationManagerImpl():(()=>{const e=()=>{throw new Error("Theme did not provide a NotificationManager implementation.")};return{open:e,close:e,getArgs:e}})()},o=()=>I.from(t[0]),r=()=>{o().each(e=>{e.reposition()})},s=e=>{J(t,t=>t===e).each(e=>{t.splice(e,1)})},a=(o,a=!0)=>e.removed||!(e=>{return(t=e.inline?e.getBody():e.getContentAreaContainer(),I.from(t).map(un.fromDom)).map(Fo).getOr(!1);var t})(e)?{}:(a&&e.dispatch("BeforeOpenNotification",{notification:o}),Z(t,e=>{return t=n().getArgs(e),r=o,!(t.type!==r.type||t.text!==r.text||t.progressBar||t.timeout||r.progressBar||r.timeout);var t,r}).getOrThunk(()=>{e.editorManager.setActive(e);const a=n().open(o,()=>{s(a)},()=>Bp(e));return(e=>{t.push(e)})(a),r(),e.dispatch("OpenNotification",{notification:{...a}}),a})),i=N(t);return(e=>{e.on("SkinLoaded",()=>{const t=nm(e);t&&a({text:t,type:"warning",timeout:0},!1),r()}),e.on("show ResizeEditor ResizeWindow NodeChange ToggleView FullscreenStateChanged",()=>{requestAnimationFrame(r)}),e.on("remove",()=>{q(t.slice(),e=>{n().close(e)})}),e.on("keydown",e=>{const t="f12"===e.key?.toLowerCase()||123===e.keyCode;e.altKey&&t&&(e.preventDefault(),o().map(e=>un.fromDom(e.getEl())).each(e=>io(e)))})})(e),{open:a,close:()=>{o().each(e=>{n().close(e),s(e),r()})},getNotifications:i}},lx=wi.PluginManager,cx=wi.ThemeManager,dx=e=>{let t=[];const n=()=>{const t=e.theme;return t&&t.getWindowManagerImpl?t.getWindowManagerImpl():(()=>{const e=()=>{throw new Error("Theme did not provide a WindowManager implementation.")};return{open:e,openUrl:e,alert:e,confirm:e,close:e}})()},o=(e,t)=>(...n)=>t?t.apply(e,n):void 0,r=n=>{(t=>{e.dispatch("CloseWindow",{dialog:t})})(n);const o=ue(t,({instanceApi:e,triggerElement:t})=>e===n?t:I.none());t=Y(t,({instanceApi:e})=>e!==n),0===t.length?e.focus():o.filter(Fo).each(io)},s=n=>{e.editorManager.setActive(e),vp(e);const o=co();e.ui.show();const r=n();return((n,o)=>{t.push({instanceApi:n,triggerElement:o}),(t=>{e.dispatch("OpenWindow",{dialog:t})})(n)})(r,o),r},a=e=>{0!==t.length&&e.each(e=>io(e))};return e.on("remove",()=>{q(t,({instanceApi:e})=>{n().close(e)})}),{open:(e,t)=>s(()=>n().open(e,t,r)),openUrl:e=>s(()=>n().openUrl(e,r)),alert:(e,t,r)=>{const s=co(),i=n();i.alert(e,o(r||i,()=>{a(s),t?.()}))},confirm:(e,t,r)=>{const s=co(),i=n();i.confirm(e,o(r||i,e=>{a(s),t?.(e)}))},close:()=>{I.from(t[t.length-1]).each(({instanceApi:e})=>{n().close(e),r(e)})}}},mx=(e,t)=>{e.notificationManager.open({type:"error",text:t})},ux=(e,t)=>{e._skinLoaded?mx(e,t):e.on("SkinLoaded",()=>{mx(e,t)})},fx=(e,t,n)=>{nd(e,t,{message:n}),console.error(n)},gx=(e,t,n)=>n?`Failed to load ${e}: ${n} from url ${t}`:`Failed to load ${e} url: ${t}`,px=(e,...t)=>{const n=window.console;n&&(n.error?n.error(e,...t):n.log(e,...t))},hx=new WeakMap,bx=(e,t)=>{const{type:n,message:o}=t;e.notificationManager.open({type:n,text:o})},yx=e=>{const t=(e=>{switch(e){case"error":return console.error;case"info":return console.info;case"warn":return console.warn;default:return console.log}})(e.type);t(e.message)},vx=(e,t)=>{const{console:n,editor:o}=t;C(o)&&(e._skinLoaded?bx(e,o):e.on("SkinLoaded",()=>{bx(e,o)})),C(n)&&yx(n)},Cx="Read more: https://www.tiny.cloud/docs/tinymce/latest/license-key/",wx="Make sure to provide a valid license key or add license_key: 'gpl' to the init config to agree to the open source license terms.",Sx="licensekeymanager",Ex=e=>{const t=(e=>u(uu(e))?"online":"offline")(e),n=(e=>{const t=mu(e)?.toLowerCase();return"gpl"===t?"gpl":v(t)?"no_key":"non_gpl"})(e),o=new Set([...Em(e),...ge(xm(e))]).has(Sx);return"gpl"!==n||"online"===t||o?{type:"use_plugin",onlineStatus:t,licenseKeyType:n,forcePlugin:o}:{type:"use_gpl",onlineStatus:t,licenseKeyType:n,forcePlugin:o}},xx=e=>t=>{let n=!1;return{validate:o=>{const{plugin:r}=o,s=u(r);return s&&(((e,t,n)=>{vx(e,{console:{type:"error",message:[`The "${t}" plugin requires a valid TinyMCE license key.`,Cx].join(" ")},...n?{}:{editor:{type:"warning",message:"One or more premium plugins are disabled due to license key restrictions."}}})})(t,r,n),n=!0),Promise.resolve(e&&!s)}}},kx=xx(!1),_x=xx(!0),Nx="manager",Ax=Sx,Rx=(()=>{const e=wi();return{load:(t,n)=>{if("use_plugin"===Ex(t).type){const o=xe(xm(t),Ax).map(et).filter(ot).getOr(`plugins/${Ax}/plugin${n}.js`);e.load(Nx,o).catch(()=>{((e,t)=>{fx(e,"LicenseKeyManagerLoadError",gx("license key manager",t))})(t,o)})}},add:t=>{e.add(Nx,t)},init:t=>{const n=e=>{Object.defineProperty(t,"licenseKeyManager",{value:e,writable:!1,configurable:!1,enumerable:!0})},o=Ex(t),r=e.get(Nx);if(C(r))n(r(t,e.urls[Nx]));else switch(o.type){case"use_gpl":n(_x(t));break;case"use_plugin":(e=>{hx.has(e)||(hx.set(e,!0),e.initialized?(e.removed||e.mode.set("readonly"),e.options.set("disabled",!0)):e.on("init",()=>{e.removed||e.mode.set("readonly"),e.options.set("disabled",!0)}),e.on("DisabledStateChange",e=>{const{state:t}=e;t||e.preventDefault()},!0),e.on("SwitchMode",t=>{const{mode:n}=t;"readonly"!==n&&e.mode.set("readonly")}))})(t),n(kx(t)),"offline"===o.onlineStatus&&"no_key"===o.licenseKeyType?(e=>{const t="The editor is disabled because a TinyMCE license key has not been provided.";vx(e,{console:{type:"error",message:[`${t}`,wx,Cx].join(" ")},editor:{type:"warning",message:`${t}`}})})(t):((e,t)=>{const n=("online"===t?"API":"license")+" key",o=`The editor is disabled because the TinyMCE ${n} could not be validated.`;vx(e,{console:{type:"error",message:[`${o}`,`The TinyMCE Commercial License Key Manager plugin is required for the provided ${n} to be validated but could not be loaded.`,Cx].join(" ")},editor:{type:"warning",message:`${o}`}})})(t,o.onlineStatus)}t.licenseKeyManager.validate({})}}})(),Dx=(e,t,n)=>{try{e.getDoc().execCommand(t,!1,String(n))}catch{}},Tx=(e,t,n)=>{wr(e,t)&&!n?Cr(e,t):n&&yr(e,t)},Ox=e=>{const t=un.fromDom(e.getBody());Tx(t,"mce-content-readonly",!0),e.selection.controlSelection.hideResizeRect(),e._selectionOverrides.hideFakeCaret(),(e=>{I.from(e.selection.getNode()).each(e=>{e.removeAttribute("data-mce-selected")})})(e)},Bx=e=>{const t=un.fromDom(e.getBody());Tx(t,"mce-content-readonly",!1),e.hasEditableRoot()&&xr(t,!0),((e,t)=>{Dx(e,"StyleWithCSS",t),Dx(e,"enableInlineTableEditing",t),Dx(e,"enableObjectResizing",t)})(e,!1),Bp(e)&&e.focus(),(e=>{e.selection.setRng(e.selection.getRng())})(e),e.nodeChanged()},Px=e=>fu(e),Lx="data-mce-contenteditable",Mx=(e,t)=>{const n=un.fromDom(e.getBody());t?(Ox(e),xr(n,!1),q(Ar(n,'*[contenteditable="true"]'),e=>{vo(e,Lx,"true"),xr(e,!1)})):(q(Ar(n,`*[${Lx}="true"]`),e=>{xo(e,Lx),xr(e,!0)}),Bx(e))},Ix=e=>{e.parser.addAttributeFilter("contenteditable",t=>{Px(e)&&q(t,e=>{e.attr(Lx,e.attr("contenteditable")),e.attr("contenteditable","false")})}),e.serializer.addAttributeFilter(Lx,t=>{Px(e)&&q(t,e=>{e.attr("contenteditable",e.attr(Lx))})}),e.serializer.addTempAttr(Lx)},Fx=["copy"],Ux=(e,t)=>fr(t,"details",t=>vn(t,un.fromDom(e.getBody()))).isSome(),zx=e=>"content/"+e+"/content.css",jx=(e,t)=>{const n=e.editorManager.baseURL+"/skins/content",o=`content${e.editorManager.suffix}.css`;return V(t,t=>(e=>tinymce.Resource.has(zx(e)))(t)?zx(t):(e=>/^[a-z0-9\-]+$/i.test(e))(t)&&!e.inline?`${n}/${t}/${o}`:e.documentBaseURI.toAbsolute(t))},$x=(e,t)=>{const n={};return{findAll:(o,r=M)=>{const s=Y((e=>e?me(e.getElementsByTagName("img")):[])(o),t=>{const n=t.src;return!t.hasAttribute("data-mce-bogus")&&!t.hasAttribute("data-mce-placeholder")&&!(!n||n===sn.transparentSrc)&&(Qe(n,"blob:")?!e.isUploaded(n)&&r(t):!!Qe(n,"data:")&&r(t))}),a=V(s,e=>{const o=e.src;if(ke(n,o))return n[o].then(t=>u(t)?t:{image:e,blobInfo:t.blobInfo});{const r=((e,t)=>{const n=()=>Promise.reject("Invalid data URI");if(Qe(t,"blob:")){const s=e.getByUri(t);return C(s)?Promise.resolve(s):(o=t,Qe(o,"blob:")?(e=>fetch(e).then(e=>e.ok?e.blob():Promise.reject()).catch(()=>Promise.reject({message:`Cannot convert ${e} to Blob. Resource might not exist or is inaccessible.`,uriType:"blob"})))(o):Qe(o,"data:")?(r=o,new Promise((e,t)=>{DC(r).bind(({type:e,data:t,base64Encoded:n})=>TC(e,t,n)).fold(()=>t("Invalid data URI"),e)})):Promise.reject("Unknown URI format")).then(t=>OC(t).then(o=>PC(o,!1,n=>I.some(LC(e,t,n))).getOrThunk(n)))}var o,r;return Qe(t,"data:")?MC(e,t).fold(n,e=>Promise.resolve(e)):Promise.reject("Unknown image data format")})(t,o).then(t=>(delete n[o],{image:e,blobInfo:t})).catch(e=>(delete n[o],e));return n[o]=r,r}});return Promise.all(a)}}},Hx=()=>{let e={};const t=(e,t)=>({status:e,resultUri:t}),n=t=>t in e;return{hasBlobUri:n,getResultUri:t=>{const n=e[t];return n?n.resultUri:null},isPending:t=>!!n(t)&&1===e[t].status,isUploaded:t=>!!n(t)&&2===e[t].status,markPending:n=>{e[n]=t(1,null)},markUploaded:(n,o)=>{e[n]=t(2,o)},removeFailed:t=>{delete e[t]},destroy:()=>{e={}}}};let Vx=0;const qx=(e,t)=>{const n={},o=(e,n)=>new Promise((o,r)=>{const s=new XMLHttpRequest;s.open("POST",t.url),s.withCredentials=t.credentials,s.upload.onprogress=e=>{n(e.loaded/e.total*100)},s.onerror=()=>{r("Image upload failed due to a XHR Transport error. Code: "+s.status)},s.onload=()=>{if(s.status<200||s.status>=300)return void r("HTTP Error: "+s.status);const e=JSON.parse(s.responseText);var n,a;e&&u(e.location)?o((n=t.basePath,a=e.location,n?n.replace(/\/$/,"")+"/"+a.replace(/^\//,""):a)):r("Invalid JSON: "+s.responseText)};const a=new FormData;a.append("file",e.blob(),e.filename()),s.send(a)}),r=w(t.handler)?t.handler:o,s=(e,t)=>({url:t,blobInfo:e,status:!0}),a=(e,t)=>({url:"",blobInfo:e,status:!1,error:t}),i=(e,t)=>{dn.each(n[e],e=>{e(t)}),delete n[e]};return{upload:(l,c)=>t.url||r!==o?((t,o)=>(t=dn.grep(t,t=>!e.isUploaded(t.blobUri())),Promise.all(dn.map(t,t=>e.isPending(t.blobUri())?(e=>{const t=e.blobUri();return new Promise(e=>{n[t]=n[t]||[],n[t].push(e)})})(t):((t,n,o)=>(e.markPending(t.blobUri()),new Promise(r=>{let l,c;try{const d=()=>{l&&(l.close(),c=x)},m=n=>{d();const o=u(n)?n:n.url;e.markUploaded(t.blobUri(),o),i(t.blobUri(),s(t,o)),r(s(t,o))},f=n=>{d(),e.removeFailed(t.blobUri()),i(t.blobUri(),a(t,n)),r(a(t,n))};c=e=>{e<0||e>100||I.from(l).orThunk(()=>I.from(o).map(B)).each(t=>{l=t,t.progressBar.value(e)})},n(t,c).then(m,e=>{f(u(e)?{message:e}:e)})}catch(e){r(a(t,e))}})))(t,r,o)))))(l,c):new Promise(e=>{e([])})}},Wx=e=>()=>e.notificationManager.open({text:e.translate("Image uploading..."),type:"info",timeout:-1,progressBar:!0}),Kx=(e,t)=>qx(t,{url:Ld(e),basePath:Md(e),credentials:Id(e),handler:Fd(e)}),Yx=e=>{const t=(()=>{let e=[];const t=e=>{if(v(e.blob)||v(e.base64)||""===e.base64&&!e.allowEmptyFile)throw new Error("blob and base64 representations of the image are required for BlobInfo to be created");const t=e.id||"blobid"+Vx+++(()=>{const e=()=>Math.round(4294967295*Be()).toString(36);return"s"+(new Date).getTime().toString(36)+e()+e()+e()})(),n=e.name||t,o=e.blob;var r;return{id:N(t),name:N(n),filename:N(e.filename||n+"."+(r=o.type,{"image/jpeg":"jpg","image/jpg":"jpg","image/gif":"gif","image/png":"png","image/apng":"apng","image/avif":"avif","image/svg+xml":"svg","image/webp":"webp","image/bmp":"bmp","image/tiff":"tiff"}[r.toLowerCase()]||"dat")),blob:N(o),base64:N(e.base64),blobUri:N(e.blobUri||URL.createObjectURL(o)),uri:N(e.uri)}},n=t=>Z(e,t).getOrUndefined(),o=e=>n(t=>t.id()===e);return{create:(e,n,o,r,s)=>{if(u(e))return t({id:e,name:r,filename:s,blob:n,base64:o});if(f(e))return t(e);throw new Error("Unknown input type")},add:t=>{o(t.id())||e.push(t)},get:o,getByUri:e=>n(t=>t.blobUri()===e),getByData:(e,t)=>n(n=>n.base64()===e&&n.blob().type===t),findFirst:n,removeByUri:t=>{e=Y(e,e=>e.blobUri()!==t||(URL.revokeObjectURL(e.blobUri()),!1))},destroy:()=>{q(e,e=>{URL.revokeObjectURL(e.blobUri())}),e=[]}}})();let n,o;const r=Hx(),s=[],a=t=>n=>e.selection?t(n):[],i=(e,t,n)=>{let o=0;do{o=e.indexOf(t,o),-1!==o&&(e=e.substring(0,o)+n+e.substr(o+t.length),o+=n.length-t.length+1)}while(-1!==o);return e},l=(e,t,n)=>{const o=`src="${n}"${n===sn.transparentSrc?' data-mce-placeholder="1"':""}`;return e=i(e,`src="${t}"`,o),i(e,'data-mce-src="'+t+'"','data-mce-src="'+n+'"')},c=(t,n)=>{q(e.undoManager.data,e=>{"fragmented"===e.type?e.fragments=V(e.fragments,e=>l(e,t,n)):e.content=l(e.content,t,n)})},d=()=>(n||(n=Kx(e,r)),p().then(a(o=>{const r=V(o,e=>e.blobInfo);return n.upload(r,Wx(e)).then(a(n=>{const r=[];let s=!1;const a=V(n,(n,a)=>{const{blobInfo:i,image:l}=o[a];let d=!1;return n.status&&Od(e)?(n.url&&!Xe(l.src,n.url)&&(s=!0),t.removeByUri(l.src),zE(e)||((t,n)=>{const o=e.convertURL(n,"src");var r;c(t.src,n),Co(un.fromDom(t),{src:Td(e)?(r=n,r+(-1===r.indexOf("?")?"?":"&")+(new Date).getTime()):n,"data-mce-src":o})})(l,n.url)):n.error&&(n.error.remove&&(c(l.src,sn.transparentSrc),r.push(l),d=!0),((e,t)=>{ux(e,Ci.translate(["Failed to upload image: {0}",t]))})(e,n.error.message)),{element:l,status:n.status,uploadUri:n.url,blobInfo:i,removed:d}});return r.length>0&&!zE(e)?e.undoManager.transact(()=>{q(Po(r),n=>{const o=Mn(n);Ao(n),o.each((e=>t=>{((e,t)=>e.dom.isEmpty(t.dom)&&C(e.schema.getTextBlockElements()[En(t)]))(e,t)&&go(t,un.fromHtml('
    '))})(e)),t.removeByUri(n.dom.src)})}):s&&e.undoManager.dispatchChange(),a}))}))),m=()=>Dd(e)?d():Promise.resolve([]),g=e=>oe(s,t=>t(e)),p=()=>(o||(o=$x(r,t)),o.findAll(e.getBody(),g).then(a(t=>{const n=Y(t,t=>u(t)?(ux(e,t),!1):"blob"!==t.uriType);return zE(e)||q(n,e=>{c(e.image.src,e.blobInfo.blobUri()),e.image.src=e.blobInfo.blobUri(),e.image.removeAttribute("data-mce-src")}),n}))),h=n=>n.replace(/src="(blob:[^"]+)"/g,(n,o)=>{const s=r.getResultUri(o);if(s)return'src="'+s+'"';let a=t.getByUri(o);return a||(a=X(e.editorManager.get(),(e,t)=>e||t.editorUpload&&t.editorUpload.blobCache.getByUri(o),void 0)),a?'src="data:'+a.blob().type+";base64,"+a.base64()+'"':n});return e.on("SetContent",()=>{Dd(e)?m():p()}),e.on("RawSaveContent",e=>{e.content=h(e.content)}),e.on("GetContent",e=>{e.source_view||"raw"===e.format||"tree"===e.format||(e.content=h(e.content))}),e.on("PostRender",()=>{e.parser.addNodeFilter("img",e=>{q(e,e=>{const n=e.attr("src");if(!n||t.getByUri(n))return;const o=r.getResultUri(n);o&&e.attr("src",o)})})}),{blobCache:t,addFilter:e=>{s.push(e)},uploadImages:d,uploadImagesAuto:m,scanForImages:p,destroy:()=>{t.destroy(),r.destroy(),o=n=null}}},Gx={remove_similar:!0,inherit:!1},Xx={selector:"td,th",...Gx},Qx={tablecellbackgroundcolor:{styles:{backgroundColor:"%value"},...Xx},tablecellverticalalign:{styles:{"vertical-align":"%value"},...Xx},tablecellbordercolor:{styles:{borderColor:"%value"},...Xx},tablecellclass:{classes:["%value"],...Xx},tableclass:{selector:"table",classes:["%value"],...Gx},tablecellborderstyle:{styles:{borderStyle:"%value"},...Xx},tablecellborderwidth:{styles:{borderWidth:"%value"},...Xx}},Zx=N(Qx),Jx=dn.each,ek=gi.DOM,tk=e=>C(e)&&f(e),nk=(e,t)=>{const n=t&&t.schema||Ua({}),o=e=>{const t=u(e)?{name:e,classes:[],attrs:{}}:e,n=ek.create(t.name);return((e,t)=>{t.classes.length>0&&ek.addClass(e,t.classes.join(" ")),ek.setAttribs(e,t.attrs)})(n,t),n},r=(e,t,s)=>{let a;const i=t[0],l=tk(i)?i.name:void 0,c=((e,t)=>{const o=n.getElementRule(e.nodeName.toLowerCase()),r=o?.parentsRequired;return!(!r||!r.length)&&(t&&$(r,t)?t:r[0])})(e,l);if(c)l===c?(a=i,t=t.slice(1)):a=c;else if(i)a=i,t=t.slice(1);else if(!s)return e;const d=a?o(a):ek.create("div");d.appendChild(e),s&&dn.each(s,t=>{const n=o(t);d.insertBefore(n,e)});const m=tk(a)?a.siblings:void 0;return r(d,t,m)},s=ek.create("div");if(e.length>0){const t=e[0],n=o(t),a=tk(t)?t.siblings:void 0;s.appendChild(r(n,e.slice(1),a))}return s},ok=e=>{let t="div";const n={name:t,classes:[],attrs:{},selector:e=dn.trim(e)};return"*"!==e&&(t=e.replace(/(?:([#\.]|::?)([\w\-]+)|(\[)([^\]]+)\]?)/g,(e,t,o,r,s)=>{switch(t){case"#":n.attrs.id=o;break;case".":n.classes.push(o);break;case":":-1!==dn.inArray("checked disabled enabled read-only required".split(" "),o)&&(n.attrs[o]=o)}if("["===r){const e=s.match(/([\w\-]+)(?:\=\"([^\"]+))?/);e&&(n.attrs[e[1]]=e[2])}return""})),n.name=t||"div",n},rk=(e,t)=>{let n="",o=cm(e);if(""===o)return"";const r=e=>u(e)?e.replace(/%(\w+)/g,""):"",s=(t,n)=>ek.getStyle(n??e.getBody(),t,!0);if(u(t)){const n=e.formatter.get(t);if(!n)return"";t=n[0]}if("preview"in t){const e=t.preview;if(!1===e)return"";o=e||o}let a,i=t.block||t.inline||"span";const l=(c=t.selector,u(c)?(c=(c=c.split(/\s*,\s*/)[0]).replace(/\s*(~\+|~|\+|>)\s*/g,"$1"),dn.map(c.split(/(?:>|\s+(?![^\[\]]+\]))/),e=>{const t=dn.map(e.split(/(?:~\+|~|\+)/),ok),n=t.pop();return t.length&&(n.siblings=t),n}).reverse()):[]);var c;l.length>0?(l[0].name||(l[0].name=i),i=t.selector,a=nk(l,e)):a=nk([i],e);const d=ek.select(i,a)[0]||a.firstChild;Jx(t.styles,(e,t)=>{const n=r(e);n&&ek.setStyle(d,t,n)}),Jx(t.attributes,(e,t)=>{const n=r(e);n&&ek.setAttrib(d,t,n)}),Jx(t.classes,e=>{const t=r(e);ek.hasClass(d,t)||ek.addClass(d,t)}),e.dispatch("PreviewFormats"),ek.setStyles(a,{position:"absolute",left:-65535}),e.getBody().appendChild(a);const m=s("fontSize"),f=/px$/.test(m)?parseInt(m,10):0;return Jx(o.split(" "),e=>{let t=s(e,d);if(!("background-color"===e&&/transparent|rgba\s*\([^)]+,\s*0\)/.test(t)&&(t=s(e),"#ffffff"===Ya(t).toLowerCase())||"color"===e&&"#000000"===Ya(t).toLowerCase())){if("font-size"===e&&/em|%$/.test(t)){if(0===f)return;t=parseFloat(t)/(/%$/.test(t)?100:1)*f+"px"}"border"===e&&t&&(n+="padding:0 2px;"),n+=e+":"+t+";"}}),e.dispatch("AfterPreviewFormats"),ek.remove(a),n},sk=e=>{const t=(e=>{const t={},n=(e,o)=>{e&&(u(e)?(p(o)||(o=[o]),q(o,e=>{y(e.deep)&&(e.deep=!Tg(e)),y(e.split)&&(e.split=!Tg(e)||Og(e)),y(e.remove)&&Tg(e)&&!Og(e)&&(e.remove="none"),Tg(e)&&Og(e)&&(e.mixed=!0,e.block_expand=!0),u(e.classes)&&(e.classes=e.classes.split(/\s+/))}),t[e]=o):he(e,(e,t)=>{n(t,e)}))};return n((e=>{const t=e.dom,n=e.schema.type,o={valigntop:[{selector:"td,th",styles:{verticalAlign:"top"}}],valignmiddle:[{selector:"td,th",styles:{verticalAlign:"middle"}}],valignbottom:[{selector:"td,th",styles:{verticalAlign:"bottom"}}],alignleft:[{selector:"figure.image",collapsed:!1,classes:"align-left",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li,pre",styles:{textAlign:"left"},inherit:!1,preview:!1},{selector:"img,audio,video",collapsed:!1,styles:{float:"left"},preview:"font-family font-size"},{selector:".mce-placeholder",styles:{float:"left"},ceFalseOverride:!0},{selector:"table",collapsed:!1,styles:{marginLeft:"0px",marginRight:"auto"},onformat:e=>{t.setStyle(e,"float",null)},preview:"font-family font-size"},{selector:".mce-preview-object,[data-ephox-embed-iri],.tiny-pageembed",ceFalseOverride:!0,styles:{float:"left"}}],aligncenter:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li,pre",styles:{textAlign:"center"},inherit:!1,preview:"font-family font-size"},{selector:"figure.image",collapsed:!1,classes:"align-center",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"img,audio,video",collapsed:!1,styles:{display:"block",marginLeft:"auto",marginRight:"auto"},preview:!1},{selector:".mce-placeholder",styles:{display:"block",marginLeft:"auto",marginRight:"auto"},ceFalseOverride:!0},{selector:"table",collapsed:!1,styles:{marginLeft:"auto",marginRight:"auto"},preview:"font-family font-size"},{selector:".mce-preview-object,.tiny-pageembed",ceFalseOverride:!0,styles:{display:"table",marginLeft:"auto",marginRight:"auto"},preview:!1},{selector:"[data-ephox-embed-iri]",ceFalseOverride:!0,styles:{marginLeft:"auto",marginRight:"auto"},preview:!1}],alignright:[{selector:"figure.image",collapsed:!1,classes:"align-right",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li,pre",styles:{textAlign:"right"},inherit:!1,preview:"font-family font-size"},{selector:"img,audio,video",collapsed:!1,styles:{float:"right"},preview:"font-family font-size"},{selector:".mce-placeholder",styles:{float:"right"},ceFalseOverride:!0},{selector:"table",collapsed:!1,styles:{marginRight:"0px",marginLeft:"auto"},onformat:e=>{t.setStyle(e,"float",null)},preview:"font-family font-size"},{selector:".mce-preview-object,[data-ephox-embed-iri],.tiny-pageembed",ceFalseOverride:!0,styles:{float:"right"},preview:!1}],alignjustify:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li,pre",styles:{textAlign:"justify"},inherit:!1,preview:"font-family font-size"}],bold:[{inline:"strong",remove:"all",preserve_attributes:["class","style"]},{inline:"span",styles:{fontWeight:"bold"}},{inline:"b",remove:"all",preserve_attributes:["class","style"]}],italic:[{inline:"em",remove:"all",preserve_attributes:["class","style"]},{inline:"span",styles:{fontStyle:"italic"}},{inline:"i",remove:"all",preserve_attributes:["class","style"]}],underline:[{inline:"span",styles:{textDecoration:"underline"},exact:!0},{inline:"u",remove:"all",preserve_attributes:["class","style"]}],strikethrough:(()=>{const e={inline:"span",styles:{textDecoration:"line-through"},exact:!0},t={inline:"strike",remove:"all",preserve_attributes:["class","style"]},o={inline:"s",remove:"all",preserve_attributes:["class","style"]};return"html4"!==n?[o,e,t]:[e,o,t]})(),forecolor:{inline:"span",styles:{color:"%value"},links:!0,remove_similar:!0,clear_child_styles:!0},hilitecolor:{inline:"span",styles:{backgroundColor:"%value"},links:!0,remove_similar:!0,clear_child_styles:!0},fontname:{inline:"span",toggle:!1,styles:{fontFamily:"%value"},clear_child_styles:!0},fontsize:{inline:"span",toggle:!1,styles:{fontSize:"%value"},clear_child_styles:!0},lineheight:{selector:"h1,h2,h3,h4,h5,h6,p,li,td,th,div",styles:{lineHeight:"%value"},remove_similar:!0},fontsize_class:{inline:"span",attributes:{class:"%value"}},blockquote:{block:"blockquote",wrapper:!0,remove:"all"},subscript:{inline:"sub"},superscript:{inline:"sup"},code:{inline:"code"},samp:{inline:"samp"},link:{inline:"a",selector:"a",remove:"all",split:!0,deep:!0,onmatch:(e,t,n)=>Xr(e)&&e.hasAttribute("href"),onformat:(e,n,o)=>{dn.each(o,(n,o)=>{t.setAttrib(e,o,n)})}},lang:{inline:"span",clear_child_styles:!0,remove_similar:!0,attributes:{lang:"%value","data-mce-lang":e=>e?.customValue??null}},removeformat:[{selector:"b,strong,em,i,font,u,strike,s,sub,sup,dfn,code,samp,kbd,var,cite,mark,q,del,ins,small",remove:"all",split:!0,expand:!1,block_expand:!0,deep:!0},{selector:"span",attributes:["style","class"],remove:"empty",split:!0,expand:!1,deep:!0},{selector:"*",attributes:["style","class"],split:!1,expand:!1,deep:!0}]};return dn.each("p h1 h2 h3 h4 h5 h6 div address pre dt dd".split(/\s/),e=>{o[e]={block:e,remove:"all"}}),o})(e)),n(Zx()),n(lm(e)),{get:e=>C(e)?t[e]:t,has:e=>ke(t,e),register:n,unregister:e=>(e&&t[e]&&delete t[e],t)}})(e),n=Ae({});return(e=>{e.addShortcut("meta+b","","Bold"),e.addShortcut("meta+i","","Italic"),e.addShortcut("meta+u","","Underline");for(let t=1;t<=6;t++)e.addShortcut("access+"+t,"",["FormatBlock",!1,"h"+t]);e.addShortcut("access+7","",["FormatBlock",!1,"p"]),e.addShortcut("access+8","",["FormatBlock",!1,"div"]),e.addShortcut("access+9","",["FormatBlock",!1,"address"])})(e),(e=>{e.on("mouseup keydown",t=>{((e,t)=>{const n=e.selection,o=e.getBody();cv(e,null,!1),8!==t&&46!==t||!n.isCollapsed()||n.getStart().innerHTML!==ov||cv(e,Of(o,n.getStart()),!0),37!==t&&39!==t||cv(e,Of(o,n.getStart()),!0)})(e,t.keyCode)})})(e),zE(e)||((e,t)=>{e.set({}),t.on("NodeChange",n=>{uE(t,n.element,e.get())}),t.on("FormatApply FormatRemove",n=>{const o=I.from(n.node).map(e=>dg(e)?e:e.startContainer).bind(e=>Xr(e)?I.some(e):I.from(e.parentElement)).getOrThunk(()=>cE(t));uE(t,o,e.get())})})(n,e),{get:t.get,has:t.has,register:t.register,unregister:t.unregister,apply:(t,n,o)=>{((e,t,n,o)=>{$E(e).formatter.apply(t,n,o)})(e,t,n,o)},remove:(t,n,o,r)=>{((e,t,n,o,r)=>{$E(e).formatter.remove(t,n,o,r)})(e,t,n,o,r)},toggle:(t,n,o)=>{((e,t,n,o)=>{$E(e).formatter.toggle(t,n,o)})(e,t,n,o)},match:(t,n,o,r)=>((e,t,n,o,r)=>$E(e).formatter.match(t,n,o,r))(e,t,n,o,r),closest:t=>((e,t)=>$E(e).formatter.closest(t))(e,t),matchAll:(t,n)=>((e,t,n)=>$E(e).formatter.matchAll(t,n))(e,t,n),matchNode:(t,n,o,r)=>((e,t,n,o,r)=>$E(e).formatter.matchNode(t,n,o,r))(e,t,n,o,r),canApply:t=>((e,t)=>$E(e).formatter.canApply(t))(e,t),formatChanged:(t,o,r,s)=>((e,t,n,o,r,s)=>$E(e).formatter.formatChanged(t,n,o,r,s))(e,n,t,o,r,s),getCssText:D(rk,e)}},ak=e=>{switch(e.toLowerCase()){case"undo":case"redo":case"mcefocus":return!0;default:return!1}},ik=e=>{const t=Ke(),n=Ae(0),o=Ae(0),r={data:[],typing:!1,beforeChange:()=>{((e,t,n)=>{$E(e).undoManager.beforeChange(t,n)})(e,n,t)},add:(s,a)=>((e,t,n,o,r,s,a)=>$E(e).undoManager.add(t,n,o,r,s,a))(e,r,o,n,t,s,a),dispatchChange:()=>{e.setDirty(!0);const t=TE(e);t.bookmark=gc(e.selection),e.dispatch("change",{level:t,lastLevel:le(r.data,o.get()).getOrUndefined()})},undo:()=>((e,t,n,o)=>$E(e).undoManager.undo(t,n,o))(e,r,n,o),redo:()=>((e,t,n)=>$E(e).undoManager.redo(t,n))(e,o,r.data),clear:()=>{((e,t,n)=>{$E(e).undoManager.clear(t,n)})(e,r,o)},reset:()=>{((e,t)=>{$E(e).undoManager.reset(t)})(e,r)},hasUndo:()=>((e,t,n)=>$E(e).undoManager.hasUndo(t,n))(e,r,o),hasRedo:()=>((e,t,n)=>$E(e).undoManager.hasRedo(t,n))(e,r,o),transact:t=>((e,t,n,o)=>$E(e).undoManager.transact(t,n,o))(e,r,n,t),ignore:t=>{((e,t,n)=>{$E(e).undoManager.ignore(t,n)})(e,n,t)},extra:(t,n)=>{((e,t,n,o,r)=>{$E(e).undoManager.extra(t,n,o,r)})(e,r,o,t,n)}};return zE(e)||((e,t,n)=>{const o=Ae(!1),r=e=>{IE(t,!1,n),t.add({},e)};e.on("init",()=>{t.add()}),e.on("BeforeExecCommand",e=>{const o=e.command;ak(o)||(FE(t,n),t.beforeChange())}),e.on("ExecCommand",e=>{const t=e.command;ak(t)||r(e)}),e.on("ObjectResizeStart cut",()=>{t.beforeChange()}),e.on("SaveContent ObjectResized blur",r),e.on("dragend",r),e.on("keyup",n=>{const s=n.keyCode;if(n.isDefaultPrevented())return;const a=sn.os.isMacOS()&&"Meta"===n.key;(s>=33&&s<=36||s>=37&&s<=40||45===s||n.ctrlKey||a)&&(r(),e.nodeChanged()),46!==s&&8!==s||e.nodeChanged(),o.get()&&t.typing&&!LE(e.readonly,TE(e),t.data[0])&&(e.isDirty()||e.setDirty(!0),e.dispatch("TypingUndo"),o.set(!1),e.nodeChanged())}),e.on("keydown",e=>{const s=e.keyCode;if(e.isDefaultPrevented())return;if(s>=33&&s<=36||s>=37&&s<=40||45===s)return void(t.typing&&r(e));const a=e.ctrlKey&&!e.altKey||e.metaKey;if((s<16||s>20)&&224!==s&&91!==s&&!t.typing&&!a)return t.beforeChange(),IE(t,!0,n),t.add({},e),void o.set(!0);!(sn.os.isMacOS()?e.metaKey:e.ctrlKey&&!e.altKey)||"Backspace"!==e.key&&"Delete"!==e.key||t.beforeChange()}),e.on("mousedown",e=>{t.typing&&r(e)}),e.on("input",e=>{var t;e.inputType&&("insertReplacementText"===e.inputType||"insertText"===(t=e).inputType&&null===t.data||(e=>"insertFromPaste"===e.inputType||"insertFromDrop"===e.inputType)(e))&&r(e)}),e.on("AddUndo Undo Redo ClearUndos",t=>{t.isDefaultPrevented()||e.nodeChanged()})})(e,r,n),(e=>{e.addShortcut("meta+z","","Undo"),e.addShortcut("meta+y,meta+shift+z","","Redo")})(e),r},lk=[9,27,Lp.HOME,Lp.END,19,20,44,144,145,33,34,45,16,17,18,91,92,93,Lp.DOWN,Lp.UP,Lp.LEFT,Lp.RIGHT].concat(sn.browser.isFirefox()?[224]:[]),ck="data-mce-placeholder",dk=e=>"keydown"===e.type||"keyup"===e.type,mk=e=>{const t=e.keyCode;return t===Lp.BACKSPACE||t===Lp.DELETE},uk=e=>(t,n,o={})=>{const r=t.getBody(),s={bubbles:!0,composed:!0,data:null,isComposing:!1,detail:0,view:null,target:r,currentTarget:r,eventPhase:Event.AT_TARGET,originalTarget:r,explicitOriginalTarget:r,isTrusted:!1,srcElement:r,cancelable:!1,preventDefault:x,inputType:n},a=Qa(new InputEvent(e));return t.dispatch(e,{...a,...s,...o})},fk=uk("input"),gk=uk("beforeinput"),pk=(e,t,n)=>{let o=!0;const r=()=>o=!1;if(gk(e,t?"deleteContentForward":"deleteContentBackward").isDefaultPrevented())return!1;e.on("input",r);try{n()}finally{e.off("input",r)}return o&&e.dispatch("input"),!0},hk=e=>t=>C(t)&&e.test(t.nodeName),bk=e=>C(e)&&3===e.nodeType,yk=e=>C(e)&&1===e.nodeType,vk=hk(/^(OL|UL|DL)$/),Ck=hk(/^(OL|UL)$/),wk=hk(/^(LI|DT|DD)$/),Sk=hk(/^(DT|DD)$/),Ek=hk(/^(TH|TD)$/),xk=e=>C(e)&&"br"===e.nodeName.toLowerCase(),kk=(e,t)=>C(t)&&t.nodeName in e.schema.getTextBlockElements(),_k=(e,t)=>C(e)&&e.nodeName in t,Nk=(e,t)=>C(t)&&t.nodeName in e.schema.getVoidElements(),Ak=(e,t,n)=>{const o=e.isEmpty(t);return!(n&&e.select("span[data-mce-type=bookmark]",t).length>0)&&o},Rk=(e,t)=>e.isChildOf(t,e.getRoot()),Dk=gi.DOM,Tk=(e,t)=>{const n=dn.grep(e.select("ol,ul",t));dn.each(n,t=>{((e,t)=>{const n=t.parentElement;if(n&&"LI"===n.nodeName&&n.firstChild===t){const o=n.previousSibling;o&&"LI"===o.nodeName?(o.appendChild(t),Ak(e,n)&&Dk.remove(n)):Dk.setStyle(n,"listStyleType","none")}if(vk(n)){const e=n.previousSibling;e&&"LI"===e.nodeName&&e.appendChild(t)}})(e,t)})},Ok=(e,t)=>{if(bk(e))return{container:e,offset:t};const n=Jp.getNode(e,t);return bk(n)?{container:n,offset:t>=e.childNodes.length?n.data.length:0}:n.previousSibling&&bk(n.previousSibling)?{container:n.previousSibling,offset:n.previousSibling.data.length}:n.nextSibling&&bk(n.nextSibling)?{container:n.nextSibling,offset:0}:{container:e,offset:t}},Bk=e=>{const t=e.cloneRange(),n=Ok(e.startContainer,e.startOffset);t.setStart(n.container,n.offset);const o=Ok(e.endContainer,e.endOffset);return t.setEnd(o.container,o.offset),t},Pk=e=>wn(e,"OL,UL"),Lk=e=>wn(e,"LI"),Mk=e=>Wn(e).exists(Pk),Ik=["OL","UL","DL"],Fk=Ik.join(","),Uk=(e,t)=>{const n=t||e.selection.getStart(!0);return e.dom.getParent(n,Fk,$k(e,n,e.selection.isCollapsed()))},zk=e=>{const t=e.selection.getSelectedBlocks();return Y(((e,t,n)=>{const o=dn.map(t,t=>e.dom.getParent(t,"li,dd,dt",$k(e,t,n))||t);return fe(o)})(e,t,e.selection.isCollapsed()),wk)},jk=(e,t)=>{const n=e.dom.getParents(t,"TD,TH");return n.length>0?n[0]:e.getBody()},$k=(e,t,n)=>{const o=e.dom.getParents(t,e.dom.isBlock);let r=!(e=>ue(e,e=>Lk(un.fromDom(e))?I.some(!0):Ek(e)?I.some(!1):I.none()).getOr(!1))(o);const s=Z(o,t=>{return(Lk(un.fromDom(a=t))||Pk(un.fromDom(a)))&&(r=!0),r&&(!n||(t=>t.nodeName.toLowerCase()!==Ed(e))(t))&&(o=e.schema,!vk(s=t)&&!wk(s)&&H(Ik,e=>o.isValidChild(s.nodeName,e)));var o,s,a});return s.getOr(e.getBody())},Hk=(e,t)=>{const n=e.dom.getParents(t,"ol,ul",$k(e,t,!0));return de(n)},Vk=(e,t)=>{const n=V(t,t=>Hk(e,t).getOr(t));return fe(n)},qk=e=>/\btox\-/.test(e.className),Wk=(e,t)=>null!==t&&!e.dom.isEditable(t),Kk=(e,t)=>{const n=e.dom.getParent(t,"ol,ul,dl");return Wk(e,n)||!e.selection.isEditable()},Yk=(e,t,n)=>e.dispatch("ListMutation",{action:t,element:n}),Gk=(e,t,n={})=>{const o=e.dom,r=e.schema.getBlockElements(),s=o.createFragment(),a=Ed(e),i=xd(e);let l,c,d=!1;for(c=o.create(a,{...i,...n.style?{style:n.style}:{}}),_k(t.firstChild,r)||s.appendChild(c);l=t.firstChild;){const e=l.nodeName;d||"SPAN"===e&&"bookmark"===l.getAttribute("data-mce-type")||(d=!0),_k(l,r)?(s.appendChild(l),c=null):(c||(c=o.create(a,i),s.appendChild(c)),c.appendChild(l))}return!d&&c&&c.appendChild(o.create("br",{"data-mce-bogus":"1"})),s},Xk=e=>"listAttributes"in e,Qk=e=>"isComment"in e,Zk=e=>e.depth>0,Jk=e=>e.isSelected,e_=e=>{const t=Vn(e),n=Kn(e).exists(Pk)?t.slice(0,-1):t;return V(n,Oo)},t_=(e,t)=>{go(e.item,t.list)},n_=(e,t)=>{const n={list:un.fromTag(t,e),item:un.fromTag("li",e)};return go(n.list,n.item),n},o_=(e,t,n)=>{const o=t.slice(0,n.depth);return de(o).each(t=>{if(Xk(n)){const o=((e,t,n)=>{const o=un.fromTag("li",e);return Co(o,t),bo(o,n),o})(e,n.itemAttributes,n.content);((e,t)=>{go(e.list,t),e.item=t})(t,o),((e,t)=>{En(e.list)!==t.listType&&(e.list=Bo(e.list,t.listType)),Co(e.list,t.listAttributes)})(t,n)}else if((e=>"isFragment"in e)(n))bo(t.item,n.content);else{const e=un.fromHtml(`\x3c!--${n.content}--\x3e`);go(t.list,e)}}),o},r_=e=>(q(e,(t,n)=>{((e,t)=>{const n=e[t].depth,o=e=>e.depth===n&&!e.dirty,r=e=>e.depthQ(e.slice(t+1),o,r))})(e,n).fold(()=>{t.dirty&&Xk(t)&&(e=>{e.listAttributes=we(e.listAttributes,(e,t)=>"start"!==t)})(t)},e=>{return o=e,void(Xk(n=t)&&Xk(o)&&(n.listType=o.listType,n.listAttributes={...o.listAttributes}));var n,o})}),e),s_=(e,t,n,o)=>{if(_n(o))return[{depth:e+1,content:o.dom.nodeValue??"",dirty:!1,isSelected:!1,isComment:!0}];t.each(e=>{vn(e.start,o)&&n.set(!0)});const r=((e,t,n)=>Mn(e).filter(An).map(o=>({depth:t,dirty:!1,isSelected:n,content:e_(e),itemAttributes:_o(e),listAttributes:_o(o),listType:En(o),isInPreviousLi:!1})))(o,e,n.get());t.each(e=>{vn(e.end,o)&&n.set(!1)});const s=Kn(o).filter(Pk).map(o=>i_(e,t,n,o)).getOr([]);return r.toArray().concat(s)},a_=(e,t,n,o)=>Wn(o).filter(Pk).fold(()=>s_(e,t,n,o),r=>{const s=X(Vn(o),(o,s,a)=>{if(0===a)return o;if(Lk(s))return o.concat(s_(e,t,n,s));{const t={isFragment:!0,depth:e,content:[s],isSelected:!1,dirty:!1,parentListType:En(r)};return o.concat(t)}},[]);return i_(e,t,n,r).concat(s)}),i_=(e,t,n,o)=>ne(Vn(o),o=>(Pk(o)?i_:a_)(e+1,t,n,o)),l_=(e,t)=>{const n=r_(t);return((e,t)=>{let n=I.none();const o=X(t,(t,o,r)=>Qk(o)?0===r?(n=I.some(o),t):o_(e,t,o):o.depth>t.length?((e,t,n)=>{const o=((e,t,n)=>{const o=[];for(let r=0;r{for(let t=1;t{for(let t=0;t{Xk(t)&&(Co(e.list,t.listAttributes),Co(e.item,t.itemAttributes)),bo(e.item,t.content)})})(o,n),r=o,$e(de(t),ce(r),t_),t.concat(o)})(e,t,o):o_(e,t,o),[]);return n.each(e=>{const t=un.fromHtml(`\x3c!--${e.content}--\x3e`);ce(o).each(e=>{fo(e.list,t)})}),ce(o).map(e=>e.list)})(e.contentDocument,n).toArray()},c_=(e,t,n)=>{const o=((e,t)=>{const n=Ae(!1);return V(e,e=>({sourceList:e,entries:i_(0,t,n,e)}))})(t,(e=>{const t=V(zk(e),un.fromDom);return $e(Z(t,T(Mk)),Z(re(t),T(Mk)),(e,t)=>({start:e,end:t}))})(e));q(o,t=>{((e,t,n)=>{q(Y(t,Jk),t=>((e,t,n)=>{switch(t){case"Indent":if(!((e,t)=>bu(e).map(e=>e>=t).getOr(!0))(e,n.depth))return;n.depth++;break;case"Outdent":n.depth--;break;case"Flatten":n.depth=0}n.dirty=!0})(e,n,t))})(e,t.entries,n);const o=((e,t)=>ne(((e,t)=>{if(0===e.length)return[];{let n=t(e[0]);const o=[];let r=[];for(let s=0,a=e.length;sce(t).exists(Zk)?l_(e,t):((e,t)=>{const n=r_(t);return V(n,t=>{const n=Qk(t)?tr([un.fromHtml(`\x3c!--${t.content}--\x3e`)]):tr(t.content),o=Xk(t)?t.itemAttributes:{};return un.fromDom(Gk(e,n.dom,o))})})(e,t)))(e,t.entries);var r;q(o,t=>{Yk(e,"Indent"===n?"IndentList":"OutdentList",t.dom)}),r=t.sourceList,q(o,e=>{mo(r,e)}),Ao(t.sourceList)})},d_=gi.DOM,m_=On("dd"),u_=On("dt"),f_=e=>{u_(e)&&Bo(e,"dd")},g_=(e,t,n)=>{q(n,"Indent"===t?f_:t=>((e,t)=>{m_(t)?Bo(t,"dt"):u_(t)&&In(t).each(n=>((e,t,n)=>{const o=d_.select('span[data-mce-type="bookmark"]',t),r=Gk(e,n),s=d_.createRng();s.setStartAfter(n),s.setEndAfter(t);const a=s.extractContents();for(let t=a.firstChild;t;t=t.firstChild)if("LI"===t.nodeName&&e.dom.isEmpty(t)){d_.remove(t);break}e.dom.isEmpty(a)||d_.insertAfter(a,t),d_.insertAfter(r,t);const i=n.parentElement;i&&Ak(e.dom,i)&&(e=>{const t=e.parentNode;t&&dn.each(o,e=>{t.insertBefore(e,n.parentNode)}),d_.remove(e)})(i),d_.remove(n),Ak(e.dom,t)&&d_.remove(t)})(e,n.dom,t.dom))})(e,t))},p_=(e,t)=>{const n=Po((e=>{const t=(e=>{const t=Hk(e,e.selection.getStart()),n=Y(e.selection.getSelectedBlocks(),Ck);return t.toArray().concat(n)})(e),n=(e=>{const t=e.selection.getStart();return e.dom.getParents(t,"ol,ul",$k(e,t,e.selection.isCollapsed()))})(e);return Z(n,e=>{return t=un.fromDom(e),Mn(t).exists(e=>wk(e.dom)&&Wn(e).exists(e=>!vk(e.dom))&&Kn(e).exists(e=>!vk(e.dom)));var t}).fold(()=>Vk(e,t),e=>[e])})(e)),o=Po((e=>Y(zk(e),Sk))(e));let r=!1;if(n.length||o.length){const s=e.selection.getBookmark();c_(e,n,t),g_(e,t,o),e.selection.moveToBookmark(s),e.selection.setRng(Bk(e.selection.getRng())),e.nodeChanged(),r=!0}return r},h_=(e,t)=>!(e=>{const t=Uk(e);return Wk(e,t)||!e.selection.isEditable()})(e)&&p_(e,t),b_=e=>h_(e,"Indent"),y_=e=>h_(e,"Outdent"),v_=e=>h_(e,"Flatten"),C_=e=>{switch(e){case"UL":return"ToggleUlList";case"OL":return"ToggleOlList";case"DL":return"ToggleDLList"}},w_=(e,t)=>{dn.each(t,(t,n)=>{e.setAttribute(n,t)})},S_=(e,t,n)=>{((e,t,n)=>{const o=n["list-style-type"]?n["list-style-type"]:null;e.setStyle(t,"list-style-type",o)})(e,t,n),((e,t,n)=>{w_(t,n["list-attributes"]),dn.each(e.select("li",t),e=>{w_(e,n["list-item-attributes"])})})(e,t,n)},E_=(e,t)=>C(t)&&!_k(t,e.schema.getBlockElements()),x_=(e,t,n,o)=>{let r=t[n?"startContainer":"endContainer"];const s=t[n?"startOffset":"endOffset"];yk(r)&&(r=r.childNodes[Math.min(s,r.childNodes.length-1)]||r),!n&&xk(r.nextSibling)&&(r=r.nextSibling);const a=(t,n)=>{const r=new Kr(t,(t=>{for(;!e.dom.isBlock(t)&&t.parentNode&&o!==t;)t=t.parentNode;return t})(t)),s=n?"next":"prev";let a;for(;a=r[s]();)if(!Nk(e,a)&&!mt(a.textContent)&&0!==a.textContent?.length)return I.some(a);return I.none()};if(n&&bk(r))if(mt(r.textContent))r=a(r,!1).getOr(r);else for(null!==r.parentNode&&E_(e,r.parentNode)&&(r=r.parentNode);null!==r.previousSibling&&(E_(e,r.previousSibling)||bk(r.previousSibling));)r=r.previousSibling;if(!n&&bk(r))if(mt(r.textContent))r=a(r,!0).getOr(r);else for(null!==r.parentNode&&E_(e,r.parentNode)&&(r=r.parentNode);null!==r.nextSibling&&(E_(e,r.nextSibling)||bk(r.nextSibling));)r=r.nextSibling;for(;r.parentNode!==o;){const t=r.parentNode;if(kk(e,r))return r;if(/^(TD|TH)$/.test(t.nodeName))return r;r=t}return r},k_=(e,t,n)=>{const o=e.selection.getRng();let r="LI";const s=$k(e,((e,t)=>{const n=e.selection.getStart(!0),o=x_(e,t,!0,e.getBody());return r=un.fromDom(o),s=un.fromDom(t.commonAncestorContainer),Rr(r,D(vn,s))?t.commonAncestorContainer:n;var r,s})(e,o),o.collapsed),a=e.dom;if("false"===a.getContentEditable(e.selection.getNode()))return;"DL"===(t=t.toUpperCase())&&(r="DT");const i=xv(o),l=Y(((e,t,n)=>{const o=[],r=e.dom,s=x_(e,t,!0,n),a=x_(e,t,!1,n);let i;const l=[];for(let e=s;e&&(l.push(e),e!==a);e=e.nextSibling);return dn.each(l,t=>{if(kk(e,t))return o.push(t),void(i=null);if(r.isBlock(t)||xk(t))return xk(t)&&r.remove(t),void(i=null);const s=t.nextSibling;mp.isBookmarkNode(t)&&(vk(s)||kk(e,s)||!s&&t.parentNode===n)?i=null:(i||(i=r.create("p"),t.parentNode?.insertBefore(i,t),o.push(i)),i.appendChild(t))}),o})(e,o,s),e.dom.isEditable);dn.each(l,o=>{let s;const i=o.previousSibling,l=o.parentNode;wk(l)||(i&&vk(i)&&i.nodeName===t&&((e,t,n)=>{const o=e.getStyle(t,"list-style-type");let r=n?n["list-style-type"]:"";return r=null===r?"":r,o===r})(a,i,n)?(s=i,o=a.rename(o,r),i.appendChild(o)):(s=a.create(t),l.insertBefore(s,o),s.appendChild(o),o=a.rename(o,r)),((e,t)=>{dn.each(["margin","margin-right","margin-bottom","margin-left","margin-top","padding","padding-right","padding-bottom","padding-left","padding-top"],n=>e.setStyle(t,n,""))})(a,o),S_(a,s,n),N_(e.dom,s))}),e.selection.setRng(kv(i))},__=(e,t,n)=>{return((e,t)=>vk(e)&&e.nodeName===t?.nodeName)(t,n)&&((e,t,n)=>e.getStyle(t,"list-style-type",!0)===e.getStyle(n,"list-style-type",!0))(e,t,n)&&(o=n,t.className===o.className);var o},N_=(e,t)=>{let n,o=t.nextSibling;if(__(e,t,o)){const r=o;for(;n=r.firstChild;)t.appendChild(n);e.remove(r)}if(o=t.previousSibling,__(e,t,o)){const r=o;for(;n=r.lastChild;)t.insertBefore(n,t.firstChild);e.remove(r)}},A_=(e,t,n,o)=>{if(t.nodeName!==n){const r=e.dom.rename(t,n);S_(e.dom,r,o),Yk(e,C_(n),r)}else S_(e.dom,t,o),Yk(e,C_(n),t)},R_=(e,t,n,o)=>{if(t.classList.forEach((e,n,o)=>{e.startsWith("tox-")&&(o.remove(e),0===o.length&&t.removeAttribute("class"))}),t.nodeName!==n){const r=e.dom.rename(t,n);S_(e.dom,r,o),Yk(e,C_(n),r)}else S_(e.dom,t,o),Yk(e,C_(n),t)},D_=e=>"list-style-type"in e,T_=(e,t,n)=>{const o=Uk(e);if(Kk(e,o))return;const r=(e=>{const t=Uk(e),n=e.selection.getSelectedBlocks();return((e,t)=>C(e)&&1===t.length&&t[0]===e)(t,n)?(e=>Y(e.querySelectorAll(Fk),vk))(t):Y(n,e=>vk(e)&&t!==e)})(e),s=f(n)?n:{};r.length>0?((e,t,n,o,r)=>{const s=vk(t);if(!s||t.nodeName!==o||D_(r)||qk(t)){k_(e,o,r);const a=xv(e.selection.getRng()),i=s?[t,...n]:n,l=s&&qk(t)?R_:A_;dn.each(i,t=>{l(e,t,o,r)}),e.selection.setRng(kv(a))}else v_(e)})(e,o,r,t,s):((e,t,n,o)=>{if(t!==e.getBody())if(t)if(t.nodeName!==n||D_(o)||qk(t)){const r=xv(e.selection.getRng());qk(t)&&t.classList.forEach((e,n,o)=>{e.startsWith("tox-")&&(o.remove(e),0===o.length&&t.removeAttribute("class"))}),S_(e.dom,t,o);const s=e.dom.rename(t,n);N_(e.dom,s),e.selection.setRng(kv(r)),k_(e,n,o),Yk(e,C_(n),s)}else v_(e);else k_(e,n,o),Yk(e,C_(n),t)})(e,o,t,s),(e=>{q(zk(e),t=>{const n=e.dom.getStyle(t,"list-style-type");C(n)&&"none"!==n&&e.dom.setStyle(t,"list-style-type","")})})(e)},O_=(e,t,n,o)=>{let r=t.startContainer;const s=t.startOffset;if(bk(r)&&(n?s0))return r;const a=e.schema.getNonEmptyElements();yk(r)&&(r=Jp.getNode(r,s));const i=new Kr(r,o);n&&((e,t)=>!!xk(t)&&e.isBlock(t.nextSibling)&&!xk(t.previousSibling))(e.dom,r)&&i.next();const l=n?i.next.bind(i):i.prev2.bind(i);for(;r=l();){if("LI"===r.nodeName&&!r.hasChildNodes())return r;if(a[r.nodeName])return r;if(bk(r)&&r.data.length>0)return r}return null},B_=(e,t)=>{const n=t.childNodes;return 1===n.length&&!vk(n[0])&&e.isBlock(n[0])},P_=(e,t,n)=>{let o;const r=B_(e,n)?n.firstChild:n;if(((e,t)=>{var n;B_(e,t)&&(n=t.firstChild,I.from(n).map(un.fromDom).filter(Nn).exists(e=>Sr(e)&&!$(["details"],En(e))))&&e.remove(t.firstChild,!0)})(e,t),!Ak(e,t,!0))for(;o=t.firstChild;)r.appendChild(o)},L_=(e,t,n)=>{let o;const r=t.parentNode;if(!Rk(e,t)||!Rk(e,n))return;vk(n.lastChild)&&(o=n.lastChild),r===n.lastChild&&xk(r.previousSibling)&&e.remove(r.previousSibling);const s=n.lastChild;s&&xk(s)&&t.hasChildNodes()&&e.remove(s),Ak(e,n,!0)&&No(un.fromDom(n)),P_(e,t,n),o&&n.appendChild(o);const a=Cn(un.fromDom(n),un.fromDom(t))?e.getParents(t,vk,n):[];e.remove(t),q(a,t=>{Ak(e,t)&&t!==e.getRoot()&&e.remove(t)})},M_=(e,t)=>{const n=e.dom,o=e.selection,r=o.getStart(),s=jk(e,r),a=n.getParent(o.getStart(),"LI",s);if(a){const r=a.parentElement;if(r===e.getBody()&&Ak(n,r))return!0;const i=Bk(o.getRng()),l=n.getParent(O_(e,i,t,s),"LI",s),c=l&&(t?n.isChildOf(a,l):n.isChildOf(l,a));if(l&&l!==a&&!c)return e.undoManager.transact(()=>{var n;t?((e,t,n,o)=>{const r=e.dom;if(r.isEmpty(o))((e,t,n)=>{No(un.fromDom(n)),L_(e.dom,t,n),e.selection.setCursorLocation(n,0)})(e,n,o);else{const s=xv(t);L_(r,n,o),e.selection.setRng(kv(s))}})(e,i,l,a):(n=a,n.parentNode?.firstChild===n?y_(e):((e,t,n,o)=>{const r=xv(t);L_(e.dom,n,o);const s=kv(r);e.selection.setRng(s)})(e,i,a,l))}),!0;if(c&&!t&&l!==a){const t=i.commonAncestorContainer.parentElement;return!(!t||n.isChildOf(l,t)||(e.undoManager.transact(()=>{const o=xv(i);P_(n,t,l),t.remove();const r=kv(o);e.selection.setRng(r)}),0))}if(!l&&!t&&0===i.startOffset&&0===i.endOffset)return e.undoManager.transact(()=>{v_(e)}),!0}return!1},I_=e=>{const t=e.selection.getStart(),n=jk(e,t),o=e.dom.getParent(t,"LI,DT,DD",n);return C(o)||zk(e).length>0},F_=(e,t)=>{const n=e.selection;return!Kk(e,n.getNode())&&(n.isCollapsed()?((e,t)=>M_(e,t)||((e,t)=>{const n=e.dom,o=e.selection.getStart(),r=jk(e,o),s=n.getParent(o,n.isBlock,r);if(s&&n.isEmpty(s,void 0,{checkRootAsContent:!0})){const o=Bk(e.selection.getRng()),a=O_(e,o,t,r),i=n.getParent(a,"LI",r);if(a&&i&&(t||!n.isChildOf(a,s))){const l=e=>$(["td","th","caption"],En(e)),c=e=>e.dom===r,d=lr(un.fromDom(i),l,c),m=lr(un.fromDom(o.startContainer),l,c);return!!je(d,m,vn)&&(e.undoManager.transact(()=>{const o=i.parentNode;((e,t,n)=>{const o=e.getParent(t.parentNode,e.isBlock,n);e.remove(t),o&&e.isEmpty(o)&&e.remove(o)})(n,s,r),N_(n,o),e.selection.select(a,!0),e.selection.collapse(t)}),!0)}}return!1})(e,t))(e,t):((e,t)=>!!I_(e)&&(e.undoManager.transact(()=>{pk(e,t,()=>e.execCommand("Delete"))&&Tk(e.dom,e.getBody())}),!0))(e,t))},U_=(e,t)=>({from:e,to:t}),z_=(e,t)=>{const n=un.fromDom(e),o=un.fromDom(t.container());return fy(n,o).map(e=>((e,t)=>({block:e,position:t}))(e,t))},j_=(e,t)=>lr(t,e=>Hi(e)||gs(e.dom),t=>vn(t,e)).filter(An).getOr(e),$_=(e,t)=>{const n=((e,t)=>{const n=Vn(e);return J(n,e=>t.isBlock(En(e))).fold(N(n),e=>n.slice(0,e))})(e,t);return q(n,Ao),n},H_=(e,t,n)=>{const o=pb(n,t);return Z(o.reverse(),t=>Ls(e,t)).each(Ao)},V_=(e,t,n,o,r)=>{if(Ls(o,n))return Wi(n),Af(n.dom);((e,t)=>0===Y($n(t),t=>!Ls(e,t)).length)(o,r)&&Ls(o,t)&&mo(r,un.fromTag("br"));const s=Nf(n.dom,Kl.before(r.dom));return q($_(t,o),e=>{mo(r,e)}),H_(o,e,t),s},q_=(e,t,n,o)=>{if(Ls(o,n)){if(Ls(o,t)){const e=e=>{const t=(e,n)=>Wn(e).fold(()=>n,e=>((e,t)=>e.isInline(En(t)))(o,e)?t(e,n.concat(To(e))):n);return t(e,[])},r=G(e(n),(e,t)=>(po(e,t),t),qi());No(t),go(t,r)}return Ao(n),Af(t.dom)}const r=Rf(n.dom);return q($_(t,o),e=>{go(n,e)}),H_(o,e,t),r},W_=(e,t)=>{kf(e,t.dom).bind(e=>I.from(e.getNode())).map(un.fromDom).filter(Mi).each(Ao)},K_=(e,t,n,o)=>(W_(!0,t),W_(!1,n),((e,t)=>Cn(t,e)?((e,t)=>{const n=pb(t,e);return I.from(n[n.length-1])})(t,e):I.none())(t,n).fold(D(q_,e,t,n,o),D(V_,e,t,n,o))),Y_=(e,t,n,o,r)=>t?K_(e,o,n,r):K_(e,n,o,r),G_=(e,t)=>{const n=un.fromDom(e.getBody()),o=((e,t,n,o)=>o.collapsed?((e,t,n,o)=>{const r=z_(t,Kl.fromRangeStart(o)),s=r.bind(o=>Sf(n,t,o.position).bind(o=>z_(t,o).map(o=>((e,t,n,o)=>ms(o.position.getNode())&&!Ls(e,o.block)?kf(!1,o.block.dom).bind(e=>e.isEqual(o.position)?Sf(n,t,e).bind(e=>z_(t,e)):I.some(o)).getOr(o):o)(e,t,n,o))));return $e(r,s,U_).filter(e=>(e=>!vn(e.from.block,e.to.block))(e)&&((e,t)=>{const n=un.fromDom(e);return vn(j_(n,t.from.block),j_(n,t.to.block))})(t,e)&&(e=>!1===ps(e.from.block.dom)&&!1===ps(e.to.block.dom))(e)&&(e=>{const t=e=>Ui(e)||Gs(e.dom)||ji(e);return t(e.from.block)&&t(e.to.block)})(e)&&(e=>!(Cn(e.to.block,e.from.block)||Cn(e.from.block,e.to.block)))(e))})(e,t,n,o):I.none())(e.schema,n.dom,t,e.selection.getRng()).map(o=>()=>{Y_(n,t,o.from.block,o.to.block,e.schema).each(t=>{e.selection.setRng(t.toRange())})});return o},X_=(e,t)=>{const n=un.fromDom(t),o=D(vn,e);return ir(n,Hi,o).isSome()},Q_=e=>{const t=un.fromDom(e.getBody());return((e,t)=>{const n=Nf(e.dom,Kl.fromRangeStart(t)).isNone(),o=_f(e.dom,Kl.fromRangeEnd(t)).isNone();return!((e,t)=>X_(e,t.startContainer)||X_(e,t.endContainer))(e,t)&&n&&o})(t,e.selection.getRng())?(e=>I.some(()=>{e.setContent(""),e.selection.setCursorLocation()}))(e):((e,t,n)=>{const o=t.getRng();return $e(fy(e,un.fromDom(o.startContainer)),fy(e,un.fromDom(o.endContainer)),(r,s)=>vn(r,s)?I.none():I.some(()=>{o.deleteContents(),Y_(e,!0,r,s,n).each(e=>{t.setRng(e.toRange())})})).getOr(I.none())})(t,e.selection,e.schema)},Z_=(e,t)=>e.selection.isCollapsed()?I.none():Q_(e),J_=(e,t,n,o,r)=>I.from(t._selectionOverrides.showCaret(e,n,o,r)),eN=(e,t)=>e.dispatch("BeforeObjectSelected",{target:t}).isDefaultPrevented()?I.none():I.some((e=>{const t=e.ownerDocument.createRange();return t.selectNode(e),t})(t)),tN=(e,t,n)=>t.collapsed?((e,t,n)=>{const o=tf(1,e.getBody(),t),r=Kl.fromRangeStart(o),s=r.getNode();if(Ou(s))return J_(1,e,s,!r.isAtEnd(),!1);const a=r.getNode(!0);if(Ou(a))return J_(1,e,a,!1,!1);const i=Vy(e.dom.getRoot(),r.getNode());return Ou(i)?J_(1,e,i,!1,n):I.none()})(e,t,n).getOr(t):t,nN=e=>ub(e)||lb(e),oN=e=>fb(e)||cb(e),rN=(e,t,n,o,r,s)=>{J_(o,e,s.getNode(!r),r,!0).each(n=>{if(t.collapsed){const e=t.cloneRange();r?e.setEnd(n.startContainer,n.startOffset):e.setStart(n.endContainer,n.endOffset),e.deleteContents()}else t.deleteContents();e.selection.setRng(n)}),((e,t)=>{ss(t)&&0===t.data.length&&e.remove(t)})(e.dom,n)},sN=(e,t)=>((e,t)=>{const n=e.selection.getRng();if(!ss(n.commonAncestorContainer))return I.none();const o=t?1:-1,r=yf(e.getBody()),s=D(sf,t?r.next:r.prev),a=t?nN:oN,i=of(o,e.getBody(),n),l=s(i),c=l?ay(t,l):l;if(!c||!af(i,c))return I.none();if(a(c))return I.some(()=>rN(e,n,i.getNode(),o,t,c));const d=s(c);return d&&a(d)&&af(c,d)?I.some(()=>rN(e,n,i.getNode(),o,t,d)):I.none()})(e,t),aN=(e,t)=>{const n=e.getBody();return t?Af(n).filter(ub):Rf(n).filter(fb)},iN=e=>{const t=e.selection.getRng();return!t.collapsed&&(aN(e,!0).exists(e=>e.isEqual(Kl.fromRangeStart(t)))||aN(e,!1).exists(e=>e.isEqual(Kl.fromRangeEnd(t))))},lN=Ne([{remove:["element"]},{moveToElement:["element"]},{moveToPosition:["position"]}]),cN=(e,t,n,o)=>Sf(t,e,n).bind(r=>{return s=r.getNode(),C(s)&&(Hi(un.fromDom(s))||ji(un.fromDom(s)))||((e,t,n,o,r)=>{const s=t=>r.isInline(t.nodeName.toLowerCase())&&!Yu(n,o,e);return nf(!t,n).fold(()=>nf(t,o).fold(L,s),s)})(e,t,n,r,o)?I.none():t&&ps(r.getNode())||!t&&ps(r.getNode(!0))?((e,t,n,o,r)=>{const s=r.getNode(!n);return fy(un.fromDom(t),un.fromDom(o.getNode())).map(t=>Ls(e,t)?lN.remove(t.dom):lN.moveToElement(s)).orThunk(()=>I.some(lN.moveToElement(s)))})(o,e,t,n,r):t&&fb(n)||!t&&ub(n)?I.some(lN.moveToPosition(r)):I.none();var s}),dN=(e,t)=>I.from(Vy(e.getBody(),t)),mN=(e,t)=>{const n=e.selection.getNode();return dN(e,n).filter(ps).fold(()=>((e,t,n,o)=>{const r=tf(t?1:-1,e,n),s=Kl.fromRangeStart(r),a=un.fromDom(e);return!t&&fb(s)?I.some(lN.remove(s.getNode(!0))):t&&ub(s)?I.some(lN.remove(s.getNode())):!t&&ub(s)&&Nb(a,s,o)?Ab(a,s,o).map(e=>lN.remove(e.getNode())):t&&fb(s)&&_b(a,s,o)?Rb(a,s,o).map(e=>lN.remove(e.getNode())):((e,t,n,o)=>((e,t)=>{const n=t.getNode(!e),o=e?"after":"before";return Xr(n)&&n.getAttribute("data-mce-caret")===o})(t,n)?((e,t)=>v(t)?I.none():e&&ps(t.nextSibling)?I.some(lN.moveToElement(t.nextSibling)):!e&&ps(t.previousSibling)?I.some(lN.moveToElement(t.previousSibling)):I.none())(t,n.getNode(!t)).orThunk(()=>cN(e,t,n,o)):cN(e,t,n,o).bind(t=>((e,t,n)=>n.fold(e=>I.some(lN.remove(e)),e=>I.some(lN.moveToElement(e)),n=>Yu(t,n,e)?I.none():I.some(lN.moveToPosition(n))))(e,n,t)))(e,t,s,o)})(e.getBody(),t,e.selection.getRng(),e.schema).map(n=>()=>n.fold(((e,t)=>n=>(e._selectionOverrides.hideFakeCaret(),ty(e,t,un.fromDom(n)),!0))(e,t),((e,t)=>n=>{const o=t?Kl.before(n):Kl.after(n);return e.selection.setRng(o.toRange()),!0})(e,t),(e=>t=>(e.selection.setRng(t.toRange()),!0))(e))),()=>I.some(x))},uN=e=>{const t=e.dom,n=e.selection,o=Vy(e.getBody(),n.getNode());if(gs(o)&&t.isBlock(o)&&t.isEmpty(o)){const e=t.create("br",{"data-mce-bogus":"1"});t.setHTML(o,""),o.appendChild(e),n.setRng(Kl.before(e).toRange())}return!0},fN=(e,t)=>e.selection.isCollapsed()?mN(e,t):((e,t)=>{const n=e.selection.getNode();return ps(n)&&!bs(n)?dN(e,n.parentNode).filter(ps).fold(()=>I.some(()=>{var n;n=un.fromDom(e.getBody()),q(Ar(n,".mce-offscreen-selection"),Ao),ty(e,t,un.fromDom(e.selection.getNode())),gy(e)}),()=>I.some(x)):iN(e)?I.some(()=>{by(e,e.selection.getRng(),un.fromDom(e.getBody()))}):I.none()})(e,t),gN=(e,t)=>{const n=e.dom,o=n.getParent(e.selection.getStart(),n.isBlock),r=n.getParent(e.selection.getEnd(),n.isBlock),s=e.getBody(),a=o?.nodeName?.toLowerCase();if("div"===a&&o&&r&&o===s.firstChild&&r===s.lastChild&&!n.isEmpty(s)){const n=o.cloneNode(!1),r=()=>{if(t?my(e):dy(e),s.firstChild!==o){const t=xv(e.selection.getRng(),()=>document.createElement("span"));Array.from(s.childNodes).forEach(e=>n.appendChild(e)),s.appendChild(n),e.selection.setRng(kv(t))}};return I.some(r)}return I.none()},pN=(e,t)=>e.selection.isCollapsed()?((e,t)=>{const n=Kl.fromRangeStart(e.selection.getRng());return Sf(t,e.getBody(),n).filter(e=>t?ab(e):ib(e)).bind(e=>Gu(t?0:-1,e)).map(t=>()=>e.selection.select(t))})(e,t):I.none(),hN=ss,bN=e=>hN(e)&&e.data[0]===Ki,yN=e=>hN(e)&&e.data[e.data.length-1]===Ki,vN=e=>(e.ownerDocument??document).createTextNode(Ki),CN=(e,t)=>e?(e=>{if(hN(e.previousSibling))return yN(e.previousSibling)||e.previousSibling.appendData(Ki),e.previousSibling;if(hN(e))return bN(e)||e.insertData(0,Ki),e;{const t=vN(e);return e.parentNode?.insertBefore(t,e),t}})(t):(e=>{if(hN(e.nextSibling))return bN(e.nextSibling)||e.nextSibling.insertData(0,Ki),e.nextSibling;if(hN(e))return yN(e)||e.appendData(Ki),e;{const t=vN(e);return e.nextSibling?e.parentNode?.insertBefore(t,e.nextSibling):e.parentNode?.appendChild(t),t}})(t),wN=D(CN,!0),SN=D(CN,!1),EN=(e,t)=>ss(e.container())?CN(t,e.container()):CN(t,e.getNode()),xN=(e,t)=>{const n=t.get();return n&&e.container()===n&&Ji(n)},kN=(e,t)=>t.fold(t=>{ku(e.get());const n=wN(t);return e.set(n),I.some(Kl(n,n.length-1))},t=>Af(t).map(t=>{if(xN(t,e)){const t=e.get();return Kl(t,1)}{ku(e.get());const n=EN(t,!0);return e.set(n),Kl(n,1)}}),t=>Rf(t).map(t=>{if(xN(t,e)){const t=e.get();return Kl(t,t.length-1)}{ku(e.get());const n=EN(t,!1);return e.set(n),Kl(n,n.length-1)}}),t=>{ku(e.get());const n=SN(t);return e.set(n),I.some(Kl(n,1))}),_N=(e,t)=>{for(let n=0;nKu(t,e)||e,RN=(e,t,n)=>{const o=iy(n),r=AN(t,o.container());return sy(e,r,o).fold(()=>_f(r,o).bind(D(sy,e,r)).map(e=>NN.before(e)),I.none)},DN=(e,t)=>null===Of(e,t),TN=(e,t,n)=>sy(e,t,n).filter(D(DN,t)),ON=(e,t,n)=>{const o=ly(n);return TN(e,t,o).bind(e=>Nf(e,o).isNone()?I.some(NN.start(e)):I.none())},BN=(e,t,n)=>{const o=iy(n);return TN(e,t,o).bind(e=>_f(e,o).isNone()?I.some(NN.end(e)):I.none())},PN=(e,t,n)=>{const o=ly(n),r=AN(t,o.container());return sy(e,r,o).fold(()=>Nf(r,o).bind(D(sy,e,r)).map(e=>NN.after(e)),I.none)},LN=e=>!ry(IN(e)),MN=(e,t,n)=>_N([RN,ON,BN,PN],[e,t,n]).filter(LN),IN=e=>e.fold(A,A,A,A),FN=e=>e.fold(N("before"),N("start"),N("end"),N("after")),UN=e=>e.fold(NN.before,NN.before,NN.after,NN.after),zN=e=>e.fold(NN.start,NN.start,NN.end,NN.end),jN=(e,t,n,o,r,s)=>$e(sy(t,n,o),sy(t,n,r),(t,o)=>t!==o&&((e,t,n)=>{const o=Ku(t,e),r=Ku(n,e);return C(o)&&o===r})(n,t,o)?NN.after(e?t:o):s).getOr(s),$N=(e,t)=>e.fold(M,e=>{return o=t,!(FN(n=e)===FN(o)&&IN(n)===IN(o));var n,o}),HN=(e,t)=>e?t.fold(k(I.some,NN.start),I.none,k(I.some,NN.after),I.none):t.fold(I.none,k(I.some,NN.before),I.none,k(I.some,NN.end)),VN=(e,t,n)=>{const o=e?1:-1;return t.setRng(Kl(n.container(),n.offset()+o).toRange()),t.getSel().modify("move",e?"forward":"backward","word"),!0};var qN;!function(e){e[e.Br=0]="Br",e[e.Block=1]="Block",e[e.Wrap=2]="Wrap",e[e.Eol=3]="Eol"}(qN||(qN={}));const WN=(e,t)=>-1===e?re(t):t,KN=(e,t,n)=>1===e?t.next(n):t.prev(n),YN=(e,t,n,o)=>ms(o.getNode(1===t))?qN.Br:!1===Yu(n,o)?qN.Block:qN.Wrap,GN=(e,t,n,o)=>{const r=yf(n);let s=o;const a=[];for(;s;){const n=KN(t,r,s);if(!n)break;if(ms(n.getNode(!1)))return 1===t?{positions:WN(t,a).concat([n]),breakType:qN.Br,breakAt:I.some(n)}:{positions:WN(t,a),breakType:qN.Br,breakAt:I.some(n)};if(n.isVisible()){if(e(s,n)){const e=YN(0,t,s,n);return{positions:WN(t,a),breakType:e,breakAt:I.some(n)}}a.push(n),s=n}else s=n}return{positions:WN(t,a),breakType:qN.Eol,breakAt:I.none()}},XN=(e,t,n,o)=>t(n,o).breakAt.map(o=>{const r=t(n,o).positions;return-1===e?r.concat(o):[o].concat(r)}).getOr([]),QN=(e,t)=>X(e,(e,n)=>e.fold(()=>I.some(n),o=>$e(ce(o.getClientRects()),ce(n.getClientRects()),(e,r)=>{const s=Math.abs(t-e.left);return Math.abs(t-r.left)<=s?n:o}).or(e)),I.none()),ZN=(e,t)=>ce(t.getClientRects()).bind(t=>QN(e,t.left)),JN=D(GN,Kl.isAbove,-1),eA=D(GN,Kl.isBelow,1),tA=D(XN,-1,JN),nA=D(XN,1,eA),oA=(e,t)=>JN(e,t).breakAt.isNone(),rA=(e,t)=>eA(e,t).breakAt.isNone(),sA=(e,t)=>ZN(tA(e,t),t),aA=(e,t)=>ZN(nA(e,t),t),iA=ps,lA=(e,t)=>Math.abs(e.left-t),cA=(e,t)=>Math.abs(e.right-t),dA=(e,t)=>yt(e,(e,n)=>{const o=Math.min(lA(e,t),cA(e,t)),r=Math.min(lA(n,t),cA(n,t));return r===o&&_e(n,"node")&&iA(n.node)||r{const t=t=>V(t,t=>{const n=cl(t);return n.node=e,n});if(Xr(e))return t(e.getClientRects());if(ss(e)){const n=e.ownerDocument.createRange();return n.setStart(e,0),n.setEnd(e,e.data.length),t(n.getClientRects())}return[]},uA=e=>ne(e,mA);var fA;!function(e){e[e.Up=-1]="Up",e[e.Down=1]="Down"}(fA||(fA={}));const gA=(e,t,n,o,r,s)=>{let a=0;const i=[],l=o=>{let s=uA([o]);e===fA.Up&&(s=s.reverse());for(let e=0;e0&&t(o,Ct(i))&&a++,o.line=a,r(o))return!0;i.push(o)}}return!1},c=Ct(s.getClientRects());if(!c)return i;const d=s.getNode();return d&&(l(d),((e,t,n,o)=>{let r=o;for(;r=Vu(r,e,Rl,t);)if(n(r))return})(e,o,l,d)),i},pA=D(gA,fA.Up,ul,fl),hA=D(gA,fA.Down,fl,ul),bA=e=>Ct(e.getClientRects()),yA=e=>t=>((e,t)=>t.line>e)(e,t),vA=e=>t=>((e,t)=>t.line===e)(e,t),CA=(e,t)=>{e.selection.setRng(t),bh(e,e.selection.getRng())},wA=(e,t,n)=>I.some(tN(e,t,n)),SA=(e,t)=>{const n=e.getNode(-1===t);return C(n)&&qu(n)?I.some(n):I.none()},EA=(e,t)=>{const n=e.dom.createRng();return n.selectNode(t),n},xA=(e,t,n,o,r,s)=>{const a=1===t,i=yf(e.getBody()),l=D(sf,a?i.next:i.prev),c=a?o:r;if(!n.collapsed){const o=pl(n);if(s(o)){if(qu(o)){const o=of(t,e.getBody(),n);return I.from(l(o)).map(e=>e.toRange())}return J_(t,e,o,-1===t,!1)}if(iN(e)){const e=n.cloneRange();return e.collapse(-1===t),I.from(e)}}const d=of(t,e.getBody(),n);if(c(d))return eN(e,d.getNode(!a));let m=l(d);const u=il(n);if(!m)return u?I.some(n):I.none();if(m=ay(a,m),c(m))return SA(m,t).fold(()=>J_(t,e,m?.getNode(!a),a,!1),t=>I.some(EA(e,t)));const f=l(m);return f&&c(f)&&af(m,f)?SA(m,t).fold(()=>J_(t,e,f.getNode(!a),a,!1),t=>I.some(EA(e,t))):u?wA(e,m.toRange(),!1):I.none()},kA=(e,t,n,o,r,s)=>{const a=of(t,e.getBody(),n),i=Ct(a.getClientRects()),l=t===fA.Down,c=e.getBody();if(!i)return I.none();if(iN(e)){const e=l?Kl.fromRangeEnd(n):Kl.fromRangeStart(n);return(l?aA:sA)(c,e).orThunk(()=>I.from(e)).map(e=>e.toRange())}const d=(l?hA:pA)(c,yA(1),a),m=Y(d,vA(1)),u=i.left,f=dA(m,u);if(f&&s(f.node)){const n=Math.abs(u-f.left),o=Math.abs(u-f.right);return J_(t,e,f.node,n{const r=yf(t);let s,a,i,l;const c=[];let d=0;e===fA.Down?(s=r.next,a=fl,i=ul,l=Kl.after(o)):(s=r.prev,a=ul,i=fl,l=Kl.before(o));const m=bA(l);do{if(!l.isVisible())continue;const e=bA(l);if(i(e,m))continue;c.length>0&&a(e,Ct(c))&&d++;const t=cl(e);if(t.position=l,t.line=d,n(t))return c;c.push(t)}while(l=s(l));return c})(t,c,yA(1),g);let o=dA(Y(n,vA(1)),u);if(o)return wA(e,o.position.toRange(),!1);if(o=Ct(Y(n,vA(0))),o)return wA(e,o.position.toRange(),!1)}return 0===m.length?_A(e,l).filter(l?r:o).map(t=>tN(e,t.toRange(),!1)):I.none()},_A=(e,t)=>{const n=e.selection.getRng(),o=t?Kl.fromRangeEnd(n):Kl.fromRangeStart(n),r=(s=o.container(),a=e.getBody(),ir(un.fromDom(s),e=>Pu(e.dom),e=>e.dom===a).map(e=>e.dom).getOr(a));var s,a;if(t){const e=eA(r,o);return de(e.positions)}{const e=JN(r,o);return ce(e.positions)}},NA=(e,t,n)=>_A(e,t).filter(n).exists(t=>(e.selection.setRng(t.toRange()),!0)),AA=(e,t)=>{const n=e.dom.createRng();n.setStart(t.container(),t.offset()),n.setEnd(t.container(),t.offset()),e.selection.setRng(n)},RA=(e,t)=>{e?t.setAttribute("data-mce-selected","inline-boundary"):t.removeAttribute("data-mce-selected")},DA=(e,t,n)=>kN(t,n).map(t=>(AA(e,t),n)),TA=(e,t,n)=>{const o=e.getBody(),r=((e,t,n)=>{const o=Kl.fromRangeStart(e);if(e.collapsed)return o;{const r=Kl.fromRangeEnd(e);return n?Nf(t,r).getOr(r):_f(t,o).getOr(o)}})(e.selection.getRng(),o,n);return((e,t,n,o)=>{const r=ay(e,o),s=MN(t,n,r);return MN(t,n,r).bind(D(HN,e)).orThunk(()=>((e,t,n,o,r)=>{const s=ay(e,r);return Sf(e,n,s).map(D(ay,e)).fold(()=>o.map(UN),r=>MN(t,n,r).map(D(jN,e,t,n,s,r)).filter(D($N,o))).filter(LN)})(e,t,n,s,o))})(n,D(oy,e),o,r).bind(n=>DA(e,t,n))},OA=(e,t,n)=>!!im(e)&&TA(e,t,n).isSome(),BA=(e,t,n)=>!!im(t)&&((e,t)=>{const n=t.selection.getRng(),o=e?Kl.fromRangeEnd(n):Kl.fromRangeStart(n);return!!(e=>w(e.selection.getSel().modify))(t)&&(e&&nl(o)?VN(!0,t.selection,o):!(e||!ol(o))&&VN(!1,t.selection,o))})(e,t),PA=e=>{const t=Ae(null),n=D(oy,e);return e.on("NodeChange",o=>{im(e)&&(((e,t,n)=>{const o=V(Ar(un.fromDom(t.getRoot()),'*[data-mce-selected="inline-boundary"]'),e=>e.dom),r=Y(o,e),s=Y(n,e);q(se(r,s),D(RA,!1)),q(se(s,r),D(RA,!0))})(n,e.dom,o.parents),((e,t)=>{const n=t.get();if(e.selection.isCollapsed()&&!e.composing&&n){const o=Kl.fromRangeStart(e.selection.getRng());Kl.isTextPosition(o)&&!(e=>nl(e)||ol(e))(o)&&(AA(e,xu(n,o)),t.set(null))}})(e,t),((e,t,n,o)=>{if(t.selection.isCollapsed()){const r=Y(o,e);q(r,o=>{const r=Kl.fromRangeStart(t.selection.getRng());MN(e,t.getBody(),r).bind(e=>DA(t,n,e))})}})(n,e,t,o.parents))}),t},LA=D(BA,!0),MA=D(BA,!1),IA=(e,t,n)=>{if(im(e)){const o=_A(e,t).getOrThunk(()=>{const n=e.selection.getRng();return t?Kl.fromRangeEnd(n):Kl.fromRangeStart(n)});return MN(D(oy,e),e.getBody(),o).exists(t=>{const o=UN(t);return kN(n,o).exists(t=>(AA(e,t),!0))})}return!1},FA=(e,t)=>n=>kN(t,n).map(t=>()=>AA(e,t)),UA=(e,t,n,o)=>{const r=e.getBody(),s=D(oy,e);e.undoManager.ignore(()=>{e.selection.setRng(((e,t)=>{const n=document.createRange();return n.setStart(e.container(),e.offset()),n.setEnd(t.container(),t.offset()),n})(n,o)),dy(e),MN(s,r,Kl.fromRangeStart(e.selection.getRng())).map(zN).bind(FA(e,t)).each(P)}),e.nodeChanged()},zA=(e,t,n)=>{if(e.selection.isCollapsed()&&im(e)){const o=Kl.fromRangeStart(e.selection.getRng());return((e,t,n,o)=>{const r=((e,t)=>Ku(t,e)||e)(e.getBody(),o.container()),s=D(oy,e),a=MN(s,r,o);return a.bind(e=>n?e.fold(N(I.some(zN(e))),I.none,N(I.some(UN(e))),I.none):e.fold(I.none,N(I.some(UN(e))),I.none,N(I.some(zN(e))))).map(FA(e,t)).getOrThunk(()=>{const i=Ef(n,r,o),l=i.bind(e=>MN(s,r,e));return $e(a,l,()=>sy(s,r,o).bind(t=>(e=>$e(Af(e),Rf(e),(t,n)=>{const o=ay(!0,t),r=ay(!1,n);return _f(e,o).forall(e=>e.isEqual(r))}).getOr(!0))(t)?I.some(()=>{ty(e,n,un.fromDom(t))}):I.none())).getOrThunk(()=>l.bind(()=>i.map(r=>()=>{n?UA(e,t,o,r):UA(e,t,r,o)})))})})(e,t,n,o)}return I.none()},jA=(e,t)=>{const n=un.fromDom(e.getBody()),o=un.fromDom(e.selection.getStart()),r=pb(o,n);return J(r,t).fold(N(r),e=>r.slice(0,e))},$A=e=>1===Yn(e),HA=(e,t)=>{const n=D(bv,e);return ne(t,e=>n(e)?[e.dom]:[])},VA=e=>{const t=(e=>jA(e,t=>e.schema.isBlock(En(t))))(e);return HA(e,t)},qA=(e,t)=>{const n=Y((e=>jA(e,t=>e.schema.isBlock(En(t))||(e=>Yn(e)>1)(t)))(e),$A);return de(n).bind(o=>{const r=Kl.fromRangeStart(e.selection.getRng());return py(t,r,o.dom)&&!Lg(o)?I.some(()=>((e,t,n,o)=>{const r=HA(t,o);if(0===r.length)ty(t,e,n);else{const e=hv(n.dom,r);t.selection.setRng(e.toRange())}})(t,e,o,n)):I.none()})},WA=(e,t)=>{const n=e.selection.getStart(),o=((e,t)=>{const n=t.parentElement;return ms(t)&&!h(n)&&e.dom.isEmpty(n)})(e,n)||Lg(un.fromDom(n))?hv(n,t):((e,t)=>{const{caretContainer:n,caretPosition:o}=pv(t);return e.insertNode(n.dom),o})(e.selection.getRng(),t);e.selection.setRng(o.toRange())},KA=(e,t)=>{const n=se(t,VA(e));n.length>0&&WA(e,n)},YA=e=>ss(e.startContainer),GA=e=>{const t=e.selection.getRng();return(e=>0===e.startOffset&&YA(e))(t)&&((e,t)=>{const n=t.startContainer.parentElement;return!h(n)&&bv(e,un.fromDom(n))})(e,t)&&(e=>(e=>(e=>{const t=e.startContainer.parentNode,n=e.endContainer.parentNode;return!h(t)&&!h(n)&&t.isEqualNode(n)})(e)&&(e=>{const t=e.endContainer;return e.endOffset===(ss(t)?t.length:t.childNodes.length)})(e))(e)||(e=>!e.endContainer.isEqualNode(e.commonAncestorContainer))(e))(t)},XA=(e,t)=>e.selection.isCollapsed()?qA(e,t):(e=>{if(GA(e)){const t=VA(e);return I.some(()=>{dy(e),KA(e,t)})}return I.none()})(e),QA=e=>((e=>{const t=e.selection.getRng();return t.collapsed&&(YA(t)||e.dom.isEmpty(t.startContainer))&&!(e=>{return t=un.fromDom(e.selection.getStart()),n=e.schema,Rr(t,e=>Tf(e.dom),e=>n.isBlock(En(e)));var t,n})(e)})(e)&&WA(e,[]),!0),ZA=(e,t,n)=>C(n)?I.some(()=>{e._selectionOverrides.hideFakeCaret(),ty(e,t,un.fromDom(n))}):I.none(),JA=(e,t)=>e.selection.isCollapsed()?((e,t)=>{const n=t?lb:cb,o=of(t?1:-1,e.getBody(),e.selection.getRng());return n(o)?ZA(e,t,o.getNode(!t)):I.from(ay(t,o)).filter(e=>n(e)&&af(o,e)).bind(n=>ZA(e,t,n.getNode(!t)))})(e,t):((e,t)=>{const n=e.selection.getNode();return Cs(n)?ZA(e,t,n):I.none()})(e,t),eR=e=>st(e??"").getOr(0),tR=(e,t)=>(e||"table"===En(t)?"margin":"padding")+("rtl"===$o(t,"direction")?"-right":"-left"),nR=(e,t,n,o,r,s)=>{const a=tR(n,un.fromDom(s)),i=eR(e.getStyle(s,a));if("outdent"===t){const t=Math.max(0,i-o);e.setStyle(s,a,t?t+r:"")}else{const t=i+o+r;e.setStyle(s,a,t)}},oR=e=>{const t=sR(e),n=ne(t,t=>{if(!bs(t.dom))return[t];const n=((e,t)=>Y(Po(me(t.dom.childNodes)),t=>e.dom.isBlock(t.dom)))(e,t);return n.length>0?n:[t]});return!e.mode.isReadOnly()&&(t.length>1||((e,t)=>oe(t,t=>{const n=tR(Vd(e),t),o=Vo(t,n).map(eR).getOr(0);return"false"!==e.dom.getContentEditable(t.dom)&&o>0}))(e,n))},rR=e=>zi(e)||ji(e),sR=e=>{const t=Qf(e);return 0===t.length?Y(Po(e.selection.getSelectedBlocks()),e=>!rR(e)&&!(e=>Mn(e).exists(rR))(e)&&lr(e,e=>gs(e.dom)||ps(e.dom)).exists(e=>gs(e.dom))):t},aR=(e,t)=>{if(e.mode.isReadOnly())return;const{dom:n}=e,o=qd(e),r=/[a-z%]+$/i.exec(o)?.[0]??"px",s=eR(o),a=Vd(e);q(sR(e),o=>{if(bs(o.dom)){const i=e.selection.getBookmark();q(((e,t)=>{const{dom:n}=e,o=Y(me(t.childNodes),e=>!yg(e)),r=[];let s=[];const a=()=>{if(s.length>0&&!oe(s,Vf)){const e=n.create("p");t.insertBefore(e,s[0]),q(s,t=>e.appendChild(t)),r.push(e)}s=[]};return q(o,e=>{n.isBlock(e)?(a(),r.push(e)):s.push(e)}),a(),r})(e,o.dom),e=>{nR(n,t,a,s,r,e)}),e.selection.moveToBookmark(i)}else nR(n,t,a,s,r,o.dom)}),"indent"===t?b_(e):y_(e)},iR=e=>aR(e,"outdent"),lR=e=>{if(e.selection.isCollapsed()&&oR(e)){const t=e.dom,n=e.selection.getRng(),o=Kl.fromRangeStart(n),r=t.getParent(n.startContainer,t.isBlock);if(null!==r&&Cb(un.fromDom(r),o,e.schema))return I.some(()=>iR(e))}return I.none()},cR=(e,t)=>e.selection.isCollapsed()?I.none():((e,t)=>{const n=e.selection.getRng();return(e=>ag(e,Qr))(kC(n))?I.some(()=>ty(e,t,un.fromDom(n.startContainer.childNodes[n.startOffset]))):I.none()})(e,t),dR=(e,t,n)=>ue([lR,fN,sN,(e,n)=>zA(e,t,n),G_,Hy,pN,JA,Z_,XA,gN,cR],t=>t(e,n)).filter(t=>e.selection.isEditable()),mR=(e,t)=>{dR(e,t,!1).fold(()=>{e.selection.isEditable()&&(dy(e),gy(e))},P),I_(e)&&Tk(e.dom,e.getBody())},uR=e=>void 0===e.touches||1!==e.touches.length?I.none():I.some(e.touches[0]),fR=(e,t)=>ke(e,t.nodeName),gR=(e,t)=>!!ss(t)||!!Xr(t)&&!(fR(e.getBlockElements(),t)||Vf(t)||Zs(e,t)||Us(t)||vs(t)),pR=(e,t)=>{if(ss(t)){if(0===t.data.length)return!0;if(/^\s+$/.test(t.data))return!t.nextSibling||fR(e,t.nextSibling)||Us(t.nextSibling)}return!1},hR=e=>e.dom.create(Ed(e),xd(e)),bR=(e,t,n)=>{const o=un.fromDom(hR(e)),r=qi();go(o,r),n(t,o);const s=document.createRange();return s.setStartBefore(r.dom),s.setEndBefore(r.dom),s},yR=e=>t=>-1!==(" "+t.attr("class")+" ").indexOf(e),vR=(e,t,n)=>function(o){const r=arguments,s=r[r.length-2],a=s>0?t.charAt(s-1):"";if('"'===a)return o;if(">"===a){const e=t.lastIndexOf("<",s);if(-1!==e&&-1!==t.substring(e,s).indexOf('contenteditable="false"'))return o}return''+e.dom.encode("string"==typeof r[1]?r[1]:r[0])+""},CR=(e,t)=>oe(e,e=>{const n=t.match(e);return null!==n&&n[0].length===t.length}),wR=(e,t)=>{t.hasAttribute("data-mce-caret")&&(al(t),e.selection.setRng(e.selection.getRng()),e.selection.scrollIntoView(t))},SR=(e,t)=>{const n=(e=>ur(un.fromDom(e.getBody()),"*[data-mce-caret]").map(e=>e.dom).getOrNull())(e);if(n)return"compositionstart"===t.type?(t.preventDefault(),t.stopPropagation(),void wR(e,n)):void(tl(n)&&(wR(e,n),e.undoManager.add()))},ER=ps,xR=(e,t,n)=>{const o=yf(e.getBody()),r=D(sf,1===t?o.next:o.prev);if(n.collapsed){const o=e.dom.getParent(n.startContainer,"PRE");if(!o)return;if(!r(Kl.fromRangeStart(n))){const n=un.fromDom((e=>{const t=e.dom.create(Ed(e));return t.innerHTML='
    ',t})(e));1===t?uo(un.fromDom(o),n):mo(un.fromDom(o),n),e.selection.select(n.dom,!0),e.selection.collapse()}}},kR=(e,t)=>((e,t)=>{const n=t?1:-1,o=e.selection.getRng();return((e,t,n)=>xA(t,e,n,ub,fb,ER))(n,e,o).orThunk(()=>(xR(e,n,o),I.none()))})(e,((e,t)=>{const n=t?e.getEnd(!0):e.getStart(!0);return ry(n)?!t:t})(e.selection,t)).exists(t=>(CA(e,t),!0)),_R=(e,t)=>((e,t)=>{const n=t?1:-1,o=e.selection.getRng();return((e,t,n)=>kA(t,e,n,e=>ub(e)||db(e),e=>fb(e)||mb(e),ER))(n,e,o).orThunk(()=>(xR(e,n,o),I.none()))})(e,t).exists(t=>(CA(e,t),!0)),NR=(e,t)=>NA(e,t,t?fb:ub),AR=(e,t)=>aN(e,!t).map(n=>{const o=n.toRange(),r=e.selection.getRng();return t?o.setStart(r.startContainer,r.startOffset):o.setEnd(r.endContainer,r.endOffset),o}).exists(t=>(CA(e,t),!0)),RR=(e,t)=>{const n=e=>vn(e,t),o=un.fromDom(e.container());return lr(o,e=>gs(e.dom),n).filter(e=>!n(e))},DR=(e,t)=>((e,t)=>{const n=Kl.fromRangeStart(e.selection.getRng()),o=Kl.fromRangeEnd(e.selection.getRng()),r=un.fromDom(e.getBody());return $e(RR(n,r),RR(o,r),(e,t)=>vn(e,t)?I.some(e):I.none()).bind(A).fold(L,r=>!!(t&&rA(r.dom,o)||!t&&oA(r.dom,n))&&((e,t,n)=>(n?aA:sA)(e.getBody(),t).map(e=>e.toRange()))(e,t?o:n,t).exists(t=>(CA(e,t),!0)))})(e,t),TR=e=>$(["figcaption"],En(e)),OR=(e,t)=>!!e.selection.isCollapsed()&&((e,t)=>{const n=un.fromDom(e.getBody()),o=Kl.fromRangeStart(e.selection.getRng());return((e,t,n)=>{const o=D(vn,t);return lr(un.fromDom(e.container()),e=>n.isBlock(En(e)),o).filter(TR)})(o,n,e.schema).exists(()=>{if(((e,t,n)=>t?rA(e.dom,n):oA(e.dom,n))(n,t,o)){const o=bR(e,n,t?go:fo);return e.selection.setRng(o),!0}return!1})})(e,t),BR=(e,t)=>((e,t)=>t?I.from(e.dom.getParent(e.selection.getNode(),"details")).map(t=>((e,t)=>{const n=e.selection.getRng(),o=Kl.fromRangeStart(n);return!(e.getBody().lastChild!==t||!rA(t,o)||(e.execCommand("InsertNewBlockAfter"),0))})(e,t)).getOr(!1):I.from(e.dom.getParent(e.selection.getNode(),"summary")).bind(t=>I.from(e.dom.getParent(t,"details")).map(n=>((e,t,n)=>{const o=e.selection.getRng(),r=Kl.fromRangeStart(o);return!(e.getBody().firstChild!==t||!oA(n,r)||(e.execCommand("InsertNewBlockBefore"),0))})(e,n,t))).getOr(!1))(e,t),PR={shiftKey:!1,altKey:!1,ctrlKey:!1,metaKey:!1,keyCode:0},LR=(e,t)=>t.keyCode===e.keyCode&&t.shiftKey===e.shiftKey&&t.altKey===e.altKey&&t.ctrlKey===e.ctrlKey&&t.metaKey===e.metaKey,MR=(e,...t)=>()=>e.apply(null,t),IR=(e,t)=>Z(((e,t)=>ne((e=>V(e,e=>({...PR,...e})))(e),e=>LR(e,t)?[e]:[]))(e,t),e=>e.action()),FR=(e,t)=>ue(((e,t)=>ne((e=>V(e,e=>({...PR,...e})))(e),e=>LR(e,t)?[e]:[]))(e,t),e=>e.action()),UR=(e,t)=>{const n=t?1:-1,o=e.selection.getRng();return xA(e,n,o,lb,cb,Cs).exists(t=>(CA(e,t),!0))},zR=(e,t)=>{const n=t?1:-1,o=e.selection.getRng();return kA(e,n,o,lb,cb,Cs).exists(t=>(CA(e,t),!0))},jR=(e,t)=>NA(e,t,t?cb:lb),$R=(e,t,n)=>ne(Vn(e),e=>bn(e,t)?n(e)?[e]:[]:$R(e,t,n)),HR=(e,t)=>fr(e,"table",t),VR=Ne([{none:["current"]},{first:["current"]},{middle:["current","target"]},{last:["current"]}]),qR={...VR,none:e=>VR.none(e)},WR=(e,t,n,o,r=M)=>{const s=1===o;if(!s&&n<=0)return qR.first(e[0]);if(s&&n>=e.length-1)return qR.last(e[e.length-1]);{const s=n+o,a=e[s];return r(a)?qR.middle(t,a):WR(e,t,s,o,r)}},KR=(e,t)=>HR(e,t).bind(t=>{const n=$R(t,"th,td",M);return J(n,t=>vn(e,t)).map(e=>({index:e,all:n}))});var YR=["body","p","div","article","aside","figcaption","figure","footer","header","nav","section","ol","ul","li","table","thead","tbody","tfoot","caption","tr","td","th","h1","h2","h3","h4","h5","h6","blockquote","pre","address"];const GR=(e,t)=>({element:e,offset:t}),XR=(e,t)=>{if(e.property().isText(t))return GR(t,e.property().getText(t).length);{const n=e.property().children(t);return n.length>0?XR(e,n[n.length-1]):GR(t,n.length)}},QR=(e,t,n)=>{const o=e.property().children(t);return o.length>0&&n0&&e.property().isElement(t)&&o.length===n?XR(e,o[o.length-1]):GR(t,n)},ZR=QR,JR={up:N({selector:mr,closest:fr,predicate:ir,all:Fn}),down:N({selector:Ar,predicate:Nr}),styles:N({get:$o,getRaw:Vo,set:zo,remove:Wo}),attrs:N({get:wo,set:vo,remove:xo,copyTo:(e,t)=>{const n=_o(e);Co(t,n)}}),insert:N({before:mo,after:uo,afterAll:ho,append:go,appendAll:bo,prepend:fo,wrap:po}),remove:N({unwrap:Ro,remove:Ao}),create:N({nu:un.fromTag,clone:e=>un.fromDom(e.dom.cloneNode(!1)),text:un.fromText}),query:N({comparePosition:(e,t)=>e.dom.compareDocumentPosition(t.dom),prevSibling:zn,nextSibling:jn}),property:N({children:Vn,name:En,parent:Mn,document:e=>Pn(e).dom,isText:Rn,isComment:_n,isElement:An,isSpecial:e=>{const t=En(e);return $(["script","noscript","iframe","noframes","noembed","title","style","textarea","xmp"],t)},getLanguage:e=>An(e)?So(e,"lang"):I.none(),getText:or,setText:rr,isBoundary:e=>!!An(e)&&("body"===En(e)||$(YR,En(e))),isEmptyTag:e=>!!An(e)&&$(["br","img","hr","input"],En(e)),isNonEditable:e=>An(e)&&"false"===wo(e,"contenteditable")}),eq:vn,is:wn},eD=(e,t)=>ZR(JR,e,t),tD=Le("image"),nD=Le("event"),oD=e=>t=>{t[nD]=e},rD=oD(0),sD=oD(2),aD=oD(1),iD=e=>{const t=e;return I.from(t[nD]).exists(e=>0===e)};const lD=Le("mode"),cD=e=>t=>{t[lD]=e},dD=(e,t)=>cD(t)(e),mD=cD(0),uD=cD(2),fD=cD(1),gD=e=>t=>{const n=t;return I.from(n[lD]).exists(t=>t===e)},pD=gD(0),hD=gD(1),bD=["none","copy","link","move"],yD=["none","copy","copyLink","copyMove","link","linkMove","move","all","uninitialized"],vD=()=>{const e=new window.DataTransfer;let t="move",n="all";const o={get dropEffect(){return t},set dropEffect(e){$(bD,e)&&(t=e)},get effectAllowed(){return n},set effectAllowed(e){iD(o)&&$(yD,e)&&(n=e)},get items(){return((e,t)=>({...t,get length(){return t.length},add:(n,o)=>{if(pD(e)){if(!u(n))return t.add(n);if(!y(o))return t.add(n,o)}return null},remove:n=>{pD(e)&&t.remove(n)},clear:()=>{pD(e)&&t.clear()}}))(o,e.items)},get files(){return hD(o)?(()=>{const e=[];return Object.freeze({length:0,item:e=>null,[Symbol.iterator]:()=>e[Symbol.iterator]()})})():e.files},get types(){return e.types},setDragImage:(t,n,r)=>{var s;pD(o)&&(s={image:t,x:n,y:r},o[tD]=s,e.setDragImage(t,n,r))},getData:t=>hD(o)?"":e.getData(t),setData:(t,n)=>{pD(o)&&e.setData(t,n)},clearData:t=>{pD(o)&&e.clearData(t)}};return mD(o),o},CD=(e,t)=>e.setData("text/html",t),wD=(e,t,n,o,r)=>{const s=Ar(un.fromDom(n),"td,th,caption").map(e=>e.dom),a=Y(((e,t)=>ne(t,t=>{const n=((e,t)=>({left:e.left-t,top:e.top-t,right:e.right+-2,bottom:e.bottom+-2,width:e.width+t,height:e.height+t}))(cl(t.getBoundingClientRect()),-1);return[{x:n.left,y:e(n),cell:t},{x:n.right,y:e(n),cell:t}]}))(e,s),e=>t(e,r));return((e,t,n)=>X(e,(e,o)=>e.fold(()=>I.some(o),e=>{const r=Math.sqrt(Math.abs(e.x-t)+Math.abs(e.y-n)),s=Math.sqrt(Math.abs(o.x-t)+Math.abs(o.y-n));return I.some(se.cell)},SD=D(wD,e=>e.bottom,(e,t)=>e.ye.top,(e,t)=>e.y>t),xD=(e,t,n)=>{const o=e(t,n);return(e=>e.breakType===qN.Wrap&&0===e.positions.length)(o)||!ms(n.getNode())&&(e=>e.breakType===qN.Br&&1===e.positions.length)(o)?!((e,t,n)=>n.breakAt.exists(n=>e(t,n).breakAt.isSome()))(e,t,o):o.breakAt.isNone()},kD=D(xD,JN),_D=D(xD,eA),ND=(e,t,n,o)=>{const r=e.selection.getRng(),s=t?1:-1;return!(!Tu()||!((e,t,n)=>{const o=Kl.fromRangeStart(t);return kf(!e,n).exists(e=>e.isEqual(o))})(t,r,n)||(J_(s,e,n,!t,!1).each(t=>{CA(e,t)}),0))},AD=(e,t,n)=>{const o=((e,t)=>{const n=t.getNode(e);return ns(n)?I.some(n):I.none()})(!!t,n),r=!1===t;o.fold(()=>CA(e,n.toRange()),o=>kf(r,e.getBody()).filter(e=>e.isEqual(n)).fold(()=>CA(e,n.toRange()),n=>((e,t,n)=>{t.undoManager.transact(()=>{const o=e?uo:mo,r=bR(t,un.fromDom(n),o);CA(t,r)})})(t,e,o)))},RD=(e,t,n,o)=>{const r=e.selection.getRng(),s=Kl.fromRangeStart(r),a=e.getBody();if(!t&&kD(o,s)){const o=((e,t,n)=>((e,t)=>ce(t.getClientRects()).bind(t=>SD(e,t.left,t.top)).bind(e=>{return ZN(Rf(n=e).map(e=>JN(n,e).positions.concat(e)).getOr([]),t);var n}))(t,n).orThunk(()=>ce(n.getClientRects()).bind(n=>QN(tA(e,Kl.before(t)),n.left))).getOr(Kl.before(t)))(a,n,s);return AD(e,t,o),!0}if(t&&_D(o,s)){const o=((e,t,n)=>((e,t)=>de(t.getClientRects()).bind(t=>ED(e,t.left,t.top)).bind(e=>{return ZN(Af(n=e).map(e=>[e].concat(eA(n,e).positions)).getOr([]),t);var n}))(t,n).orThunk(()=>ce(n.getClientRects()).bind(n=>QN(nA(e,Kl.after(t)),n.left))).getOr(Kl.after(t)))(a,n,s);return AD(e,t,o),!0}return!1},DD=(e,t,n)=>I.from(e.dom.getParent(e.selection.getNode(),"td,th")).bind(o=>I.from(e.dom.getParent(o,"table")).map(r=>n(e,t,r,o))).getOr(!1),TD=(e,t)=>DD(e,t,ND),OD=(e,t)=>DD(e,t,RD),BD=(e,t,n)=>n.fold(I.none,I.none,(e,t)=>{return(n=t,dr(n,Pr)).map(e=>(e=>{const t=Ur.exact(e,0,e,0);return Hr(t)})(e));var n},n=>!e.mode.isReadOnly()&&PD(n)&&(e=>ID(e)||Un(e).some(e=>Nn(e)&&ID(e)))(n)?(e.execCommand("mceTableInsertRowAfter"),LD(e,t,n)):I.none()),PD=e=>lr(e,On("table")).exists(Sr),LD=(e,t,n)=>{return BD(e,t,(r=ID,KR(o=n,void 0).fold(()=>qR.none(o),e=>WR(e.all,o,e.index,1,r))));var o,r},MD=(e,t,n)=>{return BD(e,t,(r=ID,KR(o=n,void 0).fold(()=>qR.none(),e=>WR(e.all,o,e.index,-1,r))));var o,r},ID=e=>Sr(e)||Dr(e,FD),FD=e=>Nn(e)&&Sr(e),UD=(e,t)=>{const n=["table","li","dl"],o=un.fromDom(e.getBody()),r=e=>{const t=En(e);return vn(e,o)||$(n,t)},s=e.selection.getRng();return((e,t)=>((e,t,n=L)=>n(t)?I.none():$(e,En(t))?I.some(t):mr(t,e.join(","),e=>bn(e,"table")||n(e)))(["td","th"],e,t))(un.fromDom(t?s.endContainer:s.startContainer),r).map(n=>(HR(n,r).each(t=>{e.model.table.clearSelectedCells(t.dom)}),e.selection.collapse(!t),(t?LD:MD)(e,r,n).each(t=>{e.selection.setRng(t)}),!0)).getOr(!1)},zD=(e,t)=>({container:e,offset:t}),jD=gi.DOM,$D=e=>t=>e===t?-1:0,HD=(e,t,n)=>{if(ss(e)&&t>=0)return I.some(zD(e,t));{const o=Pi(jD);return I.from(o.backwards(e,t,$D(e),n)).map(e=>zD(e.container,e.container.data.length))}},VD=(e,t,n)=>{if(!ss(e))return I.none();const o=e.data;if(t>=0&&t<=o.length)return I.some(zD(e,t));{const o=Pi(jD);return I.from(o.backwards(e,t,$D(e),n)).bind(e=>{const o=e.container.data;return VD(e.container,t+o.length,n)})}},qD=(e,t,n)=>{if(!ss(e))return I.none();const o=e.data;if(t<=o.length)return I.some(zD(e,t));{const r=Pi(jD);return I.from(r.forwards(e,t,$D(e),n)).bind(e=>qD(e.container,t-o.length,n))}},WD=(e,t,n,o,r)=>{const s=Pi(e,(e=>t=>e.isBlock(t)||$(["BR","IMG","HR","INPUT"],t.nodeName)||"false"===e.getContentEditable(t))(e));return I.from(s.backwards(t,n,o,r))},KD=e=>""!==e&&-1!==" \xa0\ufeff\f\n\r\t\v".indexOf(e),YD=(e,t)=>e.substring(t.length),GD=(e,t,n,o=!1)=>{if(!(r=t).collapsed||!ss(r.startContainer))return I.none();var r;const s={text:"",offset:0},a=e.getParent(t.startContainer,e.isBlock)||e.getRoot();return WD(e,t.startContainer,t.startOffset,(e,t,r)=>(s.text=r+s.text,s.offset+=t,((e,t,n,o=!1)=>{let r;const s=n.charAt(0);for(r=t-1;r>=0;r--){const a=e.charAt(r);if(!o&&KD(a))return I.none();if(s===a&&Xe(e,n,r,t))break}return I.some(r)})(s.text,s.offset,n,o).getOr(t)),a).bind(e=>{const o=t.cloneRange();if(o.setStart(e.container,e.offset),o.setEnd(t.endContainer,t.endOffset),o.collapsed)return I.none();const r=(e=>Gi(e.toString().replace(/\u00A0/g," ")))(o);return 0!==r.lastIndexOf(n)?I.none():I.some({text:YD(r,n),range:o,trigger:n})})},XD=e=>{if((e=>3===e.nodeType)(e))return zD(e,e.data.length);{const t=e.childNodes;return t.length>0?XD(t[t.length-1]):zD(e,t.length)}},QD=(e,t)=>{const n=e.childNodes;return n.length>0&&t0&&(e=>1===e.nodeType)(e)&&n.length===t?XD(n[n.length-1]):zD(e,t)},ZD=(e,t,n,o={})=>{const r=t(),s=e.selection.getRng().startContainer.nodeValue??"",a=Y(r.lookupByTrigger(n.trigger),t=>n.text.length>=t.minChars&&t.matches.getOrThunk(()=>(e=>t=>{const n=QD(t.startContainer,t.startOffset);return!((e,t)=>{const n=e.getParent(t.container,e.isBlock)??e.getRoot();return WD(e,t.container,t.offset,(e,t)=>0===t?-1:t,n).filter(e=>{const t=e.container.data.charAt(e.offset-1);return!KD(t)}).isSome()})(e,n)})(e.dom))(n.range,s,n.text));if(0===a.length)return I.none();const i=Promise.all(V(a,e=>e.fetch(n.text,e.maxResults,o).then(t=>({matchText:n.text,items:t,columns:e.columns,onAction:e.onAction,highlightOn:e.highlightOn}))));return I.some({lookupData:i,context:n})},JD=Hc("type"),eT=Vc("fetch"),tT=Vc("onAction");Wc("name"),Wc("text"),Wc("role"),Wc("icon"),Wc("url"),Wc("tooltip"),Wc("chevronTooltip"),Wc("label"),Wc("shortcut");const nT=Mc([JD,Hc("trigger"),Yc("minChars",1),(e=>jc(e,e,Tc(1),_c()))("columns"),Yc("maxResults",10),qc("matches",Dc),eT,tT,(oT=Rc,Kc("highlightOn",[],Ic(oT)))]);var oT;const rT=e=>{const t=Ke(),n=Ae(!1),o=t.isSet,r=()=>{o()&&((e=>{e.dispatch("AutocompleterEnd")})(e),n.set(!1),t.clear())},s=lt(()=>(e=>{const t=e.ui.registry.getAll().popups,n=be(t,e=>{return(t=e,Uc("Autocompleter",nT,t)).fold(e=>{throw new Error(zc(e))},A);var t}),o=ut(Se(n,e=>e.trigger)),r=Ee(n);return{dataset:n,triggers:o,lookupByTrigger:e=>Y(r,t=>t.trigger===e)}})(e)),a=a=>{(n=>t.get().map(t=>GD(e.dom,e.selection.getRng(),t.trigger,!0).bind(t=>ZD(e,s,t,n))).getOrThunk(()=>((e,t)=>{const n=t(),o=e.selection.getRng();return((e,t,n)=>ue(n.triggers,n=>GD(e,t,n)))(e.dom,o,n).bind(n=>ZD(e,t,n))})(e,s)))(a).fold(r,r=>{(e=>{o()||t.set({trigger:e.trigger,matchLength:e.text.length})})(r.context),r.lookupData.then(o=>{t.get().map(s=>{const a=r.context;s.trigger===a.trigger&&(t.set({...s,matchLength:a.text.length}),n.get()?(id(e,{range:a.range}),((e,t)=>{e.dispatch("AutocompleterUpdate",t)})(e,{lookupData:o})):(n.set(!0),id(e,{range:a.range}),((e,t)=>{e.dispatch("AutocompleterStart",t)})(e,{lookupData:o})))})})})},i=()=>t.get().bind(({trigger:t})=>{const o=e.selection.getRng();return GD(e.dom,o,t,n.get()).filter(({range:e})=>((e,t)=>{const n=e.compareBoundaryPoints(window.Range.START_TO_START,t),o=e.compareBoundaryPoints(window.Range.END_TO_END,t);return n>=0&&o<=0})(o,e)).map(({range:e})=>e)});e.addCommand("mceAutocompleterReload",(e,t)=>{const n=f(t)?t.fetchOptions:{};a(n)}),e.addCommand("mceAutocompleterClose",r),e.addCommand("mceAutocompleterRefreshActiveRange",()=>{i().each(t=>{id(e,{range:t})})}),e.editorCommands.addQueryStateHandler("mceAutoCompleterInRange",()=>i().isSome()),((e,t)=>{const n=it(t.load,50);e.on("input",t=>{("insertCompositionText"!==t.inputType||e.composing)&&n.throttle()}),e.on("keydown",e=>{const o=e.which;8===o?n.throttle():27===o?(n.cancel(),t.cancelIfNecessary()):38!==o&&40!==o||n.cancel()},!0),e.on("remove",n.cancel)})(e,{cancelIfNecessary:r,load:a})},sT=Xt().browser.isSafari(),aT=e=>Wi(un.fromDom(e)),iT=(e,t)=>0===e.startOffset&&e.endOffset===t.textContent?.length,lT=(e,t)=>I.from(e.getParent(t.container(),"details")),cT=(e,t)=>lT(e,t).isSome(),dT=(e,t)=>{const n=t.getNode();y(n)||e.selection.setCursorLocation(n,t.offset())},mT=(e,t,n)=>{const o=e.dom.getParent(t.container(),"details");if(o&&!o.open){const t=e.dom.select("summary",o)[0];t&&(n?Af(t):Rf(t)).each(t=>dT(e,t))}else dT(e,t)},uT=(e,t,n)=>{const{dom:o,selection:r}=e,s=e.getBody();if("character"===n){const n=Kl.fromRangeStart(r.getRng()),a=o.getParent(n.container(),o.isBlock),i=lT(o,n),l=a&&o.isEmpty(a),c=h(a?.previousSibling),d=h(a?.nextSibling);return!!(l&&(t?d:c)&&Ef(!t,s,n).exists(e=>cT(o,e)&&!je(i,lT(o,e))))||Ef(t,s,n).fold(L,n=>{const r=lT(o,n);if(cT(o,n)&&!je(i,r)){if(t||mT(e,n,!1),a&&l){if(t&&c)return!0;if(!t&&d)return!0;mT(e,n,t),e.dom.remove(a)}return!0}return!1})}return!1},fT=(e,t,n,o)=>{const r=e.selection.getRng(),s=Kl.fromRangeStart(r),a=e.getBody();return"selection"===o?((e,t)=>{const n=t.startSummary.exists(t=>t.contains(e.startContainer)),o=t.startSummary.exists(t=>t.contains(e.endContainer)),r=t.startDetails.forall(e=>t.endDetails.forall(t=>e!==t));return(n||o)&&!(n&&o)||r})(r,t):n?((e,t)=>t.startSummary.exists(t=>((e,t)=>Rf(t).exists(n=>ms(n.getNode())&&Nf(t,n).exists(t=>t.isEqual(e))||n.isEqual(e)))(e,t)))(s,t)||((e,t,n)=>n.startDetails.exists(n=>_f(e,t).forall(e=>!n.contains(e.container()))))(a,s,t):((e,t)=>t.startSummary.exists(t=>((e,t)=>Af(t).exists(t=>t.isEqual(e)))(e,t)))(s,t)||((e,t)=>t.startDetails.exists(n=>Nf(n,e).forall(n=>t.startSummary.exists(t=>!t.contains(e.container())&&t.contains(n.container())))))(s,t)},gT=(e,t,n)=>((e,t,n)=>((e,t)=>{const n=I.from(e.getParent(t.startContainer,"details")),o=I.from(e.getParent(t.endContainer,"details"));if(n.isSome()||o.isSome()){const t=n.bind(t=>I.from(e.select("summary",t)[0]));return I.some({startSummary:t,startDetails:n,endDetails:o})}return I.none()})(e.dom,e.selection.getRng()).fold(()=>uT(e,t,n),o=>fT(e,o,t,n)||uT(e,t,n)))(e,t,n)||sT&&((e,t,n)=>{const o=e.selection,r=o.getNode(),s=o.getRng(),a=Kl.fromRangeStart(s);return!!Es(r)&&("selection"===n&&iT(s,r)||py(t,a,r)?aT(r):e.undoManager.transact(()=>{const s=o.getSel();let{anchorNode:a,anchorOffset:i,focusNode:l,focusOffset:c}=s??{};const d=()=>{C(a)&&C(i)&&C(l)&&C(c)&&s?.setBaseAndExtent(a,i,l,c)},m=(e,t)=>{q(e.childNodes,e=>{dg(e)&&t.appendChild(e)})},u=e.dom.create("span",{"data-mce-bogus":"1"});m(r,u),r.appendChild(u),d(),"word"!==n&&"line"!==n||s?.modify("extend",t?"right":"left",n),!o.isCollapsed()&&iT(o.getRng(),u)?aT(r):(e.execCommand(t?"ForwardDelete":"Delete"),a=s?.anchorNode,i=s?.anchorOffset,l=s?.focusNode,c=s?.focusOffset,m(u,r),d()),e.dom.remove(u)}),!0)})(e,t,n)?I.some(x):I.none(),pT=Xt(),hT=pT.os,bT=hT.isMacOS()||hT.isiOS(),yT=pT.browser.isFirefox(),vT=(e,t)=>{const n=e.dom,o=e.schema.getMoveCaretBeforeOnEnterElements();if(!t)return;if(ji(un.fromDom(t))){const e=e=>zi(e)?I.from(e):dr(e,zi),o=e=>n.isEmpty(e.dom);(e=>{for(;e;){if(Xr(e)||ss(e)&&e.data&&/[\r\n\s]/.test(e.data))return I.from(un.fromDom(e));e=e.nextSibling}return I.none()})(t.firstChild).each(t=>{e(t).fold(()=>{if(o(t)){const e=eD(t,0).element;An(e)&&!Mi(e)&&go(e,un.fromHtml('
    '))}},e=>{mo(e,un.fromText(dt))})})}const r=n.createRng();if(t.normalize(),t.hasChildNodes()){const e=new Kr(t,t);let n,s=t;for(;n=e.current();){if(ss(n)){r.setStart(n,0),r.setEnd(n,0);break}if(o[n.nodeName.toLowerCase()]){r.setStartBefore(n),r.setEndBefore(n);break}s=n,n=e.next()}n||(r.setStart(s,0),r.setEnd(s,0))}else ms(t)?t.nextSibling&&n.isBlock(t.nextSibling)?(r.setStartBefore(t),r.setEndBefore(t)):(r.setStartAfter(t),r.setEndAfter(t)):(r.setStart(t,0),r.setEnd(t,0));e.selection.setRng(r),bh(e,r)},CT=(e,t)=>{const n=e.getRoot();let o,r=t;for(;r!==n&&r&&"false"!==e.getContentEditable(r);){if("true"===e.getContentEditable(r)){o=r;break}r=r.parentNode}return r!==n?o:n},wT=e=>I.from(e.dom.getParent(e.selection.getStart(!0),e.dom.isBlock)),ST=e=>{e.innerHTML='
    '},ET=(e,t)=>{Ed(e).toLowerCase()===t.tagName.toLowerCase()&&((e,t,n)=>{const o=e.dom;I.from(n.style).map(o.parseStyle).each(e=>{const n={...qo(un.fromDom(t)),...e};o.setStyles(t,n)});const r=I.from(n.class).map(e=>e.split(/\s+/)),s=I.from(t.className).map(e=>Y(e.split(/\s+/),e=>""!==e));$e(r,s,(e,n)=>{const r=Y(n,t=>!$(e,t)),s=[...e,...r];o.setAttrib(t,"class",s.join(" "))});const a=["style","class"],i=we(n,(e,t)=>!$(a,t));o.setAttribs(t,i)})(e,t,xd(e))},xT=(e,t,n,o,r=!0,s,a)=>{const i=e.dom,l=e.schema,c=Ed(e),d=n?n.nodeName.toUpperCase():"";let m=t;const u=l.getTextInlineElements();let f;f=s||"TABLE"===d||"HR"===d?i.create(s||c,a||{}):n.cloneNode(!1);let g=f;if(r){do{if(u[m.nodeName]){if(Tf(m)||Vf(m))continue;const e=m.cloneNode(!1);i.setAttrib(e,"id",""),f.hasChildNodes()?(e.appendChild(f.firstChild),f.appendChild(e)):(g=e,f.appendChild(e))}}while((m=m.parentNode)&&m!==o);"LI"!==f.nodeName&&((e,t)=>{const n=un.fromDom(e),o=un.fromDom(t),r=On("span"),s=D(vn,n),a=e=>An(e)&&Vo(e,"font-size").isSome(),i=[...a(o)?[o]:[],...kr(o,a,s)];q(i.slice(1),e=>{Wo(e,"font-size"),xo(e,"data-mce-style"),r(e)&&ko(e)&&Ro(e)})})(f,g)}else i.setAttrib(f,"style",null),i.setAttrib(f,"class",null);return ET(e,f),ST(g),f},kT=(e,t)=>{const n=e?.parentNode;return C(n)&&n.nodeName===t},_T=e=>C(e)&&/^(OL|UL|LI)$/.test(e.nodeName),NT=e=>C(e)&&/^(LI|DT|DD)$/.test(e.nodeName),AT=e=>{const t=e.parentNode;return NT(t)?t:e},RT=(e,t,n)=>{let o=e[n?"firstChild":"lastChild"];for(;o&&!Xr(o);)o=o[n?"nextSibling":"previousSibling"];return o===t},DT=(e,t)=>t&&"A"===t.nodeName&&e.isEmpty(t),TT=(e,t)=>e.nodeName===t||e.previousSibling&&e.previousSibling.nodeName===t,OT=(e,t)=>C(t)&&e.isBlock(t)&&!/^(TD|TH|CAPTION|FORM)$/.test(t.nodeName)&&!/^(fixed|absolute)/i.test(t.style.position)&&e.isEditable(t.parentNode)&&"false"!==e.getContentEditable(t),BT=(e,t,n)=>ss(t)?e?1===n&&t.data.charAt(n-1)===Ki?0:n:n===t.data.length-1&&t.data.charAt(n)===Ki?t.data.length:n:n,PT={insert:(e,t)=>{let n,o,r,s,a=!1;const i=e.dom,l=e.schema.getNonEmptyElements(),c=e.selection.getRng(),d=Ed(e),m=un.fromDom(c.startContainer),f=qn(m,c.startOffset),g=f.exists(e=>Nn(e)&&!Sr(e)),p=c.collapsed&&g,b=(t,o)=>xT(e,n,k,x,Ad(e),t,o),y=e=>{const t=BT(e,n,o);if(ss(n)&&(e?t>0:t"BR"===e.nodeName||e.nextSibling&&"BR"===e.nextSibling.nodeName)(n)?!e:a&&!e||!a&&e;const r=new Kr(n,k);let s;for(ss(n)&&(e&&0===t?r.prev():e||t!==n.data.length||r.next());s=r.current();){if(Xr(s)){if(!s.getAttribute("data-mce-bogus")){const e=s.nodeName.toLowerCase();if(l[e]&&"br"!==e)return!1}}else if(ss(s)&&!Ns(s.data))return!1;e?r.prev():r.next()}return!0},w=()=>{let t;return t=/^(H[1-6]|PRE|FIGURE)$/.test(r)&&"HGROUP"!==_?b(d):b(),((e,t)=>{const n=Rd(e);return!v(t)&&(u(n)?$(dn.explode(n),t.nodeName.toLowerCase()):n)})(e,s)&&OT(i,s)&&i.isEmpty(k,void 0,{includeZwsp:!0})?t=i.split(s,k):i.insertAfter(t,k),vT(e,t),t};Xp(i,c).each(e=>{c.setStart(e.startContainer,e.startOffset),c.setEnd(e.endContainer,e.endOffset)}),n=c.startContainer,o=c.startOffset;const S=!(!t||!t.shiftKey),E=!(!t||!t.ctrlKey);Xr(n)&&n.hasChildNodes()&&!p&&(a=o>n.childNodes.length-1,n=n.childNodes[Math.min(o,n.childNodes.length-1)]||n,o=a&&ss(n)?n.data.length:0);const x=CT(i,n);if(!x||((e,t)=>{const n=e.dom.getParent(t,"ol,ul,dl");return null!==n&&"false"===e.dom.getContentEditableParent(n)})(e,n))return;S||(n=((e,t,n,o,r)=>{const s=e.dom,a=CT(s,o)??s.getRoot();let i=s.getParent(o,s.isBlock);if(!i||!OT(s,i)){if(i=i||a,!i.hasChildNodes()){const o=s.create(t);return ET(e,o),i.appendChild(o),n.setStart(o,0),n.setEnd(o,0),o}let l,c=o;for(;c&&c.parentNode!==i;)c=c.parentNode;for(;c&&!s.isBlock(c);)l=c,c=c.previousSibling;const d=l?.parentElement?.nodeName;if(l&&d&&e.schema.isValidChild(d,t.toLowerCase())){const a=l.parentNode,i=s.create(t);for(ET(e,i),a.insertBefore(i,l),c=l;c&&!s.isBlock(c);){const e=c.nextSibling;i.appendChild(c),c=e}n.setStart(o,r),n.setEnd(o,r)}}return o})(e,d,c,n,o));let k=i.getParent(n,i.isBlock)||i.getRoot();s=C(k?.parentNode)?i.getParent(k.parentNode,i.isBlock):null,r=k?k.nodeName.toUpperCase():"";const _=s?s.nodeName.toUpperCase():"";if("LI"!==_||E||(k=s,s=s.parentNode,r=_),Xr(s)&&((e,t,n)=>!t&&n.nodeName.toLowerCase()===Ed(e)&&e.dom.isEmpty(n)&&((e,t,n)=>{let o=t;for(;o&&o!==e&&h(o.nextSibling);){const e=o.parentElement;if(!e||!n(e))return Ss(e);o=e}return!1})(e.getBody(),n,t=>ke(e.schema.getTextBlockElements(),t.nodeName.toLowerCase())))(e,S,k))return((e,t,n)=>{const o=t(Ed(e)),r=((e,t)=>e.dom.getParent(t,Ss))(e,n);r&&(e.dom.insertAfter(o,r),vT(e,o),(n.parentElement?.childNodes?.length??0)>1&&e.dom.remove(n))})(e,b,k);if(/^(LI|DT|DD)$/.test(r)&&Xr(s)&&i.isEmpty(k))return void((e,t,n,o,r)=>{const s=e.dom,a=e.selection.getRng(),i=n.parentNode;if(n===e.getBody()||!i)return;var l;_T(l=n)&&_T(l.parentNode)&&(r="LI");const c=NT(o)&&"LI"===r?(e=>X(Se(qo(un.fromDom(e)),(e,t)=>`${t}: ${e};`),(e,t)=>e+t,""))(o):"";let d=ot(c)?t(r,{style:c}):t(r);if(RT(n,o,!0)&&RT(n,o,!1))if(kT(n,"LI")){const e=AT(n);s.insertAfter(d,e),(e=>e.parentNode?.firstChild===e)(n)?s.remove(e):s.remove(n)}else s.replace(d,n);else if(RT(n,o,!0))kT(n,"LI")?(s.insertAfter(d,AT(n)),d.appendChild(s.doc.createTextNode(" ")),d.appendChild(n)):i.insertBefore(d,n),s.remove(o);else if(RT(n,o,!1))s.insertAfter(d,AT(n)),s.remove(o);else{n=AT(n);const e=a.cloneRange();e.setStartAfter(o),e.setEndAfter(n);const t=e.extractContents();if("LI"===r&&(e=>e.firstChild&&"LI"===e.firstChild.nodeName)(t)){const e=Y(V(d.children,un.fromDom),T(On("br")));d=t.firstChild,s.insertAfter(t,n),q(e,e=>fo(un.fromDom(d),e)),ot(c)&&d.setAttribute("style",c)}else s.insertAfter(t,n),s.insertAfter(d,n);s.remove(o)}vT(e,d)})(e,b,s,k,d);if(!(p||k!==e.getBody()&&OT(i,k)))return;const N=k.parentNode;let A;if(p)A=b(d),f.fold(()=>{go(m,un.fromDom(A))},e=>{mo(e,un.fromDom(A))}),e.selection.setCursorLocation(A,0);else if(Zi(k))A=al(k),i.isEmpty(k)&&ST(k),ET(e,A),vT(e,A);else if(y(!1))A=w();else if(y(!0)&&N){const t=Kl.fromRangeStart(c),n=mb(t),o=un.fromDom(k),r=Nb(o,t,e.schema)?Ab(o,t,e.schema).bind(e=>I.from(e.getNode())):I.none();A=N.insertBefore(b(),k);const s=TT(k,"HR")||n?A:r.getOr(k);vT(e,s)}else{const t=(e=>{const t=e.cloneRange();return t.setStart(e.startContainer,BT(!0,e.startContainer,e.startOffset)),t.setEnd(e.endContainer,BT(!1,e.endContainer,e.endOffset)),t})(c).cloneRange();t.setEndAfter(k);const n=t.extractContents();(e=>{q(Nr(un.fromDom(e),Rn),e=>{const t=e.dom;t.nodeValue=Gi(t.data)})})(n),(e=>{let t=e;do{ss(t)&&(t.data=t.data.replace(/^[\r\n]+/,"")),t=t.firstChild}while(t)})(n),A=n.firstChild,k===A?C(N)&&i.insertAfter(n,N):i.insertAfter(n,k),(e=>{const t=Wn(e).bind(jn);return ji(e)&&t.exists(zi)})(un.fromDom(A))?(e=>{const t=eD(un.fromDom(e),0).element;Rn(t)&&i.isEmpty(t.dom)&&t.dom.remove()})(A):(((e,t,n)=>{const o=[];if(!n)return;let r=n;for(;r=r.firstChild;){if(e.isBlock(r))return;Xr(r)&&!t[r.nodeName.toLowerCase()]&&o.push(r)}let s=o.length;for(;s--;)r=o[s],(!r.hasChildNodes()||r.firstChild===r.lastChild&&""===r.firstChild?.nodeValue||DT(e,r))&&e.remove(r)})(i,l,A),((e,t)=>{t.normalize();const n=t.lastChild;(!n||Xr(n)&&/^(left|right)$/gi.test(e.getStyle(n,"float",!0)))&&e.add(t,"br")})(i,k)),i.isEmpty(k)&&ST(k),A.normalize(),i.isEmpty(A)?(i.remove(A),w()):(ET(e,A),vT(e,A))}i.setAttrib(A,"id",""),e.dispatch("NewBlock",{newBlock:A})},fakeEventName:"insertParagraph"},LT=(e,t,n)=>{const o=e.dom.createRng();n?(o.setStartBefore(t),o.setEndBefore(t)):(o.setStartAfter(t),o.setEndAfter(t)),e.selection.setRng(o),bh(e,o)},MT=(e,t)=>{const n=un.fromTag("br");mo(un.fromDom(t),n),e.undoManager.add()},IT=(e,t)=>{FT(e.getBody(),t)||uo(un.fromDom(t),un.fromTag("br"));const n=un.fromTag("br");uo(un.fromDom(t),n),LT(e,n.dom,!1),e.undoManager.add()},FT=(e,t)=>{return n=Kl.after(t),!!ms(n.getNode())||_f(e,Kl.after(t)).map(e=>ms(e.getNode())).getOr(!1);var n},UT=e=>e&&"A"===e.nodeName&&"href"in e,zT=e=>e.fold(L,UT,UT,L),jT=(e,t)=>{t.fold(x,D(MT,e),D(IT,e),x)},$T={insert:(e,t)=>{const n=(e=>{const t=D(oy,e),n=Kl.fromRangeStart(e.selection.getRng());return MN(t,e.getBody(),n).filter(zT)})(e);n.isSome()?n.each(D(jT,e)):((e,t)=>{const n=e.selection,o=e.dom,r=n.getRng();let s,a=!1;Xp(o,r).each(e=>{r.setStart(e.startContainer,e.startOffset),r.setEnd(e.endContainer,e.endOffset)});let i=r.startOffset,l=r.startContainer;if(Xr(l)&&l.hasChildNodes()){const e=i>l.childNodes.length-1;l=l.childNodes[Math.min(i,l.childNodes.length-1)]||l,i=e&&ss(l)?l.data.length:0}let c=o.getParent(l,o.isBlock);const d=c&&c.parentNode?o.getParent(c.parentNode,o.isBlock):null,m=d?d.nodeName.toUpperCase():"",u=!(!t||!t.ctrlKey);"LI"!==m||u||(c=d),ss(l)&&i>=l.data.length&&(((e,t,n)=>{const o=new Kr(t,n);let r;const s=e.getNonEmptyElements();for(;r=o.next();)if(s[r.nodeName.toLowerCase()]||ss(r)&&r.length>0)return!0;return!1})(e.schema,l,c||o.getRoot())||(s=o.create("br"),r.insertNode(s),r.setStartAfter(s),r.setEndAfter(s),a=!0)),s=o.create("br"),Gl(o,r,s),LT(e,s,a),e.undoManager.add()})(e,t)},fakeEventName:"insertLineBreak"},HT=(e,t)=>wT(e).filter(e=>t.length>0&&bn(un.fromDom(e),t)).isSome(),VT=Ne([{br:[]},{block:[]},{none:[]}]),qT=(e,t)=>(e=>HT(e,Nd(e)))(e),WT=e=>(t,n)=>(e=>wT(e).filter(e=>ji(un.fromDom(e))).isSome())(t)===e,KT=(e,t)=>(n,o)=>{const r=(e=>wT(e).fold(N(""),e=>e.nodeName.toUpperCase()))(n)===e.toUpperCase();return r===t},YT=e=>{const t=CT(e.dom,e.selection.getStart());return v(t)},GT=e=>KT("pre",e),XT=e=>(t,n)=>Sd(t)===e,QT=(e,t)=>(e=>HT(e,_d(e)))(e),ZT=(e,t)=>t,JT=e=>{const t=Ed(e),n=CT(e.dom,e.selection.getStart());return C(n)&&e.schema.isValidChild(n.nodeName,t)},eO=e=>{const t=e.selection.getRng(),n=un.fromDom(t.startContainer),o=qn(n,t.startOffset).map(e=>Nn(e)&&!Sr(e));return t.collapsed&&o.getOr(!0)},tO=(e,t)=>(n,o)=>X(e,(e,t)=>e&&t(n,o),!0)?I.some(t):I.none(),nO=(e,t,n)=>{if(!t.mode.isReadOnly()){if(t.selection.isCollapsed()||(e=>{e.execCommand("delete")})(t),C(n)&&gk(t,e.fakeEventName).isDefaultPrevented())return;e.insert(t,n),C(n)&&fk(t,e.fakeEventName)}},oO=(e,t)=>{if(e.mode.isReadOnly())return;const n=()=>nO($T,e,t),o=()=>nO(PT,e,t),r=((e,t)=>_N([tO([qT],VT.none()),tO([GT(!0),YT],VT.none()),tO([KT("summary",!0)],VT.br()),tO([GT(!0),XT(!1),ZT],VT.br()),tO([GT(!0),XT(!1)],VT.block()),tO([GT(!0),XT(!0),ZT],VT.block()),tO([GT(!0),XT(!0)],VT.br()),tO([WT(!0),ZT],VT.br()),tO([WT(!0)],VT.block()),tO([QT],VT.br()),tO([ZT],VT.br()),tO([JT],VT.block()),tO([eO],VT.block())],[e,!(!t||!t.shiftKey)]).getOr(VT.none()))(e,t);switch(kd(e)){case"linebreak":r.fold(n,n,x);break;case"block":r.fold(o,o,x);break;case"invert":r.fold(o,n,x);break;default:r.fold(n,o,x)}},rO=Xt(),sO=rO.os.isiOS()&&rO.browser.isSafari(),aO=(e,t)=>{var n;t.isDefaultPrevented()||(t.preventDefault(),(n=e.undoManager).typing&&(n.typing=!1,n.add()),e.undoManager.transact(()=>{oO(e,t)}))},iO=Xt(),lO=e=>e.stopImmediatePropagation(),cO=e=>e.keyCode===Lp.PAGE_UP||e.keyCode===Lp.PAGE_DOWN,dO=(e,t,n)=>{n&&!e.get()?t.on("NodeChange",lO,!0):!n&&e.get()&&t.off("NodeChange",lO),e.set(n)},mO=(e,t)=>e===t||e.contains(t),uO=(e,t)=>{const n=t.container(),o=t.offset();return ss(n)?(n.insertData(o,e),I.some(Kl(n,o+e.length))):rf(t).map(n=>{const o=un.fromText(e);return t.isAtEnd()?uo(n,o):mo(n,o),Kl(o.dom,e.length)})},fO=D(uO,dt),gO=D(uO," "),pO=e=>t=>{e.selection.setRng(t.toRange()),e.nodeChanged()},hO=e=>{const t=Kl.fromRangeStart(e.selection.getRng()),n=un.fromDom(e.getBody());if(e.selection.isCollapsed()){const o=D(oy,e),r=Kl.fromRangeStart(e.selection.getRng());return MN(o,e.getBody(),r).bind((e=>t=>t.fold(t=>Nf(e.dom,Kl.before(t)),e=>Af(e),e=>Rf(e),t=>_f(e.dom,Kl.after(t))))(n)).map(o=>()=>((e,t,n)=>o=>Mb(e,o,n)?fO(t):gO(t))(n,t,e.schema)(o).each(pO(e)))}return I.none()},bO=e=>{return He(sn.browser.isFirefox()&&e.selection.isEditable()&&(t=e.dom,n=e.selection.getRng().startContainer,t.isEditable(t.getParent(n,"summary"))),()=>{const t=un.fromDom(e.getBody());e.selection.isCollapsed()||e.getDoc().execCommand("Delete"),((e,t,n)=>Mb(e,t,n)?fO(t):gO(t))(t,Kl.fromRangeStart(e.selection.getRng()),e.schema).each(pO(e))});var t,n},yO=e=>su(e)?[{keyCode:Lp.TAB,action:MR(UD,e,!0)},{keyCode:Lp.TAB,shiftKey:!0,action:MR(UD,e,!1)}]:[],vO=e=>{if(e.addShortcut("Meta+P","","mcePrint"),rT(e),zE(e))return Ae(null);{const t=PA(e);return(e=>{e.on("beforeinput",t=>{e.selection.isEditable()&&!H(t.getTargetRanges(),t=>!((e,t)=>!mO(e.getBody(),t.startContainer)||!mO(e.getBody(),t.endContainer)||yh(e.dom,t))(e,t))||t.preventDefault()})})(e),(e=>{e.on("keyup compositionstart",D(SR,e))})(e),((e,t)=>{e.on("keydown",n=>{n.isDefaultPrevented()||((e,t,n)=>{const o=sn.os.isMacOS()||sn.os.isiOS(),r=sn.browser.isFirefox();IR([{keyCode:Lp.RIGHT,action:MR(kR,e,!0)},{keyCode:Lp.LEFT,action:MR(kR,e,!1)},{keyCode:Lp.UP,action:MR(_R,e,!1)},{keyCode:Lp.DOWN,action:MR(_R,e,!0)},...o?[{keyCode:Lp.UP,action:MR(AR,e,!1),metaKey:!0,shiftKey:!0},{keyCode:Lp.DOWN,action:MR(AR,e,!0),metaKey:!0,shiftKey:!0}]:[],{keyCode:Lp.RIGHT,action:MR(TD,e,!0)},{keyCode:Lp.LEFT,action:MR(TD,e,!1)},{keyCode:Lp.UP,action:MR(OD,e,!1)},{keyCode:Lp.DOWN,action:MR(OD,e,!0)},{keyCode:Lp.UP,action:MR(OD,e,!1)},{keyCode:Lp.UP,action:MR(BR,e,!1)},{keyCode:Lp.DOWN,action:MR(BR,e,!0)},{keyCode:Lp.RIGHT,action:MR(UR,e,!0)},{keyCode:Lp.LEFT,action:MR(UR,e,!1)},{keyCode:Lp.UP,action:MR(zR,e,!1)},{keyCode:Lp.DOWN,action:MR(zR,e,!0)},{keyCode:Lp.RIGHT,action:MR(OA,e,t,!0)},{keyCode:Lp.LEFT,action:MR(OA,e,t,!1)},{keyCode:Lp.RIGHT,ctrlKey:!o,altKey:o,action:MR(LA,e,t)},{keyCode:Lp.LEFT,ctrlKey:!o,altKey:o,action:MR(MA,e,t)},{keyCode:Lp.UP,action:MR(OR,e,!1)},{keyCode:Lp.DOWN,action:MR(OR,e,!0)},...r?[{keyCode:Lp.UP,action:MR(DR,e,!1)},{keyCode:Lp.DOWN,action:MR(DR,e,!0)}]:[]],n).each(e=>{n.preventDefault()})})(e,t,n)})})(e,t),((e,t)=>{let n=!1,o=[];e.on("init",()=>{e.on("keydown",r=>{n=r.keyCode===Lp.BACKSPACE,o=VA(e),r.isDefaultPrevented()||((e,t,n)=>{const o=n.keyCode===Lp.BACKSPACE?"deleteContentBackward":"deleteContentForward",r=e.selection.isCollapsed(),s=r?"character":"selection",a=e=>r?e?"word":"line":"selection";FR([{keyCode:Lp.BACKSPACE,action:MR(lR,e)},{keyCode:Lp.BACKSPACE,action:MR(fN,e,!1)},{keyCode:Lp.DELETE,action:MR(fN,e,!0)},{keyCode:Lp.BACKSPACE,action:MR(sN,e,!1)},{keyCode:Lp.DELETE,action:MR(sN,e,!0)},{keyCode:Lp.BACKSPACE,action:MR(zA,e,t,!1)},{keyCode:Lp.DELETE,action:MR(zA,e,t,!0)},{keyCode:Lp.BACKSPACE,action:MR(Hy,e,!1)},{keyCode:Lp.DELETE,action:MR(Hy,e,!0)},{keyCode:Lp.BACKSPACE,action:MR(gT,e,!1,s)},{keyCode:Lp.DELETE,action:MR(gT,e,!0,s)},...bT?[{keyCode:Lp.BACKSPACE,altKey:!0,action:MR(gT,e,!1,a(!0))},{keyCode:Lp.DELETE,altKey:!0,action:MR(gT,e,!0,a(!0))},{keyCode:Lp.BACKSPACE,metaKey:!0,action:MR(gT,e,!1,a(!1))}]:[{keyCode:Lp.BACKSPACE,ctrlKey:!0,action:MR(gT,e,!1,a(!0))},{keyCode:Lp.DELETE,ctrlKey:!0,action:MR(gT,e,!0,a(!0))}],{keyCode:Lp.BACKSPACE,action:MR(pN,e,!1)},{keyCode:Lp.DELETE,action:MR(pN,e,!0)},{keyCode:Lp.BACKSPACE,action:MR(JA,e,!1)},{keyCode:Lp.DELETE,action:MR(JA,e,!0)},{keyCode:Lp.BACKSPACE,action:MR(Z_,e,!1)},{keyCode:Lp.DELETE,action:MR(Z_,e,!0)},{keyCode:Lp.BACKSPACE,action:MR(G_,e,!1)},{keyCode:Lp.DELETE,action:MR(G_,e,!0)},{keyCode:Lp.BACKSPACE,action:MR(XA,e,!1)},{keyCode:Lp.DELETE,action:MR(XA,e,!0)},{keyCode:Lp.BACKSPACE,action:MR(gN,e,!1)},{keyCode:Lp.DELETE,action:MR(gN,e,!0)},{keyCode:Lp.BACKSPACE,action:MR(cR,e,!1)},{keyCode:Lp.DELETE,action:MR(cR,e,!0)}],n).filter(t=>e.selection.isEditable()).each(t=>{n.preventDefault(),gk(e,o).isDefaultPrevented()||(t(),fk(e,o))})})(e,t,r)}),e.on("keyup",t=>{t.isDefaultPrevented()||(((e,t,n,o)=>{IR([{keyCode:Lp.BACKSPACE,action:MR(uN,e)},{keyCode:Lp.DELETE,action:MR(uN,e)},...bT?[{keyCode:Lp.BACKSPACE,altKey:!0,action:MR(QA,e)},{keyCode:Lp.DELETE,altKey:!0,action:MR(QA,e)},...n?[{keyCode:yT?224:91,action:MR(()=>(KA(e,o),QA(e)))}]:[]]:[{keyCode:Lp.BACKSPACE,ctrlKey:!0,action:MR(QA,e)},{keyCode:Lp.DELETE,ctrlKey:!0,action:MR(QA,e)}]],t)})(e,t,n,o),o.length=0),n=!1})})})(e,t),(e=>{let t=I.none();e.on("keydown",n=>{n.keyCode===Lp.ENTER&&(sO&&(e=>{if(!e.collapsed)return!1;const t=e.startContainer;if(ss(t)){const n=/^[\uAC00-\uD7AF\u1100-\u11FF\u3130-\u318F\uA960-\uA97F\uD7B0-\uD7FF]$/,o=t.data.charAt(e.startOffset-1);return n.test(o)}return!1})(e.selection.getRng())?(e=>{t=I.some(e.selection.getBookmark()),e.undoManager.add()})(e):aO(e,n))}),e.on("keyup",n=>{n.keyCode===Lp.ENTER&&t.each(()=>((e,n)=>{e.undoManager.undo(),t.fold(x,t=>e.selection.moveToBookmark(t)),aO(e,n),t=I.none()})(e,n))})})(e),(e=>{e.on("keydown",t=>{t.isDefaultPrevented()||((e,t)=>{FR([{keyCode:Lp.SPACEBAR,action:MR(hO,e)},{keyCode:Lp.SPACEBAR,action:MR(bO,e)}],t).each(n=>{t.preventDefault(),gk(e,"insertText",{data:" "}).isDefaultPrevented()||(n(),fk(e,"insertText",{data:" "}))})})(e,t)})})(e),(e=>{e.on("input",t=>{t.isComposing||(e=>{const t=un.fromDom(e.getBody());e.selection.isCollapsed()&&Vb(t,Kl.fromRangeStart(e.selection.getRng()),e.schema).each(t=>{e.selection.setRng(t.toRange())})})(e)})})(e),(e=>{e.on("keydown",t=>{t.isDefaultPrevented()||((e,t)=>{IR([...yO(e)],t).each(e=>{t.preventDefault()})})(e,t)})})(e),((e,t)=>{e.on("keydown",n=>{n.isDefaultPrevented()||((e,t,n)=>{const o=sn.os.isMacOS()||sn.os.isiOS();IR([{keyCode:Lp.END,action:MR(NR,e,!0)},{keyCode:Lp.HOME,action:MR(NR,e,!1)},...o?[]:[{keyCode:Lp.HOME,action:MR(AR,e,!1),ctrlKey:!0,shiftKey:!0},{keyCode:Lp.END,action:MR(AR,e,!0),ctrlKey:!0,shiftKey:!0}],{keyCode:Lp.END,action:MR(jR,e,!0)},{keyCode:Lp.HOME,action:MR(jR,e,!1)},{keyCode:Lp.END,action:MR(IA,e,!0,t)},{keyCode:Lp.HOME,action:MR(IA,e,!1,t)}],n).each(e=>{n.preventDefault()})})(e,t,n)})})(e,t),((e,t)=>{if(iO.os.isMacOS())return;const n=Ae(!1);e.on("keydown",t=>{cO(t)&&dO(n,e,!0)}),e.on("keyup",o=>{o.isDefaultPrevented()||((e,t,n)=>{IR([{keyCode:Lp.PAGE_UP,action:MR(IA,e,!1,t)},{keyCode:Lp.PAGE_DOWN,action:MR(IA,e,!0,t)}],n)})(e,t,o),cO(o)&&n.get()&&(dO(n,e,!1),e.nodeChanged())})})(e,t),t}},CO=(e,t)=>()=>{const n=Uk(e);return C(n)&&n.nodeName===t},wO=e=>3===e.type,SO=e=>0===e.length,EO=e=>{const t=(t,n)=>{const o=Ah.create("li");q(t,e=>o.append(e)),n?e.insert(o,n,!0):e.append(o)},n=X(e.children(),(e,n)=>wO(n)?[...e,n]:SO(e)||wO(n)?e:(t(e,n),[]),[]);SO(n)||t(n)},xO=e=>{(e=>{e.on("init",()=>{e.on("keydown",t=>{t.defaultPrevented||(t.keyCode===Lp.BACKSPACE?F_(e,!1)&&t.preventDefault():t.keyCode===Lp.DELETE&&F_(e,!0)&&t.preventDefault())})})})(e),(e=>{e.addCommand("InsertUnorderedList",(t,n)=>{T_(e,"UL",n)}),e.addCommand("InsertOrderedList",(t,n)=>{T_(e,"OL",n)}),e.addCommand("InsertDefinitionList",(t,n)=>{T_(e,"DL",n)}),e.addCommand("RemoveList",()=>{v_(e)}),e.addCommand("mceListUpdate",(t,n)=>{f(n)&&((e,t)=>{const n=Uk(e);null===n||Kk(e,n)||e.undoManager.transact(()=>{f(t.styles)&&e.dom.setStyles(n,t.styles),f(t.attrs)&&he(t.attrs,(t,o)=>e.dom.setAttrib(n,o,t))})})(e,n)}),e.addCommand("mceListBackspaceDelete",(t,n)=>{F_(e,n)}),e.addQueryStateHandler("InsertUnorderedList",CO(e,"UL")),e.addQueryStateHandler("InsertOrderedList",CO(e,"OL")),e.addQueryStateHandler("InsertDefinitionList",CO(e,"DL"))})(e),(e=>{e.on("PreInit",()=>{const{parser:t}=e;t.addNodeFilter("ul,ol",e=>q(e,EO))})})(e),(e=>{hu(e)&&(e=>{e.on("keydown",t=>{t.keyCode!==Lp.TAB||Lp.metaKeyPressed(t)||e.undoManager.transact(()=>{(t.shiftKey?y_(e):b_(e))&&t.preventDefault()})})})(e)})(e)};class kO{editor;lastPath=[];constructor(e){let t;this.editor=e;const n=this;"onselectionchange"in e.getDoc()||e.on("NodeChange click mouseup keyup focus",n=>{const o=e.selection.getRng(),r={startContainer:o.startContainer,startOffset:o.startOffset,endContainer:o.endContainer,endOffset:o.endOffset};"nodechange"!==n.type&&Hp(r,t)||e.dispatch("SelectionChange"),t=r}),e.on("contextmenu",()=>{vp(e),e.dispatch("SelectionChange")}),e.on("SelectionChange",()=>{const t=e.selection.getStart(!0);t&&og(e)&&!n.isSameElementPath(t)&&e.dom.isChildOf(t,e.getBody())&&e.nodeChanged({selectionChange:!0})}),e.on("mouseup",t=>{!t.isDefaultPrevented()&&og(e)&&("IMG"===e.selection.getNode().nodeName?Sp.setEditorTimeout(e,()=>{e.nodeChanged()}):e.nodeChanged())})}nodeChanged(e={}){const t=this.editor,n=t.selection;let o;if(t.initialized&&n&&!vm(t)&&!fu(t)){const r=t.getBody();o=n.getStart(!0)||r,o.ownerDocument===t.getDoc()&&t.dom.isChildOf(o,r)||(o=r);const s=[];t.dom.getParent(o,e=>e===r||(s.push(e),!1)),t.dispatch("NodeChange",{...e,element:o,parents:s})}}isSameElementPath(e){let t;const n=this.editor,o=re(n.dom.getParents(e,M,n.getBody()));if(o.length===this.lastPath.length){for(t=o.length;t>=0&&o[t]===this.lastPath[t];t--);if(-1===t)return this.lastPath=o,!0}return this.lastPath=o,!1}}const _O="x-tinymce/html",NO=N(_O),AO="\x3c!-- "+_O+" --\x3e",RO=e=>AO+e,DO=e=>-1!==e.indexOf(AO),TO="%MCEPASTEBIN%",OO=e=>e.dom.get("mcepastebin"),BO=e=>C(e)&&"mcepastebin"===e.id,PO=e=>e===TO,LO=(e,t)=>(dn.each(t,t=>{e=m(t,RegExp)?e.replace(t,""):e.replace(t[0],t[1])}),e),MO=e=>LO(e,[/^[\s\S]*]*>\s*|\s*<\/body[^>]*>[\s\S]*$/gi,/|/g,[/( ?)\u00a0<\/span>( ?)/g,(e,t,n)=>t||n?dt:" "],/
    /g,/
    $/i]),IO=(e,t)=>({content:e,cancelled:t}),FO=(e,t)=>(e.insertContent(t,{merge:Hm(e),paste:!0}),!0),UO=e=>/^https?:\/\/[\w\-\/+=.,!;:&%@^~(){}?#]+$/i.test(e),zO=(e,t,n)=>!(e.selection.isCollapsed()||!UO(t))&&((e,t,n)=>(e.undoManager.extra(()=>{n(e,t)},()=>{e.execCommand("mceInsertLink",!1,t)}),!0))(e,t,n),jO=(e,t,n)=>!!((e,t)=>UO(t)&&H(ru(e),e=>Ze(t.toLowerCase(),`.${e.toLowerCase()}`)))(e,t)&&((e,t,n)=>(e.undoManager.extra(()=>{n(e,t)},()=>{e.insertContent('')}),!0))(e,t,n),$O=(()=>{let e=0;return()=>"mceclip"+e++})(),HO=e=>{const t=vD();return CD(t,e),uD(t),t},VO=(e,t,n,o,r)=>{const s=((e,t,n)=>((e,t,n)=>{const o=((e,t,n)=>e.dispatch("PastePreProcess",{content:t,internal:n}))(e,t,n),r=((e,t)=>{const n=ES({sanitize:nu(e),sandbox_iframes:lu(e),sandbox_iframes_exclusions:cu(e),convert_unsafe_embeds:du(e)},e.schema);n.addNodeFilter("meta",e=>{dn.each(e,e=>{e.remove()})});const o=n.parse(t,{forced_root_block:!1,isRootContent:!0});return Kh({validate:!0},e.schema).serialize(o)})(e,o.content);return e.hasEventListeners("PastePostProcess")&&!o.isDefaultPrevented()?((e,t,n)=>{const o=e.dom.create("div",{style:"display:none"},t),r=((e,t,n)=>e.dispatch("PastePostProcess",{node:t,internal:n}))(e,o,n);return IO(r.node.innerHTML,r.isDefaultPrevented())})(e,r,n):IO(r,o.isDefaultPrevented())})(e,t,n))(e,t,n);if(!s.cancelled){const t=s.content,n=()=>((e,t,n)=>{n||!Vm(e)?FO(e,t):((e,t)=>{dn.each([zO,jO,FO],n=>!n(e,t,FO))})(e,t)})(e,t,o);r?gk(e,"insertFromPaste",{dataTransfer:HO(t)}).isDefaultPrevented()||(n(),fk(e,"insertFromPaste")):n()}},qO=(e,t,n,o)=>{const r=n||DO(t);VO(e,(e=>e.replace(AO,""))(t),r,!1,o)},WO=(e,t,n)=>{const o=e.dom.encode(t).replace(/\r\n/g,"\n"),r=((e,t,n)=>{const o=e.split(/\n\n/),r=((e,t)=>{let n="<"+e;const o=Se(t,(e,t)=>t+'="'+Sa.encodeAllRaw(e)+'"');return o.length&&(n+=" "+o.join(" ")),n+">"})(t,n),s="",a=V(o,e=>e.split(/\n/).join("
    "));return 1===a.length?a[0]:V(a,e=>r+e+s).join("")})(Rs(o,Wm(e)),Ed(e),xd(e));VO(e,r,!1,!0,n)},KO=e=>{const t={};if(e&&e.types)for(let n=0;nt in e&&e[t].length>0,GO=e=>YO(e,"text/html")||YO(e,"text/plain"),XO=async(e,t)=>DC(t.uri).fold(()=>Promise.resolve(),({data:n,type:o,base64Encoded:r})=>{const s=r?n:btoa(n),a=t.file,i=e.editorUpload.blobCache,l=(i.getByData(s,o)??((e,t,n,o)=>{const r=$O(),s=Td(e)&&C(n.name),a=s?((e,t)=>{const n=t.match(/([\s\S]+?)(?:\.[a-z0-9.]+)$/i);return C(n)?e.dom.encode(n[1]):void 0})(e,n.name):r,i=s?n.name:void 0,l=t.create(r,n,o,a,i);return t.add(l),l})(e,i,a,s)).blobUri();return(c=l,new Promise((e,t)=>{const n=document.createElement("img");n.addEventListener("load",()=>{e({width:n.naturalWidth,height:n.naturalHeight})}),n.addEventListener("error",()=>{t(`Failed to get image dimensions for: ${c}`)}),n.src=c})).then(({width:t,height:n})=>{qO(e,``,!1,!0)}).catch(()=>{qO(e,``,!1,!0)});var c}),QO=(e,t,n)=>{const o="paste"===t.type?t.clipboardData:t.dataTransfer;var r;if(Im(e)&&o){const s=((e,t)=>{const n=t.items?ne(me(t.items),e=>"file"===e.kind?[e.getAsFile()]:[]):[],o=t.files?me(t.files):[];return Y(n.length>0?n:o,(e=>{const t=ru(e);return e=>Qe(e.type,"image/")&&H(t,t=>(e=>{const t=e.toLowerCase(),n={jpg:"jpeg",jpe:"jpeg",jfi:"jpeg",jif:"jpeg",jfif:"jpeg",pjpeg:"jpeg",pjp:"jpeg",svg:"svg+xml"};return dn.hasOwn(n,t)?"image/"+n[t]:"image/"+t})(t)===e.type)})(e))})(e,o);if(s.length>0)return t.preventDefault(),(r=s,Promise.all(V(r,e=>OC(e).then(t=>({file:e,uri:t}))))).then(async t=>{n&&e.selection.setRng(n);for(const n of t)await XO(e,n)}),!0}return!1},ZO=(e,t,n,o,r)=>{let s=MO(n);const a=YO(t,NO())||DO(n),i=!a&&(e=>!/<(?:\/?(?!(?:div|p|br|span)>)\w+|(?:(?!(?:span style="white-space:\s?pre;?">)|br\s?\/>))\w+\s[^>]+)>/i.test(e))(s),l=UO(s);(PO(s)||!s.length||i&&!l)&&(o=!0),(o||l)&&(s=YO(t,"text/plain")&&i?t["text/plain"]:(e=>{const t=Ua(),n=ES({},t);let o="";const r=t.getVoidElements(),s=dn.makeMap("script noscript style textarea video audio iframe object"," "),a=t.getBlockElements(),i=e=>{const n=e.name,l=e;if("br"!==n){if("wbr"!==n)if(r[n]&&(o+=" "),s[n])o+=" ";else{if(3===e.type&&(o+=e.value),!(e.name in t.getVoidElements())){let t=e.firstChild;if(t)do{i(t)}while(t=t.next)}a[n]&&l.next&&(o+="\n","p"===n&&(o+="\n"))}}else o+="\n"};return e=LO(e,[//g]),i(n.parse(e)),o})(s)),PO(s)||(o?WO(e,s,r):qO(e,s,a,r))},JO=(e,t,n)=>{((e,t,n)=>{let o;e.on("keydown",e=>{(e=>Lp.metaKeyPressed(e)&&86===e.keyCode||e.shiftKey&&45===e.keyCode)(e)&&!e.isDefaultPrevented()&&(o=e.shiftKey&&86===e.keyCode)}),e.on("paste",r=>{if(r.isDefaultPrevented()||(e=>sn.os.isAndroid()&&0===e.clipboardData?.items?.length)(r))return;const s="text"===n.get()||o;o=!1;const a=KO(r.clipboardData);!GO(a)&&QO(e,r,t.getLastRng()||e.selection.getRng())||(YO(a,"text/html")?(r.preventDefault(),ZO(e,a,a["text/html"],s,!0)):YO(a,"text/plain")&&YO(a,"text/uri-list")?(r.preventDefault(),ZO(e,a,a["text/plain"],s,!0)):(t.create(),Sp.setEditorTimeout(e,()=>{const n=t.getHtml();t.remove(),ZO(e,a,n,s,!1)},0)))})})(e,t,n),(e=>{const t=e=>Qe(e,"webkit-fake-url"),n=e=>Qe(e,"data:");e.parser.addNodeFilter("img",(o,r,s)=>{if(!Im(e)&&(e=>!0===e.data?.paste)(s))for(const r of o){const o=r.attr("src");u(o)&&!r.attr("data-mce-object")&&o!==sn.transparentSrc&&(t(o)||!Km(e)&&n(o))&&r.remove()}})})(e)},eB=(e,t,n,o)=>{((e,t,n)=>{if(!e)return!1;try{return e.clearData(),e.setData("text/html",t),e.setData("text/plain",n),e.setData(NO(),t),!0}catch{return!1}})(e.clipboardData,t.html,t.text)?(e.preventDefault(),o()):n(t.html,o)},tB=e=>(t,n)=>{const{dom:o,selection:r}=e,s=o.create("div",{contenteditable:"false","data-mce-bogus":"all"}),a=o.create("div",{contenteditable:"true"},t);o.setStyles(s,{position:"fixed",top:"0",left:"-3000px",width:"1000px",overflow:"hidden"}),s.appendChild(a),o.add(e.getBody(),s);const i=r.getRng();a.focus();const l=o.createRng();l.selectNodeContents(a),r.setRng(l),Sp.setEditorTimeout(e,()=>{r.setRng(i),o.remove(s),n()},0)},nB=e=>({html:RO(e.selection.getContent({contextual:!0})),text:e.selection.getContent({format:"text"})}),oB=e=>!e.selection.isCollapsed()||(e=>!!e.dom.getParent(e.selection.getStart(),"td[data-mce-selected],th[data-mce-selected]",e.getBody()))(e),rB=(e,t)=>Jp.getCaretRangeFromPoint(t.clientX??0,t.clientY??0,e.getDoc()),sB=(e,t)=>{t&&e.selection.setRng(t),e.focus()},aB=/rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*\)/gi,iB=e=>dn.trim(e).replace(aB,Ya).toLowerCase(),lB=(e,t,n)=>{const o=jm(e);if(n||"all"===o||!$m(e))return t;const r=o?o.split(/[, ]/):[];if(r&&"none"!==o){const n=e.dom,o=e.selection.getNode();t=t.replace(/(<[^>]+) style="([^"]*)"([^>]*>)/gi,(e,t,s,a)=>{const i=n.parseStyle(n.decode(s)),l={};for(let e=0;e]+) style="([^"]*)"([^>]*>)/gi,"$1$3");return t=t.replace(/(<[^>]+) data-mce-style="([^"]+)"([^>]*>)/gi,(e,t,n,o)=>t+' style="'+n+'"'+o),t},cB=(e,t)=>{const n=Ae(!1),o=Ae(qm(e)?"text":"html"),r=(e=>{const t=Ae(null);return{create:()=>((e,t)=>{const{dom:n,selection:o}=e,r=e.getBody();t.set(o.getRng());const s=n.add(e.getBody(),"div",{id:"mcepastebin",class:"mce-pastebin",contentEditable:!0,"data-mce-bogus":"all",style:"position: fixed; top: 50%; width: 10px; height: 10px; overflow: hidden; opacity: 0"},TO);sn.browser.isFirefox()&&n.setStyle(s,"left","rtl"===n.getStyle(r,"direction",!0)?65535:-65535),n.bind(s,"beforedeactivate focusin focusout",e=>{e.stopPropagation()}),s.focus(),o.select(s,!0)})(e,t),remove:()=>((e,t)=>{const n=e.dom;if(OO(e)){let o;const r=t.get();for(;o=OO(e);)n.remove(o),n.unbind(o);r&&e.selection.setRng(r)}t.set(null)})(e,t),getEl:()=>OO(e),getHtml:()=>(e=>{const t=e.dom,n=(e,n)=>{e.appendChild(n),t.remove(n,!0)},[o,...r]=Y(e.getBody().childNodes,BO);q(r,e=>{n(o,e)});const s=t.select("div[id=mcepastebin]",o);for(let e=s.length-1;e>=0;e--){const r=t.create("div");o.insertBefore(r,s[e]),n(r,s[e])}return o?o.innerHTML:""})(e),getLastRng:t.get}})(e);(e=>{(sn.browser.isChromium()||sn.browser.isSafari())&&((e,t)=>{e.on("PastePreProcess",n=>{n.content=t(e,n.content,n.internal)})})(e,lB)})(e),((e,t)=>{e.addCommand("mceTogglePlainTextPaste",()=>{((e,t)=>{"text"===t.get()?(t.set("html"),ld(e,!1)):(t.set("text"),ld(e,!0)),e.focus()})(e,t)}),e.addCommand("mceInsertClipboardContent",(t,n)=>{n.html&&qO(e,n.html,n.internal,!1),n.text&&WO(e,n.text,!1)})})(e,o),(e=>{const t=t=>n=>{t(e,n)},n=Fm(e);w(n)&&e.on("PastePreProcess",t(n));const o=Um(e);w(o)&&e.on("PastePostProcess",t(o))})(e),e.addQueryStateHandler("mceTogglePlainTextPaste",()=>"text"===o.get()),e.on("PreInit",()=>{((e,t)=>{e.on("cut",((e,t)=>n=>{!n.isDefaultPrevented()&&oB(e)&&e.selection.isEditable()&&eB(n,nB(e),tB(e),()=>{if(sn.browser.isChromium()||sn.browser.isFirefox()){const n=e.selection.getRng();Sp.setEditorTimeout(e,()=>{e.selection.setRng(n),mR(e,t)},0)}else mR(e,t)})})(e,t)),e.on("copy",(e=>t=>{!t.isDefaultPrevented()&&oB(e)&&eB(t,nB(e),tB(e),x)})(e))})(e,t),((e,t)=>{Mm(e)&&e.on("dragend dragover draggesture dragdrop drop drag",e=>{e.preventDefault(),e.stopPropagation()}),Im(e)||e.on("drop",e=>{const t=e.dataTransfer;t&&(e=>H(e.files,e=>/^image\//.test(e.type)))(t)&&e.preventDefault()}),e.on("drop",n=>{if(n.isDefaultPrevented())return;const o=rB(e,n);if(v(o))return;const r=KO(n.dataTransfer),s=YO(r,NO());if((!GO(r)||(e=>{const t=e["text/plain"];return!!t&&0===t.indexOf("file://")})(r))&&QO(e,n,o))return;const a=r[NO()],i=a||r["text/html"]||r["text/plain"],l=((e,t,n,o)=>{const r=e.getParent(n,e=>Zs(t,e));if(!h(e.getParent(n,"summary")))return!0;if(r&&ke(o,"text/html")){const e=(new DOMParser).parseFromString(o["text/html"],"text/html").body;return!h(e.querySelector(r.nodeName.toLowerCase()))}return!1})(e.dom,e.schema,o.startContainer,r),c=t.get();c&&!l||i&&(n.preventDefault(),Sp.setEditorTimeout(e,()=>{e.undoManager.transact(()=>{(a||c&&l)&&e.execCommand("Delete"),sB(e,o);const t=MO(i);r["text/html"]?qO(e,t,s,!0):WO(e,t,!0)})}))}),e.on("dragstart",e=>{t.set(!0)}),e.on("dragover dragend",n=>{Im(e)&&!t.get()&&(n.preventDefault(),sB(e,rB(e,n))),"dragend"===n.type&&t.set(!1)}),(e=>{e.on("input",t=>{const n=e=>h(e.querySelector("summary"));if("deleteByDrag"===t.inputType){const t=Y(e.dom.select("details"),n);q(t,t=>{ms(t.firstChild)&&t.firstChild.remove();const n=e.dom.create("summary");n.appendChild(qi().dom),t.prepend(n)})}})})(e)})(e,n),JO(e,r,o)})},dB=ms,mB=ss,uB=e=>ps(e.dom),fB=e=>t=>vn(un.fromDom(e),t),gB=(e,t)=>lr(un.fromDom(e),uB,fB(t)),pB=(e,t,n)=>{const o=new Kr(e,t),r=n?o.next.bind(o):o.prev.bind(o);let s=e;for(let t=n?e:r();t&&!dB(t);t=r())Nl(t)&&(s=t);return s},hB=e=>{const t=((e,t,n)=>{const o=Kl.fromRangeStart(e).getNode(),r=((e,t,n)=>lr(un.fromDom(e),e=>(e=>gs(e.dom))(e)||n.isBlock(En(e)),fB(t)).getOr(un.fromDom(t)).dom)(o,t,n),s=pB(o,r,!1),a=pB(o,r,!0),i=document.createRange();return gB(s,r).fold(()=>{mB(s)?i.setStart(s,0):i.setStartBefore(s)},e=>i.setStartBefore(e.dom)),gB(a,r).fold(()=>{mB(a)?i.setEnd(a,a.data.length):i.setEndAfter(a)},e=>i.setEndAfter(e.dom)),i})(e.selection.getRng(),e.getBody(),e.schema);e.selection.setRng(kC(t))};var bB;!function(e){e.Before="before",e.After="after"}(bB||(bB={}));const yB=(e,t)=>Math.abs(e.left-t),vB=(e,t)=>Math.abs(e.right-t),CB=(e,t)=>(e=>X(e,(e,t)=>e.fold(()=>I.some(t),e=>{const n=Math.min(t.left,e.left),o=Math.min(t.top,e.top),r=Math.max(t.right,e.right),s=Math.max(t.bottom,e.bottom);return I.some({top:o,right:r,bottom:s,left:n,width:r-n,height:s-o})}),I.none()))(Y(e,e=>{return(n=t)>=(o=e).top&&n<=o.bottom;var n,o})).fold(()=>[[],e],t=>{const{pass:n,fail:o}=K(e,e=>((e,t)=>{const n=((e,t)=>Math.max(0,Math.min(e.bottom,t.bottom)-Math.max(e.top,t.top)))(e,t)/Math.min(e.height,t.height);return((e,t)=>e.topt.top)(e,t)&&n>.5})(e,t));return[n,o]}),wB=(e,t,n)=>t>e.left&&t{const r=e=>Nl(e.node)?I.some(e):Xr(e.node)?SB(me(e.node.childNodes),t,n,!1):I.none(),s=(e,s)=>{const a=ie(e,(e,o)=>s(e,t,n)-s(o,t,n));return ue(a,r).map(e=>o&&!ss(e.node)&&a.length>1?((e,o,s)=>r(o).filter(o=>Math.abs(s(e,t,n)-s(o,t,n))<2&&ss(o.node)))(e,a[1],s).getOr(e):e)},[a,i]=CB(uA(e),n),{pass:l,fail:c}=K(i,e=>e.tops(c,gl)).orThunk(()=>s(l,gl))},EB=(e,t,n)=>((e,t,n)=>{const o=un.fromDom(e),r=Pn(o),s=un.fromPoint(r,t,n).filter(e=>Cn(o,e)).getOr(o);return((e,t,n,o)=>{const r=(t,s)=>{const a=Y(t.dom.childNodes,T(e=>Xr(e)&&e.classList.contains("mce-drag-container")));return s.fold(()=>SB(a,n,o,!0),e=>{const t=Y(a,t=>t!==e.dom);return SB(t,n,o,!0)}).orThunk(()=>(vn(t,e)?I.none():In(t)).bind(e=>r(e,I.some(t))))};return r(t,I.none())})(o,s,t,n)})(e,t,n).filter(e=>Bu(e.node)).map(e=>((e,t)=>({node:e.node,position:yB(e,t){const t=e.getBoundingClientRect(),n=e.ownerDocument,o=n.documentElement,r=n.defaultView;return{top:t.top+(r?.scrollY??0)-o.clientTop,left:t.left+(r?.scrollX??0)-o.clientLeft}},kB=e=>({target:e,srcElement:e}),_B=(e,t,n,o)=>{const r=((e,t)=>{const n=(e=>{const t=vD(),n=(e=>{const t=e;return I.from(t[lD])})(e);return uD(e),rD(t),t.dropEffect=e.dropEffect,t.effectAllowed=e.effectAllowed,(e=>{const t=e;return I.from(t[tD])})(e).each(e=>t.setDragImage(e.image,e.x,e.y)),q(e.types,n=>{"Files"!==n&&t.setData(n,e.getData(n))}),q(e.files,e=>t.items.add(e)),(e=>{const t=e;return I.from(t[nD])})(e).each(e=>{((e,t)=>{oD(t)(e)})(t,e)}),n.each(n=>{dD(e,n),dD(t,n)}),t})(e);return"dragstart"===t?(rD(n),mD(n)):"drop"===t?(sD(n),uD(n)):(aD(n),fD(n)),n})(n,e);return y(o)?((e,t,n)=>{const o=O("Function not supported on simulated event.");return{bubbles:!0,cancelBubble:!1,cancelable:!0,composed:!1,currentTarget:null,defaultPrevented:!1,eventPhase:0,isTrusted:!0,returnValue:!1,timeStamp:0,type:e,composedPath:o,initEvent:o,preventDefault:x,stopImmediatePropagation:x,stopPropagation:x,AT_TARGET:window.Event.AT_TARGET,BUBBLING_PHASE:window.Event.BUBBLING_PHASE,CAPTURING_PHASE:window.Event.CAPTURING_PHASE,NONE:window.Event.NONE,altKey:!1,button:0,buttons:0,clientX:0,clientY:0,ctrlKey:!1,layerX:0,layerY:0,metaKey:!1,movementX:0,movementY:0,offsetX:0,offsetY:0,pageX:0,pageY:0,relatedTarget:null,screenX:0,screenY:0,shiftKey:!1,x:0,y:0,detail:0,view:null,which:0,initUIEvent:o,initMouseEvent:o,getModifierState:o,dataTransfer:n,...kB(t)}})(e,t,r):((e,t,n,o)=>({...t,dataTransfer:o,type:e,...kB(n)}))(e,o,t,r)},NB=ps,AB=((...e)=>t=>{for(let n=0;n{const r=e.dom,s=t.cloneNode(!0);r.setStyles(s,{width:n,height:o}),r.setAttrib(s,"data-mce-selected",null);const a=r.create("div",{class:"mce-drag-container","data-mce-bogus":"all",unselectable:"on",contenteditable:"false"});return r.setStyles(a,{position:"absolute",opacity:.5,overflow:"hidden",border:0,padding:0,margin:0,width:n,height:o}),r.setStyles(s,{margin:0,boxSizing:"border-box"}),a.appendChild(s),a},DB=(e,t)=>n=>()=>{const o="left"===e?n.scrollX:n.scrollY;n.scroll({[e]:o+t,behavior:"smooth"})},TB=DB("left",-32),OB=DB("left",32),BB=DB("top",-32),PB=DB("top",32),LB=e=>{e&&e.parentNode&&e.parentNode.removeChild(e)},MB=(e,t,n,o,r)=>{"dragstart"===t&&CD(o,e.dom.getOuterHTML(n));const s=_B(t,n,o,r);return e.dispatch(t,s)},IB=(e,t)=>{const n=at((e,n)=>((e,t,n)=>{e._selectionOverrides.hideFakeCaret(),EB(e.getBody(),t,n).fold(()=>e.selection.placeCaretAt(t,n),o=>{const r=e._selectionOverrides.showCaret(1,o.node,o.position===bB.Before,!1);r?e.selection.setRng(r):e.selection.placeCaretAt(t,n)})})(t,e,n),0);t.on("remove",n.cancel);const o=e;return r=>e.on(e=>{const s=Math.max(Math.abs(r.screenX-e.screenX),Math.abs(r.screenY-e.screenY));if(!e.dragging&&s>10){const n=MB(t,"dragstart",e.element,e.dataTransfer,r);if(C(n.dataTransfer)&&(e.dataTransfer=n.dataTransfer),n.isDefaultPrevented())return;e.dragging=!0,t.focus()}if(e.dragging){const s=r.currentTarget===t.getDoc().documentElement,l=((e,t)=>({pageX:t.pageX-e.relX,pageY:t.pageY+5}))(e,((e,t)=>{return n=(e=>e.inline?xB(e.getBody()):{left:0,top:0})(e),o=(e=>{const t=e.getBody();return e.inline?{left:t.scrollLeft,top:t.scrollTop}:{left:0,top:0}})(e),r=((e,t)=>{if(t.target.ownerDocument!==e.getDoc()){const n=xB(e.getContentAreaContainer()),o=(e=>{const t=e.getBody(),n=e.getDoc().documentElement,o={left:t.scrollLeft,top:t.scrollTop},r={left:t.scrollLeft||n.scrollLeft,top:t.scrollTop||n.scrollTop};return e.inline?o:r})(e);return{left:t.pageX-n.left+o.left,top:t.pageY-n.top+o.top}}return{left:t.pageX,top:t.pageY}})(e,t),{pageX:r.left-n.left+o.left,pageY:r.top-n.top+o.top};var n,o,r})(t,r));a=e.ghost,i=t.getBody(),a.parentNode!==i&&i.appendChild(a),((e,t,n,o,r,s,a,i,l,c,d,m)=>{let u=0,f=0;e.style.left=t.pageX+"px",e.style.top=t.pageY+"px",t.pageX+n>r&&(u=t.pageX+n-r),t.pageY+o>s&&(f=t.pageY+o-s),e.style.width=n-u+"px",e.style.height=o-f+"px";const g=l.clientHeight,p=l.clientWidth,h=a+l.getBoundingClientRect().top,b=i+l.getBoundingClientRect().left;d.on(e=>{e.intervalId.clear(),e.dragging&&m&&(a+8>=g?e.intervalId.set(PB(c)):a-8<=0?e.intervalId.set(BB(c)):i+8>=p?e.intervalId.set(OB(c)):i-8<=0?e.intervalId.set(TB(c)):h+16>=window.innerHeight?e.intervalId.set(PB(window)):h-16<=0?e.intervalId.set(BB(window)):b+16>=window.innerWidth?e.intervalId.set(OB(window)):b-16<=0&&e.intervalId.set(TB(window)))})})(e.ghost,l,e.width,e.height,e.maxX,e.maxY,r.clientY,r.clientX,t.getContentAreaContainer(),t.getWin(),o,s),n.throttle(r.clientX,r.clientY)}var a,i})},FB=(e,t,n)=>{e.on(e=>{e.intervalId.clear(),e.dragging&&n.fold(()=>MB(t,"dragend",e.element,e.dataTransfer),n=>MB(t,"dragend",e.element,e.dataTransfer,n))}),UB(e)},UB=e=>{e.on(e=>{e.intervalId.clear(),LB(e.ghost)}),e.clear()},zB=e=>{const t=Ke(),n=gi.DOM,o=document,r=((e,t)=>n=>{if((e=>0===e.button)(n)){const o=Z(t.dom.getParents(n.target),AB).getOr(null);if(C(o)&&((e,t,n)=>NB(n)&&n!==t&&e.isEditable(n.parentElement))(t.dom,t.getBody(),o)){const r=t.dom.getPos(o),s=t.getBody(),a=t.getDoc().documentElement;e.set({element:o,dataTransfer:vD(),dragging:!1,screenX:n.screenX,screenY:n.screenY,maxX:(t.inline?s.scrollWidth:a.offsetWidth)-2,maxY:(t.inline?s.scrollHeight:a.offsetHeight)-2,relX:n.pageX-r.x,relY:n.pageY-r.y,width:o.offsetWidth,height:o.offsetHeight,ghost:RB(t,o,o.offsetWidth,o.offsetHeight),intervalId:We(100)})}}})(t,e),s=IB(t,e),a=((e,t)=>n=>{e.on(e=>{if(e.intervalId.clear(),e.dragging){if(((e,t,n)=>!v(t)&&t!==n&&!e.dom.isChildOf(t,n)&&e.dom.isEditable(t))(t,(e=>{const t=e.getSel();if(C(t)){const e=t.getRangeAt(0).startContainer;return ss(e)?e.parentNode:e}return null})(t.selection),e.element)){const o=t.getDoc().elementFromPoint(n.clientX,n.clientY)??t.getBody();MB(t,"drop",o,e.dataTransfer,n).isDefaultPrevented()||t.undoManager.transact(()=>{((e,t)=>{const n=e.getParent(t.parentNode,e.isBlock);LB(t),n&&n!==e.getRoot()&&e.isEmpty(n)&&Wi(un.fromDom(n))})(t.dom,e.element),(e=>{const t=e.getData("text/html");return""===t?I.none():I.some(t)})(e.dataTransfer).each(e=>t.insertContent(e)),t._selectionOverrides.hideFakeCaret()})}MB(t,"dragend",t.getBody(),e.dataTransfer,n)}}),UB(e)})(t,e),i=((e,t)=>n=>FB(e,t,I.some(n)))(t,e);e.on("mousedown",r),e.on("mousemove",s),e.on("mouseup",a),n.bind(o,"mousemove",s),n.bind(o,"mouseup",i),e.on("remove",()=>{n.unbind(o,"mousemove",s),n.unbind(o,"mouseup",i)}),e.on("keydown",n=>{n.keyCode===Lp.ESC&&FB(t,e,I.none())})},jB=ps,$B=(e,t)=>Vy(e.getBody(),t),HB=e=>{const t=e.selection,n=e.dom,o=e.getBody(),r=Du(e,o,n.isBlock,()=>Op(e)),s="sel-"+n.uniqueId(),a="data-mce-selected";let i;const l=e=>e!==o&&(jB(e)||Cs(e))&&n.isChildOf(e,o)&&n.isEditable(e.parentNode),c=(n,o,s,a=!0)=>e.dispatch("ShowCaret",{target:o,direction:n,before:s}).isDefaultPrevented()?null:(a&&t.scrollIntoView(o,-1===n),r.show(s,o)),d=e=>el(e)||rl(e)||sl(e),m=e=>d(e.startContainer)||d(e.endContainer),u=t=>{const o=e.schema.getVoidElements(),r=n.createRng(),s=t.startContainer,a=t.startOffset,i=t.endContainer,l=t.endOffset;return ke(o,s.nodeName.toLowerCase())?0===a?r.setStartBefore(s):r.setStartAfter(s):r.setStart(s,a),ke(o,i.nodeName.toLowerCase())?0===l?r.setEndBefore(i):r.setEndAfter(i):r.setEnd(i,l),r},f=(r,d)=>{if(!r)return null;if(r.collapsed){if(!m(r)){const e=d?1:-1,t=of(e,o,r),s=t.getNode(!d);if(C(s)){if(Bu(s))return c(e,s,!!d&&!t.isAtEnd(),!1);if(Ji(s)&&ps(s.nextSibling)){const e=n.createRng();return e.setStart(s,0),e.setEnd(s,0),e}}const a=t.getNode(d);if(C(a)){if(Bu(a))return c(e,a,!d&&!t.isAtEnd(),!1);if(Ji(a)&&ps(a.previousSibling)){const e=n.createRng();return e.setStart(a,1),e.setEnd(a,1),e}}}return null}let u=r.startContainer,f=r.startOffset;const g=r.endOffset;if(ss(u)&&0===f&&jB(u.parentNode)&&(u=u.parentNode,f=n.nodeIndex(u),u=u.parentNode),!Xr(u))return null;if(g===f+1&&u===r.endContainer){const o=u.childNodes[f];if(l(o))return(o=>{const r=ks(o)?(t=>{const n=e.getDoc().createElement("div");n.style.width=t.style.width,n.style.height=t.style.height;const o=t.getAttribute("width");o&&n.setAttribute("width",o);const r=t.getAttribute("height");return r&&n.setAttribute("height",r),n})(o):o.cloneNode(!0),l=e.dispatch("ObjectSelected",{target:o,targetClone:r});if(l.isDefaultPrevented())return null;const c=((o,r)=>{const a=un.fromDom(e.getBody()),i=e.getDoc(),l=ur(a,"#"+s).getOrThunk(()=>{const e=un.fromHtml('
    ',i);return vo(e,"id",s),go(a,e),e}),c=n.createRng();No(l),bo(l,[un.fromText(dt,i),un.fromDom(r),un.fromText(dt,i)]),c.setStart(l.dom.firstChild,1),c.setEnd(l.dom.lastChild,0),jo(l,{top:n.getPos(o,e.getBody()).y+"px"}),io(l);const d=t.getSel();return d&&(d.removeAllRanges(),d.addRange(c)),c})(o,l.targetClone),d=un.fromDom(o);return q(Ar(un.fromDom(e.getBody()),`*[${a}]`),e=>{vn(d,e)||xo(e,a)}),n.getAttrib(o,a)||o.setAttribute(a,"1"),i=o,p(),c})(o)}return null},g=()=>{i&&i.removeAttribute(a),ur(un.fromDom(e.getBody()),"#"+s).each(Ao),i=null},p=()=>{r.hide()};return zE(e)||(e.on("click",t=>{n.isEditable(t.target)||(t.preventDefault(),e.focus())}),e.on("blur NewBlock",g),e.on("ResizeWindow FullscreenStateChanged",r.reposition),e.on("tap",t=>{const n=t.target,o=$B(e,n);jB(o)?(t.preventDefault(),eN(e,o).each(f)):l(n)&&eN(e,n).each(f)},!0),e.on("mousedown",r=>{const s=r.target;if(s!==o&&"HTML"!==s.nodeName&&!n.isChildOf(s,o))return;if(!((e,t,n)=>{const o=un.fromDom(e.getBody()),r=e.inline?o:un.fromDom(Pn(o).dom.documentElement),s=((e,t,n,o)=>{const r=(e=>e.dom.getBoundingClientRect())(t);return{x:n-(e?r.left+t.dom.clientLeft+ax(t):0),y:o-(e?r.top+t.dom.clientTop+sx(t):0)}})(e.inline,r,t,n);return((e,t,n)=>{const o=ox(e),r=rx(e);return t>=0&&n>=0&&t<=o&&n<=r})(r,s.x,s.y)})(e,r.clientX,r.clientY))return;g(),p();const a=$B(e,s);jB(a)?(r.preventDefault(),eN(e,a).each(f)):EB(o,r.clientX,r.clientY).each(n=>{var o;r.preventDefault(),(o=c(1,n.node,n.position===bB.Before,!1))&&t.setRng(o),Qr(a)?a.focus():e.getBody().focus()})}),e.on("keypress",e=>{Lp.modifierPressed(e)||jB(t.getNode())&&e.preventDefault()}),e.on("GetSelectionRange",e=>{let t=e.range;if(i){if(!i.parentNode)return void(i=null);t=t.cloneRange(),t.selectNode(i),e.range=t}}),e.on("focusin",t=>{if(!Cs(t.target)&&e.getBody().contains(t.target)&&t.target!==e.getBody()&&!e.dom.isEditable(t.target.parentNode)){r.isShowing()&&r.hide(),t.target.contains(e.selection.getNode())||(e.selection.select(t.target,!0),e.selection.collapse(!0));const n=f(e.selection.getRng(),!0);n&&e.selection.setRng(n)}}),e.on("SetSelectionRange",e=>{e.range=u(e.range);const t=f(e.range,e.forward);t&&(e.range=t)}),e.on("AfterSetSelectionRange",e=>{const t=e.range,o=t.startContainer.parentElement;var r;m(t)||Xr(r=o)&&"mcepastebin"===r.id||p(),(e=>C(e)&&n.hasClass(e,"mce-offscreen-selection"))(o)||g()}),(e=>{zB(e),km(e)&&(e=>{const t=t=>{if(!t.isDefaultPrevented()){const n=t.dataTransfer;n&&($(n.types,"Files")||n.files.length>0)&&(t.preventDefault(),"drop"===t.type&&ux(e,"Dropped file type is not supported"))}},n=n=>{_p(e,n.target)&&t(n)},o=()=>{const o=gi.DOM,r=e.dom,s=document,a=e.inline?e.getBody():e.getDoc(),i=["drop","dragover"];q(i,e=>{o.bind(s,e,n),r.bind(a,e,t)}),e.on("remove",()=>{q(i,e=>{o.unbind(s,e,n),r.unbind(a,e,t)})})};e.on("init",()=>{Sp.setEditorTimeout(e,o,0)})})(e)})(e),(e=>{const t=at(()=>{if(!e.removed&&e.getBody().contains(document.activeElement)){const t=e.selection.getRng();if(t.collapsed){const n=tN(e,t,!1);e.selection.setRng(n)}}},0);e.on("focus",()=>{t.throttle()}),e.on("blur",()=>{t.cancel()})})(e),(e=>{e.on("init",()=>{e.on("focusin",t=>{const n=t.target;if(Cs(n)){const t=Vy(e.getBody(),n),o=ps(t)?t:n;e.selection.getNode()!==o&&eN(e,o).each(t=>e.selection.setRng(t))}})})})(e)),{showCaret:c,showBlockCaretContainer:e=>{e.hasAttribute("data-mce-caret")&&(al(e),t.scrollIntoView(e))},hideFakeCaret:p,destroy:()=>{r.destroy(),i=null}}},VB=(e,t)=>{let n=t;for(let t=e.previousSibling;ss(t);t=t.previousSibling)n+=t.data.length;return n},qB=(e,t,n,o,r)=>{if(ss(n)&&(o<0||o>n.data.length))return[];const s=r&&ss(n)?[VB(n,o)]:[o];let a=n;for(;a!==t&&a.parentNode;)s.push(e.nodeIndex(a,r)),a=a.parentNode;return a===t?s.reverse():[]},WB=(e,t,n,o,r,s,a=!1)=>({start:qB(e,t,n,o,a),end:qB(e,t,r,s,a)}),KB=(e,t)=>{const n=t.slice(),o=n.pop();return S(o)?X(n,(e,t)=>e.bind(e=>I.from(e.childNodes[t])),I.some(e)).bind(e=>ss(e)&&(o<0||o>e.data.length)?I.none():I.some({node:e,offset:o})):I.none()},YB=(e,t)=>KB(e,t.start).bind(({node:n,offset:o})=>KB(e,t.end).map(({node:e,offset:t})=>{const r=document.createRange();return r.setStart(n,o),r.setEnd(e,t),r})),GB=(e,t,n)=>{if(t&&e.isEmpty(t)&&!n(t)){const o=t.parentNode;e.remove(t,ss(t.firstChild)&&Ns(t.firstChild.data)),GB(e,o,n)}},XB=(e,t,n,o=!0)=>{const r=t.startContainer.parentNode,s=t.endContainer.parentNode;t.deleteContents(),o&&!n(t.startContainer)&&(ss(t.startContainer)&&0===t.startContainer.data.length&&e.remove(t.startContainer),ss(t.endContainer)&&0===t.endContainer.data.length&&e.remove(t.endContainer),GB(e,r,n),r!==s&&GB(e,s,n))},QB=(e,t)=>I.from(e.dom.getParent(t.startContainer,e.dom.isBlock)),ZB=(e,t,n)=>{const o=e.dynamicPatternsLookup({text:n,block:t});return{...e,blockPatterns:Zc(o).concat(e.blockPatterns),inlinePatterns:Jc(o).concat(e.inlinePatterns)}},JB=(e,t,n,o)=>{const r=e.createRng();return r.setStart(t,0),r.setEnd(n,o),r.toString()},eP=(e,t)=>e.create("span",{"data-mce-type":"bookmark",id:t}),tP=(e,t)=>{const n=e.createRng();return n.setStartAfter(t.start),n.setEndBefore(t.end),n},nP=(e,t,n)=>{const o=YB(e.getRoot(),n).getOrDie("Unable to resolve path range"),r=o.startContainer,s=o.endContainer,a=0===o.endOffset?s:s.splitText(o.endOffset),i=0===o.startOffset?r:r.splitText(o.startOffset),l=i.parentNode;return{prefix:t,end:a.parentNode.insertBefore(eP(e,t+"-end"),a),start:l.insertBefore(eP(e,t+"-start"),i)}},oP=(e,t,n)=>{GB(e,e.get(t.prefix+"-end"),n),GB(e,e.get(t.prefix+"-start"),n)},rP=e=>0===e.start.length,sP=(e,t,n,o)=>{const r=t.start;var s;return WD(e,o.container,o.offset,(s=r,(e,t)=>{const n=e.data.substring(0,t),o=n.lastIndexOf(s.charAt(s.length-1)),r=n.lastIndexOf(s);return-1!==r?r+s.length:-1!==o?o+1:-1}),n).bind(o=>{const s=n.textContent?.indexOf(r)??-1;if(-1!==s&&o.offset>=s+r.length){const t=e.createRng();return t.setStart(o.container,o.offset-r.length),t.setEnd(o.container,o.offset),I.some(t)}{const s=o.offset-r.length;return VD(o.container,s,n).map(t=>{const n=e.createRng();return n.setStart(t.container,t.offset),n.setEnd(o.container,o.offset),n}).filter(e=>e.toString()===r).orThunk(()=>sP(e,t,n,zD(o.container,0)))}})},aP=(e,t,n,o)=>{const r=e.dom,s=r.getRoot(),a=n.pattern,i=n.position.container,l=n.position.offset;return VD(i,l-n.pattern.end.length,t).bind(c=>{const d=WB(r,s,c.container,c.offset,i,l,o);if(rP(a))return I.some({matches:[{pattern:a,startRng:d,endRng:d}],position:c});{const i=iP(e,n.remainingPatterns,c.container,c.offset,t,o),l=i.getOr({matches:[],position:c}),m=l.position,u=((e,t,n,o,r,s=!1)=>{if(0===t.start.length&&!s){const t=e.createRng();return t.setStart(n,o),t.setEnd(n,o),I.some(t)}return HD(n,o,r).bind(n=>sP(e,t,r,n).bind(e=>{if(s){if(e.endContainer===n.container&&e.endOffset===n.offset)return I.none();if(0===n.offset&&e.endContainer.textContent?.length===e.endOffset)return I.none()}return I.some(e)}))})(r,a,m.container,m.offset,t,i.isNone());return u.map(e=>{const t=((e,t,n,o=!1)=>WB(e,t,n.startContainer,n.startOffset,n.endContainer,n.endOffset,o))(r,s,e,o);return{matches:l.matches.concat([{pattern:a,startRng:t,endRng:d}]),position:zD(e.startContainer,e.startOffset)}})}})},iP=(e,t,n,o,r,s)=>{const a=e.dom;return HD(n,o,a.getRoot()).bind(i=>{const l=JB(a,r,n,o);for(let a=0;a0)return iP(e,t,n,o-1,r,s);if(m.isSome())return m}return I.none()})},lP=(e,t,n)=>{e.selection.setRng(n),"inline-format"===t.type?q(t.format,t=>{e.formatter.apply(t)}):e.execCommand(t.cmd,!1,t.value)},cP=(e,t,n,o,r,s)=>{var a;return((e,t)=>{const n=oe(e,e=>H(t,t=>e.pattern.start===t.pattern.start&&e.pattern.end===t.pattern.end));return e.length===t.length?n?e:t:e.length>t.length?e:t})(iP(e,r.inlinePatterns,n,o,t,s).fold(()=>[],e=>e.matches),iP(e,(a=r.inlinePatterns,ie(a,(e,t)=>t.end.length-e.end.length)),n,o,t,s).fold(()=>[],e=>e.matches))},dP=(e,t)=>{if(0===t.length)return;const n=e.dom,o=e.selection.getBookmark(),r=((e,t)=>{const n=Le("mce_textpattern"),o=G(t,(t,o)=>{const r=nP(e,n+`_end${t.length}`,o.endRng);return t.concat([{...o,endMarker:r}])},[]);return G(o,(t,r)=>{const s=o.length-t.length-1,a=rP(r.pattern)?r.endMarker:nP(e,n+`_start${s}`,r.startRng);return t.concat([{...r,startMarker:a}])},[])})(n,t);q(r,t=>{const o=n.getParent(t.startMarker.start,n.isBlock),r=e=>e===o;rP(t.pattern)?((e,t,n,o)=>{const r=tP(e.dom,n);XB(e.dom,r,o),lP(e,t,r)})(e,t.pattern,t.endMarker,r):((e,t,n,o,r)=>{const s=e.dom,a=tP(s,o),i=tP(s,n);XB(s,i,r),XB(s,a,r);const l={prefix:n.prefix,start:n.end,end:o.start},c=tP(s,l);lP(e,t,c)})(e,t.pattern,t.startMarker,t.endMarker,r),oP(n,t.endMarker,r),oP(n,t.startMarker,r)}),e.selection.moveToBookmark(o)},mP=(e,t,n)=>((e,t,n)=>{if(ss(e)&&0>=e.length)return I.some(zD(e,0));{const t=Pi(jD);return I.from(t.forwards(e,0,$D(e),n)).map(e=>zD(e.container,0))}})(t,0,t).map(o=>{const r=o.container;return qD(r,n.start.length,t).each(n=>{const o=e.createRng();o.setStart(r,0),o.setEnd(n.container,n.offset),XB(e,o,e=>e===t)}),r}),uP=e=>(t,n)=>{const o=t.dom,r=n.pattern,s=YB(o.getRoot(),n.range).getOrDie("Unable to resolve path range");return QB(t,s).each(n=>{"block-format"===r.type?((e,t)=>{const n=t.get(e);return p(n)&&ce(n).exists(e=>ke(e,"block"))})(r.format,t.formatter)&&t.undoManager.transact(()=>{e(t.dom,n,r),t.formatter.apply(r.format)}):"block-command"===r.type&&t.undoManager.transact(()=>{e(t.dom,n,r),t.execCommand(r.cmd,!1,r.value)})}),!0},fP=e=>(t,n)=>{const o=(e=>ie(e,(e,t)=>t.start.length-e.start.length))(t),r=n.replace(dt," ");return Z(o,t=>e(t,n,r))},gP=(e,t)=>(n,o,r,s,a=o.textContent??"")=>{const i=n.dom,l=Ed(n);return i.is(o,l)?e(r.blockPatterns,a).map(e=>t&&dn.trim(a).length===e.start.length?[]:[{pattern:e,range:WB(i,i.getRoot(),o,0,o,0,s)}]).getOr([]):[]},pP=uP((e,t,n)=>{mP(e,t,n).each(e=>{const t=un.fromDom(e),n=or(t);/^\s[^\s]/.test(n)&&rr(t,n.slice(1))})}),hP=fP((e,t,n)=>0===t.indexOf(e.start)||0===n.indexOf(e.start)),bP=gP(hP,!0),yP=uP(mP),vP=fP((e,t,n)=>t===e.start||n===e.start),CP=gP(vP,!1),wP=(e,t,n)=>{for(let o=0;o{const t=[",",".",";",":","!","?"],n=[32],o=()=>{return t=Ym(e).filter(t=>"inline-command"!==t.type&&"block-command"!==t.type||e.queryCommandSupported(t.cmd)),n=Gm(e),{inlinePatterns:Jc(t),blockPatterns:Zc(t),dynamicPatternsLookup:n};var t,n},r=()=>(e=>e.options.isSet("text_patterns_lookup"))(e);e.on("keydown",t=>{if(13===t.keyCode&&!Lp.modifierPressed(t)&&e.selection.isCollapsed()&&e.selection.isEditable()){const n=ed(o(),"enter");(n.inlinePatterns.length>0||n.blockPatterns.length>0||r())&&((e,t)=>((e,t)=>{const n=e.selection.getRng();return QB(e,n).map(o=>{const r=Math.max(0,n.startOffset),s=ZB(t,o,o.textContent??"");return{inlineMatches:cP(e,o,n.startContainer,r,s,!0),blockMatches:bP(e,o,s,!0)}}).filter(({inlineMatches:e,blockMatches:t})=>t.length>0||e.length>0)})(e,t).fold(L,({inlineMatches:t,blockMatches:n})=>(e.undoManager.add(),e.undoManager.extra(()=>{e.execCommand("mceInsertNewLine")},()=>{(e=>{e.insertContent(Ki,{preserve_zwsp:!0})})(e),dP(e,t),((e,t)=>{if(0===t.length)return;const n=e.selection.getBookmark();q(t,t=>pP(e,t)),e.selection.moveToBookmark(n)})(e,n);const o=e.selection.getRng(),r=HD(o.startContainer,o.startOffset,e.dom.getRoot());e.execCommand("mceInsertNewLine"),r.each(t=>{const n=t.container;n.data.charAt(t.offset-1)===ct&&(n.deleteData(t.offset-1,1),GB(e.dom,n.parentNode,t=>t===e.dom.getRoot()))})}),!0)))(e,n)&&t.preventDefault()}},!0),e.on("keydown",t=>{if(32===t.keyCode&&e.selection.isCollapsed()&&e.selection.isEditable()){const n=ed(o(),"space");(n.blockPatterns.length>0||r())&&((e,t)=>((e,t)=>{const n=e.selection.getRng();return QB(e,n).map(o=>{const r=Math.max(0,n.startOffset),s=JB(e.dom,o,n.startContainer,r),a=ZB(t,o,s);return CP(e,o,a,!1,s)}).filter(e=>e.length>0)})(e,t).fold(L,t=>(e.undoManager.transact(()=>{((e,t)=>{q(t,t=>yP(e,t))})(e,t)}),!0)))(e,n)&&t.preventDefault()}},!0);const s=()=>{if(e.selection.isCollapsed()&&e.selection.isEditable()){const t=ed(o(),"space");(t.inlinePatterns.length>0||r())&&((e,t)=>{const n=e.selection.getRng();QB(e,n).map(o=>{const r=Math.max(0,n.startOffset-1),s=JB(e.dom,o,n.startContainer,r),a=ZB(t,o,s),i=cP(e,o,n.startContainer,r,a,!1);i.length>0&&e.undoManager.transact(()=>{dP(e,i)})})})(e,t)}};e.on("keyup",e=>{wP(n,e,(e,t)=>e===t.keyCode&&!Lp.modifierPressed(t))&&s()}),e.on("keypress",n=>{wP(t,n,(e,t)=>e.charCodeAt(0)===t.charCode)&&Sp.setEditorTimeout(e,s)})},EP=e=>{const t=dn.each,n=Lp.BACKSPACE,o=Lp.DELETE,r=e.dom,s=e.selection,a=e.parser,i=sn.browser,l=i.isFirefox(),c=i.isChromium()||i.isSafari(),d=i.isSafari(),m=sn.deviceType.isiPhone()||sn.deviceType.isiPad(),u=sn.os.isMacOS()||sn.os.isiOS(),f=(t,n)=>{try{e.getDoc().execCommand(t,!1,String(n))}catch{}},g=e=>e.isDefaultPrevented(),p=()=>{e.shortcuts.add("meta+a",null,"SelectAll")},h=()=>{e.inline||r.bind(e.getDoc(),"mousedown mouseup",t=>{let n;if(t.target===e.getDoc().documentElement)if(n=s.getRng(),null!==e.getDoc().getSelection()?.anchorNode&&e.getBody().focus(),"mousedown"===t.type){if(el(n.startContainer))return;s.placeCaretAt(t.clientX,t.clientY)}else s.setRng(n)})},b=()=>{Range.prototype.getClientRects||e.on("mousedown",t=>{if(!g(t)&&"HTML"===t.target.nodeName){const t=e.getBody();t.blur(),Sp.setEditorTimeout(e,()=>{t.focus()})}})},y=()=>{const t=Am(e);e.on("click",n=>{const o=n.target;/^(IMG|HR)$/.test(o.nodeName)&&r.isEditable(o)&&(n.preventDefault(),e.selection.select(o),e.nodeChanged()),"A"===o.nodeName&&r.hasClass(o,t)&&0===o.childNodes.length&&r.isEditable(o.parentNode)&&(n.preventDefault(),s.select(o))})},v=()=>{e.on("keydown",e=>{if(!g(e)&&e.keyCode===n&&s.isCollapsed()&&0===s.getRng().startOffset){const t=s.getNode().previousSibling;if(t&&t.nodeName&&"table"===t.nodeName.toLowerCase())return e.preventDefault(),!1}return!0})},w=()=>{Cm(e)||e.on("BeforeExecCommand mousedown",()=>{f("StyleWithCSS",!1),f("enableInlineTableEditing",!1),Zd(e)||f("enableObjectResizing",!1)})},S=()=>{e.inline||e.on("keydown",()=>{document.activeElement===document.body&&e.getWin().focus()})},E=()=>{e.inline||(e.contentStyles.push("body {min-height: 150px}"),e.on("click",t=>{let n;"HTML"===t.target.nodeName&&(n=e.selection.getRng(),e.getBody().focus(),e.selection.setRng(n),e.selection.normalize(),e.nodeChanged())}))},k=()=>{u&&e.on("keydown",t=>{!Lp.metaKeyPressed(t)||t.shiftKey||37!==t.keyCode&&39!==t.keyCode||(t.preventDefault(),e.selection.getSel().modify("move",37===t.keyCode?"backward":"forward","lineboundary"))})},_=()=>{e.on("click",e=>{let t=e.target;do{if("A"===t.tagName)return void e.preventDefault()}while(t=t.parentNode)}),e.contentStyles.push(".mce-content-body {-webkit-touch-callout: none}")},N=()=>{e.on("init",()=>{e.dom.bind(e.getBody(),"submit",e=>{e.preventDefault()})})},A=e=>uA([e.dom]).length>0,R=(e,t,n)=>le(uA([n.dom]),0).exists(n=>e>=n.right&&t>=n.top&&t<=n.bottom),D=(e,t,n)=>{t.preventDefault(),e.selection.setRng(n.toRange()),e.focus()},T=x;return zE(e)?(c&&(h(),y(),N(),p(),m&&(S(),E(),_())),l&&(b(),w(),k())):(e.on("keydown",t=>{if(g(t)||t.keyCode!==Lp.BACKSPACE)return;let n=s.getRng();const o=n.startContainer,a=n.startOffset,i=r.getRoot();let l=o;if(n.collapsed&&0===a){for(;l.parentNode&&l.parentNode.firstChild===l&&l.parentNode!==i;)l=l.parentNode;"BLOCKQUOTE"===l.nodeName&&(e.formatter.toggle("blockquote",void 0,l),n=r.createRng(),n.setStart(o,0),n.setEnd(o,0),s.setRng(n))}}),(()=>{const t=e=>{const t=r.create("body"),n=e.cloneContents();return t.appendChild(n),s.serializer.serialize(t,{format:"html"})};e.on("keydown",s=>{const a=s.keyCode;if(!g(s)&&(a===o||a===n)&&e.selection.isEditable()){const n=e.selection.isCollapsed(),i=e.getBody();if(n&&!Ps(e.schema,i))return;if(!n&&!(n=>{const o=t(n),s=r.createRng();return s.selectNode(e.getBody()),o===t(s)})(e.selection.getRng()))return;s.preventDefault(),pk(e,a===o,()=>e.setContent(""))&&(i.firstChild&&r.isBlock(i.firstChild)?e.selection.setCursorLocation(i.firstChild,0):e.selection.setCursorLocation(i,0))}})})(),sn.windowsPhone||e.on("keyup focusin mouseup",t=>{Lp.modifierPressed(t)||(e=>{const t=e.getBody(),n=e.selection.getRng();return n.startContainer===n.endContainer&&n.startContainer===t&&0===n.startOffset&&n.endOffset===t.childNodes.length})(e)||s.normalize()},!0),c&&(h(),y(),e.on("init",()=>{f("DefaultParagraphSeparator",Ed(e))}),N(),v(),a.addNodeFilter("br",e=>{let t=e.length;for(;t--;)"Apple-interchange-newline"===e[t].attr("class")&&e[t].remove()}),d||e.on("click",t=>{const n=un.fromDom(t.target);ji(n)&&(e=>cr(e,e=>Mi(e)||An(e)&&"block"===$o(e,"display")))(n).fold(()=>{Kn(n).each(o=>{R(t.clientX,t.clientY,o)&&Rf(n.dom).each(n=>D(e,t,n))})},o=>{var r,s;(r=$n(o),s=A,ee(r,s).map(e=>e.v)).each(r=>{R(t.clientX,t.clientY,r)&&Nf(n.dom,Kl(o.dom,0)).each(n=>D(e,t,n))})})}),m?(S(),E(),_()):p()),l&&((()=>{const t=On("figcaption");e.on("keydown",n=>{if(n.keyCode===Lp.LEFT||n.keyCode===Lp.RIGHT){const o=un.fromDom(e.selection.getNode());t(o)&&e.selection.isCollapsed()&&Mn(o).bind(t=>0===e.selection.getRng().startOffset&&n.keyCode===Lp.LEFT?zn(t):e.selection.getRng().endOffset===o.dom.textContent?.length&&n.keyCode===Lp.RIGHT?jn(t):I.none()).each(t=>{e.selection.setCursorLocation(t.dom,0)})}})})(),e.on("mousedown",t=>{$e(I.from(t.clientX),I.from(t.clientY),(n,o)=>{const r=e.getDoc().caretPositionFromPoint(n,o),s=r?.offsetNode?.childNodes[r.offset-(r.offset>0?1:0)]||r?.offsetNode;if(C(s)&&"IMG"===(a=s).nodeName&&e.dom.isEditable(a)){const n=s.getBoundingClientRect();t.preventDefault(),e.hasFocus()||e.focus(),e.selection.select(s),t.clientXn.right||t.clientY>n.bottom)&&e.selection.collapse(!1)}var a})}),e.on("keydown",t=>{if(!g(t)&&t.keyCode===n){if(!e.getBody().getElementsByTagName("hr").length)return;if(s.isCollapsed()&&0===s.getRng().startOffset){const e=s.getNode(),n=e.previousSibling;if("HR"===e.nodeName)return r.remove(e),void t.preventDefault();n&&n.nodeName&&"hr"===n.nodeName.toLowerCase()&&(r.remove(n),t.preventDefault())}}}),b(),(()=>{const n=()=>{const n=r.getAttribs(s.getStart().cloneNode(!1));return()=>{const o=s.getStart();o!==e.getBody()&&(r.setAttrib(o,"style",null),t(n,e=>{o.setAttributeNode(e.cloneNode(!0))}))}},o=()=>!s.isCollapsed()&&r.getParent(s.getStart(),r.isBlock)!==r.getParent(s.getEnd(),r.isBlock);e.on("keypress",t=>{let r;return!(!(g(t)||8!==t.keyCode&&46!==t.keyCode)&&o()&&(r=n(),e.getDoc().execCommand("delete",!1),r(),t.preventDefault(),1))}),r.bind(e.getDoc(),"cut",t=>{if(!g(t)&&o()){const t=n();Sp.setEditorTimeout(e,()=>{t()})}})})(),w(),e.on("SetContent ExecCommand",e=>{"setcontent"!==e.type&&"mceInsertLink"!==e.command||t(r.select("a:not([data-mce-block])"),e=>{let t=e.parentNode;const n=r.getRoot();if(t?.lastChild===e){for(;t&&!r.isBlock(t);){if(t.parentNode?.lastChild!==t||t===n)return;t=t.parentNode}r.add(t,"br",{"data-mce-bogus":1})}})}),k(),v())),{refreshContentEditable:T,isHidden:()=>{if(!l||e.removed)return!1;const t=e.selection.getSel();return!t||!t.rangeCount||0===t.rangeCount}}};class xP extends Error{url;constructor(e,t){super(e),this.url=t}}const kP={},_P=async(e,t)=>{const n=hi.ScriptLoader.getScriptAttributes(e);return await((e,t,n)=>new Promise((o,r)=>{const s=un.fromTag("script");Co(s,{type:"text/javascript",src:e,...n});const a=()=>{Ao(s)};so(s,"load",()=>{a(),o()}),so(s,"error",()=>{a(),r(new Error(`Failed to load script url: ${e}`))}),go(Gn(t),s)}))(e,t,n).catch(()=>Promise.reject(new xP(`Failed to load component url: ${e}`,e))),e},NP=async e=>{const t=(e=>{const t=e.schema.getComponentUrls();return e.inline?(e=>Se(e,(e,t)=>xe(kP,e).getOrThunk(()=>{if(v(window.customElements.get(t))){const t=_P(e,ao());return kP[e]=t,t}return Promise.resolve(e)}).catch(t=>(delete kP[e],Promise.reject(t)))))(t):((e,t)=>{const n=fe(Ee(e));return V(n,e=>_P(e,un.fromDom(t)))})(t,e.getDoc())})(e),n=Y(await Promise.allSettled(t),e=>"rejected"===e.status);n.length>0&&q(n,t=>{if(t.reason instanceof xP){const{url:n}=t.reason;((e,t)=>{fx(e,"ComponentLoadError",gx("component",t))})(e,n)}})},AP=gi.DOM,RP=e=>e.inline?e.getElement().nodeName.toLowerCase():void 0,DP=e=>we(e,e=>!1===y(e)),TP=e=>{const t=e.options.get,n=e.editorUpload.blobCache;return DP({allow_conditional_comments:t("allow_conditional_comments"),allow_html_data_urls:t("allow_html_data_urls"),allow_svg_data_urls:t("allow_svg_data_urls"),allow_html_in_named_anchor:t("allow_html_in_named_anchor"),allow_script_urls:t("allow_script_urls"),allow_html_in_comments:t("allow_html_in_comments"),allow_mathml_annotation_encodings:t("allow_mathml_annotation_encodings"),allow_unsafe_link_target:t("allow_unsafe_link_target"),convert_unsafe_embeds:t("convert_unsafe_embeds"),convert_fonts_to_spans:t("convert_fonts_to_spans"),extended_mathml_attributes:t("extended_mathml_attributes"),extended_mathml_elements:t("extended_mathml_elements"),fix_list_elements:t("fix_list_elements"),font_size_legacy_values:t("font_size_legacy_values"),forced_root_block:t("forced_root_block"),forced_root_block_attrs:t("forced_root_block_attrs"),preserve_cdata:t("preserve_cdata"),inline_styles:t("inline_styles"),root_name:RP(e),sandbox_iframes:t("sandbox_iframes"),sandbox_iframes_exclusions:cu(e),sanitize:t("xss_sanitization"),validate:!0,blob_cache:n,document:e.getDoc()})},OP=e=>{const t=e.options.get;return DP({custom_elements:t("custom_elements"),extended_valid_elements:t("extended_valid_elements"),invalid_elements:t("invalid_elements"),invalid_styles:t("invalid_styles"),schema:t("schema"),valid_children:t("valid_children"),valid_classes:t("valid_classes"),valid_elements:t("valid_elements"),valid_styles:t("valid_styles"),verify_html:t("verify_html"),padd_empty_block_inline_children:t("format_empty_lines")})},BP=e=>e.inline?e.ui.styleSheetLoader:e.dom.styleSheetLoader,PP=e=>{const t=BP(e),n=Gd(e),o=e.contentCSS,r=()=>{t.unloadAll(o),e.inline||e.ui.styleSheetLoader.unloadAll(n)},s=()=>{e.removed?r():e.on("remove",r)};if(e.contentStyles.length>0){let t="";dn.each(e.contentStyles,e=>{t+=e+"\r\n"}),e.dom.addStyle(t)}const a=Promise.all(((e,t,n)=>{const{pass:o,fail:r}=K(t,e=>tinymce.Resource.has(e)),s=o.map(t=>{const n=tinymce.Resource.get(t);return u(n)?Promise.resolve(BP(e).loadRawCss(t,n)):Promise.resolve()}),a=[...s,BP(e).loadAll(r)];return e.inline?a:a.concat([e.ui.styleSheetLoader.loadAll(n)])})(e,o,n)).then(s).catch(s),i=Kd(e);return i&&((e,t)=>{const n=un.fromDom(e.getBody()),o=Zn(Qn(n)),r=un.fromTag("style");vo(r,"type","text/css"),go(r,un.fromText(t)),go(o,r),e.on("remove",()=>{Ao(r)})})(e,i),a},LP=e=>{!0!==e.removed&&((e=>{zE(e)||e.load({initial:!0,format:"html"}),e.startContent=e.getContent({format:"raw"})})(e),(e=>{e.bindPendingEventDelegates(),e.initialized=!0,(e=>{e.dispatch("Init")})(e),e.focus(!0),(e=>{const t=e.dom.getRoot();e.inline||og(e)&&e.selection.getStart(!0)!==t||Af(t).each(t=>{const n=t.getNode(),o=ns(n)?Af(n).getOr(t):t;e.selection.setRng(o.toRange())})})(e),e.nodeChanged({initial:!0});const t=Tm(e);w(t)&&t.call(e,e),(e=>{const t=Bm(e);t&&Sp.setEditorTimeout(e,()=>{let n;n=!0===t?e:e.editorManager.get(t),n&&!n.destroyed&&(n.focus(),n.selection.scrollIntoView())},100)})(e),Px(e)&&Mx(e,!0)})(e))},MP=e=>{const t=e.getElement();let n=e.getDoc();e.inline&&(AP.addClass(t,"mce-content-body"),e.contentDocument=n=document,e.contentWindow=window,e.bodyElement=t,e.contentAreaContainer=t);const o=Yd(e);if(o){const r=e.inline?t:n.documentElement;AP.setAttrib(r,"lang",o)}const r=e.getBody();r.disabled=!0,e.readonly=Cm(e),e._editableRoot=wm(e),!fu(e)&&e.hasEditableRoot()&&(e.inline&&"static"===AP.getStyle(r,"position",!0)&&(r.style.position="relative"),r.contentEditable="true"),r.disabled=!1,e.editorUpload=Yx(e),e.schema=Ua(OP(e)),e.dom=gi(n,{keep_values:!0,url_converter:e.convertURL,url_converter_scope:e,update_styles:!0,root_element:e.inline?e.getBody():null,collect:e.inline,schema:e.schema,contentCssCors:Ud(e),referrerPolicy:zd(e),crossOrigin:jd(e),onSetAttrib:t=>{e.dispatch("SetAttrib",t)}}),e.parser=(e=>{const t=ES(TP(e),e.schema);return t.addAttributeFilter("data-mce-src,data-mce-href,data-mce-style",(e,t)=>{for(let n=0;n{const o=e.dom,r="data-mce-"+n;let s=t.length;for(;s--;){const a=t[s];let i=a.attr(n);if(i&&!a.attr(r)){if(0===i.indexOf("data:")||0===i.indexOf("blob:"))continue;"style"===n?(i=o.serializeStyle(o.parseStyle(i),a.name),i.length||(i=null),a.attr(r,i),a.attr(n,i)):"tabindex"===n?(a.attr(r,i),a.attr(n,null)):a.attr(r,e.convertURL(i,n,a.name))}}}),t.addNodeFilter("script",e=>{let t=e.length;for(;t--;){const n=e[t],o=n.attr("type")||"no/type";0!==o.indexOf("mce-")&&n.attr("type","mce-"+o)}}),eu(e)&&t.addNodeFilter("#cdata",t=>{let n=t.length;for(;n--;){const o=t[n];o.type=8,o.name="#comment",o.value="[CDATA["+e.dom.encode(o.value??"")+"]]"}}),t.addNodeFilter("p,h1,h2,h3,h4,h5,h6,div",t=>{let n=t.length;const o=e.schema.getNonEmptyElements();for(;n--;){const e=t[n];e.isEmpty(o)&&0===e.getAll("br").length&&e.append(new Ah("br",1))}}),t})(e),e.serializer=GE((e=>{const t=e.options.get;return{...TP(e),...OP(e),...DP({remove_trailing_brs:t("remove_trailing_brs"),pad_empty_with_br:t("pad_empty_with_br"),url_converter:t("url_converter"),url_converter_scope:t("url_converter_scope"),element_format:t("element_format"),entities:t("entities"),entity_encoding:t("entity_encoding"),indent:t("indent"),indent_after:t("indent_after"),indent_before:t("indent_before")})}})(e),e),e.selection=WE(e.dom,e.getWin(),e.serializer,e),e.annotator=op(e),e.formatter=sk(e),e.undoManager=ik(e),e._nodeChangeDispatcher=new kO(e),e._selectionOverrides=HB(e),xO(e),(e=>{const t=Ke(),n=Ae(!1),o=it(t=>{e.dispatch("longpress",{...t,type:"longpress"}),n.set(!0)},400);e.on("touchstart",e=>{uR(e).each(r=>{o.cancel();const s={x:r.clientX,y:r.clientY,target:e.target};o.throttle(e),n.set(!1),t.set(s)})},!0),e.on("touchmove",r=>{o.cancel(),uR(r).each(o=>{t.on(r=>{((e,t)=>{const n=Math.abs(e.clientX-t.x),o=Math.abs(e.clientY-t.y);return n>5||o>5})(o,r)&&(t.clear(),n.set(!1),e.dispatch("longpresscancel"))})})},!0),e.on("touchend touchcancel",r=>{o.cancel(),"touchcancel"!==r.type&&t.get().filter(e=>e.target.isEqualNode(r.target)).each(()=>{n.get()?r.preventDefault():e.dispatch("tap",{...r,type:"tap"})})},!0)})(e),(e=>{(e=>{e.on("click",t=>{e.dom.getParent(t.target,"details")&&t.preventDefault()})})(e),(e=>{e.parser.addNodeFilter("details",t=>{const n=au(e);q(t,e=>{"expanded"===n?e.attr("open","open"):"collapsed"===n&&e.attr("open",null)})}),e.serializer.addNodeFilter("details",t=>{const n=iu(e);q(t,e=>{"expanded"===n?e.attr("open","open"):"collapsed"===n&&e.attr("open",null)})})})(e)})(e),Xm(e)&&(e=>{const t="contenteditable",n=" "+dn.trim(Zm(e))+" ",o=" "+dn.trim(Qm(e))+" ",r=yR(n),s=yR(o),a=Jm(e);a.length>0&&e.on("BeforeSetContent",t=>{((e,t,n)=>{let o=t.length,r=n.content;if("raw"!==n.format){for(;o--;)r=r.replace(t[o],vR(e,r,Qm(e)));n.content=r}})(e,a,t)}),e.parser.addAttributeFilter("class",e=>{let n=e.length;for(;n--;){const o=e[n];r(o)?o.attr(t,"true"):s(o)&&o.attr(t,"false")}}),e.serializer.addAttributeFilter(t,e=>{let n=e.length;for(;n--;){const o=e[n];if(!r(o)&&!s(o))continue;const i=o.attr("data-mce-content");a.length>0&&i?CR(a,i)?(o.name="#text",o.type=3,o.raw=!0,o.value=i):o.remove():o.attr(t,null)}})})(e),zE(e)||((e=>{e.on("mousedown",t=>{t.detail>=3&&(t.preventDefault(),hB(e))})})(e),(e=>{SP(e)})(e));const s=vO(e);((e,t)=>{e.addCommand("delete",()=>{mR(e,t)}),e.addCommand("forwardDelete",()=>{((e,t)=>{dR(e,t,!0).fold(()=>{e.selection.isEditable()&&my(e)},P),I_(e)&&Tk(e.dom,e.getBody())})(e,t)})})(e,s),(e=>{e.on("NodeChange",()=>(e=>{const t=e.dom,n=e.selection,o=e.schema,r=o.getBlockElements(),s=n.getStart(),a=e.getBody();let i,l,c=null;const d=Ed(e);if(!s||!Xr(s))return;const m=a.nodeName.toLowerCase();if(!o.isValidChild(m,d.toLowerCase())||((e,t,n)=>H(gb(un.fromDom(n),un.fromDom(t)),t=>fR(e,t.dom)))(r,a,s))return;if(a.firstChild===a.lastChild&&ms(a.firstChild))return i=hR(e),i.appendChild(qi().dom),a.replaceChild(i,a.firstChild),e.selection.setCursorLocation(i,0),void e.nodeChanged();let u=a.firstChild;for(;u;)if(Xr(u)&&Ys(o,u),gR(o,u)){if(pR(r,u)){l=u,u=u.nextSibling,t.remove(l);continue}if(!i){if(!c&&e.hasFocus()&&(c=xv(e.selection.getRng(),()=>document.createElement("span"))),!u.parentNode){u=null;break}i=hR(e),a.insertBefore(i,u)}l=u,u=u.nextSibling,i.appendChild(l)}else i=null,u=u.nextSibling;c&&(e.selection.setRng(kv(c)),e.nodeChanged())})(e))})(e),(e=>{const t=e.dom,n=Ed(e),o=em(e)??"",r=(s,a)=>{if((e=>{if(dk(e)){const t=e.keyCode;return!mk(e)&&(Lp.metaKeyPressed(e)||e.altKey||t>=112&&t<=123||$(lk,t))}return!1})(s))return;const i=e.getBody(),l=!(e=>dk(e)&&!(mk(e)||"keyup"===e.type&&229===e.keyCode))(s)&&((e,t,n)=>{if(e.isEmpty(t,void 0,{skipBogus:!1,includeZwsp:!0})){const o=t.firstElementChild;return!o||!e.getStyle(t.firstElementChild,"padding-left")&&!e.getStyle(t.firstElementChild,"padding-right")&&n===o.nodeName.toLowerCase()}return!1})(t,i,n);(""!==t.getAttrib(i,ck)!==l||a)&&(t.setAttrib(i,ck,l?o:null),((e,t)=>{e.dispatch("PlaceholderToggle",{state:t})})(e,l),e.on(l?"keydown":"keyup",r),e.off(l?"keyup":"keydown",r))};ot(o)&&e.on("init",t=>{r(t,!0),e.on("change SetContent ExecCommand",r),e.on("paste",t=>Sp.setEditorTimeout(e,()=>r(t)))})})(e),cB(e,s);const a=(e=>{const t=e;return(e=>xe(e.plugins,"rtc").bind(e=>I.from(e.setup)))(e).fold(()=>(t.rtcInstance=UE(e),I.none()),e=>(t.rtcInstance=(()=>{const e=N(null),t=N("");return{init:{bindEvents:x},undoManager:{beforeChange:x,add:e,undo:e,redo:e,clear:x,reset:x,hasUndo:L,hasRedo:L,transact:e,ignore:x,extra:x},formatter:{match:L,matchAll:N([]),matchNode:N(void 0),canApply:L,closest:t,apply:x,remove:x,toggle:x,formatChanged:N({unbind:x})},editor:{getContent:t,setContent:N({content:"",html:""}),insertContent:N(""),addVisual:x},selection:{getContent:t},autocompleter:{addDecoration:x,removeDecoration:x},raw:{getModel:N(I.none())}}})(),I.some(()=>e().then(e=>(t.rtcInstance=(e=>{const t=e=>f(e)?e:{},{init:n,undoManager:o,formatter:r,editor:s,selection:a,autocompleter:i,raw:l}=e;return{init:{bindEvents:n.bindEvents},undoManager:{beforeChange:o.beforeChange,add:o.add,undo:o.undo,redo:o.redo,clear:o.clear,reset:o.reset,hasUndo:o.hasUndo,hasRedo:o.hasRedo,transact:(e,t,n)=>o.transact(n),ignore:(e,t)=>o.ignore(t),extra:(e,t,n,r)=>o.extra(n,r)},formatter:{match:(e,n,o,s)=>r.match(e,t(n),s),matchAll:r.matchAll,matchNode:r.matchNode,canApply:e=>r.canApply(e),closest:e=>r.closest(e),apply:(e,n,o)=>r.apply(e,t(n)),remove:(e,n,o,s)=>r.remove(e,t(n)),toggle:(e,n,o)=>r.toggle(e,t(n)),formatChanged:(e,t,n,o,s)=>r.formatChanged(t,n,o,s)},editor:{getContent:e=>s.getContent(e),setContent:(e,t)=>({content:s.setContent(e,t),html:""}),insertContent:(e,t)=>(s.insertContent(e),""),addVisual:s.addVisual},selection:{getContent:(e,t)=>a.getContent(t)},autocompleter:{addDecoration:i.addDecoration,removeDecoration:i.removeDecoration},raw:{getModel:()=>I.some(l.getRawModel())}}})(e),e.rtc.isRemote)))))})(e);(e=>{const t=e.getDoc(),n=e.getBody();(e=>{e.dispatch("PreInit")})(e),Pm(e)||(t.body.spellcheck=!1,AP.setAttrib(n,"spellcheck","false")),e.quirks=EP(e),(e=>{e.dispatch("PostRender")})(e);const o=Xd(e);void 0!==o&&(n.dir=o);const r=Lm(e);r&&((e,t)=>{((e,t)=>{e.on("BeforeSetContent",e=>{q(t,t=>{e.content=e.content.replace(t,e=>"\x3c!--mce:protected "+escape(e)+"--\x3e")})})})(e,t),((e,t)=>{e.serializer.addNodeFilter("#comment",e=>{let n=e.length;for(;n--;){const o=e[n],r=o.value;if(0===r?.indexOf("mce:protected ")){const e=unescape(r).substr(14);H(t,t=>{const n=e.match(t);return null!==n&&n[0].length===e.length})?(o.name="#text",o.type=3,o.raw=!0,o.value=e):o.remove()}}})})(e,t)})(e,r),e.on("SetContent",()=>{e.addVisual(e.getBody())}),e.on("compositionstart compositionend",t=>{e.composing="compositionstart"===t.type})})(e),(e=>{NP(e)})(e),a.fold(()=>{const t=(e=>{let t=!1;const n=setTimeout(()=>{t||e.setProgressState(!0)},500);return()=>{clearTimeout(n),t=!0,e.setProgressState(!1)}})(e);PP(e).then(()=>{LP(e),t()})},t=>{e.setProgressState(!0),PP(e).then(()=>{t().then(t=>{e.setProgressState(!1),LP(e),HE(e)},t=>{e.notificationManager.open({type:"error",text:String(t)}),LP(e),HE(e)})})})},IP=gi.DOM,FP=(e,t)=>{((e,t)=>{const n=Rm(e),o=e.translate(n),r=So(un.fromDom(e.getElement()),"tabindex").bind(st),s=((e,t,n,o)=>{const r=un.fromTag("iframe");return o.each(e=>vo(r,"tabindex",e)),Co(r,n),Co(r,{id:e+"_ifr",frameBorder:"0",allowTransparency:"true",title:t}),yr(r,"tox-edit-area__iframe"),r})(e.id,o,hd(e),r).dom;s.onload=()=>{s.onload=null,e.dispatch("load")},e.contentAreaContainer=t.iframeContainer,e.iframeElement=s,e.iframeHTML=(e=>{let t=bd(e)+"";yd(e)!==e.editorManager.documentBaseURL&&(t+=''),t+='';const n=vd(e),o=Cd(e),r=e.translate(Rm(e)),s=sn.os.isMacOS()||sn.os.isiOS()?`role="textbox" aria-multiline="true" aria-label="${r}"`:"";return wd(e)&&(t+=''),t+=`
    `,t})(e),IP.add(t.iframeContainer,s)})(e,t),t.editorContainer&&(t.editorContainer.style.display=e.orgDisplay,e.hidden=IP.isHidden(t.editorContainer)),e.getElement().style.display="none",IP.setAttrib(e.id,"aria-hidden","true"),e.getElement().style.visibility=e.orgVisibility,(e=>{const t=e.iframeElement,n=()=>{e.contentDocument=t.contentDocument,MP(e)};if(ou(e)||sn.browser.isFirefox()){const t=e.getDoc();t.open(),t.write(e.iframeHTML),t.close(),n()}else{const o=so(un.fromDom(t),"load",()=>{o.unbind(),n()});t.srcdoc=e.iframeHTML}})(e)},UP=gi.DOM,zP=(e,t)=>({editorContainer:e,iframeContainer:t,api:{}}),jP=e=>{const t=e.getElement();return e.inline?zP(null):(e=>{const t=UP.create("div");return UP.insertAfter(t,e),zP(t,t)})(t)},$P=async e=>{e.dispatch("ScriptsLoaded"),(e=>{const t=dn.trim(Bd(e)),n=e.ui.registry.getAll().icons,o={...JE.get("default").icons,...JE.get(t).icons};he(o,(t,o)=>{ke(n,o)||e.ui.registry.addIcon(o,t)})})(e),(e=>{const t=t=>{t.keyCode!==Lp.ESC||t.defaultPrevented||q(e.editorManager.get(),e=>{(e=>e.dispatch("CloseActiveTooltips"))(e).isDefaultPrevented()&&t.preventDefault()})};document.addEventListener("keyup",t),e.inline||e.on("keyup",t),e.on("remove",()=>{document.removeEventListener("keyup",t),e.inline||e.off("keyup",t)})})(e),(e=>{const t=om(e);if(u(t)){const n=cx.get(t);e.theme=n(e,cx.urls[t])||{},w(e.theme.init)&&e.theme.init(e,cx.urls[t]||e.editorManager.documentBaseURL.replace(/\/$/,""))}else e.theme={}})(e),(e=>{const t=sm(e),n=ex.get(t);e.model=n(e,ex.urls[t])})(e),(e=>{Rx.init(e)})(e),(e=>{const t=[];q(Em(e),n=>{((e,t,n)=>{const o=lx.get(n),r=lx.urls[n]||e.editorManager.documentBaseURL.replace(/\/$/,"");if(n=dn.trim(n),o&&-1===dn.inArray(t,n)){if(e.plugins[n])return;try{const s=o(e,r)||{};e.plugins[n]=s,w(s.init)&&(s.init(e,r),t.push(n))}catch(t){((e,t,n)=>{const o=Ci.translate(["Failed to initialize plugin: {0}",t]);nd(e,"PluginLoadError",{message:o}),px(o,n),ux(e,o)})(e,n,t)}}})(e,t,(e=>e.replace(/^\-/,""))(n))})})(e);const t=await(e=>{const t=e.getElement();return e.orgDisplay=t.style.display,u(om(e))?(e=>{const t=e.theme.renderUI;return t?t():jP(e)})(e):w(om(e))?(e=>{const t=e.getElement(),n=om(e)(e,t);return n.editorContainer.nodeType&&(n.editorContainer.id=n.editorContainer.id||e.id+"_parent"),n.iframeContainer&&n.iframeContainer.nodeType&&(n.iframeContainer.id=n.iframeContainer.id||e.id+"_iframecontainer"),n.height=n.iframeHeight?n.iframeHeight:t.offsetHeight,n})(e):jP(e)})(e);((e,t)=>{const n={show:I.from(t.show).getOr(x),hide:I.from(t.hide).getOr(x),isEnabled:I.from(t.isEnabled).getOr(M),setEnabled:n=>{n&&("readonly"===e.mode.get()||Px(e))||I.from(t.setEnabled).each(e=>e(n))}};e.ui={...e.ui,...n}})(e,I.from(t.api).getOr({})),e.editorContainer=t.editorContainer,(e=>{e.contentCSS=e.contentCSS.concat((e=>jx(e,Wd(e)))(e),(e=>jx(e,Gd(e)))(e))})(e),e.inline?MP(e):FP(e,{editorContainer:t.editorContainer,iframeContainer:t.iframeContainer})},HP=gi.DOM,VP=e=>"-"===e.charAt(0),qP=(e,t,n)=>I.from(t).filter(e=>ot(e)&&!JE.has(e)).map(t=>({url:`${e.editorManager.baseURL}/icons/${t}/icons${n}.js`,name:I.some(t)})),WP=(e,t)=>{const n=hi.ScriptLoader,o=()=>{!e.removed&&(e=>{const t=om(e);return!u(t)||C(cx.get(t))})(e)&&(e=>{const t=sm(e);return C(ex.get(t))})(e)&&$P(e)};((e,t)=>{const n=om(e);if(u(n)&&!VP(n)&&!ke(cx.urls,n)){const o=rm(e),r=o?e.documentBaseURI.toAbsolute(o):`themes/${n}/theme${t}.js`;cx.load(n,r).catch(()=>{((e,t,n)=>{fx(e,"ThemeLoadError",gx("theme",t,n))})(e,r,n)})}})(e,t),((e,t)=>{const n=sm(e);if("plugin"!==n&&!ke(ex.urls,n)){const o=am(e),r=u(o)?e.documentBaseURI.toAbsolute(o):`models/${n}/model${t}.js`;ex.load(n,r).catch(()=>{((e,t,n)=>{fx(e,"ModelLoadError",gx("model",t,n))})(e,r,n)})}})(e,t),((e,t)=>{Rx.load(e,t)})(e,t),((e,t)=>{const n=$d(t),o=Hd(t);if(!Ci.hasCode(n)&&"en"!==n){const r=ot(o)?o:`${t.editorManager.baseURL}/langs/${n}.js`;e.add(r).catch(()=>{((e,t,n)=>{fx(e,"LanguageLoadError",gx("language",t,n))})(t,r,n)})}})(n,e),((e,t,n)=>{const o=qP(t,"default",n),r=(e=>I.from(Pd(e)).filter(ot).map(e=>({url:e,name:I.none()})))(t).orThunk(()=>qP(t,Bd(t),""));q((e=>{const t=[],n=e=>{t.push(e)};for(let t=0;t{e.add(n.url).catch(()=>{((e,t,n)=>{fx(e,"IconsLoadError",gx("icons",t,n))})(t,n.url,n.name.getOrUndefined())})})})(n,e,t),((e,t)=>{const n=(t,n)=>{"licensekeymanager"!==t&&lx.load(t,n).catch(()=>{((e,t,n)=>{fx(e,"PluginLoadError",gx("plugin",t,n))})(e,n,t)})};he(xm(e),(t,o)=>{n(o,t),e.options.set("plugins",Em(e).concat(o))}),q(Em(e),e=>{!(e=dn.trim(e))||lx.urls[e]||VP(e)||n(e,`plugins/${e}/plugin${t}.js`)})})(e,t),n.loadQueue().then(o,o)},KP=["#E41B60","#AD1457","#1939EC","#001CB5","#648000","#465B00","#006CE7","#0054B4","#00838F","#006064","#00866F","#004D40","#51742F","#385021","#CF4900","#A84600","#CC0000","#6A1B9A","#9C27B0","#6A00AB","#3041BA","#0A1877","#774433","#452B24","#607D8B","#455A64"],YP=(e,t={size:36})=>{return n=(e=>{if(Intl.Segmenter){const t=(new Intl.Segmenter).segment(e)[Symbol.iterator]();return`${t.next().value?.segment}`}return e.trim()[0]})(e.name),o=(e=>{const t=((e,t)=>{let n=5381;for(let t=0;t>>0)%(t+1)})(e??"",KP.length-1);return KP[t]})(e.id),r=t.size,"data:image/svg+xml,"+encodeURIComponent(((e,t,n)=>{const o=n/2;return``+e+""})(n,o,r));var n,o,r},GP=Mc([jc("id","id",{tag:"required",process:{}},_c()),Wc("name"),Wc("avatar"),(e=>jc(e,e,{tag:"option",process:{}},_c()))("custom")]),XP=e=>{const t={};return he(e,(e,n)=>{e.each(e=>{t[n]=e})}),t},QP=e=>{if(!Array.isArray(e))throw new Error("fetch_users must return an array");const t=V(e,e=>Uc("Invalid user object",GP,e)),{errors:n,values:o}=qe(t);if(n.length>0){const e=V(n,(e,t)=>`User at index ${t}: ${zc(e)}`);console.warn("User validation errors:\n"+e.join("\n"))}return V(o,e=>{const{id:t,name:n,avatar:o,...r}=e;return{id:t,name:n.getOr(t),avatar:o.getOr(YP({id:t,name:n.getOr(t)})),...XP(r)}})},ZP=Xt().deviceType,JP=ZP.isPhone(),eL=ZP.isTablet(),tL=e=>{if(v(e))return[];{const t=p(e)?e:e.split(/[ ,]/),n=V(t,et);return Y(n,ot)}},nL=(e,t)=>{const n=(t=>{const n={},o={};return Ce(t,(t,n)=>$(e,n),ve(n),ve(o)),{t:n,f:o}})(t);return o=n.t,r=n.f,{sections:N(o),options:N(r)};var o,r},oL=(e,t)=>ke(e.sections(),t),rL=(e,t)=>({table_grid:!1,object_resizing:!1,resize:!1,toolbar_mode:xe(e,"toolbar_mode").getOr("scrolling"),toolbar_sticky:!1,...t?{menubar:!1}:{}}),sL=(e,t)=>{const n=t.external_plugins??{};return e&&e.external_plugins?dn.extend({},e.external_plugins,n):n},aL=(e,t,n,o,r)=>{const s=e?{mobile:rL(r.mobile??{},t)}:{},a=nL(["mobile"],Fe(s,r)),i=dn.extend(n,o,a.options(),((e,t)=>e&&oL(t,"mobile"))(e,a)?((e,t,n={})=>{const o=e.sections(),r=xe(o,t).getOr({});return dn.extend({},n,r)})(a,"mobile"):{},{external_plugins:sL(o,a.options())});return((e,t,n,o)=>{const r=tL(n.forced_plugins),s=tL(o.plugins),a=((e,t)=>oL(e,t)?e.sections()[t]:{})(t,"mobile"),i=((e,t,n,o)=>e&&oL(t,"mobile")?o:n)(e,t,s,a.plugins?tL(a.plugins):s),l=((e,t)=>[...tL(e),...tL(t)])(r,i);return dn.extend(o,{forced_plugins:r,plugins:l})})(e,a,o,i)},iL=e=>{(e=>{const t=t=>()=>{q("left,center,right,justify".split(","),n=>{t!==n&&e.formatter.remove("align"+n)}),"none"!==t&&(t=>{e.formatter.toggle(t,void 0),e.nodeChanged()})("align"+t)};e.editorCommands.addCommands({JustifyLeft:t("left"),JustifyCenter:t("center"),JustifyRight:t("right"),JustifyFull:t("justify"),JustifyNone:t("none")})})(e),(e=>{const t=t=>()=>{const n=e.selection,o=n.isCollapsed()?[e.dom.getParent(n.getNode(),e.dom.isBlock)]:n.getSelectedBlocks();return H(o,n=>C(e.formatter.matchNode(n,t)))};e.editorCommands.addCommands({JustifyLeft:t("alignleft"),JustifyCenter:t("aligncenter"),JustifyRight:t("alignright"),JustifyFull:t("alignjustify")},"state")})(e)},lL=(e,t)=>{const n=e.selection,o=e.dom;return/^ | $/.test(t)?((e,t,n,o)=>{const r=un.fromDom(e.getRoot());return n=Ib(r,Kl.fromRangeStart(t),o)?n.replace(/^ /," "):n.replace(/^ /," "),Fb(r,Kl.fromRangeEnd(t),o)?n.replace(/( | )()?$/," "):n.replace(/ ()?$/," ")})(o,n.getRng(),t,e.schema):t},cL=(e,t)=>{if(e.selection.isEditable()){const{content:n,details:o}=(e=>{if("string"!=typeof e){const t=dn.extend({paste:e.paste,data:{paste:e.paste}},e);return{content:e.content,details:t}}return{content:e,details:{}}})(t);RS(e,{...o,content:lL(e,n),format:"html",set:!1,selection:!0}).each(t=>{const n=((e,t,n)=>jE(e).editor.insertContent(t,n))(e,t.content,o);DS(e,n,t),e.addVisual()})}},dL={"font-size":"size","font-family":"face"},mL=On("font"),uL=e=>(t,n)=>I.from(n).map(un.fromDom).filter(An).bind(n=>((e,t,n)=>Or(un.fromDom(n),t=>(t=>Vo(t,e).orThunk(()=>mL(t)?xe(dL,e).bind(e=>So(t,e)):I.none()))(t),e=>vn(un.fromDom(t),e)))(e,t,n.dom).or(((e,t)=>I.from(gi.DOM.getStyle(t,e,!0)))(e,n.dom))).getOr(""),fL=uL("font-size"),gL=k(e=>e.replace(/[\'\"\\]/g,"").replace(/,\s+/g,","),uL("font-family")),pL=e=>Af(e.getBody()).bind(e=>{const t=e.container();return I.from(ss(t)?t.parentNode:t)}),hL=(e,t)=>((e,t)=>(e=>I.from(e.selection.getRng()).bind(t=>{const n=e.getBody();return t.startContainer===n&&0===t.startOffset?I.none():I.from(e.selection.getStart(!0))}))(e).orThunk(D(pL,e)).map(un.fromDom).filter(An).bind(t))(e,_(I.some,t)),bL=(e,t)=>{if(/^[0-9.]+$/.test(t)){const n=parseInt(t,10);if(n>=1&&n<=7){const o=(e=>dn.explode(e.options.get("font_size_style_values")))(e),r=(e=>dn.explode(e.options.get("font_size_classes")))(e);return r.length>0?r[n-1]||t:o[n-1]||t}return t}return t},yL=e=>{const t=e.split(/\s*,\s*/);return V(t,e=>-1===e.indexOf(" ")||Qe(e,'"')||Qe(e,"'")?e:`'${e}'`).join(",")},vL=e=>{e.editorCommands.addCommands({Indent:()=>{(e=>{aR(e,"indent")})(e)},Outdent:()=>{iR(e)}}),e.editorCommands.addCommands({Outdent:()=>oR(e),Indent:()=>(e=>!e.mode.isReadOnly()&&(e=>bu(e).forall(t=>{const n=e.selection.getSelectedBlocks();return H(n,e=>fr(un.fromDom(e),"li").forall(e=>{return(n=e,kr(n,e=>bn(e,"ol,ul"),void 0)).length<=t;var n}))}))(e))(e)},"state")},CL=(e,t)=>{if(e.mode.isReadOnly())return;const n=e.dom,o=e.selection.getRng(),r=t?e.selection.getStart():e.selection.getEnd(),s=t?o.startContainer:o.endContainer,a=CT(n,s);if(!a||!a.isContentEditable)return;const i=t?mo:uo,l=Ed(e);((e,t,n,o)=>{const r=e.dom,s=e=>r.isBlock(e)&&e.parentElement===n,a=s(t)?t:r.getParent(o,s,n);return I.from(a).map(un.fromDom)})(e,r,a,s).each(t=>{const n=xT(e,s,t.dom,a,!1,l);i(t,un.fromDom(n)),e.selection.setCursorLocation(n,0),e.dispatch("NewBlock",{newBlock:n}),fk(e,"insertParagraph")})},wL=e=>{iL(e),(e=>{e.editorCommands.addCommands({"Cut,Copy,Paste":t=>{const n=e.getDoc();let o;try{n.execCommand(t)}catch{o=!0}if("paste"!==t||n.queryCommandEnabled(t)||(o=!0),o||!n.queryCommandSupported(t)){let t=e.translate("Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead.");(sn.os.isMacOS()||sn.os.isiOS())&&(t=t.replace(/Ctrl\+/g,"\u2318+")),e.notificationManager.open({text:t,type:"error"})}}})})(e),(e=>{e.editorCommands.addCommands({mceAddUndoLevel:()=>{e.undoManager.add()},mceEndUndoLevel:()=>{e.undoManager.add()},Undo:()=>{e.undoManager.undo()},Redo:()=>{e.undoManager.redo()}})})(e),(e=>{e.editorCommands.addCommands({mceSelectNodeDepth:(t,n,o)=>{let r=0;e.dom.getParent(e.selection.getNode(),t=>!Xr(t)||r++!==o||(e.selection.select(t),!1),e.getBody())},mceSelectNode:(t,n,o)=>{e.selection.select(o)},selectAll:()=>{const t=e.dom.getParent(e.selection.getStart(),gs);if(t){const n=e.dom.createRng();n.selectNodeContents(t),e.selection.setRng(n)}}})})(e),(e=>{e.editorCommands.addCommands({mceCleanup:()=>{const t=e.selection.getBookmark();e.setContent(e.getContent()),e.selection.moveToBookmark(t)},insertImage:(t,n,o)=>{cL(e,e.dom.createHTML("img",{src:o}))},insertHorizontalRule:()=>{e.execCommand("mceInsertContent",!1,"
    ")},insertText:(t,n,o)=>{cL(e,e.dom.encode(o))},insertHTML:(t,n,o)=>{cL(e,o)},mceInsertContent:(t,n,o)=>{cL(e,o)},mceSetContent:(t,n,o)=>{e.setContent(o)},mceReplaceContent:(t,n,o)=>{e.execCommand("mceInsertContent",!1,o.replace(/\{\$selection\}/g,e.selection.getContent({format:"text"})))},mceNewDocument:()=>{e.setContent(zm(e))}})})(e),(e=>{const t=(t,n,o)=>{if(e.mode.isReadOnly())return;const r=u(o)?{href:o}:o,s=e.dom.getParent(e.selection.getNode(),"a");f(r)&&u(r.href)&&(r.href=r.href.replace(/ /g,"%20").replace(/&/g,"&"),s&&r.href||e.formatter.remove("link"),r.href&&e.formatter.apply("link",r,s))};e.editorCommands.addCommands({unlink:()=>{if(e.selection.isEditable()){if(e.selection.isCollapsed()){const t=e.dom.getParent(e.selection.getStart(),"a");return void(t&&e.dom.remove(t,!0))}e.formatter.remove("link")}},mceInsertLink:t,createLink:t})})(e),vL(e),(e=>{e.editorCommands.addCommands({InsertNewBlockBefore:()=>{(e=>{CL(e,!0)})(e)},InsertNewBlockAfter:()=>{(e=>{CL(e,!1)})(e)}})})(e),(e=>{e.editorCommands.addCommands({insertParagraph:()=>{nO(PT,e)},mceInsertNewLine:(t,n,o)=>{oO(e,o)},InsertLineBreak:(t,n,o)=>{nO($T,e)}})})(e),(e=>{(e=>{const t=(t,n)=>{e.formatter.toggle(t,n),e.nodeChanged()};e.editorCommands.addCommands({"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":e=>{t(e)},"ForeColor,HiliteColor":(e,n,o)=>{t(e,{value:o})},BackColor:(e,n,o)=>{t("hilitecolor",{value:o})},FontName:(t,n,o)=>{((e,t)=>{const n=bL(e,t);e.formatter.toggle("fontname",{value:yL(n)}),e.nodeChanged()})(e,o)},FontSize:(t,n,o)=>{((e,t)=>{e.formatter.toggle("fontsize",{value:bL(e,t)}),e.nodeChanged()})(e,o)},LineHeight:(t,n,o)=>{((e,t)=>{e.formatter.toggle("lineheight",{value:String(t)}),e.nodeChanged()})(e,o)},Lang:(e,n,o)=>{t(e,{value:o.code,customValue:o.customCode??null})},RemoveFormat:t=>{e.formatter.remove(t)},mceBlockQuote:()=>{t("blockquote")},FormatBlock:(e,n,o)=>{t(u(o)?o:"p")},mceToggleFormat:(e,n,o)=>{t(o)}})})(e),(e=>{const t=t=>e.formatter.match(t);e.editorCommands.addCommands({"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":e=>t(e),mceBlockQuote:()=>t("blockquote")},"state"),e.editorCommands.addQueryValueHandler("FontName",()=>(e=>hL(e,t=>gL(e.getBody(),t.dom)).getOr(""))(e)),e.editorCommands.addQueryValueHandler("FontSize",()=>(e=>hL(e,t=>fL(e.getBody(),t.dom)).getOr(""))(e)),e.editorCommands.addQueryValueHandler("LineHeight",()=>(e=>hL(e,t=>{const n=un.fromDom(e.getBody()),o=Or(t,e=>Vo(e,"line-height"),D(vn,n));return o.getOrThunk(()=>{const e=parseFloat($o(t,"line-height")),n=parseFloat($o(t,"font-size"));return String(e/n)})}).getOr(""))(e))})(e)})(e),(e=>{e.editorCommands.addCommands({mceRemoveNode:(t,n,o)=>{const r=o??e.selection.getNode();if(r!==e.getBody()){const t=e.selection.getBookmark();e.dom.remove(r,!0),e.selection.moveToBookmark(t)}},mcePrint:()=>{e.getWin().print()},mceFocus:(t,n,o)=>{((e,t)=>{if(e.removed)return;if(!0===t)return void Pp(e);const n=(e=>C(e)&&!b(e)?e:{scrollToSelection:!0})(t);((e,t)=>{const n=e.selection,o=e.getBody();let r=n.getRng();e.quirks.refreshContentEditable();const s=e=>{Cp(e).each(t=>{e.selection.setRng(t),r=t})};!Op(e)&&e.hasEditableRoot()&&s(e);const a=((e,t)=>e.dom.getParent(t,t=>"true"===e.dom.getContentEditable(t)))(e,n.getNode());if(a&&e.dom.isChildOf(a,o))return((e,t)=>null!==e.dom.getParent(t,t=>"false"===e.dom.getContentEditable(t)))(e,a)||Tp(o,t),Tp(a,t),e.hasEditableRoot()||s(e),Dp(e,r),void Pp(e);e.inline||(Tp(o,t),t?C(e.iframeElement)&&e.iframeElement.focus({preventScroll:!0}):e.getWin().focus()),(sn.browser.isFirefox()||e.inline)&&(Tp(o,t),Dp(e,r)),Pp(e)})(e,!1===n.scrollToSelection)})(e,o)},mceToggleVisualAid:()=>{e.hasVisual=!e.hasVisual,e.addVisual()}})})(e)},SL=["toggleview"],EL=e=>$(SL,e.toLowerCase());class xL{editor;commands={state:{},exec:{},value:{}};constructor(e){this.editor=e}execCommand(e,t=!1,n,o){const r=this.editor,s=e.toLowerCase(),a=o?.skip_focus;if(r.removed)return!1;if("mcefocus"!==s&&(/^(mceAddUndoLevel|mceEndUndoLevel|toggleview)$/i.test(s)||a?(e=>{Cp(e).each(t=>e.selection.setRng(t))})(r):r.focus()),r.dispatch("BeforeExecCommand",{command:e,ui:t,value:n}).isDefaultPrevented())return!1;const i=this.commands.exec[s];return!!w(i)&&(i(s,t,n,o),r.dispatch("ExecCommand",{command:e,ui:t,value:n,args:o}),!0)}queryCommandState(e){if(!EL(e)&&this.editor.quirks.isHidden()||this.editor.removed)return!1;const t=e.toLowerCase(),n=this.commands.state[t];return!!w(n)&&n(t)}queryCommandValue(e){if(!EL(e)&&this.editor.quirks.isHidden()||this.editor.removed)return"";const t=e.toLowerCase(),n=this.commands.value[t];return w(n)?n(t):""}addCommands(e,t="exec"){const n=this.commands;he(e,(e,o)=>{q(o.toLowerCase().split(","),o=>{n[t][o]=e})})}addCommand(e,t,n){const o=e.toLowerCase();this.commands.exec[o]=(e,o,r,s)=>t.call(n??this.editor,o,r,s)}removeCommand(e,t){const n=e.toLowerCase();t?delete this.commands[t][n]:(delete this.commands.exec[n],delete this.commands.state[n],delete this.commands.value[n])}queryCommandSupported(e){const t=e.toLowerCase();return!!this.commands.exec[t]}addQueryStateHandler(e,t,n){this.commands.state[e.toLowerCase()]=()=>t.call(n??this.editor)}addQueryValueHandler(e,t,n){this.commands.value[e.toLowerCase()]=()=>t.call(n??this.editor)}}const kL=dn.makeMap("focus blur focusin focusout click dblclick mousedown mouseup mousemove mouseover beforepaste paste cut copy selectionchange mouseout mouseenter mouseleave wheel keydown keypress keyup input beforeinput contextmenu dragstart dragend dragover draggesture dragdrop drop drag submit compositionstart compositionend compositionupdate touchstart touchmove touchend touchcancel"," ");class _L{static isNative(e){return!!kL[e.toLowerCase()]}settings;scope;toggleEvent;bindings={};constructor(e){this.settings=e||{},this.scope=this.settings.scope||this,this.toggleEvent=this.settings.toggleEvent||L}fire(e,t){return this.dispatch(e,t)}dispatch(e,t){const n=e.toLowerCase(),o=Za(n,t??{},this.scope);this.settings.beforeFire&&this.settings.beforeFire(o);const r=this.bindings[n];if(r)for(let e=0,t=r.length;e{this.toggleEvent(t,!1),delete this.bindings[t]}),this;if(s){if(t){const e=K(s,e=>e.func===t);s=e.fail,this.bindings[r]=s,q(e.pass,e=>{e.removed=!0})}else s.length=0;s.length||(this.toggleEvent(e,!1),delete this.bindings[r])}}}else he(this.bindings,(e,t)=>{this.toggleEvent(t,!1)}),this.bindings={};return this}once(e,t,n){return this.on(e,t,n,{once:!0})}has(e){e=e.toLowerCase();const t=this.bindings[e];return!(!t||0===t.length)}}const NL=e=>(e._eventDispatcher||(e._eventDispatcher=new _L({scope:e,toggleEvent:(t,n)=>{_L.isNative(t)&&e.toggleNativeEvent&&e.toggleNativeEvent(t,n)}})),e._eventDispatcher),AL={fire(e,t,n){return HS("fire"),this.dispatch(e,t,n)},dispatch(e,t,n){const o=this;if(o.removed&&"remove"!==e&&"detach"!==e)return Za(e.toLowerCase(),t??{},o);const r=NL(o).dispatch(e,t);if(!1!==n&&o.parent){let t=o.parent();for(;t&&!r.isPropagationStopped();)t.dispatch(e,r,!1),t=t.parent?t.parent():void 0}return r},on(e,t,n){return NL(this).on(e,t,n)},off(e,t){return NL(this).off(e,t)},once(e,t){return NL(this).once(e,t)},hasEventListeners(e){return NL(this).has(e)}},RL=gi.DOM;let DL;const TL=(e,t)=>{if("selectionchange"===t)return e.getDoc();if(!e.inline&&/^(?:mouse|touch|click|contextmenu|drop|dragover|dragend)/.test(t))return e.getDoc().documentElement;const n=tm(e);return n?(e.eventRoot||(e.eventRoot=RL.select(n)[0]),e.eventRoot):e.getBody()},OL=(e,t,n)=>{(e=>!e.hidden&&!Px(e))(e)?e.dispatch(t,n):Px(e)&&((e,t)=>{if((e=>"click"===e.type)(t)&&!Lp.metaKeyPressed(t)){const n=un.fromDom(t.target);((e,t)=>fr(t,"a",t=>vn(t,un.fromDom(e.getBody()))).bind(e=>So(e,"href")))(e,n).fold(()=>{Ux(e,n)&&t.preventDefault()},n=>{if(t.preventDefault(),/^#/.test(n)){const t=Ge(n,"#"),o=e.dom.select(`[id="${t}"],[name="${t}"]`);o.length&&(((e,t)=>{q(e.dom.getParents(t.parentNode,"details",e.getBody()),e=>{e.querySelector(":scope > summary")?.contains(t)||e.setAttribute("open","open")})})(e,o[0]),e.selection.scrollIntoView(o[0],!0))}else window.open(n,"_blank","rel=noopener noreferrer,menubar=yes,toolbar=yes,location=yes,status=yes,resizable=yes,scrollbars=yes")})}else(e=>$(Fx,e.type))(t)&&e.dispatch(t.type,t)})(e,n)},BL=(e,t)=>{if(e.delegates||(e.delegates={}),e.delegates[t]||e.removed)return;const n=TL(e,t);if(tm(e)){if(DL||(DL={},e.editorManager.on("removeEditor",()=>{e.editorManager.activeEditor||DL&&(he(DL,(t,n)=>{e.dom.unbind(TL(e,n))}),DL=null)})),DL[t])return;const o=n=>{const o=n.target,r=e.editorManager.get();let s=r.length;for(;s--;){const e=r[s].getBody();(e===o||RL.isChildOf(o,e))&&OL(r[s],t,n)}};DL[t]=o,RL.bind(n,t,o)}else{const o=n=>{OL(e,t,n)};RL.bind(n,t,o),e.delegates[t]=o}},PL={...AL,bindPendingEventDelegates(){const e=this;dn.each(e._pendingNativeEvents,t=>{BL(e,t)})},toggleNativeEvent(e,t){const n=this;"focus"!==e&&"blur"!==e&&(n.removed||(t?n.initialized?BL(n,e):n._pendingNativeEvents?n._pendingNativeEvents.push(e):n._pendingNativeEvents=[e]:n.initialized&&n.delegates&&(n.dom.unbind(TL(n,e),e,n.delegates[e]),delete n.delegates[e])))},unbindAllNativeEvents(){const e=this,t=e.getBody(),n=e.dom;e.delegates&&(he(e.delegates,(t,n)=>{e.dom.unbind(TL(e,n),n,t)}),delete e.delegates),!e.inline&&t&&n&&(t.onload=null,n.unbind(e.getWin()),n.unbind(e.getDoc())),n&&(n.unbind(t),n.unbind(e.getContainer()))}},LL=e=>u(e)?{value:e.split(/[ ,]/),valid:!0}:E(e,u)?{value:e,valid:!0}:{valid:!1,message:"The value must be a string[] or a comma/space separated string."},ML=(e,t)=>e+(rt(t.message)?"":`. ${t.message}`),IL=e=>e.valid,FL=(e,t,n="")=>{const o=t(e);return b(o)?o?{value:e,valid:!0}:{valid:!1,message:n}:o},UL=e=>e.readonly,zL=["design","readonly"],jL=(e,t,n,o)=>{const r=n[t.get()],s=n[o];try{s.activate()}catch(e){return void console.error(`problem while activating editor mode ${o}:`,e)}r.deactivate(),r.editorReadOnly!==s.editorReadOnly&&((e,t)=>{const n=un.fromDom(e.getBody());t?(e.readonly=!0,e.hasEditableRoot()&&(n.dom.contentEditable="true"),Ox(e)):(e.readonly=!1,Bx(e))})(e,s.editorReadOnly),t.set(o),((e,t)=>{e.dispatch("SwitchMode",{mode:t})})(e,o)},$L=e=>{const t=Ae("design"),n=Ae({design:{activate:x,deactivate:x,editorReadOnly:!1},readonly:{activate:x,deactivate:x,editorReadOnly:!0}});return(e=>{const t=t=>{UL(e)&&(e=>H(e,e=>"characterData"===e.type||"childList"===e.type))(t)&&(e=>{const t=e.undoManager.add();C(t)&&(e.undoManager.undo(),e.undoManager.reset())})(e)},n=new MutationObserver(t);e.on("beforeinput paste cut dragend dragover draggesture dragdrop drop drag",t=>{UL(e)&&t.preventDefault()}),e.on("BeforeExecCommand",t=>{"Undo"!==t.command&&"Redo"!==t.command||!UL(e)||t.preventDefault()}),e.on("compositionstart",()=>{UL(e)&&n.observe(e.getBody(),{characterData:!0,childList:!0,subtree:!0})}),e.on("compositionend",()=>{if(UL(e)){const e=n.takeRecords();t(e)}n.disconnect()})})(e),(e=>{(e=>{e.serializer?Ix(e):e.on("PreInit",()=>{Ix(e)})})(e),(e=>{e.on("ShowCaret ObjectSelected",t=>{Px(e)&&t.preventDefault()}),e.on("DisabledStateChange",t=>{t.isDefaultPrevented()||Mx(e,t.state)})})(e)})(e),{isReadOnly:()=>UL(e),set:o=>((e,t,n,o)=>{if(!(o===n.get()||e.initialized&&Px(e))){if(!ke(t,o))throw new Error(`Editor mode '${o}' is invalid`);e.initialized?jL(e,n,t,o):e.on("init",()=>jL(e,n,t,o))}})(e,n.get(),t,o),get:()=>t.get(),register:(e,t)=>{n.set(((e,t,n)=>{if($(zL,t))throw new Error(`Cannot override default mode ${t}`);return{...e,[t]:{...n,deactivate:()=>{try{n.deactivate()}catch(e){console.error(`problem while deactivating editor mode ${t}:`,e)}}}}})(n.get(),e,t))}}},HL=dn.each,VL=dn.explode,qL={f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123},WL=dn.makeMap("alt,ctrl,shift,meta,access"),KL=e=>{const t={},n=sn.os.isMacOS()||sn.os.isiOS();HL(VL(e.toLowerCase(),"+"),e=>{(e=>e in WL)(e)?t[e]=!0:/^[0-9]{2,}$/.test(e)?t.keyCode=parseInt(e,10):(t.charCode=e.charCodeAt(0),t.keyCode=qL[e]||e.toUpperCase().charCodeAt(0))});const o=[t.keyCode];let r;for(r in WL)t[r]?o.push(r):t[r]=!1;return t.id=o.join(","),t.access&&(t.alt=!0,n?t.ctrl=!0:t.shift=!0),t.meta&&(n?t.meta=!0:(t.ctrl=!0,t.meta=!1)),t};class YL{editor;shortcuts={};pendingPatterns=[];constructor(e){this.editor=e;const t=this;e.on("keyup keypress keydown",e=>{!t.hasModifier(e)&&!t.isFunctionKey(e)||e.isDefaultPrevented()||(HL(t.shortcuts,n=>{t.matchShortcut(e,n)&&(t.pendingPatterns=n.subpatterns.slice(0),"keydown"===e.type&&t.executeShortcutAction(n))}),t.matchShortcut(e,t.pendingPatterns[0])&&(1===t.pendingPatterns.length&&"keydown"===e.type&&t.executeShortcutAction(t.pendingPatterns[0]),t.pendingPatterns.shift()))})}add(e,t,n,o){const r=this,s=r.normalizeCommandFunc(n);return HL(VL(dn.trim(e)),e=>{const n=r.createShortcut(e,t,s,o);r.shortcuts[n.id]=n}),!0}remove(e){const t=this.createShortcut(e);return!!this.shortcuts[t.id]&&(delete this.shortcuts[t.id],!0)}normalizeCommandFunc(e){const t=this,n=e;return"string"==typeof n?()=>{t.editor.execCommand(n,!1,null)}:dn.isArray(n)?()=>{t.editor.execCommand(n[0],n[1],n[2])}:n}createShortcut(e,t,n,o){const r=dn.map(VL(e,">"),KL);return r[r.length-1]=dn.extend(r[r.length-1],{func:n,scope:o||this.editor}),dn.extend(r[0],{desc:this.editor.translate(t),subpatterns:r.slice(1)})}hasModifier(e){return e.altKey||e.ctrlKey||e.metaKey}isFunctionKey(e){return"keydown"===e.type&&e.keyCode>=112&&e.keyCode<=123}matchShortcut(e,t){return!!t&&t.ctrl===e.ctrlKey&&t.meta===e.metaKey&&t.alt===e.altKey&&t.shift===e.shiftKey&&!!(e.keyCode===t.keyCode||e.charCode&&e.charCode===t.charCode)&&(e.preventDefault(),!0)}executeShortcutAction(e){return e.func?e.func.call(e.scope):null}}const GL=()=>{const e=(()=>{const e={},t={},n={},o={},r={},s={},a={},i={},l={},c=(e,t)=>(n,o)=>{e[n.toLowerCase()]={...o,type:t}};return{addButton:c(e,"button"),addGroupToolbarButton:c(e,"grouptoolbarbutton"),addToggleButton:c(e,"togglebutton"),addMenuButton:c(e,"menubutton"),addSplitButton:c(e,"splitbutton"),addMenuItem:c(t,"menuitem"),addNestedMenuItem:c(t,"nestedmenuitem"),addToggleMenuItem:c(t,"togglemenuitem"),addAutocompleter:c(n,"autocompleter"),addContextMenu:c(r,"contextmenu"),addContextToolbar:c(s,"contexttoolbar"),addContextForm:(d=s,(e,t)=>{d[e.toLowerCase()]={type:"contextform",...t}}),addSidebar:c(i,"sidebar"),addView:c(l,"views"),addIcon:(e,t)=>o[e.toLowerCase()]=t,addContext:(e,t)=>a[e.toLowerCase()]=t,getAll:()=>({buttons:e,menuItems:t,icons:o,popups:n,contextMenus:r,contextToolbars:s,sidebars:i,views:l,contexts:a})};var d})();return{addAutocompleter:e.addAutocompleter,addButton:e.addButton,addContextForm:e.addContextForm,addContextMenu:e.addContextMenu,addContextToolbar:e.addContextToolbar,addIcon:e.addIcon,addMenuButton:e.addMenuButton,addMenuItem:e.addMenuItem,addNestedMenuItem:e.addNestedMenuItem,addSidebar:e.addSidebar,addSplitButton:e.addSplitButton,addToggleButton:e.addToggleButton,addGroupToolbarButton:e.addGroupToolbarButton,addToggleMenuItem:e.addToggleMenuItem,addView:e.addView,addContext:e.addContext,getAll:e.getAll}},XL=gi.DOM,QL=dn.extend,ZL=dn.each;class JL{baseUri;id;editorUid;plugins={};documentBaseURI;baseURI;contentCSS=[];contentStyles=[];ui;mode;options;editorUpload;userLookup;shortcuts;loadedCSS={};editorCommands;suffix;editorManager;hidden;inline;hasVisual;isNotDirty=!1;annotator;bodyElement;bookmark;composing=!1;container;contentAreaContainer;contentDocument;contentWindow;delegates;destroyed=!1;dom;editorContainer;eventRoot;formatter;formElement;formEventDelegate;hasHiddenInput=!1;iframeElement=null;iframeHTML;initialized=!1;notificationManager;orgDisplay;orgVisibility;parser;quirks;readonly=!1;removed=!1;schema;selection;serializer;startContent="";targetElm;theme;model;undoManager;windowManager;licenseKeyManager;_beforeUnload;_eventDispatcher;_nodeChangeDispatcher;_pendingNativeEvents=[];_selectionOverrides;_skinLoaded=!1;_editableRoot=!0;bindPendingEventDelegates;toggleNativeEvent;unbindAllNativeEvents;fire;dispatch;on;off;once;hasEventListeners;constructor(e,t,n){this.editorManager=n,QL(this,PL);const o=this;this.id=e,this.editorUid=Me(),this.hidden=!1;const r=((e,t)=>{const n=Ue(t);return aL(JP||eL,JP,n,e,n)})(n.defaultOptions,t);this.options=((e,t,n=t)=>{const o={},r={},s=(e,t,n)=>{const o=FL(t,n);return IL(o)?(r[e]=o.value,!0):(console.warn(ML(`Invalid value passed for the ${e} option`,o)),!1)},a=e=>ke(o,e);return{register:(e,n)=>{const a=(e=>u(e.processor))(n)?(e=>{const t=(()=>{switch(e){case"array":return p;case"boolean":return b;case"function":return w;case"number":return S;case"object":return f;case"string":return u;case"string[]":return LL;case"object[]":return e=>E(e,f);case"regexp":return e=>m(e,RegExp);default:return M}})();return n=>FL(n,t,`The value must be a ${e}.`)})(n.processor):n.processor,i=((e,t,n)=>{if(!y(t)){const o=FL(t,n);if(IL(o))return o.value;console.error(ML(`Invalid default value passed for the "${e}" option`,o))}})(e,n.default,a);o[e]={...n,default:i,processor:a},xe(r,e).orThunk(()=>xe(t,e)).each(t=>s(e,t,a))},isRegistered:a,get:e=>xe(r,e).orThunk(()=>xe(o,e).map(e=>e.default)).getOrUndefined(),set:(e,t)=>{if(a(e)){const n=o[e];return n.immutable?(console.error(`"${e}" is an immutable option and cannot be updated`),!1):s(e,t,n.processor)}return console.warn(`"${e}" is not a registered option. Ensure the option has been registered before setting a value.`),!1},unset:e=>{const t=a(e);return t&&delete r[e],t},isSet:e=>ke(r,e),debug:()=>{try{console.log(JSON.parse(JSON.stringify(n,(e,t)=>b(t)||S(t)||u(t)||h(t)||p(t)||g(t)?t:Object.prototype.toString.call(t))))}catch(e){console.error(e)}}}})(0,r,t),(e=>{const t=e.options.register;t("id",{processor:"string",default:e.id}),t("selector",{processor:"string"}),t("target",{processor:"object"}),t("suffix",{processor:"string"}),t("cache_suffix",{processor:"string"}),t("base_url",{processor:"string"}),t("referrer_policy",{processor:"string",default:""}),t("crossorigin",{processor:"function",default:N(void 0)}),t("language_load",{processor:"boolean",default:!0}),t("inline",{processor:"boolean",default:!1}),t("iframe_attrs",{processor:"object",default:{}}),t("doctype",{processor:"string",default:""}),t("document_base_url",{processor:"string",default:e.editorManager.documentBaseURL}),t("body_id",{processor:pd(e,"tinymce"),default:"tinymce"}),t("body_class",{processor:pd(e),default:""}),t("content_security_policy",{processor:"string",default:""}),t("br_in_pre",{processor:"boolean",default:!0}),t("forced_root_block",{processor:e=>{const t=u(e)&&ot(e);return t?{value:e,valid:t}:{valid:!1,message:"Must be a non-empty string."}},default:"p"}),t("forced_root_block_attrs",{processor:"object",default:{}}),t("newline_behavior",{processor:e=>{const t=$(["block","linebreak","invert","default"],e);return t?{value:e,valid:t}:{valid:!1,message:"Must be one of: block, linebreak, invert or default."}},default:"default"}),t("br_newline_selector",{processor:"string",default:".mce-toc h2,figcaption,caption"}),t("no_newline_selector",{processor:"string",default:""}),t("keep_styles",{processor:"boolean",default:!0}),t("end_container_on_empty_block",{processor:e=>b(e)||u(e)?{valid:!0,value:e}:{valid:!1,message:"Must be boolean or a string"},default:"blockquote"}),t("font_size_style_values",{processor:"string",default:"xx-small,x-small,small,medium,large,x-large,xx-large"}),t("font_size_legacy_values",{processor:"string",default:"xx-small,small,medium,large,x-large,xx-large,300%"}),t("font_size_classes",{processor:"string",default:""}),t("automatic_uploads",{processor:"boolean",default:!0}),t("images_reuse_filename",{processor:"boolean",default:!1}),t("images_replace_blob_uris",{processor:"boolean",default:!0}),t("icons",{processor:"string",default:""}),t("icons_url",{processor:"string",default:""}),t("images_upload_url",{processor:"string",default:""}),t("images_upload_base_path",{processor:"string",default:""}),t("images_upload_credentials",{processor:"boolean",default:!1}),t("images_upload_handler",{processor:"function"}),t("language",{processor:"string",default:"en"}),t("language_url",{processor:"string",default:""}),t("entity_encoding",{processor:"string",default:"named"}),t("indent",{processor:"boolean",default:!0}),t("indent_before",{processor:"string",default:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,details,summary,article,hgroup,aside,figure,figcaption,option,optgroup,datalist"}),t("indent_after",{processor:"string",default:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,details,summary,article,hgroup,aside,figure,figcaption,option,optgroup,datalist"}),t("indent_use_margin",{processor:"boolean",default:!1}),t("indentation",{processor:"string",default:"40px"}),t("content_css",{processor:e=>{const t=!1===e||u(e)||E(e,u);return t?u(e)?{value:V(e.split(","),et),valid:t}:p(e)?{value:e,valid:t}:!1===e?{value:[],valid:t}:{value:e,valid:t}:{valid:!1,message:"Must be false, a string or an array of strings."}},default:fm(e)?[]:["default"]}),t("content_style",{processor:"string"}),t("content_language",{processor:"string"}),t("content_css_cors",{processor:"boolean",default:!1}),t("font_css",{processor:e=>{const t=u(e)||E(e,u);return t?{value:p(e)?e:V(e.split(","),et),valid:t}:{valid:!1,message:"Must be a string or an array of strings."}},default:[]}),t("extended_mathml_attributes",{processor:"string[]"}),t("extended_mathml_elements",{processor:"string[]"}),t("inline_boundaries",{processor:"boolean",default:!0}),t("inline_boundaries_selector",{processor:"string",default:"a[href],code,span.mce-annotation"}),t("object_resizing",{processor:e=>{const t=b(e)||u(e);return t?!1===e||cd.isiPhone()||cd.isiPad()?{value:"",valid:t}:{value:!0===e?"table,img,figure.image,div,video,iframe":e,valid:t}:{valid:!1,message:"Must be boolean or a string"}},default:!dd}),t("resize_img_proportional",{processor:"boolean",default:!0}),t("event_root",{processor:"string"}),t("service_message",{processor:"string"}),t("onboarding",{processor:"boolean",default:!0}),t("tiny_cloud_entry_url",{processor:"string"}),t("theme",{processor:e=>!1===e||u(e)||w(e),default:"silver"}),t("theme_url",{processor:"string"}),t("formats",{processor:"object"}),t("format_empty_lines",{processor:"boolean",default:!1}),t("format_noneditable_selector",{processor:"string",default:""}),t("preview_styles",{processor:e=>{const t=!1===e||u(e);return t?{value:!1===e?"":e,valid:t}:{valid:!1,message:"Must be false or a string"}},default:"font-family font-size font-weight font-style text-decoration text-transform color background-color border border-radius outline text-shadow"}),t("custom_ui_selector",{processor:"string",default:""}),t("hidden_input",{processor:"boolean",default:!0}),t("submit_patch",{processor:"boolean",default:!0}),t("encoding",{processor:"string"}),t("add_form_submit_trigger",{processor:"boolean",default:!0}),t("add_unload_trigger",{processor:"boolean",default:!0}),t("custom_undo_redo_levels",{processor:"number",default:0}),t("disable_nodechange",{processor:"boolean",default:!1}),t("disabled",{processor:t=>b(t)?(e.initialized&&fu(e)!==t&&Promise.resolve().then(()=>{((e,t)=>{e.dispatch("DisabledStateChange",{state:t})})(e,t)}),{valid:!0,value:t}):{valid:!1,message:"The value must be a boolean."},default:!1}),t("readonly",{processor:"boolean",default:!1}),t("editable_root",{processor:"boolean",default:!0}),t("plugins",{processor:"string[]",default:[]}),t("external_plugins",{processor:"object"}),t("forced_plugins",{processor:"string[]"}),t("model",{processor:"string",default:e.hasPlugin("rtc")?"plugin":"dom"}),t("model_url",{processor:"string"}),t("block_unsupported_drop",{processor:"boolean",default:!0}),t("visual",{processor:"boolean",default:!0}),t("visual_table_class",{processor:"string",default:"mce-item-table"}),t("visual_anchor_class",{processor:"string",default:"mce-item-anchor"}),t("iframe_aria_text",{processor:"string",default:"Rich Text Area".concat(e.hasPlugin("help")?". Press ALT-0 for help.":"")}),t("setup",{processor:"function"}),t("init_instance_callback",{processor:"function"}),t("url_converter",{processor:"function",default:e.convertURL}),t("url_converter_scope",{processor:"object",default:e}),t("urlconverter_callback",{processor:"function"}),t("allow_conditional_comments",{processor:"boolean",default:!1}),t("allow_html_data_urls",{processor:"boolean",default:!1}),t("allow_svg_data_urls",{processor:"boolean"}),t("allow_html_in_named_anchor",{processor:"boolean",default:!1}),t("allow_html_in_comments",{processor:"boolean",default:!1}),t("allow_script_urls",{processor:"boolean",default:!1}),t("allow_unsafe_link_target",{processor:"boolean",default:!1}),t("allow_mathml_annotation_encodings",{processor:e=>{const t=E(e,u);return t?{value:e,valid:t}:{valid:!1,message:"Must be an array of strings."}},default:[]}),t("convert_fonts_to_spans",{processor:"boolean",default:!0,deprecated:!0}),t("fix_list_elements",{processor:"boolean",default:!1}),t("preserve_cdata",{processor:"boolean",default:!1}),t("remove_trailing_brs",{processor:"boolean",default:!0}),t("pad_empty_with_br",{processor:"boolean",default:!1}),t("inline_styles",{processor:"boolean",default:!0,deprecated:!0}),t("element_format",{processor:"string",default:"html"}),t("entities",{processor:"string"}),t("schema",{processor:"string",default:"html5"}),t("convert_urls",{processor:"boolean",default:!0}),t("relative_urls",{processor:"boolean",default:!0}),t("remove_script_host",{processor:"boolean",default:!0}),t("custom_elements",{processor:gd}),t("extended_valid_elements",{processor:"string"}),t("invalid_elements",{processor:"string"}),t("invalid_styles",{processor:gd}),t("valid_children",{processor:"string"}),t("valid_classes",{processor:gd}),t("valid_elements",{processor:"string"}),t("valid_styles",{processor:gd}),t("verify_html",{processor:"boolean",default:!0}),t("auto_focus",{processor:e=>u(e)||!0===e}),t("browser_spellcheck",{processor:"boolean",default:!1}),t("protect",{processor:"array"}),t("images_file_types",{processor:"string",default:"jpeg,jpg,jpe,jfi,jif,jfif,png,gif,bmp,webp"}),t("deprecation_warnings",{processor:"boolean",default:!0}),t("a11y_advanced_options",{processor:"boolean",default:!1}),t("api_key",{processor:"string"}),t("license_key",{processor:"string"}),t("paste_block_drop",{processor:"boolean",default:!1}),t("paste_data_images",{processor:"boolean",default:!0}),t("paste_preprocess",{processor:"function"}),t("paste_postprocess",{processor:"function"}),t("paste_webkit_styles",{processor:"string",default:"none"}),t("paste_remove_styles_if_webkit",{processor:"boolean",default:!0}),t("paste_merge_formats",{processor:"boolean",default:!0}),t("smart_paste",{processor:"boolean",default:!0}),t("paste_as_text",{processor:"boolean",default:!1}),t("paste_tab_spaces",{processor:"number",default:4}),t("text_patterns",{processor:e=>E(e,f)||!1===e?{value:td(!1===e?[]:e),valid:!0}:{valid:!1,message:"Must be an array of objects or false."},default:[{start:"*",end:"*",format:"italic"},{start:"**",end:"**",format:"bold"},{start:"#",format:"h1",trigger:"space"},{start:"##",format:"h2",trigger:"space"},{start:"###",format:"h3",trigger:"space"},{start:"####",format:"h4",trigger:"space"},{start:"#####",format:"h5",trigger:"space"},{start:"######",format:"h6",trigger:"space"},{start:"1.",cmd:"InsertOrderedList",trigger:"space"},{start:"*",cmd:"InsertUnorderedList",trigger:"space"},{start:"-",cmd:"InsertUnorderedList",trigger:"space"},{start:">",cmd:"mceBlockQuote",trigger:"space"},{start:"---",cmd:"InsertHorizontalRule",trigger:"space"}]}),t("text_patterns_lookup",{processor:e=>{return w(e)?{value:(t=e,e=>{const n=t(e);return td(n)}),valid:!0}:{valid:!1,message:"Must be a single function"};var t},default:e=>[]}),t("allow_noneditable",{processor:"boolean",default:!0}),t("noneditable_class",{processor:"string",default:"mceNonEditable"}),t("editable_class",{processor:"string",default:"mceEditable"}),t("noneditable_regexp",{processor:e=>E(e,ud)?{value:e,valid:!0}:ud(e)?{value:[e],valid:!0}:{valid:!1,message:"Must be a RegExp or an array of RegExp."},default:[]}),t("table_tab_navigation",{processor:"boolean",default:!0}),t("highlight_on_focus",{processor:"boolean",default:!0}),t("xss_sanitization",{processor:"boolean",default:!0}),t("details_initial_state",{processor:e=>{const t=$(["inherited","collapsed","expanded"],e);return t?{value:e,valid:t}:{valid:!1,message:"Must be one of: inherited, collapsed, or expanded."}},default:"inherited"}),t("details_serialized_state",{processor:e=>{const t=$(["inherited","collapsed","expanded"],e);return t?{value:e,valid:t}:{valid:!1,message:"Must be one of: inherited, collapsed, or expanded."}},default:"inherited"}),t("init_content_sync",{processor:"boolean",default:!1}),t("newdocument_content",{processor:"string",default:""}),t("sandbox_iframes",{processor:"boolean",default:!0}),t("sandbox_iframes_exclusions",{processor:"string[]",default:["youtube.com","youtu.be","vimeo.com","player.vimeo.com","dailymotion.com","embed.music.apple.com","open.spotify.com","giphy.com","dai.ly","codepen.io"]}),t("convert_unsafe_embeds",{processor:"boolean",default:!0}),t("user_id",{processor:"string",default:"Anonymous"}),t("content_id",{processor:"string"}),t("fetch_users",{processor:e=>void 0===e?{valid:!0,value:void 0}:w(e)?{valid:!0,value:e}:{valid:!1,message:"fetch_users must be a function that returns a Promise"}});const n=Fc([Hc("mimeType"),(o="extensions",s=e=>u(e)?Te.value(e):Te.error("Extensions must be an array of strings"),r=xc(e=>s(e).fold(Cc,vc)),jc(o,o,{tag:"required",process:{}},Ic(r)))]);var o,r,s;t("documents_file_types",{processor:e=>Uc("documents_file_types",n,e).fold(e=>({valid:!1,message:"Must be a non-empty array of objects matching the configuration schema: https://www.tiny.cloud/docs/tinymce/latest/uploadcare-documents/#documents-file-types"}),e=>({valid:!0,value:e}))}),e.on("ScriptsLoaded",()=>{t("directionality",{processor:"string",default:Ci.isRtl()?"rtl":void 0}),t("placeholder",{processor:"string",default:md.getAttrib(e.getElement(),"placeholder")})}),t("lists_indent_on_tab",{processor:"boolean",default:!0}),t("list_max_depth",{processor:e=>{const t=S(e);if(t){if(e<0)throw new Error("list_max_depth cannot be set to lower than 0");return{value:e,valid:t}}return{valid:!1,message:"Must be a number"}}})})(o),this.userLookup=(e=>{const t=new Map,n=new Map,o=e=>I.from(t.get(e)),r=(e,t)=>I.from(n.get(e)).each(({reject:o})=>{o(t),n.delete(e)}),s=gu(e);return Object.freeze({userId:s,fetchUsers:s=>{const a=pu(e);if(!Array.isArray(s))return{};if(!a)return ae(s,e=>Promise.resolve({id:e,name:e,avatar:YP({id:e,name:e})}));const i=fe(Y(s,e=>!o(e).isSome()));return q(i,e=>{const o=new Promise((t,o)=>{n.set(e,{resolve:t,reject:o})});((e,n)=>{t.set(n,e)})(o,e)}),i.length>0&&a(i).then(QP).then(e=>{const t=new Set(V(e,e=>e.id));q(e,e=>((e,t)=>I.from(n.get(e)).each(({resolve:o})=>{o(t),n.delete(e)}))(e.id,e)),q(i,e=>{t.has(e)||r(e,new Error(`User ${e} not found`))})}).catch(e=>{q(i,t=>r(t,e instanceof Error?e:new Error("Network error")))}),X(s,(e,t)=>(e[t]=o(t).getOr(Promise.resolve({id:t,name:t,avatar:YP({id:t,name:t})})),e),{})}})})(this);const s=this.options.get;s("deprecation_warnings")&&((e,t)=>{((e,t)=>{const n=MS(e),o=US(t),r=o.length>0,s=n.length>0,a="mobile"===t.theme;if(r||s||a){const e="\n- ",t=a?`\n\nThemes:${e}mobile`:"",i=r?`\n\nPlugins:${e}${o.join(e)}`:"",l=s?`\n\nOptions:${e}${n.join(e)}`:"";console.warn("The following deprecated features are currently enabled and have been removed in TinyMCE 8.0. These features will no longer work and should be removed from the TinyMCE configuration. See https://www.tiny.cloud/docs/tinymce/8/migration-from-7x/ for more information."+t+i+l)}})(e,t),((e,t)=>{const n=IS(e),o=zS(t),r=o.length>0,s=n.length>0;if(r||s){const e="\n- ",t=r?`\n\nPlugins:${e}${o.map(jS).join(e)}`:"",a=s?`\n\nOptions:${e}${n.join(e)}`:"";console.warn("The following deprecated features are currently enabled but will be removed soon."+t+a)}})(e,t)})(t,r);const a=s("suffix");a&&(n.suffix=a),this.suffix=n.suffix;const i=s("base_url");i&&n._setBaseUrl(i),this.baseUri=n.baseURI;const l=zd(o);l&&(hi.ScriptLoader._setReferrerPolicy(l),gi.DOM.styleSheetLoader._setReferrerPolicy(l)),hi.ScriptLoader._setCrossOrigin(e=>jd(o)(e,"script")),gi.DOM.styleSheetLoader._setCrossOrigin(e=>jd(o)(e,"stylesheet"));const c=Sm(o);C(c)&&gi.DOM.styleSheetLoader._setContentCssCors(c),wi.languageLoad=s("language_load"),wi.baseURL=n.baseURL,this.setDirty(!1),this.documentBaseURI=new aS(yd(o),{base_uri:this.baseUri}),this.baseURI=this.baseUri,this.inline=fm(o),this.hasVisual=_m(o),this.shortcuts=new YL(this),this.editorCommands=new xL(this),wL(this);const d=s("cache_suffix");d&&(sn.cacheSuffix=d.replace(/^[\?\&]+/,"")),this.ui={registry:GL(),styleSheetLoader:void 0,show:x,hide:x,setEnabled:x,isEnabled:M},this.mode=$L(o),Object.defineProperty(this,"editorUid",{writable:!1,configurable:!1,enumerable:!0}),n.dispatch("SetupEditor",{editor:this});const v=Dm(o);w(v)&&v.call(o,o)}render(){(e=>{const t=e.id;Ci.setCode($d(e));const n=()=>{HP.unbind(window,"ready",n),e.render()};if(!ri.Event.domLoaded)return void HP.bind(window,"ready",n);if(!e.getElement())return;const o=un.fromDom(e.getElement()),r=_o(o);e.on("remove",()=>{W(o.dom.attributes,e=>xo(o,e.name)),Co(o,r)}),e.ui.styleSheetLoader=((e,t)=>sa.forElement(e,{contentCssCors:Sm(t),referrerPolicy:zd(t)}))(o,e),fm(e)?e.inline=!0:(e.orgVisibility=e.getElement().style.visibility,e.getElement().style.visibility="hidden");const s=e.getElement().form||HP.getParent(t,"form");s&&(e.formElement=s,gm(e)&&!rs(e.getElement())&&(HP.insertAfter(HP.create("input",{type:"hidden",name:t}),t),e.hasHiddenInput=!0),e.formEventDelegate=t=>{e.dispatch(t.type,t)},HP.bind(s,"submit reset",e.formEventDelegate),e.on("reset",()=>{e.resetContent()}),!pm(e)||s.submit.nodeType||s.submit.length||s._mceOldSubmit||(s._mceOldSubmit=s.submit,s.submit=()=>(e.editorManager.triggerSave(),e.setDirty(!1),s._mceOldSubmit(s)))),e.windowManager=dx(e),e.notificationManager=ix(e),(e=>"xml"===e.options.get("encoding"))(e)&&e.on("GetContent",e=>{e.save&&(e.content=HP.encode(e.content))}),hm(e)&&e.on("submit",()=>{e.initialized&&e.save()}),bm(e)&&(e._beforeUnload=()=>{!e.initialized||e.destroyed||e.isHidden()||e.save({format:"raw",no_events:!0,set_dirty:!1})},e.editorManager.on("BeforeUnload",e._beforeUnload)),e.editorManager.add(e),WP(e,e.suffix)})(this)}focus(e){this.execCommand("mceFocus",!1,e)}hasFocus(){return Op(this)}translate(e){return Ci.translate(e)}getParam(e,t,n){const o=this.options;return o.isRegistered(e)||(C(n)?o.register(e,{processor:n,default:t}):o.register(e,{processor:M,default:t})),o.isSet(e)||y(t)?o.get(e):t}hasPlugin(e,t){return!(!$(Em(this),e)||t&&void 0===lx.get(e))}nodeChanged(e){this._nodeChangeDispatcher.nodeChanged(e)}addCommand(e,t,n){this.editorCommands.addCommand(e,t,n)}addQueryStateHandler(e,t,n){this.editorCommands.addQueryStateHandler(e,t,n)}addQueryValueHandler(e,t,n){this.editorCommands.addQueryValueHandler(e,t,n)}addShortcut(e,t,n,o){this.shortcuts.add(e,t,n,o)}execCommand(e,t,n,o){return this.editorCommands.execCommand(e,t,n,o)}queryCommandState(e){return this.editorCommands.queryCommandState(e)}queryCommandValue(e){return this.editorCommands.queryCommandValue(e)}queryCommandSupported(e){return this.editorCommands.queryCommandSupported(e)}show(){const e=this;e.hidden&&(e.hidden=!1,e.inline?e.getBody().contentEditable="true":(XL.show(e.getContainer()),XL.hide(e.id)),e.load(),e.dispatch("show"))}hide(){const e=this;e.hidden||(e.save(),e.inline?(e.getBody().contentEditable="false",e===e.editorManager.focusedEditor&&(e.editorManager.focusedEditor=null)):(XL.hide(e.getContainer()),XL.setStyle(e.id,"display",e.orgDisplay)),e.hidden=!0,e.dispatch("hide"))}isHidden(){return this.hidden}setProgressState(e,t){this.dispatch("ProgressState",{state:e,time:t})}load(e={}){const t=this,n=t.getElement();if(!t.removed&&n){const o={...e,load:!0},r=rs(n)?n.value:n.innerHTML;t.setContent(r,o),o.no_events||t.dispatch("LoadContent",{...o,element:n})}}save(e={}){const t=this;let n=t.getElement();if(!n||!t.initialized||t.removed)return"";const o={...e,save:!0,element:n};let r=t.getContent(o);const s={...o,content:r};if(s.no_events||t.dispatch("SaveContent",s),"raw"===s.format&&t.dispatch("RawSaveContent",s),r=s.content,rs(n))n.value=r;else{!e.is_removing&&t.inline||(n.innerHTML=r);const o=XL.getParent(t.id,"form");o&&ZL(o.elements,e=>e.name!==t.id||(e.value=r,!1))}return s.element=o.element=n=null,!1!==s.set_dirty&&t.setDirty(!1),r}setContent(e,t){XE(this,e,t)}getContent(e){return((e,t={})=>{const n=((e,t)=>({...e,format:t,get:!0,getInner:!0}))(t,t.format?t.format:"html");return NS(e,n).fold(A,t=>{const n=((e,t)=>jE(e).editor.getContent(t))(e,t);return AS(e,n,t)})})(this,e)}insertContent(e,t){t&&(e=QL({content:e},t)),this.execCommand("mceInsertContent",!1,e)}resetContent(e){void 0===e?XE(this,this.startContent,{initial:!0,format:"raw"}):XE(this,e,{initial:!0}),this.undoManager.reset(),this.setDirty(!1),this.nodeChanged()}isDirty(){return!this.isNotDirty}setDirty(e){const t=!this.isNotDirty;this.isNotDirty=!e,e&&e!==t&&this.dispatch("dirty")}getContainer(){const e=this;return e.container||(e.container=e.editorContainer||XL.get(e.id+"_parent")),e.container}getContentAreaContainer(){return this.contentAreaContainer}getElement(){return this.targetElm||(this.targetElm=XL.get(this.id)),this.targetElm}getWin(){const e=this;if(!e.contentWindow){const t=e.iframeElement;t&&(e.contentWindow=t.contentWindow)}return e.contentWindow}getDoc(){const e=this;if(!e.contentDocument){const t=e.getWin();t&&(e.contentDocument=t.document)}return e.contentDocument}getBody(){const e=this.getDoc();return this.bodyElement??e?.body??null}convertURL(e,t,n){const o=this,r=o.options.get,s=Om(o);if(w(s))return s.call(o,e,n,!0,t);if(!r("convert_urls")||"link"===n||f(n)&&"LINK"===n.nodeName||0===e.indexOf("file:")||0===e.length)return e;const a=new aS(e);return"http"!==a.protocol&&"https"!==a.protocol&&""!==a.protocol?e:r("relative_urls")?o.documentBaseURI.toRelative(e):e=o.documentBaseURI.toAbsolute(e,r("remove_script_host"))}addVisual(e){((e,t)=>{((e,t)=>{$E(e).editor.addVisual(t)})(e,t)})(this,e)}setEditableRoot(e){((e,t)=>{e._editableRoot!==t&&(e._editableRoot=t,Px(e)||(e.getBody().contentEditable=String(e.hasEditableRoot()),e.nodeChanged()),((e,t)=>{e.dispatch("EditableRootStateChange",{state:t})})(e,t))})(this,e)}hasEditableRoot(){return this._editableRoot}announce(e,t){dp.announce(e,t)}remove(){(e=>{if(!e.removed){const{_selectionOverrides:t,editorUpload:n}=e,o=e.getBody(),r=e.getElement();o&&e.save({is_removing:!0}),e.removed=!0,e.unbindAllNativeEvents(),e.hasHiddenInput&&C(r?.nextSibling)&&QE.remove(r.nextSibling),(e=>{e.dispatch("remove")})(e),e.editorManager.remove(e),!e.inline&&o&&(e=>{QE.setStyle(e.id,"display",e.orgDisplay)})(e),(e=>{e.dispatch("detach")})(e),QE.remove(e.getContainer()),ZE(t),ZE(n),e.destroy()}})(this)}destroy(e){((e,t)=>{const{selection:n,dom:o}=e;e.destroyed||(t||e.removed?(t||(e.editorManager.off("beforeunload",e._beforeUnload),e.theme&&e.theme.destroy&&e.theme.destroy(),ZE(n),ZE(o)),(e=>{const t=e.formElement;t&&(t._mceOldSubmit&&(t.submit=t._mceOldSubmit,delete t._mceOldSubmit),QE.unbind(t,"submit reset",e.formEventDelegate))})(e),(e=>{const t=e;t.contentAreaContainer=t.formElement=t.container=t.editorContainer=null,t.bodyElement=t.contentDocument=t.contentWindow=null,t.iframeElement=t.targetElm=null;const n=e.selection;if(n){const e=n.dom;t.selection=n.win=n.dom=e.doc=null}})(e),e.destroyed=!0):e.remove())})(this,e)}uploadImages(){return this.editorUpload.uploadImages()}_scanForImages(){return this.editorUpload.scanForImages()}}const eM=gi.DOM,tM=dn.each;let nM,oM=!1,rM=[];const sM=e=>{const t=e.type;tM(cM.get(),n=>{switch(t){case"scroll":n.dispatch("ScrollWindow",e);break;case"resize":n.dispatch("ResizeWindow",e)}})},aM=e=>{if(e!==oM){const t=gi.DOM;e?(t.bind(window,"resize",sM),t.bind(window,"scroll",sM)):(t.unbind(window,"resize",sM),t.unbind(window,"scroll",sM)),oM=e}},iM=e=>{const t=rM;return rM=Y(rM,t=>e!==t),cM.activeEditor===e&&(cM.activeEditor=rM.length>0?rM[0]:null),cM.focusedEditor===e&&(cM.focusedEditor=null),t.length!==rM.length},lM="CSS1Compat"!==document.compatMode,cM={...AL,baseURI:null,baseURL:null,defaultOptions:{},documentBaseURL:null,suffix:null,pageUid:Me(),majorVersion:"8",minorVersion:"10.2",releaseDate:"2026-11-11",i18n:Ci,activeEditor:null,focusedEditor:null,setup(){const e=this;let t="",n="",o=aS.getDocumentBaseUrl(document.location);/^[^:]+:\/\/\/?[^\/]+\//.test(o)&&(o=o.replace(/[\?#].*$/,"").replace(/[\/\\][^\/]+$/,""),/[\/\\]$/.test(o)||(o+="/"));const r=window.tinymce||window.tinyMCEPreInit;if(r)t=r.base||r.baseURL,n=r.suffix;else{const e=document.getElementsByTagName("script");for(let o=0;oObject.defineProperty(e,t,{writable:!1,configurable:!1,enumerable:!0}))},overrideDefaults(e){const t=e.base_url;t&&this._setBaseUrl(t);const n=e.suffix;n&&(this.suffix=n),this.defaultOptions=e;const o=e.plugin_base_urls;void 0!==o&&he(o,(e,t)=>{wi.PluginManager.urls[t]=e})},init(e){const t=this;let n;const o=dn.makeMap("area base basefont br col frame hr img input isindex link meta param embed source wbr track colgroup option table tbody tfoot thead tr th td script noscript style textarea video audio iframe object menu"," ");let r=e=>{n=e};const s=()=>{let n=0;const a=[];let i;eM.unbind(window,"ready",s),(()=>{const n=e.onpageload;n&&n.apply(t,[])})(),i=fe((e=>sn.browser.isIE()||sn.browser.isEdge()?(px("TinyMCE does not support the browser you are using. For a list of supported browsers please see: https://www.tiny.cloud/docs/tinymce/8/support/#supportedwebbrowsers"),[]):lM?(px("Failed to initialize the editor as the document is not in standards mode. TinyMCE requires standards mode."),[]):u(e.selector)?eM.select(e.selector):C(e.target)?[e.target]:[])(e)),dn.each(i,e=>{var n;(n=t.get(e.id))&&n.initialized&&!(n.getContainer()||n.getBody()).parentNode&&(iM(n),n.unbindAllNativeEvents(),n.destroy(!0),n.removed=!0)}),i=dn.grep(i,e=>!t.get(e.id)),0===i.length?r([]):tM(i,s=>{((e,t)=>e.inline&&t.tagName.toLowerCase()in o)(e,s)?px("Could not initialize inline editor on invalid inline target element",s):((e,o,s)=>{const l=new JL(e,o,t);a.push(l),l.on("init",()=>{++n===i.length&&r(a)}),l.targetElm=l.targetElm||s,l.render()})((e=>{let t=e.id;return t||(t=xe(e,"name").filter(e=>!eM.get(e)).getOrThunk(eM.uniqueId),e.setAttribute("id",t)),t})(s),e,s)})};return eM.bind(window,"ready",s),new Promise(e=>{n?e(n):r=t=>{e(t)}})},get(e){return 0===arguments.length?rM.slice(0):u(e)?Z(rM,t=>t.id===e).getOr(null):S(e)&&rM[e]?rM[e]:null},add(e){const t=this,n=t.get(e.id);return n===e||(null===n&&rM.push(e),aM(!0),t.activeEditor=e,t.dispatch("AddEditor",{editor:e}),nM||(nM=e=>{const n=t.dispatch("BeforeUnload");if(n.returnValue)return e.preventDefault(),e.returnValue=n.returnValue,n.returnValue},window.addEventListener("beforeunload",nM))),e},createEditor(e,t){return this.add(new JL(e,t,this))},remove(e){const t=this;let n;if(e){if(!u(e))return n=e,h(t.get(n.id))?null:(iM(n)&&t.dispatch("RemoveEditor",{editor:n}),0===rM.length&&window.removeEventListener("beforeunload",nM),n.remove(),aM(rM.length>0),n);tM(eM.select(e),e=>{n=t.get(e.id),n&&t.remove(n)})}else for(let e=rM.length-1;e>=0;e--)t.remove(rM[e])},execCommand(e,t,n){const o=this,r=f(n)?n.id??n.index:n;switch(e){case"mceAddEditor":if(!o.get(r)){const e=n.options;new JL(r,e,o).render()}return!0;case"mceRemoveEditor":{const e=o.get(r);return e&&e.remove(),!0}case"mceToggleEditor":{const e=o.get(r);return e?(e.isHidden()?e.show():e.hide(),!0):(o.execCommand("mceAddEditor",!1,n),!0)}}return!!o.activeEditor&&o.activeEditor.execCommand(e,t,n)},triggerSave:()=>{tM(rM,e=>{e.save()})},addI18n:(e,t)=>{Ci.add(e,t)},translate:e=>Ci.translate(e),setActive(e){const t=this.activeEditor;this.activeEditor!==e&&(t&&t.dispatch("deactivate",{relatedTarget:e}),e.dispatch("activate",{relatedTarget:t})),this.activeEditor=e},_setBaseUrl(e){this.baseURL=new aS(this.documentBaseURL).toAbsolute(e.replace(/\/+$/,"")),this.baseURI=new aS(this.baseURL)},_addLicenseKeyManager:e=>Rx.add(e)};cM.setup();const dM=(()=>{const e=Ke();return{FakeClipboardItem:e=>({items:e,types:ge(e),getType:t=>xe(e,t).getOrUndefined()}),write:t=>{e.set(t)},read:()=>e.get().getOrUndefined(),clear:e.clear}})(),mM=Math.min,uM=Math.max,fM=Math.round,gM=(e,t,n)=>{let o=t.x,r=t.y;const s=e.w,a=e.h,i=t.w,l=t.h,c=(n||"").split("");return"b"===c[0]&&(r+=l),"r"===c[1]&&(o+=i),"c"===c[0]&&(r+=fM(l/2)),"c"===c[1]&&(o+=fM(i/2)),"b"===c[3]&&(r-=a),"r"===c[4]&&(o-=s),"c"===c[3]&&(r-=fM(a/2)),"c"===c[4]&&(o-=fM(s/2)),pM(o,r,s,a)},pM=(e,t,n,o)=>({x:e,y:t,w:n,h:o}),hM={inflate:(e,t,n)=>pM(e.x-t,e.y-n,e.w+2*t,e.h+2*n),relativePosition:gM,findBestRelativePosition:(e,t,n,o)=>{for(let r=0;r=n.x&&s.x+s.w<=n.w+n.x&&s.y>=n.y&&s.y+s.h<=n.h+n.y)return o[r]}return null},intersect:(e,t)=>{const n=uM(e.x,t.x),o=uM(e.y,t.y),r=mM(e.x+e.w,t.x+t.w),s=mM(e.y+e.h,t.y+t.h);return r-n<0||s-o<0?null:pM(n,o,r-n,s-o)},clamp:(e,t,n)=>{let o=e.x,r=e.y,s=e.x+e.w,a=e.y+e.h;const i=t.x+t.w,l=t.y+t.h,c=uM(0,t.x-o),d=uM(0,t.y-r),m=uM(0,s-i),u=uM(0,a-l);return o+=c,r+=d,n&&(s+=c,a+=d,o-=m,r-=u),s-=m,a-=u,pM(o,r,s-o,a-r)},create:pM,fromClientRect:e=>pM(e.left,e.top,e.width,e.height)},bM=(()=>{const e={},t={},n={};return{load:(n,o)=>{const r=`Script at URL "${o}" failed to load`,s=`Script at URL "${o}" did not call \`tinymce.Resource.add('${n}', data)\` within 1 second`;if(void 0!==e[n])return e[n];{const a=new Promise((e,a)=>{const i=((e,t,n=1e3)=>{let o=!1,r=null;const s=e=>(...t)=>{o||(o=!0,null!==r&&(window.clearTimeout(r),r=null),e.apply(null,t))},a=s(e),i=s(t);return{start:(...e)=>{o||null!==r||(r=window.setTimeout(()=>i.apply(null,e),n))},resolve:a,reject:i}})(e,a);t[n]=i.resolve,hi.ScriptLoader.loadScript(o).then(()=>i.start(s),()=>i.reject(r))});return e[n]=a,a}},add:(o,r)=>{void 0!==t[o]&&(t[o](r),delete t[o]),e[o]=Promise.resolve(r),n[o]=r},has:e=>e in n,get:e=>n[e],unload:t=>{delete e[t],delete n[t]}}})();let yM;try{const e="__storage_test__";yM=window.localStorage,yM.setItem(e,e),yM.removeItem(e)}catch{yM=(()=>{let e={},t=[];const n={getItem:t=>e[t]||null,setItem:(n,o)=>{t.push(n),e[n]=String(o)},key:e=>t[e],removeItem:n=>{t=t.filter(e=>e===n),delete e[n]},clear:()=>{t=[],e={}},length:0};return Object.defineProperty(n,"length",{get:()=>t.length,configurable:!1,enumerable:!1}),n})()}const vM={geom:{Rect:hM},util:{Delay:Sp,Tools:dn,VK:Lp,URI:aS,EventDispatcher:_L,Observable:AL,I18n:Ci,LocalStorage:yM,ImageUploader:e=>{const t=Hx(),n=Kx(e,t);return{upload:(t,o=!0)=>n.upload(t,o?Wx(e):void 0)}}},dom:{EventUtils:ri,TreeWalker:Kr,TextSeeker:Pi,DOMUtils:gi,ScriptLoader:hi,RangeUtils:Jp,Serializer:GE,StyleSheetLoader:ra,ControlSelection:jp,BookmarkManager:mp,Selection:WE,AriaAnnouncer:dp,Event:ri.Event},html:{Styles:Ga,Entities:Sa,Node:Ah,Schema:Ua,DomParser:ES,Writer:Wh,Serializer:Kh},Env:sn,AddOnManager:wi,Annotator:op,Formatter:sk,UndoManager:ik,EditorCommands:xL,WindowManager:dx,NotificationManager:ix,EditorObservable:PL,Shortcuts:YL,Editor:JL,FocusManager:wp,EditorManager:cM,DOM:gi.DOM,ScriptLoader:hi.ScriptLoader,PluginManager:lx,ThemeManager:cx,ModelManager:ex,IconManager:JE,Resource:bM,FakeClipboard:dM,trim:dn.trim,isArray:dn.isArray,is:dn.is,toArray:dn.toArray,makeMap:dn.makeMap,each:dn.each,map:dn.map,grep:dn.grep,inArray:dn.inArray,extend:dn.extend,walk:dn.walk,resolve:dn.resolve,explode:dn.explode,_addCacheSuffix:dn._addCacheSuffix},CM=dn.extend(cM,vM);(e=>{window.tinymce=e,window.tinyMCE=e})(CM),(e=>{if("object"==typeof module)try{module.exports=e}catch{}})(CM)}(); \ No newline at end of file diff --git a/tinymce.module b/tinymce.module index cdc8893..b5ee214 100644 --- a/tinymce.module +++ b/tinymce.module @@ -445,7 +445,7 @@ function tinymce_library_info() { $libraries['tinymce'] = array( 'title' => 'TinyMCE', 'website' => 'https://www.tiny.cloud/', - 'version' => '8.10.0', + 'version' => '8.10.2', 'js' => array( $path . '/libraries/tinymce/js/tinymce/tinymce.min.js' => array( 'preprocess' => FALSE,