From f679436821a9daddf0b738e2f4c2efe54d300a69 Mon Sep 17 00:00:00 2001
From: adamsaghy
Date: Thu, 28 Nov 2024 12:54:01 +0000
Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20openMF/w?=
=?UTF-8?q?eb-app@a27bd723d8f13abd96fb7bca873b983c2881aee3=20=F0=9F=9A=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
3rdpartylicenses.txt | 65 ++++++++++++++++++++++++++++++++++++++++++++
main.js | 2 +-
2 files changed, 66 insertions(+), 1 deletion(-)
diff --git a/3rdpartylicenses.txt b/3rdpartylicenses.txt
index b22f20fc6..bae2338dd 100644
--- a/3rdpartylicenses.txt
+++ b/3rdpartylicenses.txt
@@ -590,6 +590,56 @@ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+base64-js
+MIT
+The MIT License (MIT)
+
+Copyright (c) 2014 Jameson Little
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+
+buffer
+MIT
+The MIT License (MIT)
+
+Copyright (c) Feross Aboukhadijeh, and other contributors.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+
canvg
MIT
The MIT License (MIT)
@@ -1492,6 +1542,21 @@ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
+ieee754
+BSD-3-Clause
+Copyright 2008 Fair Oaks Labs, Inc.
+
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
+
+3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
jspdf
MIT
Copyright
diff --git a/main.js b/main.js
index 45c7e870a..03b75eabf 100644
--- a/main.js
+++ b/main.js
@@ -1 +1 @@
-(self.webpackChunkmifosx_web_app=self.webpackChunkmifosx_web_app||[]).push([["main"],{96170:(ot,et,b)=>{ot=b.nmd(ot),function(d){const p=d.en=d.en||{};p.dictionary=Object.assign(p.dictionary||{},{"%0 of %1":"%0 of %1",Accept:"Accept","Align cell text to the bottom":"Align cell text to the bottom","Align cell text to the center":"Align cell text to the center","Align cell text to the left":"Align cell text to the left","Align cell text to the middle":"Align cell text to the middle","Align cell text to the right":"Align cell text to the right","Align cell text to the top":"Align cell text to the top","Align table to the left":"Align table to the left","Align table to the right":"Align table to the right",Alignment:"Alignment",Aquamarine:"Aquamarine",Background:"Background",Black:"Black","Block quote":"Block quote",Blue:"Blue",Bold:"Bold",Border:"Border","Break text":"Break text","Bulleted List":"Bulleted List","Bulleted list styles toolbar":"Bulleted list styles toolbar",Cancel:"Cancel","Cannot access default workspace.":"Cannot access default workspace.","Cannot determine a category for the uploaded file.":"Cannot determine a category for the uploaded file.","Cannot upload file:":"Cannot upload file:","Caption for image: %0":"Caption for image: %0","Caption for the image":"Caption for the image","Cell properties":"Cell properties","Center table":"Center table","Centered image":"Centered image","Change image text alternative":"Change image text alternative","Choose heading":"Choose heading",Circle:"Circle",Clear:"Clear","Click to edit block":"Click to edit block",Code:"Code",Color:"Color","Color picker":"Color picker",Column:"Column","Could not insert image at the current position.":"Could not insert image at the current position.","Could not obtain resized image URL.":"Could not obtain resized image URL.",Dashed:"Dashed",Decimal:"Decimal","Decimal with leading zero":"Decimal with leading zero","Decrease indent":"Decrease indent","Delete column":"Delete column","Delete row":"Delete row","Dim grey":"Dim grey",Dimensions:"Dimensions",Disc:"Disc",Dotted:"Dotted",Double:"Double",Downloadable:"Downloadable","Drag to move":"Drag to move","Dropdown toolbar":"Dropdown toolbar","Edit block":"Edit block","Edit link":"Edit link","Editor block content toolbar":"Editor block content toolbar","Editor contextual toolbar":"Editor contextual toolbar","Editor editing area: %0":"Editor editing area: %0","Editor toolbar":"Editor toolbar","Enter image caption":"Enter image caption","Enter table caption":"Enter table caption","Full size image":"Full size image",Green:"Green",Grey:"Grey",Groove:"Groove","Header column":"Header column","Header row":"Header row",Heading:"Heading","Heading 1":"Heading 1","Heading 2":"Heading 2","Heading 3":"Heading 3","Heading 4":"Heading 4","Heading 5":"Heading 5","Heading 6":"Heading 6",Height:"Height",HEX:"HEX","Horizontal text alignment toolbar":"Horizontal text alignment toolbar","Image resize list":"Image resize list","Image toolbar":"Image toolbar","image widget":"image widget","In line":"In line","Increase indent":"Increase indent",Insert:"Insert","Insert column left":"Insert column left","Insert column right":"Insert column right","Insert image":"Insert image","Insert image or file":"Insert image or file","Insert image via URL":"Insert image via URL","Insert media":"Insert media","Insert paragraph after block":"Insert paragraph after block","Insert paragraph before block":"Insert paragraph before block","Insert row above":"Insert row above","Insert row below":"Insert row below","Insert table":"Insert table","Inserting image failed":"Inserting image failed",Inset:"Inset",Italic:"Italic","Justify cell text":"Justify cell text","Left aligned image":"Left aligned image","Light blue":"Light blue","Light green":"Light green","Light grey":"Light grey",Link:"Link","Link image":"Link image","Link URL":"Link URL","List properties":"List properties","Lower-latin":"Lower-latin","Lower\u2013roman":"Lower\u2013roman","Media toolbar":"Media toolbar","Media URL":"Media URL","media widget":"media widget","Merge cell down":"Merge cell down","Merge cell left":"Merge cell left","Merge cell right":"Merge cell right","Merge cell up":"Merge cell up","Merge cells":"Merge cells",Next:"Next","No results found":"No results found","No searchable items":"No searchable items",None:"None","Numbered List":"Numbered List","Numbered list styles toolbar":"Numbered list styles toolbar","Open file manager":"Open file manager","Open in a new tab":"Open in a new tab","Open link in new tab":"Open link in new tab","Open media in new tab":"Open media in new tab",Orange:"Orange",Original:"Original",Outset:"Outset",Padding:"Padding",Paragraph:"Paragraph","Paste the media URL in the input.":"Paste the media URL in the input.","Press Enter to type after or press Shift + Enter to type before the widget":"Press Enter to type after or press Shift + Enter to type before the widget",Previous:"Previous",Purple:"Purple",Red:"Red",Redo:"Redo","Remove color":"Remove color","Resize image":"Resize image","Resize image to %0":"Resize image to %0","Resize image to the original size":"Resize image to the original size","Restore default":"Restore default","Reversed order":"Reversed order","Rich Text Editor":"Rich Text Editor",Ridge:"Ridge","Right aligned image":"Right aligned image",Row:"Row",Save:"Save","Select all":"Select all","Select column":"Select column","Select row":"Select row","Selecting resized image failed":"Selecting resized image failed","Show more items":"Show more items","Side image":"Side image",Solid:"Solid","Split cell horizontally":"Split cell horizontally","Split cell vertically":"Split cell vertically",Square:"Square","Start at":"Start at","Start index must be greater than 0.":"Start index must be greater than 0.",Strikethrough:"Strikethrough",Style:"Style",Subscript:"Subscript",Superscript:"Superscript","Table alignment toolbar":"Table alignment toolbar","Table cell text alignment":"Table cell text alignment","Table properties":"Table properties","Table toolbar":"Table toolbar","Text alternative":"Text alternative",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".',"The URL must not be empty.":"The URL must not be empty.",'The value is invalid. Try "10px" or "2em" or simply "2".':'The value is invalid. Try "10px" or "2em" or simply "2".',"This link has no URL":"This link has no URL","This media URL is not supported.":"This media URL is not supported.","Tip: Paste the URL into the content to embed faster.":"Tip: Paste the URL into the content to embed faster.","To-do List":"To-do List","Toggle caption off":"Toggle caption off","Toggle caption on":"Toggle caption on","Toggle the circle list style":"Toggle the circle list style","Toggle the decimal list style":"Toggle the decimal list style","Toggle the decimal with leading zero list style":"Toggle the decimal with leading zero list style","Toggle the disc list style":"Toggle the disc list style","Toggle the lower\u2013latin list style":"Toggle the lower\u2013latin list style","Toggle the lower\u2013roman list style":"Toggle the lower\u2013roman list style","Toggle the square list style":"Toggle the square list style","Toggle the upper\u2013latin list style":"Toggle the upper\u2013latin list style","Toggle the upper\u2013roman list style":"Toggle the upper\u2013roman list style",Turquoise:"Turquoise","Type or paste your content here.":"Type or paste your content here.","Type your title":"Type your title",Underline:"Underline",Undo:"Undo",Unlink:"Unlink",Update:"Update","Update image URL":"Update image URL","Upload failed":"Upload failed","Upload in progress":"Upload in progress","Upper-latin":"Upper-latin","Upper-roman":"Upper-roman","Vertical text alignment toolbar":"Vertical text alignment toolbar",White:"White","Widget toolbar":"Widget toolbar",Width:"Width","Wrap text":"Wrap text",Yellow:"Yellow"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),self,ot.exports=(()=>(()=>{var d={4959:(t,A,C)=>{const U=C(1103),k={};for(const P of Object.keys(U))k[U[P]]=P;const D={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};t.exports=D;for(const P of Object.keys(D)){if(!("channels"in D[P]))throw new Error("missing channels property: "+P);if(!("labels"in D[P]))throw new Error("missing channel labels property: "+P);if(D[P].labels.length!==D[P].channels)throw new Error("channel and label counts mismatch: "+P);const{channels:I,labels:z}=D[P];delete D[P].channels,delete D[P].labels,Object.defineProperty(D[P],"channels",{value:I}),Object.defineProperty(D[P],"labels",{value:z})}D.rgb.hsl=function(P){const I=P[0]/255,z=P[1]/255,G=P[2]/255,K=Math.min(I,z,G),at=Math.max(I,z,G),lt=at-K;let bt,Pt;at===K?bt=0:I===at?bt=(z-G)/lt:z===at?bt=2+(G-I)/lt:G===at&&(bt=4+(I-z)/lt),bt=Math.min(60*bt,360),bt<0&&(bt+=360);const Dt=(K+at)/2;return Pt=at===K?0:Dt<=.5?lt/(at+K):lt/(2-at-K),[bt,100*Pt,100*Dt]},D.rgb.hsv=function(P){let I,z,G,K,at;const lt=P[0]/255,bt=P[1]/255,Pt=P[2]/255,Dt=Math.max(lt,bt,Pt),zt=Dt-Math.min(lt,bt,Pt),Vt=function(nt){return(Dt-nt)/6/zt+.5};return 0===zt?(K=0,at=0):(at=zt/Dt,I=Vt(lt),z=Vt(bt),G=Vt(Pt),lt===Dt?K=G-z:bt===Dt?K=.3333333333333333+I-G:Pt===Dt&&(K=.6666666666666666+z-I),K<0?K+=1:K>1&&(K-=1)),[360*K,100*at,100*Dt]},D.rgb.hwb=function(P){const I=P[0],z=P[1];let G=P[2];const K=D.rgb.hsl(P)[0],at=1/255*Math.min(I,Math.min(z,G));return G=1-.00392156862745098*Math.max(I,Math.max(z,G)),[K,100*at,100*G]},D.rgb.cmyk=function(P){const I=P[0]/255,z=P[1]/255,G=P[2]/255,K=Math.min(1-I,1-z,1-G);return[100*((1-I-K)/(1-K)||0),100*((1-z-K)/(1-K)||0),100*((1-G-K)/(1-K)||0),100*K]},D.rgb.keyword=function(P){const I=k[P];if(I)return I;let z,G=1/0;for(const lt of Object.keys(U)){const Pt=((K=P)[0]-(at=U[lt])[0])**2+(K[1]-at[1])**2+(K[2]-at[2])**2;Pt.04045?((I+.055)/1.055)**2.4:I/12.92,z=z>.04045?((z+.055)/1.055)**2.4:z/12.92,G=G>.04045?((G+.055)/1.055)**2.4:G/12.92,[100*(.4124*I+.3576*z+.1805*G),100*(.2126*I+.7152*z+.0722*G),100*(.0193*I+.1192*z+.9505*G)]},D.rgb.lab=function(P){const I=D.rgb.xyz(P);let z=I[0],G=I[1],K=I[2];return z/=95.047,G/=100,K/=108.883,z=z>.008856?z**.3333333333333333:7.787*z+.13793103448275862,G=G>.008856?G**.3333333333333333:7.787*G+.13793103448275862,K=K>.008856?K**.3333333333333333:7.787*K+.13793103448275862,[116*G-16,500*(z-G),200*(G-K)]},D.hsl.rgb=function(P){const I=P[0]/360,z=P[1]/100,G=P[2]/100;let K,at,lt;if(0===z)return lt=255*G,[lt,lt,lt];K=G<.5?G*(1+z):G+z-G*z;const bt=2*G-K,Pt=[0,0,0];for(let Dt=0;Dt<3;Dt++)at=I+.3333333333333333*-(Dt-1),at<0&&at++,at>1&&at--,lt=6*at<1?bt+6*(K-bt)*at:2*at<1?K:3*at<2?bt+(K-bt)*(.6666666666666666-at)*6:bt,Pt[Dt]=255*lt;return Pt},D.hsl.hsv=function(P){const I=P[0];let z=P[1]/100,G=P[2]/100,K=z;const at=Math.max(G,.01);return G*=2,z*=G<=1?G:2-G,K*=at<=1?at:2-at,[I,100*(0===G?2*K/(at+K):2*z/(G+z)),(G+z)/2*100]},D.hsv.rgb=function(P){const I=P[0]/60,z=P[1]/100;let G=P[2]/100;const K=Math.floor(I)%6,at=I-Math.floor(I),lt=255*G*(1-z),bt=255*G*(1-z*at),Pt=255*G*(1-z*(1-at));switch(G*=255,K){case 0:return[G,Pt,lt];case 1:return[bt,G,lt];case 2:return[lt,G,Pt];case 3:return[lt,bt,G];case 4:return[Pt,lt,G];case 5:return[G,lt,bt]}},D.hsv.hsl=function(P){const I=P[0],z=P[1]/100,G=P[2]/100,K=Math.max(G,.01);let at,lt;lt=(2-z)*G;const bt=(2-z)*K;return at=z*K,at/=bt<=1?bt:2-bt,at=at||0,lt/=2,[I,100*at,100*lt]},D.hwb.rgb=function(P){const I=P[0]/360;let z=P[1]/100,G=P[2]/100;const K=z+G;let at;K>1&&(z/=K,G/=K);const lt=Math.floor(6*I),bt=1-G;at=6*I-lt,0!=(1<)&&(at=1-at);const Pt=z+at*(bt-z);let Dt,zt,Vt;switch(lt){default:case 6:case 0:Dt=bt,zt=Pt,Vt=z;break;case 1:Dt=Pt,zt=bt,Vt=z;break;case 2:Dt=z,zt=bt,Vt=Pt;break;case 3:Dt=z,zt=Pt,Vt=bt;break;case 4:Dt=Pt,zt=z,Vt=bt;break;case 5:Dt=bt,zt=z,Vt=Pt}return[255*Dt,255*zt,255*Vt]},D.cmyk.rgb=function(P){const z=P[1]/100,G=P[2]/100,K=P[3]/100;return[255*(1-Math.min(1,P[0]/100*(1-K)+K)),255*(1-Math.min(1,z*(1-K)+K)),255*(1-Math.min(1,G*(1-K)+K))]},D.xyz.rgb=function(P){const I=P[0]/100,z=P[1]/100,G=P[2]/100;let K,at,lt;return K=3.2406*I+-1.5372*z+-.4986*G,at=-.9689*I+1.8758*z+.0415*G,lt=.0557*I+-.204*z+1.057*G,K=K>.0031308?1.055*K**.4166666666666667-.055:12.92*K,at=at>.0031308?1.055*at**.4166666666666667-.055:12.92*at,lt=lt>.0031308?1.055*lt**.4166666666666667-.055:12.92*lt,K=Math.min(Math.max(0,K),1),at=Math.min(Math.max(0,at),1),lt=Math.min(Math.max(0,lt),1),[255*K,255*at,255*lt]},D.xyz.lab=function(P){let I=P[0],z=P[1],G=P[2];return I/=95.047,z/=100,G/=108.883,I=I>.008856?I**.3333333333333333:7.787*I+.13793103448275862,z=z>.008856?z**.3333333333333333:7.787*z+.13793103448275862,G=G>.008856?G**.3333333333333333:7.787*G+.13793103448275862,[116*z-16,500*(I-z),200*(z-G)]},D.lab.xyz=function(P){let I,z,G;z=(P[0]+16)/116,I=P[1]/500+z,G=z-P[2]/200;const K=z**3,at=I**3,lt=G**3;return z=K>.008856?K:(z-.13793103448275862)/7.787,I=at>.008856?at:(I-.13793103448275862)/7.787,G=lt>.008856?lt:(G-.13793103448275862)/7.787,I*=95.047,z*=100,G*=108.883,[I,z,G]},D.lab.lch=function(P){const I=P[0],z=P[1],G=P[2];let K;return K=360*Math.atan2(G,z)/2/Math.PI,K<0&&(K+=360),[I,Math.sqrt(z*z+G*G),K]},D.lch.lab=function(P){const z=P[1],G=P[2]/360*2*Math.PI;return[P[0],z*Math.cos(G),z*Math.sin(G)]},D.rgb.ansi16=function(P,I=null){const[z,G,K]=P;let at=null===I?D.rgb.hsv(P)[2]:I;if(at=Math.round(at/50),0===at)return 30;let lt=30+(Math.round(K/255)<<2|Math.round(G/255)<<1|Math.round(z/255));return 2===at&&(lt+=60),lt},D.hsv.ansi16=function(P){return D.rgb.ansi16(D.hsv.rgb(P),P[2])},D.rgb.ansi256=function(P){const I=P[0],z=P[1],G=P[2];return I===z&&z===G?I<8?16:I>248?231:Math.round((I-8)/247*24)+232:16+36*Math.round(I/255*5)+6*Math.round(z/255*5)+Math.round(G/255*5)},D.ansi16.rgb=function(P){let I=P%10;if(0===I||7===I)return P>50&&(I+=3.5),I=I/10.5*255,[I,I,I];const z=.5*(1+~~(P>50));return[(1&I)*z*255,(I>>1&1)*z*255,(I>>2&1)*z*255]},D.ansi256.rgb=function(P){if(P>=232){const z=10*(P-232)+8;return[z,z,z]}let I;return P-=16,[Math.floor(P/36)/5*255,Math.floor((I=P%36)/6)/5*255,I%6/5*255]},D.rgb.hex=function(P){const I=(((255&Math.round(P[0]))<<16)+((255&Math.round(P[1]))<<8)+(255&Math.round(P[2]))).toString(16).toUpperCase();return"000000".substring(I.length)+I},D.hex.rgb=function(P){const I=P.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!I)return[0,0,0];let z=I[0];3===I[0].length&&(z=z.split("").map(K=>K+K).join(""));const G=parseInt(z,16);return[G>>16&255,G>>8&255,255&G]},D.rgb.hcg=function(P){const I=P[0]/255,z=P[1]/255,G=P[2]/255,K=Math.max(Math.max(I,z),G),at=Math.min(Math.min(I,z),G),lt=K-at;let bt,Pt;return bt=lt<1?at/(1-lt):0,Pt=lt<=0?0:K===I?(z-G)/lt%6:K===z?2+(G-I)/lt:4+(I-z)/lt,Pt/=6,Pt%=1,[360*Pt,100*lt,100*bt]},D.hsl.hcg=function(P){const I=P[1]/100,z=P[2]/100,G=z<.5?2*I*z:2*I*(1-z);let K=0;return G<1&&(K=(z-.5*G)/(1-G)),[P[0],100*G,100*K]},D.hsv.hcg=function(P){const z=P[2]/100,G=P[1]/100*z;let K=0;return G<1&&(K=(z-G)/(1-G)),[P[0],100*G,100*K]},D.hcg.rgb=function(P){const z=P[1]/100,G=P[2]/100;if(0===z)return[255*G,255*G,255*G];const K=[0,0,0],at=P[0]/360%1*6,lt=at%1,bt=1-lt;let Pt=0;switch(Math.floor(at)){case 0:K[0]=1,K[1]=lt,K[2]=0;break;case 1:K[0]=bt,K[1]=1,K[2]=0;break;case 2:K[0]=0,K[1]=1,K[2]=lt;break;case 3:K[0]=0,K[1]=bt,K[2]=1;break;case 4:K[0]=lt,K[1]=0,K[2]=1;break;default:K[0]=1,K[1]=0,K[2]=bt}return Pt=(1-z)*G,[255*(z*K[0]+Pt),255*(z*K[1]+Pt),255*(z*K[2]+Pt)]},D.hcg.hsv=function(P){const I=P[1]/100,z=I+P[2]/100*(1-I);let G=0;return z>0&&(G=I/z),[P[0],100*G,100*z]},D.hcg.hsl=function(P){const I=P[1]/100,z=P[2]/100*(1-I)+.5*I;let G=0;return z>0&&z<.5?G=I/(2*z):z>=.5&&z<1&&(G=I/(2*(1-z))),[P[0],100*G,100*z]},D.hcg.hwb=function(P){const I=P[1]/100,z=I+P[2]/100*(1-I);return[P[0],100*(z-I),100*(1-z)]},D.hwb.hcg=function(P){const z=1-P[2]/100,G=z-P[1]/100;let K=0;return G<1&&(K=(z-G)/(1-G)),[P[0],100*G,100*K]},D.apple.rgb=function(P){return[P[0]/65535*255,P[1]/65535*255,P[2]/65535*255]},D.rgb.apple=function(P){return[P[0]/255*65535,P[1]/255*65535,P[2]/255*65535]},D.gray.rgb=function(P){return[P[0]/100*255,P[0]/100*255,P[0]/100*255]},D.gray.hsl=function(P){return[0,0,P[0]]},D.gray.hsv=D.gray.hsl,D.gray.hwb=function(P){return[0,100,P[0]]},D.gray.cmyk=function(P){return[0,0,0,P[0]]},D.gray.lab=function(P){return[P[0],0,0]},D.gray.hex=function(P){const I=255&Math.round(P[0]/100*255),z=((I<<16)+(I<<8)+I).toString(16).toUpperCase();return"000000".substring(z.length)+z},D.rgb.gray=function(P){return[(P[0]+P[1]+P[2])/3/255*100]}},841:(t,A,C)=>{const U=C(4959),k=C(9325),D={};Object.keys(U).forEach(P=>{D[P]={},Object.defineProperty(D[P],"channels",{value:U[P].channels}),Object.defineProperty(D[P],"labels",{value:U[P].labels});const I=k(P);Object.keys(I).forEach(z=>{const G=I[z];D[P][z]=function(K){const at=function(...lt){const bt=lt[0];if(null==bt)return bt;bt.length>1&&(lt=bt);const Pt=K(lt);if("object"==typeof Pt)for(let Dt=Pt.length,zt=0;zt
1&&(lt=bt),K(lt))};return"conversion"in K&&(at.conversion=K.conversion),at}(G)})}),t.exports=D},9325:(t,A,C)=>{const U=C(4959);function D(I,z){return function(G){return z(I(G))}}function P(I,z){const G=[z[I].parent,I];let K=U[z[I].parent][I],at=z[I].parent;for(;z[at].parent;)G.unshift(z[at].parent),K=D(U[z[at].parent][at],K),at=z[at].parent;return K.conversion=G,K}t.exports=function(I){const z=function k(I){const z=function(){const K={},at=Object.keys(U);for(let lt=at.length,bt=0;bt{"use strict";t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},8603:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck-content code{background-color:hsla(0,0%,78%,.3);border-radius:2px;padding:.15em}.ck.ck-editor__editable .ck-code_selected{background-color:hsla(0,0%,78%,.5)}","",{version:3,sources:["webpack://./../ckeditor5-basic-styles/theme/code.css"],names:[],mappings:"AAKA,iBACC,kCAAuC,CAEvC,iBAAkB,CADlB,aAED,CAEA,0CACC,kCACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-content code {\n\tbackground-color: hsla(0, 0%, 78%, 0.3);\n\tpadding: .15em;\n\tborder-radius: 2px;\n}\n\n.ck.ck-editor__editable .ck-code_selected {\n\tbackground-color: hsla(0, 0%, 78%, 0.5);\n}\n"],sourceRoot:""}]);const I=P},3062:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck-content blockquote{border-left:5px solid #ccc;font-style:italic;margin-left:0;margin-right:0;overflow:hidden;padding-left:1.5em;padding-right:1.5em}.ck-content[dir=rtl] blockquote{border-left:0;border-right:5px solid #ccc}","",{version:3,sources:["webpack://./../ckeditor5-block-quote/theme/blockquote.css"],names:[],mappings:"AAKA,uBAWC,0BAAsC,CADtC,iBAAkB,CAFlB,aAAc,CACd,cAAe,CAPf,eAAgB,CAIhB,kBAAmB,CADnB,mBAOD,CAEA,gCACC,aAAc,CACd,2BACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-content blockquote {\n\t/* See #12 */\n\toverflow: hidden;\n\n\t/* https://github.com/ckeditor/ckeditor5-block-quote/issues/15 */\n\tpadding-right: 1.5em;\n\tpadding-left: 1.5em;\n\n\tmargin-left: 0;\n\tmargin-right: 0;\n\tfont-style: italic;\n\tborder-left: solid 5px hsl(0, 0%, 80%);\n}\n\n.ck-content[dir="rtl"] blockquote {\n\tborder-left: 0;\n\tborder-right: solid 5px hsl(0, 0%, 80%);\n}\n'],sourceRoot:""}]);const I=P},903:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,'.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position{display:inline;pointer-events:none;position:relative}.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position span{position:absolute;width:0}.ck.ck-editor__editable .ck-widget:-webkit-drag>.ck-widget__selection-handle,.ck.ck-editor__editable .ck-widget:-webkit-drag>.ck-widget__type-around{display:none}.ck.ck-clipboard-drop-target-line{pointer-events:none;position:absolute}:root{--ck-clipboard-drop-target-dot-width:12px;--ck-clipboard-drop-target-dot-height:8px;--ck-clipboard-drop-target-color:var(--ck-color-focus-border)}.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position span{background:var(--ck-clipboard-drop-target-color);border:1px solid var(--ck-clipboard-drop-target-color);bottom:calc(var(--ck-clipboard-drop-target-dot-height)*-.5);margin-left:-1px;top:calc(var(--ck-clipboard-drop-target-dot-height)*-.5)}.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position span:after{border-color:var(--ck-clipboard-drop-target-color) transparent transparent transparent;border-style:solid;border-width:calc(var(--ck-clipboard-drop-target-dot-height)) calc(var(--ck-clipboard-drop-target-dot-width)*.5) 0 calc(var(--ck-clipboard-drop-target-dot-width)*.5);content:"";display:block;height:0;left:50%;position:absolute;top:calc(var(--ck-clipboard-drop-target-dot-height)*-.5);transform:translateX(-50%);width:0}.ck.ck-editor__editable .ck-widget.ck-clipboard-drop-target-range{outline:var(--ck-widget-outline-thickness) solid var(--ck-clipboard-drop-target-color)!important}.ck.ck-editor__editable .ck-widget:-webkit-drag{zoom:.6;outline:none!important}.ck.ck-clipboard-drop-target-line{background:var(--ck-clipboard-drop-target-color);border:1px solid var(--ck-clipboard-drop-target-color);height:0;margin-top:-1px}.ck.ck-clipboard-drop-target-line:before{border-style:solid;content:"";height:0;position:absolute;top:calc(var(--ck-clipboard-drop-target-dot-width)*-.5);width:0}[dir=ltr] .ck.ck-clipboard-drop-target-line:before{border-color:transparent transparent transparent var(--ck-clipboard-drop-target-color);border-width:calc(var(--ck-clipboard-drop-target-dot-width)*.5) 0 calc(var(--ck-clipboard-drop-target-dot-width)*.5) var(--ck-clipboard-drop-target-dot-height);left:-1px}[dir=rtl] .ck.ck-clipboard-drop-target-line:before{border-color:transparent var(--ck-clipboard-drop-target-color) transparent transparent;border-width:calc(var(--ck-clipboard-drop-target-dot-width)*.5) var(--ck-clipboard-drop-target-dot-height) calc(var(--ck-clipboard-drop-target-dot-width)*.5) 0;right:-1px}',"",{version:3,sources:["webpack://./../ckeditor5-clipboard/theme/clipboard.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-clipboard/clipboard.css"],names:[],mappings:"AASC,8DACC,cAAe,CAEf,mBAAoB,CADpB,iBAOD,CAJC,mEACC,iBAAkB,CAClB,OACD,CAWA,qJACC,YACD,CAIF,kCAEC,mBAAoB,CADpB,iBAED,CC9BA,MACC,yCAA0C,CAC1C,yCAA0C,CAC1C,6DACD,CAOE,mEAIC,gDAAiD,CADjD,sDAAuD,CAFvD,2DAA8D,CAI9D,gBAAiB,CAHjB,wDAqBD,CAfC,yEAWC,sFAAuF,CAEvF,kBAAmB,CADnB,qKAA0K,CAX1K,UAAW,CAIX,aAAc,CAFd,QAAS,CAIT,QAAS,CADT,iBAAkB,CAElB,wDAA2D,CAE3D,0BAA2B,CAR3B,OAYD,CAOF,kEACC,gGACD,CAKA,gDACC,OAAS,CACT,sBACD,CAGD,kCAGC,gDAAiD,CADjD,sDAAuD,CADvD,QAAS,CAGT,eAwBD,CAtBC,yCAMC,kBAAmB,CALnB,UAAW,CAIX,QAAS,CAHT,iBAAkB,CAClB,uDAA0D,CAC1D,OAiBD,CArBA,mDAYE,sFAAuF,CADvF,+JAAoK,CAFpK,SAYF,CArBA,mDAmBE,sFAAuF,CADvF,+JAAmK,CAFnK,UAKF",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-editor__editable {\n\t/*\n\t * Vertical drop target (in text).\n\t */\n\t& .ck.ck-clipboard-drop-target-position {\n\t\tdisplay: inline;\n\t\tposition: relative;\n\t\tpointer-events: none;\n\n\t\t& span {\n\t\t\tposition: absolute;\n\t\t\twidth: 0;\n\t\t}\n\t}\n\n\t/*\n\t * Styles of the widget being dragged (its preview).\n\t */\n\t& .ck-widget:-webkit-drag {\n\t\t& > .ck-widget__selection-handle {\n\t\t\tdisplay: none;\n\t\t}\n\n\t\t& > .ck-widget__type-around {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n}\n\n.ck.ck-clipboard-drop-target-line {\n\tposition: absolute;\n\tpointer-events: none;\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import \"@ckeditor/ckeditor5-ui/theme/mixins/_dir.css\";\n\n:root {\n\t--ck-clipboard-drop-target-dot-width: 12px;\n\t--ck-clipboard-drop-target-dot-height: 8px;\n\t--ck-clipboard-drop-target-color: var(--ck-color-focus-border);\n}\n\n.ck.ck-editor__editable {\n\t/*\n\t * Vertical drop target (in text).\n\t */\n\t& .ck.ck-clipboard-drop-target-position {\n\t\t& span {\n\t\t\tbottom: calc(-.5 * var(--ck-clipboard-drop-target-dot-height));\n\t\t\ttop: calc(-.5 * var(--ck-clipboard-drop-target-dot-height));\n\t\t\tborder: 1px solid var(--ck-clipboard-drop-target-color);\n\t\t\tbackground: var(--ck-clipboard-drop-target-color);\n\t\t\tmargin-left: -1px;\n\n\t\t\t/* The triangle above the marker */\n\t\t\t&::after {\n\t\t\t\tcontent: '';\n\t\t\t\twidth: 0;\n\t\t\t\theight: 0;\n\n\t\t\t\tdisplay: block;\n\t\t\t\tposition: absolute;\n\t\t\t\tleft: 50%;\n\t\t\t\ttop: calc(-.5 * var(--ck-clipboard-drop-target-dot-height));\n\n\t\t\t\ttransform: translateX(-50%);\n\t\t\t\tborder-color: var(--ck-clipboard-drop-target-color) transparent transparent transparent;\n\t\t\t\tborder-width: calc(var(--ck-clipboard-drop-target-dot-height)) calc(.5 * var(--ck-clipboard-drop-target-dot-width)) 0 calc(.5 * var(--ck-clipboard-drop-target-dot-width));\n\t\t\t\tborder-style: solid;\n\t\t\t}\n\t\t}\n\t}\n\n\t/*\n\t * Styles of the widget that it a drop target.\n\t */\n\t& .ck-widget.ck-clipboard-drop-target-range {\n\t\toutline: var(--ck-widget-outline-thickness) solid var(--ck-clipboard-drop-target-color) !important;\n\t}\n\n\t/*\n\t * Styles of the widget being dragged (its preview).\n\t */\n\t& .ck-widget:-webkit-drag {\n\t\tzoom: 0.6;\n\t\toutline: none !important;\n\t}\n}\n\n.ck.ck-clipboard-drop-target-line {\n\theight: 0;\n\tborder: 1px solid var(--ck-clipboard-drop-target-color);\n\tbackground: var(--ck-clipboard-drop-target-color);\n\tmargin-top: -1px;\n\n\t&::before {\n\t\tcontent: '';\n\t\tposition: absolute;\n\t\ttop: calc(-.5 * var(--ck-clipboard-drop-target-dot-width));\n\t\twidth: 0;\n\t\theight: 0;\n\t\tborder-style: solid;\n\n\t\t@mixin ck-dir ltr {\n\t\t\tleft: -1px;\n\n\t\t\tborder-width: calc(.5 * var(--ck-clipboard-drop-target-dot-width)) 0 calc(.5 * var(--ck-clipboard-drop-target-dot-width)) var(--ck-clipboard-drop-target-dot-height);\n\t\t\tborder-color: transparent transparent transparent var(--ck-clipboard-drop-target-color);\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\tright: -1px;\n\n\t\t\tborder-width:calc(.5 * var(--ck-clipboard-drop-target-dot-width)) var(--ck-clipboard-drop-target-dot-height) calc(.5 * var(--ck-clipboard-drop-target-dot-width)) 0;\n\t\t\tborder-color: transparent var(--ck-clipboard-drop-target-color) transparent transparent;\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const I=P},3143:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-modal)}.ck.ck-editor__top .ck-sticky-panel .ck-toolbar{border-radius:0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-toolbar,.ck.ck-editor__top .ck-sticky-panel .ck-toolbar.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-toolbar{border-bottom-width:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar{border-bottom-width:1px;border-radius:0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar.ck-rounded-corners{border-radius:var(--ck-border-radius);border-radius:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}","",{version:3,sources:["webpack://./../ckeditor5-editor-classic/theme/classiceditor.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-editor-classic/classiceditor.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAKA,cAIC,iBAMD,CAJC,2DAEC,yBACD,CCLC,gDCED,eDKC,CAPA,uICMA,qCAAsC,CDJpC,2BAA4B,CAC5B,4BAIF,CAPA,gDAMC,qBACD,CAEA,iFACC,uBAAwB,CCR1B,eDaC,CANA,yMCHA,qCAAsC,CDOpC,eAEF,CAKF,yCAEC,0CAA2C,CCpB3C,eD8BD,CAZA,yHCdE,qCAAsC,CDmBtC,wBAAyB,CACzB,yBAMF,CAHC,0DACC,wCACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-editor {\n\t/* All the elements within `.ck-editor` are positioned relatively to it.\n\t If any element needs to be positioned with respect to the , etc.,\n\t it must land outside of the `.ck-editor` in DOM. */\n\tposition: relative;\n\n\t& .ck-editor__top .ck-sticky-panel .ck-toolbar {\n\t\t/* https://github.com/ckeditor/ckeditor5-editor-classic/issues/62 */\n\t\tz-index: var(--ck-z-modal);\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../mixins/_rounded.css";\n\n.ck.ck-editor__top {\n\t& .ck-sticky-panel {\n\t\t& .ck-toolbar {\n\t\t\t@mixin ck-rounded-corners {\n\t\t\t\tborder-bottom-left-radius: 0;\n\t\t\t\tborder-bottom-right-radius: 0;\n\t\t\t}\n\n\t\t\tborder-bottom-width: 0;\n\t\t}\n\n\t\t& .ck-sticky-panel__content_sticky .ck-toolbar {\n\t\t\tborder-bottom-width: 1px;\n\n\t\t\t@mixin ck-rounded-corners {\n\t\t\t\tborder-radius: 0;\n\t\t\t}\n\t\t}\n\t}\n}\n\n/* Note: Use ck-editor__main to make sure these styles don\'t apply to other editor types */\n.ck.ck-editor__main > .ck-editor__editable {\n\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/113 */\n\tbackground: var(--ck-color-base-background);\n\n\t@mixin ck-rounded-corners {\n\t\tborder-top-left-radius: 0;\n\t\tborder-top-right-radius: 0;\n\t}\n\n\t&:not(.ck-focused) {\n\t\tborder-color: var(--ck-color-base-border);\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const I=P},4717:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck .ck-placeholder,.ck.ck-placeholder{position:relative}.ck .ck-placeholder:before,.ck.ck-placeholder:before{content:attr(data-placeholder);left:0;pointer-events:none;position:absolute;right:0}.ck.ck-read-only .ck-placeholder:before{display:none}.ck.ck-reset_all .ck-placeholder{position:relative}.ck .ck-placeholder:before,.ck.ck-placeholder:before{color:var(--ck-color-engine-placeholder-text);cursor:text}","",{version:3,sources:["webpack://./../ckeditor5-engine/theme/placeholder.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-engine/placeholder.css"],names:[],mappings:"AAMA,uCAEC,iBAWD,CATC,qDAIC,8BAA+B,CAF/B,MAAO,CAKP,mBAAoB,CANpB,iBAAkB,CAElB,OAKD,CAKA,wCACC,YACD,CAQD,iCACC,iBACD,CC5BC,qDAEC,6CAA8C,CAD9C,WAED",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/* See ckeditor/ckeditor5#936. */\n.ck.ck-placeholder,\n.ck .ck-placeholder {\n\tposition: relative;\n\n\t&::before {\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\tright: 0;\n\t\tcontent: attr(data-placeholder);\n\n\t\t/* See ckeditor/ckeditor5#469. */\n\t\tpointer-events: none;\n\t}\n}\n\n/* See ckeditor/ckeditor5#1987. */\n.ck.ck-read-only .ck-placeholder {\n\t&::before {\n\t\tdisplay: none;\n\t}\n}\n\n/*\n * Rules for the `ck-placeholder` are loaded before the rules for `ck-reset_all` in the base CKEditor 5 DLL build.\n * This fix overwrites the incorrectly set `position: static` from `ck-reset_all`.\n * See https://github.com/ckeditor/ckeditor5/issues/11418.\n */\n.ck.ck-reset_all .ck-placeholder {\n\tposition: relative;\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/* See ckeditor/ckeditor5#936. */\n.ck.ck-placeholder, .ck .ck-placeholder {\n\t&::before {\n\t\tcursor: text;\n\t\tcolor: var(--ck-color-engine-placeholder-text);\n\t}\n}\n"],sourceRoot:""}]);const I=P},9315:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck.ck-editor__editable span[data-ck-unsafe-element]{display:none}","",{version:3,sources:["webpack://./../ckeditor5-engine/theme/renderer.css"],names:[],mappings:"AAMA,qDACC,YACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/* Elements marked by the Renderer as hidden should be invisible in the editor. */\n.ck.ck-editor__editable span[data-ck-unsafe-element] {\n\tdisplay: none;\n}\n"],sourceRoot:""}]);const I=P},8733:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck.ck-heading_heading1{font-size:20px}.ck.ck-heading_heading2{font-size:17px}.ck.ck-heading_heading3{font-size:14px}.ck[class*=ck-heading_heading]{font-weight:700}.ck.ck-dropdown.ck-heading-dropdown .ck-dropdown__button .ck-button__label{width:8em}.ck.ck-dropdown.ck-heading-dropdown .ck-dropdown__panel .ck-list__item{min-width:18em}","",{version:3,sources:["webpack://./../ckeditor5-heading/theme/heading.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-heading/heading.css"],names:[],mappings:"AAKA,wBACC,cACD,CAEA,wBACC,cACD,CAEA,wBACC,cACD,CAEA,+BACC,eACD,CCZC,2EACC,SACD,CAEA,uEACC,cACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-heading_heading1 {\n\tfont-size: 20px;\n}\n\n.ck.ck-heading_heading2 {\n\tfont-size: 17px;\n}\n\n.ck.ck-heading_heading3 {\n\tfont-size: 14px;\n}\n\n.ck[class*="ck-heading_heading"] {\n\tfont-weight: bold;\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/* Resize dropdown's button label. */\n.ck.ck-dropdown.ck-heading-dropdown {\n\t& .ck-dropdown__button .ck-button__label {\n\t\twidth: 8em;\n\t}\n\n\t& .ck-dropdown__panel .ck-list__item {\n\t\tmin-width: 18em;\n\t}\n}\n"],sourceRoot:""}]);const I=P},3508:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck-content .image{clear:both;display:table;margin:.9em auto;min-width:50px;text-align:center}.ck-content .image img{display:block;height:auto;margin:0 auto;max-width:100%;min-width:100%}.ck-content .image-inline{align-items:flex-start;display:inline-flex;max-width:100%}.ck-content .image-inline picture{display:flex}.ck-content .image-inline img,.ck-content .image-inline picture{flex-grow:1;flex-shrink:1;max-width:100%}.ck.ck-editor__editable .image>figcaption.ck-placeholder:before{overflow:hidden;padding-left:inherit;padding-right:inherit;text-overflow:ellipsis;white-space:nowrap}.ck.ck-editor__editable .image{z-index:1}.ck.ck-editor__editable .image.ck-widget_selected{z-index:2}.ck.ck-editor__editable .image-inline{z-index:1}.ck.ck-editor__editable .image-inline.ck-widget_selected{z-index:2}.ck.ck-editor__editable .image-inline.ck-widget_selected ::selection{display:none}.ck.ck-editor__editable .image-inline img{height:auto}.ck.ck-editor__editable td .image-inline img,.ck.ck-editor__editable th .image-inline img{max-width:none}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/image.css"],names:[],mappings:"AAMC,mBAEC,UAAW,CADX,aAAc,CAOd,gBAAkB,CAGlB,cAAe,CARf,iBA2BD,CAjBC,uBAEC,aAAc,CAad,WAAY,CAVZ,aAAc,CAGd,cAAe,CAGf,cAKD,CAGD,0BAYC,sBAAuB,CANvB,mBAAoB,CAGpB,cAoBD,CAdC,kCACC,YACD,CAGA,gEAGC,WAAY,CACZ,aAAc,CAGd,cACD,CAUD,gEASC,eAAgB,CARhB,oBAAqB,CACrB,qBAAsB,CAQtB,sBAAuB,CAFvB,kBAGD,CAKA,+BACC,SASD,CAHC,kDACC,SACD,CAMD,sCACC,SAkBD,CAZC,yDACC,SAUD,CAHC,qEACC,YACD,CAMF,0CACC,WACD,CAMC,0FACC,cACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-content {\n\t& .image {\n\t\tdisplay: table;\n\t\tclear: both;\n\t\ttext-align: center;\n\n\t\t/* Make sure there is some space between the content and the image. Center image by default. */\n\t\t/* The first value should be equal to --ck-spacing-large variable if used in the editor context\n\t \tto avoid the content jumping (See https://github.com/ckeditor/ckeditor5/issues/9825). */\n\t\tmargin: 0.9em auto;\n\n\t\t/* Make sure the caption will be displayed properly (See: https://github.com/ckeditor/ckeditor5/issues/1870). */\n\t\tmin-width: 50px;\n\n\t\t& img {\n\t\t\t/* Prevent unnecessary margins caused by line-height (see #44). */\n\t\t\tdisplay: block;\n\n\t\t\t/* Center the image if its width is smaller than the content\'s width. */\n\t\t\tmargin: 0 auto;\n\n\t\t\t/* Make sure the image never exceeds the size of the parent container (ckeditor/ckeditor5-ui#67). */\n\t\t\tmax-width: 100%;\n\n\t\t\t/* Make sure the image is never smaller than the parent container (See: https://github.com/ckeditor/ckeditor5/issues/9300). */\n\t\t\tmin-width: 100%;\n\n\t\t\t/* Keep proportions of the block image if the height is set and the image is wider than the editor width.\n\t\t\tSee https://github.com/ckeditor/ckeditor5/issues/14542. */\n\t\t\theight: auto;\n\t\t}\n\t}\n\n\t& .image-inline {\n\t\t/*\n\t\t * Normally, the .image-inline would have "display: inline-block" and "img { width: 100% }" (to follow the wrapper while resizing).\n\t\t * Unfortunately, together with "srcset", it gets automatically stretched up to the width of the editing root.\n\t\t * This strange behavior does not happen with inline-flex.\n\t\t */\n\t\tdisplay: inline-flex;\n\n\t\t/* While being resized, don\'t allow the image to exceed the width of the editing root. */\n\t\tmax-width: 100%;\n\n\t\t/* This is required by Safari to resize images in a sensible way. Without this, the browser breaks the ratio. */\n\t\talign-items: flex-start;\n\n\t\t/* When the picture is present it must act as a flex container to let the img resize properly */\n\t\t& picture {\n\t\t\tdisplay: flex;\n\t\t}\n\n\t\t/* When the picture is present, it must act like a resizable img. */\n\t\t& picture,\n\t\t& img {\n\t\t\t/* This is necessary for the img to span the entire .image-inline wrapper and to resize properly. */\n\t\t\tflex-grow: 1;\n\t\t\tflex-shrink: 1;\n\n\t\t\t/* Prevents overflowing the editing root boundaries when an inline image is very wide. */\n\t\t\tmax-width: 100%;\n\t\t}\n\t}\n}\n\n.ck.ck-editor__editable {\n\t/*\n\t * Inhertit the content styles padding of the in case the integration overrides `text-align: center`\n\t * of `.image` (e.g. to the left/right). This ensures the placeholder stays at the padding just like the native\n\t * caret does, and not at the edge of .\n\t */\n\t& .image > figcaption.ck-placeholder::before {\n\t\tpadding-left: inherit;\n\t\tpadding-right: inherit;\n\n\t\t/*\n\t\t * Make sure the image caption placeholder doesn\'t overflow the placeholder area.\n\t\t * See https://github.com/ckeditor/ckeditor5/issues/9162.\n\t\t */\n\t\twhite-space: nowrap;\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t}\n\n\t/*\n\t * See https://github.com/ckeditor/ckeditor5/issues/15115.\n\t */\n\t& .image {\n\t\tz-index: 1;\n\n\t\t/*\n\t\t * Make sure the selected image always stays on top of its siblings.\n\t\t * See https://github.com/ckeditor/ckeditor5/issues/9108.\n\t\t */\n\t\t&.ck-widget_selected {\n\t\t\tz-index: 2;\n\t\t}\n\t}\n\n\t/*\n\t * See https://github.com/ckeditor/ckeditor5/issues/15115.\n\t */\n\t& .image-inline {\n\t\tz-index: 1;\n\n\t\t/*\n\t\t * Make sure the selected inline image always stays on top of its siblings.\n\t\t * See https://github.com/ckeditor/ckeditor5/issues/9108.\n\t\t */\n\t\t&.ck-widget_selected {\n\t\t\tz-index: 2;\n\n\t\t\t/*\n\t\t\t * Make sure the native browser selection style is not displayed.\n\t\t\t * Inline image widgets have their own styles for the selected state and\n\t\t\t * leaving this up to the browser is asking for a visual collision.\n\t\t\t */\n\t\t\t& ::selection {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\t}\n\n\t/* Keep proportions of the inline image if the height is set and the image is wider than the editor width.\n\tSee https://github.com/ckeditor/ckeditor5/issues/14542. */\n\t& .image-inline img {\n\t\theight: auto;\n\t}\n\n\t/* The inline image nested in the table should have its original size if not resized.\n\tSee https://github.com/ckeditor/ckeditor5/issues/9117. */\n\t& td,\n\t& th {\n\t\t& .image-inline img {\n\t\t\tmax-width: none;\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const I=P},2640:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,":root{--ck-color-image-caption-background:#f7f7f7;--ck-color-image-caption-text:#333;--ck-color-image-caption-highligted-background:#fd0}.ck-content .image>figcaption{background-color:var(--ck-color-image-caption-background);caption-side:bottom;color:var(--ck-color-image-caption-text);display:table-caption;font-size:.75em;outline-offset:-1px;padding:.6em;word-break:break-word}.ck.ck-editor__editable .image>figcaption.image__caption_highlighted{animation:ck-image-caption-highlight .6s ease-out}@keyframes ck-image-caption-highlight{0%{background-color:var(--ck-color-image-caption-highligted-background)}to{background-color:var(--ck-color-image-caption-background)}}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imagecaption.css"],names:[],mappings:"AAKA,MACC,2CAAoD,CACpD,kCAA8C,CAC9C,mDACD,CAGA,8BAKC,yDAA0D,CAH1D,mBAAoB,CAEpB,wCAAyC,CAHzC,qBAAsB,CAMtB,eAAgB,CAChB,mBAAoB,CAFpB,YAAa,CAHb,qBAMD,CAGA,qEACC,iDACD,CAEA,sCACC,GACC,oEACD,CAEA,GACC,yDACD,CACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-image-caption-background: hsl(0, 0%, 97%);\n\t--ck-color-image-caption-text: hsl(0, 0%, 20%);\n\t--ck-color-image-caption-highligted-background: hsl(52deg 100% 50%);\n}\n\n/* Content styles */\n.ck-content .image > figcaption {\n\tdisplay: table-caption;\n\tcaption-side: bottom;\n\tword-break: break-word;\n\tcolor: var(--ck-color-image-caption-text);\n\tbackground-color: var(--ck-color-image-caption-background);\n\tpadding: .6em;\n\tfont-size: .75em;\n\toutline-offset: -1px;\n}\n\n/* Editing styles */\n.ck.ck-editor__editable .image > figcaption.image__caption_highlighted {\n\tanimation: ck-image-caption-highlight .6s ease-out;\n}\n\n@keyframes ck-image-caption-highlight {\n\t0% {\n\t\tbackground-color: var(--ck-color-image-caption-highligted-background);\n\t}\n\n\t100% {\n\t\tbackground-color: var(--ck-color-image-caption-background);\n\t}\n}\n"],sourceRoot:""}]);const I=P},3535:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck.ck-image-insert__panel{padding:var(--ck-spacing-large)}.ck.ck-image-insert__ck-finder-button{border:1px solid #ccc;border-radius:var(--ck-border-radius);display:block;margin:var(--ck-spacing-standard) auto;width:100%}.ck.ck-splitbutton>.ck-file-dialog-button.ck-button{border:none;margin:0;padding:0}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageinsert.css"],names:[],mappings:"AAKA,2BACC,+BACD,CAEA,sCAIC,qBAAiC,CACjC,qCAAsC,CAJtC,aAAc,CAEd,sCAAuC,CADvC,UAID,CAGA,oDAGC,WAAY,CADZ,QAAS,CADT,SAGD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-image-insert__panel {\n\tpadding: var(--ck-spacing-large);\n}\n\n.ck.ck-image-insert__ck-finder-button {\n\tdisplay: block;\n\twidth: 100%;\n\tmargin: var(--ck-spacing-standard) auto;\n\tborder: 1px solid hsl(0, 0%, 80%);\n\tborder-radius: var(--ck-border-radius);\n}\n\n/* https://github.com/ckeditor/ckeditor5/issues/7986 */\n.ck.ck-splitbutton > .ck-file-dialog-button.ck-button {\n\tpadding: 0;\n\tmargin: 0;\n\tborder: none;\n}\n"],sourceRoot:""}]);const I=P},1568:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck.ck-image-insert-form:focus{outline:none}.ck.ck-form__row{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between}.ck.ck-form__row>:not(.ck-label){flex-grow:1}.ck.ck-form__row.ck-image-insert-form__action-row{margin-top:var(--ck-spacing-standard)}.ck.ck-form__row.ck-image-insert-form__action-row .ck-button-cancel,.ck.ck-form__row.ck-image-insert-form__action-row .ck-button-save{justify-content:center}.ck.ck-form__row.ck-image-insert-form__action-row .ck-button .ck-button__label{color:var(--ck-color-text)}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageinsertformrowview.css"],names:[],mappings:"AAMC,+BAEC,YACD,CAGD,iBACC,YAAa,CACb,kBAAmB,CACnB,gBAAiB,CACjB,6BAmBD,CAhBC,iCACC,WACD,CAEA,kDACC,qCAUD,CARC,sIAEC,sBACD,CAEA,+EACC,0BACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-image-insert-form {\n\t&:focus {\n\t\t/* See: https://github.com/ckeditor/ckeditor5/issues/4773 */\n\t\toutline: none;\n\t}\n}\n\n.ck.ck-form__row {\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\tjustify-content: space-between;\n\n\t/* Ignore labels that work as fieldset legends */\n\t& > *:not(.ck-label) {\n\t\tflex-grow: 1;\n\t}\n\n\t&.ck-image-insert-form__action-row {\n\t\tmargin-top: var(--ck-spacing-standard);\n\n\t\t& .ck-button-save,\n\t\t& .ck-button-cancel {\n\t\t\tjustify-content: center;\n\t\t}\n\n\t\t& .ck-button .ck-button__label {\n\t\t\tcolor: var(--ck-color-text);\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const I=P},6270:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck-content img.image_resized{height:auto}.ck-content .image.image_resized{box-sizing:border-box;display:block;max-width:100%}.ck-content .image.image_resized img{width:100%}.ck-content .image.image_resized>figcaption{display:block}.ck.ck-editor__editable td .image-inline.image_resized img,.ck.ck-editor__editable th .image-inline.image_resized img{max-width:100%}[dir=ltr] .ck.ck-button.ck-button_with-text.ck-resize-image-button .ck-button__icon{margin-right:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-button.ck-button_with-text.ck-resize-image-button .ck-button__icon{margin-left:var(--ck-spacing-standard)}.ck.ck-dropdown .ck-button.ck-resize-image-button .ck-button__label{width:4em}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageresize.css"],names:[],mappings:"AAMA,8BACC,WACD,CAEA,iCAQC,qBAAsB,CADtB,aAAc,CANd,cAkBD,CATC,qCAEC,UACD,CAEA,4CAEC,aACD,CAQC,sHACC,cACD,CAIF,oFACC,uCACD,CAEA,oFACC,sCACD,CAEA,oEACC,SACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/* Preserve aspect ratio of the resized image after introducing image height attribute. */\n.ck-content img.image_resized {\n\theight: auto;\n}\n\n.ck-content .image.image_resized {\n\tmax-width: 100%;\n\t/*\n\tThe `` element for resized images must not use `display:table` as browsers do not support `max-width` for it well.\n\tSee https://stackoverflow.com/questions/4019604/chrome-safari-ignoring-max-width-in-table/14420691#14420691 for more.\n\tFortunately, since we control the width, there is no risk that the image will look bad.\n\t*/\n\tdisplay: block;\n\tbox-sizing: border-box;\n\n\t& img {\n\t\t/* For resized images it is the `` element that determines the image width. */\n\t\twidth: 100%;\n\t}\n\n\t& > figcaption {\n\t\t/* The `` element uses `display:block`, so `` also has to. */\n\t\tdisplay: block;\n\t}\n}\n\n.ck.ck-editor__editable {\n\t/* The resized inline image nested in the table should respect its parent size.\n\tSee https://github.com/ckeditor/ckeditor5/issues/9117. */\n\t& td,\n\t& th {\n\t\t& .image-inline.image_resized img {\n\t\t\tmax-width: 100%;\n\t\t}\n\t}\n}\n\n[dir="ltr"] .ck.ck-button.ck-button_with-text.ck-resize-image-button .ck-button__icon {\n\tmargin-right: var(--ck-spacing-standard);\n}\n\n[dir="rtl"] .ck.ck-button.ck-button_with-text.ck-resize-image-button .ck-button__icon {\n\tmargin-left: var(--ck-spacing-standard);\n}\n\n.ck.ck-dropdown .ck-button.ck-resize-image-button .ck-button__label {\n\twidth: 4em;\n}\n'],sourceRoot:""}]);const I=P},5083:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,":root{--ck-image-style-spacing:1.5em;--ck-inline-image-style-spacing:calc(var(--ck-image-style-spacing)/2)}.ck-content .image-style-block-align-left,.ck-content .image-style-block-align-right{max-width:calc(100% - var(--ck-image-style-spacing))}.ck-content .image-style-align-left,.ck-content .image-style-align-right{clear:none}.ck-content .image-style-side{float:right;margin-left:var(--ck-image-style-spacing);max-width:50%}.ck-content .image-style-align-left{float:left;margin-right:var(--ck-image-style-spacing)}.ck-content .image-style-align-center{margin-left:auto;margin-right:auto}.ck-content .image-style-align-right{float:right;margin-left:var(--ck-image-style-spacing)}.ck-content .image-style-block-align-right{margin-left:auto;margin-right:0}.ck-content .image-style-block-align-left{margin-left:0;margin-right:auto}.ck-content p+.image-style-align-left,.ck-content p+.image-style-align-right,.ck-content p+.image-style-side{margin-top:0}.ck-content .image-inline.image-style-align-left,.ck-content .image-inline.image-style-align-right{margin-bottom:var(--ck-inline-image-style-spacing);margin-top:var(--ck-inline-image-style-spacing)}.ck-content .image-inline.image-style-align-left{margin-right:var(--ck-inline-image-style-spacing)}.ck-content .image-inline.image-style-align-right{margin-left:var(--ck-inline-image-style-spacing)}.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__action:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover),.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__action:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__arrow:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover){background-color:var(--ck-color-button-on-background)}.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__action:not(.ck-disabled):after,.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):after,.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover):after,.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__action:not(.ck-disabled):after,.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__arrow:not(.ck-disabled):after,.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover):after{display:none}.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open:hover>.ck-splitbutton__action:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open:hover>.ck-splitbutton__arrow:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open:hover>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover){background-color:var(--ck-color-button-on-hover-background)}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imagestyle.css"],names:[],mappings:"AAKA,MACC,8BAA+B,CAC/B,qEACD,CAMC,qFAEC,oDACD,CAIA,yEAEC,UACD,CAEA,8BACC,WAAY,CACZ,yCAA0C,CAC1C,aACD,CAEA,oCACC,UAAW,CACX,0CACD,CAEA,sCACC,gBAAiB,CACjB,iBACD,CAEA,qCACC,WAAY,CACZ,yCACD,CAEA,2CAEC,gBAAiB,CADjB,cAED,CAEA,0CACC,aAAc,CACd,iBACD,CAGA,6GAGC,YACD,CAGC,mGAGC,kDAAmD,CADnD,+CAED,CAEA,iDACC,iDACD,CAEA,kDACC,gDACD,CAUC,0lBAGC,qDAKD,CAHC,8nBACC,YACD,CAKD,oVAGC,2DACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-image-style-spacing: 1.5em;\n\t--ck-inline-image-style-spacing: calc(var(--ck-image-style-spacing) / 2);\n}\n\n.ck-content {\n\t/* Provides a minimal side margin for the left and right aligned images, so that the user has a visual feedback\n\tconfirming successful application of the style if image width exceeds the editor's size.\n\tSee https://github.com/ckeditor/ckeditor5/issues/9342 */\n\t& .image-style-block-align-left,\n\t& .image-style-block-align-right {\n\t\tmax-width: calc(100% - var(--ck-image-style-spacing));\n\t}\n\n\t/* Allows displaying multiple floating images in the same line.\n\tSee https://github.com/ckeditor/ckeditor5/issues/9183#issuecomment-804988132 */\n\t& .image-style-align-left,\n\t& .image-style-align-right {\n\t\tclear: none;\n\t}\n\n\t& .image-style-side {\n\t\tfloat: right;\n\t\tmargin-left: var(--ck-image-style-spacing);\n\t\tmax-width: 50%;\n\t}\n\n\t& .image-style-align-left {\n\t\tfloat: left;\n\t\tmargin-right: var(--ck-image-style-spacing);\n\t}\n\n\t& .image-style-align-center {\n\t\tmargin-left: auto;\n\t\tmargin-right: auto;\n\t}\n\n\t& .image-style-align-right {\n\t\tfloat: right;\n\t\tmargin-left: var(--ck-image-style-spacing);\n\t}\n\n\t& .image-style-block-align-right {\n\t\tmargin-right: 0;\n\t\tmargin-left: auto;\n\t}\n\n\t& .image-style-block-align-left {\n\t\tmargin-left: 0;\n\t\tmargin-right: auto;\n\t}\n\n\t/* Simulates margin collapsing with the preceding paragraph, which does not work for the floating elements. */\n\t& p + .image-style-align-left,\n\t& p + .image-style-align-right,\n\t& p + .image-style-side {\n\t\tmargin-top: 0;\n\t}\n\n\t& .image-inline {\n\t\t&.image-style-align-left,\n\t\t&.image-style-align-right {\n\t\t\tmargin-top: var(--ck-inline-image-style-spacing);\n\t\t\tmargin-bottom: var(--ck-inline-image-style-spacing);\n\t\t}\n\n\t\t&.image-style-align-left {\n\t\t\tmargin-right: var(--ck-inline-image-style-spacing);\n\t\t}\n\n\t\t&.image-style-align-right {\n\t\t\tmargin-left: var(--ck-inline-image-style-spacing);\n\t\t}\n\t}\n}\n\n.ck.ck-splitbutton {\n\t/* The button should display as a regular drop-down if the action button\n\tis forced to fire the same action as the arrow button. */\n\t&.ck-splitbutton_flatten {\n\t\t&:hover,\n\t\t&.ck-splitbutton_open {\n\t\t\t& > .ck-splitbutton__action:not(.ck-disabled),\n\t\t\t& > .ck-splitbutton__arrow:not(.ck-disabled),\n\t\t\t& > .ck-splitbutton__arrow:not(.ck-disabled):not(:hover) {\n\t\t\t\tbackground-color: var(--ck-color-button-on-background);\n\n\t\t\t\t&::after {\n\t\t\t\t\tdisplay: none;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t&.ck-splitbutton_open:hover {\n\t\t\t& > .ck-splitbutton__action:not(.ck-disabled),\n\t\t\t& > .ck-splitbutton__arrow:not(.ck-disabled),\n\t\t\t& > .ck-splitbutton__arrow:not(.ck-disabled):not(:hover) {\n\t\t\t\tbackground-color: var(--ck-color-button-on-hover-background);\n\t\t\t}\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const I=P},4036:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,'.ck-image-upload-complete-icon{border-radius:50%;display:block;position:absolute;right:min(var(--ck-spacing-medium),6%);top:min(var(--ck-spacing-medium),6%);z-index:1}.ck-image-upload-complete-icon:after{content:"";position:absolute}:root{--ck-color-image-upload-icon:#fff;--ck-color-image-upload-icon-background:#008a00;--ck-image-upload-icon-size:20;--ck-image-upload-icon-width:2px;--ck-image-upload-icon-is-visible:clamp(0px,100% - 50px,1px)}.ck-image-upload-complete-icon{animation-delay:0ms,3s;animation-duration:.5s,.5s;animation-fill-mode:forwards,forwards;animation-name:ck-upload-complete-icon-show,ck-upload-complete-icon-hide;background:var(--ck-color-image-upload-icon-background);font-size:calc(1px*var(--ck-image-upload-icon-size));height:calc(var(--ck-image-upload-icon-is-visible)*var(--ck-image-upload-icon-size));opacity:0;overflow:hidden;width:calc(var(--ck-image-upload-icon-is-visible)*var(--ck-image-upload-icon-size))}.ck-image-upload-complete-icon:after{animation-delay:.5s;animation-duration:.5s;animation-fill-mode:forwards;animation-name:ck-upload-complete-icon-check;border-right:var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);border-top:var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);box-sizing:border-box;height:0;left:25%;opacity:0;top:50%;transform:scaleX(-1) rotate(135deg);transform-origin:left top;width:0}@keyframes ck-upload-complete-icon-show{0%{opacity:0}to{opacity:1}}@keyframes ck-upload-complete-icon-hide{0%{opacity:1}to{opacity:0}}@keyframes ck-upload-complete-icon-check{0%{height:0;opacity:1;width:0}33%{height:0;width:.3em}to{height:.45em;opacity:1;width:.3em}}',"",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageuploadicon.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-image/imageuploadicon.css"],names:[],mappings:"AAKA,+BAUC,iBAAkB,CATlB,aAAc,CACd,iBAAkB,CAOlB,sCAAwC,CADxC,oCAAsC,CAGtC,SAMD,CAJC,qCACC,UAAW,CACX,iBACD,CChBD,MACC,iCAA8C,CAC9C,+CAA4D,CAG5D,8BAA+B,CAC/B,gCAAiC,CACjC,4DACD,CAEA,+BAWC,sBAA4B,CAN5B,0BAAgC,CADhC,qCAAuC,CADvC,wEAA0E,CAD1E,uDAAwD,CAMxD,oDAAuD,CAWvD,oFAAuF,CAlBvF,SAAU,CAgBV,eAAgB,CAChB,mFA0BD,CAtBC,qCAgBC,mBAAsB,CADtB,sBAAyB,CAEzB,4BAA6B,CAH7B,4CAA6C,CAF7C,sFAAuF,CADvF,oFAAqF,CASrF,qBAAsB,CAdtB,QAAS,CAJT,QAAS,CAGT,SAAU,CADV,OAAQ,CAKR,mCAAoC,CACpC,yBAA0B,CAH1B,OAcD,CAGD,wCACC,GACC,SACD,CAEA,GACC,SACD,CACD,CAEA,wCACC,GACC,SACD,CAEA,GACC,SACD,CACD,CAEA,yCACC,GAGC,QAAS,CAFT,SAAU,CACV,OAED,CACA,IAEC,QAAS,CADT,UAED,CACA,GAGC,YAAc,CAFd,SAAU,CACV,UAED,CACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-image-upload-complete-icon {\n\tdisplay: block;\n\tposition: absolute;\n\n\t/*\n\t * Smaller images should have the icon closer to the border.\n\t * Match the icon position with the linked image indicator brought by the link image feature.\n\t */\n\ttop: min(var(--ck-spacing-medium), 6%);\n\tright: min(var(--ck-spacing-medium), 6%);\n\tborder-radius: 50%;\n\tz-index: 1;\n\n\t&::after {\n\t\tcontent: "";\n\t\tposition: absolute;\n\t}\n}\n','/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-image-upload-icon: hsl(0, 0%, 100%);\n\t--ck-color-image-upload-icon-background: hsl(120, 100%, 27%);\n\n\t/* Match the icon size with the linked image indicator brought by the link image feature. */\n\t--ck-image-upload-icon-size: 20;\n\t--ck-image-upload-icon-width: 2px;\n\t--ck-image-upload-icon-is-visible: clamp(0px, 100% - 50px, 1px);\n}\n\n.ck-image-upload-complete-icon {\n\topacity: 0;\n\tbackground: var(--ck-color-image-upload-icon-background);\n\tanimation-name: ck-upload-complete-icon-show, ck-upload-complete-icon-hide;\n\tanimation-fill-mode: forwards, forwards;\n\tanimation-duration: 500ms, 500ms;\n\n\t/* To make animation scalable. */\n\tfont-size: calc(1px * var(--ck-image-upload-icon-size));\n\n\t/* Hide completed upload icon after 3 seconds. */\n\tanimation-delay: 0ms, 3000ms;\n\n\t/*\n\t * Use CSS math to simulate container queries.\n\t * https://css-tricks.com/the-raven-technique-one-step-closer-to-container-queries/#what-about-showing-and-hiding-things\n\t */\n\toverflow: hidden;\n\twidth: calc(var(--ck-image-upload-icon-is-visible) * var(--ck-image-upload-icon-size));\n\theight: calc(var(--ck-image-upload-icon-is-visible) * var(--ck-image-upload-icon-size));\n\n\t/* This is check icon element made from border-width mixed with animations. */\n\t&::after {\n\t\t/* Because of border transformation we need to "hard code" left position. */\n\t\tleft: 25%;\n\n\t\ttop: 50%;\n\t\topacity: 0;\n\t\theight: 0;\n\t\twidth: 0;\n\n\t\ttransform: scaleX(-1) rotate(135deg);\n\t\ttransform-origin: left top;\n\t\tborder-top: var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);\n\t\tborder-right: var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);\n\n\t\tanimation-name: ck-upload-complete-icon-check;\n\t\tanimation-duration: 500ms;\n\t\tanimation-delay: 500ms;\n\t\tanimation-fill-mode: forwards;\n\n\t\t/* #1095. While reset is not providing proper box-sizing for pseudoelements, we need to handle it. */\n\t\tbox-sizing: border-box;\n\t}\n}\n\n@keyframes ck-upload-complete-icon-show {\n\tfrom {\n\t\topacity: 0;\n\t}\n\n\tto {\n\t\topacity: 1;\n\t}\n}\n\n@keyframes ck-upload-complete-icon-hide {\n\tfrom {\n\t\topacity: 1;\n\t}\n\n\tto {\n\t\topacity: 0;\n\t}\n}\n\n@keyframes ck-upload-complete-icon-check {\n\t0% {\n\t\topacity: 1;\n\t\twidth: 0;\n\t\theight: 0;\n\t}\n\t33% {\n\t\twidth: 0.3em;\n\t\theight: 0;\n\t}\n\t100% {\n\t\topacity: 1;\n\t\twidth: 0.3em;\n\t\theight: 0.45em;\n\t}\n}\n'],sourceRoot:""}]);const I=P},3773:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,'.ck .ck-upload-placeholder-loader{align-items:center;display:flex;justify-content:center;left:0;position:absolute;top:0}.ck .ck-upload-placeholder-loader:before{content:"";position:relative}:root{--ck-color-upload-placeholder-loader:#b3b3b3;--ck-upload-placeholder-loader-size:32px;--ck-upload-placeholder-image-aspect-ratio:2.8}.ck .ck-image-upload-placeholder{margin:0;width:100%}.ck .ck-image-upload-placeholder.image-inline{width:calc(var(--ck-upload-placeholder-loader-size)*2*var(--ck-upload-placeholder-image-aspect-ratio))}.ck .ck-image-upload-placeholder img{aspect-ratio:var(--ck-upload-placeholder-image-aspect-ratio)}.ck .ck-upload-placeholder-loader{height:100%;width:100%}.ck .ck-upload-placeholder-loader:before{animation:ck-upload-placeholder-loader 1s linear infinite;border-radius:50%;border-right:2px solid transparent;border-top:3px solid var(--ck-color-upload-placeholder-loader);height:var(--ck-upload-placeholder-loader-size);width:var(--ck-upload-placeholder-loader-size)}@keyframes ck-upload-placeholder-loader{to{transform:rotate(1turn)}}',"",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageuploadloader.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-image/imageuploadloader.css"],names:[],mappings:"AAKA,kCAGC,kBAAmB,CADnB,YAAa,CAEb,sBAAuB,CAEvB,MAAO,CALP,iBAAkB,CAIlB,KAOD,CAJC,yCACC,UAAW,CACX,iBACD,CCXD,MACC,4CAAqD,CACrD,wCAAyC,CACzC,8CACD,CAEA,iCAGC,QAAS,CADT,UAgBD,CAbC,8CACC,sGACD,CAEA,qCAOC,4DACD,CAGD,kCAEC,WAAY,CADZ,UAWD,CARC,yCAMC,yDAA0D,CAH1D,iBAAkB,CAElB,kCAAmC,CADnC,8DAA+D,CAF/D,+CAAgD,CADhD,8CAMD,CAGD,wCACC,GACC,uBACD,CACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-upload-placeholder-loader {\n\tposition: absolute;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\ttop: 0;\n\tleft: 0;\n\n\t&::before {\n\t\tcontent: '';\n\t\tposition: relative;\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-upload-placeholder-loader: hsl(0, 0%, 70%);\n\t--ck-upload-placeholder-loader-size: 32px;\n\t--ck-upload-placeholder-image-aspect-ratio: 2.8;\n}\n\n.ck .ck-image-upload-placeholder {\n\t/* We need to control the full width of the SVG gray background. */\n\twidth: 100%;\n\tmargin: 0;\n\n\t&.image-inline {\n\t\twidth: calc( 2 * var(--ck-upload-placeholder-loader-size) * var(--ck-upload-placeholder-image-aspect-ratio) );\n\t}\n\n\t& img {\n\t\t/*\n\t\t * This is an arbitrary aspect for a 1x1 px GIF to display to the user. Not too tall, not too short.\n\t\t * There's nothing special about this number except that it should make the image placeholder look like\n\t\t * a real image during this short period after the upload started and before the image was read from the\n\t\t * file system (and a rich preview was loaded).\n\t\t */\n\t\taspect-ratio: var(--ck-upload-placeholder-image-aspect-ratio);\n\t}\n}\n\n.ck .ck-upload-placeholder-loader {\n\twidth: 100%;\n\theight: 100%;\n\n\t&::before {\n\t\twidth: var(--ck-upload-placeholder-loader-size);\n\t\theight: var(--ck-upload-placeholder-loader-size);\n\t\tborder-radius: 50%;\n\t\tborder-top: 3px solid var(--ck-color-upload-placeholder-loader);\n\t\tborder-right: 2px solid transparent;\n\t\tanimation: ck-upload-placeholder-loader 1s linear infinite;\n\t}\n}\n\n@keyframes ck-upload-placeholder-loader {\n\tto {\n\t\ttransform: rotate( 360deg );\n\t}\n}\n"],sourceRoot:""}]);const I=P},3689:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck.ck-editor__editable .image,.ck.ck-editor__editable .image-inline{position:relative}.ck.ck-editor__editable .image .ck-progress-bar,.ck.ck-editor__editable .image-inline .ck-progress-bar{left:0;position:absolute;top:0}.ck.ck-editor__editable .image-inline.ck-appear,.ck.ck-editor__editable .image.ck-appear{animation:fadeIn .7s}.ck.ck-editor__editable .image .ck-progress-bar,.ck.ck-editor__editable .image-inline .ck-progress-bar{background:var(--ck-color-upload-bar-background);height:2px;transition:width .1s;width:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageuploadprogress.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-image/imageuploadprogress.css"],names:[],mappings:"AAMC,qEAEC,iBACD,CAGA,uGAIC,MAAO,CAFP,iBAAkB,CAClB,KAED,CCRC,yFACC,oBACD,CAID,uGAIC,gDAAiD,CAFjD,UAAW,CAGX,oBAAuB,CAFvB,OAGD,CAGD,kBACC,GAAO,SAAY,CACnB,GAAO,SAAY,CACpB",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-editor__editable {\n\t& .image,\n\t& .image-inline {\n\t\tposition: relative;\n\t}\n\n\t/* Upload progress bar. */\n\t& .image .ck-progress-bar,\n\t& .image-inline .ck-progress-bar {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-editor__editable {\n\t& .image,\n\t& .image-inline {\n\t\t/* Showing animation. */\n\t\t&.ck-appear {\n\t\t\tanimation: fadeIn 700ms;\n\t\t}\n\t}\n\n\t/* Upload progress bar. */\n\t& .image .ck-progress-bar,\n\t& .image-inline .ck-progress-bar {\n\t\theight: 2px;\n\t\twidth: 0;\n\t\tbackground: var(--ck-color-upload-bar-background);\n\t\ttransition: width 100ms;\n\t}\n}\n\n@keyframes fadeIn {\n\tfrom { opacity: 0; }\n\tto { opacity: 1; }\n}\n"],sourceRoot:""}]);const I=P},1905:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck.ck-text-alternative-form{display:flex;flex-direction:row;flex-wrap:nowrap}.ck.ck-text-alternative-form .ck-labeled-field-view{display:inline-block}.ck.ck-text-alternative-form .ck-label{display:none}@media screen and (max-width:600px){.ck.ck-text-alternative-form{flex-wrap:wrap}.ck.ck-text-alternative-form .ck-labeled-field-view{flex-basis:100%}.ck.ck-text-alternative-form .ck-button{flex-basis:50%}}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/textalternativeform.css","webpack://./../ckeditor5-ui/theme/mixins/_rwd.css"],names:[],mappings:"AAOA,6BACC,YAAa,CACb,kBAAmB,CACnB,gBAqBD,CAnBC,oDACC,oBACD,CAEA,uCACC,YACD,CCZA,oCDCD,6BAcE,cAUF,CARE,oDACC,eACD,CAEA,wCACC,cACD,CCrBD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n\n.ck.ck-text-alternative-form {\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\n\t& .ck-labeled-field-view {\n\t\tdisplay: inline-block;\n\t}\n\n\t& .ck-label {\n\t\tdisplay: none;\n\t}\n\n\t@mixin ck-media-phone {\n\t\tflex-wrap: wrap;\n\n\t\t& .ck-labeled-field-view {\n\t\t\tflex-basis: 100%;\n\t\t}\n\n\t\t& .ck-button {\n\t\t\tflex-basis: 50%;\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@define-mixin ck-media-phone {\n\t@media screen and (max-width: 600px) {\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const I=P},9773:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck .ck-link_selected{background:var(--ck-color-link-selected-background)}.ck .ck-link_selected span.image-inline{outline:var(--ck-widget-outline-thickness) solid var(--ck-color-link-selected-background)}.ck .ck-fake-link-selection{background:var(--ck-color-link-fake-selection)}.ck .ck-fake-link-selection_collapsed{border-right:1px solid var(--ck-color-base-text);height:100%;margin-right:-1px;outline:1px solid hsla(0,0%,100%,.5)}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-link/link.css"],names:[],mappings:"AAMA,sBACC,mDAMD,CAHC,wCACC,yFACD,CAOD,4BACC,8CACD,CAGA,sCAEC,gDAAiD,CADjD,WAAY,CAEZ,iBAAkB,CAClB,oCACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/* Class added to span element surrounding currently selected link. */\n.ck .ck-link_selected {\n\tbackground: var(--ck-color-link-selected-background);\n\n\t/* Give linked inline images some outline to let the user know they are also part of the link. */\n\t& span.image-inline {\n\t\toutline: var(--ck-widget-outline-thickness) solid var(--ck-color-link-selected-background);\n\t}\n}\n\n/*\n * Classes used by the "fake visual selection" displayed in the content when an input\n * in the link UI has focus (the browser does not render the native selection in this state).\n */\n.ck .ck-fake-link-selection {\n\tbackground: var(--ck-color-link-fake-selection);\n}\n\n/* A collapsed fake visual selection. */\n.ck .ck-fake-link-selection_collapsed {\n\theight: 100%;\n\tborder-right: 1px solid var(--ck-color-base-text);\n\tmargin-right: -1px;\n\toutline: solid 1px hsla(0, 0%, 100%, .5);\n}\n'],sourceRoot:""}]);const I=P},2347:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck.ck-link-actions{display:flex;flex-direction:row;flex-wrap:nowrap}.ck.ck-link-actions .ck-link-actions__preview{display:inline-block}.ck.ck-link-actions .ck-link-actions__preview .ck-button__label{overflow:hidden}@media screen and (max-width:600px){.ck.ck-link-actions{flex-wrap:wrap}.ck.ck-link-actions .ck-link-actions__preview{flex-basis:100%}.ck.ck-link-actions .ck-button:not(.ck-link-actions__preview){flex-basis:50%}}.ck.ck-link-actions .ck-button.ck-link-actions__preview{padding-left:0;padding-right:0}.ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label{color:var(--ck-color-link-default);cursor:pointer;max-width:var(--ck-input-width);min-width:3em;padding:0 var(--ck-spacing-medium);text-align:center;text-overflow:ellipsis}.ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label:hover{text-decoration:underline}.ck.ck-link-actions .ck-button.ck-link-actions__preview,.ck.ck-link-actions .ck-button.ck-link-actions__preview:active,.ck.ck-link-actions .ck-button.ck-link-actions__preview:focus,.ck.ck-link-actions .ck-button.ck-link-actions__preview:hover{background:none}.ck.ck-link-actions .ck-button.ck-link-actions__preview:active{box-shadow:none}.ck.ck-link-actions .ck-button.ck-link-actions__preview:focus .ck-button__label{text-decoration:underline}[dir=ltr] .ck.ck-link-actions .ck-button:not(:first-child),[dir=rtl] .ck.ck-link-actions .ck-button:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-link-actions .ck-button.ck-link-actions__preview{margin:var(--ck-spacing-standard) var(--ck-spacing-standard) 0}.ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label{max-width:100%;min-width:0}[dir=ltr] .ck.ck-link-actions .ck-button:not(.ck-link-actions__preview),[dir=rtl] .ck.ck-link-actions .ck-button:not(.ck-link-actions__preview){margin-left:0}}","",{version:3,sources:["webpack://./../ckeditor5-link/theme/linkactions.css","webpack://./../ckeditor5-ui/theme/mixins/_rwd.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-link/linkactions.css"],names:[],mappings:"AAOA,oBACC,YAAa,CACb,kBAAmB,CACnB,gBAqBD,CAnBC,8CACC,oBAKD,CAHC,gEACC,eACD,CCXD,oCDCD,oBAcE,cAUF,CARE,8CACC,eACD,CAEA,8DACC,cACD,CCrBD,CCIA,wDACC,cAAe,CACf,eAmCD,CAjCC,0EAEC,kCAAmC,CAEnC,cAAe,CAIf,+BAAgC,CAChC,aAAc,CARd,kCAAmC,CASnC,iBAAkB,CAPlB,sBAYD,CAHC,gFACC,yBACD,CAGD,mPAIC,eACD,CAEA,+DACC,eACD,CAGC,gFACC,yBACD,CAWD,qHACC,sCACD,CDtDD,oCC0DC,wDACC,8DAMD,CAJC,0EAEC,cAAe,CADf,WAED,CAGD,gJAME,aAEF,CDzED",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n\n.ck.ck-link-actions {\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\n\t& .ck-link-actions__preview {\n\t\tdisplay: inline-block;\n\n\t\t& .ck-button__label {\n\t\t\toverflow: hidden;\n\t\t}\n\t}\n\n\t@mixin ck-media-phone {\n\t\tflex-wrap: wrap;\n\n\t\t& .ck-link-actions__preview {\n\t\t\tflex-basis: 100%;\n\t\t}\n\n\t\t& .ck-button:not(.ck-link-actions__preview) {\n\t\t\tflex-basis: 50%;\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@define-mixin ck-media-phone {\n\t@media screen and (max-width: 600px) {\n\t\t@mixin-content;\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_unselectable.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n@import "../mixins/_focus.css";\n@import "../mixins/_shadow.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n\n.ck.ck-link-actions {\n\t& .ck-button.ck-link-actions__preview {\n\t\tpadding-left: 0;\n\t\tpadding-right: 0;\n\n\t\t& .ck-button__label {\n\t\t\tpadding: 0 var(--ck-spacing-medium);\n\t\t\tcolor: var(--ck-color-link-default);\n\t\t\ttext-overflow: ellipsis;\n\t\t\tcursor: pointer;\n\n\t\t\t/* Match the box model of the link editor form\'s input so the balloon\n\t\t\tdoes not change width when moving between actions and the form. */\n\t\t\tmax-width: var(--ck-input-width);\n\t\t\tmin-width: 3em;\n\t\t\ttext-align: center;\n\n\t\t\t&:hover {\n\t\t\t\ttext-decoration: underline;\n\t\t\t}\n\t\t}\n\n\t\t&,\n\t\t&:hover,\n\t\t&:focus,\n\t\t&:active {\n\t\t\tbackground: none;\n\t\t}\n\n\t\t&:active {\n\t\t\tbox-shadow: none;\n\t\t}\n\n\t\t&:focus {\n\t\t\t& .ck-button__label {\n\t\t\t\ttext-decoration: underline;\n\t\t\t}\n\t\t}\n\t}\n\n\t@mixin ck-dir ltr {\n\t\t& .ck-button:not(:first-child) {\n\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t}\n\t}\n\n\t@mixin ck-dir rtl {\n\t\t& .ck-button:not(:last-child) {\n\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t}\n\t}\n\n\t@mixin ck-media-phone {\n\t\t& .ck-button.ck-link-actions__preview {\n\t\t\tmargin: var(--ck-spacing-standard) var(--ck-spacing-standard) 0;\n\n\t\t\t& .ck-button__label {\n\t\t\t\tmin-width: 0;\n\t\t\t\tmax-width: 100%;\n\t\t\t}\n\t\t}\n\n\t\t& .ck-button:not(.ck-link-actions__preview) {\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tmargin-left: 0;\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tmargin-left: 0;\n\t\t\t}\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const I=P},7754:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck.ck-link-form{display:flex}.ck.ck-link-form .ck-label{display:none}@media screen and (max-width:600px){.ck.ck-link-form{flex-wrap:wrap}.ck.ck-link-form .ck-labeled-field-view{flex-basis:100%}.ck.ck-link-form .ck-button{flex-basis:50%}}.ck.ck-link-form_layout-vertical{display:block}.ck.ck-link-form_layout-vertical .ck-button.ck-button-cancel,.ck.ck-link-form_layout-vertical .ck-button.ck-button-save{margin-top:var(--ck-spacing-medium)}.ck.ck-link-form_layout-vertical{min-width:var(--ck-input-width);padding:0}.ck.ck-link-form_layout-vertical .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) var(--ck-spacing-small)}.ck.ck-link-form_layout-vertical .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-link-form_layout-vertical>.ck-button{border-radius:0;margin:0;padding:var(--ck-spacing-standard);width:50%}.ck.ck-link-form_layout-vertical>.ck-button:not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-link-form_layout-vertical>.ck-button,[dir=rtl] .ck.ck-link-form_layout-vertical>.ck-button{margin-left:0}[dir=rtl] .ck.ck-link-form_layout-vertical>.ck-button:last-of-type{border-right:1px solid var(--ck-color-base-border)}.ck.ck-link-form_layout-vertical .ck.ck-list{margin:var(--ck-spacing-standard) var(--ck-spacing-large)}.ck.ck-link-form_layout-vertical .ck.ck-list .ck-button.ck-switchbutton{padding:0;width:100%}.ck.ck-link-form_layout-vertical .ck.ck-list .ck-button.ck-switchbutton:hover{background:none}","",{version:3,sources:["webpack://./../ckeditor5-link/theme/linkform.css","webpack://./../ckeditor5-ui/theme/mixins/_rwd.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-link/linkform.css"],names:[],mappings:"AAOA,iBACC,YAiBD,CAfC,2BACC,YACD,CCNA,oCDCD,iBAQE,cAUF,CARE,wCACC,eACD,CAEA,4BACC,cACD,CCfD,CDuBD,iCACC,aAYD,CALE,wHAEC,mCACD,CE/BF,iCAEC,+BAAgC,CADhC,SAgDD,CA7CC,wDACC,8EAMD,CAJC,uEACC,WAAY,CACZ,UACD,CAGD,4CAIC,eAAgB,CAFhB,QAAS,CADT,kCAAmC,CAEnC,SAkBD,CAfC,wDACC,gDACD,CARD,4GAeE,aAMF,CAJE,mEACC,kDACD,CAKF,6CACC,yDAUD,CARC,wEACC,SAAU,CACV,UAKD,CAHC,8EACC,eACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n\n.ck.ck-link-form {\n\tdisplay: flex;\n\n\t& .ck-label {\n\t\tdisplay: none;\n\t}\n\n\t@mixin ck-media-phone {\n\t\tflex-wrap: wrap;\n\n\t\t& .ck-labeled-field-view {\n\t\t\tflex-basis: 100%;\n\t\t}\n\n\t\t& .ck-button {\n\t\t\tflex-basis: 50%;\n\t\t}\n\t}\n}\n\n/*\n * Style link form differently when manual decorators are available.\n * See: https://github.com/ckeditor/ckeditor5-link/issues/186.\n */\n.ck.ck-link-form_layout-vertical {\n\tdisplay: block;\n\n\t/*\n\t * Whether the form is in the responsive mode or not, if there are decorator buttons\n\t * keep the top margin of action buttons medium.\n\t */\n\t& .ck-button {\n\t\t&.ck-button-save,\n\t\t&.ck-button-cancel {\n\t\t\tmargin-top: var(--ck-spacing-medium);\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@define-mixin ck-media-phone {\n\t@media screen and (max-width: 600px) {\n\t\t@mixin-content;\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n/*\n * Style link form differently when manual decorators are available.\n * See: https://github.com/ckeditor/ckeditor5-link/issues/186.\n */\n.ck.ck-link-form_layout-vertical {\n\tpadding: 0;\n\tmin-width: var(--ck-input-width);\n\n\t& .ck-labeled-field-view {\n\t\tmargin: var(--ck-spacing-large) var(--ck-spacing-large) var(--ck-spacing-small);\n\n\t\t& .ck-input-text {\n\t\t\tmin-width: 0;\n\t\t\twidth: 100%;\n\t\t}\n\t}\n\n\t& > .ck-button {\n\t\tpadding: var(--ck-spacing-standard);\n\t\tmargin: 0;\n\t\twidth: 50%;\n\t\tborder-radius: 0;\n\n\t\t&:not(:focus) {\n\t\t\tborder-top: 1px solid var(--ck-color-base-border);\n\t\t}\n\n\t\t@mixin ck-dir ltr {\n\t\t\tmargin-left: 0;\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\tmargin-left: 0;\n\n\t\t\t&:last-of-type {\n\t\t\t\tborder-right: 1px solid var(--ck-color-base-border);\n\t\t\t}\n\t\t}\n\t}\n\n\t/* Using additional `.ck` class for stronger CSS specificity than `.ck.ck-link-form > :not(:first-child)`. */\n\t& .ck.ck-list {\n\t\tmargin: var(--ck-spacing-standard) var(--ck-spacing-large);\n\n\t\t& .ck-button.ck-switchbutton {\n\t\t\tpadding: 0;\n\t\t\twidth: 100%;\n\n\t\t\t&:hover {\n\t\t\t\tbackground: none;\n\t\t\t}\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const I=P},111:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,'.ck.ck-editor__editable a span.image-inline:after,.ck.ck-editor__editable figure.image>a:after{display:block;position:absolute}:root{--ck-link-image-indicator-icon-size:20;--ck-link-image-indicator-icon-is-visible:clamp(0px,100% - 50px,1px)}.ck.ck-editor__editable a span.image-inline:after,.ck.ck-editor__editable figure.image>a:after{background-color:rgba(0,0,0,.4);background-image:url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbD0iI2ZmZiIgZD0ibTExLjA3NyAxNSAuOTkxLTEuNDE2YS43NS43NSAwIDEgMSAxLjIyOS44NmwtMS4xNDggMS42NGEuNzQ4Ljc0OCAwIDAgMS0uMjE3LjIwNiA1LjI1MSA1LjI1MSAwIDAgMS04LjUwMy01Ljk1NS43NDEuNzQxIDAgMCAxIC4xMi0uMjc0bDEuMTQ3LTEuNjM5YS43NS43NSAwIDEgMSAxLjIyOC44Nkw0LjkzMyAxMC43bC4wMDYuMDAzYTMuNzUgMy43NSAwIDAgMCA2LjEzMiA0LjI5NGwuMDA2LjAwNHptNS40OTQtNS4zMzVhLjc0OC43NDggMCAwIDEtLjEyLjI3NGwtMS4xNDcgMS42MzlhLjc1Ljc1IDAgMSAxLTEuMjI4LS44NmwuODYtMS4yM2EzLjc1IDMuNzUgMCAwIDAtNi4xNDQtNC4zMDFsLS44NiAxLjIyOWEuNzUuNzUgMCAwIDEtMS4yMjktLjg2bDEuMTQ4LTEuNjRhLjc0OC43NDggMCAwIDEgLjIxNy0uMjA2IDUuMjUxIDUuMjUxIDAgMCAxIDguNTAzIDUuOTU1em0tNC41NjMtMi41MzJhLjc1Ljc1IDAgMCAxIC4xODQgMS4wNDVsLTMuMTU1IDQuNTA1YS43NS43NSAwIDEgMS0xLjIyOS0uODZsMy4xNTUtNC41MDZhLjc1Ljc1IDAgMCAxIDEuMDQ1LS4xODR6Ii8+PC9zdmc+");background-position:50%;background-repeat:no-repeat;background-size:14px;border-radius:100%;content:"";height:calc(var(--ck-link-image-indicator-icon-is-visible)*var(--ck-link-image-indicator-icon-size));overflow:hidden;right:min(var(--ck-spacing-medium),6%);top:min(var(--ck-spacing-medium),6%);width:calc(var(--ck-link-image-indicator-icon-is-visible)*var(--ck-link-image-indicator-icon-size))}',"",{version:3,sources:["webpack://./../ckeditor5-link/theme/linkimage.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-link/linkimage.css"],names:[],mappings:"AASE,+FACC,aAAc,CACd,iBACD,CCPF,MAEC,sCAAuC,CACvC,oEACD,CAME,+FAUC,+BAAqC,CACrC,83BAA+3B,CAG/3B,uBAA2B,CAD3B,2BAA4B,CAD5B,oBAAqB,CAGrB,kBAAmB,CAdnB,UAAW,CAsBX,oGAAuG,CAFvG,eAAgB,CAbhB,sCAAwC,CADxC,oCAAsC,CAetC,mGAED",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-editor__editable {\n\t/* Linked image indicator */\n\t& figure.image > a,\n\t& a span.image-inline {\n\t\t&::after {\n\t\t\tdisplay: block;\n\t\t\tposition: absolute;\n\t\t}\n\t}\n}\n\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/* Match the icon size with the upload indicator brought by the image upload feature. */\n\t--ck-link-image-indicator-icon-size: 20;\n\t--ck-link-image-indicator-icon-is-visible: clamp(0px, 100% - 50px, 1px);\n}\n\n.ck.ck-editor__editable {\n\t/* Linked image indicator */\n\t& figure.image > a,\n\t& a span.image-inline {\n\t\t&::after {\n\t\t\tcontent: "";\n\n\t\t\t/*\n\t\t\t * Smaller images should have the icon closer to the border.\n\t\t\t * Match the icon position with the upload indicator brought by the image upload feature.\n\t\t\t */\n\t\t\ttop: min(var(--ck-spacing-medium), 6%);\n\t\t\tright: min(var(--ck-spacing-medium), 6%);\n\n\t\t\tbackground-color: hsla(0, 0%, 0%, .4);\n\t\t\tbackground-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbD0iI2ZmZiIgZD0ibTExLjA3NyAxNSAuOTkxLTEuNDE2YS43NS43NSAwIDEgMSAxLjIyOS44NmwtMS4xNDggMS42NGEuNzQ4Ljc0OCAwIDAgMS0uMjE3LjIwNiA1LjI1MSA1LjI1MSAwIDAgMS04LjUwMy01Ljk1NS43NDEuNzQxIDAgMCAxIC4xMi0uMjc0bDEuMTQ3LTEuNjM5YS43NS43NSAwIDEgMSAxLjIyOC44Nkw0LjkzMyAxMC43bC4wMDYuMDAzYTMuNzUgMy43NSAwIDAgMCA2LjEzMiA0LjI5NGwuMDA2LjAwNHptNS40OTQtNS4zMzVhLjc0OC43NDggMCAwIDEtLjEyLjI3NGwtMS4xNDcgMS42MzlhLjc1Ljc1IDAgMSAxLTEuMjI4LS44NmwuODYtMS4yM2EzLjc1IDMuNzUgMCAwIDAtNi4xNDQtNC4zMDFsLS44NiAxLjIyOWEuNzUuNzUgMCAwIDEtMS4yMjktLjg2bDEuMTQ4LTEuNjRhLjc0OC43NDggMCAwIDEgLjIxNy0uMjA2IDUuMjUxIDUuMjUxIDAgMCAxIDguNTAzIDUuOTU1em0tNC41NjMtMi41MzJhLjc1Ljc1IDAgMCAxIC4xODQgMS4wNDVsLTMuMTU1IDQuNTA1YS43NS43NSAwIDEgMS0xLjIyOS0uODZsMy4xNTUtNC41MDZhLjc1Ljc1IDAgMCAxIDEuMDQ1LS4xODR6Ii8+PC9zdmc+");\n\t\t\tbackground-size: 14px;\n\t\t\tbackground-repeat: no-repeat;\n\t\t\tbackground-position: center;\n\t\t\tborder-radius: 100%;\n\n\t\t\t/*\n\t\t\t* Use CSS math to simulate container queries.\n\t\t\t* https://css-tricks.com/the-raven-technique-one-step-closer-to-container-queries/#what-about-showing-and-hiding-things\n\t\t\t*/\n\t\t\toverflow: hidden;\n\t\t\twidth: calc(var(--ck-link-image-indicator-icon-is-visible) * var(--ck-link-image-indicator-icon-size));\n\t\t\theight: calc(var(--ck-link-image-indicator-icon-is-visible) * var(--ck-link-image-indicator-icon-size));\n\t\t}\n\t}\n}\n\n'],sourceRoot:""}]);const I=P},4721:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck.ck-collapsible.ck-collapsible_collapsed>.ck-collapsible__children{display:none}:root{--ck-collapsible-arrow-size:calc(var(--ck-icon-size)*0.5)}.ck.ck-collapsible>.ck.ck-button{border-radius:0;color:inherit;font-weight:700;padding:var(--ck-spacing-medium) var(--ck-spacing-large);width:100%}.ck.ck-collapsible>.ck.ck-button:focus{background:transparent}.ck.ck-collapsible>.ck.ck-button:active,.ck.ck-collapsible>.ck.ck-button:hover:not(:focus),.ck.ck-collapsible>.ck.ck-button:not(:focus){background:transparent;border-color:transparent;box-shadow:none}.ck.ck-collapsible>.ck.ck-button>.ck-icon{margin-right:var(--ck-spacing-medium);width:var(--ck-collapsible-arrow-size)}.ck.ck-collapsible>.ck-collapsible__children{padding:0 var(--ck-spacing-large) var(--ck-spacing-large)}.ck.ck-collapsible.ck-collapsible_collapsed>.ck.ck-button .ck-icon{transform:rotate(-90deg)}","",{version:3,sources:["webpack://./../ckeditor5-list/theme/collapsible.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-list/collapsible.css"],names:[],mappings:"AAMC,sEACC,YACD,CCHD,MACC,yDACD,CAGC,iCAIC,eAAgB,CAChB,aAAc,CAHd,eAAiB,CACjB,wDAAyD,CAFzD,UAoBD,CAdC,uCACC,sBACD,CAEA,wIACC,sBAAuB,CACvB,wBAAyB,CACzB,eACD,CAEA,0CACC,qCAAsC,CACtC,sCACD,CAGD,6CACC,yDACD,CAGC,mEACC,wBACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-collapsible.ck-collapsible_collapsed {\n\t& > .ck-collapsible__children {\n\t\tdisplay: none;\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-collapsible-arrow-size: calc(0.5 * var(--ck-icon-size));\n}\n\n.ck.ck-collapsible {\n\t& > .ck.ck-button {\n\t\twidth: 100%;\n\t\tfont-weight: bold;\n\t\tpadding: var(--ck-spacing-medium) var(--ck-spacing-large);\n\t\tborder-radius: 0;\n\t\tcolor: inherit;\n\n\t\t&:focus {\n\t\t\tbackground: transparent;\n\t\t}\n\n\t\t&:active, &:not(:focus), &:hover:not(:focus) {\n\t\t\tbackground: transparent;\n\t\t\tborder-color: transparent;\n\t\t\tbox-shadow: none;\n\t\t}\n\n\t\t& > .ck-icon {\n\t\t\tmargin-right: var(--ck-spacing-medium);\n\t\t\twidth: var(--ck-collapsible-arrow-size);\n\t\t}\n\t}\n\n\t& > .ck-collapsible__children {\n\t\tpadding: 0 var(--ck-spacing-large) var(--ck-spacing-large);\n\t}\n\n\t&.ck-collapsible_collapsed {\n\t\t& > .ck.ck-button .ck-icon {\n\t\t\ttransform: rotate(-90deg);\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const I=P},5730:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck-editor__editable .ck-list-bogus-paragraph{display:block}","",{version:3,sources:["webpack://./../ckeditor5-list/theme/documentlist.css"],names:[],mappings:"AAKA,8CACC,aACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-editor__editable .ck-list-bogus-paragraph {\n\tdisplay: block;\n}\n"],sourceRoot:""}]);const I=P},4564:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck-content ol{list-style-type:decimal}.ck-content ol ol{list-style-type:lower-latin}.ck-content ol ol ol{list-style-type:lower-roman}.ck-content ol ol ol ol{list-style-type:upper-latin}.ck-content ol ol ol ol ol{list-style-type:upper-roman}.ck-content ul{list-style-type:disc}.ck-content ul ul{list-style-type:circle}.ck-content ul ul ul,.ck-content ul ul ul ul{list-style-type:square}","",{version:3,sources:["webpack://./../ckeditor5-list/theme/list.css"],names:[],mappings:"AAKA,eACC,uBAiBD,CAfC,kBACC,2BAaD,CAXC,qBACC,2BASD,CAPC,wBACC,2BAKD,CAHC,2BACC,2BACD,CAMJ,eACC,oBAaD,CAXC,kBACC,sBASD,CAJE,6CACC,sBACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-content ol {\n\tlist-style-type: decimal;\n\n\t& ol {\n\t\tlist-style-type: lower-latin;\n\n\t\t& ol {\n\t\t\tlist-style-type: lower-roman;\n\n\t\t\t& ol {\n\t\t\t\tlist-style-type: upper-latin;\n\n\t\t\t\t& ol {\n\t\t\t\t\tlist-style-type: upper-roman;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n\n.ck-content ul {\n\tlist-style-type: disc;\n\n\t& ul {\n\t\tlist-style-type: circle;\n\n\t\t& ul {\n\t\t\tlist-style-type: square;\n\n\t\t\t& ul {\n\t\t\t\tlist-style-type: square;\n\t\t\t}\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const I=P},6082:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck.ck-list-properties.ck-list-properties_without-styles{padding:var(--ck-spacing-large)}.ck.ck-list-properties.ck-list-properties_without-styles>*{min-width:14em}.ck.ck-list-properties.ck-list-properties_without-styles>*+*{margin-top:var(--ck-spacing-standard)}.ck.ck-list-properties.ck-list-properties_with-numbered-properties>.ck-list-styles-list{grid-template-columns:repeat(4,auto)}.ck.ck-list-properties.ck-list-properties_with-numbered-properties>.ck-collapsible{border-top:1px solid var(--ck-color-base-border)}.ck.ck-list-properties.ck-list-properties_with-numbered-properties>.ck-collapsible>.ck-collapsible__children>*{width:100%}.ck.ck-list-properties.ck-list-properties_with-numbered-properties>.ck-collapsible>.ck-collapsible__children>*+*{margin-top:var(--ck-spacing-standard)}.ck.ck-list-properties .ck.ck-numbered-list-properties__start-index .ck-input{min-width:auto;width:100%}.ck.ck-list-properties .ck.ck-numbered-list-properties__reversed-order{background:transparent;margin-bottom:calc(var(--ck-spacing-tiny)*-1);padding-left:0;padding-right:0}.ck.ck-list-properties .ck.ck-numbered-list-properties__reversed-order:active,.ck.ck-list-properties .ck.ck-numbered-list-properties__reversed-order:hover{background:none;border-color:transparent;box-shadow:none}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-list/listproperties.css"],names:[],mappings:"AAOC,yDACC,+BASD,CAPC,2DACC,cAKD,CAHC,6DACC,qCACD,CASD,wFACC,oCACD,CAGA,mFACC,gDAWD,CARE,+GACC,UAKD,CAHC,iHACC,qCACD,CAMJ,8EACC,cAAe,CACf,UACD,CAEA,uEACC,sBAAuB,CAGvB,6CAAgD,CAFhD,cAAe,CACf,eAQD,CALC,2JAGC,eAAgB,CADhB,wBAAyB,CADzB,eAGD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-list-properties {\n\t/* When there are no list styles and there is no collapsible. */\n\t&.ck-list-properties_without-styles {\n\t\tpadding: var(--ck-spacing-large);\n\n\t\t& > * {\n\t\t\tmin-width: 14em;\n\n\t\t\t& + * {\n\t\t\t\tmargin-top: var(--ck-spacing-standard);\n\t\t\t}\n\t\t}\n\t}\n\n\t/*\n\t * When the numbered list property fields (start at, reversed) should be displayed,\n\t * more horizontal space is needed. Reconfigure the style grid to create that space.\n\t */\n\t&.ck-list-properties_with-numbered-properties {\n\t\t& > .ck-list-styles-list {\n\t\t\tgrid-template-columns: repeat( 4, auto );\n\t\t}\n\n\t\t/* When list styles are rendered and property fields are in a collapsible. */\n\t\t& > .ck-collapsible {\n\t\t\tborder-top: 1px solid var(--ck-color-base-border);\n\n\t\t\t& > .ck-collapsible__children {\n\t\t\t\t& > * {\n\t\t\t\t\twidth: 100%;\n\n\t\t\t\t\t& + * {\n\t\t\t\t\t\tmargin-top: var(--ck-spacing-standard);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t& .ck.ck-numbered-list-properties__start-index .ck-input {\n\t\tmin-width: auto;\n\t\twidth: 100%;\n\t}\n\n\t& .ck.ck-numbered-list-properties__reversed-order {\n\t\tbackground: transparent;\n\t\tpadding-left: 0;\n\t\tpadding-right: 0;\n\t\tmargin-bottom: calc(-1 * var(--ck-spacing-tiny));\n\n\t\t&:active, &:hover {\n\t\t\tbox-shadow: none;\n\t\t\tborder-color: transparent;\n\t\t\tbackground: none;\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const I=P},2417:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck.ck-list-styles-list{display:grid}:root{--ck-list-style-button-size:44px}.ck.ck-list-styles-list{column-gap:var(--ck-spacing-medium);grid-template-columns:repeat(3,auto);padding:var(--ck-spacing-large);row-gap:var(--ck-spacing-medium)}.ck.ck-list-styles-list .ck-button{box-sizing:content-box;margin:0;padding:0}.ck.ck-list-styles-list .ck-button,.ck.ck-list-styles-list .ck-button .ck-icon{height:var(--ck-list-style-button-size);width:var(--ck-list-style-button-size)}","",{version:3,sources:["webpack://./../ckeditor5-list/theme/liststyles.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-list/liststyles.css"],names:[],mappings:"AAKA,wBACC,YACD,CCFA,MACC,gCACD,CAEA,wBAGC,mCAAoC,CAFpC,oCAAwC,CAGxC,+BAAgC,CAFhC,gCA4BD,CAxBC,mCAiBC,sBAAuB,CAPvB,QAAS,CANT,SAmBD,CAJC,+EAhBA,uCAAwC,CADxC,sCAoBA",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-list-styles-list {\n\tdisplay: grid;\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-list-style-button-size: 44px;\n}\n\n.ck.ck-list-styles-list {\n\tgrid-template-columns: repeat( 3, auto );\n\trow-gap: var(--ck-spacing-medium);\n\tcolumn-gap: var(--ck-spacing-medium);\n\tpadding: var(--ck-spacing-large);\n\n\t& .ck-button {\n\t\t/* Make the button look like a thumbnail (the icon "takes it all"). */\n\t\twidth: var(--ck-list-style-button-size);\n\t\theight: var(--ck-list-style-button-size);\n\t\tpadding: 0;\n\n\t\t/*\n\t\t * Buttons are aligned by the grid so disable default button margins to not collide with the\n\t\t * gaps in the grid.\n\t\t */\n\t\tmargin: 0;\n\n\t\t/*\n\t\t * Make sure the button border (which is displayed on focus, BTW) does not steal pixels\n\t\t * from the button dimensions and, as a result, decrease the size of the icon\n\t\t * (which becomes blurry as it scales down).\n\t\t */\n\t\tbox-sizing: content-box;\n\n\t\t& .ck-icon {\n\t\t\twidth: var(--ck-list-style-button-size);\n\t\t\theight: var(--ck-list-style-button-size);\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const I=P},1199:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,':root{--ck-todo-list-checkmark-size:16px}.ck-content .todo-list{list-style:none}.ck-content .todo-list li{margin-bottom:5px;position:relative}.ck-content .todo-list li .todo-list{margin-top:5px}.ck-content .todo-list .todo-list__label>input{-webkit-appearance:none;border:0;display:inline-block;height:var(--ck-todo-list-checkmark-size);left:-25px;margin-left:0;margin-right:-15px;position:relative;right:0;vertical-align:middle;width:var(--ck-todo-list-checkmark-size)}.ck-content[dir=rtl] .todo-list .todo-list__label>input{left:0;margin-left:-15px;margin-right:0;right:-25px}.ck-content .todo-list .todo-list__label>input:before{border:1px solid #333;border-radius:2px;box-sizing:border-box;content:"";display:block;height:100%;position:absolute;transition:box-shadow .25s ease-in-out;width:100%}.ck-content .todo-list .todo-list__label>input:after{border-color:transparent;border-style:solid;border-width:0 calc(var(--ck-todo-list-checkmark-size)/8) calc(var(--ck-todo-list-checkmark-size)/8) 0;box-sizing:content-box;content:"";display:block;height:calc(var(--ck-todo-list-checkmark-size)/2.6);left:calc(var(--ck-todo-list-checkmark-size)/3);pointer-events:none;position:absolute;top:calc(var(--ck-todo-list-checkmark-size)/5.3);transform:rotate(45deg);width:calc(var(--ck-todo-list-checkmark-size)/5.3)}.ck-content .todo-list .todo-list__label>input[checked]:before{background:#26ab33;border-color:#26ab33}.ck-content .todo-list .todo-list__label>input[checked]:after{border-color:#fff}.ck-content .todo-list .todo-list__label .todo-list__label__description{vertical-align:middle}.ck-content .todo-list .todo-list__label.todo-list__label_without-description input[type=checkbox]{position:absolute}.ck-editor__editable.ck-content .todo-list .todo-list__label>input,.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input{cursor:pointer}.ck-editor__editable.ck-content .todo-list .todo-list__label>input:hover:before,.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input:hover:before{box-shadow:0 0 0 5px rgba(0,0,0,.1)}.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input{-webkit-appearance:none;border:0;display:inline-block;height:var(--ck-todo-list-checkmark-size);left:-25px;margin-left:0;margin-right:-15px;position:relative;right:0;vertical-align:middle;width:var(--ck-todo-list-checkmark-size)}.ck-editor__editable.ck-content[dir=rtl] .todo-list .todo-list__label>span[contenteditable=false]>input{left:0;margin-left:-15px;margin-right:0;right:-25px}.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input:before{border:1px solid #333;border-radius:2px;box-sizing:border-box;content:"";display:block;height:100%;position:absolute;transition:box-shadow .25s ease-in-out;width:100%}.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input:after{border-color:transparent;border-style:solid;border-width:0 calc(var(--ck-todo-list-checkmark-size)/8) calc(var(--ck-todo-list-checkmark-size)/8) 0;box-sizing:content-box;content:"";display:block;height:calc(var(--ck-todo-list-checkmark-size)/2.6);left:calc(var(--ck-todo-list-checkmark-size)/3);pointer-events:none;position:absolute;top:calc(var(--ck-todo-list-checkmark-size)/5.3);transform:rotate(45deg);width:calc(var(--ck-todo-list-checkmark-size)/5.3)}.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input[checked]:before{background:#26ab33;border-color:#26ab33}.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input[checked]:after{border-color:#fff}.ck-editor__editable.ck-content .todo-list .todo-list__label.todo-list__label_without-description input[type=checkbox]{position:absolute}',"",{version:3,sources:["webpack://./../ckeditor5-list/theme/todolist.css"],names:[],mappings:"AAKA,MACC,kCACD,CAwEA,uBACC,eAwBD,CAtBC,0BAEC,iBAAkB,CADlB,iBAMD,CAHC,qCACC,cACD,CAIA,+CAlFD,uBAAwB,CAQxB,QAAS,CAPT,oBAAqB,CAGrB,yCAA0C,CAO1C,UAAW,CAGX,aAAc,CAFd,kBAAmB,CAVnB,iBAAkB,CAWlB,OAAQ,CARR,qBAAsB,CAFtB,wCAiFC,CAFA,wDAhEA,MAAO,CAGP,iBAAkB,CAFlB,cAAe,CACf,WAgEA,CA5DD,sDAOC,qBAAiC,CACjC,iBAAkB,CALlB,qBAAsB,CACtB,UAAW,CAHX,aAAc,CAKd,WAAY,CAJZ,iBAAkB,CAOlB,sCAAwC,CAJxC,UAKD,CAEA,qDAaC,wBAAyB,CADzB,kBAAmB,CAEnB,sGAA+G,CAX/G,sBAAuB,CAEvB,UAAW,CAJX,aAAc,CAUd,mDAAwD,CAHxD,+CAAoD,CAJpD,mBAAoB,CAFpB,iBAAkB,CAOlB,gDAAqD,CAMrD,uBAAwB,CALxB,kDAMD,CAGC,+DACC,kBAA8B,CAC9B,oBACD,CAEA,8DACC,iBACD,CAwBA,wEACC,qBACD,CAEA,mGACC,iBACD,CAYD,kKAEC,cAKD,CAHC,4LACC,mCACD,CAMD,+FApHA,uBAAwB,CAQxB,QAAS,CAPT,oBAAqB,CAGrB,yCAA0C,CAO1C,UAAW,CAGX,aAAc,CAFd,kBAAmB,CAVnB,iBAAkB,CAWlB,OAAQ,CARR,qBAAsB,CAFtB,wCAmHA,CAFA,wGAlGC,MAAO,CAGP,iBAAkB,CAFlB,cAAe,CACf,WAkGD,CA9FA,sGAOC,qBAAiC,CACjC,iBAAkB,CALlB,qBAAsB,CACtB,UAAW,CAHX,aAAc,CAKd,WAAY,CAJZ,iBAAkB,CAOlB,sCAAwC,CAJxC,UAKD,CAEA,qGAaC,wBAAyB,CADzB,kBAAmB,CAEnB,sGAA+G,CAX/G,sBAAuB,CAEvB,UAAW,CAJX,aAAc,CAUd,mDAAwD,CAHxD,+CAAoD,CAJpD,mBAAoB,CAFpB,iBAAkB,CAOlB,gDAAqD,CAMrD,uBAAwB,CALxB,kDAMD,CAGC,+GACC,kBAA8B,CAC9B,oBACD,CAEA,8GACC,iBACD,CA2DA,uHACC,iBACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-todo-list-checkmark-size: 16px;\n}\n\n@define-mixin todo-list-checkbox {\n\t-webkit-appearance: none;\n\tdisplay: inline-block;\n\tposition: relative;\n\twidth: var(--ck-todo-list-checkmark-size);\n\theight: var(--ck-todo-list-checkmark-size);\n\tvertical-align: middle;\n\n\t/* Needed on iOS */\n\tborder: 0;\n\n\t/* LTR styles */\n\tleft: -25px;\n\tmargin-right: -15px;\n\tright: 0;\n\tmargin-left: 0;\n\n\t/* RTL styles */\n\t@nest [dir=rtl]& {\n\t\tleft: 0;\n\t\tmargin-right: 0;\n\t\tright: -25px;\n\t\tmargin-left: -15px;\n\t}\n\n\t&::before {\n\t\tdisplay: block;\n\t\tposition: absolute;\n\t\tbox-sizing: border-box;\n\t\tcontent: '';\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tborder: 1px solid hsl(0, 0%, 20%);\n\t\tborder-radius: 2px;\n\t\ttransition: 250ms ease-in-out box-shadow;\n\t}\n\n\t&::after {\n\t\tdisplay: block;\n\t\tposition: absolute;\n\t\tbox-sizing: content-box;\n\t\tpointer-events: none;\n\t\tcontent: '';\n\n\t\t/* Calculate tick position, size and border-width proportional to the checkmark size. */\n\t\tleft: calc( var(--ck-todo-list-checkmark-size) / 3 );\n\t\ttop: calc( var(--ck-todo-list-checkmark-size) / 5.3 );\n\t\twidth: calc( var(--ck-todo-list-checkmark-size) / 5.3 );\n\t\theight: calc( var(--ck-todo-list-checkmark-size) / 2.6 );\n\t\tborder-style: solid;\n\t\tborder-color: transparent;\n\t\tborder-width: 0 calc( var(--ck-todo-list-checkmark-size) / 8 ) calc( var(--ck-todo-list-checkmark-size) / 8 ) 0;\n\t\ttransform: rotate(45deg);\n\t}\n\n\t&[checked] {\n\t\t&::before {\n\t\t\tbackground: hsl(126, 64%, 41%);\n\t\t\tborder-color: hsl(126, 64%, 41%);\n\t\t}\n\n\t\t&::after {\n\t\t\tborder-color: hsl(0, 0%, 100%);\n\t\t}\n\t}\n}\n\n/*\n * To-do list content styles.\n */\n.ck-content .todo-list {\n\tlist-style: none;\n\n\t& li {\n\t\tposition: relative;\n\t\tmargin-bottom: 5px;\n\n\t\t& .todo-list {\n\t\t\tmargin-top: 5px;\n\t\t}\n\t}\n\n\t& .todo-list__label {\n\t\t& > input {\n\t\t\t@mixin todo-list-checkbox;\n\t\t}\n\n\t\t& .todo-list__label__description {\n\t\t\tvertical-align: middle;\n\t\t}\n\n\t\t&.todo-list__label_without-description input[type=checkbox] {\n\t\t\tposition: absolute;\n\t\t}\n\t}\n}\n\n/*\n * To-do list editing view styles.\n */\n.ck-editor__editable.ck-content .todo-list .todo-list__label {\n\t/*\n\t * To-do list should be interactive only during the editing\n\t * (https://github.com/ckeditor/ckeditor5/issues/2090).\n\t */\n\t& > input,\n\t& > span[contenteditable=false] > input {\n\t\tcursor: pointer;\n\n\t\t&:hover::before {\n\t\t\tbox-shadow: 0 0 0 5px hsla(0, 0%, 0%, 0.1);\n\t\t}\n\t}\n\n\t/*\n\t * Document Lists - editing view has an additional span around checkbox.\n\t */\n\t& > span[contenteditable=false] > input {\n\t\t@mixin todo-list-checkbox;\n\t}\n\n\t&.todo-list__label_without-description {\n\t\t& input[type=checkbox] {\n\t\t\tposition: absolute;\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const I=P},4652:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck-content .media{clear:both;display:block;margin:.9em 0;min-width:15em}","",{version:3,sources:["webpack://./../ckeditor5-media-embed/theme/mediaembed.css"],names:[],mappings:"AAKA,mBAGC,UAAW,CASX,aAAc,CAJd,aAAe,CAQf,cACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-content .media {\n\t/* Don\'t allow floated content overlap the media.\n\thttps://github.com/ckeditor/ckeditor5-media-embed/issues/53 */\n\tclear: both;\n\n\t/* Make sure there is some space between the content and the media. */\n\t/* The first value should be equal to --ck-spacing-large variable if used in the editor context\n\tto avoid the content jumping (See https://github.com/ckeditor/ckeditor5/issues/9825). */\n\tmargin: 0.9em 0;\n\n\t/* Make sure media is not overriden with Bootstrap default `flex` value.\n\tSee: https://github.com/ckeditor/ckeditor5/issues/1373. */\n\tdisplay: block;\n\n\t/* Give the media some minimal width in the content to prevent them\n\tfrom being "squashed" in tight spaces, e.g. in table cells (#44) */\n\tmin-width: 15em;\n}\n'],sourceRoot:""}]);const I=P},7442:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,'.ck-media__wrapper .ck-media__placeholder{align-items:center;display:flex;flex-direction:column}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url{max-width:100%;position:relative}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url .ck-media__placeholder__url__text{display:block;overflow:hidden}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="goo.gl/maps"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="google.com/maps"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="maps.app.goo.gl"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="maps.google.com"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck-media__placeholder__icon *{display:none}.ck-editor__editable:not(.ck-read-only) .ck-media__wrapper>:not(.ck-media__placeholder),.ck-editor__editable:not(.ck-read-only) .ck-widget:not(.ck-widget_selected) .ck-media__placeholder{pointer-events:none}:root{--ck-media-embed-placeholder-icon-size:3em;--ck-color-media-embed-placeholder-url-text:#757575;--ck-color-media-embed-placeholder-url-text-hover:var(--ck-color-base-text)}.ck-media__wrapper{margin:0 auto}.ck-media__wrapper .ck-media__placeholder{background:var(--ck-color-base-foreground);padding:calc(var(--ck-spacing-standard)*3)}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__icon{background-position:50%;background-size:cover;height:var(--ck-media-embed-placeholder-icon-size);margin-bottom:var(--ck-spacing-large);min-width:var(--ck-media-embed-placeholder-icon-size)}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__icon .ck-icon{height:100%;width:100%}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url__text{color:var(--ck-color-media-embed-placeholder-url-text);font-style:italic;text-align:center;text-overflow:ellipsis;white-space:nowrap}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url__text:hover{color:var(--ck-color-media-embed-placeholder-url-text-hover);cursor:pointer;text-decoration:underline}.ck-media__wrapper[data-oembed-url*="open.spotify.com"]{max-height:380px;max-width:300px}.ck-media__wrapper[data-oembed-url*="goo.gl/maps"] .ck-media__placeholder__icon,.ck-media__wrapper[data-oembed-url*="google.com/maps"] .ck-media__placeholder__icon,.ck-media__wrapper[data-oembed-url*="maps.app.goo.gl"] .ck-media__placeholder__icon,.ck-media__wrapper[data-oembed-url*="maps.google.com"] .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNTAuMzc4IiBoZWlnaHQ9IjI1NC4xNjciIHZpZXdCb3g9IjAgMCA2Ni4yNDYgNjcuMjQ4Ij48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTcyLjUzMSAtMjE4LjQ1NSkgc2NhbGUoLjk4MDEyKSI+PHJlY3Qgcnk9IjUuMjM4IiByeD0iNS4yMzgiIHk9IjIzMS4zOTkiIHg9IjE3Ni4wMzEiIGhlaWdodD0iNjAuMDk5IiB3aWR0aD0iNjAuMDk5IiBmaWxsPSIjMzRhNjY4IiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjxwYXRoIGQ9Im0yMDYuNDc3IDI2MC45LTI4Ljk4NyAyOC45ODdhNS4yMTggNS4yMTggMCAwIDAgMy43OCAxLjYxaDQ5LjYyMWMxLjY5NCAwIDMuMTktLjc5OCA0LjE0Ni0yLjAzN3oiIGZpbGw9IiM1Yzg4YzUiLz48cGF0aCBkPSJNMjI2Ljc0MiAyMjIuOTg4Yy05LjI2NiAwLTE2Ljc3NyA3LjE3LTE2Ljc3NyAxNi4wMTQuMDA3IDIuNzYyLjY2MyA1LjQ3NCAyLjA5MyA3Ljg3NS40My43MDMuODMgMS40MDggMS4xOSAyLjEwNy4zMzMuNTAyLjY1IDEuMDA1Ljk1IDEuNTA4LjM0My40NzcuNjczLjk1Ny45ODggMS40NCAxLjMxIDEuNzY5IDIuNSAzLjUwMiAzLjYzNyA1LjE2OC43OTMgMS4yNzUgMS42ODMgMi42NCAyLjQ2NiAzLjk5IDIuMzYzIDQuMDk0IDQuMDA3IDguMDkyIDQuNiAxMy45MTR2LjAxMmMuMTgyLjQxMi41MTYuNjY2Ljg3OS42NjcuNDAzLS4wMDEuNzY4LS4zMTQuOTMtLjc5OS42MDMtNS43NTYgMi4yMzgtOS43MjkgNC41ODUtMTMuNzk0Ljc4Mi0xLjM1IDEuNjczLTIuNzE1IDIuNDY1LTMuOTkgMS4xMzctMS42NjYgMi4zMjgtMy40IDMuNjM4LTUuMTY5LjMxNS0uNDgyLjY0NS0uOTYyLjk4OC0xLjQzOS4zLS41MDMuNjE3LTEuMDA2Ljk1LTEuNTA4LjM1OS0uNy43Ni0xLjQwNCAxLjE5LTIuMTA3IDEuNDI2LTIuNDAyIDItNS4xMTQgMi4wMDQtNy44NzUgMC04Ljg0NC03LjUxMS0xNi4wMTQtMTYuNzc2LTE2LjAxNHoiIGZpbGw9IiNkZDRiM2UiIHBhaW50LW9yZGVyPSJtYXJrZXJzIHN0cm9rZSBmaWxsIi8+PGVsbGlwc2Ugcnk9IjUuNTY0IiByeD0iNS44MjgiIGN5PSIyMzkuMDAyIiBjeD0iMjI2Ljc0MiIgZmlsbD0iIzgwMmQyNyIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48cGF0aCBkPSJNMTkwLjMwMSAyMzcuMjgzYy00LjY3IDAtOC40NTcgMy44NTMtOC40NTcgOC42MDZzMy43ODYgOC42MDcgOC40NTcgOC42MDdjMy4wNDMgMCA0LjgwNi0uOTU4IDYuMzM3LTIuNTE2IDEuNTMtMS41NTcgMi4wODctMy45MTMgMi4wODctNi4yOSAwLS4zNjItLjAyMy0uNzIyLS4wNjQtMS4wNzloLTguMjU3djMuMDQzaDQuODVjLS4xOTcuNzU5LS41MzEgMS40NS0xLjA1OCAxLjk4Ni0uOTQyLjk1OC0yLjAyOCAxLjU0OC0zLjkwMSAxLjU0OC0yLjg3NiAwLTUuMjA4LTIuMzcyLTUuMjA4LTUuMjk5IDAtMi45MjYgMi4zMzItNS4yOTkgNS4yMDgtNS4yOTkgMS4zOTkgMCAyLjYxOC40MDcgMy41ODQgMS4yOTNsMi4zODEtMi4zOGMwLS4wMDItLjAwMy0uMDA0LS4wMDQtLjAwNS0xLjU4OC0xLjUyNC0zLjYyLTIuMjE1LTUuOTU1LTIuMjE1em00LjQzIDUuNjYuMDAzLjAwNnYtLjAwM3oiIGZpbGw9IiNmZmYiIHBhaW50LW9yZGVyPSJtYXJrZXJzIHN0cm9rZSBmaWxsIi8+PHBhdGggZD0ibTIxNS4xODQgMjUxLjkyOS03Ljk4IDcuOTc5IDI4LjQ3NyAyOC40NzVhNS4yMzMgNS4yMzMgMCAwIDAgLjQ0OS0yLjEyM3YtMzEuMTY1Yy0uNDY5LjY3NS0uOTM0IDEuMzQ5LTEuMzgyIDIuMDA1LS43OTIgMS4yNzUtMS42ODIgMi42NC0yLjQ2NSAzLjk5LTIuMzQ3IDQuMDY1LTMuOTgyIDguMDM4LTQuNTg1IDEzLjc5NC0uMTYyLjQ4NS0uNTI3Ljc5OC0uOTMuNzk5LS4zNjMtLjAwMS0uNjk3LS4yNTUtLjg3OS0uNjY3di0uMDEyYy0uNTkzLTUuODIyLTIuMjM3LTkuODItNC42LTEzLjkxNC0uNzgzLTEuMzUtMS42NzMtMi43MTUtMi40NjYtMy45OS0xLjEzNy0xLjY2Ni0yLjMyNy0zLjQtMy42MzctNS4xNjlsLS4wMDItLjAwM3oiIGZpbGw9IiNjM2MzYzMiLz48cGF0aCBkPSJtMjEyLjk4MyAyNDguNDk1LTM2Ljk1MiAzNi45NTN2LjgxMmE1LjIyNyA1LjIyNyAwIDAgMCA1LjIzOCA1LjIzOGgxLjAxNWwzNS42NjYtMzUuNjY2YTEzNi4yNzUgMTM2LjI3NSAwIDAgMC0yLjc2NC0zLjkgMzcuNTc1IDM3LjU3NSAwIDAgMC0uOTg5LTEuNDQgMzUuMTI3IDM1LjEyNyAwIDAgMC0uOTUtMS41MDhjLS4wODMtLjE2Mi0uMTc2LS4zMjYtLjI2NC0uNDg5eiIgZmlsbD0iI2ZkZGM0ZiIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48cGF0aCBkPSJtMjExLjk5OCAyNjEuMDgzLTYuMTUyIDYuMTUxIDI0LjI2NCAyNC4yNjRoLjc4MWE1LjIyNyA1LjIyNyAwIDAgMCA1LjIzOS01LjIzOHYtMS4wNDV6IiBmaWxsPSIjZmZmIiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjwvZz48L3N2Zz4=)}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder{background:#4268b3}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAyNCIgaGVpZ2h0PSIxMDI0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik05NjcuNDg0IDBINTYuNTE3QzI1LjMwNCAwIDAgMjUuMzA0IDAgNTYuNTE3djkxMC45NjZDMCA5OTguNjk0IDI1LjI5NyAxMDI0IDU2LjUyMiAxMDI0SDU0N1Y2MjhINDE0VjQ3M2gxMzNWMzU5LjAyOWMwLTEzMi4yNjIgODAuNzczLTIwNC4yODIgMTk4Ljc1Ni0yMDQuMjgyIDU2LjUxMyAwIDEwNS4wODYgNC4yMDggMTE5LjI0NCA2LjA4OVYyOTlsLTgxLjYxNi4wMzdjLTYzLjk5MyAwLTc2LjM4NCAzMC40OTItNzYuMzg0IDc1LjIzNlY0NzNoMTUzLjQ4N2wtMTkuOTg2IDE1NUg3MDd2Mzk2aDI2MC40ODRjMzEuMjEzIDAgNTYuNTE2LTI1LjMwMyA1Ni41MTYtNTYuNTE2VjU2LjUxNUMxMDI0IDI1LjMwMyA5OTguNjk3IDAgOTY3LjQ4NCAwIiBmaWxsPSIjRkZGRkZFIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4=)}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder .ck-media__placeholder__url__text{color:#cdf}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder .ck-media__placeholder__url__text:hover{color:#fff}.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder{background:linear-gradient(-135deg,#1400c7,#b800b1,#f50000)}.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTA0IiBoZWlnaHQ9IjUwNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGRlZnM+PHBhdGggaWQ9ImEiIGQ9Ik0wIC4xNTloNTAzLjg0MVY1MDMuOTRIMHoiLz48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48bWFzayBpZD0iYiIgZmlsbD0iI2ZmZiI+PHVzZSB4bGluazpocmVmPSIjYSIvPjwvbWFzaz48cGF0aCBkPSJNMjUxLjkyMS4xNTljLTY4LjQxOCAwLTc2Ljk5Ny4yOS0xMDMuODY3IDEuNTE2LTI2LjgxNCAxLjIyMy00NS4xMjcgNS40ODItNjEuMTUxIDExLjcxLTE2LjU2NiA2LjQzNy0zMC42MTUgMTUuMDUxLTQ0LjYyMSAyOS4wNTYtMTQuMDA1IDE0LjAwNi0yMi42MTkgMjguMDU1LTI5LjA1NiA0NC42MjEtNi4yMjggMTYuMDI0LTEwLjQ4NyAzNC4zMzctMTEuNzEgNjEuMTUxQy4yOSAxNzUuMDgzIDAgMTgzLjY2MiAwIDI1Mi4wOGMwIDY4LjQxNy4yOSA3Ni45OTYgMS41MTYgMTAzLjg2NiAxLjIyMyAyNi44MTQgNS40ODIgNDUuMTI3IDExLjcxIDYxLjE1MSA2LjQzNyAxNi41NjYgMTUuMDUxIDMwLjYxNSAyOS4wNTYgNDQuNjIxIDE0LjAwNiAxNC4wMDUgMjguMDU1IDIyLjYxOSA0NC42MjEgMjkuMDU3IDE2LjAyNCA2LjIyNyAzNC4zMzcgMTAuNDg2IDYxLjE1MSAxMS43MDkgMjYuODcgMS4yMjYgMzUuNDQ5IDEuNTE2IDEwMy44NjcgMS41MTYgNjguNDE3IDAgNzYuOTk2LS4yOSAxMDMuODY2LTEuNTE2IDI2LjgxNC0xLjIyMyA0NS4xMjctNS40ODIgNjEuMTUxLTExLjcwOSAxNi41NjYtNi40MzggMzAuNjE1LTE1LjA1MiA0NC42MjEtMjkuMDU3IDE0LjAwNS0xNC4wMDYgMjIuNjE5LTI4LjA1NSAyOS4wNTctNDQuNjIxIDYuMjI3LTE2LjAyNCAxMC40ODYtMzQuMzM3IDExLjcwOS02MS4xNTEgMS4yMjYtMjYuODcgMS41MTYtMzUuNDQ5IDEuNTE2LTEwMy44NjYgMC02OC40MTgtLjI5LTc2Ljk5Ny0xLjUxNi0xMDMuODY3LTEuMjIzLTI2LjgxNC01LjQ4Mi00NS4xMjctMTEuNzA5LTYxLjE1MS02LjQzOC0xNi41NjYtMTUuMDUyLTMwLjYxNS0yOS4wNTctNDQuNjIxLTE0LjAwNi0xNC4wMDUtMjguMDU1LTIyLjYxOS00NC42MjEtMjkuMDU2LTE2LjAyNC02LjIyOC0zNC4zMzctMTAuNDg3LTYxLjE1MS0xMS43MUMzMjguOTE3LjQ0OSAzMjAuMzM4LjE1OSAyNTEuOTIxLjE1OVptMCA0NS4zOTFjNjcuMjY1IDAgNzUuMjMzLjI1NyAxMDEuNzk3IDEuNDY5IDI0LjU2MiAxLjEyIDM3LjkwMSA1LjIyNCA0Ni43NzggOC42NzQgMTEuNzU5IDQuNTcgMjAuMTUxIDEwLjAyOSAyOC45NjYgMTguODQ1IDguODE2IDguODE1IDE0LjI3NSAxNy4yMDcgMTguODQ1IDI4Ljk2NiAzLjQ1IDguODc3IDcuNTU0IDIyLjIxNiA4LjY3NCA0Ni43NzggMS4yMTIgMjYuNTY0IDEuNDY5IDM0LjUzMiAxLjQ2OSAxMDEuNzk4IDAgNjcuMjY1LS4yNTcgNzUuMjMzLTEuNDY5IDEwMS43OTctMS4xMiAyNC41NjItNS4yMjQgMzcuOTAxLTguNjc0IDQ2Ljc3OC00LjU3IDExLjc1OS0xMC4wMjkgMjAuMTUxLTE4Ljg0NSAyOC45NjYtOC44MTUgOC44MTYtMTcuMjA3IDE0LjI3NS0yOC45NjYgMTguODQ1LTguODc3IDMuNDUtMjIuMjE2IDcuNTU0LTQ2Ljc3OCA4LjY3NC0yNi41NiAxLjIxMi0zNC41MjcgMS40NjktMTAxLjc5NyAxLjQ2OS02Ny4yNzEgMC03NS4yMzctLjI1Ny0xMDEuNzk4LTEuNDY5LTI0LjU2Mi0xLjEyLTM3LjkwMS01LjIyNC00Ni43NzgtOC42NzQtMTEuNzU5LTQuNTctMjAuMTUxLTEwLjAyOS0yOC45NjYtMTguODQ1LTguODE1LTguODE1LTE0LjI3NS0xNy4yMDctMTguODQ1LTI4Ljk2Ni0zLjQ1LTguODc3LTcuNTU0LTIyLjIxNi04LjY3NC00Ni43NzgtMS4yMTItMjYuNTY0LTEuNDY5LTM0LjUzMi0xLjQ2OS0xMDEuNzk3IDAtNjcuMjY2LjI1Ny03NS4yMzQgMS40NjktMTAxLjc5OCAxLjEyLTI0LjU2MiA1LjIyNC0zNy45MDEgOC42NzQtNDYuNzc4IDQuNTctMTEuNzU5IDEwLjAyOS0yMC4xNTEgMTguODQ1LTI4Ljk2NiA4LjgxNS04LjgxNiAxNy4yMDctMTQuMjc1IDI4Ljk2Ni0xOC44NDUgOC44NzctMy40NSAyMi4yMTYtNy41NTQgNDYuNzc4LTguNjc0IDI2LjU2NC0xLjIxMiAzNC41MzItMS40NjkgMTAxLjc5OC0xLjQ2OVoiIGZpbGw9IiNGRkYiIG1hc2s9InVybCgjYikiLz48cGF0aCBkPSJNMjUxLjkyMSAzMzYuMDUzYy00Ni4zNzggMC04My45NzQtMzcuNTk2LTgzLjk3NC04My45NzMgMC00Ni4zNzggMzcuNTk2LTgzLjk3NCA4My45NzQtODMuOTc0IDQ2LjM3NyAwIDgzLjk3MyAzNy41OTYgODMuOTczIDgzLjk3NCAwIDQ2LjM3Ny0zNy41OTYgODMuOTczLTgzLjk3MyA4My45NzNabTAtMjEzLjMzOGMtNzEuNDQ3IDAtMTI5LjM2NSA1Ny45MTgtMTI5LjM2NSAxMjkuMzY1IDAgNzEuNDQ2IDU3LjkxOCAxMjkuMzY0IDEyOS4zNjUgMTI5LjM2NCA3MS40NDYgMCAxMjkuMzY0LTU3LjkxOCAxMjkuMzY0LTEyOS4zNjQgMC03MS40NDctNTcuOTE4LTEyOS4zNjUtMTI5LjM2NC0xMjkuMzY1Wk00MTYuNjI3IDExNy42MDRjMCAxNi42OTYtMTMuNTM1IDMwLjIzLTMwLjIzMSAzMC4yMy0xNi42OTUgMC0zMC4yMy0xMy41MzQtMzAuMjMtMzAuMjMgMC0xNi42OTYgMTMuNTM1LTMwLjIzMSAzMC4yMy0zMC4yMzEgMTYuNjk2IDAgMzAuMjMxIDEzLjUzNSAzMC4yMzEgMzAuMjMxIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg==)}.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder .ck-media__placeholder__url__text{color:#ffe0fe}.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder .ck-media__placeholder__url__text:hover{color:#fff}.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder{background:linear-gradient(90deg,#71c6f4,#0d70a5)}.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MDAgNDAwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA0MDAgNDAwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBkPSJNNDAwIDIwMGMwIDExMC41LTg5LjUgMjAwLTIwMCAyMDBTMCAzMTAuNSAwIDIwMCA4OS41IDAgMjAwIDBzMjAwIDg5LjUgMjAwIDIwMHpNMTYzLjQgMzA1LjVjODguNyAwIDEzNy4yLTczLjUgMTM3LjItMTM3LjIgMC0yLjEgMC00LjItLjEtNi4yIDkuNC02LjggMTcuNi0xNS4zIDI0LjEtMjUtOC42IDMuOC0xNy45IDYuNC0yNy43IDcuNiAxMC02IDE3LjYtMTUuNCAyMS4yLTI2LjctOS4zIDUuNS0xOS42IDkuNS0zMC42IDExLjctOC44LTkuNC0yMS4zLTE1LjItMzUuMi0xNS4yLTI2LjYgMC00OC4yIDIxLjYtNDguMiA0OC4yIDAgMy44LjQgNy41IDEuMyAxMS00MC4xLTItNzUuNi0yMS4yLTk5LjQtNTAuNC00LjEgNy4xLTYuNSAxNS40LTYuNSAyNC4yIDAgMTYuNyA4LjUgMzEuNSAyMS41IDQwLjEtNy45LS4yLTE1LjMtMi40LTIxLjgtNnYuNmMwIDIzLjQgMTYuNiA0Mi44IDM4LjcgNDcuMy00IDEuMS04LjMgMS43LTEyLjcgMS43LTMuMSAwLTYuMS0uMy05LjEtLjkgNi4xIDE5LjIgMjMuOSAzMy4xIDQ1IDMzLjUtMTYuNSAxMi45LTM3LjMgMjAuNi01OS45IDIwLjYtMy45IDAtNy43LS4yLTExLjUtLjcgMjEuMSAxMy44IDQ2LjUgMjEuOCA3My43IDIxLjgiIHN0eWxlPSJmaWxsOiNmZmYiLz48L3N2Zz4=)}.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder .ck-media__placeholder__url__text{color:#b8e6ff}.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder .ck-media__placeholder__url__text:hover{color:#fff}',"",{version:3,sources:["webpack://./../ckeditor5-media-embed/theme/mediaembedediting.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-media-embed/mediaembedediting.css"],names:[],mappings:"AAMC,0CAGC,kBAAmB,CAFnB,YAAa,CACb,qBAcD,CAXC,sEAEC,cAAe,CAEf,iBAMD,CAJC,wGAEC,aAAc,CADd,eAED,CAWD,6kBACC,YACD,CAYF,2LACC,mBACD,CC1CA,MACC,0CAA2C,CAE3C,mDAA4D,CAC5D,2EACD,CAEA,mBACC,aA+FD,CA7FC,0CAEC,0CAA2C,CAD3C,0CA6BD,CA1BC,uEAIC,uBAA2B,CAC3B,qBAAsB,CAHtB,kDAAmD,CACnD,qCAAsC,CAFtC,qDAUD,CAJC,gFAEC,WAAY,CADZ,UAED,CAGD,4EACC,sDAAuD,CAGvD,iBAAkB,CADlB,iBAAkB,CAElB,sBAAuB,CAHvB,kBAUD,CALC,kFACC,4DAA6D,CAC7D,cAAe,CACf,yBACD,CAIF,wDAEC,gBAAiB,CADjB,eAED,CAEA,4UAIC,wvGACD,CAEA,2EACC,kBAaD,CAXC,wGACC,orBACD,CAEA,6GACC,UAKD,CAHC,mHACC,UACD,CAIF,4EACC,2DAcD,CAZC,yGACC,4jHACD,CAGA,8GACC,aAKD,CAHC,oHACC,UACD,CAIF,6EAEC,iDAaD,CAXC,0GACC,wiCACD,CAEA,+GACC,aAKD,CAHC,qHACC,UACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-media__wrapper {\n\t& .ck-media__placeholder {\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\talign-items: center;\n\n\t\t& .ck-media__placeholder__url {\n\t\t\t/* Otherwise the URL will overflow when the content is very narrow. */\n\t\t\tmax-width: 100%;\n\n\t\t\tposition: relative;\n\n\t\t\t& .ck-media__placeholder__url__text {\n\t\t\t\toverflow: hidden;\n\t\t\t\tdisplay: block;\n\t\t\t}\n\t\t}\n\t}\n\n\t&[data-oembed-url*="twitter.com"],\n\t&[data-oembed-url*="google.com/maps"],\n\t&[data-oembed-url*="goo.gl/maps"],\n\t&[data-oembed-url*="maps.google.com"],\n\t&[data-oembed-url*="maps.app.goo.gl"],\n\t&[data-oembed-url*="facebook.com"],\n\t&[data-oembed-url*="instagram.com"] {\n\t\t& .ck-media__placeholder__icon * {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n}\n\n/* Disable all mouse interaction as long as the editor is not read\u2013only.\n https://github.com/ckeditor/ckeditor5-media-embed/issues/58 */\n.ck-editor__editable:not(.ck-read-only) .ck-media__wrapper > *:not(.ck-media__placeholder) {\n\tpointer-events: none;\n}\n\n/* Disable all mouse interaction when the widget is not selected (e.g. to avoid opening links by accident).\n https://github.com/ckeditor/ckeditor5-media-embed/issues/18 */\n.ck-editor__editable:not(.ck-read-only) .ck-widget:not(.ck-widget_selected) .ck-media__placeholder {\n\tpointer-events: none;\n}\n','/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-media-embed-placeholder-icon-size: 3em;\n\n\t--ck-color-media-embed-placeholder-url-text: hsl(0, 0%, 46%);\n\t--ck-color-media-embed-placeholder-url-text-hover: var(--ck-color-base-text);\n}\n\n.ck-media__wrapper {\n\tmargin: 0 auto;\n\n\t& .ck-media__placeholder {\n\t\tpadding: calc( 3 * var(--ck-spacing-standard) );\n\t\tbackground: var(--ck-color-base-foreground);\n\n\t\t& .ck-media__placeholder__icon {\n\t\t\tmin-width: var(--ck-media-embed-placeholder-icon-size);\n\t\t\theight: var(--ck-media-embed-placeholder-icon-size);\n\t\t\tmargin-bottom: var(--ck-spacing-large);\n\t\t\tbackground-position: center;\n\t\t\tbackground-size: cover;\n\n\t\t\t& .ck-icon {\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n\t\t\t}\n\t\t}\n\n\t\t& .ck-media__placeholder__url__text {\n\t\t\tcolor: var(--ck-color-media-embed-placeholder-url-text);\n\t\t\twhite-space: nowrap;\n\t\t\ttext-align: center;\n\t\t\tfont-style: italic;\n\t\t\ttext-overflow: ellipsis;\n\n\t\t\t&:hover {\n\t\t\t\tcolor: var(--ck-color-media-embed-placeholder-url-text-hover);\n\t\t\t\tcursor: pointer;\n\t\t\t\ttext-decoration: underline;\n\t\t\t}\n\t\t}\n\t}\n\n\t&[data-oembed-url*="open.spotify.com"] {\n\t\tmax-width: 300px;\n\t\tmax-height: 380px;\n\t}\n\n\t&[data-oembed-url*="google.com/maps"] .ck-media__placeholder__icon,\n\t&[data-oembed-url*="goo.gl/maps"] .ck-media__placeholder__icon,\n\t&[data-oembed-url*="maps.google.com"] .ck-media__placeholder__icon,\n\t&[data-oembed-url*="maps.app.goo.gl"] .ck-media__placeholder__icon {\n\t\tbackground-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNTAuMzc4IiBoZWlnaHQ9IjI1NC4xNjciIHZpZXdCb3g9IjAgMCA2Ni4yNDYgNjcuMjQ4Ij48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTcyLjUzMSAtMjE4LjQ1NSkgc2NhbGUoLjk4MDEyKSI+PHJlY3Qgcnk9IjUuMjM4IiByeD0iNS4yMzgiIHk9IjIzMS4zOTkiIHg9IjE3Ni4wMzEiIGhlaWdodD0iNjAuMDk5IiB3aWR0aD0iNjAuMDk5IiBmaWxsPSIjMzRhNjY4IiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjxwYXRoIGQ9Ik0yMDYuNDc3IDI2MC45bC0yOC45ODcgMjguOTg3YTUuMjE4IDUuMjE4IDAgMCAwIDMuNzggMS42MWg0OS42MjFjMS42OTQgMCAzLjE5LS43OTggNC4xNDYtMi4wMzd6IiBmaWxsPSIjNWM4OGM1Ii8+PHBhdGggZD0iTTIyNi43NDIgMjIyLjk4OGMtOS4yNjYgMC0xNi43NzcgNy4xNy0xNi43NzcgMTYuMDE0LjAwNyAyLjc2Mi42NjMgNS40NzQgMi4wOTMgNy44NzUuNDMuNzAzLjgzIDEuNDA4IDEuMTkgMi4xMDcuMzMzLjUwMi42NSAxLjAwNS45NSAxLjUwOC4zNDMuNDc3LjY3My45NTcuOTg4IDEuNDQgMS4zMSAxLjc2OSAyLjUgMy41MDIgMy42MzcgNS4xNjguNzkzIDEuMjc1IDEuNjgzIDIuNjQgMi40NjYgMy45OSAyLjM2MyA0LjA5NCA0LjAwNyA4LjA5MiA0LjYgMTMuOTE0di4wMTJjLjE4Mi40MTIuNTE2LjY2Ni44NzkuNjY3LjQwMy0uMDAxLjc2OC0uMzE0LjkzLS43OTkuNjAzLTUuNzU2IDIuMjM4LTkuNzI5IDQuNTg1LTEzLjc5NC43ODItMS4zNSAxLjY3My0yLjcxNSAyLjQ2NS0zLjk5IDEuMTM3LTEuNjY2IDIuMzI4LTMuNCAzLjYzOC01LjE2OS4zMTUtLjQ4Mi42NDUtLjk2Mi45ODgtMS40MzkuMy0uNTAzLjYxNy0xLjAwNi45NS0xLjUwOC4zNTktLjcuNzYtMS40MDQgMS4xOS0yLjEwNyAxLjQyNi0yLjQwMiAyLTUuMTE0IDIuMDA0LTcuODc1IDAtOC44NDQtNy41MTEtMTYuMDE0LTE2Ljc3Ni0xNi4wMTR6IiBmaWxsPSIjZGQ0YjNlIiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjxlbGxpcHNlIHJ5PSI1LjU2NCIgcng9IjUuODI4IiBjeT0iMjM5LjAwMiIgY3g9IjIyNi43NDIiIGZpbGw9IiM4MDJkMjciIHBhaW50LW9yZGVyPSJtYXJrZXJzIHN0cm9rZSBmaWxsIi8+PHBhdGggZD0iTTE5MC4zMDEgMjM3LjI4M2MtNC42NyAwLTguNDU3IDMuODUzLTguNDU3IDguNjA2czMuNzg2IDguNjA3IDguNDU3IDguNjA3YzMuMDQzIDAgNC44MDYtLjk1OCA2LjMzNy0yLjUxNiAxLjUzLTEuNTU3IDIuMDg3LTMuOTEzIDIuMDg3LTYuMjkgMC0uMzYyLS4wMjMtLjcyMi0uMDY0LTEuMDc5aC04LjI1N3YzLjA0M2g0Ljg1Yy0uMTk3Ljc1OS0uNTMxIDEuNDUtMS4wNTggMS45ODYtLjk0Mi45NTgtMi4wMjggMS41NDgtMy45MDEgMS41NDgtMi44NzYgMC01LjIwOC0yLjM3Mi01LjIwOC01LjI5OSAwLTIuOTI2IDIuMzMyLTUuMjk5IDUuMjA4LTUuMjk5IDEuMzk5IDAgMi42MTguNDA3IDMuNTg0IDEuMjkzbDIuMzgxLTIuMzhjMC0uMDAyLS4wMDMtLjAwNC0uMDA0LS4wMDUtMS41ODgtMS41MjQtMy42Mi0yLjIxNS01Ljk1NS0yLjIxNXptNC40MyA1LjY2bC4wMDMuMDA2di0uMDAzeiIgZmlsbD0iI2ZmZiIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48cGF0aCBkPSJNMjE1LjE4NCAyNTEuOTI5bC03Ljk4IDcuOTc5IDI4LjQ3NyAyOC40NzVjLjI4Ny0uNjQ5LjQ0OS0xLjM2Ni40NDktMi4xMjN2LTMxLjE2NWMtLjQ2OS42NzUtLjkzNCAxLjM0OS0xLjM4MiAyLjAwNS0uNzkyIDEuMjc1LTEuNjgyIDIuNjQtMi40NjUgMy45OS0yLjM0NyA0LjA2NS0zLjk4MiA4LjAzOC00LjU4NSAxMy43OTQtLjE2Mi40ODUtLjUyNy43OTgtLjkzLjc5OS0uMzYzLS4wMDEtLjY5Ny0uMjU1LS44NzktLjY2N3YtLjAxMmMtLjU5My01LjgyMi0yLjIzNy05LjgyLTQuNi0xMy45MTQtLjc4My0xLjM1LTEuNjczLTIuNzE1LTIuNDY2LTMuOTktMS4xMzctMS42NjYtMi4zMjctMy40LTMuNjM3LTUuMTY5bC0uMDAyLS4wMDN6IiBmaWxsPSIjYzNjM2MzIi8+PHBhdGggZD0iTTIxMi45ODMgMjQ4LjQ5NWwtMzYuOTUyIDM2Ljk1M3YuODEyYTUuMjI3IDUuMjI3IDAgMCAwIDUuMjM4IDUuMjM4aDEuMDE1bDM1LjY2Ni0zNS42NjZhMTM2LjI3NSAxMzYuMjc1IDAgMCAwLTIuNzY0LTMuOSAzNy41NzUgMzcuNTc1IDAgMCAwLS45ODktMS40NGMtLjI5OS0uNTAzLS42MTYtMS4wMDYtLjk1LTEuNTA4LS4wODMtLjE2Mi0uMTc2LS4zMjYtLjI2NC0uNDg5eiIgZmlsbD0iI2ZkZGM0ZiIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48cGF0aCBkPSJNMjExLjk5OCAyNjEuMDgzbC02LjE1MiA2LjE1MSAyNC4yNjQgMjQuMjY0aC43ODFhNS4yMjcgNS4yMjcgMCAwIDAgNS4yMzktNS4yMzh2LTEuMDQ1eiIgZmlsbD0iI2ZmZiIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48L2c+PC9zdmc+);\n\t}\n\n\t&[data-oembed-url*="facebook.com"] .ck-media__placeholder {\n\t\tbackground: hsl(220, 46%, 48%);\n\n\t\t& .ck-media__placeholder__icon {\n\t\t\tbackground-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSIxMDI0cHgiIGhlaWdodD0iMTAyNHB4IiB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPiAgICAgICAgPHRpdGxlPkZpbGwgMTwvdGl0bGU+ICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiAgICA8ZGVmcz48L2RlZnM+ICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPiAgICAgICAgPGcgaWQ9ImZMb2dvX1doaXRlIiBmaWxsPSIjRkZGRkZFIj4gICAgICAgICAgICA8cGF0aCBkPSJNOTY3LjQ4NCwwIEw1Ni41MTcsMCBDMjUuMzA0LDAgMCwyNS4zMDQgMCw1Ni41MTcgTDAsOTY3LjQ4MyBDMCw5OTguNjk0IDI1LjI5NywxMDI0IDU2LjUyMiwxMDI0IEw1NDcsMTAyNCBMNTQ3LDYyOCBMNDE0LDYyOCBMNDE0LDQ3MyBMNTQ3LDQ3MyBMNTQ3LDM1OS4wMjkgQzU0NywyMjYuNzY3IDYyNy43NzMsMTU0Ljc0NyA3NDUuNzU2LDE1NC43NDcgQzgwMi4yNjksMTU0Ljc0NyA4NTAuODQyLDE1OC45NTUgODY1LDE2MC44MzYgTDg2NSwyOTkgTDc4My4zODQsMjk5LjAzNyBDNzE5LjM5MSwyOTkuMDM3IDcwNywzMjkuNTI5IDcwNywzNzQuMjczIEw3MDcsNDczIEw4NjAuNDg3LDQ3MyBMODQwLjUwMSw2MjggTDcwNyw2MjggTDcwNywxMDI0IEw5NjcuNDg0LDEwMjQgQzk5OC42OTcsMTAyNCAxMDI0LDk5OC42OTcgMTAyNCw5NjcuNDg0IEwxMDI0LDU2LjUxNSBDMTAyNCwyNS4zMDMgOTk4LjY5NywwIDk2Ny40ODQsMCIgaWQ9IkZpbGwtMSI+PC9wYXRoPiAgICAgICAgPC9nPiAgICA8L2c+PC9zdmc+);\n\t\t}\n\n\t\t& .ck-media__placeholder__url__text {\n\t\t\tcolor: hsl(220, 100%, 90%);\n\n\t\t\t&:hover {\n\t\t\t\tcolor: hsl(0, 0%, 100%);\n\t\t\t}\n\t\t}\n\t}\n\n\t&[data-oembed-url*="instagram.com"] .ck-media__placeholder {\n\t\tbackground: linear-gradient(-135deg,hsl(246, 100%, 39%),hsl(302, 100%, 36%),hsl(0, 100%, 48%));\n\n\t\t& .ck-media__placeholder__icon {\n\t\t\tbackground-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSI1MDRweCIgaGVpZ2h0PSI1MDRweCIgdmlld0JveD0iMCAwIDUwNCA1MDQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+ICAgICAgICA8dGl0bGU+Z2x5cGgtbG9nb19NYXkyMDE2PC90aXRsZT4gICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+ICAgIDxkZWZzPiAgICAgICAgPHBvbHlnb24gaWQ9InBhdGgtMSIgcG9pbnRzPSIwIDAuMTU5IDUwMy44NDEgMC4xNTkgNTAzLjg0MSA1MDMuOTQgMCA1MDMuOTQiPjwvcG9seWdvbj4gICAgPC9kZWZzPiAgICA8ZyBpZD0iZ2x5cGgtbG9nb19NYXkyMDE2IiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4gICAgICAgIDxnIGlkPSJHcm91cC0zIj4gICAgICAgICAgICA8bWFzayBpZD0ibWFzay0yIiBmaWxsPSJ3aGl0ZSI+ICAgICAgICAgICAgICAgIDx1c2UgeGxpbms6aHJlZj0iI3BhdGgtMSI+PC91c2U+ICAgICAgICAgICAgPC9tYXNrPiAgICAgICAgICAgIDxnIGlkPSJDbGlwLTIiPjwvZz4gICAgICAgICAgICA8cGF0aCBkPSJNMjUxLjkyMSwwLjE1OSBDMTgzLjUwMywwLjE1OSAxNzQuOTI0LDAuNDQ5IDE0OC4wNTQsMS42NzUgQzEyMS4yNCwyLjg5OCAxMDIuOTI3LDcuMTU3IDg2LjkwMywxMy4zODUgQzcwLjMzNywxOS44MjIgNTYuMjg4LDI4LjQzNiA0Mi4yODIsNDIuNDQxIEMyOC4yNzcsNTYuNDQ3IDE5LjY2Myw3MC40OTYgMTMuMjI2LDg3LjA2MiBDNi45OTgsMTAzLjA4NiAyLjczOSwxMjEuMzk5IDEuNTE2LDE0OC4yMTMgQzAuMjksMTc1LjA4MyAwLDE4My42NjIgMCwyNTIuMDggQzAsMzIwLjQ5NyAwLjI5LDMyOS4wNzYgMS41MTYsMzU1Ljk0NiBDMi43MzksMzgyLjc2IDYuOTk4LDQwMS4wNzMgMTMuMjI2LDQxNy4wOTcgQzE5LjY2Myw0MzMuNjYzIDI4LjI3Nyw0NDcuNzEyIDQyLjI4Miw0NjEuNzE4IEM1Ni4yODgsNDc1LjcyMyA3MC4zMzcsNDg0LjMzNyA4Ni45MDMsNDkwLjc3NSBDMTAyLjkyNyw0OTcuMDAyIDEyMS4yNCw1MDEuMjYxIDE0OC4wNTQsNTAyLjQ4NCBDMTc0LjkyNCw1MDMuNzEgMTgzLjUwMyw1MDQgMjUxLjkyMSw1MDQgQzMyMC4zMzgsNTA0IDMyOC45MTcsNTAzLjcxIDM1NS43ODcsNTAyLjQ4NCBDMzgyLjYwMSw1MDEuMjYxIDQwMC45MTQsNDk3LjAwMiA0MTYuOTM4LDQ5MC43NzUgQzQzMy41MDQsNDg0LjMzNyA0NDcuNTUzLDQ3NS43MjMgNDYxLjU1OSw0NjEuNzE4IEM0NzUuNTY0LDQ0Ny43MTIgNDg0LjE3OCw0MzMuNjYzIDQ5MC42MTYsNDE3LjA5NyBDNDk2Ljg0Myw0MDEuMDczIDUwMS4xMDIsMzgyLjc2IDUwMi4zMjUsMzU1Ljk0NiBDNTAzLjU1MSwzMjkuMDc2IDUwMy44NDEsMzIwLjQ5NyA1MDMuODQxLDI1Mi4wOCBDNTAzLjg0MSwxODMuNjYyIDUwMy41NTEsMTc1LjA4MyA1MDIuMzI1LDE0OC4yMTMgQzUwMS4xMDIsMTIxLjM5OSA0OTYuODQzLDEwMy4wODYgNDkwLjYxNiw4Ny4wNjIgQzQ4NC4xNzgsNzAuNDk2IDQ3NS41NjQsNTYuNDQ3IDQ2MS41NTksNDIuNDQxIEM0NDcuNTUzLDI4LjQzNiA0MzMuNTA0LDE5LjgyMiA0MTYuOTM4LDEzLjM4NSBDNDAwLjkxNCw3LjE1NyAzODIuNjAxLDIuODk4IDM1NS43ODcsMS42NzUgQzMyOC45MTcsMC40NDkgMzIwLjMzOCwwLjE1OSAyNTEuOTIxLDAuMTU5IFogTTI1MS45MjEsNDUuNTUgQzMxOS4xODYsNDUuNTUgMzI3LjE1NCw0NS44MDcgMzUzLjcxOCw0Ny4wMTkgQzM3OC4yOCw0OC4xMzkgMzkxLjYxOSw1Mi4yNDMgNDAwLjQ5Niw1NS42OTMgQzQxMi4yNTUsNjAuMjYzIDQyMC42NDcsNjUuNzIyIDQyOS40NjIsNzQuNTM4IEM0MzguMjc4LDgzLjM1MyA0NDMuNzM3LDkxLjc0NSA0NDguMzA3LDEwMy41MDQgQzQ1MS43NTcsMTEyLjM4MSA0NTUuODYxLDEyNS43MiA0NTYuOTgxLDE1MC4yODIgQzQ1OC4xOTMsMTc2Ljg0NiA0NTguNDUsMTg0LjgxNCA0NTguNDUsMjUyLjA4IEM0NTguNDUsMzE5LjM0NSA0NTguMTkzLDMyNy4zMTMgNDU2Ljk4MSwzNTMuODc3IEM0NTUuODYxLDM3OC40MzkgNDUxLjc1NywzOTEuNzc4IDQ0OC4zMDcsNDAwLjY1NSBDNDQzLjczNyw0MTIuNDE0IDQzOC4yNzgsNDIwLjgwNiA0MjkuNDYyLDQyOS42MjEgQzQyMC42NDcsNDM4LjQzNyA0MTIuMjU1LDQ0My44OTYgNDAwLjQ5Niw0NDguNDY2IEMzOTEuNjE5LDQ1MS45MTYgMzc4LjI4LDQ1Ni4wMiAzNTMuNzE4LDQ1Ny4xNCBDMzI3LjE1OCw0NTguMzUyIDMxOS4xOTEsNDU4LjYwOSAyNTEuOTIxLDQ1OC42MDkgQzE4NC42NSw0NTguNjA5IDE3Ni42ODQsNDU4LjM1MiAxNTAuMTIzLDQ1Ny4xNCBDMTI1LjU2MSw0NTYuMDIgMTEyLjIyMiw0NTEuOTE2IDEwMy4zNDUsNDQ4LjQ2NiBDOTEuNTg2LDQ0My44OTYgODMuMTk0LDQzOC40MzcgNzQuMzc5LDQyOS42MjEgQzY1LjU2NCw0MjAuODA2IDYwLjEwNCw0MTIuNDE0IDU1LjUzNCw0MDAuNjU1IEM1Mi4wODQsMzkxLjc3OCA0Ny45OCwzNzguNDM5IDQ2Ljg2LDM1My44NzcgQzQ1LjY0OCwzMjcuMzEzIDQ1LjM5MSwzMTkuMzQ1IDQ1LjM5MSwyNTIuMDggQzQ1LjM5MSwxODQuODE0IDQ1LjY0OCwxNzYuODQ2IDQ2Ljg2LDE1MC4yODIgQzQ3Ljk4LDEyNS43MiA1Mi4wODQsMTEyLjM4MSA1NS41MzQsMTAzLjUwNCBDNjAuMTA0LDkxLjc0NSA2NS41NjMsODMuMzUzIDc0LjM3OSw3NC41MzggQzgzLjE5NCw2NS43MjIgOTEuNTg2LDYwLjI2MyAxMDMuMzQ1LDU1LjY5MyBDMTEyLjIyMiw1Mi4yNDMgMTI1LjU2MSw0OC4xMzkgMTUwLjEyMyw0Ny4wMTkgQzE3Ni42ODcsNDUuODA3IDE4NC42NTUsNDUuNTUgMjUxLjkyMSw0NS41NSBaIiBpZD0iRmlsbC0xIiBmaWxsPSIjRkZGRkZGIiBtYXNrPSJ1cmwoI21hc2stMikiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgICAgIDxwYXRoIGQ9Ik0yNTEuOTIxLDMzNi4wNTMgQzIwNS41NDMsMzM2LjA1MyAxNjcuOTQ3LDI5OC40NTcgMTY3Ljk0NywyNTIuMDggQzE2Ny45NDcsMjA1LjcwMiAyMDUuNTQzLDE2OC4xMDYgMjUxLjkyMSwxNjguMTA2IEMyOTguMjk4LDE2OC4xMDYgMzM1Ljg5NCwyMDUuNzAyIDMzNS44OTQsMjUyLjA4IEMzMzUuODk0LDI5OC40NTcgMjk4LjI5OCwzMzYuMDUzIDI1MS45MjEsMzM2LjA1MyBaIE0yNTEuOTIxLDEyMi43MTUgQzE4MC40NzQsMTIyLjcxNSAxMjIuNTU2LDE4MC42MzMgMTIyLjU1NiwyNTIuMDggQzEyMi41NTYsMzIzLjUyNiAxODAuNDc0LDM4MS40NDQgMjUxLjkyMSwzODEuNDQ0IEMzMjMuMzY3LDM4MS40NDQgMzgxLjI4NSwzMjMuNTI2IDM4MS4yODUsMjUyLjA4IEMzODEuMjg1LDE4MC42MzMgMzIzLjM2NywxMjIuNzE1IDI1MS45MjEsMTIyLjcxNSBaIiBpZD0iRmlsbC00IiBmaWxsPSIjRkZGRkZGIj48L3BhdGg+ICAgICAgICA8cGF0aCBkPSJNNDE2LjYyNywxMTcuNjA0IEM0MTYuNjI3LDEzNC4zIDQwMy4wOTIsMTQ3LjgzNCAzODYuMzk2LDE0Ny44MzQgQzM2OS43MDEsMTQ3LjgzNCAzNTYuMTY2LDEzNC4zIDM1Ni4xNjYsMTE3LjYwNCBDMzU2LjE2NiwxMDAuOTA4IDM2OS43MDEsODcuMzczIDM4Ni4zOTYsODcuMzczIEM0MDMuMDkyLDg3LjM3MyA0MTYuNjI3LDEwMC45MDggNDE2LjYyNywxMTcuNjA0IiBpZD0iRmlsbC01IiBmaWxsPSIjRkZGRkZGIj48L3BhdGg+ICAgIDwvZz48L3N2Zz4=);\n\t\t}\n\n\t\t/* stylelint-disable-next-line no-descending-specificity */\n\t\t& .ck-media__placeholder__url__text {\n\t\t\tcolor: hsl(302, 100%, 94%);\n\n\t\t\t&:hover {\n\t\t\t\tcolor: hsl(0, 0%, 100%);\n\t\t\t}\n\t\t}\n\t}\n\n\t&[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder {\n\t\t/* Use gradient to contrast with focused widget (ckeditor/ckeditor5-media-embed#22). */\n\t\tbackground: linear-gradient( to right, hsl(201, 85%, 70%), hsl(201, 85%, 35%) );\n\n\t\t& .ck-media__placeholder__icon {\n\t\t\tbackground-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHZlcnNpb249IjEuMSIgaWQ9IldoaXRlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDQwMCA0MDAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQwMCA0MDA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj48c3R5bGUgdHlwZT0idGV4dC9jc3MiPi5zdDB7ZmlsbDojRkZGRkZGO308L3N0eWxlPjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00MDAsMjAwYzAsMTEwLjUtODkuNSwyMDAtMjAwLDIwMFMwLDMxMC41LDAsMjAwUzg5LjUsMCwyMDAsMFM0MDAsODkuNSw0MDAsMjAweiBNMTYzLjQsMzA1LjVjODguNywwLDEzNy4yLTczLjUsMTM3LjItMTM3LjJjMC0yLjEsMC00LjItMC4xLTYuMmM5LjQtNi44LDE3LjYtMTUuMywyNC4xLTI1Yy04LjYsMy44LTE3LjksNi40LTI3LjcsNy42YzEwLTYsMTcuNi0xNS40LDIxLjItMjYuN2MtOS4zLDUuNS0xOS42LDkuNS0zMC42LDExLjdjLTguOC05LjQtMjEuMy0xNS4yLTM1LjItMTUuMmMtMjYuNiwwLTQ4LjIsMjEuNi00OC4yLDQ4LjJjMCwzLjgsMC40LDcuNSwxLjMsMTFjLTQwLjEtMi03NS42LTIxLjItOTkuNC01MC40Yy00LjEsNy4xLTYuNSwxNS40LTYuNSwyNC4yYzAsMTYuNyw4LjUsMzEuNSwyMS41LDQwLjFjLTcuOS0wLjItMTUuMy0yLjQtMjEuOC02YzAsMC4yLDAsMC40LDAsMC42YzAsMjMuNCwxNi42LDQyLjgsMzguNyw0Ny4zYy00LDEuMS04LjMsMS43LTEyLjcsMS43Yy0zLjEsMC02LjEtMC4zLTkuMS0wLjljNi4xLDE5LjIsMjMuOSwzMy4xLDQ1LDMzLjVjLTE2LjUsMTIuOS0zNy4zLDIwLjYtNTkuOSwyMC42Yy0zLjksMC03LjctMC4yLTExLjUtMC43QzExMC44LDI5Ny41LDEzNi4yLDMwNS41LDE2My40LDMwNS41Ii8+PC9zdmc+);\n\t\t}\n\n\t\t& .ck-media__placeholder__url__text {\n\t\t\tcolor: hsl(201, 100%, 86%);\n\n\t\t\t&:hover {\n\t\t\t\tcolor: hsl(0, 0%, 100%);\n\t\t\t}\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const I=P},9292:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck.ck-media-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap}.ck.ck-media-form .ck-labeled-field-view{display:inline-block}.ck.ck-media-form .ck-label{display:none}@media screen and (max-width:600px){.ck.ck-media-form{flex-wrap:wrap}.ck.ck-media-form .ck-labeled-field-view{flex-basis:100%}.ck.ck-media-form .ck-button{flex-basis:50%}}","",{version:3,sources:["webpack://./../ckeditor5-media-embed/theme/mediaform.css","webpack://./../ckeditor5-ui/theme/mixins/_rwd.css"],names:[],mappings:"AAOA,kBAEC,sBAAuB,CADvB,YAAa,CAEb,kBAAmB,CACnB,gBAqBD,CAnBC,yCACC,oBACD,CAEA,4BACC,YACD,CCbA,oCDCD,kBAeE,cAUF,CARE,yCACC,eACD,CAEA,6BACC,cACD,CCtBD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n\n.ck.ck-media-form {\n\tdisplay: flex;\n\talign-items: flex-start;\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\n\t& .ck-labeled-field-view {\n\t\tdisplay: inline-block;\n\t}\n\n\t& .ck-label {\n\t\tdisplay: none;\n\t}\n\n\t@mixin ck-media-phone {\n\t\tflex-wrap: wrap;\n\n\t\t& .ck-labeled-field-view {\n\t\t\tflex-basis: 100%;\n\t\t}\n\n\t\t& .ck-button {\n\t\t\tflex-basis: 50%;\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@define-mixin ck-media-phone {\n\t@media screen and (max-width: 600px) {\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const I=P},7368:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck.ck-input-color{display:flex;flex-direction:row-reverse;width:100%}.ck.ck-input-color>input.ck.ck-input-text{flex-grow:1;min-width:auto}.ck.ck-input-color>div.ck.ck-dropdown{min-width:auto}.ck.ck-input-color>div.ck.ck-dropdown>.ck-input-color__button .ck-dropdown__arrow{display:none}.ck.ck-input-color .ck.ck-input-color__button{display:flex}.ck.ck-input-color .ck.ck-input-color__button .ck.ck-input-color__button__preview{overflow:hidden;position:relative}.ck.ck-input-color .ck.ck-input-color__button .ck.ck-input-color__button__preview>.ck.ck-input-color__button__preview__no-color-indicator{display:block;position:absolute}[dir=ltr] .ck.ck-input-color>.ck.ck-input-text{border-bottom-right-radius:0;border-top-right-radius:0}[dir=rtl] .ck.ck-input-color>.ck.ck-input-text{border-bottom-left-radius:0;border-top-left-radius:0}.ck.ck-input-color>.ck.ck-input-text:focus{z-index:0}.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button{padding:0}[dir=ltr] .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button{border-bottom-left-radius:0;border-top-left-radius:0}[dir=ltr] .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button:not(:focus){border-left:1px solid transparent}[dir=rtl] .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button{border-bottom-right-radius:0;border-top-right-radius:0}[dir=rtl] .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button:not(:focus){border-right:1px solid transparent}.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button.ck-disabled{background:var(--ck-color-input-disabled-background)}.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button>.ck.ck-input-color__button__preview{border-radius:0}.ck-rounded-corners .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button>.ck.ck-input-color__button__preview,.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button>.ck.ck-input-color__button__preview.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button>.ck.ck-input-color__button__preview{border:1px solid var(--ck-color-input-border);height:20px;width:20px}.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button>.ck.ck-input-color__button__preview>.ck.ck-input-color__button__preview__no-color-indicator{background:red;border-radius:2px;height:150%;left:50%;top:-30%;transform:rotate(45deg);transform-origin:50%;width:8%}.ck.ck-input-color .ck.ck-input-color__remove-color{border-bottom-left-radius:0;border-bottom-right-radius:0;padding:calc(var(--ck-spacing-standard)/2) var(--ck-spacing-standard);width:100%}.ck.ck-input-color .ck.ck-input-color__remove-color:not(:focus){border-bottom:1px solid var(--ck-color-input-border)}[dir=ltr] .ck.ck-input-color .ck.ck-input-color__remove-color{border-top-right-radius:0}[dir=rtl] .ck.ck-input-color .ck.ck-input-color__remove-color{border-top-left-radius:0}.ck.ck-input-color .ck.ck-input-color__remove-color .ck.ck-icon{margin-right:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-input-color .ck.ck-input-color__remove-color .ck.ck-icon{margin-left:var(--ck-spacing-standard);margin-right:0}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/colorinput.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/colorinput.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAKA,mBAEC,YAAa,CACb,0BAA2B,CAF3B,UAgCD,CA5BC,0CAEC,WAAY,CADZ,cAED,CAEA,sCACC,cAMD,CAHC,kFACC,YACD,CAGD,8CAEC,YAWD,CATC,kFAEC,eAAgB,CADhB,iBAOD,CAJC,0IAEC,aAAc,CADd,iBAED,CC1BF,+CAGE,4BAA6B,CAD7B,yBAcF,CAhBA,+CAQE,2BAA4B,CAD5B,wBASF,CAHC,2CACC,SACD,CAIA,wEACC,SA0CD,CA3CA,kFAKE,2BAA4B,CAD5B,wBAuCF,CApCE,8FACC,iCACD,CATF,kFAcE,4BAA6B,CAD7B,yBA8BF,CA3BE,8FACC,kCACD,CAGD,oFACC,oDACD,CAEA,4GC1CF,eD2DE,CAjBA,+PCtCD,qCDuDC,CAjBA,4GAKC,6CAA8C,CAD9C,WAAY,CADZ,UAcD,CAVC,oKAKC,cAA6B,CAC7B,iBAAkB,CAHlB,WAAY,CADZ,QAAS,CADT,QAAS,CAMT,uBAAwB,CACxB,oBAAqB,CAJrB,QAKD,CAKH,oDAIC,2BAA4B,CAC5B,4BAA6B,CAH7B,qEAAwE,CADxE,UA0BD,CApBC,gEACC,oDACD,CATD,8DAYE,yBAeF,CA3BA,8DAgBE,wBAWF,CARC,gEACC,uCAMD,CAPA,0EAKE,sCAAuC,CADvC,cAGF",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-input-color {\n\twidth: 100%;\n\tdisplay: flex;\n\tflex-direction: row-reverse;\n\n\t& > input.ck.ck-input-text {\n\t\tmin-width: auto;\n\t\tflex-grow: 1;\n\t}\n\n\t& > div.ck.ck-dropdown {\n\t\tmin-width: auto;\n\n\t\t/* This dropdown has no arrow but a color preview instead. */\n\t\t& > .ck-input-color__button .ck-dropdown__arrow {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n\n\t& .ck.ck-input-color__button {\n\t\t/* Resolving issue with misaligned buttons on Safari (see #10589) */\n\t\tdisplay: flex;\n\n\t\t& .ck.ck-input-color__button__preview {\n\t\t\tposition: relative;\n\t\t\toverflow: hidden;\n\n\t\t\t& > .ck.ck-input-color__button__preview__no-color-indicator {\n\t\t\t\tposition: absolute;\n\t\t\t\tdisplay: block;\n\t\t\t}\n\t\t}\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n@import "../mixins/_rounded.css";\n\n.ck.ck-input-color {\n\t& > .ck.ck-input-text {\n\t\t@mixin ck-dir ltr {\n\t\t\tborder-top-right-radius: 0;\n\t\t\tborder-bottom-right-radius: 0;\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\tborder-top-left-radius: 0;\n\t\t\tborder-bottom-left-radius: 0;\n\t\t}\n\n\t\t/* Make sure the focused input is always on top of the dropdown button so its\n\t\t outline and border are never cropped (also when the input is read-only). */\n\t\t&:focus {\n\t\t\tz-index: 0;\n\t\t}\n\t}\n\n\t& > .ck.ck-dropdown {\n\t\t& > .ck.ck-button.ck-input-color__button {\n\t\t\tpadding: 0;\n\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tborder-top-left-radius: 0;\n\t\t\t\tborder-bottom-left-radius: 0;\n\n\t\t\t\t&:not(:focus) {\n\t\t\t\t\tborder-left: 1px solid transparent;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tborder-top-right-radius: 0;\n\t\t\t\tborder-bottom-right-radius: 0;\n\n\t\t\t\t&:not(:focus) {\n\t\t\t\t\tborder-right: 1px solid transparent;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t&.ck-disabled {\n\t\t\t\tbackground: var(--ck-color-input-disabled-background);\n\t\t\t}\n\n\t\t\t& > .ck.ck-input-color__button__preview {\n\t\t\t\t@mixin ck-rounded-corners;\n\n\t\t\t\twidth: 20px;\n\t\t\t\theight: 20px;\n\t\t\t\tborder: 1px solid var(--ck-color-input-border);\n\n\t\t\t\t& > .ck.ck-input-color__button__preview__no-color-indicator {\n\t\t\t\t\ttop: -30%;\n\t\t\t\t\tleft: 50%;\n\t\t\t\t\theight: 150%;\n\t\t\t\t\twidth: 8%;\n\t\t\t\t\tbackground: hsl(0, 100%, 50%);\n\t\t\t\t\tborder-radius: 2px;\n\t\t\t\t\ttransform: rotate(45deg);\n\t\t\t\t\ttransform-origin: 50%;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t& .ck.ck-input-color__remove-color {\n\t\twidth: 100%;\n\t\tpadding: calc(var(--ck-spacing-standard) / 2) var(--ck-spacing-standard);\n\n\t\tborder-bottom-left-radius: 0;\n\t\tborder-bottom-right-radius: 0;\n\n\t\t&:not(:focus) {\n\t\t\tborder-bottom: 1px solid var(--ck-color-input-border);\n\t\t}\n\n\t\t@mixin ck-dir ltr {\n\t\t\tborder-top-right-radius: 0;\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\tborder-top-left-radius: 0;\n\t\t}\n\n\t\t& .ck.ck-icon {\n\t\t\tmargin-right: var(--ck-spacing-standard);\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tmargin-right: 0;\n\t\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t\t}\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const I=P},4070:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck.ck-form{padding:0 0 var(--ck-spacing-large)}.ck.ck-form:focus{outline:none}.ck.ck-form .ck.ck-input-text{min-width:100%;width:0}.ck.ck-form .ck.ck-dropdown{min-width:100%}.ck.ck-form .ck.ck-dropdown .ck-dropdown__button:not(:focus){border:1px solid var(--ck-color-base-border)}.ck.ck-form .ck.ck-dropdown .ck-dropdown__button .ck-button__label{width:100%}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/form.css"],names:[],mappings:"AAKA,YACC,mCAyBD,CAvBC,kBAEC,YACD,CAEA,8BACC,cAAe,CACf,OACD,CAEA,4BACC,cAWD,CARE,6DACC,4CACD,CAEA,mEACC,UACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-form {\n\tpadding: 0 0 var(--ck-spacing-large);\n\n\t&:focus {\n\t\t/* See: https://github.com/ckeditor/ckeditor5/issues/4773 */\n\t\toutline: none;\n\t}\n\n\t& .ck.ck-input-text {\n\t\tmin-width: 100%;\n\t\twidth: 0;\n\t}\n\n\t& .ck.ck-dropdown {\n\t\tmin-width: 100%;\n\n\t\t& .ck-dropdown__button {\n\t\t\t&:not(:focus) {\n\t\t\t\tborder: 1px solid var(--ck-color-base-border);\n\t\t\t}\n\n\t\t\t& .ck-button__label {\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const I=P},9247:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck.ck-form__row{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between}.ck.ck-form__row>:not(.ck-label){flex-grow:1}.ck.ck-form__row.ck-table-form__action-row .ck-button-cancel,.ck.ck-form__row.ck-table-form__action-row .ck-button-save{justify-content:center}.ck.ck-form__row{padding:var(--ck-spacing-standard) var(--ck-spacing-large) 0}[dir=ltr] .ck.ck-form__row>:not(.ck-label)+*{margin-left:var(--ck-spacing-large)}[dir=rtl] .ck.ck-form__row>:not(.ck-label)+*{margin-right:var(--ck-spacing-large)}.ck.ck-form__row>.ck-label{min-width:100%;width:100%}.ck.ck-form__row.ck-table-form__action-row{margin-top:var(--ck-spacing-large)}.ck.ck-form__row.ck-table-form__action-row .ck-button .ck-button__label{color:var(--ck-color-text)}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/formrow.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/formrow.css"],names:[],mappings:"AAKA,iBACC,YAAa,CACb,kBAAmB,CACnB,gBAAiB,CACjB,6BAaD,CAVC,iCACC,WACD,CAGC,wHAEC,sBACD,CCbF,iBACC,4DA2BD,CAvBE,6CAEE,mCAMF,CARA,6CAME,oCAEF,CAGD,2BAEC,cAAe,CADf,UAED,CAEA,2CACC,kCAKD,CAHC,wEACC,0BACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-form__row {\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\tjustify-content: space-between;\n\n\t/* Ignore labels that work as fieldset legends */\n\t& > *:not(.ck-label) {\n\t\tflex-grow: 1;\n\t}\n\n\t&.ck-table-form__action-row {\n\t\t& .ck-button-save,\n\t\t& .ck-button-cancel {\n\t\t\tjustify-content: center;\n\t\t}\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n.ck.ck-form__row {\n\tpadding: var(--ck-spacing-standard) var(--ck-spacing-large) 0;\n\n\t/* Ignore labels that work as fieldset legends */\n\t& > *:not(.ck-label) {\n\t\t& + * {\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tmargin-left: var(--ck-spacing-large);\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tmargin-right: var(--ck-spacing-large);\n\t\t\t}\n\t\t}\n\t}\n\n\t& > .ck-label {\n\t\twidth: 100%;\n\t\tmin-width: 100%;\n\t}\n\n\t&.ck-table-form__action-row {\n\t\tmargin-top: var(--ck-spacing-large);\n\n\t\t& .ck-button .ck-button__label {\n\t\t\tcolor: var(--ck-color-text);\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const I=P},1613:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck .ck-insert-table-dropdown__grid{display:flex;flex-direction:row;flex-wrap:wrap}:root{--ck-insert-table-dropdown-padding:10px;--ck-insert-table-dropdown-box-height:11px;--ck-insert-table-dropdown-box-width:12px;--ck-insert-table-dropdown-box-margin:1px}.ck .ck-insert-table-dropdown__grid{padding:var(--ck-insert-table-dropdown-padding) var(--ck-insert-table-dropdown-padding) 0;width:calc(var(--ck-insert-table-dropdown-box-width)*10 + var(--ck-insert-table-dropdown-box-margin)*20 + var(--ck-insert-table-dropdown-padding)*2)}.ck .ck-insert-table-dropdown__label,.ck[dir=rtl] .ck-insert-table-dropdown__label{text-align:center}.ck .ck-insert-table-dropdown-grid-box{border:1px solid var(--ck-color-base-border);border-radius:1px;margin:var(--ck-insert-table-dropdown-box-margin);min-height:var(--ck-insert-table-dropdown-box-height);min-width:var(--ck-insert-table-dropdown-box-width);outline:none;transition:none}.ck .ck-insert-table-dropdown-grid-box:focus{box-shadow:none}.ck .ck-insert-table-dropdown-grid-box.ck-on{background:var(--ck-color-focus-outer-shadow);border-color:var(--ck-color-focus-border)}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/inserttable.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/inserttable.css"],names:[],mappings:"AAKA,oCACC,YAAa,CACb,kBAAmB,CACnB,cACD,CCJA,MACC,uCAAwC,CACxC,0CAA2C,CAC3C,yCAA0C,CAC1C,yCACD,CAEA,oCAGC,yFAA0F,CAD1F,oJAED,CAEA,mFAEC,iBACD,CAEA,uCAIC,4CAA6C,CAC7C,iBAAkB,CAFlB,iDAAkD,CADlD,qDAAsD,CADtD,mDAAoD,CAKpD,YAAa,CACb,eAUD,CARC,6CACC,eACD,CAEA,6CAEC,6CAA8C,CAD9C,yCAED",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-insert-table-dropdown__grid {\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: wrap;\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-insert-table-dropdown-padding: 10px;\n\t--ck-insert-table-dropdown-box-height: 11px;\n\t--ck-insert-table-dropdown-box-width: 12px;\n\t--ck-insert-table-dropdown-box-margin: 1px;\n}\n\n.ck .ck-insert-table-dropdown__grid {\n\t/* The width of a container should match 10 items in a row so there will be a 10x10 grid. */\n\twidth: calc(var(--ck-insert-table-dropdown-box-width) * 10 + var(--ck-insert-table-dropdown-box-margin) * 20 + var(--ck-insert-table-dropdown-padding) * 2);\n\tpadding: var(--ck-insert-table-dropdown-padding) var(--ck-insert-table-dropdown-padding) 0;\n}\n\n.ck .ck-insert-table-dropdown__label,\n.ck[dir=rtl] .ck-insert-table-dropdown__label {\n\ttext-align: center;\n}\n\n.ck .ck-insert-table-dropdown-grid-box {\n\tmin-width: var(--ck-insert-table-dropdown-box-width);\n\tmin-height: var(--ck-insert-table-dropdown-box-height);\n\tmargin: var(--ck-insert-table-dropdown-box-margin);\n\tborder: 1px solid var(--ck-color-base-border);\n\tborder-radius: 1px;\n\toutline: none;\n\ttransition: none;\n\n\t&:focus {\n\t\tbox-shadow: none;\n\t}\n\n\t&.ck-on {\n\t\tborder-color: var(--ck-color-focus-border);\n\t\tbackground: var(--ck-color-focus-outer-shadow);\n\t}\n}\n\n"],sourceRoot:""}]);const I=P},6306:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck-content .table{display:table;margin:.9em auto}.ck-content .table table{border:1px double #b3b3b3;border-collapse:collapse;border-spacing:0;height:100%;width:100%}.ck-content .table table td,.ck-content .table table th{border:1px solid #bfbfbf;min-width:2em;padding:.4em}.ck-content .table table th{background:rgba(0,0,0,.05);font-weight:700}.ck-content[dir=rtl] .table th{text-align:right}.ck-content[dir=ltr] .table th{text-align:left}.ck-editor__editable .ck-table-bogus-paragraph{display:inline-block;width:100%}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/table.css"],names:[],mappings:"AAKA,mBAKC,aAAc,CADd,gBAiCD,CA9BC,yBAYC,yBAAkC,CAVlC,wBAAyB,CACzB,gBAAiB,CAKjB,WAAY,CADZ,UAsBD,CAfC,wDAQC,wBAAiC,CANjC,aAAc,CACd,YAMD,CAEA,4BAEC,0BAA+B,CAD/B,eAED,CAMF,+BACC,gBACD,CAEA,+BACC,eACD,CAEA,+CAKC,oBAAqB,CAMrB,UACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-content .table {\n\t/* Give the table widget some air and center it horizontally */\n\t/* The first value should be equal to --ck-spacing-large variable if used in the editor context\n\tto avoid the content jumping (See https://github.com/ckeditor/ckeditor5/issues/9825). */\n\tmargin: 0.9em auto;\n\tdisplay: table;\n\n\t& table {\n\t\t/* The table cells should have slight borders */\n\t\tborder-collapse: collapse;\n\t\tborder-spacing: 0;\n\n\t\t/* Table width and height are set on the parent . Make sure the table inside stretches\n\t\tto the full dimensions of the container (https://github.com/ckeditor/ckeditor5/issues/6186). */\n\t\twidth: 100%;\n\t\theight: 100%;\n\n\t\t/* The outer border of the table should be slightly darker than the inner lines.\n\t\tAlso see https://github.com/ckeditor/ckeditor5-table/issues/50. */\n\t\tborder: 1px double hsl(0, 0%, 70%);\n\n\t\t& td,\n\t\t& th {\n\t\t\tmin-width: 2em;\n\t\t\tpadding: .4em;\n\n\t\t\t/* The border is inherited from .ck-editor__nested-editable styles, so theoretically it\'s not necessary here.\n\t\t\tHowever, the border is a content style, so it should use .ck-content (so it works outside the editor).\n\t\t\tHence, the duplication. See https://github.com/ckeditor/ckeditor5/issues/6314 */\n\t\t\tborder: 1px solid hsl(0, 0%, 75%);\n\t\t}\n\n\t\t& th {\n\t\t\tfont-weight: bold;\n\t\t\tbackground: hsla(0, 0%, 0%, 5%);\n\t\t}\n\t}\n}\n\n/* Text alignment of the table header should match the editor settings and override the native browser styling,\nwhen content is available outside the editor. See https://github.com/ckeditor/ckeditor5/issues/6638 */\n.ck-content[dir="rtl"] .table th {\n\ttext-align: right;\n}\n\n.ck-content[dir="ltr"] .table th {\n\ttext-align: left;\n}\n\n.ck-editor__editable .ck-table-bogus-paragraph {\n\t/*\n\t * Use display:inline-block to force Chrome/Safari to limit text mutations to this element.\n\t * See https://github.com/ckeditor/ckeditor5/issues/6062.\n\t */\n\tdisplay: inline-block;\n\n\t/*\n\t * Inline HTML elements nested in the span should always be dimensioned in relation to the whole cell width.\n\t * See https://github.com/ckeditor/ckeditor5/issues/9117.\n\t */\n\twidth: 100%;\n}\n'],sourceRoot:""}]);const I=P},2128:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,":root{--ck-color-selector-caption-background:#f7f7f7;--ck-color-selector-caption-text:#333;--ck-color-selector-caption-highlighted-background:#fd0}.ck-content .table>figcaption{background-color:var(--ck-color-selector-caption-background);caption-side:top;color:var(--ck-color-selector-caption-text);display:table-caption;font-size:.75em;outline-offset:-1px;padding:.6em;text-align:center;word-break:break-word}.ck.ck-editor__editable .table>figcaption.table__caption_highlighted{animation:ck-table-caption-highlight .6s ease-out}.ck.ck-editor__editable .table>figcaption.ck-placeholder:before{overflow:hidden;padding-left:inherit;padding-right:inherit;text-overflow:ellipsis;white-space:nowrap}@keyframes ck-table-caption-highlight{0%{background-color:var(--ck-color-selector-caption-highlighted-background)}to{background-color:var(--ck-color-selector-caption-background)}}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/tablecaption.css"],names:[],mappings:"AAKA,MACC,8CAAuD,CACvD,qCAAiD,CACjD,uDACD,CAGA,8BAMC,4DAA6D,CAJ7D,gBAAiB,CAGjB,2CAA4C,CAJ5C,qBAAsB,CAOtB,eAAgB,CAChB,mBAAoB,CAFpB,YAAa,CAHb,iBAAkB,CADlB,qBAOD,CAIC,qEACC,iDACD,CAEA,gEASC,eAAgB,CARhB,oBAAqB,CACrB,qBAAsB,CAQtB,sBAAuB,CAFvB,kBAGD,CAGD,sCACC,GACC,wEACD,CAEA,GACC,4DACD,CACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-selector-caption-background: hsl(0, 0%, 97%);\n\t--ck-color-selector-caption-text: hsl(0, 0%, 20%);\n\t--ck-color-selector-caption-highlighted-background: hsl(52deg 100% 50%);\n}\n\n/* Content styles */\n.ck-content .table > figcaption {\n\tdisplay: table-caption;\n\tcaption-side: top;\n\tword-break: break-word;\n\ttext-align: center;\n\tcolor: var(--ck-color-selector-caption-text);\n\tbackground-color: var(--ck-color-selector-caption-background);\n\tpadding: .6em;\n\tfont-size: .75em;\n\toutline-offset: -1px;\n}\n\n/* Editing styles */\n.ck.ck-editor__editable .table > figcaption {\n\t&.table__caption_highlighted {\n\t\tanimation: ck-table-caption-highlight .6s ease-out;\n\t}\n\n\t&.ck-placeholder::before {\n\t\tpadding-left: inherit;\n\t\tpadding-right: inherit;\n\n\t\t/*\n\t\t * Make sure the table caption placeholder doesn't overflow the placeholder area.\n\t\t * See https://github.com/ckeditor/ckeditor5/issues/9162.\n\t\t */\n\t\twhite-space: nowrap;\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t}\n}\n\n@keyframes ck-table-caption-highlight {\n\t0% {\n\t\tbackground-color: var(--ck-color-selector-caption-highlighted-background);\n\t}\n\n\t100% {\n\t\tbackground-color: var(--ck-color-selector-caption-background);\n\t}\n}\n"],sourceRoot:""}]);const I=P},5087:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row{flex-wrap:wrap}.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row .ck.ck-toolbar:first-of-type{flex-grow:0.57}.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row .ck.ck-toolbar:last-of-type{flex-grow:0.43}.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row .ck.ck-toolbar .ck-button{flex-grow:1}.ck.ck-table-cell-properties-form{width:320px}.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__padding-row{align-self:flex-end;padding:0;width:25%}.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row .ck.ck-toolbar{background:none;margin-top:var(--ck-spacing-standard)}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/tablecellproperties.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/tablecellproperties.css"],names:[],mappings:"AAOE,6FACC,cAiBD,CAdE,0HAEC,cACD,CAEA,yHAEC,cACD,CAEA,uHACC,WACD,CClBJ,kCACC,WAkBD,CAfE,2FACC,mBAAoB,CACpB,SAAU,CACV,SACD,CAGC,4GACC,eAAgB,CAGhB,qCACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-table-cell-properties-form {\n\t& .ck-form__row {\n\t\t&.ck-table-cell-properties-form__alignment-row {\n\t\t\tflex-wrap: wrap;\n\n\t\t\t& .ck.ck-toolbar {\n\t\t\t\t&:first-of-type {\n\t\t\t\t\t/* 4 buttons out of 7 (h-alignment + v-alignment) = 0.57 */\n\t\t\t\t\tflex-grow: 0.57;\n\t\t\t\t}\n\n\t\t\t\t&:last-of-type {\n\t\t\t\t\t/* 3 buttons out of 7 (h-alignment + v-alignment) = 0.43 */\n\t\t\t\t\tflex-grow: 0.43;\n\t\t\t\t}\n\n\t\t\t\t& .ck-button {\n\t\t\t\t\tflex-grow: 1;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-table-cell-properties-form {\n\twidth: 320px;\n\n\t& .ck-form__row {\n\t\t&.ck-table-cell-properties-form__padding-row {\n\t\t\talign-self: flex-end;\n\t\t\tpadding: 0;\n\t\t\twidth: 25%;\n\t\t}\n\n\t\t&.ck-table-cell-properties-form__alignment-row {\n\t\t\t& .ck.ck-toolbar {\n\t\t\t\tbackground: none;\n\n\t\t\t\t/* Compensate for missing input label that would push the margin (toolbar has no inputs). */\n\t\t\t\tmargin-top: var(--ck-spacing-standard);\n\t\t\t}\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const I=P},4101:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,":root{--ck-color-selector-column-resizer-hover:var(--ck-color-base-active);--ck-table-column-resizer-width:7px;--ck-table-column-resizer-position-offset:calc(var(--ck-table-column-resizer-width)*-0.5 - 0.5px)}.ck-content .table .ck-table-resized{table-layout:fixed}.ck-content .table table{overflow:hidden}.ck-content .table td,.ck-content .table th{overflow-wrap:break-word;position:relative}.ck.ck-editor__editable .table .ck-table-column-resizer{bottom:0;cursor:col-resize;position:absolute;right:var(--ck-table-column-resizer-position-offset);top:0;user-select:none;width:var(--ck-table-column-resizer-width);z-index:var(--ck-z-default)}.ck.ck-editor__editable .table[draggable] .ck-table-column-resizer,.ck.ck-editor__editable.ck-column-resize_disabled .table .ck-table-column-resizer{display:none}.ck.ck-editor__editable .table .ck-table-column-resizer:hover,.ck.ck-editor__editable .table .ck-table-column-resizer__active{background-color:var(--ck-color-selector-column-resizer-hover);bottom:-999999px;opacity:.25;top:-999999px}.ck.ck-editor__editable[dir=rtl] .table .ck-table-column-resizer{left:var(--ck-table-column-resizer-position-offset);right:unset}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/tablecolumnresize.css"],names:[],mappings:"AAKA,MACC,oEAAqE,CACrE,mCAAoC,CAIpC,iGACD,CAEA,qCACC,kBACD,CAEA,yBACC,eACD,CAEA,4CAIC,wBAAyB,CACzB,iBACD,CAEA,wDAGC,QAAS,CAGT,iBAAkB,CALlB,iBAAkB,CAGlB,oDAAqD,CAFrD,KAAM,CAKN,gBAAiB,CAFjB,0CAA2C,CAG3C,2BACD,CAQA,qJACC,YACD,CAEA,8HAEC,8DAA+D,CAO/D,gBAAiB,CANjB,WAAa,CAKb,aAED,CAEA,iEACC,mDAAoD,CACpD,WACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-selector-column-resizer-hover: var(--ck-color-base-active);\n\t--ck-table-column-resizer-width: 7px;\n\n\t/* The offset used for absolute positioning of the resizer element, so that it is placed exactly above the cell border.\n\t The value is: minus half the width of the resizer decreased additionaly by the half the width of the border (0.5px). */\n\t--ck-table-column-resizer-position-offset: calc(var(--ck-table-column-resizer-width) * -0.5 - 0.5px);\n}\n\n.ck-content .table .ck-table-resized {\n\ttable-layout: fixed;\n}\n\n.ck-content .table table {\n\toverflow: hidden;\n}\n\n.ck-content .table td,\n.ck-content .table th {\n\t/* To prevent text overflowing beyond its cell when columns are resized by resize handler\n\t(https://github.com/ckeditor/ckeditor5/pull/14379#issuecomment-1589460978). */\n\toverflow-wrap: break-word;\n\tposition: relative;\n}\n\n.ck.ck-editor__editable .table .ck-table-column-resizer {\n\tposition: absolute;\n\ttop: 0;\n\tbottom: 0;\n\tright: var(--ck-table-column-resizer-position-offset);\n\twidth: var(--ck-table-column-resizer-width);\n\tcursor: col-resize;\n\tuser-select: none;\n\tz-index: var(--ck-z-default);\n}\n\n.ck.ck-editor__editable.ck-column-resize_disabled .table .ck-table-column-resizer {\n\tdisplay: none;\n}\n\n/* The resizer elements, which are extended to an extremely high height, break the drag & drop feature in Chrome. To make it work again,\n all resizers must be hidden while the table is dragged. */\n.ck.ck-editor__editable .table[draggable] .ck-table-column-resizer {\n\tdisplay: none;\n}\n\n.ck.ck-editor__editable .table .ck-table-column-resizer:hover,\n.ck.ck-editor__editable .table .ck-table-column-resizer__active {\n\tbackground-color: var(--ck-color-selector-column-resizer-hover);\n\topacity: 0.25;\n\t/* The resizer element resides in each cell so to occupy the entire height of the table, which is unknown from a CSS point of view,\n\t it is extended to an extremely high height. Even for screens with a very high pixel density, the resizer will fulfill its role as\n\t it should, i.e. for a screen of 476 ppi the total height of the resizer will take over 350 sheets of A4 format, which is totally\n\t unrealistic height for a single table. */\n\ttop: -999999px;\n\tbottom: -999999px;\n}\n\n.ck.ck-editor__editable[dir=rtl] .table .ck-table-column-resizer {\n\tleft: var(--ck-table-column-resizer-position-offset);\n\tright: unset;\n}\n"],sourceRoot:""}]);const I=P},3881:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,":root{--ck-color-selector-focused-cell-background:rgba(158,201,250,.3)}.ck-widget.table td.ck-editor__nested-editable.ck-editor__nested-editable_focused,.ck-widget.table td.ck-editor__nested-editable:focus,.ck-widget.table th.ck-editor__nested-editable.ck-editor__nested-editable_focused,.ck-widget.table th.ck-editor__nested-editable:focus{background:var(--ck-color-selector-focused-cell-background);border-style:none;outline:1px solid var(--ck-color-focus-border);outline-offset:-1px}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/tableediting.css"],names:[],mappings:"AAKA,MACC,gEACD,CAKE,8QAGC,2DAA4D,CAK5D,iBAAkB,CAClB,8CAA+C,CAC/C,mBACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-selector-focused-cell-background: hsla(212, 90%, 80%, .3);\n}\n\n.ck-widget.table {\n\t& td,\n\t& th {\n\t\t&.ck-editor__nested-editable.ck-editor__nested-editable_focused,\n\t\t&.ck-editor__nested-editable:focus {\n\t\t\t/* A very slight background to highlight the focused cell */\n\t\t\tbackground: var(--ck-color-selector-focused-cell-background);\n\n\t\t\t/* Fixes the problem where surrounding cells cover the focused cell's border.\n\t\t\tIt does not fix the problem in all places but the UX is improved.\n\t\t\tSee https://github.com/ckeditor/ckeditor5-table/issues/29. */\n\t\t\tborder-style: none;\n\t\t\toutline: 1px solid var(--ck-color-focus-border);\n\t\t\toutline-offset: -1px; /* progressive enhancement - no IE support */\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const I=P},6237:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,'.ck.ck-table-form .ck-form__row.ck-table-form__background-row,.ck.ck-table-form .ck-form__row.ck-table-form__border-row{flex-wrap:wrap}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row{align-items:center;flex-wrap:wrap}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-labeled-field-view{align-items:center;display:flex;flex-direction:column-reverse}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-labeled-field-view .ck.ck-dropdown,.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimension-operator{flex-grow:0}.ck.ck-table-form .ck.ck-labeled-field-view{position:relative}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status{bottom:calc(var(--ck-table-properties-error-arrow-size)*-1);left:50%;position:absolute;transform:translate(-50%,100%);z-index:1}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status:after{content:"";left:50%;position:absolute;top:calc(var(--ck-table-properties-error-arrow-size)*-1);transform:translateX(-50%)}:root{--ck-table-properties-error-arrow-size:6px;--ck-table-properties-min-error-width:150px}.ck.ck-table-form .ck-form__row.ck-table-form__border-row .ck-labeled-field-view>.ck-label{font-size:var(--ck-font-size-tiny);text-align:center}.ck.ck-table-form .ck-form__row.ck-table-form__border-row .ck-table-form__border-style,.ck.ck-table-form .ck-form__row.ck-table-form__border-row .ck-table-form__border-width{max-width:80px;min-width:80px;width:80px}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row{padding:0}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimensions-row__height,.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimensions-row__width{margin:0}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimension-operator{align-self:flex-end;display:inline-block;height:var(--ck-ui-component-min-height);line-height:var(--ck-ui-component-min-height);margin:0 var(--ck-spacing-small)}.ck.ck-table-form .ck.ck-labeled-field-view{padding-top:var(--ck-spacing-standard)}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status{border-radius:0}.ck-rounded-corners .ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status,.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status{background:var(--ck-color-base-error);color:var(--ck-color-base-background);min-width:var(--ck-table-properties-min-error-width);padding:var(--ck-spacing-small) var(--ck-spacing-medium);text-align:center}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status:after{border-color:transparent transparent var(--ck-color-base-error) transparent;border-style:solid;border-width:0 var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size)}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status{animation:ck-table-form-labeled-view-status-appear .15s ease both}.ck.ck-table-form .ck.ck-labeled-field-view .ck-input.ck-error:not(:focus)+.ck.ck-labeled-field-view__status{display:none}@keyframes ck-table-form-labeled-view-status-appear{0%{opacity:0}to{opacity:1}}',"",{version:3,sources:["webpack://./../ckeditor5-table/theme/tableform.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/tableform.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAWE,wHACC,cACD,CAEA,8DAEC,kBAAmB,CADnB,cAgBD,CAbC,qFAGC,kBAAmB,CAFnB,YAAa,CACb,6BAMD,CAEA,sMACC,WACD,CAIF,4CAEC,iBAoBD,CAlBC,8EAGC,2DAAgE,CADhE,QAAS,CADT,iBAAkB,CAGlB,8BAA+B,CAG/B,SAUD,CAPC,oFACC,UAAW,CAGX,QAAS,CAFT,iBAAkB,CAClB,wDAA6D,CAE7D,0BACD,CChDH,MACC,0CAA2C,CAC3C,2CACD,CAMI,2FACC,kCAAmC,CACnC,iBACD,CAGD,8KAIC,cAAe,CADf,cAAe,CADf,UAGD,CAGD,8DACC,SAcD,CAZC,yMAEC,QACD,CAEA,iGACC,mBAAoB,CACpB,oBAAqB,CACrB,wCAAyC,CACzC,6CAA8C,CAC9C,gCACD,CAIF,4CACC,sCAyBD,CAvBC,8ECxCD,eDyDC,CAjBA,mMCpCA,qCDqDA,CAjBA,8EAGC,qCAAsC,CACtC,qCAAsC,CAEtC,oDAAqD,CADrD,wDAAyD,CAEzD,iBAUD,CAPC,oFACC,2EAA4E,CAE5E,kBAAmB,CADnB,kJAED,CAdD,8EAgBC,iEACD,CAGA,6GACC,YACD,CAIF,oDACC,GACC,SACD,CAEA,GACC,SACD,CACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-table-form {\n\t& .ck-form__row {\n\t\t&.ck-table-form__border-row {\n\t\t\tflex-wrap: wrap;\n\t\t}\n\n\t\t&.ck-table-form__background-row {\n\t\t\tflex-wrap: wrap;\n\t\t}\n\n\t\t&.ck-table-form__dimensions-row {\n\t\t\tflex-wrap: wrap;\n\t\t\talign-items: center;\n\n\t\t\t& .ck-labeled-field-view {\n\t\t\t\tdisplay: flex;\n\t\t\t\tflex-direction: column-reverse;\n\t\t\t\talign-items: center;\n\n\t\t\t\t& .ck.ck-dropdown {\n\t\t\t\t\tflex-grow: 0;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t& .ck-table-form__dimension-operator {\n\t\t\t\tflex-grow: 0;\n\t\t\t}\n\t\t}\n\t}\n\n\t& .ck.ck-labeled-field-view {\n\t\t/* Allow absolute positioning of the status (error) balloons. */\n\t\tposition: relative;\n\n\t\t& .ck.ck-labeled-field-view__status {\n\t\t\tposition: absolute;\n\t\t\tleft: 50%;\n\t\t\tbottom: calc( -1 * var(--ck-table-properties-error-arrow-size) );\n\t\t\ttransform: translate(-50%,100%);\n\n\t\t\t/* Make sure the balloon status stays on top of other form elements. */\n\t\t\tz-index: 1;\n\n\t\t\t/* The arrow pointing towards the field. */\n\t\t\t&::after {\n\t\t\t\tcontent: "";\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: calc( -1 * var(--ck-table-properties-error-arrow-size) );\n\t\t\t\tleft: 50%;\n\t\t\t\ttransform: translateX( -50% );\n\t\t\t}\n\t\t}\n\t}\n}\n','/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../mixins/_rounded.css";\n\n:root {\n\t--ck-table-properties-error-arrow-size: 6px;\n\t--ck-table-properties-min-error-width: 150px;\n}\n\n.ck.ck-table-form {\n\t& .ck-form__row {\n\t\t&.ck-table-form__border-row {\n\t\t\t& .ck-labeled-field-view {\n\t\t\t\t& > .ck-label {\n\t\t\t\t\tfont-size: var(--ck-font-size-tiny);\n\t\t\t\t\ttext-align: center;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t& .ck-table-form__border-style,\n\t\t\t& .ck-table-form__border-width {\n\t\t\t\twidth: 80px;\n\t\t\t\tmin-width: 80px;\n\t\t\t\tmax-width: 80px;\n\t\t\t}\n\t\t}\n\n\t\t&.ck-table-form__dimensions-row {\n\t\t\tpadding: 0;\n\n\t\t\t& .ck-table-form__dimensions-row__width,\n\t\t\t& .ck-table-form__dimensions-row__height {\n\t\t\t\tmargin: 0\n\t\t\t}\n\n\t\t\t& .ck-table-form__dimension-operator {\n\t\t\t\talign-self: flex-end;\n\t\t\t\tdisplay: inline-block;\n\t\t\t\theight: var(--ck-ui-component-min-height);\n\t\t\t\tline-height: var(--ck-ui-component-min-height);\n\t\t\t\tmargin: 0 var(--ck-spacing-small);\n\t\t\t}\n\t\t}\n\t}\n\n\t& .ck.ck-labeled-field-view {\n\t\tpadding-top: var(--ck-spacing-standard);\n\n\t\t& .ck.ck-labeled-field-view__status {\n\t\t\t@mixin ck-rounded-corners;\n\n\t\t\tbackground: var(--ck-color-base-error);\n\t\t\tcolor: var(--ck-color-base-background);\n\t\t\tpadding: var(--ck-spacing-small) var(--ck-spacing-medium);\n\t\t\tmin-width: var(--ck-table-properties-min-error-width);\n\t\t\ttext-align: center;\n\n\t\t\t/* The arrow pointing towards the field. */\n\t\t\t&::after {\n\t\t\t\tborder-color: transparent transparent var(--ck-color-base-error) transparent;\n\t\t\t\tborder-width: 0 var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size);\n\t\t\t\tborder-style: solid;\n\t\t\t}\n\n\t\t\tanimation: ck-table-form-labeled-view-status-appear .15s ease both;\n\t\t}\n\n\t\t/* Hide the error balloon when the field is blurred. Makes the experience much more clear. */\n\t\t& .ck-input.ck-error:not(:focus) + .ck.ck-labeled-field-view__status {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n}\n\n@keyframes ck-table-form-labeled-view-status-appear {\n\t0% {\n\t\topacity: 0;\n\t}\n\n\t100% {\n\t\topacity: 1;\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const I=P},7341:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row{align-content:baseline;flex-basis:0;flex-wrap:wrap}.ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row .ck.ck-toolbar .ck-toolbar__items{flex-wrap:nowrap}.ck.ck-table-properties-form{width:320px}.ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row{align-self:flex-end;padding:0}.ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row .ck.ck-toolbar{background:none;margin-top:var(--ck-spacing-standard)}.ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row .ck.ck-toolbar .ck-toolbar__items>*{width:40px}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/tableproperties.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/tableproperties.css"],names:[],mappings:"AAOE,mFAGC,sBAAuB,CADvB,YAAa,CADb,cAOD,CAHC,qHACC,gBACD,CCTH,6BACC,WAmBD,CAhBE,mFACC,mBAAoB,CACpB,SAYD,CAVC,kGACC,eAAgB,CAGhB,qCAKD,CAHC,uHACC,UACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-table-properties-form {\n\t& .ck-form__row {\n\t\t&.ck-table-properties-form__alignment-row {\n\t\t\tflex-wrap: wrap;\n\t\t\tflex-basis: 0;\n\t\t\talign-content: baseline;\n\n\t\t\t& .ck.ck-toolbar .ck-toolbar__items {\n\t\t\t\tflex-wrap: nowrap;\n\t\t\t}\n\t\t}\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-table-properties-form {\n\twidth: 320px;\n\n\t& .ck-form__row {\n\t\t&.ck-table-properties-form__alignment-row {\n\t\t\talign-self: flex-end;\n\t\t\tpadding: 0;\n\n\t\t\t& .ck.ck-toolbar {\n\t\t\t\tbackground: none;\n\n\t\t\t\t/* Compensate for missing input label that would push the margin (toolbar has no inputs). */\n\t\t\t\tmargin-top: var(--ck-spacing-standard);\n\n\t\t\t\t& .ck-toolbar__items > * {\n\t\t\t\t\twidth: 40px;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const I=P},6945:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,':root{--ck-table-selected-cell-background:rgba(158,207,250,.3)}.ck.ck-editor__editable .table table td.ck-editor__editable_selected,.ck.ck-editor__editable .table table th.ck-editor__editable_selected{box-shadow:unset;caret-color:transparent;outline:unset;position:relative}.ck.ck-editor__editable .table table td.ck-editor__editable_selected:after,.ck.ck-editor__editable .table table th.ck-editor__editable_selected:after{background-color:var(--ck-table-selected-cell-background);bottom:0;content:"";left:0;pointer-events:none;position:absolute;right:0;top:0}.ck.ck-editor__editable .table table td.ck-editor__editable_selected ::selection,.ck.ck-editor__editable .table table td.ck-editor__editable_selected:focus,.ck.ck-editor__editable .table table th.ck-editor__editable_selected ::selection,.ck.ck-editor__editable .table table th.ck-editor__editable_selected:focus{background-color:transparent}.ck.ck-editor__editable .table table td.ck-editor__editable_selected .ck-widget,.ck.ck-editor__editable .table table th.ck-editor__editable_selected .ck-widget{outline:unset}.ck.ck-editor__editable .table table td.ck-editor__editable_selected .ck-widget>.ck-widget__selection-handle,.ck.ck-editor__editable .table table th.ck-editor__editable_selected .ck-widget>.ck-widget__selection-handle{display:none}',"",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/tableselection.css"],names:[],mappings:"AAKA,MACC,wDACD,CAGC,0IAKC,gBAAiB,CAFjB,uBAAwB,CACxB,aAAc,CAFd,iBAiCD,CA3BC,sJAGC,yDAA0D,CAK1D,QAAS,CAPT,UAAW,CAKX,MAAO,CAJP,mBAAoB,CAEpB,iBAAkB,CAGlB,OAAQ,CAFR,KAID,CAEA,wTAEC,4BACD,CAMA,gKACC,aAKD,CAHC,0NACC,YACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-table-selected-cell-background: hsla(208, 90%, 80%, .3);\n}\n\n.ck.ck-editor__editable .table table {\n\t& td.ck-editor__editable_selected,\n\t& th.ck-editor__editable_selected {\n\t\tposition: relative;\n\t\tcaret-color: transparent;\n\t\toutline: unset;\n\t\tbox-shadow: unset;\n\n\t\t/* https://github.com/ckeditor/ckeditor5/issues/6446 */\n\t\t&:after {\n\t\t\tcontent: '';\n\t\t\tpointer-events: none;\n\t\t\tbackground-color: var(--ck-table-selected-cell-background);\n\t\t\tposition: absolute;\n\t\t\ttop: 0;\n\t\t\tleft: 0;\n\t\t\tright: 0;\n\t\t\tbottom: 0;\n\t\t}\n\n\t\t& ::selection,\n\t\t&:focus {\n\t\t\tbackground-color: transparent;\n\t\t}\n\n\t\t/*\n\t\t * To reduce the amount of noise, all widgets in the table selection have no outline and no selection handle.\n\t\t * See https://github.com/ckeditor/ckeditor5/issues/9491.\n\t\t */\n\t\t& .ck-widget {\n\t\t\toutline: unset;\n\n\t\t\t& > .ck-widget__selection-handle {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const I=P},8157:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck.ck-autocomplete{position:relative}.ck.ck-autocomplete>.ck-search__results{position:absolute;z-index:var(--ck-z-modal)}.ck.ck-autocomplete>.ck-search__results.ck-search__results_n{bottom:100%}.ck.ck-autocomplete>.ck-search__results.ck-search__results_s{bottom:auto;top:100%}.ck.ck-autocomplete>.ck-search__results{border-radius:0}.ck-rounded-corners .ck.ck-autocomplete>.ck-search__results,.ck.ck-autocomplete>.ck-search__results.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-autocomplete>.ck-search__results{background:var(--ck-color-base-background);border:1px solid var(--ck-color-dropdown-panel-border);box-shadow:var(--ck-drop-shadow),0 0;max-height:200px;min-width:auto;overflow-y:auto}.ck.ck-autocomplete>.ck-search__results.ck-search__results_n{border-bottom-left-radius:0;border-bottom-right-radius:0;margin-bottom:-1px}.ck.ck-autocomplete>.ck-search__results.ck-search__results_s{border-top-left-radius:0;border-top-right-radius:0;margin-top:-1px}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/autocomplete/autocomplete.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/autocomplete/autocomplete.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAKA,oBACC,iBAeD,CAbC,wCACC,iBAAkB,CAClB,yBAUD,CARC,6DACC,WACD,CAEA,6DAEC,WAAY,CADZ,QAED,CCVD,wCCEA,eDuBA,CAzBA,uHCMC,qCDmBD,CAzBA,wCAMC,0CAA2C,CAC3C,sDAAuD,CEPxD,oCAA8B,CFI7B,gBAAiB,CAIjB,cAAe,CAHf,eAoBD,CAfC,6DACC,2BAA4B,CAC5B,4BAA6B,CAG7B,kBACD,CAEA,6DACC,wBAAyB,CACzB,yBAA0B,CAG1B,eACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-autocomplete {\n\tposition: relative;\n\n\t& > .ck-search__results {\n\t\tposition: absolute;\n\t\tz-index: var(--ck-z-modal);\n\n\t\t&.ck-search__results_n {\n\t\t\tbottom: 100%;\n\t\t}\n\n\t\t&.ck-search__results_s {\n\t\t\ttop: 100%;\n\t\t\tbottom: auto;\n\t\t}\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_rounded.css";\n@import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_shadow.css";\n\n.ck.ck-autocomplete {\n\t& > .ck-search__results {\n\t\t@mixin ck-rounded-corners;\n\t\t@mixin ck-drop-shadow;\n\n\t\tmax-height: 200px;\n\t\toverflow-y: auto;\n\t\tbackground: var(--ck-color-base-background);\n\t\tborder: 1px solid var(--ck-color-dropdown-panel-border);\n\t\tmin-width: auto;\n\n\t\t&.ck-search__results_n {\n\t\t\tborder-bottom-left-radius: 0;\n\t\t\tborder-bottom-right-radius: 0;\n\n\t\t\t/* Prevent duplicated borders between the input and the results pane. */\n\t\t\tmargin-bottom: -1px;\n\t\t}\n\n\t\t&.ck-search__results_s {\n\t\t\tborder-top-left-radius: 0;\n\t\t\tborder-top-right-radius: 0;\n\n\t\t\t/* Prevent duplicated borders between the input and the results pane. */\n\t\t\tmargin-top: -1px;\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const I=P},4906:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck.ck-button,a.ck.ck-button{align-items:center;display:inline-flex;justify-content:left;position:relative;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ck.ck-button .ck-button__label,a.ck.ck-button .ck-button__label{display:none}.ck.ck-button.ck-button_with-text .ck-button__label,a.ck.ck-button.ck-button_with-text .ck-button__label{display:inline-block}.ck.ck-button:not(.ck-button_with-text),a.ck.ck-button:not(.ck-button_with-text){justify-content:center}.ck.ck-button,a.ck.ck-button{background:var(--ck-color-button-default-background)}.ck.ck-button:not(.ck-disabled):hover,a.ck.ck-button:not(.ck-disabled):hover{background:var(--ck-color-button-default-hover-background)}.ck.ck-button:not(.ck-disabled):active,a.ck.ck-button:not(.ck-disabled):active{background:var(--ck-color-button-default-active-background)}.ck.ck-button.ck-disabled,a.ck.ck-button.ck-disabled{background:var(--ck-color-button-default-disabled-background)}.ck.ck-button,a.ck.ck-button{border-radius:0}.ck-rounded-corners .ck.ck-button,.ck-rounded-corners a.ck.ck-button,.ck.ck-button.ck-rounded-corners,a.ck.ck-button.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-button,a.ck.ck-button{-webkit-appearance:none;border:1px solid transparent;cursor:default;font-size:inherit;line-height:1;min-height:var(--ck-ui-component-min-height);min-width:var(--ck-ui-component-min-height);padding:var(--ck-spacing-tiny);text-align:center;transition:box-shadow .2s ease-in-out,border .2s ease-in-out;vertical-align:middle;white-space:nowrap}.ck.ck-button:active,.ck.ck-button:focus,a.ck.ck-button:active,a.ck.ck-button:focus{border:var(--ck-focus-ring);box-shadow:var(--ck-focus-outer-shadow),0 0;outline:none}.ck.ck-button .ck-button__icon use,.ck.ck-button .ck-button__icon use *,a.ck.ck-button .ck-button__icon use,a.ck.ck-button .ck-button__icon use *{color:inherit}.ck.ck-button .ck-button__label,a.ck.ck-button .ck-button__label{color:inherit;cursor:inherit;font-size:inherit;font-weight:inherit;vertical-align:middle}[dir=ltr] .ck.ck-button .ck-button__label,[dir=ltr] a.ck.ck-button .ck-button__label{text-align:left}[dir=rtl] .ck.ck-button .ck-button__label,[dir=rtl] a.ck.ck-button .ck-button__label{text-align:right}.ck.ck-button .ck-button__keystroke,a.ck.ck-button .ck-button__keystroke{color:inherit}[dir=ltr] .ck.ck-button .ck-button__keystroke,[dir=ltr] a.ck.ck-button .ck-button__keystroke{margin-left:var(--ck-spacing-large)}[dir=rtl] .ck.ck-button .ck-button__keystroke,[dir=rtl] a.ck.ck-button .ck-button__keystroke{margin-right:var(--ck-spacing-large)}.ck.ck-button .ck-button__keystroke,a.ck.ck-button .ck-button__keystroke{font-weight:700;opacity:.7}.ck.ck-button.ck-disabled:active,.ck.ck-button.ck-disabled:focus,a.ck.ck-button.ck-disabled:active,a.ck.ck-button.ck-disabled:focus{box-shadow:var(--ck-focus-disabled-outer-shadow),0 0}.ck.ck-button.ck-disabled .ck-button__icon,.ck.ck-button.ck-disabled .ck-button__label,a.ck.ck-button.ck-disabled .ck-button__icon,a.ck.ck-button.ck-disabled .ck-button__label{opacity:var(--ck-disabled-opacity)}.ck.ck-button.ck-disabled .ck-button__keystroke,a.ck.ck-button.ck-disabled .ck-button__keystroke{opacity:.3}.ck.ck-button.ck-button_with-text,a.ck.ck-button.ck-button_with-text{padding:var(--ck-spacing-tiny) var(--ck-spacing-standard)}[dir=ltr] .ck.ck-button.ck-button_with-text .ck-button__icon,[dir=ltr] a.ck.ck-button.ck-button_with-text .ck-button__icon{margin-left:calc(var(--ck-spacing-small)*-1);margin-right:var(--ck-spacing-small)}[dir=rtl] .ck.ck-button.ck-button_with-text .ck-button__icon,[dir=rtl] a.ck.ck-button.ck-button_with-text .ck-button__icon{margin-left:var(--ck-spacing-small);margin-right:calc(var(--ck-spacing-small)*-1)}.ck.ck-button.ck-button_with-keystroke .ck-button__label,a.ck.ck-button.ck-button_with-keystroke .ck-button__label{flex-grow:1}.ck.ck-button.ck-on,a.ck.ck-button.ck-on{background:var(--ck-color-button-on-background)}.ck.ck-button.ck-on:not(.ck-disabled):hover,a.ck.ck-button.ck-on:not(.ck-disabled):hover{background:var(--ck-color-button-on-hover-background)}.ck.ck-button.ck-on:not(.ck-disabled):active,a.ck.ck-button.ck-on:not(.ck-disabled):active{background:var(--ck-color-button-on-active-background)}.ck.ck-button.ck-on.ck-disabled,a.ck.ck-button.ck-on.ck-disabled{background:var(--ck-color-button-on-disabled-background)}.ck.ck-button.ck-on,a.ck.ck-button.ck-on{color:var(--ck-color-button-on-color)}.ck.ck-button.ck-button-save,a.ck.ck-button.ck-button-save{color:var(--ck-color-button-save)}.ck.ck-button.ck-button-cancel,a.ck.ck-button.ck-button-cancel{color:var(--ck-color-button-cancel)}.ck.ck-button-action,a.ck.ck-button-action{background:var(--ck-color-button-action-background)}.ck.ck-button-action:not(.ck-disabled):hover,a.ck.ck-button-action:not(.ck-disabled):hover{background:var(--ck-color-button-action-hover-background)}.ck.ck-button-action:not(.ck-disabled):active,a.ck.ck-button-action:not(.ck-disabled):active{background:var(--ck-color-button-action-active-background)}.ck.ck-button-action.ck-disabled,a.ck.ck-button-action.ck-disabled{background:var(--ck-color-button-action-disabled-background)}.ck.ck-button-action,a.ck.ck-button-action{color:var(--ck-color-button-action-text)}.ck.ck-button-bold,a.ck.ck-button-bold{font-weight:700}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/button/button.css","webpack://./../ckeditor5-ui/theme/mixins/_unselectable.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/button/button.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/mixins/_button.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_focus.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_disabled.css"],names:[],mappings:"AAOA,6BAMC,kBAAmB,CADnB,mBAAoB,CAEpB,oBAAqB,CAHrB,iBAAkB,CCFlB,qBAAsB,CACtB,wBAAyB,CACzB,oBAAqB,CACrB,gBDkBD,CAdC,iEACC,YACD,CAGC,yGACC,oBACD,CAID,iFACC,sBACD,CEjBD,6BCAC,oDD4ID,CCzIE,6EACC,0DACD,CAEA,+EACC,2DACD,CAID,qDACC,6DACD,CDfD,6BEDC,eF6ID,CA5IA,wIEGE,qCFyIF,CA5IA,6BA6BC,uBAAwB,CANxB,4BAA6B,CAjB7B,cAAe,CAcf,iBAAkB,CAHlB,aAAc,CAJd,4CAA6C,CAD7C,2CAA4C,CAJ5C,8BAA+B,CAC/B,iBAAkB,CAiBlB,4DAA8D,CAnB9D,qBAAsB,CAFtB,kBAuID,CA7GC,oFGhCA,2BAA2B,CCF3B,2CAA8B,CDC9B,YHqCA,CAIC,kJAEC,aACD,CAGD,iEAIC,aAAc,CACd,cAAe,CAHf,iBAAkB,CAClB,mBAAoB,CAMpB,qBASD,CAlBA,qFAYE,eAMF,CAlBA,qFAgBE,gBAEF,CAEA,yEACC,aAYD,CAbA,6FAIE,mCASF,CAbA,6FAQE,oCAKF,CAbA,yEAWC,eAAiB,CACjB,UACD,CAIC,oIIrFD,oDJyFC,CAOA,gLKhGD,kCLkGC,CAEA,iGACC,UACD,CAGD,qEACC,yDAcD,CAXC,2HAEE,4CAA+C,CAC/C,oCAOF,CAVA,2HAQE,mCAAoC,CADpC,6CAGF,CAKA,mHACC,WACD,CAID,yCC/HA,+CDmIA,CChIC,yFACC,qDACD,CAEA,2FACC,sDACD,CAID,iEACC,wDACD,CDgHA,yCAGC,qCACD,CAEA,2DACC,iCACD,CAEA,+DACC,mCACD,CAID,2CC/IC,mDDoJD,CCjJE,2FACC,yDACD,CAEA,6FACC,0DACD,CAID,mEACC,4DACD,CDgID,2CAIC,wCACD,CAEA,uCAEC,eACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../mixins/_unselectable.css";\n\n.ck.ck-button,\na.ck.ck-button {\n\t@mixin ck-unselectable;\n\n\tposition: relative;\n\tdisplay: inline-flex;\n\talign-items: center;\n\tjustify-content: left;\n\n\t& .ck-button__label {\n\t\tdisplay: none;\n\t}\n\n\t&.ck-button_with-text {\n\t\t& .ck-button__label {\n\t\t\tdisplay: inline-block;\n\t\t}\n\t}\n\n\t/* Center the icon horizontally in a button without text. */\n\t&:not(.ck-button_with-text) {\n\t\tjustify-content: center;\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Makes element unselectable.\n */\n@define-mixin ck-unselectable {\n\t-moz-user-select: none;\n\t-webkit-user-select: none;\n\t-ms-user-select: none;\n\tuser-select: none\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_focus.css";\n@import "../../../mixins/_shadow.css";\n@import "../../../mixins/_disabled.css";\n@import "../../../mixins/_rounded.css";\n@import "../../mixins/_button.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n.ck.ck-button,\na.ck.ck-button {\n\t@mixin ck-button-colors --ck-color-button-default;\n\t@mixin ck-rounded-corners;\n\n\twhite-space: nowrap;\n\tcursor: default;\n\tvertical-align: middle;\n\tpadding: var(--ck-spacing-tiny);\n\ttext-align: center;\n\n\t/* A very important piece of styling. Go to variable declaration to learn more. */\n\tmin-width: var(--ck-ui-component-min-height);\n\tmin-height: var(--ck-ui-component-min-height);\n\n\t/* Normalize the height of the line. Removing this will break consistent height\n\tamong text and text-less buttons (with icons). */\n\tline-height: 1;\n\n\t/* Enable font size inheritance, which allows fluid UI scaling. */\n\tfont-size: inherit;\n\n\t/* Avoid flickering when the foucs border shows up. */\n\tborder: 1px solid transparent;\n\n\t/* Apply some smooth transition to the box-shadow and border. */\n\ttransition: box-shadow .2s ease-in-out, border .2s ease-in-out;\n\n\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/189 */\n\t-webkit-appearance: none;\n\n\t&:active,\n\t&:focus {\n\t\t@mixin ck-focus-ring;\n\t\t@mixin ck-box-shadow var(--ck-focus-outer-shadow);\n\t}\n\n\t/* Allow icon coloring using the text "color" property. */\n\t& .ck-button__icon {\n\t\t& use,\n\t\t& use * {\n\t\t\tcolor: inherit;\n\t\t}\n\t}\n\n\t& .ck-button__label {\n\t\t/* Enable font size inheritance, which allows fluid UI scaling. */\n\t\tfont-size: inherit;\n\t\tfont-weight: inherit;\n\t\tcolor: inherit;\n\t\tcursor: inherit;\n\n\t\t/* Must be consistent with .ck-icon\'s vertical align. Otherwise, buttons with and\n\t\twithout labels (but with icons) have different sizes in Chrome */\n\t\tvertical-align: middle;\n\n\t\t@mixin ck-dir ltr {\n\t\t\ttext-align: left;\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\ttext-align: right;\n\t\t}\n\t}\n\n\t& .ck-button__keystroke {\n\t\tcolor: inherit;\n\n\t\t@mixin ck-dir ltr {\n\t\t\tmargin-left: var(--ck-spacing-large);\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\tmargin-right: var(--ck-spacing-large);\n\t\t}\n\n\t\tfont-weight: bold;\n\t\topacity: .7;\n\t}\n\n\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/70 */\n\t&.ck-disabled {\n\t\t&:active,\n\t\t&:focus {\n\t\t\t/* The disabled button should have a slightly less visible shadow when focused. */\n\t\t\t@mixin ck-box-shadow var(--ck-focus-disabled-outer-shadow);\n\t\t}\n\n\t\t& .ck-button__icon {\n\t\t\t@mixin ck-disabled;\n\t\t}\n\n\t\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/98 */\n\t\t& .ck-button__label {\n\t\t\t@mixin ck-disabled;\n\t\t}\n\n\t\t& .ck-button__keystroke {\n\t\t\topacity: .3;\n\t\t}\n\t}\n\n\t&.ck-button_with-text {\n\t\tpadding: var(--ck-spacing-tiny) var(--ck-spacing-standard);\n\n\t\t/* stylelint-disable-next-line no-descending-specificity */\n\t\t& .ck-button__icon {\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tmargin-left: calc(-1 * var(--ck-spacing-small));\n\t\t\t\tmargin-right: var(--ck-spacing-small);\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tmargin-right: calc(-1 * var(--ck-spacing-small));\n\t\t\t\tmargin-left: var(--ck-spacing-small);\n\t\t\t}\n\t\t}\n\t}\n\n\t&.ck-button_with-keystroke {\n\t\t/* stylelint-disable-next-line no-descending-specificity */\n\t\t& .ck-button__label {\n\t\t\tflex-grow: 1;\n\t\t}\n\t}\n\n\t/* A style of the button which is currently on, e.g. its feature is active. */\n\t&.ck-on {\n\t\t@mixin ck-button-colors --ck-color-button-on;\n\n\t\tcolor: var(--ck-color-button-on-color);\n\t}\n\n\t&.ck-button-save {\n\t\tcolor: var(--ck-color-button-save);\n\t}\n\n\t&.ck-button-cancel {\n\t\tcolor: var(--ck-color-button-cancel);\n\t}\n}\n\n/* A style of the button which handles the primary action. */\n.ck.ck-button-action,\na.ck.ck-button-action {\n\t@mixin ck-button-colors --ck-color-button-action;\n\n\tcolor: var(--ck-color-button-action-text);\n}\n\n.ck.ck-button-bold,\na.ck.ck-button-bold {\n\tfont-weight: bold;\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements a button of given background color.\n *\n * @param {String} $background - Background color of the button.\n * @param {String} $border - Border color of the button.\n */\n@define-mixin ck-button-colors $prefix {\n\tbackground: var($(prefix)-background);\n\n\t&:not(.ck-disabled) {\n\t\t&:hover {\n\t\t\tbackground: var($(prefix)-hover-background);\n\t\t}\n\n\t\t&:active {\n\t\t\tbackground: var($(prefix)-active-background);\n\t\t}\n\t}\n\n\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/98 */\n\t&.ck-disabled {\n\t\tbackground: var($(prefix)-disabled-background);\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A visual style of focused element's border.\n */\n@define-mixin ck-focus-ring {\n\t/* Disable native outline. */\n\toutline: none;\n\tborder: var(--ck-focus-ring)\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A class which indicates that an element holding it is disabled.\n */\n@define-mixin ck-disabled {\n\topacity: var(--ck-disabled-opacity);\n}\n"],sourceRoot:""}]);const I=P},5332:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck.ck-button.ck-switchbutton .ck-button__toggle,.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner{display:block}:root{--ck-switch-button-toggle-width:2.6153846154em;--ck-switch-button-toggle-inner-size:calc(1.07692em + 1px);--ck-switch-button-translation:calc(var(--ck-switch-button-toggle-width) - var(--ck-switch-button-toggle-inner-size) - 2px);--ck-switch-button-inner-hover-shadow:0 0 0 5px var(--ck-color-switch-button-inner-shadow)}.ck.ck-button.ck-switchbutton,.ck.ck-button.ck-switchbutton.ck-on:active,.ck.ck-button.ck-switchbutton.ck-on:focus,.ck.ck-button.ck-switchbutton.ck-on:hover,.ck.ck-button.ck-switchbutton:active,.ck.ck-button.ck-switchbutton:focus,.ck.ck-button.ck-switchbutton:hover{background:transparent;color:inherit}[dir=ltr] .ck.ck-button.ck-switchbutton .ck-button__label{margin-right:calc(var(--ck-spacing-large)*2)}[dir=rtl] .ck.ck-button.ck-switchbutton .ck-button__label{margin-left:calc(var(--ck-spacing-large)*2)}.ck.ck-button.ck-switchbutton .ck-button__toggle{border-radius:0}.ck-rounded-corners .ck.ck-button.ck-switchbutton .ck-button__toggle,.ck.ck-button.ck-switchbutton .ck-button__toggle.ck-rounded-corners{border-radius:var(--ck-border-radius)}[dir=ltr] .ck.ck-button.ck-switchbutton .ck-button__toggle{margin-left:auto}[dir=rtl] .ck.ck-button.ck-switchbutton .ck-button__toggle{margin-right:auto}.ck.ck-button.ck-switchbutton .ck-button__toggle{background:var(--ck-color-switch-button-off-background);border:1px solid transparent;transition:background .4s ease,box-shadow .2s ease-in-out,outline .2s ease-in-out;width:var(--ck-switch-button-toggle-width)}.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner{border-radius:0}.ck-rounded-corners .ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner,.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner.ck-rounded-corners{border-radius:var(--ck-border-radius);border-radius:calc(var(--ck-border-radius)*.5)}.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner{background:var(--ck-color-switch-button-inner-background);height:var(--ck-switch-button-toggle-inner-size);transition:all .3s ease;width:var(--ck-switch-button-toggle-inner-size)}.ck.ck-button.ck-switchbutton .ck-button__toggle:hover{background:var(--ck-color-switch-button-off-hover-background)}.ck.ck-button.ck-switchbutton .ck-button__toggle:hover .ck-button__toggle__inner{box-shadow:var(--ck-switch-button-inner-hover-shadow)}.ck.ck-button.ck-switchbutton.ck-disabled .ck-button__toggle{opacity:var(--ck-disabled-opacity)}.ck.ck-button.ck-switchbutton:focus{border-color:transparent;box-shadow:none;outline:none}.ck.ck-button.ck-switchbutton:focus .ck-button__toggle{box-shadow:0 0 0 1px var(--ck-color-base-background),0 0 0 5px var(--ck-color-focus-outer-shadow);outline:var(--ck-focus-ring);outline-offset:1px}.ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle{background:var(--ck-color-switch-button-on-background)}.ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle:hover{background:var(--ck-color-switch-button-on-hover-background)}[dir=ltr] .ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle .ck-button__toggle__inner{transform:translateX(var( --ck-switch-button-translation ))}[dir=rtl] .ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle .ck-button__toggle__inner{transform:translateX(calc(var( --ck-switch-button-translation )*-1))}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/button/switchbutton.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/button/switchbutton.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_disabled.css"],names:[],mappings:"AASE,4HACC,aACD,CCCF,MAEC,8CAA+C,CAE/C,0DAAgE,CAChE,2HAIC,CACD,0FACD,CAOC,0QAEC,sBAAuB,CADvB,aAED,CAEA,0DAGE,4CAOF,CAVA,0DAQE,2CAEF,CAEA,iDCpCA,eD4EA,CAxCA,yIChCC,qCDwED,CAxCA,2DAKE,gBAmCF,CAxCA,2DAUE,iBA8BF,CAxCA,iDAkBC,uDAAwD,CAFxD,4BAA6B,CAD7B,iFAAsF,CAEtF,0CAuBD,CApBC,2ECxDD,eDmEC,CAXA,6LCpDA,qCAAsC,CDsDpC,8CASF,CAXA,2EAOC,yDAA0D,CAD1D,gDAAiD,CAIjD,uBAA0B,CAL1B,+CAMD,CAEA,uDACC,6DAKD,CAHC,iFACC,qDACD,CAIF,6DEhFA,kCFkFA,CAGA,oCACC,wBAAyB,CAEzB,eAAgB,CADhB,YAQD,CALC,uDACC,iGAAmG,CAEnG,4BAA6B,CAD7B,kBAED,CAKA,uDACC,sDAkBD,CAhBC,6DACC,4DACD,CAEA,2FAKE,2DAMF,CAXA,2FASE,oEAEF",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-button.ck-switchbutton {\n\t& .ck-button__toggle {\n\t\tdisplay: block;\n\n\t\t& .ck-button__toggle__inner {\n\t\t\tdisplay: block;\n\t\t}\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n@import "../../../mixins/_disabled.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n/* Note: To avoid rendering issues (aliasing) but to preserve the responsive nature\nof the component, floating\u2013point numbers have been used which, for the default font size\n(see: --ck-font-size-base), will generate simple integers. */\n:root {\n\t/* 34px at 13px font-size */\n\t--ck-switch-button-toggle-width: 2.6153846154em;\n\t/* 14px at 13px font-size */\n\t--ck-switch-button-toggle-inner-size: calc(1.0769230769em + 1px);\n\t--ck-switch-button-translation: calc(\n\t\tvar(--ck-switch-button-toggle-width) -\n\t\tvar(--ck-switch-button-toggle-inner-size) -\n\t\t2px /* Border */\n\t);\n\t--ck-switch-button-inner-hover-shadow: 0 0 0 5px var(--ck-color-switch-button-inner-shadow);\n}\n\n.ck.ck-button.ck-switchbutton {\n\t/* Unlike a regular button, the switch button text color and background should never change.\n\t * Changing toggle switch (background, outline) is enough to carry the information about the\n\t * state of the entire component (https://github.com/ckeditor/ckeditor5/issues/12519)\n\t */\n\t&, &:hover, &:focus, &:active, &.ck-on:hover, &.ck-on:focus, &.ck-on:active {\n\t\tcolor: inherit;\n\t\tbackground: transparent;\n\t}\n\n\t& .ck-button__label {\n\t\t@mixin ck-dir ltr {\n\t\t\t/* Separate the label from the switch */\n\t\t\tmargin-right: calc(2 * var(--ck-spacing-large));\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\t/* Separate the label from the switch */\n\t\t\tmargin-left: calc(2 * var(--ck-spacing-large));\n\t\t}\n\t}\n\n\t& .ck-button__toggle {\n\t\t@mixin ck-rounded-corners;\n\n\t\t@mixin ck-dir ltr {\n\t\t\t/* Make sure the toggle is always to the right as far as possible. */\n\t\t\tmargin-left: auto;\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\t/* Make sure the toggle is always to the left as far as possible. */\n\t\t\tmargin-right: auto;\n\t\t}\n\n\t\t/* Apply some smooth transition to the box-shadow and border. */\n\t\t/* Gently animate the background color of the toggle switch */\n\t\ttransition: background 400ms ease, box-shadow .2s ease-in-out, outline .2s ease-in-out;\n\t\tborder: 1px solid transparent;\n\t\twidth: var(--ck-switch-button-toggle-width);\n\t\tbackground: var(--ck-color-switch-button-off-background);\n\n\t\t& .ck-button__toggle__inner {\n\t\t\t@mixin ck-rounded-corners {\n\t\t\t\tborder-radius: calc(.5 * var(--ck-border-radius));\n\t\t\t}\n\n\t\t\twidth: var(--ck-switch-button-toggle-inner-size);\n\t\t\theight: var(--ck-switch-button-toggle-inner-size);\n\t\t\tbackground: var(--ck-color-switch-button-inner-background);\n\n\t\t\t/* Gently animate the inner part of the toggle switch */\n\t\t\ttransition: all 300ms ease;\n\t\t}\n\n\t\t&:hover {\n\t\t\tbackground: var(--ck-color-switch-button-off-hover-background);\n\n\t\t\t& .ck-button__toggle__inner {\n\t\t\t\tbox-shadow: var(--ck-switch-button-inner-hover-shadow);\n\t\t\t}\n\t\t}\n\t}\n\n\t&.ck-disabled .ck-button__toggle {\n\t\t@mixin ck-disabled;\n\t}\n\n\t/* Overriding default .ck-button:focus styles + an outline around the toogle */\n\t&:focus {\n\t\tborder-color: transparent;\n\t\toutline: none;\n\t\tbox-shadow: none;\n\n\t\t& .ck-button__toggle {\n\t\t\tbox-shadow: 0 0 0 1px var(--ck-color-base-background), 0 0 0 5px var(--ck-color-focus-outer-shadow);\n\t\t\toutline-offset: 1px;\n\t\t\toutline: var(--ck-focus-ring);\n\t\t}\n\t}\n\n\t/* stylelint-disable-next-line no-descending-specificity */\n\t&.ck-on {\n\t\t& .ck-button__toggle {\n\t\t\tbackground: var(--ck-color-switch-button-on-background);\n\n\t\t\t&:hover {\n\t\t\t\tbackground: var(--ck-color-switch-button-on-hover-background);\n\t\t\t}\n\n\t\t\t& .ck-button__toggle__inner {\n\t\t\t\t/*\n\t\t\t\t* Move the toggle switch to the right. It will be animated.\n\t\t\t\t*/\n\t\t\t\t@mixin ck-dir ltr {\n\t\t\t\t\ttransform: translateX( var( --ck-switch-button-translation ) );\n\t\t\t\t}\n\n\t\t\t\t@mixin ck-dir rtl {\n\t\t\t\t\ttransform: translateX( calc( -1 * var( --ck-switch-button-translation ) ) );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A class which indicates that an element holding it is disabled.\n */\n@define-mixin ck-disabled {\n\topacity: var(--ck-disabled-opacity);\n}\n"],sourceRoot:""}]);const I=P},6781:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck.ck-color-grid{display:grid}:root{--ck-color-grid-tile-size:24px;--ck-color-color-grid-check-icon:#166fd4}.ck.ck-color-grid{grid-gap:5px;padding:8px}.ck.ck-color-grid__tile{border:0;height:var(--ck-color-grid-tile-size);min-height:var(--ck-color-grid-tile-size);min-width:var(--ck-color-grid-tile-size);padding:0;transition:box-shadow .2s ease;width:var(--ck-color-grid-tile-size)}.ck.ck-color-grid__tile.ck-disabled{cursor:unset;transition:unset}.ck.ck-color-grid__tile.ck-color-selector__color-tile_bordered{box-shadow:0 0 0 1px var(--ck-color-base-border)}.ck.ck-color-grid__tile .ck.ck-icon{color:var(--ck-color-color-grid-check-icon);display:none}.ck.ck-color-grid__tile.ck-on{box-shadow:inset 0 0 0 1px var(--ck-color-base-background),0 0 0 2px var(--ck-color-base-text)}.ck.ck-color-grid__tile.ck-on .ck.ck-icon{display:block}.ck.ck-color-grid__tile.ck-on,.ck.ck-color-grid__tile:focus:not(.ck-disabled),.ck.ck-color-grid__tile:hover:not(.ck-disabled){border:0}.ck.ck-color-grid__tile:focus:not(.ck-disabled),.ck.ck-color-grid__tile:hover:not(.ck-disabled){box-shadow:inset 0 0 0 1px var(--ck-color-base-background),0 0 0 2px var(--ck-color-focus-border)}.ck.ck-color-grid__label{padding:0 var(--ck-spacing-standard)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/colorgrid/colorgrid.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/colorgrid/colorgrid.css"],names:[],mappings:"AAKA,kBACC,YACD,CCAA,MACC,8BAA+B,CAK/B,wCACD,CAEA,kBACC,YAAa,CACb,WACD,CAEA,wBAOC,QAAS,CALT,qCAAsC,CAEtC,yCAA0C,CAD1C,wCAAyC,CAEzC,SAAU,CACV,8BAA+B,CAL/B,oCAyCD,CAjCC,oCACC,YAAa,CACb,gBACD,CAEA,+DACC,gDACD,CAEA,oCAEC,2CAA4C,CAD5C,YAED,CAEA,8BACC,8FAKD,CAHC,0CACC,aACD,CAGD,8HAIC,QACD,CAEA,gGAEC,iGACD,CAGD,yBACC,oCACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-color-grid {\n\tdisplay: grid;\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n\n:root {\n\t--ck-color-grid-tile-size: 24px;\n\n\t/* Not using global colors here because these may change but some colors in a pallette\n\t * require special treatment. For instance, this ensures no matter what the UI text color is,\n\t * the check icon will look good on the black color tile. */\n\t--ck-color-color-grid-check-icon: hsl(212, 81%, 46%);\n}\n\n.ck.ck-color-grid {\n\tgrid-gap: 5px;\n\tpadding: 8px;\n}\n\n.ck.ck-color-grid__tile {\n\twidth: var(--ck-color-grid-tile-size);\n\theight: var(--ck-color-grid-tile-size);\n\tmin-width: var(--ck-color-grid-tile-size);\n\tmin-height: var(--ck-color-grid-tile-size);\n\tpadding: 0;\n\ttransition: .2s ease box-shadow;\n\tborder: 0;\n\n\t&.ck-disabled {\n\t\tcursor: unset;\n\t\ttransition: unset;\n\t}\n\n\t&.ck-color-selector__color-tile_bordered {\n\t\tbox-shadow: 0 0 0 1px var(--ck-color-base-border);\n\t}\n\n\t& .ck.ck-icon {\n\t\tdisplay: none;\n\t\tcolor: var(--ck-color-color-grid-check-icon);\n\t}\n\n\t&.ck-on {\n\t\tbox-shadow: inset 0 0 0 1px var(--ck-color-base-background), 0 0 0 2px var(--ck-color-base-text);\n\n\t\t& .ck.ck-icon {\n\t\t\tdisplay: block;\n\t\t}\n\t}\n\n\t&.ck-on,\n\t&:focus:not( .ck-disabled ),\n\t&:hover:not( .ck-disabled ) {\n\t\t/* Disable the default .ck-button\'s border ring. */\n\t\tborder: 0;\n\t}\n\n\t&:focus:not( .ck-disabled ),\n\t&:hover:not( .ck-disabled ) {\n\t\tbox-shadow: inset 0 0 0 1px var(--ck-color-base-background), 0 0 0 2px var(--ck-color-focus-border);\n\t}\n}\n\n.ck.ck-color-grid__label {\n\tpadding: 0 var(--ck-spacing-standard);\n}\n'],sourceRoot:""}]);const I=P},3398:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".color-picker-hex-input{width:max-content}.color-picker-hex-input .ck.ck-input{min-width:unset}.ck.ck-color-picker__row{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;margin:var(--ck-spacing-large) 0 0;width:unset}.ck.ck-color-picker__row .ck.ck-labeled-field-view{padding-top:unset}.ck.ck-color-picker__row .ck.ck-input-text{width:unset}.ck.ck-color-picker__row .ck-color-picker__hash-view{padding-right:var(--ck-spacing-medium);padding-top:var(--ck-spacing-tiny)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/colorpicker/colorpicker.css"],names:[],mappings:"AAKA,wBACC,iBAKD,CAHC,qCACC,eACD,CAGD,yBACC,YAAa,CACb,kBAAmB,CACnB,gBAAiB,CACjB,6BAA8B,CAC9B,kCAAmC,CACnC,WAcD,CAZC,mDACC,iBACD,CAEA,2CACC,WACD,CAEA,qDAEC,sCAAuC,CADvC,kCAED",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.color-picker-hex-input {\n\twidth: max-content;\n\n\t& .ck.ck-input {\n\t\tmin-width: unset;\n\t}\n}\n\n.ck.ck-color-picker__row {\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\tjustify-content: space-between;\n\tmargin: var(--ck-spacing-large) 0 0;\n\twidth: unset;\n\n\t& .ck.ck-labeled-field-view {\n\t\tpadding-top: unset;\n\t}\n\n\t& .ck.ck-input-text {\n\t\twidth: unset;\n\t}\n\n\t& .ck-color-picker__hash-view {\n\t\tpadding-top: var(--ck-spacing-tiny);\n\t\tpadding-right: var(--ck-spacing-medium);\n\t}\n}\n"],sourceRoot:""}]);const I=P},4157:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker,.ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__remove-color{align-items:center;display:flex}[dir=rtl] .ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker,[dir=rtl] .ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__remove-color{justify-content:flex-start}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-selector_action-bar{display:flex;flex-direction:row;justify-content:space-around}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-selector_action-bar .ck-button-cancel,.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-selector_action-bar .ck-button-save{flex:1}.ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker,.ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__remove-color{width:100%}.ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker{border-bottom-left-radius:0;border-bottom-right-radius:0;padding:calc(var(--ck-spacing-standard)/2) var(--ck-spacing-standard)}.ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker:not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker .ck.ck-icon{margin-right:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker .ck.ck-icon{margin-left:var(--ck-spacing-standard)}.ck.ck-color-selector .ck-color-grids-fragment label.ck.ck-color-grid__label{font-weight:unset}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker{padding:8px}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker .hex-color-picker{height:100px;min-width:180px}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker .hex-color-picker::part(saturation){border-radius:var(--ck-border-radius) var(--ck-border-radius) 0 0}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker .hex-color-picker::part(hue){border-radius:0 0 var(--ck-border-radius) var(--ck-border-radius)}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker .hex-color-picker::part(hue-pointer),.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker .hex-color-picker::part(saturation-pointer){height:15px;width:15px}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-selector_action-bar{padding:0 8px 8px}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/colorselector/colorselector.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/colorselector/colorselector.css"],names:[],mappings:"AAUE,oLAGC,kBAAmB,CADnB,YAMD,CARA,wMAME,0BAEF,CAKA,iFACC,YAAa,CACb,kBAAmB,CACnB,4BAMD,CAJC,oMAEC,MACD,CCrBD,oLAEC,UACD,CAEA,0FAEC,2BAA4B,CAC5B,4BAA6B,CAF7B,qEAiBD,CAbC,sGACC,gDACD,CAEA,gHAEE,uCAMF,CARA,gHAME,sCAEF,CAGD,6EACC,iBACD,CAKA,oEACC,WAoBD,CAlBC,sFACC,YAAa,CACb,eAeD,CAbC,wGACC,iEACD,CAEA,iGACC,iEACD,CAEA,yNAGC,WAAY,CADZ,UAED,CAIF,iFACC,iBACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n.ck.ck-color-selector {\n\t/* View fragment with color grids. */\n\t& .ck-color-grids-fragment {\n\t\t& .ck-button.ck-color-selector__remove-color,\n\t\t& .ck-button.ck-color-selector__color-picker {\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tjustify-content: flex-start;\n\t\t\t}\n\t\t}\n\t}\n\n\t/* View fragment with a color picker. */\n\t& .ck-color-picker-fragment {\n\t\t& .ck.ck-color-selector_action-bar {\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: row;\n\t\t\tjustify-content: space-around;\n\n\t\t\t& .ck-button-save,\n\t\t\t& .ck-button-cancel {\n\t\t\t\tflex: 1\n\t\t\t}\n\t\t}\n\t}\n}\n','/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n.ck.ck-color-selector {\n\t/* View fragment with color grids. */\n\t& .ck-color-grids-fragment {\n\t\t& .ck-button.ck-color-selector__remove-color,\n\t\t& .ck-button.ck-color-selector__color-picker {\n\t\t\twidth: 100%;\n\t\t}\n\n\t\t& .ck-button.ck-color-selector__color-picker {\n\t\t\tpadding: calc(var(--ck-spacing-standard) / 2) var(--ck-spacing-standard);\n\t\t\tborder-bottom-left-radius: 0;\n\t\t\tborder-bottom-right-radius: 0;\n\n\t\t\t&:not(:focus) {\n\t\t\t\tborder-top: 1px solid var(--ck-color-base-border);\n\t\t\t}\n\n\t\t\t& .ck.ck-icon {\n\t\t\t\t@mixin ck-dir ltr {\n\t\t\t\t\tmargin-right: var(--ck-spacing-standard);\n\t\t\t\t}\n\n\t\t\t\t@mixin ck-dir rtl {\n\t\t\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t& label.ck.ck-color-grid__label {\n\t\t\tfont-weight: unset;\n\t\t}\n\t}\n\n\t/* View fragment with a color picker. */\n\t& .ck-color-picker-fragment {\n\t\t& .ck.ck-color-picker {\n\t\t\tpadding: 8px;\n\n\t\t\t& .hex-color-picker {\n\t\t\t\theight: 100px;\n\t\t\t\tmin-width: 180px;\n\n\t\t\t\t&::part(saturation) {\n\t\t\t\t\tborder-radius: var(--ck-border-radius) var(--ck-border-radius) 0 0;\n\t\t\t\t}\n\n\t\t\t\t&::part(hue) {\n\t\t\t\t\tborder-radius: 0 0 var(--ck-border-radius) var(--ck-border-radius);\n\t\t\t\t}\n\n\t\t\t\t&::part(saturation-pointer),\n\t\t\t\t&::part(hue-pointer) {\n\t\t\t\t\twidth: 15px;\n\t\t\t\t\theight: 15px;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t& .ck.ck-color-selector_action-bar {\n\t\t\tpadding: 0 8px 8px;\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const I=P},5485:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,":root{--ck-dropdown-max-width:75vw}.ck.ck-dropdown{display:inline-block;position:relative}.ck.ck-dropdown .ck-dropdown__arrow{pointer-events:none;z-index:var(--ck-z-default)}.ck.ck-dropdown .ck-button.ck-dropdown__button{width:100%}.ck.ck-dropdown .ck-dropdown__panel{display:none;max-width:var(--ck-dropdown-max-width);position:absolute;z-index:var(--ck-z-modal)}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel-visible{display:inline-block}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_n,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_ne,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nme,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nmw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nw{bottom:100%}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_s,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_se,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sme,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_smw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sw{bottom:auto;top:100%}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_ne,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_se{left:0}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sw{right:0}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_n,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_s{left:50%;transform:translateX(-50%)}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nmw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_smw{left:75%;transform:translateX(-75%)}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nme,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sme{left:25%;transform:translateX(-25%)}.ck.ck-toolbar .ck-dropdown__panel{z-index:calc(var(--ck-z-modal) + 1)}:root{--ck-dropdown-arrow-size:calc(var(--ck-icon-size)*0.5)}.ck.ck-dropdown{font-size:inherit}.ck.ck-dropdown .ck-dropdown__arrow{width:var(--ck-dropdown-arrow-size)}[dir=ltr] .ck.ck-dropdown .ck-dropdown__arrow{margin-left:var(--ck-spacing-standard);right:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-dropdown .ck-dropdown__arrow{left:var(--ck-spacing-standard);margin-right:var(--ck-spacing-small)}.ck.ck-dropdown.ck-disabled .ck-dropdown__arrow{opacity:var(--ck-disabled-opacity)}[dir=ltr] .ck.ck-dropdown .ck-button.ck-dropdown__button:not(.ck-button_with-text){padding-left:var(--ck-spacing-small)}[dir=rtl] .ck.ck-dropdown .ck-button.ck-dropdown__button:not(.ck-button_with-text){padding-right:var(--ck-spacing-small)}.ck.ck-dropdown .ck-button.ck-dropdown__button .ck-button__label{overflow:hidden;text-overflow:ellipsis;width:7em}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-disabled .ck-button__label{opacity:var(--ck-disabled-opacity)}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on{border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-dropdown__button_label-width_auto .ck-button__label{width:auto}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-off:active,.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on:active{box-shadow:none}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-off:active:focus,.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on:active:focus{box-shadow:var(--ck-focus-outer-shadow),0 0}.ck.ck-dropdown__panel{border-radius:0}.ck-rounded-corners .ck.ck-dropdown__panel,.ck.ck-dropdown__panel.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-dropdown__panel{background:var(--ck-color-dropdown-panel-background);border:1px solid var(--ck-color-dropdown-panel-border);bottom:0;box-shadow:var(--ck-drop-shadow),0 0;min-width:100%}.ck.ck-dropdown__panel.ck-dropdown__panel_se{border-top-left-radius:0}.ck.ck-dropdown__panel.ck-dropdown__panel_sw{border-top-right-radius:0}.ck.ck-dropdown__panel.ck-dropdown__panel_ne{border-bottom-left-radius:0}.ck.ck-dropdown__panel.ck-dropdown__panel_nw{border-bottom-right-radius:0}.ck.ck-dropdown__panel:focus{outline:none}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/dropdown/dropdown.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/dropdown/dropdown.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_disabled.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAKA,MACC,4BACD,CAEA,gBACC,oBAAqB,CACrB,iBA2ED,CAzEC,oCACC,mBAAoB,CACpB,2BACD,CAGA,+CACC,UACD,CAEA,oCACC,YAAa,CAEb,sCAAuC,CAEvC,iBAAkB,CAHlB,yBA4DD,CAvDC,+DACC,oBACD,CAEA,mSAKC,WACD,CAEA,mSAUC,WAAY,CADZ,QAED,CAEA,oHAEC,MACD,CAEA,oHAEC,OACD,CAEA,kHAGC,QAAS,CACT,0BACD,CAEA,sHAGC,QAAS,CACT,0BACD,CAEA,sHAGC,QAAS,CACT,0BACD,CAQF,mCACC,mCACD,CCpFA,MACC,sDACD,CAEA,gBAEC,iBA2ED,CAzEC,oCACC,mCACD,CAGC,8CAIC,sCAAuC,CAHvC,gCAID,CAIA,8CACC,+BAAgC,CAGhC,oCACD,CAGD,gDC/BA,kCDiCA,CAIE,mFAEC,oCACD,CAIA,mFAEC,qCACD,CAID,iEAEC,eAAgB,CAChB,sBAAuB,CAFvB,SAGD,CAGA,6EC1DD,kCD4DC,CAGA,qDACC,2BAA4B,CAC5B,4BACD,CAEA,sGACC,UACD,CAGA,yHAEC,eAKD,CAHC,qIE7EF,2CF+EE,CAKH,uBGlFC,eHkHD,CAhCA,qFG9EE,qCH8GF,CAhCA,uBAIC,oDAAqD,CACrD,sDAAuD,CACvD,QAAS,CE1FT,oCAA8B,CF6F9B,cAuBD,CAnBC,6CACC,wBACD,CAEA,6CACC,yBACD,CAEA,6CACC,2BACD,CAEA,6CACC,4BACD,CAEA,6BACC,YACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-dropdown-max-width: 75vw;\n}\n\n.ck.ck-dropdown {\n\tdisplay: inline-block;\n\tposition: relative;\n\n\t& .ck-dropdown__arrow {\n\t\tpointer-events: none;\n\t\tz-index: var(--ck-z-default);\n\t}\n\n\t/* Dropdown button should span horizontally, e.g. in vertical toolbars */\n\t& .ck-button.ck-dropdown__button {\n\t\twidth: 100%;\n\t}\n\n\t& .ck-dropdown__panel {\n\t\tdisplay: none;\n\t\tz-index: var(--ck-z-modal);\n\t\tmax-width: var(--ck-dropdown-max-width);\n\n\t\tposition: absolute;\n\n\t\t&.ck-dropdown__panel-visible {\n\t\t\tdisplay: inline-block;\n\t\t}\n\n\t\t&.ck-dropdown__panel_ne,\n\t\t&.ck-dropdown__panel_nw,\n\t\t&.ck-dropdown__panel_n,\n\t\t&.ck-dropdown__panel_nmw,\n\t\t&.ck-dropdown__panel_nme {\n\t\t\tbottom: 100%;\n\t\t}\n\n\t\t&.ck-dropdown__panel_se,\n\t\t&.ck-dropdown__panel_sw,\n\t\t&.ck-dropdown__panel_smw,\n\t\t&.ck-dropdown__panel_sme,\n\t\t&.ck-dropdown__panel_s {\n\t\t\t/*\n\t\t\t * Using transform: translate3d( 0, 100%, 0 ) causes blurry dropdown on Chrome 67-78+ on non-retina displays.\n\t\t\t * See https://github.com/ckeditor/ckeditor5/issues/1053.\n\t\t\t */\n\t\t\ttop: 100%;\n\t\t\tbottom: auto;\n\t\t}\n\n\t\t&.ck-dropdown__panel_ne,\n\t\t&.ck-dropdown__panel_se {\n\t\t\tleft: 0px;\n\t\t}\n\n\t\t&.ck-dropdown__panel_nw,\n\t\t&.ck-dropdown__panel_sw {\n\t\t\tright: 0px;\n\t\t}\n\n\t\t&.ck-dropdown__panel_s,\n\t\t&.ck-dropdown__panel_n {\n\t\t\t/* Positioning panels relative to the center of the button */\n\t\t\tleft: 50%;\n\t\t\ttransform: translateX(-50%);\n\t\t}\n\n\t\t&.ck-dropdown__panel_nmw,\n\t\t&.ck-dropdown__panel_smw {\n\t\t\t/* Positioning panels relative to the middle-west of the button */\n\t\t\tleft: 75%;\n\t\t\ttransform: translateX(-75%);\n\t\t}\n\n\t\t&.ck-dropdown__panel_nme,\n\t\t&.ck-dropdown__panel_sme {\n\t\t\t/* Positioning panels relative to the middle-east of the button */\n\t\t\tleft: 25%;\n\t\t\ttransform: translateX(-25%);\n\t\t}\n\t}\n}\n\n/*\n * Toolbar dropdown panels should be always above the UI (eg. other dropdown panels) from the editor's content.\n * See https://github.com/ckeditor/ckeditor5/issues/7874\n */\n.ck.ck-toolbar .ck-dropdown__panel {\n\tz-index: calc( var(--ck-z-modal) + 1 );\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n@import "../../../mixins/_disabled.css";\n@import "../../../mixins/_shadow.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n:root {\n\t--ck-dropdown-arrow-size: calc(0.5 * var(--ck-icon-size));\n}\n\n.ck.ck-dropdown {\n\t/* Enable font size inheritance, which allows fluid UI scaling. */\n\tfont-size: inherit;\n\n\t& .ck-dropdown__arrow {\n\t\twidth: var(--ck-dropdown-arrow-size);\n\t}\n\n\t@mixin ck-dir ltr {\n\t\t& .ck-dropdown__arrow {\n\t\t\tright: var(--ck-spacing-standard);\n\n\t\t\t/* A space to accommodate the triangle. */\n\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t}\n\t}\n\n\t@mixin ck-dir rtl {\n\t\t& .ck-dropdown__arrow {\n\t\t\tleft: var(--ck-spacing-standard);\n\n\t\t\t/* A space to accommodate the triangle. */\n\t\t\tmargin-right: var(--ck-spacing-small);\n\t\t}\n\t}\n\n\t&.ck-disabled .ck-dropdown__arrow {\n\t\t@mixin ck-disabled;\n\t}\n\n\t& .ck-button.ck-dropdown__button {\n\t\t@mixin ck-dir ltr {\n\t\t\t&:not(.ck-button_with-text) {\n\t\t\t\t/* Make sure dropdowns with just an icon have the right inner spacing */\n\t\t\t\tpadding-left: var(--ck-spacing-small);\n\t\t\t}\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\t&:not(.ck-button_with-text) {\n\t\t\t\t/* Make sure dropdowns with just an icon have the right inner spacing */\n\t\t\t\tpadding-right: var(--ck-spacing-small);\n\t\t\t}\n\t\t}\n\n\t\t/* #23 */\n\t\t& .ck-button__label {\n\t\t\twidth: 7em;\n\t\t\toverflow: hidden;\n\t\t\ttext-overflow: ellipsis;\n\t\t}\n\n\t\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/70 */\n\t\t&.ck-disabled .ck-button__label {\n\t\t\t@mixin ck-disabled;\n\t\t}\n\n\t\t/* https://github.com/ckeditor/ckeditor5/issues/816 */\n\t\t&.ck-on {\n\t\t\tborder-bottom-left-radius: 0;\n\t\t\tborder-bottom-right-radius: 0;\n\t\t}\n\n\t\t&.ck-dropdown__button_label-width_auto .ck-button__label {\n\t\t\twidth: auto;\n\t\t}\n\n\t\t/* https://github.com/ckeditor/ckeditor5/issues/8699 */\n\t\t&.ck-off:active,\n\t\t&.ck-on:active {\n\t\t\tbox-shadow: none;\n\n\t\t\t&:focus {\n\t\t\t\t@mixin ck-box-shadow var(--ck-focus-outer-shadow);\n\t\t\t}\n\t\t}\n\t}\n}\n\n.ck.ck-dropdown__panel {\n\t@mixin ck-rounded-corners;\n\t@mixin ck-drop-shadow;\n\n\tbackground: var(--ck-color-dropdown-panel-background);\n\tborder: 1px solid var(--ck-color-dropdown-panel-border);\n\tbottom: 0;\n\n\t/* Make sure the panel is at least as wide as the drop-down\'s button. */\n\tmin-width: 100%;\n\n\t/* Disabled corner border radius to be consistent with the .dropdown__button\n\thttps://github.com/ckeditor/ckeditor5/issues/816 */\n\t&.ck-dropdown__panel_se {\n\t\tborder-top-left-radius: 0;\n\t}\n\n\t&.ck-dropdown__panel_sw {\n\t\tborder-top-right-radius: 0;\n\t}\n\n\t&.ck-dropdown__panel_ne {\n\t\tborder-bottom-left-radius: 0;\n\t}\n\n\t&.ck-dropdown__panel_nw {\n\t\tborder-bottom-right-radius: 0;\n\t}\n\n\t&:focus {\n\t\toutline: none;\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A class which indicates that an element holding it is disabled.\n */\n@define-mixin ck-disabled {\n\topacity: var(--ck-disabled-opacity);\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const I=P},3949:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck.ck-dropdown .ck-dropdown__panel .ck-list{border-radius:0}.ck-rounded-corners .ck.ck-dropdown .ck-dropdown__panel .ck-list,.ck.ck-dropdown .ck-dropdown__panel .ck-list.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0}.ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:first-child .ck-button{border-radius:0}.ck-rounded-corners .ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:first-child .ck-button,.ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:first-child .ck-button.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0;border-top-left-radius:0}.ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:last-child .ck-button{border-radius:0}.ck-rounded-corners .ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:last-child .ck-button,.ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:last-child .ck-button.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/dropdown/listdropdown.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAOA,6CCIC,eDqBD,CAzBA,iICQE,qCAAsC,CDJtC,wBAqBF,CAfE,mFCND,eDYC,CANA,6MCFA,qCAAsC,CDKpC,2BAA4B,CAC5B,4BAA6B,CAF7B,wBAIF,CAEA,kFCdD,eDmBC,CALA,2MCVA,qCAAsC,CDYpC,wBAAyB,CACzB,yBAEF",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n\n.ck.ck-dropdown .ck-dropdown__panel .ck-list {\n\t/* Disabled radius of top-left border to be consistent with .dropdown__button\n\thttps://github.com/ckeditor/ckeditor5/issues/816 */\n\t@mixin ck-rounded-corners {\n\t\tborder-top-left-radius: 0;\n\t}\n\n\t/* Make sure the button belonging to the first/last child of the list goes well with the\n\tborder radius of the entire panel. */\n\t& .ck-list__item {\n\t\t&:first-child .ck-button {\n\t\t\t@mixin ck-rounded-corners {\n\t\t\t\tborder-top-left-radius: 0;\n\t\t\t\tborder-bottom-left-radius: 0;\n\t\t\t\tborder-bottom-right-radius: 0;\n\t\t\t}\n\t\t}\n\n\t\t&:last-child .ck-button {\n\t\t\t@mixin ck-rounded-corners {\n\t\t\t\tborder-top-left-radius: 0;\n\t\t\t\tborder-top-right-radius: 0;\n\t\t\t}\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const I=P},7686:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,'.ck.ck-splitbutton{font-size:inherit}.ck.ck-splitbutton .ck-splitbutton__action:focus{z-index:calc(var(--ck-z-default) + 1)}:root{--ck-color-split-button-hover-background:#ebebeb;--ck-color-split-button-hover-border:#b3b3b3}[dir=ltr] .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__action,[dir=ltr] .ck.ck-splitbutton:hover>.ck-splitbutton__action{border-bottom-right-radius:unset;border-top-right-radius:unset}[dir=rtl] .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__action,[dir=rtl] .ck.ck-splitbutton:hover>.ck-splitbutton__action{border-bottom-left-radius:unset;border-top-left-radius:unset}.ck.ck-splitbutton>.ck-splitbutton__arrow{min-width:unset}[dir=ltr] .ck.ck-splitbutton>.ck-splitbutton__arrow{border-bottom-left-radius:unset;border-top-left-radius:unset}[dir=rtl] .ck.ck-splitbutton>.ck-splitbutton__arrow{border-bottom-right-radius:unset;border-top-right-radius:unset}.ck.ck-splitbutton>.ck-splitbutton__arrow svg{width:var(--ck-dropdown-arrow-size)}.ck.ck-splitbutton>.ck-splitbutton__arrow:not(:focus){border-bottom-width:0;border-top-width:0}.ck.ck-splitbutton.ck-splitbutton_open>.ck-button:not(.ck-on):not(.ck-disabled):not(:hover),.ck.ck-splitbutton:hover>.ck-button:not(.ck-on):not(.ck-disabled):not(:hover){background:var(--ck-color-split-button-hover-background)}.ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):after,.ck.ck-splitbutton:hover>.ck-splitbutton__arrow:not(.ck-disabled):after{background-color:var(--ck-color-split-button-hover-border);content:"";height:100%;position:absolute;width:1px}.ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow:focus:after,.ck.ck-splitbutton:hover>.ck-splitbutton__arrow:focus:after{--ck-color-split-button-hover-border:var(--ck-color-focus-border)}[dir=ltr] .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):after,[dir=ltr] .ck.ck-splitbutton:hover>.ck-splitbutton__arrow:not(.ck-disabled):after{left:-1px}[dir=rtl] .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):after,[dir=rtl] .ck.ck-splitbutton:hover>.ck-splitbutton__arrow:not(.ck-disabled):after{right:-1px}.ck.ck-splitbutton.ck-splitbutton_open{border-radius:0}.ck-rounded-corners .ck.ck-splitbutton.ck-splitbutton_open,.ck.ck-splitbutton.ck-splitbutton_open.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck-rounded-corners .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__action,.ck.ck-splitbutton.ck-splitbutton_open.ck-rounded-corners>.ck-splitbutton__action{border-bottom-left-radius:0}.ck-rounded-corners .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow,.ck.ck-splitbutton.ck-splitbutton_open.ck-rounded-corners>.ck-splitbutton__arrow{border-bottom-right-radius:0}',"",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/dropdown/splitbutton.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/dropdown/splitbutton.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAKA,mBAEC,iBAKD,CAHC,iDACC,qCACD,CCJD,MACC,gDAAyD,CACzD,4CACD,CAMC,oIAKE,gCAAiC,CADjC,6BASF,CAbA,oIAWE,+BAAgC,CADhC,4BAGF,CAEA,0CAGC,eAiBD,CApBA,oDAQE,+BAAgC,CADhC,4BAaF,CApBA,oDAcE,gCAAiC,CADjC,6BAOF,CAHC,8CACC,mCACD,CAKD,sDAEC,qBAAwB,CADxB,kBAED,CAQC,0KACC,wDACD,CAIA,8JAKC,0DAA2D,CAJ3D,UAAW,CAGX,WAAY,CAFZ,iBAAkB,CAClB,SAGD,CAGA,sIACC,iEACD,CAGC,kLACC,SACD,CAIA,kLACC,UACD,CAMF,uCCzFA,eDmGA,CAVA,qHCrFC,qCD+FD,CARE,qKACC,2BACD,CAEA,mKACC,4BACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-splitbutton {\n\t/* Enable font size inheritance, which allows fluid UI scaling. */\n\tfont-size: inherit;\n\n\t& .ck-splitbutton__action:focus {\n\t\tz-index: calc(var(--ck-z-default) + 1);\n\t}\n}\n\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n\n:root {\n\t--ck-color-split-button-hover-background: hsl(0, 0%, 92%);\n\t--ck-color-split-button-hover-border: hsl(0, 0%, 70%);\n}\n\n.ck.ck-splitbutton {\n\t/*\n\t * Note: ck-rounded and ck-dir mixins don\'t go together (because they both use @nest).\n\t */\n\t&:hover > .ck-splitbutton__action,\n\t&.ck-splitbutton_open > .ck-splitbutton__action {\n\t\t@nest [dir="ltr"] & {\n\t\t\t/* Don\'t round the action button on the right side */\n\t\t\tborder-top-right-radius: unset;\n\t\t\tborder-bottom-right-radius: unset;\n\t\t}\n\n\t\t@nest [dir="rtl"] & {\n\t\t\t/* Don\'t round the action button on the left side */\n\t\t\tborder-top-left-radius: unset;\n\t\t\tborder-bottom-left-radius: unset;\n\t\t}\n\t}\n\n\t& > .ck-splitbutton__arrow {\n\t\t/* It\'s a text-less button and since the icon is positioned absolutely in such situation,\n\t\tit must get some arbitrary min-width. */\n\t\tmin-width: unset;\n\n\t\t@nest [dir="ltr"] & {\n\t\t\t/* Don\'t round the arrow button on the left side */\n\t\t\tborder-top-left-radius: unset;\n\t\t\tborder-bottom-left-radius: unset;\n\t\t}\n\n\t\t@nest [dir="rtl"] & {\n\t\t\t/* Don\'t round the arrow button on the right side */\n\t\t\tborder-top-right-radius: unset;\n\t\t\tborder-bottom-right-radius: unset;\n\t\t}\n\n\t\t& svg {\n\t\t\twidth: var(--ck-dropdown-arrow-size);\n\t\t}\n\t}\n\n\t/* Make sure the divider stretches 100% height of the button\n\thttps://github.com/ckeditor/ckeditor5/issues/10936 */\n\t& > .ck-splitbutton__arrow:not(:focus) {\n\t\tborder-top-width: 0px;\n\t\tborder-bottom-width: 0px;\n\t}\n\n\t/* When the split button is "open" (the arrow is on) or being hovered, it should get some styling\n\tas a whole. The background of both buttons should stand out and there should be a visual\n\tseparation between both buttons. */\n\t&.ck-splitbutton_open,\n\t&:hover {\n\t\t/* When the split button hovered as a whole, not as individual buttons. */\n\t\t& > .ck-button:not(.ck-on):not(.ck-disabled):not(:hover) {\n\t\t\tbackground: var(--ck-color-split-button-hover-background);\n\t\t}\n\n\t\t/* Splitbutton separator needs to be set with the ::after pseudoselector\n\t\tto display properly the borders on focus */\n\t\t& > .ck-splitbutton__arrow:not(.ck-disabled)::after {\n\t\t\tcontent: \'\';\n\t\t\tposition: absolute;\n\t\t\twidth: 1px;\n\t\t\theight: 100%;\n\t\t\tbackground-color: var(--ck-color-split-button-hover-border);\n\t\t}\n\n\t\t/* Make sure the divider between the buttons looks fine when the button is focused */\n\t\t& > .ck-splitbutton__arrow:focus::after {\n\t\t\t--ck-color-split-button-hover-border: var(--ck-color-focus-border);\n\t\t}\n\n\t\t@nest [dir="ltr"] & {\n\t\t\t& > .ck-splitbutton__arrow:not(.ck-disabled)::after {\n\t\t\t\tleft: -1px;\n\t\t\t}\n\t\t}\n\n\t\t@nest [dir="rtl"] & {\n\t\t\t& > .ck-splitbutton__arrow:not(.ck-disabled)::after {\n\t\t\t\tright: -1px;\n\t\t\t}\n\t\t}\n\t}\n\n\t/* Don\'t round the bottom left and right corners of the buttons when "open"\n\thttps://github.com/ckeditor/ckeditor5/issues/816 */\n\t&.ck-splitbutton_open {\n\t\t@mixin ck-rounded-corners {\n\t\t\t& > .ck-splitbutton__action {\n\t\t\t\tborder-bottom-left-radius: 0;\n\t\t\t}\n\n\t\t\t& > .ck-splitbutton__arrow {\n\t\t\t\tborder-bottom-right-radius: 0;\n\t\t\t}\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const I=P},7339:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,":root{--ck-toolbar-dropdown-max-width:60vw}.ck.ck-toolbar-dropdown>.ck-dropdown__panel{max-width:var(--ck-toolbar-dropdown-max-width);width:max-content}.ck.ck-toolbar-dropdown>.ck-dropdown__panel .ck-button:focus{z-index:calc(var(--ck-z-default) + 1)}.ck.ck-toolbar-dropdown .ck-toolbar{border:0}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/dropdown/toolbardropdown.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/dropdown/toolbardropdown.css"],names:[],mappings:"AAKA,MACC,oCACD,CAEA,4CAGC,8CAA+C,CAD/C,iBAQD,CAJE,6DACC,qCACD,CCZF,oCACC,QACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-toolbar-dropdown-max-width: 60vw;\n}\n\n.ck.ck-toolbar-dropdown > .ck-dropdown__panel {\n\t/* https://github.com/ckeditor/ckeditor5/issues/5586 */\n\twidth: max-content;\n\tmax-width: var(--ck-toolbar-dropdown-max-width);\n\n\t& .ck-button {\n\t\t&:focus {\n\t\t\tz-index: calc(var(--ck-z-default) + 1);\n\t\t}\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-toolbar-dropdown .ck-toolbar {\n\tborder: 0;\n}\n"],sourceRoot:""}]);const I=P},9688:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,":root{--ck-color-editable-blur-selection:#d9d9d9}.ck.ck-editor__editable:not(.ck-editor__nested-editable){border-radius:0}.ck-rounded-corners .ck.ck-editor__editable:not(.ck-editor__nested-editable),.ck.ck-editor__editable.ck-rounded-corners:not(.ck-editor__nested-editable){border-radius:var(--ck-border-radius)}.ck.ck-editor__editable.ck-focused:not(.ck-editor__nested-editable){border:var(--ck-focus-ring);box-shadow:var(--ck-inner-shadow),0 0;outline:none}.ck.ck-editor__editable_inline{border:1px solid transparent;overflow:auto;padding:0 var(--ck-spacing-standard)}.ck.ck-editor__editable_inline[dir=ltr]{text-align:left}.ck.ck-editor__editable_inline[dir=rtl]{text-align:right}.ck.ck-editor__editable_inline>:first-child{margin-top:var(--ck-spacing-large)}.ck.ck-editor__editable_inline>:last-child{margin-bottom:var(--ck-spacing-large)}.ck.ck-editor__editable_inline.ck-blurred ::selection{background:var(--ck-color-editable-blur-selection)}.ck.ck-balloon-panel.ck-toolbar-container[class*=arrow_n]:after{border-bottom-color:var(--ck-color-panel-background)}.ck.ck-balloon-panel.ck-toolbar-container[class*=arrow_s]:after{border-top-color:var(--ck-color-panel-background)}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/editorui/editorui.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_focus.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAWA,MACC,0CACD,CAEA,yDCJC,eDWD,CAPA,yJCAE,qCDOF,CAJC,oEEPA,2BAA2B,CCF3B,qCAA8B,CDC9B,YFWA,CAGD,+BAGC,4BAA6B,CAF7B,aAAc,CACd,oCA6BD,CA1BC,wCACC,eACD,CAEA,wCACC,gBACD,CAGA,4CACC,kCACD,CAGA,2CAKC,qCACD,CAGA,sDACC,kDACD,CAKA,gEACC,oDACD,CAIA,gEACC,iDACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n@import "../../../mixins/_disabled.css";\n@import "../../../mixins/_shadow.css";\n@import "../../../mixins/_focus.css";\n@import "../../mixins/_button.css";\n\n:root {\n\t--ck-color-editable-blur-selection: hsl(0, 0%, 85%);\n}\n\n.ck.ck-editor__editable:not(.ck-editor__nested-editable) {\n\t@mixin ck-rounded-corners;\n\n\t&.ck-focused {\n\t\t@mixin ck-focus-ring;\n\t\t@mixin ck-box-shadow var(--ck-inner-shadow);\n\t}\n}\n\n.ck.ck-editor__editable_inline {\n\toverflow: auto;\n\tpadding: 0 var(--ck-spacing-standard);\n\tborder: 1px solid transparent;\n\n\t&[dir="ltr"] {\n\t\ttext-align: left;\n\t}\n\n\t&[dir="rtl"] {\n\t\ttext-align: right;\n\t}\n\n\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/116 */\n\t& > *:first-child {\n\t\tmargin-top: var(--ck-spacing-large);\n\t}\n\n\t/* https://github.com/ckeditor/ckeditor5/issues/847 */\n\t& > *:last-child {\n\t\t/*\n\t\t * This value should match with the default margins of the block elements (like .media or .image)\n\t\t * to avoid a content jumping when the fake selection container shows up (See https://github.com/ckeditor/ckeditor5/issues/9825).\n\t\t */\n\t\tmargin-bottom: var(--ck-spacing-large);\n\t}\n\n\t/* https://github.com/ckeditor/ckeditor5/issues/6517 */\n\t&.ck-blurred ::selection {\n\t\tbackground: var(--ck-color-editable-blur-selection);\n\t}\n}\n\n/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/111 */\n.ck.ck-balloon-panel.ck-toolbar-container[class*="arrow_n"] {\n\t&::after {\n\t\tborder-bottom-color: var(--ck-color-panel-background);\n\t}\n}\n\n.ck.ck-balloon-panel.ck-toolbar-container[class*="arrow_s"] {\n\t&::after {\n\t\tborder-top-color: var(--ck-color-panel-background);\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A visual style of focused element's border.\n */\n@define-mixin ck-focus-ring {\n\t/* Disable native outline. */\n\toutline: none;\n\tborder: var(--ck-focus-ring)\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const I=P},8847:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck.ck-form__header{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between}.ck.ck-form__header .ck-icon{margin-right:var(--ck-spacing-medium)}.ck.ck-form__header h2.ck-form__header__label{flex-grow:1}:root{--ck-form-header-height:38px}.ck.ck-form__header{border-bottom:1px solid var(--ck-color-base-border);height:var(--ck-form-header-height);line-height:var(--ck-form-header-height);padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck.ck-form__header .ck-form__header__label{font-weight:700}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/formheader/formheader.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/formheader/formheader.css"],names:[],mappings:"AAKA,oBAIC,kBAAmB,CAHnB,YAAa,CACb,kBAAmB,CACnB,gBAAiB,CAEjB,6BASD,CAPC,6BACC,qCACD,CAEA,8CACC,WACD,CCbD,MACC,4BACD,CAEA,oBAIC,mDAAoD,CAFpD,mCAAoC,CACpC,wCAAyC,CAFzC,uDAQD,CAHC,4CACC,eACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-form__header {\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\talign-items: center;\n\tjustify-content: space-between;\n\n\t& .ck-icon {\n\t\tmargin-right: var(--ck-spacing-medium);\n\t}\n\n\t& h2.ck-form__header__label {\n\t\tflex-grow: 1;\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-form-header-height: 38px;\n}\n\n.ck.ck-form__header {\n\tpadding: var(--ck-spacing-small) var(--ck-spacing-large);\n\theight: var(--ck-form-header-height);\n\tline-height: var(--ck-form-header-height);\n\tborder-bottom: 1px solid var(--ck-color-base-border);\n\n\t& .ck-form__header__label {\n\t\tfont-weight: bold;\n\t}\n}\n"],sourceRoot:""}]);const I=P},8960:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck.ck-highlighted-text mark{background:var(--ck-color-highlight-background);font-size:inherit;font-weight:inherit;line-height:inherit;vertical-align:initial}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/highlightedtext/highlightedtext.css"],names:[],mappings:"AAKA,6BACC,+CAAgD,CAIhD,iBAAkB,CAFlB,mBAAoB,CACpB,mBAAoB,CAFpB,sBAID",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-highlighted-text mark {\n\tbackground: var(--ck-color-highlight-background);\n\tvertical-align: initial;\n\tfont-weight: inherit;\n\tline-height: inherit;\n\tfont-size: inherit;\n}\n"],sourceRoot:""}]);const I=P},6574:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck.ck-icon{vertical-align:middle}:root{--ck-icon-size:calc(var(--ck-line-height-base)*var(--ck-font-size-normal))}.ck.ck-icon{font-size:.8333350694em;height:var(--ck-icon-size);width:var(--ck-icon-size);will-change:transform}.ck.ck-icon,.ck.ck-icon *{cursor:inherit}.ck.ck-icon.ck-icon_inherit-color,.ck.ck-icon.ck-icon_inherit-color *{color:inherit}.ck.ck-icon.ck-icon_inherit-color :not([fill]){fill:currentColor}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/icon/icon.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/icon/icon.css"],names:[],mappings:"AAKA,YACC,qBACD,CCFA,MACC,0EACD,CAEA,YAKC,uBAAwB,CAHxB,0BAA2B,CAD3B,yBAA0B,CAU1B,qBAoBD,CAlBC,0BALA,cAQA,CAMC,sEACC,aAMD,CAJC,+CAEC,iBACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-icon {\n\tvertical-align: middle;\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-icon-size: calc(var(--ck-line-height-base) * var(--ck-font-size-normal));\n}\n\n.ck.ck-icon {\n\twidth: var(--ck-icon-size);\n\theight: var(--ck-icon-size);\n\n\t/* Multiplied by the height of the line in "px" should give SVG "viewport" dimensions */\n\tfont-size: .8333350694em;\n\n\t/* Inherit cursor style (#5). */\n\tcursor: inherit;\n\n\t/* This will prevent blurry icons on Firefox. See #340. */\n\twill-change: transform;\n\n\t& * {\n\t\t/* Inherit cursor style (#5). */\n\t\tcursor: inherit;\n\t}\n\n\t/* Allows dynamic coloring of an icon by inheriting its color from the parent. */\n\t&.ck-icon_inherit-color {\n\t\tcolor: inherit;\n\n\t\t& * {\n\t\t\tcolor: inherit;\n\n\t\t\t&:not([fill]) {\n\t\t\t\t/* Needed by FF. */\n\t\t\t\tfill: currentColor;\n\t\t\t}\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const I=P},4879:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,":root{--ck-input-width:18em;--ck-input-text-width:var(--ck-input-width)}.ck.ck-input{border-radius:0}.ck-rounded-corners .ck.ck-input,.ck.ck-input.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-input{background:var(--ck-color-input-background);border:1px solid var(--ck-color-input-border);min-height:var(--ck-ui-component-min-height);min-width:var(--ck-input-width);padding:var(--ck-spacing-extra-tiny) var(--ck-spacing-medium);transition:box-shadow .1s ease-in-out,border .1s ease-in-out}.ck.ck-input:focus{border:var(--ck-focus-ring);box-shadow:var(--ck-focus-outer-shadow),0 0;outline:none}.ck.ck-input[readonly]{background:var(--ck-color-input-disabled-background);border:1px solid var(--ck-color-input-disabled-border);color:var(--ck-color-input-disabled-text)}.ck.ck-input[readonly]:focus{box-shadow:var(--ck-focus-disabled-outer-shadow),0 0}.ck.ck-input.ck-error{animation:ck-input-shake .3s ease both;border-color:var(--ck-color-input-error-border)}.ck.ck-input.ck-error:focus{box-shadow:var(--ck-focus-error-outer-shadow),0 0}@keyframes ck-input-shake{20%{transform:translateX(-2px)}40%{transform:translateX(2px)}60%{transform:translateX(-1px)}80%{transform:translateX(1px)}}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/input/input.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_focus.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AASA,MACC,qBAAsB,CAGtB,2CACD,CAEA,aCLC,eD2CD,CAtCA,iECDE,qCDuCF,CAtCA,aAGC,2CAA4C,CAC5C,6CAA8C,CAK9C,4CAA6C,CAH7C,+BAAgC,CADhC,6DAA8D,CAO9D,4DA0BD,CAxBC,mBEnBA,2BAA2B,CCF3B,2CAA8B,CDC9B,YFuBA,CAEA,uBAEC,oDAAqD,CADrD,sDAAuD,CAEvD,yCAMD,CAJC,6BG/BD,oDHkCC,CAGD,sBAEC,sCAAuC,CADvC,+CAMD,CAHC,4BGzCD,iDH2CC,CAIF,0BACC,IACC,0BACD,CAEA,IACC,yBACD,CAEA,IACC,0BACD,CAEA,IACC,yBACD,CACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n@import "../../../mixins/_focus.css";\n@import "../../../mixins/_shadow.css";\n\n:root {\n\t--ck-input-width: 18em;\n\n\t/* Backward compatibility. */\n\t--ck-input-text-width: var(--ck-input-width);\n}\n\n.ck.ck-input {\n\t@mixin ck-rounded-corners;\n\n\tbackground: var(--ck-color-input-background);\n\tborder: 1px solid var(--ck-color-input-border);\n\tpadding: var(--ck-spacing-extra-tiny) var(--ck-spacing-medium);\n\tmin-width: var(--ck-input-width);\n\n\t/* This is important to stay of the same height as surrounding buttons */\n\tmin-height: var(--ck-ui-component-min-height);\n\n\t/* Apply some smooth transition to the box-shadow and border. */\n\ttransition: box-shadow .1s ease-in-out, border .1s ease-in-out;\n\n\t&:focus {\n\t\t@mixin ck-focus-ring;\n\t\t@mixin ck-box-shadow var(--ck-focus-outer-shadow);\n\t}\n\n\t&[readonly] {\n\t\tborder: 1px solid var(--ck-color-input-disabled-border);\n\t\tbackground: var(--ck-color-input-disabled-background);\n\t\tcolor: var(--ck-color-input-disabled-text);\n\n\t\t&:focus {\n\t\t\t/* The read-only input should have a slightly less visible shadow when focused. */\n\t\t\t@mixin ck-box-shadow var(--ck-focus-disabled-outer-shadow);\n\t\t}\n\t}\n\n\t&.ck-error {\n\t\tborder-color: var(--ck-color-input-error-border);\n\t\tanimation: ck-input-shake .3s ease both;\n\n\t\t&:focus {\n\t\t\t@mixin ck-box-shadow var(--ck-focus-error-outer-shadow);\n\t\t}\n\t}\n}\n\n@keyframes ck-input-shake {\n\t20% {\n\t\ttransform: translateX(-2px);\n\t}\n\n\t40% {\n\t\ttransform: translateX(2px);\n\t}\n\n\t60% {\n\t\ttransform: translateX(-1px);\n\t}\n\n\t80% {\n\t\ttransform: translateX(1px);\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A visual style of focused element's border.\n */\n@define-mixin ck-focus-ring {\n\t/* Disable native outline. */\n\toutline: none;\n\tborder: var(--ck-focus-ring)\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const I=P},3662:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck.ck-label{display:block}.ck.ck-voice-label{display:none}.ck.ck-label{font-weight:700}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/label/label.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/label/label.css"],names:[],mappings:"AAKA,aACC,aACD,CAEA,mBACC,YACD,CCNA,aACC,eACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-label {\n\tdisplay: block;\n}\n\n.ck.ck-voice-label {\n\tdisplay: none;\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-label {\n\tfont-weight: bold;\n}\n"],sourceRoot:""}]);const I=P},2577:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper{display:flex;position:relative}.ck.ck-labeled-field-view .ck.ck-label{display:block;position:absolute}:root{--ck-labeled-field-view-transition:.1s cubic-bezier(0,0,0.24,0.95);--ck-labeled-field-empty-unfocused-max-width:100% - 2 * var(--ck-spacing-medium);--ck-labeled-field-label-default-position-x:var(--ck-spacing-medium);--ck-labeled-field-label-default-position-y:calc(var(--ck-font-size-base)*0.6);--ck-color-labeled-field-label-background:var(--ck-color-base-background)}.ck.ck-labeled-field-view{border-radius:0}.ck-rounded-corners .ck.ck-labeled-field-view,.ck.ck-labeled-field-view.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper{width:100%}.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{top:0}[dir=ltr] .ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{left:0}[dir=rtl] .ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{right:0}.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{background:var(--ck-color-labeled-field-label-background);font-weight:400;line-height:normal;max-width:100%;overflow:hidden;padding:0 calc(var(--ck-font-size-tiny)*.5);pointer-events:none;text-overflow:ellipsis;transform:translate(var(--ck-spacing-medium),-6px) scale(.75);transform-origin:0 0;transition:transform var(--ck-labeled-field-view-transition),padding var(--ck-labeled-field-view-transition),background var(--ck-labeled-field-view-transition)}.ck.ck-labeled-field-view.ck-error .ck-input:not([readonly])+.ck.ck-label,.ck.ck-labeled-field-view.ck-error>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{color:var(--ck-color-base-error)}.ck.ck-labeled-field-view .ck-labeled-field-view__status{font-size:var(--ck-font-size-small);margin-top:var(--ck-spacing-small);white-space:normal}.ck.ck-labeled-field-view .ck-labeled-field-view__status.ck-labeled-field-view__status_error{color:var(--ck-color-base-error)}.ck.ck-labeled-field-view.ck-disabled>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label,.ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{color:var(--ck-color-input-disabled-text)}[dir=ltr] .ck.ck-labeled-field-view.ck-disabled.ck-labeled-field-view_empty>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label,[dir=ltr] .ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{transform:translate(var(--ck-labeled-field-label-default-position-x),var(--ck-labeled-field-label-default-position-y)) scale(1)}[dir=rtl] .ck.ck-labeled-field-view.ck-disabled.ck-labeled-field-view_empty>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label,[dir=rtl] .ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{transform:translate(calc(var(--ck-labeled-field-label-default-position-x)*-1),var(--ck-labeled-field-label-default-position-y)) scale(1)}.ck.ck-labeled-field-view.ck-disabled.ck-labeled-field-view_empty>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label,.ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{background:transparent;max-width:calc(var(--ck-labeled-field-empty-unfocused-max-width));padding:0}.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck-dropdown>.ck.ck-button{background:transparent}.ck.ck-labeled-field-view.ck-labeled-field-view_empty>.ck.ck-labeled-field-view__input-wrapper>.ck-dropdown>.ck-button>.ck-button__label{opacity:0}.ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck-dropdown+.ck-label{max-width:calc(var(--ck-labeled-field-empty-unfocused-max-width) - var(--ck-dropdown-arrow-size) - var(--ck-spacing-standard))}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/labeledfield/labeledfieldview.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/labeledfield/labeledfieldview.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAMC,mEACC,YAAa,CACb,iBACD,CAEA,uCACC,aAAc,CACd,iBACD,CCND,MACC,kEAAsE,CACtE,gFAAiF,CACjF,oEAAqE,CACrE,8EAAiF,CACjF,yEACD,CAEA,0BCLC,eD8GD,CAzGA,2FCDE,qCD0GF,CAtGC,mEACC,UAmCD,CAjCC,gFACC,KA+BD,CAhCA,0FAIE,MA4BF,CAhCA,0FAQE,OAwBF,CAhCA,gFAiBC,yDAA0D,CAG1D,eAAmB,CADnB,kBAAoB,CAOpB,cAAe,CAFf,eAAgB,CANhB,2CAA8C,CAP9C,mBAAoB,CAYpB,sBAAuB,CARvB,6DAA+D,CAH/D,oBAAqB,CAgBrB,+JAID,CAQA,mKACC,gCACD,CAGD,yDACC,mCAAoC,CACpC,kCAAmC,CAInC,kBAKD,CAHC,6FACC,gCACD,CAID,4OAEC,yCACD,CAIA,oUAGE,+HAYF,CAfA,oUAOE,wIAQF,CAfA,gTAaC,sBAAuB,CAFvB,iEAAkE,CAGlE,SACD,CAKA,8FACC,sBACD,CAGA,yIACC,SACD,CAGA,kMACC,8HACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-labeled-field-view {\n\t& > .ck.ck-labeled-field-view__input-wrapper {\n\t\tdisplay: flex;\n\t\tposition: relative;\n\t}\n\n\t& .ck.ck-label {\n\t\tdisplay: block;\n\t\tposition: absolute;\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n@import "../../../mixins/_rounded.css";\n\n:root {\n\t--ck-labeled-field-view-transition: .1s cubic-bezier(0, 0, 0.24, 0.95);\n\t--ck-labeled-field-empty-unfocused-max-width: 100% - 2 * var(--ck-spacing-medium);\n\t--ck-labeled-field-label-default-position-x: var(--ck-spacing-medium);\n\t--ck-labeled-field-label-default-position-y: calc(0.6 * var(--ck-font-size-base));\n\t--ck-color-labeled-field-label-background: var(--ck-color-base-background);\n}\n\n.ck.ck-labeled-field-view {\n\t@mixin ck-rounded-corners;\n\n\t& > .ck.ck-labeled-field-view__input-wrapper {\n\t\twidth: 100%;\n\n\t\t& > .ck.ck-label {\n\t\t\ttop: 0px;\n\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tleft: 0px;\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tright: 0px;\n\t\t\t}\n\n\t\t\tpointer-events: none;\n\t\t\ttransform-origin: 0 0;\n\n\t\t\t/* By default, display the label scaled down above the field. */\n\t\t\ttransform: translate(var(--ck-spacing-medium), -6px) scale(.75);\n\n\t\t\tbackground: var(--ck-color-labeled-field-label-background);\n\t\t\tpadding: 0 calc(.5 * var(--ck-font-size-tiny));\n\t\t\tline-height: initial;\n\t\t\tfont-weight: normal;\n\n\t\t\t/* Prevent overflow when the label is longer than the input */\n\t\t\ttext-overflow: ellipsis;\n\t\t\toverflow: hidden;\n\n\t\t\tmax-width: 100%;\n\n\t\t\ttransition:\n\t\t\t\ttransform var(--ck-labeled-field-view-transition),\n\t\t\t\tpadding var(--ck-labeled-field-view-transition),\n\t\t\t\tbackground var(--ck-labeled-field-view-transition);\n\t\t}\n\t}\n\n\t&.ck-error {\n\t\t& > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label {\n\t\t\tcolor: var(--ck-color-base-error);\n\t\t}\n\n\t\t& .ck-input:not([readonly]) + .ck.ck-label {\n\t\t\tcolor: var(--ck-color-base-error);\n\t\t}\n\t}\n\n\t& .ck-labeled-field-view__status {\n\t\tfont-size: var(--ck-font-size-small);\n\t\tmargin-top: var(--ck-spacing-small);\n\n\t\t/* Let the info wrap to the next line to avoid stretching the layout horizontally.\n\t\tThe status could be very long. */\n\t\twhite-space: normal;\n\n\t\t&.ck-labeled-field-view__status_error {\n\t\t\tcolor: var(--ck-color-base-error);\n\t\t}\n\t}\n\n\t/* Disabled fields and fields that have no focus should fade out. */\n\t&.ck-disabled > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label,\n\t&.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused) > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label {\n\t\tcolor: var(--ck-color-input-disabled-text);\n\t}\n\n\t/* Fields that are disabled or not focused and without a placeholder should have full-sized labels. */\n\t/* stylelint-disable-next-line no-descending-specificity */\n\t&.ck-disabled.ck-labeled-field-view_empty > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label,\n\t&.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder) > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label {\n\t\t@mixin ck-dir ltr {\n\t\t\ttransform: translate(var(--ck-labeled-field-label-default-position-x), var(--ck-labeled-field-label-default-position-y)) scale(1);\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\ttransform: translate(calc(-1 * var(--ck-labeled-field-label-default-position-x)), var(--ck-labeled-field-label-default-position-y)) scale(1);\n\t\t}\n\n\t\t/* Compensate for the default translate position. */\n\t\tmax-width: calc(var(--ck-labeled-field-empty-unfocused-max-width));\n\n\t\tbackground: transparent;\n\t\tpadding: 0;\n\t}\n\n\t/*------ DropdownView integration ----------------------------------------------------------------------------------- */\n\n\t/* Make sure dropdown\' background color in any of dropdown\'s state does not collide with labeled field. */\n\t& > .ck.ck-labeled-field-view__input-wrapper > .ck-dropdown > .ck.ck-button {\n\t\tbackground: transparent;\n\t}\n\n\t/* When the dropdown is "empty", the labeled field label replaces its label. */\n\t&.ck-labeled-field-view_empty > .ck.ck-labeled-field-view__input-wrapper > .ck-dropdown > .ck-button > .ck-button__label {\n\t\topacity: 0;\n\t}\n\n\t/* Make sure the label of the empty, unfocused input does not cover the dropdown arrow. */\n\t&.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder) > .ck.ck-labeled-field-view__input-wrapper > .ck-dropdown + .ck-label {\n\t\tmax-width: calc(var(--ck-labeled-field-empty-unfocused-max-width) - var(--ck-dropdown-arrow-size) - var(--ck-spacing-standard));\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const I=P},1046:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck.ck-list{display:flex;flex-direction:column;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ck.ck-list .ck-list__item,.ck.ck-list .ck-list__separator{display:block}.ck.ck-list .ck-list__item>:focus{position:relative;z-index:var(--ck-z-default)}.ck.ck-list{border-radius:0}.ck-rounded-corners .ck.ck-list,.ck.ck-list.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-list{background:var(--ck-color-list-background);list-style-type:none}.ck.ck-list__item{cursor:default;min-width:12em}.ck.ck-list__item .ck-button{border-radius:0;min-height:unset;padding:calc(var(--ck-line-height-base)*.2*var(--ck-font-size-base)) calc(var(--ck-line-height-base)*.4*var(--ck-font-size-base));text-align:left;width:100%}.ck.ck-list__item .ck-button .ck-button__label{line-height:calc(var(--ck-line-height-base)*1.2*var(--ck-font-size-base))}.ck.ck-list__item .ck-button:active{box-shadow:none}.ck.ck-list__item .ck-button.ck-on{background:var(--ck-color-list-button-on-background);color:var(--ck-color-list-button-on-text)}.ck.ck-list__item .ck-button.ck-on:active{box-shadow:none}.ck.ck-list__item .ck-button.ck-on:hover:not(.ck-disabled){background:var(--ck-color-list-button-on-background-focus)}.ck.ck-list__item .ck-button.ck-on:focus:not(.ck-switchbutton):not(.ck-disabled){border-color:var(--ck-color-base-background)}.ck.ck-list__item .ck-button:hover:not(.ck-disabled){background:var(--ck-color-list-button-hover-background)}.ck.ck-list__item .ck-switchbutton.ck-on{background:var(--ck-color-list-background);color:inherit}.ck.ck-list__item .ck-switchbutton.ck-on:hover:not(.ck-disabled){background:var(--ck-color-list-button-hover-background);color:inherit}.ck-list .ck-list__group{padding-top:var(--ck-spacing-medium);:not(.ck-hidden)~&{border-top:1px solid var(--ck-color-base-border)}}.ck-list .ck-list__group>span{font-size:11px;font-weight:700;padding:var(--ck-spacing-medium)}.ck.ck-list__separator{background:var(--ck-color-base-border);height:1px;width:100%}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/list/list.css","webpack://./../ckeditor5-ui/theme/mixins/_unselectable.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/list/list.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAOA,YAGC,YAAa,CACb,qBAAsB,CCFtB,qBAAsB,CACtB,wBAAyB,CACzB,oBAAqB,CACrB,gBDaD,CAZC,2DAEC,aACD,CAKA,kCACC,iBAAkB,CAClB,2BACD,CEfD,YCEC,eDGD,CALA,+DCME,qCDDF,CALA,YAIC,0CAA2C,CAD3C,oBAED,CAEA,kBACC,cAAe,CACf,cA2DD,CAzDC,6BAIC,eAAgB,CAHhB,gBAAiB,CAQjB,iIAEiE,CARjE,eAAgB,CADhB,UAwCD,CA7BC,+CAEC,yEACD,CAEA,oCACC,eACD,CAEA,mCACC,oDAAqD,CACrD,yCAaD,CAXC,0CACC,eACD,CAEA,2DACC,0DACD,CAEA,iFACC,4CACD,CAGD,qDACC,uDACD,CAMA,yCACC,0CAA2C,CAC3C,aAMD,CAJC,iEACC,uDAAwD,CACxD,aACD,CAKH,yBACC,oCAAqC,CAGrC,mBACC,gDACD,CAOD,CALC,8BACC,cAAe,CACf,eAAiB,CACjB,gCACD,CAGD,uBAGC,sCAAuC,CAFvC,UAAW,CACX,UAED",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../mixins/_unselectable.css";\n\n.ck.ck-list {\n\t@mixin ck-unselectable;\n\n\tdisplay: flex;\n\tflex-direction: column;\n\n\t& .ck-list__item,\n\t& .ck-list__separator {\n\t\tdisplay: block;\n\t}\n\n\t/* Make sure that whatever child of the list item gets focus, it remains on the\n\ttop. Thanks to that, styles like box-shadow, outline, etc. are not masked by\n\tadjacent list items. */\n\t& .ck-list__item > *:focus {\n\t\tposition: relative;\n\t\tz-index: var(--ck-z-default);\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Makes element unselectable.\n */\n@define-mixin ck-unselectable {\n\t-moz-user-select: none;\n\t-webkit-user-select: none;\n\t-ms-user-select: none;\n\tuser-select: none\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_disabled.css";\n@import "../../../mixins/_rounded.css";\n@import "../../../mixins/_shadow.css";\n\n.ck.ck-list {\n\t@mixin ck-rounded-corners;\n\n\tlist-style-type: none;\n\tbackground: var(--ck-color-list-background);\n}\n\n.ck.ck-list__item {\n\tcursor: default;\n\tmin-width: 12em;\n\n\t& .ck-button {\n\t\tmin-height: unset;\n\t\twidth: 100%;\n\t\ttext-align: left;\n\t\tborder-radius: 0;\n\n\t\t/* List items should have the same height. Use absolute units to make sure it is so\n\t\t because e.g. different heading styles may have different height\n\t\t https://github.com/ckeditor/ckeditor5-heading/issues/63 */\n\t\tpadding:\n\t\t\tcalc(.2 * var(--ck-line-height-base) * var(--ck-font-size-base))\n\t\t\tcalc(.4 * var(--ck-line-height-base) * var(--ck-font-size-base));\n\n\t\t& .ck-button__label {\n\t\t\t/* https://github.com/ckeditor/ckeditor5-heading/issues/63 */\n\t\t\tline-height: calc(1.2 * var(--ck-line-height-base) * var(--ck-font-size-base));\n\t\t}\n\n\t\t&:active {\n\t\t\tbox-shadow: none;\n\t\t}\n\n\t\t&.ck-on {\n\t\t\tbackground: var(--ck-color-list-button-on-background);\n\t\t\tcolor: var(--ck-color-list-button-on-text);\n\n\t\t\t&:active {\n\t\t\t\tbox-shadow: none;\n\t\t\t}\n\n\t\t\t&:hover:not(.ck-disabled) {\n\t\t\t\tbackground: var(--ck-color-list-button-on-background-focus);\n\t\t\t}\n\n\t\t\t&:focus:not(.ck-switchbutton):not(.ck-disabled) {\n\t\t\t\tborder-color: var(--ck-color-base-background);\n\t\t\t}\n\t\t}\n\n\t\t&:hover:not(.ck-disabled) {\n\t\t\tbackground: var(--ck-color-list-button-hover-background);\n\t\t}\n\t}\n\n\t/* It\'s unnecessary to change the background/text of a switch toggle; it has different ways\n\tof conveying its state (like the switcher) */\n\t& .ck-switchbutton {\n\t\t&.ck-on {\n\t\t\tbackground: var(--ck-color-list-background);\n\t\t\tcolor: inherit;\n\n\t\t\t&:hover:not(.ck-disabled) {\n\t\t\t\tbackground: var(--ck-color-list-button-hover-background);\n\t\t\t\tcolor: inherit;\n\t\t\t}\n\t\t}\n\t}\n}\n\n.ck-list .ck-list__group {\n\tpadding-top: var(--ck-spacing-medium);\n\n\t/* The group should have a border when it\'s not the first item. */\n\t*:not(.ck-hidden) ~ & {\n\t\tborder-top: 1px solid var(--ck-color-base-border);\n\t}\n\n\t& > span {\n\t\tfont-size: 11px;\n\t\tfont-weight: bold;\n\t\tpadding: var(--ck-spacing-medium);\n\t}\n}\n\n.ck.ck-list__separator {\n\theight: 1px;\n\twidth: 100%;\n\tbackground: var(--ck-color-base-border);\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const I=P},8793:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,':root{--ck-balloon-panel-arrow-z-index:calc(var(--ck-z-default) - 3)}.ck.ck-balloon-panel{display:none;position:absolute;z-index:var(--ck-z-modal)}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:after,.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:before{content:"";position:absolute}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:before{z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:after{z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-balloon-panel[class*=arrow_n]:before{z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-balloon-panel[class*=arrow_n]:after{z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-balloon-panel[class*=arrow_s]:before{z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-balloon-panel[class*=arrow_s]:after{z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-balloon-panel.ck-balloon-panel_visible{display:block}:root{--ck-balloon-border-width:1px;--ck-balloon-arrow-offset:2px;--ck-balloon-arrow-height:10px;--ck-balloon-arrow-half-width:8px;--ck-balloon-arrow-drop-shadow:0 2px 2px var(--ck-color-shadow-drop)}.ck.ck-balloon-panel{border-radius:0}.ck-rounded-corners .ck.ck-balloon-panel,.ck.ck-balloon-panel.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-balloon-panel{background:var(--ck-color-panel-background);border:var(--ck-balloon-border-width) solid var(--ck-color-panel-border);box-shadow:var(--ck-drop-shadow),0 0;min-height:15px}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:after,.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:before{border-style:solid;height:0;width:0}.ck.ck-balloon-panel[class*=arrow_n]:after,.ck.ck-balloon-panel[class*=arrow_n]:before{border-width:0 var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width)}.ck.ck-balloon-panel[class*=arrow_n]:before{border-color:transparent transparent var(--ck-color-panel-border) transparent;margin-top:calc(var(--ck-balloon-border-width)*-1)}.ck.ck-balloon-panel[class*=arrow_n]:after{border-color:transparent transparent var(--ck-color-panel-background) transparent;margin-top:calc(var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width))}.ck.ck-balloon-panel[class*=arrow_s]:after,.ck.ck-balloon-panel[class*=arrow_s]:before{border-width:var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) 0 var(--ck-balloon-arrow-half-width)}.ck.ck-balloon-panel[class*=arrow_s]:before{border-color:var(--ck-color-panel-border) transparent transparent;filter:drop-shadow(var(--ck-balloon-arrow-drop-shadow));margin-bottom:calc(var(--ck-balloon-border-width)*-1)}.ck.ck-balloon-panel[class*=arrow_s]:after{border-color:var(--ck-color-panel-background) transparent transparent transparent;margin-bottom:calc(var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width))}.ck.ck-balloon-panel[class*=arrow_e]:after,.ck.ck-balloon-panel[class*=arrow_e]:before{border-width:var(--ck-balloon-arrow-half-width) 0 var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height)}.ck.ck-balloon-panel[class*=arrow_e]:before{border-color:transparent transparent transparent var(--ck-color-panel-border);margin-right:calc(var(--ck-balloon-border-width)*-1)}.ck.ck-balloon-panel[class*=arrow_e]:after{border-color:transparent transparent transparent var(--ck-color-panel-background);margin-right:calc(var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width))}.ck.ck-balloon-panel[class*=arrow_w]:after,.ck.ck-balloon-panel[class*=arrow_w]:before{border-width:var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) 0}.ck.ck-balloon-panel[class*=arrow_w]:before{border-color:transparent var(--ck-color-panel-border) transparent transparent;margin-left:calc(var(--ck-balloon-border-width)*-1)}.ck.ck-balloon-panel[class*=arrow_w]:after{border-color:transparent var(--ck-color-panel-background) transparent transparent;margin-left:calc(var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width))}.ck.ck-balloon-panel.ck-balloon-panel_arrow_n:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_n:before{left:50%;margin-left:calc(var(--ck-balloon-arrow-half-width)*-1);top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_nw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_nw:before{left:calc(var(--ck-balloon-arrow-half-width)*2);top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_ne:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_ne:before{right:calc(var(--ck-balloon-arrow-half-width)*2);top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_s:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_s:before{bottom:calc(var(--ck-balloon-arrow-height)*-1);left:50%;margin-left:calc(var(--ck-balloon-arrow-half-width)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_sw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_sw:before{bottom:calc(var(--ck-balloon-arrow-height)*-1);left:calc(var(--ck-balloon-arrow-half-width)*2)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_se:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_se:before{bottom:calc(var(--ck-balloon-arrow-height)*-1);right:calc(var(--ck-balloon-arrow-half-width)*2)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_sme:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_sme:before{bottom:calc(var(--ck-balloon-arrow-height)*-1);margin-right:calc(var(--ck-balloon-arrow-half-width)*2);right:25%}.ck.ck-balloon-panel.ck-balloon-panel_arrow_smw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_smw:before{bottom:calc(var(--ck-balloon-arrow-height)*-1);left:25%;margin-left:calc(var(--ck-balloon-arrow-half-width)*2)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_nme:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_nme:before{margin-right:calc(var(--ck-balloon-arrow-half-width)*2);right:25%;top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_nmw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_nmw:before{left:25%;margin-left:calc(var(--ck-balloon-arrow-half-width)*2);top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_e:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_e:before{margin-top:calc(var(--ck-balloon-arrow-half-width)*-1);right:calc(var(--ck-balloon-arrow-height)*-1);top:50%}.ck.ck-balloon-panel.ck-balloon-panel_arrow_w:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_w:before{left:calc(var(--ck-balloon-arrow-height)*-1);margin-top:calc(var(--ck-balloon-arrow-half-width)*-1);top:50%}',"",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/panel/balloonpanel.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/panel/balloonpanel.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAKA,MAEC,8DACD,CAEA,qBACC,YAAa,CACb,iBAAkB,CAElB,yBAyCD,CAtCE,+GAEC,UAAW,CACX,iBACD,CAEA,wDACC,6CACD,CAEA,uDACC,uDACD,CAIA,4CACC,6CACD,CAEA,2CACC,uDACD,CAIA,4CACC,6CACD,CAEA,2CACC,uDACD,CAGD,8CACC,aACD,CC9CD,MACC,6BAA8B,CAC9B,6BAA8B,CAC9B,8BAA+B,CAC/B,iCAAkC,CAClC,oEACD,CAEA,qBCLC,eDmMD,CA9LA,iFCDE,qCD+LF,CA9LA,qBAMC,2CAA4C,CAC5C,wEAAyE,CEdzE,oCAA8B,CFW9B,eA0LD,CApLE,+GAIC,kBAAmB,CADnB,QAAS,CADT,OAGD,CAIA,uFAEC,mHACD,CAEA,4CACC,6EAA8E,CAC9E,kDACD,CAEA,2CACC,iFAAkF,CAClF,gFACD,CAIA,uFAEC,mHACD,CAEA,4CACC,iEAAkE,CAClE,uDAAwD,CACxD,qDACD,CAEA,2CACC,iFAAkF,CAClF,mFACD,CAIA,uFAEC,mHACD,CAEA,4CACC,6EAA8E,CAC9E,oDACD,CAEA,2CACC,iFAAkF,CAClF,kFACD,CAIA,uFAEC,mHACD,CAEA,4CACC,6EAA8E,CAC9E,mDACD,CAEA,2CACC,iFAAkF,CAClF,iFACD,CAIA,yGAEC,QAAS,CACT,uDAA0D,CAC1D,2CACD,CAIA,2GAEC,+CAAkD,CAClD,2CACD,CAIA,2GAEC,gDAAmD,CACnD,2CACD,CAIA,yGAIC,8CAAiD,CAFjD,QAAS,CACT,uDAED,CAIA,2GAGC,8CAAiD,CADjD,+CAED,CAIA,2GAGC,8CAAiD,CADjD,gDAED,CAIA,6GAIC,8CAAiD,CADjD,uDAA0D,CAD1D,SAGD,CAIA,6GAIC,8CAAiD,CAFjD,QAAS,CACT,sDAED,CAIA,6GAGC,uDAA0D,CAD1D,SAAU,CAEV,2CACD,CAIA,6GAEC,QAAS,CACT,sDAAyD,CACzD,2CACD,CAIA,yGAGC,sDAAyD,CADzD,6CAAgD,CAEhD,OACD,CAIA,yGAEC,4CAA+C,CAC/C,sDAAyD,CACzD,OACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/* Make sure the balloon arrow does not float over its children. */\n\t--ck-balloon-panel-arrow-z-index: calc(var(--ck-z-default) - 3);\n}\n\n.ck.ck-balloon-panel {\n\tdisplay: none;\n\tposition: absolute;\n\n\tz-index: var(--ck-z-modal);\n\n\t&.ck-balloon-panel_with-arrow {\n\t\t&::before,\n\t\t&::after {\n\t\t\tcontent: "";\n\t\t\tposition: absolute;\n\t\t}\n\n\t\t&::before {\n\t\t\tz-index: var(--ck-balloon-panel-arrow-z-index);\n\t\t}\n\n\t\t&::after {\n\t\t\tz-index: calc(var(--ck-balloon-panel-arrow-z-index) + 1);\n\t\t}\n\t}\n\n\t&[class*="arrow_n"] {\n\t\t&::before {\n\t\t\tz-index: var(--ck-balloon-panel-arrow-z-index);\n\t\t}\n\n\t\t&::after {\n\t\t\tz-index: calc(var(--ck-balloon-panel-arrow-z-index) + 1);\n\t\t}\n\t}\n\n\t&[class*="arrow_s"] {\n\t\t&::before {\n\t\t\tz-index: var(--ck-balloon-panel-arrow-z-index);\n\t\t}\n\n\t\t&::after {\n\t\t\tz-index: calc(var(--ck-balloon-panel-arrow-z-index) + 1);\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_visible {\n\t\tdisplay: block;\n\t}\n}\n','/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n@import "../../../mixins/_shadow.css";\n\n:root {\n\t--ck-balloon-border-width: 1px;\n\t--ck-balloon-arrow-offset: 2px;\n\t--ck-balloon-arrow-height: 10px;\n\t--ck-balloon-arrow-half-width: 8px;\n\t--ck-balloon-arrow-drop-shadow: 0 2px 2px var(--ck-color-shadow-drop);\n}\n\n.ck.ck-balloon-panel {\n\t@mixin ck-rounded-corners;\n\t@mixin ck-drop-shadow;\n\n\tmin-height: 15px;\n\n\tbackground: var(--ck-color-panel-background);\n\tborder: var(--ck-balloon-border-width) solid var(--ck-color-panel-border);\n\n\t&.ck-balloon-panel_with-arrow {\n\t\t&::before,\n\t\t&::after {\n\t\t\twidth: 0;\n\t\t\theight: 0;\n\t\t\tborder-style: solid;\n\t\t}\n\t}\n\n\t&[class*="arrow_n"] {\n\t\t&::before,\n\t\t&::after {\n\t\t\tborder-width: 0 var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width);\n\t\t}\n\n\t\t&::before {\n\t\t\tborder-color: transparent transparent var(--ck-color-panel-border) transparent;\n\t\t\tmargin-top: calc( -1 * var(--ck-balloon-border-width) );\n\t\t}\n\n\t\t&::after {\n\t\t\tborder-color: transparent transparent var(--ck-color-panel-background) transparent;\n\t\t\tmargin-top: calc( var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width) );\n\t\t}\n\t}\n\n\t&[class*="arrow_s"] {\n\t\t&::before,\n\t\t&::after {\n\t\t\tborder-width: var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) 0 var(--ck-balloon-arrow-half-width);\n\t\t}\n\n\t\t&::before {\n\t\t\tborder-color: var(--ck-color-panel-border) transparent transparent;\n\t\t\tfilter: drop-shadow(var(--ck-balloon-arrow-drop-shadow));\n\t\t\tmargin-bottom: calc( -1 * var(--ck-balloon-border-width) );\n\t\t}\n\n\t\t&::after {\n\t\t\tborder-color: var(--ck-color-panel-background) transparent transparent transparent;\n\t\t\tmargin-bottom: calc( var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width) );\n\t\t}\n\t}\n\n\t&[class*="arrow_e"] {\n\t\t&::before,\n\t\t&::after {\n\t\t\tborder-width: var(--ck-balloon-arrow-half-width) 0 var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height);\n\t\t}\n\n\t\t&::before {\n\t\t\tborder-color: transparent transparent transparent var(--ck-color-panel-border);\n\t\t\tmargin-right: calc( -1 * var(--ck-balloon-border-width) );\n\t\t}\n\n\t\t&::after {\n\t\t\tborder-color: transparent transparent transparent var(--ck-color-panel-background);\n\t\t\tmargin-right: calc( var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width) );\n\t\t}\n\t}\n\n\t&[class*="arrow_w"] {\n\t\t&::before,\n\t\t&::after {\n\t\t\tborder-width: var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) 0;\n\t\t}\n\n\t\t&::before {\n\t\t\tborder-color: transparent var(--ck-color-panel-border) transparent transparent;\n\t\t\tmargin-left: calc( -1 * var(--ck-balloon-border-width) );\n\t\t}\n\n\t\t&::after {\n\t\t\tborder-color: transparent var(--ck-color-panel-background) transparent transparent;\n\t\t\tmargin-left: calc( var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width) );\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_n {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: 50%;\n\t\t\tmargin-left: calc(-1 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_nw {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_ne {\n\t\t&::before,\n\t\t&::after {\n\t\t\tright: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_s {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: 50%;\n\t\t\tmargin-left: calc(-1 * var(--ck-balloon-arrow-half-width));\n\t\t\tbottom: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_sw {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\tbottom: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_se {\n\t\t&::before,\n\t\t&::after {\n\t\t\tright: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\tbottom: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_sme {\n\t\t&::before,\n\t\t&::after {\n\t\t\tright: 25%;\n\t\t\tmargin-right: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\tbottom: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_smw {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: 25%;\n\t\t\tmargin-left: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\tbottom: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_nme {\n\t\t&::before,\n\t\t&::after {\n\t\t\tright: 25%;\n\t\t\tmargin-right: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_nmw {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: 25%;\n\t\t\tmargin-left: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_e {\n\t\t&::before,\n\t\t&::after {\n\t\t\tright: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t\tmargin-top: calc(-1 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: 50%;\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_w {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t\tmargin-top: calc(-1 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: 50%;\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const I=P},4650:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck .ck-balloon-rotator__navigation{align-items:center;display:flex;justify-content:center}.ck .ck-balloon-rotator__content .ck-toolbar{justify-content:center}.ck .ck-balloon-rotator__navigation{background:var(--ck-color-toolbar-background);border-bottom:1px solid var(--ck-color-toolbar-border);padding:0 var(--ck-spacing-small)}.ck .ck-balloon-rotator__navigation>*{margin-bottom:var(--ck-spacing-small);margin-right:var(--ck-spacing-small);margin-top:var(--ck-spacing-small)}.ck .ck-balloon-rotator__navigation .ck-balloon-rotator__counter{margin-left:var(--ck-spacing-small);margin-right:var(--ck-spacing-standard)}.ck .ck-balloon-rotator__content .ck.ck-annotation-wrapper{box-shadow:none}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/panel/balloonrotator.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/panel/balloonrotator.css"],names:[],mappings:"AAKA,oCAEC,kBAAmB,CADnB,YAAa,CAEb,sBACD,CAKA,6CACC,sBACD,CCXA,oCACC,6CAA8C,CAC9C,sDAAuD,CACvD,iCAgBD,CAbC,sCAGC,qCAAsC,CAFtC,oCAAqC,CACrC,kCAED,CAGA,iEAIC,mCAAoC,CAHpC,uCAID,CAMA,2DACC,eACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-balloon-rotator__navigation {\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n}\n\n/* Buttons inside a toolbar should be centered when rotator bar is wider.\n * See: https://github.com/ckeditor/ckeditor5-ui/issues/495\n */\n.ck .ck-balloon-rotator__content .ck-toolbar {\n\tjustify-content: center;\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-balloon-rotator__navigation {\n\tbackground: var(--ck-color-toolbar-background);\n\tborder-bottom: 1px solid var(--ck-color-toolbar-border);\n\tpadding: 0 var(--ck-spacing-small);\n\n\t/* Let's keep similar appearance to `ck-toolbar`. */\n\t& > * {\n\t\tmargin-right: var(--ck-spacing-small);\n\t\tmargin-top: var(--ck-spacing-small);\n\t\tmargin-bottom: var(--ck-spacing-small);\n\t}\n\n\t/* Gives counter more breath than buttons. */\n\t& .ck-balloon-rotator__counter {\n\t\tmargin-right: var(--ck-spacing-standard);\n\n\t\t/* We need to use smaller margin because of previous button's right margin. */\n\t\tmargin-left: var(--ck-spacing-small);\n\t}\n}\n\n.ck .ck-balloon-rotator__content {\n\n\t/* Disable default annotation shadow inside rotator with fake panels. */\n\t& .ck.ck-annotation-wrapper {\n\t\tbox-shadow: none;\n\t}\n}\n"],sourceRoot:""}]);const I=P},7676:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck .ck-fake-panel{position:absolute;z-index:calc(var(--ck-z-modal) - 1)}.ck .ck-fake-panel div{position:absolute}.ck .ck-fake-panel div:first-child{z-index:2}.ck .ck-fake-panel div:nth-child(2){z-index:1}:root{--ck-balloon-fake-panel-offset-horizontal:6px;--ck-balloon-fake-panel-offset-vertical:6px}.ck .ck-fake-panel div{background:var(--ck-color-panel-background);border:1px solid var(--ck-color-panel-border);border-radius:var(--ck-border-radius);box-shadow:var(--ck-drop-shadow),0 0;height:100%;min-height:15px;width:100%}.ck .ck-fake-panel div:first-child{margin-left:var(--ck-balloon-fake-panel-offset-horizontal);margin-top:var(--ck-balloon-fake-panel-offset-vertical)}.ck .ck-fake-panel div:nth-child(2){margin-left:calc(var(--ck-balloon-fake-panel-offset-horizontal)*2);margin-top:calc(var(--ck-balloon-fake-panel-offset-vertical)*2)}.ck .ck-fake-panel div:nth-child(3){margin-left:calc(var(--ck-balloon-fake-panel-offset-horizontal)*3);margin-top:calc(var(--ck-balloon-fake-panel-offset-vertical)*3)}.ck .ck-balloon-panel_arrow_s+.ck-fake-panel,.ck .ck-balloon-panel_arrow_se+.ck-fake-panel,.ck .ck-balloon-panel_arrow_sw+.ck-fake-panel{--ck-balloon-fake-panel-offset-vertical:-6px}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/panel/fakepanel.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/panel/fakepanel.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAKA,mBACC,iBAAkB,CAGlB,mCACD,CAEA,uBACC,iBACD,CAEA,mCACC,SACD,CAEA,oCACC,SACD,CCfA,MACC,6CAA8C,CAC9C,2CACD,CAGA,uBAKC,2CAA4C,CAC5C,6CAA8C,CAC9C,qCAAsC,CCXtC,oCAA8B,CDc9B,WAAY,CAPZ,eAAgB,CAMhB,UAED,CAEA,mCACC,0DAA2D,CAC3D,uDACD,CAEA,oCACC,kEAAqE,CACrE,+DACD,CACA,oCACC,kEAAqE,CACrE,+DACD,CAGA,yIAGC,4CACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-fake-panel {\n\tposition: absolute;\n\n\t/* Fake panels should be placed under main balloon content. */\n\tz-index: calc(var(--ck-z-modal) - 1);\n}\n\n.ck .ck-fake-panel div {\n\tposition: absolute;\n}\n\n.ck .ck-fake-panel div:nth-child( 1 ) {\n\tz-index: 2;\n}\n\n.ck .ck-fake-panel div:nth-child( 2 ) {\n\tz-index: 1;\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_shadow.css";\n\n:root {\n\t--ck-balloon-fake-panel-offset-horizontal: 6px;\n\t--ck-balloon-fake-panel-offset-vertical: 6px;\n}\n\n/* Let\'s use `.ck-balloon-panel` appearance. See: balloonpanel.css. */\n.ck .ck-fake-panel div {\n\t@mixin ck-drop-shadow;\n\n\tmin-height: 15px;\n\n\tbackground: var(--ck-color-panel-background);\n\tborder: 1px solid var(--ck-color-panel-border);\n\tborder-radius: var(--ck-border-radius);\n\n\twidth: 100%;\n\theight: 100%;\n}\n\n.ck .ck-fake-panel div:nth-child( 1 ) {\n\tmargin-left: var(--ck-balloon-fake-panel-offset-horizontal);\n\tmargin-top: var(--ck-balloon-fake-panel-offset-vertical);\n}\n\n.ck .ck-fake-panel div:nth-child( 2 ) {\n\tmargin-left: calc(var(--ck-balloon-fake-panel-offset-horizontal) * 2);\n\tmargin-top: calc(var(--ck-balloon-fake-panel-offset-vertical) * 2);\n}\n.ck .ck-fake-panel div:nth-child( 3 ) {\n\tmargin-left: calc(var(--ck-balloon-fake-panel-offset-horizontal) * 3);\n\tmargin-top: calc(var(--ck-balloon-fake-panel-offset-vertical) * 3);\n}\n\n/* If balloon is positioned above element, we need to move fake panel to the top. */\n.ck .ck-balloon-panel_arrow_s + .ck-fake-panel,\n.ck .ck-balloon-panel_arrow_se + .ck-fake-panel,\n.ck .ck-balloon-panel_arrow_sw + .ck-fake-panel {\n\t--ck-balloon-fake-panel-offset-vertical: -6px;\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const I=P},5868:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck.ck-sticky-panel .ck-sticky-panel__content_sticky{position:fixed;top:0;z-index:var(--ck-z-modal)}.ck.ck-sticky-panel .ck-sticky-panel__content_sticky_bottom-limit{position:absolute;top:auto}.ck.ck-sticky-panel .ck-sticky-panel__content_sticky{border-top-left-radius:0;border-top-right-radius:0;border-width:0 1px 1px;box-shadow:var(--ck-drop-shadow),0 0}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/panel/stickypanel.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/panel/stickypanel.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAMC,qDAEC,cAAe,CACf,KAAM,CAFN,yBAGD,CAEA,kEAEC,iBAAkB,CADlB,QAED,CCPA,qDAIC,wBAAyB,CACzB,yBAA0B,CAF1B,sBAAuB,CCFxB,oCDKA",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-sticky-panel {\n\t& .ck-sticky-panel__content_sticky {\n\t\tz-index: var(--ck-z-modal); /* #315 */\n\t\tposition: fixed;\n\t\ttop: 0;\n\t}\n\n\t& .ck-sticky-panel__content_sticky_bottom-limit {\n\t\ttop: auto;\n\t\tposition: absolute;\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_shadow.css";\n\n.ck.ck-sticky-panel {\n\t& .ck-sticky-panel__content_sticky {\n\t\t@mixin ck-drop-shadow;\n\n\t\tborder-width: 0 1px 1px;\n\t\tborder-top-left-radius: 0;\n\t\tborder-top-right-radius: 0;\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const I=P},6764:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',"",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/responsive-form/responsiveform.css","webpack://./../ckeditor5-ui/theme/mixins/_rwd.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/responsive-form/responsiveform.css"],names:[],mappings:"AAQC,mCAMC,WAAY,CALZ,UAAW,CAEX,iBAAkB,CAClB,UAAW,CACX,QAAS,CAHT,OAAQ,CAKR,SACD,CAEA,yCACC,YACD,CCdA,oCDoBE,wCAMC,WAAY,CALZ,UAAW,CAEX,iBAAkB,CAClB,UAAW,CACX,QAAS,CAHT,OAAQ,CAKR,SACD,CAEA,8CACC,YACD,CC9BF,CCAD,qDACC,kDACD,CAEA,uBACC,+BAmED,CAjEC,6BAEC,YACD,CASC,uGACC,sCACD,CDvBD,oCCMD,uBAqBE,SAAU,CACV,oCA8CF,CA5CE,8CACC,wDAWD,CATC,6DACC,WAAY,CACZ,UACD,CAGA,4EACC,kBACD,CAKA,0DACC,kDACD,CAGD,iGAIC,eAAgB,CADhB,kCAAmC,CADnC,kCAmBD,CAfC,yHACC,gDACD,CARD,0OAeE,aAMF,CAJE,+IACC,kDACD,CDpEH",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n\n.ck-vertical-form .ck-button {\n\t&::after {\n\t\tcontent: "";\n\t\twidth: 0;\n\t\tposition: absolute;\n\t\tright: -1px;\n\t\ttop: -1px;\n\t\tbottom: -1px;\n\t\tz-index: 1;\n\t}\n\n\t&:focus::after {\n\t\tdisplay: none;\n\t}\n}\n\n.ck.ck-responsive-form {\n\t@mixin ck-media-phone {\n\t\t& .ck-button {\n\t\t\t&::after {\n\t\t\t\tcontent: "";\n\t\t\t\twidth: 0;\n\t\t\t\tposition: absolute;\n\t\t\t\tright: -1px;\n\t\t\t\ttop: -1px;\n\t\t\t\tbottom: -1px;\n\t\t\t\tz-index: 1;\n\t\t\t}\n\n\t\t\t&:focus::after {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@define-mixin ck-media-phone {\n\t@media screen and (max-width: 600px) {\n\t\t@mixin-content;\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n.ck-vertical-form > .ck-button:nth-last-child(2)::after {\n\tborder-right: 1px solid var(--ck-color-base-border);\n}\n\n.ck.ck-responsive-form {\n\tpadding: var(--ck-spacing-large);\n\n\t&:focus {\n\t\t/* See: https://github.com/ckeditor/ckeditor5/issues/4773 */\n\t\toutline: none;\n\t}\n\n\t@mixin ck-dir ltr {\n\t\t& > :not(:first-child) {\n\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t}\n\t}\n\n\t@mixin ck-dir rtl {\n\t\t& > :not(:last-child) {\n\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t}\n\t}\n\n\t@mixin ck-media-phone {\n\t\tpadding: 0;\n\t\twidth: calc(.8 * var(--ck-input-width));\n\n\t\t& .ck-labeled-field-view {\n\t\t\tmargin: var(--ck-spacing-large) var(--ck-spacing-large) 0;\n\n\t\t\t& .ck-input-text {\n\t\t\t\tmin-width: 0;\n\t\t\t\twidth: 100%;\n\t\t\t}\n\n\t\t\t/* Let the long error messages wrap in the narrow form. */\n\t\t\t& .ck-labeled-field-view__error {\n\t\t\t\twhite-space: normal;\n\t\t\t}\n\t\t}\n\n\t\t/* Styles for two last buttons in the form (save&cancel, edit&unlink, etc.). */\n\t\t& > .ck-button:nth-last-child(2) {\n\t\t\t&::after {\n\t\t\t\tborder-right: 1px solid var(--ck-color-base-border);\n\t\t\t}\n\t\t}\n\n\t\t& > .ck-button:nth-last-child(1),\n\t\t& > .ck-button:nth-last-child(2) {\n\t\t\tpadding: var(--ck-spacing-standard);\n\t\t\tmargin-top: var(--ck-spacing-large);\n\t\t\tborder-radius: 0;\n\n\t\t\t&:not(:focus) {\n\t\t\t\tborder-top: 1px solid var(--ck-color-base-border);\n\t\t\t}\n\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tmargin-left: 0;\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tmargin-left: 0;\n\n\t\t\t\t&:last-of-type {\n\t\t\t\t\tborder-right: 1px solid var(--ck-color-base-border);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const I=P},6770:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck.ck-search>.ck-labeled-field-view>.ck-labeled-field-view__input-wrapper>.ck-icon{position:absolute;top:50%;transform:translateY(-50%)}[dir=ltr] .ck.ck-search>.ck-labeled-field-view>.ck-labeled-field-view__input-wrapper>.ck-icon{left:var(--ck-spacing-medium)}[dir=rtl] .ck.ck-search>.ck-labeled-field-view>.ck-labeled-field-view__input-wrapper>.ck-icon{right:var(--ck-spacing-medium)}.ck.ck-search>.ck-labeled-field-view .ck-search__reset{position:absolute;top:50%;transform:translateY(-50%)}.ck.ck-search>.ck-search__results>.ck-search__info>span:first-child{display:block}.ck.ck-search>.ck-search__results>.ck-search__info:not(.ck-hidden)~*{display:none}:root{--ck-search-field-view-horizontal-spacing:calc(var(--ck-icon-size) + var(--ck-spacing-medium))}.ck.ck-search>.ck-labeled-field-view .ck-input{width:100%}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-icon{--ck-labeled-field-label-default-position-x:var(--ck-search-field-view-horizontal-spacing)}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-icon>.ck-labeled-field-view__input-wrapper>.ck-icon{opacity:.5;pointer-events:none}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-icon .ck-input{width:100%}[dir=ltr] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-icon .ck-input,[dir=rtl] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-icon .ck-input:not(.ck-input-text_empty){padding-left:var(--ck-search-field-view-horizontal-spacing)}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset{--ck-labeled-field-empty-unfocused-max-width:100% - 2 * var(--ck-search-field-view-horizontal-spacing)}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset.ck-labeled-field-view_empty{--ck-labeled-field-empty-unfocused-max-width:100% - var(--ck-search-field-view-horizontal-spacing) - var(--ck-spacing-medium)}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-search__reset{background:none;min-height:auto;min-width:auto;opacity:.5;padding:0}[dir=ltr] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-search__reset{right:var(--ck-spacing-medium)}[dir=rtl] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-search__reset{left:var(--ck-spacing-medium)}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-search__reset:hover{opacity:1}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-input{width:100%}[dir=ltr] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-input:not(.ck-input-text_empty),[dir=rtl] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-input{padding-right:var(--ck-search-field-view-horizontal-spacing)}.ck.ck-search>.ck-search__results{min-width:100%}.ck.ck-search>.ck-search__results>.ck-search__info{padding:var(--ck-spacing-medium) var(--ck-spacing-large);width:100%}.ck.ck-search>.ck-search__results>.ck-search__info *{white-space:normal}.ck.ck-search>.ck-search__results>.ck-search__info>span:first-child{font-weight:700}.ck.ck-search>.ck-search__results>.ck-search__info>span:last-child{margin-top:var(--ck-spacing-medium)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/search/search.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/search/search.css"],names:[],mappings:"AASE,oFACC,iBAAkB,CAClB,OAAQ,CACR,0BASD,CAZA,8FAME,6BAMF,CAZA,8FAUE,8BAEF,CAEA,uDACC,iBAAkB,CAClB,OAAQ,CACR,0BACD,CAKC,oEACC,aACD,CAGA,qEACC,YACD,CChCH,MACC,8FACD,CAIE,+CACC,UACD,CAEA,gEACC,0FAoBD,CAlBC,+GACC,UAAW,CACX,mBACD,CAEA,0EACC,UAWD,CAJE,kMACC,2DACD,CAKH,iEACC,sGAwCD,CAtCC,6FACC,6HACD,CAEA,mFAIC,eAAgB,CAFhB,eAAgB,CADhB,cAAe,CAIf,UAAW,CACX,SAaD,CAnBA,6FASE,8BAUF,CAnBA,6FAaE,6BAMF,CAHC,yFACC,SACD,CAGD,2EACC,UAWD,CAZA,oMAUE,4DAEF,CAIF,kCACC,cAkBD,CAhBC,mDAEC,wDAAyD,CADzD,UAcD,CAXC,qDACC,kBACD,CAEA,oEACC,eACD,CAEA,mEACC,mCACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n.ck.ck-search {\n\t& > .ck-labeled-field-view {\n\t\t& > .ck-labeled-field-view__input-wrapper > .ck-icon {\n\t\t\tposition: absolute;\n\t\t\ttop: 50%;\n\t\t\ttransform: translateY(-50%);\n\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tleft: var(--ck-spacing-medium);\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tright: var(--ck-spacing-medium);\n\t\t\t}\n\t\t}\n\n\t\t& .ck-search__reset {\n\t\t\tposition: absolute;\n\t\t\ttop: 50%;\n\t\t\ttransform: translateY(-50%);\n\t\t}\n\t}\n\n\t& > .ck-search__results {\n\t\t& > .ck-search__info {\n\t\t\t& > span:first-child {\n\t\t\t\tdisplay: block;\n\t\t\t}\n\n\t\t\t/* Hide the filtered view when nothing was found */\n\t\t\t&:not(.ck-hidden) ~ * {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\t}\n}\n','/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n:root {\n\t--ck-search-field-view-horizontal-spacing: calc(var(--ck-icon-size) + var(--ck-spacing-medium));\n}\n\n.ck.ck-search {\n\t& > .ck-labeled-field-view {\n\t\t& .ck-input {\n\t\t\twidth: 100%;\n\t\t}\n\n\t\t&.ck-search__query_with-icon {\n\t\t\t--ck-labeled-field-label-default-position-x: var(--ck-search-field-view-horizontal-spacing);\n\n\t\t\t& > .ck-labeled-field-view__input-wrapper > .ck-icon {\n\t\t\t\topacity: .5;\n\t\t\t\tpointer-events: none;\n\t\t\t}\n\n\t\t\t& .ck-input {\n\t\t\t\twidth: 100%;\n\n\t\t\t\t@mixin ck-dir ltr {\n\t\t\t\t\tpadding-left: var(--ck-search-field-view-horizontal-spacing);\n\t\t\t\t}\n\n\t\t\t\t@mixin ck-dir rtl {\n\t\t\t\t\t&:not(.ck-input-text_empty) {\n\t\t\t\t\t\tpadding-left: var(--ck-search-field-view-horizontal-spacing);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t&.ck-search__query_with-reset {\n\t\t\t--ck-labeled-field-empty-unfocused-max-width: 100% - 2 * var(--ck-search-field-view-horizontal-spacing);\n\n\t\t\t&.ck-labeled-field-view_empty {\n\t\t\t\t--ck-labeled-field-empty-unfocused-max-width: 100% - var(--ck-search-field-view-horizontal-spacing) - var(--ck-spacing-medium);\n\t\t\t}\n\n\t\t\t& .ck-search__reset {\n\t\t\t\tmin-width: auto;\n\t\t\t\tmin-height: auto;\n\n\t\t\t\tbackground: none;\n\t\t\t\topacity: .5;\n\t\t\t\tpadding: 0;\n\n\t\t\t\t@mixin ck-dir ltr {\n\t\t\t\t\tright: var(--ck-spacing-medium);\n\t\t\t\t}\n\n\t\t\t\t@mixin ck-dir rtl {\n\t\t\t\t\tleft: var(--ck-spacing-medium);\n\t\t\t\t}\n\n\t\t\t\t&:hover {\n\t\t\t\t\topacity: 1;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t& .ck-input {\n\t\t\t\twidth: 100%;\n\n\t\t\t\t@mixin ck-dir ltr {\n\t\t\t\t\t&:not(.ck-input-text_empty) {\n\t\t\t\t\t\tpadding-right: var(--ck-search-field-view-horizontal-spacing);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t@mixin ck-dir rtl {\n\t\t\t\t\tpadding-right: var(--ck-search-field-view-horizontal-spacing);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t& > .ck-search__results {\n\t\tmin-width: 100%;\n\n\t\t& > .ck-search__info {\n\t\t\twidth: 100%;\n\t\t\tpadding: var(--ck-spacing-medium) var(--ck-spacing-large);\n\n\t\t\t& * {\n\t\t\t\twhite-space: normal;\n\t\t\t}\n\n\t\t\t& > span:first-child {\n\t\t\t\tfont-weight: bold;\n\t\t\t}\n\n\t\t\t& > span:last-child {\n\t\t\t\tmargin-top: var(--ck-spacing-medium);\n\t\t\t}\n\t\t}\n\t}\n}\n\n'],sourceRoot:""}]);const I=P},498:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck.ck-spinner-container{display:block;position:relative}.ck.ck-spinner{left:0;margin:0 auto;position:absolute;right:0;top:50%;transform:translateY(-50%);z-index:1}:root{--ck-toolbar-spinner-size:18px}.ck.ck-spinner-container{animation:rotate 1.5s linear infinite}.ck.ck-spinner,.ck.ck-spinner-container{height:var(--ck-toolbar-spinner-size);width:var(--ck-toolbar-spinner-size)}.ck.ck-spinner{border:2px solid var(--ck-color-text);border-radius:50%;border-top:2px solid transparent}@keyframes rotate{to{transform:rotate(1turn)}}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/spinner/spinner.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/spinner/spinner.css"],names:[],mappings:"AASA,yBACC,aAAc,CACd,iBACD,CAEA,eAGC,MAAO,CAEP,aAAc,CAJd,iBAAkB,CAGlB,OAAQ,CAFR,OAAQ,CAIR,0BAA2B,CAC3B,SACD,CCjBA,MACC,8BACD,CAEA,yBAGC,qCACD,CAEA,wCAJC,qCAAsC,CADtC,oCAWD,CANA,eAKC,qCAA6B,CAF7B,iBAAkB,CAElB,gCACD,CAEA,kBACC,GACC,uBACD,CACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-toolbar-spinner-size: 18px;\n}\n\n.ck.ck-spinner-container {\n\tdisplay: block;\n\tposition: relative;\n}\n\n.ck.ck-spinner {\n\tposition: absolute;\n\ttop: 50%;\n\tleft: 0;\n\tright: 0;\n\tmargin: 0 auto;\n\ttransform: translateY(-50%);\n\tz-index: 1;\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-toolbar-spinner-size: 18px;\n}\n\n.ck.ck-spinner-container {\n\twidth: var(--ck-toolbar-spinner-size);\n\theight: var(--ck-toolbar-spinner-size);\n\tanimation: 1.5s infinite rotate linear;\n}\n\n.ck.ck-spinner {\n\twidth: var(--ck-toolbar-spinner-size);\n\theight: var(--ck-toolbar-spinner-size);\n\tborder-radius: 50%;\n\tborder: 2px solid var(--ck-color-text);\n\tborder-top-color: transparent;\n}\n\n@keyframes rotate {\n\tto {\n\t\ttransform: rotate(360deg)\n\t}\n}\n\n"],sourceRoot:""}]);const I=P},8182:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck-textarea{overflow-x:hidden}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/textarea/textarea.css"],names:[],mappings:"AASA,aACC,iBACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/*\n * This fixes a problem in Firefox when the initial height of the complement does not match the number of rows.\n * This bug is especially visible when rows=1.\n */\n.ck-textarea {\n\toverflow-x: hidden\n}\n"],sourceRoot:""}]);const I=P},9695:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck.ck-block-toolbar-button{position:absolute;z-index:var(--ck-z-default)}:root{--ck-color-block-toolbar-button:var(--ck-color-text);--ck-block-toolbar-button-size:var(--ck-font-size-normal)}.ck.ck-block-toolbar-button{color:var(--ck-color-block-toolbar-button);font-size:var(--ck-block-toolbar-size)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/toolbar/blocktoolbar.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/toolbar/blocktoolbar.css"],names:[],mappings:"AAKA,4BACC,iBAAkB,CAClB,2BACD,CCHA,MACC,oDAAqD,CACrD,yDACD,CAEA,4BACC,0CAA2C,CAC3C,sCACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-block-toolbar-button {\n\tposition: absolute;\n\tz-index: var(--ck-z-default);\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-block-toolbar-button: var(--ck-color-text);\n\t--ck-block-toolbar-button-size: var(--ck-font-size-normal);\n}\n\n.ck.ck-block-toolbar-button {\n\tcolor: var(--ck-color-block-toolbar-button);\n\tfont-size: var(--ck-block-toolbar-size);\n}\n"],sourceRoot:""}]);const I=P},5542:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck.ck-toolbar{align-items:center;display:flex;flex-flow:row nowrap;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ck.ck-toolbar>.ck-toolbar__items{align-items:center;display:flex;flex-flow:row wrap;flex-grow:1}.ck.ck-toolbar .ck.ck-toolbar__separator{display:inline-block}.ck.ck-toolbar .ck.ck-toolbar__separator:first-child,.ck.ck-toolbar .ck.ck-toolbar__separator:last-child{display:none}.ck.ck-toolbar .ck-toolbar__line-break{flex-basis:100%}.ck.ck-toolbar.ck-toolbar_grouping>.ck-toolbar__items{flex-wrap:nowrap}.ck.ck-toolbar.ck-toolbar_vertical>.ck-toolbar__items{flex-direction:column}.ck.ck-toolbar.ck-toolbar_floating>.ck-toolbar__items{flex-wrap:nowrap}.ck.ck-toolbar>.ck.ck-toolbar__grouped-dropdown>.ck-dropdown__button .ck-dropdown__arrow{display:none}.ck.ck-toolbar{border-radius:0}.ck-rounded-corners .ck.ck-toolbar,.ck.ck-toolbar.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-toolbar{background:var(--ck-color-toolbar-background);border:1px solid var(--ck-color-toolbar-border);padding:0 var(--ck-spacing-small)}.ck.ck-toolbar .ck.ck-toolbar__separator{align-self:stretch;background:var(--ck-color-toolbar-border);margin-bottom:var(--ck-spacing-small);margin-top:var(--ck-spacing-small);min-width:1px;width:1px}.ck.ck-toolbar .ck-toolbar__line-break{height:0}.ck.ck-toolbar>.ck-toolbar__items>:not(.ck-toolbar__line-break){margin-right:var(--ck-spacing-small)}.ck.ck-toolbar>.ck-toolbar__items:empty+.ck.ck-toolbar__separator{display:none}.ck.ck-toolbar>.ck-toolbar__items>:not(.ck-toolbar__line-break),.ck.ck-toolbar>.ck.ck-toolbar__grouped-dropdown{margin-bottom:var(--ck-spacing-small);margin-top:var(--ck-spacing-small)}.ck.ck-toolbar.ck-toolbar_vertical{padding:0}.ck.ck-toolbar.ck-toolbar_vertical>.ck-toolbar__items>.ck{border-radius:0;margin:0;width:100%}.ck.ck-toolbar.ck-toolbar_compact{padding:0}.ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>*{margin:0}.ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>:not(:first-child):not(:last-child){border-radius:0}.ck.ck-toolbar>.ck.ck-toolbar__grouped-dropdown>.ck.ck-button.ck-dropdown__button{padding-left:var(--ck-spacing-tiny)}.ck.ck-toolbar .ck-toolbar__nested-toolbar-dropdown>.ck-dropdown__panel{min-width:auto}.ck.ck-toolbar .ck-toolbar__nested-toolbar-dropdown>.ck-button>.ck-button__label{max-width:7em;width:auto}.ck.ck-toolbar:focus{outline:none}.ck-toolbar-container .ck.ck-toolbar{border:0}.ck.ck-toolbar[dir=rtl]>.ck-toolbar__items>.ck,[dir=rtl] .ck.ck-toolbar>.ck-toolbar__items>.ck{margin-right:0}.ck.ck-toolbar[dir=rtl]:not(.ck-toolbar_compact)>.ck-toolbar__items>.ck,[dir=rtl] .ck.ck-toolbar:not(.ck-toolbar_compact)>.ck-toolbar__items>.ck{margin-left:var(--ck-spacing-small)}.ck.ck-toolbar[dir=rtl]>.ck-toolbar__items>.ck:last-child,[dir=rtl] .ck.ck-toolbar>.ck-toolbar__items>.ck:last-child{margin-left:0}.ck.ck-toolbar.ck-toolbar_compact[dir=rtl]>.ck-toolbar__items>.ck:first-child,[dir=rtl] .ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>.ck:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.ck.ck-toolbar.ck-toolbar_compact[dir=rtl]>.ck-toolbar__items>.ck:last-child,[dir=rtl] .ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>.ck:last-child{border-bottom-right-radius:0;border-top-right-radius:0}.ck.ck-toolbar.ck-toolbar_grouping[dir=rtl]>.ck-toolbar__items:not(:empty):not(:only-child),.ck.ck-toolbar[dir=rtl]>.ck.ck-toolbar__separator,[dir=rtl] .ck.ck-toolbar.ck-toolbar_grouping>.ck-toolbar__items:not(:empty):not(:only-child),[dir=rtl] .ck.ck-toolbar>.ck.ck-toolbar__separator{margin-left:var(--ck-spacing-small)}.ck.ck-toolbar[dir=ltr]>.ck-toolbar__items>.ck:last-child,[dir=ltr] .ck.ck-toolbar>.ck-toolbar__items>.ck:last-child{margin-right:0}.ck.ck-toolbar.ck-toolbar_compact[dir=ltr]>.ck-toolbar__items>.ck:first-child,[dir=ltr] .ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>.ck:first-child{border-bottom-right-radius:0;border-top-right-radius:0}.ck.ck-toolbar.ck-toolbar_compact[dir=ltr]>.ck-toolbar__items>.ck:last-child,[dir=ltr] .ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>.ck:last-child{border-bottom-left-radius:0;border-top-left-radius:0}.ck.ck-toolbar.ck-toolbar_grouping[dir=ltr]>.ck-toolbar__items:not(:empty):not(:only-child),.ck.ck-toolbar[dir=ltr]>.ck.ck-toolbar__separator,[dir=ltr] .ck.ck-toolbar.ck-toolbar_grouping>.ck-toolbar__items:not(:empty):not(:only-child),[dir=ltr] .ck.ck-toolbar>.ck.ck-toolbar__separator{margin-right:var(--ck-spacing-small)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/toolbar/toolbar.css","webpack://./../ckeditor5-ui/theme/mixins/_unselectable.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/toolbar/toolbar.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAOA,eAKC,kBAAmB,CAFnB,YAAa,CACb,oBAAqB,CCFrB,qBAAsB,CACtB,wBAAyB,CACzB,oBAAqB,CACrB,gBD6CD,CA3CC,kCAGC,kBAAmB,CAFnB,YAAa,CACb,kBAAmB,CAEnB,WAED,CAEA,yCACC,oBAWD,CAJC,yGAEC,YACD,CAGD,uCACC,eACD,CAEA,sDACC,gBACD,CAEA,sDACC,qBACD,CAEA,sDACC,gBACD,CAGC,yFACC,YACD,CE/CF,eCGC,eDwGD,CA3GA,qECOE,qCDoGF,CA3GA,eAGC,6CAA8C,CAE9C,+CAAgD,CADhD,iCAuGD,CApGC,yCACC,kBAAmB,CAGnB,yCAA0C,CAO1C,qCAAsC,CADtC,kCAAmC,CAPnC,aAAc,CADd,SAUD,CAEA,uCACC,QACD,CAGC,gEAEC,oCACD,CAIA,kEACC,YACD,CAGD,gHAIC,qCAAsC,CADtC,kCAED,CAEA,mCAEC,SAaD,CAVC,0DAQC,eAAgB,CAHhB,QAAS,CAHT,UAOD,CAGD,kCAEC,SAWD,CATC,uDAEC,QAMD,CAHC,yFACC,eACD,CASD,kFACC,mCACD,CAMA,wEACC,cACD,CAEA,iFACC,aAAc,CACd,UACD,CAGD,qBACC,YACD,CAtGD,qCAyGE,QAEF,CAYC,+FACC,cACD,CAEA,iJAEC,mCACD,CAEA,qHACC,aACD,CAIC,6JAEC,2BAA4B,CAD5B,wBAED,CAGA,2JAEC,4BAA6B,CAD7B,yBAED,CASD,8RACC,mCACD,CAWA,qHACC,cACD,CAIC,6JAEC,4BAA6B,CAD7B,yBAED,CAGA,2JAEC,2BAA4B,CAD5B,wBAED,CASD,8RACC,oCACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../mixins/_unselectable.css";\n\n.ck.ck-toolbar {\n\t@mixin ck-unselectable;\n\n\tdisplay: flex;\n\tflex-flow: row nowrap;\n\talign-items: center;\n\n\t& > .ck-toolbar__items {\n\t\tdisplay: flex;\n\t\tflex-flow: row wrap;\n\t\talign-items: center;\n\t\tflex-grow: 1;\n\n\t}\n\n\t& .ck.ck-toolbar__separator {\n\t\tdisplay: inline-block;\n\n\t\t/*\n\t\t * A leading or trailing separator makes no sense (separates from nothing on one side).\n\t\t * For instance, it can happen when toolbar items (also separators) are getting grouped one by one and\n\t\t * moved to another toolbar in the dropdown.\n\t\t */\n\t\t&:first-child,\n\t\t&:last-child {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n\n\t& .ck-toolbar__line-break {\n\t\tflex-basis: 100%;\n\t}\n\n\t&.ck-toolbar_grouping > .ck-toolbar__items {\n\t\tflex-wrap: nowrap;\n\t}\n\n\t&.ck-toolbar_vertical > .ck-toolbar__items {\n\t\tflex-direction: column;\n\t}\n\n\t&.ck-toolbar_floating > .ck-toolbar__items {\n\t\tflex-wrap: nowrap;\n\t}\n\n\t& > .ck.ck-toolbar__grouped-dropdown {\n\t\t& > .ck-dropdown__button .ck-dropdown__arrow {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Makes element unselectable.\n */\n@define-mixin ck-unselectable {\n\t-moz-user-select: none;\n\t-webkit-user-select: none;\n\t-ms-user-select: none;\n\tuser-select: none\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n.ck.ck-toolbar {\n\t@mixin ck-rounded-corners;\n\n\tbackground: var(--ck-color-toolbar-background);\n\tpadding: 0 var(--ck-spacing-small);\n\tborder: 1px solid var(--ck-color-toolbar-border);\n\n\t& .ck.ck-toolbar__separator {\n\t\talign-self: stretch;\n\t\twidth: 1px;\n\t\tmin-width: 1px;\n\t\tbackground: var(--ck-color-toolbar-border);\n\n\t\t/*\n\t\t * These margins make the separators look better in balloon toolbars (when aligned with the "tip").\n\t\t * See https://github.com/ckeditor/ckeditor5/issues/7493.\n\t\t */\n\t\tmargin-top: var(--ck-spacing-small);\n\t\tmargin-bottom: var(--ck-spacing-small);\n\t}\n\n\t& .ck-toolbar__line-break {\n\t\theight: 0;\n\t}\n\n\t& > .ck-toolbar__items {\n\t\t& > *:not(.ck-toolbar__line-break) {\n\t\t\t/* (#11) Separate toolbar items. */\n\t\t\tmargin-right: var(--ck-spacing-small);\n\t\t}\n\n\t\t/* Don\'t display a separator after an empty items container, for instance,\n\t\twhen all items were grouped */\n\t\t&:empty + .ck.ck-toolbar__separator {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n\n\t& > .ck-toolbar__items > *:not(.ck-toolbar__line-break),\n\t& > .ck.ck-toolbar__grouped-dropdown {\n\t\t/* Make sure items wrapped to the next line have v-spacing */\n\t\tmargin-top: var(--ck-spacing-small);\n\t\tmargin-bottom: var(--ck-spacing-small);\n\t}\n\n\t&.ck-toolbar_vertical {\n\t\t/* Items in a vertical toolbar span the entire width. */\n\t\tpadding: 0;\n\n\t\t/* Specificity matters here. See https://github.com/ckeditor/ckeditor5-theme-lark/issues/168. */\n\t\t& > .ck-toolbar__items > .ck {\n\t\t\t/* Items in a vertical toolbar should span the horizontal space. */\n\t\t\twidth: 100%;\n\n\t\t\t/* Items in a vertical toolbar should have no margin. */\n\t\t\tmargin: 0;\n\n\t\t\t/* Items in a vertical toolbar span the entire width so rounded corners are pointless. */\n\t\t\tborder-radius: 0;\n\t\t}\n\t}\n\n\t&.ck-toolbar_compact {\n\t\t/* No spacing around items. */\n\t\tpadding: 0;\n\n\t\t& > .ck-toolbar__items > * {\n\t\t\t/* Compact toolbar items have no spacing between them. */\n\t\t\tmargin: 0;\n\n\t\t\t/* "Middle" children should have no rounded corners. */\n\t\t\t&:not(:first-child):not(:last-child) {\n\t\t\t\tborder-radius: 0;\n\t\t\t}\n\t\t}\n\t}\n\n\t& > .ck.ck-toolbar__grouped-dropdown {\n\t\t/*\n\t\t * Dropdown button has asymmetric padding to fit the arrow.\n\t\t * This button has no arrow so let\'s revert that padding back to normal.\n\t\t */\n\t\t& > .ck.ck-button.ck-dropdown__button {\n\t\t\tpadding-left: var(--ck-spacing-tiny);\n\t\t}\n\t}\n\n\t/* A drop-down containing the nested toolbar with configured items. */\n\t& .ck-toolbar__nested-toolbar-dropdown {\n\t\t/* Prevent empty space in the panel when the dropdown label is visible and long but the toolbar has few items. */\n\t\t& > .ck-dropdown__panel {\n\t\t\tmin-width: auto;\n\t\t}\n\n\t\t& > .ck-button > .ck-button__label {\n\t\t\tmax-width: 7em;\n\t\t\twidth: auto;\n\t\t}\n\t}\n\n\t&:focus {\n\t\toutline: none;\n\t}\n\n\t@nest .ck-toolbar-container & {\n\t\tborder: 0;\n\t}\n}\n\n/* stylelint-disable */\n\n/*\n * Styles for RTL toolbars.\n *\n * Note: In some cases (e.g. a decoupled editor), the toolbar has its own "dir"\n * because its parent is not controlled by the editor framework.\n */\n[dir="rtl"] .ck.ck-toolbar,\n.ck.ck-toolbar[dir="rtl"] {\n\t& > .ck-toolbar__items > .ck {\n\t\tmargin-right: 0;\n\t}\n\n\t&:not(.ck-toolbar_compact) > .ck-toolbar__items > .ck {\n\t\t/* (#11) Separate toolbar items. */\n\t\tmargin-left: var(--ck-spacing-small);\n\t}\n\n\t& > .ck-toolbar__items > .ck:last-child {\n\t\tmargin-left: 0;\n\t}\n\n\t&.ck-toolbar_compact > .ck-toolbar__items > .ck {\n\t\t/* No rounded corners on the right side of the first child. */\n\t\t&:first-child {\n\t\t\tborder-top-left-radius: 0;\n\t\t\tborder-bottom-left-radius: 0;\n\t\t}\n\n\t\t/* No rounded corners on the left side of the last child. */\n\t\t&:last-child {\n\t\t\tborder-top-right-radius: 0;\n\t\t\tborder-bottom-right-radius: 0;\n\t\t}\n\t}\n\n\t/* Separate the the separator form the grouping dropdown when some items are grouped. */\n\t& > .ck.ck-toolbar__separator {\n\t\tmargin-left: var(--ck-spacing-small);\n\t}\n\n\t/* Some spacing between the items and the separator before the grouped items dropdown. */\n\t&.ck-toolbar_grouping > .ck-toolbar__items:not(:empty):not(:only-child) {\n\t\tmargin-left: var(--ck-spacing-small);\n\t}\n}\n\n/*\n * Styles for LTR toolbars.\n *\n * Note: In some cases (e.g. a decoupled editor), the toolbar has its own "dir"\n * because its parent is not controlled by the editor framework.\n */\n[dir="ltr"] .ck.ck-toolbar,\n.ck.ck-toolbar[dir="ltr"] {\n\t& > .ck-toolbar__items > .ck:last-child {\n\t\tmargin-right: 0;\n\t}\n\n\t&.ck-toolbar_compact > .ck-toolbar__items > .ck {\n\t\t/* No rounded corners on the right side of the first child. */\n\t\t&:first-child {\n\t\t\tborder-top-right-radius: 0;\n\t\t\tborder-bottom-right-radius: 0;\n\t\t}\n\n\t\t/* No rounded corners on the left side of the last child. */\n\t\t&:last-child {\n\t\t\tborder-top-left-radius: 0;\n\t\t\tborder-bottom-left-radius: 0;\n\t\t}\n\t}\n\n\t/* Separate the the separator form the grouping dropdown when some items are grouped. */\n\t& > .ck.ck-toolbar__separator {\n\t\tmargin-right: var(--ck-spacing-small);\n\t}\n\n\t/* Some spacing between the items and the separator before the grouped items dropdown. */\n\t&.ck-toolbar_grouping > .ck-toolbar__items:not(:empty):not(:only-child) {\n\t\tmargin-right: var(--ck-spacing-small);\n\t}\n}\n\n/* stylelint-enable */\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const I=P},3332:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck.ck-balloon-panel.ck-tooltip{--ck-balloon-border-width:0px;--ck-balloon-arrow-offset:0px;--ck-balloon-arrow-half-width:4px;--ck-balloon-arrow-height:4px;--ck-tooltip-text-padding:4px;--ck-color-panel-background:var(--ck-color-tooltip-background);padding:0 var(--ck-spacing-medium);pointer-events:none;z-index:calc(var(--ck-z-modal) + 100)}.ck.ck-balloon-panel.ck-tooltip .ck-tooltip__text{color:var(--ck-color-tooltip-text);font-size:.9em;line-height:1.5}.ck.ck-balloon-panel.ck-tooltip.ck-tooltip_multi-line .ck-tooltip__text{display:inline-block;padding:var(--ck-tooltip-text-padding) 0;white-space:break-spaces}.ck.ck-balloon-panel.ck-tooltip{box-shadow:none}.ck.ck-balloon-panel.ck-tooltip:before{display:none}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/tooltip/tooltip.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/tooltip/tooltip.css"],names:[],mappings:"AAKA,gCCGC,6BAA8B,CAC9B,6BAA8B,CAC9B,iCAAkC,CAClC,6BAA8B,CAC9B,6BAA8B,CAC9B,8DAA+D,CAE/D,kCAAmC,CDRnC,mBAAoB,CAEpB,qCACD,CCOC,kDAGC,kCAAmC,CAFnC,cAAe,CACf,eAED,CAEA,wEAEC,oBAAqB,CACrB,wCAAyC,CAFzC,wBAGD,CApBD,gCAuBC,eAMD,CAHC,uCACC,YACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-balloon-panel.ck-tooltip {\n\t/* Keep tooltips transparent for any interactions. */\n\tpointer-events: none;\n\n\tz-index: calc( var(--ck-z-modal) + 100 );\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n\n.ck.ck-balloon-panel.ck-tooltip {\n\t--ck-balloon-border-width: 0px;\n\t--ck-balloon-arrow-offset: 0px;\n\t--ck-balloon-arrow-half-width: 4px;\n\t--ck-balloon-arrow-height: 4px;\n\t--ck-tooltip-text-padding: 4px;\n\t--ck-color-panel-background: var(--ck-color-tooltip-background);\n\n\tpadding: 0 var(--ck-spacing-medium);\n\n\t& .ck-tooltip__text {\n\t\tfont-size: .9em;\n\t\tline-height: 1.5;\n\t\tcolor: var(--ck-color-tooltip-text);\n\t}\n\n\t&.ck-tooltip_multi-line .ck-tooltip__text {\n\t\twhite-space: break-spaces;\n\t\tdisplay: inline-block;\n\t\tpadding: var(--ck-tooltip-text-padding) 0;\n\t}\n\n\t/* Reset balloon panel styles */\n\tbox-shadow: none;\n\n\t/* Hide the default shadow of the .ck-balloon-panel tip */\n\t&::before {\n\t\tdisplay: none;\n\t}\n}\n'],sourceRoot:""}]);const I=P},4793:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck-hidden{display:none!important}.ck-reset_all :not(.ck-reset_all-excluded *),.ck.ck-reset,.ck.ck-reset_all{box-sizing:border-box;height:auto;position:static;width:auto}:root{--ck-z-default:1;--ck-z-modal:calc(var(--ck-z-default) + 999)}.ck-transitions-disabled,.ck-transitions-disabled *{transition:none!important}:root{--ck-powered-by-line-height:10px;--ck-powered-by-padding-vertical:2px;--ck-powered-by-padding-horizontal:4px;--ck-powered-by-text-color:#4f4f4f;--ck-powered-by-border-radius:var(--ck-border-radius);--ck-powered-by-background:#fff;--ck-powered-by-border-color:var(--ck-color-focus-border)}.ck.ck-balloon-panel.ck-powered-by-balloon{--ck-border-radius:var(--ck-powered-by-border-radius);background:var(--ck-powered-by-background);box-shadow:none;min-height:unset;z-index:calc(var(--ck-z-modal) - 1)}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by{line-height:var(--ck-powered-by-line-height)}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by a{align-items:center;cursor:pointer;display:flex;filter:grayscale(80%);line-height:var(--ck-powered-by-line-height);opacity:.66;padding:var(--ck-powered-by-padding-vertical) var(--ck-powered-by-padding-horizontal)}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by .ck-powered-by__label{color:var(--ck-powered-by-text-color);cursor:pointer;font-size:7.5px;font-weight:700;letter-spacing:-.2px;line-height:normal;margin-right:4px;padding-left:2px;text-transform:uppercase}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by .ck-icon{cursor:pointer;display:block}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by:hover a{filter:grayscale(0);opacity:1}.ck.ck-balloon-panel.ck-powered-by-balloon[class*=position_inside]{border-color:transparent}.ck.ck-balloon-panel.ck-powered-by-balloon[class*=position_border]{border:var(--ck-focus-ring);border-color:var(--ck-powered-by-border-color)}:root{--ck-color-base-foreground:#fafafa;--ck-color-base-background:#fff;--ck-color-base-border:#ccced1;--ck-color-base-action:#53a336;--ck-color-base-focus:#6cb5f9;--ck-color-base-text:#333;--ck-color-base-active:#2977ff;--ck-color-base-active-focus:#0d65ff;--ck-color-base-error:#db3700;--ck-color-focus-border-coordinates:218,81.8%,56.9%;--ck-color-focus-border:hsl(var(--ck-color-focus-border-coordinates));--ck-color-focus-outer-shadow:#cae1fc;--ck-color-focus-disabled-shadow:rgba(119,186,248,.3);--ck-color-focus-error-shadow:rgba(255,64,31,.3);--ck-color-text:var(--ck-color-base-text);--ck-color-shadow-drop:rgba(0,0,0,.15);--ck-color-shadow-drop-active:rgba(0,0,0,.2);--ck-color-shadow-inner:rgba(0,0,0,.1);--ck-color-button-default-background:transparent;--ck-color-button-default-hover-background:#f0f0f0;--ck-color-button-default-active-background:#f0f0f0;--ck-color-button-default-disabled-background:transparent;--ck-color-button-on-background:#f0f7ff;--ck-color-button-on-hover-background:#dbecff;--ck-color-button-on-active-background:#dbecff;--ck-color-button-on-disabled-background:#f0f2f4;--ck-color-button-on-color:#2977ff;--ck-color-button-action-background:var(--ck-color-base-action);--ck-color-button-action-hover-background:#4d9d30;--ck-color-button-action-active-background:#4d9d30;--ck-color-button-action-disabled-background:#7ec365;--ck-color-button-action-text:var(--ck-color-base-background);--ck-color-button-save:#008a00;--ck-color-button-cancel:#db3700;--ck-color-switch-button-off-background:#939393;--ck-color-switch-button-off-hover-background:#7d7d7d;--ck-color-switch-button-on-background:var(--ck-color-button-action-background);--ck-color-switch-button-on-hover-background:#4d9d30;--ck-color-switch-button-inner-background:var(--ck-color-base-background);--ck-color-switch-button-inner-shadow:rgba(0,0,0,.1);--ck-color-dropdown-panel-background:var(--ck-color-base-background);--ck-color-dropdown-panel-border:var(--ck-color-base-border);--ck-color-input-background:var(--ck-color-base-background);--ck-color-input-border:var(--ck-color-base-border);--ck-color-input-error-border:var(--ck-color-base-error);--ck-color-input-text:var(--ck-color-base-text);--ck-color-input-disabled-background:#f2f2f2;--ck-color-input-disabled-border:var(--ck-color-base-border);--ck-color-input-disabled-text:#757575;--ck-color-list-background:var(--ck-color-base-background);--ck-color-list-button-hover-background:var(--ck-color-button-default-hover-background);--ck-color-list-button-on-background:var(--ck-color-button-on-color);--ck-color-list-button-on-background-focus:var(--ck-color-button-on-color);--ck-color-list-button-on-text:var(--ck-color-base-background);--ck-color-panel-background:var(--ck-color-base-background);--ck-color-panel-border:var(--ck-color-base-border);--ck-color-toolbar-background:var(--ck-color-base-background);--ck-color-toolbar-border:var(--ck-color-base-border);--ck-color-tooltip-background:var(--ck-color-base-text);--ck-color-tooltip-text:var(--ck-color-base-background);--ck-color-engine-placeholder-text:#707070;--ck-color-upload-bar-background:#6cb5f9;--ck-color-link-default:#0000f0;--ck-color-link-selected-background:rgba(31,176,255,.1);--ck-color-link-fake-selection:rgba(31,176,255,.3);--ck-color-highlight-background:#ff0;--ck-disabled-opacity:.5;--ck-focus-outer-shadow-geometry:0 0 0 3px;--ck-focus-outer-shadow:var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-outer-shadow);--ck-focus-disabled-outer-shadow:var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-disabled-shadow);--ck-focus-error-outer-shadow:var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-error-shadow);--ck-focus-ring:1px solid var(--ck-color-focus-border);--ck-font-size-base:13px;--ck-line-height-base:1.84615;--ck-font-face:Helvetica,Arial,Tahoma,Verdana,Sans-Serif;--ck-font-size-tiny:0.7em;--ck-font-size-small:0.75em;--ck-font-size-normal:1em;--ck-font-size-big:1.4em;--ck-font-size-large:1.8em;--ck-ui-component-min-height:2.3em}.ck-reset_all :not(.ck-reset_all-excluded *),.ck.ck-reset,.ck.ck-reset_all{word-wrap:break-word;background:transparent;border:0;margin:0;padding:0;text-decoration:none;transition:none;vertical-align:middle}.ck-reset_all :not(.ck-reset_all-excluded *),.ck.ck-reset_all{border-collapse:collapse;color:var(--ck-color-text);cursor:auto;float:none;font:normal normal normal var(--ck-font-size-base)/var(--ck-line-height-base) var(--ck-font-face);text-align:left;white-space:nowrap}.ck-reset_all .ck-rtl :not(.ck-reset_all-excluded *){text-align:right}.ck-reset_all iframe:not(.ck-reset_all-excluded *){vertical-align:inherit}.ck-reset_all textarea:not(.ck-reset_all-excluded *){white-space:pre-wrap}.ck-reset_all input[type=password]:not(.ck-reset_all-excluded *),.ck-reset_all input[type=text]:not(.ck-reset_all-excluded *),.ck-reset_all textarea:not(.ck-reset_all-excluded *){cursor:text}.ck-reset_all input[type=password][disabled]:not(.ck-reset_all-excluded *),.ck-reset_all input[type=text][disabled]:not(.ck-reset_all-excluded *),.ck-reset_all textarea[disabled]:not(.ck-reset_all-excluded *){cursor:default}.ck-reset_all fieldset:not(.ck-reset_all-excluded *){border:2px groove #dfdee3;padding:10px}.ck-reset_all button:not(.ck-reset_all-excluded *)::-moz-focus-inner{border:0;padding:0}.ck[dir=rtl],.ck[dir=rtl] .ck{text-align:right}:root{--ck-border-radius:2px;--ck-inner-shadow:2px 2px 3px var(--ck-color-shadow-inner) inset;--ck-drop-shadow:0 1px 2px 1px var(--ck-color-shadow-drop);--ck-drop-shadow-active:0 3px 6px 1px var(--ck-color-shadow-drop-active);--ck-spacing-unit:0.6em;--ck-spacing-large:calc(var(--ck-spacing-unit)*1.5);--ck-spacing-standard:var(--ck-spacing-unit);--ck-spacing-medium:calc(var(--ck-spacing-unit)*0.8);--ck-spacing-small:calc(var(--ck-spacing-unit)*0.5);--ck-spacing-tiny:calc(var(--ck-spacing-unit)*0.3);--ck-spacing-extra-tiny:calc(var(--ck-spacing-unit)*0.16)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/globals/_hidden.css","webpack://./../ckeditor5-ui/theme/globals/_reset.css","webpack://./../ckeditor5-ui/theme/globals/_zindex.css","webpack://./../ckeditor5-ui/theme/globals/_transition.css","webpack://./../ckeditor5-ui/theme/globals/_poweredby.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_colors.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_disabled.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_focus.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_fonts.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_reset.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_shadow.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_spacing.css"],names:[],mappings:"AAQA,WAGC,sBACD,CCPA,2EAGC,qBAAsB,CAEtB,WAAY,CACZ,eAAgB,CAFhB,UAGD,CCPA,MACC,gBAAiB,CACjB,4CACD,CCAA,oDAEC,yBACD,CCNA,MACC,gCAAiC,CACjC,oCAAqC,CACrC,sCAAuC,CACvC,kCAA2C,CAC3C,qDAAsD,CACtD,+BAA4C,CAC5C,yDACD,CAEA,2CACC,qDAAsD,CAGtD,0CAA2C,CAD3C,eAAgB,CAEhB,gBAAiB,CACjB,mCAiDD,CA/CC,6DACC,4CAoCD,CAlCC,+DAGC,kBAAmB,CAFnB,cAAe,CACf,YAAa,CAGb,qBAAsB,CACtB,4CAA6C,CAF7C,WAAY,CAGZ,qFACD,CAEA,mFASC,qCAAsC,CAFtC,cAAe,CANf,eAAgB,CAIhB,eAAiB,CAHjB,oBAAqB,CAMrB,kBAAmB,CAFnB,gBAAiB,CAHjB,gBAAiB,CACjB,wBAOD,CAEA,sEAEC,cAAe,CADf,aAED,CAGC,qEACC,mBAAqB,CACrB,SACD,CAIF,mEACC,wBACD,CAEA,mEACC,2BAA4B,CAC5B,8CACD,CChED,MACC,kCAAmD,CACnD,+BAAoD,CACpD,8BAAkD,CAClD,8BAAuD,CACvD,6BAAmD,CACnD,yBAA+C,CAC/C,8BAAsD,CACtD,oCAA4D,CAC5D,6BAAkD,CAIlD,mDAA4D,CAC5D,qEAA+E,CAC/E,qCAA4D,CAC5D,qDAA8D,CAC9D,gDAAyD,CACzD,yCAAqD,CACrD,sCAAsD,CACtD,4CAA0D,CAC1D,sCAAsD,CAItD,gDAAuD,CACvD,kDAAiE,CACjE,mDAAkE,CAClE,yDAA8D,CAE9D,uCAA6D,CAC7D,6CAAoE,CACpE,8CAAoE,CACpE,gDAAiE,CACjE,kCAAyD,CAGzD,+DAAsE,CACtE,iDAAsE,CACtE,kDAAsE,CACtE,oDAAoE,CACpE,6DAAsE,CAEtE,8BAAoD,CACpD,gCAAqD,CAErD,+CAA8D,CAC9D,qDAAiE,CACjE,+EAAqF,CACrF,oDAAuE,CACvE,yEAA8E,CAC9E,oDAAgE,CAIhE,oEAA2E,CAC3E,4DAAoE,CAIpE,2DAAoE,CACpE,mDAA6D,CAC7D,wDAAgE,CAChE,+CAA0D,CAC1D,4CAA2D,CAC3D,4DAAoE,CACpE,sCAAsD,CAItD,0DAAmE,CACnE,uFAA6F,CAC7F,oEAA2E,CAC3E,0EAA+E,CAC/E,8DAAsE,CAItE,2DAAoE,CACpE,mDAA6D,CAI7D,6DAAsE,CACtE,qDAA+D,CAI/D,uDAAgE,CAChE,uDAAiE,CAIjE,0CAAyD,CAIzD,wCAA2D,CAI3D,+BAAoD,CACpD,uDAAmE,CACnE,kDAAgE,CAIhE,oCAAwD,CCvGxD,wBAAyB,CCAzB,0CAA2C,CAK3C,gGAAiG,CAKjG,4GAA6G,CAK7G,sGAAuG,CAKvG,sDAAuD,CCvBvD,wBAAyB,CACzB,6BAA8B,CAC9B,wDAA6D,CAE7D,yBAA0B,CAC1B,2BAA4B,CAC5B,yBAA0B,CAC1B,wBAAyB,CACzB,0BAA2B,CCJ3B,kCJuGD,CIjGA,2EAaC,oBAAqB,CANrB,sBAAuB,CADvB,QAAS,CAFT,QAAS,CACT,SAAU,CAGV,oBAAqB,CAErB,eAAgB,CADhB,qBAKD,CAKA,8DAGC,wBAAyB,CAEzB,0BAA2B,CAG3B,WAAY,CACZ,UAAW,CALX,iGAAkG,CAElG,eAAgB,CAChB,kBAGD,CAGC,qDACC,gBACD,CAEA,mDAEC,sBACD,CAEA,qDACC,oBACD,CAEA,mLAGC,WACD,CAEA,iNAGC,cACD,CAEA,qDAEC,yBAAoC,CADpC,YAED,CAEA,qEAGC,QAAQ,CADR,SAED,CAMD,8BAEC,gBACD,CCnFA,MACC,sBAAuB,CCAvB,gEAAiE,CAKjE,0DAA2D,CAK3D,wEAAyE,CCbzE,uBAA8B,CAC9B,mDAA2D,CAC3D,4CAAkD,CAClD,oDAA4D,CAC5D,mDAA2D,CAC3D,kDAA2D,CAC3D,yDFFD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A class which hides an element in DOM.\n */\n.ck-hidden {\n\t/* Override selector specificity. Otherwise, all elements with some display\n\tstyle defined will override this one, which is not a desired result. */\n\tdisplay: none !important;\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-reset,\n.ck.ck-reset_all,\n.ck-reset_all *:not(.ck-reset_all-excluded *) {\n\tbox-sizing: border-box;\n\twidth: auto;\n\theight: auto;\n\tposition: static;\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-z-default: 1;\n\t--ck-z-modal: calc( var(--ck-z-default) + 999 );\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A class that disables all transitions of the element and its children.\n */\n.ck-transitions-disabled,\n.ck-transitions-disabled * {\n\ttransition: none !important;\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-powered-by-line-height: 10px;\n\t--ck-powered-by-padding-vertical: 2px;\n\t--ck-powered-by-padding-horizontal: 4px;\n\t--ck-powered-by-text-color: hsl(0, 0%, 31%);\n\t--ck-powered-by-border-radius: var(--ck-border-radius);\n\t--ck-powered-by-background: hsl(0, 0%, 100%);\n\t--ck-powered-by-border-color: var(--ck-color-focus-border);\n}\n\n.ck.ck-balloon-panel.ck-powered-by-balloon {\n\t--ck-border-radius: var(--ck-powered-by-border-radius);\n\n\tbox-shadow: none;\n\tbackground: var(--ck-powered-by-background);\n\tmin-height: unset;\n\tz-index: calc( var(--ck-z-modal) - 1 );\n\n\t& .ck.ck-powered-by {\n\t\tline-height: var(--ck-powered-by-line-height);\n\n\t\t& a {\n\t\t\tcursor: pointer;\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\topacity: .66;\n\t\t\tfilter: grayscale(80%);\n\t\t\tline-height: var(--ck-powered-by-line-height);\n\t\t\tpadding: var(--ck-powered-by-padding-vertical) var(--ck-powered-by-padding-horizontal);\n\t\t}\n\n\t\t& .ck-powered-by__label {\n\t\t\tfont-size: 7.5px;\n\t\t\tletter-spacing: -.2px;\n\t\t\tpadding-left: 2px;\n\t\t\ttext-transform: uppercase;\n\t\t\tfont-weight: bold;\n\t\t\tmargin-right: 4px;\n\t\t\tcursor: pointer;\n\t\t\tline-height: normal;\n\t\t\tcolor: var(--ck-powered-by-text-color);\n\n\t\t}\n\n\t\t& .ck-icon {\n\t\t\tdisplay: block;\n\t\t\tcursor: pointer;\n\t\t}\n\n\t\t&:hover {\n\t\t\t& a {\n\t\t\t\tfilter: grayscale(0%);\n\t\t\t\topacity: 1;\n\t\t\t}\n\t\t}\n\t}\n\n\t&[class*="position_inside"] {\n\t\tborder-color: transparent;\n\t}\n\n\t&[class*="position_border"] {\n\t\tborder: var(--ck-focus-ring);\n\t\tborder-color: var(--ck-powered-by-border-color);\n\t}\n}\n\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-base-foreground: \t\t\t\t\t\t\t\thsl(0, 0%, 98%);\n\t--ck-color-base-background: \t\t\t\t\t\t\t\thsl(0, 0%, 100%);\n\t--ck-color-base-border: \t\t\t\t\t\t\t\t\thsl(220, 6%, 81%);\n\t--ck-color-base-action: \t\t\t\t\t\t\t\t\thsl(104, 50.2%, 42.5%);\n\t--ck-color-base-focus: \t\t\t\t\t\t\t\t\t\thsl(209, 92%, 70%);\n\t--ck-color-base-text: \t\t\t\t\t\t\t\t\t\thsl(0, 0%, 20%);\n\t--ck-color-base-active: \t\t\t\t\t\t\t\t\thsl(218.1, 100%, 58%);\n\t--ck-color-base-active-focus:\t\t\t\t\t\t\t\thsl(218.2, 100%, 52.5%);\n\t--ck-color-base-error:\t\t\t\t\t\t\t\t\t\thsl(15, 100%, 43%);\n\n\t/* -- Generic colors ------------------------------------------------------------------------ */\n\n\t--ck-color-focus-border-coordinates: \t\t\t\t\t\t218, 81.8%, 56.9%;\n\t--ck-color-focus-border: \t\t\t\t\t\t\t\t\thsl(var(--ck-color-focus-border-coordinates));\n\t--ck-color-focus-outer-shadow:\t\t\t\t\t\t\t\thsl(212.4, 89.3%, 89%);\n\t--ck-color-focus-disabled-shadow:\t\t\t\t\t\t\thsla(209, 90%, 72%,.3);\n\t--ck-color-focus-error-shadow:\t\t\t\t\t\t\t\thsla(9,100%,56%,.3);\n\t--ck-color-text: \t\t\t\t\t\t\t\t\t\t\tvar(--ck-color-base-text);\n\t--ck-color-shadow-drop: \t\t\t\t\t\t\t\t\thsla(0, 0%, 0%, 0.15);\n\t--ck-color-shadow-drop-active:\t\t\t\t\t\t\t\thsla(0, 0%, 0%, 0.2);\n\t--ck-color-shadow-inner: \t\t\t\t\t\t\t\t\thsla(0, 0%, 0%, 0.1);\n\n\t/* -- Buttons ------------------------------------------------------------------------------- */\n\n\t--ck-color-button-default-background: \t\t\t\t\t\ttransparent;\n\t--ck-color-button-default-hover-background: \t\t\t\thsl(0, 0%, 94.1%);\n\t--ck-color-button-default-active-background: \t\t\t\thsl(0, 0%, 94.1%);\n\t--ck-color-button-default-disabled-background: \t\t\t\ttransparent;\n\n\t--ck-color-button-on-background: \t\t\t\t\t\t\thsl(212, 100%, 97.1%);\n\t--ck-color-button-on-hover-background: \t\t\t\t\t\thsl(211.7, 100%, 92.9%);\n\t--ck-color-button-on-active-background: \t\t\t\t\thsl(211.7, 100%, 92.9%);\n\t--ck-color-button-on-disabled-background: \t\t\t\t\thsl(211, 15%, 95%);\n\t--ck-color-button-on-color:\t\t\t\t\t\t\t\t\thsl(218.1, 100%, 58%);\n\n\n\t--ck-color-button-action-background: \t\t\t\t\t\tvar(--ck-color-base-action);\n\t--ck-color-button-action-hover-background: \t\t\t\t\thsl(104, 53.2%, 40.2%);\n\t--ck-color-button-action-active-background: \t\t\t\thsl(104, 53.2%, 40.2%);\n\t--ck-color-button-action-disabled-background: \t\t\t\thsl(104, 44%, 58%);\n\t--ck-color-button-action-text: \t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\n\t--ck-color-button-save: \t\t\t\t\t\t\t\t\thsl(120, 100%, 27%);\n\t--ck-color-button-cancel: \t\t\t\t\t\t\t\t\thsl(15, 100%, 43%);\n\n\t--ck-color-switch-button-off-background:\t\t\t\t\thsl(0, 0%, 57.6%);\n\t--ck-color-switch-button-off-hover-background:\t\t\t\thsl(0, 0%, 49%);\n\t--ck-color-switch-button-on-background:\t\t\t\t\t\tvar(--ck-color-button-action-background);\n\t--ck-color-switch-button-on-hover-background:\t\t\t\thsl(104, 53.2%, 40.2%);\n\t--ck-color-switch-button-inner-background:\t\t\t\t\tvar(--ck-color-base-background);\n\t--ck-color-switch-button-inner-shadow:\t\t\t\t\t\thsla(0, 0%, 0%, 0.1);\n\n\t/* -- Dropdown ------------------------------------------------------------------------------ */\n\n\t--ck-color-dropdown-panel-background: \t\t\t\t\t\tvar(--ck-color-base-background);\n\t--ck-color-dropdown-panel-border: \t\t\t\t\t\t\tvar(--ck-color-base-border);\n\n\t/* -- Input --------------------------------------------------------------------------------- */\n\n\t--ck-color-input-background: \t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\t--ck-color-input-border: \t\t\t\t\t\t\t\t\tvar(--ck-color-base-border);\n\t--ck-color-input-error-border:\t\t\t\t\t\t\t\tvar(--ck-color-base-error);\n\t--ck-color-input-text: \t\t\t\t\t\t\t\t\t\tvar(--ck-color-base-text);\n\t--ck-color-input-disabled-background: \t\t\t\t\t\thsl(0, 0%, 95%);\n\t--ck-color-input-disabled-border: \t\t\t\t\t\t\tvar(--ck-color-base-border);\n\t--ck-color-input-disabled-text: \t\t\t\t\t\t\thsl(0, 0%, 46%);\n\n\t/* -- List ---------------------------------------------------------------------------------- */\n\n\t--ck-color-list-background: \t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\t--ck-color-list-button-hover-background: \t\t\t\t\tvar(--ck-color-button-default-hover-background);\n\t--ck-color-list-button-on-background: \t\t\t\t\t\tvar(--ck-color-button-on-color);\n\t--ck-color-list-button-on-background-focus: \t\t\t\tvar(--ck-color-button-on-color);\n\t--ck-color-list-button-on-text:\t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\n\t/* -- Panel --------------------------------------------------------------------------------- */\n\n\t--ck-color-panel-background: \t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\t--ck-color-panel-border: \t\t\t\t\t\t\t\t\tvar(--ck-color-base-border);\n\n\t/* -- Toolbar ------------------------------------------------------------------------------- */\n\n\t--ck-color-toolbar-background: \t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\t--ck-color-toolbar-border: \t\t\t\t\t\t\t\t\tvar(--ck-color-base-border);\n\n\t/* -- Tooltip ------------------------------------------------------------------------------- */\n\n\t--ck-color-tooltip-background: \t\t\t\t\t\t\t\tvar(--ck-color-base-text);\n\t--ck-color-tooltip-text: \t\t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\n\t/* -- Engine -------------------------------------------------------------------------------- */\n\n\t--ck-color-engine-placeholder-text: \t\t\t\t\t\thsl(0, 0%, 44%);\n\n\t/* -- Upload -------------------------------------------------------------------------------- */\n\n\t--ck-color-upload-bar-background:\t\t \t\t\t\t\thsl(209, 92%, 70%);\n\n\t/* -- Link -------------------------------------------------------------------------------- */\n\n\t--ck-color-link-default:\t\t\t\t\t\t\t\t\thsl(240, 100%, 47%);\n\t--ck-color-link-selected-background:\t\t\t\t\t\thsla(201, 100%, 56%, 0.1);\n\t--ck-color-link-fake-selection:\t\t\t\t\t\t\t\thsla(201, 100%, 56%, 0.3);\n\n\t/* -- Search result highlight ---------------------------------------------------------------- */\n\n\t--ck-color-highlight-background:\t\t\t\t\t\t\thsl(60, 100%, 50%)\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/**\n\t * An opacity value of disabled UI item.\n\t */\n\t--ck-disabled-opacity: .5;\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/**\n\t * The geometry of the of focused element's outer shadow.\n\t */\n\t--ck-focus-outer-shadow-geometry: 0 0 0 3px;\n\n\t/**\n\t * A visual style of focused element's outer shadow.\n\t */\n\t--ck-focus-outer-shadow: var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-outer-shadow);\n\n\t/**\n\t * A visual style of focused element's outer shadow (when disabled).\n\t */\n\t--ck-focus-disabled-outer-shadow: var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-disabled-shadow);\n\n\t/**\n\t * A visual style of focused element's outer shadow (when has errors).\n\t */\n\t--ck-focus-error-outer-shadow: var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-error-shadow);\n\n\t/**\n\t * A visual style of focused element's border or outline.\n\t */\n\t--ck-focus-ring: 1px solid var(--ck-color-focus-border);\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-font-size-base: 13px;\n\t--ck-line-height-base: 1.84615;\n\t--ck-font-face: Helvetica, Arial, Tahoma, Verdana, Sans-Serif;\n\n\t--ck-font-size-tiny: 0.7em;\n\t--ck-font-size-small: 0.75em;\n\t--ck-font-size-normal: 1em;\n\t--ck-font-size-big: 1.4em;\n\t--ck-font-size-large: 1.8em;\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/* This is super-important. This is **manually** adjusted so a button without an icon\n\tis never smaller than a button with icon, additionally making sure that text-less buttons\n\tare perfect squares. The value is also shared by other components which should stay "in-line"\n\twith buttons. */\n\t--ck-ui-component-min-height: 2.3em;\n}\n\n/**\n * Resets an element, ignoring its children.\n */\n.ck.ck-reset,\n.ck.ck-reset_all,\n.ck-reset_all *:not(.ck-reset_all-excluded *) {\n\t/* Do not include inheritable rules here. */\n\tmargin: 0;\n\tpadding: 0;\n\tborder: 0;\n\tbackground: transparent;\n\ttext-decoration: none;\n\tvertical-align: middle;\n\ttransition: none;\n\n\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/105 */\n\tword-wrap: break-word;\n}\n\n/**\n * Resets an element AND its children.\n */\n.ck.ck-reset_all,\n.ck-reset_all *:not(.ck-reset_all-excluded *) {\n\t/* These are rule inherited by all children elements. */\n\tborder-collapse: collapse;\n\tfont: normal normal normal var(--ck-font-size-base)/var(--ck-line-height-base) var(--ck-font-face);\n\tcolor: var(--ck-color-text);\n\ttext-align: left;\n\twhite-space: nowrap;\n\tcursor: auto;\n\tfloat: none;\n}\n\n.ck-reset_all {\n\t& .ck-rtl *:not(.ck-reset_all-excluded *) {\n\t\ttext-align: right;\n\t}\n\n\t& iframe:not(.ck-reset_all-excluded *) {\n\t\t/* For IE */\n\t\tvertical-align: inherit;\n\t}\n\n\t& textarea:not(.ck-reset_all-excluded *) {\n\t\twhite-space: pre-wrap;\n\t}\n\n\t& textarea:not(.ck-reset_all-excluded *),\n\t& input[type="text"]:not(.ck-reset_all-excluded *),\n\t& input[type="password"]:not(.ck-reset_all-excluded *) {\n\t\tcursor: text;\n\t}\n\n\t& textarea[disabled]:not(.ck-reset_all-excluded *),\n\t& input[type="text"][disabled]:not(.ck-reset_all-excluded *),\n\t& input[type="password"][disabled]:not(.ck-reset_all-excluded *) {\n\t\tcursor: default;\n\t}\n\n\t& fieldset:not(.ck-reset_all-excluded *) {\n\t\tpadding: 10px;\n\t\tborder: 2px groove hsl(255, 7%, 88%);\n\t}\n\n\t& button:not(.ck-reset_all-excluded *)::-moz-focus-inner {\n\t\t/* See http://stackoverflow.com/questions/5517744/remove-extra-button-spacing-padding-in-firefox */\n\t\tpadding: 0;\n\t\tborder: 0\n\t}\n}\n\n/**\n * Default UI rules for RTL languages.\n */\n.ck[dir="rtl"],\n.ck[dir="rtl"] .ck {\n\ttext-align: right;\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Default border-radius value.\n */\n:root{\n\t--ck-border-radius: 2px;\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/**\n\t * A visual style of element's inner shadow (i.e. input).\n\t */\n\t--ck-inner-shadow: 2px 2px 3px var(--ck-color-shadow-inner) inset;\n\n\t/**\n\t * A visual style of element's drop shadow (i.e. panel).\n\t */\n\t--ck-drop-shadow: 0 1px 2px 1px var(--ck-color-shadow-drop);\n\n\t/**\n\t * A visual style of element's active shadow (i.e. comment or suggestion).\n\t */\n\t--ck-drop-shadow-active: 0 3px 6px 1px var(--ck-color-shadow-drop-active);\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-spacing-unit: \t\t\t\t\t\t0.6em;\n\t--ck-spacing-large: \t\t\t\t\tcalc(var(--ck-spacing-unit) * 1.5);\n\t--ck-spacing-standard: \t\t\t\t\tvar(--ck-spacing-unit);\n\t--ck-spacing-medium: \t\t\t\t\tcalc(var(--ck-spacing-unit) * 0.8);\n\t--ck-spacing-small: \t\t\t\t\tcalc(var(--ck-spacing-unit) * 0.5);\n\t--ck-spacing-tiny: \t\t\t\t\t\tcalc(var(--ck-spacing-unit) * 0.3);\n\t--ck-spacing-extra-tiny: \t\t\t\tcalc(var(--ck-spacing-unit) * 0.16);\n}\n"],sourceRoot:""}]);const I=P},3488:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,":root{--ck-color-resizer:var(--ck-color-focus-border);--ck-color-resizer-tooltip-background:#262626;--ck-color-resizer-tooltip-text:#f2f2f2;--ck-resizer-border-radius:var(--ck-border-radius);--ck-resizer-tooltip-offset:10px;--ck-resizer-tooltip-height:calc(var(--ck-spacing-small)*2 + 10px)}.ck .ck-widget,.ck .ck-widget.ck-widget_with-selection-handle{position:relative}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle{position:absolute}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon{display:block}.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_with-selection-handle:hover>.ck-widget__selection-handle{visibility:visible}.ck .ck-size-view{background:var(--ck-color-resizer-tooltip-background);border:1px solid var(--ck-color-resizer-tooltip-text);border-radius:var(--ck-resizer-border-radius);color:var(--ck-color-resizer-tooltip-text);display:block;font-size:var(--ck-font-size-tiny);height:var(--ck-resizer-tooltip-height);line-height:var(--ck-resizer-tooltip-height);padding:0 var(--ck-spacing-small)}.ck .ck-size-view.ck-orientation-above-center,.ck .ck-size-view.ck-orientation-bottom-left,.ck .ck-size-view.ck-orientation-bottom-right,.ck .ck-size-view.ck-orientation-top-left,.ck .ck-size-view.ck-orientation-top-right{position:absolute}.ck .ck-size-view.ck-orientation-top-left{left:var(--ck-resizer-tooltip-offset);top:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-top-right{right:var(--ck-resizer-tooltip-offset);top:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-bottom-right{bottom:var(--ck-resizer-tooltip-offset);right:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-bottom-left{bottom:var(--ck-resizer-tooltip-offset);left:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-above-center{left:50%;top:calc(var(--ck-resizer-tooltip-height)*-1);transform:translate(-50%)}:root{--ck-widget-outline-thickness:3px;--ck-widget-handler-icon-size:16px;--ck-widget-handler-animation-duration:200ms;--ck-widget-handler-animation-curve:ease;--ck-color-widget-blurred-border:#dedede;--ck-color-widget-hover-border:#ffc83d;--ck-color-widget-editable-focus-background:var(--ck-color-base-background);--ck-color-widget-drag-handler-icon-color:var(--ck-color-base-background)}.ck .ck-widget{outline-color:transparent;outline-style:solid;outline-width:var(--ck-widget-outline-thickness);transition:outline-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve)}.ck .ck-widget.ck-widget_selected,.ck .ck-widget.ck-widget_selected:hover{outline:var(--ck-widget-outline-thickness) solid var(--ck-color-focus-border)}.ck .ck-widget:hover{outline-color:var(--ck-color-widget-hover-border)}.ck .ck-editor__nested-editable{border:1px solid transparent}.ck .ck-editor__nested-editable.ck-editor__nested-editable_focused,.ck .ck-editor__nested-editable:focus{background-color:var(--ck-color-widget-editable-focus-background);border:var(--ck-focus-ring);box-shadow:var(--ck-inner-shadow),0 0;outline:none}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle{background-color:transparent;border-radius:var(--ck-border-radius) var(--ck-border-radius) 0 0;box-sizing:border-box;left:calc(0px - var(--ck-widget-outline-thickness));opacity:0;padding:4px;top:0;transform:translateY(-100%);transition:background-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),visibility var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),opacity var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve)}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon{color:var(--ck-color-widget-drag-handler-icon-color);height:var(--ck-widget-handler-icon-size);width:var(--ck-widget-handler-icon-size)}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon .ck-icon__selected-indicator{opacity:0;transition:opacity .3s var(--ck-widget-handler-animation-curve)}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle:hover .ck-icon .ck-icon__selected-indicator{opacity:1}.ck .ck-widget.ck-widget_with-selection-handle:hover>.ck-widget__selection-handle{background-color:var(--ck-color-widget-hover-border);opacity:1}.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected:hover>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle{background-color:var(--ck-color-focus-border);opacity:1}.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected:hover>.ck-widget__selection-handle .ck-icon .ck-icon__selected-indicator,.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle .ck-icon .ck-icon__selected-indicator{opacity:1}.ck[dir=rtl] .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle{left:auto;right:calc(0px - var(--ck-widget-outline-thickness))}.ck.ck-editor__editable.ck-read-only .ck-widget{transition:none}.ck.ck-editor__editable.ck-read-only .ck-widget:not(.ck-widget_selected){--ck-widget-outline-thickness:0px}.ck.ck-editor__editable.ck-read-only .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle,.ck.ck-editor__editable.ck-read-only .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle:hover{background:var(--ck-color-widget-blurred-border)}.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected,.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected:hover{outline-color:var(--ck-color-widget-blurred-border)}.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle:hover>.ck-widget__selection-handle,.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle:hover>.ck-widget__selection-handle:hover,.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle>.ck-widget__selection-handle,.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle>.ck-widget__selection-handle:hover{background:var(--ck-color-widget-blurred-border)}.ck.ck-editor__editable blockquote>.ck-widget.ck-widget_with-selection-handle:first-child,.ck.ck-editor__editable>.ck-widget.ck-widget_with-selection-handle:first-child{margin-top:calc(1em + var(--ck-widget-handler-icon-size))}","",{version:3,sources:["webpack://./../ckeditor5-widget/theme/widget.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-widget/widget.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_focus.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAKA,MACC,+CAAgD,CAChD,6CAAsD,CACtD,uCAAgD,CAEhD,kDAAmD,CACnD,gCAAiC,CACjC,kEACD,CAOA,8DAEC,iBAqBD,CAnBC,4EACC,iBAOD,CALC,qFAGC,aACD,CASD,iLACC,kBACD,CAGD,kBACC,qDAAsD,CAEtD,qDAAsD,CACtD,6CAA8C,CAF9C,0CAA2C,CAI3C,aAAc,CADd,kCAAmC,CAGnC,uCAAwC,CACxC,4CAA6C,CAF7C,iCAsCD,CAlCC,8NAKC,iBACD,CAEA,0CAEC,qCAAsC,CADtC,oCAED,CAEA,2CAEC,sCAAuC,CADvC,oCAED,CAEA,8CACC,uCAAwC,CACxC,sCACD,CAEA,6CACC,uCAAwC,CACxC,qCACD,CAGA,8CAEC,QAAS,CADT,6CAAgD,CAEhD,yBACD,CCjFD,MACC,iCAAkC,CAClC,kCAAmC,CACnC,4CAA6C,CAC7C,wCAAyC,CAEzC,wCAAiD,CACjD,sCAAkD,CAClD,2EAA4E,CAC5E,yEACD,CAEA,eAGC,yBAA0B,CAD1B,mBAAoB,CADpB,gDAAiD,CAGjD,6GAUD,CARC,0EAEC,6EACD,CAEA,qBACC,iDACD,CAGD,gCACC,4BAWD,CAPC,yGAKC,iEAAkE,CCnCnE,2BAA2B,CCF3B,qCAA8B,CDC9B,YDqCA,CAIA,4EAKC,4BAA6B,CAa7B,iEAAkE,CAhBlE,qBAAsB,CAoBtB,mDAAoD,CAhBpD,SAAU,CALV,WAAY,CAsBZ,KAAM,CAFN,2BAA4B,CAT5B,6SAgCD,CAnBC,qFAIC,oDAAqD,CADrD,yCAA0C,CAD1C,wCAWD,CANC,kHACC,SAAU,CAGV,+DACD,CAID,wHACC,SACD,CAID,kFAEC,oDAAqD,CADrD,SAED,CAKC,oMAEC,6CAA8C,CAD9C,SAOD,CAHC,gRACC,SACD,CAOH,qFACC,SAAU,CACV,oDACD,CAGA,gDAEC,eAkBD,CAhBC,yEAOC,iCACD,CAGC,gOAEC,gDACD,CAOD,wIAEC,mDAQD,CALE,ghBAEC,gDACD,CAKH,yKAOC,yDACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-resizer: var(--ck-color-focus-border);\n\t--ck-color-resizer-tooltip-background: hsl(0, 0%, 15%);\n\t--ck-color-resizer-tooltip-text: hsl(0, 0%, 95%);\n\n\t--ck-resizer-border-radius: var(--ck-border-radius);\n\t--ck-resizer-tooltip-offset: 10px;\n\t--ck-resizer-tooltip-height: calc(var(--ck-spacing-small) * 2 + 10px);\n}\n\n.ck .ck-widget {\n\t/* This is neccessary for type around UI to be positioned properly. */\n\tposition: relative;\n}\n\n.ck .ck-widget.ck-widget_with-selection-handle {\n\t/* Make the widget wrapper a relative positioning container for the drag handle. */\n\tposition: relative;\n\n\t& .ck-widget__selection-handle {\n\t\tposition: absolute;\n\n\t\t& .ck-icon {\n\t\t\t/* Make sure the icon in not a subject to font-size or line-height to avoid\n\t\t\tunnecessary spacing around it. */\n\t\t\tdisplay: block;\n\t\t}\n\t}\n\n\t/* Show the selection handle on mouse hover over the widget, but not for nested widgets. */\n\t&:hover > .ck-widget__selection-handle {\n\t\tvisibility: visible;\n\t}\n\n\t/* Show the selection handle when the widget is selected, but not for nested widgets. */\n\t&.ck-widget_selected > .ck-widget__selection-handle {\n\t\tvisibility: visible;\n\t}\n}\n\n.ck .ck-size-view {\n\tbackground: var(--ck-color-resizer-tooltip-background);\n\tcolor: var(--ck-color-resizer-tooltip-text);\n\tborder: 1px solid var(--ck-color-resizer-tooltip-text);\n\tborder-radius: var(--ck-resizer-border-radius);\n\tfont-size: var(--ck-font-size-tiny);\n\tdisplay: block;\n\tpadding: 0 var(--ck-spacing-small);\n\theight: var(--ck-resizer-tooltip-height);\n\tline-height: var(--ck-resizer-tooltip-height);\n\n\t&.ck-orientation-top-left,\n\t&.ck-orientation-top-right,\n\t&.ck-orientation-bottom-right,\n\t&.ck-orientation-bottom-left,\n\t&.ck-orientation-above-center {\n\t\tposition: absolute;\n\t}\n\n\t&.ck-orientation-top-left {\n\t\ttop: var(--ck-resizer-tooltip-offset);\n\t\tleft: var(--ck-resizer-tooltip-offset);\n\t}\n\n\t&.ck-orientation-top-right {\n\t\ttop: var(--ck-resizer-tooltip-offset);\n\t\tright: var(--ck-resizer-tooltip-offset);\n\t}\n\n\t&.ck-orientation-bottom-right {\n\t\tbottom: var(--ck-resizer-tooltip-offset);\n\t\tright: var(--ck-resizer-tooltip-offset);\n\t}\n\n\t&.ck-orientation-bottom-left {\n\t\tbottom: var(--ck-resizer-tooltip-offset);\n\t\tleft: var(--ck-resizer-tooltip-offset);\n\t}\n\n\t/* Class applied if the widget is too small to contain the size label */\n\t&.ck-orientation-above-center {\n\t\ttop: calc(var(--ck-resizer-tooltip-height) * -1);\n\t\tleft: 50%;\n\t\ttransform: translate(-50%);\n\t}\n}\n",'/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../mixins/_focus.css";\n@import "../mixins/_shadow.css";\n\n:root {\n\t--ck-widget-outline-thickness: 3px;\n\t--ck-widget-handler-icon-size: 16px;\n\t--ck-widget-handler-animation-duration: 200ms;\n\t--ck-widget-handler-animation-curve: ease;\n\n\t--ck-color-widget-blurred-border: hsl(0, 0%, 87%);\n\t--ck-color-widget-hover-border: hsl(43, 100%, 62%);\n\t--ck-color-widget-editable-focus-background: var(--ck-color-base-background);\n\t--ck-color-widget-drag-handler-icon-color: var(--ck-color-base-background);\n}\n\n.ck .ck-widget {\n\toutline-width: var(--ck-widget-outline-thickness);\n\toutline-style: solid;\n\toutline-color: transparent;\n\ttransition: outline-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);\n\n\t&.ck-widget_selected,\n\t&.ck-widget_selected:hover {\n\t\toutline: var(--ck-widget-outline-thickness) solid var(--ck-color-focus-border);\n\t}\n\n\t&:hover {\n\t\toutline-color: var(--ck-color-widget-hover-border);\n\t}\n}\n\n.ck .ck-editor__nested-editable {\n\tborder: 1px solid transparent;\n\n\t/* The :focus style is applied before .ck-editor__nested-editable_focused class is rendered in the view.\n\tThese styles show a different border for a blink of an eye, so `:focus` need to have same styles applied. */\n\t&.ck-editor__nested-editable_focused,\n\t&:focus {\n\t\t@mixin ck-focus-ring;\n\t\t@mixin ck-box-shadow var(--ck-inner-shadow);\n\n\t\tbackground-color: var(--ck-color-widget-editable-focus-background);\n\t}\n}\n\n.ck .ck-widget.ck-widget_with-selection-handle {\n\t& .ck-widget__selection-handle {\n\t\tpadding: 4px;\n\t\tbox-sizing: border-box;\n\n\t\t/* Background and opacity will be animated as the handler shows up or the widget gets selected. */\n\t\tbackground-color: transparent;\n\t\topacity: 0;\n\n\t\t/* Transition:\n\t\t * background-color for the .ck-widget_selected state change,\n\t\t * visibility for hiding the handler,\n\t\t * opacity for the proper look of the icon when the handler disappears. */\n\t\ttransition:\n\t\t\tbackground-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),\n\t\t\tvisibility var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),\n\t\t\topacity var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);\n\n\t\t/* Make only top corners round. */\n\t\tborder-radius: var(--ck-border-radius) var(--ck-border-radius) 0 0;\n\n\t\t/* Place the drag handler outside the widget wrapper. */\n\t\ttransform: translateY(-100%);\n\t\tleft: calc(0px - var(--ck-widget-outline-thickness));\n\t\ttop: 0;\n\n\t\t& .ck-icon {\n\t\t\t/* Make sure the dimensions of the icon are independent of the fon-size of the content. */\n\t\t\twidth: var(--ck-widget-handler-icon-size);\n\t\t\theight: var(--ck-widget-handler-icon-size);\n\t\t\tcolor: var(--ck-color-widget-drag-handler-icon-color);\n\n\t\t\t/* The "selected" part of the icon is invisible by default */\n\t\t\t& .ck-icon__selected-indicator {\n\t\t\t\topacity: 0;\n\n\t\t\t\t/* Note: The animation is longer on purpose. Simply feels better. */\n\t\t\t\ttransition: opacity 300ms var(--ck-widget-handler-animation-curve);\n\t\t\t}\n\t\t}\n\n\t\t/* Advertise using the look of the icon that once clicked the handler, the widget will be selected. */\n\t\t&:hover .ck-icon .ck-icon__selected-indicator {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\n\t/* Show the selection handler on mouse hover over the widget, but not for nested widgets. */\n\t&:hover > .ck-widget__selection-handle {\n\t\topacity: 1;\n\t\tbackground-color: var(--ck-color-widget-hover-border);\n\t}\n\n\t/* Show the selection handler when the widget is selected, but not for nested widgets. */\n\t&.ck-widget_selected,\n\t&.ck-widget_selected:hover {\n\t\t& > .ck-widget__selection-handle {\n\t\t\topacity: 1;\n\t\t\tbackground-color: var(--ck-color-focus-border);\n\n\t\t\t/* When the widget is selected, notify the user using the proper look of the icon. */\n\t\t\t& .ck-icon .ck-icon__selected-indicator {\n\t\t\t\topacity: 1;\n\t\t\t}\n\t\t}\n\t}\n}\n\n/* In a RTL environment, align the selection handler to the right side of the widget */\n/* stylelint-disable-next-line no-descending-specificity */\n.ck[dir="rtl"] .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle {\n\tleft: auto;\n\tright: calc(0px - var(--ck-widget-outline-thickness));\n}\n\n/* https://github.com/ckeditor/ckeditor5/issues/6415 */\n.ck.ck-editor__editable.ck-read-only .ck-widget {\n\t/* Prevent the :hover outline from showing up because of the used outline-color transition. */\n\ttransition: none;\n\n\t&:not(.ck-widget_selected) {\n\t\t/* Disable visual effects of hover/active widget when CKEditor is in readOnly mode.\n\t\t * See: https://github.com/ckeditor/ckeditor5/issues/1261\n\t\t *\n\t\t * Leave the unit because this custom property is used in calc() by other features.\n\t\t * See: https://github.com/ckeditor/ckeditor5/issues/6775\n\t\t */\n\t\t--ck-widget-outline-thickness: 0px;\n\t}\n\n\t&.ck-widget_with-selection-handle {\n\t\t& .ck-widget__selection-handle,\n\t\t& .ck-widget__selection-handle:hover {\n\t\t\tbackground: var(--ck-color-widget-blurred-border);\n\t\t}\n\t}\n}\n\n/* Style the widget when it\'s selected but the editable it belongs to lost focus. */\n/* stylelint-disable-next-line no-descending-specificity */\n.ck.ck-editor__editable.ck-blurred .ck-widget {\n\t&.ck-widget_selected,\n\t&.ck-widget_selected:hover {\n\t\toutline-color: var(--ck-color-widget-blurred-border);\n\n\t\t&.ck-widget_with-selection-handle {\n\t\t\t& > .ck-widget__selection-handle,\n\t\t\t& > .ck-widget__selection-handle:hover {\n\t\t\t\tbackground: var(--ck-color-widget-blurred-border);\n\t\t\t}\n\t\t}\n\t}\n}\n\n.ck.ck-editor__editable > .ck-widget.ck-widget_with-selection-handle:first-child,\n.ck.ck-editor__editable blockquote > .ck-widget.ck-widget_with-selection-handle:first-child {\n\t/* Do not crop selection handler if a widget is a first-child in the blockquote or in the root editable.\n\tIn fact, anything with overflow: hidden.\n\thttps://github.com/ckeditor/ckeditor5-block-quote/issues/28\n\thttps://github.com/ckeditor/ckeditor5-widget/issues/44\n\thttps://github.com/ckeditor/ckeditor5-widget/issues/66 */\n\tmargin-top: calc(1em + var(--ck-widget-handler-icon-size));\n}\n',"/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A visual style of focused element's border.\n */\n@define-mixin ck-focus-ring {\n\t/* Disable native outline. */\n\toutline: none;\n\tborder: var(--ck-focus-ring)\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const I=P},8506:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,".ck .ck-widget_with-resizer{position:relative}.ck .ck-widget__resizer{display:none;left:0;pointer-events:none;position:absolute;top:0}.ck-focused .ck-widget_with-resizer.ck-widget_selected>.ck-widget__resizer{display:block}.ck .ck-widget__resizer__handle{pointer-events:all;position:absolute}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-right,.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-left{cursor:nwse-resize}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-left,.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-right{cursor:nesw-resize}:root{--ck-resizer-size:10px;--ck-resizer-offset:calc(var(--ck-resizer-size)/-2 - 2px);--ck-resizer-border-width:1px}.ck .ck-widget__resizer{outline:1px solid var(--ck-color-resizer)}.ck .ck-widget__resizer__handle{background:var(--ck-color-focus-border);border:var(--ck-resizer-border-width) solid #fff;border-radius:var(--ck-resizer-border-radius);height:var(--ck-resizer-size);width:var(--ck-resizer-size)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-left{left:var(--ck-resizer-offset);top:var(--ck-resizer-offset)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-right{right:var(--ck-resizer-offset);top:var(--ck-resizer-offset)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-right{bottom:var(--ck-resizer-offset);right:var(--ck-resizer-offset)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-left{bottom:var(--ck-resizer-offset);left:var(--ck-resizer-offset)}","",{version:3,sources:["webpack://./../ckeditor5-widget/theme/widgetresize.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-widget/widgetresize.css"],names:[],mappings:"AAKA,4BAEC,iBACD,CAEA,wBACC,YAAa,CAMb,MAAO,CAFP,mBAAoB,CAHpB,iBAAkB,CAMlB,KACD,CAGC,2EACC,aACD,CAGD,gCAIC,kBAAmB,CAHnB,iBAcD,CATC,4IAEC,kBACD,CAEA,4IAEC,kBACD,CCpCD,MACC,sBAAuB,CAGvB,yDAAiE,CACjE,6BACD,CAEA,wBACC,yCACD,CAEA,gCAGC,uCAAwC,CACxC,gDAA6D,CAC7D,6CAA8C,CAH9C,6BAA8B,CAD9B,4BAyBD,CAnBC,oEAEC,6BAA8B,CAD9B,4BAED,CAEA,qEAEC,8BAA+B,CAD/B,4BAED,CAEA,wEACC,+BAAgC,CAChC,8BACD,CAEA,uEACC,+BAAgC,CAChC,6BACD",sourcesContent:["/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-widget_with-resizer {\n\t/* Make the widget wrapper a relative positioning container for the drag handle. */\n\tposition: relative;\n}\n\n.ck .ck-widget__resizer {\n\tdisplay: none;\n\tposition: absolute;\n\n\t/* The wrapper itself should not interfere with the pointer device, only the handles should. */\n\tpointer-events: none;\n\n\tleft: 0;\n\ttop: 0;\n}\n\n.ck-focused .ck-widget_with-resizer.ck-widget_selected {\n\t& > .ck-widget__resizer {\n\t\tdisplay: block;\n\t}\n}\n\n.ck .ck-widget__resizer__handle {\n\tposition: absolute;\n\n\t/* Resizers are the only UI elements that should interfere with a pointer device. */\n\tpointer-events: all;\n\n\t&.ck-widget__resizer__handle-top-left,\n\t&.ck-widget__resizer__handle-bottom-right {\n\t\tcursor: nwse-resize;\n\t}\n\n\t&.ck-widget__resizer__handle-top-right,\n\t&.ck-widget__resizer__handle-bottom-left {\n\t\tcursor: nesw-resize;\n\t}\n}\n","/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-resizer-size: 10px;\n\n\t/* Set the resizer with a 50% offset. */\n\t--ck-resizer-offset: calc( ( var(--ck-resizer-size) / -2 ) - 2px);\n\t--ck-resizer-border-width: 1px;\n}\n\n.ck .ck-widget__resizer {\n\toutline: 1px solid var(--ck-color-resizer);\n}\n\n.ck .ck-widget__resizer__handle {\n\twidth: var(--ck-resizer-size);\n\theight: var(--ck-resizer-size);\n\tbackground: var(--ck-color-focus-border);\n\tborder: var(--ck-resizer-border-width) solid hsl(0, 0%, 100%);\n\tborder-radius: var(--ck-resizer-border-radius);\n\n\t&.ck-widget__resizer__handle-top-left {\n\t\ttop: var(--ck-resizer-offset);\n\t\tleft: var(--ck-resizer-offset);\n\t}\n\n\t&.ck-widget__resizer__handle-top-right {\n\t\ttop: var(--ck-resizer-offset);\n\t\tright: var(--ck-resizer-offset);\n\t}\n\n\t&.ck-widget__resizer__handle-bottom-right {\n\t\tbottom: var(--ck-resizer-offset);\n\t\tright: var(--ck-resizer-offset);\n\t}\n\n\t&.ck-widget__resizer__handle-bottom-left {\n\t\tbottom: var(--ck-resizer-offset);\n\t\tleft: var(--ck-resizer-offset);\n\t}\n}\n"],sourceRoot:""}]);const I=P},4921:(t,A,C)=>{"use strict";C.d(A,{Z:()=>I});var U=C(1799),k=C.n(U),D=C(2609),P=C.n(D)()(k());P.push([t.id,'.ck .ck-widget .ck-widget__type-around__button{display:block;overflow:hidden;position:absolute;z-index:var(--ck-z-default)}.ck .ck-widget .ck-widget__type-around__button svg{left:50%;position:absolute;top:50%;z-index:calc(var(--ck-z-default) + 2)}.ck .ck-widget .ck-widget__type-around__button.ck-widget__type-around__button_before{left:min(10%,30px);top:calc(var(--ck-widget-outline-thickness)*-.5);transform:translateY(-50%)}.ck .ck-widget .ck-widget__type-around__button.ck-widget__type-around__button_after{bottom:calc(var(--ck-widget-outline-thickness)*-.5);right:min(10%,30px);transform:translateY(50%)}.ck .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button:after,.ck .ck-widget>.ck-widget__type-around>.ck-widget__type-around__button:hover:after{content:"";display:block;left:1px;position:absolute;top:1px;z-index:calc(var(--ck-z-default) + 1)}.ck .ck-widget>.ck-widget__type-around>.ck-widget__type-around__fake-caret{display:none;left:0;position:absolute;right:0}.ck .ck-widget:hover>.ck-widget__type-around>.ck-widget__type-around__fake-caret{left:calc(var(--ck-widget-outline-thickness)*-1);right:calc(var(--ck-widget-outline-thickness)*-1)}.ck .ck-widget.ck-widget_type-around_show-fake-caret_before>.ck-widget__type-around>.ck-widget__type-around__fake-caret{display:block;top:calc(var(--ck-widget-outline-thickness)*-1 - 1px)}.ck .ck-widget.ck-widget_type-around_show-fake-caret_after>.ck-widget__type-around>.ck-widget__type-around__fake-caret{bottom:calc(var(--ck-widget-outline-thickness)*-1 - 1px);display:block}.ck.ck-editor__editable.ck-read-only .ck-widget__type-around,.ck.ck-editor__editable.ck-restricted-editing_mode_restricted .ck-widget__type-around,.ck.ck-editor__editable.ck-widget__type-around_disabled .ck-widget__type-around{display:none}:root{--ck-widget-type-around-button-size:20px;--ck-color-widget-type-around-button-active:var(--ck-color-focus-border);--ck-color-widget-type-around-button-hover:var(--ck-color-widget-hover-border);--ck-color-widget-type-around-button-blurred-editable:var(--ck-color-widget-blurred-border);--ck-color-widget-type-around-button-radar-start-alpha:0;--ck-color-widget-type-around-button-radar-end-alpha:.3;--ck-color-widget-type-around-button-icon:var(--ck-color-base-background)}.ck .ck-widget .ck-widget__type-around__button{background:var(--ck-color-widget-type-around-button);border-radius:100px;height:var(--ck-widget-type-around-button-size);opacity:0;pointer-events:none;transition:opacity var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),background var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);width:var(--ck-widget-type-around-button-size)}.ck .ck-widget .ck-widget__type-around__button svg{height:8px;margin-top:1px;transform:translate(-50%,-50%);transition:transform .5s ease;width:10px}.ck .ck-widget .ck-widget__type-around__button svg *{stroke-dasharray:10;stroke-dashoffset:0;fill:none;stroke:var(--ck-color-widget-type-around-button-icon);stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round}.ck .ck-widget .ck-widget__type-around__button svg line{stroke-dasharray:7}.ck .ck-widget .ck-widget__type-around__button:hover{animation:ck-widget-type-around-button-sonar 1s ease infinite}.ck .ck-widget .ck-widget__type-around__button:hover svg polyline{animation:ck-widget-type-around-arrow-dash 2s linear}.ck .ck-widget .ck-widget__type-around__button:hover svg line{animation:ck-widget-type-around-arrow-tip-dash 2s linear}.ck .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button,.ck .ck-widget:hover>.ck-widget__type-around>.ck-widget__type-around__button{opacity:1;pointer-events:auto}.ck .ck-widget:not(.ck-widget_selected)>.ck-widget__type-around>.ck-widget__type-around__button{background:var(--ck-color-widget-type-around-button-hover)}.ck .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button,.ck .ck-widget>.ck-widget__type-around>.ck-widget__type-around__button:hover{background:var(--ck-color-widget-type-around-button-active)}.ck .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button:after,.ck .ck-widget>.ck-widget__type-around>.ck-widget__type-around__button:hover:after{background:linear-gradient(135deg,hsla(0,0%,100%,0),hsla(0,0%,100%,.3));border-radius:100px;height:calc(var(--ck-widget-type-around-button-size) - 2px);width:calc(var(--ck-widget-type-around-button-size) - 2px)}.ck .ck-widget.ck-widget_with-selection-handle>.ck-widget__type-around>.ck-widget__type-around__button_before{margin-left:20px}.ck .ck-widget .ck-widget__type-around__fake-caret{animation:ck-widget-type-around-fake-caret-pulse 1s linear infinite normal forwards;background:var(--ck-color-base-text);height:1px;outline:1px solid hsla(0,0%,100%,.5);pointer-events:none}.ck .ck-widget.ck-widget_selected.ck-widget_type-around_show-fake-caret_after,.ck .ck-widget.ck-widget_selected.ck-widget_type-around_show-fake-caret_before{outline-color:transparent}.ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_selected:hover,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_selected:hover{outline-color:var(--ck-color-widget-hover-border)}.ck .ck-widget.ck-widget_type-around_show-fake-caret_after>.ck-widget__type-around>.ck-widget__type-around__button,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before>.ck-widget__type-around>.ck-widget__type-around__button{opacity:0;pointer-events:none}.ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_selected.ck-widget_with-resizer>.ck-widget__resizer,.ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_with-selection-handle.ck-widget_selected:hover>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_selected.ck-widget_with-resizer>.ck-widget__resizer,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_with-selection-handle.ck-widget_selected:hover>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle{opacity:0}.ck[dir=rtl] .ck-widget.ck-widget_with-selection-handle .ck-widget__type-around>.ck-widget__type-around__button_before{margin-left:0;margin-right:20px}.ck-editor__nested-editable.ck-editor__editable_selected .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button,.ck-editor__nested-editable.ck-editor__editable_selected .ck-widget:hover>.ck-widget__type-around>.ck-widget__type-around__button{opacity:0;pointer-events:none}.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button:not(:hover){background:var(--ck-color-widget-type-around-button-blurred-editable)}.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button:not(:hover) svg *{stroke:#999}@keyframes ck-widget-type-around-arrow-dash{0%{stroke-dashoffset:10}20%,to{stroke-dashoffset:0}}@keyframes ck-widget-type-around-arrow-tip-dash{0%,20%{stroke-dashoffset:7}40%,to{stroke-dashoffset:0}}@keyframes ck-widget-type-around-button-sonar{0%{box-shadow:0 0 0 0 hsla(var(--ck-color-focus-border-coordinates),var(--ck-color-widget-type-around-button-radar-start-alpha))}50%{box-shadow:0 0 0 5px hsla(var(--ck-color-focus-border-coordinates),var(--ck-color-widget-type-around-button-radar-end-alpha))}to{box-shadow:0 0 0 5px hsla(var(--ck-color-focus-border-coordinates),var(--ck-color-widget-type-around-button-radar-start-alpha))}}@keyframes ck-widget-type-around-fake-caret-pulse{0%{opacity:1}49%{opacity:1}50%{opacity:0}99%{opacity:0}to{opacity:1}}',"",{version:3,sources:["webpack://./../ckeditor5-widget/theme/widgettypearound.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-widget/widgettypearound.css"],names:[],mappings:"AASC,+CACC,aAAc,CAEd,eAAgB,CADhB,iBAAkB,CAElB,2BAwBD,CAtBC,mDAGC,QAAS,CAFT,iBAAkB,CAClB,OAAQ,CAER,qCACD,CAEA,qFAGC,kBAAoB,CADpB,gDAAoD,CAGpD,0BACD,CAEA,oFAEC,mDAAuD,CACvD,mBAAqB,CAErB,yBACD,CAUA,mLACC,UAAW,CACX,aAAc,CAGd,QAAS,CAFT,iBAAkB,CAClB,OAAQ,CAER,qCACD,CAMD,2EACC,YAAa,CAEb,MAAO,CADP,iBAAkB,CAElB,OACD,CAOA,iFACC,gDAAqD,CACrD,iDACD,CAKA,wHAEC,aAAc,CADd,qDAED,CAKA,uHACC,wDAA6D,CAC7D,aACD,CAoBD,mOACC,YACD,CC3GA,MACC,wCAAyC,CACzC,wEAAyE,CACzE,8EAA+E,CAC/E,2FAA4F,CAC5F,wDAAyD,CACzD,uDAAwD,CACxD,yEACD,CAgBC,+CAGC,oDAAqD,CACrD,mBAAoB,CAFpB,+CAAgD,CAVjD,SAAU,CACV,mBAAoB,CAYnB,uMAAyM,CAJzM,8CAkDD,CA1CC,mDAEC,UAAW,CAGX,cAAe,CAFf,8BAA+B,CAC/B,6BAA8B,CAH9B,UAoBD,CAdC,qDACC,mBAAoB,CACpB,mBAAoB,CAEpB,SAAU,CACV,qDAAsD,CACtD,kBAAmB,CACnB,oBAAqB,CACrB,qBACD,CAEA,wDACC,kBACD,CAGD,qDAIC,6DAcD,CARE,kEACC,oDACD,CAEA,8DACC,wDACD,CAUF,uKAvED,SAAU,CACV,mBAwEC,CAOD,gGACC,0DACD,CAOA,uKAEC,2DAQD,CANC,mLAIC,uEAAkF,CADlF,mBAAoB,CADpB,2DAA4D,CAD5D,0DAID,CAOD,8GACC,gBACD,CAKA,mDAGC,mFAAoF,CAOpF,oCAAqC,CARrC,UAAW,CAOX,oCAAwC,CARxC,mBAUD,CAOC,6JAEC,yBACD,CAUA,yKACC,iDACD,CAMA,uOAlJD,SAAU,CACV,mBAmJC,CAoBA,6yBACC,SACD,CASF,uHACC,aAAc,CACd,iBACD,CAYG,iRAlMF,SAAU,CACV,mBAmME,CAQH,kIACC,qEAKD,CAHC,wIACC,WACD,CAGD,4CACC,GACC,oBACD,CACA,OACC,mBACD,CACD,CAEA,gDACC,OACC,mBACD,CACA,OACC,mBACD,CACD,CAEA,8CACC,GACC,6HACD,CACA,IACC,6HACD,CACA,GACC,+HACD,CACD,CAEA,kDACC,GACC,SACD,CACA,IACC,SACD,CACA,IACC,SACD,CACA,IACC,SACD,CACA,GACC,SACD,CACD",sourcesContent:['/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-widget {\n\t/*\n\t * Styles of the type around buttons\n\t */\n\t& .ck-widget__type-around__button {\n\t\tdisplay: block;\n\t\tposition: absolute;\n\t\toverflow: hidden;\n\t\tz-index: var(--ck-z-default);\n\n\t\t& svg {\n\t\t\tposition: absolute;\n\t\t\ttop: 50%;\n\t\t\tleft: 50%;\n\t\t\tz-index: calc(var(--ck-z-default) + 2);\n\t\t}\n\n\t\t&.ck-widget__type-around__button_before {\n\t\t\t/* Place it in the middle of the outline */\n\t\t\ttop: calc(-0.5 * var(--ck-widget-outline-thickness));\n\t\t\tleft: min(10%, 30px);\n\n\t\t\ttransform: translateY(-50%);\n\t\t}\n\n\t\t&.ck-widget__type-around__button_after {\n\t\t\t/* Place it in the middle of the outline */\n\t\t\tbottom: calc(-0.5 * var(--ck-widget-outline-thickness));\n\t\t\tright: min(10%, 30px);\n\n\t\t\ttransform: translateY(50%);\n\t\t}\n\t}\n\n\t/*\n\t * Styles for the buttons when:\n\t * - the widget is selected,\n\t * - or the button is being hovered (regardless of the widget state).\n\t */\n\t&.ck-widget_selected > .ck-widget__type-around > .ck-widget__type-around__button,\n\t& > .ck-widget__type-around > .ck-widget__type-around__button:hover {\n\t\t&::after {\n\t\t\tcontent: "";\n\t\t\tdisplay: block;\n\t\t\tposition: absolute;\n\t\t\ttop: 1px;\n\t\t\tleft: 1px;\n\t\t\tz-index: calc(var(--ck-z-default) + 1);\n\t\t}\n\t}\n\n\t/*\n\t * Styles for the horizontal "fake caret" which is displayed when the user navigates using the keyboard.\n\t */\n\t& > .ck-widget__type-around > .ck-widget__type-around__fake-caret {\n\t\tdisplay: none;\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\tright: 0;\n\t}\n\n\t/*\n\t * When the widget is hovered the "fake caret" would normally be narrower than the\n\t * extra outline displayed around the widget. Let\'s extend the "fake caret" to match\n\t * the full width of the widget.\n\t */\n\t&:hover > .ck-widget__type-around > .ck-widget__type-around__fake-caret {\n\t\tleft: calc( -1 * var(--ck-widget-outline-thickness) );\n\t\tright: calc( -1 * var(--ck-widget-outline-thickness) );\n\t}\n\n\t/*\n\t * Styles for the horizontal "fake caret" when it should be displayed before the widget (backward keyboard navigation).\n\t */\n\t&.ck-widget_type-around_show-fake-caret_before > .ck-widget__type-around > .ck-widget__type-around__fake-caret {\n\t\ttop: calc( -1 * var(--ck-widget-outline-thickness) - 1px );\n\t\tdisplay: block;\n\t}\n\n\t/*\n\t * Styles for the horizontal "fake caret" when it should be displayed after the widget (forward keyboard navigation).\n\t */\n\t&.ck-widget_type-around_show-fake-caret_after > .ck-widget__type-around > .ck-widget__type-around__fake-caret {\n\t\tbottom: calc( -1 * var(--ck-widget-outline-thickness) - 1px );\n\t\tdisplay: block;\n\t}\n}\n\n/*\n * Integration with the read-only mode of the editor.\n */\n.ck.ck-editor__editable.ck-read-only .ck-widget__type-around {\n\tdisplay: none;\n}\n\n/*\n * Integration with the restricted editing mode (feature) of the editor.\n */\n.ck.ck-editor__editable.ck-restricted-editing_mode_restricted .ck-widget__type-around {\n\tdisplay: none;\n}\n\n/*\n * Integration with the #isEnabled property of the WidgetTypeAround plugin.\n */\n.ck.ck-editor__editable.ck-widget__type-around_disabled .ck-widget__type-around {\n\tdisplay: none;\n}\n','/*\n * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-widget-type-around-button-size: 20px;\n\t--ck-color-widget-type-around-button-active: var(--ck-color-focus-border);\n\t--ck-color-widget-type-around-button-hover: var(--ck-color-widget-hover-border);\n\t--ck-color-widget-type-around-button-blurred-editable: var(--ck-color-widget-blurred-border);\n\t--ck-color-widget-type-around-button-radar-start-alpha: 0;\n\t--ck-color-widget-type-around-button-radar-end-alpha: .3;\n\t--ck-color-widget-type-around-button-icon: var(--ck-color-base-background);\n}\n\n@define-mixin ck-widget-type-around-button-visible {\n\topacity: 1;\n\tpointer-events: auto;\n}\n\n@define-mixin ck-widget-type-around-button-hidden {\n\topacity: 0;\n\tpointer-events: none;\n}\n\n.ck .ck-widget {\n\t/*\n\t * Styles of the type around buttons\n\t */\n\t& .ck-widget__type-around__button {\n\t\twidth: var(--ck-widget-type-around-button-size);\n\t\theight: var(--ck-widget-type-around-button-size);\n\t\tbackground: var(--ck-color-widget-type-around-button);\n\t\tborder-radius: 100px;\n\t\ttransition: opacity var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve), background var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);\n\n\t\t@mixin ck-widget-type-around-button-hidden;\n\n\t\t& svg {\n\t\t\twidth: 10px;\n\t\t\theight: 8px;\n\t\t\ttransform: translate(-50%,-50%);\n\t\t\ttransition: transform .5s ease;\n\t\t\tmargin-top: 1px;\n\n\t\t\t& * {\n\t\t\t\tstroke-dasharray: 10;\n\t\t\t\tstroke-dashoffset: 0;\n\n\t\t\t\tfill: none;\n\t\t\t\tstroke: var(--ck-color-widget-type-around-button-icon);\n\t\t\t\tstroke-width: 1.5px;\n\t\t\t\tstroke-linecap: round;\n\t\t\t\tstroke-linejoin: round;\n\t\t\t}\n\n\t\t\t& line {\n\t\t\t\tstroke-dasharray: 7;\n\t\t\t}\n\t\t}\n\n\t\t&:hover {\n\t\t\t/*\n\t\t\t * Display the "sonar" around the button when hovered.\n\t\t\t */\n\t\t\tanimation: ck-widget-type-around-button-sonar 1s ease infinite;\n\n\t\t\t/*\n\t\t\t * Animate active button\'s icon.\n\t\t\t */\n\t\t\t& svg {\n\t\t\t\t& polyline {\n\t\t\t\t\tanimation: ck-widget-type-around-arrow-dash 2s linear;\n\t\t\t\t}\n\n\t\t\t\t& line {\n\t\t\t\t\tanimation: ck-widget-type-around-arrow-tip-dash 2s linear;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t/*\n\t * Show type around buttons when the widget gets selected or being hovered.\n\t */\n\t&.ck-widget_selected,\n\t&:hover {\n\t\t& > .ck-widget__type-around > .ck-widget__type-around__button {\n\t\t\t@mixin ck-widget-type-around-button-visible;\n\t\t}\n\t}\n\n\t/*\n\t * Styles for the buttons when the widget is NOT selected (but the buttons are visible\n\t * and still can be hovered).\n\t */\n\t&:not(.ck-widget_selected) > .ck-widget__type-around > .ck-widget__type-around__button {\n\t\tbackground: var(--ck-color-widget-type-around-button-hover);\n\t}\n\n\t/*\n\t * Styles for the buttons when:\n\t * - the widget is selected,\n\t * - or the button is being hovered (regardless of the widget state).\n\t */\n\t&.ck-widget_selected > .ck-widget__type-around > .ck-widget__type-around__button,\n\t& > .ck-widget__type-around > .ck-widget__type-around__button:hover {\n\t\tbackground: var(--ck-color-widget-type-around-button-active);\n\n\t\t&::after {\n\t\t\twidth: calc(var(--ck-widget-type-around-button-size) - 2px);\n\t\t\theight: calc(var(--ck-widget-type-around-button-size) - 2px);\n\t\t\tborder-radius: 100px;\n\t\t\tbackground: linear-gradient(135deg, hsla(0,0%,100%,0) 0%, hsla(0,0%,100%,.3) 100%);\n\t\t}\n\t}\n\n\t/*\n\t * Styles for the "before" button when the widget has a selection handle. Because some space\n\t * is consumed by the handle, the button must be moved slightly to the right to let it breathe.\n\t */\n\t&.ck-widget_with-selection-handle > .ck-widget__type-around > .ck-widget__type-around__button_before {\n\t\tmargin-left: 20px;\n\t}\n\n\t/*\n\t * Styles for the horizontal "fake caret" which is displayed when the user navigates using the keyboard.\n\t */\n\t& .ck-widget__type-around__fake-caret {\n\t\tpointer-events: none;\n\t\theight: 1px;\n\t\tanimation: ck-widget-type-around-fake-caret-pulse linear 1s infinite normal forwards;\n\n\t\t/*\n\t\t * The semi-transparent-outline+background combo improves the contrast\n\t\t * when the background underneath the fake caret is dark.\n\t\t */\n\t\toutline: solid 1px hsla(0, 0%, 100%, .5);\n\t\tbackground: var(--ck-color-base-text);\n\t}\n\n\t/*\n\t * Styles of the widget when the "fake caret" is blinking (e.g. upon keyboard navigation).\n\t * Despite the widget being physically selected in the model, its outline should disappear.\n\t */\n\t&.ck-widget_selected {\n\t\t&.ck-widget_type-around_show-fake-caret_before,\n\t\t&.ck-widget_type-around_show-fake-caret_after {\n\t\t\toutline-color: transparent;\n\t\t}\n\t}\n\n\t&.ck-widget_type-around_show-fake-caret_before,\n\t&.ck-widget_type-around_show-fake-caret_after {\n\t\t/*\n\t\t * When the "fake caret" is visible we simulate that the widget is not selected\n\t\t * (despite being physically selected), so the outline color should be for the\n\t\t * unselected widget.\n\t\t */\n\t\t&.ck-widget_selected:hover {\n\t\t\toutline-color: var(--ck-color-widget-hover-border);\n\t\t}\n\n\t\t/*\n\t\t * Styles of the type around buttons when the "fake caret" is blinking (e.g. upon keyboard navigation).\n\t\t * In this state, the type around buttons would collide with the fake carets so they should disappear.\n\t\t */\n\t\t& > .ck-widget__type-around > .ck-widget__type-around__button {\n\t\t\t@mixin ck-widget-type-around-button-hidden;\n\t\t}\n\n\t\t/*\n\t\t * Fake horizontal caret integration with the selection handle. When the caret is visible, simply\n\t\t * hide the handle because it intersects with the caret (and does not make much sense anyway).\n\t\t */\n\t\t&.ck-widget_with-selection-handle {\n\t\t\t&.ck-widget_selected,\n\t\t\t&.ck-widget_selected:hover {\n\t\t\t\t& > .ck-widget__selection-handle {\n\t\t\t\t\topacity: 0\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t/*\n\t\t * Fake horizontal caret integration with the resize UI. When the caret is visible, simply\n\t\t * hide the resize UI because it creates too much noise. It can be visible when the user\n\t\t * hovers the widget, though.\n\t\t */\n\t\t&.ck-widget_selected.ck-widget_with-resizer > .ck-widget__resizer {\n\t\t\topacity: 0\n\t\t}\n\t}\n}\n\n/*\n * Styles for the "before" button when the widget has a selection handle in an RTL environment.\n * The selection handler is aligned to the right side of the widget so there is no need to create\n * additional space for it next to the "before" button.\n */\n.ck[dir="rtl"] .ck-widget.ck-widget_with-selection-handle .ck-widget__type-around > .ck-widget__type-around__button_before {\n\tmargin-left: 0;\n\tmargin-right: 20px;\n}\n\n/*\n * Hide type around buttons when the widget is selected as a child of a selected\n * nested editable (e.g. mulit-cell table selection).\n *\n * See https://github.com/ckeditor/ckeditor5/issues/7263.\n */\n.ck-editor__nested-editable.ck-editor__editable_selected {\n\t& .ck-widget {\n\t\t&.ck-widget_selected,\n\t\t&:hover {\n\t\t\t& > .ck-widget__type-around > .ck-widget__type-around__button {\n\t\t\t\t@mixin ck-widget-type-around-button-hidden;\n\t\t\t}\n\t\t}\n\t}\n}\n\n/*\n * Styles for the buttons when the widget is selected but the user clicked outside of the editor (blurred the editor).\n */\n.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected > .ck-widget__type-around > .ck-widget__type-around__button:not(:hover) {\n\tbackground: var(--ck-color-widget-type-around-button-blurred-editable);\n\n\t& svg * {\n\t\tstroke: hsl(0,0%,60%);\n\t}\n}\n\n@keyframes ck-widget-type-around-arrow-dash {\n\t0% {\n\t\tstroke-dashoffset: 10;\n\t}\n\t20%, 100% {\n\t\tstroke-dashoffset: 0;\n\t}\n}\n\n@keyframes ck-widget-type-around-arrow-tip-dash {\n\t0%, 20% {\n\t\tstroke-dashoffset: 7;\n\t}\n\t40%, 100% {\n\t\tstroke-dashoffset: 0;\n\t}\n}\n\n@keyframes ck-widget-type-around-button-sonar {\n\t0% {\n\t\tbox-shadow: 0 0 0 0 hsla(var(--ck-color-focus-border-coordinates), var(--ck-color-widget-type-around-button-radar-start-alpha));\n\t}\n\t50% {\n\t\tbox-shadow: 0 0 0 5px hsla(var(--ck-color-focus-border-coordinates), var(--ck-color-widget-type-around-button-radar-end-alpha));\n\t}\n\t100% {\n\t\tbox-shadow: 0 0 0 5px hsla(var(--ck-color-focus-border-coordinates), var(--ck-color-widget-type-around-button-radar-start-alpha));\n\t}\n}\n\n@keyframes ck-widget-type-around-fake-caret-pulse {\n\t0% {\n\t\topacity: 1;\n\t}\n\t49% {\n\t\topacity: 1;\n\t}\n\t50% {\n\t\topacity: 0;\n\t}\n\t99% {\n\t\topacity: 0;\n\t}\n\t100% {\n\t\topacity: 1;\n\t}\n}\n'],sourceRoot:""}]);const I=P},2609:t=>{"use strict";t.exports=function(A){var C=[];return C.toString=function(){return this.map(function(U){var k=A(U);return U[2]?"@media ".concat(U[2]," {").concat(k,"}"):k}).join("")},C.i=function(U,k,D){"string"==typeof U&&(U=[[null,U,""]]);var P={};if(D)for(var I=0;I{"use strict";function C(U,k){(null==k||k>U.length)&&(k=U.length);for(var D=0,P=new Array(k);D{"use strict";var U,Vt,D=(Vt={},function(nt){if(void 0===Vt[nt]){var Tt=document.querySelector(nt);if(window.HTMLIFrameElement&&Tt instanceof window.HTMLIFrameElement)try{Tt=Tt.contentDocument.head}catch{Tt=null}Vt[nt]=Tt}return Vt[nt]}),P=[];function I(Vt){for(var nt=-1,Tt=0;Tt{var A=t&&t.__esModule?()=>t.default:()=>t;return v.d(A,{a:A}),A},v.d=(t,A)=>{for(var C in A)v.o(A,C)&&!v.o(t,C)&&Object.defineProperty(t,C,{enumerable:!0,get:A[C]})},v.o=(t,A)=>Object.prototype.hasOwnProperty.call(t,A),v.nc=void 0;var T={};return(()=>{"use strict";function t({emitter:m,activator:r,callback:c,contextElements:u}){m.listenTo(document,"mousedown",(_,x)=>{if(!r())return;const M="function"==typeof x.composedPath?x.composedPath():[],E="function"==typeof u?u():u;for(const F of E)if(F.contains(x.target)||M.includes(F))return;c()})}function A(m){return class extends m{disableCssTransitions(){this._isCssTransitionsDisabled=!0}enableCssTransitions(){this._isCssTransitionsDisabled=!1}constructor(...r){super(...r),this.set("_isCssTransitionsDisabled",!1),this.initializeCssTransitionDisablerMixin()}initializeCssTransitionDisablerMixin(){this.extendTemplate({attributes:{class:[this.bindTemplate.if("_isCssTransitionsDisabled","ck-transitions-disabled")]}})}}}function C({view:m}){m.listenTo(m.element,"submit",(r,c)=>{c.preventDefault(),m.fire("submit")},{useCapture:!0})}v.d(T,{default:()=>m7});const U=function(){try{return navigator.userAgent.toLowerCase()}catch{return""}}(),D_isMac=P(U),D_isGecko=(U.indexOf("windows"),!!U.match(/gecko\/\d+/)),D_isSafari=(m=U).indexOf(" applewebkit/")>-1&&-1===m.indexOf("chrome"),D_isiOS=function(m){return!!m.match(/iphone|ipad/i)||P(m)&&navigator.maxTouchPoints>0}(U),D_isAndroid=function(m){return m.indexOf("android")>-1}(U),D_isBlink=function(m){return m.indexOf("chrome/")>-1&&m.indexOf("edge/")<0}(U);var m;function P(m){return m.indexOf("macintosh")>-1}function I(m,r,c,u){c=c||function(F,V){return F===V};const _=Array.isArray(m)?m:Array.prototype.slice.call(m),x=Array.isArray(r)?r:Array.prototype.slice.call(r),M=function(F,V,W){const dt=z(F,V,W);if(-1===dt)return{firstIndex:-1,lastIndexOld:-1,lastIndexNew:-1};const Ae=z(G(F,dt),G(V,dt),W);return{firstIndex:dt,lastIndexOld:F.length-Ae,lastIndexNew:V.length-Ae}}(_,x,c);return u?function(F,V){const{firstIndex:W,lastIndexOld:dt,lastIndexNew:Zt}=F;if(-1===W)return Array(V).fill("equal");let ue=[];return W>0&&(ue=ue.concat(Array(W).fill("equal"))),Zt-W>0&&(ue=ue.concat(Array(Zt-W).fill("insert"))),dt-W>0&&(ue=ue.concat(Array(dt-W).fill("delete"))),Zt0&&W.push({index:dt,type:"insert",values:F.slice(dt,ue)}),Zt-dt>0&&W.push({index:dt+(ue-dt),type:"delete",howMany:Zt-dt}),W}(x,M)}function z(m,r,c){for(let u=0;u200||_>200||u+_>300)return K.fastDiff(m,r,c,!0);let x,M;if(_Dn?-1:1;W[Ie+di]&&(W[Ie]=W[Ie+di].slice(0)),W[Ie]||(W[Ie]=[]),W[Ie].push(ln>Dn?x:M);let Ri=Math.max(ln,Dn),Go=Ri-Ie;for(;GoV;ue--)dt[ue]=Zt(ue);dt[V]=Zt(V),Ae++}while(dt[V]!==F);return W[V].slice(1)}!function(){let m=!1;try{m=0==="\u0107".search(new RegExp("[\\p{L}]","u"))}catch{}}(),K.fastDiff=I;class lt{constructor(r,c){this.source=r,this.name=c,this.path=[],this.stop=function m(){m.called=!0},this.off=function m(){m.called=!0}}}const bt=new Array(256).fill("").map((m,r)=>("0"+r.toString(16)).slice(-2));function Pt(){const m=4294967296*Math.random()>>>0,r=4294967296*Math.random()>>>0,c=4294967296*Math.random()>>>0,u=4294967296*Math.random()>>>0;return"e"+bt[m>>0&255]+bt[m>>8&255]+bt[m>>16&255]+bt[m>>24&255]+bt[r>>0&255]+bt[r>>8&255]+bt[r>>16&255]+bt[r>>24&255]+bt[c>>0&255]+bt[c>>8&255]+bt[c>>16&255]+bt[c>>24&255]+bt[u>>0&255]+bt[u>>8&255]+bt[u>>16&255]+bt[u>>24&255]}const Dt={get(m="normal"){return"number"!=typeof m?this[m]||this.normal:m},highest:1e5,high:1e3,normal:0,low:-1e3,lowest:-1e5};function zt(m,r){const c=Dt.get(r.priority);for(let u=0;u{if("object"==typeof dt&&null!==dt){if(M.has(dt))return`[object ${dt.constructor.name}]`;M.add(dt)}return dt})}`:"")+ft(_)}(r,u)),this.name="CKEditorError",this.context=c,this.data=u}is(r){return"CKEditorError"===r}static rethrowUnexpectedError(r,c){if(r.is&&r.is("CKEditorError"))throw r;const u=new nt(r.message,c);throw u.stack=r.stack,u}}function Tt(m,r){console.warn(...Et(m,r))}function At(m,r){console.error(...Et(m,r))}function ft(m){return`\nRead more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#error-${m}`}function Et(m,r){const c=ft(m);return r?[m,r,c]:[m,c]}const It=new Date(2023,9,4);if(globalThis.CKEDITOR_VERSION)throw new nt("ckeditor-duplicated-modules",null);globalThis.CKEDITOR_VERSION="40.0.0";const se=Symbol("listeningTo"),Jt=Symbol("emitterId"),ve=Symbol("delegations"),xe=Oe(Object);function Oe(m){return m?class extends m{on(r,c,u){this.listenTo(this,r,c,u)}once(r,c,u){let _=!1;this.listenTo(this,r,(x,...M)=>{_||(_=!0,x.off(),c.call(this,x,...M))},u)}off(r,c){this.stopListening(this,r,c)}listenTo(r,c,u,_={}){let x,M;this[se]||(this[se]={});const E=this[se];$e(r)||qe(r);const F=$e(r);var W,dt,Zt,ue;(x=E[F])||(x=E[F]={emitter:r,callbacks:{}}),(M=x.callbacks[c])||(M=x.callbacks[c]=[]),M.push(u),dt=c,Zt=u,ue=_,(W=r)._addEventListener?W._addEventListener(dt,Zt,ue):this._addEventListener.call(W,dt,Zt,ue)}stopListening(r,c,u){const _=this[se];let x=r&&$e(r);const M=_&&x?_[x]:void 0,E=M&&c?M.callbacks[c]:void 0;if(!(!_||r&&!M||c&&!E))if(u)de(this,r,c,u),-1!==E.indexOf(u)&&(1===E.length?delete M.callbacks[c]:de(this,r,c,u));else if(E){for(;u=E.pop();)de(this,r,c,u);delete M.callbacks[c]}else if(M){for(c in M.callbacks)this.stopListening(r,c);delete _[x]}else{for(x in _)this.stopListening(_[x].emitter);delete this[se]}}fire(r,...c){try{const u=r instanceof lt?r:new lt(this,r),_=u.name;let x=ae(this,_);if(u.path.push(this),x){const E=[u,...c];x=Array.from(x);for(let F=0;F{this[ve]||(this[ve]=new Map),r.forEach(_=>{const x=this[ve].get(_);x?x.set(c,u):this[ve].set(_,new Map([[c,u]]))})}}}stopDelegating(r,c){if(this[ve])if(r)if(c){const u=this[ve].get(r);u&&u.delete(c)}else this[ve].delete(r);else this[ve].clear()}_addEventListener(r,c,u){!function(M,E){const F=Xt(M);if(F[E])return;let V=E,W=null;const dt=[];for(;""!==V&&!F[V];)F[V]={callbacks:[],childEvents:[]},dt.push(F[V]),W&&F[V].childEvents.push(W),W=V,V=V.substr(0,V.lastIndexOf(":"));if(""!==V){for(const Zt of dt)Zt.callbacks=F[V].callbacks.slice();F[V].childEvents.push(W)}}(this,r);const _=we(this,r),x={callback:c,priority:Dt.get(u.priority)};for(const M of _)zt(M,x)}_removeEventListener(r,c){const u=we(this,r);for(const _ of u)for(let x=0;x<_.length;x++)_[x].callback==c&&(_.splice(x,1),x--)}}:xe}function qe(m,r){m[Jt]||(m[Jt]=r||Pt())}function $e(m){return m[Jt]}function Xt(m){return m._events||Object.defineProperty(m,"_events",{value:{}}),m._events}function we(m,r){const c=Xt(m)[r];if(!c)return[];let u=[c.callbacks];for(let _=0;_-1?ae(m,r.substr(0,r.lastIndexOf(":"))):null}function Kt(m,r,c){for(let[u,_]of m){_?"function"==typeof _&&(_=_(r.name)):_=r.name;const x=new lt(r.source,_);x.path=[...r.path],u.fire(x,...c)}}function de(m,r,c,u){r._removeEventListener?r._removeEventListener(c,u):m._removeEventListener.call(r,c,u)}["on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach(m=>{Oe[m]=xe.prototype[m]});const Wt=function(m){var r=typeof m;return null!=m&&("object"==r||"function"==r)},re=Symbol("observableProperties"),Pe=Symbol("boundObservables"),on=Symbol("boundProperties"),_n=Symbol("decoratedMethods"),ye=Symbol("decoratedOriginal"),gn=Ue(Oe());function Ue(m){return m?class extends m{set(r,c){if(Wt(r))return void Object.keys(r).forEach(_=>{this.set(_,r[_])},this);un(this);const u=this[re];if(r in this&&!u.has(r))throw new nt("observable-set-cannot-override",this);Object.defineProperty(this,r,{enumerable:!0,configurable:!0,get:()=>u.get(r),set(_){const x=u.get(r);let M=this.fire(`set:${r}`,r,_,x);void 0===M&&(M=_),x===M&&u.has(r)||(u.set(r,M),this.fire(`change:${r}`,r,M,x))}}),this[r]=c}bind(...r){if(!r.length||!bi(r))throw new nt("observable-bind-wrong-properties",this);if(new Set(r).size!==r.length)throw new nt("observable-bind-duplicate-properties",this);un(this);const c=this[on];r.forEach(_=>{if(c.has(_))throw new nt("observable-bind-rebind",this)});const u=new Map;return r.forEach(_=>{const x={property:_,to:[]};c.set(_,x),u.set(_,x)}),{to:Mn,toMany:oi,_observable:this,_bindProperties:r,_to:[],_bindings:u}}unbind(...r){if(!this[re])return;const c=this[on],u=this[Pe];if(r.length){if(!bi(r))throw new nt("observable-unbind-wrong-properties",this);r.forEach(_=>{const x=c.get(_);x&&(x.to.forEach(([M,E])=>{const F=u.get(M),V=F[E];V.delete(x),V.size||delete F[E],Object.keys(F).length||(u.delete(M),this.stopListening(M,"change"))}),c.delete(_))})}else u.forEach((_,x)=>{this.stopListening(x,"change")}),u.clear(),c.clear()}decorate(r){un(this);const c=this[r];if(!c)throw new nt("observablemixin-cannot-decorate-undefined",this,{object:this,methodName:r});this.on(r,(u,_)=>{u.return=c.apply(this,_)}),this[r]=function(...u){return this.fire(r,u)},this[r][ye]=c,this[_n]||(this[_n]=[]),this[_n].push(r)}stopListening(r,c,u){if(!r&&this[_n]){for(const _ of this[_n])this[_]=this[_][ye];delete this[_n]}super.stopListening(r,c,u)}}:gn}function un(m){m[re]||(Object.defineProperty(m,re,{value:new Map}),Object.defineProperty(m,Pe,{value:new Map}),Object.defineProperty(m,on,{value:new Map}))}function Mn(...m){const r=function(...x){if(!x.length)throw new nt("observable-bind-to-parse-error",null);const M={to:[]};let E;return"function"==typeof x[x.length-1]&&(M.callback=x.pop()),x.forEach(F=>{if("string"==typeof F)E.properties.push(F);else{if("object"!=typeof F)throw new nt("observable-bind-to-parse-error",null);E={observable:F,properties:[]},M.to.push(E)}}),M}(...m),c=Array.from(this._bindings.keys()),u=c.length;if(!r.callback&&r.to.length>1)throw new nt("observable-bind-to-no-callback",this);if(u>1&&r.callback)throw new nt("observable-bind-to-extra-callback",this);var _;r.to.forEach(x=>{if(x.properties.length&&x.properties.length!==u)throw new nt("observable-bind-to-properties-length",this);x.properties.length||(x.properties=this._bindProperties)}),this._to=r.to,r.callback&&(this._bindings.get(c[0]).callback=r.callback),_=this._observable,this._to.forEach(x=>{const M=_[Pe];let E;M.get(x.observable)||_.listenTo(x.observable,"change",(F,V)=>{E=M.get(x.observable)[V],E&&E.forEach(W=>{ri(_,W.property)})})}),function(x){let M;x._bindings.forEach((E,F)=>{x._to.forEach(V=>{M=V.properties[E.callback?0:x._bindProperties.indexOf(F)],E.to.push([V.observable,M]),function(W,dt,Zt,ue){const Ae=W[Pe],Ie=Ae.get(Zt),ln=Ie||{};ln[ue]||(ln[ue]=new Set),ln[ue].add(dt),Ie||Ae.set(Zt,ln)}(x._observable,E,V.observable,M)})})}(this),this._bindProperties.forEach(x=>{ri(this._observable,x)})}function oi(m,r,c){if(this._bindings.size>1)throw new nt("observable-bind-to-many-not-one-binding",this);this.to(...function(u,_){const x=u.map(M=>[M,_]);return Array.prototype.concat.apply([],x)}(m,r),c)}function bi(m){return m.every(r=>"string"==typeof r)}function ri(m,r){const c=m[on].get(r);let u;c.callback?u=c.callback.apply(m,c.to.map(_=>_[0][_[1]])):(u=c.to[0],u=u[0][u[1]]),Object.prototype.hasOwnProperty.call(m,r)?m[r]=u:m.set(r,u)}["set","bind","unbind","decorate","on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach(m=>{Ue[m]=gn.prototype[m]});class Ke{constructor(){this._replacedElements=[]}replace(r,c){this._replacedElements.push({element:r,newElement:c}),r.style.display="none",c&&r.parentNode.insertBefore(c,r.nextSibling)}restore(){this._replacedElements.forEach(({element:r,newElement:c})=>{r.style.display="",c&&c.remove()}),this._replacedElements=[]}}function ne(m){let r=0;for(const c of m)r++;return r}function ct(m,r){const c=Math.min(m.length,r.length);for(let u=0;u-1},mn.prototype.set=function(m,r){var c=this.__data__,u=he(c,m);return u<0?(++this.size,c.push([m,r])):c[u][1]=r,this};const An=mn,Fo=function(m){if(!Wt(m))return!1;var r=jn(m);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r},ca=oe["__core-js_shared__"];var Ia=function(){var m=/[^.]+$/.exec(ca&&ca.keys&&ca.keys.IE_PROTO||"");return m?"Symbol(src)_1."+m:""}(),Ge=Function.prototype.toString;const In=function(m){if(null!=m){try{return Ge.call(m)}catch{}try{return m+""}catch{}}return""};var He=/^\[object .+?Constructor\]$/,Q=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const Rn=function(m,r){var c=function(m,r){return m?.[r]}(m,r);return function(m){return!(!Wt(m)||function(m){return!!Ia&&Ia in m}(m))&&(Fo(m)?Q:He).test(In(m))}(c)?c:void 0},Gi=Rn(oe,"Map"),Co=Rn(Object,"create");var ls=Object.prototype.hasOwnProperty,Er=Object.prototype.hasOwnProperty;function Br(m){var r=-1,c=null==m?0:m.length;for(this.clear();++r-1&&m%1==0&&m-1&&m%1==0&&m<=9007199254740991};var qo={};qo["[object Float32Array]"]=qo["[object Float64Array]"]=qo["[object Int8Array]"]=qo["[object Int16Array]"]=qo["[object Int32Array]"]=qo["[object Uint8Array]"]=qo["[object Uint8ClampedArray]"]=qo["[object Uint16Array]"]=qo["[object Uint32Array]"]=!0,qo["[object Arguments]"]=qo["[object Array]"]=qo["[object ArrayBuffer]"]=qo["[object Boolean]"]=qo["[object DataView]"]=qo["[object Date]"]=qo["[object Error]"]=qo["[object Function]"]=qo["[object Map]"]=qo["[object Number]"]=qo["[object Object]"]=qo["[object RegExp]"]=qo["[object Set]"]=qo["[object String]"]=qo["[object WeakMap]"]=!1;const cc=function(m){return function(r){return m(r)}};var qu=et&&!et.nodeType&&et,Yl=qu&&ot&&!ot.nodeType&&ot,xc=Yl&&Yl.exports===qu&&kt.process;const wl=function(){try{return Yl&&Yl.require&&Yl.require("util").types||xc&&xc.binding&&xc.binding("util")}catch{}}();var Ds=wl&&wl.isTypedArray;const Jc=Ds?cc(Ds):function(m){return fn(m)&&zl(m.length)&&!!qo[jn(m)]};var bu=Object.prototype.hasOwnProperty;const Dr=function(m,r){var c=Ye(m),u=!c&&Rl(m),_=!c&&!u&&ks(m),x=!c&&!u&&!_&&Jc(m),M=c||u||_||x,E=M?function(m,r){for(var c=-1,u=Array(m);++c{this._setToTarget(r,_,c[_],u)})}}function hn(m){return So(m,Ve)}function Ve(m){return la(m)?m:void 0}function ge(m){if(m){if(m.defaultView)return m instanceof m.defaultView.Document;if(m.ownerDocument&&m.ownerDocument.defaultView)return m instanceof m.ownerDocument.defaultView.Node}return!1}function Au(m){const r=Object.prototype.toString.apply(m);return"[object Window]"==r||"[object global]"==r}const Ks=Xi(Oe());function Xi(m){return m?class extends m{listenTo(r,c,u,_={}){if(ge(r)||Au(r)){const x={capture:!!_.useCapture,passive:!!_.usePassive},M=this._getProxyEmitter(r,x)||new fd(r,x);this.listenTo(M,c,u,_)}else super.listenTo(r,c,u,_)}stopListening(r,c,u){if(ge(r)||Au(r)){const _=this._getAllProxyEmitters(r);for(const x of _)this.stopListening(x,c,u)}else super.stopListening(r,c,u)}_getProxyEmitter(r,c){return function(u,_){const x=u[se];return x&&x[_]?x[_].emitter:null}(this,ts(r,c))}_getAllProxyEmitters(r){return[{capture:!1,passive:!1},{capture:!1,passive:!0},{capture:!0,passive:!1},{capture:!0,passive:!0}].map(c=>this._getProxyEmitter(r,c)).filter(c=>!!c)}}:Ks}["_getProxyEmitter","_getAllProxyEmitters","on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach(m=>{Xi[m]=Ks.prototype[m]});class fd extends(Oe()){constructor(r,c){super(),qe(this,ts(r,c)),this._domNode=r,this._options=c}attach(r){if(this._domListeners&&this._domListeners[r])return;const c=this._createDomListener(r);this._domNode.addEventListener(r,c,this._options),this._domListeners||(this._domListeners={}),this._domListeners[r]=c}detach(r){let c;!this._domListeners[r]||(c=this._events[r])&&c.callbacks.length||this._domListeners[r].removeListener()}_addEventListener(r,c,u){this.attach(r),Oe().prototype._addEventListener.call(this,r,c,u)}_removeEventListener(r,c){Oe().prototype._removeEventListener.call(this,r,c),this.detach(r)}_createDomListener(r){const c=u=>{this.fire(r,u)};return c.removeListener=()=>{this._domNode.removeEventListener(r,c,this._options),delete this._domListeners[r]},c}}function ts(m,r){let c=(u=m)["data-ck-expando"]||(u["data-ck-expando"]=Pt());var u;for(const u of Object.keys(r).sort())r[u]&&(c+="-"+u);return c}let zu;try{zu={window,document}}catch{zu={window:{},document:{}}}const Mt=zu;function me(m){return"[object Text]"==Object.prototype.toString.call(m)}function jt(m){return"[object Range]"==Object.prototype.toString.apply(m)}function Qe(m){const r=m.ownerDocument.defaultView.getComputedStyle(m);return{top:parseInt(r.borderTopWidth,10),right:parseInt(r.borderRightWidth,10),bottom:parseInt(r.borderBottomWidth,10),left:parseInt(r.borderLeftWidth,10)}}function On(m){return m&&m.parentNode?m.offsetParent===Mt.document.body?null:m.offsetParent:null}const Nt=["top","right","bottom","left","width","height"];class ce{constructor(r){const c=jt(r);if(Object.defineProperty(this,"_source",{value:r._source||r,writable:!0,enumerable:!1}),vn(r)||c)if(c){const u=ce.getDomRangeRects(r);Me(this,ce.getBoundingRect(u))}else Me(this,r.getBoundingClientRect());else if(Au(r)){const{innerWidth:u,innerHeight:_}=r;Me(this,{top:0,right:u,bottom:_,left:0,width:u,height:_})}else Me(this,r)}clone(){return new ce(this)}moveTo(r,c){return this.top=c,this.right=r+this.width,this.bottom=c+this.height,this.left=r,this}moveBy(r,c){return this.top+=c,this.right+=r,this.left+=r,this.bottom+=c,this}getIntersection(r){const c={top:Math.max(this.top,r.top),right:Math.min(this.right,r.right),bottom:Math.min(this.bottom,r.bottom),left:Math.max(this.left,r.left),width:0,height:0};if(c.width=c.right-c.left,c.height=c.bottom-c.top,c.width<0||c.height<0)return null;{const u=new ce(c);return u._source=this._source,u}}getIntersectionArea(r){const c=this.getIntersection(r);return c?c.getArea():0}getArea(){return this.width*this.height}getVisible(){const r=this._source;let c=this.clone();if(tn(r))return c;let u,_=r,x=r.parentNode||r.commonAncestorContainer;for(;x&&!tn(x);){const E="visible"===((M=x)instanceof HTMLElement?M.ownerDocument.defaultView.getComputedStyle(M).overflow:"visible");_ instanceof HTMLElement&&"absolute"===Gn(_)&&(u=_);const F=Gn(x);if(E||u&&("relative"===F&&E||"relative"!==F)){_=x,x=x.parentNode;continue}const V=new ce(x),W=c.getIntersection(V);if(!W)return null;W.getArea(){for(const r of m){const c=Qn._getElementCallbacks(r.target);if(c)for(const u of c)u(r)}})}};let yi=Qn;function bo(m){return r=>r+m}function xo(m){let r=0;for(;m.previousSibling;)m=m.previousSibling,r++;return r}function yo(m,r,c){m.insertBefore(c,m.childNodes[r]||null)}function ga(m){return m&&m.nodeType===Node.COMMENT_NODE}function ra(m){return!!(m&&m.getClientRects&&m.getClientRects().length)}yi._observerInstance=null,yi._elementCallbacks=null;var fa=Math.pow;function es({element:m,target:r,positions:c,limiter:u,fitInViewport:_,viewportOffsetConfig:x}){Fo(r)&&(r=r()),Fo(u)&&(u=u());const M=On(m),E=function(Zt){Zt=Object.assign({top:0,bottom:0,left:0,right:0},Zt);const ue=new ce(Mt.window);return ue.top+=Zt.top,ue.height-=Zt.top,ue.bottom-=Zt.bottom,ue.height-=Zt.bottom,ue}(x),F=new ce(m),V=Hs(r,E);let W;if(!V||!E.getIntersection(V))return null;const dt={targetRect:V,elementRect:F,positionedElementAncestor:M,viewportRect:E};if(u||_){if(u){const Zt=Hs(u,E);Zt&&(dt.limiterRect=Zt)}W=function(Zt,ue){const{elementRect:Ae}=ue,Ie=Ae.getArea(),ln=Zt.map(Ri=>new ns(Ri,ue)).filter(Ri=>!!Ri.name);let Dn=0,di=null;for(const Ri of ln){const{limiterIntersectionArea:Go,viewportIntersectionArea:Da}=Ri;if(Go===Ie)return Ri;const ws=fa(Da,2)+fa(Go,2);ws>Dn&&(Dn=ws,di=Ri)}return di}(c,dt)}else W=new ns(c[0],dt);return W}function Hs(m,r){const c=new ce(m).getVisible();return c?c.getIntersection(r):null}class ns{constructor(r,c){const u=r(c.targetRect,c.elementRect,c.viewportRect,c.limiterRect);if(!u)return;const{left:_,top:x,name:M,config:E}=u;this.name=M,this.config=E,this._positioningFunctionCoordinates={left:_,top:x},this._options=c}get left(){return this._absoluteRect.left}get top(){return this._absoluteRect.top}get limiterIntersectionArea(){const r=this._options.limiterRect;return r?r.getIntersectionArea(this._rect):0}get viewportIntersectionArea(){return this._options.viewportRect.getIntersectionArea(this._rect)}get _rect(){return this._cachedRect||(this._cachedRect=this._options.elementRect.clone().moveTo(this._positioningFunctionCoordinates.left,this._positioningFunctionCoordinates.top)),this._cachedRect}get _absoluteRect(){return this._cachedAbsoluteRect||(this._cachedAbsoluteRect=this._rect.toAbsoluteRect()),this._cachedAbsoluteRect}}function is(m){const r=m.parentNode;r&&r.removeChild(m)}function ds({window:m,rect:r,alignToTop:c,forceScroll:u,viewportOffset:_}){const x=r.clone().moveBy(0,_.bottom),M=r.clone().moveBy(0,-_.top),E=new ce(m).excludeScrollbarsAndBorders(),F=c&&u,V=[M,x].every(Ae=>E.contains(Ae));let{scrollX:W,scrollY:dt}=m;const Zt=W,ue=dt;F?dt-=E.top-r.top+_.top:V||(Nc(M,E)?dt-=E.top-r.top+_.top:Xs(x,E)&&(dt+=c?r.top-E.top-_.top:r.bottom-E.bottom+_.bottom)),V||(os(r,E)?W-=E.left-r.left+_.left:Rd(r,E)&&(W+=r.right-E.right+_.right)),W==Zt&&dt===ue||m.scrollTo(W,dt)}function Hr({parent:m,getRect:r,alignToTop:c,forceScroll:u,ancestorOffset:_=0,limiterElement:x}){const M=cr(m),E=c&&u;let F,V,W;const dt=x||M.document.body;for(;m!=dt;)V=r(),F=new ce(m).excludeScrollbarsAndBorders(),W=F.contains(V),E?m.scrollTop-=F.top-V.top+_:W||(Nc(V,F)?m.scrollTop-=F.top-V.top+_:Xs(V,F)&&(m.scrollTop+=c?V.top-F.top-_:V.bottom-F.bottom+_)),W||(os(V,F)?m.scrollLeft-=F.left-V.left+_:Rd(V,F)&&(m.scrollLeft+=V.right-F.right+_)),m=m.parentNode}function Xs(m,r){return m.bottom>r.bottom}function Nc(m,r){return m.topr.right}function cr(m){return jt(m)?m.startContainer.ownerDocument.defaultView:m.ownerDocument.defaultView}function lr(m){if(jt(m)){let r=m.commonAncestorContainer;return me(r)&&(r=r.parentNode),r}return m.parentNode}function As(m,r){const c=cr(m),u=new ce(m);if(c===r)return u;{let _=c;for(;_!=r;){const M=new ce(_.frameElement).excludeScrollbarsAndBorders();u.moveBy(M.left,M.top),_=_.parent}}return u}const b_={ctrl:"\u2303",cmd:"\u2318",alt:"\u2325",shift:"\u21e7"},jp={ctrl:"Ctrl+",alt:"Alt+",shift:"Shift+"},Ka=function(){const m={arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,backspace:8,delete:46,enter:13,space:32,esc:27,tab:9,ctrl:1114112,shift:2228224,alt:4456448,cmd:8912896};for(let r=65;r<=90;r++)m[String.fromCharCode(r).toLowerCase()]=r;for(let r=48;r<=57;r++)m[r-48]=r;for(let r=112;r<=123;r++)m["f"+(r-111)]=r;for(const r of"`-=[];',./\\")m[r]=r.charCodeAt(0);return m}(),cu=Object.fromEntries(Object.entries(Ka).map(([m,r])=>[r,m.charAt(0).toUpperCase()+m.slice(1)]));function Tc(m){let r;if("string"==typeof m){if(r=Ka[m.toLowerCase()],!r)throw new nt("keyboard-unknown-key",null,{key:m})}else r=m.keyCode+(m.altKey?Ka.alt:0)+(m.ctrlKey?Ka.ctrl:0)+(m.shiftKey?Ka.shift:0)+(m.metaKey?Ka.cmd:0);return r}function tc(m){return"string"==typeof m&&(m=m.split("+").map(c=>c.trim())),m.map(r=>"string"==typeof r?function(c){if(c.endsWith("!"))return Tc(c.slice(0,-1));const u=Tc(c);return(D_isMac||D_isiOS)&&u==Ka.ctrl?Ka.cmd:u}(r):r).reduce((r,c)=>c+r,0)}function yu(m){let r=tc(m);return Object.entries(D_isMac||D_isiOS?b_:jp).reduce((c,[u,_])=>(0!=(r&Ka[u])&&(r&=~Ka[u],c+=_),c),"")+(r?cu[r]:"")}function b1(m,r){const c="ltr"===r;switch(m){case Ka.arrowleft:return c?"left":"right";case Ka.arrowright:return c?"right":"left";case Ka.arrowup:return"up";case Ka.arrowdown:return"down"}}function Ss(m){return Array.isArray(m)?m:[m]}Mt.window.CKEDITOR_TRANSLATIONS||(Mt.window.CKEDITOR_TRANSLATIONS={});const jl=["ar","ara","fa","per","fas","he","heb","ku","kur","ug","uig"];function Yu(m){return jl.includes(m)?"rtl":"ltr"}class Tu{constructor({uiLanguage:r="en",contentLanguage:c}={}){this.uiLanguage=r,this.contentLanguage=c||this.uiLanguage,this.uiLanguageDirection=Yu(this.uiLanguage),this.contentLanguageDirection=Yu(this.contentLanguage),this.t=(u,_)=>this._t(u,_)}get language(){return console.warn("locale-deprecated-language-property: The Locale#language property has been deprecated and will be removed in the near future. Please use #uiLanguage and #contentLanguage properties instead."),this.uiLanguage}_t(r,c=[]){return c=Ss(c),"string"==typeof r&&(r={string:r}),_=function Hd(m,r,c=1){if("number"!=typeof c)throw new nt("translation-service-quantity-not-a-number",null,{quantity:c});const u=Object.keys(Mt.window.CKEDITOR_TRANSLATIONS).length;1===u&&(m=Object.keys(Mt.window.CKEDITOR_TRANSLATIONS)[0]);const _=r.id||r.string;if(0===u||(!Mt.window.CKEDITOR_TRANSLATIONS[F=m]||!Mt.window.CKEDITOR_TRANSLATIONS[F].dictionary[_]))return 1!==c?r.plural:r.string;var F;const M=Mt.window.CKEDITOR_TRANSLATIONS[m].getPluralForm||(F=>1===F?0:1),E=Mt.window.CKEDITOR_TRANSLATIONS[m].dictionary[_];return"string"==typeof E?E:E[Number(M(c))]}(this.uiLanguage,r,r.plural?c[0]:1),x=c,_.replace(/%(\d+)/g,(M,E)=>Ethis._items.length||c<0)throw new nt("collection-add-item-invalid-index",this);let u=0;for(const _ of r){const x=this._getItemIdBeforeAdding(_),M=c+u;this._items.splice(M,0,_),this._itemMap.set(x,_),this.fire("add",_,M),u++}return this.fire("change",{added:r,removed:[],index:c}),this}get(r){let c;if("string"==typeof r)c=this._itemMap.get(r);else{if("number"!=typeof r)throw new nt("collection-get-invalid-arg",this);c=this._items[r]}return c||null}has(r){if("string"==typeof r)return this._itemMap.has(r);{const c=r[this._idProperty];return c&&this._itemMap.has(c)}}getIndex(r){let c;return c="string"==typeof r?this._itemMap.get(r):r,c?this._items.indexOf(c):-1}remove(r){const[c,u]=this._remove(r);return this.fire("change",{added:[],removed:[c],index:u}),c}map(r,c){return this._items.map(r,c)}find(r,c){return this._items.find(r,c)}filter(r,c){return this._items.filter(r,c)}clear(){this._bindToCollection&&(this.stopListening(this._bindToCollection),this._bindToCollection=null);const r=Array.from(this._items);for(;this.length;)this._remove(0);this.fire("change",{added:[],removed:r,index:0})}bindTo(r){if(this._bindToCollection)throw new nt("collection-bind-to-rebind",this);return this._bindToCollection=r,{as:c=>{this._setUpBindToBinding(u=>new c(u))},using:c=>{this._setUpBindToBinding("function"==typeof c?c:u=>u[c])}}}_setUpBindToBinding(r){const c=this._bindToCollection,u=(_,x,M)=>{const E=c._bindToCollection==this,F=c._bindToInternalToExternalMap.get(x);if(E&&F)this._bindToExternalToInternalMap.set(x,F),this._bindToInternalToExternalMap.set(F,x);else{const V=r(x);if(!V)return void this._skippedIndexesFromExternal.push(M);let W=M;for(const dt of this._skippedIndexesFromExternal)M>dt&&W--;for(const dt of c._skippedIndexesFromExternal)W>=dt&&W++;this._bindToExternalToInternalMap.set(x,V),this._bindToInternalToExternalMap.set(V,x),this.add(V,W);for(let dt=0;dt{const E=this._bindToExternalToInternalMap.get(x);E&&this.remove(E),this._skippedIndexesFromExternal=this._skippedIndexesFromExternal.reduce((F,V)=>(MV&&F.push(V),F),[])})}_getItemIdBeforeAdding(r){const c=this._idProperty;let u;if(c in r){if(u=r[c],"string"!=typeof u)throw new nt("collection-add-invalid-id",this);if(this.get(u))throw new nt("collection-add-item-already-exists",this)}else r[c]=u=Pt();return u}_remove(r){let c,u,_,x=!1;const M=this._idProperty;if("string"==typeof r?(u=r,_=this._itemMap.get(u),x=!_,_&&(c=this._items.indexOf(_))):"number"==typeof r?(c=r,_=this._items[c],x=!_,_&&(u=_[M])):(_=r,u=_[M],c=this._items.indexOf(_),x=-1==c||!this._itemMap.get(u)),x)throw new nt("collection-remove-404",this);this._items.splice(c,1),this._itemMap.delete(u);const E=this._bindToInternalToExternalMap.get(_);return this._bindToInternalToExternalMap.delete(_),this._bindToExternalToInternalMap.delete(E),this.fire("remove",_,c),[_,c]}[Symbol.iterator](){return this._items[Symbol.iterator]()}}function as(m){const r=m.next();return r.done?null:r.value}class rs extends(Xi(Ue())){constructor(){super(),this._elements=new Set,this._nextEventLoopTimeout=null,this.set("isFocused",!1),this.set("focusedElement",null)}add(r){if(this._elements.has(r))throw new nt("focustracker-add-element-already-exist",this);this.listenTo(r,"focus",()=>this._focus(r),{useCapture:!0}),this.listenTo(r,"blur",()=>this._blur(),{useCapture:!0}),this._elements.add(r)}remove(r){r===this.focusedElement&&this._blur(),this._elements.has(r)&&(this.stopListening(r),this._elements.delete(r))}destroy(){this.stopListening()}_focus(r){clearTimeout(this._nextEventLoopTimeout),this.focusedElement=r,this.isFocused=!0}_blur(){clearTimeout(this._nextEventLoopTimeout),this._nextEventLoopTimeout=setTimeout(()=>{this.focusedElement=null,this.isFocused=!1},0)}}class $c{constructor(){this._listener=new(Xi())}listenTo(r){this._listener.listenTo(r,"keydown",(c,u)=>{this._listener.fire("_keydown:"+Tc(u),u)})}set(r,c,u={}){const _=tc(r);this._listener.listenTo(this._listener,"_keydown:"+_,(M,E)=>{c(E,()=>{E.preventDefault(),E.stopPropagation(),M.stop()}),M.return=!0},{priority:u.priority})}press(r){return!!this._listener.fire("_keydown:"+Tc(r),r)}stopListening(r){this._listener.stopListening(r)}destroy(){this.stopListening()}}function Kc(m){return it(m)?new Map(m):function(r){const c=new Map;for(const u in r)c.set(u,r[u]);return c}(m)}function wr(m,r){let c;function u(..._){u.cancel(),c=setTimeout(()=>m(..._),r)}return u.cancel=()=>{clearTimeout(c)},u}function cn(m,r){return!!(c=m.charAt(r-1))&&1==c.length&&/[\ud800-\udbff]/.test(c)&&!!(u=m.charAt(r))&&1==u.length&&/[\udc00-\udfff]/.test(u);var u,c}function hd(m,r){return!!(c=m.charAt(r))&&1==c.length&&/[\u0300-\u036f\u1ab0-\u1aff\u1dc0-\u1dff\u20d0-\u20ff\ufe20-\ufe2f]/.test(c);var c}const v1=function(){const m=[new RegExp("\\p{Emoji}[\\u{E0020}-\\u{E007E}]+\\u{E007F}","u"),new RegExp("\\p{Emoji}\\u{FE0F}?\\u{20E3}","u"),new RegExp("\\p{Emoji}\\u{FE0F}","u"),new RegExp("(?=\\p{General_Category=Other_Symbol})\\p{Emoji}\\p{Emoji_Modifier}*","u")],r=new RegExp("\\p{Regional_Indicator}{2}","u").source,c="(?:"+m.map(u=>u.source).join("|")+")";return new RegExp(`${r}|${c}(?:\u200d${c})*`,"ug")}();function kl(m,r){const c=String(m).matchAll(v1);return Array.from(c).some(u=>u.index{this._renderViewIntoCollectionParent(u,_)}),this.on("remove",(c,u)=>{u.element&&this._parentElement&&u.element.remove()}),this._parentElement=null}destroy(){this.map(r=>r.destroy())}setParent(r){this._parentElement=r;for(const c of this)this._renderViewIntoCollectionParent(c)}delegate(...r){if(!r.length||!r.every(c=>"string"==typeof c))throw new nt("ui-viewcollection-delegate-wrong-events",this);return{to:c=>{for(const u of this)for(const _ of r)u.delegate(_).to(c);this.on("add",(u,_)=>{for(const x of r)_.delegate(x).to(c)}),this.on("remove",(u,_)=>{for(const x of r)_.stopDelegating(x,c)})}}}_renderViewIntoCollectionParent(r,c){r.isRendered||r.render(),r.element&&this._parentElement&&this._parentElement.insertBefore(r.element,this._parentElement.children[c])}remove(r){return super.remove(r)}}var E1=v(6062),No=v.n(E1),gd=v(4793);No()(gd.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class oa extends(Xi(Ue())){constructor(r){super(),this.element=null,this.isRendered=!1,this.locale=r,this.t=r&&r.t,this._viewCollections=new ec,this._unboundChildren=this.createCollection(),this._viewCollections.on("add",(c,u)=>{u.locale=r,u.t=r&&r.t}),this.decorate("render")}get bindTemplate(){return this._bindTemplate?this._bindTemplate:this._bindTemplate=Ur.bind(this,this)}createCollection(r){const c=new Na(r);return this._viewCollections.add(c),c}registerChild(r){it(r)||(r=[r]);for(const c of r)this._unboundChildren.add(c)}deregisterChild(r){it(r)||(r=[r]);for(const c of r)this._unboundChildren.remove(c)}setTemplate(r){this.template=new Ur(r)}extendTemplate(r){Ur.extend(this.template,r)}render(){if(this.isRendered)throw new nt("ui-view-render-already-rendered",this);this.template&&(this.element=this.template.render(),this.registerChild(this.template.getViews())),this.isRendered=!0}destroy(){this.stopListening(),this._viewCollections.map(r=>r.destroy()),this.template&&this.template._revertData&&this.template.revert(this.element)}}class Ur extends(Oe()){constructor(r){super(),Object.assign(this,Oa(zd(r))),this._isRendered=!1,this._revertData=null}render(){const r=this._renderNode({intoFragment:!0});return this._isRendered=!0,r}apply(r){return this._revertData={children:[],bindings:[],attributes:{}},this._renderNode({node:r,intoFragment:!1,isApplying:!0,revertData:this._revertData}),r}revert(r){if(!this._revertData)throw new nt("ui-template-revert-not-applied",[this,r]);this._revertTemplateFromNode(r,this._revertData)}*getViews(){yield*function*r(c){if(c.children)for(const u of c.children)ie(u)?yield u:De(u)&&(yield*r(u))}(this)}static bind(r,c){return{to:(u,_)=>new To({eventNameOrFunction:u,attribute:u,observable:r,emitter:c,callback:_}),if:(u,_,x)=>new v_({observable:r,emitter:c,attribute:u,valueIfTrue:_,callback:x})}}static extend(r,c){if(r._isRendered)throw new nt("template-extend-render",[this,r]);pt(r,Oa(zd(c)))}_renderNode(r){let c;if(c=r.node?this.tag&&this.text:this.tag?this.text:!this.text,c)throw new nt("ui-template-wrong-syntax",this);return this.text?this._renderText(r):this._renderElement(r)}_renderElement(r){let c=r.node;return c||(c=r.node=document.createElementNS(this.ns||"http://www.w3.org/1999/xhtml",this.tag)),this._renderAttributes(r),this._renderElementChildren(r),this._setUpListeners(r),c}_renderText(r){let c=r.node;return c?r.revertData.text=c.textContent:c=r.node=document.createTextNode(""),B(this.text)?this._bindToObservable({schema:this.text,updater:bd(c),data:r}):c.textContent=this.text.join(""),c}_renderAttributes(r){if(!this.attributes)return;const c=r.node,u=r.revertData;for(const _ in this.attributes){const x=c.getAttribute(_),M=this.attributes[_];u&&(u.attributes[_]=x);const E=Nn(M)?M[0].ns:null;if(B(M)){const F=Nn(M)?M[0].value:M;u&&Ii(_)&&F.unshift(x),this._bindToObservable({schema:F,updater:x_(c,_,E),data:r})}else if("style"==_&&"string"!=typeof M[0])this._renderStyleAttribute(M[0],r);else{u&&x&&Ii(_)&&M.unshift(x);const F=M.map(V=>V&&V.value||V).reduce((V,W)=>V.concat(W),[]).reduce(vt,"");Yt(F)||c.setAttributeNS(E,_,F)}}}_renderStyleAttribute(r,c){const u=c.node;for(const _ in r){const x=r[_];B(x)?this._bindToObservable({schema:[x],updater:pp(u,_),data:c}):u.style[_]=x}}_renderElementChildren(r){const c=r.node,u=r.intoFragment?document.createDocumentFragment():c,_=r.isApplying;let x=0;for(const M of this.children)if(Un(M)){if(!_){M.setParent(c);for(const E of M)u.appendChild(E.element)}}else if(ie(M))_||(M.isRendered||M.render(),u.appendChild(M.element));else if(ge(M))u.appendChild(M);else if(_){const E={children:[],bindings:[],attributes:{}};r.revertData.children.push(E),M._renderNode({intoFragment:!1,node:u.childNodes[x++],isApplying:!0,revertData:E})}else u.appendChild(M.render());r.intoFragment&&c.appendChild(u)}_setUpListeners(r){if(this.eventListeners)for(const c in this.eventListeners){const u=this.eventListeners[c].map(_=>{const[x,M]=c.split("@");return _.activateDomEventListener(x,M,r)});r.revertData&&r.revertData.bindings.push(u)}}_bindToObservable({schema:r,updater:c,data:u}){const _=u.revertData;Jo(r,c,u);const x=r.filter(M=>!Yt(M)).filter(M=>M.observable).map(M=>M.activateAttributeListener(r,c,u));_&&_.bindings.push(x)}_revertTemplateFromNode(r,c){for(const _ of c.bindings)for(const x of _)x();if(c.text)return void(r.textContent=c.text);const u=r;for(const _ in c.attributes){const x=c.attributes[_];null===x?u.removeAttribute(_):u.setAttribute(_,x)}for(let _=0;_Jo(r,c,u);return this.emitter.listenTo(this.observable,`change:${this.attribute}`,_),()=>{this.emitter.stopListening(this.observable,`change:${this.attribute}`,_)}}}class To extends Bu{constructor(r){super(r),this.eventNameOrFunction=r.eventNameOrFunction}activateDomEventListener(r,c,u){const _=(x,M)=>{c&&!M.target.matches(c)||("function"==typeof this.eventNameOrFunction?this.eventNameOrFunction(M):this.observable.fire(this.eventNameOrFunction,M))};return this.emitter.listenTo(u.node,r,_),()=>{this.emitter.stopListening(u.node,r,_)}}}class v_ extends Bu{constructor(r){super(r),this.valueIfTrue=r.valueIfTrue}getValue(r){return!Yt(super.getValue(r))&&(this.valueIfTrue||!0)}}function B(m){return!!m&&(m.value&&(m=m.value),Array.isArray(m)?m.some(B):m instanceof Bu)}function Jo(m,r,{node:c}){const u=(M=c,m.map(E=>E instanceof Bu?E.getValue(M):E));var M;let _;_=1==m.length&&m[0]instanceof v_?u[0]:u.reduce(vt,""),Yt(_)?r.remove():r.set(_)}function bd(m){return{set(r){m.textContent=r},remove(){m.textContent=""}}}function x_(m,r,c){return{set(u){m.setAttributeNS(c,r,u)},remove(){m.removeAttributeNS(c,r)}}}function pp(m,r){return{set(c){m.style[r]=c},remove(){m.style[r]=null}}}function zd(m){return So(m,r=>{if(r&&(r instanceof Bu||De(r)||ie(r)||Un(r)))return r})}function Oa(m){if("string"==typeof m?m={text:[m]}:m.text&&((r=m).text=Ss(r.text)),m.on&&(m.eventListeners=function(r){for(const c in r)Jp(r,c);return r}(m.on),delete m.on),!m.text){m.attributes&&function(c){for(const u in c)c[u].value&&(c[u].value=Ss(c[u].value)),Jp(c,u)}(m.attributes);const r=[];if(m.children)if(Un(m.children))r.push(m.children);else for(const c of m.children)De(c)||ie(c)||ge(c)?r.push(c):r.push(new Ur(c));m.children=r}var r;return m}function Jp(m,r){m[r]=Ss(m[r])}function vt(m,r){return Yt(r)?m:Yt(m)?r:`${m} ${r}`}function yt(m,r){for(const c in r)m[c]?m[c].push(...r[c]):m[c]=r[c]}function pt(m,r){if(r.attributes&&(m.attributes||(m.attributes={}),yt(m.attributes,r.attributes)),r.eventListeners&&(m.eventListeners||(m.eventListeners={}),yt(m.eventListeners,r.eventListeners)),r.text&&m.text.push(...r.text),r.children&&r.children.length){if(m.children.length!=r.children.length)throw new nt("ui-template-extend-children-mismatch",m);let c=0;for(const u of r.children)pt(m.children[c++],u)}}function Yt(m){return!m&&0!==m}function ie(m){return m instanceof oa}function De(m){return m instanceof Ur}function Un(m){return m instanceof Na}function Nn(m){return Wt(m[0])&&m[0].ns}function Ii(m){return"class"==m||"style"==m}class Qi extends Na{constructor(r,c=[]){super(c),this.locale=r}get bodyCollectionContainer(){return this._bodyCollectionContainer}attachToDom(){this._bodyCollectionContainer=new Ur({tag:"div",attributes:{class:["ck","ck-reset_all","ck-body","ck-rounded-corners"],dir:this.locale.uiLanguageDirection},children:this}).render();let r=document.querySelector(".ck-body-wrapper");r||(r=We(document,"div",{class:"ck-body-wrapper"}),document.body.appendChild(r)),r.appendChild(this._bodyCollectionContainer)}detachFromDom(){super.destroy(),this._bodyCollectionContainer&&this._bodyCollectionContainer.remove();const r=document.querySelector(".ck-body-wrapper");r&&0==r.childElementCount&&r.remove()}}var Fa=v(6574);No()(Fa.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const xr=class extends oa{constructor(){super();const m=this.bindTemplate;this.set("content",""),this.set("viewBox","0 0 20 20"),this.set("fillColor",""),this.set("isColorInherited",!0),this.set("isVisible",!0),this.setTemplate({tag:"svg",ns:"http://www.w3.org/2000/svg",attributes:{class:["ck","ck-icon",m.if("isVisible","ck-hidden",r=>!r),"ck-reset_all-excluded",m.if("isColorInherited","ck-icon_inherit-color")],viewBox:m.to("viewBox")}})}render(){super.render(),this._updateXMLContent(),this._colorFillPaths(),this.on("change:content",()=>{this._updateXMLContent(),this._colorFillPaths()}),this.on("change:fillColor",()=>{this._colorFillPaths()})}_updateXMLContent(){if(this.content){const m=(new DOMParser).parseFromString(this.content.trim(),"image/svg+xml").querySelector("svg"),r=m.getAttribute("viewBox");r&&(this.viewBox=r);for(const{name:c,value:u}of Array.from(m.attributes))xr.presentationalAttributeNames.includes(c)&&this.element.setAttribute(c,u);for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);for(;m.childNodes.length>0;)this.element.appendChild(m.childNodes[0])}}_colorFillPaths(){this.fillColor&&this.element.querySelectorAll(".ck-icon__fill").forEach(m=>{m.style.fill=this.fillColor})}};let zs=xr;zs.presentationalAttributeNames=["alignment-baseline","baseline-shift","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-rendering","cursor","direction","display","dominant-baseline","fill","fill-opacity","fill-rule","filter","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","mask","opacity","overflow","paint-order","pointer-events","shape-rendering","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-overflow","text-rendering","transform","unicode-bidi","vector-effect","visibility","white-space","word-spacing","writing-mode"];class Vu extends oa{constructor(){super(),this.set({style:void 0,text:void 0,id:void 0});const r=this.bindTemplate;this.setTemplate({tag:"span",attributes:{class:["ck","ck-button__label"],style:r.to("style"),id:r.to("id")},children:[{text:r.to("text")}]})}}var va=v(4906);No()(va.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class $o extends oa{constructor(r,c=new Vu){super(r),this._focusDelayed=null;const u=this.bindTemplate,_=Pt();this.set("ariaChecked",void 0),this.set("ariaLabel",void 0),this.set("ariaLabelledBy",`ck-editor__aria-label_${_}`),this.set("class",void 0),this.set("labelStyle",void 0),this.set("icon",void 0),this.set("isEnabled",!0),this.set("isOn",!1),this.set("isVisible",!0),this.set("isToggleable",!1),this.set("keystroke",void 0),this.set("label",void 0),this.set("role",void 0),this.set("tabindex",-1),this.set("tooltip",!1),this.set("tooltipPosition","s"),this.set("type","button"),this.set("withText",!1),this.set("withKeystroke",!1),this.children=this.createCollection(),this.labelView=this._setupLabelView(c),this.iconView=new zs,this.iconView.extendTemplate({attributes:{class:"ck-button__icon"}}),this.keystrokeView=this._createKeystrokeView(),this.bind("_tooltipString").to(this,"tooltip",this,"label",this,"keystroke",this._getTooltipString.bind(this));const x={tag:"button",attributes:{class:["ck","ck-button",u.to("class"),u.if("isEnabled","ck-disabled",M=>!M),u.if("isVisible","ck-hidden",M=>!M),u.to("isOn",M=>M?"ck-on":"ck-off"),u.if("withText","ck-button_with-text"),u.if("withKeystroke","ck-button_with-keystroke")],role:u.to("role"),type:u.to("type",M=>M||"button"),tabindex:u.to("tabindex"),"aria-label":u.to("ariaLabel"),"aria-labelledby":u.to("ariaLabelledBy"),"aria-disabled":u.if("isEnabled",!0,M=>!M),"aria-checked":u.to("isOn"),"aria-pressed":u.to("isOn",M=>!!this.isToggleable&&String(!!M)),"data-cke-tooltip-text":u.to("_tooltipString"),"data-cke-tooltip-position":u.to("tooltipPosition")},children:this.children,on:{click:u.to(M=>{this.isEnabled?this.fire("execute"):M.preventDefault()})}};D_isSafari&&(this._focusDelayed||(this._focusDelayed=wr(()=>this.focus(),0)),x.on.mousedown=u.to(()=>{this._focusDelayed()}),x.on.mouseup=u.to(()=>{this._focusDelayed.cancel()})),this.setTemplate(x)}render(){super.render(),this.icon&&(this.iconView.bind("content").to(this,"icon"),this.children.add(this.iconView)),this.children.add(this.labelView),this.withKeystroke&&this.keystroke&&this.children.add(this.keystrokeView)}focus(){this.element.focus()}destroy(){this._focusDelayed&&this._focusDelayed.cancel(),super.destroy()}_setupLabelView(r){return r.bind("text","style","id").to(this,"label","labelStyle","ariaLabelledBy"),r}_createKeystrokeView(){const r=new oa;return r.setTemplate({tag:"span",attributes:{class:["ck","ck-button__keystroke"]},children:[{text:this.bindTemplate.to("keystroke",c=>yu(c))}]}),r}_getTooltipString(r,c,u){return r?"string"==typeof r?r:(u&&(u=yu(u)),r instanceof Function?r(c,u):`${c}${u?` (${u})`:""}`):""}}var Zn=v(5332);No()(Zn.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class ys extends $o{constructor(r){super(r),this.isToggleable=!0,this.toggleSwitchView=this._createToggleView(),this.extendTemplate({attributes:{class:"ck-switchbutton"}})}render(){super.render(),this.children.add(this.toggleSwitchView)}_createToggleView(){const r=new oa;return r.setTemplate({tag:"span",attributes:{class:["ck","ck-button__toggle"]},children:[{tag:"span",attributes:{class:["ck","ck-button__toggle__inner"]}}]}),r}}var ha=v(6781);No()(ha.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0}),v(1103),v(841);var vd=v(3662);No()(vd.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class wu extends oa{constructor(r){super(r),this.set("text",void 0),this.set("for",void 0),this.id=`ck-editor__label_${Pt()}`;const c=this.bindTemplate;this.setTemplate({tag:"label",attributes:{class:["ck","ck-label"],id:this.id,for:c.to("for")},children:[{text:c.to("text")}]})}}var wc=v(2577);No()(wc.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class Sr extends oa{constructor(r,c){super(r);const u=`ck-labeled-field-view-${Pt()}`,_=`ck-labeled-field-view-status-${Pt()}`;this.fieldView=c(this,u,_),this.set("label",void 0),this.set("isEnabled",!0),this.set("isEmpty",!0),this.set("isFocused",!1),this.set("errorText",null),this.set("infoText",null),this.set("class",void 0),this.set("placeholder",void 0),this.labelView=this._createLabelView(u),this.statusView=this._createStatusView(_),this.fieldWrapperChildren=this.createCollection([this.fieldView,this.labelView]),this.bind("_statusText").to(this,"errorText",this,"infoText",(M,E)=>M||E);const x=this.bindTemplate;this.setTemplate({tag:"div",attributes:{class:["ck","ck-labeled-field-view",x.to("class"),x.if("isEnabled","ck-disabled",M=>!M),x.if("isEmpty","ck-labeled-field-view_empty"),x.if("isFocused","ck-labeled-field-view_focused"),x.if("placeholder","ck-labeled-field-view_placeholder"),x.if("errorText","ck-error")]},children:[{tag:"div",attributes:{class:["ck","ck-labeled-field-view__input-wrapper"]},children:this.fieldWrapperChildren},this.statusView]})}_createLabelView(r){const c=new wu(this.locale);return c.for=r,c.bind("text").to(this,"label"),c}_createStatusView(r){const c=new oa(this.locale),u=this.bindTemplate;return c.setTemplate({tag:"div",attributes:{class:["ck","ck-labeled-field-view__status",u.if("errorText","ck-labeled-field-view__status_error"),u.if("_statusText","ck-hidden",_=>!_)],id:r,role:u.if("errorText","alert")},children:[{text:u.to("_statusText")}]}),c}focus(r){this.fieldView.focus(r)}}class A_ extends oa{constructor(r){super(r),this.set("value",void 0),this.set("id",void 0),this.set("placeholder",void 0),this.set("isReadOnly",!1),this.set("hasError",!1),this.set("ariaDescribedById",void 0),this.focusTracker=new rs,this.bind("isFocused").to(this.focusTracker),this.set("isEmpty",!0);const c=this.bindTemplate;this.setTemplate({tag:"input",attributes:{class:["ck","ck-input",c.if("isFocused","ck-input_focused"),c.if("isEmpty","ck-input-text_empty"),c.if("hasError","ck-error")],id:c.to("id"),placeholder:c.to("placeholder"),readonly:c.to("isReadOnly"),"aria-invalid":c.if("hasError",!0),"aria-describedby":c.to("ariaDescribedById")},on:{input:c.to((...u)=>{this.fire("input",...u),this._updateIsEmpty()}),change:c.to(this._updateIsEmpty.bind(this))}})}render(){super.render(),this.focusTracker.add(this.element),this._setDomElementValue(this.value),this._updateIsEmpty(),this.on("change:value",(r,c,u)=>{this._setDomElementValue(u),this._updateIsEmpty()})}destroy(){super.destroy(),this.focusTracker.destroy()}select(){this.element.select()}focus(){this.element.focus()}reset(){this.value=this.element.value="",this._updateIsEmpty()}_updateIsEmpty(){this.isEmpty=!this.element.value}_setDomElementValue(r){this.element.value=r||0===r?r:""}}var mp=v(4879);No()(mp.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class Gp extends A_{constructor(r){super(r),this.set("inputMode","text"),this.extendTemplate({attributes:{inputmode:this.bindTemplate.to("inputMode")}})}}class vg extends Gp{constructor(r){super(r),this.extendTemplate({attributes:{type:"text",class:["ck-input-text"]}})}}var I1=v(8182);No()(I1.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class y_ extends oa{constructor(r){super(r);const c=this.bindTemplate;this.set("isVisible",!1),this.set("position","se"),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-reset","ck-dropdown__panel",c.to("position",u=>`ck-dropdown__panel_${u}`),c.if("isVisible","ck-dropdown__panel-visible")],tabindex:"-1"},children:this.children,on:{selectstart:c.to(u=>{"input"!==u.target.tagName.toLocaleLowerCase()&&u.preventDefault()})}})}focus(){if(this.children.length){const r=this.children.first;"function"==typeof r.focus?r.focus():Tt("ui-dropdown-panel-focus-child-missing-focus",{childView:this.children.first,dropdownPanel:this})}}focusLast(){if(this.children.length){const r=this.children.last;"function"==typeof r.focusLast?r.focusLast():r.focus()}}}var nc=v(5485);No()(nc.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const N1=class extends oa{constructor(m,r,c){super(m);const u=this.bindTemplate;this.buttonView=r,this.panelView=c,this.set("isOpen",!1),this.set("isEnabled",!0),this.set("class",void 0),this.set("id",void 0),this.set("panelPosition","auto"),this.keystrokes=new $c,this.focusTracker=new rs,this.setTemplate({tag:"div",attributes:{class:["ck","ck-dropdown",u.to("class"),u.if("isEnabled","ck-disabled",_=>!_)],id:u.to("id"),"aria-describedby":u.to("ariaDescribedById")},children:[r,c]}),r.extendTemplate({attributes:{class:["ck-dropdown__button"],"data-cke-tooltip-disabled":u.to("isOpen")}})}render(){super.render(),this.focusTracker.add(this.buttonView.element),this.focusTracker.add(this.panelView.element),this.listenTo(this.buttonView,"open",()=>{this.isOpen=!this.isOpen}),this.panelView.bind("isVisible").to(this,"isOpen"),this.on("change:isOpen",(r,c,u)=>{if(u)if("auto"===this.panelPosition){const _=N1._getOptimalPosition({element:this.panelView.element,target:this.buttonView.element,fitInViewport:!0,positions:this._panelPositions});this.panelView.position=_?_.name:this._panelPositions[0].name}else this.panelView.position=this.panelPosition}),this.keystrokes.listenTo(this.element);const m=(r,c)=>{this.isOpen&&(this.isOpen=!1,c())};this.keystrokes.set("arrowdown",(r,c)=>{this.buttonView.isEnabled&&!this.isOpen&&(this.isOpen=!0,c())}),this.keystrokes.set("arrowright",(r,c)=>{this.isOpen&&c()}),this.keystrokes.set("arrowleft",m),this.keystrokes.set("esc",m)}focus(){this.buttonView.focus()}get _panelPositions(){const{south:m,north:r,southEast:c,southWest:u,northEast:_,northWest:x,southMiddleEast:M,southMiddleWest:E,northMiddleEast:F,northMiddleWest:V}=N1.defaultPanelPositions;return"rtl"!==this.locale.uiLanguageDirection?[c,u,M,E,m,_,x,F,V,r]:[u,c,E,M,m,x,_,V,F,r]}};let Uu=N1;Uu.defaultPanelPositions={south:(m,r)=>({top:m.bottom,left:m.left-(r.width-m.width)/2,name:"s"}),southEast:m=>({top:m.bottom,left:m.left,name:"se"}),southWest:(m,r)=>({top:m.bottom,left:m.left-r.width+m.width,name:"sw"}),southMiddleEast:(m,r)=>({top:m.bottom,left:m.left-(r.width-m.width)/4,name:"sme"}),southMiddleWest:(m,r)=>({top:m.bottom,left:m.left-3*(r.width-m.width)/4,name:"smw"}),north:(m,r)=>({top:m.top-r.height,left:m.left-(r.width-m.width)/2,name:"n"}),northEast:(m,r)=>({top:m.top-r.height,left:m.left,name:"ne"}),northWest:(m,r)=>({top:m.top-r.height,left:m.left-r.width+m.width,name:"nw"}),northMiddleEast:(m,r)=>({top:m.top-r.height,left:m.left-(r.width-m.width)/4,name:"nme"}),northMiddleWest:(m,r)=>({top:m.top-r.height,left:m.left-3*(r.width-m.width)/4,name:"nmw"})},Uu._getOptimalPosition=es;const xd='';class x1 extends $o{constructor(r){super(r),this.arrowView=this._createArrowView(),this.extendTemplate({attributes:{"aria-haspopup":!0,"aria-expanded":this.bindTemplate.to("isOn",c=>String(c))}}),this.delegate("execute").to(this,"open")}render(){super.render(),this.children.add(this.arrowView)}_createArrowView(){const r=new zs;return r.content=xd,r.extendTemplate({attributes:{class:"ck-dropdown__arrow"}}),r}}class ul extends(Oe()){constructor(r){if(super(),this.focusables=r.focusables,this.focusTracker=r.focusTracker,this.keystrokeHandler=r.keystrokeHandler,this.actions=r.actions,r.actions&&r.keystrokeHandler)for(const c in r.actions){let u=r.actions[c];"string"==typeof u&&(u=[u]);for(const _ of u)r.keystrokeHandler.set(_,(x,M)=>{this[c](),M()})}this.on("forwardCycle",()=>this.focusFirst(),{priority:"low"}),this.on("backwardCycle",()=>this.focusLast(),{priority:"low"})}get first(){return this.focusables.find(Im)||null}get last(){return this.focusables.filter(Im).slice(-1)[0]||null}get next(){return this._getFocusableItem(1)}get previous(){return this._getFocusableItem(-1)}get current(){let r=null;return null===this.focusTracker.focusedElement?null:(this.focusables.find((c,u)=>{const _=c.element===this.focusTracker.focusedElement;return _&&(r=u),_}),r)}focusFirst(){this._focus(this.first,1)}focusLast(){this._focus(this.last,-1)}focusNext(){const r=this.next;r&&this.focusables.getIndex(r)===this.current||(r===this.first?this.fire("forwardCycle"):this._focus(r,1))}focusPrevious(){const r=this.previous;r&&this.focusables.getIndex(r)===this.current||(r===this.last?this.fire("backwardCycle"):this._focus(r,-1))}_focus(r,c){r&&r.focus(c)}_getFocusableItem(r){const c=this.current,u=this.focusables.length;if(!u)return null;if(null===c)return this[1===r?"first":"last"];let _=(c+u+r)%u;do{const x=this.focusables.get(_);if(Im(x))return x;_=(_+u+r)%u}while(_!==c);return null}}function Im(m){return!(!("focus"in m)||!ra(m.element))}class dl extends oa{constructor(r){super(r),this.setTemplate({tag:"span",attributes:{class:["ck","ck-toolbar__separator"]}})}}class Z2 extends oa{constructor(r){super(r),this.setTemplate({tag:"span",attributes:{class:["ck","ck-toolbar__line-break"]}})}}function _p(m){return Array.isArray(m)?{items:m,removeItems:[]}:m?Object.assign({items:[],removeItems:[]},m):{items:[],removeItems:[]}}class lo extends(Ue()){constructor(r){super(),this._disableStack=new Set,this.editor=r,this.set("isEnabled",!0)}forceDisabled(r){this._disableStack.add(r),1==this._disableStack.size&&(this.on("set:isEnabled",fp,{priority:"highest"}),this.isEnabled=!1)}clearForceDisabled(r){this._disableStack.delete(r),0==this._disableStack.size&&(this.off("set:isEnabled",fp),this.isEnabled=!0)}destroy(){this.stopListening()}static get isContextPlugin(){return!1}}function fp(m){m.return=!1,m.stop()}class Za extends(Ue()){constructor(r){super(),this.editor=r,this.set("value",void 0),this.set("isEnabled",!1),this._affectsData=!0,this._isEnabledBasedOnSelection=!0,this._disableStack=new Set,this.decorate("execute"),this.listenTo(this.editor.model.document,"change",()=>{this.refresh()}),this.listenTo(r,"change:isReadOnly",()=>{this.refresh()}),this.on("set:isEnabled",c=>{if(!this.affectsData)return;const u=r.model.document.selection,_="$graveyard"!=u.getFirstPosition().root.rootName&&r.model.canEditAt(u);(r.isReadOnly||this._isEnabledBasedOnSelection&&!_)&&(c.return=!1,c.stop())},{priority:"highest"}),this.on("execute",c=>{this.isEnabled||c.stop()},{priority:"high"})}get affectsData(){return this._affectsData}set affectsData(r){this._affectsData=r}refresh(){this.isEnabled=!0}forceDisabled(r){this._disableStack.add(r),1==this._disableStack.size&&(this.on("set:isEnabled",F1,{priority:"highest"}),this.isEnabled=!1)}clearForceDisabled(r){this._disableStack.delete(r),0==this._disableStack.size&&(this.off("set:isEnabled",F1),this.refresh())}execute(...r){}destroy(){this.stopListening()}}function F1(m){m.return=!1,m.stop()}class Qp extends Za{constructor(){super(...arguments),this._childCommandsDefinitions=[]}refresh(){}execute(...r){const c=this._getFirstEnabledCommand();return!!c&&c.execute(r)}registerChildCommand(r,c={}){zt(this._childCommandsDefinitions,{command:r,priority:c.priority||"normal"}),r.on("change:isEnabled",()=>this._checkEnabled()),this._checkEnabled()}_checkEnabled(){this.isEnabled=!!this._getFirstEnabledCommand()}_getFirstEnabledCommand(){const r=this._childCommandsDefinitions.find(({command:c})=>c.isEnabled);return r&&r.command}}class Ef extends(Oe()){constructor(r,c=[],u=[]){super(),this._plugins=new Map,this._context=r,this._availablePlugins=new Map;for(const _ of c)_.pluginName&&this._availablePlugins.set(_.pluginName,_);this._contextPlugins=new Map;for(const[_,x]of u)this._contextPlugins.set(_,x),this._contextPlugins.set(x,_),_.pluginName&&this._availablePlugins.set(_.pluginName,_)}*[Symbol.iterator](){for(const r of this._plugins)"function"==typeof r[0]&&(yield r)}get(r){const c=this._plugins.get(r);if(!c){let u=r;throw"function"==typeof r&&(u=r.pluginName||r.name),new nt("plugincollection-plugin-not-loaded",this._context,{plugin:u})}return c}has(r){return this._plugins.has(r)}init(r,c=[],u=[]){const _=this,x=this._context;(function Ae(Ie,ln=new Set){Ie.forEach(Dn=>{F(Dn)&&(ln.has(Dn)||(ln.add(Dn),Dn.pluginName&&!_._availablePlugins.has(Dn.pluginName)&&_._availablePlugins.set(Dn.pluginName,Dn),Dn.requires&&Ae(Dn.requires,ln)))})})(r),Zt(r);const M=[...function Ae(Ie,ln=new Set){return Ie.map(Dn=>F(Dn)?Dn:_._availablePlugins.get(Dn)).reduce((Dn,di)=>ln.has(di)?Dn:(ln.add(di),di.requires&&(Zt(di.requires,di),Ae(di.requires,ln).forEach(Ri=>Dn.add(Ri))),Dn.add(di)),new Set)}(r.filter(Ae=>!W(Ae,c)))];!function(Ae,Ie){for(const ln of Ie){if("function"!=typeof ln)throw new nt("plugincollection-replace-plugin-invalid-type",null,{pluginItem:ln});const Dn=ln.pluginName;if(!Dn)throw new nt("plugincollection-replace-plugin-missing-name",null,{pluginItem:ln});if(ln.requires&&ln.requires.length)throw new nt("plugincollection-plugin-for-replacing-cannot-have-dependencies",null,{pluginName:Dn});const di=_._availablePlugins.get(Dn);if(!di)throw new nt("plugincollection-plugin-for-replacing-not-exist",null,{pluginName:Dn});const Ri=Ae.indexOf(di);if(-1===Ri){if(_._contextPlugins.has(di))return;throw new nt("plugincollection-plugin-for-replacing-not-loaded",null,{pluginName:Dn})}if(di.requires&&di.requires.length)throw new nt("plugincollection-replaced-plugin-cannot-have-dependencies",null,{pluginName:Dn});Ae.splice(Ri,1,ln),_._availablePlugins.set(Dn,ln)}}(M,u);const E=M.map(Ae=>{let Ie=_._contextPlugins.get(Ae);return Ie=Ie||new Ae(x),_._add(Ae,Ie),Ie});return ue(E,"init").then(()=>ue(E,"afterInit")).then(()=>E);function F(Ae){return"function"==typeof Ae}function V(Ae){return F(Ae)&&!!Ae.isContextPlugin}function W(Ae,Ie){return Ie.some(ln=>ln===Ae||dt(Ae)===ln||dt(ln)===Ae)}function dt(Ae){return F(Ae)?Ae.pluginName||Ae.name:Ae}function Zt(Ae,Ie=null){Ae.map(ln=>F(ln)?ln:_._availablePlugins.get(ln)||ln).forEach(ln=>{(function(Dn,di){if(!F(Dn))throw di?new nt("plugincollection-soft-required",x,{missingPlugin:Dn,requiredBy:dt(di)}):new nt("plugincollection-plugin-not-found",x,{plugin:Dn})})(ln,Ie),function(Dn,di){if(V(di)&&!V(Dn))throw new nt("plugincollection-context-required",x,{plugin:dt(Dn),requiredBy:dt(di)})}(ln,Ie),function(Dn,di){if(di&&W(Dn,c))throw new nt("plugincollection-required",x,{plugin:dt(Dn),requiredBy:dt(di)})}(ln,Ie)})}function ue(Ae,Ie){return Ae.reduce((ln,Dn)=>Dn[Ie]?_._contextPlugins.has(Dn)?ln:ln.then(Dn[Ie].bind(Dn)):ln,Promise.resolve())}}destroy(){const r=[];for(const[,c]of this)"function"!=typeof c.destroy||this._contextPlugins.has(c)||r.push(c.destroy());return Promise.all(r)}_add(r,c){this._plugins.set(r,c);const u=r.pluginName;if(u){if(this._plugins.has(u))throw new nt("plugincollection-plugin-name-conflict",null,{pluginName:u,plugin1:this._plugins.get(u).constructor,plugin2:r});this._plugins.set(u,c)}}}class M2{constructor(r){this._contextOwner=null,this.config=new nr(r,this.constructor.defaultConfig);const c=this.constructor.builtinPlugins;this.config.define("plugins",c),this.plugins=new Ef(this,c);const u=this.config.get("language")||{};this.locale=new Tu({uiLanguage:"string"==typeof u?u:u.ui,contentLanguage:this.config.get("language.content")}),this.t=this.locale.t,this.editors=new ec}initPlugins(){const r=this.config.get("plugins")||[],c=this.config.get("substitutePlugins")||[];for(const u of r.concat(c)){if("function"!=typeof u)throw new nt("context-initplugins-constructor-only",null,{Plugin:u});if(!0!==u.isContextPlugin)throw new nt("context-initplugins-invalid-plugin",null,{Plugin:u})}return this.plugins.init(r,[],c)}destroy(){return Promise.all(Array.from(this.editors,r=>r.destroy())).then(()=>this.plugins.destroy())}_addEditor(r,c){if(this._contextOwner)throw new nt("context-addeditor-private-context");this.editors.add(r),c&&(this._contextOwner=r)}_removeEditor(r){return this.editors.has(r)&&this.editors.remove(r),this._contextOwner===r?this.destroy():Promise.resolve()}_getEditorConfig(){const r={};for(const c of this.config.names())["plugins","removePlugins","extraPlugins"].includes(c)||(r[c]=this.config.get(c));return r}static create(r){return new Promise(c=>{const u=new this(r);c(u.initPlugins().then(()=>u))})}}class w_ extends(Ue()){constructor(r){super(),this.context=r}destroy(){this.stopListening()}static get isContextPlugin(){return!0}}class Wp extends $c{constructor(r){super(),this.editor=r}set(r,c,u={}){if("string"==typeof c){const _=c;c=(x,M)=>{this.editor.execute(_),M()}}super.set(r,c,u)}}var hp=v(4717);No()(hp.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const Z=new WeakMap;let Ct=!1;function Y({view:m,element:r,text:c,isDirectHost:u=!0,keepOnFocus:_=!1}){const x=m.document;function M(E){Z.get(x).set(r,{text:E,isDirectHost:u,keepOnFocus:_,hostElement:u?r:null}),m.change(F=>$t(x,F))}Z.has(x)||(Z.set(x,new Map),x.registerPostFixer(E=>$t(x,E)),x.on("change:isComposing",()=>{m.change(E=>$t(x,E))},{priority:"high"})),r.is("editableElement")&&r.on("change:placeholder",(E,F,V)=>{M(V)}),r.placeholder?M(r.placeholder):c&&M(c),c&&(Ct||Tt("enableplaceholder-deprecated-text-option"),Ct=!0)}function $t(m,r){const c=Z.get(m),u=[];let _=!1;for(const[x,M]of c)M.isDirectHost&&(u.push(x),fe(r,x,M)&&(_=!0));for(const[x,M]of c){if(M.isDirectHost)continue;const E=nn(x);E&&(u.includes(E)||(M.hostElement=E,fe(r,x,M)&&(_=!0)))}return _}function fe(m,r,c){const{text:u,isDirectHost:_,hostElement:x}=c;let M=!1;return x.getAttribute("data-placeholder")!==u&&(m.setAttribute("data-placeholder",u,x),M=!0),(_||1==r.childCount)&&function(E,F){if(!E.isAttached()||Array.from(E.getChildren()).some(dt=>!dt.is("uiElement")))return!1;const V=E.document,W=V.selection.anchor;return!(V.isComposing&&W&&W.parent===E||!F&&V.isFocused&&(!W||W.parent===E))}(x,c.keepOnFocus)?(E=m,!(F=x).hasClass("ck-placeholder")&&(E.addClass("ck-placeholder",F),!0)&&(M=!0)):function ht(m,r){return!!r.hasClass("ck-placeholder")&&(m.removeClass("ck-placeholder",r),!0)}(m,x)&&(M=!0),M;var E,F}function nn(m){if(m.childCount){const r=m.getChild(0);if(r.is("element")&&!r.is("uiElement")&&!r.is("attributeElement"))return r}return null}class ni{is(){throw new Error("is() method is abstract")}}const Mi=function(m){return Pi(m,4)};class Ro extends(Oe(ni)){constructor(r){super(),this.document=r,this.parent=null}get index(){let r;if(!this.parent)return null;if(-1==(r=this.parent.getChildIndex(this)))throw new nt("view-node-not-found-in-parent",this);return r}get nextSibling(){const r=this.index;return null!==r&&this.parent.getChild(r+1)||null}get previousSibling(){const r=this.index;return null!==r&&this.parent.getChild(r-1)||null}get root(){let r=this;for(;r.parent;)r=r.parent;return r}isAttached(){return this.root.is("rootElement")}getPath(){const r=[];let c=this;for(;c.parent;)r.unshift(c.index),c=c.parent;return r}getAncestors(r={}){const c=[];let u=r.includeSelf?this:this.parent;for(;u;)c[r.parentFirst?"push":"unshift"](u),u=u.parent;return c}getCommonAncestor(r,c={}){const u=this.getAncestors(c),_=r.getAncestors(c);let x=0;for(;u[x]==_[x]&&u[x];)x++;return 0===x?null:u[x-1]}isBefore(r){if(this==r||this.root!==r.root)return!1;const c=this.getPath(),u=r.getPath(),_=ct(c,u);switch(_){case"prefix":return!0;case"extension":return!1;default:return c[_]r.data.length)throw new nt("view-textproxy-wrong-offsetintext",this);if(u<0||c+u>r.data.length)throw new nt("view-textproxy-wrong-length",this);this.data=r.data.substring(c,c+u),this.offsetInText=c}get offsetSize(){return this.data.length}get isPartial(){return this.data.length!==this.textNode.data.length}get parent(){return this.textNode.parent}get root(){return this.textNode.root}get document(){return this.textNode.document}getAncestors(r={}){const c=[];let u=r.includeSelf?this.textNode:this.parent;for(;null!==u;)c[r.parentFirst?"push":"unshift"](u),u=u.parent;return c}}Ha.prototype.is=function(m){return"$textProxy"===m||"view:$textProxy"===m||"textProxy"===m||"view:textProxy"===m};class ps{constructor(...r){this._patterns=[],this.add(...r)}add(...r){for(let c of r)("string"==typeof c||c instanceof RegExp)&&(c={name:c}),this._patterns.push(c)}match(...r){for(const c of r)for(const u of this._patterns){const _=Bd(c,u);if(_)return{element:c,pattern:u,match:_}}return null}matchAll(...r){const c=[];for(const u of r)for(const _ of this._patterns){const x=Bd(u,_);x&&c.push({element:u,pattern:_,match:x})}return c.length>0?c:null}getElementName(){if(1!==this._patterns.length)return null;const r=this._patterns[0],c=r.name;return"function"==typeof r||!c||c instanceof RegExp?null:c}}function Bd(m,r){if("function"==typeof r)return r(m);const c={};return r.name&&(c.name=(_=m.name,(u=r.name)instanceof RegExp?!!_.match(u):u===_),!c.name)||r.attributes&&(c.attributes=function(u,_){const x=new Set(_.getAttributeKeys());return Xe(u)?(void 0!==u.style&&Tt("matcher-pattern-deprecated-attributes-style-key",u),void 0!==u.class&&Tt("matcher-pattern-deprecated-attributes-class-key",u)):(x.delete("style"),x.delete("class")),Vd(u,x,M=>_.getAttribute(M))}(r.attributes,m),!c.attributes)||r.classes&&(c.classes=function(u,_){return Vd(u,_.getClassNames(),()=>{})}(r.classes,m),!c.classes)||r.styles&&(c.styles=function(u,_){return Vd(u,_.getStyleNames(!0),x=>_.getStyle(x))}(r.styles,m),!c.styles)?null:c;var u,_}function Vd(m,r,c){const u=(M=m,Array.isArray(M)?M.map(E=>Xe(E)?(void 0!==E.key&&void 0!==E.value||Tt("matcher-pattern-missing-key-or-value",E),[E.key,E.value]):[E,!0]):Xe(M)?Object.entries(M):[[M,!0]]),_=Array.from(r),x=[];var M;if(u.forEach(([M,E])=>{_.forEach(F=>{var V,W;W=F,(!0===(V=M)||V===W||V instanceof RegExp&&W.match(V))&&function(V,W,dt){if(!0===V)return!0;const Zt=dt(W);return V===Zt||V instanceof RegExp&&!!String(Zt).match(V)}(E,F,c)&&x.push(F)})}),u.length&&!(x.length_?0:_+r),(c=c>_?_:c)<0&&(c+=_),_=r>c?0:c-r>>>0,r>>>=0;for(var x=Array(_);++u<_;)x[u]=m[u+r];return x},q1=function(m,r,c){var u=null==m?void 0:pl(m,r);return void 0===u?c:u},P2=function(m,r,c){(void 0!==c&&!Tn(m[r],c)||void 0===c&&!(r in m))&&Cl(m,r,c)},M_=function(m,r){if(("constructor"!==r||"function"!=typeof m[r])&&"__proto__"!=r)return m[r]},Zg=function m(r,c,u,_,x){r!==c&&function(r,c,u){for(var _=-1,x=Object(r),M=u(r),E=M.length;E--;){var F=M[++_];if(!1===c(x[F],F,x))break}}(c,function(M,E){if(x||(x=new iu),Wt(M))!function(m,r,c,u,_,x,M){var E=M_(m,c),F=M_(r,c),V=M.get(F);if(V)P2(m,c,V);else{var W=x?x(E,F,c+"",m,r,M):void 0,dt=void 0===W;if(dt){var Zt=Ye(F),ue=!Zt&&ks(F),Ae=!Zt&&!ue&&Jc(F);W=F,Zt||ue||Ae?Ye(E)?W=E:function(m){return fn(m)&&Ac(m)}(E)?W=uc(E):ue?(dt=!1,W=aa(F,!0)):Ae?(dt=!1,W=_t(F,!0)):W=[]:Xe(F)||Rl(F)?(W=E,Rl(E)?W=function(m){return Vs(m,us(m))}(E):Wt(E)&&!Fo(E)||(W=ll(F))):dt=!1}dt&&(M.set(F,W),_(W,F,u,x,M),M.delete(F)),P2(m,c,W)}}(r,c,E,u,m,_,x);else{var F=_?_(M_(r,E),M,E+"",r,c,x):void 0;void 0===F&&(F=M),P2(r,E,F)}},us)},ku=function(m){return m},E3=function(m,r,c){switch(c.length){case 0:return m.call(r);case 1:return m.call(r,c[0]);case 2:return m.call(r,c[0],c[1]);case 3:return m.call(r,c[0],c[1],c[2])}return m.apply(r,c)};var bp=Math.max;const Ff=function(m){return function(){return m}},Mg=vc?function(m,r){return vc(m,"toString",{configurable:!0,enumerable:!1,value:Ff(r),writable:!0})}:ku;var kg=Date.now;const k_=function(m){var r=0,c=0;return function(){var u=kg(),_=16-(u-c);if(c=u,_>0){if(++r>=800)return arguments[0]}else r=0;return m.apply(void 0,arguments)}}(Mg),qf=function(m){return function(m,r){return k_(function(m,r,c){return r=bp(void 0===r?m.length-1:r,0),function(){for(var u=arguments,_=-1,x=bp(u.length-r,0),M=Array(x);++_1?c[_-1]:void 0,M=_>2?c[2]:void 0;for(x=m.length>3&&"function"==typeof x?(_--,x):void 0,M&&function(m,r,c){if(!Wt(c))return!1;var u=typeof r;return!!("number"==u?Ac(c)&&ou(r,c.length):"string"==u&&r in c)&&Tn(c[r],m)}(c[0],c[1],M)&&(x=_<3?void 0:x,_=1),r=Object(r);++u<_;){var E=c[u];E&&m(r,E,u,x)}return r})},L2=qf(function(m,r,c){Zg(m,r,c)});class Du{constructor(r){this._styles={},this._styleProcessor=r}get isEmpty(){const r=Object.entries(this._styles);return!Array.from(r).length}get size(){return this.isEmpty?0:this.getStyleNames().length}setTo(r){this.clear();const c=Array.from(function(u){let _=null,x=0,M=0,E=null;const F=new Map;if(""===u)return F;";"!=u.charAt(u.length-1)&&(u+=";");for(let V=0;Vu===r);return Array.isArray(c)}set(r,c){if(Wt(r))for(const[u,_]of Object.entries(r))this._styleProcessor.toNormalizedForm(u,_,this._styles);else this._styleProcessor.toNormalizedForm(r,c,this._styles)}remove(r){const c=Rf(r);(function(m,r){null==m||function(m,r){null==(m=function(m,r){return r.length<2?m:pl(m,D2(r,0,-1))}(m,r=Zu(r,m)))||delete m[U_(function(m){var r=null==m?0:m.length;return r?m[r-1]:void 0}(r))]}(m,r)})(this._styles,c),delete this._styles[r],this._cleanEmptyObjectsOnPath(c)}getNormalized(r){return this._styleProcessor.getNormalized(r,this._styles)}toString(){return this.isEmpty?"":this._getStylesEntries().map(r=>r.join(":")).sort().join(";")+";"}getAsString(r){if(this.isEmpty)return;if(this._styles[r]&&!Wt(this._styles[r]))return this._styles[r];const c=this._styleProcessor.getReducedForm(r,this._styles).find(([u])=>u===r);return Array.isArray(c)?c[1]:void 0}getStyleNames(r=!1){return this.isEmpty?[]:r?this._styleProcessor.getStyleNames(this._styles):this._getStylesEntries().map(([c])=>c)}clear(){this._styles={}}_getStylesEntries(){const r=[],c=Object.keys(this._styles);for(const u of c)r.push(...this._styleProcessor.getReducedForm(u,this._styles));return r}_cleanEmptyObjectsOnPath(r){const c=r.split(".");if(!(c.length>1))return;const u=c.splice(0,c.length-1).join("."),_=q1(this._styles,u);!_||!Array.from(Object.keys(_)).length&&this.remove(u)}}class Lg{constructor(){this._normalizers=new Map,this._extractors=new Map,this._reducers=new Map,this._consumables=new Map}toNormalizedForm(r,c,u){if(Wt(c))D_(u,Rf(r),c);else if(this._normalizers.has(r)){const _=this._normalizers.get(r),{path:x,value:M}=_(c);D_(u,x,M)}else D_(u,r,c)}getNormalized(r,c){if(!r)return L2({},c);if(void 0!==c[r])return c[r];if(this._extractors.has(r)){const u=this._extractors.get(r);if("string"==typeof u)return q1(c,u);const _=u(r,c);if(_)return _}return q1(c,Rf(r))}getReducedForm(r,c){const u=this.getNormalized(r,c);return void 0===u?[]:this._reducers.has(r)?this._reducers.get(r)(u):[[r,u]]}getStyleNames(r){const c=Array.from(this._consumables.keys()).filter(_=>{const x=this.getNormalized(_,r);return x&&"object"==typeof x?Object.keys(x).length:x}),u=new Set([...c,...Object.keys(r)]);return Array.from(u.values())}getRelatedStyles(r){return this._consumables.get(r)||[]}setNormalizer(r,c){this._normalizers.set(r,c)}setExtractor(r,c){this._extractors.set(r,c)}setReducer(r,c){this._reducers.set(r,c)}setStyleRelation(r,c){this._mapStyleNames(r,c);for(const u of c)this._mapStyleNames(u,[r])}_mapStyleNames(r,c){this._consumables.has(r)||this._consumables.set(r,[]),this._consumables.get(r).push(...c)}}function Rf(m){return m.replace("-",".")}function D_(m,r,c){let u=c;Wt(c)&&(u=L2({},q1(m,r),c)),function(m,r,c){null==m||function(m,r,c,u){if(!Wt(m))return m;for(var _=-1,x=(r=Zu(r,m)).length,M=x-1,E=m;null!=E&&++_0&&(yield"class"),this._styles.isEmpty||(yield"style"),yield*this._attrs.keys()}*getAttributes(){yield*this._attrs.entries(),this._classes.size>0&&(yield["class",this.getAttribute("class")]),this._styles.isEmpty||(yield["style",this.getAttribute("style")])}getAttribute(r){if("class"==r)return this._classes.size>0?[...this._classes].join(" "):void 0;if("style"==r){const c=this._styles.toString();return""==c?void 0:c}return this._attrs.get(r)}hasAttribute(r){return"class"==r?this._classes.size>0:"style"==r?!this._styles.isEmpty:this._attrs.has(r)}isSimilar(r){if(!(r instanceof Xc))return!1;if(this===r)return!0;if(this.name!=r.name||this._attrs.size!==r._attrs.size||this._classes.size!==r._classes.size||this._styles.size!==r._styles.size)return!1;for(const[c,u]of this._attrs)if(!r._attrs.has(c)||r._attrs.get(c)!==u)return!1;for(const c of this._classes)if(!r._classes.has(c))return!1;for(const c of this._styles.getStyleNames())if(!r._styles.has(c)||r._styles.getAsString(c)!==this._styles.getAsString(c))return!1;return!0}hasClass(...r){for(const c of r)if(!this._classes.has(c))return!1;return!0}getClassNames(){return this._classes.keys()}getStyle(r){return this._styles.getAsString(r)}getNormalizedStyle(r){return this._styles.getNormalized(r)}getStyleNames(r){return this._styles.getStyleNames(r)}hasStyle(...r){for(const c of r)if(!this._styles.has(c))return!1;return!0}findAncestor(...r){const c=new ps(...r);let u=this.parent;for(;u&&!u.is("documentFragment");){if(c.match(u))return u;u=u.parent}return null}getCustomProperty(r){return this._customProperties.get(r)}*getCustomProperties(){yield*this._customProperties.entries()}getIdentity(){const r=Array.from(this._classes).sort().join(","),c=this._styles.toString(),u=Array.from(this._attrs).map(_=>`${_[0]}="${_[1]}"`).sort().join(" ");return this.name+(""==r?"":` class="${r}"`)+(c?` style="${c}"`:"")+(""==u?"":` ${u}`)}shouldRenderUnsafeAttribute(r){return this._unsafeAttributesToRender.includes(r)}_clone(r=!1){const c=[];if(r)for(const _ of this.getChildren())c.push(_._clone(r));const u=new this.constructor(this.document,this.name,this._attrs,c);return u._classes=new Set(this._classes),u._styles.set(this._styles.getNormalized()),u._customProperties=new Map(this._customProperties),u.getFillerOffset=this.getFillerOffset,u._unsafeAttributesToRender=this._unsafeAttributesToRender,u}_appendChild(r){return this._insertChild(this.childCount,r)}_insertChild(r,c){this._fireChange("children",this);let u=0;const _=(x=this.document,"string"==typeof(M=c)?[new Eo(x,M)]:(it(M)||(M=[M]),Array.from(M).map(E=>"string"==typeof E?new Eo(x,E):E instanceof Ha?new Eo(x,E.data):E)));var x,M;for(const x of _)null!==x.parent&&x._remove(),x.parent=this,x.document=this.document,this._children.splice(r,0,x),r++,u++;return u}_removeChildren(r,c=1){this._fireChange("children",this);for(let u=r;u0&&(this._classes.clear(),!0):"style"==r?!this._styles.isEmpty&&(this._styles.clear(),!0):this._attrs.delete(r)}_addClass(r){this._fireChange("attributes",this);for(const c of Ss(r))this._classes.add(c)}_removeClass(r){this._fireChange("attributes",this);for(const c of Ss(r))this._classes.delete(c)}_setStyle(r,c){this._fireChange("attributes",this),"string"!=typeof r?this._styles.set(r):this._styles.set(r,c)}_removeStyle(r){this._fireChange("attributes",this);for(const c of Ss(r))this._styles.remove(c)}_setCustomProperty(r,c){this._customProperties.set(r,c)}_removeCustomProperty(r){return this._customProperties.delete(r)}}function Hf(m,r){const c=r.split(/\s+/);m.clear(),c.forEach(u=>m.add(u))}Xc.prototype.is=function(m,r){return r?r===this.name&&("element"===m||"view:element"===m):"element"===m||"view:element"===m||"node"===m||"view:node"===m};class vp extends Xc{constructor(r,c,u,_){super(r,c,u,_),this.getFillerOffset=zf}}function zf(){const m=[...this.getChildren()],r=m[this.childCount-1];if(r&&r.is("element","br"))return this.childCount;for(const c of m)if(!c.is("uiElement"))return null;return this.childCount}vp.prototype.is=function(m,r){return r?r===this.name&&("containerElement"===m||"view:containerElement"===m||"element"===m||"view:element"===m):"containerElement"===m||"view:containerElement"===m||"element"===m||"view:element"===m||"node"===m||"view:node"===m};class Nm extends(Ue(vp)){constructor(r,c,u,_){super(r,c,u,_),this.set("isReadOnly",!1),this.set("isFocused",!1),this.set("placeholder",void 0),this.bind("isReadOnly").to(r),this.bind("isFocused").to(r,"isFocused",x=>x&&r.selection.editableElement==this),this.listenTo(r.selection,"change",()=>{this.isFocused=r.isFocused&&r.selection.editableElement==this})}destroy(){this.stopListening()}}Nm.prototype.is=function(m,r){return r?r===this.name&&("editableElement"===m||"view:editableElement"===m||"containerElement"===m||"view:containerElement"===m||"element"===m||"view:element"===m):"editableElement"===m||"view:editableElement"===m||"containerElement"===m||"view:containerElement"===m||"element"===m||"view:element"===m||"node"===m||"view:node"===m};const Fm=Symbol("rootName");class qm extends Nm{constructor(r,c){super(r,c),this.rootName="main"}get rootName(){return this.getCustomProperty(Fm)}set rootName(r){this._setCustomProperty(Fm,r)}set _name(r){this.name=r}}qm.prototype.is=function(m,r){return r?r===this.name&&("rootElement"===m||"view:rootElement"===m||"editableElement"===m||"view:editableElement"===m||"containerElement"===m||"view:containerElement"===m||"element"===m||"view:element"===m):"rootElement"===m||"view:rootElement"===m||"editableElement"===m||"view:editableElement"===m||"containerElement"===m||"view:containerElement"===m||"element"===m||"view:element"===m||"node"===m||"view:node"===m};class Kp{constructor(r={}){if(!r.boundaries&&!r.startPosition)throw new nt("view-tree-walker-no-start-position",null);if(r.direction&&"forward"!=r.direction&&"backward"!=r.direction)throw new nt("view-tree-walker-unknown-direction",r.startPosition,{direction:r.direction});this.boundaries=r.boundaries||null,this._position=Uo._createAt(r.startPosition?r.startPosition:r.boundaries["backward"==r.direction?"end":"start"]),this.direction=r.direction||"forward",this.singleCharacters=!!r.singleCharacters,this.shallow=!!r.shallow,this.ignoreElementEnd=!!r.ignoreElementEnd,this._boundaryStartParent=this.boundaries?this.boundaries.start.parent:null,this._boundaryEndParent=this.boundaries?this.boundaries.end.parent:null}[Symbol.iterator](){return this}get position(){return this._position}skip(r){let c,u;do{u=this.position,c=this.next()}while(!c.done&&r(c.value));c.done||(this._position=u)}next(){return"forward"==this.direction?this._next():this._previous()}_next(){let r=this.position.clone();const c=this.position,u=r.parent;if(null===u.parent&&r.offset===u.childCount)return{done:!0,value:void 0};if(u===this._boundaryEndParent&&r.offset==this.boundaries.end.offset)return{done:!0,value:void 0};let _;if(u instanceof Eo){if(r.isAtEnd)return this._position=Uo._createAfter(u),this._next();_=u.data[r.offset]}else _=u.getChild(r.offset);if(_ instanceof Xc){if(this.shallow){if(this.boundaries&&this.boundaries.end.isBefore(r))return{done:!0,value:void 0};r.offset++}else r=new Uo(_,0);return this._position=r,this._formatReturnValue("elementStart",_,c,r,1)}if(_ instanceof Eo){if(this.singleCharacters)return r=new Uo(_,0),this._position=r,this._next();let x,M=_.data.length;return _==this._boundaryEndParent?(M=this.boundaries.end.offset,x=new Ha(_,0,M),r=Uo._createAfter(x)):(x=new Ha(_,0,_.data.length),r.offset++),this._position=r,this._formatReturnValue("text",x,c,r,M)}if("string"==typeof _){let x;x=this.singleCharacters?1:(u===this._boundaryEndParent?this.boundaries.end.offset:u.data.length)-r.offset;const M=new Ha(u,r.offset,x);return r.offset+=x,this._position=r,this._formatReturnValue("text",M,c,r,x)}return r=Uo._createAfter(u),this._position=r,this.ignoreElementEnd?this._next():this._formatReturnValue("elementEnd",u,c,r)}_previous(){let r=this.position.clone();const c=this.position,u=r.parent;if(null===u.parent&&0===r.offset)return{done:!0,value:void 0};if(u==this._boundaryStartParent&&r.offset==this.boundaries.start.offset)return{done:!0,value:void 0};let _;if(u instanceof Eo){if(r.isAtStart)return this._position=Uo._createBefore(u),this._previous();_=u.data[r.offset-1]}else _=u.getChild(r.offset-1);if(_ instanceof Xc)return this.shallow?(r.offset--,this._position=r,this._formatReturnValue("elementStart",_,c,r,1)):(r=new Uo(_,_.childCount),this._position=r,this.ignoreElementEnd?this._previous():this._formatReturnValue("elementEnd",_,c,r));if(_ instanceof Eo){if(this.singleCharacters)return r=new Uo(_,_.data.length),this._position=r,this._previous();let x,M=_.data.length;if(_==this._boundaryStartParent){const E=this.boundaries.start.offset;x=new Ha(_,E,_.data.length-E),M=x.data.length,r=Uo._createBefore(x)}else x=new Ha(_,0,_.data.length),r.offset--;return this._position=r,this._formatReturnValue("text",x,c,r,M)}if("string"==typeof _){let x;x=this.singleCharacters?1:r.offset-(u===this._boundaryStartParent?this.boundaries.start.offset:0),r.offset-=x;const M=new Ha(u,r.offset,x);return this._position=r,this._formatReturnValue("text",M,c,r,x)}return r=Uo._createBefore(u),this._position=r,this._formatReturnValue("elementStart",u,c,r,1)}_formatReturnValue(r,c,u,_,x){return c instanceof Ha&&(c.offsetInText+c.data.length==c.textNode.data.length&&("forward"!=this.direction||this.boundaries&&this.boundaries.end.isEqual(this.position)?u=Uo._createAfter(c.textNode):(_=Uo._createAfter(c.textNode),this._position=_)),0===c.offsetInText&&("backward"!=this.direction||this.boundaries&&this.boundaries.start.isEqual(this.position)?u=Uo._createBefore(c.textNode):(_=Uo._createBefore(c.textNode),this._position=_))),{done:!1,value:{type:r,item:c,previousPosition:u,nextPosition:_,length:x}}}}class Uo extends ni{constructor(r,c){super(),this.parent=r,this.offset=c}get nodeAfter(){return this.parent.is("$text")?null:this.parent.getChild(this.offset)||null}get nodeBefore(){return this.parent.is("$text")?null:this.parent.getChild(this.offset-1)||null}get isAtStart(){return 0===this.offset}get isAtEnd(){const r=this.parent.is("$text")?this.parent.data.length:this.parent.childCount;return this.offset===r}get root(){return this.parent.root}get editableElement(){let r=this.parent;for(;!(r instanceof Nm);){if(!r.parent)return null;r=r.parent}return r}getShiftedBy(r){const c=Uo._createAt(this),u=c.offset+r;return c.offset=u<0?0:u,c}getLastMatchingPosition(r,c={}){c.startPosition=this;const u=new Kp(c);return u.skip(r),u.position}getAncestors(){return this.parent.is("documentFragment")?[this.parent]:this.parent.getAncestors({includeSelf:!0})}getCommonAncestor(r){const c=this.getAncestors(),u=r.getAncestors();let _=0;for(;c[_]==u[_]&&c[_];)_++;return 0===_?null:c[_-1]}isEqual(r){return this.parent==r.parent&&this.offset==r.offset}isBefore(r){return"before"==this.compareWith(r)}isAfter(r){return"after"==this.compareWith(r)}compareWith(r){if(this.root!==r.root)return"different";if(this.isEqual(r))return"same";const c=this.parent.is("node")?this.parent.getPath():[],u=r.parent.is("node")?r.parent.getPath():[];c.push(this.offset),u.push(r.offset);const _=ct(c,u);switch(_){case"prefix":return"before";case"extension":return"after";default:return c[_]0?new this(u,_):new this(_,u)}static _createIn(r){return this._createFromParentsAndOffsets(r,0,r,r.childCount)}static _createOn(r){const c=r.is("$textProxy")?r.offsetSize:1;return this._createFromPositionAndShift(Uo._createBefore(r),c)}}function Zs(m){return!(!m.item.is("attributeElement")&&!m.item.is("uiElement"))}Ma.prototype.is=function(m){return"range"===m||"view:range"===m};class ju extends(Oe(ni)){constructor(...r){super(),this._ranges=[],this._lastRangeBackward=!1,this._isFake=!1,this._fakeSelectionLabel="",r.length&&this.setTo(...r)}get isFake(){return this._isFake}get fakeSelectionLabel(){return this._fakeSelectionLabel}get anchor(){if(!this._ranges.length)return null;const r=this._ranges[this._ranges.length-1];return(this._lastRangeBackward?r.end:r.start).clone()}get focus(){if(!this._ranges.length)return null;const r=this._ranges[this._ranges.length-1];return(this._lastRangeBackward?r.start:r.end).clone()}get isCollapsed(){return 1===this.rangeCount&&this._ranges[0].isCollapsed}get rangeCount(){return this._ranges.length}get isBackward(){return!this.isCollapsed&&this._lastRangeBackward}get editableElement(){return this.anchor?this.anchor.editableElement:null}*getRanges(){for(const r of this._ranges)yield r.clone()}getFirstRange(){let r=null;for(const c of this._ranges)r&&!c.start.isBefore(r.start)||(r=c);return r?r.clone():null}getLastRange(){let r=null;for(const c of this._ranges)r&&!c.end.isAfter(r.end)||(r=c);return r?r.clone():null}getFirstPosition(){const r=this.getFirstRange();return r?r.start.clone():null}getLastPosition(){const r=this.getLastRange();return r?r.end.clone():null}isEqual(r){if(this.isFake!=r.isFake||this.isFake&&this.fakeSelectionLabel!=r.fakeSelectionLabel||this.rangeCount!=r.rangeCount)return!1;if(0===this.rangeCount)return!0;if(!this.anchor.isEqual(r.anchor)||!this.focus.isEqual(r.focus))return!1;for(const c of this._ranges){let u=!1;for(const _ of r._ranges)if(c.isEqual(_)){u=!0;break}if(!u)return!1}return!0}isSimilar(r){if(this.isBackward!=r.isBackward)return!1;const c=ne(this.getRanges());if(c!=ne(r.getRanges()))return!1;if(0==c)return!0;for(let u of this.getRanges()){u=u.getTrimmed();let _=!1;for(let x of r.getRanges())if(x=x.getTrimmed(),u.start.isEqual(x.start)&&u.end.isEqual(x.end)){_=!0;break}if(!_)return!1}return!0}getSelectedElement(){return 1!==this.rangeCount?null:this.getFirstRange().getContainedElement()}setTo(...r){let[c,u,_]=r;if("object"==typeof u&&(_=u,u=void 0),null===c)this._setRanges([]),this._setFakeOptions(_);else if(c instanceof ju||c instanceof P_)this._setRanges(c.getRanges(),c.isBackward),this._setFakeOptions({fake:c.isFake,label:c.fakeSelectionLabel});else if(c instanceof Ma)this._setRanges([c],_&&_.backward),this._setFakeOptions(_);else if(c instanceof Uo)this._setRanges([new Ma(c)]),this._setFakeOptions(_);else if(c instanceof Ro){const x=!!_&&!!_.backward;let M;if(void 0===u)throw new nt("view-selection-setto-required-second-parameter",this);M="in"==u?Ma._createIn(c):"on"==u?Ma._createOn(c):new Ma(Uo._createAt(c,u)),this._setRanges([M],x),this._setFakeOptions(_)}else{if(!it(c))throw new nt("view-selection-setto-not-selectable",this);this._setRanges(c,_&&_.backward),this._setFakeOptions(_)}this.fire("change")}setFocus(r,c){if(null===this.anchor)throw new nt("view-selection-setfocus-no-ranges",this);const u=Uo._createAt(r,c);if("same"==u.compareWith(this.focus))return;const _=this.anchor;this._ranges.pop(),"before"==u.compareWith(_)?this._addRange(new Ma(u,_),!0):this._addRange(new Ma(_,u)),this.fire("change")}_setRanges(r,c=!1){r=Array.from(r),this._ranges=[];for(const u of r)this._addRange(u);this._lastRangeBackward=!!c}_setFakeOptions(r={}){this._isFake=!!r.fake,this._fakeSelectionLabel=r.fake&&r.label||""}_addRange(r,c=!1){if(!(r instanceof Ma))throw new nt("view-selection-add-range-not-range",this);this._pushRange(r),this._lastRangeBackward=!!c}_pushRange(r){for(const c of this._ranges)if(r.isIntersecting(c))throw new nt("view-selection-range-intersects",this,{addedRange:r,intersectingRange:c});this._ranges.push(new Ma(r.start,r.end))}}ju.prototype.is=function(m){return"selection"===m||"view:selection"===m};class P_ extends(Oe(ni)){constructor(...r){super(),this._selection=new ju,this._selection.delegate("change").to(this),r.length&&this._selection.setTo(...r)}get isFake(){return this._selection.isFake}get fakeSelectionLabel(){return this._selection.fakeSelectionLabel}get anchor(){return this._selection.anchor}get focus(){return this._selection.focus}get isCollapsed(){return this._selection.isCollapsed}get rangeCount(){return this._selection.rangeCount}get isBackward(){return this._selection.isBackward}get editableElement(){return this._selection.editableElement}get _ranges(){return this._selection._ranges}*getRanges(){yield*this._selection.getRanges()}getFirstRange(){return this._selection.getFirstRange()}getLastRange(){return this._selection.getLastRange()}getFirstPosition(){return this._selection.getFirstPosition()}getLastPosition(){return this._selection.getLastPosition()}getSelectedElement(){return this._selection.getSelectedElement()}isEqual(r){return this._selection.isEqual(r)}isSimilar(r){return this._selection.isSimilar(r)}_setTo(...r){this._selection.setTo(...r)}_setFocus(r,c){this._selection.setFocus(r,c)}}P_.prototype.is=function(m){return"selection"===m||"documentSelection"==m||"view:selection"==m||"view:documentSelection"==m};class xp extends lt{constructor(r,c,u){super(r,c),this.startRange=u,this._eventPhase="none",this._currentTarget=null}get eventPhase(){return this._eventPhase}get currentTarget(){return this._currentTarget}}const Rm=Symbol("bubbling contexts");function Ad(m){return class extends m{fire(r,...c){try{const u=r instanceof lt?r:new lt(this,r),_=Yf(this);if(!_.size)return;if(ms(u,"capturing",this),te(_,"$capture",u,...c))return u.return;const x=u.startRange||this.selection.getFirstRange(),M=x?x.getContainedElement():null,E=!!M&&Boolean(Og(_,M));let F=M||function(V){if(!V)return null;const W=V.start.parent,dt=V.end.parent,Zt=W.getPath(),ue=dt.getPath();return Zt.length>ue.length?W:dt}(x);if(ms(u,"atTarget",F),!E){if(te(_,"$text",u,...c))return u.return;ms(u,"bubbling",F)}for(;F;){if(F.is("rootElement")){if(te(_,"$root",u,...c))return u.return}else if(F.is("element")&&te(_,F.name,u,...c))return u.return;if(te(_,F,u,...c))return u.return;F=F.parent,ms(u,"bubbling",F)}return ms(u,"bubbling",this),te(_,"$document",u,...c),u.return}catch(u){nt.rethrowUnexpectedError(u,this)}}_addEventListener(r,c,u){const _=Ss(u.context||"$document"),x=Yf(this);for(const M of _){let E=x.get(M);E||(E=new(Oe()),x.set(M,E)),this.listenTo(E,r,c,u)}}_removeEventListener(r,c){const u=Yf(this);for(const _ of u.values())this.stopListening(_,r,c)}}}{const m=Ad(Object);["fire","_addEventListener","_removeEventListener"].forEach(r=>{Ad[r]=m.prototype[r]})}function ms(m,r,c){m instanceof xp&&(m._eventPhase=r,m._currentTarget=c)}function te(m,r,c,...u){const _="string"==typeof r?m.get(r):Og(m,r);return!!_&&(_.fire(c,...u),c.stop.called)}function Og(m,r){for(const[c,u]of m)if("function"==typeof c&&c(r))return u;return null}function Yf(m){return m[Rm]||(m[Rm]=new Map),m[Rm]}class Xp extends(Ad(Ue())){constructor(r){super(),this._postFixers=new Set,this.selection=new P_,this.roots=new ec({idProperty:"rootName"}),this.stylesProcessor=r,this.set("isReadOnly",!1),this.set("isFocused",!1),this.set("isSelecting",!1),this.set("isComposing",!1)}getRoot(r="main"){return this.roots.get(r)}registerPostFixer(r){this._postFixers.add(r)}destroy(){this.roots.map(r=>r.destroy()),this.stopListening()}_callPostFixers(r){let c=!1;do{for(const u of this._postFixers)if(c=u(r),c)break}while(c)}}class tm extends Xc{constructor(r,c,u,_){super(r,c,u,_),this._priority=10,this._id=null,this._clonesGroup=null,this.getFillerOffset=A1}get priority(){return this._priority}get id(){return this._id}getElementsWithSameId(){if(null===this.id)throw new nt("attribute-element-get-elements-with-same-id-no-id",this);return new Set(this._clonesGroup)}isSimilar(r){return null!==this.id||null!==r.id?this.id===r.id:super.isSimilar(r)&&this.priority==r.priority}_clone(r=!1){const c=super._clone(r);return c._priority=this._priority,c._id=this._id,c}}function A1(){if(O2(this))return null;let m=this.parent;for(;m&&m.is("attributeElement");){if(O2(m)>1)return null;m=m.parent}return!m||O2(m)>1?null:this.childCount}function O2(m){return Array.from(m.getChildren()).filter(r=>!r.is("uiElement")).length}tm.DEFAULT_PRIORITY=10,tm.prototype.is=function(m,r){return r?r===this.name&&("attributeElement"===m||"view:attributeElement"===m||"element"===m||"view:element"===m):"attributeElement"===m||"view:attributeElement"===m||"element"===m||"view:element"===m||"node"===m||"view:node"===m};class E2 extends Xc{constructor(r,c,u,_){super(r,c,u,_),this.getFillerOffset=Eg}_insertChild(r,c){if(c&&(c instanceof Ro||Array.from(c).length>0))throw new nt("view-emptyelement-cannot-add",[this,c]);return 0}}function Eg(){return null}E2.prototype.is=function(m,r){return r?r===this.name&&("emptyElement"===m||"view:emptyElement"===m||"element"===m||"view:element"===m):"emptyElement"===m||"view:emptyElement"===m||"element"===m||"view:element"===m||"node"===m||"view:node"===m};class S_ extends Xc{constructor(r,c,u,_){super(r,c,u,_),this.getFillerOffset=jr}_insertChild(r,c){if(c&&(c instanceof Ro||Array.from(c).length>0))throw new nt("view-uielement-cannot-add",[this,c]);return 0}render(r,c){return this.toDomElement(r)}toDomElement(r){const c=r.createElement(this.name);for(const u of this.getAttributeKeys())c.setAttribute(u,this.getAttribute(u));return c}}function jr(){return null}S_.prototype.is=function(m,r){return r?r===this.name&&("uiElement"===m||"view:uiElement"===m||"element"===m||"view:element"===m):"uiElement"===m||"view:uiElement"===m||"element"===m||"view:element"===m||"node"===m||"view:node"===m};class yd extends Xc{constructor(r,c,u,_){super(r,c,u,_),this.getFillerOffset=L_}_insertChild(r,c){if(c&&(c instanceof Ro||Array.from(c).length>0))throw new nt("view-rawelement-cannot-add",[this,c]);return 0}render(r,c){}}function L_(){return null}yd.prototype.is=function(m,r){return r?r===this.name&&("rawElement"===m||"view:rawElement"===m||"element"===m||"view:element"===m):"rawElement"===m||"view:rawElement"===m||m===this.name||m==="view:"+this.name||"element"===m||"view:element"===m||"node"===m||"view:node"===m};class Td extends(Oe(ni)){constructor(r,c){super(),this._children=[],this._customProperties=new Map,this.document=r,c&&this._insertChild(0,c)}[Symbol.iterator](){return this._children[Symbol.iterator]()}get childCount(){return this._children.length}get isEmpty(){return 0===this.childCount}get root(){return this}get parent(){return null}get name(){}getCustomProperty(r){return this._customProperties.get(r)}*getCustomProperties(){yield*this._customProperties.entries()}_appendChild(r){return this._insertChild(this.childCount,r)}getChild(r){return this._children[r]}getChildIndex(r){return this._children.indexOf(r)}getChildren(){return this._children[Symbol.iterator]()}_insertChild(r,c){this._fireChange("children",this);let u=0;const _=(x=this.document,"string"==typeof(M=c)?[new Eo(x,M)]:(it(M)||(M=[M]),Array.from(M).map(E=>"string"==typeof E?new Eo(x,E):E instanceof Ha?new Eo(x,E.data):E)));var x,M;for(const x of _)null!==x.parent&&x._remove(),x.parent=this,this._children.splice(r,0,x),r++,u++;return u}_removeChildren(r,c=1){this._fireChange("children",this);for(let u=r;u{const F=M[M.length-1],V=!E.is("uiElement");return F&&F.breakAttributes==V?F.nodes.push(E):M.push({breakAttributes:V,nodes:[E]}),M},[]);let _=null,x=r;for(const{nodes:M,breakAttributes:E}of u){const F=this._insertNodes(x,M,E);_||(_=F.start),x=F.end}return _?new Ma(_,x):new Ma(r)}remove(r){const c=r instanceof Ma?r:Ma._createOn(r);if(Cp(c,this.document),c.isCollapsed)return new Td(this.document);const{start:u,end:_}=this._breakAttributesRange(c,!0),E=u.parent._removeChildren(u.offset,_.offset-u.offset);for(const V of E)this._removeFromClonedElementsGroup(V);const F=this.mergeAttributes(u);return c.start=F,c.end=F.clone(),new Td(this.document,E)}clear(r,c){Cp(r,this.document);const u=r.getWalker({direction:"backward",ignoreElementEnd:!0});for(const _ of u){const x=_.item;let M;if(x.is("element")&&c.isSimilar(x))M=Ma._createOn(x);else if(!_.nextPosition.isAfter(r.start)&&x.is("$textProxy")){const E=x.getAncestors().find(F=>F.is("element")&&c.isSimilar(F));E&&(M=Ma._createIn(E))}M&&(M.end.isAfter(r.end)&&(M.end=r.end),M.start.isBefore(r.start)&&(M.start=r.start),this.remove(M))}}move(r,c){let u;if(c.isAfter(r.end)){const _=(c=this._breakAttributes(c,!0)).parent,x=_.childCount;r=this._breakAttributesRange(r,!0),u=this.remove(r),c.offset+=_.childCount-x}else u=this.remove(r);return this.insert(c,u)}wrap(r,c){if(!(c instanceof tm))throw new nt("view-writer-wrap-invalid-attribute",this.document);if(Cp(r,this.document),r.isCollapsed){let _=r.start;_.parent.is("element")&&!Array.from(_.parent.getChildren()).some(M=>!M.is("uiElement"))&&(_=_.getLastMatchingPosition(M=>M.item.is("uiElement"))),_=this._wrapPosition(_,c);const x=this.document.selection;return x.isCollapsed&&x.getFirstPosition().isEqual(r.start)&&this.setSelection(_),new Ma(_)}return this._wrapRange(r,c)}unwrap(r,c){if(!(c instanceof tm))throw new nt("view-writer-unwrap-invalid-attribute",this.document);if(Cp(r,this.document),r.isCollapsed)return r;const{start:u,end:_}=this._breakAttributesRange(r,!0),M=this._unwrapChildren(u.parent,u.offset,_.offset,c),E=this.mergeAttributes(M.start);E.isEqual(M.start)||M.end.offset--;const F=this.mergeAttributes(M.end);return new Ma(E,F)}rename(r,c){const u=new vp(this.document,r,c.getAttributes());return this.insert(Uo._createAfter(c),u),this.move(Ma._createIn(c),Uo._createAt(u,0)),this.remove(Ma._createOn(c)),u}clearClonedElementsGroup(r){this._cloneGroups.delete(r)}createPositionAt(r,c){return Uo._createAt(r,c)}createPositionAfter(r){return Uo._createAfter(r)}createPositionBefore(r){return Uo._createBefore(r)}createRange(r,c){return new Ma(r,c)}createRangeOn(r){return Ma._createOn(r)}createRangeIn(r){return Ma._createIn(r)}createSelection(...r){return new ju(...r)}createSlot(r="children"){if(!this._slotFactory)throw new nt("view-writer-invalid-create-slot-context",this.document);return this._slotFactory(this,r)}_registerSlotFactory(r){this._slotFactory=r}_clearSlotFactory(){this._slotFactory=null}_insertNodes(r,c,u){let _,x;if(_=u?_s(r):r.parent.is("$text")?r.parent.parent:r.parent,!_)throw new nt("view-writer-invalid-position-container",this.document);x=u?this._breakAttributes(r,!0):r.parent.is("$text")?Zc(r):r;const M=_._insertChild(x.offset,c);for(const W of c)this._addToClonedElementsGroup(W);const E=x.getShiftedBy(M),F=this.mergeAttributes(x);F.isEqual(x)||E.offset--;const V=this.mergeAttributes(E);return new Ma(F,V)}_wrapChildren(r,c,u,_){let x=c;const M=[];for(;x!1,r.parent._insertChild(r.offset,u);const _=new Ma(r,r.getShiftedBy(1));this.wrap(_,c);const x=new Uo(u.parent,u.index);u._remove();const M=x.nodeBefore,E=x.nodeAfter;return M instanceof Eo&&E instanceof Eo?Cr(M,E):Xo(x)}_wrapAttributeElement(r,c){if(!dc(r,c)||r.name!==c.name||r.priority!==c.priority)return!1;for(const u of r.getAttributeKeys())if("class"!==u&&"style"!==u&&c.hasAttribute(u)&&c.getAttribute(u)!==r.getAttribute(u))return!1;for(const u of r.getStyleNames())if(c.hasStyle(u)&&c.getStyle(u)!==r.getStyle(u))return!1;for(const u of r.getAttributeKeys())"class"!==u&&"style"!==u&&(c.hasAttribute(u)||this.setAttribute(u,r.getAttribute(u),c));for(const u of r.getStyleNames())c.hasStyle(u)||this.setStyle(u,r.getStyle(u),c);for(const u of r.getClassNames())c.hasClass(u)||this.addClass(u,c);return!0}_unwrapAttributeElement(r,c){if(!dc(r,c)||r.name!==c.name||r.priority!==c.priority)return!1;for(const u of r.getAttributeKeys())if("class"!==u&&"style"!==u&&(!c.hasAttribute(u)||c.getAttribute(u)!==r.getAttribute(u)))return!1;if(!c.hasClass(...r.getClassNames()))return!1;for(const u of r.getStyleNames())if(!c.hasStyle(u)||c.getStyle(u)!==r.getStyle(u))return!1;for(const u of r.getAttributeKeys())"class"!==u&&"style"!==u&&this.removeAttribute(u,c);return this.removeClass(Array.from(r.getClassNames()),c),this.removeStyle(Array.from(r.getStyleNames()),c),!0}_breakAttributesRange(r,c=!1){const u=r.start,_=r.end;if(Cp(r,this.document),r.isCollapsed){const F=this._breakAttributes(r.start,c);return new Ma(F,F)}const x=this._breakAttributes(_,c),M=x.parent.childCount,E=this._breakAttributes(u,c);return x.offset+=x.parent.childCount-M,new Ma(E,x)}_breakAttributes(r,c=!1){const u=r.offset,_=r.parent;if(r.parent.is("emptyElement"))throw new nt("view-writer-cannot-break-empty-element",this.document);if(r.parent.is("uiElement"))throw new nt("view-writer-cannot-break-ui-element",this.document);if(r.parent.is("rawElement"))throw new nt("view-writer-cannot-break-raw-element",this.document);if(!c&&_.is("$text")&&jd(_.parent)||jd(_))return r.clone();if(_.is("$text"))return this._breakAttributes(Zc(r),c);if(u==_.childCount){const x=new Uo(_.parent,_.index+1);return this._breakAttributes(x,c)}if(0===u){const x=new Uo(_.parent,_.index);return this._breakAttributes(x,c)}{const x=_.index+1,M=_._clone();_.parent._insertChild(x,M),this._addToClonedElementsGroup(M);const F=_._removeChildren(u,_.childCount-u);M._appendChild(F);const V=new Uo(_.parent,x);return this._breakAttributes(V,c)}}_addToClonedElementsGroup(r){if(!r.root.is("rootElement"))return;if(r.is("element"))for(const _ of r.getChildren())this._addToClonedElementsGroup(_);const c=r.id;if(!c)return;let u=this._cloneGroups.get(c);u||(u=new Set,this._cloneGroups.set(c,u)),u.add(r),r._clonesGroup=u}_removeFromClonedElementsGroup(r){if(r.is("element"))for(const _ of r.getChildren())this._removeFromClonedElementsGroup(_);const c=r.id;if(!c)return;const u=this._cloneGroups.get(c);u&&u.delete(r)}}function _s(m){let r=m.parent;for(;!jd(r);){if(!r)return;r=r.parent}return r}function Ys(m,r){return m.priorityr.priority)&&m.getIdentity()c instanceof u))throw new nt("view-writer-insert-invalid-node-type",r);c.is("$text")||tl(c.getChildren(),r)}}function jd(m){return m&&(m.is("containerElement")||m.is("documentFragment"))}function Cp(m,r){const c=_s(m.start),u=_s(m.end);if(!c||!u||c!==u)throw new nt("view-writer-invalid-range-container",r)}function dc(m,r){return null===m.id&&null===r.id}const R1=m=>m.createTextNode("\xa0"),Ig=m=>{const r=m.createElement("span");return r.dataset.ckeFiller="true",r.innerText="\xa0",r},O_=m=>{const r=m.createElement("br");return r.dataset.ckeFiller="true",r},H1="\u2060".repeat(7);function Pu(m){return"string"==typeof m?m.substr(0,7)===H1:me(m)&&m.data.substr(0,7)===H1}function zm(m){return 7==m.data.length&&Pu(m)}function I2(m){const r="string"==typeof m?m:m.data;return Pu(m)?r.slice(7):r}function Pl(m,r){if(r.keyCode==Ka.arrowleft){const c=r.domTarget.ownerDocument.defaultView.getSelection();if(1==c.rangeCount&&c.getRangeAt(0).collapsed){const u=c.getRangeAt(0).startContainer,_=c.getRangeAt(0).startOffset;Pu(u)&&_<=7&&c.collapse(u,0)}}}var Jl=v(9315);No()(Jl.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class F2 extends(Ue()){constructor(r,c){super(),this.domDocuments=new Set,this.markedAttributes=new Set,this.markedChildren=new Set,this.markedTexts=new Set,this._inlineFiller=null,this._fakeSelectionContainer=null,this.domConverter=r,this.selection=c,this.set("isFocused",!1),this.set("isSelecting",!1),D_isBlink&&!D_isAndroid&&this.on("change:isSelecting",()=>{this.isSelecting||this.render()}),this.set("isComposing",!1),this.on("change:isComposing",()=>{this.isComposing||this.render()})}markToSync(r,c){if("text"===r)this.domConverter.mapViewToDom(c.parent)&&this.markedTexts.add(c);else{if(!this.domConverter.mapViewToDom(c))return;if("attributes"===r)this.markedAttributes.add(c);else{if("children"!==r)throw new nt("view-renderer-unknown-type",this);this.markedChildren.add(c)}}}render(){if(this.isComposing&&!D_isAndroid)return;let r=null;const c=!(D_isBlink&&!D_isAndroid&&this.isSelecting);for(const u of this.markedChildren)this._updateChildrenMappings(u);c?(this._inlineFiller&&!this._isSelectionInInlineFiller()&&this._removeInlineFiller(),this._inlineFiller?r=this._getInlineFillerPosition():this._needsInlineFillerAtSelection()&&(r=this.selection.getFirstPosition(),this.markedChildren.add(r.parent))):this._inlineFiller&&this._inlineFiller.parentNode&&(r=this.domConverter.domPositionToView(this._inlineFiller),r&&r.parent.is("$text")&&(r=Uo._createBefore(r.parent)));for(const u of this.markedAttributes)this._updateAttrs(u);for(const u of this.markedChildren)this._updateChildren(u,{inlineFillerPosition:r});for(const u of this.markedTexts)!this.markedChildren.has(u.parent)&&this.domConverter.mapViewToDom(u.parent)&&this._updateText(u,{inlineFillerPosition:r});if(c)if(r){const u=this.domConverter.viewPositionToDom(r),_=u.parent.ownerDocument;this._inlineFiller=Pu(u.parent)?u.parent:Gu(_,u.parent,u.offset)}else this._inlineFiller=null;this._updateFocus(),this._updateSelection(),this.markedTexts.clear(),this.markedAttributes.clear(),this.markedChildren.clear()}_updateChildrenMappings(r){const c=this.domConverter.mapViewToDom(r);if(!c)return;const u=Array.from(c.childNodes),_=Array.from(this.domConverter.viewChildrenToDom(r,{withChildren:!1})),x=this._diffNodeLists(u,_),M=this._findUpdateActions(x,u,_,I3);if(-1!==M.indexOf("update")){const E={equal:0,insert:0,delete:0};for(const F of M)if("update"===F){const V=E.equal+E.insert,W=E.equal+E.delete,dt=r.getChild(V);!dt||dt.is("uiElement")||dt.is("rawElement")||this._updateElementMappings(dt,u[W]),is(_[V]),E.equal++}else E[F]++}}_updateElementMappings(r,c){this.domConverter.unbindDomElement(c),this.domConverter.bindElements(c,r),this.markedChildren.add(r),this.markedAttributes.add(r)}_getInlineFillerPosition(){const r=this.selection.getFirstPosition();return r.parent.is("$text")?Uo._createBefore(r.parent):r}_isSelectionInInlineFiller(){if(1!=this.selection.rangeCount||!this.selection.isCollapsed)return!1;const r=this.selection.getFirstPosition(),c=this.domConverter.viewPositionToDom(r);return!!(c&&me(c.parent)&&Pu(c.parent))}_removeInlineFiller(){const r=this._inlineFiller;if(!Pu(r))throw new nt("view-renderer-filler-was-lost",this);zm(r)?r.remove():r.data=r.data.substr(7),this._inlineFiller=null}_needsInlineFillerAtSelection(){if(1!=this.selection.rangeCount||!this.selection.isCollapsed)return!1;const r=this.selection.getFirstPosition(),c=r.parent,u=r.offset;if(!this.domConverter.mapViewToDom(c.root)||!c.is("element")||!function(M){if("false"==M.getAttribute("contenteditable"))return!1;const E=M.findAncestor(F=>F.hasAttribute("contenteditable"));return!E||"true"==E.getAttribute("contenteditable")}(c)||u===c.getFillerOffset())return!1;const _=r.nodeBefore,x=r.nodeAfter;return!(_ instanceof Eo||x instanceof Eo||D_isAndroid&&(_||x))}_updateText(r,c){const u=this.domConverter.findCorrespondingDomText(r);let _=this.domConverter.viewToDom(r).data;const x=c.inlineFillerPosition;x&&x.parent==r.parent&&x.offset==r.index&&(_=H1+_),Ap(u,_)}_updateAttrs(r){const c=this.domConverter.mapViewToDom(r);if(!c)return;const u=Array.from(c.attributes).map(x=>x.name),_=r.getAttributeKeys();for(const x of _)this.domConverter.setDomElementAttribute(c,x,r.getAttribute(x),r);for(const x of u)r.hasAttribute(x)||this.domConverter.removeDomElementAttribute(c,x)}_updateChildren(r,c){const u=this.domConverter.mapViewToDom(r);if(!u)return;if(D_isAndroid){let dt=null;for(const Zt of Array.from(u.childNodes)){if(dt&&me(dt)&&me(Zt)){u.normalize();break}dt=Zt}}const _=c.inlineFillerPosition,x=u.childNodes,M=Array.from(this.domConverter.viewChildrenToDom(r,{bind:!0}));_&&_.parent===r&&Gu(u.ownerDocument,M,_.offset);const E=this._diffNodeLists(x,M),F=this._findUpdateActions(E,x,M,E_);let V=0;const W=new Set;for(const dt of F)"delete"===dt?(W.add(x[V]),is(x[V])):"equal"!==dt&&"update"!==dt||V++;V=0;for(const dt of F)"insert"===dt?(yo(u,V,M[V]),V++):"update"===dt?(Ap(x[V],M[V].data),V++):"equal"===dt&&(this._markDescendantTextToSync(this.domConverter.domToView(M[V])),V++);for(const dt of W)dt.parentNode||this.domConverter.unbindDomElement(dt)}_diffNodeLists(r,c){return K(r=function(u,_){const x=Array.from(u);return 0==x.length||!_||x[x.length-1]==_&&x.pop(),x}(r,this._fakeSelectionContainer),c,I_.bind(null,this.domConverter))}_findUpdateActions(r,c,u,_){if(-1===r.indexOf("insert")||-1===r.indexOf("delete"))return r;let x=[],M=[],E=[];const F={equal:0,insert:0,delete:0};for(const V of r)"insert"===V?E.push(u[F.equal+F.insert]):"delete"===V?M.push(c[F.equal+F.delete]):(x=x.concat(K(M,E,_).map(W=>"equal"===W?"update":W)),x.push("equal"),M=[],E=[]),F[V]++;return x.concat(K(M,E,_).map(V=>"equal"===V?"update":V))}_markDescendantTextToSync(r){if(r)if(r.is("$text"))this.markedTexts.add(r);else if(r.is("element"))for(const c of r.getChildren())this._markDescendantTextToSync(c)}_updateSelection(){if(D_isBlink&&!D_isAndroid&&this.isSelecting&&!this.markedChildren.size)return;if(0===this.selection.rangeCount)return this._removeDomSelection(),void this._removeFakeSelection();const r=this.domConverter.mapViewToDom(this.selection.editableElement);this.isFocused&&r&&(this.selection.isFake?this._updateFakeSelection(r):this._fakeSelectionContainer&&this._fakeSelectionContainer.isConnected?(this._removeFakeSelection(),this._updateDomSelection(r)):this.isComposing&&D_isAndroid||this._updateDomSelection(r))}_updateFakeSelection(r){const c=r.ownerDocument;this._fakeSelectionContainer||(this._fakeSelectionContainer=function(M){const E=M.createElement("div");return E.className="ck-fake-selection-container",Object.assign(E.style,{position:"fixed",top:0,left:"-9999px",width:"42px"}),E.textContent="\xa0",E}(c));const u=this._fakeSelectionContainer;if(this.domConverter.bindFakeSelection(u,this.selection),!this._fakeSelectionNeedsUpdate(r))return;u.parentElement&&u.parentElement==r||r.appendChild(u),u.textContent=this.selection.fakeSelectionLabel||"\xa0";const _=c.getSelection(),x=c.createRange();_.removeAllRanges(),x.selectNodeContents(u),_.addRange(x)}_updateDomSelection(r){const c=r.ownerDocument.defaultView.getSelection();if(!this._domSelectionNeedsUpdate(c))return;const u=this.domConverter.viewPositionToDom(this.selection.anchor),_=this.domConverter.viewPositionToDom(this.selection.focus);c.setBaseAndExtent(u.parent,u.offset,_.parent,_.offset),D_isGecko&&function(x,M){const E=x.parent;if(E.nodeType!=Node.ELEMENT_NODE||x.offset!=E.childNodes.length-1)return;const F=E.childNodes[x.offset];F&&"BR"==F.tagName&&M.addRange(M.getRangeAt(0))}(_,c)}_domSelectionNeedsUpdate(r){if(!this.domConverter.isDomSelectionCorrect(r))return!0;const c=r&&this.domConverter.domSelectionToView(r);return!(c&&this.selection.isEqual(c)||!this.selection.isCollapsed&&this.selection.isSimilar(c))}_fakeSelectionNeedsUpdate(r){const c=this._fakeSelectionContainer,u=r.ownerDocument.getSelection();return!c||c.parentElement!==r||u.anchorNode!==c&&!c.contains(u.anchorNode)||c.textContent!==this.selection.fakeSelectionLabel}_removeDomSelection(){for(const r of this.domDocuments){const c=r.getSelection();if(c.rangeCount){const u=r.activeElement,_=this.domConverter.mapDomToView(u);u&&_&&c.removeAllRanges()}}}_removeFakeSelection(){const r=this._fakeSelectionContainer;r&&r.remove()}_updateFocus(){if(this.isFocused){const r=this.selection.editableElement;r&&this.domConverter.focus(r)}}}function Gu(m,r,c){const u=r instanceof Array?r:r.childNodes,_=u[c];if(me(_))return _.data=H1+_.data,_;{const x=m.createTextNode(H1);return Array.isArray(r)?u.splice(c,0,x):yo(r,c,x),x}}function I3(m,r){return ge(m)&&ge(r)&&!me(m)&&!me(r)&&!ga(m)&&!ga(r)&&m.tagName.toLowerCase()===r.tagName.toLowerCase()}function E_(m,r){return ge(m)&&ge(r)&&me(m)&&me(r)}function I_(m,r,c){return r===c||(me(r)&&me(c)?r.data===c.data:!(!m.isBlockFiller(r)||!m.isBlockFiller(c)))}function Ap(m,r){const c=m.data;if(c==r)return;const u=I(c,r);for(const _ of u)"insert"===_.type?m.insertData(_.index,_.values.join("")):m.deleteData(_.index,_.howMany)}const N3=O_(Mt.document),y1=R1(Mt.document),Jd=Ig(Mt.document),N_="data-ck-unsafe-attribute-",Bf="data-ck-unsafe-element";class F_{constructor(r,{blockFillerMode:c,renderingMode:u="editing"}={}){this._domToViewMapping=new WeakMap,this._viewToDomMapping=new WeakMap,this._fakeSelectionMapping=new WeakMap,this._rawContentElementMatcher=new ps,this._inlineObjectElementMatcher=new ps,this.document=r,this.renderingMode=u,this.blockFillerMode=c||("editing"===u?"br":"nbsp"),this.preElements=["pre"],this.blockElements=["address","article","aside","blockquote","caption","center","dd","details","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","legend","li","main","menu","nav","ol","p","pre","section","summary","table","tbody","td","tfoot","th","thead","tr","ul"],this.inlineObjectElements=["object","iframe","input","button","textarea","select","option","video","embed","audio","img","canvas"],this.unsafeElements=["script","style"],this._domDocument="editing"===this.renderingMode?Mt.document:Mt.document.implementation.createHTMLDocument("")}bindFakeSelection(r,c){this._fakeSelectionMapping.set(r,new ju(c))}fakeSelectionToView(r){return this._fakeSelectionMapping.get(r)}bindElements(r,c){this._domToViewMapping.set(r,c),this._viewToDomMapping.set(c,r)}unbindDomElement(r){const c=this._domToViewMapping.get(r);if(c){this._domToViewMapping.delete(r),this._viewToDomMapping.delete(c);for(const u of Array.from(r.children))this.unbindDomElement(u)}}bindDocumentFragments(r,c){this._domToViewMapping.set(r,c),this._viewToDomMapping.set(c,r)}shouldRenderAttribute(r,c,u){return"data"===this.renderingMode||!(r=r.toLowerCase()).startsWith("on")&&("srcdoc"!==r||!c.match(/\bon\S+\s*=|javascript:|<\s*\/*script/i))&&("img"===u&&("src"===r||"srcset"===r)||"source"===u&&"srcset"===r||!c.match(/^\s*(javascript:|data:(image\/svg|text\/x?html))/i))}setContentOf(r,c){if("data"===this.renderingMode)return void(r.innerHTML=c);const u=(new DOMParser).parseFromString(c,"text/html"),_=u.createDocumentFragment(),x=u.body.childNodes;for(;x.length>0;)_.appendChild(x[0]);const M=u.createTreeWalker(_,NodeFilter.SHOW_ELEMENT),E=[];let F;for(;F=M.nextNode();)E.push(F);for(const V of E){for(const dt of V.getAttributeNames())this.setDomElementAttribute(V,dt,V.getAttribute(dt));const W=V.tagName.toLowerCase();this._shouldRenameElement(W)&&(yp(W),V.replaceWith(this._createReplacementDomElement(W,V)))}for(;r.firstChild;)r.firstChild.remove();r.append(_)}viewToDom(r,c={}){if(r.is("$text")){const u=this._processDataFromViewText(r);return this._domDocument.createTextNode(u)}{if(this.mapViewToDom(r))return this.mapViewToDom(r);let u;if(r.is("documentFragment"))u=this._domDocument.createDocumentFragment(),c.bind&&this.bindDocumentFragments(u,r);else{if(r.is("uiElement"))return u="$comment"===r.name?this._domDocument.createComment(r.getCustomProperty("$rawContent")):r.render(this._domDocument,this),c.bind&&this.bindElements(u,r),u;this._shouldRenameElement(r.name)?(yp(r.name),u=this._createReplacementDomElement(r.name)):u=r.hasAttribute("xmlns")?this._domDocument.createElementNS(r.getAttribute("xmlns"),r.name):this._domDocument.createElement(r.name),r.is("rawElement")&&r.render(u,this),c.bind&&this.bindElements(u,r);for(const _ of r.getAttributeKeys())this.setDomElementAttribute(u,_,r.getAttribute(_),r)}if(!1!==c.withChildren)for(const _ of this.viewChildrenToDom(r,c))u.appendChild(_);return u}}setDomElementAttribute(r,c,u,_){const x=this.shouldRenderAttribute(c,u,r.tagName.toLowerCase())||_&&_.shouldRenderUnsafeAttribute(c);x||Tt("domconverter-unsafe-attribute-detected",{domElement:r,key:c,value:u}),function(M){try{Mt.document.createAttribute(M)}catch{return!1}return!0}(c)?(r.hasAttribute(c)&&!x?r.removeAttribute(c):r.hasAttribute(N_+c)&&x&&r.removeAttribute(N_+c),r.setAttribute(x?c:N_+c,u)):Tt("domconverter-invalid-attribute-detected",{domElement:r,key:c,value:u})}removeDomElementAttribute(r,c){c!=Bf&&(r.removeAttribute(c),r.removeAttribute(N_+c))}*viewChildrenToDom(r,c={}){const u=r.getFillerOffset&&r.getFillerOffset();let _=0;for(const x of r.getChildren()){u===_&&(yield this._getBlockFiller());const M=x.is("element")&&!!x.getCustomProperty("dataPipeline:transparentRendering")&&!as(x.getAttributes());M&&"data"==this.renderingMode?yield*this.viewChildrenToDom(x,c):(M&&Tt("domconverter-transparent-rendering-unsupported-in-editing-pipeline",{viewElement:x}),yield this.viewToDom(x,c)),_++}u===_&&(yield this._getBlockFiller())}viewRangeToDom(r){const c=this.viewPositionToDom(r.start),u=this.viewPositionToDom(r.end),_=this._domDocument.createRange();return _.setStart(c.parent,c.offset),_.setEnd(u.parent,u.offset),_}viewPositionToDom(r){const c=r.parent;if(c.is("$text")){const u=this.findCorrespondingDomText(c);if(!u)return null;let _=r.offset;return Pu(u)&&(_+=7),{parent:u,offset:_}}{let u,_,x;if(0===r.offset){if(u=this.mapViewToDom(c),!u)return null;x=u.childNodes[0]}else{const M=r.nodeBefore;if(_=M.is("$text")?this.findCorrespondingDomText(M):this.mapViewToDom(M),!_)return null;u=_.parentNode,x=_.nextSibling}return me(x)&&Pu(x)?{parent:x,offset:7}:{parent:u,offset:_?xo(_)+1:0}}}domToView(r,c={}){const u=[],_=this._domToView(r,c,u),x=_.next().value;return x?(_.next(),this._processDomInlineNodes(null,u,c),x.is("$text")&&0==x.data.length?null:x):null}*domChildrenToView(r,c={},u=[]){for(let _=0;_{const{scrollLeft:E,scrollTop:F}=M;x.push([E,F])}),c.focus(),F3(c,M=>{const[E,F]=x.shift();M.scrollLeft=E,M.scrollTop=F}),Mt.window.scrollTo(u,_)}}_clearDomSelection(){const r=this.mapViewToDom(this.document.selection.editableElement);if(!r)return;const c=r.ownerDocument.defaultView.getSelection(),u=this.domSelectionToView(c);u&&u.rangeCount>0&&c.removeAllRanges()}isElement(r){return r&&r.nodeType==Node.ELEMENT_NODE}isDocumentFragment(r){return r&&r.nodeType==Node.DOCUMENT_FRAGMENT_NODE}isBlockFiller(r){return"br"==this.blockFillerMode?r.isEqualNode(N3):!("BR"!==r.tagName||!z1(r,this.blockElements)||1!==r.parentNode.childNodes.length)||r.isEqualNode(Jd)||(u=this.blockElements,(c=r).isEqualNode(y1)&&z1(c,u)&&1===c.parentNode.childNodes.length);var c,u}isDomSelectionBackward(r){if(r.isCollapsed)return!1;const c=this._domDocument.createRange();try{c.setStart(r.anchorNode,r.anchorOffset),c.setEnd(r.focusNode,r.focusOffset)}catch{return!1}const u=c.collapsed;return c.detach(),u}getHostViewElement(r){const c=function(u){const _=[];let x=u;for(;x&&x.nodeType!=Node.DOCUMENT_NODE;)_.unshift(x),x=x.parentNode;return _}(r);for(c.pop();c.length;){const u=c.pop(),_=this._domToViewMapping.get(u);if(_&&(_.is("uiElement")||_.is("rawElement")))return _}return null}isDomSelectionCorrect(r){return this._isDomSelectionPositionCorrect(r.anchorNode,r.anchorOffset)&&this._isDomSelectionPositionCorrect(r.focusNode,r.focusOffset)}registerRawContentMatcher(r){this._rawContentElementMatcher.add(r)}registerInlineObjectMatcher(r){this._inlineObjectElementMatcher.add(r)}_getBlockFiller(){switch(this.blockFillerMode){case"nbsp":return R1(this._domDocument);case"markedNbsp":return Ig(this._domDocument);case"br":return O_(this._domDocument)}}_isDomSelectionPositionCorrect(r,c){if(me(r)&&Pu(r)&&c<7||this.isElement(r)&&Pu(r.childNodes[c]))return!1;const u=this.mapDomToView(r);return!u||!u.is("uiElement")&&!u.is("rawElement")}*_domToView(r,c,u){if(this.isBlockFiller(r))return null;const _=this.getHostViewElement(r);if(_)return _;if(ga(r)&&c.skipComments)return null;if(me(r)){if(zm(r))return null;{const x=r.data;if(""===x)return null;const M=new Eo(this.document,x);return u.push(M),M}}{let x=this.mapDomToView(r);if(x)return this._isInlineObjectElement(x)&&u.push(x),x;if(this.isDocumentFragment(r))x=new Td(this.document),c.bind&&this.bindDocumentFragments(r,x);else{x=this._createViewElement(r,c),c.bind&&this.bindElements(r,x);const E=r.attributes;if(E)for(let F=E.length,V=0;V0?c[x-1]:null,W=x+1this.preElements.includes(u.name)))return c;if(" "==c.charAt(0)){const u=this._getTouchingInlineViewNode(r,!1);!(u&&u.is("$textProxy")&&this._nodeEndsWithSpace(u))&&u||(c="\xa0"+c.substr(1))}if(" "==c.charAt(c.length-1)){const u=this._getTouchingInlineViewNode(r,!0),_=u&&u.is("$textProxy")&&" "==u.data.charAt(0);" "!=c.charAt(c.length-2)&&u&&!_||(c=c.substr(0,c.length-1)+"\xa0")}return c.replace(/ {2}/g," \xa0")}_nodeEndsWithSpace(r){if(r.getAncestors().some(u=>this.preElements.includes(u.name)))return!1;const c=this._processDataFromViewText(r);return" "==c.charAt(c.length-1)}_getTouchingInlineViewNode(r,c){const u=new Kp({startPosition:c?Uo._createAfter(r):Uo._createBefore(r),direction:c?"forward":"backward"});for(const _ of u){if(_.item.is("element","br"))return null;if(this._isInlineObjectElement(_.item))return _.item;if(_.item.is("containerElement"))return null;if(_.item.is("$textProxy"))return _.item}return null}_isBlockDomElement(r){return this.isElement(r)&&this.blockElements.includes(r.tagName.toLowerCase())}_isBlockViewElement(r){return r.is("element")&&this.blockElements.includes(r.name)}_isInlineObjectElement(r){return!!r.is("element")&&("br"==r.name||this.inlineObjectElements.includes(r.name)||!!this._inlineObjectElementMatcher.match(r))}_createViewElement(r,c){if(ga(r))return new S_(this.document,"$comment");const u=c.keepOriginalCase?r.tagName:r.tagName.toLowerCase();return new Xc(this.document,u)}_isViewElementWithRawContent(r,c){return!1!==c.withChildren&&r.is("element")&&!!this._rawContentElementMatcher.match(r)}_shouldRenameElement(r){const c=r.toLowerCase();return"editing"===this.renderingMode&&this.unsafeElements.includes(c)}_createReplacementDomElement(r,c){const u=this._domDocument.createElement("span");if(u.setAttribute(Bf,r),c){for(;c.firstChild;)u.appendChild(c.firstChild);for(const _ of c.getAttributeNames())u.setAttribute(_,c.getAttribute(_))}return u}}function Vf(m,r){return m.getAncestors().some(c=>c.is("element")&&r.includes(c.name))}function F3(m,r){let c=m;for(;c;)r(c),c=c.parentElement}function z1(m,r){const c=m.parentNode;return!!c&&!!c.tagName&&r.includes(c.tagName.toLowerCase())}function yp(m){"script"===m&&Tt("domconverter-unsafe-script-element-detected"),"style"===m&&Tt("domconverter-unsafe-style-element-detected")}class Qu extends(Xi()){constructor(r){super(),this._isEnabled=!1,this.view=r,this.document=r.document}get isEnabled(){return this._isEnabled}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}destroy(){this.disable(),this.stopListening()}checkShouldIgnoreEventFromTarget(r){return r&&3===r.nodeType&&(r=r.parentNode),!(!r||1!==r.nodeType)&&r.matches("[data-cke-ignore-events], [data-cke-ignore-events] *")}}const q2=qf(function(m,r){Vs(r,us(r),m)});class pc{constructor(r,c,u){this.view=r,this.document=r.document,this.domEvent=c,this.domTarget=c.target,q2(this,u)}get target(){return this.view.domConverter.mapDomToView(this.domTarget)}preventDefault(){this.domEvent.preventDefault()}stopPropagation(){this.domEvent.stopPropagation()}}class Wu extends Qu{constructor(){super(...arguments),this.useCapture=!1}observe(r){("string"==typeof this.domEventType?[this.domEventType]:this.domEventType).forEach(c=>{this.listenTo(r,c,(u,_)=>{this.isEnabled&&!this.checkShouldIgnoreEventFromTarget(_.target)&&this.onDomEvent(_)},{useCapture:this.useCapture})})}stopObserving(r){this.stopListening(r)}fire(r,c,u){this.isEnabled&&this.document.fire(r,new pc(this.view,c,u))}}class T1 extends Wu{constructor(){super(...arguments),this.domEventType=["keydown","keyup"]}onDomEvent(r){this.fire(r.type,r,{keyCode:r.keyCode,altKey:r.altKey,ctrlKey:r.ctrlKey,shiftKey:r.shiftKey,metaKey:r.metaKey,get keystroke(){return Tc(this)}})}}const wd=function(){return oe.Date.now()};var uu=/\s/,nm=/^\s+/;var q3=/^[-+]0x[0-9a-f]+$/i,z6=/^0b[01]+$/i,Av=/^0o[0-7]+$/i,jf=parseInt;const Lu=function(m){if("number"==typeof m)return m;if(Wn(m))return NaN;if(Wt(m)){var r="function"==typeof m.valueOf?m.valueOf():m;m=Wt(r)?r+"":r}if("string"!=typeof m)return 0===m?m:+m;m=function(m){return m&&m.slice(0,function(m){for(var r=m.length;r--&&uu.test(m.charAt(r)););return r}(m)+1).replace(nm,"")}(m);var c=z6.test(m);return c||Av.test(m)?jf(m.slice(2),c?2:8):q3.test(m)?NaN:+m};var R3=Math.max,Y6=Math.min;const R_=function(m,r,c){var u,_,x,M,E,F,V=0,W=!1,dt=!1,Zt=!0;if("function"!=typeof m)throw new TypeError("Expected a function");function ue(di){var Ri=u,Go=_;return u=_=void 0,V=di,M=m.apply(Go,Ri)}function Ae(di){var Ri=di-F;return void 0===F||Ri>=r||Ri<0||dt&&di-V>=x}function Ie(){var Ri,Go,di=wd();if(Ae(di))return ln(di);E=setTimeout(Ie,(Go=r-((Ri=di)-F),dt?Y6(Go,x-(Ri-V)):Go))}function ln(di){return E=void 0,Zt&&u?ue(di):(u=_=void 0,M)}function Dn(){var Go,di=wd(),Ri=Ae(di);if(u=arguments,_=this,F=di,Ri){if(void 0===E)return V=Go=F,E=setTimeout(Ie,r),W?ue(Go):M;if(dt)return clearTimeout(E),E=setTimeout(Ie,r),ue(F)}return void 0===E&&(E=setTimeout(Ie,r)),M}return r=Lu(r)||0,Wt(c)&&(W=!!c.leading,x=(dt="maxWait"in c)?R3(Lu(c.maxWait)||0,r):x,Zt="trailing"in c?!!c.trailing:Zt),Dn.cancel=function(){void 0!==E&&clearTimeout(E),V=0,u=F=_=E=void 0},Dn.flush=function(){return void 0===E?M:ln(wd())},Dn};class B6 extends Qu{constructor(r){super(r),this._fireSelectionChangeDoneDebounced=R_(c=>{this.document.fire("selectionChangeDone",c)},200)}observe(){const r=this.document;r.on("arrowKey",(c,u)=>{r.selection.isFake&&this.isEnabled&&u.preventDefault()},{context:"$capture"}),r.on("arrowKey",(c,u)=>{r.selection.isFake&&this.isEnabled&&this._handleSelectionMove(u.keyCode)},{priority:"lowest"})}stopObserving(){}destroy(){super.destroy(),this._fireSelectionChangeDoneDebounced.cancel()}_handleSelectionMove(r){const c=this.document.selection,u=new ju(c.getRanges(),{backward:c.isBackward,fake:!1});r!=Ka.arrowleft&&r!=Ka.arrowup||u.setTo(u.getFirstPosition()),r!=Ka.arrowright&&r!=Ka.arrowdown||u.setTo(u.getLastPosition());const _={oldSelection:c,newSelection:u,domSelection:null};this.document.fire("selectionChange",_),this._fireSelectionChangeDoneDebounced(_)}}function Tp(m){var r=-1,c=null==m?0:m.length;for(this.__data__=new Fs;++rE))return!1;var V=x.get(m),W=x.get(r);if(V&&W)return V==r&&W==m;var dt=-1,Zt=!0,ue=2&c?new Fg:void 0;for(x.set(m,r),x.set(r,m);++dt{this._isFocusChanging=!0,this._renderTimeoutId=setTimeout(()=>{this.flush(),r.change(()=>{})},50)}),c.on("blur",(u,_)=>{const x=c.selection.editableElement;null!==x&&x!==_.target||(c.isFocused=!1,this._isFocusChanging=!1,r.change(()=>{}))})}flush(){this._isFocusChanging&&(this._isFocusChanging=!1,this.document.isFocused=!0)}onDomEvent(r){this.fire(r.type,r)}destroy(){this._renderTimeoutId&&clearTimeout(this._renderTimeoutId),super.destroy()}}class w1 extends Qu{constructor(r){super(r),this.mutationObserver=r.getObserver(ia),this.focusObserver=r.getObserver(z_),this.selection=this.document.selection,this.domConverter=r.domConverter,this._documents=new WeakSet,this._fireSelectionChangeDoneDebounced=R_(c=>{this.document.fire("selectionChangeDone",c)},200),this._clearInfiniteLoopInterval=setInterval(()=>this._clearInfiniteLoop(),1e3),this._documentIsSelectingInactivityTimeoutDebounced=R_(()=>this.document.isSelecting=!1,5e3),this._loopbackCounter=0}observe(r){const c=r.ownerDocument,u=()=>{this.document.isSelecting&&(this._handleSelectionChange(null,c),this.document.isSelecting=!1,this._documentIsSelectingInactivityTimeoutDebounced.cancel())};this.listenTo(r,"selectstart",()=>{this.document.isSelecting=!0,this._documentIsSelectingInactivityTimeoutDebounced()},{priority:"highest"}),this.listenTo(r,"keydown",u,{priority:"highest",useCapture:!0}),this.listenTo(r,"keyup",u,{priority:"highest",useCapture:!0}),this._documents.has(c)||(this.listenTo(c,"mouseup",u,{priority:"highest",useCapture:!0}),this.listenTo(c,"selectionchange",(_,x)=>{this.document.isComposing&&!D_isAndroid||(this._handleSelectionChange(x,c),this._documentIsSelectingInactivityTimeoutDebounced())}),this._documents.add(c))}stopObserving(r){this.stopListening(r)}destroy(){super.destroy(),clearInterval(this._clearInfiniteLoopInterval),this._fireSelectionChangeDoneDebounced.cancel(),this._documentIsSelectingInactivityTimeoutDebounced.cancel()}_reportInfiniteLoop(){}_handleSelectionChange(r,c){if(!this.isEnabled)return;const u=c.defaultView.getSelection();if(this.checkShouldIgnoreEventFromTarget(u.anchorNode))return;this.mutationObserver.flush();const _=this.domConverter.domSelectionToView(u);if(0!=_.rangeCount){if(this.view.hasDomSelection=!0,this.focusObserver.flush(),!this.selection.isEqual(_)||!this.domConverter.isDomSelectionCorrect(u))if(++this._loopbackCounter>60)this._reportInfiniteLoop();else if(this.selection.isSimilar(_))this.view.forceRender();else{const x={oldSelection:this.selection,newSelection:_,domSelection:u};this.document.fire("selectionChange",x),this._fireSelectionChangeDoneDebounced(x)}}else this.view.hasDomSelection=!1}_clearInfiniteLoop(){this._loopbackCounter=0}}class wp extends Wu{constructor(r){super(r),this.domEventType=["compositionstart","compositionupdate","compositionend"];const c=this.document;c.on("compositionstart",()=>{c.isComposing=!0},{priority:"low"}),c.on("compositionend",()=>{c.isComposing=!1},{priority:"low"})}onDomEvent(r){this.fire(r.type,r,{data:r.data})}}class mc{constructor(r,c={}){this._files=c.cacheFiles?Yg(r):null,this._native=r}get files(){return this._files||(this._files=Yg(this._native)),this._files}get types(){return this._native.types}getData(r){return this._native.getData(r)}setData(r,c){this._native.setData(r,c)}set effectAllowed(r){this._native.effectAllowed=r}get effectAllowed(){return this._native.effectAllowed}set dropEffect(r){this._native.dropEffect=r}get dropEffect(){return this._native.dropEffect}setDragImage(r,c,u){this._native.setDragImage(r,c,u)}get isCanceled(){return"none"==this._native.dropEffect||!!this._native.mozUserCancelled}}function Yg(m){const r=Array.from(m.files||[]),c=Array.from(m.items||[]);return r.length?r:c.filter(u=>"file"===u.kind).map(u=>u.getAsFile())}class Bg extends Wu{constructor(){super(...arguments),this.domEventType="beforeinput"}onDomEvent(r){const c=r.getTargetRanges(),u=this.view,_=u.document;let x=null,M=null,E=[];if(r.dataTransfer&&(x=new mc(r.dataTransfer)),null!==r.data?M=r.data:x&&(M=x.getData("text/plain")),_.selection.isFake)E=Array.from(_.selection.getRanges());else if(c.length)E=c.map(F=>{const V=u.domConverter.domPositionToView(F.startContainer,F.startOffset),W=u.domConverter.domPositionToView(F.endContainer,F.endOffset);return V?u.createRange(V,W):W?u.createRange(W):void 0}).filter(F=>!!F);else if(D_isAndroid){const F=r.target.ownerDocument.defaultView.getSelection();E=Array.from(u.domConverter.domSelectionToView(F).getRanges())}if(D_isAndroid&&"insertCompositionText"==r.inputType&&M&&M.endsWith("\n"))this.fire(r.type,r,{inputType:"insertParagraph",targetRanges:[u.createRange(E[0].end)]});else if("insertText"==r.inputType&&M&&M.includes("\n")){const F=M.split(/\n{1,2}/g);let V=E;for(let W=0;W{if(this.isEnabled&&((_=u.keyCode)==Ka.arrowright||_==Ka.arrowleft||_==Ka.arrowup||_==Ka.arrowdown)){const x=new xp(this.document,"arrowKey",this.document.selection.getFirstRange());this.document.fire(x,u),x.stop.called&&c.stop()}var _})}observe(){}stopObserving(){}}class Qf extends Qu{constructor(r){super(r);const c=this.document;c.on("keydown",(u,_)=>{if(!this.isEnabled||_.keyCode!=Ka.tab||_.ctrlKey)return;const x=new xp(c,"tab",c.selection.getFirstRange());c.fire(x,_),x.stop.called&&u.stop()})}observe(){}stopObserving(){}}const U1=function(m){return Pi(m,5)};class Vg extends(Ue()){constructor(r){super(),this.domRoots=new Map,this._initialDomRootAttributes=new WeakMap,this._observers=new Map,this._ongoingChange=!1,this._postFixersInProgress=!1,this._renderingDisabled=!1,this._hasChangedSinceTheLastRendering=!1,this.document=new Xp(r),this.domConverter=new F_(this.document),this.set("isRenderingInProgress",!1),this.set("hasDomSelection",!1),this._renderer=new F2(this.domConverter,this.document.selection),this._renderer.bind("isFocused","isSelecting","isComposing").to(this.document,"isFocused","isSelecting","isComposing"),this._writer=new Hm(this.document),this.addObserver(ia),this.addObserver(z_),this.addObserver(w1),this.addObserver(T1),this.addObserver(B6),this.addObserver(wp),this.addObserver(Tv),this.addObserver(Bg),this.addObserver(Qf),this.document.on("arrowKey",Pl,{priority:"low"}),function Uc(m){m.document.on("arrowKey",(r,c)=>function(u,_,x){if(_.keyCode==Ka.arrowright){const M=_.domTarget.ownerDocument.defaultView.getSelection(),E=1==M.rangeCount&&M.getRangeAt(0).collapsed;if(E||_.shiftKey){const W=x.domPositionToView(M.focusNode,M.focusOffset);if(null===W)return;let dt=!1;const Zt=W.getLastMatchingPosition(ue=>(ue.item.is("uiElement")&&(dt=!0),!(!ue.item.is("uiElement")&&!ue.item.is("attributeElement"))));if(dt){const ue=x.viewPositionToDom(Zt);E?M.collapse(ue.parent,ue.offset):M.extend(ue.parent,ue.offset)}}}}(0,c,m.domConverter),{priority:"low"})}(this),this.on("render",()=>{this._render(),this.document.fire("layoutChanged"),this._hasChangedSinceTheLastRendering=!1}),this.listenTo(this.document.selection,"change",()=>{this._hasChangedSinceTheLastRendering=!0}),this.listenTo(this.document,"change:isFocused",()=>{this._hasChangedSinceTheLastRendering=!0}),D_isiOS&&this.listenTo(this.document,"blur",(c,u)=>{this.domConverter.mapDomToView(u.domEvent.relatedTarget)||this.domConverter._clearDomSelection()})}attachDomRoot(r,c="main"){const u=this.document.getRoot(c);u._name=r.tagName.toLowerCase();const _={};for(const{name:M,value:E}of Array.from(r.attributes))_[M]=E,"class"===M?this._writer.addClass(E.split(" "),u):this._writer.setAttribute(M,E,u);this._initialDomRootAttributes.set(r,_);const x=()=>{this._writer.setAttribute("contenteditable",(!u.isReadOnly).toString(),u),u.isReadOnly?this._writer.addClass("ck-read-only",u):this._writer.removeClass("ck-read-only",u)};x(),this.domRoots.set(c,r),this.domConverter.bindElements(r,u),this._renderer.markToSync("children",u),this._renderer.markToSync("attributes",u),this._renderer.domDocuments.add(r.ownerDocument),u.on("change:children",(M,E)=>this._renderer.markToSync("children",E)),u.on("change:attributes",(M,E)=>this._renderer.markToSync("attributes",E)),u.on("change:text",(M,E)=>this._renderer.markToSync("text",E)),u.on("change:isReadOnly",()=>this.change(x)),u.on("change",()=>{this._hasChangedSinceTheLastRendering=!0});for(const M of this._observers.values())M.observe(r,c)}detachDomRoot(r){const c=this.domRoots.get(r);Array.from(c.attributes).forEach(({name:_})=>c.removeAttribute(_));const u=this._initialDomRootAttributes.get(c);for(const _ in u)c.setAttribute(_,u[_]);this.domRoots.delete(r),this.domConverter.unbindDomElement(c);for(const _ of this._observers.values())_.stopObserving(c)}getDomRoot(r="main"){return this.domRoots.get(r)}addObserver(r){let c=this._observers.get(r);if(c)return c;c=new r(this),this._observers.set(r,c);for(const[u,_]of this.domRoots)c.observe(_,u);return c.enable(),c}getObserver(r){return this._observers.get(r)}disableObservers(){for(const r of this._observers.values())r.disable()}enableObservers(){for(const r of this._observers.values())r.enable()}scrollToTheSelection({alignToTop:r,forceScroll:c,viewportOffset:u=20,ancestorOffset:_=20}={}){const x=this.document.selection.getFirstRange();if(!x)return;const M=U1({alignToTop:r,forceScroll:c,viewportOffset:u,ancestorOffset:_});"number"==typeof u&&(u={top:u,bottom:u,left:u,right:u});const E={target:this.domConverter.viewRangeToDom(x),viewportOffset:u,ancestorOffset:_,alignToTop:r,forceScroll:c};this.fire("scrollToTheSelection",E,M),function({target:F,viewportOffset:V=0,ancestorOffset:W=0,alignToTop:dt,forceScroll:Zt}){const ue=cr(F);let Ae=ue,Ie=null;for(V="number"==typeof(ln=V)?{top:ln,bottom:ln,left:ln,right:ln}:ln;Ae;){let ln;ln=lr(Ae==ue?F:Ie),Hr({parent:ln,getRect:()=>As(F,Ae),alignToTop:dt,ancestorOffset:W,forceScroll:Zt});const Dn=As(F,Ae);if(ds({window:Ae,rect:Dn,viewportOffset:V,alignToTop:dt,forceScroll:Zt}),Ae.parent!=Ae){if(Ie=Ae.frameElement,Ae=Ae.parent,!Ie)return}else Ae=null}var ln}(E)}focus(){if(!this.document.isFocused){const r=this.document.selection.editableElement;r&&(this.domConverter.focus(r),this.forceRender())}}change(r){if(this.isRenderingInProgress||this._postFixersInProgress)throw new nt("cannot-change-view-tree",this);try{if(this._ongoingChange)return r(this._writer);this._ongoingChange=!0;const c=r(this._writer);return this._ongoingChange=!1,!this._renderingDisabled&&this._hasChangedSinceTheLastRendering&&(this._postFixersInProgress=!0,this.document._callPostFixers(this._writer),this._postFixersInProgress=!1,this.fire("render")),c}catch(c){nt.rethrowUnexpectedError(c,this)}}forceRender(){this._hasChangedSinceTheLastRendering=!0,this.getObserver(z_).flush(),this.change(()=>{})}destroy(){for(const r of this._observers.values())r.destroy();this.document.destroy(),this.stopListening()}createPositionAt(r,c){return Uo._createAt(r,c)}createPositionAfter(r){return Uo._createAfter(r)}createPositionBefore(r){return Uo._createBefore(r)}createRange(r,c){return new Ma(r,c)}createRangeOn(r){return Ma._createOn(r)}createRangeIn(r){return Ma._createIn(r)}createSelection(...r){return new ju(...r)}_disableRendering(r){this._renderingDisabled=r,0==r&&this.change(()=>{})}_render(){this.isRenderingInProgress=!0,this.disableObservers(),this._renderer.render(),this.enableObservers(),this.isRenderingInProgress=!1}}class Up{is(){throw new Error("is() method is abstract")}}class oc extends Up{constructor(r){super(),this.parent=null,this._attrs=Kc(r)}get document(){return null}get index(){let r;if(!this.parent)return null;if(null===(r=this.parent.getChildIndex(this)))throw new nt("model-node-not-found-in-parent",this);return r}get startOffset(){let r;if(!this.parent)return null;if(null===(r=this.parent.getChildStartOffset(this)))throw new nt("model-node-not-found-in-parent",this);return r}get offsetSize(){return 1}get endOffset(){return this.parent?this.startOffset+this.offsetSize:null}get nextSibling(){const r=this.index;return null!==r&&this.parent.getChild(r+1)||null}get previousSibling(){const r=this.index;return null!==r&&this.parent.getChild(r-1)||null}get root(){let r=this;for(;r.parent;)r=r.parent;return r}isAttached(){return null!==this.parent&&this.root.isAttached()}getPath(){const r=[];let c=this;for(;c.parent;)r.unshift(c.startOffset),c=c.parent;return r}getAncestors(r={}){const c=[];let u=r.includeSelf?this:this.parent;for(;u;)c[r.parentFirst?"push":"unshift"](u),u=u.parent;return c}getCommonAncestor(r,c={}){const u=this.getAncestors(c),_=r.getAncestors(c);let x=0;for(;u[x]==_[x]&&u[x];)x++;return 0===x?null:u[x-1]}isBefore(r){if(this==r||this.root!==r.root)return!1;const c=this.getPath(),u=r.getPath(),_=ct(c,u);switch(_){case"prefix":return!0;case"extension":return!1;default:return c[_](c[u[0]]=u[1],c),{})),r}_clone(r){return new this.constructor(this._attrs)}_remove(){this.parent._removeChildren(this.index)}_setAttribute(r,c){this._attrs.set(r,c)}_setAttributesTo(r){this._attrs=Kc(r)}_removeAttribute(r){return this._attrs.delete(r)}_clearAttributes(){this._attrs.clear()}}oc.prototype.is=function(m){return"node"===m||"model:node"===m};class am{constructor(r){this._nodes=[],r&&this._insertNodes(0,r)}[Symbol.iterator](){return this._nodes[Symbol.iterator]()}get length(){return this._nodes.length}get maxOffset(){return this._nodes.reduce((r,c)=>r+c.offsetSize,0)}getNode(r){return this._nodes[r]||null}getNodeIndex(r){const c=this._nodes.indexOf(r);return-1==c?null:c}getNodeStartOffset(r){const c=this.getNodeIndex(r);return null===c?null:this._nodes.slice(0,c).reduce((u,_)=>u+_.offsetSize,0)}indexToOffset(r){if(r==this._nodes.length)return this.maxOffset;const c=this._nodes[r];if(!c)throw new nt("model-nodelist-index-out-of-bounds",this);return this.getNodeStartOffset(c)}offsetToIndex(r){let c=0;for(const u of this._nodes){if(r>=c&&r1e4)return u.slice(0,x).concat(_).concat(u.slice(x+0,u.length));{const E=Array.from(u);return E.splice(x,0,..._),E}}(this._nodes,Array.from(c),r)}_removeNodes(r,c=1){return this._nodes.splice(r,c)}toJSON(){return this._nodes.map(r=>r.toJSON())}}class ss extends oc{constructor(r,c){super(c),this._data=r||""}get offsetSize(){return this.data.length}get data(){return this._data}toJSON(){const r=super.toJSON();return r.data=this.data,r}_clone(){return new ss(this.data,this.getAttributes())}static fromJSON(r){return new ss(r.data,r.attributes)}}ss.prototype.is=function(m){return"$text"===m||"model:$text"===m||"text"===m||"model:text"===m||"node"===m||"model:node"===m};class Ku extends Up{constructor(r,c,u){if(super(),this.textNode=r,c<0||c>r.offsetSize)throw new nt("model-textproxy-wrong-offsetintext",this);if(u<0||c+u>r.offsetSize)throw new nt("model-textproxy-wrong-length",this);this.data=r.data.substring(c,c+u),this.offsetInText=c}get startOffset(){return null!==this.textNode.startOffset?this.textNode.startOffset+this.offsetInText:null}get offsetSize(){return this.data.length}get endOffset(){return null!==this.startOffset?this.startOffset+this.offsetSize:null}get isPartial(){return this.offsetSize!==this.textNode.offsetSize}get parent(){return this.textNode.parent}get root(){return this.textNode.root}getPath(){const r=this.textNode.getPath();return r.length>0&&(r[r.length-1]+=this.offsetInText),r}getAncestors(r={}){const c=[];let u=r.includeSelf?this:this.parent;for(;u;)c[r.parentFirst?"push":"unshift"](u),u=u.parent;return c}hasAttribute(r){return this.textNode.hasAttribute(r)}getAttribute(r){return this.textNode.getAttribute(r)}getAttributes(){return this.textNode.getAttributes()}getAttributeKeys(){return this.textNode.getAttributeKeys()}}Ku.prototype.is=function(m){return"$textProxy"===m||"model:$textProxy"===m||"textProxy"===m||"model:textProxy"===m};class Jr extends oc{constructor(r,c,u){super(c),this._children=new am,this.name=r,u&&this._insertChild(0,u)}get childCount(){return this._children.length}get maxOffset(){return this._children.maxOffset}get isEmpty(){return 0===this.childCount}getChild(r){return this._children.getNode(r)}getChildren(){return this._children[Symbol.iterator]()}getChildIndex(r){return this._children.getNodeIndex(r)}getChildStartOffset(r){return this._children.getNodeStartOffset(r)}offsetToIndex(r){return this._children.offsetToIndex(r)}getNodeByPath(r){let c=this;for(const u of r)c=c.getChild(c.offsetToIndex(u));return c}findAncestor(r,c={}){let u=c.includeSelf?this:this.parent;for(;u;){if(u.name===r)return u;u=u.parent}return null}toJSON(){const r=super.toJSON();if(r.name=this.name,this._children.length>0){r.children=[];for(const c of this._children)r.children.push(c.toJSON())}return r}_clone(r=!1){const c=r?Array.from(this._children).map(u=>u._clone(!0)):void 0;return new Jr(this.name,this.getAttributes(),c)}_appendChild(r){this._insertChild(this.childCount,r)}_insertChild(r,c){const u="string"==typeof(_=c)?[new ss(_)]:(it(_)||(_=[_]),Array.from(_).map(x=>"string"==typeof x?new ss(x):x instanceof Ku?new ss(x.data,x.getAttributes()):x));var _;for(const _ of u)null!==_.parent&&_._remove(),_.parent=this;this._children._insertNodes(r,u)}_removeChildren(r,c=1){const u=this._children._removeNodes(r,c);for(const _ of u)_.parent=null;return u}static fromJSON(r){let c;if(r.children){c=[];for(const u of r.children)c.push(u.name?Jr.fromJSON(u):ss.fromJSON(u))}return new Jr(r.name,r.attributes,c)}}Jr.prototype.is=function(m,r){return r?r===this.name&&("element"===m||"model:element"===m):"element"===m||"model:element"===m||"node"===m||"model:node"===m};class Gd{constructor(r){if(!r||!r.boundaries&&!r.startPosition)throw new nt("model-tree-walker-no-start-position",null);const c=r.direction||"forward";if("forward"!=c&&"backward"!=c)throw new nt("model-tree-walker-unknown-direction",r,{direction:c});this.direction=c,this.boundaries=r.boundaries||null,this._position=r.startPosition?r.startPosition.clone():to._createAt(this.boundaries["backward"==this.direction?"end":"start"]),this.position.stickiness="toNone",this.singleCharacters=!!r.singleCharacters,this.shallow=!!r.shallow,this.ignoreElementEnd=!!r.ignoreElementEnd,this._boundaryStartParent=this.boundaries?this.boundaries.start.parent:null,this._boundaryEndParent=this.boundaries?this.boundaries.end.parent:null,this._visitedParent=this.position.parent}[Symbol.iterator](){return this}get position(){return this._position}skip(r){let c,u,_,x;do{_=this.position,x=this._visitedParent,({done:c,value:u}=this.next())}while(!c&&r(u));c||(this._position=_,this._visitedParent=x)}next(){return"forward"==this.direction?this._next():this._previous()}_next(){const r=this.position,c=this.position.clone(),u=this._visitedParent;if(null===u.parent&&c.offset===u.maxOffset)return{done:!0,value:void 0};if(u===this._boundaryEndParent&&c.offset==this.boundaries.end.offset)return{done:!0,value:void 0};const _=B1(c,u),x=_||Bm(c,u,_);if(x instanceof Jr){if(this.shallow){if(this.boundaries&&this.boundaries.end.isBefore(c))return{done:!0,value:void 0};c.offset++}else c.path.push(0),this._visitedParent=x;return this._position=c,Y1("elementStart",x,r,c,1)}if(x instanceof ss){let M;if(this.singleCharacters)M=1;else{let V=x.endOffset;this._boundaryEndParent==u&&this.boundaries.end.offsetW&&(W=this.boundaries.start.offset),E=c.offset-W}const V=new Ku(M,c.offset-M.startOffset-E,E);return c.offset-=E,this._position=c,Y1("text",V,r,c,E)}return c.path.pop(),this._position=c,this._visitedParent=u.parent,Y1("elementStart",u,r,c,1)}}function Y1(m,r,c,u,_){return{done:!1,value:{type:m,item:r,previousPosition:c,nextPosition:u,length:_}}}class to extends Up{constructor(r,c,u="toNone"){if(super(),!r.is("element")&&!r.is("documentFragment"))throw new nt("model-position-root-invalid",r);if(!(c instanceof Array)||0===c.length)throw new nt("model-position-path-incorrect-format",r,{path:c});r.is("rootElement")?c=c.slice():(c=[...r.getPath(),...c],r=r.root),this.root=r,this.path=c,this.stickiness=u}get offset(){return this.path[this.path.length-1]}set offset(r){this.path[this.path.length-1]=r}get parent(){let r=this.root;for(let c=0;c1)return!1;if(1===_)return rm(r,this,u);if(-1===_)return rm(this,r,u)}return this.path.length===r.path.length||Vm(this.path.length>r.path.length?this.path:r.path,c)}hasSameParentAs(r){return this.root===r.root&&"same"==ct(this.getParentPath(),r.getParentPath())}getTransformedByOperation(r){let c;switch(r.type){case"insert":c=this._getTransformedByInsertOperation(r);break;case"move":case"remove":case"reinsert":c=this._getTransformedByMoveOperation(r);break;case"split":c=this._getTransformedBySplitOperation(r);break;case"merge":c=this._getTransformedByMergeOperation(r);break;default:c=to._createAt(this)}return c}_getTransformedByInsertOperation(r){return this._getTransformedByInsertion(r.position,r.howMany)}_getTransformedByMoveOperation(r){return this._getTransformedByMove(r.sourcePosition,r.targetPosition,r.howMany)}_getTransformedBySplitOperation(r){const c=r.movedRange;return c.containsPosition(this)||c.start.isEqual(this)&&"toNext"==this.stickiness?this._getCombined(r.splitPosition,r.moveTargetPosition):r.graveyardPosition?this._getTransformedByMove(r.graveyardPosition,r.insertionPosition,1):this._getTransformedByInsertion(r.insertionPosition,1)}_getTransformedByMergeOperation(r){const c=r.movedRange;let u;return c.containsPosition(this)||c.start.isEqual(this)?(u=this._getCombined(r.sourcePosition,r.targetPosition),r.sourcePosition.isBefore(r.targetPosition)&&(u=u._getTransformedByDeletion(r.deletionPosition,1))):u=this.isEqual(r.deletionPosition)?to._createAt(r.deletionPosition):this._getTransformedByMove(r.deletionPosition,r.graveyardPosition,1),u}_getTransformedByDeletion(r,c){const u=to._createAt(this);if(this.root!=r.root)return u;if("same"==ct(r.getParentPath(),this.getParentPath())){if(r.offsetthis.offset)return null;u.offset-=c}}else if("prefix"==ct(r.getParentPath(),this.getParentPath())){const _=r.path.length-1;if(r.offset<=this.path[_]){if(r.offset+c>this.path[_])return null;u.path[_]-=c}}return u}_getTransformedByInsertion(r,c){const u=to._createAt(this);if(this.root!=r.root)return u;if("same"==ct(r.getParentPath(),this.getParentPath()))(r.offset=_;){if(u.path[M]+E!==x.maxOffset)return!1;E=1,M--,x=x.parent}return!0}(m,c+1)}function Vm(m,r){for(;rc+1;){const x=_.maxOffset-u.offset;0!==x&&r.push(new Si(u,u.getShiftedBy(x))),u.path=u.path.slice(0,-1),u.offset++,_=_.parent}for(;u.path.length<=this.end.path.length;){const x=this.end.path[u.path.length-1],M=x-u.offset;0!==M&&r.push(new Si(u,u.getShiftedBy(M))),u.offset=x,u.path.push(0)}return r}getWalker(r={}){return r.boundaries=this,new Gd(r)}*getItems(r={}){r.boundaries=this,r.ignoreElementEnd=!0;const c=new Gd(r);for(const u of c)yield u.item}*getPositions(r={}){r.boundaries=this;const c=new Gd(r);yield c.position;for(const u of c)yield u.nextPosition}getTransformedByOperation(r){switch(r.type){case"insert":return this._getTransformedByInsertOperation(r);case"move":case"remove":case"reinsert":return this._getTransformedByMoveOperation(r);case"split":return[this._getTransformedBySplitOperation(r)];case"merge":return[this._getTransformedByMergeOperation(r)]}return[new Si(this.start,this.end)]}getTransformedByOperations(r){const c=[new Si(this.start,this.end)];for(const u of r)for(let _=0;_0?new this(u,_):new this(_,u)}static _createIn(r){return new this(to._createAt(r,0),to._createAt(r,r.maxOffset))}static _createOn(r){return this._createFromPositionAndShift(to._createBefore(r),r.offsetSize)}static _createFromRanges(r){if(0===r.length)throw new nt("range-create-from-ranges-empty-array",null);if(1==r.length)return r[0].clone();const c=r[0];r.sort((x,M)=>x.start.isAfter(M.start)?1:-1);const u=r.indexOf(c),_=new this(c.start,c.end);if(u>0)for(let x=u-1;r[x].end.isEqual(_.start);x++)_.start=to._createAt(r[x].start);for(let x=u+1;x{if(c.viewPosition)return;const u=this._modelToViewMapping.get(c.modelPosition.parent);if(!u)throw new nt("mapping-model-position-view-parent-not-found",this,{modelPosition:c.modelPosition});c.viewPosition=this.findPositionIn(u,c.modelPosition.offset)},{priority:"low"}),this.on("viewToModelPosition",(r,c)=>{if(c.modelPosition)return;const u=this.findMappedViewAncestor(c.viewPosition),_=this._viewToModelMapping.get(u),x=this._toModelOffset(c.viewPosition.parent,c.viewPosition.offset,u);c.modelPosition=to._createAt(_,x)},{priority:"low"})}bindElements(r,c){this._modelToViewMapping.set(r,c),this._viewToModelMapping.set(c,r)}unbindViewElement(r,c={}){const u=this.toModelElement(r);if(this._elementToMarkerNames.has(r))for(const _ of this._elementToMarkerNames.get(r))this._unboundMarkerNames.add(_);c.defer?this._deferredBindingRemovals.set(r,r.root):(this._viewToModelMapping.delete(r),this._modelToViewMapping.get(u)==r&&this._modelToViewMapping.delete(u))}unbindModelElement(r){const c=this.toViewElement(r);this._modelToViewMapping.delete(r),this._viewToModelMapping.get(c)==r&&this._viewToModelMapping.delete(c)}bindElementToMarker(r,c){const u=this._markerNameToElements.get(c)||new Set;u.add(r);const _=this._elementToMarkerNames.get(r)||new Set;_.add(c),this._markerNameToElements.set(c,u),this._elementToMarkerNames.set(r,_)}unbindElementFromMarkerName(r,c){const u=this._markerNameToElements.get(c);u&&(u.delete(r),0==u.size&&this._markerNameToElements.delete(c));const _=this._elementToMarkerNames.get(r);_&&(_.delete(c),0==_.size&&this._elementToMarkerNames.delete(r))}flushUnboundMarkerNames(){const r=Array.from(this._unboundMarkerNames);return this._unboundMarkerNames.clear(),r}flushDeferredBindings(){for(const[r,c]of this._deferredBindingRemovals)r.root==c&&this.unbindViewElement(r);this._deferredBindingRemovals=new Map}clearBindings(){this._modelToViewMapping=new WeakMap,this._viewToModelMapping=new WeakMap,this._markerNameToElements=new Map,this._elementToMarkerNames=new Map,this._unboundMarkerNames=new Set,this._deferredBindingRemovals=new Map}toModelElement(r){return this._viewToModelMapping.get(r)}toViewElement(r){return this._modelToViewMapping.get(r)}toModelRange(r){return new Si(this.toModelPosition(r.start),this.toModelPosition(r.end))}toViewRange(r){return new Ma(this.toViewPosition(r.start),this.toViewPosition(r.end))}toModelPosition(r){const c={viewPosition:r,mapper:this};return this.fire("viewToModelPosition",c),c.modelPosition}toViewPosition(r,c={}){const u={modelPosition:r,mapper:this,isPhantom:c.isPhantom};return this.fire("modelToViewPosition",u),u.viewPosition}markerNameToElements(r){const c=this._markerNameToElements.get(r);if(!c)return null;const u=new Set;for(const _ of c)if(_.is("attributeElement"))for(const x of _.getElementsWithSameId())u.add(x);else u.add(_);return u}registerViewToModelLength(r,c){this._viewToModelLengthCallbacks.set(r,c)}findMappedViewAncestor(r){let c=r.parent;for(;!this._viewToModelMapping.has(c);)c=c.parent;return c}_toModelOffset(r,c,u){if(u!=r)return this._toModelOffset(r.parent,r.index,u)+this._toModelOffset(r,c,r);if(r.is("$text"))return c;let _=0;for(let x=0;x1?r[0]+":"+r[1]:r[0]}var $f=Object.defineProperty,Kf=Object.defineProperties,V6=Object.getOwnPropertyDescriptors,jg=Object.getOwnPropertySymbols,Y2=Object.prototype.hasOwnProperty,Xf=Object.prototype.propertyIsEnumerable,B_=(m,r,c)=>r in m?$f(m,r,{enumerable:!0,configurable:!0,writable:!0,value:c}):m[r]=c,Jg=(m,r)=>{for(var c in r||(r={}))Y2.call(r,c)&&B_(m,c,r[c]);if(jg)for(var c of jg(r))Xf.call(r,c)&&B_(m,c,r[c]);return m},V_=(m,r)=>Kf(m,V6(r));class Gg extends(Oe()){constructor(r){super(),this._conversionApi=Jg({dispatcher:this},r),this._firedEventsMap=new WeakMap}convertChanges(r,c,u){const _=this._createConversionApi(u,r.getRefreshedItems());for(const M of r.getMarkersToRemove())this._convertMarkerRemove(M.name,M.range,_);const x=this._reduceChanges(r.getChanges());for(const M of x)"insert"===M.type?this._convertInsert(Si._createFromPositionAndShift(M.position,M.length),_):"reinsert"===M.type?this._convertReinsert(Si._createFromPositionAndShift(M.position,M.length),_):"remove"===M.type?this._convertRemove(M.position,M.length,M.name,_):this._convertAttribute(M.range,M.attributeKey,M.attributeOldValue,M.attributeNewValue,_);for(const M of _.mapper.flushUnboundMarkerNames()){const E=c.get(M).getRange();this._convertMarkerRemove(M,E,_),this._convertMarkerAdd(M,E,_)}for(const M of r.getMarkersToAdd())this._convertMarkerAdd(M.name,M.range,_);_.mapper.flushDeferredBindings(),_.consumable.verifyAllConsumed("insert")}convert(r,c,u,_={}){const x=this._createConversionApi(u,void 0,_);this._convertInsert(r,x);for(const[M,E]of c)this._convertMarkerAdd(M,E,x);x.consumable.verifyAllConsumed("insert")}convertSelection(r,c,u){const _=this._createConversionApi(u);this.fire("cleanSelection",{selection:r},_);const x=r.getFirstPosition().root;if(!_.mapper.toViewElement(x))return;const M=Array.from(c.getMarkersAtPosition(r.getFirstPosition()));if(this._addConsumablesForSelection(_.consumable,r,M),this.fire("selection",{selection:r},_),r.isCollapsed){for(const E of M)if(_.consumable.test(r,"addMarker:"+E.name)){const F=E.getRange();if(!jm(r.getFirstPosition(),E,_.mapper))continue;this.fire(`addMarker:${E.name}`,{item:r,markerName:E.name,markerRange:F},_)}for(const E of r.getAttributeKeys())if(_.consumable.test(r,"attribute:"+E)){const F={item:r,range:r.getFirstRange(),attributeKey:E,attributeOldValue:null,attributeNewValue:r.getAttribute(E)};this.fire(`attribute:${E}:$text`,F,_)}}}_convertInsert(r,c,u={}){u.doNotAddConsumables||this._addConsumablesForInsert(c.consumable,Array.from(r));for(const _ of Array.from(r.getWalker({shallow:!0})).map(j_))this._testAndFire("insert",_,c)}_convertRemove(r,c,u,_){this.fire(`remove:${u}`,{position:r,length:c},_)}_convertAttribute(r,c,u,_,x){this._addConsumablesForRange(x.consumable,r,`attribute:${c}`);for(const M of r){const E={item:M.item,range:Si._createFromPositionAndShift(M.previousPosition,M.length),attributeKey:c,attributeOldValue:u,attributeNewValue:_};this._testAndFire(`attribute:${c}`,E,x)}}_convertReinsert(r,c){const u=Array.from(r.getWalker({shallow:!0}));this._addConsumablesForInsert(c.consumable,u);for(const _ of u.map(j_))this._testAndFire("insert",V_(Jg({},_),{reconversion:!0}),c)}_convertMarkerAdd(r,c,u){if("$graveyard"==c.root.rootName)return;const _=`addMarker:${r}`;if(u.consumable.add(c,_),this.fire(_,{markerName:r,markerRange:c},u),u.consumable.consume(c,_)){this._addConsumablesForRange(u.consumable,c,_);for(const x of c.getItems()){if(!u.consumable.test(x,_))continue;const M={item:x,range:Si._createOn(x),markerName:r,markerRange:c};this.fire(_,M,u)}}}_convertMarkerRemove(r,c,u){"$graveyard"!=c.root.rootName&&this.fire(`removeMarker:${r}`,{markerName:r,markerRange:c},u)}_reduceChanges(r){const c={changes:r};return this.fire("reduceChanges",c),c.changes}_addConsumablesForInsert(r,c){for(const u of c){const _=u.item;if(null===r.test(_,"insert")){r.add(_,"insert");for(const x of _.getAttributeKeys())r.add(_,"attribute:"+x)}}return r}_addConsumablesForRange(r,c,u){for(const _ of c.getItems())r.add(_,u);return r}_addConsumablesForSelection(r,c,u){r.add(c,"selection");for(const _ of u)r.add(c,"addMarker:"+_.name);for(const _ of c.getAttributeKeys())r.add(c,"attribute:"+_);return r}_testAndFire(r,c,u){const _=`${r}:${(V=c).item.is("element")?V.item.name:"$text"}`,x=c.item.is("$textProxy")?u.consumable._getSymbolForTextProxy(c.item):c.item,M=this._firedEventsMap.get(u),E=M.get(x);var V;if(E){if(E.has(_))return;E.add(_)}else M.set(x,new Set([_]));this.fire(_,c,u)}_testAndFireAddAttributes(r,c){const u={item:r,range:Si._createOn(r)};for(const _ of u.item.getAttributeKeys())u.attributeKey=_,u.attributeOldValue=null,u.attributeNewValue=u.item.getAttribute(_),this._testAndFire(`attribute:${_}`,u,c)}_createConversionApi(r,c=new Set,u={}){const _=V_(Jg({},this._conversionApi),{consumable:new V3,writer:r,options:u,convertItem:x=>this._convertInsert(Si._createOn(x),_),convertChildren:x=>this._convertInsert(Si._createIn(x),_,{doNotAddConsumables:!0}),convertAttributes:x=>this._testAndFireAddAttributes(x,_),canReuseView:x=>!c.has(_.mapper.toModelElement(x))});return this._firedEventsMap.set(_,new Map),_}}function jm(m,r,c){const u=r.getRange(),_=Array.from(m.getAncestors());return _.shift(),_.reverse(),!_.some(x=>{if(u.containsItem(x))return!!c.toViewElement(x).getCustomProperty("addHighlight")})}function j_(m){return{item:m.item,range:Si._createFromPositionAndShift(m.previousPosition,m.length)}}class Ud extends(Oe(Up)){constructor(...r){super(),this._lastRangeBackward=!1,this._attrs=new Map,this._ranges=[],r.length&&this.setTo(...r)}get anchor(){if(this._ranges.length>0){const r=this._ranges[this._ranges.length-1];return this._lastRangeBackward?r.end:r.start}return null}get focus(){if(this._ranges.length>0){const r=this._ranges[this._ranges.length-1];return this._lastRangeBackward?r.start:r.end}return null}get isCollapsed(){return 1===this._ranges.length&&this._ranges[0].isCollapsed}get rangeCount(){return this._ranges.length}get isBackward(){return!this.isCollapsed&&this._lastRangeBackward}isEqual(r){if(this.rangeCount!=r.rangeCount)return!1;if(0===this.rangeCount)return!0;if(!this.anchor.isEqual(r.anchor)||!this.focus.isEqual(r.focus))return!1;for(const c of this._ranges){let u=!1;for(const _ of r._ranges)if(c.isEqual(_)){u=!0;break}if(!u)return!1}return!0}*getRanges(){for(const r of this._ranges)yield new Si(r.start,r.end)}getFirstRange(){let r=null;for(const c of this._ranges)r&&!c.start.isBefore(r.start)||(r=c);return r?new Si(r.start,r.end):null}getLastRange(){let r=null;for(const c of this._ranges)r&&!c.end.isAfter(r.end)||(r=c);return r?new Si(r.start,r.end):null}getFirstPosition(){const r=this.getFirstRange();return r?r.start.clone():null}getLastPosition(){const r=this.getLastRange();return r?r.end.clone():null}setTo(...r){let[c,u,_]=r;if("object"==typeof u&&(_=u,u=void 0),null===c)this._setRanges([]);else if(c instanceof Ud)this._setRanges(c.getRanges(),c.isBackward);else if(c&&"function"==typeof c.getRanges)this._setRanges(c.getRanges(),c.isBackward);else if(c instanceof Si)this._setRanges([c],!!_&&!!_.backward);else if(c instanceof to)this._setRanges([new Si(c)]);else if(c instanceof oc){const x=!!_&&!!_.backward;let M;if("in"==u)M=Si._createIn(c);else if("on"==u)M=Si._createOn(c);else{if(void 0===u)throw new nt("model-selection-setto-required-second-parameter",[this,c]);M=new Si(to._createAt(c,u))}this._setRanges([M],x)}else{if(!it(c))throw new nt("model-selection-setto-not-selectable",[this,c]);this._setRanges(c,_&&!!_.backward)}}_setRanges(r,c=!1){const u=Array.from(r),_=u.some(x=>{if(!(x instanceof Si))throw new nt("model-selection-set-ranges-not-range",[this,r]);return this._ranges.every(M=>!M.isEqual(x))});(u.length!==this._ranges.length||_)&&(this._replaceAllRanges(u),this._lastRangeBackward=!!c,this.fire("change:range",{directChange:!0}))}setFocus(r,c){if(null===this.anchor)throw new nt("model-selection-setfocus-no-ranges",[this,r]);const u=to._createAt(r,c);if("same"==u.compareWith(this.focus))return;const _=this.anchor;this._ranges.length&&this._popRange(),"before"==u.compareWith(_)?(this._pushRange(new Si(u,_)),this._lastRangeBackward=!0):(this._pushRange(new Si(_,u)),this._lastRangeBackward=!1),this.fire("change:range",{directChange:!0})}getAttribute(r){return this._attrs.get(r)}getAttributes(){return this._attrs.entries()}getAttributeKeys(){return this._attrs.keys()}hasAttribute(r){return this._attrs.has(r)}removeAttribute(r){this.hasAttribute(r)&&(this._attrs.delete(r),this.fire("change:attribute",{attributeKeys:[r],directChange:!0}))}setAttribute(r,c){this.getAttribute(r)!==c&&(this._attrs.set(r,c),this.fire("change:attribute",{attributeKeys:[r],directChange:!0}))}getSelectedElement(){return 1!==this.rangeCount?null:this.getFirstRange().getContainedElement()}*getSelectedBlocks(){const r=new WeakSet;for(const c of this.getRanges()){const u=Wg(c.start,r);B2(u,c)&&(yield u);for(const x of c.getWalker()){const M=x.item;"elementEnd"==x.type&&j3(M,r,c)&&(yield M)}const _=Wg(c.end,r);Kg(_,c)&&(yield _)}}containsEntireContent(r=this.anchor.root){const c=to._createAt(r,0),u=to._createAt(r,"end");return c.isTouching(this.getFirstPosition())&&u.isTouching(this.getLastPosition())}_pushRange(r){this._checkRange(r),this._ranges.push(new Si(r.start,r.end))}_checkRange(r){for(let c=0;c0;)this._popRange()}_popRange(){this._ranges.pop()}}function Qg(m,r){return!r.has(m)&&(r.add(m),m.root.document.model.schema.isBlock(m)&&!!m.parent)}function j3(m,r,c){return Qg(m,r)&&$g(m,c)}function Wg(m,r){const c=m.parent.root.document.model.schema,u=m.parent.getAncestors({parentFirst:!0,includeSelf:!0});let _=!1;const x=u.find(M=>!_&&(_=c.isLimit(M),!_&&Qg(M,r)));return u.forEach(M=>r.add(M)),x}function $g(m,r){const c=function(u){const _=u.root.document.model.schema;let x=u.parent;for(;x;){if(_.isBlock(x))return x;x=x.parent}}(m);return!c||!r.containsRange(Si._createOn(c),!0)}function B2(m,r){return!!m&&(!(!r.isCollapsed&&!m.isEmpty)||!r.start.isTouching(to._createAt(m,m.maxOffset))&&$g(m,r))}function Kg(m,r){return!!m&&(!(!r.isCollapsed&&!m.isEmpty)||!r.end.isTouching(to._createAt(m,0))&&$g(m,r))}Ud.prototype.is=function(m){return"selection"===m||"model:selection"===m};class Xu extends(Oe(Si)){constructor(r,c){super(r,c),th.call(this)}detach(){this.stopListening()}toRange(){return new Si(this.start,this.end)}static fromRange(r){return new Xu(r.start,r.end)}}function th(){this.listenTo(this.root.document.model,"applyOperation",(m,r)=>{const c=r[0];c.isDocumentOperation&&J_.call(this,c)},{priority:"low"})}function J_(m){const r=this.getTransformedByOperation(m),c=Si._createFromRanges(r),u=!c.isEqual(this),_=function(M,E){switch(E.type){case"insert":return M.containsPosition(E.position);case"move":case"remove":case"reinsert":case"merge":return M.containsPosition(E.sourcePosition)||M.start.isEqual(E.sourcePosition)||M.containsPosition(E.targetPosition);case"split":return M.containsPosition(E.splitPosition)||M.containsPosition(E.insertionPosition)}return!1}(this,m);let x=null;if(u){"$graveyard"==c.root.rootName&&(x="remove"==m.type?m.sourcePosition:m.deletionPosition);const M=this.toRange();this.start=c.start,this.end=c.end,this.fire("change:range",M,{deletionPosition:x})}else _&&this.fire("change:content",this.toRange(),{deletionPosition:x})}Xu.prototype.is=function(m){return"liveRange"===m||"model:liveRange"===m||"range"==m||"model:range"===m};const V2="selection:";class Ou extends(Oe(Up)){constructor(r){super(),this._selection=new sm(r),this._selection.delegate("change:range").to(this),this._selection.delegate("change:attribute").to(this),this._selection.delegate("change:marker").to(this)}get isCollapsed(){return this._selection.isCollapsed}get anchor(){return this._selection.anchor}get focus(){return this._selection.focus}get rangeCount(){return this._selection.rangeCount}get hasOwnRange(){return this._selection.hasOwnRange}get isBackward(){return this._selection.isBackward}get isGravityOverridden(){return this._selection.isGravityOverridden}get markers(){return this._selection.markers}get _ranges(){return this._selection._ranges}getRanges(){return this._selection.getRanges()}getFirstPosition(){return this._selection.getFirstPosition()}getLastPosition(){return this._selection.getLastPosition()}getFirstRange(){return this._selection.getFirstRange()}getLastRange(){return this._selection.getLastRange()}getSelectedBlocks(){return this._selection.getSelectedBlocks()}getSelectedElement(){return this._selection.getSelectedElement()}containsEntireContent(r){return this._selection.containsEntireContent(r)}destroy(){this._selection.destroy()}getAttributeKeys(){return this._selection.getAttributeKeys()}getAttributes(){return this._selection.getAttributes()}getAttribute(r){return this._selection.getAttribute(r)}hasAttribute(r){return this._selection.hasAttribute(r)}refresh(){this._selection.updateMarkers(),this._selection._updateAttributes(!1)}observeMarkers(r){this._selection.observeMarkers(r)}_setFocus(r,c){this._selection.setFocus(r,c)}_setTo(...r){this._selection.setTo(...r)}_setAttribute(r,c){this._selection.setAttribute(r,c)}_removeAttribute(r){this._selection.removeAttribute(r)}_getStoredAttributes(){return this._selection.getStoredAttributes()}_overrideGravity(){return this._selection.overrideGravity()}_restoreGravity(r){this._selection.restoreGravity(r)}static _getStoreAttributeKey(r){return V2+r}static _isStoreAttributeKey(r){return r.startsWith(V2)}}Ou.prototype.is=function(m){return"selection"===m||"model:selection"==m||"documentSelection"==m||"model:documentSelection"==m};class sm extends Ud{constructor(r){super(),this.markers=new ec({idProperty:"name"}),this._attributePriority=new Map,this._selectionRestorePosition=null,this._hasChangedRange=!1,this._overriddenGravityRegister=new Set,this._observedMarkers=new Set,this._model=r.model,this._document=r,this.listenTo(this._model,"applyOperation",(c,u)=>{const _=u[0];_.isDocumentOperation&&"marker"!=_.type&&"rename"!=_.type&&"noop"!=_.type&&(0==this._ranges.length&&this._selectionRestorePosition&&this._fixGraveyardSelection(this._selectionRestorePosition),this._selectionRestorePosition=null,this._hasChangedRange&&(this._hasChangedRange=!1,this.fire("change:range",{directChange:!1})))},{priority:"lowest"}),this.on("change:range",()=>{this._validateSelectionRanges(this.getRanges())}),this.listenTo(this._model.markers,"update",(c,u,_,x)=>{this._updateMarker(u,x)}),this.listenTo(this._document,"change",(c,u)=>{!function(_,x){const M=_.document.differ;for(const E of M.getChanges()){if("insert"!=E.type)continue;const F=E.position.parent;E.length===F.maxOffset&&_.enqueueChange(x,V=>{const W=Array.from(F.getAttributeKeys()).filter(dt=>dt.startsWith(V2));for(const dt of W)V.removeAttribute(dt,F)})}}(this._model,u)})}get isCollapsed(){return 0===this._ranges.length?this._document._getDefaultRange().isCollapsed:super.isCollapsed}get anchor(){return super.anchor||this._document._getDefaultRange().start}get focus(){return super.focus||this._document._getDefaultRange().end}get rangeCount(){return this._ranges.length?this._ranges.length:1}get hasOwnRange(){return this._ranges.length>0}get isGravityOverridden(){return!!this._overriddenGravityRegister.size}destroy(){for(let r=0;r{if(this._hasChangedRange=!0,c.root==this._document.graveyard){this._selectionRestorePosition=x.deletionPosition;const M=this._ranges.indexOf(c);this._ranges.splice(M,1),c.detach()}}),c}updateMarkers(){if(!this._observedMarkers.size)return;const r=[];let c=!1;for(const _ of this._model.markers){const x=_.name.split(":",1)[0];if(!this._observedMarkers.has(x))continue;const M=_.getRange();for(const E of this.getRanges())M.containsRange(E,!E.isCollapsed)&&r.push(_)}const u=Array.from(this.markers);for(const _ of r)this.markers.has(_)||(this.markers.add(_),c=!0);for(const _ of Array.from(this.markers))r.includes(_)||(this.markers.remove(_),c=!0);c&&this.fire("change:marker",{oldMarkers:u,directChange:!1})}_updateMarker(r,c){const u=r.name.split(":",1)[0];if(!this._observedMarkers.has(u))return;let _=!1;const x=Array.from(this.markers),M=this.markers.has(r);if(c){let E=!1;for(const F of this.getRanges())if(c.containsRange(F,!F.isCollapsed)){E=!0;break}E&&!M?(this.markers.add(r),_=!0):!E&&M&&(this.markers.remove(r),_=!0)}else M&&(this.markers.remove(r),_=!0);_&&this.fire("change:marker",{oldMarkers:x,directChange:!1})}_updateAttributes(r){const c=Kc(this._getSurroundingAttributes()),u=Kc(this.getAttributes());if(r)this._attributePriority=new Map,this._attrs=new Map;else for(const[x,M]of this._attributePriority)"low"==M&&(this._attrs.delete(x),this._attributePriority.delete(x));this._setAttributesTo(c);const _=[];for(const[x,M]of this.getAttributes())u.has(x)&&u.get(x)===M||_.push(x);for(const[x]of u)this.hasAttribute(x)||_.push(x);_.length>0&&this.fire("change:attribute",{attributeKeys:_,directChange:!1})}_setAttribute(r,c,u=!0){const _=u?"normal":"low";return("low"!=_||"normal"!=this._attributePriority.get(r))&&super.getAttribute(r)!==c&&(this._attrs.set(r,c),this._attributePriority.set(r,_),!0)}_removeAttribute(r,c=!0){const u=c?"normal":"low";return!("low"==u&&"normal"==this._attributePriority.get(r)||(this._attributePriority.set(r,u),!super.hasAttribute(r)||(this._attrs.delete(r),0)))}_setAttributesTo(r){const c=new Set;for(const[u,_]of this.getAttributes())r.get(u)!==_&&this._removeAttribute(u,!1);for(const[u,_]of r)this._setAttribute(u,_,!1)&&c.add(u);return c}*getStoredAttributes(){const r=this.getFirstPosition().parent;if(this.isCollapsed&&r.isEmpty)for(const c of r.getAttributeKeys())c.startsWith(V2)&&(yield[c.substr(10),r.getAttribute(c)])}_getSurroundingAttributes(){const r=this.getFirstPosition(),c=this._model.schema;if("$graveyard"==r.root.rootName)return null;let u=null;if(this.isCollapsed){const _=r.textNode?r.textNode:r.nodeBefore,x=r.textNode?r.textNode:r.nodeAfter;if(this.isGravityOverridden||(u=j2(_,c)),u||(u=j2(x,c)),!this.isGravityOverridden&&!u){let M=_;for(;M&&!u;)M=M.previousSibling,u=j2(M,c)}if(!u){let M=x;for(;M&&!u;)M=M.nextSibling,u=j2(M,c)}u||(u=this.getStoredAttributes())}else{const _=this.getFirstRange();for(const x of _){if(x.item.is("element")&&c.isObject(x.item)){u=j2(x.item,c);break}if("text"==x.type){u=x.item.getAttributes();break}}}return u}_fixGraveyardSelection(r){const c=this._model.schema.getNearestSelectionRange(r);c&&this._pushRange(c)}}function j2(m,r){if(!m)return null;if(m instanceof Ku||m instanceof ss)return m.getAttributes();if(!r.isInline(m))return null;if(!r.isObject(m))return[];const c=[];for(const[u,_]of m.getAttributes())r.checkAttribute("$text",u)&&!1!==r.getAttributeProperties(u).copyFromObject&&c.push([u,_]);return c}class no{constructor(r){this._dispatchers=r}add(r){for(const c of this._dispatchers)r(c);return this}}class j6 extends no{elementToElement(r){return this.add(function(c){const u=J2(c.model),_=G2(c.view,"container");return u.attributes.length&&(u.children=!0),x=>{x.on(`insert:${u.name}`,function(M,E=G6){return(F,V,W)=>{if(!E(V.item,W.consumable,{preflight:!0}))return;const dt=M(V.item,W,V);if(!dt)return;E(V.item,W.consumable);const Zt=W.mapper.toViewPosition(V.range.start);W.mapper.bindElements(V.item,dt),W.writer.insert(Zt,dt),W.convertAttributes(V.item),t0(dt,V.item.getChildren(),W,{reconversion:V.reconversion})}}(_,J6(u)),{priority:c.converterPriority||"normal"}),(u.children||u.attributes.length)&&x.on("reduceChanges",J3(u),{priority:"low"})}}(r))}elementToStructure(r){return this.add(function(c){const u=J2(c.model),_=G2(c.view,"container");return u.children=!0,x=>{if(x._conversionApi.schema.checkChild(u.name,"$text"))throw new nt("conversion-element-to-structure-disallowed-text",x,{elementName:u.name});var M,E;x.on(`insert:${u.name}`,(M=_,E=J6(u),(F,V,W)=>{if(!E(V.item,W.consumable,{preflight:!0}))return;const dt=new Map;var Ae,Ie,ln;W.writer._registerSlotFactory((Ae=V.item,Ie=dt,ln=W,(Dn,di)=>{const Ri=Dn.createContainerElement("$slot");let Go=null;if("children"===di)Go=Array.from(Ae.getChildren());else{if("function"!=typeof di)throw new nt("conversion-slot-mode-unknown",ln.dispatcher,{modeOrFilter:di});Go=Array.from(Ae.getChildren()).filter(Da=>di(Da))}return Ie.set(Ri,Go),Ri}));const Zt=M(V.item,W,V);if(W.writer._clearSlotFactory(),!Zt)return;(function(Ae,Ie,ln){const Dn=Array.from(Ie.values()).flat(),di=new Set(Dn);if(di.size!=Dn.length)throw new nt("conversion-slot-filter-overlap",ln.dispatcher,{element:Ae});if(di.size!=Ae.childCount)throw new nt("conversion-slot-filter-incomplete",ln.dispatcher,{element:Ae})})(V.item,dt,W),E(V.item,W.consumable);const ue=W.mapper.toViewPosition(V.range.start);W.mapper.bindElements(V.item,Zt),W.writer.insert(ue,Zt),W.convertAttributes(V.item),function(Ae,Ie,ln,Dn){ln.mapper.on("modelToViewPosition",Go,{priority:"highest"});let di=null,Ri=null;for([di,Ri]of Ie)t0(Ae,Ri,ln,Dn),ln.writer.move(ln.writer.createRangeIn(di),ln.writer.createPositionBefore(di)),ln.writer.remove(di);function Go(Da,ws){const Il=Ri.indexOf(ws.modelPosition.nodeAfter);Il<0||(ws.viewPosition=ws.mapper.findPositionIn(di,Il))}ln.mapper.off("modelToViewPosition",Go)}(Zt,dt,W,{reconversion:V.reconversion})}),{priority:c.converterPriority||"normal"}),x.on("reduceChanges",J3(u),{priority:"low"})}}(r))}attributeToElement(r){return this.add(function(c){let u=(c=U1(c)).model;"string"==typeof u&&(u={key:u});let _=`attribute:${u.key}`;if(u.name&&(_+=":"+u.name),u.values)for(const M of u.values)c.view[M]=G2(c.view[M],"attribute");else c.view=G2(c.view,"attribute");const x=Zp(c);return M=>{var E;M.on(_,(E=x,(F,V,W)=>{if(!W.consumable.test(V.item,F.name))return;const dt=E(V.attributeOldValue,W,V),Zt=E(V.attributeNewValue,W,V);if(!dt&&!Zt)return;W.consumable.consume(V.item,F.name);const ue=W.writer;if(V.item instanceof Ud||V.item instanceof Ou)ue.wrap(ue.document.selection.getFirstRange(),Zt);else{let Ie=W.mapper.toViewRange(V.range);null!==V.attributeOldValue&&dt&&(Ie=ue.unwrap(Ie,dt)),null!==V.attributeNewValue&&Zt&&ue.wrap(Ie,Zt)}}),{priority:c.converterPriority||"normal"})}}(r))}attributeToAttribute(r){return this.add(function(c){let u=(c=U1(c)).model;"string"==typeof u&&(u={key:u});let _=`attribute:${u.key}`;if(u.name&&(_+=":"+u.name),u.values)for(const M of u.values)c.view[M]=V1(c.view[M]);else c.view=V1(c.view);const x=Zp(c);return M=>{var E;M.on(_,(E=x,(F,V,W)=>{if(!W.consumable.test(V.item,F.name))return;const dt=E(V.attributeOldValue,W,V),Zt=E(V.attributeNewValue,W,V);if(!dt&&!Zt)return;W.consumable.consume(V.item,F.name);const ue=W.mapper.toViewElement(V.item),Ae=W.writer;if(!ue)throw new nt("conversion-attribute-to-attribute-on-text",W.dispatcher,V);if(null!==V.attributeOldValue&&dt)if("class"==dt.key){const Ie=Ss(dt.value);for(const ln of Ie)Ae.removeClass(ln,ue)}else if("style"==dt.key){const Ie=Object.keys(dt.value);for(const ln of Ie)Ae.removeStyle(ln,ue)}else Ae.removeAttribute(dt.key,ue);if(null!==V.attributeNewValue&&Zt)if("class"==Zt.key){const Ie=Ss(Zt.value);for(const ln of Ie)Ae.addClass(ln,ue)}else if("style"==Zt.key){const Ie=Object.keys(Zt.value);for(const ln of Ie)Ae.setStyle(ln,Zt.value[ln],ue)}else Ae.setAttribute(Zt.key,Zt.value,ue)}),{priority:c.converterPriority||"normal"})}}(r))}markerToElement(r){return this.add(function(c){const u=G2(c.view,"ui");return _=>{var x;_.on(`addMarker:${c.model}`,(x=u,(M,E,F)=>{E.isOpening=!0;const V=x(E,F);E.isOpening=!1;const W=x(E,F);if(!V||!W)return;const dt=E.markerRange;if(dt.isCollapsed&&!F.consumable.consume(dt,M.name))return;for(const Ae of dt)if(!F.consumable.consume(Ae.item,M.name))return;const Zt=F.mapper,ue=F.writer;ue.insert(Zt.toViewPosition(dt.start),V),F.mapper.bindElementToMarker(V,E.markerName),dt.isCollapsed||(ue.insert(Zt.toViewPosition(dt.end),W),F.mapper.bindElementToMarker(W,E.markerName)),M.stop()}),{priority:c.converterPriority||"normal"}),_.on(`removeMarker:${c.model}`,(M,E,F)=>{const V=F.mapper.markerNameToElements(E.markerName);if(V){for(const W of V)F.mapper.unbindElementFromMarkerName(W,E.markerName),F.writer.clear(F.writer.createRangeOn(W),W);F.writer.clearClonedElementsGroup(E.markerName),M.stop()}},{priority:c.converterPriority||"normal"})}}(r))}markerToHighlight(r){return this.add((c=r,u=>{var _,x;u.on(`addMarker:${c.model}`,(_=c.view,(x,M,E)=>{if(!M.item||!(M.item instanceof Ud||M.item instanceof Ou||M.item.is("$textProxy")))return;const F=Q2(_,M,E);if(!F||!E.consumable.consume(M.item,x.name))return;const V=E.writer,W=Xg(V,F);if(M.item instanceof Ud||M.item instanceof Ou)V.wrap(V.document.selection.getFirstRange(),W);else{const Zt=E.mapper.toViewRange(M.range),ue=V.wrap(Zt,W);for(const Ae of ue.getItems())if(Ae.is("attributeElement")&&Ae.isSimilar(W)){E.mapper.bindElementToMarker(Ae,M.markerName);break}}}),{priority:c.converterPriority||"normal"}),u.on(`addMarker:${c.model}`,(x=c.view,(M,E,F)=>{if(!(E.item&&E.item instanceof Jr))return;const V=Q2(x,E,F);if(!V||!F.consumable.test(E.item,M.name))return;const W=F.mapper.toViewElement(E.item);if(W&&W.getCustomProperty("addHighlight")){F.consumable.consume(E.item,M.name);for(const dt of Si._createIn(E.item))F.consumable.consume(dt.item,M.name);W.getCustomProperty("addHighlight")(W,V,F.writer),F.mapper.bindElementToMarker(W,E.markerName)}}),{priority:c.converterPriority||"normal"}),u.on(`removeMarker:${c.model}`,function(x){return(M,E,F)=>{if(E.markerRange.isCollapsed)return;const V=Q2(x,E,F);if(!V)return;const W=Xg(F.writer,V),dt=F.mapper.markerNameToElements(E.markerName);if(dt){for(const Zt of dt)F.mapper.unbindElementFromMarkerName(Zt,E.markerName),Zt.is("attributeElement")?F.writer.unwrap(F.writer.createRangeOn(Zt),W):Zt.getCustomProperty("removeHighlight")(Zt,V.id,F.writer);F.writer.clearClonedElementsGroup(E.markerName),M.stop()}}}(c.view),{priority:c.converterPriority||"normal"})}));var c}markerToData(r){return this.add(function(c){const u=(c=U1(c)).model;let _=c.view;return _||(_=x=>({group:u,name:x.substr(c.model.length+1)})),x=>{var M,E;x.on(`addMarker:${u}`,(M=_,(E,F,V)=>{const W=M(F.markerName,V);if(!W)return;const dt=F.markerRange;V.consumable.consume(dt,E.name)&&(Eu(dt,!1,V,F,W),Eu(dt,!0,V,F,W),E.stop())}),{priority:c.converterPriority||"normal"}),x.on(`removeMarker:${u}`,(E=_,(F,V,W)=>{const dt=E(V.markerName,W);if(!dt)return;const Zt=W.mapper.markerNameToElements(V.markerName);if(Zt){for(const Ae of Zt)W.mapper.unbindElementFromMarkerName(Ae,V.markerName),Ae.is("containerElement")?(ue(`data-${dt.group}-start-before`,Ae),ue(`data-${dt.group}-start-after`,Ae),ue(`data-${dt.group}-end-before`,Ae),ue(`data-${dt.group}-end-after`,Ae)):W.writer.clear(W.writer.createRangeOn(Ae),Ae);W.writer.clearClonedElementsGroup(V.markerName),F.stop()}function ue(Ae,Ie){if(Ie.hasAttribute(Ae)){const ln=new Set(Ie.getAttribute(Ae).split(","));ln.delete(dt.name),0==ln.size?W.writer.removeAttribute(Ae,Ie):W.writer.setAttribute(Ae,Array.from(ln).join(","),Ie)}}}),{priority:c.converterPriority||"normal"})}}(r))}}function Xg(m,r){const c=m.createAttributeElement("span",r.attributes);return r.classes&&c._addClass(r.classes),"number"==typeof r.priority&&(c._priority=r.priority),c._id=r.id,c}function Eu(m,r,c,u,_){const x=r?m.start:m.end,M=x.nodeAfter&&x.nodeAfter.is("element")?x.nodeAfter:null,E=x.nodeBefore&&x.nodeBefore.is("element")?x.nodeBefore:null;if(M||E){let F,V;r&&M||!r&&!E?(F=M,V=!0):(F=E,V=!1);const W=c.mapper.toViewElement(F);if(W)return void function(dt,Zt,ue,Ae,Ie,ln){const Dn=`data-${ln.group}-${Zt?"start":"end"}-${ue?"before":"after"}`,di=dt.hasAttribute(Dn)?dt.getAttribute(Dn).split(","):[];di.unshift(ln.name),Ae.writer.setAttribute(Dn,di.join(","),dt),Ae.mapper.bindElementToMarker(dt,Ie.markerName)}(W,r,V,c,u,_)}!function(F,V,W,dt,Zt){const Ie=W.writer.createUIElement(`${Zt.group}-${V?"start":"end"}`,Zt.name?{name:Zt.name}:null);W.writer.insert(F,Ie),W.mapper.bindElementToMarker(Ie,dt.markerName)}(c.mapper.toViewPosition(x),r,c,u,_)}function J2(m){return"string"==typeof m&&(m={name:m}),m.attributes?Array.isArray(m.attributes)||(m.attributes=[m.attributes]):m.attributes=[],m.children=!!m.children,m}function G2(m,r){return"function"==typeof m?m:(c,u)=>function(_,x,M){let E;"string"==typeof _&&(_={name:_});const F=x.writer,V=Object.assign({},_.attributes);if(E="container"==M?F.createContainerElement(_.name,V):"attribute"==M?F.createAttributeElement(_.name,V,{priority:_.priority||tm.DEFAULT_PRIORITY}):F.createUIElement(_.name,V),_.styles){const W=Object.keys(_.styles);for(const dt of W)F.setStyle(dt,_.styles[dt],E)}if(_.classes){const W=_.classes;if("string"==typeof W)F.addClass(W,E);else for(const dt of W)F.addClass(dt,E)}return E}(m,u,r)}function Zp(m){return m.model.values?(r,c,u)=>{const _=m.view[r];return _?_(r,c,u):null}:m.view}function V1(m){return"string"==typeof m?r=>({key:m,value:r}):"object"==typeof m?m.value?()=>m:r=>({key:m.key,value:r}):m}function Q2(m,r,c){const u="function"==typeof m?m(r,c):m;return u?(u.priority||(u.priority=10),u.id||(u.id=r.markerName),u):null}function J3(m){const r=(c=m,(u,_)=>{if(!u.is("element",c.name))return!1;if("attribute"==_.type){if(c.attributes.includes(_.attributeKey))return!0}else if(c.children)return!0;return!1});var c;return(c,u)=>{const _=[];u.reconvertedElements||(u.reconvertedElements=new Set);for(const x of u.changes){const M="attribute"==x.type?x.range.start.nodeAfter:x.position.parent;if(M&&r(M,x)){if(!u.reconvertedElements.has(M)){u.reconvertedElements.add(M);const E=to._createBefore(M);let F=_.length;for(let V=_.length-1;V>=0;V--){const W=_[V],dt=("attribute"==W.type?W.range.start:W.position).compareWith(E);if("before"==dt||"remove"==W.type&&"same"==dt)break;F=V}_.splice(F,0,{type:"remove",name:M.name,position:E,length:1},{type:"reinsert",name:M.name,position:E,length:1})}}else _.push(x)}u.changes=_}}function J6(m){return(r,c,u={})=>{const _=["insert"];for(const x of m.attributes)r.hasAttribute(x)&&_.push(`attribute:${x}`);return!!_.every(x=>c.test(r,x))&&(u.preflight||_.forEach(x=>c.consume(r,x)),!0)}}function t0(m,r,c,u){for(const _ of r)cm(m.root,_,c,u)||c.convertItem(_)}function cm(m,r,c,u){const{writer:_,mapper:x}=c;if(!u.reconversion)return!1;const M=x.toViewElement(r);return!(!M||M.root==m||!c.canReuseView(M)||(_.move(_.createRangeOn(M),x.toViewPosition(to._createBefore(r))),0))}function G6(m,r,{preflight:c}={}){return c?r.test(m,"insert"):r.consume(m,"insert")}function eh(m){const{schema:r,document:c}=m.model;for(const u of c.getRoots())if(u.isEmpty&&!r.checkChild(u,"$text")&&r.checkChild(u,"paragraph"))return m.insertElement("paragraph",u),!0;return!1}function W2(m,r,c){const u=c.createContext(m);return!!c.checkChild(u,"paragraph")&&!!c.checkChild(u.push("paragraph"),r)}function e0(m,r){const c=r.createElement("paragraph");return r.insert(c,m),r.createPositionAt(c,0)}var G3=Object.defineProperty,$2=Object.defineProperties,nh=Object.getOwnPropertyDescriptors,ih=Object.getOwnPropertySymbols,Qd=Object.prototype.hasOwnProperty,n0=Object.prototype.propertyIsEnumerable,G_=(m,r,c)=>r in m?G3(m,r,{enumerable:!0,configurable:!0,writable:!0,value:c}):m[r]=c;class Q6 extends no{elementToElement(r){return this.add(Q3(r))}elementToAttribute(r){return this.add(function(c){Sl(c=U1(c));const u=Wd(c,!1),_=oh(c.view),x=_?`element:${_}`:"element";return M=>{M.on(x,u,{priority:c.converterPriority||"low"})}}(r))}attributeToAttribute(r){return this.add(function(c){let u=null;("string"==typeof(c=U1(c)).view||c.view.key)&&(u=function(x){"string"==typeof x.view&&(x.view={key:x.view});const M=x.view.key;let E;return E="class"==M||"style"==M?{["class"==M?"classes":"styles"]:x.view.value}:{attributes:{[M]:void 0===x.view.value?/[\s\S]*/:x.view.value}},x.view.name&&(E.name=x.view.name),x.view=E,M}(c)),Sl(c,u);const _=Wd(c,!0);return x=>{x.on("element",_,{priority:c.converterPriority||"low"})}}(r))}elementToMarker(r){return this.add(function(c){const u=(M=c.model,(E,F)=>{const V="string"==typeof M?M:M(E,F);return F.writer.createElement("$marker",{"data-name":V})});var M,_;return Q3((_=((M,E)=>{for(var F in E||(E={}))Qd.call(E,F)&&G_(M,F,E[F]);if(ih)for(var F of ih(E))n0.call(E,F)&&G_(M,F,E[F]);return M})({},c),$2(_,nh({model:u}))))}(r))}dataToMarker(r){return this.add(function(c){(c=U1(c)).model||(c.model=M=>M?c.view+":"+M:c.view);const u={view:c.view,model:c.model},_=lm(Mp(u,"start")),x=lm(Mp(u,"end"));return M=>{M.on(`element:${c.view}-start`,_,{priority:c.converterPriority||"normal"}),M.on(`element:${c.view}-end`,x,{priority:c.converterPriority||"normal"});const E=Dt.low,F=Dt.highest,V=Dt.get(c.converterPriority)/F;var W;M.on("element",(W=u,(dt,Zt,ue)=>{const Ae=`data-${W.view}`;function Ie(ln,Dn){for(const di of Dn){const Ri=W.model(di,ue),Go=ue.writer.createElement("$marker",{"data-name":Ri});ue.writer.insert(Go,ln),Zt.modelCursor=Zt.modelCursor.isEqual(ln)?Zt.modelCursor.getShiftedBy(1):Zt.modelCursor._getTransformedByInsertion(ln,1),Zt.modelRange=Zt.modelRange._getTransformedByInsertion(ln,1)[0]}}(ue.consumable.test(Zt.viewItem,{attributes:Ae+"-end-after"})||ue.consumable.test(Zt.viewItem,{attributes:Ae+"-start-after"})||ue.consumable.test(Zt.viewItem,{attributes:Ae+"-end-before"})||ue.consumable.test(Zt.viewItem,{attributes:Ae+"-start-before"}))&&(Zt.modelRange||Object.assign(Zt,ue.convertChildren(Zt.viewItem,Zt.modelCursor)),ue.consumable.consume(Zt.viewItem,{attributes:Ae+"-end-after"})&&Ie(Zt.modelRange.end,Zt.viewItem.getAttribute(Ae+"-end-after").split(",")),ue.consumable.consume(Zt.viewItem,{attributes:Ae+"-start-after"})&&Ie(Zt.modelRange.end,Zt.viewItem.getAttribute(Ae+"-start-after").split(",")),ue.consumable.consume(Zt.viewItem,{attributes:Ae+"-end-before"})&&Ie(Zt.modelRange.start,Zt.viewItem.getAttribute(Ae+"-end-before").split(",")),ue.consumable.consume(Zt.viewItem,{attributes:Ae+"-start-before"})&&Ie(Zt.modelRange.start,Zt.viewItem.getAttribute(Ae+"-start-before").split(",")))}),{priority:E+V})}}(r))}}function Q3(m){const r=lm(m=U1(m)),c=oh(m.view),u=c?`element:${c}`:"element";return _=>{_.on(u,r,{priority:m.converterPriority||"normal"})}}function oh(m){return"string"==typeof m?m:"object"==typeof m&&"string"==typeof m.name?m.name:null}function lm(m){const r=new ps(m.view);return(c,u,_)=>{const x=r.match(u.viewItem);if(!x)return;const M=x.match;if(M.name=!0,!_.consumable.test(u.viewItem,M))return;const E=(W=_,(F=m.model)instanceof Function?F(u.viewItem,W):W.writer.createElement(F));var F,W;E&&_.safeInsert(E,u.modelCursor)&&(_.consumable.consume(u.viewItem,M),_.convertChildren(u.viewItem,E),_.updateConversionResult(E,u))}}function Sl(m,r=null){m.model={key:"object"!=typeof m.model?m.model:m.model.key,value:"object"!=typeof m.model||void 0===m.model.value?null===r||(x=>x.getAttribute(r)):m.model.value}}function Wd(m,r){const c=new ps(m.view);return(u,_,x)=>{if(!_.modelRange&&r)return;const M=c.match(_.viewItem);if(!M||(function(W,dt){const Zt="function"==typeof W?W(dt):W;return!("object"==typeof Zt&&!oh(Zt)||Zt.classes||Zt.attributes||Zt.styles)}(m.view,_.viewItem)?M.match.name=!0:delete M.match.name,!x.consumable.test(_.viewItem,M.match)))return;const E=m.model.key,F="function"==typeof m.model.value?m.model.value(_.viewItem,x):m.model.value;null!==F&&(_.modelRange||Object.assign(_,x.convertChildren(_.viewItem,_.modelCursor)),function(W,dt,Zt,ue){let Ae=!1;for(const Ie of Array.from(W.getItems({shallow:Zt})))ue.schema.checkAttribute(Ie,dt.key)&&(Ae=!0,Ie.hasAttribute(dt.key)||ue.writer.setAttribute(dt.key,dt.value,Ie));return Ae}(_.modelRange,{key:E,value:F},r,x)&&(x.consumable.test(_.viewItem,{name:!0})&&(M.match.name=!0),x.consumable.consume(_.viewItem,M.match)))}}function Mp(m,r){return{view:`${m.view}-${r}`,model:(c,u)=>{const _=c.getAttribute("name"),x=m.model(_,u);return u.writer.createElement("$marker",{"data-name":x})}}}function Ga(m,r){return m.isCollapsed?function(c,u){const _=c.start,x=u.getNearestSelectionRange(_);if(!x){const E=_.getAncestors().reverse().find(F=>u.isObject(F));return E?Si._createOn(E):null}if(!x.isCollapsed)return x;const M=x.start;return _.isEqual(M)?null:new Si(M)}(m,r):function(c,u){const{start:_,end:x}=c,M=u.checkChild(_,"$text"),E=u.checkChild(x,"$text"),F=u.getLimitElement(_),V=u.getLimitElement(x);if(F===V){if(M&&E)return null;if(function(Zt,ue,Ae){const Ie=Zt.nodeAfter&&!Ae.isLimit(Zt.nodeAfter)||Ae.checkChild(Zt,"$text"),ln=ue.nodeBefore&&!Ae.isLimit(ue.nodeBefore)||Ae.checkChild(ue,"$text");return Ie||ln}(_,x,u)){const Zt=_.nodeAfter&&u.isSelectable(_.nodeAfter)?null:u.getNearestSelectionRange(_,"forward"),ue=x.nodeBefore&&u.isSelectable(x.nodeBefore)?null:u.getNearestSelectionRange(x,"backward");return new Si(Zt?Zt.start:_,ue?ue.end:x)}}const W=F&&!F.is("rootElement"),dt=V&&!V.is("rootElement");if(W||dt){const Zt=_.nodeAfter&&x.nodeBefore&&_.nodeAfter.parent===x.nodeBefore.parent,ue=W&&(!Zt||!Q_(_.nodeAfter,u)),Ae=dt&&(!Zt||!Q_(x.nodeBefore,u));let Ie=_,ln=x;return ue&&(Ie=to._createBefore(rh(F,u))),Ae&&(ln=to._createAfter(rh(V,u))),new Si(Ie,ln)}return null}(m,r)}function rh(m,r){let c=m,u=c;for(;r.isLimit(u)&&u.parent;)c=u,u=u.parent;return c}function Q_(m,r){return m&&r.isSelectable(m)}class um extends(Ue()){constructor(r,c){super(),this.model=r,this.view=new Vg(c),this.mapper=new B3,this.downcastDispatcher=new Gg({mapper:this.mapper,schema:r.schema});const u=this.model.document,_=u.selection,x=this.model.markers;var M,E,F,V,W;this.listenTo(this.model,"_beforeChanges",()=>{this.view._disableRendering(!0)},{priority:"highest"}),this.listenTo(this.model,"_afterChanges",()=>{this.view._disableRendering(!1)},{priority:"lowest"}),this.listenTo(u,"change",()=>{this.view.change(V=>{this.downcastDispatcher.convertChanges(u.differ,x,V),this.downcastDispatcher.convertSelection(_,x,V)})},{priority:"low"}),this.listenTo(this.view.document,"selectionChange",(V=this.model,W=this.mapper,(dt,Zt)=>{const ue=Zt.newSelection,Ae=[];for(const ln of ue.getRanges())Ae.push(W.toModelRange(ln));const Ie=V.createSelection(Ae,{backward:ue.isBackward});Ie.isEqual(V.document.selection)||V.change(ln=>{ln.setSelection(Ie)})})),this.listenTo(this.view.document,"beforeinput",(M=this.mapper,E=this.model.schema,F=this.view,(V,W)=>{if(!F.document.isComposing||D_isAndroid)for(let dt=0;dt{if(!dt.consumable.consume(W.item,V.name))return;const Zt=dt.writer,ue=dt.mapper.toViewPosition(W.range.start),Ae=Zt.createText(W.item.data);Zt.insert(ue,Ae)},{priority:"lowest"}),this.downcastDispatcher.on("insert",(V,W,dt)=>{dt.convertAttributes(W.item),W.reconversion||!W.item.is("element")||W.item.isEmpty||dt.convertChildren(W.item)},{priority:"lowest"}),this.downcastDispatcher.on("remove",(V,W,dt)=>{const Zt=dt.mapper.toViewPosition(W.position),ue=W.position.getShiftedBy(W.length),Ae=dt.mapper.toViewPosition(ue,{isPhantom:!0}),Ie=dt.writer.createRange(Zt,Ae),ln=dt.writer.remove(Ie.getTrimmed());for(const Dn of dt.writer.createRangeIn(ln).getItems())dt.mapper.unbindViewElement(Dn,{defer:!0})},{priority:"low"}),this.downcastDispatcher.on("cleanSelection",(V,W,dt)=>{const Zt=dt.writer,ue=Zt.document.selection;for(const Ae of ue.getRanges())Ae.isCollapsed&&Ae.end.parent.isAttached()&&dt.writer.mergeAttributes(Ae.start);Zt.setSelection(null)}),this.downcastDispatcher.on("selection",(V,W,dt)=>{const Zt=W.selection;if(Zt.isCollapsed||!dt.consumable.consume(Zt,"selection"))return;const ue=[];for(const Ae of Zt.getRanges())ue.push(dt.mapper.toViewRange(Ae));dt.writer.setSelection(ue,{backward:Zt.isBackward})},{priority:"low"}),this.downcastDispatcher.on("selection",(V,W,dt)=>{const Zt=W.selection;if(!Zt.isCollapsed||!dt.consumable.consume(Zt,"selection"))return;const ue=dt.writer,Ae=Zt.getFirstPosition(),Ie=dt.mapper.toViewPosition(Ae),ln=ue.breakAttributes(Ie);ue.setSelection(ln)},{priority:"low"}),this.view.document.roots.bindTo(this.model.document.roots).using(V=>{if("$graveyard"==V.rootName)return null;const W=new qm(this.view.document,V.name);return W.rootName=V.rootName,this.mapper.bindElements(V,W),W})}destroy(){this.view.destroy(),this.stopListening()}reconvertMarker(r){const c="string"==typeof r?r:r.name,u=this.model.markers.get(c);if(!u)throw new nt("editingcontroller-reconvertmarker-marker-not-exist",this,{markerName:c});this.model.change(()=>{this.model.markers._refresh(u)})}reconvertItem(r){this.model.change(()=>{this.model.document.differ._refreshItem(r)})}}class W_{constructor(){this._consumables=new Map}add(r,c){let u;r.is("$text")||r.is("documentFragment")?this._consumables.set(r,!0):(this._consumables.has(r)?u=this._consumables.get(r):(u=new ch(r),this._consumables.set(r,u)),u.add(c))}test(r,c){const u=this._consumables.get(r);return void 0===u?null:r.is("$text")||r.is("documentFragment")?u:u.test(c)}consume(r,c){return!!this.test(r,c)&&(r.is("$text")||r.is("documentFragment")?this._consumables.set(r,!1):this._consumables.get(r).consume(c),!0)}revert(r,c){const u=this._consumables.get(r);void 0!==u&&(r.is("$text")||r.is("documentFragment")?this._consumables.set(r,!0):u.revert(c))}static consumablesFromElement(r){const c={element:r,name:!0,attributes:[],classes:[],styles:[]},u=r.getAttributeKeys();for(const M of u)"style"!=M&&"class"!=M&&c.attributes.push(M);const _=r.getClassNames();for(const M of _)c.classes.push(M);const x=r.getStyleNames();for(const M of x)c.styles.push(M);return c}static createFrom(r,c){if(c||(c=new W_),r.is("$text"))return c.add(r),c;r.is("element")&&c.add(r,W_.consumablesFromElement(r)),r.is("documentFragment")&&c.add(r);for(const u of r.getChildren())c=W_.createFrom(u,c);return c}}const sh=["attributes","classes","styles"];class ch{constructor(r){this.element=r,this._canConsumeName=null,this._consumables={attributes:new Map,styles:new Map,classes:new Map}}add(r){r.name&&(this._canConsumeName=!0);for(const c of sh)c in r&&this._add(c,r[c])}test(r){if(r.name&&!this._canConsumeName)return this._canConsumeName;for(const c of sh)if(c in r){const u=this._test(c,r[c]);if(!0!==u)return u}return!0}consume(r){r.name&&(this._canConsumeName=!1);for(const c of sh)c in r&&this._consume(c,r[c])}revert(r){r.name&&(this._canConsumeName=!0);for(const c of sh)c in r&&this._revert(c,r[c])}_add(r,c){const u=Ye(c)?c:[c],_=this._consumables[r];for(const x of u){if("attributes"===r&&("class"===x||"style"===x))throw new nt("viewconsumable-invalid-attribute",this);if(_.set(x,!0),"styles"===r)for(const M of this.element.document.stylesProcessor.getRelatedStyles(x))_.set(M,!0)}}_test(r,c){const u=Ye(c)?c:[c],_=this._consumables[r];for(const x of u)if("attributes"!==r||"class"!==x&&"style"!==x){const M=_.get(x);if(void 0===M)return null;if(!M)return!1}else{const M="class"==x?"classes":"styles",E=this._test(M,[...this._consumables[M].keys()]);if(!0!==E)return E}return!0}_consume(r,c){const u=Ye(c)?c:[c],_=this._consumables[r];for(const x of u)if("attributes"!==r||"class"!==x&&"style"!==x){if(_.set(x,!1),"styles"==r)for(const M of this.element.document.stylesProcessor.getRelatedStyles(x))_.set(M,!1)}else{const M="class"==x?"classes":"styles";this._consume(M,[...this._consumables[M].keys()])}}_revert(r,c){const u=Ye(c)?c:[c],_=this._consumables[r];for(const x of u)if("attributes"!==r||"class"!==x&&"style"!==x)!1===_.get(x)&&_.set(x,!0);else{const M="class"==x?"classes":"styles";this._revert(M,[...this._consumables[M].keys()])}}}class W3 extends(Ue()){constructor(){super(),this._sourceDefinitions={},this._attributeProperties={},this.decorate("checkChild"),this.decorate("checkAttribute"),this.on("checkAttribute",(r,c)=>{c[0]=new dm(c[0])},{priority:"highest"}),this.on("checkChild",(r,c)=>{c[0]=new dm(c[0]),c[1]=this.getDefinition(c[1])},{priority:"highest"})}register(r,c){if(this._sourceDefinitions[r])throw new nt("schema-cannot-register-item-twice",this,{itemName:r});this._sourceDefinitions[r]=[Object.assign({},c)],this._clearCache()}extend(r,c){if(!this._sourceDefinitions[r])throw new nt("schema-cannot-extend-missing-item",this,{itemName:r});this._sourceDefinitions[r].push(Object.assign({},c)),this._clearCache()}getDefinitions(){return this._compiledDefinitions||this._compile(),this._compiledDefinitions}getDefinition(r){let c;return c="string"==typeof r?r:"is"in r&&(r.is("$text")||r.is("$textProxy"))?"$text":r.name,this.getDefinitions()[c]}isRegistered(r){return!!this.getDefinition(r)}isBlock(r){const c=this.getDefinition(r);return!(!c||!c.isBlock)}isLimit(r){const c=this.getDefinition(r);return!(!c||!c.isLimit&&!c.isObject)}isObject(r){const c=this.getDefinition(r);return!!c&&!!(c.isObject||c.isLimit&&c.isSelectable&&c.isContent)}isInline(r){const c=this.getDefinition(r);return!(!c||!c.isInline)}isSelectable(r){const c=this.getDefinition(r);return!(!c||!c.isSelectable&&!c.isObject)}isContent(r){const c=this.getDefinition(r);return!(!c||!c.isContent&&!c.isObject)}checkChild(r,c){return!!c&&this._checkContextMatch(c,r)}checkAttribute(r,c){const u=this.getDefinition(r.last);return!!u&&u.allowAttributes.includes(c)}checkMerge(r,c){if(r instanceof to){const u=r.nodeBefore,_=r.nodeAfter;if(!(u instanceof Jr))throw new nt("schema-check-merge-no-element-before",this);if(!(_ instanceof Jr))throw new nt("schema-check-merge-no-element-after",this);return this.checkMerge(u,_)}for(const u of c.getChildren())if(!this.checkChild(r,u))return!1;return!0}addChildCheck(r){this.on("checkChild",(c,[u,_])=>{if(!_)return;const x=r(u,_);"boolean"==typeof x&&(c.stop(),c.return=x)},{priority:"high"})}addAttributeCheck(r){this.on("checkAttribute",(c,[u,_])=>{const x=r(u,_);"boolean"==typeof x&&(c.stop(),c.return=x)},{priority:"high"})}setAttributeProperties(r,c){this._attributeProperties[r]=Object.assign(this.getAttributeProperties(r),c)}getAttributeProperties(r){return this._attributeProperties[r]||{}}getLimitElement(r){let c;for(c=r instanceof to?r.parent:(r instanceof Si?[r]:Array.from(r.getRanges())).reduce((u,_)=>{const x=_.getCommonAncestor();return u?u.getCommonAncestor(x,{includeSelf:!0}):x},null);!this.isLimit(c)&&c.parent;)c=c.parent;return c}checkAttributeInSelection(r,c){if(r.isCollapsed){const u=[...r.getFirstPosition().getAncestors(),new ss("",r.getAttributes())];return this.checkAttribute(u,c)}{const u=r.getRanges();for(const _ of u)for(const x of _)if(this.checkAttribute(x.item,c))return!0}return!1}*getValidRanges(r,c){r=function*(u){for(const _ of u)yield*_.getMinimalFlatRanges()}(r);for(const u of r)yield*this._getValidRangesForRange(u,c)}getNearestSelectionRange(r,c="both"){if("$graveyard"==r.root.rootName)return null;if(this.checkChild(r,"$text"))return new Si(r);let u,_;const x=r.getAncestors().reverse().find(M=>this.isLimit(M))||r.root;"both"!=c&&"backward"!=c||(u=new Gd({boundaries:Si._createIn(x),startPosition:r,direction:"backward"})),"both"!=c&&"forward"!=c||(_=new Gd({boundaries:Si._createIn(x),startPosition:r}));for(const M of function*(E,F){let V=!1;for(;!V;){if(V=!0,E){const W=E.next();W.done||(V=!1,yield{walker:E,value:W.value})}if(F){const W=F.next();W.done||(V=!1,yield{walker:F,value:W.value})}}}(u,_)){const F=M.value;if(F.type==(M.walker==u?"elementEnd":"elementStart")&&this.isObject(F.item))return Si._createOn(F.item);if(this.checkChild(F.nextPosition,"$text"))return new Si(F.nextPosition)}return null}findAllowedParent(r,c){let u=r.parent;for(;u;){if(this.checkChild(u,c))return u;if(this.isLimit(u))return null;u=u.parent}return null}setAllowedAttributes(r,c,u){const _=u.model;for(const[x,M]of Object.entries(c))_.schema.checkAttribute(r,x)&&u.setAttribute(x,M,r)}removeDisallowedAttributes(r,c){for(const u of r)if(u.is("$text"))lh(this,u,c);else{const _=Si._createIn(u).getPositions();for(const x of _)lh(this,x.nodeBefore||x.parent,c)}}getAttributesWithProperty(r,c,u){const _={};for(const[x,M]of r.getAttributes()){const E=this.getAttributeProperties(x);void 0!==E[c]&&(void 0!==u&&u!==E[c]||(_[x]=M))}return _}createContext(r){return new dm(r)}_clearCache(){this._compiledDefinitions=null}_compile(){const r={},c=this._sourceDefinitions,u=Object.keys(c);for(const _ of u)r[_]=o0(c[_],_);for(const _ of u)$3(r,_);for(const _ of u)W6(r,_);for(const _ of u)K3(r,_);for(const _ of u)Zd(r,_),pm(r,_);for(const _ of u)$6(r,_),kp(r,_),Qa(r,_);this._compiledDefinitions=r}_checkContextMatch(r,c,u=c.length-1){const _=c.getItem(u);if(r.allowIn.includes(_.name)){if(0==u)return!0;{const x=this.getDefinition(_);return this._checkContextMatch(x,c,u-1)}}return!1}*_getValidRangesForRange(r,c){let u=r.start,_=r.start;for(const x of r.getItems({shallow:!0}))x.is("element")&&(yield*this._getValidRangesForRange(Si._createIn(x),c)),this.checkAttribute(x,c)||(u.isEqual(_)||(yield new Si(u,_)),u=to._createAfter(x)),_=to._createAfter(x);u.isEqual(_)||(yield new Si(u,_))}}class dm{constructor(r){if(r instanceof dm)return r;let c;c="string"==typeof r?[r]:Array.isArray(r)?r:r.getAncestors({includeSelf:!0}),this._items=c.map(Fc)}get length(){return this._items.length}get last(){return this._items[this._items.length-1]}[Symbol.iterator](){return this._items[Symbol.iterator]()}push(r){const c=new dm([r]);return c._items=[...this._items,...c._items],c}getItem(r){return this._items[r]}*getNames(){yield*this._items.map(r=>r.name)}endsWith(r){return Array.from(this.getNames()).join(" ").endsWith(r)}startsWith(r){return Array.from(this.getNames()).join(" ").startsWith(r)}}function o0(m,r){const c={name:r,allowIn:[],allowContentOf:[],allowWhere:[],allowAttributes:[],allowAttributesOf:[],allowChildren:[],inheritTypesFrom:[]};return function(u,_){for(const x of u){const M=Object.keys(x).filter(E=>E.startsWith("is"));for(const E of M)_[E]=!!x[E]}}(m,c),Jm(m,c,"allowIn"),Jm(m,c,"allowContentOf"),Jm(m,c,"allowWhere"),Jm(m,c,"allowAttributes"),Jm(m,c,"allowAttributesOf"),Jm(m,c,"allowChildren"),Jm(m,c,"inheritTypesFrom"),function(u,_){for(const x of u){const M=x.inheritAllFrom;M&&(_.allowContentOf.push(M),_.allowWhere.push(M),_.allowAttributesOf.push(M),_.inheritTypesFrom.push(M))}}(m,c),c}function $3(m,r){const c=m[r];for(const u of c.allowChildren){const _=m[u];_&&_.allowIn.push(r)}c.allowChildren.length=0}function W6(m,r){for(const c of m[r].allowContentOf)m[c]&&td(m,c).forEach(u=>{u.allowIn.push(r)});delete m[r].allowContentOf}function K3(m,r){for(const c of m[r].allowWhere){const u=m[c];u&&m[r].allowIn.push(...u.allowIn)}delete m[r].allowWhere}function Zd(m,r){for(const c of m[r].allowAttributesOf){const u=m[c];u&&m[r].allowAttributes.push(...u.allowAttributes)}delete m[r].allowAttributesOf}function pm(m,r){const c=m[r];for(const u of c.inheritTypesFrom){const _=m[u];if(_){const x=Object.keys(_).filter(M=>M.startsWith("is"));for(const M of x)M in c||(c[M]=_[M])}}delete c.inheritTypesFrom}function $6(m,r){const c=m[r],u=c.allowIn.filter(_=>m[_]);c.allowIn=Array.from(new Set(u))}function kp(m,r){const c=m[r];for(const u of c.allowIn)m[u].allowChildren.push(r)}function Qa(m,r){const c=m[r];c.allowAttributes=Array.from(new Set(c.allowAttributes))}function Jm(m,r,c){for(const u of m){const _=u[c];"string"==typeof _?r[c].push(_):Array.isArray(_)&&r[c].push(..._)}}function td(m,r){const c=m[r];return(u=m,Object.keys(u).map(_=>u[_])).filter(_=>_.allowIn.includes(c.name));var u}function Fc(m){return"string"==typeof m||m.is("documentFragment")?{name:"string"==typeof m?m:"$documentFragment",*getAttributeKeys(){},getAttribute(){}}:{name:m.is("element")?m.name:"$text",*getAttributeKeys(){yield*m.getAttributeKeys()},getAttribute:r=>m.getAttribute(r)}}function lh(m,r,c){for(const u of r.getAttributeKeys())m.checkAttribute(r,u)||c.removeAttribute(u,r)}var Md=Object.defineProperty,a0=Object.defineProperties,uh=Object.getOwnPropertyDescriptors,r0=Object.getOwnPropertySymbols,Gm=Object.prototype.hasOwnProperty,K2=Object.prototype.propertyIsEnumerable,X2=(m,r,c)=>r in m?Md(m,r,{enumerable:!0,configurable:!0,writable:!0,value:c}):m[r]=c;class Qm extends(Oe()){constructor(r){var c;super(),this._splitParts=new Map,this._cursorParents=new Map,this._modelCursor=null,this._emptyElementsToKeep=new Set,this.conversionApi=(c=((u,_)=>{for(var x in _||(_={}))Gm.call(_,x)&&X2(u,x,_[x]);if(r0)for(var x of r0(_))K2.call(_,x)&&X2(u,x,_[x]);return u})({},r),a0(c,uh({consumable:null,writer:null,store:null,convertItem:(u,_)=>this._convertItem(u,_),convertChildren:(u,_)=>this._convertChildren(u,_),safeInsert:(u,_)=>this._safeInsert(u,_),updateConversionResult:(u,_)=>this._updateConversionResult(u,_),splitToAllowedParent:(u,_)=>this._splitToAllowedParent(u,_),getSplitParts:u=>this._getSplitParts(u),keepEmptyElement:u=>this._keepEmptyElement(u)})))}convert(r,c,u=["$root"]){this.fire("viewCleanup",r),this._modelCursor=function(M,E){let F;for(const V of new dm(M)){const W={};for(const Zt of V.getAttributeKeys())W[Zt]=V.getAttribute(Zt);const dt=E.createElement(V.name,W);F&&E.insert(dt,F),F=to._createAt(dt,0)}return F}(u,c),this.conversionApi.writer=c,this.conversionApi.consumable=W_.createFrom(r),this.conversionApi.store={};const{modelRange:_}=this._convertItem(r,this._modelCursor),x=c.createDocumentFragment();if(_){this._removeEmptyElements();for(const M of Array.from(this._modelCursor.parent.getChildren()))c.append(M,x);x.markers=function(M,E){const F=new Set,V=new Map,W=Si._createIn(M).getItems();for(const dt of W)dt.is("element","$marker")&&F.add(dt);for(const dt of F){const Zt=dt.getAttribute("data-name"),ue=E.createPositionBefore(dt);V.has(Zt)?V.get(Zt).end=ue.clone():V.set(Zt,new Si(ue.clone())),E.remove(dt)}return V}(x,c)}return this._modelCursor=null,this._splitParts.clear(),this._cursorParents.clear(),this._emptyElementsToKeep.clear(),this.conversionApi.writer=null,this.conversionApi.store=null,x}_convertItem(r,c){const u={viewItem:r,modelCursor:c,modelRange:null};if(r.is("element")?this.fire(`element:${r.name}`,u,this.conversionApi):r.is("$text")?this.fire("text",u,this.conversionApi):this.fire("documentFragment",u,this.conversionApi),u.modelRange&&!(u.modelRange instanceof Si))throw new nt("view-conversion-dispatcher-incorrect-result",this);return{modelRange:u.modelRange,modelCursor:u.modelCursor}}_convertChildren(r,c){let u=c.is("position")?c:to._createAt(c,0);const _=new Si(u);for(const x of Array.from(r.getChildren())){const M=this._convertItem(x,u);M.modelRange instanceof Si&&(_.end=M.modelRange.end,u=M.modelCursor)}return{modelRange:_,modelCursor:u}}_safeInsert(r,c){const u=this._splitToAllowedParent(r,c);return!!u&&(this.conversionApi.writer.insert(r,u.position),!0)}_updateConversionResult(r,c){const u=this._getSplitParts(r),_=this.conversionApi.writer;c.modelRange||(c.modelRange=_.createRange(_.createPositionBefore(r),_.createPositionAfter(u[u.length-1])));const x=this._cursorParents.get(r);c.modelCursor=x?_.createPositionAt(x,0):c.modelRange.end}_splitToAllowedParent(r,c){const{schema:u,writer:_}=this.conversionApi;let x=u.findAllowedParent(c,r);if(x){if(x===c.parent)return{position:c};this._modelCursor.parent.getAncestors().includes(x)&&(x=null)}if(!x)return W2(c,r,u)?{position:e0(c,_)}:null;const M=this.conversionApi.writer.split(c,x),E=[];for(const V of M.range.getWalker())if("elementEnd"==V.type)E.push(V.item);else{const W=E.pop();this._registerSplitPair(W,V.item)}const F=M.range.end.parent;return this._cursorParents.set(r,F),{position:M.position,cursorParent:F}}_registerSplitPair(r,c){this._splitParts.has(r)||this._splitParts.set(r,[r]);const u=this._splitParts.get(r);this._splitParts.set(c,u),u.push(c)}_getSplitParts(r){let c;return c=this._splitParts.has(r)?this._splitParts.get(r):[r],c}_keepEmptyElement(r){this._emptyElementsToKeep.add(r)}_removeEmptyElements(){let r=!1;for(const c of this._splitParts.keys())c.isEmpty&&!this._emptyElementsToKeep.has(c)&&(this.conversionApi.writer.remove(c),this._splitParts.delete(c),r=!0);r&&this._removeEmptyElements()}}class j1{getHtml(r){const c=document.implementation.createHTMLDocument("").createElement("div");return c.appendChild(r),c.innerHTML}}class s0{constructor(r){this.skipComments=!0,this.domParser=new DOMParser,this.domConverter=new F_(r,{renderingMode:"data"}),this.htmlWriter=new j1}toData(r){const c=this.domConverter.viewToDom(r);return this.htmlWriter.getHtml(c)}toView(r){const c=this._toDom(r);return this.domConverter.domToView(c,{skipComments:this.skipComments})}registerRawContentMatcher(r){this.domConverter.registerRawContentMatcher(r)}useFillerType(r){this.domConverter.blockFillerMode="marked"==r?"markedNbsp":"nbsp"}_toDom(r){r.match(/<(?:html|body|head|meta)(?:\s[^>]*)?>/i)||(r=`${r}`);const c=this.domParser.parseFromString(r,"text/html"),u=c.createDocumentFragment(),_=c.body.childNodes;for(;_.length>0;)u.appendChild(_[0]);return u}}class $_ extends(Oe()){constructor(r,c){super(),this.model=r,this.mapper=new B3,this.downcastDispatcher=new Gg({mapper:this.mapper,schema:r.schema}),this.downcastDispatcher.on("insert:$text",(u,_,x)=>{if(!x.consumable.consume(_.item,u.name))return;const M=x.writer,E=x.mapper.toViewPosition(_.range.start),F=M.createText(_.item.data);M.insert(E,F)},{priority:"lowest"}),this.downcastDispatcher.on("insert",(u,_,x)=>{x.convertAttributes(_.item),_.reconversion||!_.item.is("element")||_.item.isEmpty||x.convertChildren(_.item)},{priority:"lowest"}),this.upcastDispatcher=new Qm({schema:r.schema}),this.viewDocument=new Xp(c),this.stylesProcessor=c,this.htmlProcessor=new s0(this.viewDocument),this.processor=this.htmlProcessor,this._viewWriter=new Hm(this.viewDocument),this.upcastDispatcher.on("text",(u,_,{schema:x,consumable:M,writer:E})=>{let F=_.modelCursor;if(!M.test(_.viewItem))return;if(!x.checkChild(F,"$text")){if(!W2(F,"$text",x)||0==_.viewItem.data.trim().length)return;const W=F.nodeBefore;F=e0(F,E),W&&W.is("element","$marker")&&(E.move(E.createRangeOn(W),F),F=E.createPositionAfter(W))}M.consume(_.viewItem);const V=E.createText(_.viewItem.data);E.insert(V,F),_.modelRange=E.createRange(F,F.getShiftedBy(V.offsetSize)),_.modelCursor=_.modelRange.end},{priority:"lowest"}),this.upcastDispatcher.on("element",(u,_,x)=>{if(!_.modelRange&&x.consumable.consume(_.viewItem,{name:!0})){const{modelRange:M,modelCursor:E}=x.convertChildren(_.viewItem,_.modelCursor);_.modelRange=M,_.modelCursor=E}},{priority:"lowest"}),this.upcastDispatcher.on("documentFragment",(u,_,x)=>{if(!_.modelRange&&x.consumable.consume(_.viewItem,{name:!0})){const{modelRange:M,modelCursor:E}=x.convertChildren(_.viewItem,_.modelCursor);_.modelRange=M,_.modelCursor=E}},{priority:"lowest"}),Ue().prototype.decorate.call(this,"init"),Ue().prototype.decorate.call(this,"set"),Ue().prototype.decorate.call(this,"get"),Ue().prototype.decorate.call(this,"toView"),Ue().prototype.decorate.call(this,"toModel"),this.on("init",()=>{this.fire("ready")},{priority:"lowest"}),this.on("ready",()=>{this.model.enqueueChange({isUndoable:!1},eh)},{priority:"lowest"})}get(r={}){const{rootName:c="main",trim:u="empty"}=r;if(!this._checkIfRootsExists([c]))throw new nt("datacontroller-get-non-existent-root",this);const _=this.model.document.getRoot(c);return _.isAttached()||Tt("datacontroller-get-detached-root",this),"empty"!==u||this.model.hasContent(_,{ignoreWhitespaces:!0})?this.stringify(_,r):""}stringify(r,c={}){const u=this.toView(r,c);return this.processor.toData(u)}toView(r,c={}){const u=this.viewDocument,_=this._viewWriter;this.mapper.clearBindings();const x=Si._createIn(r),M=new Td(u);this.mapper.bindElements(r,M);const E=r.is("documentFragment")?r.markers:function(F){const V=[],W=F.root.document;if(!W)return new Map;const dt=Si._createIn(F);for(const Zt of W.model.markers){const ue=Zt.getRange(),Ae=ue.isCollapsed,Ie=ue.start.isEqual(dt.start)||ue.end.isEqual(dt.end);if(Ae&&Ie)V.push([Zt.name,ue]);else{const ln=dt.getIntersection(ue);ln&&V.push([Zt.name,ln])}}return V.sort(([Zt,ue],[Ae,Ie])=>{if("after"!==ue.end.compareWith(Ie.start))return 1;if("before"!==ue.start.compareWith(Ie.end))return-1;switch(ue.start.compareWith(Ie.start)){case"before":return 1;case"after":return-1;default:switch(ue.end.compareWith(Ie.end)){case"before":return 1;case"after":return-1;default:return Ae.localeCompare(Zt)}}}),new Map(V)}(r);return this.downcastDispatcher.convert(x,E,_,c),M}init(r){if(this.model.document.version)throw new nt("datacontroller-init-document-not-empty",this);let c={};if("string"==typeof r?c.main=r:c=r,!this._checkIfRootsExists(Object.keys(c)))throw new nt("datacontroller-init-non-existent-root",this);return this.model.enqueueChange({isUndoable:!1},u=>{for(const _ of Object.keys(c)){const x=this.model.document.getRoot(_);u.insert(this.parse(c[_],x),x,0)}}),Promise.resolve()}set(r,c={}){let u={};if("string"==typeof r?u.main=r:u=r,!this._checkIfRootsExists(Object.keys(u)))throw new nt("datacontroller-set-non-existent-root",this);this.model.enqueueChange(c.batchType||{},_=>{_.setSelection(null),_.removeSelectionAttribute(this.model.document.selection.getAttributeKeys());for(const x of Object.keys(u)){const M=this.model.document.getRoot(x);_.remove(_.createRangeIn(M)),_.insert(this.parse(u[x],M),M,0)}})}parse(r,c="$root"){const u=this.processor.toView(r);return this.toModel(u,c)}toModel(r,c="$root"){return this.model.change(u=>this.upcastDispatcher.convert(r,u,c))}addStyleProcessorRules(r){r(this.stylesProcessor)}registerRawContentMatcher(r){this.processor&&this.processor!==this.htmlProcessor&&this.processor.registerRawContentMatcher(r),this.htmlProcessor.registerRawContentMatcher(r)}destroy(){this.stopListening()}_checkIfRootsExists(r){for(const c of r)if(!this.model.document.getRoot(c))return!1;return!0}}class Os{constructor(r,c){this._helpers=new Map,this._downcast=Ss(r),this._createConversionHelpers({name:"downcast",dispatchers:this._downcast,isDowncast:!0}),this._upcast=Ss(c),this._createConversionHelpers({name:"upcast",dispatchers:this._upcast,isDowncast:!1})}addAlias(r,c){const u=this._downcast.includes(c);if(!this._upcast.includes(c)&&!u)throw new nt("conversion-add-alias-dispatcher-not-registered",this);this._createConversionHelpers({name:r,dispatchers:[c],isDowncast:u})}for(r){if(!this._helpers.has(r))throw new nt("conversion-for-unknown-group",this);return this._helpers.get(r)}elementToElement(r){this.for("downcast").elementToElement(r);for(const{model:c,view:u}of ac(r))this.for("upcast").elementToElement({model:c,view:u,converterPriority:r.converterPriority})}attributeToElement(r){this.for("downcast").attributeToElement(r);for(const{model:c,view:u}of ac(r))this.for("upcast").elementToAttribute({view:u,model:c,converterPriority:r.converterPriority})}attributeToAttribute(r){this.for("downcast").attributeToAttribute(r);for(const{model:c,view:u}of ac(r))this.for("upcast").attributeToAttribute({view:u,model:c})}_createConversionHelpers({name:r,dispatchers:c,isDowncast:u}){if(this._helpers.has(r))throw new nt("conversion-group-exists",this);const _=u?new j6(c):new Q6(c);this._helpers.set(r,_)}}function*ac(m){if(m.model.values)for(const r of m.model.values){const c={key:m.model.key,value:r},u=m.view[r],_=m.upcastAlso?m.upcastAlso[r]:void 0;yield*c0(c,u,_)}else yield*c0(m.model,m.view,m.upcastAlso)}function*c0(m,r,c){if(yield{model:m,view:r},c)for(const u of Ss(c))yield{model:m,view:u}}class ed{constructor(r){this.baseVersion=r,this.isDocumentOperation=null!==this.baseVersion,this.batch=null}_validate(){}toJSON(){const r=Object.assign({},this);return r.__className=this.constructor.className,delete r.batch,delete r.isDocumentOperation,r}static get className(){return"Operation"}static fromJSON(r,c){return new this(r.baseVersion)}}function dh(m,r){const c=mh(r),u=c.reduce((M,E)=>M+E.offsetSize,0),_=m.parent;$m(m);const x=m.index;return _._insertChild(x,c),J1(_,x+c.length),J1(_,x),new Si(m,m.getShiftedBy(u))}function ph(m){if(!m.isFlat)throw new nt("operation-utils-remove-range-not-flat",this);const r=m.start.parent;$m(m.start),$m(m.end);const c=r._removeChildren(m.start.index,m.end.index-m.start.index);return J1(r,m.start.index),c}function Wm(m,r){if(!m.isFlat)throw new nt("operation-utils-move-range-not-flat",this);const c=ph(m);return dh(r=r._getTransformedByDeletion(m.start,m.end.offset-m.start.offset),c)}function mh(m){const r=[];!function c(u){if("string"==typeof u)r.push(new ss(u));else if(u instanceof Ku)r.push(new ss(u.data,u.getAttributes()));else if(u instanceof oc)r.push(u);else if(it(u))for(const _ of u)c(_)}(m);for(let c=1;cr.maxOffset)throw new nt("move-operation-nodes-do-not-exist",this);if(r===c&&u<_&&_=u&&this.targetPosition.path[x]u._clone(!0))),c=new _c(this.position,r,this.baseVersion);return c.shouldReceiveAttributes=this.shouldReceiveAttributes,c}getReversed(){const c=new to(this.position.root.document.graveyard,[0]);return new ir(this.position,this.nodes.maxOffset,c,this.baseVersion+1)}_validate(){const r=this.position.parent;if(!r||r.maxOffsetc._clone(!0))),dh(this.position,r)}toJSON(){const r=super.toJSON();return r.position=this.position.toJSON(),r.nodes=this.nodes.toJSON(),r}static get className(){return"InsertOperation"}static fromJSON(r,c){const u=[];for(const x of r.nodes)u.push(x.name?Jr.fromJSON(x):ss.fromJSON(x));const _=new _c(to.fromJSON(r.position,c),u,r.baseVersion);return _.shouldReceiveAttributes=r.shouldReceiveAttributes,_}}class Ar extends ed{constructor(r,c,u,_,x){super(x),this.splitPosition=r.clone(),this.splitPosition.stickiness="toNext",this.howMany=c,this.insertionPosition=u,this.graveyardPosition=_?_.clone():null,this.graveyardPosition&&(this.graveyardPosition.stickiness="toNext")}get type(){return"split"}get moveTargetPosition(){const r=this.insertionPosition.path.slice();return r.push(0),new to(this.insertionPosition.root,r)}get movedRange(){const r=this.splitPosition.getShiftedBy(Number.POSITIVE_INFINITY);return new Si(this.splitPosition,r)}get affectedSelectable(){const r=[Si._createFromPositionAndShift(this.splitPosition,0),Si._createFromPositionAndShift(this.insertionPosition,0)];return this.graveyardPosition&&r.push(Si._createFromPositionAndShift(this.graveyardPosition,0)),r}clone(){return new Ar(this.splitPosition,this.howMany,this.insertionPosition,this.graveyardPosition,this.baseVersion)}getReversed(){const c=new to(this.splitPosition.root.document.graveyard,[0]);return new fs(this.moveTargetPosition,this.howMany,this.splitPosition,c,this.baseVersion+1)}_validate(){const r=this.splitPosition.parent;if(!r||r.maxOffset{if(m.key===r.key&&m.range.start.hasSameParentAs(r.range.start)){const u=m.range.getDifference(r.range).map(x=>new Wr(x,m.key,m.oldValue,m.newValue,0)),_=m.range.getIntersection(r.range);return _&&c.aIsStrong&&u.push(new Wr(_,r.key,r.newValue,m.newValue,0)),0==u.length?[new fc(0)]:u}return[m]}),Zr(Wr,_c,(m,r)=>{if(m.range.start.hasSameParentAs(r.position)&&m.range.containsPosition(r.position)){const c=m.range._getTransformedByInsertion(r.position,r.howMany,!r.shouldReceiveAttributes).map(u=>new Wr(u,m.key,m.oldValue,m.newValue,m.baseVersion));if(r.shouldReceiveAttributes){const u=Km(r,m.key,m.oldValue);u&&c.unshift(u)}return c}return m.range=m.range._getTransformedByInsertion(r.position,r.howMany,!1)[0],[m]}),Zr(Wr,fs,(m,r)=>{const c=[];m.range.start.hasSameParentAs(r.deletionPosition)&&(m.range.containsPosition(r.deletionPosition)||m.range.start.isEqual(r.deletionPosition))&&c.push(Si._createFromPositionAndShift(r.graveyardPosition,1));const u=m.range._getTransformedByMergeOperation(r);return u.isCollapsed||c.push(u),c.map(_=>new Wr(_,m.key,m.oldValue,m.newValue,m.baseVersion))}),Zr(Wr,ir,(m,r)=>function(u,_){const x=Si._createFromPositionAndShift(_.sourcePosition,_.howMany);let M=null,E=[];x.containsRange(u,!0)?M=u:u.start.hasSameParentAs(x.start)?(E=u.getDifference(x),M=u.getIntersection(x)):E=[u];const F=[];for(let V of E){V=V._getTransformedByDeletion(_.sourcePosition,_.howMany);const W=_.getMovedRangeStart(),dt=V.start.hasSameParentAs(W),Zt=V._getTransformedByInsertion(W,_.howMany,dt);F.push(...Zt)}return M&&F.push(M._getTransformedByMove(_.sourcePosition,_.targetPosition,_.howMany,!1)[0]),F}(m.range,r).map(u=>new Wr(u,m.key,m.oldValue,m.newValue,m.baseVersion))),Zr(Wr,Ar,(m,r)=>{if(m.range.end.isEqual(r.insertionPosition))return r.graveyardPosition||m.range.end.offset++,[m];if(m.range.start.hasSameParentAs(r.splitPosition)&&m.range.containsPosition(r.splitPosition)){const c=m.clone();return c.range=new Si(r.moveTargetPosition.clone(),m.range.end._getCombined(r.splitPosition,r.moveTargetPosition)),m.range.end=r.splitPosition.clone(),m.range.end.stickiness="toPrevious",[m,c]}return m.range=m.range._getTransformedBySplitOperation(r),[m]}),Zr(_c,Wr,(m,r)=>{const c=[m];if(m.shouldReceiveAttributes&&m.position.hasSameParentAs(r.range.start)&&r.range.containsPosition(m.position)){const u=Km(m,r.key,r.newValue);u&&c.push(u)}return c}),Zr(_c,_c,(m,r,c)=>(m.position.isEqual(r.position)&&c.aIsStrong||(m.position=m.position._getTransformedByInsertOperation(r)),[m])),Zr(_c,ir,(m,r)=>(m.position=m.position._getTransformedByMoveOperation(r),[m])),Zr(_c,Ar,(m,r)=>(m.position=m.position._getTransformedBySplitOperation(r),[m])),Zr(_c,fs,(m,r)=>(m.position=m.position._getTransformedByMergeOperation(r),[m])),Zr(Ts,_c,(m,r)=>(m.oldRange&&(m.oldRange=m.oldRange._getTransformedByInsertOperation(r)[0]),m.newRange&&(m.newRange=m.newRange._getTransformedByInsertOperation(r)[0]),[m])),Zr(Ts,Ts,(m,r,c)=>{if(m.name==r.name){if(!c.aIsStrong)return[new fc(0)];m.oldRange=r.newRange?r.newRange.clone():null}return[m]}),Zr(Ts,fs,(m,r)=>(m.oldRange&&(m.oldRange=m.oldRange._getTransformedByMergeOperation(r)),m.newRange&&(m.newRange=m.newRange._getTransformedByMergeOperation(r)),[m])),Zr(Ts,ir,(m,r,c)=>{if(m.oldRange&&(m.oldRange=Si._createFromRanges(m.oldRange._getTransformedByMoveOperation(r))),m.newRange){if(c.abRelation){const u=Si._createFromRanges(m.newRange._getTransformedByMoveOperation(r));if("left"==c.abRelation.side&&r.targetPosition.isEqual(m.newRange.start))return m.newRange.end=u.end,m.newRange.start.path=c.abRelation.path,[m];if("right"==c.abRelation.side&&r.targetPosition.isEqual(m.newRange.end))return m.newRange.start=u.start,m.newRange.end.path=c.abRelation.path,[m]}m.newRange=Si._createFromRanges(m.newRange._getTransformedByMoveOperation(r))}return[m]}),Zr(Ts,Ar,(m,r,c)=>{if(m.oldRange&&(m.oldRange=m.oldRange._getTransformedBySplitOperation(r)),m.newRange){if(c.abRelation){const u=m.newRange._getTransformedBySplitOperation(r);return m.newRange.start.isEqual(r.splitPosition)&&c.abRelation.wasStartBeforeMergedElement?m.newRange.start=to._createAt(r.insertionPosition):m.newRange.start.isEqual(r.splitPosition)&&!c.abRelation.wasInLeftElement&&(m.newRange.start=to._createAt(r.moveTargetPosition)),m.newRange.end=m.newRange.end.isEqual(r.splitPosition)&&c.abRelation.wasInRightElement?to._createAt(r.moveTargetPosition):m.newRange.end.isEqual(r.splitPosition)&&c.abRelation.wasEndBeforeMergedElement?to._createAt(r.insertionPosition):u.end,[m]}m.newRange=m.newRange._getTransformedBySplitOperation(r)}return[m]}),Zr(fs,_c,(m,r)=>(m.sourcePosition.hasSameParentAs(r.position)&&(m.howMany+=r.howMany),m.sourcePosition=m.sourcePosition._getTransformedByInsertOperation(r),m.targetPosition=m.targetPosition._getTransformedByInsertOperation(r),[m])),Zr(fs,fs,(m,r,c)=>{if(m.sourcePosition.isEqual(r.sourcePosition)&&m.targetPosition.isEqual(r.targetPosition)){if(c.bWasUndone){const u=r.graveyardPosition.path.slice();return u.push(0),m.sourcePosition=new to(r.graveyardPosition.root,u),m.howMany=0,[m]}return[new fc(0)]}if(m.sourcePosition.isEqual(r.sourcePosition)&&!m.targetPosition.isEqual(r.targetPosition)&&!c.bWasUndone&&"splitAtSource"!=c.abRelation){const u="$graveyard"==m.targetPosition.root.rootName,_="$graveyard"==r.targetPosition.root.rootName;if(_&&!u||(!u||_)&&c.aIsStrong){const x=r.targetPosition._getTransformedByMergeOperation(r),M=m.targetPosition._getTransformedByMergeOperation(r);return[new ir(x,m.howMany,M,0)]}return[new fc(0)]}return m.sourcePosition.hasSameParentAs(r.targetPosition)&&(m.howMany+=r.howMany),m.sourcePosition=m.sourcePosition._getTransformedByMergeOperation(r),m.targetPosition=m.targetPosition._getTransformedByMergeOperation(r),m.graveyardPosition.isEqual(r.graveyardPosition)&&c.aIsStrong||(m.graveyardPosition=m.graveyardPosition._getTransformedByMergeOperation(r)),[m]}),Zr(fs,ir,(m,r,c)=>{const u=Si._createFromPositionAndShift(r.sourcePosition,r.howMany);return"remove"==r.type&&!c.bWasUndone&&!c.forceWeakRemove&&m.deletionPosition.hasSameParentAs(r.sourcePosition)&&u.containsPosition(m.sourcePosition)?[new fc(0)]:(m.sourcePosition.hasSameParentAs(r.targetPosition)&&(m.howMany+=r.howMany),m.sourcePosition.hasSameParentAs(r.sourcePosition)&&(m.howMany-=r.howMany),m.sourcePosition=m.sourcePosition._getTransformedByMoveOperation(r),m.targetPosition=m.targetPosition._getTransformedByMoveOperation(r),m.graveyardPosition.isEqual(r.targetPosition)||(m.graveyardPosition=m.graveyardPosition._getTransformedByMoveOperation(r)),[m])}),Zr(fs,Ar,(m,r,c)=>{if(r.graveyardPosition&&(m.graveyardPosition=m.graveyardPosition._getTransformedByDeletion(r.graveyardPosition,1),m.deletionPosition.isEqual(r.graveyardPosition)&&(m.howMany=r.howMany)),m.targetPosition.isEqual(r.splitPosition)){const u=0!=r.howMany,_=r.graveyardPosition&&m.deletionPosition.isEqual(r.graveyardPosition);if(u||_||"mergeTargetNotMoved"==c.abRelation)return m.sourcePosition=m.sourcePosition._getTransformedBySplitOperation(r),[m]}if(m.sourcePosition.isEqual(r.splitPosition)){if("mergeSourceNotMoved"==c.abRelation)return m.howMany=0,m.targetPosition=m.targetPosition._getTransformedBySplitOperation(r),[m];if("mergeSameElement"==c.abRelation||m.sourcePosition.offset>0)return m.sourcePosition=r.moveTargetPosition.clone(),m.targetPosition=m.targetPosition._getTransformedBySplitOperation(r),[m]}return m.sourcePosition.hasSameParentAs(r.splitPosition)&&(m.howMany=r.splitPosition.offset),m.sourcePosition=m.sourcePosition._getTransformedBySplitOperation(r),m.targetPosition=m.targetPosition._getTransformedBySplitOperation(r),[m]}),Zr(ir,_c,(m,r)=>{const c=Si._createFromPositionAndShift(m.sourcePosition,m.howMany)._getTransformedByInsertOperation(r,!1)[0];return m.sourcePosition=c.start,m.howMany=c.end.offset-c.start.offset,m.targetPosition.isEqual(r.position)||(m.targetPosition=m.targetPosition._getTransformedByInsertOperation(r)),[m]}),Zr(ir,ir,(m,r,c)=>{const u=Si._createFromPositionAndShift(m.sourcePosition,m.howMany),_=Si._createFromPositionAndShift(r.sourcePosition,r.howMany);let x,M=c.aIsStrong,E=!c.aIsStrong;if("insertBefore"==c.abRelation||"insertAfter"==c.baRelation?E=!0:"insertAfter"!=c.abRelation&&"insertBefore"!=c.baRelation||(E=!1),x=m.targetPosition.isEqual(r.targetPosition)&&E?m.targetPosition._getTransformedByDeletion(r.sourcePosition,r.howMany):m.targetPosition._getTransformedByMove(r.sourcePosition,r.targetPosition,r.howMany),tf(m,r)&&tf(r,m))return[r.getReversed()];if(u.containsPosition(r.targetPosition)&&u.containsRange(_,!0))return u.start=u.start._getTransformedByMove(r.sourcePosition,r.targetPosition,r.howMany),u.end=u.end._getTransformedByMove(r.sourcePosition,r.targetPosition,r.howMany),mm([u],x);if(_.containsPosition(m.targetPosition)&&_.containsRange(u,!0))return u.start=u.start._getCombined(r.sourcePosition,r.getMovedRangeStart()),u.end=u.end._getCombined(r.sourcePosition,r.getMovedRangeStart()),mm([u],x);const F=ct(m.sourcePosition.getParentPath(),r.sourcePosition.getParentPath());if("prefix"==F||"extension"==F)return u.start=u.start._getTransformedByMove(r.sourcePosition,r.targetPosition,r.howMany),u.end=u.end._getTransformedByMove(r.sourcePosition,r.targetPosition,r.howMany),mm([u],x);"remove"!=m.type||"remove"==r.type||c.aWasUndone||c.forceWeakRemove?"remove"==m.type||"remove"!=r.type||c.bWasUndone||c.forceWeakRemove||(M=!1):M=!0;const V=[],W=u.getDifference(_);for(const Zt of W){Zt.start=Zt.start._getTransformedByDeletion(r.sourcePosition,r.howMany),Zt.end=Zt.end._getTransformedByDeletion(r.sourcePosition,r.howMany);const ue="same"==ct(Zt.start.getParentPath(),r.getMovedRangeStart().getParentPath()),Ae=Zt._getTransformedByInsertion(r.getMovedRangeStart(),r.howMany,ue);V.push(...Ae)}const dt=u.getIntersection(_);return null!==dt&&M&&(dt.start=dt.start._getCombined(r.sourcePosition,r.getMovedRangeStart()),dt.end=dt.end._getCombined(r.sourcePosition,r.getMovedRangeStart()),0===V.length?V.push(dt):1==V.length?_.start.isBefore(u.start)||_.start.isEqual(u.start)?V.unshift(dt):V.push(dt):V.splice(1,0,dt)),0===V.length?[new fc(m.baseVersion)]:mm(V,x)}),Zr(ir,Ar,(m,r,c)=>{let u=m.targetPosition.clone();m.targetPosition.isEqual(r.insertionPosition)&&r.graveyardPosition&&"moveTargetAfter"!=c.abRelation||(u=m.targetPosition._getTransformedBySplitOperation(r));const _=Si._createFromPositionAndShift(m.sourcePosition,m.howMany);if(_.end.isEqual(r.insertionPosition))return r.graveyardPosition||m.howMany++,m.targetPosition=u,[m];if(_.start.hasSameParentAs(r.splitPosition)&&_.containsPosition(r.splitPosition)){let M=new Si(r.splitPosition,_.end);return M=M._getTransformedBySplitOperation(r),mm([new Si(_.start,r.splitPosition),M],u)}m.targetPosition.isEqual(r.splitPosition)&&"insertAtSource"==c.abRelation&&(u=r.moveTargetPosition),m.targetPosition.isEqual(r.insertionPosition)&&"insertBetween"==c.abRelation&&(u=m.targetPosition);const x=[_._getTransformedBySplitOperation(r)];if(r.graveyardPosition){const M=_.start.isEqual(r.graveyardPosition)||_.containsPosition(r.graveyardPosition);m.howMany>1&&M&&!c.aWasUndone&&x.push(Si._createFromPositionAndShift(r.insertionPosition,1))}return mm(x,u)}),Zr(ir,fs,(m,r,c)=>{const u=Si._createFromPositionAndShift(m.sourcePosition,m.howMany);if(r.deletionPosition.hasSameParentAs(m.sourcePosition)&&u.containsPosition(r.sourcePosition))if("remove"!=m.type||c.forceWeakRemove){if(1==m.howMany)return c.bWasUndone?(m.sourcePosition=r.graveyardPosition.clone(),m.targetPosition=m.targetPosition._getTransformedByMergeOperation(r),[m]):[new fc(0)]}else if(!c.aWasUndone){const x=[];let M=r.graveyardPosition.clone(),E=r.targetPosition._getTransformedByMergeOperation(r);m.howMany>1&&(x.push(new ir(m.sourcePosition,m.howMany-1,m.targetPosition,0)),M=M._getTransformedByMove(m.sourcePosition,m.targetPosition,m.howMany-1),E=E._getTransformedByMove(m.sourcePosition,m.targetPosition,m.howMany-1));const F=r.deletionPosition._getCombined(m.sourcePosition,m.targetPosition),V=new ir(M,1,F,0),W=V.getMovedRangeStart().path.slice();W.push(0);const dt=new to(V.targetPosition.root,W);E=E._getTransformedByMove(M,F,1);const Zt=new ir(E,r.howMany,dt,0);return x.push(V),x.push(Zt),x}const _=Si._createFromPositionAndShift(m.sourcePosition,m.howMany)._getTransformedByMergeOperation(r);return m.sourcePosition=_.start,m.howMany=_.end.offset-_.start.offset,m.targetPosition=m.targetPosition._getTransformedByMergeOperation(r),[m]}),Zr(Ll,_c,(m,r)=>(m.position=m.position._getTransformedByInsertOperation(r),[m])),Zr(Ll,fs,(m,r)=>m.position.isEqual(r.deletionPosition)?(m.position=r.graveyardPosition.clone(),m.position.stickiness="toNext",[m]):(m.position=m.position._getTransformedByMergeOperation(r),[m])),Zr(Ll,ir,(m,r)=>(m.position=m.position._getTransformedByMoveOperation(r),[m])),Zr(Ll,Ll,(m,r,c)=>{if(m.position.isEqual(r.position)){if(!c.aIsStrong)return[new fc(0)];m.oldName=r.newName}return[m]}),Zr(Ll,Ar,(m,r)=>{if("same"==ct(m.position.path,r.splitPosition.getParentPath())&&!r.graveyardPosition){const c=new Ll(m.position.getShiftedBy(1),m.oldName,m.newName,0);return[m,c]}return m.position=m.position._getTransformedBySplitOperation(r),[m]}),Zr($d,$d,(m,r,c)=>{if(m.root===r.root&&m.key===r.key){if(!c.aIsStrong||m.newValue===r.newValue)return[new fc(0)];m.oldValue=r.newValue}return[m]}),Zr(ml,ml,(m,r)=>m.rootName===r.rootName&&m.isAdd===r.isAdd?[new fc(0)]:[m]),Zr(Ar,_c,(m,r)=>(m.splitPosition.hasSameParentAs(r.position)&&m.splitPosition.offset{if(!m.graveyardPosition&&!c.bWasUndone&&m.splitPosition.hasSameParentAs(r.sourcePosition)){const u=r.graveyardPosition.path.slice();u.push(0);const _=new to(r.graveyardPosition.root,u),x=Ar.getInsertionPosition(new to(r.graveyardPosition.root,u)),M=new Ar(_,0,x,null,0);return m.splitPosition=m.splitPosition._getTransformedByMergeOperation(r),m.insertionPosition=Ar.getInsertionPosition(m.splitPosition),m.graveyardPosition=M.insertionPosition.clone(),m.graveyardPosition.stickiness="toNext",[M,m]}return m.splitPosition.hasSameParentAs(r.deletionPosition)&&!m.splitPosition.isAfter(r.deletionPosition)&&m.howMany--,m.splitPosition.hasSameParentAs(r.targetPosition)&&(m.howMany+=r.howMany),m.splitPosition=m.splitPosition._getTransformedByMergeOperation(r),m.insertionPosition=Ar.getInsertionPosition(m.splitPosition),m.graveyardPosition&&(m.graveyardPosition=m.graveyardPosition._getTransformedByMergeOperation(r)),[m]}),Zr(Ar,ir,(m,r,c)=>{const u=Si._createFromPositionAndShift(r.sourcePosition,r.howMany);if(m.graveyardPosition){const x=u.start.isEqual(m.graveyardPosition)||u.containsPosition(m.graveyardPosition);if(!c.bWasUndone&&x){const M=m.splitPosition._getTransformedByMoveOperation(r),E=m.graveyardPosition._getTransformedByMoveOperation(r),F=E.path.slice();F.push(0);const V=new to(E.root,F);return[new ir(M,m.howMany,V,0)]}m.graveyardPosition=m.graveyardPosition._getTransformedByMoveOperation(r)}const _=m.splitPosition.isEqual(r.targetPosition);if(_&&("insertAtSource"==c.baRelation||"splitBefore"==c.abRelation))return m.howMany+=r.howMany,m.splitPosition=m.splitPosition._getTransformedByDeletion(r.sourcePosition,r.howMany),m.insertionPosition=Ar.getInsertionPosition(m.splitPosition),[m];if(_&&c.abRelation&&c.abRelation.howMany){const{howMany:x,offset:M}=c.abRelation;return m.howMany+=x,m.splitPosition=m.splitPosition.getShiftedBy(M),[m]}return m.splitPosition.hasSameParentAs(r.sourcePosition)&&u.containsPosition(m.splitPosition)?(m.howMany-=r.howMany-(m.splitPosition.offset-r.sourcePosition.offset),m.splitPosition.hasSameParentAs(r.targetPosition)&&m.splitPosition.offset{if(m.splitPosition.isEqual(r.splitPosition)){if(!m.graveyardPosition&&!r.graveyardPosition)return[new fc(0)];if(m.graveyardPosition&&r.graveyardPosition&&m.graveyardPosition.isEqual(r.graveyardPosition))return[new fc(0)];if("splitBefore"==c.abRelation)return m.howMany=0,m.graveyardPosition=m.graveyardPosition._getTransformedBySplitOperation(r),[m]}if(m.graveyardPosition&&r.graveyardPosition&&m.graveyardPosition.isEqual(r.graveyardPosition)){const u="$graveyard"==m.splitPosition.root.rootName,_="$graveyard"==r.splitPosition.root.rootName;if(_&&!u||(!u||_)&&c.aIsStrong){const x=[];return r.howMany&&x.push(new ir(r.moveTargetPosition,r.howMany,r.splitPosition,0)),m.howMany&&x.push(new ir(m.splitPosition,m.howMany,m.moveTargetPosition,0)),x}return[new fc(0)]}if(m.graveyardPosition&&(m.graveyardPosition=m.graveyardPosition._getTransformedBySplitOperation(r)),m.splitPosition.isEqual(r.insertionPosition)&&"splitBefore"==c.abRelation)return m.howMany++,[m];if(r.splitPosition.isEqual(m.insertionPosition)&&"splitBefore"==c.baRelation){const u=r.insertionPosition.path.slice();u.push(0);const _=new to(r.insertionPosition.root,u);return[m,new ir(m.insertionPosition,1,_,0)]}return m.splitPosition.hasSameParentAs(r.splitPosition)&&m.splitPosition.offset{const c=r[0];c.isDocumentOperation&&K6.call(this,c)},{priority:"low"})}function K6(m){const r=this.getTransformedByOperation(m);if(!this.isEqual(r)){const c=this.toPosition();this.path=r.path,this.root=r.root,this.fire("change",c)}}el.prototype.is=function(m){return"livePosition"===m||"model:livePosition"===m||"position"==m||"model:position"===m};class _m{constructor(r={}){"string"==typeof r&&(r="transparent"===r?{isUndoable:!1}:{},Tt("batch-constructor-deprecated-string-type"));const{isUndoable:c=!0,isLocal:u=!0,isUndo:_=!1,isTyping:x=!1}=r;this.operations=[],this.isUndoable=c,this.isLocal=u,this.isUndo=_,this.isTyping=x}get type(){return Tt("batch-type-deprecated"),"default"}get baseVersion(){for(const r of this.operations)if(null!==r.baseVersion)return r.baseVersion;return null}addOperation(r){return r.batch=this,this.operations.push(r),r}}var X6=Object.defineProperty,t4=Object.defineProperties,wv=Object.getOwnPropertyDescriptors,fh=Object.getOwnPropertySymbols,ef=Object.prototype.hasOwnProperty,e4=Object.prototype.propertyIsEnumerable,Gl=(m,r,c)=>r in m?X6(m,r,{enumerable:!0,configurable:!0,writable:!0,value:c}):m[r]=c,nf=(m,r)=>{for(var c in r||(r={}))ef.call(r,c)&&Gl(m,c,r[c]);if(fh)for(var c of fh(r))e4.call(r,c)&&Gl(m,c,r[c]);return m};class n4{constructor(r){this._changesInElement=new Map,this._elementSnapshots=new Map,this._changedMarkers=new Map,this._changedRoots=new Map,this._changeCount=0,this._cachedChanges=null,this._cachedChangesWithGraveyard=null,this._refreshedItems=new Set,this._markerCollection=r}get isEmpty(){return 0==this._changesInElement.size&&0==this._changedMarkers.size&&0==this._changedRoots.size}bufferOperation(r){const c=r;switch(c.type){case"insert":if(this._isInInsertedElement(c.position.parent))return;this._markInsert(c.position.parent,c.position.offset,c.nodes.maxOffset);break;case"addAttribute":case"removeAttribute":case"changeAttribute":for(const u of c.range.getItems({shallow:!0}))this._isInInsertedElement(u.parent)||this._markAttribute(u);break;case"remove":case"move":case"reinsert":{if(c.sourcePosition.isEqual(c.targetPosition)||c.sourcePosition.getShiftedBy(c.howMany).isEqual(c.targetPosition))return;const u=this._isInInsertedElement(c.sourcePosition.parent),_=this._isInInsertedElement(c.targetPosition.parent);u||this._markRemove(c.sourcePosition.parent,c.sourcePosition.offset,c.howMany),_||this._markInsert(c.targetPosition.parent,c.getMovedRangeStart().offset,c.howMany);break}case"rename":{if(this._isInInsertedElement(c.position.parent))return;this._markRemove(c.position.parent,c.position.offset,1),this._markInsert(c.position.parent,c.position.offset,1);const u=Si._createFromPositionAndShift(c.position,1);for(const _ of this._markerCollection.getMarkersIntersectingRange(u)){const x=_.getData();this.bufferMarkerChange(_.name,x,x)}break}case"split":{const u=c.splitPosition.parent;this._isInInsertedElement(u)||this._markRemove(u,c.splitPosition.offset,c.howMany),this._isInInsertedElement(c.insertionPosition.parent)||this._markInsert(c.insertionPosition.parent,c.insertionPosition.offset,1),c.graveyardPosition&&this._markRemove(c.graveyardPosition.parent,c.graveyardPosition.offset,1);break}case"merge":{const u=c.sourcePosition.parent;this._isInInsertedElement(u.parent)||this._markRemove(u.parent,u.startOffset,1),this._markInsert(c.graveyardPosition.parent,c.graveyardPosition.offset,1);const x=c.targetPosition.parent;this._isInInsertedElement(x)||this._markInsert(x,c.targetPosition.offset,u.maxOffset);break}case"detachRoot":case"addRoot":{const u=c.affectedSelectable;if(!u._isLoaded||u.isAttached()==c.isAdd)return;this._bufferRootStateChange(c.rootName,c.isAdd);break}case"addRootAttribute":case"removeRootAttribute":case"changeRootAttribute":if(!c.root._isLoaded)return;this._bufferRootAttributeChange(c.root.rootName,c.key,c.oldValue,c.newValue)}this._cachedChanges=null}bufferMarkerChange(r,c,u){c.range&&c.range.root.is("rootElement")&&!c.range.root._isLoaded&&(c.range=null),u.range&&u.range.root.is("rootElement")&&!u.range.root._isLoaded&&(u.range=null);let _=this._changedMarkers.get(r);_?_.newMarkerData=u:(_={newMarkerData:u,oldMarkerData:c},this._changedMarkers.set(r,_)),null==_.oldMarkerData.range&&null==u.range&&this._changedMarkers.delete(r)}getMarkersToRemove(){const r=[];for(const[c,u]of this._changedMarkers)null!=u.oldMarkerData.range&&r.push({name:c,range:u.oldMarkerData.range});return r}getMarkersToAdd(){const r=[];for(const[c,u]of this._changedMarkers)null!=u.newMarkerData.range&&r.push({name:c,range:u.newMarkerData.range});return r}getChangedMarkers(){return Array.from(this._changedMarkers).map(([r,c])=>({name:r,data:{oldRange:c.oldMarkerData.range,newRange:c.newMarkerData.range}}))}hasDataChanges(){if(this._changesInElement.size>0||this._changedRoots.size>0)return!0;for(const{newMarkerData:r,oldMarkerData:c}of this._changedMarkers.values()){if(r.affectsData!==c.affectsData)return!0;if(r.affectsData){const u=r.range&&!c.range,_=!r.range&&c.range,x=r.range&&c.range&&!r.range.isEqual(c.range);if(u||_||x)return!0}}return!1}getChanges(r={}){if(this._cachedChanges)return r.includeChangesInGraveyard?this._cachedChangesWithGraveyard.slice():this._cachedChanges.slice();let c=[];for(const u of this._changesInElement.keys()){const _=this._changesInElement.get(u).sort((W,dt)=>W.offset===dt.offset?W.type!=dt.type?"remove"==W.type?-1:1:0:W.offsetu.position.root!=_.position.root?u.position.root.rootName<_.position.root.rootName?-1:1:u.position.isEqual(_.position)?u.changeCount-_.changeCount:u.position.isBefore(_.position)?-1:1);for(let u=1,_=0;uu);for(const u of c)delete u.changeCount,"attribute"==u.type&&(delete u.position,delete u.length);return this._changeCount=0,this._cachedChangesWithGraveyard=c,this._cachedChanges=c.filter(d0),r.includeChangesInGraveyard?this._cachedChangesWithGraveyard.slice():this._cachedChanges.slice()}getChangedRoots(){return Array.from(this._changedRoots.values()).map(r=>{const c=nf({},r);return void 0!==c.state&&delete c.attributes,c})}getRefreshedItems(){return new Set(this._refreshedItems)}reset(){this._changesInElement.clear(),this._elementSnapshots.clear(),this._changedMarkers.clear(),this._changedRoots.clear(),this._refreshedItems=new Set,this._cachedChanges=null}_bufferRootStateChange(r,c){if(!this._changedRoots.has(r))return void this._changedRoots.set(r,{name:r,state:c?"attached":"detached"});const u=this._changedRoots.get(r);void 0!==u.state?(delete u.state,void 0===u.attributes&&this._changedRoots.delete(r)):u.state=c?"attached":"detached"}_bufferRootAttributeChange(r,c,u,_){const x=this._changedRoots.get(r)||{name:r},M=x.attributes||{};if(M[c]){const E=M[c];_===E.oldValue?delete M[c]:E.newValue=_}else M[c]={oldValue:u,newValue:_};0===Object.entries(M).length?(delete x.attributes,void 0===x.state&&this._changedRoots.delete(r)):(x.attributes=M,this._changedRoots.set(r,x))}_refreshItem(r){if(this._isInInsertedElement(r.parent))return;this._markRemove(r.parent,r.startOffset,r.offsetSize),this._markInsert(r.parent,r.startOffset,r.offsetSize),this._refreshedItems.add(r);const c=Si._createOn(r);for(const u of this._markerCollection.getMarkersIntersectingRange(c)){const _=u.getData();this.bufferMarkerChange(u.name,_,_)}this._cachedChanges=null}_bufferRootLoad(r){if(r.isAttached()){this._bufferRootStateChange(r.rootName,!0),this._markInsert(r,0,r.maxOffset);for(const u of r.getAttributeKeys())this._bufferRootAttributeChange(r.rootName,u,null,r.getAttribute(u));for(const u of this._markerCollection)if(u.getRange().root==r){const _=u.getData();this.bufferMarkerChange(u.name,(c=nf({},_),t4(c,wv({range:null}))),_)}var c}}_markInsert(r,c,u){if(r.root.is("rootElement")&&!r.root._isLoaded)return;const _={type:"insert",offset:c,howMany:u,count:this._changeCount++};this._markChange(r,_)}_markRemove(r,c,u){if(r.root.is("rootElement")&&!r.root._isLoaded)return;const _={type:"remove",offset:c,howMany:u,count:this._changeCount++};this._markChange(r,_),this._removeAllNestedChanges(r,c,u)}_markAttribute(r){if(r.root.is("rootElement")&&!r.root._isLoaded)return;const c={type:"attribute",offset:r.startOffset,howMany:r.offsetSize,count:this._changeCount++};this._markChange(r.parent,c)}_markChange(r,c){this._makeSnapshot(r);const u=this._getChangesForElement(r);this._handleChange(c,u),u.push(c);for(let _=0;_u.offset){if(_>x){const M={type:"attribute",offset:x,howMany:_-x,count:this._changeCount++};this._handleChange(M,c),c.push(M)}r.nodesToHandle=u.offset-r.offset,r.howMany=r.nodesToHandle}else r.offset>=u.offset&&r.offsetx?(r.nodesToHandle=_-x,r.offset=x):r.nodesToHandle=0);if("remove"==u.type&&r.offsetu.offset){const M={type:"attribute",offset:u.offset,howMany:_-u.offset,count:this._changeCount++};this._handleChange(M,c),c.push(M),r.nodesToHandle=u.offset-r.offset,r.howMany=r.nodesToHandle}"attribute"==u.type&&(r.offset>=u.offset&&_<=x?(r.nodesToHandle=0,r.howMany=0,r.offset=0):r.offset<=u.offset&&_>=x&&(u.howMany=0))}}r.howMany=r.nodesToHandle,delete r.nodesToHandle}_getInsertDiff(r,c,u){return{type:"insert",position:to._createAt(r,c),name:u.name,attributes:new Map(u.attributes),length:1,changeCount:this._changeCount++}}_getRemoveDiff(r,c,u){return{type:"remove",position:to._createAt(r,c),name:u.name,attributes:new Map(u.attributes),length:1,changeCount:this._changeCount++}}_getAttributesDiff(r,c,u){const _=[];u=new Map(u);for(const[x,M]of c){const E=u.has(x)?u.get(x):null;E!==M&&_.push({type:"attribute",position:r.start,range:r.clone(),length:1,attributeKey:x,attributeOldValue:M,attributeNewValue:E,changeCount:this._changeCount++}),u.delete(x)}for(const[x,M]of u)_.push({type:"attribute",position:r.start,range:r.clone(),length:1,attributeKey:x,attributeOldValue:null,attributeNewValue:M,changeCount:this._changeCount++});return _}_isInInsertedElement(r){const c=r.parent;if(!c)return!1;const u=this._changesInElement.get(c),_=r.startOffset;if(u)for(const x of u)if("insert"==x.type&&_>=x.offset&&_u){for(let M=0;Mthis._version+1&&this._gaps.set(this._version,r),this._version=r}get lastOperation(){return this._operations[this._operations.length-1]}addOperation(r){if(r.baseVersion!==this.version)throw new nt("model-document-history-addoperation-incorrect-version",this,{operation:r,historyVersion:this.version});this._operations.push(r),this._version++,this._baseVersionToOperationIndex.set(r.baseVersion,this._operations.length-1)}getOperations(r,c=this.version){if(!this._operations.length)return[];const u=this._operations[0];void 0===r&&(r=u.baseVersion);let _=c-1;for(const[E,F]of this._gaps)r>E&&rE&&_this.lastOperation.baseVersion)return[];let x=this._baseVersionToOperationIndex.get(r);void 0===x&&(x=0);let M=this._baseVersionToOperationIndex.get(_);return void 0===M&&(M=this._operations.length-1),this._operations.slice(x,M+1)}getOperation(r){const c=this._baseVersionToOperationIndex.get(r);if(void 0!==c)return this._operations[c]}setOperationAsUndone(r,c){this._undoPairs.set(c,r),this._undoneOperations.add(r)}isUndoingOperation(r){return this._undoPairs.has(r)}isUndoneOperation(r){return this._undoneOperations.has(r)}getUndoneOperation(r){return this._undoPairs.get(r)}reset(){this._version=0,this._undoPairs=new Map,this._operations=[],this._undoneOperations=new Set,this._gaps=new Map,this._baseVersionToOperationIndex=new Map}}class nl extends Jr{constructor(r,c,u="main"){super(c),this._isAttached=!0,this._isLoaded=!0,this._document=r,this.rootName=u}get document(){return this._document}isAttached(){return this._isAttached}toJSON(){return this.rootName}}nl.prototype.is=function(m,r){return r?r===this.name&&("rootElement"===m||"model:rootElement"===m||"element"===m||"model:element"===m):"rootElement"===m||"model:rootElement"===m||"element"===m||"model:element"===m||"node"===m||"model:node"===m};var kd=Object.defineProperty,e5=Object.defineProperties,Uv=Object.getOwnPropertyDescriptors,Dp=Object.getOwnPropertySymbols,gh=Object.prototype.hasOwnProperty,bh=Object.prototype.propertyIsEnumerable,fm=(m,r,c)=>r in m?kd(m,r,{enumerable:!0,configurable:!0,writable:!0,value:c}):m[r]=c,X_=(m,r)=>{for(var c in r||(r={}))gh.call(r,c)&&fm(m,c,r[c]);if(Dp)for(var c of Dp(r))bh.call(r,c)&&fm(m,c,r[c]);return m},Xm=(m,r)=>e5(m,Uv(r));const af="$graveyard";class n5 extends(Oe()){constructor(r){super(),this.model=r,this.history=new t5,this.selection=new Ou(this),this.roots=new ec({idProperty:"rootName"}),this.differ=new n4(r.markers),this.isReadOnly=!1,this._postFixers=new Set,this._hasSelectionChangedFromTheLastChangeBlock=!1,this.createRoot("$root",af),this.listenTo(r,"applyOperation",(c,u)=>{const _=u[0];_.isDocumentOperation&&this.differ.bufferOperation(_)},{priority:"high"}),this.listenTo(r,"applyOperation",(c,u)=>{const _=u[0];_.isDocumentOperation&&this.history.addOperation(_)},{priority:"low"}),this.listenTo(this.selection,"change",()=>{this._hasSelectionChangedFromTheLastChangeBlock=!0}),this.listenTo(r.markers,"update",(c,u,_,x,M)=>{const E=Xm(X_({},u.getData()),{range:x});this.differ.bufferMarkerChange(u.name,M,E),null===_&&u.on("change",(F,V)=>{const W=u.getData();this.differ.bufferMarkerChange(u.name,Xm(X_({},W),{range:V}),W)})}),this.registerPostFixer(c=>{let u=!1;for(const _ of this.roots)_.isAttached()||_.isEmpty||(c.remove(c.createRangeIn(_)),u=!0);for(const _ of this.model.markers)_.getRange().root.isAttached()||(c.removeMarker(_),u=!0);return u})}get version(){return this.history.version}set version(r){this.history.version=r}get graveyard(){return this.getRoot(af)}createRoot(r="$root",c="main"){if(this.roots.get(c))throw new nt("model-document-createroot-name-exists",this,{name:c});const u=new nl(this,r,c);return this.roots.add(u),u}destroy(){this.selection.destroy(),this.stopListening()}getRoot(r="main"){return this.roots.get(r)}getRootNames(r=!1){return this.getRoots(r).map(c=>c.rootName)}getRoots(r=!1){return Array.from(this.roots).filter(c=>c!=this.graveyard&&(r||c.isAttached())&&c._isLoaded)}registerPostFixer(r){this._postFixers.add(r)}toJSON(){const r=Mi(this);return r.selection="[engine.model.DocumentSelection]",r.model="[engine.model.Model]",r}_handleChangeBlock(r){this._hasDocumentChangedFromTheLastChangeBlock()&&(this._callPostFixers(r),this.selection.refresh(),this.differ.hasDataChanges()?this.fire("change:data",r.batch):this.fire("change",r.batch),this.selection.refresh(),this.differ.reset()),this._hasSelectionChangedFromTheLastChangeBlock=!1}_hasDocumentChangedFromTheLastChangeBlock(){return!this.differ.isEmpty||this._hasSelectionChangedFromTheLastChangeBlock}_getDefaultRoot(){const r=this.getRoots();return r.length?r[0]:this.graveyard}_getDefaultRange(){const r=this._getDefaultRoot(),c=this.model,u=c.schema,_=c.createPositionFromPath(r,[0]);return u.getNearestSelectionRange(_)||c.createRange(_)}_validateSelectionRange(r){return G1(r.start)&&G1(r.end)}_callPostFixers(r){let c=!1;do{for(const u of this._postFixers)if(this.selection.refresh(),c=u(r),c)break}while(c)}}function G1(m){const r=m.textNode;if(r){const c=r.data,u=m.offset-r.startOffset;return!cn(c,u)&&!hd(c,u)}return!0}var vh=Object.defineProperty,p0=Object.defineProperties,o5=Object.getOwnPropertyDescriptors,m0=Object.getOwnPropertySymbols,a5=Object.prototype.hasOwnProperty,xh=Object.prototype.propertyIsEnumerable,Q1=(m,r,c)=>r in m?vh(m,r,{enumerable:!0,configurable:!0,writable:!0,value:c}):m[r]=c;class t2 extends(Oe()){constructor(){super(...arguments),this._markers=new Map}[Symbol.iterator](){return this._markers.values()}has(r){return this._markers.has(r instanceof hm?r.name:r)}get(r){return this._markers.get(r)||null}_set(r,c,u=!1,_=!1){const x=r instanceof hm?r.name:r;if(x.includes(","))throw new nt("markercollection-incorrect-marker-name",this);const M=this._markers.get(x);if(M){const W=M.getData(),dt=M.getRange();let Zt=!1;return dt.isEqual(c)||(M._attachLiveRange(Xu.fromRange(c)),Zt=!0),u!=M.managedUsingOperations&&(M._managedUsingOperations=u,Zt=!0),"boolean"==typeof _&&_!=M.affectsData&&(M._affectsData=_,Zt=!0),Zt&&this.fire(`update:${x}`,M,dt,c,W),M}const E=Xu.fromRange(c),F=new hm(x,E,u,_);var V;return this._markers.set(x,F),this.fire(`update:${x}`,F,null,c,(V=((W,dt)=>{for(var Zt in dt||(dt={}))a5.call(dt,Zt)&&Q1(W,Zt,dt[Zt]);if(m0)for(var Zt of m0(dt))xh.call(dt,Zt)&&Q1(W,Zt,dt[Zt]);return W})({},F.getData()),p0(V,o5({range:null})))),F}_remove(r){const c=r instanceof hm?r.name:r,u=this._markers.get(c);return!!u&&(this._markers.delete(c),this.fire(`update:${c}`,u,u.getRange(),null,u.getData()),this._destroyMarker(u),!0)}_refresh(r){const c=r instanceof hm?r.name:r,u=this._markers.get(c);if(!u)throw new nt("markercollection-refresh-marker-not-exists",this);const _=u.getRange();this.fire(`update:${c}`,u,_,_,u.getData())}*getMarkersAtPosition(r){for(const c of this)c.getRange().containsPosition(r)&&(yield c)}*getMarkersIntersectingRange(r){for(const c of this)null!==c.getRange().getIntersection(r)&&(yield c)}destroy(){for(const r of this._markers.values())this._destroyMarker(r);this._markers=null,this.stopListening()}*getMarkersGroup(r){for(const c of this._markers.values())c.name.startsWith(r+":")&&(yield c)}_destroyMarker(r){r.stopListening(),r._detachLiveRange()}}class hm extends(Oe(Up)){constructor(r,c,u,_){super(),this.name=r,this._liveRange=this._attachLiveRange(c),this._managedUsingOperations=u,this._affectsData=_}get managedUsingOperations(){if(!this._liveRange)throw new nt("marker-destroyed",this);return this._managedUsingOperations}get affectsData(){if(!this._liveRange)throw new nt("marker-destroyed",this);return this._affectsData}getData(){return{range:this.getRange(),affectsData:this.affectsData,managedUsingOperations:this.managedUsingOperations}}getStart(){if(!this._liveRange)throw new nt("marker-destroyed",this);return this._liveRange.start.clone()}getEnd(){if(!this._liveRange)throw new nt("marker-destroyed",this);return this._liveRange.end.clone()}getRange(){if(!this._liveRange)throw new nt("marker-destroyed",this);return this._liveRange.toRange()}_attachLiveRange(r){return this._liveRange&&this._detachLiveRange(),r.delegate("change:range").to(this),r.delegate("change:content").to(this),this._liveRange=r,r}_detachLiveRange(){this._liveRange.stopDelegating("change:range",this),this._liveRange.stopDelegating("change:content",this),this._liveRange.detach(),this._liveRange=null}}hm.prototype.is=function(m){return"marker"===m||"model:marker"===m};class gm extends ed{constructor(r,c){super(null),this.sourcePosition=r.clone(),this.howMany=c}get type(){return"detach"}get affectedSelectable(){return null}toJSON(){const r=super.toJSON();return r.sourcePosition=this.sourcePosition.toJSON(),r}_validate(){if(this.sourcePosition.root.document)throw new nt("detach-operation-on-document-node",this)}_execute(){ph(Si._createFromPositionAndShift(this.sourcePosition,this.howMany))}static get className(){return"DetachOperation"}}class Xd extends Up{constructor(r){super(),this.markers=new Map,this._children=new am,r&&this._insertChild(0,r)}[Symbol.iterator](){return this.getChildren()}get childCount(){return this._children.length}get maxOffset(){return this._children.maxOffset}get isEmpty(){return 0===this.childCount}get nextSibling(){return null}get previousSibling(){return null}get root(){return this}get parent(){return null}get document(){return null}isAttached(){return!1}getAncestors(){return[]}getChild(r){return this._children.getNode(r)}getChildren(){return this._children[Symbol.iterator]()}getChildIndex(r){return this._children.getNodeIndex(r)}getChildStartOffset(r){return this._children.getNodeStartOffset(r)}getPath(){return[]}getNodeByPath(r){let c=this;for(const u of r)c=c.getChild(c.offsetToIndex(u));return c}offsetToIndex(r){return this._children.offsetToIndex(r)}toJSON(){const r=[];for(const c of this._children)r.push(c.toJSON());return r}static fromJSON(r){const c=[];for(const u of r)c.push(u.name?Jr.fromJSON(u):ss.fromJSON(u));return new Xd(c)}_appendChild(r){this._insertChild(this.childCount,r)}_insertChild(r,c){const u="string"==typeof(_=c)?[new ss(_)]:(it(_)||(_=[_]),Array.from(_).map(x=>"string"==typeof x?new ss(x):x instanceof Ku?new ss(x.data,x.getAttributes()):x));var _;for(const _ of u)null!==_.parent&&_._remove(),_.parent=this;this._children._insertNodes(r,u)}_removeChildren(r,c=1){const u=this._children._removeNodes(r,c);for(const _ of u)_.parent=null;return u}}Xd.prototype.is=function(m){return"documentFragment"===m||"model:documentFragment"===m};class rf{constructor(r,c){this.model=r,this.batch=c}createText(r,c){return new ss(r,c)}createElement(r,c){return new Jr(r,c)}createDocumentFragment(){return new Xd}cloneElement(r,c=!0){return r._clone(c)}insert(r,c,u=0){if(this._assertWriterUsedCorrectly(),r instanceof ss&&""==r.data)return;const _=to._createAt(c,u);if(r.parent){if(f0(r.root,_.root))return void this.move(Si._createOn(r),_);if(r.root.document)throw new nt("model-writer-insert-forbidden-move",this);this.remove(r)}const M=new _c(_,r,_.root.document?_.root.document.version:null);if(r instanceof ss&&(M.shouldReceiveAttributes=!0),this.batch.addOperation(M),this.model.applyOperation(M),r instanceof Xd)for(const[E,F]of r.markers){const V=to._createAt(F.root,0),W={range:new Si(F.start._getCombined(V,_),F.end._getCombined(V,_)),usingOperation:!0,affectsData:!0};this.model.markers.has(E)?this.updateMarker(E,W):this.addMarker(E,W)}}insertText(r,c,u,_){c instanceof Xd||c instanceof Jr||c instanceof to?this.insert(this.createText(r),c,u):this.insert(this.createText(r,c),u,_)}insertElement(r,c,u,_){c instanceof Xd||c instanceof Jr||c instanceof to?this.insert(this.createElement(r),c,u):this.insert(this.createElement(r,c),u,_)}append(r,c){this.insert(r,c,"end")}appendText(r,c,u){c instanceof Xd||c instanceof Jr?this.insert(this.createText(r),c,"end"):this.insert(this.createText(r,c),u,"end")}appendElement(r,c,u){c instanceof Xd||c instanceof Jr?this.insert(this.createElement(r),c,"end"):this.insert(this.createElement(r,c),u,"end")}setAttribute(r,c,u){if(this._assertWriterUsedCorrectly(),u instanceof Si){const _=u.getMinimalFlatRanges();for(const x of _)t_(this,r,c,x)}else Ch(this,r,c,u)}setAttributes(r,c){for(const[u,_]of Kc(r))this.setAttribute(u,_,c)}removeAttribute(r,c){if(this._assertWriterUsedCorrectly(),c instanceof Si){const u=c.getMinimalFlatRanges();for(const _ of u)t_(this,r,null,_)}else Ch(this,r,null,c)}clearAttributes(r){this._assertWriterUsedCorrectly();const c=u=>{for(const _ of u.getAttributeKeys())this.removeAttribute(_,u)};if(r instanceof Si)for(const u of r.getItems())c(u);else c(r)}move(r,c,u){if(this._assertWriterUsedCorrectly(),!(r instanceof Si))throw new nt("writer-move-invalid-range",this);if(!r.isFlat)throw new nt("writer-move-range-not-flat",this);const _=to._createAt(c,u);if(_.isEqual(r.start))return;if(this._addOperationForAffectedMarkers("move",r),!f0(r.root,_.root))throw new nt("writer-move-different-document",this);const M=new ir(r.start,r.end.offset-r.start.offset,_,r.root.document?r.root.document.version:null);this.batch.addOperation(M),this.model.applyOperation(M)}remove(r){this._assertWriterUsedCorrectly();const c=(r instanceof Si?r:Si._createOn(r)).getMinimalFlatRanges().reverse();for(const u of c)this._addOperationForAffectedMarkers("move",u),_0(u.start,u.end.offset-u.start.offset,this.batch,this.model)}merge(r){this._assertWriterUsedCorrectly();const c=r.nodeBefore,u=r.nodeAfter;if(this._addOperationForAffectedMarkers("merge",r),!(c instanceof Jr))throw new nt("writer-merge-no-element-before",this);if(!(u instanceof Jr))throw new nt("writer-merge-no-element-after",this);r.root.document?this._merge(r):this._mergeDetached(r)}createPositionFromPath(r,c,u){return this.model.createPositionFromPath(r,c,u)}createPositionAt(r,c){return this.model.createPositionAt(r,c)}createPositionAfter(r){return this.model.createPositionAfter(r)}createPositionBefore(r){return this.model.createPositionBefore(r)}createRange(r,c){return this.model.createRange(r,c)}createRangeIn(r){return this.model.createRangeIn(r)}createRangeOn(r){return this.model.createRangeOn(r)}createSelection(...r){return this.model.createSelection(...r)}_mergeDetached(r){const c=r.nodeBefore,u=r.nodeAfter;this.move(Si._createIn(u),to._createAt(c,"end")),this.remove(u)}_merge(r){const c=to._createAt(r.nodeBefore,"end"),u=to._createAt(r.nodeAfter,0),x=new to(r.root.document.graveyard,[0]),E=new fs(u,r.nodeAfter.maxOffset,c,x,r.root.document.version);this.batch.addOperation(E),this.model.applyOperation(E)}rename(r,c){if(this._assertWriterUsedCorrectly(),!(r instanceof Jr))throw new nt("writer-rename-not-element-instance",this);const u=r.root.document?r.root.document.version:null,_=new Ll(to._createBefore(r),r.name,c,u);this.batch.addOperation(_),this.model.applyOperation(_)}split(r,c){this._assertWriterUsedCorrectly();let u,_,x=r.parent;if(!x.parent)throw new nt("writer-split-element-no-parent",this);if(c||(c=x.parent),!r.parent.getAncestors({includeSelf:!0}).includes(c))throw new nt("writer-split-invalid-limit-element",this);do{const M=x.root.document?x.root.document.version:null,E=x.maxOffset-r.offset,F=Ar.getInsertionPosition(r),V=new Ar(r,E,F,null,M);this.batch.addOperation(V),this.model.applyOperation(V),u||_||(u=x,_=r.parent.nextSibling),x=(r=this.createPositionAfter(r.parent)).parent}while(x!==c);return{position:r,range:new Si(to._createAt(u,"end"),to._createAt(_,0))}}wrap(r,c){if(this._assertWriterUsedCorrectly(),!r.isFlat)throw new nt("writer-wrap-range-not-flat",this);const u=c instanceof Jr?c:new Jr(c);if(u.childCount>0)throw new nt("writer-wrap-element-not-empty",this);if(null!==u.parent)throw new nt("writer-wrap-element-attached",this);this.insert(u,r.start);const _=new Si(r.start.getShiftedBy(1),r.end.getShiftedBy(1));this.move(_,to._createAt(u,0))}unwrap(r){if(this._assertWriterUsedCorrectly(),null===r.parent)throw new nt("writer-unwrap-element-no-parent",this);this.move(Si._createIn(r),this.createPositionAfter(r)),this.remove(r)}addMarker(r,c){if(this._assertWriterUsedCorrectly(),!c||"boolean"!=typeof c.usingOperation)throw new nt("writer-addmarker-no-usingoperation",this);const u=c.usingOperation,_=c.range,x=void 0!==c.affectsData&&c.affectsData;if(this.model.markers.has(r))throw new nt("writer-addmarker-marker-exists",this);if(!_)throw new nt("writer-addmarker-no-range",this);return u?(Pp(this,r,null,_,x),this.model.markers.get(r)):this.model.markers._set(r,_,u,x)}updateMarker(r,c){this._assertWriterUsedCorrectly();const u="string"==typeof r?r:r.name,_=this.model.markers.get(u);if(!_)throw new nt("writer-updatemarker-marker-not-exists",this);if(!c)return Tt("writer-updatemarker-reconvert-using-editingcontroller",{markerName:u}),void this.model.markers._refresh(_);const x="boolean"==typeof c.usingOperation,M="boolean"==typeof c.affectsData,E=M?c.affectsData:_.affectsData;if(!x&&!c.range&&!M)throw new nt("writer-updatemarker-wrong-options",this);const F=_.getRange(),V=c.range?c.range:F;x&&c.usingOperation!==_.managedUsingOperations?c.usingOperation?Pp(this,u,null,V,E):(Pp(this,u,F,null,E),this.model.markers._set(u,V,void 0,E)):_.managedUsingOperations?Pp(this,u,F,V,E):this.model.markers._set(u,V,void 0,E)}removeMarker(r){this._assertWriterUsedCorrectly();const c="string"==typeof r?r:r.name;if(!this.model.markers.has(c))throw new nt("writer-removemarker-no-marker",this);const u=this.model.markers.get(c);u.managedUsingOperations?Pp(this,c,u.getRange(),null,u.affectsData):this.model.markers._remove(c)}addRoot(r,c="$root"){this._assertWriterUsedCorrectly();const u=this.model.document.getRoot(r);if(u&&u.isAttached())throw new nt("writer-addroot-root-exists",this);const _=this.model.document,x=new ml(r,c,!0,_,_.version);return this.batch.addOperation(x),this.model.applyOperation(x),this.model.document.getRoot(r)}detachRoot(r){this._assertWriterUsedCorrectly();const c="string"==typeof r?this.model.document.getRoot(r):r;if(!c||!c.isAttached())throw new nt("writer-detachroot-no-root",this);for(const x of this.model.markers)x.getRange().root===c&&this.removeMarker(x);for(const x of c.getAttributeKeys())this.removeAttribute(x,c);this.remove(this.createRangeIn(c));const u=this.model.document,_=new ml(c.rootName,c.name,!1,u,u.version);this.batch.addOperation(_),this.model.applyOperation(_)}setSelection(...r){this._assertWriterUsedCorrectly(),this.model.document.selection._setTo(...r)}setSelectionFocus(r,c){this._assertWriterUsedCorrectly(),this.model.document.selection._setFocus(r,c)}setSelectionAttribute(r,c){if(this._assertWriterUsedCorrectly(),"string"==typeof r)this._setSelectionAttribute(r,c);else for(const[u,_]of Kc(r))this._setSelectionAttribute(u,_)}removeSelectionAttribute(r){if(this._assertWriterUsedCorrectly(),"string"==typeof r)this._removeSelectionAttribute(r);else for(const c of r)this._removeSelectionAttribute(c)}overrideSelectionGravity(){return this.model.document.selection._overrideGravity()}restoreSelectionGravity(r){this.model.document.selection._restoreGravity(r)}_setSelectionAttribute(r,c){const u=this.model.document.selection;if(u.isCollapsed&&u.anchor.parent.isEmpty){const _=Ou._getStoreAttributeKey(r);this.setAttribute(_,c,u.anchor.parent)}u._setAttribute(r,c)}_removeSelectionAttribute(r){const c=this.model.document.selection;if(c.isCollapsed&&c.anchor.parent.isEmpty){const u=Ou._getStoreAttributeKey(r);this.removeAttribute(u,c.anchor.parent)}c._removeAttribute(r)}_assertWriterUsedCorrectly(){if(this.model._currentWriter!==this)throw new nt("writer-incorrect-use",this)}_addOperationForAffectedMarkers(r,c){for(const u of this.model.markers){if(!u.managedUsingOperations)continue;const _=u.getRange();let x=!1;if("move"===r){const M=c;x=M.containsPosition(_.start)||M.start.isEqual(_.start)||M.containsPosition(_.end)||M.end.isEqual(_.end)}else{const F=c.nodeAfter,W=_.end.parent==F&&0==_.end.offset,dt=_.end.nodeAfter==F,Zt=_.start.nodeAfter==F;x=_.start.parent==c.nodeBefore&&_.start.isAtEnd||W||dt||Zt}x&&this.updateMarker(u.name,{range:_})}}}function t_(m,r,c,u){const _=m.model,x=_.document;let M,E,F,V=u.start;for(const dt of u.getWalker({shallow:!0}))F=dt.item.getAttribute(r),M&&E!=F&&(E!=c&&W(),V=M),M=dt.nextPosition,E=F;function W(){const dt=new Si(V,M),ue=new Wr(dt,r,E,c,dt.root.document?x.version:null);m.batch.addOperation(ue),_.applyOperation(ue)}M instanceof to&&M!=V&&E!=c&&W()}function Ch(m,r,c,u){const _=m.model,x=_.document,M=u.getAttribute(r);let E,F;M!=c&&(u.root===u?F=new $d(u,r,M,c,u.document?x.version:null):(E=new Si(to._createBefore(u),m.createPositionAfter(u)),F=new Wr(E,r,M,c,E.root.document?x.version:null)),m.batch.addOperation(F),_.applyOperation(F))}function Pp(m,r,c,u,_){const x=m.model,E=new Ts(r,c,u,x.markers,!!_,x.document.version);m.batch.addOperation(E),x.applyOperation(E)}function _0(m,r,c,u){let _;if(m.root.document){const x=u.document,M=new to(x.graveyard,[0]);_=new ir(m,r,M,x.version)}else _=new gm(m,r);c.addOperation(_),u.applyOperation(_)}function f0(m,r){return m===r||m instanceof nl&&r instanceof nl}function Ah(m,r,c={}){if(r.isCollapsed)return;const u=r.getFirstRange();if("$graveyard"==u.root.rootName)return;const _=m.schema;m.change(x=>{if(!c.doNotResetEntireContent&&function(V,W){const dt=V.getLimitElement(W);if(!W.containsEntireContent(dt))return!1;const Zt=W.getFirstRange();return Zt.start.parent!=Zt.end.parent&&V.checkChild(dt,"paragraph")}(_,r))return void function(V,W){const dt=V.model.schema.getLimitElement(W);V.remove(V.createRangeIn(dt)),g0(V,V.createPositionAt(dt,0),W)}(x,r);const M={};if(!c.doNotAutoparagraph){const V=r.getSelectedElement();V&&Object.assign(M,_.getAttributesWithProperty(V,"copyOnReplace",!0))}const[E,F]=function(V){const W=V.root.document.model,dt=V.start;let Zt=V.end;if(W.hasContent(V,{ignoreMarkers:!0})){const ue=function(Ae){const Ie=Ae.parent,ln=Ie.root.document.model.schema,Dn=Ie.getAncestors({parentFirst:!0,includeSelf:!0});for(const di of Dn){if(ln.isLimit(di))return null;if(ln.isBlock(di))return di}}(Zt);if(ue&&Zt.isTouching(W.createPositionAt(ue,0))){const Ae=W.createSelection(V);W.modifySelection(Ae,{direction:"backward"});const Ie=Ae.getLastPosition(),ln=W.createRange(Ie,Zt);W.hasContent(ln,{ignoreMarkers:!0})||(Zt=Ie)}}return[el.fromPosition(dt,"toPrevious"),el.fromPosition(Zt,"toNext")]}(u);E.isTouching(F)||x.remove(x.createRange(E,F)),c.leaveUnmerged||(function(V,W,dt){const Zt=V.model;if(!h0(V.model.schema,W,dt))return;const[ue,Ae]=function(Ie,ln){const Dn=Ie.getAncestors(),di=ln.getAncestors();let Ri=0;for(;Dn[Ri]&&Dn[Ri]==di[Ri];)Ri++;return[Dn[Ri],di[Ri]]}(W,dt);!ue||!Ae||(!Zt.hasContent(ue,{ignoreMarkers:!0})&&Zt.hasContent(Ae,{ignoreMarkers:!0})?r5(V,W,dt,ue.parent):i4(V,W,dt,ue.parent))}(x,E,F),_.removeDisallowedAttributes(E.parent.getChildren(),x)),b0(x,r,E),!c.doNotAutoparagraph&&function(V,W){const dt=V.checkChild(W,"$text"),Zt=V.checkChild(W,"paragraph");return!dt&&Zt}(_,E)&&g0(x,E,r,M),E.detach(),F.detach()})}function i4(m,r,c,u){const _=r.parent,x=c.parent;if(_!=u&&x!=u){for(r=m.createPositionAfter(_),(c=m.createPositionBefore(x)).isEqual(r)||m.insert(x,r),m.merge(r);c.parent.isEmpty;){const M=c.parent;c=m.createPositionBefore(M),m.remove(M)}h0(m.model.schema,r,c)&&i4(m,r,c,u)}}function r5(m,r,c,u){const _=r.parent,x=c.parent;if(_!=u&&x!=u){for(r=m.createPositionAfter(_),(c=m.createPositionBefore(x)).isEqual(r)||m.insert(_,c);r.parent.isEmpty;){const M=r.parent;r=m.createPositionBefore(M),m.remove(M)}c=m.createPositionBefore(x),function(M,E){const F=E.nodeBefore,V=E.nodeAfter;F.name!=V.name&&M.rename(F,V.name),M.clearAttributes(F),M.setAttributes(Object.fromEntries(V.getAttributes()),F),M.merge(E)}(m,c),h0(m.model.schema,r,c)&&r5(m,r,c,u)}}function h0(m,r,c){const u=r.parent,_=c.parent;return u!=_&&!m.isLimit(u)&&!m.isLimit(_)&&function(x,M,E){const F=new Si(x,M);for(const V of F.getWalker())if(E.isLimit(V.item))return!1;return!0}(r,c,m)}function g0(m,r,c,u={}){const _=m.createElement("paragraph");m.model.schema.setAllowedAttributes(_,u,m),m.insert(_,r),b0(m,c,m.createPositionAt(_,0))}function b0(m,r,c){r instanceof Ou?m.setSelection(c):r.setTo(c)}function sf(m,r){const c=[];Array.from(m.getItems({direction:"backward"})).map(u=>r.createRangeOn(u)).filter(u=>(u.start.isAfter(m.start)||u.start.isEqual(m.start))&&(u.end.isBefore(m.end)||u.end.isEqual(m.end))).forEach(u=>{c.push(u.start.parent),r.remove(u)}),c.forEach(u=>{let _=u;for(;_.parent&&_.isEmpty;){const x=r.createRangeOn(_);_=_.parent,r.remove(x)}})}class o4{constructor(r,c,u){this._firstNode=null,this._lastNode=null,this._lastAutoParagraph=null,this._filterAttributesOf=[],this._affectedStart=null,this._affectedEnd=null,this._nodeToSelect=null,this.model=r,this.writer=c,this.position=u,this.canMergeWith=new Set([this.position.parent]),this.schema=r.schema,this._documentFragment=c.createDocumentFragment(),this._documentFragmentPosition=c.createPositionAt(this._documentFragment,0)}handleNodes(r){for(const c of Array.from(r))this._handleNode(c);this._insertPartialFragment(),this._lastAutoParagraph&&this._updateLastNodeFromAutoParagraph(this._lastAutoParagraph),this._mergeOnRight(),this.schema.removeDisallowedAttributes(this._filterAttributesOf,this.writer),this._filterAttributesOf=[]}_updateLastNodeFromAutoParagraph(r){const c=this.writer.createPositionAfter(this._lastNode),u=this.writer.createPositionAfter(r);if(u.isAfter(c)){if(this._lastNode=r,this.position.parent!=r||!this.position.isAtEnd)throw new nt("insertcontent-invalid-insertion-position",this);this.position=u,this._setAffectedBoundaries(this.position)}}getSelectionRange(){return this._nodeToSelect?Si._createOn(this._nodeToSelect):this.model.schema.getNearestSelectionRange(this.position)}getAffectedRange(){return this._affectedStart?new Si(this._affectedStart,this._affectedEnd):null}destroy(){this._affectedStart&&this._affectedStart.detach(),this._affectedEnd&&this._affectedEnd.detach()}_handleNode(r){if(this.schema.isObject(r))return void this._handleObject(r);let c=this._checkAndAutoParagraphToAllowedPosition(r);c||(c=this._checkAndSplitToAllowedPosition(r),c)?(this._appendToFragment(r),this._firstNode||(this._firstNode=r),this._lastNode=r):this._handleDisallowedNode(r)}_insertPartialFragment(){if(this._documentFragment.isEmpty)return;const r=el.fromPosition(this.position,"toNext");this._setAffectedBoundaries(this.position),this._documentFragment.getChild(0)==this._firstNode&&(this.writer.insert(this._firstNode,this.position),this._mergeOnLeft(),this.position=r.toPosition()),this._documentFragment.isEmpty||this.writer.insert(this._documentFragment,this.position),this._documentFragmentPosition=this.writer.createPositionAt(this._documentFragment,0),this.position=r.toPosition(),r.detach()}_handleObject(r){this._checkAndSplitToAllowedPosition(r)?this._appendToFragment(r):this._tryAutoparagraphing(r)}_handleDisallowedNode(r){r.is("element")?this.handleNodes(r.getChildren()):this._tryAutoparagraphing(r)}_appendToFragment(r){if(!this.schema.checkChild(this.position,r))throw new nt("insertcontent-wrong-position",this,{node:r,position:this.position});this.writer.insert(r,this._documentFragmentPosition),this._documentFragmentPosition=this._documentFragmentPosition.getShiftedBy(r.offsetSize),this._nodeToSelect=this.schema.isObject(r)&&!this.schema.checkChild(this.position,"$text")?r:null,this._filterAttributesOf.push(r)}_setAffectedBoundaries(r){this._affectedStart||(this._affectedStart=el.fromPosition(r,"toPrevious")),this._affectedEnd&&!this._affectedEnd.isBefore(r)||(this._affectedEnd&&this._affectedEnd.detach(),this._affectedEnd=el.fromPosition(r,"toNext"))}_mergeOnLeft(){const r=this._firstNode;if(!(r instanceof Jr&&this._canMergeLeft(r)))return;const c=el._createBefore(r);c.stickiness="toNext";const u=el.fromPosition(this.position,"toNext");this._affectedStart.isEqual(c)&&(this._affectedStart.detach(),this._affectedStart=el._createAt(c.nodeBefore,"end","toPrevious")),this._firstNode===this._lastNode&&(this._firstNode=c.nodeBefore,this._lastNode=c.nodeBefore),this.writer.merge(c),c.isEqual(this._affectedEnd)&&this._firstNode===this._lastNode&&(this._affectedEnd.detach(),this._affectedEnd=el._createAt(c.nodeBefore,"end","toNext")),this.position=u.toPosition(),u.detach(),this._filterAttributesOf.push(this.position.parent),c.detach()}_mergeOnRight(){const r=this._lastNode;if(!(r instanceof Jr&&this._canMergeRight(r)))return;const c=el._createAfter(r);if(c.stickiness="toNext",!this.position.isEqual(c))throw new nt("insertcontent-invalid-insertion-position",this);this.position=to._createAt(c.nodeBefore,"end");const u=el.fromPosition(this.position,"toPrevious");this._affectedEnd.isEqual(c)&&(this._affectedEnd.detach(),this._affectedEnd=el._createAt(c.nodeBefore,"end","toNext")),this._firstNode===this._lastNode&&(this._firstNode=c.nodeBefore,this._lastNode=c.nodeBefore),this.writer.merge(c),c.getShiftedBy(-1).isEqual(this._affectedStart)&&this._firstNode===this._lastNode&&(this._affectedStart.detach(),this._affectedStart=el._createAt(c.nodeBefore,0,"toPrevious")),this.position=u.toPosition(),u.detach(),this._filterAttributesOf.push(this.position.parent),c.detach()}_canMergeLeft(r){const c=r.previousSibling;return c instanceof Jr&&this.canMergeWith.has(c)&&this.model.schema.checkMerge(c,r)}_canMergeRight(r){const c=r.nextSibling;return c instanceof Jr&&this.canMergeWith.has(c)&&this.model.schema.checkMerge(r,c)}_tryAutoparagraphing(r){const c=this.writer.createElement("paragraph");this._getAllowedIn(this.position.parent,c)&&this.schema.checkChild(c,r)&&(c._appendChild(r),this._handleNode(c))}_checkAndAutoParagraphToAllowedPosition(r){if(this.schema.checkChild(this.position.parent,r))return!0;if(!this.schema.checkChild(this.position.parent,"paragraph")||!this.schema.checkChild("paragraph",r))return!1;this._insertPartialFragment();const c=this.writer.createElement("paragraph");return this.writer.insert(c,this.position),this._setAffectedBoundaries(this.position),this._lastAutoParagraph=c,this.position=this.writer.createPositionAt(c,0),!0}_checkAndSplitToAllowedPosition(r){const c=this._getAllowedIn(this.position.parent,r);if(!c)return!1;for(c!=this.position.parent&&this._insertPartialFragment();c!=this.position.parent;)if(this.position.isAtStart){const u=this.position.parent;this.position=this.writer.createPositionBefore(u),u.isEmpty&&u.parent===c&&this.writer.remove(u)}else if(this.position.isAtEnd)this.position=this.writer.createPositionAfter(this.position.parent);else{const u=this.writer.createPositionAfter(this.position.parent);this._setAffectedBoundaries(this.position),this.writer.split(this.position),this.position=u,this.canMergeWith.add(this.position.nodeAfter)}return!0}_getAllowedIn(r,c){return this.schema.checkChild(r,c)?r:this.schema.isLimit(r)?null:this._getAllowedIn(r.parent,c)}}function v0(m,r,c="auto"){const u=m.getSelectedElement();if(u&&r.schema.isObject(u)&&!r.schema.isInline(u))return"before"==c||"after"==c?r.createRange(r.createPositionAt(u,c)):r.createRangeOn(u);const _=as(m.getSelectedBlocks());if(!_)return r.createRange(m.focus);if(_.isEmpty)return r.createRange(r.createPositionAt(_,0));const x=r.createPositionAfter(_);return m.focus.isTouching(x)?r.createRange(x):r.createRange(r.createPositionBefore(_))}function a4(m,r){const{isForward:c,walker:u,unit:_,schema:x,treatEmojiAsSingleUnit:M}=m,{type:E,item:F,nextPosition:V}=r;if("text"==E)return"word"===m.unit?function(W,dt){let Zt=W.position.textNode;for(Zt||(Zt=dt?W.position.nodeAfter:W.position.nodeBefore);Zt&&Zt.is("$text");){const ue=W.position.offset-Zt.startOffset;if(x0(Zt,ue,dt))Zt=dt?W.position.nodeAfter:W.position.nodeBefore;else{if(s5(Zt.data,ue,dt))break;W.next()}}return W.position}(u,c):function(W,dt,Zt){const ue=W.position.textNode;if(ue){const Ae=ue.data;let Ie=W.position.offset-ue.startOffset;for(;cn(Ae,Ie)||"character"==dt&&hd(Ae,Ie)||Zt&&kl(Ae,Ie);)W.next(),Ie=W.position.offset-ue.startOffset}return W.position}(u,_,M);if(E==(c?"elementStart":"elementEnd")){if(x.isSelectable(F))return to._createAt(F,c?"after":"before");if(x.checkChild(V,"$text"))return V}else{if(x.isLimit(F))return void u.skip(()=>!0);if(x.checkChild(V,"$text"))return V}}function r4(m,r){const u=to._createAt(m.root,r?"end":0);return r?new Si(m,u):new Si(u,m)}function s5(m,r,c){return' ,.?!:;"-()'.includes(m.charAt(r+(c?0:-1)))}function x0(m,r,c){return r===(c?m.offsetSize:0)}class hs extends(Ue()){constructor(){super(),this.markers=new t2,this.document=new n5(this),this.schema=new W3,this._pendingChanges=[],this._currentWriter=null,["deleteContent","modifySelection","getSelectedContent","applyOperation"].forEach(r=>this.decorate(r)),this.on("applyOperation",(r,c)=>{c[0]._validate()},{priority:"highest"}),this.schema.register("$root",{isLimit:!0}),this.schema.register("$container",{allowIn:["$root","$container"]}),this.schema.register("$block",{allowIn:["$root","$container"],isBlock:!0}),this.schema.register("$blockObject",{allowWhere:"$block",isBlock:!0,isObject:!0}),this.schema.register("$inlineObject",{allowWhere:"$text",allowAttributesOf:"$text",isInline:!0,isObject:!0}),this.schema.register("$text",{allowIn:"$block",isInline:!0,isContent:!0}),this.schema.register("$clipboardHolder",{allowContentOf:"$root",allowChildren:"$text",isLimit:!0}),this.schema.register("$documentFragment",{allowContentOf:"$root",allowChildren:"$text",isLimit:!0}),this.schema.register("$marker"),this.schema.addChildCheck((r,c)=>{if("$marker"===c.name)return!0}),function ah(m){m.document.registerPostFixer(r=>function(c,u){const _=u.document.selection,x=u.schema,M=[];let E=!1;for(const F of _.getRanges()){const V=Ga(F,x);V&&!V.isEqual(F)?(M.push(V),E=!0):M.push(F)}return E&&c.setSelection(function(F){const V=[...F],W=new Set;let dt=1;for(;dt!W.has(ue))}(M),{backward:_.isBackward}),!1}(r,m))}(this),this.document.registerPostFixer(eh),this.on("insertContent",(r,[c,u])=>{var _,x,M;r.return=(x=c,M=u,(_=this).change(E=>{const F=M||_.document.selection;F.isCollapsed||_.deleteContent(F,{doNotAutoparagraph:!0});const V=new o4(_,E,F.anchor),W=[];let dt;if(x.is("documentFragment")){if(x.markers.size){const Ae=[];for(const[Ie,ln]of x.markers){const{start:Dn,end:di}=ln,Ri=Dn.isEqual(di);Ae.push({position:Dn,name:Ie,isCollapsed:Ri},{position:di,name:Ie,isCollapsed:Ri})}Ae.sort(({position:Ie},{position:ln})=>Ie.isBefore(ln)?1:-1);for(const{position:Ie,name:ln,isCollapsed:Dn}of Ae){let di=null,Ri=null;const Go=Ie.parent===x&&Ie.isAtStart,Da=Ie.parent===x&&Ie.isAtEnd;Go||Da?Dn&&(Ri=Go?"start":"end"):(di=E.createElement("$marker"),E.insert(di,Ie)),W.push({name:ln,element:di,collapsed:Ri})}}dt=x.getChildren()}else dt=[x];V.handleNodes(dt);let Zt=V.getSelectionRange();if(x.is("documentFragment")&&W.length){const Ae=Zt?Xu.fromRange(Zt):null,Ie={};for(let ln=W.length-1;ln>=0;ln--){const{name:Dn,element:di,collapsed:Ri}=W[ln],Go=!Ie[Dn];if(Go&&(Ie[Dn]=[]),di){const Da=E.createPositionAt(di,"before");Ie[Dn].push(Da),E.remove(di)}else{const Da=V.getAffectedRange();if(!Da){Ri&&Ie[Dn].push(V.position);continue}Ie[Dn].push(Ri?Da[Ri]:Go?Da.start:Da.end)}}for(const[ln,[Dn,di]]of Object.entries(Ie))Dn&&di&&Dn.root===di.root&&E.addMarker(ln,{usingOperation:!0,affectsData:!0,range:new Si(Dn,di)});Ae&&(Zt=Ae.toRange(),Ae.detach())}Zt&&(F instanceof Ou?E.setSelection(Zt):F.setTo(Zt));const ue=V.getAffectedRange()||_.createRange(F.anchor);return V.destroy(),ue}))}),this.on("insertObject",(r,[c,u,_])=>{r.return=function mu(m,r,c,u={}){if(!m.schema.isObject(r))throw new nt("insertobject-element-not-an-object",m,{object:r});const _=c||m.document.selection;let x=_;u.findOptimalPosition&&m.schema.isBlock(r)&&(x=m.createSelection(v0(_,m,u.findOptimalPosition)));const M=as(_.getSelectedBlocks()),E={};return M&&Object.assign(E,m.schema.getAttributesWithProperty(M,"copyOnReplace",!0)),m.change(F=>{x.isCollapsed||m.deleteContent(x,{doNotAutoparagraph:!0});let V=r;const W=x.anchor.parent;!m.schema.checkChild(W,r)&&m.schema.checkChild(W,"paragraph")&&m.schema.checkChild("paragraph",r)&&(V=F.createElement("paragraph"),F.insert(r,V)),m.schema.setAllowedAttributes(V,E,F);const dt=m.insertContent(V,x);return dt.isCollapsed||u.setSelection&&function(Zt,ue,Ae,Ie){const ln=Zt.model;if("on"==Ae)return void Zt.setSelection(ue,"on");if("after"!=Ae)throw new nt("insertobject-invalid-place-parameter-value",ln);let Dn=ue.nextSibling;ln.schema.isInline(ue)?Zt.setSelection(ue,"after"):(!(Dn&&ln.schema.checkChild(Dn,"$text"))&&ln.schema.checkChild(ue.parent,"paragraph")&&(Dn=Zt.createElement("paragraph"),ln.schema.setAllowedAttributes(Dn,Ie,Zt),ln.insertContent(Dn,Zt.createPositionAfter(ue))),Dn&&Zt.setSelection(Dn,0))}(F,r,u.setSelection,E),dt})}(this,c,u,_)}),this.on("canEditAt",r=>{const c=!this.document.isReadOnly;r.return=c,c||r.stop()})}change(r){try{return 0===this._pendingChanges.length?(this._pendingChanges.push({batch:new _m,callback:r}),this._runPendingChanges()[0]):r(this._currentWriter)}catch(c){nt.rethrowUnexpectedError(c,this)}}enqueueChange(r,c){try{r?"function"==typeof r?(c=r,r=new _m):r instanceof _m||(r=new _m(r)):r=new _m,this._pendingChanges.push({batch:r,callback:c}),1==this._pendingChanges.length&&this._runPendingChanges()}catch(u){nt.rethrowUnexpectedError(u,this)}}applyOperation(r){r._execute()}insertContent(r,c,u,..._){const x=e2(c,u);return this.fire("insertContent",[r,x,u,..._])}insertObject(r,c,u,_,...x){const M=e2(c,u);return this.fire("insertObject",[r,M,_,_,...x])}deleteContent(r,c){Ah(this,r,c)}modifySelection(r,c){!function(u,_,x={}){const M=u.schema,E="backward"!=x.direction,F=x.unit?x.unit:"character",V=!!x.treatEmojiAsSingleUnit,dt=new Gd({boundaries:r4(_.focus,E),singleCharacters:!0,direction:E?"forward":"backward"}),Zt={walker:dt,schema:M,isForward:E,unit:F,treatEmojiAsSingleUnit:V};let ue;for(;ue=dt.next();){if(ue.done)return;const Ae=a4(Zt,ue.value);if(Ae)return void(_ instanceof Ou?u.change(Ie=>{Ie.setSelectionFocus(Ae)}):_.setFocus(Ae))}}(this,r,c)}getSelectedContent(r){return u=r,this.change(_=>{const x=_.createDocumentFragment(),M=u.getFirstRange();if(!M||M.isCollapsed)return x;const E=M.start.root,F=M.start.getCommonPath(M.end),V=E.getNodeByPath(F);let W;W=M.start.parent==M.end.parent?M:_.createRange(_.createPositionAt(V,M.start.path[F.length]),_.createPositionAt(V,M.end.path[F.length]+1));const dt=W.end.offset-W.start.offset;for(const Zt of W.getItems({shallow:!0}))Zt.is("$textProxy")?_.appendText(Zt.data,Zt.getAttributes(),x):_.append(_.cloneElement(Zt,!0),x);if(W!=M){const Zt=M._getTransformedByMove(W.start,_.createPositionAt(x,0),dt)[0],ue=_.createRange(_.createPositionAt(x,0),Zt.start);sf(_.createRange(Zt.end,_.createPositionAt(x,"end")),_),sf(ue,_)}return x});var u}hasContent(r,c={}){const u=r instanceof Si?r:Si._createIn(r);if(u.isCollapsed)return!1;const{ignoreWhitespaces:_=!1,ignoreMarkers:x=!1}=c;if(!x)for(const M of this.markers.getMarkersIntersectingRange(u))if(M.affectsData)return!0;for(const M of u.getItems())if(this.schema.isContent(M)&&(!M.is("$textProxy")||!_||-1!==M.data.search(/\S/)))return!0;return!1}canEditAt(r){const c=e2(r);return this.fire("canEditAt",[c])}createPositionFromPath(r,c,u){return new to(r,c,u)}createPositionAt(r,c){return to._createAt(r,c)}createPositionAfter(r){return to._createAfter(r)}createPositionBefore(r){return to._createBefore(r)}createRange(r,c){return new Si(r,c)}createRangeIn(r){return Si._createIn(r)}createRangeOn(r){return Si._createOn(r)}createSelection(...r){return new Ud(...r)}createBatch(r){return new _m(r)}createOperationFromJSON(r){return class Z1{static fromJSON(r,c){return pu[r.__className].fromJSON(r,c)}}.fromJSON(r,this.document)}destroy(){this.document.destroy(),this.stopListening()}_runPendingChanges(){const r=[];this.fire("_beforeChanges");try{for(;this._pendingChanges.length;){this._currentWriter=new rf(this,this._pendingChanges[0].batch);const u=this._pendingChanges[0].callback(this._currentWriter);r.push(u),this.document._handleChangeBlock(this._currentWriter),this._pendingChanges.shift(),this._currentWriter=null}}finally{this._pendingChanges.length=0,this._currentWriter=null,this.fire("_afterChanges")}return r}}function e2(m,r){if(m)return m instanceof Ud||m instanceof Ou?m:m instanceof oc?r||0===r?new Ud(m,r):m.is("rootElement")?new Ud(m,"in"):new Ud(m,"on"):new Ud(m)}class s4 extends Wu{constructor(){super(...arguments),this.domEventType="click"}onDomEvent(r){this.fire(r.type,r)}}class C0 extends Wu{constructor(){super(...arguments),this.domEventType=["mousedown","mouseup","mouseover","mouseout"]}onDomEvent(r){this.fire(r.type,r)}}class W1{constructor(r){this.document=r}createDocumentFragment(r){return new Td(this.document,r)}createElement(r,c,u){return new Xc(this.document,r,c,u)}createText(r){return new Eo(this.document,r)}clone(r,c=!1){return r._clone(c)}appendChild(r,c){return c._appendChild(r)}insertChild(r,c,u){return u._insertChild(r,c)}removeChildren(r,c,u){return u._removeChildren(r,c)}remove(r){const c=r.parent;return c?this.removeChildren(c.getChildIndex(r),1,c):[]}replace(r,c){const u=r.parent;if(u){const _=u.getChildIndex(r);return this.removeChildren(_,1,u),this.insertChild(_,c,u),!0}return!1}unwrapElement(r){const c=r.parent;if(c){const u=c.getChildIndex(r);this.remove(r),this.insertChild(u,r.getChildren(),c)}}rename(r,c){const u=new Xc(this.document,r,c.getAttributes(),c.getChildren());return this.replace(c,u)?u:null}setAttribute(r,c,u){u._setAttribute(r,c)}removeAttribute(r,c){c._removeAttribute(r)}addClass(r,c){c._addClass(r)}removeClass(r,c){c._removeClass(r)}setStyle(r,c,u){Xe(r)&&void 0===u?c._setStyle(r):u._setStyle(r,c)}removeStyle(r,c){c._removeStyle(r)}setCustomProperty(r,c,u){u._setCustomProperty(r,c)}removeCustomProperty(r,c){return c._removeCustomProperty(r)}createPositionAt(r,c){return Uo._createAt(r,c)}createPositionAfter(r){return Uo._createAfter(r)}createPositionBefore(r){return Uo._createBefore(r)}createRange(r,c){return new Ma(r,c)}createRangeOn(r){return Ma._createOn(r)}createRangeIn(r){return Ma._createIn(r)}createSelection(...r){return new ju(...r)}}class c4{constructor(){this._commands=new Map}add(r,c){this._commands.set(r,c)}get(r){return this._commands.get(r)}execute(r,...c){const u=this.get(r);if(!u)throw new nt("commandcollection-command-not-found",this,{commandName:r});return u.execute(...c)}*names(){yield*this._commands.keys()}*commands(){yield*this._commands.values()}[Symbol.iterator](){return this._commands[Symbol.iterator]()}destroy(){for(const r of this.commands())r.destroy()}}class l4 extends(Ue()){constructor(r={}){super();const c=this.constructor;this._context=r.context||new M2({language:r.language||c.defaultConfig&&c.defaultConfig.language}),this._context._addEditor(this,!r.context);const _=Array.from(c.builtinPlugins||[]);this.config=new nr(r,c.defaultConfig),this.config.define("plugins",_),this.config.define(this._context._getEditorConfig()),this.plugins=new Ef(this,_,this._context.plugins),this.locale=this._context.locale,this.t=this.locale.t,this._readOnlyLocks=new Set,this.commands=new c4,this.set("state","initializing"),this.once("ready",()=>this.state="ready",{priority:"high"}),this.once("destroy",()=>this.state="destroyed",{priority:"high"}),this.model=new hs,this.on("change:isReadOnly",()=>{this.model.document.isReadOnly=this.isReadOnly});const x=new Lg;this.data=new $_(this.model,x),this.editing=new um(this.model,x),this.editing.view.document.bind("isReadOnly").to(this),this.conversion=new Os([this.editing.downcastDispatcher,this.data.downcastDispatcher],this.data.upcastDispatcher),this.conversion.addAlias("dataDowncast",this.data.downcastDispatcher),this.conversion.addAlias("editingDowncast",this.editing.downcastDispatcher),this.keystrokes=new Wp(this),this.keystrokes.listenTo(this.editing.view.document)}get isReadOnly(){return this._readOnlyLocks.size>0}set isReadOnly(r){throw new nt("editor-isreadonly-has-no-setter")}enableReadOnlyMode(r){if("string"!=typeof r&&"symbol"!=typeof r)throw new nt("editor-read-only-lock-id-invalid",null,{lockId:r});this._readOnlyLocks.has(r)||(this._readOnlyLocks.add(r),1===this._readOnlyLocks.size&&this.fire("change:isReadOnly","isReadOnly",!0,!1))}disableReadOnlyMode(r){if("string"!=typeof r&&"symbol"!=typeof r)throw new nt("editor-read-only-lock-id-invalid",null,{lockId:r});this._readOnlyLocks.has(r)&&(this._readOnlyLocks.delete(r),0===this._readOnlyLocks.size&&this.fire("change:isReadOnly","isReadOnly",!1,!0))}initPlugins(){const r=this.config,c=r.get("plugins"),u=r.get("removePlugins")||[],_=r.get("extraPlugins")||[],x=r.get("substitutePlugins")||[];return this.plugins.init(c.concat(_),u,x)}destroy(){let r=Promise.resolve();return"initializing"==this.state&&(r=new Promise(c=>this.once("ready",c))),r.then(()=>{this.fire("destroy"),this.stopListening(),this.commands.destroy()}).then(()=>this.plugins.destroy()).then(()=>{this.model.destroy(),this.data.destroy(),this.editing.destroy(),this.keystrokes.destroy()}).then(()=>this._context._removeEditor(this))}execute(r,...c){try{return this.commands.execute(r,...c)}catch(u){nt.rethrowUnexpectedError(u,this)}}focus(){this.editing.view.focus()}static create(...r){throw new Error("This is an abstract method.")}}function n2(m){return class extends m{setData(r){this.data.set(r)}getData(r){return this.data.get(r)}}}{const m=n2(Object);n2.setData=m.prototype.setData,n2.getData=m.prototype.getData}function cf(m){return class extends m{updateSourceElement(r=this.data.get()){if(!this.sourceElement)throw new nt("editor-missing-sourceelement",this);const c=this.config.get("updateSourceElementOnDestroy"),u=this.sourceElement instanceof HTMLTextAreaElement;!function Ti(m,r){m instanceof HTMLTextAreaElement&&(m.value=r),m.innerHTML=r}(this.sourceElement,c||u?r:"")}}}cf.updateSourceElement=cf(Object).prototype.updateSourceElement;class Th extends w_{static get pluginName(){return"PendingActions"}init(){this.set("hasAny",!1),this._actions=new ec({idProperty:"_id"}),this._actions.delegate("add","remove").to(this)}add(r){if("string"!=typeof r)throw new nt("pendingactions-add-invalid-message",this);const c=new(Ue());return c.set("message",r),this._actions.add(c),this.hasAny=!0,c}remove(r){this._actions.remove(r),this.hasAny=!!this._actions.length}get first(){return this._actions.get(0)}[Symbol.iterator](){return this._actions[Symbol.iterator]()}}const gs={bold:'',cancel:'',caption:'',check:'',cog:'',eraser:'',history:'',image:'',lowVision:'',loupe:'',importExport:'',paragraph:'',plus:'',text:'',alignBottom:'',alignMiddle:'',alignTop:'',alignLeft:'',alignCenter:'',alignRight:'',alignJustify:'',objectLeft:'',objectCenter:'',objectRight:'',objectFullWidth:'',objectInline:'',objectBlockLeft:'',objectBlockRight:'',objectSizeFull:'',objectSizeLarge:'',objectSizeSmall:'',objectSizeMedium:'',pencil:'',pilcrow:'',quote:'',threeVerticalDots:'',dragIndicator:''};var A0=v(5542);No()(A0.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const{threeVerticalDots:o2}=gs,y0={alignLeft:gs.alignLeft,bold:gs.bold,importExport:gs.importExport,paragraph:gs.paragraph,plus:gs.plus,text:gs.text,threeVerticalDots:gs.threeVerticalDots,pilcrow:gs.pilcrow,dragIndicator:gs.dragIndicator};class T0 extends oa{constructor(r,c){super(r);const u=this.bindTemplate,_=this.t;this.options=c||{},this.set("ariaLabel",_("Editor toolbar")),this.set("maxWidth","auto"),this.items=this.createCollection(),this.focusTracker=new rs,this.keystrokes=new $c,this.set("class",void 0),this.set("isCompact",!1),this.itemsView=new Bs(r),this.children=this.createCollection(),this.children.add(this.itemsView),this.focusables=this.createCollection();const x="rtl"===r.uiLanguageDirection;this._focusCycler=new ul({focusables:this.focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:[x?"arrowright":"arrowleft","arrowup"],focusNext:[x?"arrowleft":"arrowright","arrowdown"]}});const M=["ck","ck-toolbar",u.to("class"),u.if("isCompact","ck-toolbar_compact")];var E;this.options.shouldGroupWhenFull&&this.options.isFloating&&M.push("ck-toolbar_floating"),this.setTemplate({tag:"div",attributes:{class:M,role:"toolbar","aria-label":u.to("ariaLabel"),style:{maxWidth:u.to("maxWidth")},tabindex:-1},children:this.children,on:{mousedown:(E=this,E.bindTemplate.to(F=>{F.target===E.element&&F.preventDefault()}))}}),this._behavior=this.options.shouldGroupWhenFull?new u4(this):new qc(this)}render(){super.render(),this.focusTracker.add(this.element);for(const r of this.items)this.focusTracker.add(r.element);this.items.on("add",(r,c)=>{this.focusTracker.add(c.element)}),this.items.on("remove",(r,c)=>{this.focusTracker.remove(c.element)}),this.keystrokes.listenTo(this.element),this._behavior.render(this)}destroy(){return this._behavior.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy(),super.destroy()}focus(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}fillFromConfig(r,c,u){this.items.addMany(this._buildItemsFromConfig(r,c,u))}_buildItemsFromConfig(r,c,u){const _=_p(r),x=u||_.removeItems;return this._cleanItemsConfiguration(_.items,c,x).map(M=>Wt(M)?this._createNestedToolbarDropdown(M,c,x):"|"===M?new dl:"-"===M?new Z2:c.create(M)).filter(M=>!!M)}_cleanItemsConfiguration(r,c,u){const _=r.filter((x,M,E)=>"|"===x||-1===u.indexOf(x)&&("-"===x?!this.options.shouldGroupWhenFull||(Tt("toolbarview-line-break-ignored-when-grouping-items",E),!1):!(!Wt(x)&&!c.has(x)&&(Tt("toolbarview-item-unavailable",{item:x}),1))));return this._cleanSeparatorsAndLineBreaks(_)}_cleanSeparatorsAndLineBreaks(r){const c=M=>"-"!==M&&"|"!==M,u=r.length,_=r.findIndex(c);if(-1===_)return[];const x=u-r.slice().reverse().findIndex(c);return r.slice(_,x).filter((M,E,F)=>!!c(M)||!(E>0&&F[E-1]===M))}_createNestedToolbarDropdown(r,c,u){let{label:_,icon:x,items:M,tooltip:E=!0,withText:F=!1}=r;if(M=this._cleanItemsConfiguration(M,c,u),!M.length)return null;const V=Lp(this.locale);return _||Tt("toolbarview-nested-toolbar-dropdown-missing-label",r),V.class="ck-toolbar__nested-toolbar-dropdown",V.buttonView.set({label:_,tooltip:E,withText:!!F}),!1!==x?V.buttonView.icon=y0[x]||x||o2:V.buttonView.withText=!0,e_(V,()=>V.toolbarView._buildItemsFromConfig(M,c,u)),V}}class Bs extends oa{constructor(r){super(r),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-toolbar__items"]},children:this.children})}}class qc{constructor(r){const c=r.bindTemplate;r.set("isVertical",!1),r.itemsView.children.bindTo(r.items).using(u=>u),r.focusables.bindTo(r.items).using(u=>u),r.extendTemplate({attributes:{class:[c.if("isVertical","ck-toolbar_vertical")]}})}render(){}destroy(){}}class u4{constructor(r){this.resizeObserver=null,this.cachedPadding=null,this.shouldUpdateGroupingOnNextResize=!1,this.view=r,this.viewChildren=r.children,this.viewFocusables=r.focusables,this.viewItemsView=r.itemsView,this.viewFocusTracker=r.focusTracker,this.viewLocale=r.locale,this.ungroupedItems=r.createCollection(),this.groupedItems=r.createCollection(),this.groupedItemsDropdown=this._createGroupedItemsDropdown(),r.itemsView.children.bindTo(this.ungroupedItems).using(c=>c),this.ungroupedItems.on("change",this._updateFocusCycleableItems.bind(this)),r.children.on("change",this._updateFocusCycleableItems.bind(this)),r.items.on("change",(c,u)=>{const _=u.index,x=Array.from(u.added);for(const M of u.removed)_>=this.ungroupedItems.length?this.groupedItems.remove(M):this.ungroupedItems.remove(M);for(let M=_;M<_+x.length;M++){const E=x[M-_];M>this.ungroupedItems.length?this.groupedItems.add(E,M-this.ungroupedItems.length):this.ungroupedItems.add(E,M)}this._updateGrouping()}),r.extendTemplate({attributes:{class:["ck-toolbar_grouping"]}})}render(r){this.viewElement=r.element,this._enableGroupingOnResize(),this._enableGroupingOnMaxWidthChange(r)}destroy(){this.groupedItemsDropdown.destroy(),this.resizeObserver.destroy()}_updateGrouping(){if(!this.viewElement.ownerDocument.body.contains(this.viewElement))return;if(!ra(this.viewElement))return void(this.shouldUpdateGroupingOnNextResize=!0);const r=this.groupedItems.length;let c;for(;this._areItemsOverflowing;)this._groupLastItem(),c=!0;if(!c&&this.groupedItems.length){for(;this.groupedItems.length&&!this._areItemsOverflowing;)this._ungroupFirstItem();this._areItemsOverflowing&&this._groupLastItem()}this.groupedItems.length!==r&&this.view.fire("groupedItemsUpdate")}get _areItemsOverflowing(){if(!this.ungroupedItems.length)return!1;const r=this.viewElement,c=this.viewLocale.uiLanguageDirection,u=new ce(r.lastChild),_=new ce(r);if(!this.cachedPadding){const x=Mt.window.getComputedStyle(r);this.cachedPadding=Number.parseInt(x["ltr"===c?"paddingRight":"paddingLeft"])}return"ltr"===c?u.right>_.right-this.cachedPadding:u.left<_.left+this.cachedPadding}_enableGroupingOnResize(){let r;this.resizeObserver=new yi(this.viewElement,c=>{r&&r===c.contentRect.width&&!this.shouldUpdateGroupingOnNextResize||(this.shouldUpdateGroupingOnNextResize=!1,this._updateGrouping(),r=c.contentRect.width)}),this._updateGrouping()}_enableGroupingOnMaxWidthChange(r){r.on("change:maxWidth",()=>{this._updateGrouping()})}_groupLastItem(){this.groupedItems.length||(this.viewChildren.add(new dl),this.viewChildren.add(this.groupedItemsDropdown),this.viewFocusTracker.add(this.groupedItemsDropdown.element)),this.groupedItems.add(this.ungroupedItems.remove(this.ungroupedItems.last),0)}_ungroupFirstItem(){this.ungroupedItems.add(this.groupedItems.remove(this.groupedItems.first)),this.groupedItems.length||(this.viewChildren.remove(this.groupedItemsDropdown),this.viewChildren.remove(this.viewChildren.last),this.viewFocusTracker.remove(this.groupedItemsDropdown.element))}_createGroupedItemsDropdown(){const r=this.viewLocale,c=r.t,u=Lp(r);return u.class="ck-toolbar__grouped-dropdown",u.panelPosition="ltr"===r.uiLanguageDirection?"sw":"se",e_(u,this.groupedItems),u.buttonView.set({label:c("Show more items"),tooltip:!0,tooltipPosition:"rtl"===r.uiLanguageDirection?"se":"sw",icon:o2}),u}_updateFocusCycleableItems(){this.viewFocusables.clear(),this.ungroupedItems.map(r=>{this.viewFocusables.add(r)}),this.groupedItems.length&&this.viewFocusables.add(this.groupedItemsDropdown)}}class a2 extends oa{constructor(r){super(r);const c=this.bindTemplate,u=`ck-editor__label_${Pt()}`,_=new d4(r);this.children=this.createCollection(),this.children.addMany([this._createLabel(u),_]),this.set({label:"",isVisible:!0}),_.set({role:"group",ariaLabelledBy:u}),_.focusTracker.destroy(),_.keystrokes.destroy(),this.items=_.items,this.setTemplate({tag:"li",attributes:{role:"presentation",class:["ck","ck-list__group",c.if("isVisible","ck-hidden",x=>!x)]},children:this.children})}_createLabel(r){const c=new oa(this.locale);return c.setTemplate({tag:"span",attributes:{id:r},children:[{text:this.bindTemplate.to("label")}]}),c}focus(){this.items.first&&this.items.first.focus()}}var r2=v(1046);No()(r2.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class d4 extends oa{constructor(r){super(r),this._listItemGroupToChangeListeners=new WeakMap;const c=this.bindTemplate;this.focusables=new Na,this.items=this.createCollection(),this.focusTracker=new rs,this.keystrokes=new $c,this._focusCycler=new ul({focusables:this.focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"arrowup",focusNext:"arrowdown"}}),this.set("ariaLabel",void 0),this.set("ariaLabelledBy",void 0),this.set("role",void 0),this.setTemplate({tag:"ul",attributes:{class:["ck","ck-reset","ck-list"],role:c.to("role"),"aria-label":c.to("ariaLabel"),"aria-labelledby":c.to("ariaLabelledBy")},children:this.items})}render(){super.render();for(const r of this.items)r instanceof a2?this._registerFocusableItemsGroup(r):this._registerFocusableListItem(r);this.items.on("change",(r,c)=>{for(const u of c.removed)u instanceof a2?this._deregisterFocusableItemsGroup(u):this._deregisterFocusableListItem(u);for(const u of Array.from(c.added).reverse())u instanceof a2?this._registerFocusableItemsGroup(u,c.index):this._registerFocusableListItem(u,c.index)}),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}focusFirst(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}_registerFocusableListItem(r,c){this.focusTracker.add(r.element),this.focusables.add(r,c)}_deregisterFocusableListItem(r){this.focusTracker.remove(r.element),this.focusables.remove(r)}_getOnGroupItemsChangeCallback(r){return(c,u)=>{for(const _ of u.removed)this._deregisterFocusableListItem(_);for(const _ of Array.from(u.added).reverse())this._registerFocusableListItem(_,this.items.getIndex(r)+u.index)}}_registerFocusableItemsGroup(r,c){Array.from(r.items).forEach((_,x)=>{this._registerFocusableListItem(_,void 0!==c?c+x:void 0)});const u=this._getOnGroupItemsChangeCallback(r);this._listItemGroupToChangeListeners.set(r,u),r.items.on("change",u)}_deregisterFocusableItemsGroup(r){for(const c of r.items)this._deregisterFocusableListItem(c);r.items.off("change",this._listItemGroupToChangeListeners.get(r)),this._listItemGroupToChangeListeners.delete(r)}}class Uh extends oa{constructor(r){super(r);const c=this.bindTemplate;this.set("isVisible",!0),this.children=this.createCollection(),this.setTemplate({tag:"li",attributes:{class:["ck","ck-list__item",c.if("isVisible","ck-hidden",u=>!u)],role:"presentation"},children:this.children})}focus(){this.children.first&&this.children.first.focus()}}class Sp extends oa{constructor(r){super(r),this.setTemplate({tag:"li",attributes:{class:["ck","ck-list__separator"]}})}}var bm=v(7686);No()(bm.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class p4 extends oa{constructor(r){super(r);const c=this.bindTemplate;this.set("class",void 0),this.set("labelStyle",void 0),this.set("icon",void 0),this.set("isEnabled",!0),this.set("isOn",!1),this.set("isToggleable",!1),this.set("isVisible",!0),this.set("keystroke",void 0),this.set("withKeystroke",!1),this.set("label",void 0),this.set("tabindex",-1),this.set("tooltip",!1),this.set("tooltipPosition","s"),this.set("type","button"),this.set("withText",!1),this.children=this.createCollection(),this.actionView=this._createActionView(),this.arrowView=this._createArrowView(),this.keystrokes=new $c,this.focusTracker=new rs,this.setTemplate({tag:"div",attributes:{class:["ck","ck-splitbutton",c.to("class"),c.if("isVisible","ck-hidden",u=>!u),this.arrowView.bindTemplate.if("isOn","ck-splitbutton_open")]},children:this.children})}render(){super.render(),this.children.add(this.actionView),this.children.add(this.arrowView),this.focusTracker.add(this.actionView.element),this.focusTracker.add(this.arrowView.element),this.keystrokes.listenTo(this.element),this.keystrokes.set("arrowright",(r,c)=>{this.focusTracker.focusedElement===this.actionView.element&&(this.arrowView.focus(),c())}),this.keystrokes.set("arrowleft",(r,c)=>{this.focusTracker.focusedElement===this.arrowView.element&&(this.actionView.focus(),c())})}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this.actionView.focus()}_createActionView(){const r=new $o;return r.bind("icon","isEnabled","isOn","isToggleable","keystroke","label","tabindex","tooltip","tooltipPosition","type","withText").to(this),r.extendTemplate({attributes:{class:"ck-splitbutton__action"}}),r.delegate("execute").to(this),r}_createArrowView(){const r=new $o,c=r.bindTemplate;return r.icon=xd,r.extendTemplate({attributes:{class:["ck-splitbutton__arrow"],"data-cke-tooltip-disabled":c.to("isOn"),"aria-haspopup":!0,"aria-expanded":c.to("isOn",u=>String(u))}}),r.bind("isEnabled").to(this),r.bind("label").to(this),r.bind("tooltip").to(this),r.delegate("execute").to(this,"open"),r}}var Mh=v(7339);No()(Mh.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var vm=v(3949);function Lp(m,r=x1){const c=new r(m),u=new y_(m),_=new Uu(m,c,u);return c.bind("isEnabled").to(_),c instanceof p4?c.arrowView.bind("isOn").to(_,"isOpen"):c.bind("isOn").to(_,"isOpen"),(M=x=_).on("render",()=>{t({emitter:M,activator:()=>M.isOpen,callback:()=>{M.isOpen=!1},contextElements:()=>[M.element,...M.focusTracker._elements]})}),function(M){M.on("execute",E=>{E.source instanceof ys||(M.isOpen=!1)})}(x),function(M){M.focusTracker.on("change:isFocused",(E,F,V)=>{M.isOpen&&!V&&(M.isOpen=!1)})}(x),function(M){M.keystrokes.set("arrowdown",(E,F)=>{M.isOpen&&(M.panelView.focus(),F())}),M.keystrokes.set("arrowup",(E,F)=>{M.isOpen&&(M.panelView.focusLast(),F())})}(x),function(M){M.on("change:isOpen",(E,F,V)=>{if(V)return;const W=M.panelView.element;W&&W.contains(Mt.document.activeElement)&&M.buttonView.focus()})}(x),function(M){M.on("change:isOpen",(E,F,V)=>{V&&M.panelView.focus()},{priority:"low"})}(x),_;var x,M}function e_(m,r,c={}){m.extendTemplate({attributes:{class:["ck-toolbar-dropdown"]}}),m.isOpen?n_(m,r,c):m.once("change:isOpen",()=>n_(m,r,c),{priority:"highest"}),c.enableActiveItemFocusOnDropdownOpen&&s2(m,()=>m.toolbarView.items.find(u=>u.isOn))}function n_(m,r,c){const u=m.locale,_=u.t,x=m.toolbarView=new T0(u),M="function"==typeof r?r():r;x.ariaLabel=c.ariaLabel||_("Dropdown toolbar"),c.maxWidth&&(x.maxWidth=c.maxWidth),c.class&&(x.class=c.class),c.isCompact&&(x.isCompact=c.isCompact),c.isVertical&&(x.isVertical=!0),M instanceof Na?x.items.bindTo(M).using(E=>E):x.items.addMany(M),m.panelView.children.add(x),x.items.delegate("execute").to(m)}function t1(m,r,c={}){m.isOpen?Cm(m,r,c):m.once("change:isOpen",()=>Cm(m,r,c),{priority:"highest"}),s2(m,()=>m.listView.items.find(u=>u instanceof Uh&&u.children.first.isOn))}function Cm(m,r,c){const u=m.locale,_=m.listView=new d4(u),x="function"==typeof r?r():r;_.ariaLabel=c.ariaLabel,_.role=c.role,Am(m,_.items,x,u),m.panelView.children.add(_),_.items.delegate("execute").to(m)}function s2(m,r){m.on("change:isOpen",()=>{if(!m.isOpen)return;const c=r();c&&("function"==typeof c.focus?c.focus():Tt("ui-dropdown-focus-child-on-open-child-missing-focus",{view:c}))},{priority:Dt.low-10})}function Am(m,r,c,u){r.bindTo(c).using(_=>{if("separator"===_.type)return new Sp(u);if("group"===_.type){const x=new a2(u);return x.set({label:_.label}),Am(m,x.items,_.items,u),x.items.delegate("execute").to(m),x}if("button"===_.type||"switchbutton"===_.type){const x=new Uh(u);let M;return M="button"===_.type?new $o(u):new ys(u),M.bind(...Object.keys(_.model)).to(_.model),M.delegate("execute").to(x),x.children.add(M),x}return null})}No()(vm.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const lf=(m,r,c)=>{const u=new vg(m.locale);return u.set({id:r,ariaDescribedById:c}),u.bind("isReadOnly").to(m,"isEnabled",_=>!_),u.bind("hasError").to(m,"errorText",_=>!!_),u.on("input",()=>{m.errorText=null}),m.bind("isEmpty","isFocused","placeholder").to(u),u},K1=(m,r=0,c=1)=>m>c?c:mMath.round(c*m)/c,w0=m=>("#"===m[0]&&(m=m.substring(1)),m.length<6?{r:parseInt(m[0]+m[0],16),g:parseInt(m[1]+m[1],16),b:parseInt(m[2]+m[2],16),a:4===m.length?Ol(parseInt(m[3]+m[3],16)/255,2):1}:{r:parseInt(m.substring(0,2),16),g:parseInt(m.substring(2,4),16),b:parseInt(m.substring(4,6),16),a:8===m.length?Ol(parseInt(m.substring(6,8),16)/255,2):1}),X1=m=>{const{h:r,s:c,l:u}=(({h:m,s:r,v:c,a:u})=>{const _=(200-r)*c/100;return{h:Ol(m),s:Ol(_>0&&_<200?r*c/100/(_<=100?_:200-_)*100:0),l:Ol(_/2),a:Ol(u,2)}})(m);return`hsl(${r}, ${c}%, ${u}%)`},kh=m=>{const r=m.toString(16);return r.length<2?"0"+r:r},_4=(m,r)=>{if(m===r)return!0;for(const c in m)if(m[c]!==r[c])return!1;return!0},k0={},D0=m=>{let r=k0[m];return r||(r=document.createElement("template"),r.innerHTML=m,k0[m]=r),r},Dh=(m,r,c)=>{m.dispatchEvent(new CustomEvent(r,{bubbles:!0,detail:c}))};let ym=!1;const P0=m=>"touches"in m,uf=(m,r)=>{const c=P0(r)?r.touches[0]:r,u=m.el.getBoundingClientRect();Dh(m.el,"move",m.getMove({x:K1((c.pageX-(u.left+window.pageXOffset))/u.width),y:K1((c.pageY-(u.top+window.pageYOffset))/u.height)}))};class f4{constructor(r,c,u,_){const x=D0(`
`);r.appendChild(x.content.cloneNode(!0));const M=r.querySelector(`[part=${c}]`);M.addEventListener("mousedown",this),M.addEventListener("touchstart",this),M.addEventListener("keydown",this),this.el=M,this.xy=_,this.nodes=[M.firstChild,M]}set dragging(r){const c=r?document.addEventListener:document.removeEventListener;c(ym?"touchmove":"mousemove",this),c(ym?"touchend":"mouseup",this)}handleEvent(r){switch(r.type){case"mousedown":case"touchstart":if(r.preventDefault(),c=r,ym&&!P0(c)||(ym||(ym=P0(c)),0)||!ym&&0!=r.button)return;this.el.focus(),uf(this,r),this.dragging=!0;break;case"mousemove":case"touchmove":r.preventDefault(),uf(this,r);break;case"mouseup":case"touchend":this.dragging=!1;break;case"keydown":((c,u)=>{const _=u.keyCode;_>40||c.xy&&_<37||_<33||(u.preventDefault(),Dh(c.el,"move",c.getMove({x:39===_?.01:37===_?-.01:34===_?.05:33===_?-.05:35===_?1:36===_?-1:0,y:40===_?.01:38===_?-.01:0},!0)))})(this,r)}var c}style(r){r.forEach((c,u)=>{for(const _ in c)this.nodes[u].style.setProperty(_,c[_])})}}class L extends f4{constructor(r){super(r,"hue",'aria-label="Hue" aria-valuemin="0" aria-valuemax="360"',!1)}update({h:r}){this.h=r,this.style([{left:r/360*100+"%",color:X1({h:r,s:100,v:100,a:1})}]),this.el.setAttribute("aria-valuenow",`${Ol(r)}`)}getMove(r,c){return{h:c?K1(this.h+360*r.x,0,360):360*r.x}}}class R extends f4{constructor(r){super(r,"saturation",'aria-label="Color"',!0)}update(r){this.hsva=r,this.style([{top:100-r.v+"%",left:`${r.s}%`,color:X1(r)},{"background-color":X1({h:r.h,s:100,v:100,a:1})}]),this.el.setAttribute("aria-valuetext",`Saturation ${Ol(r.s)}%, Brightness ${Ol(r.v)}%`)}getMove(r,c){return{s:c?K1(this.hsva.s+100*r.x,0,100):100*r.x,v:c?K1(this.hsva.v-100*r.y,0,100):Math.round(100-100*r.y)}}}const st=Symbol("same"),Qt=Symbol("color"),Ne=Symbol("hsva"),pn=Symbol("update"),zn=Symbol("parts"),si=Symbol("css"),_i=Symbol("sliders");class Wi extends HTMLElement{static get observedAttributes(){return["color"]}get[si](){return[':host{display:flex;flex-direction:column;position:relative;width:200px;height:200px;user-select:none;-webkit-user-select:none;cursor:default}:host([hidden]){display:none!important}[role=slider]{position:relative;touch-action:none;user-select:none;-webkit-user-select:none;outline:0}[role=slider]:last-child{border-radius:0 0 8px 8px}[part$=pointer]{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;display:flex;place-content:center center;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}[part$=pointer]::after{content:"";width:100%;height:100%;border-radius:inherit;background-color:currentColor}[role=slider]:focus [part$=pointer]{transform:translate(-50%,-50%) scale(1.1)}',"[part=hue]{flex:0 0 24px;background:linear-gradient(to right,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%)}[part=hue-pointer]{top:50%;z-index:2}","[part=saturation]{flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,rgba(255,255,255,0));box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}[part=saturation-pointer]{z-index:3}"]}get[_i](){return[R,L]}get color(){return this[Qt]}set color(r){if(!this[st](r)){const c=this.colorModel.toHsva(r);this[pn](c),this[Qt]=r}}constructor(){super();const r=D0(``),c=this.attachShadow({mode:"open"});c.appendChild(r.content.cloneNode(!0)),c.addEventListener("move",this),this[zn]=this[_i].map(u=>new u(c))}connectedCallback(){if(this.hasOwnProperty("color")){const r=this.color;delete this.color,this.color=r}else this.color||(this.color=this.colorModel.defaultColor)}attributeChangedCallback(r,c,u){const _=this.colorModel.fromAttr(u);this[st](_)||(this.color=_)}handleEvent(r){const c=this[Ne],u={...c,...r.detail};let _;this[pn](u),_4(u,c)||this[st](_=this.colorModel.fromHsva(u))||(this[Qt]=_,Dh(this,"color-changed",{value:_}))}[st](r){return this.color&&this.colorModel.equal(r,this.color)}[pn](r){this[Ne]=r,this[zn].forEach(c=>c.update(r))}}const $i={defaultColor:"#000",toHsva:m=>(({r:m,g:r,b:c,a:u})=>{const _=Math.max(m,r,c),x=_-Math.min(m,r,c),M=x?_===m?(r-c)/x:_===r?2+(c-m)/x:4+(m-r)/x:0;return{h:Ol(60*(M<0?M+6:M)),s:Ol(_?x/_*100:0),v:Ol(_/255*100),a:u}})(w0(m)),fromHsva:({h:m,s:r,v:c})=>(({r:m,g:r,b:c,a:u})=>{const _=u<1?kh(Ol(255*u)):"";return"#"+kh(m)+kh(r)+kh(c)+_})((({h:m,s:r,v:c,a:u})=>{m=m/360*6,r/=100,c/=100;const _=Math.floor(m),x=c*(1-r),M=c*(1-(m-_)*r),E=c*(1-(1-m+_)*r),F=_%6;return{r:Ol(255*[c,M,x,x,E,c][F]),g:Ol(255*[E,c,c,M,x,x][F]),b:Ol(255*[x,x,E,c,c,M][F]),a:Ol(u,2)}})({h:m,s:r,v:c,a:1})),equal:(m,r)=>m.toLowerCase()===r.toLowerCase()||_4(w0(m),w0(r)),fromAttr:m=>m};class co extends Wi{get colorModel(){return $i}}customElements.define("hex-color-picker",class extends co{});var Lo=v(3398);No()(Lo.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0}),Ue(ec);var xa=v(4157);No()(xa.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class ba{constructor(r){this._components=new Map,this.editor=r}*names(){for(const r of this._components.values())yield r.originalName}add(r,c){this._components.set(Xa(r),{callback:c,originalName:r})}create(r){if(!this.has(r))throw new nt("componentfactory-item-missing",this,{name:r});return this._components.get(Xa(r)).callback(this.editor.locale)}has(r){return this._components.has(Xa(r))}}function Xa(m){return String(m).toLowerCase()}var za=v(8793);No()(za.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var hc=Object.defineProperty,_l=Object.getOwnPropertySymbols,Es=Object.prototype.hasOwnProperty,Ql=Object.prototype.propertyIsEnumerable,_u=(m,r,c)=>r in m?hc(m,r,{enumerable:!0,configurable:!0,writable:!0,value:c}):m[r]=c,_r=(m,r)=>{for(var c in r||(r={}))Es.call(r,c)&&_u(m,c,r[c]);if(_l)for(var c of _l(r))Ql.call(r,c)&&_u(m,c,r[c]);return m};const i_=bo("px"),c2=Mt.document.body,Ph={top:-99999,left:-99999,name:"arrowless",config:{withArrow:!1}},h4=class extends oa{constructor(m){super(m);const r=this.bindTemplate;this.set("top",0),this.set("left",0),this.set("position","arrow_nw"),this.set("isVisible",!1),this.set("withArrow",!0),this.set("class",void 0),this._pinWhenIsVisibleCallback=null,this.content=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-balloon-panel",r.to("position",c=>`ck-balloon-panel_${c}`),r.if("isVisible","ck-balloon-panel_visible"),r.if("withArrow","ck-balloon-panel_with-arrow"),r.to("class")],style:{top:r.to("top",i_),left:r.to("left",i_)}},children:this.content})}show(){this.isVisible=!0}hide(){this.isVisible=!1}attachTo(m){this.show();const r=h4.defaultPositions,c=Object.assign({},{element:this.element,positions:[r.southArrowNorth,r.southArrowNorthMiddleWest,r.southArrowNorthMiddleEast,r.southArrowNorthWest,r.southArrowNorthEast,r.northArrowSouth,r.northArrowSouthMiddleWest,r.northArrowSouthMiddleEast,r.northArrowSouthWest,r.northArrowSouthEast,r.viewportStickyNorth],limiter:c2,fitInViewport:!0},m),u=h4._getOptimalPosition(c)||Ph,_=parseInt(u.left),x=parseInt(u.top),M=u.name,E=u.config||{},{withArrow:F=!0}=E;this.top=x,this.left=_,this.position=M,this.withArrow=F}pin(m){this.unpin(),this._pinWhenIsVisibleCallback=()=>{this.isVisible?this._startPinning(m):this._stopPinning()},this._startPinning(m),this.listenTo(this,"change:isVisible",this._pinWhenIsVisibleCallback)}unpin(){this._pinWhenIsVisibleCallback&&(this._stopPinning(),this.stopListening(this,"change:isVisible",this._pinWhenIsVisibleCallback),this._pinWhenIsVisibleCallback=null,this.hide())}_startPinning(m){this.attachTo(m);const r=g4(m.target),c=m.limiter?g4(m.limiter):c2;this.listenTo(Mt.document,"scroll",(u,_)=>{const x=_.target,M=r&&x.contains(r),E=c&&x.contains(c);!M&&!E&&r&&c||this.attachTo(m)},{useCapture:!0}),this.listenTo(Mt.window,"resize",()=>{this.attachTo(m)})}_stopPinning(){this.stopListening(Mt.document,"scroll"),this.stopListening(Mt.window,"resize")}};let id=h4;function g4(m){return la(m)?m:jt(m)?m.commonAncestorContainer:"function"==typeof m?g4(m()):null}function b4(m={}){const{sideOffset:r=id.arrowSideOffset,heightOffset:c=id.arrowHeightOffset,stickyVerticalOffset:u=id.stickyVerticalOffset,config:_}=m;return{northWestArrowSouthWest:(E,F)=>_r({top:x(E,F),left:E.left-r,name:"arrow_sw"},_&&{config:_}),northWestArrowSouthMiddleWest:(E,F)=>_r({top:x(E,F),left:E.left-.25*F.width-r,name:"arrow_smw"},_&&{config:_}),northWestArrowSouth:(E,F)=>_r({top:x(E,F),left:E.left-F.width/2,name:"arrow_s"},_&&{config:_}),northWestArrowSouthMiddleEast:(E,F)=>_r({top:x(E,F),left:E.left-.75*F.width+r,name:"arrow_sme"},_&&{config:_}),northWestArrowSouthEast:(E,F)=>_r({top:x(E,F),left:E.left-F.width+r,name:"arrow_se"},_&&{config:_}),northArrowSouthWest:(E,F)=>_r({top:x(E,F),left:E.left+E.width/2-r,name:"arrow_sw"},_&&{config:_}),northArrowSouthMiddleWest:(E,F)=>_r({top:x(E,F),left:E.left+E.width/2-.25*F.width-r,name:"arrow_smw"},_&&{config:_}),northArrowSouth:(E,F)=>_r({top:x(E,F),left:E.left+E.width/2-F.width/2,name:"arrow_s"},_&&{config:_}),northArrowSouthMiddleEast:(E,F)=>_r({top:x(E,F),left:E.left+E.width/2-.75*F.width+r,name:"arrow_sme"},_&&{config:_}),northArrowSouthEast:(E,F)=>_r({top:x(E,F),left:E.left+E.width/2-F.width+r,name:"arrow_se"},_&&{config:_}),northEastArrowSouthWest:(E,F)=>_r({top:x(E,F),left:E.right-r,name:"arrow_sw"},_&&{config:_}),northEastArrowSouthMiddleWest:(E,F)=>_r({top:x(E,F),left:E.right-.25*F.width-r,name:"arrow_smw"},_&&{config:_}),northEastArrowSouth:(E,F)=>_r({top:x(E,F),left:E.right-F.width/2,name:"arrow_s"},_&&{config:_}),northEastArrowSouthMiddleEast:(E,F)=>_r({top:x(E,F),left:E.right-.75*F.width+r,name:"arrow_sme"},_&&{config:_}),northEastArrowSouthEast:(E,F)=>_r({top:x(E,F),left:E.right-F.width+r,name:"arrow_se"},_&&{config:_}),southWestArrowNorthWest:E=>_r({top:M(E),left:E.left-r,name:"arrow_nw"},_&&{config:_}),southWestArrowNorthMiddleWest:(E,F)=>_r({top:M(E),left:E.left-.25*F.width-r,name:"arrow_nmw"},_&&{config:_}),southWestArrowNorth:(E,F)=>_r({top:M(E),left:E.left-F.width/2,name:"arrow_n"},_&&{config:_}),southWestArrowNorthMiddleEast:(E,F)=>_r({top:M(E),left:E.left-.75*F.width+r,name:"arrow_nme"},_&&{config:_}),southWestArrowNorthEast:(E,F)=>_r({top:M(E),left:E.left-F.width+r,name:"arrow_ne"},_&&{config:_}),southArrowNorthWest:E=>_r({top:M(E),left:E.left+E.width/2-r,name:"arrow_nw"},_&&{config:_}),southArrowNorthMiddleWest:(E,F)=>_r({top:M(E),left:E.left+E.width/2-.25*F.width-r,name:"arrow_nmw"},_&&{config:_}),southArrowNorth:(E,F)=>_r({top:M(E),left:E.left+E.width/2-F.width/2,name:"arrow_n"},_&&{config:_}),southArrowNorthMiddleEast:(E,F)=>_r({top:M(E),left:E.left+E.width/2-.75*F.width+r,name:"arrow_nme"},_&&{config:_}),southArrowNorthEast:(E,F)=>_r({top:M(E),left:E.left+E.width/2-F.width+r,name:"arrow_ne"},_&&{config:_}),southEastArrowNorthWest:E=>_r({top:M(E),left:E.right-r,name:"arrow_nw"},_&&{config:_}),southEastArrowNorthMiddleWest:(E,F)=>_r({top:M(E),left:E.right-.25*F.width-r,name:"arrow_nmw"},_&&{config:_}),southEastArrowNorth:(E,F)=>_r({top:M(E),left:E.right-F.width/2,name:"arrow_n"},_&&{config:_}),southEastArrowNorthMiddleEast:(E,F)=>_r({top:M(E),left:E.right-.75*F.width+r,name:"arrow_nme"},_&&{config:_}),southEastArrowNorthEast:(E,F)=>_r({top:M(E),left:E.right-F.width+r,name:"arrow_ne"},_&&{config:_}),westArrowEast:(E,F)=>_r({top:E.top+E.height/2-F.height/2,left:E.left-F.width-c,name:"arrow_e"},_&&{config:_}),eastArrowWest:(E,F)=>_r({top:E.top+E.height/2-F.height/2,left:E.right+c,name:"arrow_w"},_&&{config:_}),viewportStickyNorth:(E,F,V,W)=>{const dt=W||V;return E.getIntersection(dt)?dt.height-E.height>u?null:{top:dt.top+u,left:E.left+E.width/2-F.width/2,name:"arrowless",config:_r({withArrow:!1},_)}:null}};function x(E,F){return E.top-F.height-c}function M(E){return E.bottom+c}}id.arrowSideOffset=25,id.arrowHeightOffset=10,id.stickyVerticalOffset=20,id._getOptimalPosition=es,id.defaultPositions=b4();var l5=v(3332);No()(l5.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const u5="ck-tooltip",od=class extends(Xi()){constructor(m){if(super(),this._currentElementWithTooltip=null,this._currentTooltipPosition=null,this._resizeObserver=null,od._editors.add(m),od._instance)return od._instance;od._instance=this,this.tooltipTextView=new oa(m.locale),this.tooltipTextView.set("text",""),this.tooltipTextView.setTemplate({tag:"span",attributes:{class:["ck","ck-tooltip__text"]},children:[{text:this.tooltipTextView.bindTemplate.to("text")}]}),this.balloonPanelView=new id(m.locale),this.balloonPanelView.class=u5,this.balloonPanelView.content.add(this.tooltipTextView),this._pinTooltipDebounced=R_(this._pinTooltip,600),this.listenTo(Mt.document,"mouseenter",this._onEnterOrFocus.bind(this),{useCapture:!0}),this.listenTo(Mt.document,"mouseleave",this._onLeaveOrBlur.bind(this),{useCapture:!0}),this.listenTo(Mt.document,"focus",this._onEnterOrFocus.bind(this),{useCapture:!0}),this.listenTo(Mt.document,"blur",this._onLeaveOrBlur.bind(this),{useCapture:!0}),this.listenTo(Mt.document,"scroll",this._onScroll.bind(this),{useCapture:!0}),this._watchdogExcluded=!0}destroy(m){const r=m.ui.view&&m.ui.view.body;od._editors.delete(m),this.stopListening(m.ui),r&&r.has(this.balloonPanelView)&&r.remove(this.balloonPanelView),od._editors.size||(this._unpinTooltip(),this.balloonPanelView.destroy(),this.stopListening(),od._instance=null)}static getPositioningFunctions(m){const r=od.defaultBalloonPositions;return{s:[r.southArrowNorth,r.southArrowNorthEast,r.southArrowNorthWest],n:[r.northArrowSouth],e:[r.eastArrowWest],w:[r.westArrowEast],sw:[r.southArrowNorthEast],se:[r.southArrowNorthWest]}[m]}_onEnterOrFocus(m,{target:r}){const c=v4(r);var u;c&&c!==this._currentElementWithTooltip&&(this._unpinTooltip(),this._pinTooltipDebounced(c,{text:(u=c).dataset.ckeTooltipText,position:u.dataset.ckeTooltipPosition||"s",cssClass:u.dataset.ckeTooltipClass||""}))}_onLeaveOrBlur(m,{target:r,relatedTarget:c}){if("mouseleave"===m.name){if(!la(r)||this._currentElementWithTooltip&&r!==this._currentElementWithTooltip)return;const u=v4(r),_=v4(c);u&&u!==_&&this._unpinTooltip()}else{if(this._currentElementWithTooltip&&r!==this._currentElementWithTooltip)return;this._unpinTooltip()}}_onScroll(m,{target:r}){this._currentElementWithTooltip&&(r.contains(this.balloonPanelView.element)&&r.contains(this._currentElementWithTooltip)||this._unpinTooltip())}_pinTooltip(m,{text:r,position:c,cssClass:u}){const _=as(od._editors.values()).ui.view.body;_.has(this.balloonPanelView)||_.add(this.balloonPanelView),this.tooltipTextView.text=r,this.balloonPanelView.pin({target:m,positions:od.getPositioningFunctions(c)}),this._resizeObserver=new yi(m,()=>{ra(m)||this._unpinTooltip()}),this.balloonPanelView.class=[u5,u].filter(x=>x).join(" ");for(const x of od._editors)this.listenTo(x.ui,"update",this._updateTooltipPosition.bind(this),{priority:"low"});this._currentElementWithTooltip=m,this._currentTooltipPosition=c}_unpinTooltip(){this._pinTooltipDebounced.cancel(),this.balloonPanelView.unpin();for(const m of od._editors)this.stopListening(m.ui,"update");this._currentElementWithTooltip=null,this._currentTooltipPosition=null,this._resizeObserver&&this._resizeObserver.destroy()}_updateTooltipPosition(){ra(this._currentElementWithTooltip)?this.balloonPanelView.pin({target:this._currentElementWithTooltip,positions:od.getPositioningFunctions(this._currentTooltipPosition)}):this._unpinTooltip()}};let S0=od;function v4(m){return la(m)?m.closest("[data-cke-tooltip-text]:not([data-cke-tooltip-disabled])"):null}S0.defaultBalloonPositions=b4({heightOffset:5,sideOffset:13}),S0._editors=new Set,S0._instance=null;const Sh=function(m,r,c){var u=!0,_=!0;if("function"!=typeof m)throw new TypeError("Expected a function");return Wt(c)&&(u="leading"in c?!!c.leading:u,_="trailing"in c?!!c.trailing:_),R_(m,r,{leading:u,maxWait:r,trailing:_})};var x4=Object.defineProperty,Mv=Object.getOwnPropertySymbols,d5=Object.prototype.hasOwnProperty,C4=Object.prototype.propertyIsEnumerable,L0=(m,r,c)=>r in m?x4(m,r,{enumerable:!0,configurable:!0,writable:!0,value:c}):m[r]=c;class Dv extends(Xi()){constructor(r){super(),this.editor=r,this._balloonView=null,this._lastFocusedEditableElement=null,this._showBalloonThrottled=Sh(this._showBalloon.bind(this),50,{leading:!0}),r.on("ready",this._handleEditorReady.bind(this))}destroy(){const r=this._balloonView;r&&(r.unpin(),this._balloonView=null),this._showBalloonThrottled.cancel(),this.stopListening()}_handleEditorReady(){const r=this.editor;(r.config.get("ui.poweredBy.forceVisible")||"VALID"!==function(c){function u(ue){return ue.length>=40&&ue.length<=255?"VALID":"INVALID"}if(!c)return"INVALID";let _="";try{_=atob(c)}catch{return"INVALID"}const x=_.split("-"),M=x[0],E=x[1];if(!E)return u(c);try{atob(E)}catch{try{if(atob(M),!atob(M).length)return u(c)}catch{return u(c)}}if(M.length<40||M.length>255)return"INVALID";let F="";try{atob(M),F=atob(E)}catch{return"INVALID"}if(8!==F.length)return"INVALID";const V=Number(F.substring(0,4)),W=Number(F.substring(4,6))-1,dt=Number(F.substring(6,8)),Zt=new Date(V,W,dt);return Zt{this._updateLastFocusedEditableElement(),_?this._showBalloon():this._hideBalloon()}),r.ui.focusTracker.on("change:focusedElement",(c,u,_)=>{this._updateLastFocusedEditableElement(),_&&this._showBalloon()}),r.ui.on("update",()=>{this._showBalloonThrottled()}))}_createBalloonView(){const r=this.editor,c=this._balloonView=new id,u=l2(r),_=new y4(r.locale,u.label);c.content.add(_),c.set({class:"ck-powered-by-balloon"}),r.ui.view.body.add(c),r.ui.focusTracker.add(c.element),this._balloonView=c}_showBalloon(){if(!this._lastFocusedEditableElement)return;const r=function(c,u){const _=l2(c);var E;return{target:u,positions:["right"===_.side?Oh(u,E=_,(F,V)=>F.left+F.width-V.width-E.horizontalOffset):function(M,E){return Oh(M,E,F=>F.left+E.horizontalOffset)}(u,_)]}}(this.editor,this._lastFocusedEditableElement);r&&(this._balloonView||this._createBalloonView(),this._balloonView.pin(r))}_hideBalloon(){this._balloonView&&this._balloonView.unpin()}_updateLastFocusedEditableElement(){const r=this.editor,u=r.ui.focusTracker.focusedElement;if(!r.ui.focusTracker.isFocused||!u)return void(this._lastFocusedEditableElement=null);const _=Array.from(r.ui.getEditableElementsNames()).map(x=>r.ui.getEditableElement(x));this._lastFocusedEditableElement=_.includes(u)?u:_[0]}}class y4 extends oa{constructor(r,c){super(r);const u=new zs,_=this.bindTemplate;u.set({content:'\n',isColorInherited:!1}),u.extendTemplate({attributes:{style:{width:"53px",height:"10px"}}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-powered-by"],"aria-hidden":!0},children:[{tag:"a",attributes:{href:"https://ckeditor.com/?utm_source=ckeditor&utm_medium=referral&utm_campaign=701Dn000000hVgmIAE_powered_by_ckeditor_logo",target:"_blank",tabindex:"-1"},children:[...c?[{tag:"span",attributes:{class:["ck","ck-powered-by__label"]},children:[c]}]:[],u],on:{dragstart:_.to(x=>x.preventDefault())}}]})}}function Oh(m,r,c){return(u,_)=>{const x=new ce(m);if(x.width<350||x.height<50)return null;let M;M="inside"===r.position?x.bottom-_.height:x.bottom-_.height/2,M-=r.verticalOffset;const E=c(x,_),F=u.clone().moveTo(E,M).getIntersection(_.clone().moveTo(E,M)).getVisible();return!F||F.getArea()<_.getArea()?null:{top:M,left:E,name:`position_${r.position}-side_${r.side}`,config:{withArrow:!1}}}}function l2(m){const r=m.config.get("ui.poweredBy"),c=r&&r.position||"border";return((m,r)=>{for(var c in r||(r={}))d5.call(r,c)&&L0(m,c,r[c]);if(Mv)for(var c of Mv(r))C4.call(r,c)&&L0(m,c,r[c]);return m})({position:c,label:"Powered by",verticalOffset:"inside"===c?5:0,horizontalOffset:5,side:"ltr"===m.locale.contentLanguageDirection?"right":"left"},r)}var Pv=Object.defineProperty,e1=Object.getOwnPropertySymbols,T4=Object.prototype.hasOwnProperty,E0=Object.prototype.propertyIsEnumerable,M1=(m,r,c)=>r in m?Pv(m,r,{enumerable:!0,configurable:!0,writable:!0,value:c}):m[r]=c;class Op extends(Ue()){constructor(r){super(),this.isReady=!1,this._editableElementsMap=new Map,this._focusableToolbarDefinitions=[];const c=r.editing.view;this.editor=r,this.componentFactory=new ba(r),this.focusTracker=new rs,this.tooltipManager=new S0(r),this.poweredBy=new Dv(r),this.set("viewportOffset",this._readViewportOffsetFromConfig()),this.once("ready",()=>{this.isReady=!0}),this.listenTo(c.document,"layoutChanged",this.update.bind(this)),this.listenTo(c,"scrollToTheSelection",this._handleScrollToTheSelection.bind(this)),this._initFocusTracking()}get element(){return null}update(){this.fire("update")}destroy(){this.stopListening(),this.focusTracker.destroy(),this.tooltipManager.destroy(this.editor),this.poweredBy.destroy();for(const r of this._editableElementsMap.values())r.ckeditorInstance=null,this.editor.keystrokes.stopListening(r);this._editableElementsMap=new Map,this._focusableToolbarDefinitions=[]}setEditableElement(r,c){this._editableElementsMap.set(r,c),c.ckeditorInstance||(c.ckeditorInstance=this.editor),this.focusTracker.add(c);const u=()=>{this.editor.editing.view.getDomRoot(r)||this.editor.keystrokes.listenTo(c)};this.isReady?u():this.once("ready",u)}removeEditableElement(r){const c=this._editableElementsMap.get(r);c&&(this._editableElementsMap.delete(r),this.editor.keystrokes.stopListening(c),this.focusTracker.remove(c),c.ckeditorInstance=null)}getEditableElement(r="main"){return this._editableElementsMap.get(r)}getEditableElementsNames(){return this._editableElementsMap.keys()}addToolbar(r,c={}){r.isRendered?(this.focusTracker.add(r.element),this.editor.keystrokes.listenTo(r.element)):r.once("render",()=>{this.focusTracker.add(r.element),this.editor.keystrokes.listenTo(r.element)}),this._focusableToolbarDefinitions.push({toolbarView:r,options:c})}get _editableElements(){return console.warn("editor-ui-deprecated-editable-elements: The EditorUI#_editableElements property has been deprecated and will be removed in the near future.",{editorUI:this}),this._editableElementsMap}_readViewportOffsetFromConfig(){const r=this.editor,c=r.config.get("ui.viewportOffset");if(c)return c;const u=r.config.get("toolbar.viewportTopOffset");return u?(console.warn("editor-ui-deprecated-viewport-offset-config: The `toolbar.vieportTopOffset` configuration option is deprecated. It will be removed from future CKEditor versions. Use `ui.viewportOffset.top` instead."),{top:u}):{top:0}}_initFocusTracking(){const r=this.editor,c=r.editing.view;let u,_;r.keystrokes.set("Alt+F10",(x,M)=>{const E=this.focusTracker.focusedElement;Array.from(this._editableElementsMap.values()).includes(E)&&!Array.from(c.domRoots.values()).includes(E)&&(u=E);const F=this._getCurrentFocusedToolbarDefinition();F&&_||(_=this._getFocusableCandidateToolbarDefinitions());for(let V=0;V<_.length;V++){const W=_.shift();if(_.push(W),W!==F&&this._focusFocusableCandidateToolbar(W)){F&&F.options.afterBlur&&F.options.afterBlur();break}}M()}),r.keystrokes.set("Esc",(x,M)=>{const E=this._getCurrentFocusedToolbarDefinition();E&&(u?(u.focus(),u=null):r.editing.view.focus(),E.options.afterBlur&&E.options.afterBlur(),M())})}_getFocusableCandidateToolbarDefinitions(){const r=[];for(const c of this._focusableToolbarDefinitions){const{toolbarView:u,options:_}=c;(ra(u.element)||_.beforeFocus)&&r.push(c)}return r.sort((c,u)=>Sv(c)-Sv(u)),r}_getCurrentFocusedToolbarDefinition(){for(const r of this._focusableToolbarDefinitions)if(r.toolbarView.element&&r.toolbarView.element.contains(this.focusTracker.focusedElement))return r;return null}_focusFocusableCandidateToolbar(r){const{toolbarView:c,options:{beforeFocus:u}}=r;return u&&u(),!!ra(c.element)&&(c.focus(),!0)}_handleScrollToTheSelection(r,c){const u=((_,x)=>{for(var M in x||(x={}))T4.call(x,M)&&M1(_,M,x[M]);if(e1)for(var M of e1(x))E0.call(x,M)&&M1(_,M,x[M]);return _})({top:0,bottom:0,left:0,right:0},this.viewportOffset);c.viewportOffset.top+=u.top,c.viewportOffset.bottom+=u.bottom,c.viewportOffset.left+=u.left,c.viewportOffset.right+=u.right}}function Sv(m){const{toolbarView:r,options:c}=m;let u=10;return ra(r.element)&&u--,c.isContextual&&u--,u}var w4=v(9688);No()(w4.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class m5 extends oa{constructor(r){super(r),this.body=new Qi(r)}render(){super.render(),this.body.attachToDom()}destroy(){return this.body.detachFromDom(),super.destroy()}}class Lv extends m5{constructor(r){super(r),this.top=this.createCollection(),this.main=this.createCollection(),this._voiceLabelView=this._createVoiceLabel(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-reset","ck-editor","ck-rounded-corners"],role:"application",dir:r.uiLanguageDirection,lang:r.uiLanguage,"aria-labelledby":this._voiceLabelView.id},children:[this._voiceLabelView,{tag:"div",attributes:{class:["ck","ck-editor__top","ck-reset_all"],role:"presentation"},children:this.top},{tag:"div",attributes:{class:["ck","ck-editor__main"],role:"presentation"},children:this.main}]})}_createVoiceLabel(){const r=this.t,c=new wu;return c.text=r("Rich Text Editor"),c.extendTemplate({attributes:{class:"ck-voice-label"}}),c}}class M8 extends oa{constructor(r,c,u){super(r),this.name=null,this.setTemplate({tag:"div",attributes:{class:["ck","ck-content","ck-editor__editable","ck-rounded-corners"],lang:r.contentLanguage,dir:r.contentLanguageDirection}}),this.set("isFocused",!1),this._editableElement=u,this._hasExternalElement=!!this._editableElement,this._editingView=c}render(){super.render(),this._hasExternalElement?this.template.apply(this.element=this._editableElement):this._editableElement=this.element,this.on("change:isFocused",()=>this._updateIsFocusedClasses()),this._updateIsFocusedClasses()}destroy(){this._hasExternalElement&&this.template.revert(this._editableElement),super.destroy()}get hasExternalElement(){return this._hasExternalElement}_updateIsFocusedClasses(){const r=this._editingView;function c(u){r.change(_=>{const x=r.document.getRoot(u.name);_.addClass(u.isFocused?"ck-focused":"ck-blurred",x),_.removeClass(u.isFocused?"ck-blurred":"ck-focused",x)})}r.isRenderingInProgress?function u(_){r.once("change:isRenderingInProgress",(x,M,E)=>{E?u(_):c(_)})}(this):c(this)}}class U4 extends M8{constructor(r,c,u,_={}){super(r,c,u);const x=r.t;this.extendTemplate({attributes:{role:"textbox",class:"ck-editor__editable_inline"}}),this._generateLabel=_.label||(()=>x("Editor editing area: %0",this.name))}render(){super.render();const r=this._editingView;r.change(c=>{const u=r.document.getRoot(this.name);c.setAttribute("aria-label",this._generateLabel(this),u)})}}var Eh=v(8847);No()(Eh.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class u2 extends w_{static get pluginName(){return"Notification"}init(){this.on("show:warning",(r,c)=>{window.alert(c.message)},{priority:"lowest"})}showSuccess(r,c={}){this._showNotification({message:r,type:"success",namespace:c.namespace,title:c.title})}showInfo(r,c={}){this._showNotification({message:r,type:"info",namespace:c.namespace,title:c.title})}showWarning(r,c={}){this._showNotification({message:r,type:"warning",namespace:c.namespace,title:c.title})}_showNotification(r){this.fire(r.namespace?`show:${r.type}:${r.namespace}`:`show:${r.type}`,{message:r.message,type:r.type,title:r.title||""})}}class Z4 extends(Ue()){constructor(r,c){super(),c&&q2(this,c),r&&this.set(r)}}var N0=v(4650);No()(N0.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var df=v(7676);No()(df.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const Ih=bo("px");class F0 extends lo{constructor(r){super(r),this._viewToStack=new Map,this._idToStack=new Map,this._view=null,this._rotatorView=null,this._fakePanelsView=null,this.positionLimiter=()=>{const c=this.editor.editing.view,u=c.document.selection.editableElement;return u?c.domConverter.mapViewToDom(u.root):null},this.set("visibleView",null),this.set("_numberOfStacks",0),this.set("_singleViewMode",!1)}static get pluginName(){return"ContextualBalloon"}destroy(){super.destroy(),this._view&&this._view.destroy(),this._rotatorView&&this._rotatorView.destroy(),this._fakePanelsView&&this._fakePanelsView.destroy()}get view(){return this._view||this._createPanelView(),this._view}hasView(r){return Array.from(this._viewToStack.keys()).includes(r)}add(r){if(this._view||this._createPanelView(),this.hasView(r.view))throw new nt("contextualballoon-add-view-exist",[this,r]);const c=r.stackId||"main";if(!this._idToStack.has(c))return this._idToStack.set(c,new Map([[r.view,r]])),this._viewToStack.set(r.view,this._idToStack.get(c)),this._numberOfStacks=this._idToStack.size,void(this._visibleStack&&!r.singleViewMode||this.showStack(c));const u=this._idToStack.get(c);r.singleViewMode&&this.showStack(c),u.set(r.view,r),this._viewToStack.set(r.view,u),u===this._visibleStack&&this._showView(r)}remove(r){if(!this.hasView(r))throw new nt("contextualballoon-remove-view-not-exist",[this,r]);const c=this._viewToStack.get(r);this._singleViewMode&&this.visibleView===r&&(this._singleViewMode=!1),this.visibleView===r&&(1===c.size?this._idToStack.size>1?this._showNextStack():(this.view.hide(),this.visibleView=null,this._rotatorView.hideView()):this._showView(Array.from(c.values())[c.size-2])),1===c.size?(this._idToStack.delete(this._getStackId(c)),this._numberOfStacks=this._idToStack.size):c.delete(r),this._viewToStack.delete(r)}updatePosition(r){r&&(this._visibleStack.get(this.visibleView).position=r),this.view.pin(this._getBalloonPosition()),this._fakePanelsView.updatePosition()}showStack(r){this.visibleStack=r;const c=this._idToStack.get(r);if(!c)throw new nt("contextualballoon-showstack-stack-not-exist",this);this._visibleStack!==c&&this._showView(Array.from(c.values()).pop())}_createPanelView(){this._view=new id(this.editor.locale),this.editor.ui.view.body.add(this._view),this.editor.ui.focusTracker.add(this._view.element),this._rotatorView=this._createRotatorView(),this._fakePanelsView=this._createFakePanelsView()}get _visibleStack(){return this._viewToStack.get(this.visibleView)}_getStackId(r){return Array.from(this._idToStack.entries()).find(c=>c[1]===r)[0]}_showNextStack(){const r=Array.from(this._idToStack.values());let c=r.indexOf(this._visibleStack)+1;r[c]||(c=0),this.showStack(this._getStackId(r[c]))}_showPrevStack(){const r=Array.from(this._idToStack.values());let c=r.indexOf(this._visibleStack)-1;r[c]||(c=r.length-1),this.showStack(this._getStackId(r[c]))}_createRotatorView(){const r=new Ov(this.editor.locale),c=this.editor.locale.t;return this.view.content.add(r),r.bind("isNavigationVisible").to(this,"_numberOfStacks",this,"_singleViewMode",(u,_)=>!_&&u>1),r.on("change:isNavigationVisible",()=>this.updatePosition(),{priority:"low"}),r.bind("counter").to(this,"visibleView",this,"_numberOfStacks",(u,_)=>{if(_<2)return"";const x=Array.from(this._idToStack.values()).indexOf(this._visibleStack)+1;return c("%0 of %1",[x,_])}),r.buttonNextView.on("execute",()=>{r.focusTracker.isFocused&&this.editor.editing.view.focus(),this._showNextStack()}),r.buttonPrevView.on("execute",()=>{r.focusTracker.isFocused&&this.editor.editing.view.focus(),this._showPrevStack()}),r}_createFakePanelsView(){const r=new k8(this.editor.locale,this.view);return r.bind("numberOfPanels").to(this,"_numberOfStacks",this,"_singleViewMode",(c,u)=>!u&&c>=2?Math.min(c-1,2):0),r.listenTo(this.view,"change:top",()=>r.updatePosition()),r.listenTo(this.view,"change:left",()=>r.updatePosition()),this.editor.ui.view.body.add(r),r}_showView({view:r,balloonClassName:c="",withArrow:u=!0,singleViewMode:_=!1}){this.view.class=c,this.view.withArrow=u,this._rotatorView.showView(r),this.visibleView=r,this.view.pin(this._getBalloonPosition()),this._fakePanelsView.updatePosition(),_&&(this._singleViewMode=!0)}_getBalloonPosition(){let r=Array.from(this._visibleStack.values()).pop().position;return r&&(r.limiter||(r=Object.assign({},r,{limiter:this.positionLimiter})),r=Object.assign({},r,{viewportOffsetConfig:this.editor.ui.viewportOffset})),r}}class Ov extends oa{constructor(r){super(r);const c=r.t,u=this.bindTemplate;this.set("isNavigationVisible",!0),this.focusTracker=new rs,this.buttonPrevView=this._createButtonView(c("Previous"),''),this.buttonNextView=this._createButtonView(c("Next"),''),this.content=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-balloon-rotator"],"z-index":"-1"},children:[{tag:"div",attributes:{class:["ck-balloon-rotator__navigation",u.to("isNavigationVisible",_=>_?"":"ck-hidden")]},children:[this.buttonPrevView,{tag:"span",attributes:{class:["ck-balloon-rotator__counter"]},children:[{text:u.to("counter")}]},this.buttonNextView]},{tag:"div",attributes:{class:"ck-balloon-rotator__content"},children:this.content}]})}render(){super.render(),this.focusTracker.add(this.element)}destroy(){super.destroy(),this.focusTracker.destroy()}showView(r){this.hideView(),this.content.add(r)}hideView(){this.content.clear()}_createButtonView(r,c){const u=new $o(this.locale);return u.set({label:r,icon:c,tooltip:!0}),u}}class k8 extends oa{constructor(r,c){super(r);const u=this.bindTemplate;this.set("top",0),this.set("left",0),this.set("height",0),this.set("width",0),this.set("numberOfPanels",0),this.content=this.createCollection(),this._balloonPanelView=c,this.setTemplate({tag:"div",attributes:{class:["ck-fake-panel",u.to("numberOfPanels",_=>_?"":"ck-hidden")],style:{top:u.to("top",Ih),left:u.to("left",Ih),width:u.to("width",Ih),height:u.to("height",Ih)}},children:this.content}),this.on("change:numberOfPanels",(_,x,M,E)=>{M>E?this._addPanels(M-E):this._removePanels(E-M),this.updatePosition()})}_addPanels(r){for(;r--;){const c=new oa;c.setTemplate({tag:"div"}),this.content.add(c),this.registerChild(c)}}_removePanels(r){for(;r--;){const c=this.content.last;this.content.remove(c),this.deregisterChild(c),c.destroy()}}updatePosition(){if(this.numberOfPanels){const{top:r,left:c}=this._balloonPanelView,{width:u,height:_}=new ce(this._balloonPanelView.element);Object.assign(this,{top:r,left:c,width:u,height:_})}}}var Ev=v(5868);No()(Ev.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const pf=bo("px");class Nv extends oa{constructor(r){super(r);const c=this.bindTemplate;this.set("isActive",!1),this.set("isSticky",!1),this.set("limiterElement",null),this.set("limiterBottomOffset",50),this.set("viewportTopOffset",0),this.set("_marginLeft",null),this.set("_isStickyToTheBottomOfLimiter",!1),this.set("_stickyTopOffset",null),this.set("_stickyBottomOffset",null),this.content=this.createCollection(),this._contentPanelPlaceholder=new Ur({tag:"div",attributes:{class:["ck","ck-sticky-panel__placeholder"],style:{display:c.to("isSticky",u=>u?"block":"none"),height:c.to("isSticky",u=>u?pf(this._contentPanelRect.height):null)}}}).render(),this._contentPanel=new Ur({tag:"div",attributes:{class:["ck","ck-sticky-panel__content",c.if("isSticky","ck-sticky-panel__content_sticky"),c.if("_isStickyToTheBottomOfLimiter","ck-sticky-panel__content_sticky_bottom-limit")],style:{width:c.to("isSticky",u=>u?pf(this._contentPanelPlaceholder.getBoundingClientRect().width):null),top:c.to("_stickyTopOffset",u=>u&&pf(u)),bottom:c.to("_stickyBottomOffset",u=>u&&pf(u)),marginLeft:c.to("_marginLeft")}},children:this.content}).render(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-sticky-panel"]},children:[this._contentPanelPlaceholder,this._contentPanel]})}render(){super.render(),this.checkIfShouldBeSticky(),this.listenTo(Mt.document,"scroll",()=>{this.checkIfShouldBeSticky()},{useCapture:!0}),this.listenTo(this,"change:isActive",()=>{this.checkIfShouldBeSticky()})}checkIfShouldBeSticky(){if(!this.limiterElement||!this.isActive)return void this._unstick();const r=new ce(this.limiterElement);let c=r.getVisible();if(c){const u=new ce(Mt.window);u.top+=this.viewportTopOffset,u.height-=this.viewportTopOffset,c=c.getIntersection(u)}if(c&&r.topc.bottom){const _=Math.max(r.bottom-c.bottom,0)+this.limiterBottomOffset;r.bottom-_>r.top+this._contentPanelRect.height?this._stickToBottomOfLimiter(_):this._unstick()}else this._contentPanelRect.height+this.limiterBottomOffset{this.reset(),this.focus(),this.fire("reset")}),this.resetButtonView.bind("isVisible").to(this.fieldView,"isEmpty",x=>!x),this.fieldWrapperChildren.add(this.resetButtonView),this.extendTemplate({attributes:{class:"ck-search__query_with-reset"}}))}reset(){this.fieldView.reset(),this._viewConfig.showResetButton&&(this.resetButtonView.isVisible=!1)}}class o_ extends oa{constructor(){super();const r=this.bindTemplate;this.set({isVisible:!1,primaryText:"",secondaryText:""}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-search__info",r.if("isVisible","ck-hidden",c=>!c)],tabindex:-1},children:[{tag:"span",children:[{text:[r.to("primaryText")]}]},{tag:"span",children:[{text:[r.to("secondaryText")]}]}]})}focus(){this.element.focus()}}class D8 extends oa{constructor(r){super(r),this.children=this.createCollection(),this.focusTracker=new rs,this.setTemplate({tag:"div",attributes:{class:["ck","ck-search__results"],tabindex:-1},children:this.children}),this._focusCycler=new ul({focusables:this.children,focusTracker:this.focusTracker})}render(){super.render();for(const r of this.children)this.focusTracker.add(r.element)}focus(){this._focusCycler.focusFirst()}focusFirst(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}}var Fv=/[\\^$.*+?()[\]{}|]/g,qv=RegExp(Fv.source);const f5=function(m){return(m=wg(m))&&qv.test(m)?m.replace(Fv,"\\$&"):m};var h5=v(6770);No()(h5.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var fu=Object.defineProperty,g5=Object.getOwnPropertySymbols,P8=Object.prototype.hasOwnProperty,n1=Object.prototype.propertyIsEnumerable,b5=(m,r,c)=>r in m?fu(m,r,{enumerable:!0,configurable:!0,writable:!0,value:c}):m[r]=c;class v5 extends oa{constructor(r,c){super(r),this._config=c,this.filteredView=c.filteredView,this.queryView=this._createSearchTextQueryView(),this.focusTracker=new rs,this.keystrokes=new $c,this.resultsView=new D8(r),this.children=this.createCollection(),this.focusableChildren=this.createCollection([this.queryView,this.resultsView]),this.set("isEnabled",!0),this.set("resultsCount",0),this.set("totalItemsCount",0),c.infoView&&c.infoView.instance?this.infoView=c.infoView.instance:(this.infoView=new o_,this._enableDefaultInfoViewBehavior(),this.on("render",()=>{this.search("")})),this.resultsView.children.addMany([this.infoView,this.filteredView]),this.focusCycler=new ul({focusables:this.focusableChildren,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.on("search",(u,{resultsCount:_,totalItemsCount:x})=>{this.resultsCount=_,this.totalItemsCount=x}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-search",c.class||null],tabindex:"-1"},children:this.children})}render(){super.render(),this.children.addMany([this.queryView,this.resultsView]);const r=c=>c.stopPropagation();for(const c of this.focusableChildren)this.focusTracker.add(c.element);this.keystrokes.listenTo(this.element),this.keystrokes.set("arrowright",r),this.keystrokes.set("arrowleft",r),this.keystrokes.set("arrowup",r),this.keystrokes.set("arrowdown",r)}focus(){this.queryView.focus()}reset(){this.queryView.reset(),this.search("")}search(r){const c=r?new RegExp(f5(r),"ig"):null,u=this.filteredView.filter(c);this.fire("search",((_,x)=>{for(var M in x||(x={}))P8.call(x,M)&&b5(_,M,x[M]);if(g5)for(var M of g5(x))n1.call(x,M)&&b5(_,M,x[M]);return _})({query:r},u))}_createSearchTextQueryView(){const r=new Wl(this.locale,this._config.queryView);return this.listenTo(r.fieldView,"input",()=>{this.search(r.fieldView.element.value)}),r.on("reset",()=>this.reset()),r.bind("isEnabled").to(this),r}_enableDefaultInfoViewBehavior(){const r=this.locale.t,c=this.infoView;function u(_,{query:x,resultsCount:M,totalItemsCount:E}){return"function"==typeof _?_(x,M,E):_}this.on("search",(_,x)=>{if(x.resultsCount)c.set({isVisible:!1});else{const M=this._config.infoView&&this._config.infoView.text;let E,F;x.totalItemsCount?M&&M.notFound?(E=M.notFound.primary,F=M.notFound.secondary):(E=r("No results found"),F=""):M&&M.noSearchableItems?(E=M.noSearchableItems.primary,F=M.noSearchableItems.secondary):(E=r("No searchable items"),F=""),c.set({primaryText:u(E,x),secondaryText:u(F,x),isVisible:!0})}})}}var S8=v(8157);No()(S8.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const q0=class extends v5{constructor(m,r){super(m,r),this._config=r;const c=bo("px");this.extendTemplate({attributes:{class:["ck-autocomplete"]}});const u=this.resultsView.bindTemplate;this.resultsView.set("isVisible",!1),this.resultsView.set("_position","s"),this.resultsView.set("_width",0),this.resultsView.extendTemplate({attributes:{class:[u.if("isVisible","ck-hidden",_=>!_),u.to("_position",_=>`ck-search__results_${_}`)],style:{width:u.to("_width",c)}}}),this.focusTracker.on("change:isFocused",(_,x,M)=>{this._updateResultsVisibility(),M?this.resultsView.element.scrollTop=0:r.resetOnBlur&&this.queryView.reset()}),this.on("search",()=>{this._updateResultsVisibility(),this._updateResultsViewWidthAndPosition()}),this.keystrokes.set("esc",(_,x)=>{this.resultsView.isVisible=!1,x()}),this.listenTo(Mt.document,"scroll",()=>{this._updateResultsViewWidthAndPosition()}),this.on("change:isEnabled",()=>{this._updateResultsVisibility()}),this.filteredView.on("execute",(_,{value:x})=>{this.focus(),this.reset(),this.queryView.fieldView.value=this.queryView.fieldView.element.value=x,this.resultsView.isVisible=!1}),this.resultsView.on("change:isVisible",()=>{this._updateResultsViewWidthAndPosition()})}_updateResultsViewWidthAndPosition(){if(!this.resultsView.isVisible)return;this.resultsView._width=new ce(this.queryView.fieldView.element).width;const m=q0._getOptimalPosition({element:this.resultsView.element,target:this.queryView.element,fitInViewport:!0,positions:q0.defaultResultsPositions});this.resultsView._position=m?m.name:"s"}_updateResultsVisibility(){this.resultsView.isVisible=this.focusTracker.isFocused&&this.isEnabled&&this.queryView.fieldView.element.value.length>=(void 0===this._config.queryMinChars?0:this._config.queryMinChars)}};let Ep=q0;Ep.defaultResultsPositions=[m=>({top:m.bottom,left:m.left,name:"s"}),(m,r)=>({top:m.top-r.height,left:m.left,name:"n"})],Ep._getOptimalPosition=es;var Rv=v(8960);No()(Rv.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var o1=v(498);No()(o1.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0}),bo("px");var tp=v(9695);No()(tp.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0}),bo("px"),bo("px");class zv extends Op{constructor(r,c){super(r),this.view=c,this._toolbarConfig=_p(r.config.get("toolbar")),this._elementReplacer=new Ke,this.listenTo(r.editing.view,"scrollToTheSelection",this._handleScrollToTheSelectionWithStickyPanel.bind(this))}get element(){return this.view.element}init(r){const u=this.view,_=this.editor.editing.view,x=u.editable,M=_.document.getRoot();x.name=M.rootName,u.render();const E=x.element;this.setEditableElement(x.name,E),u.editable.bind("isFocused").to(this.focusTracker),_.attachDomRoot(E),r&&this._elementReplacer.replace(r,this.element),this._initPlaceholder(),this._initToolbar(),this.fire("ready")}destroy(){super.destroy();const r=this.view,c=this.editor.editing.view;this._elementReplacer.restore(),c.detachDomRoot(r.editable.name),r.destroy()}_initToolbar(){const r=this.view;r.stickyPanel.bind("isActive").to(this.focusTracker,"isFocused"),r.stickyPanel.limiterElement=r.element,r.stickyPanel.bind("viewportTopOffset").to(this,"viewportOffset",({top:c})=>c||0),r.toolbar.fillFromConfig(this._toolbarConfig,this.componentFactory),this.addToolbar(r.toolbar)}_initPlaceholder(){const r=this.editor,c=r.editing.view,u=c.document.getRoot(),_=r.sourceElement;let x;const M=r.config.get("placeholder");M&&(x="string"==typeof M?M:M[this.view.editable.name]),!x&&_&&"textarea"===_.tagName.toLowerCase()&&(x=_.getAttribute("placeholder")),x&&(u.placeholder=x),Y({view:c,element:u,isDirectHost:!1,keepOnFocus:!0})}_handleScrollToTheSelectionWithStickyPanel(r,c,u){const _=this.view.stickyPanel;if(_.isSticky){const x=new ce(_.element).height;c.viewportOffset.top+=x}else{const x=()=>{this.editor.editing.view.scrollToTheSelection(u)};this.listenTo(_,"change:isSticky",x),setTimeout(()=>{this.stopListening(_,"change:isSticky",x)},20)}}}var Yv=v(3143);No()(Yv.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class O8 extends Lv{constructor(r,c,u={}){super(r),this.stickyPanel=new Nv(r),this.toolbar=new T0(r,{shouldGroupWhenFull:u.shouldToolbarGroupWhenFull}),this.editable=new U4(r,c)}render(){super.render(),this.stickyPanel.content.add(this.toolbar),this.top.add(this.stickyPanel),this.main.add(this.editable)}}class C5{constructor(r){if(this.crashes=[],this.state="initializing",this._now=Date.now,this.crashes=[],this._crashNumberLimit="number"==typeof r.crashNumberLimit?r.crashNumberLimit:3,this._minimumNonErrorTimePeriod="number"==typeof r.minimumNonErrorTimePeriod?r.minimumNonErrorTimePeriod:5e3,this._boundErrorHandler=c=>{const u="error"in c?c.error:c.reason;u instanceof Error&&this._handleError(u,c)},this._listeners={},!this._restart)throw new Error("The Watchdog class was split into the abstract `Watchdog` class and the `EditorWatchdog` class. Please, use `EditorWatchdog` if you have used the `Watchdog` class previously.")}destroy(){this._stopErrorHandling(),this._listeners={}}on(r,c){this._listeners[r]||(this._listeners[r]=[]),this._listeners[r].push(c)}off(r,c){this._listeners[r]=this._listeners[r].filter(u=>u!==c)}_fire(r,...c){const u=this._listeners[r]||[];for(const _ of u)_.apply(this,[null,...c])}_startErrorHandling(){window.addEventListener("error",this._boundErrorHandler),window.addEventListener("unhandledrejection",this._boundErrorHandler)}_stopErrorHandling(){window.removeEventListener("error",this._boundErrorHandler),window.removeEventListener("unhandledrejection",this._boundErrorHandler)}_handleError(r,c){if(this._shouldReactToError(r)){this.crashes.push({message:r.message,stack:r.stack,filename:c instanceof ErrorEvent?c.filename:void 0,lineno:c instanceof ErrorEvent?c.lineno:void 0,colno:c instanceof ErrorEvent?c.colno:void 0,date:this._now()});const u=this._shouldRestart();this.state="crashed",this._fire("stateChange"),this._fire("error",{error:r,causesRestart:u}),u?this._restart():(this.state="crashedPermanently",this._fire("stateChange"))}}_shouldReactToError(r){return r.is&&r.is("CKEditorError")&&null!=r.context&&"ready"===this.state&&this._isErrorComingFromThisItem(r)}_shouldRestart(){return this.crashes.length<=this._crashNumberLimit||(this.crashes[this.crashes.length-1].date-this.crashes[this.crashes.length-1-this._crashNumberLimit].date)/this._crashNumberLimit>this._minimumNonErrorTimePeriod}}function d2(m,r=new Set){const c=[m],u=new Set;let _=0;for(;c.length>_;){const x=c[_++];if(!u.has(x)&&R0(x)&&!r.has(x))if(u.add(x),Symbol.iterator in x)try{for(const M of x)c.push(M)}catch{}else for(const M in x)"defaultValue"!==M&&c.push(x[M])}return u}function R0(m){const r=Object.prototype.toString.call(m),c=typeof m;return!("number"===c||"boolean"===c||"string"===c||"symbol"===c||"function"===c||"[object Date]"===r||"[object RegExp]"===r||"[object Module]"===r||null==m||m._watchdogExcluded||m instanceof EventTarget||m instanceof Event)}function Bv(m,r,c=new Set){if(m===r&&"object"==typeof(u=m)&&null!==u)return!0;var u;const _=d2(m,c),x=d2(r,c);for(const M of _)if(x.has(M))return!0;return!1}var A5=Object.defineProperty,E8=Object.defineProperties,y5=Object.getOwnPropertyDescriptors,H0=Object.getOwnPropertySymbols,Nh=Object.prototype.hasOwnProperty,Vv=Object.prototype.propertyIsEnumerable,k4=(m,r,c)=>r in m?A5(m,r,{enumerable:!0,configurable:!0,writable:!0,value:c}):m[r]=c,D4=(m,r)=>{for(var c in r||(r={}))Nh.call(r,c)&&k4(m,c,r[c]);if(H0)for(var c of H0(r))Vv.call(r,c)&&k4(m,c,r[c]);return m};class P4 extends C5{constructor(r,c={}){super(c),this._editor=null,this._initUsingData=!0,this._editables={},this._throttledSave=Sh(this._save.bind(this),"number"==typeof c.saveInterval?c.saveInterval:5e3),r&&(this._creator=(u,_)=>r.create(u,_)),this._destructor=u=>u.destroy()}get editor(){return this._editor}get _item(){return this._editor}setCreator(r){this._creator=r}setDestructor(r){this._destructor=r}_restart(){return Promise.resolve().then(()=>(this.state="initializing",this._fire("stateChange"),this._destroy())).catch(r=>{console.error("An error happened during the editor destroying.",r)}).then(()=>{const r={},c=[],u=this._config.rootsAttributes||{},_={};for(const[F,V]of Object.entries(this._data.roots))V.isLoaded?(r[F]="",_[F]=u[F]||{}):c.push(F);const x=(M=D4({},this._config),E8(M,y5({extraPlugins:this._config.extraPlugins||[],lazyRoots:c,rootsAttributes:_,_watchdogInitialData:this._data})));var M;return delete x.initialData,x.extraPlugins.push(rc),this._initUsingData?this.create(r,x,x.context):la(this._elementOrData)?this.create(this._elementOrData,x,x.context):this.create(this._editables,x,x.context)}).then(()=>{this._fire("restart")})}create(r=this._elementOrData,c=this._config,u){return Promise.resolve().then(()=>(super._startErrorHandling(),this._elementOrData=r,this._initUsingData="string"==typeof r||Object.keys(r).length>0&&"string"==typeof Object.values(r)[0],this._config=this._cloneEditorConfiguration(c)||{},this._config.context=u,this._creator(r,this._config))).then(_=>{this._editor=_,_.model.document.on("change:data",this._throttledSave),this._lastDocumentVersion=_.model.document.version,this._data=this._getData(),this._initUsingData||(this._editables=this._getEditables()),this.state="ready",this._fire("stateChange")})}destroy(){return Promise.resolve().then(()=>(this.state="destroyed",this._fire("stateChange"),super.destroy(),this._destroy()))}_destroy(){return Promise.resolve().then(()=>{this._stopErrorHandling(),this._throttledSave.cancel();const r=this._editor;return this._editor=null,r.model.document.off("change:data",this._throttledSave),this._destructor(r)})}_save(){const r=this._editor.model.document.version;try{this._data=this._getData(),this._initUsingData||(this._editables=this._getEditables()),this._lastDocumentVersion=r}catch(c){console.error(c,"An error happened during restoring editor data. Editor will be restored from the previously saved data.")}}_setExcludedProperties(r){this._excludedProps=r}_getData(){const r=this._editor,c=r.model.document.roots.filter(E=>E.isAttached()&&"$graveyard"!=E.rootName),{plugins:u}=r,_=u.has("CommentsRepository")&&u.get("CommentsRepository"),x=u.has("TrackChanges")&&u.get("TrackChanges"),M={roots:{},markers:{},commentThreads:JSON.stringify([]),suggestions:JSON.stringify([])};c.forEach(E=>{M.roots[E.rootName]={content:JSON.stringify(Array.from(E.getChildren())),attributes:JSON.stringify(Array.from(E.getAttributes())),isLoaded:E._isLoaded}});for(const E of r.model.markers)E._affectsData&&(M.markers[E.name]={rangeJSON:E.getRange().toJSON(),usingOperation:E._managedUsingOperations,affectsData:E._affectsData});return _&&(M.commentThreads=JSON.stringify(_.getCommentThreads({toJSON:!0,skipNotAttached:!0}))),x&&(M.suggestions=JSON.stringify(x.getSuggestions({toJSON:!0,skipNotAttached:!0}))),M}_getEditables(){const r={};for(const c of this.editor.model.document.getRootNames()){const u=this.editor.ui.getEditableElement(c);u&&(r[c]=u)}return r}_isErrorComingFromThisItem(r){return Bv(this._editor,r.context,this._excludedProps)}_cloneEditorConfiguration(r){return So(r,(c,u)=>la(c)||"context"===u?c:void 0)}}class rc{constructor(r){this.editor=r,this._data=r.config.get("_watchdogInitialData")}init(){this.editor.data.on("init",r=>{r.stop(),this.editor.model.enqueueChange({isUndoable:!1},c=>{this._restoreCollaborationData(),this._restoreEditorData(c)}),this.editor.data.fire("ready")},{priority:999})}_createNode(r,c){if("name"in c){const u=r.createElement(c.name,c.attributes);if(c.children)for(const _ of c.children)u._appendChild(this._createNode(r,_));return u}return r.createText(c.data,c.attributes)}_restoreEditorData(r){const c=this.editor;Object.entries(this._data.roots).forEach(([u,{content:_,attributes:x}])=>{const M=JSON.parse(_),E=JSON.parse(x),F=c.model.document.getRoot(u);for(const[V,W]of E)r.setAttribute(V,W,F);for(const V of M){const W=this._createNode(r,V);r.insert(W,F,"end")}}),Object.entries(this._data.markers).forEach(([u,_])=>{const{document:x}=c.model,M=_,{rangeJSON:{start:E,end:F}}=M,V=((Ae,Ie)=>{var ln={};for(var Dn in Ae)Nh.call(Ae,Dn)&&Ie.indexOf(Dn)<0&&(ln[Dn]=Ae[Dn]);if(null!=Ae&&H0)for(var Dn of H0(Ae))Ie.indexOf(Dn)<0&&Vv.call(Ae,Dn)&&(ln[Dn]=Ae[Dn]);return ln})(M,["rangeJSON"]),W=x.getRoot(E.root),dt=r.createPositionFromPath(W,E.path,E.stickiness),Zt=r.createPositionFromPath(W,F.path,F.stickiness),ue=r.createRange(dt,Zt);r.addMarker(u,D4({range:ue},V))})}_restoreCollaborationData(){const r=JSON.parse(this._data.commentThreads),c=JSON.parse(this._data.suggestions);r.forEach(u=>{const _=this.editor.config.get("collaboration.channelId"),x=this.editor.plugins.get("CommentsRepository");x.hasCommentThread(u.threadId)&&x.getCommentThread(u.threadId).remove(),x.addCommentThread(D4({channelId:_},u))}),c.forEach(u=>{const _=this.editor.plugins.get("TrackChangesEditing");_.hasSuggestion(u.id)?_.getSuggestion(u.id).attributes=u.attributes:_.addSuggestionData(u)})}}const mf=Symbol("MainQueueId");class T5{constructor(){this._onEmptyCallbacks=[],this._queues=new Map,this._activeActions=0}onEmpty(r){this._onEmptyCallbacks.push(r)}enqueue(r,c){const u=r===mf;this._activeActions++,this._queues.get(r)||this._queues.set(r,Promise.resolve());const _=Promise.all(u?this._queues.values():[this._queues.get(mf),this._queues.get(r)]).then(c),x=_.catch(()=>{});return this._queues.set(r,x),_.finally(()=>{this._activeActions--,this._queues.get(r)===x&&0===this._activeActions&&this._onEmptyCallbacks.forEach(M=>M())})}}function z0(m){return Array.isArray(m)?m:[m]}class Y0 extends(n2(cf(l4))){constructor(r,c={}){if(!Fh(r)&&void 0!==c.initialData)throw new nt("editor-create-initial-data",null);var x,M;super(c),void 0===this.config.get("initialData")&&this.config.set("initialData",Fh(x=r)?(M=x)instanceof HTMLTextAreaElement?M.value:M.innerHTML:x),Fh(r)&&(this.sourceElement=r),this.model.document.createRoot();const u=!this.config.get("toolbar.shouldNotGroupWhenFull"),_=new O8(this.locale,this.editing.view,{shouldToolbarGroupWhenFull:u});this.ui=new zv(this,_),function(x){if(!Fo(x.updateSourceElement))throw new nt("attachtoform-missing-elementapi-interface",x);const M=x.sourceElement;if((E=M)&&"textarea"===E.tagName.toLowerCase()&&M.form){let E;const F=M.form,V=()=>x.updateSourceElement();Fo(F.submit)&&(E=F.submit,F.submit=()=>{V(),E.apply(F)}),F.addEventListener("submit",V),x.on("destroy",()=>{F.removeEventListener("submit",V),E&&(F.submit=E)})}var E}(this)}destroy(){return this.sourceElement&&this.updateSourceElement(),this.ui.destroy(),super.destroy()}static create(r,c={}){return new Promise(u=>{const _=new this(r,c);u(_.initPlugins().then(()=>_.ui.init(Fh(r)?r:null)).then(()=>_.data.init(_.config.get("initialData"))).then(()=>_.fire("ready")).then(()=>_))})}}function Fh(m){return la(m)}Y0.Context=M2,Y0.EditorWatchdog=P4,Y0.ContextWatchdog=class extends C5{constructor(m,r={}){super(r),this._watchdogs=new Map,this._context=null,this._contextProps=new Set,this._actionQueues=new T5,this._watchdogConfig=r,this._creator=c=>m.create(c),this._destructor=c=>c.destroy(),this._actionQueues.onEmpty(()=>{"initializing"===this.state&&(this.state="ready",this._fire("stateChange"))})}setCreator(m){this._creator=m}setDestructor(m){this._destructor=m}get context(){return this._context}create(m={}){return this._actionQueues.enqueue(mf,()=>(this._contextConfig=m,this._create()))}getItem(m){return this._getWatchdog(m)._item}getItemState(m){return this._getWatchdog(m).state}add(m){const r=z0(m);return Promise.all(r.map(c=>this._actionQueues.enqueue(c.id,()=>{if("destroyed"===this.state)throw new Error("Cannot add items to destroyed watchdog.");if(!this._context)throw new Error("Context was not created yet. You should call the `ContextWatchdog#create()` method first.");let u;if(this._watchdogs.has(c.id))throw new Error(`Item with the given id is already added: '${c.id}'.`);if("editor"===c.type)return u=new P4(null,this._watchdogConfig),u.setCreator(c.creator),u._setExcludedProperties(this._contextProps),c.destructor&&u.setDestructor(c.destructor),this._watchdogs.set(c.id,u),u.on("error",(_,{error:x,causesRestart:M})=>{this._fire("itemError",{itemId:c.id,error:x}),M&&this._actionQueues.enqueue(c.id,()=>new Promise(E=>{const F=()=>{u.off("restart",F),this._fire("itemRestart",{itemId:c.id}),E()};u.on("restart",F)}))}),u.create(c.sourceElementOrData,c.config,this._context);throw new Error(`Not supported item type: '${c.type}'.`)})))}remove(m){const r=z0(m);return Promise.all(r.map(c=>this._actionQueues.enqueue(c,()=>{const u=this._getWatchdog(c);return this._watchdogs.delete(c),u.destroy()})))}destroy(){return this._actionQueues.enqueue(mf,()=>(this.state="destroyed",this._fire("stateChange"),super.destroy(),this._destroy()))}_restart(){return this._actionQueues.enqueue(mf,()=>(this.state="initializing",this._fire("stateChange"),this._destroy().catch(m=>{console.error("An error happened during destroying the context or items.",m)}).then(()=>this._create()).then(()=>this._fire("restart"))))}_create(){return Promise.resolve().then(()=>(this._startErrorHandling(),this._creator(this._contextConfig))).then(m=>(this._context=m,this._contextProps=d2(this._context),Promise.all(Array.from(this._watchdogs.values()).map(r=>(r._setExcludedProperties(this._contextProps),r.create(void 0,void 0,this._context))))))}_destroy(){return Promise.resolve().then(()=>{this._stopErrorHandling();const m=this._context;return this._context=null,this._contextProps=new Set,Promise.all(Array.from(this._watchdogs.values()).map(r=>r.destroy())).then(()=>this._destructor(m))})}_getWatchdog(m){const r=this._watchdogs.get(m);if(!r)throw new Error(`Item with the given id was not registered: ${m}.`);return r}_isErrorComingFromThisItem(m){for(const r of this._watchdogs.values())if(r._isErrorComingFromThisItem(m))return!1;return Bv(this._context,m.context)}};class qh extends Wu{constructor(r){super(r),this.domEventType=["paste","copy","cut","drop","dragover","dragstart","dragend","dragenter","dragleave"];const c=this.document;function u(_){return(x,M)=>{M.preventDefault();const E=M.dropRange?[M.dropRange]:null,F=new lt(c,_);c.fire(F,{dataTransfer:M.dataTransfer,method:x.name,targetRanges:E,target:M.target,domEvent:M.domEvent}),F.stop.called&&M.stopPropagation()}}this.listenTo(c,"paste",u("clipboardInput"),{priority:"low"}),this.listenTo(c,"drop",u("clipboardInput"),{priority:"low"}),this.listenTo(c,"dragover",u("dragging"),{priority:"low"})}onDomEvent(r){const _={dataTransfer:new mc("clipboardData"in r?r.clipboardData:r.dataTransfer,{cacheFiles:"drop"==r.type||"paste"==r.type})};"drop"!=r.type&&"dragover"!=r.type||(_.dropRange=function(x,M){const E=M.target.ownerDocument,F=M.clientX,V=M.clientY;let W;return E.caretRangeFromPoint&&E.caretRangeFromPoint(F,V)?W=E.caretRangeFromPoint(F,V):M.rangeParent&&(W=E.createRange(),W.setStart(M.rangeParent,M.rangeOffset),W.collapse(!0)),W?x.domConverter.domRangeToView(W):null}(this.view,r)),this.fire(r.type,r,_)}}const w5=["figcaption","li"];function U5(m){let r="";if(m.is("$text")||m.is("$textProxy"))r=m.data;else if(m.is("element","img")&&m.hasAttribute("alt"))r=m.getAttribute("alt");else if(m.is("element","br"))r="\n";else{let c=null;for(const u of m.getChildren()){const _=U5(u);c&&(c.is("containerElement")||u.is("containerElement"))&&(w5.includes(c.name)||w5.includes(u.name)?r+="\n":r+="\n\n"),r+=_,c=u}}return r}class Np extends lo{static get pluginName(){return"ClipboardPipeline"}init(){this.editor.editing.view.addObserver(qh),this._setupPasteDrop(),this._setupCopyCut()}_fireOutputTransformationEvent(r,c,u){const _=this.editor.model.getSelectedContent(c);this.fire("outputTransformation",{dataTransfer:r,content:_,method:u})}_setupPasteDrop(){const r=this.editor,c=r.model,u=r.editing.view,_=u.document;this.listenTo(_,"clipboardInput",(x,M)=>{"paste"!=M.method||r.model.canEditAt(r.model.document.selection)||x.stop()},{priority:"highest"}),this.listenTo(_,"clipboardInput",(x,M)=>{const E=M.dataTransfer;let F;if(M.content)F=M.content;else{let dt="";E.getData("text/html")?dt=E.getData("text/html").replace(/(\s+)<\/span>/g,(ue,Ae)=>1==Ae.length?" ":Ae).replace(//g,""):E.getData("text/plain")&&(((V=(V=E.getData("text/plain")).replace(/